@univerjs-pro/collaboration-client 0.6.10-experimental.20250411-055c47d → 0.6.10-experimental.20250418-8830bd4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/umd/index.js CHANGED
@@ -1 +1 @@
1
- function _0x1012(_0x38244a,_0x57f663){var _0x57917b=_0x5791();return _0x1012=function(_0x101255,_0x4a203d){_0x101255=_0x101255-0x1a7;var _0x39353e=_0x57917b[_0x101255];return _0x39353e;},_0x1012(_0x38244a,_0x57f663);}function _0x5791(){var _0x1020d6=['image/gif','confirm','method','CLOSE_ROOM','_prevBlock','AwaitingState','LIVESHARE_FETCH_OPERATIONS','every','_doFinalize','_scheduleCompleteTimestamp','_members$','isPermissionRej','SUCCUSS','fetchMiss','prototype','SNAPSHOT_INVALID_SNAPSHOT','__Key__','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','[SyncedState]:\x20received\x20acknowledgement.','UNIVER_DOC','encryptBlock','getDeserializedSheetBlock','CollaborationStatus','/universer-api/uniscript','ITransformService','initWorkbookPermissionChange','removeMember','error','listCollaborators','_keySchedule','UNDEFINED','onTransformRemoteChangesetByIMECache','_status$','CollaborationSession','_initCloseConn','online$','Latin1','_remoteChangesetQueue','extend','ERROR_IMAGE','_getUploadFileURL','_initUnitPermissionChange','HEARTBEAT_TIMEOUT','_clearLocalCache','OPTIONAL','AUTHZ_URL_KEY','exports','getValue','MemberService','hasher','_getSendChangesetTimeout','changesets','onSendChangeset','reduce','requireSession','objects','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','saveSheetBlock','amd','findIndex','_tryEnsureSocket','WordArray','_socket$','subject','[OfflineState]:\x20received\x20rejection.','updateMember','reqId','[PendingState]:\x20received\x20acknowledgement.','YUUMI_RATE_OVER_LIMIT','_type','firstValueFrom','_rescheduleHeartbeat','CompressMutationService','_onFetchMissResult','FAIL','_toggleOnline','authzUrl','_DEC_XFORM_MODE','getRandomValues','ILogService','save\x20fail\x20reason\x20is\x20','_submitChangeset','INVITE_CODE_REQUIRED','/-/object/-/batch_allowed','unknown','MUTATION','_acknowledgedAwaitingChangeset','Hex','_commentUpdate$','touchDependencies','ISocketService','_append','SerializableCipher','_localCacheService','univer-pro.collaboration-client.network-condition.service','clamp','merge','fetchMissingChangesets','getFocusedUnit','_startCollaboration','UNRECOGNIZED','algo','$super','_transformRemoteChangesetByStateCache','_socketReady','GLOBAL_ROOMS_CNT_EXCEEDS','_fetchMissChangesets','_updateLocalCache','_configService','CHANGESET_REJ','setShowComponents','NoPadding','enc','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','eventID','string','loadUnit','retryConnectingInterval','appendMutation','onSyncEditingCollabCursor','JOIN_ROOM_NOT_EXISTS','NOT_FOUND','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','_createSocket','getImageSourceCache','_getSignURL','INVALID_ARGUMENT','MD5','origin','SOCKET_FAILED_RETRY','charCodeAt','_waitCount','TOO_MANY_REQUESTS','transformUndoRedo','getWorkbookSelections','_collaborationTimeoutTimer','userID','_univerInstanceService','type','salt','12991mjxNLF','body','mixIn','loadOfflineData','getOwnPropertyDescriptor','image/bmp','/unit/','_retryCount','getCurrentRevOfUnit','[FetchMissState]','[CollaborationSession]','_createHelper','1910020zFiWfx','IAuthzIoService','action','_cipher','unitId','CommandType','ivSize','_process','onTransformSelections','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','_waitForHeartbeatResponse','get','_event$','/fetchmissing?from=','put','onTransformState','_mode','ONLINE','newCsEvent','RxDisposable','/allowed','onRemoteRej','_pendingMutations','univer-pro.collaboration-client-socket-service','[SyncedState]:\x20received\x20rejection.','JSONX','transformSelections','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','_key','Subject','joinEvent','213748VwEhXi','reject','DisposableCollection','unpad','takeUntil','signUrlServerUrl','_state','ISingleActiveUnitService','createIdentifier','baseRev','PERMISSION_DENIED','[CollaborationEntity]','create','min','disposeWithMe','commentUpdate$','fromCollab','_snapshotService','operators','image/jpg','EvpKDF','_injector','LICENSE_EXPORT_SIZE_EXCEEDED','Base','pipe','deepClone','find','session.room-cnt-exceeds','session.join-failed','_incrementRevisionNumber','ISnapshotServerService','[CollaborationUndoRedoService]','DEFAULT_FILE_NAME','_scheduleCollaborationTimeoutTimer','_stopTelemetryCollaborationNewChangeset','objectID','DEFAULT_WS_SESSION_TICKET_URL','_revisionService','_httpService','_onConnectionFailed','APPLY_REVISION_CONFILICT','crypto','@univerjs-pro/license','_onUserJoin','_onRemoteChangeset','toDisposable','loginUrlKey','PendingState','isArray','getResourcesRequest','/universer-api/file/{fileID}/sign-url','Base64','/collaborator','floor','reconnect','IPermissionService','_joinRoom','file','8gEvvBc','open$','startsWith','INVITE_CODE_HAS_BEEN_UES','_getLoginPath','OTHER_CLIENT_EDITING','addHandlerCallback','LocalUndoRedoService','not_collab','concatMap','sigBytes','createEncryptor','uniscriptRunEvent','enableAuthServer','Inject','key','fetchThroughInterceptors','_entities','/-/object/list','copyFileMeta','_HTTPService','liveShareNewHost','FetchingMissState','unitID','_transformRemoteChangesetByIMECache','COLLAB_WEB_SOCKET_URL_KEY','_onRemoteRetry','_onRemoteACK','ENSURE_SNAPSHOT_EXECUTION','_changesetReqId','ceil','readyForCollab','_invKeySchedule','CollaborationEntity','UNIVER_UNKNOWN','getTypeOfUnitAdded$','PERMISSION_REJ','[CollaborationState]:\x20apply\x20error!','hostname','AwaitingWithPendingState','next','readInt32LE','getUnit','_onOffline','_transformSelections','subUnitId','__creator','error$','_getAPIPrefix','blockSize','reverse','getUnitOnRev','StreamCipher','RECV','_loadSheet','USERS_ENTER','_hash','_sheetTransformSelectionsService','parseProtocolChangeset','SYNCED','BehaviorSubject','onRemoteChangeset','allowed','iterations','_initMergeInterceptor','_socket','_telemetryService','_init','fetch_missing','COLLAB_SUBMIT_CHANGESET_URL','pauseCollaboration','getCurrentSelections','transformChangesets','mapDocumentTypeToUniverType','INVALID_INVITE_CODE','status$','_schedule','PENDING','collaboration_new_changeset','@univerjs/docs','IContextService','UniverInstanceType','fetching\x20missing\x20changesets\x20from\x20','AWAITING_WITH_PENDING','_listenToNetworkCondition','pad','_lockTransition','sin','_permissionService','APPLY_REJECT','_sendHeartbeat','name','formatter','addImageSourceCache','CHANGESET_REVISION_CONFILICT','kdf','toStringTag','onRemoteAck','_members','concat','_ENC_XFORM_MODE','getUnitId','_xformMode','{fileID}','HttpExport','editingUnit','Rectangle','UNKNOWN_CODE','decryptBlock','getActiveSheet','lib','cmd','EMAIL_HAS_BEEN_BOUND','_resendWithTimeout','ThresholdInterceptorFactory','updatePermissionObjEvent','_keyPriorReset','stringify','_replayCachedMutations','interceptor','isTransformMutationsWithChangesetFailure','sessionStatus$','init','_loadDoc','_doCryptBlock','awaiting_with_pending','INGEST','dispose','_reverseMap','UNIVER_COLLABORATION_CLIENT_PLUGIN','/universer-api/authz','unsubscribe','post','ImageUploadStatusType','FETCH_MISS','PERSON','failed\x20to\x20apply\x20missed\x20changesets!','632546Ygihhw','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','awaitingChangeset','2219147hcdOxi','OpenSSL','compose','asObservable','add','_sendingTimer','ConflictState','setConfig','/object/','_doReset','textRanges','map','CollaborationUIEventService','/resources','transformStack\x20failed!','_change$','1FQFfUN','session','LIVESHARE_NEW_HOST','_replaceFileID','src','focused$','incrementRevOfUnit','UniverSheets','onTransformIME','UniverCollaborationClientPlugin','set','LICENSE_IMPORT_SIZE_EXCEEDED','state$','UniverCollaborationPlugin','entries','UPDATE_PERMISSION_OBJ','getGlobalObject','[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.','withCredentials','infoRsp','[DataLoaderService]','_onConflict','awaiting','event$','onload','conflict','_getDownloadEndpointURL','getUnitType','_getCurrentRevision','has','href','getSheetId','HttpImport','splice','buffer','_shouldReportTelemetry','[OfflineState]:\x20received\x20acknowledgement.','INTERNAL_ERROR','result','_roomMembers','/universer-api/user/session-ticket','@univerjs/core','Failed\x20to\x20update\x20permission\x20point','ALREADY_EXISTS','_onLocalMutation','Decryptor','toString','SNAPSHOT_SERVER_URL_KEY','uploadFileServerUrl','CollaborationSocketService','_data','_singleActiveUnitService','createDecryptor','_hasher','members','_transitionLocked','_handlerCallback','fromCharCode','update','getCollabEntity','Encryptor','localCacheService','onCommentUpdate','FETCH_MISSING','JOIN','unitId\x20is\x20not\x20found','LIVESHARE_REQUEST_HOST','keySize','NEW_CHANGESETS','decrypt','CollaborationEvent','_doCreateSocket','&to=','registerHTTPInterceptor','HEARTBEAT_INTERVAL_KEY','csAckEvent','SHA1','session.room-permission-denied','PSEUDO_FETCH_MISSING_RESULT','_candidateSocket','mutations','createSocket','UnitEmbedded','getTypeOfUnitDisposed$','_syncEditingCollabCursor','18QkGPaD','ILocalCacheService','hasOwnProperty','\x0aAfter:\x20','_iv','catch','list','LOCAL_CACHE_INTERVAL_KEY','toggleOffline','data','LIVESHARE_OPERATION','words','_queuedRemoteChangesets','_startTelemetryCollaborationNewChangeset','length','selections','_collaborationUIEventService','filter','defineProperty','mergeOverrideWithDependencies','@univerjs/network','LICENSE_DISTRO_REJECTED','max','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','subscribe','UnitSnapshot','_unitID','originalMeta','send','permissionRejEvent','function','getSnapshotAPIPath','getImage','SHOULD_CLOSE_CONN','_initDependencies','take','snapshotServerUrl','LOGIN_FAILED','processBlock','UserProfileImg','CollaborationController','substr','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','onTransformRemoteChangesetByStateCache','_initRequestHeader','getTime','_transformService','_oKey','IDLE','_getUndoStack','getSheetBlock','_memberService','resend','_minBufferSize','collaboratorID','append','USER_NOT_INVITED_CODE','CBC','socketService','_awaitingChangeset','enableSingleActiveInstanceLock','_iKey','bind','/universer-api/comb','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','_onUserLeave','_transformIMECache','\x20in\x20_schedule.','unitInfo$','collaborators','_unitInfo$','now','getMember','memberID','listRoles','272785DCpxDg','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','PasswordBasedCipher','IUniverInstanceService','_undoStacks','_unlockTransition','_compressMutationService','_telemetryInfo','_transformUndoredo','socket\x20close','submit\x20changeset\x20error!','SessionStatus','onStateChange','_sender','@univerjs/telemetry','IUndoRedoService','APPLY_PERMISSION_DENIED','LOCAL_CACHE_INTERVAL','[PendingState]:\x20received\x20rejection.','HEARTBEAT_TIMEOUT_KEY','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','reset','MentionIoHttpService','/universer-api/stream/file/upload','OFFLINE','ImageSourceType','/rev/','FileId','INVITE_CODE_ALREADY_BOUND','SEND_CHANGESET_TIMEOUT_KEY','RichTextEditingMutation','_executeRemoteChangeset','Malformed\x20UTF-8\x20data','execute','deserializeToCombResponse','CHANGESET_SHOULD_RETRY','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','_toggleOffline','YUUMI_SUBSCRIPTION_NOT_FOUND','SheetCollaborationEntity','WorkbookEditablePermission','\x0aCurrent:\x20','IImageIoService','_nDataBytes','_socketMessageSubscription','_sessions','HEARTBEAT','POST','SheetsSelectionsService','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','equals','_transformStack','createCollaborator','COMPLETION_FINISHED','__esModule','clear','sid','call','routeKey','\x20to\x20','_collaborationSessionService','[UniverCollaborationClientPlugin]','synced','&source=','isInternalEditorID','LIVESHARE_TERMINATE','/universer-api/snapshot/','onCommandExecuted','_config','COMMENT_UPDATE','_onCombEvent','HMAC','_parse','saveImage','_clearTimeoutTimer','PY_RUNTIME_SCRIPT_ERROR','BASE64','SnapshotService','join','getCurrentUser','finalize','LICENSE_MAX_UNITS_EXCEEDED','LOGIN_URL_KEY','commentUpdateEvent','CollaborationSessionService','shareReplay','encrypt','editing\x20status\x20changed\x20to','connection\x20error','CollaborationImageIoService','m2Prime','_updateState','getRoom','_decreaseWaiting','updateCollaborator','transformMutationsWithChangeset','_collabSessionService','APPLY_NON_SEQUENTIAL_REVISION','getConfig','byteLength','sendChangesetTimeout','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','_redoStacks','_userManagerService','range','/block/','@univerjs-pro/collaboration','_sessionStatus$','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_imageSourceCache','byteOffset','default','SOCKET_FAILED','_createHmacHelper','repeat','apply','_socketService','close$','push','rng','onMissedChangesetFetched','clone','sheets','WECHAT_HAS_BEEN_BOUND','closeSession','b64DecodeUnicode','_onRecvEvent','SyncedState','Injector','isTransformMutationsWithChangesetSuccess','disableLocalCache','resourceIDs','RevisionService','_onConnectionOpen','mode','telemetry\x20info\x20is\x20not\x20initialized','_clearUndo','UUID','collaboration-client.config','HmacSHA1','?url=','EXCHANGE_SIGN_URL_SERVER_URL_KEY','_handler','ciphertext','actions','code','loadDoc','USERS_LEAVE','_substituteRedoStack','DependentOn','_resendTimer','24lzwQXs','createInstance','OTHER_CLIENTS_EDITING','1873485CBDRBU','Plugin','_createHandler','_collaborationPaused','MergeInterceptorFactory','IMentionIOService','putCollaborators','cfg','getMemberID','offline','CipherParams','status','csRejEvent','SetSelectionsOperation','CONFLICT','_retryConnectingTimer','getInterceptPoints','_checkMissing','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','SnapshotServerOverHTTPService','_commandService','_substituteUndoStack','UniverProLicense','IConfigService','_clearCollaborationTimeoutTimer','LEAVE','close','BlockCipherMode','slice','SEND_CHANGESET_TIMEOUT','SheetTransformSelectionsService','21DwrxsJ','UniverProCollaboration','MOBILE_HAS_BEEN_BOUND','onlyLocal','Disposable','Workbook','ws://127.0.0.1:8000/universer-api/comb/connect','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_removeRoom','delay','UNIVER_SHEET','Could\x20not\x20dynamically\x20require\x20\x22','updateOfflineData','CONNECTOR_DATA_TOO_LARGE','startTime','@univerjs/drawing','c1Prime','onRemoteRetry','Utf8','message$','change$','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','Error\x20on\x20receiving\x20event','_changesetSessionId','OfflineState','Univer','JOINING','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','UNAUTHENTICATED','NOT_COLLAB','image/jpeg','params','UPDATE_CURSOR','INetworkConditionService','enableOfflineEditing','JOIN_ROOM_PERMISSION_DENIED','_clearHeartbeatTimer','delete','isTransformChangesetsSuccess','replace','ReplaySubject','sessionStatus','CHANGESET_ACK','LocaleService','UNIVER_PROJECT','roomInfos','requestParams','Module','_emitMembers','forEach','_networkConditionService','size','_onRemoteRejected','getLatestCsReqIdBySid','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','AES','Quantity','localeService','objectActions','MentionType','SNAPSHOT_HAS_BEEN_REMOVED','_roomCreated$','format','JOIN_ROOM_FULL','target','[CollaborationSessionService]','executeCommand','HELLO','charAt','COLLAB_SUBMIT_CHANGESET_URL_KEY','_isPermissionRej','_instanceService','UniverNetwork','revision','_clearRetryConnectingTimer','random','CommentService','_exhaustRemoteChangesetQueue','_createInitialStateImpl','_localeService','CollaborationUIEventId','UNISCRIPT_RUN','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','_nRounds','session.room-not-exists','_transformStateCache','DEFAULT_COLLAB_WEB_SOCKET_URL','rxjs','ERROR_EXCEED_SIZE','getCollabEntity$','generateRandomId','toggleOnline','parse','msCrypto','_resendTimeout','_clearScheduledTask','APPLY_DUPLICATED','_createInitialState','_state$','padding','ICommandService','_entityInit$','complete','COMPRESS_MUTATION_APPLY','url','_sendHeartbeatTimer','DataLoaderService','json','CollaborativeUndoRedoService','encode','_eventService','randomBytes','Undefined','_timeoutTimer','MSG_FOR_ERROR','_undoRedoService','COMPRESS_MUTATION_SEND','Hasher','UNKNOWN_CMD','_throwTelemetryCollaborationNewChangeset','Optional','duration','AuthzIoHttpService','@univerjs/sheets','HTTPRequest','_disableEditing','UNIVER_SLIDE','HEARTBEAT_INTERVAL','_registerDependencies','rev','_getRedoStack','then','DocCollaborationEntity','_logService','HTTPService','SUBMIT_CHANGESET_TIMEOUT','SUBMIT_CHANGESET','refreshPermission','_getAPIPrefixPath','stopTime','from','RETRY_CONNECTING_MAX_COUNT_KEY','_applyRemoteChangeset','UnitStatus','object','objectType','HmacMD5','resolve','state','snapshot','batchAllowed','compute','updatePermissionPoint','collabWebSocketUrl','YUUMI_URL_COL_OUT_OF_RANGE','headers','randomUUID','avatar','saveChangeset','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','Cipher','JOIN_ROOM_FAILED','dispose$','debug','override','includes','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','_updateStatus','_onJoinRoomEvent','emitEvent','_onMessage','location','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','_commentService','SNAPSHOT_URL_KEY'];_0x5791=function(){return _0x1020d6;};return _0x5791();}(function(_0x46d2de,_0x48091d){var _0x3e4651=_0x1012,_0x3991c5=_0x46d2de();while(!![]){try{var _0x50d6e0=-parseInt(_0x3e4651(0x1c1))/0x1*(parseInt(_0x3e4651(0x1ae))/0x2)+parseInt(_0x3e4651(0x31a))/0x3*(-parseInt(_0x3e4651(0x480))/0x4)+parseInt(_0x3e4651(0x261))/0x5*(parseInt(_0x3e4651(0x216))/0x6)+-parseInt(_0x3e4651(0x1b1))/0x7*(-parseInt(_0x3e4651(0x4ba))/0x8)+parseInt(_0x3e4651(0x2fb))/0x9+parseInt(_0x3e4651(0x461))/0xa+parseInt(_0x3e4651(0x455))/0xb*(parseInt(_0x3e4651(0x2f8))/0xc);if(_0x50d6e0===_0x48091d)break;else _0x3991c5['push'](_0x3991c5['shift']());}catch(_0x4f0376){_0x3991c5['push'](_0x3991c5['shift']());}}}(_0x5791,0x2ed91),function(_0x4f8b81,_0x4129b8){var _0x4545f9=_0x1012;typeof exports==_0x4545f9(0x3aa)&&typeof module<'u'?_0x4129b8(exports,require(_0x4545f9(0x1ea)),require('rxjs'),require('rxjs/operators'),require('@univerjs-pro/collaboration'),require('@univerjs/network'),require(_0x4545f9(0x26f)),require(_0x4545f9(0x509)),require(_0x4545f9(0x395)),require(_0x4545f9(0x329)),require('@univerjs-pro/license')):typeof define=='function'&&define[_0x4545f9(0x403)]?define(['exports',_0x4545f9(0x1ea),'rxjs','rxjs/operators',_0x4545f9(0x2cb),_0x4545f9(0x22a),_0x4545f9(0x26f),'@univerjs/docs',_0x4545f9(0x395),_0x4545f9(0x329),_0x4545f9(0x4aa)],_0x4129b8):(_0x4f8b81=typeof globalThis<'u'?globalThis:_0x4f8b81||self,_0x4129b8(_0x4f8b81['UniverProCollaborationClient']={},_0x4f8b81['UniverCore'],_0x4f8b81[_0x4545f9(0x371)],_0x4f8b81['rxjs'][_0x4545f9(0x492)],_0x4f8b81[_0x4545f9(0x31b)],_0x4f8b81[_0x4545f9(0x362)],_0x4f8b81['UniverTelemetry'],_0x4f8b81['UniverDocs'],_0x4f8b81[_0x4545f9(0x1c8)],_0x4f8b81['UniverDrawing'],_0x4f8b81[_0x4545f9(0x311)]));}(this,function(_0x2aaff0,_0x417a6f,_0x392915,_0x49bc81,_0x37c004,_0x56d0a7,_0x37bb21,_0x4229aa,_0x9200ce,_0x3e3bfa,_0x41661c){'use strict';var _0x25b562=_0x1012;var _0x1937f6=Object[_0x25b562(0x228)],_0xa35a31=(_0x129731,_0x2874d9,_0x452c72)=>_0x2874d9 in _0x129731?_0x1937f6(_0x129731,_0x2874d9,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x452c72}):_0x129731[_0x2874d9]=_0x452c72,_0x156e65=(_0x5a299a,_0x317b12,_0x1a239b)=>_0xa35a31(_0x5a299a,typeof _0x317b12!='symbol'?_0x317b12+'':_0x317b12,_0x1a239b);const _0x4cc1ea=_0x25b562(0x1f0),_0x488f4f='/universer-api/snapshot',_0x8bbf4d=_0x25b562(0x3c8),_0x343f95=_0x25b562(0x318),_0xd8e1f6='COLLAB_WEB_SOCKET_URL',_0x5a8344=_0x25b562(0x320),_0x3fd8e1=_0x25b562(0x1e9),_0x4bb9d8=_0x25b562(0x399),_0x39aa5b=_0x25b562(0x3f3),_0x16d3ee='RETRY_CONNECTING_MAX_COUNT',_0x4f9490=_0x25b562(0x272),_0x47ba07=_0x25b562(0x4ff),_0xe9e6f3=_0x25b562(0x255),_0x4f8679='LOGIN_URL_KEY',_0x771855='/universer-api/oidc/authpage',_0x25577e=_0x25b562(0x240),_0x2a0121=_0x25b562(0x3e0);var _0xddef99=(_0x4e0c66=>(_0x4e0c66[_0x4e0c66[_0x25b562(0x3e7)]=0x0]=_0x25b562(0x3e7),_0x4e0c66[_0x4e0c66['OK']=0x1]='OK',_0x4e0c66[_0x4e0c66[_0x25b562(0x1e6)]=0x2]=_0x25b562(0x1e6),_0x4e0c66[_0x4e0c66[_0x25b562(0x48a)]=0x3]='PERMISSION_DENIED',_0x4e0c66[_0x4e0c66[_0x25b562(0x442)]=0x4]=_0x25b562(0x442),_0x4e0c66[_0x4e0c66[_0x25b562(0x336)]=0x5]=_0x25b562(0x336),_0x4e0c66[_0x4e0c66[_0x25b562(0x1ec)]=0x6]='ALREADY_EXISTS',_0x4e0c66[_0x4e0c66[_0x25b562(0x447)]=0x7]=_0x25b562(0x447),_0x4e0c66[_0x4e0c66[_0x25b562(0x44d)]=0x8]=_0x25b562(0x44d),_0x4e0c66[_0x4e0c66[_0x25b562(0x296)]=0x9]=_0x25b562(0x296),_0x4e0c66[_0x4e0c66[_0x25b562(0x23b)]=0xa]=_0x25b562(0x23b),_0x4e0c66[_0x4e0c66[_0x25b562(0x518)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x4e0c66[_0x4e0c66[_0x25b562(0x3d8)]=0x1771]=_0x25b562(0x3d8),_0x4e0c66[_0x4e0c66['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x25b562(0x356),_0x4e0c66[_0x4e0c66[_0x25b562(0x4d6)]=0x1773]=_0x25b562(0x4d6),_0x4e0c66[_0x4e0c66[_0x25b562(0x513)]=0x1b59]='APPLY_REJECT',_0x4e0c66[_0x4e0c66[_0x25b562(0x2c2)]=0x1b5a]=_0x25b562(0x2c2),_0x4e0c66[_0x4e0c66[_0x25b562(0x4a8)]=0x1b5b]=_0x25b562(0x4a8),_0x4e0c66[_0x4e0c66[_0x25b562(0x271)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x4e0c66[_0x4e0c66[_0x25b562(0x37a)]=0x1b5d]=_0x25b562(0x37a),_0x4e0c66[_0x4e0c66[_0x25b562(0x327)]=0x1f41]=_0x25b562(0x327),_0x4e0c66[_0x4e0c66[_0x25b562(0x2b2)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x4e0c66[_0x4e0c66[_0x25b562(0x321)]=0x232a]=_0x25b562(0x321),_0x4e0c66[_0x4e0c66['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x25b562(0x1cc),_0x4e0c66[_0x4e0c66['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x25b562(0x496),_0x4e0c66[_0x4e0c66[_0x25b562(0x22b)]=0x232d]=_0x25b562(0x22b),_0x4e0c66[_0x4e0c66['YUUMI_UNABLE_LOAD_URL']=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x4e0c66[_0x4e0c66['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x25b562(0x3b4),_0x4e0c66[_0x4e0c66[_0x25b562(0x40d)]=0x2713]=_0x25b562(0x40d),_0x4e0c66[_0x4e0c66[_0x25b562(0x287)]=0x2714]=_0x25b562(0x287),_0x4e0c66[_0x4e0c66['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x25b562(0x2ac),_0x4e0c66[_0x4e0c66['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x25b562(0x4bd),_0x4e0c66[_0x4e0c66[_0x25b562(0x504)]=0x2ee2]='INVALID_INVITE_CODE',_0x4e0c66[_0x4e0c66[_0x25b562(0x41b)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x4e0c66[_0x4e0c66['USER_NOT_INVITED_CODE']=0x2ee4]=_0x25b562(0x24e),_0x4e0c66[_0x4e0c66[_0x25b562(0x27d)]=0x2ee5]=_0x25b562(0x27d),_0x4e0c66[_0x4e0c66[_0x25b562(0x2dc)]=0x32c9]=_0x25b562(0x2dc),_0x4e0c66[_0x4e0c66[_0x25b562(0x31c)]=0x32ca]=_0x25b562(0x31c),_0x4e0c66[_0x4e0c66[_0x25b562(0x52a)]=0x32cb]=_0x25b562(0x52a),_0x4e0c66[_0x4e0c66['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x4e0c66))(_0xddef99||{}),_0x530a50=(_0x56762d=>(_0x56762d[_0x56762d[_0x25b562(0x4dc)]=0x0]=_0x25b562(0x4dc),_0x56762d[_0x56762d[_0x25b562(0x3dc)]=0x1]=_0x25b562(0x3dc),_0x56762d[_0x56762d[_0x25b562(0x324)]=0x2]=_0x25b562(0x324),_0x56762d[_0x56762d['UNIVER_SLIDE']=0x3]=_0x25b562(0x398),_0x56762d[_0x56762d[_0x25b562(0x346)]=0x4]=_0x25b562(0x346),_0x56762d[_0x56762d[_0x25b562(0x42d)]=-0x1]=_0x25b562(0x42d),_0x56762d))(_0x530a50||{}),_0x54dd38=(_0x581631=>(_0x581631[_0x581631[_0x25b562(0x390)]=0x0]=_0x25b562(0x390),_0x581631[_0x581631['HELLO']=0x1]=_0x25b562(0x35d),_0x581631[_0x581631[_0x25b562(0x201)]=0x2]=_0x25b562(0x201),_0x581631[_0x581631[_0x25b562(0x314)]=0x3]=_0x25b562(0x314),_0x581631[_0x581631[_0x25b562(0x538)]=0x4]=_0x25b562(0x538),_0x581631[_0x581631['HEARTBEAT']=0x5]=_0x25b562(0x28f),_0x581631[_0x581631['RECV']=0x6]=_0x25b562(0x4ef),_0x581631[_0x581631[_0x25b562(0x42d)]=-0x1]=_0x25b562(0x42d),_0x581631))(_0x54dd38||{}),_0xd5ed1d=(_0x7d6bb9=>(_0x7d6bb9[_0x7d6bb9[_0x25b562(0x525)]=0x0]='UNKNOWN_CODE',_0x7d6bb9[_0x7d6bb9['OK']=0x1]='OK',_0x7d6bb9[_0x7d6bb9[_0x25b562(0x413)]=0x2]=_0x25b562(0x413),_0x7d6bb9[_0x7d6bb9[_0x25b562(0x359)]=0x3e9]='JOIN_ROOM_FULL',_0x7d6bb9[_0x7d6bb9[_0x25b562(0x441)]=0x3ea]=_0x25b562(0x441),_0x7d6bb9[_0x7d6bb9[_0x25b562(0x33d)]=0x3eb]=_0x25b562(0x33d),_0x7d6bb9[_0x7d6bb9[_0x25b562(0x432)]=0x3ec]=_0x25b562(0x432),_0x7d6bb9[_0x7d6bb9['UNRECOGNIZED']=-0x1]=_0x25b562(0x42d),_0x7d6bb9))(_0xd5ed1d||{}),_0x2cc176=(_0x4f3548=>(_0x4f3548[_0x4f3548[_0x25b562(0x38a)]=0x0]=_0x25b562(0x38a),_0x4f3548[_0x4f3548[_0x25b562(0x1e1)]=0x1]=_0x25b562(0x1e1),_0x4f3548[_0x4f3548[_0x25b562(0x522)]=0x2]=_0x25b562(0x522),_0x4f3548[_0x4f3548[_0x25b562(0x213)]=0x3]=_0x25b562(0x213),_0x4f3548[_0x4f3548[_0x25b562(0x22f)]=0x4]=_0x25b562(0x22f),_0x4f3548[_0x4f3548[_0x25b562(0x23d)]=0x5]='UserProfileImg',_0x4f3548[_0x4f3548[_0x25b562(0x42d)]=-0x1]='UNRECOGNIZED',_0x4f3548))(_0x2cc176||{});const _0x38bbb3=_0x25b562(0x2eb),_0x3c84dc={};var _0x464363=(_0x28c41b=>(_0x28c41b['OTHER_CLIENT_EDITING']='OTHER_CLIENT_EDITING',_0x28c41b[_0x25b562(0x48a)]=_0x25b562(0x48a),_0x28c41b[_0x25b562(0x309)]=_0x25b562(0x309),_0x28c41b[_0x25b562(0x3cc)]=_0x25b562(0x3cc),_0x28c41b[_0x25b562(0x3bb)]=_0x25b562(0x3bb),_0x28c41b[_0x25b562(0x44a)]=_0x25b562(0x44a),_0x28c41b[_0x25b562(0x2d1)]='SOCKET_FAILED',_0x28c41b[_0x25b562(0x3a1)]=_0x25b562(0x3a1),_0x28c41b))(_0x464363||{});class _0x4a7f9e{constructor(){var _0x1a8c89=_0x25b562;_0x156e65(this,_0x1a8c89(0x46d),new _0x392915[(_0x1a8c89(0x47e))]()),_0x156e65(this,_0x1a8c89(0x1d8),this[_0x1a8c89(0x46d)][_0x1a8c89(0x1b4)]());}[_0x25b562(0x3c3)](_0x8f78f2){var _0x577636=_0x25b562;this[_0x577636(0x46d)][_0x577636(0x4e2)](_0x8f78f2);}}const _0x3d7d8a=_0x417a6f[_0x25b562(0x488)](_0x25b562(0x427));function _0x1d1ad0(_0x47653d){var _0x17a224=_0x25b562,_0x32b43e,_0xe9f605,_0x11465f,_0x5a2ab9,_0x4db7c8;const _0x41f4e4=_0x47653d['data'],_0x35991b=JSON[_0x17a224(0x376)](_0x41f4e4);switch(_0x35991b[_0x17a224(0x529)]){case _0x54dd38['HEARTBEAT']:case _0x54dd38[_0x17a224(0x35d)]:{const _0x4c4329=_0x35991b[_0x17a224(0x1d4)];return{..._0x35991b,'data':_0x4c4329,'cmd':_0x35991b[_0x17a224(0x529)]};}case _0x54dd38[_0x17a224(0x201)]:{const _0x20acee=_0x35991b['joinRsp'];return{..._0x35991b,'data':_0x20acee,'cmd':_0x35991b[_0x17a224(0x529)]};}case _0x54dd38['RECV']:{const _0x571b63=_0x35991b['collaMsg'];switch(_0x571b63[_0x17a224(0x43b)]){case _0x37c004[_0x17a224(0x207)][_0x17a224(0x4de)]:return{..._0x35991b,'data':{..._0x571b63,'data':(_0x32b43e=_0x571b63[_0x17a224(0x233)])==null?void 0x0:_0x32b43e['cs']},'cmd':_0x35991b[_0x17a224(0x529)]};case _0x37c004['CollaborationEvent']['CHANGESET_ACK']:return{..._0x35991b,'data':{..._0x571b63,'data':(_0xe9f605=_0x571b63[_0x17a224(0x20c)])==null?void 0x0:_0xe9f605['cs']},'cmd':_0x35991b['cmd']};case _0x37c004[_0x17a224(0x207)]['NEW_CHANGESETS']:return{..._0x35991b,'data':{..._0x571b63,'data':(_0x11465f=_0x571b63[_0x17a224(0x473)])==null?void 0x0:_0x11465f['cs']},'cmd':_0x35991b[_0x17a224(0x529)]};case _0x37c004[_0x17a224(0x207)][_0x17a224(0x436)]:return{..._0x35991b,'data':{..._0x571b63,'data':(_0x5a2ab9=_0x571b63[_0x17a224(0x307)])==null?void 0x0:_0x5a2ab9['cs']},'cmd':_0x35991b[_0x17a224(0x529)]};case _0x37c004[_0x17a224(0x207)][_0x17a224(0x284)]:return{..._0x35991b,'data':{..._0x571b63,'data':(_0x4db7c8=_0x571b63['csShouldRetryEvent'])==null?void 0x0:_0x4db7c8['cs']},'cmd':_0x35991b[_0x17a224(0x529)]};case _0x37c004[_0x17a224(0x207)]['UPDATE_CURSOR']:return{..._0x35991b,'data':{..._0x571b63,'data':_0x571b63['updateCursorEvent']},'cmd':_0x35991b['cmd']};case _0x37c004[_0x17a224(0x207)][_0x17a224(0x4f1)]:return{..._0x35991b,'data':{..._0x571b63,'data':_0x571b63[_0x17a224(0x47f)]},'cmd':_0x35991b[_0x17a224(0x529)]};case _0x37c004['CollaborationEvent'][_0x17a224(0x2f4)]:return{..._0x35991b,'data':{..._0x571b63,'data':_0x571b63['leaveEvent']},'cmd':_0x35991b[_0x17a224(0x529)]};case _0x37c004[_0x17a224(0x207)][_0x17a224(0x1c3)]:return{..._0x35991b,'data':{..._0x571b63,'data':_0x571b63[_0x17a224(0x4cf)]},'cmd':_0x35991b[_0x17a224(0x529)]};case _0x37c004[_0x17a224(0x207)][_0x17a224(0x3cf)]:case _0x37c004[_0x17a224(0x207)]['LIVESHARE_OPERATION']:return{..._0x35991b,'data':{..._0x571b63,'data':_0x571b63['liveShareOperation']},'cmd':_0x35991b['cmd']};case _0x37c004[_0x17a224(0x207)][_0x17a224(0x2a2)]:return{..._0x35991b,'data':{..._0x571b63,'data':_0x571b63[_0x17a224(0x4cf)]},'cmd':_0x35991b[_0x17a224(0x529)]};case _0x37c004[_0x17a224(0x207)][_0x17a224(0x38c)]:return{..._0x35991b,'data':_0x571b63,'cmd':_0x35991b['cmd']};case _0x37c004[_0x17a224(0x207)][_0x17a224(0x2a6)]:return{..._0x35991b,'data':{..._0x571b63,'data':_0x571b63[_0x17a224(0x2b4)]},'cmd':_0x35991b[_0x17a224(0x529)]};case _0x37c004[_0x17a224(0x207)]['UPDATE_PERMISSION_OBJ']:return{..._0x35991b,'data':{..._0x571b63,'data':_0x571b63[_0x17a224(0x52d)]},'cmd':_0x35991b[_0x17a224(0x529)]};case _0x37c004[_0x17a224(0x207)][_0x17a224(0x237)]:return{..._0x35991b,'data':{..._0x571b63,'data':_0x571b63['shouldCloseConn']},'cmd':_0x35991b[_0x17a224(0x529)]};case _0x37c004[_0x17a224(0x207)][_0x17a224(0x36b)]:return{..._0x35991b,'data':{..._0x571b63,'data':_0x571b63[_0x17a224(0x4c6)]},'cmd':_0x35991b[_0x17a224(0x529)]};default:return _0x35991b;}}default:return _0x35991b;}}function _0x264416(_0x305b6e){var _0x16d3ed=_0x25b562;switch(_0x305b6e[_0x16d3ed(0x529)]){case _0x54dd38[_0x16d3ed(0x28f)]:case _0x54dd38['HELLO']:return JSON[_0x16d3ed(0x52f)]({'cmd':_0x305b6e[_0x16d3ed(0x529)],'routeKey':_0x305b6e[_0x16d3ed(0x29b)]});case _0x54dd38[_0x16d3ed(0x538)]:{let _0x4cb3ea;switch(_0x305b6e[_0x16d3ed(0x21f)][_0x16d3ed(0x43b)]){case _0x37c004[_0x16d3ed(0x207)]['UPDATE_CURSOR']:{_0x4cb3ea={'eventID':_0x37c004[_0x16d3ed(0x207)][_0x16d3ed(0x33a)],'updateCursorEvent':_0x305b6e[_0x16d3ed(0x21f)][_0x16d3ed(0x21f)]};break;}case _0x37c004['CollaborationEvent'][_0x16d3ed(0x2f4)]:{_0x4cb3ea={'eventID':_0x37c004['CollaborationEvent']['USERS_LEAVE'],'leaveEvent':_0x305b6e['data']['data']};break;}case _0x37c004[_0x16d3ed(0x207)][_0x16d3ed(0x4f1)]:{_0x4cb3ea={'eventID':_0x37c004['CollaborationEvent'][_0x16d3ed(0x4f1)],'joinEvent':_0x305b6e[_0x16d3ed(0x21f)][_0x16d3ed(0x21f)]};break;}case _0x37c004[_0x16d3ed(0x207)][_0x16d3ed(0x1c3)]:{_0x4cb3ea={'eventID':_0x37c004['CollaborationEvent'][_0x16d3ed(0x1c3)],'liveShareNewHost':_0x305b6e['data']['data']};break;}case _0x37c004[_0x16d3ed(0x207)][_0x16d3ed(0x220)]:{_0x4cb3ea={'eventID':_0x37c004[_0x16d3ed(0x207)]['LIVESHARE_OPERATION'],'liveShareOperation':_0x305b6e[_0x16d3ed(0x21f)][_0x16d3ed(0x21f)]};break;}case _0x37c004['CollaborationEvent'][_0x16d3ed(0x2a2)]:{_0x4cb3ea={'eventID':_0x37c004['CollaborationEvent']['LIVESHARE_TERMINATE'],'liveShareTerminate':_0x305b6e['data'][_0x16d3ed(0x21f)]};break;}case _0x37c004[_0x16d3ed(0x207)]['LIVESHARE_REQUEST_HOST']:{_0x4cb3ea={'eventID':_0x37c004[_0x16d3ed(0x207)][_0x16d3ed(0x203)],'liveShareRequestHost':_0x305b6e[_0x16d3ed(0x21f)][_0x16d3ed(0x21f)]};break;}case _0x37c004[_0x16d3ed(0x207)]['LIVESHARE_FETCH_OPERATIONS']:{_0x4cb3ea={'eventID':_0x37c004[_0x16d3ed(0x207)]['LIVESHARE_FETCH_OPERATIONS']};break;}default:_0x4cb3ea={'eventID':_0x305b6e[_0x16d3ed(0x21f)][_0x16d3ed(0x43b)]};}return JSON['stringify']({'cmd':_0x305b6e[_0x16d3ed(0x529)],'routeKey':_0x305b6e[_0x16d3ed(0x29b)],'collaMsg':_0x4cb3ea});}case _0x54dd38['JOIN']:return JSON[_0x16d3ed(0x52f)]({'cmd':_0x305b6e[_0x16d3ed(0x529)],'routeKey':_0x305b6e['routeKey'],'joinReq':_0x305b6e[_0x16d3ed(0x21f)]});case _0x54dd38[_0x16d3ed(0x314)]:return JSON[_0x16d3ed(0x52f)]({'cmd':_0x305b6e[_0x16d3ed(0x529)],'routeKey':_0x305b6e[_0x16d3ed(0x29b)],'leaveReq':_0x305b6e[_0x16d3ed(0x21f)]});default:throw new Error(_0x16d3ed(0x22d));}}var _0x511942=Object['getOwnPropertyDescriptor'],_0x110fd6=(_0x2c0fc8,_0x3de34c,_0x24881d,_0x5efdf3)=>{for(var _0xfeb4dc=_0x5efdf3>0x1?void 0x0:_0x5efdf3?_0x511942(_0x3de34c,_0x24881d):_0x3de34c,_0xf7f8f8=_0x2c0fc8['length']-0x1,_0x5d9e86;_0xf7f8f8>=0x0;_0xf7f8f8--)(_0x5d9e86=_0x2c0fc8[_0xf7f8f8])&&(_0xfeb4dc=_0x5d9e86(_0xfeb4dc)||_0xfeb4dc);return _0xfeb4dc;},_0x157623=(_0x4f30d8,_0x2d53df)=>(_0x137639,_0x455e6f)=>_0x2d53df(_0x137639,_0x455e6f,_0x4f30d8);const _0x341178=_0x417a6f[_0x25b562(0x488)](_0x25b562(0x478));function _0x189b80(_0x466320,_0x5a2515,_0x3999c5){var _0x4c3a66=_0x25b562;return _0x466320+'/'+_0x5a2515+_0x4c3a66(0x45b)+_0x3999c5+'/new_changes';}_0x2aaff0[_0x25b562(0x1f2)]=class extends _0x417a6f[_0x25b562(0x31e)]{constructor(_0x1d44d9,_0x1a0704,_0x4b186e,_0x1fc79a,_0x454018){var _0x43b8ac=_0x25b562;super(),this[_0x43b8ac(0x495)]=_0x1d44d9,this[_0x43b8ac(0x4a6)]=_0x1a0704,this[_0x43b8ac(0x435)]=_0x4b186e,this[_0x43b8ac(0x39f)]=_0x1fc79a,this['_snapshotServerService']=_0x454018;}[_0x25b562(0x208)](_0xaf5e97){var _0x3f0a50=_0x25b562;const _0x3c69fd=this[_0x3f0a50(0x495)]['get'](_0x56d0a7[_0x3f0a50(0x423)]);if(!_0x3c69fd)throw new Error(_0x3f0a50(0x285));const _0x703084=_0x3c69fd[_0x3f0a50(0x212)](_0xaf5e97);if(!_0x703084)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!');const _0x1973a2=new _0x417a6f[(_0x3f0a50(0x482))](),_0x166458=new _0x392915[(_0x3f0a50(0x47e))]();_0x1973a2[_0x3f0a50(0x1b5)](_0x703084['close$'][_0x3f0a50(0x22e)](_0x5ca297=>_0x166458[_0x3f0a50(0x4e2)](_0x5ca297))),_0x1973a2[_0x3f0a50(0x1b5)](_0x417a6f[_0x3f0a50(0x4ad)](()=>_0x166458[_0x3f0a50(0x380)]()));const _0x4d7a2f=new _0x392915[(_0x3f0a50(0x47e))]();_0x1973a2[_0x3f0a50(0x1b5)](_0x703084[_0x3f0a50(0x4e9)][_0x3f0a50(0x22e)](_0x411e09=>_0x4d7a2f['next'](_0x411e09))),_0x1973a2['add'](_0x417a6f['toDisposable'](()=>_0x4d7a2f[_0x3f0a50(0x380)]()));const _0x25a3c5=new _0x392915[(_0x3f0a50(0x47e))]();_0x1973a2[_0x3f0a50(0x1b5)](_0x703084[_0x3f0a50(0x32d)][_0x3f0a50(0x22e)](_0x5989e5=>{var _0x4f86db=_0x3f0a50;const _0x216fdd=_0x1d1ad0(_0x5989e5);_0x25a3c5[_0x4f86db(0x4e2)](_0x216fdd);})),_0x1973a2[_0x3f0a50(0x1b5)](_0x417a6f['toDisposable'](()=>_0x25a3c5[_0x3f0a50(0x380)]()));let _0x4199ae;const _0x1487d9=()=>{var _0x37a191=_0x3f0a50;_0x4d7a2f[_0x37a191(0x4e2)](new Event(_0x37a191(0x2b9))),_0x166458[_0x37a191(0x4e2)](new Event(_0x37a191(0x2b9))),_0x4199ae['close']();};return _0x4199ae={'memberID':'','close$':_0x166458[_0x3f0a50(0x1b4)](),'error$':_0x4d7a2f[_0x3f0a50(0x1b4)](),'open$':_0x703084['open$'],'message$':_0x25a3c5[_0x3f0a50(0x1b4)](),'send':_0x326add=>{var _0x503ec2=_0x3f0a50;if(_0x326add[_0x503ec2(0x529)]===_0x54dd38[_0x503ec2(0x538)]){if(_0x326add[_0x503ec2(0x21f)]['eventID']===_0x37c004[_0x503ec2(0x207)][_0x503ec2(0x3a2)]){this[_0x503ec2(0x41a)](_0x4199ae,_0x326add[_0x503ec2(0x21f)])[_0x503ec2(0x21b)](_0x1ce765=>{var _0x5d253a=_0x503ec2;this[_0x5d253a(0x39f)]['error'](_0x1ce765),_0x1487d9();});return;}if(_0x326add[_0x503ec2(0x21f)][_0x503ec2(0x43b)]===_0x37c004[_0x503ec2(0x207)][_0x503ec2(0x200)]){const _0x525468=_0x326add['data'];this['_fetchMissChangesets'](_0x525468)[_0x503ec2(0x39d)](_0x4e8ab4=>{var _0x179c32=_0x503ec2;_0x25a3c5[_0x179c32(0x4e2)]({'cmd':_0x54dd38['RECV'],'code':_0xd5ed1d['OK'],'routeKey':_0x525468[_0x179c32(0x21f)][_0x179c32(0x4d1)],'routeType':'','data':{'eventID':_0x37c004['CollaborationEvent']['PSEUDO_FETCH_MISSING_RESULT'],'data':{'changesets':_0x4e8ab4}}});})[_0x503ec2(0x21b)](_0x153cdc=>{var _0x35b231=_0x503ec2;this[_0x35b231(0x39f)][_0x35b231(0x3e4)](_0x153cdc),_0x1487d9();});return;}}_0x703084[_0x503ec2(0x232)](_0x264416(_0x326add));},'close':()=>{var _0x177b3a=_0x3f0a50;_0x703084[_0x177b3a(0x315)](),_0x1973a2[_0x177b3a(0x539)]();}},_0x4199ae;}async['_submitChangeset'](_0x1ce066,_0x547ac1){var _0x2b2f02=_0x25b562,_0x216da5,_0x4b856f;const {unitType:_0x2d7f42,unitID:_0x15fc2b,changeset:_0x412efd}=_0x547ac1[_0x2b2f02(0x21f)],_0x3951ec={'unitID':_0x15fc2b,'memberID':_0x1ce066['memberID'],'type':_0x2d7f42,'changeset':_0x37c004['parseChangesetToProtocol'](_0x412efd)},_0x2b5aa7=this['_configService'][_0x2b2f02(0x2c3)](_0x47ba07),_0x28400c=this[_0x2b2f02(0x435)][_0x2b2f02(0x2c3)](_0x38bbb3),_0xab38e=_0x189b80((_0x4b856f=(_0x216da5=_0x28400c==null?void 0x0:_0x28400c['collabSubmitChangesetUrl'])!=null?_0x216da5:_0x2b5aa7)!=null?_0x4b856f:_0xe9e6f3,_0x2d7f42,_0x15fc2b);try{await this[_0x2b2f02(0x4a6)][_0x2b2f02(0x1a9)](_0xab38e,{'body':_0x3951ec});}catch(_0x2397c9){throw this[_0x2b2f02(0x39f)][_0x2b2f02(0x3e4)](_0x2b2f02(0x45f),_0x2b2f02(0x26b)),_0x2397c9;}}async[_0x25b562(0x433)](_0x59070b){var _0x163607=_0x25b562;const {unitID:_0x136393,from:_0x34c363,to:_0x3d4ee4,unitType:_0x281b28}=_0x59070b[_0x163607(0x21f)];return(await this['_snapshotServerService'][_0x163607(0x42a)]({'metadata':void 0x0},{'unitID':_0x136393,'type':_0x281b28,'from':_0x34c363,'to':_0x3d4ee4}))[_0x163607(0x3fc)];}},_0x2aaff0[_0x25b562(0x1f2)]=_0x110fd6([_0x157623(0x0,_0x417a6f[_0x25b562(0x4c8)](_0x417a6f[_0x25b562(0x2e1)])),_0x157623(0x1,_0x417a6f[_0x25b562(0x4c8)](_0x56d0a7[_0x25b562(0x3a0)])),_0x157623(0x2,_0x417a6f[_0x25b562(0x312)]),_0x157623(0x3,_0x417a6f[_0x25b562(0x418)]),_0x157623(0x4,_0x37c004['ISnapshotServerService'])],_0x2aaff0['CollaborationSocketService']);const _0x1f8862=_0x25b562(0x508);function _0x4d047f(_0x4492eb){var _0x46f09c=_0x25b562;return JSON[_0x46f09c(0x52f)](_0x4492eb)[_0x46f09c(0x224)];}class _0xe0ae5c{constructor(){var _0x38316b=_0x25b562;_0x156e65(this,_0x38316b(0x421),new _0x392915[(_0x38316b(0x47e))]()),_0x156e65(this,_0x38316b(0x48f),this[_0x38316b(0x421)][_0x38316b(0x1b4)]());}[_0x25b562(0x1ff)](_0x3edcbb){var _0x1255b6=_0x25b562;this['_commentUpdate$'][_0x1255b6(0x4e2)](_0x3edcbb);}}var _0x8ed3ec=Object['getOwnPropertyDescriptor'],_0x4d607a=(_0x1a4019,_0x3780de,_0x376bf3,_0x155273)=>{var _0x597742=_0x25b562;for(var _0x38614a=_0x155273>0x1?void 0x0:_0x155273?_0x8ed3ec(_0x3780de,_0x376bf3):_0x3780de,_0xcb678a=_0x1a4019[_0x597742(0x224)]-0x1,_0x5e686e;_0xcb678a>=0x0;_0xcb678a--)(_0x5e686e=_0x1a4019[_0xcb678a])&&(_0x38614a=_0x5e686e(_0x38614a)||_0x38614a);return _0x38614a;},_0xcdb276=(_0x1c1287,_0x525f65)=>(_0x21702c,_0x5c60e5)=>_0x525f65(_0x21702c,_0x5c60e5,_0x1c1287);_0x2aaff0[_0x25b562(0x3f9)]=class extends _0x417a6f[_0x25b562(0x31e)]{constructor(_0x44ae79,_0x20078f){var _0x5133f1=_0x25b562;super(),_0x156e65(this,_0x5133f1(0x1e8),new Map()),_0x156e65(this,_0x5133f1(0x357),new _0x392915['Subject']()),(this[_0x5133f1(0x452)]=_0x44ae79,this[_0x5133f1(0x2c8)]=_0x20078f,this[_0x5133f1(0x48e)](_0x392915[_0x5133f1(0x429)](this[_0x5133f1(0x452)]['getTypeOfUnitDisposed$'](_0x417a6f[_0x5133f1(0x50b)]['UNIVER_SHEET'])[_0x5133f1(0x498)](_0x49bc81[_0x5133f1(0x1bc)](_0x493d50=>_0x493d50[_0x5133f1(0x51f)]())),this[_0x5133f1(0x452)][_0x5133f1(0x214)](_0x417a6f['UniverInstanceType'][_0x5133f1(0x3dc)])[_0x5133f1(0x498)](_0x49bc81[_0x5133f1(0x1bc)](_0x5f4817=>_0x5f4817[_0x5133f1(0x51f)]())),this[_0x5133f1(0x452)][_0x5133f1(0x214)](_0x417a6f[_0x5133f1(0x50b)][_0x5133f1(0x398)])[_0x5133f1(0x498)](_0x49bc81[_0x5133f1(0x1bc)](_0x1520cc=>_0x1520cc[_0x5133f1(0x51f)]())))[_0x5133f1(0x22e)](_0x532d86=>this[_0x5133f1(0x322)](_0x532d86))));}['waitForRoom$'](_0x8002d8){var _0x3cd877=_0x25b562;return this[_0x3cd877(0x1e8)][_0x3cd877(0x1de)](_0x8002d8)?_0x392915['of'](this['_roomMembers']['get'](_0x8002d8)):this['_roomCreated$'][_0x3cd877(0x498)](_0x49bc81[_0x3cd877(0x1bc)](_0xccd7f8=>{var _0x1b2c77=_0x3cd877;if(_0xccd7f8===_0x8002d8)return this[_0x1b2c77(0x1e8)]['get'](_0xccd7f8);}));}['setCurrentUser'](_0x1fa3eb){var _0x23ff01=_0x25b562;this[_0x23ff01(0x2c8)]['setCurrentUser'](_0x1fa3eb);}[_0x25b562(0x2b0)](){var _0x4fc57e=_0x25b562;return this[_0x4fc57e(0x2c8)][_0x4fc57e(0x2b0)]();}[_0x25b562(0x40a)](_0x5ba053,_0x395db7){var _0x4f187c=_0x25b562;let _0x45b92d=this[_0x4f187c(0x1e8)]['get'](_0x5ba053);_0x45b92d||(_0x45b92d=new _0x241264(),this['_roomMembers'][_0x4f187c(0x1cb)](_0x5ba053,_0x45b92d),this['_roomCreated$'][_0x4f187c(0x4e2)](_0x5ba053)),_0x45b92d[_0x4f187c(0x40a)](_0x395db7);}[_0x25b562(0x3e3)](_0x14b20b,_0x149953){var _0x4c401a=_0x25b562;const _0x2ccb7d=this[_0x4c401a(0x1e8)]['get'](_0x14b20b);_0x2ccb7d&&_0x2ccb7d[_0x4c401a(0x3e3)](_0x149953);}[_0x25b562(0x2bd)](_0x69b126){var _0x38386d=_0x25b562;return this[_0x38386d(0x1e8)][_0x38386d(0x46c)](_0x69b126);}[_0x25b562(0x25e)](_0x3e5ec8,_0x129798){var _0x3105ad=_0x25b562;const _0x370d6e=this['_roomMembers'][_0x3105ad(0x46c)](_0x3e5ec8);if(_0x370d6e)return _0x370d6e[_0x3105ad(0x25e)](_0x129798);}['_removeRoom'](_0x48df5a){var _0x1813da=_0x25b562;const _0xfadd52=this['_roomMembers'][_0x1813da(0x46c)](_0x48df5a);_0xfadd52&&(_0xfadd52[_0x1813da(0x539)](),this[_0x1813da(0x1e8)]['delete'](_0x48df5a));}[_0x25b562(0x539)](){var _0x2e2464=_0x25b562;this[_0x2e2464(0x1e8)][_0x2e2464(0x34b)](_0x15fb9f=>_0x15fb9f[_0x2e2464(0x539)]()),this['_roomMembers']['clear'](),this[_0x2e2464(0x357)][_0x2e2464(0x380)]();}},_0x2aaff0[_0x25b562(0x3f9)]=_0x4d607a([_0xcdb276(0x0,_0x417a6f[_0x25b562(0x264)]),_0xcdb276(0x1,_0x417a6f[_0x25b562(0x4c8)](_0x417a6f['UserManagerService']))],_0x2aaff0['MemberService']);class _0x241264 extends _0x417a6f[_0x25b562(0x31e)]{constructor(){var _0x4a52de=_0x25b562;super(...arguments),_0x156e65(this,_0x4a52de(0x51c),new Map()),_0x156e65(this,_0x4a52de(0x3d3),new _0x392915[(_0x4a52de(0x4f6))](this[_0x4a52de(0x51c)])),_0x156e65(this,'members$',this['_members$']['asObservable']());}[_0x25b562(0x539)](){var _0x31a401=_0x25b562;this[_0x31a401(0x51c)][_0x31a401(0x298)]();}[_0x25b562(0x40a)](_0x32a1e3){var _0x56d2ef=_0x25b562;this[_0x56d2ef(0x51c)][_0x56d2ef(0x1cb)](_0x32a1e3['memberID'],_0x32a1e3),this[_0x56d2ef(0x34a)]();}[_0x25b562(0x3e3)](_0x1d68c1){var _0x3affff=_0x25b562;this[_0x3affff(0x51c)]['delete'](_0x1d68c1);}[_0x25b562(0x25e)](_0xae89b){var _0x11839f=_0x25b562;return this[_0x11839f(0x51c)][_0x11839f(0x46c)](_0xae89b);}['getAllMembers'](){var _0x57edd9=_0x25b562;return Array[_0x57edd9(0x3a6)](this['_members']['values']());}[_0x25b562(0x34a)](){var _0x274ef=_0x25b562;this[_0x274ef(0x3d3)][_0x274ef(0x4e2)](this[_0x274ef(0x51c)]);}}var _0x291b5a=Object[_0x25b562(0x459)],_0x26b14c=(_0x110945,_0x517a7c,_0x1fa067,_0xe03013)=>{var _0x2f18ba=_0x25b562;for(var _0x1a6b5d=_0xe03013>0x1?void 0x0:_0xe03013?_0x291b5a(_0x517a7c,_0x1fa067):_0x517a7c,_0x28bcb9=_0x110945[_0x2f18ba(0x224)]-0x1,_0x433c80;_0x28bcb9>=0x0;_0x28bcb9--)(_0x433c80=_0x110945[_0x28bcb9])&&(_0x1a6b5d=_0x433c80(_0x1a6b5d)||_0x1a6b5d);return _0x1a6b5d;},_0x167d28=(_0x309e09,_0x269300)=>(_0x55347e,_0x120e7b)=>_0x269300(_0x55347e,_0x120e7b,_0x309e09),_0xbf0130=(_0x30cc5a=>(_0x30cc5a[_0x30cc5a[_0x25b562(0x246)]=0x0]=_0x25b562(0x246),_0x30cc5a[_0x30cc5a[_0x25b562(0x334)]=0x1]=_0x25b562(0x334),_0x30cc5a[_0x30cc5a[_0x25b562(0x279)]=0x2]=_0x25b562(0x279),_0x30cc5a[_0x30cc5a['ONLINE']=0x3]=_0x25b562(0x472),_0x30cc5a))(_0xbf0130||{});const _0x2a8378={[_0xd5ed1d['FAIL']]:_0x25b562(0x49c),[_0xd5ed1d['JOIN_ROOM_FULL']]:'session.room-full',[_0xd5ed1d[_0x25b562(0x441)]]:_0x25b562(0x36e),[_0xd5ed1d[_0x25b562(0x33d)]]:_0x25b562(0x20e),[_0xd5ed1d[_0x25b562(0x432)]]:_0x25b562(0x49b)};_0x2aaff0['CollaborationSession']=class extends _0x417a6f[_0x25b562(0x474)]{constructor(_0x44103f,_0x10155f,_0x123bf2,_0x43de2c,_0xfc0255,_0x58a67c,_0x3c45b2,_0x2efffa,_0xc7ff77){var _0x3176aa=_0x25b562;super(),_0x156e65(this,_0x3176aa(0x2cc),new _0x392915[(_0x3176aa(0x4f6))](0x0)),_0x156e65(this,_0x3176aa(0x533),this[_0x3176aa(0x2cc)][_0x3176aa(0x1b4)]()),_0x156e65(this,_0x3176aa(0x46d),new _0x392915['Subject']()),_0x156e65(this,_0x3176aa(0x1d8),this[_0x3176aa(0x46d)][_0x3176aa(0x1b4)]()),_0x156e65(this,_0x3176aa(0x4fb)),_0x156e65(this,_0x3176aa(0x28d)),_0x156e65(this,_0x3176aa(0x450)),_0x156e65(this,_0x3176aa(0x1e4),!0x1),_0x156e65(this,_0x3176aa(0x268),null),(this[_0x3176aa(0x230)]=_0x44103f,this[_0x3176aa(0x39f)]=_0x123bf2,this[_0x3176aa(0x435)]=_0x43de2c,this[_0x3176aa(0x369)]=_0xfc0255,this[_0x3176aa(0x249)]=_0x58a67c,this[_0x3176aa(0x3c7)]=_0x3c45b2,this[_0x3176aa(0x226)]=_0x2efffa,this[_0x3176aa(0x4fc)]=_0xc7ff77,this['_shouldReportTelemetry']=!!this['_telemetryService'],_0x10155f[_0x3176aa(0x498)](_0x392915['takeUntil'](this[_0x3176aa(0x3bc)]))[_0x3176aa(0x22e)](_0x26a1e4=>{var _0x353050=_0x3176aa,_0x488e30;typeof _0x26a1e4>'u'||(this[_0x353050(0x4fb)]=_0x26a1e4,_0x26a1e4?(this['_joinRoom'](_0x26a1e4),this[_0x353050(0x28d)]=_0x26a1e4[_0x353050(0x32d)]['subscribe'](_0x438c3d=>{var _0xead6a9=_0x353050;_0x438c3d['routeKey']===this[_0xead6a9(0x230)]&&this[_0xead6a9(0x2a7)](_0x438c3d);})):(this[_0x353050(0x391)](),this[_0x353050(0x2cc)][_0x353050(0x4e2)](0x2),(_0x488e30=this[_0x353050(0x28d)])==null||_0x488e30[_0x353050(0x1a8)](),this[_0x353050(0x28d)]=null));}));}get[_0x25b562(0x343)](){var _0x48e7f3=_0x25b562;return this['_sessionStatus$'][_0x48e7f3(0x3f8)]();}['getMemberID'](){var _0x2745e7,_0x1694af;return(_0x1694af=(_0x2745e7=this['_socket'])==null?void 0x0:_0x2745e7['memberID'])!=null?_0x1694af:null;}[_0x25b562(0x539)](){var _0x15da9d=_0x25b562;super[_0x15da9d(0x539)](),this[_0x15da9d(0x3bc)][_0x15da9d(0x4e2)](),this[_0x15da9d(0x3bc)]['complete']();}[_0x25b562(0x315)](){var _0x27782c=_0x25b562,_0xa4c1ca,_0x5706e0;this['_throwTelemetryCollaborationNewChangeset'](),(_0xa4c1ca=this[_0x27782c(0x4fb)])==null||_0xa4c1ca[_0x27782c(0x232)]({'cmd':_0x54dd38['LEAVE'],'data':{'roomID':this['_unitID']}}),(_0x5706e0=this[_0x27782c(0x4fb)])==null||_0x5706e0[_0x27782c(0x315)](),this[_0x27782c(0x46d)][_0x27782c(0x380)](),this['_sessionStatus$'][_0x27782c(0x380)](),this[_0x27782c(0x539)]();}[_0x25b562(0x2a7)](_0x5866be){var _0x3c7a0f=_0x25b562;_0x5866be['cmd']===_0x54dd38['JOIN']?this[_0x3c7a0f(0x3c2)](_0x5866be):_0x5866be[_0x3c7a0f(0x529)]===_0x54dd38[_0x3c7a0f(0x4ef)]&&this[_0x3c7a0f(0x2df)](_0x5866be);}[_0x25b562(0x4b8)](_0x288287){var _0x4cb8bd=_0x25b562;this[_0x4cb8bd(0x2cc)][_0x4cb8bd(0x4e2)](0x1),_0x288287[_0x4cb8bd(0x232)]({'cmd':_0x54dd38[_0x4cb8bd(0x201)],'routeKey':this[_0x4cb8bd(0x230)],'routeType':'','data':{'rooms':[{'roomID':this[_0x4cb8bd(0x230)]}]}});}['_onJoinRoomEvent'](_0x3cba7e){var _0x26aef6=_0x25b562,_0x5e2f48;if(_0x3cba7e[_0x26aef6(0x2f2)]in _0x2a8378){this[_0x26aef6(0x226)][_0x26aef6(0x3c3)]({'id':_0x464363['JOIN_ROOM_FAILED'],'data':_0x2a8378[_0x3cba7e[_0x26aef6(0x2f2)]]}),this[_0x26aef6(0x2cc)]['next'](0x2);return;}this[_0x26aef6(0x2cc)][_0x26aef6(0x4e2)](0x3);const _0x317ac3=(_0x5e2f48=_0x3cba7e[_0x26aef6(0x21f)][_0x26aef6(0x347)][this['_unitID']])==null?void 0x0:_0x5e2f48[_0x26aef6(0x1f7)];_0x317ac3&&_0x317ac3[_0x26aef6(0x34b)](_0x40cc95=>this[_0x26aef6(0x249)][_0x26aef6(0x40a)](this[_0x26aef6(0x230)],_0x40cc95));}[_0x25b562(0x2df)](_0x337498){var _0x1f0f4f=_0x25b562;try{const _0x47b181=_0x337498[_0x1f0f4f(0x21f)];switch(_0x47b181[_0x1f0f4f(0x43b)]){case _0x37c004[_0x1f0f4f(0x207)][_0x1f0f4f(0x4f1)]:this[_0x1f0f4f(0x4ab)](_0x47b181),this[_0x1f0f4f(0x46d)][_0x1f0f4f(0x4e2)](_0x47b181);break;case _0x37c004[_0x1f0f4f(0x207)][_0x1f0f4f(0x2f4)]:this[_0x1f0f4f(0x257)](_0x47b181),this[_0x1f0f4f(0x46d)][_0x1f0f4f(0x4e2)](_0x47b181);break;case _0x37c004[_0x1f0f4f(0x207)][_0x1f0f4f(0x344)]:case _0x37c004[_0x1f0f4f(0x207)][_0x1f0f4f(0x284)]:this[_0x1f0f4f(0x4a2)](),this[_0x1f0f4f(0x313)](),this[_0x1f0f4f(0x46d)]['next'](_0x47b181);break;case _0x37c004[_0x1f0f4f(0x207)][_0x1f0f4f(0x38c)]:this[_0x1f0f4f(0x39f)][_0x1f0f4f(0x3e4)](_0x1f0f4f(0x419)+JSON[_0x1f0f4f(0x52f)](_0x47b181)),this[_0x1f0f4f(0x46d)]['next'](_0x47b181);break;case _0x37c004[_0x1f0f4f(0x207)][_0x1f0f4f(0x2a6)]:this[_0x1f0f4f(0x3c7)]['onCommentUpdate'](_0x47b181['data']),this[_0x1f0f4f(0x46d)][_0x1f0f4f(0x4e2)](_0x47b181);break;default:this[_0x1f0f4f(0x46d)][_0x1f0f4f(0x4e2)](_0x47b181);}}catch(_0x191da0){this[_0x1f0f4f(0x39f)][_0x1f0f4f(0x3e4)](_0x191da0,_0x337498);}}[_0x25b562(0x4ab)](_0x1b2f67){var _0x21a03d=_0x25b562;this[_0x21a03d(0x249)][_0x21a03d(0x40a)](this[_0x21a03d(0x230)],_0x1b2f67[_0x21a03d(0x21f)]);}['_onUserLeave'](_0x29dd7c){var _0x235397=_0x25b562;this['_memberService'][_0x235397(0x3e3)](this[_0x235397(0x230)],_0x29dd7c[_0x235397(0x21f)][_0x235397(0x25f)]);}async[_0x25b562(0x232)](_0x40df95,_0xac4736){var _0xbcbd26=_0x25b562;if(this[_0xbcbd26(0x343)]!==0x3||!this[_0xbcbd26(0x4fb)])throw new Error(_0xbcbd26(0x32f));try{_0x40df95[_0xbcbd26(0x43b)]===_0x37c004['CollaborationEvent'][_0xbcbd26(0x3a2)]&&(this[_0xbcbd26(0x4a1)](),this[_0xbcbd26(0x223)](_0x40df95)),this['_socket'][_0xbcbd26(0x232)]({'cmd':_0x54dd38[_0xbcbd26(0x538)],'routeKey':_0xac4736,'routeType':'','data':_0x40df95});}catch(_0xe3d7d4){this[_0xbcbd26(0x39f)][_0xbcbd26(0x3e4)](_0xe3d7d4);}}[_0x25b562(0x4a1)](){var _0x44a30e=_0x25b562,_0xb35888;this[_0x44a30e(0x450)]=setTimeout(()=>{var _0x1736e6=_0x44a30e;this[_0x1736e6(0x450)]=null,this[_0x1736e6(0x226)][_0x1736e6(0x3c3)]({'id':_0x464363['SUBMIT_CHANGESET_TIMEOUT']});},(_0xb35888=this['_configService']['getConfig'](_0x39aa5b))!=null?_0xb35888:0x4e20);}[_0x25b562(0x313)](){var _0x52d58d=_0x25b562;this[_0x52d58d(0x450)]&&(clearTimeout(this['_collaborationTimeoutTimer']),this[_0x52d58d(0x450)]=null);}[_0x25b562(0x223)](_0x4768bd){var _0x1d1251=_0x25b562;if(!this[_0x1d1251(0x1e4)])return;const {data:_0x576c43}=_0x4768bd,{unitID:_0x444824,changeset:_0x5ddf0f}=_0x576c43,{mutations:_0x12618e,type:_0x239334}=_0x5ddf0f;this[_0x1d1251(0x268)]={'unitId':_0x444824,'type':_0x239334,'startTime':performance['now'](),'stopTime':0x0,'duration':0x0,'size':_0x4d047f(_0x12618e)};}[_0x25b562(0x4a2)](){var _0x34c396=_0x25b562;if(this[_0x34c396(0x1e4)]){if(!this[_0x34c396(0x268)]){this[_0x34c396(0x39f)][_0x34c396(0x3e4)](_0x34c396(0x45f),_0x34c396(0x2e8));return;}this[_0x34c396(0x268)][_0x34c396(0x3a5)]=performance['now'](),this['_telemetryInfo'][_0x34c396(0x393)]=this[_0x34c396(0x268)][_0x34c396(0x3a5)]-this[_0x34c396(0x268)][_0x34c396(0x328)],this['_telemetryService']['capture'](_0x1f8862,this[_0x34c396(0x268)]),this[_0x34c396(0x268)]=null;}}['_throwTelemetryCollaborationNewChangeset'](){var _0x20bbcf=_0x25b562;this[_0x20bbcf(0x268)]=null;}},_0x2aaff0[_0x25b562(0x3ea)]=_0x26b14c([_0x167d28(0x2,_0x417a6f['ILogService']),_0x167d28(0x3,_0x417a6f['IConfigService']),_0x167d28(0x4,_0x417a6f[_0x25b562(0x4c8)](_0x417a6f['LocaleService'])),_0x167d28(0x5,_0x417a6f[_0x25b562(0x4c8)](_0x2aaff0['MemberService'])),_0x167d28(0x6,_0x417a6f[_0x25b562(0x4c8)](_0xe0ae5c)),_0x167d28(0x7,_0x417a6f[_0x25b562(0x4c8)](_0x4a7f9e)),_0x167d28(0x8,_0x417a6f[_0x25b562(0x392)](_0x37bb21['ITelemetryService']))],_0x2aaff0[_0x25b562(0x3ea)]);var _0xcff018=Object[_0x25b562(0x459)],_0x5c3eef=(_0x121751,_0x1561ea,_0x3eae26,_0x5adb1e)=>{for(var _0x14316e=_0x5adb1e>0x1?void 0x0:_0x5adb1e?_0xcff018(_0x1561ea,_0x3eae26):_0x1561ea,_0x2ea5ac=_0x121751['length']-0x1,_0x2638a8;_0x2ea5ac>=0x0;_0x2ea5ac--)(_0x2638a8=_0x121751[_0x2ea5ac])&&(_0x14316e=_0x2638a8(_0x14316e)||_0x14316e);return _0x14316e;},_0x3ac94c=(_0x334c0b,_0x49a62b)=>(_0x5c1c37,_0x24ef4f)=>_0x49a62b(_0x5c1c37,_0x24ef4f,_0x334c0b);_0x2aaff0[_0x25b562(0x2b5)]=class extends _0x417a6f[_0x25b562(0x31e)]{constructor(_0x15bb5a,_0x18e537,_0x2e416d,_0x28def5,_0x44561b,_0x45910a){var _0x4adca2=_0x25b562;super(),_0x156e65(this,_0x4adca2(0x407),new _0x392915['BehaviorSubject'](void 0x0)),_0x156e65(this,'socket$',this['_socket$'][_0x4adca2(0x1b4)]()),_0x156e65(this,_0x4adca2(0x210),null),_0x156e65(this,_0x4adca2(0x28e),new Map()),_0x156e65(this,_0x4adca2(0x3e9),new _0x392915['BehaviorSubject'](_0xbf0130[_0x4adca2(0x246)])),_0x156e65(this,_0x4adca2(0x505),this['_status$'][_0x4adca2(0x1b4)]()),_0x156e65(this,_0x4adca2(0x431),!0x1),_0x156e65(this,_0x4adca2(0x30a)),_0x156e65(this,_0x4adca2(0x45c),0x0),_0x156e65(this,_0x4adca2(0x383)),_0x156e65(this,'_timeoutTimer'),(this[_0x4adca2(0x495)]=_0x15bb5a,this['_logService']=_0x18e537,this['_configService']=_0x2e416d,this[_0x4adca2(0x2d5)]=_0x28def5,this[_0x4adca2(0x226)]=_0x44561b,this[_0x4adca2(0x34c)]=_0x45910a,this[_0x4adca2(0x50e)]());}get[_0x25b562(0x4fb)](){var _0x21273c=_0x25b562;return this['_socket$'][_0x21273c(0x3f8)]();}[_0x25b562(0x50e)](){var _0x2ca29d=_0x25b562;this['_networkConditionService']&&this['disposeWithMe'](this[_0x2ca29d(0x34c)][_0x2ca29d(0x3ec)][_0x2ca29d(0x22e)](_0x50ca39=>{var _0x273c0f=_0x2ca29d;_0x50ca39&&!this[_0x273c0f(0x4fb)]&&this[_0x273c0f(0x4b6)](),_0x50ca39||this[_0x273c0f(0x4e5)]();}));}[_0x25b562(0x539)](){var _0x1618d5=_0x25b562;super[_0x1618d5(0x539)](),this['_clearRetryConnectingTimer'](),this[_0x1618d5(0x2ab)](),this['_clearHeartbeatTimer'](),this['_sessions'][_0x1618d5(0x34b)](_0x5cb645=>_0x5cb645[_0x1618d5(0x539)]()),this[_0x1618d5(0x28e)][_0x1618d5(0x298)](),this[_0x1618d5(0x3e9)][_0x1618d5(0x380)]();}async[_0x25b562(0x3ff)](_0x1d53f0){var _0x3bff39=_0x25b562;if(this[_0x3bff39(0x28e)][_0x3bff39(0x1de)](_0x1d53f0))return this['_sessions'][_0x3bff39(0x46c)](_0x1d53f0);this[_0x3bff39(0x405)]();const _0x2ad6d1=this[_0x3bff39(0x495)][_0x3bff39(0x2f9)](_0x2aaff0[_0x3bff39(0x3ea)],_0x1d53f0,this[_0x3bff39(0x407)]['asObservable']());return this[_0x3bff39(0x28e)]['set'](_0x1d53f0,_0x2ad6d1),_0x2ad6d1;}[_0x25b562(0x2dd)](_0xeb0ac5){var _0x2d615b=_0x25b562,_0xabc471;const _0x2f4f91=this[_0x2d615b(0x28e)]['get'](_0xeb0ac5);_0x2f4f91&&(this[_0x2d615b(0x28e)][_0x2d615b(0x33f)](_0xeb0ac5),_0x2f4f91['close']()),this[_0x2d615b(0x28e)][_0x2d615b(0x34d)]||(_0xabc471=this[_0x2d615b(0x4fb)])==null||_0xabc471[_0x2d615b(0x315)]();}[_0x25b562(0x4b6)](){var _0x397ee8=_0x25b562;this[_0x397ee8(0x45c)]=0x0,this[_0x397ee8(0x364)](),this['_tryReconnect']();}[_0x25b562(0x364)](){var _0x6ce08=_0x25b562;this[_0x6ce08(0x30a)]!=null&&(clearTimeout(this[_0x6ce08(0x30a)]),this[_0x6ce08(0x30a)]=null);}async[_0x25b562(0x444)](){var _0x279131=_0x25b562,_0x5f13de,_0x134454;const _0x1ceacf=this[_0x279131(0x435)][_0x279131(0x2c3)](_0xd8e1f6),_0xf6a54f=this[_0x279131(0x435)][_0x279131(0x2c3)](_0x38bbb3),_0x16fb40=(_0x134454=(_0x5f13de=_0xf6a54f==null?void 0x0:_0xf6a54f[_0x279131(0x3b3)])!=null?_0x5f13de:_0x1ceacf)!=null?_0x134454:_0x5a8344,_0x160c8d=await this[_0x279131(0x2d5)][_0x279131(0x212)](_0x16fb40);return this[_0x279131(0x210)]=_0x160c8d,_0x160c8d;}async[_0x25b562(0x405)](){var _0xfa5eb3=_0x25b562,_0x6e5dd,_0x151cd7;try{const _0x30cc23=(_0x151cd7=(_0x6e5dd=this[_0xfa5eb3(0x4fb)])!=null?_0x6e5dd:this[_0xfa5eb3(0x210)])!=null?_0x151cd7:await this[_0xfa5eb3(0x444)]();if(_0x30cc23){const _0x577236=_0x30cc23['send'];_0x30cc23['send']=_0x25f1c9=>(this[_0xfa5eb3(0x410)](),_0x577236[_0xfa5eb3(0x2d4)](_0x30cc23,[_0x25f1c9])),_0x30cc23['message$'][_0xfa5eb3(0x22e)](_0x17b6d2=>this['_onMessage'](_0x30cc23,_0x17b6d2)),_0x30cc23['error$'][_0xfa5eb3(0x498)](_0x49bc81[_0xfa5eb3(0x239)](0x1))[_0xfa5eb3(0x22e)](_0x3b144c=>this[_0xfa5eb3(0x39f)][_0xfa5eb3(0x3e4)]('[CollaborationSessionService]:\x20socket\x20error',_0x3b144c)),_0x30cc23[_0xfa5eb3(0x4bb)][_0xfa5eb3(0x498)](_0x49bc81[_0xfa5eb3(0x239)](0x1))[_0xfa5eb3(0x22e)](()=>{var _0x4d1fab=_0xfa5eb3;this[_0x4d1fab(0x2e6)](_0x30cc23);}),_0x30cc23[_0xfa5eb3(0x2d6)][_0xfa5eb3(0x498)](_0x49bc81[_0xfa5eb3(0x239)](0x1))[_0xfa5eb3(0x22e)](_0x3e7d78=>{var _0x1735c7=_0xfa5eb3;this[_0x1735c7(0x39f)][_0x1735c7(0x3bd)](_0x1735c7(0x35b),_0x1735c7(0x26a),_0x3e7d78),this[_0x1735c7(0x4a7)]();});}}catch(_0x53c8fc){this['_logService']['error'](_0x53c8fc),this[_0xfa5eb3(0x4a7)]();}}[_0x25b562(0x2e6)](_0x4208c8){var _0x55ab04=_0x25b562;this[_0x55ab04(0x39f)][_0x55ab04(0x3bd)](_0x55ab04(0x35b),'socket\x20open.'),_0x4208c8['send']({'cmd':_0x54dd38[_0x55ab04(0x35d)]}),this[_0x55ab04(0x410)]();}[_0x25b562(0x4e5)](){var _0x37df15=_0x25b562;this[_0x37df15(0x431)]=!0x1,this['_candidateSocket']=null,this[_0x37df15(0x3e9)][_0x37df15(0x4e2)](_0xbf0130[_0x37df15(0x279)]),this[_0x37df15(0x407)][_0x37df15(0x4e2)](null),this[_0x37df15(0x2ab)](),this['_clearHeartbeatTimer']();}[_0x25b562(0x4a7)](){var _0x1f53c3=_0x25b562,_0x54d33c;this[_0x1f53c3(0x4e5)](),this[_0x1f53c3(0x45c)]<((_0x54d33c=this[_0x1f53c3(0x435)]['getConfig'](_0x16d3ee))!=null?_0x54d33c:0x3)?(this[_0x1f53c3(0x226)][_0x1f53c3(0x3c3)]({'id':_0x464363[_0x1f53c3(0x44a)]}),this['_tryReconnect']()):this[_0x1f53c3(0x226)]['emitEvent']({'id':_0x464363[_0x1f53c3(0x2d1)]});}['_tryReconnect'](){var _0x15de2c=_0x25b562,_0x1d5ce1;const _0x183c7d=this[_0x15de2c(0x45c)],_0x506b7d=this['_configService'][_0x15de2c(0x2c3)](_0x38bbb3),_0x2aebd4=_0x183c7d===0x0?0x0:((_0x1d5ce1=_0x506b7d==null?void 0x0:_0x506b7d[_0x15de2c(0x43e)])!=null?_0x1d5ce1:0x4e20)*0x2**_0x183c7d;this[_0x15de2c(0x30a)]=setTimeout(()=>{var _0x34e2ca=_0x15de2c;clearTimeout(this[_0x34e2ca(0x30a)]),this['_retryConnectingTimer']=null,this[_0x34e2ca(0x405)]();},_0x2aebd4),this[_0x15de2c(0x45c)]+=0x1;}[_0x25b562(0x3c4)](_0xaf46ae,_0x18ef4f){var _0x5ab759=_0x25b562;const {cmd:_0x440ef9}=_0x18ef4f;_0x440ef9===_0x54dd38[_0x5ab759(0x35d)]&&!this['_socketReady']&&(_0xaf46ae[_0x5ab759(0x25f)]=_0x18ef4f['data'][_0x5ab759(0x25f)],this[_0x5ab759(0x407)]['next'](_0xaf46ae),this[_0x5ab759(0x3e9)][_0x5ab759(0x4e2)](_0xbf0130[_0x5ab759(0x472)]),this['_socketReady']=!0x0,this['_candidateSocket']=null),_0x440ef9===_0x54dd38[_0x5ab759(0x28f)]&&this[_0x5ab759(0x2ab)](),this[_0x5ab759(0x410)]();}[_0x25b562(0x410)](){var _0x53c6b8=_0x25b562,_0x3fc7c9;this[_0x53c6b8(0x33e)](),this[_0x53c6b8(0x383)]=setTimeout(()=>this[_0x53c6b8(0x514)](),(_0x3fc7c9=this[_0x53c6b8(0x435)]['getConfig'](_0x4bb9d8))!=null?_0x3fc7c9:0x7530);}['_sendHeartbeat'](){var _0x31e801=_0x25b562;this[_0x31e801(0x4fb)]['send']({'cmd':_0x54dd38[_0x31e801(0x28f)]}),this[_0x31e801(0x46b)]();}[_0x25b562(0x46b)](){var _0x469821=_0x25b562,_0x298ca5;this['_timeoutTimer']=setTimeout(()=>this[_0x469821(0x4a7)](),(_0x298ca5=this[_0x469821(0x435)][_0x469821(0x2c3)](_0x39aa5b))!=null?_0x298ca5:0x4e20);}[_0x25b562(0x33e)](){var _0x48ca8f=_0x25b562;this[_0x48ca8f(0x383)]!=null&&(clearTimeout(this['_sendHeartbeatTimer']),this[_0x48ca8f(0x383)]=null);}['_clearTimeoutTimer'](){var _0x90f78=_0x25b562;this[_0x90f78(0x38b)]!=null&&(clearTimeout(this['_timeoutTimer']),this[_0x90f78(0x38b)]=null);}},_0x2aaff0[_0x25b562(0x2b5)]=_0x5c3eef([_0x3ac94c(0x0,_0x417a6f['Inject'](_0x417a6f[_0x25b562(0x2e1)])),_0x3ac94c(0x1,_0x417a6f['ILogService']),_0x3ac94c(0x2,_0x417a6f['IConfigService']),_0x3ac94c(0x3,_0x341178),_0x3ac94c(0x4,_0x417a6f['Inject'](_0x4a7f9e)),_0x3ac94c(0x5,_0x417a6f[_0x25b562(0x392)](_0x3d7d8a))],_0x2aaff0[_0x25b562(0x2b5)]);const _0x2d0238=[];for(let _0x53cbe2=0x0;_0x53cbe2<0x100;++_0x53cbe2)_0x2d0238[_0x25b562(0x2d7)]((_0x53cbe2+0x100)[_0x25b562(0x1ef)](0x10)[_0x25b562(0x317)](0x1));function _0x5f1198(_0x307b59,_0x18731b=0x0){return(_0x2d0238[_0x307b59[_0x18731b+0x0]]+_0x2d0238[_0x307b59[_0x18731b+0x1]]+_0x2d0238[_0x307b59[_0x18731b+0x2]]+_0x2d0238[_0x307b59[_0x18731b+0x3]]+'-'+_0x2d0238[_0x307b59[_0x18731b+0x4]]+_0x2d0238[_0x307b59[_0x18731b+0x5]]+'-'+_0x2d0238[_0x307b59[_0x18731b+0x6]]+_0x2d0238[_0x307b59[_0x18731b+0x7]]+'-'+_0x2d0238[_0x307b59[_0x18731b+0x8]]+_0x2d0238[_0x307b59[_0x18731b+0x9]]+'-'+_0x2d0238[_0x307b59[_0x18731b+0xa]]+_0x2d0238[_0x307b59[_0x18731b+0xb]]+_0x2d0238[_0x307b59[_0x18731b+0xc]]+_0x2d0238[_0x307b59[_0x18731b+0xd]]+_0x2d0238[_0x307b59[_0x18731b+0xe]]+_0x2d0238[_0x307b59[_0x18731b+0xf]])['toLowerCase']();}let _0x32903f;const _0xaac217=new Uint8Array(0x10);function _0x4d00be(){var _0x3de0d4=_0x25b562;if(!_0x32903f){if(typeof crypto>'u'||!crypto[_0x3de0d4(0x417)])throw new Error(_0x3de0d4(0x262));_0x32903f=crypto[_0x3de0d4(0x417)][_0x3de0d4(0x254)](crypto);}return _0x32903f(_0xaac217);}const _0x43ce42={'randomUUID':typeof crypto<'u'&&crypto[_0x25b562(0x3b6)]&&crypto[_0x25b562(0x3b6)][_0x25b562(0x254)](crypto)};function _0x11ae8c(_0x11ba32,_0x49e532,_0x476b3a){var _0x3547c4=_0x25b562,_0x4e5302,_0x26a54b,_0x30bde7;if(_0x43ce42[_0x3547c4(0x3b6)]&&!_0x11ba32)return _0x43ce42[_0x3547c4(0x3b6)]();_0x11ba32=_0x11ba32||{};const _0xb6951c=(_0x30bde7=(_0x26a54b=_0x11ba32[_0x3547c4(0x365)])!=null?_0x26a54b:(_0x4e5302=_0x11ba32[_0x3547c4(0x2d8)])==null?void 0x0:_0x4e5302[_0x3547c4(0x29a)](_0x11ba32))!=null?_0x30bde7:_0x4d00be();if(_0xb6951c[_0x3547c4(0x224)]<0x10)throw new Error('Random\x20bytes\x20length\x20must\x20be\x20>=\x2016');return _0xb6951c[0x6]=_0xb6951c[0x6]&0xf|0x40,_0xb6951c[0x8]=_0xb6951c[0x8]&0x3f|0x80,_0x5f1198(_0xb6951c);}const _0x2f8b36=_0x417a6f[_0x25b562(0x488)]('collaboration-client.local-cache-service');function _0xb4ed7(_0x88f24){return'unit-cache-'+_0x88f24;}var _0x57d89d=Object[_0x25b562(0x459)],_0x4328bc=(_0x123995,_0x442144,_0x17b5b5,_0x422289)=>{var _0x31ee8d=_0x25b562;for(var _0x3c5bcb=_0x422289>0x1?void 0x0:_0x422289?_0x57d89d(_0x442144,_0x17b5b5):_0x442144,_0x1aa5f2=_0x123995[_0x31ee8d(0x224)]-0x1,_0x453990;_0x1aa5f2>=0x0;_0x1aa5f2--)(_0x453990=_0x123995[_0x1aa5f2])&&(_0x3c5bcb=_0x453990(_0x3c5bcb)||_0x3c5bcb);return _0x3c5bcb;},_0x30949e=(_0x487118,_0x3bdf81)=>(_0x23ef68,_0x3dc992)=>_0x3bdf81(_0x23ef68,_0x3dc992,_0x487118);function _0x3b2f54(_0x2b0c71){var _0x34ecfb=_0x25b562;const {unitID:_0x3109ea,mutations:_0x1d7757}=_0x2b0c71;return{'unitId':_0x3109ea,'subUnitId':_0x1d7757[0x0][_0x34ecfb(0x339)][_0x34ecfb(0x4e7)]};}_0x2aaff0[_0x25b562(0x319)]=class{constructor(_0x216df4,_0x40a3bd,_0x1ab2a8){var _0x4d076b=_0x25b562;this[_0x4d076b(0x495)]=_0x216df4,this[_0x4d076b(0x244)]=_0x40a3bd,this[_0x4d076b(0x361)]=_0x1ab2a8;}[_0x25b562(0x47b)](_0xb0e7b3){var _0x40af16=_0x25b562,_0x24791a,_0xb96542,_0x19081f,_0x2c3f3c;const _0x3e4a29=this[_0x40af16(0x495)][_0x40af16(0x46c)](_0x9200ce[_0x40af16(0x291)]),{unitId:_0x5b430a,subUnitId:_0x827286}=_0x3b2f54(_0xb0e7b3),_0x5a8c06=_0x3e4a29==null?void 0x0:_0x3e4a29[_0x40af16(0x44f)](_0x5b430a)[_0x40af16(0x501)](),_0xbe0938=(_0xb96542=(_0x24791a=this[_0x40af16(0x361)][_0x40af16(0x4e4)](_0x5b430a))==null?void 0x0:_0x24791a[_0x40af16(0x527)]())==null?void 0x0:_0xb96542[_0x40af16(0x1e0)]();if(_0x5a8c06[_0x40af16(0x224)]===0x0||!_0x5b430a||!_0x827286)return;const _0x5cd3f0=[{'id':_0x9200ce[_0x40af16(0x308)]['id'],'params':{'unitId':_0x5b430a,'subUnitId':_0xbe0938,'selections':_0x417a6f['Tools'][_0x40af16(0x499)](_0x5a8c06)}}],_0x2d3bcc=this[_0x40af16(0x244)]['transformMutationsWithChangeset'](_0xb0e7b3,_0x5cd3f0);if(!_0x37c004[_0x40af16(0x2e2)](_0x2d3bcc))throw _0x2d3bcc['error'];const _0x1fe0b6=(_0x2c3f3c=(_0x19081f=_0x2d3bcc[_0x40af16(0x2bb)][0x0])==null?void 0x0:_0x19081f[_0x40af16(0x339)])==null?void 0x0:_0x2c3f3c[_0x40af16(0x225)];if(Array[_0x40af16(0x4b0)](_0x1fe0b6)&&_0x1fe0b6['length']){if(_0x1fe0b6[_0x40af16(0x224)]===_0x5cd3f0[0x0][_0x40af16(0x339)][_0x40af16(0x225)]['length']&&_0x1fe0b6['every']((_0x2a3378,_0x22a26a)=>_0x417a6f[_0x40af16(0x524)][_0x40af16(0x293)](_0x2a3378[_0x40af16(0x2c9)],_0x5cd3f0[0x0][_0x40af16(0x339)]['selections'][_0x22a26a][_0x40af16(0x2c9)])))return;this[_0x40af16(0x495)][_0x40af16(0x46c)](_0x417a6f[_0x40af16(0x37e)])[_0x40af16(0x35c)](_0x9200ce[_0x40af16(0x308)]['id'],{'unitId':_0x5b430a,'subUnitId':_0xbe0938,'selections':_0x1fe0b6});}}},_0x2aaff0[_0x25b562(0x319)]=_0x4328bc([_0x30949e(0x0,_0x417a6f[_0x25b562(0x4c8)](_0x417a6f[_0x25b562(0x2e1)])),_0x30949e(0x1,_0x37c004[_0x25b562(0x3e1)]),_0x30949e(0x2,_0x417a6f[_0x25b562(0x264)])],_0x2aaff0['SheetTransformSelectionsService']);const _0x5896bd=_0x417a6f[_0x25b562(0x488)]('univer-pro.collaboration-client.single-active-unit-service');var _0x32fed4=(_0x4ceb62=>(_0x4ceb62[_0x4ceb62['NO_OTHER_CLIENTS_EDITING']=0x0]='NO_OTHER_CLIENTS_EDITING',_0x4ceb62[_0x4ceb62['OTHER_CLIENTS_EDITING']=0x1]=_0x25b562(0x2fa),_0x4ceb62))(_0x32fed4||{});const _0xc6ccfd=new Set([_0x9200ce['InsertSheetMutation']['id']]);function _0x43d2a8(_0x27abd5,_0x147553,_0x5b4f45,_0x1c314a,_0x332c9){var _0x69762d=_0x25b562,_0x1232b4,_0x40eb72,_0x5b3932,_0x1f0f10;const _0x122717=[];for(const _0x1c07ca of _0x27abd5)if(_0xc6ccfd[_0x69762d(0x1de)](_0x1c07ca['id'])){if(_0x122717[_0x69762d(0x224)]>0x0)break;_0x122717[_0x69762d(0x2d7)](_0x1c07ca);break;}else _0x122717[_0x69762d(0x2d7)](_0x1c07ca);const _0x5e1f06=(_0x40eb72=(_0x1232b4=_0x332c9[_0x69762d(0x2b0)]())==null?void 0x0:_0x1232b4[_0x69762d(0x451)])!=null?_0x40eb72:'unknown',_0x1cf34d=(_0x1f0f10=(_0x5b3932=_0x332c9[_0x69762d(0x2b0)]())==null?void 0x0:_0x5b3932[_0x69762d(0x25f)])!=null?_0x1f0f10:_0x69762d(0x41d);return{'changeset':{'unitID':_0x147553,'type':_0x37c004[_0x69762d(0x503)](_0x5b4f45[_0x69762d(0x1dc)](_0x147553)),'baseRev':_0x1c314a[_0x69762d(0x45d)](_0x147553),'revision':0x0,'userID':_0x5e1f06,'memberID':_0x1cf34d,'mutations':_0x122717},'pendingMutations':_0x27abd5[_0x69762d(0x317)](_0x122717[_0x69762d(0x224)])};}function _0x5ed897(_0x11c8a8,_0x3c4bbd,_0x551687,_0x3677bc,_0x3c8d2e){var _0x495165=_0x25b562,_0x385455,_0x5d423a,_0x2db4f6,_0x101b4a;const _0x2119a8=[_0x11c8a8['reduce']((_0x5d782f,_0x37305a)=>{var _0x4dd7fb=_0x1012,_0x1e3dbd;const {id:_0x5a1009}=_0x5d782f,{id:_0x461619,type:_0x4a85c6}=_0x37305a,_0x32c7c2=(_0x1e3dbd=_0x5d782f['params'])!=null?_0x1e3dbd:{'actions':null},_0x46d683=_0x37305a[_0x4dd7fb(0x339)];if(_0x5a1009&&_0x5a1009!==_0x461619)throw new Error(_0x4dd7fb(0x335)+_0x5a1009+'\x20-\x20'+_0x461619+'.');return{..._0x5d782f,'id':_0x461619,'type':_0x4a85c6,'params':{'unitId':_0x46d683[_0x4dd7fb(0x465)],'textRanges':_0x46d683[_0x4dd7fb(0x1bb)],'actions':_0x417a6f[_0x4dd7fb(0x47a)][_0x4dd7fb(0x1b3)](_0x32c7c2[_0x4dd7fb(0x2f1)],_0x46d683[_0x4dd7fb(0x2f1)])}};},{})],_0x3af877=(_0x5d423a=(_0x385455=_0x3c8d2e[_0x495165(0x2b0)]())==null?void 0x0:_0x385455['userID'])!=null?_0x5d423a:_0x495165(0x41d),_0x284071=(_0x101b4a=(_0x2db4f6=_0x3c8d2e['getCurrentUser']())==null?void 0x0:_0x2db4f6['memberID'])!=null?_0x101b4a:'unknown';return{'changeset':{'unitID':_0x3c4bbd,'type':_0x37c004[_0x495165(0x503)](_0x551687[_0x495165(0x1dc)](_0x3c4bbd)),'baseRev':_0x3677bc[_0x495165(0x45d)](_0x3c4bbd),'revision':0x0,'userID':_0x3af877,'memberID':_0x284071,'mutations':_0x2119a8},'pendingMutations':[]};}function _0x371bbf(_0x95155d,_0x180430){var _0x3bc20c=_0x25b562;const _0x18e4d2=new _0x392915[(_0x3bc20c(0x342))](0x1);return setTimeout(()=>_0x18e4d2[_0x3bc20c(0x4e2)](_0x180430),_0x95155d),_0x18e4d2[_0x3bc20c(0x1b4)]()[_0x3bc20c(0x498)](_0x392915[_0x3bc20c(0x239)](0x1));}const _0x4a7cfa={'id':_0x9200ce['EmptyMutation']['id'],'type':_0x417a6f[_0x25b562(0x466)][_0x25b562(0x41e)],'params':{}};var _0x5f1d66=Object[_0x25b562(0x459)],_0x37ee2d=(_0x30e459,_0x1cecf5,_0x5a47d6,_0x3f2b4d)=>{for(var _0x1ab388=_0x3f2b4d>0x1?void 0x0:_0x3f2b4d?_0x5f1d66(_0x1cecf5,_0x5a47d6):_0x1cecf5,_0x13fe0d=_0x30e459['length']-0x1,_0x317b98;_0x13fe0d>=0x0;_0x13fe0d--)(_0x317b98=_0x30e459[_0x13fe0d])&&(_0x1ab388=_0x317b98(_0x1ab388)||_0x1ab388);return _0x1ab388;},_0x4c7843=(_0x56e962,_0x1700a4)=>(_0x49d2a6,_0x10e7b1)=>_0x1700a4(_0x49d2a6,_0x10e7b1,_0x56e962),_0x3bb83a=(_0x4c3f37=>(_0x4c3f37[_0x25b562(0x337)]=_0x25b562(0x4c2),_0x4c3f37[_0x25b562(0x4f5)]=_0x25b562(0x29f),_0x4c3f37[_0x25b562(0x507)]='pending',_0x4c3f37['AWAITING']=_0x25b562(0x1d7),_0x4c3f37[_0x25b562(0x50d)]=_0x25b562(0x537),_0x4c3f37[_0x25b562(0x1ab)]=_0x25b562(0x4fe),_0x4c3f37[_0x25b562(0x309)]=_0x25b562(0x1da),_0x4c3f37[_0x25b562(0x279)]=_0x25b562(0x304),_0x4c3f37))(_0x3bb83a||{});const _0x16a5f5=0xea60;class _0xce1344{constructor(_0x507742,_0x3f0a2f,_0x1e37f5,_0x3d5e64,_0x2eda48,_0x3dc654,_0x41623d,_0x23899e,_0x2f4703){var _0x127577=_0x25b562;_0x156e65(this,_0x127577(0x251),null),_0x156e65(this,_0x127577(0x477),[]),(this[_0x127577(0x4d1)]=_0x507742,this[_0x127577(0x453)]=_0x3f0a2f,this[_0x127577(0x2ef)]=_0x2eda48,this[_0x127577(0x30f)]=_0x3dc654,this[_0x127577(0x38d)]=_0x41623d,this[_0x127577(0x4a5)]=_0x23899e,this['_localCacheService']=_0x2f4703,this[_0x127577(0x251)]=_0x1e37f5,this['_pendingMutations']=_0x3d5e64);}[_0x25b562(0x30c)](_0x5334a9){var _0x4c19f3=_0x25b562;const _0x286183=this[_0x4c19f3(0x4a5)][_0x4c19f3(0x45d)](this[_0x4c19f3(0x4d1)]);return _0x5334a9['revision']>_0x286183+0x1?(this[_0x4c19f3(0x2ef)]['onMissingChangesets']({'from':_0x286183,'to':_0x5334a9[_0x4c19f3(0x363)]-0x1}),!0x0):!0x1;}['_transformUndoredo'](_0xd93271){var _0x3fa521=_0x25b562;this['_undoRedoService'][_0x3fa521(0x44e)](this['unitID'],_0xd93271);}['_transformSelections'](_0x25ff6d){var _0x1d738e,_0x38b8ce;(_0x38b8ce=(_0x1d738e=this['_handler'])['onTransformSelections'])==null||_0x38b8ce['call'](_0x1d738e,_0x25ff6d);}[_0x25b562(0x258)](_0x320109){var _0x2abc68=_0x25b562,_0x246c35,_0x495f03;return(_0x495f03=(_0x246c35=this[_0x2abc68(0x2ef)])[_0x2abc68(0x1c9)])==null?void 0x0:_0x495f03[_0x2abc68(0x29a)](_0x246c35,_0x320109);}[_0x25b562(0x36f)](_0x55a755){var _0x417823=_0x25b562,_0x18e800,_0x802865;return(_0x802865=(_0x18e800=this[_0x417823(0x2ef)])[_0x417823(0x470)])==null?void 0x0:_0x802865['call'](_0x18e800,_0x55a755);}[_0x25b562(0x4d2)](_0x505e0f){var _0x9f9a6e=_0x25b562,_0x538659,_0x18af4a,_0x4aeafe;return(_0x4aeafe=(_0x18af4a=(_0x538659=this[_0x9f9a6e(0x2ef)])[_0x9f9a6e(0x3e8)])==null?void 0x0:_0x18af4a[_0x9f9a6e(0x29a)](_0x538659,_0x505e0f))!=null?_0x4aeafe:_0x505e0f;}[_0x25b562(0x430)](_0x3f4e7e){var _0xd0df23=_0x25b562,_0x12fe14,_0x499c46,_0x540901;return(_0x540901=(_0x499c46=(_0x12fe14=this[_0xd0df23(0x2ef)])[_0xd0df23(0x241)])==null?void 0x0:_0x499c46[_0xd0df23(0x29a)](_0x12fe14,_0x3f4e7e))!=null?_0x540901:_0x3f4e7e;}[_0x25b562(0x215)](_0x4d1443){var _0x4bb13c=_0x25b562,_0x3386ef,_0x33ccae;if(this[_0x4bb13c(0x453)]===_0x530a50['UNIVER_DOC']){const {unitID:_0x3245af,mutations:_0x4c716c,memberID:_0x48a444}=_0x4d1443,_0x13566c=_0x4c716c[0x0][_0x4bb13c(0x339)][_0x4bb13c(0x1bb)];Array[_0x4bb13c(0x4b0)](_0x13566c)&&_0x13566c[_0x4bb13c(0x224)]>0x0&&((_0x33ccae=(_0x3386ef=this[_0x4bb13c(0x2ef)])['onSyncEditingCollabCursor'])==null||_0x33ccae[_0x4bb13c(0x29a)](_0x3386ef,{'unitID':_0x3245af,'memberID':_0x48a444,'textRanges':_0x13566c}));}}['_updateLocalCache'](){var _0x37a0b6=_0x25b562,_0x21f067;(_0x21f067=this[_0x37a0b6(0x426)])==null||_0x21f067[_0x37a0b6(0x326)](this['unitID'],this[_0x37a0b6(0x453)],this['_awaitingChangeset'],this['_pendingMutations']);}['_getCurrentRevision'](){var _0x5b4bbf=_0x25b562;return this[_0x5b4bbf(0x4a5)][_0x5b4bbf(0x45d)](this['unitID']);}[_0x25b562(0x49d)](){var _0xd443b=_0x25b562;this[_0xd443b(0x4a5)][_0xd443b(0x1c7)](this[_0xd443b(0x4d1)]);}[_0x25b562(0x280)](_0x50af27){var _0x1b8a94=_0x25b562,_0x546760;let _0x18fafb=this['_transformRemoteChangesetByIMECache'](_0x50af27);_0x18fafb=this['_transformRemoteChangesetByStateCache'](_0x18fafb);const _0x1316ba=_0x417a6f['sequenceExecute'](_0x18fafb[_0x1b8a94(0x211)],this[_0x1b8a94(0x30f)],{'fromCollab':!0x0});if(!_0x1316ba[_0x1b8a94(0x1e7)])throw _0x1316ba[_0x1b8a94(0x3e4)]instanceof Error?_0x1316ba[_0x1b8a94(0x3e4)]:new Error((_0x546760=_0x1316ba[_0x1b8a94(0x3e4)])!=null?_0x546760:_0x1b8a94(0x4df));this[_0x1b8a94(0x258)](_0x18fafb),this[_0x1b8a94(0x36f)](_0x18fafb),this[_0x1b8a94(0x269)](_0x50af27),this[_0x1b8a94(0x4e6)](_0x18fafb),this[_0x1b8a94(0x215)](_0x18fafb),this[_0x1b8a94(0x49d)]();}}_0x2aaff0['SyncedState']=class extends _0xce1344{constructor(_0x2a1f31,_0x1e4d2b,_0x549433,_0x5e8fa0,_0x24f214,_0x3a0c01,_0x29ebc6,_0x3b8891,_0x57d70b,_0x51258d){var _0x284212=_0x25b562;super(_0x2a1f31,_0x1e4d2b,null,[],_0x549433,_0x29ebc6,_0x3a0c01,_0x5e8fa0,_0x51258d),_0x156e65(this,_0x284212(0x306),_0x284212(0x29f)),(this[_0x284212(0x495)]=_0x24f214,this['_logService']=_0x3b8891,this['_transformService']=_0x57d70b,this[_0x284212(0x1fe)]=_0x51258d);}[_0x25b562(0x43f)](_0x26152f){var _0x24c221=_0x25b562;const _0x26da2f=this[_0x24c221(0x495)]['createInstance'](_0x2aaff0[_0x24c221(0x4af)],this[_0x24c221(0x4d1)],this[_0x24c221(0x453)],[_0x26152f],this['_handler']);return _0x26da2f['_schedule'](),_0x26da2f[_0x24c221(0x434)](),_0x26da2f;}[_0x25b562(0x4f7)](_0x5a5788){var _0x13b0ad=_0x25b562;if(this['_checkMissing'](_0x5a5788))return this['_injector'][_0x13b0ad(0x2f9)](_0x2aaff0[_0x13b0ad(0x4d0)],this[_0x13b0ad(0x4d1)],this[_0x13b0ad(0x453)],null,[],null,[_0x5a5788],this[_0x13b0ad(0x2ef)]);try{const _0x3d9e0b=this['_transformService']['transformMutationsWithChangeset'](_0x5a5788,[_0x4a7cfa]);if(_0x37c004[_0x13b0ad(0x2e2)](_0x3d9e0b)){const {c1Prime:_0x47e6fe}=_0x3d9e0b;return this[_0x13b0ad(0x280)](_0x47e6fe),this;}throw _0x3d9e0b[_0x13b0ad(0x3e4)];}catch(_0x1dae13){return this[_0x13b0ad(0x39f)][_0x13b0ad(0x3e4)](_0x1dae13),this[_0x13b0ad(0x1d6)](!0x1);}}[_0x25b562(0x1d6)](_0x284571){var _0x32376e=_0x25b562;return this[_0x32376e(0x495)][_0x32376e(0x2f9)](_0x2aaff0['ConflictState'],this[_0x32376e(0x4d1)],this[_0x32376e(0x453)],null,[],this[_0x32376e(0x2ef)],_0x284571);}[_0x25b562(0x51b)](){var _0x458744=_0x25b562;throw new Error(_0x458744(0x3db));}[_0x25b562(0x476)](){var _0x46014f=_0x25b562;throw new Error(_0x46014f(0x479));}[_0x25b562(0x32b)](){return this;}[_0x25b562(0x21e)](){var _0x1ea143=_0x25b562;return this[_0x1ea143(0x495)][_0x1ea143(0x2f9)](_0x2aaff0[_0x1ea143(0x332)],this['unitID'],this[_0x1ea143(0x453)],null,[],this['_handler']);}[_0x25b562(0x375)](){return this;}['resend'](){var _0x5906ba=_0x25b562;throw new Error(_0x5906ba(0x36c));}[_0x25b562(0x3d6)](){var _0x945aa2=_0x25b562;const _0x5643e7=this[_0x945aa2(0x4a5)]['getCurrentRevOfUnit'](this[_0x945aa2(0x4d1)]);return this[_0x945aa2(0x2ef)]['onMissingChangesets']({'from':_0x5643e7,'to':0x0}),this[_0x945aa2(0x495)][_0x945aa2(0x2f9)](_0x2aaff0['FetchingMissState'],this[_0x945aa2(0x4d1)],this['type'],null,[],null,[],this[_0x945aa2(0x2ef)]);}},_0x2aaff0[_0x25b562(0x2e0)]=_0x37ee2d([_0x4c7843(0x3,_0x417a6f[_0x25b562(0x4c8)](_0x37c004[_0x25b562(0x2e5)])),_0x4c7843(0x4,_0x417a6f[_0x25b562(0x4c8)](_0x417a6f['Injector'])),_0x4c7843(0x5,_0x417a6f[_0x25b562(0x270)]),_0x4c7843(0x6,_0x417a6f[_0x25b562(0x37e)]),_0x4c7843(0x7,_0x417a6f['ILogService']),_0x4c7843(0x8,_0x37c004['ITransformService']),_0x4c7843(0x9,_0x417a6f[_0x25b562(0x392)](_0x2f8b36))],_0x2aaff0[_0x25b562(0x2e0)]),_0x2aaff0[_0x25b562(0x4af)]=class extends _0xce1344{constructor(_0x48f04a,_0x1281f9,_0x53b5f6,_0x41a0c2,_0x3eec7a,_0x1930c9,_0x2f3187,_0xd74f2a,_0xadd274,_0x2c1e4e,_0x1fb85a,_0x4d2131,_0x32318a,_0x2b1edf){var _0x4db04d=_0x25b562;super(_0x48f04a,_0x1281f9,null,_0x53b5f6,_0x41a0c2,_0xadd274,_0x32318a,_0x1930c9,_0x2b1edf),_0x156e65(this,_0x4db04d(0x306),'pending'),_0x156e65(this,_0x4db04d(0x3d2),null),_0x156e65(this,'_sendingTimer',null),(this['_injector']=_0x3eec7a,this[_0x4db04d(0x249)]=_0x2f3187,this['_logService']=_0xd74f2a,this[_0x4db04d(0x435)]=_0x2c1e4e,this[_0x4db04d(0x244)]=_0x1fb85a,this['_univerInstanceService']=_0x4d2131);}[_0x25b562(0x43f)](_0xf866c8){var _0x1f0406=_0x25b562;return this[_0x1f0406(0x477)]['push'](_0xf866c8),this['_updateLocalCache'](),this;}[_0x25b562(0x4f7)](_0x5adb80){var _0x56ccf4=_0x25b562;if(this[_0x56ccf4(0x30c)](_0x5adb80))return this['_clearScheduledTask'](),this['_injector'][_0x56ccf4(0x2f9)](_0x2aaff0[_0x56ccf4(0x4d0)],this[_0x56ccf4(0x4d1)],this['type'],null,this[_0x56ccf4(0x477)],null,[_0x5adb80],this[_0x56ccf4(0x2ef)]);try{const _0x59b28e=this[_0x56ccf4(0x244)][_0x56ccf4(0x2c0)](_0x5adb80,this[_0x56ccf4(0x477)]);if(_0x37c004['isTransformMutationsWithChangesetSuccess'](_0x59b28e)){const {c1Prime:_0x571ed7,m2Prime:_0x536eec}=_0x59b28e;this['_executeRemoteChangeset'](_0x571ed7);const _0x133d26=this['_injector'][_0x56ccf4(0x2f9)](_0x2aaff0[_0x56ccf4(0x4af)],this[_0x56ccf4(0x4d1)],this[_0x56ccf4(0x453)],_0x536eec,this['_handler']);this[_0x56ccf4(0x379)]();const _0x29e623=new Date()[_0x56ccf4(0x243)](),_0x49042a=this[_0x56ccf4(0x3d2)]?Math[_0x56ccf4(0x22c)](this[_0x56ccf4(0x3d2)]-_0x29e623,0x0):this[_0x56ccf4(0x3fb)]();return _0x133d26[_0x56ccf4(0x506)](_0x49042a),_0x133d26;}throw _0x59b28e[_0x56ccf4(0x3e4)];}catch(_0x22c8ad){return this[_0x56ccf4(0x39f)][_0x56ccf4(0x3e4)](_0x22c8ad),this[_0x56ccf4(0x1d6)](!0x1);}}[_0x25b562(0x51b)](){var _0x55cb9c=_0x25b562;throw new Error(_0x55cb9c(0x40c));}[_0x25b562(0x476)](){var _0x57e2b2=_0x25b562;throw new Error(_0x57e2b2(0x273));}['onRemoteRetry'](){return this;}[_0x25b562(0x21e)](){var _0x5b8631=_0x25b562;return this[_0x5b8631(0x379)](),this['_injector'][_0x5b8631(0x2f9)](_0x2aaff0['OfflineState'],this['unitID'],this[_0x5b8631(0x453)],null,this[_0x5b8631(0x477)],this[_0x5b8631(0x2ef)]);}['toggleOnline'](){return this;}['_schedule'](_0x19ea61){var _0x1e02fd=_0x25b562;const _0x23a23f=_0x19ea61!=null?_0x19ea61:this[_0x1e02fd(0x3fb)]();this[_0x1e02fd(0x3d2)]=new Date()[_0x1e02fd(0x243)]()+_0x23a23f,this[_0x1e02fd(0x1b6)]=setTimeout(()=>{var _0x28301e=_0x1e02fd;this['_clearScheduledTask']();let _0x2b6f4d=null;switch(this[_0x28301e(0x453)]){case _0x530a50[_0x28301e(0x324)]:{_0x2b6f4d=_0x43d2a8(this[_0x28301e(0x477)],this[_0x28301e(0x4d1)],this[_0x28301e(0x452)],this['_revisionService'],this['_memberService']);break;}case _0x530a50['UNIVER_DOC']:{this['_pendingMutations'][_0x28301e(0x3d0)](_0x22e1c2=>_0x22e1c2['id']===_0x4229aa[_0x28301e(0x27f)]['id'])?_0x2b6f4d=_0x5ed897(this[_0x28301e(0x477)],this[_0x28301e(0x4d1)],this[_0x28301e(0x452)],this[_0x28301e(0x4a5)],this[_0x28301e(0x249)]):_0x2b6f4d=_0x43d2a8(this[_0x28301e(0x477)],this['unitID'],this[_0x28301e(0x452)],this[_0x28301e(0x4a5)],this['_memberService']);break;}default:throw new Error('[PendingState]:\x20unhandled\x20univer\x20type:\x20'+this[_0x28301e(0x453)]+_0x28301e(0x259));}const {changeset:_0x505bf3,pendingMutations:_0x36fc07}=_0x2b6f4d;this[_0x28301e(0x2ef)][_0x28301e(0x3fd)](_0x505bf3);const _0x229f96=_0x36fc07[_0x28301e(0x224)]?this[_0x28301e(0x495)][_0x28301e(0x2f9)](_0x2aaff0[_0x28301e(0x4e1)],this['unitID'],this[_0x28301e(0x453)],_0x505bf3,_0x36fc07,this[_0x28301e(0x2ef)],void 0x0):this[_0x28301e(0x495)]['createInstance'](_0x2aaff0[_0x28301e(0x3ce)],this[_0x28301e(0x4d1)],this['type'],_0x505bf3,this[_0x28301e(0x2ef)]);_0x229f96['_updateLocalCache'](),this[_0x28301e(0x2ef)][_0x28301e(0x26d)](this,_0x229f96);},_0x23a23f);}[_0x25b562(0x3fb)](){var _0xb1732e=_0x25b562,_0xe77db3;const _0x5098fe=this[_0xb1732e(0x435)][_0xb1732e(0x2c3)](_0x38bbb3);return(_0xe77db3=_0x5098fe==null?void 0x0:_0x5098fe[_0xb1732e(0x2c5)])!=null?_0xe77db3:0x7d0;}['resend'](){throw new Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}['_clearScheduledTask'](){var _0x4f7f36=_0x25b562;this[_0x4f7f36(0x1b6)]!=null&&(clearTimeout(this[_0x4f7f36(0x1b6)]),this['_sendingTimer']=null);}[_0x25b562(0x1d6)](_0x2c8995){var _0x3a5127=_0x25b562;return this[_0x3a5127(0x379)](),this[_0x3a5127(0x495)][_0x3a5127(0x2f9)](_0x2aaff0['ConflictState'],this[_0x3a5127(0x4d1)],this[_0x3a5127(0x453)],null,this[_0x3a5127(0x477)],this[_0x3a5127(0x2ef)],_0x2c8995);}},_0x2aaff0[_0x25b562(0x4af)]=_0x37ee2d([_0x4c7843(0x4,_0x417a6f[_0x25b562(0x4c8)](_0x417a6f[_0x25b562(0x2e1)])),_0x4c7843(0x5,_0x417a6f['Inject'](_0x37c004[_0x25b562(0x2e5)])),_0x4c7843(0x6,_0x417a6f['Inject'](_0x2aaff0[_0x25b562(0x3f9)])),_0x4c7843(0x7,_0x417a6f[_0x25b562(0x418)]),_0x4c7843(0x8,_0x417a6f['ICommandService']),_0x4c7843(0x9,_0x417a6f['IConfigService']),_0x4c7843(0xa,_0x37c004[_0x25b562(0x3e1)]),_0x4c7843(0xb,_0x417a6f['IUniverInstanceService']),_0x4c7843(0xc,_0x417a6f['IUndoRedoService']),_0x4c7843(0xd,_0x417a6f['Optional'](_0x2f8b36))],_0x2aaff0[_0x25b562(0x4af)]),_0x2aaff0['AwaitingState']=class extends _0xce1344{constructor(_0x6e087b,_0x162574,_0x35dfd8,_0x341592,_0x40d252,_0x4653dc,_0x1b7cbf,_0x11abc2,_0x42aca5,_0x2e523a,_0x483489){var _0x5b9ec9=_0x25b562;super(_0x6e087b,_0x162574,_0x35dfd8,[],_0x341592,_0x1b7cbf,_0x2e523a,_0x4653dc,_0x483489),_0x156e65(this,_0x5b9ec9(0x306),_0x5b9ec9(0x1d7)),_0x156e65(this,_0x5b9ec9(0x378),0x0),_0x156e65(this,_0x5b9ec9(0x2f7)),_0x156e65(this,_0x5b9ec9(0x26e)),(this[_0x5b9ec9(0x495)]=_0x40d252,this[_0x5b9ec9(0x39f)]=_0x11abc2,this['_transformService']=_0x42aca5);}[_0x25b562(0x43f)](_0x4971da){var _0x510b3c=_0x25b562;this[_0x510b3c(0x379)]();const _0xab7591=this['_injector']['createInstance'](_0x2aaff0[_0x510b3c(0x4e1)],this[_0x510b3c(0x4d1)],this[_0x510b3c(0x453)],this[_0x510b3c(0x251)],[_0x4971da],this['_handler'],this['_resendTimer']);return _0xab7591[_0x510b3c(0x434)](),_0xab7591;}['onRemoteChangeset'](_0x3843c6){var _0x5c0b90=_0x25b562;if(this[_0x5c0b90(0x30c)](_0x3843c6))return this[_0x5c0b90(0x379)](),this[_0x5c0b90(0x495)][_0x5c0b90(0x2f9)](_0x2aaff0[_0x5c0b90(0x4d0)],this[_0x5c0b90(0x4d1)],this[_0x5c0b90(0x453)],this[_0x5c0b90(0x251)],[],null,[_0x3843c6],this[_0x5c0b90(0x2ef)]);try{const _0x43736d=this[_0x5c0b90(0x244)][_0x5c0b90(0x502)]([_0x3843c6],[this[_0x5c0b90(0x251)]],!0x1);if(_0x37c004[_0x5c0b90(0x340)](_0x43736d)){const {c1Prime:_0x13b3b9,c2Prime:_0x266626}=_0x43736d;this[_0x5c0b90(0x280)](_0x13b3b9[0x0]),_0x266626[0x0]['baseRev']=this[_0x5c0b90(0x1dd)](),this[_0x5c0b90(0x379)]();const _0x1fc8bb=this['_injector'][_0x5c0b90(0x2f9)](_0x2aaff0[_0x5c0b90(0x3ce)],this['unitID'],this['type'],_0x266626[0x0],this['_handler']);return _0x1fc8bb['_updateLocalCache'](),_0x1fc8bb;}return this['_onConflict'](!0x1);}catch(_0x3458a8){return this[_0x5c0b90(0x39f)][_0x5c0b90(0x3e4)](_0x3458a8),this[_0x5c0b90(0x1d6)](!0x1);}}[_0x25b562(0x51b)](_0x3dae8b){var _0xe87dd4=_0x25b562;this[_0xe87dd4(0x379)]();const _0x12ab07=this[_0xe87dd4(0x4a5)][_0xe87dd4(0x45d)](this[_0xe87dd4(0x4d1)]);if(_0x3dae8b[_0xe87dd4(0x363)]<_0x12ab07-0x1)return this;if(this[_0xe87dd4(0x30c)](_0x3dae8b))return this[_0xe87dd4(0x495)][_0xe87dd4(0x2f9)](_0x2aaff0[_0xe87dd4(0x4d0)],this[_0xe87dd4(0x4d1)],this[_0xe87dd4(0x453)],null,[],this[_0xe87dd4(0x251)],[],this['_handler']);this['_incrementRevisionNumber']();const _0x30d257=this[_0xe87dd4(0x495)][_0xe87dd4(0x2f9)](_0x2aaff0[_0xe87dd4(0x2e0)],this[_0xe87dd4(0x4d1)],this['type'],this['_handler']);return _0x30d257['_updateLocalCache'](),_0x30d257;}[_0x25b562(0x476)](_0x138980){var _0x2e7098=_0x25b562;return this[_0x2e7098(0x1d6)](!!(_0x138980!=null&&_0x138980[_0x2e7098(0x3d4)]));}[_0x25b562(0x32b)](_0x1ce990){var _0x23417d=_0x25b562;return this[_0x23417d(0x378)]>_0x16a5f5?this[_0x23417d(0x21e)]():(this[_0x23417d(0x2f7)]=_0x371bbf(this[_0x23417d(0x378)],{'timeout':this[_0x23417d(0x378)],'reqId':_0x1ce990['reqId']}),this[_0x23417d(0x26e)]=this[_0x23417d(0x2f7)][_0x23417d(0x22e)](({reqId:_0x37268c,timeout:_0x42a625})=>{var _0x3d3094=_0x23417d;this[_0x3d3094(0x52b)](_0x37268c,_0x42a625);}),this);}[_0x25b562(0x21e)](){var _0x1f0fd4=_0x25b562;return this[_0x1f0fd4(0x379)](),this[_0x1f0fd4(0x495)][_0x1f0fd4(0x2f9)](_0x2aaff0[_0x1f0fd4(0x332)],this[_0x1f0fd4(0x4d1)],this[_0x1f0fd4(0x453)],this[_0x1f0fd4(0x251)],[],this[_0x1f0fd4(0x2ef)]);}['toggleOnline'](){return this;}['resend'](){var _0x463081=_0x25b562;this[_0x463081(0x2ef)][_0x463081(0x3fd)](this[_0x463081(0x251)]);}[_0x25b562(0x1d6)](_0xd89395){var _0xeb1c74=_0x25b562;return this[_0xeb1c74(0x379)](),this[_0xeb1c74(0x495)][_0xeb1c74(0x2f9)](_0x2aaff0[_0xeb1c74(0x1b7)],this[_0xeb1c74(0x4d1)],this['type'],this[_0xeb1c74(0x251)],[],this[_0xeb1c74(0x2ef)],_0xd89395);}[_0x25b562(0x52b)](_0x5afe55,_0x478d40){var _0x49f859=_0x25b562,_0x2d5db6;_0x5afe55===((_0x2d5db6=this[_0x49f859(0x251)])==null?void 0x0:_0x2d5db6['reqId'])&&(this[_0x49f859(0x24a)](),this[_0x49f859(0x378)]=_0x478d40===0x0?0x3e8:_0x478d40*0x2);}['_clearScheduledTask'](){var _0x2088f0=_0x25b562,_0x218454;(_0x218454=this['_sender'])==null||_0x218454[_0x2088f0(0x1a8)](),this[_0x2088f0(0x378)]=0x0;}},_0x2aaff0[_0x25b562(0x3ce)]=_0x37ee2d([_0x4c7843(0x4,_0x417a6f[_0x25b562(0x4c8)](_0x417a6f[_0x25b562(0x2e1)])),_0x4c7843(0x5,_0x417a6f[_0x25b562(0x4c8)](_0x37c004[_0x25b562(0x2e5)])),_0x4c7843(0x6,_0x417a6f[_0x25b562(0x37e)]),_0x4c7843(0x7,_0x417a6f['ILogService']),_0x4c7843(0x8,_0x37c004[_0x25b562(0x3e1)]),_0x4c7843(0x9,_0x417a6f[_0x25b562(0x270)]),_0x4c7843(0xa,_0x417a6f[_0x25b562(0x392)](_0x2f8b36))],_0x2aaff0[_0x25b562(0x3ce)]),_0x2aaff0[_0x25b562(0x4e1)]=class extends _0xce1344{constructor(_0x44e1c,_0x5315bb,_0xd38bac,_0x10f207,_0x3dc63b,_0x352778,_0x169fc3,_0x39957e,_0x55bfe2,_0x36ebe6,_0x3ca795,_0x1338ca,_0x3e23f8){var _0x50924c=_0x25b562;super(_0x44e1c,_0x5315bb,_0xd38bac,_0x10f207,_0x3dc63b,_0x55bfe2,_0x1338ca,_0x39957e,_0x3e23f8),_0x156e65(this,_0x50924c(0x306),_0x50924c(0x537)),_0x156e65(this,_0x50924c(0x378),0x0),_0x156e65(this,'_resendTimer'),_0x156e65(this,_0x50924c(0x26e)),(this[_0x50924c(0x495)]=_0x169fc3,this[_0x50924c(0x39f)]=_0x36ebe6,this['_transformService']=_0x3ca795,this[_0x50924c(0x1fe)]=_0x3e23f8,_0x352778&&(this['_resendTimer']=_0x352778,this[_0x50924c(0x26e)]=this[_0x50924c(0x2f7)][_0x50924c(0x22e)](({reqId:_0x20b0ad,timeout:_0x27326d})=>{var _0x4863c8=_0x50924c;this[_0x4863c8(0x52b)](_0x20b0ad,_0x27326d);})));}['appendMutation'](_0x2f591b){var _0x3c780f=_0x25b562;return this[_0x3c780f(0x477)]['push'](_0x2f591b),this;}['onRemoteChangeset'](_0x29330b){var _0x31bcd3=_0x25b562;if(this[_0x31bcd3(0x30c)](_0x29330b))return this[_0x31bcd3(0x379)](),this[_0x31bcd3(0x495)][_0x31bcd3(0x2f9)](_0x2aaff0['FetchingMissState'],this[_0x31bcd3(0x4d1)],this['type'],this[_0x31bcd3(0x251)],this[_0x31bcd3(0x477)],null,[_0x29330b],this['_handler']);try{const _0x538519=this[_0x31bcd3(0x244)][_0x31bcd3(0x502)]([_0x29330b],[this['_awaitingChangeset']],!0x1);if(_0x37c004['isTransformChangesetsSuccess'](_0x538519)){const {c1Prime:_0xfeda5b,c2Prime:_0x6aa66e}=_0x538519,_0x3bbf0c=this[_0x31bcd3(0x244)][_0x31bcd3(0x2c0)](_0xfeda5b[0x0],this[_0x31bcd3(0x477)]);if(_0x37c004['isTransformMutationsWithChangesetSuccess'](_0x3bbf0c)){const {c1Prime:_0x554951,m2Prime:_0x26d3b0}=_0x3bbf0c;return this[_0x31bcd3(0x280)](_0x554951),_0x6aa66e[0x0][_0x31bcd3(0x489)]=this[_0x31bcd3(0x1dd)](),this[_0x31bcd3(0x379)](),this[_0x31bcd3(0x495)][_0x31bcd3(0x2f9)](_0x2aaff0['AwaitingWithPendingState'],this[_0x31bcd3(0x4d1)],this['type'],_0x6aa66e[0x0],_0x26d3b0,this['_handler'],void 0x0);}throw _0x3bbf0c[_0x31bcd3(0x3e4)];}throw _0x538519[_0x31bcd3(0x3e4)];}catch(_0x5e9970){return this[_0x31bcd3(0x39f)][_0x31bcd3(0x3e4)](_0x5e9970),this[_0x31bcd3(0x1d6)](!0x1);}}[_0x25b562(0x51b)](_0xc5dc81){var _0x314a16=_0x25b562;if(this[_0x314a16(0x379)](),this['_checkMissing'](_0xc5dc81))return this[_0x314a16(0x495)][_0x314a16(0x2f9)](_0x2aaff0['FetchingMissState'],this[_0x314a16(0x4d1)],this[_0x314a16(0x453)],null,this[_0x314a16(0x477)],this[_0x314a16(0x251)],[],this[_0x314a16(0x2ef)]);this[_0x314a16(0x49d)]();const _0x9decb9=this[_0x314a16(0x495)][_0x314a16(0x2f9)](_0x2aaff0[_0x314a16(0x4af)],this['unitID'],this[_0x314a16(0x453)],this['_pendingMutations'],this[_0x314a16(0x2ef)]);return _0x9decb9[_0x314a16(0x506)](),_0x9decb9[_0x314a16(0x434)](),_0x9decb9;}[_0x25b562(0x476)](_0x5144ca){var _0x307954=_0x25b562;return this[_0x307954(0x1d6)](!!(_0x5144ca!=null&&_0x5144ca[_0x307954(0x3d4)]));}[_0x25b562(0x32b)](_0x4d2631){var _0x2ad304=_0x25b562;return this[_0x2ad304(0x378)]>_0x16a5f5?this['toggleOffline']():(this[_0x2ad304(0x2f7)]=_0x371bbf(this[_0x2ad304(0x378)],{'timeout':this['_resendTimeout'],'reqId':_0x4d2631['reqId']}),this[_0x2ad304(0x26e)]=this[_0x2ad304(0x2f7)][_0x2ad304(0x22e)](({reqId:_0x2fb6ea,timeout:_0x4f932f})=>{var _0x2f7524=_0x2ad304;this[_0x2f7524(0x52b)](_0x2fb6ea,_0x4f932f);}),this);}[_0x25b562(0x21e)](){var _0x5be2b9=_0x25b562;return this[_0x5be2b9(0x379)](),this[_0x5be2b9(0x495)][_0x5be2b9(0x2f9)](_0x2aaff0[_0x5be2b9(0x332)],this['unitID'],this[_0x5be2b9(0x453)],this['_awaitingChangeset'],this['_pendingMutations'],this[_0x5be2b9(0x2ef)]);}[_0x25b562(0x375)](){return this;}[_0x25b562(0x24a)](){var _0x5aa8a9=_0x25b562;this['_handler'][_0x5aa8a9(0x3fd)](this['_awaitingChangeset']);}[_0x25b562(0x1d6)](_0x5de61e){var _0x43f2d0=_0x25b562;return this[_0x43f2d0(0x379)](),this[_0x43f2d0(0x495)][_0x43f2d0(0x2f9)](_0x2aaff0[_0x43f2d0(0x1b7)],this['unitID'],this['type'],null,this[_0x43f2d0(0x477)],this[_0x43f2d0(0x2ef)],_0x5de61e);}['_resendWithTimeout'](_0x289bbf,_0x5a87a0){var _0xfbfcc5=_0x25b562,_0x2edade;_0x289bbf===((_0x2edade=this[_0xfbfcc5(0x251)])==null?void 0x0:_0x2edade[_0xfbfcc5(0x40b)])&&(this['resend'](),this[_0xfbfcc5(0x378)]=_0x5a87a0===0x0?0x3e8:_0x5a87a0*0x2);}['_clearScheduledTask'](){var _0x94fae8=_0x25b562,_0x300bdc;(_0x300bdc=this[_0x94fae8(0x26e)])==null||_0x300bdc['unsubscribe'](),this['_resendTimeout']=0x0;}},_0x2aaff0[_0x25b562(0x4e1)]=_0x37ee2d([_0x4c7843(0x6,_0x417a6f[_0x25b562(0x4c8)](_0x417a6f[_0x25b562(0x2e1)])),_0x4c7843(0x7,_0x417a6f[_0x25b562(0x4c8)](_0x37c004['RevisionService'])),_0x4c7843(0x8,_0x417a6f[_0x25b562(0x37e)]),_0x4c7843(0x9,_0x417a6f[_0x25b562(0x418)]),_0x4c7843(0xa,_0x37c004[_0x25b562(0x3e1)]),_0x4c7843(0xb,_0x417a6f[_0x25b562(0x270)]),_0x4c7843(0xc,_0x417a6f[_0x25b562(0x392)](_0x2f8b36))],_0x2aaff0[_0x25b562(0x4e1)]),_0x2aaff0['ConflictState']=class extends _0xce1344{constructor(_0x31713e,_0x2db6c5,_0x1826ea,_0x1cc2e7,_0x4e392f,_0x36fa57=!0x1,_0x3f3173,_0x2c84e5,_0xdcc8ea,_0x16f6d9,_0x50561a,_0x10dfb6,_0x289d52){var _0x1cd570=_0x25b562;super(_0x31713e,_0x2db6c5,_0x1826ea,_0x1cc2e7,_0x4e392f,_0x2c84e5,_0xdcc8ea,_0x16f6d9,_0x289d52),_0x156e65(this,_0x1cd570(0x306),_0x1cd570(0x1da)),(this[_0x1cd570(0x360)]=_0x36fa57,this[_0x1cd570(0x512)]=_0x3f3173,this['_localeService']=_0x50561a,this[_0x1cd570(0x226)]=_0x10dfb6,this[_0x1cd570(0x1fe)]=_0x289d52,this['_showConflictNotification'](),this[_0x1cd570(0x3f4)](),this[_0x1cd570(0x397)]());}[_0x25b562(0x43f)](){return this;}[_0x25b562(0x4f7)](){return this;}[_0x25b562(0x51b)](){return this;}[_0x25b562(0x476)](){return this;}[_0x25b562(0x32b)](){return this;}['toggleOffline'](){return this;}[_0x25b562(0x375)](){return this;}[_0x25b562(0x24a)](){var _0x2bb2ec=_0x25b562;throw new Error(_0x2bb2ec(0x47c));}[_0x25b562(0x3f4)](){var _0x560132=_0x25b562,_0x3a1e89;(_0x3a1e89=this[_0x560132(0x426)])==null||_0x3a1e89['updateOfflineData'](this['unitID'],this[_0x560132(0x453)],null,[]);}['_showConflictNotification'](){var _0x140483=_0x25b562;this['_isPermissionRej']?this[_0x140483(0x226)][_0x140483(0x3c3)]({'id':_0x464363['PERMISSION_DENIED']}):this[_0x140483(0x226)][_0x140483(0x3c3)]({'id':_0x464363[_0x140483(0x309)]});}[_0x25b562(0x397)](){var _0x2292fa=_0x25b562;this[_0x2292fa(0x512)][_0x2292fa(0x3b2)](new _0x9200ce['WorkbookEditablePermission'](this[_0x2292fa(0x4d1)])['id'],!0x1);}},_0x2aaff0[_0x25b562(0x1b7)]=_0x37ee2d([_0x4c7843(0x6,_0x417a6f[_0x25b562(0x4c8)](_0x417a6f[_0x25b562(0x4b7)])),_0x4c7843(0x7,_0x417a6f[_0x25b562(0x37e)]),_0x4c7843(0x8,_0x417a6f[_0x25b562(0x270)]),_0x4c7843(0x9,_0x417a6f[_0x25b562(0x4c8)](_0x37c004[_0x25b562(0x2e5)])),_0x4c7843(0xa,_0x417a6f[_0x25b562(0x4c8)](_0x417a6f['LocaleService'])),_0x4c7843(0xb,_0x417a6f[_0x25b562(0x4c8)](_0x4a7f9e)),_0x4c7843(0xc,_0x417a6f[_0x25b562(0x392)](_0x2f8b36))],_0x2aaff0['ConflictState']),_0x2aaff0[_0x25b562(0x332)]=class extends _0xce1344{constructor(_0x2e1c56,_0x55ed3e,_0x2491b5,_0x5aee10,_0x5432dc,_0x58799d,_0x5b3caf,_0x3415b0,_0x2b3b2d,_0x3e2d42){var _0x50e006=_0x25b562;super(_0x2e1c56,_0x55ed3e,_0x2491b5,_0x5aee10,_0x5432dc,_0x3415b0,_0x2b3b2d,_0x5b3caf,_0x3e2d42),_0x156e65(this,_0x50e006(0x306),_0x50e006(0x304)),this['_injector']=_0x58799d;}[_0x25b562(0x43f)](_0x5236cc){var _0x44d8b7=_0x25b562;return this[_0x44d8b7(0x477)]['push'](_0x5236cc),this['_updateLocalCache'](),this;}[_0x25b562(0x4f7)](_0x35e05b){throw new Error('[OfflineState]:\x20received\x20changeset.');}['onRemoteAck'](){var _0x458ab2=_0x25b562;throw new Error(_0x458ab2(0x1e5));}[_0x25b562(0x476)](){var _0x3ed301=_0x25b562;throw new Error(_0x3ed301(0x409));}[_0x25b562(0x32b)](){return this;}['toggleOffline'](){return this;}[_0x25b562(0x375)](){var _0x2810f6=_0x25b562;const {_injector:_0x5a8907,_pendingMutations:_0x131967,_awaitingChangeset:_0x261f74,unitID:_0x4ed641,_handler:_0x5262ed,type:_0x4c8307}=this,_0x557211=_0x55d8e8(_0x5a8907,_0x4ed641,_0x4c8307,_0x261f74,_0x131967,_0x5262ed);return _0x557211 instanceof _0x2aaff0[_0x2810f6(0x4af)]?_0x557211[_0x2810f6(0x506)]():(_0x557211 instanceof _0x2aaff0[_0x2810f6(0x4e1)]||_0x557211 instanceof _0x2aaff0[_0x2810f6(0x3ce)])&&_0x557211['resend'](),_0x557211;}[_0x25b562(0x24a)](){var _0x1223f2=_0x25b562;throw new Error(_0x1223f2(0x256));}},_0x2aaff0[_0x25b562(0x332)]=_0x37ee2d([_0x4c7843(0x5,_0x417a6f[_0x25b562(0x4c8)](_0x417a6f[_0x25b562(0x2e1)])),_0x4c7843(0x6,_0x417a6f[_0x25b562(0x4c8)](_0x37c004['RevisionService'])),_0x4c7843(0x7,_0x417a6f[_0x25b562(0x37e)]),_0x4c7843(0x8,_0x417a6f[_0x25b562(0x270)]),_0x4c7843(0x9,_0x417a6f[_0x25b562(0x392)](_0x2f8b36))],_0x2aaff0[_0x25b562(0x332)]),_0x2aaff0[_0x25b562(0x4d0)]=class extends _0xce1344{constructor(_0x55c113,_0x1e1f61,_0x15a515,_0x11489b,_0x479e96,_0x1758e9,_0x3267dd,_0xf248eb,_0x10d16a,_0x37b9aa,_0x4ae92f,_0x526b39,_0x456654,_0x2b783f){var _0x54b2ae=_0x25b562;super(_0x55c113,_0x1e1f61,_0x15a515,_0x11489b,_0x3267dd,_0x4ae92f,_0x526b39,_0x10d16a,_0x2b783f),_0x156e65(this,_0x54b2ae(0x306),'fetch_missing'),(this[_0x54b2ae(0x41f)]=_0x479e96,this[_0x54b2ae(0x222)]=_0x1758e9,this[_0x54b2ae(0x495)]=_0xf248eb,this[_0x54b2ae(0x39f)]=_0x37b9aa,this[_0x54b2ae(0x244)]=_0x456654,this[_0x54b2ae(0x1fe)]=_0x2b783f);}[_0x25b562(0x2d9)](_0x7e52c7){var _0x5ef831=_0x25b562;try{const _0x52f4d9=[..._0x7e52c7,...this[_0x5ef831(0x222)]],_0x5d4b32=[this[_0x5ef831(0x251)]||this['_acknowledgedAwaitingChangeset']][_0x5ef831(0x227)](_0xfaf237=>!!_0xfaf237);let _0x3f8909,_0x1df7ba;if(_0x5d4b32[_0x5ef831(0x224)]){const _0x5de6bb=this[_0x5ef831(0x244)]['transformChangesets'](_0x52f4d9,_0x5d4b32,!0x1);if(!_0x37c004[_0x5ef831(0x340)](_0x5de6bb))throw _0x5de6bb['error'];_0x3f8909=_0x5de6bb[_0x5ef831(0x32a)],_0x1df7ba=_0x5de6bb['c2Prime'];}else _0x3f8909=_0x52f4d9,_0x1df7ba=[];let _0x35d0bf=this['_pendingMutations'];_0x3f8909['forEach'](_0x45cf90=>{var _0x16abae=_0x5ef831;let _0x280181;if(_0x35d0bf[_0x16abae(0x224)]){const _0x598239=this[_0x16abae(0x244)][_0x16abae(0x2c0)](_0x45cf90,_0x35d0bf);if(!_0x37c004[_0x16abae(0x2e2)](_0x598239))throw _0x598239[_0x16abae(0x3e4)];_0x280181=_0x598239['c1Prime'],_0x35d0bf=_0x598239[_0x16abae(0x2bb)];}else _0x280181=_0x45cf90;this['_executeRemoteChangeset'](_0x280181);}),this[_0x5ef831(0x41f)]&&this['_incrementRevisionNumber'](),this[_0x5ef831(0x251)]&&_0x1df7ba[_0x5ef831(0x224)]&&(_0x1df7ba[0x0]['baseRev']=this[_0x5ef831(0x1dd)]());let _0x383d4b;if(this[_0x5ef831(0x251)]&&_0x35d0bf[_0x5ef831(0x224)]!==0x0)_0x383d4b=this['_injector']['createInstance'](_0x2aaff0['AwaitingWithPendingState'],this['unitID'],this['type'],_0x1df7ba[0x0],_0x35d0bf,this['_handler'],void 0x0);else{if(this[_0x5ef831(0x251)]&&_0x35d0bf[_0x5ef831(0x224)]===0x0)_0x1df7ba[0x0][_0x5ef831(0x489)]=this[_0x5ef831(0x1dd)](),_0x383d4b=this[_0x5ef831(0x495)][_0x5ef831(0x2f9)](_0x2aaff0['AwaitingState'],this[_0x5ef831(0x4d1)],this['type'],_0x1df7ba[0x0],this[_0x5ef831(0x2ef)]);else{if(_0x35d0bf[_0x5ef831(0x224)]!==0x0){const _0x414d93=this[_0x5ef831(0x495)][_0x5ef831(0x2f9)](_0x2aaff0[_0x5ef831(0x4af)],this[_0x5ef831(0x4d1)],this[_0x5ef831(0x453)],_0x35d0bf,this[_0x5ef831(0x2ef)]);_0x414d93['_schedule'](),_0x383d4b=_0x414d93;}else _0x383d4b=this[_0x5ef831(0x495)][_0x5ef831(0x2f9)](_0x2aaff0[_0x5ef831(0x2e0)],this[_0x5ef831(0x4d1)],this[_0x5ef831(0x453)],this['_handler']);}}return _0x383d4b[_0x5ef831(0x434)](),_0x383d4b;}catch(_0x48e355){return this[_0x5ef831(0x39f)]['error'](_0x5ef831(0x45e),_0x5ef831(0x1ad),_0x48e355),this[_0x5ef831(0x495)][_0x5ef831(0x2f9)](_0x2aaff0[_0x5ef831(0x1b7)],this[_0x5ef831(0x4d1)],this['type'],this[_0x5ef831(0x251)],this[_0x5ef831(0x477)],this['_handler'],!0x1);}}['resend'](){var _0x1e85d6=_0x25b562;throw new Error(_0x1e85d6(0x1af));}[_0x25b562(0x43f)](_0x549822){var _0x1d40a6=_0x25b562;return this[_0x1d40a6(0x477)][_0x1d40a6(0x2d7)](_0x549822),this;}[_0x25b562(0x4f7)](_0x3f3186){var _0x52538c=_0x25b562;return this['_queuedRemoteChangesets'][_0x52538c(0x2d7)](_0x3f3186),this;}[_0x25b562(0x51b)](_0x4ffa2e){var _0x17a4d8=_0x25b562;if(this[_0x17a4d8(0x251)])return this[_0x17a4d8(0x41f)]=this[_0x17a4d8(0x251)],this[_0x17a4d8(0x251)]=null,this;throw new Error(_0x17a4d8(0x3da));}['onRemoteRej'](_0x20a07c){var _0x44aa3d=_0x25b562;return this[_0x44aa3d(0x1d6)](!!(_0x20a07c!=null&&_0x20a07c[_0x44aa3d(0x3d4)]));}[_0x25b562(0x32b)](){return this;}[_0x25b562(0x21e)](){var _0x2d9694=_0x25b562;return this[_0x2d9694(0x495)][_0x2d9694(0x2f9)](_0x2aaff0[_0x2d9694(0x332)],this[_0x2d9694(0x4d1)],this['type'],this[_0x2d9694(0x251)],this[_0x2d9694(0x477)],this[_0x2d9694(0x2ef)]);}[_0x25b562(0x375)](){return this;}[_0x25b562(0x1d6)](_0x218588){var _0x1411cb=_0x25b562;return this['_injector'][_0x1411cb(0x2f9)](_0x2aaff0['ConflictState'],this[_0x1411cb(0x4d1)],this[_0x1411cb(0x453)],this[_0x1411cb(0x251)],this['_pendingMutations'],this[_0x1411cb(0x2ef)],_0x218588);}},_0x2aaff0[_0x25b562(0x4d0)]=_0x37ee2d([_0x4c7843(0x7,_0x417a6f['Inject'](_0x417a6f[_0x25b562(0x2e1)])),_0x4c7843(0x8,_0x417a6f[_0x25b562(0x4c8)](_0x37c004[_0x25b562(0x2e5)])),_0x4c7843(0x9,_0x417a6f[_0x25b562(0x418)]),_0x4c7843(0xa,_0x417a6f['ICommandService']),_0x4c7843(0xb,_0x417a6f['IUndoRedoService']),_0x4c7843(0xc,_0x37c004[_0x25b562(0x3e1)]),_0x4c7843(0xd,_0x417a6f[_0x25b562(0x392)](_0x2f8b36))],_0x2aaff0['FetchingMissState']);function _0x55d8e8(_0x4be142,_0x343022,_0x1a3de1,_0x4fb49e,_0x3c73c3,_0x46fee3){var _0x54e009=_0x25b562;return _0x4fb49e&&_0x3c73c3['length']?_0x4be142[_0x54e009(0x2f9)](_0x2aaff0[_0x54e009(0x4e1)],_0x343022,_0x1a3de1,_0x4fb49e,_0x3c73c3,_0x46fee3,void 0x0):_0x4fb49e?_0x4be142[_0x54e009(0x2f9)](_0x2aaff0[_0x54e009(0x3ce)],_0x343022,_0x1a3de1,_0x4fb49e,_0x46fee3):_0x3c73c3[_0x54e009(0x224)]?_0x4be142[_0x54e009(0x2f9)](_0x2aaff0[_0x54e009(0x4af)],_0x343022,_0x1a3de1,_0x3c73c3,_0x46fee3):_0x4be142['createInstance'](_0x2aaff0[_0x54e009(0x2e0)],_0x343022,_0x1a3de1,_0x46fee3);}var _0x11813e=Object[_0x25b562(0x459)],_0x3e8012=(_0x423116,_0x2c4466,_0x3c1f09,_0x118f47)=>{for(var _0xd13d22=_0x118f47>0x1?void 0x0:_0x118f47?_0x11813e(_0x2c4466,_0x3c1f09):_0x2c4466,_0x72b4d2=_0x423116['length']-0x1,_0x2a22a8;_0x72b4d2>=0x0;_0x72b4d2--)(_0x2a22a8=_0x423116[_0x72b4d2])&&(_0xd13d22=_0x2a22a8(_0xd13d22)||_0xd13d22);return _0xd13d22;},_0xfbb4d3=(_0x2e8368,_0x563b0b)=>(_0x371560,_0x253f1e)=>_0x563b0b(_0x371560,_0x253f1e,_0x2e8368);_0x2aaff0[_0x25b562(0x4db)]=class extends _0x417a6f[_0x25b562(0x474)]{constructor(_0x503c5f,_0x42cea3,_0x4ae972,_0x5e444f,_0x10d556,_0x3bda95,_0x5b3908,_0x3706d5,_0x351f4f,_0x1362d4,_0xc86b6b,_0x5599ad,_0x3ed71f){var _0x5d0957=_0x25b562;super(),_0x156e65(this,_0x5d0957(0x37c),new _0x392915[(_0x5d0957(0x4f6))](null)),_0x156e65(this,_0x5d0957(0x1cd),this[_0x5d0957(0x37c)]['asObservable']()),_0x156e65(this,_0x5d0957(0x486)),_0x156e65(this,_0x5d0957(0x2fe),!0x1),_0x156e65(this,'_changesetSessionId',''),_0x156e65(this,_0x5d0957(0x4d7),0x0),_0x156e65(this,'status$',this[_0x5d0957(0x1cd)]['pipe'](_0x392915['map'](_0x2f6e59=>_0x2f6e59?_0x2f6e59[_0x5d0957(0x306)]:_0x3bb83a['OFFLINE']),_0x392915[_0x5d0957(0x2b6)](0x1))),_0x156e65(this,'_transitionLocked',!0x1),_0x156e65(this,'_remoteChangesetQueue',[]),(this[_0x5d0957(0x4d1)]=_0x503c5f,this[_0x5d0957(0x1c2)]=_0x42cea3,this['_type']=_0x4ae972,this[_0x5d0957(0x495)]=_0x5e444f,this[_0x5d0957(0x267)]=_0x10d556,this[_0x5d0957(0x369)]=_0x3bda95,this[_0x5d0957(0x4a5)]=_0x5b3908,this[_0x5d0957(0x388)]=_0x3706d5,this[_0x5d0957(0x39f)]=_0x351f4f,this[_0x5d0957(0x30f)]=_0x1362d4,this['_permissionService']=_0xc86b6b,this[_0x5d0957(0x1f4)]=_0x5599ad,this[_0x5d0957(0x426)]=_0x3ed71f);}get[_0x25b562(0x3ae)](){var _0xfd28c8=_0x25b562;return this[_0xfd28c8(0x486)];}async['init'](){var _0xebc4c2=_0x25b562;if(this[_0xebc4c2(0x3ae)])throw new Error(_0xebc4c2(0x275));await this[_0xebc4c2(0x4fd)]();}[_0x25b562(0x500)](){var _0x35e1e5=_0x25b562;return this[_0x35e1e5(0x2fe)]=!0x0,_0x417a6f[_0x35e1e5(0x4ad)](()=>{this['_collaborationPaused']=!0x1,this['_exhaustRemoteChangesetQueue']();});}['onLocalMutation'](_0x4dae8e){var _0x5ee9e0=_0x25b562;this[_0x5ee9e0(0x1ed)](_0x4dae8e);}['_updateState'](_0x360edf){var _0x4d38f4=_0x25b562;this[_0x4d38f4(0x486)]=_0x360edf,this[_0x4d38f4(0x37c)]['next'](_0x360edf);}async[_0x25b562(0x4fd)](){var _0x2df375=_0x25b562,_0x219074;this[_0x2df375(0x2bc)](await this['_createInitialState']()),this[_0x2df375(0x1f4)]&&((_0x219074=this[_0x2df375(0x1f4)])==null||_0x219074[_0x2df375(0x523)](this[_0x2df375(0x4d1)]),this['disposeWithMe'](this[_0x2df375(0x1f4)]['getUnitStatus$'](this[_0x2df375(0x4d1)])['subscribe'](_0x1e162c=>{var _0x129fd3=_0x2df375;this['_logService'][_0x129fd3(0x3bd)](_0x129fd3(0x48b),_0x129fd3(0x2b8),_0x1e162c),_0x1e162c===_0x32fed4[_0x129fd3(0x2fa)]?(this['_eventService'][_0x129fd3(0x3c3)]({'id':_0x464363[_0x129fd3(0x4bf)]}),this['_permissionService'][_0x129fd3(0x3b2)](new _0x9200ce[(_0x129fd3(0x289))](this[_0x129fd3(0x4d1)])['id'],!0x1),this[_0x129fd3(0x512)][_0x129fd3(0x437)](!0x1)):(this[_0x129fd3(0x512)][_0x129fd3(0x3b2)](new _0x9200ce[(_0x129fd3(0x289))](this[_0x129fd3(0x4d1)])['id'],!0x0),this[_0x129fd3(0x512)]['setShowComponents'](!0x0));})));let _0x402f17=!0x1;return this[_0x2df375(0x48e)](this[_0x2df375(0x1c2)]['sessionStatus$']['subscribe'](_0x552442=>{var _0x3b29c8=_0x2df375;_0x552442===_0xbf0130[_0x3b29c8(0x472)]?this['_toggleOnline'](_0x402f17):_0x552442===_0xbf0130[_0x3b29c8(0x279)]&&(_0x402f17=!0x0,this[_0x3b29c8(0x286)]());})),this[_0x2df375(0x48e)](this[_0x2df375(0x1c2)][_0x2df375(0x1d8)][_0x2df375(0x22e)](_0x20ea96=>{var _0x5d3f64=_0x2df375;try{switch(_0x20ea96[_0x5d3f64(0x43b)]){case _0x37c004[_0x5d3f64(0x207)][_0x5d3f64(0x205)]:{this[_0x5d3f64(0x4ac)](_0x37c004[_0x5d3f64(0x4f4)](_0x20ea96[_0x5d3f64(0x21f)]));break;}case _0x37c004[_0x5d3f64(0x207)]['CHANGESET_ACK']:{this[_0x5d3f64(0x4d5)](_0x20ea96['data']);break;}case _0x37c004[_0x5d3f64(0x207)][_0x5d3f64(0x436)]:{this[_0x5d3f64(0x34e)]();break;}case _0x37c004[_0x5d3f64(0x207)]['CHANGESET_SHOULD_RETRY']:{this[_0x5d3f64(0x4d4)](_0x20ea96[_0x5d3f64(0x21f)]);break;}case _0x37c004[_0x5d3f64(0x207)][_0x5d3f64(0x20f)]:{this[_0x5d3f64(0x412)](_0x20ea96[_0x5d3f64(0x21f)][_0x5d3f64(0x3fc)][_0x5d3f64(0x1bc)](_0x2015b4=>_0x37c004[_0x5d3f64(0x4f4)](_0x2015b4)));break;}case _0x37c004[_0x5d3f64(0x207)][_0x5d3f64(0x4de)]:{this[_0x5d3f64(0x34e)]({'isPermissionRej':!0x0});break;}case _0x37c004[_0x5d3f64(0x207)][_0x5d3f64(0x36b)]:break;}}catch(_0x745963){throw console[_0x5d3f64(0x3e4)](_0x5d3f64(0x330),_0x745963),_0x745963;}})),this[_0x2df375(0x486)];}[_0x25b562(0x266)](){var _0x365e5a=_0x25b562;this[_0x365e5a(0x1f8)]=!0x1;}[_0x25b562(0x510)](){var _0x23595a=_0x25b562;if(this['_transitionLocked'])throw new Error(_0x23595a(0x1d2));this[_0x23595a(0x1f8)]=!0x0;}['_onLocalMutation'](_0x5c6e98){var _0x2d255e=_0x25b562;this[_0x2d255e(0x510)](),this[_0x2d255e(0x2bc)](this[_0x2d255e(0x486)][_0x2d255e(0x43f)](_0x5c6e98)),this[_0x2d255e(0x266)]();}[_0x25b562(0x4ac)](_0x3ba532){var _0x5ccfb8=_0x25b562;if(!(_0x3ba532[_0x5ccfb8(0x363)]<=this['_revisionService'][_0x5ccfb8(0x45d)](this[_0x5ccfb8(0x4d1)]))){if(this[_0x5ccfb8(0x2fe)]){this[_0x5ccfb8(0x3ee)][_0x5ccfb8(0x2d7)](_0x3ba532);return;}this['_applyRemoteChangeset'](_0x3ba532);}}[_0x25b562(0x367)](){var _0x170a36=_0x25b562;this[_0x170a36(0x3ee)][_0x170a36(0x34b)](_0x46fe3a=>this[_0x170a36(0x3a8)](_0x46fe3a)),this['_remoteChangesetQueue']=[];}[_0x25b562(0x3a8)](_0x5b05a2){var _0x42b20e=_0x25b562;const _0x48c31e=this[_0x42b20e(0x267)]['interceptor'][_0x42b20e(0x4ca)](this['_compressMutationService'][_0x42b20e(0x531)]['getInterceptPoints']()[_0x42b20e(0x381)])(_0x5b05a2['mutations'],null)||_0x5b05a2['mutations'],_0x402beb={..._0x5b05a2,'mutations':_0x48c31e};this['_lockTransition'](),this[_0x42b20e(0x2bc)](this[_0x42b20e(0x486)][_0x42b20e(0x4f7)](_0x402beb)),this[_0x42b20e(0x266)]();}[_0x25b562(0x4d5)](_0x4bbeee){var _0x11a24c=_0x25b562;this[_0x11a24c(0x510)](),this[_0x11a24c(0x2bc)](this[_0x11a24c(0x486)][_0x11a24c(0x51b)](_0x4bbeee)),this[_0x11a24c(0x266)]();}[_0x25b562(0x34e)](_0x2114ad){var _0x3dc983=_0x25b562;this[_0x3dc983(0x510)](),this[_0x3dc983(0x2bc)](this[_0x3dc983(0x486)]['onRemoteRej'](_0x2114ad)),this[_0x3dc983(0x266)]();}[_0x25b562(0x4d4)](_0x4e1c6c){var _0x520d78=_0x25b562;this['_lockTransition'](),this[_0x520d78(0x2bc)](this[_0x520d78(0x486)][_0x520d78(0x32b)](_0x4e1c6c)),this[_0x520d78(0x266)]();}[_0x25b562(0x412)](_0x598f02){var _0x3fe1ca=_0x25b562;if(!(this['_state']instanceof _0x2aaff0[_0x3fe1ca(0x4d0)]))throw new TypeError(_0x3fe1ca(0x350));const _0x4dfb23=_0x598f02[_0x3fe1ca(0x1bc)](_0x1db15b=>{var _0x2cf05e=_0x3fe1ca;const _0x1667e7=this['_compressMutationService'][_0x2cf05e(0x531)]['fetchThroughInterceptors'](this[_0x2cf05e(0x267)][_0x2cf05e(0x531)][_0x2cf05e(0x30b)]()[_0x2cf05e(0x381)])(_0x1db15b[_0x2cf05e(0x211)],null)||_0x1db15b['mutations'];return{..._0x1db15b,'mutations':_0x1667e7};});this[_0x3fe1ca(0x510)](),this[_0x3fe1ca(0x2bc)](this['_state']['onMissedChangesetFetched'](_0x4dfb23)),this[_0x3fe1ca(0x266)]();}[_0x25b562(0x286)](){var _0x290ee7=_0x25b562;this[_0x290ee7(0x510)](),this[_0x290ee7(0x2bc)](this[_0x290ee7(0x486)][_0x290ee7(0x21e)]()),this[_0x290ee7(0x266)]();}[_0x25b562(0x414)](_0x4b4eb7=!0x1){var _0x207d35=_0x25b562;this[_0x207d35(0x510)](),this[_0x207d35(0x2bc)](this['_state']['toggleOnline']()),this['_unlockTransition']();const _0xdd6d8d=this['_state'];_0x4b4eb7&&_0xdd6d8d instanceof _0x2aaff0[_0x207d35(0x2e0)]&&(this[_0x207d35(0x510)](),this[_0x207d35(0x2bc)](_0xdd6d8d['fetchMiss']()),this[_0x207d35(0x266)]());}async[_0x25b562(0x37b)](){return new Promise(_0x3369d0=>{var _0xe08bfb=_0x1012;this['session'][_0xe08bfb(0x533)][_0xe08bfb(0x498)](_0x392915['take'](0x1))[_0xe08bfb(0x22e)](async _0x1e76a8=>{var _0x5693d9=_0xe08bfb;_0x3369d0(await this[_0x5693d9(0x368)](_0x1e76a8===_0xbf0130[_0x5693d9(0x472)]));});});}['_createHandler'](){var _0x3c1251=_0x25b562;const _0x3ce328=this[_0x3c1251(0x4d1)];return{'onStateChange':(_0x5ba0c5,_0x14436d)=>{var _0x35465d=_0x3c1251;if(_0x5ba0c5!==this['_state'])throw new Error('[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20'+_0x5ba0c5[_0x35465d(0x306)]+_0x35465d(0x219)+_0x14436d[_0x35465d(0x306)]+_0x35465d(0x28a)+this['_state'][_0x35465d(0x306)]);this['_updateState'](_0x14436d);},'onSendChangeset':_0x40b49a=>{var _0x40ecbf=_0x3c1251;_0x40b49a[_0x40ecbf(0x299)]||(_0x40b49a[_0x40ecbf(0x299)]=this[_0x40ecbf(0x331)],_0x40b49a[_0x40ecbf(0x40b)]=++this['_changesetReqId']);const _0x193ab0={'eventID':_0x37c004[_0x40ecbf(0x207)]['SUBMIT_CHANGESET'],'data':{'unitID':_0x40b49a['unitID'],'unitType':this['_type'],'changeset':_0x40b49a,'memberID':this[_0x40ecbf(0x1c2)][_0x40ecbf(0x303)]()}};this['session'][_0x40ecbf(0x232)](_0x193ab0,this[_0x40ecbf(0x4d1)]);},'onMissingChangesets':({from:_0x374521,to:_0x2d37b9})=>{var _0x5702ae=_0x3c1251;this[_0x5702ae(0x39f)][_0x5702ae(0x3bd)]('[CollaborationEntity]',_0x5702ae(0x50c)+_0x374521+_0x5702ae(0x29c)+_0x2d37b9);const _0x1f10bc={'eventID':_0x37c004['CollaborationEvent']['FETCH_MISSING'],'data':{'unitID':_0x3ce328,'unitType':this[_0x5702ae(0x40e)],'from':_0x374521,'to':_0x2d37b9}};this[_0x5702ae(0x1c2)][_0x5702ae(0x232)](_0x1f10bc,this['unitID']);}};}async[_0x25b562(0x368)](_0x235ccf){var _0x37c6f4=_0x25b562,_0xb5db71,_0x1528a4,_0x2b970a;const _0xa62ffb=await((_0xb5db71=this['_localCacheService'])==null?void 0x0:_0xb5db71['loadOfflineData'](this[_0x37c6f4(0x4d1)])),_0x27d35f=(_0x1528a4=_0xa62ffb==null?void 0x0:_0xa62ffb[_0x37c6f4(0x211)])!=null?_0x1528a4:[],_0x1cd5f0=(_0x2b970a=_0xa62ffb==null?void 0x0:_0xa62ffb[_0x37c6f4(0x1b0)])!=null?_0x2b970a:null,_0x226c70=!!(_0x1cd5f0!=null&&_0x1cd5f0['sid'])&&!!(_0x1cd5f0!=null&&_0x1cd5f0[_0x37c6f4(0x40b)]);this[_0x37c6f4(0x331)]=_0x226c70?_0x1cd5f0[_0x37c6f4(0x299)]:_0x11ae8c(),this[_0x37c6f4(0x4d7)]=_0x226c70?_0x1cd5f0[_0x37c6f4(0x40b)]:0x0;const _0x36bf61=this[_0x37c6f4(0x4d1)];try{this[_0x37c6f4(0x530)](_0x1cd5f0,_0x27d35f);}catch(_0x2542cd){this['_logService'][_0x37c6f4(0x3e4)](_0x2542cd);}const _0x264b47=this[_0x37c6f4(0x2fd)]();if(_0x235ccf){const _0x26b4ad=_0x55d8e8(this[_0x37c6f4(0x495)],_0x36bf61,this['_type'],_0x1cd5f0,_0x27d35f,_0x264b47);return _0x26b4ad instanceof _0x2aaff0[_0x37c6f4(0x4af)]?_0x26b4ad[_0x37c6f4(0x506)]():(_0x26b4ad instanceof _0x2aaff0[_0x37c6f4(0x4e1)]||_0x26b4ad instanceof _0x2aaff0['AwaitingState'])&&_0x26b4ad['resend'](),_0x26b4ad;}return this[_0x37c6f4(0x495)][_0x37c6f4(0x2f9)](_0x2aaff0['OfflineState'],_0x36bf61,this['_type'],_0x1cd5f0,_0x27d35f,_0x264b47);}[_0x25b562(0x530)](_0xbe8162,_0x1d8f4a){var _0x470d4d=_0x25b562,_0x1562be,_0x1c4852;const _0x12c8bd=this['_compressMutationService'][_0x470d4d(0x531)]['fetchThroughInterceptors'](this[_0x470d4d(0x267)]['interceptor']['getInterceptPoints']()[_0x470d4d(0x381)]);(_0x1562be=_0x12c8bd((_0xbe8162==null?void 0x0:_0xbe8162['mutations'])||[],null))==null||_0x1562be[_0x470d4d(0x34b)](_0x2b1fa7=>this['_commandService'][_0x470d4d(0x35c)](_0x2b1fa7['id'],_0x2b1fa7[_0x470d4d(0x339)])),(_0x1c4852=_0x12c8bd(_0x1d8f4a||[],null))==null||_0x1c4852['forEach'](_0x2ea44e=>this[_0x470d4d(0x30f)]['executeCommand'](_0x2ea44e['id'],_0x2ea44e[_0x470d4d(0x339)]));}},_0x2aaff0[_0x25b562(0x4db)]=_0x3e8012([_0xfbb4d3(0x3,_0x417a6f[_0x25b562(0x4c8)](_0x417a6f['Injector'])),_0xfbb4d3(0x4,_0x417a6f[_0x25b562(0x4c8)](_0x37c004['CompressMutationService'])),_0xfbb4d3(0x5,_0x417a6f[_0x25b562(0x4c8)](_0x417a6f['LocaleService'])),_0xfbb4d3(0x6,_0x417a6f[_0x25b562(0x4c8)](_0x37c004[_0x25b562(0x2e5)])),_0xfbb4d3(0x7,_0x417a6f['Inject'](_0x4a7f9e)),_0xfbb4d3(0x8,_0x417a6f[_0x25b562(0x418)]),_0xfbb4d3(0x9,_0x417a6f['ICommandService']),_0xfbb4d3(0xa,_0x417a6f[_0x25b562(0x4b7)]),_0xfbb4d3(0xb,_0x417a6f[_0x25b562(0x392)](_0x5896bd)),_0xfbb4d3(0xc,_0x417a6f[_0x25b562(0x392)](_0x2f8b36))],_0x2aaff0[_0x25b562(0x4db)]),_0x2aaff0[_0x25b562(0x39e)]=class extends _0x2aaff0[_0x25b562(0x4db)]{constructor(_0x387765,_0x1c0bef,_0x3101c2,_0x52ef10,_0x268c25,_0x4349d3,_0x420608,_0x5ab564,_0x202395,_0x384526,_0x77a9e6,_0x3910ba,_0x3b48f4){var _0x13e302=_0x25b562;super(_0x387765,_0x3101c2,_0x1c0bef,_0x52ef10,_0x268c25,_0x4349d3,_0x420608,_0x5ab564,_0x202395,_0x384526,_0x77a9e6,_0x3910ba,_0x3b48f4),_0x156e65(this,'_handlerCallback',null),(this[_0x13e302(0x4d1)]=_0x387765,this[_0x13e302(0x453)]=_0x1c0bef);}[_0x25b562(0x4c0)](_0x270f4f){var _0x3f23d3=_0x25b562;this[_0x3f23d3(0x1f9)]=_0x270f4f;}[_0x25b562(0x539)](){var _0x5b8537=_0x25b562;this[_0x5b8537(0x1f9)]=null,super[_0x5b8537(0x539)]();}[_0x25b562(0x2fd)](){var _0xb2b208=_0x25b562;const _0x444153=super['_createHandler']();return _0x444153[_0xb2b208(0x1c9)]=_0x4fd5a3=>{var _0x23f925=_0xb2b208,_0x4861d7,_0x24b5ea;return(_0x24b5ea=(_0x4861d7=this[_0x23f925(0x1f9)])==null?void 0x0:_0x4861d7['onTransformIME'])==null?void 0x0:_0x24b5ea[_0x23f925(0x29a)](_0x4861d7,_0x4fd5a3);},_0x444153[_0xb2b208(0x470)]=_0x7d1293=>{var _0x14b34c=_0xb2b208,_0x5195e9,_0x1dfbde;return(_0x1dfbde=(_0x5195e9=this[_0x14b34c(0x1f9)])==null?void 0x0:_0x5195e9[_0x14b34c(0x470)])==null?void 0x0:_0x1dfbde[_0x14b34c(0x29a)](_0x5195e9,_0x7d1293);},_0x444153['onTransformSelections']=_0x5da70b=>{var _0x48b930=_0xb2b208,_0x32e908,_0x4679eb;return(_0x4679eb=(_0x32e908=this[_0x48b930(0x1f9)])==null?void 0x0:_0x32e908[_0x48b930(0x469)])==null?void 0x0:_0x4679eb[_0x48b930(0x29a)](_0x32e908,_0x5da70b);},_0x444153[_0xb2b208(0x440)]=_0x239ddb=>{var _0x5e59b2=_0xb2b208,_0x42a22a,_0x295588;return(_0x295588=(_0x42a22a=this[_0x5e59b2(0x1f9)])==null?void 0x0:_0x42a22a[_0x5e59b2(0x440)])==null?void 0x0:_0x295588['call'](_0x42a22a,_0x239ddb);},_0x444153[_0xb2b208(0x3e8)]=_0x416885=>{var _0x1407ef=_0xb2b208,_0x22eb0b,_0x201f2a,_0xf8f988;if(!((_0x22eb0b=this[_0x1407ef(0x1f9)])!=null&&_0x22eb0b[_0x1407ef(0x3e8)]))throw new Error('onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.');return(_0xf8f988=(_0x201f2a=this[_0x1407ef(0x1f9)])==null?void 0x0:_0x201f2a['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0xf8f988[_0x1407ef(0x29a)](_0x201f2a,_0x416885);},_0x444153[_0xb2b208(0x241)]=_0x42ba33=>{var _0x55b660=_0xb2b208,_0x1d4434,_0x1f8a86,_0x26e8bd;if(!((_0x1d4434=this[_0x55b660(0x1f9)])!=null&&_0x1d4434[_0x55b660(0x241)]))throw new Error(_0x55b660(0x46a));return(_0x26e8bd=(_0x1f8a86=this[_0x55b660(0x1f9)])==null?void 0x0:_0x1f8a86['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x26e8bd[_0x55b660(0x29a)](_0x1f8a86,_0x42ba33);},_0x444153;}async[_0x25b562(0x4fd)](){var _0xae0af5=_0x25b562;const _0x903c80=await super['_init']();return this['disposeWithMe'](this[_0xae0af5(0x30f)][_0xae0af5(0x2a4)]((_0x1600e,_0x3b9dd0)=>{var _0x2abbff=_0xae0af5;if(_0x1600e[_0x2abbff(0x453)]!==_0x417a6f[_0x2abbff(0x466)]['MUTATION']||_0x3b9dd0!=null&&_0x3b9dd0[_0x2abbff(0x490)]||_0x3b9dd0!=null&&_0x3b9dd0[_0x2abbff(0x31d)]||_0x1600e['id']===_0x4229aa[_0x2abbff(0x27f)]['id'])return;const _0x4c7381=_0x1600e[_0x2abbff(0x339)];if((_0x4c7381==null?void 0x0:_0x4c7381[_0x2abbff(0x465)])!==this['unitID'])return;const _0x33a9f3=_0x1600e,_0x4aab89=this[_0x2abbff(0x267)][_0x2abbff(0x531)][_0x2abbff(0x4ca)](this[_0x2abbff(0x267)]['interceptor'][_0x2abbff(0x30b)]()[_0x2abbff(0x38e)])([_0x33a9f3],null)||[_0x33a9f3];this[_0x2abbff(0x1ed)](_0x4aab89[0x0]);})),_0x903c80;}},_0x2aaff0[_0x25b562(0x39e)]=_0x3e8012([_0xfbb4d3(0x3,_0x417a6f['Inject'](_0x417a6f['Injector'])),_0xfbb4d3(0x4,_0x417a6f[_0x25b562(0x4c8)](_0x37c004['CompressMutationService'])),_0xfbb4d3(0x5,_0x417a6f[_0x25b562(0x4c8)](_0x417a6f[_0x25b562(0x345)])),_0xfbb4d3(0x6,_0x417a6f[_0x25b562(0x4c8)](_0x37c004[_0x25b562(0x2e5)])),_0xfbb4d3(0x7,_0x417a6f['Inject'](_0x4a7f9e)),_0xfbb4d3(0x8,_0x417a6f[_0x25b562(0x418)]),_0xfbb4d3(0x9,_0x417a6f['ICommandService']),_0xfbb4d3(0xa,_0x417a6f['IPermissionService']),_0xfbb4d3(0xb,_0x417a6f[_0x25b562(0x392)](_0x5896bd)),_0xfbb4d3(0xc,_0x417a6f[_0x25b562(0x392)](_0x2f8b36))],_0x2aaff0[_0x25b562(0x39e)]),_0x2aaff0[_0x25b562(0x288)]=class extends _0x2aaff0[_0x25b562(0x4db)]{constructor(_0x54f536,_0x5b88f5,_0x5b57b7,_0x4a5788,_0x248f3a,_0x1a9fd7,_0x34b4cd,_0x226a83,_0x82dcc1,_0x4e5bf5,_0x591b7b,_0x3c1666,_0x587e64,_0xcabb74){var _0x14a1df=_0x25b562;super(_0x54f536,_0x5b57b7,_0x5b88f5,_0x4a5788,_0x248f3a,_0x1a9fd7,_0x34b4cd,_0x82dcc1,_0x4e5bf5,_0x591b7b,_0x3c1666,_0x587e64,_0xcabb74),this[_0x14a1df(0x4d1)]=_0x54f536,this[_0x14a1df(0x453)]=_0x5b88f5,this[_0x14a1df(0x4f3)]=_0x226a83;}[_0x25b562(0x2fd)](){var _0x45ed07=_0x25b562;const _0x48664e=super['_createHandler']();return _0x48664e[_0x45ed07(0x469)]=_0xb3e08e=>this[_0x45ed07(0x4f3)]['transformSelections'](_0xb3e08e),_0x48664e;}async[_0x25b562(0x4fd)](){var _0x26d779=_0x25b562;const _0x3293ed=await super[_0x26d779(0x4fd)]();return this['disposeWithMe'](this['_commandService'][_0x26d779(0x2a4)]((_0x1535f1,_0x287052)=>{var _0x52371f=_0x26d779;if(_0x1535f1[_0x52371f(0x453)]!==_0x417a6f[_0x52371f(0x466)][_0x52371f(0x41e)]||_0x287052!=null&&_0x287052[_0x52371f(0x490)]||_0x287052!=null&&_0x287052[_0x52371f(0x31d)])return;const _0x407219=_0x1535f1['params'];if((_0x407219==null?void 0x0:_0x407219[_0x52371f(0x465)])!==this[_0x52371f(0x4d1)])return;const _0x5d9806=_0x1535f1,_0x29f533=this['_compressMutationService'][_0x52371f(0x531)][_0x52371f(0x4ca)](this[_0x52371f(0x267)][_0x52371f(0x531)][_0x52371f(0x30b)]()[_0x52371f(0x38e)])([_0x5d9806],null)||[_0x5d9806];this['_onLocalMutation'](_0x29f533[0x0]);})),_0x3293ed;}},_0x2aaff0[_0x25b562(0x288)]=_0x3e8012([_0xfbb4d3(0x3,_0x417a6f[_0x25b562(0x4c8)](_0x417a6f[_0x25b562(0x2e1)])),_0xfbb4d3(0x4,_0x417a6f[_0x25b562(0x4c8)](_0x37c004[_0x25b562(0x411)])),_0xfbb4d3(0x5,_0x417a6f[_0x25b562(0x4c8)](_0x417a6f[_0x25b562(0x345)])),_0xfbb4d3(0x6,_0x417a6f['Inject'](_0x37c004[_0x25b562(0x2e5)])),_0xfbb4d3(0x7,_0x417a6f['Inject'](_0x2aaff0[_0x25b562(0x319)])),_0xfbb4d3(0x8,_0x417a6f[_0x25b562(0x4c8)](_0x4a7f9e)),_0xfbb4d3(0x9,_0x417a6f[_0x25b562(0x418)]),_0xfbb4d3(0xa,_0x417a6f[_0x25b562(0x37e)]),_0xfbb4d3(0xb,_0x417a6f[_0x25b562(0x4b7)]),_0xfbb4d3(0xc,_0x417a6f['Optional'](_0x5896bd)),_0xfbb4d3(0xd,_0x417a6f[_0x25b562(0x392)](_0x2f8b36))],_0x2aaff0[_0x25b562(0x288)]);var _0xbbbebb=Object[_0x25b562(0x459)],_0x6ad262=(_0x3b2704,_0x5bf786,_0x3af51a,_0xb2730c)=>{var _0x555261=_0x25b562;for(var _0x3841c0=_0xb2730c>0x1?void 0x0:_0xb2730c?_0xbbbebb(_0x5bf786,_0x3af51a):_0x5bf786,_0x37733a=_0x3b2704[_0x555261(0x224)]-0x1,_0x2a5658;_0x37733a>=0x0;_0x37733a--)(_0x2a5658=_0x3b2704[_0x37733a])&&(_0x3841c0=_0x2a5658(_0x3841c0)||_0x3841c0);return _0x3841c0;},_0x38c66d=(_0x577c31,_0x2f2ed3)=>(_0x5849a6,_0x4c2e1e)=>_0x2f2ed3(_0x5849a6,_0x4c2e1e,_0x577c31);_0x2aaff0[_0x25b562(0x23e)]=class extends _0x417a6f[_0x25b562(0x474)]{constructor(_0x26aa78,_0x1d40d8,_0x5b65ba){var _0x1f360e=_0x25b562;super(),_0x156e65(this,_0x1f360e(0x4cb),new Map()),_0x156e65(this,_0x1f360e(0x37f),new _0x392915[(_0x1f360e(0x47e))]()),_0x156e65(this,'entityInit$',this['_entityInit$']['asObservable']()),(this['_injector']=_0x26aa78,this[_0x1f360e(0x2c1)]=_0x1d40d8,this[_0x1f360e(0x452)]=_0x5b65ba,this[_0x1f360e(0x4fd)]());}[_0x25b562(0x539)](){var _0x418e3d=_0x25b562;super[_0x418e3d(0x539)](),this[_0x418e3d(0x4cb)]['forEach'](_0x501305=>_0x501305[_0x418e3d(0x539)]()),this[_0x418e3d(0x4cb)][_0x418e3d(0x298)]();}[_0x25b562(0x1fc)](_0x52abe8){var _0x384a21=_0x25b562,_0x5d7347;return(_0x5d7347=this[_0x384a21(0x4cb)]['get'](_0x52abe8))!=null?_0x5d7347:null;}['getCollabEntity$'](_0x40a5ba){var _0x1c1082=_0x25b562;const _0x26e841=this[_0x1c1082(0x1fc)](_0x40a5ba);return _0x26e841?_0x392915['of'](_0x26e841):this[_0x1c1082(0x37f)][_0x1c1082(0x498)](_0x49bc81['filter'](_0x2ee073=>_0x2ee073['unitID']===_0x40a5ba));}[_0x25b562(0x4d9)](_0x4ac414){var _0x3dd531=_0x25b562;return _0x392915[_0x3dd531(0x40f)](this[_0x3dd531(0x373)](_0x4ac414)['pipe'](_0x49bc81[_0x3dd531(0x1bc)](()=>{})));}[_0x25b562(0x4fd)](){var _0x590f03=_0x25b562;this[_0x590f03(0x452)]['getTypeOfUnitAdded$'](_0x417a6f['UniverInstanceType']['UNIVER_SHEET'])[_0x590f03(0x498)](_0x392915[_0x590f03(0x484)](this[_0x590f03(0x3bc)]),_0x49bc81[_0x590f03(0x323)](0x10))[_0x590f03(0x22e)](async _0x231dbf=>{var _0x445f93=_0x590f03;const _0x7abb4a=_0x231dbf[_0x445f93(0x51f)](),_0x1dd262=await this[_0x445f93(0x42c)](_0x7abb4a,_0x530a50[_0x445f93(0x324)]);this['_entities'][_0x445f93(0x1cb)](_0x7abb4a,_0x1dd262);}),this[_0x590f03(0x452)][_0x590f03(0x4dd)](_0x417a6f[_0x590f03(0x50b)][_0x590f03(0x3dc)])[_0x590f03(0x498)](_0x392915['takeUntil'](this[_0x590f03(0x3bc)]),_0x49bc81['delay'](0x10))[_0x590f03(0x498)](_0x49bc81[_0x590f03(0x227)](_0x48b42d=>!_0x48b42d['getUnitId']()[_0x590f03(0x4bc)]('__')))[_0x590f03(0x22e)](async _0x38d741=>{var _0x553b44=_0x590f03;const _0x2db66a=_0x38d741[_0x553b44(0x51f)](),_0x4e7cc2=await this[_0x553b44(0x42c)](_0x2db66a,_0x530a50['UNIVER_DOC']);this[_0x553b44(0x4cb)][_0x553b44(0x1cb)](_0x2db66a,_0x4e7cc2);}),_0x392915[_0x590f03(0x429)](this[_0x590f03(0x452)][_0x590f03(0x214)](_0x417a6f[_0x590f03(0x50b)][_0x590f03(0x324)]),this[_0x590f03(0x452)]['getTypeOfUnitDisposed$'](_0x417a6f[_0x590f03(0x50b)]['UNIVER_DOC']))[_0x590f03(0x498)](_0x392915[_0x590f03(0x484)](this[_0x590f03(0x3bc)]))[_0x590f03(0x22e)](_0x35b3c7=>{var _0x4f1892=_0x590f03;const _0x2546b8=_0x35b3c7[_0x4f1892(0x51f)](),_0x358c08=this['_entities'][_0x4f1892(0x46c)](_0x2546b8);_0x358c08&&(_0x358c08[_0x4f1892(0x539)](),this[_0x4f1892(0x4cb)][_0x4f1892(0x33f)](_0x2546b8));});}async[_0x25b562(0x42c)](_0x5e295d,_0x4c9530){var _0x3c1ceb=_0x25b562;const _0x185bc6=await this[_0x3c1ceb(0x2c1)]['requireSession'](_0x5e295d),_0x249767=this['_injector']['createInstance'](this['_getCtorByUniverType'](_0x4c9530),_0x5e295d,_0x4c9530,_0x185bc6);return await _0x249767[_0x3c1ceb(0x534)](),this[_0x3c1ceb(0x37f)]['next'](_0x249767),_0x249767;}['_getCtorByUniverType'](_0x1f4530){var _0x119c0a=_0x25b562;switch(_0x1f4530){case _0x530a50[_0x119c0a(0x3dc)]:return _0x2aaff0[_0x119c0a(0x39e)];case _0x530a50['UNIVER_SHEET']:return _0x2aaff0['SheetCollaborationEntity'];default:throw new Error(_0x119c0a(0x2c6)+_0x1f4530);}}},_0x2aaff0['CollaborationController']=_0x6ad262([_0x38c66d(0x0,_0x417a6f['Inject'](_0x417a6f[_0x25b562(0x2e1)])),_0x38c66d(0x1,_0x417a6f[_0x25b562(0x4c8)](_0x2aaff0['CollaborationSessionService'])),_0x38c66d(0x2,_0x417a6f[_0x25b562(0x264)])],_0x2aaff0[_0x25b562(0x23e)]);var _0x5ec1f3=Object[_0x25b562(0x459)],_0x4f46ed=(_0x24bede,_0x461f92,_0x5f4ff4,_0x15b278)=>{for(var _0x1ac3a0=_0x15b278>0x1?void 0x0:_0x15b278?_0x5ec1f3(_0x461f92,_0x5f4ff4):_0x461f92,_0x1a89ab=_0x24bede['length']-0x1,_0x586f48;_0x1a89ab>=0x0;_0x1a89ab--)(_0x586f48=_0x24bede[_0x1a89ab])&&(_0x1ac3a0=_0x586f48(_0x1ac3a0)||_0x1ac3a0);return _0x1ac3a0;},_0x435217=(_0x481558,_0x3de329)=>(_0x501157,_0x1c6c14)=>_0x3de329(_0x501157,_0x1c6c14,_0x481558);const _0x756d8f=_0x25b562(0x4a0),_0x4d4401=_0x25b562(0x333);let _0x50f5bd=class extends _0x417a6f['Disposable']{constructor(_0x5472a3,_0x159562){var _0x4549f1=_0x25b562;super(),this[_0x4549f1(0x452)]=_0x5472a3,this[_0x4549f1(0x435)]=_0x159562,this[_0x4549f1(0x4fd)]();}[_0x25b562(0x4fd)](){var _0x364252=_0x25b562;this[_0x364252(0x48e)](this[_0x364252(0x452)][_0x364252(0x1c6)][_0x364252(0x22e)](()=>{var _0x1dbd53=_0x364252,_0x3e4804;const _0x27a7fe=this[_0x1dbd53(0x452)]['getFocusedUnit']();let _0x8305cd=(_0x3e4804=this[_0x1dbd53(0x435)][_0x1dbd53(0x2c3)](_0x756d8f))!=null?_0x3e4804:_0x4d4401;_0x27a7fe instanceof _0x417a6f[_0x1dbd53(0x31f)]&&(_0x8305cd=_0x27a7fe[_0x1dbd53(0x515)]),document['title']=_0x8305cd;}));}};_0x50f5bd=_0x4f46ed([_0x435217(0x0,_0x417a6f[_0x25b562(0x264)]),_0x435217(0x1,_0x417a6f['IConfigService'])],_0x50f5bd);var _0x3092a9=Object[_0x25b562(0x459)],_0x10a465=(_0x3a0bd1,_0x5dd4c5,_0x3b8333,_0x17e861)=>{var _0x175418=_0x25b562;for(var _0x42c824=_0x17e861>0x1?void 0x0:_0x17e861?_0x3092a9(_0x5dd4c5,_0x3b8333):_0x5dd4c5,_0x58c59f=_0x3a0bd1[_0x175418(0x224)]-0x1,_0x53cbdc;_0x58c59f>=0x0;_0x58c59f--)(_0x53cbdc=_0x3a0bd1[_0x58c59f])&&(_0x42c824=_0x53cbdc(_0x42c824)||_0x42c824);return _0x42c824;},_0x561c2f=(_0x48c593,_0x5503dd)=>(_0x295ad0,_0x4c9232)=>_0x5503dd(_0x295ad0,_0x4c9232,_0x48c593);let _0x88bcf9=class{constructor(_0x151578,_0x4ba64a,_0x3428bd){var _0x4afad8=_0x25b562;this[_0x4afad8(0x435)]=_0x151578,this[_0x4afad8(0x4a6)]=_0x4ba64a,this[_0x4afad8(0x353)]=_0x3428bd,this[_0x4afad8(0x534)]();}[_0x25b562(0x534)](){var _0x688ab0=_0x25b562;this[_0x688ab0(0x4a6)][_0x688ab0(0x20a)]({'priority':0x1,'interceptor':(_0x4761f5,_0x1254d8)=>_0x1254d8(_0x4761f5)[_0x688ab0(0x498)](_0x392915[_0x688ab0(0x4c3)](async _0x2c2f91=>{var _0x12a643=_0x688ab0;const _0x3b4538=_0x2c2f91;if(_0x3b4538[_0x12a643(0x306)]===0x191){if(typeof window>'u')throw new Error(_0x12a643(0x3b9));if(window[_0x12a643(0x3ca)](this[_0x12a643(0x353)]['t']('auth.needGotoLoginAlert'))){const _0x344995=window['encodeURIComponent'](window[_0x12a643(0x3c5)][_0x12a643(0x1df)]);window[_0x12a643(0x3c5)][_0x12a643(0x1df)]=this[_0x12a643(0x4be)]()+_0x12a643(0x2ed)+_0x344995;}}return _0x3b4538;}))});}[_0x25b562(0x4be)](){var _0x2dc01a=_0x25b562,_0x9b9bb3,_0x2049f8;const _0x3b6cb9=this[_0x2dc01a(0x435)][_0x2dc01a(0x2c3)](_0x4f8679),_0x3e1100=this['_configService'][_0x2dc01a(0x2c3)](_0x38bbb3);return(_0x2049f8=(_0x9b9bb3=_0x3e1100==null?void 0x0:_0x3e1100[_0x2dc01a(0x4ae)])!=null?_0x9b9bb3:_0x3b6cb9)!=null?_0x2049f8:_0x771855;}};_0x88bcf9=_0x10a465([_0x561c2f(0x0,_0x417a6f['IConfigService']),_0x561c2f(0x1,_0x417a6f['Inject'](_0x56d0a7[_0x25b562(0x3a0)])),_0x561c2f(0x2,_0x417a6f[_0x25b562(0x4c8)](_0x417a6f['LocaleService']))],_0x88bcf9);var _0xb01f21=Object['getOwnPropertyDescriptor'],_0x2f9959=(_0x81da1c,_0x29d410,_0x3343c1,_0x1334e3)=>{var _0x46abbe=_0x25b562;for(var _0x320e7d=_0x1334e3>0x1?void 0x0:_0x1334e3?_0xb01f21(_0x29d410,_0x3343c1):_0x29d410,_0x5ac0ea=_0x81da1c[_0x46abbe(0x224)]-0x1,_0xf64a01;_0x5ac0ea>=0x0;_0x5ac0ea--)(_0xf64a01=_0x81da1c[_0x5ac0ea])&&(_0x320e7d=_0xf64a01(_0x320e7d)||_0x320e7d);return _0x320e7d;},_0x1a1d35=(_0x28c569,_0x4a25bd)=>(_0x3fc55d,_0x216c32)=>_0x4a25bd(_0x3fc55d,_0x216c32,_0x28c569);const _0x1c4f6c='AUTHZ_URL_KEY',_0x598ece=_0x25b562(0x1a7);_0x2aaff0[_0x25b562(0x394)]=class extends _0x417a6f[_0x25b562(0x31e)]{constructor(_0x349f82,_0x34be3b){var _0x60a997=_0x25b562;super(),this[_0x60a997(0x4ce)]=_0x349f82,this[_0x60a997(0x435)]=_0x34be3b,this[_0x60a997(0x4fa)]();}[_0x25b562(0x4fa)](){var _0x5c4121=_0x25b562;const _0x3146c5=this;this[_0x5c4121(0x48e)](this[_0x5c4121(0x4ce)][_0x5c4121(0x20a)]({'priority':0x3e7,'interceptor':_0x56d0a7[_0x5c4121(0x2ff)]({'isMatch'(_0x524c28){var _0x359885=_0x5c4121,_0x7385ca;if(_0x524c28[_0x359885(0x3cb)]===_0x359885(0x290)&&((_0x7385ca=_0x524c28['requestParams'])!=null&&_0x7385ca[_0x359885(0x456)])){const {objectID:_0x8bb73d,objectType:_0x2153e5}=_0x524c28[_0x359885(0x348)]['body']||{};if(!_0x8bb73d||_0x2153e5===void 0x0)return!0x1;const _0x4e30c3=_0x3146c5['_getAPIPrefixPath']()+'/'+_0x2153e5+'/object/'+_0x8bb73d+_0x359885(0x475);if(_0x524c28[_0x359885(0x382)]===_0x4e30c3)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x1ac475){var _0x396e98=_0x5c4121,_0x22b40a;return(_0x22b40a=_0x1ac475[_0x396e98(0x348)])==null?void 0x0:_0x22b40a['body'];},'mergeParamsToRequest'(_0x557c49,_0x4cfeb){var _0x3cbb49=_0x5c4121;const _0x6f6586=_0x3146c5[_0x3cbb49(0x3a4)]()+'/-/object/-/batch_allowed',_0x2ddc29=_0x557c49[_0x3cbb49(0x3fe)]((_0x5b91fc,_0x4aa68a)=>{var _0x1b8d56=_0x3cbb49;const {unitID:_0x5e8a8c,objectID:_0x44e79d,objectType:_0x2c4cdf,actions:_0x299572}=_0x4aa68a;return _0x5b91fc[_0x5e8a8c]||(_0x5b91fc[_0x5e8a8c]={}),_0x5b91fc[_0x5e8a8c][_0x44e79d]||(_0x5b91fc[_0x5e8a8c][_0x44e79d]={'objectID':_0x44e79d,'objectType':_0x2c4cdf,'actions':[]}),_0x5b91fc[_0x5e8a8c][_0x44e79d][_0x1b8d56(0x2f1)][_0x1b8d56(0x2d7)](..._0x299572),_0x5b91fc;},{}),_0x1dcd19=[];for(const _0x26ff4c in _0x2ddc29)for(const _0xd70e2d in _0x2ddc29[_0x26ff4c]){const {actions:_0x15cdf6,objectType:_0x3573f3}=_0x2ddc29[_0x26ff4c][_0xd70e2d],_0x5f13b1=[...new Set(_0x15cdf6)];_0x1dcd19[_0x3cbb49(0x2d7)]({'unitID':_0x26ff4c,'objectID':_0xd70e2d,'objectType':_0x3573f3,'actions':_0x5f13b1});}return new _0x56d0a7[(_0x3cbb49(0x396))]('POST',_0x6f6586,{'headers':_0x4cfeb[_0x3cbb49(0x3b5)],'withCredentials':_0x4cfeb[_0x3cbb49(0x1d3)],'responseType':_0x4cfeb['responseType'],'body':{'requests':_0x1dcd19}});}},{'distributeResult'(_0x1cbc10,_0x538203){var _0x1a566c=_0x5c4121;const {objectActions:_0x42b43b}=_0x1cbc10;return _0x538203[_0x1a566c(0x1bc)](_0x320898=>{var _0x138afc=_0x1a566c;const {unitID:_0x54a913,objectID:_0x16ab93,actions:_0x5dcbb4}=_0x320898,_0x2f4595=_0x42b43b[_0x138afc(0x49a)](_0x1b08a8=>_0x1b08a8[_0x138afc(0x4d1)]===_0x54a913&&_0x1b08a8[_0x138afc(0x4a3)]===_0x16ab93),_0x53004b=_0x5dcbb4[_0x138afc(0x1bc)](_0x2c5702=>_0x2f4595==null?void 0x0:_0x2f4595[_0x138afc(0x2f1)][_0x138afc(0x49a)](_0x5e8688=>_0x5e8688[_0x138afc(0x463)]===_0x2c5702))[_0x138afc(0x227)](_0x59ab63=>!!_0x59ab63);return{'config':_0x320898,'result':{'actions':_0x53004b,'error':_0x1cbc10[_0x138afc(0x3e4)]}};});}})}));}[_0x25b562(0x3a4)](){var _0x2ddf5b=_0x25b562,_0x9361de,_0x84e386;const _0x591ed0=this['_configService'][_0x2ddf5b(0x2c3)](_0x1c4f6c),_0xd58cee=this[_0x2ddf5b(0x435)][_0x2ddf5b(0x2c3)](_0x38bbb3);return(_0x84e386=(_0x9361de=_0xd58cee==null?void 0x0:_0xd58cee[_0x2ddf5b(0x415)])!=null?_0x9361de:_0x591ed0)!=null?_0x84e386:_0x598ece;}async[_0x25b562(0x48c)](_0x346361){var _0x29b0ca=_0x25b562;const _0x5d9f6e=this[_0x29b0ca(0x3a4)]()+'/'+_0x346361[_0x29b0ca(0x3ab)]+'/object';return(await this[_0x29b0ca(0x4ce)][_0x29b0ca(0x1a9)](_0x5d9f6e,{'body':_0x346361}))[_0x29b0ca(0x456)][_0x29b0ca(0x4a3)]||'';}async[_0x25b562(0x21c)](_0x5d76a5){var _0x11b8f9=_0x25b562;const _0x3d12b8=this[_0x11b8f9(0x3a4)]()+_0x11b8f9(0x4cc);return(await this['_HTTPService']['post'](_0x3d12b8,{'body':_0x5d76a5}))[_0x11b8f9(0x456)][_0x11b8f9(0x400)];}async['update'](_0x477dde){var _0x502037=_0x25b562,_0x509616,_0x1415a8;const _0x4bf50f=this[_0x502037(0x3a4)]()+'/'+_0x477dde[_0x502037(0x3ab)]+'/object/'+_0x477dde[_0x502037(0x4a3)],_0x2e1f93=await this['_HTTPService'][_0x502037(0x46f)](_0x4bf50f,{'body':_0x477dde});if(((_0x1415a8=(_0x509616=_0x2e1f93==null?void 0x0:_0x2e1f93[_0x502037(0x456)])==null?void 0x0:_0x509616[_0x502037(0x3e4)])==null?void 0x0:_0x1415a8[_0x502037(0x2f2)])!==0x1)throw new Error(_0x502037(0x1eb));}async[_0x25b562(0x4f8)](_0xd596f2){var _0x486b79=_0x25b562;const _0x31325b=this[_0x486b79(0x3a4)]()+'/'+_0xd596f2[_0x486b79(0x3ab)]+_0x486b79(0x1b9)+_0xd596f2[_0x486b79(0x4a3)]+'/allowed';return(await this[_0x486b79(0x4ce)][_0x486b79(0x1a9)](_0x31325b,{'body':_0xd596f2}))[_0x486b79(0x456)][_0x486b79(0x2f1)];}async[_0x25b562(0x3b0)](_0x349ff2){var _0x1808d6=_0x25b562;const _0x587657=this['_getAPIPrefixPath']()+_0x1808d6(0x41c);return(await this[_0x1808d6(0x4ce)][_0x1808d6(0x1a9)](_0x587657,{'body':{'requests':_0x349ff2}}))[_0x1808d6(0x456)][_0x1808d6(0x354)];}async[_0x25b562(0x260)](_0x11660b){var _0x109477=_0x25b562;const _0x5b2a78=this[_0x109477(0x3a4)]()+'/'+_0x11660b[_0x109477(0x3ab)]+'/role',_0xec7d2=await this['_HTTPService'][_0x109477(0x1a9)](_0x5b2a78,{'body':_0x11660b});return{'roles':_0xec7d2['body']['roles'],'actions':_0xec7d2[_0x109477(0x456)][_0x109477(0x2f1)]};}async['deleteCollaborator'](_0x1d3d65){var _0x517081=_0x25b562;const _0x2414ea=this[_0x517081(0x3a4)]()+_0x517081(0x4b4);await this['_HTTPService'][_0x517081(0x33f)](_0x2414ea,{'params':{'collaboratorID':_0x1d3d65[_0x517081(0x24c)],'objectID':_0x1d3d65['objectID'],'unitID':_0x1d3d65[_0x517081(0x4d1)]}});}async[_0x25b562(0x2bf)](_0x101dad){var _0x2427fd=_0x25b562;const _0x41d626=this['_getAPIPrefixPath']()+'/collaborator';await this[_0x2427fd(0x4ce)]['patch'](_0x41d626,{'body':_0x101dad});}async[_0x25b562(0x295)](_0x10ffb4){var _0x153e2a=_0x25b562;const _0x18a3eb=this['_getAPIPrefixPath']()+_0x153e2a(0x4b4);await this[_0x153e2a(0x4ce)][_0x153e2a(0x1a9)](_0x18a3eb,{'body':_0x10ffb4});}async[_0x25b562(0x3e5)](_0x2ade76){var _0x59c982=_0x25b562;const _0x25288d=this['_getAPIPrefixPath']()+'/collaborator';return(await this[_0x59c982(0x4ce)][_0x59c982(0x46c)](_0x25288d,{'params':{'objectID':_0x2ade76[_0x59c982(0x4a3)],'unitID':_0x2ade76[_0x59c982(0x4d1)]}}))[_0x59c982(0x456)][_0x59c982(0x25b)];}async[_0x25b562(0x301)](_0xf3577b){var _0x4fe29b=_0x25b562;const _0x17186f=this['_getAPIPrefixPath']()+'/collaborator';await this['_HTTPService'][_0x4fe29b(0x46f)](_0x17186f,{'body':_0xf3577b});}},_0x2aaff0[_0x25b562(0x394)]=_0x2f9959([_0x1a1d35(0x0,_0x417a6f[_0x25b562(0x4c8)](_0x56d0a7[_0x25b562(0x3a0)])),_0x1a1d35(0x1,_0x417a6f[_0x25b562(0x4c8)](_0x417a6f[_0x25b562(0x312)]))],_0x2aaff0[_0x25b562(0x394)]);var _0x5abaac=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function _0x387951(_0x98d0af){var _0xbfe428=_0x25b562;return _0x98d0af&&_0x98d0af[_0xbfe428(0x297)]&&Object['prototype'][_0xbfe428(0x218)][_0xbfe428(0x29a)](_0x98d0af,_0xbfe428(0x2d0))?_0x98d0af[_0xbfe428(0x2d0)]:_0x98d0af;}var _0x1bbed0={'exports':{}};function _0x570046(_0x128b9f){var _0x3061eb=_0x25b562;throw new Error(_0x3061eb(0x325)+_0x128b9f+_0x3061eb(0x292));}var _0x2ec73b={'exports':{}},_0x490575=_0x2ec73b['exports'],_0x1c8aaf;function _0x22bef9(){var _0x24e517=_0x25b562;return _0x1c8aaf||(_0x1c8aaf=0x1,function(_0x21b70c,_0x530088){(function(_0x4e01ce,_0x5b68be){_0x21b70c['exports']=_0x5b68be();}(_0x490575,function(){var _0x13acb4=_0x13acb4||function(_0x138bd4,_0x33c0e2){var _0x5a64fd=_0x1012,_0x1b40d2;if(typeof window<'u'&&window[_0x5a64fd(0x4a9)]&&(_0x1b40d2=window[_0x5a64fd(0x4a9)]),typeof self<'u'&&self[_0x5a64fd(0x4a9)]&&(_0x1b40d2=self[_0x5a64fd(0x4a9)]),typeof globalThis<'u'&&globalThis[_0x5a64fd(0x4a9)]&&(_0x1b40d2=globalThis[_0x5a64fd(0x4a9)]),!_0x1b40d2&&typeof window<'u'&&window[_0x5a64fd(0x377)]&&(_0x1b40d2=window[_0x5a64fd(0x377)]),!_0x1b40d2&&typeof _0x5abaac<'u'&&_0x5abaac[_0x5a64fd(0x4a9)]&&(_0x1b40d2=_0x5abaac[_0x5a64fd(0x4a9)]),!_0x1b40d2&&typeof _0x570046=='function')try{_0x1b40d2=require(_0x5a64fd(0x4a9));}catch{}var _0x5b2ece=function(){var _0x46275f=_0x5a64fd;if(_0x1b40d2){if(typeof _0x1b40d2[_0x46275f(0x417)]==_0x46275f(0x234))try{return _0x1b40d2[_0x46275f(0x417)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x1b40d2[_0x46275f(0x389)]==_0x46275f(0x234))try{return _0x1b40d2[_0x46275f(0x389)](0x4)[_0x46275f(0x4e3)]();}catch{}}throw new Error(_0x46275f(0x30d));},_0x478fa=Object['create']||(function(){function _0x4b1bdc(){}return function(_0x29740e){var _0x5873a6;return _0x4b1bdc['prototype']=_0x29740e,_0x5873a6=new _0x4b1bdc(),_0x4b1bdc['prototype']=null,_0x5873a6;};}()),_0x2c225c={},_0x1e99f9=_0x2c225c[_0x5a64fd(0x528)]={},_0x1550c1=_0x1e99f9[_0x5a64fd(0x497)]=(function(){return{'extend':function(_0x1a275f){var _0x9caef4=_0x1012,_0x16f5c6=_0x478fa(this);return _0x1a275f&&_0x16f5c6['mixIn'](_0x1a275f),(!_0x16f5c6[_0x9caef4(0x218)](_0x9caef4(0x534))||this[_0x9caef4(0x534)]===_0x16f5c6[_0x9caef4(0x534)])&&(_0x16f5c6[_0x9caef4(0x534)]=function(){var _0x44a362=_0x9caef4;_0x16f5c6['$super'][_0x44a362(0x534)][_0x44a362(0x2d4)](this,arguments);}),_0x16f5c6[_0x9caef4(0x534)][_0x9caef4(0x3d7)]=_0x16f5c6,_0x16f5c6[_0x9caef4(0x42f)]=this,_0x16f5c6;},'create':function(){var _0x170c7b=_0x1012,_0x40d043=this[_0x170c7b(0x3ef)]();return _0x40d043[_0x170c7b(0x534)]['apply'](_0x40d043,arguments),_0x40d043;},'init':function(){},'mixIn':function(_0x250b74){var _0x4db714=_0x1012;for(var _0x42e553 in _0x250b74)_0x250b74[_0x4db714(0x218)](_0x42e553)&&(this[_0x42e553]=_0x250b74[_0x42e553]);_0x250b74['hasOwnProperty'](_0x4db714(0x1ef))&&(this[_0x4db714(0x1ef)]=_0x250b74['toString']);},'clone':function(){var _0xd30d60=_0x1012;return this[_0xd30d60(0x534)][_0xd30d60(0x3d7)]['extend'](this);}};}()),_0x22a6d6=_0x1e99f9[_0x5a64fd(0x406)]=_0x1550c1['extend']({'init':function(_0x2e9f24,_0x533a53){var _0x47a04e=_0x5a64fd;_0x2e9f24=this['words']=_0x2e9f24||[],_0x533a53!=_0x33c0e2?this[_0x47a04e(0x4c4)]=_0x533a53:this[_0x47a04e(0x4c4)]=_0x2e9f24[_0x47a04e(0x224)]*0x4;},'toString':function(_0x1ce012){var _0x194ef4=_0x5a64fd;return(_0x1ce012||_0x319966)[_0x194ef4(0x52f)](this);},'concat':function(_0x3b37cf){var _0x1bc640=_0x5a64fd,_0x68edd3=this['words'],_0x3827e5=_0x3b37cf[_0x1bc640(0x221)],_0x699f9b=this[_0x1bc640(0x4c4)],_0x5825a9=_0x3b37cf[_0x1bc640(0x4c4)];if(this['clamp'](),_0x699f9b%0x4)for(var _0x1a834b=0x0;_0x1a834b<_0x5825a9;_0x1a834b++){var _0x4b52f2=_0x3827e5[_0x1a834b>>>0x2]>>>0x18-_0x1a834b%0x4*0x8&0xff;_0x68edd3[_0x699f9b+_0x1a834b>>>0x2]|=_0x4b52f2<<0x18-(_0x699f9b+_0x1a834b)%0x4*0x8;}else{for(var _0x2dcfa6=0x0;_0x2dcfa6<_0x5825a9;_0x2dcfa6+=0x4)_0x68edd3[_0x699f9b+_0x2dcfa6>>>0x2]=_0x3827e5[_0x2dcfa6>>>0x2];}return this[_0x1bc640(0x4c4)]+=_0x5825a9,this;},'clamp':function(){var _0x48dc68=_0x5a64fd,_0x2aa7df=this[_0x48dc68(0x221)],_0xaf964a=this[_0x48dc68(0x4c4)];_0x2aa7df[_0xaf964a>>>0x2]&=0xffffffff<<0x20-_0xaf964a%0x4*0x8,_0x2aa7df[_0x48dc68(0x224)]=_0x138bd4[_0x48dc68(0x4d8)](_0xaf964a/0x4);},'clone':function(){var _0x23c267=_0x5a64fd,_0x87bb25=_0x1550c1['clone']['call'](this);return _0x87bb25['words']=this[_0x23c267(0x221)][_0x23c267(0x317)](0x0),_0x87bb25;},'random':function(_0x443dba){for(var _0x18b07b=[],_0x3ad464=0x0;_0x3ad464<_0x443dba;_0x3ad464+=0x4)_0x18b07b['push'](_0x5b2ece());return new _0x22a6d6['init'](_0x18b07b,_0x443dba);}}),_0x54854f=_0x2c225c[_0x5a64fd(0x439)]={},_0x319966=_0x54854f[_0x5a64fd(0x420)]={'stringify':function(_0x334c85){var _0x971786=_0x5a64fd;for(var _0x198cb5=_0x334c85[_0x971786(0x221)],_0x5290ea=_0x334c85[_0x971786(0x4c4)],_0x3b6b16=[],_0x488b5d=0x0;_0x488b5d<_0x5290ea;_0x488b5d++){var _0x3dfbf9=_0x198cb5[_0x488b5d>>>0x2]>>>0x18-_0x488b5d%0x4*0x8&0xff;_0x3b6b16[_0x971786(0x2d7)]((_0x3dfbf9>>>0x4)[_0x971786(0x1ef)](0x10)),_0x3b6b16[_0x971786(0x2d7)]((_0x3dfbf9&0xf)[_0x971786(0x1ef)](0x10));}return _0x3b6b16[_0x971786(0x2af)]('');},'parse':function(_0xae2539){var _0x1a4d0a=_0x5a64fd;for(var _0x3e189a=_0xae2539[_0x1a4d0a(0x224)],_0x122b89=[],_0x56818b=0x0;_0x56818b<_0x3e189a;_0x56818b+=0x2)_0x122b89[_0x56818b>>>0x3]|=parseInt(_0xae2539[_0x1a4d0a(0x23f)](_0x56818b,0x2),0x10)<<0x18-_0x56818b%0x8*0x4;return new _0x22a6d6[(_0x1a4d0a(0x534))](_0x122b89,_0x3e189a/0x2);}},_0x4fc7ca=_0x54854f[_0x5a64fd(0x3ed)]={'stringify':function(_0x22ad41){var _0xeecd48=_0x5a64fd;for(var _0x2a3e4c=_0x22ad41[_0xeecd48(0x221)],_0x42e942=_0x22ad41['sigBytes'],_0x5859e1=[],_0x3cd69a=0x0;_0x3cd69a<_0x42e942;_0x3cd69a++){var _0x54851=_0x2a3e4c[_0x3cd69a>>>0x2]>>>0x18-_0x3cd69a%0x4*0x8&0xff;_0x5859e1[_0xeecd48(0x2d7)](String['fromCharCode'](_0x54851));}return _0x5859e1[_0xeecd48(0x2af)]('');},'parse':function(_0x3c5fa9){var _0x2b8e5f=_0x5a64fd;for(var _0x5c5ac1=_0x3c5fa9['length'],_0x399d31=[],_0x511597=0x0;_0x511597<_0x5c5ac1;_0x511597++)_0x399d31[_0x511597>>>0x2]|=(_0x3c5fa9[_0x2b8e5f(0x44b)](_0x511597)&0xff)<<0x18-_0x511597%0x4*0x8;return new _0x22a6d6[(_0x2b8e5f(0x534))](_0x399d31,_0x5c5ac1);}},_0x406b7a=_0x54854f[_0x5a64fd(0x32c)]={'stringify':function(_0xdbf010){var _0x30f33e=_0x5a64fd;try{return decodeURIComponent(escape(_0x4fc7ca[_0x30f33e(0x52f)](_0xdbf010)));}catch{throw new Error(_0x30f33e(0x281));}},'parse':function(_0x229a95){var _0x46d554=_0x5a64fd;return _0x4fc7ca[_0x46d554(0x376)](unescape(encodeURIComponent(_0x229a95)));}},_0x2828f0=_0x1e99f9['BufferedBlockAlgorithm']=_0x1550c1[_0x5a64fd(0x3ef)]({'reset':function(){var _0x1593b8=_0x5a64fd;this[_0x1593b8(0x1f3)]=new _0x22a6d6[(_0x1593b8(0x534))](),this[_0x1593b8(0x28c)]=0x0;},'_append':function(_0x48f918){var _0x2235b3=_0x5a64fd;typeof _0x48f918==_0x2235b3(0x43c)&&(_0x48f918=_0x406b7a[_0x2235b3(0x376)](_0x48f918)),this['_data']['concat'](_0x48f918),this[_0x2235b3(0x28c)]+=_0x48f918[_0x2235b3(0x4c4)];},'_process':function(_0x11aed7){var _0x2cfac1=_0x5a64fd,_0x32d629,_0x306fa8=this[_0x2cfac1(0x1f3)],_0x357a96=_0x306fa8['words'],_0xc50ec7=_0x306fa8[_0x2cfac1(0x4c4)],_0x15b847=this['blockSize'],_0x516a57=_0x15b847*0x4,_0x419b79=_0xc50ec7/_0x516a57;_0x11aed7?_0x419b79=_0x138bd4['ceil'](_0x419b79):_0x419b79=_0x138bd4[_0x2cfac1(0x22c)]((_0x419b79|0x0)-this['_minBufferSize'],0x0);var _0x5cec68=_0x419b79*_0x15b847,_0x30b525=_0x138bd4[_0x2cfac1(0x48d)](_0x5cec68*0x4,_0xc50ec7);if(_0x5cec68){for(var _0x48ef3e=0x0;_0x48ef3e<_0x5cec68;_0x48ef3e+=_0x15b847)this['_doProcessBlock'](_0x357a96,_0x48ef3e);_0x32d629=_0x357a96[_0x2cfac1(0x1e2)](0x0,_0x5cec68),_0x306fa8[_0x2cfac1(0x4c4)]-=_0x30b525;}return new _0x22a6d6[(_0x2cfac1(0x534))](_0x32d629,_0x30b525);},'clone':function(){var _0x54b8cb=_0x5a64fd,_0x38fa2f=_0x1550c1['clone'][_0x54b8cb(0x29a)](this);return _0x38fa2f['_data']=this['_data'][_0x54b8cb(0x2da)](),_0x38fa2f;},'_minBufferSize':0x0});_0x1e99f9['Hasher']=_0x2828f0[_0x5a64fd(0x3ef)]({'cfg':_0x1550c1[_0x5a64fd(0x3ef)](),'init':function(_0x3b344c){var _0xc97ed5=_0x5a64fd;this[_0xc97ed5(0x302)]=this[_0xc97ed5(0x302)][_0xc97ed5(0x3ef)](_0x3b344c),this[_0xc97ed5(0x276)]();},'reset':function(){var _0x3debc7=_0x5a64fd;_0x2828f0['reset'][_0x3debc7(0x29a)](this),this[_0x3debc7(0x1ba)]();},'update':function(_0x579eaf){var _0x36c25d=_0x5a64fd;return this[_0x36c25d(0x424)](_0x579eaf),this['_process'](),this;},'finalize':function(_0xd59b){var _0x1f53c0=_0x5a64fd;_0xd59b&&this['_append'](_0xd59b);var _0x11279=this[_0x1f53c0(0x3d1)]();return _0x11279;},'blockSize':0x10,'_createHelper':function(_0xe8d75b){return function(_0x4356f4,_0x1b6239){var _0x5d55d5=_0x1012;return new _0xe8d75b['init'](_0x1b6239)[_0x5d55d5(0x2b1)](_0x4356f4);};},'_createHmacHelper':function(_0x4fba31){return function(_0x48e67d,_0x38da24){var _0xe6c156=_0x1012;return new _0x20f30e['HMAC'][(_0xe6c156(0x534))](_0x4fba31,_0x38da24)[_0xe6c156(0x2b1)](_0x48e67d);};}});var _0x20f30e=_0x2c225c['algo']={};return _0x2c225c;}(Math);return _0x13acb4;}));}(_0x2ec73b)),_0x2ec73b[_0x24e517(0x3f7)];}var _0x3e113d={'exports':{}},_0x557948=_0x3e113d[_0x25b562(0x3f7)],_0x84a103;function _0x4e67f6(){return _0x84a103||(_0x84a103=0x1,function(_0x2b5208,_0x1ba449){(function(_0x506504,_0x21a67a){var _0x348a1c=_0x1012;_0x2b5208[_0x348a1c(0x3f7)]=_0x21a67a(_0x22bef9());}(_0x557948,function(_0x5d390d){var _0x5a6847=_0x1012;return(function(){var _0x1e857c=_0x1012,_0x47b34d=_0x5d390d,_0x8d1fad=_0x47b34d['lib'],_0x182316=_0x8d1fad['WordArray'],_0x5a46b4=_0x47b34d[_0x1e857c(0x439)];_0x5a46b4['Base64']={'stringify':function(_0x100871){var _0x4ef139=_0x1e857c,_0x5efc31=_0x100871[_0x4ef139(0x221)],_0x56ccc8=_0x100871[_0x4ef139(0x4c4)],_0x5c3930=this['_map'];_0x100871[_0x4ef139(0x428)]();for(var _0x5ef49e=[],_0x463d5b=0x0;_0x463d5b<_0x56ccc8;_0x463d5b+=0x3)for(var _0x693d3e=_0x5efc31[_0x463d5b>>>0x2]>>>0x18-_0x463d5b%0x4*0x8&0xff,_0x33fdfe=_0x5efc31[_0x463d5b+0x1>>>0x2]>>>0x18-(_0x463d5b+0x1)%0x4*0x8&0xff,_0x2244c3=_0x5efc31[_0x463d5b+0x2>>>0x2]>>>0x18-(_0x463d5b+0x2)%0x4*0x8&0xff,_0x282f96=_0x693d3e<<0x10|_0x33fdfe<<0x8|_0x2244c3,_0x5c1d06=0x0;_0x5c1d06<0x4&&_0x463d5b+_0x5c1d06*0.75<_0x56ccc8;_0x5c1d06++)_0x5ef49e[_0x4ef139(0x2d7)](_0x5c3930[_0x4ef139(0x35e)](_0x282f96>>>0x6*(0x3-_0x5c1d06)&0x3f));var _0x44dc79=_0x5c3930['charAt'](0x40);if(_0x44dc79){for(;_0x5ef49e[_0x4ef139(0x224)]%0x4;)_0x5ef49e[_0x4ef139(0x2d7)](_0x44dc79);}return _0x5ef49e['join']('');},'parse':function(_0x1c5958){var _0x41e844=_0x1e857c,_0x37498d=_0x1c5958[_0x41e844(0x224)],_0x1e407f=this['_map'],_0x379783=this[_0x41e844(0x53a)];if(!_0x379783){_0x379783=this[_0x41e844(0x53a)]=[];for(var _0x5c4e46=0x0;_0x5c4e46<_0x1e407f[_0x41e844(0x224)];_0x5c4e46++)_0x379783[_0x1e407f[_0x41e844(0x44b)](_0x5c4e46)]=_0x5c4e46;}var _0x23f4f7=_0x1e407f[_0x41e844(0x35e)](0x40);if(_0x23f4f7){var _0x2fc7cc=_0x1c5958['indexOf'](_0x23f4f7);_0x2fc7cc!==-0x1&&(_0x37498d=_0x2fc7cc);}return _0x234493(_0x1c5958,_0x37498d,_0x379783);},'_map':'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/='};function _0x234493(_0x1d8e5b,_0x3e8f4c,_0x1c4961){var _0xd8932e=_0x1e857c;for(var _0x469477=[],_0x8c93b4=0x0,_0x528c0b=0x0;_0x528c0b<_0x3e8f4c;_0x528c0b++)if(_0x528c0b%0x4){var _0x5903c8=_0x1c4961[_0x1d8e5b[_0xd8932e(0x44b)](_0x528c0b-0x1)]<<_0x528c0b%0x4*0x2,_0x549d60=_0x1c4961[_0x1d8e5b['charCodeAt'](_0x528c0b)]>>>0x6-_0x528c0b%0x4*0x2,_0x3349a2=_0x5903c8|_0x549d60;_0x469477[_0x8c93b4>>>0x2]|=_0x3349a2<<0x18-_0x8c93b4%0x4*0x8,_0x8c93b4++;}return _0x182316[_0xd8932e(0x48c)](_0x469477,_0x8c93b4);}}()),_0x5d390d[_0x5a6847(0x439)]['Base64'];}));}(_0x3e113d)),_0x3e113d['exports'];}var _0x14d030={'exports':{}},_0x4e1121=_0x14d030[_0x25b562(0x3f7)],_0x2fcb25;function _0x19007c(){var _0x14e3cf=_0x25b562;return _0x2fcb25||(_0x2fcb25=0x1,function(_0x1fa874,_0x28d6e4){(function(_0x1ac03e,_0xe01ae0){var _0x56b378=_0x1012;_0x1fa874[_0x56b378(0x3f7)]=_0xe01ae0(_0x22bef9());}(_0x4e1121,function(_0x2aa3bd){var _0x7112d5=_0x1012;return function(_0xb15824){var _0x18cb28=_0x1012,_0x1d0dfb=_0x2aa3bd,_0x4a367a=_0x1d0dfb['lib'],_0x19e1f9=_0x4a367a[_0x18cb28(0x406)],_0x1323e3=_0x4a367a['Hasher'],_0x4003f8=_0x1d0dfb[_0x18cb28(0x42e)],_0x58f783=[];(function(){var _0x4978a6=_0x18cb28;for(var _0x5a8c4d=0x0;_0x5a8c4d<0x40;_0x5a8c4d++)_0x58f783[_0x5a8c4d]=_0xb15824['abs'](_0xb15824[_0x4978a6(0x511)](_0x5a8c4d+0x1))*0x100000000|0x0;}());var _0x53177a=_0x4003f8['MD5']=_0x1323e3[_0x18cb28(0x3ef)]({'_doReset':function(){var _0xf89d24=_0x18cb28;this[_0xf89d24(0x4f2)]=new _0x19e1f9['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x278e15,_0x47be07){var _0x5e203e=_0x18cb28;for(var _0x594b23=0x0;_0x594b23<0x10;_0x594b23++){var _0xa80992=_0x47be07+_0x594b23,_0xe91ec1=_0x278e15[_0xa80992];_0x278e15[_0xa80992]=(_0xe91ec1<<0x8|_0xe91ec1>>>0x18)&0xff00ff|(_0xe91ec1<<0x18|_0xe91ec1>>>0x8)&0xff00ff00;}var _0x4990b1=this[_0x5e203e(0x4f2)][_0x5e203e(0x221)],_0x4f6baa=_0x278e15[_0x47be07+0x0],_0x505ed8=_0x278e15[_0x47be07+0x1],_0x2d9473=_0x278e15[_0x47be07+0x2],_0x4613bd=_0x278e15[_0x47be07+0x3],_0x3ef88f=_0x278e15[_0x47be07+0x4],_0x573031=_0x278e15[_0x47be07+0x5],_0x3db25a=_0x278e15[_0x47be07+0x6],_0xe5ed17=_0x278e15[_0x47be07+0x7],_0x39066f=_0x278e15[_0x47be07+0x8],_0x58dd53=_0x278e15[_0x47be07+0x9],_0xdf0046=_0x278e15[_0x47be07+0xa],_0x23dffc=_0x278e15[_0x47be07+0xb],_0x3724a1=_0x278e15[_0x47be07+0xc],_0x124584=_0x278e15[_0x47be07+0xd],_0x239eb4=_0x278e15[_0x47be07+0xe],_0x1835e9=_0x278e15[_0x47be07+0xf],_0x4b32f0=_0x4990b1[0x0],_0x455d25=_0x4990b1[0x1],_0x4832d0=_0x4990b1[0x2],_0x349102=_0x4990b1[0x3];_0x4b32f0=_0x3ce7b3(_0x4b32f0,_0x455d25,_0x4832d0,_0x349102,_0x4f6baa,0x7,_0x58f783[0x0]),_0x349102=_0x3ce7b3(_0x349102,_0x4b32f0,_0x455d25,_0x4832d0,_0x505ed8,0xc,_0x58f783[0x1]),_0x4832d0=_0x3ce7b3(_0x4832d0,_0x349102,_0x4b32f0,_0x455d25,_0x2d9473,0x11,_0x58f783[0x2]),_0x455d25=_0x3ce7b3(_0x455d25,_0x4832d0,_0x349102,_0x4b32f0,_0x4613bd,0x16,_0x58f783[0x3]),_0x4b32f0=_0x3ce7b3(_0x4b32f0,_0x455d25,_0x4832d0,_0x349102,_0x3ef88f,0x7,_0x58f783[0x4]),_0x349102=_0x3ce7b3(_0x349102,_0x4b32f0,_0x455d25,_0x4832d0,_0x573031,0xc,_0x58f783[0x5]),_0x4832d0=_0x3ce7b3(_0x4832d0,_0x349102,_0x4b32f0,_0x455d25,_0x3db25a,0x11,_0x58f783[0x6]),_0x455d25=_0x3ce7b3(_0x455d25,_0x4832d0,_0x349102,_0x4b32f0,_0xe5ed17,0x16,_0x58f783[0x7]),_0x4b32f0=_0x3ce7b3(_0x4b32f0,_0x455d25,_0x4832d0,_0x349102,_0x39066f,0x7,_0x58f783[0x8]),_0x349102=_0x3ce7b3(_0x349102,_0x4b32f0,_0x455d25,_0x4832d0,_0x58dd53,0xc,_0x58f783[0x9]),_0x4832d0=_0x3ce7b3(_0x4832d0,_0x349102,_0x4b32f0,_0x455d25,_0xdf0046,0x11,_0x58f783[0xa]),_0x455d25=_0x3ce7b3(_0x455d25,_0x4832d0,_0x349102,_0x4b32f0,_0x23dffc,0x16,_0x58f783[0xb]),_0x4b32f0=_0x3ce7b3(_0x4b32f0,_0x455d25,_0x4832d0,_0x349102,_0x3724a1,0x7,_0x58f783[0xc]),_0x349102=_0x3ce7b3(_0x349102,_0x4b32f0,_0x455d25,_0x4832d0,_0x124584,0xc,_0x58f783[0xd]),_0x4832d0=_0x3ce7b3(_0x4832d0,_0x349102,_0x4b32f0,_0x455d25,_0x239eb4,0x11,_0x58f783[0xe]),_0x455d25=_0x3ce7b3(_0x455d25,_0x4832d0,_0x349102,_0x4b32f0,_0x1835e9,0x16,_0x58f783[0xf]),_0x4b32f0=_0x928af4(_0x4b32f0,_0x455d25,_0x4832d0,_0x349102,_0x505ed8,0x5,_0x58f783[0x10]),_0x349102=_0x928af4(_0x349102,_0x4b32f0,_0x455d25,_0x4832d0,_0x3db25a,0x9,_0x58f783[0x11]),_0x4832d0=_0x928af4(_0x4832d0,_0x349102,_0x4b32f0,_0x455d25,_0x23dffc,0xe,_0x58f783[0x12]),_0x455d25=_0x928af4(_0x455d25,_0x4832d0,_0x349102,_0x4b32f0,_0x4f6baa,0x14,_0x58f783[0x13]),_0x4b32f0=_0x928af4(_0x4b32f0,_0x455d25,_0x4832d0,_0x349102,_0x573031,0x5,_0x58f783[0x14]),_0x349102=_0x928af4(_0x349102,_0x4b32f0,_0x455d25,_0x4832d0,_0xdf0046,0x9,_0x58f783[0x15]),_0x4832d0=_0x928af4(_0x4832d0,_0x349102,_0x4b32f0,_0x455d25,_0x1835e9,0xe,_0x58f783[0x16]),_0x455d25=_0x928af4(_0x455d25,_0x4832d0,_0x349102,_0x4b32f0,_0x3ef88f,0x14,_0x58f783[0x17]),_0x4b32f0=_0x928af4(_0x4b32f0,_0x455d25,_0x4832d0,_0x349102,_0x58dd53,0x5,_0x58f783[0x18]),_0x349102=_0x928af4(_0x349102,_0x4b32f0,_0x455d25,_0x4832d0,_0x239eb4,0x9,_0x58f783[0x19]),_0x4832d0=_0x928af4(_0x4832d0,_0x349102,_0x4b32f0,_0x455d25,_0x4613bd,0xe,_0x58f783[0x1a]),_0x455d25=_0x928af4(_0x455d25,_0x4832d0,_0x349102,_0x4b32f0,_0x39066f,0x14,_0x58f783[0x1b]),_0x4b32f0=_0x928af4(_0x4b32f0,_0x455d25,_0x4832d0,_0x349102,_0x124584,0x5,_0x58f783[0x1c]),_0x349102=_0x928af4(_0x349102,_0x4b32f0,_0x455d25,_0x4832d0,_0x2d9473,0x9,_0x58f783[0x1d]),_0x4832d0=_0x928af4(_0x4832d0,_0x349102,_0x4b32f0,_0x455d25,_0xe5ed17,0xe,_0x58f783[0x1e]),_0x455d25=_0x928af4(_0x455d25,_0x4832d0,_0x349102,_0x4b32f0,_0x3724a1,0x14,_0x58f783[0x1f]),_0x4b32f0=_0x4c7f6c(_0x4b32f0,_0x455d25,_0x4832d0,_0x349102,_0x573031,0x4,_0x58f783[0x20]),_0x349102=_0x4c7f6c(_0x349102,_0x4b32f0,_0x455d25,_0x4832d0,_0x39066f,0xb,_0x58f783[0x21]),_0x4832d0=_0x4c7f6c(_0x4832d0,_0x349102,_0x4b32f0,_0x455d25,_0x23dffc,0x10,_0x58f783[0x22]),_0x455d25=_0x4c7f6c(_0x455d25,_0x4832d0,_0x349102,_0x4b32f0,_0x239eb4,0x17,_0x58f783[0x23]),_0x4b32f0=_0x4c7f6c(_0x4b32f0,_0x455d25,_0x4832d0,_0x349102,_0x505ed8,0x4,_0x58f783[0x24]),_0x349102=_0x4c7f6c(_0x349102,_0x4b32f0,_0x455d25,_0x4832d0,_0x3ef88f,0xb,_0x58f783[0x25]),_0x4832d0=_0x4c7f6c(_0x4832d0,_0x349102,_0x4b32f0,_0x455d25,_0xe5ed17,0x10,_0x58f783[0x26]),_0x455d25=_0x4c7f6c(_0x455d25,_0x4832d0,_0x349102,_0x4b32f0,_0xdf0046,0x17,_0x58f783[0x27]),_0x4b32f0=_0x4c7f6c(_0x4b32f0,_0x455d25,_0x4832d0,_0x349102,_0x124584,0x4,_0x58f783[0x28]),_0x349102=_0x4c7f6c(_0x349102,_0x4b32f0,_0x455d25,_0x4832d0,_0x4f6baa,0xb,_0x58f783[0x29]),_0x4832d0=_0x4c7f6c(_0x4832d0,_0x349102,_0x4b32f0,_0x455d25,_0x4613bd,0x10,_0x58f783[0x2a]),_0x455d25=_0x4c7f6c(_0x455d25,_0x4832d0,_0x349102,_0x4b32f0,_0x3db25a,0x17,_0x58f783[0x2b]),_0x4b32f0=_0x4c7f6c(_0x4b32f0,_0x455d25,_0x4832d0,_0x349102,_0x58dd53,0x4,_0x58f783[0x2c]),_0x349102=_0x4c7f6c(_0x349102,_0x4b32f0,_0x455d25,_0x4832d0,_0x3724a1,0xb,_0x58f783[0x2d]),_0x4832d0=_0x4c7f6c(_0x4832d0,_0x349102,_0x4b32f0,_0x455d25,_0x1835e9,0x10,_0x58f783[0x2e]),_0x455d25=_0x4c7f6c(_0x455d25,_0x4832d0,_0x349102,_0x4b32f0,_0x2d9473,0x17,_0x58f783[0x2f]),_0x4b32f0=_0x8f4017(_0x4b32f0,_0x455d25,_0x4832d0,_0x349102,_0x4f6baa,0x6,_0x58f783[0x30]),_0x349102=_0x8f4017(_0x349102,_0x4b32f0,_0x455d25,_0x4832d0,_0xe5ed17,0xa,_0x58f783[0x31]),_0x4832d0=_0x8f4017(_0x4832d0,_0x349102,_0x4b32f0,_0x455d25,_0x239eb4,0xf,_0x58f783[0x32]),_0x455d25=_0x8f4017(_0x455d25,_0x4832d0,_0x349102,_0x4b32f0,_0x573031,0x15,_0x58f783[0x33]),_0x4b32f0=_0x8f4017(_0x4b32f0,_0x455d25,_0x4832d0,_0x349102,_0x3724a1,0x6,_0x58f783[0x34]),_0x349102=_0x8f4017(_0x349102,_0x4b32f0,_0x455d25,_0x4832d0,_0x4613bd,0xa,_0x58f783[0x35]),_0x4832d0=_0x8f4017(_0x4832d0,_0x349102,_0x4b32f0,_0x455d25,_0xdf0046,0xf,_0x58f783[0x36]),_0x455d25=_0x8f4017(_0x455d25,_0x4832d0,_0x349102,_0x4b32f0,_0x505ed8,0x15,_0x58f783[0x37]),_0x4b32f0=_0x8f4017(_0x4b32f0,_0x455d25,_0x4832d0,_0x349102,_0x39066f,0x6,_0x58f783[0x38]),_0x349102=_0x8f4017(_0x349102,_0x4b32f0,_0x455d25,_0x4832d0,_0x1835e9,0xa,_0x58f783[0x39]),_0x4832d0=_0x8f4017(_0x4832d0,_0x349102,_0x4b32f0,_0x455d25,_0x3db25a,0xf,_0x58f783[0x3a]),_0x455d25=_0x8f4017(_0x455d25,_0x4832d0,_0x349102,_0x4b32f0,_0x124584,0x15,_0x58f783[0x3b]),_0x4b32f0=_0x8f4017(_0x4b32f0,_0x455d25,_0x4832d0,_0x349102,_0x3ef88f,0x6,_0x58f783[0x3c]),_0x349102=_0x8f4017(_0x349102,_0x4b32f0,_0x455d25,_0x4832d0,_0x23dffc,0xa,_0x58f783[0x3d]),_0x4832d0=_0x8f4017(_0x4832d0,_0x349102,_0x4b32f0,_0x455d25,_0x2d9473,0xf,_0x58f783[0x3e]),_0x455d25=_0x8f4017(_0x455d25,_0x4832d0,_0x349102,_0x4b32f0,_0x58dd53,0x15,_0x58f783[0x3f]),_0x4990b1[0x0]=_0x4990b1[0x0]+_0x4b32f0|0x0,_0x4990b1[0x1]=_0x4990b1[0x1]+_0x455d25|0x0,_0x4990b1[0x2]=_0x4990b1[0x2]+_0x4832d0|0x0,_0x4990b1[0x3]=_0x4990b1[0x3]+_0x349102|0x0;},'_doFinalize':function(){var _0x3af887=_0x18cb28,_0x156d9f=this[_0x3af887(0x1f3)],_0x2661f3=_0x156d9f[_0x3af887(0x221)],_0x25811f=this[_0x3af887(0x28c)]*0x8,_0x148454=_0x156d9f[_0x3af887(0x4c4)]*0x8;_0x2661f3[_0x148454>>>0x5]|=0x80<<0x18-_0x148454%0x20;var _0x1fa4bc=_0xb15824[_0x3af887(0x4b5)](_0x25811f/0x100000000),_0x258608=_0x25811f;_0x2661f3[(_0x148454+0x40>>>0x9<<0x4)+0xf]=(_0x1fa4bc<<0x8|_0x1fa4bc>>>0x18)&0xff00ff|(_0x1fa4bc<<0x18|_0x1fa4bc>>>0x8)&0xff00ff00,_0x2661f3[(_0x148454+0x40>>>0x9<<0x4)+0xe]=(_0x258608<<0x8|_0x258608>>>0x18)&0xff00ff|(_0x258608<<0x18|_0x258608>>>0x8)&0xff00ff00,_0x156d9f[_0x3af887(0x4c4)]=(_0x2661f3[_0x3af887(0x224)]+0x1)*0x4,this[_0x3af887(0x468)]();for(var _0x1ddb75=this[_0x3af887(0x4f2)],_0x2272cb=_0x1ddb75[_0x3af887(0x221)],_0x44e442=0x0;_0x44e442<0x4;_0x44e442++){var _0x343a25=_0x2272cb[_0x44e442];_0x2272cb[_0x44e442]=(_0x343a25<<0x8|_0x343a25>>>0x18)&0xff00ff|(_0x343a25<<0x18|_0x343a25>>>0x8)&0xff00ff00;}return _0x1ddb75;},'clone':function(){var _0x288314=_0x18cb28,_0x535f4b=_0x1323e3[_0x288314(0x2da)][_0x288314(0x29a)](this);return _0x535f4b[_0x288314(0x4f2)]=this['_hash'][_0x288314(0x2da)](),_0x535f4b;}});function _0x3ce7b3(_0x390db4,_0x1d6ba4,_0x5dd7e4,_0x2a4d29,_0x5357c8,_0x1b5300,_0x2cd109){var _0x593b6e=_0x390db4+(_0x1d6ba4&_0x5dd7e4|~_0x1d6ba4&_0x2a4d29)+_0x5357c8+_0x2cd109;return(_0x593b6e<<_0x1b5300|_0x593b6e>>>0x20-_0x1b5300)+_0x1d6ba4;}function _0x928af4(_0x4f456a,_0x536ae4,_0x367003,_0x186e0,_0x1bccbe,_0x5c008e,_0x6c18b2){var _0x151fb6=_0x4f456a+(_0x536ae4&_0x186e0|_0x367003&~_0x186e0)+_0x1bccbe+_0x6c18b2;return(_0x151fb6<<_0x5c008e|_0x151fb6>>>0x20-_0x5c008e)+_0x536ae4;}function _0x4c7f6c(_0x5030f0,_0x5d63f5,_0x3768d6,_0x32bd75,_0x1aaedf,_0x17e8c0,_0x2928d1){var _0xfab28c=_0x5030f0+(_0x5d63f5^_0x3768d6^_0x32bd75)+_0x1aaedf+_0x2928d1;return(_0xfab28c<<_0x17e8c0|_0xfab28c>>>0x20-_0x17e8c0)+_0x5d63f5;}function _0x8f4017(_0x4231b6,_0x2ad95d,_0x2b880e,_0x6207cb,_0x5ed54a,_0x291921,_0x329468){var _0x263c96=_0x4231b6+(_0x2b880e^(_0x2ad95d|~_0x6207cb))+_0x5ed54a+_0x329468;return(_0x263c96<<_0x291921|_0x263c96>>>0x20-_0x291921)+_0x2ad95d;}_0x1d0dfb[_0x18cb28(0x448)]=_0x1323e3[_0x18cb28(0x460)](_0x53177a),_0x1d0dfb[_0x18cb28(0x3ac)]=_0x1323e3[_0x18cb28(0x2d2)](_0x53177a);}(Math),_0x2aa3bd[_0x7112d5(0x448)];}));}(_0x14d030)),_0x14d030[_0x14e3cf(0x3f7)];}var _0x754516={'exports':{}},_0x51794a={'exports':{}},_0x74dc40=_0x51794a[_0x25b562(0x3f7)],_0x1c1b04;function _0x8d5a28(){var _0x36be60=_0x25b562;return _0x1c1b04||(_0x1c1b04=0x1,function(_0x553341,_0x30505e){(function(_0x932d67,_0x5293b2){_0x553341['exports']=_0x5293b2(_0x22bef9());}(_0x74dc40,function(_0x2dbe9f){var _0x5669ba=_0x1012;return(function(){var _0x370171=_0x1012,_0x4aa4d1=_0x2dbe9f,_0x4c8d17=_0x4aa4d1['lib'],_0x5ffff6=_0x4c8d17[_0x370171(0x406)],_0x1185ec=_0x4c8d17[_0x370171(0x38f)],_0x24d133=_0x4aa4d1['algo'],_0x338b38=[],_0x35191b=_0x24d133[_0x370171(0x20d)]=_0x1185ec['extend']({'_doReset':function(){var _0x559b5e=_0x370171;this[_0x559b5e(0x4f2)]=new _0x5ffff6['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0xd8ba17,_0x55317d){var _0x5ce419=_0x370171;for(var _0x2fdd06=this[_0x5ce419(0x4f2)][_0x5ce419(0x221)],_0x22a675=_0x2fdd06[0x0],_0x257c52=_0x2fdd06[0x1],_0x35f138=_0x2fdd06[0x2],_0x4910fb=_0x2fdd06[0x3],_0x2df4d5=_0x2fdd06[0x4],_0x19f4aa=0x0;_0x19f4aa<0x50;_0x19f4aa++){if(_0x19f4aa<0x10)_0x338b38[_0x19f4aa]=_0xd8ba17[_0x55317d+_0x19f4aa]|0x0;else{var _0x28a231=_0x338b38[_0x19f4aa-0x3]^_0x338b38[_0x19f4aa-0x8]^_0x338b38[_0x19f4aa-0xe]^_0x338b38[_0x19f4aa-0x10];_0x338b38[_0x19f4aa]=_0x28a231<<0x1|_0x28a231>>>0x1f;}var _0x47aaf0=(_0x22a675<<0x5|_0x22a675>>>0x1b)+_0x2df4d5+_0x338b38[_0x19f4aa];_0x19f4aa<0x14?_0x47aaf0+=(_0x257c52&_0x35f138|~_0x257c52&_0x4910fb)+0x5a827999:_0x19f4aa<0x28?_0x47aaf0+=(_0x257c52^_0x35f138^_0x4910fb)+0x6ed9eba1:_0x19f4aa<0x3c?_0x47aaf0+=(_0x257c52&_0x35f138|_0x257c52&_0x4910fb|_0x35f138&_0x4910fb)-0x70e44324:_0x47aaf0+=(_0x257c52^_0x35f138^_0x4910fb)-0x359d3e2a,_0x2df4d5=_0x4910fb,_0x4910fb=_0x35f138,_0x35f138=_0x257c52<<0x1e|_0x257c52>>>0x2,_0x257c52=_0x22a675,_0x22a675=_0x47aaf0;}_0x2fdd06[0x0]=_0x2fdd06[0x0]+_0x22a675|0x0,_0x2fdd06[0x1]=_0x2fdd06[0x1]+_0x257c52|0x0,_0x2fdd06[0x2]=_0x2fdd06[0x2]+_0x35f138|0x0,_0x2fdd06[0x3]=_0x2fdd06[0x3]+_0x4910fb|0x0,_0x2fdd06[0x4]=_0x2fdd06[0x4]+_0x2df4d5|0x0;},'_doFinalize':function(){var _0x16a156=_0x370171,_0x27c31d=this[_0x16a156(0x1f3)],_0x14ff2f=_0x27c31d[_0x16a156(0x221)],_0x27c8e3=this[_0x16a156(0x28c)]*0x8,_0x4a7c5c=_0x27c31d[_0x16a156(0x4c4)]*0x8;return _0x14ff2f[_0x4a7c5c>>>0x5]|=0x80<<0x18-_0x4a7c5c%0x20,_0x14ff2f[(_0x4a7c5c+0x40>>>0x9<<0x4)+0xe]=Math[_0x16a156(0x4b5)](_0x27c8e3/0x100000000),_0x14ff2f[(_0x4a7c5c+0x40>>>0x9<<0x4)+0xf]=_0x27c8e3,_0x27c31d[_0x16a156(0x4c4)]=_0x14ff2f[_0x16a156(0x224)]*0x4,this['_process'](),this['_hash'];},'clone':function(){var _0x5f280c=_0x370171,_0x5e6f98=_0x1185ec['clone'][_0x5f280c(0x29a)](this);return _0x5e6f98[_0x5f280c(0x4f2)]=this[_0x5f280c(0x4f2)][_0x5f280c(0x2da)](),_0x5e6f98;}});_0x4aa4d1['SHA1']=_0x1185ec[_0x370171(0x460)](_0x35191b),_0x4aa4d1[_0x370171(0x2ec)]=_0x1185ec[_0x370171(0x2d2)](_0x35191b);}()),_0x2dbe9f[_0x5669ba(0x20d)];}));}(_0x51794a)),_0x51794a[_0x36be60(0x3f7)];}var _0x3e61ee={'exports':{}},_0x1aaba3=_0x3e61ee['exports'],_0x2f759d;function _0x244815(){var _0x218f8c=_0x25b562;return _0x2f759d||(_0x2f759d=0x1,function(_0x287cc6,_0x2f2c0f){(function(_0x4b03ee,_0x27788f){var _0x409f0c=_0x1012;_0x287cc6[_0x409f0c(0x3f7)]=_0x27788f(_0x22bef9());}(_0x1aaba3,function(_0xd6f528){(function(){var _0x12051e=_0x1012,_0x3f872c=_0xd6f528,_0x228a62=_0x3f872c['lib'],_0xe5ca1e=_0x228a62['Base'],_0x12416a=_0x3f872c['enc'],_0x137591=_0x12416a[_0x12051e(0x32c)],_0x183413=_0x3f872c['algo'];_0x183413[_0x12051e(0x2a8)]=_0xe5ca1e[_0x12051e(0x3ef)]({'init':function(_0x1d2e94,_0x4d16ea){var _0x3de95c=_0x12051e;_0x1d2e94=this[_0x3de95c(0x1f6)]=new _0x1d2e94[(_0x3de95c(0x534))](),typeof _0x4d16ea=='string'&&(_0x4d16ea=_0x137591[_0x3de95c(0x376)](_0x4d16ea));var _0x1031d5=_0x1d2e94[_0x3de95c(0x4eb)],_0x34bd21=_0x1031d5*0x4;_0x4d16ea[_0x3de95c(0x4c4)]>_0x34bd21&&(_0x4d16ea=_0x1d2e94[_0x3de95c(0x2b1)](_0x4d16ea)),_0x4d16ea[_0x3de95c(0x428)]();for(var _0x2e2cd7=this[_0x3de95c(0x245)]=_0x4d16ea['clone'](),_0x13a0d2=this[_0x3de95c(0x253)]=_0x4d16ea[_0x3de95c(0x2da)](),_0x4ea25e=_0x2e2cd7['words'],_0xf7cb81=_0x13a0d2[_0x3de95c(0x221)],_0x4947ba=0x0;_0x4947ba<_0x1031d5;_0x4947ba++)_0x4ea25e[_0x4947ba]^=0x5c5c5c5c,_0xf7cb81[_0x4947ba]^=0x36363636;_0x2e2cd7['sigBytes']=_0x13a0d2[_0x3de95c(0x4c4)]=_0x34bd21,this['reset']();},'reset':function(){var _0xcff69b=_0x12051e,_0x236619=this[_0xcff69b(0x1f6)];_0x236619[_0xcff69b(0x276)](),_0x236619[_0xcff69b(0x1fb)](this[_0xcff69b(0x253)]);},'update':function(_0x2de05d){var _0x126062=_0x12051e;return this[_0x126062(0x1f6)][_0x126062(0x1fb)](_0x2de05d),this;},'finalize':function(_0x5ce23a){var _0x23e58f=_0x12051e,_0x2a007a=this[_0x23e58f(0x1f6)],_0x4d2835=_0x2a007a[_0x23e58f(0x2b1)](_0x5ce23a);_0x2a007a[_0x23e58f(0x276)]();var _0x556bd8=_0x2a007a[_0x23e58f(0x2b1)](this[_0x23e58f(0x245)]['clone']()[_0x23e58f(0x51d)](_0x4d2835));return _0x556bd8;}});}());}));}(_0x3e61ee)),_0x3e61ee[_0x218f8c(0x3f7)];}var _0x4723cb=_0x754516['exports'],_0x21e542;function _0x48b8e4(){return _0x21e542||(_0x21e542=0x1,function(_0x57f139,_0x53e325){(function(_0x13aee2,_0x36d59,_0x222c59){_0x57f139['exports']=_0x36d59(_0x22bef9(),_0x8d5a28(),_0x244815());}(_0x4723cb,function(_0x1ece9e){return(function(){var _0x1290b9=_0x1012,_0xd62991=_0x1ece9e,_0x509e60=_0xd62991[_0x1290b9(0x528)],_0x53bd91=_0x509e60[_0x1290b9(0x497)],_0x2c378f=_0x509e60['WordArray'],_0x77a5aa=_0xd62991[_0x1290b9(0x42e)],_0x254319=_0x77a5aa[_0x1290b9(0x448)],_0x152ac9=_0x77a5aa[_0x1290b9(0x494)]=_0x53bd91[_0x1290b9(0x3ef)]({'cfg':_0x53bd91[_0x1290b9(0x3ef)]({'keySize':0x80/0x20,'hasher':_0x254319,'iterations':0x1}),'init':function(_0x461378){var _0x505726=_0x1290b9;this[_0x505726(0x302)]=this[_0x505726(0x302)][_0x505726(0x3ef)](_0x461378);},'compute':function(_0x2e561f,_0x257740){var _0x183b04=_0x1290b9;for(var _0x3c0cc5,_0xa783cc=this[_0x183b04(0x302)],_0x21ccf5=_0xa783cc[_0x183b04(0x3fa)][_0x183b04(0x48c)](),_0x23a53c=_0x2c378f[_0x183b04(0x48c)](),_0xf988ce=_0x23a53c['words'],_0x5b0d4c=_0xa783cc[_0x183b04(0x204)],_0x519b94=_0xa783cc[_0x183b04(0x4f9)];_0xf988ce[_0x183b04(0x224)]<_0x5b0d4c;){_0x3c0cc5&&_0x21ccf5[_0x183b04(0x1fb)](_0x3c0cc5),_0x3c0cc5=_0x21ccf5['update'](_0x2e561f)[_0x183b04(0x2b1)](_0x257740),_0x21ccf5['reset']();for(var _0x365abf=0x1;_0x365abf<_0x519b94;_0x365abf++)_0x3c0cc5=_0x21ccf5[_0x183b04(0x2b1)](_0x3c0cc5),_0x21ccf5[_0x183b04(0x276)]();_0x23a53c[_0x183b04(0x51d)](_0x3c0cc5);}return _0x23a53c[_0x183b04(0x4c4)]=_0x5b0d4c*0x4,_0x23a53c;}});_0xd62991[_0x1290b9(0x494)]=function(_0x5627cb,_0x5c8116,_0x5999ad){var _0x2f5db7=_0x1290b9;return _0x152ac9[_0x2f5db7(0x48c)](_0x5999ad)['compute'](_0x5627cb,_0x5c8116);};}()),_0x1ece9e['EvpKDF'];}));}(_0x754516)),_0x754516['exports'];}var _0x4fdecf={'exports':{}},_0x267c2d=_0x4fdecf['exports'],_0x1defd4;function _0x2db9d5(){var _0xfa3bc0=_0x25b562;return _0x1defd4||(_0x1defd4=0x1,function(_0xbf4c1f,_0x2d59e6){(function(_0x9f123e,_0x3b5417,_0x2e57d0){_0xbf4c1f['exports']=_0x3b5417(_0x22bef9(),_0x48b8e4());}(_0x267c2d,function(_0x318d7e){var _0x5857a3=_0x1012;_0x318d7e[_0x5857a3(0x528)][_0x5857a3(0x3ba)]||function(_0x370b66){var _0x25a7d7=_0x5857a3,_0x16ad2d=_0x318d7e,_0x5bde21=_0x16ad2d['lib'],_0x4adbea=_0x5bde21[_0x25a7d7(0x497)],_0x550905=_0x5bde21['WordArray'],_0x3fe328=_0x5bde21['BufferedBlockAlgorithm'],_0x2e5b52=_0x16ad2d[_0x25a7d7(0x439)];_0x2e5b52['Utf8'];var _0x14f878=_0x2e5b52[_0x25a7d7(0x4b3)],_0x350b98=_0x16ad2d[_0x25a7d7(0x42e)],_0xe8c75b=_0x350b98[_0x25a7d7(0x494)],_0x1bef8c=_0x5bde21[_0x25a7d7(0x3ba)]=_0x3fe328[_0x25a7d7(0x3ef)]({'cfg':_0x4adbea[_0x25a7d7(0x3ef)](),'createEncryptor':function(_0x558d77,_0x2df447){var _0x57f1a5=_0x25a7d7;return this[_0x57f1a5(0x48c)](this['_ENC_XFORM_MODE'],_0x558d77,_0x2df447);},'createDecryptor':function(_0x2d969c,_0x39cfac){var _0x53a2b7=_0x25a7d7;return this['create'](this[_0x53a2b7(0x416)],_0x2d969c,_0x39cfac);},'init':function(_0x433f42,_0x3a4269,_0x3af97d){var _0x39345d=_0x25a7d7;this[_0x39345d(0x302)]=this['cfg'][_0x39345d(0x3ef)](_0x3af97d),this[_0x39345d(0x520)]=_0x433f42,this[_0x39345d(0x47d)]=_0x3a4269,this['reset']();},'reset':function(){var _0x5e492a=_0x25a7d7;_0x3fe328[_0x5e492a(0x276)]['call'](this),this['_doReset']();},'process':function(_0x85c966){var _0x92b3bc=_0x25a7d7;return this[_0x92b3bc(0x424)](_0x85c966),this[_0x92b3bc(0x468)]();},'finalize':function(_0x2a6298){var _0x4a35cc=_0x25a7d7;_0x2a6298&&this[_0x4a35cc(0x424)](_0x2a6298);var _0x502897=this['_doFinalize']();return _0x502897;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x2f6a02(_0x27cb81){var _0x2747f6=_0x1012;return typeof _0x27cb81==_0x2747f6(0x43c)?_0x454d12:_0x36ce2e;}return function(_0xd30471){return{'encrypt':function(_0x579000,_0x421c22,_0x1519f9){return _0x2f6a02(_0x421c22)['encrypt'](_0xd30471,_0x579000,_0x421c22,_0x1519f9);},'decrypt':function(_0x1c427e,_0x251498,_0x4608b3){return _0x2f6a02(_0x251498)['decrypt'](_0xd30471,_0x1c427e,_0x251498,_0x4608b3);}};};}())});_0x5bde21[_0x25a7d7(0x4ee)]=_0x1bef8c[_0x25a7d7(0x3ef)]({'_doFinalize':function(){var _0x331533=_0x25a7d7,_0x8dae09=this[_0x331533(0x468)](!0x0);return _0x8dae09;},'blockSize':0x1});var _0x32b193=_0x16ad2d[_0x25a7d7(0x2e7)]={},_0x31fe94=_0x5bde21[_0x25a7d7(0x316)]=_0x4adbea[_0x25a7d7(0x3ef)]({'createEncryptor':function(_0x599e92,_0x100cd4){var _0x575889=_0x25a7d7;return this[_0x575889(0x1fd)]['create'](_0x599e92,_0x100cd4);},'createDecryptor':function(_0x265a2a,_0x1efdd6){var _0x1aa29d=_0x25a7d7;return this['Decryptor'][_0x1aa29d(0x48c)](_0x265a2a,_0x1efdd6);},'init':function(_0x10f0f2,_0x14015c){var _0xbca420=_0x25a7d7;this[_0xbca420(0x464)]=_0x10f0f2,this[_0xbca420(0x21a)]=_0x14015c;}}),_0x2a9d2c=_0x32b193[_0x25a7d7(0x24f)]=(function(){var _0x5c2cc2=_0x25a7d7,_0x100c9c=_0x31fe94[_0x5c2cc2(0x3ef)]();_0x100c9c[_0x5c2cc2(0x1fd)]=_0x100c9c[_0x5c2cc2(0x3ef)]({'processBlock':function(_0x33f599,_0x460981){var _0x2eb332=_0x5c2cc2,_0x4d495b=this[_0x2eb332(0x464)],_0x15402b=_0x4d495b[_0x2eb332(0x4eb)];_0x5aac98[_0x2eb332(0x29a)](this,_0x33f599,_0x460981,_0x15402b),_0x4d495b[_0x2eb332(0x3dd)](_0x33f599,_0x460981),this[_0x2eb332(0x3cd)]=_0x33f599[_0x2eb332(0x317)](_0x460981,_0x460981+_0x15402b);}}),_0x100c9c[_0x5c2cc2(0x1ee)]=_0x100c9c[_0x5c2cc2(0x3ef)]({'processBlock':function(_0x1ba324,_0x4797e0){var _0x4e262a=_0x5c2cc2,_0xf36a17=this['_cipher'],_0x5c7d0c=_0xf36a17[_0x4e262a(0x4eb)],_0x1d8d8b=_0x1ba324[_0x4e262a(0x317)](_0x4797e0,_0x4797e0+_0x5c7d0c);_0xf36a17[_0x4e262a(0x526)](_0x1ba324,_0x4797e0),_0x5aac98[_0x4e262a(0x29a)](this,_0x1ba324,_0x4797e0,_0x5c7d0c),this[_0x4e262a(0x3cd)]=_0x1d8d8b;}});function _0x5aac98(_0xf1d02f,_0x2e26c3,_0x2c9e0b){var _0x206347=_0x5c2cc2,_0x1786c5,_0x3acbfd=this[_0x206347(0x21a)];_0x3acbfd?(_0x1786c5=_0x3acbfd,this[_0x206347(0x21a)]=_0x370b66):_0x1786c5=this[_0x206347(0x3cd)];for(var _0x3d992a=0x0;_0x3d992a<_0x2c9e0b;_0x3d992a++)_0xf1d02f[_0x2e26c3+_0x3d992a]^=_0x1786c5[_0x3d992a];}return _0x100c9c;}()),_0x53c155=_0x16ad2d[_0x25a7d7(0x50f)]={},_0x38e5e1=_0x53c155['Pkcs7']={'pad':function(_0x5be89d,_0x4f27fc){var _0x46aa42=_0x25a7d7;for(var _0x13df5f=_0x4f27fc*0x4,_0x5e791d=_0x13df5f-_0x5be89d[_0x46aa42(0x4c4)]%_0x13df5f,_0x1022e8=_0x5e791d<<0x18|_0x5e791d<<0x10|_0x5e791d<<0x8|_0x5e791d,_0xfe5107=[],_0x3d9eab=0x0;_0x3d9eab<_0x5e791d;_0x3d9eab+=0x4)_0xfe5107[_0x46aa42(0x2d7)](_0x1022e8);var _0x15be0f=_0x550905[_0x46aa42(0x48c)](_0xfe5107,_0x5e791d);_0x5be89d[_0x46aa42(0x51d)](_0x15be0f);},'unpad':function(_0x5a48d5){var _0x20d6f9=_0x25a7d7,_0x26d39d=_0x5a48d5[_0x20d6f9(0x221)][_0x5a48d5[_0x20d6f9(0x4c4)]-0x1>>>0x2]&0xff;_0x5a48d5[_0x20d6f9(0x4c4)]-=_0x26d39d;}};_0x5bde21['BlockCipher']=_0x1bef8c[_0x25a7d7(0x3ef)]({'cfg':_0x1bef8c[_0x25a7d7(0x302)]['extend']({'mode':_0x2a9d2c,'padding':_0x38e5e1}),'reset':function(){var _0x1327ec=_0x25a7d7,_0x443be6;_0x1bef8c['reset'][_0x1327ec(0x29a)](this);var _0xa08a4e=this['cfg'],_0x19c749=_0xa08a4e['iv'],_0x35e47a=_0xa08a4e[_0x1327ec(0x2e7)];this[_0x1327ec(0x520)]==this['_ENC_XFORM_MODE']?_0x443be6=_0x35e47a['createEncryptor']:(_0x443be6=_0x35e47a['createDecryptor'],this[_0x1327ec(0x24b)]=0x1),this[_0x1327ec(0x471)]&&this[_0x1327ec(0x471)][_0x1327ec(0x4e8)]==_0x443be6?this[_0x1327ec(0x471)]['init'](this,_0x19c749&&_0x19c749[_0x1327ec(0x221)]):(this[_0x1327ec(0x471)]=_0x443be6[_0x1327ec(0x29a)](_0x35e47a,this,_0x19c749&&_0x19c749[_0x1327ec(0x221)]),this[_0x1327ec(0x471)]['__creator']=_0x443be6);},'_doProcessBlock':function(_0x5b0979,_0xe504ec){var _0x4e3a09=_0x25a7d7;this[_0x4e3a09(0x471)][_0x4e3a09(0x23c)](_0x5b0979,_0xe504ec);},'_doFinalize':function(){var _0x5cebe4=_0x25a7d7,_0x1181ba,_0x4d4a86=this['cfg'][_0x5cebe4(0x37d)];return this[_0x5cebe4(0x520)]==this[_0x5cebe4(0x51e)]?(_0x4d4a86[_0x5cebe4(0x50f)](this[_0x5cebe4(0x1f3)],this[_0x5cebe4(0x4eb)]),_0x1181ba=this[_0x5cebe4(0x468)](!0x0)):(_0x1181ba=this[_0x5cebe4(0x468)](!0x0),_0x4d4a86[_0x5cebe4(0x483)](_0x1181ba)),_0x1181ba;},'blockSize':0x80/0x20});var _0x49bb61=_0x5bde21[_0x25a7d7(0x305)]=_0x4adbea[_0x25a7d7(0x3ef)]({'init':function(_0x5b481f){var _0x16aab6=_0x25a7d7;this[_0x16aab6(0x457)](_0x5b481f);},'toString':function(_0x210319){var _0x10fad6=_0x25a7d7;return(_0x210319||this[_0x10fad6(0x516)])[_0x10fad6(0x52f)](this);}}),_0x47ca07=_0x16ad2d[_0x25a7d7(0x358)]={},_0x414f9c=_0x47ca07['OpenSSL']={'stringify':function(_0x22ae2a){var _0x45c9a2=_0x25a7d7,_0x36d129,_0x2c0cbe=_0x22ae2a[_0x45c9a2(0x2f0)],_0x2bf34e=_0x22ae2a['salt'];return _0x2bf34e?_0x36d129=_0x550905[_0x45c9a2(0x48c)]([0x53616c74,0x65645f5f])[_0x45c9a2(0x51d)](_0x2bf34e)[_0x45c9a2(0x51d)](_0x2c0cbe):_0x36d129=_0x2c0cbe,_0x36d129[_0x45c9a2(0x1ef)](_0x14f878);},'parse':function(_0x3f9052){var _0x5bb205=_0x25a7d7,_0x262769,_0x2c25ef=_0x14f878[_0x5bb205(0x376)](_0x3f9052),_0x4c95e2=_0x2c25ef['words'];return _0x4c95e2[0x0]==0x53616c74&&_0x4c95e2[0x1]==0x65645f5f&&(_0x262769=_0x550905[_0x5bb205(0x48c)](_0x4c95e2[_0x5bb205(0x317)](0x2,0x4)),_0x4c95e2[_0x5bb205(0x1e2)](0x0,0x4),_0x2c25ef[_0x5bb205(0x4c4)]-=0x10),_0x49bb61[_0x5bb205(0x48c)]({'ciphertext':_0x2c25ef,'salt':_0x262769});}},_0x36ce2e=_0x5bde21[_0x25a7d7(0x425)]=_0x4adbea['extend']({'cfg':_0x4adbea[_0x25a7d7(0x3ef)]({'format':_0x414f9c}),'encrypt':function(_0x3879ac,_0x544c00,_0x1e904f,_0x2404b1){var _0x5a7137=_0x25a7d7;_0x2404b1=this[_0x5a7137(0x302)][_0x5a7137(0x3ef)](_0x2404b1);var _0x3325b0=_0x3879ac[_0x5a7137(0x4c5)](_0x1e904f,_0x2404b1),_0xfbeb62=_0x3325b0['finalize'](_0x544c00),_0x1db303=_0x3325b0[_0x5a7137(0x302)];return _0x49bb61[_0x5a7137(0x48c)]({'ciphertext':_0xfbeb62,'key':_0x1e904f,'iv':_0x1db303['iv'],'algorithm':_0x3879ac,'mode':_0x1db303[_0x5a7137(0x2e7)],'padding':_0x1db303[_0x5a7137(0x37d)],'blockSize':_0x3879ac[_0x5a7137(0x4eb)],'formatter':_0x2404b1['format']});},'decrypt':function(_0x34c210,_0x1e22cb,_0x50c1d1,_0x5e3db8){var _0x547f1c=_0x25a7d7;_0x5e3db8=this[_0x547f1c(0x302)][_0x547f1c(0x3ef)](_0x5e3db8),_0x1e22cb=this['_parse'](_0x1e22cb,_0x5e3db8[_0x547f1c(0x358)]);var _0x295609=_0x34c210[_0x547f1c(0x1f5)](_0x50c1d1,_0x5e3db8)[_0x547f1c(0x2b1)](_0x1e22cb[_0x547f1c(0x2f0)]);return _0x295609;},'_parse':function(_0x2ebd51,_0x58aaac){var _0xf23167=_0x25a7d7;return typeof _0x2ebd51=='string'?_0x58aaac[_0xf23167(0x376)](_0x2ebd51,this):_0x2ebd51;}}),_0x33751f=_0x16ad2d[_0x25a7d7(0x519)]={},_0x219b92=_0x33751f[_0x25a7d7(0x1b2)]={'execute':function(_0x20ad79,_0x23479c,_0x20f1dd,_0x428f1c,_0x4819ac){var _0x1cdd12=_0x25a7d7;if(_0x428f1c||(_0x428f1c=_0x550905[_0x1cdd12(0x365)](0x40/0x8)),_0x4819ac)var _0x27af27=_0xe8c75b['create']({'keySize':_0x23479c+_0x20f1dd,'hasher':_0x4819ac})[_0x1cdd12(0x3b1)](_0x20ad79,_0x428f1c);else var _0x27af27=_0xe8c75b[_0x1cdd12(0x48c)]({'keySize':_0x23479c+_0x20f1dd})[_0x1cdd12(0x3b1)](_0x20ad79,_0x428f1c);var _0x2d41e5=_0x550905[_0x1cdd12(0x48c)](_0x27af27[_0x1cdd12(0x221)][_0x1cdd12(0x317)](_0x23479c),_0x20f1dd*0x4);return _0x27af27[_0x1cdd12(0x4c4)]=_0x23479c*0x4,_0x49bb61['create']({'key':_0x27af27,'iv':_0x2d41e5,'salt':_0x428f1c});}},_0x454d12=_0x5bde21[_0x25a7d7(0x263)]=_0x36ce2e[_0x25a7d7(0x3ef)]({'cfg':_0x36ce2e[_0x25a7d7(0x302)][_0x25a7d7(0x3ef)]({'kdf':_0x219b92}),'encrypt':function(_0x5d8ca7,_0x5042df,_0x3f9759,_0x2e9f54){var _0x24836b=_0x25a7d7;_0x2e9f54=this['cfg'][_0x24836b(0x3ef)](_0x2e9f54);var _0x430a77=_0x2e9f54[_0x24836b(0x519)][_0x24836b(0x282)](_0x3f9759,_0x5d8ca7['keySize'],_0x5d8ca7[_0x24836b(0x467)],_0x2e9f54[_0x24836b(0x454)],_0x2e9f54[_0x24836b(0x3fa)]);_0x2e9f54['iv']=_0x430a77['iv'];var _0xb257c6=_0x36ce2e[_0x24836b(0x2b7)][_0x24836b(0x29a)](this,_0x5d8ca7,_0x5042df,_0x430a77[_0x24836b(0x4c9)],_0x2e9f54);return _0xb257c6[_0x24836b(0x457)](_0x430a77),_0xb257c6;},'decrypt':function(_0x6dcbdd,_0x4d5966,_0x4678c2,_0x395540){var _0x2b4c30=_0x25a7d7;_0x395540=this[_0x2b4c30(0x302)][_0x2b4c30(0x3ef)](_0x395540),_0x4d5966=this[_0x2b4c30(0x2a9)](_0x4d5966,_0x395540['format']);var _0x6ec740=_0x395540['kdf'][_0x2b4c30(0x282)](_0x4678c2,_0x6dcbdd[_0x2b4c30(0x204)],_0x6dcbdd['ivSize'],_0x4d5966[_0x2b4c30(0x454)],_0x395540[_0x2b4c30(0x3fa)]);_0x395540['iv']=_0x6ec740['iv'];var _0x421c36=_0x36ce2e[_0x2b4c30(0x206)][_0x2b4c30(0x29a)](this,_0x6dcbdd,_0x4d5966,_0x6ec740[_0x2b4c30(0x4c9)],_0x395540);return _0x421c36;}});}();}));}(_0x4fdecf)),_0x4fdecf[_0xfa3bc0(0x3f7)];}var _0x5f3dcd=_0x1bbed0['exports'],_0x359cf3;function _0x1fc129(){return _0x359cf3||(_0x359cf3=0x1,function(_0x4da2ca,_0xdd5db3){(function(_0x1b39bf,_0x37f87e,_0x4f9fa8){var _0x377ea0=_0x1012;_0x4da2ca[_0x377ea0(0x3f7)]=_0x37f87e(_0x22bef9(),_0x4e67f6(),_0x19007c(),_0x48b8e4(),_0x2db9d5());}(_0x5f3dcd,function(_0x38eaee){return(function(){var _0xa04c2d=_0x1012,_0x1126eb=_0x38eaee,_0x2cc5c7=_0x1126eb[_0xa04c2d(0x528)],_0x45edfa=_0x2cc5c7['BlockCipher'],_0x88630a=_0x1126eb[_0xa04c2d(0x42e)],_0x50ba20=[],_0x3dabba=[],_0x1c6825=[],_0x1df792=[],_0x169534=[],_0x33e29e=[],_0x56d752=[],_0x4c76f4=[],_0x48d8b0=[],_0x411670=[];(function(){for(var _0x4a3343=[],_0xfd2929=0x0;_0xfd2929<0x100;_0xfd2929++)_0xfd2929<0x80?_0x4a3343[_0xfd2929]=_0xfd2929<<0x1:_0x4a3343[_0xfd2929]=_0xfd2929<<0x1^0x11b;for(var _0x592522=0x0,_0x4eb382=0x0,_0xfd2929=0x0;_0xfd2929<0x100;_0xfd2929++){var _0x51926c=_0x4eb382^_0x4eb382<<0x1^_0x4eb382<<0x2^_0x4eb382<<0x3^_0x4eb382<<0x4;_0x51926c=_0x51926c>>>0x8^_0x51926c&0xff^0x63,_0x50ba20[_0x592522]=_0x51926c,_0x3dabba[_0x51926c]=_0x592522;var _0x2dc4bf=_0x4a3343[_0x592522],_0x2669f9=_0x4a3343[_0x2dc4bf],_0x3027fa=_0x4a3343[_0x2669f9],_0x46244b=_0x4a3343[_0x51926c]*0x101^_0x51926c*0x1010100;_0x1c6825[_0x592522]=_0x46244b<<0x18|_0x46244b>>>0x8,_0x1df792[_0x592522]=_0x46244b<<0x10|_0x46244b>>>0x10,_0x169534[_0x592522]=_0x46244b<<0x8|_0x46244b>>>0x18,_0x33e29e[_0x592522]=_0x46244b;var _0x46244b=_0x3027fa*0x1010101^_0x2669f9*0x10001^_0x2dc4bf*0x101^_0x592522*0x1010100;_0x56d752[_0x51926c]=_0x46244b<<0x18|_0x46244b>>>0x8,_0x4c76f4[_0x51926c]=_0x46244b<<0x10|_0x46244b>>>0x10,_0x48d8b0[_0x51926c]=_0x46244b<<0x8|_0x46244b>>>0x18,_0x411670[_0x51926c]=_0x46244b,_0x592522?(_0x592522=_0x2dc4bf^_0x4a3343[_0x4a3343[_0x4a3343[_0x3027fa^_0x2dc4bf]]],_0x4eb382^=_0x4a3343[_0x4a3343[_0x4eb382]]):_0x592522=_0x4eb382=0x1;}}());var _0x31b0ba=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x3dbb2f=_0x88630a['AES']=_0x45edfa['extend']({'_doReset':function(){var _0x54151e=_0xa04c2d,_0x4dc615;if(!(this[_0x54151e(0x36d)]&&this['_keyPriorReset']===this['_key'])){for(var _0x587ebe=this[_0x54151e(0x52e)]=this[_0x54151e(0x47d)],_0x2ea1af=_0x587ebe[_0x54151e(0x221)],_0x437d8f=_0x587ebe[_0x54151e(0x4c4)]/0x4,_0x29f94f=this[_0x54151e(0x36d)]=_0x437d8f+0x6,_0x99a10b=(_0x29f94f+0x1)*0x4,_0xb76435=this[_0x54151e(0x3e6)]=[],_0xa8988c=0x0;_0xa8988c<_0x99a10b;_0xa8988c++)_0xa8988c<_0x437d8f?_0xb76435[_0xa8988c]=_0x2ea1af[_0xa8988c]:(_0x4dc615=_0xb76435[_0xa8988c-0x1],_0xa8988c%_0x437d8f?_0x437d8f>0x6&&_0xa8988c%_0x437d8f==0x4&&(_0x4dc615=_0x50ba20[_0x4dc615>>>0x18]<<0x18|_0x50ba20[_0x4dc615>>>0x10&0xff]<<0x10|_0x50ba20[_0x4dc615>>>0x8&0xff]<<0x8|_0x50ba20[_0x4dc615&0xff]):(_0x4dc615=_0x4dc615<<0x8|_0x4dc615>>>0x18,_0x4dc615=_0x50ba20[_0x4dc615>>>0x18]<<0x18|_0x50ba20[_0x4dc615>>>0x10&0xff]<<0x10|_0x50ba20[_0x4dc615>>>0x8&0xff]<<0x8|_0x50ba20[_0x4dc615&0xff],_0x4dc615^=_0x31b0ba[_0xa8988c/_0x437d8f|0x0]<<0x18),_0xb76435[_0xa8988c]=_0xb76435[_0xa8988c-_0x437d8f]^_0x4dc615);for(var _0x519db3=this[_0x54151e(0x4da)]=[],_0xcd71f=0x0;_0xcd71f<_0x99a10b;_0xcd71f++){var _0xa8988c=_0x99a10b-_0xcd71f;if(_0xcd71f%0x4)var _0x4dc615=_0xb76435[_0xa8988c];else var _0x4dc615=_0xb76435[_0xa8988c-0x4];_0xcd71f<0x4||_0xa8988c<=0x4?_0x519db3[_0xcd71f]=_0x4dc615:_0x519db3[_0xcd71f]=_0x56d752[_0x50ba20[_0x4dc615>>>0x18]]^_0x4c76f4[_0x50ba20[_0x4dc615>>>0x10&0xff]]^_0x48d8b0[_0x50ba20[_0x4dc615>>>0x8&0xff]]^_0x411670[_0x50ba20[_0x4dc615&0xff]];}}},'encryptBlock':function(_0x388c22,_0x3b6cd0){var _0x1e5a0f=_0xa04c2d;this[_0x1e5a0f(0x536)](_0x388c22,_0x3b6cd0,this[_0x1e5a0f(0x3e6)],_0x1c6825,_0x1df792,_0x169534,_0x33e29e,_0x50ba20);},'decryptBlock':function(_0x44b5ee,_0xa25adc){var _0x3012da=_0xa04c2d,_0x945d86=_0x44b5ee[_0xa25adc+0x1];_0x44b5ee[_0xa25adc+0x1]=_0x44b5ee[_0xa25adc+0x3],_0x44b5ee[_0xa25adc+0x3]=_0x945d86,this['_doCryptBlock'](_0x44b5ee,_0xa25adc,this[_0x3012da(0x4da)],_0x56d752,_0x4c76f4,_0x48d8b0,_0x411670,_0x3dabba);var _0x945d86=_0x44b5ee[_0xa25adc+0x1];_0x44b5ee[_0xa25adc+0x1]=_0x44b5ee[_0xa25adc+0x3],_0x44b5ee[_0xa25adc+0x3]=_0x945d86;},'_doCryptBlock':function(_0x262431,_0x5c9bb6,_0xcb8020,_0x226b77,_0x337265,_0x4e961e,_0x5d6667,_0x3f429f){var _0x2c85f8=_0xa04c2d;for(var _0x542dc8=this[_0x2c85f8(0x36d)],_0x227a57=_0x262431[_0x5c9bb6]^_0xcb8020[0x0],_0x27de7d=_0x262431[_0x5c9bb6+0x1]^_0xcb8020[0x1],_0x9d8899=_0x262431[_0x5c9bb6+0x2]^_0xcb8020[0x2],_0x1a86b5=_0x262431[_0x5c9bb6+0x3]^_0xcb8020[0x3],_0x5cb5c9=0x4,_0xb1abde=0x1;_0xb1abde<_0x542dc8;_0xb1abde++){var _0x12923d=_0x226b77[_0x227a57>>>0x18]^_0x337265[_0x27de7d>>>0x10&0xff]^_0x4e961e[_0x9d8899>>>0x8&0xff]^_0x5d6667[_0x1a86b5&0xff]^_0xcb8020[_0x5cb5c9++],_0x49cfc0=_0x226b77[_0x27de7d>>>0x18]^_0x337265[_0x9d8899>>>0x10&0xff]^_0x4e961e[_0x1a86b5>>>0x8&0xff]^_0x5d6667[_0x227a57&0xff]^_0xcb8020[_0x5cb5c9++],_0x5217ab=_0x226b77[_0x9d8899>>>0x18]^_0x337265[_0x1a86b5>>>0x10&0xff]^_0x4e961e[_0x227a57>>>0x8&0xff]^_0x5d6667[_0x27de7d&0xff]^_0xcb8020[_0x5cb5c9++],_0xf061fc=_0x226b77[_0x1a86b5>>>0x18]^_0x337265[_0x227a57>>>0x10&0xff]^_0x4e961e[_0x27de7d>>>0x8&0xff]^_0x5d6667[_0x9d8899&0xff]^_0xcb8020[_0x5cb5c9++];_0x227a57=_0x12923d,_0x27de7d=_0x49cfc0,_0x9d8899=_0x5217ab,_0x1a86b5=_0xf061fc;}var _0x12923d=(_0x3f429f[_0x227a57>>>0x18]<<0x18|_0x3f429f[_0x27de7d>>>0x10&0xff]<<0x10|_0x3f429f[_0x9d8899>>>0x8&0xff]<<0x8|_0x3f429f[_0x1a86b5&0xff])^_0xcb8020[_0x5cb5c9++],_0x49cfc0=(_0x3f429f[_0x27de7d>>>0x18]<<0x18|_0x3f429f[_0x9d8899>>>0x10&0xff]<<0x10|_0x3f429f[_0x1a86b5>>>0x8&0xff]<<0x8|_0x3f429f[_0x227a57&0xff])^_0xcb8020[_0x5cb5c9++],_0x5217ab=(_0x3f429f[_0x9d8899>>>0x18]<<0x18|_0x3f429f[_0x1a86b5>>>0x10&0xff]<<0x10|_0x3f429f[_0x227a57>>>0x8&0xff]<<0x8|_0x3f429f[_0x27de7d&0xff])^_0xcb8020[_0x5cb5c9++],_0xf061fc=(_0x3f429f[_0x1a86b5>>>0x18]<<0x18|_0x3f429f[_0x227a57>>>0x10&0xff]<<0x10|_0x3f429f[_0x27de7d>>>0x8&0xff]<<0x8|_0x3f429f[_0x9d8899&0xff])^_0xcb8020[_0x5cb5c9++];_0x262431[_0x5c9bb6]=_0x12923d,_0x262431[_0x5c9bb6+0x1]=_0x49cfc0,_0x262431[_0x5c9bb6+0x2]=_0x5217ab,_0x262431[_0x5c9bb6+0x3]=_0xf061fc;},'keySize':0x100/0x20});_0x1126eb[_0xa04c2d(0x351)]=_0x45edfa['_createHelper'](_0x3dbb2f);}()),_0x38eaee['AES'];}));}(_0x1bbed0)),_0x1bbed0['exports'];}var _0x5cf68d=_0x1fc129();const _0x5b1550=_0x387951(_0x5cf68d);var _0x5b011f=_0x4e67f6();const _0x5b4b32=_0x387951(_0x5b011f);var _0x27f1e4={'exports':{}},_0x311bb0=_0x27f1e4[_0x25b562(0x3f7)],_0x302f06;function _0x5d90fb(){var _0x104db7=_0x25b562;return _0x302f06||(_0x302f06=0x1,function(_0x3b8ace,_0xad0bb7){(function(_0x3f2912,_0x421ebb){var _0x36d018=_0x1012;_0x3b8ace[_0x36d018(0x3f7)]=_0x421ebb(_0x22bef9());}(_0x311bb0,function(_0x257032){var _0xf994a9=_0x1012;return _0x257032['enc'][_0xf994a9(0x32c)];}));}(_0x27f1e4)),_0x27f1e4[_0x104db7(0x3f7)];}var _0xafa8f9=_0x5d90fb();const _0x9594e0=_0x387951(_0xafa8f9);var _0x4f30fb={'exports':{}},_0x4fad47=_0x4f30fb['exports'],_0x297f07;function _0x2eae1f(){return _0x297f07||(_0x297f07=0x1,function(_0x237067,_0x1c5f77){(function(_0x328040,_0x33fbaa){var _0x37b780=_0x1012;_0x237067[_0x37b780(0x3f7)]=_0x33fbaa(_0x22bef9());}(_0x4fad47,function(_0x234205){var _0x211a36=_0x1012;return(function(){var _0x363f78=_0x1012;if(typeof ArrayBuffer==_0x363f78(0x234)){var _0x703a92=_0x234205,_0x305414=_0x703a92[_0x363f78(0x528)],_0x4f6dd5=_0x305414['WordArray'],_0x555017=_0x4f6dd5[_0x363f78(0x534)],_0x5c2cb8=_0x4f6dd5['init']=function(_0x12be96){var _0x125809=_0x363f78;if(_0x12be96 instanceof ArrayBuffer&&(_0x12be96=new Uint8Array(_0x12be96)),(_0x12be96 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x12be96 instanceof Uint8ClampedArray||_0x12be96 instanceof Int16Array||_0x12be96 instanceof Uint16Array||_0x12be96 instanceof Int32Array||_0x12be96 instanceof Uint32Array||_0x12be96 instanceof Float32Array||_0x12be96 instanceof Float64Array)&&(_0x12be96=new Uint8Array(_0x12be96[_0x125809(0x1e3)],_0x12be96[_0x125809(0x2cf)],_0x12be96[_0x125809(0x2c4)])),_0x12be96 instanceof Uint8Array){for(var _0x37cadd=_0x12be96['byteLength'],_0x4f7564=[],_0x4e72b9=0x0;_0x4e72b9<_0x37cadd;_0x4e72b9++)_0x4f7564[_0x4e72b9>>>0x2]|=_0x12be96[_0x4e72b9]<<0x18-_0x4e72b9%0x4*0x8;_0x555017[_0x125809(0x29a)](this,_0x4f7564,_0x37cadd);}else _0x555017[_0x125809(0x2d4)](this,arguments);};_0x5c2cb8[_0x363f78(0x3d7)]=_0x4f6dd5;}}()),_0x234205[_0x211a36(0x528)][_0x211a36(0x406)];}));}(_0x4f30fb)),_0x4f30fb['exports'];}var _0x4b3609=_0x2eae1f();const _0x3596fc=_0x387951(_0x4b3609);var _0x31dd04={'exports':{}},_0x695f84=_0x31dd04[_0x25b562(0x3f7)],_0x203a1a;function _0x300e29(){var _0x1dd4ec=_0x25b562;return _0x203a1a||(_0x203a1a=0x1,function(_0x2efe87,_0x36f40e){(function(_0x4683bf,_0x259e38,_0x4fcc2d){_0x2efe87['exports']=_0x259e38(_0x22bef9(),_0x2db9d5());}(_0x695f84,function(_0x5c38f4){var _0x4a2dcc=_0x1012;return _0x5c38f4[_0x4a2dcc(0x50f)][_0x4a2dcc(0x438)]={'pad':function(){},'unpad':function(){}},_0x5c38f4[_0x4a2dcc(0x50f)][_0x4a2dcc(0x438)];}));}(_0x31dd04)),_0x31dd04[_0x1dd4ec(0x3f7)];}var _0x2db853=_0x300e29();const _0x3d0299=_0x387951(_0x2db853);function _0x106572(_0x407831,_0x4ba771){var _0x1fba45=_0x25b562;const _0xea6f71=_0x4ba771-_0x407831[_0x1fba45(0x224)]%_0x4ba771,_0x5e8156=String[_0x1fba45(0x1fa)](_0xea6f71)[_0x1fba45(0x2d3)](_0xea6f71);return _0x407831+_0x5e8156;}function _0x4b3e01(_0x3d6ded,_0x520d98){var _0x268e62=_0x25b562;const _0x3ee30f=_0x3596fc[_0x268e62(0x365)](0x10),_0x17e9dd=_0x106572(_0x3d6ded,0x10),_0x35b74a=_0x5b1550[_0x268e62(0x2b7)](_0x9594e0[_0x268e62(0x376)](_0x17e9dd),_0x5b4b32[_0x268e62(0x376)](_0x520d98),{'iv':_0x3ee30f,'padding':_0x3d0299});return _0x3ee30f[_0x268e62(0x51d)](_0x35b74a[_0x268e62(0x2f0)])[_0x268e62(0x1ef)](_0x5b4b32);}function _0x5bb7b8(){var _0x3fed6a=_0x25b562;const _0x2bb7d4=_0x41661c[_0x3fed6a(0x1d1)]()[_0x3fed6a(0x3d9)];if(_0x2bb7d4){const _0x18f63b={'time':Math['floor'](Date[_0x3fed6a(0x25d)]()/0x3e8),'domain':location[_0x3fed6a(0x4e0)]};return _0x4b3e01(JSON[_0x3fed6a(0x52f)](_0x18f63b),_0x2bb7d4);}}var _0x4500a1=Object[_0x25b562(0x459)],_0x30dd6b=(_0xcc7f7,_0x8934c0,_0x16303b,_0x4701e4)=>{for(var _0x1a3f6f=_0x4701e4>0x1?void 0x0:_0x4701e4?_0x4500a1(_0x8934c0,_0x16303b):_0x8934c0,_0x33161c=_0xcc7f7['length']-0x1,_0x1029b6;_0x33161c>=0x0;_0x33161c--)(_0x1029b6=_0xcc7f7[_0x33161c])&&(_0x1a3f6f=_0x1029b6(_0x1a3f6f)||_0x1a3f6f);return _0x1a3f6f;},_0x18224a=(_0x5e63da,_0x125e46)=>(_0x526fe4,_0x4570e8)=>_0x125e46(_0x526fe4,_0x4570e8,_0x5e63da);let _0x3d730=class{constructor(_0x9f3980){var _0x11d24c=_0x25b562;this[_0x11d24c(0x4a6)]=_0x9f3980,this['_initRequestHeader']();}[_0x25b562(0x242)](){var _0x3e7fa8=_0x25b562;this[_0x3e7fa8(0x4a6)][_0x3e7fa8(0x20a)]({'interceptor':(_0x3a1e7e,_0x5f4ab2)=>{var _0x5d7cf6=_0x3e7fa8;const _0x23b13a=_0x3a1e7e['headers'],_0x2358b1=_0x5bb7b8();return _0x2358b1&&_0x23b13a[_0x5d7cf6(0x1cb)]('x-univer-host',_0x2358b1),_0x5f4ab2(_0x3a1e7e);}});}};_0x3d730=_0x30dd6b([_0x18224a(0x0,_0x417a6f['Inject'](_0x56d0a7['HTTPService']))],_0x3d730);var _0xa3514e=Object[_0x25b562(0x459)],_0x24ea4a=(_0x4feef3,_0xd461e6,_0x25dd24,_0x16e43d)=>{var _0x4fda82=_0x25b562;for(var _0x462dfc=_0x16e43d>0x1?void 0x0:_0x16e43d?_0xa3514e(_0xd461e6,_0x25dd24):_0xd461e6,_0x17030f=_0x4feef3[_0x4fda82(0x224)]-0x1,_0x58e372;_0x17030f>=0x0;_0x17030f--)(_0x58e372=_0x4feef3[_0x17030f])&&(_0x462dfc=_0x58e372(_0x462dfc)||_0x462dfc);return _0x462dfc;},_0x43c52b=(_0xe11c52,_0x4fbb34)=>(_0x28aceb,_0x3411fa)=>_0x4fbb34(_0x28aceb,_0x3411fa,_0xe11c52);_0x2aaff0[_0x25b562(0x384)]=class extends _0x417a6f[_0x25b562(0x474)]{constructor(_0x1d04c7,_0x3809de,_0x3a5134){var _0x543496=_0x25b562;super(),_0x156e65(this,_0x543496(0x25c),new _0x392915['BehaviorSubject'](null)),_0x156e65(this,_0x543496(0x25a),this[_0x543496(0x25c)]['asObservable']()),(this[_0x543496(0x39f)]=_0x1d04c7,this[_0x543496(0x491)]=_0x3809de,this['_localCacheService']=_0x3a5134);}async[_0x25b562(0x43d)](_0x195d6a,_0x411ce3,_0x40103d){var _0x43971b=_0x25b562;this[_0x43971b(0x25c)]['next']({'unitId':_0x195d6a,'type':_0x411ce3,'subUnitId':_0x40103d});let _0x5adfe4=null;switch(_0x411ce3){case _0x530a50[_0x43971b(0x324)]:{_0x5adfe4=await this[_0x43971b(0x4f0)](_0x195d6a);break;}case _0x530a50[_0x43971b(0x3dc)]:{_0x5adfe4=await this[_0x43971b(0x535)](_0x195d6a);break;}default:{this[_0x43971b(0x39f)]['error'](_0x43971b(0x1d5),_0x43971b(0x401));break;}}return _0x5adfe4;}async[_0x25b562(0x4f0)](_0x4ec321){var _0x5afbdc=_0x25b562,_0xe297b9;let _0xd3aaa1=0x0;const _0x47e00b=await((_0xe297b9=this[_0x5afbdc(0x426)])==null?void 0x0:_0xe297b9['loadOfflineData'](_0x4ec321));return _0x47e00b&&(_0x47e00b[_0x5afbdc(0x1b0)]||_0x47e00b['mutations'][_0x5afbdc(0x224)]!==0x0)&&(_0xd3aaa1=_0x47e00b[_0x5afbdc(0x39b)]),_0xd3aaa1===0x0&&this[_0x5afbdc(0x39f)]['debug'](_0x5afbdc(0x1d5),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x5afbdc(0x491)]['loadSheet'](_0x4ec321,_0xd3aaa1);}async[_0x25b562(0x535)](_0x195729){var _0x10de41=_0x25b562,_0x4390f1;let _0x3077e8=0x0;const _0x58ea85=await((_0x4390f1=this[_0x10de41(0x426)])==null?void 0x0:_0x4390f1[_0x10de41(0x458)](_0x195729));return _0x58ea85&&(_0x58ea85[_0x10de41(0x1b0)]||_0x58ea85[_0x10de41(0x211)][_0x10de41(0x224)]!==0x0)&&(_0x3077e8=_0x58ea85[_0x10de41(0x39b)]),_0x3077e8===0x0&&this[_0x10de41(0x39f)][_0x10de41(0x3bd)](_0x10de41(0x1d5),_0x10de41(0x43a)),this['_snapshotService'][_0x10de41(0x2f3)](_0x195729,_0x3077e8);}},_0x2aaff0[_0x25b562(0x384)]=_0x24ea4a([_0x43c52b(0x0,_0x417a6f[_0x25b562(0x418)]),_0x43c52b(0x1,_0x417a6f[_0x25b562(0x4c8)](_0x37c004[_0x25b562(0x2ae)])),_0x43c52b(0x2,_0x417a6f[_0x25b562(0x392)](_0x2f8b36))],_0x2aaff0[_0x25b562(0x384)]);var _0x720df7=Object[_0x25b562(0x459)],_0x1f5312=(_0x32fcc8,_0x902abd,_0x32a958,_0x4632e6)=>{var _0xa89a83=_0x25b562;for(var _0x6b161a=_0x4632e6>0x1?void 0x0:_0x4632e6?_0x720df7(_0x902abd,_0x32a958):_0x902abd,_0x24c96f=_0x32fcc8[_0xa89a83(0x224)]-0x1,_0x473981;_0x24c96f>=0x0;_0x24c96f--)(_0x473981=_0x32fcc8[_0x24c96f])&&(_0x6b161a=_0x473981(_0x6b161a)||_0x6b161a);return _0x6b161a;},_0x2fac15=(_0x29af58,_0x5d5736)=>(_0x5c07c4,_0x50ea64)=>_0x5d5736(_0x5c07c4,_0x50ea64,_0x29af58);const _0x3bb18d=['image/png',_0x25b562(0x338),_0x25b562(0x493),_0x25b562(0x3c9),_0x25b562(0x45a)],_0x37ea1f=0x5*0x400*0x400,_0xaa1448='EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY',_0x57b6e9=_0x25b562(0x278),_0x5e2540=_0x25b562(0x2ee),_0x5e90cd=_0x25b562(0x4b2);_0x2aaff0['CollaborationImageIoService']=class{constructor(_0x8dc745,_0x152e1d,_0x9ae041){var _0x504ca6=_0x25b562;_0x156e65(this,_0x504ca6(0x44c),0x0),_0x156e65(this,_0x504ca6(0x1c0),new _0x392915[(_0x504ca6(0x47e))]()),_0x156e65(this,_0x504ca6(0x32e),this['_change$']),_0x156e65(this,_0x504ca6(0x2ce),new Map()),(this[_0x504ca6(0x4a6)]=_0x8dc745,this['_configService']=_0x152e1d,this['_univerInstanceService']=_0x9ae041);}['setWaitCount'](_0x4123ea){var _0x35d52a=_0x25b562;this[_0x35d52a(0x44c)]=_0x4123ea,this[_0x35d52a(0x1c0)][_0x35d52a(0x4e2)](_0x4123ea);}[_0x25b562(0x445)](_0x1c9d80,_0x249c43){var _0x5327e2=_0x25b562;if(_0x249c43===_0x3e3bfa[_0x5327e2(0x27a)][_0x5327e2(0x2ad)]){const _0x9c74c3=new Image();return _0x9c74c3[_0x5327e2(0x1c5)]=_0x1c9d80,_0x9c74c3;}return this[_0x5327e2(0x2ce)]['get'](_0x1c9d80);}[_0x25b562(0x517)](_0x3da06b,_0x4c3b73,_0xfd0a46){var _0x2d3aa3=_0x25b562;_0x4c3b73===_0x3e3bfa[_0x2d3aa3(0x27a)][_0x2d3aa3(0x2ad)]||_0xfd0a46==null||this[_0x2d3aa3(0x2ce)][_0x2d3aa3(0x1cb)](_0x3da06b,_0xfd0a46);}async[_0x25b562(0x236)](_0x14caca){var _0x4c36de=_0x25b562;try{const _0x20f454=this['_replaceFileID'](this[_0x4c36de(0x446)](),''+_0x14caca),_0x21e119=(await this[_0x4c36de(0x4a6)][_0x4c36de(0x46c)](_0x20f454))[_0x4c36de(0x456)];if(_0x21e119[_0x4c36de(0x3e4)]&&_0x21e119['error']['code']===_0xddef99['OK']){const _0x393080=new URL(_0x21e119['url'],this[_0x4c36de(0x1db)]())['toString']();return Promise[_0x4c36de(0x3ad)](_0x393080);}return Promise[_0x4c36de(0x481)](_0x21e119['error']);}catch(_0x164704){return Promise[_0x4c36de(0x481)](_0x164704);}}async[_0x25b562(0x2aa)](_0x4ea54f){var _0x31d18d=_0x25b562;let _0x27ea04='';if(!_0x3bb18d[_0x31d18d(0x3bf)](_0x4ea54f['type']))return this['_decreaseWaiting'](),Promise[_0x31d18d(0x481)](new Error(_0x3e3bfa['ImageUploadStatusType']['ERROR_IMAGE_TYPE']));if(_0x4ea54f['size']>_0x37ea1f)return this[_0x31d18d(0x2be)](),Promise['reject'](new Error(_0x3e3bfa['ImageUploadStatusType'][_0x31d18d(0x372)]));try{const _0x5be52d=new FormData();_0x5be52d[_0x31d18d(0x24d)](_0x31d18d(0x4b9),_0x4ea54f);const _0x333701=this[_0x31d18d(0x452)][_0x31d18d(0x42b)](),_0x12d405=_0x333701==null?void 0x0:_0x333701[_0x31d18d(0x51f)]();if(!_0x12d405)throw new Error(_0x31d18d(0x202));const _0x2bcc8a=this['_getUploadFileURL']()+'?size='+_0x4ea54f[_0x31d18d(0x34d)][_0x31d18d(0x1ef)]()+_0x31d18d(0x2a0)+_0x2cc176[_0x31d18d(0x213)]+'&assign='+encodeURIComponent(_0x12d405),_0x299cac=await(await fetch(_0x2bcc8a,{'method':'POST','body':_0x5be52d}))[_0x31d18d(0x385)]();if(typeof _0x299cac[_0x31d18d(0x27c)]!=_0x31d18d(0x43c))return this[_0x31d18d(0x2be)](),Promise[_0x31d18d(0x481)](new Error(_0x3e3bfa[_0x31d18d(0x1aa)][_0x31d18d(0x3f0)]));_0x27ea04=_0x299cac[_0x31d18d(0x27c)];}catch{return this[_0x31d18d(0x2be)](),Promise[_0x31d18d(0x481)](new Error(_0x3e3bfa[_0x31d18d(0x1aa)][_0x31d18d(0x3f0)]));}return new Promise((_0xa92d2d,_0x1d2066)=>{var _0x271db1=_0x31d18d;const _0x3ceb36=new FileReader();_0x3ceb36['readAsDataURL'](_0x4ea54f),_0x3ceb36[_0x271db1(0x1d9)]=_0x4f15c7=>{var _0x5b6bb6=_0x271db1,_0x29232e;const _0x2d863e=(_0x29232e=_0x4f15c7[_0x5b6bb6(0x35a)])==null?void 0x0:_0x29232e[_0x5b6bb6(0x1e7)];if(_0x2d863e==null){this[_0x5b6bb6(0x2be)](),_0x1d2066(new Error(_0x3e3bfa[_0x5b6bb6(0x1aa)][_0x5b6bb6(0x3f0)]));return;}const _0x3a0f2d=_0x417a6f['Tools'][_0x5b6bb6(0x374)](0x6);_0xa92d2d({'imageId':_0x3a0f2d,'imageSourceType':_0x3e3bfa[_0x5b6bb6(0x27a)][_0x5b6bb6(0x2ea)],'source':_0x27ea04,'base64Cache':_0x2d863e,'status':_0x3e3bfa[_0x5b6bb6(0x1aa)][_0x5b6bb6(0x3d5)]}),this[_0x5b6bb6(0x2be)]();};});}[_0x25b562(0x3f1)](){var _0x19d086=_0x25b562,_0x24d2ab,_0x427da9;const _0x43fcb8=this['_configService']['getConfig'](_0xaa1448),_0x266ca7=this['_configService'][_0x19d086(0x2c3)](_0x38bbb3);return(_0x427da9=(_0x24d2ab=_0x266ca7==null?void 0x0:_0x266ca7[_0x19d086(0x1f1)])!=null?_0x24d2ab:_0x43fcb8)!=null?_0x427da9:_0x57b6e9;}[_0x25b562(0x446)](){var _0x5d3e62=_0x25b562,_0x5b6431,_0x2f42c6;const _0x4add10=this[_0x5d3e62(0x435)][_0x5d3e62(0x2c3)](_0x5e2540),_0x2fcb36=this[_0x5d3e62(0x435)][_0x5d3e62(0x2c3)](_0x38bbb3);return(_0x2f42c6=(_0x5b6431=_0x2fcb36==null?void 0x0:_0x2fcb36[_0x5d3e62(0x485)])!=null?_0x5b6431:_0x4add10)!=null?_0x2f42c6:_0x5e90cd;}[_0x25b562(0x1db)](){var _0x26269e=_0x25b562,_0x5ecf5b;const _0x463b73=this['_configService']['getConfig'](_0x38bbb3);return(_0x5ecf5b=_0x463b73==null?void 0x0:_0x463b73['downloadEndpointUrl'])!=null?_0x5ecf5b:location[_0x26269e(0x449)];}[_0x25b562(0x1c4)](_0x3af4d3,_0x163c28){var _0x68d738=_0x25b562;return _0x3af4d3[_0x68d738(0x341)](_0x68d738(0x521),_0x163c28);}[_0x25b562(0x2be)](){var _0xb7ad7=_0x25b562;this['_waitCount']-=0x1,this['_change$'][_0xb7ad7(0x4e2)](this[_0xb7ad7(0x44c)]);}},_0x2aaff0[_0x25b562(0x2ba)]=_0x1f5312([_0x2fac15(0x0,_0x417a6f[_0x25b562(0x4c8)](_0x56d0a7[_0x25b562(0x3a0)])),_0x2fac15(0x1,_0x417a6f[_0x25b562(0x312)]),_0x2fac15(0x2,_0x417a6f[_0x25b562(0x4c8)](_0x417a6f['IUniverInstanceService']))],_0x2aaff0[_0x25b562(0x2ba)]);var _0x3a98b4=Object[_0x25b562(0x459)],_0x473019=(_0x450fc8,_0x3ff132,_0x3b89f5,_0x5eb691)=>{var _0x4dcb18=_0x25b562;for(var _0x3394fc=_0x5eb691>0x1?void 0x0:_0x5eb691?_0x3a98b4(_0x3ff132,_0x3b89f5):_0x3ff132,_0x49fc77=_0x450fc8[_0x4dcb18(0x224)]-0x1,_0x53361d;_0x49fc77>=0x0;_0x49fc77--)(_0x53361d=_0x450fc8[_0x49fc77])&&(_0x3394fc=_0x53361d(_0x3394fc)||_0x3394fc);return _0x3394fc;},_0x5de267=(_0x50608b,_0x7338d7)=>(_0x530a1f,_0x40a84b)=>_0x7338d7(_0x530a1f,_0x40a84b,_0x50608b);const _0x375d8d=_0x25b562(0x1a7);_0x2aaff0['MentionIoHttpService']=class{constructor(_0x19ed61,_0x402fa2){var _0x3d19ef=_0x25b562;this[_0x3d19ef(0x435)]=_0x19ed61,this[_0x3d19ef(0x4ce)]=_0x402fa2;}[_0x25b562(0x3a4)](){var _0x52aa60=_0x25b562,_0x26493f,_0xb1b6a3;const _0x81c907=this[_0x52aa60(0x435)][_0x52aa60(0x2c3)](_0x1c4f6c),_0x12e4ed=this['_configService'][_0x52aa60(0x2c3)](_0x38bbb3);return(_0xb1b6a3=(_0x26493f=_0x12e4ed==null?void 0x0:_0x12e4ed[_0x52aa60(0x415)])!=null?_0x26493f:_0x81c907)!=null?_0xb1b6a3:_0x375d8d;}async[_0x25b562(0x21c)](_0x88f5c1){var _0x21af53=_0x25b562;const _0x23c18c=this['_getAPIPrefixPath']()+_0x21af53(0x4b4);return{'list':[{'title':'People','mentions':(await this['_HTTPService'][_0x21af53(0x46c)](_0x23c18c,{'params':{'objectID':_0x88f5c1[_0x21af53(0x465)],'unitID':_0x88f5c1[_0x21af53(0x465)]}}))[_0x21af53(0x456)][_0x21af53(0x25b)]['map'](_0x3f77db=>({'objectId':_0x3f77db['id'],'name':_0x3f77db[_0x21af53(0x408)][_0x21af53(0x515)],'metadata':{'icon':_0x3f77db['subject'][_0x21af53(0x3b7)]},'label':_0x3f77db['subject'][_0x21af53(0x515)],'objectType':_0x417a6f[_0x21af53(0x355)][_0x21af53(0x1ac)]})),'metadata':{},'type':_0x417a6f[_0x21af53(0x355)]['PERSON']}]};}},_0x2aaff0[_0x25b562(0x277)]=_0x473019([_0x5de267(0x0,_0x417a6f[_0x25b562(0x4c8)](_0x417a6f[_0x25b562(0x312)])),_0x5de267(0x1,_0x417a6f[_0x25b562(0x4c8)](_0x56d0a7['HTTPService']))],_0x2aaff0[_0x25b562(0x277)]);var _0x55142a=Object[_0x25b562(0x459)],_0xc35b32=(_0x5d2e76,_0x30a758,_0x4e587f,_0x491d31)=>{var _0x4b4b8c=_0x25b562;for(var _0x42742a=_0x491d31>0x1?void 0x0:_0x491d31?_0x55142a(_0x30a758,_0x4e587f):_0x30a758,_0x3213d9=_0x5d2e76[_0x4b4b8c(0x224)]-0x1,_0x8183af;_0x3213d9>=0x0;_0x3213d9--)(_0x8183af=_0x5d2e76[_0x3213d9])&&(_0x42742a=_0x8183af(_0x42742a)||_0x42742a);return _0x42742a;},_0x1052f6=(_0x1c1a25,_0xa10816)=>(_0xa03697,_0x4bedc2)=>_0xa10816(_0xa03697,_0x4bedc2,_0x1c1a25);let _0x22e59f=class extends _0x417a6f[_0x25b562(0x474)]{constructor(_0x1af680,_0x27fc18,_0x1faa17,_0x2c8c64,_0x2faf3d){var _0x3e3ef7=_0x25b562;super(),this['_injector']=_0x1af680,this[_0x3e3ef7(0x452)]=_0x27fc18,this[_0x3e3ef7(0x512)]=_0x1faa17,this[_0x3e3ef7(0x29d)]=_0x2c8c64,this[_0x3e3ef7(0x226)]=_0x2faf3d,this[_0x3e3ef7(0x3f2)](),this[_0x3e3ef7(0x3eb)]();}['_initCloseConn'](){var _0x1b7181=_0x25b562;const _0xa6bf5f=async _0x2adda8=>{var _0x5a5747=_0x1012;(await this['_collaborationSessionService'][_0x5a5747(0x3ff)](_0x2adda8))[_0x5a5747(0x1d8)][_0x5a5747(0x498)](_0x49bc81['filter'](_0x5ae221=>_0x5ae221[_0x5a5747(0x43b)]===_0x37c004[_0x5a5747(0x207)][_0x5a5747(0x237)]),_0x49bc81[_0x5a5747(0x484)](this['dispose$']))['subscribe'](_0x23f227=>{var _0x19561b=_0x5a5747;const _0x1d5815=_0x23f227,{reason:_0x5c3d15}=_0x1d5815[_0x19561b(0x21f)];this[_0x19561b(0x226)][_0x19561b(0x3c3)]({'id':_0x464363[_0x19561b(0x3cc)],'data':_0x5c3d15}),this[_0x19561b(0x512)][_0x19561b(0x3b2)](new _0x9200ce[(_0x19561b(0x289))](_0x2adda8)['id'],!0x1),this['_collaborationSessionService'][_0x19561b(0x2dd)](_0x2adda8);});};_0x392915[_0x1b7181(0x429)](this[_0x1b7181(0x452)]['getTypeOfUnitAdded$'](_0x417a6f['UniverInstanceType'][_0x1b7181(0x324)]),this[_0x1b7181(0x452)]['getTypeOfUnitAdded$'](_0x417a6f[_0x1b7181(0x50b)][_0x1b7181(0x3dc)]))[_0x1b7181(0x498)](_0x49bc81[_0x1b7181(0x1bc)](_0x31e6b3=>_0x31e6b3[_0x1b7181(0x51f)]()),_0x49bc81[_0x1b7181(0x227)](_0xfc3541=>!_0x417a6f['isInternalEditorID'](_0xfc3541)),_0x49bc81[_0x1b7181(0x484)](this['dispose$']))[_0x1b7181(0x22e)](_0x937e0b=>{_0xa6bf5f(_0x937e0b);});}['_initUnitPermissionChange'](){var _0x10ae55=_0x25b562;const _0x334689=async _0x8e3bbf=>{var _0x53da5b=_0x1012;const _0xc4fecc=await this[_0x53da5b(0x29d)][_0x53da5b(0x3ff)](_0x8e3bbf),_0xac3b28=this[_0x53da5b(0x495)][_0x53da5b(0x46c)](_0x9200ce['SheetPermissionInitController']);_0xc4fecc['event$'][_0x53da5b(0x498)](_0x49bc81['filter'](_0x1f30f4=>_0x1f30f4[_0x53da5b(0x43b)]===_0x37c004[_0x53da5b(0x207)][_0x53da5b(0x1d0)]),_0x49bc81[_0x53da5b(0x484)](this[_0x53da5b(0x3bc)]))['subscribe'](_0x4b10ba=>{var _0x2b8067=_0x53da5b;const _0x57d66d=_0x4b10ba,{objectId:_0x45312e}=_0x57d66d[_0x2b8067(0x21f)];_0x45312e===_0x8e3bbf?_0xac3b28[_0x2b8067(0x3e2)](_0x8e3bbf):_0xac3b28[_0x2b8067(0x3a3)](_0x8e3bbf,_0x45312e);});};_0x392915[_0x10ae55(0x429)](this[_0x10ae55(0x452)][_0x10ae55(0x4dd)](_0x417a6f['UniverInstanceType'][_0x10ae55(0x324)]))[_0x10ae55(0x498)](_0x49bc81[_0x10ae55(0x1bc)](_0x37fbfa=>_0x37fbfa[_0x10ae55(0x51f)]()),_0x49bc81[_0x10ae55(0x227)](_0xb4b4e8=>!_0x417a6f[_0x10ae55(0x2a1)](_0xb4b4e8)),_0x49bc81[_0x10ae55(0x484)](this[_0x10ae55(0x3bc)]))[_0x10ae55(0x22e)](_0x2a5b75=>{_0x334689(_0x2a5b75);});}};_0x22e59f=_0xc35b32([_0x1052f6(0x0,_0x417a6f['Inject'](_0x417a6f[_0x25b562(0x2e1)])),_0x1052f6(0x1,_0x417a6f[_0x25b562(0x264)]),_0x1052f6(0x2,_0x417a6f[_0x25b562(0x4b7)]),_0x1052f6(0x3,_0x417a6f['Inject'](_0x2aaff0[_0x25b562(0x2b5)])),_0x1052f6(0x4,_0x417a6f[_0x25b562(0x4c8)](_0x4a7f9e))],_0x22e59f);var _0x139870=Object[_0x25b562(0x459)],_0x1e73c4=(_0x55f6e8,_0x1c257a,_0x144453,_0x137e78)=>{for(var _0x41c4cd=_0x137e78>0x1?void 0x0:_0x137e78?_0x139870(_0x1c257a,_0x144453):_0x1c257a,_0x4cdd02=_0x55f6e8['length']-0x1,_0x4fe17e;_0x4cdd02>=0x0;_0x4cdd02--)(_0x4fe17e=_0x55f6e8[_0x4cdd02])&&(_0x41c4cd=_0x4fe17e(_0x41c4cd)||_0x41c4cd);return _0x41c4cd;},_0x48644f=(_0x40d4e1,_0x3ae371)=>(_0x5509b5,_0x135577)=>_0x3ae371(_0x5509b5,_0x135577,_0x40d4e1);_0x2aaff0[_0x25b562(0x30e)]=class{constructor(_0x5a21b5,_0x3bfedc){var _0x153e4c=_0x25b562;this[_0x153e4c(0x435)]=_0x5a21b5,this[_0x153e4c(0x4a6)]=_0x3bfedc;}async[_0x25b562(0x4ed)](_0x4af72c,_0x14b07a){var _0x5d454b=_0x25b562,_0x319d38;const {unitID:_0x48924e,type:_0x207cb5,revision:_0x54eeb2=0x0}=_0x14b07a,_0x13018e=this[_0x5d454b(0x235)]()+'/'+_0x207cb5+_0x5d454b(0x45b)+_0x48924e+_0x5d454b(0x27b)+_0x54eeb2,_0x52527f=(await this['_httpService'][_0x5d454b(0x46c)](_0x13018e))[_0x5d454b(0x456)],_0x1904c2=(_0x319d38=_0x52527f[_0x5d454b(0x3af)])==null?void 0x0:_0x319d38['workbook'];if(_0x1904c2){const _0x571e2a=_0x1904c2==null?void 0x0:_0x1904c2[_0x5d454b(0x231)],_0x496986=_0x37c004['textEncoder']['encode'](_0x37c004[_0x5d454b(0x2de)](_0x571e2a));_0x1904c2[_0x5d454b(0x231)]=_0x496986,Object[_0x5d454b(0x1cf)](_0x1904c2[_0x5d454b(0x2db)])[_0x5d454b(0x34b)](([,_0x43d996])=>{var _0x32dc4f=_0x5d454b;const _0x517381=_0x43d996['originalMeta'],_0x418b2b=_0x37c004['textEncoder'][_0x32dc4f(0x387)](_0x37c004['b64DecodeUnicode'](_0x517381));_0x43d996[_0x32dc4f(0x231)]=_0x418b2b;});}return _0x52527f;}async[_0x25b562(0x248)](_0x14cfa9,_0xad08dd){var _0xc776af=_0x25b562;const {unitID:_0x53e802,type:_0x2b3cab,blockID:_0x1897b3}=_0xad08dd,_0x55b919=this[_0xc776af(0x4ea)]()+'/'+_0x2b3cab+_0xc776af(0x45b)+_0x53e802+_0xc776af(0x2ca)+_0x1897b3;return(await this[_0xc776af(0x4a6)][_0xc776af(0x46c)](_0x55b919))[_0xc776af(0x456)];}async[_0x25b562(0x3de)](_0x2f01bf,_0x5b8634){var _0x16ff10=_0x25b562;const {unitID:_0x2041f5,type:_0x55a354,blockID:_0x1c560f}=_0x5b8634,_0xf0cb78=this[_0x16ff10(0x4ea)]()+'/block/'+_0x55a354+'/unit/'+_0x2041f5+_0x16ff10(0x2ca)+_0x1c560f;return(await this[_0x16ff10(0x4a6)][_0x16ff10(0x46c)](_0xf0cb78))[_0x16ff10(0x456)];}async[_0x25b562(0x42a)](_0x259bfb,_0x27608a){var _0x553b2d=_0x25b562;const {unitID:_0x3416ee,type:_0x4595c1,from:_0x31712e,to:_0x265e29}=_0x27608a,_0x3d2ca1=this[_0x553b2d(0x4ea)]()+'/'+_0x4595c1+_0x553b2d(0x45b)+_0x3416ee+_0x553b2d(0x46e)+_0x31712e+_0x553b2d(0x209)+_0x265e29;return(await this[_0x553b2d(0x4a6)][_0x553b2d(0x46c)](_0x3d2ca1))[_0x553b2d(0x456)];}['getSnapshotAPIPath'](){var _0x2d65e8=_0x25b562,_0x185ad6;return(_0x185ad6=this[_0x2d65e8(0x435)]['getConfig'](_0x8bbf4d))!=null?_0x185ad6:this[_0x2d65e8(0x4ea)]();}['_getAPIPrefix'](){var _0x1a032e=_0x25b562,_0x3a952a,_0x20fc4f;const _0x3b24d5=this[_0x1a032e(0x435)][_0x1a032e(0x2c3)](_0x4cc1ea),_0x40cd12=this[_0x1a032e(0x435)][_0x1a032e(0x2c3)](_0x38bbb3);return(_0x20fc4f=(_0x3a952a=_0x40cd12==null?void 0x0:_0x40cd12[_0x1a032e(0x23a)])!=null?_0x3a952a:_0x3b24d5)!=null?_0x20fc4f:_0x488f4f;}async[_0x25b562(0x4b1)](_0x2ff9c7,_0x3675c6){var _0xfa04a9=_0x25b562;const _0x24e744=_0xfa04a9(0x2a3)+_0x3675c6['type']+_0xfa04a9(0x45b)+_0x3675c6[_0xfa04a9(0x4d1)]+_0xfa04a9(0x1be);return(await this[_0xfa04a9(0x4a6)][_0xfa04a9(0x46c)](_0x24e744,{'params':{'resourceId':JSON[_0xfa04a9(0x52f)](_0x3675c6[_0xfa04a9(0x2e4)])}}))[_0xfa04a9(0x456)];}['saveSnapshot'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x25b562(0x402)](){var _0x14f70d=_0x25b562;throw new Error(_0x14f70d(0x3c0));}[_0x25b562(0x3b8)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x25b562(0x4cd)](){var _0x124484=_0x25b562;throw new Error(_0x124484(0x3c0));}[_0x25b562(0x34f)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}},_0x2aaff0[_0x25b562(0x30e)]=_0x1e73c4([_0x48644f(0x0,_0x417a6f[_0x25b562(0x312)]),_0x48644f(0x1,_0x417a6f[_0x25b562(0x4c8)](_0x56d0a7['HTTPService']))],_0x2aaff0[_0x25b562(0x30e)]);var _0x453833=Object[_0x25b562(0x459)],_0x1b00bd=(_0x2412c2,_0x16844,_0x3ab0ec,_0xa3b708)=>{var _0x1b7ada=_0x25b562;for(var _0x4aa36a=_0xa3b708>0x1?void 0x0:_0xa3b708?_0x453833(_0x16844,_0x3ab0ec):_0x16844,_0x3880ed=_0x2412c2[_0x1b7ada(0x224)]-0x1,_0x3a8b8a;_0x3880ed>=0x0;_0x3880ed--)(_0x3a8b8a=_0x2412c2[_0x3880ed])&&(_0x4aa36a=_0x3a8b8a(_0x4aa36a)||_0x4aa36a);return _0x4aa36a;},_0x79c865=(_0x4a981f,_0x3fb8b1)=>(_0x12230a,_0x3b58c5)=>_0x3fb8b1(_0x12230a,_0x3b58c5,_0x4a981f);_0x2aaff0[_0x25b562(0x386)]=class extends _0x417a6f[_0x25b562(0x4c1)]{constructor(_0xdb993e,_0x33914a,_0xb147ef,_0x4393bd,_0x126990){var _0x3e5d69=_0x25b562;super(_0xdb993e,_0x33914a,_0xb147ef),this[_0x3e5d69(0x244)]=_0x4393bd,this[_0x3e5d69(0x39f)]=_0x126990;}['transformUndoRedo'](_0x2b4c35,_0x52bc11){var _0x59f729=_0x25b562;const _0x585abf=this[_0x59f729(0x247)](_0x2b4c35);if(_0x585abf)try{const _0xa4259=this[_0x59f729(0x294)](_0x585abf,_0x52bc11);this[_0x59f729(0x310)](_0x2b4c35,_0xa4259);}catch(_0x53f70f){this[_0x59f729(0x39f)][_0x59f729(0x3e4)](_0x59f729(0x49f),_0x53f70f),this[_0x59f729(0x2e9)](_0x2b4c35);}const _0x3c0884=this['_getRedoStack'](_0x2b4c35);if(_0x3c0884)try{const _0x4de995=this[_0x59f729(0x294)](_0x3c0884,_0x52bc11);this[_0x59f729(0x2f5)](_0x2b4c35,_0x4de995);}catch(_0x40da8b){this[_0x59f729(0x39f)][_0x59f729(0x3e4)](_0x40da8b),this['_clearRedo'](_0x2b4c35);}}[_0x25b562(0x2e9)](_0x181d19){var _0x2aada2=_0x25b562;const _0x1d087e=this['_getUndoStack'](_0x181d19);_0x1d087e&&(_0x1d087e[_0x2aada2(0x224)]=0x0,this['_updateStatus']());}['_clearRedo'](_0x2eb026){var _0x321f42=_0x25b562;const _0x28ac1d=this[_0x321f42(0x39c)](_0x2eb026);_0x28ac1d&&(_0x28ac1d[_0x321f42(0x224)]=0x0,this[_0x321f42(0x3c1)]());}[_0x25b562(0x310)](_0x4ff64c,_0x5f441b){var _0x395ad0=_0x25b562;this[_0x395ad0(0x265)][_0x395ad0(0x1cb)](_0x4ff64c,_0x5f441b),this['_updateStatus']();}[_0x25b562(0x2f5)](_0x26435f,_0x1488fc){var _0x26a914=_0x25b562;this[_0x26a914(0x2c7)][_0x26a914(0x1cb)](_0x26435f,_0x1488fc),this['_updateStatus']();}['_transformStack'](_0x19bb43,_0x13d26c){var _0x24aa1d=_0x25b562;const _0x1410e0=[];let _0x1ee90a=_0x13d26c,_0x4031bd=_0x13d26c;for(let _0x3200d2=_0x19bb43[_0x24aa1d(0x224)]-0x1;_0x3200d2>=0x0;_0x3200d2--){const {unitID:_0x1ea44a,undoMutations:_0x2a8307,redoMutations:_0x67d96}=_0x19bb43[_0x3200d2],_0xc9a611=this[_0x24aa1d(0x244)][_0x24aa1d(0x2c0)](_0x1ee90a,_0x2a8307),_0x18d013=this[_0x24aa1d(0x244)]['transformMutationsWithChangeset'](_0x4031bd,_0x67d96);if(_0x37c004[_0x24aa1d(0x532)](_0xc9a611)||_0x37c004[_0x24aa1d(0x532)](_0x18d013)){this['_logService'][_0x24aa1d(0x3e4)](_0x24aa1d(0x49f),_0x24aa1d(0x1bf),_0xc9a611,_0x18d013);break;}_0x1ee90a=_0xc9a611[_0x24aa1d(0x32a)],_0x4031bd=_0x18d013[_0x24aa1d(0x32a)],_0x1410e0[_0x24aa1d(0x2d7)]({'unitID':_0x1ea44a,'undoMutations':_0xc9a611[_0x24aa1d(0x2bb)],'redoMutations':_0x18d013[_0x24aa1d(0x2bb)]});}return _0x1410e0[_0x24aa1d(0x4ec)]();}},_0x2aaff0['CollaborativeUndoRedoService']=_0x1b00bd([_0x79c865(0x0,_0x417a6f['IUniverInstanceService']),_0x79c865(0x1,_0x417a6f[_0x25b562(0x37e)]),_0x79c865(0x2,_0x417a6f[_0x25b562(0x50a)]),_0x79c865(0x3,_0x37c004[_0x25b562(0x3e1)]),_0x79c865(0x4,_0x417a6f[_0x25b562(0x418)])],_0x2aaff0[_0x25b562(0x386)]);var _0x2cbca8=Object[_0x25b562(0x228)],_0x21fc15=Object['getOwnPropertyDescriptor'],_0x3fc752=(_0x1d8ee6,_0x52c542,_0x2e0724)=>_0x52c542 in _0x1d8ee6?_0x2cbca8(_0x1d8ee6,_0x52c542,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2e0724}):_0x1d8ee6[_0x52c542]=_0x2e0724,_0x3df8c4=(_0x1426c6,_0x4c5ed8,_0x1dbbbd,_0x545e85)=>{var _0x2db56e=_0x25b562;for(var _0xa9ef90=_0x545e85>0x1?void 0x0:_0x545e85?_0x21fc15(_0x4c5ed8,_0x1dbbbd):_0x4c5ed8,_0x4982d2=_0x1426c6[_0x2db56e(0x224)]-0x1,_0x3a76d1;_0x4982d2>=0x0;_0x4982d2--)(_0x3a76d1=_0x1426c6[_0x4982d2])&&(_0xa9ef90=_0x3a76d1(_0xa9ef90)||_0xa9ef90);return _0xa9ef90;},_0x3abff2=(_0x223895,_0xbf192d)=>(_0x526352,_0x27e86b)=>_0xbf192d(_0x526352,_0x27e86b,_0x223895),_0x4b67c5=(_0x5b890e,_0x112d36,_0xfca14e)=>_0x3fc752(_0x5b890e,_0x112d36+'',_0xfca14e);const _0x359828=_0x25b562(0x53b);_0x2aaff0[_0x25b562(0x1ca)]=class extends _0x417a6f[_0x25b562(0x2fc)]{constructor(_0x1f7913,_0x3ca76d,_0x1d8ac2,_0x1d200f){var _0xb3128f=_0x25b562;super(),_0x156e65(this,_0xb3128f(0x2a5)),(this[_0xb3128f(0x39f)]=_0x3ca76d,this[_0xb3128f(0x495)]=_0x1d8ac2,this['_configService']=_0x1d200f);const {..._0x300a75}=_0x417a6f[_0xb3128f(0x429)]({},_0x3c84dc,_0x1f7913);if(!_0x300a75[_0xb3128f(0x250)])throw new Error(_0xb3128f(0x443));this[_0xb3128f(0x2a5)]=_0x300a75,this[_0xb3128f(0x435)][_0xb3128f(0x1b8)](_0x38bbb3,_0x300a75);}['onStarting'](){var _0x4fcbed=_0x25b562;this[_0x4fcbed(0x39a)](),this['_initDependencies']();}['_registerDependencies'](){var _0x2f9d68=_0x25b562,_0x4e991b,_0x1f95bd;this['_injector'][_0x2f9d68(0x1de)](_0x417a6f[_0x2f9d68(0x270)])&&this[_0x2f9d68(0x39f)]['error'](_0x2f9d68(0x29e),_0x2f9d68(0x3c6));const _0x569a3d=_0x417a6f[_0x2f9d68(0x229)]([[_0x417a6f[_0x2f9d68(0x270)],{'useClass':_0x2aaff0[_0x2f9d68(0x386)]}],[_0x2aaff0[_0x2f9d68(0x2b5)]],[_0x2aaff0[_0x2f9d68(0x3f9)]],[_0x2aaff0[_0x2f9d68(0x319)]],[_0x88bcf9],[_0x3d730],[_0xe0ae5c],[_0x22e59f],[_0x4a7f9e],[_0x2aaff0[_0x2f9d68(0x384)]],[_0x341178,{'useClass':this['_config'][_0x2f9d68(0x250)]}],[_0x37c004[_0x2f9d68(0x49e)],{'useClass':_0x2aaff0[_0x2f9d68(0x30e)]}],[_0x417a6f[_0x2f9d68(0x462)],{'useClass':_0x2aaff0[_0x2f9d68(0x394)]}],[_0x3e3bfa[_0x2f9d68(0x28b)],{'useClass':_0x2aaff0[_0x2f9d68(0x2ba)]}],[_0x417a6f[_0x2f9d68(0x300)],{'useClass':_0x2aaff0['MentionIoHttpService']}],[_0x2aaff0[_0x2f9d68(0x23e)]],[_0x50f5bd]],(_0x4e991b=this['_config'])==null?void 0x0:_0x4e991b[_0x2f9d68(0x3be)]);if(!((_0x1f95bd=this[_0x2f9d68(0x2a5)])!=null&&_0x1f95bd[_0x2f9d68(0x252)])){const _0xa52743=_0x569a3d[_0x2f9d68(0x404)](([_0x1fd273])=>_0x1fd273===_0x5896bd);_0xa52743!==-0x1&&_0x569a3d['splice'](_0xa52743,0x1);}_0x417a6f['registerDependencies'](this['_injector'],_0x569a3d);}[_0x25b562(0x238)](){var _0x31b53a=_0x25b562,_0x3eaca0,_0x5b654c,_0x5003ef;this[_0x31b53a(0x495)]['get'](_0x56d0a7[_0x31b53a(0x3a0)])[_0x31b53a(0x20a)]({'priority':0x14,'interceptor':_0x56d0a7[_0x31b53a(0x52c)]({'maxParallel':0x6})}),(_0x3eaca0=this[_0x31b53a(0x2a5)])!=null&&_0x3eaca0[_0x31b53a(0x33c)]||(_0x5b654c=this[_0x31b53a(0x495)][_0x31b53a(0x46c)](_0x2f8b36,_0x417a6f[_0x31b53a(0x352)][_0x31b53a(0x3f5)]))==null||_0x5b654c[_0x31b53a(0x2e3)](),(_0x5003ef=this[_0x31b53a(0x2a5)])!=null&&_0x5003ef[_0x31b53a(0x4c7)]&&_0x417a6f[_0x31b53a(0x422)](this[_0x31b53a(0x495)],[[_0x88bcf9]]),_0x417a6f[_0x31b53a(0x422)](this[_0x31b53a(0x495)],[[_0x3d730],[_0x2aaff0[_0x31b53a(0x23e)]],[_0x22e59f]]);}},_0x4b67c5(_0x2aaff0[_0x25b562(0x1ca)],'pluginName',_0x359828),_0x2aaff0[_0x25b562(0x1ca)]=_0x3df8c4([_0x417a6f[_0x25b562(0x2f6)](_0x37c004[_0x25b562(0x1ce)],_0x56d0a7['UniverNetworkPlugin']),_0x3abff2(0x1,_0x417a6f[_0x25b562(0x418)]),_0x3abff2(0x2,_0x417a6f[_0x25b562(0x4c8)](_0x417a6f[_0x25b562(0x2e1)])),_0x3abff2(0x3,_0x417a6f[_0x25b562(0x312)])],_0x2aaff0[_0x25b562(0x1ca)]),_0x2aaff0[_0x25b562(0x3f6)]=_0x1c4f6c,_0x2aaff0['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']=_0x38bbb3,_0x2aaff0[_0x25b562(0x35f)]=_0x47ba07,_0x2aaff0[_0x25b562(0x4d3)]=_0xd8e1f6,_0x2aaff0[_0x25b562(0x3df)]=_0x3bb83a,_0x2aaff0[_0x25b562(0x36a)]=_0x464363,_0x2aaff0[_0x25b562(0x1bd)]=_0x4a7f9e,_0x2aaff0[_0x25b562(0x366)]=_0xe0ae5c,_0x2aaff0[_0x25b562(0x370)]=_0x5a8344,_0x2aaff0[_0x25b562(0x2cd)]=_0x2a0121,_0x2aaff0[_0x25b562(0x4a4)]=_0x3fd8e1,_0x2aaff0[_0x25b562(0x20b)]=_0x4bb9d8,_0x2aaff0[_0x25b562(0x274)]=_0x39aa5b,_0x2aaff0['ICollaborationSocketService']=_0x341178,_0x2aaff0[_0x25b562(0x217)]=_0x2f8b36,_0x2aaff0[_0x25b562(0x33b)]=_0x3d7d8a,_0x2aaff0[_0x25b562(0x487)]=_0x5896bd,_0x2aaff0[_0x25b562(0x272)]=0x3e8,_0x2aaff0[_0x25b562(0x21d)]=_0x4f9490,_0x2aaff0[_0x25b562(0x2b3)]=_0x4f8679,_0x2aaff0['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']=_0x25577e,_0x2aaff0[_0x25b562(0x3a7)]=_0x16d3ee,_0x2aaff0[_0x25b562(0x27e)]=_0x343f95,_0x2aaff0[_0x25b562(0x1f0)]=_0x4cc1ea,_0x2aaff0[_0x25b562(0x3c8)]=_0x8bbf4d,_0x2aaff0[_0x25b562(0x26c)]=_0xbf0130,_0x2aaff0[_0x25b562(0x3a9)]=_0x32fed4,_0x2aaff0[_0x25b562(0x283)]=_0x1d1ad0,_0x2aaff0['getLocalCacheKey']=_0xb4ed7,_0x2aaff0['serializeCombRequest']=_0x264416,Object['defineProperty'](_0x2aaff0,Symbol[_0x25b562(0x51a)],{'value':_0x25b562(0x349)});}));
1
+ function _0x55aa(){var _0x2b6ad8=['_state$','INVALID_INVITE_CODE','conflict','getRandomValues','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','actions','ICommandService','_scheduleCollaborationTimeoutTimer','getCurrentUser','_key','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','_getLoginPath','getCollabEntity$','4650618TealaL','INGEST','localCacheService','HMAC','image/jpeg','_replaceFileID','_queuedRemoteChangesets','USERS_ENTER','EvpKDF','Tools','enc','YUUMI_URL_COL_OUT_OF_RANGE','_oKey','status','startsWith','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','saveImage','PasswordBasedCipher','ILogService','_timeoutTimer','updateMember','UNIVER_UNKNOWN','HEARTBEAT_TIMEOUT_KEY','UniverDrawing','595phhDgM','_collaborationUIEventService','crypto','append','forEach','/universer-api/uniscript','/allowed','listCollaborators','createSocket','PSEUDO_FETCH_MISSING_RESULT','_onMessage','getSheetBlock','CommandType','NOT_COLLAB','126ewRZys','NoPadding','baseRev','OFFLINE','Subject','_process','UniverNetworkPlugin','ImageSourceType','ITransformService','UniverCore','state$','DEFAULT_WS_SESSION_TICKET_URL','permissionRejEvent','UserProfileImg','Hex','_entities','takeUntil','parseChangesetToProtocol','from','textRanges','snapshot','catch','onTransformSelections','_handlerCallback','COLLAB_SUBMIT_CHANGESET_URL','open$','INTERNAL_ERROR','liveShareOperation','IUndoRedoService','joinRsp','revision','USER_NOT_INVITED_CODE','_onConflict','LIVESHARE_NEW_HOST','session.room-cnt-exceeds','_revisionService','_isPermissionRej','_type','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_doCryptBlock','decryptBlock','mixIn','fetchThroughInterceptors','onRemoteRej','encrypt','message$','parseProtocolChangeset','JOIN','_commandService','getConfig','_config','_resendWithTimeout','type','loadDoc','Quantity','SNAPSHOT_INVALID_SNAPSHOT','image/bmp','2226438dOuody','IUniverInstanceService','socket\x20open.','randomUUID','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','APPLY_PERMISSION_DENIED','AES','routeKey','NEW_CHANGESETS','@univerjs/drawing','_syncEditingCollabCursor','/block/','saveSnapshot','UniverCollaborationPlugin','allowed','/resources','EmptyMutation','WorkbookEditablePermission','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','_getAPIPrefixPath','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','CONFLICT','_createInitialState','unitID','state','_onJoinRoomEvent','isInternalEditorID','connection\x20error','@univerjs-pro/license','15407352JsGvRc','compute','isTransformMutationsWithChangesetSuccess','HELLO','_clearRetryConnectingTimer','format','lib','COMPRESS_MUTATION_SEND','dispose$','finalize','iterations','_members$','UNIVER_DOC','focused$','extend','removeMember','onTransformState','/-/object/-/batch_allowed','_cipher','map','push','sendChangesetTimeout','JOINING','clone','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','every','charAt','getOwnPropertyDescriptor','unsubscribe','getImage','UniverInstanceType','pad','setShowComponents','_loadDoc','saveSheetBlock','__Key__','buffer','_onConnectionFailed','CollaborationUIEventId','_getCurrentRevision','SOCKET_FAILED_RETRY','_DEC_XFORM_MODE','objectID','[FetchMissState]','COMMENT_UPDATE','_redoStacks','/universer-api/authz','synced','OpenSSL','/rev/','LocaleService','AWAITING','has','registerHTTPInterceptor','default','JOIN_ROOM_FAILED','?url=','_getUploadFileURL','mapDocumentTypeToUniverType','_throwTelemetryCollaborationNewChangeset','getMember','requireSession','mutations','reduce','createCollaborator','YUUMI_RATE_OVER_LIMIT','getResourcesRequest','compose','IDLE','_removeRoom','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','_incrementRevisionNumber','salt','?size=','onRemoteAck','collabWebSocketUrl','SNAPSHOT_SERVER_URL_KEY','pluginName','addHandlerCallback','_getSignURL','_handler','_prevBlock','_undoStacks','PENDING','_resendTimeout','socket$','GLOBAL_ROOMS_CNT_EXCEEDS','Base64','addImageSourceCache','getTime','_stopTelemetryCollaborationNewChangeset','_eventService','includes','_instanceService','pipe','UniverProCollaborationClient','entries','session.room-full','concat','_minBufferSize','infoRsp','COLLAB_WEB_SOCKET_URL','subscribe','getTypeOfUnitDisposed$','unit-cache-','onTransformRemoteChangesetByStateCache','24xTwCkk','byteLength','unknown','ISocketService','_remoteChangesetQueue','event$','LICENSE_IMPORT_SIZE_EXCEEDED','refreshPermission','sessionStatus$','_showConflictNotification','fetch_missing','cmd','_map','ENSURE_SNAPSHOT_EXECUTION','onMissingChangesets','toDisposable','reject','liveShareNewHost','UnitSnapshot','kdf','transformMutationsWithChangeset','serializeCombRequest','UnitEmbedded','HttpExport','IImageIoService','@univerjs/sheets','_commentService','_onRemoteRejected','formatter','onSyncEditingCollabCursor','/universer-api/oidc/authpage','body','HttpImport','call','getValue','transformChangesets','_getAPIPrefix','fromCharCode','_changesetReqId','_onCombEvent','CollaborationSessionService','WECHAT_HAS_BEEN_BOUND','dispose','_logService','NOT_FOUND','_nRounds','/object','/universer-api/user/session-ticket','merge','shouldCloseConn','UNIVER_PROJECT','UNDEFINED','SnapshotServerOverHTTPService','118113ZdNyYK','AwaitingState','_tryReconnect','ws://127.0.0.1:8000/universer-api/comb/connect','_telemetryInfo','USERS_LEAVE','&to=','_unitID','JOIN_ROOM_PERMISSION_DENIED','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','charCodeAt','HmacSHA1','pauseCollaboration','clamp','collaMsg','_createHelper','unitInfo$','LOGIN_URL_KEY','duration','CHANGESET_SHOULD_RETRY','getGlobalObject','hasOwnProperty','_registerDependencies','_collabSessionService','_entityInit$','SYNCED','_clearScheduledTask','debug','getLatestCsReqIdBySid','_createHmacHelper','Inject','executeCommand','_initDependencies','Could\x20not\x20dynamically\x20require\x20\x22','_nDataBytes','sid','IConfigService','_rescheduleHeartbeat','_getDownloadEndpointURL','closeSession','method','_updateStatus','10NZWzTL','status$','_collaborationPaused','set','object','update','_substituteUndoStack','NO_OTHER_CLIENTS_EDITING','setWaitCount','updateCollaborator','updateOfflineData','_doCreateSocket','collabSubmitChangesetUrl','waitForRoom$','getUnit','toggleOnline','updatePermissionPoint','ONLINE','roles','findIndex','fromCollab','socket\x20close','HEARTBEAT_INTERVAL_KEY','AwaitingWithPendingState','send','getUnitType','csShouldRetryEvent','CLOSE_ROOM','roomInfos','_hasher','_getCtorByUniverType','localeService','univer-pro.collaboration-client.network-condition.service','&source=','_getRedoStack','Rectangle','SnapshotService','indexOf','/universer-api/snapshot/','_injector','rxjs/operators','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','apply','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','editing\x20status\x20changed\x20to','_userManagerService','isTransformChangesetsSuccess','_createInitialStateImpl','session.join-failed','parse','collaboration-client.config','_transformStack','COMPLETION_FINISHED','Optional','@univerjs/network','_hash','collaboration-client.local-cache-service','getUnitOnRev','substr','_sendHeartbeatTimer','/universer-api/snapshot','onLocalMutation','_onUserJoin','_onUserLeave','asObservable','toLowerCase','CBC','OTHER_CLIENT_EDITING','CollaborationImageIoService','UNKNOWN_CMD','DependentOn','session.room-permission-denied','deleteCollaborator','UniverNetwork','$super','appendMutation','HTTPRequest','_compressMutationService','save\x20fail\x20reason\x20is\x20','/unit/','floor','_executeRemoteChangeset','url','SheetPermissionInitController','MOBILE_HAS_BEEN_BOUND','_startCollaboration','decrypt','SOCKET_FAILED','[PendingState]:\x20unhandled\x20univer\x20type:\x20','copyFileMeta','_shouldReportTelemetry','CollaborationEntity','_append','_univerInstanceService','processBlock','isArray','_clearCollaborationTimeoutTimer','\x0aAfter:\x20','MemberService','readAsDataURL','ConflictState','_initUnitPermissionChange','RxDisposable','_onOffline','Base','collaboration_new_changeset','transformSelections','list','batchAllowed','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','sigBytes','OTHER_CLIENTS_EDITING','[CollaborationSession]','isPermissionRej','changesets','_clearHeartbeatTimer','function','COLLAB_WEB_SOCKET_URL_KEY','Utf8','MD5','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','rev','JOIN_ROOM_FULL','SHOULD_CLOSE_CONN','COLLAB_SUBMIT_CHANGESET_URL_KEY','error','[CollaborationSessionService]','_substituteRedoStack','_snapshotService','_state','_invKeySchedule','FetchingMissState','_applyRemoteChangeset','Pkcs7','name','_sender','AUTHZ_URL_KEY','ILocalCacheService','setConfig','createDecryptor','_sessions','_imageSourceCache','Module','unpad','LIVESHARE_FETCH_OPERATIONS','onload','_iKey','_event$','/new_changes','collaborators','CollaborationSession','c1Prime','Univer','getWorkbookSelections','UNRECOGNIZED','startTime','auth.needGotoLoginAlert','session','resolve','size','FileId','Failed\x20to\x20update\x20permission\x20point','UniverProCollaboration','_acknowledgedAwaitingChangeset','\x20to\x20','createInstance','_tryEnsureSocket','Injector','loadOfflineData','_updateState','capture','getUnitStatus$','_change$','LOGIN_FAILED','byteOffset','csAckEvent','[CollaborationEntity]','_doProcessBlock','authzUrl','_clearTimeoutTimer','EXCHANGE_SIGN_URL_SERVER_URL_KEY','confirm','_memberService','registerDependencies','StreamCipher','words','[DataLoaderService]','editingUnit','APPLY_REJECT','session.room-not-exists','COMPRESS_MUTATION_APPLY','Error\x20on\x20receiving\x20event','DisposableCollection','SUBMIT_CHANGESET','stringify','_awaitingChangeset','UNKNOWN_CODE','[PendingState]:\x20received\x20acknowledgement.','awaiting','YUUMI_ASYNCIO_CANCELLED','_localeService','add','getCurrentRevOfUnit','_pendingMutations','_initRequestHeader','ivSize','CompressMutationService','[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.','pending','_waitForHeartbeatResponse','_clearRedo','_submitChangeset','ALREADY_EXISTS','/object/','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','resend','_candidateSocket','keySize','socketService','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','getTypeOfUnitAdded$','onRemoteChangeset','_startTelemetryCollaborationNewChangeset','length','onSendChangeset','RETRY_CONNECTING_MAX_COUNT','ISnapshotServerService','then','offline','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','_createHandler','createEncryptor','Encryptor','onCommandExecuted','TOO_MANY_REQUESTS','UniverDocs','getInterceptPoints','_lockTransition','toString','POST','_configService','_toggleOffline','updateCursorEvent','_transformStateCache','_updateLocalCache','_resendTimer','_sendingTimer','_transitionLocked','msCrypto','reverse','Random\x20bytes\x20length\x20must\x20be\x20>=\x2016','readInt32LE','ERROR_IMAGE_TYPE','getSheetId','UPDATE_PERMISSION_OBJ','_onRemoteRetry','abs','memberID','LICENSE_DISTRO_REJECTED','take','_retryConnectingTimer','CONNECTOR_DATA_TOO_LARGE','UNISCRIPT_RUN','_singleActiveUnitService','change$','_parse','_replayCachedMutations','loginUrlKey','4055YETvye','ERROR_IMAGE','max','subject','PERMISSION_DENIED','touchDependencies','objectActions','reqId','@univerjs/telemetry','toggleOffline','_decreaseWaiting','_onConnectionOpen','random','_onFetchMissResult','awaiting_with_pending','mode','withCredentials','INVITE_CODE_REQUIRED','close','createIdentifier','SessionStatus','firstValueFrom','_checkMissing','LocalUndoRedoService','SEND_CHANGESET_TIMEOUT_KEY','onStateChange','submit\x20changeset\x20error!','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','JOIN_ROOM_NOT_EXISTS','BASE64','_changesetSessionId','sessionStatus','MUTATION','init','reset','deserializeToCombResponse','Disposable','SheetCollaborationEntity','get','_HTTPService','splice','getFocusedUnit','_sheetTransformSelectionsService','_retryCount','avatar','MSG_FOR_ERROR','APPLY_NON_SEQUENTIAL_REVISION','_initCloseConn','HTTPService','newCsEvent','FAIL','@univerjs/core','string','onRemoteRetry','code','key','[UniverCollaborationClientPlugin]','hasher','Plugin','_mode','awaitingChangeset','ImageUploadStatusType','IContextService','HEARTBEAT','fetchMissingChangesets','defineProperty','SHA1','CHANGESET_REVISION_CONFILICT','onlyLocal','getCollabEntity','_commentUpdate$','originalMeta','YUUMI_UNABLE_LOAD_URL','@univerjs/docs','create','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','range','enableOfflineEditing','_initMergeInterceptor','UNIVER_COLLABORATION_CLIENT_PLUGIN','_undoRedoService','_networkConditionService','rxjs','b64DecodeUnicode','OfflineState','UPDATE_CURSOR','CollaborationController','PY_RUNTIME_SCRIPT_ERROR','enableSingleActiveInstanceLock','onMissedChangesetFetched','userID','PERSON','execute','slice','image/gif','Workbook','csRejEvent','DocCollaborationEntity','clear','next','unitId','put','_localCacheService','LOCAL_CACHE_INTERVAL','encode','RECV','EMAIL_HAS_BEEN_BOUND','Undefined','_disableEditing','isTransformMutationsWithChangesetFailure','onStarting','post','UNIVER_SHEET','find','CHANGESET_ACK','getUnitId','delete','image/jpg','filter','_listenToNetworkCondition','uniscriptRunEvent','SNAPSHOT_HAS_BEEN_REMOVED','objects','interceptor','Cipher','saveChangeset','[OfflineState]:\x20received\x20rejection.','params','blockSize','_members','equals','amd','_unlockTransition','data','1359413JXfZmn','emitEvent','c2Prime','delay','_iv','_roomCreated$','[CollaborationState]:\x20apply\x20error!','[CollaborationUndoRedoService]','_socket$','/collaborator','x-univer-host','_onRecvEvent','56310ViJsNx','CommentService','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_getUndoStack','headers','CollaborationUIEventService','getCurrentSelections','__creator','[CollaborationSessionService]:\x20socket\x20error','BlockCipher','_joinRoom','repeat','BlockCipherMode','_doFinalize','LIVESHARE_REQUEST_HOST','_reverseMap','PendingState','selections','_clearLocalCache','UniverCollaborationClientPlugin','AuthzIoHttpService','UnitStatus','_waitCount','_keyPriorReset','Malformed\x20UTF-8\x20data','bind','UNIVER_SLIDE','ERROR_EXCEED_SIZE','SheetTransformSelectionsService','Decryptor','fetching\x20missing\x20changesets\x20from\x20','prototype','CollaborationSocketService','getLocalCacheKey','title','onCommentUpdate','complete','SUCCUSS','onTransformRemoteChangesetByIMECache','APPLY_DUPLICATED','_emitMembers','_clearUndo','SetSelectionsOperation','_socketMessageSubscription','_unitInfo$','m2Prime','_socketReady','_status$','SUBMIT_CHANGESET_TIMEOUT','LIVESHARE_TERMINATE','subUnitId','workbook','downloadEndpointUrl','[SyncedState]:\x20received\x20acknowledgement.','IPermissionService','_data','CollaborationEvent','_getSendChangesetTimeout','FETCH_MISSING','BehaviorSubject','UniverProLicense','INVITE_CODE_ALREADY_BOUND','href','ciphertext','SNAPSHOT_URL_KEY','_transformService','textEncoder','/fetchmissing?from=','replace','FETCH_MISS','disposeWithMe','ITelemetryService','_snapshotServerService','encodeURIComponent','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','members$','result','_fetchMissChangesets','onTransformIME','_onRemoteACK','join','WordArray','_scheduleCompleteTimestamp','eventID','MergeInterceptorFactory','_transformIMECache','LICENSE_EXPORT_SIZE_EXCEEDED','RETRY_CONNECTING_MAX_COUNT_KEY','cfg','SyncedState','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','sin','CollaborativeUndoRedoService','src','_sessionStatus$','LEAVE','_sendHeartbeat','concatMap','_httpService','_exhaustRemoteChangesetQueue','_schedule','generateRandomId','readyForCollab','8idUcTC','fetchMiss','sheets','_collaborationSessionService','_telemetryService','APPLY_REVISION_CONFILICT','_toggleOnline','_init','putCollaborators','BufferedBlockAlgorithm','_transformRemoteChangesetByStateCache','_roomMembers','exports','MentionIoHttpService','@univerjs-pro/collaboration','_permissionService','DataLoaderService','_onRemoteChangeset','algo','DEFAULT_FILE_NAME','_socket','now','patch','_xformMode','HEARTBEAT_INTERVAL','_collaborationTimeoutTimer','INVALID_ARGUMENT','randomBytes','INVITE_CODE_HAS_BEEN_UES','_ENC_XFORM_MODE','_transformSelections','LIVESHARE_OPERATION','joinEvent','requestParams','MentionType','Hasher','HEARTBEAT_TIMEOUT','getDeserializedSheetBlock','RevisionService','loadSheet','\x0aCurrent:\x20'];_0x55aa=function(){return _0x2b6ad8;};return _0x55aa();}function _0x180f(_0x297ead,_0x322939){var _0x55aa00=_0x55aa();return _0x180f=function(_0x180fae,_0x498bc2){_0x180fae=_0x180fae-0x182;var _0x59de29=_0x55aa00[_0x180fae];return _0x59de29;},_0x180f(_0x297ead,_0x322939);}(function(_0x2787c5,_0x41374a){var _0x120a02=_0x180f,_0x12b3e3=_0x2787c5();while(!![]){try{var _0x9cc06b=parseInt(_0x120a02(0x228))/0x1*(parseInt(_0x120a02(0x37d))/0x2)+parseInt(_0x120a02(0x472))/0x3*(-parseInt(_0x120a02(0x43d))/0x4)+parseInt(_0x120a02(0x36f))/0x5*(parseInt(_0x120a02(0x2ba))/0x6)+-parseInt(_0x120a02(0x357))/0x7*(-parseInt(_0x120a02(0x321))/0x8)+parseInt(_0x120a02(0x3b6))/0x9*(parseInt(_0x120a02(0x49c))/0xa)+-parseInt(_0x120a02(0x2ae))/0xb+-parseInt(_0x120a02(0x3d3))/0xc;if(_0x9cc06b===_0x41374a)break;else _0x12b3e3['push'](_0x12b3e3['shift']());}catch(_0x37425d){_0x12b3e3['push'](_0x12b3e3['shift']());}}}(_0x55aa,0x9c519),function(_0x3a7aed,_0x51eee3){var _0x668b15=_0x180f;typeof exports==_0x668b15(0x4a0)&&typeof module<'u'?_0x51eee3(exports,require(_0x668b15(0x25b)),require(_0x668b15(0x27a)),require(_0x668b15(0x4c4)),require(_0x668b15(0x32f)),require(_0x668b15(0x4d2)),require(_0x668b15(0x230)),require(_0x668b15(0x271)),require(_0x668b15(0x456)),require(_0x668b15(0x3bf)),require(_0x668b15(0x3d2))):typeof define==_0x668b15(0x190)&&define[_0x668b15(0x2ab)]?define([_0x668b15(0x32d),_0x668b15(0x25b),_0x668b15(0x27a),_0x668b15(0x4c4),_0x668b15(0x32f),'@univerjs/network',_0x668b15(0x230),_0x668b15(0x271),_0x668b15(0x456),_0x668b15(0x3bf),_0x668b15(0x3d2)],_0x51eee3):(_0x3a7aed=typeof globalThis<'u'?globalThis:_0x3a7aed||self,_0x51eee3(_0x3a7aed[_0x668b15(0x432)]={},_0x3a7aed[_0x668b15(0x386)],_0x3a7aed[_0x668b15(0x27a)],_0x3a7aed['rxjs']['operators'],_0x3a7aed[_0x668b15(0x1be)],_0x3a7aed[_0x668b15(0x4e5)],_0x3a7aed['UniverTelemetry'],_0x3a7aed[_0x668b15(0x207)],_0x3a7aed['UniverSheets'],_0x3a7aed[_0x668b15(0x36e)],_0x3a7aed[_0x668b15(0x2f6)]));}(this,function(_0x47f5c6,_0x3f0f0b,_0x1be1c1,_0x3b5477,_0x3e5fea,_0x556866,_0x432907,_0x59d75f,_0x1ba7ef,_0x3ce3fa,_0x49897e){'use strict';var _0x51f045=_0x180f;var _0x8618ae=Object['defineProperty'],_0x2a70c5=(_0x42c176,_0x5addcd,_0xf1950c)=>_0x5addcd in _0x42c176?_0x8618ae(_0x42c176,_0x5addcd,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xf1950c}):_0x42c176[_0x5addcd]=_0xf1950c,_0x48d230=(_0x2416b1,_0x38a8bd,_0x1e039c)=>_0x2a70c5(_0x2416b1,typeof _0x38a8bd!='symbol'?_0x38a8bd+'':_0x38a8bd,_0x1e039c);const _0x5a94ec='SNAPSHOT_SERVER_URL_KEY',_0x14bf74=_0x51f045(0x4d8),_0x6f33ea=_0x51f045(0x2fa),_0x1133f7='SEND_CHANGESET_TIMEOUT',_0xd9445=_0x51f045(0x438),_0x1de59f=_0x51f045(0x475),_0x108228=_0x51f045(0x46c),_0x1252c5=_0x51f045(0x339),_0xae207=_0x51f045(0x345),_0x17bcd8=_0x51f045(0x1fd),_0x41cf71=_0x51f045(0x28f),_0x521227=_0x51f045(0x395),_0x2c5044='/universer-api/comb',_0x53ce98='LOGIN_URL_KEY',_0x2508e2=_0x51f045(0x45b),_0x31c33c=_0x51f045(0x3a3),_0x14bba9=_0x51f045(0x374);var _0x4fb753=(_0x821eda=>(_0x821eda[_0x821eda[_0x51f045(0x470)]=0x0]=_0x51f045(0x470),_0x821eda[_0x821eda['OK']=0x1]='OK',_0x821eda[_0x821eda[_0x51f045(0x397)]=0x2]=_0x51f045(0x397),_0x821eda[_0x821eda['PERMISSION_DENIED']=0x3]=_0x51f045(0x22c),_0x821eda[_0x821eda[_0x51f045(0x469)]=0x4]=_0x51f045(0x469),_0x821eda[_0x821eda['UNAUTHENTICATED']=0x5]='UNAUTHENTICATED',_0x821eda[_0x821eda['ALREADY_EXISTS']=0x6]=_0x51f045(0x1f0),_0x821eda[_0x821eda[_0x51f045(0x33b)]=0x7]='INVALID_ARGUMENT',_0x821eda[_0x821eda[_0x51f045(0x206)]=0x8]=_0x51f045(0x206),_0x821eda[_0x821eda[_0x51f045(0x4d0)]=0x9]=_0x51f045(0x4d0),_0x821eda[_0x821eda[_0x51f045(0x1c9)]=0xa]=_0x51f045(0x1c9),_0x821eda[_0x821eda[_0x51f045(0x26b)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x821eda[_0x821eda['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x51f045(0x3b4),_0x821eda[_0x821eda[_0x51f045(0x2a1)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x821eda[_0x821eda[_0x51f045(0x44a)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x821eda[_0x821eda['APPLY_REJECT']=0x1b59]=_0x51f045(0x1d8),_0x821eda[_0x821eda[_0x51f045(0x256)]=0x1b5a]=_0x51f045(0x256),_0x821eda[_0x821eda[_0x51f045(0x326)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x821eda[_0x821eda[_0x51f045(0x3bb)]=0x1b5c]=_0x51f045(0x3bb),_0x821eda[_0x821eda[_0x51f045(0x2e1)]=0x1b5d]=_0x51f045(0x2e1),_0x821eda[_0x821eda[_0x51f045(0x221)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x821eda[_0x821eda['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x821eda[_0x821eda[_0x51f045(0x1f7)]=0x232a]=_0x51f045(0x1f7),_0x821eda[_0x821eda['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x51f045(0x443),_0x821eda[_0x821eda[_0x51f045(0x310)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x821eda[_0x821eda[_0x51f045(0x21e)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x821eda[_0x821eda[_0x51f045(0x270)]=0x2711]=_0x51f045(0x270),_0x821eda[_0x821eda[_0x51f045(0x362)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x821eda[_0x821eda[_0x51f045(0x414)]=0x2713]=_0x51f045(0x414),_0x821eda[_0x821eda['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x821eda[_0x821eda['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x821eda[_0x821eda[_0x51f045(0x1e3)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x821eda[_0x821eda['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x51f045(0x27f),_0x821eda[_0x821eda['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x51f045(0x33d),_0x821eda[_0x821eda[_0x51f045(0x34b)]=0x2ee2]='INVALID_INVITE_CODE',_0x821eda[_0x821eda['INVITE_CODE_REQUIRED']=0x2ee3]=_0x51f045(0x239),_0x821eda[_0x821eda['USER_NOT_INVITED_CODE']=0x2ee4]=_0x51f045(0x39c),_0x821eda[_0x821eda[_0x51f045(0x2f7)]=0x2ee5]=_0x51f045(0x2f7),_0x821eda[_0x821eda['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x51f045(0x466),_0x821eda[_0x821eda[_0x51f045(0x4f0)]=0x32ca]=_0x51f045(0x4f0),_0x821eda[_0x821eda[_0x51f045(0x292)]=0x32cb]=_0x51f045(0x292),_0x821eda[_0x821eda[_0x51f045(0x1b6)]=-0x1]='UNRECOGNIZED',_0x821eda))(_0x4fb753||{}),_0x3af995=(_0x215700=>(_0x215700[_0x215700[_0x51f045(0x36c)]=0x0]=_0x51f045(0x36c),_0x215700[_0x215700['UNIVER_DOC']=0x1]='UNIVER_DOC',_0x215700[_0x215700['UNIVER_SHEET']=0x2]=_0x51f045(0x298),_0x215700[_0x215700[_0x51f045(0x2d4)]=0x3]=_0x51f045(0x2d4),_0x215700[_0x215700[_0x51f045(0x46f)]=0x4]=_0x51f045(0x46f),_0x215700[_0x215700[_0x51f045(0x1b6)]=-0x1]='UNRECOGNIZED',_0x215700))(_0x3af995||{}),_0x52da41=(_0x38f5b2=>(_0x38f5b2[_0x38f5b2[_0x51f045(0x4e1)]=0x0]='UNKNOWN_CMD',_0x38f5b2[_0x38f5b2[_0x51f045(0x3d6)]=0x1]=_0x51f045(0x3d6),_0x38f5b2[_0x38f5b2[_0x51f045(0x3ac)]=0x2]='JOIN',_0x38f5b2[_0x38f5b2[_0x51f045(0x319)]=0x3]=_0x51f045(0x319),_0x38f5b2[_0x38f5b2[_0x51f045(0x358)]=0x4]='INGEST',_0x38f5b2[_0x38f5b2['HEARTBEAT']=0x5]=_0x51f045(0x267),_0x38f5b2[_0x38f5b2[_0x51f045(0x291)]=0x6]='RECV',_0x38f5b2[_0x38f5b2[_0x51f045(0x1b6)]=-0x1]=_0x51f045(0x1b6),_0x38f5b2))(_0x52da41||{}),_0x2fcd4f=(_0x4d3dd3=>(_0x4d3dd3[_0x4d3dd3[_0x51f045(0x1e0)]=0x0]=_0x51f045(0x1e0),_0x4d3dd3[_0x4d3dd3['OK']=0x1]='OK',_0x4d3dd3[_0x4d3dd3['FAIL']=0x2]='FAIL',_0x4d3dd3[_0x4d3dd3[_0x51f045(0x196)]=0x3e9]=_0x51f045(0x196),_0x4d3dd3[_0x4d3dd3[_0x51f045(0x244)]=0x3ea]=_0x51f045(0x244),_0x4d3dd3[_0x4d3dd3['JOIN_ROOM_PERMISSION_DENIED']=0x3eb]=_0x51f045(0x47a),_0x4d3dd3[_0x4d3dd3[_0x51f045(0x429)]=0x3ec]=_0x51f045(0x429),_0x4d3dd3[_0x4d3dd3['UNRECOGNIZED']=-0x1]=_0x51f045(0x1b6),_0x4d3dd3))(_0x2fcd4f||{}),_0x15973b=(_0x238953=>(_0x238953[_0x238953[_0x51f045(0x293)]=0x0]=_0x51f045(0x293),_0x238953[_0x238953[_0x51f045(0x45d)]=0x1]=_0x51f045(0x45d),_0x238953[_0x238953[_0x51f045(0x454)]=0x2]=_0x51f045(0x454),_0x238953[_0x238953[_0x51f045(0x453)]=0x3]=_0x51f045(0x453),_0x238953[_0x238953[_0x51f045(0x44f)]=0x4]='UnitSnapshot',_0x238953[_0x238953[_0x51f045(0x38a)]=0x5]='UserProfileImg',_0x238953[_0x238953[_0x51f045(0x1b6)]=-0x1]=_0x51f045(0x1b6),_0x238953))(_0x15973b||{});const _0xd902f1=_0x51f045(0x4ce),_0x53d6ac={};var _0xe3fca5=(_0x15a646=>(_0x15a646[_0x51f045(0x4df)]='OTHER_CLIENT_EDITING',_0x15a646[_0x51f045(0x22c)]=_0x51f045(0x22c),_0x15a646['CONFLICT']=_0x51f045(0x3cb),_0x15a646[_0x51f045(0x4b7)]=_0x51f045(0x4b7),_0x15a646[_0x51f045(0x40a)]=_0x51f045(0x40a),_0x15a646[_0x51f045(0x3fb)]='SOCKET_FAILED_RETRY',_0x15a646['SOCKET_FAILED']='SOCKET_FAILED',_0x15a646[_0x51f045(0x2ea)]=_0x51f045(0x2ea),_0x15a646))(_0xe3fca5||{});class _0x4e0ff7{constructor(){var _0xfb4f18=_0x51f045;_0x48d230(this,'_event$',new _0x1be1c1[(_0xfb4f18(0x381))]()),_0x48d230(this,_0xfb4f18(0x442),this[_0xfb4f18(0x1af)]['asObservable']());}[_0x51f045(0x2af)](_0x546cdb){var _0x529f95=_0x51f045;this['_event$'][_0x529f95(0x28b)](_0x546cdb);}}const _0xf00d80=_0x3f0f0b[_0x51f045(0x23b)](_0x51f045(0x4bc));function _0x4dcd59(_0x189a30){var _0x56a16d=_0x51f045,_0x3e3eaf,_0x5150ef,_0x112f07,_0x399acf,_0x406bb8;const _0x42282b=_0x189a30['data'],_0x270ee9=JSON[_0x56a16d(0x4cd)](_0x42282b);switch(_0x270ee9['cmd']){case _0x52da41[_0x56a16d(0x267)]:case _0x52da41[_0x56a16d(0x3d6)]:{const _0x16fd9e=_0x270ee9[_0x56a16d(0x437)];return{..._0x270ee9,'data':_0x16fd9e,'cmd':_0x270ee9[_0x56a16d(0x448)]};}case _0x52da41[_0x56a16d(0x3ac)]:{const _0x12aef3=_0x270ee9[_0x56a16d(0x39a)];return{..._0x270ee9,'data':_0x12aef3,'cmd':_0x270ee9[_0x56a16d(0x448)]};}case _0x52da41[_0x56a16d(0x291)]:{const _0x249682=_0x270ee9[_0x56a16d(0x480)];switch(_0x249682[_0x56a16d(0x30d)]){case _0x3e5fea['CollaborationEvent']['PERMISSION_REJ']:return{..._0x270ee9,'data':{..._0x249682,'data':(_0x3e3eaf=_0x249682[_0x56a16d(0x389)])==null?void 0x0:_0x3e3eaf['cs']},'cmd':_0x270ee9['cmd']};case _0x3e5fea[_0x56a16d(0x2f2)][_0x56a16d(0x29a)]:return{..._0x270ee9,'data':{..._0x249682,'data':(_0x5150ef=_0x249682[_0x56a16d(0x1cb)])==null?void 0x0:_0x5150ef['cs']},'cmd':_0x270ee9[_0x56a16d(0x448)]};case _0x3e5fea['CollaborationEvent'][_0x56a16d(0x3be)]:return{..._0x270ee9,'data':{..._0x249682,'data':(_0x112f07=_0x249682[_0x56a16d(0x259)])==null?void 0x0:_0x112f07['cs']},'cmd':_0x270ee9['cmd']};case _0x3e5fea[_0x56a16d(0x2f2)]['CHANGESET_REJ']:return{..._0x270ee9,'data':{..._0x249682,'data':(_0x399acf=_0x249682[_0x56a16d(0x288)])==null?void 0x0:_0x399acf['cs']},'cmd':_0x270ee9['cmd']};case _0x3e5fea[_0x56a16d(0x2f2)][_0x56a16d(0x485)]:return{..._0x270ee9,'data':{..._0x249682,'data':(_0x406bb8=_0x249682[_0x56a16d(0x4b6)])==null?void 0x0:_0x406bb8['cs']},'cmd':_0x270ee9[_0x56a16d(0x448)]};case _0x3e5fea['CollaborationEvent'][_0x56a16d(0x27d)]:return{..._0x270ee9,'data':{..._0x249682,'data':_0x249682[_0x56a16d(0x20e)]},'cmd':_0x270ee9[_0x56a16d(0x448)]};case _0x3e5fea[_0x56a16d(0x2f2)][_0x56a16d(0x35e)]:return{..._0x270ee9,'data':{..._0x249682,'data':_0x249682[_0x56a16d(0x341)]},'cmd':_0x270ee9['cmd']};case _0x3e5fea[_0x56a16d(0x2f2)][_0x56a16d(0x477)]:return{..._0x270ee9,'data':{..._0x249682,'data':_0x249682['leaveEvent']},'cmd':_0x270ee9[_0x56a16d(0x448)]};case _0x3e5fea[_0x56a16d(0x2f2)][_0x56a16d(0x39e)]:return{..._0x270ee9,'data':{..._0x249682,'data':_0x249682[_0x56a16d(0x44e)]},'cmd':_0x270ee9[_0x56a16d(0x448)]};case _0x3e5fea[_0x56a16d(0x2f2)][_0x56a16d(0x1ac)]:case _0x3e5fea['CollaborationEvent'][_0x56a16d(0x340)]:return{..._0x270ee9,'data':{..._0x249682,'data':_0x249682[_0x56a16d(0x398)]},'cmd':_0x270ee9[_0x56a16d(0x448)]};case _0x3e5fea[_0x56a16d(0x2f2)][_0x56a16d(0x2eb)]:return{..._0x270ee9,'data':{..._0x249682,'data':_0x249682[_0x56a16d(0x44e)]},'cmd':_0x270ee9['cmd']};case _0x3e5fea['CollaborationEvent'][_0x56a16d(0x255)]:return{..._0x270ee9,'data':_0x249682,'cmd':_0x270ee9['cmd']};case _0x3e5fea[_0x56a16d(0x2f2)]['COMMENT_UPDATE']:return{..._0x270ee9,'data':{..._0x249682,'data':_0x249682['commentUpdateEvent']},'cmd':_0x270ee9['cmd']};case _0x3e5fea[_0x56a16d(0x2f2)][_0x56a16d(0x21a)]:return{..._0x270ee9,'data':{..._0x249682,'data':_0x249682['updatePermissionObjEvent']},'cmd':_0x270ee9['cmd']};case _0x3e5fea[_0x56a16d(0x2f2)][_0x56a16d(0x197)]:return{..._0x270ee9,'data':{..._0x249682,'data':_0x249682[_0x56a16d(0x46e)]},'cmd':_0x270ee9['cmd']};case _0x3e5fea[_0x56a16d(0x2f2)][_0x56a16d(0x222)]:return{..._0x270ee9,'data':{..._0x249682,'data':_0x249682[_0x56a16d(0x2a0)]},'cmd':_0x270ee9[_0x56a16d(0x448)]};default:return _0x270ee9;}}default:return _0x270ee9;}}function _0x269e4c(_0x1f8837){var _0x3c0303=_0x51f045;switch(_0x1f8837[_0x3c0303(0x448)]){case _0x52da41[_0x3c0303(0x267)]:case _0x52da41['HELLO']:return JSON[_0x3c0303(0x1de)]({'cmd':_0x1f8837[_0x3c0303(0x448)],'routeKey':_0x1f8837[_0x3c0303(0x3bd)]});case _0x52da41[_0x3c0303(0x358)]:{let _0x6e74dd;switch(_0x1f8837['data']['eventID']){case _0x3e5fea[_0x3c0303(0x2f2)]['UPDATE_CURSOR']:{_0x6e74dd={'eventID':_0x3e5fea[_0x3c0303(0x2f2)][_0x3c0303(0x27d)],'updateCursorEvent':_0x1f8837[_0x3c0303(0x2ad)][_0x3c0303(0x2ad)]};break;}case _0x3e5fea[_0x3c0303(0x2f2)]['USERS_LEAVE']:{_0x6e74dd={'eventID':_0x3e5fea['CollaborationEvent']['USERS_LEAVE'],'leaveEvent':_0x1f8837[_0x3c0303(0x2ad)]['data']};break;}case _0x3e5fea[_0x3c0303(0x2f2)][_0x3c0303(0x35e)]:{_0x6e74dd={'eventID':_0x3e5fea[_0x3c0303(0x2f2)]['USERS_ENTER'],'joinEvent':_0x1f8837['data']['data']};break;}case _0x3e5fea[_0x3c0303(0x2f2)][_0x3c0303(0x39e)]:{_0x6e74dd={'eventID':_0x3e5fea[_0x3c0303(0x2f2)][_0x3c0303(0x39e)],'liveShareNewHost':_0x1f8837[_0x3c0303(0x2ad)][_0x3c0303(0x2ad)]};break;}case _0x3e5fea[_0x3c0303(0x2f2)][_0x3c0303(0x340)]:{_0x6e74dd={'eventID':_0x3e5fea['CollaborationEvent']['LIVESHARE_OPERATION'],'liveShareOperation':_0x1f8837[_0x3c0303(0x2ad)][_0x3c0303(0x2ad)]};break;}case _0x3e5fea[_0x3c0303(0x2f2)][_0x3c0303(0x2eb)]:{_0x6e74dd={'eventID':_0x3e5fea[_0x3c0303(0x2f2)][_0x3c0303(0x2eb)],'liveShareTerminate':_0x1f8837['data'][_0x3c0303(0x2ad)]};break;}case _0x3e5fea[_0x3c0303(0x2f2)][_0x3c0303(0x2c8)]:{_0x6e74dd={'eventID':_0x3e5fea[_0x3c0303(0x2f2)][_0x3c0303(0x2c8)],'liveShareRequestHost':_0x1f8837['data'][_0x3c0303(0x2ad)]};break;}case _0x3e5fea[_0x3c0303(0x2f2)][_0x3c0303(0x1ac)]:{_0x6e74dd={'eventID':_0x3e5fea[_0x3c0303(0x2f2)]['LIVESHARE_FETCH_OPERATIONS']};break;}default:_0x6e74dd={'eventID':_0x1f8837[_0x3c0303(0x2ad)][_0x3c0303(0x30d)]};}return JSON[_0x3c0303(0x1de)]({'cmd':_0x1f8837[_0x3c0303(0x448)],'routeKey':_0x1f8837[_0x3c0303(0x3bd)],'collaMsg':_0x6e74dd});}case _0x52da41[_0x3c0303(0x3ac)]:return JSON[_0x3c0303(0x1de)]({'cmd':_0x1f8837[_0x3c0303(0x448)],'routeKey':_0x1f8837[_0x3c0303(0x3bd)],'joinReq':_0x1f8837[_0x3c0303(0x2ad)]});case _0x52da41[_0x3c0303(0x319)]:return JSON[_0x3c0303(0x1de)]({'cmd':_0x1f8837['cmd'],'routeKey':_0x1f8837[_0x3c0303(0x3bd)],'leaveReq':_0x1f8837[_0x3c0303(0x2ad)]});default:throw new Error('[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!');}}var _0x5b5452=Object[_0x51f045(0x3ee)],_0x4878c9=(_0x335047,_0x5ee8ee,_0x74be86,_0x2f67f5)=>{var _0x25a761=_0x51f045;for(var _0x2aaf4b=_0x2f67f5>0x1?void 0x0:_0x2f67f5?_0x5b5452(_0x5ee8ee,_0x74be86):_0x5ee8ee,_0x91e1a9=_0x335047[_0x25a761(0x1fb)]-0x1,_0x10956d;_0x91e1a9>=0x0;_0x91e1a9--)(_0x10956d=_0x335047[_0x91e1a9])&&(_0x2aaf4b=_0x10956d(_0x2aaf4b)||_0x2aaf4b);return _0x2aaf4b;},_0x11232d=(_0x8eb49a,_0x2c1944)=>(_0x695f7c,_0x38b035)=>_0x2c1944(_0x695f7c,_0x38b035,_0x8eb49a);const _0x892c43=_0x3f0f0b[_0x51f045(0x23b)]('univer-pro.collaboration-client-socket-service');function _0x3992b2(_0x2006cf,_0x4bbe7e,_0xb28535){var _0x42c342=_0x51f045;return _0x2006cf+'/'+_0x4bbe7e+_0x42c342(0x4eb)+_0xb28535+_0x42c342(0x1b0);}_0x47f5c6[_0x51f045(0x2da)]=class extends _0x3f0f0b[_0x51f045(0x24c)]{constructor(_0x3b9bd1,_0x4fff4c,_0x9484f,_0xdafd98,_0xb544bf){var _0x9e5d98=_0x51f045;super(),this[_0x9e5d98(0x4c3)]=_0x3b9bd1,this[_0x9e5d98(0x31c)]=_0x4fff4c,this[_0x9e5d98(0x20c)]=_0x9484f,this[_0x9e5d98(0x468)]=_0xdafd98,this[_0x9e5d98(0x302)]=_0xb544bf;}[_0x51f045(0x4a7)](_0x3be9e1){var _0x185230=_0x51f045;const _0x58283e=this[_0x185230(0x4c3)][_0x185230(0x24e)](_0x556866[_0x185230(0x440)]);if(!_0x58283e)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!');const _0x2200d6=_0x58283e[_0x185230(0x377)](_0x3be9e1);if(!_0x2200d6)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!');const _0x67f680=new _0x3f0f0b[(_0x185230(0x1dc))](),_0x5570bc=new _0x1be1c1[(_0x185230(0x381))]();_0x67f680[_0x185230(0x1e5)](_0x2200d6['close$'][_0x185230(0x439)](_0x2e5718=>_0x5570bc[_0x185230(0x28b)](_0x2e5718))),_0x67f680[_0x185230(0x1e5)](_0x3f0f0b[_0x185230(0x44c)](()=>_0x5570bc['complete']()));const _0x7278dd=new _0x1be1c1[(_0x185230(0x381))]();_0x67f680['add'](_0x2200d6['error$'][_0x185230(0x439)](_0x28ce9e=>_0x7278dd[_0x185230(0x28b)](_0x28ce9e))),_0x67f680[_0x185230(0x1e5)](_0x3f0f0b[_0x185230(0x44c)](()=>_0x7278dd[_0x185230(0x2de)]()));const _0x4161d9=new _0x1be1c1[(_0x185230(0x381))]();_0x67f680[_0x185230(0x1e5)](_0x2200d6[_0x185230(0x3aa)][_0x185230(0x439)](_0x56bda8=>{var _0x2b42a9=_0x185230;const _0x939238=_0x4dcd59(_0x56bda8);_0x4161d9[_0x2b42a9(0x28b)](_0x939238);})),_0x67f680['add'](_0x3f0f0b[_0x185230(0x44c)](()=>_0x4161d9['complete']()));let _0x46e84e;const _0x75412e=()=>{var _0x37f16e=_0x185230;_0x7278dd[_0x37f16e(0x28b)](new Event(_0x37f16e(0x3d1))),_0x5570bc[_0x37f16e(0x28b)](new Event(_0x37f16e(0x3d1))),_0x46e84e[_0x37f16e(0x23a)]();};return _0x46e84e={'memberID':'','close$':_0x5570bc['asObservable'](),'error$':_0x7278dd['asObservable'](),'open$':_0x2200d6[_0x185230(0x396)],'message$':_0x4161d9[_0x185230(0x4dc)](),'send':_0x436a6d=>{var _0xee793a=_0x185230;if(_0x436a6d[_0xee793a(0x448)]===_0x52da41[_0xee793a(0x358)]){if(_0x436a6d[_0xee793a(0x2ad)][_0xee793a(0x30d)]===_0x3e5fea[_0xee793a(0x2f2)][_0xee793a(0x1dd)]){this[_0xee793a(0x1ef)](_0x46e84e,_0x436a6d[_0xee793a(0x2ad)])[_0xee793a(0x392)](_0x1d273c=>{var _0x400688=_0xee793a;this[_0x400688(0x468)][_0x400688(0x199)](_0x1d273c),_0x75412e();});return;}if(_0x436a6d['data'][_0xee793a(0x30d)]===_0x3e5fea[_0xee793a(0x2f2)][_0xee793a(0x2f4)]){const _0x10a74d=_0x436a6d[_0xee793a(0x2ad)];this[_0xee793a(0x307)](_0x10a74d)[_0xee793a(0x1ff)](_0x263b21=>{var _0x41f8cc=_0xee793a;_0x4161d9[_0x41f8cc(0x28b)]({'cmd':_0x52da41[_0x41f8cc(0x291)],'code':_0x2fcd4f['OK'],'routeKey':_0x10a74d['data'][_0x41f8cc(0x3cd)],'routeType':'','data':{'eventID':_0x3e5fea[_0x41f8cc(0x2f2)][_0x41f8cc(0x378)],'data':{'changesets':_0x263b21}}});})[_0xee793a(0x392)](_0x4e2aa2=>{var _0x500d0a=_0xee793a;this[_0x500d0a(0x468)]['error'](_0x4e2aa2),_0x75412e();});return;}}_0x2200d6[_0xee793a(0x4b4)](_0x269e4c(_0x436a6d));},'close':()=>{var _0x4fdc84=_0x185230;_0x2200d6[_0x4fdc84(0x23a)](),_0x67f680[_0x4fdc84(0x467)]();}},_0x46e84e;}async[_0x51f045(0x1ef)](_0x5365bd,_0x28156a){var _0x5950cd=_0x51f045,_0x501719,_0x51d8d4;const {unitType:_0x12ad51,unitID:_0x518c1,changeset:_0x3607bd}=_0x28156a['data'],_0x5e39a4={'unitID':_0x518c1,'memberID':_0x5365bd[_0x5950cd(0x21d)],'type':_0x12ad51,'changeset':_0x3e5fea[_0x5950cd(0x38e)](_0x3607bd)},_0x2ac147=this['_configService'][_0x5950cd(0x3ae)](_0x521227),_0x16102a=this[_0x5950cd(0x20c)][_0x5950cd(0x3ae)](_0xd902f1),_0x2eaea7=_0x3992b2((_0x51d8d4=(_0x501719=_0x16102a==null?void 0x0:_0x16102a[_0x5950cd(0x4a8)])!=null?_0x501719:_0x2ac147)!=null?_0x51d8d4:_0x2c5044,_0x12ad51,_0x518c1);try{await this['_httpService'][_0x5950cd(0x297)](_0x2eaea7,{'body':_0x5e39a4});}catch(_0x156774){throw this['_logService'][_0x5950cd(0x199)](_0x5950cd(0x18c),_0x5950cd(0x242)),_0x156774;}}async[_0x51f045(0x307)](_0x25b34f){var _0x984c9e=_0x51f045;const {unitID:_0x12903f,from:_0x573337,to:_0x141c31,unitType:_0x2ccc15}=_0x25b34f[_0x984c9e(0x2ad)];return(await this[_0x984c9e(0x302)]['fetchMissingChangesets']({'metadata':void 0x0},{'unitID':_0x12903f,'type':_0x2ccc15,'from':_0x573337,'to':_0x141c31}))[_0x984c9e(0x18e)];}},_0x47f5c6[_0x51f045(0x2da)]=_0x4878c9([_0x11232d(0x0,_0x3f0f0b[_0x51f045(0x490)](_0x3f0f0b['Injector'])),_0x11232d(0x1,_0x3f0f0b[_0x51f045(0x490)](_0x556866[_0x51f045(0x258)])),_0x11232d(0x2,_0x3f0f0b[_0x51f045(0x496)]),_0x11232d(0x3,_0x3f0f0b[_0x51f045(0x369)]),_0x11232d(0x4,_0x3e5fea['ISnapshotServerService'])],_0x47f5c6[_0x51f045(0x2da)]);const _0x11bf2f=_0x51f045(0x185);function _0x5b841d(_0x3c38f7){var _0x58ccc9=_0x51f045;return JSON[_0x58ccc9(0x1de)](_0x3c38f7)['length'];}class _0x1d23d9{constructor(){var _0x1cb314=_0x51f045;_0x48d230(this,_0x1cb314(0x26e),new _0x1be1c1[(_0x1cb314(0x381))]()),_0x48d230(this,'commentUpdate$',this[_0x1cb314(0x26e)]['asObservable']());}[_0x51f045(0x2dd)](_0x23cd81){var _0x4f9124=_0x51f045;this[_0x4f9124(0x26e)]['next'](_0x23cd81);}}var _0x3d19ad=Object[_0x51f045(0x3ee)],_0x2a60cd=(_0x3aae4e,_0x1ace95,_0x12ebb6,_0x1d1cab)=>{var _0x3031ce=_0x51f045;for(var _0x55ae5b=_0x1d1cab>0x1?void 0x0:_0x1d1cab?_0x3d19ad(_0x1ace95,_0x12ebb6):_0x1ace95,_0x48a395=_0x3aae4e[_0x3031ce(0x1fb)]-0x1,_0x16d35e;_0x48a395>=0x0;_0x48a395--)(_0x16d35e=_0x3aae4e[_0x48a395])&&(_0x55ae5b=_0x16d35e(_0x55ae5b)||_0x55ae5b);return _0x55ae5b;},_0x7e6450=(_0x291663,_0x342cd8)=>(_0x259cf2,_0x1d8052)=>_0x342cd8(_0x259cf2,_0x1d8052,_0x291663);_0x47f5c6[_0x51f045(0x4fe)]=class extends _0x3f0f0b[_0x51f045(0x24c)]{constructor(_0x43e79e,_0xbfd21d){var _0x20607c=_0x51f045;super(),_0x48d230(this,_0x20607c(0x32c),new Map()),_0x48d230(this,_0x20607c(0x2b3),new _0x1be1c1[(_0x20607c(0x381))]()),(this[_0x20607c(0x4f9)]=_0x43e79e,this['_userManagerService']=_0xbfd21d,this[_0x20607c(0x300)](_0x1be1c1['merge'](this['_univerInstanceService'][_0x20607c(0x43a)](_0x3f0f0b[_0x20607c(0x3f1)][_0x20607c(0x298)])[_0x20607c(0x431)](_0x3b5477['map'](_0x471c6b=>_0x471c6b[_0x20607c(0x29b)]())),this[_0x20607c(0x4f9)][_0x20607c(0x43a)](_0x3f0f0b[_0x20607c(0x3f1)][_0x20607c(0x3df)])[_0x20607c(0x431)](_0x3b5477[_0x20607c(0x3e6)](_0x59529b=>_0x59529b[_0x20607c(0x29b)]())),this['_univerInstanceService'][_0x20607c(0x43a)](_0x3f0f0b[_0x20607c(0x3f1)][_0x20607c(0x2d4)])[_0x20607c(0x431)](_0x3b5477[_0x20607c(0x3e6)](_0x1ef5b5=>_0x1ef5b5[_0x20607c(0x29b)]())))[_0x20607c(0x439)](_0x5c0ae8=>this[_0x20607c(0x418)](_0x5c0ae8))));}[_0x51f045(0x4a9)](_0x57b71c){var _0xcbab60=_0x51f045;return this[_0xcbab60(0x32c)][_0xcbab60(0x407)](_0x57b71c)?_0x1be1c1['of'](this['_roomMembers'][_0xcbab60(0x24e)](_0x57b71c)):this[_0xcbab60(0x2b3)]['pipe'](_0x3b5477[_0xcbab60(0x3e6)](_0x53caea=>{var _0x254176=_0xcbab60;if(_0x53caea===_0x57b71c)return this['_roomMembers'][_0x254176(0x24e)](_0x53caea);}));}['setCurrentUser'](_0x45e1bd){var _0x1d82be=_0x51f045;this[_0x1d82be(0x4c9)]['setCurrentUser'](_0x45e1bd);}[_0x51f045(0x352)](){var _0x1b5124=_0x51f045;return this[_0x1b5124(0x4c9)][_0x1b5124(0x352)]();}['updateMember'](_0x179d4e,_0x223b13){var _0x2e40b1=_0x51f045;let _0x36345b=this[_0x2e40b1(0x32c)][_0x2e40b1(0x24e)](_0x179d4e);_0x36345b||(_0x36345b=new _0x139ca5(),this['_roomMembers'][_0x2e40b1(0x49f)](_0x179d4e,_0x36345b),this[_0x2e40b1(0x2b3)][_0x2e40b1(0x28b)](_0x179d4e)),_0x36345b[_0x2e40b1(0x36b)](_0x223b13);}[_0x51f045(0x3e2)](_0x5d3189,_0x38c898){var _0xe464c1=_0x51f045;const _0x26508e=this['_roomMembers']['get'](_0x5d3189);_0x26508e&&_0x26508e[_0xe464c1(0x3e2)](_0x38c898);}['getRoom'](_0x2effbe){var _0x1b75f6=_0x51f045;return this['_roomMembers'][_0x1b75f6(0x24e)](_0x2effbe);}['getMember'](_0x4c200b,_0x5bbab7){var _0xfcf4a9=_0x51f045;const _0xabf687=this[_0xfcf4a9(0x32c)][_0xfcf4a9(0x24e)](_0x4c200b);if(_0xabf687)return _0xabf687[_0xfcf4a9(0x40f)](_0x5bbab7);}['_removeRoom'](_0x156dfc){var _0x42905e=_0x51f045;const _0x4ebc1d=this['_roomMembers'][_0x42905e(0x24e)](_0x156dfc);_0x4ebc1d&&(_0x4ebc1d[_0x42905e(0x467)](),this[_0x42905e(0x32c)][_0x42905e(0x29c)](_0x156dfc));}['dispose'](){var _0x5c970f=_0x51f045;this['_roomMembers'][_0x5c970f(0x373)](_0x5638d0=>_0x5638d0[_0x5c970f(0x467)]()),this[_0x5c970f(0x32c)][_0x5c970f(0x28a)](),this[_0x5c970f(0x2b3)]['complete']();}},_0x47f5c6['MemberService']=_0x2a60cd([_0x7e6450(0x0,_0x3f0f0b[_0x51f045(0x3b7)]),_0x7e6450(0x1,_0x3f0f0b[_0x51f045(0x490)](_0x3f0f0b['UserManagerService']))],_0x47f5c6[_0x51f045(0x4fe)]);class _0x139ca5 extends _0x3f0f0b[_0x51f045(0x24c)]{constructor(){var _0x58e4f=_0x51f045;super(...arguments),_0x48d230(this,_0x58e4f(0x2a9),new Map()),_0x48d230(this,'_members$',new _0x1be1c1[(_0x58e4f(0x2f5))](this[_0x58e4f(0x2a9)])),_0x48d230(this,_0x58e4f(0x305),this[_0x58e4f(0x3de)][_0x58e4f(0x4dc)]());}[_0x51f045(0x467)](){var _0x5ac41f=_0x51f045;this['_members'][_0x5ac41f(0x28a)]();}[_0x51f045(0x36b)](_0x5ecff9){var _0x5f1771=_0x51f045;this[_0x5f1771(0x2a9)]['set'](_0x5ecff9[_0x5f1771(0x21d)],_0x5ecff9),this[_0x5f1771(0x2e2)]();}['removeMember'](_0x57ba1a){var _0x46a2f4=_0x51f045;this[_0x46a2f4(0x2a9)]['delete'](_0x57ba1a);}[_0x51f045(0x40f)](_0xb2185){var _0x150dcd=_0x51f045;return this[_0x150dcd(0x2a9)][_0x150dcd(0x24e)](_0xb2185);}['getAllMembers'](){var _0x56bf46=_0x51f045;return Array[_0x56bf46(0x38f)](this[_0x56bf46(0x2a9)]['values']());}[_0x51f045(0x2e2)](){var _0x3c84d7=_0x51f045;this['_members$']['next'](this[_0x3c84d7(0x2a9)]);}}var _0xf7855f=Object['getOwnPropertyDescriptor'],_0x31ff1f=(_0x50a976,_0x496414,_0x206af7,_0x52fb20)=>{var _0x11ef44=_0x51f045;for(var _0x27f3b5=_0x52fb20>0x1?void 0x0:_0x52fb20?_0xf7855f(_0x496414,_0x206af7):_0x496414,_0xe0b869=_0x50a976[_0x11ef44(0x1fb)]-0x1,_0x3c7937;_0xe0b869>=0x0;_0xe0b869--)(_0x3c7937=_0x50a976[_0xe0b869])&&(_0x27f3b5=_0x3c7937(_0x27f3b5)||_0x27f3b5);return _0x27f3b5;},_0x46e8db=(_0x4eca0d,_0x434969)=>(_0x48dc27,_0x296225)=>_0x434969(_0x48dc27,_0x296225,_0x4eca0d),_0x377f3b=(_0x54f597=>(_0x54f597[_0x54f597[_0x51f045(0x417)]=0x0]='IDLE',_0x54f597[_0x54f597[_0x51f045(0x3e9)]=0x1]=_0x51f045(0x3e9),_0x54f597[_0x54f597[_0x51f045(0x380)]=0x2]=_0x51f045(0x380),_0x54f597[_0x54f597[_0x51f045(0x4ad)]=0x3]=_0x51f045(0x4ad),_0x54f597))(_0x377f3b||{});const _0x562045={[_0x2fcd4f[_0x51f045(0x25a)]]:_0x51f045(0x4cc),[_0x2fcd4f[_0x51f045(0x196)]]:_0x51f045(0x434),[_0x2fcd4f['JOIN_ROOM_NOT_EXISTS']]:_0x51f045(0x1d9),[_0x2fcd4f['JOIN_ROOM_PERMISSION_DENIED']]:_0x51f045(0x4e3),[_0x2fcd4f[_0x51f045(0x429)]]:_0x51f045(0x39f)};_0x47f5c6['CollaborationSession']=class extends _0x3f0f0b[_0x51f045(0x182)]{constructor(_0x291c56,_0x139963,_0x2391c3,_0x4d16dd,_0x4223bf,_0x5d8679,_0x2f47a4,_0x4b19a9,_0x583c40){var _0x497848=_0x51f045;super(),_0x48d230(this,_0x497848(0x318),new _0x1be1c1[(_0x497848(0x2f5))](0x0)),_0x48d230(this,_0x497848(0x445),this['_sessionStatus$'][_0x497848(0x4dc)]()),_0x48d230(this,_0x497848(0x1af),new _0x1be1c1[(_0x497848(0x381))]()),_0x48d230(this,_0x497848(0x442),this['_event$']['asObservable']()),_0x48d230(this,_0x497848(0x335)),_0x48d230(this,_0x497848(0x2e5)),_0x48d230(this,_0x497848(0x33a)),_0x48d230(this,_0x497848(0x4f6),!0x1),_0x48d230(this,'_telemetryInfo',null),(this[_0x497848(0x479)]=_0x291c56,this[_0x497848(0x468)]=_0x2391c3,this['_configService']=_0x4d16dd,this[_0x497848(0x1e4)]=_0x4223bf,this['_memberService']=_0x5d8679,this[_0x497848(0x457)]=_0x2f47a4,this[_0x497848(0x370)]=_0x4b19a9,this['_telemetryService']=_0x583c40,this[_0x497848(0x4f6)]=!!this[_0x497848(0x325)],_0x139963['pipe'](_0x1be1c1[_0x497848(0x38d)](this[_0x497848(0x3db)]))[_0x497848(0x439)](_0x48b9fc=>{var _0x2e2730=_0x497848,_0x9477b6;typeof _0x48b9fc>'u'||(this[_0x2e2730(0x335)]=_0x48b9fc,_0x48b9fc?(this[_0x2e2730(0x2c4)](_0x48b9fc),this['_socketMessageSubscription']=_0x48b9fc['message$'][_0x2e2730(0x439)](_0x14e25c=>{var _0x26f4a0=_0x2e2730;_0x14e25c[_0x26f4a0(0x3bd)]===this[_0x26f4a0(0x479)]&&this[_0x26f4a0(0x464)](_0x14e25c);})):(this[_0x2e2730(0x40e)](),this[_0x2e2730(0x318)][_0x2e2730(0x28b)](0x2),(_0x9477b6=this[_0x2e2730(0x2e5)])==null||_0x9477b6['unsubscribe'](),this[_0x2e2730(0x2e5)]=null));}));}get[_0x51f045(0x247)](){var _0x4a497b=_0x51f045;return this[_0x4a497b(0x318)]['getValue']();}['getMemberID'](){var _0x3bd692=_0x51f045,_0x4387f6,_0x203c46;return(_0x203c46=(_0x4387f6=this[_0x3bd692(0x335)])==null?void 0x0:_0x4387f6[_0x3bd692(0x21d)])!=null?_0x203c46:null;}[_0x51f045(0x467)](){var _0x2c1d81=_0x51f045;super[_0x2c1d81(0x467)](),this['dispose$']['next'](),this[_0x2c1d81(0x3db)]['complete']();}[_0x51f045(0x23a)](){var _0x39e6c9=_0x51f045,_0x12cc46,_0x45f6a9;this['_throwTelemetryCollaborationNewChangeset'](),(_0x12cc46=this[_0x39e6c9(0x335)])==null||_0x12cc46[_0x39e6c9(0x4b4)]({'cmd':_0x52da41[_0x39e6c9(0x319)],'data':{'roomID':this[_0x39e6c9(0x479)]}}),(_0x45f6a9=this['_socket'])==null||_0x45f6a9['close'](),this[_0x39e6c9(0x1af)]['complete'](),this[_0x39e6c9(0x318)][_0x39e6c9(0x2de)](),this[_0x39e6c9(0x467)]();}[_0x51f045(0x464)](_0x18796a){var _0x49eab1=_0x51f045;_0x18796a['cmd']===_0x52da41['JOIN']?this[_0x49eab1(0x3cf)](_0x18796a):_0x18796a[_0x49eab1(0x448)]===_0x52da41[_0x49eab1(0x291)]&&this['_onRecvEvent'](_0x18796a);}[_0x51f045(0x2c4)](_0x10de9b){var _0x14d156=_0x51f045;this[_0x14d156(0x318)][_0x14d156(0x28b)](0x1),_0x10de9b[_0x14d156(0x4b4)]({'cmd':_0x52da41[_0x14d156(0x3ac)],'routeKey':this[_0x14d156(0x479)],'routeType':'','data':{'rooms':[{'roomID':this[_0x14d156(0x479)]}]}});}['_onJoinRoomEvent'](_0x4b25a8){var _0x214517=_0x51f045,_0x10353c;if(_0x4b25a8[_0x214517(0x25e)]in _0x562045){this[_0x214517(0x370)][_0x214517(0x2af)]({'id':_0xe3fca5[_0x214517(0x40a)],'data':_0x562045[_0x4b25a8['code']]}),this[_0x214517(0x318)]['next'](0x2);return;}this[_0x214517(0x318)][_0x214517(0x28b)](0x3);const _0x1c678a=(_0x10353c=_0x4b25a8[_0x214517(0x2ad)][_0x214517(0x4b8)][this[_0x214517(0x479)]])==null?void 0x0:_0x10353c['members'];_0x1c678a&&_0x1c678a[_0x214517(0x373)](_0x2aa84d=>this[_0x214517(0x1d2)][_0x214517(0x36b)](this[_0x214517(0x479)],_0x2aa84d));}[_0x51f045(0x2b9)](_0x38d276){var _0x14c041=_0x51f045;try{const _0x193b7c=_0x38d276[_0x14c041(0x2ad)];switch(_0x193b7c[_0x14c041(0x30d)]){case _0x3e5fea[_0x14c041(0x2f2)][_0x14c041(0x35e)]:this[_0x14c041(0x4da)](_0x193b7c),this[_0x14c041(0x1af)][_0x14c041(0x28b)](_0x193b7c);break;case _0x3e5fea[_0x14c041(0x2f2)][_0x14c041(0x477)]:this[_0x14c041(0x4db)](_0x193b7c),this['_event$'][_0x14c041(0x28b)](_0x193b7c);break;case _0x3e5fea[_0x14c041(0x2f2)][_0x14c041(0x29a)]:case _0x3e5fea['CollaborationEvent'][_0x14c041(0x485)]:this[_0x14c041(0x42d)](),this[_0x14c041(0x4fc)](),this['_event$'][_0x14c041(0x28b)](_0x193b7c);break;case _0x3e5fea[_0x14c041(0x2f2)]['MSG_FOR_ERROR']:this[_0x14c041(0x468)][_0x14c041(0x199)](_0x14c041(0x4ea)+JSON[_0x14c041(0x1de)](_0x193b7c)),this['_event$'][_0x14c041(0x28b)](_0x193b7c);break;case _0x3e5fea[_0x14c041(0x2f2)][_0x14c041(0x3ff)]:this[_0x14c041(0x457)][_0x14c041(0x2dd)](_0x193b7c[_0x14c041(0x2ad)]),this[_0x14c041(0x1af)]['next'](_0x193b7c);break;default:this[_0x14c041(0x1af)][_0x14c041(0x28b)](_0x193b7c);}}catch(_0x29de8d){this[_0x14c041(0x468)][_0x14c041(0x199)](_0x29de8d,_0x38d276);}}[_0x51f045(0x4da)](_0x3b6655){var _0x46a90e=_0x51f045;this[_0x46a90e(0x1d2)]['updateMember'](this[_0x46a90e(0x479)],_0x3b6655[_0x46a90e(0x2ad)]);}['_onUserLeave'](_0x29952b){var _0x504b73=_0x51f045;this[_0x504b73(0x1d2)][_0x504b73(0x3e2)](this[_0x504b73(0x479)],_0x29952b[_0x504b73(0x2ad)][_0x504b73(0x21d)]);}async[_0x51f045(0x4b4)](_0x10c5d0,_0x5cd4f8){var _0x4c7e70=_0x51f045;if(this['sessionStatus']!==0x3||!this[_0x4c7e70(0x335)])throw new Error('[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!');try{_0x10c5d0[_0x4c7e70(0x30d)]===_0x3e5fea[_0x4c7e70(0x2f2)][_0x4c7e70(0x1dd)]&&(this['_scheduleCollaborationTimeoutTimer'](),this[_0x4c7e70(0x1fa)](_0x10c5d0)),this[_0x4c7e70(0x335)][_0x4c7e70(0x4b4)]({'cmd':_0x52da41[_0x4c7e70(0x358)],'routeKey':_0x5cd4f8,'routeType':'','data':_0x10c5d0});}catch(_0x1836b0){this[_0x4c7e70(0x468)][_0x4c7e70(0x199)](_0x1836b0);}}[_0x51f045(0x351)](){var _0x3b1021=_0x51f045,_0x574603;this['_collaborationTimeoutTimer']=setTimeout(()=>{var _0x188fec=_0x180f;this[_0x188fec(0x33a)]=null,this[_0x188fec(0x370)][_0x188fec(0x2af)]({'id':_0xe3fca5[_0x188fec(0x2ea)]});},(_0x574603=this[_0x3b1021(0x20c)][_0x3b1021(0x3ae)](_0xae207))!=null?_0x574603:0x4e20);}[_0x51f045(0x4fc)](){var _0x3d398f=_0x51f045;this[_0x3d398f(0x33a)]&&(clearTimeout(this['_collaborationTimeoutTimer']),this[_0x3d398f(0x33a)]=null);}[_0x51f045(0x1fa)](_0x2ebdb){var _0x3a7a33=_0x51f045;if(!this[_0x3a7a33(0x4f6)])return;const {data:_0x255af3}=_0x2ebdb,{unitID:_0xe39fb5,changeset:_0x48a4bb}=_0x255af3,{mutations:_0x3ad5a5,type:_0x22dbcf}=_0x48a4bb;this[_0x3a7a33(0x476)]={'unitId':_0xe39fb5,'type':_0x22dbcf,'startTime':performance['now'](),'stopTime':0x0,'duration':0x0,'size':_0x5b841d(_0x3ad5a5)};}[_0x51f045(0x42d)](){var _0x335232=_0x51f045;if(this[_0x335232(0x4f6)]){if(!this[_0x335232(0x476)]){this[_0x335232(0x468)][_0x335232(0x199)](_0x335232(0x18c),'telemetry\x20info\x20is\x20not\x20initialized');return;}this[_0x335232(0x476)]['stopTime']=performance[_0x335232(0x336)](),this['_telemetryInfo'][_0x335232(0x484)]=this[_0x335232(0x476)]['stopTime']-this[_0x335232(0x476)][_0x335232(0x1b7)],this[_0x335232(0x325)][_0x335232(0x1c6)](_0x11bf2f,this[_0x335232(0x476)]),this[_0x335232(0x476)]=null;}}[_0x51f045(0x40e)](){var _0x3822c5=_0x51f045;this[_0x3822c5(0x476)]=null;}},_0x47f5c6[_0x51f045(0x1b2)]=_0x31ff1f([_0x46e8db(0x2,_0x3f0f0b[_0x51f045(0x369)]),_0x46e8db(0x3,_0x3f0f0b[_0x51f045(0x496)]),_0x46e8db(0x4,_0x3f0f0b['Inject'](_0x3f0f0b[_0x51f045(0x405)])),_0x46e8db(0x5,_0x3f0f0b[_0x51f045(0x490)](_0x47f5c6[_0x51f045(0x4fe)])),_0x46e8db(0x6,_0x3f0f0b['Inject'](_0x1d23d9)),_0x46e8db(0x7,_0x3f0f0b[_0x51f045(0x490)](_0x4e0ff7)),_0x46e8db(0x8,_0x3f0f0b[_0x51f045(0x4d1)](_0x432907[_0x51f045(0x301)]))],_0x47f5c6[_0x51f045(0x1b2)]);var _0x145ff9=Object[_0x51f045(0x3ee)],_0xf0a1b5=(_0x422f52,_0x5033c1,_0x1668ad,_0xd0fb7e)=>{var _0x689a90=_0x51f045;for(var _0x5b9f9b=_0xd0fb7e>0x1?void 0x0:_0xd0fb7e?_0x145ff9(_0x5033c1,_0x1668ad):_0x5033c1,_0x1f5371=_0x422f52[_0x689a90(0x1fb)]-0x1,_0x32c521;_0x1f5371>=0x0;_0x1f5371--)(_0x32c521=_0x422f52[_0x1f5371])&&(_0x5b9f9b=_0x32c521(_0x5b9f9b)||_0x5b9f9b);return _0x5b9f9b;},_0x2dd182=(_0x33776d,_0xffe7f)=>(_0x54e1da,_0x23971d)=>_0xffe7f(_0x54e1da,_0x23971d,_0x33776d);_0x47f5c6['CollaborationSessionService']=class extends _0x3f0f0b['Disposable']{constructor(_0x336cd2,_0x3b7dc7,_0x1cbdf1,_0x39d9b1,_0x3d2481,_0x132449){var _0x28ec67=_0x51f045;super(),_0x48d230(this,'_socket$',new _0x1be1c1['BehaviorSubject'](void 0x0)),_0x48d230(this,_0x28ec67(0x428),this[_0x28ec67(0x2b6)]['asObservable']()),_0x48d230(this,_0x28ec67(0x1f4),null),_0x48d230(this,_0x28ec67(0x1a8),new Map()),_0x48d230(this,_0x28ec67(0x2e9),new _0x1be1c1['BehaviorSubject'](_0x377f3b[_0x28ec67(0x417)])),_0x48d230(this,'status$',this['_status$'][_0x28ec67(0x4dc)]()),_0x48d230(this,'_socketReady',!0x1),_0x48d230(this,_0x28ec67(0x220)),_0x48d230(this,_0x28ec67(0x253),0x0),_0x48d230(this,_0x28ec67(0x4d7)),_0x48d230(this,_0x28ec67(0x36a)),(this[_0x28ec67(0x4c3)]=_0x336cd2,this[_0x28ec67(0x468)]=_0x3b7dc7,this[_0x28ec67(0x20c)]=_0x1cbdf1,this['_socketService']=_0x39d9b1,this[_0x28ec67(0x370)]=_0x3d2481,this[_0x28ec67(0x279)]=_0x132449,this['_listenToNetworkCondition']());}get[_0x51f045(0x335)](){var _0x7ecb01=_0x51f045;return this[_0x7ecb01(0x2b6)][_0x7ecb01(0x45f)]();}[_0x51f045(0x29f)](){var _0x4db1b1=_0x51f045;this[_0x4db1b1(0x279)]&&this[_0x4db1b1(0x300)](this[_0x4db1b1(0x279)]['online$'][_0x4db1b1(0x439)](_0x3a30e2=>{_0x3a30e2&&!this['_socket']&&this['reconnect'](),_0x3a30e2||this['_onOffline']();}));}[_0x51f045(0x467)](){var _0x161739=_0x51f045;super[_0x161739(0x467)](),this[_0x161739(0x3d7)](),this[_0x161739(0x1cf)](),this[_0x161739(0x18f)](),this['_sessions'][_0x161739(0x373)](_0x303e68=>_0x303e68[_0x161739(0x467)]()),this[_0x161739(0x1a8)]['clear'](),this[_0x161739(0x2e9)][_0x161739(0x2de)]();}async[_0x51f045(0x410)](_0x4719a1){var _0x504781=_0x51f045;if(this['_sessions'][_0x504781(0x407)](_0x4719a1))return this[_0x504781(0x1a8)][_0x504781(0x24e)](_0x4719a1);this[_0x504781(0x1c2)]();const _0x371f33=this[_0x504781(0x4c3)][_0x504781(0x1c1)](_0x47f5c6['CollaborationSession'],_0x4719a1,this[_0x504781(0x2b6)]['asObservable']());return this[_0x504781(0x1a8)]['set'](_0x4719a1,_0x371f33),_0x371f33;}[_0x51f045(0x499)](_0x1d0ade){var _0x5371bf=_0x51f045,_0x65a927;const _0x42101a=this[_0x5371bf(0x1a8)]['get'](_0x1d0ade);_0x42101a&&(this['_sessions'][_0x5371bf(0x29c)](_0x1d0ade),_0x42101a[_0x5371bf(0x23a)]()),this[_0x5371bf(0x1a8)][_0x5371bf(0x1bb)]||(_0x65a927=this['_socket'])==null||_0x65a927[_0x5371bf(0x23a)]();}['reconnect'](){var _0x33643a=_0x51f045;this[_0x33643a(0x253)]=0x0,this[_0x33643a(0x3d7)](),this[_0x33643a(0x474)]();}[_0x51f045(0x3d7)](){var _0x46f759=_0x51f045;this[_0x46f759(0x220)]!=null&&(clearTimeout(this[_0x46f759(0x220)]),this[_0x46f759(0x220)]=null);}async['_createSocket'](){var _0xa30d91=_0x51f045,_0x30ea93,_0x53d849;const _0xa9a163=this[_0xa30d91(0x20c)]['getConfig'](_0xd9445),_0xeea395=this[_0xa30d91(0x20c)]['getConfig'](_0xd902f1),_0x5b4763=(_0x53d849=(_0x30ea93=_0xeea395==null?void 0x0:_0xeea395[_0xa30d91(0x41e)])!=null?_0x30ea93:_0xa9a163)!=null?_0x53d849:_0x1de59f,_0x426dc7=await this['_socketService'][_0xa30d91(0x377)](_0x5b4763);return this[_0xa30d91(0x1f4)]=_0x426dc7,_0x426dc7;}async['_tryEnsureSocket'](){var _0x57c0a4=_0x51f045,_0x17647e,_0x3beb6e;try{const _0x3d6e0e=(_0x3beb6e=(_0x17647e=this[_0x57c0a4(0x335)])!=null?_0x17647e:this['_candidateSocket'])!=null?_0x3beb6e:await this['_createSocket']();if(_0x3d6e0e){const _0x343b86=_0x3d6e0e[_0x57c0a4(0x4b4)];_0x3d6e0e[_0x57c0a4(0x4b4)]=_0x222ec7=>(this[_0x57c0a4(0x497)](),_0x343b86[_0x57c0a4(0x4c6)](_0x3d6e0e,[_0x222ec7])),_0x3d6e0e[_0x57c0a4(0x3aa)]['subscribe'](_0x396aff=>this[_0x57c0a4(0x379)](_0x3d6e0e,_0x396aff)),_0x3d6e0e['error$'][_0x57c0a4(0x431)](_0x3b5477[_0x57c0a4(0x21f)](0x1))[_0x57c0a4(0x439)](_0xb4becd=>this[_0x57c0a4(0x468)][_0x57c0a4(0x199)](_0x57c0a4(0x2c2),_0xb4becd)),_0x3d6e0e['open$']['pipe'](_0x3b5477[_0x57c0a4(0x21f)](0x1))[_0x57c0a4(0x439)](()=>{var _0x5b7a5d=_0x57c0a4;this[_0x5b7a5d(0x233)](_0x3d6e0e);}),_0x3d6e0e['close$'][_0x57c0a4(0x431)](_0x3b5477[_0x57c0a4(0x21f)](0x1))[_0x57c0a4(0x439)](_0x2108af=>{var _0xad9081=_0x57c0a4;this['_logService']['debug'](_0xad9081(0x19a),_0xad9081(0x4b1),_0x2108af),this['_onConnectionFailed']();});}}catch(_0x504fc3){this['_logService'][_0x57c0a4(0x199)](_0x504fc3),this[_0x57c0a4(0x3f8)]();}}[_0x51f045(0x233)](_0x25fc8e){var _0x80b018=_0x51f045;this['_logService'][_0x80b018(0x48d)]('[CollaborationSessionService]',_0x80b018(0x3b8)),_0x25fc8e['send']({'cmd':_0x52da41[_0x80b018(0x3d6)]}),this[_0x80b018(0x497)]();}[_0x51f045(0x183)](){var _0x3fc861=_0x51f045;this['_socketReady']=!0x1,this['_candidateSocket']=null,this[_0x3fc861(0x2e9)]['next'](_0x377f3b[_0x3fc861(0x380)]),this[_0x3fc861(0x2b6)]['next'](null),this[_0x3fc861(0x1cf)](),this[_0x3fc861(0x18f)]();}[_0x51f045(0x3f8)](){var _0x5d9dfd=_0x51f045,_0x55d02e;this[_0x5d9dfd(0x183)](),this[_0x5d9dfd(0x253)]<((_0x55d02e=this[_0x5d9dfd(0x20c)]['getConfig'](_0x17bcd8))!=null?_0x55d02e:0x3)?(this[_0x5d9dfd(0x370)]['emitEvent']({'id':_0xe3fca5[_0x5d9dfd(0x3fb)]}),this['_tryReconnect']()):this[_0x5d9dfd(0x370)]['emitEvent']({'id':_0xe3fca5[_0x5d9dfd(0x4f3)]});}[_0x51f045(0x474)](){var _0x61e8a8=_0x51f045,_0x9f9d47;const _0x322280=this[_0x61e8a8(0x253)],_0x2216f8=this[_0x61e8a8(0x20c)][_0x61e8a8(0x3ae)](_0xd902f1),_0x5b0a9c=_0x322280===0x0?0x0:((_0x9f9d47=_0x2216f8==null?void 0x0:_0x2216f8['retryConnectingInterval'])!=null?_0x9f9d47:0x4e20)*0x2**_0x322280;this[_0x61e8a8(0x220)]=setTimeout(()=>{var _0x3504da=_0x61e8a8;clearTimeout(this['_retryConnectingTimer']),this[_0x3504da(0x220)]=null,this[_0x3504da(0x1c2)]();},_0x5b0a9c),this[_0x61e8a8(0x253)]+=0x1;}[_0x51f045(0x379)](_0x42a571,_0x40f31e){var _0x3d0dbf=_0x51f045;const {cmd:_0x23d82e}=_0x40f31e;_0x23d82e===_0x52da41[_0x3d0dbf(0x3d6)]&&!this[_0x3d0dbf(0x2e8)]&&(_0x42a571['memberID']=_0x40f31e[_0x3d0dbf(0x2ad)][_0x3d0dbf(0x21d)],this['_socket$'][_0x3d0dbf(0x28b)](_0x42a571),this[_0x3d0dbf(0x2e9)][_0x3d0dbf(0x28b)](_0x377f3b[_0x3d0dbf(0x4ad)]),this['_socketReady']=!0x0,this[_0x3d0dbf(0x1f4)]=null),_0x23d82e===_0x52da41[_0x3d0dbf(0x267)]&&this[_0x3d0dbf(0x1cf)](),this[_0x3d0dbf(0x497)]();}[_0x51f045(0x497)](){var _0x226425=_0x51f045,_0x217bcb;this[_0x226425(0x18f)](),this['_sendHeartbeatTimer']=setTimeout(()=>this[_0x226425(0x31a)](),(_0x217bcb=this[_0x226425(0x20c)][_0x226425(0x3ae)](_0x1252c5))!=null?_0x217bcb:0x7530);}['_sendHeartbeat'](){var _0x5b8ceb=_0x51f045;this['_socket'][_0x5b8ceb(0x4b4)]({'cmd':_0x52da41[_0x5b8ceb(0x267)]}),this[_0x5b8ceb(0x1ed)]();}[_0x51f045(0x1ed)](){var _0x394259=_0x51f045,_0x5a8ad1;this['_timeoutTimer']=setTimeout(()=>this[_0x394259(0x3f8)](),(_0x5a8ad1=this[_0x394259(0x20c)]['getConfig'](_0xae207))!=null?_0x5a8ad1:0x4e20);}[_0x51f045(0x18f)](){var _0xf17e48=_0x51f045;this[_0xf17e48(0x4d7)]!=null&&(clearTimeout(this[_0xf17e48(0x4d7)]),this[_0xf17e48(0x4d7)]=null);}[_0x51f045(0x1cf)](){var _0x288933=_0x51f045;this[_0x288933(0x36a)]!=null&&(clearTimeout(this[_0x288933(0x36a)]),this['_timeoutTimer']=null);}},_0x47f5c6[_0x51f045(0x465)]=_0xf0a1b5([_0x2dd182(0x0,_0x3f0f0b[_0x51f045(0x490)](_0x3f0f0b[_0x51f045(0x1c3)])),_0x2dd182(0x1,_0x3f0f0b[_0x51f045(0x369)]),_0x2dd182(0x2,_0x3f0f0b[_0x51f045(0x496)]),_0x2dd182(0x3,_0x892c43),_0x2dd182(0x4,_0x3f0f0b[_0x51f045(0x490)](_0x4e0ff7)),_0x2dd182(0x5,_0x3f0f0b[_0x51f045(0x4d1)](_0xf00d80))],_0x47f5c6[_0x51f045(0x465)]);const _0x451419=[];for(let _0x221b70=0x0;_0x221b70<0x100;++_0x221b70)_0x451419['push']((_0x221b70+0x100)[_0x51f045(0x20a)](0x10)[_0x51f045(0x285)](0x1));function _0x206741(_0x55f6db,_0x3666eb=0x0){var _0x6a84c2=_0x51f045;return(_0x451419[_0x55f6db[_0x3666eb+0x0]]+_0x451419[_0x55f6db[_0x3666eb+0x1]]+_0x451419[_0x55f6db[_0x3666eb+0x2]]+_0x451419[_0x55f6db[_0x3666eb+0x3]]+'-'+_0x451419[_0x55f6db[_0x3666eb+0x4]]+_0x451419[_0x55f6db[_0x3666eb+0x5]]+'-'+_0x451419[_0x55f6db[_0x3666eb+0x6]]+_0x451419[_0x55f6db[_0x3666eb+0x7]]+'-'+_0x451419[_0x55f6db[_0x3666eb+0x8]]+_0x451419[_0x55f6db[_0x3666eb+0x9]]+'-'+_0x451419[_0x55f6db[_0x3666eb+0xa]]+_0x451419[_0x55f6db[_0x3666eb+0xb]]+_0x451419[_0x55f6db[_0x3666eb+0xc]]+_0x451419[_0x55f6db[_0x3666eb+0xd]]+_0x451419[_0x55f6db[_0x3666eb+0xe]]+_0x451419[_0x55f6db[_0x3666eb+0xf]])[_0x6a84c2(0x4dd)]();}let _0x4a618;const _0x2c1d13=new Uint8Array(0x10);function _0x105dc0(){var _0x23813b=_0x51f045;if(!_0x4a618){if(typeof crypto>'u'||!crypto[_0x23813b(0x34d)])throw new Error('crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported');_0x4a618=crypto[_0x23813b(0x34d)][_0x23813b(0x2d3)](crypto);}return _0x4a618(_0x2c1d13);}const _0x394777={'randomUUID':typeof crypto<'u'&&crypto[_0x51f045(0x3b9)]&&crypto[_0x51f045(0x3b9)][_0x51f045(0x2d3)](crypto)};function _0x58a941(_0x53f9f3,_0xd071d5,_0x3d71d2){var _0x31f3f9=_0x51f045,_0x2a0035,_0x2291e3,_0x3337af;if(_0x394777['randomUUID']&&!_0x53f9f3)return _0x394777[_0x31f3f9(0x3b9)]();_0x53f9f3=_0x53f9f3||{};const _0x2108e6=(_0x3337af=(_0x2291e3=_0x53f9f3[_0x31f3f9(0x234)])!=null?_0x2291e3:(_0x2a0035=_0x53f9f3['rng'])==null?void 0x0:_0x2a0035[_0x31f3f9(0x45e)](_0x53f9f3))!=null?_0x3337af:_0x105dc0();if(_0x2108e6[_0x31f3f9(0x1fb)]<0x10)throw new Error(_0x31f3f9(0x216));return _0x2108e6[0x6]=_0x2108e6[0x6]&0xf|0x40,_0x2108e6[0x8]=_0x2108e6[0x8]&0x3f|0x80,_0x206741(_0x2108e6);}const _0x2f7041=_0x3f0f0b['createIdentifier'](_0x51f045(0x4d4));function _0x2590ab(_0x5c6ed4){var _0x282c51=_0x51f045;return _0x282c51(0x43b)+_0x5c6ed4;}var _0x5805f6=Object['getOwnPropertyDescriptor'],_0x185424=(_0x124534,_0x1854d8,_0x1bc11e,_0x240ead)=>{for(var _0x3a14f8=_0x240ead>0x1?void 0x0:_0x240ead?_0x5805f6(_0x1854d8,_0x1bc11e):_0x1854d8,_0x571dd0=_0x124534['length']-0x1,_0xe68eba;_0x571dd0>=0x0;_0x571dd0--)(_0xe68eba=_0x124534[_0x571dd0])&&(_0x3a14f8=_0xe68eba(_0x3a14f8)||_0x3a14f8);return _0x3a14f8;},_0x3f7bb1=(_0xa2ecee,_0x197956)=>(_0x18ffd3,_0x11c598)=>_0x197956(_0x18ffd3,_0x11c598,_0xa2ecee);function _0x5c6ea0(_0xa3cb04){var _0x301589=_0x51f045;const {unitID:_0x19de03,mutations:_0x35f8b1}=_0xa3cb04;return{'unitId':_0x19de03,'subUnitId':_0x35f8b1[0x0][_0x301589(0x2a7)][_0x301589(0x2ec)]};}_0x47f5c6[_0x51f045(0x2d6)]=class{constructor(_0x5de65c,_0xd101dc,_0xd99b3e){var _0x456973=_0x51f045;this[_0x456973(0x4c3)]=_0x5de65c,this[_0x456973(0x2fb)]=_0xd101dc,this[_0x456973(0x430)]=_0xd99b3e;}[_0x51f045(0x186)](_0x155c13){var _0x50fde1=_0x51f045,_0x4d6f3b,_0x1d13c1,_0x5ca9cc,_0x23e6ad;const _0xd759ad=this[_0x50fde1(0x4c3)][_0x50fde1(0x24e)](_0x1ba7ef['SheetsSelectionsService']),{unitId:_0x144987,subUnitId:_0x36455c}=_0x5c6ea0(_0x155c13),_0x2305ea=_0xd759ad==null?void 0x0:_0xd759ad[_0x50fde1(0x1b5)](_0x144987)[_0x50fde1(0x2c0)](),_0x4f6651=(_0x1d13c1=(_0x4d6f3b=this[_0x50fde1(0x430)][_0x50fde1(0x4aa)](_0x144987))==null?void 0x0:_0x4d6f3b['getActiveSheet']())==null?void 0x0:_0x1d13c1[_0x50fde1(0x219)]();if(_0x2305ea[_0x50fde1(0x1fb)]===0x0||!_0x144987||!_0x36455c)return;const _0x49a3fe=[{'id':_0x1ba7ef[_0x50fde1(0x2e4)]['id'],'params':{'unitId':_0x144987,'subUnitId':_0x4f6651,'selections':_0x3f0f0b[_0x50fde1(0x360)]['deepClone'](_0x2305ea)}}],_0x43fd16=this[_0x50fde1(0x2fb)][_0x50fde1(0x451)](_0x155c13,_0x49a3fe);if(!_0x3e5fea[_0x50fde1(0x3d5)](_0x43fd16))throw _0x43fd16['error'];const _0x3ad8d6=(_0x23e6ad=(_0x5ca9cc=_0x43fd16[_0x50fde1(0x2e7)][0x0])==null?void 0x0:_0x5ca9cc['params'])==null?void 0x0:_0x23e6ad[_0x50fde1(0x2cb)];if(Array[_0x50fde1(0x4fb)](_0x3ad8d6)&&_0x3ad8d6[_0x50fde1(0x1fb)]){if(_0x3ad8d6[_0x50fde1(0x1fb)]===_0x49a3fe[0x0][_0x50fde1(0x2a7)][_0x50fde1(0x2cb)][_0x50fde1(0x1fb)]&&_0x3ad8d6['every']((_0xe44409,_0xf68608)=>_0x3f0f0b[_0x50fde1(0x4bf)][_0x50fde1(0x2aa)](_0xe44409[_0x50fde1(0x274)],_0x49a3fe[0x0][_0x50fde1(0x2a7)][_0x50fde1(0x2cb)][_0xf68608][_0x50fde1(0x274)])))return;this[_0x50fde1(0x4c3)]['get'](_0x3f0f0b[_0x50fde1(0x350)])[_0x50fde1(0x491)](_0x1ba7ef[_0x50fde1(0x2e4)]['id'],{'unitId':_0x144987,'subUnitId':_0x4f6651,'selections':_0x3ad8d6});}}},_0x47f5c6['SheetTransformSelectionsService']=_0x185424([_0x3f7bb1(0x0,_0x3f0f0b[_0x51f045(0x490)](_0x3f0f0b[_0x51f045(0x1c3)])),_0x3f7bb1(0x1,_0x3e5fea[_0x51f045(0x385)]),_0x3f7bb1(0x2,_0x3f0f0b['IUniverInstanceService'])],_0x47f5c6[_0x51f045(0x2d6)]);const _0x3a1006=_0x3f0f0b[_0x51f045(0x23b)]('univer-pro.collaboration-client.single-active-unit-service');var _0x11c521=(_0x23b18e=>(_0x23b18e[_0x23b18e['NO_OTHER_CLIENTS_EDITING']=0x0]=_0x51f045(0x4a3),_0x23b18e[_0x23b18e[_0x51f045(0x18b)]=0x1]=_0x51f045(0x18b),_0x23b18e))(_0x11c521||{});const _0x466be0=new Set([_0x1ba7ef['InsertSheetMutation']['id']]);function _0x4a2fdf(_0x51b3f1,_0x1808d6,_0x31d7b5,_0x59955e,_0x43bead){var _0x44dfc5=_0x51f045,_0x344343,_0x5a0e44,_0x50e396,_0x5e20e1;const _0x3e189d=[];for(const _0x69a975 of _0x51b3f1)if(_0x466be0['has'](_0x69a975['id'])){if(_0x3e189d[_0x44dfc5(0x1fb)]>0x0)break;_0x3e189d[_0x44dfc5(0x3e7)](_0x69a975);break;}else _0x3e189d[_0x44dfc5(0x3e7)](_0x69a975);const _0x1988e7=(_0x5a0e44=(_0x344343=_0x43bead[_0x44dfc5(0x352)]())==null?void 0x0:_0x344343[_0x44dfc5(0x282)])!=null?_0x5a0e44:'unknown',_0x29eadb=(_0x5e20e1=(_0x50e396=_0x43bead[_0x44dfc5(0x352)]())==null?void 0x0:_0x50e396[_0x44dfc5(0x21d)])!=null?_0x5e20e1:_0x44dfc5(0x43f);return{'changeset':{'unitID':_0x1808d6,'type':_0x3e5fea[_0x44dfc5(0x40d)](_0x31d7b5[_0x44dfc5(0x4b5)](_0x1808d6)),'baseRev':_0x59955e[_0x44dfc5(0x1e6)](_0x1808d6),'revision':0x0,'userID':_0x1988e7,'memberID':_0x29eadb,'mutations':_0x3e189d},'pendingMutations':_0x51b3f1[_0x44dfc5(0x285)](_0x3e189d[_0x44dfc5(0x1fb)])};}function _0x5e8cf2(_0x2f44c1,_0x3986d9,_0x1b5f50,_0x83c95f,_0x5b2520){var _0x45a76e=_0x51f045,_0x193a3c,_0x3569a9,_0x1de9c2,_0x3ce1ae;const _0x9eaf62=[_0x2f44c1['reduce']((_0x5c00f4,_0x11ab24)=>{var _0x4ccb2e=_0x180f,_0x51a47c;const {id:_0x32c19b}=_0x5c00f4,{id:_0x1071d2,type:_0x4a98cd}=_0x11ab24,_0x2ea194=(_0x51a47c=_0x5c00f4[_0x4ccb2e(0x2a7)])!=null?_0x51a47c:{'actions':null},_0x379794=_0x11ab24[_0x4ccb2e(0x2a7)];if(_0x32c19b&&_0x32c19b!==_0x1071d2)throw new Error(_0x4ccb2e(0x201)+_0x32c19b+'\x20-\x20'+_0x1071d2+'.');return{..._0x5c00f4,'id':_0x1071d2,'type':_0x4a98cd,'params':{'unitId':_0x379794['unitId'],'textRanges':_0x379794[_0x4ccb2e(0x390)],'actions':_0x3f0f0b['JSONX'][_0x4ccb2e(0x416)](_0x2ea194['actions'],_0x379794['actions'])}};},{})],_0x555710=(_0x3569a9=(_0x193a3c=_0x5b2520[_0x45a76e(0x352)]())==null?void 0x0:_0x193a3c[_0x45a76e(0x282)])!=null?_0x3569a9:_0x45a76e(0x43f),_0x56d561=(_0x3ce1ae=(_0x1de9c2=_0x5b2520[_0x45a76e(0x352)]())==null?void 0x0:_0x1de9c2[_0x45a76e(0x21d)])!=null?_0x3ce1ae:_0x45a76e(0x43f);return{'changeset':{'unitID':_0x3986d9,'type':_0x3e5fea[_0x45a76e(0x40d)](_0x1b5f50[_0x45a76e(0x4b5)](_0x3986d9)),'baseRev':_0x83c95f[_0x45a76e(0x1e6)](_0x3986d9),'revision':0x0,'userID':_0x555710,'memberID':_0x56d561,'mutations':_0x9eaf62},'pendingMutations':[]};}function _0xbd45f8(_0x11273a,_0x2fcbbc){var _0x4042fb=_0x51f045;const _0x5e4293=new _0x1be1c1['ReplaySubject'](0x1);return setTimeout(()=>_0x5e4293[_0x4042fb(0x28b)](_0x2fcbbc),_0x11273a),_0x5e4293[_0x4042fb(0x4dc)]()[_0x4042fb(0x431)](_0x1be1c1[_0x4042fb(0x21f)](0x1));}const _0x40f776={'id':_0x1ba7ef[_0x51f045(0x3c6)]['id'],'type':_0x3f0f0b[_0x51f045(0x37b)]['MUTATION'],'params':{}};var _0x2c3724=Object['getOwnPropertyDescriptor'],_0x22c7a3=(_0x22ee05,_0x34a3f3,_0x58b046,_0x2ea339)=>{var _0xc6854f=_0x51f045;for(var _0x158cd9=_0x2ea339>0x1?void 0x0:_0x2ea339?_0x2c3724(_0x34a3f3,_0x58b046):_0x34a3f3,_0x5e93cd=_0x22ee05[_0xc6854f(0x1fb)]-0x1,_0x4c38f9;_0x5e93cd>=0x0;_0x5e93cd--)(_0x4c38f9=_0x22ee05[_0x5e93cd])&&(_0x158cd9=_0x4c38f9(_0x158cd9)||_0x158cd9);return _0x158cd9;},_0x361585=(_0x4dc528,_0x4eb886)=>(_0x4368f7,_0x239407)=>_0x4eb886(_0x4368f7,_0x239407,_0x4dc528),_0x3580e9=(_0x5ae977=>(_0x5ae977[_0x51f045(0x37c)]='not_collab',_0x5ae977[_0x51f045(0x48b)]=_0x51f045(0x402),_0x5ae977[_0x51f045(0x426)]=_0x51f045(0x1ec),_0x5ae977[_0x51f045(0x406)]=_0x51f045(0x1e2),_0x5ae977['AWAITING_WITH_PENDING']='awaiting_with_pending',_0x5ae977[_0x51f045(0x2ff)]=_0x51f045(0x447),_0x5ae977[_0x51f045(0x3cb)]='conflict',_0x5ae977['OFFLINE']=_0x51f045(0x200),_0x5ae977))(_0x3580e9||{});const _0x25bb93=0xea60;class _0x3018dd{constructor(_0x1657f1,_0x4d6fa8,_0x23c790,_0x40950b,_0x1407a1,_0x45bb63,_0x839e40,_0x391900,_0x3ac43f){var _0x54d7af=_0x51f045;_0x48d230(this,_0x54d7af(0x1df),null),_0x48d230(this,'_pendingMutations',[]),(this[_0x54d7af(0x3cd)]=_0x1657f1,this[_0x54d7af(0x3b1)]=_0x4d6fa8,this[_0x54d7af(0x423)]=_0x1407a1,this[_0x54d7af(0x3ad)]=_0x45bb63,this[_0x54d7af(0x278)]=_0x839e40,this[_0x54d7af(0x3a0)]=_0x391900,this[_0x54d7af(0x28e)]=_0x3ac43f,this[_0x54d7af(0x1df)]=_0x23c790,this[_0x54d7af(0x1e7)]=_0x40950b);}[_0x51f045(0x23e)](_0x5e9149){var _0x183466=_0x51f045;const _0x4cee4a=this[_0x183466(0x3a0)][_0x183466(0x1e6)](this['unitID']);return _0x5e9149['revision']>_0x4cee4a+0x1?(this['_handler'][_0x183466(0x44b)]({'from':_0x4cee4a,'to':_0x5e9149[_0x183466(0x39b)]-0x1}),!0x0):!0x1;}['_transformUndoredo'](_0x202a53){var _0x470580=_0x51f045;this[_0x470580(0x278)]['transformUndoRedo'](this[_0x470580(0x3cd)],_0x202a53);}[_0x51f045(0x33f)](_0x5d2ad3){var _0x451941=_0x51f045,_0x3d4460,_0x404112;(_0x404112=(_0x3d4460=this['_handler'])['onTransformSelections'])==null||_0x404112[_0x451941(0x45e)](_0x3d4460,_0x5d2ad3);}[_0x51f045(0x30f)](_0x27b358){var _0x5d435d=_0x51f045,_0x12705c,_0x3ab31a;return(_0x3ab31a=(_0x12705c=this['_handler'])['onTransformIME'])==null?void 0x0:_0x3ab31a[_0x5d435d(0x45e)](_0x12705c,_0x27b358);}['_transformStateCache'](_0x444647){var _0x39e3df=_0x51f045,_0x38b65d,_0x46fa9b;return(_0x46fa9b=(_0x38b65d=this[_0x39e3df(0x423)])[_0x39e3df(0x3e3)])==null?void 0x0:_0x46fa9b[_0x39e3df(0x45e)](_0x38b65d,_0x444647);}['_transformRemoteChangesetByIMECache'](_0x32b32d){var _0x25330f=_0x51f045,_0x470b52,_0x4a697a,_0x590760;return(_0x590760=(_0x4a697a=(_0x470b52=this[_0x25330f(0x423)])[_0x25330f(0x2e0)])==null?void 0x0:_0x4a697a[_0x25330f(0x45e)](_0x470b52,_0x32b32d))!=null?_0x590760:_0x32b32d;}['_transformRemoteChangesetByStateCache'](_0xd1de6a){var _0x5068f4=_0x51f045,_0x4f1708,_0x2814ff,_0x1aab81;return(_0x1aab81=(_0x2814ff=(_0x4f1708=this[_0x5068f4(0x423)])[_0x5068f4(0x43c)])==null?void 0x0:_0x2814ff['call'](_0x4f1708,_0xd1de6a))!=null?_0x1aab81:_0xd1de6a;}[_0x51f045(0x3c0)](_0x451b8e){var _0x53e82a=_0x51f045,_0x4a0271,_0x31c670;if(this[_0x53e82a(0x3b1)]===_0x3af995[_0x53e82a(0x3df)]){const {unitID:_0x5dbed6,mutations:_0x58bd93,memberID:_0x31b0a9}=_0x451b8e,_0x538191=_0x58bd93[0x0][_0x53e82a(0x2a7)][_0x53e82a(0x390)];Array['isArray'](_0x538191)&&_0x538191[_0x53e82a(0x1fb)]>0x0&&((_0x31c670=(_0x4a0271=this['_handler'])[_0x53e82a(0x45a)])==null||_0x31c670[_0x53e82a(0x45e)](_0x4a0271,{'unitID':_0x5dbed6,'memberID':_0x31b0a9,'textRanges':_0x538191}));}}[_0x51f045(0x210)](){var _0x55616f=_0x51f045,_0x495cf9;(_0x495cf9=this[_0x55616f(0x28e)])==null||_0x495cf9[_0x55616f(0x4a6)](this['unitID'],this[_0x55616f(0x3b1)],this[_0x55616f(0x1df)],this[_0x55616f(0x1e7)]);}[_0x51f045(0x3fa)](){var _0x503694=_0x51f045;return this[_0x503694(0x3a0)]['getCurrentRevOfUnit'](this[_0x503694(0x3cd)]);}[_0x51f045(0x41a)](){var _0x3042a3=_0x51f045;this['_revisionService']['incrementRevOfUnit'](this[_0x3042a3(0x3cd)]);}[_0x51f045(0x4ed)](_0x117142){var _0xa4b849=_0x51f045,_0xa52b4c;let _0x58abf2=this['_transformRemoteChangesetByIMECache'](_0x117142);_0x58abf2=this[_0xa4b849(0x32b)](_0x58abf2);const _0x2bf599=_0x3f0f0b['sequenceExecute'](_0x58abf2[_0xa4b849(0x411)],this['_commandService'],{'fromCollab':!0x0});if(!_0x2bf599['result'])throw _0x2bf599[_0xa4b849(0x199)]instanceof Error?_0x2bf599[_0xa4b849(0x199)]:new Error((_0xa52b4c=_0x2bf599[_0xa4b849(0x199)])!=null?_0xa52b4c:_0xa4b849(0x2b4));this[_0xa4b849(0x30f)](_0x58abf2),this[_0xa4b849(0x20f)](_0x58abf2),this['_transformUndoredo'](_0x117142),this['_transformSelections'](_0x58abf2),this['_syncEditingCollabCursor'](_0x58abf2),this['_incrementRevisionNumber']();}}_0x47f5c6['SyncedState']=class extends _0x3018dd{constructor(_0x57ca3d,_0x59b874,_0x56cd89,_0xd3e839,_0x26cb98,_0xc951eb,_0x1ae8cd,_0x4fa049,_0x1aecd2,_0x527d8d){var _0x4280bd=_0x51f045;super(_0x57ca3d,_0x59b874,null,[],_0x56cd89,_0x1ae8cd,_0xc951eb,_0xd3e839,_0x527d8d),_0x48d230(this,_0x4280bd(0x364),_0x4280bd(0x402)),(this[_0x4280bd(0x4c3)]=_0x26cb98,this[_0x4280bd(0x468)]=_0x4fa049,this[_0x4280bd(0x2fb)]=_0x1aecd2,this[_0x4280bd(0x359)]=_0x527d8d);}[_0x51f045(0x4e7)](_0x50acd0){var _0x11f3ee=_0x51f045;const _0x55da8d=this[_0x11f3ee(0x4c3)][_0x11f3ee(0x1c1)](_0x47f5c6['PendingState'],this['unitID'],this[_0x11f3ee(0x3b1)],[_0x50acd0],this[_0x11f3ee(0x423)]);return _0x55da8d[_0x11f3ee(0x31e)](),_0x55da8d[_0x11f3ee(0x210)](),_0x55da8d;}[_0x51f045(0x1f9)](_0x35affe){var _0x44e5d5=_0x51f045;if(this[_0x44e5d5(0x23e)](_0x35affe))return this['_injector'][_0x44e5d5(0x1c1)](_0x47f5c6[_0x44e5d5(0x19f)],this[_0x44e5d5(0x3cd)],this[_0x44e5d5(0x3b1)],null,[],null,[_0x35affe],this[_0x44e5d5(0x423)]);try{const _0x28ba49=this[_0x44e5d5(0x2fb)]['transformMutationsWithChangeset'](_0x35affe,[_0x40f776]);if(_0x3e5fea[_0x44e5d5(0x3d5)](_0x28ba49)){const {c1Prime:_0x2c5ee4}=_0x28ba49;return this['_executeRemoteChangeset'](_0x2c5ee4),this;}throw _0x28ba49[_0x44e5d5(0x199)];}catch(_0x2424f2){return this[_0x44e5d5(0x468)][_0x44e5d5(0x199)](_0x2424f2),this['_onConflict'](!0x1);}}[_0x51f045(0x39d)](_0x5819a3){var _0x510a6e=_0x51f045;return this[_0x510a6e(0x4c3)][_0x510a6e(0x1c1)](_0x47f5c6[_0x510a6e(0x500)],this[_0x510a6e(0x3cd)],this[_0x510a6e(0x3b1)],null,[],this[_0x510a6e(0x423)],_0x5819a3);}[_0x51f045(0x41d)](){var _0x4239a9=_0x51f045;throw new Error(_0x4239a9(0x2ef));}[_0x51f045(0x3a8)](){throw new Error('[SyncedState]:\x20received\x20rejection.');}[_0x51f045(0x25d)](){return this;}['toggleOffline'](){var _0x4d313d=_0x51f045;return this[_0x4d313d(0x4c3)][_0x4d313d(0x1c1)](_0x47f5c6[_0x4d313d(0x27c)],this[_0x4d313d(0x3cd)],this[_0x4d313d(0x3b1)],null,[],this['_handler']);}[_0x51f045(0x4ab)](){return this;}[_0x51f045(0x1f3)](){var _0x28e5b0=_0x51f045;throw new Error(_0x28e5b0(0x4c5));}[_0x51f045(0x322)](){var _0x595e12=_0x51f045;const _0x399321=this[_0x595e12(0x3a0)]['getCurrentRevOfUnit'](this['unitID']);return this['_handler'][_0x595e12(0x44b)]({'from':_0x399321,'to':0x0}),this[_0x595e12(0x4c3)][_0x595e12(0x1c1)](_0x47f5c6['FetchingMissState'],this[_0x595e12(0x3cd)],this[_0x595e12(0x3b1)],null,[],null,[],this[_0x595e12(0x423)]);}},_0x47f5c6[_0x51f045(0x313)]=_0x22c7a3([_0x361585(0x3,_0x3f0f0b['Inject'](_0x3e5fea[_0x51f045(0x347)])),_0x361585(0x4,_0x3f0f0b[_0x51f045(0x490)](_0x3f0f0b[_0x51f045(0x1c3)])),_0x361585(0x5,_0x3f0f0b[_0x51f045(0x399)]),_0x361585(0x6,_0x3f0f0b[_0x51f045(0x350)]),_0x361585(0x7,_0x3f0f0b[_0x51f045(0x369)]),_0x361585(0x8,_0x3e5fea[_0x51f045(0x385)]),_0x361585(0x9,_0x3f0f0b['Optional'](_0x2f7041))],_0x47f5c6[_0x51f045(0x313)]),_0x47f5c6[_0x51f045(0x2ca)]=class extends _0x3018dd{constructor(_0x17c5f4,_0x4ae054,_0x5e1b8e,_0x32b1e4,_0x18cd1d,_0x320a24,_0x445edb,_0x6c17fe,_0x2446e1,_0x13f88f,_0x104511,_0x5b533c,_0xdc6dc7,_0x3ed6a9){var _0x11f641=_0x51f045;super(_0x17c5f4,_0x4ae054,null,_0x5e1b8e,_0x32b1e4,_0x2446e1,_0xdc6dc7,_0x320a24,_0x3ed6a9),_0x48d230(this,'status','pending'),_0x48d230(this,_0x11f641(0x30c),null),_0x48d230(this,'_sendingTimer',null),(this[_0x11f641(0x4c3)]=_0x18cd1d,this[_0x11f641(0x1d2)]=_0x445edb,this[_0x11f641(0x468)]=_0x6c17fe,this[_0x11f641(0x20c)]=_0x13f88f,this[_0x11f641(0x2fb)]=_0x104511,this[_0x11f641(0x4f9)]=_0x5b533c);}[_0x51f045(0x4e7)](_0x63abe9){var _0xf621a4=_0x51f045;return this['_pendingMutations']['push'](_0x63abe9),this[_0xf621a4(0x210)](),this;}[_0x51f045(0x1f9)](_0xf042e){var _0x6a8255=_0x51f045;if(this[_0x6a8255(0x23e)](_0xf042e))return this[_0x6a8255(0x48c)](),this['_injector'][_0x6a8255(0x1c1)](_0x47f5c6[_0x6a8255(0x19f)],this[_0x6a8255(0x3cd)],this[_0x6a8255(0x3b1)],null,this['_pendingMutations'],null,[_0xf042e],this[_0x6a8255(0x423)]);try{const _0xb8f80=this['_transformService'][_0x6a8255(0x451)](_0xf042e,this[_0x6a8255(0x1e7)]);if(_0x3e5fea[_0x6a8255(0x3d5)](_0xb8f80)){const {c1Prime:_0x281ad1,m2Prime:_0x5b3a34}=_0xb8f80;this[_0x6a8255(0x4ed)](_0x281ad1);const _0x428bc1=this[_0x6a8255(0x4c3)]['createInstance'](_0x47f5c6['PendingState'],this['unitID'],this[_0x6a8255(0x3b1)],_0x5b3a34,this[_0x6a8255(0x423)]);this[_0x6a8255(0x48c)]();const _0x492f5b=new Date()[_0x6a8255(0x42c)](),_0x4f3982=this[_0x6a8255(0x30c)]?Math[_0x6a8255(0x22a)](this['_scheduleCompleteTimestamp']-_0x492f5b,0x0):this[_0x6a8255(0x2f3)]();return _0x428bc1[_0x6a8255(0x31e)](_0x4f3982),_0x428bc1;}throw _0xb8f80['error'];}catch(_0x17fc83){return this[_0x6a8255(0x468)][_0x6a8255(0x199)](_0x17fc83),this[_0x6a8255(0x39d)](!0x1);}}[_0x51f045(0x41d)](){var _0x3ccd11=_0x51f045;throw new Error(_0x3ccd11(0x1e1));}[_0x51f045(0x3a8)](){throw new Error('[PendingState]:\x20received\x20rejection.');}[_0x51f045(0x25d)](){return this;}[_0x51f045(0x231)](){var _0x240075=_0x51f045;return this['_clearScheduledTask'](),this[_0x240075(0x4c3)][_0x240075(0x1c1)](_0x47f5c6[_0x240075(0x27c)],this['unitID'],this[_0x240075(0x3b1)],null,this[_0x240075(0x1e7)],this[_0x240075(0x423)]);}[_0x51f045(0x4ab)](){return this;}[_0x51f045(0x31e)](_0x39455d){var _0x497a9f=_0x51f045;const _0x6030f7=_0x39455d!=null?_0x39455d:this[_0x497a9f(0x2f3)]();this[_0x497a9f(0x30c)]=new Date()['getTime']()+_0x6030f7,this['_sendingTimer']=setTimeout(()=>{var _0x2ee893=_0x497a9f;this[_0x2ee893(0x48c)]();let _0x43994e=null;switch(this['type']){case _0x3af995[_0x2ee893(0x298)]:{_0x43994e=_0x4a2fdf(this[_0x2ee893(0x1e7)],this[_0x2ee893(0x3cd)],this[_0x2ee893(0x4f9)],this[_0x2ee893(0x3a0)],this[_0x2ee893(0x1d2)]);break;}case _0x3af995[_0x2ee893(0x3df)]:{this[_0x2ee893(0x1e7)][_0x2ee893(0x3ec)](_0x13e8b5=>_0x13e8b5['id']===_0x59d75f['RichTextEditingMutation']['id'])?_0x43994e=_0x5e8cf2(this[_0x2ee893(0x1e7)],this[_0x2ee893(0x3cd)],this[_0x2ee893(0x4f9)],this[_0x2ee893(0x3a0)],this['_memberService']):_0x43994e=_0x4a2fdf(this['_pendingMutations'],this[_0x2ee893(0x3cd)],this[_0x2ee893(0x4f9)],this['_revisionService'],this[_0x2ee893(0x1d2)]);break;}default:throw new Error(_0x2ee893(0x4f4)+this[_0x2ee893(0x3b1)]+'\x20in\x20_schedule.');}const {changeset:_0x47ffa0,pendingMutations:_0x1d36c1}=_0x43994e;this[_0x2ee893(0x423)][_0x2ee893(0x1fc)](_0x47ffa0);const _0x2543c8=_0x1d36c1['length']?this['_injector'][_0x2ee893(0x1c1)](_0x47f5c6[_0x2ee893(0x4b3)],this[_0x2ee893(0x3cd)],this[_0x2ee893(0x3b1)],_0x47ffa0,_0x1d36c1,this[_0x2ee893(0x423)],void 0x0):this[_0x2ee893(0x4c3)][_0x2ee893(0x1c1)](_0x47f5c6[_0x2ee893(0x473)],this[_0x2ee893(0x3cd)],this[_0x2ee893(0x3b1)],_0x47ffa0,this[_0x2ee893(0x423)]);_0x2543c8[_0x2ee893(0x210)](),this[_0x2ee893(0x423)][_0x2ee893(0x241)](this,_0x2543c8);},_0x6030f7);}[_0x51f045(0x2f3)](){var _0x64c3fb=_0x51f045,_0x6975d0;const _0x5c5461=this[_0x64c3fb(0x20c)][_0x64c3fb(0x3ae)](_0xd902f1);return(_0x6975d0=_0x5c5461==null?void 0x0:_0x5c5461[_0x64c3fb(0x3e8)])!=null?_0x6975d0:0x7d0;}['resend'](){var _0x377d2c=_0x51f045;throw new Error(_0x377d2c(0x34e));}[_0x51f045(0x48c)](){var _0x464036=_0x51f045;this['_sendingTimer']!=null&&(clearTimeout(this[_0x464036(0x212)]),this['_sendingTimer']=null);}['_onConflict'](_0x475051){var _0x13a667=_0x51f045;return this[_0x13a667(0x48c)](),this[_0x13a667(0x4c3)]['createInstance'](_0x47f5c6[_0x13a667(0x500)],this[_0x13a667(0x3cd)],this['type'],null,this[_0x13a667(0x1e7)],this[_0x13a667(0x423)],_0x475051);}},_0x47f5c6[_0x51f045(0x2ca)]=_0x22c7a3([_0x361585(0x4,_0x3f0f0b[_0x51f045(0x490)](_0x3f0f0b['Injector'])),_0x361585(0x5,_0x3f0f0b[_0x51f045(0x490)](_0x3e5fea[_0x51f045(0x347)])),_0x361585(0x6,_0x3f0f0b[_0x51f045(0x490)](_0x47f5c6[_0x51f045(0x4fe)])),_0x361585(0x7,_0x3f0f0b[_0x51f045(0x369)]),_0x361585(0x8,_0x3f0f0b[_0x51f045(0x350)]),_0x361585(0x9,_0x3f0f0b[_0x51f045(0x496)]),_0x361585(0xa,_0x3e5fea[_0x51f045(0x385)]),_0x361585(0xb,_0x3f0f0b[_0x51f045(0x3b7)]),_0x361585(0xc,_0x3f0f0b[_0x51f045(0x399)]),_0x361585(0xd,_0x3f0f0b[_0x51f045(0x4d1)](_0x2f7041))],_0x47f5c6[_0x51f045(0x2ca)]),_0x47f5c6[_0x51f045(0x473)]=class extends _0x3018dd{constructor(_0x3272dd,_0x32cd33,_0x869c3,_0x5db07a,_0x481887,_0x5eaee1,_0x5683c4,_0x298621,_0x3418b7,_0x112dae,_0x215ec0){var _0x3db343=_0x51f045;super(_0x3272dd,_0x32cd33,_0x869c3,[],_0x5db07a,_0x5683c4,_0x112dae,_0x5eaee1,_0x215ec0),_0x48d230(this,_0x3db343(0x364),_0x3db343(0x1e2)),_0x48d230(this,'_resendTimeout',0x0),_0x48d230(this,_0x3db343(0x211)),_0x48d230(this,_0x3db343(0x1a3)),(this[_0x3db343(0x4c3)]=_0x481887,this['_logService']=_0x298621,this[_0x3db343(0x2fb)]=_0x3418b7);}['appendMutation'](_0x3c777a){var _0x4812ee=_0x51f045;this[_0x4812ee(0x48c)]();const _0x37c5dc=this[_0x4812ee(0x4c3)][_0x4812ee(0x1c1)](_0x47f5c6[_0x4812ee(0x4b3)],this['unitID'],this[_0x4812ee(0x3b1)],this[_0x4812ee(0x1df)],[_0x3c777a],this[_0x4812ee(0x423)],this[_0x4812ee(0x211)]);return _0x37c5dc[_0x4812ee(0x210)](),_0x37c5dc;}[_0x51f045(0x1f9)](_0x5f0e13){var _0x3de40f=_0x51f045;if(this['_checkMissing'](_0x5f0e13))return this[_0x3de40f(0x48c)](),this[_0x3de40f(0x4c3)][_0x3de40f(0x1c1)](_0x47f5c6[_0x3de40f(0x19f)],this[_0x3de40f(0x3cd)],this[_0x3de40f(0x3b1)],this[_0x3de40f(0x1df)],[],null,[_0x5f0e13],this[_0x3de40f(0x423)]);try{const _0x1fa874=this['_transformService'][_0x3de40f(0x460)]([_0x5f0e13],[this[_0x3de40f(0x1df)]],!0x1);if(_0x3e5fea[_0x3de40f(0x4ca)](_0x1fa874)){const {c1Prime:_0x3962c0,c2Prime:_0x1d7452}=_0x1fa874;this[_0x3de40f(0x4ed)](_0x3962c0[0x0]),_0x1d7452[0x0][_0x3de40f(0x37f)]=this[_0x3de40f(0x3fa)](),this[_0x3de40f(0x48c)]();const _0x4913f2=this['_injector'][_0x3de40f(0x1c1)](_0x47f5c6[_0x3de40f(0x473)],this[_0x3de40f(0x3cd)],this['type'],_0x1d7452[0x0],this['_handler']);return _0x4913f2['_updateLocalCache'](),_0x4913f2;}return this[_0x3de40f(0x39d)](!0x1);}catch(_0x3f23bd){return this[_0x3de40f(0x468)][_0x3de40f(0x199)](_0x3f23bd),this['_onConflict'](!0x1);}}['onRemoteAck'](_0x49fe1a){var _0x2168f8=_0x51f045;this['_clearScheduledTask']();const _0x4f8425=this['_revisionService'][_0x2168f8(0x1e6)](this[_0x2168f8(0x3cd)]);if(_0x49fe1a[_0x2168f8(0x39b)]<_0x4f8425-0x1)return this;if(this[_0x2168f8(0x23e)](_0x49fe1a))return this[_0x2168f8(0x4c3)][_0x2168f8(0x1c1)](_0x47f5c6[_0x2168f8(0x19f)],this['unitID'],this[_0x2168f8(0x3b1)],null,[],this[_0x2168f8(0x1df)],[],this[_0x2168f8(0x423)]);this[_0x2168f8(0x41a)]();const _0x574431=this[_0x2168f8(0x4c3)]['createInstance'](_0x47f5c6[_0x2168f8(0x313)],this[_0x2168f8(0x3cd)],this['type'],this[_0x2168f8(0x423)]);return _0x574431[_0x2168f8(0x210)](),_0x574431;}[_0x51f045(0x3a8)](_0x2cdd2c){var _0x247e82=_0x51f045;return this[_0x247e82(0x39d)](!!(_0x2cdd2c!=null&&_0x2cdd2c[_0x247e82(0x18d)]));}[_0x51f045(0x25d)](_0x457a84){var _0x48e14a=_0x51f045;return this['_resendTimeout']>_0x25bb93?this[_0x48e14a(0x231)]():(this[_0x48e14a(0x211)]=_0xbd45f8(this['_resendTimeout'],{'timeout':this[_0x48e14a(0x427)],'reqId':_0x457a84[_0x48e14a(0x22f)]}),this['_sender']=this[_0x48e14a(0x211)][_0x48e14a(0x439)](({reqId:_0x16d0eb,timeout:_0x5a7c79})=>{var _0x57df9f=_0x48e14a;this[_0x57df9f(0x3b0)](_0x16d0eb,_0x5a7c79);}),this);}[_0x51f045(0x231)](){var _0x340116=_0x51f045;return this[_0x340116(0x48c)](),this[_0x340116(0x4c3)][_0x340116(0x1c1)](_0x47f5c6[_0x340116(0x27c)],this['unitID'],this[_0x340116(0x3b1)],this[_0x340116(0x1df)],[],this[_0x340116(0x423)]);}['toggleOnline'](){return this;}[_0x51f045(0x1f3)](){var _0xd86909=_0x51f045;this[_0xd86909(0x423)][_0xd86909(0x1fc)](this['_awaitingChangeset']);}['_onConflict'](_0x325616){var _0x296882=_0x51f045;return this[_0x296882(0x48c)](),this[_0x296882(0x4c3)]['createInstance'](_0x47f5c6[_0x296882(0x500)],this[_0x296882(0x3cd)],this[_0x296882(0x3b1)],this['_awaitingChangeset'],[],this[_0x296882(0x423)],_0x325616);}[_0x51f045(0x3b0)](_0x4a7456,_0x16b067){var _0x24815d=_0x51f045,_0x3aee6f;_0x4a7456===((_0x3aee6f=this['_awaitingChangeset'])==null?void 0x0:_0x3aee6f[_0x24815d(0x22f)])&&(this[_0x24815d(0x1f3)](),this[_0x24815d(0x427)]=_0x16b067===0x0?0x3e8:_0x16b067*0x2);}['_clearScheduledTask'](){var _0x116a60=_0x51f045,_0x4652f3;(_0x4652f3=this[_0x116a60(0x1a3)])==null||_0x4652f3['unsubscribe'](),this['_resendTimeout']=0x0;}},_0x47f5c6[_0x51f045(0x473)]=_0x22c7a3([_0x361585(0x4,_0x3f0f0b[_0x51f045(0x490)](_0x3f0f0b[_0x51f045(0x1c3)])),_0x361585(0x5,_0x3f0f0b[_0x51f045(0x490)](_0x3e5fea[_0x51f045(0x347)])),_0x361585(0x6,_0x3f0f0b['ICommandService']),_0x361585(0x7,_0x3f0f0b[_0x51f045(0x369)]),_0x361585(0x8,_0x3e5fea['ITransformService']),_0x361585(0x9,_0x3f0f0b[_0x51f045(0x399)]),_0x361585(0xa,_0x3f0f0b[_0x51f045(0x4d1)](_0x2f7041))],_0x47f5c6[_0x51f045(0x473)]),_0x47f5c6[_0x51f045(0x4b3)]=class extends _0x3018dd{constructor(_0xc8ce42,_0x5742e1,_0x18e842,_0x362ec3,_0x3103a4,_0x5edc18,_0x3dce54,_0x3f6891,_0x4b8059,_0xcd2fb4,_0x16b945,_0x578bc8,_0x592425){var _0x30837f=_0x51f045;super(_0xc8ce42,_0x5742e1,_0x18e842,_0x362ec3,_0x3103a4,_0x4b8059,_0x578bc8,_0x3f6891,_0x592425),_0x48d230(this,_0x30837f(0x364),_0x30837f(0x236)),_0x48d230(this,_0x30837f(0x427),0x0),_0x48d230(this,_0x30837f(0x211)),_0x48d230(this,'_sender'),(this[_0x30837f(0x4c3)]=_0x3dce54,this['_logService']=_0xcd2fb4,this[_0x30837f(0x2fb)]=_0x16b945,this[_0x30837f(0x359)]=_0x592425,_0x5edc18&&(this[_0x30837f(0x211)]=_0x5edc18,this['_sender']=this[_0x30837f(0x211)][_0x30837f(0x439)](({reqId:_0x2f3126,timeout:_0x3ddc0b})=>{var _0x1c99ce=_0x30837f;this[_0x1c99ce(0x3b0)](_0x2f3126,_0x3ddc0b);})));}['appendMutation'](_0x40df02){var _0x4ff6b5=_0x51f045;return this[_0x4ff6b5(0x1e7)][_0x4ff6b5(0x3e7)](_0x40df02),this;}[_0x51f045(0x1f9)](_0x32816a){var _0x3798cd=_0x51f045;if(this[_0x3798cd(0x23e)](_0x32816a))return this['_clearScheduledTask'](),this['_injector']['createInstance'](_0x47f5c6[_0x3798cd(0x19f)],this['unitID'],this['type'],this[_0x3798cd(0x1df)],this[_0x3798cd(0x1e7)],null,[_0x32816a],this[_0x3798cd(0x423)]);try{const _0x4ab062=this[_0x3798cd(0x2fb)]['transformChangesets']([_0x32816a],[this[_0x3798cd(0x1df)]],!0x1);if(_0x3e5fea['isTransformChangesetsSuccess'](_0x4ab062)){const {c1Prime:_0x47a31b,c2Prime:_0x5ab839}=_0x4ab062,_0x1090fc=this[_0x3798cd(0x2fb)][_0x3798cd(0x451)](_0x47a31b[0x0],this['_pendingMutations']);if(_0x3e5fea[_0x3798cd(0x3d5)](_0x1090fc)){const {c1Prime:_0x482f74,m2Prime:_0x46c6cb}=_0x1090fc;return this['_executeRemoteChangeset'](_0x482f74),_0x5ab839[0x0][_0x3798cd(0x37f)]=this['_getCurrentRevision'](),this[_0x3798cd(0x48c)](),this[_0x3798cd(0x4c3)][_0x3798cd(0x1c1)](_0x47f5c6[_0x3798cd(0x4b3)],this['unitID'],this[_0x3798cd(0x3b1)],_0x5ab839[0x0],_0x46c6cb,this[_0x3798cd(0x423)],void 0x0);}throw _0x1090fc['error'];}throw _0x4ab062['error'];}catch(_0x47fa37){return this[_0x3798cd(0x468)][_0x3798cd(0x199)](_0x47fa37),this[_0x3798cd(0x39d)](!0x1);}}[_0x51f045(0x41d)](_0x5f4354){var _0x124b97=_0x51f045;if(this[_0x124b97(0x48c)](),this[_0x124b97(0x23e)](_0x5f4354))return this['_injector'][_0x124b97(0x1c1)](_0x47f5c6['FetchingMissState'],this[_0x124b97(0x3cd)],this[_0x124b97(0x3b1)],null,this[_0x124b97(0x1e7)],this[_0x124b97(0x1df)],[],this[_0x124b97(0x423)]);this[_0x124b97(0x41a)]();const _0x320803=this[_0x124b97(0x4c3)][_0x124b97(0x1c1)](_0x47f5c6[_0x124b97(0x2ca)],this[_0x124b97(0x3cd)],this[_0x124b97(0x3b1)],this[_0x124b97(0x1e7)],this[_0x124b97(0x423)]);return _0x320803['_schedule'](),_0x320803[_0x124b97(0x210)](),_0x320803;}['onRemoteRej'](_0x108e49){var _0x5636e9=_0x51f045;return this[_0x5636e9(0x39d)](!!(_0x108e49!=null&&_0x108e49[_0x5636e9(0x18d)]));}[_0x51f045(0x25d)](_0x560ba8){var _0x1f1cd5=_0x51f045;return this[_0x1f1cd5(0x427)]>_0x25bb93?this[_0x1f1cd5(0x231)]():(this[_0x1f1cd5(0x211)]=_0xbd45f8(this[_0x1f1cd5(0x427)],{'timeout':this[_0x1f1cd5(0x427)],'reqId':_0x560ba8[_0x1f1cd5(0x22f)]}),this[_0x1f1cd5(0x1a3)]=this[_0x1f1cd5(0x211)]['subscribe'](({reqId:_0x1d354a,timeout:_0x84df2d})=>{var _0x2ce32e=_0x1f1cd5;this[_0x2ce32e(0x3b0)](_0x1d354a,_0x84df2d);}),this);}[_0x51f045(0x231)](){var _0x2f3250=_0x51f045;return this[_0x2f3250(0x48c)](),this[_0x2f3250(0x4c3)][_0x2f3250(0x1c1)](_0x47f5c6['OfflineState'],this['unitID'],this[_0x2f3250(0x3b1)],this[_0x2f3250(0x1df)],this['_pendingMutations'],this[_0x2f3250(0x423)]);}[_0x51f045(0x4ab)](){return this;}[_0x51f045(0x1f3)](){var _0x2b6e5f=_0x51f045;this['_handler'][_0x2b6e5f(0x1fc)](this['_awaitingChangeset']);}['_onConflict'](_0x352852){var _0x3cdd2d=_0x51f045;return this[_0x3cdd2d(0x48c)](),this[_0x3cdd2d(0x4c3)][_0x3cdd2d(0x1c1)](_0x47f5c6[_0x3cdd2d(0x500)],this[_0x3cdd2d(0x3cd)],this[_0x3cdd2d(0x3b1)],null,this[_0x3cdd2d(0x1e7)],this['_handler'],_0x352852);}[_0x51f045(0x3b0)](_0x1d4cbc,_0x39931b){var _0x5a8e96=_0x51f045,_0x2d15c4;_0x1d4cbc===((_0x2d15c4=this[_0x5a8e96(0x1df)])==null?void 0x0:_0x2d15c4[_0x5a8e96(0x22f)])&&(this[_0x5a8e96(0x1f3)](),this[_0x5a8e96(0x427)]=_0x39931b===0x0?0x3e8:_0x39931b*0x2);}['_clearScheduledTask'](){var _0x810fc9=_0x51f045,_0x41e261;(_0x41e261=this[_0x810fc9(0x1a3)])==null||_0x41e261[_0x810fc9(0x3ef)](),this[_0x810fc9(0x427)]=0x0;}},_0x47f5c6[_0x51f045(0x4b3)]=_0x22c7a3([_0x361585(0x6,_0x3f0f0b[_0x51f045(0x490)](_0x3f0f0b[_0x51f045(0x1c3)])),_0x361585(0x7,_0x3f0f0b['Inject'](_0x3e5fea['RevisionService'])),_0x361585(0x8,_0x3f0f0b['ICommandService']),_0x361585(0x9,_0x3f0f0b[_0x51f045(0x369)]),_0x361585(0xa,_0x3e5fea[_0x51f045(0x385)]),_0x361585(0xb,_0x3f0f0b['IUndoRedoService']),_0x361585(0xc,_0x3f0f0b[_0x51f045(0x4d1)](_0x2f7041))],_0x47f5c6['AwaitingWithPendingState']),_0x47f5c6[_0x51f045(0x500)]=class extends _0x3018dd{constructor(_0x20acdc,_0x4d7d80,_0x50fa4a,_0x379d5f,_0xc83810,_0x2451a2=!0x1,_0x4c73bb,_0x41fc49,_0x5a400f,_0x151723,_0x11b44f,_0x3ffcb5,_0x9be171){var _0xbdbf86=_0x51f045;super(_0x20acdc,_0x4d7d80,_0x50fa4a,_0x379d5f,_0xc83810,_0x41fc49,_0x5a400f,_0x151723,_0x9be171),_0x48d230(this,_0xbdbf86(0x364),_0xbdbf86(0x34c)),(this['_isPermissionRej']=_0x2451a2,this['_permissionService']=_0x4c73bb,this[_0xbdbf86(0x1e4)]=_0x11b44f,this[_0xbdbf86(0x370)]=_0x3ffcb5,this[_0xbdbf86(0x359)]=_0x9be171,this[_0xbdbf86(0x446)](),this[_0xbdbf86(0x2cc)](),this[_0xbdbf86(0x294)]());}[_0x51f045(0x4e7)](){return this;}[_0x51f045(0x1f9)](){return this;}[_0x51f045(0x41d)](){return this;}[_0x51f045(0x3a8)](){return this;}[_0x51f045(0x25d)](){return this;}[_0x51f045(0x231)](){return this;}[_0x51f045(0x4ab)](){return this;}[_0x51f045(0x1f3)](){var _0x181786=_0x51f045;throw new Error(_0x181786(0x419));}[_0x51f045(0x2cc)](){var _0x22d250=_0x51f045,_0x36c44c;(_0x36c44c=this[_0x22d250(0x28e)])==null||_0x36c44c[_0x22d250(0x4a6)](this[_0x22d250(0x3cd)],this[_0x22d250(0x3b1)],null,[]);}['_showConflictNotification'](){var _0x493add=_0x51f045;this[_0x493add(0x3a1)]?this[_0x493add(0x370)][_0x493add(0x2af)]({'id':_0xe3fca5[_0x493add(0x22c)]}):this[_0x493add(0x370)][_0x493add(0x2af)]({'id':_0xe3fca5[_0x493add(0x3cb)]});}[_0x51f045(0x294)](){var _0x2c2610=_0x51f045;this[_0x2c2610(0x330)]['updatePermissionPoint'](new _0x1ba7ef['WorkbookEditablePermission'](this[_0x2c2610(0x3cd)])['id'],!0x1);}},_0x47f5c6['ConflictState']=_0x22c7a3([_0x361585(0x6,_0x3f0f0b[_0x51f045(0x490)](_0x3f0f0b[_0x51f045(0x2f0)])),_0x361585(0x7,_0x3f0f0b[_0x51f045(0x350)]),_0x361585(0x8,_0x3f0f0b['IUndoRedoService']),_0x361585(0x9,_0x3f0f0b['Inject'](_0x3e5fea[_0x51f045(0x347)])),_0x361585(0xa,_0x3f0f0b[_0x51f045(0x490)](_0x3f0f0b[_0x51f045(0x405)])),_0x361585(0xb,_0x3f0f0b['Inject'](_0x4e0ff7)),_0x361585(0xc,_0x3f0f0b['Optional'](_0x2f7041))],_0x47f5c6[_0x51f045(0x500)]),_0x47f5c6[_0x51f045(0x27c)]=class extends _0x3018dd{constructor(_0x407889,_0x39c8c6,_0x13a875,_0x14fb28,_0x4fdd78,_0x15f72e,_0x537748,_0x14ffe,_0x5e49b2,_0x423882){var _0x32c9dc=_0x51f045;super(_0x407889,_0x39c8c6,_0x13a875,_0x14fb28,_0x4fdd78,_0x14ffe,_0x5e49b2,_0x537748,_0x423882),_0x48d230(this,'status',_0x32c9dc(0x200)),this[_0x32c9dc(0x4c3)]=_0x15f72e;}[_0x51f045(0x4e7)](_0x47bcfb){var _0x560bf1=_0x51f045;return this[_0x560bf1(0x1e7)]['push'](_0x47bcfb),this[_0x560bf1(0x210)](),this;}[_0x51f045(0x1f9)](_0x14ff77){throw new Error('[OfflineState]:\x20received\x20changeset.');}[_0x51f045(0x41d)](){throw new Error('[OfflineState]:\x20received\x20acknowledgement.');}[_0x51f045(0x3a8)](){var _0x1573ce=_0x51f045;throw new Error(_0x1573ce(0x2a6));}[_0x51f045(0x25d)](){return this;}[_0x51f045(0x231)](){return this;}[_0x51f045(0x4ab)](){var _0x491d04=_0x51f045;const {_injector:_0x2f7ecd,_pendingMutations:_0x4d900e,_awaitingChangeset:_0x138a47,unitID:_0x534a43,_handler:_0x2cc8c3,type:_0xab8ddd}=this,_0x12311d=_0x5d41cc(_0x2f7ecd,_0x534a43,_0xab8ddd,_0x138a47,_0x4d900e,_0x2cc8c3);return _0x12311d instanceof _0x47f5c6[_0x491d04(0x2ca)]?_0x12311d[_0x491d04(0x31e)]():(_0x12311d instanceof _0x47f5c6[_0x491d04(0x4b3)]||_0x12311d instanceof _0x47f5c6[_0x491d04(0x473)])&&_0x12311d[_0x491d04(0x1f3)](),_0x12311d;}[_0x51f045(0x1f3)](){throw new Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}},_0x47f5c6[_0x51f045(0x27c)]=_0x22c7a3([_0x361585(0x5,_0x3f0f0b[_0x51f045(0x490)](_0x3f0f0b[_0x51f045(0x1c3)])),_0x361585(0x6,_0x3f0f0b[_0x51f045(0x490)](_0x3e5fea[_0x51f045(0x347)])),_0x361585(0x7,_0x3f0f0b[_0x51f045(0x350)]),_0x361585(0x8,_0x3f0f0b[_0x51f045(0x399)]),_0x361585(0x9,_0x3f0f0b['Optional'](_0x2f7041))],_0x47f5c6[_0x51f045(0x27c)]),_0x47f5c6[_0x51f045(0x19f)]=class extends _0x3018dd{constructor(_0x18a39c,_0x471945,_0x101a6a,_0x248680,_0x371d16,_0x516202,_0x3a6e50,_0x299d81,_0x4c5efa,_0x30023f,_0x42c75e,_0xbcf87c,_0x4d07f8,_0x461eb4){var _0x485eee=_0x51f045;super(_0x18a39c,_0x471945,_0x101a6a,_0x248680,_0x3a6e50,_0x42c75e,_0xbcf87c,_0x4c5efa,_0x461eb4),_0x48d230(this,_0x485eee(0x364),_0x485eee(0x447)),(this[_0x485eee(0x1bf)]=_0x371d16,this[_0x485eee(0x35d)]=_0x516202,this['_injector']=_0x299d81,this[_0x485eee(0x468)]=_0x30023f,this[_0x485eee(0x2fb)]=_0x4d07f8,this[_0x485eee(0x359)]=_0x461eb4);}[_0x51f045(0x281)](_0x11dc83){var _0x219040=_0x51f045;try{const _0x39dc49=[..._0x11dc83,...this[_0x219040(0x35d)]],_0xbf6bcf=[this[_0x219040(0x1df)]||this[_0x219040(0x1bf)]][_0x219040(0x29e)](_0x4587d1=>!!_0x4587d1);let _0x300595,_0x76f2ab;if(_0xbf6bcf[_0x219040(0x1fb)]){const _0x1e190c=this[_0x219040(0x2fb)][_0x219040(0x460)](_0x39dc49,_0xbf6bcf,!0x1);if(!_0x3e5fea[_0x219040(0x4ca)](_0x1e190c))throw _0x1e190c[_0x219040(0x199)];_0x300595=_0x1e190c[_0x219040(0x1b3)],_0x76f2ab=_0x1e190c[_0x219040(0x2b0)];}else _0x300595=_0x39dc49,_0x76f2ab=[];let _0x5ace9d=this[_0x219040(0x1e7)];_0x300595[_0x219040(0x373)](_0x57ec48=>{var _0xe6fc32=_0x219040;let _0x14d832;if(_0x5ace9d[_0xe6fc32(0x1fb)]){const _0x4fecfa=this[_0xe6fc32(0x2fb)]['transformMutationsWithChangeset'](_0x57ec48,_0x5ace9d);if(!_0x3e5fea['isTransformMutationsWithChangesetSuccess'](_0x4fecfa))throw _0x4fecfa[_0xe6fc32(0x199)];_0x14d832=_0x4fecfa[_0xe6fc32(0x1b3)],_0x5ace9d=_0x4fecfa[_0xe6fc32(0x2e7)];}else _0x14d832=_0x57ec48;this[_0xe6fc32(0x4ed)](_0x14d832);}),this[_0x219040(0x1bf)]&&this['_incrementRevisionNumber'](),this[_0x219040(0x1df)]&&_0x76f2ab[_0x219040(0x1fb)]&&(_0x76f2ab[0x0][_0x219040(0x37f)]=this[_0x219040(0x3fa)]());let _0x1ae7c5;if(this['_awaitingChangeset']&&_0x5ace9d[_0x219040(0x1fb)]!==0x0)_0x1ae7c5=this[_0x219040(0x4c3)]['createInstance'](_0x47f5c6[_0x219040(0x4b3)],this['unitID'],this['type'],_0x76f2ab[0x0],_0x5ace9d,this[_0x219040(0x423)],void 0x0);else{if(this[_0x219040(0x1df)]&&_0x5ace9d['length']===0x0)_0x76f2ab[0x0][_0x219040(0x37f)]=this['_getCurrentRevision'](),_0x1ae7c5=this[_0x219040(0x4c3)][_0x219040(0x1c1)](_0x47f5c6['AwaitingState'],this[_0x219040(0x3cd)],this[_0x219040(0x3b1)],_0x76f2ab[0x0],this['_handler']);else{if(_0x5ace9d[_0x219040(0x1fb)]!==0x0){const _0x214772=this[_0x219040(0x4c3)][_0x219040(0x1c1)](_0x47f5c6[_0x219040(0x2ca)],this[_0x219040(0x3cd)],this[_0x219040(0x3b1)],_0x5ace9d,this[_0x219040(0x423)]);_0x214772[_0x219040(0x31e)](),_0x1ae7c5=_0x214772;}else _0x1ae7c5=this[_0x219040(0x4c3)][_0x219040(0x1c1)](_0x47f5c6[_0x219040(0x313)],this['unitID'],this['type'],this['_handler']);}}return _0x1ae7c5[_0x219040(0x210)](),_0x1ae7c5;}catch(_0x2f9ece){return this[_0x219040(0x468)]['error'](_0x219040(0x3fe),'failed\x20to\x20apply\x20missed\x20changesets!',_0x2f9ece),this[_0x219040(0x4c3)][_0x219040(0x1c1)](_0x47f5c6[_0x219040(0x500)],this['unitID'],this['type'],this[_0x219040(0x1df)],this[_0x219040(0x1e7)],this[_0x219040(0x423)],!0x1);}}['resend'](){var _0x511ad0=_0x51f045;throw new Error(_0x511ad0(0x354));}['appendMutation'](_0x491a9e){var _0x4ad073=_0x51f045;return this[_0x4ad073(0x1e7)][_0x4ad073(0x3e7)](_0x491a9e),this;}['onRemoteChangeset'](_0x3f1956){return this['_queuedRemoteChangesets']['push'](_0x3f1956),this;}[_0x51f045(0x41d)](_0xb00603){var _0x353e88=_0x51f045;if(this[_0x353e88(0x1df)])return this[_0x353e88(0x1bf)]=this[_0x353e88(0x1df)],this[_0x353e88(0x1df)]=null,this;throw new Error(_0x353e88(0x3eb));}[_0x51f045(0x3a8)](_0x1464c1){var _0x583aa7=_0x51f045;return this[_0x583aa7(0x39d)](!!(_0x1464c1!=null&&_0x1464c1[_0x583aa7(0x18d)]));}[_0x51f045(0x25d)](){return this;}['toggleOffline'](){var _0x1b1c2d=_0x51f045;return this['_injector'][_0x1b1c2d(0x1c1)](_0x47f5c6[_0x1b1c2d(0x27c)],this[_0x1b1c2d(0x3cd)],this[_0x1b1c2d(0x3b1)],this['_awaitingChangeset'],this[_0x1b1c2d(0x1e7)],this[_0x1b1c2d(0x423)]);}['toggleOnline'](){return this;}['_onConflict'](_0x160df0){var _0x3ce794=_0x51f045;return this[_0x3ce794(0x4c3)][_0x3ce794(0x1c1)](_0x47f5c6[_0x3ce794(0x500)],this[_0x3ce794(0x3cd)],this[_0x3ce794(0x3b1)],this[_0x3ce794(0x1df)],this[_0x3ce794(0x1e7)],this[_0x3ce794(0x423)],_0x160df0);}},_0x47f5c6[_0x51f045(0x19f)]=_0x22c7a3([_0x361585(0x7,_0x3f0f0b[_0x51f045(0x490)](_0x3f0f0b['Injector'])),_0x361585(0x8,_0x3f0f0b[_0x51f045(0x490)](_0x3e5fea[_0x51f045(0x347)])),_0x361585(0x9,_0x3f0f0b[_0x51f045(0x369)]),_0x361585(0xa,_0x3f0f0b[_0x51f045(0x350)]),_0x361585(0xb,_0x3f0f0b[_0x51f045(0x399)]),_0x361585(0xc,_0x3e5fea[_0x51f045(0x385)]),_0x361585(0xd,_0x3f0f0b[_0x51f045(0x4d1)](_0x2f7041))],_0x47f5c6[_0x51f045(0x19f)]);function _0x5d41cc(_0x508684,_0x2821e9,_0x335f55,_0x1c1f14,_0xbdfd30,_0x5ab9a8){var _0x2f62a4=_0x51f045;return _0x1c1f14&&_0xbdfd30['length']?_0x508684['createInstance'](_0x47f5c6[_0x2f62a4(0x4b3)],_0x2821e9,_0x335f55,_0x1c1f14,_0xbdfd30,_0x5ab9a8,void 0x0):_0x1c1f14?_0x508684[_0x2f62a4(0x1c1)](_0x47f5c6[_0x2f62a4(0x473)],_0x2821e9,_0x335f55,_0x1c1f14,_0x5ab9a8):_0xbdfd30['length']?_0x508684[_0x2f62a4(0x1c1)](_0x47f5c6[_0x2f62a4(0x2ca)],_0x2821e9,_0x335f55,_0xbdfd30,_0x5ab9a8):_0x508684[_0x2f62a4(0x1c1)](_0x47f5c6[_0x2f62a4(0x313)],_0x2821e9,_0x335f55,_0x5ab9a8);}var _0x49e297=Object[_0x51f045(0x3ee)],_0x56a453=(_0x19e120,_0x1c111d,_0x7ad093,_0x546922)=>{var _0x5b8b6c=_0x51f045;for(var _0x253b00=_0x546922>0x1?void 0x0:_0x546922?_0x49e297(_0x1c111d,_0x7ad093):_0x1c111d,_0x26f1a8=_0x19e120[_0x5b8b6c(0x1fb)]-0x1,_0x34af2f;_0x26f1a8>=0x0;_0x26f1a8--)(_0x34af2f=_0x19e120[_0x26f1a8])&&(_0x253b00=_0x34af2f(_0x253b00)||_0x253b00);return _0x253b00;},_0x5b9b95=(_0x1a6794,_0x4019e5)=>(_0x3460ae,_0x2046b2)=>_0x4019e5(_0x3460ae,_0x2046b2,_0x1a6794);_0x47f5c6[_0x51f045(0x4f7)]=class extends _0x3f0f0b[_0x51f045(0x182)]{constructor(_0x5ab916,_0x5d82bb,_0x537871,_0x46c209,_0x2e389e,_0x35e55e,_0xa174c8,_0x5e3777,_0x472e97,_0x496c4e,_0x5ce3b6,_0x6e2354,_0x550308){var _0x442e96=_0x51f045;super(),_0x48d230(this,_0x442e96(0x34a),new _0x1be1c1['BehaviorSubject'](null)),_0x48d230(this,_0x442e96(0x387),this[_0x442e96(0x34a)][_0x442e96(0x4dc)]()),_0x48d230(this,_0x442e96(0x19d)),_0x48d230(this,'_collaborationPaused',!0x1),_0x48d230(this,_0x442e96(0x246),''),_0x48d230(this,_0x442e96(0x463),0x0),_0x48d230(this,_0x442e96(0x49d),this['state$'][_0x442e96(0x431)](_0x1be1c1[_0x442e96(0x3e6)](_0xaf66db=>_0xaf66db?_0xaf66db[_0x442e96(0x364)]:_0x3580e9[_0x442e96(0x380)]),_0x1be1c1['shareReplay'](0x1))),_0x48d230(this,'_transitionLocked',!0x1),_0x48d230(this,_0x442e96(0x441),[]),(this['unitID']=_0x5ab916,this['session']=_0x5d82bb,this[_0x442e96(0x3a2)]=_0x537871,this[_0x442e96(0x4c3)]=_0x46c209,this[_0x442e96(0x4e9)]=_0x2e389e,this[_0x442e96(0x1e4)]=_0x35e55e,this['_revisionService']=_0xa174c8,this['_eventService']=_0x5e3777,this['_logService']=_0x472e97,this['_commandService']=_0x496c4e,this[_0x442e96(0x330)]=_0x5ce3b6,this[_0x442e96(0x223)]=_0x6e2354,this[_0x442e96(0x28e)]=_0x550308);}get[_0x51f045(0x3ce)](){var _0x5e1486=_0x51f045;return this[_0x5e1486(0x19d)];}async[_0x51f045(0x249)](){var _0x3cb770=_0x51f045;if(this[_0x3cb770(0x3ce)])throw new Error('[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.');await this[_0x3cb770(0x328)]();}[_0x51f045(0x47e)](){var _0x23853a=_0x51f045;return this[_0x23853a(0x49e)]=!0x0,_0x3f0f0b[_0x23853a(0x44c)](()=>{var _0x1b5998=_0x23853a;this[_0x1b5998(0x49e)]=!0x1,this['_exhaustRemoteChangesetQueue']();});}[_0x51f045(0x4d9)](_0x3b4a8d){this['_onLocalMutation'](_0x3b4a8d);}[_0x51f045(0x1c5)](_0x25ef14){var _0x4c464e=_0x51f045;this['_state']=_0x25ef14,this[_0x4c464e(0x34a)][_0x4c464e(0x28b)](_0x25ef14);}async[_0x51f045(0x328)](){var _0x100d4a=_0x51f045,_0x4876c5;this[_0x100d4a(0x1c5)](await this[_0x100d4a(0x3cc)]()),this[_0x100d4a(0x223)]&&((_0x4876c5=this[_0x100d4a(0x223)])==null||_0x4876c5[_0x100d4a(0x1d7)](this[_0x100d4a(0x3cd)]),this['disposeWithMe'](this[_0x100d4a(0x223)][_0x100d4a(0x1c7)](this[_0x100d4a(0x3cd)])['subscribe'](_0x179dc4=>{var _0x495b03=_0x100d4a;this[_0x495b03(0x468)][_0x495b03(0x48d)](_0x495b03(0x1cc),_0x495b03(0x4c8),_0x179dc4),_0x179dc4===_0x11c521[_0x495b03(0x18b)]?(this[_0x495b03(0x42e)][_0x495b03(0x2af)]({'id':_0xe3fca5[_0x495b03(0x4df)]}),this[_0x495b03(0x330)]['updatePermissionPoint'](new _0x1ba7ef['WorkbookEditablePermission'](this['unitID'])['id'],!0x1),this[_0x495b03(0x330)][_0x495b03(0x3f3)](!0x1)):(this[_0x495b03(0x330)]['updatePermissionPoint'](new _0x1ba7ef[(_0x495b03(0x3c7))](this[_0x495b03(0x3cd)])['id'],!0x0),this[_0x495b03(0x330)][_0x495b03(0x3f3)](!0x0));})));let _0x254d83=!0x1;return this[_0x100d4a(0x300)](this[_0x100d4a(0x1b9)][_0x100d4a(0x445)][_0x100d4a(0x439)](_0x152ca9=>{var _0x189bc2=_0x100d4a;_0x152ca9===_0x377f3b[_0x189bc2(0x4ad)]?this[_0x189bc2(0x327)](_0x254d83):_0x152ca9===_0x377f3b['OFFLINE']&&(_0x254d83=!0x0,this[_0x189bc2(0x20d)]());})),this['disposeWithMe'](this['session'][_0x100d4a(0x442)]['subscribe'](_0xcfbf3c=>{var _0xbcdc3a=_0x100d4a;try{switch(_0xcfbf3c['eventID']){case _0x3e5fea[_0xbcdc3a(0x2f2)][_0xbcdc3a(0x3be)]:{this[_0xbcdc3a(0x332)](_0x3e5fea[_0xbcdc3a(0x3ab)](_0xcfbf3c[_0xbcdc3a(0x2ad)]));break;}case _0x3e5fea['CollaborationEvent']['CHANGESET_ACK']:{this[_0xbcdc3a(0x309)](_0xcfbf3c[_0xbcdc3a(0x2ad)]);break;}case _0x3e5fea[_0xbcdc3a(0x2f2)]['CHANGESET_REJ']:{this[_0xbcdc3a(0x458)]();break;}case _0x3e5fea['CollaborationEvent'][_0xbcdc3a(0x485)]:{this[_0xbcdc3a(0x21b)](_0xcfbf3c[_0xbcdc3a(0x2ad)]);break;}case _0x3e5fea[_0xbcdc3a(0x2f2)][_0xbcdc3a(0x378)]:{this[_0xbcdc3a(0x235)](_0xcfbf3c[_0xbcdc3a(0x2ad)][_0xbcdc3a(0x18e)][_0xbcdc3a(0x3e6)](_0xe04db5=>_0x3e5fea['parseProtocolChangeset'](_0xe04db5)));break;}case _0x3e5fea['CollaborationEvent']['PERMISSION_REJ']:{this[_0xbcdc3a(0x458)]({'isPermissionRej':!0x0});break;}case _0x3e5fea[_0xbcdc3a(0x2f2)][_0xbcdc3a(0x222)]:break;}}catch(_0x47d8f2){throw console[_0xbcdc3a(0x199)](_0xbcdc3a(0x1db),_0x47d8f2),_0x47d8f2;}})),this[_0x100d4a(0x19d)];}[_0x51f045(0x2ac)](){var _0x14f1af=_0x51f045;this[_0x14f1af(0x213)]=!0x1;}[_0x51f045(0x209)](){var _0x199d66=_0x51f045;if(this['_transitionLocked'])throw new Error(_0x199d66(0x1eb));this['_transitionLocked']=!0x0;}['_onLocalMutation'](_0x520e30){var _0x775a04=_0x51f045;this[_0x775a04(0x209)](),this['_updateState'](this[_0x775a04(0x19d)][_0x775a04(0x4e7)](_0x520e30)),this['_unlockTransition']();}[_0x51f045(0x332)](_0x3f11fd){var _0x57dff7=_0x51f045;if(!(_0x3f11fd[_0x57dff7(0x39b)]<=this[_0x57dff7(0x3a0)][_0x57dff7(0x1e6)](this['unitID']))){if(this[_0x57dff7(0x49e)]){this['_remoteChangesetQueue']['push'](_0x3f11fd);return;}this[_0x57dff7(0x1a0)](_0x3f11fd);}}[_0x51f045(0x31d)](){var _0xd7db83=_0x51f045;this[_0xd7db83(0x441)][_0xd7db83(0x373)](_0xa32bb6=>this[_0xd7db83(0x1a0)](_0xa32bb6)),this[_0xd7db83(0x441)]=[];}[_0x51f045(0x1a0)](_0x4757bf){var _0x33dc84=_0x51f045;const _0x12754a=this[_0x33dc84(0x4e9)]['interceptor'][_0x33dc84(0x3a7)](this[_0x33dc84(0x4e9)][_0x33dc84(0x2a3)][_0x33dc84(0x208)]()[_0x33dc84(0x1da)])(_0x4757bf[_0x33dc84(0x411)],null)||_0x4757bf[_0x33dc84(0x411)],_0x3c592a={..._0x4757bf,'mutations':_0x12754a};this['_lockTransition'](),this[_0x33dc84(0x1c5)](this[_0x33dc84(0x19d)][_0x33dc84(0x1f9)](_0x3c592a)),this['_unlockTransition']();}['_onRemoteACK'](_0x37aef9){var _0x4067d0=_0x51f045;this['_lockTransition'](),this[_0x4067d0(0x1c5)](this[_0x4067d0(0x19d)][_0x4067d0(0x41d)](_0x37aef9)),this[_0x4067d0(0x2ac)]();}[_0x51f045(0x458)](_0x4c41e2){var _0x1a4654=_0x51f045;this[_0x1a4654(0x209)](),this[_0x1a4654(0x1c5)](this['_state'][_0x1a4654(0x3a8)](_0x4c41e2)),this['_unlockTransition']();}['_onRemoteRetry'](_0x3b0593){var _0x40946e=_0x51f045;this[_0x40946e(0x209)](),this[_0x40946e(0x1c5)](this[_0x40946e(0x19d)][_0x40946e(0x25d)](_0x3b0593)),this[_0x40946e(0x2ac)]();}[_0x51f045(0x235)](_0x2507c4){var _0x5916e9=_0x51f045;if(!(this[_0x5916e9(0x19d)]instanceof _0x47f5c6[_0x5916e9(0x19f)]))throw new TypeError('[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!');const _0x989fe5=_0x2507c4[_0x5916e9(0x3e6)](_0x1ffce9=>{var _0x3204b7=_0x5916e9;const _0xe25c2e=this[_0x3204b7(0x4e9)]['interceptor'][_0x3204b7(0x3a7)](this['_compressMutationService']['interceptor']['getInterceptPoints']()[_0x3204b7(0x1da)])(_0x1ffce9[_0x3204b7(0x411)],null)||_0x1ffce9[_0x3204b7(0x411)];return{..._0x1ffce9,'mutations':_0xe25c2e};});this[_0x5916e9(0x209)](),this['_updateState'](this[_0x5916e9(0x19d)][_0x5916e9(0x281)](_0x989fe5)),this[_0x5916e9(0x2ac)]();}[_0x51f045(0x20d)](){var _0x5e3d78=_0x51f045;this[_0x5e3d78(0x209)](),this[_0x5e3d78(0x1c5)](this['_state']['toggleOffline']()),this[_0x5e3d78(0x2ac)]();}[_0x51f045(0x327)](_0x14b821=!0x1){var _0x29ba82=_0x51f045;this[_0x29ba82(0x209)](),this[_0x29ba82(0x1c5)](this[_0x29ba82(0x19d)][_0x29ba82(0x4ab)]()),this['_unlockTransition']();const _0x1ced14=this[_0x29ba82(0x19d)];_0x14b821&&_0x1ced14 instanceof _0x47f5c6[_0x29ba82(0x313)]&&(this['_lockTransition'](),this[_0x29ba82(0x1c5)](_0x1ced14['fetchMiss']()),this['_unlockTransition']());}async[_0x51f045(0x3cc)](){return new Promise(_0x40c7a0=>{var _0x3e120f=_0x180f;this[_0x3e120f(0x1b9)]['sessionStatus$'][_0x3e120f(0x431)](_0x1be1c1[_0x3e120f(0x21f)](0x1))[_0x3e120f(0x439)](async _0x460139=>{var _0x5174c6=_0x3e120f;_0x40c7a0(await this[_0x5174c6(0x4cb)](_0x460139===_0x377f3b[_0x5174c6(0x4ad)]));});});}[_0x51f045(0x202)](){var _0x3e8519=_0x51f045;const _0x5ac825=this[_0x3e8519(0x3cd)];return{'onStateChange':(_0x2466ea,_0x179bfa)=>{var _0x39fb16=_0x3e8519;if(_0x2466ea!==this[_0x39fb16(0x19d)])throw new Error(_0x39fb16(0x1f2)+_0x2466ea['status']+_0x39fb16(0x4fd)+_0x179bfa[_0x39fb16(0x364)]+_0x39fb16(0x349)+this[_0x39fb16(0x19d)]['status']);this['_updateState'](_0x179bfa);},'onSendChangeset':_0x4d44eb=>{var _0x4ec8a4=_0x3e8519;_0x4d44eb[_0x4ec8a4(0x495)]||(_0x4d44eb[_0x4ec8a4(0x495)]=this[_0x4ec8a4(0x246)],_0x4d44eb[_0x4ec8a4(0x22f)]=++this[_0x4ec8a4(0x463)]);const _0x11dc78={'eventID':_0x3e5fea[_0x4ec8a4(0x2f2)][_0x4ec8a4(0x1dd)],'data':{'unitID':_0x4d44eb[_0x4ec8a4(0x3cd)],'unitType':this['_type'],'changeset':_0x4d44eb,'memberID':this['session']['getMemberID']()}};this['session'][_0x4ec8a4(0x4b4)](_0x11dc78,this[_0x4ec8a4(0x3cd)]);},'onMissingChangesets':({from:_0x3ffd9a,to:_0x33b1b6})=>{var _0xa888dc=_0x3e8519;this['_logService'][_0xa888dc(0x48d)]('[CollaborationEntity]',_0xa888dc(0x2d8)+_0x3ffd9a+_0xa888dc(0x1c0)+_0x33b1b6);const _0x1b5de5={'eventID':_0x3e5fea[_0xa888dc(0x2f2)][_0xa888dc(0x2f4)],'data':{'unitID':_0x5ac825,'unitType':this[_0xa888dc(0x3a2)],'from':_0x3ffd9a,'to':_0x33b1b6}};this[_0xa888dc(0x1b9)][_0xa888dc(0x4b4)](_0x1b5de5,this['unitID']);}};}async[_0x51f045(0x4cb)](_0x14c13b){var _0x3d313f=_0x51f045,_0x2fd99b,_0x1de8df,_0x251bae;const _0x21a3ec=await((_0x2fd99b=this[_0x3d313f(0x28e)])==null?void 0x0:_0x2fd99b[_0x3d313f(0x1c4)](this['unitID'])),_0x3db9a0=(_0x1de8df=_0x21a3ec==null?void 0x0:_0x21a3ec['mutations'])!=null?_0x1de8df:[],_0x14e92a=(_0x251bae=_0x21a3ec==null?void 0x0:_0x21a3ec[_0x3d313f(0x264)])!=null?_0x251bae:null,_0x3b0bef=!!(_0x14e92a!=null&&_0x14e92a[_0x3d313f(0x495)])&&!!(_0x14e92a!=null&&_0x14e92a[_0x3d313f(0x22f)]);this[_0x3d313f(0x246)]=_0x3b0bef?_0x14e92a[_0x3d313f(0x495)]:_0x58a941(),this[_0x3d313f(0x463)]=_0x3b0bef?_0x14e92a[_0x3d313f(0x22f)]:0x0;const _0x547f70=this[_0x3d313f(0x3cd)];try{this[_0x3d313f(0x226)](_0x14e92a,_0x3db9a0);}catch(_0x438360){this[_0x3d313f(0x468)][_0x3d313f(0x199)](_0x438360);}const _0x16418f=this[_0x3d313f(0x202)]();if(_0x14c13b){const _0x4c9b04=_0x5d41cc(this[_0x3d313f(0x4c3)],_0x547f70,this[_0x3d313f(0x3a2)],_0x14e92a,_0x3db9a0,_0x16418f);return _0x4c9b04 instanceof _0x47f5c6['PendingState']?_0x4c9b04[_0x3d313f(0x31e)]():(_0x4c9b04 instanceof _0x47f5c6['AwaitingWithPendingState']||_0x4c9b04 instanceof _0x47f5c6[_0x3d313f(0x473)])&&_0x4c9b04['resend'](),_0x4c9b04;}return this[_0x3d313f(0x4c3)][_0x3d313f(0x1c1)](_0x47f5c6[_0x3d313f(0x27c)],_0x547f70,this['_type'],_0x14e92a,_0x3db9a0,_0x16418f);}[_0x51f045(0x226)](_0x1d6083,_0x30ea9a){var _0x354194=_0x51f045,_0x49d6ef,_0x5f19b3;const _0x4f15a6=this[_0x354194(0x4e9)]['interceptor'][_0x354194(0x3a7)](this['_compressMutationService']['interceptor'][_0x354194(0x208)]()[_0x354194(0x1da)]);(_0x49d6ef=_0x4f15a6((_0x1d6083==null?void 0x0:_0x1d6083['mutations'])||[],null))==null||_0x49d6ef[_0x354194(0x373)](_0x2a0895=>this['_commandService']['executeCommand'](_0x2a0895['id'],_0x2a0895['params'])),(_0x5f19b3=_0x4f15a6(_0x30ea9a||[],null))==null||_0x5f19b3[_0x354194(0x373)](_0x796389=>this[_0x354194(0x3ad)][_0x354194(0x491)](_0x796389['id'],_0x796389[_0x354194(0x2a7)]));}},_0x47f5c6[_0x51f045(0x4f7)]=_0x56a453([_0x5b9b95(0x3,_0x3f0f0b[_0x51f045(0x490)](_0x3f0f0b[_0x51f045(0x1c3)])),_0x5b9b95(0x4,_0x3f0f0b[_0x51f045(0x490)](_0x3e5fea[_0x51f045(0x1ea)])),_0x5b9b95(0x5,_0x3f0f0b[_0x51f045(0x490)](_0x3f0f0b['LocaleService'])),_0x5b9b95(0x6,_0x3f0f0b[_0x51f045(0x490)](_0x3e5fea['RevisionService'])),_0x5b9b95(0x7,_0x3f0f0b[_0x51f045(0x490)](_0x4e0ff7)),_0x5b9b95(0x8,_0x3f0f0b[_0x51f045(0x369)]),_0x5b9b95(0x9,_0x3f0f0b[_0x51f045(0x350)]),_0x5b9b95(0xa,_0x3f0f0b[_0x51f045(0x2f0)]),_0x5b9b95(0xb,_0x3f0f0b[_0x51f045(0x4d1)](_0x3a1006)),_0x5b9b95(0xc,_0x3f0f0b['Optional'](_0x2f7041))],_0x47f5c6[_0x51f045(0x4f7)]),_0x47f5c6[_0x51f045(0x289)]=class extends _0x47f5c6[_0x51f045(0x4f7)]{constructor(_0x20be6f,_0x13aaa5,_0x52170c,_0x27d729,_0x2ee307,_0x2799e9,_0x3d4952,_0x195a3d,_0x2406a2,_0x33b0bd,_0x341e63,_0x31e05a,_0xa11c8b){var _0x17c003=_0x51f045;super(_0x20be6f,_0x52170c,_0x13aaa5,_0x27d729,_0x2ee307,_0x2799e9,_0x3d4952,_0x195a3d,_0x2406a2,_0x33b0bd,_0x341e63,_0x31e05a,_0xa11c8b),_0x48d230(this,_0x17c003(0x394),null),(this[_0x17c003(0x3cd)]=_0x20be6f,this[_0x17c003(0x3b1)]=_0x13aaa5);}[_0x51f045(0x421)](_0x21d341){var _0x320deb=_0x51f045;this[_0x320deb(0x394)]=_0x21d341;}[_0x51f045(0x467)](){var _0x3b321f=_0x51f045;this['_handlerCallback']=null,super[_0x3b321f(0x467)]();}[_0x51f045(0x202)](){var _0x5b7cdb=_0x51f045;const _0xf77baa=super[_0x5b7cdb(0x202)]();return _0xf77baa[_0x5b7cdb(0x308)]=_0x15adcb=>{var _0x1cce15=_0x5b7cdb,_0x5a74e4,_0x25ee1c;return(_0x25ee1c=(_0x5a74e4=this[_0x1cce15(0x394)])==null?void 0x0:_0x5a74e4['onTransformIME'])==null?void 0x0:_0x25ee1c[_0x1cce15(0x45e)](_0x5a74e4,_0x15adcb);},_0xf77baa[_0x5b7cdb(0x3e3)]=_0x29c39e=>{var _0x223250=_0x5b7cdb,_0x26ca66,_0x4f8ac8;return(_0x4f8ac8=(_0x26ca66=this[_0x223250(0x394)])==null?void 0x0:_0x26ca66[_0x223250(0x3e3)])==null?void 0x0:_0x4f8ac8[_0x223250(0x45e)](_0x26ca66,_0x29c39e);},_0xf77baa[_0x5b7cdb(0x393)]=_0x3d5442=>{var _0x565ea5=_0x5b7cdb,_0x1f90b6,_0x4d60a0;return(_0x4d60a0=(_0x1f90b6=this['_handlerCallback'])==null?void 0x0:_0x1f90b6['onTransformSelections'])==null?void 0x0:_0x4d60a0[_0x565ea5(0x45e)](_0x1f90b6,_0x3d5442);},_0xf77baa['onSyncEditingCollabCursor']=_0x1a0698=>{var _0x774af2=_0x5b7cdb,_0x145acb,_0x1bf079;return(_0x1bf079=(_0x145acb=this[_0x774af2(0x394)])==null?void 0x0:_0x145acb[_0x774af2(0x45a)])==null?void 0x0:_0x1bf079[_0x774af2(0x45e)](_0x145acb,_0x1a0698);},_0xf77baa[_0x5b7cdb(0x2e0)]=_0x178474=>{var _0x21aaa5=_0x5b7cdb,_0x25984c,_0x79548b,_0x1db0ca;if(!((_0x25984c=this[_0x21aaa5(0x394)])!=null&&_0x25984c[_0x21aaa5(0x2e0)]))throw new Error(_0x21aaa5(0x273));return(_0x1db0ca=(_0x79548b=this['_handlerCallback'])==null?void 0x0:_0x79548b[_0x21aaa5(0x2e0)])==null?void 0x0:_0x1db0ca['call'](_0x79548b,_0x178474);},_0xf77baa[_0x5b7cdb(0x43c)]=_0x22217b=>{var _0x5470c2=_0x5b7cdb,_0x432bda,_0x847c52,_0x1c7cf6;if(!((_0x432bda=this[_0x5470c2(0x394)])!=null&&_0x432bda['onTransformRemoteChangesetByStateCache']))throw new Error(_0x5470c2(0x47b));return(_0x1c7cf6=(_0x847c52=this[_0x5470c2(0x394)])==null?void 0x0:_0x847c52[_0x5470c2(0x43c)])==null?void 0x0:_0x1c7cf6[_0x5470c2(0x45e)](_0x847c52,_0x22217b);},_0xf77baa;}async[_0x51f045(0x328)](){var _0xe2bafc=_0x51f045;const _0x7e9321=await super['_init']();return this[_0xe2bafc(0x300)](this['_commandService'][_0xe2bafc(0x205)]((_0x23b0ab,_0x31d0f1)=>{var _0x498678=_0xe2bafc;if(_0x23b0ab[_0x498678(0x3b1)]!==_0x3f0f0b['CommandType'][_0x498678(0x248)]||_0x31d0f1!=null&&_0x31d0f1[_0x498678(0x4b0)]||_0x31d0f1!=null&&_0x31d0f1['onlyLocal']||_0x23b0ab['id']===_0x59d75f['RichTextEditingMutation']['id'])return;const _0x262d03=_0x23b0ab[_0x498678(0x2a7)];if((_0x262d03==null?void 0x0:_0x262d03[_0x498678(0x28c)])!==this['unitID'])return;const _0xcb934a=_0x23b0ab,_0x5c08de=this['_compressMutationService'][_0x498678(0x2a3)]['fetchThroughInterceptors'](this[_0x498678(0x4e9)]['interceptor'][_0x498678(0x208)]()[_0x498678(0x3da)])([_0xcb934a],null)||[_0xcb934a];this['_onLocalMutation'](_0x5c08de[0x0]);})),_0x7e9321;}},_0x47f5c6[_0x51f045(0x289)]=_0x56a453([_0x5b9b95(0x3,_0x3f0f0b[_0x51f045(0x490)](_0x3f0f0b[_0x51f045(0x1c3)])),_0x5b9b95(0x4,_0x3f0f0b[_0x51f045(0x490)](_0x3e5fea[_0x51f045(0x1ea)])),_0x5b9b95(0x5,_0x3f0f0b[_0x51f045(0x490)](_0x3f0f0b['LocaleService'])),_0x5b9b95(0x6,_0x3f0f0b[_0x51f045(0x490)](_0x3e5fea[_0x51f045(0x347)])),_0x5b9b95(0x7,_0x3f0f0b['Inject'](_0x4e0ff7)),_0x5b9b95(0x8,_0x3f0f0b[_0x51f045(0x369)]),_0x5b9b95(0x9,_0x3f0f0b['ICommandService']),_0x5b9b95(0xa,_0x3f0f0b[_0x51f045(0x2f0)]),_0x5b9b95(0xb,_0x3f0f0b['Optional'](_0x3a1006)),_0x5b9b95(0xc,_0x3f0f0b['Optional'](_0x2f7041))],_0x47f5c6['DocCollaborationEntity']),_0x47f5c6['SheetCollaborationEntity']=class extends _0x47f5c6[_0x51f045(0x4f7)]{constructor(_0x1f44eb,_0x1424e9,_0x1c540c,_0x1b6ef5,_0x10c0ea,_0xacc8f8,_0xd75933,_0x22ec96,_0x1a5fc7,_0x56ce54,_0x53e328,_0x1363b0,_0x36bf64,_0x388bd9){var _0x56e3ba=_0x51f045;super(_0x1f44eb,_0x1c540c,_0x1424e9,_0x1b6ef5,_0x10c0ea,_0xacc8f8,_0xd75933,_0x1a5fc7,_0x56ce54,_0x53e328,_0x1363b0,_0x36bf64,_0x388bd9),this[_0x56e3ba(0x3cd)]=_0x1f44eb,this[_0x56e3ba(0x3b1)]=_0x1424e9,this[_0x56e3ba(0x252)]=_0x22ec96;}[_0x51f045(0x202)](){var _0x1184ec=_0x51f045;const _0x1a0d91=super[_0x1184ec(0x202)]();return _0x1a0d91[_0x1184ec(0x393)]=_0xc03adb=>this[_0x1184ec(0x252)][_0x1184ec(0x186)](_0xc03adb),_0x1a0d91;}async['_init'](){var _0x1c5a61=_0x51f045;const _0x247bbe=await super[_0x1c5a61(0x328)]();return this[_0x1c5a61(0x300)](this['_commandService']['onCommandExecuted']((_0x1c7573,_0x269c36)=>{var _0x15a190=_0x1c5a61;if(_0x1c7573[_0x15a190(0x3b1)]!==_0x3f0f0b[_0x15a190(0x37b)][_0x15a190(0x248)]||_0x269c36!=null&&_0x269c36[_0x15a190(0x4b0)]||_0x269c36!=null&&_0x269c36[_0x15a190(0x26c)])return;const _0x363a58=_0x1c7573[_0x15a190(0x2a7)];if((_0x363a58==null?void 0x0:_0x363a58[_0x15a190(0x28c)])!==this[_0x15a190(0x3cd)])return;const _0xa220cb=_0x1c7573,_0x1a53d0=this['_compressMutationService'][_0x15a190(0x2a3)][_0x15a190(0x3a7)](this[_0x15a190(0x4e9)][_0x15a190(0x2a3)][_0x15a190(0x208)]()[_0x15a190(0x3da)])([_0xa220cb],null)||[_0xa220cb];this['_onLocalMutation'](_0x1a53d0[0x0]);})),_0x247bbe;}},_0x47f5c6[_0x51f045(0x24d)]=_0x56a453([_0x5b9b95(0x3,_0x3f0f0b['Inject'](_0x3f0f0b[_0x51f045(0x1c3)])),_0x5b9b95(0x4,_0x3f0f0b[_0x51f045(0x490)](_0x3e5fea[_0x51f045(0x1ea)])),_0x5b9b95(0x5,_0x3f0f0b['Inject'](_0x3f0f0b[_0x51f045(0x405)])),_0x5b9b95(0x6,_0x3f0f0b[_0x51f045(0x490)](_0x3e5fea[_0x51f045(0x347)])),_0x5b9b95(0x7,_0x3f0f0b[_0x51f045(0x490)](_0x47f5c6[_0x51f045(0x2d6)])),_0x5b9b95(0x8,_0x3f0f0b[_0x51f045(0x490)](_0x4e0ff7)),_0x5b9b95(0x9,_0x3f0f0b[_0x51f045(0x369)]),_0x5b9b95(0xa,_0x3f0f0b[_0x51f045(0x350)]),_0x5b9b95(0xb,_0x3f0f0b[_0x51f045(0x2f0)]),_0x5b9b95(0xc,_0x3f0f0b[_0x51f045(0x4d1)](_0x3a1006)),_0x5b9b95(0xd,_0x3f0f0b[_0x51f045(0x4d1)](_0x2f7041))],_0x47f5c6['SheetCollaborationEntity']);var _0xd85a82=Object[_0x51f045(0x3ee)],_0x49ec66=(_0x24c4ad,_0x150a25,_0x376be4,_0x32ed4f)=>{var _0x3c3d0d=_0x51f045;for(var _0x105485=_0x32ed4f>0x1?void 0x0:_0x32ed4f?_0xd85a82(_0x150a25,_0x376be4):_0x150a25,_0x11c48b=_0x24c4ad[_0x3c3d0d(0x1fb)]-0x1,_0x14a9cb;_0x11c48b>=0x0;_0x11c48b--)(_0x14a9cb=_0x24c4ad[_0x11c48b])&&(_0x105485=_0x14a9cb(_0x105485)||_0x105485);return _0x105485;},_0x2a57c3=(_0x463f9f,_0x596381)=>(_0x1d4e40,_0x272a4e)=>_0x596381(_0x1d4e40,_0x272a4e,_0x463f9f);_0x47f5c6[_0x51f045(0x27e)]=class extends _0x3f0f0b[_0x51f045(0x182)]{constructor(_0x101d5e,_0x459b21,_0x30d92d){var _0x1fb9fc=_0x51f045;super(),_0x48d230(this,_0x1fb9fc(0x38c),new Map()),_0x48d230(this,_0x1fb9fc(0x48a),new _0x1be1c1[(_0x1fb9fc(0x381))]()),_0x48d230(this,'entityInit$',this[_0x1fb9fc(0x48a)][_0x1fb9fc(0x4dc)]()),(this[_0x1fb9fc(0x4c3)]=_0x101d5e,this[_0x1fb9fc(0x489)]=_0x459b21,this[_0x1fb9fc(0x4f9)]=_0x30d92d,this[_0x1fb9fc(0x328)]());}[_0x51f045(0x467)](){var _0x186f59=_0x51f045;super['dispose'](),this[_0x186f59(0x38c)][_0x186f59(0x373)](_0x4d2b8a=>_0x4d2b8a[_0x186f59(0x467)]()),this['_entities']['clear']();}['getCollabEntity'](_0x572904){var _0x5d4ffd=_0x51f045,_0x784b00;return(_0x784b00=this[_0x5d4ffd(0x38c)][_0x5d4ffd(0x24e)](_0x572904))!=null?_0x784b00:null;}['getCollabEntity$'](_0x46e932){var _0xe17f52=_0x51f045;const _0x16dbf2=this[_0xe17f52(0x26d)](_0x46e932);return _0x16dbf2?_0x1be1c1['of'](_0x16dbf2):this['_entityInit$'][_0xe17f52(0x431)](_0x3b5477['filter'](_0x19ff9c=>_0x19ff9c[_0xe17f52(0x3cd)]===_0x46e932));}[_0x51f045(0x320)](_0x1b7d00){var _0x1155de=_0x51f045;return _0x1be1c1[_0x1155de(0x23d)](this[_0x1155de(0x356)](_0x1b7d00)[_0x1155de(0x431)](_0x3b5477[_0x1155de(0x3e6)](()=>{})));}['_init'](){var _0x3843d3=_0x51f045;this['_univerInstanceService'][_0x3843d3(0x1f8)](_0x3f0f0b[_0x3843d3(0x3f1)][_0x3843d3(0x298)])[_0x3843d3(0x431)](_0x1be1c1[_0x3843d3(0x38d)](this[_0x3843d3(0x3db)]),_0x3b5477[_0x3843d3(0x2b1)](0x10))[_0x3843d3(0x439)](async _0x46663d=>{var _0x31a6bb=_0x3843d3;const _0x53cbe4=_0x46663d[_0x31a6bb(0x29b)](),_0x63e596=await this[_0x31a6bb(0x4f1)](_0x53cbe4,_0x3af995[_0x31a6bb(0x298)]);this[_0x31a6bb(0x38c)]['set'](_0x53cbe4,_0x63e596);}),this['_univerInstanceService'][_0x3843d3(0x1f8)](_0x3f0f0b['UniverInstanceType'][_0x3843d3(0x3df)])[_0x3843d3(0x431)](_0x1be1c1['takeUntil'](this['dispose$']),_0x3b5477[_0x3843d3(0x2b1)](0x10))[_0x3843d3(0x431)](_0x3b5477[_0x3843d3(0x29e)](_0x39521e=>!_0x39521e['getUnitId']()[_0x3843d3(0x365)]('__')))['subscribe'](async _0xb67339=>{var _0x19372f=_0x3843d3;const _0x3b061d=_0xb67339[_0x19372f(0x29b)](),_0x5671d8=await this[_0x19372f(0x4f1)](_0x3b061d,_0x3af995[_0x19372f(0x3df)]);this[_0x19372f(0x38c)][_0x19372f(0x49f)](_0x3b061d,_0x5671d8);}),_0x1be1c1[_0x3843d3(0x46d)](this['_univerInstanceService'][_0x3843d3(0x43a)](_0x3f0f0b['UniverInstanceType'][_0x3843d3(0x298)]),this[_0x3843d3(0x4f9)][_0x3843d3(0x43a)](_0x3f0f0b[_0x3843d3(0x3f1)][_0x3843d3(0x3df)]))[_0x3843d3(0x431)](_0x1be1c1[_0x3843d3(0x38d)](this[_0x3843d3(0x3db)]))[_0x3843d3(0x439)](_0x15c341=>{var _0x2d1369=_0x3843d3;const _0x14ebee=_0x15c341[_0x2d1369(0x29b)](),_0xfac3b0=this[_0x2d1369(0x38c)][_0x2d1369(0x24e)](_0x14ebee);_0xfac3b0&&(_0xfac3b0[_0x2d1369(0x467)](),this[_0x2d1369(0x38c)][_0x2d1369(0x29c)](_0x14ebee));});}async[_0x51f045(0x4f1)](_0x24fb18,_0x2e337c){var _0x587eaf=_0x51f045;const _0x5f1766=await this[_0x587eaf(0x489)][_0x587eaf(0x410)](_0x24fb18),_0x3038e6=this[_0x587eaf(0x4c3)][_0x587eaf(0x1c1)](this[_0x587eaf(0x4ba)](_0x2e337c),_0x24fb18,_0x2e337c,_0x5f1766);return await _0x3038e6[_0x587eaf(0x249)](),this[_0x587eaf(0x48a)][_0x587eaf(0x28b)](_0x3038e6),_0x3038e6;}[_0x51f045(0x4ba)](_0x38dc2c){var _0xf2582b=_0x51f045;switch(_0x38dc2c){case _0x3af995[_0xf2582b(0x3df)]:return _0x47f5c6[_0xf2582b(0x289)];case _0x3af995[_0xf2582b(0x298)]:return _0x47f5c6['SheetCollaborationEntity'];default:throw new Error(_0xf2582b(0x314)+_0x38dc2c);}}},_0x47f5c6['CollaborationController']=_0x49ec66([_0x2a57c3(0x0,_0x3f0f0b[_0x51f045(0x490)](_0x3f0f0b[_0x51f045(0x1c3)])),_0x2a57c3(0x1,_0x3f0f0b['Inject'](_0x47f5c6[_0x51f045(0x465)])),_0x2a57c3(0x2,_0x3f0f0b[_0x51f045(0x3b7)])],_0x47f5c6['CollaborationController']);var _0x55af1f=Object[_0x51f045(0x3ee)],_0x5c89ce=(_0x57e759,_0x35c30c,_0x3c24dd,_0x3f4e79)=>{var _0x560c99=_0x51f045;for(var _0x2f2bd7=_0x3f4e79>0x1?void 0x0:_0x3f4e79?_0x55af1f(_0x35c30c,_0x3c24dd):_0x35c30c,_0x4e39a6=_0x57e759[_0x560c99(0x1fb)]-0x1,_0x13287f;_0x4e39a6>=0x0;_0x4e39a6--)(_0x13287f=_0x57e759[_0x4e39a6])&&(_0x2f2bd7=_0x13287f(_0x2f2bd7)||_0x2f2bd7);return _0x2f2bd7;},_0x33af67=(_0x5691ce,_0x82d53b)=>(_0x36e3eb,_0x4fc609)=>_0x82d53b(_0x36e3eb,_0x4fc609,_0x5691ce);const _0x484262=_0x51f045(0x334),_0x1646b1=_0x51f045(0x1b4);let _0x311598=class extends _0x3f0f0b['Disposable']{constructor(_0x2c64b1,_0x39db6c){var _0x1b6787=_0x51f045;super(),this[_0x1b6787(0x4f9)]=_0x2c64b1,this[_0x1b6787(0x20c)]=_0x39db6c,this[_0x1b6787(0x328)]();}[_0x51f045(0x328)](){var _0x5ca625=_0x51f045;this[_0x5ca625(0x300)](this[_0x5ca625(0x4f9)][_0x5ca625(0x3e0)][_0x5ca625(0x439)](()=>{var _0x3eb404=_0x5ca625,_0xd3e902;const _0x49bef9=this[_0x3eb404(0x4f9)][_0x3eb404(0x251)]();let _0x292234=(_0xd3e902=this[_0x3eb404(0x20c)][_0x3eb404(0x3ae)](_0x484262))!=null?_0xd3e902:_0x1646b1;_0x49bef9 instanceof _0x3f0f0b[_0x3eb404(0x287)]&&(_0x292234=_0x49bef9[_0x3eb404(0x1a2)]),document[_0x3eb404(0x2dc)]=_0x292234;}));}};_0x311598=_0x5c89ce([_0x33af67(0x0,_0x3f0f0b['IUniverInstanceService']),_0x33af67(0x1,_0x3f0f0b[_0x51f045(0x496)])],_0x311598);var _0x4e9d9b=Object[_0x51f045(0x3ee)],_0x4fc6c1=(_0x976d4a,_0x54e3a7,_0x15250d,_0x3e182b)=>{var _0xb540f6=_0x51f045;for(var _0x32411e=_0x3e182b>0x1?void 0x0:_0x3e182b?_0x4e9d9b(_0x54e3a7,_0x15250d):_0x54e3a7,_0x5cc9aa=_0x976d4a[_0xb540f6(0x1fb)]-0x1,_0x49a4b9;_0x5cc9aa>=0x0;_0x5cc9aa--)(_0x49a4b9=_0x976d4a[_0x5cc9aa])&&(_0x32411e=_0x49a4b9(_0x32411e)||_0x32411e);return _0x32411e;},_0x5e39f5=(_0x468b84,_0x1f2dc5)=>(_0x1363da,_0x15b7c8)=>_0x1f2dc5(_0x1363da,_0x15b7c8,_0x468b84);let _0x3a8a80=class{constructor(_0xa0598d,_0x426a18,_0x4afc9d){var _0x5ecfd8=_0x51f045;this[_0x5ecfd8(0x20c)]=_0xa0598d,this[_0x5ecfd8(0x31c)]=_0x426a18,this[_0x5ecfd8(0x4bb)]=_0x4afc9d,this[_0x5ecfd8(0x249)]();}[_0x51f045(0x249)](){var _0x40a8ee=_0x51f045;this[_0x40a8ee(0x31c)][_0x40a8ee(0x408)]({'priority':0x1,'interceptor':(_0x2e8b04,_0x99a476)=>_0x99a476(_0x2e8b04)['pipe'](_0x1be1c1[_0x40a8ee(0x31b)](async _0x2f0dae=>{var _0x366571=_0x40a8ee;const _0xce1962=_0x2f0dae;if(_0xce1962[_0x366571(0x364)]===0x191){if(typeof window>'u')throw new Error('[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.');if(window[_0x366571(0x1d1)](this[_0x366571(0x4bb)]['t'](_0x366571(0x1b8)))){const _0x33a0be=window[_0x366571(0x303)](window['location'][_0x366571(0x2f8)]);window['location'][_0x366571(0x2f8)]=this[_0x366571(0x355)]()+_0x366571(0x40b)+_0x33a0be;}}return _0xce1962;}))});}[_0x51f045(0x355)](){var _0x17c614=_0x51f045,_0xf10178,_0x408c06;const _0x1d7117=this['_configService'][_0x17c614(0x3ae)](_0x53ce98),_0x2dca57=this[_0x17c614(0x20c)][_0x17c614(0x3ae)](_0xd902f1);return(_0x408c06=(_0xf10178=_0x2dca57==null?void 0x0:_0x2dca57[_0x17c614(0x227)])!=null?_0xf10178:_0x1d7117)!=null?_0x408c06:_0x2508e2;}};_0x3a8a80=_0x4fc6c1([_0x5e39f5(0x0,_0x3f0f0b[_0x51f045(0x496)]),_0x5e39f5(0x1,_0x3f0f0b['Inject'](_0x556866[_0x51f045(0x258)])),_0x5e39f5(0x2,_0x3f0f0b[_0x51f045(0x490)](_0x3f0f0b[_0x51f045(0x405)]))],_0x3a8a80);var _0x5ecb63=Object[_0x51f045(0x3ee)],_0x57290f=(_0x51efd4,_0x3abed9,_0x4a29bd,_0x451e4e)=>{for(var _0x17c4a0=_0x451e4e>0x1?void 0x0:_0x451e4e?_0x5ecb63(_0x3abed9,_0x4a29bd):_0x3abed9,_0x19fc79=_0x51efd4['length']-0x1,_0x243c5c;_0x19fc79>=0x0;_0x19fc79--)(_0x243c5c=_0x51efd4[_0x19fc79])&&(_0x17c4a0=_0x243c5c(_0x17c4a0)||_0x17c4a0);return _0x17c4a0;},_0x3de80e=(_0x4300fc,_0x7cea8b)=>(_0x2828f4,_0x1693a9)=>_0x7cea8b(_0x2828f4,_0x1693a9,_0x4300fc);const _0x2469af=_0x51f045(0x1a4),_0x223866=_0x51f045(0x401);_0x47f5c6['AuthzIoHttpService']=class extends _0x3f0f0b['Disposable']{constructor(_0x1ce815,_0x491cad){var _0x11d224=_0x51f045;super(),this[_0x11d224(0x24f)]=_0x1ce815,this['_configService']=_0x491cad,this['_initMergeInterceptor']();}[_0x51f045(0x276)](){var _0x3fb596=_0x51f045;const _0x457d76=this;this[_0x3fb596(0x300)](this[_0x3fb596(0x24f)][_0x3fb596(0x408)]({'priority':0x3e7,'interceptor':_0x556866[_0x3fb596(0x30e)]({'isMatch'(_0x3ae661){var _0x5c8f0c=_0x3fb596,_0x1d92a3;if(_0x3ae661[_0x5c8f0c(0x49a)]===_0x5c8f0c(0x20b)&&((_0x1d92a3=_0x3ae661[_0x5c8f0c(0x342)])!=null&&_0x1d92a3['body'])){const {objectID:_0x555702,objectType:_0x4d411a}=_0x3ae661[_0x5c8f0c(0x342)]['body']||{};if(!_0x555702||_0x4d411a===void 0x0)return!0x1;const _0x4f8e82=_0x457d76[_0x5c8f0c(0x3c9)]()+'/'+_0x4d411a+_0x5c8f0c(0x1f1)+_0x555702+_0x5c8f0c(0x375);if(_0x3ae661[_0x5c8f0c(0x4ee)]===_0x4f8e82)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x341346){var _0x58264e=_0x3fb596,_0x3a417b;return(_0x3a417b=_0x341346['requestParams'])==null?void 0x0:_0x3a417b[_0x58264e(0x45c)];},'mergeParamsToRequest'(_0x366020,_0x5b3236){var _0x6ca5bc=_0x3fb596;const _0x3fe9bc=_0x457d76[_0x6ca5bc(0x3c9)]()+_0x6ca5bc(0x3e4),_0x1c11bd=_0x366020[_0x6ca5bc(0x412)]((_0x52decd,_0xbcd543)=>{var _0x31fb0b=_0x6ca5bc;const {unitID:_0x531666,objectID:_0x44bffd,objectType:_0x3f5399,actions:_0x580ae6}=_0xbcd543;return _0x52decd[_0x531666]||(_0x52decd[_0x531666]={}),_0x52decd[_0x531666][_0x44bffd]||(_0x52decd[_0x531666][_0x44bffd]={'objectID':_0x44bffd,'objectType':_0x3f5399,'actions':[]}),_0x52decd[_0x531666][_0x44bffd][_0x31fb0b(0x34f)][_0x31fb0b(0x3e7)](..._0x580ae6),_0x52decd;},{}),_0x565547=[];for(const _0x19c67a in _0x1c11bd)for(const _0x4d3c70 in _0x1c11bd[_0x19c67a]){const {actions:_0x5bdcd4,objectType:_0xefff13}=_0x1c11bd[_0x19c67a][_0x4d3c70],_0x2f3a00=[...new Set(_0x5bdcd4)];_0x565547[_0x6ca5bc(0x3e7)]({'unitID':_0x19c67a,'objectID':_0x4d3c70,'objectType':_0xefff13,'actions':_0x2f3a00});}return new _0x556866[(_0x6ca5bc(0x4e8))](_0x6ca5bc(0x20b),_0x3fe9bc,{'headers':_0x5b3236[_0x6ca5bc(0x2be)],'withCredentials':_0x5b3236[_0x6ca5bc(0x238)],'responseType':_0x5b3236['responseType'],'body':{'requests':_0x565547}});}},{'distributeResult'(_0x584b0f,_0x320e3b){var _0x11b2b4=_0x3fb596;const {objectActions:_0x425404}=_0x584b0f;return _0x320e3b[_0x11b2b4(0x3e6)](_0x1a77d1=>{var _0x52ea8d=_0x11b2b4;const {unitID:_0x59fa68,objectID:_0x24277e,actions:_0x5c1710}=_0x1a77d1,_0x548224=_0x425404[_0x52ea8d(0x299)](_0x3403d2=>_0x3403d2[_0x52ea8d(0x3cd)]===_0x59fa68&&_0x3403d2[_0x52ea8d(0x3fd)]===_0x24277e),_0x21c5ac=_0x5c1710[_0x52ea8d(0x3e6)](_0xe35902=>_0x548224==null?void 0x0:_0x548224[_0x52ea8d(0x34f)][_0x52ea8d(0x299)](_0x3f64a1=>_0x3f64a1['action']===_0xe35902))[_0x52ea8d(0x29e)](_0x43f012=>!!_0x43f012);return{'config':_0x1a77d1,'result':{'actions':_0x21c5ac,'error':_0x584b0f['error']}};});}})}));}[_0x51f045(0x3c9)](){var _0x102d22=_0x51f045,_0x21c7fa,_0x51ee9c;const _0x58c783=this[_0x102d22(0x20c)][_0x102d22(0x3ae)](_0x2469af),_0xca371d=this['_configService'][_0x102d22(0x3ae)](_0xd902f1);return(_0x51ee9c=(_0x21c7fa=_0xca371d==null?void 0x0:_0xca371d[_0x102d22(0x1ce)])!=null?_0x21c7fa:_0x58c783)!=null?_0x51ee9c:_0x223866;}async[_0x51f045(0x272)](_0x5d487f){var _0x20aaf3=_0x51f045;const _0x46804f=this[_0x20aaf3(0x3c9)]()+'/'+_0x5d487f['objectType']+_0x20aaf3(0x46b);return(await this['_HTTPService'][_0x20aaf3(0x297)](_0x46804f,{'body':_0x5d487f}))[_0x20aaf3(0x45c)][_0x20aaf3(0x3fd)]||'';}async[_0x51f045(0x187)](_0x14a2e8){var _0x3c1c99=_0x51f045;const _0x25d444=this[_0x3c1c99(0x3c9)]()+'/-/object/list';return(await this['_HTTPService'][_0x3c1c99(0x297)](_0x25d444,{'body':_0x14a2e8}))[_0x3c1c99(0x45c)][_0x3c1c99(0x2a2)];}async[_0x51f045(0x4a1)](_0xc8bea){var _0x573bf4=_0x51f045,_0x4b3f13,_0xb1871b;const _0x404ae2=this['_getAPIPrefixPath']()+'/'+_0xc8bea['objectType']+'/object/'+_0xc8bea[_0x573bf4(0x3fd)],_0x1889b6=await this[_0x573bf4(0x24f)]['put'](_0x404ae2,{'body':_0xc8bea});if(((_0xb1871b=(_0x4b3f13=_0x1889b6==null?void 0x0:_0x1889b6[_0x573bf4(0x45c)])==null?void 0x0:_0x4b3f13[_0x573bf4(0x199)])==null?void 0x0:_0xb1871b['code'])!==0x1)throw new Error(_0x573bf4(0x1bd));}async[_0x51f045(0x3c4)](_0x26f4af){var _0x4a8e5e=_0x51f045;const _0x38c737=this['_getAPIPrefixPath']()+'/'+_0x26f4af['objectType']+_0x4a8e5e(0x1f1)+_0x26f4af[_0x4a8e5e(0x3fd)]+_0x4a8e5e(0x375);return(await this[_0x4a8e5e(0x24f)][_0x4a8e5e(0x297)](_0x38c737,{'body':_0x26f4af}))['body'][_0x4a8e5e(0x34f)];}async[_0x51f045(0x188)](_0xa207de){var _0x28eee2=_0x51f045;const _0x172d97=this[_0x28eee2(0x3c9)]()+_0x28eee2(0x3e4);return(await this[_0x28eee2(0x24f)]['post'](_0x172d97,{'body':{'requests':_0xa207de}}))['body'][_0x28eee2(0x22e)];}async['listRoles'](_0x20518e){var _0x5f54b2=_0x51f045;const _0x402c83=this[_0x5f54b2(0x3c9)]()+'/'+_0x20518e['objectType']+'/role',_0x457333=await this['_HTTPService'][_0x5f54b2(0x297)](_0x402c83,{'body':_0x20518e});return{'roles':_0x457333[_0x5f54b2(0x45c)][_0x5f54b2(0x4ae)],'actions':_0x457333[_0x5f54b2(0x45c)][_0x5f54b2(0x34f)]};}async[_0x51f045(0x4e4)](_0x345384){var _0x9a9d67=_0x51f045;const _0x4b8b51=this[_0x9a9d67(0x3c9)]()+'/collaborator';await this[_0x9a9d67(0x24f)][_0x9a9d67(0x29c)](_0x4b8b51,{'params':{'collaboratorID':_0x345384['collaboratorID'],'objectID':_0x345384[_0x9a9d67(0x3fd)],'unitID':_0x345384[_0x9a9d67(0x3cd)]}});}async[_0x51f045(0x4a5)](_0x44bd11){var _0x498b52=_0x51f045;const _0x211e3a=this[_0x498b52(0x3c9)]()+'/collaborator';await this['_HTTPService'][_0x498b52(0x337)](_0x211e3a,{'body':_0x44bd11});}async[_0x51f045(0x413)](_0xc2518a){var _0x313fcc=_0x51f045;const _0x456086=this[_0x313fcc(0x3c9)]()+_0x313fcc(0x2b7);await this[_0x313fcc(0x24f)][_0x313fcc(0x297)](_0x456086,{'body':_0xc2518a});}async[_0x51f045(0x376)](_0x4a63b3){var _0x58f993=_0x51f045;const _0x19f467=this['_getAPIPrefixPath']()+_0x58f993(0x2b7);return(await this['_HTTPService']['get'](_0x19f467,{'params':{'objectID':_0x4a63b3[_0x58f993(0x3fd)],'unitID':_0x4a63b3[_0x58f993(0x3cd)]}}))[_0x58f993(0x45c)]['collaborators'];}async[_0x51f045(0x329)](_0x2a34ff){var _0x3e3205=_0x51f045;const _0x5eb259=this[_0x3e3205(0x3c9)]()+'/collaborator';await this[_0x3e3205(0x24f)][_0x3e3205(0x28d)](_0x5eb259,{'body':_0x2a34ff});}},_0x47f5c6['AuthzIoHttpService']=_0x57290f([_0x3de80e(0x0,_0x3f0f0b[_0x51f045(0x490)](_0x556866[_0x51f045(0x258)])),_0x3de80e(0x1,_0x3f0f0b[_0x51f045(0x490)](_0x3f0f0b[_0x51f045(0x496)]))],_0x47f5c6[_0x51f045(0x2ce)]);var _0x55d6b7=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function _0x5959e6(_0x1f2a54){var _0x141e8f=_0x51f045;return _0x1f2a54&&_0x1f2a54['__esModule']&&Object[_0x141e8f(0x2d9)][_0x141e8f(0x487)][_0x141e8f(0x45e)](_0x1f2a54,_0x141e8f(0x409))?_0x1f2a54[_0x141e8f(0x409)]:_0x1f2a54;}var _0x5e75cd={'exports':{}};function _0x26079a(_0x5b9007){var _0xf22912=_0x51f045;throw new Error(_0xf22912(0x493)+_0x5b9007+_0xf22912(0x3ba));}var _0xbf0afc={'exports':{}},_0x18dcc2=_0xbf0afc[_0x51f045(0x32d)],_0x5e9e21;function _0x100983(){var _0xdb5316=_0x51f045;return _0x5e9e21||(_0x5e9e21=0x1,function(_0x59f1fd,_0x2e6dd6){(function(_0x20a372,_0xf1b51e){var _0x210f69=_0x180f;_0x59f1fd[_0x210f69(0x32d)]=_0xf1b51e();}(_0x18dcc2,function(){var _0x418530=_0x418530||function(_0x5dc412,_0x1700c0){var _0x2a7a88=_0x180f,_0x54b7f5;if(typeof window<'u'&&window[_0x2a7a88(0x371)]&&(_0x54b7f5=window[_0x2a7a88(0x371)]),typeof self<'u'&&self[_0x2a7a88(0x371)]&&(_0x54b7f5=self[_0x2a7a88(0x371)]),typeof globalThis<'u'&&globalThis[_0x2a7a88(0x371)]&&(_0x54b7f5=globalThis['crypto']),!_0x54b7f5&&typeof window<'u'&&window['msCrypto']&&(_0x54b7f5=window[_0x2a7a88(0x214)]),!_0x54b7f5&&typeof _0x55d6b7<'u'&&_0x55d6b7[_0x2a7a88(0x371)]&&(_0x54b7f5=_0x55d6b7[_0x2a7a88(0x371)]),!_0x54b7f5&&typeof _0x26079a==_0x2a7a88(0x190))try{_0x54b7f5=require(_0x2a7a88(0x371));}catch{}var _0x4059a9=function(){var _0x1ae13c=_0x2a7a88;if(_0x54b7f5){if(typeof _0x54b7f5[_0x1ae13c(0x34d)]==_0x1ae13c(0x190))try{return _0x54b7f5['getRandomValues'](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x54b7f5['randomBytes']=='function')try{return _0x54b7f5[_0x1ae13c(0x33c)](0x4)[_0x1ae13c(0x217)]();}catch{}}throw new Error('Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.');},_0xd5810=Object[_0x2a7a88(0x272)]||(function(){function _0x48101f(){}return function(_0xd12b43){var _0x52f1ec=_0x180f,_0x170338;return _0x48101f[_0x52f1ec(0x2d9)]=_0xd12b43,_0x170338=new _0x48101f(),_0x48101f[_0x52f1ec(0x2d9)]=null,_0x170338;};}()),_0x52da8f={},_0x414ea7=_0x52da8f[_0x2a7a88(0x3d9)]={},_0x1b96c4=_0x414ea7[_0x2a7a88(0x184)]=(function(){return{'extend':function(_0x350364){var _0x44a8b4=_0x180f,_0x1bcaac=_0xd5810(this);return _0x350364&&_0x1bcaac[_0x44a8b4(0x3a6)](_0x350364),(!_0x1bcaac[_0x44a8b4(0x487)](_0x44a8b4(0x249))||this[_0x44a8b4(0x249)]===_0x1bcaac[_0x44a8b4(0x249)])&&(_0x1bcaac[_0x44a8b4(0x249)]=function(){var _0xee96ec=_0x44a8b4;_0x1bcaac[_0xee96ec(0x4e6)][_0xee96ec(0x249)][_0xee96ec(0x4c6)](this,arguments);}),_0x1bcaac[_0x44a8b4(0x249)][_0x44a8b4(0x2d9)]=_0x1bcaac,_0x1bcaac['$super']=this,_0x1bcaac;},'create':function(){var _0x2c3577=_0x180f,_0x467cf3=this['extend']();return _0x467cf3[_0x2c3577(0x249)][_0x2c3577(0x4c6)](_0x467cf3,arguments),_0x467cf3;},'init':function(){},'mixIn':function(_0xda7906){var _0x956bda=_0x180f;for(var _0x2d7996 in _0xda7906)_0xda7906[_0x956bda(0x487)](_0x2d7996)&&(this[_0x2d7996]=_0xda7906[_0x2d7996]);_0xda7906[_0x956bda(0x487)](_0x956bda(0x20a))&&(this['toString']=_0xda7906['toString']);},'clone':function(){var _0x3a7720=_0x180f;return this[_0x3a7720(0x249)][_0x3a7720(0x2d9)][_0x3a7720(0x3e1)](this);}};}()),_0x1df77e=_0x414ea7['WordArray']=_0x1b96c4[_0x2a7a88(0x3e1)]({'init':function(_0x5a7535,_0x538750){var _0x337e82=_0x2a7a88;_0x5a7535=this[_0x337e82(0x1d5)]=_0x5a7535||[],_0x538750!=_0x1700c0?this[_0x337e82(0x18a)]=_0x538750:this[_0x337e82(0x18a)]=_0x5a7535[_0x337e82(0x1fb)]*0x4;},'toString':function(_0x2eb8ca){var _0x44f944=_0x2a7a88;return(_0x2eb8ca||_0x161dec)[_0x44f944(0x1de)](this);},'concat':function(_0x2b2fe2){var _0x38c396=_0x2a7a88,_0x2caa0c=this[_0x38c396(0x1d5)],_0x53c653=_0x2b2fe2[_0x38c396(0x1d5)],_0x1e4c27=this['sigBytes'],_0x562199=_0x2b2fe2[_0x38c396(0x18a)];if(this[_0x38c396(0x47f)](),_0x1e4c27%0x4)for(var _0x106549=0x0;_0x106549<_0x562199;_0x106549++){var _0x1239f6=_0x53c653[_0x106549>>>0x2]>>>0x18-_0x106549%0x4*0x8&0xff;_0x2caa0c[_0x1e4c27+_0x106549>>>0x2]|=_0x1239f6<<0x18-(_0x1e4c27+_0x106549)%0x4*0x8;}else{for(var _0x4e8d01=0x0;_0x4e8d01<_0x562199;_0x4e8d01+=0x4)_0x2caa0c[_0x1e4c27+_0x4e8d01>>>0x2]=_0x53c653[_0x4e8d01>>>0x2];}return this[_0x38c396(0x18a)]+=_0x562199,this;},'clamp':function(){var _0x172bbe=_0x2a7a88,_0x2177b7=this['words'],_0x4813fc=this['sigBytes'];_0x2177b7[_0x4813fc>>>0x2]&=0xffffffff<<0x20-_0x4813fc%0x4*0x8,_0x2177b7[_0x172bbe(0x1fb)]=_0x5dc412['ceil'](_0x4813fc/0x4);},'clone':function(){var _0x502e77=_0x2a7a88,_0x132bae=_0x1b96c4[_0x502e77(0x3ea)][_0x502e77(0x45e)](this);return _0x132bae[_0x502e77(0x1d5)]=this[_0x502e77(0x1d5)][_0x502e77(0x285)](0x0),_0x132bae;},'random':function(_0x4f544d){var _0x1e0339=_0x2a7a88;for(var _0x51f8c4=[],_0x3b5a44=0x0;_0x3b5a44<_0x4f544d;_0x3b5a44+=0x4)_0x51f8c4[_0x1e0339(0x3e7)](_0x4059a9());return new _0x1df77e['init'](_0x51f8c4,_0x4f544d);}}),_0x2fcff7=_0x52da8f[_0x2a7a88(0x361)]={},_0x161dec=_0x2fcff7[_0x2a7a88(0x38b)]={'stringify':function(_0x2ffa5f){var _0x20b992=_0x2a7a88;for(var _0x1c3f50=_0x2ffa5f['words'],_0x283875=_0x2ffa5f['sigBytes'],_0x2303bc=[],_0x5bf43c=0x0;_0x5bf43c<_0x283875;_0x5bf43c++){var _0x1e2e91=_0x1c3f50[_0x5bf43c>>>0x2]>>>0x18-_0x5bf43c%0x4*0x8&0xff;_0x2303bc[_0x20b992(0x3e7)]((_0x1e2e91>>>0x4)[_0x20b992(0x20a)](0x10)),_0x2303bc[_0x20b992(0x3e7)]((_0x1e2e91&0xf)[_0x20b992(0x20a)](0x10));}return _0x2303bc[_0x20b992(0x30a)]('');},'parse':function(_0x336bcd){var _0x25dcbb=_0x2a7a88;for(var _0x1b3133=_0x336bcd['length'],_0x110302=[],_0x62bb3e=0x0;_0x62bb3e<_0x1b3133;_0x62bb3e+=0x2)_0x110302[_0x62bb3e>>>0x3]|=parseInt(_0x336bcd[_0x25dcbb(0x4d6)](_0x62bb3e,0x2),0x10)<<0x18-_0x62bb3e%0x8*0x4;return new _0x1df77e[(_0x25dcbb(0x249))](_0x110302,_0x1b3133/0x2);}},_0x3ff95c=_0x2fcff7['Latin1']={'stringify':function(_0x2e301a){var _0x57f151=_0x2a7a88;for(var _0x4f4a68=_0x2e301a[_0x57f151(0x1d5)],_0x5e04a2=_0x2e301a[_0x57f151(0x18a)],_0x2063b4=[],_0x1a6cd5=0x0;_0x1a6cd5<_0x5e04a2;_0x1a6cd5++){var _0x3c6414=_0x4f4a68[_0x1a6cd5>>>0x2]>>>0x18-_0x1a6cd5%0x4*0x8&0xff;_0x2063b4[_0x57f151(0x3e7)](String[_0x57f151(0x462)](_0x3c6414));}return _0x2063b4[_0x57f151(0x30a)]('');},'parse':function(_0x2a1119){var _0x2bbd2c=_0x2a7a88;for(var _0x726d1c=_0x2a1119[_0x2bbd2c(0x1fb)],_0x1086ea=[],_0x47f099=0x0;_0x47f099<_0x726d1c;_0x47f099++)_0x1086ea[_0x47f099>>>0x2]|=(_0x2a1119[_0x2bbd2c(0x47c)](_0x47f099)&0xff)<<0x18-_0x47f099%0x4*0x8;return new _0x1df77e[(_0x2bbd2c(0x249))](_0x1086ea,_0x726d1c);}},_0x1f6da7=_0x2fcff7[_0x2a7a88(0x192)]={'stringify':function(_0x409870){var _0x4d04ed=_0x2a7a88;try{return decodeURIComponent(escape(_0x3ff95c['stringify'](_0x409870)));}catch{throw new Error(_0x4d04ed(0x2d2));}},'parse':function(_0x905517){return _0x3ff95c['parse'](unescape(encodeURIComponent(_0x905517)));}},_0x2c9b15=_0x414ea7[_0x2a7a88(0x32a)]=_0x1b96c4[_0x2a7a88(0x3e1)]({'reset':function(){var _0x5c7555=_0x2a7a88;this['_data']=new _0x1df77e[(_0x5c7555(0x249))](),this[_0x5c7555(0x494)]=0x0;},'_append':function(_0x502f71){var _0x5d9bd8=_0x2a7a88;typeof _0x502f71==_0x5d9bd8(0x25c)&&(_0x502f71=_0x1f6da7['parse'](_0x502f71)),this[_0x5d9bd8(0x2f1)][_0x5d9bd8(0x435)](_0x502f71),this[_0x5d9bd8(0x494)]+=_0x502f71[_0x5d9bd8(0x18a)];},'_process':function(_0xc02422){var _0x1322c6=_0x2a7a88,_0xf239c5,_0x10b84a=this[_0x1322c6(0x2f1)],_0x2e2f4a=_0x10b84a[_0x1322c6(0x1d5)],_0x3094b2=_0x10b84a['sigBytes'],_0x4b913f=this[_0x1322c6(0x2a8)],_0x20b576=_0x4b913f*0x4,_0x498cb7=_0x3094b2/_0x20b576;_0xc02422?_0x498cb7=_0x5dc412['ceil'](_0x498cb7):_0x498cb7=_0x5dc412['max']((_0x498cb7|0x0)-this[_0x1322c6(0x436)],0x0);var _0x1396b4=_0x498cb7*_0x4b913f,_0x23cdaf=_0x5dc412['min'](_0x1396b4*0x4,_0x3094b2);if(_0x1396b4){for(var _0x5d6815=0x0;_0x5d6815<_0x1396b4;_0x5d6815+=_0x4b913f)this[_0x1322c6(0x1cd)](_0x2e2f4a,_0x5d6815);_0xf239c5=_0x2e2f4a[_0x1322c6(0x250)](0x0,_0x1396b4),_0x10b84a['sigBytes']-=_0x23cdaf;}return new _0x1df77e[(_0x1322c6(0x249))](_0xf239c5,_0x23cdaf);},'clone':function(){var _0x2e56f1=_0x2a7a88,_0x1e209c=_0x1b96c4[_0x2e56f1(0x3ea)][_0x2e56f1(0x45e)](this);return _0x1e209c['_data']=this[_0x2e56f1(0x2f1)][_0x2e56f1(0x3ea)](),_0x1e209c;},'_minBufferSize':0x0});_0x414ea7[_0x2a7a88(0x344)]=_0x2c9b15[_0x2a7a88(0x3e1)]({'cfg':_0x1b96c4[_0x2a7a88(0x3e1)](),'init':function(_0xe91f03){var _0xb6e818=_0x2a7a88;this[_0xb6e818(0x312)]=this[_0xb6e818(0x312)]['extend'](_0xe91f03),this['reset']();},'reset':function(){var _0x509875=_0x2a7a88;_0x2c9b15[_0x509875(0x24a)]['call'](this),this['_doReset']();},'update':function(_0x459f29){var _0x59cbd7=_0x2a7a88;return this[_0x59cbd7(0x4f8)](_0x459f29),this['_process'](),this;},'finalize':function(_0x3b3bb7){var _0x9005a8=_0x2a7a88;_0x3b3bb7&&this['_append'](_0x3b3bb7);var _0x49fc6f=this[_0x9005a8(0x2c7)]();return _0x49fc6f;},'blockSize':0x10,'_createHelper':function(_0x7509b6){return function(_0x3bc479,_0x25fb76){var _0x18d898=_0x180f;return new _0x7509b6[(_0x18d898(0x249))](_0x25fb76)[_0x18d898(0x3dc)](_0x3bc479);};},'_createHmacHelper':function(_0x241183){return function(_0x3be834,_0x206bf5){var _0x334369=_0x180f;return new _0x1e3eb8[(_0x334369(0x35a))][(_0x334369(0x249))](_0x241183,_0x206bf5)[_0x334369(0x3dc)](_0x3be834);};}});var _0x1e3eb8=_0x52da8f[_0x2a7a88(0x333)]={};return _0x52da8f;}(Math);return _0x418530;}));}(_0xbf0afc)),_0xbf0afc[_0xdb5316(0x32d)];}var _0x1fc55d={'exports':{}},_0x478014=_0x1fc55d['exports'],_0x23f844;function _0x17b33b(){var _0x53094a=_0x51f045;return _0x23f844||(_0x23f844=0x1,function(_0x31d10e,_0x25bd11){(function(_0x1302c2,_0x2b6f3f){var _0x1e93b8=_0x180f;_0x31d10e[_0x1e93b8(0x32d)]=_0x2b6f3f(_0x100983());}(_0x478014,function(_0x527b8d){var _0x4d7174=_0x180f;return(function(){var _0x3a223b=_0x180f,_0x37c8e7=_0x527b8d,_0x59de64=_0x37c8e7['lib'],_0x1266ac=_0x59de64[_0x3a223b(0x30b)],_0x131516=_0x37c8e7['enc'];_0x131516[_0x3a223b(0x42a)]={'stringify':function(_0x30bb71){var _0x55f970=_0x3a223b,_0x2fe472=_0x30bb71[_0x55f970(0x1d5)],_0x1a483c=_0x30bb71[_0x55f970(0x18a)],_0x3d50e3=this[_0x55f970(0x449)];_0x30bb71[_0x55f970(0x47f)]();for(var _0x431a02=[],_0xbfba77=0x0;_0xbfba77<_0x1a483c;_0xbfba77+=0x3)for(var _0x9db5a3=_0x2fe472[_0xbfba77>>>0x2]>>>0x18-_0xbfba77%0x4*0x8&0xff,_0xefbe8d=_0x2fe472[_0xbfba77+0x1>>>0x2]>>>0x18-(_0xbfba77+0x1)%0x4*0x8&0xff,_0x41b5a3=_0x2fe472[_0xbfba77+0x2>>>0x2]>>>0x18-(_0xbfba77+0x2)%0x4*0x8&0xff,_0x20d290=_0x9db5a3<<0x10|_0xefbe8d<<0x8|_0x41b5a3,_0x5af37f=0x0;_0x5af37f<0x4&&_0xbfba77+_0x5af37f*0.75<_0x1a483c;_0x5af37f++)_0x431a02[_0x55f970(0x3e7)](_0x3d50e3[_0x55f970(0x3ed)](_0x20d290>>>0x6*(0x3-_0x5af37f)&0x3f));var _0x36ce87=_0x3d50e3[_0x55f970(0x3ed)](0x40);if(_0x36ce87){for(;_0x431a02[_0x55f970(0x1fb)]%0x4;)_0x431a02[_0x55f970(0x3e7)](_0x36ce87);}return _0x431a02[_0x55f970(0x30a)]('');},'parse':function(_0x228b3f){var _0x42e2f4=_0x3a223b,_0x652a2b=_0x228b3f[_0x42e2f4(0x1fb)],_0x384af3=this[_0x42e2f4(0x449)],_0x40b8d9=this['_reverseMap'];if(!_0x40b8d9){_0x40b8d9=this[_0x42e2f4(0x2c9)]=[];for(var _0x28c3b2=0x0;_0x28c3b2<_0x384af3[_0x42e2f4(0x1fb)];_0x28c3b2++)_0x40b8d9[_0x384af3[_0x42e2f4(0x47c)](_0x28c3b2)]=_0x28c3b2;}var _0x5762d9=_0x384af3['charAt'](0x40);if(_0x5762d9){var _0x1ae0ce=_0x228b3f[_0x42e2f4(0x4c1)](_0x5762d9);_0x1ae0ce!==-0x1&&(_0x652a2b=_0x1ae0ce);}return _0x3e44da(_0x228b3f,_0x652a2b,_0x40b8d9);},'_map':_0x3a223b(0x243)};function _0x3e44da(_0x4c222f,_0x221483,_0xa29eb9){var _0x45b965=_0x3a223b;for(var _0x450b7a=[],_0x332697=0x0,_0x3f5b9d=0x0;_0x3f5b9d<_0x221483;_0x3f5b9d++)if(_0x3f5b9d%0x4){var _0x5d685c=_0xa29eb9[_0x4c222f['charCodeAt'](_0x3f5b9d-0x1)]<<_0x3f5b9d%0x4*0x2,_0x1505d7=_0xa29eb9[_0x4c222f[_0x45b965(0x47c)](_0x3f5b9d)]>>>0x6-_0x3f5b9d%0x4*0x2,_0x3b7c58=_0x5d685c|_0x1505d7;_0x450b7a[_0x332697>>>0x2]|=_0x3b7c58<<0x18-_0x332697%0x4*0x8,_0x332697++;}return _0x1266ac[_0x45b965(0x272)](_0x450b7a,_0x332697);}}()),_0x527b8d[_0x4d7174(0x361)][_0x4d7174(0x42a)];}));}(_0x1fc55d)),_0x1fc55d[_0x53094a(0x32d)];}var _0x177442={'exports':{}},_0xa5820b=_0x177442[_0x51f045(0x32d)],_0x171f2b;function _0x14ffce(){var _0x3ada31=_0x51f045;return _0x171f2b||(_0x171f2b=0x1,function(_0x5ee9e3,_0x199c3d){(function(_0x32e7eb,_0x248944){var _0xac18e4=_0x180f;_0x5ee9e3[_0xac18e4(0x32d)]=_0x248944(_0x100983());}(_0xa5820b,function(_0x2583b1){return function(_0x44b5bc){var _0x4fd844=_0x180f,_0x13fe89=_0x2583b1,_0x4eaa5d=_0x13fe89[_0x4fd844(0x3d9)],_0x2a044e=_0x4eaa5d['WordArray'],_0x29994f=_0x4eaa5d[_0x4fd844(0x344)],_0x36230d=_0x13fe89['algo'],_0x1288f4=[];(function(){var _0x2125d9=_0x4fd844;for(var _0x32f7d2=0x0;_0x32f7d2<0x40;_0x32f7d2++)_0x1288f4[_0x32f7d2]=_0x44b5bc[_0x2125d9(0x21c)](_0x44b5bc[_0x2125d9(0x315)](_0x32f7d2+0x1))*0x100000000|0x0;}());var _0x2de2b8=_0x36230d[_0x4fd844(0x193)]=_0x29994f[_0x4fd844(0x3e1)]({'_doReset':function(){var _0x17c972=_0x4fd844;this[_0x17c972(0x4d3)]=new _0x2a044e['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x5f03f3,_0x214f90){var _0x1f33f1=_0x4fd844;for(var _0x10a216=0x0;_0x10a216<0x10;_0x10a216++){var _0x67e65=_0x214f90+_0x10a216,_0xdb528c=_0x5f03f3[_0x67e65];_0x5f03f3[_0x67e65]=(_0xdb528c<<0x8|_0xdb528c>>>0x18)&0xff00ff|(_0xdb528c<<0x18|_0xdb528c>>>0x8)&0xff00ff00;}var _0x2e95c8=this[_0x1f33f1(0x4d3)][_0x1f33f1(0x1d5)],_0x574d8b=_0x5f03f3[_0x214f90+0x0],_0x2c9f7c=_0x5f03f3[_0x214f90+0x1],_0x5654f6=_0x5f03f3[_0x214f90+0x2],_0x118deb=_0x5f03f3[_0x214f90+0x3],_0x20e2c0=_0x5f03f3[_0x214f90+0x4],_0x21a1af=_0x5f03f3[_0x214f90+0x5],_0x4ad79b=_0x5f03f3[_0x214f90+0x6],_0x5bb434=_0x5f03f3[_0x214f90+0x7],_0x30bc41=_0x5f03f3[_0x214f90+0x8],_0x48f600=_0x5f03f3[_0x214f90+0x9],_0x2776f0=_0x5f03f3[_0x214f90+0xa],_0x33ce0a=_0x5f03f3[_0x214f90+0xb],_0x17c727=_0x5f03f3[_0x214f90+0xc],_0x7909d5=_0x5f03f3[_0x214f90+0xd],_0x222d1a=_0x5f03f3[_0x214f90+0xe],_0x4f5f9d=_0x5f03f3[_0x214f90+0xf],_0x66f8fd=_0x2e95c8[0x0],_0x4b4474=_0x2e95c8[0x1],_0x3446a1=_0x2e95c8[0x2],_0x3163c8=_0x2e95c8[0x3];_0x66f8fd=_0x2c530c(_0x66f8fd,_0x4b4474,_0x3446a1,_0x3163c8,_0x574d8b,0x7,_0x1288f4[0x0]),_0x3163c8=_0x2c530c(_0x3163c8,_0x66f8fd,_0x4b4474,_0x3446a1,_0x2c9f7c,0xc,_0x1288f4[0x1]),_0x3446a1=_0x2c530c(_0x3446a1,_0x3163c8,_0x66f8fd,_0x4b4474,_0x5654f6,0x11,_0x1288f4[0x2]),_0x4b4474=_0x2c530c(_0x4b4474,_0x3446a1,_0x3163c8,_0x66f8fd,_0x118deb,0x16,_0x1288f4[0x3]),_0x66f8fd=_0x2c530c(_0x66f8fd,_0x4b4474,_0x3446a1,_0x3163c8,_0x20e2c0,0x7,_0x1288f4[0x4]),_0x3163c8=_0x2c530c(_0x3163c8,_0x66f8fd,_0x4b4474,_0x3446a1,_0x21a1af,0xc,_0x1288f4[0x5]),_0x3446a1=_0x2c530c(_0x3446a1,_0x3163c8,_0x66f8fd,_0x4b4474,_0x4ad79b,0x11,_0x1288f4[0x6]),_0x4b4474=_0x2c530c(_0x4b4474,_0x3446a1,_0x3163c8,_0x66f8fd,_0x5bb434,0x16,_0x1288f4[0x7]),_0x66f8fd=_0x2c530c(_0x66f8fd,_0x4b4474,_0x3446a1,_0x3163c8,_0x30bc41,0x7,_0x1288f4[0x8]),_0x3163c8=_0x2c530c(_0x3163c8,_0x66f8fd,_0x4b4474,_0x3446a1,_0x48f600,0xc,_0x1288f4[0x9]),_0x3446a1=_0x2c530c(_0x3446a1,_0x3163c8,_0x66f8fd,_0x4b4474,_0x2776f0,0x11,_0x1288f4[0xa]),_0x4b4474=_0x2c530c(_0x4b4474,_0x3446a1,_0x3163c8,_0x66f8fd,_0x33ce0a,0x16,_0x1288f4[0xb]),_0x66f8fd=_0x2c530c(_0x66f8fd,_0x4b4474,_0x3446a1,_0x3163c8,_0x17c727,0x7,_0x1288f4[0xc]),_0x3163c8=_0x2c530c(_0x3163c8,_0x66f8fd,_0x4b4474,_0x3446a1,_0x7909d5,0xc,_0x1288f4[0xd]),_0x3446a1=_0x2c530c(_0x3446a1,_0x3163c8,_0x66f8fd,_0x4b4474,_0x222d1a,0x11,_0x1288f4[0xe]),_0x4b4474=_0x2c530c(_0x4b4474,_0x3446a1,_0x3163c8,_0x66f8fd,_0x4f5f9d,0x16,_0x1288f4[0xf]),_0x66f8fd=_0x2c81cb(_0x66f8fd,_0x4b4474,_0x3446a1,_0x3163c8,_0x2c9f7c,0x5,_0x1288f4[0x10]),_0x3163c8=_0x2c81cb(_0x3163c8,_0x66f8fd,_0x4b4474,_0x3446a1,_0x4ad79b,0x9,_0x1288f4[0x11]),_0x3446a1=_0x2c81cb(_0x3446a1,_0x3163c8,_0x66f8fd,_0x4b4474,_0x33ce0a,0xe,_0x1288f4[0x12]),_0x4b4474=_0x2c81cb(_0x4b4474,_0x3446a1,_0x3163c8,_0x66f8fd,_0x574d8b,0x14,_0x1288f4[0x13]),_0x66f8fd=_0x2c81cb(_0x66f8fd,_0x4b4474,_0x3446a1,_0x3163c8,_0x21a1af,0x5,_0x1288f4[0x14]),_0x3163c8=_0x2c81cb(_0x3163c8,_0x66f8fd,_0x4b4474,_0x3446a1,_0x2776f0,0x9,_0x1288f4[0x15]),_0x3446a1=_0x2c81cb(_0x3446a1,_0x3163c8,_0x66f8fd,_0x4b4474,_0x4f5f9d,0xe,_0x1288f4[0x16]),_0x4b4474=_0x2c81cb(_0x4b4474,_0x3446a1,_0x3163c8,_0x66f8fd,_0x20e2c0,0x14,_0x1288f4[0x17]),_0x66f8fd=_0x2c81cb(_0x66f8fd,_0x4b4474,_0x3446a1,_0x3163c8,_0x48f600,0x5,_0x1288f4[0x18]),_0x3163c8=_0x2c81cb(_0x3163c8,_0x66f8fd,_0x4b4474,_0x3446a1,_0x222d1a,0x9,_0x1288f4[0x19]),_0x3446a1=_0x2c81cb(_0x3446a1,_0x3163c8,_0x66f8fd,_0x4b4474,_0x118deb,0xe,_0x1288f4[0x1a]),_0x4b4474=_0x2c81cb(_0x4b4474,_0x3446a1,_0x3163c8,_0x66f8fd,_0x30bc41,0x14,_0x1288f4[0x1b]),_0x66f8fd=_0x2c81cb(_0x66f8fd,_0x4b4474,_0x3446a1,_0x3163c8,_0x7909d5,0x5,_0x1288f4[0x1c]),_0x3163c8=_0x2c81cb(_0x3163c8,_0x66f8fd,_0x4b4474,_0x3446a1,_0x5654f6,0x9,_0x1288f4[0x1d]),_0x3446a1=_0x2c81cb(_0x3446a1,_0x3163c8,_0x66f8fd,_0x4b4474,_0x5bb434,0xe,_0x1288f4[0x1e]),_0x4b4474=_0x2c81cb(_0x4b4474,_0x3446a1,_0x3163c8,_0x66f8fd,_0x17c727,0x14,_0x1288f4[0x1f]),_0x66f8fd=_0x1f6252(_0x66f8fd,_0x4b4474,_0x3446a1,_0x3163c8,_0x21a1af,0x4,_0x1288f4[0x20]),_0x3163c8=_0x1f6252(_0x3163c8,_0x66f8fd,_0x4b4474,_0x3446a1,_0x30bc41,0xb,_0x1288f4[0x21]),_0x3446a1=_0x1f6252(_0x3446a1,_0x3163c8,_0x66f8fd,_0x4b4474,_0x33ce0a,0x10,_0x1288f4[0x22]),_0x4b4474=_0x1f6252(_0x4b4474,_0x3446a1,_0x3163c8,_0x66f8fd,_0x222d1a,0x17,_0x1288f4[0x23]),_0x66f8fd=_0x1f6252(_0x66f8fd,_0x4b4474,_0x3446a1,_0x3163c8,_0x2c9f7c,0x4,_0x1288f4[0x24]),_0x3163c8=_0x1f6252(_0x3163c8,_0x66f8fd,_0x4b4474,_0x3446a1,_0x20e2c0,0xb,_0x1288f4[0x25]),_0x3446a1=_0x1f6252(_0x3446a1,_0x3163c8,_0x66f8fd,_0x4b4474,_0x5bb434,0x10,_0x1288f4[0x26]),_0x4b4474=_0x1f6252(_0x4b4474,_0x3446a1,_0x3163c8,_0x66f8fd,_0x2776f0,0x17,_0x1288f4[0x27]),_0x66f8fd=_0x1f6252(_0x66f8fd,_0x4b4474,_0x3446a1,_0x3163c8,_0x7909d5,0x4,_0x1288f4[0x28]),_0x3163c8=_0x1f6252(_0x3163c8,_0x66f8fd,_0x4b4474,_0x3446a1,_0x574d8b,0xb,_0x1288f4[0x29]),_0x3446a1=_0x1f6252(_0x3446a1,_0x3163c8,_0x66f8fd,_0x4b4474,_0x118deb,0x10,_0x1288f4[0x2a]),_0x4b4474=_0x1f6252(_0x4b4474,_0x3446a1,_0x3163c8,_0x66f8fd,_0x4ad79b,0x17,_0x1288f4[0x2b]),_0x66f8fd=_0x1f6252(_0x66f8fd,_0x4b4474,_0x3446a1,_0x3163c8,_0x48f600,0x4,_0x1288f4[0x2c]),_0x3163c8=_0x1f6252(_0x3163c8,_0x66f8fd,_0x4b4474,_0x3446a1,_0x17c727,0xb,_0x1288f4[0x2d]),_0x3446a1=_0x1f6252(_0x3446a1,_0x3163c8,_0x66f8fd,_0x4b4474,_0x4f5f9d,0x10,_0x1288f4[0x2e]),_0x4b4474=_0x1f6252(_0x4b4474,_0x3446a1,_0x3163c8,_0x66f8fd,_0x5654f6,0x17,_0x1288f4[0x2f]),_0x66f8fd=_0x332ab9(_0x66f8fd,_0x4b4474,_0x3446a1,_0x3163c8,_0x574d8b,0x6,_0x1288f4[0x30]),_0x3163c8=_0x332ab9(_0x3163c8,_0x66f8fd,_0x4b4474,_0x3446a1,_0x5bb434,0xa,_0x1288f4[0x31]),_0x3446a1=_0x332ab9(_0x3446a1,_0x3163c8,_0x66f8fd,_0x4b4474,_0x222d1a,0xf,_0x1288f4[0x32]),_0x4b4474=_0x332ab9(_0x4b4474,_0x3446a1,_0x3163c8,_0x66f8fd,_0x21a1af,0x15,_0x1288f4[0x33]),_0x66f8fd=_0x332ab9(_0x66f8fd,_0x4b4474,_0x3446a1,_0x3163c8,_0x17c727,0x6,_0x1288f4[0x34]),_0x3163c8=_0x332ab9(_0x3163c8,_0x66f8fd,_0x4b4474,_0x3446a1,_0x118deb,0xa,_0x1288f4[0x35]),_0x3446a1=_0x332ab9(_0x3446a1,_0x3163c8,_0x66f8fd,_0x4b4474,_0x2776f0,0xf,_0x1288f4[0x36]),_0x4b4474=_0x332ab9(_0x4b4474,_0x3446a1,_0x3163c8,_0x66f8fd,_0x2c9f7c,0x15,_0x1288f4[0x37]),_0x66f8fd=_0x332ab9(_0x66f8fd,_0x4b4474,_0x3446a1,_0x3163c8,_0x30bc41,0x6,_0x1288f4[0x38]),_0x3163c8=_0x332ab9(_0x3163c8,_0x66f8fd,_0x4b4474,_0x3446a1,_0x4f5f9d,0xa,_0x1288f4[0x39]),_0x3446a1=_0x332ab9(_0x3446a1,_0x3163c8,_0x66f8fd,_0x4b4474,_0x4ad79b,0xf,_0x1288f4[0x3a]),_0x4b4474=_0x332ab9(_0x4b4474,_0x3446a1,_0x3163c8,_0x66f8fd,_0x7909d5,0x15,_0x1288f4[0x3b]),_0x66f8fd=_0x332ab9(_0x66f8fd,_0x4b4474,_0x3446a1,_0x3163c8,_0x20e2c0,0x6,_0x1288f4[0x3c]),_0x3163c8=_0x332ab9(_0x3163c8,_0x66f8fd,_0x4b4474,_0x3446a1,_0x33ce0a,0xa,_0x1288f4[0x3d]),_0x3446a1=_0x332ab9(_0x3446a1,_0x3163c8,_0x66f8fd,_0x4b4474,_0x5654f6,0xf,_0x1288f4[0x3e]),_0x4b4474=_0x332ab9(_0x4b4474,_0x3446a1,_0x3163c8,_0x66f8fd,_0x48f600,0x15,_0x1288f4[0x3f]),_0x2e95c8[0x0]=_0x2e95c8[0x0]+_0x66f8fd|0x0,_0x2e95c8[0x1]=_0x2e95c8[0x1]+_0x4b4474|0x0,_0x2e95c8[0x2]=_0x2e95c8[0x2]+_0x3446a1|0x0,_0x2e95c8[0x3]=_0x2e95c8[0x3]+_0x3163c8|0x0;},'_doFinalize':function(){var _0x45593c=_0x4fd844,_0x22da28=this['_data'],_0x5da924=_0x22da28[_0x45593c(0x1d5)],_0xb2aca=this['_nDataBytes']*0x8,_0x4cca7e=_0x22da28[_0x45593c(0x18a)]*0x8;_0x5da924[_0x4cca7e>>>0x5]|=0x80<<0x18-_0x4cca7e%0x20;var _0x30d293=_0x44b5bc[_0x45593c(0x4ec)](_0xb2aca/0x100000000),_0x5d1a99=_0xb2aca;_0x5da924[(_0x4cca7e+0x40>>>0x9<<0x4)+0xf]=(_0x30d293<<0x8|_0x30d293>>>0x18)&0xff00ff|(_0x30d293<<0x18|_0x30d293>>>0x8)&0xff00ff00,_0x5da924[(_0x4cca7e+0x40>>>0x9<<0x4)+0xe]=(_0x5d1a99<<0x8|_0x5d1a99>>>0x18)&0xff00ff|(_0x5d1a99<<0x18|_0x5d1a99>>>0x8)&0xff00ff00,_0x22da28[_0x45593c(0x18a)]=(_0x5da924[_0x45593c(0x1fb)]+0x1)*0x4,this[_0x45593c(0x382)]();for(var _0x4f7b32=this[_0x45593c(0x4d3)],_0x523060=_0x4f7b32[_0x45593c(0x1d5)],_0x510c61=0x0;_0x510c61<0x4;_0x510c61++){var _0x889f1e=_0x523060[_0x510c61];_0x523060[_0x510c61]=(_0x889f1e<<0x8|_0x889f1e>>>0x18)&0xff00ff|(_0x889f1e<<0x18|_0x889f1e>>>0x8)&0xff00ff00;}return _0x4f7b32;},'clone':function(){var _0x34aee4=_0x4fd844,_0x2a59f1=_0x29994f[_0x34aee4(0x3ea)][_0x34aee4(0x45e)](this);return _0x2a59f1[_0x34aee4(0x4d3)]=this['_hash'][_0x34aee4(0x3ea)](),_0x2a59f1;}});function _0x2c530c(_0x4c5daa,_0x45dc10,_0x45bf55,_0x556ab9,_0x272b01,_0x3acace,_0x197d52){var _0x101564=_0x4c5daa+(_0x45dc10&_0x45bf55|~_0x45dc10&_0x556ab9)+_0x272b01+_0x197d52;return(_0x101564<<_0x3acace|_0x101564>>>0x20-_0x3acace)+_0x45dc10;}function _0x2c81cb(_0x30db78,_0x112004,_0x38fae7,_0x437993,_0x124b0e,_0x4b2b63,_0x4a357f){var _0x1f5c3a=_0x30db78+(_0x112004&_0x437993|_0x38fae7&~_0x437993)+_0x124b0e+_0x4a357f;return(_0x1f5c3a<<_0x4b2b63|_0x1f5c3a>>>0x20-_0x4b2b63)+_0x112004;}function _0x1f6252(_0x1e3193,_0x2392c3,_0x2181c2,_0x43a283,_0xe6bb7a,_0x4f29f0,_0x5e4619){var _0x573e38=_0x1e3193+(_0x2392c3^_0x2181c2^_0x43a283)+_0xe6bb7a+_0x5e4619;return(_0x573e38<<_0x4f29f0|_0x573e38>>>0x20-_0x4f29f0)+_0x2392c3;}function _0x332ab9(_0x4cd135,_0x40c0d6,_0x34ca9e,_0x1014bd,_0x5f0494,_0x5015cd,_0x1d9ec0){var _0x4ddd23=_0x4cd135+(_0x34ca9e^(_0x40c0d6|~_0x1014bd))+_0x5f0494+_0x1d9ec0;return(_0x4ddd23<<_0x5015cd|_0x4ddd23>>>0x20-_0x5015cd)+_0x40c0d6;}_0x13fe89[_0x4fd844(0x193)]=_0x29994f['_createHelper'](_0x2de2b8),_0x13fe89['HmacMD5']=_0x29994f[_0x4fd844(0x48f)](_0x2de2b8);}(Math),_0x2583b1['MD5'];}));}(_0x177442)),_0x177442[_0x3ada31(0x32d)];}var _0x5a14f3={'exports':{}},_0x924c40={'exports':{}},_0x42d49a=_0x924c40['exports'],_0x29041c;function _0x50806f(){var _0x5ccd7a=_0x51f045;return _0x29041c||(_0x29041c=0x1,function(_0x854fcc,_0x50c175){(function(_0x5c4c59,_0x41a287){var _0x3cb4fa=_0x180f;_0x854fcc[_0x3cb4fa(0x32d)]=_0x41a287(_0x100983());}(_0x42d49a,function(_0x500bde){return(function(){var _0x3db882=_0x180f,_0xa201d=_0x500bde,_0xa5aa4=_0xa201d['lib'],_0x26fba0=_0xa5aa4[_0x3db882(0x30b)],_0x3434d4=_0xa5aa4[_0x3db882(0x344)],_0x101f21=_0xa201d[_0x3db882(0x333)],_0x36a826=[],_0xc8429a=_0x101f21[_0x3db882(0x26a)]=_0x3434d4[_0x3db882(0x3e1)]({'_doReset':function(){var _0x15a70b=_0x3db882;this[_0x15a70b(0x4d3)]=new _0x26fba0[(_0x15a70b(0x249))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x584b48,_0x3e0cfc){var _0x11fd0e=_0x3db882;for(var _0x4d80d9=this['_hash'][_0x11fd0e(0x1d5)],_0x3c7165=_0x4d80d9[0x0],_0x45400f=_0x4d80d9[0x1],_0x5022b5=_0x4d80d9[0x2],_0x4dcbf6=_0x4d80d9[0x3],_0x6e3c60=_0x4d80d9[0x4],_0x1659c9=0x0;_0x1659c9<0x50;_0x1659c9++){if(_0x1659c9<0x10)_0x36a826[_0x1659c9]=_0x584b48[_0x3e0cfc+_0x1659c9]|0x0;else{var _0x5c1884=_0x36a826[_0x1659c9-0x3]^_0x36a826[_0x1659c9-0x8]^_0x36a826[_0x1659c9-0xe]^_0x36a826[_0x1659c9-0x10];_0x36a826[_0x1659c9]=_0x5c1884<<0x1|_0x5c1884>>>0x1f;}var _0xd9fee4=(_0x3c7165<<0x5|_0x3c7165>>>0x1b)+_0x6e3c60+_0x36a826[_0x1659c9];_0x1659c9<0x14?_0xd9fee4+=(_0x45400f&_0x5022b5|~_0x45400f&_0x4dcbf6)+0x5a827999:_0x1659c9<0x28?_0xd9fee4+=(_0x45400f^_0x5022b5^_0x4dcbf6)+0x6ed9eba1:_0x1659c9<0x3c?_0xd9fee4+=(_0x45400f&_0x5022b5|_0x45400f&_0x4dcbf6|_0x5022b5&_0x4dcbf6)-0x70e44324:_0xd9fee4+=(_0x45400f^_0x5022b5^_0x4dcbf6)-0x359d3e2a,_0x6e3c60=_0x4dcbf6,_0x4dcbf6=_0x5022b5,_0x5022b5=_0x45400f<<0x1e|_0x45400f>>>0x2,_0x45400f=_0x3c7165,_0x3c7165=_0xd9fee4;}_0x4d80d9[0x0]=_0x4d80d9[0x0]+_0x3c7165|0x0,_0x4d80d9[0x1]=_0x4d80d9[0x1]+_0x45400f|0x0,_0x4d80d9[0x2]=_0x4d80d9[0x2]+_0x5022b5|0x0,_0x4d80d9[0x3]=_0x4d80d9[0x3]+_0x4dcbf6|0x0,_0x4d80d9[0x4]=_0x4d80d9[0x4]+_0x6e3c60|0x0;},'_doFinalize':function(){var _0x28c42d=_0x3db882,_0x1ab174=this['_data'],_0x2759f1=_0x1ab174['words'],_0x2548fa=this[_0x28c42d(0x494)]*0x8,_0x36019d=_0x1ab174[_0x28c42d(0x18a)]*0x8;return _0x2759f1[_0x36019d>>>0x5]|=0x80<<0x18-_0x36019d%0x20,_0x2759f1[(_0x36019d+0x40>>>0x9<<0x4)+0xe]=Math[_0x28c42d(0x4ec)](_0x2548fa/0x100000000),_0x2759f1[(_0x36019d+0x40>>>0x9<<0x4)+0xf]=_0x2548fa,_0x1ab174[_0x28c42d(0x18a)]=_0x2759f1[_0x28c42d(0x1fb)]*0x4,this[_0x28c42d(0x382)](),this['_hash'];},'clone':function(){var _0x542c1c=_0x3db882,_0x37668e=_0x3434d4[_0x542c1c(0x3ea)][_0x542c1c(0x45e)](this);return _0x37668e[_0x542c1c(0x4d3)]=this[_0x542c1c(0x4d3)]['clone'](),_0x37668e;}});_0xa201d[_0x3db882(0x26a)]=_0x3434d4[_0x3db882(0x481)](_0xc8429a),_0xa201d[_0x3db882(0x47d)]=_0x3434d4[_0x3db882(0x48f)](_0xc8429a);}()),_0x500bde['SHA1'];}));}(_0x924c40)),_0x924c40[_0x5ccd7a(0x32d)];}var _0x441523={'exports':{}},_0x3e1146=_0x441523[_0x51f045(0x32d)],_0x1c964c;function _0x1fe85e(){var _0x38162d=_0x51f045;return _0x1c964c||(_0x1c964c=0x1,function(_0x5500ee,_0x19962f){(function(_0x3e6272,_0x5b9dda){var _0x1e4294=_0x180f;_0x5500ee[_0x1e4294(0x32d)]=_0x5b9dda(_0x100983());}(_0x3e1146,function(_0x9a9b2f){(function(){var _0x28102e=_0x180f,_0x20dc69=_0x9a9b2f,_0x3260a8=_0x20dc69['lib'],_0x37c16f=_0x3260a8[_0x28102e(0x184)],_0x16ff09=_0x20dc69[_0x28102e(0x361)],_0x434027=_0x16ff09[_0x28102e(0x192)],_0x5cdeec=_0x20dc69['algo'];_0x5cdeec[_0x28102e(0x35a)]=_0x37c16f[_0x28102e(0x3e1)]({'init':function(_0x175327,_0x5e3b60){var _0x2878cd=_0x28102e;_0x175327=this['_hasher']=new _0x175327[(_0x2878cd(0x249))](),typeof _0x5e3b60=='string'&&(_0x5e3b60=_0x434027[_0x2878cd(0x4cd)](_0x5e3b60));var _0x2f02b3=_0x175327[_0x2878cd(0x2a8)],_0x3a1a44=_0x2f02b3*0x4;_0x5e3b60[_0x2878cd(0x18a)]>_0x3a1a44&&(_0x5e3b60=_0x175327[_0x2878cd(0x3dc)](_0x5e3b60)),_0x5e3b60[_0x2878cd(0x47f)]();for(var _0x1bd96d=this['_oKey']=_0x5e3b60[_0x2878cd(0x3ea)](),_0x1dc68b=this['_iKey']=_0x5e3b60[_0x2878cd(0x3ea)](),_0x1a3f99=_0x1bd96d['words'],_0x2db448=_0x1dc68b[_0x2878cd(0x1d5)],_0x43e469=0x0;_0x43e469<_0x2f02b3;_0x43e469++)_0x1a3f99[_0x43e469]^=0x5c5c5c5c,_0x2db448[_0x43e469]^=0x36363636;_0x1bd96d[_0x2878cd(0x18a)]=_0x1dc68b[_0x2878cd(0x18a)]=_0x3a1a44,this[_0x2878cd(0x24a)]();},'reset':function(){var _0x1aac41=_0x28102e,_0xfa568c=this[_0x1aac41(0x4b9)];_0xfa568c[_0x1aac41(0x24a)](),_0xfa568c['update'](this[_0x1aac41(0x1ae)]);},'update':function(_0x431c0c){var _0x109aea=_0x28102e;return this[_0x109aea(0x4b9)][_0x109aea(0x4a1)](_0x431c0c),this;},'finalize':function(_0x6c3627){var _0x488ab7=_0x28102e,_0x3250ec=this[_0x488ab7(0x4b9)],_0x4fb9e4=_0x3250ec[_0x488ab7(0x3dc)](_0x6c3627);_0x3250ec[_0x488ab7(0x24a)]();var _0x238c3d=_0x3250ec['finalize'](this[_0x488ab7(0x363)][_0x488ab7(0x3ea)]()['concat'](_0x4fb9e4));return _0x238c3d;}});}());}));}(_0x441523)),_0x441523[_0x38162d(0x32d)];}var _0x29fbc4=_0x5a14f3[_0x51f045(0x32d)],_0x3f2f43;function _0x11a152(){return _0x3f2f43||(_0x3f2f43=0x1,function(_0x433d82,_0x39e3c3){(function(_0x3c0baa,_0x26d5fb,_0x290889){_0x433d82['exports']=_0x26d5fb(_0x100983(),_0x50806f(),_0x1fe85e());}(_0x29fbc4,function(_0x32b159){return(function(){var _0x5ee7f5=_0x180f,_0x50a6ea=_0x32b159,_0x2667fe=_0x50a6ea['lib'],_0x1565d1=_0x2667fe[_0x5ee7f5(0x184)],_0xc785ad=_0x2667fe[_0x5ee7f5(0x30b)],_0x251915=_0x50a6ea[_0x5ee7f5(0x333)],_0xaa9287=_0x251915[_0x5ee7f5(0x193)],_0x448e46=_0x251915[_0x5ee7f5(0x35f)]=_0x1565d1[_0x5ee7f5(0x3e1)]({'cfg':_0x1565d1[_0x5ee7f5(0x3e1)]({'keySize':0x80/0x20,'hasher':_0xaa9287,'iterations':0x1}),'init':function(_0x139359){var _0x4c5b5a=_0x5ee7f5;this[_0x4c5b5a(0x312)]=this[_0x4c5b5a(0x312)][_0x4c5b5a(0x3e1)](_0x139359);},'compute':function(_0x200af8,_0x419ffc){var _0x2c7c4f=_0x5ee7f5;for(var _0xdb1b1e,_0x4ed8de=this[_0x2c7c4f(0x312)],_0x14a1fd=_0x4ed8de[_0x2c7c4f(0x261)][_0x2c7c4f(0x272)](),_0x143031=_0xc785ad['create'](),_0x294acb=_0x143031[_0x2c7c4f(0x1d5)],_0x56ccd2=_0x4ed8de['keySize'],_0x11a2e8=_0x4ed8de[_0x2c7c4f(0x3dd)];_0x294acb[_0x2c7c4f(0x1fb)]<_0x56ccd2;){_0xdb1b1e&&_0x14a1fd[_0x2c7c4f(0x4a1)](_0xdb1b1e),_0xdb1b1e=_0x14a1fd['update'](_0x200af8)[_0x2c7c4f(0x3dc)](_0x419ffc),_0x14a1fd['reset']();for(var _0x38d843=0x1;_0x38d843<_0x11a2e8;_0x38d843++)_0xdb1b1e=_0x14a1fd[_0x2c7c4f(0x3dc)](_0xdb1b1e),_0x14a1fd['reset']();_0x143031[_0x2c7c4f(0x435)](_0xdb1b1e);}return _0x143031['sigBytes']=_0x56ccd2*0x4,_0x143031;}});_0x50a6ea[_0x5ee7f5(0x35f)]=function(_0x38bc32,_0x10245a,_0x22a029){var _0x295104=_0x5ee7f5;return _0x448e46[_0x295104(0x272)](_0x22a029)[_0x295104(0x3d4)](_0x38bc32,_0x10245a);};}()),_0x32b159['EvpKDF'];}));}(_0x5a14f3)),_0x5a14f3['exports'];}var _0x390abd={'exports':{}},_0x21af8a=_0x390abd[_0x51f045(0x32d)],_0x3e3a72;function _0x4aed16(){var _0x16782c=_0x51f045;return _0x3e3a72||(_0x3e3a72=0x1,function(_0x493ebf,_0x4734d0){(function(_0x5d6bd4,_0x9b0ee0,_0x371ac4){var _0x42cba2=_0x180f;_0x493ebf[_0x42cba2(0x32d)]=_0x9b0ee0(_0x100983(),_0x11a152());}(_0x21af8a,function(_0x562fe6){var _0x444778=_0x180f;_0x562fe6['lib'][_0x444778(0x2a4)]||function(_0x3b0dad){var _0x2dad72=_0x444778,_0x242a88=_0x562fe6,_0x1296dc=_0x242a88[_0x2dad72(0x3d9)],_0xc9d6f5=_0x1296dc['Base'],_0x579cc5=_0x1296dc[_0x2dad72(0x30b)],_0x3c9301=_0x1296dc[_0x2dad72(0x32a)],_0x35dc93=_0x242a88[_0x2dad72(0x361)];_0x35dc93['Utf8'];var _0x5323fe=_0x35dc93[_0x2dad72(0x42a)],_0x4da65c=_0x242a88[_0x2dad72(0x333)],_0x4f3ea9=_0x4da65c[_0x2dad72(0x35f)],_0x17aba8=_0x1296dc[_0x2dad72(0x2a4)]=_0x3c9301['extend']({'cfg':_0xc9d6f5['extend'](),'createEncryptor':function(_0x2a74df,_0x227fbc){var _0x358cb5=_0x2dad72;return this[_0x358cb5(0x272)](this[_0x358cb5(0x33e)],_0x2a74df,_0x227fbc);},'createDecryptor':function(_0x3594e6,_0x5d6cc1){var _0x359525=_0x2dad72;return this[_0x359525(0x272)](this[_0x359525(0x3fc)],_0x3594e6,_0x5d6cc1);},'init':function(_0x1de403,_0x179d4f,_0x40e2a9){var _0x495fcc=_0x2dad72;this[_0x495fcc(0x312)]=this['cfg'][_0x495fcc(0x3e1)](_0x40e2a9),this['_xformMode']=_0x1de403,this['_key']=_0x179d4f,this[_0x495fcc(0x24a)]();},'reset':function(){var _0x494037=_0x2dad72;_0x3c9301[_0x494037(0x24a)][_0x494037(0x45e)](this),this['_doReset']();},'process':function(_0x320c6c){var _0x48fce1=_0x2dad72;return this[_0x48fce1(0x4f8)](_0x320c6c),this['_process']();},'finalize':function(_0x5ceb08){var _0x3d9444=_0x2dad72;_0x5ceb08&&this[_0x3d9444(0x4f8)](_0x5ceb08);var _0x31666e=this[_0x3d9444(0x2c7)]();return _0x31666e;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x32559a(_0x491a27){return typeof _0x491a27=='string'?_0x4a024c:_0x54d560;}return function(_0x18c524){return{'encrypt':function(_0x5713ef,_0x222fab,_0x977704){return _0x32559a(_0x222fab)['encrypt'](_0x18c524,_0x5713ef,_0x222fab,_0x977704);},'decrypt':function(_0x228267,_0x3edcc2,_0x496444){var _0x39dad2=_0x180f;return _0x32559a(_0x3edcc2)[_0x39dad2(0x4f2)](_0x18c524,_0x228267,_0x3edcc2,_0x496444);}};};}())});_0x1296dc[_0x2dad72(0x1d4)]=_0x17aba8[_0x2dad72(0x3e1)]({'_doFinalize':function(){var _0x5f1660=_0x2dad72,_0x238f4f=this[_0x5f1660(0x382)](!0x0);return _0x238f4f;},'blockSize':0x1});var _0x4771a4=_0x242a88['mode']={},_0x318a05=_0x1296dc[_0x2dad72(0x2c6)]=_0xc9d6f5[_0x2dad72(0x3e1)]({'createEncryptor':function(_0x2a31b0,_0x334ea2){var _0x228d48=_0x2dad72;return this['Encryptor'][_0x228d48(0x272)](_0x2a31b0,_0x334ea2);},'createDecryptor':function(_0x1f49e0,_0x2ae5b1){var _0x43f8e5=_0x2dad72;return this[_0x43f8e5(0x2d7)][_0x43f8e5(0x272)](_0x1f49e0,_0x2ae5b1);},'init':function(_0x16881d,_0xea8b99){var _0x5060cc=_0x2dad72;this[_0x5060cc(0x3e5)]=_0x16881d,this[_0x5060cc(0x2b2)]=_0xea8b99;}}),_0x1b4dab=_0x4771a4[_0x2dad72(0x4de)]=(function(){var _0x31c4c4=_0x2dad72,_0x7e659f=_0x318a05[_0x31c4c4(0x3e1)]();_0x7e659f[_0x31c4c4(0x204)]=_0x7e659f['extend']({'processBlock':function(_0x1be4b6,_0x336ffe){var _0x10cf62=_0x31c4c4,_0x11bf6b=this[_0x10cf62(0x3e5)],_0x441310=_0x11bf6b[_0x10cf62(0x2a8)];_0x248fcb['call'](this,_0x1be4b6,_0x336ffe,_0x441310),_0x11bf6b['encryptBlock'](_0x1be4b6,_0x336ffe),this['_prevBlock']=_0x1be4b6[_0x10cf62(0x285)](_0x336ffe,_0x336ffe+_0x441310);}}),_0x7e659f[_0x31c4c4(0x2d7)]=_0x7e659f[_0x31c4c4(0x3e1)]({'processBlock':function(_0x5da437,_0x4c7e1c){var _0x28661d=_0x31c4c4,_0x442a44=this[_0x28661d(0x3e5)],_0x42d92b=_0x442a44[_0x28661d(0x2a8)],_0x45f475=_0x5da437['slice'](_0x4c7e1c,_0x4c7e1c+_0x42d92b);_0x442a44[_0x28661d(0x3a5)](_0x5da437,_0x4c7e1c),_0x248fcb['call'](this,_0x5da437,_0x4c7e1c,_0x42d92b),this[_0x28661d(0x424)]=_0x45f475;}});function _0x248fcb(_0x46a9a1,_0x5a0a32,_0x1d031d){var _0x159276=_0x31c4c4,_0x1a20e9,_0xa7597f=this['_iv'];_0xa7597f?(_0x1a20e9=_0xa7597f,this[_0x159276(0x2b2)]=_0x3b0dad):_0x1a20e9=this[_0x159276(0x424)];for(var _0x46b99d=0x0;_0x46b99d<_0x1d031d;_0x46b99d++)_0x46a9a1[_0x5a0a32+_0x46b99d]^=_0x1a20e9[_0x46b99d];}return _0x7e659f;}()),_0x16e401=_0x242a88[_0x2dad72(0x3f2)]={},_0x249666=_0x16e401[_0x2dad72(0x1a1)]={'pad':function(_0x3b74de,_0x2965a6){var _0x4f804a=_0x2dad72;for(var _0x45f618=_0x2965a6*0x4,_0x2c36a0=_0x45f618-_0x3b74de[_0x4f804a(0x18a)]%_0x45f618,_0xe35fad=_0x2c36a0<<0x18|_0x2c36a0<<0x10|_0x2c36a0<<0x8|_0x2c36a0,_0x44af72=[],_0x4caad3=0x0;_0x4caad3<_0x2c36a0;_0x4caad3+=0x4)_0x44af72[_0x4f804a(0x3e7)](_0xe35fad);var _0x3699d2=_0x579cc5[_0x4f804a(0x272)](_0x44af72,_0x2c36a0);_0x3b74de[_0x4f804a(0x435)](_0x3699d2);},'unpad':function(_0x5a2319){var _0x499e83=_0x2dad72,_0x30ec95=_0x5a2319['words'][_0x5a2319[_0x499e83(0x18a)]-0x1>>>0x2]&0xff;_0x5a2319[_0x499e83(0x18a)]-=_0x30ec95;}};_0x1296dc['BlockCipher']=_0x17aba8['extend']({'cfg':_0x17aba8['cfg'][_0x2dad72(0x3e1)]({'mode':_0x1b4dab,'padding':_0x249666}),'reset':function(){var _0x4ab79a=_0x2dad72,_0x228118;_0x17aba8['reset'][_0x4ab79a(0x45e)](this);var _0xdfdc6a=this[_0x4ab79a(0x312)],_0x583745=_0xdfdc6a['iv'],_0x5aed59=_0xdfdc6a[_0x4ab79a(0x237)];this['_xformMode']==this[_0x4ab79a(0x33e)]?_0x228118=_0x5aed59[_0x4ab79a(0x203)]:(_0x228118=_0x5aed59[_0x4ab79a(0x1a7)],this[_0x4ab79a(0x436)]=0x1),this['_mode']&&this[_0x4ab79a(0x263)][_0x4ab79a(0x2c1)]==_0x228118?this[_0x4ab79a(0x263)]['init'](this,_0x583745&&_0x583745[_0x4ab79a(0x1d5)]):(this['_mode']=_0x228118[_0x4ab79a(0x45e)](_0x5aed59,this,_0x583745&&_0x583745[_0x4ab79a(0x1d5)]),this[_0x4ab79a(0x263)][_0x4ab79a(0x2c1)]=_0x228118);},'_doProcessBlock':function(_0x3a8b03,_0x4b1236){var _0x1ebe42=_0x2dad72;this[_0x1ebe42(0x263)][_0x1ebe42(0x4fa)](_0x3a8b03,_0x4b1236);},'_doFinalize':function(){var _0x5530e4=_0x2dad72,_0x38c91b,_0x33917c=this[_0x5530e4(0x312)]['padding'];return this[_0x5530e4(0x338)]==this[_0x5530e4(0x33e)]?(_0x33917c[_0x5530e4(0x3f2)](this[_0x5530e4(0x2f1)],this[_0x5530e4(0x2a8)]),_0x38c91b=this[_0x5530e4(0x382)](!0x0)):(_0x38c91b=this[_0x5530e4(0x382)](!0x0),_0x33917c[_0x5530e4(0x1ab)](_0x38c91b)),_0x38c91b;},'blockSize':0x80/0x20});var _0x4dcd3e=_0x1296dc['CipherParams']=_0xc9d6f5[_0x2dad72(0x3e1)]({'init':function(_0x102dda){var _0x3d7f25=_0x2dad72;this[_0x3d7f25(0x3a6)](_0x102dda);},'toString':function(_0x53027a){var _0x3793ce=_0x2dad72;return(_0x53027a||this[_0x3793ce(0x459)])[_0x3793ce(0x1de)](this);}}),_0x2bd8ff=_0x242a88[_0x2dad72(0x3d8)]={},_0x25cd9c=_0x2bd8ff[_0x2dad72(0x403)]={'stringify':function(_0x3a5bc7){var _0x271634=_0x2dad72,_0x137b0e,_0x4a84c5=_0x3a5bc7['ciphertext'],_0x69cbc0=_0x3a5bc7[_0x271634(0x41b)];return _0x69cbc0?_0x137b0e=_0x579cc5[_0x271634(0x272)]([0x53616c74,0x65645f5f])[_0x271634(0x435)](_0x69cbc0)[_0x271634(0x435)](_0x4a84c5):_0x137b0e=_0x4a84c5,_0x137b0e[_0x271634(0x20a)](_0x5323fe);},'parse':function(_0x5a598c){var _0x12eb7f=_0x2dad72,_0x39400f,_0x4a915e=_0x5323fe[_0x12eb7f(0x4cd)](_0x5a598c),_0x21f073=_0x4a915e[_0x12eb7f(0x1d5)];return _0x21f073[0x0]==0x53616c74&&_0x21f073[0x1]==0x65645f5f&&(_0x39400f=_0x579cc5[_0x12eb7f(0x272)](_0x21f073['slice'](0x2,0x4)),_0x21f073['splice'](0x0,0x4),_0x4a915e[_0x12eb7f(0x18a)]-=0x10),_0x4dcd3e['create']({'ciphertext':_0x4a915e,'salt':_0x39400f});}},_0x54d560=_0x1296dc['SerializableCipher']=_0xc9d6f5[_0x2dad72(0x3e1)]({'cfg':_0xc9d6f5['extend']({'format':_0x25cd9c}),'encrypt':function(_0x167eda,_0x17a191,_0x2ba56d,_0x53bc38){var _0x10dbdd=_0x2dad72;_0x53bc38=this['cfg']['extend'](_0x53bc38);var _0x4dd1df=_0x167eda[_0x10dbdd(0x203)](_0x2ba56d,_0x53bc38),_0x2435cb=_0x4dd1df[_0x10dbdd(0x3dc)](_0x17a191),_0x32fb30=_0x4dd1df[_0x10dbdd(0x312)];return _0x4dcd3e['create']({'ciphertext':_0x2435cb,'key':_0x2ba56d,'iv':_0x32fb30['iv'],'algorithm':_0x167eda,'mode':_0x32fb30[_0x10dbdd(0x237)],'padding':_0x32fb30['padding'],'blockSize':_0x167eda['blockSize'],'formatter':_0x53bc38[_0x10dbdd(0x3d8)]});},'decrypt':function(_0x46f03d,_0x4e9257,_0x4bda61,_0xd545fd){var _0x112e70=_0x2dad72;_0xd545fd=this[_0x112e70(0x312)]['extend'](_0xd545fd),_0x4e9257=this[_0x112e70(0x225)](_0x4e9257,_0xd545fd['format']);var _0x4d4145=_0x46f03d[_0x112e70(0x1a7)](_0x4bda61,_0xd545fd)[_0x112e70(0x3dc)](_0x4e9257['ciphertext']);return _0x4d4145;},'_parse':function(_0x247c23,_0x1a2336){var _0x1273ef=_0x2dad72;return typeof _0x247c23=='string'?_0x1a2336[_0x1273ef(0x4cd)](_0x247c23,this):_0x247c23;}}),_0x344e34=_0x242a88[_0x2dad72(0x450)]={},_0x41783b=_0x344e34[_0x2dad72(0x403)]={'execute':function(_0x39be41,_0x886aa0,_0x360f7f,_0x59116b,_0x8b7ab1){var _0x27a0fa=_0x2dad72;if(_0x59116b||(_0x59116b=_0x579cc5[_0x27a0fa(0x234)](0x40/0x8)),_0x8b7ab1)var _0x49b4ee=_0x4f3ea9[_0x27a0fa(0x272)]({'keySize':_0x886aa0+_0x360f7f,'hasher':_0x8b7ab1})[_0x27a0fa(0x3d4)](_0x39be41,_0x59116b);else var _0x49b4ee=_0x4f3ea9[_0x27a0fa(0x272)]({'keySize':_0x886aa0+_0x360f7f})[_0x27a0fa(0x3d4)](_0x39be41,_0x59116b);var _0x48e7bd=_0x579cc5['create'](_0x49b4ee[_0x27a0fa(0x1d5)][_0x27a0fa(0x285)](_0x886aa0),_0x360f7f*0x4);return _0x49b4ee['sigBytes']=_0x886aa0*0x4,_0x4dcd3e['create']({'key':_0x49b4ee,'iv':_0x48e7bd,'salt':_0x59116b});}},_0x4a024c=_0x1296dc[_0x2dad72(0x368)]=_0x54d560['extend']({'cfg':_0x54d560[_0x2dad72(0x312)]['extend']({'kdf':_0x41783b}),'encrypt':function(_0x9d6e3c,_0x5e9ef5,_0x1f32b2,_0xb44108){var _0x16881c=_0x2dad72;_0xb44108=this[_0x16881c(0x312)]['extend'](_0xb44108);var _0x2b146d=_0xb44108[_0x16881c(0x450)][_0x16881c(0x284)](_0x1f32b2,_0x9d6e3c['keySize'],_0x9d6e3c[_0x16881c(0x1e9)],_0xb44108[_0x16881c(0x41b)],_0xb44108[_0x16881c(0x261)]);_0xb44108['iv']=_0x2b146d['iv'];var _0x18b698=_0x54d560[_0x16881c(0x3a9)][_0x16881c(0x45e)](this,_0x9d6e3c,_0x5e9ef5,_0x2b146d[_0x16881c(0x25f)],_0xb44108);return _0x18b698[_0x16881c(0x3a6)](_0x2b146d),_0x18b698;},'decrypt':function(_0x503675,_0x4bd01c,_0x208164,_0x1895eb){var _0x13a8c2=_0x2dad72;_0x1895eb=this[_0x13a8c2(0x312)][_0x13a8c2(0x3e1)](_0x1895eb),_0x4bd01c=this[_0x13a8c2(0x225)](_0x4bd01c,_0x1895eb[_0x13a8c2(0x3d8)]);var _0x44cca2=_0x1895eb[_0x13a8c2(0x450)][_0x13a8c2(0x284)](_0x208164,_0x503675[_0x13a8c2(0x1f5)],_0x503675[_0x13a8c2(0x1e9)],_0x4bd01c['salt'],_0x1895eb[_0x13a8c2(0x261)]);_0x1895eb['iv']=_0x44cca2['iv'];var _0x3114a7=_0x54d560[_0x13a8c2(0x4f2)][_0x13a8c2(0x45e)](this,_0x503675,_0x4bd01c,_0x44cca2[_0x13a8c2(0x25f)],_0x1895eb);return _0x3114a7;}});}();}));}(_0x390abd)),_0x390abd[_0x16782c(0x32d)];}var _0x4db2e2=_0x5e75cd['exports'],_0x48d094;function _0xb79d15(){var _0x13dfb7=_0x51f045;return _0x48d094||(_0x48d094=0x1,function(_0x214358,_0x27fddd){(function(_0x30c86a,_0x5c6b02,_0x43b607){var _0x4cf790=_0x180f;_0x214358[_0x4cf790(0x32d)]=_0x5c6b02(_0x100983(),_0x17b33b(),_0x14ffce(),_0x11a152(),_0x4aed16());}(_0x4db2e2,function(_0x1e81a0){var _0x349a1f=_0x180f;return(function(){var _0x3bfcc7=_0x180f,_0x522813=_0x1e81a0,_0x1001b7=_0x522813[_0x3bfcc7(0x3d9)],_0x588bb3=_0x1001b7[_0x3bfcc7(0x2c3)],_0x27f5e3=_0x522813['algo'],_0x282085=[],_0x5e5190=[],_0x10ce71=[],_0x6ddce6=[],_0x3ae36e=[],_0x4a80ea=[],_0x49f94a=[],_0x5f2472=[],_0x403fb8=[],_0x24cec2=[];(function(){for(var _0x122423=[],_0xf78972=0x0;_0xf78972<0x100;_0xf78972++)_0xf78972<0x80?_0x122423[_0xf78972]=_0xf78972<<0x1:_0x122423[_0xf78972]=_0xf78972<<0x1^0x11b;for(var _0x5bbf05=0x0,_0x2d3fdc=0x0,_0xf78972=0x0;_0xf78972<0x100;_0xf78972++){var _0x24d609=_0x2d3fdc^_0x2d3fdc<<0x1^_0x2d3fdc<<0x2^_0x2d3fdc<<0x3^_0x2d3fdc<<0x4;_0x24d609=_0x24d609>>>0x8^_0x24d609&0xff^0x63,_0x282085[_0x5bbf05]=_0x24d609,_0x5e5190[_0x24d609]=_0x5bbf05;var _0xb8f809=_0x122423[_0x5bbf05],_0x32abdf=_0x122423[_0xb8f809],_0x3111aa=_0x122423[_0x32abdf],_0x52077f=_0x122423[_0x24d609]*0x101^_0x24d609*0x1010100;_0x10ce71[_0x5bbf05]=_0x52077f<<0x18|_0x52077f>>>0x8,_0x6ddce6[_0x5bbf05]=_0x52077f<<0x10|_0x52077f>>>0x10,_0x3ae36e[_0x5bbf05]=_0x52077f<<0x8|_0x52077f>>>0x18,_0x4a80ea[_0x5bbf05]=_0x52077f;var _0x52077f=_0x3111aa*0x1010101^_0x32abdf*0x10001^_0xb8f809*0x101^_0x5bbf05*0x1010100;_0x49f94a[_0x24d609]=_0x52077f<<0x18|_0x52077f>>>0x8,_0x5f2472[_0x24d609]=_0x52077f<<0x10|_0x52077f>>>0x10,_0x403fb8[_0x24d609]=_0x52077f<<0x8|_0x52077f>>>0x18,_0x24cec2[_0x24d609]=_0x52077f,_0x5bbf05?(_0x5bbf05=_0xb8f809^_0x122423[_0x122423[_0x122423[_0x3111aa^_0xb8f809]]],_0x2d3fdc^=_0x122423[_0x122423[_0x2d3fdc]]):_0x5bbf05=_0x2d3fdc=0x1;}}());var _0x2437b3=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x453bdc=_0x27f5e3[_0x3bfcc7(0x3bc)]=_0x588bb3['extend']({'_doReset':function(){var _0x204ee4=_0x3bfcc7,_0x521070;if(!(this[_0x204ee4(0x46a)]&&this[_0x204ee4(0x2d1)]===this[_0x204ee4(0x353)])){for(var _0x294119=this[_0x204ee4(0x2d1)]=this[_0x204ee4(0x353)],_0x1e49a2=_0x294119['words'],_0x2d11c5=_0x294119['sigBytes']/0x4,_0x57c6d3=this[_0x204ee4(0x46a)]=_0x2d11c5+0x6,_0x50af98=(_0x57c6d3+0x1)*0x4,_0x5a8e4a=this['_keySchedule']=[],_0x1c8a04=0x0;_0x1c8a04<_0x50af98;_0x1c8a04++)_0x1c8a04<_0x2d11c5?_0x5a8e4a[_0x1c8a04]=_0x1e49a2[_0x1c8a04]:(_0x521070=_0x5a8e4a[_0x1c8a04-0x1],_0x1c8a04%_0x2d11c5?_0x2d11c5>0x6&&_0x1c8a04%_0x2d11c5==0x4&&(_0x521070=_0x282085[_0x521070>>>0x18]<<0x18|_0x282085[_0x521070>>>0x10&0xff]<<0x10|_0x282085[_0x521070>>>0x8&0xff]<<0x8|_0x282085[_0x521070&0xff]):(_0x521070=_0x521070<<0x8|_0x521070>>>0x18,_0x521070=_0x282085[_0x521070>>>0x18]<<0x18|_0x282085[_0x521070>>>0x10&0xff]<<0x10|_0x282085[_0x521070>>>0x8&0xff]<<0x8|_0x282085[_0x521070&0xff],_0x521070^=_0x2437b3[_0x1c8a04/_0x2d11c5|0x0]<<0x18),_0x5a8e4a[_0x1c8a04]=_0x5a8e4a[_0x1c8a04-_0x2d11c5]^_0x521070);for(var _0x3a9957=this[_0x204ee4(0x19e)]=[],_0x4c57ed=0x0;_0x4c57ed<_0x50af98;_0x4c57ed++){var _0x1c8a04=_0x50af98-_0x4c57ed;if(_0x4c57ed%0x4)var _0x521070=_0x5a8e4a[_0x1c8a04];else var _0x521070=_0x5a8e4a[_0x1c8a04-0x4];_0x4c57ed<0x4||_0x1c8a04<=0x4?_0x3a9957[_0x4c57ed]=_0x521070:_0x3a9957[_0x4c57ed]=_0x49f94a[_0x282085[_0x521070>>>0x18]]^_0x5f2472[_0x282085[_0x521070>>>0x10&0xff]]^_0x403fb8[_0x282085[_0x521070>>>0x8&0xff]]^_0x24cec2[_0x282085[_0x521070&0xff]];}}},'encryptBlock':function(_0x4133d5,_0x17b639){var _0x249b8d=_0x3bfcc7;this[_0x249b8d(0x3a4)](_0x4133d5,_0x17b639,this['_keySchedule'],_0x10ce71,_0x6ddce6,_0x3ae36e,_0x4a80ea,_0x282085);},'decryptBlock':function(_0x3cf3cd,_0x14069e){var _0x18f10d=_0x3bfcc7,_0x3c5a8d=_0x3cf3cd[_0x14069e+0x1];_0x3cf3cd[_0x14069e+0x1]=_0x3cf3cd[_0x14069e+0x3],_0x3cf3cd[_0x14069e+0x3]=_0x3c5a8d,this[_0x18f10d(0x3a4)](_0x3cf3cd,_0x14069e,this['_invKeySchedule'],_0x49f94a,_0x5f2472,_0x403fb8,_0x24cec2,_0x5e5190);var _0x3c5a8d=_0x3cf3cd[_0x14069e+0x1];_0x3cf3cd[_0x14069e+0x1]=_0x3cf3cd[_0x14069e+0x3],_0x3cf3cd[_0x14069e+0x3]=_0x3c5a8d;},'_doCryptBlock':function(_0x141b8d,_0x541b89,_0x2c9ff8,_0x31c160,_0x292b9b,_0x50a824,_0x4c57bf,_0x24613a){var _0x12f463=_0x3bfcc7;for(var _0x32a0eb=this[_0x12f463(0x46a)],_0x2e7910=_0x141b8d[_0x541b89]^_0x2c9ff8[0x0],_0x268106=_0x141b8d[_0x541b89+0x1]^_0x2c9ff8[0x1],_0x419d31=_0x141b8d[_0x541b89+0x2]^_0x2c9ff8[0x2],_0xa75567=_0x141b8d[_0x541b89+0x3]^_0x2c9ff8[0x3],_0x4902c3=0x4,_0x30943e=0x1;_0x30943e<_0x32a0eb;_0x30943e++){var _0x3a762d=_0x31c160[_0x2e7910>>>0x18]^_0x292b9b[_0x268106>>>0x10&0xff]^_0x50a824[_0x419d31>>>0x8&0xff]^_0x4c57bf[_0xa75567&0xff]^_0x2c9ff8[_0x4902c3++],_0x33c7b4=_0x31c160[_0x268106>>>0x18]^_0x292b9b[_0x419d31>>>0x10&0xff]^_0x50a824[_0xa75567>>>0x8&0xff]^_0x4c57bf[_0x2e7910&0xff]^_0x2c9ff8[_0x4902c3++],_0x4ed1f3=_0x31c160[_0x419d31>>>0x18]^_0x292b9b[_0xa75567>>>0x10&0xff]^_0x50a824[_0x2e7910>>>0x8&0xff]^_0x4c57bf[_0x268106&0xff]^_0x2c9ff8[_0x4902c3++],_0x333bbd=_0x31c160[_0xa75567>>>0x18]^_0x292b9b[_0x2e7910>>>0x10&0xff]^_0x50a824[_0x268106>>>0x8&0xff]^_0x4c57bf[_0x419d31&0xff]^_0x2c9ff8[_0x4902c3++];_0x2e7910=_0x3a762d,_0x268106=_0x33c7b4,_0x419d31=_0x4ed1f3,_0xa75567=_0x333bbd;}var _0x3a762d=(_0x24613a[_0x2e7910>>>0x18]<<0x18|_0x24613a[_0x268106>>>0x10&0xff]<<0x10|_0x24613a[_0x419d31>>>0x8&0xff]<<0x8|_0x24613a[_0xa75567&0xff])^_0x2c9ff8[_0x4902c3++],_0x33c7b4=(_0x24613a[_0x268106>>>0x18]<<0x18|_0x24613a[_0x419d31>>>0x10&0xff]<<0x10|_0x24613a[_0xa75567>>>0x8&0xff]<<0x8|_0x24613a[_0x2e7910&0xff])^_0x2c9ff8[_0x4902c3++],_0x4ed1f3=(_0x24613a[_0x419d31>>>0x18]<<0x18|_0x24613a[_0xa75567>>>0x10&0xff]<<0x10|_0x24613a[_0x2e7910>>>0x8&0xff]<<0x8|_0x24613a[_0x268106&0xff])^_0x2c9ff8[_0x4902c3++],_0x333bbd=(_0x24613a[_0xa75567>>>0x18]<<0x18|_0x24613a[_0x2e7910>>>0x10&0xff]<<0x10|_0x24613a[_0x268106>>>0x8&0xff]<<0x8|_0x24613a[_0x419d31&0xff])^_0x2c9ff8[_0x4902c3++];_0x141b8d[_0x541b89]=_0x3a762d,_0x141b8d[_0x541b89+0x1]=_0x33c7b4,_0x141b8d[_0x541b89+0x2]=_0x4ed1f3,_0x141b8d[_0x541b89+0x3]=_0x333bbd;},'keySize':0x100/0x20});_0x522813[_0x3bfcc7(0x3bc)]=_0x588bb3[_0x3bfcc7(0x481)](_0x453bdc);}()),_0x1e81a0[_0x349a1f(0x3bc)];}));}(_0x5e75cd)),_0x5e75cd[_0x13dfb7(0x32d)];}var _0x4a0dbd=_0xb79d15();const _0x3e989c=_0x5959e6(_0x4a0dbd);var _0x5893ec=_0x17b33b();const _0x35baf1=_0x5959e6(_0x5893ec);var _0x6ce028={'exports':{}},_0x34b5b7=_0x6ce028[_0x51f045(0x32d)],_0x49f453;function _0x4f63dd(){return _0x49f453||(_0x49f453=0x1,function(_0x3f6227,_0x4a0eb8){(function(_0x83ec81,_0x312ea5){_0x3f6227['exports']=_0x312ea5(_0x100983());}(_0x34b5b7,function(_0x324bad){var _0x5c9391=_0x180f;return _0x324bad['enc'][_0x5c9391(0x192)];}));}(_0x6ce028)),_0x6ce028['exports'];}var _0x47e40a=_0x4f63dd();const _0x13fca4=_0x5959e6(_0x47e40a);var _0x120534={'exports':{}},_0x735d2e=_0x120534['exports'],_0x1b6ebc;function _0x56d5f5(){return _0x1b6ebc||(_0x1b6ebc=0x1,function(_0x4c16da,_0x18229e){(function(_0x3ab56f,_0x3b98ce){var _0xb42eb0=_0x180f;_0x4c16da[_0xb42eb0(0x32d)]=_0x3b98ce(_0x100983());}(_0x735d2e,function(_0x2385f4){return(function(){var _0x394af3=_0x180f;if(typeof ArrayBuffer==_0x394af3(0x190)){var _0x5202d4=_0x2385f4,_0x52a515=_0x5202d4['lib'],_0x2bb37b=_0x52a515[_0x394af3(0x30b)],_0x599b7a=_0x2bb37b[_0x394af3(0x249)],_0x33f259=_0x2bb37b[_0x394af3(0x249)]=function(_0x3fae27){var _0x676103=_0x394af3;if(_0x3fae27 instanceof ArrayBuffer&&(_0x3fae27=new Uint8Array(_0x3fae27)),(_0x3fae27 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x3fae27 instanceof Uint8ClampedArray||_0x3fae27 instanceof Int16Array||_0x3fae27 instanceof Uint16Array||_0x3fae27 instanceof Int32Array||_0x3fae27 instanceof Uint32Array||_0x3fae27 instanceof Float32Array||_0x3fae27 instanceof Float64Array)&&(_0x3fae27=new Uint8Array(_0x3fae27[_0x676103(0x3f7)],_0x3fae27[_0x676103(0x1ca)],_0x3fae27['byteLength'])),_0x3fae27 instanceof Uint8Array){for(var _0x1972ff=_0x3fae27[_0x676103(0x43e)],_0x56641b=[],_0x36c565=0x0;_0x36c565<_0x1972ff;_0x36c565++)_0x56641b[_0x36c565>>>0x2]|=_0x3fae27[_0x36c565]<<0x18-_0x36c565%0x4*0x8;_0x599b7a['call'](this,_0x56641b,_0x1972ff);}else _0x599b7a['apply'](this,arguments);};_0x33f259[_0x394af3(0x2d9)]=_0x2bb37b;}}()),_0x2385f4['lib']['WordArray'];}));}(_0x120534)),_0x120534['exports'];}var _0xe4618c=_0x56d5f5();const _0x3085d2=_0x5959e6(_0xe4618c);var _0x84aff0={'exports':{}},_0x3ff8e9=_0x84aff0[_0x51f045(0x32d)],_0x1d593f;function _0x5724bb(){var _0x11f74b=_0x51f045;return _0x1d593f||(_0x1d593f=0x1,function(_0x192be9,_0x279184){(function(_0x24f38e,_0x46a9d7,_0x10dfa1){var _0x5060f5=_0x180f;_0x192be9[_0x5060f5(0x32d)]=_0x46a9d7(_0x100983(),_0x4aed16());}(_0x3ff8e9,function(_0x34d3e1){var _0x41f246=_0x180f;return _0x34d3e1[_0x41f246(0x3f2)]['NoPadding']={'pad':function(){},'unpad':function(){}},_0x34d3e1[_0x41f246(0x3f2)][_0x41f246(0x37e)];}));}(_0x84aff0)),_0x84aff0[_0x11f74b(0x32d)];}var _0x3985a0=_0x5724bb();const _0x252e44=_0x5959e6(_0x3985a0);function _0x1469ac(_0x20efbe,_0x5d7f11){var _0x3206b3=_0x51f045;const _0x4cdc84=_0x5d7f11-_0x20efbe[_0x3206b3(0x1fb)]%_0x5d7f11,_0xd7e91f=String[_0x3206b3(0x462)](_0x4cdc84)[_0x3206b3(0x2c5)](_0x4cdc84);return _0x20efbe+_0xd7e91f;}function _0x5a597d(_0x4736c9,_0xc88968){var _0x3ee236=_0x51f045;const _0x479a2c=_0x3085d2[_0x3ee236(0x234)](0x10),_0x8ad024=_0x1469ac(_0x4736c9,0x10),_0x172e79=_0x3e989c['encrypt'](_0x13fca4[_0x3ee236(0x4cd)](_0x8ad024),_0x35baf1[_0x3ee236(0x4cd)](_0xc88968),{'iv':_0x479a2c,'padding':_0x252e44});return _0x479a2c[_0x3ee236(0x435)](_0x172e79[_0x3ee236(0x2f9)])[_0x3ee236(0x20a)](_0x35baf1);}function _0x162b69(){var _0x555ee8=_0x51f045;const _0xf37bab=_0x49897e[_0x555ee8(0x486)]()[_0x555ee8(0x3f6)];if(_0xf37bab){const _0x46a060={'time':Math['floor'](Date[_0x555ee8(0x336)]()/0x3e8),'domain':location['hostname']};return _0x5a597d(JSON['stringify'](_0x46a060),_0xf37bab);}}var _0x52d593=Object[_0x51f045(0x3ee)],_0x2f0c9c=(_0x92610b,_0x1e9dab,_0x422bc8,_0x57aee7)=>{var _0x30154e=_0x51f045;for(var _0x1b37bf=_0x57aee7>0x1?void 0x0:_0x57aee7?_0x52d593(_0x1e9dab,_0x422bc8):_0x1e9dab,_0x176bef=_0x92610b[_0x30154e(0x1fb)]-0x1,_0x439709;_0x176bef>=0x0;_0x176bef--)(_0x439709=_0x92610b[_0x176bef])&&(_0x1b37bf=_0x439709(_0x1b37bf)||_0x1b37bf);return _0x1b37bf;},_0x18d776=(_0x18f00b,_0x4b2ff0)=>(_0x5d0356,_0x4fc310)=>_0x4b2ff0(_0x5d0356,_0x4fc310,_0x18f00b);let _0x3acbed=class{constructor(_0x4b234d){var _0x243a6d=_0x51f045;this[_0x243a6d(0x31c)]=_0x4b234d,this[_0x243a6d(0x1e8)]();}['_initRequestHeader'](){this['_httpService']['registerHTTPInterceptor']({'interceptor':(_0x1bf01d,_0x39ab4f)=>{var _0xd99215=_0x180f;const _0x5c2dc6=_0x1bf01d[_0xd99215(0x2be)],_0x1e2be3=_0x162b69();return _0x1e2be3&&_0x5c2dc6[_0xd99215(0x49f)](_0xd99215(0x2b8),_0x1e2be3),_0x39ab4f(_0x1bf01d);}});}};_0x3acbed=_0x2f0c9c([_0x18d776(0x0,_0x3f0f0b[_0x51f045(0x490)](_0x556866[_0x51f045(0x258)]))],_0x3acbed);var _0x2309dc=Object[_0x51f045(0x3ee)],_0x216fc8=(_0x39ecf9,_0x4e5d15,_0x1d95a3,_0x52fccb)=>{for(var _0x19728f=_0x52fccb>0x1?void 0x0:_0x52fccb?_0x2309dc(_0x4e5d15,_0x1d95a3):_0x4e5d15,_0x36d1a5=_0x39ecf9['length']-0x1,_0x331b0c;_0x36d1a5>=0x0;_0x36d1a5--)(_0x331b0c=_0x39ecf9[_0x36d1a5])&&(_0x19728f=_0x331b0c(_0x19728f)||_0x19728f);return _0x19728f;},_0x318844=(_0x299a2a,_0x2447d9)=>(_0x320891,_0x21ab1e)=>_0x2447d9(_0x320891,_0x21ab1e,_0x299a2a);_0x47f5c6['DataLoaderService']=class extends _0x3f0f0b[_0x51f045(0x182)]{constructor(_0x457118,_0x5cb50e,_0x406191){var _0x1697a9=_0x51f045;super(),_0x48d230(this,_0x1697a9(0x2e6),new _0x1be1c1[(_0x1697a9(0x2f5))](null)),_0x48d230(this,_0x1697a9(0x482),this[_0x1697a9(0x2e6)][_0x1697a9(0x4dc)]()),(this[_0x1697a9(0x468)]=_0x457118,this[_0x1697a9(0x19c)]=_0x5cb50e,this['_localCacheService']=_0x406191);}async['loadUnit'](_0x3c3b9d,_0x1e0cce,_0x1f2b67){var _0x5ca8de=_0x51f045;this[_0x5ca8de(0x2e6)]['next']({'unitId':_0x3c3b9d,'type':_0x1e0cce,'subUnitId':_0x1f2b67});let _0x3f4e33=null;switch(_0x1e0cce){case _0x3af995['UNIVER_SHEET']:{_0x3f4e33=await this['_loadSheet'](_0x3c3b9d);break;}case _0x3af995[_0x5ca8de(0x3df)]:{_0x3f4e33=await this[_0x5ca8de(0x3f4)](_0x3c3b9d);break;}default:{this['_logService'][_0x5ca8de(0x199)]('[DataLoaderService]',_0x5ca8de(0x2bc));break;}}return _0x3f4e33;}async['_loadSheet'](_0x3eae19){var _0x213f11=_0x51f045,_0x393b90;let _0x25b515=0x0;const _0x4e96d1=await((_0x393b90=this[_0x213f11(0x28e)])==null?void 0x0:_0x393b90[_0x213f11(0x1c4)](_0x3eae19));return _0x4e96d1&&(_0x4e96d1[_0x213f11(0x264)]||_0x4e96d1[_0x213f11(0x411)][_0x213f11(0x1fb)]!==0x0)&&(_0x25b515=_0x4e96d1['rev']),_0x25b515===0x0&&this[_0x213f11(0x468)][_0x213f11(0x48d)](_0x213f11(0x1d6),_0x213f11(0x3c8)),this[_0x213f11(0x19c)][_0x213f11(0x348)](_0x3eae19,_0x25b515);}async[_0x51f045(0x3f4)](_0x4a879e){var _0x31d56d=_0x51f045,_0x1549d0;let _0x5b59b9=0x0;const _0x29b3d7=await((_0x1549d0=this['_localCacheService'])==null?void 0x0:_0x1549d0[_0x31d56d(0x1c4)](_0x4a879e));return _0x29b3d7&&(_0x29b3d7['awaitingChangeset']||_0x29b3d7[_0x31d56d(0x411)]['length']!==0x0)&&(_0x5b59b9=_0x29b3d7[_0x31d56d(0x195)]),_0x5b59b9===0x0&&this['_logService'][_0x31d56d(0x48d)](_0x31d56d(0x1d6),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x31d56d(0x19c)][_0x31d56d(0x3b2)](_0x4a879e,_0x5b59b9);}},_0x47f5c6[_0x51f045(0x331)]=_0x216fc8([_0x318844(0x0,_0x3f0f0b[_0x51f045(0x369)]),_0x318844(0x1,_0x3f0f0b[_0x51f045(0x490)](_0x3e5fea[_0x51f045(0x4c0)])),_0x318844(0x2,_0x3f0f0b[_0x51f045(0x4d1)](_0x2f7041))],_0x47f5c6['DataLoaderService']);var _0x2ba4c4=Object[_0x51f045(0x3ee)],_0x461cb1=(_0x4a0e62,_0x1fd52f,_0x4310b9,_0x319642)=>{var _0x362367=_0x51f045;for(var _0x3f498f=_0x319642>0x1?void 0x0:_0x319642?_0x2ba4c4(_0x1fd52f,_0x4310b9):_0x1fd52f,_0x278fb3=_0x4a0e62[_0x362367(0x1fb)]-0x1,_0x21aa21;_0x278fb3>=0x0;_0x278fb3--)(_0x21aa21=_0x4a0e62[_0x278fb3])&&(_0x3f498f=_0x21aa21(_0x3f498f)||_0x3f498f);return _0x3f498f;},_0x31a5ba=(_0x2ea1d5,_0x2d89a3)=>(_0x31ca59,_0x15db0a)=>_0x2d89a3(_0x31ca59,_0x15db0a,_0x2ea1d5);const _0x170776=['image/png',_0x51f045(0x35b),_0x51f045(0x29d),_0x51f045(0x286),_0x51f045(0x3b5)],_0x2e3060=0x5*0x400*0x400,_0x2faef6=_0x51f045(0x366),_0x4e96e8='/universer-api/stream/file/upload',_0xf718d7=_0x51f045(0x1d0),_0x37330e='/universer-api/file/{fileID}/sign-url';_0x47f5c6[_0x51f045(0x4e0)]=class{constructor(_0x200622,_0x20d69,_0x45ab4b){var _0x5c8efb=_0x51f045;_0x48d230(this,_0x5c8efb(0x2d0),0x0),_0x48d230(this,_0x5c8efb(0x1c8),new _0x1be1c1[(_0x5c8efb(0x381))]()),_0x48d230(this,_0x5c8efb(0x224),this[_0x5c8efb(0x1c8)]),_0x48d230(this,_0x5c8efb(0x1a9),new Map()),(this[_0x5c8efb(0x31c)]=_0x200622,this[_0x5c8efb(0x20c)]=_0x20d69,this['_univerInstanceService']=_0x45ab4b);}[_0x51f045(0x4a4)](_0x3b8c46){var _0x3fb7ca=_0x51f045;this[_0x3fb7ca(0x2d0)]=_0x3b8c46,this[_0x3fb7ca(0x1c8)]['next'](_0x3b8c46);}['getImageSourceCache'](_0x8e50d0,_0x4cddc4){var _0x472f07=_0x51f045;if(_0x4cddc4===_0x3ce3fa[_0x472f07(0x384)]['BASE64']){const _0x7a6a04=new Image();return _0x7a6a04[_0x472f07(0x317)]=_0x8e50d0,_0x7a6a04;}return this[_0x472f07(0x1a9)]['get'](_0x8e50d0);}[_0x51f045(0x42b)](_0x506c17,_0x484ac2,_0x251977){var _0xb4bd07=_0x51f045;_0x484ac2===_0x3ce3fa[_0xb4bd07(0x384)][_0xb4bd07(0x245)]||_0x251977==null||this[_0xb4bd07(0x1a9)]['set'](_0x506c17,_0x251977);}async[_0x51f045(0x3f0)](_0xd7fcbc){var _0x482ed1=_0x51f045;try{const _0x5afbd3=this[_0x482ed1(0x35c)](this['_getSignURL'](),''+_0xd7fcbc),_0x476662=(await this['_httpService'][_0x482ed1(0x24e)](_0x5afbd3))['body'];if(_0x476662[_0x482ed1(0x199)]&&_0x476662[_0x482ed1(0x199)][_0x482ed1(0x25e)]===_0x4fb753['OK']){const _0x238d4f=new URL(_0x476662[_0x482ed1(0x4ee)],this[_0x482ed1(0x498)]())[_0x482ed1(0x20a)]();return Promise[_0x482ed1(0x1ba)](_0x238d4f);}return Promise[_0x482ed1(0x44d)](_0x476662[_0x482ed1(0x199)]);}catch(_0x4675ed){return Promise[_0x482ed1(0x44d)](_0x4675ed);}}async[_0x51f045(0x367)](_0x41f3b1){var _0x410c08=_0x51f045;let _0x4630cf='';if(!_0x170776[_0x410c08(0x42f)](_0x41f3b1[_0x410c08(0x3b1)]))return this['_decreaseWaiting'](),Promise[_0x410c08(0x44d)](new Error(_0x3ce3fa[_0x410c08(0x265)][_0x410c08(0x218)]));if(_0x41f3b1[_0x410c08(0x1bb)]>_0x2e3060)return this[_0x410c08(0x232)](),Promise[_0x410c08(0x44d)](new Error(_0x3ce3fa['ImageUploadStatusType'][_0x410c08(0x2d5)]));try{const _0x24f19f=new FormData();_0x24f19f[_0x410c08(0x372)]('file',_0x41f3b1);const _0x1369c5=this[_0x410c08(0x4f9)][_0x410c08(0x251)](),_0x1a00bb=_0x1369c5==null?void 0x0:_0x1369c5['getUnitId']();if(!_0x1a00bb)throw new Error('unitId\x20is\x20not\x20found');const _0x2f4a46=this['_getUploadFileURL']()+_0x410c08(0x41c)+_0x41f3b1['size']['toString']()+_0x410c08(0x4bd)+_0x15973b[_0x410c08(0x453)]+'&assign='+encodeURIComponent(_0x1a00bb),_0x39c864=await(await fetch(_0x2f4a46,{'method':_0x410c08(0x20b),'body':_0x24f19f}))['json']();if(typeof _0x39c864[_0x410c08(0x1bc)]!=_0x410c08(0x25c))return this[_0x410c08(0x232)](),Promise['reject'](new Error(_0x3ce3fa[_0x410c08(0x265)][_0x410c08(0x229)]));_0x4630cf=_0x39c864[_0x410c08(0x1bc)];}catch{return this[_0x410c08(0x232)](),Promise['reject'](new Error(_0x3ce3fa[_0x410c08(0x265)]['ERROR_IMAGE']));}return new Promise((_0x303c42,_0x2e5662)=>{var _0x36a58e=_0x410c08;const _0x5e8036=new FileReader();_0x5e8036[_0x36a58e(0x4ff)](_0x41f3b1),_0x5e8036[_0x36a58e(0x1ad)]=_0x2e9042=>{var _0x4b1a2d=_0x36a58e,_0x416700;const _0x4cb7b2=(_0x416700=_0x2e9042['target'])==null?void 0x0:_0x416700[_0x4b1a2d(0x306)];if(_0x4cb7b2==null){this[_0x4b1a2d(0x232)](),_0x2e5662(new Error(_0x3ce3fa[_0x4b1a2d(0x265)][_0x4b1a2d(0x229)]));return;}const _0x1ce326=_0x3f0f0b['Tools'][_0x4b1a2d(0x31f)](0x6);_0x303c42({'imageId':_0x1ce326,'imageSourceType':_0x3ce3fa[_0x4b1a2d(0x384)]['UUID'],'source':_0x4630cf,'base64Cache':_0x4cb7b2,'status':_0x3ce3fa[_0x4b1a2d(0x265)][_0x4b1a2d(0x2df)]}),this[_0x4b1a2d(0x232)]();};});}[_0x51f045(0x40c)](){var _0x59caf4=_0x51f045,_0x1826c4,_0x473a5e;const _0x1b9008=this[_0x59caf4(0x20c)][_0x59caf4(0x3ae)](_0x2faef6),_0xfeca38=this[_0x59caf4(0x20c)][_0x59caf4(0x3ae)](_0xd902f1);return(_0x473a5e=(_0x1826c4=_0xfeca38==null?void 0x0:_0xfeca38['uploadFileServerUrl'])!=null?_0x1826c4:_0x1b9008)!=null?_0x473a5e:_0x4e96e8;}[_0x51f045(0x422)](){var _0x4432eb=_0x51f045,_0x1bc4c0,_0x263720;const _0x12d567=this[_0x4432eb(0x20c)][_0x4432eb(0x3ae)](_0xf718d7),_0xe52a05=this['_configService'][_0x4432eb(0x3ae)](_0xd902f1);return(_0x263720=(_0x1bc4c0=_0xe52a05==null?void 0x0:_0xe52a05['signUrlServerUrl'])!=null?_0x1bc4c0:_0x12d567)!=null?_0x263720:_0x37330e;}['_getDownloadEndpointURL'](){var _0x39f112=_0x51f045,_0x115568;const _0x42acee=this['_configService'][_0x39f112(0x3ae)](_0xd902f1);return(_0x115568=_0x42acee==null?void 0x0:_0x42acee[_0x39f112(0x2ee)])!=null?_0x115568:location['origin'];}['_replaceFileID'](_0x10d16a,_0x4fd5a9){var _0x119fda=_0x51f045;return _0x10d16a[_0x119fda(0x2fe)]('{fileID}',_0x4fd5a9);}['_decreaseWaiting'](){var _0x3d922f=_0x51f045;this[_0x3d922f(0x2d0)]-=0x1,this[_0x3d922f(0x1c8)][_0x3d922f(0x28b)](this[_0x3d922f(0x2d0)]);}},_0x47f5c6[_0x51f045(0x4e0)]=_0x461cb1([_0x31a5ba(0x0,_0x3f0f0b[_0x51f045(0x490)](_0x556866[_0x51f045(0x258)])),_0x31a5ba(0x1,_0x3f0f0b[_0x51f045(0x496)]),_0x31a5ba(0x2,_0x3f0f0b[_0x51f045(0x490)](_0x3f0f0b[_0x51f045(0x3b7)]))],_0x47f5c6['CollaborationImageIoService']);var _0x388628=Object[_0x51f045(0x3ee)],_0x95c6e2=(_0x4031eb,_0x2f82b8,_0x49b97c,_0x539323)=>{var _0x25dd73=_0x51f045;for(var _0xfe0cf1=_0x539323>0x1?void 0x0:_0x539323?_0x388628(_0x2f82b8,_0x49b97c):_0x2f82b8,_0x17201c=_0x4031eb[_0x25dd73(0x1fb)]-0x1,_0x1a6057;_0x17201c>=0x0;_0x17201c--)(_0x1a6057=_0x4031eb[_0x17201c])&&(_0xfe0cf1=_0x1a6057(_0xfe0cf1)||_0xfe0cf1);return _0xfe0cf1;},_0x270b2a=(_0x5935ce,_0x35cc3d)=>(_0x2ed2fd,_0x41792b)=>_0x35cc3d(_0x2ed2fd,_0x41792b,_0x5935ce);const _0x1ddcdc='/universer-api/authz';_0x47f5c6[_0x51f045(0x32e)]=class{constructor(_0x51bdff,_0x3f2647){var _0x317f43=_0x51f045;this['_configService']=_0x51bdff,this[_0x317f43(0x24f)]=_0x3f2647;}[_0x51f045(0x3c9)](){var _0x4072b4=_0x51f045,_0x53acbf,_0x128487;const _0x3d78b8=this['_configService']['getConfig'](_0x2469af),_0x5482e8=this[_0x4072b4(0x20c)][_0x4072b4(0x3ae)](_0xd902f1);return(_0x128487=(_0x53acbf=_0x5482e8==null?void 0x0:_0x5482e8['authzUrl'])!=null?_0x53acbf:_0x3d78b8)!=null?_0x128487:_0x1ddcdc;}async[_0x51f045(0x187)](_0xa8575d){var _0x14a652=_0x51f045;const _0x3e6ee5=this['_getAPIPrefixPath']()+'/collaborator';return{'list':[{'title':'People','mentions':(await this['_HTTPService'][_0x14a652(0x24e)](_0x3e6ee5,{'params':{'objectID':_0xa8575d[_0x14a652(0x28c)],'unitID':_0xa8575d[_0x14a652(0x28c)]}}))[_0x14a652(0x45c)][_0x14a652(0x1b1)]['map'](_0x19313c=>({'objectId':_0x19313c['id'],'name':_0x19313c[_0x14a652(0x22b)][_0x14a652(0x1a2)],'metadata':{'icon':_0x19313c[_0x14a652(0x22b)][_0x14a652(0x254)]},'label':_0x19313c[_0x14a652(0x22b)][_0x14a652(0x1a2)],'objectType':_0x3f0f0b[_0x14a652(0x343)]['PERSON']})),'metadata':{},'type':_0x3f0f0b['MentionType'][_0x14a652(0x283)]}]};}},_0x47f5c6[_0x51f045(0x32e)]=_0x95c6e2([_0x270b2a(0x0,_0x3f0f0b[_0x51f045(0x490)](_0x3f0f0b[_0x51f045(0x496)])),_0x270b2a(0x1,_0x3f0f0b['Inject'](_0x556866[_0x51f045(0x258)]))],_0x47f5c6[_0x51f045(0x32e)]);var _0x4dadc2=Object['getOwnPropertyDescriptor'],_0x393594=(_0x46e66c,_0x544259,_0x327136,_0x1431ac)=>{var _0x50fbf4=_0x51f045;for(var _0x5a5d5f=_0x1431ac>0x1?void 0x0:_0x1431ac?_0x4dadc2(_0x544259,_0x327136):_0x544259,_0x364075=_0x46e66c[_0x50fbf4(0x1fb)]-0x1,_0x49e75f;_0x364075>=0x0;_0x364075--)(_0x49e75f=_0x46e66c[_0x364075])&&(_0x5a5d5f=_0x49e75f(_0x5a5d5f)||_0x5a5d5f);return _0x5a5d5f;},_0x56d823=(_0xdf549d,_0xd660bf)=>(_0x163ab8,_0x47d609)=>_0xd660bf(_0x163ab8,_0x47d609,_0xdf549d);let _0x13e37e=class extends _0x3f0f0b[_0x51f045(0x182)]{constructor(_0x4a4a24,_0x20924c,_0x4dd6a3,_0x584fb5,_0x141117){var _0x1eef98=_0x51f045;super(),this[_0x1eef98(0x4c3)]=_0x4a4a24,this['_univerInstanceService']=_0x20924c,this[_0x1eef98(0x330)]=_0x4dd6a3,this[_0x1eef98(0x324)]=_0x584fb5,this[_0x1eef98(0x370)]=_0x141117,this['_initUnitPermissionChange'](),this['_initCloseConn']();}[_0x51f045(0x257)](){var _0x31b14e=_0x51f045;const _0x534a55=async _0x241057=>{var _0x448c5f=_0x180f;(await this[_0x448c5f(0x324)][_0x448c5f(0x410)](_0x241057))['event$']['pipe'](_0x3b5477[_0x448c5f(0x29e)](_0xa3c980=>_0xa3c980[_0x448c5f(0x30d)]===_0x3e5fea['CollaborationEvent'][_0x448c5f(0x197)]),_0x3b5477['takeUntil'](this['dispose$']))[_0x448c5f(0x439)](_0x44a70e=>{var _0x17bfaa=_0x448c5f;const _0x1ee22e=_0x44a70e,{reason:_0x3c322e}=_0x1ee22e['data'];this['_collaborationUIEventService'][_0x17bfaa(0x2af)]({'id':_0xe3fca5[_0x17bfaa(0x4b7)],'data':_0x3c322e}),this[_0x17bfaa(0x330)][_0x17bfaa(0x4ac)](new _0x1ba7ef[(_0x17bfaa(0x3c7))](_0x241057)['id'],!0x1),this['_collaborationSessionService'][_0x17bfaa(0x499)](_0x241057);});};_0x1be1c1['merge'](this[_0x31b14e(0x4f9)][_0x31b14e(0x1f8)](_0x3f0f0b[_0x31b14e(0x3f1)][_0x31b14e(0x298)]),this[_0x31b14e(0x4f9)][_0x31b14e(0x1f8)](_0x3f0f0b[_0x31b14e(0x3f1)]['UNIVER_DOC']))[_0x31b14e(0x431)](_0x3b5477['map'](_0x596215=>_0x596215[_0x31b14e(0x29b)]()),_0x3b5477[_0x31b14e(0x29e)](_0x56f100=>!_0x3f0f0b[_0x31b14e(0x3d0)](_0x56f100)),_0x3b5477[_0x31b14e(0x38d)](this['dispose$']))[_0x31b14e(0x439)](_0x54ef81=>{_0x534a55(_0x54ef81);});}[_0x51f045(0x501)](){var _0x360a3e=_0x51f045;const _0x38844a=async _0x38da42=>{var _0xcec571=_0x180f;const _0x5bfc71=await this[_0xcec571(0x324)][_0xcec571(0x410)](_0x38da42),_0x3186cd=this['_injector'][_0xcec571(0x24e)](_0x1ba7ef[_0xcec571(0x4ef)]);_0x5bfc71[_0xcec571(0x442)][_0xcec571(0x431)](_0x3b5477[_0xcec571(0x29e)](_0x297dc3=>_0x297dc3[_0xcec571(0x30d)]===_0x3e5fea[_0xcec571(0x2f2)]['UPDATE_PERMISSION_OBJ']),_0x3b5477[_0xcec571(0x38d)](this['dispose$']))['subscribe'](_0x2f00d5=>{var _0x15f39c=_0xcec571;const _0x5876b1=_0x2f00d5,{objectId:_0x3c6201}=_0x5876b1[_0x15f39c(0x2ad)];_0x3c6201===_0x38da42?_0x3186cd['initWorkbookPermissionChange'](_0x38da42):_0x3186cd[_0x15f39c(0x444)](_0x38da42,_0x3c6201);});};_0x1be1c1[_0x360a3e(0x46d)](this[_0x360a3e(0x4f9)]['getTypeOfUnitAdded$'](_0x3f0f0b[_0x360a3e(0x3f1)][_0x360a3e(0x298)]))[_0x360a3e(0x431)](_0x3b5477[_0x360a3e(0x3e6)](_0x45c182=>_0x45c182[_0x360a3e(0x29b)]()),_0x3b5477[_0x360a3e(0x29e)](_0x4e511b=>!_0x3f0f0b['isInternalEditorID'](_0x4e511b)),_0x3b5477['takeUntil'](this['dispose$']))[_0x360a3e(0x439)](_0x360bd9=>{_0x38844a(_0x360bd9);});}};_0x13e37e=_0x393594([_0x56d823(0x0,_0x3f0f0b['Inject'](_0x3f0f0b[_0x51f045(0x1c3)])),_0x56d823(0x1,_0x3f0f0b['IUniverInstanceService']),_0x56d823(0x2,_0x3f0f0b[_0x51f045(0x2f0)]),_0x56d823(0x3,_0x3f0f0b['Inject'](_0x47f5c6[_0x51f045(0x465)])),_0x56d823(0x4,_0x3f0f0b[_0x51f045(0x490)](_0x4e0ff7))],_0x13e37e);var _0x334bf8=Object[_0x51f045(0x3ee)],_0xeb32c=(_0x5b6e99,_0x512bc1,_0x4db7ba,_0x11ad7d)=>{var _0x450d6d=_0x51f045;for(var _0x179f36=_0x11ad7d>0x1?void 0x0:_0x11ad7d?_0x334bf8(_0x512bc1,_0x4db7ba):_0x512bc1,_0x447ce5=_0x5b6e99[_0x450d6d(0x1fb)]-0x1,_0x13b553;_0x447ce5>=0x0;_0x447ce5--)(_0x13b553=_0x5b6e99[_0x447ce5])&&(_0x179f36=_0x13b553(_0x179f36)||_0x179f36);return _0x179f36;},_0x1faaf2=(_0xf6206f,_0x25e93d)=>(_0x254121,_0x5e7293)=>_0x25e93d(_0x254121,_0x5e7293,_0xf6206f);_0x47f5c6['SnapshotServerOverHTTPService']=class{constructor(_0x1e8fdd,_0x55de1c){var _0x769689=_0x51f045;this[_0x769689(0x20c)]=_0x1e8fdd,this[_0x769689(0x31c)]=_0x55de1c;}async[_0x51f045(0x4d5)](_0x23d574,_0x723458){var _0x3b2bd7=_0x51f045,_0x508c55;const {unitID:_0x4e3ec4,type:_0x2df228,revision:_0x453ea5=0x0}=_0x723458,_0x3d8762=this['getSnapshotAPIPath']()+'/'+_0x2df228+'/unit/'+_0x4e3ec4+_0x3b2bd7(0x404)+_0x453ea5,_0x119687=(await this[_0x3b2bd7(0x31c)][_0x3b2bd7(0x24e)](_0x3d8762))[_0x3b2bd7(0x45c)],_0x35073b=(_0x508c55=_0x119687[_0x3b2bd7(0x391)])==null?void 0x0:_0x508c55[_0x3b2bd7(0x2ed)];if(_0x35073b){const _0x14f37b=_0x35073b==null?void 0x0:_0x35073b['originalMeta'],_0x16d96d=_0x3e5fea[_0x3b2bd7(0x2fc)][_0x3b2bd7(0x290)](_0x3e5fea[_0x3b2bd7(0x27b)](_0x14f37b));_0x35073b['originalMeta']=_0x16d96d,Object[_0x3b2bd7(0x433)](_0x35073b[_0x3b2bd7(0x323)])['forEach'](([,_0x1ae354])=>{var _0x1d96d3=_0x3b2bd7;const _0x1c50e3=_0x1ae354[_0x1d96d3(0x26f)],_0x46bcaa=_0x3e5fea['textEncoder']['encode'](_0x3e5fea[_0x1d96d3(0x27b)](_0x1c50e3));_0x1ae354[_0x1d96d3(0x26f)]=_0x46bcaa;});}return _0x119687;}async[_0x51f045(0x37a)](_0x5f3333,_0x2f0ae1){var _0x3b0218=_0x51f045;const {unitID:_0x167f9d,type:_0x2fe9ca,blockID:_0x28f8f1}=_0x2f0ae1,_0xbf992=this[_0x3b0218(0x461)]()+'/'+_0x2fe9ca+_0x3b0218(0x4eb)+_0x167f9d+_0x3b0218(0x3c1)+_0x28f8f1;return(await this[_0x3b0218(0x31c)]['get'](_0xbf992))[_0x3b0218(0x45c)];}async[_0x51f045(0x346)](_0x1d412a,_0x47afae){var _0x43f8c1=_0x51f045;const {unitID:_0x3bec5c,type:_0x3bae3a,blockID:_0x3faa34}=_0x47afae,_0x38f3fa=this[_0x43f8c1(0x461)]()+_0x43f8c1(0x3c1)+_0x3bae3a+_0x43f8c1(0x4eb)+_0x3bec5c+_0x43f8c1(0x3c1)+_0x3faa34;return(await this[_0x43f8c1(0x31c)][_0x43f8c1(0x24e)](_0x38f3fa))[_0x43f8c1(0x45c)];}async[_0x51f045(0x268)](_0x3ba282,_0x9cd1c7){var _0x25ad28=_0x51f045;const {unitID:_0xba54ad,type:_0x2afcb4,from:_0x47b58d,to:_0x1e9f5f}=_0x9cd1c7,_0x17bcf3=this['_getAPIPrefix']()+'/'+_0x2afcb4+_0x25ad28(0x4eb)+_0xba54ad+_0x25ad28(0x2fd)+_0x47b58d+_0x25ad28(0x478)+_0x1e9f5f;return(await this[_0x25ad28(0x31c)][_0x25ad28(0x24e)](_0x17bcf3))['body'];}['getSnapshotAPIPath'](){var _0x574e52=_0x51f045,_0x34ede5;return(_0x34ede5=this['_configService'][_0x574e52(0x3ae)](_0x6f33ea))!=null?_0x34ede5:this[_0x574e52(0x461)]();}[_0x51f045(0x461)](){var _0x891e65=_0x51f045,_0x5a402f,_0x4e2e68;const _0x4574d1=this['_configService'][_0x891e65(0x3ae)](_0x5a94ec),_0x58028d=this[_0x891e65(0x20c)][_0x891e65(0x3ae)](_0xd902f1);return(_0x4e2e68=(_0x5a402f=_0x58028d==null?void 0x0:_0x58028d['snapshotServerUrl'])!=null?_0x5a402f:_0x4574d1)!=null?_0x4e2e68:_0x14bf74;}async[_0x51f045(0x415)](_0x26ab97,_0x2ba6d4){var _0x4c0941=_0x51f045;const _0x5e34c9=_0x4c0941(0x4c2)+_0x2ba6d4['type']+'/unit/'+_0x2ba6d4[_0x4c0941(0x3cd)]+_0x4c0941(0x3c5);return(await this[_0x4c0941(0x31c)][_0x4c0941(0x24e)](_0x5e34c9,{'params':{'resourceId':JSON[_0x4c0941(0x1de)](_0x2ba6d4['resourceIDs'])}}))[_0x4c0941(0x45c)];}[_0x51f045(0x3c2)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x51f045(0x3f5)](){var _0x45c438=_0x51f045;throw new Error(_0x45c438(0x189));}[_0x51f045(0x2a5)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x51f045(0x4f5)](){var _0x3767cc=_0x51f045;throw new Error(_0x3767cc(0x189));}[_0x51f045(0x48e)](){var _0x352184=_0x51f045;throw new Error(_0x352184(0x189));}},_0x47f5c6[_0x51f045(0x471)]=_0xeb32c([_0x1faaf2(0x0,_0x3f0f0b[_0x51f045(0x496)]),_0x1faaf2(0x1,_0x3f0f0b['Inject'](_0x556866[_0x51f045(0x258)]))],_0x47f5c6[_0x51f045(0x471)]);var _0xdd14cb=Object['getOwnPropertyDescriptor'],_0x45787a=(_0x28f0d3,_0x3319a0,_0x434b06,_0x5b12ea)=>{var _0x4517be=_0x51f045;for(var _0x427d1e=_0x5b12ea>0x1?void 0x0:_0x5b12ea?_0xdd14cb(_0x3319a0,_0x434b06):_0x3319a0,_0xa39aea=_0x28f0d3[_0x4517be(0x1fb)]-0x1,_0x3800eb;_0xa39aea>=0x0;_0xa39aea--)(_0x3800eb=_0x28f0d3[_0xa39aea])&&(_0x427d1e=_0x3800eb(_0x427d1e)||_0x427d1e);return _0x427d1e;},_0x59cd91=(_0x210880,_0x2f3d8e)=>(_0x41f568,_0x181b8f)=>_0x2f3d8e(_0x41f568,_0x181b8f,_0x210880);_0x47f5c6[_0x51f045(0x316)]=class extends _0x3f0f0b[_0x51f045(0x23f)]{constructor(_0x5802a0,_0x502589,_0x26740a,_0x13a5f3,_0x5495e1){var _0x308731=_0x51f045;super(_0x5802a0,_0x502589,_0x26740a),this[_0x308731(0x2fb)]=_0x13a5f3,this[_0x308731(0x468)]=_0x5495e1;}['transformUndoRedo'](_0x1f3a05,_0x1ce0d8){var _0x552717=_0x51f045;const _0x102223=this[_0x552717(0x2bd)](_0x1f3a05);if(_0x102223)try{const _0x2f6693=this['_transformStack'](_0x102223,_0x1ce0d8);this[_0x552717(0x4a2)](_0x1f3a05,_0x2f6693);}catch(_0xb1847){this['_logService']['error'](_0x552717(0x2b5),_0xb1847),this[_0x552717(0x2e3)](_0x1f3a05);}const _0x50f7a3=this['_getRedoStack'](_0x1f3a05);if(_0x50f7a3)try{const _0x3c7ece=this[_0x552717(0x4cf)](_0x50f7a3,_0x1ce0d8);this[_0x552717(0x19b)](_0x1f3a05,_0x3c7ece);}catch(_0x446592){this[_0x552717(0x468)][_0x552717(0x199)](_0x446592),this[_0x552717(0x1ee)](_0x1f3a05);}}['_clearUndo'](_0xaa66ca){var _0x1b3c9e=_0x51f045;const _0x18a4f0=this[_0x1b3c9e(0x2bd)](_0xaa66ca);_0x18a4f0&&(_0x18a4f0[_0x1b3c9e(0x1fb)]=0x0,this[_0x1b3c9e(0x49b)]());}[_0x51f045(0x1ee)](_0x2bbeaf){var _0xd35596=_0x51f045;const _0x15484d=this[_0xd35596(0x4be)](_0x2bbeaf);_0x15484d&&(_0x15484d[_0xd35596(0x1fb)]=0x0,this[_0xd35596(0x49b)]());}[_0x51f045(0x4a2)](_0x46945f,_0x127a9d){var _0x42a651=_0x51f045;this[_0x42a651(0x425)][_0x42a651(0x49f)](_0x46945f,_0x127a9d),this['_updateStatus']();}[_0x51f045(0x19b)](_0x3f5a44,_0x5c47be){var _0x82e4e8=_0x51f045;this[_0x82e4e8(0x400)][_0x82e4e8(0x49f)](_0x3f5a44,_0x5c47be),this[_0x82e4e8(0x49b)]();}[_0x51f045(0x4cf)](_0x2f85eb,_0x1189c3){var _0x1a1dca=_0x51f045;const _0x2cf3a3=[];let _0x46ad42=_0x1189c3,_0x1fb387=_0x1189c3;for(let _0x4e9f7c=_0x2f85eb[_0x1a1dca(0x1fb)]-0x1;_0x4e9f7c>=0x0;_0x4e9f7c--){const {unitID:_0x2dc3f6,undoMutations:_0x4f8ff2,redoMutations:_0x460643}=_0x2f85eb[_0x4e9f7c],_0x184332=this['_transformService'][_0x1a1dca(0x451)](_0x46ad42,_0x4f8ff2),_0x15dd4c=this[_0x1a1dca(0x2fb)][_0x1a1dca(0x451)](_0x1fb387,_0x460643);if(_0x3e5fea['isTransformMutationsWithChangesetFailure'](_0x184332)||_0x3e5fea[_0x1a1dca(0x295)](_0x15dd4c)){this[_0x1a1dca(0x468)][_0x1a1dca(0x199)]('[CollaborationUndoRedoService]','transformStack\x20failed!',_0x184332,_0x15dd4c);break;}_0x46ad42=_0x184332[_0x1a1dca(0x1b3)],_0x1fb387=_0x15dd4c[_0x1a1dca(0x1b3)],_0x2cf3a3[_0x1a1dca(0x3e7)]({'unitID':_0x2dc3f6,'undoMutations':_0x184332[_0x1a1dca(0x2e7)],'redoMutations':_0x15dd4c[_0x1a1dca(0x2e7)]});}return _0x2cf3a3[_0x1a1dca(0x215)]();}},_0x47f5c6[_0x51f045(0x316)]=_0x45787a([_0x59cd91(0x0,_0x3f0f0b[_0x51f045(0x3b7)]),_0x59cd91(0x1,_0x3f0f0b[_0x51f045(0x350)]),_0x59cd91(0x2,_0x3f0f0b[_0x51f045(0x266)]),_0x59cd91(0x3,_0x3e5fea[_0x51f045(0x385)]),_0x59cd91(0x4,_0x3f0f0b[_0x51f045(0x369)])],_0x47f5c6[_0x51f045(0x316)]);var _0x34ec2f=Object[_0x51f045(0x269)],_0x5ab8fb=Object['getOwnPropertyDescriptor'],_0x354bc5=(_0x38d6ad,_0x14bf4a,_0x340185)=>_0x14bf4a in _0x38d6ad?_0x34ec2f(_0x38d6ad,_0x14bf4a,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x340185}):_0x38d6ad[_0x14bf4a]=_0x340185,_0x52ebdf=(_0x2031ff,_0x4b4194,_0x54d885,_0x557362)=>{var _0x440c66=_0x51f045;for(var _0x24e444=_0x557362>0x1?void 0x0:_0x557362?_0x5ab8fb(_0x4b4194,_0x54d885):_0x4b4194,_0x4c29ec=_0x2031ff[_0x440c66(0x1fb)]-0x1,_0x28eafe;_0x4c29ec>=0x0;_0x4c29ec--)(_0x28eafe=_0x2031ff[_0x4c29ec])&&(_0x24e444=_0x28eafe(_0x24e444)||_0x24e444);return _0x24e444;},_0x2a8c40=(_0x5eed1a,_0x396aa9)=>(_0x51a9d4,_0x3ad535)=>_0x396aa9(_0x51a9d4,_0x3ad535,_0x5eed1a),_0x206c07=(_0x17a4da,_0x565e0b,_0xad6b73)=>_0x354bc5(_0x17a4da,_0x565e0b+'',_0xad6b73);const _0xd175e1=_0x51f045(0x277);_0x47f5c6['UniverCollaborationClientPlugin']=class extends _0x3f0f0b[_0x51f045(0x262)]{constructor(_0x5db5b2,_0x403cf7,_0x3982a3,_0x57292f){var _0xb0059=_0x51f045;super(),_0x48d230(this,_0xb0059(0x3af)),(this['_logService']=_0x403cf7,this['_injector']=_0x3982a3,this['_configService']=_0x57292f);const {..._0x4c9b2f}=_0x3f0f0b[_0xb0059(0x46d)]({},_0x53d6ac,_0x5db5b2);if(!_0x4c9b2f[_0xb0059(0x1f6)])throw new Error('[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!');this[_0xb0059(0x3af)]=_0x4c9b2f,this[_0xb0059(0x20c)][_0xb0059(0x1a6)](_0xd902f1,_0x4c9b2f);}[_0x51f045(0x296)](){var _0x194132=_0x51f045;this[_0x194132(0x488)](),this[_0x194132(0x492)]();}[_0x51f045(0x488)](){var _0x3858ff=_0x51f045,_0x4d5540,_0x127c65;this['_injector']['has'](_0x3f0f0b['IUndoRedoService'])&&this[_0x3858ff(0x468)][_0x3858ff(0x199)](_0x3858ff(0x260),_0x3858ff(0x3ca));const _0xb6d91f=_0x3f0f0b['mergeOverrideWithDependencies']([[_0x3f0f0b[_0x3858ff(0x399)],{'useClass':_0x47f5c6[_0x3858ff(0x316)]}],[_0x47f5c6[_0x3858ff(0x465)]],[_0x47f5c6['MemberService']],[_0x47f5c6[_0x3858ff(0x2d6)]],[_0x3a8a80],[_0x3acbed],[_0x1d23d9],[_0x13e37e],[_0x4e0ff7],[_0x47f5c6['DataLoaderService']],[_0x892c43,{'useClass':this['_config'][_0x3858ff(0x1f6)]}],[_0x3e5fea[_0x3858ff(0x1fe)],{'useClass':_0x47f5c6['SnapshotServerOverHTTPService']}],[_0x3f0f0b['IAuthzIoService'],{'useClass':_0x47f5c6[_0x3858ff(0x2ce)]}],[_0x3ce3fa[_0x3858ff(0x455)],{'useClass':_0x47f5c6[_0x3858ff(0x4e0)]}],[_0x3f0f0b['IMentionIOService'],{'useClass':_0x47f5c6[_0x3858ff(0x32e)]}],[_0x47f5c6[_0x3858ff(0x27e)]],[_0x311598]],(_0x4d5540=this[_0x3858ff(0x3af)])==null?void 0x0:_0x4d5540['override']);if(!((_0x127c65=this[_0x3858ff(0x3af)])!=null&&_0x127c65[_0x3858ff(0x280)])){const _0x4f429f=_0xb6d91f[_0x3858ff(0x4af)](([_0x4f600d])=>_0x4f600d===_0x3a1006);_0x4f429f!==-0x1&&_0xb6d91f['splice'](_0x4f429f,0x1);}_0x3f0f0b[_0x3858ff(0x1d3)](this[_0x3858ff(0x4c3)],_0xb6d91f);}[_0x51f045(0x492)](){var _0x59a25c=_0x51f045,_0x47a86d,_0x214e53,_0x5aff70;this['_injector'][_0x59a25c(0x24e)](_0x556866[_0x59a25c(0x258)])[_0x59a25c(0x408)]({'priority':0x14,'interceptor':_0x556866['ThresholdInterceptorFactory']({'maxParallel':0x6})}),(_0x47a86d=this[_0x59a25c(0x3af)])!=null&&_0x47a86d[_0x59a25c(0x275)]||(_0x214e53=this[_0x59a25c(0x4c3)]['get'](_0x2f7041,_0x3f0f0b[_0x59a25c(0x3b3)]['OPTIONAL']))==null||_0x214e53['disableLocalCache'](),(_0x5aff70=this['_config'])!=null&&_0x5aff70['enableAuthServer']&&_0x3f0f0b[_0x59a25c(0x22d)](this[_0x59a25c(0x4c3)],[[_0x3a8a80]]),_0x3f0f0b[_0x59a25c(0x22d)](this['_injector'],[[_0x3acbed],[_0x47f5c6[_0x59a25c(0x27e)]],[_0x13e37e]]);}},_0x206c07(_0x47f5c6[_0x51f045(0x2cd)],_0x51f045(0x420),_0xd175e1),_0x47f5c6[_0x51f045(0x2cd)]=_0x52ebdf([_0x3f0f0b[_0x51f045(0x4e2)](_0x3e5fea[_0x51f045(0x3c3)],_0x556866[_0x51f045(0x383)]),_0x2a8c40(0x1,_0x3f0f0b['ILogService']),_0x2a8c40(0x2,_0x3f0f0b[_0x51f045(0x490)](_0x3f0f0b[_0x51f045(0x1c3)])),_0x2a8c40(0x3,_0x3f0f0b[_0x51f045(0x496)])],_0x47f5c6[_0x51f045(0x2cd)]),_0x47f5c6[_0x51f045(0x1a4)]=_0x2469af,_0x47f5c6[_0x51f045(0x304)]=_0xd902f1,_0x47f5c6[_0x51f045(0x198)]=_0x521227,_0x47f5c6[_0x51f045(0x191)]=_0xd9445,_0x47f5c6['CollaborationStatus']=_0x3580e9,_0x47f5c6[_0x51f045(0x3f9)]=_0xe3fca5,_0x47f5c6[_0x51f045(0x2bf)]=_0x4e0ff7,_0x47f5c6[_0x51f045(0x2bb)]=_0x1d23d9,_0x47f5c6['DEFAULT_COLLAB_WEB_SOCKET_URL']=_0x1de59f,_0x47f5c6[_0x51f045(0x194)]=_0x14bba9,_0x47f5c6[_0x51f045(0x388)]=_0x108228,_0x47f5c6[_0x51f045(0x4b2)]=_0x1252c5,_0x47f5c6[_0x51f045(0x36d)]=_0xae207,_0x47f5c6['ICollaborationSocketService']=_0x892c43,_0x47f5c6[_0x51f045(0x1a5)]=_0x2f7041,_0x47f5c6['INetworkConditionService']=_0xf00d80,_0x47f5c6['ISingleActiveUnitService']=_0x3a1006,_0x47f5c6['LOCAL_CACHE_INTERVAL']=0x3e8,_0x47f5c6['LOCAL_CACHE_INTERVAL_KEY']=_0x41cf71,_0x47f5c6[_0x51f045(0x483)]=_0x53ce98,_0x47f5c6[_0x51f045(0x4c7)]=_0x31c33c,_0x47f5c6[_0x51f045(0x311)]=_0x17bcd8,_0x47f5c6[_0x51f045(0x240)]=_0x1133f7,_0x47f5c6[_0x51f045(0x41f)]=_0x5a94ec,_0x47f5c6[_0x51f045(0x2fa)]=_0x6f33ea,_0x47f5c6[_0x51f045(0x23c)]=_0x377f3b,_0x47f5c6[_0x51f045(0x2cf)]=_0x11c521,_0x47f5c6[_0x51f045(0x24b)]=_0x4dcd59,_0x47f5c6[_0x51f045(0x2db)]=_0x2590ab,_0x47f5c6[_0x51f045(0x452)]=_0x269e4c,Object['defineProperty'](_0x47f5c6,Symbol['toStringTag'],{'value':_0x51f045(0x1aa)});}));