@univerjs-pro/collaboration-client 0.6.6-nightly.202503191607 → 0.6.6-nightly.202503201607
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +9 -9
package/lib/umd/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
function _0x1e16(){var _0x4aa424=['liveShareNewHost','/block/','_createHmacHelper','offline','MentionType','_awaitingChangeset','SEND_CHANGESET_TIMEOUT','_listenToNetworkCondition','patch','loadOfflineData','UniverInstanceType','[CollaborationState]:\x20apply\x20error!','dispose','_config','target','shouldCloseConn','random','@univerjs-pro/collaboration','image/jpeg','forEach','AwaitingState','CollaborationSocketService','COLLAB_SUBMIT_CHANGESET_URL_KEY','reverse','collabSubmitChangesetUrl','LEAVE','isTransformMutationsWithChangesetFailure','_clearRetryConnectingTimer','CBC','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','authzUrl','RevisionService','get','_candidateSocket','objectActions','title','objectID','UnitStatus','concatMap','complete','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','/role','_createHandler','unitInfo$','SheetCollaborationEntity','SYNCED','rev','IUndoRedoService','sheets','BlockCipher','error','includes','Random\x20bytes\x20length\x20must\x20be\x20>=\x2016','Malformed\x20UTF-8\x20data','find','UserManagerService','ISnapshotServerService','CommentService','_createSocket','open$','UniverDrawing','location','collaborators','mutations','UniverDocs','PERMISSION_REJ','image/bmp','CHANGESET_SHOULD_RETRY','NEW_CHANGESETS','FETCH_MISS','PasswordBasedCipher','_clearRedo','SnapshotServerOverHTTPService','joinEvent','enableOfflineEditing','IContextService','generateRandomId','_getCurrentRevision','_tryReconnect','src','_init','SOCKET_FAILED','_keyPriorReset','DependentOn','/universer-api/authz','key','clear','2OuEAtM','42UFwPcA','Latin1','Rectangle','BASE64','_resendTimer','infoRsp','session.room-cnt-exceeds','PENDING','setConfig','_lockTransition','onRemoteAck','AuthzIoHttpService','removeMember','_members$','_queuedRemoteChangesets','_eventService','_logService','_reverseMap','put','disposeWithMe','115619NVHHyb','/unit/','AUTHZ_URL_KEY','__creator','_startCollaboration','HELLO','putCollaborators','randomBytes','_unitInfo$','SNAPSHOT_SERVER_URL_KEY','_schedule','every','clone','COMPLETION_FINISHED','onMissedChangesetFetched','originalMeta','SnapshotService','getUnitStatus$','@univerjs/sheets','processBlock','selections','BlockCipherMode','_telemetryInfo','session.join-failed','RxDisposable','actions','ThresholdInterceptorFactory','lib','_substituteRedoStack','SessionStatus','UNIVER_COLLABORATION_CLIENT_PLUGIN','collaboratorID','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','socket\x20close','UNRECOGNIZED','HEARTBEAT_INTERVAL','CONFLICT','ENSURE_SNAPSHOT_EXECUTION','compute','image/png','\x20-\x20','_onOffline','/universer-api/user/session-ticket','JOINING','CollaborationController','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','COMPRESS_MUTATION_SEND','fetchThroughInterceptors','send','getTime','listRoles','_remoteChangesetQueue','_initCloseConn','@univerjs/drawing','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','transformUndoRedo','APPLY_NON_SEQUENTIAL_REVISION','JOIN_ROOM_FAILED','_prevBlock','_undoStacks','parseProtocolChangeset','sendChangesetTimeout','1975233mQbhaG','CommandType','UniverCollaborationPlugin','transformChangesets','slice','Hex','getCurrentSelections','TOO_MANY_REQUESTS','getUnitType','pad','BehaviorSubject','YUUMI_RATE_OVER_LIMIT','Undefined','_getRedoStack','_transformStateCache','HttpExport','length','LIVESHARE_OPERATION','debug','_telemetryService','now','data','Workbook','_nDataBytes','prototype','collaMsg','getMember','MUTATION','set','getTypeOfUnitAdded$','ITransformService','UNKNOWN_CMD','_submitChangeset','ICollaborationSocketService','registerHTTPInterceptor','InsertSheetMutation','@univerjs/network','[PendingState]:\x20unhandled\x20univer\x20type:\x20','OfflineState','commentUpdateEvent','_throwTelemetryCollaborationNewChangeset','resolve','_updateLocalCache','AWAITING','function','localeService','_rescheduleHeartbeat','UUID','getTypeOfUnitDisposed$','_members','APPLY_REVISION_CONFILICT','close','findIndex','IDLE','max','/resources','action','_emitMembers','from','equals','_doFinalize','then','Injector','allowed','EvpKDF','onTransformRemoteChangesetByIMECache','post','reset','userID','66895wPvdBw','SetSelectionsOperation','Failed\x20to\x20update\x20permission\x20point','SerializableCipher','ILocalCacheService','_mode','_loadSheet','PendingState','PERSON','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','mode','has','_initMergeInterceptor','_roomMembers','BufferedBlockAlgorithm','getImage','_imageSourceCache','_handlerCallback','/universer-api/oidc/authpage','\x20to\x20','_replaceFileID','/universer-api/comb','Cipher','mapDocumentTypeToUniverType','People','enc','CollaborationUIEventId','[CollaborationSession]','MSG_FOR_ERROR','_createInitialStateImpl','entityInit$','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','_clearLocalCache','collaboration_new_changeset','blockSize','onRemoteChangeset','SUBMIT_CHANGESET_TIMEOUT','/universer-api/file/{fileID}/sign-url','kdf','salt','_socketReady','_state','toDisposable','shareReplay','_getLoginPath','_getSendChangesetTimeout','charCodeAt','operators','_onUserLeave','_sessions','status','baseRev','appendMutation','StreamCipher','CollaborationEvent','firstValueFrom','_roomCreated$','Disposable','/universer-api/stream/file/upload','createIdentifier','saveSnapshot','SheetTransformSelectionsService','getConfig','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','onRemoteRej','@univerjs/telemetry','Utf8','ERROR_IMAGE','filter','_hash','[FetchMissState]','/universer-api/snapshot','ILogService','substr','_collabSessionService','onTransformIME','collaboration-client.local-cache-service','DisposableCollection','_waitForHeartbeatResponse','commentUpdate$','_localeService','_onConnectionFailed','finalize','setCurrentUser','_removeRoom','_initRequestHeader','takeUntil','[CollaborationUndoRedoService]','YUUMI_URL_COL_OUT_OF_RANGE','memberID','_transformIMECache','closeSession','execute','__Key__','OFFLINE','touchDependencies','FETCH_MISSING','requestParams','failed\x20to\x20apply\x20missed\x20changesets!','_process','mixIn','unpad','4732TPeXUT','getResourcesRequest','subUnitId','_getSignURL','MD5','UNIVER_DOC','1693192xMmots','_state$','withCredentials','@univerjs-pro/license','crypto','DEFAULT_WS_SESSION_TICKET_URL','CHANGESET_ACK','_onConnectionOpen','merge','ciphertext','_iv','confirm','ISingleActiveUnitService','keySize','[CollaborationSessionService]:\x20socket\x20error','pending','_updateState','_singleActiveUnitService','onCommentUpdate','liveShareOperation','_applyRemoteChangeset','_nRounds','subscribe','onCommandExecuted','deserializeToCombResponse','OTHER_CLIENT_EDITING','editingUnit','fromCollab','GLOBAL_ROOMS_CNT_EXCEEDS','_decreaseWaiting','/-/object/-/batch_allowed','localCacheService','sigBytes','onSyncEditingCollabCursor','USERS_ENTER','_event$','updateOfflineData','COLLAB_WEB_SOCKET_URL','[PendingState]:\x20received\x20rejection.','Module','/fetchmissing?from=','INetworkConditionService','awaiting_with_pending','WordArray','encode','_append','COLLAB_SUBMIT_CHANGESET_URL','unitID','[SyncedState]:\x20received\x20acknowledgement.','getCollabEntity$','reconnect','executeCommand','string','deepClone','_timeoutTimer','Base','session','Inject','_transformRemoteChangesetByStateCache','createCollaborator','decryptBlock','_disableEditing','body','HEARTBEAT_INTERVAL_KEY','_tryEnsureSocket','OpenSSL','create','LocaleService','event$','socketService','_createInitialState','_ENC_XFORM_MODE','isArray','state$','_getUndoStack','OTHER_CLIENTS_EDITING','LIVESHARE_TERMINATE','Optional','_onCombEvent','_transformStack','NOT_COLLAB','CollaborationSession','[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.','indexOf','unknown','_joinRoom','_clearScheduledTask','100NsmxxQ','startTime','_oKey','_getCtorByUniverType','UNIVER_SLIDE','DocCollaborationEntity','hasOwnProperty','_onLocalMutation','unsubscribe','addImageSourceCache','680364FABdwS','list','_pendingMutations','UNAUTHENTICATED','[OfflineState]:\x20received\x20acknowledgement.','CollaborationSessionService','getOwnPropertyDescriptor','csRejEvent','_change$','socket$','fetching\x20missing\x20changesets\x20from\x20','abs','IMentionIOService','UPDATE_CURSOR','JOIN_ROOM_FULL','session.room-full','USERS_LEAVE','getAllMembers','CollaborativeUndoRedoService','CLOSE_ROOM','_scheduleCollaborationTimeoutTimer','cmd','roomInfos','POST','href','extend','_handler','_updateStatus','_replayCachedMutations','UNIVER_UNKNOWN','_clearTimeoutTimer','_iKey','capture','_syncEditingCollabCursor','joinRsp','loadSheet','push','amd','_sendHeartbeat','_minBufferSize','resourceIDs','submit\x20changeset\x20error!','_socketService','getCollabEntity','ICommandService','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','JOIN_ROOM_PERMISSION_DENIED','close$','_instanceService','snapshotServerUrl','JOIN_ROOM_NOT_EXISTS','createEncryptor','_transformSelections','Subject','_memberService','_hasher','delete','_createHelper','_permissionService','_doReset','_undoRedoService','RichTextEditingMutation','_sender','join','onMissingChangesets','SUCCUSS','_transformService','INVALID_ARGUMENT','getInterceptPoints','EmptyMutation','_onRemoteChangeset','__esModule','_retryCount','take','transformMutationsWithChangeset','_fetchMissChangesets','_entityInit$','CollaborationImageIoService','CONNECTOR_DATA_TOO_LARGE','&to=','resend','ONLINE','MergeInterceptorFactory','rxjs','save\x20fail\x20reason\x20is\x20','_parse','$super','routeKey','name','session.room-not-exists','floor','HEARTBEAT','override','asObservable','state','_onConflict','CHANGESET_REJ','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','toStringTag','_networkConditionService','workbook','ImageSourceType','encrypt','LOCAL_CACHE_INTERVAL_KEY','RETRY_CONNECTING_MAX_COUNT_KEY','LOCAL_CACHE_INTERVAL','reqId','setWaitCount','APPLY_DUPLICATED','_socketMessageSubscription','_resendWithTimeout','awaiting','toggleOffline','UniverProLicense','\x20in\x20_schedule.','_substituteUndoStack','UniverCollaborationClientPlugin','type','CollaborationStatus','sessionStatus','_onRemoteRejected','_collaborationSessionService','enableAuthServer','JOIN','_getAPIPrefixPath','LIVESHARE_FETCH_OPERATIONS','SOCKET_FAILED_RETRY','range','_onFetchMissResult','HEARTBEAT_TIMEOUT','LICENSE_MAX_UNITS_EXCEEDED','univer-pro.collaboration-client.network-condition.service','CipherParams','LICENSE_EXPORT_SIZE_EXCEEDED','disableLocalCache','IUniverInstanceService','default','json','transformSelections','code','ceil','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_entities','refreshPermission','_collaborationUIEventService','AwaitingWithPendingState','_changesetSessionId','ISocketService','SUBMIT_CHANGESET','_status$','_sendHeartbeatTimer','reduce','getUnitId','charAt','SHOULD_CLOSE_CONN','Encryptor','init','SNAPSHOT_URL_KEY','UniverCore','_map','apply','RECV','ALREADY_EXISTS','/allowed','online$','headers','_onRecvEvent','newCsEvent','result','splice','duration','_exhaustRemoteChangesetQueue','CompressMutationService','YUUMI_SUBSCRIPTION_NOT_FOUND','error$','_waitCount','getRandomValues','isTransformMutationsWithChangesetSuccess','_configService','catch','_type','c1Prime','univer-pro.collaboration-client-socket-service','_onMessage','emitEvent','getMemberID','_scheduleCompleteTimestamp','_acknowledgedAwaitingChangeset','leaveEvent','csAckEvent','_key','UniverNetwork','@univerjs/docs','/new_changes','LIVESHARE_NEW_HOST','SNAPSHOT_HAS_BEEN_REMOVED','HTTPService','_xformMode','reject','_isPermissionRej','url','fetchMissingChangesets','UNIVER_PROJECT','_clearUndo','pipe','HMAC','UNIVER_SHEET','onStarting','msCrypto','_transformUndoredo','PSEUDO_FETCH_MISSING_RESULT','_sheetTransformSelectionsService','/universer-api/snapshot/','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','fetchMiss','WorkbookEditablePermission','_sessionStatus$','defineProperty','sid','INTERNAL_ERROR','_initDependencies','LIVESHARE_REQUEST_HOST','OPTIONAL','bind','ReplaySubject','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','fromCharCode','toString','image/gif','UNISCRIPT_RUN','update','_onJoinRoomEvent','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','synced','getRoom','revision','sin','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','_retryConnectingTimer','incrementRevOfUnit','CollaborationUIEventService','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','concat','getCurrentUser','updateMember','_collaborationTimeoutTimer','&source=','[CollaborationSessionService]','saveSheetBlock','INGEST','200KIjgKe','stringify','_commentService','responseType','_keySchedule','params','COLLAB_WEB_SOCKET_URL_KEY','SHA1','_commentUpdate$','c2Prime','_localCacheService','UNDEFINED','eventID','size','LICENSE_IMPORT_SIZE_EXCEEDED','_invKeySchedule','randomUUID','initWorkbookPermissionChange','ivSize','rng','LICENSE_DISTRO_REJECTED','status$','UniverSheets','_onRemoteACK','_userManagerService','onSendChangeset','DEFAULT_FILE_NAME','_onUserJoin','[CollaborationEntity]','COMMENT_UPDATE','_redoStacks','JSONX','_HTTPService','HTTPRequest','_DEC_XFORM_MODE','members','APPLY_REJECT','m2Prime','_univerInstanceService','getSheetBlock','add','_getUploadFileURL','_loadDoc','_registerDependencies','updateCursorEvent','waitForRoom$','stopTime','HmacSHA1','_doCryptBlock','_transitionLocked','isTransformChangesetsSuccess','onload','getCurrentRevOfUnit','_clearCollaborationTimeoutTimer','createInstance','LocalUndoRedoService','unitId','NO_OTHER_CLIENTS_EDITING','UnitSnapshot','AWAITING_WITH_PENDING','IConfigService','_socket','[DataLoaderService]','focused$','YUUMI_UNABLE_LOAD_URL','19140891ccIquq','_httpService','startsWith','message$','getUnitOnRev','COMPRESS_MUTATION_APPLY','Pkcs7','/object','_revisionService','getImageSourceCache','_injector','FileId','onTransformSelections','_getAPIPrefix','DataLoaderService','_startTelemetryCollaborationNewChangeset','Hasher','algo','IPermissionService','_changesetReqId','ImageUploadStatusType','parse','onTransformRemoteChangesetByStateCache','_collaborationPaused','Univer','uploadFileServerUrl','textRanges','members$','requireSession','pauseCollaboration','?size=','isPermissionRej','isInternalEditorID','SNAPSHOT_INVALID_SNAPSHOT','cfg','textEncoder','_getDownloadEndpointURL','compose','/object/','PY_RUNTIME_SCRIPT_ERROR','/collaborator','encodeURIComponent','connection\x20error','updateCollaborator','dispose$','Tools','_incrementRevisionNumber','SyncedState','addHandlerCallback','DEFAULT_COLLAB_WEB_SOCKET_URL','createDecryptor','UnitEmbedded','IImageIoService','_resendTimeout','interceptor','subject','\x0aAfter:\x20','_transformRemoteChangesetByIMECache','clamp','method','ws://127.0.0.1:8000/universer-api/comb/connect','toggleOnline','onStateChange','_checkMissing','awaitingChangeset','_doProcessBlock','FetchingMissState','fetch_missing','_commandService','UniverTelemetry','_onRemoteRetry','_unitID','onTransformState','enableSingleActiveInstanceLock','loginUrlKey','pluginName','iterations','updatePermissionPoint','editing\x20status\x20changed\x20to','_compressMutationService','NoPadding','_data','collaboration-client.config','exports','replace','_unlockTransition','socket\x20open.','ConflictState','MemberService','padding','onlyLocal','CollaborationEntity','change$','PERMISSION_DENIED','decrypt','next','getLatestCsReqIdBySid','_socket$','roles','LOGIN_URL_KEY','hasher','UPDATE_PERMISSION_OBJ','objectType','HmacMD5','NOT_FOUND','_cipher','Base64','APPLY_PERMISSION_DENIED','telemetry\x20info\x20is\x20not\x20initialized','AES','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','call','sessionStatus$','MentionIoHttpService','UNKNOWN_CODE','HttpImport','snapshot','map','onRemoteRetry','IAuthzIoService','_stopTelemetryCollaborationNewChangeset','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','_sendingTimer','readyForCollab','collabWebSocketUrl','parseChangesetToProtocol','_executeRemoteChangeset','sequenceExecute','@univerjs/core','format','words','delay','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','onLocalMutation','_clearHeartbeatTimer','ERROR_EXCEED_SIZE','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','_shouldReportTelemetry','avatar','getFocusedUnit','_snapshotService','rxjs/operators'];_0x1e16=function(){return _0x4aa424;};return _0x1e16();}function _0x47c2(_0x14352c,_0x1e6dbd){var _0x1e16ff=_0x1e16();return _0x47c2=function(_0x47c221,_0xea43d1){_0x47c221=_0x47c221-0x94;var _0x12491a=_0x1e16ff[_0x47c221];return _0x12491a;},_0x47c2(_0x14352c,_0x1e6dbd);}(function(_0x55ef99,_0x134734){var _0x11faa9=_0x47c2,_0x2bde84=_0x55ef99();while(!![]){try{var _0xd8403b=-parseInt(_0x11faa9(0x112))/0x1*(-parseInt(_0x11faa9(0x400))/0x2)+-parseInt(_0x11faa9(0xcd))/0x3+-parseInt(_0x11faa9(0x179))/0x4*(parseInt(_0x11faa9(0x2da))/0x5)+parseInt(_0x11faa9(0x401))/0x6*(-parseInt(_0x11faa9(0x415))/0x7)+parseInt(_0x11faa9(0x17f))/0x8+-parseInt(_0x11faa9(0x1e0))/0x9*(parseInt(_0x11faa9(0x1d6))/0xa)+parseInt(_0x11faa9(0x31b))/0xb;if(_0xd8403b===_0x134734)break;else _0x2bde84['push'](_0x2bde84['shift']());}catch(_0x1a563a){_0x2bde84['push'](_0x2bde84['shift']());}}}(_0x1e16,0x6bbe3),function(_0x51a0c5,_0x37dea1){var _0x4b8424=_0x47c2;typeof exports=='object'&&typeof module<'u'?_0x37dea1(exports,require(_0x4b8424(0x39b)),require(_0x4b8424(0x233)),require(_0x4b8424(0x3a8)),require(_0x4b8424(0x3ba)),require('@univerjs/network'),require(_0x4b8424(0x154)),require(_0x4b8424(0x2a0)),require('@univerjs/sheets'),require(_0x4b8424(0xc4)),require(_0x4b8424(0x182))):typeof define==_0x4b8424(0xf9)&&define[_0x4b8424(0x205)]?define([_0x4b8424(0x36e),_0x4b8424(0x39b),_0x4b8424(0x233),'rxjs/operators','@univerjs-pro/collaboration',_0x4b8424(0xf1),_0x4b8424(0x154),_0x4b8424(0x2a0),_0x4b8424(0xa1),_0x4b8424(0xc4),_0x4b8424(0x182)],_0x37dea1):(_0x51a0c5=typeof globalThis<'u'?globalThis:_0x51a0c5||self,_0x37dea1(_0x51a0c5['UniverProCollaborationClient']={},_0x51a0c5[_0x4b8424(0x27e)],_0x51a0c5[_0x4b8424(0x233)],_0x51a0c5[_0x4b8424(0x233)][_0x4b8424(0x142)],_0x51a0c5['UniverProCollaboration'],_0x51a0c5[_0x4b8424(0x29f)],_0x51a0c5[_0x4b8424(0x360)],_0x51a0c5[_0x4b8424(0x3e9)],_0x51a0c5[_0x4b8424(0x2f0)],_0x51a0c5[_0x4b8424(0x3e5)],_0x51a0c5[_0x4b8424(0x251)]));}(this,function(_0x3aa05b,_0x223e3d,_0x94b51a,_0x54b879,_0x39217d,_0x23fe84,_0x4f69fe,_0x444d4c,_0x3a7ecf,_0x2c2cd9,_0x229161){'use strict';var _0x25bc2e=_0x47c2;var _0x2f4fc8=Object[_0x25bc2e(0x2b9)],_0x4963b1=(_0x48ebbe,_0x3ca373,_0x45a9ed)=>_0x3ca373 in _0x48ebbe?_0x2f4fc8(_0x48ebbe,_0x3ca373,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x45a9ed}):_0x48ebbe[_0x3ca373]=_0x45a9ed,_0x427f66=(_0x365675,_0x8f9e26,_0x33998d)=>_0x4963b1(_0x365675,typeof _0x8f9e26!='symbol'?_0x8f9e26+'':_0x8f9e26,_0x33998d);const _0x4019f5=_0x25bc2e(0x98),_0x1fa31a=_0x25bc2e(0x15a),_0xc0c3ec='SNAPSHOT_URL_KEY',_0x3f1757=_0x25bc2e(0x3af),_0x11fd71=_0x25bc2e(0x1a4),_0x26ac59=_0x25bc2e(0x357),_0x57ac5f=_0x25bc2e(0xb9),_0xb53dff=_0x25bc2e(0xb2),_0x3c4235=_0x25bc2e(0x261),_0x31d749='RETRY_CONNECTING_MAX_COUNT',_0x542de='LOCAL_CACHE_INTERVAL',_0x5a4d16=_0x25bc2e(0x1ad),_0x668f7c=_0x25bc2e(0x128),_0x2d9159=_0x25bc2e(0x37e),_0x5442ec=_0x25bc2e(0x125),_0x11a36f='REMOTE_UNISCRIPT_EXECUTION_ENDPOINT',_0x5f1f34='/universer-api/uniscript';var _0x15bdae=(_0x115084=>(_0x115084[_0x115084[_0x25bc2e(0x2e5)]=0x0]=_0x25bc2e(0x2e5),_0x115084[_0x115084['OK']=0x1]='OK',_0x115084[_0x115084[_0x25bc2e(0x2bb)]=0x2]=_0x25bc2e(0x2bb),_0x115084[_0x115084['PERMISSION_DENIED']=0x3]='PERMISSION_DENIED',_0x115084[_0x115084[_0x25bc2e(0x383)]=0x4]=_0x25bc2e(0x383),_0x115084[_0x115084[_0x25bc2e(0x1e3)]=0x5]=_0x25bc2e(0x1e3),_0x115084[_0x115084[_0x25bc2e(0x282)]=0x6]=_0x25bc2e(0x282),_0x115084[_0x115084[_0x25bc2e(0x223)]=0x7]='INVALID_ARGUMENT',_0x115084[_0x115084[_0x25bc2e(0xd4)]=0x8]=_0x25bc2e(0xd4),_0x115084[_0x115084[_0x25bc2e(0x9c)]=0x9]=_0x25bc2e(0x9c),_0x115084[_0x115084['CHANGESET_REVISION_CONFILICT']=0x1389]='CHANGESET_REVISION_CONFILICT',_0x115084[_0x115084[_0x25bc2e(0x33c)]=0x1771]=_0x25bc2e(0x33c),_0x115084[_0x115084[_0x25bc2e(0x2a3)]=0x1772]=_0x25bc2e(0x2a3),_0x115084[_0x115084[_0x25bc2e(0xb4)]=0x1773]=_0x25bc2e(0xb4),_0x115084[_0x115084[_0x25bc2e(0x2fe)]=0x1b59]='APPLY_REJECT',_0x115084[_0x115084[_0x25bc2e(0xc7)]=0x1b5a]=_0x25bc2e(0xc7),_0x115084[_0x115084['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x25bc2e(0xff),_0x115084[_0x115084[_0x25bc2e(0x386)]=0x1b5c]=_0x25bc2e(0x386),_0x115084[_0x115084[_0x25bc2e(0x24c)]=0x1b5d]='APPLY_DUPLICATED',_0x115084[_0x115084[_0x25bc2e(0x22e)]=0x1f41]=_0x25bc2e(0x22e),_0x115084[_0x115084[_0x25bc2e(0x262)]=0x2329]=_0x25bc2e(0x262),_0x115084[_0x115084[_0x25bc2e(0x2b5)]=0x232a]=_0x25bc2e(0x2b5),_0x115084[_0x115084['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x25bc2e(0x2e8),_0x115084[_0x115084[_0x25bc2e(0x265)]=0x232c]=_0x25bc2e(0x265),_0x115084[_0x115084[_0x25bc2e(0x2ee)]=0x232d]=_0x25bc2e(0x2ee),_0x115084[_0x115084[_0x25bc2e(0x31a)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x115084[_0x115084[_0x25bc2e(0x16b)]=0x2712]=_0x25bc2e(0x16b),_0x115084[_0x115084[_0x25bc2e(0xd8)]=0x2713]=_0x25bc2e(0xd8),_0x115084[_0x115084[_0x25bc2e(0x28d)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x115084[_0x115084['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x25bc2e(0x342),_0x115084[_0x115084[_0x25bc2e(0xb1)]=-0x1]=_0x25bc2e(0xb1),_0x115084))(_0x15bdae||{}),_0x5e14aa=(_0x18a02e=>(_0x18a02e[_0x18a02e['UNIVER_UNKNOWN']=0x0]=_0x25bc2e(0x1fd),_0x18a02e[_0x18a02e['UNIVER_DOC']=0x1]=_0x25bc2e(0x17e),_0x18a02e[_0x18a02e['UNIVER_SHEET']=0x2]=_0x25bc2e(0x2ae),_0x18a02e[_0x18a02e['UNIVER_SLIDE']=0x3]=_0x25bc2e(0x1da),_0x18a02e[_0x18a02e[_0x25bc2e(0x2aa)]=0x4]=_0x25bc2e(0x2aa),_0x18a02e[_0x18a02e['UNRECOGNIZED']=-0x1]=_0x25bc2e(0xb1),_0x18a02e))(_0x5e14aa||{}),_0x320311=(_0x4ce4f0=>(_0x4ce4f0[_0x4ce4f0[_0x25bc2e(0xec)]=0x0]=_0x25bc2e(0xec),_0x4ce4f0[_0x4ce4f0[_0x25bc2e(0x94)]=0x1]=_0x25bc2e(0x94),_0x4ce4f0[_0x4ce4f0['JOIN']=0x2]=_0x25bc2e(0x25b),_0x4ce4f0[_0x4ce4f0[_0x25bc2e(0x3c2)]=0x3]=_0x25bc2e(0x3c2),_0x4ce4f0[_0x4ce4f0[_0x25bc2e(0x2d9)]=0x4]=_0x25bc2e(0x2d9),_0x4ce4f0[_0x4ce4f0[_0x25bc2e(0x23b)]=0x5]=_0x25bc2e(0x23b),_0x4ce4f0[_0x4ce4f0[_0x25bc2e(0x281)]=0x6]=_0x25bc2e(0x281),_0x4ce4f0[_0x4ce4f0[_0x25bc2e(0xb1)]=-0x1]='UNRECOGNIZED',_0x4ce4f0))(_0x320311||{}),_0x4078b6=(_0x4379ca=>(_0x4379ca[_0x4379ca[_0x25bc2e(0x38d)]=0x0]=_0x25bc2e(0x38d),_0x4379ca[_0x4379ca['OK']=0x1]='OK',_0x4379ca[_0x4379ca['FAIL']=0x2]='FAIL',_0x4379ca[_0x4379ca['JOIN_ROOM_FULL']=0x3e9]='JOIN_ROOM_FULL',_0x4379ca[_0x4379ca[_0x25bc2e(0x212)]=0x3ea]=_0x25bc2e(0x212),_0x4379ca[_0x4379ca[_0x25bc2e(0x20e)]=0x3eb]=_0x25bc2e(0x20e),_0x4379ca[_0x4379ca[_0x25bc2e(0x19b)]=0x3ec]=_0x25bc2e(0x19b),_0x4379ca[_0x4379ca[_0x25bc2e(0xb1)]=-0x1]='UNRECOGNIZED',_0x4379ca))(_0x4078b6||{}),_0x1d981a=(_0x2efb1b=>(_0x2efb1b[_0x2efb1b[_0x25bc2e(0xd9)]=0x0]=_0x25bc2e(0xd9),_0x2efb1b[_0x2efb1b[_0x25bc2e(0x38e)]=0x1]='HttpImport',_0x2efb1b[_0x2efb1b['HttpExport']=0x2]=_0x25bc2e(0xdc),_0x2efb1b[_0x2efb1b[_0x25bc2e(0x34e)]=0x3]='UnitEmbedded',_0x2efb1b[_0x2efb1b[_0x25bc2e(0x314)]=0x4]='UnitSnapshot',_0x2efb1b[_0x2efb1b[_0x25bc2e(0xb1)]=-0x1]=_0x25bc2e(0xb1),_0x2efb1b))(_0x1d981a||{});const _0x67dd2f=_0x25bc2e(0x36d),_0xaf982={};var _0x2ce557=(_0x1143bb=>(_0x1143bb[_0x25bc2e(0x198)]='OTHER_CLIENT_EDITING',_0x1143bb[_0x25bc2e(0x378)]=_0x25bc2e(0x378),_0x1143bb['CONFLICT']='CONFLICT',_0x1143bb[_0x25bc2e(0x1f3)]=_0x25bc2e(0x1f3),_0x1143bb['JOIN_ROOM_FAILED']=_0x25bc2e(0xc8),_0x1143bb[_0x25bc2e(0x25e)]=_0x25bc2e(0x25e),_0x1143bb[_0x25bc2e(0x3fa)]=_0x25bc2e(0x3fa),_0x1143bb[_0x25bc2e(0x137)]=_0x25bc2e(0x137),_0x1143bb))(_0x2ce557||{});class _0x5876ed{constructor(){var _0x26e6aa=_0x25bc2e;_0x427f66(this,_0x26e6aa(0x1a2),new _0x94b51a[(_0x26e6aa(0x215))]()),_0x427f66(this,_0x26e6aa(0x1c3),this['_event$'][_0x26e6aa(0x23d)]());}[_0x25bc2e(0x298)](_0x1d1008){var _0x51fb14=_0x25bc2e;this['_event$'][_0x51fb14(0x37a)](_0x1d1008);}}const _0x3c13f4=_0x223e3d[_0x25bc2e(0x14e)](_0x25bc2e(0x263));function _0x3c8130(_0x2c73dd){var _0x47d909=_0x25bc2e,_0x438810,_0x597788,_0x59d909,_0x450b04,_0x2f7da7;const _0x3414c0=_0x2c73dd[_0x47d909(0xe2)],_0x4c7f09=JSON[_0x47d909(0x330)](_0x3414c0);switch(_0x4c7f09[_0x47d909(0x1f5)]){case _0x320311[_0x47d909(0x23b)]:case _0x320311[_0x47d909(0x94)]:{const _0x9aa577=_0x4c7f09[_0x47d909(0x406)];return{..._0x4c7f09,'data':_0x9aa577,'cmd':_0x4c7f09[_0x47d909(0x1f5)]};}case _0x320311[_0x47d909(0x25b)]:{const _0x5d7bd0=_0x4c7f09[_0x47d909(0x202)];return{..._0x4c7f09,'data':_0x5d7bd0,'cmd':_0x4c7f09[_0x47d909(0x1f5)]};}case _0x320311[_0x47d909(0x281)]:{const _0x320c4d=_0x4c7f09[_0x47d909(0xe6)];switch(_0x320c4d[_0x47d909(0x2e6)]){case _0x39217d['CollaborationEvent'][_0x47d909(0x3ea)]:return{..._0x4c7f09,'data':{..._0x320c4d,'data':(_0x438810=_0x320c4d['permissionRejEvent'])==null?void 0x0:_0x438810['cs']},'cmd':_0x4c7f09[_0x47d909(0x1f5)]};case _0x39217d[_0x47d909(0x149)][_0x47d909(0x185)]:return{..._0x4c7f09,'data':{..._0x320c4d,'data':(_0x597788=_0x320c4d[_0x47d909(0x29d)])==null?void 0x0:_0x597788['cs']},'cmd':_0x4c7f09[_0x47d909(0x1f5)]};case _0x39217d[_0x47d909(0x149)][_0x47d909(0x3ed)]:return{..._0x4c7f09,'data':{..._0x320c4d,'data':(_0x59d909=_0x320c4d[_0x47d909(0x287)])==null?void 0x0:_0x59d909['cs']},'cmd':_0x4c7f09['cmd']};case _0x39217d['CollaborationEvent'][_0x47d909(0x240)]:return{..._0x4c7f09,'data':{..._0x320c4d,'data':(_0x450b04=_0x320c4d[_0x47d909(0x1e7)])==null?void 0x0:_0x450b04['cs']},'cmd':_0x4c7f09[_0x47d909(0x1f5)]};case _0x39217d['CollaborationEvent']['CHANGESET_SHOULD_RETRY']:return{..._0x4c7f09,'data':{..._0x320c4d,'data':(_0x2f7da7=_0x320c4d['csShouldRetryEvent'])==null?void 0x0:_0x2f7da7['cs']},'cmd':_0x4c7f09[_0x47d909(0x1f5)]};case _0x39217d[_0x47d909(0x149)][_0x47d909(0x1ed)]:return{..._0x4c7f09,'data':{..._0x320c4d,'data':_0x320c4d[_0x47d909(0x306)]},'cmd':_0x4c7f09[_0x47d909(0x1f5)]};case _0x39217d['CollaborationEvent'][_0x47d909(0x1a1)]:return{..._0x4c7f09,'data':{..._0x320c4d,'data':_0x320c4d[_0x47d909(0x3f2)]},'cmd':_0x4c7f09[_0x47d909(0x1f5)]};case _0x39217d[_0x47d909(0x149)][_0x47d909(0x1f0)]:return{..._0x4c7f09,'data':{..._0x320c4d,'data':_0x320c4d[_0x47d909(0x29c)]},'cmd':_0x4c7f09[_0x47d909(0x1f5)]};case _0x39217d['CollaborationEvent'][_0x47d909(0x2a2)]:return{..._0x4c7f09,'data':{..._0x320c4d,'data':_0x320c4d[_0x47d909(0x3a9)]},'cmd':_0x4c7f09['cmd']};case _0x39217d[_0x47d909(0x149)][_0x47d909(0x25d)]:case _0x39217d[_0x47d909(0x149)][_0x47d909(0xde)]:return{..._0x4c7f09,'data':{..._0x320c4d,'data':_0x320c4d[_0x47d909(0x192)]},'cmd':_0x4c7f09['cmd']};case _0x39217d[_0x47d909(0x149)][_0x47d909(0x1cb)]:return{..._0x4c7f09,'data':{..._0x320c4d,'data':_0x320c4d[_0x47d909(0x3a9)]},'cmd':_0x4c7f09[_0x47d909(0x1f5)]};case _0x39217d[_0x47d909(0x149)][_0x47d909(0x12f)]:return{..._0x4c7f09,'data':_0x320c4d,'cmd':_0x4c7f09[_0x47d909(0x1f5)]};case _0x39217d['CollaborationEvent']['COMMENT_UPDATE']:return{..._0x4c7f09,'data':{..._0x320c4d,'data':_0x320c4d[_0x47d909(0xf4)]},'cmd':_0x4c7f09['cmd']};case _0x39217d[_0x47d909(0x149)][_0x47d909(0x380)]:return{..._0x4c7f09,'data':{..._0x320c4d,'data':_0x320c4d['updatePermissionObjEvent']},'cmd':_0x4c7f09[_0x47d909(0x1f5)]};case _0x39217d[_0x47d909(0x149)][_0x47d909(0x27a)]:return{..._0x4c7f09,'data':{..._0x320c4d,'data':_0x320c4d[_0x47d909(0x3b8)]},'cmd':_0x4c7f09[_0x47d909(0x1f5)]};case _0x39217d['CollaborationEvent'][_0x47d909(0x2c5)]:return{..._0x4c7f09,'data':{..._0x320c4d,'data':_0x320c4d['uniscriptRunEvent']},'cmd':_0x4c7f09[_0x47d909(0x1f5)]};default:return _0x4c7f09;}}default:return _0x4c7f09;}}function _0x553b29(_0x252104){var _0x4238a5=_0x25bc2e;switch(_0x252104[_0x4238a5(0x1f5)]){case _0x320311['HEARTBEAT']:case _0x320311[_0x4238a5(0x94)]:return JSON[_0x4238a5(0x2db)]({'cmd':_0x252104[_0x4238a5(0x1f5)],'routeKey':_0x252104['routeKey']});case _0x320311[_0x4238a5(0x2d9)]:{let _0x4e6580;switch(_0x252104['data'][_0x4238a5(0x2e6)]){case _0x39217d[_0x4238a5(0x149)][_0x4238a5(0x1ed)]:{_0x4e6580={'eventID':_0x39217d[_0x4238a5(0x149)][_0x4238a5(0x1ed)],'updateCursorEvent':_0x252104[_0x4238a5(0xe2)][_0x4238a5(0xe2)]};break;}case _0x39217d[_0x4238a5(0x149)][_0x4238a5(0x1f0)]:{_0x4e6580={'eventID':_0x39217d[_0x4238a5(0x149)][_0x4238a5(0x1f0)],'leaveEvent':_0x252104[_0x4238a5(0xe2)][_0x4238a5(0xe2)]};break;}case _0x39217d['CollaborationEvent'][_0x4238a5(0x1a1)]:{_0x4e6580={'eventID':_0x39217d[_0x4238a5(0x149)]['USERS_ENTER'],'joinEvent':_0x252104[_0x4238a5(0xe2)]['data']};break;}case _0x39217d['CollaborationEvent'][_0x4238a5(0x2a2)]:{_0x4e6580={'eventID':_0x39217d[_0x4238a5(0x149)][_0x4238a5(0x2a2)],'liveShareNewHost':_0x252104[_0x4238a5(0xe2)][_0x4238a5(0xe2)]};break;}case _0x39217d[_0x4238a5(0x149)][_0x4238a5(0xde)]:{_0x4e6580={'eventID':_0x39217d[_0x4238a5(0x149)]['LIVESHARE_OPERATION'],'liveShareOperation':_0x252104[_0x4238a5(0xe2)]['data']};break;}case _0x39217d[_0x4238a5(0x149)]['LIVESHARE_TERMINATE']:{_0x4e6580={'eventID':_0x39217d[_0x4238a5(0x149)][_0x4238a5(0x1cb)],'liveShareTerminate':_0x252104['data'][_0x4238a5(0xe2)]};break;}case _0x39217d['CollaborationEvent'][_0x4238a5(0x2bd)]:{_0x4e6580={'eventID':_0x39217d['CollaborationEvent']['LIVESHARE_REQUEST_HOST'],'liveShareRequestHost':_0x252104['data'][_0x4238a5(0xe2)]};break;}case _0x39217d['CollaborationEvent'][_0x4238a5(0x25d)]:{_0x4e6580={'eventID':_0x39217d['CollaborationEvent'][_0x4238a5(0x25d)]};break;}default:_0x4e6580={'eventID':_0x252104[_0x4238a5(0xe2)][_0x4238a5(0x2e6)]};}return JSON['stringify']({'cmd':_0x252104['cmd'],'routeKey':_0x252104['routeKey'],'collaMsg':_0x4e6580});}case _0x320311[_0x4238a5(0x25b)]:return JSON['stringify']({'cmd':_0x252104[_0x4238a5(0x1f5)],'routeKey':_0x252104['routeKey'],'joinReq':_0x252104[_0x4238a5(0xe2)]});case _0x320311['LEAVE']:return JSON['stringify']({'cmd':_0x252104['cmd'],'routeKey':_0x252104['routeKey'],'leaveReq':_0x252104[_0x4238a5(0xe2)]});default:throw new Error(_0x4238a5(0x3a3));}}var _0xf7843a=Object[_0x25bc2e(0x1e6)],_0x231e33=(_0x22abdb,_0x272c34,_0x20a599,_0x5292ad)=>{var _0x400158=_0x25bc2e;for(var _0x11d35d=_0x5292ad>0x1?void 0x0:_0x5292ad?_0xf7843a(_0x272c34,_0x20a599):_0x272c34,_0x4f2bf9=_0x22abdb[_0x400158(0xdd)]-0x1,_0x20f8d6;_0x4f2bf9>=0x0;_0x4f2bf9--)(_0x20f8d6=_0x22abdb[_0x4f2bf9])&&(_0x11d35d=_0x20f8d6(_0x11d35d)||_0x11d35d);return _0x11d35d;},_0x35a98c=(_0x24fbcf,_0x2633e4)=>(_0x565f31,_0x3d1909)=>_0x2633e4(_0x565f31,_0x3d1909,_0x24fbcf);const _0x450019=_0x223e3d[_0x25bc2e(0x14e)](_0x25bc2e(0x296));function _0x46e5f7(_0x22bfc1,_0x416e6b,_0x599346){var _0x53669c=_0x25bc2e;return _0x22bfc1+'/'+_0x416e6b+_0x53669c(0x416)+_0x599346+_0x53669c(0x2a1);}_0x3aa05b[_0x25bc2e(0x3be)]=class extends _0x223e3d[_0x25bc2e(0x14c)]{constructor(_0xcb91f6,_0x177500,_0x283654,_0x238f1a,_0x2b57c5){var _0x164c1f=_0x25bc2e;super(),this['_injector']=_0xcb91f6,this[_0x164c1f(0x31c)]=_0x177500,this[_0x164c1f(0x292)]=_0x283654,this[_0x164c1f(0x411)]=_0x238f1a,this['_snapshotServerService']=_0x2b57c5;}['_doCreateSocket'](_0x215bff){var _0xc8a59=_0x25bc2e;const _0x547565=this[_0xc8a59(0x325)]['get'](_0x23fe84[_0xc8a59(0x273)]);if(!_0x547565)throw new Error(_0xc8a59(0x389));const _0x567420=_0x547565['createSocket'](_0x215bff);if(!_0x567420)throw new Error(_0xc8a59(0x132));const _0x56424a=new _0x223e3d[(_0xc8a59(0x160))](),_0x486f1a=new _0x94b51a['Subject']();_0x56424a[_0xc8a59(0x302)](_0x567420[_0xc8a59(0x20f)][_0xc8a59(0x195)](_0x7f7eee=>_0x486f1a[_0xc8a59(0x37a)](_0x7f7eee))),_0x56424a[_0xc8a59(0x302)](_0x223e3d['toDisposable'](()=>_0x486f1a[_0xc8a59(0x3d0)]()));const _0x2eafb0=new _0x94b51a[(_0xc8a59(0x215))]();_0x56424a['add'](_0x567420['error$'][_0xc8a59(0x195)](_0x207862=>_0x2eafb0['next'](_0x207862))),_0x56424a['add'](_0x223e3d[_0xc8a59(0x13d)](()=>_0x2eafb0['complete']()));const _0x1c579b=new _0x94b51a[(_0xc8a59(0x215))]();_0x56424a['add'](_0x567420['message$'][_0xc8a59(0x195)](_0x10f9f4=>{var _0x4288b4=_0xc8a59;const _0x22cc24=_0x3c8130(_0x10f9f4);_0x1c579b[_0x4288b4(0x37a)](_0x22cc24);})),_0x56424a[_0xc8a59(0x302)](_0x223e3d[_0xc8a59(0x13d)](()=>_0x1c579b[_0xc8a59(0x3d0)]()));let _0xfe6966;const _0x151c31=()=>{var _0x5c605e=_0xc8a59;_0x2eafb0[_0x5c605e(0x37a)](new Event('connection\x20error')),_0x486f1a[_0x5c605e(0x37a)](new Event(_0x5c605e(0x345))),_0xfe6966[_0x5c605e(0x100)]();};return _0xfe6966={'memberID':'','close$':_0x486f1a[_0xc8a59(0x23d)](),'error$':_0x2eafb0[_0xc8a59(0x23d)](),'open$':_0x567420['open$'],'message$':_0x1c579b[_0xc8a59(0x23d)](),'send':_0x2b8d5e=>{var _0x319c63=_0xc8a59;if(_0x2b8d5e[_0x319c63(0x1f5)]===_0x320311['INGEST']){if(_0x2b8d5e[_0x319c63(0xe2)][_0x319c63(0x2e6)]===_0x39217d[_0x319c63(0x149)]['SUBMIT_CHANGESET']){this['_submitChangeset'](_0xfe6966,_0x2b8d5e[_0x319c63(0xe2)])[_0x319c63(0x293)](_0x514a2d=>{this['_logService']['error'](_0x514a2d),_0x151c31();});return;}if(_0x2b8d5e['data']['eventID']===_0x39217d[_0x319c63(0x149)][_0x319c63(0x173)]){const _0x4dcd9f=_0x2b8d5e['data'];this[_0x319c63(0x22b)](_0x4dcd9f)[_0x319c63(0x10a)](_0x3c4932=>{var _0x288291=_0x319c63;_0x1c579b[_0x288291(0x37a)]({'cmd':_0x320311['RECV'],'code':_0x4078b6['OK'],'routeKey':_0x4dcd9f[_0x288291(0xe2)][_0x288291(0x1ae)],'routeType':'','data':{'eventID':_0x39217d['CollaborationEvent'][_0x288291(0x2b2)],'data':{'changesets':_0x3c4932}}});})[_0x319c63(0x293)](_0x133d86=>{var _0x4c9df8=_0x319c63;this[_0x4c9df8(0x411)][_0x4c9df8(0x3db)](_0x133d86),_0x151c31();});return;}}_0x567420[_0x319c63(0xbf)](_0x553b29(_0x2b8d5e));},'close':()=>{var _0x4e03d3=_0xc8a59;_0x567420[_0x4e03d3(0x100)](),_0x56424a['dispose']();}},_0xfe6966;}async[_0x25bc2e(0xed)](_0x5b6ed6,_0x1bbea7){var _0x3607c5=_0x25bc2e,_0x53eff1,_0x2afb2e;const {unitType:_0x28dde9,unitID:_0x28ce07,changeset:_0xf49df0}=_0x1bbea7[_0x3607c5(0xe2)],_0x5e1c0e={'unitID':_0x28ce07,'memberID':_0x5b6ed6[_0x3607c5(0x16c)],'type':_0x28dde9,'changeset':_0x39217d[_0x3607c5(0x398)](_0xf49df0)},_0x277ee6=this[_0x3607c5(0x292)][_0x3607c5(0x151)](_0x5a4d16),_0x10301a=this[_0x3607c5(0x292)][_0x3607c5(0x151)](_0x67dd2f),_0x422037=_0x46e5f7((_0x2afb2e=(_0x53eff1=_0x10301a==null?void 0x0:_0x10301a[_0x3607c5(0x3c1)])!=null?_0x53eff1:_0x277ee6)!=null?_0x2afb2e:_0x668f7c,_0x28dde9,_0x28ce07);try{await this['_httpService'][_0x3607c5(0x10f)](_0x422037,{'body':_0x5e1c0e});}catch(_0x55851e){throw this['_logService'][_0x3607c5(0x3db)](_0x3607c5(0x12e),_0x3607c5(0x209)),_0x55851e;}}async[_0x25bc2e(0x22b)](_0x134cd9){var _0x35a529=_0x25bc2e;const {unitID:_0x31a261,from:_0x1ce6b5,to:_0x53ce94,unitType:_0x222c29}=_0x134cd9['data'];return(await this['_snapshotServerService'][_0x35a529(0x2a9)]({'metadata':void 0x0},{'unitID':_0x31a261,'type':_0x222c29,'from':_0x1ce6b5,'to':_0x53ce94}))['changesets'];}},_0x3aa05b['CollaborationSocketService']=_0x231e33([_0x35a98c(0x0,_0x223e3d[_0x25bc2e(0x1b8)](_0x223e3d['Injector'])),_0x35a98c(0x1,_0x223e3d[_0x25bc2e(0x1b8)](_0x23fe84[_0x25bc2e(0x2a4)])),_0x35a98c(0x2,_0x223e3d[_0x25bc2e(0x316)]),_0x35a98c(0x3,_0x223e3d[_0x25bc2e(0x15b)]),_0x35a98c(0x4,_0x39217d[_0x25bc2e(0x3e1)])],_0x3aa05b[_0x25bc2e(0x3be)]);const _0xf9dcb2=_0x25bc2e(0x134);function _0x3a52ff(_0x2fa10b){var _0x1821d0=_0x25bc2e;return JSON[_0x1821d0(0x2db)](_0x2fa10b)['length'];}class _0x2384b8{constructor(){var _0x115b1a=_0x25bc2e;_0x427f66(this,_0x115b1a(0x2e2),new _0x94b51a['Subject']()),_0x427f66(this,_0x115b1a(0x162),this[_0x115b1a(0x2e2)][_0x115b1a(0x23d)]());}['onCommentUpdate'](_0x17ef91){var _0x5e81b2=_0x25bc2e;this[_0x5e81b2(0x2e2)][_0x5e81b2(0x37a)](_0x17ef91);}}var _0x131fa5=Object['getOwnPropertyDescriptor'],_0x5176f1=(_0x2c19c1,_0x36e344,_0x26ac01,_0x4ef6c9)=>{var _0x130aaf=_0x25bc2e;for(var _0x165f8a=_0x4ef6c9>0x1?void 0x0:_0x4ef6c9?_0x131fa5(_0x36e344,_0x26ac01):_0x36e344,_0x188793=_0x2c19c1[_0x130aaf(0xdd)]-0x1,_0x414fb7;_0x188793>=0x0;_0x188793--)(_0x414fb7=_0x2c19c1[_0x188793])&&(_0x165f8a=_0x414fb7(_0x165f8a)||_0x165f8a);return _0x165f8a;},_0x870392=(_0x5629c3,_0x1b9ea6)=>(_0x29d0fa,_0x3e4710)=>_0x1b9ea6(_0x29d0fa,_0x3e4710,_0x5629c3);_0x3aa05b[_0x25bc2e(0x373)]=class extends _0x223e3d[_0x25bc2e(0x14c)]{constructor(_0x3adae1,_0x52ecf9){var _0xbf568c=_0x25bc2e;super(),_0x427f66(this,_0xbf568c(0x120),new Map()),_0x427f66(this,'_roomCreated$',new _0x94b51a[(_0xbf568c(0x215))]()),(this[_0xbf568c(0x300)]=_0x3adae1,this['_userManagerService']=_0x52ecf9,this[_0xbf568c(0x414)](_0x94b51a['merge'](this[_0xbf568c(0x300)][_0xbf568c(0xfd)](_0x223e3d[_0xbf568c(0x3b3)][_0xbf568c(0x2ae)])[_0xbf568c(0x2ac)](_0x54b879[_0xbf568c(0x390)](_0x25c701=>_0x25c701[_0xbf568c(0x278)]())),this['_univerInstanceService'][_0xbf568c(0xfd)](_0x223e3d[_0xbf568c(0x3b3)][_0xbf568c(0x17e)])[_0xbf568c(0x2ac)](_0x54b879[_0xbf568c(0x390)](_0x3d27ac=>_0x3d27ac[_0xbf568c(0x278)]())),this[_0xbf568c(0x300)]['getTypeOfUnitDisposed$'](_0x223e3d[_0xbf568c(0x3b3)][_0xbf568c(0x1da)])[_0xbf568c(0x2ac)](_0x54b879[_0xbf568c(0x390)](_0x5ccb6e=>_0x5ccb6e[_0xbf568c(0x278)]())))[_0xbf568c(0x195)](_0x11e62c=>this['_removeRoom'](_0x11e62c))));}[_0x25bc2e(0x307)](_0x543f66){var _0xe54b8d=_0x25bc2e;return this[_0xe54b8d(0x120)][_0xe54b8d(0x11e)](_0x543f66)?_0x94b51a['of'](this[_0xe54b8d(0x120)][_0xe54b8d(0x3c9)](_0x543f66)):this[_0xe54b8d(0x14b)][_0xe54b8d(0x2ac)](_0x54b879['map'](_0x50f40c=>{var _0x452f1b=_0xe54b8d;if(_0x50f40c===_0x543f66)return this[_0x452f1b(0x120)][_0x452f1b(0x3c9)](_0x50f40c);}));}[_0x25bc2e(0x166)](_0x1247f2){var _0x165432=_0x25bc2e;this[_0x165432(0x2f2)]['setCurrentUser'](_0x1247f2);}[_0x25bc2e(0x2d3)](){var _0x5b5d91=_0x25bc2e;return this['_userManagerService'][_0x5b5d91(0x2d3)]();}[_0x25bc2e(0x2d4)](_0x2ce764,_0x14a4fe){var _0x2d223e=_0x25bc2e;let _0x165778=this[_0x2d223e(0x120)][_0x2d223e(0x3c9)](_0x2ce764);_0x165778||(_0x165778=new _0x14d817(),this[_0x2d223e(0x120)][_0x2d223e(0xe9)](_0x2ce764,_0x165778),this[_0x2d223e(0x14b)]['next'](_0x2ce764)),_0x165778[_0x2d223e(0x2d4)](_0x14a4fe);}[_0x25bc2e(0x40d)](_0x5d3c1a,_0x2bfe80){var _0x335d1c=_0x25bc2e;const _0x14b61e=this[_0x335d1c(0x120)][_0x335d1c(0x3c9)](_0x5d3c1a);_0x14b61e&&_0x14b61e[_0x335d1c(0x40d)](_0x2bfe80);}[_0x25bc2e(0x2ca)](_0x5a6c56){var _0x54400e=_0x25bc2e;return this['_roomMembers'][_0x54400e(0x3c9)](_0x5a6c56);}[_0x25bc2e(0xe7)](_0x35b693,_0x240bf3){var _0x467cc9=_0x25bc2e;const _0x28c4df=this[_0x467cc9(0x120)]['get'](_0x35b693);if(_0x28c4df)return _0x28c4df[_0x467cc9(0xe7)](_0x240bf3);}[_0x25bc2e(0x167)](_0x179523){var _0x48c704=_0x25bc2e;const _0x95109c=this[_0x48c704(0x120)][_0x48c704(0x3c9)](_0x179523);_0x95109c&&(_0x95109c[_0x48c704(0x3b5)](),this['_roomMembers'][_0x48c704(0x218)](_0x179523));}[_0x25bc2e(0x3b5)](){var _0xd1024b=_0x25bc2e;this['_roomMembers']['forEach'](_0x8283bd=>_0x8283bd[_0xd1024b(0x3b5)]()),this[_0xd1024b(0x120)][_0xd1024b(0x3ff)](),this[_0xd1024b(0x14b)][_0xd1024b(0x3d0)]();}},_0x3aa05b[_0x25bc2e(0x373)]=_0x5176f1([_0x870392(0x0,_0x223e3d['IUniverInstanceService']),_0x870392(0x1,_0x223e3d[_0x25bc2e(0x1b8)](_0x223e3d[_0x25bc2e(0x3e0)]))],_0x3aa05b[_0x25bc2e(0x373)]);class _0x14d817 extends _0x223e3d[_0x25bc2e(0x14c)]{constructor(){var _0x7c6f79=_0x25bc2e;super(...arguments),_0x427f66(this,'_members',new Map()),_0x427f66(this,_0x7c6f79(0x40e),new _0x94b51a[(_0x7c6f79(0xd7))](this[_0x7c6f79(0xfe)])),_0x427f66(this,_0x7c6f79(0x336),this['_members$'][_0x7c6f79(0x23d)]());}[_0x25bc2e(0x3b5)](){var _0x400c7a=_0x25bc2e;this[_0x400c7a(0xfe)][_0x400c7a(0x3ff)]();}[_0x25bc2e(0x2d4)](_0x87ec5d){var _0x37fd94=_0x25bc2e;this[_0x37fd94(0xfe)][_0x37fd94(0xe9)](_0x87ec5d[_0x37fd94(0x16c)],_0x87ec5d),this[_0x37fd94(0x106)]();}[_0x25bc2e(0x40d)](_0x5a27ff){this['_members']['delete'](_0x5a27ff);}['getMember'](_0x238f37){var _0x59538b=_0x25bc2e;return this['_members'][_0x59538b(0x3c9)](_0x238f37);}[_0x25bc2e(0x1f1)](){var _0x168486=_0x25bc2e;return Array[_0x168486(0x107)](this[_0x168486(0xfe)]['values']());}[_0x25bc2e(0x106)](){var _0x3b0e53=_0x25bc2e;this[_0x3b0e53(0x40e)][_0x3b0e53(0x37a)](this[_0x3b0e53(0xfe)]);}}var _0x3f4deb=Object[_0x25bc2e(0x1e6)],_0x2e2695=(_0x12cba3,_0x4c499b,_0x1e65ad,_0x1b8ae5)=>{var _0x21c371=_0x25bc2e;for(var _0x55408a=_0x1b8ae5>0x1?void 0x0:_0x1b8ae5?_0x3f4deb(_0x4c499b,_0x1e65ad):_0x4c499b,_0x397c15=_0x12cba3[_0x21c371(0xdd)]-0x1,_0x3807a5;_0x397c15>=0x0;_0x397c15--)(_0x3807a5=_0x12cba3[_0x397c15])&&(_0x55408a=_0x3807a5(_0x55408a)||_0x55408a);return _0x55408a;},_0x38cca6=(_0x5c7f11,_0x58cd38)=>(_0x4cab02,_0x1141f5)=>_0x58cd38(_0x4cab02,_0x1141f5,_0x5c7f11),_0x3034e7=(_0x598b75=>(_0x598b75[_0x598b75[_0x25bc2e(0x102)]=0x0]=_0x25bc2e(0x102),_0x598b75[_0x598b75['JOINING']=0x1]=_0x25bc2e(0xba),_0x598b75[_0x598b75['OFFLINE']=0x2]=_0x25bc2e(0x171),_0x598b75[_0x598b75[_0x25bc2e(0x231)]=0x3]=_0x25bc2e(0x231),_0x598b75))(_0x3034e7||{});const _0x382e8b={[_0x4078b6['FAIL']]:_0x25bc2e(0xa6),[_0x4078b6[_0x25bc2e(0x1ee)]]:_0x25bc2e(0x1ef),[_0x4078b6[_0x25bc2e(0x212)]]:_0x25bc2e(0x239),[_0x4078b6[_0x25bc2e(0x20e)]]:'session.room-permission-denied',[_0x4078b6[_0x25bc2e(0x19b)]]:_0x25bc2e(0x407)};_0x3aa05b['CollaborationSession']=class extends _0x223e3d[_0x25bc2e(0xa7)]{constructor(_0xc40b56,_0x312982,_0x537133,_0x48b4e2,_0x4cf41f,_0x235af0,_0x5c0da5,_0x1570aa,_0xc6084a){var _0x56d202=_0x25bc2e;super(),_0x427f66(this,_0x56d202(0x2b8),new _0x94b51a[(_0x56d202(0xd7))](0x0)),_0x427f66(this,_0x56d202(0x38b),this[_0x56d202(0x2b8)][_0x56d202(0x23d)]()),_0x427f66(this,_0x56d202(0x1a2),new _0x94b51a[(_0x56d202(0x215))]()),_0x427f66(this,_0x56d202(0x1c3),this['_event$'][_0x56d202(0x23d)]()),_0x427f66(this,_0x56d202(0x317)),_0x427f66(this,_0x56d202(0x24d)),_0x427f66(this,_0x56d202(0x2d5)),_0x427f66(this,_0x56d202(0x3a4),!0x1),_0x427f66(this,_0x56d202(0xa5),null),(this[_0x56d202(0x362)]=_0xc40b56,this['_logService']=_0x537133,this['_configService']=_0x48b4e2,this[_0x56d202(0x163)]=_0x4cf41f,this[_0x56d202(0x216)]=_0x235af0,this['_commentService']=_0x5c0da5,this[_0x56d202(0x270)]=_0x1570aa,this[_0x56d202(0xe0)]=_0xc6084a,this[_0x56d202(0x3a4)]=!!this[_0x56d202(0xe0)],_0x312982[_0x56d202(0x2ac)](_0x94b51a[_0x56d202(0x169)](this[_0x56d202(0x347)]))['subscribe'](_0x3ad9f4=>{var _0x57592f=_0x56d202,_0x6302e1;typeof _0x3ad9f4>'u'||(this[_0x57592f(0x317)]=_0x3ad9f4,_0x3ad9f4?(this[_0x57592f(0x1d4)](_0x3ad9f4),this['_socketMessageSubscription']=_0x3ad9f4[_0x57592f(0x31e)][_0x57592f(0x195)](_0x1aa2b9=>{var _0x35005d=_0x57592f;_0x1aa2b9[_0x35005d(0x237)]===this[_0x35005d(0x362)]&&this['_onCombEvent'](_0x1aa2b9);})):(this[_0x57592f(0xf5)](),this[_0x57592f(0x2b8)][_0x57592f(0x37a)](0x2),(_0x6302e1=this[_0x57592f(0x24d)])==null||_0x6302e1[_0x57592f(0x1de)](),this[_0x57592f(0x24d)]=null));}));}get[_0x25bc2e(0x257)](){var _0x95f74a=_0x25bc2e;return this[_0x95f74a(0x2b8)]['getValue']();}[_0x25bc2e(0x299)](){var _0x57b03f=_0x25bc2e,_0x57765d,_0x7786f1;return(_0x7786f1=(_0x57765d=this[_0x57b03f(0x317)])==null?void 0x0:_0x57765d[_0x57b03f(0x16c)])!=null?_0x7786f1:null;}['dispose'](){var _0x2353cf=_0x25bc2e;super[_0x2353cf(0x3b5)](),this['dispose$'][_0x2353cf(0x37a)](),this[_0x2353cf(0x347)][_0x2353cf(0x3d0)]();}[_0x25bc2e(0x100)](){var _0x277810=_0x25bc2e,_0x44f399,_0x56b217;this[_0x277810(0xf5)](),(_0x44f399=this[_0x277810(0x317)])==null||_0x44f399['send']({'cmd':_0x320311[_0x277810(0x3c2)],'data':{'roomID':this[_0x277810(0x362)]}}),(_0x56b217=this[_0x277810(0x317)])==null||_0x56b217['close'](),this[_0x277810(0x1a2)]['complete'](),this[_0x277810(0x2b8)][_0x277810(0x3d0)](),this[_0x277810(0x3b5)]();}[_0x25bc2e(0x1cd)](_0x5db446){var _0xacf986=_0x25bc2e;_0x5db446['cmd']===_0x320311[_0xacf986(0x25b)]?this[_0xacf986(0x2c7)](_0x5db446):_0x5db446[_0xacf986(0x1f5)]===_0x320311[_0xacf986(0x281)]&&this['_onRecvEvent'](_0x5db446);}[_0x25bc2e(0x1d4)](_0x1db9d4){var _0x2c44a6=_0x25bc2e;this[_0x2c44a6(0x2b8)][_0x2c44a6(0x37a)](0x1),_0x1db9d4[_0x2c44a6(0xbf)]({'cmd':_0x320311[_0x2c44a6(0x25b)],'routeKey':this[_0x2c44a6(0x362)],'routeType':'','data':{'rooms':[{'roomID':this[_0x2c44a6(0x362)]}]}});}[_0x25bc2e(0x2c7)](_0x160f92){var _0x1b213c=_0x25bc2e,_0x2cf0c7;if(_0x160f92['code']in _0x382e8b){this[_0x1b213c(0x270)]['emitEvent']({'id':_0x2ce557[_0x1b213c(0xc8)],'data':_0x382e8b[_0x160f92[_0x1b213c(0x26b)]]}),this[_0x1b213c(0x2b8)]['next'](0x2);return;}this[_0x1b213c(0x2b8)][_0x1b213c(0x37a)](0x3);const _0x5dc001=(_0x2cf0c7=_0x160f92[_0x1b213c(0xe2)][_0x1b213c(0x1f6)][this[_0x1b213c(0x362)]])==null?void 0x0:_0x2cf0c7[_0x1b213c(0x2fd)];_0x5dc001&&_0x5dc001[_0x1b213c(0x3bc)](_0x52dab1=>this['_memberService'][_0x1b213c(0x2d4)](this[_0x1b213c(0x362)],_0x52dab1));}[_0x25bc2e(0x286)](_0x1bc9d3){var _0x54e462=_0x25bc2e;try{const _0x43d9e6=_0x1bc9d3['data'];switch(_0x43d9e6['eventID']){case _0x39217d[_0x54e462(0x149)]['USERS_ENTER']:this[_0x54e462(0x2f5)](_0x43d9e6),this[_0x54e462(0x1a2)][_0x54e462(0x37a)](_0x43d9e6);break;case _0x39217d[_0x54e462(0x149)][_0x54e462(0x1f0)]:this[_0x54e462(0x143)](_0x43d9e6),this[_0x54e462(0x1a2)][_0x54e462(0x37a)](_0x43d9e6);break;case _0x39217d[_0x54e462(0x149)][_0x54e462(0x185)]:case _0x39217d['CollaborationEvent'][_0x54e462(0x3ec)]:this[_0x54e462(0x393)](),this[_0x54e462(0x30f)](),this['_event$'][_0x54e462(0x37a)](_0x43d9e6);break;case _0x39217d[_0x54e462(0x149)]['MSG_FOR_ERROR']:this[_0x54e462(0x411)][_0x54e462(0x3db)](_0x54e462(0x234)+JSON[_0x54e462(0x2db)](_0x43d9e6)),this[_0x54e462(0x1a2)]['next'](_0x43d9e6);break;case _0x39217d['CollaborationEvent'][_0x54e462(0x2f7)]:this[_0x54e462(0x2dc)][_0x54e462(0x191)](_0x43d9e6['data']),this['_event$'][_0x54e462(0x37a)](_0x43d9e6);break;default:this[_0x54e462(0x1a2)][_0x54e462(0x37a)](_0x43d9e6);}}catch(_0x5e308e){this['_logService']['error'](_0x5e308e,_0x1bc9d3);}}[_0x25bc2e(0x2f5)](_0x327d76){var _0x15ccc1=_0x25bc2e;this[_0x15ccc1(0x216)]['updateMember'](this['_unitID'],_0x327d76[_0x15ccc1(0xe2)]);}[_0x25bc2e(0x143)](_0x55f5e4){var _0x1d78d4=_0x25bc2e;this[_0x1d78d4(0x216)]['removeMember'](this['_unitID'],_0x55f5e4[_0x1d78d4(0xe2)][_0x1d78d4(0x16c)]);}async[_0x25bc2e(0xbf)](_0x898e44,_0x5ce28b){var _0x18dd6e=_0x25bc2e;if(this[_0x18dd6e(0x257)]!==0x3||!this[_0x18dd6e(0x317)])throw new Error(_0x18dd6e(0xc5));try{_0x898e44[_0x18dd6e(0x2e6)]===_0x39217d[_0x18dd6e(0x149)][_0x18dd6e(0x274)]&&(this[_0x18dd6e(0x1f4)](),this[_0x18dd6e(0x32a)](_0x898e44)),this['_socket'][_0x18dd6e(0xbf)]({'cmd':_0x320311[_0x18dd6e(0x2d9)],'routeKey':_0x5ce28b,'routeType':'','data':_0x898e44});}catch(_0x45b7bf){this[_0x18dd6e(0x411)]['error'](_0x45b7bf);}}[_0x25bc2e(0x1f4)](){var _0x5a4000=_0x25bc2e,_0x43d935;this['_collaborationTimeoutTimer']=setTimeout(()=>{var _0x5a57fe=_0x47c2;this[_0x5a57fe(0x2d5)]=null,this['_collaborationUIEventService']['emitEvent']({'id':_0x2ce557['SUBMIT_CHANGESET_TIMEOUT']});},(_0x43d935=this[_0x5a4000(0x292)][_0x5a4000(0x151)](_0x3c4235))!=null?_0x43d935:0x4e20);}['_clearCollaborationTimeoutTimer'](){var _0x233f8f=_0x25bc2e;this[_0x233f8f(0x2d5)]&&(clearTimeout(this[_0x233f8f(0x2d5)]),this[_0x233f8f(0x2d5)]=null);}['_startTelemetryCollaborationNewChangeset'](_0x5efe70){var _0x2d41ee=_0x25bc2e;if(!this[_0x2d41ee(0x3a4)])return;const {data:_0x120134}=_0x5efe70,{unitID:_0x338de6,changeset:_0x46e2f7}=_0x120134,{mutations:_0x2e44f0,type:_0xa6f42e}=_0x46e2f7;this['_telemetryInfo']={'unitId':_0x338de6,'type':_0xa6f42e,'startTime':performance[_0x2d41ee(0xe1)](),'stopTime':0x0,'duration':0x0,'size':_0x3a52ff(_0x2e44f0)};}[_0x25bc2e(0x393)](){var _0x2da43=_0x25bc2e;if(this['_shouldReportTelemetry']){if(!this[_0x2da43(0xa5)]){this['_logService'][_0x2da43(0x3db)](_0x2da43(0x12e),_0x2da43(0x387));return;}this[_0x2da43(0xa5)]['stopTime']=performance[_0x2da43(0xe1)](),this[_0x2da43(0xa5)][_0x2da43(0x28a)]=this[_0x2da43(0xa5)][_0x2da43(0x308)]-this[_0x2da43(0xa5)][_0x2da43(0x1d7)],this[_0x2da43(0xe0)][_0x2da43(0x200)](_0xf9dcb2,this[_0x2da43(0xa5)]),this[_0x2da43(0xa5)]=null;}}[_0x25bc2e(0xf5)](){this['_telemetryInfo']=null;}},_0x3aa05b[_0x25bc2e(0x1d0)]=_0x2e2695([_0x38cca6(0x2,_0x223e3d[_0x25bc2e(0x15b)]),_0x38cca6(0x3,_0x223e3d[_0x25bc2e(0x316)]),_0x38cca6(0x4,_0x223e3d['Inject'](_0x223e3d[_0x25bc2e(0x1c2)])),_0x38cca6(0x5,_0x223e3d[_0x25bc2e(0x1b8)](_0x3aa05b[_0x25bc2e(0x373)])),_0x38cca6(0x6,_0x223e3d[_0x25bc2e(0x1b8)](_0x2384b8)),_0x38cca6(0x7,_0x223e3d[_0x25bc2e(0x1b8)](_0x5876ed)),_0x38cca6(0x8,_0x223e3d[_0x25bc2e(0x1cc)](_0x4f69fe['ITelemetryService']))],_0x3aa05b[_0x25bc2e(0x1d0)]);var _0x2caaab=Object[_0x25bc2e(0x1e6)],_0x99e54e=(_0x1310ed,_0x4a4807,_0x218cee,_0x5b2609)=>{for(var _0x3c4ef3=_0x5b2609>0x1?void 0x0:_0x5b2609?_0x2caaab(_0x4a4807,_0x218cee):_0x4a4807,_0x6da02c=_0x1310ed['length']-0x1,_0x112dd7;_0x6da02c>=0x0;_0x6da02c--)(_0x112dd7=_0x1310ed[_0x6da02c])&&(_0x3c4ef3=_0x112dd7(_0x3c4ef3)||_0x3c4ef3);return _0x3c4ef3;},_0x4b6bcd=(_0x145757,_0x24cb59)=>(_0x2acb48,_0x58d367)=>_0x24cb59(_0x2acb48,_0x58d367,_0x145757);_0x3aa05b[_0x25bc2e(0x1e5)]=class extends _0x223e3d['Disposable']{constructor(_0x415c4e,_0x34cb33,_0x14067c,_0x1a0127,_0x485da8,_0x558f7d){var _0x1ed01e=_0x25bc2e;super(),_0x427f66(this,_0x1ed01e(0x37c),new _0x94b51a[(_0x1ed01e(0xd7))](void 0x0)),_0x427f66(this,_0x1ed01e(0x1e9),this['_socket$'][_0x1ed01e(0x23d)]()),_0x427f66(this,_0x1ed01e(0x3ca),null),_0x427f66(this,'_sessions',new Map()),_0x427f66(this,_0x1ed01e(0x275),new _0x94b51a[(_0x1ed01e(0xd7))](_0x3034e7[_0x1ed01e(0x102)])),_0x427f66(this,_0x1ed01e(0x2ef),this[_0x1ed01e(0x275)][_0x1ed01e(0x23d)]()),_0x427f66(this,_0x1ed01e(0x13b),!0x1),_0x427f66(this,_0x1ed01e(0x2ce)),_0x427f66(this,'_retryCount',0x0),_0x427f66(this,_0x1ed01e(0x276)),_0x427f66(this,'_timeoutTimer'),(this['_injector']=_0x415c4e,this['_logService']=_0x34cb33,this[_0x1ed01e(0x292)]=_0x14067c,this[_0x1ed01e(0x20a)]=_0x1a0127,this['_collaborationUIEventService']=_0x485da8,this[_0x1ed01e(0x243)]=_0x558f7d,this['_listenToNetworkCondition']());}get[_0x25bc2e(0x317)](){var _0x31a2f4=_0x25bc2e;return this[_0x31a2f4(0x37c)]['getValue']();}[_0x25bc2e(0x3b0)](){var _0x1e9f2f=_0x25bc2e;this[_0x1e9f2f(0x243)]&&this[_0x1e9f2f(0x414)](this[_0x1e9f2f(0x243)][_0x1e9f2f(0x284)][_0x1e9f2f(0x195)](_0x16ff60=>{var _0x170c9c=_0x1e9f2f;_0x16ff60&&!this[_0x170c9c(0x317)]&&this[_0x170c9c(0x1b1)](),_0x16ff60||this[_0x170c9c(0xb8)]();}));}[_0x25bc2e(0x3b5)](){var _0x2fb650=_0x25bc2e;super[_0x2fb650(0x3b5)](),this[_0x2fb650(0x3c4)](),this['_clearTimeoutTimer'](),this[_0x2fb650(0x3a1)](),this[_0x2fb650(0x144)][_0x2fb650(0x3bc)](_0x53b40a=>_0x53b40a[_0x2fb650(0x3b5)]()),this[_0x2fb650(0x144)][_0x2fb650(0x3ff)](),this[_0x2fb650(0x275)]['complete']();}async[_0x25bc2e(0x337)](_0x48ed29){var _0x4c7ed5=_0x25bc2e;if(this[_0x4c7ed5(0x144)]['has'](_0x48ed29))return this[_0x4c7ed5(0x144)]['get'](_0x48ed29);this[_0x4c7ed5(0x1bf)]();const _0x4a4bf4=this['_injector']['createInstance'](_0x3aa05b[_0x4c7ed5(0x1d0)],_0x48ed29,this[_0x4c7ed5(0x37c)][_0x4c7ed5(0x23d)]());return this[_0x4c7ed5(0x144)][_0x4c7ed5(0xe9)](_0x48ed29,_0x4a4bf4),_0x4a4bf4;}[_0x25bc2e(0x16e)](_0x4f6211){var _0x158572=_0x25bc2e,_0x38979d;const _0x2043bc=this[_0x158572(0x144)][_0x158572(0x3c9)](_0x4f6211);_0x2043bc&&(this[_0x158572(0x144)][_0x158572(0x218)](_0x4f6211),_0x2043bc['close']()),this['_sessions']['size']||(_0x38979d=this[_0x158572(0x317)])==null||_0x38979d[_0x158572(0x100)]();}[_0x25bc2e(0x1b1)](){var _0x57934=_0x25bc2e;this[_0x57934(0x228)]=0x0,this[_0x57934(0x3c4)](),this[_0x57934(0x3f7)]();}['_clearRetryConnectingTimer'](){var _0x56a8ad=_0x25bc2e;this[_0x56a8ad(0x2ce)]!=null&&(clearTimeout(this[_0x56a8ad(0x2ce)]),this[_0x56a8ad(0x2ce)]=null);}async[_0x25bc2e(0x3e3)](){var _0x5bc9db=_0x25bc2e,_0x53412a,_0x2513df;const _0x87639d=this['_configService']['getConfig'](_0x11fd71),_0x185d2e=this[_0x5bc9db(0x292)][_0x5bc9db(0x151)](_0x67dd2f),_0x2a11b9=(_0x2513df=(_0x53412a=_0x185d2e==null?void 0x0:_0x185d2e[_0x5bc9db(0x397)])!=null?_0x53412a:_0x87639d)!=null?_0x2513df:_0x26ac59,_0x3b622f=await this[_0x5bc9db(0x20a)]['createSocket'](_0x2a11b9);return this[_0x5bc9db(0x3ca)]=_0x3b622f,_0x3b622f;}async[_0x25bc2e(0x1bf)](){var _0x244afa=_0x25bc2e,_0x275ab3,_0x3089da;try{const _0x536b43=(_0x3089da=(_0x275ab3=this[_0x244afa(0x317)])!=null?_0x275ab3:this[_0x244afa(0x3ca)])!=null?_0x3089da:await this[_0x244afa(0x3e3)]();if(_0x536b43){const _0x104a1b=_0x536b43[_0x244afa(0xbf)];_0x536b43[_0x244afa(0xbf)]=_0x20ecbd=>(this['_rescheduleHeartbeat'](),_0x104a1b[_0x244afa(0x280)](_0x536b43,[_0x20ecbd])),_0x536b43['message$']['subscribe'](_0xa6296=>this[_0x244afa(0x297)](_0x536b43,_0xa6296)),_0x536b43[_0x244afa(0x28e)][_0x244afa(0x2ac)](_0x54b879[_0x244afa(0x229)](0x1))[_0x244afa(0x195)](_0x559f22=>this['_logService'][_0x244afa(0x3db)](_0x244afa(0x18d),_0x559f22)),_0x536b43[_0x244afa(0x3e4)][_0x244afa(0x2ac)](_0x54b879[_0x244afa(0x229)](0x1))['subscribe'](()=>{var _0x3a53e0=_0x244afa;this[_0x3a53e0(0x186)](_0x536b43);}),_0x536b43['close$'][_0x244afa(0x2ac)](_0x54b879[_0x244afa(0x229)](0x1))[_0x244afa(0x195)](_0xa12042=>{var _0x1f3a34=_0x244afa;this[_0x1f3a34(0x411)][_0x1f3a34(0xdf)](_0x1f3a34(0x2d7),_0x1f3a34(0xb0),_0xa12042),this[_0x1f3a34(0x164)]();});}}catch(_0x23c0f8){this[_0x244afa(0x411)][_0x244afa(0x3db)](_0x23c0f8),this[_0x244afa(0x164)]();}}[_0x25bc2e(0x186)](_0x5b20c4){var _0x4f9e2e=_0x25bc2e;this[_0x4f9e2e(0x411)][_0x4f9e2e(0xdf)](_0x4f9e2e(0x2d7),_0x4f9e2e(0x371)),_0x5b20c4[_0x4f9e2e(0xbf)]({'cmd':_0x320311['HELLO']}),this[_0x4f9e2e(0xfb)]();}[_0x25bc2e(0xb8)](){var _0x57f7a2=_0x25bc2e;this[_0x57f7a2(0x13b)]=!0x1,this[_0x57f7a2(0x3ca)]=null,this[_0x57f7a2(0x275)][_0x57f7a2(0x37a)](_0x3034e7['OFFLINE']),this[_0x57f7a2(0x37c)]['next'](null),this[_0x57f7a2(0x1fe)](),this['_clearHeartbeatTimer']();}[_0x25bc2e(0x164)](){var _0x41e310=_0x25bc2e,_0x4f5c1a;this[_0x41e310(0xb8)](),this[_0x41e310(0x228)]<((_0x4f5c1a=this['_configService'][_0x41e310(0x151)](_0x31d749))!=null?_0x4f5c1a:0x3)?(this[_0x41e310(0x270)][_0x41e310(0x298)]({'id':_0x2ce557['SOCKET_FAILED_RETRY']}),this[_0x41e310(0x3f7)]()):this[_0x41e310(0x270)][_0x41e310(0x298)]({'id':_0x2ce557[_0x41e310(0x3fa)]});}[_0x25bc2e(0x3f7)](){var _0x44e37e=_0x25bc2e,_0x11687b;const _0x11342f=this[_0x44e37e(0x228)],_0x3be181=this['_configService']['getConfig'](_0x67dd2f),_0x4e04fe=_0x11342f===0x0?0x0:((_0x11687b=_0x3be181==null?void 0x0:_0x3be181['retryConnectingInterval'])!=null?_0x11687b:0x4e20)*0x2**_0x11342f;this['_retryConnectingTimer']=setTimeout(()=>{var _0x48d143=_0x44e37e;clearTimeout(this[_0x48d143(0x2ce)]),this[_0x48d143(0x2ce)]=null,this[_0x48d143(0x1bf)]();},_0x4e04fe),this[_0x44e37e(0x228)]+=0x1;}[_0x25bc2e(0x297)](_0x2ccca3,_0x21e431){var _0x46ca31=_0x25bc2e;const {cmd:_0x4ab318}=_0x21e431;_0x4ab318===_0x320311[_0x46ca31(0x94)]&&!this[_0x46ca31(0x13b)]&&(_0x2ccca3[_0x46ca31(0x16c)]=_0x21e431['data'][_0x46ca31(0x16c)],this['_socket$'][_0x46ca31(0x37a)](_0x2ccca3),this[_0x46ca31(0x275)][_0x46ca31(0x37a)](_0x3034e7['ONLINE']),this[_0x46ca31(0x13b)]=!0x0,this[_0x46ca31(0x3ca)]=null),_0x4ab318===_0x320311[_0x46ca31(0x23b)]&&this['_clearTimeoutTimer'](),this[_0x46ca31(0xfb)]();}[_0x25bc2e(0xfb)](){var _0x2684ec=_0x25bc2e,_0x5b4405;this['_clearHeartbeatTimer'](),this[_0x2684ec(0x276)]=setTimeout(()=>this[_0x2684ec(0x206)](),(_0x5b4405=this[_0x2684ec(0x292)][_0x2684ec(0x151)](_0xb53dff))!=null?_0x5b4405:0x7530);}[_0x25bc2e(0x206)](){var _0x5e7df7=_0x25bc2e;this['_socket'][_0x5e7df7(0xbf)]({'cmd':_0x320311[_0x5e7df7(0x23b)]}),this[_0x5e7df7(0x161)]();}['_waitForHeartbeatResponse'](){var _0x226713=_0x25bc2e,_0x5691a0;this[_0x226713(0x1b5)]=setTimeout(()=>this[_0x226713(0x164)](),(_0x5691a0=this[_0x226713(0x292)]['getConfig'](_0x3c4235))!=null?_0x5691a0:0x4e20);}[_0x25bc2e(0x3a1)](){var _0x14a371=_0x25bc2e;this[_0x14a371(0x276)]!=null&&(clearTimeout(this[_0x14a371(0x276)]),this[_0x14a371(0x276)]=null);}[_0x25bc2e(0x1fe)](){var _0x1c084e=_0x25bc2e;this[_0x1c084e(0x1b5)]!=null&&(clearTimeout(this['_timeoutTimer']),this[_0x1c084e(0x1b5)]=null);}},_0x3aa05b[_0x25bc2e(0x1e5)]=_0x99e54e([_0x4b6bcd(0x0,_0x223e3d[_0x25bc2e(0x1b8)](_0x223e3d[_0x25bc2e(0x10b)])),_0x4b6bcd(0x1,_0x223e3d['ILogService']),_0x4b6bcd(0x2,_0x223e3d[_0x25bc2e(0x316)]),_0x4b6bcd(0x3,_0x450019),_0x4b6bcd(0x4,_0x223e3d[_0x25bc2e(0x1b8)](_0x5876ed)),_0x4b6bcd(0x5,_0x223e3d[_0x25bc2e(0x1cc)](_0x3c13f4))],_0x3aa05b[_0x25bc2e(0x1e5)]);const _0xb11ec9=[];for(let _0x41f356=0x0;_0x41f356<0x100;++_0x41f356)_0xb11ec9['push']((_0x41f356+0x100)['toString'](0x10)['slice'](0x1));function _0x56d928(_0x2673ff,_0x2d7a2e=0x0){return(_0xb11ec9[_0x2673ff[_0x2d7a2e+0x0]]+_0xb11ec9[_0x2673ff[_0x2d7a2e+0x1]]+_0xb11ec9[_0x2673ff[_0x2d7a2e+0x2]]+_0xb11ec9[_0x2673ff[_0x2d7a2e+0x3]]+'-'+_0xb11ec9[_0x2673ff[_0x2d7a2e+0x4]]+_0xb11ec9[_0x2673ff[_0x2d7a2e+0x5]]+'-'+_0xb11ec9[_0x2673ff[_0x2d7a2e+0x6]]+_0xb11ec9[_0x2673ff[_0x2d7a2e+0x7]]+'-'+_0xb11ec9[_0x2673ff[_0x2d7a2e+0x8]]+_0xb11ec9[_0x2673ff[_0x2d7a2e+0x9]]+'-'+_0xb11ec9[_0x2673ff[_0x2d7a2e+0xa]]+_0xb11ec9[_0x2673ff[_0x2d7a2e+0xb]]+_0xb11ec9[_0x2673ff[_0x2d7a2e+0xc]]+_0xb11ec9[_0x2673ff[_0x2d7a2e+0xd]]+_0xb11ec9[_0x2673ff[_0x2d7a2e+0xe]]+_0xb11ec9[_0x2673ff[_0x2d7a2e+0xf]])['toLowerCase']();}let _0x112f07;const _0x147ba1=new Uint8Array(0x10);function _0x84c26d(){var _0x34640b=_0x25bc2e;if(!_0x112f07){if(typeof crypto>'u'||!crypto[_0x34640b(0x290)])throw new Error('crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported');_0x112f07=crypto[_0x34640b(0x290)]['bind'](crypto);}return _0x112f07(_0x147ba1);}const _0x445580={'randomUUID':typeof crypto<'u'&&crypto['randomUUID']&&crypto[_0x25bc2e(0x2ea)][_0x25bc2e(0x2bf)](crypto)};function _0x20f700(_0x20a1f8,_0x837982,_0x4eca0a){var _0x21c0bb=_0x25bc2e,_0x43bd94,_0x36fc42,_0x10af4a;if(_0x445580[_0x21c0bb(0x2ea)]&&!_0x20a1f8)return _0x445580[_0x21c0bb(0x2ea)]();_0x20a1f8=_0x20a1f8||{};const _0x4b2a70=(_0x10af4a=(_0x36fc42=_0x20a1f8['random'])!=null?_0x36fc42:(_0x43bd94=_0x20a1f8[_0x21c0bb(0x2ed)])==null?void 0x0:_0x43bd94[_0x21c0bb(0x38a)](_0x20a1f8))!=null?_0x10af4a:_0x84c26d();if(_0x4b2a70[_0x21c0bb(0xdd)]<0x10)throw new Error(_0x21c0bb(0x3dd));return _0x4b2a70[0x6]=_0x4b2a70[0x6]&0xf|0x40,_0x4b2a70[0x8]=_0x4b2a70[0x8]&0x3f|0x80,_0x56d928(_0x4b2a70);}const _0x4c0d6c=_0x223e3d[_0x25bc2e(0x14e)](_0x25bc2e(0x15f));function _0x4fd0fe(_0x3bb858){return'unit-cache-'+_0x3bb858;}var _0x2528d8=Object[_0x25bc2e(0x1e6)],_0x2c5735=(_0x29c053,_0x20a679,_0x486fa0,_0x235c73)=>{var _0x5a2951=_0x25bc2e;for(var _0x518135=_0x235c73>0x1?void 0x0:_0x235c73?_0x2528d8(_0x20a679,_0x486fa0):_0x20a679,_0x431782=_0x29c053[_0x5a2951(0xdd)]-0x1,_0x594934;_0x431782>=0x0;_0x431782--)(_0x594934=_0x29c053[_0x431782])&&(_0x518135=_0x594934(_0x518135)||_0x518135);return _0x518135;},_0x5e56b3=(_0x52a258,_0x54f3d1)=>(_0x6ddb27,_0x234ae6)=>_0x54f3d1(_0x6ddb27,_0x234ae6,_0x52a258);function _0x43843d(_0x52dead){var _0x46061e=_0x25bc2e;const {unitID:_0x2a4b51,mutations:_0x576b13}=_0x52dead;return{'unitId':_0x2a4b51,'subUnitId':_0x576b13[0x0][_0x46061e(0x2df)][_0x46061e(0x17b)]};}_0x3aa05b[_0x25bc2e(0x150)]=class{constructor(_0x488896,_0x377545,_0x565663){var _0x20d354=_0x25bc2e;this[_0x20d354(0x325)]=_0x488896,this['_transformService']=_0x377545,this[_0x20d354(0x210)]=_0x565663;}[_0x25bc2e(0x26a)](_0x3bca99){var _0x55f797=_0x25bc2e,_0xf0e26a,_0x2e5994,_0x1e2dc4,_0x2c04ef;const _0x10215c=this[_0x55f797(0x325)][_0x55f797(0x3c9)](_0x3a7ecf['SheetsSelectionsService']),{unitId:_0x4e3087,subUnitId:_0x517951}=_0x43843d(_0x3bca99),_0x41236e=_0x10215c==null?void 0x0:_0x10215c['getWorkbookSelections'](_0x4e3087)[_0x55f797(0xd3)](),_0x35b439=(_0x2e5994=(_0xf0e26a=this[_0x55f797(0x210)]['getUnit'](_0x4e3087))==null?void 0x0:_0xf0e26a['getActiveSheet']())==null?void 0x0:_0x2e5994['getSheetId']();if(_0x41236e[_0x55f797(0xdd)]===0x0||!_0x4e3087||!_0x517951)return;const _0x2deb05=[{'id':_0x3a7ecf[_0x55f797(0x113)]['id'],'params':{'unitId':_0x4e3087,'subUnitId':_0x35b439,'selections':_0x223e3d[_0x55f797(0x348)][_0x55f797(0x1b4)](_0x41236e)}}],_0x286141=this[_0x55f797(0x222)][_0x55f797(0x22a)](_0x3bca99,_0x2deb05);if(!_0x39217d['isTransformMutationsWithChangesetSuccess'](_0x286141))throw _0x286141[_0x55f797(0x3db)];const _0x57880d=(_0x2c04ef=(_0x1e2dc4=_0x286141[_0x55f797(0x2ff)][0x0])==null?void 0x0:_0x1e2dc4['params'])==null?void 0x0:_0x2c04ef[_0x55f797(0xa3)];if(Array[_0x55f797(0x1c7)](_0x57880d)&&_0x57880d[_0x55f797(0xdd)]){if(_0x57880d[_0x55f797(0xdd)]===_0x2deb05[0x0][_0x55f797(0x2df)][_0x55f797(0xa3)][_0x55f797(0xdd)]&&_0x57880d['every']((_0x20f103,_0x5e8a71)=>_0x223e3d[_0x55f797(0x403)][_0x55f797(0x108)](_0x20f103[_0x55f797(0x25f)],_0x2deb05[0x0][_0x55f797(0x2df)][_0x55f797(0xa3)][_0x5e8a71][_0x55f797(0x25f)])))return;this[_0x55f797(0x325)][_0x55f797(0x3c9)](_0x223e3d[_0x55f797(0x20c)])[_0x55f797(0x1b2)](_0x3a7ecf['SetSelectionsOperation']['id'],{'unitId':_0x4e3087,'subUnitId':_0x35b439,'selections':_0x57880d});}}},_0x3aa05b[_0x25bc2e(0x150)]=_0x2c5735([_0x5e56b3(0x0,_0x223e3d[_0x25bc2e(0x1b8)](_0x223e3d[_0x25bc2e(0x10b)])),_0x5e56b3(0x1,_0x39217d[_0x25bc2e(0xeb)]),_0x5e56b3(0x2,_0x223e3d[_0x25bc2e(0x267)])],_0x3aa05b[_0x25bc2e(0x150)]);const _0x5cc7ba=_0x223e3d['createIdentifier']('univer-pro.collaboration-client.single-active-unit-service');var _0x1b0014=(_0x2a1337=>(_0x2a1337[_0x2a1337[_0x25bc2e(0x313)]=0x0]=_0x25bc2e(0x313),_0x2a1337[_0x2a1337[_0x25bc2e(0x1ca)]=0x1]='OTHER_CLIENTS_EDITING',_0x2a1337))(_0x1b0014||{});const _0x42b499=new Set([_0x3a7ecf[_0x25bc2e(0xf0)]['id']]);function _0x57beec(_0x1f9119,_0x2c9020,_0x142046,_0x782ccb,_0x52b2ae){var _0x5f4eb1=_0x25bc2e,_0x497893,_0x2c27d2,_0x2d0cea,_0x352a30;const _0x34504e=[];for(const _0x234b06 of _0x1f9119)if(_0x42b499[_0x5f4eb1(0x11e)](_0x234b06['id'])){if(_0x34504e[_0x5f4eb1(0xdd)]>0x0)break;_0x34504e[_0x5f4eb1(0x204)](_0x234b06);break;}else _0x34504e[_0x5f4eb1(0x204)](_0x234b06);const _0x23273e=(_0x2c27d2=(_0x497893=_0x52b2ae[_0x5f4eb1(0x2d3)]())==null?void 0x0:_0x497893['userID'])!=null?_0x2c27d2:_0x5f4eb1(0x1d3),_0x5d0954=(_0x352a30=(_0x2d0cea=_0x52b2ae[_0x5f4eb1(0x2d3)]())==null?void 0x0:_0x2d0cea[_0x5f4eb1(0x16c)])!=null?_0x352a30:_0x5f4eb1(0x1d3);return{'changeset':{'unitID':_0x2c9020,'type':_0x39217d[_0x5f4eb1(0x12a)](_0x142046['getUnitType'](_0x2c9020)),'baseRev':_0x782ccb['getCurrentRevOfUnit'](_0x2c9020),'revision':0x0,'userID':_0x23273e,'memberID':_0x5d0954,'mutations':_0x34504e},'pendingMutations':_0x1f9119[_0x5f4eb1(0xd1)](_0x34504e['length'])};}function _0x59a5cd(_0x2ad5a2,_0x1bf8b9,_0x28cca5,_0x57899b,_0x580574){var _0x22b6d9=_0x25bc2e,_0x46e34d,_0x546854,_0x36ff8f,_0x1bd302;const _0xcfdeae=[_0x2ad5a2[_0x22b6d9(0x277)]((_0x140cdc,_0x4fe814)=>{var _0x5c5356=_0x22b6d9,_0x29578b;const {id:_0x93e657}=_0x140cdc,{id:_0x313958,type:_0x547d9d}=_0x4fe814,_0x1f4393=(_0x29578b=_0x140cdc[_0x5c5356(0x2df)])!=null?_0x29578b:{'actions':null},_0x3cdc71=_0x4fe814[_0x5c5356(0x2df)];if(_0x93e657&&_0x93e657!==_0x313958)throw new Error(_0x5c5356(0x2d1)+_0x93e657+_0x5c5356(0xb7)+_0x313958+'.');return{..._0x140cdc,'id':_0x313958,'type':_0x547d9d,'params':{'unitId':_0x3cdc71[_0x5c5356(0x312)],'textRanges':_0x3cdc71[_0x5c5356(0x335)],'actions':_0x223e3d[_0x5c5356(0x2f9)][_0x5c5356(0x340)](_0x1f4393[_0x5c5356(0xa8)],_0x3cdc71['actions'])}};},{})],_0x59eafd=(_0x546854=(_0x46e34d=_0x580574[_0x22b6d9(0x2d3)]())==null?void 0x0:_0x46e34d[_0x22b6d9(0x111)])!=null?_0x546854:_0x22b6d9(0x1d3),_0x2cfee7=(_0x1bd302=(_0x36ff8f=_0x580574[_0x22b6d9(0x2d3)]())==null?void 0x0:_0x36ff8f[_0x22b6d9(0x16c)])!=null?_0x1bd302:_0x22b6d9(0x1d3);return{'changeset':{'unitID':_0x1bf8b9,'type':_0x39217d['mapDocumentTypeToUniverType'](_0x28cca5[_0x22b6d9(0xd5)](_0x1bf8b9)),'baseRev':_0x57899b['getCurrentRevOfUnit'](_0x1bf8b9),'revision':0x0,'userID':_0x59eafd,'memberID':_0x2cfee7,'mutations':_0xcfdeae},'pendingMutations':[]};}function _0x52ca08(_0x2ac0da,_0x2dfbde){var _0xac4412=_0x25bc2e;const _0x39fbfa=new _0x94b51a[(_0xac4412(0x2c0))](0x1);return setTimeout(()=>_0x39fbfa[_0xac4412(0x37a)](_0x2dfbde),_0x2ac0da),_0x39fbfa['asObservable']()['pipe'](_0x94b51a[_0xac4412(0x229)](0x1));}const _0xa3a5f9={'id':_0x3a7ecf[_0x25bc2e(0x225)]['id'],'type':_0x223e3d[_0x25bc2e(0xce)][_0x25bc2e(0xe8)],'params':{}};var _0x5b8c10=Object['getOwnPropertyDescriptor'],_0x3d2f38=(_0x181423,_0x1583db,_0x4ee4f1,_0x183fa5)=>{var _0xc3e09f=_0x25bc2e;for(var _0x5b539c=_0x183fa5>0x1?void 0x0:_0x183fa5?_0x5b8c10(_0x1583db,_0x4ee4f1):_0x1583db,_0x560dc6=_0x181423[_0xc3e09f(0xdd)]-0x1,_0x2ec09a;_0x560dc6>=0x0;_0x560dc6--)(_0x2ec09a=_0x181423[_0x560dc6])&&(_0x5b539c=_0x2ec09a(_0x5b539c)||_0x5b539c);return _0x5b539c;},_0x18248e=(_0x2e0cc0,_0x1946af)=>(_0x57164c,_0x3221d1)=>_0x1946af(_0x57164c,_0x3221d1,_0x2e0cc0),_0x4adeba=(_0x1675a0=>(_0x1675a0[_0x25bc2e(0x1cf)]='not_collab',_0x1675a0[_0x25bc2e(0x3d6)]=_0x25bc2e(0x2c9),_0x1675a0[_0x25bc2e(0x408)]=_0x25bc2e(0x18e),_0x1675a0[_0x25bc2e(0xf8)]=_0x25bc2e(0x24f),_0x1675a0[_0x25bc2e(0x315)]=_0x25bc2e(0x1a9),_0x1675a0[_0x25bc2e(0x3ee)]=_0x25bc2e(0x35e),_0x1675a0[_0x25bc2e(0xb3)]='conflict',_0x1675a0[_0x25bc2e(0x171)]='offline',_0x1675a0))(_0x4adeba||{});const _0x2af0f1=0xea60;class _0x4e7361{constructor(_0x20a247,_0x530f69,_0x1f52b8,_0x132453,_0x2784c2,_0x49bc94,_0x44c420,_0x5dcb4c,_0x4a08c5){var _0x39b1c3=_0x25bc2e;_0x427f66(this,_0x39b1c3(0x3ae),null),_0x427f66(this,'_pendingMutations',[]),(this['unitID']=_0x20a247,this['type']=_0x530f69,this[_0x39b1c3(0x1fa)]=_0x2784c2,this[_0x39b1c3(0x35f)]=_0x49bc94,this[_0x39b1c3(0x21c)]=_0x44c420,this[_0x39b1c3(0x323)]=_0x5dcb4c,this['_localCacheService']=_0x4a08c5,this[_0x39b1c3(0x3ae)]=_0x1f52b8,this[_0x39b1c3(0x1e2)]=_0x132453);}[_0x25bc2e(0x35a)](_0x274dad){var _0x4a07f1=_0x25bc2e;const _0xde1182=this[_0x4a07f1(0x323)]['getCurrentRevOfUnit'](this[_0x4a07f1(0x1ae)]);return _0x274dad[_0x4a07f1(0x2cb)]>_0xde1182+0x1?(this[_0x4a07f1(0x1fa)]['onMissingChangesets']({'from':_0xde1182,'to':_0x274dad[_0x4a07f1(0x2cb)]-0x1}),!0x0):!0x1;}[_0x25bc2e(0x2b1)](_0x3ef070){var _0x82867e=_0x25bc2e;this[_0x82867e(0x21c)][_0x82867e(0xc6)](this[_0x82867e(0x1ae)],_0x3ef070);}['_transformSelections'](_0x529e83){var _0x3d24d8=_0x25bc2e,_0x4e4288,_0x4e69d6;(_0x4e69d6=(_0x4e4288=this['_handler'])[_0x3d24d8(0x327)])==null||_0x4e69d6['call'](_0x4e4288,_0x529e83);}[_0x25bc2e(0x16d)](_0x2078ff){var _0x13c7c4=_0x25bc2e,_0x38bcb5,_0x1ea3c0;return(_0x1ea3c0=(_0x38bcb5=this[_0x13c7c4(0x1fa)])[_0x13c7c4(0x15e)])==null?void 0x0:_0x1ea3c0[_0x13c7c4(0x38a)](_0x38bcb5,_0x2078ff);}[_0x25bc2e(0xdb)](_0x36e273){var _0x11c4b8=_0x25bc2e,_0x28b2cc,_0x559c09;return(_0x559c09=(_0x28b2cc=this[_0x11c4b8(0x1fa)])['onTransformState'])==null?void 0x0:_0x559c09[_0x11c4b8(0x38a)](_0x28b2cc,_0x36e273);}[_0x25bc2e(0x354)](_0x15ebb2){var _0x102cc8=_0x25bc2e,_0x3dae8a,_0x30057b,_0x3978fb;return(_0x3978fb=(_0x30057b=(_0x3dae8a=this['_handler'])[_0x102cc8(0x10e)])==null?void 0x0:_0x30057b['call'](_0x3dae8a,_0x15ebb2))!=null?_0x3978fb:_0x15ebb2;}[_0x25bc2e(0x1b9)](_0x4ce719){var _0x3492c8=_0x25bc2e,_0x232bd7,_0x5314ee,_0x16d7ad;return(_0x16d7ad=(_0x5314ee=(_0x232bd7=this[_0x3492c8(0x1fa)])[_0x3492c8(0x331)])==null?void 0x0:_0x5314ee['call'](_0x232bd7,_0x4ce719))!=null?_0x16d7ad:_0x4ce719;}[_0x25bc2e(0x201)](_0x47810c){var _0x5a8737=_0x25bc2e,_0x35e15b,_0x53122e;if(this[_0x5a8737(0x255)]===_0x5e14aa[_0x5a8737(0x17e)]){const {unitID:_0x3b2fcc,mutations:_0x117290,memberID:_0x297373}=_0x47810c,_0x10fc48=_0x117290[0x0][_0x5a8737(0x2df)][_0x5a8737(0x335)];Array[_0x5a8737(0x1c7)](_0x10fc48)&&_0x10fc48[_0x5a8737(0xdd)]>0x0&&((_0x53122e=(_0x35e15b=this[_0x5a8737(0x1fa)])['onSyncEditingCollabCursor'])==null||_0x53122e['call'](_0x35e15b,{'unitID':_0x3b2fcc,'memberID':_0x297373,'textRanges':_0x10fc48}));}}[_0x25bc2e(0xf7)](){var _0x5596c1=_0x25bc2e,_0xbc6a73;(_0xbc6a73=this[_0x5596c1(0x2e4)])==null||_0xbc6a73[_0x5596c1(0x1a3)](this[_0x5596c1(0x1ae)],this[_0x5596c1(0x255)],this['_awaitingChangeset'],this[_0x5596c1(0x1e2)]);}[_0x25bc2e(0x3f6)](){var _0x10d769=_0x25bc2e;return this[_0x10d769(0x323)]['getCurrentRevOfUnit'](this['unitID']);}[_0x25bc2e(0x349)](){var _0x80eb71=_0x25bc2e;this[_0x80eb71(0x323)][_0x80eb71(0x2cf)](this[_0x80eb71(0x1ae)]);}[_0x25bc2e(0x399)](_0x36f6e3){var _0x492840=_0x25bc2e,_0x29f0ec;let _0x4ab281=this['_transformRemoteChangesetByIMECache'](_0x36f6e3);_0x4ab281=this['_transformRemoteChangesetByStateCache'](_0x4ab281);const _0x251a2e=_0x223e3d[_0x492840(0x39a)](_0x4ab281[_0x492840(0x3e8)],this[_0x492840(0x35f)],{'fromCollab':!0x0});if(!_0x251a2e['result'])throw _0x251a2e[_0x492840(0x3db)]instanceof Error?_0x251a2e[_0x492840(0x3db)]:new Error((_0x29f0ec=_0x251a2e['error'])!=null?_0x29f0ec:_0x492840(0x3b4));this[_0x492840(0x16d)](_0x4ab281),this['_transformStateCache'](_0x4ab281),this['_transformUndoredo'](_0x36f6e3),this[_0x492840(0x214)](_0x4ab281),this['_syncEditingCollabCursor'](_0x4ab281),this[_0x492840(0x349)]();}}_0x3aa05b[_0x25bc2e(0x34a)]=class extends _0x4e7361{constructor(_0x4c9518,_0x17f7bb,_0xff253c,_0x5017db,_0x1fd12d,_0x4c5553,_0x4d831b,_0x565e15,_0xca641,_0x4c31bb){var _0x372c5e=_0x25bc2e;super(_0x4c9518,_0x17f7bb,null,[],_0xff253c,_0x4d831b,_0x4c5553,_0x5017db,_0x4c31bb),_0x427f66(this,'status',_0x372c5e(0x2c9)),(this['_injector']=_0x1fd12d,this[_0x372c5e(0x411)]=_0x565e15,this[_0x372c5e(0x222)]=_0xca641,this['localCacheService']=_0x4c31bb);}['appendMutation'](_0x4a7ad3){var _0x37ff2d=_0x25bc2e;const _0x22913e=this[_0x37ff2d(0x325)][_0x37ff2d(0x310)](_0x3aa05b[_0x37ff2d(0x119)],this['unitID'],this[_0x37ff2d(0x255)],[_0x4a7ad3],this['_handler']);return _0x22913e[_0x37ff2d(0x99)](),_0x22913e['_updateLocalCache'](),_0x22913e;}[_0x25bc2e(0x136)](_0x1ec3f3){var _0x3131ef=_0x25bc2e;if(this[_0x3131ef(0x35a)](_0x1ec3f3))return this[_0x3131ef(0x325)]['createInstance'](_0x3aa05b['FetchingMissState'],this[_0x3131ef(0x1ae)],this['type'],null,[],null,[_0x1ec3f3],this['_handler']);try{const _0x40897a=this['_transformService'][_0x3131ef(0x22a)](_0x1ec3f3,[_0xa3a5f9]);if(_0x39217d[_0x3131ef(0x291)](_0x40897a)){const {c1Prime:_0x436b65}=_0x40897a;return this[_0x3131ef(0x399)](_0x436b65),this;}throw _0x40897a[_0x3131ef(0x3db)];}catch(_0x328f0b){return this[_0x3131ef(0x411)][_0x3131ef(0x3db)](_0x328f0b),this['_onConflict'](!0x1);}}[_0x25bc2e(0x23f)](_0x5a9cb5){var _0x2db1f3=_0x25bc2e;return this[_0x2db1f3(0x325)][_0x2db1f3(0x310)](_0x3aa05b[_0x2db1f3(0x372)],this[_0x2db1f3(0x1ae)],this[_0x2db1f3(0x255)],null,[],this['_handler'],_0x5a9cb5);}[_0x25bc2e(0x40b)](){var _0x401585=_0x25bc2e;throw new Error(_0x401585(0x1af));}['onRemoteRej'](){throw new Error('[SyncedState]:\x20received\x20rejection.');}[_0x25bc2e(0x391)](){return this;}['toggleOffline'](){var _0x3c423c=_0x25bc2e;return this['_injector'][_0x3c423c(0x310)](_0x3aa05b['OfflineState'],this['unitID'],this[_0x3c423c(0x255)],null,[],this['_handler']);}[_0x25bc2e(0x358)](){return this;}['resend'](){throw new Error('[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x25bc2e(0x2b6)](){var _0x24872f=_0x25bc2e;const _0x3948c3=this[_0x24872f(0x323)][_0x24872f(0x30e)](this[_0x24872f(0x1ae)]);return this[_0x24872f(0x1fa)][_0x24872f(0x220)]({'from':_0x3948c3,'to':0x0}),this[_0x24872f(0x325)][_0x24872f(0x310)](_0x3aa05b[_0x24872f(0x35d)],this[_0x24872f(0x1ae)],this[_0x24872f(0x255)],null,[],null,[],this[_0x24872f(0x1fa)]);}},_0x3aa05b[_0x25bc2e(0x34a)]=_0x3d2f38([_0x18248e(0x3,_0x223e3d[_0x25bc2e(0x1b8)](_0x39217d[_0x25bc2e(0x3c8)])),_0x18248e(0x4,_0x223e3d[_0x25bc2e(0x1b8)](_0x223e3d[_0x25bc2e(0x10b)])),_0x18248e(0x5,_0x223e3d[_0x25bc2e(0x3d8)]),_0x18248e(0x6,_0x223e3d[_0x25bc2e(0x20c)]),_0x18248e(0x7,_0x223e3d['ILogService']),_0x18248e(0x8,_0x39217d['ITransformService']),_0x18248e(0x9,_0x223e3d[_0x25bc2e(0x1cc)](_0x4c0d6c))],_0x3aa05b[_0x25bc2e(0x34a)]),_0x3aa05b[_0x25bc2e(0x119)]=class extends _0x4e7361{constructor(_0x2e321a,_0x54f3dd,_0x100de2,_0x478567,_0x4a9e43,_0x493981,_0x4554fd,_0x2f965e,_0x47f6ea,_0x567871,_0xb463f0,_0x105608,_0x1f2788,_0x3fa4ea){var _0x46b1c2=_0x25bc2e;super(_0x2e321a,_0x54f3dd,null,_0x100de2,_0x478567,_0x47f6ea,_0x1f2788,_0x493981,_0x3fa4ea),_0x427f66(this,_0x46b1c2(0x145),_0x46b1c2(0x18e)),_0x427f66(this,'_scheduleCompleteTimestamp',null),_0x427f66(this,'_sendingTimer',null),(this[_0x46b1c2(0x325)]=_0x4a9e43,this[_0x46b1c2(0x216)]=_0x4554fd,this[_0x46b1c2(0x411)]=_0x2f965e,this[_0x46b1c2(0x292)]=_0x567871,this['_transformService']=_0xb463f0,this[_0x46b1c2(0x300)]=_0x105608);}['appendMutation'](_0x3481a2){var _0x43ce9b=_0x25bc2e;return this[_0x43ce9b(0x1e2)][_0x43ce9b(0x204)](_0x3481a2),this['_updateLocalCache'](),this;}[_0x25bc2e(0x136)](_0x4162d4){var _0x1d74a4=_0x25bc2e;if(this[_0x1d74a4(0x35a)](_0x4162d4))return this[_0x1d74a4(0x1d5)](),this[_0x1d74a4(0x325)][_0x1d74a4(0x310)](_0x3aa05b[_0x1d74a4(0x35d)],this[_0x1d74a4(0x1ae)],this[_0x1d74a4(0x255)],null,this['_pendingMutations'],null,[_0x4162d4],this[_0x1d74a4(0x1fa)]);try{const _0x4ab60c=this[_0x1d74a4(0x222)]['transformMutationsWithChangeset'](_0x4162d4,this['_pendingMutations']);if(_0x39217d[_0x1d74a4(0x291)](_0x4ab60c)){const {c1Prime:_0x47692f,m2Prime:_0x316b6d}=_0x4ab60c;this[_0x1d74a4(0x399)](_0x47692f);const _0x59374b=this[_0x1d74a4(0x325)][_0x1d74a4(0x310)](_0x3aa05b[_0x1d74a4(0x119)],this[_0x1d74a4(0x1ae)],this[_0x1d74a4(0x255)],_0x316b6d,this[_0x1d74a4(0x1fa)]);this[_0x1d74a4(0x1d5)]();const _0x58fe52=new Date()['getTime'](),_0x4f1ce7=this[_0x1d74a4(0x29a)]?Math[_0x1d74a4(0x103)](this[_0x1d74a4(0x29a)]-_0x58fe52,0x0):this[_0x1d74a4(0x140)]();return _0x59374b[_0x1d74a4(0x99)](_0x4f1ce7),_0x59374b;}throw _0x4ab60c[_0x1d74a4(0x3db)];}catch(_0x1cdfa5){return this['_logService'][_0x1d74a4(0x3db)](_0x1cdfa5),this[_0x1d74a4(0x23f)](!0x1);}}['onRemoteAck'](){throw new Error('[PendingState]:\x20received\x20acknowledgement.');}['onRemoteRej'](){var _0x298f57=_0x25bc2e;throw new Error(_0x298f57(0x1a5));}['onRemoteRetry'](){return this;}['toggleOffline'](){var _0x3125bd=_0x25bc2e;return this[_0x3125bd(0x1d5)](),this[_0x3125bd(0x325)]['createInstance'](_0x3aa05b[_0x3125bd(0xf3)],this['unitID'],this[_0x3125bd(0x255)],null,this['_pendingMutations'],this['_handler']);}['toggleOnline'](){return this;}[_0x25bc2e(0x99)](_0x295d7f){var _0x40bc42=_0x25bc2e;const _0x377060=_0x295d7f!=null?_0x295d7f:this[_0x40bc42(0x140)]();this[_0x40bc42(0x29a)]=new Date()[_0x40bc42(0xc0)]()+_0x377060,this[_0x40bc42(0x395)]=setTimeout(()=>{var _0x226926=_0x40bc42;this[_0x226926(0x1d5)]();let _0x4d8f7d=null;switch(this[_0x226926(0x255)]){case _0x5e14aa[_0x226926(0x2ae)]:{_0x4d8f7d=_0x57beec(this[_0x226926(0x1e2)],this[_0x226926(0x1ae)],this['_univerInstanceService'],this[_0x226926(0x323)],this[_0x226926(0x216)]);break;}case _0x5e14aa[_0x226926(0x17e)]:{this[_0x226926(0x1e2)][_0x226926(0x9a)](_0x3fb00e=>_0x3fb00e['id']===_0x444d4c[_0x226926(0x21d)]['id'])?_0x4d8f7d=_0x59a5cd(this[_0x226926(0x1e2)],this['unitID'],this[_0x226926(0x300)],this[_0x226926(0x323)],this[_0x226926(0x216)]):_0x4d8f7d=_0x57beec(this[_0x226926(0x1e2)],this['unitID'],this['_univerInstanceService'],this[_0x226926(0x323)],this[_0x226926(0x216)]);break;}default:throw new Error(_0x226926(0xf2)+this['type']+_0x226926(0x252));}const {changeset:_0x886796,pendingMutations:_0x508e73}=_0x4d8f7d;this['_handler']['onSendChangeset'](_0x886796);const _0xc31d1b=_0x508e73[_0x226926(0xdd)]?this['_injector']['createInstance'](_0x3aa05b[_0x226926(0x271)],this['unitID'],this['type'],_0x886796,_0x508e73,this[_0x226926(0x1fa)],void 0x0):this[_0x226926(0x325)][_0x226926(0x310)](_0x3aa05b['AwaitingState'],this[_0x226926(0x1ae)],this[_0x226926(0x255)],_0x886796,this['_handler']);_0xc31d1b[_0x226926(0xf7)](),this[_0x226926(0x1fa)][_0x226926(0x359)](this,_0xc31d1b);},_0x377060);}[_0x25bc2e(0x140)](){var _0x289ac0=_0x25bc2e,_0x321ff3;const _0x268f8d=this[_0x289ac0(0x292)][_0x289ac0(0x151)](_0x67dd2f);return(_0x321ff3=_0x268f8d==null?void 0x0:_0x268f8d[_0x289ac0(0xcc)])!=null?_0x321ff3:0x7d0;}[_0x25bc2e(0x230)](){throw new Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x25bc2e(0x1d5)](){var _0x544a53=_0x25bc2e;this[_0x544a53(0x395)]!=null&&(clearTimeout(this[_0x544a53(0x395)]),this['_sendingTimer']=null);}['_onConflict'](_0x25d027){var _0x3a7752=_0x25bc2e;return this[_0x3a7752(0x1d5)](),this[_0x3a7752(0x325)][_0x3a7752(0x310)](_0x3aa05b[_0x3a7752(0x372)],this[_0x3a7752(0x1ae)],this[_0x3a7752(0x255)],null,this[_0x3a7752(0x1e2)],this[_0x3a7752(0x1fa)],_0x25d027);}},_0x3aa05b[_0x25bc2e(0x119)]=_0x3d2f38([_0x18248e(0x4,_0x223e3d[_0x25bc2e(0x1b8)](_0x223e3d[_0x25bc2e(0x10b)])),_0x18248e(0x5,_0x223e3d['Inject'](_0x39217d['RevisionService'])),_0x18248e(0x6,_0x223e3d['Inject'](_0x3aa05b['MemberService'])),_0x18248e(0x7,_0x223e3d[_0x25bc2e(0x15b)]),_0x18248e(0x8,_0x223e3d[_0x25bc2e(0x20c)]),_0x18248e(0x9,_0x223e3d[_0x25bc2e(0x316)]),_0x18248e(0xa,_0x39217d['ITransformService']),_0x18248e(0xb,_0x223e3d[_0x25bc2e(0x267)]),_0x18248e(0xc,_0x223e3d[_0x25bc2e(0x3d8)]),_0x18248e(0xd,_0x223e3d['Optional'](_0x4c0d6c))],_0x3aa05b['PendingState']),_0x3aa05b[_0x25bc2e(0x3bd)]=class extends _0x4e7361{constructor(_0x513303,_0x30b828,_0x47e689,_0x26bbce,_0x412334,_0x4507fb,_0x47b9bf,_0x1ff26e,_0x45098d,_0xecf192,_0x250f38){var _0x24ea3b=_0x25bc2e;super(_0x513303,_0x30b828,_0x47e689,[],_0x26bbce,_0x47b9bf,_0xecf192,_0x4507fb,_0x250f38),_0x427f66(this,_0x24ea3b(0x145),_0x24ea3b(0x24f)),_0x427f66(this,_0x24ea3b(0x350),0x0),_0x427f66(this,'_resendTimer'),_0x427f66(this,_0x24ea3b(0x21e)),(this[_0x24ea3b(0x325)]=_0x412334,this[_0x24ea3b(0x411)]=_0x1ff26e,this[_0x24ea3b(0x222)]=_0x45098d);}[_0x25bc2e(0x147)](_0x1a0c96){var _0x4085d8=_0x25bc2e;this[_0x4085d8(0x1d5)]();const _0x462b7e=this[_0x4085d8(0x325)][_0x4085d8(0x310)](_0x3aa05b[_0x4085d8(0x271)],this['unitID'],this['type'],this['_awaitingChangeset'],[_0x1a0c96],this[_0x4085d8(0x1fa)],this[_0x4085d8(0x405)]);return _0x462b7e[_0x4085d8(0xf7)](),_0x462b7e;}[_0x25bc2e(0x136)](_0x8436a6){var _0x3c103a=_0x25bc2e;if(this['_checkMissing'](_0x8436a6))return this['_clearScheduledTask'](),this[_0x3c103a(0x325)][_0x3c103a(0x310)](_0x3aa05b[_0x3c103a(0x35d)],this['unitID'],this['type'],this['_awaitingChangeset'],[],null,[_0x8436a6],this['_handler']);try{const _0x2fd1a6=this[_0x3c103a(0x222)][_0x3c103a(0xd0)]([_0x8436a6],[this[_0x3c103a(0x3ae)]],!0x1);if(_0x39217d[_0x3c103a(0x30c)](_0x2fd1a6)){const {c1Prime:_0x34c905,c2Prime:_0x8c0460}=_0x2fd1a6;this['_executeRemoteChangeset'](_0x34c905[0x0]),_0x8c0460[0x0][_0x3c103a(0x146)]=this[_0x3c103a(0x3f6)](),this['_clearScheduledTask']();const _0x2d5aa2=this[_0x3c103a(0x325)][_0x3c103a(0x310)](_0x3aa05b[_0x3c103a(0x3bd)],this['unitID'],this[_0x3c103a(0x255)],_0x8c0460[0x0],this[_0x3c103a(0x1fa)]);return _0x2d5aa2['_updateLocalCache'](),_0x2d5aa2;}return this[_0x3c103a(0x23f)](!0x1);}catch(_0x3d8a60){return this['_logService']['error'](_0x3d8a60),this[_0x3c103a(0x23f)](!0x1);}}[_0x25bc2e(0x40b)](_0x39584e){var _0x3550a0=_0x25bc2e;this[_0x3550a0(0x1d5)]();const _0x54ff66=this[_0x3550a0(0x323)]['getCurrentRevOfUnit'](this['unitID']);if(_0x39584e[_0x3550a0(0x2cb)]<_0x54ff66-0x1)return this;if(this[_0x3550a0(0x35a)](_0x39584e))return this[_0x3550a0(0x325)][_0x3550a0(0x310)](_0x3aa05b[_0x3550a0(0x35d)],this['unitID'],this['type'],null,[],this['_awaitingChangeset'],[],this[_0x3550a0(0x1fa)]);this[_0x3550a0(0x349)]();const _0x1d2e5e=this[_0x3550a0(0x325)][_0x3550a0(0x310)](_0x3aa05b[_0x3550a0(0x34a)],this[_0x3550a0(0x1ae)],this[_0x3550a0(0x255)],this[_0x3550a0(0x1fa)]);return _0x1d2e5e[_0x3550a0(0xf7)](),_0x1d2e5e;}[_0x25bc2e(0x153)](_0x2e8402){var _0x571c56=_0x25bc2e;return this['_onConflict'](!!(_0x2e8402!=null&&_0x2e8402[_0x571c56(0x33a)]));}['onRemoteRetry'](_0x40b4dc){var _0xab7e81=_0x25bc2e;return this[_0xab7e81(0x350)]>_0x2af0f1?this[_0xab7e81(0x250)]():(this[_0xab7e81(0x405)]=_0x52ca08(this[_0xab7e81(0x350)],{'timeout':this['_resendTimeout'],'reqId':_0x40b4dc[_0xab7e81(0x24a)]}),this[_0xab7e81(0x21e)]=this[_0xab7e81(0x405)][_0xab7e81(0x195)](({reqId:_0x39eac0,timeout:_0x2cefd8})=>{var _0x46b6a8=_0xab7e81;this[_0x46b6a8(0x24e)](_0x39eac0,_0x2cefd8);}),this);}['toggleOffline'](){var _0x43840e=_0x25bc2e;return this[_0x43840e(0x1d5)](),this['_injector'][_0x43840e(0x310)](_0x3aa05b[_0x43840e(0xf3)],this[_0x43840e(0x1ae)],this[_0x43840e(0x255)],this[_0x43840e(0x3ae)],[],this[_0x43840e(0x1fa)]);}[_0x25bc2e(0x358)](){return this;}[_0x25bc2e(0x230)](){var _0x465e49=_0x25bc2e;this[_0x465e49(0x1fa)][_0x465e49(0x2f3)](this[_0x465e49(0x3ae)]);}[_0x25bc2e(0x23f)](_0x353fc3){var _0x117c39=_0x25bc2e;return this[_0x117c39(0x1d5)](),this[_0x117c39(0x325)][_0x117c39(0x310)](_0x3aa05b[_0x117c39(0x372)],this[_0x117c39(0x1ae)],this['type'],this['_awaitingChangeset'],[],this[_0x117c39(0x1fa)],_0x353fc3);}[_0x25bc2e(0x24e)](_0x2a94b9,_0x2bcc6c){var _0x238bfd=_0x25bc2e,_0x1e6419;_0x2a94b9===((_0x1e6419=this[_0x238bfd(0x3ae)])==null?void 0x0:_0x1e6419[_0x238bfd(0x24a)])&&(this['resend'](),this[_0x238bfd(0x350)]=_0x2bcc6c===0x0?0x3e8:_0x2bcc6c*0x2);}[_0x25bc2e(0x1d5)](){var _0x54d1bb=_0x25bc2e,_0x1fa012;(_0x1fa012=this[_0x54d1bb(0x21e)])==null||_0x1fa012[_0x54d1bb(0x1de)](),this['_resendTimeout']=0x0;}},_0x3aa05b[_0x25bc2e(0x3bd)]=_0x3d2f38([_0x18248e(0x4,_0x223e3d[_0x25bc2e(0x1b8)](_0x223e3d[_0x25bc2e(0x10b)])),_0x18248e(0x5,_0x223e3d[_0x25bc2e(0x1b8)](_0x39217d['RevisionService'])),_0x18248e(0x6,_0x223e3d[_0x25bc2e(0x20c)]),_0x18248e(0x7,_0x223e3d[_0x25bc2e(0x15b)]),_0x18248e(0x8,_0x39217d[_0x25bc2e(0xeb)]),_0x18248e(0x9,_0x223e3d[_0x25bc2e(0x3d8)]),_0x18248e(0xa,_0x223e3d[_0x25bc2e(0x1cc)](_0x4c0d6c))],_0x3aa05b['AwaitingState']),_0x3aa05b[_0x25bc2e(0x271)]=class extends _0x4e7361{constructor(_0x1c127b,_0x2333ab,_0x399c31,_0x38cbc6,_0x13dc41,_0xdf8b0e,_0x31fb4b,_0xaa237e,_0x1019c8,_0x2bd38d,_0x528332,_0x5aec3e,_0x30a7e5){var _0x50f959=_0x25bc2e;super(_0x1c127b,_0x2333ab,_0x399c31,_0x38cbc6,_0x13dc41,_0x1019c8,_0x5aec3e,_0xaa237e,_0x30a7e5),_0x427f66(this,'status',_0x50f959(0x1a9)),_0x427f66(this,_0x50f959(0x350),0x0),_0x427f66(this,'_resendTimer'),_0x427f66(this,'_sender'),(this[_0x50f959(0x325)]=_0x31fb4b,this[_0x50f959(0x411)]=_0x2bd38d,this[_0x50f959(0x222)]=_0x528332,this[_0x50f959(0x19e)]=_0x30a7e5,_0xdf8b0e&&(this[_0x50f959(0x405)]=_0xdf8b0e,this[_0x50f959(0x21e)]=this[_0x50f959(0x405)][_0x50f959(0x195)](({reqId:_0x21eb27,timeout:_0x4d9ff0})=>{this['_resendWithTimeout'](_0x21eb27,_0x4d9ff0);})));}['appendMutation'](_0xdfe12c){var _0x107563=_0x25bc2e;return this[_0x107563(0x1e2)][_0x107563(0x204)](_0xdfe12c),this;}[_0x25bc2e(0x136)](_0x40428e){var _0x1d7fd2=_0x25bc2e;if(this[_0x1d7fd2(0x35a)](_0x40428e))return this[_0x1d7fd2(0x1d5)](),this[_0x1d7fd2(0x325)]['createInstance'](_0x3aa05b[_0x1d7fd2(0x35d)],this[_0x1d7fd2(0x1ae)],this['type'],this[_0x1d7fd2(0x3ae)],this[_0x1d7fd2(0x1e2)],null,[_0x40428e],this[_0x1d7fd2(0x1fa)]);try{const _0x4f6c73=this['_transformService'][_0x1d7fd2(0xd0)]([_0x40428e],[this[_0x1d7fd2(0x3ae)]],!0x1);if(_0x39217d[_0x1d7fd2(0x30c)](_0x4f6c73)){const {c1Prime:_0x26dd93,c2Prime:_0x41db2b}=_0x4f6c73,_0x3798cd=this['_transformService'][_0x1d7fd2(0x22a)](_0x26dd93[0x0],this['_pendingMutations']);if(_0x39217d[_0x1d7fd2(0x291)](_0x3798cd)){const {c1Prime:_0x3afa40,m2Prime:_0x1ae4a5}=_0x3798cd;return this[_0x1d7fd2(0x399)](_0x3afa40),_0x41db2b[0x0][_0x1d7fd2(0x146)]=this['_getCurrentRevision'](),this[_0x1d7fd2(0x1d5)](),this[_0x1d7fd2(0x325)][_0x1d7fd2(0x310)](_0x3aa05b[_0x1d7fd2(0x271)],this['unitID'],this['type'],_0x41db2b[0x0],_0x1ae4a5,this['_handler'],void 0x0);}throw _0x3798cd[_0x1d7fd2(0x3db)];}throw _0x4f6c73[_0x1d7fd2(0x3db)];}catch(_0x3a3358){return this[_0x1d7fd2(0x411)]['error'](_0x3a3358),this[_0x1d7fd2(0x23f)](!0x1);}}[_0x25bc2e(0x40b)](_0xc5646d){var _0x2a0109=_0x25bc2e;if(this[_0x2a0109(0x1d5)](),this[_0x2a0109(0x35a)](_0xc5646d))return this[_0x2a0109(0x325)][_0x2a0109(0x310)](_0x3aa05b[_0x2a0109(0x35d)],this[_0x2a0109(0x1ae)],this['type'],null,this[_0x2a0109(0x1e2)],this[_0x2a0109(0x3ae)],[],this['_handler']);this['_incrementRevisionNumber']();const _0x258e04=this['_injector'][_0x2a0109(0x310)](_0x3aa05b[_0x2a0109(0x119)],this[_0x2a0109(0x1ae)],this[_0x2a0109(0x255)],this[_0x2a0109(0x1e2)],this['_handler']);return _0x258e04['_schedule'](),_0x258e04[_0x2a0109(0xf7)](),_0x258e04;}[_0x25bc2e(0x153)](_0x108ae3){var _0x1e9155=_0x25bc2e;return this[_0x1e9155(0x23f)](!!(_0x108ae3!=null&&_0x108ae3[_0x1e9155(0x33a)]));}[_0x25bc2e(0x391)](_0x433677){var _0x4d4726=_0x25bc2e;return this[_0x4d4726(0x350)]>_0x2af0f1?this[_0x4d4726(0x250)]():(this['_resendTimer']=_0x52ca08(this[_0x4d4726(0x350)],{'timeout':this[_0x4d4726(0x350)],'reqId':_0x433677[_0x4d4726(0x24a)]}),this[_0x4d4726(0x21e)]=this[_0x4d4726(0x405)][_0x4d4726(0x195)](({reqId:_0x1f78ae,timeout:_0x3ee890})=>{var _0x382dde=_0x4d4726;this[_0x382dde(0x24e)](_0x1f78ae,_0x3ee890);}),this);}['toggleOffline'](){var _0x4d11ec=_0x25bc2e;return this[_0x4d11ec(0x1d5)](),this[_0x4d11ec(0x325)][_0x4d11ec(0x310)](_0x3aa05b['OfflineState'],this[_0x4d11ec(0x1ae)],this[_0x4d11ec(0x255)],this['_awaitingChangeset'],this['_pendingMutations'],this[_0x4d11ec(0x1fa)]);}[_0x25bc2e(0x358)](){return this;}[_0x25bc2e(0x230)](){var _0x18c2a9=_0x25bc2e;this[_0x18c2a9(0x1fa)]['onSendChangeset'](this[_0x18c2a9(0x3ae)]);}[_0x25bc2e(0x23f)](_0x4b71e4){var _0x3cf2f1=_0x25bc2e;return this[_0x3cf2f1(0x1d5)](),this[_0x3cf2f1(0x325)][_0x3cf2f1(0x310)](_0x3aa05b[_0x3cf2f1(0x372)],this[_0x3cf2f1(0x1ae)],this[_0x3cf2f1(0x255)],null,this[_0x3cf2f1(0x1e2)],this[_0x3cf2f1(0x1fa)],_0x4b71e4);}[_0x25bc2e(0x24e)](_0x39ca3e,_0x2b9589){var _0x4aed8a=_0x25bc2e,_0x499029;_0x39ca3e===((_0x499029=this[_0x4aed8a(0x3ae)])==null?void 0x0:_0x499029['reqId'])&&(this[_0x4aed8a(0x230)](),this[_0x4aed8a(0x350)]=_0x2b9589===0x0?0x3e8:_0x2b9589*0x2);}[_0x25bc2e(0x1d5)](){var _0x488af9=_0x25bc2e,_0x9956cf;(_0x9956cf=this[_0x488af9(0x21e)])==null||_0x9956cf[_0x488af9(0x1de)](),this[_0x488af9(0x350)]=0x0;}},_0x3aa05b['AwaitingWithPendingState']=_0x3d2f38([_0x18248e(0x6,_0x223e3d['Inject'](_0x223e3d[_0x25bc2e(0x10b)])),_0x18248e(0x7,_0x223e3d[_0x25bc2e(0x1b8)](_0x39217d[_0x25bc2e(0x3c8)])),_0x18248e(0x8,_0x223e3d[_0x25bc2e(0x20c)]),_0x18248e(0x9,_0x223e3d['ILogService']),_0x18248e(0xa,_0x39217d[_0x25bc2e(0xeb)]),_0x18248e(0xb,_0x223e3d[_0x25bc2e(0x3d8)]),_0x18248e(0xc,_0x223e3d[_0x25bc2e(0x1cc)](_0x4c0d6c))],_0x3aa05b[_0x25bc2e(0x271)]),_0x3aa05b[_0x25bc2e(0x372)]=class extends _0x4e7361{constructor(_0x1fc3a,_0x86446d,_0x396282,_0xba0bbe,_0x5945fb,_0x15d355=!0x1,_0x1cf300,_0x1a51fa,_0x33ebf1,_0xe462ca,_0x542d12,_0x192920,_0x3e9459){var _0x434c4c=_0x25bc2e;super(_0x1fc3a,_0x86446d,_0x396282,_0xba0bbe,_0x5945fb,_0x1a51fa,_0x33ebf1,_0xe462ca,_0x3e9459),_0x427f66(this,'status','conflict'),(this[_0x434c4c(0x2a7)]=_0x15d355,this[_0x434c4c(0x21a)]=_0x1cf300,this[_0x434c4c(0x163)]=_0x542d12,this['_collaborationUIEventService']=_0x192920,this[_0x434c4c(0x19e)]=_0x3e9459,this['_showConflictNotification'](),this['_clearLocalCache'](),this['_disableEditing']());}[_0x25bc2e(0x147)](){return this;}['onRemoteChangeset'](){return this;}[_0x25bc2e(0x40b)](){return this;}[_0x25bc2e(0x153)](){return this;}['onRemoteRetry'](){return this;}[_0x25bc2e(0x250)](){return this;}[_0x25bc2e(0x358)](){return this;}[_0x25bc2e(0x230)](){var _0x4c4237=_0x25bc2e;throw new Error(_0x4c4237(0x241));}[_0x25bc2e(0x133)](){var _0x5ad67b=_0x25bc2e,_0xab4fbf;(_0xab4fbf=this[_0x5ad67b(0x2e4)])==null||_0xab4fbf['updateOfflineData'](this['unitID'],this['type'],null,[]);}['_showConflictNotification'](){var _0x4f3bd7=_0x25bc2e;this[_0x4f3bd7(0x2a7)]?this[_0x4f3bd7(0x270)][_0x4f3bd7(0x298)]({'id':_0x2ce557['PERMISSION_DENIED']}):this[_0x4f3bd7(0x270)][_0x4f3bd7(0x298)]({'id':_0x2ce557[_0x4f3bd7(0xb3)]});}[_0x25bc2e(0x1bc)](){var _0x4cdc61=_0x25bc2e;this['_permissionService']['updatePermissionPoint'](new _0x3a7ecf[(_0x4cdc61(0x2b7))](this['unitID'])['id'],!0x1);}},_0x3aa05b['ConflictState']=_0x3d2f38([_0x18248e(0x6,_0x223e3d[_0x25bc2e(0x1b8)](_0x223e3d[_0x25bc2e(0x32d)])),_0x18248e(0x7,_0x223e3d[_0x25bc2e(0x20c)]),_0x18248e(0x8,_0x223e3d[_0x25bc2e(0x3d8)]),_0x18248e(0x9,_0x223e3d[_0x25bc2e(0x1b8)](_0x39217d[_0x25bc2e(0x3c8)])),_0x18248e(0xa,_0x223e3d['Inject'](_0x223e3d[_0x25bc2e(0x1c2)])),_0x18248e(0xb,_0x223e3d[_0x25bc2e(0x1b8)](_0x5876ed)),_0x18248e(0xc,_0x223e3d[_0x25bc2e(0x1cc)](_0x4c0d6c))],_0x3aa05b[_0x25bc2e(0x372)]),_0x3aa05b[_0x25bc2e(0xf3)]=class extends _0x4e7361{constructor(_0x549686,_0x21c9b8,_0x5b0857,_0x426446,_0x4bf141,_0x4647cf,_0x35f004,_0x4c4c97,_0x6a8cfa,_0x407caa){var _0x118471=_0x25bc2e;super(_0x549686,_0x21c9b8,_0x5b0857,_0x426446,_0x4bf141,_0x4c4c97,_0x6a8cfa,_0x35f004,_0x407caa),_0x427f66(this,_0x118471(0x145),_0x118471(0x3ac)),this[_0x118471(0x325)]=_0x4647cf;}[_0x25bc2e(0x147)](_0x1e60b7){var _0x1bdfec=_0x25bc2e;return this[_0x1bdfec(0x1e2)][_0x1bdfec(0x204)](_0x1e60b7),this['_updateLocalCache'](),this;}['onRemoteChangeset'](_0xf35966){throw new Error('[OfflineState]:\x20received\x20changeset.');}[_0x25bc2e(0x40b)](){var _0x1d7646=_0x25bc2e;throw new Error(_0x1d7646(0x1e4));}['onRemoteRej'](){throw new Error('[OfflineState]:\x20received\x20rejection.');}[_0x25bc2e(0x391)](){return this;}[_0x25bc2e(0x250)](){return this;}[_0x25bc2e(0x358)](){var _0x34f14b=_0x25bc2e;const {_injector:_0x4947e7,_pendingMutations:_0x562cd2,_awaitingChangeset:_0x2c6341,unitID:_0x10c771,_handler:_0x3cdde6,type:_0x5d9990}=this,_0x1c9533=_0x2276c1(_0x4947e7,_0x10c771,_0x5d9990,_0x2c6341,_0x562cd2,_0x3cdde6);return _0x1c9533 instanceof _0x3aa05b[_0x34f14b(0x119)]?_0x1c9533[_0x34f14b(0x99)]():(_0x1c9533 instanceof _0x3aa05b[_0x34f14b(0x271)]||_0x1c9533 instanceof _0x3aa05b[_0x34f14b(0x3bd)])&&_0x1c9533['resend'](),_0x1c9533;}['resend'](){var _0x4b5f55=_0x25bc2e;throw new Error(_0x4b5f55(0x152));}},_0x3aa05b[_0x25bc2e(0xf3)]=_0x3d2f38([_0x18248e(0x5,_0x223e3d[_0x25bc2e(0x1b8)](_0x223e3d[_0x25bc2e(0x10b)])),_0x18248e(0x6,_0x223e3d[_0x25bc2e(0x1b8)](_0x39217d[_0x25bc2e(0x3c8)])),_0x18248e(0x7,_0x223e3d['ICommandService']),_0x18248e(0x8,_0x223e3d[_0x25bc2e(0x3d8)]),_0x18248e(0x9,_0x223e3d[_0x25bc2e(0x1cc)](_0x4c0d6c))],_0x3aa05b[_0x25bc2e(0xf3)]),_0x3aa05b[_0x25bc2e(0x35d)]=class extends _0x4e7361{constructor(_0x553d13,_0x2061bd,_0x5d0776,_0x48b0cb,_0x46e167,_0x41e199,_0x41f825,_0x13ccc2,_0x53cc64,_0x5f49bc,_0x3a11e8,_0x10c420,_0x2d0614,_0x50e8d9){var _0x550845=_0x25bc2e;super(_0x553d13,_0x2061bd,_0x5d0776,_0x48b0cb,_0x41f825,_0x3a11e8,_0x10c420,_0x53cc64,_0x50e8d9),_0x427f66(this,_0x550845(0x145),_0x550845(0x35e)),(this[_0x550845(0x29b)]=_0x46e167,this['_queuedRemoteChangesets']=_0x41e199,this[_0x550845(0x325)]=_0x13ccc2,this['_logService']=_0x5f49bc,this[_0x550845(0x222)]=_0x2d0614,this[_0x550845(0x19e)]=_0x50e8d9);}[_0x25bc2e(0x9d)](_0x462e65){var _0x5524d9=_0x25bc2e;try{const _0x270936=[..._0x462e65,...this[_0x5524d9(0x40f)]],_0x73680e=[this['_awaitingChangeset']||this['_acknowledgedAwaitingChangeset']][_0x5524d9(0x157)](_0xe809e0=>!!_0xe809e0);let _0x39a467,_0x26cf32;if(_0x73680e[_0x5524d9(0xdd)]){const _0x2eb741=this[_0x5524d9(0x222)]['transformChangesets'](_0x270936,_0x73680e,!0x1);if(!_0x39217d[_0x5524d9(0x30c)](_0x2eb741))throw _0x2eb741[_0x5524d9(0x3db)];_0x39a467=_0x2eb741[_0x5524d9(0x295)],_0x26cf32=_0x2eb741[_0x5524d9(0x2e3)];}else _0x39a467=_0x270936,_0x26cf32=[];let _0x4b2b0b=this[_0x5524d9(0x1e2)];_0x39a467['forEach'](_0x95929b=>{var _0x562c2b=_0x5524d9;let _0x537da1;if(_0x4b2b0b['length']){const _0x9e12e2=this[_0x562c2b(0x222)][_0x562c2b(0x22a)](_0x95929b,_0x4b2b0b);if(!_0x39217d[_0x562c2b(0x291)](_0x9e12e2))throw _0x9e12e2['error'];_0x537da1=_0x9e12e2[_0x562c2b(0x295)],_0x4b2b0b=_0x9e12e2[_0x562c2b(0x2ff)];}else _0x537da1=_0x95929b;this['_executeRemoteChangeset'](_0x537da1);}),this['_acknowledgedAwaitingChangeset']&&this[_0x5524d9(0x349)](),this['_awaitingChangeset']&&_0x26cf32[_0x5524d9(0xdd)]&&(_0x26cf32[0x0][_0x5524d9(0x146)]=this[_0x5524d9(0x3f6)]());let _0x5b8f71;if(this[_0x5524d9(0x3ae)]&&_0x4b2b0b[_0x5524d9(0xdd)]!==0x0)_0x5b8f71=this[_0x5524d9(0x325)]['createInstance'](_0x3aa05b[_0x5524d9(0x271)],this[_0x5524d9(0x1ae)],this[_0x5524d9(0x255)],_0x26cf32[0x0],_0x4b2b0b,this[_0x5524d9(0x1fa)],void 0x0);else{if(this['_awaitingChangeset']&&_0x4b2b0b[_0x5524d9(0xdd)]===0x0)_0x26cf32[0x0][_0x5524d9(0x146)]=this['_getCurrentRevision'](),_0x5b8f71=this[_0x5524d9(0x325)][_0x5524d9(0x310)](_0x3aa05b['AwaitingState'],this[_0x5524d9(0x1ae)],this['type'],_0x26cf32[0x0],this[_0x5524d9(0x1fa)]);else{if(_0x4b2b0b[_0x5524d9(0xdd)]!==0x0){const _0x430c82=this[_0x5524d9(0x325)]['createInstance'](_0x3aa05b[_0x5524d9(0x119)],this['unitID'],this[_0x5524d9(0x255)],_0x4b2b0b,this[_0x5524d9(0x1fa)]);_0x430c82[_0x5524d9(0x99)](),_0x5b8f71=_0x430c82;}else _0x5b8f71=this[_0x5524d9(0x325)][_0x5524d9(0x310)](_0x3aa05b[_0x5524d9(0x34a)],this[_0x5524d9(0x1ae)],this[_0x5524d9(0x255)],this['_handler']);}}return _0x5b8f71[_0x5524d9(0xf7)](),_0x5b8f71;}catch(_0x55c1a7){return this[_0x5524d9(0x411)][_0x5524d9(0x3db)](_0x5524d9(0x159),_0x5524d9(0x175),_0x55c1a7),this[_0x5524d9(0x325)]['createInstance'](_0x3aa05b[_0x5524d9(0x372)],this[_0x5524d9(0x1ae)],this[_0x5524d9(0x255)],this[_0x5524d9(0x3ae)],this[_0x5524d9(0x1e2)],this['_handler'],!0x1);}}[_0x25bc2e(0x230)](){var _0x191d04=_0x25bc2e;throw new Error(_0x191d04(0x394));}[_0x25bc2e(0x147)](_0x500d5f){var _0x25e31d=_0x25bc2e;return this[_0x25e31d(0x1e2)][_0x25e31d(0x204)](_0x500d5f),this;}['onRemoteChangeset'](_0x5d115a){var _0x33ec0d=_0x25bc2e;return this[_0x33ec0d(0x40f)][_0x33ec0d(0x204)](_0x5d115a),this;}['onRemoteAck'](_0x5e5ecf){var _0x34d6c9=_0x25bc2e;if(this[_0x34d6c9(0x3ae)])return this[_0x34d6c9(0x29b)]=this[_0x34d6c9(0x3ae)],this[_0x34d6c9(0x3ae)]=null,this;throw new Error(_0x34d6c9(0x2c1));}[_0x25bc2e(0x153)](_0x488f99){var _0x455e5e=_0x25bc2e;return this['_onConflict'](!!(_0x488f99!=null&&_0x488f99[_0x455e5e(0x33a)]));}[_0x25bc2e(0x391)](){return this;}[_0x25bc2e(0x250)](){var _0x4cbc60=_0x25bc2e;return this['_injector'][_0x4cbc60(0x310)](_0x3aa05b[_0x4cbc60(0xf3)],this['unitID'],this[_0x4cbc60(0x255)],this['_awaitingChangeset'],this[_0x4cbc60(0x1e2)],this['_handler']);}['toggleOnline'](){return this;}['_onConflict'](_0xfdd6aa){var _0x381ab7=_0x25bc2e;return this[_0x381ab7(0x325)]['createInstance'](_0x3aa05b['ConflictState'],this[_0x381ab7(0x1ae)],this[_0x381ab7(0x255)],this[_0x381ab7(0x3ae)],this['_pendingMutations'],this[_0x381ab7(0x1fa)],_0xfdd6aa);}},_0x3aa05b[_0x25bc2e(0x35d)]=_0x3d2f38([_0x18248e(0x7,_0x223e3d[_0x25bc2e(0x1b8)](_0x223e3d[_0x25bc2e(0x10b)])),_0x18248e(0x8,_0x223e3d[_0x25bc2e(0x1b8)](_0x39217d[_0x25bc2e(0x3c8)])),_0x18248e(0x9,_0x223e3d['ILogService']),_0x18248e(0xa,_0x223e3d[_0x25bc2e(0x20c)]),_0x18248e(0xb,_0x223e3d[_0x25bc2e(0x3d8)]),_0x18248e(0xc,_0x39217d[_0x25bc2e(0xeb)]),_0x18248e(0xd,_0x223e3d[_0x25bc2e(0x1cc)](_0x4c0d6c))],_0x3aa05b['FetchingMissState']);function _0x2276c1(_0x2c7db0,_0x31ad65,_0x14c1b7,_0x58ee4b,_0x483f05,_0x32e72d){var _0x1a105d=_0x25bc2e;return _0x58ee4b&&_0x483f05[_0x1a105d(0xdd)]?_0x2c7db0['createInstance'](_0x3aa05b[_0x1a105d(0x271)],_0x31ad65,_0x14c1b7,_0x58ee4b,_0x483f05,_0x32e72d,void 0x0):_0x58ee4b?_0x2c7db0[_0x1a105d(0x310)](_0x3aa05b['AwaitingState'],_0x31ad65,_0x14c1b7,_0x58ee4b,_0x32e72d):_0x483f05[_0x1a105d(0xdd)]?_0x2c7db0[_0x1a105d(0x310)](_0x3aa05b[_0x1a105d(0x119)],_0x31ad65,_0x14c1b7,_0x483f05,_0x32e72d):_0x2c7db0[_0x1a105d(0x310)](_0x3aa05b[_0x1a105d(0x34a)],_0x31ad65,_0x14c1b7,_0x32e72d);}var _0x527c7b=Object[_0x25bc2e(0x1e6)],_0x566fc2=(_0x40b05f,_0xd744d1,_0x4fb118,_0x40b558)=>{for(var _0x3156d5=_0x40b558>0x1?void 0x0:_0x40b558?_0x527c7b(_0xd744d1,_0x4fb118):_0xd744d1,_0x35f284=_0x40b05f['length']-0x1,_0x1cf28b;_0x35f284>=0x0;_0x35f284--)(_0x1cf28b=_0x40b05f[_0x35f284])&&(_0x3156d5=_0x1cf28b(_0x3156d5)||_0x3156d5);return _0x3156d5;},_0x215b1e=(_0x2aa417,_0x30f2cf)=>(_0x302eb8,_0x49ae4b)=>_0x30f2cf(_0x302eb8,_0x49ae4b,_0x2aa417);_0x3aa05b[_0x25bc2e(0x376)]=class extends _0x223e3d[_0x25bc2e(0xa7)]{constructor(_0x3a25ca,_0x52c32d,_0x17fc47,_0x1143a1,_0x50595b,_0x244cd9,_0x3c47a0,_0x4ebf25,_0x218137,_0x470f51,_0x5ac139,_0x4b1d80,_0x28410f){var _0x1c9f18=_0x25bc2e;super(),_0x427f66(this,'_state$',new _0x94b51a[(_0x1c9f18(0xd7))](null)),_0x427f66(this,_0x1c9f18(0x1c8),this['_state$']['asObservable']()),_0x427f66(this,'_state'),_0x427f66(this,'_collaborationPaused',!0x1),_0x427f66(this,_0x1c9f18(0x272),''),_0x427f66(this,_0x1c9f18(0x32e),0x0),_0x427f66(this,_0x1c9f18(0x2ef),this[_0x1c9f18(0x1c8)]['pipe'](_0x94b51a[_0x1c9f18(0x390)](_0x183460=>_0x183460?_0x183460[_0x1c9f18(0x145)]:_0x4adeba[_0x1c9f18(0x171)]),_0x94b51a[_0x1c9f18(0x13e)](0x1))),_0x427f66(this,_0x1c9f18(0x30b),!0x1),_0x427f66(this,_0x1c9f18(0xc2),[]),(this[_0x1c9f18(0x1ae)]=_0x3a25ca,this['session']=_0x52c32d,this[_0x1c9f18(0x294)]=_0x17fc47,this[_0x1c9f18(0x325)]=_0x1143a1,this[_0x1c9f18(0x36a)]=_0x50595b,this[_0x1c9f18(0x163)]=_0x244cd9,this['_revisionService']=_0x3c47a0,this[_0x1c9f18(0x410)]=_0x4ebf25,this[_0x1c9f18(0x411)]=_0x218137,this[_0x1c9f18(0x35f)]=_0x470f51,this[_0x1c9f18(0x21a)]=_0x5ac139,this['_singleActiveUnitService']=_0x4b1d80,this[_0x1c9f18(0x2e4)]=_0x28410f);}get['state'](){var _0x348ce3=_0x25bc2e;return this[_0x348ce3(0x13c)];}async[_0x25bc2e(0x27c)](){var _0x187791=_0x25bc2e;if(this[_0x187791(0x23e)])throw new Error('[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.');await this['_init']();}[_0x25bc2e(0x338)](){var _0x48b07f=_0x25bc2e;return this['_collaborationPaused']=!0x0,_0x223e3d[_0x48b07f(0x13d)](()=>{var _0x8b1ad5=_0x48b07f;this['_collaborationPaused']=!0x1,this[_0x8b1ad5(0x28b)]();});}[_0x25bc2e(0x3a0)](_0x5d2f0d){this['_onLocalMutation'](_0x5d2f0d);}[_0x25bc2e(0x18f)](_0x501a0b){var _0x2cebae=_0x25bc2e;this[_0x2cebae(0x13c)]=_0x501a0b,this[_0x2cebae(0x180)][_0x2cebae(0x37a)](_0x501a0b);}async[_0x25bc2e(0x3f9)](){var _0x2363a9=_0x25bc2e,_0x48bd2d;this['_updateState'](await this[_0x2363a9(0x1c5)]()),this['_singleActiveUnitService']&&((_0x48bd2d=this[_0x2363a9(0x190)])==null||_0x48bd2d[_0x2363a9(0x199)](this[_0x2363a9(0x1ae)]),this[_0x2363a9(0x414)](this[_0x2363a9(0x190)][_0x2363a9(0xa0)](this['unitID'])[_0x2363a9(0x195)](_0x3c0605=>{var _0x35f96b=_0x2363a9;this[_0x35f96b(0x411)][_0x35f96b(0xdf)]('[CollaborationEntity]',_0x35f96b(0x369),_0x3c0605),_0x3c0605===_0x1b0014[_0x35f96b(0x1ca)]?(this[_0x35f96b(0x410)][_0x35f96b(0x298)]({'id':_0x2ce557[_0x35f96b(0x198)]}),this[_0x35f96b(0x21a)][_0x35f96b(0x368)](new _0x3a7ecf[(_0x35f96b(0x2b7))](this['unitID'])['id'],!0x1),this['_permissionService']['setShowComponents'](!0x1)):(this[_0x35f96b(0x21a)]['updatePermissionPoint'](new _0x3a7ecf[(_0x35f96b(0x2b7))](this[_0x35f96b(0x1ae)])['id'],!0x0),this['_permissionService']['setShowComponents'](!0x0));})));let _0x3b468c=!0x1;return this[_0x2363a9(0x414)](this['session']['sessionStatus$'][_0x2363a9(0x195)](_0x50b843=>{var _0x58baba=_0x2363a9;_0x50b843===_0x3034e7[_0x58baba(0x231)]?this['_toggleOnline'](_0x3b468c):_0x50b843===_0x3034e7['OFFLINE']&&(_0x3b468c=!0x0,this['_toggleOffline']());})),this[_0x2363a9(0x414)](this[_0x2363a9(0x1b7)][_0x2363a9(0x1c3)]['subscribe'](_0xbba19a=>{var _0x324b86=_0x2363a9;try{switch(_0xbba19a[_0x324b86(0x2e6)]){case _0x39217d[_0x324b86(0x149)][_0x324b86(0x3ed)]:{this['_onRemoteChangeset'](_0x39217d[_0x324b86(0xcb)](_0xbba19a[_0x324b86(0xe2)]));break;}case _0x39217d[_0x324b86(0x149)]['CHANGESET_ACK']:{this[_0x324b86(0x2f1)](_0xbba19a[_0x324b86(0xe2)]);break;}case _0x39217d[_0x324b86(0x149)][_0x324b86(0x240)]:{this[_0x324b86(0x258)]();break;}case _0x39217d['CollaborationEvent'][_0x324b86(0x3ec)]:{this[_0x324b86(0x361)](_0xbba19a[_0x324b86(0xe2)]);break;}case _0x39217d[_0x324b86(0x149)][_0x324b86(0x2b2)]:{this[_0x324b86(0x260)](_0xbba19a[_0x324b86(0xe2)]['changesets']['map'](_0x2d513e=>_0x39217d['parseProtocolChangeset'](_0x2d513e)));break;}case _0x39217d[_0x324b86(0x149)][_0x324b86(0x3ea)]:{this[_0x324b86(0x258)]({'isPermissionRej':!0x0});break;}case _0x39217d['CollaborationEvent'][_0x324b86(0x2c5)]:break;}}catch(_0x35bfa9){throw console['error']('Error\x20on\x20receiving\x20event',_0x35bfa9),_0x35bfa9;}})),this[_0x2363a9(0x13c)];}[_0x25bc2e(0x370)](){var _0x1b4ff0=_0x25bc2e;this[_0x1b4ff0(0x30b)]=!0x1;}[_0x25bc2e(0x40a)](){var _0x1a5954=_0x25bc2e;if(this['_transitionLocked'])throw new Error(_0x1a5954(0x1d1));this[_0x1a5954(0x30b)]=!0x0;}[_0x25bc2e(0x1dd)](_0x5d67bd){var _0x17e8c4=_0x25bc2e;this['_lockTransition'](),this[_0x17e8c4(0x18f)](this[_0x17e8c4(0x13c)][_0x17e8c4(0x147)](_0x5d67bd)),this[_0x17e8c4(0x370)]();}[_0x25bc2e(0x226)](_0x535cca){var _0x31dcae=_0x25bc2e;if(!(_0x535cca[_0x31dcae(0x2cb)]<=this[_0x31dcae(0x323)][_0x31dcae(0x30e)](this[_0x31dcae(0x1ae)]))){if(this[_0x31dcae(0x332)]){this[_0x31dcae(0xc2)]['push'](_0x535cca);return;}this[_0x31dcae(0x193)](_0x535cca);}}['_exhaustRemoteChangesetQueue'](){var _0x4e850e=_0x25bc2e;this[_0x4e850e(0xc2)]['forEach'](_0x1ad66c=>this[_0x4e850e(0x193)](_0x1ad66c)),this[_0x4e850e(0xc2)]=[];}[_0x25bc2e(0x193)](_0x5a8a5c){var _0x5b0508=_0x25bc2e;const _0xab131a=this['_compressMutationService'][_0x5b0508(0x351)]['fetchThroughInterceptors'](this[_0x5b0508(0x36a)][_0x5b0508(0x351)][_0x5b0508(0x224)]()[_0x5b0508(0x320)])(_0x5a8a5c['mutations'],null)||_0x5a8a5c[_0x5b0508(0x3e8)],_0x195388={..._0x5a8a5c,'mutations':_0xab131a};this[_0x5b0508(0x40a)](),this[_0x5b0508(0x18f)](this[_0x5b0508(0x13c)][_0x5b0508(0x136)](_0x195388)),this[_0x5b0508(0x370)]();}['_onRemoteACK'](_0xe91095){var _0x181a1f=_0x25bc2e;this[_0x181a1f(0x40a)](),this[_0x181a1f(0x18f)](this['_state'][_0x181a1f(0x40b)](_0xe91095)),this['_unlockTransition']();}['_onRemoteRejected'](_0x40cb1d){var _0x29d395=_0x25bc2e;this[_0x29d395(0x40a)](),this[_0x29d395(0x18f)](this['_state'][_0x29d395(0x153)](_0x40cb1d)),this[_0x29d395(0x370)]();}[_0x25bc2e(0x361)](_0x235783){var _0xdd6755=_0x25bc2e;this[_0xdd6755(0x40a)](),this[_0xdd6755(0x18f)](this['_state'][_0xdd6755(0x391)](_0x235783)),this[_0xdd6755(0x370)]();}[_0x25bc2e(0x260)](_0x4cd203){var _0x1f7d67=_0x25bc2e;if(!(this[_0x1f7d67(0x13c)]instanceof _0x3aa05b[_0x1f7d67(0x35d)]))throw new TypeError('[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!');const _0x5f4312=_0x4cd203[_0x1f7d67(0x390)](_0x207c3e=>{var _0xcc6ee0=_0x1f7d67;const _0x1bb150=this['_compressMutationService'][_0xcc6ee0(0x351)][_0xcc6ee0(0xbe)](this[_0xcc6ee0(0x36a)][_0xcc6ee0(0x351)]['getInterceptPoints']()['COMPRESS_MUTATION_APPLY'])(_0x207c3e[_0xcc6ee0(0x3e8)],null)||_0x207c3e[_0xcc6ee0(0x3e8)];return{..._0x207c3e,'mutations':_0x1bb150};});this[_0x1f7d67(0x40a)](),this['_updateState'](this[_0x1f7d67(0x13c)]['onMissedChangesetFetched'](_0x5f4312)),this[_0x1f7d67(0x370)]();}['_toggleOffline'](){var _0x254369=_0x25bc2e;this[_0x254369(0x40a)](),this[_0x254369(0x18f)](this[_0x254369(0x13c)][_0x254369(0x250)]()),this[_0x254369(0x370)]();}['_toggleOnline'](_0xa148b9=!0x1){var _0x543380=_0x25bc2e;this['_lockTransition'](),this[_0x543380(0x18f)](this['_state'][_0x543380(0x358)]()),this[_0x543380(0x370)]();const _0x35c599=this[_0x543380(0x13c)];_0xa148b9&&_0x35c599 instanceof _0x3aa05b[_0x543380(0x34a)]&&(this[_0x543380(0x40a)](),this[_0x543380(0x18f)](_0x35c599[_0x543380(0x2b6)]()),this[_0x543380(0x370)]());}async[_0x25bc2e(0x1c5)](){return new Promise(_0x5ca7cd=>{var _0x52554c=_0x47c2;this[_0x52554c(0x1b7)][_0x52554c(0x38b)]['pipe'](_0x94b51a['take'](0x1))[_0x52554c(0x195)](async _0xe828a7=>{var _0xcce7f9=_0x52554c;_0x5ca7cd(await this[_0xcce7f9(0x130)](_0xe828a7===_0x3034e7[_0xcce7f9(0x231)]));});});}[_0x25bc2e(0x3d3)](){var _0x3a6020=_0x25bc2e;const _0x409e0e=this[_0x3a6020(0x1ae)];return{'onStateChange':(_0x1197b1,_0x2bb204)=>{var _0x5a8732=_0x3a6020;if(_0x1197b1!==this[_0x5a8732(0x13c)])throw new Error('[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20'+_0x1197b1[_0x5a8732(0x145)]+_0x5a8732(0x353)+_0x2bb204[_0x5a8732(0x145)]+'\x0aCurrent:\x20'+this['_state'][_0x5a8732(0x145)]);this[_0x5a8732(0x18f)](_0x2bb204);},'onSendChangeset':_0x44e511=>{var _0x53c625=_0x3a6020;_0x44e511[_0x53c625(0x2ba)]||(_0x44e511[_0x53c625(0x2ba)]=this['_changesetSessionId'],_0x44e511[_0x53c625(0x24a)]=++this[_0x53c625(0x32e)]);const _0x52a51b={'eventID':_0x39217d[_0x53c625(0x149)][_0x53c625(0x274)],'data':{'unitID':_0x44e511['unitID'],'unitType':this[_0x53c625(0x294)],'changeset':_0x44e511,'memberID':this[_0x53c625(0x1b7)]['getMemberID']()}};this[_0x53c625(0x1b7)][_0x53c625(0xbf)](_0x52a51b,this[_0x53c625(0x1ae)]);},'onMissingChangesets':({from:_0x1a87f6,to:_0x63c2a5})=>{var _0x4659ad=_0x3a6020;this['_logService'][_0x4659ad(0xdf)](_0x4659ad(0x2f6),_0x4659ad(0x1ea)+_0x1a87f6+_0x4659ad(0x126)+_0x63c2a5);const _0x336617={'eventID':_0x39217d['CollaborationEvent'][_0x4659ad(0x173)],'data':{'unitID':_0x409e0e,'unitType':this[_0x4659ad(0x294)],'from':_0x1a87f6,'to':_0x63c2a5}};this['session'][_0x4659ad(0xbf)](_0x336617,this['unitID']);}};}async[_0x25bc2e(0x130)](_0x451fa0){var _0xaa54dc=_0x25bc2e,_0x5eed1f,_0x4b4c9e,_0x367791;const _0x413489=await((_0x5eed1f=this[_0xaa54dc(0x2e4)])==null?void 0x0:_0x5eed1f['loadOfflineData'](this[_0xaa54dc(0x1ae)])),_0x2169ec=(_0x4b4c9e=_0x413489==null?void 0x0:_0x413489['mutations'])!=null?_0x4b4c9e:[],_0x388639=(_0x367791=_0x413489==null?void 0x0:_0x413489[_0xaa54dc(0x35b)])!=null?_0x367791:null,_0x3bddd2=!!(_0x388639!=null&&_0x388639[_0xaa54dc(0x2ba)])&&!!(_0x388639!=null&&_0x388639[_0xaa54dc(0x24a)]);this['_changesetSessionId']=_0x3bddd2?_0x388639[_0xaa54dc(0x2ba)]:_0x20f700(),this[_0xaa54dc(0x32e)]=_0x3bddd2?_0x388639[_0xaa54dc(0x24a)]:0x0;const _0x388aa6=this[_0xaa54dc(0x1ae)];try{this[_0xaa54dc(0x1fc)](_0x388639,_0x2169ec);}catch(_0x590644){this[_0xaa54dc(0x411)][_0xaa54dc(0x3db)](_0x590644);}const _0x36e3a5=this[_0xaa54dc(0x3d3)]();if(_0x451fa0){const _0x5239e2=_0x2276c1(this[_0xaa54dc(0x325)],_0x388aa6,this[_0xaa54dc(0x294)],_0x388639,_0x2169ec,_0x36e3a5);return _0x5239e2 instanceof _0x3aa05b['PendingState']?_0x5239e2[_0xaa54dc(0x99)]():(_0x5239e2 instanceof _0x3aa05b[_0xaa54dc(0x271)]||_0x5239e2 instanceof _0x3aa05b[_0xaa54dc(0x3bd)])&&_0x5239e2['resend'](),_0x5239e2;}return this['_injector'][_0xaa54dc(0x310)](_0x3aa05b['OfflineState'],_0x388aa6,this[_0xaa54dc(0x294)],_0x388639,_0x2169ec,_0x36e3a5);}[_0x25bc2e(0x1fc)](_0x559728,_0x517774){var _0x431e3a=_0x25bc2e,_0x1b7f16,_0x6e9a49;const _0x44d8eb=this[_0x431e3a(0x36a)]['interceptor'][_0x431e3a(0xbe)](this[_0x431e3a(0x36a)][_0x431e3a(0x351)][_0x431e3a(0x224)]()[_0x431e3a(0x320)]);(_0x1b7f16=_0x44d8eb((_0x559728==null?void 0x0:_0x559728[_0x431e3a(0x3e8)])||[],null))==null||_0x1b7f16[_0x431e3a(0x3bc)](_0x2c1306=>this['_commandService']['executeCommand'](_0x2c1306['id'],_0x2c1306[_0x431e3a(0x2df)])),(_0x6e9a49=_0x44d8eb(_0x517774||[],null))==null||_0x6e9a49[_0x431e3a(0x3bc)](_0x3f5ea4=>this[_0x431e3a(0x35f)][_0x431e3a(0x1b2)](_0x3f5ea4['id'],_0x3f5ea4[_0x431e3a(0x2df)]));}},_0x3aa05b[_0x25bc2e(0x376)]=_0x566fc2([_0x215b1e(0x3,_0x223e3d[_0x25bc2e(0x1b8)](_0x223e3d[_0x25bc2e(0x10b)])),_0x215b1e(0x4,_0x223e3d[_0x25bc2e(0x1b8)](_0x39217d['CompressMutationService'])),_0x215b1e(0x5,_0x223e3d[_0x25bc2e(0x1b8)](_0x223e3d[_0x25bc2e(0x1c2)])),_0x215b1e(0x6,_0x223e3d[_0x25bc2e(0x1b8)](_0x39217d[_0x25bc2e(0x3c8)])),_0x215b1e(0x7,_0x223e3d[_0x25bc2e(0x1b8)](_0x5876ed)),_0x215b1e(0x8,_0x223e3d['ILogService']),_0x215b1e(0x9,_0x223e3d[_0x25bc2e(0x20c)]),_0x215b1e(0xa,_0x223e3d['IPermissionService']),_0x215b1e(0xb,_0x223e3d[_0x25bc2e(0x1cc)](_0x5cc7ba)),_0x215b1e(0xc,_0x223e3d[_0x25bc2e(0x1cc)](_0x4c0d6c))],_0x3aa05b[_0x25bc2e(0x376)]),_0x3aa05b['DocCollaborationEntity']=class extends _0x3aa05b[_0x25bc2e(0x376)]{constructor(_0x434c91,_0x42745b,_0x410372,_0x2ecb6d,_0x20ea6e,_0x4d8c0b,_0x23fa4d,_0x1c9c78,_0x4365a2,_0x6dc11f,_0x49fec4,_0x2d18fb,_0x3bdd8a){var _0x4d70ae=_0x25bc2e;super(_0x434c91,_0x410372,_0x42745b,_0x2ecb6d,_0x20ea6e,_0x4d8c0b,_0x23fa4d,_0x1c9c78,_0x4365a2,_0x6dc11f,_0x49fec4,_0x2d18fb,_0x3bdd8a),_0x427f66(this,_0x4d70ae(0x124),null),(this[_0x4d70ae(0x1ae)]=_0x434c91,this[_0x4d70ae(0x255)]=_0x42745b);}[_0x25bc2e(0x34b)](_0x47dfb4){this['_handlerCallback']=_0x47dfb4;}[_0x25bc2e(0x3b5)](){var _0x4ed30b=_0x25bc2e;this[_0x4ed30b(0x124)]=null,super[_0x4ed30b(0x3b5)]();}[_0x25bc2e(0x3d3)](){var _0x116153=_0x25bc2e;const _0x17471e=super[_0x116153(0x3d3)]();return _0x17471e['onTransformIME']=_0xfed606=>{var _0x447ef8=_0x116153,_0x553d90,_0x4d477d;return(_0x4d477d=(_0x553d90=this[_0x447ef8(0x124)])==null?void 0x0:_0x553d90[_0x447ef8(0x15e)])==null?void 0x0:_0x4d477d[_0x447ef8(0x38a)](_0x553d90,_0xfed606);},_0x17471e[_0x116153(0x363)]=_0x59ab01=>{var _0x44c7fb,_0x5350da;return(_0x5350da=(_0x44c7fb=this['_handlerCallback'])==null?void 0x0:_0x44c7fb['onTransformState'])==null?void 0x0:_0x5350da['call'](_0x44c7fb,_0x59ab01);},_0x17471e[_0x116153(0x327)]=_0xc925e7=>{var _0x490115=_0x116153,_0x208e25,_0x2b415c;return(_0x2b415c=(_0x208e25=this['_handlerCallback'])==null?void 0x0:_0x208e25['onTransformSelections'])==null?void 0x0:_0x2b415c[_0x490115(0x38a)](_0x208e25,_0xc925e7);},_0x17471e['onSyncEditingCollabCursor']=_0x380a27=>{var _0x5d00ca=_0x116153,_0x342146,_0x3d0a7a;return(_0x3d0a7a=(_0x342146=this[_0x5d00ca(0x124)])==null?void 0x0:_0x342146[_0x5d00ca(0x1a0)])==null?void 0x0:_0x3d0a7a[_0x5d00ca(0x38a)](_0x342146,_0x380a27);},_0x17471e['onTransformRemoteChangesetByIMECache']=_0x932fff=>{var _0x2a3f1c=_0x116153,_0x1f8c42,_0x4d5d9a,_0x2d039a;if(!((_0x1f8c42=this['_handlerCallback'])!=null&&_0x1f8c42[_0x2a3f1c(0x10e)]))throw new Error(_0x2a3f1c(0x20d));return(_0x2d039a=(_0x4d5d9a=this['_handlerCallback'])==null?void 0x0:_0x4d5d9a['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x2d039a['call'](_0x4d5d9a,_0x932fff);},_0x17471e['onTransformRemoteChangesetByStateCache']=_0x5d4689=>{var _0x51ae9e=_0x116153,_0x365ce0,_0x621f5,_0x34b752;if(!((_0x365ce0=this['_handlerCallback'])!=null&&_0x365ce0[_0x51ae9e(0x331)]))throw new Error('onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x34b752=(_0x621f5=this[_0x51ae9e(0x124)])==null?void 0x0:_0x621f5[_0x51ae9e(0x331)])==null?void 0x0:_0x34b752[_0x51ae9e(0x38a)](_0x621f5,_0x5d4689);},_0x17471e;}async['_init'](){var _0x104229=_0x25bc2e;const _0x346bad=await super[_0x104229(0x3f9)]();return this[_0x104229(0x414)](this[_0x104229(0x35f)]['onCommandExecuted']((_0x1642ae,_0x3fa50f)=>{var _0x497437=_0x104229;if(_0x1642ae[_0x497437(0x255)]!==_0x223e3d[_0x497437(0xce)][_0x497437(0xe8)]||_0x3fa50f!=null&&_0x3fa50f[_0x497437(0x19a)]||_0x3fa50f!=null&&_0x3fa50f['onlyLocal']||_0x1642ae['id']===_0x444d4c[_0x497437(0x21d)]['id'])return;const _0x34d0cc=_0x1642ae[_0x497437(0x2df)];if((_0x34d0cc==null?void 0x0:_0x34d0cc[_0x497437(0x312)])!==this[_0x497437(0x1ae)])return;const _0xc02632=_0x1642ae,_0x47d5d6=this[_0x497437(0x36a)][_0x497437(0x351)][_0x497437(0xbe)](this[_0x497437(0x36a)][_0x497437(0x351)][_0x497437(0x224)]()[_0x497437(0xbd)])([_0xc02632],null)||[_0xc02632];this[_0x497437(0x1dd)](_0x47d5d6[0x0]);})),_0x346bad;}},_0x3aa05b[_0x25bc2e(0x1db)]=_0x566fc2([_0x215b1e(0x3,_0x223e3d['Inject'](_0x223e3d[_0x25bc2e(0x10b)])),_0x215b1e(0x4,_0x223e3d['Inject'](_0x39217d['CompressMutationService'])),_0x215b1e(0x5,_0x223e3d[_0x25bc2e(0x1b8)](_0x223e3d[_0x25bc2e(0x1c2)])),_0x215b1e(0x6,_0x223e3d['Inject'](_0x39217d[_0x25bc2e(0x3c8)])),_0x215b1e(0x7,_0x223e3d[_0x25bc2e(0x1b8)](_0x5876ed)),_0x215b1e(0x8,_0x223e3d[_0x25bc2e(0x15b)]),_0x215b1e(0x9,_0x223e3d[_0x25bc2e(0x20c)]),_0x215b1e(0xa,_0x223e3d[_0x25bc2e(0x32d)]),_0x215b1e(0xb,_0x223e3d[_0x25bc2e(0x1cc)](_0x5cc7ba)),_0x215b1e(0xc,_0x223e3d['Optional'](_0x4c0d6c))],_0x3aa05b[_0x25bc2e(0x1db)]),_0x3aa05b[_0x25bc2e(0x3d5)]=class extends _0x3aa05b[_0x25bc2e(0x376)]{constructor(_0x516d01,_0x52e07b,_0x51ca00,_0x36089f,_0x23162a,_0x19c6b2,_0x520781,_0x913c62,_0x493e1c,_0x18aa7a,_0x377562,_0x2deb81,_0x261921,_0x333e42){var _0x52447e=_0x25bc2e;super(_0x516d01,_0x51ca00,_0x52e07b,_0x36089f,_0x23162a,_0x19c6b2,_0x520781,_0x493e1c,_0x18aa7a,_0x377562,_0x2deb81,_0x261921,_0x333e42),this[_0x52447e(0x1ae)]=_0x516d01,this[_0x52447e(0x255)]=_0x52e07b,this[_0x52447e(0x2b3)]=_0x913c62;}[_0x25bc2e(0x3d3)](){var _0x3bab8d=_0x25bc2e;const _0x8adbd1=super['_createHandler']();return _0x8adbd1[_0x3bab8d(0x327)]=_0xb629d=>this[_0x3bab8d(0x2b3)][_0x3bab8d(0x26a)](_0xb629d),_0x8adbd1;}async['_init'](){var _0x2678f8=_0x25bc2e;const _0x390470=await super[_0x2678f8(0x3f9)]();return this['disposeWithMe'](this[_0x2678f8(0x35f)][_0x2678f8(0x196)]((_0x329557,_0x1b2cea)=>{var _0x1cbfb2=_0x2678f8;if(_0x329557['type']!==_0x223e3d[_0x1cbfb2(0xce)][_0x1cbfb2(0xe8)]||_0x1b2cea!=null&&_0x1b2cea['fromCollab']||_0x1b2cea!=null&&_0x1b2cea[_0x1cbfb2(0x375)])return;const _0x184f34=_0x329557[_0x1cbfb2(0x2df)];if((_0x184f34==null?void 0x0:_0x184f34[_0x1cbfb2(0x312)])!==this[_0x1cbfb2(0x1ae)])return;const _0x95939e=_0x329557,_0x10248=this[_0x1cbfb2(0x36a)]['interceptor'][_0x1cbfb2(0xbe)](this[_0x1cbfb2(0x36a)]['interceptor'][_0x1cbfb2(0x224)]()['COMPRESS_MUTATION_SEND'])([_0x95939e],null)||[_0x95939e];this[_0x1cbfb2(0x1dd)](_0x10248[0x0]);})),_0x390470;}},_0x3aa05b[_0x25bc2e(0x3d5)]=_0x566fc2([_0x215b1e(0x3,_0x223e3d[_0x25bc2e(0x1b8)](_0x223e3d[_0x25bc2e(0x10b)])),_0x215b1e(0x4,_0x223e3d[_0x25bc2e(0x1b8)](_0x39217d[_0x25bc2e(0x28c)])),_0x215b1e(0x5,_0x223e3d['Inject'](_0x223e3d['LocaleService'])),_0x215b1e(0x6,_0x223e3d[_0x25bc2e(0x1b8)](_0x39217d[_0x25bc2e(0x3c8)])),_0x215b1e(0x7,_0x223e3d['Inject'](_0x3aa05b[_0x25bc2e(0x150)])),_0x215b1e(0x8,_0x223e3d['Inject'](_0x5876ed)),_0x215b1e(0x9,_0x223e3d[_0x25bc2e(0x15b)]),_0x215b1e(0xa,_0x223e3d[_0x25bc2e(0x20c)]),_0x215b1e(0xb,_0x223e3d[_0x25bc2e(0x32d)]),_0x215b1e(0xc,_0x223e3d['Optional'](_0x5cc7ba)),_0x215b1e(0xd,_0x223e3d[_0x25bc2e(0x1cc)](_0x4c0d6c))],_0x3aa05b['SheetCollaborationEntity']);var _0x44e681=Object[_0x25bc2e(0x1e6)],_0x27437b=(_0x37a355,_0x3a64d5,_0x41deb3,_0xd1555b)=>{var _0x55f3e8=_0x25bc2e;for(var _0x2a5e21=_0xd1555b>0x1?void 0x0:_0xd1555b?_0x44e681(_0x3a64d5,_0x41deb3):_0x3a64d5,_0x5f51bc=_0x37a355[_0x55f3e8(0xdd)]-0x1,_0x16ff2f;_0x5f51bc>=0x0;_0x5f51bc--)(_0x16ff2f=_0x37a355[_0x5f51bc])&&(_0x2a5e21=_0x16ff2f(_0x2a5e21)||_0x2a5e21);return _0x2a5e21;},_0x4f1bec=(_0x35e5f6,_0x7f98dc)=>(_0x569822,_0x309828)=>_0x7f98dc(_0x569822,_0x309828,_0x35e5f6);_0x3aa05b[_0x25bc2e(0xbb)]=class extends _0x223e3d['RxDisposable']{constructor(_0x442ada,_0x599107,_0x51708c){var _0x29e8c0=_0x25bc2e;super(),_0x427f66(this,'_entities',new Map()),_0x427f66(this,'_entityInit$',new _0x94b51a[(_0x29e8c0(0x215))]()),_0x427f66(this,_0x29e8c0(0x131),this[_0x29e8c0(0x22c)][_0x29e8c0(0x23d)]()),(this['_injector']=_0x442ada,this[_0x29e8c0(0x15d)]=_0x599107,this[_0x29e8c0(0x300)]=_0x51708c,this[_0x29e8c0(0x3f9)]());}[_0x25bc2e(0x3b5)](){var _0xd906c0=_0x25bc2e;super[_0xd906c0(0x3b5)](),this[_0xd906c0(0x26e)][_0xd906c0(0x3bc)](_0x1a18a1=>_0x1a18a1[_0xd906c0(0x3b5)]()),this[_0xd906c0(0x26e)]['clear']();}['getCollabEntity'](_0x37aaae){var _0x2e437b=_0x25bc2e,_0x2ace62;return(_0x2ace62=this[_0x2e437b(0x26e)][_0x2e437b(0x3c9)](_0x37aaae))!=null?_0x2ace62:null;}[_0x25bc2e(0x1b0)](_0x167331){var _0x1ac8c3=_0x25bc2e;const _0x5378a3=this[_0x1ac8c3(0x20b)](_0x167331);return _0x5378a3?_0x94b51a['of'](_0x5378a3):this[_0x1ac8c3(0x22c)][_0x1ac8c3(0x2ac)](_0x54b879[_0x1ac8c3(0x157)](_0x38c59e=>_0x38c59e[_0x1ac8c3(0x1ae)]===_0x167331));}[_0x25bc2e(0x396)](_0x3ce389){var _0x505656=_0x25bc2e;return _0x94b51a[_0x505656(0x14a)](this['getCollabEntity$'](_0x3ce389)[_0x505656(0x2ac)](_0x54b879[_0x505656(0x390)](()=>{})));}[_0x25bc2e(0x3f9)](){var _0x1f73a2=_0x25bc2e;this['_univerInstanceService'][_0x1f73a2(0xea)](_0x223e3d['UniverInstanceType'][_0x1f73a2(0x2ae)])[_0x1f73a2(0x2ac)](_0x94b51a[_0x1f73a2(0x169)](this[_0x1f73a2(0x347)]),_0x54b879[_0x1f73a2(0x39e)](0x10))[_0x1f73a2(0x195)](async _0x42b053=>{var _0x561805=_0x1f73a2;const _0x520af0=_0x42b053[_0x561805(0x278)](),_0x89a13f=await this[_0x561805(0x419)](_0x520af0,_0x5e14aa[_0x561805(0x2ae)]);this[_0x561805(0x26e)][_0x561805(0xe9)](_0x520af0,_0x89a13f);}),this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x223e3d[_0x1f73a2(0x3b3)][_0x1f73a2(0x17e)])[_0x1f73a2(0x2ac)](_0x94b51a[_0x1f73a2(0x169)](this[_0x1f73a2(0x347)]),_0x54b879[_0x1f73a2(0x39e)](0x10))[_0x1f73a2(0x2ac)](_0x54b879['filter'](_0xc0cd34=>!_0xc0cd34[_0x1f73a2(0x278)]()[_0x1f73a2(0x31d)]('__')))[_0x1f73a2(0x195)](async _0xeda384=>{var _0x1e2c89=_0x1f73a2;const _0x4343bf=_0xeda384['getUnitId'](),_0x36f7e5=await this[_0x1e2c89(0x419)](_0x4343bf,_0x5e14aa[_0x1e2c89(0x17e)]);this[_0x1e2c89(0x26e)]['set'](_0x4343bf,_0x36f7e5);}),_0x94b51a[_0x1f73a2(0x187)](this[_0x1f73a2(0x300)][_0x1f73a2(0xfd)](_0x223e3d[_0x1f73a2(0x3b3)][_0x1f73a2(0x2ae)]),this[_0x1f73a2(0x300)]['getTypeOfUnitDisposed$'](_0x223e3d['UniverInstanceType'][_0x1f73a2(0x17e)]))[_0x1f73a2(0x2ac)](_0x94b51a[_0x1f73a2(0x169)](this[_0x1f73a2(0x347)]))[_0x1f73a2(0x195)](_0x5f554c=>{var _0x429ca7=_0x1f73a2;const _0x5a5061=_0x5f554c[_0x429ca7(0x278)](),_0x2c0af9=this[_0x429ca7(0x26e)][_0x429ca7(0x3c9)](_0x5a5061);_0x2c0af9&&(_0x2c0af9[_0x429ca7(0x3b5)](),this['_entities'][_0x429ca7(0x218)](_0x5a5061));});}async[_0x25bc2e(0x419)](_0x140e5d,_0x37ca79){var _0x56dee8=_0x25bc2e;const _0x12e148=await this[_0x56dee8(0x15d)]['requireSession'](_0x140e5d),_0x909c30=this['_injector'][_0x56dee8(0x310)](this['_getCtorByUniverType'](_0x37ca79),_0x140e5d,_0x37ca79,_0x12e148);return await _0x909c30[_0x56dee8(0x27c)](),this[_0x56dee8(0x22c)][_0x56dee8(0x37a)](_0x909c30),_0x909c30;}[_0x25bc2e(0x1d9)](_0x53174d){var _0x162f18=_0x25bc2e;switch(_0x53174d){case _0x5e14aa['UNIVER_DOC']:return _0x3aa05b[_0x162f18(0x1db)];case _0x5e14aa[_0x162f18(0x2ae)]:return _0x3aa05b['SheetCollaborationEntity'];default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0x53174d);}}},_0x3aa05b[_0x25bc2e(0xbb)]=_0x27437b([_0x4f1bec(0x0,_0x223e3d[_0x25bc2e(0x1b8)](_0x223e3d[_0x25bc2e(0x10b)])),_0x4f1bec(0x1,_0x223e3d[_0x25bc2e(0x1b8)](_0x3aa05b[_0x25bc2e(0x1e5)])),_0x4f1bec(0x2,_0x223e3d['IUniverInstanceService'])],_0x3aa05b[_0x25bc2e(0xbb)]);var _0x295eaf=Object['getOwnPropertyDescriptor'],_0x66e22e=(_0x56f448,_0x406b08,_0xf56979,_0x214286)=>{for(var _0x236c68=_0x214286>0x1?void 0x0:_0x214286?_0x295eaf(_0x406b08,_0xf56979):_0x406b08,_0x56c2cd=_0x56f448['length']-0x1,_0x39f0ef;_0x56c2cd>=0x0;_0x56c2cd--)(_0x39f0ef=_0x56f448[_0x56c2cd])&&(_0x236c68=_0x39f0ef(_0x236c68)||_0x236c68);return _0x236c68;},_0x6ee556=(_0x4dce63,_0x37cc9f)=>(_0x337953,_0x55e77a)=>_0x37cc9f(_0x337953,_0x55e77a,_0x4dce63);const _0x9b8099=_0x25bc2e(0x2f4),_0x2bfe71=_0x25bc2e(0x333);let _0x1fbe1f=class extends _0x223e3d[_0x25bc2e(0x14c)]{constructor(_0x41235b,_0x785a31){var _0x52709c=_0x25bc2e;super(),this[_0x52709c(0x300)]=_0x41235b,this[_0x52709c(0x292)]=_0x785a31,this[_0x52709c(0x3f9)]();}[_0x25bc2e(0x3f9)](){var _0x2603d4=_0x25bc2e;this['disposeWithMe'](this[_0x2603d4(0x300)][_0x2603d4(0x319)][_0x2603d4(0x195)](()=>{var _0x4139db=_0x2603d4,_0x591890;const _0x289e82=this[_0x4139db(0x300)]['getFocusedUnit']();let _0x1cd8b8=(_0x591890=this[_0x4139db(0x292)][_0x4139db(0x151)](_0x9b8099))!=null?_0x591890:_0x2bfe71;_0x289e82 instanceof _0x223e3d[_0x4139db(0xe3)]&&(_0x1cd8b8=_0x289e82['name']),document[_0x4139db(0x3cc)]=_0x1cd8b8;}));}};_0x1fbe1f=_0x66e22e([_0x6ee556(0x0,_0x223e3d[_0x25bc2e(0x267)]),_0x6ee556(0x1,_0x223e3d['IConfigService'])],_0x1fbe1f);var _0x3934bf=Object[_0x25bc2e(0x1e6)],_0x2180a4=(_0x137f23,_0xf75733,_0x22adb8,_0x10bb7c)=>{var _0x4b4502=_0x25bc2e;for(var _0x5c889c=_0x10bb7c>0x1?void 0x0:_0x10bb7c?_0x3934bf(_0xf75733,_0x22adb8):_0xf75733,_0x4aaa10=_0x137f23[_0x4b4502(0xdd)]-0x1,_0xc2879b;_0x4aaa10>=0x0;_0x4aaa10--)(_0xc2879b=_0x137f23[_0x4aaa10])&&(_0x5c889c=_0xc2879b(_0x5c889c)||_0x5c889c);return _0x5c889c;},_0x1433be=(_0x4e2388,_0x4edc0d)=>(_0x590aba,_0x47aa82)=>_0x4edc0d(_0x590aba,_0x47aa82,_0x4e2388);let _0x44ec95=class{constructor(_0x21dcca,_0x156e3d,_0x1c23f8){var _0x11d55b=_0x25bc2e;this['_configService']=_0x21dcca,this[_0x11d55b(0x31c)]=_0x156e3d,this[_0x11d55b(0xfa)]=_0x1c23f8,this['init']();}[_0x25bc2e(0x27c)](){var _0x31f843=_0x25bc2e;this[_0x31f843(0x31c)]['registerHTTPInterceptor']({'priority':0x1,'interceptor':(_0x2e3f35,_0x42383b)=>_0x42383b(_0x2e3f35)[_0x31f843(0x2ac)](_0x94b51a[_0x31f843(0x3cf)](async _0x582e44=>{var _0x15bf97=_0x31f843;const _0x6f7cf2=_0x582e44;if(_0x6f7cf2[_0x15bf97(0x145)]===0x191){if(typeof window>'u')throw new Error(_0x15bf97(0x11c));if(window[_0x15bf97(0x18a)](this[_0x15bf97(0xfa)]['t']('auth.needGotoLoginAlert'))){const _0x53524a=window[_0x15bf97(0x344)](window[_0x15bf97(0x3e6)][_0x15bf97(0x1f8)]);window[_0x15bf97(0x3e6)][_0x15bf97(0x1f8)]=this[_0x15bf97(0x13f)]()+'?url='+_0x53524a;}}return _0x6f7cf2;}))});}[_0x25bc2e(0x13f)](){var _0x137c20=_0x25bc2e,_0x3aab13,_0xa8f3f6;const _0x32b044=this[_0x137c20(0x292)]['getConfig'](_0x2d9159),_0x12f2c1=this[_0x137c20(0x292)][_0x137c20(0x151)](_0x67dd2f);return(_0xa8f3f6=(_0x3aab13=_0x12f2c1==null?void 0x0:_0x12f2c1[_0x137c20(0x365)])!=null?_0x3aab13:_0x32b044)!=null?_0xa8f3f6:_0x5442ec;}};_0x44ec95=_0x2180a4([_0x1433be(0x0,_0x223e3d[_0x25bc2e(0x316)]),_0x1433be(0x1,_0x223e3d['Inject'](_0x23fe84[_0x25bc2e(0x2a4)])),_0x1433be(0x2,_0x223e3d['Inject'](_0x223e3d[_0x25bc2e(0x1c2)]))],_0x44ec95);var _0x431ae5=Object[_0x25bc2e(0x1e6)],_0x15f5bb=(_0x3325b5,_0xeca8ea,_0x4e7fe0,_0x1a2e80)=>{var _0x34e054=_0x25bc2e;for(var _0x46e81b=_0x1a2e80>0x1?void 0x0:_0x1a2e80?_0x431ae5(_0xeca8ea,_0x4e7fe0):_0xeca8ea,_0x335676=_0x3325b5[_0x34e054(0xdd)]-0x1,_0x14af7c;_0x335676>=0x0;_0x335676--)(_0x14af7c=_0x3325b5[_0x335676])&&(_0x46e81b=_0x14af7c(_0x46e81b)||_0x46e81b);return _0x46e81b;},_0x55b46b=(_0x18e6ce,_0x4e08fb)=>(_0x535a22,_0x4e4ada)=>_0x4e08fb(_0x535a22,_0x4e4ada,_0x18e6ce);const _0x25ddee=_0x25bc2e(0x417),_0x50001d=_0x25bc2e(0x3fd);_0x3aa05b[_0x25bc2e(0x40c)]=class extends _0x223e3d[_0x25bc2e(0x14c)]{constructor(_0x2a7bad,_0x45b5f5){var _0x38039c=_0x25bc2e;super(),this[_0x38039c(0x2fa)]=_0x2a7bad,this[_0x38039c(0x292)]=_0x45b5f5,this[_0x38039c(0x11f)]();}[_0x25bc2e(0x11f)](){var _0x81bdc4=_0x25bc2e;const _0x2f25f0=this;this[_0x81bdc4(0x414)](this['_HTTPService'][_0x81bdc4(0xef)]({'priority':0x3e7,'interceptor':_0x23fe84[_0x81bdc4(0x232)]({'isMatch'(_0x28fd5a){var _0x5e73b3=_0x81bdc4,_0x5e0113;if(_0x28fd5a[_0x5e73b3(0x356)]===_0x5e73b3(0x1f7)&&((_0x5e0113=_0x28fd5a[_0x5e73b3(0x174)])!=null&&_0x5e0113[_0x5e73b3(0x1bd)])){const {objectID:_0x4e42cf,objectType:_0x98fb07}=_0x28fd5a['requestParams'][_0x5e73b3(0x1bd)]||{};if(!_0x4e42cf||_0x98fb07===void 0x0)return!0x1;const _0x2c9bdf=_0x2f25f0[_0x5e73b3(0x25c)]()+'/'+_0x98fb07+_0x5e73b3(0x341)+_0x4e42cf+_0x5e73b3(0x283);if(_0x28fd5a[_0x5e73b3(0x2a8)]===_0x2c9bdf)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x470bff){var _0x51dc24=_0x81bdc4,_0x5085d4;return(_0x5085d4=_0x470bff[_0x51dc24(0x174)])==null?void 0x0:_0x5085d4['body'];},'mergeParamsToRequest'(_0x1a52f9,_0x133a6d){var _0xade750=_0x81bdc4;const _0x45021f=_0x2f25f0['_getAPIPrefixPath']()+_0xade750(0x19d),_0xe21b1e=_0x1a52f9[_0xade750(0x277)]((_0x82ff2a,_0x122c6d)=>{var _0x59d67c=_0xade750;const {unitID:_0x3ee32b,objectID:_0x432d0c,objectType:_0x32e6b8,actions:_0x333307}=_0x122c6d;return _0x82ff2a[_0x3ee32b]||(_0x82ff2a[_0x3ee32b]={}),_0x82ff2a[_0x3ee32b][_0x432d0c]||(_0x82ff2a[_0x3ee32b][_0x432d0c]={'objectID':_0x432d0c,'objectType':_0x32e6b8,'actions':[]}),_0x82ff2a[_0x3ee32b][_0x432d0c][_0x59d67c(0xa8)][_0x59d67c(0x204)](..._0x333307),_0x82ff2a;},{}),_0x2c49a8=[];for(const _0x3a9116 in _0xe21b1e)for(const _0x3cf686 in _0xe21b1e[_0x3a9116]){const {actions:_0xf82f17,objectType:_0x359d4d}=_0xe21b1e[_0x3a9116][_0x3cf686],_0x3af471=[...new Set(_0xf82f17)];_0x2c49a8[_0xade750(0x204)]({'unitID':_0x3a9116,'objectID':_0x3cf686,'objectType':_0x359d4d,'actions':_0x3af471});}return new _0x23fe84[(_0xade750(0x2fb))]('POST',_0x45021f,{'headers':_0x133a6d['headers'],'withCredentials':_0x133a6d[_0xade750(0x181)],'responseType':_0x133a6d[_0xade750(0x2dd)],'body':{'requests':_0x2c49a8}});}},{'distributeResult'(_0x333ca4,_0x32b253){var _0xd7c5c=_0x81bdc4;const {objectActions:_0x648219}=_0x333ca4;return _0x32b253[_0xd7c5c(0x390)](_0x445644=>{var _0x4918c0=_0xd7c5c;const {unitID:_0x5f40b6,objectID:_0x22870f,actions:_0x113102}=_0x445644,_0x53c0ff=_0x648219['find'](_0x231f62=>_0x231f62[_0x4918c0(0x1ae)]===_0x5f40b6&&_0x231f62[_0x4918c0(0x3cd)]===_0x22870f),_0x5f3192=_0x113102[_0x4918c0(0x390)](_0x45bb9b=>_0x53c0ff==null?void 0x0:_0x53c0ff[_0x4918c0(0xa8)][_0x4918c0(0x3df)](_0x165ef5=>_0x165ef5[_0x4918c0(0x105)]===_0x45bb9b))[_0x4918c0(0x157)](_0x25d32d=>!!_0x25d32d);return{'config':_0x445644,'result':{'actions':_0x5f3192,'error':_0x333ca4[_0x4918c0(0x3db)]}};});}})}));}['_getAPIPrefixPath'](){var _0xffa98c=_0x25bc2e,_0x81e412,_0x52230c;const _0x49d898=this[_0xffa98c(0x292)][_0xffa98c(0x151)](_0x25ddee),_0x1b46a4=this[_0xffa98c(0x292)]['getConfig'](_0x67dd2f);return(_0x52230c=(_0x81e412=_0x1b46a4==null?void 0x0:_0x1b46a4[_0xffa98c(0x3c7)])!=null?_0x81e412:_0x49d898)!=null?_0x52230c:_0x50001d;}async[_0x25bc2e(0x1c1)](_0x43a661){var _0x16e303=_0x25bc2e;const _0x352203=this[_0x16e303(0x25c)]()+'/'+_0x43a661[_0x16e303(0x381)]+_0x16e303(0x322);return(await this[_0x16e303(0x2fa)][_0x16e303(0x10f)](_0x352203,{'body':_0x43a661}))['body'][_0x16e303(0x3cd)]||'';}async['list'](_0x2c51d5){var _0x26d80f=_0x25bc2e;const _0x2a6757=this[_0x26d80f(0x25c)]()+'/-/object/list';return(await this['_HTTPService'][_0x26d80f(0x10f)](_0x2a6757,{'body':_0x2c51d5}))['body']['objects'];}async[_0x25bc2e(0x2c6)](_0x41ecaf){var _0x398c64=_0x25bc2e,_0x2dc6ae,_0x4f60e0;const _0x44fb7b=this[_0x398c64(0x25c)]()+'/'+_0x41ecaf['objectType']+_0x398c64(0x341)+_0x41ecaf[_0x398c64(0x3cd)],_0x1a20f6=await this[_0x398c64(0x2fa)][_0x398c64(0x413)](_0x44fb7b,{'body':_0x41ecaf});if(((_0x4f60e0=(_0x2dc6ae=_0x1a20f6==null?void 0x0:_0x1a20f6[_0x398c64(0x1bd)])==null?void 0x0:_0x2dc6ae[_0x398c64(0x3db)])==null?void 0x0:_0x4f60e0[_0x398c64(0x26b)])!==0x0)throw new Error(_0x398c64(0x114));}async[_0x25bc2e(0x10c)](_0x33f55b){var _0x3d3584=_0x25bc2e;const _0x28cf3b=this[_0x3d3584(0x25c)]()+'/'+_0x33f55b[_0x3d3584(0x381)]+_0x3d3584(0x341)+_0x33f55b[_0x3d3584(0x3cd)]+_0x3d3584(0x283);return(await this[_0x3d3584(0x2fa)][_0x3d3584(0x10f)](_0x28cf3b,{'body':_0x33f55b}))['body'][_0x3d3584(0xa8)];}async['batchAllowed'](_0x22685f){var _0x4f6c2f=_0x25bc2e;const _0x407993=this[_0x4f6c2f(0x25c)]()+_0x4f6c2f(0x19d);return(await this[_0x4f6c2f(0x2fa)][_0x4f6c2f(0x10f)](_0x407993,{'body':{'requests':_0x22685f}}))[_0x4f6c2f(0x1bd)][_0x4f6c2f(0x3cb)];}async[_0x25bc2e(0xc1)](_0x773c91){var _0x15e76f=_0x25bc2e;const _0x42f824=this[_0x15e76f(0x25c)]()+'/'+_0x773c91[_0x15e76f(0x381)]+_0x15e76f(0x3d2),_0x466c07=await this[_0x15e76f(0x2fa)][_0x15e76f(0x10f)](_0x42f824,{'body':_0x773c91});return{'roles':_0x466c07[_0x15e76f(0x1bd)][_0x15e76f(0x37d)],'actions':_0x466c07[_0x15e76f(0x1bd)][_0x15e76f(0xa8)]};}async['deleteCollaborator'](_0x415fda){var _0x5b36ac=_0x25bc2e;const _0x551435=this['_getAPIPrefixPath']()+_0x5b36ac(0x343);await this['_HTTPService']['delete'](_0x551435,{'params':{'collaboratorID':_0x415fda[_0x5b36ac(0xae)],'objectID':_0x415fda[_0x5b36ac(0x3cd)],'unitID':_0x415fda['unitID']}});}async[_0x25bc2e(0x346)](_0x280d70){var _0x1dcf75=_0x25bc2e;const _0x4f108a=this[_0x1dcf75(0x25c)]()+_0x1dcf75(0x343);await this[_0x1dcf75(0x2fa)][_0x1dcf75(0x3b1)](_0x4f108a,{'body':_0x280d70});}async[_0x25bc2e(0x1ba)](_0x23459f){var _0x23c8cd=_0x25bc2e;const _0x66bb0=this[_0x23c8cd(0x25c)]()+_0x23c8cd(0x343);await this[_0x23c8cd(0x2fa)][_0x23c8cd(0x10f)](_0x66bb0,{'body':_0x23459f});}async['listCollaborators'](_0x29c0d6){var _0x583062=_0x25bc2e;const _0x1428f3=this['_getAPIPrefixPath']()+'/collaborator';return(await this[_0x583062(0x2fa)][_0x583062(0x3c9)](_0x1428f3,{'params':{'objectID':_0x29c0d6[_0x583062(0x3cd)],'unitID':_0x29c0d6['unitID']}}))[_0x583062(0x1bd)][_0x583062(0x3e7)];}async[_0x25bc2e(0x95)](_0x2a5e7f){var _0x31a96b=_0x25bc2e;const _0x17f0b8=this[_0x31a96b(0x25c)]()+_0x31a96b(0x343);await this['_HTTPService'][_0x31a96b(0x413)](_0x17f0b8,{'body':_0x2a5e7f});}},_0x3aa05b['AuthzIoHttpService']=_0x15f5bb([_0x55b46b(0x0,_0x223e3d[_0x25bc2e(0x1b8)](_0x23fe84[_0x25bc2e(0x2a4)])),_0x55b46b(0x1,_0x223e3d[_0x25bc2e(0x1b8)](_0x223e3d[_0x25bc2e(0x316)]))],_0x3aa05b[_0x25bc2e(0x40c)]);var _0x4bbebe=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function _0xe87296(_0x950ee1){var _0x416b74=_0x25bc2e;return _0x950ee1&&_0x950ee1[_0x416b74(0x227)]&&Object['prototype'][_0x416b74(0x1dc)][_0x416b74(0x38a)](_0x950ee1,'default')?_0x950ee1[_0x416b74(0x268)]:_0x950ee1;}var _0x3fa2a7={'exports':{}};function _0x29952e(_0x4a332b){throw new Error('Could\x20not\x20dynamically\x20require\x20\x22'+_0x4a332b+'\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.');}var _0x45f867={'exports':{}},_0x17bbc6=_0x45f867[_0x25bc2e(0x36e)],_0x229661;function _0x152408(){var _0x543499=_0x25bc2e;return _0x229661||(_0x229661=0x1,function(_0x5d89dd,_0x4daea7){(function(_0x1ea231,_0x3e6771){_0x5d89dd['exports']=_0x3e6771();}(_0x17bbc6,function(){var _0x2fc982=_0x2fc982||function(_0x561b4a,_0xd66801){var _0x417996=_0x47c2,_0x8abf8e;if(typeof window<'u'&&window['crypto']&&(_0x8abf8e=window[_0x417996(0x183)]),typeof self<'u'&&self[_0x417996(0x183)]&&(_0x8abf8e=self[_0x417996(0x183)]),typeof globalThis<'u'&&globalThis[_0x417996(0x183)]&&(_0x8abf8e=globalThis['crypto']),!_0x8abf8e&&typeof window<'u'&&window[_0x417996(0x2b0)]&&(_0x8abf8e=window[_0x417996(0x2b0)]),!_0x8abf8e&&typeof _0x4bbebe<'u'&&_0x4bbebe['crypto']&&(_0x8abf8e=_0x4bbebe[_0x417996(0x183)]),!_0x8abf8e&&typeof _0x29952e==_0x417996(0xf9))try{_0x8abf8e=require(_0x417996(0x183));}catch{}var _0x4bac95=function(){var _0x60be2c=_0x417996;if(_0x8abf8e){if(typeof _0x8abf8e[_0x60be2c(0x290)]==_0x60be2c(0xf9))try{return _0x8abf8e[_0x60be2c(0x290)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x8abf8e[_0x60be2c(0x96)]==_0x60be2c(0xf9))try{return _0x8abf8e[_0x60be2c(0x96)](0x4)['readInt32LE']();}catch{}}throw new Error(_0x60be2c(0x39f));},_0x3deb63=Object['create']||(function(){function _0x1a545d(){}return function(_0xab2d98){var _0x5b20bc=_0x47c2,_0x2d81d4;return _0x1a545d[_0x5b20bc(0xe5)]=_0xab2d98,_0x2d81d4=new _0x1a545d(),_0x1a545d[_0x5b20bc(0xe5)]=null,_0x2d81d4;};}()),_0x122dac={},_0x31ee58=_0x122dac[_0x417996(0xaa)]={},_0x42cedc=_0x31ee58[_0x417996(0x1b6)]=(function(){return{'extend':function(_0x1d6152){var _0x2dee2c=_0x47c2,_0xa6608=_0x3deb63(this);return _0x1d6152&&_0xa6608[_0x2dee2c(0x177)](_0x1d6152),(!_0xa6608[_0x2dee2c(0x1dc)](_0x2dee2c(0x27c))||this[_0x2dee2c(0x27c)]===_0xa6608[_0x2dee2c(0x27c)])&&(_0xa6608[_0x2dee2c(0x27c)]=function(){var _0x3e62cd=_0x2dee2c;_0xa6608[_0x3e62cd(0x236)][_0x3e62cd(0x27c)][_0x3e62cd(0x280)](this,arguments);}),_0xa6608[_0x2dee2c(0x27c)][_0x2dee2c(0xe5)]=_0xa6608,_0xa6608[_0x2dee2c(0x236)]=this,_0xa6608;},'create':function(){var _0x17118e=_0x47c2,_0x46f2d4=this[_0x17118e(0x1f9)]();return _0x46f2d4[_0x17118e(0x27c)][_0x17118e(0x280)](_0x46f2d4,arguments),_0x46f2d4;},'init':function(){},'mixIn':function(_0xcf0ff8){var _0x3b11dd=_0x47c2;for(var _0x1c4c89 in _0xcf0ff8)_0xcf0ff8[_0x3b11dd(0x1dc)](_0x1c4c89)&&(this[_0x1c4c89]=_0xcf0ff8[_0x1c4c89]);_0xcf0ff8[_0x3b11dd(0x1dc)](_0x3b11dd(0x2c3))&&(this[_0x3b11dd(0x2c3)]=_0xcf0ff8[_0x3b11dd(0x2c3)]);},'clone':function(){var _0x41358c=_0x47c2;return this[_0x41358c(0x27c)][_0x41358c(0xe5)][_0x41358c(0x1f9)](this);}};}()),_0x16fd4c=_0x31ee58[_0x417996(0x1aa)]=_0x42cedc[_0x417996(0x1f9)]({'init':function(_0x1ca24a,_0x4f94bc){var _0x29f101=_0x417996;_0x1ca24a=this['words']=_0x1ca24a||[],_0x4f94bc!=_0xd66801?this['sigBytes']=_0x4f94bc:this['sigBytes']=_0x1ca24a[_0x29f101(0xdd)]*0x4;},'toString':function(_0x100e18){var _0x819349=_0x417996;return(_0x100e18||_0x4d24d8)[_0x819349(0x2db)](this);},'concat':function(_0x355378){var _0x1e093d=_0x417996,_0x8504=this[_0x1e093d(0x39d)],_0x4ba9d9=_0x355378[_0x1e093d(0x39d)],_0x1953e6=this['sigBytes'],_0x2dc7bd=_0x355378['sigBytes'];if(this[_0x1e093d(0x355)](),_0x1953e6%0x4)for(var _0x4fa116=0x0;_0x4fa116<_0x2dc7bd;_0x4fa116++){var _0x52fb5e=_0x4ba9d9[_0x4fa116>>>0x2]>>>0x18-_0x4fa116%0x4*0x8&0xff;_0x8504[_0x1953e6+_0x4fa116>>>0x2]|=_0x52fb5e<<0x18-(_0x1953e6+_0x4fa116)%0x4*0x8;}else{for(var _0x5e632f=0x0;_0x5e632f<_0x2dc7bd;_0x5e632f+=0x4)_0x8504[_0x1953e6+_0x5e632f>>>0x2]=_0x4ba9d9[_0x5e632f>>>0x2];}return this[_0x1e093d(0x19f)]+=_0x2dc7bd,this;},'clamp':function(){var _0x3e970d=_0x417996,_0x349669=this[_0x3e970d(0x39d)],_0x5f906e=this[_0x3e970d(0x19f)];_0x349669[_0x5f906e>>>0x2]&=0xffffffff<<0x20-_0x5f906e%0x4*0x8,_0x349669['length']=_0x561b4a['ceil'](_0x5f906e/0x4);},'clone':function(){var _0x22f946=_0x417996,_0x2ce945=_0x42cedc[_0x22f946(0x9b)][_0x22f946(0x38a)](this);return _0x2ce945[_0x22f946(0x39d)]=this[_0x22f946(0x39d)][_0x22f946(0xd1)](0x0),_0x2ce945;},'random':function(_0xe76f7f){var _0x138f16=_0x417996;for(var _0x48e766=[],_0x2fa870=0x0;_0x2fa870<_0xe76f7f;_0x2fa870+=0x4)_0x48e766[_0x138f16(0x204)](_0x4bac95());return new _0x16fd4c[(_0x138f16(0x27c))](_0x48e766,_0xe76f7f);}}),_0x1d927a=_0x122dac[_0x417996(0x12c)]={},_0x4d24d8=_0x1d927a[_0x417996(0xd2)]={'stringify':function(_0x336916){var _0x2d33e2=_0x417996;for(var _0x3c908f=_0x336916[_0x2d33e2(0x39d)],_0x5addff=_0x336916[_0x2d33e2(0x19f)],_0x2459fb=[],_0xbc348b=0x0;_0xbc348b<_0x5addff;_0xbc348b++){var _0x4e88bf=_0x3c908f[_0xbc348b>>>0x2]>>>0x18-_0xbc348b%0x4*0x8&0xff;_0x2459fb[_0x2d33e2(0x204)]((_0x4e88bf>>>0x4)[_0x2d33e2(0x2c3)](0x10)),_0x2459fb[_0x2d33e2(0x204)]((_0x4e88bf&0xf)[_0x2d33e2(0x2c3)](0x10));}return _0x2459fb[_0x2d33e2(0x21f)]('');},'parse':function(_0x2880f0){var _0x25ef44=_0x417996;for(var _0x5e56f5=_0x2880f0[_0x25ef44(0xdd)],_0x357ab2=[],_0x42213e=0x0;_0x42213e<_0x5e56f5;_0x42213e+=0x2)_0x357ab2[_0x42213e>>>0x3]|=parseInt(_0x2880f0[_0x25ef44(0x15c)](_0x42213e,0x2),0x10)<<0x18-_0x42213e%0x8*0x4;return new _0x16fd4c[(_0x25ef44(0x27c))](_0x357ab2,_0x5e56f5/0x2);}},_0x2587a9=_0x1d927a[_0x417996(0x402)]={'stringify':function(_0x2c5ef0){var _0x2ef154=_0x417996;for(var _0x34e380=_0x2c5ef0[_0x2ef154(0x39d)],_0x113418=_0x2c5ef0['sigBytes'],_0x4e447b=[],_0x123ffc=0x0;_0x123ffc<_0x113418;_0x123ffc++){var _0x315e96=_0x34e380[_0x123ffc>>>0x2]>>>0x18-_0x123ffc%0x4*0x8&0xff;_0x4e447b[_0x2ef154(0x204)](String[_0x2ef154(0x2c2)](_0x315e96));}return _0x4e447b[_0x2ef154(0x21f)]('');},'parse':function(_0x59544b){var _0x21463e=_0x417996;for(var _0x39cc91=_0x59544b[_0x21463e(0xdd)],_0x2683be=[],_0x150d26=0x0;_0x150d26<_0x39cc91;_0x150d26++)_0x2683be[_0x150d26>>>0x2]|=(_0x59544b['charCodeAt'](_0x150d26)&0xff)<<0x18-_0x150d26%0x4*0x8;return new _0x16fd4c[(_0x21463e(0x27c))](_0x2683be,_0x39cc91);}},_0x2d5275=_0x1d927a[_0x417996(0x155)]={'stringify':function(_0x2fced3){var _0x351287=_0x417996;try{return decodeURIComponent(escape(_0x2587a9[_0x351287(0x2db)](_0x2fced3)));}catch{throw new Error(_0x351287(0x3de));}},'parse':function(_0x30f484){var _0x10831c=_0x417996;return _0x2587a9[_0x10831c(0x330)](unescape(encodeURIComponent(_0x30f484)));}},_0x2aabe4=_0x31ee58[_0x417996(0x121)]=_0x42cedc['extend']({'reset':function(){var _0x4fb88a=_0x417996;this[_0x4fb88a(0x36c)]=new _0x16fd4c['init'](),this[_0x4fb88a(0xe4)]=0x0;},'_append':function(_0x2751d4){var _0x42cc7c=_0x417996;typeof _0x2751d4==_0x42cc7c(0x1b3)&&(_0x2751d4=_0x2d5275[_0x42cc7c(0x330)](_0x2751d4)),this['_data']['concat'](_0x2751d4),this[_0x42cc7c(0xe4)]+=_0x2751d4[_0x42cc7c(0x19f)];},'_process':function(_0x4cb0fe){var _0x43fcd2=_0x417996,_0x2f8c00,_0x5201f6=this['_data'],_0x383c83=_0x5201f6[_0x43fcd2(0x39d)],_0x44c7b3=_0x5201f6['sigBytes'],_0x599e7d=this[_0x43fcd2(0x135)],_0x3ff801=_0x599e7d*0x4,_0x5582ee=_0x44c7b3/_0x3ff801;_0x4cb0fe?_0x5582ee=_0x561b4a[_0x43fcd2(0x26c)](_0x5582ee):_0x5582ee=_0x561b4a[_0x43fcd2(0x103)]((_0x5582ee|0x0)-this[_0x43fcd2(0x207)],0x0);var _0x47662d=_0x5582ee*_0x599e7d,_0x353cde=_0x561b4a['min'](_0x47662d*0x4,_0x44c7b3);if(_0x47662d){for(var _0x526069=0x0;_0x526069<_0x47662d;_0x526069+=_0x599e7d)this[_0x43fcd2(0x35c)](_0x383c83,_0x526069);_0x2f8c00=_0x383c83[_0x43fcd2(0x289)](0x0,_0x47662d),_0x5201f6[_0x43fcd2(0x19f)]-=_0x353cde;}return new _0x16fd4c[(_0x43fcd2(0x27c))](_0x2f8c00,_0x353cde);},'clone':function(){var _0x5a073c=_0x417996,_0x4b7388=_0x42cedc['clone'][_0x5a073c(0x38a)](this);return _0x4b7388[_0x5a073c(0x36c)]=this[_0x5a073c(0x36c)][_0x5a073c(0x9b)](),_0x4b7388;},'_minBufferSize':0x0});_0x31ee58['Hasher']=_0x2aabe4[_0x417996(0x1f9)]({'cfg':_0x42cedc['extend'](),'init':function(_0x2b1d42){var _0x593dae=_0x417996;this[_0x593dae(0x33d)]=this[_0x593dae(0x33d)][_0x593dae(0x1f9)](_0x2b1d42),this[_0x593dae(0x110)]();},'reset':function(){var _0x5ceb9b=_0x417996;_0x2aabe4[_0x5ceb9b(0x110)][_0x5ceb9b(0x38a)](this),this[_0x5ceb9b(0x21b)]();},'update':function(_0x2d84e4){var _0x35ee65=_0x417996;return this[_0x35ee65(0x1ac)](_0x2d84e4),this['_process'](),this;},'finalize':function(_0x3c7c59){var _0x2ccf1c=_0x417996;_0x3c7c59&&this[_0x2ccf1c(0x1ac)](_0x3c7c59);var _0x14c894=this[_0x2ccf1c(0x109)]();return _0x14c894;},'blockSize':0x10,'_createHelper':function(_0xa7be7f){return function(_0x77b360,_0x2b013d){var _0x374949=_0x47c2;return new _0xa7be7f['init'](_0x2b013d)[_0x374949(0x165)](_0x77b360);};},'_createHmacHelper':function(_0x343536){return function(_0x4944e3,_0x170254){var _0x1121aa=_0x47c2;return new _0x2738c9[(_0x1121aa(0x2ad))][(_0x1121aa(0x27c))](_0x343536,_0x170254)[_0x1121aa(0x165)](_0x4944e3);};}});var _0x2738c9=_0x122dac[_0x417996(0x32c)]={};return _0x122dac;}(Math);return _0x2fc982;}));}(_0x45f867)),_0x45f867[_0x543499(0x36e)];}var _0x2f8897={'exports':{}},_0x42ebcf=_0x2f8897[_0x25bc2e(0x36e)],_0x53bfaf;function _0x44b5c0(){return _0x53bfaf||(_0x53bfaf=0x1,function(_0x187b85,_0x35d06b){(function(_0x31697b,_0x2d95bf){var _0x1bac79=_0x47c2;_0x187b85[_0x1bac79(0x36e)]=_0x2d95bf(_0x152408());}(_0x42ebcf,function(_0x453031){var _0x416fd5=_0x47c2;return(function(){var _0x2c152f=_0x47c2,_0x2fbc9a=_0x453031,_0x157ed1=_0x2fbc9a[_0x2c152f(0xaa)],_0xc9f612=_0x157ed1['WordArray'],_0x4ac5ac=_0x2fbc9a[_0x2c152f(0x12c)];_0x4ac5ac[_0x2c152f(0x385)]={'stringify':function(_0x2494c6){var _0x232c35=_0x2c152f,_0x8d883f=_0x2494c6['words'],_0x516e99=_0x2494c6[_0x232c35(0x19f)],_0x26d28e=this[_0x232c35(0x27f)];_0x2494c6[_0x232c35(0x355)]();for(var _0x52221=[],_0x417fc2=0x0;_0x417fc2<_0x516e99;_0x417fc2+=0x3)for(var _0x1fffe3=_0x8d883f[_0x417fc2>>>0x2]>>>0x18-_0x417fc2%0x4*0x8&0xff,_0x28d12a=_0x8d883f[_0x417fc2+0x1>>>0x2]>>>0x18-(_0x417fc2+0x1)%0x4*0x8&0xff,_0xbd2353=_0x8d883f[_0x417fc2+0x2>>>0x2]>>>0x18-(_0x417fc2+0x2)%0x4*0x8&0xff,_0x200be5=_0x1fffe3<<0x10|_0x28d12a<<0x8|_0xbd2353,_0x241af6=0x0;_0x241af6<0x4&&_0x417fc2+_0x241af6*0.75<_0x516e99;_0x241af6++)_0x52221[_0x232c35(0x204)](_0x26d28e[_0x232c35(0x279)](_0x200be5>>>0x6*(0x3-_0x241af6)&0x3f));var _0x872b72=_0x26d28e[_0x232c35(0x279)](0x40);if(_0x872b72){for(;_0x52221[_0x232c35(0xdd)]%0x4;)_0x52221[_0x232c35(0x204)](_0x872b72);}return _0x52221[_0x232c35(0x21f)]('');},'parse':function(_0x321e3c){var _0xa981db=_0x2c152f,_0x25ab12=_0x321e3c[_0xa981db(0xdd)],_0x3fa128=this[_0xa981db(0x27f)],_0x3194ad=this['_reverseMap'];if(!_0x3194ad){_0x3194ad=this[_0xa981db(0x412)]=[];for(var _0x5a14a5=0x0;_0x5a14a5<_0x3fa128[_0xa981db(0xdd)];_0x5a14a5++)_0x3194ad[_0x3fa128[_0xa981db(0x141)](_0x5a14a5)]=_0x5a14a5;}var _0x5ca59c=_0x3fa128[_0xa981db(0x279)](0x40);if(_0x5ca59c){var _0x5cafd0=_0x321e3c[_0xa981db(0x1d2)](_0x5ca59c);_0x5cafd0!==-0x1&&(_0x25ab12=_0x5cafd0);}return _0x14376a(_0x321e3c,_0x25ab12,_0x3194ad);},'_map':_0x2c152f(0x2c8)};function _0x14376a(_0x31b18a,_0x12197e,_0x3ab212){var _0x19cc77=_0x2c152f;for(var _0xa31f34=[],_0x1b7275=0x0,_0x5971be=0x0;_0x5971be<_0x12197e;_0x5971be++)if(_0x5971be%0x4){var _0x1b8cd0=_0x3ab212[_0x31b18a[_0x19cc77(0x141)](_0x5971be-0x1)]<<_0x5971be%0x4*0x2,_0x755dbf=_0x3ab212[_0x31b18a[_0x19cc77(0x141)](_0x5971be)]>>>0x6-_0x5971be%0x4*0x2,_0x1a3f64=_0x1b8cd0|_0x755dbf;_0xa31f34[_0x1b7275>>>0x2]|=_0x1a3f64<<0x18-_0x1b7275%0x4*0x8,_0x1b7275++;}return _0xc9f612[_0x19cc77(0x1c1)](_0xa31f34,_0x1b7275);}}()),_0x453031['enc'][_0x416fd5(0x385)];}));}(_0x2f8897)),_0x2f8897['exports'];}var _0x426099={'exports':{}},_0x1bae55=_0x426099[_0x25bc2e(0x36e)],_0x2d8ed9;function _0x58221e(){var _0x32df8b=_0x25bc2e;return _0x2d8ed9||(_0x2d8ed9=0x1,function(_0x51cad,_0x152152){(function(_0x1fd2be,_0x2d9175){var _0x2e54e2=_0x47c2;_0x51cad[_0x2e54e2(0x36e)]=_0x2d9175(_0x152408());}(_0x1bae55,function(_0x46266){var _0x4e7a58=_0x47c2;return function(_0x2d7478){var _0x5bb893=_0x47c2,_0x6f8f6b=_0x46266,_0x24a747=_0x6f8f6b[_0x5bb893(0xaa)],_0x45c143=_0x24a747[_0x5bb893(0x1aa)],_0x2c1f41=_0x24a747[_0x5bb893(0x32b)],_0x3496eb=_0x6f8f6b['algo'],_0x2a1063=[];(function(){var _0x2ec003=_0x5bb893;for(var _0x2d8ed8=0x0;_0x2d8ed8<0x40;_0x2d8ed8++)_0x2a1063[_0x2d8ed8]=_0x2d7478[_0x2ec003(0x1eb)](_0x2d7478[_0x2ec003(0x2cc)](_0x2d8ed8+0x1))*0x100000000|0x0;}());var _0x4f35d8=_0x3496eb[_0x5bb893(0x17d)]=_0x2c1f41[_0x5bb893(0x1f9)]({'_doReset':function(){var _0x43b64d=_0x5bb893;this['_hash']=new _0x45c143[(_0x43b64d(0x27c))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x2e1048,_0x938e59){var _0xc15a=_0x5bb893;for(var _0x16c3b1=0x0;_0x16c3b1<0x10;_0x16c3b1++){var _0x23237d=_0x938e59+_0x16c3b1,_0x5bc540=_0x2e1048[_0x23237d];_0x2e1048[_0x23237d]=(_0x5bc540<<0x8|_0x5bc540>>>0x18)&0xff00ff|(_0x5bc540<<0x18|_0x5bc540>>>0x8)&0xff00ff00;}var _0x1e7dea=this[_0xc15a(0x158)][_0xc15a(0x39d)],_0x3c1db9=_0x2e1048[_0x938e59+0x0],_0x2547d4=_0x2e1048[_0x938e59+0x1],_0x17500a=_0x2e1048[_0x938e59+0x2],_0x33f055=_0x2e1048[_0x938e59+0x3],_0x485471=_0x2e1048[_0x938e59+0x4],_0x49e999=_0x2e1048[_0x938e59+0x5],_0x26e37b=_0x2e1048[_0x938e59+0x6],_0x34779b=_0x2e1048[_0x938e59+0x7],_0x137c33=_0x2e1048[_0x938e59+0x8],_0x48d18e=_0x2e1048[_0x938e59+0x9],_0x42bc00=_0x2e1048[_0x938e59+0xa],_0x14857a=_0x2e1048[_0x938e59+0xb],_0x417b47=_0x2e1048[_0x938e59+0xc],_0x55e70a=_0x2e1048[_0x938e59+0xd],_0x4579b1=_0x2e1048[_0x938e59+0xe],_0x1346b2=_0x2e1048[_0x938e59+0xf],_0x41e9a1=_0x1e7dea[0x0],_0x4f503b=_0x1e7dea[0x1],_0x1f35fd=_0x1e7dea[0x2],_0x272f95=_0x1e7dea[0x3];_0x41e9a1=_0x177eec(_0x41e9a1,_0x4f503b,_0x1f35fd,_0x272f95,_0x3c1db9,0x7,_0x2a1063[0x0]),_0x272f95=_0x177eec(_0x272f95,_0x41e9a1,_0x4f503b,_0x1f35fd,_0x2547d4,0xc,_0x2a1063[0x1]),_0x1f35fd=_0x177eec(_0x1f35fd,_0x272f95,_0x41e9a1,_0x4f503b,_0x17500a,0x11,_0x2a1063[0x2]),_0x4f503b=_0x177eec(_0x4f503b,_0x1f35fd,_0x272f95,_0x41e9a1,_0x33f055,0x16,_0x2a1063[0x3]),_0x41e9a1=_0x177eec(_0x41e9a1,_0x4f503b,_0x1f35fd,_0x272f95,_0x485471,0x7,_0x2a1063[0x4]),_0x272f95=_0x177eec(_0x272f95,_0x41e9a1,_0x4f503b,_0x1f35fd,_0x49e999,0xc,_0x2a1063[0x5]),_0x1f35fd=_0x177eec(_0x1f35fd,_0x272f95,_0x41e9a1,_0x4f503b,_0x26e37b,0x11,_0x2a1063[0x6]),_0x4f503b=_0x177eec(_0x4f503b,_0x1f35fd,_0x272f95,_0x41e9a1,_0x34779b,0x16,_0x2a1063[0x7]),_0x41e9a1=_0x177eec(_0x41e9a1,_0x4f503b,_0x1f35fd,_0x272f95,_0x137c33,0x7,_0x2a1063[0x8]),_0x272f95=_0x177eec(_0x272f95,_0x41e9a1,_0x4f503b,_0x1f35fd,_0x48d18e,0xc,_0x2a1063[0x9]),_0x1f35fd=_0x177eec(_0x1f35fd,_0x272f95,_0x41e9a1,_0x4f503b,_0x42bc00,0x11,_0x2a1063[0xa]),_0x4f503b=_0x177eec(_0x4f503b,_0x1f35fd,_0x272f95,_0x41e9a1,_0x14857a,0x16,_0x2a1063[0xb]),_0x41e9a1=_0x177eec(_0x41e9a1,_0x4f503b,_0x1f35fd,_0x272f95,_0x417b47,0x7,_0x2a1063[0xc]),_0x272f95=_0x177eec(_0x272f95,_0x41e9a1,_0x4f503b,_0x1f35fd,_0x55e70a,0xc,_0x2a1063[0xd]),_0x1f35fd=_0x177eec(_0x1f35fd,_0x272f95,_0x41e9a1,_0x4f503b,_0x4579b1,0x11,_0x2a1063[0xe]),_0x4f503b=_0x177eec(_0x4f503b,_0x1f35fd,_0x272f95,_0x41e9a1,_0x1346b2,0x16,_0x2a1063[0xf]),_0x41e9a1=_0x23b469(_0x41e9a1,_0x4f503b,_0x1f35fd,_0x272f95,_0x2547d4,0x5,_0x2a1063[0x10]),_0x272f95=_0x23b469(_0x272f95,_0x41e9a1,_0x4f503b,_0x1f35fd,_0x26e37b,0x9,_0x2a1063[0x11]),_0x1f35fd=_0x23b469(_0x1f35fd,_0x272f95,_0x41e9a1,_0x4f503b,_0x14857a,0xe,_0x2a1063[0x12]),_0x4f503b=_0x23b469(_0x4f503b,_0x1f35fd,_0x272f95,_0x41e9a1,_0x3c1db9,0x14,_0x2a1063[0x13]),_0x41e9a1=_0x23b469(_0x41e9a1,_0x4f503b,_0x1f35fd,_0x272f95,_0x49e999,0x5,_0x2a1063[0x14]),_0x272f95=_0x23b469(_0x272f95,_0x41e9a1,_0x4f503b,_0x1f35fd,_0x42bc00,0x9,_0x2a1063[0x15]),_0x1f35fd=_0x23b469(_0x1f35fd,_0x272f95,_0x41e9a1,_0x4f503b,_0x1346b2,0xe,_0x2a1063[0x16]),_0x4f503b=_0x23b469(_0x4f503b,_0x1f35fd,_0x272f95,_0x41e9a1,_0x485471,0x14,_0x2a1063[0x17]),_0x41e9a1=_0x23b469(_0x41e9a1,_0x4f503b,_0x1f35fd,_0x272f95,_0x48d18e,0x5,_0x2a1063[0x18]),_0x272f95=_0x23b469(_0x272f95,_0x41e9a1,_0x4f503b,_0x1f35fd,_0x4579b1,0x9,_0x2a1063[0x19]),_0x1f35fd=_0x23b469(_0x1f35fd,_0x272f95,_0x41e9a1,_0x4f503b,_0x33f055,0xe,_0x2a1063[0x1a]),_0x4f503b=_0x23b469(_0x4f503b,_0x1f35fd,_0x272f95,_0x41e9a1,_0x137c33,0x14,_0x2a1063[0x1b]),_0x41e9a1=_0x23b469(_0x41e9a1,_0x4f503b,_0x1f35fd,_0x272f95,_0x55e70a,0x5,_0x2a1063[0x1c]),_0x272f95=_0x23b469(_0x272f95,_0x41e9a1,_0x4f503b,_0x1f35fd,_0x17500a,0x9,_0x2a1063[0x1d]),_0x1f35fd=_0x23b469(_0x1f35fd,_0x272f95,_0x41e9a1,_0x4f503b,_0x34779b,0xe,_0x2a1063[0x1e]),_0x4f503b=_0x23b469(_0x4f503b,_0x1f35fd,_0x272f95,_0x41e9a1,_0x417b47,0x14,_0x2a1063[0x1f]),_0x41e9a1=_0x38348a(_0x41e9a1,_0x4f503b,_0x1f35fd,_0x272f95,_0x49e999,0x4,_0x2a1063[0x20]),_0x272f95=_0x38348a(_0x272f95,_0x41e9a1,_0x4f503b,_0x1f35fd,_0x137c33,0xb,_0x2a1063[0x21]),_0x1f35fd=_0x38348a(_0x1f35fd,_0x272f95,_0x41e9a1,_0x4f503b,_0x14857a,0x10,_0x2a1063[0x22]),_0x4f503b=_0x38348a(_0x4f503b,_0x1f35fd,_0x272f95,_0x41e9a1,_0x4579b1,0x17,_0x2a1063[0x23]),_0x41e9a1=_0x38348a(_0x41e9a1,_0x4f503b,_0x1f35fd,_0x272f95,_0x2547d4,0x4,_0x2a1063[0x24]),_0x272f95=_0x38348a(_0x272f95,_0x41e9a1,_0x4f503b,_0x1f35fd,_0x485471,0xb,_0x2a1063[0x25]),_0x1f35fd=_0x38348a(_0x1f35fd,_0x272f95,_0x41e9a1,_0x4f503b,_0x34779b,0x10,_0x2a1063[0x26]),_0x4f503b=_0x38348a(_0x4f503b,_0x1f35fd,_0x272f95,_0x41e9a1,_0x42bc00,0x17,_0x2a1063[0x27]),_0x41e9a1=_0x38348a(_0x41e9a1,_0x4f503b,_0x1f35fd,_0x272f95,_0x55e70a,0x4,_0x2a1063[0x28]),_0x272f95=_0x38348a(_0x272f95,_0x41e9a1,_0x4f503b,_0x1f35fd,_0x3c1db9,0xb,_0x2a1063[0x29]),_0x1f35fd=_0x38348a(_0x1f35fd,_0x272f95,_0x41e9a1,_0x4f503b,_0x33f055,0x10,_0x2a1063[0x2a]),_0x4f503b=_0x38348a(_0x4f503b,_0x1f35fd,_0x272f95,_0x41e9a1,_0x26e37b,0x17,_0x2a1063[0x2b]),_0x41e9a1=_0x38348a(_0x41e9a1,_0x4f503b,_0x1f35fd,_0x272f95,_0x48d18e,0x4,_0x2a1063[0x2c]),_0x272f95=_0x38348a(_0x272f95,_0x41e9a1,_0x4f503b,_0x1f35fd,_0x417b47,0xb,_0x2a1063[0x2d]),_0x1f35fd=_0x38348a(_0x1f35fd,_0x272f95,_0x41e9a1,_0x4f503b,_0x1346b2,0x10,_0x2a1063[0x2e]),_0x4f503b=_0x38348a(_0x4f503b,_0x1f35fd,_0x272f95,_0x41e9a1,_0x17500a,0x17,_0x2a1063[0x2f]),_0x41e9a1=_0x1458a1(_0x41e9a1,_0x4f503b,_0x1f35fd,_0x272f95,_0x3c1db9,0x6,_0x2a1063[0x30]),_0x272f95=_0x1458a1(_0x272f95,_0x41e9a1,_0x4f503b,_0x1f35fd,_0x34779b,0xa,_0x2a1063[0x31]),_0x1f35fd=_0x1458a1(_0x1f35fd,_0x272f95,_0x41e9a1,_0x4f503b,_0x4579b1,0xf,_0x2a1063[0x32]),_0x4f503b=_0x1458a1(_0x4f503b,_0x1f35fd,_0x272f95,_0x41e9a1,_0x49e999,0x15,_0x2a1063[0x33]),_0x41e9a1=_0x1458a1(_0x41e9a1,_0x4f503b,_0x1f35fd,_0x272f95,_0x417b47,0x6,_0x2a1063[0x34]),_0x272f95=_0x1458a1(_0x272f95,_0x41e9a1,_0x4f503b,_0x1f35fd,_0x33f055,0xa,_0x2a1063[0x35]),_0x1f35fd=_0x1458a1(_0x1f35fd,_0x272f95,_0x41e9a1,_0x4f503b,_0x42bc00,0xf,_0x2a1063[0x36]),_0x4f503b=_0x1458a1(_0x4f503b,_0x1f35fd,_0x272f95,_0x41e9a1,_0x2547d4,0x15,_0x2a1063[0x37]),_0x41e9a1=_0x1458a1(_0x41e9a1,_0x4f503b,_0x1f35fd,_0x272f95,_0x137c33,0x6,_0x2a1063[0x38]),_0x272f95=_0x1458a1(_0x272f95,_0x41e9a1,_0x4f503b,_0x1f35fd,_0x1346b2,0xa,_0x2a1063[0x39]),_0x1f35fd=_0x1458a1(_0x1f35fd,_0x272f95,_0x41e9a1,_0x4f503b,_0x26e37b,0xf,_0x2a1063[0x3a]),_0x4f503b=_0x1458a1(_0x4f503b,_0x1f35fd,_0x272f95,_0x41e9a1,_0x55e70a,0x15,_0x2a1063[0x3b]),_0x41e9a1=_0x1458a1(_0x41e9a1,_0x4f503b,_0x1f35fd,_0x272f95,_0x485471,0x6,_0x2a1063[0x3c]),_0x272f95=_0x1458a1(_0x272f95,_0x41e9a1,_0x4f503b,_0x1f35fd,_0x14857a,0xa,_0x2a1063[0x3d]),_0x1f35fd=_0x1458a1(_0x1f35fd,_0x272f95,_0x41e9a1,_0x4f503b,_0x17500a,0xf,_0x2a1063[0x3e]),_0x4f503b=_0x1458a1(_0x4f503b,_0x1f35fd,_0x272f95,_0x41e9a1,_0x48d18e,0x15,_0x2a1063[0x3f]),_0x1e7dea[0x0]=_0x1e7dea[0x0]+_0x41e9a1|0x0,_0x1e7dea[0x1]=_0x1e7dea[0x1]+_0x4f503b|0x0,_0x1e7dea[0x2]=_0x1e7dea[0x2]+_0x1f35fd|0x0,_0x1e7dea[0x3]=_0x1e7dea[0x3]+_0x272f95|0x0;},'_doFinalize':function(){var _0x21c6c5=_0x5bb893,_0x5a500a=this[_0x21c6c5(0x36c)],_0x93cc92=_0x5a500a[_0x21c6c5(0x39d)],_0x3fbb1a=this[_0x21c6c5(0xe4)]*0x8,_0x3a1153=_0x5a500a[_0x21c6c5(0x19f)]*0x8;_0x93cc92[_0x3a1153>>>0x5]|=0x80<<0x18-_0x3a1153%0x20;var _0x580e39=_0x2d7478['floor'](_0x3fbb1a/0x100000000),_0x37d4a2=_0x3fbb1a;_0x93cc92[(_0x3a1153+0x40>>>0x9<<0x4)+0xf]=(_0x580e39<<0x8|_0x580e39>>>0x18)&0xff00ff|(_0x580e39<<0x18|_0x580e39>>>0x8)&0xff00ff00,_0x93cc92[(_0x3a1153+0x40>>>0x9<<0x4)+0xe]=(_0x37d4a2<<0x8|_0x37d4a2>>>0x18)&0xff00ff|(_0x37d4a2<<0x18|_0x37d4a2>>>0x8)&0xff00ff00,_0x5a500a[_0x21c6c5(0x19f)]=(_0x93cc92[_0x21c6c5(0xdd)]+0x1)*0x4,this['_process']();for(var _0x53054b=this[_0x21c6c5(0x158)],_0xab6e42=_0x53054b[_0x21c6c5(0x39d)],_0x1d1cc8=0x0;_0x1d1cc8<0x4;_0x1d1cc8++){var _0x352b35=_0xab6e42[_0x1d1cc8];_0xab6e42[_0x1d1cc8]=(_0x352b35<<0x8|_0x352b35>>>0x18)&0xff00ff|(_0x352b35<<0x18|_0x352b35>>>0x8)&0xff00ff00;}return _0x53054b;},'clone':function(){var _0x3fe6ac=_0x5bb893,_0x1a1798=_0x2c1f41[_0x3fe6ac(0x9b)][_0x3fe6ac(0x38a)](this);return _0x1a1798[_0x3fe6ac(0x158)]=this['_hash'][_0x3fe6ac(0x9b)](),_0x1a1798;}});function _0x177eec(_0xf59c1c,_0x6c6b9c,_0x55772e,_0x17951b,_0x3ba511,_0x468fd9,_0x302fca){var _0x2bfc24=_0xf59c1c+(_0x6c6b9c&_0x55772e|~_0x6c6b9c&_0x17951b)+_0x3ba511+_0x302fca;return(_0x2bfc24<<_0x468fd9|_0x2bfc24>>>0x20-_0x468fd9)+_0x6c6b9c;}function _0x23b469(_0x4c9ccb,_0x5a007e,_0x42c4c2,_0x54fd6e,_0xc9f3e9,_0x251436,_0x342fe7){var _0x3eb96b=_0x4c9ccb+(_0x5a007e&_0x54fd6e|_0x42c4c2&~_0x54fd6e)+_0xc9f3e9+_0x342fe7;return(_0x3eb96b<<_0x251436|_0x3eb96b>>>0x20-_0x251436)+_0x5a007e;}function _0x38348a(_0xc817df,_0x3dcea2,_0x2e6c58,_0xd02196,_0x2780de,_0x1839b4,_0x3400dd){var _0x11476d=_0xc817df+(_0x3dcea2^_0x2e6c58^_0xd02196)+_0x2780de+_0x3400dd;return(_0x11476d<<_0x1839b4|_0x11476d>>>0x20-_0x1839b4)+_0x3dcea2;}function _0x1458a1(_0x4816c0,_0x58c466,_0x476358,_0x1c4c00,_0x4e0f54,_0x213b65,_0x55dd1d){var _0x3c1a77=_0x4816c0+(_0x476358^(_0x58c466|~_0x1c4c00))+_0x4e0f54+_0x55dd1d;return(_0x3c1a77<<_0x213b65|_0x3c1a77>>>0x20-_0x213b65)+_0x58c466;}_0x6f8f6b[_0x5bb893(0x17d)]=_0x2c1f41['_createHelper'](_0x4f35d8),_0x6f8f6b[_0x5bb893(0x382)]=_0x2c1f41['_createHmacHelper'](_0x4f35d8);}(Math),_0x46266[_0x4e7a58(0x17d)];}));}(_0x426099)),_0x426099[_0x32df8b(0x36e)];}var _0x34a425={'exports':{}},_0x30d1c1={'exports':{}},_0x5093ea=_0x30d1c1[_0x25bc2e(0x36e)],_0x20a0ad;function _0x4da252(){var _0x3fc4ee=_0x25bc2e;return _0x20a0ad||(_0x20a0ad=0x1,function(_0x3294d3,_0x55a4cc){(function(_0x225853,_0x416ced){_0x3294d3['exports']=_0x416ced(_0x152408());}(_0x5093ea,function(_0x4bfc37){var _0x46c7a9=_0x47c2;return(function(){var _0x5a949d=_0x47c2,_0x1c807e=_0x4bfc37,_0x4e32ac=_0x1c807e[_0x5a949d(0xaa)],_0x15677b=_0x4e32ac['WordArray'],_0x4706f7=_0x4e32ac[_0x5a949d(0x32b)],_0xaa40bb=_0x1c807e['algo'],_0x239f7f=[],_0xe25dc1=_0xaa40bb[_0x5a949d(0x2e1)]=_0x4706f7[_0x5a949d(0x1f9)]({'_doReset':function(){var _0x2fe911=_0x5a949d;this[_0x2fe911(0x158)]=new _0x15677b[(_0x2fe911(0x27c))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0xb44f57,_0x5e55a0){var _0x521fc6=_0x5a949d;for(var _0x50c628=this[_0x521fc6(0x158)][_0x521fc6(0x39d)],_0x547f31=_0x50c628[0x0],_0x288136=_0x50c628[0x1],_0x5f4b7f=_0x50c628[0x2],_0x5c540e=_0x50c628[0x3],_0x3efd02=_0x50c628[0x4],_0x2632b=0x0;_0x2632b<0x50;_0x2632b++){if(_0x2632b<0x10)_0x239f7f[_0x2632b]=_0xb44f57[_0x5e55a0+_0x2632b]|0x0;else{var _0x388773=_0x239f7f[_0x2632b-0x3]^_0x239f7f[_0x2632b-0x8]^_0x239f7f[_0x2632b-0xe]^_0x239f7f[_0x2632b-0x10];_0x239f7f[_0x2632b]=_0x388773<<0x1|_0x388773>>>0x1f;}var _0x4d31a3=(_0x547f31<<0x5|_0x547f31>>>0x1b)+_0x3efd02+_0x239f7f[_0x2632b];_0x2632b<0x14?_0x4d31a3+=(_0x288136&_0x5f4b7f|~_0x288136&_0x5c540e)+0x5a827999:_0x2632b<0x28?_0x4d31a3+=(_0x288136^_0x5f4b7f^_0x5c540e)+0x6ed9eba1:_0x2632b<0x3c?_0x4d31a3+=(_0x288136&_0x5f4b7f|_0x288136&_0x5c540e|_0x5f4b7f&_0x5c540e)-0x70e44324:_0x4d31a3+=(_0x288136^_0x5f4b7f^_0x5c540e)-0x359d3e2a,_0x3efd02=_0x5c540e,_0x5c540e=_0x5f4b7f,_0x5f4b7f=_0x288136<<0x1e|_0x288136>>>0x2,_0x288136=_0x547f31,_0x547f31=_0x4d31a3;}_0x50c628[0x0]=_0x50c628[0x0]+_0x547f31|0x0,_0x50c628[0x1]=_0x50c628[0x1]+_0x288136|0x0,_0x50c628[0x2]=_0x50c628[0x2]+_0x5f4b7f|0x0,_0x50c628[0x3]=_0x50c628[0x3]+_0x5c540e|0x0,_0x50c628[0x4]=_0x50c628[0x4]+_0x3efd02|0x0;},'_doFinalize':function(){var _0x53c8ca=_0x5a949d,_0x1ff549=this['_data'],_0x18ade9=_0x1ff549[_0x53c8ca(0x39d)],_0x4bc428=this[_0x53c8ca(0xe4)]*0x8,_0x888eb=_0x1ff549[_0x53c8ca(0x19f)]*0x8;return _0x18ade9[_0x888eb>>>0x5]|=0x80<<0x18-_0x888eb%0x20,_0x18ade9[(_0x888eb+0x40>>>0x9<<0x4)+0xe]=Math[_0x53c8ca(0x23a)](_0x4bc428/0x100000000),_0x18ade9[(_0x888eb+0x40>>>0x9<<0x4)+0xf]=_0x4bc428,_0x1ff549[_0x53c8ca(0x19f)]=_0x18ade9[_0x53c8ca(0xdd)]*0x4,this['_process'](),this[_0x53c8ca(0x158)];},'clone':function(){var _0x147554=_0x5a949d,_0x6a7727=_0x4706f7[_0x147554(0x9b)]['call'](this);return _0x6a7727[_0x147554(0x158)]=this[_0x147554(0x158)][_0x147554(0x9b)](),_0x6a7727;}});_0x1c807e[_0x5a949d(0x2e1)]=_0x4706f7['_createHelper'](_0xe25dc1),_0x1c807e[_0x5a949d(0x309)]=_0x4706f7[_0x5a949d(0x3ab)](_0xe25dc1);}()),_0x4bfc37[_0x46c7a9(0x2e1)];}));}(_0x30d1c1)),_0x30d1c1[_0x3fc4ee(0x36e)];}var _0x24b767={'exports':{}},_0x2d7aa1=_0x24b767[_0x25bc2e(0x36e)],_0x30c63a;function _0x330cd6(){var _0x18a12a=_0x25bc2e;return _0x30c63a||(_0x30c63a=0x1,function(_0x3b1c6a,_0x4642e6){(function(_0x58df03,_0xe289f1){var _0x5be690=_0x47c2;_0x3b1c6a[_0x5be690(0x36e)]=_0xe289f1(_0x152408());}(_0x2d7aa1,function(_0x35f06f){(function(){var _0x18d9a1=_0x47c2,_0x457b31=_0x35f06f,_0x3a17f7=_0x457b31[_0x18d9a1(0xaa)],_0x1e12e6=_0x3a17f7['Base'],_0x529b58=_0x457b31[_0x18d9a1(0x12c)],_0x231c89=_0x529b58[_0x18d9a1(0x155)],_0x5b5b11=_0x457b31[_0x18d9a1(0x32c)];_0x5b5b11[_0x18d9a1(0x2ad)]=_0x1e12e6['extend']({'init':function(_0x116166,_0x16ac3e){var _0x1a6ec9=_0x18d9a1;_0x116166=this[_0x1a6ec9(0x217)]=new _0x116166['init'](),typeof _0x16ac3e==_0x1a6ec9(0x1b3)&&(_0x16ac3e=_0x231c89[_0x1a6ec9(0x330)](_0x16ac3e));var _0x53998f=_0x116166[_0x1a6ec9(0x135)],_0x3d892c=_0x53998f*0x4;_0x16ac3e[_0x1a6ec9(0x19f)]>_0x3d892c&&(_0x16ac3e=_0x116166['finalize'](_0x16ac3e)),_0x16ac3e[_0x1a6ec9(0x355)]();for(var _0x20ab9f=this[_0x1a6ec9(0x1d8)]=_0x16ac3e[_0x1a6ec9(0x9b)](),_0x2ffe88=this[_0x1a6ec9(0x1ff)]=_0x16ac3e[_0x1a6ec9(0x9b)](),_0x14ad8a=_0x20ab9f[_0x1a6ec9(0x39d)],_0x48aa5d=_0x2ffe88[_0x1a6ec9(0x39d)],_0x1ecab7=0x0;_0x1ecab7<_0x53998f;_0x1ecab7++)_0x14ad8a[_0x1ecab7]^=0x5c5c5c5c,_0x48aa5d[_0x1ecab7]^=0x36363636;_0x20ab9f[_0x1a6ec9(0x19f)]=_0x2ffe88['sigBytes']=_0x3d892c,this[_0x1a6ec9(0x110)]();},'reset':function(){var _0x4e6d66=_0x18d9a1,_0xa36345=this[_0x4e6d66(0x217)];_0xa36345[_0x4e6d66(0x110)](),_0xa36345[_0x4e6d66(0x2c6)](this[_0x4e6d66(0x1ff)]);},'update':function(_0x35c0cf){var _0x577099=_0x18d9a1;return this[_0x577099(0x217)][_0x577099(0x2c6)](_0x35c0cf),this;},'finalize':function(_0x35652e){var _0x20887d=_0x18d9a1,_0x58e6d6=this[_0x20887d(0x217)],_0x34c4a7=_0x58e6d6[_0x20887d(0x165)](_0x35652e);_0x58e6d6[_0x20887d(0x110)]();var _0x3cfa95=_0x58e6d6[_0x20887d(0x165)](this[_0x20887d(0x1d8)][_0x20887d(0x9b)]()['concat'](_0x34c4a7));return _0x3cfa95;}});}());}));}(_0x24b767)),_0x24b767[_0x18a12a(0x36e)];}var _0x11a7c9=_0x34a425[_0x25bc2e(0x36e)],_0x5a5095;function _0x1b3da6(){var _0xa21b4d=_0x25bc2e;return _0x5a5095||(_0x5a5095=0x1,function(_0x541774,_0x5bd91f){(function(_0x504a0d,_0x2f310c,_0x162a12){var _0x29a493=_0x47c2;_0x541774[_0x29a493(0x36e)]=_0x2f310c(_0x152408(),_0x4da252(),_0x330cd6());}(_0x11a7c9,function(_0x2ca930){var _0x2551b6=_0x47c2;return(function(){var _0x221a46=_0x47c2,_0x4d876f=_0x2ca930,_0x1e1eec=_0x4d876f[_0x221a46(0xaa)],_0x319225=_0x1e1eec[_0x221a46(0x1b6)],_0x3f0487=_0x1e1eec['WordArray'],_0x4dd4ec=_0x4d876f[_0x221a46(0x32c)],_0x322546=_0x4dd4ec['MD5'],_0x406ab1=_0x4dd4ec[_0x221a46(0x10d)]=_0x319225[_0x221a46(0x1f9)]({'cfg':_0x319225[_0x221a46(0x1f9)]({'keySize':0x80/0x20,'hasher':_0x322546,'iterations':0x1}),'init':function(_0x3b95c0){var _0x1bf3e2=_0x221a46;this[_0x1bf3e2(0x33d)]=this[_0x1bf3e2(0x33d)][_0x1bf3e2(0x1f9)](_0x3b95c0);},'compute':function(_0x10b3a4,_0x6d3e44){var _0x26787e=_0x221a46;for(var _0x2dac52,_0x4377d7=this[_0x26787e(0x33d)],_0x5f2d42=_0x4377d7[_0x26787e(0x37f)][_0x26787e(0x1c1)](),_0xd1d888=_0x3f0487['create'](),_0x44db23=_0xd1d888[_0x26787e(0x39d)],_0x51c02e=_0x4377d7[_0x26787e(0x18c)],_0x119db7=_0x4377d7[_0x26787e(0x367)];_0x44db23[_0x26787e(0xdd)]<_0x51c02e;){_0x2dac52&&_0x5f2d42[_0x26787e(0x2c6)](_0x2dac52),_0x2dac52=_0x5f2d42['update'](_0x10b3a4)[_0x26787e(0x165)](_0x6d3e44),_0x5f2d42[_0x26787e(0x110)]();for(var _0x1a8b8f=0x1;_0x1a8b8f<_0x119db7;_0x1a8b8f++)_0x2dac52=_0x5f2d42[_0x26787e(0x165)](_0x2dac52),_0x5f2d42[_0x26787e(0x110)]();_0xd1d888[_0x26787e(0x2d2)](_0x2dac52);}return _0xd1d888[_0x26787e(0x19f)]=_0x51c02e*0x4,_0xd1d888;}});_0x4d876f[_0x221a46(0x10d)]=function(_0xfd9211,_0x1f5958,_0x103d31){var _0x57b9f6=_0x221a46;return _0x406ab1[_0x57b9f6(0x1c1)](_0x103d31)[_0x57b9f6(0xb5)](_0xfd9211,_0x1f5958);};}()),_0x2ca930[_0x2551b6(0x10d)];}));}(_0x34a425)),_0x34a425[_0xa21b4d(0x36e)];}var _0x31a17a={'exports':{}},_0x2ca693=_0x31a17a[_0x25bc2e(0x36e)],_0x4bb007;function _0xa17a3e(){var _0x1c0517=_0x25bc2e;return _0x4bb007||(_0x4bb007=0x1,function(_0x54d1d6,_0x501be4){(function(_0x3eab26,_0x1ea6cc,_0x1225da){var _0x6b2505=_0x47c2;_0x54d1d6[_0x6b2505(0x36e)]=_0x1ea6cc(_0x152408(),_0x1b3da6());}(_0x2ca693,function(_0x59b051){var _0x432380=_0x47c2;_0x59b051[_0x432380(0xaa)]['Cipher']||function(_0x2130aa){var _0x227939=_0x432380,_0x4a2ee8=_0x59b051,_0x1f228a=_0x4a2ee8[_0x227939(0xaa)],_0x363f97=_0x1f228a['Base'],_0x30a1e2=_0x1f228a['WordArray'],_0x370195=_0x1f228a[_0x227939(0x121)],_0x5af3c2=_0x4a2ee8[_0x227939(0x12c)];_0x5af3c2['Utf8'];var _0x1d500f=_0x5af3c2['Base64'],_0x1bdc25=_0x4a2ee8[_0x227939(0x32c)],_0x367d8c=_0x1bdc25[_0x227939(0x10d)],_0x43f4bf=_0x1f228a[_0x227939(0x129)]=_0x370195[_0x227939(0x1f9)]({'cfg':_0x363f97[_0x227939(0x1f9)](),'createEncryptor':function(_0x3f0a4d,_0x34b6d9){var _0xac4c1c=_0x227939;return this[_0xac4c1c(0x1c1)](this['_ENC_XFORM_MODE'],_0x3f0a4d,_0x34b6d9);},'createDecryptor':function(_0x79d86c,_0x3c6e94){var _0x5b7b95=_0x227939;return this[_0x5b7b95(0x1c1)](this[_0x5b7b95(0x2fc)],_0x79d86c,_0x3c6e94);},'init':function(_0x401c7c,_0x2b6153,_0x2fab11){var _0x42b558=_0x227939;this[_0x42b558(0x33d)]=this[_0x42b558(0x33d)][_0x42b558(0x1f9)](_0x2fab11),this['_xformMode']=_0x401c7c,this[_0x42b558(0x29e)]=_0x2b6153,this[_0x42b558(0x110)]();},'reset':function(){var _0x28722d=_0x227939;_0x370195['reset'][_0x28722d(0x38a)](this),this['_doReset']();},'process':function(_0xe543f2){var _0x3e2d3a=_0x227939;return this[_0x3e2d3a(0x1ac)](_0xe543f2),this[_0x3e2d3a(0x176)]();},'finalize':function(_0x1748dd){var _0x218711=_0x227939;_0x1748dd&&this[_0x218711(0x1ac)](_0x1748dd);var _0x4b264b=this[_0x218711(0x109)]();return _0x4b264b;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x267f81(_0x2c5e19){var _0x5ee07c=_0x47c2;return typeof _0x2c5e19==_0x5ee07c(0x1b3)?_0xcfe801:_0x763062;}return function(_0x8465d8){return{'encrypt':function(_0x314404,_0x44b51d,_0x56b77c){var _0x65b486=_0x47c2;return _0x267f81(_0x44b51d)[_0x65b486(0x246)](_0x8465d8,_0x314404,_0x44b51d,_0x56b77c);},'decrypt':function(_0x5d267f,_0x11cfea,_0x51fada){var _0x21121e=_0x47c2;return _0x267f81(_0x11cfea)[_0x21121e(0x379)](_0x8465d8,_0x5d267f,_0x11cfea,_0x51fada);}};};}())});_0x1f228a[_0x227939(0x148)]=_0x43f4bf[_0x227939(0x1f9)]({'_doFinalize':function(){var _0x59fbfe=_0x227939,_0x2dc052=this[_0x59fbfe(0x176)](!0x0);return _0x2dc052;},'blockSize':0x1});var _0x2a8334=_0x4a2ee8['mode']={},_0x11579b=_0x1f228a[_0x227939(0xa4)]=_0x363f97[_0x227939(0x1f9)]({'createEncryptor':function(_0x569bec,_0x33784e){var _0x134dd3=_0x227939;return this[_0x134dd3(0x27b)][_0x134dd3(0x1c1)](_0x569bec,_0x33784e);},'createDecryptor':function(_0x1816a7,_0x3e8991){return this['Decryptor']['create'](_0x1816a7,_0x3e8991);},'init':function(_0x3b9fd7,_0x4d54d9){var _0x112fbe=_0x227939;this[_0x112fbe(0x384)]=_0x3b9fd7,this[_0x112fbe(0x189)]=_0x4d54d9;}}),_0x1d0a76=_0x2a8334[_0x227939(0x3c5)]=(function(){var _0x2348e4=_0x227939,_0x415967=_0x11579b[_0x2348e4(0x1f9)]();_0x415967[_0x2348e4(0x27b)]=_0x415967['extend']({'processBlock':function(_0xa81137,_0x15ea29){var _0x457794=_0x2348e4,_0x460e96=this[_0x457794(0x384)],_0x16eee5=_0x460e96[_0x457794(0x135)];_0x510184[_0x457794(0x38a)](this,_0xa81137,_0x15ea29,_0x16eee5),_0x460e96['encryptBlock'](_0xa81137,_0x15ea29),this['_prevBlock']=_0xa81137['slice'](_0x15ea29,_0x15ea29+_0x16eee5);}}),_0x415967['Decryptor']=_0x415967[_0x2348e4(0x1f9)]({'processBlock':function(_0x4ebecd,_0x6af39d){var _0x53fcba=_0x2348e4,_0x5a2854=this['_cipher'],_0x15482d=_0x5a2854[_0x53fcba(0x135)],_0x56404b=_0x4ebecd[_0x53fcba(0xd1)](_0x6af39d,_0x6af39d+_0x15482d);_0x5a2854[_0x53fcba(0x1bb)](_0x4ebecd,_0x6af39d),_0x510184[_0x53fcba(0x38a)](this,_0x4ebecd,_0x6af39d,_0x15482d),this[_0x53fcba(0xc9)]=_0x56404b;}});function _0x510184(_0x5236aa,_0x43e3c8,_0x5b4ef1){var _0x3eebb5=_0x2348e4,_0x17e1cb,_0x508322=this[_0x3eebb5(0x189)];_0x508322?(_0x17e1cb=_0x508322,this[_0x3eebb5(0x189)]=_0x2130aa):_0x17e1cb=this[_0x3eebb5(0xc9)];for(var _0x46a45b=0x0;_0x46a45b<_0x5b4ef1;_0x46a45b++)_0x5236aa[_0x43e3c8+_0x46a45b]^=_0x17e1cb[_0x46a45b];}return _0x415967;}()),_0x549d26=_0x4a2ee8[_0x227939(0xd6)]={},_0x22c742=_0x549d26[_0x227939(0x321)]={'pad':function(_0x8a2685,_0x213849){var _0x487ca4=_0x227939;for(var _0x315d95=_0x213849*0x4,_0x503623=_0x315d95-_0x8a2685['sigBytes']%_0x315d95,_0x1353d2=_0x503623<<0x18|_0x503623<<0x10|_0x503623<<0x8|_0x503623,_0x39f123=[],_0xd839f8=0x0;_0xd839f8<_0x503623;_0xd839f8+=0x4)_0x39f123[_0x487ca4(0x204)](_0x1353d2);var _0x19e4c8=_0x30a1e2[_0x487ca4(0x1c1)](_0x39f123,_0x503623);_0x8a2685[_0x487ca4(0x2d2)](_0x19e4c8);},'unpad':function(_0x589a86){var _0x23b9ea=_0x227939,_0x70ae32=_0x589a86[_0x23b9ea(0x39d)][_0x589a86['sigBytes']-0x1>>>0x2]&0xff;_0x589a86[_0x23b9ea(0x19f)]-=_0x70ae32;}};_0x1f228a[_0x227939(0x3da)]=_0x43f4bf[_0x227939(0x1f9)]({'cfg':_0x43f4bf[_0x227939(0x33d)][_0x227939(0x1f9)]({'mode':_0x1d0a76,'padding':_0x22c742}),'reset':function(){var _0xb33d8a=_0x227939,_0xd2c03d;_0x43f4bf['reset']['call'](this);var _0x3f2745=this[_0xb33d8a(0x33d)],_0x2c6ad6=_0x3f2745['iv'],_0x4e7d73=_0x3f2745[_0xb33d8a(0x11d)];this[_0xb33d8a(0x2a5)]==this[_0xb33d8a(0x1c6)]?_0xd2c03d=_0x4e7d73['createEncryptor']:(_0xd2c03d=_0x4e7d73[_0xb33d8a(0x34d)],this[_0xb33d8a(0x207)]=0x1),this[_0xb33d8a(0x117)]&&this[_0xb33d8a(0x117)]['__creator']==_0xd2c03d?this[_0xb33d8a(0x117)][_0xb33d8a(0x27c)](this,_0x2c6ad6&&_0x2c6ad6['words']):(this[_0xb33d8a(0x117)]=_0xd2c03d[_0xb33d8a(0x38a)](_0x4e7d73,this,_0x2c6ad6&&_0x2c6ad6[_0xb33d8a(0x39d)]),this[_0xb33d8a(0x117)][_0xb33d8a(0x418)]=_0xd2c03d);},'_doProcessBlock':function(_0x3530c8,_0x412dd1){var _0x17e97a=_0x227939;this['_mode'][_0x17e97a(0xa2)](_0x3530c8,_0x412dd1);},'_doFinalize':function(){var _0xa6be28=_0x227939,_0x5dfe2b,_0x21bcbc=this['cfg'][_0xa6be28(0x374)];return this['_xformMode']==this[_0xa6be28(0x1c6)]?(_0x21bcbc[_0xa6be28(0xd6)](this[_0xa6be28(0x36c)],this[_0xa6be28(0x135)]),_0x5dfe2b=this[_0xa6be28(0x176)](!0x0)):(_0x5dfe2b=this[_0xa6be28(0x176)](!0x0),_0x21bcbc[_0xa6be28(0x178)](_0x5dfe2b)),_0x5dfe2b;},'blockSize':0x80/0x20});var _0x56e14d=_0x1f228a[_0x227939(0x264)]=_0x363f97[_0x227939(0x1f9)]({'init':function(_0xdc23b8){var _0x181841=_0x227939;this[_0x181841(0x177)](_0xdc23b8);},'toString':function(_0x33566e){var _0x3c9bcb=_0x227939;return(_0x33566e||this['formatter'])[_0x3c9bcb(0x2db)](this);}}),_0x377131=_0x4a2ee8[_0x227939(0x39c)]={},_0x2ab56b=_0x377131[_0x227939(0x1c0)]={'stringify':function(_0x2808b0){var _0x51801d=_0x227939,_0x205b76,_0x12e9a8=_0x2808b0[_0x51801d(0x188)],_0x4b4e5e=_0x2808b0['salt'];return _0x4b4e5e?_0x205b76=_0x30a1e2[_0x51801d(0x1c1)]([0x53616c74,0x65645f5f])[_0x51801d(0x2d2)](_0x4b4e5e)[_0x51801d(0x2d2)](_0x12e9a8):_0x205b76=_0x12e9a8,_0x205b76['toString'](_0x1d500f);},'parse':function(_0x52f327){var _0xeb4d5f=_0x227939,_0x2bffd2,_0x8fc16c=_0x1d500f[_0xeb4d5f(0x330)](_0x52f327),_0x2f161c=_0x8fc16c[_0xeb4d5f(0x39d)];return _0x2f161c[0x0]==0x53616c74&&_0x2f161c[0x1]==0x65645f5f&&(_0x2bffd2=_0x30a1e2[_0xeb4d5f(0x1c1)](_0x2f161c['slice'](0x2,0x4)),_0x2f161c[_0xeb4d5f(0x289)](0x0,0x4),_0x8fc16c[_0xeb4d5f(0x19f)]-=0x10),_0x56e14d[_0xeb4d5f(0x1c1)]({'ciphertext':_0x8fc16c,'salt':_0x2bffd2});}},_0x763062=_0x1f228a[_0x227939(0x115)]=_0x363f97[_0x227939(0x1f9)]({'cfg':_0x363f97['extend']({'format':_0x2ab56b}),'encrypt':function(_0x341dc0,_0x369ee5,_0x4b2036,_0x3e71e4){var _0x451727=_0x227939;_0x3e71e4=this['cfg'][_0x451727(0x1f9)](_0x3e71e4);var _0x4c40f8=_0x341dc0[_0x451727(0x213)](_0x4b2036,_0x3e71e4),_0x5bc19a=_0x4c40f8['finalize'](_0x369ee5),_0x313ca6=_0x4c40f8[_0x451727(0x33d)];return _0x56e14d[_0x451727(0x1c1)]({'ciphertext':_0x5bc19a,'key':_0x4b2036,'iv':_0x313ca6['iv'],'algorithm':_0x341dc0,'mode':_0x313ca6[_0x451727(0x11d)],'padding':_0x313ca6[_0x451727(0x374)],'blockSize':_0x341dc0[_0x451727(0x135)],'formatter':_0x3e71e4[_0x451727(0x39c)]});},'decrypt':function(_0x1047db,_0xa4c0c4,_0x1685e7,_0x1f9703){var _0x4c8b03=_0x227939;_0x1f9703=this['cfg'][_0x4c8b03(0x1f9)](_0x1f9703),_0xa4c0c4=this[_0x4c8b03(0x235)](_0xa4c0c4,_0x1f9703[_0x4c8b03(0x39c)]);var _0x58eb83=_0x1047db[_0x4c8b03(0x34d)](_0x1685e7,_0x1f9703)['finalize'](_0xa4c0c4[_0x4c8b03(0x188)]);return _0x58eb83;},'_parse':function(_0x476796,_0x2ef159){var _0x2ce551=_0x227939;return typeof _0x476796==_0x2ce551(0x1b3)?_0x2ef159[_0x2ce551(0x330)](_0x476796,this):_0x476796;}}),_0x4230b9=_0x4a2ee8['kdf']={},_0x819814=_0x4230b9[_0x227939(0x1c0)]={'execute':function(_0x5832b8,_0x26abeb,_0x9a2495,_0x15d633,_0x39248a){var _0x202e74=_0x227939;if(_0x15d633||(_0x15d633=_0x30a1e2[_0x202e74(0x3b9)](0x40/0x8)),_0x39248a)var _0x32cdc8=_0x367d8c[_0x202e74(0x1c1)]({'keySize':_0x26abeb+_0x9a2495,'hasher':_0x39248a})[_0x202e74(0xb5)](_0x5832b8,_0x15d633);else var _0x32cdc8=_0x367d8c['create']({'keySize':_0x26abeb+_0x9a2495})[_0x202e74(0xb5)](_0x5832b8,_0x15d633);var _0x317d39=_0x30a1e2[_0x202e74(0x1c1)](_0x32cdc8[_0x202e74(0x39d)][_0x202e74(0xd1)](_0x26abeb),_0x9a2495*0x4);return _0x32cdc8[_0x202e74(0x19f)]=_0x26abeb*0x4,_0x56e14d['create']({'key':_0x32cdc8,'iv':_0x317d39,'salt':_0x15d633});}},_0xcfe801=_0x1f228a[_0x227939(0x3ef)]=_0x763062[_0x227939(0x1f9)]({'cfg':_0x763062['cfg'][_0x227939(0x1f9)]({'kdf':_0x819814}),'encrypt':function(_0x9a4e13,_0x5cc18d,_0x255396,_0x3bb54f){var _0x530fdb=_0x227939;_0x3bb54f=this['cfg'][_0x530fdb(0x1f9)](_0x3bb54f);var _0x2fe55c=_0x3bb54f[_0x530fdb(0x139)][_0x530fdb(0x16f)](_0x255396,_0x9a4e13['keySize'],_0x9a4e13['ivSize'],_0x3bb54f[_0x530fdb(0x13a)],_0x3bb54f['hasher']);_0x3bb54f['iv']=_0x2fe55c['iv'];var _0x58286e=_0x763062[_0x530fdb(0x246)]['call'](this,_0x9a4e13,_0x5cc18d,_0x2fe55c[_0x530fdb(0x3fe)],_0x3bb54f);return _0x58286e[_0x530fdb(0x177)](_0x2fe55c),_0x58286e;},'decrypt':function(_0x34f79f,_0x3c8df2,_0x2fbf93,_0x14b0a4){var _0x539702=_0x227939;_0x14b0a4=this[_0x539702(0x33d)][_0x539702(0x1f9)](_0x14b0a4),_0x3c8df2=this[_0x539702(0x235)](_0x3c8df2,_0x14b0a4['format']);var _0x4c3e5f=_0x14b0a4[_0x539702(0x139)][_0x539702(0x16f)](_0x2fbf93,_0x34f79f[_0x539702(0x18c)],_0x34f79f[_0x539702(0x2ec)],_0x3c8df2[_0x539702(0x13a)],_0x14b0a4[_0x539702(0x37f)]);_0x14b0a4['iv']=_0x4c3e5f['iv'];var _0x55121d=_0x763062[_0x539702(0x379)][_0x539702(0x38a)](this,_0x34f79f,_0x3c8df2,_0x4c3e5f[_0x539702(0x3fe)],_0x14b0a4);return _0x55121d;}});}();}));}(_0x31a17a)),_0x31a17a[_0x1c0517(0x36e)];}var _0x2d37dc=_0x3fa2a7[_0x25bc2e(0x36e)],_0x208b67;function _0x1a6123(){var _0x5264be=_0x25bc2e;return _0x208b67||(_0x208b67=0x1,function(_0x65a543,_0x50aa7b){(function(_0x119602,_0x590a3d,_0x2d7ef8){var _0x574ed7=_0x47c2;_0x65a543[_0x574ed7(0x36e)]=_0x590a3d(_0x152408(),_0x44b5c0(),_0x58221e(),_0x1b3da6(),_0xa17a3e());}(_0x2d37dc,function(_0x232ae1){var _0x15ba69=_0x47c2;return(function(){var _0x2a204b=_0x47c2,_0x3d0d95=_0x232ae1,_0x22eb00=_0x3d0d95['lib'],_0x337e49=_0x22eb00[_0x2a204b(0x3da)],_0x12d22f=_0x3d0d95[_0x2a204b(0x32c)],_0x200d8b=[],_0x23f9df=[],_0x5d62bd=[],_0x214162=[],_0xb6f594=[],_0x1e53d1=[],_0x24774b=[],_0x476bf4=[],_0x548dbc=[],_0x503231=[];(function(){for(var _0x4833ab=[],_0x4eac1c=0x0;_0x4eac1c<0x100;_0x4eac1c++)_0x4eac1c<0x80?_0x4833ab[_0x4eac1c]=_0x4eac1c<<0x1:_0x4833ab[_0x4eac1c]=_0x4eac1c<<0x1^0x11b;for(var _0x3e2555=0x0,_0xe092a3=0x0,_0x4eac1c=0x0;_0x4eac1c<0x100;_0x4eac1c++){var _0x5367f4=_0xe092a3^_0xe092a3<<0x1^_0xe092a3<<0x2^_0xe092a3<<0x3^_0xe092a3<<0x4;_0x5367f4=_0x5367f4>>>0x8^_0x5367f4&0xff^0x63,_0x200d8b[_0x3e2555]=_0x5367f4,_0x23f9df[_0x5367f4]=_0x3e2555;var _0xacfb6b=_0x4833ab[_0x3e2555],_0x13c904=_0x4833ab[_0xacfb6b],_0x1ecb30=_0x4833ab[_0x13c904],_0x1d3824=_0x4833ab[_0x5367f4]*0x101^_0x5367f4*0x1010100;_0x5d62bd[_0x3e2555]=_0x1d3824<<0x18|_0x1d3824>>>0x8,_0x214162[_0x3e2555]=_0x1d3824<<0x10|_0x1d3824>>>0x10,_0xb6f594[_0x3e2555]=_0x1d3824<<0x8|_0x1d3824>>>0x18,_0x1e53d1[_0x3e2555]=_0x1d3824;var _0x1d3824=_0x1ecb30*0x1010101^_0x13c904*0x10001^_0xacfb6b*0x101^_0x3e2555*0x1010100;_0x24774b[_0x5367f4]=_0x1d3824<<0x18|_0x1d3824>>>0x8,_0x476bf4[_0x5367f4]=_0x1d3824<<0x10|_0x1d3824>>>0x10,_0x548dbc[_0x5367f4]=_0x1d3824<<0x8|_0x1d3824>>>0x18,_0x503231[_0x5367f4]=_0x1d3824,_0x3e2555?(_0x3e2555=_0xacfb6b^_0x4833ab[_0x4833ab[_0x4833ab[_0x1ecb30^_0xacfb6b]]],_0xe092a3^=_0x4833ab[_0x4833ab[_0xe092a3]]):_0x3e2555=_0xe092a3=0x1;}}());var _0x183b0c=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0xfb98de=_0x12d22f[_0x2a204b(0x388)]=_0x337e49[_0x2a204b(0x1f9)]({'_doReset':function(){var _0x59d0f6=_0x2a204b,_0x1537cb;if(!(this['_nRounds']&&this[_0x59d0f6(0x3fb)]===this[_0x59d0f6(0x29e)])){for(var _0x1c3f13=this['_keyPriorReset']=this[_0x59d0f6(0x29e)],_0xab294b=_0x1c3f13[_0x59d0f6(0x39d)],_0x5a24e9=_0x1c3f13[_0x59d0f6(0x19f)]/0x4,_0x2f1c93=this[_0x59d0f6(0x194)]=_0x5a24e9+0x6,_0x2a2ea1=(_0x2f1c93+0x1)*0x4,_0x5d486e=this['_keySchedule']=[],_0x435d57=0x0;_0x435d57<_0x2a2ea1;_0x435d57++)_0x435d57<_0x5a24e9?_0x5d486e[_0x435d57]=_0xab294b[_0x435d57]:(_0x1537cb=_0x5d486e[_0x435d57-0x1],_0x435d57%_0x5a24e9?_0x5a24e9>0x6&&_0x435d57%_0x5a24e9==0x4&&(_0x1537cb=_0x200d8b[_0x1537cb>>>0x18]<<0x18|_0x200d8b[_0x1537cb>>>0x10&0xff]<<0x10|_0x200d8b[_0x1537cb>>>0x8&0xff]<<0x8|_0x200d8b[_0x1537cb&0xff]):(_0x1537cb=_0x1537cb<<0x8|_0x1537cb>>>0x18,_0x1537cb=_0x200d8b[_0x1537cb>>>0x18]<<0x18|_0x200d8b[_0x1537cb>>>0x10&0xff]<<0x10|_0x200d8b[_0x1537cb>>>0x8&0xff]<<0x8|_0x200d8b[_0x1537cb&0xff],_0x1537cb^=_0x183b0c[_0x435d57/_0x5a24e9|0x0]<<0x18),_0x5d486e[_0x435d57]=_0x5d486e[_0x435d57-_0x5a24e9]^_0x1537cb);for(var _0x2340d7=this[_0x59d0f6(0x2e9)]=[],_0x538def=0x0;_0x538def<_0x2a2ea1;_0x538def++){var _0x435d57=_0x2a2ea1-_0x538def;if(_0x538def%0x4)var _0x1537cb=_0x5d486e[_0x435d57];else var _0x1537cb=_0x5d486e[_0x435d57-0x4];_0x538def<0x4||_0x435d57<=0x4?_0x2340d7[_0x538def]=_0x1537cb:_0x2340d7[_0x538def]=_0x24774b[_0x200d8b[_0x1537cb>>>0x18]]^_0x476bf4[_0x200d8b[_0x1537cb>>>0x10&0xff]]^_0x548dbc[_0x200d8b[_0x1537cb>>>0x8&0xff]]^_0x503231[_0x200d8b[_0x1537cb&0xff]];}}},'encryptBlock':function(_0x221578,_0x11fe61){var _0x363531=_0x2a204b;this['_doCryptBlock'](_0x221578,_0x11fe61,this[_0x363531(0x2de)],_0x5d62bd,_0x214162,_0xb6f594,_0x1e53d1,_0x200d8b);},'decryptBlock':function(_0x2c777d,_0xe62129){var _0x4cb103=_0x2a204b,_0x3952dd=_0x2c777d[_0xe62129+0x1];_0x2c777d[_0xe62129+0x1]=_0x2c777d[_0xe62129+0x3],_0x2c777d[_0xe62129+0x3]=_0x3952dd,this[_0x4cb103(0x30a)](_0x2c777d,_0xe62129,this['_invKeySchedule'],_0x24774b,_0x476bf4,_0x548dbc,_0x503231,_0x23f9df);var _0x3952dd=_0x2c777d[_0xe62129+0x1];_0x2c777d[_0xe62129+0x1]=_0x2c777d[_0xe62129+0x3],_0x2c777d[_0xe62129+0x3]=_0x3952dd;},'_doCryptBlock':function(_0x1f30cb,_0x2bb441,_0x51bf3d,_0x1cb9b8,_0x1678fd,_0x1b48c0,_0x98ba58,_0x57a84b){var _0x1e72a2=_0x2a204b;for(var _0x2bbb81=this[_0x1e72a2(0x194)],_0x2e663e=_0x1f30cb[_0x2bb441]^_0x51bf3d[0x0],_0x1e73df=_0x1f30cb[_0x2bb441+0x1]^_0x51bf3d[0x1],_0xa55dd9=_0x1f30cb[_0x2bb441+0x2]^_0x51bf3d[0x2],_0x186d5c=_0x1f30cb[_0x2bb441+0x3]^_0x51bf3d[0x3],_0x1a72e4=0x4,_0x11790c=0x1;_0x11790c<_0x2bbb81;_0x11790c++){var _0x3d1585=_0x1cb9b8[_0x2e663e>>>0x18]^_0x1678fd[_0x1e73df>>>0x10&0xff]^_0x1b48c0[_0xa55dd9>>>0x8&0xff]^_0x98ba58[_0x186d5c&0xff]^_0x51bf3d[_0x1a72e4++],_0x28056d=_0x1cb9b8[_0x1e73df>>>0x18]^_0x1678fd[_0xa55dd9>>>0x10&0xff]^_0x1b48c0[_0x186d5c>>>0x8&0xff]^_0x98ba58[_0x2e663e&0xff]^_0x51bf3d[_0x1a72e4++],_0x43636c=_0x1cb9b8[_0xa55dd9>>>0x18]^_0x1678fd[_0x186d5c>>>0x10&0xff]^_0x1b48c0[_0x2e663e>>>0x8&0xff]^_0x98ba58[_0x1e73df&0xff]^_0x51bf3d[_0x1a72e4++],_0x942f8c=_0x1cb9b8[_0x186d5c>>>0x18]^_0x1678fd[_0x2e663e>>>0x10&0xff]^_0x1b48c0[_0x1e73df>>>0x8&0xff]^_0x98ba58[_0xa55dd9&0xff]^_0x51bf3d[_0x1a72e4++];_0x2e663e=_0x3d1585,_0x1e73df=_0x28056d,_0xa55dd9=_0x43636c,_0x186d5c=_0x942f8c;}var _0x3d1585=(_0x57a84b[_0x2e663e>>>0x18]<<0x18|_0x57a84b[_0x1e73df>>>0x10&0xff]<<0x10|_0x57a84b[_0xa55dd9>>>0x8&0xff]<<0x8|_0x57a84b[_0x186d5c&0xff])^_0x51bf3d[_0x1a72e4++],_0x28056d=(_0x57a84b[_0x1e73df>>>0x18]<<0x18|_0x57a84b[_0xa55dd9>>>0x10&0xff]<<0x10|_0x57a84b[_0x186d5c>>>0x8&0xff]<<0x8|_0x57a84b[_0x2e663e&0xff])^_0x51bf3d[_0x1a72e4++],_0x43636c=(_0x57a84b[_0xa55dd9>>>0x18]<<0x18|_0x57a84b[_0x186d5c>>>0x10&0xff]<<0x10|_0x57a84b[_0x2e663e>>>0x8&0xff]<<0x8|_0x57a84b[_0x1e73df&0xff])^_0x51bf3d[_0x1a72e4++],_0x942f8c=(_0x57a84b[_0x186d5c>>>0x18]<<0x18|_0x57a84b[_0x2e663e>>>0x10&0xff]<<0x10|_0x57a84b[_0x1e73df>>>0x8&0xff]<<0x8|_0x57a84b[_0xa55dd9&0xff])^_0x51bf3d[_0x1a72e4++];_0x1f30cb[_0x2bb441]=_0x3d1585,_0x1f30cb[_0x2bb441+0x1]=_0x28056d,_0x1f30cb[_0x2bb441+0x2]=_0x43636c,_0x1f30cb[_0x2bb441+0x3]=_0x942f8c;},'keySize':0x100/0x20});_0x3d0d95[_0x2a204b(0x388)]=_0x337e49[_0x2a204b(0x219)](_0xfb98de);}()),_0x232ae1[_0x15ba69(0x388)];}));}(_0x3fa2a7)),_0x3fa2a7[_0x5264be(0x36e)];}var _0xd876aa=_0x1a6123();const _0x957038=_0xe87296(_0xd876aa);var _0x466ea9=_0x44b5c0();const _0x615a3d=_0xe87296(_0x466ea9);var _0x546146={'exports':{}},_0x454062=_0x546146[_0x25bc2e(0x36e)],_0x4b47ca;function _0x6fb3e7(){var _0x2adec4=_0x25bc2e;return _0x4b47ca||(_0x4b47ca=0x1,function(_0xfcb08b,_0x17bbfb){(function(_0x458dd2,_0x4b06e8){_0xfcb08b['exports']=_0x4b06e8(_0x152408());}(_0x454062,function(_0x4f8488){var _0x4daa70=_0x47c2;return _0x4f8488[_0x4daa70(0x12c)][_0x4daa70(0x155)];}));}(_0x546146)),_0x546146[_0x2adec4(0x36e)];}var _0x1ef72e=_0x6fb3e7();const _0x390ac5=_0xe87296(_0x1ef72e);var _0x485f84={'exports':{}},_0x40a184=_0x485f84[_0x25bc2e(0x36e)],_0x577669;function _0x145515(){var _0x26f735=_0x25bc2e;return _0x577669||(_0x577669=0x1,function(_0x253c3e,_0x126703){(function(_0x2aa70a,_0x22a7f3){var _0x444d35=_0x47c2;_0x253c3e[_0x444d35(0x36e)]=_0x22a7f3(_0x152408());}(_0x40a184,function(_0x27749d){var _0xecdae9=_0x47c2;return(function(){var _0xb523e3=_0x47c2;if(typeof ArrayBuffer==_0xb523e3(0xf9)){var _0x5e456d=_0x27749d,_0x1d692d=_0x5e456d[_0xb523e3(0xaa)],_0x3fabb7=_0x1d692d[_0xb523e3(0x1aa)],_0x1468cf=_0x3fabb7[_0xb523e3(0x27c)],_0xe6364=_0x3fabb7[_0xb523e3(0x27c)]=function(_0x5265b7){var _0x1303b2=_0xb523e3;if(_0x5265b7 instanceof ArrayBuffer&&(_0x5265b7=new Uint8Array(_0x5265b7)),(_0x5265b7 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x5265b7 instanceof Uint8ClampedArray||_0x5265b7 instanceof Int16Array||_0x5265b7 instanceof Uint16Array||_0x5265b7 instanceof Int32Array||_0x5265b7 instanceof Uint32Array||_0x5265b7 instanceof Float32Array||_0x5265b7 instanceof Float64Array)&&(_0x5265b7=new Uint8Array(_0x5265b7['buffer'],_0x5265b7['byteOffset'],_0x5265b7['byteLength'])),_0x5265b7 instanceof Uint8Array){for(var _0x4a9aa8=_0x5265b7['byteLength'],_0x543596=[],_0x58b23e=0x0;_0x58b23e<_0x4a9aa8;_0x58b23e++)_0x543596[_0x58b23e>>>0x2]|=_0x5265b7[_0x58b23e]<<0x18-_0x58b23e%0x4*0x8;_0x1468cf['call'](this,_0x543596,_0x4a9aa8);}else _0x1468cf[_0x1303b2(0x280)](this,arguments);};_0xe6364[_0xb523e3(0xe5)]=_0x3fabb7;}}()),_0x27749d[_0xecdae9(0xaa)][_0xecdae9(0x1aa)];}));}(_0x485f84)),_0x485f84[_0x26f735(0x36e)];}var _0x129b7c=_0x145515();const _0x1c5ed6=_0xe87296(_0x129b7c);var _0x314062={'exports':{}},_0x495595=_0x314062[_0x25bc2e(0x36e)],_0x58b070;function _0x34d02a(){var _0x4c8306=_0x25bc2e;return _0x58b070||(_0x58b070=0x1,function(_0x5cc934,_0x1fab91){(function(_0x1e560b,_0x4fd336,_0x5740af){var _0x46ae5e=_0x47c2;_0x5cc934[_0x46ae5e(0x36e)]=_0x4fd336(_0x152408(),_0xa17a3e());}(_0x495595,function(_0x4b5852){var _0x412b48=_0x47c2;return _0x4b5852[_0x412b48(0xd6)][_0x412b48(0x36b)]={'pad':function(){},'unpad':function(){}},_0x4b5852[_0x412b48(0xd6)]['NoPadding'];}));}(_0x314062)),_0x314062[_0x4c8306(0x36e)];}var _0x3ed6bb=_0x34d02a();const _0x15bc7=_0xe87296(_0x3ed6bb);function _0x24d945(_0x26b506,_0x48cff3){var _0x39abd4=_0x25bc2e;const _0x58e056=_0x48cff3-_0x26b506[_0x39abd4(0xdd)]%_0x48cff3,_0x4c39bb=String['fromCharCode'](_0x58e056)['repeat'](_0x58e056);return _0x26b506+_0x4c39bb;}function _0x3e7e0d(_0x2c29fe,_0x4b09f7){var _0x3db4eb=_0x25bc2e;const _0x3ffa52=_0x1c5ed6['random'](0x10),_0x24f3c1=_0x24d945(_0x2c29fe,0x10),_0x31f171=_0x957038[_0x3db4eb(0x246)](_0x390ac5[_0x3db4eb(0x330)](_0x24f3c1),_0x615a3d['parse'](_0x4b09f7),{'iv':_0x3ffa52,'padding':_0x15bc7});return _0x3ffa52[_0x3db4eb(0x2d2)](_0x31f171[_0x3db4eb(0x188)])[_0x3db4eb(0x2c3)](_0x615a3d);}function _0x5f30c3(){var _0x4e8640=_0x25bc2e;const _0x20625f=_0x229161['getGlobalObject']()[_0x4e8640(0x170)];if(_0x20625f){const _0x1e48fa={'time':Math[_0x4e8640(0x23a)](Date['now']()/0x3e8),'domain':location['hostname']};return _0x3e7e0d(JSON[_0x4e8640(0x2db)](_0x1e48fa),_0x20625f);}}var _0x4e290a=Object[_0x25bc2e(0x1e6)],_0x3694fe=(_0x351b1d,_0x115b31,_0x24fc5b,_0x39f435)=>{var _0x22624f=_0x25bc2e;for(var _0x59fd16=_0x39f435>0x1?void 0x0:_0x39f435?_0x4e290a(_0x115b31,_0x24fc5b):_0x115b31,_0x2237b4=_0x351b1d[_0x22624f(0xdd)]-0x1,_0x4254d8;_0x2237b4>=0x0;_0x2237b4--)(_0x4254d8=_0x351b1d[_0x2237b4])&&(_0x59fd16=_0x4254d8(_0x59fd16)||_0x59fd16);return _0x59fd16;},_0x467741=(_0x5073e3,_0x360365)=>(_0x4e7151,_0x432702)=>_0x360365(_0x4e7151,_0x432702,_0x5073e3);let _0x11360f=class{constructor(_0x1163f2){var _0x6f06de=_0x25bc2e;this[_0x6f06de(0x31c)]=_0x1163f2,this['_initRequestHeader']();}[_0x25bc2e(0x168)](){var _0x1abf27=_0x25bc2e;this[_0x1abf27(0x31c)][_0x1abf27(0xef)]({'interceptor':(_0x3ecee4,_0x214b5e)=>{var _0x24692d=_0x1abf27;const _0x4f3705=_0x3ecee4[_0x24692d(0x285)],_0x11a64b=_0x5f30c3();return _0x11a64b&&_0x4f3705[_0x24692d(0xe9)]('x-univer-host',_0x11a64b),_0x214b5e(_0x3ecee4);}});}};_0x11360f=_0x3694fe([_0x467741(0x0,_0x223e3d['Inject'](_0x23fe84[_0x25bc2e(0x2a4)]))],_0x11360f);var _0x301ec3=Object[_0x25bc2e(0x1e6)],_0x14e693=(_0x16b2c6,_0x40bd0b,_0x2aad6e,_0x5c774e)=>{var _0x5bcda7=_0x25bc2e;for(var _0x4651ac=_0x5c774e>0x1?void 0x0:_0x5c774e?_0x301ec3(_0x40bd0b,_0x2aad6e):_0x40bd0b,_0x51dbaa=_0x16b2c6[_0x5bcda7(0xdd)]-0x1,_0x2afd61;_0x51dbaa>=0x0;_0x51dbaa--)(_0x2afd61=_0x16b2c6[_0x51dbaa])&&(_0x4651ac=_0x2afd61(_0x4651ac)||_0x4651ac);return _0x4651ac;},_0x2400ce=(_0x591297,_0x20fd8c)=>(_0xec8b7e,_0x2ae585)=>_0x20fd8c(_0xec8b7e,_0x2ae585,_0x591297);_0x3aa05b[_0x25bc2e(0x329)]=class extends _0x223e3d[_0x25bc2e(0xa7)]{constructor(_0x33e525,_0x2b1a26,_0x1f52cd){var _0x15ffc5=_0x25bc2e;super(),_0x427f66(this,'_unitInfo$',new _0x94b51a[(_0x15ffc5(0xd7))](null)),_0x427f66(this,_0x15ffc5(0x3d4),this[_0x15ffc5(0x97)][_0x15ffc5(0x23d)]()),(this[_0x15ffc5(0x411)]=_0x33e525,this[_0x15ffc5(0x3a7)]=_0x2b1a26,this['_localCacheService']=_0x1f52cd);}async['loadUnit'](_0x348575,_0x5d2f1e,_0x3d215d){var _0x1a06b2=_0x25bc2e;this['_unitInfo$']['next']({'unitId':_0x348575,'type':_0x5d2f1e,'subUnitId':_0x3d215d});let _0x38af81=null;switch(_0x5d2f1e){case _0x5e14aa[_0x1a06b2(0x2ae)]:{_0x38af81=await this[_0x1a06b2(0x118)](_0x348575);break;}case _0x5e14aa[_0x1a06b2(0x17e)]:{_0x38af81=await this[_0x1a06b2(0x304)](_0x348575);break;}default:{this[_0x1a06b2(0x411)][_0x1a06b2(0x3db)]('[DataLoaderService]',_0x1a06b2(0x26d));break;}}return _0x38af81;}async[_0x25bc2e(0x118)](_0x41abc0){var _0x2e90f8=_0x25bc2e,_0x56cee4;let _0x42f85f=0x0;const _0x220676=await((_0x56cee4=this[_0x2e90f8(0x2e4)])==null?void 0x0:_0x56cee4[_0x2e90f8(0x3b2)](_0x41abc0));return _0x220676&&(_0x220676[_0x2e90f8(0x35b)]||_0x220676[_0x2e90f8(0x3e8)]['length']!==0x0)&&(_0x42f85f=_0x220676[_0x2e90f8(0x3d7)]),_0x42f85f===0x0&&this['_logService'][_0x2e90f8(0xdf)]('[DataLoaderService]',_0x2e90f8(0x2cd)),this['_snapshotService'][_0x2e90f8(0x203)](_0x41abc0,_0x42f85f);}async['_loadDoc'](_0xba54f0){var _0x591fd6=_0x25bc2e,_0x70c32;let _0xdece98=0x0;const _0x31377d=await((_0x70c32=this[_0x591fd6(0x2e4)])==null?void 0x0:_0x70c32[_0x591fd6(0x3b2)](_0xba54f0));return _0x31377d&&(_0x31377d[_0x591fd6(0x35b)]||_0x31377d[_0x591fd6(0x3e8)][_0x591fd6(0xdd)]!==0x0)&&(_0xdece98=_0x31377d['rev']),_0xdece98===0x0&&this[_0x591fd6(0x411)][_0x591fd6(0xdf)](_0x591fd6(0x318),_0x591fd6(0x2cd)),this['_snapshotService']['loadDoc'](_0xba54f0,_0xdece98);}},_0x3aa05b[_0x25bc2e(0x329)]=_0x14e693([_0x2400ce(0x0,_0x223e3d[_0x25bc2e(0x15b)]),_0x2400ce(0x1,_0x223e3d[_0x25bc2e(0x1b8)](_0x39217d[_0x25bc2e(0x9f)])),_0x2400ce(0x2,_0x223e3d['Optional'](_0x4c0d6c))],_0x3aa05b[_0x25bc2e(0x329)]);var _0x368d7e=Object['getOwnPropertyDescriptor'],_0x51e388=(_0x226e8f,_0x4ac392,_0x1247bf,_0x119317)=>{var _0x3c76d4=_0x25bc2e;for(var _0x45dccd=_0x119317>0x1?void 0x0:_0x119317?_0x368d7e(_0x4ac392,_0x1247bf):_0x4ac392,_0x4b225c=_0x226e8f[_0x3c76d4(0xdd)]-0x1,_0x4464eb;_0x4b225c>=0x0;_0x4b225c--)(_0x4464eb=_0x226e8f[_0x4b225c])&&(_0x45dccd=_0x4464eb(_0x45dccd)||_0x45dccd);return _0x45dccd;},_0x40ac0a=(_0x334ce1,_0x3464d9)=>(_0x529591,_0x4d97bb)=>_0x3464d9(_0x529591,_0x4d97bb,_0x334ce1);const _0x4735ff=[_0x25bc2e(0xb6),_0x25bc2e(0x3bb),'image/jpg',_0x25bc2e(0x2c4),_0x25bc2e(0x3eb)],_0x15ecc0=0x5*0x400*0x400,_0x557bcc='EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY',_0x386531=_0x25bc2e(0x14d),_0x41aa9c='EXCHANGE_SIGN_URL_SERVER_URL_KEY',_0x5bb6ae=_0x25bc2e(0x138);_0x3aa05b['CollaborationImageIoService']=class{constructor(_0x205222,_0x1f8ce4,_0x15ca5f){var _0x2d826e=_0x25bc2e;_0x427f66(this,'_waitCount',0x0),_0x427f66(this,'_change$',new _0x94b51a[(_0x2d826e(0x215))]()),_0x427f66(this,_0x2d826e(0x377),this[_0x2d826e(0x1e8)]),_0x427f66(this,_0x2d826e(0x123),new Map()),(this['_httpService']=_0x205222,this['_configService']=_0x1f8ce4,this[_0x2d826e(0x300)]=_0x15ca5f);}[_0x25bc2e(0x24b)](_0x16e639){var _0x424e61=_0x25bc2e;this[_0x424e61(0x28f)]=_0x16e639,this[_0x424e61(0x1e8)][_0x424e61(0x37a)](_0x16e639);}[_0x25bc2e(0x324)](_0x1eb599,_0x40830f){var _0x5dabbd=_0x25bc2e;if(_0x40830f===_0x2c2cd9[_0x5dabbd(0x245)][_0x5dabbd(0x404)]){const _0x3428b3=new Image();return _0x3428b3[_0x5dabbd(0x3f8)]=_0x1eb599,_0x3428b3;}return this[_0x5dabbd(0x123)][_0x5dabbd(0x3c9)](_0x1eb599);}[_0x25bc2e(0x1df)](_0x59994a,_0x15b360,_0x507dff){var _0x40de91=_0x25bc2e;_0x15b360===_0x2c2cd9['ImageSourceType'][_0x40de91(0x404)]||_0x507dff==null||this[_0x40de91(0x123)][_0x40de91(0xe9)](_0x59994a,_0x507dff);}async[_0x25bc2e(0x122)](_0x69a2f4){var _0x2bbf46=_0x25bc2e;try{const _0x2f7305=this[_0x2bbf46(0x127)](this[_0x2bbf46(0x17c)](),''+_0x69a2f4),_0x40a783=(await this[_0x2bbf46(0x31c)][_0x2bbf46(0x3c9)](_0x2f7305))[_0x2bbf46(0x1bd)];if(_0x40a783[_0x2bbf46(0x3db)]&&_0x40a783[_0x2bbf46(0x3db)][_0x2bbf46(0x26b)]===_0x15bdae['OK']){const _0x23653c=new URL(_0x40a783['url'],this[_0x2bbf46(0x33f)]())['toString']();return Promise[_0x2bbf46(0xf6)](_0x23653c);}return Promise[_0x2bbf46(0x2a6)](_0x40a783[_0x2bbf46(0x3db)]);}catch(_0x1cfccd){return Promise[_0x2bbf46(0x2a6)](_0x1cfccd);}}async['saveImage'](_0x265f6b){var _0x597727=_0x25bc2e;let _0x58202d='';if(!_0x4735ff[_0x597727(0x3dc)](_0x265f6b[_0x597727(0x255)]))return this[_0x597727(0x19c)](),Promise[_0x597727(0x2a6)](new Error(_0x2c2cd9['ImageUploadStatusType']['ERROR_IMAGE_TYPE']));if(_0x265f6b['size']>_0x15ecc0)return this['_decreaseWaiting'](),Promise[_0x597727(0x2a6)](new Error(_0x2c2cd9[_0x597727(0x32f)][_0x597727(0x3a2)]));try{const _0x5f3e03=new FormData();_0x5f3e03['append']('file',_0x265f6b);const _0x435145=this[_0x597727(0x300)][_0x597727(0x3a6)](),_0x3ac31b=_0x435145==null?void 0x0:_0x435145[_0x597727(0x278)]();if(!_0x3ac31b)throw new Error('unitId\x20is\x20not\x20found');const _0x1e4468=this[_0x597727(0x303)]()+_0x597727(0x339)+_0x265f6b[_0x597727(0x2e7)]['toString']()+_0x597727(0x2d6)+_0x1d981a['UnitEmbedded']+'&assign='+encodeURIComponent(_0x3ac31b),_0x2a3e0c=await(await fetch(_0x1e4468,{'method':_0x597727(0x1f7),'body':_0x5f3e03}))[_0x597727(0x269)]();if(typeof _0x2a3e0c[_0x597727(0x326)]!=_0x597727(0x1b3))return this[_0x597727(0x19c)](),Promise[_0x597727(0x2a6)](new Error(_0x2c2cd9[_0x597727(0x32f)][_0x597727(0x156)]));_0x58202d=_0x2a3e0c['FileId'];}catch{return this['_decreaseWaiting'](),Promise[_0x597727(0x2a6)](new Error(_0x2c2cd9[_0x597727(0x32f)]['ERROR_IMAGE']));}return new Promise((_0x424ab3,_0x183ad0)=>{var _0x4ccace=_0x597727;const _0x25b1a1=new FileReader();_0x25b1a1['readAsDataURL'](_0x265f6b),_0x25b1a1[_0x4ccace(0x30d)]=_0x85807f=>{var _0x546c9a=_0x4ccace,_0x18ee0b;const _0x59ccd1=(_0x18ee0b=_0x85807f[_0x546c9a(0x3b7)])==null?void 0x0:_0x18ee0b[_0x546c9a(0x288)];if(_0x59ccd1==null){this[_0x546c9a(0x19c)](),_0x183ad0(new Error(_0x2c2cd9['ImageUploadStatusType'][_0x546c9a(0x156)]));return;}const _0x598c8c=_0x223e3d[_0x546c9a(0x348)][_0x546c9a(0x3f5)](0x6);_0x424ab3({'imageId':_0x598c8c,'imageSourceType':_0x2c2cd9[_0x546c9a(0x245)][_0x546c9a(0xfc)],'source':_0x58202d,'base64Cache':_0x59ccd1,'status':_0x2c2cd9[_0x546c9a(0x32f)][_0x546c9a(0x221)]}),this[_0x546c9a(0x19c)]();};});}['_getUploadFileURL'](){var _0x25fa7c=_0x25bc2e,_0x43c585,_0x34264d;const _0x20c270=this[_0x25fa7c(0x292)][_0x25fa7c(0x151)](_0x557bcc),_0x51f2b2=this['_configService'][_0x25fa7c(0x151)](_0x67dd2f);return(_0x34264d=(_0x43c585=_0x51f2b2==null?void 0x0:_0x51f2b2[_0x25fa7c(0x334)])!=null?_0x43c585:_0x20c270)!=null?_0x34264d:_0x386531;}['_getSignURL'](){var _0x394998=_0x25bc2e,_0x2c1270,_0x449fa7;const _0x9941d7=this[_0x394998(0x292)][_0x394998(0x151)](_0x41aa9c),_0x121f5e=this[_0x394998(0x292)][_0x394998(0x151)](_0x67dd2f);return(_0x449fa7=(_0x2c1270=_0x121f5e==null?void 0x0:_0x121f5e['signUrlServerUrl'])!=null?_0x2c1270:_0x9941d7)!=null?_0x449fa7:_0x5bb6ae;}['_getDownloadEndpointURL'](){var _0x33d299=_0x25bc2e,_0x46af50;const _0x296ddd=this[_0x33d299(0x292)][_0x33d299(0x151)](_0x67dd2f);return(_0x46af50=_0x296ddd==null?void 0x0:_0x296ddd['downloadEndpointUrl'])!=null?_0x46af50:location['origin'];}[_0x25bc2e(0x127)](_0x447917,_0x21f298){var _0x3cade7=_0x25bc2e;return _0x447917[_0x3cade7(0x36f)]('{fileID}',_0x21f298);}[_0x25bc2e(0x19c)](){var _0x5e16bf=_0x25bc2e;this['_waitCount']-=0x1,this['_change$'][_0x5e16bf(0x37a)](this[_0x5e16bf(0x28f)]);}},_0x3aa05b[_0x25bc2e(0x22d)]=_0x51e388([_0x40ac0a(0x0,_0x223e3d[_0x25bc2e(0x1b8)](_0x23fe84[_0x25bc2e(0x2a4)])),_0x40ac0a(0x1,_0x223e3d['IConfigService']),_0x40ac0a(0x2,_0x223e3d['Inject'](_0x223e3d[_0x25bc2e(0x267)]))],_0x3aa05b[_0x25bc2e(0x22d)]);var _0x273d0d=Object[_0x25bc2e(0x1e6)],_0x4f009f=(_0x5f3f0c,_0x52f636,_0xf00a14,_0x15a6b0)=>{for(var _0x653dfb=_0x15a6b0>0x1?void 0x0:_0x15a6b0?_0x273d0d(_0x52f636,_0xf00a14):_0x52f636,_0x26044b=_0x5f3f0c['length']-0x1,_0x327428;_0x26044b>=0x0;_0x26044b--)(_0x327428=_0x5f3f0c[_0x26044b])&&(_0x653dfb=_0x327428(_0x653dfb)||_0x653dfb);return _0x653dfb;},_0x97685b=(_0x2f625d,_0x1c54f5)=>(_0x5abb28,_0x1a0ca3)=>_0x1c54f5(_0x5abb28,_0x1a0ca3,_0x2f625d);const _0x44bfb6=_0x25bc2e(0x3fd);_0x3aa05b[_0x25bc2e(0x38c)]=class{constructor(_0x1c412f,_0x5da92e){var _0x126cb5=_0x25bc2e;this[_0x126cb5(0x292)]=_0x1c412f,this[_0x126cb5(0x2fa)]=_0x5da92e;}[_0x25bc2e(0x25c)](){var _0x415f2b=_0x25bc2e,_0x268543,_0x45235c;const _0x3cc5d0=this[_0x415f2b(0x292)][_0x415f2b(0x151)](_0x25ddee),_0x218e86=this[_0x415f2b(0x292)][_0x415f2b(0x151)](_0x67dd2f);return(_0x45235c=(_0x268543=_0x218e86==null?void 0x0:_0x218e86[_0x415f2b(0x3c7)])!=null?_0x268543:_0x3cc5d0)!=null?_0x45235c:_0x44bfb6;}async[_0x25bc2e(0x1e1)](_0x47922e){var _0x44a8b2=_0x25bc2e;const _0x53d1ff=this['_getAPIPrefixPath']()+_0x44a8b2(0x343);return{'list':[{'title':_0x44a8b2(0x12b),'mentions':(await this['_HTTPService'][_0x44a8b2(0x3c9)](_0x53d1ff,{'params':{'objectID':_0x47922e[_0x44a8b2(0x312)],'unitID':_0x47922e[_0x44a8b2(0x312)]}}))[_0x44a8b2(0x1bd)][_0x44a8b2(0x3e7)][_0x44a8b2(0x390)](_0x3c5f08=>({'objectId':_0x3c5f08['id'],'name':_0x3c5f08[_0x44a8b2(0x352)][_0x44a8b2(0x238)],'metadata':{'icon':_0x3c5f08['subject'][_0x44a8b2(0x3a5)]},'label':_0x3c5f08['subject'][_0x44a8b2(0x238)],'objectType':_0x223e3d[_0x44a8b2(0x3ad)][_0x44a8b2(0x11a)]})),'metadata':{},'type':_0x223e3d['MentionType'][_0x44a8b2(0x11a)]}]};}},_0x3aa05b[_0x25bc2e(0x38c)]=_0x4f009f([_0x97685b(0x0,_0x223e3d[_0x25bc2e(0x1b8)](_0x223e3d[_0x25bc2e(0x316)])),_0x97685b(0x1,_0x223e3d[_0x25bc2e(0x1b8)](_0x23fe84[_0x25bc2e(0x2a4)]))],_0x3aa05b[_0x25bc2e(0x38c)]);var _0x4d3468=Object[_0x25bc2e(0x1e6)],_0x5dfc53=(_0x1d2499,_0x518521,_0xc4a2e4,_0x429463)=>{var _0x2c1971=_0x25bc2e;for(var _0x2d6309=_0x429463>0x1?void 0x0:_0x429463?_0x4d3468(_0x518521,_0xc4a2e4):_0x518521,_0x3537be=_0x1d2499[_0x2c1971(0xdd)]-0x1,_0x3b8628;_0x3537be>=0x0;_0x3537be--)(_0x3b8628=_0x1d2499[_0x3537be])&&(_0x2d6309=_0x3b8628(_0x2d6309)||_0x2d6309);return _0x2d6309;},_0x556c37=(_0x10892d,_0x21008c)=>(_0x545388,_0x2b0a18)=>_0x21008c(_0x545388,_0x2b0a18,_0x10892d);let _0x26c6e6=class extends _0x223e3d[_0x25bc2e(0xa7)]{constructor(_0x405623,_0x26e5dc,_0x13520d,_0x393e9a,_0x23a46c){var _0x187fbe=_0x25bc2e;super(),this[_0x187fbe(0x325)]=_0x405623,this['_univerInstanceService']=_0x26e5dc,this[_0x187fbe(0x21a)]=_0x13520d,this[_0x187fbe(0x259)]=_0x393e9a,this[_0x187fbe(0x270)]=_0x23a46c,this['_initUnitPermissionChange'](),this[_0x187fbe(0xc3)]();}[_0x25bc2e(0xc3)](){var _0x430f4c=_0x25bc2e;const _0x2d2712=async _0x140bd3=>{var _0x403801=_0x47c2;(await this[_0x403801(0x259)][_0x403801(0x337)](_0x140bd3))[_0x403801(0x1c3)][_0x403801(0x2ac)](_0x54b879['filter'](_0x3db80b=>_0x3db80b[_0x403801(0x2e6)]===_0x39217d[_0x403801(0x149)][_0x403801(0x27a)]),_0x54b879[_0x403801(0x169)](this[_0x403801(0x347)]))[_0x403801(0x195)](_0x299529=>{var _0x3ba7b0=_0x403801;const _0x3548c1=_0x299529,{reason:_0x210995}=_0x3548c1['data'];this[_0x3ba7b0(0x270)][_0x3ba7b0(0x298)]({'id':_0x2ce557['CLOSE_ROOM'],'data':_0x210995}),this[_0x3ba7b0(0x21a)][_0x3ba7b0(0x368)](new _0x3a7ecf['WorkbookEditablePermission'](_0x140bd3)['id'],!0x1),this[_0x3ba7b0(0x259)]['closeSession'](_0x140bd3);});};_0x94b51a[_0x430f4c(0x187)](this[_0x430f4c(0x300)][_0x430f4c(0xea)](_0x223e3d['UniverInstanceType'][_0x430f4c(0x2ae)]),this[_0x430f4c(0x300)][_0x430f4c(0xea)](_0x223e3d['UniverInstanceType'][_0x430f4c(0x17e)]))[_0x430f4c(0x2ac)](_0x54b879[_0x430f4c(0x390)](_0x18eb65=>_0x18eb65[_0x430f4c(0x278)]()),_0x54b879[_0x430f4c(0x157)](_0x29f3c4=>!_0x223e3d['isInternalEditorID'](_0x29f3c4)),_0x54b879['takeUntil'](this['dispose$']))[_0x430f4c(0x195)](_0x6ab6f1=>{_0x2d2712(_0x6ab6f1);});}['_initUnitPermissionChange'](){var _0x5b95d8=_0x25bc2e;const _0x4ca9ef=async _0x1d9208=>{var _0x497de5=_0x47c2;const _0x4ced0b=await this[_0x497de5(0x259)][_0x497de5(0x337)](_0x1d9208),_0x9f0bf2=this[_0x497de5(0x325)][_0x497de5(0x3c9)](_0x3a7ecf['SheetPermissionInitController']);_0x4ced0b['event$']['pipe'](_0x54b879['filter'](_0x52ebb2=>_0x52ebb2[_0x497de5(0x2e6)]===_0x39217d[_0x497de5(0x149)][_0x497de5(0x380)]),_0x54b879[_0x497de5(0x169)](this[_0x497de5(0x347)]))[_0x497de5(0x195)](_0xb09767=>{var _0x12c3d3=_0x497de5;const _0xa00b37=_0xb09767,{objectId:_0x13f0ff}=_0xa00b37[_0x12c3d3(0xe2)];_0x13f0ff===_0x1d9208?_0x9f0bf2[_0x12c3d3(0x2eb)](_0x1d9208):_0x9f0bf2[_0x12c3d3(0x26f)](_0x1d9208,_0x13f0ff);});};_0x94b51a[_0x5b95d8(0x187)](this[_0x5b95d8(0x300)][_0x5b95d8(0xea)](_0x223e3d[_0x5b95d8(0x3b3)]['UNIVER_SHEET']))[_0x5b95d8(0x2ac)](_0x54b879[_0x5b95d8(0x390)](_0x4cfa49=>_0x4cfa49[_0x5b95d8(0x278)]()),_0x54b879[_0x5b95d8(0x157)](_0x43815f=>!_0x223e3d[_0x5b95d8(0x33b)](_0x43815f)),_0x54b879[_0x5b95d8(0x169)](this[_0x5b95d8(0x347)]))['subscribe'](_0x337c0e=>{_0x4ca9ef(_0x337c0e);});}};_0x26c6e6=_0x5dfc53([_0x556c37(0x0,_0x223e3d[_0x25bc2e(0x1b8)](_0x223e3d[_0x25bc2e(0x10b)])),_0x556c37(0x1,_0x223e3d[_0x25bc2e(0x267)]),_0x556c37(0x2,_0x223e3d[_0x25bc2e(0x32d)]),_0x556c37(0x3,_0x223e3d[_0x25bc2e(0x1b8)](_0x3aa05b['CollaborationSessionService'])),_0x556c37(0x4,_0x223e3d[_0x25bc2e(0x1b8)](_0x5876ed))],_0x26c6e6);var _0x1145f2=Object['getOwnPropertyDescriptor'],_0x35f12d=(_0x354863,_0x3f029e,_0x4f17ef,_0x54a2ae)=>{var _0x128e57=_0x25bc2e;for(var _0x560c8a=_0x54a2ae>0x1?void 0x0:_0x54a2ae?_0x1145f2(_0x3f029e,_0x4f17ef):_0x3f029e,_0x360f47=_0x354863[_0x128e57(0xdd)]-0x1,_0x4a6353;_0x360f47>=0x0;_0x360f47--)(_0x4a6353=_0x354863[_0x360f47])&&(_0x560c8a=_0x4a6353(_0x560c8a)||_0x560c8a);return _0x560c8a;},_0x4d18d1=(_0x11b096,_0x1b20a8)=>(_0x4a1775,_0x43c190)=>_0x1b20a8(_0x4a1775,_0x43c190,_0x11b096);_0x3aa05b[_0x25bc2e(0x3f1)]=class{constructor(_0x5026b5,_0x42a34a){this['_configService']=_0x5026b5,this['_httpService']=_0x42a34a;}async[_0x25bc2e(0x31f)](_0x49c81e,_0x4340e9){var _0x2f6f50=_0x25bc2e,_0x36cb72;const {unitID:_0x3b0913,type:_0xfa1fa2,revision:_0x2ef906=0x0}=_0x4340e9,_0x1535fa=this['getSnapshotAPIPath']()+'/'+_0xfa1fa2+_0x2f6f50(0x416)+_0x3b0913+'/rev/'+_0x2ef906,_0x19dca0=(await this['_httpService'][_0x2f6f50(0x3c9)](_0x1535fa))[_0x2f6f50(0x1bd)],_0x3c76f8=(_0x36cb72=_0x19dca0[_0x2f6f50(0x38f)])==null?void 0x0:_0x36cb72[_0x2f6f50(0x244)];if(_0x3c76f8){const _0x44797e=_0x3c76f8==null?void 0x0:_0x3c76f8[_0x2f6f50(0x9e)],_0x512a64=_0x39217d[_0x2f6f50(0x33e)][_0x2f6f50(0x1ab)](_0x39217d['b64DecodeUnicode'](_0x44797e));_0x3c76f8['originalMeta']=_0x512a64,Object['entries'](_0x3c76f8[_0x2f6f50(0x3d9)])[_0x2f6f50(0x3bc)](([,_0xc1f129])=>{var _0x372a64=_0x2f6f50;const _0x37ccc6=_0xc1f129[_0x372a64(0x9e)],_0x49157d=_0x39217d[_0x372a64(0x33e)][_0x372a64(0x1ab)](_0x39217d['b64DecodeUnicode'](_0x37ccc6));_0xc1f129[_0x372a64(0x9e)]=_0x49157d;});}return _0x19dca0;}async[_0x25bc2e(0x301)](_0x5b9a5d,_0x4e3642){var _0x44ea08=_0x25bc2e;const {unitID:_0x30abea,type:_0x5502e7,blockID:_0x308240}=_0x4e3642,_0x3eeae2=this[_0x44ea08(0x328)]()+'/'+_0x5502e7+'/unit/'+_0x30abea+_0x44ea08(0x3aa)+_0x308240;return(await this['_httpService'][_0x44ea08(0x3c9)](_0x3eeae2))['body'];}async['getDeserializedSheetBlock'](_0x2099d3,_0x421151){var _0x1f9359=_0x25bc2e;const {unitID:_0x19238e,type:_0x226813,blockID:_0x3ea00a}=_0x421151,_0x22c73c=this['_getAPIPrefix']()+_0x1f9359(0x3aa)+_0x226813+_0x1f9359(0x416)+_0x19238e+'/block/'+_0x3ea00a;return(await this[_0x1f9359(0x31c)][_0x1f9359(0x3c9)](_0x22c73c))[_0x1f9359(0x1bd)];}async[_0x25bc2e(0x2a9)](_0x4b5773,_0xd96d2a){var _0x29b058=_0x25bc2e;const {unitID:_0x12814a,type:_0x25627a,from:_0x511f58,to:_0x120d59}=_0xd96d2a,_0x59b89b=this[_0x29b058(0x328)]()+'/'+_0x25627a+_0x29b058(0x416)+_0x12814a+_0x29b058(0x1a7)+_0x511f58+_0x29b058(0x22f)+_0x120d59;return(await this[_0x29b058(0x31c)]['get'](_0x59b89b))[_0x29b058(0x1bd)];}['getSnapshotAPIPath'](){var _0xea20d0=_0x25bc2e,_0x36a657;return(_0x36a657=this['_configService'][_0xea20d0(0x151)](_0xc0c3ec))!=null?_0x36a657:this['_getAPIPrefix']();}['_getAPIPrefix'](){var _0x3244ac=_0x25bc2e,_0x9be7a1,_0x8d04e3;const _0x12e071=this['_configService'][_0x3244ac(0x151)](_0x4019f5),_0x37ecef=this[_0x3244ac(0x292)][_0x3244ac(0x151)](_0x67dd2f);return(_0x8d04e3=(_0x9be7a1=_0x37ecef==null?void 0x0:_0x37ecef[_0x3244ac(0x211)])!=null?_0x9be7a1:_0x12e071)!=null?_0x8d04e3:_0x1fa31a;}async[_0x25bc2e(0x17a)](_0x420dc2,_0x1e08c0){var _0x38a7e3=_0x25bc2e;const _0xc12559=_0x38a7e3(0x2b4)+_0x1e08c0[_0x38a7e3(0x255)]+_0x38a7e3(0x416)+_0x1e08c0[_0x38a7e3(0x1ae)]+_0x38a7e3(0x104);return(await this['_httpService'][_0x38a7e3(0x3c9)](_0xc12559,{'params':{'resourceId':JSON[_0x38a7e3(0x2db)](_0x1e08c0[_0x38a7e3(0x208)])}}))['body'];}[_0x25bc2e(0x14f)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x25bc2e(0x2d8)](){var _0x463939=_0x25bc2e;throw new Error(_0x463939(0x11b));}['saveChangeset'](){var _0x381804=_0x25bc2e;throw new Error(_0x381804(0x11b));}['copyFileMeta'](){var _0x281990=_0x25bc2e;throw new Error(_0x281990(0x11b));}[_0x25bc2e(0x37b)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}},_0x3aa05b[_0x25bc2e(0x3f1)]=_0x35f12d([_0x4d18d1(0x0,_0x223e3d[_0x25bc2e(0x316)]),_0x4d18d1(0x1,_0x223e3d['Inject'](_0x23fe84[_0x25bc2e(0x2a4)]))],_0x3aa05b['SnapshotServerOverHTTPService']);var _0xfc0119=Object[_0x25bc2e(0x1e6)],_0x232e6a=(_0x328ecf,_0x2e97c3,_0x6afba3,_0x4480fc)=>{var _0x2181d9=_0x25bc2e;for(var _0x57e3e2=_0x4480fc>0x1?void 0x0:_0x4480fc?_0xfc0119(_0x2e97c3,_0x6afba3):_0x2e97c3,_0x2a30fe=_0x328ecf[_0x2181d9(0xdd)]-0x1,_0xf093d4;_0x2a30fe>=0x0;_0x2a30fe--)(_0xf093d4=_0x328ecf[_0x2a30fe])&&(_0x57e3e2=_0xf093d4(_0x57e3e2)||_0x57e3e2);return _0x57e3e2;},_0xf6915a=(_0x47b024,_0x37770b)=>(_0x5703e0,_0x20777d)=>_0x37770b(_0x5703e0,_0x20777d,_0x47b024);_0x3aa05b['CollaborativeUndoRedoService']=class extends _0x223e3d[_0x25bc2e(0x311)]{constructor(_0x29f515,_0x31000e,_0x50bdb9,_0x5e8df4,_0x2d764b){var _0x40715e=_0x25bc2e;super(_0x29f515,_0x31000e,_0x50bdb9),this['_transformService']=_0x5e8df4,this[_0x40715e(0x411)]=_0x2d764b;}['transformUndoRedo'](_0x5c40c2,_0x31670a){var _0x4664f6=_0x25bc2e;const _0x28c3f4=this['_getUndoStack'](_0x5c40c2);if(_0x28c3f4)try{const _0x99b46c=this[_0x4664f6(0x1ce)](_0x28c3f4,_0x31670a);this[_0x4664f6(0x253)](_0x5c40c2,_0x99b46c);}catch(_0x5adca3){this[_0x4664f6(0x411)][_0x4664f6(0x3db)](_0x4664f6(0x16a),_0x5adca3),this[_0x4664f6(0x2ab)](_0x5c40c2);}const _0x5da4e2=this[_0x4664f6(0xda)](_0x5c40c2);if(_0x5da4e2)try{const _0x542ba2=this[_0x4664f6(0x1ce)](_0x5da4e2,_0x31670a);this[_0x4664f6(0xab)](_0x5c40c2,_0x542ba2);}catch(_0xd0df36){this['_logService']['error'](_0xd0df36),this[_0x4664f6(0x3f0)](_0x5c40c2);}}[_0x25bc2e(0x2ab)](_0x1561b9){var _0x3057d8=_0x25bc2e;const _0x384fac=this[_0x3057d8(0x1c9)](_0x1561b9);_0x384fac&&(_0x384fac[_0x3057d8(0xdd)]=0x0,this['_updateStatus']());}[_0x25bc2e(0x3f0)](_0x212183){var _0x575661=_0x25bc2e;const _0x4df123=this[_0x575661(0xda)](_0x212183);_0x4df123&&(_0x4df123[_0x575661(0xdd)]=0x0,this[_0x575661(0x1fb)]());}[_0x25bc2e(0x253)](_0x25742c,_0x36b66b){var _0xfd7286=_0x25bc2e;this[_0xfd7286(0xca)][_0xfd7286(0xe9)](_0x25742c,_0x36b66b),this[_0xfd7286(0x1fb)]();}[_0x25bc2e(0xab)](_0x35ff94,_0x253912){var _0x44fd57=_0x25bc2e;this[_0x44fd57(0x2f8)]['set'](_0x35ff94,_0x253912),this[_0x44fd57(0x1fb)]();}['_transformStack'](_0x24380a,_0x2885be){var _0x30bce3=_0x25bc2e;const _0x2d85e0=[];let _0x534997=_0x2885be,_0xc5c3fe=_0x2885be;for(let _0x498b4b=_0x24380a['length']-0x1;_0x498b4b>=0x0;_0x498b4b--){const {unitID:_0x4f9cc7,undoMutations:_0x77a0b5,redoMutations:_0x5455d6}=_0x24380a[_0x498b4b],_0x19fb2b=this[_0x30bce3(0x222)][_0x30bce3(0x22a)](_0x534997,_0x77a0b5),_0x508a4e=this[_0x30bce3(0x222)][_0x30bce3(0x22a)](_0xc5c3fe,_0x5455d6);if(_0x39217d[_0x30bce3(0x3c3)](_0x19fb2b)||_0x39217d[_0x30bce3(0x3c3)](_0x508a4e)){this[_0x30bce3(0x411)][_0x30bce3(0x3db)](_0x30bce3(0x16a),'transformStack\x20failed!',_0x19fb2b,_0x508a4e);break;}_0x534997=_0x19fb2b[_0x30bce3(0x295)],_0xc5c3fe=_0x508a4e[_0x30bce3(0x295)],_0x2d85e0['push']({'unitID':_0x4f9cc7,'undoMutations':_0x19fb2b['m2Prime'],'redoMutations':_0x508a4e['m2Prime']});}return _0x2d85e0[_0x30bce3(0x3c0)]();}},_0x3aa05b[_0x25bc2e(0x1f2)]=_0x232e6a([_0xf6915a(0x0,_0x223e3d[_0x25bc2e(0x267)]),_0xf6915a(0x1,_0x223e3d['ICommandService']),_0xf6915a(0x2,_0x223e3d[_0x25bc2e(0x3f4)]),_0xf6915a(0x3,_0x39217d['ITransformService']),_0xf6915a(0x4,_0x223e3d[_0x25bc2e(0x15b)])],_0x3aa05b['CollaborativeUndoRedoService']);var _0x5ae5ae=Object[_0x25bc2e(0x2b9)],_0x2398a5=Object[_0x25bc2e(0x1e6)],_0x67b883=(_0x29bac1,_0x3bdcdb,_0x58b930)=>_0x3bdcdb in _0x29bac1?_0x5ae5ae(_0x29bac1,_0x3bdcdb,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x58b930}):_0x29bac1[_0x3bdcdb]=_0x58b930,_0x31e5d2=(_0x42ce86,_0x3097ba,_0x5c950b,_0x12c0d3)=>{var _0xd18ac3=_0x25bc2e;for(var _0x544855=_0x12c0d3>0x1?void 0x0:_0x12c0d3?_0x2398a5(_0x3097ba,_0x5c950b):_0x3097ba,_0x479893=_0x42ce86[_0xd18ac3(0xdd)]-0x1,_0x274a0b;_0x479893>=0x0;_0x479893--)(_0x274a0b=_0x42ce86[_0x479893])&&(_0x544855=_0x274a0b(_0x544855)||_0x544855);return _0x544855;},_0x22d7e2=(_0xfe129c,_0x56105a)=>(_0x1033ca,_0x4576ac)=>_0x56105a(_0x1033ca,_0x4576ac,_0xfe129c),_0xbf6e04=(_0x47cb53,_0x3d5f61,_0x402566)=>_0x67b883(_0x47cb53,_0x3d5f61+'',_0x402566);const _0x5e20d3=_0x25bc2e(0xad);_0x3aa05b[_0x25bc2e(0x254)]=class extends _0x223e3d['Plugin']{constructor(_0x59757d,_0x436021,_0x5d156e,_0x755913){var _0x4d4a66=_0x25bc2e;super(),_0x427f66(this,'_config'),(this[_0x4d4a66(0x411)]=_0x436021,this[_0x4d4a66(0x325)]=_0x5d156e,this[_0x4d4a66(0x292)]=_0x755913);const {..._0x758e25}=_0x223e3d['merge']({},_0xaf982,_0x59757d);if(!_0x758e25['socketService'])throw new Error('[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!');this['_config']=_0x758e25,this[_0x4d4a66(0x292)][_0x4d4a66(0x409)](_0x67dd2f,_0x758e25);}[_0x25bc2e(0x2af)](){var _0x163a42=_0x25bc2e;this[_0x163a42(0x305)](),this[_0x163a42(0x2bc)]();}[_0x25bc2e(0x305)](){var _0x1c1c31=_0x25bc2e,_0x15d4cc,_0x4643f7;this[_0x1c1c31(0x325)][_0x1c1c31(0x11e)](_0x223e3d[_0x1c1c31(0x3d8)])&&this[_0x1c1c31(0x411)]['error']('[UniverCollaborationClientPlugin]',_0x1c1c31(0xbc));const _0xb8c2ee=_0x223e3d['mergeOverrideWithDependencies']([[_0x223e3d[_0x1c1c31(0x3d8)],{'useClass':_0x3aa05b[_0x1c1c31(0x1f2)]}],[_0x3aa05b[_0x1c1c31(0x1e5)]],[_0x3aa05b[_0x1c1c31(0x373)]],[_0x3aa05b['SheetTransformSelectionsService']],[_0x44ec95],[_0x11360f],[_0x2384b8],[_0x26c6e6],[_0x5876ed],[_0x3aa05b[_0x1c1c31(0x329)]],[_0x450019,{'useClass':this[_0x1c1c31(0x3b6)][_0x1c1c31(0x1c4)]}],[_0x39217d[_0x1c1c31(0x3e1)],{'useClass':_0x3aa05b[_0x1c1c31(0x3f1)]}],[_0x223e3d[_0x1c1c31(0x392)],{'useClass':_0x3aa05b[_0x1c1c31(0x40c)]}],[_0x2c2cd9[_0x1c1c31(0x34f)],{'useClass':_0x3aa05b[_0x1c1c31(0x22d)]}],[_0x223e3d[_0x1c1c31(0x1ec)],{'useClass':_0x3aa05b[_0x1c1c31(0x38c)]}],[_0x3aa05b[_0x1c1c31(0xbb)]],[_0x1fbe1f]],(_0x15d4cc=this[_0x1c1c31(0x3b6)])==null?void 0x0:_0x15d4cc[_0x1c1c31(0x23c)]);if(!((_0x4643f7=this[_0x1c1c31(0x3b6)])!=null&&_0x4643f7[_0x1c1c31(0x364)])){const _0x25cfe8=_0xb8c2ee[_0x1c1c31(0x101)](([_0x49ecfb])=>_0x49ecfb===_0x5cc7ba);_0x25cfe8!==-0x1&&_0xb8c2ee[_0x1c1c31(0x289)](_0x25cfe8,0x1);}_0x223e3d['registerDependencies'](this[_0x1c1c31(0x325)],_0xb8c2ee);}[_0x25bc2e(0x2bc)](){var _0x409ab3=_0x25bc2e,_0xa87aae,_0x1daa73,_0x1e214e;this[_0x409ab3(0x325)]['get'](_0x23fe84[_0x409ab3(0x2a4)])[_0x409ab3(0xef)]({'priority':0x14,'interceptor':_0x23fe84[_0x409ab3(0xa9)]({'maxParallel':0x6})}),(_0xa87aae=this[_0x409ab3(0x3b6)])!=null&&_0xa87aae[_0x409ab3(0x3f3)]||(_0x1daa73=this[_0x409ab3(0x325)][_0x409ab3(0x3c9)](_0x4c0d6c,_0x223e3d['Quantity'][_0x409ab3(0x2be)]))==null||_0x1daa73[_0x409ab3(0x266)](),(_0x1e214e=this['_config'])!=null&&_0x1e214e[_0x409ab3(0x25a)]&&_0x223e3d[_0x409ab3(0x172)](this[_0x409ab3(0x325)],[[_0x44ec95]]),_0x223e3d[_0x409ab3(0x172)](this[_0x409ab3(0x325)],[[_0x11360f],[_0x3aa05b['CollaborationController']],[_0x26c6e6]]);}},_0xbf6e04(_0x3aa05b['UniverCollaborationClientPlugin'],_0x25bc2e(0x366),_0x5e20d3),_0x3aa05b['UniverCollaborationClientPlugin']=_0x31e5d2([_0x223e3d[_0x25bc2e(0x3fc)](_0x39217d[_0x25bc2e(0xcf)],_0x23fe84['UniverNetworkPlugin']),_0x22d7e2(0x1,_0x223e3d[_0x25bc2e(0x15b)]),_0x22d7e2(0x2,_0x223e3d[_0x25bc2e(0x1b8)](_0x223e3d[_0x25bc2e(0x10b)])),_0x22d7e2(0x3,_0x223e3d[_0x25bc2e(0x316)])],_0x3aa05b[_0x25bc2e(0x254)]),_0x3aa05b['AUTHZ_URL_KEY']=_0x25ddee,_0x3aa05b[_0x25bc2e(0xaf)]=_0x67dd2f,_0x3aa05b[_0x25bc2e(0x3bf)]=_0x5a4d16,_0x3aa05b[_0x25bc2e(0x2e0)]=_0x11fd71,_0x3aa05b[_0x25bc2e(0x256)]=_0x4adeba,_0x3aa05b[_0x25bc2e(0x12d)]=_0x2ce557,_0x3aa05b[_0x25bc2e(0x2d0)]=_0x5876ed,_0x3aa05b[_0x25bc2e(0x3e2)]=_0x2384b8,_0x3aa05b[_0x25bc2e(0x34c)]=_0x26ac59,_0x3aa05b[_0x25bc2e(0x3d1)]=_0x5f1f34,_0x3aa05b[_0x25bc2e(0x184)]=_0x57ac5f,_0x3aa05b[_0x25bc2e(0x1be)]=_0xb53dff,_0x3aa05b['HEARTBEAT_TIMEOUT_KEY']=_0x3c4235,_0x3aa05b[_0x25bc2e(0xee)]=_0x450019,_0x3aa05b[_0x25bc2e(0x116)]=_0x4c0d6c,_0x3aa05b[_0x25bc2e(0x1a8)]=_0x3c13f4,_0x3aa05b[_0x25bc2e(0x18b)]=_0x5cc7ba,_0x3aa05b[_0x25bc2e(0x249)]=0x3e8,_0x3aa05b[_0x25bc2e(0x247)]=_0x542de,_0x3aa05b[_0x25bc2e(0x37e)]=_0x2d9159,_0x3aa05b[_0x25bc2e(0x3c6)]=_0x11a36f,_0x3aa05b[_0x25bc2e(0x248)]=_0x31d749,_0x3aa05b['SEND_CHANGESET_TIMEOUT_KEY']=_0x3f1757,_0x3aa05b[_0x25bc2e(0x98)]=_0x4019f5,_0x3aa05b[_0x25bc2e(0x27d)]=_0xc0c3ec,_0x3aa05b[_0x25bc2e(0xac)]=_0x3034e7,_0x3aa05b[_0x25bc2e(0x3ce)]=_0x1b0014,_0x3aa05b[_0x25bc2e(0x197)]=_0x3c8130,_0x3aa05b['getLocalCacheKey']=_0x4fd0fe,_0x3aa05b['serializeCombRequest']=_0x553b29,Object[_0x25bc2e(0x2b9)](_0x3aa05b,Symbol[_0x25bc2e(0x242)],{'value':_0x25bc2e(0x1a6)});}));
|
1
|
+
function _0x5e92(_0x313928,_0x27c00d){var _0x187652=_0x1876();return _0x5e92=function(_0x5e92bf,_0x4d6466){_0x5e92bf=_0x5e92bf-0x6f;var _0x5b44be=_0x187652[_0x5e92bf];return _0x5b44be;},_0x5e92(_0x313928,_0x27c00d);}function _0x1876(){var _0x4bdfaf=['salt','UnitEmbedded','getAllMembers','stringify','action','_prevBlock','_exhaustRemoteChangesetQueue','isArray','FileId','replace','&assign=','&to=','finalize','HEARTBEAT','retryConnectingInterval','selections','IImageIoService','type','saveSnapshot','clear','toString','SheetsSelectionsService','HELLO','onSendChangeset','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','1282400aUXBSB','reset','sigBytes','_startTelemetryCollaborationNewChangeset','csShouldRetryEvent','DEFAULT_FILE_NAME','Utf8','onCommandExecuted','/universer-api/comb','PSEUDO_FETCH_MISSING_RESULT','9330705qJcecZ','_onCombEvent','_oKey','refreshPermission','onlyLocal','hasOwnProperty','socket\x20close','_onRemoteRejected','ONLINE','c1Prime','batchAllowed','RECV','change$','/object','patch','url','isInternalEditorID','4205930imZFza','ERROR_EXCEED_SIZE','exports','isPermissionRej','call','buffer','session.room-full','COLLAB_SUBMIT_CHANGESET_URL_KEY','updatePermissionPoint','conflict','/unit/','_createHandler','MentionType','sid','/collaborator','UNIVER_COLLABORATION_CLIENT_PLUGIN','USERS_ENTER','UniverCollaborationClientPlugin','online$','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','list','readyForCollab','encode','onSyncEditingCollabCursor','MemberService','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','onTransformState','reverse','leaveEvent','onRemoteRej','ILogService','_socketService','_getSignURL','LIVESHARE_OPERATION','onRemoteRetry','loadDoc','[PendingState]:\x20received\x20acknowledgement.','_doFinalize','delay','_scheduleCollaborationTimeoutTimer','_resendTimeout','_socketReady','_keySchedule','rev','SHA1','state$','_minBufferSize','_keyPriorReset','MSG_FOR_ERROR','collaborators','snapshot','LIVESHARE_NEW_HOST','transformMutationsWithChangeset','serializeCombRequest','shouldCloseConn','DependentOn','blockSize','unitInfo$','CLOSE_ROOM','slice','SNAPSHOT_URL_KEY','dispose$','collaboration-client.local-cache-service','[DataLoaderService]','resourceIDs','encodeURIComponent','UniverProLicense','/role','JOIN_ROOM_NOT_EXISTS','_sessions','SEND_CHANGESET_TIMEOUT_KEY','routeKey','close','createDecryptor','INetworkConditionService','_transformRemoteChangesetByStateCache','UniverDrawing','COMMENT_UPDATE','SUBMIT_CHANGESET_TIMEOUT','_nRounds','_iv','_removeRoom','session.join-failed','_clearUndo','uploadFileServerUrl','splice','session','/resources','_data','UNIVER_DOC','_changesetReqId','collaboration-client.config','HttpImport','/fetchmissing?from=','Disposable','_doProcessBlock','fetching\x20missing\x20changesets\x20from\x20','UniverProCollaboration','_entities','substr','catch','collaboration_new_changeset','not_collab','message$','Injector','OFFLINE','CollaborationEvent','LocalUndoRedoService','APPLY_PERMISSION_DENIED','result','ws://127.0.0.1:8000/universer-api/comb/connect','_localCacheService','floor','compose','AWAITING','workbook','sessionStatus$','file','LocaleService','JOIN_ROOM_PERMISSION_DENIED','max','kdf','AUTHZ_URL_KEY','_unitInfo$','_clearHeartbeatTimer','readInt32LE','FAIL','getLatestCsReqIdBySid','_checkMissing','[CollaborationUndoRedoService]','unit-cache-','CHANGESET_ACK','IDLE','transformChangesets','ceil','includes','_clearScheduledTask','charCodeAt','_collaborationTimeoutTimer','HEARTBEAT_TIMEOUT','_initDependencies','session.room-cnt-exceeds','isTransformMutationsWithChangesetFailure','getMemberID','collabWebSocketUrl','keySize','[UniverCollaborationClientPlugin]','_shouldReportTelemetry','41929980nCwyHe','_initMergeInterceptor','cmd','CollaborativeUndoRedoService','unitID','event$','auth.needGotoLoginAlert','setWaitCount','href','executeCommand','getUnitOnRev','CollaborationStatus','bind','then','FETCH_MISS','disposeWithMe','PendingState','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','updateCollaborator','_onConnectionOpen','ERROR_IMAGE','136DmqBAk','_nDataBytes','CONNECTOR_DATA_TOO_LARGE','onTransformRemoteChangesetByStateCache','range','SheetCollaborationEntity','clamp','SheetPermissionInitController','_candidateSocket','json','socket$','ISnapshotServerService','initWorkbookPermissionChange','userID','DocCollaborationEntity','getUnitStatus$','_initRequestHeader','capture','SNAPSHOT_SERVER_URL_KEY','YUUMI_RATE_OVER_LIMIT','reqId','charAt','_throwTelemetryCollaborationNewChangeset','getTypeOfUnitAdded$','roomInfos','PasswordBasedCipher','LICENSE_MAX_UNITS_EXCEEDED','enableSingleActiveInstanceLock','getUnitType','_getLoginPath','editing\x20status\x20changed\x20to','init','ciphertext','set','location','takeUntil','LICENSE_DISTRO_REJECTED','/object/','ISocketService','updateMember','parse','_replayCachedMutations','function','mapDocumentTypeToUniverType','toggleOnline','image/png','commentUpdate$','_onConnectionFailed','CollaborationSession','YUUMI_SUBSCRIPTION_NOT_FOUND','apply','DEFAULT_COLLAB_WEB_SOCKET_URL','find','title','concat','onTransformIME','socketService','getLocalCacheKey','SetSelectionsOperation','UPDATE_CURSOR','_onFetchMissResult','BehaviorSubject','_incrementRevisionNumber','CollaborationImageIoService','LEAVE','signUrlServerUrl','?size=','_undoStacks','_acknowledgedAwaitingChangeset','Malformed\x20UTF-8\x20data','Optional','EvpKDF','name','randomUUID','UniverSheets','resend','focused$','[FetchMissState]','encrypt','startsWith','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_redoStacks','_updateState','_clearRedo','sin','unpad','HEARTBEAT_TIMEOUT_KEY','_onUserLeave','WordArray','getImage','_createHelper','AES','baseRev','has','_HTTPService','_emitMembers','/universer-api/snapshot/','_handlerCallback','AwaitingState','toDisposable','csRejEvent','getCollabEntity$','getCollabEntity','createIdentifier','msCrypto','ImageUploadStatusType','symbol','objectType','getOwnPropertyDescriptor','IConfigService','ivSize','APPLY_REJECT','BlockCipherMode','\x20to\x20','RxDisposable','_permissionService','getSnapshotAPIPath','CollaborationUIEventService','fetchMiss','open$','TOO_MANY_REQUESTS','_createInitialState','INVALID_ARGUMENT','CHANGESET_SHOULD_RETRY','image/jpeg','APPLY_DUPLICATED','SNAPSHOT_INVALID_SNAPSHOT','_sendHeartbeatTimer','CollaborationEntity','_clearLocalCache','SnapshotServerOverHTTPService','reduce','defineProperty','HMAC','[CollaborationEntity]','_event$','SNAPSHOT_HAS_BEEN_REMOVED','setCurrentUser','Hex','_handler','RETRY_CONNECTING_MAX_COUNT','image/bmp','SOCKET_FAILED','@univerjs-pro/collaboration','abs','NoPadding','RevisionService','deleteCollaborator','@univerjs/sheets','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','YUUMI_UNABLE_LOAD_URL','headers','delete','subscribe','post','CipherParams','ICommandService','_injector','USERS_LEAVE','OTHER_CLIENT_EDITING','_DEC_XFORM_MODE','@univerjs/core','_reverseMap','PENDING','length','_resendWithTimeout','actions','_cipher','fetchThroughInterceptors','Subject','liveShareNewHost','_lockTransition','SEND_CHANGESET_TIMEOUT','isTransformMutationsWithChangesetSuccess','PERMISSION_REJ','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','_clearRetryConnectingTimer','synced','originalMeta','NO_OTHER_CLIENTS_EDITING','execute','entityInit$','Workbook','_parse','body','_retryCount','CollaborationSocketService','ITransformService','decrypt','_collabSessionService','People','ISingleActiveUnitService','compute','_onMessage','onStarting','[CollaborationSession]','_getUndoStack','createSocket','_onJoinRoomEvent','Random\x20bytes\x20length\x20must\x20be\x20>=\x2016','map','_socket','_sendingTimer','_eventService','_sendHeartbeat','_state$','ILocalCacheService','UserManagerService','MD5','joinRsp','stopTime','Decryptor','Undefined','extend','IContextService','getFocusedUnit','getSheetId','ENSURE_SNAPSHOT_EXECUTION','push','_updateStatus','firstValueFrom','2811072sNlpYW','UnitSnapshot','_getCurrentRevision','MUTATION','AuthzIoHttpService','toLowerCase','[OfflineState]:\x20received\x20acknowledgement.','error$','getTypeOfUnitDisposed$','onRemoteAck','_imageSourceCache','Inject','registerDependencies','downloadEndpointUrl','fetchMissingChangesets','params','_getUploadFileURL','6ItYTfy','loadSheet','prototype','eventID','next','_append','asObservable','JSONX','touchDependencies','clone','DisposableCollection','now','LOCAL_CACHE_INTERVAL','unsubscribe','COLLAB_WEB_SOCKET_URL','_hasher','every','_sender','target','_rescheduleHeartbeat','pipe','_collaborationUIEventService','SheetTransformSelectionsService','error','_onOffline','LOGIN_URL_KEY','getCurrentRevOfUnit','onRemoteChangeset','_joinRoom','_initUnitPermissionChange','CBC','UNAUTHENTICATED','_onUserJoin','LIVESHARE_REQUEST_HOST','[CollaborationSessionService]:\x20socket\x20error','connection\x20error','_collaborationPaused','subUnitId','collaMsg','&source=','awaiting_with_pending','_socketMessageSubscription','_socket$','_instanceService','SOCKET_FAILED_RETRY','Failed\x20to\x20update\x20permission\x20point','?url=','_getSendChangesetTimeout','ConflictState','UniverInstanceType','saveChangeset','update','_onRecvEvent','getConfig','_scheduleCompleteTimestamp','onTransformRemoteChangesetByIMECache','CollaborationUIEventId','_onConflict','_transformStack','getUnitId','/universer-api/snapshot','forEach','_disableEditing','objectActions','_status$','send','_onLocalMutation','authzUrl','transformStack\x20failed!','IPermissionService','_executeRemoteChangeset','findIndex','method','avatar','@univerjs/drawing','objectID','mode','awaitingChangeset','memberID','processBlock','PY_RUNTIME_SCRIPT_ERROR','[CollaborationEntity]:\x20cannot\x20lock\x20transition\x20twice!\x20This\x20is\x20an\x20implementation\x20error,\x20meaning\x20you\x20transit\x20the\x20collaboration\x20state\x20again\x20in\x20the\x20process\x20of\x20a\x20previous\x20transition.\x20This\x20should\x20never\x20happen.','_collaborationSessionService','_transformSelections','JOIN','mixIn','IMentionIOService','AwaitingWithPendingState','_configService','@univerjs/network','_commandService','COMPLETION_FINISHED','UNDEFINED','deepClone','/universer-api/file/{fileID}/sign-url','/-/object/-/batch_allowed','b64DecodeUnicode','getTime','localCacheService','cfg','rxjs','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','_transformUndoredo','_httpService','APPLY_REVISION_CONFILICT','_tryReconnect','_networkConditionService','Base64','complete','_undoRedoService','onTransformSelections','pauseCollaboration','Tools','encryptBlock','HttpExport','_startCollaboration','_pendingMutations','rxjs/operators','createInstance','newCsEvent','_fetchMissChangesets','toggleOffline','get','_updateLocalCache','_toggleOffline','random','NOT_FOUND','randomBytes','CommentService','PERMISSION_DENIED','closeSession','_getRedoStack','[OfflineState]:\x20received\x20changeset.','_process','[CollaborationSessionService]','LIVESHARE_FETCH_OPERATIONS','objects','indexOf','toStringTag','_replaceFileID','_members$','_onRemoteACK','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','/universer-api/stream/file/upload','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','getValue','_logService','transformUndoRedo','_listenToNetworkCondition','\x0aCurrent:\x20','save\x20fail\x20reason\x20is\x20','disableLocalCache','members$','merge','/universer-api/authz','debug','readAsDataURL','[PendingState]:\x20unhandled\x20univer\x20type:\x20','OpenSSL','join','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','loadOfflineData','revision','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','enableAuthServer','dispose','collaboratorID','_xformMode','_submitChangeset','_ENC_XFORM_MODE','_unitID','Pkcs7','Base','_localeService','_getCtorByUniverType','SHOULD_CLOSE_CONN','11688Uvbbdt','BufferedBlockAlgorithm','CollaborationController','sequenceExecute','put','awaiting','editingUnit','_members','_userManagerService','_compressMutationService','getRoom','repeat','_init','key','take','[SyncedState]:\x20received\x20acknowledgement.','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','size','AWAITING_WITH_PENDING','FetchingMissState','Encryptor','sessionStatus','collabSubmitChangesetUrl','ImageSourceType','_awaitingChangeset','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','saveImage','isTransformChangesetsSuccess','code','loadUnit','_retryConnectingTimer','reject','m2Prime','_doCryptBlock','OfflineState','BASE64','/block/','string','Could\x20not\x20dynamically\x20require\x20\x22','JOIN_ROOM_FULL','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','algo','_createInitialStateImpl','_getAPIPrefix','RETRY_CONNECTING_MAX_COUNT_KEY','mergeOverrideWithDependencies','submit\x20changeset\x20error!','COMPRESS_MUTATION_SEND','\x0aAfter:\x20','localeService','WorkbookEditablePermission','emitEvent','createEncryptor','_config','_substituteUndoStack','appendMutation','/new_changes','_entityInit$','UnitStatus','getMember','offline','getInterceptPoints','_transitionLocked','registerHTTPInterceptor','updatePermissionObjEvent','EXCHANGE_SIGN_URL_SERVER_URL_KEY','UNIVER_SLIDE','GLOBAL_ROOMS_CNT_EXCEEDS','@univerjs/telemetry','image/gif','__Key__','add','listCollaborators','pad','_state','_createHmacHelper','UNRECOGNIZED','textRanges','FETCH_MISSING','_showConflictNotification','CommandType','_transformService','crypto','SUCCUSS','values','IAuthzIoService','parseProtocolChangeset','hasher','padding','_roomMembers','_syncEditingCollabCursor','@univerjs/docs','src','_key','interceptor','state','_revisionService','/universer-api/user/session-ticket','_loadSheet','IUndoRedoService','default','__creator','UNKNOWN_CODE','from','filter','onMissedChangesetFetched','7Jptxis','_applyRemoteChangeset','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','fetch_missing','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','POST','LICENSE_IMPORT_SIZE_EXCEEDED','2984056PQitvu','members','setShowComponents','HTTPRequest','unitId','iterations','allowed','status$','loginUrlKey','getSheetBlock','onStateChange','HTTPService','_waitForHeartbeatResponse','NEW_CHANGESETS','INTERNAL_ERROR','_transformStateCache','_clearTimeoutTimer','_onRemoteRetry','override','setConfig','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_snapshotService','UNIVER_SHEET','UniverTelemetry','LOCAL_CACHE_INTERVAL_KEY','/-/object/list','_waitCount','ALREADY_EXISTS','_clearCollaborationTimeoutTimer','updateOfflineData','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','onMissingChangesets','words','data','c2Prime','APPLY_NON_SEQUENTIAL_REVISION','commentUpdateEvent','_snapshotServerService','COMPRESS_MUTATION_APPLY','CONFLICT','responseType','lib','_iKey','CompressMutationService','/universer-api/oidc/authpage','addHandlerCallback','_unlockTransition','telemetry\x20info\x20is\x20not\x20initialized','_initCloseConn','removeMember','Univer','status','\x20-\x20','__esModule','Latin1','CollaborationSessionService','_transformIMECache','_telemetryInfo','_memberService','JOIN_ROOM_FAILED','MentionIoHttpService','_singleActiveUnitService','subject','BlockCipher','requireSession','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','amd','transformSelections','DataLoaderService','getDeserializedSheetBlock','_sheetTransformSelectionsService','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','_timeoutTimer','unknown','ThresholdInterceptorFactory','byteLength','rng','UNIVER_PROJECT','LICENSE_EXPORT_SIZE_EXCEEDED','_roomCreated$','IUniverInstanceService','SyncedState','_schedule','_map','image/jpg','_invKeySchedule','close$','INGEST','_queuedRemoteChangesets','_change$','_univerInstanceService','csAckEvent','_remoteChangesetQueue','OTHER_CLIENTS_EDITING','getCurrentUser','_isPermissionRej','create','mutations','_doReset','deserializeToCombResponse','pluginName','_tryEnsureSocket','HEARTBEAT_INTERVAL_KEY','getGlobalObject','UNIVER_UNKNOWN','decryptBlock','concatMap','/allowed','_resendTimer','_registerDependencies','onCommentUpdate','[PendingState]:\x20received\x20rejection.','format','OPTIONAL','_loadDoc','UNKNOWN_CMD','changesets','_sessionStatus$','SnapshotService','CHANGESET_REJ','[SyncedState]:\x20received\x20rejection.','_createSocket','Quantity','socket\x20open.','enc','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','RichTextEditingMutation','fromCollab','_getAPIPrefixPath','_transformRemoteChangesetByIMECache','\x20in\x20_schedule.','SYNCED','LIVESHARE_TERMINATE','confirm','reconnect','generateRandomId','requestParams','_type','SUBMIT_CHANGESET','_mode','_changesetSessionId','waitForRoom$','unitId\x20is\x20not\x20found','_toggleOnline','_getDownloadEndpointURL','roles','Cipher','_commentUpdate$','JOINING','getRandomValues','_hash','startTime','_decreaseWaiting','Hasher'];_0x1876=function(){return _0x4bdfaf;};return _0x1876();}(function(_0x3e0f44,_0x55cde2){var _0x4082a8=_0x5e92,_0x26b8cc=_0x3e0f44();while(!![]){try{var _0x85e2c7=-parseInt(_0x4082a8(0xd9))/0x1*(parseInt(_0x4082a8(0x277))/0x2)+-parseInt(_0x4082a8(0x1b6))/0x3+parseInt(_0x4082a8(0x39b))/0x4+-parseInt(_0x4082a8(0x3b6))/0x5*(parseInt(_0x4082a8(0x1c7))/0x6)+-parseInt(_0x4082a8(0x2e1))/0x7*(parseInt(_0x4082a8(0x2e8))/0x8)+-parseInt(_0x4082a8(0x3a5))/0x9+parseInt(_0x4082a8(0xc4))/0xa;if(_0x85e2c7===_0x55cde2)break;else _0x26b8cc['push'](_0x26b8cc['shift']());}catch(_0x53af14){_0x26b8cc['push'](_0x26b8cc['shift']());}}}(_0x1876,0x819a4),function(_0x16b0a5,_0x53d8d9){var _0x3aaa31=_0x5e92;typeof exports=='object'&&typeof module<'u'?_0x53d8d9(exports,require(_0x3aaa31(0x17a)),require(_0x3aaa31(0x22b)),require('rxjs/operators'),require('@univerjs-pro/collaboration'),require(_0x3aaa31(0x220)),require(_0x3aaa31(0x2bb)),require(_0x3aaa31(0x2d2)),require(_0x3aaa31(0x16d)),require(_0x3aaa31(0x211)),require('@univerjs-pro/license')):typeof define==_0x3aaa31(0x103)&&define[_0x3aaa31(0x32a)]?define([_0x3aaa31(0x3b8),_0x3aaa31(0x17a),'rxjs',_0x3aaa31(0x23c),_0x3aaa31(0x168),_0x3aaa31(0x220),_0x3aaa31(0x2bb),'@univerjs/docs',_0x3aaa31(0x16d),_0x3aaa31(0x211),'@univerjs-pro/license'],_0x53d8d9):(_0x16b0a5=typeof globalThis<'u'?globalThis:_0x16b0a5||self,_0x53d8d9(_0x16b0a5['UniverProCollaborationClient']={},_0x16b0a5['UniverCore'],_0x16b0a5[_0x3aaa31(0x22b)],_0x16b0a5[_0x3aaa31(0x22b)]['operators'],_0x16b0a5[_0x3aaa31(0x91)],_0x16b0a5['UniverNetwork'],_0x16b0a5[_0x3aaa31(0x2ff)],_0x16b0a5['UniverDocs'],_0x16b0a5[_0x3aaa31(0x123)],_0x16b0a5[_0x3aaa31(0x7c)],_0x16b0a5[_0x3aaa31(0x72)]));}(this,function(_0x11943a,_0x7fc923,_0x277459,_0x4247e9,_0x2915ae,_0x39fb06,_0x55b14,_0x3e510e,_0x333df9,_0x2cc4bc,_0x52dc78){'use strict';var _0x5cfc8b=_0x5e92;var _0x589ce6=Object[_0x5cfc8b(0x15d)],_0x13d67f=(_0x47a59d,_0x43e0b9,_0x4855dc)=>_0x43e0b9 in _0x47a59d?_0x589ce6(_0x47a59d,_0x43e0b9,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4855dc}):_0x47a59d[_0x43e0b9]=_0x4855dc,_0x2acb83=(_0xb43cc6,_0x53a810,_0x4ad2ca)=>_0x13d67f(_0xb43cc6,typeof _0x53a810!=_0x5cfc8b(0x143)?_0x53a810+'':_0x53a810,_0x4ad2ca);const _0x2268bc=_0x5cfc8b(0xeb),_0xb3f130=_0x5cfc8b(0x203),_0x1513c8=_0x5cfc8b(0x3f2),_0x15ee59=_0x5cfc8b(0x185),_0x4a1f5b=_0x5cfc8b(0x1d5),_0x706cdd=_0x5cfc8b(0x9e),_0x21e1b7=_0x5cfc8b(0x2d8),_0x5543a6='HEARTBEAT_INTERVAL',_0x94f1d1=_0x5cfc8b(0xbb),_0x5e6790=_0x5cfc8b(0x165),_0x39105f=_0x5cfc8b(0x1d3),_0x11186c='COLLAB_SUBMIT_CHANGESET_URL',_0x14490d=_0x5cfc8b(0x3a3),_0x332ec6=_0x5cfc8b(0x1e0),_0x13b5d5=_0x5cfc8b(0x314),_0x53c1cb=_0x5cfc8b(0x129),_0x147dfe='/universer-api/uniscript';var _0x478f69=(_0x2964e3=>(_0x2964e3[_0x2964e3['UNDEFINED']=0x0]=_0x5cfc8b(0x223),_0x2964e3[_0x2964e3['OK']=0x1]='OK',_0x2964e3[_0x2964e3[_0x5cfc8b(0x2f6)]=0x2]=_0x5cfc8b(0x2f6),_0x2964e3[_0x2964e3[_0x5cfc8b(0x248)]=0x3]='PERMISSION_DENIED',_0x2964e3[_0x2964e3[_0x5cfc8b(0x245)]=0x4]=_0x5cfc8b(0x245),_0x2964e3[_0x2964e3[_0x5cfc8b(0x1e6)]=0x5]='UNAUTHENTICATED',_0x2964e3[_0x2964e3[_0x5cfc8b(0x303)]=0x6]='ALREADY_EXISTS',_0x2964e3[_0x2964e3[_0x5cfc8b(0x153)]=0x7]=_0x5cfc8b(0x153),_0x2964e3[_0x2964e3['TOO_MANY_REQUESTS']=0x8]=_0x5cfc8b(0x151),_0x2964e3[_0x2964e3['COMPLETION_FINISHED']=0x9]=_0x5cfc8b(0x222),_0x2964e3[_0x2964e3['CHANGESET_REVISION_CONFILICT']=0x1389]='CHANGESET_REVISION_CONFILICT',_0x2964e3[_0x2964e3[_0x5cfc8b(0x157)]=0x1771]=_0x5cfc8b(0x157),_0x2964e3[_0x2964e3['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x5cfc8b(0x161),_0x2964e3[_0x2964e3['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x5cfc8b(0x1b2),_0x2964e3[_0x2964e3[_0x5cfc8b(0x148)]=0x1b59]=_0x5cfc8b(0x148),_0x2964e3[_0x2964e3[_0x5cfc8b(0x30b)]=0x1b5a]=_0x5cfc8b(0x30b),_0x2964e3[_0x2964e3[_0x5cfc8b(0x22f)]=0x1b5b]=_0x5cfc8b(0x22f),_0x2964e3[_0x2964e3['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x5cfc8b(0x9c),_0x2964e3[_0x2964e3[_0x5cfc8b(0x156)]=0x1b5d]=_0x5cfc8b(0x156),_0x2964e3[_0x2964e3[_0x5cfc8b(0xdb)]=0x1f41]=_0x5cfc8b(0xdb),_0x2964e3[_0x2964e3[_0x5cfc8b(0xf3)]=0x2329]=_0x5cfc8b(0xf3),_0x2964e3[_0x2964e3[_0x5cfc8b(0x255)]=0x232a]=_0x5cfc8b(0x255),_0x2964e3[_0x2964e3[_0x5cfc8b(0x2e7)]=0x232b]=_0x5cfc8b(0x2e7),_0x2964e3[_0x2964e3[_0x5cfc8b(0x336)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x2964e3[_0x2964e3[_0x5cfc8b(0xfd)]=0x232d]=_0x5cfc8b(0xfd),_0x2964e3[_0x2964e3[_0x5cfc8b(0x16f)]=0x2711]=_0x5cfc8b(0x16f),_0x2964e3[_0x2964e3['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x2964e3[_0x2964e3[_0x5cfc8b(0xec)]=0x2713]=_0x5cfc8b(0xec),_0x2964e3[_0x2964e3[_0x5cfc8b(0x10a)]=0x2714]=_0x5cfc8b(0x10a),_0x2964e3[_0x2964e3[_0x5cfc8b(0x217)]=0x2af9]=_0x5cfc8b(0x217),_0x2964e3[_0x2964e3['UNRECOGNIZED']=-0x1]=_0x5cfc8b(0x2c3),_0x2964e3))(_0x478f69||{}),_0x57f9ad=(_0x5d3f25=>(_0x5d3f25[_0x5d3f25[_0x5cfc8b(0x350)]=0x0]='UNIVER_UNKNOWN',_0x5d3f25[_0x5d3f25['UNIVER_DOC']=0x1]='UNIVER_DOC',_0x5d3f25[_0x5d3f25[_0x5cfc8b(0x2fe)]=0x2]=_0x5cfc8b(0x2fe),_0x5d3f25[_0x5d3f25[_0x5cfc8b(0x2b9)]=0x3]=_0x5cfc8b(0x2b9),_0x5d3f25[_0x5d3f25[_0x5cfc8b(0x335)]=0x4]=_0x5cfc8b(0x335),_0x5d3f25[_0x5d3f25[_0x5cfc8b(0x2c3)]=-0x1]=_0x5cfc8b(0x2c3),_0x5d3f25))(_0x57f9ad||{}),_0xa80f76=(_0x13c605=>(_0x13c605[_0x13c605['UNKNOWN_CMD']=0x0]=_0x5cfc8b(0x35b),_0x13c605[_0x13c605['HELLO']=0x1]=_0x5cfc8b(0x398),_0x13c605[_0x13c605[_0x5cfc8b(0x21b)]=0x2]=_0x5cfc8b(0x21b),_0x13c605[_0x13c605[_0x5cfc8b(0x119)]=0x3]=_0x5cfc8b(0x119),_0x13c605[_0x13c605[_0x5cfc8b(0x33f)]=0x4]='INGEST',_0x13c605[_0x13c605[_0x5cfc8b(0x38f)]=0x5]=_0x5cfc8b(0x38f),_0x13c605[_0x13c605['RECV']=0x6]=_0x5cfc8b(0x3b0),_0x13c605[_0x13c605[_0x5cfc8b(0x2c3)]=-0x1]='UNRECOGNIZED',_0x13c605))(_0xa80f76||{}),_0x46ed92=(_0x180682=>(_0x180682[_0x180682[_0x5cfc8b(0x2dd)]=0x0]='UNKNOWN_CODE',_0x180682[_0x180682['OK']=0x1]='OK',_0x180682[_0x180682[_0x5cfc8b(0xae)]=0x2]=_0x5cfc8b(0xae),_0x180682[_0x180682[_0x5cfc8b(0x29e)]=0x3e9]=_0x5cfc8b(0x29e),_0x180682[_0x180682[_0x5cfc8b(0x74)]=0x3ea]=_0x5cfc8b(0x74),_0x180682[_0x180682[_0x5cfc8b(0xa7)]=0x3eb]='JOIN_ROOM_PERMISSION_DENIED',_0x180682[_0x180682['GLOBAL_ROOMS_CNT_EXCEEDS']=0x3ec]='GLOBAL_ROOMS_CNT_EXCEEDS',_0x180682[_0x180682[_0x5cfc8b(0x2c3)]=-0x1]='UNRECOGNIZED',_0x180682))(_0x46ed92||{}),_0x3aa05b=(_0x66946c=>(_0x66946c[_0x66946c[_0x5cfc8b(0x1ad)]=0x0]='Undefined',_0x66946c[_0x66946c[_0x5cfc8b(0x8c)]=0x1]=_0x5cfc8b(0x8c),_0x66946c[_0x66946c[_0x5cfc8b(0x239)]=0x2]='HttpExport',_0x66946c[_0x66946c['UnitEmbedded']=0x3]='UnitEmbedded',_0x66946c[_0x66946c['UnitSnapshot']=0x4]=_0x5cfc8b(0x1b7),_0x66946c[_0x66946c['UNRECOGNIZED']=-0x1]=_0x5cfc8b(0x2c3),_0x66946c))(_0x3aa05b||{});const _0x4fd274=_0x5cfc8b(0x8b),_0x5ba764={};var _0x48a145=(_0x230d62=>(_0x230d62[_0x5cfc8b(0x178)]=_0x5cfc8b(0x178),_0x230d62['PERMISSION_DENIED']=_0x5cfc8b(0x248),_0x230d62[_0x5cfc8b(0x30f)]='CONFLICT',_0x230d62[_0x5cfc8b(0x3f0)]=_0x5cfc8b(0x3f0),_0x230d62[_0x5cfc8b(0x323)]=_0x5cfc8b(0x323),_0x230d62[_0x5cfc8b(0x1f3)]='SOCKET_FAILED_RETRY',_0x230d62['SOCKET_FAILED']='SOCKET_FAILED',_0x230d62['SUBMIT_CHANGESET_TIMEOUT']=_0x5cfc8b(0x7e),_0x230d62))(_0x48a145||{});class _0xfbd43f{constructor(){var _0x147679=_0x5cfc8b;_0x2acb83(this,_0x147679(0x160),new _0x277459['Subject']()),_0x2acb83(this,_0x147679(0xc9),this[_0x147679(0x160)]['asObservable']());}[_0x5cfc8b(0x2aa)](_0xbe6ea){var _0x610363=_0x5cfc8b;this[_0x610363(0x160)][_0x610363(0x1cb)](_0xbe6ea);}}const _0x445a74=_0x7fc923[_0x5cfc8b(0x140)]('univer-pro.collaboration-client.network-condition.service');function _0x4b4949(_0x1e9a1b){var _0x80eaff=_0x5cfc8b,_0x56d453,_0x57047d,_0x26d6cc,_0x34b601,_0xd5137b;const _0xc5108a=_0x1e9a1b[_0x80eaff(0x309)],_0x1d0da7=JSON['parse'](_0xc5108a);switch(_0x1d0da7[_0x80eaff(0xc6)]){case _0xa80f76[_0x80eaff(0x38f)]:case _0xa80f76['HELLO']:{const _0x42e289=_0x1d0da7['infoRsp'];return{..._0x1d0da7,'data':_0x42e289,'cmd':_0x1d0da7[_0x80eaff(0xc6)]};}case _0xa80f76[_0x80eaff(0x21b)]:{const _0x463d57=_0x1d0da7[_0x80eaff(0x1aa)];return{..._0x1d0da7,'data':_0x463d57,'cmd':_0x1d0da7[_0x80eaff(0xc6)]};}case _0xa80f76[_0x80eaff(0x3b0)]:{const _0x560709=_0x1d0da7[_0x80eaff(0x1ed)];switch(_0x560709[_0x80eaff(0x1ca)]){case _0x2915ae['CollaborationEvent'][_0x80eaff(0x187)]:return{..._0x1d0da7,'data':{..._0x560709,'data':(_0x56d453=_0x560709['permissionRejEvent'])==null?void 0x0:_0x56d453['cs']},'cmd':_0x1d0da7[_0x80eaff(0xc6)]};case _0x2915ae[_0x80eaff(0x9a)]['CHANGESET_ACK']:return{..._0x1d0da7,'data':{..._0x560709,'data':(_0x57047d=_0x560709[_0x80eaff(0x343)])==null?void 0x0:_0x57047d['cs']},'cmd':_0x1d0da7[_0x80eaff(0xc6)]};case _0x2915ae[_0x80eaff(0x9a)]['NEW_CHANGESETS']:return{..._0x1d0da7,'data':{..._0x560709,'data':(_0x26d6cc=_0x560709[_0x80eaff(0x23e)])==null?void 0x0:_0x26d6cc['cs']},'cmd':_0x1d0da7[_0x80eaff(0xc6)]};case _0x2915ae['CollaborationEvent'][_0x80eaff(0x35f)]:return{..._0x1d0da7,'data':{..._0x560709,'data':(_0x34b601=_0x560709[_0x80eaff(0x13d)])==null?void 0x0:_0x34b601['cs']},'cmd':_0x1d0da7[_0x80eaff(0xc6)]};case _0x2915ae[_0x80eaff(0x9a)][_0x80eaff(0x154)]:return{..._0x1d0da7,'data':{..._0x560709,'data':(_0xd5137b=_0x560709[_0x80eaff(0x39f)])==null?void 0x0:_0xd5137b['cs']},'cmd':_0x1d0da7[_0x80eaff(0xc6)]};case _0x2915ae[_0x80eaff(0x9a)]['UPDATE_CURSOR']:return{..._0x1d0da7,'data':{..._0x560709,'data':_0x560709['updateCursorEvent']},'cmd':_0x1d0da7[_0x80eaff(0xc6)]};case _0x2915ae['CollaborationEvent'][_0x80eaff(0x3c6)]:return{..._0x1d0da7,'data':{..._0x560709,'data':_0x560709['joinEvent']},'cmd':_0x1d0da7[_0x80eaff(0xc6)]};case _0x2915ae[_0x80eaff(0x9a)]['USERS_LEAVE']:return{..._0x1d0da7,'data':{..._0x560709,'data':_0x560709[_0x80eaff(0x3d2)]},'cmd':_0x1d0da7[_0x80eaff(0xc6)]};case _0x2915ae[_0x80eaff(0x9a)]['LIVESHARE_NEW_HOST']:return{..._0x1d0da7,'data':{..._0x560709,'data':_0x560709[_0x80eaff(0x183)]},'cmd':_0x1d0da7['cmd']};case _0x2915ae['CollaborationEvent'][_0x80eaff(0x24e)]:case _0x2915ae[_0x80eaff(0x9a)][_0x80eaff(0x3d7)]:return{..._0x1d0da7,'data':{..._0x560709,'data':_0x560709['liveShareOperation']},'cmd':_0x1d0da7[_0x80eaff(0xc6)]};case _0x2915ae[_0x80eaff(0x9a)][_0x80eaff(0x36c)]:return{..._0x1d0da7,'data':{..._0x560709,'data':_0x560709['liveShareNewHost']},'cmd':_0x1d0da7[_0x80eaff(0xc6)]};case _0x2915ae[_0x80eaff(0x9a)][_0x80eaff(0x3e6)]:return{..._0x1d0da7,'data':_0x560709,'cmd':_0x1d0da7[_0x80eaff(0xc6)]};case _0x2915ae['CollaborationEvent'][_0x80eaff(0x7d)]:return{..._0x1d0da7,'data':{..._0x560709,'data':_0x560709[_0x80eaff(0x30c)]},'cmd':_0x1d0da7[_0x80eaff(0xc6)]};case _0x2915ae['CollaborationEvent']['UPDATE_PERMISSION_OBJ']:return{..._0x1d0da7,'data':{..._0x560709,'data':_0x560709[_0x80eaff(0x2b7)]},'cmd':_0x1d0da7[_0x80eaff(0xc6)]};case _0x2915ae['CollaborationEvent'][_0x80eaff(0x276)]:return{..._0x1d0da7,'data':{..._0x560709,'data':_0x560709[_0x80eaff(0x3ec)]},'cmd':_0x1d0da7['cmd']};case _0x2915ae['CollaborationEvent']['UNISCRIPT_RUN']:return{..._0x1d0da7,'data':{..._0x560709,'data':_0x560709['uniscriptRunEvent']},'cmd':_0x1d0da7[_0x80eaff(0xc6)]};default:return _0x1d0da7;}}default:return _0x1d0da7;}}function _0x1a2380(_0x50c70f){var _0x20a0f3=_0x5cfc8b;switch(_0x50c70f[_0x20a0f3(0xc6)]){case _0xa80f76[_0x20a0f3(0x38f)]:case _0xa80f76[_0x20a0f3(0x398)]:return JSON[_0x20a0f3(0x385)]({'cmd':_0x50c70f[_0x20a0f3(0xc6)],'routeKey':_0x50c70f[_0x20a0f3(0x77)]});case _0xa80f76['INGEST']:{let _0x598ca3;switch(_0x50c70f[_0x20a0f3(0x309)][_0x20a0f3(0x1ca)]){case _0x2915ae[_0x20a0f3(0x9a)][_0x20a0f3(0x114)]:{_0x598ca3={'eventID':_0x2915ae[_0x20a0f3(0x9a)][_0x20a0f3(0x114)],'updateCursorEvent':_0x50c70f[_0x20a0f3(0x309)][_0x20a0f3(0x309)]};break;}case _0x2915ae[_0x20a0f3(0x9a)]['USERS_LEAVE']:{_0x598ca3={'eventID':_0x2915ae[_0x20a0f3(0x9a)][_0x20a0f3(0x177)],'leaveEvent':_0x50c70f['data'][_0x20a0f3(0x309)]};break;}case _0x2915ae['CollaborationEvent'][_0x20a0f3(0x3c6)]:{_0x598ca3={'eventID':_0x2915ae[_0x20a0f3(0x9a)][_0x20a0f3(0x3c6)],'joinEvent':_0x50c70f[_0x20a0f3(0x309)][_0x20a0f3(0x309)]};break;}case _0x2915ae[_0x20a0f3(0x9a)][_0x20a0f3(0x3e9)]:{_0x598ca3={'eventID':_0x2915ae[_0x20a0f3(0x9a)][_0x20a0f3(0x3e9)],'liveShareNewHost':_0x50c70f[_0x20a0f3(0x309)]['data']};break;}case _0x2915ae['CollaborationEvent']['LIVESHARE_OPERATION']:{_0x598ca3={'eventID':_0x2915ae[_0x20a0f3(0x9a)][_0x20a0f3(0x3d7)],'liveShareOperation':_0x50c70f['data']['data']};break;}case _0x2915ae['CollaborationEvent']['LIVESHARE_TERMINATE']:{_0x598ca3={'eventID':_0x2915ae[_0x20a0f3(0x9a)][_0x20a0f3(0x36c)],'liveShareTerminate':_0x50c70f[_0x20a0f3(0x309)]['data']};break;}case _0x2915ae['CollaborationEvent'][_0x20a0f3(0x1e8)]:{_0x598ca3={'eventID':_0x2915ae[_0x20a0f3(0x9a)]['LIVESHARE_REQUEST_HOST'],'liveShareRequestHost':_0x50c70f['data']['data']};break;}case _0x2915ae[_0x20a0f3(0x9a)]['LIVESHARE_FETCH_OPERATIONS']:{_0x598ca3={'eventID':_0x2915ae[_0x20a0f3(0x9a)][_0x20a0f3(0x24e)]};break;}default:_0x598ca3={'eventID':_0x50c70f[_0x20a0f3(0x309)][_0x20a0f3(0x1ca)]};}return JSON[_0x20a0f3(0x385)]({'cmd':_0x50c70f[_0x20a0f3(0xc6)],'routeKey':_0x50c70f[_0x20a0f3(0x77)],'collaMsg':_0x598ca3});}case _0xa80f76['JOIN']:return JSON[_0x20a0f3(0x385)]({'cmd':_0x50c70f[_0x20a0f3(0xc6)],'routeKey':_0x50c70f[_0x20a0f3(0x77)],'joinReq':_0x50c70f[_0x20a0f3(0x309)]});case _0xa80f76[_0x20a0f3(0x119)]:return JSON['stringify']({'cmd':_0x50c70f[_0x20a0f3(0xc6)],'routeKey':_0x50c70f['routeKey'],'leaveReq':_0x50c70f[_0x20a0f3(0x309)]});default:throw new Error(_0x20a0f3(0x29f));}}var _0xa99e2e=Object[_0x5cfc8b(0x145)],_0x1b7915=(_0x2a19a3,_0x4d185e,_0x3827b7,_0x1e09fd)=>{var _0x3bbd21=_0x5cfc8b;for(var _0x4afba4=_0x1e09fd>0x1?void 0x0:_0x1e09fd?_0xa99e2e(_0x4d185e,_0x3827b7):_0x4d185e,_0x4ee6ce=_0x2a19a3[_0x3bbd21(0x17d)]-0x1,_0x7b0c7c;_0x4ee6ce>=0x0;_0x4ee6ce--)(_0x7b0c7c=_0x2a19a3[_0x4ee6ce])&&(_0x4afba4=_0x7b0c7c(_0x4afba4)||_0x4afba4);return _0x4afba4;},_0x353949=(_0x55b60d,_0xe2bd65)=>(_0x5ebba9,_0x4b8fe0)=>_0xe2bd65(_0x5ebba9,_0x4b8fe0,_0x55b60d);const _0x1ba504=_0x7fc923[_0x5cfc8b(0x140)]('univer-pro.collaboration-client-socket-service');function _0x153a3c(_0x38fd15,_0x23400a,_0x2bd150){var _0x11a7e8=_0x5cfc8b;return _0x38fd15+'/'+_0x23400a+'/unit/'+_0x2bd150+_0x11a7e8(0x2af);}_0x11943a[_0x5cfc8b(0x193)]=class extends _0x7fc923[_0x5cfc8b(0x8e)]{constructor(_0x4f5aa4,_0x3e69f6,_0x3298db,_0x19597e,_0xb1384c){var _0x373136=_0x5cfc8b;super(),this['_injector']=_0x4f5aa4,this[_0x373136(0x22e)]=_0x3e69f6,this[_0x373136(0x21f)]=_0x3298db,this[_0x373136(0x259)]=_0x19597e,this[_0x373136(0x30d)]=_0xb1384c;}['_doCreateSocket'](_0x3918da){var _0x3e92a8=_0x5cfc8b;const _0x5ecd70=this[_0x3e92a8(0x176)]['get'](_0x39fb06[_0x3e92a8(0xff)]);if(!_0x5ecd70)throw new Error(_0x3e92a8(0x2e5));const _0x1dceae=_0x5ecd70['createSocket'](_0x3918da);if(!_0x1dceae)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!');const _0x12033d=new _0x7fc923[(_0x3e92a8(0x1d1))](),_0xaeb855=new _0x277459[(_0x3e92a8(0x182))]();_0x12033d[_0x3e92a8(0x2be)](_0x1dceae[_0x3e92a8(0x33e)][_0x3e92a8(0x172)](_0x52a7f9=>_0xaeb855[_0x3e92a8(0x1cb)](_0x52a7f9))),_0x12033d[_0x3e92a8(0x2be)](_0x7fc923[_0x3e92a8(0x13c)](()=>_0xaeb855[_0x3e92a8(0x233)]()));const _0x315fd3=new _0x277459['Subject']();_0x12033d['add'](_0x1dceae[_0x3e92a8(0x1bd)][_0x3e92a8(0x172)](_0x167d92=>_0x315fd3['next'](_0x167d92))),_0x12033d['add'](_0x7fc923['toDisposable'](()=>_0x315fd3[_0x3e92a8(0x233)]()));const _0xdaeb81=new _0x277459[(_0x3e92a8(0x182))]();_0x12033d['add'](_0x1dceae[_0x3e92a8(0x97)][_0x3e92a8(0x172)](_0x9bf80b=>{var _0x3e84b9=_0x3e92a8;const _0x53801d=_0x4b4949(_0x9bf80b);_0xdaeb81[_0x3e84b9(0x1cb)](_0x53801d);})),_0x12033d[_0x3e92a8(0x2be)](_0x7fc923['toDisposable'](()=>_0xdaeb81['complete']()));let _0x69eeb7;const _0x46e69c=()=>{var _0x291035=_0x3e92a8;_0x315fd3['next'](new Event(_0x291035(0x1ea))),_0xaeb855[_0x291035(0x1cb)](new Event(_0x291035(0x1ea))),_0x69eeb7[_0x291035(0x78)]();};return _0x69eeb7={'memberID':'','close$':_0xaeb855[_0x3e92a8(0x1cd)](),'error$':_0x315fd3[_0x3e92a8(0x1cd)](),'open$':_0x1dceae[_0x3e92a8(0x150)],'message$':_0xdaeb81[_0x3e92a8(0x1cd)](),'send':_0x387e09=>{var _0x448f33=_0x3e92a8;if(_0x387e09[_0x448f33(0xc6)]===_0xa80f76[_0x448f33(0x33f)]){if(_0x387e09[_0x448f33(0x309)][_0x448f33(0x1ca)]===_0x2915ae['CollaborationEvent'][_0x448f33(0x372)]){this['_submitChangeset'](_0x69eeb7,_0x387e09['data'])['catch'](_0x101657=>{var _0x20fd13=_0x448f33;this[_0x20fd13(0x259)][_0x20fd13(0x1de)](_0x101657),_0x46e69c();});return;}if(_0x387e09['data'][_0x448f33(0x1ca)]===_0x2915ae['CollaborationEvent'][_0x448f33(0x2c5)]){const _0x553cae=_0x387e09[_0x448f33(0x309)];this[_0x448f33(0x23f)](_0x553cae)[_0x448f33(0xd1)](_0x3e7df8=>{var _0x526978=_0x448f33;_0xdaeb81[_0x526978(0x1cb)]({'cmd':_0xa80f76[_0x526978(0x3b0)],'code':_0x46ed92['OK'],'routeKey':_0x553cae[_0x526978(0x309)]['unitID'],'routeType':'','data':{'eventID':_0x2915ae[_0x526978(0x9a)][_0x526978(0x3a4)],'data':{'changesets':_0x3e7df8}}});})[_0x448f33(0x94)](_0x27b494=>{var _0x1e92da=_0x448f33;this[_0x1e92da(0x259)][_0x1e92da(0x1de)](_0x27b494),_0x46e69c();});return;}}_0x1dceae[_0x448f33(0x208)](_0x1a2380(_0x387e09));},'close':()=>{var _0xd559a2=_0x3e92a8;_0x1dceae[_0xd559a2(0x78)](),_0x12033d[_0xd559a2(0x26c)]();}},_0x69eeb7;}async[_0x5cfc8b(0x26f)](_0x5be901,_0x4aef8b){var _0xefad9=_0x5cfc8b,_0xd3fe7a,_0xccfe2d;const {unitType:_0x3cacea,unitID:_0x2dc055,changeset:_0xdaf381}=_0x4aef8b[_0xefad9(0x309)],_0x29ad47={'unitID':_0x2dc055,'memberID':_0x5be901[_0xefad9(0x215)],'type':_0x3cacea,'changeset':_0x2915ae['parseChangesetToProtocol'](_0xdaf381)},_0x50b986=this[_0xefad9(0x21f)][_0xefad9(0x1fc)](_0x11186c),_0x1e9acb=this[_0xefad9(0x21f)]['getConfig'](_0x4fd274),_0x2e2ccb=_0x153a3c((_0xccfe2d=(_0xd3fe7a=_0x1e9acb==null?void 0x0:_0x1e9acb[_0xefad9(0x28d)])!=null?_0xd3fe7a:_0x50b986)!=null?_0xccfe2d:_0x14490d,_0x3cacea,_0x2dc055);try{await this['_httpService'][_0xefad9(0x173)](_0x2e2ccb,{'body':_0x29ad47});}catch(_0x2d8319){throw this[_0xefad9(0x259)][_0xefad9(0x1de)](_0xefad9(0x19c),_0xefad9(0x2a5)),_0x2d8319;}}async[_0x5cfc8b(0x23f)](_0x43a4f9){var _0x32c961=_0x5cfc8b;const {unitID:_0x54c33c,from:_0x56bba9,to:_0x4addd7,unitType:_0x3ce9c6}=_0x43a4f9['data'];return(await this[_0x32c961(0x30d)][_0x32c961(0x1c4)]({'metadata':void 0x0},{'unitID':_0x54c33c,'type':_0x3ce9c6,'from':_0x56bba9,'to':_0x4addd7}))[_0x32c961(0x35c)];}},_0x11943a[_0x5cfc8b(0x193)]=_0x1b7915([_0x353949(0x0,_0x7fc923[_0x5cfc8b(0x1c1)](_0x7fc923['Injector'])),_0x353949(0x1,_0x7fc923[_0x5cfc8b(0x1c1)](_0x39fb06[_0x5cfc8b(0x2f3)])),_0x353949(0x2,_0x7fc923[_0x5cfc8b(0x146)]),_0x353949(0x3,_0x7fc923[_0x5cfc8b(0x3d4)]),_0x353949(0x4,_0x2915ae[_0x5cfc8b(0xe4)])],_0x11943a['CollaborationSocketService']);const _0x4792aa=_0x5cfc8b(0x95);function _0x56423d(_0x475098){var _0x4ef591=_0x5cfc8b;return JSON[_0x4ef591(0x385)](_0x475098)[_0x4ef591(0x17d)];}class _0x459e03{constructor(){var _0x2b9926=_0x5cfc8b;_0x2acb83(this,_0x2b9926(0x37b),new _0x277459[(_0x2b9926(0x182))]()),_0x2acb83(this,_0x2b9926(0x107),this['_commentUpdate$'][_0x2b9926(0x1cd)]());}[_0x5cfc8b(0x356)](_0x7ed61e){var _0x2aa8ea=_0x5cfc8b;this[_0x2aa8ea(0x37b)][_0x2aa8ea(0x1cb)](_0x7ed61e);}}var _0x123c91=Object[_0x5cfc8b(0x145)],_0x1784fb=(_0x30abcf,_0x2f4190,_0x583983,_0x45c6d1)=>{var _0x5db1e2=_0x5cfc8b;for(var _0x1410ed=_0x45c6d1>0x1?void 0x0:_0x45c6d1?_0x123c91(_0x2f4190,_0x583983):_0x2f4190,_0x5b5310=_0x30abcf[_0x5db1e2(0x17d)]-0x1,_0xbf304d;_0x5b5310>=0x0;_0x5b5310--)(_0xbf304d=_0x30abcf[_0x5b5310])&&(_0x1410ed=_0xbf304d(_0x1410ed)||_0x1410ed);return _0x1410ed;},_0x4541fd=(_0xb53729,_0x5c441b)=>(_0x1bd11a,_0x4b0f64)=>_0x5c441b(_0x1bd11a,_0x4b0f64,_0xb53729);_0x11943a['MemberService']=class extends _0x7fc923[_0x5cfc8b(0x8e)]{constructor(_0x5bb191,_0x230657){var _0x25c569=_0x5cfc8b;super(),_0x2acb83(this,_0x25c569(0x2d0),new Map()),_0x2acb83(this,_0x25c569(0x337),new _0x277459[(_0x25c569(0x182))]()),(this[_0x25c569(0x342)]=_0x5bb191,this[_0x25c569(0x27f)]=_0x230657,this[_0x25c569(0xd3)](_0x277459[_0x25c569(0x260)](this[_0x25c569(0x342)][_0x25c569(0x1be)](_0x7fc923[_0x25c569(0x1f8)][_0x25c569(0x2fe)])['pipe'](_0x4247e9[_0x25c569(0x1a1)](_0x425513=>_0x425513[_0x25c569(0x202)]())),this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x7fc923[_0x25c569(0x1f8)][_0x25c569(0x89)])[_0x25c569(0x1db)](_0x4247e9[_0x25c569(0x1a1)](_0x2ace5d=>_0x2ace5d['getUnitId']())),this['_univerInstanceService'][_0x25c569(0x1be)](_0x7fc923[_0x25c569(0x1f8)]['UNIVER_SLIDE'])[_0x25c569(0x1db)](_0x4247e9[_0x25c569(0x1a1)](_0x5d796e=>_0x5d796e[_0x25c569(0x202)]())))[_0x25c569(0x172)](_0x27e654=>this['_removeRoom'](_0x27e654))));}[_0x5cfc8b(0x375)](_0x3ac82e){var _0x5b384b=_0x5cfc8b;return this['_roomMembers'][_0x5b384b(0x136)](_0x3ac82e)?_0x277459['of'](this[_0x5b384b(0x2d0)][_0x5b384b(0x241)](_0x3ac82e)):this['_roomCreated$'][_0x5b384b(0x1db)](_0x4247e9[_0x5b384b(0x1a1)](_0x4eb5a5=>{var _0x5f174c=_0x5b384b;if(_0x4eb5a5===_0x3ac82e)return this[_0x5f174c(0x2d0)][_0x5f174c(0x241)](_0x4eb5a5);}));}[_0x5cfc8b(0x162)](_0x43b911){var _0x409957=_0x5cfc8b;this[_0x409957(0x27f)]['setCurrentUser'](_0x43b911);}[_0x5cfc8b(0x346)](){var _0x2644c7=_0x5cfc8b;return this['_userManagerService'][_0x2644c7(0x346)]();}[_0x5cfc8b(0x100)](_0x9535d,_0x1e525e){var _0x433101=_0x5cfc8b;let _0x4810b4=this['_roomMembers'][_0x433101(0x241)](_0x9535d);_0x4810b4||(_0x4810b4=new _0x1b5299(),this[_0x433101(0x2d0)][_0x433101(0xfa)](_0x9535d,_0x4810b4),this[_0x433101(0x337)][_0x433101(0x1cb)](_0x9535d)),_0x4810b4[_0x433101(0x100)](_0x1e525e);}[_0x5cfc8b(0x319)](_0x1490b5,_0x360e9a){var _0xc194a7=_0x5cfc8b;const _0x4ce592=this[_0xc194a7(0x2d0)][_0xc194a7(0x241)](_0x1490b5);_0x4ce592&&_0x4ce592[_0xc194a7(0x319)](_0x360e9a);}[_0x5cfc8b(0x281)](_0x261976){var _0x433cda=_0x5cfc8b;return this['_roomMembers'][_0x433cda(0x241)](_0x261976);}[_0x5cfc8b(0x2b2)](_0x51ea0f,_0x59066e){var _0x4b6424=_0x5cfc8b;const _0x345082=this[_0x4b6424(0x2d0)][_0x4b6424(0x241)](_0x51ea0f);if(_0x345082)return _0x345082['getMember'](_0x59066e);}[_0x5cfc8b(0x81)](_0x34ce09){var _0x53c119=_0x5cfc8b;const _0x54bd72=this[_0x53c119(0x2d0)][_0x53c119(0x241)](_0x34ce09);_0x54bd72&&(_0x54bd72[_0x53c119(0x26c)](),this['_roomMembers'][_0x53c119(0x171)](_0x34ce09));}['dispose'](){var _0x2ec96f=_0x5cfc8b;this[_0x2ec96f(0x2d0)][_0x2ec96f(0x204)](_0x5ebce1=>_0x5ebce1[_0x2ec96f(0x26c)]()),this[_0x2ec96f(0x2d0)][_0x2ec96f(0x395)](),this[_0x2ec96f(0x337)][_0x2ec96f(0x233)]();}},_0x11943a[_0x5cfc8b(0x3ce)]=_0x1784fb([_0x4541fd(0x0,_0x7fc923[_0x5cfc8b(0x338)]),_0x4541fd(0x1,_0x7fc923['Inject'](_0x7fc923[_0x5cfc8b(0x1a8)]))],_0x11943a[_0x5cfc8b(0x3ce)]);class _0x1b5299 extends _0x7fc923[_0x5cfc8b(0x8e)]{constructor(){var _0x59bc3f=_0x5cfc8b;super(...arguments),_0x2acb83(this,'_members',new Map()),_0x2acb83(this,'_members$',new _0x277459[(_0x59bc3f(0x116))](this[_0x59bc3f(0x27e)])),_0x2acb83(this,_0x59bc3f(0x25f),this[_0x59bc3f(0x253)][_0x59bc3f(0x1cd)]());}[_0x5cfc8b(0x26c)](){var _0x32a38f=_0x5cfc8b;this[_0x32a38f(0x27e)][_0x32a38f(0x395)]();}['updateMember'](_0x5ca726){var _0x595b26=_0x5cfc8b;this[_0x595b26(0x27e)][_0x595b26(0xfa)](_0x5ca726['memberID'],_0x5ca726),this[_0x595b26(0x138)]();}[_0x5cfc8b(0x319)](_0x18df41){var _0x4f7a33=_0x5cfc8b;this[_0x4f7a33(0x27e)][_0x4f7a33(0x171)](_0x18df41);}[_0x5cfc8b(0x2b2)](_0x4b5910){var _0x4f1a1c=_0x5cfc8b;return this['_members'][_0x4f1a1c(0x241)](_0x4b5910);}[_0x5cfc8b(0x384)](){var _0x16caf7=_0x5cfc8b;return Array[_0x16caf7(0x2de)](this[_0x16caf7(0x27e)][_0x16caf7(0x2cb)]());}[_0x5cfc8b(0x138)](){var _0x3d2364=_0x5cfc8b;this[_0x3d2364(0x253)][_0x3d2364(0x1cb)](this[_0x3d2364(0x27e)]);}}var _0x784af8=Object['getOwnPropertyDescriptor'],_0x55e3ea=(_0x5e6a68,_0x10a495,_0x22ba51,_0x10c3c1)=>{var _0x40edc6=_0x5cfc8b;for(var _0x1f19bf=_0x10c3c1>0x1?void 0x0:_0x10c3c1?_0x784af8(_0x10a495,_0x22ba51):_0x10a495,_0x11a75c=_0x5e6a68[_0x40edc6(0x17d)]-0x1,_0x34fa62;_0x11a75c>=0x0;_0x11a75c--)(_0x34fa62=_0x5e6a68[_0x11a75c])&&(_0x1f19bf=_0x34fa62(_0x1f19bf)||_0x1f19bf);return _0x1f19bf;},_0x1bea8f=(_0x464e63,_0x23255a)=>(_0x21f544,_0x261e54)=>_0x23255a(_0x21f544,_0x261e54,_0x464e63),_0x11e1a6=(_0x4af6d7=>(_0x4af6d7[_0x4af6d7[_0x5cfc8b(0xb4)]=0x0]='IDLE',_0x4af6d7[_0x4af6d7[_0x5cfc8b(0x37c)]=0x1]=_0x5cfc8b(0x37c),_0x4af6d7[_0x4af6d7[_0x5cfc8b(0x99)]=0x2]=_0x5cfc8b(0x99),_0x4af6d7[_0x4af6d7['ONLINE']=0x3]=_0x5cfc8b(0x3ad),_0x4af6d7))(_0x11e1a6||{});const _0x788f55={[_0x46ed92['FAIL']]:_0x5cfc8b(0x82),[_0x46ed92['JOIN_ROOM_FULL']]:_0x5cfc8b(0x3bc),[_0x46ed92[_0x5cfc8b(0x74)]]:'session.room-not-exists',[_0x46ed92['JOIN_ROOM_PERMISSION_DENIED']]:'session.room-permission-denied',[_0x46ed92[_0x5cfc8b(0x2ba)]]:_0x5cfc8b(0xbd)};_0x11943a['CollaborationSession']=class extends _0x7fc923[_0x5cfc8b(0x14b)]{constructor(_0x533e29,_0x45294a,_0x405159,_0x12b61b,_0x3a8272,_0x3c7e1c,_0x4297cc,_0x190220,_0x18ebae){var _0x5d40dd=_0x5cfc8b;super(),_0x2acb83(this,'_sessionStatus$',new _0x277459[(_0x5d40dd(0x116))](0x0)),_0x2acb83(this,_0x5d40dd(0xa4),this[_0x5d40dd(0x35d)][_0x5d40dd(0x1cd)]()),_0x2acb83(this,_0x5d40dd(0x160),new _0x277459[(_0x5d40dd(0x182))]()),_0x2acb83(this,_0x5d40dd(0xc9),this['_event$'][_0x5d40dd(0x1cd)]()),_0x2acb83(this,_0x5d40dd(0x1a2)),_0x2acb83(this,_0x5d40dd(0x1f0)),_0x2acb83(this,_0x5d40dd(0xba)),_0x2acb83(this,'_shouldReportTelemetry',!0x1),_0x2acb83(this,'_telemetryInfo',null),(this['_unitID']=_0x533e29,this[_0x5d40dd(0x259)]=_0x405159,this['_configService']=_0x12b61b,this[_0x5d40dd(0x274)]=_0x3a8272,this[_0x5d40dd(0x322)]=_0x3c7e1c,this['_commentService']=_0x4297cc,this['_collaborationUIEventService']=_0x190220,this['_telemetryService']=_0x18ebae,this[_0x5d40dd(0xc3)]=!!this['_telemetryService'],_0x45294a[_0x5d40dd(0x1db)](_0x277459[_0x5d40dd(0xfc)](this[_0x5d40dd(0x3f3)]))['subscribe'](_0x332491=>{var _0x198b7a=_0x5d40dd,_0x5e0683;typeof _0x332491>'u'||(this[_0x198b7a(0x1a2)]=_0x332491,_0x332491?(this['_joinRoom'](_0x332491),this[_0x198b7a(0x1f0)]=_0x332491[_0x198b7a(0x97)]['subscribe'](_0x4e7273=>{var _0x33ebae=_0x198b7a;_0x4e7273[_0x33ebae(0x77)]===this[_0x33ebae(0x271)]&&this[_0x33ebae(0x3a6)](_0x4e7273);})):(this[_0x198b7a(0xef)](),this[_0x198b7a(0x35d)][_0x198b7a(0x1cb)](0x2),(_0x5e0683=this[_0x198b7a(0x1f0)])==null||_0x5e0683[_0x198b7a(0x1d4)](),this[_0x198b7a(0x1f0)]=null));}));}get[_0x5cfc8b(0x28c)](){var _0x36abfa=_0x5cfc8b;return this[_0x36abfa(0x35d)][_0x36abfa(0x258)]();}['getMemberID'](){var _0x164f8b=_0x5cfc8b,_0x159354,_0x2e2c37;return(_0x2e2c37=(_0x159354=this[_0x164f8b(0x1a2)])==null?void 0x0:_0x159354[_0x164f8b(0x215)])!=null?_0x2e2c37:null;}[_0x5cfc8b(0x26c)](){var _0x4bc3d0=_0x5cfc8b;super['dispose'](),this[_0x4bc3d0(0x3f3)][_0x4bc3d0(0x1cb)](),this['dispose$'][_0x4bc3d0(0x233)]();}[_0x5cfc8b(0x78)](){var _0x3b63f3=_0x5cfc8b,_0x4f1332,_0x401bf7;this[_0x3b63f3(0xef)](),(_0x4f1332=this[_0x3b63f3(0x1a2)])==null||_0x4f1332['send']({'cmd':_0xa80f76[_0x3b63f3(0x119)],'data':{'roomID':this[_0x3b63f3(0x271)]}}),(_0x401bf7=this[_0x3b63f3(0x1a2)])==null||_0x401bf7[_0x3b63f3(0x78)](),this[_0x3b63f3(0x160)][_0x3b63f3(0x233)](),this[_0x3b63f3(0x35d)][_0x3b63f3(0x233)](),this[_0x3b63f3(0x26c)]();}[_0x5cfc8b(0x3a6)](_0x31c85d){var _0x5d1ccb=_0x5cfc8b;_0x31c85d[_0x5d1ccb(0xc6)]===_0xa80f76['JOIN']?this[_0x5d1ccb(0x19f)](_0x31c85d):_0x31c85d[_0x5d1ccb(0xc6)]===_0xa80f76[_0x5d1ccb(0x3b0)]&&this[_0x5d1ccb(0x1fb)](_0x31c85d);}[_0x5cfc8b(0x1e3)](_0x320c4f){var _0x387c38=_0x5cfc8b;this[_0x387c38(0x35d)][_0x387c38(0x1cb)](0x1),_0x320c4f['send']({'cmd':_0xa80f76[_0x387c38(0x21b)],'routeKey':this[_0x387c38(0x271)],'routeType':'','data':{'rooms':[{'roomID':this[_0x387c38(0x271)]}]}});}[_0x5cfc8b(0x19f)](_0xb7527e){var _0x218ae0=_0x5cfc8b,_0x1584bb;if(_0xb7527e[_0x218ae0(0x293)]in _0x788f55){this['_collaborationUIEventService']['emitEvent']({'id':_0x48a145[_0x218ae0(0x323)],'data':_0x788f55[_0xb7527e[_0x218ae0(0x293)]]}),this['_sessionStatus$'][_0x218ae0(0x1cb)](0x2);return;}this[_0x218ae0(0x35d)][_0x218ae0(0x1cb)](0x3);const _0x1fa660=(_0x1584bb=_0xb7527e[_0x218ae0(0x309)][_0x218ae0(0xf1)][this['_unitID']])==null?void 0x0:_0x1584bb[_0x218ae0(0x2e9)];_0x1fa660&&_0x1fa660[_0x218ae0(0x204)](_0x1d72ce=>this[_0x218ae0(0x322)][_0x218ae0(0x100)](this[_0x218ae0(0x271)],_0x1d72ce));}['_onRecvEvent'](_0x5e9de5){var _0x3a7a0d=_0x5cfc8b;try{const _0xad8327=_0x5e9de5[_0x3a7a0d(0x309)];switch(_0xad8327[_0x3a7a0d(0x1ca)]){case _0x2915ae['CollaborationEvent'][_0x3a7a0d(0x3c6)]:this['_onUserJoin'](_0xad8327),this[_0x3a7a0d(0x160)][_0x3a7a0d(0x1cb)](_0xad8327);break;case _0x2915ae['CollaborationEvent']['USERS_LEAVE']:this[_0x3a7a0d(0x130)](_0xad8327),this[_0x3a7a0d(0x160)][_0x3a7a0d(0x1cb)](_0xad8327);break;case _0x2915ae[_0x3a7a0d(0x9a)][_0x3a7a0d(0xb3)]:case _0x2915ae[_0x3a7a0d(0x9a)]['CHANGESET_SHOULD_RETRY']:this['_stopTelemetryCollaborationNewChangeset'](),this[_0x3a7a0d(0x304)](),this[_0x3a7a0d(0x160)]['next'](_0xad8327);break;case _0x2915ae[_0x3a7a0d(0x9a)][_0x3a7a0d(0x3e6)]:this[_0x3a7a0d(0x259)][_0x3a7a0d(0x1de)](_0x3a7a0d(0x25d)+JSON['stringify'](_0xad8327)),this[_0x3a7a0d(0x160)][_0x3a7a0d(0x1cb)](_0xad8327);break;case _0x2915ae[_0x3a7a0d(0x9a)][_0x3a7a0d(0x7d)]:this['_commentService']['onCommentUpdate'](_0xad8327[_0x3a7a0d(0x309)]),this[_0x3a7a0d(0x160)][_0x3a7a0d(0x1cb)](_0xad8327);break;default:this['_event$'][_0x3a7a0d(0x1cb)](_0xad8327);}}catch(_0x119b61){this[_0x3a7a0d(0x259)][_0x3a7a0d(0x1de)](_0x119b61,_0x5e9de5);}}[_0x5cfc8b(0x1e7)](_0x3836b5){var _0x3ef03f=_0x5cfc8b;this['_memberService'][_0x3ef03f(0x100)](this[_0x3ef03f(0x271)],_0x3836b5[_0x3ef03f(0x309)]);}[_0x5cfc8b(0x130)](_0x498edd){var _0x4edf6b=_0x5cfc8b;this[_0x4edf6b(0x322)][_0x4edf6b(0x319)](this[_0x4edf6b(0x271)],_0x498edd[_0x4edf6b(0x309)][_0x4edf6b(0x215)]);}async[_0x5cfc8b(0x208)](_0x498b85,_0x3a59b7){var _0x1ce376=_0x5cfc8b;if(this[_0x1ce376(0x28c)]!==0x3||!this['_socket'])throw new Error(_0x1ce376(0x287));try{_0x498b85[_0x1ce376(0x1ca)]===_0x2915ae['CollaborationEvent']['SUBMIT_CHANGESET']&&(this['_scheduleCollaborationTimeoutTimer'](),this[_0x1ce376(0x39e)](_0x498b85)),this[_0x1ce376(0x1a2)]['send']({'cmd':_0xa80f76[_0x1ce376(0x33f)],'routeKey':_0x3a59b7,'routeType':'','data':_0x498b85});}catch(_0x533355){this['_logService'][_0x1ce376(0x1de)](_0x533355);}}[_0x5cfc8b(0x3dd)](){var _0x389b6c=_0x5cfc8b,_0x12945f;this[_0x389b6c(0xba)]=setTimeout(()=>{var _0x1539e2=_0x389b6c;this[_0x1539e2(0xba)]=null,this['_collaborationUIEventService'][_0x1539e2(0x2aa)]({'id':_0x48a145['SUBMIT_CHANGESET_TIMEOUT']});},(_0x12945f=this['_configService'][_0x389b6c(0x1fc)](_0x94f1d1))!=null?_0x12945f:0x4e20);}[_0x5cfc8b(0x304)](){var _0x44dbd2=_0x5cfc8b;this['_collaborationTimeoutTimer']&&(clearTimeout(this[_0x44dbd2(0xba)]),this['_collaborationTimeoutTimer']=null);}[_0x5cfc8b(0x39e)](_0x2f86e3){var _0x8f20e6=_0x5cfc8b;if(!this[_0x8f20e6(0xc3)])return;const {data:_0x46b691}=_0x2f86e3,{unitID:_0xfd3bb6,changeset:_0x2fc061}=_0x46b691,{mutations:_0x54b1bc,type:_0x2c8af0}=_0x2fc061;this['_telemetryInfo']={'unitId':_0xfd3bb6,'type':_0x2c8af0,'startTime':performance['now'](),'stopTime':0x0,'duration':0x0,'size':_0x56423d(_0x54b1bc)};}['_stopTelemetryCollaborationNewChangeset'](){var _0x23602b=_0x5cfc8b;if(this['_shouldReportTelemetry']){if(!this['_telemetryInfo']){this['_logService']['error'](_0x23602b(0x19c),_0x23602b(0x317));return;}this[_0x23602b(0x321)][_0x23602b(0x1ab)]=performance['now'](),this[_0x23602b(0x321)]['duration']=this[_0x23602b(0x321)][_0x23602b(0x1ab)]-this[_0x23602b(0x321)][_0x23602b(0x37f)],this['_telemetryService'][_0x23602b(0xea)](_0x4792aa,this[_0x23602b(0x321)]),this[_0x23602b(0x321)]=null;}}[_0x5cfc8b(0xef)](){var _0x520f1a=_0x5cfc8b;this[_0x520f1a(0x321)]=null;}},_0x11943a[_0x5cfc8b(0x109)]=_0x55e3ea([_0x1bea8f(0x2,_0x7fc923[_0x5cfc8b(0x3d4)]),_0x1bea8f(0x3,_0x7fc923[_0x5cfc8b(0x146)]),_0x1bea8f(0x4,_0x7fc923[_0x5cfc8b(0x1c1)](_0x7fc923[_0x5cfc8b(0xa6)])),_0x1bea8f(0x5,_0x7fc923[_0x5cfc8b(0x1c1)](_0x11943a['MemberService'])),_0x1bea8f(0x6,_0x7fc923[_0x5cfc8b(0x1c1)](_0x459e03)),_0x1bea8f(0x7,_0x7fc923[_0x5cfc8b(0x1c1)](_0xfbd43f)),_0x1bea8f(0x8,_0x7fc923[_0x5cfc8b(0x11f)](_0x55b14['ITelemetryService']))],_0x11943a[_0x5cfc8b(0x109)]);var _0xcd505=Object[_0x5cfc8b(0x145)],_0x1f280e=(_0x442ed5,_0x2127c5,_0x3a500e,_0x15c14a)=>{var _0x35fa12=_0x5cfc8b;for(var _0x3a09e6=_0x15c14a>0x1?void 0x0:_0x15c14a?_0xcd505(_0x2127c5,_0x3a500e):_0x2127c5,_0x2abd36=_0x442ed5[_0x35fa12(0x17d)]-0x1,_0x481704;_0x2abd36>=0x0;_0x2abd36--)(_0x481704=_0x442ed5[_0x2abd36])&&(_0x3a09e6=_0x481704(_0x3a09e6)||_0x3a09e6);return _0x3a09e6;},_0x4db1d0=(_0x5e01ac,_0x5de417)=>(_0x38cb7b,_0x2f85e8)=>_0x5de417(_0x38cb7b,_0x2f85e8,_0x5e01ac);_0x11943a[_0x5cfc8b(0x31f)]=class extends _0x7fc923['Disposable']{constructor(_0x4af077,_0x33cea8,_0x47bd01,_0x473ab5,_0x3e1b18,_0x26097c){var _0x585962=_0x5cfc8b;super(),_0x2acb83(this,_0x585962(0x1f1),new _0x277459['BehaviorSubject'](void 0x0)),_0x2acb83(this,_0x585962(0xe3),this[_0x585962(0x1f1)]['asObservable']()),_0x2acb83(this,_0x585962(0xe1),null),_0x2acb83(this,_0x585962(0x75),new Map()),_0x2acb83(this,'_status$',new _0x277459['BehaviorSubject'](_0x11e1a6[_0x585962(0xb4)])),_0x2acb83(this,_0x585962(0x2ef),this[_0x585962(0x207)][_0x585962(0x1cd)]()),_0x2acb83(this,_0x585962(0x3df),!0x1),_0x2acb83(this,_0x585962(0x295)),_0x2acb83(this,_0x585962(0x192),0x0),_0x2acb83(this,_0x585962(0x158)),_0x2acb83(this,_0x585962(0x330)),(this[_0x585962(0x176)]=_0x4af077,this[_0x585962(0x259)]=_0x33cea8,this[_0x585962(0x21f)]=_0x47bd01,this[_0x585962(0x3d5)]=_0x473ab5,this[_0x585962(0x1dc)]=_0x3e1b18,this[_0x585962(0x231)]=_0x26097c,this[_0x585962(0x25b)]());}get[_0x5cfc8b(0x1a2)](){var _0x2560a5=_0x5cfc8b;return this[_0x2560a5(0x1f1)][_0x2560a5(0x258)]();}['_listenToNetworkCondition'](){var _0x2ecd26=_0x5cfc8b;this[_0x2ecd26(0x231)]&&this[_0x2ecd26(0xd3)](this[_0x2ecd26(0x231)][_0x2ecd26(0x3c8)]['subscribe'](_0x2e3c8b=>{var _0x4cf0ac=_0x2ecd26;_0x2e3c8b&&!this[_0x4cf0ac(0x1a2)]&&this[_0x4cf0ac(0x36e)](),_0x2e3c8b||this[_0x4cf0ac(0x1df)]();}));}[_0x5cfc8b(0x26c)](){var _0x4002b3=_0x5cfc8b;super[_0x4002b3(0x26c)](),this[_0x4002b3(0x189)](),this[_0x4002b3(0x2f8)](),this[_0x4002b3(0xac)](),this[_0x4002b3(0x75)][_0x4002b3(0x204)](_0x3c697b=>_0x3c697b[_0x4002b3(0x26c)]()),this[_0x4002b3(0x75)]['clear'](),this[_0x4002b3(0x207)][_0x4002b3(0x233)]();}async[_0x5cfc8b(0x328)](_0x4d9a80){var _0x3fb18e=_0x5cfc8b;if(this[_0x3fb18e(0x75)]['has'](_0x4d9a80))return this[_0x3fb18e(0x75)][_0x3fb18e(0x241)](_0x4d9a80);this[_0x3fb18e(0x34d)]();const _0x917556=this['_injector'][_0x3fb18e(0x23d)](_0x11943a[_0x3fb18e(0x109)],_0x4d9a80,this[_0x3fb18e(0x1f1)]['asObservable']());return this[_0x3fb18e(0x75)][_0x3fb18e(0xfa)](_0x4d9a80,_0x917556),_0x917556;}[_0x5cfc8b(0x249)](_0x5d2a33){var _0x10fdbd=_0x5cfc8b,_0x543c26;const _0x14ea65=this[_0x10fdbd(0x75)]['get'](_0x5d2a33);_0x14ea65&&(this[_0x10fdbd(0x75)][_0x10fdbd(0x171)](_0x5d2a33),_0x14ea65['close']()),this[_0x10fdbd(0x75)][_0x10fdbd(0x288)]||(_0x543c26=this['_socket'])==null||_0x543c26['close']();}[_0x5cfc8b(0x36e)](){var _0x1ee739=_0x5cfc8b;this[_0x1ee739(0x192)]=0x0,this[_0x1ee739(0x189)](),this[_0x1ee739(0x230)]();}[_0x5cfc8b(0x189)](){var _0x35baea=_0x5cfc8b;this['_retryConnectingTimer']!=null&&(clearTimeout(this[_0x35baea(0x295)]),this[_0x35baea(0x295)]=null);}async[_0x5cfc8b(0x361)](){var _0x84b656=_0x5cfc8b,_0x51d788,_0x9c485c;const _0x358f37=this[_0x84b656(0x21f)][_0x84b656(0x1fc)](_0x4a1f5b),_0x24e5ee=this[_0x84b656(0x21f)][_0x84b656(0x1fc)](_0x4fd274),_0x5a5943=(_0x9c485c=(_0x51d788=_0x24e5ee==null?void 0x0:_0x24e5ee[_0x84b656(0xc0)])!=null?_0x51d788:_0x358f37)!=null?_0x9c485c:_0x706cdd,_0x47b960=await this[_0x84b656(0x3d5)][_0x84b656(0x19e)](_0x5a5943);return this[_0x84b656(0xe1)]=_0x47b960,_0x47b960;}async[_0x5cfc8b(0x34d)](){var _0x325ed1=_0x5cfc8b,_0x49b5b9,_0x46d838;try{const _0x4f92dc=(_0x46d838=(_0x49b5b9=this[_0x325ed1(0x1a2)])!=null?_0x49b5b9:this[_0x325ed1(0xe1)])!=null?_0x46d838:await this['_createSocket']();if(_0x4f92dc){const _0x5c5b21=_0x4f92dc[_0x325ed1(0x208)];_0x4f92dc[_0x325ed1(0x208)]=_0x460bbd=>(this[_0x325ed1(0x1da)](),_0x5c5b21[_0x325ed1(0x10b)](_0x4f92dc,[_0x460bbd])),_0x4f92dc[_0x325ed1(0x97)][_0x325ed1(0x172)](_0x42c4f8=>this[_0x325ed1(0x19a)](_0x4f92dc,_0x42c4f8)),_0x4f92dc[_0x325ed1(0x1bd)][_0x325ed1(0x1db)](_0x4247e9['take'](0x1))['subscribe'](_0x39863=>this[_0x325ed1(0x259)]['error'](_0x325ed1(0x1e9),_0x39863)),_0x4f92dc[_0x325ed1(0x150)][_0x325ed1(0x1db)](_0x4247e9[_0x325ed1(0x285)](0x1))[_0x325ed1(0x172)](()=>{var _0x58d91f=_0x325ed1;this[_0x58d91f(0xd7)](_0x4f92dc);}),_0x4f92dc[_0x325ed1(0x33e)]['pipe'](_0x4247e9[_0x325ed1(0x285)](0x1))[_0x325ed1(0x172)](_0x18080f=>{var _0x126dcf=_0x325ed1;this[_0x126dcf(0x259)][_0x126dcf(0x262)](_0x126dcf(0x24d),_0x126dcf(0x3ab),_0x18080f),this['_onConnectionFailed']();});}}catch(_0x504b1d){this[_0x325ed1(0x259)][_0x325ed1(0x1de)](_0x504b1d),this[_0x325ed1(0x108)]();}}['_onConnectionOpen'](_0x1a9638){var _0x4d4b59=_0x5cfc8b;this[_0x4d4b59(0x259)][_0x4d4b59(0x262)](_0x4d4b59(0x24d),_0x4d4b59(0x363)),_0x1a9638[_0x4d4b59(0x208)]({'cmd':_0xa80f76['HELLO']}),this[_0x4d4b59(0x1da)]();}['_onOffline'](){var _0xd3585c=_0x5cfc8b;this[_0xd3585c(0x3df)]=!0x1,this[_0xd3585c(0xe1)]=null,this[_0xd3585c(0x207)][_0xd3585c(0x1cb)](_0x11e1a6[_0xd3585c(0x99)]),this[_0xd3585c(0x1f1)][_0xd3585c(0x1cb)](null),this[_0xd3585c(0x2f8)](),this[_0xd3585c(0xac)]();}[_0x5cfc8b(0x108)](){var _0x43e4ab=_0x5cfc8b,_0x417f8c;this['_onOffline'](),this[_0x43e4ab(0x192)]<((_0x417f8c=this[_0x43e4ab(0x21f)]['getConfig'](_0x5e6790))!=null?_0x417f8c:0x3)?(this[_0x43e4ab(0x1dc)][_0x43e4ab(0x2aa)]({'id':_0x48a145[_0x43e4ab(0x1f3)]}),this['_tryReconnect']()):this[_0x43e4ab(0x1dc)]['emitEvent']({'id':_0x48a145[_0x43e4ab(0x167)]});}[_0x5cfc8b(0x230)](){var _0x48ce53=_0x5cfc8b,_0x9cdaee;const _0x4e98b9=this[_0x48ce53(0x192)],_0x4cf719=this[_0x48ce53(0x21f)][_0x48ce53(0x1fc)](_0x4fd274),_0x7b8281=_0x4e98b9===0x0?0x0:((_0x9cdaee=_0x4cf719==null?void 0x0:_0x4cf719[_0x48ce53(0x390)])!=null?_0x9cdaee:0x4e20)*0x2**_0x4e98b9;this[_0x48ce53(0x295)]=setTimeout(()=>{var _0x21bd9a=_0x48ce53;clearTimeout(this[_0x21bd9a(0x295)]),this[_0x21bd9a(0x295)]=null,this['_tryEnsureSocket']();},_0x7b8281),this['_retryCount']+=0x1;}['_onMessage'](_0x4dec62,_0x48b659){var _0x5af71d=_0x5cfc8b;const {cmd:_0x9406c4}=_0x48b659;_0x9406c4===_0xa80f76['HELLO']&&!this[_0x5af71d(0x3df)]&&(_0x4dec62[_0x5af71d(0x215)]=_0x48b659[_0x5af71d(0x309)][_0x5af71d(0x215)],this[_0x5af71d(0x1f1)][_0x5af71d(0x1cb)](_0x4dec62),this['_status$'][_0x5af71d(0x1cb)](_0x11e1a6[_0x5af71d(0x3ad)]),this['_socketReady']=!0x0,this[_0x5af71d(0xe1)]=null),_0x9406c4===_0xa80f76[_0x5af71d(0x38f)]&&this['_clearTimeoutTimer'](),this[_0x5af71d(0x1da)]();}['_rescheduleHeartbeat'](){var _0x19007e=_0x5cfc8b,_0xbd9d01;this[_0x19007e(0xac)](),this[_0x19007e(0x158)]=setTimeout(()=>this[_0x19007e(0x1a5)](),(_0xbd9d01=this[_0x19007e(0x21f)]['getConfig'](_0x5543a6))!=null?_0xbd9d01:0x7530);}[_0x5cfc8b(0x1a5)](){var _0x5e4744=_0x5cfc8b;this['_socket'][_0x5e4744(0x208)]({'cmd':_0xa80f76['HEARTBEAT']}),this['_waitForHeartbeatResponse']();}[_0x5cfc8b(0x2f4)](){var _0x196563=_0x5cfc8b,_0x57be7e;this[_0x196563(0x330)]=setTimeout(()=>this[_0x196563(0x108)](),(_0x57be7e=this[_0x196563(0x21f)][_0x196563(0x1fc)](_0x94f1d1))!=null?_0x57be7e:0x4e20);}['_clearHeartbeatTimer'](){var _0x5c3333=_0x5cfc8b;this[_0x5c3333(0x158)]!=null&&(clearTimeout(this['_sendHeartbeatTimer']),this[_0x5c3333(0x158)]=null);}[_0x5cfc8b(0x2f8)](){var _0x10301c=_0x5cfc8b;this[_0x10301c(0x330)]!=null&&(clearTimeout(this[_0x10301c(0x330)]),this[_0x10301c(0x330)]=null);}},_0x11943a['CollaborationSessionService']=_0x1f280e([_0x4db1d0(0x0,_0x7fc923[_0x5cfc8b(0x1c1)](_0x7fc923['Injector'])),_0x4db1d0(0x1,_0x7fc923[_0x5cfc8b(0x3d4)]),_0x4db1d0(0x2,_0x7fc923['IConfigService']),_0x4db1d0(0x3,_0x1ba504),_0x4db1d0(0x4,_0x7fc923[_0x5cfc8b(0x1c1)](_0xfbd43f)),_0x4db1d0(0x5,_0x7fc923['Optional'](_0x445a74))],_0x11943a['CollaborationSessionService']);const _0x947c0=[];for(let _0x5b9681=0x0;_0x5b9681<0x100;++_0x5b9681)_0x947c0[_0x5cfc8b(0x1b3)]((_0x5b9681+0x100)[_0x5cfc8b(0x396)](0x10)[_0x5cfc8b(0x3f1)](0x1));function _0x392dc0(_0x8ec07b,_0x24f58e=0x0){var _0x435739=_0x5cfc8b;return(_0x947c0[_0x8ec07b[_0x24f58e+0x0]]+_0x947c0[_0x8ec07b[_0x24f58e+0x1]]+_0x947c0[_0x8ec07b[_0x24f58e+0x2]]+_0x947c0[_0x8ec07b[_0x24f58e+0x3]]+'-'+_0x947c0[_0x8ec07b[_0x24f58e+0x4]]+_0x947c0[_0x8ec07b[_0x24f58e+0x5]]+'-'+_0x947c0[_0x8ec07b[_0x24f58e+0x6]]+_0x947c0[_0x8ec07b[_0x24f58e+0x7]]+'-'+_0x947c0[_0x8ec07b[_0x24f58e+0x8]]+_0x947c0[_0x8ec07b[_0x24f58e+0x9]]+'-'+_0x947c0[_0x8ec07b[_0x24f58e+0xa]]+_0x947c0[_0x8ec07b[_0x24f58e+0xb]]+_0x947c0[_0x8ec07b[_0x24f58e+0xc]]+_0x947c0[_0x8ec07b[_0x24f58e+0xd]]+_0x947c0[_0x8ec07b[_0x24f58e+0xe]]+_0x947c0[_0x8ec07b[_0x24f58e+0xf]])[_0x435739(0x1bb)]();}let _0x28812f;const _0x498d3d=new Uint8Array(0x10);function _0x46cc66(){var _0x28afd4=_0x5cfc8b;if(!_0x28812f){if(typeof crypto>'u'||!crypto['getRandomValues'])throw new Error(_0x28afd4(0x26a));_0x28812f=crypto[_0x28afd4(0x37d)][_0x28afd4(0xd0)](crypto);}return _0x28812f(_0x498d3d);}const _0x23a1a8={'randomUUID':typeof crypto<'u'&&crypto[_0x5cfc8b(0x122)]&&crypto[_0x5cfc8b(0x122)][_0x5cfc8b(0xd0)](crypto)};function _0x3c414e(_0x3b4200,_0x450fae,_0x109a99){var _0x124f6a=_0x5cfc8b,_0x34880a,_0x5a8651,_0x379d1b;if(_0x23a1a8[_0x124f6a(0x122)]&&!_0x3b4200)return _0x23a1a8[_0x124f6a(0x122)]();_0x3b4200=_0x3b4200||{};const _0x458fd9=(_0x379d1b=(_0x5a8651=_0x3b4200[_0x124f6a(0x244)])!=null?_0x5a8651:(_0x34880a=_0x3b4200[_0x124f6a(0x334)])==null?void 0x0:_0x34880a[_0x124f6a(0x3ba)](_0x3b4200))!=null?_0x379d1b:_0x46cc66();if(_0x458fd9['length']<0x10)throw new Error(_0x124f6a(0x1a0));return _0x458fd9[0x6]=_0x458fd9[0x6]&0xf|0x40,_0x458fd9[0x8]=_0x458fd9[0x8]&0x3f|0x80,_0x392dc0(_0x458fd9);}const _0x128bfc=_0x7fc923[_0x5cfc8b(0x140)](_0x5cfc8b(0x3f4));function _0x37988d(_0x2582c8){var _0x556b1f=_0x5cfc8b;return _0x556b1f(0xb2)+_0x2582c8;}var _0x3a3959=Object['getOwnPropertyDescriptor'],_0x179779=(_0x437f83,_0xb1ad1d,_0x12f5f4,_0x1cf32a)=>{var _0x159db1=_0x5cfc8b;for(var _0x355889=_0x1cf32a>0x1?void 0x0:_0x1cf32a?_0x3a3959(_0xb1ad1d,_0x12f5f4):_0xb1ad1d,_0x10cd0d=_0x437f83[_0x159db1(0x17d)]-0x1,_0x44b069;_0x10cd0d>=0x0;_0x10cd0d--)(_0x44b069=_0x437f83[_0x10cd0d])&&(_0x355889=_0x44b069(_0x355889)||_0x355889);return _0x355889;},_0x5a0b9e=(_0x2aace3,_0xfd9f6c)=>(_0x480276,_0x54bf85)=>_0xfd9f6c(_0x480276,_0x54bf85,_0x2aace3);function _0x2d10c7(_0x5956f1){var _0x3e218a=_0x5cfc8b;const {unitID:_0x270c12,mutations:_0x4b936b}=_0x5956f1;return{'unitId':_0x270c12,'subUnitId':_0x4b936b[0x0][_0x3e218a(0x1c5)][_0x3e218a(0x1ec)]};}_0x11943a[_0x5cfc8b(0x1dd)]=class{constructor(_0x499294,_0x36ae15,_0x3dc111){var _0x5603d8=_0x5cfc8b;this[_0x5603d8(0x176)]=_0x499294,this['_transformService']=_0x36ae15,this[_0x5603d8(0x1f2)]=_0x3dc111;}['transformSelections'](_0x4ccd50){var _0x276bb4=_0x5cfc8b,_0x5e2371,_0x36c269,_0x250bda,_0xbfed6a;const _0x2936b9=this['_injector'][_0x276bb4(0x241)](_0x333df9[_0x276bb4(0x397)]),{unitId:_0x284910,subUnitId:_0x99cb90}=_0x2d10c7(_0x4ccd50),_0x43b433=_0x2936b9==null?void 0x0:_0x2936b9['getWorkbookSelections'](_0x284910)['getCurrentSelections'](),_0x5c1c55=(_0x36c269=(_0x5e2371=this[_0x276bb4(0x1f2)]['getUnit'](_0x284910))==null?void 0x0:_0x5e2371['getActiveSheet']())==null?void 0x0:_0x36c269[_0x276bb4(0x1b1)]();if(_0x43b433['length']===0x0||!_0x284910||!_0x99cb90)return;const _0x366580=[{'id':_0x333df9['SetSelectionsOperation']['id'],'params':{'unitId':_0x284910,'subUnitId':_0x5c1c55,'selections':_0x7fc923[_0x276bb4(0x237)][_0x276bb4(0x224)](_0x43b433)}}],_0x567409=this[_0x276bb4(0x2c8)]['transformMutationsWithChangeset'](_0x4ccd50,_0x366580);if(!_0x2915ae[_0x276bb4(0x186)](_0x567409))throw _0x567409[_0x276bb4(0x1de)];const _0x2cba3b=(_0xbfed6a=(_0x250bda=_0x567409[_0x276bb4(0x297)][0x0])==null?void 0x0:_0x250bda[_0x276bb4(0x1c5)])==null?void 0x0:_0xbfed6a[_0x276bb4(0x391)];if(Array['isArray'](_0x2cba3b)&&_0x2cba3b['length']){if(_0x2cba3b['length']===_0x366580[0x0]['params'][_0x276bb4(0x391)][_0x276bb4(0x17d)]&&_0x2cba3b['every']((_0x471c5c,_0x1c0112)=>_0x7fc923['Rectangle']['equals'](_0x471c5c['range'],_0x366580[0x0]['params'][_0x276bb4(0x391)][_0x1c0112][_0x276bb4(0xdd)])))return;this[_0x276bb4(0x176)]['get'](_0x7fc923[_0x276bb4(0x175)])['executeCommand'](_0x333df9[_0x276bb4(0x113)]['id'],{'unitId':_0x284910,'subUnitId':_0x5c1c55,'selections':_0x2cba3b});}}},_0x11943a['SheetTransformSelectionsService']=_0x179779([_0x5a0b9e(0x0,_0x7fc923[_0x5cfc8b(0x1c1)](_0x7fc923[_0x5cfc8b(0x98)])),_0x5a0b9e(0x1,_0x2915ae[_0x5cfc8b(0x194)]),_0x5a0b9e(0x2,_0x7fc923[_0x5cfc8b(0x338)])],_0x11943a['SheetTransformSelectionsService']);const _0x187df3=_0x7fc923['createIdentifier']('univer-pro.collaboration-client.single-active-unit-service');var _0x2dc42a=(_0x4e86f7=>(_0x4e86f7[_0x4e86f7[_0x5cfc8b(0x18c)]=0x0]='NO_OTHER_CLIENTS_EDITING',_0x4e86f7[_0x4e86f7[_0x5cfc8b(0x345)]=0x1]=_0x5cfc8b(0x345),_0x4e86f7))(_0x2dc42a||{});const _0x3ec8e3=new Set([_0x333df9['InsertSheetMutation']['id']]);function _0xefa151(_0x10a589,_0x1e6d6b,_0xe3628a,_0x23e3a4,_0xb3e8f8){var _0x3c7419=_0x5cfc8b,_0x50bcb4,_0x539e1f,_0x4a1b2c,_0x33fa3e;const _0x1e58d6=[];for(const _0x22d23e of _0x10a589)if(_0x3ec8e3[_0x3c7419(0x136)](_0x22d23e['id'])){if(_0x1e58d6['length']>0x0)break;_0x1e58d6['push'](_0x22d23e);break;}else _0x1e58d6[_0x3c7419(0x1b3)](_0x22d23e);const _0xcb7773=(_0x539e1f=(_0x50bcb4=_0xb3e8f8[_0x3c7419(0x346)]())==null?void 0x0:_0x50bcb4[_0x3c7419(0xe6)])!=null?_0x539e1f:_0x3c7419(0x331),_0xd4522c=(_0x33fa3e=(_0x4a1b2c=_0xb3e8f8[_0x3c7419(0x346)]())==null?void 0x0:_0x4a1b2c[_0x3c7419(0x215)])!=null?_0x33fa3e:_0x3c7419(0x331);return{'changeset':{'unitID':_0x1e6d6b,'type':_0x2915ae[_0x3c7419(0x104)](_0xe3628a[_0x3c7419(0xf5)](_0x1e6d6b)),'baseRev':_0x23e3a4[_0x3c7419(0x1e1)](_0x1e6d6b),'revision':0x0,'userID':_0xcb7773,'memberID':_0xd4522c,'mutations':_0x1e58d6},'pendingMutations':_0x10a589[_0x3c7419(0x3f1)](_0x1e58d6[_0x3c7419(0x17d)])};}function _0x424b1a(_0xc32404,_0x8dac37,_0x5236d3,_0x92f56c,_0x2cfafb){var _0x3975af=_0x5cfc8b,_0xfc0956,_0x399c2d,_0x3f788e,_0x51f6f8;const _0xf8403a=[_0xc32404[_0x3975af(0x15c)]((_0x2a1748,_0x3c3754)=>{var _0x1fac62=_0x3975af,_0x4ddb6d;const {id:_0x486d90}=_0x2a1748,{id:_0x35155b,type:_0x42b150}=_0x3c3754,_0x311322=(_0x4ddb6d=_0x2a1748['params'])!=null?_0x4ddb6d:{'actions':null},_0x2a0cd4=_0x3c3754['params'];if(_0x486d90&&_0x486d90!==_0x35155b)throw new Error('Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20'+_0x486d90+_0x1fac62(0x31c)+_0x35155b+'.');return{..._0x2a1748,'id':_0x35155b,'type':_0x42b150,'params':{'unitId':_0x2a0cd4[_0x1fac62(0x2ec)],'textRanges':_0x2a0cd4[_0x1fac62(0x2c4)],'actions':_0x7fc923[_0x1fac62(0x1ce)][_0x1fac62(0xa1)](_0x311322[_0x1fac62(0x17f)],_0x2a0cd4[_0x1fac62(0x17f)])}};},{})],_0xf3f4f3=(_0x399c2d=(_0xfc0956=_0x2cfafb[_0x3975af(0x346)]())==null?void 0x0:_0xfc0956[_0x3975af(0xe6)])!=null?_0x399c2d:_0x3975af(0x331),_0x599697=(_0x51f6f8=(_0x3f788e=_0x2cfafb['getCurrentUser']())==null?void 0x0:_0x3f788e['memberID'])!=null?_0x51f6f8:_0x3975af(0x331);return{'changeset':{'unitID':_0x8dac37,'type':_0x2915ae[_0x3975af(0x104)](_0x5236d3[_0x3975af(0xf5)](_0x8dac37)),'baseRev':_0x92f56c[_0x3975af(0x1e1)](_0x8dac37),'revision':0x0,'userID':_0xf3f4f3,'memberID':_0x599697,'mutations':_0xf8403a},'pendingMutations':[]};}function _0x2fb284(_0x455593,_0x2ba4ee){var _0x1af35f=_0x5cfc8b;const _0x50af70=new _0x277459['ReplaySubject'](0x1);return setTimeout(()=>_0x50af70[_0x1af35f(0x1cb)](_0x2ba4ee),_0x455593),_0x50af70[_0x1af35f(0x1cd)]()[_0x1af35f(0x1db)](_0x277459[_0x1af35f(0x285)](0x1));}const _0x3d56ea={'id':_0x333df9['EmptyMutation']['id'],'type':_0x7fc923['CommandType'][_0x5cfc8b(0x1b9)],'params':{}};var _0x27d7ca=Object[_0x5cfc8b(0x145)],_0x403cfe=(_0x777886,_0x3d3be7,_0x3f7dfe,_0x4f829b)=>{for(var _0x398c54=_0x4f829b>0x1?void 0x0:_0x4f829b?_0x27d7ca(_0x3d3be7,_0x3f7dfe):_0x3d3be7,_0x2bd9d5=_0x777886['length']-0x1,_0x5b2e37;_0x2bd9d5>=0x0;_0x2bd9d5--)(_0x5b2e37=_0x777886[_0x2bd9d5])&&(_0x398c54=_0x5b2e37(_0x398c54)||_0x398c54);return _0x398c54;},_0x87b45=(_0x55c932,_0x21e54a)=>(_0x1f87c8,_0x230d10)=>_0x21e54a(_0x1f87c8,_0x230d10,_0x55c932),_0x3a51ad=(_0x5768f1=>(_0x5768f1['NOT_COLLAB']=_0x5cfc8b(0x96),_0x5768f1[_0x5cfc8b(0x36b)]='synced',_0x5768f1[_0x5cfc8b(0x17c)]='pending',_0x5768f1[_0x5cfc8b(0xa2)]=_0x5cfc8b(0x27c),_0x5768f1[_0x5cfc8b(0x289)]=_0x5cfc8b(0x1ef),_0x5768f1[_0x5cfc8b(0xd2)]=_0x5cfc8b(0x2e4),_0x5768f1['CONFLICT']=_0x5cfc8b(0x3bf),_0x5768f1[_0x5cfc8b(0x99)]=_0x5cfc8b(0x2b3),_0x5768f1))(_0x3a51ad||{});const _0x2e31bf=0xea60;class _0x331b87{constructor(_0x234bc7,_0xb320a6,_0x4ad168,_0x5b1b1d,_0x500868,_0x1af52c,_0x4e71da,_0x39c07a,_0x1deb7f){var _0xbaba16=_0x5cfc8b;_0x2acb83(this,_0xbaba16(0x28f),null),_0x2acb83(this,'_pendingMutations',[]),(this[_0xbaba16(0xc8)]=_0x234bc7,this[_0xbaba16(0x393)]=_0xb320a6,this[_0xbaba16(0x164)]=_0x500868,this[_0xbaba16(0x221)]=_0x1af52c,this[_0xbaba16(0x234)]=_0x4e71da,this['_revisionService']=_0x39c07a,this[_0xbaba16(0x9f)]=_0x1deb7f,this[_0xbaba16(0x28f)]=_0x4ad168,this[_0xbaba16(0x23b)]=_0x5b1b1d);}[_0x5cfc8b(0xb0)](_0x1e5024){var _0x6b09cb=_0x5cfc8b;const _0x19218a=this[_0x6b09cb(0x2d7)][_0x6b09cb(0x1e1)](this[_0x6b09cb(0xc8)]);return _0x1e5024[_0x6b09cb(0x269)]>_0x19218a+0x1?(this[_0x6b09cb(0x164)]['onMissingChangesets']({'from':_0x19218a,'to':_0x1e5024[_0x6b09cb(0x269)]-0x1}),!0x0):!0x1;}[_0x5cfc8b(0x22d)](_0x20281e){var _0xbda95e=_0x5cfc8b;this['_undoRedoService'][_0xbda95e(0x25a)](this[_0xbda95e(0xc8)],_0x20281e);}[_0x5cfc8b(0x21a)](_0x51c245){var _0x15930f=_0x5cfc8b,_0x4d5b66,_0x5aa56c;(_0x5aa56c=(_0x4d5b66=this[_0x15930f(0x164)])[_0x15930f(0x235)])==null||_0x5aa56c[_0x15930f(0x3ba)](_0x4d5b66,_0x51c245);}[_0x5cfc8b(0x320)](_0xba747a){var _0x1cd2b4=_0x5cfc8b,_0x43c6b7,_0x41270e;return(_0x41270e=(_0x43c6b7=this['_handler'])[_0x1cd2b4(0x110)])==null?void 0x0:_0x41270e['call'](_0x43c6b7,_0xba747a);}[_0x5cfc8b(0x2f7)](_0x3e19bf){var _0x4b69a1=_0x5cfc8b,_0xb6398c,_0x53ccaa;return(_0x53ccaa=(_0xb6398c=this[_0x4b69a1(0x164)])[_0x4b69a1(0x3d0)])==null?void 0x0:_0x53ccaa[_0x4b69a1(0x3ba)](_0xb6398c,_0x3e19bf);}[_0x5cfc8b(0x369)](_0x392dab){var _0x3cd8dd=_0x5cfc8b,_0x522493,_0x33bfe0,_0x133948;return(_0x133948=(_0x33bfe0=(_0x522493=this['_handler'])[_0x3cd8dd(0x1fe)])==null?void 0x0:_0x33bfe0[_0x3cd8dd(0x3ba)](_0x522493,_0x392dab))!=null?_0x133948:_0x392dab;}[_0x5cfc8b(0x7b)](_0x1e8d56){var _0x5a6578=_0x5cfc8b,_0x22e479,_0x445813,_0x38d715;return(_0x38d715=(_0x445813=(_0x22e479=this[_0x5a6578(0x164)])['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x445813[_0x5a6578(0x3ba)](_0x22e479,_0x1e8d56))!=null?_0x38d715:_0x1e8d56;}['_syncEditingCollabCursor'](_0x4d7207){var _0x572814=_0x5cfc8b,_0x1cf853,_0x4800c5;if(this[_0x572814(0x393)]===_0x57f9ad[_0x572814(0x89)]){const {unitID:_0x5de482,mutations:_0x4f80b3,memberID:_0x4a2740}=_0x4d7207,_0x41f5a0=_0x4f80b3[0x0][_0x572814(0x1c5)][_0x572814(0x2c4)];Array[_0x572814(0x389)](_0x41f5a0)&&_0x41f5a0['length']>0x0&&((_0x4800c5=(_0x1cf853=this['_handler'])['onSyncEditingCollabCursor'])==null||_0x4800c5[_0x572814(0x3ba)](_0x1cf853,{'unitID':_0x5de482,'memberID':_0x4a2740,'textRanges':_0x41f5a0}));}}['_updateLocalCache'](){var _0x37ea99=_0x5cfc8b,_0x38133a;(_0x38133a=this[_0x37ea99(0x9f)])==null||_0x38133a[_0x37ea99(0x305)](this[_0x37ea99(0xc8)],this[_0x37ea99(0x393)],this[_0x37ea99(0x28f)],this[_0x37ea99(0x23b)]);}[_0x5cfc8b(0x1b8)](){var _0x302a7f=_0x5cfc8b;return this[_0x302a7f(0x2d7)][_0x302a7f(0x1e1)](this[_0x302a7f(0xc8)]);}[_0x5cfc8b(0x117)](){var _0x4e4301=_0x5cfc8b;this[_0x4e4301(0x2d7)]['incrementRevOfUnit'](this[_0x4e4301(0xc8)]);}[_0x5cfc8b(0x20d)](_0x307358){var _0x376871=_0x5cfc8b,_0xfc477c;let _0x1bb7de=this[_0x376871(0x369)](_0x307358);_0x1bb7de=this[_0x376871(0x7b)](_0x1bb7de);const _0xa52134=_0x7fc923[_0x376871(0x27a)](_0x1bb7de['mutations'],this[_0x376871(0x221)],{'fromCollab':!0x0});if(!_0xa52134[_0x376871(0x9d)])throw _0xa52134[_0x376871(0x1de)]instanceof Error?_0xa52134[_0x376871(0x1de)]:new Error((_0xfc477c=_0xa52134[_0x376871(0x1de)])!=null?_0xfc477c:'[CollaborationState]:\x20apply\x20error!');this[_0x376871(0x320)](_0x1bb7de),this['_transformStateCache'](_0x1bb7de),this[_0x376871(0x22d)](_0x307358),this[_0x376871(0x21a)](_0x1bb7de),this[_0x376871(0x2d1)](_0x1bb7de),this[_0x376871(0x117)]();}}_0x11943a['SyncedState']=class extends _0x331b87{constructor(_0x24c8cc,_0x39bdde,_0x52ddbc,_0x2ed3ec,_0x118131,_0xe5fd26,_0x2848c6,_0x236856,_0x57a6a5,_0x59771c){var _0x4e52c7=_0x5cfc8b;super(_0x24c8cc,_0x39bdde,null,[],_0x52ddbc,_0x2848c6,_0xe5fd26,_0x2ed3ec,_0x59771c),_0x2acb83(this,_0x4e52c7(0x31b),_0x4e52c7(0x18a)),(this[_0x4e52c7(0x176)]=_0x118131,this[_0x4e52c7(0x259)]=_0x236856,this['_transformService']=_0x57a6a5,this[_0x4e52c7(0x229)]=_0x59771c);}[_0x5cfc8b(0x2ae)](_0x13640d){var _0x41cc73=_0x5cfc8b;const _0x3e9b0d=this[_0x41cc73(0x176)]['createInstance'](_0x11943a[_0x41cc73(0xd4)],this['unitID'],this[_0x41cc73(0x393)],[_0x13640d],this[_0x41cc73(0x164)]);return _0x3e9b0d[_0x41cc73(0x33a)](),_0x3e9b0d[_0x41cc73(0x242)](),_0x3e9b0d;}[_0x5cfc8b(0x1e2)](_0xa4821d){var _0x25b93a=_0x5cfc8b;if(this[_0x25b93a(0xb0)](_0xa4821d))return this[_0x25b93a(0x176)]['createInstance'](_0x11943a['FetchingMissState'],this['unitID'],this[_0x25b93a(0x393)],null,[],null,[_0xa4821d],this[_0x25b93a(0x164)]);try{const _0xa73b32=this['_transformService']['transformMutationsWithChangeset'](_0xa4821d,[_0x3d56ea]);if(_0x2915ae[_0x25b93a(0x186)](_0xa73b32)){const {c1Prime:_0x21ff95}=_0xa73b32;return this['_executeRemoteChangeset'](_0x21ff95),this;}throw _0xa73b32['error'];}catch(_0x4ae28f){return this[_0x25b93a(0x259)]['error'](_0x4ae28f),this['_onConflict'](!0x1);}}[_0x5cfc8b(0x200)](_0x2fcb5d){var _0x402bbd=_0x5cfc8b;return this[_0x402bbd(0x176)][_0x402bbd(0x23d)](_0x11943a[_0x402bbd(0x1f7)],this[_0x402bbd(0xc8)],this[_0x402bbd(0x393)],null,[],this[_0x402bbd(0x164)],_0x2fcb5d);}[_0x5cfc8b(0x1bf)](){var _0x1a006f=_0x5cfc8b;throw new Error(_0x1a006f(0x286));}['onRemoteRej'](){var _0x4403c1=_0x5cfc8b;throw new Error(_0x4403c1(0x360));}[_0x5cfc8b(0x3d8)](){return this;}['toggleOffline'](){var _0x54e2da=_0x5cfc8b;return this[_0x54e2da(0x176)][_0x54e2da(0x23d)](_0x11943a[_0x54e2da(0x299)],this['unitID'],this['type'],null,[],this['_handler']);}['toggleOnline'](){return this;}['resend'](){var _0x728288=_0x5cfc8b;throw new Error(_0x728288(0xd5));}['fetchMiss'](){var _0x17a056=_0x5cfc8b;const _0x2f0a6c=this[_0x17a056(0x2d7)]['getCurrentRevOfUnit'](this[_0x17a056(0xc8)]);return this[_0x17a056(0x164)][_0x17a056(0x307)]({'from':_0x2f0a6c,'to':0x0}),this['_injector'][_0x17a056(0x23d)](_0x11943a[_0x17a056(0x28a)],this[_0x17a056(0xc8)],this[_0x17a056(0x393)],null,[],null,[],this[_0x17a056(0x164)]);}},_0x11943a[_0x5cfc8b(0x339)]=_0x403cfe([_0x87b45(0x3,_0x7fc923[_0x5cfc8b(0x1c1)](_0x2915ae[_0x5cfc8b(0x16b)])),_0x87b45(0x4,_0x7fc923[_0x5cfc8b(0x1c1)](_0x7fc923[_0x5cfc8b(0x98)])),_0x87b45(0x5,_0x7fc923[_0x5cfc8b(0x2da)]),_0x87b45(0x6,_0x7fc923['ICommandService']),_0x87b45(0x7,_0x7fc923[_0x5cfc8b(0x3d4)]),_0x87b45(0x8,_0x2915ae[_0x5cfc8b(0x194)]),_0x87b45(0x9,_0x7fc923['Optional'](_0x128bfc))],_0x11943a[_0x5cfc8b(0x339)]),_0x11943a['PendingState']=class extends _0x331b87{constructor(_0x52fade,_0x4f8748,_0x199146,_0x3564dc,_0xf11e90,_0x180954,_0x45c4d7,_0x4e53df,_0x389421,_0x3f5703,_0x547931,_0x1215c3,_0x186fb1,_0x6698ec){var _0x36dfa1=_0x5cfc8b;super(_0x52fade,_0x4f8748,null,_0x199146,_0x3564dc,_0x389421,_0x186fb1,_0x180954,_0x6698ec),_0x2acb83(this,_0x36dfa1(0x31b),'pending'),_0x2acb83(this,_0x36dfa1(0x1fd),null),_0x2acb83(this,_0x36dfa1(0x1a3),null),(this[_0x36dfa1(0x176)]=_0xf11e90,this['_memberService']=_0x45c4d7,this[_0x36dfa1(0x259)]=_0x4e53df,this[_0x36dfa1(0x21f)]=_0x3f5703,this[_0x36dfa1(0x2c8)]=_0x547931,this['_univerInstanceService']=_0x1215c3);}['appendMutation'](_0x14894f){var _0x3c73a2=_0x5cfc8b;return this[_0x3c73a2(0x23b)]['push'](_0x14894f),this[_0x3c73a2(0x242)](),this;}[_0x5cfc8b(0x1e2)](_0x25eef7){var _0x1e7f68=_0x5cfc8b;if(this[_0x1e7f68(0xb0)](_0x25eef7))return this[_0x1e7f68(0xb8)](),this[_0x1e7f68(0x176)][_0x1e7f68(0x23d)](_0x11943a[_0x1e7f68(0x28a)],this[_0x1e7f68(0xc8)],this[_0x1e7f68(0x393)],null,this['_pendingMutations'],null,[_0x25eef7],this[_0x1e7f68(0x164)]);try{const _0x29d074=this[_0x1e7f68(0x2c8)]['transformMutationsWithChangeset'](_0x25eef7,this['_pendingMutations']);if(_0x2915ae[_0x1e7f68(0x186)](_0x29d074)){const {c1Prime:_0x52a833,m2Prime:_0x1bd245}=_0x29d074;this[_0x1e7f68(0x20d)](_0x52a833);const _0x4453b4=this[_0x1e7f68(0x176)]['createInstance'](_0x11943a[_0x1e7f68(0xd4)],this[_0x1e7f68(0xc8)],this[_0x1e7f68(0x393)],_0x1bd245,this[_0x1e7f68(0x164)]);this[_0x1e7f68(0xb8)]();const _0x54d67f=new Date()['getTime'](),_0x2fb529=this[_0x1e7f68(0x1fd)]?Math[_0x1e7f68(0xa8)](this[_0x1e7f68(0x1fd)]-_0x54d67f,0x0):this[_0x1e7f68(0x1f6)]();return _0x4453b4['_schedule'](_0x2fb529),_0x4453b4;}throw _0x29d074[_0x1e7f68(0x1de)];}catch(_0x3bfb78){return this[_0x1e7f68(0x259)][_0x1e7f68(0x1de)](_0x3bfb78),this['_onConflict'](!0x1);}}[_0x5cfc8b(0x1bf)](){var _0x2cd5a3=_0x5cfc8b;throw new Error(_0x2cd5a3(0x3da));}['onRemoteRej'](){var _0x322902=_0x5cfc8b;throw new Error(_0x322902(0x357));}[_0x5cfc8b(0x3d8)](){return this;}[_0x5cfc8b(0x240)](){var _0x2a4950=_0x5cfc8b;return this[_0x2a4950(0xb8)](),this[_0x2a4950(0x176)][_0x2a4950(0x23d)](_0x11943a[_0x2a4950(0x299)],this[_0x2a4950(0xc8)],this[_0x2a4950(0x393)],null,this[_0x2a4950(0x23b)],this[_0x2a4950(0x164)]);}[_0x5cfc8b(0x105)](){return this;}[_0x5cfc8b(0x33a)](_0x3afd6e){var _0x56a8d4=_0x5cfc8b;const _0x4e38e1=_0x3afd6e!=null?_0x3afd6e:this[_0x56a8d4(0x1f6)]();this[_0x56a8d4(0x1fd)]=new Date()[_0x56a8d4(0x228)]()+_0x4e38e1,this[_0x56a8d4(0x1a3)]=setTimeout(()=>{var _0x35e5a4=_0x56a8d4;this['_clearScheduledTask']();let _0x3e0c76=null;switch(this[_0x35e5a4(0x393)]){case _0x57f9ad[_0x35e5a4(0x2fe)]:{_0x3e0c76=_0xefa151(this[_0x35e5a4(0x23b)],this[_0x35e5a4(0xc8)],this[_0x35e5a4(0x342)],this['_revisionService'],this[_0x35e5a4(0x322)]);break;}case _0x57f9ad[_0x35e5a4(0x89)]:{this[_0x35e5a4(0x23b)][_0x35e5a4(0x1d7)](_0x2ee7ac=>_0x2ee7ac['id']===_0x3e510e[_0x35e5a4(0x366)]['id'])?_0x3e0c76=_0x424b1a(this['_pendingMutations'],this[_0x35e5a4(0xc8)],this[_0x35e5a4(0x342)],this[_0x35e5a4(0x2d7)],this[_0x35e5a4(0x322)]):_0x3e0c76=_0xefa151(this[_0x35e5a4(0x23b)],this[_0x35e5a4(0xc8)],this[_0x35e5a4(0x342)],this[_0x35e5a4(0x2d7)],this[_0x35e5a4(0x322)]);break;}default:throw new Error(_0x35e5a4(0x264)+this[_0x35e5a4(0x393)]+_0x35e5a4(0x36a));}const {changeset:_0x23b191,pendingMutations:_0x491631}=_0x3e0c76;this[_0x35e5a4(0x164)][_0x35e5a4(0x399)](_0x23b191);const _0x3e33f7=_0x491631[_0x35e5a4(0x17d)]?this[_0x35e5a4(0x176)][_0x35e5a4(0x23d)](_0x11943a[_0x35e5a4(0x21e)],this['unitID'],this[_0x35e5a4(0x393)],_0x23b191,_0x491631,this['_handler'],void 0x0):this[_0x35e5a4(0x176)]['createInstance'](_0x11943a[_0x35e5a4(0x13b)],this['unitID'],this[_0x35e5a4(0x393)],_0x23b191,this[_0x35e5a4(0x164)]);_0x3e33f7[_0x35e5a4(0x242)](),this[_0x35e5a4(0x164)][_0x35e5a4(0x2f2)](this,_0x3e33f7);},_0x4e38e1);}[_0x5cfc8b(0x1f6)](){var _0x149299=_0x5cfc8b,_0x5bea57;const _0x241414=this[_0x149299(0x21f)]['getConfig'](_0x4fd274);return(_0x5bea57=_0x241414==null?void 0x0:_0x241414['sendChangesetTimeout'])!=null?_0x5bea57:0x7d0;}[_0x5cfc8b(0x124)](){var _0x42a817=_0x5cfc8b;throw new Error(_0x42a817(0x22c));}['_clearScheduledTask'](){var _0x4cd73c=_0x5cfc8b;this[_0x4cd73c(0x1a3)]!=null&&(clearTimeout(this[_0x4cd73c(0x1a3)]),this[_0x4cd73c(0x1a3)]=null);}[_0x5cfc8b(0x200)](_0x4204e5){var _0x56e2e9=_0x5cfc8b;return this[_0x56e2e9(0xb8)](),this[_0x56e2e9(0x176)][_0x56e2e9(0x23d)](_0x11943a[_0x56e2e9(0x1f7)],this[_0x56e2e9(0xc8)],this[_0x56e2e9(0x393)],null,this[_0x56e2e9(0x23b)],this[_0x56e2e9(0x164)],_0x4204e5);}},_0x11943a['PendingState']=_0x403cfe([_0x87b45(0x4,_0x7fc923[_0x5cfc8b(0x1c1)](_0x7fc923[_0x5cfc8b(0x98)])),_0x87b45(0x5,_0x7fc923['Inject'](_0x2915ae[_0x5cfc8b(0x16b)])),_0x87b45(0x6,_0x7fc923['Inject'](_0x11943a[_0x5cfc8b(0x3ce)])),_0x87b45(0x7,_0x7fc923['ILogService']),_0x87b45(0x8,_0x7fc923[_0x5cfc8b(0x175)]),_0x87b45(0x9,_0x7fc923[_0x5cfc8b(0x146)]),_0x87b45(0xa,_0x2915ae['ITransformService']),_0x87b45(0xb,_0x7fc923[_0x5cfc8b(0x338)]),_0x87b45(0xc,_0x7fc923['IUndoRedoService']),_0x87b45(0xd,_0x7fc923['Optional'](_0x128bfc))],_0x11943a['PendingState']),_0x11943a[_0x5cfc8b(0x13b)]=class extends _0x331b87{constructor(_0x2a5d3e,_0x4bb948,_0x265246,_0x27d2a5,_0xcfa251,_0x487dea,_0x380bf1,_0x469c6c,_0x325746,_0x63a72e,_0x13269e){var _0x1afc8f=_0x5cfc8b;super(_0x2a5d3e,_0x4bb948,_0x265246,[],_0x27d2a5,_0x380bf1,_0x63a72e,_0x487dea,_0x13269e),_0x2acb83(this,_0x1afc8f(0x31b),_0x1afc8f(0x27c)),_0x2acb83(this,_0x1afc8f(0x3de),0x0),_0x2acb83(this,'_resendTimer'),_0x2acb83(this,_0x1afc8f(0x1d8)),(this[_0x1afc8f(0x176)]=_0xcfa251,this[_0x1afc8f(0x259)]=_0x469c6c,this[_0x1afc8f(0x2c8)]=_0x325746);}[_0x5cfc8b(0x2ae)](_0xcd5e78){var _0x4fd0c2=_0x5cfc8b;this[_0x4fd0c2(0xb8)]();const _0x51028f=this['_injector'][_0x4fd0c2(0x23d)](_0x11943a[_0x4fd0c2(0x21e)],this['unitID'],this[_0x4fd0c2(0x393)],this[_0x4fd0c2(0x28f)],[_0xcd5e78],this['_handler'],this[_0x4fd0c2(0x354)]);return _0x51028f[_0x4fd0c2(0x242)](),_0x51028f;}[_0x5cfc8b(0x1e2)](_0x34eec9){var _0x175ecf=_0x5cfc8b;if(this[_0x175ecf(0xb0)](_0x34eec9))return this[_0x175ecf(0xb8)](),this[_0x175ecf(0x176)][_0x175ecf(0x23d)](_0x11943a[_0x175ecf(0x28a)],this[_0x175ecf(0xc8)],this['type'],this[_0x175ecf(0x28f)],[],null,[_0x34eec9],this[_0x175ecf(0x164)]);try{const _0x41a729=this[_0x175ecf(0x2c8)][_0x175ecf(0xb5)]([_0x34eec9],[this[_0x175ecf(0x28f)]],!0x1);if(_0x2915ae[_0x175ecf(0x292)](_0x41a729)){const {c1Prime:_0x24ae63,c2Prime:_0x5cae8a}=_0x41a729;this['_executeRemoteChangeset'](_0x24ae63[0x0]),_0x5cae8a[0x0]['baseRev']=this['_getCurrentRevision'](),this[_0x175ecf(0xb8)]();const _0x5a4a88=this[_0x175ecf(0x176)][_0x175ecf(0x23d)](_0x11943a['AwaitingState'],this[_0x175ecf(0xc8)],this[_0x175ecf(0x393)],_0x5cae8a[0x0],this['_handler']);return _0x5a4a88[_0x175ecf(0x242)](),_0x5a4a88;}return this[_0x175ecf(0x200)](!0x1);}catch(_0x227bf5){return this['_logService']['error'](_0x227bf5),this[_0x175ecf(0x200)](!0x1);}}[_0x5cfc8b(0x1bf)](_0x51dbc4){var _0x40cf16=_0x5cfc8b;this[_0x40cf16(0xb8)]();const _0x1628f9=this[_0x40cf16(0x2d7)][_0x40cf16(0x1e1)](this[_0x40cf16(0xc8)]);if(_0x51dbc4[_0x40cf16(0x269)]<_0x1628f9-0x1)return this;if(this[_0x40cf16(0xb0)](_0x51dbc4))return this[_0x40cf16(0x176)][_0x40cf16(0x23d)](_0x11943a[_0x40cf16(0x28a)],this[_0x40cf16(0xc8)],this[_0x40cf16(0x393)],null,[],this['_awaitingChangeset'],[],this[_0x40cf16(0x164)]);this['_incrementRevisionNumber']();const _0x3398d4=this[_0x40cf16(0x176)]['createInstance'](_0x11943a[_0x40cf16(0x339)],this[_0x40cf16(0xc8)],this['type'],this['_handler']);return _0x3398d4[_0x40cf16(0x242)](),_0x3398d4;}['onRemoteRej'](_0x2785e1){var _0x7df867=_0x5cfc8b;return this[_0x7df867(0x200)](!!(_0x2785e1!=null&&_0x2785e1[_0x7df867(0x3b9)]));}[_0x5cfc8b(0x3d8)](_0x3170e0){var _0x583f29=_0x5cfc8b;return this[_0x583f29(0x3de)]>_0x2e31bf?this[_0x583f29(0x240)]():(this[_0x583f29(0x354)]=_0x2fb284(this[_0x583f29(0x3de)],{'timeout':this[_0x583f29(0x3de)],'reqId':_0x3170e0[_0x583f29(0xed)]}),this[_0x583f29(0x1d8)]=this['_resendTimer'][_0x583f29(0x172)](({reqId:_0x5061f6,timeout:_0x176b61})=>{var _0x53f02d=_0x583f29;this[_0x53f02d(0x17e)](_0x5061f6,_0x176b61);}),this);}[_0x5cfc8b(0x240)](){var _0x31e789=_0x5cfc8b;return this[_0x31e789(0xb8)](),this[_0x31e789(0x176)]['createInstance'](_0x11943a[_0x31e789(0x299)],this[_0x31e789(0xc8)],this[_0x31e789(0x393)],this[_0x31e789(0x28f)],[],this[_0x31e789(0x164)]);}[_0x5cfc8b(0x105)](){return this;}[_0x5cfc8b(0x124)](){var _0x2b3ff8=_0x5cfc8b;this[_0x2b3ff8(0x164)][_0x2b3ff8(0x399)](this[_0x2b3ff8(0x28f)]);}[_0x5cfc8b(0x200)](_0xd929c4){var _0xa5d187=_0x5cfc8b;return this[_0xa5d187(0xb8)](),this[_0xa5d187(0x176)][_0xa5d187(0x23d)](_0x11943a[_0xa5d187(0x1f7)],this[_0xa5d187(0xc8)],this[_0xa5d187(0x393)],this[_0xa5d187(0x28f)],[],this['_handler'],_0xd929c4);}['_resendWithTimeout'](_0x275fcd,_0x28656a){var _0x5550ee=_0x5cfc8b,_0x36480d;_0x275fcd===((_0x36480d=this[_0x5550ee(0x28f)])==null?void 0x0:_0x36480d[_0x5550ee(0xed)])&&(this[_0x5550ee(0x124)](),this[_0x5550ee(0x3de)]=_0x28656a===0x0?0x3e8:_0x28656a*0x2);}['_clearScheduledTask'](){var _0x3b443c=_0x5cfc8b,_0x492939;(_0x492939=this[_0x3b443c(0x1d8)])==null||_0x492939[_0x3b443c(0x1d4)](),this[_0x3b443c(0x3de)]=0x0;}},_0x11943a[_0x5cfc8b(0x13b)]=_0x403cfe([_0x87b45(0x4,_0x7fc923[_0x5cfc8b(0x1c1)](_0x7fc923[_0x5cfc8b(0x98)])),_0x87b45(0x5,_0x7fc923[_0x5cfc8b(0x1c1)](_0x2915ae[_0x5cfc8b(0x16b)])),_0x87b45(0x6,_0x7fc923[_0x5cfc8b(0x175)]),_0x87b45(0x7,_0x7fc923[_0x5cfc8b(0x3d4)]),_0x87b45(0x8,_0x2915ae[_0x5cfc8b(0x194)]),_0x87b45(0x9,_0x7fc923[_0x5cfc8b(0x2da)]),_0x87b45(0xa,_0x7fc923[_0x5cfc8b(0x11f)](_0x128bfc))],_0x11943a[_0x5cfc8b(0x13b)]),_0x11943a[_0x5cfc8b(0x21e)]=class extends _0x331b87{constructor(_0x1fa39a,_0x4e5e98,_0x814125,_0x4e398d,_0x13c8dd,_0x5f2ab6,_0x25aa99,_0x28b1f4,_0x1b05e4,_0x203c6b,_0x2778ee,_0x1cedb5,_0x550e88){var _0x4a58a8=_0x5cfc8b;super(_0x1fa39a,_0x4e5e98,_0x814125,_0x4e398d,_0x13c8dd,_0x1b05e4,_0x1cedb5,_0x28b1f4,_0x550e88),_0x2acb83(this,_0x4a58a8(0x31b),_0x4a58a8(0x1ef)),_0x2acb83(this,_0x4a58a8(0x3de),0x0),_0x2acb83(this,_0x4a58a8(0x354)),_0x2acb83(this,_0x4a58a8(0x1d8)),(this[_0x4a58a8(0x176)]=_0x25aa99,this[_0x4a58a8(0x259)]=_0x203c6b,this[_0x4a58a8(0x2c8)]=_0x2778ee,this[_0x4a58a8(0x229)]=_0x550e88,_0x5f2ab6&&(this[_0x4a58a8(0x354)]=_0x5f2ab6,this[_0x4a58a8(0x1d8)]=this['_resendTimer'][_0x4a58a8(0x172)](({reqId:_0x3f49d0,timeout:_0x4b5c25})=>{var _0x2ecd34=_0x4a58a8;this[_0x2ecd34(0x17e)](_0x3f49d0,_0x4b5c25);})));}[_0x5cfc8b(0x2ae)](_0x152dbd){var _0x4a2de7=_0x5cfc8b;return this[_0x4a2de7(0x23b)][_0x4a2de7(0x1b3)](_0x152dbd),this;}['onRemoteChangeset'](_0x589cfe){var _0x375e93=_0x5cfc8b;if(this[_0x375e93(0xb0)](_0x589cfe))return this[_0x375e93(0xb8)](),this[_0x375e93(0x176)][_0x375e93(0x23d)](_0x11943a[_0x375e93(0x28a)],this[_0x375e93(0xc8)],this['type'],this['_awaitingChangeset'],this['_pendingMutations'],null,[_0x589cfe],this[_0x375e93(0x164)]);try{const _0x253941=this[_0x375e93(0x2c8)][_0x375e93(0xb5)]([_0x589cfe],[this['_awaitingChangeset']],!0x1);if(_0x2915ae['isTransformChangesetsSuccess'](_0x253941)){const {c1Prime:_0x23f633,c2Prime:_0x35a0b4}=_0x253941,_0x464bc9=this['_transformService'][_0x375e93(0x3ea)](_0x23f633[0x0],this[_0x375e93(0x23b)]);if(_0x2915ae[_0x375e93(0x186)](_0x464bc9)){const {c1Prime:_0x53490d,m2Prime:_0x327241}=_0x464bc9;return this[_0x375e93(0x20d)](_0x53490d),_0x35a0b4[0x0][_0x375e93(0x135)]=this[_0x375e93(0x1b8)](),this[_0x375e93(0xb8)](),this[_0x375e93(0x176)][_0x375e93(0x23d)](_0x11943a['AwaitingWithPendingState'],this[_0x375e93(0xc8)],this[_0x375e93(0x393)],_0x35a0b4[0x0],_0x327241,this[_0x375e93(0x164)],void 0x0);}throw _0x464bc9[_0x375e93(0x1de)];}throw _0x253941[_0x375e93(0x1de)];}catch(_0x2912a9){return this[_0x375e93(0x259)][_0x375e93(0x1de)](_0x2912a9),this[_0x375e93(0x200)](!0x1);}}[_0x5cfc8b(0x1bf)](_0x27700c){var _0x52c2ad=_0x5cfc8b;if(this[_0x52c2ad(0xb8)](),this['_checkMissing'](_0x27700c))return this['_injector'][_0x52c2ad(0x23d)](_0x11943a['FetchingMissState'],this['unitID'],this[_0x52c2ad(0x393)],null,this[_0x52c2ad(0x23b)],this[_0x52c2ad(0x28f)],[],this[_0x52c2ad(0x164)]);this[_0x52c2ad(0x117)]();const _0xd023a4=this['_injector'][_0x52c2ad(0x23d)](_0x11943a[_0x52c2ad(0xd4)],this[_0x52c2ad(0xc8)],this[_0x52c2ad(0x393)],this[_0x52c2ad(0x23b)],this[_0x52c2ad(0x164)]);return _0xd023a4[_0x52c2ad(0x33a)](),_0xd023a4[_0x52c2ad(0x242)](),_0xd023a4;}[_0x5cfc8b(0x3d3)](_0x72a748){var _0x115493=_0x5cfc8b;return this[_0x115493(0x200)](!!(_0x72a748!=null&&_0x72a748[_0x115493(0x3b9)]));}[_0x5cfc8b(0x3d8)](_0x3bfb2d){var _0xaffc8c=_0x5cfc8b;return this[_0xaffc8c(0x3de)]>_0x2e31bf?this[_0xaffc8c(0x240)]():(this[_0xaffc8c(0x354)]=_0x2fb284(this[_0xaffc8c(0x3de)],{'timeout':this[_0xaffc8c(0x3de)],'reqId':_0x3bfb2d[_0xaffc8c(0xed)]}),this[_0xaffc8c(0x1d8)]=this[_0xaffc8c(0x354)][_0xaffc8c(0x172)](({reqId:_0x594828,timeout:_0x309acd})=>{var _0x2e57ab=_0xaffc8c;this[_0x2e57ab(0x17e)](_0x594828,_0x309acd);}),this);}[_0x5cfc8b(0x240)](){var _0x9863f=_0x5cfc8b;return this[_0x9863f(0xb8)](),this[_0x9863f(0x176)]['createInstance'](_0x11943a[_0x9863f(0x299)],this[_0x9863f(0xc8)],this[_0x9863f(0x393)],this['_awaitingChangeset'],this[_0x9863f(0x23b)],this[_0x9863f(0x164)]);}[_0x5cfc8b(0x105)](){return this;}[_0x5cfc8b(0x124)](){var _0xfbdc01=_0x5cfc8b;this[_0xfbdc01(0x164)][_0xfbdc01(0x399)](this['_awaitingChangeset']);}['_onConflict'](_0x5ef2ca){var _0x13cbb5=_0x5cfc8b;return this['_clearScheduledTask'](),this[_0x13cbb5(0x176)][_0x13cbb5(0x23d)](_0x11943a['ConflictState'],this[_0x13cbb5(0xc8)],this[_0x13cbb5(0x393)],null,this[_0x13cbb5(0x23b)],this[_0x13cbb5(0x164)],_0x5ef2ca);}[_0x5cfc8b(0x17e)](_0x4ec6d3,_0x5f3cb5){var _0x50b506=_0x5cfc8b,_0xa06933;_0x4ec6d3===((_0xa06933=this[_0x50b506(0x28f)])==null?void 0x0:_0xa06933[_0x50b506(0xed)])&&(this[_0x50b506(0x124)](),this[_0x50b506(0x3de)]=_0x5f3cb5===0x0?0x3e8:_0x5f3cb5*0x2);}[_0x5cfc8b(0xb8)](){var _0x808944=_0x5cfc8b,_0x5bbd16;(_0x5bbd16=this[_0x808944(0x1d8)])==null||_0x5bbd16['unsubscribe'](),this['_resendTimeout']=0x0;}},_0x11943a['AwaitingWithPendingState']=_0x403cfe([_0x87b45(0x6,_0x7fc923[_0x5cfc8b(0x1c1)](_0x7fc923['Injector'])),_0x87b45(0x7,_0x7fc923['Inject'](_0x2915ae['RevisionService'])),_0x87b45(0x8,_0x7fc923['ICommandService']),_0x87b45(0x9,_0x7fc923['ILogService']),_0x87b45(0xa,_0x2915ae['ITransformService']),_0x87b45(0xb,_0x7fc923[_0x5cfc8b(0x2da)]),_0x87b45(0xc,_0x7fc923[_0x5cfc8b(0x11f)](_0x128bfc))],_0x11943a[_0x5cfc8b(0x21e)]),_0x11943a[_0x5cfc8b(0x1f7)]=class extends _0x331b87{constructor(_0x2647dc,_0x9f6700,_0x8dd2a0,_0x2c537e,_0x2883a8,_0x4bee1a=!0x1,_0x3840e5,_0x4ac1af,_0x4f4c73,_0x2c9651,_0x2195b9,_0x25973d,_0x1846e5){var _0x262776=_0x5cfc8b;super(_0x2647dc,_0x9f6700,_0x8dd2a0,_0x2c537e,_0x2883a8,_0x4ac1af,_0x4f4c73,_0x2c9651,_0x1846e5),_0x2acb83(this,_0x262776(0x31b),_0x262776(0x3bf)),(this[_0x262776(0x347)]=_0x4bee1a,this[_0x262776(0x14c)]=_0x3840e5,this[_0x262776(0x274)]=_0x2195b9,this[_0x262776(0x1dc)]=_0x25973d,this[_0x262776(0x229)]=_0x1846e5,this['_showConflictNotification'](),this['_clearLocalCache'](),this['_disableEditing']());}['appendMutation'](){return this;}['onRemoteChangeset'](){return this;}[_0x5cfc8b(0x1bf)](){return this;}[_0x5cfc8b(0x3d3)](){return this;}[_0x5cfc8b(0x3d8)](){return this;}[_0x5cfc8b(0x240)](){return this;}['toggleOnline'](){return this;}['resend'](){var _0x33d7d1=_0x5cfc8b;throw new Error(_0x33d7d1(0x290));}[_0x5cfc8b(0x15a)](){var _0x59c7e2=_0x5cfc8b,_0x403f8e;(_0x403f8e=this['_localCacheService'])==null||_0x403f8e[_0x59c7e2(0x305)](this[_0x59c7e2(0xc8)],this['type'],null,[]);}[_0x5cfc8b(0x2c6)](){var _0x5040e0=_0x5cfc8b;this[_0x5040e0(0x347)]?this[_0x5040e0(0x1dc)][_0x5040e0(0x2aa)]({'id':_0x48a145[_0x5040e0(0x248)]}):this[_0x5040e0(0x1dc)][_0x5040e0(0x2aa)]({'id':_0x48a145[_0x5040e0(0x30f)]});}[_0x5cfc8b(0x205)](){var _0x3a9cde=_0x5cfc8b;this[_0x3a9cde(0x14c)][_0x3a9cde(0x3be)](new _0x333df9[(_0x3a9cde(0x2a9))](this[_0x3a9cde(0xc8)])['id'],!0x1);}},_0x11943a[_0x5cfc8b(0x1f7)]=_0x403cfe([_0x87b45(0x6,_0x7fc923[_0x5cfc8b(0x1c1)](_0x7fc923[_0x5cfc8b(0x20c)])),_0x87b45(0x7,_0x7fc923[_0x5cfc8b(0x175)]),_0x87b45(0x8,_0x7fc923[_0x5cfc8b(0x2da)]),_0x87b45(0x9,_0x7fc923[_0x5cfc8b(0x1c1)](_0x2915ae[_0x5cfc8b(0x16b)])),_0x87b45(0xa,_0x7fc923[_0x5cfc8b(0x1c1)](_0x7fc923[_0x5cfc8b(0xa6)])),_0x87b45(0xb,_0x7fc923[_0x5cfc8b(0x1c1)](_0xfbd43f)),_0x87b45(0xc,_0x7fc923['Optional'](_0x128bfc))],_0x11943a[_0x5cfc8b(0x1f7)]),_0x11943a['OfflineState']=class extends _0x331b87{constructor(_0x464119,_0x4c5d71,_0x37fecb,_0x469945,_0x476983,_0x265fae,_0x3109a0,_0x568084,_0x34732a,_0x1bbf47){var _0x15652f=_0x5cfc8b;super(_0x464119,_0x4c5d71,_0x37fecb,_0x469945,_0x476983,_0x568084,_0x34732a,_0x3109a0,_0x1bbf47),_0x2acb83(this,_0x15652f(0x31b),_0x15652f(0x2b3)),this['_injector']=_0x265fae;}['appendMutation'](_0x2a7661){var _0x57bf98=_0x5cfc8b;return this[_0x57bf98(0x23b)][_0x57bf98(0x1b3)](_0x2a7661),this[_0x57bf98(0x242)](),this;}['onRemoteChangeset'](_0x2bd9ac){var _0x1cc9a1=_0x5cfc8b;throw new Error(_0x1cc9a1(0x24b));}['onRemoteAck'](){var _0x16682d=_0x5cfc8b;throw new Error(_0x16682d(0x1bc));}[_0x5cfc8b(0x3d3)](){throw new Error('[OfflineState]:\x20received\x20rejection.');}[_0x5cfc8b(0x3d8)](){return this;}['toggleOffline'](){return this;}[_0x5cfc8b(0x105)](){var _0x1746f2=_0x5cfc8b;const {_injector:_0x16bd6f,_pendingMutations:_0x576f7c,_awaitingChangeset:_0x583ee7,unitID:_0x47b54b,_handler:_0x2fea9b,type:_0x12fcd2}=this,_0x3c4db0=_0x35d183(_0x16bd6f,_0x47b54b,_0x12fcd2,_0x583ee7,_0x576f7c,_0x2fea9b);return _0x3c4db0 instanceof _0x11943a['PendingState']?_0x3c4db0[_0x1746f2(0x33a)]():(_0x3c4db0 instanceof _0x11943a['AwaitingWithPendingState']||_0x3c4db0 instanceof _0x11943a[_0x1746f2(0x13b)])&&_0x3c4db0[_0x1746f2(0x124)](),_0x3c4db0;}[_0x5cfc8b(0x124)](){throw new Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}},_0x11943a[_0x5cfc8b(0x299)]=_0x403cfe([_0x87b45(0x5,_0x7fc923[_0x5cfc8b(0x1c1)](_0x7fc923[_0x5cfc8b(0x98)])),_0x87b45(0x6,_0x7fc923['Inject'](_0x2915ae[_0x5cfc8b(0x16b)])),_0x87b45(0x7,_0x7fc923[_0x5cfc8b(0x175)]),_0x87b45(0x8,_0x7fc923[_0x5cfc8b(0x2da)]),_0x87b45(0x9,_0x7fc923[_0x5cfc8b(0x11f)](_0x128bfc))],_0x11943a[_0x5cfc8b(0x299)]),_0x11943a[_0x5cfc8b(0x28a)]=class extends _0x331b87{constructor(_0x29d432,_0x546759,_0x4c9572,_0x28422a,_0x4eefa8,_0x3074d1,_0x21ec77,_0x43063f,_0x31a613,_0x13f924,_0x4b9eef,_0x3ce303,_0x114534,_0x62cc1d){var _0x3c4c32=_0x5cfc8b;super(_0x29d432,_0x546759,_0x4c9572,_0x28422a,_0x21ec77,_0x4b9eef,_0x3ce303,_0x31a613,_0x62cc1d),_0x2acb83(this,_0x3c4c32(0x31b),_0x3c4c32(0x2e4)),(this['_acknowledgedAwaitingChangeset']=_0x4eefa8,this[_0x3c4c32(0x340)]=_0x3074d1,this[_0x3c4c32(0x176)]=_0x43063f,this[_0x3c4c32(0x259)]=_0x13f924,this[_0x3c4c32(0x2c8)]=_0x114534,this['localCacheService']=_0x62cc1d);}[_0x5cfc8b(0x2e0)](_0x101048){var _0xa2f7de=_0x5cfc8b;try{const _0x492f48=[..._0x101048,...this[_0xa2f7de(0x340)]],_0x2a3efd=[this[_0xa2f7de(0x28f)]||this[_0xa2f7de(0x11d)]][_0xa2f7de(0x2df)](_0x33b245=>!!_0x33b245);let _0x876b37,_0x28b441;if(_0x2a3efd[_0xa2f7de(0x17d)]){const _0x2045c5=this['_transformService'][_0xa2f7de(0xb5)](_0x492f48,_0x2a3efd,!0x1);if(!_0x2915ae[_0xa2f7de(0x292)](_0x2045c5))throw _0x2045c5[_0xa2f7de(0x1de)];_0x876b37=_0x2045c5['c1Prime'],_0x28b441=_0x2045c5[_0xa2f7de(0x30a)];}else _0x876b37=_0x492f48,_0x28b441=[];let _0x3fd1ad=this[_0xa2f7de(0x23b)];_0x876b37[_0xa2f7de(0x204)](_0x434f82=>{var _0x5dbba5=_0xa2f7de;let _0x419170;if(_0x3fd1ad[_0x5dbba5(0x17d)]){const _0x3399f0=this[_0x5dbba5(0x2c8)]['transformMutationsWithChangeset'](_0x434f82,_0x3fd1ad);if(!_0x2915ae[_0x5dbba5(0x186)](_0x3399f0))throw _0x3399f0[_0x5dbba5(0x1de)];_0x419170=_0x3399f0['c1Prime'],_0x3fd1ad=_0x3399f0[_0x5dbba5(0x297)];}else _0x419170=_0x434f82;this['_executeRemoteChangeset'](_0x419170);}),this[_0xa2f7de(0x11d)]&&this['_incrementRevisionNumber'](),this[_0xa2f7de(0x28f)]&&_0x28b441['length']&&(_0x28b441[0x0][_0xa2f7de(0x135)]=this[_0xa2f7de(0x1b8)]());let _0x3dd910;if(this[_0xa2f7de(0x28f)]&&_0x3fd1ad[_0xa2f7de(0x17d)]!==0x0)_0x3dd910=this['_injector'][_0xa2f7de(0x23d)](_0x11943a[_0xa2f7de(0x21e)],this[_0xa2f7de(0xc8)],this[_0xa2f7de(0x393)],_0x28b441[0x0],_0x3fd1ad,this['_handler'],void 0x0);else{if(this[_0xa2f7de(0x28f)]&&_0x3fd1ad['length']===0x0)_0x28b441[0x0]['baseRev']=this[_0xa2f7de(0x1b8)](),_0x3dd910=this['_injector'][_0xa2f7de(0x23d)](_0x11943a['AwaitingState'],this[_0xa2f7de(0xc8)],this[_0xa2f7de(0x393)],_0x28b441[0x0],this['_handler']);else{if(_0x3fd1ad['length']!==0x0){const _0x3b5d2a=this[_0xa2f7de(0x176)][_0xa2f7de(0x23d)](_0x11943a[_0xa2f7de(0xd4)],this[_0xa2f7de(0xc8)],this[_0xa2f7de(0x393)],_0x3fd1ad,this[_0xa2f7de(0x164)]);_0x3b5d2a['_schedule'](),_0x3dd910=_0x3b5d2a;}else _0x3dd910=this[_0xa2f7de(0x176)][_0xa2f7de(0x23d)](_0x11943a[_0xa2f7de(0x339)],this['unitID'],this[_0xa2f7de(0x393)],this[_0xa2f7de(0x164)]);}}return _0x3dd910[_0xa2f7de(0x242)](),_0x3dd910;}catch(_0x2342ad){return this[_0xa2f7de(0x259)][_0xa2f7de(0x1de)](_0xa2f7de(0x126),'failed\x20to\x20apply\x20missed\x20changesets!',_0x2342ad),this[_0xa2f7de(0x176)]['createInstance'](_0x11943a[_0xa2f7de(0x1f7)],this[_0xa2f7de(0xc8)],this[_0xa2f7de(0x393)],this[_0xa2f7de(0x28f)],this[_0xa2f7de(0x23b)],this[_0xa2f7de(0x164)],!0x1);}}[_0x5cfc8b(0x124)](){var _0xceb930=_0x5cfc8b;throw new Error(_0xceb930(0x3cf));}['appendMutation'](_0x394a60){var _0x135c64=_0x5cfc8b;return this[_0x135c64(0x23b)][_0x135c64(0x1b3)](_0x394a60),this;}['onRemoteChangeset'](_0x5511cf){var _0x3156dd=_0x5cfc8b;return this[_0x3156dd(0x340)][_0x3156dd(0x1b3)](_0x5511cf),this;}[_0x5cfc8b(0x1bf)](_0x11f8ac){var _0x38b660=_0x5cfc8b;if(this['_awaitingChangeset'])return this[_0x38b660(0x11d)]=this[_0x38b660(0x28f)],this[_0x38b660(0x28f)]=null,this;throw new Error('[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!');}[_0x5cfc8b(0x3d3)](_0x3a9746){var _0x5e1041=_0x5cfc8b;return this[_0x5e1041(0x200)](!!(_0x3a9746!=null&&_0x3a9746['isPermissionRej']));}['onRemoteRetry'](){return this;}[_0x5cfc8b(0x240)](){var _0x3ea8d2=_0x5cfc8b;return this[_0x3ea8d2(0x176)]['createInstance'](_0x11943a[_0x3ea8d2(0x299)],this[_0x3ea8d2(0xc8)],this[_0x3ea8d2(0x393)],this[_0x3ea8d2(0x28f)],this['_pendingMutations'],this['_handler']);}[_0x5cfc8b(0x105)](){return this;}[_0x5cfc8b(0x200)](_0x8a2d04){var _0x7e2321=_0x5cfc8b;return this['_injector'][_0x7e2321(0x23d)](_0x11943a[_0x7e2321(0x1f7)],this[_0x7e2321(0xc8)],this[_0x7e2321(0x393)],this[_0x7e2321(0x28f)],this[_0x7e2321(0x23b)],this[_0x7e2321(0x164)],_0x8a2d04);}},_0x11943a[_0x5cfc8b(0x28a)]=_0x403cfe([_0x87b45(0x7,_0x7fc923[_0x5cfc8b(0x1c1)](_0x7fc923[_0x5cfc8b(0x98)])),_0x87b45(0x8,_0x7fc923['Inject'](_0x2915ae[_0x5cfc8b(0x16b)])),_0x87b45(0x9,_0x7fc923[_0x5cfc8b(0x3d4)]),_0x87b45(0xa,_0x7fc923[_0x5cfc8b(0x175)]),_0x87b45(0xb,_0x7fc923['IUndoRedoService']),_0x87b45(0xc,_0x2915ae['ITransformService']),_0x87b45(0xd,_0x7fc923['Optional'](_0x128bfc))],_0x11943a[_0x5cfc8b(0x28a)]);function _0x35d183(_0x1270e3,_0x457e13,_0x46e68b,_0x58affd,_0x279c2d,_0x5e7aad){var _0x4ef0a7=_0x5cfc8b;return _0x58affd&&_0x279c2d[_0x4ef0a7(0x17d)]?_0x1270e3[_0x4ef0a7(0x23d)](_0x11943a[_0x4ef0a7(0x21e)],_0x457e13,_0x46e68b,_0x58affd,_0x279c2d,_0x5e7aad,void 0x0):_0x58affd?_0x1270e3[_0x4ef0a7(0x23d)](_0x11943a[_0x4ef0a7(0x13b)],_0x457e13,_0x46e68b,_0x58affd,_0x5e7aad):_0x279c2d[_0x4ef0a7(0x17d)]?_0x1270e3['createInstance'](_0x11943a['PendingState'],_0x457e13,_0x46e68b,_0x279c2d,_0x5e7aad):_0x1270e3[_0x4ef0a7(0x23d)](_0x11943a[_0x4ef0a7(0x339)],_0x457e13,_0x46e68b,_0x5e7aad);}var _0x3def17=Object[_0x5cfc8b(0x145)],_0x19108b=(_0x1f5605,_0xb5512b,_0x1a7f3c,_0x387db8)=>{for(var _0x5ece72=_0x387db8>0x1?void 0x0:_0x387db8?_0x3def17(_0xb5512b,_0x1a7f3c):_0xb5512b,_0x3a2ef6=_0x1f5605['length']-0x1,_0x33d660;_0x3a2ef6>=0x0;_0x3a2ef6--)(_0x33d660=_0x1f5605[_0x3a2ef6])&&(_0x5ece72=_0x33d660(_0x5ece72)||_0x5ece72);return _0x5ece72;},_0x3f7d3b=(_0x4bcd75,_0x5b2bdb)=>(_0x351e11,_0x1a95d5)=>_0x5b2bdb(_0x351e11,_0x1a95d5,_0x4bcd75);_0x11943a['CollaborationEntity']=class extends _0x7fc923[_0x5cfc8b(0x14b)]{constructor(_0x14c23e,_0x36adee,_0x2e8e2a,_0x2b5851,_0x2d0357,_0x408fe3,_0x38f32d,_0x5f9564,_0x2c9234,_0x318c63,_0x121687,_0x1fdb18,_0xd5a563){var _0x198ccc=_0x5cfc8b;super(),_0x2acb83(this,_0x198ccc(0x1a6),new _0x277459[(_0x198ccc(0x116))](null)),_0x2acb83(this,'state$',this[_0x198ccc(0x1a6)]['asObservable']()),_0x2acb83(this,_0x198ccc(0x2c1)),_0x2acb83(this,_0x198ccc(0x1eb),!0x1),_0x2acb83(this,_0x198ccc(0x374),''),_0x2acb83(this,_0x198ccc(0x8a),0x0),_0x2acb83(this,_0x198ccc(0x2ef),this[_0x198ccc(0x3e3)][_0x198ccc(0x1db)](_0x277459[_0x198ccc(0x1a1)](_0x473410=>_0x473410?_0x473410['status']:_0x3a51ad['OFFLINE']),_0x277459['shareReplay'](0x1))),_0x2acb83(this,_0x198ccc(0x2b5),!0x1),_0x2acb83(this,_0x198ccc(0x344),[]),(this[_0x198ccc(0xc8)]=_0x14c23e,this[_0x198ccc(0x86)]=_0x36adee,this[_0x198ccc(0x371)]=_0x2e8e2a,this['_injector']=_0x2b5851,this['_compressMutationService']=_0x2d0357,this[_0x198ccc(0x274)]=_0x408fe3,this[_0x198ccc(0x2d7)]=_0x38f32d,this[_0x198ccc(0x1a4)]=_0x5f9564,this['_logService']=_0x2c9234,this[_0x198ccc(0x221)]=_0x318c63,this['_permissionService']=_0x121687,this[_0x198ccc(0x325)]=_0x1fdb18,this[_0x198ccc(0x9f)]=_0xd5a563);}get['state'](){var _0x205a52=_0x5cfc8b;return this[_0x205a52(0x2c1)];}async[_0x5cfc8b(0xf8)](){var _0x3bd9cc=_0x5cfc8b;if(this[_0x3bd9cc(0x2d6)])throw new Error(_0x3bd9cc(0x39a));await this[_0x3bd9cc(0x283)]();}[_0x5cfc8b(0x236)](){var _0x5c1124=_0x5cfc8b;return this[_0x5c1124(0x1eb)]=!0x0,_0x7fc923['toDisposable'](()=>{var _0x30e0a8=_0x5c1124;this[_0x30e0a8(0x1eb)]=!0x1,this[_0x30e0a8(0x388)]();});}['onLocalMutation'](_0x4b91ec){this['_onLocalMutation'](_0x4b91ec);}['_updateState'](_0x219134){var _0x174361=_0x5cfc8b;this[_0x174361(0x2c1)]=_0x219134,this[_0x174361(0x1a6)][_0x174361(0x1cb)](_0x219134);}async[_0x5cfc8b(0x283)](){var _0x5a07da=_0x5cfc8b,_0x5ea896;this[_0x5a07da(0x12b)](await this[_0x5a07da(0x152)]()),this[_0x5a07da(0x325)]&&((_0x5ea896=this[_0x5a07da(0x325)])==null||_0x5ea896[_0x5a07da(0x27d)](this[_0x5a07da(0xc8)]),this[_0x5a07da(0xd3)](this['_singleActiveUnitService'][_0x5a07da(0xe8)](this[_0x5a07da(0xc8)])[_0x5a07da(0x172)](_0x56e736=>{var _0xf2347=_0x5a07da;this[_0xf2347(0x259)][_0xf2347(0x262)](_0xf2347(0x15f),_0xf2347(0xf7),_0x56e736),_0x56e736===_0x2dc42a['OTHER_CLIENTS_EDITING']?(this[_0xf2347(0x1a4)][_0xf2347(0x2aa)]({'id':_0x48a145[_0xf2347(0x178)]}),this[_0xf2347(0x14c)][_0xf2347(0x3be)](new _0x333df9[(_0xf2347(0x2a9))](this[_0xf2347(0xc8)])['id'],!0x1),this[_0xf2347(0x14c)][_0xf2347(0x2ea)](!0x1)):(this['_permissionService']['updatePermissionPoint'](new _0x333df9['WorkbookEditablePermission'](this[_0xf2347(0xc8)])['id'],!0x0),this[_0xf2347(0x14c)][_0xf2347(0x2ea)](!0x0));})));let _0x94fadd=!0x1;return this[_0x5a07da(0xd3)](this['session'][_0x5a07da(0xa4)]['subscribe'](_0x566748=>{var _0x1c9764=_0x5a07da;_0x566748===_0x11e1a6['ONLINE']?this[_0x1c9764(0x377)](_0x94fadd):_0x566748===_0x11e1a6[_0x1c9764(0x99)]&&(_0x94fadd=!0x0,this[_0x1c9764(0x243)]());})),this['disposeWithMe'](this['session'][_0x5a07da(0xc9)][_0x5a07da(0x172)](_0x41e984=>{var _0x3714a3=_0x5a07da;try{switch(_0x41e984[_0x3714a3(0x1ca)]){case _0x2915ae[_0x3714a3(0x9a)][_0x3714a3(0x2f5)]:{this['_onRemoteChangeset'](_0x2915ae['parseProtocolChangeset'](_0x41e984['data']));break;}case _0x2915ae[_0x3714a3(0x9a)][_0x3714a3(0xb3)]:{this[_0x3714a3(0x254)](_0x41e984[_0x3714a3(0x309)]);break;}case _0x2915ae[_0x3714a3(0x9a)]['CHANGESET_REJ']:{this[_0x3714a3(0x3ac)]();break;}case _0x2915ae[_0x3714a3(0x9a)][_0x3714a3(0x154)]:{this[_0x3714a3(0x2f9)](_0x41e984[_0x3714a3(0x309)]);break;}case _0x2915ae[_0x3714a3(0x9a)]['PSEUDO_FETCH_MISSING_RESULT']:{this['_onFetchMissResult'](_0x41e984[_0x3714a3(0x309)][_0x3714a3(0x35c)][_0x3714a3(0x1a1)](_0x18afcc=>_0x2915ae[_0x3714a3(0x2cd)](_0x18afcc)));break;}case _0x2915ae[_0x3714a3(0x9a)][_0x3714a3(0x187)]:{this[_0x3714a3(0x3ac)]({'isPermissionRej':!0x0});break;}case _0x2915ae[_0x3714a3(0x9a)]['UNISCRIPT_RUN']:break;}}catch(_0x34a5d3){throw console[_0x3714a3(0x1de)]('Error\x20on\x20receiving\x20event',_0x34a5d3),_0x34a5d3;}})),this['_state'];}['_unlockTransition'](){var _0x1b05c4=_0x5cfc8b;this[_0x1b05c4(0x2b5)]=!0x1;}[_0x5cfc8b(0x184)](){var _0x5861ec=_0x5cfc8b;if(this[_0x5861ec(0x2b5)])throw new Error(_0x5861ec(0x218));this['_transitionLocked']=!0x0;}[_0x5cfc8b(0x209)](_0x1cc025){var _0x3c4807=_0x5cfc8b;this[_0x3c4807(0x184)](),this[_0x3c4807(0x12b)](this['_state']['appendMutation'](_0x1cc025)),this[_0x3c4807(0x316)]();}['_onRemoteChangeset'](_0x3c5e16){var _0x4450b0=_0x5cfc8b;if(!(_0x3c5e16[_0x4450b0(0x269)]<=this['_revisionService']['getCurrentRevOfUnit'](this[_0x4450b0(0xc8)]))){if(this[_0x4450b0(0x1eb)]){this['_remoteChangesetQueue'][_0x4450b0(0x1b3)](_0x3c5e16);return;}this[_0x4450b0(0x2e2)](_0x3c5e16);}}['_exhaustRemoteChangesetQueue'](){var _0xe65b9a=_0x5cfc8b;this[_0xe65b9a(0x344)][_0xe65b9a(0x204)](_0x688d63=>this['_applyRemoteChangeset'](_0x688d63)),this[_0xe65b9a(0x344)]=[];}[_0x5cfc8b(0x2e2)](_0x2d903e){var _0x57f105=_0x5cfc8b;const _0x26ab81=this[_0x57f105(0x280)]['interceptor'][_0x57f105(0x181)](this[_0x57f105(0x280)]['interceptor'][_0x57f105(0x2b4)]()['COMPRESS_MUTATION_APPLY'])(_0x2d903e[_0x57f105(0x349)],null)||_0x2d903e['mutations'],_0x58e753={..._0x2d903e,'mutations':_0x26ab81};this[_0x57f105(0x184)](),this[_0x57f105(0x12b)](this[_0x57f105(0x2c1)][_0x57f105(0x1e2)](_0x58e753)),this[_0x57f105(0x316)]();}[_0x5cfc8b(0x254)](_0x37f916){var _0x3b4ae9=_0x5cfc8b;this['_lockTransition'](),this[_0x3b4ae9(0x12b)](this[_0x3b4ae9(0x2c1)]['onRemoteAck'](_0x37f916)),this[_0x3b4ae9(0x316)]();}[_0x5cfc8b(0x3ac)](_0x214973){var _0x5831c6=_0x5cfc8b;this['_lockTransition'](),this[_0x5831c6(0x12b)](this[_0x5831c6(0x2c1)][_0x5831c6(0x3d3)](_0x214973)),this[_0x5831c6(0x316)]();}[_0x5cfc8b(0x2f9)](_0x1cce29){var _0x3d41d7=_0x5cfc8b;this[_0x3d41d7(0x184)](),this[_0x3d41d7(0x12b)](this['_state'][_0x3d41d7(0x3d8)](_0x1cce29)),this[_0x3d41d7(0x316)]();}[_0x5cfc8b(0x115)](_0x74c591){var _0x3ffc83=_0x5cfc8b;if(!(this['_state']instanceof _0x11943a[_0x3ffc83(0x28a)]))throw new TypeError('[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!');const _0x3d398c=_0x74c591[_0x3ffc83(0x1a1)](_0x57c7e4=>{var _0x20ed9e=_0x3ffc83;const _0xc8dd90=this[_0x20ed9e(0x280)][_0x20ed9e(0x2d5)][_0x20ed9e(0x181)](this[_0x20ed9e(0x280)][_0x20ed9e(0x2d5)][_0x20ed9e(0x2b4)]()[_0x20ed9e(0x30e)])(_0x57c7e4[_0x20ed9e(0x349)],null)||_0x57c7e4['mutations'];return{..._0x57c7e4,'mutations':_0xc8dd90};});this[_0x3ffc83(0x184)](),this[_0x3ffc83(0x12b)](this[_0x3ffc83(0x2c1)][_0x3ffc83(0x2e0)](_0x3d398c)),this['_unlockTransition']();}[_0x5cfc8b(0x243)](){var _0x144aad=_0x5cfc8b;this['_lockTransition'](),this[_0x144aad(0x12b)](this[_0x144aad(0x2c1)]['toggleOffline']()),this['_unlockTransition']();}[_0x5cfc8b(0x377)](_0x23c4b7=!0x1){var _0x41e458=_0x5cfc8b;this[_0x41e458(0x184)](),this[_0x41e458(0x12b)](this[_0x41e458(0x2c1)]['toggleOnline']()),this[_0x41e458(0x316)]();const _0x1e6607=this[_0x41e458(0x2c1)];_0x23c4b7&&_0x1e6607 instanceof _0x11943a['SyncedState']&&(this[_0x41e458(0x184)](),this[_0x41e458(0x12b)](_0x1e6607[_0x41e458(0x14f)]()),this[_0x41e458(0x316)]());}async[_0x5cfc8b(0x152)](){return new Promise(_0x3bb582=>{var _0x462227=_0x5e92;this[_0x462227(0x86)][_0x462227(0xa4)]['pipe'](_0x277459[_0x462227(0x285)](0x1))[_0x462227(0x172)](async _0x434c32=>{var _0x384f0e=_0x462227;_0x3bb582(await this['_createInitialStateImpl'](_0x434c32===_0x11e1a6[_0x384f0e(0x3ad)]));});});}['_createHandler'](){var _0x43f96f=_0x5cfc8b;const _0xc1c021=this[_0x43f96f(0xc8)];return{'onStateChange':(_0x4308c5,_0x145204)=>{var _0x17e4c8=_0x43f96f;if(_0x4308c5!==this['_state'])throw new Error(_0x17e4c8(0x32f)+_0x4308c5[_0x17e4c8(0x31b)]+_0x17e4c8(0x2a7)+_0x145204[_0x17e4c8(0x31b)]+_0x17e4c8(0x25c)+this['_state'][_0x17e4c8(0x31b)]);this['_updateState'](_0x145204);},'onSendChangeset':_0x6327eb=>{var _0xbf536f=_0x43f96f;_0x6327eb[_0xbf536f(0x3c3)]||(_0x6327eb[_0xbf536f(0x3c3)]=this['_changesetSessionId'],_0x6327eb[_0xbf536f(0xed)]=++this[_0xbf536f(0x8a)]);const _0xba27b8={'eventID':_0x2915ae[_0xbf536f(0x9a)][_0xbf536f(0x372)],'data':{'unitID':_0x6327eb[_0xbf536f(0xc8)],'unitType':this['_type'],'changeset':_0x6327eb,'memberID':this[_0xbf536f(0x86)][_0xbf536f(0xbf)]()}};this[_0xbf536f(0x86)][_0xbf536f(0x208)](_0xba27b8,this[_0xbf536f(0xc8)]);},'onMissingChangesets':({from:_0x25f9eb,to:_0x5a0d20})=>{var _0x18c7dc=_0x43f96f;this[_0x18c7dc(0x259)][_0x18c7dc(0x262)](_0x18c7dc(0x15f),_0x18c7dc(0x90)+_0x25f9eb+_0x18c7dc(0x14a)+_0x5a0d20);const _0x2f1164={'eventID':_0x2915ae[_0x18c7dc(0x9a)]['FETCH_MISSING'],'data':{'unitID':_0xc1c021,'unitType':this[_0x18c7dc(0x371)],'from':_0x25f9eb,'to':_0x5a0d20}};this[_0x18c7dc(0x86)][_0x18c7dc(0x208)](_0x2f1164,this[_0x18c7dc(0xc8)]);}};}async[_0x5cfc8b(0x2a1)](_0x5f2a00){var _0xda0b33=_0x5cfc8b,_0x8af85,_0x3954d8,_0xf10b2f;const _0x2c5efb=await((_0x8af85=this[_0xda0b33(0x9f)])==null?void 0x0:_0x8af85['loadOfflineData'](this['unitID'])),_0x271b15=(_0x3954d8=_0x2c5efb==null?void 0x0:_0x2c5efb['mutations'])!=null?_0x3954d8:[],_0x55165f=(_0xf10b2f=_0x2c5efb==null?void 0x0:_0x2c5efb[_0xda0b33(0x214)])!=null?_0xf10b2f:null,_0x1b5b22=!!(_0x55165f!=null&&_0x55165f[_0xda0b33(0x3c3)])&&!!(_0x55165f!=null&&_0x55165f['reqId']);this[_0xda0b33(0x374)]=_0x1b5b22?_0x55165f[_0xda0b33(0x3c3)]:_0x3c414e(),this[_0xda0b33(0x8a)]=_0x1b5b22?_0x55165f[_0xda0b33(0xed)]:0x0;const _0x51fb3f=this[_0xda0b33(0xc8)];try{this[_0xda0b33(0x102)](_0x55165f,_0x271b15);}catch(_0x371822){this[_0xda0b33(0x259)][_0xda0b33(0x1de)](_0x371822);}const _0x100224=this[_0xda0b33(0x3c1)]();if(_0x5f2a00){const _0x8f598c=_0x35d183(this[_0xda0b33(0x176)],_0x51fb3f,this[_0xda0b33(0x371)],_0x55165f,_0x271b15,_0x100224);return _0x8f598c instanceof _0x11943a['PendingState']?_0x8f598c['_schedule']():(_0x8f598c instanceof _0x11943a[_0xda0b33(0x21e)]||_0x8f598c instanceof _0x11943a[_0xda0b33(0x13b)])&&_0x8f598c['resend'](),_0x8f598c;}return this[_0xda0b33(0x176)][_0xda0b33(0x23d)](_0x11943a[_0xda0b33(0x299)],_0x51fb3f,this[_0xda0b33(0x371)],_0x55165f,_0x271b15,_0x100224);}[_0x5cfc8b(0x102)](_0x1a5336,_0x1f2971){var _0x305994=_0x5cfc8b,_0x36a315,_0x5cc621;const _0xbe55f4=this['_compressMutationService'][_0x305994(0x2d5)][_0x305994(0x181)](this['_compressMutationService']['interceptor'][_0x305994(0x2b4)]()[_0x305994(0x30e)]);(_0x36a315=_0xbe55f4((_0x1a5336==null?void 0x0:_0x1a5336[_0x305994(0x349)])||[],null))==null||_0x36a315[_0x305994(0x204)](_0x23f2f1=>this[_0x305994(0x221)][_0x305994(0xcd)](_0x23f2f1['id'],_0x23f2f1[_0x305994(0x1c5)])),(_0x5cc621=_0xbe55f4(_0x1f2971||[],null))==null||_0x5cc621[_0x305994(0x204)](_0xb444b3=>this['_commandService'][_0x305994(0xcd)](_0xb444b3['id'],_0xb444b3['params']));}},_0x11943a[_0x5cfc8b(0x159)]=_0x19108b([_0x3f7d3b(0x3,_0x7fc923[_0x5cfc8b(0x1c1)](_0x7fc923[_0x5cfc8b(0x98)])),_0x3f7d3b(0x4,_0x7fc923[_0x5cfc8b(0x1c1)](_0x2915ae[_0x5cfc8b(0x313)])),_0x3f7d3b(0x5,_0x7fc923['Inject'](_0x7fc923[_0x5cfc8b(0xa6)])),_0x3f7d3b(0x6,_0x7fc923[_0x5cfc8b(0x1c1)](_0x2915ae[_0x5cfc8b(0x16b)])),_0x3f7d3b(0x7,_0x7fc923[_0x5cfc8b(0x1c1)](_0xfbd43f)),_0x3f7d3b(0x8,_0x7fc923[_0x5cfc8b(0x3d4)]),_0x3f7d3b(0x9,_0x7fc923[_0x5cfc8b(0x175)]),_0x3f7d3b(0xa,_0x7fc923['IPermissionService']),_0x3f7d3b(0xb,_0x7fc923['Optional'](_0x187df3)),_0x3f7d3b(0xc,_0x7fc923[_0x5cfc8b(0x11f)](_0x128bfc))],_0x11943a[_0x5cfc8b(0x159)]),_0x11943a[_0x5cfc8b(0xe7)]=class extends _0x11943a[_0x5cfc8b(0x159)]{constructor(_0xa3d852,_0x560356,_0x18a80a,_0xcb9431,_0x33f5ad,_0x4eb299,_0x260664,_0x238fde,_0x2f1a07,_0x51d441,_0x56deb4,_0x2252f9,_0x44ce45){var _0x57364f=_0x5cfc8b;super(_0xa3d852,_0x18a80a,_0x560356,_0xcb9431,_0x33f5ad,_0x4eb299,_0x260664,_0x238fde,_0x2f1a07,_0x51d441,_0x56deb4,_0x2252f9,_0x44ce45),_0x2acb83(this,_0x57364f(0x13a),null),(this[_0x57364f(0xc8)]=_0xa3d852,this['type']=_0x560356);}[_0x5cfc8b(0x315)](_0x157775){var _0x5f20a0=_0x5cfc8b;this[_0x5f20a0(0x13a)]=_0x157775;}[_0x5cfc8b(0x26c)](){var _0x155037=_0x5cfc8b;this[_0x155037(0x13a)]=null,super[_0x155037(0x26c)]();}['_createHandler'](){var _0x321cb5=_0x5cfc8b;const _0x3daf1f=super[_0x321cb5(0x3c1)]();return _0x3daf1f[_0x321cb5(0x110)]=_0x3fdb8e=>{var _0x4e469e=_0x321cb5,_0x5c9639,_0x5f0aa8;return(_0x5f0aa8=(_0x5c9639=this[_0x4e469e(0x13a)])==null?void 0x0:_0x5c9639[_0x4e469e(0x110)])==null?void 0x0:_0x5f0aa8['call'](_0x5c9639,_0x3fdb8e);},_0x3daf1f[_0x321cb5(0x3d0)]=_0x59a107=>{var _0x48b3b3=_0x321cb5,_0xc8b153,_0x18d5dd;return(_0x18d5dd=(_0xc8b153=this[_0x48b3b3(0x13a)])==null?void 0x0:_0xc8b153[_0x48b3b3(0x3d0)])==null?void 0x0:_0x18d5dd[_0x48b3b3(0x3ba)](_0xc8b153,_0x59a107);},_0x3daf1f['onTransformSelections']=_0x58b9c8=>{var _0x25f5da=_0x321cb5,_0x60de8e,_0x1d5e09;return(_0x1d5e09=(_0x60de8e=this['_handlerCallback'])==null?void 0x0:_0x60de8e[_0x25f5da(0x235)])==null?void 0x0:_0x1d5e09[_0x25f5da(0x3ba)](_0x60de8e,_0x58b9c8);},_0x3daf1f[_0x321cb5(0x3cd)]=_0xa6aca=>{var _0x55faee=_0x321cb5,_0x2fc117,_0x4e9f61;return(_0x4e9f61=(_0x2fc117=this[_0x55faee(0x13a)])==null?void 0x0:_0x2fc117[_0x55faee(0x3cd)])==null?void 0x0:_0x4e9f61[_0x55faee(0x3ba)](_0x2fc117,_0xa6aca);},_0x3daf1f[_0x321cb5(0x1fe)]=_0xd97c83=>{var _0x419a69=_0x321cb5,_0x52295c,_0x29115a,_0x4ccf0f;if(!((_0x52295c=this[_0x419a69(0x13a)])!=null&&_0x52295c[_0x419a69(0x1fe)]))throw new Error(_0x419a69(0x2e3));return(_0x4ccf0f=(_0x29115a=this[_0x419a69(0x13a)])==null?void 0x0:_0x29115a['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x4ccf0f[_0x419a69(0x3ba)](_0x29115a,_0xd97c83);},_0x3daf1f[_0x321cb5(0xdc)]=_0x5b12cf=>{var _0x56a418=_0x321cb5,_0x32aaab,_0x34fbf7,_0x395c75;if(!((_0x32aaab=this[_0x56a418(0x13a)])!=null&&_0x32aaab[_0x56a418(0xdc)]))throw new Error('onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x395c75=(_0x34fbf7=this[_0x56a418(0x13a)])==null?void 0x0:_0x34fbf7['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x395c75[_0x56a418(0x3ba)](_0x34fbf7,_0x5b12cf);},_0x3daf1f;}async[_0x5cfc8b(0x283)](){var _0x559170=_0x5cfc8b;const _0x1ff2d1=await super[_0x559170(0x283)]();return this['disposeWithMe'](this[_0x559170(0x221)]['onCommandExecuted']((_0x5bbe56,_0x2ba8d2)=>{var _0x465e4d=_0x559170;if(_0x5bbe56['type']!==_0x7fc923[_0x465e4d(0x2c7)][_0x465e4d(0x1b9)]||_0x2ba8d2!=null&&_0x2ba8d2['fromCollab']||_0x2ba8d2!=null&&_0x2ba8d2[_0x465e4d(0x3a9)]||_0x5bbe56['id']===_0x3e510e[_0x465e4d(0x366)]['id'])return;const _0x44acf0=_0x5bbe56['params'];if((_0x44acf0==null?void 0x0:_0x44acf0[_0x465e4d(0x2ec)])!==this['unitID'])return;const _0x127e0d=_0x5bbe56,_0x4d9211=this[_0x465e4d(0x280)]['interceptor'][_0x465e4d(0x181)](this[_0x465e4d(0x280)][_0x465e4d(0x2d5)][_0x465e4d(0x2b4)]()[_0x465e4d(0x2a6)])([_0x127e0d],null)||[_0x127e0d];this[_0x465e4d(0x209)](_0x4d9211[0x0]);})),_0x1ff2d1;}},_0x11943a[_0x5cfc8b(0xe7)]=_0x19108b([_0x3f7d3b(0x3,_0x7fc923[_0x5cfc8b(0x1c1)](_0x7fc923[_0x5cfc8b(0x98)])),_0x3f7d3b(0x4,_0x7fc923['Inject'](_0x2915ae[_0x5cfc8b(0x313)])),_0x3f7d3b(0x5,_0x7fc923[_0x5cfc8b(0x1c1)](_0x7fc923[_0x5cfc8b(0xa6)])),_0x3f7d3b(0x6,_0x7fc923['Inject'](_0x2915ae[_0x5cfc8b(0x16b)])),_0x3f7d3b(0x7,_0x7fc923[_0x5cfc8b(0x1c1)](_0xfbd43f)),_0x3f7d3b(0x8,_0x7fc923[_0x5cfc8b(0x3d4)]),_0x3f7d3b(0x9,_0x7fc923[_0x5cfc8b(0x175)]),_0x3f7d3b(0xa,_0x7fc923['IPermissionService']),_0x3f7d3b(0xb,_0x7fc923['Optional'](_0x187df3)),_0x3f7d3b(0xc,_0x7fc923[_0x5cfc8b(0x11f)](_0x128bfc))],_0x11943a[_0x5cfc8b(0xe7)]),_0x11943a[_0x5cfc8b(0xde)]=class extends _0x11943a['CollaborationEntity']{constructor(_0x489b6a,_0x960438,_0x1a8750,_0x208444,_0xb2625a,_0x332722,_0xefba7e,_0x368be0,_0x40a2a1,_0x4c36b4,_0x41a4fa,_0xb97acc,_0x55ad76,_0x5e1e7f){var _0x361c96=_0x5cfc8b;super(_0x489b6a,_0x1a8750,_0x960438,_0x208444,_0xb2625a,_0x332722,_0xefba7e,_0x40a2a1,_0x4c36b4,_0x41a4fa,_0xb97acc,_0x55ad76,_0x5e1e7f),this['unitID']=_0x489b6a,this['type']=_0x960438,this[_0x361c96(0x32e)]=_0x368be0;}['_createHandler'](){var _0xdcc74c=_0x5cfc8b;const _0x2473eb=super[_0xdcc74c(0x3c1)]();return _0x2473eb[_0xdcc74c(0x235)]=_0xceec18=>this['_sheetTransformSelectionsService'][_0xdcc74c(0x32b)](_0xceec18),_0x2473eb;}async[_0x5cfc8b(0x283)](){var _0x42a78b=_0x5cfc8b;const _0x4918d6=await super[_0x42a78b(0x283)]();return this[_0x42a78b(0xd3)](this[_0x42a78b(0x221)][_0x42a78b(0x3a2)]((_0x4ae7bb,_0x153764)=>{var _0x25718d=_0x42a78b;if(_0x4ae7bb[_0x25718d(0x393)]!==_0x7fc923[_0x25718d(0x2c7)][_0x25718d(0x1b9)]||_0x153764!=null&&_0x153764[_0x25718d(0x367)]||_0x153764!=null&&_0x153764[_0x25718d(0x3a9)])return;const _0x26ae1b=_0x4ae7bb[_0x25718d(0x1c5)];if((_0x26ae1b==null?void 0x0:_0x26ae1b[_0x25718d(0x2ec)])!==this[_0x25718d(0xc8)])return;const _0x41f6f6=_0x4ae7bb,_0x31b367=this[_0x25718d(0x280)][_0x25718d(0x2d5)][_0x25718d(0x181)](this[_0x25718d(0x280)][_0x25718d(0x2d5)][_0x25718d(0x2b4)]()[_0x25718d(0x2a6)])([_0x41f6f6],null)||[_0x41f6f6];this[_0x25718d(0x209)](_0x31b367[0x0]);})),_0x4918d6;}},_0x11943a[_0x5cfc8b(0xde)]=_0x19108b([_0x3f7d3b(0x3,_0x7fc923[_0x5cfc8b(0x1c1)](_0x7fc923[_0x5cfc8b(0x98)])),_0x3f7d3b(0x4,_0x7fc923[_0x5cfc8b(0x1c1)](_0x2915ae[_0x5cfc8b(0x313)])),_0x3f7d3b(0x5,_0x7fc923['Inject'](_0x7fc923['LocaleService'])),_0x3f7d3b(0x6,_0x7fc923[_0x5cfc8b(0x1c1)](_0x2915ae['RevisionService'])),_0x3f7d3b(0x7,_0x7fc923[_0x5cfc8b(0x1c1)](_0x11943a['SheetTransformSelectionsService'])),_0x3f7d3b(0x8,_0x7fc923[_0x5cfc8b(0x1c1)](_0xfbd43f)),_0x3f7d3b(0x9,_0x7fc923[_0x5cfc8b(0x3d4)]),_0x3f7d3b(0xa,_0x7fc923[_0x5cfc8b(0x175)]),_0x3f7d3b(0xb,_0x7fc923[_0x5cfc8b(0x20c)]),_0x3f7d3b(0xc,_0x7fc923[_0x5cfc8b(0x11f)](_0x187df3)),_0x3f7d3b(0xd,_0x7fc923[_0x5cfc8b(0x11f)](_0x128bfc))],_0x11943a[_0x5cfc8b(0xde)]);var _0x205699=Object[_0x5cfc8b(0x145)],_0x3bd425=(_0x15f61c,_0x215ece,_0x32a698,_0x5ba81a)=>{var _0x3dc5b2=_0x5cfc8b;for(var _0x399933=_0x5ba81a>0x1?void 0x0:_0x5ba81a?_0x205699(_0x215ece,_0x32a698):_0x215ece,_0x14cc3e=_0x15f61c[_0x3dc5b2(0x17d)]-0x1,_0x788453;_0x14cc3e>=0x0;_0x14cc3e--)(_0x788453=_0x15f61c[_0x14cc3e])&&(_0x399933=_0x788453(_0x399933)||_0x399933);return _0x399933;},_0x5cb9b9=(_0x355685,_0x16b1e9)=>(_0x3df2c6,_0x5a793f)=>_0x16b1e9(_0x3df2c6,_0x5a793f,_0x355685);_0x11943a[_0x5cfc8b(0x279)]=class extends _0x7fc923[_0x5cfc8b(0x14b)]{constructor(_0x276762,_0x260aff,_0x28a2c6){var _0x52414d=_0x5cfc8b;super(),_0x2acb83(this,'_entities',new Map()),_0x2acb83(this,_0x52414d(0x2b0),new _0x277459[(_0x52414d(0x182))]()),_0x2acb83(this,_0x52414d(0x18e),this['_entityInit$'][_0x52414d(0x1cd)]()),(this['_injector']=_0x276762,this[_0x52414d(0x196)]=_0x260aff,this['_univerInstanceService']=_0x28a2c6,this[_0x52414d(0x283)]());}['dispose'](){var _0x159abd=_0x5cfc8b;super['dispose'](),this['_entities'][_0x159abd(0x204)](_0x2ffa61=>_0x2ffa61['dispose']()),this[_0x159abd(0x92)][_0x159abd(0x395)]();}[_0x5cfc8b(0x13f)](_0x2b67dd){var _0x22e59e=_0x5cfc8b,_0x50cff5;return(_0x50cff5=this['_entities'][_0x22e59e(0x241)](_0x2b67dd))!=null?_0x50cff5:null;}['getCollabEntity$'](_0x3f27fa){var _0x4b925b=_0x5cfc8b;const _0x46e43a=this[_0x4b925b(0x13f)](_0x3f27fa);return _0x46e43a?_0x277459['of'](_0x46e43a):this[_0x4b925b(0x2b0)][_0x4b925b(0x1db)](_0x4247e9[_0x4b925b(0x2df)](_0x3c0c9f=>_0x3c0c9f['unitID']===_0x3f27fa));}[_0x5cfc8b(0x3cb)](_0x4e7070){var _0x185022=_0x5cfc8b;return _0x277459[_0x185022(0x1b5)](this[_0x185022(0x13e)](_0x4e7070)[_0x185022(0x1db)](_0x4247e9[_0x185022(0x1a1)](()=>{})));}[_0x5cfc8b(0x283)](){var _0x215690=_0x5cfc8b;this[_0x215690(0x342)][_0x215690(0xf0)](_0x7fc923['UniverInstanceType'][_0x215690(0x2fe)])['pipe'](_0x277459[_0x215690(0xfc)](this['dispose$']),_0x4247e9[_0x215690(0x3dc)](0x10))[_0x215690(0x172)](async _0xdf7f6e=>{var _0x1a0eaf=_0x215690;const _0x380998=_0xdf7f6e[_0x1a0eaf(0x202)](),_0x625438=await this[_0x1a0eaf(0x23a)](_0x380998,_0x57f9ad[_0x1a0eaf(0x2fe)]);this['_entities'][_0x1a0eaf(0xfa)](_0x380998,_0x625438);}),this[_0x215690(0x342)][_0x215690(0xf0)](_0x7fc923[_0x215690(0x1f8)][_0x215690(0x89)])['pipe'](_0x277459['takeUntil'](this[_0x215690(0x3f3)]),_0x4247e9[_0x215690(0x3dc)](0x10))[_0x215690(0x1db)](_0x4247e9[_0x215690(0x2df)](_0x2f2b25=>!_0x2f2b25['getUnitId']()[_0x215690(0x128)]('__')))[_0x215690(0x172)](async _0x5345a6=>{var _0x89b7b2=_0x215690;const _0x441004=_0x5345a6[_0x89b7b2(0x202)](),_0x2b8bd5=await this[_0x89b7b2(0x23a)](_0x441004,_0x57f9ad[_0x89b7b2(0x89)]);this[_0x89b7b2(0x92)]['set'](_0x441004,_0x2b8bd5);}),_0x277459[_0x215690(0x260)](this[_0x215690(0x342)]['getTypeOfUnitDisposed$'](_0x7fc923[_0x215690(0x1f8)][_0x215690(0x2fe)]),this[_0x215690(0x342)]['getTypeOfUnitDisposed$'](_0x7fc923[_0x215690(0x1f8)][_0x215690(0x89)]))[_0x215690(0x1db)](_0x277459[_0x215690(0xfc)](this[_0x215690(0x3f3)]))[_0x215690(0x172)](_0x33721c=>{var _0x687f22=_0x215690;const _0x560e90=_0x33721c[_0x687f22(0x202)](),_0x53ec08=this[_0x687f22(0x92)][_0x687f22(0x241)](_0x560e90);_0x53ec08&&(_0x53ec08[_0x687f22(0x26c)](),this['_entities']['delete'](_0x560e90));});}async['_startCollaboration'](_0x205561,_0x4ed1f0){var _0x3a87e1=_0x5cfc8b;const _0x399df4=await this[_0x3a87e1(0x196)][_0x3a87e1(0x328)](_0x205561),_0xd6daf1=this[_0x3a87e1(0x176)][_0x3a87e1(0x23d)](this['_getCtorByUniverType'](_0x4ed1f0),_0x205561,_0x4ed1f0,_0x399df4);return await _0xd6daf1[_0x3a87e1(0xf8)](),this[_0x3a87e1(0x2b0)][_0x3a87e1(0x1cb)](_0xd6daf1),_0xd6daf1;}[_0x5cfc8b(0x275)](_0x455f58){var _0x523cf3=_0x5cfc8b;switch(_0x455f58){case _0x57f9ad[_0x523cf3(0x89)]:return _0x11943a['DocCollaborationEntity'];case _0x57f9ad[_0x523cf3(0x2fe)]:return _0x11943a[_0x523cf3(0xde)];default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0x455f58);}}},_0x11943a[_0x5cfc8b(0x279)]=_0x3bd425([_0x5cb9b9(0x0,_0x7fc923[_0x5cfc8b(0x1c1)](_0x7fc923[_0x5cfc8b(0x98)])),_0x5cb9b9(0x1,_0x7fc923[_0x5cfc8b(0x1c1)](_0x11943a[_0x5cfc8b(0x31f)])),_0x5cb9b9(0x2,_0x7fc923[_0x5cfc8b(0x338)])],_0x11943a['CollaborationController']);var _0x3a74e1=Object[_0x5cfc8b(0x145)],_0x4ee264=(_0x2e4af5,_0x2a4659,_0x22f828,_0x129795)=>{for(var _0x41f0ed=_0x129795>0x1?void 0x0:_0x129795?_0x3a74e1(_0x2a4659,_0x22f828):_0x2a4659,_0xbaa549=_0x2e4af5['length']-0x1,_0x311f1e;_0xbaa549>=0x0;_0xbaa549--)(_0x311f1e=_0x2e4af5[_0xbaa549])&&(_0x41f0ed=_0x311f1e(_0x41f0ed)||_0x41f0ed);return _0x41f0ed;},_0x233100=(_0x2934be,_0x38a076)=>(_0x2191f7,_0x5c2425)=>_0x38a076(_0x2191f7,_0x5c2425,_0x2934be);const _0x124859=_0x5cfc8b(0x3a0),_0x5409ae=_0x5cfc8b(0x31a);let _0x1e0a5a=class extends _0x7fc923[_0x5cfc8b(0x8e)]{constructor(_0x22e5cb,_0x26e01f){var _0x3130dd=_0x5cfc8b;super(),this[_0x3130dd(0x342)]=_0x22e5cb,this[_0x3130dd(0x21f)]=_0x26e01f,this['_init']();}['_init'](){var _0x121d85=_0x5cfc8b;this['disposeWithMe'](this[_0x121d85(0x342)][_0x121d85(0x125)][_0x121d85(0x172)](()=>{var _0x1cb2ad=_0x121d85,_0x3fb8f0;const _0x133316=this[_0x1cb2ad(0x342)][_0x1cb2ad(0x1b0)]();let _0x2c9e0e=(_0x3fb8f0=this[_0x1cb2ad(0x21f)]['getConfig'](_0x124859))!=null?_0x3fb8f0:_0x5409ae;_0x133316 instanceof _0x7fc923[_0x1cb2ad(0x18f)]&&(_0x2c9e0e=_0x133316[_0x1cb2ad(0x121)]),document[_0x1cb2ad(0x10e)]=_0x2c9e0e;}));}};_0x1e0a5a=_0x4ee264([_0x233100(0x0,_0x7fc923[_0x5cfc8b(0x338)]),_0x233100(0x1,_0x7fc923[_0x5cfc8b(0x146)])],_0x1e0a5a);var _0x1600b5=Object[_0x5cfc8b(0x145)],_0x563f03=(_0x132b49,_0x1bd341,_0x5add30,_0x47e782)=>{for(var _0x4577bc=_0x47e782>0x1?void 0x0:_0x47e782?_0x1600b5(_0x1bd341,_0x5add30):_0x1bd341,_0x384039=_0x132b49['length']-0x1,_0x5cd259;_0x384039>=0x0;_0x384039--)(_0x5cd259=_0x132b49[_0x384039])&&(_0x4577bc=_0x5cd259(_0x4577bc)||_0x4577bc);return _0x4577bc;},_0x2c003a=(_0x3fa709,_0xf945c3)=>(_0x2c2d5f,_0x411812)=>_0xf945c3(_0x2c2d5f,_0x411812,_0x3fa709);let _0x27512b=class{constructor(_0x44c042,_0x576026,_0x1fe31c){var _0x469ef3=_0x5cfc8b;this[_0x469ef3(0x21f)]=_0x44c042,this[_0x469ef3(0x22e)]=_0x576026,this[_0x469ef3(0x2a8)]=_0x1fe31c,this['init']();}[_0x5cfc8b(0xf8)](){var _0x36e7b0=_0x5cfc8b;this['_httpService']['registerHTTPInterceptor']({'priority':0x1,'interceptor':(_0x40661c,_0x13f599)=>_0x13f599(_0x40661c)[_0x36e7b0(0x1db)](_0x277459[_0x36e7b0(0x352)](async _0x3e7165=>{var _0x497c2a=_0x36e7b0;const _0x317bf6=_0x3e7165;if(_0x317bf6['status']===0x191){if(typeof window>'u')throw new Error(_0x497c2a(0x365));if(window[_0x497c2a(0x36d)](this[_0x497c2a(0x2a8)]['t'](_0x497c2a(0xca)))){const _0x16df45=window[_0x497c2a(0x71)](window[_0x497c2a(0xfb)][_0x497c2a(0xcc)]);window[_0x497c2a(0xfb)][_0x497c2a(0xcc)]=this[_0x497c2a(0xf6)]()+_0x497c2a(0x1f5)+_0x16df45;}}return _0x317bf6;}))});}[_0x5cfc8b(0xf6)](){var _0x449eff=_0x5cfc8b,_0x46cfbc,_0x543fc3;const _0x4181c9=this[_0x449eff(0x21f)][_0x449eff(0x1fc)](_0x332ec6),_0x225565=this[_0x449eff(0x21f)]['getConfig'](_0x4fd274);return(_0x543fc3=(_0x46cfbc=_0x225565==null?void 0x0:_0x225565[_0x449eff(0x2f0)])!=null?_0x46cfbc:_0x4181c9)!=null?_0x543fc3:_0x13b5d5;}};_0x27512b=_0x563f03([_0x2c003a(0x0,_0x7fc923['IConfigService']),_0x2c003a(0x1,_0x7fc923['Inject'](_0x39fb06[_0x5cfc8b(0x2f3)])),_0x2c003a(0x2,_0x7fc923['Inject'](_0x7fc923[_0x5cfc8b(0xa6)]))],_0x27512b);var _0x9658=Object['getOwnPropertyDescriptor'],_0x400dfd=(_0x5d8dd3,_0x236143,_0x3c9545,_0x148aa2)=>{var _0x4b6ce4=_0x5cfc8b;for(var _0x3c99eb=_0x148aa2>0x1?void 0x0:_0x148aa2?_0x9658(_0x236143,_0x3c9545):_0x236143,_0x74b932=_0x5d8dd3[_0x4b6ce4(0x17d)]-0x1,_0x561f31;_0x74b932>=0x0;_0x74b932--)(_0x561f31=_0x5d8dd3[_0x74b932])&&(_0x3c99eb=_0x561f31(_0x3c99eb)||_0x3c99eb);return _0x3c99eb;},_0x53ea52=(_0x15dfa0,_0x4ecbed)=>(_0x189d49,_0x32d99e)=>_0x4ecbed(_0x189d49,_0x32d99e,_0x15dfa0);const _0x36a4a8=_0x5cfc8b(0xaa),_0x289e2d=_0x5cfc8b(0x261);_0x11943a['AuthzIoHttpService']=class extends _0x7fc923[_0x5cfc8b(0x8e)]{constructor(_0x50bc0e,_0x41d8ef){var _0x59f4de=_0x5cfc8b;super(),this['_HTTPService']=_0x50bc0e,this[_0x59f4de(0x21f)]=_0x41d8ef,this[_0x59f4de(0xc5)]();}[_0x5cfc8b(0xc5)](){var _0xd3b628=_0x5cfc8b;const _0x59ff10=this;this['disposeWithMe'](this[_0xd3b628(0x137)][_0xd3b628(0x2b6)]({'priority':0x3e7,'interceptor':_0x39fb06['MergeInterceptorFactory']({'isMatch'(_0x226b9d){var _0x415e4e=_0xd3b628,_0x7def25;if(_0x226b9d[_0x415e4e(0x20f)]===_0x415e4e(0x2e6)&&((_0x7def25=_0x226b9d[_0x415e4e(0x370)])!=null&&_0x7def25[_0x415e4e(0x191)])){const {objectID:_0x5ef485,objectType:_0x95024b}=_0x226b9d[_0x415e4e(0x370)][_0x415e4e(0x191)]||{};if(!_0x5ef485||_0x95024b===void 0x0)return!0x1;const _0x328855=_0x59ff10[_0x415e4e(0x368)]()+'/'+_0x95024b+'/object/'+_0x5ef485+_0x415e4e(0x353);if(_0x226b9d[_0x415e4e(0x3b4)]===_0x328855)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x34b3ed){var _0x29a639=_0xd3b628,_0x5c5fbf;return(_0x5c5fbf=_0x34b3ed[_0x29a639(0x370)])==null?void 0x0:_0x5c5fbf[_0x29a639(0x191)];},'mergeParamsToRequest'(_0x50f586,_0xd74240){var _0x2040f1=_0xd3b628;const _0x54b49c=_0x59ff10[_0x2040f1(0x368)]()+_0x2040f1(0x226),_0x3d9016=_0x50f586['reduce']((_0x4f711c,_0x548901)=>{var _0x38a904=_0x2040f1;const {unitID:_0x2f0875,objectID:_0x24a750,objectType:_0x13daae,actions:_0x4c10e9}=_0x548901;return _0x4f711c[_0x2f0875]||(_0x4f711c[_0x2f0875]={}),_0x4f711c[_0x2f0875][_0x24a750]||(_0x4f711c[_0x2f0875][_0x24a750]={'objectID':_0x24a750,'objectType':_0x13daae,'actions':[]}),_0x4f711c[_0x2f0875][_0x24a750][_0x38a904(0x17f)][_0x38a904(0x1b3)](..._0x4c10e9),_0x4f711c;},{}),_0x333016=[];for(const _0xecd06e in _0x3d9016)for(const _0x1365eb in _0x3d9016[_0xecd06e]){const {actions:_0x5ef038,objectType:_0x21d5c3}=_0x3d9016[_0xecd06e][_0x1365eb],_0x2a6973=[...new Set(_0x5ef038)];_0x333016['push']({'unitID':_0xecd06e,'objectID':_0x1365eb,'objectType':_0x21d5c3,'actions':_0x2a6973});}return new _0x39fb06[(_0x2040f1(0x2eb))](_0x2040f1(0x2e6),_0x54b49c,{'headers':_0xd74240[_0x2040f1(0x170)],'withCredentials':_0xd74240['withCredentials'],'responseType':_0xd74240[_0x2040f1(0x310)],'body':{'requests':_0x333016}});}},{'distributeResult'(_0x28462e,_0x2b6719){var _0x59d70f=_0xd3b628;const {objectActions:_0x131ac8}=_0x28462e;return _0x2b6719[_0x59d70f(0x1a1)](_0x40603e=>{var _0xf297c2=_0x59d70f;const {unitID:_0x1f7ee4,objectID:_0x2cf533,actions:_0x46cb1b}=_0x40603e,_0x39371a=_0x131ac8[_0xf297c2(0x10d)](_0x2a2c9f=>_0x2a2c9f[_0xf297c2(0xc8)]===_0x1f7ee4&&_0x2a2c9f[_0xf297c2(0x212)]===_0x2cf533),_0x360604=_0x46cb1b[_0xf297c2(0x1a1)](_0x454597=>_0x39371a==null?void 0x0:_0x39371a[_0xf297c2(0x17f)][_0xf297c2(0x10d)](_0x1a1e80=>_0x1a1e80[_0xf297c2(0x386)]===_0x454597))[_0xf297c2(0x2df)](_0x265eb7=>!!_0x265eb7);return{'config':_0x40603e,'result':{'actions':_0x360604,'error':_0x28462e[_0xf297c2(0x1de)]}};});}})}));}['_getAPIPrefixPath'](){var _0x582c7a=_0x5cfc8b,_0xfc02e5,_0x2bbb32;const _0x2265c8=this[_0x582c7a(0x21f)]['getConfig'](_0x36a4a8),_0x1bfbb5=this[_0x582c7a(0x21f)][_0x582c7a(0x1fc)](_0x4fd274);return(_0x2bbb32=(_0xfc02e5=_0x1bfbb5==null?void 0x0:_0x1bfbb5[_0x582c7a(0x20a)])!=null?_0xfc02e5:_0x2265c8)!=null?_0x2bbb32:_0x289e2d;}async['create'](_0x15ce5e){var _0x3b8bb4=_0x5cfc8b;const _0x19338f=this[_0x3b8bb4(0x368)]()+'/'+_0x15ce5e[_0x3b8bb4(0x144)]+_0x3b8bb4(0x3b2);return(await this[_0x3b8bb4(0x137)]['post'](_0x19338f,{'body':_0x15ce5e}))[_0x3b8bb4(0x191)][_0x3b8bb4(0x212)]||'';}async[_0x5cfc8b(0x3ca)](_0x5c5149){var _0x1423ad=_0x5cfc8b;const _0x38defb=this['_getAPIPrefixPath']()+_0x1423ad(0x301);return(await this['_HTTPService'][_0x1423ad(0x173)](_0x38defb,{'body':_0x5c5149}))[_0x1423ad(0x191)][_0x1423ad(0x24f)];}async[_0x5cfc8b(0x1fa)](_0x73185f){var _0x3ac27e=_0x5cfc8b,_0x45f234,_0x55344c;const _0x149b37=this[_0x3ac27e(0x368)]()+'/'+_0x73185f[_0x3ac27e(0x144)]+_0x3ac27e(0xfe)+_0x73185f[_0x3ac27e(0x212)],_0xff11fd=await this[_0x3ac27e(0x137)][_0x3ac27e(0x27b)](_0x149b37,{'body':_0x73185f});if(((_0x55344c=(_0x45f234=_0xff11fd==null?void 0x0:_0xff11fd[_0x3ac27e(0x191)])==null?void 0x0:_0x45f234[_0x3ac27e(0x1de)])==null?void 0x0:_0x55344c[_0x3ac27e(0x293)])!==0x0)throw new Error(_0x3ac27e(0x1f4));}async[_0x5cfc8b(0x2ee)](_0x16de2a){var _0x443093=_0x5cfc8b;const _0x3827c9=this['_getAPIPrefixPath']()+'/'+_0x16de2a['objectType']+_0x443093(0xfe)+_0x16de2a[_0x443093(0x212)]+_0x443093(0x353);return(await this[_0x443093(0x137)][_0x443093(0x173)](_0x3827c9,{'body':_0x16de2a}))[_0x443093(0x191)][_0x443093(0x17f)];}async[_0x5cfc8b(0x3af)](_0x44d396){var _0x1e75cc=_0x5cfc8b;const _0x408923=this['_getAPIPrefixPath']()+_0x1e75cc(0x226);return(await this['_HTTPService'][_0x1e75cc(0x173)](_0x408923,{'body':{'requests':_0x44d396}}))[_0x1e75cc(0x191)][_0x1e75cc(0x206)];}async['listRoles'](_0x399732){var _0x5d5b83=_0x5cfc8b;const _0x3745a4=this['_getAPIPrefixPath']()+'/'+_0x399732[_0x5d5b83(0x144)]+_0x5d5b83(0x73),_0x3533f4=await this[_0x5d5b83(0x137)][_0x5d5b83(0x173)](_0x3745a4,{'body':_0x399732});return{'roles':_0x3533f4[_0x5d5b83(0x191)][_0x5d5b83(0x379)],'actions':_0x3533f4[_0x5d5b83(0x191)][_0x5d5b83(0x17f)]};}async[_0x5cfc8b(0x16c)](_0x4b5723){var _0x9cce49=_0x5cfc8b;const _0x3f5be2=this[_0x9cce49(0x368)]()+_0x9cce49(0x3c4);await this[_0x9cce49(0x137)][_0x9cce49(0x171)](_0x3f5be2,{'params':{'collaboratorID':_0x4b5723[_0x9cce49(0x26d)],'objectID':_0x4b5723[_0x9cce49(0x212)],'unitID':_0x4b5723[_0x9cce49(0xc8)]}});}async[_0x5cfc8b(0xd6)](_0x5e6d6f){var _0x2e1ff8=_0x5cfc8b;const _0x74be92=this['_getAPIPrefixPath']()+_0x2e1ff8(0x3c4);await this[_0x2e1ff8(0x137)][_0x2e1ff8(0x3b3)](_0x74be92,{'body':_0x5e6d6f});}async['createCollaborator'](_0x575c73){var _0x1a309c=_0x5cfc8b;const _0x505f78=this['_getAPIPrefixPath']()+_0x1a309c(0x3c4);await this['_HTTPService'][_0x1a309c(0x173)](_0x505f78,{'body':_0x575c73});}async[_0x5cfc8b(0x2bf)](_0x438443){var _0x3fc45b=_0x5cfc8b;const _0x5547a8=this[_0x3fc45b(0x368)]()+_0x3fc45b(0x3c4);return(await this[_0x3fc45b(0x137)][_0x3fc45b(0x241)](_0x5547a8,{'params':{'objectID':_0x438443[_0x3fc45b(0x212)],'unitID':_0x438443['unitID']}}))[_0x3fc45b(0x191)][_0x3fc45b(0x3e7)];}async['putCollaborators'](_0x26e6c9){var _0x502434=_0x5cfc8b;const _0x17549f=this[_0x502434(0x368)]()+'/collaborator';await this[_0x502434(0x137)]['put'](_0x17549f,{'body':_0x26e6c9});}},_0x11943a[_0x5cfc8b(0x1ba)]=_0x400dfd([_0x53ea52(0x0,_0x7fc923[_0x5cfc8b(0x1c1)](_0x39fb06[_0x5cfc8b(0x2f3)])),_0x53ea52(0x1,_0x7fc923[_0x5cfc8b(0x1c1)](_0x7fc923['IConfigService']))],_0x11943a[_0x5cfc8b(0x1ba)]);var _0x5da2bc=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function _0x7b3cb3(_0xe2c7bd){var _0x593c26=_0x5cfc8b;return _0xe2c7bd&&_0xe2c7bd[_0x593c26(0x31d)]&&Object['prototype'][_0x593c26(0x3aa)][_0x593c26(0x3ba)](_0xe2c7bd,_0x593c26(0x2db))?_0xe2c7bd['default']:_0xe2c7bd;}var _0x515cfc={'exports':{}};function _0xab6fbd(_0x122cac){var _0x559699=_0x5cfc8b;throw new Error(_0x559699(0x29d)+_0x122cac+'\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.');}var _0x2696de={'exports':{}},_0x328b55=_0x2696de[_0x5cfc8b(0x3b8)],_0x21b377;function _0x2cf804(){return _0x21b377||(_0x21b377=0x1,function(_0x26bfab,_0x360015){(function(_0x4aef53,_0x48b5d5){var _0x570b59=_0x5e92;_0x26bfab[_0x570b59(0x3b8)]=_0x48b5d5();}(_0x328b55,function(){var _0xe2b276=_0xe2b276||function(_0x2fcdfd,_0x130e18){var _0x1a8d92=_0x5e92,_0x304aff;if(typeof window<'u'&&window[_0x1a8d92(0x2c9)]&&(_0x304aff=window[_0x1a8d92(0x2c9)]),typeof self<'u'&&self[_0x1a8d92(0x2c9)]&&(_0x304aff=self[_0x1a8d92(0x2c9)]),typeof globalThis<'u'&&globalThis[_0x1a8d92(0x2c9)]&&(_0x304aff=globalThis['crypto']),!_0x304aff&&typeof window<'u'&&window[_0x1a8d92(0x141)]&&(_0x304aff=window[_0x1a8d92(0x141)]),!_0x304aff&&typeof _0x5da2bc<'u'&&_0x5da2bc[_0x1a8d92(0x2c9)]&&(_0x304aff=_0x5da2bc[_0x1a8d92(0x2c9)]),!_0x304aff&&typeof _0xab6fbd==_0x1a8d92(0x103))try{_0x304aff=require(_0x1a8d92(0x2c9));}catch{}var _0x1c700f=function(){var _0x1e36cf=_0x1a8d92;if(_0x304aff){if(typeof _0x304aff[_0x1e36cf(0x37d)]=='function')try{return _0x304aff[_0x1e36cf(0x37d)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x304aff[_0x1e36cf(0x246)]==_0x1e36cf(0x103))try{return _0x304aff[_0x1e36cf(0x246)](0x4)[_0x1e36cf(0xad)]();}catch{}}throw new Error('Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.');},_0x41404b=Object['create']||(function(){function _0x4f40fe(){}return function(_0x31e4bd){var _0x251cec=_0x5e92,_0x17adfa;return _0x4f40fe[_0x251cec(0x1c9)]=_0x31e4bd,_0x17adfa=new _0x4f40fe(),_0x4f40fe[_0x251cec(0x1c9)]=null,_0x17adfa;};}()),_0xa16f4f={},_0x4afe16=_0xa16f4f['lib']={},_0x1b9edf=_0x4afe16[_0x1a8d92(0x273)]=(function(){return{'extend':function(_0x68d0a){var _0x464a74=_0x5e92,_0x2e283a=_0x41404b(this);return _0x68d0a&&_0x2e283a['mixIn'](_0x68d0a),(!_0x2e283a[_0x464a74(0x3aa)]('init')||this[_0x464a74(0xf8)]===_0x2e283a[_0x464a74(0xf8)])&&(_0x2e283a[_0x464a74(0xf8)]=function(){var _0xc8e77f=_0x464a74;_0x2e283a['$super'][_0xc8e77f(0xf8)][_0xc8e77f(0x10b)](this,arguments);}),_0x2e283a[_0x464a74(0xf8)]['prototype']=_0x2e283a,_0x2e283a['$super']=this,_0x2e283a;},'create':function(){var _0x396047=_0x5e92,_0x349b8c=this['extend']();return _0x349b8c[_0x396047(0xf8)]['apply'](_0x349b8c,arguments),_0x349b8c;},'init':function(){},'mixIn':function(_0x5c07d1){var _0x295948=_0x5e92;for(var _0x40ed2 in _0x5c07d1)_0x5c07d1[_0x295948(0x3aa)](_0x40ed2)&&(this[_0x40ed2]=_0x5c07d1[_0x40ed2]);_0x5c07d1[_0x295948(0x3aa)](_0x295948(0x396))&&(this[_0x295948(0x396)]=_0x5c07d1['toString']);},'clone':function(){var _0x4295a8=_0x5e92;return this[_0x4295a8(0xf8)][_0x4295a8(0x1c9)]['extend'](this);}};}()),_0x151232=_0x4afe16[_0x1a8d92(0x131)]=_0x1b9edf[_0x1a8d92(0x1ae)]({'init':function(_0xd65915,_0x1d74e6){var _0x4624b0=_0x1a8d92;_0xd65915=this['words']=_0xd65915||[],_0x1d74e6!=_0x130e18?this['sigBytes']=_0x1d74e6:this[_0x4624b0(0x39d)]=_0xd65915[_0x4624b0(0x17d)]*0x4;},'toString':function(_0x2ed8dd){var _0x3c847f=_0x1a8d92;return(_0x2ed8dd||_0xf532ce)[_0x3c847f(0x385)](this);},'concat':function(_0x571b4b){var _0x2aa4c4=_0x1a8d92,_0x5a39f8=this[_0x2aa4c4(0x308)],_0x4a35e8=_0x571b4b[_0x2aa4c4(0x308)],_0x15fd38=this[_0x2aa4c4(0x39d)],_0x497f27=_0x571b4b[_0x2aa4c4(0x39d)];if(this['clamp'](),_0x15fd38%0x4)for(var _0x42ac69=0x0;_0x42ac69<_0x497f27;_0x42ac69++){var _0x382d39=_0x4a35e8[_0x42ac69>>>0x2]>>>0x18-_0x42ac69%0x4*0x8&0xff;_0x5a39f8[_0x15fd38+_0x42ac69>>>0x2]|=_0x382d39<<0x18-(_0x15fd38+_0x42ac69)%0x4*0x8;}else{for(var _0x2d1e13=0x0;_0x2d1e13<_0x497f27;_0x2d1e13+=0x4)_0x5a39f8[_0x15fd38+_0x2d1e13>>>0x2]=_0x4a35e8[_0x2d1e13>>>0x2];}return this[_0x2aa4c4(0x39d)]+=_0x497f27,this;},'clamp':function(){var _0x411c2b=_0x1a8d92,_0x3fa526=this[_0x411c2b(0x308)],_0x391c55=this[_0x411c2b(0x39d)];_0x3fa526[_0x391c55>>>0x2]&=0xffffffff<<0x20-_0x391c55%0x4*0x8,_0x3fa526[_0x411c2b(0x17d)]=_0x2fcdfd[_0x411c2b(0xb6)](_0x391c55/0x4);},'clone':function(){var _0x19ad5e=_0x1a8d92,_0x25f763=_0x1b9edf[_0x19ad5e(0x1d0)]['call'](this);return _0x25f763[_0x19ad5e(0x308)]=this[_0x19ad5e(0x308)][_0x19ad5e(0x3f1)](0x0),_0x25f763;},'random':function(_0x347ca0){var _0x73fb71=_0x1a8d92;for(var _0x2964b6=[],_0x3efd1e=0x0;_0x3efd1e<_0x347ca0;_0x3efd1e+=0x4)_0x2964b6[_0x73fb71(0x1b3)](_0x1c700f());return new _0x151232[(_0x73fb71(0xf8))](_0x2964b6,_0x347ca0);}}),_0x178d72=_0xa16f4f[_0x1a8d92(0x364)]={},_0xf532ce=_0x178d72[_0x1a8d92(0x163)]={'stringify':function(_0x2ff163){var _0x4819ea=_0x1a8d92;for(var _0x5bf216=_0x2ff163['words'],_0x20fcea=_0x2ff163[_0x4819ea(0x39d)],_0x58f2e2=[],_0x2e1b9a=0x0;_0x2e1b9a<_0x20fcea;_0x2e1b9a++){var _0x2d1098=_0x5bf216[_0x2e1b9a>>>0x2]>>>0x18-_0x2e1b9a%0x4*0x8&0xff;_0x58f2e2[_0x4819ea(0x1b3)]((_0x2d1098>>>0x4)[_0x4819ea(0x396)](0x10)),_0x58f2e2['push']((_0x2d1098&0xf)[_0x4819ea(0x396)](0x10));}return _0x58f2e2['join']('');},'parse':function(_0x1d8feb){var _0x562a1d=_0x1a8d92;for(var _0x2ccea1=_0x1d8feb['length'],_0xe17ceb=[],_0x3b6d45=0x0;_0x3b6d45<_0x2ccea1;_0x3b6d45+=0x2)_0xe17ceb[_0x3b6d45>>>0x3]|=parseInt(_0x1d8feb[_0x562a1d(0x93)](_0x3b6d45,0x2),0x10)<<0x18-_0x3b6d45%0x8*0x4;return new _0x151232[(_0x562a1d(0xf8))](_0xe17ceb,_0x2ccea1/0x2);}},_0x16b849=_0x178d72[_0x1a8d92(0x31e)]={'stringify':function(_0x29f8cc){var _0x15ddfc=_0x1a8d92;for(var _0x15b499=_0x29f8cc[_0x15ddfc(0x308)],_0xb06c5d=_0x29f8cc['sigBytes'],_0x113598=[],_0x55eb77=0x0;_0x55eb77<_0xb06c5d;_0x55eb77++){var _0xc2800a=_0x15b499[_0x55eb77>>>0x2]>>>0x18-_0x55eb77%0x4*0x8&0xff;_0x113598[_0x15ddfc(0x1b3)](String['fromCharCode'](_0xc2800a));}return _0x113598[_0x15ddfc(0x266)]('');},'parse':function(_0x39dff3){var _0x4c4760=_0x1a8d92;for(var _0xe56543=_0x39dff3[_0x4c4760(0x17d)],_0x5ece9e=[],_0x49b0d8=0x0;_0x49b0d8<_0xe56543;_0x49b0d8++)_0x5ece9e[_0x49b0d8>>>0x2]|=(_0x39dff3['charCodeAt'](_0x49b0d8)&0xff)<<0x18-_0x49b0d8%0x4*0x8;return new _0x151232['init'](_0x5ece9e,_0xe56543);}},_0x53de22=_0x178d72[_0x1a8d92(0x3a1)]={'stringify':function(_0x4b57e4){var _0x1d5551=_0x1a8d92;try{return decodeURIComponent(escape(_0x16b849[_0x1d5551(0x385)](_0x4b57e4)));}catch{throw new Error(_0x1d5551(0x11e));}},'parse':function(_0x56b757){return _0x16b849['parse'](unescape(encodeURIComponent(_0x56b757)));}},_0x1b5558=_0x4afe16[_0x1a8d92(0x278)]=_0x1b9edf[_0x1a8d92(0x1ae)]({'reset':function(){var _0x5f4a49=_0x1a8d92;this[_0x5f4a49(0x88)]=new _0x151232[(_0x5f4a49(0xf8))](),this[_0x5f4a49(0xda)]=0x0;},'_append':function(_0x10e851){var _0x2e710f=_0x1a8d92;typeof _0x10e851==_0x2e710f(0x29c)&&(_0x10e851=_0x53de22[_0x2e710f(0x101)](_0x10e851)),this[_0x2e710f(0x88)][_0x2e710f(0x10f)](_0x10e851),this[_0x2e710f(0xda)]+=_0x10e851['sigBytes'];},'_process':function(_0x1bbed7){var _0x1f7d1e=_0x1a8d92,_0x2e93c9,_0x1fb3ce=this[_0x1f7d1e(0x88)],_0x30441f=_0x1fb3ce[_0x1f7d1e(0x308)],_0x3556e9=_0x1fb3ce[_0x1f7d1e(0x39d)],_0x5271d6=this[_0x1f7d1e(0x3ee)],_0x154eb4=_0x5271d6*0x4,_0x3fd404=_0x3556e9/_0x154eb4;_0x1bbed7?_0x3fd404=_0x2fcdfd['ceil'](_0x3fd404):_0x3fd404=_0x2fcdfd[_0x1f7d1e(0xa8)]((_0x3fd404|0x0)-this[_0x1f7d1e(0x3e4)],0x0);var _0xe648d7=_0x3fd404*_0x5271d6,_0x7684b9=_0x2fcdfd['min'](_0xe648d7*0x4,_0x3556e9);if(_0xe648d7){for(var _0x4dbc61=0x0;_0x4dbc61<_0xe648d7;_0x4dbc61+=_0x5271d6)this[_0x1f7d1e(0x8f)](_0x30441f,_0x4dbc61);_0x2e93c9=_0x30441f[_0x1f7d1e(0x85)](0x0,_0xe648d7),_0x1fb3ce[_0x1f7d1e(0x39d)]-=_0x7684b9;}return new _0x151232[(_0x1f7d1e(0xf8))](_0x2e93c9,_0x7684b9);},'clone':function(){var _0x522735=_0x1a8d92,_0xbae34c=_0x1b9edf['clone'][_0x522735(0x3ba)](this);return _0xbae34c['_data']=this[_0x522735(0x88)][_0x522735(0x1d0)](),_0xbae34c;},'_minBufferSize':0x0});_0x4afe16[_0x1a8d92(0x381)]=_0x1b5558[_0x1a8d92(0x1ae)]({'cfg':_0x1b9edf[_0x1a8d92(0x1ae)](),'init':function(_0x5a34ec){var _0x426249=_0x1a8d92;this[_0x426249(0x22a)]=this['cfg'][_0x426249(0x1ae)](_0x5a34ec),this[_0x426249(0x39c)]();},'reset':function(){var _0x2c83e7=_0x1a8d92;_0x1b5558[_0x2c83e7(0x39c)][_0x2c83e7(0x3ba)](this),this[_0x2c83e7(0x34a)]();},'update':function(_0x244212){var _0xfd5af3=_0x1a8d92;return this[_0xfd5af3(0x1cc)](_0x244212),this[_0xfd5af3(0x24c)](),this;},'finalize':function(_0x36e65b){var _0x3afc24=_0x1a8d92;_0x36e65b&&this[_0x3afc24(0x1cc)](_0x36e65b);var _0x572989=this[_0x3afc24(0x3db)]();return _0x572989;},'blockSize':0x10,'_createHelper':function(_0x167d3d){return function(_0x4ed184,_0x4be6d2){var _0x16089d=_0x5e92;return new _0x167d3d[(_0x16089d(0xf8))](_0x4be6d2)[_0x16089d(0x38e)](_0x4ed184);};},'_createHmacHelper':function(_0x32f9cd){return function(_0xad01c7,_0x3815fa){var _0x1806ca=_0x5e92;return new _0x365b4c[(_0x1806ca(0x15e))]['init'](_0x32f9cd,_0x3815fa)[_0x1806ca(0x38e)](_0xad01c7);};}});var _0x365b4c=_0xa16f4f[_0x1a8d92(0x2a0)]={};return _0xa16f4f;}(Math);return _0xe2b276;}));}(_0x2696de)),_0x2696de['exports'];}var _0xc28593={'exports':{}},_0x208ac6=_0xc28593[_0x5cfc8b(0x3b8)],_0x2e4483;function _0x166708(){var _0x368b0f=_0x5cfc8b;return _0x2e4483||(_0x2e4483=0x1,function(_0x2a2ba6,_0x2955fa){(function(_0x4c84a2,_0x5196e0){var _0x4e7cd2=_0x5e92;_0x2a2ba6[_0x4e7cd2(0x3b8)]=_0x5196e0(_0x2cf804());}(_0x208ac6,function(_0x4b8695){var _0x185bd1=_0x5e92;return(function(){var _0x196f46=_0x5e92,_0x55bfdb=_0x4b8695,_0xd7ca6c=_0x55bfdb['lib'],_0x89511=_0xd7ca6c['WordArray'],_0x287a16=_0x55bfdb['enc'];_0x287a16[_0x196f46(0x232)]={'stringify':function(_0x1b8482){var _0x1bdc06=_0x196f46,_0xec6f2b=_0x1b8482['words'],_0x51da10=_0x1b8482[_0x1bdc06(0x39d)],_0x9dd1f9=this[_0x1bdc06(0x33b)];_0x1b8482[_0x1bdc06(0xdf)]();for(var _0x22c732=[],_0x2b23f8=0x0;_0x2b23f8<_0x51da10;_0x2b23f8+=0x3)for(var _0x4b4957=_0xec6f2b[_0x2b23f8>>>0x2]>>>0x18-_0x2b23f8%0x4*0x8&0xff,_0x2722ac=_0xec6f2b[_0x2b23f8+0x1>>>0x2]>>>0x18-(_0x2b23f8+0x1)%0x4*0x8&0xff,_0x50b051=_0xec6f2b[_0x2b23f8+0x2>>>0x2]>>>0x18-(_0x2b23f8+0x2)%0x4*0x8&0xff,_0x66325b=_0x4b4957<<0x10|_0x2722ac<<0x8|_0x50b051,_0xbc8d63=0x0;_0xbc8d63<0x4&&_0x2b23f8+_0xbc8d63*0.75<_0x51da10;_0xbc8d63++)_0x22c732[_0x1bdc06(0x1b3)](_0x9dd1f9[_0x1bdc06(0xee)](_0x66325b>>>0x6*(0x3-_0xbc8d63)&0x3f));var _0x24a666=_0x9dd1f9[_0x1bdc06(0xee)](0x40);if(_0x24a666){for(;_0x22c732['length']%0x4;)_0x22c732['push'](_0x24a666);}return _0x22c732[_0x1bdc06(0x266)]('');},'parse':function(_0x356348){var _0x49578b=_0x196f46,_0x46d4bd=_0x356348[_0x49578b(0x17d)],_0x59026e=this['_map'],_0x4b4800=this[_0x49578b(0x17b)];if(!_0x4b4800){_0x4b4800=this[_0x49578b(0x17b)]=[];for(var _0x220b61=0x0;_0x220b61<_0x59026e[_0x49578b(0x17d)];_0x220b61++)_0x4b4800[_0x59026e[_0x49578b(0xb9)](_0x220b61)]=_0x220b61;}var _0x11eb54=_0x59026e['charAt'](0x40);if(_0x11eb54){var _0x52579e=_0x356348[_0x49578b(0x250)](_0x11eb54);_0x52579e!==-0x1&&(_0x46d4bd=_0x52579e);}return _0x318551(_0x356348,_0x46d4bd,_0x4b4800);},'_map':_0x196f46(0x329)};function _0x318551(_0x2f1ab3,_0x510712,_0x206383){var _0x2b0085=_0x196f46;for(var _0x6bbc56=[],_0x7375d3=0x0,_0x44ca6e=0x0;_0x44ca6e<_0x510712;_0x44ca6e++)if(_0x44ca6e%0x4){var _0x503bea=_0x206383[_0x2f1ab3[_0x2b0085(0xb9)](_0x44ca6e-0x1)]<<_0x44ca6e%0x4*0x2,_0x5f82d1=_0x206383[_0x2f1ab3[_0x2b0085(0xb9)](_0x44ca6e)]>>>0x6-_0x44ca6e%0x4*0x2,_0x3a0928=_0x503bea|_0x5f82d1;_0x6bbc56[_0x7375d3>>>0x2]|=_0x3a0928<<0x18-_0x7375d3%0x4*0x8,_0x7375d3++;}return _0x89511[_0x2b0085(0x348)](_0x6bbc56,_0x7375d3);}}()),_0x4b8695[_0x185bd1(0x364)][_0x185bd1(0x232)];}));}(_0xc28593)),_0xc28593[_0x368b0f(0x3b8)];}var _0x527ccc={'exports':{}},_0x16f4f4=_0x527ccc[_0x5cfc8b(0x3b8)],_0x33c47c;function _0x371ac0(){var _0x26c77f=_0x5cfc8b;return _0x33c47c||(_0x33c47c=0x1,function(_0x11ed4b,_0x371893){(function(_0x3f4383,_0x448ee8){_0x11ed4b['exports']=_0x448ee8(_0x2cf804());}(_0x16f4f4,function(_0x307225){var _0x1dc84f=_0x5e92;return function(_0x9ae07e){var _0x19118c=_0x5e92,_0x4262ad=_0x307225,_0x3960f5=_0x4262ad[_0x19118c(0x311)],_0xab3d50=_0x3960f5[_0x19118c(0x131)],_0x4d39ba=_0x3960f5[_0x19118c(0x381)],_0x5d9312=_0x4262ad[_0x19118c(0x2a0)],_0x4d0016=[];(function(){var _0x40a7ba=_0x19118c;for(var _0x15a5d8=0x0;_0x15a5d8<0x40;_0x15a5d8++)_0x4d0016[_0x15a5d8]=_0x9ae07e[_0x40a7ba(0x169)](_0x9ae07e[_0x40a7ba(0x12d)](_0x15a5d8+0x1))*0x100000000|0x0;}());var _0x53ae5e=_0x5d9312[_0x19118c(0x1a9)]=_0x4d39ba[_0x19118c(0x1ae)]({'_doReset':function(){var _0x349700=_0x19118c;this[_0x349700(0x37e)]=new _0xab3d50[(_0x349700(0xf8))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x2e0278,_0xb1e3b0){var _0x6c8247=_0x19118c;for(var _0x248682=0x0;_0x248682<0x10;_0x248682++){var _0x262677=_0xb1e3b0+_0x248682,_0x3024a7=_0x2e0278[_0x262677];_0x2e0278[_0x262677]=(_0x3024a7<<0x8|_0x3024a7>>>0x18)&0xff00ff|(_0x3024a7<<0x18|_0x3024a7>>>0x8)&0xff00ff00;}var _0x345edc=this[_0x6c8247(0x37e)]['words'],_0x4b5294=_0x2e0278[_0xb1e3b0+0x0],_0x46b96a=_0x2e0278[_0xb1e3b0+0x1],_0x100b9c=_0x2e0278[_0xb1e3b0+0x2],_0x4d5bcd=_0x2e0278[_0xb1e3b0+0x3],_0x24338f=_0x2e0278[_0xb1e3b0+0x4],_0x3484bf=_0x2e0278[_0xb1e3b0+0x5],_0x123a80=_0x2e0278[_0xb1e3b0+0x6],_0x2d4063=_0x2e0278[_0xb1e3b0+0x7],_0x352982=_0x2e0278[_0xb1e3b0+0x8],_0xa4f519=_0x2e0278[_0xb1e3b0+0x9],_0xf42d26=_0x2e0278[_0xb1e3b0+0xa],_0x4c6848=_0x2e0278[_0xb1e3b0+0xb],_0x4a9ebd=_0x2e0278[_0xb1e3b0+0xc],_0x390c48=_0x2e0278[_0xb1e3b0+0xd],_0x3386ed=_0x2e0278[_0xb1e3b0+0xe],_0xe080c3=_0x2e0278[_0xb1e3b0+0xf],_0x2e91ef=_0x345edc[0x0],_0x507b5e=_0x345edc[0x1],_0x581dca=_0x345edc[0x2],_0x164748=_0x345edc[0x3];_0x2e91ef=_0x38a042(_0x2e91ef,_0x507b5e,_0x581dca,_0x164748,_0x4b5294,0x7,_0x4d0016[0x0]),_0x164748=_0x38a042(_0x164748,_0x2e91ef,_0x507b5e,_0x581dca,_0x46b96a,0xc,_0x4d0016[0x1]),_0x581dca=_0x38a042(_0x581dca,_0x164748,_0x2e91ef,_0x507b5e,_0x100b9c,0x11,_0x4d0016[0x2]),_0x507b5e=_0x38a042(_0x507b5e,_0x581dca,_0x164748,_0x2e91ef,_0x4d5bcd,0x16,_0x4d0016[0x3]),_0x2e91ef=_0x38a042(_0x2e91ef,_0x507b5e,_0x581dca,_0x164748,_0x24338f,0x7,_0x4d0016[0x4]),_0x164748=_0x38a042(_0x164748,_0x2e91ef,_0x507b5e,_0x581dca,_0x3484bf,0xc,_0x4d0016[0x5]),_0x581dca=_0x38a042(_0x581dca,_0x164748,_0x2e91ef,_0x507b5e,_0x123a80,0x11,_0x4d0016[0x6]),_0x507b5e=_0x38a042(_0x507b5e,_0x581dca,_0x164748,_0x2e91ef,_0x2d4063,0x16,_0x4d0016[0x7]),_0x2e91ef=_0x38a042(_0x2e91ef,_0x507b5e,_0x581dca,_0x164748,_0x352982,0x7,_0x4d0016[0x8]),_0x164748=_0x38a042(_0x164748,_0x2e91ef,_0x507b5e,_0x581dca,_0xa4f519,0xc,_0x4d0016[0x9]),_0x581dca=_0x38a042(_0x581dca,_0x164748,_0x2e91ef,_0x507b5e,_0xf42d26,0x11,_0x4d0016[0xa]),_0x507b5e=_0x38a042(_0x507b5e,_0x581dca,_0x164748,_0x2e91ef,_0x4c6848,0x16,_0x4d0016[0xb]),_0x2e91ef=_0x38a042(_0x2e91ef,_0x507b5e,_0x581dca,_0x164748,_0x4a9ebd,0x7,_0x4d0016[0xc]),_0x164748=_0x38a042(_0x164748,_0x2e91ef,_0x507b5e,_0x581dca,_0x390c48,0xc,_0x4d0016[0xd]),_0x581dca=_0x38a042(_0x581dca,_0x164748,_0x2e91ef,_0x507b5e,_0x3386ed,0x11,_0x4d0016[0xe]),_0x507b5e=_0x38a042(_0x507b5e,_0x581dca,_0x164748,_0x2e91ef,_0xe080c3,0x16,_0x4d0016[0xf]),_0x2e91ef=_0xc3277f(_0x2e91ef,_0x507b5e,_0x581dca,_0x164748,_0x46b96a,0x5,_0x4d0016[0x10]),_0x164748=_0xc3277f(_0x164748,_0x2e91ef,_0x507b5e,_0x581dca,_0x123a80,0x9,_0x4d0016[0x11]),_0x581dca=_0xc3277f(_0x581dca,_0x164748,_0x2e91ef,_0x507b5e,_0x4c6848,0xe,_0x4d0016[0x12]),_0x507b5e=_0xc3277f(_0x507b5e,_0x581dca,_0x164748,_0x2e91ef,_0x4b5294,0x14,_0x4d0016[0x13]),_0x2e91ef=_0xc3277f(_0x2e91ef,_0x507b5e,_0x581dca,_0x164748,_0x3484bf,0x5,_0x4d0016[0x14]),_0x164748=_0xc3277f(_0x164748,_0x2e91ef,_0x507b5e,_0x581dca,_0xf42d26,0x9,_0x4d0016[0x15]),_0x581dca=_0xc3277f(_0x581dca,_0x164748,_0x2e91ef,_0x507b5e,_0xe080c3,0xe,_0x4d0016[0x16]),_0x507b5e=_0xc3277f(_0x507b5e,_0x581dca,_0x164748,_0x2e91ef,_0x24338f,0x14,_0x4d0016[0x17]),_0x2e91ef=_0xc3277f(_0x2e91ef,_0x507b5e,_0x581dca,_0x164748,_0xa4f519,0x5,_0x4d0016[0x18]),_0x164748=_0xc3277f(_0x164748,_0x2e91ef,_0x507b5e,_0x581dca,_0x3386ed,0x9,_0x4d0016[0x19]),_0x581dca=_0xc3277f(_0x581dca,_0x164748,_0x2e91ef,_0x507b5e,_0x4d5bcd,0xe,_0x4d0016[0x1a]),_0x507b5e=_0xc3277f(_0x507b5e,_0x581dca,_0x164748,_0x2e91ef,_0x352982,0x14,_0x4d0016[0x1b]),_0x2e91ef=_0xc3277f(_0x2e91ef,_0x507b5e,_0x581dca,_0x164748,_0x390c48,0x5,_0x4d0016[0x1c]),_0x164748=_0xc3277f(_0x164748,_0x2e91ef,_0x507b5e,_0x581dca,_0x100b9c,0x9,_0x4d0016[0x1d]),_0x581dca=_0xc3277f(_0x581dca,_0x164748,_0x2e91ef,_0x507b5e,_0x2d4063,0xe,_0x4d0016[0x1e]),_0x507b5e=_0xc3277f(_0x507b5e,_0x581dca,_0x164748,_0x2e91ef,_0x4a9ebd,0x14,_0x4d0016[0x1f]),_0x2e91ef=_0x161536(_0x2e91ef,_0x507b5e,_0x581dca,_0x164748,_0x3484bf,0x4,_0x4d0016[0x20]),_0x164748=_0x161536(_0x164748,_0x2e91ef,_0x507b5e,_0x581dca,_0x352982,0xb,_0x4d0016[0x21]),_0x581dca=_0x161536(_0x581dca,_0x164748,_0x2e91ef,_0x507b5e,_0x4c6848,0x10,_0x4d0016[0x22]),_0x507b5e=_0x161536(_0x507b5e,_0x581dca,_0x164748,_0x2e91ef,_0x3386ed,0x17,_0x4d0016[0x23]),_0x2e91ef=_0x161536(_0x2e91ef,_0x507b5e,_0x581dca,_0x164748,_0x46b96a,0x4,_0x4d0016[0x24]),_0x164748=_0x161536(_0x164748,_0x2e91ef,_0x507b5e,_0x581dca,_0x24338f,0xb,_0x4d0016[0x25]),_0x581dca=_0x161536(_0x581dca,_0x164748,_0x2e91ef,_0x507b5e,_0x2d4063,0x10,_0x4d0016[0x26]),_0x507b5e=_0x161536(_0x507b5e,_0x581dca,_0x164748,_0x2e91ef,_0xf42d26,0x17,_0x4d0016[0x27]),_0x2e91ef=_0x161536(_0x2e91ef,_0x507b5e,_0x581dca,_0x164748,_0x390c48,0x4,_0x4d0016[0x28]),_0x164748=_0x161536(_0x164748,_0x2e91ef,_0x507b5e,_0x581dca,_0x4b5294,0xb,_0x4d0016[0x29]),_0x581dca=_0x161536(_0x581dca,_0x164748,_0x2e91ef,_0x507b5e,_0x4d5bcd,0x10,_0x4d0016[0x2a]),_0x507b5e=_0x161536(_0x507b5e,_0x581dca,_0x164748,_0x2e91ef,_0x123a80,0x17,_0x4d0016[0x2b]),_0x2e91ef=_0x161536(_0x2e91ef,_0x507b5e,_0x581dca,_0x164748,_0xa4f519,0x4,_0x4d0016[0x2c]),_0x164748=_0x161536(_0x164748,_0x2e91ef,_0x507b5e,_0x581dca,_0x4a9ebd,0xb,_0x4d0016[0x2d]),_0x581dca=_0x161536(_0x581dca,_0x164748,_0x2e91ef,_0x507b5e,_0xe080c3,0x10,_0x4d0016[0x2e]),_0x507b5e=_0x161536(_0x507b5e,_0x581dca,_0x164748,_0x2e91ef,_0x100b9c,0x17,_0x4d0016[0x2f]),_0x2e91ef=_0x2fa262(_0x2e91ef,_0x507b5e,_0x581dca,_0x164748,_0x4b5294,0x6,_0x4d0016[0x30]),_0x164748=_0x2fa262(_0x164748,_0x2e91ef,_0x507b5e,_0x581dca,_0x2d4063,0xa,_0x4d0016[0x31]),_0x581dca=_0x2fa262(_0x581dca,_0x164748,_0x2e91ef,_0x507b5e,_0x3386ed,0xf,_0x4d0016[0x32]),_0x507b5e=_0x2fa262(_0x507b5e,_0x581dca,_0x164748,_0x2e91ef,_0x3484bf,0x15,_0x4d0016[0x33]),_0x2e91ef=_0x2fa262(_0x2e91ef,_0x507b5e,_0x581dca,_0x164748,_0x4a9ebd,0x6,_0x4d0016[0x34]),_0x164748=_0x2fa262(_0x164748,_0x2e91ef,_0x507b5e,_0x581dca,_0x4d5bcd,0xa,_0x4d0016[0x35]),_0x581dca=_0x2fa262(_0x581dca,_0x164748,_0x2e91ef,_0x507b5e,_0xf42d26,0xf,_0x4d0016[0x36]),_0x507b5e=_0x2fa262(_0x507b5e,_0x581dca,_0x164748,_0x2e91ef,_0x46b96a,0x15,_0x4d0016[0x37]),_0x2e91ef=_0x2fa262(_0x2e91ef,_0x507b5e,_0x581dca,_0x164748,_0x352982,0x6,_0x4d0016[0x38]),_0x164748=_0x2fa262(_0x164748,_0x2e91ef,_0x507b5e,_0x581dca,_0xe080c3,0xa,_0x4d0016[0x39]),_0x581dca=_0x2fa262(_0x581dca,_0x164748,_0x2e91ef,_0x507b5e,_0x123a80,0xf,_0x4d0016[0x3a]),_0x507b5e=_0x2fa262(_0x507b5e,_0x581dca,_0x164748,_0x2e91ef,_0x390c48,0x15,_0x4d0016[0x3b]),_0x2e91ef=_0x2fa262(_0x2e91ef,_0x507b5e,_0x581dca,_0x164748,_0x24338f,0x6,_0x4d0016[0x3c]),_0x164748=_0x2fa262(_0x164748,_0x2e91ef,_0x507b5e,_0x581dca,_0x4c6848,0xa,_0x4d0016[0x3d]),_0x581dca=_0x2fa262(_0x581dca,_0x164748,_0x2e91ef,_0x507b5e,_0x100b9c,0xf,_0x4d0016[0x3e]),_0x507b5e=_0x2fa262(_0x507b5e,_0x581dca,_0x164748,_0x2e91ef,_0xa4f519,0x15,_0x4d0016[0x3f]),_0x345edc[0x0]=_0x345edc[0x0]+_0x2e91ef|0x0,_0x345edc[0x1]=_0x345edc[0x1]+_0x507b5e|0x0,_0x345edc[0x2]=_0x345edc[0x2]+_0x581dca|0x0,_0x345edc[0x3]=_0x345edc[0x3]+_0x164748|0x0;},'_doFinalize':function(){var _0x280ad8=_0x19118c,_0x3abaae=this[_0x280ad8(0x88)],_0xd48e85=_0x3abaae[_0x280ad8(0x308)],_0x33fd0b=this['_nDataBytes']*0x8,_0x2abb61=_0x3abaae[_0x280ad8(0x39d)]*0x8;_0xd48e85[_0x2abb61>>>0x5]|=0x80<<0x18-_0x2abb61%0x20;var _0x40d671=_0x9ae07e['floor'](_0x33fd0b/0x100000000),_0x5aed48=_0x33fd0b;_0xd48e85[(_0x2abb61+0x40>>>0x9<<0x4)+0xf]=(_0x40d671<<0x8|_0x40d671>>>0x18)&0xff00ff|(_0x40d671<<0x18|_0x40d671>>>0x8)&0xff00ff00,_0xd48e85[(_0x2abb61+0x40>>>0x9<<0x4)+0xe]=(_0x5aed48<<0x8|_0x5aed48>>>0x18)&0xff00ff|(_0x5aed48<<0x18|_0x5aed48>>>0x8)&0xff00ff00,_0x3abaae[_0x280ad8(0x39d)]=(_0xd48e85[_0x280ad8(0x17d)]+0x1)*0x4,this[_0x280ad8(0x24c)]();for(var _0x462a32=this[_0x280ad8(0x37e)],_0x1ed4e5=_0x462a32['words'],_0x217b8c=0x0;_0x217b8c<0x4;_0x217b8c++){var _0x3d5b08=_0x1ed4e5[_0x217b8c];_0x1ed4e5[_0x217b8c]=(_0x3d5b08<<0x8|_0x3d5b08>>>0x18)&0xff00ff|(_0x3d5b08<<0x18|_0x3d5b08>>>0x8)&0xff00ff00;}return _0x462a32;},'clone':function(){var _0x16e868=_0x19118c,_0x507c48=_0x4d39ba['clone'][_0x16e868(0x3ba)](this);return _0x507c48[_0x16e868(0x37e)]=this['_hash']['clone'](),_0x507c48;}});function _0x38a042(_0x88d10b,_0x5ed790,_0x1dfca3,_0x249eb4,_0x44f283,_0x18333a,_0x365d26){var _0xcb9cf9=_0x88d10b+(_0x5ed790&_0x1dfca3|~_0x5ed790&_0x249eb4)+_0x44f283+_0x365d26;return(_0xcb9cf9<<_0x18333a|_0xcb9cf9>>>0x20-_0x18333a)+_0x5ed790;}function _0xc3277f(_0x58966f,_0x4681b2,_0x29a6b6,_0x36fdaf,_0x2e04e0,_0x2c6707,_0x7fce2f){var _0x14a397=_0x58966f+(_0x4681b2&_0x36fdaf|_0x29a6b6&~_0x36fdaf)+_0x2e04e0+_0x7fce2f;return(_0x14a397<<_0x2c6707|_0x14a397>>>0x20-_0x2c6707)+_0x4681b2;}function _0x161536(_0x4b5eaf,_0x4dc459,_0x1151e8,_0x2acd0c,_0x28329c,_0x2aecb6,_0x2c2e6f){var _0x4911de=_0x4b5eaf+(_0x4dc459^_0x1151e8^_0x2acd0c)+_0x28329c+_0x2c2e6f;return(_0x4911de<<_0x2aecb6|_0x4911de>>>0x20-_0x2aecb6)+_0x4dc459;}function _0x2fa262(_0xfe551e,_0x14eb86,_0x3c1376,_0x568f5b,_0x4424b1,_0x3a1329,_0x4bd9c9){var _0x51b35e=_0xfe551e+(_0x3c1376^(_0x14eb86|~_0x568f5b))+_0x4424b1+_0x4bd9c9;return(_0x51b35e<<_0x3a1329|_0x51b35e>>>0x20-_0x3a1329)+_0x14eb86;}_0x4262ad[_0x19118c(0x1a9)]=_0x4d39ba[_0x19118c(0x133)](_0x53ae5e),_0x4262ad['HmacMD5']=_0x4d39ba[_0x19118c(0x2c2)](_0x53ae5e);}(Math),_0x307225[_0x1dc84f(0x1a9)];}));}(_0x527ccc)),_0x527ccc[_0x26c77f(0x3b8)];}var _0x2eaca7={'exports':{}},_0x5b8d4a={'exports':{}},_0x550107=_0x5b8d4a['exports'],_0x495002;function _0x3e3991(){var _0x2d30bf=_0x5cfc8b;return _0x495002||(_0x495002=0x1,function(_0x14f5a9,_0x2ebe38){(function(_0x28e178,_0x9df7d){var _0x4dca29=_0x5e92;_0x14f5a9[_0x4dca29(0x3b8)]=_0x9df7d(_0x2cf804());}(_0x550107,function(_0x3fc0d2){var _0x10ad0a=_0x5e92;return(function(){var _0x41de76=_0x5e92,_0x3fe400=_0x3fc0d2,_0x157609=_0x3fe400[_0x41de76(0x311)],_0x3aced7=_0x157609['WordArray'],_0x299dd6=_0x157609['Hasher'],_0x1ea527=_0x3fe400[_0x41de76(0x2a0)],_0xb731b8=[],_0x16b7e4=_0x1ea527[_0x41de76(0x3e2)]=_0x299dd6[_0x41de76(0x1ae)]({'_doReset':function(){var _0x47e04d=_0x41de76;this[_0x47e04d(0x37e)]=new _0x3aced7[(_0x47e04d(0xf8))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x2d8142,_0x2ea671){var _0xc0e2cf=_0x41de76;for(var _0xe00f69=this['_hash'][_0xc0e2cf(0x308)],_0x37cb47=_0xe00f69[0x0],_0x56cb79=_0xe00f69[0x1],_0x1f92de=_0xe00f69[0x2],_0x4a75b1=_0xe00f69[0x3],_0xdc1eb4=_0xe00f69[0x4],_0x130821=0x0;_0x130821<0x50;_0x130821++){if(_0x130821<0x10)_0xb731b8[_0x130821]=_0x2d8142[_0x2ea671+_0x130821]|0x0;else{var _0x4c8966=_0xb731b8[_0x130821-0x3]^_0xb731b8[_0x130821-0x8]^_0xb731b8[_0x130821-0xe]^_0xb731b8[_0x130821-0x10];_0xb731b8[_0x130821]=_0x4c8966<<0x1|_0x4c8966>>>0x1f;}var _0x367204=(_0x37cb47<<0x5|_0x37cb47>>>0x1b)+_0xdc1eb4+_0xb731b8[_0x130821];_0x130821<0x14?_0x367204+=(_0x56cb79&_0x1f92de|~_0x56cb79&_0x4a75b1)+0x5a827999:_0x130821<0x28?_0x367204+=(_0x56cb79^_0x1f92de^_0x4a75b1)+0x6ed9eba1:_0x130821<0x3c?_0x367204+=(_0x56cb79&_0x1f92de|_0x56cb79&_0x4a75b1|_0x1f92de&_0x4a75b1)-0x70e44324:_0x367204+=(_0x56cb79^_0x1f92de^_0x4a75b1)-0x359d3e2a,_0xdc1eb4=_0x4a75b1,_0x4a75b1=_0x1f92de,_0x1f92de=_0x56cb79<<0x1e|_0x56cb79>>>0x2,_0x56cb79=_0x37cb47,_0x37cb47=_0x367204;}_0xe00f69[0x0]=_0xe00f69[0x0]+_0x37cb47|0x0,_0xe00f69[0x1]=_0xe00f69[0x1]+_0x56cb79|0x0,_0xe00f69[0x2]=_0xe00f69[0x2]+_0x1f92de|0x0,_0xe00f69[0x3]=_0xe00f69[0x3]+_0x4a75b1|0x0,_0xe00f69[0x4]=_0xe00f69[0x4]+_0xdc1eb4|0x0;},'_doFinalize':function(){var _0x1070c3=_0x41de76,_0x3aaf97=this[_0x1070c3(0x88)],_0x22e389=_0x3aaf97['words'],_0x157abd=this[_0x1070c3(0xda)]*0x8,_0x4bfdfb=_0x3aaf97[_0x1070c3(0x39d)]*0x8;return _0x22e389[_0x4bfdfb>>>0x5]|=0x80<<0x18-_0x4bfdfb%0x20,_0x22e389[(_0x4bfdfb+0x40>>>0x9<<0x4)+0xe]=Math[_0x1070c3(0xa0)](_0x157abd/0x100000000),_0x22e389[(_0x4bfdfb+0x40>>>0x9<<0x4)+0xf]=_0x157abd,_0x3aaf97[_0x1070c3(0x39d)]=_0x22e389['length']*0x4,this['_process'](),this['_hash'];},'clone':function(){var _0xe5b69a=_0x41de76,_0x1a43fc=_0x299dd6[_0xe5b69a(0x1d0)][_0xe5b69a(0x3ba)](this);return _0x1a43fc['_hash']=this[_0xe5b69a(0x37e)][_0xe5b69a(0x1d0)](),_0x1a43fc;}});_0x3fe400['SHA1']=_0x299dd6[_0x41de76(0x133)](_0x16b7e4),_0x3fe400['HmacSHA1']=_0x299dd6[_0x41de76(0x2c2)](_0x16b7e4);}()),_0x3fc0d2[_0x10ad0a(0x3e2)];}));}(_0x5b8d4a)),_0x5b8d4a[_0x2d30bf(0x3b8)];}var _0x7ced53={'exports':{}},_0x588904=_0x7ced53[_0x5cfc8b(0x3b8)],_0x5ba179;function _0x15853a(){var _0x1691d6=_0x5cfc8b;return _0x5ba179||(_0x5ba179=0x1,function(_0x4510c9,_0x3aaf59){(function(_0x448176,_0x4150a4){var _0x154257=_0x5e92;_0x4510c9[_0x154257(0x3b8)]=_0x4150a4(_0x2cf804());}(_0x588904,function(_0x376e6d){(function(){var _0x1ecf5a=_0x5e92,_0x2f9706=_0x376e6d,_0x12fcbd=_0x2f9706[_0x1ecf5a(0x311)],_0x42238c=_0x12fcbd[_0x1ecf5a(0x273)],_0x616590=_0x2f9706[_0x1ecf5a(0x364)],_0x4e3355=_0x616590[_0x1ecf5a(0x3a1)],_0x74cdb3=_0x2f9706['algo'];_0x74cdb3['HMAC']=_0x42238c['extend']({'init':function(_0x25b4b7,_0x381643){var _0x33cfcf=_0x1ecf5a;_0x25b4b7=this[_0x33cfcf(0x1d6)]=new _0x25b4b7['init'](),typeof _0x381643==_0x33cfcf(0x29c)&&(_0x381643=_0x4e3355['parse'](_0x381643));var _0x357a9a=_0x25b4b7[_0x33cfcf(0x3ee)],_0x2ece28=_0x357a9a*0x4;_0x381643[_0x33cfcf(0x39d)]>_0x2ece28&&(_0x381643=_0x25b4b7['finalize'](_0x381643)),_0x381643[_0x33cfcf(0xdf)]();for(var _0x3af7d7=this[_0x33cfcf(0x3a7)]=_0x381643['clone'](),_0x6ee122=this[_0x33cfcf(0x312)]=_0x381643[_0x33cfcf(0x1d0)](),_0x4a175c=_0x3af7d7[_0x33cfcf(0x308)],_0x1f6a79=_0x6ee122[_0x33cfcf(0x308)],_0x21eada=0x0;_0x21eada<_0x357a9a;_0x21eada++)_0x4a175c[_0x21eada]^=0x5c5c5c5c,_0x1f6a79[_0x21eada]^=0x36363636;_0x3af7d7[_0x33cfcf(0x39d)]=_0x6ee122[_0x33cfcf(0x39d)]=_0x2ece28,this['reset']();},'reset':function(){var _0x2c66a6=_0x1ecf5a,_0xac064c=this[_0x2c66a6(0x1d6)];_0xac064c[_0x2c66a6(0x39c)](),_0xac064c[_0x2c66a6(0x1fa)](this[_0x2c66a6(0x312)]);},'update':function(_0x5ebc0e){var _0x57f356=_0x1ecf5a;return this[_0x57f356(0x1d6)][_0x57f356(0x1fa)](_0x5ebc0e),this;},'finalize':function(_0x5ae267){var _0x462e75=_0x1ecf5a,_0x3cfa4a=this[_0x462e75(0x1d6)],_0x581a63=_0x3cfa4a[_0x462e75(0x38e)](_0x5ae267);_0x3cfa4a[_0x462e75(0x39c)]();var _0x24b2b5=_0x3cfa4a[_0x462e75(0x38e)](this[_0x462e75(0x3a7)][_0x462e75(0x1d0)]()['concat'](_0x581a63));return _0x24b2b5;}});}());}));}(_0x7ced53)),_0x7ced53[_0x1691d6(0x3b8)];}var _0xebe2ac=_0x2eaca7[_0x5cfc8b(0x3b8)],_0x19eefc;function _0x513fa2(){var _0x171c19=_0x5cfc8b;return _0x19eefc||(_0x19eefc=0x1,function(_0x158829,_0x278d2b){(function(_0x273615,_0xc17307,_0x2b8807){var _0x3fc39d=_0x5e92;_0x158829[_0x3fc39d(0x3b8)]=_0xc17307(_0x2cf804(),_0x3e3991(),_0x15853a());}(_0xebe2ac,function(_0x5b1aa3){return(function(){var _0x2d788b=_0x5e92,_0x102bec=_0x5b1aa3,_0x5b3cde=_0x102bec['lib'],_0x208269=_0x5b3cde[_0x2d788b(0x273)],_0xacc5c0=_0x5b3cde[_0x2d788b(0x131)],_0x52d5c9=_0x102bec[_0x2d788b(0x2a0)],_0x15bc05=_0x52d5c9[_0x2d788b(0x1a9)],_0x29cc89=_0x52d5c9[_0x2d788b(0x120)]=_0x208269[_0x2d788b(0x1ae)]({'cfg':_0x208269['extend']({'keySize':0x80/0x20,'hasher':_0x15bc05,'iterations':0x1}),'init':function(_0x1b32ae){var _0x4ac24c=_0x2d788b;this[_0x4ac24c(0x22a)]=this[_0x4ac24c(0x22a)][_0x4ac24c(0x1ae)](_0x1b32ae);},'compute':function(_0x413f55,_0x2c85c9){var _0x277138=_0x2d788b;for(var _0x2a7653,_0x37a03a=this[_0x277138(0x22a)],_0x2b87ba=_0x37a03a[_0x277138(0x2ce)][_0x277138(0x348)](),_0x544c18=_0xacc5c0['create'](),_0x54e0c3=_0x544c18[_0x277138(0x308)],_0x1c7a4a=_0x37a03a[_0x277138(0xc1)],_0x45c58e=_0x37a03a[_0x277138(0x2ed)];_0x54e0c3[_0x277138(0x17d)]<_0x1c7a4a;){_0x2a7653&&_0x2b87ba[_0x277138(0x1fa)](_0x2a7653),_0x2a7653=_0x2b87ba[_0x277138(0x1fa)](_0x413f55)['finalize'](_0x2c85c9),_0x2b87ba['reset']();for(var _0xd30d5c=0x1;_0xd30d5c<_0x45c58e;_0xd30d5c++)_0x2a7653=_0x2b87ba['finalize'](_0x2a7653),_0x2b87ba[_0x277138(0x39c)]();_0x544c18[_0x277138(0x10f)](_0x2a7653);}return _0x544c18[_0x277138(0x39d)]=_0x1c7a4a*0x4,_0x544c18;}});_0x102bec[_0x2d788b(0x120)]=function(_0x76c9ed,_0x272258,_0x18d74d){var _0x4c63d7=_0x2d788b;return _0x29cc89[_0x4c63d7(0x348)](_0x18d74d)[_0x4c63d7(0x199)](_0x76c9ed,_0x272258);};}()),_0x5b1aa3['EvpKDF'];}));}(_0x2eaca7)),_0x2eaca7[_0x171c19(0x3b8)];}var _0x59cea2={'exports':{}},_0xcaf262=_0x59cea2['exports'],_0x3d8471;function _0x27583e(){var _0x26db60=_0x5cfc8b;return _0x3d8471||(_0x3d8471=0x1,function(_0x1e4ff5,_0x237f29){(function(_0x3b03f8,_0x1e5183,_0x529dfa){var _0x43c559=_0x5e92;_0x1e4ff5[_0x43c559(0x3b8)]=_0x1e5183(_0x2cf804(),_0x513fa2());}(_0xcaf262,function(_0xc31d26){var _0x5aace1=_0x5e92;_0xc31d26[_0x5aace1(0x311)][_0x5aace1(0x37a)]||function(_0x52ebee){var _0x44bd29=_0x5aace1,_0x163744=_0xc31d26,_0x2bbf4e=_0x163744[_0x44bd29(0x311)],_0x22b283=_0x2bbf4e[_0x44bd29(0x273)],_0x43bd2c=_0x2bbf4e['WordArray'],_0x1acf8a=_0x2bbf4e[_0x44bd29(0x278)],_0xeeddeb=_0x163744[_0x44bd29(0x364)];_0xeeddeb['Utf8'];var _0xe660a=_0xeeddeb[_0x44bd29(0x232)],_0x55734d=_0x163744['algo'],_0x24bd60=_0x55734d[_0x44bd29(0x120)],_0x4e7e2f=_0x2bbf4e[_0x44bd29(0x37a)]=_0x1acf8a[_0x44bd29(0x1ae)]({'cfg':_0x22b283[_0x44bd29(0x1ae)](),'createEncryptor':function(_0x37a611,_0xa17332){var _0x509d91=_0x44bd29;return this[_0x509d91(0x348)](this[_0x509d91(0x270)],_0x37a611,_0xa17332);},'createDecryptor':function(_0x373f7f,_0x202251){var _0x1c564f=_0x44bd29;return this[_0x1c564f(0x348)](this[_0x1c564f(0x179)],_0x373f7f,_0x202251);},'init':function(_0x459c1c,_0x51441c,_0x31f6b7){var _0x64a875=_0x44bd29;this['cfg']=this['cfg'][_0x64a875(0x1ae)](_0x31f6b7),this[_0x64a875(0x26e)]=_0x459c1c,this[_0x64a875(0x2d4)]=_0x51441c,this[_0x64a875(0x39c)]();},'reset':function(){var _0x2ee054=_0x44bd29;_0x1acf8a[_0x2ee054(0x39c)][_0x2ee054(0x3ba)](this),this[_0x2ee054(0x34a)]();},'process':function(_0x28ac10){var _0x285a01=_0x44bd29;return this['_append'](_0x28ac10),this[_0x285a01(0x24c)]();},'finalize':function(_0x32ba23){var _0x113516=_0x44bd29;_0x32ba23&&this[_0x113516(0x1cc)](_0x32ba23);var _0x547174=this['_doFinalize']();return _0x547174;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x33b0c2(_0x274848){var _0x387bc6=_0x5e92;return typeof _0x274848==_0x387bc6(0x29c)?_0x5bb4a3:_0x222f81;}return function(_0x5989e5){return{'encrypt':function(_0xe03a44,_0x978292,_0xb43817){var _0x57b0ee=_0x5e92;return _0x33b0c2(_0x978292)[_0x57b0ee(0x127)](_0x5989e5,_0xe03a44,_0x978292,_0xb43817);},'decrypt':function(_0x503acb,_0xc497a5,_0x590840){var _0x31311e=_0x5e92;return _0x33b0c2(_0xc497a5)[_0x31311e(0x195)](_0x5989e5,_0x503acb,_0xc497a5,_0x590840);}};};}())});_0x2bbf4e['StreamCipher']=_0x4e7e2f['extend']({'_doFinalize':function(){var _0x3f9d51=this['_process'](!0x0);return _0x3f9d51;},'blockSize':0x1});var _0x2b70f5=_0x163744[_0x44bd29(0x213)]={},_0x1b0784=_0x2bbf4e[_0x44bd29(0x149)]=_0x22b283[_0x44bd29(0x1ae)]({'createEncryptor':function(_0x2baba7,_0x336b30){var _0x26a4b6=_0x44bd29;return this[_0x26a4b6(0x28b)][_0x26a4b6(0x348)](_0x2baba7,_0x336b30);},'createDecryptor':function(_0x4fc5cb,_0xfbe7f5){return this['Decryptor']['create'](_0x4fc5cb,_0xfbe7f5);},'init':function(_0x585a88,_0xd5a634){var _0x274315=_0x44bd29;this[_0x274315(0x180)]=_0x585a88,this[_0x274315(0x80)]=_0xd5a634;}}),_0x2c48dc=_0x2b70f5[_0x44bd29(0x1e5)]=(function(){var _0x41cc41=_0x44bd29,_0x1b7772=_0x1b0784['extend']();_0x1b7772['Encryptor']=_0x1b7772[_0x41cc41(0x1ae)]({'processBlock':function(_0x1568b2,_0x2ba202){var _0x4449d7=_0x41cc41,_0x4b4723=this['_cipher'],_0x146604=_0x4b4723[_0x4449d7(0x3ee)];_0x30087c['call'](this,_0x1568b2,_0x2ba202,_0x146604),_0x4b4723[_0x4449d7(0x238)](_0x1568b2,_0x2ba202),this['_prevBlock']=_0x1568b2[_0x4449d7(0x3f1)](_0x2ba202,_0x2ba202+_0x146604);}}),_0x1b7772[_0x41cc41(0x1ac)]=_0x1b7772[_0x41cc41(0x1ae)]({'processBlock':function(_0x1da92a,_0x357725){var _0x413809=_0x41cc41,_0x416ec8=this[_0x413809(0x180)],_0x5e7abe=_0x416ec8[_0x413809(0x3ee)],_0x6294ec=_0x1da92a[_0x413809(0x3f1)](_0x357725,_0x357725+_0x5e7abe);_0x416ec8[_0x413809(0x351)](_0x1da92a,_0x357725),_0x30087c[_0x413809(0x3ba)](this,_0x1da92a,_0x357725,_0x5e7abe),this[_0x413809(0x387)]=_0x6294ec;}});function _0x30087c(_0x10481f,_0x3681dc,_0x87d899){var _0x5e38c2=_0x41cc41,_0x49b45c,_0x27cebf=this[_0x5e38c2(0x80)];_0x27cebf?(_0x49b45c=_0x27cebf,this['_iv']=_0x52ebee):_0x49b45c=this[_0x5e38c2(0x387)];for(var _0x5933b7=0x0;_0x5933b7<_0x87d899;_0x5933b7++)_0x10481f[_0x3681dc+_0x5933b7]^=_0x49b45c[_0x5933b7];}return _0x1b7772;}()),_0x1680a3=_0x163744[_0x44bd29(0x2c0)]={},_0x4d9884=_0x1680a3[_0x44bd29(0x272)]={'pad':function(_0x210a81,_0x4b4590){var _0x56e9be=_0x44bd29;for(var _0x2c7a49=_0x4b4590*0x4,_0x4bf364=_0x2c7a49-_0x210a81[_0x56e9be(0x39d)]%_0x2c7a49,_0x33fc8c=_0x4bf364<<0x18|_0x4bf364<<0x10|_0x4bf364<<0x8|_0x4bf364,_0x39f355=[],_0x1a903e=0x0;_0x1a903e<_0x4bf364;_0x1a903e+=0x4)_0x39f355[_0x56e9be(0x1b3)](_0x33fc8c);var _0xd83539=_0x43bd2c[_0x56e9be(0x348)](_0x39f355,_0x4bf364);_0x210a81[_0x56e9be(0x10f)](_0xd83539);},'unpad':function(_0x509983){var _0x37344b=_0x44bd29,_0x2a1d2b=_0x509983[_0x37344b(0x308)][_0x509983[_0x37344b(0x39d)]-0x1>>>0x2]&0xff;_0x509983[_0x37344b(0x39d)]-=_0x2a1d2b;}};_0x2bbf4e['BlockCipher']=_0x4e7e2f[_0x44bd29(0x1ae)]({'cfg':_0x4e7e2f[_0x44bd29(0x22a)][_0x44bd29(0x1ae)]({'mode':_0x2c48dc,'padding':_0x4d9884}),'reset':function(){var _0x495cf9=_0x44bd29,_0x565c7f;_0x4e7e2f[_0x495cf9(0x39c)][_0x495cf9(0x3ba)](this);var _0x5c510f=this[_0x495cf9(0x22a)],_0x464136=_0x5c510f['iv'],_0x1cbc84=_0x5c510f[_0x495cf9(0x213)];this[_0x495cf9(0x26e)]==this[_0x495cf9(0x270)]?_0x565c7f=_0x1cbc84[_0x495cf9(0x2ab)]:(_0x565c7f=_0x1cbc84['createDecryptor'],this[_0x495cf9(0x3e4)]=0x1),this['_mode']&&this[_0x495cf9(0x373)][_0x495cf9(0x2dc)]==_0x565c7f?this[_0x495cf9(0x373)]['init'](this,_0x464136&&_0x464136[_0x495cf9(0x308)]):(this[_0x495cf9(0x373)]=_0x565c7f[_0x495cf9(0x3ba)](_0x1cbc84,this,_0x464136&&_0x464136['words']),this['_mode'][_0x495cf9(0x2dc)]=_0x565c7f);},'_doProcessBlock':function(_0x2356a6,_0x2ed031){var _0x73a30a=_0x44bd29;this[_0x73a30a(0x373)][_0x73a30a(0x216)](_0x2356a6,_0x2ed031);},'_doFinalize':function(){var _0x342b14=_0x44bd29,_0x1867c3,_0x4b1fab=this['cfg'][_0x342b14(0x2cf)];return this[_0x342b14(0x26e)]==this[_0x342b14(0x270)]?(_0x4b1fab[_0x342b14(0x2c0)](this[_0x342b14(0x88)],this['blockSize']),_0x1867c3=this[_0x342b14(0x24c)](!0x0)):(_0x1867c3=this[_0x342b14(0x24c)](!0x0),_0x4b1fab[_0x342b14(0x12e)](_0x1867c3)),_0x1867c3;},'blockSize':0x80/0x20});var _0xb17faa=_0x2bbf4e[_0x44bd29(0x174)]=_0x22b283[_0x44bd29(0x1ae)]({'init':function(_0x546e76){this['mixIn'](_0x546e76);},'toString':function(_0x202036){var _0x677910=_0x44bd29;return(_0x202036||this['formatter'])[_0x677910(0x385)](this);}}),_0x341262=_0x163744[_0x44bd29(0x358)]={},_0x2d71d4=_0x341262[_0x44bd29(0x265)]={'stringify':function(_0x466e62){var _0x40ce86=_0x44bd29,_0x3b63c1,_0x300e3c=_0x466e62[_0x40ce86(0xf9)],_0x4d0373=_0x466e62[_0x40ce86(0x382)];return _0x4d0373?_0x3b63c1=_0x43bd2c['create']([0x53616c74,0x65645f5f])[_0x40ce86(0x10f)](_0x4d0373)[_0x40ce86(0x10f)](_0x300e3c):_0x3b63c1=_0x300e3c,_0x3b63c1[_0x40ce86(0x396)](_0xe660a);},'parse':function(_0xc157ec){var _0x86562f=_0x44bd29,_0x43cc00,_0x2ceb4e=_0xe660a[_0x86562f(0x101)](_0xc157ec),_0x5dcba3=_0x2ceb4e[_0x86562f(0x308)];return _0x5dcba3[0x0]==0x53616c74&&_0x5dcba3[0x1]==0x65645f5f&&(_0x43cc00=_0x43bd2c[_0x86562f(0x348)](_0x5dcba3[_0x86562f(0x3f1)](0x2,0x4)),_0x5dcba3[_0x86562f(0x85)](0x0,0x4),_0x2ceb4e[_0x86562f(0x39d)]-=0x10),_0xb17faa[_0x86562f(0x348)]({'ciphertext':_0x2ceb4e,'salt':_0x43cc00});}},_0x222f81=_0x2bbf4e['SerializableCipher']=_0x22b283[_0x44bd29(0x1ae)]({'cfg':_0x22b283[_0x44bd29(0x1ae)]({'format':_0x2d71d4}),'encrypt':function(_0x2108ea,_0x2b6907,_0x5103fa,_0x14cd8a){var _0x17f2c8=_0x44bd29;_0x14cd8a=this[_0x17f2c8(0x22a)][_0x17f2c8(0x1ae)](_0x14cd8a);var _0x3bca51=_0x2108ea[_0x17f2c8(0x2ab)](_0x5103fa,_0x14cd8a),_0x38e21b=_0x3bca51[_0x17f2c8(0x38e)](_0x2b6907),_0x2fd2f6=_0x3bca51[_0x17f2c8(0x22a)];return _0xb17faa['create']({'ciphertext':_0x38e21b,'key':_0x5103fa,'iv':_0x2fd2f6['iv'],'algorithm':_0x2108ea,'mode':_0x2fd2f6[_0x17f2c8(0x213)],'padding':_0x2fd2f6[_0x17f2c8(0x2cf)],'blockSize':_0x2108ea[_0x17f2c8(0x3ee)],'formatter':_0x14cd8a['format']});},'decrypt':function(_0x308e2e,_0xf1df11,_0x1339a3,_0x95f3f2){var _0x3ac444=_0x44bd29;_0x95f3f2=this['cfg']['extend'](_0x95f3f2),_0xf1df11=this[_0x3ac444(0x190)](_0xf1df11,_0x95f3f2[_0x3ac444(0x358)]);var _0x4831e9=_0x308e2e[_0x3ac444(0x79)](_0x1339a3,_0x95f3f2)[_0x3ac444(0x38e)](_0xf1df11[_0x3ac444(0xf9)]);return _0x4831e9;},'_parse':function(_0x366a37,_0x269ea2){var _0x25ca44=_0x44bd29;return typeof _0x366a37==_0x25ca44(0x29c)?_0x269ea2[_0x25ca44(0x101)](_0x366a37,this):_0x366a37;}}),_0x3f0dd2=_0x163744['kdf']={},_0x4ec077=_0x3f0dd2[_0x44bd29(0x265)]={'execute':function(_0x3bdbbc,_0x4dea06,_0x245a30,_0x2e12c2,_0x5d0ce3){var _0x69d13c=_0x44bd29;if(_0x2e12c2||(_0x2e12c2=_0x43bd2c[_0x69d13c(0x244)](0x40/0x8)),_0x5d0ce3)var _0x3cecb0=_0x24bd60[_0x69d13c(0x348)]({'keySize':_0x4dea06+_0x245a30,'hasher':_0x5d0ce3})[_0x69d13c(0x199)](_0x3bdbbc,_0x2e12c2);else var _0x3cecb0=_0x24bd60[_0x69d13c(0x348)]({'keySize':_0x4dea06+_0x245a30})[_0x69d13c(0x199)](_0x3bdbbc,_0x2e12c2);var _0x5ca026=_0x43bd2c[_0x69d13c(0x348)](_0x3cecb0['words'][_0x69d13c(0x3f1)](_0x4dea06),_0x245a30*0x4);return _0x3cecb0[_0x69d13c(0x39d)]=_0x4dea06*0x4,_0xb17faa['create']({'key':_0x3cecb0,'iv':_0x5ca026,'salt':_0x2e12c2});}},_0x5bb4a3=_0x2bbf4e[_0x44bd29(0xf2)]=_0x222f81[_0x44bd29(0x1ae)]({'cfg':_0x222f81['cfg'][_0x44bd29(0x1ae)]({'kdf':_0x4ec077}),'encrypt':function(_0x11ac2e,_0x41a706,_0x340b08,_0x222950){var _0x46df2f=_0x44bd29;_0x222950=this[_0x46df2f(0x22a)][_0x46df2f(0x1ae)](_0x222950);var _0x22c2c2=_0x222950['kdf'][_0x46df2f(0x18d)](_0x340b08,_0x11ac2e[_0x46df2f(0xc1)],_0x11ac2e['ivSize'],_0x222950[_0x46df2f(0x382)],_0x222950['hasher']);_0x222950['iv']=_0x22c2c2['iv'];var _0x2e4175=_0x222f81[_0x46df2f(0x127)][_0x46df2f(0x3ba)](this,_0x11ac2e,_0x41a706,_0x22c2c2[_0x46df2f(0x284)],_0x222950);return _0x2e4175[_0x46df2f(0x21c)](_0x22c2c2),_0x2e4175;},'decrypt':function(_0x584a28,_0x3e8902,_0x15d5c9,_0x26e898){var _0x3d209f=_0x44bd29;_0x26e898=this[_0x3d209f(0x22a)][_0x3d209f(0x1ae)](_0x26e898),_0x3e8902=this[_0x3d209f(0x190)](_0x3e8902,_0x26e898[_0x3d209f(0x358)]);var _0x3330ee=_0x26e898[_0x3d209f(0xa9)][_0x3d209f(0x18d)](_0x15d5c9,_0x584a28[_0x3d209f(0xc1)],_0x584a28[_0x3d209f(0x147)],_0x3e8902['salt'],_0x26e898[_0x3d209f(0x2ce)]);_0x26e898['iv']=_0x3330ee['iv'];var _0x44347c=_0x222f81[_0x3d209f(0x195)]['call'](this,_0x584a28,_0x3e8902,_0x3330ee[_0x3d209f(0x284)],_0x26e898);return _0x44347c;}});}();}));}(_0x59cea2)),_0x59cea2[_0x26db60(0x3b8)];}var _0x1ce487=_0x515cfc['exports'],_0x111cf9;function _0x50fc55(){var _0x12c392=_0x5cfc8b;return _0x111cf9||(_0x111cf9=0x1,function(_0x3a3ad1,_0x5b0535){(function(_0x1b3b08,_0x42b438,_0x291ac0){var _0x20b024=_0x5e92;_0x3a3ad1[_0x20b024(0x3b8)]=_0x42b438(_0x2cf804(),_0x166708(),_0x371ac0(),_0x513fa2(),_0x27583e());}(_0x1ce487,function(_0x525ca3){var _0xcb5a13=_0x5e92;return(function(){var _0x15f87c=_0x5e92,_0x226c50=_0x525ca3,_0x6a74d2=_0x226c50[_0x15f87c(0x311)],_0x3e2408=_0x6a74d2[_0x15f87c(0x327)],_0x2271ef=_0x226c50[_0x15f87c(0x2a0)],_0x422f9a=[],_0x560859=[],_0x34816c=[],_0x3ff55e=[],_0x140e80=[],_0x546804=[],_0x32e042=[],_0x15fd29=[],_0x315751=[],_0x4afec0=[];(function(){for(var _0x337274=[],_0x500103=0x0;_0x500103<0x100;_0x500103++)_0x500103<0x80?_0x337274[_0x500103]=_0x500103<<0x1:_0x337274[_0x500103]=_0x500103<<0x1^0x11b;for(var _0x12d3e0=0x0,_0x3a5399=0x0,_0x500103=0x0;_0x500103<0x100;_0x500103++){var _0x3c5ec0=_0x3a5399^_0x3a5399<<0x1^_0x3a5399<<0x2^_0x3a5399<<0x3^_0x3a5399<<0x4;_0x3c5ec0=_0x3c5ec0>>>0x8^_0x3c5ec0&0xff^0x63,_0x422f9a[_0x12d3e0]=_0x3c5ec0,_0x560859[_0x3c5ec0]=_0x12d3e0;var _0x3386cf=_0x337274[_0x12d3e0],_0x354307=_0x337274[_0x3386cf],_0x40ad7a=_0x337274[_0x354307],_0x57de69=_0x337274[_0x3c5ec0]*0x101^_0x3c5ec0*0x1010100;_0x34816c[_0x12d3e0]=_0x57de69<<0x18|_0x57de69>>>0x8,_0x3ff55e[_0x12d3e0]=_0x57de69<<0x10|_0x57de69>>>0x10,_0x140e80[_0x12d3e0]=_0x57de69<<0x8|_0x57de69>>>0x18,_0x546804[_0x12d3e0]=_0x57de69;var _0x57de69=_0x40ad7a*0x1010101^_0x354307*0x10001^_0x3386cf*0x101^_0x12d3e0*0x1010100;_0x32e042[_0x3c5ec0]=_0x57de69<<0x18|_0x57de69>>>0x8,_0x15fd29[_0x3c5ec0]=_0x57de69<<0x10|_0x57de69>>>0x10,_0x315751[_0x3c5ec0]=_0x57de69<<0x8|_0x57de69>>>0x18,_0x4afec0[_0x3c5ec0]=_0x57de69,_0x12d3e0?(_0x12d3e0=_0x3386cf^_0x337274[_0x337274[_0x337274[_0x40ad7a^_0x3386cf]]],_0x3a5399^=_0x337274[_0x337274[_0x3a5399]]):_0x12d3e0=_0x3a5399=0x1;}}());var _0x36f105=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x49983c=_0x2271ef[_0x15f87c(0x134)]=_0x3e2408[_0x15f87c(0x1ae)]({'_doReset':function(){var _0x3b5e59=_0x15f87c,_0xd0af09;if(!(this[_0x3b5e59(0x7f)]&&this['_keyPriorReset']===this[_0x3b5e59(0x2d4)])){for(var _0x1e737c=this[_0x3b5e59(0x3e5)]=this[_0x3b5e59(0x2d4)],_0x5e7317=_0x1e737c[_0x3b5e59(0x308)],_0x1fd5d5=_0x1e737c[_0x3b5e59(0x39d)]/0x4,_0x44644e=this[_0x3b5e59(0x7f)]=_0x1fd5d5+0x6,_0x4c3dce=(_0x44644e+0x1)*0x4,_0x445790=this[_0x3b5e59(0x3e0)]=[],_0x42dcb3=0x0;_0x42dcb3<_0x4c3dce;_0x42dcb3++)_0x42dcb3<_0x1fd5d5?_0x445790[_0x42dcb3]=_0x5e7317[_0x42dcb3]:(_0xd0af09=_0x445790[_0x42dcb3-0x1],_0x42dcb3%_0x1fd5d5?_0x1fd5d5>0x6&&_0x42dcb3%_0x1fd5d5==0x4&&(_0xd0af09=_0x422f9a[_0xd0af09>>>0x18]<<0x18|_0x422f9a[_0xd0af09>>>0x10&0xff]<<0x10|_0x422f9a[_0xd0af09>>>0x8&0xff]<<0x8|_0x422f9a[_0xd0af09&0xff]):(_0xd0af09=_0xd0af09<<0x8|_0xd0af09>>>0x18,_0xd0af09=_0x422f9a[_0xd0af09>>>0x18]<<0x18|_0x422f9a[_0xd0af09>>>0x10&0xff]<<0x10|_0x422f9a[_0xd0af09>>>0x8&0xff]<<0x8|_0x422f9a[_0xd0af09&0xff],_0xd0af09^=_0x36f105[_0x42dcb3/_0x1fd5d5|0x0]<<0x18),_0x445790[_0x42dcb3]=_0x445790[_0x42dcb3-_0x1fd5d5]^_0xd0af09);for(var _0xd66ae2=this[_0x3b5e59(0x33d)]=[],_0x9931e3=0x0;_0x9931e3<_0x4c3dce;_0x9931e3++){var _0x42dcb3=_0x4c3dce-_0x9931e3;if(_0x9931e3%0x4)var _0xd0af09=_0x445790[_0x42dcb3];else var _0xd0af09=_0x445790[_0x42dcb3-0x4];_0x9931e3<0x4||_0x42dcb3<=0x4?_0xd66ae2[_0x9931e3]=_0xd0af09:_0xd66ae2[_0x9931e3]=_0x32e042[_0x422f9a[_0xd0af09>>>0x18]]^_0x15fd29[_0x422f9a[_0xd0af09>>>0x10&0xff]]^_0x315751[_0x422f9a[_0xd0af09>>>0x8&0xff]]^_0x4afec0[_0x422f9a[_0xd0af09&0xff]];}}},'encryptBlock':function(_0x42cf54,_0x37235c){var _0x252d8c=_0x15f87c;this[_0x252d8c(0x298)](_0x42cf54,_0x37235c,this[_0x252d8c(0x3e0)],_0x34816c,_0x3ff55e,_0x140e80,_0x546804,_0x422f9a);},'decryptBlock':function(_0x52407f,_0x2e8ec9){var _0x7fc939=_0x15f87c,_0x3f0020=_0x52407f[_0x2e8ec9+0x1];_0x52407f[_0x2e8ec9+0x1]=_0x52407f[_0x2e8ec9+0x3],_0x52407f[_0x2e8ec9+0x3]=_0x3f0020,this['_doCryptBlock'](_0x52407f,_0x2e8ec9,this[_0x7fc939(0x33d)],_0x32e042,_0x15fd29,_0x315751,_0x4afec0,_0x560859);var _0x3f0020=_0x52407f[_0x2e8ec9+0x1];_0x52407f[_0x2e8ec9+0x1]=_0x52407f[_0x2e8ec9+0x3],_0x52407f[_0x2e8ec9+0x3]=_0x3f0020;},'_doCryptBlock':function(_0x235a54,_0x42a8ac,_0x5913f8,_0x261262,_0x3c26e8,_0x2509c1,_0x4cd55a,_0x32c9c7){var _0x158628=_0x15f87c;for(var _0xf74964=this[_0x158628(0x7f)],_0x3cc457=_0x235a54[_0x42a8ac]^_0x5913f8[0x0],_0x516a3f=_0x235a54[_0x42a8ac+0x1]^_0x5913f8[0x1],_0x31284f=_0x235a54[_0x42a8ac+0x2]^_0x5913f8[0x2],_0x57d415=_0x235a54[_0x42a8ac+0x3]^_0x5913f8[0x3],_0x3f8757=0x4,_0x20e28c=0x1;_0x20e28c<_0xf74964;_0x20e28c++){var _0x5c5db6=_0x261262[_0x3cc457>>>0x18]^_0x3c26e8[_0x516a3f>>>0x10&0xff]^_0x2509c1[_0x31284f>>>0x8&0xff]^_0x4cd55a[_0x57d415&0xff]^_0x5913f8[_0x3f8757++],_0x783a24=_0x261262[_0x516a3f>>>0x18]^_0x3c26e8[_0x31284f>>>0x10&0xff]^_0x2509c1[_0x57d415>>>0x8&0xff]^_0x4cd55a[_0x3cc457&0xff]^_0x5913f8[_0x3f8757++],_0x207d71=_0x261262[_0x31284f>>>0x18]^_0x3c26e8[_0x57d415>>>0x10&0xff]^_0x2509c1[_0x3cc457>>>0x8&0xff]^_0x4cd55a[_0x516a3f&0xff]^_0x5913f8[_0x3f8757++],_0x32b9ba=_0x261262[_0x57d415>>>0x18]^_0x3c26e8[_0x3cc457>>>0x10&0xff]^_0x2509c1[_0x516a3f>>>0x8&0xff]^_0x4cd55a[_0x31284f&0xff]^_0x5913f8[_0x3f8757++];_0x3cc457=_0x5c5db6,_0x516a3f=_0x783a24,_0x31284f=_0x207d71,_0x57d415=_0x32b9ba;}var _0x5c5db6=(_0x32c9c7[_0x3cc457>>>0x18]<<0x18|_0x32c9c7[_0x516a3f>>>0x10&0xff]<<0x10|_0x32c9c7[_0x31284f>>>0x8&0xff]<<0x8|_0x32c9c7[_0x57d415&0xff])^_0x5913f8[_0x3f8757++],_0x783a24=(_0x32c9c7[_0x516a3f>>>0x18]<<0x18|_0x32c9c7[_0x31284f>>>0x10&0xff]<<0x10|_0x32c9c7[_0x57d415>>>0x8&0xff]<<0x8|_0x32c9c7[_0x3cc457&0xff])^_0x5913f8[_0x3f8757++],_0x207d71=(_0x32c9c7[_0x31284f>>>0x18]<<0x18|_0x32c9c7[_0x57d415>>>0x10&0xff]<<0x10|_0x32c9c7[_0x3cc457>>>0x8&0xff]<<0x8|_0x32c9c7[_0x516a3f&0xff])^_0x5913f8[_0x3f8757++],_0x32b9ba=(_0x32c9c7[_0x57d415>>>0x18]<<0x18|_0x32c9c7[_0x3cc457>>>0x10&0xff]<<0x10|_0x32c9c7[_0x516a3f>>>0x8&0xff]<<0x8|_0x32c9c7[_0x31284f&0xff])^_0x5913f8[_0x3f8757++];_0x235a54[_0x42a8ac]=_0x5c5db6,_0x235a54[_0x42a8ac+0x1]=_0x783a24,_0x235a54[_0x42a8ac+0x2]=_0x207d71,_0x235a54[_0x42a8ac+0x3]=_0x32b9ba;},'keySize':0x100/0x20});_0x226c50[_0x15f87c(0x134)]=_0x3e2408['_createHelper'](_0x49983c);}()),_0x525ca3[_0xcb5a13(0x134)];}));}(_0x515cfc)),_0x515cfc[_0x12c392(0x3b8)];}var _0x4b5ca8=_0x50fc55();const _0x4d0511=_0x7b3cb3(_0x4b5ca8);var _0x551833=_0x166708();const _0x36e115=_0x7b3cb3(_0x551833);var _0x4baa65={'exports':{}},_0x521122=_0x4baa65[_0x5cfc8b(0x3b8)],_0x34f66b;function _0x36d730(){var _0x1427be=_0x5cfc8b;return _0x34f66b||(_0x34f66b=0x1,function(_0x20b7be,_0x50cb3d){(function(_0x243f5f,_0x34a132){var _0x22b6b5=_0x5e92;_0x20b7be[_0x22b6b5(0x3b8)]=_0x34a132(_0x2cf804());}(_0x521122,function(_0x4297fd){var _0x336825=_0x5e92;return _0x4297fd[_0x336825(0x364)][_0x336825(0x3a1)];}));}(_0x4baa65)),_0x4baa65[_0x1427be(0x3b8)];}var _0x413bfb=_0x36d730();const _0x2f8f9a=_0x7b3cb3(_0x413bfb);var _0x4592ab={'exports':{}},_0x528b39=_0x4592ab[_0x5cfc8b(0x3b8)],_0x16f2e0;function _0x5b3c62(){var _0x5b24e5=_0x5cfc8b;return _0x16f2e0||(_0x16f2e0=0x1,function(_0x180f1e,_0x12e460){(function(_0x21895b,_0x2aa14d){var _0x2958a9=_0x5e92;_0x180f1e[_0x2958a9(0x3b8)]=_0x2aa14d(_0x2cf804());}(_0x528b39,function(_0x4d9b67){var _0x3e7538=_0x5e92;return(function(){var _0x5b1556=_0x5e92;if(typeof ArrayBuffer==_0x5b1556(0x103)){var _0x430b39=_0x4d9b67,_0x41faa3=_0x430b39[_0x5b1556(0x311)],_0x40de4c=_0x41faa3[_0x5b1556(0x131)],_0x53b68d=_0x40de4c[_0x5b1556(0xf8)],_0x720e86=_0x40de4c[_0x5b1556(0xf8)]=function(_0x1e900a){var _0x28fc32=_0x5b1556;if(_0x1e900a instanceof ArrayBuffer&&(_0x1e900a=new Uint8Array(_0x1e900a)),(_0x1e900a instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x1e900a instanceof Uint8ClampedArray||_0x1e900a instanceof Int16Array||_0x1e900a instanceof Uint16Array||_0x1e900a instanceof Int32Array||_0x1e900a instanceof Uint32Array||_0x1e900a instanceof Float32Array||_0x1e900a instanceof Float64Array)&&(_0x1e900a=new Uint8Array(_0x1e900a[_0x28fc32(0x3bb)],_0x1e900a['byteOffset'],_0x1e900a[_0x28fc32(0x333)])),_0x1e900a instanceof Uint8Array){for(var _0x1cb1fe=_0x1e900a['byteLength'],_0x254490=[],_0x3f10cf=0x0;_0x3f10cf<_0x1cb1fe;_0x3f10cf++)_0x254490[_0x3f10cf>>>0x2]|=_0x1e900a[_0x3f10cf]<<0x18-_0x3f10cf%0x4*0x8;_0x53b68d[_0x28fc32(0x3ba)](this,_0x254490,_0x1cb1fe);}else _0x53b68d[_0x28fc32(0x10b)](this,arguments);};_0x720e86[_0x5b1556(0x1c9)]=_0x40de4c;}}()),_0x4d9b67[_0x3e7538(0x311)][_0x3e7538(0x131)];}));}(_0x4592ab)),_0x4592ab[_0x5b24e5(0x3b8)];}var _0x40c9c3=_0x5b3c62();const _0x4d0917=_0x7b3cb3(_0x40c9c3);var _0x335ad3={'exports':{}},_0x49bea1=_0x335ad3['exports'],_0x52d808;function _0x26329c(){return _0x52d808||(_0x52d808=0x1,function(_0x367e1d,_0x22d4ce){(function(_0x35ca93,_0x43e2b2,_0x16ed0e){var _0x28ed6c=_0x5e92;_0x367e1d[_0x28ed6c(0x3b8)]=_0x43e2b2(_0x2cf804(),_0x27583e());}(_0x49bea1,function(_0x1e6f29){var _0x40ac4f=_0x5e92;return _0x1e6f29[_0x40ac4f(0x2c0)][_0x40ac4f(0x16a)]={'pad':function(){},'unpad':function(){}},_0x1e6f29[_0x40ac4f(0x2c0)][_0x40ac4f(0x16a)];}));}(_0x335ad3)),_0x335ad3['exports'];}var _0x13d180=_0x26329c();const _0x11943e=_0x7b3cb3(_0x13d180);function _0xce98bb(_0x5b94ff,_0x551c31){var _0x555db4=_0x5cfc8b;const _0x10f34e=_0x551c31-_0x5b94ff[_0x555db4(0x17d)]%_0x551c31,_0x4ea109=String['fromCharCode'](_0x10f34e)[_0x555db4(0x282)](_0x10f34e);return _0x5b94ff+_0x4ea109;}function _0x47fc12(_0x4a2512,_0x46107a){var _0x6a6a66=_0x5cfc8b;const _0x448562=_0x4d0917['random'](0x10),_0xeabe4f=_0xce98bb(_0x4a2512,0x10),_0x32c94c=_0x4d0511[_0x6a6a66(0x127)](_0x2f8f9a['parse'](_0xeabe4f),_0x36e115[_0x6a6a66(0x101)](_0x46107a),{'iv':_0x448562,'padding':_0x11943e});return _0x448562[_0x6a6a66(0x10f)](_0x32c94c[_0x6a6a66(0xf9)])['toString'](_0x36e115);}function _0x55188b(){var _0x1eb466=_0x5cfc8b;const _0xfadf31=_0x52dc78[_0x1eb466(0x34f)]()[_0x1eb466(0x2bd)];if(_0xfadf31){const _0x23d40f={'time':Math[_0x1eb466(0xa0)](Date[_0x1eb466(0x1d2)]()/0x3e8),'domain':location['hostname']};return _0x47fc12(JSON['stringify'](_0x23d40f),_0xfadf31);}}var _0x7aa3de=Object[_0x5cfc8b(0x145)],_0x174dab=(_0x5a7b97,_0x4eebe4,_0x48c773,_0x47f4d8)=>{for(var _0x5d9274=_0x47f4d8>0x1?void 0x0:_0x47f4d8?_0x7aa3de(_0x4eebe4,_0x48c773):_0x4eebe4,_0x502114=_0x5a7b97['length']-0x1,_0x49e4e0;_0x502114>=0x0;_0x502114--)(_0x49e4e0=_0x5a7b97[_0x502114])&&(_0x5d9274=_0x49e4e0(_0x5d9274)||_0x5d9274);return _0x5d9274;},_0x5af8d6=(_0x387889,_0x18bf95)=>(_0x2c843c,_0x2d7ad0)=>_0x18bf95(_0x2c843c,_0x2d7ad0,_0x387889);let _0x24a2df=class{constructor(_0x2293f6){var _0x1fb551=_0x5cfc8b;this['_httpService']=_0x2293f6,this[_0x1fb551(0xe9)]();}[_0x5cfc8b(0xe9)](){var _0x548f0d=_0x5cfc8b;this[_0x548f0d(0x22e)][_0x548f0d(0x2b6)]({'interceptor':(_0xbefc1b,_0x2dd993)=>{var _0x303735=_0x548f0d;const _0x14efa4=_0xbefc1b[_0x303735(0x170)],_0x1c7894=_0x55188b();return _0x1c7894&&_0x14efa4[_0x303735(0xfa)]('x-univer-host',_0x1c7894),_0x2dd993(_0xbefc1b);}});}};_0x24a2df=_0x174dab([_0x5af8d6(0x0,_0x7fc923[_0x5cfc8b(0x1c1)](_0x39fb06[_0x5cfc8b(0x2f3)]))],_0x24a2df);var _0x32c480=Object[_0x5cfc8b(0x145)],_0x1b9927=(_0x4e2139,_0x3bb056,_0x3eee30,_0x57bfcb)=>{var _0x382cb9=_0x5cfc8b;for(var _0x4ed7a9=_0x57bfcb>0x1?void 0x0:_0x57bfcb?_0x32c480(_0x3bb056,_0x3eee30):_0x3bb056,_0x3fb12d=_0x4e2139[_0x382cb9(0x17d)]-0x1,_0x4b7044;_0x3fb12d>=0x0;_0x3fb12d--)(_0x4b7044=_0x4e2139[_0x3fb12d])&&(_0x4ed7a9=_0x4b7044(_0x4ed7a9)||_0x4ed7a9);return _0x4ed7a9;},_0x27b8bd=(_0x45c4eb,_0xc566c1)=>(_0x3fe369,_0x3e749e)=>_0xc566c1(_0x3fe369,_0x3e749e,_0x45c4eb);_0x11943a[_0x5cfc8b(0x32c)]=class extends _0x7fc923[_0x5cfc8b(0x14b)]{constructor(_0x146c40,_0x3735c8,_0x1c1069){var _0x52ad26=_0x5cfc8b;super(),_0x2acb83(this,_0x52ad26(0xab),new _0x277459[(_0x52ad26(0x116))](null)),_0x2acb83(this,_0x52ad26(0x3ef),this[_0x52ad26(0xab)][_0x52ad26(0x1cd)]()),(this['_logService']=_0x146c40,this['_snapshotService']=_0x3735c8,this[_0x52ad26(0x9f)]=_0x1c1069);}async[_0x5cfc8b(0x294)](_0x509606,_0x3f342b,_0x5e7b3a){var _0x23329c=_0x5cfc8b;this[_0x23329c(0xab)]['next']({'unitId':_0x509606,'type':_0x3f342b,'subUnitId':_0x5e7b3a});let _0x242529=null;switch(_0x3f342b){case _0x57f9ad['UNIVER_SHEET']:{_0x242529=await this[_0x23329c(0x2d9)](_0x509606);break;}case _0x57f9ad['UNIVER_DOC']:{_0x242529=await this[_0x23329c(0x35a)](_0x509606);break;}default:{this[_0x23329c(0x259)][_0x23329c(0x1de)]('[DataLoaderService]',_0x23329c(0x2fc));break;}}return _0x242529;}async['_loadSheet'](_0x52089e){var _0x14e947=_0x5cfc8b,_0x4161e1;let _0x34bc1c=0x0;const _0x1d8883=await((_0x4161e1=this[_0x14e947(0x9f)])==null?void 0x0:_0x4161e1['loadOfflineData'](_0x52089e));return _0x1d8883&&(_0x1d8883[_0x14e947(0x214)]||_0x1d8883['mutations'][_0x14e947(0x17d)]!==0x0)&&(_0x34bc1c=_0x1d8883[_0x14e947(0x3e1)]),_0x34bc1c===0x0&&this['_logService'][_0x14e947(0x262)]('[DataLoaderService]',_0x14e947(0x267)),this[_0x14e947(0x2fd)][_0x14e947(0x1c8)](_0x52089e,_0x34bc1c);}async[_0x5cfc8b(0x35a)](_0x3833f0){var _0x589305=_0x5cfc8b,_0x23b112;let _0x4ad525=0x0;const _0x4e5957=await((_0x23b112=this[_0x589305(0x9f)])==null?void 0x0:_0x23b112[_0x589305(0x268)](_0x3833f0));return _0x4e5957&&(_0x4e5957[_0x589305(0x214)]||_0x4e5957[_0x589305(0x349)][_0x589305(0x17d)]!==0x0)&&(_0x4ad525=_0x4e5957[_0x589305(0x3e1)]),_0x4ad525===0x0&&this['_logService'][_0x589305(0x262)](_0x589305(0x6f),_0x589305(0x267)),this['_snapshotService'][_0x589305(0x3d9)](_0x3833f0,_0x4ad525);}},_0x11943a[_0x5cfc8b(0x32c)]=_0x1b9927([_0x27b8bd(0x0,_0x7fc923[_0x5cfc8b(0x3d4)]),_0x27b8bd(0x1,_0x7fc923[_0x5cfc8b(0x1c1)](_0x2915ae[_0x5cfc8b(0x35e)])),_0x27b8bd(0x2,_0x7fc923[_0x5cfc8b(0x11f)](_0x128bfc))],_0x11943a['DataLoaderService']);var _0x747a93=Object[_0x5cfc8b(0x145)],_0x2a8d5d=(_0x3cbb39,_0x263993,_0x8fe85b,_0x58fe6e)=>{var _0x155376=_0x5cfc8b;for(var _0x4851a9=_0x58fe6e>0x1?void 0x0:_0x58fe6e?_0x747a93(_0x263993,_0x8fe85b):_0x263993,_0xa59a91=_0x3cbb39[_0x155376(0x17d)]-0x1,_0x543cbd;_0xa59a91>=0x0;_0xa59a91--)(_0x543cbd=_0x3cbb39[_0xa59a91])&&(_0x4851a9=_0x543cbd(_0x4851a9)||_0x4851a9);return _0x4851a9;},_0x3b616c=(_0x6d0359,_0x51a8ca)=>(_0x2f737f,_0x153602)=>_0x51a8ca(_0x2f737f,_0x153602,_0x6d0359);const _0x37fdfe=[_0x5cfc8b(0x106),_0x5cfc8b(0x155),_0x5cfc8b(0x33c),_0x5cfc8b(0x2bc),_0x5cfc8b(0x166)],_0x172381=0x5*0x400*0x400,_0x4b08a6=_0x5cfc8b(0x306),_0x30b27a=_0x5cfc8b(0x256),_0x260466=_0x5cfc8b(0x2b8),_0x3179b7=_0x5cfc8b(0x225);_0x11943a[_0x5cfc8b(0x118)]=class{constructor(_0x1a1b8b,_0x5579cc,_0x3c7cb0){var _0x4e7e57=_0x5cfc8b;_0x2acb83(this,'_waitCount',0x0),_0x2acb83(this,_0x4e7e57(0x341),new _0x277459[(_0x4e7e57(0x182))]()),_0x2acb83(this,_0x4e7e57(0x3b1),this[_0x4e7e57(0x341)]),_0x2acb83(this,_0x4e7e57(0x1c0),new Map()),(this[_0x4e7e57(0x22e)]=_0x1a1b8b,this[_0x4e7e57(0x21f)]=_0x5579cc,this[_0x4e7e57(0x342)]=_0x3c7cb0);}[_0x5cfc8b(0xcb)](_0x2b4211){var _0x230d8d=_0x5cfc8b;this[_0x230d8d(0x302)]=_0x2b4211,this[_0x230d8d(0x341)][_0x230d8d(0x1cb)](_0x2b4211);}['getImageSourceCache'](_0x2356c6,_0x27b26e){var _0x4bc6c0=_0x5cfc8b;if(_0x27b26e===_0x2cc4bc[_0x4bc6c0(0x28e)][_0x4bc6c0(0x29a)]){const _0xdd378d=new Image();return _0xdd378d[_0x4bc6c0(0x2d3)]=_0x2356c6,_0xdd378d;}return this[_0x4bc6c0(0x1c0)][_0x4bc6c0(0x241)](_0x2356c6);}['addImageSourceCache'](_0xbb4535,_0x1d8417,_0x277945){var _0x361ec7=_0x5cfc8b;_0x1d8417===_0x2cc4bc[_0x361ec7(0x28e)][_0x361ec7(0x29a)]||_0x277945==null||this[_0x361ec7(0x1c0)][_0x361ec7(0xfa)](_0xbb4535,_0x277945);}async[_0x5cfc8b(0x132)](_0xf6514c){var _0x4c9fa5=_0x5cfc8b;try{const _0x42a9b8=this[_0x4c9fa5(0x252)](this[_0x4c9fa5(0x3d6)](),''+_0xf6514c),_0x690ad6=(await this[_0x4c9fa5(0x22e)][_0x4c9fa5(0x241)](_0x42a9b8))[_0x4c9fa5(0x191)];if(_0x690ad6[_0x4c9fa5(0x1de)]&&_0x690ad6['error'][_0x4c9fa5(0x293)]===_0x478f69['OK']){const _0x360f28=new URL(_0x690ad6['url'],this[_0x4c9fa5(0x378)]())[_0x4c9fa5(0x396)]();return Promise['resolve'](_0x360f28);}return Promise[_0x4c9fa5(0x296)](_0x690ad6[_0x4c9fa5(0x1de)]);}catch(_0x1f8cff){return Promise[_0x4c9fa5(0x296)](_0x1f8cff);}}async[_0x5cfc8b(0x291)](_0x553269){var _0x1543e4=_0x5cfc8b;let _0x49a453='';if(!_0x37fdfe[_0x1543e4(0xb7)](_0x553269['type']))return this[_0x1543e4(0x380)](),Promise[_0x1543e4(0x296)](new Error(_0x2cc4bc[_0x1543e4(0x142)]['ERROR_IMAGE_TYPE']));if(_0x553269[_0x1543e4(0x288)]>_0x172381)return this[_0x1543e4(0x380)](),Promise[_0x1543e4(0x296)](new Error(_0x2cc4bc[_0x1543e4(0x142)][_0x1543e4(0x3b7)]));try{const _0x2a04b6=new FormData();_0x2a04b6['append'](_0x1543e4(0xa5),_0x553269);const _0x3595be=this[_0x1543e4(0x342)]['getFocusedUnit'](),_0x41a103=_0x3595be==null?void 0x0:_0x3595be[_0x1543e4(0x202)]();if(!_0x41a103)throw new Error(_0x1543e4(0x376));const _0x2cb9e8=this[_0x1543e4(0x1c6)]()+_0x1543e4(0x11b)+_0x553269[_0x1543e4(0x288)]['toString']()+_0x1543e4(0x1ee)+_0x3aa05b[_0x1543e4(0x383)]+_0x1543e4(0x38c)+encodeURIComponent(_0x41a103),_0x3f3b99=await(await fetch(_0x2cb9e8,{'method':_0x1543e4(0x2e6),'body':_0x2a04b6}))[_0x1543e4(0xe2)]();if(typeof _0x3f3b99[_0x1543e4(0x38a)]!='string')return this[_0x1543e4(0x380)](),Promise[_0x1543e4(0x296)](new Error(_0x2cc4bc['ImageUploadStatusType'][_0x1543e4(0xd8)]));_0x49a453=_0x3f3b99[_0x1543e4(0x38a)];}catch{return this[_0x1543e4(0x380)](),Promise[_0x1543e4(0x296)](new Error(_0x2cc4bc['ImageUploadStatusType'][_0x1543e4(0xd8)]));}return new Promise((_0x14a5c9,_0x251773)=>{var _0x4d392f=_0x1543e4;const _0x2c0cc9=new FileReader();_0x2c0cc9[_0x4d392f(0x263)](_0x553269),_0x2c0cc9['onload']=_0x1320af=>{var _0x3a27e5=_0x4d392f,_0x21ee2f;const _0x3f61fe=(_0x21ee2f=_0x1320af[_0x3a27e5(0x1d9)])==null?void 0x0:_0x21ee2f[_0x3a27e5(0x9d)];if(_0x3f61fe==null){this['_decreaseWaiting'](),_0x251773(new Error(_0x2cc4bc[_0x3a27e5(0x142)][_0x3a27e5(0xd8)]));return;}const _0x23724f=_0x7fc923[_0x3a27e5(0x237)][_0x3a27e5(0x36f)](0x6);_0x14a5c9({'imageId':_0x23724f,'imageSourceType':_0x2cc4bc['ImageSourceType']['UUID'],'source':_0x49a453,'base64Cache':_0x3f61fe,'status':_0x2cc4bc[_0x3a27e5(0x142)][_0x3a27e5(0x2ca)]}),this[_0x3a27e5(0x380)]();};});}[_0x5cfc8b(0x1c6)](){var _0xad6226=_0x5cfc8b,_0x133436,_0x219057;const _0x50833e=this['_configService'][_0xad6226(0x1fc)](_0x4b08a6),_0x53e5ee=this['_configService'][_0xad6226(0x1fc)](_0x4fd274);return(_0x219057=(_0x133436=_0x53e5ee==null?void 0x0:_0x53e5ee[_0xad6226(0x84)])!=null?_0x133436:_0x50833e)!=null?_0x219057:_0x30b27a;}['_getSignURL'](){var _0x3f28a7=_0x5cfc8b,_0x2dbc0e,_0x3e8369;const _0x1daeee=this[_0x3f28a7(0x21f)]['getConfig'](_0x260466),_0x4c7817=this[_0x3f28a7(0x21f)]['getConfig'](_0x4fd274);return(_0x3e8369=(_0x2dbc0e=_0x4c7817==null?void 0x0:_0x4c7817[_0x3f28a7(0x11a)])!=null?_0x2dbc0e:_0x1daeee)!=null?_0x3e8369:_0x3179b7;}[_0x5cfc8b(0x378)](){var _0x4bdd59=_0x5cfc8b,_0x3925f9;const _0xf7dd8d=this[_0x4bdd59(0x21f)][_0x4bdd59(0x1fc)](_0x4fd274);return(_0x3925f9=_0xf7dd8d==null?void 0x0:_0xf7dd8d[_0x4bdd59(0x1c3)])!=null?_0x3925f9:location['origin'];}[_0x5cfc8b(0x252)](_0x4d56d3,_0x2ff607){var _0x365a35=_0x5cfc8b;return _0x4d56d3[_0x365a35(0x38b)]('{fileID}',_0x2ff607);}[_0x5cfc8b(0x380)](){var _0x7354ff=_0x5cfc8b;this[_0x7354ff(0x302)]-=0x1,this[_0x7354ff(0x341)][_0x7354ff(0x1cb)](this[_0x7354ff(0x302)]);}},_0x11943a[_0x5cfc8b(0x118)]=_0x2a8d5d([_0x3b616c(0x0,_0x7fc923['Inject'](_0x39fb06[_0x5cfc8b(0x2f3)])),_0x3b616c(0x1,_0x7fc923[_0x5cfc8b(0x146)]),_0x3b616c(0x2,_0x7fc923['Inject'](_0x7fc923[_0x5cfc8b(0x338)]))],_0x11943a[_0x5cfc8b(0x118)]);var _0x1a5716=Object[_0x5cfc8b(0x145)],_0x254a7d=(_0x1833e9,_0x3a57d5,_0x3d1963,_0x13c46c)=>{for(var _0x249d6f=_0x13c46c>0x1?void 0x0:_0x13c46c?_0x1a5716(_0x3a57d5,_0x3d1963):_0x3a57d5,_0xd7e6c6=_0x1833e9['length']-0x1,_0x6119a3;_0xd7e6c6>=0x0;_0xd7e6c6--)(_0x6119a3=_0x1833e9[_0xd7e6c6])&&(_0x249d6f=_0x6119a3(_0x249d6f)||_0x249d6f);return _0x249d6f;},_0x413910=(_0xd6dec8,_0x12647)=>(_0x48566e,_0x32b2c1)=>_0x12647(_0x48566e,_0x32b2c1,_0xd6dec8);const _0xba266a=_0x5cfc8b(0x261);_0x11943a[_0x5cfc8b(0x324)]=class{constructor(_0x3981a8,_0x4dea2a){var _0x3fafd7=_0x5cfc8b;this[_0x3fafd7(0x21f)]=_0x3981a8,this[_0x3fafd7(0x137)]=_0x4dea2a;}['_getAPIPrefixPath'](){var _0x569264=_0x5cfc8b,_0x301a50,_0x3f9001;const _0x18c1a2=this['_configService'][_0x569264(0x1fc)](_0x36a4a8),_0x346dea=this[_0x569264(0x21f)][_0x569264(0x1fc)](_0x4fd274);return(_0x3f9001=(_0x301a50=_0x346dea==null?void 0x0:_0x346dea[_0x569264(0x20a)])!=null?_0x301a50:_0x18c1a2)!=null?_0x3f9001:_0xba266a;}async[_0x5cfc8b(0x3ca)](_0x36c7ea){var _0x1db4ad=_0x5cfc8b;const _0x27118d=this['_getAPIPrefixPath']()+'/collaborator';return{'list':[{'title':_0x1db4ad(0x197),'mentions':(await this[_0x1db4ad(0x137)][_0x1db4ad(0x241)](_0x27118d,{'params':{'objectID':_0x36c7ea['unitId'],'unitID':_0x36c7ea[_0x1db4ad(0x2ec)]}}))['body']['collaborators'][_0x1db4ad(0x1a1)](_0x15d0a6=>({'objectId':_0x15d0a6['id'],'name':_0x15d0a6[_0x1db4ad(0x326)][_0x1db4ad(0x121)],'metadata':{'icon':_0x15d0a6['subject'][_0x1db4ad(0x210)]},'label':_0x15d0a6['subject']['name'],'objectType':_0x7fc923[_0x1db4ad(0x3c2)]['PERSON']})),'metadata':{},'type':_0x7fc923[_0x1db4ad(0x3c2)]['PERSON']}]};}},_0x11943a['MentionIoHttpService']=_0x254a7d([_0x413910(0x0,_0x7fc923[_0x5cfc8b(0x1c1)](_0x7fc923['IConfigService'])),_0x413910(0x1,_0x7fc923['Inject'](_0x39fb06['HTTPService']))],_0x11943a[_0x5cfc8b(0x324)]);var _0x3f9c98=Object[_0x5cfc8b(0x145)],_0x59b0cc=(_0x43bd43,_0x233906,_0x8ffc26,_0x20ebf9)=>{for(var _0x149a3e=_0x20ebf9>0x1?void 0x0:_0x20ebf9?_0x3f9c98(_0x233906,_0x8ffc26):_0x233906,_0x194b1b=_0x43bd43['length']-0x1,_0x4058de;_0x194b1b>=0x0;_0x194b1b--)(_0x4058de=_0x43bd43[_0x194b1b])&&(_0x149a3e=_0x4058de(_0x149a3e)||_0x149a3e);return _0x149a3e;},_0x4737c5=(_0x21c337,_0xfbd9a5)=>(_0x188640,_0x357a40)=>_0xfbd9a5(_0x188640,_0x357a40,_0x21c337);let _0x2823d9=class extends _0x7fc923[_0x5cfc8b(0x14b)]{constructor(_0x21fde0,_0x232e2f,_0x2d2942,_0x1c424a,_0x413d8a){var _0x216f30=_0x5cfc8b;super(),this['_injector']=_0x21fde0,this[_0x216f30(0x342)]=_0x232e2f,this[_0x216f30(0x14c)]=_0x2d2942,this[_0x216f30(0x219)]=_0x1c424a,this['_collaborationUIEventService']=_0x413d8a,this[_0x216f30(0x1e4)](),this['_initCloseConn']();}[_0x5cfc8b(0x318)](){var _0x588a8e=_0x5cfc8b;const _0x2a83f9=async _0x4ffd91=>{var _0x51be78=_0x5e92;(await this['_collaborationSessionService'][_0x51be78(0x328)](_0x4ffd91))['event$']['pipe'](_0x4247e9[_0x51be78(0x2df)](_0xcf8c73=>_0xcf8c73[_0x51be78(0x1ca)]===_0x2915ae[_0x51be78(0x9a)][_0x51be78(0x276)]),_0x4247e9['takeUntil'](this['dispose$']))['subscribe'](_0x2071c4=>{var _0x3571db=_0x51be78;const _0x381fd4=_0x2071c4,{reason:_0x47f788}=_0x381fd4['data'];this['_collaborationUIEventService']['emitEvent']({'id':_0x48a145[_0x3571db(0x3f0)],'data':_0x47f788}),this[_0x3571db(0x14c)]['updatePermissionPoint'](new _0x333df9[(_0x3571db(0x2a9))](_0x4ffd91)['id'],!0x1),this[_0x3571db(0x219)][_0x3571db(0x249)](_0x4ffd91);});};_0x277459[_0x588a8e(0x260)](this[_0x588a8e(0x342)][_0x588a8e(0xf0)](_0x7fc923[_0x588a8e(0x1f8)][_0x588a8e(0x2fe)]),this[_0x588a8e(0x342)][_0x588a8e(0xf0)](_0x7fc923['UniverInstanceType'][_0x588a8e(0x89)]))[_0x588a8e(0x1db)](_0x4247e9[_0x588a8e(0x1a1)](_0x5f5820=>_0x5f5820['getUnitId']()),_0x4247e9[_0x588a8e(0x2df)](_0x453516=>!_0x7fc923[_0x588a8e(0x3b5)](_0x453516)),_0x4247e9['takeUntil'](this['dispose$']))['subscribe'](_0x2b3387=>{_0x2a83f9(_0x2b3387);});}[_0x5cfc8b(0x1e4)](){var _0x2c9da8=_0x5cfc8b;const _0x2e4521=async _0x2be7a5=>{var _0x3ce3ef=_0x5e92;const _0x35e1d4=await this[_0x3ce3ef(0x219)]['requireSession'](_0x2be7a5),_0xd12d13=this[_0x3ce3ef(0x176)][_0x3ce3ef(0x241)](_0x333df9[_0x3ce3ef(0xe0)]);_0x35e1d4['event$'][_0x3ce3ef(0x1db)](_0x4247e9[_0x3ce3ef(0x2df)](_0x5438a6=>_0x5438a6[_0x3ce3ef(0x1ca)]===_0x2915ae[_0x3ce3ef(0x9a)]['UPDATE_PERMISSION_OBJ']),_0x4247e9['takeUntil'](this[_0x3ce3ef(0x3f3)]))[_0x3ce3ef(0x172)](_0x385f2a=>{var _0xfa3995=_0x3ce3ef;const _0x2f8b64=_0x385f2a,{objectId:_0x41366a}=_0x2f8b64[_0xfa3995(0x309)];_0x41366a===_0x2be7a5?_0xd12d13[_0xfa3995(0xe5)](_0x2be7a5):_0xd12d13[_0xfa3995(0x3a8)](_0x2be7a5,_0x41366a);});};_0x277459[_0x2c9da8(0x260)](this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x7fc923[_0x2c9da8(0x1f8)]['UNIVER_SHEET']))[_0x2c9da8(0x1db)](_0x4247e9[_0x2c9da8(0x1a1)](_0x2dff6f=>_0x2dff6f['getUnitId']()),_0x4247e9[_0x2c9da8(0x2df)](_0x217591=>!_0x7fc923['isInternalEditorID'](_0x217591)),_0x4247e9[_0x2c9da8(0xfc)](this[_0x2c9da8(0x3f3)]))['subscribe'](_0x3fb17f=>{_0x2e4521(_0x3fb17f);});}};_0x2823d9=_0x59b0cc([_0x4737c5(0x0,_0x7fc923['Inject'](_0x7fc923['Injector'])),_0x4737c5(0x1,_0x7fc923[_0x5cfc8b(0x338)]),_0x4737c5(0x2,_0x7fc923[_0x5cfc8b(0x20c)]),_0x4737c5(0x3,_0x7fc923[_0x5cfc8b(0x1c1)](_0x11943a[_0x5cfc8b(0x31f)])),_0x4737c5(0x4,_0x7fc923['Inject'](_0xfbd43f))],_0x2823d9);var _0x75bd65=Object['getOwnPropertyDescriptor'],_0x13a4c7=(_0x33557a,_0x7d780a,_0xe816b8,_0x2f43fb)=>{var _0x5af55b=_0x5cfc8b;for(var _0x3e9caa=_0x2f43fb>0x1?void 0x0:_0x2f43fb?_0x75bd65(_0x7d780a,_0xe816b8):_0x7d780a,_0x23c337=_0x33557a[_0x5af55b(0x17d)]-0x1,_0x1c1ae3;_0x23c337>=0x0;_0x23c337--)(_0x1c1ae3=_0x33557a[_0x23c337])&&(_0x3e9caa=_0x1c1ae3(_0x3e9caa)||_0x3e9caa);return _0x3e9caa;},_0x575967=(_0x1d4bab,_0x4ed661)=>(_0x47f8c8,_0x4d87f0)=>_0x4ed661(_0x47f8c8,_0x4d87f0,_0x1d4bab);_0x11943a[_0x5cfc8b(0x15b)]=class{constructor(_0x377aa8,_0x149caf){var _0x127f19=_0x5cfc8b;this[_0x127f19(0x21f)]=_0x377aa8,this[_0x127f19(0x22e)]=_0x149caf;}async[_0x5cfc8b(0xce)](_0x374810,_0x1c9f49){var _0x50ced3=_0x5cfc8b,_0x19a630;const {unitID:_0x267d72,type:_0x15c4de,revision:_0x471ffd=0x0}=_0x1c9f49,_0x3f906d=this[_0x50ced3(0x14d)]()+'/'+_0x15c4de+'/unit/'+_0x267d72+'/rev/'+_0x471ffd,_0x16c0c7=(await this['_httpService']['get'](_0x3f906d))['body'],_0x3d1d0d=(_0x19a630=_0x16c0c7[_0x50ced3(0x3e8)])==null?void 0x0:_0x19a630[_0x50ced3(0xa3)];if(_0x3d1d0d){const _0x447b4a=_0x3d1d0d==null?void 0x0:_0x3d1d0d[_0x50ced3(0x18b)],_0xae3cfe=_0x2915ae['textEncoder']['encode'](_0x2915ae[_0x50ced3(0x227)](_0x447b4a));_0x3d1d0d[_0x50ced3(0x18b)]=_0xae3cfe,Object['entries'](_0x3d1d0d['sheets'])['forEach'](([,_0x47b4b0])=>{var _0x4a2e12=_0x50ced3;const _0xf6019f=_0x47b4b0[_0x4a2e12(0x18b)],_0x1b2745=_0x2915ae['textEncoder'][_0x4a2e12(0x3cc)](_0x2915ae[_0x4a2e12(0x227)](_0xf6019f));_0x47b4b0[_0x4a2e12(0x18b)]=_0x1b2745;});}return _0x16c0c7;}async[_0x5cfc8b(0x2f1)](_0x3e0ce3,_0x172e67){var _0x6bb54d=_0x5cfc8b;const {unitID:_0x513f21,type:_0x1a5bc4,blockID:_0x1de865}=_0x172e67,_0x5517d3=this[_0x6bb54d(0x2a2)]()+'/'+_0x1a5bc4+_0x6bb54d(0x3c0)+_0x513f21+_0x6bb54d(0x29b)+_0x1de865;return(await this[_0x6bb54d(0x22e)][_0x6bb54d(0x241)](_0x5517d3))['body'];}async[_0x5cfc8b(0x32d)](_0x39f621,_0x17bf6b){var _0x3575d5=_0x5cfc8b;const {unitID:_0x3721f1,type:_0x5e4376,blockID:_0x598e80}=_0x17bf6b,_0x270a7d=this['_getAPIPrefix']()+_0x3575d5(0x29b)+_0x5e4376+_0x3575d5(0x3c0)+_0x3721f1+_0x3575d5(0x29b)+_0x598e80;return(await this['_httpService'][_0x3575d5(0x241)](_0x270a7d))['body'];}async[_0x5cfc8b(0x1c4)](_0x149d00,_0x2cad22){var _0x16fcd5=_0x5cfc8b;const {unitID:_0x759510,type:_0x53244c,from:_0x54af00,to:_0x53d0e9}=_0x2cad22,_0x1cabef=this[_0x16fcd5(0x2a2)]()+'/'+_0x53244c+_0x16fcd5(0x3c0)+_0x759510+_0x16fcd5(0x8d)+_0x54af00+_0x16fcd5(0x38d)+_0x53d0e9;return(await this[_0x16fcd5(0x22e)]['get'](_0x1cabef))[_0x16fcd5(0x191)];}[_0x5cfc8b(0x14d)](){var _0x57aba6=_0x5cfc8b,_0x4221a9;return(_0x4221a9=this[_0x57aba6(0x21f)][_0x57aba6(0x1fc)](_0x1513c8))!=null?_0x4221a9:this[_0x57aba6(0x2a2)]();}['_getAPIPrefix'](){var _0x1222db=_0x5cfc8b,_0x3c4d44,_0x109d7a;const _0xce7a07=this[_0x1222db(0x21f)][_0x1222db(0x1fc)](_0x2268bc),_0x48ed6b=this[_0x1222db(0x21f)]['getConfig'](_0x4fd274);return(_0x109d7a=(_0x3c4d44=_0x48ed6b==null?void 0x0:_0x48ed6b['snapshotServerUrl'])!=null?_0x3c4d44:_0xce7a07)!=null?_0x109d7a:_0xb3f130;}async['getResourcesRequest'](_0x25e697,_0xbbf379){var _0x56aed9=_0x5cfc8b;const _0x905dbf=_0x56aed9(0x139)+_0xbbf379[_0x56aed9(0x393)]+_0x56aed9(0x3c0)+_0xbbf379[_0x56aed9(0xc8)]+_0x56aed9(0x87);return(await this['_httpService']['get'](_0x905dbf,{'params':{'resourceId':JSON['stringify'](_0xbbf379[_0x56aed9(0x70)])}}))[_0x56aed9(0x191)];}[_0x5cfc8b(0x394)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}['saveSheetBlock'](){var _0x2017ab=_0x5cfc8b;throw new Error(_0x2017ab(0x188));}[_0x5cfc8b(0x1f9)](){var _0x5b7a6e=_0x5cfc8b;throw new Error(_0x5b7a6e(0x188));}['copyFileMeta'](){var _0x34b6ef=_0x5cfc8b;throw new Error(_0x34b6ef(0x188));}[_0x5cfc8b(0xaf)](){var _0x28f6c2=_0x5cfc8b;throw new Error(_0x28f6c2(0x188));}},_0x11943a[_0x5cfc8b(0x15b)]=_0x13a4c7([_0x575967(0x0,_0x7fc923[_0x5cfc8b(0x146)]),_0x575967(0x1,_0x7fc923[_0x5cfc8b(0x1c1)](_0x39fb06[_0x5cfc8b(0x2f3)]))],_0x11943a[_0x5cfc8b(0x15b)]);var _0x2ebc64=Object[_0x5cfc8b(0x145)],_0x5a74fa=(_0x247ef8,_0x211d56,_0x1cb13b,_0x2ffd1)=>{var _0x12fda1=_0x5cfc8b;for(var _0x1c30b3=_0x2ffd1>0x1?void 0x0:_0x2ffd1?_0x2ebc64(_0x211d56,_0x1cb13b):_0x211d56,_0xb32219=_0x247ef8[_0x12fda1(0x17d)]-0x1,_0xc67c01;_0xb32219>=0x0;_0xb32219--)(_0xc67c01=_0x247ef8[_0xb32219])&&(_0x1c30b3=_0xc67c01(_0x1c30b3)||_0x1c30b3);return _0x1c30b3;},_0x3cd853=(_0x401408,_0x305f71)=>(_0x393c1a,_0x4b7f02)=>_0x305f71(_0x393c1a,_0x4b7f02,_0x401408);_0x11943a[_0x5cfc8b(0xc7)]=class extends _0x7fc923[_0x5cfc8b(0x9b)]{constructor(_0x3f8fc9,_0x70b591,_0x2a9e2f,_0x5475ae,_0x21e673){super(_0x3f8fc9,_0x70b591,_0x2a9e2f),this['_transformService']=_0x5475ae,this['_logService']=_0x21e673;}['transformUndoRedo'](_0x3e47db,_0x5da7ec){var _0x5333e3=_0x5cfc8b;const _0x26e51d=this[_0x5333e3(0x19d)](_0x3e47db);if(_0x26e51d)try{const _0x354abf=this[_0x5333e3(0x201)](_0x26e51d,_0x5da7ec);this[_0x5333e3(0x2ad)](_0x3e47db,_0x354abf);}catch(_0x23a2e2){this[_0x5333e3(0x259)][_0x5333e3(0x1de)](_0x5333e3(0xb1),_0x23a2e2),this['_clearUndo'](_0x3e47db);}const _0x1da726=this[_0x5333e3(0x24a)](_0x3e47db);if(_0x1da726)try{const _0x4b8a26=this[_0x5333e3(0x201)](_0x1da726,_0x5da7ec);this['_substituteRedoStack'](_0x3e47db,_0x4b8a26);}catch(_0x57c260){this[_0x5333e3(0x259)]['error'](_0x57c260),this[_0x5333e3(0x12c)](_0x3e47db);}}[_0x5cfc8b(0x83)](_0x385991){var _0x53b6aa=_0x5cfc8b;const _0x4f3ef7=this[_0x53b6aa(0x19d)](_0x385991);_0x4f3ef7&&(_0x4f3ef7[_0x53b6aa(0x17d)]=0x0,this[_0x53b6aa(0x1b4)]());}[_0x5cfc8b(0x12c)](_0xe0e206){var _0x2129a1=_0x5cfc8b;const _0x2d763b=this[_0x2129a1(0x24a)](_0xe0e206);_0x2d763b&&(_0x2d763b[_0x2129a1(0x17d)]=0x0,this[_0x2129a1(0x1b4)]());}[_0x5cfc8b(0x2ad)](_0x1d0346,_0x4a7e45){var _0x1d433d=_0x5cfc8b;this[_0x1d433d(0x11c)][_0x1d433d(0xfa)](_0x1d0346,_0x4a7e45),this[_0x1d433d(0x1b4)]();}['_substituteRedoStack'](_0x75ab8d,_0x354dca){var _0x36d7e8=_0x5cfc8b;this[_0x36d7e8(0x12a)][_0x36d7e8(0xfa)](_0x75ab8d,_0x354dca),this[_0x36d7e8(0x1b4)]();}['_transformStack'](_0x3c854f,_0x2fb1db){var _0x58ba1f=_0x5cfc8b;const _0x254ed3=[];let _0x51954a=_0x2fb1db,_0x2438c5=_0x2fb1db;for(let _0xebe42e=_0x3c854f[_0x58ba1f(0x17d)]-0x1;_0xebe42e>=0x0;_0xebe42e--){const {unitID:_0x270924,undoMutations:_0x1cfaa1,redoMutations:_0x43cee6}=_0x3c854f[_0xebe42e],_0x252cab=this[_0x58ba1f(0x2c8)][_0x58ba1f(0x3ea)](_0x51954a,_0x1cfaa1),_0x220a72=this['_transformService']['transformMutationsWithChangeset'](_0x2438c5,_0x43cee6);if(_0x2915ae[_0x58ba1f(0xbe)](_0x252cab)||_0x2915ae['isTransformMutationsWithChangesetFailure'](_0x220a72)){this[_0x58ba1f(0x259)]['error'](_0x58ba1f(0xb1),_0x58ba1f(0x20b),_0x252cab,_0x220a72);break;}_0x51954a=_0x252cab[_0x58ba1f(0x3ae)],_0x2438c5=_0x220a72[_0x58ba1f(0x3ae)],_0x254ed3['push']({'unitID':_0x270924,'undoMutations':_0x252cab['m2Prime'],'redoMutations':_0x220a72['m2Prime']});}return _0x254ed3[_0x58ba1f(0x3d1)]();}},_0x11943a[_0x5cfc8b(0xc7)]=_0x5a74fa([_0x3cd853(0x0,_0x7fc923['IUniverInstanceService']),_0x3cd853(0x1,_0x7fc923[_0x5cfc8b(0x175)]),_0x3cd853(0x2,_0x7fc923[_0x5cfc8b(0x1af)]),_0x3cd853(0x3,_0x2915ae['ITransformService']),_0x3cd853(0x4,_0x7fc923[_0x5cfc8b(0x3d4)])],_0x11943a[_0x5cfc8b(0xc7)]);var _0x1332a5=Object[_0x5cfc8b(0x15d)],_0x42dd37=Object[_0x5cfc8b(0x145)],_0x1d691a=(_0x5419a0,_0x490a66,_0x18b7b3)=>_0x490a66 in _0x5419a0?_0x1332a5(_0x5419a0,_0x490a66,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x18b7b3}):_0x5419a0[_0x490a66]=_0x18b7b3,_0x2987c9=(_0xc3a7be,_0x3e1355,_0x5b4cdf,_0x43faeb)=>{var _0x2db0a7=_0x5cfc8b;for(var _0x3776b7=_0x43faeb>0x1?void 0x0:_0x43faeb?_0x42dd37(_0x3e1355,_0x5b4cdf):_0x3e1355,_0x31fbe6=_0xc3a7be[_0x2db0a7(0x17d)]-0x1,_0x3aa91c;_0x31fbe6>=0x0;_0x31fbe6--)(_0x3aa91c=_0xc3a7be[_0x31fbe6])&&(_0x3776b7=_0x3aa91c(_0x3776b7)||_0x3776b7);return _0x3776b7;},_0x3f21dd=(_0x5d7c95,_0x54adc9)=>(_0x2ddbb5,_0x14cd92)=>_0x54adc9(_0x2ddbb5,_0x14cd92,_0x5d7c95),_0x14c7c6=(_0x1e8500,_0x52440d,_0x448506)=>_0x1d691a(_0x1e8500,_0x52440d+'',_0x448506);const _0x5cf64f=_0x5cfc8b(0x3c5);_0x11943a[_0x5cfc8b(0x3c7)]=class extends _0x7fc923['Plugin']{constructor(_0x40656c,_0x495f34,_0x588eaa,_0x250cc2){var _0x1eee3e=_0x5cfc8b;super(),_0x2acb83(this,'_config'),(this['_logService']=_0x495f34,this['_injector']=_0x588eaa,this[_0x1eee3e(0x21f)]=_0x250cc2);const {..._0x26d017}=_0x7fc923[_0x1eee3e(0x260)]({},_0x5ba764,_0x40656c);if(!_0x26d017['socketService'])throw new Error(_0x1eee3e(0x257));this[_0x1eee3e(0x2ac)]=_0x26d017,this[_0x1eee3e(0x21f)][_0x1eee3e(0x2fb)](_0x4fd274,_0x26d017);}[_0x5cfc8b(0x19b)](){var _0x9d866e=_0x5cfc8b;this[_0x9d866e(0x355)](),this[_0x9d866e(0xbc)]();}[_0x5cfc8b(0x355)](){var _0x5508fb=_0x5cfc8b,_0x2da381,_0x490152;this['_injector'][_0x5508fb(0x136)](_0x7fc923[_0x5508fb(0x2da)])&&this[_0x5508fb(0x259)][_0x5508fb(0x1de)](_0x5508fb(0xc2),'you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!');const _0x488ddc=_0x7fc923[_0x5508fb(0x2a4)]([[_0x7fc923[_0x5508fb(0x2da)],{'useClass':_0x11943a[_0x5508fb(0xc7)]}],[_0x11943a[_0x5508fb(0x31f)]],[_0x11943a[_0x5508fb(0x3ce)]],[_0x11943a[_0x5508fb(0x1dd)]],[_0x27512b],[_0x24a2df],[_0x459e03],[_0x2823d9],[_0xfbd43f],[_0x11943a[_0x5508fb(0x32c)]],[_0x1ba504,{'useClass':this[_0x5508fb(0x2ac)][_0x5508fb(0x111)]}],[_0x2915ae[_0x5508fb(0xe4)],{'useClass':_0x11943a['SnapshotServerOverHTTPService']}],[_0x7fc923[_0x5508fb(0x2cc)],{'useClass':_0x11943a['AuthzIoHttpService']}],[_0x2cc4bc[_0x5508fb(0x392)],{'useClass':_0x11943a[_0x5508fb(0x118)]}],[_0x7fc923[_0x5508fb(0x21d)],{'useClass':_0x11943a[_0x5508fb(0x324)]}],[_0x11943a[_0x5508fb(0x279)]],[_0x1e0a5a]],(_0x2da381=this['_config'])==null?void 0x0:_0x2da381[_0x5508fb(0x2fa)]);if(!((_0x490152=this['_config'])!=null&&_0x490152[_0x5508fb(0xf4)])){const _0x358f07=_0x488ddc[_0x5508fb(0x20e)](([_0x2bde07])=>_0x2bde07===_0x187df3);_0x358f07!==-0x1&&_0x488ddc[_0x5508fb(0x85)](_0x358f07,0x1);}_0x7fc923[_0x5508fb(0x1c2)](this[_0x5508fb(0x176)],_0x488ddc);}['_initDependencies'](){var _0x457e37=_0x5cfc8b,_0x9b341c,_0x289de6,_0x5acb2c;this['_injector'][_0x457e37(0x241)](_0x39fb06[_0x457e37(0x2f3)])[_0x457e37(0x2b6)]({'priority':0x14,'interceptor':_0x39fb06[_0x457e37(0x332)]({'maxParallel':0x6})}),(_0x9b341c=this[_0x457e37(0x2ac)])!=null&&_0x9b341c['enableOfflineEditing']||(_0x289de6=this[_0x457e37(0x176)][_0x457e37(0x241)](_0x128bfc,_0x7fc923[_0x457e37(0x362)][_0x457e37(0x359)]))==null||_0x289de6[_0x457e37(0x25e)](),(_0x5acb2c=this[_0x457e37(0x2ac)])!=null&&_0x5acb2c[_0x457e37(0x26b)]&&_0x7fc923[_0x457e37(0x1cf)](this[_0x457e37(0x176)],[[_0x27512b]]),_0x7fc923['touchDependencies'](this[_0x457e37(0x176)],[[_0x24a2df],[_0x11943a[_0x457e37(0x279)]],[_0x2823d9]]);}},_0x14c7c6(_0x11943a[_0x5cfc8b(0x3c7)],_0x5cfc8b(0x34c),_0x5cf64f),_0x11943a[_0x5cfc8b(0x3c7)]=_0x2987c9([_0x7fc923[_0x5cfc8b(0x3ed)](_0x2915ae['UniverCollaborationPlugin'],_0x39fb06['UniverNetworkPlugin']),_0x3f21dd(0x1,_0x7fc923['ILogService']),_0x3f21dd(0x2,_0x7fc923[_0x5cfc8b(0x1c1)](_0x7fc923[_0x5cfc8b(0x98)])),_0x3f21dd(0x3,_0x7fc923[_0x5cfc8b(0x146)])],_0x11943a[_0x5cfc8b(0x3c7)]),_0x11943a[_0x5cfc8b(0xaa)]=_0x36a4a8,_0x11943a['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']=_0x4fd274,_0x11943a[_0x5cfc8b(0x3bd)]=_0x11186c,_0x11943a['COLLAB_WEB_SOCKET_URL_KEY']=_0x4a1f5b,_0x11943a[_0x5cfc8b(0xcf)]=_0x3a51ad,_0x11943a[_0x5cfc8b(0x1ff)]=_0x48a145,_0x11943a[_0x5cfc8b(0x14e)]=_0xfbd43f,_0x11943a[_0x5cfc8b(0x247)]=_0x459e03,_0x11943a[_0x5cfc8b(0x10c)]=_0x706cdd,_0x11943a[_0x5cfc8b(0x3c9)]=_0x147dfe,_0x11943a['DEFAULT_WS_SESSION_TICKET_URL']=_0x21e1b7,_0x11943a[_0x5cfc8b(0x34e)]=_0x5543a6,_0x11943a[_0x5cfc8b(0x12f)]=_0x94f1d1,_0x11943a['ICollaborationSocketService']=_0x1ba504,_0x11943a[_0x5cfc8b(0x1a7)]=_0x128bfc,_0x11943a[_0x5cfc8b(0x7a)]=_0x445a74,_0x11943a[_0x5cfc8b(0x198)]=_0x187df3,_0x11943a[_0x5cfc8b(0x1d3)]=0x3e8,_0x11943a[_0x5cfc8b(0x300)]=_0x39105f,_0x11943a[_0x5cfc8b(0x1e0)]=_0x332ec6,_0x11943a[_0x5cfc8b(0x16e)]=_0x53c1cb,_0x11943a[_0x5cfc8b(0x2a3)]=_0x5e6790,_0x11943a[_0x5cfc8b(0x76)]=_0x15ee59,_0x11943a['SNAPSHOT_SERVER_URL_KEY']=_0x2268bc,_0x11943a[_0x5cfc8b(0x3f2)]=_0x1513c8,_0x11943a['SessionStatus']=_0x11e1a6,_0x11943a[_0x5cfc8b(0x2b1)]=_0x2dc42a,_0x11943a[_0x5cfc8b(0x34b)]=_0x4b4949,_0x11943a[_0x5cfc8b(0x112)]=_0x37988d,_0x11943a[_0x5cfc8b(0x3eb)]=_0x1a2380,Object['defineProperty'](_0x11943a,Symbol[_0x5cfc8b(0x251)],{'value':'Module'});}));
|