@univerjs-pro/collaboration-client 0.7.0-nightly.202505081607 → 0.7.0-nightly.202505101606

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/es/index.js CHANGED
@@ -1 +1 @@
1
- var _0x37581e=_0x25ef;(function(_0x5216d3,_0x210edf){var _0x332a4a=_0x25ef,_0x36f112=_0x5216d3();while(!![]){try{var _0x1b3493=parseInt(_0x332a4a(0x22a))/0x1*(parseInt(_0x332a4a(0x179))/0x2)+parseInt(_0x332a4a(0x26b))/0x3+-parseInt(_0x332a4a(0x3e8))/0x4+-parseInt(_0x332a4a(0x29c))/0x5+parseInt(_0x332a4a(0x260))/0x6+parseInt(_0x332a4a(0x3a1))/0x7+-parseInt(_0x332a4a(0x227))/0x8;if(_0x1b3493===_0x210edf)break;else _0x36f112['push'](_0x36f112['shift']());}catch(_0x1c8e38){_0x36f112['push'](_0x36f112['shift']());}}}(_0x2f29,0x76397));var wi=Object[_0x37581e(0x3ad)],Pi=(_0x6f30a1,_0x3c4637,_0x4718a5)=>_0x3c4637 in _0x6f30a1?wi(_0x6f30a1,_0x3c4637,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4718a5}):_0x6f30a1[_0x3c4637]=_0x4718a5,N=(_0xdac508,_0x3bcb34,_0xd5197e)=>Pi(_0xdac508,typeof _0x3bcb34!=_0x37581e(0x33f)?_0x3bcb34+'':_0x3bcb34,_0xd5197e);import{createIdentifier as _0x47e8cb,Inject as _0x1d905d,Injector as _0x53496f,IConfigService as _0x4966ba,ILogService as _0x19b55e,Disposable as _0x279799,DisposableCollection as _0x129dd1,toDisposable as _0x15956e,IUniverInstanceService as _0x4c791d,UserManagerService as _0x4cc885,UniverInstanceType as _0x265105,LocaleService as _0x419ebc,Optional as _0x48bf7b,RxDisposable as _0xd65c9e,Tools as _0x167d20,Rectangle as _0x1216c8,ICommandService as _0xf8d2fa,JSONX as _0x1b75d1,CommandType as _0x1978b5,IUndoRedoService as _0x272d84,IPermissionService as _0x12890a,sequenceExecute as _0x2974ba,Workbook as _0x465e71,MentionType as _0x18e80e,isInternalEditorID as _0x34c70c,LocalUndoRedoService as _0x394f2f,IContextService as _0x50ff9c,DependentOn as _0x7d672d,Plugin as _0x5b048b,merge as _0x149e5f,mergeOverrideWithDependencies as _0x239eb2,IAuthzIoService as _0x2835c1,IMentionIOService as _0x2eb221,registerDependencies as _0x384b72,Quantity as _0x247eb9,touchDependencies as _0x2a01d0}from'@univerjs/core';function _0x2f29(){var _0xd4b07a=['/-/object/-/batch_allowed','snapshotServerUrl','toString','crypto','_httpService','localCacheService','symbol','_oKey','loadSheet','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','fetchThroughInterceptors','_socketReady','UNIVER_UNKNOWN','_scheduleCompleteTimestamp','updateCollaborator','pending','_ENC_XFORM_MODE','EvpKDF','$super','randomUUID','__esModule','onTransformIME','APPLY_NON_SEQUENTIAL_REVISION','_createInitialStateImpl','disableLocalCache','UserProfileImg','encrypt','_undoStacks','_socket$','MUTATION','map','ENSURE_SNAPSHOT_EXECUTION','PY_RUNTIME_SCRIPT_ERROR','Encryptor','put','_tryReconnect','INVITE_CODE_REQUIRED','_append','_minBufferSize','_map','/collaborator','_process','concat','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','_sessions','iterations','encryptBlock','_iv','_xformMode','_onMessage','call','ceil','[CollaborationUndoRedoService]','LOCAL_CACHE_INTERVAL','update','unpad','_keyPriorReset','[CollaborationState]:\x20apply\x20error!','reqId','append','_keySchedule','getDeserializedSheetBlock','UNKNOWN_CODE','synced','_removeRoom','_collaborationUIEventService','/universer-api/user/session-ticket','_commandService','MSG_FOR_ERROR','indexOf','stringify','random','_revisionService','APPLY_PERMISSION_DENIED','ERROR_EXCEED_SIZE','hostname','length','UPDATE_PERMISSION_OBJ','hasher','getTypeOfUnitDisposed$','listCollaborators','[PendingState]:\x20unhandled\x20univer\x20type:\x20','decrypt','onRemoteRetry','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','UNRECOGNIZED','result','/universer-api/stream/file/upload','Utf8','BlockCipher','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','online$','_initUnitPermissionChange','size','[UniverCollaborationClientPlugin]','PERMISSION_DENIED','enableAuthServer','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','encodeURIComponent','POST','/object/','_telemetryService','getActiveSheet','getImage','6131986PPORTP','ws://127.0.0.1:8000/universer-api/comb/connect','LIVESHARE_REQUEST_HOST','_clearCollaborationTimeoutTimer','error','clone','PERMISSION_REJ','algo','_getCurrentRevision','/universer-api/authz','&to=','m2Prime','defineProperty','enc','range','_replayCachedMutations','_checkMissing','authzUrl','[OfflineState]:\x20received\x20rejection.','executeCommand','getMember','CONNECTOR_DATA_TOO_LARGE','commentUpdateEvent','UNIVER_SHEET','reduce','YUUMI_UNABLE_LOAD_URL','startTime','retryConnectingInterval','_change$','mutations','next','withCredentials','name','userID','HELLO','changesets','createInstance','_nDataBytes','RECV','floor','Cipher','selections','MOBILE_HAS_BEEN_BOUND','getUnitType','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','_changesetReqId','LIVESHARE_NEW_HOST','socketService','&source=','open$','_onFetchMissResult','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','blockSize','find','unknown','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','roomInfos','getInterceptPoints','/universer-api/oidc/authpage','FETCH_MISS','_remoteChangesetQueue','fetch_missing','_createInitialState','UNISCRIPT_RUN','_socketService','session.room-permission-denied','CHANGESET_REVISION_CONFILICT','error$','getCurrentSelections','ERROR_IMAGE_TYPE','editing\x20status\x20changed\x20to','591896QReKjA','clamp','getConfig','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','Univer','closeSession','UNKNOWN_CMD','session.room-not-exists','univer-pro.collaboration-client.network-condition.service','join','min','LIVESHARE_TERMINATE','_memberService','_unitInfo$','DEFAULT_FILE_NAME','_event$','addHandlerCallback','href','updateOfflineData','words','_getLoginPath','max','_getDownloadEndpointURL','USERS_LEAVE','UNIVER_DOC','fetching\x20missing\x20changesets\x20from\x20','body','_loadDoc','_sheetTransformSelectionsService','_throwTelemetryCollaborationNewChangeset','_doCreateSocket','keySize','_compressMutationService','data','SHOULD_CLOSE_CONN','getOwnPropertyDescriptor','_createHelper','_showConflictNotification','_initDependencies','string','_initMergeInterceptor','findIndex','leaveEvent','_nRounds','_resendTimeout','reset','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_createSocket','JOIN_ROOM_PERMISSION_DENIED','emitEvent','/unit/','getSnapshotAPIPath','_replaceFileID','[CollaborationSession]','_eventService','UNAUTHENTICATED','disposeWithMe','method','fetchMiss','sendChangesetTimeout','APPLY_REJECT','url','target','CONFLICT','infoRsp','SYNCED','_state','_commentUpdate$','_networkConditionService','INGEST','_undoRedoService','origin','setShowComponents','state$','buffer','c1Prime','_emitMembers','charCodeAt','resourceIDs','getUnitStatus$','_onUserLeave','onMissingChangesets','_scheduleCollaborationTimeoutTimer','saveChangeset','_resendWithTimeout','onTransformRemoteChangesetByIMECache','_rescheduleHeartbeat','/object','_onUserJoin','byteOffset','entityInit$','dispose$','Hex','_collaborationSessionService','from','JOIN','sin','[FetchMissState]','subject','_members','_DEC_XFORM_MODE','_univerInstanceService','objects','getFocusedUnit','sigBytes','_instanceService','SOCKET_FAILED','cmd','JOIN_ROOM_FAILED','_sender','save\x20fail\x20reason\x20is\x20','repeat','slice','_createHmacHelper','complete','sessionStatus$','COMPRESS_MUTATION_APPLY','NEW_CHANGESETS','HMAC','NO_OTHER_CLIENTS_EDITING','fromCharCode','_getAPIPrefixPath','getUnitId','splice','kdf','NoPadding','Error\x20on\x20receiving\x20event','collaboration-client.config','uploadFileServerUrl','Random\x20bytes\x20length\x20must\x20be\x20>=\x2016','SNAPSHOT_HAS_BEEN_REMOVED','originalMeta','_getRedoStack','_cipher','copyFileMeta','/universer-api/comb','_getUploadFileURL','extend','Decryptor','COMPRESS_MUTATION_SEND','LICENSE_MAX_UNITS_EXCEEDED','Failed\x20to\x20update\x20permission\x20point','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','/block/','_onLocalMutation','_syncEditingCollabCursor','AES','transformStack\x20failed!','requestParams','getValue','rev','close','FAIL','getCollabEntity','capture','_awaitingChangeset','isPermissionRej','CHANGESET_SHOULD_RETRY','duration','12lFiobJ','_userManagerService','submit\x20changeset\x20error!','hasOwnProperty','_shouldReportTelemetry','Latin1','_incrementRevisionNumber','onRemoteChangeset','reconnect','SUBMIT_CHANGESET','_sendHeartbeat','updateMember','baseRev','PERSON','StreamCipher','joinRsp','_onRemoteACK','FETCH_MISSING','close$','_snapshotService','_loadSheet','/universer-api/snapshot/','HttpExport','APPLY_REVISION_CONFILICT','onLocalMutation','JOIN_ROOM_NOT_EXISTS','transformUndoRedo','image/jpeg','getUnitOnRev','onRemoteRej','_timeoutTimer','_sendHeartbeatTimer','_logService','delete','YUUMI_RATE_OVER_LIMIT','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','format','unitId','create','location','_handler','putCollaborators','_substituteUndoStack','\x0aCurrent:\x20','bind','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','pipe','revision','then','_transformIMECache','_executeRemoteChangeset','every','removeMember','SEND_CHANGESET_TIMEOUT','USERS_ENTER','YUUMI_ASYNCIO_CANCELLED','YUUMI_NO_CUBOID_FOR_QUESTION','set','getRoom','SUCCUSS','_pendingMutations','initWorkbookPermissionChange','LICENSE_IMPORT_SIZE_EXCEEDED','_stopTelemetryCollaborationNewChangeset','onTransformRemoteChangesetByStateCache','[CollaborationSessionService]:\x20socket\x20error','onStateChange','objectType','YUUMI_URL_COL_OUT_OF_RANGE','toLowerCase','salt','getCurrentUser','FileId','appendMutation','__creator','_socket','members$','fromCollab','INTERNAL_ERROR','_entities','csRejEvent','_transformRemoteChangesetByStateCache','_hasher','_clearTimeoutTimer','_HTTPService','reject','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','_joinRoom','APPLY_DUPLICATED','onSyncEditingCollabCursor','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','_imageSourceCache','UNDEFINED','[CollaborationSessionService]','onSendChangeset','confirm','_members$','_hash','liveShareNewHost','\x0aAfter:\x20','createCollaborator','HEARTBEAT_INTERVAL','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','[OfflineState]:\x20received\x20acknowledgement.','_roomCreated$','UPDATE_CURSOR','execute','_prevBlock','resend','signUrlServerUrl','_collabSessionService','COLLAB_SUBMIT_CHANGESET_URL','onCommentUpdate','padding','_clearLocalCache','_localeService','stopTime','csAckEvent','COMPLETION_FINISHED','_onOffline','_initRequestHeader','/resources','subscribe','session','x-univer-host','onTransformState','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','ERROR_IMAGE','onCommandExecuted','\x20-\x20','image/png','collaborators','memberID','cfg','incrementRevOfUnit','dispose','asObservable','connection\x20error','readyForCollab','Base','socket\x20open.','_doFinalize','?size=','getCurrentRevOfUnit','_applyRemoteChangeset','entries','_entityInit$','loadOfflineData','post','LEAVE','INVITE_CODE_ALREADY_BOUND','editingUnit','_init','_doCryptBlock','session.join-failed','saveSnapshot','session.room-full','_onConnectionOpen','_lockTransition','_transformSelections','YUUMI_SUBSCRIPTION_NOT_FOUND','_waitCount','getRandomValues','encode','members','setConfig','has','_getUndoStack','routeKey','SNAPSHOT_URL_KEY','prototype','updateCursorEvent','_sessionStatus$','INVITE_CODE_HAS_BEEN_UES','2177632knFUkm','[DataLoaderService]','_doReset','40723iBwQmZ','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','_parse','onRemoteAck','ONLINE','socket\x20close','rng','BlockCipherMode','_submitChangeset','interceptor','auth.needGotoLoginAlert','HEARTBEAT','Could\x20not\x20dynamically\x20require\x20\x22','offline','OFFLINE','YUUMI_AI_RUN_FAILED','_toggleOnline','add','_queuedRemoteChangesets','snapshot','transformMutationsWithChangeset','_permissionService','getAllMembers','subUnitId','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','status$','apply','awaiting','CLOSE_ROOM','_fetchMissChangesets','focused$','_getSendChangesetTimeout','onlyLocal','/universer-api/file/{fileID}/sign-url','OTHER_CLIENTS_EDITING','_clearRedo','_onRemoteRetry','reverse','_acknowledgedAwaitingChangeset','updatePermissionPoint','JOINING','headers','unit-cache-','_roomMembers','actions','sid','_onCombEvent','HttpImport','_disableEditing','type','waitForRoom$','mode','[CollaborationEntity]','NOT_FOUND','1964700rfnUbJ','UnitSnapshot','_exhaustRemoteChangesetQueue','/-/object/list','permissionRejEvent','JOIN_ROOM_FULL','generateRandomId','COLLAB_WEB_SOCKET_URL','change$','socket$','_clearRetryConnectingTimer','120879MmIHRr','PSEUDO_FETCH_MISSING_RESULT','event$','enableOfflineEditing','title','_transformStack','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','YUUMI_ALL_TABLES_IS_INVALID','commentUpdate$','collaboration-client.local-cache-service','getMemberID','abs','_transitionLocked','clear','_createHandler','_singleActiveUnitService','_updateLocalCache','now','People','updatePermissionObjEvent','OpenSSL','UnitEmbedded','pad','_decreaseWaiting','decryptBlock','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','_retryCount','INVALID_ARGUMENT','sessionStatus','_startCollaboration','batchAllowed','send','IDLE','toggleOnline','collabWebSocketUrl','getImageSourceCache','LICENSE_DISTRO_REJECTED','_resendTimer','_reverseMap','_onJoinRoomEvent','EMAIL_HAS_BEEN_BOUND','status','_status$','TOO_MANY_REQUESTS','createDecryptor','OTHER_CLIENT_EDITING','_redoStacks','forEach','ivSize','2918270iwfnxx','_listenToNetworkCondition','debug','code','LIVESHARE_FETCH_OPERATIONS','roles','unitID','_snapshotServerService','_invKeySchedule','avatar','_config','_handlerCallback','push','objectID','Malformed\x20UTF-8\x20data','collabSubmitChangesetUrl','c2Prime','onStarting','BASE64','Base64','_transformUndoredo','_sendingTimer','awaiting_with_pending','_injector','fetchMissingChangesets','COMMENT_UPDATE','SNAPSHOT_INVALID_SNAPSHOT','_onConnectionFailed','_onRemoteRejected','_schedule','_registerDependencies','SUBMIT_CHANGESET_TIMEOUT','_transformService','_collaborationPaused','EXCHANGE_SIGN_URL_SERVER_URL_KEY','key','resolve','mixIn','_isPermissionRej','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','newCsEvent','uniscriptRunEvent','WordArray','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','image/bmp','_configService','SHA1','init','HEARTBEAT_TIMEOUT','message$','_substituteRedoStack','params','byteLength','_getAPIPrefix','unsubscribe','_candidateSocket','HmacMD5','_tryEnsureSocket','YUUMI_TABLE_NOT_FOUND_IN_UNIT','LOGIN_FAILED','SNAPSHOT_SERVER_URL_KEY','_key','loadDoc','_clearScheduledTask','get','listRoles','_updateState','substr','exports','registerHTTPInterceptor','_type','processBlock','_getCtorByUniverType','randomBytes','finalize','parse','sheets','list','_onRemoteChangeset','_onRecvEvent','__Key__','_updateStatus','createEncryptor','setCurrentUser','ALREADY_EXISTS','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','createSocket','UNIVER_SLIDE','_telemetryInfo','[PendingState]:\x20received\x20rejection.','equals','CHANGESET_ACK','_transformStateCache','onTransformSelections','UNIVER_PROJECT','collaMsg','[OfflineState]:\x20received\x20changeset.','getResourcesRequest','_waitForHeartbeatResponse','_retryConnectingTimer','compute','USER_NOT_INVITED_CODE','function','transformChangesets','_unitID','requireSession','_iKey','_state$','_clearHeartbeatTimer','eventID','readAsDataURL','SerializableCipher','_mode','GLOBAL_ROOMS_CNT_EXCEEDS','_unlockTransition','/allowed','[PendingState]:\x20received\x20acknowledgement.','LICENSE_EXPORT_SIZE_EXCEEDED','_data','deepClone','/universer-api/snapshot','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','toggleOffline','saveSheetBlock','Hasher','MD5','INVALID_INVITE_CODE','_localCacheService','_transformRemoteChangesetByIMECache','pluginName','/role','_initCloseConn','_startTelemetryCollaborationNewChangeset','getCollabEntity$','LIVESHARE_OPERATION','image/gif','onMissedChangesetFetched','CHANGESET_REJ','_collaborationTimeoutTimer','/rev/','setWaitCount','_onConflict','session.room-cnt-exceeds','getTypeOfUnitAdded$','SOCKET_FAILED_RETRY','WECHAT_HAS_BEEN_BOUND','\x20in\x20_schedule.','_clearUndo','_socketMessageSubscription','_changesetSessionId','charAt','_getSignURL','/new_changes','includes','lib','getTime','Pkcs7'];_0x2f29=function(){return _0xd4b07a;};return _0x2f29();}import{Subject as _0x56cc0e,merge as _0x5808d2,of as _0x24d9e0,BehaviorSubject as _0x3f54c5,takeUntil as _0x35387c,ReplaySubject as _0x263706,take as _0xd6c7c8,map as _0x137f26,shareReplay as _0x108dca,firstValueFrom as _0x5ddb2d,concatMap as _0x4a9195}from'rxjs';import{map as _0x24d197,take as _0x42f22f,filter as _0xe7d45e,delay as _0x1c150b,takeUntil as _0x594253}from'rxjs/operators';import{CollaborationEvent as _0x1844a1,ISnapshotServerService as _0x214190,parseChangesetToProtocol as _0x5a9c6b,ITransformService as _0x1aeb5d,isTransformMutationsWithChangesetSuccess as _0x1b0439,mapDocumentTypeToUniverType as _0xc5fe45,RevisionService as _0x396323,isTransformChangesetsSuccess as _0x1dba74,CompressMutationService as _0x3340b0,parseProtocolChangeset as _0x25c56e,SnapshotService as _0x3dad2e,textEncoder as _0x48bfe5,b64DecodeUnicode as _0x258959,isTransformMutationsWithChangesetFailure as _0x9cf326,UniverCollaborationPlugin as _0x584fef}from'@univerjs-pro/collaboration';import{HTTPService as _0x55399d,ISocketService as _0x5c9234,MergeInterceptorFactory as _0x271e65,HTTPRequest as _0x10cbc1,UniverNetworkPlugin as _0xdb9e36,ThresholdInterceptorFactory as _0x3b70e0}from'@univerjs/network';import{ITelemetryService as _0x1e58ba}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x131813}from'@univerjs/docs';import{SheetsSelectionsService as _0x108a67,SetSelectionsOperation as _0x35e3f4,InsertSheetMutation as _0x27c0d1,EmptyMutation as _0x4f8360,WorkbookEditablePermission as _0x25b8a4,SheetPermissionInitController as _0x486dc6}from'@univerjs/sheets';import{ImageSourceType as _0x3e324b,ImageUploadStatusType as _0x37fb37,IImageIoService as _0x5ee935}from'@univerjs/drawing';import{getGlobalObject as _0x4ec0d7}from'@univerjs-pro/license';const mn=_0x37581e(0x2d8),gn=_0x37581e(0x314),Sn=_0x37581e(0x222),Lr=_0x37581e(0x1ae),En=0x7d0,In=_0x37581e(0x267),Tn=_0x37581e(0x3a2),Mr=_0x37581e(0x37b),Cn=_0x37581e(0x1de),Rn=0x7530,mi=_0x37581e(0x2cc),gi=0x4e20,bn=0x4e20,On='RETRY_CONNECTING_MAX_COUNT',yn=0x3,xr=_0x37581e(0x36e),kr=0x3e8,Nn=_0x37581e(0x1e8),Dn=_0x37581e(0x161),Un='LOGIN_URL_KEY',An=_0x37581e(0x3db),$r='REMOTE_UNISCRIPT_EXECUTION_ENDPOINT',Hr='/universer-api/uniscript';var Si=(_0x1f8763=>(_0x1f8763[_0x1f8763[_0x37581e(0x1d5)]=0x0]=_0x37581e(0x1d5),_0x1f8763[_0x1f8763['OK']=0x1]='OK',_0x1f8763[_0x1f8763[_0x37581e(0x1c7)]=0x2]=_0x37581e(0x1c7),_0x1f8763[_0x1f8763[_0x37581e(0x398)]=0x3]='PERMISSION_DENIED',_0x1f8763[_0x1f8763[_0x37581e(0x25f)]=0x4]=_0x37581e(0x25f),_0x1f8763[_0x1f8763[_0x37581e(0x111)]=0x5]=_0x37581e(0x111),_0x1f8763[_0x1f8763[_0x37581e(0x2f0)]=0x6]=_0x37581e(0x2f0),_0x1f8763[_0x1f8763[_0x37581e(0x286)]=0x7]=_0x37581e(0x286),_0x1f8763[_0x1f8763[_0x37581e(0x296)]=0x8]=_0x37581e(0x296),_0x1f8763[_0x1f8763[_0x37581e(0x1ef)]=0x9]=_0x37581e(0x1ef),_0x1f8763[_0x1f8763[_0x37581e(0x2d7)]=0xa]=_0x37581e(0x2d7),_0x1f8763[_0x1f8763[_0x37581e(0x3e3)]=0x1389]=_0x37581e(0x3e3),_0x1f8763[_0x1f8763[_0x37581e(0x2b6)]=0x1771]=_0x37581e(0x2b6),_0x1f8763[_0x1f8763[_0x37581e(0x15c)]=0x1772]=_0x37581e(0x15c),_0x1f8763[_0x1f8763[_0x37581e(0x358)]=0x1773]=_0x37581e(0x358),_0x1f8763[_0x1f8763[_0x37581e(0x116)]=0x1b59]=_0x37581e(0x116),_0x1f8763[_0x1f8763[_0x37581e(0x34f)]=0x1b5a]=_0x37581e(0x34f),_0x1f8763[_0x1f8763[_0x37581e(0x190)]=0x1b5b]=_0x37581e(0x190),_0x1f8763[_0x1f8763[_0x37581e(0x382)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x1f8763[_0x1f8763['APPLY_DUPLICATED']=0x1b5d]=_0x37581e(0x1d1),_0x1f8763[_0x1f8763[_0x37581e(0x3b6)]=0x1f41]=_0x37581e(0x3b6),_0x1f8763[_0x1f8763[_0x37581e(0x166)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x1f8763[_0x1f8763['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x37581e(0x108),_0x1f8763[_0x1f8763[_0x37581e(0x1b7)]=0x232b]=_0x37581e(0x1b7),_0x1f8763[_0x1f8763[_0x37581e(0x311)]=0x232c]=_0x37581e(0x311),_0x1f8763[_0x1f8763[_0x37581e(0x28f)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x1f8763[_0x1f8763[_0x37581e(0x3ba)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x1f8763[_0x1f8763[_0x37581e(0x1bd)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x1f8763[_0x1f8763[_0x37581e(0x19b)]=0x2713]=_0x37581e(0x19b),_0x1f8763[_0x1f8763[_0x37581e(0x219)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x1f8763[_0x1f8763['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x37581e(0x1b1),_0x1f8763[_0x1f8763[_0x37581e(0x1b0)]=0x271b]=_0x37581e(0x1b0),_0x1f8763[_0x1f8763[_0x37581e(0x2d6)]=0x271c]=_0x37581e(0x2d6),_0x1f8763[_0x1f8763[_0x37581e(0x272)]=0x271d]=_0x37581e(0x272),_0x1f8763[_0x1f8763[_0x37581e(0x393)]=0x271e]=_0x37581e(0x393),_0x1f8763[_0x1f8763[_0x37581e(0x239)]=0x271f]=_0x37581e(0x239),_0x1f8763[_0x1f8763[_0x37581e(0x359)]=0x2af9]=_0x37581e(0x359),_0x1f8763[_0x1f8763['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x37581e(0x226),_0x1f8763[_0x1f8763[_0x37581e(0x31a)]=0x2ee2]=_0x37581e(0x31a),_0x1f8763[_0x1f8763[_0x37581e(0x35d)]=0x2ee3]=_0x37581e(0x35d),_0x1f8763[_0x1f8763[_0x37581e(0x301)]=0x2ee4]=_0x37581e(0x301),_0x1f8763[_0x1f8763[_0x37581e(0x20f)]=0x2ee5]=_0x37581e(0x20f),_0x1f8763[_0x1f8763[_0x37581e(0x32d)]=0x32c9]=_0x37581e(0x32d),_0x1f8763[_0x1f8763[_0x37581e(0x3cb)]=0x32ca]=_0x37581e(0x3cb),_0x1f8763[_0x1f8763[_0x37581e(0x293)]=0x32cb]=_0x37581e(0x293),_0x1f8763[_0x1f8763[_0x37581e(0x38e)]=-0x1]=_0x37581e(0x38e),_0x1f8763))(Si||{}),Q=(_0x43c678=>(_0x43c678[_0x43c678[_0x37581e(0x345)]=0x0]=_0x37581e(0x345),_0x43c678[_0x43c678[_0x37581e(0xf2)]=0x1]=_0x37581e(0xf2),_0x43c678[_0x43c678[_0x37581e(0x3b8)]=0x2]=_0x37581e(0x3b8),_0x43c678[_0x43c678[_0x37581e(0x2f3)]=0x3]=_0x37581e(0x2f3),_0x43c678[_0x43c678[_0x37581e(0x2fa)]=0x4]=_0x37581e(0x2fa),_0x43c678[_0x43c678[_0x37581e(0x38e)]=-0x1]=_0x37581e(0x38e),_0x43c678))(Q||{}),F=(_0x46e906=>(_0x46e906[_0x46e906['UNKNOWN_CMD']=0x0]=_0x37581e(0x3ee),_0x46e906[_0x46e906[_0x37581e(0x3c3)]=0x1]=_0x37581e(0x3c3),_0x46e906[_0x46e906['JOIN']=0x2]=_0x37581e(0x139),_0x46e906[_0x46e906[_0x37581e(0x20e)]=0x3]='LEAVE',_0x46e906[_0x46e906[_0x37581e(0x11f)]=0x4]=_0x37581e(0x11f),_0x46e906[_0x46e906[_0x37581e(0x235)]=0x5]='HEARTBEAT',_0x46e906[_0x46e906[_0x37581e(0x3c7)]=0x6]=_0x37581e(0x3c7),_0x46e906[_0x46e906[_0x37581e(0x38e)]=-0x1]='UNRECOGNIZED',_0x46e906))(F||{}),ge=(_0x43e4f7=>(_0x43e4f7[_0x43e4f7[_0x37581e(0x377)]=0x0]=_0x37581e(0x377),_0x43e4f7[_0x43e4f7['OK']=0x1]='OK',_0x43e4f7[_0x43e4f7[_0x37581e(0x172)]=0x2]=_0x37581e(0x172),_0x43e4f7[_0x43e4f7['JOIN_ROOM_FULL']=0x3e9]=_0x37581e(0x265),_0x43e4f7[_0x43e4f7['JOIN_ROOM_NOT_EXISTS']=0x3ea]='JOIN_ROOM_NOT_EXISTS',_0x43e4f7[_0x43e4f7['JOIN_ROOM_PERMISSION_DENIED']=0x3eb]=_0x37581e(0x10a),_0x43e4f7[_0x43e4f7[_0x37581e(0x30d)]=0x3ec]=_0x37581e(0x30d),_0x43e4f7[_0x43e4f7['UNRECOGNIZED']=-0x1]=_0x37581e(0x38e),_0x43e4f7))(ge||{}),Ei=(_0x17ee57=>(_0x17ee57[_0x17ee57['Undefined']=0x0]='Undefined',_0x17ee57[_0x17ee57[_0x37581e(0x259)]=0x1]='HttpImport',_0x17ee57[_0x17ee57[_0x37581e(0x18f)]=0x2]=_0x37581e(0x18f),_0x17ee57[_0x17ee57[_0x37581e(0x280)]=0x3]='UnitEmbedded',_0x17ee57[_0x17ee57[_0x37581e(0x261)]=0x4]=_0x37581e(0x261),_0x17ee57[_0x17ee57[_0x37581e(0x352)]=0x5]=_0x37581e(0x352),_0x17ee57[_0x17ee57[_0x37581e(0x38e)]=-0x1]=_0x37581e(0x38e),_0x17ee57))(Ei||{});const q=_0x37581e(0x159),wn={};var re=(_0x32f642=>(_0x32f642[_0x37581e(0x298)]=_0x37581e(0x298),_0x32f642[_0x37581e(0x398)]='PERMISSION_DENIED',_0x32f642[_0x37581e(0x119)]=_0x37581e(0x119),_0x32f642[_0x37581e(0x246)]=_0x37581e(0x246),_0x32f642['JOIN_ROOM_FAILED']=_0x37581e(0x146),_0x32f642[_0x37581e(0x32c)]=_0x37581e(0x32c),_0x32f642['SOCKET_FAILED']=_0x37581e(0x144),_0x32f642['SUBMIT_CHANGESET_TIMEOUT']='SUBMIT_CHANGESET_TIMEOUT',_0x32f642))(re||{});class pe{constructor(){var _0x3c606d=_0x37581e;N(this,_0x3c606d(0x3f7),new _0x56cc0e()),N(this,_0x3c606d(0x26d),this[_0x3c606d(0x3f7)]['asObservable']());}['emitEvent'](_0xdeebb6){var _0x34cead=_0x37581e;this[_0x34cead(0x3f7)][_0x34cead(0x3bf)](_0xdeebb6);}}const Pn=_0x47e8cb(_0x37581e(0x3f0));function Ln(_0x19a93c){var _0x1de1a3=_0x37581e,_0x51f469,_0x4c4b1d,_0x3ff95c,_0x48dbc9,_0x275292;const _0x5d9477=_0x19a93c[_0x1de1a3(0xfb)],_0x2ca378=JSON[_0x1de1a3(0x2e7)](_0x5d9477);switch(_0x2ca378[_0x1de1a3(0x145)]){case F[_0x1de1a3(0x235)]:case F[_0x1de1a3(0x3c3)]:{const _0x5b0fb1=_0x2ca378[_0x1de1a3(0x11a)];return{..._0x2ca378,'data':_0x5b0fb1,'cmd':_0x2ca378[_0x1de1a3(0x145)]};}case F[_0x1de1a3(0x139)]:{const _0x1f2141=_0x2ca378[_0x1de1a3(0x188)];return{..._0x2ca378,'data':_0x1f2141,'cmd':_0x2ca378[_0x1de1a3(0x145)]};}case F[_0x1de1a3(0x3c7)]:{const _0x95c882=_0x2ca378[_0x1de1a3(0x2fb)];switch(_0x95c882[_0x1de1a3(0x309)]){case _0x1844a1[_0x1de1a3(0x3a7)]:return{..._0x2ca378,'data':{..._0x95c882,'data':(_0x51f469=_0x95c882[_0x1de1a3(0x264)])==null?void 0x0:_0x51f469['cs']},'cmd':_0x2ca378[_0x1de1a3(0x145)]};case _0x1844a1[_0x1de1a3(0x2f7)]:return{..._0x2ca378,'data':{..._0x95c882,'data':(_0x4c4b1d=_0x95c882[_0x1de1a3(0x1ee)])==null?void 0x0:_0x4c4b1d['cs']},'cmd':_0x2ca378[_0x1de1a3(0x145)]};case _0x1844a1[_0x1de1a3(0x14f)]:return{..._0x2ca378,'data':{..._0x95c882,'data':(_0x3ff95c=_0x95c882[_0x1de1a3(0x2c4)])==null?void 0x0:_0x3ff95c['cs']},'cmd':_0x2ca378['cmd']};case _0x1844a1[_0x1de1a3(0x325)]:return{..._0x2ca378,'data':{..._0x95c882,'data':(_0x48dbc9=_0x95c882[_0x1de1a3(0x1c9)])==null?void 0x0:_0x48dbc9['cs']},'cmd':_0x2ca378[_0x1de1a3(0x145)]};case _0x1844a1[_0x1de1a3(0x177)]:return{..._0x2ca378,'data':{..._0x95c882,'data':(_0x275292=_0x95c882['csShouldRetryEvent'])==null?void 0x0:_0x275292['cs']},'cmd':_0x2ca378[_0x1de1a3(0x145)]};case _0x1844a1[_0x1de1a3(0x1e2)]:return{..._0x2ca378,'data':{..._0x95c882,'data':_0x95c882[_0x1de1a3(0x224)]},'cmd':_0x2ca378[_0x1de1a3(0x145)]};case _0x1844a1['USERS_ENTER']:return{..._0x2ca378,'data':{..._0x95c882,'data':_0x95c882['joinEvent']},'cmd':_0x2ca378[_0x1de1a3(0x145)]};case _0x1844a1['USERS_LEAVE']:return{..._0x2ca378,'data':{..._0x95c882,'data':_0x95c882[_0x1de1a3(0x104)]},'cmd':_0x2ca378['cmd']};case _0x1844a1[_0x1de1a3(0x3cf)]:return{..._0x2ca378,'data':{..._0x95c882,'data':_0x95c882['liveShareNewHost']},'cmd':_0x2ca378[_0x1de1a3(0x145)]};case _0x1844a1[_0x1de1a3(0x2a0)]:case _0x1844a1[_0x1de1a3(0x322)]:return{..._0x2ca378,'data':{..._0x95c882,'data':_0x95c882['liveShareOperation']},'cmd':_0x2ca378[_0x1de1a3(0x145)]};case _0x1844a1[_0x1de1a3(0x3f3)]:return{..._0x2ca378,'data':{..._0x95c882,'data':_0x95c882[_0x1de1a3(0x1db)]},'cmd':_0x2ca378[_0x1de1a3(0x145)]};case _0x1844a1[_0x1de1a3(0x37d)]:return{..._0x2ca378,'data':_0x95c882,'cmd':_0x2ca378[_0x1de1a3(0x145)]};case _0x1844a1[_0x1de1a3(0x2b5)]:return{..._0x2ca378,'data':{..._0x95c882,'data':_0x95c882[_0x1de1a3(0x3b7)]},'cmd':_0x2ca378[_0x1de1a3(0x145)]};case _0x1844a1[_0x1de1a3(0x386)]:return{..._0x2ca378,'data':{..._0x95c882,'data':_0x95c882[_0x1de1a3(0x27e)]},'cmd':_0x2ca378[_0x1de1a3(0x145)]};case _0x1844a1[_0x1de1a3(0xfc)]:return{..._0x2ca378,'data':{..._0x95c882,'data':_0x95c882['shouldCloseConn']},'cmd':_0x2ca378[_0x1de1a3(0x145)]};case _0x1844a1['UNISCRIPT_RUN']:return{..._0x2ca378,'data':{..._0x95c882,'data':_0x95c882[_0x1de1a3(0x2c5)]},'cmd':_0x2ca378[_0x1de1a3(0x145)]};default:return _0x2ca378;}}default:return _0x2ca378;}}function Mn(_0x42ee3c){var _0x1863f6=_0x37581e;switch(_0x42ee3c['cmd']){case F[_0x1863f6(0x235)]:case F[_0x1863f6(0x3c3)]:return JSON['stringify']({'cmd':_0x42ee3c[_0x1863f6(0x145)],'routeKey':_0x42ee3c['routeKey']});case F[_0x1863f6(0x11f)]:{let _0x6a5465;switch(_0x42ee3c[_0x1863f6(0xfb)][_0x1863f6(0x309)]){case _0x1844a1['UPDATE_CURSOR']:{_0x6a5465={'eventID':_0x1844a1[_0x1863f6(0x1e2)],'updateCursorEvent':_0x42ee3c[_0x1863f6(0xfb)][_0x1863f6(0xfb)]};break;}case _0x1844a1[_0x1863f6(0xf1)]:{_0x6a5465={'eventID':_0x1844a1[_0x1863f6(0xf1)],'leaveEvent':_0x42ee3c[_0x1863f6(0xfb)]['data']};break;}case _0x1844a1[_0x1863f6(0x1af)]:{_0x6a5465={'eventID':_0x1844a1[_0x1863f6(0x1af)],'joinEvent':_0x42ee3c['data'][_0x1863f6(0xfb)]};break;}case _0x1844a1[_0x1863f6(0x3cf)]:{_0x6a5465={'eventID':_0x1844a1[_0x1863f6(0x3cf)],'liveShareNewHost':_0x42ee3c[_0x1863f6(0xfb)][_0x1863f6(0xfb)]};break;}case _0x1844a1[_0x1863f6(0x322)]:{_0x6a5465={'eventID':_0x1844a1[_0x1863f6(0x322)],'liveShareOperation':_0x42ee3c['data'][_0x1863f6(0xfb)]};break;}case _0x1844a1[_0x1863f6(0x3f3)]:{_0x6a5465={'eventID':_0x1844a1[_0x1863f6(0x3f3)],'liveShareTerminate':_0x42ee3c['data']['data']};break;}case _0x1844a1[_0x1863f6(0x3a3)]:{_0x6a5465={'eventID':_0x1844a1[_0x1863f6(0x3a3)],'liveShareRequestHost':_0x42ee3c[_0x1863f6(0xfb)]['data']};break;}case _0x1844a1[_0x1863f6(0x2a0)]:{_0x6a5465={'eventID':_0x1844a1['LIVESHARE_FETCH_OPERATIONS']};break;}default:_0x6a5465={'eventID':_0x42ee3c['data'][_0x1863f6(0x309)]};}return JSON[_0x1863f6(0x37f)]({'cmd':_0x42ee3c[_0x1863f6(0x145)],'routeKey':_0x42ee3c[_0x1863f6(0x221)],'collaMsg':_0x6a5465});}case F[_0x1863f6(0x139)]:return JSON[_0x1863f6(0x37f)]({'cmd':_0x42ee3c[_0x1863f6(0x145)],'routeKey':_0x42ee3c['routeKey'],'joinReq':_0x42ee3c[_0x1863f6(0xfb)]});case F[_0x1863f6(0x20e)]:return JSON[_0x1863f6(0x37f)]({'cmd':_0x42ee3c[_0x1863f6(0x145)],'routeKey':_0x42ee3c[_0x1863f6(0x221)],'leaveReq':_0x42ee3c[_0x1863f6(0xfb)]});default:throw new Error('[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!');}}var xn=Object[_0x37581e(0xfd)],kn=(_0x26c1d3,_0x2b2e06,_0x2cca31,_0x47565f)=>{var _0x5075fd=_0x37581e;for(var _0x487859=_0x47565f>0x1?void 0x0:_0x47565f?xn(_0x2b2e06,_0x2cca31):_0x2b2e06,_0xde2b0b=_0x26c1d3[_0x5075fd(0x385)]-0x1,_0x2ac887;_0xde2b0b>=0x0;_0xde2b0b--)(_0x2ac887=_0x26c1d3[_0xde2b0b])&&(_0x487859=_0x2ac887(_0x487859)||_0x487859);return _0x487859;},Ae=(_0x56c23a,_0x229a24)=>(_0x10fe63,_0x384d53)=>_0x229a24(_0x10fe63,_0x384d53,_0x56c23a);const Ii=_0x47e8cb('univer-pro.collaboration-client-socket-service');function $n(_0x222c5a,_0x22c682,_0x29ffb9){var _0x138fea=_0x37581e;return _0x222c5a+'/'+_0x22c682+_0x138fea(0x10c)+_0x29ffb9+_0x138fea(0x334);}let Gt=class extends _0x279799{constructor(_0x4e211e,_0x9a102e,_0x50e101,_0xd7d629,_0x53dee1){var _0x487174=_0x37581e;super(),this[_0x487174(0x2b3)]=_0x4e211e,this[_0x487174(0x33d)]=_0x9a102e,this[_0x487174(0x2c9)]=_0x50e101,this['_logService']=_0xd7d629,this[_0x487174(0x2a3)]=_0x53dee1;}[_0x37581e(0xf8)](_0x2277e1){var _0x2c194e=_0x37581e;const _0xc33fdb=this['_injector']['get'](_0x5c9234);if(!_0xc33fdb)throw new Error(_0x2c194e(0x1a6));const _0x324877=_0xc33fdb['createSocket'](_0x2277e1);if(!_0x324877)throw new Error(_0x2c194e(0x342));const _0x5e576c=new _0x129dd1(),_0x24940b=new _0x56cc0e();_0x5e576c[_0x2c194e(0x23b)](_0x324877[_0x2c194e(0x18b)][_0x2c194e(0x1f3)](_0x5c45f8=>_0x24940b[_0x2c194e(0x3bf)](_0x5c45f8))),_0x5e576c[_0x2c194e(0x23b)](_0x15956e(()=>_0x24940b[_0x2c194e(0x14c)]()));const _0x1b48b3=new _0x56cc0e();_0x5e576c[_0x2c194e(0x23b)](_0x324877[_0x2c194e(0x3e4)]['subscribe'](_0xdc7180=>_0x1b48b3[_0x2c194e(0x3bf)](_0xdc7180))),_0x5e576c[_0x2c194e(0x23b)](_0x15956e(()=>_0x1b48b3['complete']()));const _0x2f0637=new _0x56cc0e();_0x5e576c[_0x2c194e(0x23b)](_0x324877[_0x2c194e(0x2cd)][_0x2c194e(0x1f3)](_0x1e9cea=>{var _0x4cbe04=_0x2c194e;const _0x227c8c=Ln(_0x1e9cea);_0x2f0637[_0x4cbe04(0x3bf)](_0x227c8c);})),_0x5e576c[_0x2c194e(0x23b)](_0x15956e(()=>_0x2f0637['complete']()));let _0x22ab6a;const _0x1cbffc=()=>{var _0x26ef62=_0x2c194e;_0x1b48b3[_0x26ef62(0x3bf)](new Event(_0x26ef62(0x202))),_0x24940b['next'](new Event(_0x26ef62(0x202))),_0x22ab6a['close']();};return _0x22ab6a={'memberID':'','close$':_0x24940b[_0x2c194e(0x201)](),'error$':_0x1b48b3[_0x2c194e(0x201)](),'open$':_0x324877['open$'],'message$':_0x2f0637['asObservable'](),'send':_0x3a249b=>{var _0x207605=_0x2c194e;if(_0x3a249b[_0x207605(0x145)]===F['INGEST']){if(_0x3a249b[_0x207605(0xfb)][_0x207605(0x309)]===_0x1844a1['SUBMIT_CHANGESET']){this[_0x207605(0x232)](_0x22ab6a,_0x3a249b[_0x207605(0xfb)])['catch'](_0x46e1d5=>{var _0x1ec333=_0x207605;this['_logService'][_0x1ec333(0x3a5)](_0x46e1d5),_0x1cbffc();});return;}if(_0x3a249b['data']['eventID']===_0x1844a1[_0x207605(0x18a)]){const _0x34f68e=_0x3a249b[_0x207605(0xfb)];this[_0x207605(0x247)](_0x34f68e)[_0x207605(0x1a9)](_0x392721=>{var _0x4da0ef=_0x207605;_0x2f0637[_0x4da0ef(0x3bf)]({'cmd':F[_0x4da0ef(0x3c7)],'code':ge['OK'],'routeKey':_0x34f68e[_0x4da0ef(0xfb)][_0x4da0ef(0x2a2)],'routeType':'','data':{'eventID':_0x1844a1[_0x4da0ef(0x26c)],'data':{'changesets':_0x392721}}});})['catch'](_0x4b0d3b=>{var _0x11e9b6=_0x207605;this[_0x11e9b6(0x199)][_0x11e9b6(0x3a5)](_0x4b0d3b),_0x1cbffc();});return;}}_0x324877[_0x207605(0x28a)](Mn(_0x3a249b));},'close':()=>{var _0x4bc469=_0x2c194e;_0x324877[_0x4bc469(0x171)](),_0x5e576c[_0x4bc469(0x200)]();}},_0x22ab6a;}async[_0x37581e(0x232)](_0xad8b5a,_0x1ce67f){var _0x486727=_0x37581e,_0x51de46,_0x458f9b;const {unitType:_0x465dd2,unitID:_0x22ef05,changeset:_0x1be2dd}=_0x1ce67f[_0x486727(0xfb)],_0x3d93e2={'unitID':_0x22ef05,'memberID':_0xad8b5a[_0x486727(0x1fd)],'type':_0x465dd2,'changeset':_0x5a9c6b(_0x1be2dd)},_0x172765=this[_0x486727(0x2c9)][_0x486727(0x3ea)](Nn),_0x1d0a50=this['_configService'][_0x486727(0x3ea)](q),_0x171dab=$n((_0x458f9b=(_0x51de46=_0x1d0a50==null?void 0x0:_0x1d0a50[_0x486727(0x2ab)])!=null?_0x51de46:_0x172765)!=null?_0x458f9b:Dn,_0x465dd2,_0x22ef05);try{await this['_httpService']['post'](_0x171dab,{'body':_0x3d93e2});}catch(_0x1427bd){throw this[_0x486727(0x199)][_0x486727(0x3a5)](_0x486727(0x10f),_0x486727(0x17b)),_0x1427bd;}}async[_0x37581e(0x247)](_0x20e7ee){var _0x5cef01=_0x37581e;const {unitID:_0x564d29,from:_0x10ca5a,to:_0x17fda9,unitType:_0x77212a}=_0x20e7ee['data'];return(await this[_0x5cef01(0x2a3)][_0x5cef01(0x2b4)]({'metadata':void 0x0},{'unitID':_0x564d29,'type':_0x77212a,'from':_0x10ca5a,'to':_0x17fda9}))[_0x5cef01(0x3c4)];}};Gt=kn([Ae(0x0,_0x1d905d(_0x53496f)),Ae(0x1,_0x1d905d(_0x55399d)),Ae(0x2,_0x4966ba),Ae(0x3,_0x19b55e),Ae(0x4,_0x214190)],Gt);const Hn='collaboration_new_changeset';function Bn(_0x11153f){var _0x8c644b=_0x37581e;return JSON[_0x8c644b(0x37f)](_0x11153f)[_0x8c644b(0x385)];}class Ti{constructor(){var _0x83d69f=_0x37581e;N(this,_0x83d69f(0x11d),new _0x56cc0e()),N(this,_0x83d69f(0x273),this['_commentUpdate$'][_0x83d69f(0x201)]());}[_0x37581e(0x1e9)](_0x42ed04){var _0x303cb8=_0x37581e;this[_0x303cb8(0x11d)][_0x303cb8(0x3bf)](_0x42ed04);}}var jn=Object[_0x37581e(0xfd)],Fn=(_0x260c62,_0x879a9d,_0x23e29c,_0x50ab25)=>{for(var _0x1cddb9=_0x50ab25>0x1?void 0x0:_0x50ab25?jn(_0x879a9d,_0x23e29c):_0x879a9d,_0x3c52f1=_0x260c62['length']-0x1,_0x4a0f8a;_0x3c52f1>=0x0;_0x3c52f1--)(_0x4a0f8a=_0x260c62[_0x3c52f1])&&(_0x1cddb9=_0x4a0f8a(_0x1cddb9)||_0x1cddb9);return _0x1cddb9;},Wt=(_0xbcdbdc,_0x3758fc)=>(_0x18cb26,_0x28135d)=>_0x3758fc(_0x18cb26,_0x28135d,_0xbcdbdc);let Le=class extends _0x279799{constructor(_0x365fb7,_0x3941b0){var _0x9d5eb9=_0x37581e;super(),N(this,_0x9d5eb9(0x255),new Map()),N(this,'_roomCreated$',new _0x56cc0e()),(this['_univerInstanceService']=_0x365fb7,this[_0x9d5eb9(0x17a)]=_0x3941b0,this[_0x9d5eb9(0x112)](_0x5808d2(this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x265105[_0x9d5eb9(0x3b8)])[_0x9d5eb9(0x1a7)](_0x24d197(_0x273ed8=>_0x273ed8[_0x9d5eb9(0x154)]())),this['_univerInstanceService'][_0x9d5eb9(0x388)](_0x265105[_0x9d5eb9(0xf2)])[_0x9d5eb9(0x1a7)](_0x24d197(_0x60a64b=>_0x60a64b['getUnitId']())),this[_0x9d5eb9(0x13f)][_0x9d5eb9(0x388)](_0x265105[_0x9d5eb9(0x2f3)])[_0x9d5eb9(0x1a7)](_0x24d197(_0x3548ed=>_0x3548ed['getUnitId']())))[_0x9d5eb9(0x1f3)](_0x5591b5=>this['_removeRoom'](_0x5591b5))));}[_0x37581e(0x25c)](_0x3ba907){var _0x784a19=_0x37581e;return this[_0x784a19(0x255)][_0x784a19(0x21f)](_0x3ba907)?_0x24d9e0(this[_0x784a19(0x255)][_0x784a19(0x2dc)](_0x3ba907)):this[_0x784a19(0x1e1)][_0x784a19(0x1a7)](_0x24d197(_0x3b7478=>{var _0x1d0ae5=_0x784a19;if(_0x3b7478===_0x3ba907)return this[_0x1d0ae5(0x255)][_0x1d0ae5(0x2dc)](_0x3b7478);}));}[_0x37581e(0x2ef)](_0x1a1985){var _0x35dc24=_0x37581e;this[_0x35dc24(0x17a)][_0x35dc24(0x2ef)](_0x1a1985);}['getCurrentUser'](){var _0x574572=_0x37581e;return this[_0x574572(0x17a)][_0x574572(0x1c0)]();}[_0x37581e(0x184)](_0x3f2b0b,_0x5a22dd){var _0xafeb49=_0x37581e;let _0x5ed80b=this['_roomMembers'][_0xafeb49(0x2dc)](_0x3f2b0b);_0x5ed80b||(_0x5ed80b=new Vn(),this[_0xafeb49(0x255)][_0xafeb49(0x1b2)](_0x3f2b0b,_0x5ed80b),this['_roomCreated$'][_0xafeb49(0x3bf)](_0x3f2b0b)),_0x5ed80b[_0xafeb49(0x184)](_0x5a22dd);}[_0x37581e(0x1ad)](_0x2d8f78,_0x1f28d4){var _0x1a32e4=_0x37581e;const _0x4959d3=this[_0x1a32e4(0x255)][_0x1a32e4(0x2dc)](_0x2d8f78);_0x4959d3&&_0x4959d3[_0x1a32e4(0x1ad)](_0x1f28d4);}[_0x37581e(0x1b3)](_0x157486){var _0x5152f3=_0x37581e;return this[_0x5152f3(0x255)][_0x5152f3(0x2dc)](_0x157486);}[_0x37581e(0x3b5)](_0x37e08a,_0x121909){var _0x2072b5=_0x37581e;const _0x1f9681=this[_0x2072b5(0x255)][_0x2072b5(0x2dc)](_0x37e08a);if(_0x1f9681)return _0x1f9681[_0x2072b5(0x3b5)](_0x121909);}[_0x37581e(0x379)](_0x2252a0){var _0x31afda=_0x37581e;const _0x2819ba=this[_0x31afda(0x255)][_0x31afda(0x2dc)](_0x2252a0);_0x2819ba&&(_0x2819ba[_0x31afda(0x200)](),this[_0x31afda(0x255)][_0x31afda(0x19a)](_0x2252a0));}[_0x37581e(0x200)](){var _0xbc652e=_0x37581e;this[_0xbc652e(0x255)][_0xbc652e(0x29a)](_0x4b93b6=>_0x4b93b6[_0xbc652e(0x200)]()),this['_roomMembers'][_0xbc652e(0x278)](),this[_0xbc652e(0x1e1)]['complete']();}};Le=Fn([Wt(0x0,_0x4c791d),Wt(0x1,_0x1d905d(_0x4cc885))],Le);class Vn extends _0x279799{constructor(){var _0x2a6ffb=_0x37581e;super(...arguments),N(this,_0x2a6ffb(0x13d),new Map()),N(this,_0x2a6ffb(0x1d9),new _0x3f54c5(this[_0x2a6ffb(0x13d)])),N(this,_0x2a6ffb(0x1c5),this[_0x2a6ffb(0x1d9)][_0x2a6ffb(0x201)]());}[_0x37581e(0x200)](){var _0x286d2b=_0x37581e;this[_0x286d2b(0x13d)]['clear']();}[_0x37581e(0x184)](_0x4adb52){var _0x317b74=_0x37581e;this[_0x317b74(0x13d)][_0x317b74(0x1b2)](_0x4adb52[_0x317b74(0x1fd)],_0x4adb52),this[_0x317b74(0x126)]();}[_0x37581e(0x1ad)](_0x49f077){var _0x5bdd52=_0x37581e;this['_members'][_0x5bdd52(0x19a)](_0x49f077);}[_0x37581e(0x3b5)](_0x184f69){var _0x288d70=_0x37581e;return this[_0x288d70(0x13d)]['get'](_0x184f69);}[_0x37581e(0x240)](){var _0x545b38=_0x37581e;return Array[_0x545b38(0x138)](this[_0x545b38(0x13d)]['values']());}[_0x37581e(0x126)](){var _0x59a500=_0x37581e;this['_members$'][_0x59a500(0x3bf)](this['_members']);}}var Gn=Object[_0x37581e(0xfd)],Wn=(_0x287010,_0x382bb6,_0x4c8244,_0x3d508d)=>{var _0x42f545=_0x37581e;for(var _0x557305=_0x3d508d>0x1?void 0x0:_0x3d508d?Gn(_0x382bb6,_0x4c8244):_0x382bb6,_0x1f09f9=_0x287010[_0x42f545(0x385)]-0x1,_0x40e799;_0x1f09f9>=0x0;_0x1f09f9--)(_0x40e799=_0x287010[_0x1f09f9])&&(_0x557305=_0x40e799(_0x557305)||_0x557305);return _0x557305;},me=(_0x9cc3df,_0xb252a0)=>(_0x1ca422,_0x37a2a7)=>_0xb252a0(_0x1ca422,_0x37a2a7,_0x9cc3df),Ee=(_0x26fdfa=>(_0x26fdfa[_0x26fdfa[_0x37581e(0x28b)]=0x0]=_0x37581e(0x28b),_0x26fdfa[_0x26fdfa[_0x37581e(0x252)]=0x1]='JOINING',_0x26fdfa[_0x26fdfa['OFFLINE']=0x2]=_0x37581e(0x238),_0x26fdfa[_0x26fdfa[_0x37581e(0x22e)]=0x3]=_0x37581e(0x22e),_0x26fdfa))(Ee||{});const Yt={[ge[_0x37581e(0x172)]]:_0x37581e(0x213),[ge[_0x37581e(0x265)]]:_0x37581e(0x215),[ge[_0x37581e(0x192)]]:_0x37581e(0x3ef),[ge['JOIN_ROOM_PERMISSION_DENIED']]:_0x37581e(0x3e2),[ge[_0x37581e(0x30d)]]:_0x37581e(0x32a)};let Et=class extends _0xd65c9e{constructor(_0xeaa27c,_0x2198da,_0x5cfd6e,_0x4080bd,_0x8e6fc3,_0x2b2bc8,_0x4907cb,_0x15dbe8,_0x51b004){var _0x5a41aa=_0x37581e;super(),N(this,_0x5a41aa(0x225),new _0x3f54c5(0x0)),N(this,_0x5a41aa(0x14d),this[_0x5a41aa(0x225)]['asObservable']()),N(this,_0x5a41aa(0x3f7),new _0x56cc0e()),N(this,_0x5a41aa(0x26d),this[_0x5a41aa(0x3f7)][_0x5a41aa(0x201)]()),N(this,_0x5a41aa(0x1c4)),N(this,_0x5a41aa(0x330)),N(this,_0x5a41aa(0x326)),N(this,_0x5a41aa(0x17d),!0x1),N(this,_0x5a41aa(0x2f4),null),(this[_0x5a41aa(0x304)]=_0xeaa27c,this[_0x5a41aa(0x199)]=_0x5cfd6e,this[_0x5a41aa(0x2c9)]=_0x4080bd,this[_0x5a41aa(0x1ec)]=_0x8e6fc3,this['_memberService']=_0x2b2bc8,this['_commentService']=_0x4907cb,this[_0x5a41aa(0x37a)]=_0x15dbe8,this['_telemetryService']=_0x51b004,this[_0x5a41aa(0x17d)]=!!this['_telemetryService'],_0x2198da['pipe'](_0x35387c(this[_0x5a41aa(0x135)]))[_0x5a41aa(0x1f3)](_0x31f207=>{var _0x41e35b=_0x5a41aa,_0x58780d;typeof _0x31f207>'u'||(this[_0x41e35b(0x1c4)]=_0x31f207,_0x31f207?(this[_0x41e35b(0x1d0)](_0x31f207),this[_0x41e35b(0x330)]=_0x31f207[_0x41e35b(0x2cd)]['subscribe'](_0x4e2a47=>{var _0x22d25b=_0x41e35b;_0x4e2a47[_0x22d25b(0x221)]===this[_0x22d25b(0x304)]&&this['_onCombEvent'](_0x4e2a47);})):(this[_0x41e35b(0xf7)](),this['_sessionStatus$']['next'](0x2),(_0x58780d=this['_socketMessageSubscription'])==null||_0x58780d['unsubscribe'](),this[_0x41e35b(0x330)]=null));}));}get[_0x37581e(0x287)](){var _0x2607ae=_0x37581e;return this[_0x2607ae(0x225)][_0x2607ae(0x16f)]();}[_0x37581e(0x275)](){var _0x1ade22=_0x37581e,_0x32ce77,_0x33c17d;return(_0x33c17d=(_0x32ce77=this[_0x1ade22(0x1c4)])==null?void 0x0:_0x32ce77[_0x1ade22(0x1fd)])!=null?_0x33c17d:null;}[_0x37581e(0x200)](){var _0x1dc496=_0x37581e;super[_0x1dc496(0x200)](),this[_0x1dc496(0x135)][_0x1dc496(0x3bf)](),this[_0x1dc496(0x135)]['complete']();}[_0x37581e(0x171)](){var _0x3e94f7=_0x37581e,_0x1522c1,_0x20c351;this[_0x3e94f7(0xf7)](),(_0x1522c1=this[_0x3e94f7(0x1c4)])==null||_0x1522c1['send']({'cmd':F['LEAVE'],'data':{'roomID':this[_0x3e94f7(0x304)]}}),(_0x20c351=this[_0x3e94f7(0x1c4)])==null||_0x20c351['close'](),this[_0x3e94f7(0x3f7)][_0x3e94f7(0x14c)](),this[_0x3e94f7(0x225)]['complete'](),this[_0x3e94f7(0x200)]();}[_0x37581e(0x258)](_0x388a70){var _0x5c5df1=_0x37581e;_0x388a70[_0x5c5df1(0x145)]===F[_0x5c5df1(0x139)]?this[_0x5c5df1(0x292)](_0x388a70):_0x388a70[_0x5c5df1(0x145)]===F[_0x5c5df1(0x3c7)]&&this[_0x5c5df1(0x2eb)](_0x388a70);}[_0x37581e(0x1d0)](_0x48eacc){var _0x45734a=_0x37581e;this[_0x45734a(0x225)][_0x45734a(0x3bf)](0x1),_0x48eacc[_0x45734a(0x28a)]({'cmd':F[_0x45734a(0x139)],'routeKey':this[_0x45734a(0x304)],'routeType':'','data':{'rooms':[{'roomID':this[_0x45734a(0x304)]}]}});}[_0x37581e(0x292)](_0x5ceae9){var _0x30a78b=_0x37581e,_0x42065a;if(_0x5ceae9[_0x30a78b(0x29f)]in Yt){this[_0x30a78b(0x37a)][_0x30a78b(0x10b)]({'id':re['JOIN_ROOM_FAILED'],'data':Yt[_0x5ceae9[_0x30a78b(0x29f)]]}),this[_0x30a78b(0x225)][_0x30a78b(0x3bf)](0x2);return;}this[_0x30a78b(0x225)][_0x30a78b(0x3bf)](0x3);const _0x508122=(_0x42065a=_0x5ceae9[_0x30a78b(0xfb)][_0x30a78b(0x3d9)][this[_0x30a78b(0x304)]])==null?void 0x0:_0x42065a[_0x30a78b(0x21d)];_0x508122&&_0x508122['forEach'](_0x33d875=>this[_0x30a78b(0x3f4)][_0x30a78b(0x184)](this['_unitID'],_0x33d875));}['_onRecvEvent'](_0x220524){var _0x2374b5=_0x37581e;try{const _0x5eb573=_0x220524[_0x2374b5(0xfb)];switch(_0x5eb573[_0x2374b5(0x309)]){case _0x1844a1['USERS_ENTER']:this[_0x2374b5(0x132)](_0x5eb573),this[_0x2374b5(0x3f7)]['next'](_0x5eb573);break;case _0x1844a1[_0x2374b5(0xf1)]:this[_0x2374b5(0x12a)](_0x5eb573),this['_event$'][_0x2374b5(0x3bf)](_0x5eb573);break;case _0x1844a1[_0x2374b5(0x2f7)]:case _0x1844a1[_0x2374b5(0x177)]:this[_0x2374b5(0x1b8)](),this['_clearCollaborationTimeoutTimer'](),this[_0x2374b5(0x3f7)][_0x2374b5(0x3bf)](_0x5eb573);break;case _0x1844a1[_0x2374b5(0x37d)]:this[_0x2374b5(0x199)][_0x2374b5(0x3a5)](_0x2374b5(0x148)+JSON['stringify'](_0x5eb573)),this['_event$']['next'](_0x5eb573);break;case _0x1844a1[_0x2374b5(0x2b5)]:this['_commentService'][_0x2374b5(0x1e9)](_0x5eb573[_0x2374b5(0xfb)]),this[_0x2374b5(0x3f7)][_0x2374b5(0x3bf)](_0x5eb573);break;default:this[_0x2374b5(0x3f7)][_0x2374b5(0x3bf)](_0x5eb573);}}catch(_0x557eec){this[_0x2374b5(0x199)]['error'](_0x557eec,_0x220524);}}[_0x37581e(0x132)](_0xfa2f5a){var _0x3a28dd=_0x37581e;this[_0x3a28dd(0x3f4)][_0x3a28dd(0x184)](this['_unitID'],_0xfa2f5a[_0x3a28dd(0xfb)]);}[_0x37581e(0x12a)](_0x1baed9){var _0x5a29cd=_0x37581e;this[_0x5a29cd(0x3f4)][_0x5a29cd(0x1ad)](this[_0x5a29cd(0x304)],_0x1baed9[_0x5a29cd(0xfb)][_0x5a29cd(0x1fd)]);}async['send'](_0x112dae,_0x44a2bf){var _0x2035c8=_0x37581e;if(this[_0x2035c8(0x287)]!==0x3||!this[_0x2035c8(0x1c4)])throw new Error(_0x2035c8(0x168));try{_0x112dae['eventID']===_0x1844a1[_0x2035c8(0x182)]&&(this[_0x2035c8(0x12c)](),this['_startTelemetryCollaborationNewChangeset'](_0x112dae)),this['_socket'][_0x2035c8(0x28a)]({'cmd':F[_0x2035c8(0x11f)],'routeKey':_0x44a2bf,'routeType':'','data':_0x112dae});}catch(_0x3ad004){this[_0x2035c8(0x199)][_0x2035c8(0x3a5)](_0x3ad004);}}[_0x37581e(0x12c)](){var _0x27527c=_0x37581e,_0x28a850;this[_0x27527c(0x326)]=setTimeout(()=>{var _0x57860f=_0x27527c;this[_0x57860f(0x326)]=null,this[_0x57860f(0x37a)]['emitEvent']({'id':re[_0x57860f(0x2bb)]});},(_0x28a850=this['_configService'][_0x27527c(0x3ea)](mi))!=null?_0x28a850:gi);}[_0x37581e(0x3a4)](){var _0x2b9b51=_0x37581e;this[_0x2b9b51(0x326)]&&(clearTimeout(this[_0x2b9b51(0x326)]),this[_0x2b9b51(0x326)]=null);}[_0x37581e(0x320)](_0x1034f7){var _0xfee212=_0x37581e;if(!this[_0xfee212(0x17d)])return;const {data:_0x16bdfd}=_0x1034f7,{unitID:_0x3a7aa6,changeset:_0x302498}=_0x16bdfd,{mutations:_0x345f01,type:_0x47ea58}=_0x302498;this['_telemetryInfo']={'unitId':_0x3a7aa6,'type':_0x47ea58,'startTime':performance[_0xfee212(0x27c)](),'stopTime':0x0,'duration':0x0,'size':Bn(_0x345f01)};}[_0x37581e(0x1b8)](){var _0x22d3f3=_0x37581e;if(this[_0x22d3f3(0x17d)]){if(!this[_0x22d3f3(0x2f4)]){this[_0x22d3f3(0x199)]['error'](_0x22d3f3(0x10f),'telemetry\x20info\x20is\x20not\x20initialized');return;}this[_0x22d3f3(0x2f4)][_0x22d3f3(0x1ed)]=performance[_0x22d3f3(0x27c)](),this[_0x22d3f3(0x2f4)][_0x22d3f3(0x178)]=this[_0x22d3f3(0x2f4)][_0x22d3f3(0x1ed)]-this[_0x22d3f3(0x2f4)][_0x22d3f3(0x3bb)],this[_0x22d3f3(0x39e)][_0x22d3f3(0x174)](Hn,this[_0x22d3f3(0x2f4)]),this[_0x22d3f3(0x2f4)]=null;}}[_0x37581e(0xf7)](){var _0x4c6488=_0x37581e;this[_0x4c6488(0x2f4)]=null;}};Et=Wn([me(0x2,_0x19b55e),me(0x3,_0x4966ba),me(0x4,_0x1d905d(_0x419ebc)),me(0x5,_0x1d905d(Le)),me(0x6,_0x1d905d(Ti)),me(0x7,_0x1d905d(pe)),me(0x8,_0x48bf7b(_0x1e58ba))],Et);var Yn=Object[_0x37581e(0xfd)],Kn=(_0x3177c6,_0x4391bd,_0x502986,_0x443bf9)=>{var _0x4ad56c=_0x37581e;for(var _0x14d904=_0x443bf9>0x1?void 0x0:_0x443bf9?Yn(_0x4391bd,_0x502986):_0x4391bd,_0x1382d7=_0x3177c6[_0x4ad56c(0x385)]-0x1,_0x11c856;_0x1382d7>=0x0;_0x1382d7--)(_0x11c856=_0x3177c6[_0x1382d7])&&(_0x14d904=_0x11c856(_0x14d904)||_0x14d904);return _0x14d904;},be=(_0x165d5e,_0x3ea390)=>(_0x3655fd,_0x3dfa1c)=>_0x3ea390(_0x3655fd,_0x3dfa1c,_0x165d5e);let Me=class extends _0x279799{constructor(_0x21b771,_0x53d4e8,_0x212172,_0x1fb5ef,_0x96ae5e,_0xffa64d){var _0x36b18e=_0x37581e;super(),N(this,'_socket$',new _0x3f54c5(void 0x0)),N(this,_0x36b18e(0x269),this[_0x36b18e(0x355)]['asObservable']()),N(this,_0x36b18e(0x2d3),null),N(this,'_sessions',new Map()),N(this,'_status$',new _0x3f54c5(Ee[_0x36b18e(0x28b)])),N(this,_0x36b18e(0x243),this[_0x36b18e(0x295)][_0x36b18e(0x201)]()),N(this,_0x36b18e(0x344),!0x1),N(this,'_retryConnectingTimer'),N(this,'_retryCount',0x0),N(this,_0x36b18e(0x198)),N(this,_0x36b18e(0x197)),(this[_0x36b18e(0x2b3)]=_0x21b771,this[_0x36b18e(0x199)]=_0x53d4e8,this[_0x36b18e(0x2c9)]=_0x212172,this[_0x36b18e(0x3e1)]=_0x1fb5ef,this['_collaborationUIEventService']=_0x96ae5e,this[_0x36b18e(0x11e)]=_0xffa64d,this[_0x36b18e(0x29d)]());}get['_socket'](){var _0x23a929=_0x37581e;return this[_0x23a929(0x355)]['getValue']();}[_0x37581e(0x29d)](){var _0x18f6c4=_0x37581e;this['_networkConditionService']&&this['disposeWithMe'](this[_0x18f6c4(0x11e)][_0x18f6c4(0x394)][_0x18f6c4(0x1f3)](_0x1ff92e=>{var _0x2fb4e9=_0x18f6c4;_0x1ff92e&&!this['_socket']&&this[_0x2fb4e9(0x181)](),_0x1ff92e||this[_0x2fb4e9(0x1f0)]();}));}[_0x37581e(0x200)](){var _0x581ec4=_0x37581e;super[_0x581ec4(0x200)](),this[_0x581ec4(0x26a)](),this[_0x581ec4(0x1cc)](),this[_0x581ec4(0x308)](),this['_sessions'][_0x581ec4(0x29a)](_0x319fea=>_0x319fea[_0x581ec4(0x200)]()),this[_0x581ec4(0x365)]['clear'](),this[_0x581ec4(0x295)][_0x581ec4(0x14c)]();}async['requireSession'](_0x3e3904){var _0x1ed0c2=_0x37581e;if(this[_0x1ed0c2(0x365)][_0x1ed0c2(0x21f)](_0x3e3904))return this['_sessions']['get'](_0x3e3904);this[_0x1ed0c2(0x2d5)]();const _0xeb90c2=this['_injector'][_0x1ed0c2(0x3c5)](Et,_0x3e3904,this[_0x1ed0c2(0x355)][_0x1ed0c2(0x201)]());return this[_0x1ed0c2(0x365)][_0x1ed0c2(0x1b2)](_0x3e3904,_0xeb90c2),_0xeb90c2;}[_0x37581e(0x3ed)](_0x5be8c2){var _0x391818=_0x37581e,_0x4217b4;const _0x286380=this[_0x391818(0x365)]['get'](_0x5be8c2);_0x286380&&(this['_sessions'][_0x391818(0x19a)](_0x5be8c2),_0x286380['close']()),this[_0x391818(0x365)][_0x391818(0x396)]||(_0x4217b4=this[_0x391818(0x1c4)])==null||_0x4217b4[_0x391818(0x171)]();}[_0x37581e(0x181)](){var _0x2de96b=_0x37581e;this[_0x2de96b(0x285)]=0x0,this['_clearRetryConnectingTimer'](),this['_tryReconnect']();}[_0x37581e(0x26a)](){var _0x3b428a=_0x37581e;this[_0x3b428a(0x2ff)]!=null&&(clearTimeout(this['_retryConnectingTimer']),this[_0x3b428a(0x2ff)]=null);}async[_0x37581e(0x109)](){var _0x4fea29=_0x37581e,_0x46b6ce,_0x1f1405;const _0x47e2d6=this[_0x4fea29(0x2c9)][_0x4fea29(0x3ea)](In),_0xdb87ce=this['_configService'][_0x4fea29(0x3ea)](q),_0x13a721=(_0x1f1405=(_0x46b6ce=_0xdb87ce==null?void 0x0:_0xdb87ce[_0x4fea29(0x28d)])!=null?_0x46b6ce:_0x47e2d6)!=null?_0x1f1405:Tn,_0x136fe8=await this[_0x4fea29(0x3e1)][_0x4fea29(0x2f2)](_0x13a721);return this[_0x4fea29(0x2d3)]=_0x136fe8,_0x136fe8;}async['_tryEnsureSocket'](){var _0x43b7af=_0x37581e,_0x3bf894,_0x18d02a;try{const _0x4025cf=(_0x18d02a=(_0x3bf894=this[_0x43b7af(0x1c4)])!=null?_0x3bf894:this[_0x43b7af(0x2d3)])!=null?_0x18d02a:await this[_0x43b7af(0x109)]();if(_0x4025cf){const _0x7df95f=_0x4025cf[_0x43b7af(0x28a)];_0x4025cf[_0x43b7af(0x28a)]=_0x31065e=>(this[_0x43b7af(0x130)](),_0x7df95f['apply'](_0x4025cf,[_0x31065e])),_0x4025cf[_0x43b7af(0x2cd)][_0x43b7af(0x1f3)](_0xd3722f=>this[_0x43b7af(0x36a)](_0x4025cf,_0xd3722f)),_0x4025cf[_0x43b7af(0x3e4)]['pipe'](_0x42f22f(0x1))[_0x43b7af(0x1f3)](_0x21777f=>this[_0x43b7af(0x199)]['error'](_0x43b7af(0x1ba),_0x21777f)),_0x4025cf[_0x43b7af(0x3d2)][_0x43b7af(0x1a7)](_0x42f22f(0x1))[_0x43b7af(0x1f3)](()=>{this['_onConnectionOpen'](_0x4025cf);}),_0x4025cf[_0x43b7af(0x18b)][_0x43b7af(0x1a7)](_0x42f22f(0x1))[_0x43b7af(0x1f3)](_0x24be88=>{var _0x59e087=_0x43b7af;this[_0x59e087(0x199)]['debug']('[CollaborationSessionService]',_0x59e087(0x22f),_0x24be88),this[_0x59e087(0x2b7)]();});}}catch(_0x3fa5dd){this[_0x43b7af(0x199)][_0x43b7af(0x3a5)](_0x3fa5dd),this[_0x43b7af(0x2b7)]();}}[_0x37581e(0x216)](_0x1ed666){var _0x30ff69=_0x37581e;this[_0x30ff69(0x199)][_0x30ff69(0x29e)](_0x30ff69(0x1d6),_0x30ff69(0x205)),_0x1ed666['send']({'cmd':F['HELLO']}),this[_0x30ff69(0x130)]();}[_0x37581e(0x1f0)](){var _0x42b317=_0x37581e;this[_0x42b317(0x344)]=!0x1,this['_candidateSocket']=null,this['_status$']['next'](Ee[_0x42b317(0x238)]),this[_0x42b317(0x355)][_0x42b317(0x3bf)](null),this[_0x42b317(0x1cc)](),this['_clearHeartbeatTimer']();}[_0x37581e(0x2b7)](){var _0x13f3b3=_0x37581e,_0x27614a;this['_onOffline'](),this[_0x13f3b3(0x285)]<((_0x27614a=this[_0x13f3b3(0x2c9)][_0x13f3b3(0x3ea)](On))!=null?_0x27614a:yn)?(this[_0x13f3b3(0x37a)][_0x13f3b3(0x10b)]({'id':re[_0x13f3b3(0x32c)]}),this['_tryReconnect']()):this[_0x13f3b3(0x37a)]['emitEvent']({'id':re['SOCKET_FAILED']});}[_0x37581e(0x35c)](){var _0xe0b027=_0x37581e,_0x41c817;const _0x831c2d=this[_0xe0b027(0x285)],_0x54ea4e=this[_0xe0b027(0x2c9)]['getConfig'](q),_0x5b0049=_0x831c2d===0x0?0x0:((_0x41c817=_0x54ea4e==null?void 0x0:_0x54ea4e[_0xe0b027(0x3bc)])!=null?_0x41c817:bn)*0x2**_0x831c2d;this[_0xe0b027(0x2ff)]=setTimeout(()=>{var _0x5de9f3=_0xe0b027;clearTimeout(this['_retryConnectingTimer']),this[_0x5de9f3(0x2ff)]=null,this[_0x5de9f3(0x2d5)]();},_0x5b0049),this['_retryCount']+=0x1;}['_onMessage'](_0x3f0f83,_0x1488d6){var _0x5c0b2a=_0x37581e;const {cmd:_0x1b2247}=_0x1488d6;_0x1b2247===F['HELLO']&&!this[_0x5c0b2a(0x344)]&&(_0x3f0f83[_0x5c0b2a(0x1fd)]=_0x1488d6['data'][_0x5c0b2a(0x1fd)],this[_0x5c0b2a(0x355)][_0x5c0b2a(0x3bf)](_0x3f0f83),this[_0x5c0b2a(0x295)]['next'](Ee[_0x5c0b2a(0x22e)]),this[_0x5c0b2a(0x344)]=!0x0,this['_candidateSocket']=null),_0x1b2247===F[_0x5c0b2a(0x235)]&&this[_0x5c0b2a(0x1cc)](),this[_0x5c0b2a(0x130)]();}['_rescheduleHeartbeat'](){var _0x40a3c6=_0x37581e,_0x39ad22;this[_0x40a3c6(0x308)](),this[_0x40a3c6(0x198)]=setTimeout(()=>this[_0x40a3c6(0x183)](),(_0x39ad22=this[_0x40a3c6(0x2c9)][_0x40a3c6(0x3ea)](Cn))!=null?_0x39ad22:Rn);}[_0x37581e(0x183)](){var _0x26068a=_0x37581e;this[_0x26068a(0x1c4)]['send']({'cmd':F[_0x26068a(0x235)]}),this[_0x26068a(0x2fe)]();}['_waitForHeartbeatResponse'](){var _0x591404=_0x37581e,_0x51740c;this['_timeoutTimer']=setTimeout(()=>this['_onConnectionFailed'](),(_0x51740c=this[_0x591404(0x2c9)][_0x591404(0x3ea)](mi))!=null?_0x51740c:gi);}[_0x37581e(0x308)](){var _0x1638ae=_0x37581e;this[_0x1638ae(0x198)]!=null&&(clearTimeout(this[_0x1638ae(0x198)]),this[_0x1638ae(0x198)]=null);}[_0x37581e(0x1cc)](){var _0x20ad86=_0x37581e;this[_0x20ad86(0x197)]!=null&&(clearTimeout(this['_timeoutTimer']),this['_timeoutTimer']=null);}};Me=Kn([be(0x0,_0x1d905d(_0x53496f)),be(0x1,_0x19b55e),be(0x2,_0x4966ba),be(0x3,Ii),be(0x4,_0x1d905d(pe)),be(0x5,_0x48bf7b(Pn))],Me);const V=[];for(let t=0x0;t<0x100;++t)V[_0x37581e(0x2a8)]((t+0x100)[_0x37581e(0x33b)](0x10)['slice'](0x1));function qn(_0x2c9fcf,_0x30d514=0x0){var _0x68ec03=_0x37581e;return(V[_0x2c9fcf[_0x30d514+0x0]]+V[_0x2c9fcf[_0x30d514+0x1]]+V[_0x2c9fcf[_0x30d514+0x2]]+V[_0x2c9fcf[_0x30d514+0x3]]+'-'+V[_0x2c9fcf[_0x30d514+0x4]]+V[_0x2c9fcf[_0x30d514+0x5]]+'-'+V[_0x2c9fcf[_0x30d514+0x6]]+V[_0x2c9fcf[_0x30d514+0x7]]+'-'+V[_0x2c9fcf[_0x30d514+0x8]]+V[_0x2c9fcf[_0x30d514+0x9]]+'-'+V[_0x2c9fcf[_0x30d514+0xa]]+V[_0x2c9fcf[_0x30d514+0xb]]+V[_0x2c9fcf[_0x30d514+0xc]]+V[_0x2c9fcf[_0x30d514+0xd]]+V[_0x2c9fcf[_0x30d514+0xe]]+V[_0x2c9fcf[_0x30d514+0xf]])[_0x68ec03(0x1be)]();}let ut;const zn=new Uint8Array(0x10);function Jn(){var _0x414bc9=_0x37581e;if(!ut){if(typeof crypto>'u'||!crypto[_0x414bc9(0x21b)])throw new Error(_0x414bc9(0x19c));ut=crypto[_0x414bc9(0x21b)]['bind'](crypto);}return ut(zn);}const Xn=typeof crypto<'u'&&crypto[_0x37581e(0x34c)]&&crypto['randomUUID'][_0x37581e(0x1a5)](crypto),Kt={'randomUUID':Xn};function Zn(_0x4e4781,_0x411d34,_0x599945){var _0x3ef437=_0x37581e,_0x531159,_0x3910ba,_0x3380b9;if(Kt[_0x3ef437(0x34c)]&&!_0x4e4781)return Kt['randomUUID']();_0x4e4781=_0x4e4781||{};const _0x2bc5c5=(_0x3380b9=(_0x3910ba=_0x4e4781[_0x3ef437(0x380)])!=null?_0x3910ba:(_0x531159=_0x4e4781[_0x3ef437(0x230)])==null?void 0x0:_0x531159[_0x3ef437(0x36b)](_0x4e4781))!=null?_0x3380b9:Jn();if(_0x2bc5c5['length']<0x10)throw new Error(_0x3ef437(0x15b));return _0x2bc5c5[0x6]=_0x2bc5c5[0x6]&0xf|0x40,_0x2bc5c5[0x8]=_0x2bc5c5[0x8]&0x3f|0x80,qn(_0x2bc5c5);}const J=_0x47e8cb(_0x37581e(0x274));function Br(_0x5a6431){var _0x39ef26=_0x37581e;return _0x39ef26(0x254)+_0x5a6431;}var Qn=Object[_0x37581e(0xfd)],es=(_0x353614,_0x43a15d,_0x5bcb34,_0x408111)=>{var _0x194c60=_0x37581e;for(var _0x331951=_0x408111>0x1?void 0x0:_0x408111?Qn(_0x43a15d,_0x5bcb34):_0x43a15d,_0x3d5cca=_0x353614[_0x194c60(0x385)]-0x1,_0x268436;_0x3d5cca>=0x0;_0x3d5cca--)(_0x268436=_0x353614[_0x3d5cca])&&(_0x331951=_0x268436(_0x331951)||_0x331951);return _0x331951;},dt=(_0x54e91d,_0x58c64c)=>(_0x56e5e7,_0x33bb16)=>_0x58c64c(_0x56e5e7,_0x33bb16,_0x54e91d);function ts(_0x9ec1f4){var _0x1db5f2=_0x37581e;const {unitID:_0x37313a,mutations:_0xfa5269}=_0x9ec1f4;return{'unitId':_0x37313a,'subUnitId':_0xfa5269[0x0]['params'][_0x1db5f2(0x241)]};}let it=class{constructor(_0x477098,_0x173e47,_0x124307){var _0x32863d=_0x37581e;this[_0x32863d(0x2b3)]=_0x477098,this[_0x32863d(0x2bc)]=_0x173e47,this[_0x32863d(0x143)]=_0x124307;}['transformSelections'](_0x5642ed){var _0x30f5c1=_0x37581e,_0x1042b7,_0x595234,_0x2978ed,_0x472e4e;const _0x26d8cf=this['_injector'][_0x30f5c1(0x2dc)](_0x108a67),{unitId:_0x3d137b,subUnitId:_0x5b1e02}=ts(_0x5642ed),_0x6eaaf1=_0x26d8cf==null?void 0x0:_0x26d8cf['getWorkbookSelections'](_0x3d137b)[_0x30f5c1(0x3e5)](),_0x4ad3b8=(_0x595234=(_0x1042b7=this['_instanceService']['getUnit'](_0x3d137b))==null?void 0x0:_0x1042b7[_0x30f5c1(0x39f)]())==null?void 0x0:_0x595234['getSheetId']();if(_0x6eaaf1[_0x30f5c1(0x385)]===0x0||!_0x3d137b||!_0x5b1e02)return;const _0x332778=[{'id':_0x35e3f4['id'],'params':{'unitId':_0x3d137b,'subUnitId':_0x4ad3b8,'selections':_0x167d20[_0x30f5c1(0x313)](_0x6eaaf1)}}],_0x2d8c00=this['_transformService'][_0x30f5c1(0x23e)](_0x5642ed,_0x332778);if(!_0x1b0439(_0x2d8c00))throw _0x2d8c00[_0x30f5c1(0x3a5)];const _0x599e41=(_0x472e4e=(_0x2978ed=_0x2d8c00[_0x30f5c1(0x3ac)][0x0])==null?void 0x0:_0x2978ed[_0x30f5c1(0x2cf)])==null?void 0x0:_0x472e4e[_0x30f5c1(0x3ca)];if(Array['isArray'](_0x599e41)&&_0x599e41[_0x30f5c1(0x385)]){if(_0x599e41[_0x30f5c1(0x385)]===_0x332778[0x0][_0x30f5c1(0x2cf)][_0x30f5c1(0x3ca)]['length']&&_0x599e41[_0x30f5c1(0x1ac)]((_0x33d7b4,_0x19dcd2)=>_0x1216c8[_0x30f5c1(0x2f6)](_0x33d7b4[_0x30f5c1(0x3af)],_0x332778[0x0][_0x30f5c1(0x2cf)][_0x30f5c1(0x3ca)][_0x19dcd2][_0x30f5c1(0x3af)])))return;this[_0x30f5c1(0x2b3)][_0x30f5c1(0x2dc)](_0xf8d2fa)[_0x30f5c1(0x3b4)](_0x35e3f4['id'],{'unitId':_0x3d137b,'subUnitId':_0x4ad3b8,'selections':_0x599e41});}}};it=es([dt(0x0,_0x1d905d(_0x53496f)),dt(0x1,_0x1aeb5d),dt(0x2,_0x4c791d)],it);const ht=_0x47e8cb('univer-pro.collaboration-client.single-active-unit-service');var Ci=(_0x16e19c=>(_0x16e19c[_0x16e19c['NO_OTHER_CLIENTS_EDITING']=0x0]=_0x37581e(0x151),_0x16e19c[_0x16e19c[_0x37581e(0x24c)]=0x1]=_0x37581e(0x24c),_0x16e19c))(Ci||{});const is=new Set([_0x27c0d1['id']]);function qt(_0x4f5003,_0x18c969,_0x666d1a,_0x258473,_0x3acd0d){var _0x52f6fb=_0x37581e,_0x43b836,_0x4e64fe,_0x26e777,_0x3e2d92;const _0x152c62=[];for(const _0x3cc924 of _0x4f5003)if(is[_0x52f6fb(0x21f)](_0x3cc924['id'])){if(_0x152c62[_0x52f6fb(0x385)]>0x0)break;_0x152c62[_0x52f6fb(0x2a8)](_0x3cc924);break;}else _0x152c62['push'](_0x3cc924);const _0x218cba=(_0x4e64fe=(_0x43b836=_0x3acd0d[_0x52f6fb(0x1c0)]())==null?void 0x0:_0x43b836[_0x52f6fb(0x3c2)])!=null?_0x4e64fe:_0x52f6fb(0x3d7),_0x4f92e7=(_0x3e2d92=(_0x26e777=_0x3acd0d['getCurrentUser']())==null?void 0x0:_0x26e777[_0x52f6fb(0x1fd)])!=null?_0x3e2d92:'unknown';return{'changeset':{'unitID':_0x18c969,'type':_0xc5fe45(_0x666d1a['getUnitType'](_0x18c969)),'baseRev':_0x258473[_0x52f6fb(0x208)](_0x18c969),'revision':0x0,'userID':_0x218cba,'memberID':_0x4f92e7,'mutations':_0x152c62},'pendingMutations':_0x4f5003[_0x52f6fb(0x14a)](_0x152c62[_0x52f6fb(0x385)])};}function ns(_0x1da0e2,_0x1b4d82,_0x1db835,_0x27df65,_0x379242){var _0x82aa9c=_0x37581e,_0x38f821,_0x4d62be,_0x3747c6,_0x193ad7;const _0x591915=[_0x1da0e2['reduce']((_0x4c0136,_0x4b0116)=>{var _0x277f18=_0x25ef,_0x17b2eb;const {id:_0x21c4ed}=_0x4c0136,{id:_0x2083ac,type:_0x2fc882}=_0x4b0116,_0x26fb71=(_0x17b2eb=_0x4c0136['params'])!=null?_0x17b2eb:{'actions':null},_0x52d803=_0x4b0116[_0x277f18(0x2cf)];if(_0x21c4ed&&_0x21c4ed!==_0x2083ac)throw new Error(_0x277f18(0x1df)+_0x21c4ed+_0x277f18(0x1fa)+_0x2083ac+'.');return{..._0x4c0136,'id':_0x2083ac,'type':_0x2fc882,'params':{'unitId':_0x52d803['unitId'],'textRanges':_0x52d803['textRanges'],'actions':_0x1b75d1['compose'](_0x26fb71[_0x277f18(0x256)],_0x52d803['actions'])}};},{})],_0x51d910=(_0x4d62be=(_0x38f821=_0x379242['getCurrentUser']())==null?void 0x0:_0x38f821[_0x82aa9c(0x3c2)])!=null?_0x4d62be:'unknown',_0xf6c448=(_0x193ad7=(_0x3747c6=_0x379242['getCurrentUser']())==null?void 0x0:_0x3747c6[_0x82aa9c(0x1fd)])!=null?_0x193ad7:_0x82aa9c(0x3d7);return{'changeset':{'unitID':_0x1b4d82,'type':_0xc5fe45(_0x1db835[_0x82aa9c(0x3cc)](_0x1b4d82)),'baseRev':_0x27df65[_0x82aa9c(0x208)](_0x1b4d82),'revision':0x0,'userID':_0x51d910,'memberID':_0xf6c448,'mutations':_0x591915},'pendingMutations':[]};}function Ri(_0xb436fc,_0x20d68a){var _0x36129a=_0x37581e;const _0x1fbfd0=new _0x263706(0x1);return setTimeout(()=>_0x1fbfd0[_0x36129a(0x3bf)](_0x20d68a),_0xb436fc),_0x1fbfd0[_0x36129a(0x201)]()[_0x36129a(0x1a7)](_0xd6c7c8(0x1));}const ss={'id':_0x4f8360['id'],'type':_0x1978b5[_0x37581e(0x356)],'params':{}};var rs=Object[_0x37581e(0xfd)],Te=(_0x2ad370,_0x293003,_0xf64517,_0xbd7ef4)=>{var _0x3cbdea=_0x37581e;for(var _0x225176=_0xbd7ef4>0x1?void 0x0:_0xbd7ef4?rs(_0x293003,_0xf64517):_0x293003,_0x3d69bf=_0x2ad370[_0x3cbdea(0x385)]-0x1,_0x296228;_0x3d69bf>=0x0;_0x3d69bf--)(_0x296228=_0x2ad370[_0x3d69bf])&&(_0x225176=_0x296228(_0x225176)||_0x225176);return _0x225176;},P=(_0x56ba8c,_0x18e2b8)=>(_0x5a892b,_0x15572d)=>_0x18e2b8(_0x5a892b,_0x15572d,_0x56ba8c),bi=(_0xce5f65=>(_0xce5f65['NOT_COLLAB']='not_collab',_0xce5f65[_0x37581e(0x11b)]=_0x37581e(0x378),_0xce5f65['PENDING']=_0x37581e(0x348),_0xce5f65['AWAITING']=_0x37581e(0x245),_0xce5f65['AWAITING_WITH_PENDING']='awaiting_with_pending',_0xce5f65[_0x37581e(0x3dc)]=_0x37581e(0x3de),_0xce5f65['CONFLICT']='conflict',_0xce5f65[_0x37581e(0x238)]=_0x37581e(0x237),_0xce5f65))(bi||{});const Oi=0xea60;class Ce{constructor(_0x5a3036,_0x5286fe,_0x5dd5ed,_0x5387d3,_0x1fb793,_0x25ecb2,_0x1de935,_0x2cc870,_0xc17f1f){var _0x421b06=_0x37581e;N(this,_0x421b06(0x175),null),N(this,_0x421b06(0x1b5),[]),(this[_0x421b06(0x2a2)]=_0x5a3036,this[_0x421b06(0x25b)]=_0x5286fe,this[_0x421b06(0x1a1)]=_0x1fb793,this[_0x421b06(0x37c)]=_0x25ecb2,this['_undoRedoService']=_0x1de935,this[_0x421b06(0x381)]=_0x2cc870,this[_0x421b06(0x31b)]=_0xc17f1f,this['_awaitingChangeset']=_0x5dd5ed,this[_0x421b06(0x1b5)]=_0x5387d3);}[_0x37581e(0x3b1)](_0x28e0d3){var _0x110239=_0x37581e;const _0x30d98c=this['_revisionService'][_0x110239(0x208)](this[_0x110239(0x2a2)]);return _0x28e0d3[_0x110239(0x1a8)]>_0x30d98c+0x1?(this[_0x110239(0x1a1)][_0x110239(0x12b)]({'from':_0x30d98c,'to':_0x28e0d3[_0x110239(0x1a8)]-0x1}),!0x0):!0x1;}[_0x37581e(0x2b0)](_0x3ea193){var _0x3a630d=_0x37581e;this[_0x3a630d(0x120)]['transformUndoRedo'](this[_0x3a630d(0x2a2)],_0x3ea193);}['_transformSelections'](_0x15de7e){var _0x5e1d19=_0x37581e,_0x4b6891,_0x52a43e;(_0x52a43e=(_0x4b6891=this[_0x5e1d19(0x1a1)])[_0x5e1d19(0x2f9)])==null||_0x52a43e[_0x5e1d19(0x36b)](_0x4b6891,_0x15de7e);}[_0x37581e(0x1aa)](_0x268a22){var _0x2ad6ef=_0x37581e,_0x41bc32,_0x415384;return(_0x415384=(_0x41bc32=this[_0x2ad6ef(0x1a1)])[_0x2ad6ef(0x34e)])==null?void 0x0:_0x415384[_0x2ad6ef(0x36b)](_0x41bc32,_0x268a22);}['_transformStateCache'](_0x3cda79){var _0xcd0449=_0x37581e,_0x31a11b,_0xd4d29b;return(_0xd4d29b=(_0x31a11b=this['_handler'])[_0xcd0449(0x1f6)])==null?void 0x0:_0xd4d29b[_0xcd0449(0x36b)](_0x31a11b,_0x3cda79);}['_transformRemoteChangesetByIMECache'](_0x4fca60){var _0x400f15=_0x37581e,_0x5b916d,_0x524fa7,_0x5ce20a;return(_0x5ce20a=(_0x524fa7=(_0x5b916d=this[_0x400f15(0x1a1)])['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x524fa7['call'](_0x5b916d,_0x4fca60))!=null?_0x5ce20a:_0x4fca60;}[_0x37581e(0x1ca)](_0x199496){var _0x1f18c5=_0x37581e,_0x41db7c,_0x4f5e00,_0x200cf4;return(_0x200cf4=(_0x4f5e00=(_0x41db7c=this[_0x1f18c5(0x1a1)])['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x4f5e00[_0x1f18c5(0x36b)](_0x41db7c,_0x199496))!=null?_0x200cf4:_0x199496;}[_0x37581e(0x16b)](_0x4b1f43){var _0x1eb7ef=_0x37581e,_0x5bde15,_0x109a19;if(this[_0x1eb7ef(0x25b)]===Q[_0x1eb7ef(0xf2)]){const {unitID:_0x169ad0,mutations:_0x3c6bfe,memberID:_0x473f76}=_0x4b1f43,_0x5ad948=_0x3c6bfe[0x0][_0x1eb7ef(0x2cf)]['textRanges'];Array['isArray'](_0x5ad948)&&_0x5ad948['length']>0x0&&((_0x109a19=(_0x5bde15=this['_handler'])[_0x1eb7ef(0x1d2)])==null||_0x109a19[_0x1eb7ef(0x36b)](_0x5bde15,{'unitID':_0x169ad0,'memberID':_0x473f76,'textRanges':_0x5ad948}));}}[_0x37581e(0x27b)](){var _0x57fcf3=_0x37581e,_0x1b267e;(_0x1b267e=this[_0x57fcf3(0x31b)])==null||_0x1b267e[_0x57fcf3(0x3fa)](this['unitID'],this['type'],this[_0x57fcf3(0x175)],this[_0x57fcf3(0x1b5)]);}[_0x37581e(0x3a9)](){var _0x599cc6=_0x37581e;return this[_0x599cc6(0x381)]['getCurrentRevOfUnit'](this[_0x599cc6(0x2a2)]);}[_0x37581e(0x17f)](){var _0x303522=_0x37581e;this['_revisionService'][_0x303522(0x1ff)](this[_0x303522(0x2a2)]);}[_0x37581e(0x1ab)](_0xc9141){var _0x37b642=_0x37581e,_0x1065ed;let _0x51f285=this[_0x37b642(0x31c)](_0xc9141);_0x51f285=this[_0x37b642(0x1ca)](_0x51f285);const _0x55e552=_0x2974ba(_0x51f285[_0x37b642(0x3be)],this[_0x37b642(0x37c)],{'fromCollab':!0x0});if(!_0x55e552['result'])throw _0x55e552['error']instanceof Error?_0x55e552[_0x37b642(0x3a5)]:new Error((_0x1065ed=_0x55e552[_0x37b642(0x3a5)])!=null?_0x1065ed:_0x37b642(0x372));this['_transformIMECache'](_0x51f285),this[_0x37b642(0x2f8)](_0x51f285),this[_0x37b642(0x2b0)](_0xc9141),this[_0x37b642(0x218)](_0x51f285),this[_0x37b642(0x16b)](_0x51f285),this[_0x37b642(0x17f)]();}}let Ne=class extends Ce{constructor(_0x2d7cc6,_0x5a918d,_0x5c49d7,_0x59ebfa,_0x4dc05a,_0x5aa04d,_0x58eb02,_0x4d0dd7,_0x1e693e,_0x3e82c1){var _0xfac7ea=_0x37581e;super(_0x2d7cc6,_0x5a918d,null,[],_0x5c49d7,_0x58eb02,_0x5aa04d,_0x59ebfa,_0x3e82c1),N(this,_0xfac7ea(0x294),'synced'),(this['_injector']=_0x4dc05a,this[_0xfac7ea(0x199)]=_0x4d0dd7,this[_0xfac7ea(0x2bc)]=_0x1e693e,this['localCacheService']=_0x3e82c1);}[_0x37581e(0x1c2)](_0x228c34){var _0x5258fb=_0x37581e;const _0x1e2e00=this[_0x5258fb(0x2b3)]['createInstance'](ae,this['unitID'],this[_0x5258fb(0x25b)],[_0x228c34],this[_0x5258fb(0x1a1)]);return _0x1e2e00[_0x5258fb(0x2b9)](),_0x1e2e00[_0x5258fb(0x27b)](),_0x1e2e00;}[_0x37581e(0x180)](_0x200d34){var _0x35f08f=_0x37581e;if(this[_0x35f08f(0x3b1)](_0x200d34))return this[_0x35f08f(0x2b3)]['createInstance'](ee,this['unitID'],this[_0x35f08f(0x25b)],null,[],null,[_0x200d34],this[_0x35f08f(0x1a1)]);try{const _0x361d9c=this['_transformService'][_0x35f08f(0x23e)](_0x200d34,[ss]);if(_0x1b0439(_0x361d9c)){const {c1Prime:_0x1da98d}=_0x361d9c;return this[_0x35f08f(0x1ab)](_0x1da98d),this;}throw _0x361d9c[_0x35f08f(0x3a5)];}catch(_0x34c7a7){return this[_0x35f08f(0x199)]['error'](_0x34c7a7),this[_0x35f08f(0x329)](!0x1);}}[_0x37581e(0x329)](_0x54c0c8){var _0x5e1df3=_0x37581e;return this['_injector'][_0x5e1df3(0x3c5)](ue,this[_0x5e1df3(0x2a2)],this['type'],null,[],this['_handler'],_0x54c0c8);}[_0x37581e(0x22d)](){throw new Error('[SyncedState]:\x20received\x20acknowledgement.');}[_0x37581e(0x196)](){throw new Error('[SyncedState]:\x20received\x20rejection.');}[_0x37581e(0x38c)](){return this;}[_0x37581e(0x316)](){var _0x45e34e=_0x37581e;return this[_0x45e34e(0x2b3)]['createInstance'](de,this[_0x45e34e(0x2a2)],this[_0x45e34e(0x25b)],null,[],this[_0x45e34e(0x1a1)]);}[_0x37581e(0x28c)](){return this;}[_0x37581e(0x1e5)](){var _0xcc0d2a=_0x37581e;throw new Error(_0xcc0d2a(0x1d3));}[_0x37581e(0x114)](){var _0xd79f82=_0x37581e;const _0x36eb7e=this[_0xd79f82(0x381)][_0xd79f82(0x208)](this[_0xd79f82(0x2a2)]);return this[_0xd79f82(0x1a1)][_0xd79f82(0x12b)]({'from':_0x36eb7e,'to':0x0}),this[_0xd79f82(0x2b3)][_0xd79f82(0x3c5)](ee,this[_0xd79f82(0x2a2)],this['type'],null,[],null,[],this[_0xd79f82(0x1a1)]);}};Ne=Te([P(0x3,_0x1d905d(_0x396323)),P(0x4,_0x1d905d(_0x53496f)),P(0x5,_0x272d84),P(0x6,_0xf8d2fa),P(0x7,_0x19b55e),P(0x8,_0x1aeb5d),P(0x9,_0x48bf7b(J))],Ne);let ae=class extends Ce{constructor(_0x5bd9a0,_0x3f6c07,_0x2de244,_0x33ebba,_0x5aa851,_0x258829,_0xfc7746,_0xa1c18f,_0x1ca228,_0x38cf0c,_0x5b942c,_0x4557c6,_0x50d8d5,_0x4ea805){var _0x461529=_0x37581e;super(_0x5bd9a0,_0x3f6c07,null,_0x2de244,_0x33ebba,_0x1ca228,_0x50d8d5,_0x258829,_0x4ea805),N(this,_0x461529(0x294),_0x461529(0x348)),N(this,_0x461529(0x346),null),N(this,'_sendingTimer',null),(this[_0x461529(0x2b3)]=_0x5aa851,this[_0x461529(0x3f4)]=_0xfc7746,this['_logService']=_0xa1c18f,this[_0x461529(0x2c9)]=_0x38cf0c,this[_0x461529(0x2bc)]=_0x5b942c,this[_0x461529(0x13f)]=_0x4557c6);}[_0x37581e(0x1c2)](_0x3d28f8){var _0x34e7dc=_0x37581e;return this[_0x34e7dc(0x1b5)][_0x34e7dc(0x2a8)](_0x3d28f8),this[_0x34e7dc(0x27b)](),this;}[_0x37581e(0x180)](_0x5ad4c4){var _0x2a02a1=_0x37581e;if(this[_0x2a02a1(0x3b1)](_0x5ad4c4))return this[_0x2a02a1(0x2db)](),this[_0x2a02a1(0x2b3)]['createInstance'](ee,this['unitID'],this[_0x2a02a1(0x25b)],null,this[_0x2a02a1(0x1b5)],null,[_0x5ad4c4],this['_handler']);try{const _0x1f3a2f=this['_transformService'][_0x2a02a1(0x23e)](_0x5ad4c4,this[_0x2a02a1(0x1b5)]);if(_0x1b0439(_0x1f3a2f)){const {c1Prime:_0x2b2ab8,m2Prime:_0x4b7cd1}=_0x1f3a2f;this[_0x2a02a1(0x1ab)](_0x2b2ab8);const _0x48c75e=this[_0x2a02a1(0x2b3)][_0x2a02a1(0x3c5)](ae,this[_0x2a02a1(0x2a2)],this[_0x2a02a1(0x25b)],_0x4b7cd1,this[_0x2a02a1(0x1a1)]);this['_clearScheduledTask']();const _0x36f4c6=new Date()[_0x2a02a1(0x337)](),_0x93a7c9=this['_scheduleCompleteTimestamp']?Math[_0x2a02a1(0xef)](this['_scheduleCompleteTimestamp']-_0x36f4c6,0x0):this[_0x2a02a1(0x249)]();return _0x48c75e[_0x2a02a1(0x2b9)](_0x93a7c9),_0x48c75e;}throw _0x1f3a2f[_0x2a02a1(0x3a5)];}catch(_0x4524fb){return this['_logService']['error'](_0x4524fb),this[_0x2a02a1(0x329)](!0x1);}}[_0x37581e(0x22d)](){var _0x1238a1=_0x37581e;throw new Error(_0x1238a1(0x310));}[_0x37581e(0x196)](){var _0x31a233=_0x37581e;throw new Error(_0x31a233(0x2f5));}[_0x37581e(0x38c)](){return this;}[_0x37581e(0x316)](){var _0x2fc45a=_0x37581e;return this['_clearScheduledTask'](),this['_injector'][_0x2fc45a(0x3c5)](de,this[_0x2fc45a(0x2a2)],this['type'],null,this[_0x2fc45a(0x1b5)],this[_0x2fc45a(0x1a1)]);}[_0x37581e(0x28c)](){return this;}['_schedule'](_0x4a2f72){var _0x5b556e=_0x37581e;const _0x3887dd=_0x4a2f72!=null?_0x4a2f72:this[_0x5b556e(0x249)]();this[_0x5b556e(0x346)]=new Date()[_0x5b556e(0x337)]()+_0x3887dd,this[_0x5b556e(0x2b1)]=setTimeout(()=>{var _0x179e0f=_0x5b556e;this[_0x179e0f(0x2db)]();let _0x3bae20=null;switch(this[_0x179e0f(0x25b)]){case Q[_0x179e0f(0x3b8)]:{_0x3bae20=qt(this[_0x179e0f(0x1b5)],this['unitID'],this['_univerInstanceService'],this['_revisionService'],this[_0x179e0f(0x3f4)]);break;}case Q['UNIVER_DOC']:{this[_0x179e0f(0x1b5)][_0x179e0f(0x1ac)](_0x19c4dd=>_0x19c4dd['id']===_0x131813['id'])?_0x3bae20=ns(this[_0x179e0f(0x1b5)],this[_0x179e0f(0x2a2)],this['_univerInstanceService'],this[_0x179e0f(0x381)],this['_memberService']):_0x3bae20=qt(this[_0x179e0f(0x1b5)],this[_0x179e0f(0x2a2)],this[_0x179e0f(0x13f)],this['_revisionService'],this[_0x179e0f(0x3f4)]);break;}default:throw new Error(_0x179e0f(0x38a)+this[_0x179e0f(0x25b)]+_0x179e0f(0x32e));}const {changeset:_0xa36752,pendingMutations:_0xa1021b}=_0x3bae20;this[_0x179e0f(0x1a1)][_0x179e0f(0x1d7)](_0xa36752);const _0xcb5f1b=_0xa1021b[_0x179e0f(0x385)]?this[_0x179e0f(0x2b3)]['createInstance'](oe,this['unitID'],this['type'],_0xa36752,_0xa1021b,this[_0x179e0f(0x1a1)],void 0x0):this[_0x179e0f(0x2b3)]['createInstance'](le,this[_0x179e0f(0x2a2)],this[_0x179e0f(0x25b)],_0xa36752,this['_handler']);_0xcb5f1b[_0x179e0f(0x27b)](),this[_0x179e0f(0x1a1)][_0x179e0f(0x1bb)](this,_0xcb5f1b);},_0x3887dd);}[_0x37581e(0x249)](){var _0xf0d86f=_0x37581e,_0x2bab45;const _0x2df06e=this[_0xf0d86f(0x2c9)][_0xf0d86f(0x3ea)](q);return(_0x2bab45=_0x2df06e==null?void 0x0:_0x2df06e[_0xf0d86f(0x115)])!=null?_0x2bab45:En;}[_0x37581e(0x1e5)](){var _0x42385e=_0x37581e;throw new Error(_0x42385e(0x3d8));}[_0x37581e(0x2db)](){var _0x22a94e=_0x37581e;this['_sendingTimer']!=null&&(clearTimeout(this[_0x22a94e(0x2b1)]),this[_0x22a94e(0x2b1)]=null);}['_onConflict'](_0x40f5f9){var _0x40ed61=_0x37581e;return this['_clearScheduledTask'](),this[_0x40ed61(0x2b3)]['createInstance'](ue,this[_0x40ed61(0x2a2)],this[_0x40ed61(0x25b)],null,this[_0x40ed61(0x1b5)],this['_handler'],_0x40f5f9);}};ae=Te([P(0x4,_0x1d905d(_0x53496f)),P(0x5,_0x1d905d(_0x396323)),P(0x6,_0x1d905d(Le)),P(0x7,_0x19b55e),P(0x8,_0xf8d2fa),P(0x9,_0x4966ba),P(0xa,_0x1aeb5d),P(0xb,_0x4c791d),P(0xc,_0x272d84),P(0xd,_0x48bf7b(J))],ae);let le=class extends Ce{constructor(_0x22c94a,_0x5d1293,_0x3dd28b,_0x3c18ae,_0x455535,_0x1d8bab,_0x517579,_0x2a8722,_0x31cb55,_0x3f7ac6,_0x102689){var _0x3f430c=_0x37581e;super(_0x22c94a,_0x5d1293,_0x3dd28b,[],_0x3c18ae,_0x517579,_0x3f7ac6,_0x1d8bab,_0x102689),N(this,_0x3f430c(0x294),_0x3f430c(0x245)),N(this,_0x3f430c(0x106),0x0),N(this,_0x3f430c(0x290)),N(this,'_sender'),(this['_injector']=_0x455535,this[_0x3f430c(0x199)]=_0x2a8722,this[_0x3f430c(0x2bc)]=_0x31cb55);}[_0x37581e(0x1c2)](_0x2e35a1){var _0xba01c9=_0x37581e;this[_0xba01c9(0x2db)]();const _0x44bfe0=this[_0xba01c9(0x2b3)]['createInstance'](oe,this[_0xba01c9(0x2a2)],this[_0xba01c9(0x25b)],this[_0xba01c9(0x175)],[_0x2e35a1],this[_0xba01c9(0x1a1)],this[_0xba01c9(0x290)]);return _0x44bfe0[_0xba01c9(0x27b)](),_0x44bfe0;}[_0x37581e(0x180)](_0x9fd45c){var _0x14b661=_0x37581e;if(this['_checkMissing'](_0x9fd45c))return this[_0x14b661(0x2db)](),this[_0x14b661(0x2b3)][_0x14b661(0x3c5)](ee,this['unitID'],this[_0x14b661(0x25b)],this[_0x14b661(0x175)],[],null,[_0x9fd45c],this['_handler']);try{const _0x4ca236=this[_0x14b661(0x2bc)][_0x14b661(0x303)]([_0x9fd45c],[this[_0x14b661(0x175)]],!0x1);if(_0x1dba74(_0x4ca236)){const {c1Prime:_0x354fca,c2Prime:_0xbf4242}=_0x4ca236;this['_executeRemoteChangeset'](_0x354fca[0x0]),_0xbf4242[0x0]['baseRev']=this[_0x14b661(0x3a9)](),this[_0x14b661(0x2db)]();const _0x1e81ee=this['_injector'][_0x14b661(0x3c5)](le,this[_0x14b661(0x2a2)],this[_0x14b661(0x25b)],_0xbf4242[0x0],this['_handler']);return _0x1e81ee['_updateLocalCache'](),_0x1e81ee;}return this['_onConflict'](!0x1);}catch(_0x140966){return this['_logService'][_0x14b661(0x3a5)](_0x140966),this['_onConflict'](!0x1);}}[_0x37581e(0x22d)](_0x2d4ca8){var _0x2e1354=_0x37581e;this['_clearScheduledTask']();const _0x349d02=this[_0x2e1354(0x381)][_0x2e1354(0x208)](this[_0x2e1354(0x2a2)]);if(_0x2d4ca8[_0x2e1354(0x1a8)]<_0x349d02-0x1)return this;if(this['_checkMissing'](_0x2d4ca8))return this[_0x2e1354(0x2b3)][_0x2e1354(0x3c5)](ee,this['unitID'],this['type'],null,[],this[_0x2e1354(0x175)],[],this[_0x2e1354(0x1a1)]);this[_0x2e1354(0x17f)]();const _0x40065e=this['_injector'][_0x2e1354(0x3c5)](Ne,this[_0x2e1354(0x2a2)],this[_0x2e1354(0x25b)],this[_0x2e1354(0x1a1)]);return _0x40065e[_0x2e1354(0x27b)](),_0x40065e;}['onRemoteRej'](_0x226bf8){var _0x370160=_0x37581e;return this[_0x370160(0x329)](!!(_0x226bf8!=null&&_0x226bf8[_0x370160(0x176)]));}[_0x37581e(0x38c)](_0xc0b585){var _0x860a38=_0x37581e;return this[_0x860a38(0x106)]>Oi?this[_0x860a38(0x316)]():(this[_0x860a38(0x290)]=Ri(this[_0x860a38(0x106)],{'timeout':this[_0x860a38(0x106)],'reqId':_0xc0b585['reqId']}),this[_0x860a38(0x147)]=this['_resendTimer'][_0x860a38(0x1f3)](({reqId:_0x370d4c,timeout:_0x2c6e48})=>{this['_resendWithTimeout'](_0x370d4c,_0x2c6e48);}),this);}['toggleOffline'](){var _0x51385a=_0x37581e;return this['_clearScheduledTask'](),this['_injector'][_0x51385a(0x3c5)](de,this['unitID'],this[_0x51385a(0x25b)],this[_0x51385a(0x175)],[],this['_handler']);}[_0x37581e(0x28c)](){return this;}[_0x37581e(0x1e5)](){var _0x2d83c2=_0x37581e;this['_handler'][_0x2d83c2(0x1d7)](this[_0x2d83c2(0x175)]);}['_onConflict'](_0x2934e4){var _0xbb137b=_0x37581e;return this['_clearScheduledTask'](),this[_0xbb137b(0x2b3)]['createInstance'](ue,this[_0xbb137b(0x2a2)],this[_0xbb137b(0x25b)],this[_0xbb137b(0x175)],[],this[_0xbb137b(0x1a1)],_0x2934e4);}[_0x37581e(0x12e)](_0x40d980,_0x596bca){var _0x40f6b7=_0x37581e,_0x854b99;_0x40d980===((_0x854b99=this[_0x40f6b7(0x175)])==null?void 0x0:_0x854b99['reqId'])&&(this[_0x40f6b7(0x1e5)](),this[_0x40f6b7(0x106)]=_0x596bca===0x0?0x3e8:_0x596bca*0x2);}[_0x37581e(0x2db)](){var _0x18eaec=_0x37581e,_0x400989;(_0x400989=this[_0x18eaec(0x147)])==null||_0x400989[_0x18eaec(0x2d2)](),this[_0x18eaec(0x106)]=0x0;}};le=Te([P(0x4,_0x1d905d(_0x53496f)),P(0x5,_0x1d905d(_0x396323)),P(0x6,_0xf8d2fa),P(0x7,_0x19b55e),P(0x8,_0x1aeb5d),P(0x9,_0x272d84),P(0xa,_0x48bf7b(J))],le);let oe=class extends Ce{constructor(_0x48bedd,_0x28248e,_0x367685,_0x4027ff,_0x1e0eec,_0x1480fc,_0x44a784,_0xd0edbb,_0x19cebb,_0x5886df,_0x16ad4f,_0x54ad6b,_0x23ad9d){var _0x2322da=_0x37581e;super(_0x48bedd,_0x28248e,_0x367685,_0x4027ff,_0x1e0eec,_0x19cebb,_0x54ad6b,_0xd0edbb,_0x23ad9d),N(this,'status',_0x2322da(0x2b2)),N(this,_0x2322da(0x106),0x0),N(this,_0x2322da(0x290)),N(this,_0x2322da(0x147)),(this[_0x2322da(0x2b3)]=_0x44a784,this['_logService']=_0x5886df,this['_transformService']=_0x16ad4f,this[_0x2322da(0x33e)]=_0x23ad9d,_0x1480fc&&(this[_0x2322da(0x290)]=_0x1480fc,this[_0x2322da(0x147)]=this['_resendTimer']['subscribe'](({reqId:_0x224863,timeout:_0x9fe3e8})=>{var _0x4c8c76=_0x2322da;this[_0x4c8c76(0x12e)](_0x224863,_0x9fe3e8);})));}[_0x37581e(0x1c2)](_0x513507){var _0x56cb81=_0x37581e;return this['_pendingMutations'][_0x56cb81(0x2a8)](_0x513507),this;}[_0x37581e(0x180)](_0x379ced){var _0x55a99f=_0x37581e;if(this[_0x55a99f(0x3b1)](_0x379ced))return this[_0x55a99f(0x2db)](),this[_0x55a99f(0x2b3)][_0x55a99f(0x3c5)](ee,this['unitID'],this['type'],this[_0x55a99f(0x175)],this[_0x55a99f(0x1b5)],null,[_0x379ced],this[_0x55a99f(0x1a1)]);try{const _0x324660=this[_0x55a99f(0x2bc)][_0x55a99f(0x303)]([_0x379ced],[this[_0x55a99f(0x175)]],!0x1);if(_0x1dba74(_0x324660)){const {c1Prime:_0x2e7cbe,c2Prime:_0x1f07b1}=_0x324660,_0x4fd73d=this[_0x55a99f(0x2bc)][_0x55a99f(0x23e)](_0x2e7cbe[0x0],this[_0x55a99f(0x1b5)]);if(_0x1b0439(_0x4fd73d)){const {c1Prime:_0x40079b,m2Prime:_0x45e825}=_0x4fd73d;return this[_0x55a99f(0x1ab)](_0x40079b),_0x1f07b1[0x0]['baseRev']=this[_0x55a99f(0x3a9)](),this[_0x55a99f(0x2db)](),this[_0x55a99f(0x2b3)][_0x55a99f(0x3c5)](oe,this[_0x55a99f(0x2a2)],this[_0x55a99f(0x25b)],_0x1f07b1[0x0],_0x45e825,this[_0x55a99f(0x1a1)],void 0x0);}throw _0x4fd73d[_0x55a99f(0x3a5)];}throw _0x324660['error'];}catch(_0xd4eaa0){return this[_0x55a99f(0x199)][_0x55a99f(0x3a5)](_0xd4eaa0),this[_0x55a99f(0x329)](!0x1);}}['onRemoteAck'](_0x540d2c){var _0x286d8c=_0x37581e;if(this[_0x286d8c(0x2db)](),this[_0x286d8c(0x3b1)](_0x540d2c))return this[_0x286d8c(0x2b3)][_0x286d8c(0x3c5)](ee,this[_0x286d8c(0x2a2)],this[_0x286d8c(0x25b)],null,this['_pendingMutations'],this[_0x286d8c(0x175)],[],this[_0x286d8c(0x1a1)]);this[_0x286d8c(0x17f)]();const _0x19ce0=this[_0x286d8c(0x2b3)][_0x286d8c(0x3c5)](ae,this[_0x286d8c(0x2a2)],this['type'],this[_0x286d8c(0x1b5)],this[_0x286d8c(0x1a1)]);return _0x19ce0[_0x286d8c(0x2b9)](),_0x19ce0['_updateLocalCache'](),_0x19ce0;}[_0x37581e(0x196)](_0x4eafae){var _0x49afd3=_0x37581e;return this[_0x49afd3(0x329)](!!(_0x4eafae!=null&&_0x4eafae[_0x49afd3(0x176)]));}[_0x37581e(0x38c)](_0x4f1cc1){var _0x43865d=_0x37581e;return this[_0x43865d(0x106)]>Oi?this[_0x43865d(0x316)]():(this[_0x43865d(0x290)]=Ri(this['_resendTimeout'],{'timeout':this['_resendTimeout'],'reqId':_0x4f1cc1['reqId']}),this[_0x43865d(0x147)]=this[_0x43865d(0x290)][_0x43865d(0x1f3)](({reqId:_0x22e6ef,timeout:_0x4c072c})=>{this['_resendWithTimeout'](_0x22e6ef,_0x4c072c);}),this);}[_0x37581e(0x316)](){var _0x364ec4=_0x37581e;return this[_0x364ec4(0x2db)](),this['_injector'][_0x364ec4(0x3c5)](de,this[_0x364ec4(0x2a2)],this['type'],this[_0x364ec4(0x175)],this['_pendingMutations'],this[_0x364ec4(0x1a1)]);}[_0x37581e(0x28c)](){return this;}[_0x37581e(0x1e5)](){var _0x10fea6=_0x37581e;this[_0x10fea6(0x1a1)][_0x10fea6(0x1d7)](this['_awaitingChangeset']);}[_0x37581e(0x329)](_0x30e88f){var _0x449d79=_0x37581e;return this['_clearScheduledTask'](),this[_0x449d79(0x2b3)]['createInstance'](ue,this[_0x449d79(0x2a2)],this[_0x449d79(0x25b)],null,this['_pendingMutations'],this[_0x449d79(0x1a1)],_0x30e88f);}[_0x37581e(0x12e)](_0x216721,_0x3b2af9){var _0xca34a9=_0x37581e,_0x5921d0;_0x216721===((_0x5921d0=this[_0xca34a9(0x175)])==null?void 0x0:_0x5921d0['reqId'])&&(this[_0xca34a9(0x1e5)](),this[_0xca34a9(0x106)]=_0x3b2af9===0x0?0x3e8:_0x3b2af9*0x2);}[_0x37581e(0x2db)](){var _0xdec7b2=_0x37581e,_0x2dc75d;(_0x2dc75d=this[_0xdec7b2(0x147)])==null||_0x2dc75d[_0xdec7b2(0x2d2)](),this[_0xdec7b2(0x106)]=0x0;}};oe=Te([P(0x6,_0x1d905d(_0x53496f)),P(0x7,_0x1d905d(_0x396323)),P(0x8,_0xf8d2fa),P(0x9,_0x19b55e),P(0xa,_0x1aeb5d),P(0xb,_0x272d84),P(0xc,_0x48bf7b(J))],oe);let ue=class extends Ce{constructor(_0x101b34,_0xea5723,_0x1388fd,_0x580962,_0x22ffaf,_0x19693d=!0x1,_0x5366fd,_0x2b2134,_0x104383,_0x4ee1f8,_0x2636be,_0xf329d1,_0x1ad638){var _0x2c919b=_0x37581e;super(_0x101b34,_0xea5723,_0x1388fd,_0x580962,_0x22ffaf,_0x2b2134,_0x104383,_0x4ee1f8,_0x1ad638),N(this,'status','conflict'),(this[_0x2c919b(0x2c2)]=_0x19693d,this[_0x2c919b(0x23f)]=_0x5366fd,this[_0x2c919b(0x1ec)]=_0x2636be,this[_0x2c919b(0x37a)]=_0xf329d1,this['localCacheService']=_0x1ad638,this[_0x2c919b(0xff)](),this['_clearLocalCache'](),this[_0x2c919b(0x25a)]());}[_0x37581e(0x1c2)](){return this;}[_0x37581e(0x180)](){return this;}[_0x37581e(0x22d)](){return this;}[_0x37581e(0x196)](){return this;}[_0x37581e(0x38c)](){return this;}[_0x37581e(0x316)](){return this;}[_0x37581e(0x28c)](){return this;}[_0x37581e(0x1e5)](){var _0x209300=_0x37581e;throw new Error(_0x209300(0x2f1));}[_0x37581e(0x1eb)](){var _0x151024=_0x37581e,_0x2f1c43;(_0x2f1c43=this[_0x151024(0x31b)])==null||_0x2f1c43['updateOfflineData'](this[_0x151024(0x2a2)],this['type'],null,[]);}[_0x37581e(0xff)](){var _0x1e3dcb=_0x37581e;this[_0x1e3dcb(0x2c2)]?this['_collaborationUIEventService'][_0x1e3dcb(0x10b)]({'id':re[_0x1e3dcb(0x398)]}):this[_0x1e3dcb(0x37a)][_0x1e3dcb(0x10b)]({'id':re[_0x1e3dcb(0x119)]});}[_0x37581e(0x25a)](){var _0x2e7346=_0x37581e;this[_0x2e7346(0x23f)][_0x2e7346(0x251)](new _0x25b8a4(this[_0x2e7346(0x2a2)])['id'],!0x1);}};ue=Te([P(0x6,_0x1d905d(_0x12890a)),P(0x7,_0xf8d2fa),P(0x8,_0x272d84),P(0x9,_0x1d905d(_0x396323)),P(0xa,_0x1d905d(_0x419ebc)),P(0xb,_0x1d905d(pe)),P(0xc,_0x48bf7b(J))],ue);let de=class extends Ce{constructor(_0x3c5bd9,_0x2883df,_0x4f1842,_0xc62f21,_0x593696,_0x4347aa,_0x337ce1,_0x44da38,_0x8d2896,_0x4b6389){var _0x27a81d=_0x37581e;super(_0x3c5bd9,_0x2883df,_0x4f1842,_0xc62f21,_0x593696,_0x44da38,_0x8d2896,_0x337ce1,_0x4b6389),N(this,_0x27a81d(0x294),_0x27a81d(0x237)),this[_0x27a81d(0x2b3)]=_0x4347aa;}[_0x37581e(0x1c2)](_0x37d3ff){var _0xd079c4=_0x37581e;return this[_0xd079c4(0x1b5)][_0xd079c4(0x2a8)](_0x37d3ff),this[_0xd079c4(0x27b)](),this;}[_0x37581e(0x180)](_0x2eda16){var _0x21abf5=_0x37581e;throw new Error(_0x21abf5(0x2fc));}[_0x37581e(0x22d)](){var _0x50f107=_0x37581e;throw new Error(_0x50f107(0x1e0));}[_0x37581e(0x196)](){var _0x358591=_0x37581e;throw new Error(_0x358591(0x3b3));}['onRemoteRetry'](){return this;}['toggleOffline'](){return this;}[_0x37581e(0x28c)](){var _0x36918f=_0x37581e;const {_injector:_0x2843cd,_pendingMutations:_0x57bc7f,_awaitingChangeset:_0x2ef4dc,unitID:_0x1d1ac0,_handler:_0x5262a9,type:_0x343865}=this,_0x13b94e=yi(_0x2843cd,_0x1d1ac0,_0x343865,_0x2ef4dc,_0x57bc7f,_0x5262a9);return _0x13b94e instanceof ae?_0x13b94e[_0x36918f(0x2b9)]():(_0x13b94e instanceof oe||_0x13b94e instanceof le)&&_0x13b94e[_0x36918f(0x1e5)](),_0x13b94e;}[_0x37581e(0x1e5)](){var _0x5aff5e=_0x37581e;throw new Error(_0x5aff5e(0x364));}};de=Te([P(0x5,_0x1d905d(_0x53496f)),P(0x6,_0x1d905d(_0x396323)),P(0x7,_0xf8d2fa),P(0x8,_0x272d84),P(0x9,_0x48bf7b(J))],de);let ee=class extends Ce{constructor(_0x3eb239,_0x117f79,_0x48762b,_0x4962a2,_0x414780,_0xb41a32,_0x248886,_0x565d80,_0x276514,_0x400274,_0x229181,_0x155d93,_0x21a201,_0x3ea9dd){var _0x169ff9=_0x37581e;super(_0x3eb239,_0x117f79,_0x48762b,_0x4962a2,_0x248886,_0x229181,_0x155d93,_0x276514,_0x3ea9dd),N(this,_0x169ff9(0x294),_0x169ff9(0x3de)),(this[_0x169ff9(0x250)]=_0x414780,this['_queuedRemoteChangesets']=_0xb41a32,this['_injector']=_0x565d80,this[_0x169ff9(0x199)]=_0x400274,this[_0x169ff9(0x2bc)]=_0x21a201,this[_0x169ff9(0x33e)]=_0x3ea9dd);}[_0x37581e(0x324)](_0x122283){var _0x4ee20c=_0x37581e;try{const _0x31e02a=[..._0x122283,...this[_0x4ee20c(0x23c)]],_0x14ee01=[this[_0x4ee20c(0x175)]||this[_0x4ee20c(0x250)]]['filter'](_0x705df2=>!!_0x705df2);let _0x21712b,_0x570efe;if(_0x14ee01['length']){const _0x516f3d=this[_0x4ee20c(0x2bc)][_0x4ee20c(0x303)](_0x31e02a,_0x14ee01,!0x1);if(!_0x1dba74(_0x516f3d))throw _0x516f3d[_0x4ee20c(0x3a5)];_0x21712b=_0x516f3d[_0x4ee20c(0x125)],_0x570efe=_0x516f3d[_0x4ee20c(0x2ac)];}else _0x21712b=_0x31e02a,_0x570efe=[];let _0xad2105=this[_0x4ee20c(0x1b5)];_0x21712b[_0x4ee20c(0x29a)](_0x78494a=>{var _0x4810f4=_0x4ee20c;let _0x268553;if(_0xad2105[_0x4810f4(0x385)]){const _0x2eef31=this[_0x4810f4(0x2bc)][_0x4810f4(0x23e)](_0x78494a,_0xad2105);if(!_0x1b0439(_0x2eef31))throw _0x2eef31[_0x4810f4(0x3a5)];_0x268553=_0x2eef31['c1Prime'],_0xad2105=_0x2eef31['m2Prime'];}else _0x268553=_0x78494a;this[_0x4810f4(0x1ab)](_0x268553);}),this[_0x4ee20c(0x250)]&&this[_0x4ee20c(0x17f)](),this[_0x4ee20c(0x175)]&&_0x570efe[_0x4ee20c(0x385)]&&(_0x570efe[0x0]['baseRev']=this[_0x4ee20c(0x3a9)]());let _0x446730;if(this[_0x4ee20c(0x175)]&&_0xad2105[_0x4ee20c(0x385)]!==0x0)_0x446730=this[_0x4ee20c(0x2b3)][_0x4ee20c(0x3c5)](oe,this[_0x4ee20c(0x2a2)],this[_0x4ee20c(0x25b)],_0x570efe[0x0],_0xad2105,this['_handler'],void 0x0);else{if(this[_0x4ee20c(0x175)]&&_0xad2105['length']===0x0)_0x570efe[0x0][_0x4ee20c(0x185)]=this[_0x4ee20c(0x3a9)](),_0x446730=this[_0x4ee20c(0x2b3)][_0x4ee20c(0x3c5)](le,this[_0x4ee20c(0x2a2)],this[_0x4ee20c(0x25b)],_0x570efe[0x0],this[_0x4ee20c(0x1a1)]);else{if(_0xad2105['length']!==0x0){const _0x53f661=this[_0x4ee20c(0x2b3)]['createInstance'](ae,this[_0x4ee20c(0x2a2)],this[_0x4ee20c(0x25b)],_0xad2105,this[_0x4ee20c(0x1a1)]);_0x53f661[_0x4ee20c(0x2b9)](),_0x446730=_0x53f661;}else _0x446730=this[_0x4ee20c(0x2b3)][_0x4ee20c(0x3c5)](Ne,this[_0x4ee20c(0x2a2)],this[_0x4ee20c(0x25b)],this[_0x4ee20c(0x1a1)]);}}return _0x446730[_0x4ee20c(0x27b)](),_0x446730;}catch(_0x31b190){return this[_0x4ee20c(0x199)][_0x4ee20c(0x3a5)](_0x4ee20c(0x13b),'failed\x20to\x20apply\x20missed\x20changesets!',_0x31b190),this[_0x4ee20c(0x2b3)][_0x4ee20c(0x3c5)](ue,this[_0x4ee20c(0x2a2)],this['type'],this[_0x4ee20c(0x175)],this[_0x4ee20c(0x1b5)],this[_0x4ee20c(0x1a1)],!0x1);}}[_0x37581e(0x1e5)](){var _0x54d6c8=_0x37581e;throw new Error(_0x54d6c8(0x3eb));}[_0x37581e(0x1c2)](_0x501769){var _0x37ffe9=_0x37581e;return this['_pendingMutations'][_0x37ffe9(0x2a8)](_0x501769),this;}[_0x37581e(0x180)](_0x42cb87){var _0x10e5fa=_0x37581e;return this[_0x10e5fa(0x23c)]['push'](_0x42cb87),this;}['onRemoteAck'](_0xaad934){var _0x564824=_0x37581e;if(this[_0x564824(0x175)])return this[_0x564824(0x250)]=this[_0x564824(0x175)],this[_0x564824(0x175)]=null,this;throw new Error(_0x564824(0x38d));}[_0x37581e(0x196)](_0x52be50){var _0x53a7fe=_0x37581e;return this[_0x53a7fe(0x329)](!!(_0x52be50!=null&&_0x52be50[_0x53a7fe(0x176)]));}[_0x37581e(0x38c)](){return this;}[_0x37581e(0x316)](){var _0x2bc467=_0x37581e;return this['_injector'][_0x2bc467(0x3c5)](de,this[_0x2bc467(0x2a2)],this['type'],this[_0x2bc467(0x175)],this[_0x2bc467(0x1b5)],this['_handler']);}[_0x37581e(0x28c)](){return this;}[_0x37581e(0x329)](_0xc73904){var _0x22ecfb=_0x37581e;return this[_0x22ecfb(0x2b3)][_0x22ecfb(0x3c5)](ue,this[_0x22ecfb(0x2a2)],this['type'],this[_0x22ecfb(0x175)],this[_0x22ecfb(0x1b5)],this[_0x22ecfb(0x1a1)],_0xc73904);}};ee=Te([P(0x7,_0x1d905d(_0x53496f)),P(0x8,_0x1d905d(_0x396323)),P(0x9,_0x19b55e),P(0xa,_0xf8d2fa),P(0xb,_0x272d84),P(0xc,_0x1aeb5d),P(0xd,_0x48bf7b(J))],ee);function yi(_0x4f2524,_0x270a1c,_0x44a850,_0x597644,_0x55ffc3,_0x60d1fa){var _0x4878c7=_0x37581e;return _0x597644&&_0x55ffc3[_0x4878c7(0x385)]?_0x4f2524[_0x4878c7(0x3c5)](oe,_0x270a1c,_0x44a850,_0x597644,_0x55ffc3,_0x60d1fa,void 0x0):_0x597644?_0x4f2524[_0x4878c7(0x3c5)](le,_0x270a1c,_0x44a850,_0x597644,_0x60d1fa):_0x55ffc3[_0x4878c7(0x385)]?_0x4f2524[_0x4878c7(0x3c5)](ae,_0x270a1c,_0x44a850,_0x55ffc3,_0x60d1fa):_0x4f2524[_0x4878c7(0x3c5)](Ne,_0x270a1c,_0x44a850,_0x60d1fa);}var as=Object[_0x37581e(0xfd)],Lt=(_0x2e348f,_0x49bcbd,_0x331fc6,_0x486eb8)=>{for(var _0x59eaa4=_0x486eb8>0x1?void 0x0:_0x486eb8?as(_0x49bcbd,_0x331fc6):_0x49bcbd,_0x3e5735=_0x2e348f['length']-0x1,_0x1b0982;_0x3e5735>=0x0;_0x3e5735--)(_0x1b0982=_0x2e348f[_0x3e5735])&&(_0x59eaa4=_0x1b0982(_0x59eaa4)||_0x59eaa4);return _0x59eaa4;},H=(_0xe5176d,_0x234033)=>(_0x4d74b6,_0x3a5f0d)=>_0x234033(_0x4d74b6,_0x3a5f0d,_0xe5176d);let nt=class extends _0xd65c9e{constructor(_0x1c626b,_0x50ff74,_0x1b3784,_0xa4f935,_0x4a7ac5,_0x2bd3b1,_0x3b373f,_0x35ed45,_0x88d29b,_0x5716ed,_0x36d192,_0x970bdf,_0x5c5d0a){var _0x7d6a99=_0x37581e;super(),N(this,'_state$',new _0x3f54c5(null)),N(this,_0x7d6a99(0x123),this[_0x7d6a99(0x307)]['asObservable']()),N(this,_0x7d6a99(0x11c)),N(this,'_collaborationPaused',!0x1),N(this,_0x7d6a99(0x331),''),N(this,_0x7d6a99(0x3ce),0x0),N(this,_0x7d6a99(0x243),this[_0x7d6a99(0x123)]['pipe'](_0x137f26(_0xff614b=>_0xff614b?_0xff614b[_0x7d6a99(0x294)]:bi['OFFLINE']),_0x108dca(0x1))),N(this,_0x7d6a99(0x277),!0x1),N(this,_0x7d6a99(0x3dd),[]),(this['unitID']=_0x1c626b,this[_0x7d6a99(0x1f4)]=_0x50ff74,this['_type']=_0x1b3784,this['_injector']=_0xa4f935,this['_compressMutationService']=_0x4a7ac5,this[_0x7d6a99(0x1ec)]=_0x2bd3b1,this[_0x7d6a99(0x381)]=_0x3b373f,this['_eventService']=_0x35ed45,this[_0x7d6a99(0x199)]=_0x88d29b,this[_0x7d6a99(0x37c)]=_0x5716ed,this[_0x7d6a99(0x23f)]=_0x36d192,this[_0x7d6a99(0x27a)]=_0x970bdf,this[_0x7d6a99(0x31b)]=_0x5c5d0a);}get['state'](){return this['_state'];}async[_0x37581e(0x2cb)](){var _0x47dc0b=_0x37581e;if(this['state'])throw new Error(_0x47dc0b(0x271));await this['_init']();}['pauseCollaboration'](){var _0x2bc3c6=_0x37581e;return this[_0x2bc3c6(0x2bd)]=!0x0,_0x15956e(()=>{var _0x2db3d5=_0x2bc3c6;this[_0x2db3d5(0x2bd)]=!0x1,this[_0x2db3d5(0x262)]();});}[_0x37581e(0x191)](_0x1819b1){this['_onLocalMutation'](_0x1819b1);}[_0x37581e(0x2de)](_0x37f94f){var _0x6467f3=_0x37581e;this[_0x6467f3(0x11c)]=_0x37f94f,this[_0x6467f3(0x307)]['next'](_0x37f94f);}async[_0x37581e(0x211)](){var _0x5af6be=_0x37581e,_0x34becc;this['_updateState'](await this[_0x5af6be(0x3df)]()),this['_singleActiveUnitService']&&((_0x34becc=this[_0x5af6be(0x27a)])==null||_0x34becc[_0x5af6be(0x210)](this[_0x5af6be(0x2a2)]),this[_0x5af6be(0x112)](this['_singleActiveUnitService'][_0x5af6be(0x129)](this[_0x5af6be(0x2a2)])['subscribe'](_0xafcd03=>{var _0x45596f=_0x5af6be;this[_0x45596f(0x199)][_0x45596f(0x29e)](_0x45596f(0x25e),_0x45596f(0x3e7),_0xafcd03),_0xafcd03===Ci[_0x45596f(0x24c)]?(this[_0x45596f(0x110)][_0x45596f(0x10b)]({'id':re[_0x45596f(0x298)]}),this['_permissionService']['updatePermissionPoint'](new _0x25b8a4(this[_0x45596f(0x2a2)])['id'],!0x1),this[_0x45596f(0x23f)][_0x45596f(0x122)](!0x1)):(this['_permissionService'][_0x45596f(0x251)](new _0x25b8a4(this[_0x45596f(0x2a2)])['id'],!0x0),this[_0x45596f(0x23f)][_0x45596f(0x122)](!0x0));})));let _0x19d51e=!0x1;return this[_0x5af6be(0x112)](this[_0x5af6be(0x1f4)][_0x5af6be(0x14d)][_0x5af6be(0x1f3)](_0x56a123=>{var _0x4a2314=_0x5af6be;_0x56a123===Ee[_0x4a2314(0x22e)]?this[_0x4a2314(0x23a)](_0x19d51e):_0x56a123===Ee[_0x4a2314(0x238)]&&(_0x19d51e=!0x0,this['_toggleOffline']());})),this['disposeWithMe'](this[_0x5af6be(0x1f4)][_0x5af6be(0x26d)]['subscribe'](_0x278fa2=>{var _0xabb1b=_0x5af6be;try{switch(_0x278fa2[_0xabb1b(0x309)]){case _0x1844a1[_0xabb1b(0x14f)]:{this[_0xabb1b(0x2ea)](_0x25c56e(_0x278fa2[_0xabb1b(0xfb)]));break;}case _0x1844a1['CHANGESET_ACK']:{this[_0xabb1b(0x189)](_0x278fa2[_0xabb1b(0xfb)]);break;}case _0x1844a1[_0xabb1b(0x325)]:{this[_0xabb1b(0x2b8)]();break;}case _0x1844a1[_0xabb1b(0x177)]:{this[_0xabb1b(0x24e)](_0x278fa2['data']);break;}case _0x1844a1[_0xabb1b(0x26c)]:{this[_0xabb1b(0x3d3)](_0x278fa2['data']['changesets'][_0xabb1b(0x357)](_0xb5744b=>_0x25c56e(_0xb5744b)));break;}case _0x1844a1['PERMISSION_REJ']:{this['_onRemoteRejected']({'isPermissionRej':!0x0});break;}case _0x1844a1[_0xabb1b(0x3e0)]:break;}}catch(_0x3bd9e6){throw console[_0xabb1b(0x3a5)](_0xabb1b(0x158),_0x3bd9e6),_0x3bd9e6;}})),this[_0x5af6be(0x11c)];}[_0x37581e(0x30e)](){var _0x8f7ea9=_0x37581e;this[_0x8f7ea9(0x277)]=!0x1;}[_0x37581e(0x217)](){var _0x2e457d=_0x37581e;if(this[_0x2e457d(0x277)])throw new Error('[CollaborationEntity]:\x20cannot\x20lock\x20transition\x20twice!\x20This\x20is\x20an\x20implementation\x20error,\x20meaning\x20you\x20transit\x20the\x20collaboration\x20state\x20again\x20in\x20the\x20process\x20of\x20a\x20previous\x20transition.\x20This\x20should\x20never\x20happen.');this[_0x2e457d(0x277)]=!0x0;}[_0x37581e(0x16a)](_0x79dcb6){var _0x3bcb1b=_0x37581e;this[_0x3bcb1b(0x217)](),this[_0x3bcb1b(0x2de)](this[_0x3bcb1b(0x11c)][_0x3bcb1b(0x1c2)](_0x79dcb6)),this[_0x3bcb1b(0x30e)]();}['_onRemoteChangeset'](_0x5adeb9){var _0x8c0b65=_0x37581e;if(!(_0x5adeb9[_0x8c0b65(0x1a8)]<=this['_revisionService'][_0x8c0b65(0x208)](this[_0x8c0b65(0x2a2)]))){if(this['_collaborationPaused']){this[_0x8c0b65(0x3dd)]['push'](_0x5adeb9);return;}this[_0x8c0b65(0x209)](_0x5adeb9);}}['_exhaustRemoteChangesetQueue'](){var _0x32ad91=_0x37581e;this[_0x32ad91(0x3dd)]['forEach'](_0x4b81aa=>this[_0x32ad91(0x209)](_0x4b81aa)),this['_remoteChangesetQueue']=[];}[_0x37581e(0x209)](_0xd2f3c){var _0x4c92cd=_0x37581e;const _0x1a4716=this[_0x4c92cd(0xfa)][_0x4c92cd(0x233)][_0x4c92cd(0x343)](this[_0x4c92cd(0xfa)][_0x4c92cd(0x233)][_0x4c92cd(0x3da)]()[_0x4c92cd(0x14e)])(_0xd2f3c[_0x4c92cd(0x3be)],null)||_0xd2f3c[_0x4c92cd(0x3be)],_0x50e113={..._0xd2f3c,'mutations':_0x1a4716};this['_lockTransition'](),this['_updateState'](this[_0x4c92cd(0x11c)]['onRemoteChangeset'](_0x50e113)),this[_0x4c92cd(0x30e)]();}['_onRemoteACK'](_0x291b6b){var _0x2ea31b=_0x37581e;this[_0x2ea31b(0x217)](),this[_0x2ea31b(0x2de)](this[_0x2ea31b(0x11c)][_0x2ea31b(0x22d)](_0x291b6b)),this[_0x2ea31b(0x30e)]();}[_0x37581e(0x2b8)](_0x1d806b){var _0xd8e66f=_0x37581e;this[_0xd8e66f(0x217)](),this[_0xd8e66f(0x2de)](this['_state'][_0xd8e66f(0x196)](_0x1d806b)),this['_unlockTransition']();}[_0x37581e(0x24e)](_0xaf2a99){var _0x47d131=_0x37581e;this[_0x47d131(0x217)](),this[_0x47d131(0x2de)](this[_0x47d131(0x11c)]['onRemoteRetry'](_0xaf2a99)),this[_0x47d131(0x30e)]();}[_0x37581e(0x3d3)](_0x1042a2){var _0x22beac=_0x37581e;if(!(this[_0x22beac(0x11c)]instanceof ee))throw new TypeError(_0x22beac(0x2c7));const _0x50b492=_0x1042a2[_0x22beac(0x357)](_0x32b006=>{var _0x3391e6=_0x22beac;const _0x53c9c7=this[_0x3391e6(0xfa)][_0x3391e6(0x233)]['fetchThroughInterceptors'](this[_0x3391e6(0xfa)]['interceptor']['getInterceptPoints']()['COMPRESS_MUTATION_APPLY'])(_0x32b006[_0x3391e6(0x3be)],null)||_0x32b006[_0x3391e6(0x3be)];return{..._0x32b006,'mutations':_0x53c9c7};});this[_0x22beac(0x217)](),this[_0x22beac(0x2de)](this[_0x22beac(0x11c)][_0x22beac(0x324)](_0x50b492)),this[_0x22beac(0x30e)]();}['_toggleOffline'](){var _0x47d494=_0x37581e;this[_0x47d494(0x217)](),this[_0x47d494(0x2de)](this['_state'][_0x47d494(0x316)]()),this[_0x47d494(0x30e)]();}['_toggleOnline'](_0x449d63=!0x1){var _0xaa94de=_0x37581e;this[_0xaa94de(0x217)](),this[_0xaa94de(0x2de)](this[_0xaa94de(0x11c)][_0xaa94de(0x28c)]()),this['_unlockTransition']();const _0x3ddf8f=this[_0xaa94de(0x11c)];_0x449d63&&_0x3ddf8f instanceof Ne&&(this[_0xaa94de(0x217)](),this[_0xaa94de(0x2de)](_0x3ddf8f['fetchMiss']()),this[_0xaa94de(0x30e)]());}async[_0x37581e(0x3df)](){return new Promise(_0x1ab41b=>{var _0x145123=_0x25ef;this[_0x145123(0x1f4)]['sessionStatus$'][_0x145123(0x1a7)](_0xd6c7c8(0x1))[_0x145123(0x1f3)](async _0x190e3b=>{_0x1ab41b(await this['_createInitialStateImpl'](_0x190e3b===Ee['ONLINE']));});});}[_0x37581e(0x279)](){var _0x386e4b=_0x37581e;const _0x45c435=this[_0x386e4b(0x2a2)];return{'onStateChange':(_0x3ba171,_0x5ae1c0)=>{var _0x20bdeb=_0x386e4b;if(_0x3ba171!==this['_state'])throw new Error('[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20'+_0x3ba171['status']+_0x20bdeb(0x1dc)+_0x5ae1c0[_0x20bdeb(0x294)]+_0x20bdeb(0x1a4)+this[_0x20bdeb(0x11c)][_0x20bdeb(0x294)]);this['_updateState'](_0x5ae1c0);},'onSendChangeset':_0x368b80=>{var _0x20a710=_0x386e4b;_0x368b80['sid']||(_0x368b80[_0x20a710(0x257)]=this[_0x20a710(0x331)],_0x368b80['reqId']=++this[_0x20a710(0x3ce)]);const _0x110eea={'eventID':_0x1844a1['SUBMIT_CHANGESET'],'data':{'unitID':_0x368b80['unitID'],'unitType':this[_0x20a710(0x2e2)],'changeset':_0x368b80,'memberID':this[_0x20a710(0x1f4)][_0x20a710(0x275)]()}};this[_0x20a710(0x1f4)][_0x20a710(0x28a)](_0x110eea,this['unitID']);},'onMissingChangesets':({from:_0x1c5ab3,to:_0xe2e8fc})=>{var _0x585285=_0x386e4b;this['_logService'][_0x585285(0x29e)](_0x585285(0x25e),_0x585285(0xf3)+_0x1c5ab3+'\x20to\x20'+_0xe2e8fc);const _0x5de71e={'eventID':_0x1844a1['FETCH_MISSING'],'data':{'unitID':_0x45c435,'unitType':this[_0x585285(0x2e2)],'from':_0x1c5ab3,'to':_0xe2e8fc}};this[_0x585285(0x1f4)]['send'](_0x5de71e,this[_0x585285(0x2a2)]);}};}async[_0x37581e(0x350)](_0x5d4810){var _0x1e7c6b=_0x37581e,_0x55bffe,_0x1a2143,_0x3e257c;const _0x5182b5=await((_0x55bffe=this[_0x1e7c6b(0x31b)])==null?void 0x0:_0x55bffe[_0x1e7c6b(0x20c)](this[_0x1e7c6b(0x2a2)])),_0x562562=(_0x1a2143=_0x5182b5==null?void 0x0:_0x5182b5['mutations'])!=null?_0x1a2143:[],_0x17b345=(_0x3e257c=_0x5182b5==null?void 0x0:_0x5182b5['awaitingChangeset'])!=null?_0x3e257c:null,_0x4089d7=!!(_0x17b345!=null&&_0x17b345[_0x1e7c6b(0x257)])&&!!(_0x17b345!=null&&_0x17b345[_0x1e7c6b(0x373)]);this[_0x1e7c6b(0x331)]=_0x4089d7?_0x17b345[_0x1e7c6b(0x257)]:Zn(),this[_0x1e7c6b(0x3ce)]=_0x4089d7?_0x17b345['reqId']:0x0;const _0x46fb41=this['unitID'];try{this[_0x1e7c6b(0x3b0)](_0x17b345,_0x562562);}catch(_0xf7bec4){this[_0x1e7c6b(0x199)][_0x1e7c6b(0x3a5)](_0xf7bec4);}const _0x30e2f3=this[_0x1e7c6b(0x279)]();if(_0x5d4810){const _0x1082fe=yi(this[_0x1e7c6b(0x2b3)],_0x46fb41,this[_0x1e7c6b(0x2e2)],_0x17b345,_0x562562,_0x30e2f3);return _0x1082fe instanceof ae?_0x1082fe[_0x1e7c6b(0x2b9)]():(_0x1082fe instanceof oe||_0x1082fe instanceof le)&&_0x1082fe[_0x1e7c6b(0x1e5)](),_0x1082fe;}return this[_0x1e7c6b(0x2b3)]['createInstance'](de,_0x46fb41,this[_0x1e7c6b(0x2e2)],_0x17b345,_0x562562,_0x30e2f3);}[_0x37581e(0x3b0)](_0xf4f46e,_0x39a0ab){var _0x2b8b84=_0x37581e,_0x58fd06,_0x27de23;const _0x238411=this[_0x2b8b84(0xfa)][_0x2b8b84(0x233)][_0x2b8b84(0x343)](this[_0x2b8b84(0xfa)][_0x2b8b84(0x233)]['getInterceptPoints']()[_0x2b8b84(0x14e)]);(_0x58fd06=_0x238411((_0xf4f46e==null?void 0x0:_0xf4f46e['mutations'])||[],null))==null||_0x58fd06[_0x2b8b84(0x29a)](_0x249b8b=>this[_0x2b8b84(0x37c)][_0x2b8b84(0x3b4)](_0x249b8b['id'],_0x249b8b[_0x2b8b84(0x2cf)])),(_0x27de23=_0x238411(_0x39a0ab||[],null))==null||_0x27de23[_0x2b8b84(0x29a)](_0x1adffe=>this[_0x2b8b84(0x37c)]['executeCommand'](_0x1adffe['id'],_0x1adffe[_0x2b8b84(0x2cf)]));}};nt=Lt([H(0x3,_0x1d905d(_0x53496f)),H(0x4,_0x1d905d(_0x3340b0)),H(0x5,_0x1d905d(_0x419ebc)),H(0x6,_0x1d905d(_0x396323)),H(0x7,_0x1d905d(pe)),H(0x8,_0x19b55e),H(0x9,_0xf8d2fa),H(0xa,_0x12890a),H(0xb,_0x48bf7b(ht)),H(0xc,_0x48bf7b(J))],nt);let It=class extends nt{constructor(_0x168007,_0x1bcca0,_0x5611fc,_0x5dd527,_0x4fcf8e,_0xac1858,_0x57cf8e,_0x508a0e,_0x4c6206,_0x580e46,_0x357e0c,_0x4326d0,_0x5a4834){var _0x4418e6=_0x37581e;super(_0x168007,_0x5611fc,_0x1bcca0,_0x5dd527,_0x4fcf8e,_0xac1858,_0x57cf8e,_0x508a0e,_0x4c6206,_0x580e46,_0x357e0c,_0x4326d0,_0x5a4834),N(this,_0x4418e6(0x2a7),null),(this[_0x4418e6(0x2a2)]=_0x168007,this[_0x4418e6(0x25b)]=_0x1bcca0);}[_0x37581e(0x3f8)](_0x40e8e3){var _0x5f0d57=_0x37581e;this[_0x5f0d57(0x2a7)]=_0x40e8e3;}[_0x37581e(0x200)](){var _0x407650=_0x37581e;this[_0x407650(0x2a7)]=null,super[_0x407650(0x200)]();}[_0x37581e(0x279)](){var _0x339bd5=_0x37581e;const _0x568c2f=super['_createHandler']();return _0x568c2f[_0x339bd5(0x34e)]=_0x2982ee=>{var _0x51a060=_0x339bd5,_0x3d6e1a,_0x85ebf9;return(_0x85ebf9=(_0x3d6e1a=this[_0x51a060(0x2a7)])==null?void 0x0:_0x3d6e1a['onTransformIME'])==null?void 0x0:_0x85ebf9[_0x51a060(0x36b)](_0x3d6e1a,_0x2982ee);},_0x568c2f[_0x339bd5(0x1f6)]=_0x4898ed=>{var _0x239fab=_0x339bd5,_0x522772,_0x232fe4;return(_0x232fe4=(_0x522772=this[_0x239fab(0x2a7)])==null?void 0x0:_0x522772[_0x239fab(0x1f6)])==null?void 0x0:_0x232fe4[_0x239fab(0x36b)](_0x522772,_0x4898ed);},_0x568c2f['onTransformSelections']=_0x3472a3=>{var _0xd395ea=_0x339bd5,_0x2a893f,_0xad2233;return(_0xad2233=(_0x2a893f=this[_0xd395ea(0x2a7)])==null?void 0x0:_0x2a893f['onTransformSelections'])==null?void 0x0:_0xad2233[_0xd395ea(0x36b)](_0x2a893f,_0x3472a3);},_0x568c2f[_0x339bd5(0x1d2)]=_0x2d32a9=>{var _0x714e17=_0x339bd5,_0x50095e,_0x44419a;return(_0x44419a=(_0x50095e=this[_0x714e17(0x2a7)])==null?void 0x0:_0x50095e[_0x714e17(0x1d2)])==null?void 0x0:_0x44419a['call'](_0x50095e,_0x2d32a9);},_0x568c2f[_0x339bd5(0x12f)]=_0xdfec7c=>{var _0x5ece82=_0x339bd5,_0xe20f13,_0x599737,_0x73e338;if(!((_0xe20f13=this['_handlerCallback'])!=null&&_0xe20f13[_0x5ece82(0x12f)]))throw new Error(_0x5ece82(0x1cf));return(_0x73e338=(_0x599737=this[_0x5ece82(0x2a7)])==null?void 0x0:_0x599737[_0x5ece82(0x12f)])==null?void 0x0:_0x73e338[_0x5ece82(0x36b)](_0x599737,_0xdfec7c);},_0x568c2f[_0x339bd5(0x1b9)]=_0x7ad573=>{var _0x183416=_0x339bd5,_0x59d0b9,_0x3bee72,_0x494ef1;if(!((_0x59d0b9=this[_0x183416(0x2a7)])!=null&&_0x59d0b9[_0x183416(0x1b9)]))throw new Error(_0x183416(0x315));return(_0x494ef1=(_0x3bee72=this['_handlerCallback'])==null?void 0x0:_0x3bee72[_0x183416(0x1b9)])==null?void 0x0:_0x494ef1[_0x183416(0x36b)](_0x3bee72,_0x7ad573);},_0x568c2f;}async[_0x37581e(0x211)](){var _0x4ff395=_0x37581e;const _0x2a64ad=await super[_0x4ff395(0x211)]();return this[_0x4ff395(0x112)](this[_0x4ff395(0x37c)][_0x4ff395(0x1f9)]((_0x169a20,_0x71dabe)=>{var _0x20380d=_0x4ff395;if(_0x169a20[_0x20380d(0x25b)]!==_0x1978b5[_0x20380d(0x356)]||_0x71dabe!=null&&_0x71dabe[_0x20380d(0x1c6)]||_0x71dabe!=null&&_0x71dabe[_0x20380d(0x24a)]||_0x169a20['id']===_0x131813['id'])return;const _0x2881d4=_0x169a20[_0x20380d(0x2cf)];if((_0x2881d4==null?void 0x0:_0x2881d4['unitId'])!==this[_0x20380d(0x2a2)])return;const _0x3b60e1=_0x169a20,_0xed0e44=this[_0x20380d(0xfa)]['interceptor'][_0x20380d(0x343)](this['_compressMutationService'][_0x20380d(0x233)]['getInterceptPoints']()[_0x20380d(0x165)])([_0x3b60e1],null)||[_0x3b60e1];this[_0x20380d(0x16a)](_0xed0e44[0x0]);})),_0x2a64ad;}};It=Lt([H(0x3,_0x1d905d(_0x53496f)),H(0x4,_0x1d905d(_0x3340b0)),H(0x5,_0x1d905d(_0x419ebc)),H(0x6,_0x1d905d(_0x396323)),H(0x7,_0x1d905d(pe)),H(0x8,_0x19b55e),H(0x9,_0xf8d2fa),H(0xa,_0x12890a),H(0xb,_0x48bf7b(ht)),H(0xc,_0x48bf7b(J))],It);let Tt=class extends nt{constructor(_0x33b3ba,_0xa8dea5,_0x152d04,_0x17936d,_0x4a68db,_0xeefdd5,_0x1f28a3,_0x2242b2,_0x4d2bf4,_0x5602e4,_0x305247,_0xc22e2c,_0x22c5c5,_0x4e5b6d){var _0x480102=_0x37581e;super(_0x33b3ba,_0x152d04,_0xa8dea5,_0x17936d,_0x4a68db,_0xeefdd5,_0x1f28a3,_0x4d2bf4,_0x5602e4,_0x305247,_0xc22e2c,_0x22c5c5,_0x4e5b6d),this[_0x480102(0x2a2)]=_0x33b3ba,this[_0x480102(0x25b)]=_0xa8dea5,this[_0x480102(0xf6)]=_0x2242b2;}[_0x37581e(0x279)](){var _0x504eba=_0x37581e;const _0x59761b=super['_createHandler']();return _0x59761b[_0x504eba(0x2f9)]=_0x179170=>this[_0x504eba(0xf6)]['transformSelections'](_0x179170),_0x59761b;}async['_init'](){var _0x298e7b=_0x37581e;const _0x4184be=await super['_init']();return this[_0x298e7b(0x112)](this[_0x298e7b(0x37c)][_0x298e7b(0x1f9)]((_0x7995f9,_0x597b9f)=>{var _0x162690=_0x298e7b;if(_0x7995f9[_0x162690(0x25b)]!==_0x1978b5[_0x162690(0x356)]||_0x597b9f!=null&&_0x597b9f[_0x162690(0x1c6)]||_0x597b9f!=null&&_0x597b9f['onlyLocal'])return;const _0x4609c6=_0x7995f9[_0x162690(0x2cf)];if((_0x4609c6==null?void 0x0:_0x4609c6['unitId'])!==this['unitID'])return;const _0x322f08=_0x7995f9,_0x2b65b0=this[_0x162690(0xfa)][_0x162690(0x233)][_0x162690(0x343)](this[_0x162690(0xfa)][_0x162690(0x233)][_0x162690(0x3da)]()[_0x162690(0x165)])([_0x322f08],null)||[_0x322f08];this[_0x162690(0x16a)](_0x2b65b0[0x0]);})),_0x4184be;}};Tt=Lt([H(0x3,_0x1d905d(_0x53496f)),H(0x4,_0x1d905d(_0x3340b0)),H(0x5,_0x1d905d(_0x419ebc)),H(0x6,_0x1d905d(_0x396323)),H(0x7,_0x1d905d(it)),H(0x8,_0x1d905d(pe)),H(0x9,_0x19b55e),H(0xa,_0xf8d2fa),H(0xb,_0x12890a),H(0xc,_0x48bf7b(ht)),H(0xd,_0x48bf7b(J))],Tt);var os=Object[_0x37581e(0xfd)],cs=(_0xb46bea,_0xa60233,_0x45e15b,_0x3b05aa)=>{var _0x4c2d66=_0x37581e;for(var _0x17d478=_0x3b05aa>0x1?void 0x0:_0x3b05aa?os(_0xa60233,_0x45e15b):_0xa60233,_0x7289ba=_0xb46bea[_0x4c2d66(0x385)]-0x1,_0x1470ac;_0x7289ba>=0x0;_0x7289ba--)(_0x1470ac=_0xb46bea[_0x7289ba])&&(_0x17d478=_0x1470ac(_0x17d478)||_0x17d478);return _0x17d478;},ft=(_0x4683ad,_0x5e2c2f)=>(_0xb893d0,_0x320f43)=>_0x5e2c2f(_0xb893d0,_0x320f43,_0x4683ad);let st=class extends _0xd65c9e{constructor(_0x8af83b,_0x237d2b,_0x3752ab){var _0x54d886=_0x37581e;super(),N(this,_0x54d886(0x1c8),new Map()),N(this,'_entityInit$',new _0x56cc0e()),N(this,_0x54d886(0x134),this['_entityInit$'][_0x54d886(0x201)]()),(this[_0x54d886(0x2b3)]=_0x8af83b,this[_0x54d886(0x1e7)]=_0x237d2b,this['_univerInstanceService']=_0x3752ab,this['_init']());}['dispose'](){var _0x243e2b=_0x37581e;super[_0x243e2b(0x200)](),this[_0x243e2b(0x1c8)][_0x243e2b(0x29a)](_0x39450f=>_0x39450f[_0x243e2b(0x200)]()),this[_0x243e2b(0x1c8)][_0x243e2b(0x278)]();}['getCollabEntity'](_0x5680ca){var _0x1e6022=_0x37581e,_0x2b87af;return(_0x2b87af=this[_0x1e6022(0x1c8)][_0x1e6022(0x2dc)](_0x5680ca))!=null?_0x2b87af:null;}[_0x37581e(0x321)](_0xe1905d){var _0x4dfb43=_0x37581e;const _0x3aa161=this[_0x4dfb43(0x173)](_0xe1905d);return _0x3aa161?_0x24d9e0(_0x3aa161):this[_0x4dfb43(0x20b)][_0x4dfb43(0x1a7)](_0xe7d45e(_0xa37002=>_0xa37002[_0x4dfb43(0x2a2)]===_0xe1905d));}[_0x37581e(0x203)](_0x2be699){var _0x4a5102=_0x37581e;return _0x5ddb2d(this[_0x4a5102(0x321)](_0x2be699)['pipe'](_0x24d197(()=>{})));}['_init'](){var _0x49d277=_0x37581e;this[_0x49d277(0x13f)][_0x49d277(0x32b)](_0x265105[_0x49d277(0x3b8)])[_0x49d277(0x1a7)](_0x35387c(this['dispose$']),_0x1c150b(0x10))['subscribe'](async _0x350a3c=>{var _0x3cb389=_0x49d277;const _0xe7083e=_0x350a3c[_0x3cb389(0x154)](),_0x53604f=await this[_0x3cb389(0x288)](_0xe7083e,Q[_0x3cb389(0x3b8)]);this['_entities'][_0x3cb389(0x1b2)](_0xe7083e,_0x53604f);}),this[_0x49d277(0x13f)][_0x49d277(0x32b)](_0x265105['UNIVER_DOC'])[_0x49d277(0x1a7)](_0x35387c(this[_0x49d277(0x135)]),_0x1c150b(0x10))[_0x49d277(0x1a7)](_0xe7d45e(_0x45e836=>!_0x45e836[_0x49d277(0x154)]()['startsWith']('__')))['subscribe'](async _0xe51dc6=>{var _0x41ef47=_0x49d277;const _0xb51726=_0xe51dc6[_0x41ef47(0x154)](),_0x3b9914=await this[_0x41ef47(0x288)](_0xb51726,Q[_0x41ef47(0xf2)]);this['_entities'][_0x41ef47(0x1b2)](_0xb51726,_0x3b9914);}),_0x5808d2(this[_0x49d277(0x13f)][_0x49d277(0x388)](_0x265105[_0x49d277(0x3b8)]),this[_0x49d277(0x13f)][_0x49d277(0x388)](_0x265105['UNIVER_DOC']))['pipe'](_0x35387c(this[_0x49d277(0x135)]))[_0x49d277(0x1f3)](_0x27b713=>{var _0x478042=_0x49d277;const _0x1061ec=_0x27b713['getUnitId'](),_0x36b52d=this['_entities']['get'](_0x1061ec);_0x36b52d&&(_0x36b52d[_0x478042(0x200)](),this[_0x478042(0x1c8)][_0x478042(0x19a)](_0x1061ec));});}async[_0x37581e(0x288)](_0x221b15,_0x25e4fc){var _0x31a470=_0x37581e;const _0x5224c4=await this[_0x31a470(0x1e7)]['requireSession'](_0x221b15),_0x14cb5d=this[_0x31a470(0x2b3)][_0x31a470(0x3c5)](this[_0x31a470(0x2e4)](_0x25e4fc),_0x221b15,_0x25e4fc,_0x5224c4);return await _0x14cb5d[_0x31a470(0x2cb)](),this[_0x31a470(0x20b)]['next'](_0x14cb5d),_0x14cb5d;}[_0x37581e(0x2e4)](_0x1290bc){var _0x94d9f0=_0x37581e;switch(_0x1290bc){case Q[_0x94d9f0(0xf2)]:return It;case Q[_0x94d9f0(0x3b8)]:return Tt;default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0x1290bc);}}};st=cs([ft(0x0,_0x1d905d(_0x53496f)),ft(0x1,_0x1d905d(Me)),ft(0x2,_0x4c791d)],st);var hs=Object[_0x37581e(0xfd)],_s=(_0x421ac0,_0x236ff4,_0x121c72,_0x2fa75e)=>{var _0x597bca=_0x37581e;for(var _0x47e9ef=_0x2fa75e>0x1?void 0x0:_0x2fa75e?hs(_0x236ff4,_0x121c72):_0x236ff4,_0x31010b=_0x421ac0[_0x597bca(0x385)]-0x1,_0x49df3c;_0x31010b>=0x0;_0x31010b--)(_0x49df3c=_0x421ac0[_0x31010b])&&(_0x47e9ef=_0x49df3c(_0x47e9ef)||_0x47e9ef);return _0x47e9ef;},zt=(_0x590d6a,_0x302391)=>(_0x267adb,_0x39db67)=>_0x302391(_0x267adb,_0x39db67,_0x590d6a);const ls=_0x37581e(0x3f6),us=_0x37581e(0x3ec);let Ct=class extends _0x279799{constructor(_0x5f3e47,_0x5b480e){var _0x314dcd=_0x37581e;super(),this[_0x314dcd(0x13f)]=_0x5f3e47,this['_configService']=_0x5b480e,this['_init']();}[_0x37581e(0x211)](){var _0x21b8df=_0x37581e;this[_0x21b8df(0x112)](this['_univerInstanceService'][_0x21b8df(0x248)][_0x21b8df(0x1f3)](()=>{var _0x3071a4=_0x21b8df,_0x5ae095;const _0x3cacbc=this[_0x3071a4(0x13f)][_0x3071a4(0x141)]();let _0x91d10c=(_0x5ae095=this[_0x3071a4(0x2c9)][_0x3071a4(0x3ea)](ls))!=null?_0x5ae095:us;_0x3cacbc instanceof _0x465e71&&(_0x91d10c=_0x3cacbc[_0x3071a4(0x3c1)]),document[_0x3071a4(0x26f)]=_0x91d10c;}));}};Ct=_s([zt(0x0,_0x4c791d),zt(0x1,_0x4966ba)],Ct);var ds=Object[_0x37581e(0xfd)],fs=(_0x596d04,_0x15f6f8,_0x1cd220,_0x5f4d20)=>{for(var _0x696869=_0x5f4d20>0x1?void 0x0:_0x5f4d20?ds(_0x15f6f8,_0x1cd220):_0x15f6f8,_0x2b2689=_0x596d04['length']-0x1,_0x5ab244;_0x2b2689>=0x0;_0x2b2689--)(_0x5ab244=_0x596d04[_0x2b2689])&&(_0x696869=_0x5ab244(_0x696869)||_0x696869);return _0x696869;},vt=(_0x4546e8,_0x59dfe8)=>(_0x55ca9b,_0x457745)=>_0x59dfe8(_0x55ca9b,_0x457745,_0x4546e8);let rt=class{constructor(_0x16bf46,_0x12cf66,_0x424d81){var _0x2b98aa=_0x37581e;this['_configService']=_0x16bf46,this[_0x2b98aa(0x33d)]=_0x12cf66,this['localeService']=_0x424d81,this[_0x2b98aa(0x2cb)]();}[_0x37581e(0x2cb)](){var _0x23b1b9=_0x37581e;this[_0x23b1b9(0x33d)]['registerHTTPInterceptor']({'priority':0x1,'interceptor':(_0x12f8eb,_0x123426)=>_0x123426(_0x12f8eb)[_0x23b1b9(0x1a7)](_0x4a9195(async _0x25d886=>{var _0x1060db=_0x23b1b9;const _0x4c7364=_0x25d886;if(_0x4c7364[_0x1060db(0x294)]===0x191){if(typeof window>'u')throw new Error(_0x1060db(0x3d4));if(window[_0x1060db(0x1d8)](this['localeService']['t'](_0x1060db(0x234)))){const _0xefffa5=window[_0x1060db(0x39b)](window[_0x1060db(0x1a0)][_0x1060db(0x3f9)]);window[_0x1060db(0x1a0)][_0x1060db(0x3f9)]=this[_0x1060db(0xee)]()+'?url='+_0xefffa5;}}return _0x4c7364;}))});}[_0x37581e(0xee)](){var _0x43cc39=_0x37581e,_0x2436c1,_0x5d2b52;const _0x4018ac=this[_0x43cc39(0x2c9)][_0x43cc39(0x3ea)](Un),_0xbc8cf6=this['_configService'][_0x43cc39(0x3ea)](q);return(_0x5d2b52=(_0x2436c1=_0xbc8cf6==null?void 0x0:_0xbc8cf6['loginUrlKey'])!=null?_0x2436c1:_0x4018ac)!=null?_0x5d2b52:An;}};rt=fs([vt(0x0,_0x4966ba),vt(0x1,_0x1d905d(_0x55399d)),vt(0x2,_0x1d905d(_0x419ebc))],rt);var vs=Object[_0x37581e(0xfd)],ps=(_0x486c11,_0x4773bc,_0x1c6ab1,_0x225cfb)=>{var _0x5af731=_0x37581e;for(var _0x43127c=_0x225cfb>0x1?void 0x0:_0x225cfb?vs(_0x4773bc,_0x1c6ab1):_0x4773bc,_0x3843a1=_0x486c11[_0x5af731(0x385)]-0x1,_0x372673;_0x3843a1>=0x0;_0x3843a1--)(_0x372673=_0x486c11[_0x3843a1])&&(_0x43127c=_0x372673(_0x43127c)||_0x43127c);return _0x43127c;},Jt=(_0x43a072,_0x216f96)=>(_0x3c39cd,_0x20b745)=>_0x216f96(_0x3c39cd,_0x20b745,_0x43a072);const Ni='AUTHZ_URL_KEY',ms='/universer-api/authz';let Rt=class extends _0x279799{constructor(_0x2959f7,_0x3b4f49){var _0x51707b=_0x37581e;super(),this[_0x51707b(0x1cd)]=_0x2959f7,this['_configService']=_0x3b4f49,this[_0x51707b(0x102)]();}[_0x37581e(0x102)](){var _0x1089f4=_0x37581e;const _0x1ffab2=this;this[_0x1089f4(0x112)](this[_0x1089f4(0x1cd)][_0x1089f4(0x2e1)]({'priority':0x3e7,'interceptor':_0x271e65({'isMatch'(_0x31c6e1){var _0x350df0=_0x1089f4,_0x5873b1;if(_0x31c6e1[_0x350df0(0x113)]==='POST'&&((_0x5873b1=_0x31c6e1['requestParams'])!=null&&_0x5873b1[_0x350df0(0xf4)])){const {objectID:_0x3c1926,objectType:_0x2c03cc}=_0x31c6e1[_0x350df0(0x16e)][_0x350df0(0xf4)]||{};if(!_0x3c1926||_0x2c03cc===void 0x0)return!0x1;const _0x553fd3=_0x1ffab2['_getAPIPrefixPath']()+'/'+_0x2c03cc+_0x350df0(0x39d)+_0x3c1926+_0x350df0(0x30f);if(_0x31c6e1['url']===_0x553fd3)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x21b34c){var _0x329291=_0x1089f4,_0x5aa43a;return(_0x5aa43a=_0x21b34c[_0x329291(0x16e)])==null?void 0x0:_0x5aa43a[_0x329291(0xf4)];},'mergeParamsToRequest'(_0x114f1e,_0x43f6a1){var _0x931e43=_0x1089f4;const _0x104c1d=_0x1ffab2[_0x931e43(0x153)]()+_0x931e43(0x339),_0x50948e=_0x114f1e[_0x931e43(0x3b9)]((_0x128707,_0x48becc)=>{var _0x3d907a=_0x931e43;const {unitID:_0x189f7d,objectID:_0x439e7a,objectType:_0x4c1f0a,actions:_0xa575e}=_0x48becc;return _0x128707[_0x189f7d]||(_0x128707[_0x189f7d]={}),_0x128707[_0x189f7d][_0x439e7a]||(_0x128707[_0x189f7d][_0x439e7a]={'objectID':_0x439e7a,'objectType':_0x4c1f0a,'actions':[]}),_0x128707[_0x189f7d][_0x439e7a][_0x3d907a(0x256)][_0x3d907a(0x2a8)](..._0xa575e),_0x128707;},{}),_0x4d3ac6=[];for(const _0x212bfc in _0x50948e)for(const _0x19ca99 in _0x50948e[_0x212bfc]){const {actions:_0x1c0cbc,objectType:_0x40b02d}=_0x50948e[_0x212bfc][_0x19ca99],_0x41bd58=[...new Set(_0x1c0cbc)];_0x4d3ac6['push']({'unitID':_0x212bfc,'objectID':_0x19ca99,'objectType':_0x40b02d,'actions':_0x41bd58});}return new _0x10cbc1(_0x931e43(0x39c),_0x104c1d,{'headers':_0x43f6a1[_0x931e43(0x253)],'withCredentials':_0x43f6a1[_0x931e43(0x3c0)],'responseType':_0x43f6a1['responseType'],'body':{'requests':_0x4d3ac6}});}},{'distributeResult'(_0x2e6031,_0x33fc3c){var _0x29d884=_0x1089f4;const {objectActions:_0x149ec1}=_0x2e6031;return _0x33fc3c[_0x29d884(0x357)](_0x4fbfbb=>{var _0x1ed3f6=_0x29d884;const {unitID:_0x3b03ff,objectID:_0x118b58,actions:_0x3ed6aa}=_0x4fbfbb,_0x46df0a=_0x149ec1[_0x1ed3f6(0x3d6)](_0x3b9395=>_0x3b9395['unitID']===_0x3b03ff&&_0x3b9395[_0x1ed3f6(0x2a9)]===_0x118b58),_0x19fbfe=_0x3ed6aa[_0x1ed3f6(0x357)](_0x17bf87=>_0x46df0a==null?void 0x0:_0x46df0a[_0x1ed3f6(0x256)][_0x1ed3f6(0x3d6)](_0x3616a1=>_0x3616a1['action']===_0x17bf87))['filter'](_0x3c174f=>!!_0x3c174f);return{'config':_0x4fbfbb,'result':{'actions':_0x19fbfe,'error':_0x2e6031[_0x1ed3f6(0x3a5)]}};});}})}));}['_getAPIPrefixPath'](){var _0xf024f4=_0x37581e,_0x54ff74,_0x3c2be1;const _0x1b791f=this['_configService']['getConfig'](Ni),_0x4a783b=this[_0xf024f4(0x2c9)][_0xf024f4(0x3ea)](q);return(_0x3c2be1=(_0x54ff74=_0x4a783b==null?void 0x0:_0x4a783b[_0xf024f4(0x3b2)])!=null?_0x54ff74:_0x1b791f)!=null?_0x3c2be1:ms;}async['create'](_0x27ecc1){var _0x11c1cf=_0x37581e;const _0x27f017=this[_0x11c1cf(0x153)]()+'/'+_0x27ecc1[_0x11c1cf(0x1bc)]+_0x11c1cf(0x131);return(await this[_0x11c1cf(0x1cd)]['post'](_0x27f017,{'body':_0x27ecc1}))[_0x11c1cf(0xf4)]['objectID']||'';}async['list'](_0x4b797a){var _0x615401=_0x37581e;const _0x53d46f=this[_0x615401(0x153)]()+_0x615401(0x263);return(await this[_0x615401(0x1cd)][_0x615401(0x20d)](_0x53d46f,{'body':_0x4b797a}))['body'][_0x615401(0x140)];}async['update'](_0x1854a7){var _0x4cb433=_0x37581e,_0x3912b0,_0x1c330;const _0x47b18a=this['_getAPIPrefixPath']()+'/'+_0x1854a7[_0x4cb433(0x1bc)]+_0x4cb433(0x39d)+_0x1854a7[_0x4cb433(0x2a9)],_0x2fed1d=await this[_0x4cb433(0x1cd)]['put'](_0x47b18a,{'body':_0x1854a7});if(((_0x1c330=(_0x3912b0=_0x2fed1d==null?void 0x0:_0x2fed1d[_0x4cb433(0xf4)])==null?void 0x0:_0x3912b0[_0x4cb433(0x3a5)])==null?void 0x0:_0x1c330[_0x4cb433(0x29f)])!==0x1)throw new Error(_0x4cb433(0x167));}async['allowed'](_0x3812cc){var _0xe3a9a8=_0x37581e;const _0x4b0048=this[_0xe3a9a8(0x153)]()+'/'+_0x3812cc[_0xe3a9a8(0x1bc)]+_0xe3a9a8(0x39d)+_0x3812cc[_0xe3a9a8(0x2a9)]+_0xe3a9a8(0x30f);return(await this[_0xe3a9a8(0x1cd)][_0xe3a9a8(0x20d)](_0x4b0048,{'body':_0x3812cc}))[_0xe3a9a8(0xf4)][_0xe3a9a8(0x256)];}async[_0x37581e(0x289)](_0x5e0b7e){var _0x3f1205=_0x37581e;const _0x34755a=this['_getAPIPrefixPath']()+'/-/object/-/batch_allowed';return(await this[_0x3f1205(0x1cd)][_0x3f1205(0x20d)](_0x34755a,{'body':{'requests':_0x5e0b7e}}))[_0x3f1205(0xf4)]['objectActions'];}async[_0x37581e(0x2dd)](_0xa210a8){var _0xa65416=_0x37581e;const _0x1c5cd4=this[_0xa65416(0x153)]()+'/'+_0xa210a8[_0xa65416(0x1bc)]+_0xa65416(0x31e),_0x149cc5=await this['_HTTPService'][_0xa65416(0x20d)](_0x1c5cd4,{'body':_0xa210a8});return{'roles':_0x149cc5['body'][_0xa65416(0x2a1)],'actions':_0x149cc5[_0xa65416(0xf4)]['actions']};}async['deleteCollaborator'](_0x2a813e){var _0x1b6fbc=_0x37581e;const _0x805edc=this[_0x1b6fbc(0x153)]()+_0x1b6fbc(0x361);await this['_HTTPService']['delete'](_0x805edc,{'params':{'collaboratorID':_0x2a813e['collaboratorID'],'objectID':_0x2a813e[_0x1b6fbc(0x2a9)],'unitID':_0x2a813e[_0x1b6fbc(0x2a2)]}});}async[_0x37581e(0x347)](_0x41d741){var _0x28ca41=_0x37581e;const _0x6e2345=this[_0x28ca41(0x153)]()+_0x28ca41(0x361);await this[_0x28ca41(0x1cd)]['patch'](_0x6e2345,{'body':_0x41d741});}async[_0x37581e(0x1dd)](_0x4a08c9){var _0x235670=_0x37581e;const _0x7e1d6f=this['_getAPIPrefixPath']()+_0x235670(0x361);await this['_HTTPService'][_0x235670(0x20d)](_0x7e1d6f,{'body':_0x4a08c9});}async[_0x37581e(0x389)](_0x3997ae){var _0x395d20=_0x37581e;const _0x1c50b5=this[_0x395d20(0x153)]()+'/collaborator';return(await this[_0x395d20(0x1cd)][_0x395d20(0x2dc)](_0x1c50b5,{'params':{'objectID':_0x3997ae[_0x395d20(0x2a9)],'unitID':_0x3997ae[_0x395d20(0x2a2)]}}))['body'][_0x395d20(0x1fc)];}async[_0x37581e(0x1a2)](_0x1f071a){var _0x18fd04=_0x37581e;const _0x2821ee=this[_0x18fd04(0x153)]()+_0x18fd04(0x361);await this[_0x18fd04(0x1cd)][_0x18fd04(0x35b)](_0x2821ee,{'body':_0x1f071a});}};Rt=ps([Jt(0x0,_0x1d905d(_0x55399d)),Jt(0x1,_0x1d905d(_0x4966ba))],Rt);var pt=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function He(_0x2fd562){var _0x402473=_0x37581e;return _0x2fd562&&_0x2fd562[_0x402473(0x34d)]&&Object[_0x402473(0x223)][_0x402473(0x17c)][_0x402473(0x36b)](_0x2fd562,'default')?_0x2fd562['default']:_0x2fd562;}var Ve={'exports':{}};function gs(_0x5d3c32){var _0x324f7a=_0x37581e;throw new Error(_0x324f7a(0x236)+_0x5d3c32+'\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.');}var Ge={'exports':{}},Ss=Ge[_0x37581e(0x2e0)],Xt;function ie(){var _0x1866b8=_0x37581e;return Xt||(Xt=0x1,function(_0x3954ae,_0x439a07){(function(_0x1b3f8b,_0x1f0601){_0x3954ae['exports']=_0x1f0601();}(Ss,function(){var _0x2f0734=_0x2f0734||function(_0x3d7bbf,_0x27ca7e){var _0x670a38=_0x25ef,_0x241971;if(typeof window<'u'&&window[_0x670a38(0x33c)]&&(_0x241971=window['crypto']),typeof self<'u'&&self[_0x670a38(0x33c)]&&(_0x241971=self[_0x670a38(0x33c)]),typeof globalThis<'u'&&globalThis[_0x670a38(0x33c)]&&(_0x241971=globalThis['crypto']),!_0x241971&&typeof window<'u'&&window['msCrypto']&&(_0x241971=window['msCrypto']),!_0x241971&&typeof pt<'u'&&pt[_0x670a38(0x33c)]&&(_0x241971=pt[_0x670a38(0x33c)]),!_0x241971&&typeof gs==_0x670a38(0x302))try{_0x241971=require(_0x670a38(0x33c));}catch{}var _0x4d77f2=function(){var _0xc726a1=_0x670a38;if(_0x241971){if(typeof _0x241971[_0xc726a1(0x21b)]==_0xc726a1(0x302))try{return _0x241971[_0xc726a1(0x21b)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x241971[_0xc726a1(0x2e5)]==_0xc726a1(0x302))try{return _0x241971[_0xc726a1(0x2e5)](0x4)['readInt32LE']();}catch{}}throw new Error(_0xc726a1(0x284));},_0x81c1c9=Object['create']||(function(){function _0x516e3b(){}return function(_0x2cca57){var _0x45bb64=_0x25ef,_0xa569e4;return _0x516e3b[_0x45bb64(0x223)]=_0x2cca57,_0xa569e4=new _0x516e3b(),_0x516e3b[_0x45bb64(0x223)]=null,_0xa569e4;};}()),_0x930cf2={},_0x3e4d05=_0x930cf2[_0x670a38(0x336)]={},_0x12419c=_0x3e4d05[_0x670a38(0x204)]=(function(){return{'extend':function(_0x25608b){var _0x3df941=_0x25ef,_0x2d2f3e=_0x81c1c9(this);return _0x25608b&&_0x2d2f3e[_0x3df941(0x2c1)](_0x25608b),(!_0x2d2f3e['hasOwnProperty'](_0x3df941(0x2cb))||this[_0x3df941(0x2cb)]===_0x2d2f3e[_0x3df941(0x2cb)])&&(_0x2d2f3e[_0x3df941(0x2cb)]=function(){var _0xddf33b=_0x3df941;_0x2d2f3e['$super'][_0xddf33b(0x2cb)][_0xddf33b(0x244)](this,arguments);}),_0x2d2f3e[_0x3df941(0x2cb)][_0x3df941(0x223)]=_0x2d2f3e,_0x2d2f3e[_0x3df941(0x34b)]=this,_0x2d2f3e;},'create':function(){var _0x57948f=_0x25ef,_0x532d6d=this[_0x57948f(0x163)]();return _0x532d6d[_0x57948f(0x2cb)][_0x57948f(0x244)](_0x532d6d,arguments),_0x532d6d;},'init':function(){},'mixIn':function(_0x12eaa6){var _0x57a8cd=_0x25ef;for(var _0x18dc84 in _0x12eaa6)_0x12eaa6[_0x57a8cd(0x17c)](_0x18dc84)&&(this[_0x18dc84]=_0x12eaa6[_0x18dc84]);_0x12eaa6[_0x57a8cd(0x17c)](_0x57a8cd(0x33b))&&(this[_0x57a8cd(0x33b)]=_0x12eaa6['toString']);},'clone':function(){var _0x4f8e3f=_0x25ef;return this[_0x4f8e3f(0x2cb)][_0x4f8e3f(0x223)][_0x4f8e3f(0x163)](this);}};}()),_0x469d11=_0x3e4d05[_0x670a38(0x2c6)]=_0x12419c[_0x670a38(0x163)]({'init':function(_0x13c522,_0x14f6e3){var _0x7dfb5e=_0x670a38;_0x13c522=this['words']=_0x13c522||[],_0x14f6e3!=_0x27ca7e?this[_0x7dfb5e(0x142)]=_0x14f6e3:this['sigBytes']=_0x13c522['length']*0x4;},'toString':function(_0x28b2cc){return(_0x28b2cc||_0x58bd60)['stringify'](this);},'concat':function(_0x24f723){var _0x441778=_0x670a38,_0x1997bd=this['words'],_0x24f518=_0x24f723[_0x441778(0xed)],_0x10abfe=this['sigBytes'],_0x5c63a0=_0x24f723['sigBytes'];if(this[_0x441778(0x3e9)](),_0x10abfe%0x4)for(var _0x5193f8=0x0;_0x5193f8<_0x5c63a0;_0x5193f8++){var _0x3dd951=_0x24f518[_0x5193f8>>>0x2]>>>0x18-_0x5193f8%0x4*0x8&0xff;_0x1997bd[_0x10abfe+_0x5193f8>>>0x2]|=_0x3dd951<<0x18-(_0x10abfe+_0x5193f8)%0x4*0x8;}else{for(var _0x26b73d=0x0;_0x26b73d<_0x5c63a0;_0x26b73d+=0x4)_0x1997bd[_0x10abfe+_0x26b73d>>>0x2]=_0x24f518[_0x26b73d>>>0x2];}return this['sigBytes']+=_0x5c63a0,this;},'clamp':function(){var _0x494c80=_0x670a38,_0x480823=this[_0x494c80(0xed)],_0x1df0d0=this[_0x494c80(0x142)];_0x480823[_0x1df0d0>>>0x2]&=0xffffffff<<0x20-_0x1df0d0%0x4*0x8,_0x480823['length']=_0x3d7bbf[_0x494c80(0x36c)](_0x1df0d0/0x4);},'clone':function(){var _0x200c48=_0x670a38,_0x3cc564=_0x12419c[_0x200c48(0x3a6)]['call'](this);return _0x3cc564[_0x200c48(0xed)]=this['words']['slice'](0x0),_0x3cc564;},'random':function(_0x523359){var _0x5d7f0f=_0x670a38;for(var _0x555239=[],_0x71740f=0x0;_0x71740f<_0x523359;_0x71740f+=0x4)_0x555239['push'](_0x4d77f2());return new _0x469d11[(_0x5d7f0f(0x2cb))](_0x555239,_0x523359);}}),_0x534692=_0x930cf2[_0x670a38(0x3ae)]={},_0x58bd60=_0x534692[_0x670a38(0x136)]={'stringify':function(_0x125d1c){var _0x7d543a=_0x670a38;for(var _0x378d54=_0x125d1c[_0x7d543a(0xed)],_0x1425f4=_0x125d1c[_0x7d543a(0x142)],_0x4f7f1f=[],_0x3872e1=0x0;_0x3872e1<_0x1425f4;_0x3872e1++){var _0x3a8018=_0x378d54[_0x3872e1>>>0x2]>>>0x18-_0x3872e1%0x4*0x8&0xff;_0x4f7f1f['push']((_0x3a8018>>>0x4)['toString'](0x10)),_0x4f7f1f[_0x7d543a(0x2a8)]((_0x3a8018&0xf)['toString'](0x10));}return _0x4f7f1f[_0x7d543a(0x3f1)]('');},'parse':function(_0x118264){var _0xd35432=_0x670a38;for(var _0x273480=_0x118264[_0xd35432(0x385)],_0x34af09=[],_0x527abb=0x0;_0x527abb<_0x273480;_0x527abb+=0x2)_0x34af09[_0x527abb>>>0x3]|=parseInt(_0x118264[_0xd35432(0x2df)](_0x527abb,0x2),0x10)<<0x18-_0x527abb%0x8*0x4;return new _0x469d11[(_0xd35432(0x2cb))](_0x34af09,_0x273480/0x2);}},_0x3fbaf8=_0x534692[_0x670a38(0x17e)]={'stringify':function(_0x59a788){var _0x20efd0=_0x670a38;for(var _0x1c2ede=_0x59a788[_0x20efd0(0xed)],_0x103d56=_0x59a788[_0x20efd0(0x142)],_0x23b817=[],_0x25f239=0x0;_0x25f239<_0x103d56;_0x25f239++){var _0x39b9d0=_0x1c2ede[_0x25f239>>>0x2]>>>0x18-_0x25f239%0x4*0x8&0xff;_0x23b817[_0x20efd0(0x2a8)](String[_0x20efd0(0x152)](_0x39b9d0));}return _0x23b817[_0x20efd0(0x3f1)]('');},'parse':function(_0x503068){var _0x44c1cd=_0x670a38;for(var _0x2434ac=_0x503068['length'],_0x372e5a=[],_0x1aa2d3=0x0;_0x1aa2d3<_0x2434ac;_0x1aa2d3++)_0x372e5a[_0x1aa2d3>>>0x2]|=(_0x503068[_0x44c1cd(0x127)](_0x1aa2d3)&0xff)<<0x18-_0x1aa2d3%0x4*0x8;return new _0x469d11[(_0x44c1cd(0x2cb))](_0x372e5a,_0x2434ac);}},_0x5422e7=_0x534692[_0x670a38(0x391)]={'stringify':function(_0x4d002b){var _0x5f4603=_0x670a38;try{return decodeURIComponent(escape(_0x3fbaf8['stringify'](_0x4d002b)));}catch{throw new Error(_0x5f4603(0x2aa));}},'parse':function(_0x57a235){var _0x4a1b6e=_0x670a38;return _0x3fbaf8[_0x4a1b6e(0x2e7)](unescape(encodeURIComponent(_0x57a235)));}},_0x1fb586=_0x3e4d05['BufferedBlockAlgorithm']=_0x12419c['extend']({'reset':function(){var _0x18aff8=_0x670a38;this[_0x18aff8(0x312)]=new _0x469d11[(_0x18aff8(0x2cb))](),this['_nDataBytes']=0x0;},'_append':function(_0x19b51b){var _0x1b569b=_0x670a38;typeof _0x19b51b=='string'&&(_0x19b51b=_0x5422e7[_0x1b569b(0x2e7)](_0x19b51b)),this[_0x1b569b(0x312)]['concat'](_0x19b51b),this[_0x1b569b(0x3c6)]+=_0x19b51b[_0x1b569b(0x142)];},'_process':function(_0x571742){var _0x1ed3b8=_0x670a38,_0x2bb700,_0x1e0fcd=this[_0x1ed3b8(0x312)],_0xd504c7=_0x1e0fcd[_0x1ed3b8(0xed)],_0x1801ad=_0x1e0fcd[_0x1ed3b8(0x142)],_0x30f234=this[_0x1ed3b8(0x3d5)],_0x23d754=_0x30f234*0x4,_0x23cb60=_0x1801ad/_0x23d754;_0x571742?_0x23cb60=_0x3d7bbf['ceil'](_0x23cb60):_0x23cb60=_0x3d7bbf[_0x1ed3b8(0xef)]((_0x23cb60|0x0)-this[_0x1ed3b8(0x35f)],0x0);var _0x1295d8=_0x23cb60*_0x30f234,_0x289f77=_0x3d7bbf[_0x1ed3b8(0x3f2)](_0x1295d8*0x4,_0x1801ad);if(_0x1295d8){for(var _0x237dc6=0x0;_0x237dc6<_0x1295d8;_0x237dc6+=_0x30f234)this['_doProcessBlock'](_0xd504c7,_0x237dc6);_0x2bb700=_0xd504c7[_0x1ed3b8(0x155)](0x0,_0x1295d8),_0x1e0fcd[_0x1ed3b8(0x142)]-=_0x289f77;}return new _0x469d11[(_0x1ed3b8(0x2cb))](_0x2bb700,_0x289f77);},'clone':function(){var _0x15a0bd=_0x670a38,_0x3e049b=_0x12419c['clone'][_0x15a0bd(0x36b)](this);return _0x3e049b[_0x15a0bd(0x312)]=this[_0x15a0bd(0x312)][_0x15a0bd(0x3a6)](),_0x3e049b;},'_minBufferSize':0x0});_0x3e4d05['Hasher']=_0x1fb586[_0x670a38(0x163)]({'cfg':_0x12419c[_0x670a38(0x163)](),'init':function(_0x176928){var _0x1a0f46=_0x670a38;this[_0x1a0f46(0x1fe)]=this[_0x1a0f46(0x1fe)]['extend'](_0x176928),this[_0x1a0f46(0x107)]();},'reset':function(){var _0x45cbfb=_0x670a38;_0x1fb586[_0x45cbfb(0x107)]['call'](this),this[_0x45cbfb(0x229)]();},'update':function(_0x3f0323){var _0x493ab2=_0x670a38;return this[_0x493ab2(0x35e)](_0x3f0323),this[_0x493ab2(0x362)](),this;},'finalize':function(_0x3faada){var _0x16af8e=_0x670a38;_0x3faada&&this[_0x16af8e(0x35e)](_0x3faada);var _0x2bc8c7=this[_0x16af8e(0x206)]();return _0x2bc8c7;},'blockSize':0x10,'_createHelper':function(_0x33aff3){return function(_0x4c392c,_0x35c957){var _0x5c70d6=_0x25ef;return new _0x33aff3[(_0x5c70d6(0x2cb))](_0x35c957)[_0x5c70d6(0x2e6)](_0x4c392c);};},'_createHmacHelper':function(_0x3d1c55){return function(_0x278da8,_0x1ef7b9){var _0x3015aa=_0x25ef;return new _0x602ced['HMAC'][(_0x3015aa(0x2cb))](_0x3d1c55,_0x1ef7b9)[_0x3015aa(0x2e6)](_0x278da8);};}});var _0x602ced=_0x930cf2[_0x670a38(0x3a8)]={};return _0x930cf2;}(Math);return _0x2f0734;}));}(Ge)),Ge[_0x1866b8(0x2e0)];}var We={'exports':{}},Es=We[_0x37581e(0x2e0)],Zt;function Di(){var _0x4be168=_0x37581e;return Zt||(Zt=0x1,function(_0x3a1147,_0xaac129){(function(_0x51bc90,_0x257fbd){var _0x214b1a=_0x25ef;_0x3a1147[_0x214b1a(0x2e0)]=_0x257fbd(ie());}(Es,function(_0x277c76){var _0x1db0a6=_0x25ef;return(function(){var _0x36068f=_0x25ef,_0x21ab83=_0x277c76,_0x10dddb=_0x21ab83['lib'],_0x5883c0=_0x10dddb['WordArray'],_0x1bcc22=_0x21ab83['enc'];_0x1bcc22[_0x36068f(0x2af)]={'stringify':function(_0x2fe5f7){var _0xcb356a=_0x36068f,_0x4853d1=_0x2fe5f7['words'],_0x3cdf89=_0x2fe5f7[_0xcb356a(0x142)],_0x3e6549=this[_0xcb356a(0x360)];_0x2fe5f7[_0xcb356a(0x3e9)]();for(var _0xbf5eba=[],_0x2c84c1=0x0;_0x2c84c1<_0x3cdf89;_0x2c84c1+=0x3)for(var _0x4755fa=_0x4853d1[_0x2c84c1>>>0x2]>>>0x18-_0x2c84c1%0x4*0x8&0xff,_0x39d42c=_0x4853d1[_0x2c84c1+0x1>>>0x2]>>>0x18-(_0x2c84c1+0x1)%0x4*0x8&0xff,_0x1d2166=_0x4853d1[_0x2c84c1+0x2>>>0x2]>>>0x18-(_0x2c84c1+0x2)%0x4*0x8&0xff,_0x41cad6=_0x4755fa<<0x10|_0x39d42c<<0x8|_0x1d2166,_0x3158d5=0x0;_0x3158d5<0x4&&_0x2c84c1+_0x3158d5*0.75<_0x3cdf89;_0x3158d5++)_0xbf5eba[_0xcb356a(0x2a8)](_0x3e6549['charAt'](_0x41cad6>>>0x6*(0x3-_0x3158d5)&0x3f));var _0x53a2ea=_0x3e6549[_0xcb356a(0x332)](0x40);if(_0x53a2ea){for(;_0xbf5eba[_0xcb356a(0x385)]%0x4;)_0xbf5eba[_0xcb356a(0x2a8)](_0x53a2ea);}return _0xbf5eba[_0xcb356a(0x3f1)]('');},'parse':function(_0x2f9abf){var _0x45d6e3=_0x36068f,_0x198fb8=_0x2f9abf[_0x45d6e3(0x385)],_0xe8f361=this['_map'],_0x55d687=this[_0x45d6e3(0x291)];if(!_0x55d687){_0x55d687=this[_0x45d6e3(0x291)]=[];for(var _0x2fe9ca=0x0;_0x2fe9ca<_0xe8f361['length'];_0x2fe9ca++)_0x55d687[_0xe8f361[_0x45d6e3(0x127)](_0x2fe9ca)]=_0x2fe9ca;}var _0x30240c=_0xe8f361[_0x45d6e3(0x332)](0x40);if(_0x30240c){var _0x3a8f6a=_0x2f9abf[_0x45d6e3(0x37e)](_0x30240c);_0x3a8f6a!==-0x1&&(_0x198fb8=_0x3a8f6a);}return _0x27a5c8(_0x2f9abf,_0x198fb8,_0x55d687);},'_map':_0x36068f(0x1f7)};function _0x27a5c8(_0x555a93,_0x237fca,_0xc57dc5){var _0x18dbca=_0x36068f;for(var _0x2ba643=[],_0x17a6f4=0x0,_0x379300=0x0;_0x379300<_0x237fca;_0x379300++)if(_0x379300%0x4){var _0x4d0b05=_0xc57dc5[_0x555a93[_0x18dbca(0x127)](_0x379300-0x1)]<<_0x379300%0x4*0x2,_0x1f9ad1=_0xc57dc5[_0x555a93[_0x18dbca(0x127)](_0x379300)]>>>0x6-_0x379300%0x4*0x2,_0x173b60=_0x4d0b05|_0x1f9ad1;_0x2ba643[_0x17a6f4>>>0x2]|=_0x173b60<<0x18-_0x17a6f4%0x4*0x8,_0x17a6f4++;}return _0x5883c0[_0x18dbca(0x19f)](_0x2ba643,_0x17a6f4);}}()),_0x277c76[_0x1db0a6(0x3ae)][_0x1db0a6(0x2af)];}));}(We)),We[_0x4be168(0x2e0)];}var Ye={'exports':{}},Is=Ye['exports'],Qt;function Ts(){var _0x5a0733=_0x37581e;return Qt||(Qt=0x1,function(_0x42261a,_0x4cd188){(function(_0x5ac438,_0x27f6d2){var _0x1ed295=_0x25ef;_0x42261a[_0x1ed295(0x2e0)]=_0x27f6d2(ie());}(Is,function(_0x171150){var _0xae15d2=_0x25ef;return function(_0x2911c1){var _0x3843b6=_0x25ef,_0x26e9e6=_0x171150,_0x4d1f4f=_0x26e9e6['lib'],_0x5d6d36=_0x4d1f4f[_0x3843b6(0x2c6)],_0x59adf6=_0x4d1f4f[_0x3843b6(0x318)],_0x500c58=_0x26e9e6[_0x3843b6(0x3a8)],_0x2f2b0b=[];(function(){var _0x28f903=_0x3843b6;for(var _0x18fbdb=0x0;_0x18fbdb<0x40;_0x18fbdb++)_0x2f2b0b[_0x18fbdb]=_0x2911c1[_0x28f903(0x276)](_0x2911c1[_0x28f903(0x13a)](_0x18fbdb+0x1))*0x100000000|0x0;}());var _0x403afc=_0x500c58[_0x3843b6(0x319)]=_0x59adf6[_0x3843b6(0x163)]({'_doReset':function(){var _0x13b8be=_0x3843b6;this[_0x13b8be(0x1da)]=new _0x5d6d36[(_0x13b8be(0x2cb))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x3f9bfb,_0x2dd3ae){var _0x20ba0d=_0x3843b6;for(var _0x5b2527=0x0;_0x5b2527<0x10;_0x5b2527++){var _0x2fd075=_0x2dd3ae+_0x5b2527,_0x25de64=_0x3f9bfb[_0x2fd075];_0x3f9bfb[_0x2fd075]=(_0x25de64<<0x8|_0x25de64>>>0x18)&0xff00ff|(_0x25de64<<0x18|_0x25de64>>>0x8)&0xff00ff00;}var _0x41d6d3=this[_0x20ba0d(0x1da)][_0x20ba0d(0xed)],_0x3e3294=_0x3f9bfb[_0x2dd3ae+0x0],_0x1b2a2b=_0x3f9bfb[_0x2dd3ae+0x1],_0x145c1b=_0x3f9bfb[_0x2dd3ae+0x2],_0x35177a=_0x3f9bfb[_0x2dd3ae+0x3],_0x59c662=_0x3f9bfb[_0x2dd3ae+0x4],_0x3d0137=_0x3f9bfb[_0x2dd3ae+0x5],_0x2a33da=_0x3f9bfb[_0x2dd3ae+0x6],_0x45db9c=_0x3f9bfb[_0x2dd3ae+0x7],_0x4decde=_0x3f9bfb[_0x2dd3ae+0x8],_0x4ff3fd=_0x3f9bfb[_0x2dd3ae+0x9],_0x5aaa4a=_0x3f9bfb[_0x2dd3ae+0xa],_0x589724=_0x3f9bfb[_0x2dd3ae+0xb],_0x11c838=_0x3f9bfb[_0x2dd3ae+0xc],_0x5843f1=_0x3f9bfb[_0x2dd3ae+0xd],_0xcfdeff=_0x3f9bfb[_0x2dd3ae+0xe],_0x47541b=_0x3f9bfb[_0x2dd3ae+0xf],_0x9ae358=_0x41d6d3[0x0],_0x20aa7c=_0x41d6d3[0x1],_0x396d29=_0x41d6d3[0x2],_0x425d2d=_0x41d6d3[0x3];_0x9ae358=_0x965b87(_0x9ae358,_0x20aa7c,_0x396d29,_0x425d2d,_0x3e3294,0x7,_0x2f2b0b[0x0]),_0x425d2d=_0x965b87(_0x425d2d,_0x9ae358,_0x20aa7c,_0x396d29,_0x1b2a2b,0xc,_0x2f2b0b[0x1]),_0x396d29=_0x965b87(_0x396d29,_0x425d2d,_0x9ae358,_0x20aa7c,_0x145c1b,0x11,_0x2f2b0b[0x2]),_0x20aa7c=_0x965b87(_0x20aa7c,_0x396d29,_0x425d2d,_0x9ae358,_0x35177a,0x16,_0x2f2b0b[0x3]),_0x9ae358=_0x965b87(_0x9ae358,_0x20aa7c,_0x396d29,_0x425d2d,_0x59c662,0x7,_0x2f2b0b[0x4]),_0x425d2d=_0x965b87(_0x425d2d,_0x9ae358,_0x20aa7c,_0x396d29,_0x3d0137,0xc,_0x2f2b0b[0x5]),_0x396d29=_0x965b87(_0x396d29,_0x425d2d,_0x9ae358,_0x20aa7c,_0x2a33da,0x11,_0x2f2b0b[0x6]),_0x20aa7c=_0x965b87(_0x20aa7c,_0x396d29,_0x425d2d,_0x9ae358,_0x45db9c,0x16,_0x2f2b0b[0x7]),_0x9ae358=_0x965b87(_0x9ae358,_0x20aa7c,_0x396d29,_0x425d2d,_0x4decde,0x7,_0x2f2b0b[0x8]),_0x425d2d=_0x965b87(_0x425d2d,_0x9ae358,_0x20aa7c,_0x396d29,_0x4ff3fd,0xc,_0x2f2b0b[0x9]),_0x396d29=_0x965b87(_0x396d29,_0x425d2d,_0x9ae358,_0x20aa7c,_0x5aaa4a,0x11,_0x2f2b0b[0xa]),_0x20aa7c=_0x965b87(_0x20aa7c,_0x396d29,_0x425d2d,_0x9ae358,_0x589724,0x16,_0x2f2b0b[0xb]),_0x9ae358=_0x965b87(_0x9ae358,_0x20aa7c,_0x396d29,_0x425d2d,_0x11c838,0x7,_0x2f2b0b[0xc]),_0x425d2d=_0x965b87(_0x425d2d,_0x9ae358,_0x20aa7c,_0x396d29,_0x5843f1,0xc,_0x2f2b0b[0xd]),_0x396d29=_0x965b87(_0x396d29,_0x425d2d,_0x9ae358,_0x20aa7c,_0xcfdeff,0x11,_0x2f2b0b[0xe]),_0x20aa7c=_0x965b87(_0x20aa7c,_0x396d29,_0x425d2d,_0x9ae358,_0x47541b,0x16,_0x2f2b0b[0xf]),_0x9ae358=_0x688937(_0x9ae358,_0x20aa7c,_0x396d29,_0x425d2d,_0x1b2a2b,0x5,_0x2f2b0b[0x10]),_0x425d2d=_0x688937(_0x425d2d,_0x9ae358,_0x20aa7c,_0x396d29,_0x2a33da,0x9,_0x2f2b0b[0x11]),_0x396d29=_0x688937(_0x396d29,_0x425d2d,_0x9ae358,_0x20aa7c,_0x589724,0xe,_0x2f2b0b[0x12]),_0x20aa7c=_0x688937(_0x20aa7c,_0x396d29,_0x425d2d,_0x9ae358,_0x3e3294,0x14,_0x2f2b0b[0x13]),_0x9ae358=_0x688937(_0x9ae358,_0x20aa7c,_0x396d29,_0x425d2d,_0x3d0137,0x5,_0x2f2b0b[0x14]),_0x425d2d=_0x688937(_0x425d2d,_0x9ae358,_0x20aa7c,_0x396d29,_0x5aaa4a,0x9,_0x2f2b0b[0x15]),_0x396d29=_0x688937(_0x396d29,_0x425d2d,_0x9ae358,_0x20aa7c,_0x47541b,0xe,_0x2f2b0b[0x16]),_0x20aa7c=_0x688937(_0x20aa7c,_0x396d29,_0x425d2d,_0x9ae358,_0x59c662,0x14,_0x2f2b0b[0x17]),_0x9ae358=_0x688937(_0x9ae358,_0x20aa7c,_0x396d29,_0x425d2d,_0x4ff3fd,0x5,_0x2f2b0b[0x18]),_0x425d2d=_0x688937(_0x425d2d,_0x9ae358,_0x20aa7c,_0x396d29,_0xcfdeff,0x9,_0x2f2b0b[0x19]),_0x396d29=_0x688937(_0x396d29,_0x425d2d,_0x9ae358,_0x20aa7c,_0x35177a,0xe,_0x2f2b0b[0x1a]),_0x20aa7c=_0x688937(_0x20aa7c,_0x396d29,_0x425d2d,_0x9ae358,_0x4decde,0x14,_0x2f2b0b[0x1b]),_0x9ae358=_0x688937(_0x9ae358,_0x20aa7c,_0x396d29,_0x425d2d,_0x5843f1,0x5,_0x2f2b0b[0x1c]),_0x425d2d=_0x688937(_0x425d2d,_0x9ae358,_0x20aa7c,_0x396d29,_0x145c1b,0x9,_0x2f2b0b[0x1d]),_0x396d29=_0x688937(_0x396d29,_0x425d2d,_0x9ae358,_0x20aa7c,_0x45db9c,0xe,_0x2f2b0b[0x1e]),_0x20aa7c=_0x688937(_0x20aa7c,_0x396d29,_0x425d2d,_0x9ae358,_0x11c838,0x14,_0x2f2b0b[0x1f]),_0x9ae358=_0x2d2359(_0x9ae358,_0x20aa7c,_0x396d29,_0x425d2d,_0x3d0137,0x4,_0x2f2b0b[0x20]),_0x425d2d=_0x2d2359(_0x425d2d,_0x9ae358,_0x20aa7c,_0x396d29,_0x4decde,0xb,_0x2f2b0b[0x21]),_0x396d29=_0x2d2359(_0x396d29,_0x425d2d,_0x9ae358,_0x20aa7c,_0x589724,0x10,_0x2f2b0b[0x22]),_0x20aa7c=_0x2d2359(_0x20aa7c,_0x396d29,_0x425d2d,_0x9ae358,_0xcfdeff,0x17,_0x2f2b0b[0x23]),_0x9ae358=_0x2d2359(_0x9ae358,_0x20aa7c,_0x396d29,_0x425d2d,_0x1b2a2b,0x4,_0x2f2b0b[0x24]),_0x425d2d=_0x2d2359(_0x425d2d,_0x9ae358,_0x20aa7c,_0x396d29,_0x59c662,0xb,_0x2f2b0b[0x25]),_0x396d29=_0x2d2359(_0x396d29,_0x425d2d,_0x9ae358,_0x20aa7c,_0x45db9c,0x10,_0x2f2b0b[0x26]),_0x20aa7c=_0x2d2359(_0x20aa7c,_0x396d29,_0x425d2d,_0x9ae358,_0x5aaa4a,0x17,_0x2f2b0b[0x27]),_0x9ae358=_0x2d2359(_0x9ae358,_0x20aa7c,_0x396d29,_0x425d2d,_0x5843f1,0x4,_0x2f2b0b[0x28]),_0x425d2d=_0x2d2359(_0x425d2d,_0x9ae358,_0x20aa7c,_0x396d29,_0x3e3294,0xb,_0x2f2b0b[0x29]),_0x396d29=_0x2d2359(_0x396d29,_0x425d2d,_0x9ae358,_0x20aa7c,_0x35177a,0x10,_0x2f2b0b[0x2a]),_0x20aa7c=_0x2d2359(_0x20aa7c,_0x396d29,_0x425d2d,_0x9ae358,_0x2a33da,0x17,_0x2f2b0b[0x2b]),_0x9ae358=_0x2d2359(_0x9ae358,_0x20aa7c,_0x396d29,_0x425d2d,_0x4ff3fd,0x4,_0x2f2b0b[0x2c]),_0x425d2d=_0x2d2359(_0x425d2d,_0x9ae358,_0x20aa7c,_0x396d29,_0x11c838,0xb,_0x2f2b0b[0x2d]),_0x396d29=_0x2d2359(_0x396d29,_0x425d2d,_0x9ae358,_0x20aa7c,_0x47541b,0x10,_0x2f2b0b[0x2e]),_0x20aa7c=_0x2d2359(_0x20aa7c,_0x396d29,_0x425d2d,_0x9ae358,_0x145c1b,0x17,_0x2f2b0b[0x2f]),_0x9ae358=_0x18a9d9(_0x9ae358,_0x20aa7c,_0x396d29,_0x425d2d,_0x3e3294,0x6,_0x2f2b0b[0x30]),_0x425d2d=_0x18a9d9(_0x425d2d,_0x9ae358,_0x20aa7c,_0x396d29,_0x45db9c,0xa,_0x2f2b0b[0x31]),_0x396d29=_0x18a9d9(_0x396d29,_0x425d2d,_0x9ae358,_0x20aa7c,_0xcfdeff,0xf,_0x2f2b0b[0x32]),_0x20aa7c=_0x18a9d9(_0x20aa7c,_0x396d29,_0x425d2d,_0x9ae358,_0x3d0137,0x15,_0x2f2b0b[0x33]),_0x9ae358=_0x18a9d9(_0x9ae358,_0x20aa7c,_0x396d29,_0x425d2d,_0x11c838,0x6,_0x2f2b0b[0x34]),_0x425d2d=_0x18a9d9(_0x425d2d,_0x9ae358,_0x20aa7c,_0x396d29,_0x35177a,0xa,_0x2f2b0b[0x35]),_0x396d29=_0x18a9d9(_0x396d29,_0x425d2d,_0x9ae358,_0x20aa7c,_0x5aaa4a,0xf,_0x2f2b0b[0x36]),_0x20aa7c=_0x18a9d9(_0x20aa7c,_0x396d29,_0x425d2d,_0x9ae358,_0x1b2a2b,0x15,_0x2f2b0b[0x37]),_0x9ae358=_0x18a9d9(_0x9ae358,_0x20aa7c,_0x396d29,_0x425d2d,_0x4decde,0x6,_0x2f2b0b[0x38]),_0x425d2d=_0x18a9d9(_0x425d2d,_0x9ae358,_0x20aa7c,_0x396d29,_0x47541b,0xa,_0x2f2b0b[0x39]),_0x396d29=_0x18a9d9(_0x396d29,_0x425d2d,_0x9ae358,_0x20aa7c,_0x2a33da,0xf,_0x2f2b0b[0x3a]),_0x20aa7c=_0x18a9d9(_0x20aa7c,_0x396d29,_0x425d2d,_0x9ae358,_0x5843f1,0x15,_0x2f2b0b[0x3b]),_0x9ae358=_0x18a9d9(_0x9ae358,_0x20aa7c,_0x396d29,_0x425d2d,_0x59c662,0x6,_0x2f2b0b[0x3c]),_0x425d2d=_0x18a9d9(_0x425d2d,_0x9ae358,_0x20aa7c,_0x396d29,_0x589724,0xa,_0x2f2b0b[0x3d]),_0x396d29=_0x18a9d9(_0x396d29,_0x425d2d,_0x9ae358,_0x20aa7c,_0x145c1b,0xf,_0x2f2b0b[0x3e]),_0x20aa7c=_0x18a9d9(_0x20aa7c,_0x396d29,_0x425d2d,_0x9ae358,_0x4ff3fd,0x15,_0x2f2b0b[0x3f]),_0x41d6d3[0x0]=_0x41d6d3[0x0]+_0x9ae358|0x0,_0x41d6d3[0x1]=_0x41d6d3[0x1]+_0x20aa7c|0x0,_0x41d6d3[0x2]=_0x41d6d3[0x2]+_0x396d29|0x0,_0x41d6d3[0x3]=_0x41d6d3[0x3]+_0x425d2d|0x0;},'_doFinalize':function(){var _0x2f4007=_0x3843b6,_0x5cc1a6=this[_0x2f4007(0x312)],_0x303742=_0x5cc1a6['words'],_0x39e183=this[_0x2f4007(0x3c6)]*0x8,_0x12e521=_0x5cc1a6['sigBytes']*0x8;_0x303742[_0x12e521>>>0x5]|=0x80<<0x18-_0x12e521%0x20;var _0x27bc78=_0x2911c1[_0x2f4007(0x3c8)](_0x39e183/0x100000000),_0x3558ca=_0x39e183;_0x303742[(_0x12e521+0x40>>>0x9<<0x4)+0xf]=(_0x27bc78<<0x8|_0x27bc78>>>0x18)&0xff00ff|(_0x27bc78<<0x18|_0x27bc78>>>0x8)&0xff00ff00,_0x303742[(_0x12e521+0x40>>>0x9<<0x4)+0xe]=(_0x3558ca<<0x8|_0x3558ca>>>0x18)&0xff00ff|(_0x3558ca<<0x18|_0x3558ca>>>0x8)&0xff00ff00,_0x5cc1a6['sigBytes']=(_0x303742[_0x2f4007(0x385)]+0x1)*0x4,this['_process']();for(var _0x505020=this[_0x2f4007(0x1da)],_0x110806=_0x505020[_0x2f4007(0xed)],_0x380bd8=0x0;_0x380bd8<0x4;_0x380bd8++){var _0x14d5e6=_0x110806[_0x380bd8];_0x110806[_0x380bd8]=(_0x14d5e6<<0x8|_0x14d5e6>>>0x18)&0xff00ff|(_0x14d5e6<<0x18|_0x14d5e6>>>0x8)&0xff00ff00;}return _0x505020;},'clone':function(){var _0x13f071=_0x3843b6,_0x3cf36e=_0x59adf6[_0x13f071(0x3a6)]['call'](this);return _0x3cf36e[_0x13f071(0x1da)]=this[_0x13f071(0x1da)]['clone'](),_0x3cf36e;}});function _0x965b87(_0x30e750,_0x561991,_0x1b63c8,_0xad5eaa,_0x13c515,_0x40fdbf,_0x49be1b){var _0x5651f6=_0x30e750+(_0x561991&_0x1b63c8|~_0x561991&_0xad5eaa)+_0x13c515+_0x49be1b;return(_0x5651f6<<_0x40fdbf|_0x5651f6>>>0x20-_0x40fdbf)+_0x561991;}function _0x688937(_0x32ae58,_0xcc45c0,_0x584d90,_0x2cd986,_0xb6d059,_0x6f9407,_0x1d4ff0){var _0xff42c3=_0x32ae58+(_0xcc45c0&_0x2cd986|_0x584d90&~_0x2cd986)+_0xb6d059+_0x1d4ff0;return(_0xff42c3<<_0x6f9407|_0xff42c3>>>0x20-_0x6f9407)+_0xcc45c0;}function _0x2d2359(_0x217731,_0x441b22,_0xfae8fb,_0x5328ed,_0x2bb223,_0xad4d6f,_0x4029db){var _0x3d80fd=_0x217731+(_0x441b22^_0xfae8fb^_0x5328ed)+_0x2bb223+_0x4029db;return(_0x3d80fd<<_0xad4d6f|_0x3d80fd>>>0x20-_0xad4d6f)+_0x441b22;}function _0x18a9d9(_0x4d76cd,_0x5667a2,_0x3ed522,_0x28f9d7,_0x38c09b,_0x4a322c,_0x5a217e){var _0x131121=_0x4d76cd+(_0x3ed522^(_0x5667a2|~_0x28f9d7))+_0x38c09b+_0x5a217e;return(_0x131121<<_0x4a322c|_0x131121>>>0x20-_0x4a322c)+_0x5667a2;}_0x26e9e6['MD5']=_0x59adf6[_0x3843b6(0xfe)](_0x403afc),_0x26e9e6[_0x3843b6(0x2d4)]=_0x59adf6[_0x3843b6(0x14b)](_0x403afc);}(Math),_0x171150[_0xae15d2(0x319)];}));}(Ye)),Ye[_0x5a0733(0x2e0)];}var Ke={'exports':{}},qe={'exports':{}},Cs=qe[_0x37581e(0x2e0)],ei;function Rs(){var _0x334a17=_0x37581e;return ei||(ei=0x1,function(_0x558519,_0x499bf4){(function(_0x56c1eb,_0x2590db){var _0x385221=_0x25ef;_0x558519[_0x385221(0x2e0)]=_0x2590db(ie());}(Cs,function(_0x5369fc){return(function(){var _0x3ae05c=_0x25ef,_0x2165f3=_0x5369fc,_0x3b0a08=_0x2165f3['lib'],_0x5b902b=_0x3b0a08[_0x3ae05c(0x2c6)],_0x5baf49=_0x3b0a08['Hasher'],_0x461371=_0x2165f3[_0x3ae05c(0x3a8)],_0x342c6b=[],_0x59cc7b=_0x461371[_0x3ae05c(0x2ca)]=_0x5baf49[_0x3ae05c(0x163)]({'_doReset':function(){var _0x3e0d4c=_0x3ae05c;this[_0x3e0d4c(0x1da)]=new _0x5b902b['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x6cfa4d,_0x2125d2){var _0x20bfc5=_0x3ae05c;for(var _0x2ef444=this[_0x20bfc5(0x1da)]['words'],_0x34e960=_0x2ef444[0x0],_0x4bbdd2=_0x2ef444[0x1],_0x476db8=_0x2ef444[0x2],_0x1b4c50=_0x2ef444[0x3],_0x3f0fe0=_0x2ef444[0x4],_0xf9183f=0x0;_0xf9183f<0x50;_0xf9183f++){if(_0xf9183f<0x10)_0x342c6b[_0xf9183f]=_0x6cfa4d[_0x2125d2+_0xf9183f]|0x0;else{var _0x4ad8ca=_0x342c6b[_0xf9183f-0x3]^_0x342c6b[_0xf9183f-0x8]^_0x342c6b[_0xf9183f-0xe]^_0x342c6b[_0xf9183f-0x10];_0x342c6b[_0xf9183f]=_0x4ad8ca<<0x1|_0x4ad8ca>>>0x1f;}var _0x5e4c3a=(_0x34e960<<0x5|_0x34e960>>>0x1b)+_0x3f0fe0+_0x342c6b[_0xf9183f];_0xf9183f<0x14?_0x5e4c3a+=(_0x4bbdd2&_0x476db8|~_0x4bbdd2&_0x1b4c50)+0x5a827999:_0xf9183f<0x28?_0x5e4c3a+=(_0x4bbdd2^_0x476db8^_0x1b4c50)+0x6ed9eba1:_0xf9183f<0x3c?_0x5e4c3a+=(_0x4bbdd2&_0x476db8|_0x4bbdd2&_0x1b4c50|_0x476db8&_0x1b4c50)-0x70e44324:_0x5e4c3a+=(_0x4bbdd2^_0x476db8^_0x1b4c50)-0x359d3e2a,_0x3f0fe0=_0x1b4c50,_0x1b4c50=_0x476db8,_0x476db8=_0x4bbdd2<<0x1e|_0x4bbdd2>>>0x2,_0x4bbdd2=_0x34e960,_0x34e960=_0x5e4c3a;}_0x2ef444[0x0]=_0x2ef444[0x0]+_0x34e960|0x0,_0x2ef444[0x1]=_0x2ef444[0x1]+_0x4bbdd2|0x0,_0x2ef444[0x2]=_0x2ef444[0x2]+_0x476db8|0x0,_0x2ef444[0x3]=_0x2ef444[0x3]+_0x1b4c50|0x0,_0x2ef444[0x4]=_0x2ef444[0x4]+_0x3f0fe0|0x0;},'_doFinalize':function(){var _0x3d5f3a=_0x3ae05c,_0x1e72cb=this[_0x3d5f3a(0x312)],_0x3116b7=_0x1e72cb[_0x3d5f3a(0xed)],_0x352153=this[_0x3d5f3a(0x3c6)]*0x8,_0x1e94cd=_0x1e72cb['sigBytes']*0x8;return _0x3116b7[_0x1e94cd>>>0x5]|=0x80<<0x18-_0x1e94cd%0x20,_0x3116b7[(_0x1e94cd+0x40>>>0x9<<0x4)+0xe]=Math['floor'](_0x352153/0x100000000),_0x3116b7[(_0x1e94cd+0x40>>>0x9<<0x4)+0xf]=_0x352153,_0x1e72cb[_0x3d5f3a(0x142)]=_0x3116b7['length']*0x4,this[_0x3d5f3a(0x362)](),this['_hash'];},'clone':function(){var _0x7def77=_0x3ae05c,_0x2d8a66=_0x5baf49[_0x7def77(0x3a6)][_0x7def77(0x36b)](this);return _0x2d8a66[_0x7def77(0x1da)]=this[_0x7def77(0x1da)][_0x7def77(0x3a6)](),_0x2d8a66;}});_0x2165f3[_0x3ae05c(0x2ca)]=_0x5baf49[_0x3ae05c(0xfe)](_0x59cc7b),_0x2165f3['HmacSHA1']=_0x5baf49[_0x3ae05c(0x14b)](_0x59cc7b);}()),_0x5369fc['SHA1'];}));}(qe)),qe[_0x334a17(0x2e0)];}var ze={'exports':{}},bs=ze['exports'],ti;function Os(){var _0x1c77b8=_0x37581e;return ti||(ti=0x1,function(_0x26096a,_0x260170){(function(_0x19d6c8,_0x1d3c08){var _0x22e24f=_0x25ef;_0x26096a[_0x22e24f(0x2e0)]=_0x1d3c08(ie());}(bs,function(_0xa2b2fe){(function(){var _0x3eedf9=_0x25ef,_0x1b3894=_0xa2b2fe,_0x222748=_0x1b3894['lib'],_0x46f16a=_0x222748[_0x3eedf9(0x204)],_0x327ada=_0x1b3894['enc'],_0xe12b3f=_0x327ada['Utf8'],_0x31c96f=_0x1b3894['algo'];_0x31c96f[_0x3eedf9(0x150)]=_0x46f16a['extend']({'init':function(_0xa5f6c8,_0x1f11b5){var _0x1de476=_0x3eedf9;_0xa5f6c8=this['_hasher']=new _0xa5f6c8[(_0x1de476(0x2cb))](),typeof _0x1f11b5=='string'&&(_0x1f11b5=_0xe12b3f['parse'](_0x1f11b5));var _0x43d6ea=_0xa5f6c8[_0x1de476(0x3d5)],_0x2a946e=_0x43d6ea*0x4;_0x1f11b5[_0x1de476(0x142)]>_0x2a946e&&(_0x1f11b5=_0xa5f6c8[_0x1de476(0x2e6)](_0x1f11b5)),_0x1f11b5[_0x1de476(0x3e9)]();for(var _0x3030a9=this[_0x1de476(0x340)]=_0x1f11b5['clone'](),_0x579bff=this['_iKey']=_0x1f11b5[_0x1de476(0x3a6)](),_0x54ecdb=_0x3030a9[_0x1de476(0xed)],_0x207260=_0x579bff[_0x1de476(0xed)],_0x12d89e=0x0;_0x12d89e<_0x43d6ea;_0x12d89e++)_0x54ecdb[_0x12d89e]^=0x5c5c5c5c,_0x207260[_0x12d89e]^=0x36363636;_0x3030a9[_0x1de476(0x142)]=_0x579bff[_0x1de476(0x142)]=_0x2a946e,this['reset']();},'reset':function(){var _0x8ba243=_0x3eedf9,_0x52b78b=this[_0x8ba243(0x1cb)];_0x52b78b[_0x8ba243(0x107)](),_0x52b78b[_0x8ba243(0x36f)](this[_0x8ba243(0x306)]);},'update':function(_0x56a5a6){var _0xb9dff2=_0x3eedf9;return this[_0xb9dff2(0x1cb)][_0xb9dff2(0x36f)](_0x56a5a6),this;},'finalize':function(_0x24133b){var _0x47e861=_0x3eedf9,_0x53192e=this[_0x47e861(0x1cb)],_0x200561=_0x53192e[_0x47e861(0x2e6)](_0x24133b);_0x53192e[_0x47e861(0x107)]();var _0x4b3ee3=_0x53192e[_0x47e861(0x2e6)](this['_oKey'][_0x47e861(0x3a6)]()[_0x47e861(0x363)](_0x200561));return _0x4b3ee3;}});}());}));}(ze)),ze[_0x1c77b8(0x2e0)];}var ys=Ke[_0x37581e(0x2e0)],ii;function Ui(){return ii||(ii=0x1,function(_0x4dc6df,_0x38aad4){(function(_0x22fb73,_0x40c16a,_0x4cb70a){_0x4dc6df['exports']=_0x40c16a(ie(),Rs(),Os());}(ys,function(_0x1952ab){var _0x17c119=_0x25ef;return(function(){var _0x520251=_0x25ef,_0x4d4f09=_0x1952ab,_0x42eb49=_0x4d4f09[_0x520251(0x336)],_0xed88ab=_0x42eb49['Base'],_0x5723d9=_0x42eb49['WordArray'],_0x5695cf=_0x4d4f09[_0x520251(0x3a8)],_0x3c90d9=_0x5695cf[_0x520251(0x319)],_0x101cbc=_0x5695cf[_0x520251(0x34a)]=_0xed88ab['extend']({'cfg':_0xed88ab[_0x520251(0x163)]({'keySize':0x80/0x20,'hasher':_0x3c90d9,'iterations':0x1}),'init':function(_0x4ce0f2){var _0x195295=_0x520251;this[_0x195295(0x1fe)]=this[_0x195295(0x1fe)]['extend'](_0x4ce0f2);},'compute':function(_0x1e5181,_0x2a7797){var _0x55d4fe=_0x520251;for(var _0x1ce50d,_0x3332c9=this[_0x55d4fe(0x1fe)],_0xc5ccaa=_0x3332c9[_0x55d4fe(0x387)]['create'](),_0x4e126a=_0x5723d9[_0x55d4fe(0x19f)](),_0x26d792=_0x4e126a[_0x55d4fe(0xed)],_0x328a6f=_0x3332c9[_0x55d4fe(0xf9)],_0x2d2b64=_0x3332c9[_0x55d4fe(0x366)];_0x26d792[_0x55d4fe(0x385)]<_0x328a6f;){_0x1ce50d&&_0xc5ccaa[_0x55d4fe(0x36f)](_0x1ce50d),_0x1ce50d=_0xc5ccaa['update'](_0x1e5181)['finalize'](_0x2a7797),_0xc5ccaa[_0x55d4fe(0x107)]();for(var _0x5f15d2=0x1;_0x5f15d2<_0x2d2b64;_0x5f15d2++)_0x1ce50d=_0xc5ccaa['finalize'](_0x1ce50d),_0xc5ccaa['reset']();_0x4e126a[_0x55d4fe(0x363)](_0x1ce50d);}return _0x4e126a[_0x55d4fe(0x142)]=_0x328a6f*0x4,_0x4e126a;}});_0x4d4f09[_0x520251(0x34a)]=function(_0x56da77,_0x3d375e,_0x3491ea){var _0x204971=_0x520251;return _0x101cbc[_0x204971(0x19f)](_0x3491ea)[_0x204971(0x300)](_0x56da77,_0x3d375e);};}()),_0x1952ab[_0x17c119(0x34a)];}));}(Ke)),Ke['exports'];}var Je={'exports':{}},Ns=Je[_0x37581e(0x2e0)],ni;function Ai(){var _0x19198=_0x37581e;return ni||(ni=0x1,function(_0x27f790,_0x16d61f){(function(_0x42ff97,_0xd54389,_0x1b4fe1){_0x27f790['exports']=_0xd54389(ie(),Ui());}(Ns,function(_0xd50e6){var _0x3d0945=_0x25ef;_0xd50e6[_0x3d0945(0x336)][_0x3d0945(0x3c9)]||function(_0x34c483){var _0x2d7222=_0x3d0945,_0x45b48b=_0xd50e6,_0x212178=_0x45b48b[_0x2d7222(0x336)],_0x169c9f=_0x212178[_0x2d7222(0x204)],_0x5a5cc0=_0x212178[_0x2d7222(0x2c6)],_0x1687a3=_0x212178['BufferedBlockAlgorithm'],_0x178944=_0x45b48b['enc'];_0x178944[_0x2d7222(0x391)];var _0x117c8a=_0x178944[_0x2d7222(0x2af)],_0x4275aa=_0x45b48b[_0x2d7222(0x3a8)],_0x1e94df=_0x4275aa[_0x2d7222(0x34a)],_0x228ed5=_0x212178[_0x2d7222(0x3c9)]=_0x1687a3[_0x2d7222(0x163)]({'cfg':_0x169c9f['extend'](),'createEncryptor':function(_0x1acb71,_0x35ca65){var _0x409f89=_0x2d7222;return this[_0x409f89(0x19f)](this[_0x409f89(0x349)],_0x1acb71,_0x35ca65);},'createDecryptor':function(_0x2e05ed,_0x3030b8){var _0x32cbdc=_0x2d7222;return this[_0x32cbdc(0x19f)](this[_0x32cbdc(0x13e)],_0x2e05ed,_0x3030b8);},'init':function(_0x446ed4,_0x28acaa,_0x75b872){var _0x52816a=_0x2d7222;this[_0x52816a(0x1fe)]=this[_0x52816a(0x1fe)][_0x52816a(0x163)](_0x75b872),this[_0x52816a(0x369)]=_0x446ed4,this[_0x52816a(0x2d9)]=_0x28acaa,this[_0x52816a(0x107)]();},'reset':function(){var _0x163de8=_0x2d7222;_0x1687a3[_0x163de8(0x107)][_0x163de8(0x36b)](this),this[_0x163de8(0x229)]();},'process':function(_0x40a112){var _0x2516cf=_0x2d7222;return this['_append'](_0x40a112),this[_0x2516cf(0x362)]();},'finalize':function(_0x2ca4ae){var _0x1ca909=_0x2d7222;_0x2ca4ae&&this[_0x1ca909(0x35e)](_0x2ca4ae);var _0x44b793=this[_0x1ca909(0x206)]();return _0x44b793;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x288bac(_0x170b47){var _0x29a6e3=_0x25ef;return typeof _0x170b47==_0x29a6e3(0x101)?_0x2dc6e4:_0x43b78e;}return function(_0x4d9a04){return{'encrypt':function(_0x37ae88,_0xd5b863,_0xc13b43){var _0x2e8f2c=_0x25ef;return _0x288bac(_0xd5b863)[_0x2e8f2c(0x353)](_0x4d9a04,_0x37ae88,_0xd5b863,_0xc13b43);},'decrypt':function(_0xbb8af5,_0x1be342,_0x2519a8){var _0x5463ce=_0x25ef;return _0x288bac(_0x1be342)[_0x5463ce(0x38b)](_0x4d9a04,_0xbb8af5,_0x1be342,_0x2519a8);}};};}())});_0x212178[_0x2d7222(0x187)]=_0x228ed5[_0x2d7222(0x163)]({'_doFinalize':function(){var _0x11b061=this['_process'](!0x0);return _0x11b061;},'blockSize':0x1});var _0x5636fb=_0x45b48b[_0x2d7222(0x25d)]={},_0x1b58d5=_0x212178[_0x2d7222(0x231)]=_0x169c9f[_0x2d7222(0x163)]({'createEncryptor':function(_0x33fca2,_0x5a3815){var _0x307034=_0x2d7222;return this[_0x307034(0x35a)]['create'](_0x33fca2,_0x5a3815);},'createDecryptor':function(_0x589efa,_0x27c29a){var _0x30a769=_0x2d7222;return this[_0x30a769(0x164)][_0x30a769(0x19f)](_0x589efa,_0x27c29a);},'init':function(_0x10046d,_0x5de855){var _0x4ae898=_0x2d7222;this[_0x4ae898(0x15f)]=_0x10046d,this['_iv']=_0x5de855;}}),_0x4ec16e=_0x5636fb['CBC']=(function(){var _0x2c8b55=_0x2d7222,_0x2ab647=_0x1b58d5[_0x2c8b55(0x163)]();_0x2ab647[_0x2c8b55(0x35a)]=_0x2ab647[_0x2c8b55(0x163)]({'processBlock':function(_0x5bb72e,_0x3b135c){var _0xd25805=_0x2c8b55,_0x4fd9f2=this[_0xd25805(0x15f)],_0x10bf20=_0x4fd9f2[_0xd25805(0x3d5)];_0x4958b1[_0xd25805(0x36b)](this,_0x5bb72e,_0x3b135c,_0x10bf20),_0x4fd9f2[_0xd25805(0x367)](_0x5bb72e,_0x3b135c),this[_0xd25805(0x1e4)]=_0x5bb72e[_0xd25805(0x14a)](_0x3b135c,_0x3b135c+_0x10bf20);}}),_0x2ab647['Decryptor']=_0x2ab647[_0x2c8b55(0x163)]({'processBlock':function(_0x2d6d9d,_0x46de19){var _0x107cc4=_0x2c8b55,_0x128d5e=this[_0x107cc4(0x15f)],_0x2064b7=_0x128d5e['blockSize'],_0x3501ee=_0x2d6d9d['slice'](_0x46de19,_0x46de19+_0x2064b7);_0x128d5e[_0x107cc4(0x283)](_0x2d6d9d,_0x46de19),_0x4958b1[_0x107cc4(0x36b)](this,_0x2d6d9d,_0x46de19,_0x2064b7),this['_prevBlock']=_0x3501ee;}});function _0x4958b1(_0x2bd8a1,_0x53e8c5,_0x191e92){var _0x20d5ae=_0x2c8b55,_0x262b8e,_0x546459=this['_iv'];_0x546459?(_0x262b8e=_0x546459,this[_0x20d5ae(0x368)]=_0x34c483):_0x262b8e=this[_0x20d5ae(0x1e4)];for(var _0x3f291f=0x0;_0x3f291f<_0x191e92;_0x3f291f++)_0x2bd8a1[_0x53e8c5+_0x3f291f]^=_0x262b8e[_0x3f291f];}return _0x2ab647;}()),_0x167e86=_0x45b48b[_0x2d7222(0x281)]={},_0x10fb4c=_0x167e86[_0x2d7222(0x338)]={'pad':function(_0x58ba30,_0x13d6d9){var _0x410fd3=_0x2d7222;for(var _0x118154=_0x13d6d9*0x4,_0x2184c9=_0x118154-_0x58ba30[_0x410fd3(0x142)]%_0x118154,_0x386d22=_0x2184c9<<0x18|_0x2184c9<<0x10|_0x2184c9<<0x8|_0x2184c9,_0x37f1e3=[],_0x561217=0x0;_0x561217<_0x2184c9;_0x561217+=0x4)_0x37f1e3[_0x410fd3(0x2a8)](_0x386d22);var _0x1e9e0d=_0x5a5cc0['create'](_0x37f1e3,_0x2184c9);_0x58ba30[_0x410fd3(0x363)](_0x1e9e0d);},'unpad':function(_0x360018){var _0x5446fe=_0x2d7222,_0x24cc26=_0x360018[_0x5446fe(0xed)][_0x360018[_0x5446fe(0x142)]-0x1>>>0x2]&0xff;_0x360018['sigBytes']-=_0x24cc26;}};_0x212178[_0x2d7222(0x392)]=_0x228ed5[_0x2d7222(0x163)]({'cfg':_0x228ed5[_0x2d7222(0x1fe)][_0x2d7222(0x163)]({'mode':_0x4ec16e,'padding':_0x10fb4c}),'reset':function(){var _0x4885f9=_0x2d7222,_0x4b0fef;_0x228ed5[_0x4885f9(0x107)][_0x4885f9(0x36b)](this);var _0x4c3cd7=this['cfg'],_0x189173=_0x4c3cd7['iv'],_0x54524b=_0x4c3cd7[_0x4885f9(0x25d)];this[_0x4885f9(0x369)]==this['_ENC_XFORM_MODE']?_0x4b0fef=_0x54524b[_0x4885f9(0x2ee)]:(_0x4b0fef=_0x54524b[_0x4885f9(0x297)],this[_0x4885f9(0x35f)]=0x1),this['_mode']&&this['_mode']['__creator']==_0x4b0fef?this[_0x4885f9(0x30c)][_0x4885f9(0x2cb)](this,_0x189173&&_0x189173[_0x4885f9(0xed)]):(this[_0x4885f9(0x30c)]=_0x4b0fef['call'](_0x54524b,this,_0x189173&&_0x189173[_0x4885f9(0xed)]),this[_0x4885f9(0x30c)][_0x4885f9(0x1c3)]=_0x4b0fef);},'_doProcessBlock':function(_0x2a6c45,_0x2e8446){var _0x42bae0=_0x2d7222;this[_0x42bae0(0x30c)][_0x42bae0(0x2e3)](_0x2a6c45,_0x2e8446);},'_doFinalize':function(){var _0x6b36d9=_0x2d7222,_0x1abd3a,_0x197a30=this[_0x6b36d9(0x1fe)]['padding'];return this[_0x6b36d9(0x369)]==this[_0x6b36d9(0x349)]?(_0x197a30[_0x6b36d9(0x281)](this[_0x6b36d9(0x312)],this[_0x6b36d9(0x3d5)]),_0x1abd3a=this['_process'](!0x0)):(_0x1abd3a=this[_0x6b36d9(0x362)](!0x0),_0x197a30[_0x6b36d9(0x370)](_0x1abd3a)),_0x1abd3a;},'blockSize':0x80/0x20});var _0x10512a=_0x212178['CipherParams']=_0x169c9f[_0x2d7222(0x163)]({'init':function(_0x1027de){this['mixIn'](_0x1027de);},'toString':function(_0x13887b){var _0x246f8d=_0x2d7222;return(_0x13887b||this['formatter'])[_0x246f8d(0x37f)](this);}}),_0x19e812=_0x45b48b[_0x2d7222(0x19d)]={},_0x4dc967=_0x19e812[_0x2d7222(0x27f)]={'stringify':function(_0x28e459){var _0x261766=_0x2d7222,_0x4dafa2,_0x54de3a=_0x28e459['ciphertext'],_0x5a6e24=_0x28e459[_0x261766(0x1bf)];return _0x5a6e24?_0x4dafa2=_0x5a5cc0[_0x261766(0x19f)]([0x53616c74,0x65645f5f])[_0x261766(0x363)](_0x5a6e24)[_0x261766(0x363)](_0x54de3a):_0x4dafa2=_0x54de3a,_0x4dafa2[_0x261766(0x33b)](_0x117c8a);},'parse':function(_0x33c8f6){var _0x59ed2a=_0x2d7222,_0xbc0a30,_0x40bf55=_0x117c8a[_0x59ed2a(0x2e7)](_0x33c8f6),_0x452c90=_0x40bf55[_0x59ed2a(0xed)];return _0x452c90[0x0]==0x53616c74&&_0x452c90[0x1]==0x65645f5f&&(_0xbc0a30=_0x5a5cc0['create'](_0x452c90[_0x59ed2a(0x14a)](0x2,0x4)),_0x452c90[_0x59ed2a(0x155)](0x0,0x4),_0x40bf55[_0x59ed2a(0x142)]-=0x10),_0x10512a[_0x59ed2a(0x19f)]({'ciphertext':_0x40bf55,'salt':_0xbc0a30});}},_0x43b78e=_0x212178[_0x2d7222(0x30b)]=_0x169c9f[_0x2d7222(0x163)]({'cfg':_0x169c9f[_0x2d7222(0x163)]({'format':_0x4dc967}),'encrypt':function(_0x31c973,_0x55889e,_0x4b69b0,_0xfb9165){var _0x3ea439=_0x2d7222;_0xfb9165=this['cfg'][_0x3ea439(0x163)](_0xfb9165);var _0x5adde4=_0x31c973['createEncryptor'](_0x4b69b0,_0xfb9165),_0x127602=_0x5adde4['finalize'](_0x55889e),_0x3cabbd=_0x5adde4[_0x3ea439(0x1fe)];return _0x10512a[_0x3ea439(0x19f)]({'ciphertext':_0x127602,'key':_0x4b69b0,'iv':_0x3cabbd['iv'],'algorithm':_0x31c973,'mode':_0x3cabbd['mode'],'padding':_0x3cabbd[_0x3ea439(0x1ea)],'blockSize':_0x31c973[_0x3ea439(0x3d5)],'formatter':_0xfb9165[_0x3ea439(0x19d)]});},'decrypt':function(_0x163b71,_0x311602,_0x325653,_0x12c955){var _0x1e8095=_0x2d7222;_0x12c955=this[_0x1e8095(0x1fe)][_0x1e8095(0x163)](_0x12c955),_0x311602=this[_0x1e8095(0x22c)](_0x311602,_0x12c955[_0x1e8095(0x19d)]);var _0x460b38=_0x163b71[_0x1e8095(0x297)](_0x325653,_0x12c955)[_0x1e8095(0x2e6)](_0x311602['ciphertext']);return _0x460b38;},'_parse':function(_0x4fe1fe,_0x4c8be1){var _0x481596=_0x2d7222;return typeof _0x4fe1fe==_0x481596(0x101)?_0x4c8be1['parse'](_0x4fe1fe,this):_0x4fe1fe;}}),_0x718338=_0x45b48b[_0x2d7222(0x156)]={},_0x324df8=_0x718338[_0x2d7222(0x27f)]={'execute':function(_0x195f53,_0x2dff2d,_0x220a69,_0x359b79,_0x316019){var _0x46a274=_0x2d7222;if(_0x359b79||(_0x359b79=_0x5a5cc0[_0x46a274(0x380)](0x40/0x8)),_0x316019)var _0x52eae5=_0x1e94df[_0x46a274(0x19f)]({'keySize':_0x2dff2d+_0x220a69,'hasher':_0x316019})[_0x46a274(0x300)](_0x195f53,_0x359b79);else var _0x52eae5=_0x1e94df[_0x46a274(0x19f)]({'keySize':_0x2dff2d+_0x220a69})['compute'](_0x195f53,_0x359b79);var _0x1c6433=_0x5a5cc0['create'](_0x52eae5['words'][_0x46a274(0x14a)](_0x2dff2d),_0x220a69*0x4);return _0x52eae5[_0x46a274(0x142)]=_0x2dff2d*0x4,_0x10512a[_0x46a274(0x19f)]({'key':_0x52eae5,'iv':_0x1c6433,'salt':_0x359b79});}},_0x2dc6e4=_0x212178['PasswordBasedCipher']=_0x43b78e[_0x2d7222(0x163)]({'cfg':_0x43b78e[_0x2d7222(0x1fe)][_0x2d7222(0x163)]({'kdf':_0x324df8}),'encrypt':function(_0x11e5aa,_0x59a4bd,_0x4f489d,_0xc25e4){var _0x1d9ec4=_0x2d7222;_0xc25e4=this['cfg'][_0x1d9ec4(0x163)](_0xc25e4);var _0x236010=_0xc25e4[_0x1d9ec4(0x156)][_0x1d9ec4(0x1e3)](_0x4f489d,_0x11e5aa[_0x1d9ec4(0xf9)],_0x11e5aa[_0x1d9ec4(0x29b)],_0xc25e4[_0x1d9ec4(0x1bf)],_0xc25e4['hasher']);_0xc25e4['iv']=_0x236010['iv'];var _0x5a986b=_0x43b78e[_0x1d9ec4(0x353)][_0x1d9ec4(0x36b)](this,_0x11e5aa,_0x59a4bd,_0x236010[_0x1d9ec4(0x2bf)],_0xc25e4);return _0x5a986b['mixIn'](_0x236010),_0x5a986b;},'decrypt':function(_0x1a48ac,_0x4b541a,_0x334783,_0xee16e8){var _0x46e5c5=_0x2d7222;_0xee16e8=this['cfg']['extend'](_0xee16e8),_0x4b541a=this['_parse'](_0x4b541a,_0xee16e8[_0x46e5c5(0x19d)]);var _0x3e80ed=_0xee16e8[_0x46e5c5(0x156)][_0x46e5c5(0x1e3)](_0x334783,_0x1a48ac[_0x46e5c5(0xf9)],_0x1a48ac[_0x46e5c5(0x29b)],_0x4b541a['salt'],_0xee16e8[_0x46e5c5(0x387)]);_0xee16e8['iv']=_0x3e80ed['iv'];var _0x2a58e6=_0x43b78e[_0x46e5c5(0x38b)][_0x46e5c5(0x36b)](this,_0x1a48ac,_0x4b541a,_0x3e80ed[_0x46e5c5(0x2bf)],_0xee16e8);return _0x2a58e6;}});}();}));}(Je)),Je[_0x19198(0x2e0)];}var Ds=Ve[_0x37581e(0x2e0)],si;function Us(){var _0x102106=_0x37581e;return si||(si=0x1,function(_0x4fcf99,_0x3633bf){(function(_0x5e4ab7,_0x4f0963,_0x2864bf){_0x4fcf99['exports']=_0x4f0963(ie(),Di(),Ts(),Ui(),Ai());}(Ds,function(_0x1d41a5){return(function(){var _0x5e8c2d=_0x25ef,_0x5df28e=_0x1d41a5,_0x4ce3f7=_0x5df28e['lib'],_0x432301=_0x4ce3f7[_0x5e8c2d(0x392)],_0x1597b0=_0x5df28e['algo'],_0x268999=[],_0x1dd456=[],_0x283491=[],_0x404099=[],_0x2bd21c=[],_0x457ecc=[],_0x249d19=[],_0x36241f=[],_0x439593=[],_0xbe87fe=[];(function(){for(var _0x5c4be5=[],_0xdf29d5=0x0;_0xdf29d5<0x100;_0xdf29d5++)_0xdf29d5<0x80?_0x5c4be5[_0xdf29d5]=_0xdf29d5<<0x1:_0x5c4be5[_0xdf29d5]=_0xdf29d5<<0x1^0x11b;for(var _0x48e5e3=0x0,_0x5e8421=0x0,_0xdf29d5=0x0;_0xdf29d5<0x100;_0xdf29d5++){var _0x14ab6c=_0x5e8421^_0x5e8421<<0x1^_0x5e8421<<0x2^_0x5e8421<<0x3^_0x5e8421<<0x4;_0x14ab6c=_0x14ab6c>>>0x8^_0x14ab6c&0xff^0x63,_0x268999[_0x48e5e3]=_0x14ab6c,_0x1dd456[_0x14ab6c]=_0x48e5e3;var _0x631a21=_0x5c4be5[_0x48e5e3],_0x246ee9=_0x5c4be5[_0x631a21],_0x2b3386=_0x5c4be5[_0x246ee9],_0x47110c=_0x5c4be5[_0x14ab6c]*0x101^_0x14ab6c*0x1010100;_0x283491[_0x48e5e3]=_0x47110c<<0x18|_0x47110c>>>0x8,_0x404099[_0x48e5e3]=_0x47110c<<0x10|_0x47110c>>>0x10,_0x2bd21c[_0x48e5e3]=_0x47110c<<0x8|_0x47110c>>>0x18,_0x457ecc[_0x48e5e3]=_0x47110c;var _0x47110c=_0x2b3386*0x1010101^_0x246ee9*0x10001^_0x631a21*0x101^_0x48e5e3*0x1010100;_0x249d19[_0x14ab6c]=_0x47110c<<0x18|_0x47110c>>>0x8,_0x36241f[_0x14ab6c]=_0x47110c<<0x10|_0x47110c>>>0x10,_0x439593[_0x14ab6c]=_0x47110c<<0x8|_0x47110c>>>0x18,_0xbe87fe[_0x14ab6c]=_0x47110c,_0x48e5e3?(_0x48e5e3=_0x631a21^_0x5c4be5[_0x5c4be5[_0x5c4be5[_0x2b3386^_0x631a21]]],_0x5e8421^=_0x5c4be5[_0x5c4be5[_0x5e8421]]):_0x48e5e3=_0x5e8421=0x1;}}());var _0x300e2a=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x1b2f91=_0x1597b0[_0x5e8c2d(0x16c)]=_0x432301[_0x5e8c2d(0x163)]({'_doReset':function(){var _0x5045c9=_0x5e8c2d,_0x3d9adb;if(!(this['_nRounds']&&this[_0x5045c9(0x371)]===this[_0x5045c9(0x2d9)])){for(var _0x203661=this[_0x5045c9(0x371)]=this[_0x5045c9(0x2d9)],_0x222e91=_0x203661['words'],_0x368484=_0x203661[_0x5045c9(0x142)]/0x4,_0x4e3fcd=this['_nRounds']=_0x368484+0x6,_0x1e908d=(_0x4e3fcd+0x1)*0x4,_0x23a4e8=this[_0x5045c9(0x375)]=[],_0xf8d1a3=0x0;_0xf8d1a3<_0x1e908d;_0xf8d1a3++)_0xf8d1a3<_0x368484?_0x23a4e8[_0xf8d1a3]=_0x222e91[_0xf8d1a3]:(_0x3d9adb=_0x23a4e8[_0xf8d1a3-0x1],_0xf8d1a3%_0x368484?_0x368484>0x6&&_0xf8d1a3%_0x368484==0x4&&(_0x3d9adb=_0x268999[_0x3d9adb>>>0x18]<<0x18|_0x268999[_0x3d9adb>>>0x10&0xff]<<0x10|_0x268999[_0x3d9adb>>>0x8&0xff]<<0x8|_0x268999[_0x3d9adb&0xff]):(_0x3d9adb=_0x3d9adb<<0x8|_0x3d9adb>>>0x18,_0x3d9adb=_0x268999[_0x3d9adb>>>0x18]<<0x18|_0x268999[_0x3d9adb>>>0x10&0xff]<<0x10|_0x268999[_0x3d9adb>>>0x8&0xff]<<0x8|_0x268999[_0x3d9adb&0xff],_0x3d9adb^=_0x300e2a[_0xf8d1a3/_0x368484|0x0]<<0x18),_0x23a4e8[_0xf8d1a3]=_0x23a4e8[_0xf8d1a3-_0x368484]^_0x3d9adb);for(var _0x1c5da6=this[_0x5045c9(0x2a4)]=[],_0x91aac6=0x0;_0x91aac6<_0x1e908d;_0x91aac6++){var _0xf8d1a3=_0x1e908d-_0x91aac6;if(_0x91aac6%0x4)var _0x3d9adb=_0x23a4e8[_0xf8d1a3];else var _0x3d9adb=_0x23a4e8[_0xf8d1a3-0x4];_0x91aac6<0x4||_0xf8d1a3<=0x4?_0x1c5da6[_0x91aac6]=_0x3d9adb:_0x1c5da6[_0x91aac6]=_0x249d19[_0x268999[_0x3d9adb>>>0x18]]^_0x36241f[_0x268999[_0x3d9adb>>>0x10&0xff]]^_0x439593[_0x268999[_0x3d9adb>>>0x8&0xff]]^_0xbe87fe[_0x268999[_0x3d9adb&0xff]];}}},'encryptBlock':function(_0x5a2c6c,_0x5a01c5){var _0x426627=_0x5e8c2d;this[_0x426627(0x212)](_0x5a2c6c,_0x5a01c5,this[_0x426627(0x375)],_0x283491,_0x404099,_0x2bd21c,_0x457ecc,_0x268999);},'decryptBlock':function(_0x1e3881,_0x5f0067){var _0x120de0=_0x5e8c2d,_0x1d8836=_0x1e3881[_0x5f0067+0x1];_0x1e3881[_0x5f0067+0x1]=_0x1e3881[_0x5f0067+0x3],_0x1e3881[_0x5f0067+0x3]=_0x1d8836,this[_0x120de0(0x212)](_0x1e3881,_0x5f0067,this['_invKeySchedule'],_0x249d19,_0x36241f,_0x439593,_0xbe87fe,_0x1dd456);var _0x1d8836=_0x1e3881[_0x5f0067+0x1];_0x1e3881[_0x5f0067+0x1]=_0x1e3881[_0x5f0067+0x3],_0x1e3881[_0x5f0067+0x3]=_0x1d8836;},'_doCryptBlock':function(_0x623a0d,_0x45960a,_0x553a86,_0x111e3f,_0xd1725a,_0x5d7dc5,_0x104d3b,_0x2e77a5){var _0x279022=_0x5e8c2d;for(var _0x5c9c73=this[_0x279022(0x105)],_0x317c35=_0x623a0d[_0x45960a]^_0x553a86[0x0],_0x3992c0=_0x623a0d[_0x45960a+0x1]^_0x553a86[0x1],_0x356b09=_0x623a0d[_0x45960a+0x2]^_0x553a86[0x2],_0x175378=_0x623a0d[_0x45960a+0x3]^_0x553a86[0x3],_0x461baa=0x4,_0xc4d1e7=0x1;_0xc4d1e7<_0x5c9c73;_0xc4d1e7++){var _0x55f539=_0x111e3f[_0x317c35>>>0x18]^_0xd1725a[_0x3992c0>>>0x10&0xff]^_0x5d7dc5[_0x356b09>>>0x8&0xff]^_0x104d3b[_0x175378&0xff]^_0x553a86[_0x461baa++],_0x503807=_0x111e3f[_0x3992c0>>>0x18]^_0xd1725a[_0x356b09>>>0x10&0xff]^_0x5d7dc5[_0x175378>>>0x8&0xff]^_0x104d3b[_0x317c35&0xff]^_0x553a86[_0x461baa++],_0x3b29ff=_0x111e3f[_0x356b09>>>0x18]^_0xd1725a[_0x175378>>>0x10&0xff]^_0x5d7dc5[_0x317c35>>>0x8&0xff]^_0x104d3b[_0x3992c0&0xff]^_0x553a86[_0x461baa++],_0x326c94=_0x111e3f[_0x175378>>>0x18]^_0xd1725a[_0x317c35>>>0x10&0xff]^_0x5d7dc5[_0x3992c0>>>0x8&0xff]^_0x104d3b[_0x356b09&0xff]^_0x553a86[_0x461baa++];_0x317c35=_0x55f539,_0x3992c0=_0x503807,_0x356b09=_0x3b29ff,_0x175378=_0x326c94;}var _0x55f539=(_0x2e77a5[_0x317c35>>>0x18]<<0x18|_0x2e77a5[_0x3992c0>>>0x10&0xff]<<0x10|_0x2e77a5[_0x356b09>>>0x8&0xff]<<0x8|_0x2e77a5[_0x175378&0xff])^_0x553a86[_0x461baa++],_0x503807=(_0x2e77a5[_0x3992c0>>>0x18]<<0x18|_0x2e77a5[_0x356b09>>>0x10&0xff]<<0x10|_0x2e77a5[_0x175378>>>0x8&0xff]<<0x8|_0x2e77a5[_0x317c35&0xff])^_0x553a86[_0x461baa++],_0x3b29ff=(_0x2e77a5[_0x356b09>>>0x18]<<0x18|_0x2e77a5[_0x175378>>>0x10&0xff]<<0x10|_0x2e77a5[_0x317c35>>>0x8&0xff]<<0x8|_0x2e77a5[_0x3992c0&0xff])^_0x553a86[_0x461baa++],_0x326c94=(_0x2e77a5[_0x175378>>>0x18]<<0x18|_0x2e77a5[_0x317c35>>>0x10&0xff]<<0x10|_0x2e77a5[_0x3992c0>>>0x8&0xff]<<0x8|_0x2e77a5[_0x356b09&0xff])^_0x553a86[_0x461baa++];_0x623a0d[_0x45960a]=_0x55f539,_0x623a0d[_0x45960a+0x1]=_0x503807,_0x623a0d[_0x45960a+0x2]=_0x3b29ff,_0x623a0d[_0x45960a+0x3]=_0x326c94;},'keySize':0x100/0x20});_0x5df28e['AES']=_0x432301[_0x5e8c2d(0xfe)](_0x1b2f91);}()),_0x1d41a5['AES'];}));}(Ve)),Ve[_0x102106(0x2e0)];}var As=Us();const ws=He(As);var Ps=Di();const ri=He(Ps);var Xe={'exports':{}},Ls=Xe['exports'],ai;function Ms(){return ai||(ai=0x1,function(_0x2b48a8,_0x87752b){(function(_0xe3d03,_0x4b9521){var _0x3f827d=_0x25ef;_0x2b48a8[_0x3f827d(0x2e0)]=_0x4b9521(ie());}(Ls,function(_0x4194dc){var _0x58d298=_0x25ef;return _0x4194dc[_0x58d298(0x3ae)]['Utf8'];}));}(Xe)),Xe['exports'];}var xs=Ms();const ks=He(xs);var Ze={'exports':{}},$s=Ze[_0x37581e(0x2e0)],oi;function Hs(){var _0x5976ae=_0x37581e;return oi||(oi=0x1,function(_0xe7f8a1,_0x19864c){(function(_0x16e06f,_0x4e4ff5){_0xe7f8a1['exports']=_0x4e4ff5(ie());}($s,function(_0x54cd61){var _0x4098e3=_0x25ef;return(function(){var _0x13aed2=_0x25ef;if(typeof ArrayBuffer==_0x13aed2(0x302)){var _0x321a8d=_0x54cd61,_0x18d777=_0x321a8d['lib'],_0x453d7c=_0x18d777[_0x13aed2(0x2c6)],_0x23532f=_0x453d7c[_0x13aed2(0x2cb)],_0x2aadbd=_0x453d7c[_0x13aed2(0x2cb)]=function(_0x4588dd){var _0x2a1c70=_0x13aed2;if(_0x4588dd instanceof ArrayBuffer&&(_0x4588dd=new Uint8Array(_0x4588dd)),(_0x4588dd instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x4588dd instanceof Uint8ClampedArray||_0x4588dd instanceof Int16Array||_0x4588dd instanceof Uint16Array||_0x4588dd instanceof Int32Array||_0x4588dd instanceof Uint32Array||_0x4588dd instanceof Float32Array||_0x4588dd instanceof Float64Array)&&(_0x4588dd=new Uint8Array(_0x4588dd[_0x2a1c70(0x124)],_0x4588dd[_0x2a1c70(0x133)],_0x4588dd[_0x2a1c70(0x2d0)])),_0x4588dd instanceof Uint8Array){for(var _0x5dfc48=_0x4588dd[_0x2a1c70(0x2d0)],_0x5d429f=[],_0x77e5d0=0x0;_0x77e5d0<_0x5dfc48;_0x77e5d0++)_0x5d429f[_0x77e5d0>>>0x2]|=_0x4588dd[_0x77e5d0]<<0x18-_0x77e5d0%0x4*0x8;_0x23532f[_0x2a1c70(0x36b)](this,_0x5d429f,_0x5dfc48);}else _0x23532f['apply'](this,arguments);};_0x2aadbd['prototype']=_0x453d7c;}}()),_0x54cd61['lib'][_0x4098e3(0x2c6)];}));}(Ze)),Ze[_0x5976ae(0x2e0)];}var Bs=Hs();const js=He(Bs);var Qe={'exports':{}},Fs=Qe[_0x37581e(0x2e0)],ci;function Vs(){return ci||(ci=0x1,function(_0x5acadc,_0x542b99){(function(_0xb705e2,_0x329561,_0x1082d7){var _0x2a12b6=_0x25ef;_0x5acadc[_0x2a12b6(0x2e0)]=_0x329561(ie(),Ai());}(Fs,function(_0x3bf00e){var _0x47f06d=_0x25ef;return _0x3bf00e[_0x47f06d(0x281)][_0x47f06d(0x157)]={'pad':function(){},'unpad':function(){}},_0x3bf00e[_0x47f06d(0x281)][_0x47f06d(0x157)];}));}(Qe)),Qe['exports'];}var Gs=Vs();const Ws=He(Gs);function Ys(_0x2c6e31,_0x158775){var _0x5c89d6=_0x37581e;const _0x33c334=_0x158775-_0x2c6e31['length']%_0x158775,_0x5e21da=String['fromCharCode'](_0x33c334)[_0x5c89d6(0x149)](_0x33c334);return _0x2c6e31+_0x5e21da;}function _0x25ef(_0x3b7ca7,_0xdca7d3){var _0x2f2938=_0x2f29();return _0x25ef=function(_0x25eff7,_0x13dcf8){_0x25eff7=_0x25eff7-0xed;var _0x5669e4=_0x2f2938[_0x25eff7];return _0x5669e4;},_0x25ef(_0x3b7ca7,_0xdca7d3);}function Ks(_0x3370b3,_0xa05d0){var _0x2b5789=_0x37581e;const _0x33a84a=js[_0x2b5789(0x380)](0x10),_0x43646b=Ys(_0x3370b3,0x10),_0x1b9c72=ws[_0x2b5789(0x353)](ks[_0x2b5789(0x2e7)](_0x43646b),ri[_0x2b5789(0x2e7)](_0xa05d0),{'iv':_0x33a84a,'padding':Ws});return _0x33a84a[_0x2b5789(0x363)](_0x1b9c72['ciphertext'])['toString'](ri);}function qs(){var _0x2316b3=_0x37581e;const _0x33b93c=_0x4ec0d7()[_0x2316b3(0x2ec)];if(_0x33b93c){const _0x557c2f={'time':Math[_0x2316b3(0x3c8)](Date[_0x2316b3(0x27c)]()/0x3e8),'domain':location[_0x2316b3(0x384)]};return Ks(JSON[_0x2316b3(0x37f)](_0x557c2f),_0x33b93c);}}var zs=Object[_0x37581e(0xfd)],Js=(_0x22b38f,_0x58d461,_0x255010,_0x5a6b4c)=>{var _0x6d5138=_0x37581e;for(var _0x5cd09c=_0x5a6b4c>0x1?void 0x0:_0x5a6b4c?zs(_0x58d461,_0x255010):_0x58d461,_0x1cfb5e=_0x22b38f[_0x6d5138(0x385)]-0x1,_0x28f524;_0x1cfb5e>=0x0;_0x1cfb5e--)(_0x28f524=_0x22b38f[_0x1cfb5e])&&(_0x5cd09c=_0x28f524(_0x5cd09c)||_0x5cd09c);return _0x5cd09c;},Xs=(_0xcc93ab,_0x25f1c4)=>(_0x5a21cb,_0x2db6aa)=>_0x25f1c4(_0x5a21cb,_0x2db6aa,_0xcc93ab);let at=class{constructor(_0x5e61d0){var _0xd74b0c=_0x37581e;this['_httpService']=_0x5e61d0,this[_0xd74b0c(0x1f1)]();}[_0x37581e(0x1f1)](){var _0x85adb=_0x37581e;this['_httpService'][_0x85adb(0x2e1)]({'interceptor':(_0x4df985,_0x4f6590)=>{var _0x430f5c=_0x85adb;const _0x3accf4=_0x4df985[_0x430f5c(0x253)],_0x28670a=qs();return _0x28670a&&_0x3accf4[_0x430f5c(0x1b2)](_0x430f5c(0x1f5),_0x28670a),_0x4f6590(_0x4df985);}});}};at=Js([Xs(0x0,_0x1d905d(_0x55399d))],at);var Zs=Object['getOwnPropertyDescriptor'],Qs=(_0x59a1c7,_0x554eb1,_0x3be4fb,_0x1bc9d1)=>{var _0x246f8e=_0x37581e;for(var _0x5b9d39=_0x1bc9d1>0x1?void 0x0:_0x1bc9d1?Zs(_0x554eb1,_0x3be4fb):_0x554eb1,_0x113beb=_0x59a1c7[_0x246f8e(0x385)]-0x1,_0x37bee1;_0x113beb>=0x0;_0x113beb--)(_0x37bee1=_0x59a1c7[_0x113beb])&&(_0x5b9d39=_0x37bee1(_0x5b9d39)||_0x5b9d39);return _0x5b9d39;},mt=(_0x30ca50,_0x1bccda)=>(_0x37dc1f,_0x908944)=>_0x1bccda(_0x37dc1f,_0x908944,_0x30ca50);let bt=class extends _0xd65c9e{constructor(_0x39bc88,_0x12be7c,_0xf97055){var _0x1d6e67=_0x37581e;super(),N(this,_0x1d6e67(0x3f5),new _0x3f54c5(null)),N(this,'unitInfo$',this['_unitInfo$'][_0x1d6e67(0x201)]()),(this[_0x1d6e67(0x199)]=_0x39bc88,this['_snapshotService']=_0x12be7c,this['_localCacheService']=_0xf97055);}async['loadUnit'](_0x5e6eb2,_0x308ca8,_0x130055){var _0x3335df=_0x37581e;this[_0x3335df(0x3f5)][_0x3335df(0x3bf)]({'unitId':_0x5e6eb2,'type':_0x308ca8,'subUnitId':_0x130055});let _0x18f06c=null;switch(_0x308ca8){case Q[_0x3335df(0x3b8)]:{_0x18f06c=await this[_0x3335df(0x18d)](_0x5e6eb2);break;}case Q[_0x3335df(0xf2)]:{_0x18f06c=await this['_loadDoc'](_0x5e6eb2);break;}default:{this[_0x3335df(0x199)][_0x3335df(0x3a5)](_0x3335df(0x228),_0x3335df(0x2c3));break;}}return _0x18f06c;}async[_0x37581e(0x18d)](_0x2c8842){var _0x30f264=_0x37581e,_0x245b75;let _0x33a5a5=0x0;const _0x2b9aa4=await((_0x245b75=this[_0x30f264(0x31b)])==null?void 0x0:_0x245b75['loadOfflineData'](_0x2c8842));return _0x2b9aa4&&(_0x2b9aa4['awaitingChangeset']||_0x2b9aa4['mutations'][_0x30f264(0x385)]!==0x0)&&(_0x33a5a5=_0x2b9aa4[_0x30f264(0x170)]),_0x33a5a5===0x0&&this['_logService']['debug'](_0x30f264(0x228),_0x30f264(0x3cd)),this['_snapshotService'][_0x30f264(0x341)](_0x2c8842,_0x33a5a5);}async[_0x37581e(0xf5)](_0x1fbb03){var _0x45e996=_0x37581e,_0x52df1d;let _0x3baf50=0x0;const _0x2c143a=await((_0x52df1d=this['_localCacheService'])==null?void 0x0:_0x52df1d['loadOfflineData'](_0x1fbb03));return _0x2c143a&&(_0x2c143a['awaitingChangeset']||_0x2c143a['mutations'][_0x45e996(0x385)]!==0x0)&&(_0x3baf50=_0x2c143a[_0x45e996(0x170)]),_0x3baf50===0x0&&this[_0x45e996(0x199)][_0x45e996(0x29e)](_0x45e996(0x228),_0x45e996(0x3cd)),this[_0x45e996(0x18c)][_0x45e996(0x2da)](_0x1fbb03,_0x3baf50);}};bt=Qs([mt(0x0,_0x19b55e),mt(0x1,_0x1d905d(_0x3dad2e)),mt(0x2,_0x48bf7b(J))],bt);var er=Object[_0x37581e(0xfd)],tr=(_0x63c129,_0x646fa2,_0x49b414,_0x283dff)=>{for(var _0x25b413=_0x283dff>0x1?void 0x0:_0x283dff?er(_0x646fa2,_0x49b414):_0x646fa2,_0x5854d4=_0x63c129['length']-0x1,_0x35bc8f;_0x5854d4>=0x0;_0x5854d4--)(_0x35bc8f=_0x63c129[_0x5854d4])&&(_0x25b413=_0x35bc8f(_0x25b413)||_0x25b413);return _0x25b413;},gt=(_0x35e7dc,_0x4696ce)=>(_0x250149,_0x23728e)=>_0x4696ce(_0x250149,_0x23728e,_0x35e7dc);const ir=[_0x37581e(0x1fb),_0x37581e(0x194),'image/jpg',_0x37581e(0x323),_0x37581e(0x2c8)],nr=0x5*0x400*0x400,sr=_0x37581e(0x242),rr=_0x37581e(0x390),ar=_0x37581e(0x2be),or=_0x37581e(0x24b);let Ot=class{constructor(_0x3226ec,_0x4d7381,_0x4b7da5){var _0x45ea15=_0x37581e;N(this,_0x45ea15(0x21a),0x0),N(this,_0x45ea15(0x3bd),new _0x56cc0e()),N(this,_0x45ea15(0x268),this['_change$']),N(this,_0x45ea15(0x1d4),new Map()),(this[_0x45ea15(0x33d)]=_0x3226ec,this[_0x45ea15(0x2c9)]=_0x4d7381,this[_0x45ea15(0x13f)]=_0x4b7da5);}[_0x37581e(0x328)](_0x4ab1e2){var _0x5295d3=_0x37581e;this[_0x5295d3(0x21a)]=_0x4ab1e2,this[_0x5295d3(0x3bd)][_0x5295d3(0x3bf)](_0x4ab1e2);}[_0x37581e(0x28e)](_0x54bec1,_0x2f1064){if(_0x2f1064===_0x3e324b['BASE64']){const _0x17b254=new Image();return _0x17b254['src']=_0x54bec1,_0x17b254;}return this['_imageSourceCache']['get'](_0x54bec1);}['addImageSourceCache'](_0x390d16,_0x43174e,_0x2098a5){var _0x2a9c32=_0x37581e;_0x43174e===_0x3e324b[_0x2a9c32(0x2ae)]||_0x2098a5==null||this[_0x2a9c32(0x1d4)][_0x2a9c32(0x1b2)](_0x390d16,_0x2098a5);}async[_0x37581e(0x3a0)](_0x2f0264){var _0x25861e=_0x37581e;try{const _0x55e83e=this[_0x25861e(0x10e)](this[_0x25861e(0x333)](),''+_0x2f0264),_0x330747=(await this['_httpService'][_0x25861e(0x2dc)](_0x55e83e))[_0x25861e(0xf4)];if(_0x330747[_0x25861e(0x3a5)]&&_0x330747[_0x25861e(0x3a5)]['code']===Si['OK']){const _0x56031a=new URL(_0x330747[_0x25861e(0x117)],this[_0x25861e(0xf0)]())[_0x25861e(0x33b)]();return Promise[_0x25861e(0x2c0)](_0x56031a);}return Promise[_0x25861e(0x1ce)](_0x330747[_0x25861e(0x3a5)]);}catch(_0x180d82){return Promise[_0x25861e(0x1ce)](_0x180d82);}}async['saveImage'](_0x5a4442){var _0x4d9ce7=_0x37581e;let _0x8caf73='';if(!ir[_0x4d9ce7(0x335)](_0x5a4442[_0x4d9ce7(0x25b)]))return this['_decreaseWaiting'](),Promise[_0x4d9ce7(0x1ce)](new Error(_0x37fb37[_0x4d9ce7(0x3e6)]));if(_0x5a4442[_0x4d9ce7(0x396)]>nr)return this[_0x4d9ce7(0x282)](),Promise[_0x4d9ce7(0x1ce)](new Error(_0x37fb37[_0x4d9ce7(0x383)]));try{const _0x2acc4a=new FormData();_0x2acc4a[_0x4d9ce7(0x374)]('file',_0x5a4442);const _0x2b64b4=this[_0x4d9ce7(0x13f)][_0x4d9ce7(0x141)](),_0xd8821b=_0x2b64b4==null?void 0x0:_0x2b64b4[_0x4d9ce7(0x154)]();if(!_0xd8821b)throw new Error('unitId\x20is\x20not\x20found');const _0x36614b=this['_getUploadFileURL']()+_0x4d9ce7(0x207)+_0x5a4442[_0x4d9ce7(0x396)]['toString']()+_0x4d9ce7(0x3d1)+Ei[_0x4d9ce7(0x280)]+'&assign='+encodeURIComponent(_0xd8821b),_0x27f156={'body':_0x2acc4a},_0x25097d=(await this['_httpService'][_0x4d9ce7(0x20d)](_0x36614b,_0x27f156))[_0x4d9ce7(0xf4)];if(typeof _0x25097d[_0x4d9ce7(0x1c1)]!='string')return this[_0x4d9ce7(0x282)](),Promise[_0x4d9ce7(0x1ce)](new Error(_0x37fb37[_0x4d9ce7(0x1f8)]));_0x8caf73=_0x25097d[_0x4d9ce7(0x1c1)];}catch{return this[_0x4d9ce7(0x282)](),Promise[_0x4d9ce7(0x1ce)](new Error(_0x37fb37[_0x4d9ce7(0x1f8)]));}return new Promise((_0x588c8d,_0x2eb012)=>{var _0x4408cf=_0x4d9ce7;const _0x3d574c=new FileReader();_0x3d574c[_0x4408cf(0x30a)](_0x5a4442),_0x3d574c['onload']=_0xf23ac=>{var _0x2ee1d7=_0x4408cf,_0x2560af;const _0x48dcf1=(_0x2560af=_0xf23ac[_0x2ee1d7(0x118)])==null?void 0x0:_0x2560af[_0x2ee1d7(0x38f)];if(_0x48dcf1==null){this['_decreaseWaiting'](),_0x2eb012(new Error(_0x37fb37['ERROR_IMAGE']));return;}const _0x598b4e=_0x167d20[_0x2ee1d7(0x266)](0x6);_0x588c8d({'imageId':_0x598b4e,'imageSourceType':_0x3e324b['UUID'],'source':_0x8caf73,'base64Cache':_0x48dcf1,'status':_0x37fb37[_0x2ee1d7(0x1b4)]}),this[_0x2ee1d7(0x282)]();};});}[_0x37581e(0x162)](){var _0x32f669=_0x37581e,_0x4d0b06,_0x391992;const _0x5442de=this['_configService'][_0x32f669(0x3ea)](sr),_0x21a73c=this['_configService'][_0x32f669(0x3ea)](q);return(_0x391992=(_0x4d0b06=_0x21a73c==null?void 0x0:_0x21a73c[_0x32f669(0x15a)])!=null?_0x4d0b06:_0x5442de)!=null?_0x391992:rr;}[_0x37581e(0x333)](){var _0x3ffadf=_0x37581e,_0x368164,_0x2510b7;const _0x119c5d=this['_configService']['getConfig'](ar),_0x434b9d=this[_0x3ffadf(0x2c9)][_0x3ffadf(0x3ea)](q);return(_0x2510b7=(_0x368164=_0x434b9d==null?void 0x0:_0x434b9d[_0x3ffadf(0x1e6)])!=null?_0x368164:_0x119c5d)!=null?_0x2510b7:or;}[_0x37581e(0xf0)](){var _0x3315ef=_0x37581e,_0x33b393;const _0x23b1d6=this['_configService'][_0x3315ef(0x3ea)](q);return(_0x33b393=_0x23b1d6==null?void 0x0:_0x23b1d6['downloadEndpointUrl'])!=null?_0x33b393:location[_0x3315ef(0x121)];}[_0x37581e(0x10e)](_0x33cbc5,_0x8634ad){return _0x33cbc5['replace']('{fileID}',_0x8634ad);}[_0x37581e(0x282)](){var _0x3261a7=_0x37581e;this[_0x3261a7(0x21a)]-=0x1,this[_0x3261a7(0x3bd)]['next'](this[_0x3261a7(0x21a)]);}};Ot=tr([gt(0x0,_0x1d905d(_0x55399d)),gt(0x1,_0x4966ba),gt(0x2,_0x1d905d(_0x4c791d))],Ot);var cr=Object[_0x37581e(0xfd)],hr=(_0x3638d3,_0x494185,_0xda3fbd,_0x3fdd6e)=>{var _0x5a96e7=_0x37581e;for(var _0x526e2e=_0x3fdd6e>0x1?void 0x0:_0x3fdd6e?cr(_0x494185,_0xda3fbd):_0x494185,_0x20bf16=_0x3638d3[_0x5a96e7(0x385)]-0x1,_0x403675;_0x20bf16>=0x0;_0x20bf16--)(_0x403675=_0x3638d3[_0x20bf16])&&(_0x526e2e=_0x403675(_0x526e2e)||_0x526e2e);return _0x526e2e;},hi=(_0x918424,_0x3fd589)=>(_0x486f98,_0x4c542f)=>_0x3fd589(_0x486f98,_0x4c542f,_0x918424);const _r=_0x37581e(0x3aa);let yt=class{constructor(_0x18d81f,_0xe72b43){var _0x327969=_0x37581e;this['_configService']=_0x18d81f,this[_0x327969(0x1cd)]=_0xe72b43;}[_0x37581e(0x153)](){var _0x4992f5=_0x37581e,_0x3b16bc,_0x36c9e9;const _0x2a5dbf=this[_0x4992f5(0x2c9)][_0x4992f5(0x3ea)](Ni),_0xbc9315=this['_configService']['getConfig'](q);return(_0x36c9e9=(_0x3b16bc=_0xbc9315==null?void 0x0:_0xbc9315['authzUrl'])!=null?_0x3b16bc:_0x2a5dbf)!=null?_0x36c9e9:_r;}async[_0x37581e(0x2e9)](_0x30a7f2){var _0x3f295a=_0x37581e;const _0x2a293d=this[_0x3f295a(0x153)]()+_0x3f295a(0x361);return{'list':[{'title':_0x3f295a(0x27d),'mentions':(await this[_0x3f295a(0x1cd)][_0x3f295a(0x2dc)](_0x2a293d,{'params':{'objectID':_0x30a7f2['unitId'],'unitID':_0x30a7f2[_0x3f295a(0x19e)]}}))[_0x3f295a(0xf4)][_0x3f295a(0x1fc)][_0x3f295a(0x357)](_0x8d455a=>({'objectId':_0x8d455a['id'],'name':_0x8d455a['subject'][_0x3f295a(0x3c1)],'metadata':{'icon':_0x8d455a[_0x3f295a(0x13c)][_0x3f295a(0x2a5)]},'label':_0x8d455a[_0x3f295a(0x13c)][_0x3f295a(0x3c1)],'objectType':_0x18e80e[_0x3f295a(0x186)]})),'metadata':{},'type':_0x18e80e[_0x3f295a(0x186)]}]};}};yt=hr([hi(0x0,_0x1d905d(_0x4966ba)),hi(0x1,_0x1d905d(_0x55399d))],yt);var lr=Object[_0x37581e(0xfd)],ur=(_0x3bd942,_0x5b54d9,_0x298c80,_0x45b012)=>{for(var _0x13739d=_0x45b012>0x1?void 0x0:_0x45b012?lr(_0x5b54d9,_0x298c80):_0x5b54d9,_0x4e4d14=_0x3bd942['length']-0x1,_0x11a772;_0x4e4d14>=0x0;_0x4e4d14--)(_0x11a772=_0x3bd942[_0x4e4d14])&&(_0x13739d=_0x11a772(_0x13739d)||_0x13739d);return _0x13739d;},we=(_0x210c8d,_0x5e375d)=>(_0x128467,_0x1373a5)=>_0x5e375d(_0x128467,_0x1373a5,_0x210c8d);let ot=class extends _0xd65c9e{constructor(_0x72ac94,_0x5c9482,_0x4a7adf,_0x5cd311,_0x341c95){var _0x5e331c=_0x37581e;super(),this['_injector']=_0x72ac94,this[_0x5e331c(0x13f)]=_0x5c9482,this[_0x5e331c(0x23f)]=_0x4a7adf,this['_collaborationSessionService']=_0x5cd311,this['_collaborationUIEventService']=_0x341c95,this[_0x5e331c(0x395)](),this[_0x5e331c(0x31f)]();}['_initCloseConn'](){var _0xd0b138=_0x37581e;const _0x31a7b4=async _0x856a9f=>{var _0x378ea7=_0x25ef;(await this[_0x378ea7(0x137)]['requireSession'](_0x856a9f))[_0x378ea7(0x26d)][_0x378ea7(0x1a7)](_0xe7d45e(_0x84ab21=>_0x84ab21['eventID']===_0x1844a1[_0x378ea7(0xfc)]),_0x594253(this[_0x378ea7(0x135)]))[_0x378ea7(0x1f3)](_0x3a63b3=>{var _0x3fbff2=_0x378ea7;const _0x33e184=_0x3a63b3,{reason:_0x30e3f0}=_0x33e184[_0x3fbff2(0xfb)];this['_collaborationUIEventService'][_0x3fbff2(0x10b)]({'id':re[_0x3fbff2(0x246)],'data':_0x30e3f0}),this[_0x3fbff2(0x23f)][_0x3fbff2(0x251)](new _0x25b8a4(_0x856a9f)['id'],!0x1),this['_collaborationSessionService'][_0x3fbff2(0x3ed)](_0x856a9f);});};_0x5808d2(this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x265105[_0xd0b138(0x3b8)]),this[_0xd0b138(0x13f)][_0xd0b138(0x32b)](_0x265105[_0xd0b138(0xf2)]))['pipe'](_0x24d197(_0x4d72cc=>_0x4d72cc[_0xd0b138(0x154)]()),_0xe7d45e(_0x219067=>!_0x34c70c(_0x219067)),_0x594253(this['dispose$']))['subscribe'](_0x45c82d=>{_0x31a7b4(_0x45c82d);});}['_initUnitPermissionChange'](){var _0x26e451=_0x37581e;const _0x2505f3=async _0x19b25c=>{var _0x574d99=_0x25ef;const _0x25fb4c=await this[_0x574d99(0x137)][_0x574d99(0x305)](_0x19b25c),_0x174737=this[_0x574d99(0x2b3)][_0x574d99(0x2dc)](_0x486dc6);_0x25fb4c[_0x574d99(0x26d)][_0x574d99(0x1a7)](_0xe7d45e(_0xbebf5=>_0xbebf5[_0x574d99(0x309)]===_0x1844a1['UPDATE_PERMISSION_OBJ']),_0x594253(this[_0x574d99(0x135)]))[_0x574d99(0x1f3)](_0x3fd73f=>{var _0x8a5a52=_0x574d99;const _0x309419=_0x3fd73f,{objectId:_0x8ea3b0}=_0x309419['data'];_0x8ea3b0===_0x19b25c?_0x174737[_0x8a5a52(0x1b6)](_0x19b25c):_0x174737['refreshPermission'](_0x19b25c,_0x8ea3b0);});};_0x5808d2(this[_0x26e451(0x13f)][_0x26e451(0x32b)](_0x265105['UNIVER_SHEET']))[_0x26e451(0x1a7)](_0x24d197(_0x1e7d8f=>_0x1e7d8f[_0x26e451(0x154)]()),_0xe7d45e(_0x475db1=>!_0x34c70c(_0x475db1)),_0x594253(this[_0x26e451(0x135)]))['subscribe'](_0x5bca47=>{_0x2505f3(_0x5bca47);});}};ot=ur([we(0x0,_0x1d905d(_0x53496f)),we(0x1,_0x4c791d),we(0x2,_0x12890a),we(0x3,_0x1d905d(Me)),we(0x4,_0x1d905d(pe))],ot);var dr=Object[_0x37581e(0xfd)],fr=(_0x5f2b8e,_0x316637,_0x1316ff,_0x219cbb)=>{for(var _0x1ebb51=_0x219cbb>0x1?void 0x0:_0x219cbb?dr(_0x316637,_0x1316ff):_0x316637,_0x48b880=_0x5f2b8e['length']-0x1,_0x1e952c;_0x48b880>=0x0;_0x48b880--)(_0x1e952c=_0x5f2b8e[_0x48b880])&&(_0x1ebb51=_0x1e952c(_0x1ebb51)||_0x1ebb51);return _0x1ebb51;},_i=(_0x514807,_0x1faab9)=>(_0x2e72ac,_0x3a2a7e)=>_0x1faab9(_0x2e72ac,_0x3a2a7e,_0x514807);let Nt=class{constructor(_0x4d96ac,_0x142394){var _0x9f46cb=_0x37581e;this[_0x9f46cb(0x2c9)]=_0x4d96ac,this['_httpService']=_0x142394;}async[_0x37581e(0x195)](_0x283dd7,_0x492637){var _0xdae2c7=_0x37581e,_0x15c8f7;const {unitID:_0x16b871,type:_0x542a57,revision:_0xf0dce3=0x0}=_0x492637,_0x103233=this[_0xdae2c7(0x10d)]()+'/'+_0x542a57+_0xdae2c7(0x10c)+_0x16b871+_0xdae2c7(0x327)+_0xf0dce3,_0x1214b6=(await this['_httpService'][_0xdae2c7(0x2dc)](_0x103233))['body'],_0x10b0cf=(_0x15c8f7=_0x1214b6[_0xdae2c7(0x23d)])==null?void 0x0:_0x15c8f7['workbook'];if(_0x10b0cf){const _0x4241dd=_0x10b0cf==null?void 0x0:_0x10b0cf[_0xdae2c7(0x15d)],_0x20cba0=_0x48bfe5[_0xdae2c7(0x21c)](_0x258959(_0x4241dd));_0x10b0cf[_0xdae2c7(0x15d)]=_0x20cba0,Object[_0xdae2c7(0x20a)](_0x10b0cf[_0xdae2c7(0x2e8)])[_0xdae2c7(0x29a)](([,_0xee39d1])=>{var _0x318082=_0xdae2c7;const _0x215296=_0xee39d1['originalMeta'],_0x3d754e=_0x48bfe5[_0x318082(0x21c)](_0x258959(_0x215296));_0xee39d1[_0x318082(0x15d)]=_0x3d754e;});}return _0x1214b6;}async['getSheetBlock'](_0x15b697,_0x1a2f2b){var _0x33a522=_0x37581e;const {unitID:_0x1e7bca,type:_0x4a0abf,blockID:_0x10199e}=_0x1a2f2b,_0x5bf081=this['_getAPIPrefix']()+'/'+_0x4a0abf+_0x33a522(0x10c)+_0x1e7bca+_0x33a522(0x169)+_0x10199e;return(await this[_0x33a522(0x33d)][_0x33a522(0x2dc)](_0x5bf081))[_0x33a522(0xf4)];}async[_0x37581e(0x376)](_0x57cc40,_0x2f3817){var _0x120b1c=_0x37581e;const {unitID:_0x4cd4b8,type:_0x18c9b3,blockID:_0x2e7c0b}=_0x2f3817,_0x2698df=this[_0x120b1c(0x2d1)]()+'/block/'+_0x18c9b3+_0x120b1c(0x10c)+_0x4cd4b8+_0x120b1c(0x169)+_0x2e7c0b;return(await this[_0x120b1c(0x33d)][_0x120b1c(0x2dc)](_0x2698df))['body'];}async[_0x37581e(0x2b4)](_0x22f601,_0x1819dc){var _0xc4bd5c=_0x37581e;const {unitID:_0x19ae1f,type:_0x3be325,from:_0x2bd5c3,to:_0x53f4a1}=_0x1819dc,_0x9cf661=this['_getAPIPrefix']()+'/'+_0x3be325+_0xc4bd5c(0x10c)+_0x19ae1f+'/fetchmissing?from='+_0x2bd5c3+_0xc4bd5c(0x3ab)+_0x53f4a1;return(await this[_0xc4bd5c(0x33d)][_0xc4bd5c(0x2dc)](_0x9cf661))[_0xc4bd5c(0xf4)];}[_0x37581e(0x10d)](){var _0x3e954f=_0x37581e,_0xa8fe11;return(_0xa8fe11=this[_0x3e954f(0x2c9)]['getConfig'](Sn))!=null?_0xa8fe11:this[_0x3e954f(0x2d1)]();}['_getAPIPrefix'](){var _0x5b260d=_0x37581e,_0x5e972c,_0x15340b;const _0x5071fc=this['_configService'][_0x5b260d(0x3ea)](mn),_0xc85b23=this['_configService'][_0x5b260d(0x3ea)](q);return(_0x15340b=(_0x5e972c=_0xc85b23==null?void 0x0:_0xc85b23[_0x5b260d(0x33a)])!=null?_0x5e972c:_0x5071fc)!=null?_0x15340b:gn;}async[_0x37581e(0x2fd)](_0x52287b,_0x54066b){var _0x2511d4=_0x37581e;const _0x374903=_0x2511d4(0x18e)+_0x54066b['type']+'/unit/'+_0x54066b[_0x2511d4(0x2a2)]+_0x2511d4(0x1f2);return(await this['_httpService'][_0x2511d4(0x2dc)](_0x374903,{'params':{'resourceId':JSON['stringify'](_0x54066b[_0x2511d4(0x128)])}}))[_0x2511d4(0xf4)];}[_0x37581e(0x214)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x37581e(0x317)](){var _0x43c2bc=_0x37581e;throw new Error(_0x43c2bc(0x22b));}[_0x37581e(0x12d)](){var _0x24e5cc=_0x37581e;throw new Error(_0x24e5cc(0x22b));}[_0x37581e(0x160)](){var _0x4c079b=_0x37581e;throw new Error(_0x4c079b(0x22b));}['getLatestCsReqIdBySid'](){var _0x2ab74d=_0x37581e;throw new Error(_0x2ab74d(0x22b));}};Nt=fr([_i(0x0,_0x4966ba),_i(0x1,_0x1d905d(_0x55399d))],Nt);var vr=Object['getOwnPropertyDescriptor'],pr=(_0x4339b4,_0x14fa3d,_0x224a91,_0x165abc)=>{var _0x1e1bdb=_0x37581e;for(var _0x3c7f80=_0x165abc>0x1?void 0x0:_0x165abc?vr(_0x14fa3d,_0x224a91):_0x14fa3d,_0x2634f9=_0x4339b4[_0x1e1bdb(0x385)]-0x1,_0x45cc2e;_0x2634f9>=0x0;_0x2634f9--)(_0x45cc2e=_0x4339b4[_0x2634f9])&&(_0x3c7f80=_0x45cc2e(_0x3c7f80)||_0x3c7f80);return _0x3c7f80;},Pe=(_0x10c3bc,_0xa5c296)=>(_0x435366,_0x2c1c01)=>_0xa5c296(_0x435366,_0x2c1c01,_0x10c3bc);let Dt=class extends _0x394f2f{constructor(_0x146af3,_0x5059f9,_0x3d0e15,_0x434c74,_0x15097b){var _0x1dc6a6=_0x37581e;super(_0x146af3,_0x5059f9,_0x3d0e15),this[_0x1dc6a6(0x2bc)]=_0x434c74,this[_0x1dc6a6(0x199)]=_0x15097b;}[_0x37581e(0x193)](_0x50d566,_0x462c83){var _0x469016=_0x37581e;const _0x540be4=this[_0x469016(0x220)](_0x50d566);if(_0x540be4)try{const _0x336efb=this['_transformStack'](_0x540be4,_0x462c83);this[_0x469016(0x1a3)](_0x50d566,_0x336efb);}catch(_0x5c8259){this[_0x469016(0x199)]['error'](_0x469016(0x36d),_0x5c8259),this[_0x469016(0x32f)](_0x50d566);}const _0x333020=this['_getRedoStack'](_0x50d566);if(_0x333020)try{const _0x2422be=this[_0x469016(0x270)](_0x333020,_0x462c83);this[_0x469016(0x2ce)](_0x50d566,_0x2422be);}catch(_0x3b2bcf){this[_0x469016(0x199)][_0x469016(0x3a5)](_0x3b2bcf),this[_0x469016(0x24d)](_0x50d566);}}['_clearUndo'](_0x204c1d){var _0x415095=_0x37581e;const _0x2d748=this[_0x415095(0x220)](_0x204c1d);_0x2d748&&(_0x2d748[_0x415095(0x385)]=0x0,this[_0x415095(0x2ed)]());}['_clearRedo'](_0x340850){var _0x51059f=_0x37581e;const _0x481188=this[_0x51059f(0x15e)](_0x340850);_0x481188&&(_0x481188[_0x51059f(0x385)]=0x0,this[_0x51059f(0x2ed)]());}[_0x37581e(0x1a3)](_0x172c8c,_0x3127b2){var _0x5d143f=_0x37581e;this[_0x5d143f(0x354)][_0x5d143f(0x1b2)](_0x172c8c,_0x3127b2),this[_0x5d143f(0x2ed)]();}[_0x37581e(0x2ce)](_0x195af1,_0x170c2f){var _0x5d62e6=_0x37581e;this[_0x5d62e6(0x299)][_0x5d62e6(0x1b2)](_0x195af1,_0x170c2f),this['_updateStatus']();}[_0x37581e(0x270)](_0x2dc770,_0x515620){var _0x3cf0e9=_0x37581e;const _0x5bcb4d=[];let _0x5a9326=_0x515620,_0x36743d=_0x515620;for(let _0x2329cf=_0x2dc770[_0x3cf0e9(0x385)]-0x1;_0x2329cf>=0x0;_0x2329cf--){const {unitID:_0x5de9a8,undoMutations:_0x573ee5,redoMutations:_0x41bf6d}=_0x2dc770[_0x2329cf],_0x31840b=this[_0x3cf0e9(0x2bc)]['transformMutationsWithChangeset'](_0x5a9326,_0x573ee5),_0x4afd83=this[_0x3cf0e9(0x2bc)][_0x3cf0e9(0x23e)](_0x36743d,_0x41bf6d);if(_0x9cf326(_0x31840b)||_0x9cf326(_0x4afd83)){this[_0x3cf0e9(0x199)]['error'](_0x3cf0e9(0x36d),_0x3cf0e9(0x16d),_0x31840b,_0x4afd83);break;}_0x5a9326=_0x31840b['c1Prime'],_0x36743d=_0x4afd83[_0x3cf0e9(0x125)],_0x5bcb4d[_0x3cf0e9(0x2a8)]({'unitID':_0x5de9a8,'undoMutations':_0x31840b['m2Prime'],'redoMutations':_0x4afd83[_0x3cf0e9(0x3ac)]});}return _0x5bcb4d[_0x3cf0e9(0x24f)]();}};Dt=pr([Pe(0x0,_0x4c791d),Pe(0x1,_0xf8d2fa),Pe(0x2,_0x50ff9c),Pe(0x3,_0x1aeb5d),Pe(0x4,_0x19b55e)],Dt);var mr=Object[_0x37581e(0x3ad)],gr=Object[_0x37581e(0xfd)],Sr=(_0x427dc6,_0x1675ef,_0x3a40af)=>_0x1675ef in _0x427dc6?mr(_0x427dc6,_0x1675ef,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3a40af}):_0x427dc6[_0x1675ef]=_0x3a40af,Er=(_0x418bc5,_0x2e3e45,_0x73f05b,_0x48155c)=>{var _0x3db90d=_0x37581e;for(var _0x1566ee=_0x48155c>0x1?void 0x0:_0x48155c?gr(_0x2e3e45,_0x73f05b):_0x2e3e45,_0x14beaf=_0x418bc5[_0x3db90d(0x385)]-0x1,_0x25246b;_0x14beaf>=0x0;_0x14beaf--)(_0x25246b=_0x418bc5[_0x14beaf])&&(_0x1566ee=_0x25246b(_0x1566ee)||_0x1566ee);return _0x1566ee;},St=(_0x2de355,_0x5545ac)=>(_0x54c541,_0x45fdff)=>_0x5545ac(_0x54c541,_0x45fdff,_0x2de355),Ir=(_0x2a8a79,_0x487f18,_0x1dd4d6)=>Sr(_0x2a8a79,_0x487f18+'',_0x1dd4d6);const Tr='UNIVER_COLLABORATION_CLIENT_PLUGIN';let Ut=class extends _0x5b048b{constructor(_0x21fa50,_0x311b4e,_0x4e5a3f,_0x5dba3d){var _0x64e03a=_0x37581e;super(),N(this,'_config'),(this[_0x64e03a(0x199)]=_0x311b4e,this['_injector']=_0x4e5a3f,this[_0x64e03a(0x2c9)]=_0x5dba3d);const {..._0x58efe7}=_0x149e5f({},wn,_0x21fa50);if(!_0x58efe7[_0x64e03a(0x3d0)])throw new Error('[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!');this[_0x64e03a(0x2a6)]=_0x58efe7,this[_0x64e03a(0x2c9)][_0x64e03a(0x21e)](q,_0x58efe7);}[_0x37581e(0x2ad)](){var _0x51f7ca=_0x37581e;this[_0x51f7ca(0x2ba)](),this[_0x51f7ca(0x100)]();}['_registerDependencies'](){var _0x3ce19a=_0x37581e,_0x43a186,_0x4042dc;this[_0x3ce19a(0x2b3)][_0x3ce19a(0x21f)](_0x272d84)&&this[_0x3ce19a(0x199)][_0x3ce19a(0x3a5)](_0x3ce19a(0x397),_0x3ce19a(0x39a));const _0xf9ee3f=_0x239eb2([[_0x272d84,{'useClass':Dt}],[Me],[Le],[it],[rt],[at],[Ti],[ot],[pe],[bt],[Ii,{'useClass':this[_0x3ce19a(0x2a6)][_0x3ce19a(0x3d0)]}],[_0x214190,{'useClass':Nt}],[_0x2835c1,{'useClass':Rt}],[_0x5ee935,{'useClass':Ot}],[_0x2eb221,{'useClass':yt}],[st],[Ct]],(_0x43a186=this[_0x3ce19a(0x2a6)])==null?void 0x0:_0x43a186['override']);if(!((_0x4042dc=this[_0x3ce19a(0x2a6)])!=null&&_0x4042dc['enableSingleActiveInstanceLock'])){const _0x261bfe=_0xf9ee3f[_0x3ce19a(0x103)](([_0x3a7005])=>_0x3a7005===ht);_0x261bfe!==-0x1&&_0xf9ee3f[_0x3ce19a(0x155)](_0x261bfe,0x1);}_0x384b72(this[_0x3ce19a(0x2b3)],_0xf9ee3f);}[_0x37581e(0x100)](){var _0x1c2a4f=_0x37581e,_0x49b60c,_0x20a6a6,_0x280a0d;this[_0x1c2a4f(0x2b3)][_0x1c2a4f(0x2dc)](_0x55399d)[_0x1c2a4f(0x2e1)]({'priority':0x14,'interceptor':_0x3b70e0({'maxParallel':0x6})}),(_0x49b60c=this[_0x1c2a4f(0x2a6)])!=null&&_0x49b60c[_0x1c2a4f(0x26e)]||(_0x20a6a6=this[_0x1c2a4f(0x2b3)][_0x1c2a4f(0x2dc)](J,_0x247eb9['OPTIONAL']))==null||_0x20a6a6[_0x1c2a4f(0x351)](),(_0x280a0d=this[_0x1c2a4f(0x2a6)])!=null&&_0x280a0d[_0x1c2a4f(0x399)]&&_0x2a01d0(this[_0x1c2a4f(0x2b3)],[[rt]]),_0x2a01d0(this['_injector'],[[at],[st],[ot]]);}};Ir(Ut,_0x37581e(0x31d),Tr),Ut=Er([_0x7d672d(_0x584fef,_0xdb9e36),St(0x1,_0x19b55e),St(0x2,_0x1d905d(_0x53496f)),St(0x3,_0x4966ba)],Ut);export{Ni as AUTHZ_URL_KEY,Rt as AuthzIoHttpService,le as AwaitingState,oe as AwaitingWithPendingState,q as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,Nn as COLLAB_SUBMIT_CHANGESET_URL_KEY,In as COLLAB_WEB_SOCKET_URL_KEY,st as CollaborationController,nt as CollaborationEntity,Ot as CollaborationImageIoService,Et as CollaborationSession,Me as CollaborationSessionService,Gt as CollaborationSocketService,bi as CollaborationStatus,re as CollaborationUIEventId,pe as CollaborationUIEventService,Dt as CollaborativeUndoRedoService,Ti as CommentService,ue as ConflictState,Tn as DEFAULT_COLLAB_WEB_SOCKET_URL,Hr as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,Mr as DEFAULT_WS_SESSION_TICKET_URL,bt as DataLoaderService,It as DocCollaborationEntity,ee as FetchingMissState,Cn as HEARTBEAT_INTERVAL_KEY,mi as HEARTBEAT_TIMEOUT_KEY,Ii as ICollaborationSocketService,J as ILocalCacheService,Pn as INetworkConditionService,ht as ISingleActiveUnitService,kr as LOCAL_CACHE_INTERVAL,xr as LOCAL_CACHE_INTERVAL_KEY,Un as LOGIN_URL_KEY,Le as MemberService,yt as MentionIoHttpService,de as OfflineState,ae as PendingState,$r as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,On as RETRY_CONNECTING_MAX_COUNT_KEY,Lr as SEND_CHANGESET_TIMEOUT_KEY,mn as SNAPSHOT_SERVER_URL_KEY,Sn as SNAPSHOT_URL_KEY,Ee as SessionStatus,Tt as SheetCollaborationEntity,it as SheetTransformSelectionsService,Nt as SnapshotServerOverHTTPService,Ne as SyncedState,Ci as UnitStatus,Ut as UniverCollaborationClientPlugin,Ln as deserializeToCombResponse,Br as getLocalCacheKey,Mn as serializeCombRequest};
1
+ var _0x2d44ac=_0x39a9;(function(_0x1ce3e5,_0x1d3b91){var _0x52e1f3=_0x39a9,_0x42698f=_0x1ce3e5();while(!![]){try{var _0xd46d5f=-parseInt(_0x52e1f3(0x34b))/0x1*(parseInt(_0x52e1f3(0x1c9))/0x2)+-parseInt(_0x52e1f3(0x19b))/0x3*(parseInt(_0x52e1f3(0x3c4))/0x4)+parseInt(_0x52e1f3(0x2bc))/0x5+parseInt(_0x52e1f3(0x262))/0x6*(-parseInt(_0x52e1f3(0x108))/0x7)+parseInt(_0x52e1f3(0x136))/0x8*(parseInt(_0x52e1f3(0x17e))/0x9)+parseInt(_0x52e1f3(0x186))/0xa+parseInt(_0x52e1f3(0xfe))/0xb;if(_0xd46d5f===_0x1d3b91)break;else _0x42698f['push'](_0x42698f['shift']());}catch(_0x2210e5){_0x42698f['push'](_0x42698f['shift']());}}}(_0x393f,0xe08ce));var wi=Object[_0x2d44ac(0x2bd)],Pi=(_0x3d4013,_0x423b76,_0x33a4b2)=>_0x423b76 in _0x3d4013?wi(_0x3d4013,_0x423b76,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x33a4b2}):_0x3d4013[_0x423b76]=_0x33a4b2,N=(_0x389854,_0x473d47,_0x46a7c6)=>Pi(_0x389854,typeof _0x473d47!=_0x2d44ac(0x3c5)?_0x473d47+'':_0x473d47,_0x46a7c6);import{createIdentifier as _0x33148c,Inject as _0x3a18e9,Injector as _0x2eed8a,IConfigService as _0x462043,ILogService as _0x41bbc0,Disposable as _0x50932a,DisposableCollection as _0x4ca079,toDisposable as _0x411075,IUniverInstanceService as _0x2e2ca3,UserManagerService as _0x4fd4ba,UniverInstanceType as _0x34ccd3,LocaleService as _0x25b15a,Optional as _0x1f5a13,RxDisposable as _0x2f9470,Tools as _0x10fb77,Rectangle as _0x3be7f8,ICommandService as _0x326da6,JSONX as _0x575400,CommandType as _0x2707f2,IUndoRedoService as _0x46d3c0,IPermissionService as _0x1461bf,sequenceExecute as _0x4d2b7a,Workbook as _0x433510,MentionType as _0x97c634,isInternalEditorID as _0x5423ab,LocalUndoRedoService as _0x579d45,IContextService as _0x38dea7,DependentOn as _0x327176,Plugin as _0x210254,merge as _0x36ec5e,mergeOverrideWithDependencies as _0x581157,IAuthzIoService as _0xcc27c5,IMentionIOService as _0x55d716,registerDependencies as _0xa3cd39,Quantity as _0x5594c6,touchDependencies as _0x32fd4c}from'@univerjs/core';import{Subject as _0x42e7d7,merge as _0x5ac85e,of as _0x324682,BehaviorSubject as _0xa6b6e7,takeUntil as _0x4906df,ReplaySubject as _0x5d4224,take as _0x3d256e,map as _0xa964fc,shareReplay as _0x2ea2ae,firstValueFrom as _0x5039fe,concatMap as _0x4b76a7}from'rxjs';import{map as _0x4fc619,take as _0x16de2,filter as _0x24719a,delay as _0x291475,takeUntil as _0x5745eb}from'rxjs/operators';import{CollaborationEvent as _0x3d1bff,ISnapshotServerService as _0x3d2e4f,parseChangesetToProtocol as _0x1f7372,ITransformService as _0x157f6a,isTransformMutationsWithChangesetSuccess as _0x418fd2,mapDocumentTypeToUniverType as _0x3e9c01,RevisionService as _0x43b8da,isTransformChangesetsSuccess as _0x3d2c6a,CompressMutationService as _0x370cea,parseProtocolChangeset as _0xad3758,SnapshotService as _0x4194fe,textEncoder as _0x154489,b64DecodeUnicode as _0x1a97d4,isTransformMutationsWithChangesetFailure as _0x2f9aac,UniverCollaborationPlugin as _0x1baaeb}from'@univerjs-pro/collaboration';import{HTTPService as _0x477870,ISocketService as _0x119ba7,MergeInterceptorFactory as _0x8b4ced,HTTPRequest as _0x5235ed,UniverNetworkPlugin as _0x22fece,ThresholdInterceptorFactory as _0x6a2522}from'@univerjs/network';import{ITelemetryService as _0x365817}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x3a517f}from'@univerjs/docs';import{SheetsSelectionsService as _0x33ec45,SetSelectionsOperation as _0x913cf0,InsertSheetMutation as _0x18815b,EmptyMutation as _0xf1efa,WorkbookEditablePermission as _0x457771,SheetPermissionInitController as _0x43a842}from'@univerjs/sheets';import{ImageSourceType as _0x371265,ImageUploadStatusType as _0x2e1ab9,IImageIoService as _0x4d6d8d}from'@univerjs/drawing';import{getGlobalObject as _0x4b29a2}from'@univerjs-pro/license';const mn='SNAPSHOT_SERVER_URL_KEY',gn='/universer-api/snapshot',Sn=_0x2d44ac(0x229),Lr='SEND_CHANGESET_TIMEOUT',En=0x7d0,In=_0x2d44ac(0x319),Tn=_0x2d44ac(0x22c),Mr='/universer-api/user/session-ticket',Cn=_0x2d44ac(0x320),Rn=0x7530,mi=_0x2d44ac(0x2d5),gi=0x4e20,bn=0x4e20,On=_0x2d44ac(0x249),yn=0x3,xr=_0x2d44ac(0x38e),kr=0x3e8,Nn='COLLAB_SUBMIT_CHANGESET_URL',Dn=_0x2d44ac(0x100),Un=_0x2d44ac(0x296),An=_0x2d44ac(0x2f7),$r=_0x2d44ac(0x2bb),Hr=_0x2d44ac(0x3f3);var Si=(_0x1d2c51=>(_0x1d2c51[_0x1d2c51[_0x2d44ac(0x377)]=0x0]=_0x2d44ac(0x377),_0x1d2c51[_0x1d2c51['OK']=0x1]='OK',_0x1d2c51[_0x1d2c51[_0x2d44ac(0x3ee)]=0x2]=_0x2d44ac(0x3ee),_0x1d2c51[_0x1d2c51[_0x2d44ac(0x230)]=0x3]='PERMISSION_DENIED',_0x1d2c51[_0x1d2c51[_0x2d44ac(0x22d)]=0x4]='NOT_FOUND',_0x1d2c51[_0x1d2c51[_0x2d44ac(0x15d)]=0x5]=_0x2d44ac(0x15d),_0x1d2c51[_0x1d2c51[_0x2d44ac(0x18b)]=0x6]=_0x2d44ac(0x18b),_0x1d2c51[_0x1d2c51[_0x2d44ac(0x308)]=0x7]=_0x2d44ac(0x308),_0x1d2c51[_0x1d2c51[_0x2d44ac(0x30b)]=0x8]='TOO_MANY_REQUESTS',_0x1d2c51[_0x1d2c51[_0x2d44ac(0x17c)]=0x9]=_0x2d44ac(0x17c),_0x1d2c51[_0x1d2c51[_0x2d44ac(0x30e)]=0xa]=_0x2d44ac(0x30e),_0x1d2c51[_0x1d2c51['CHANGESET_REVISION_CONFILICT']=0x1389]='CHANGESET_REVISION_CONFILICT',_0x1d2c51[_0x1d2c51[_0x2d44ac(0x385)]=0x1771]=_0x2d44ac(0x385),_0x1d2c51[_0x1d2c51['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x1d2c51[_0x1d2c51[_0x2d44ac(0x164)]=0x1773]=_0x2d44ac(0x164),_0x1d2c51[_0x1d2c51[_0x2d44ac(0x307)]=0x1b59]=_0x2d44ac(0x307),_0x1d2c51[_0x1d2c51[_0x2d44ac(0x36b)]=0x1b5a]=_0x2d44ac(0x36b),_0x1d2c51[_0x1d2c51[_0x2d44ac(0x2c2)]=0x1b5b]=_0x2d44ac(0x2c2),_0x1d2c51[_0x1d2c51[_0x2d44ac(0x147)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x1d2c51[_0x1d2c51[_0x2d44ac(0x20a)]=0x1b5d]=_0x2d44ac(0x20a),_0x1d2c51[_0x1d2c51[_0x2d44ac(0x2a0)]=0x1f41]=_0x2d44ac(0x2a0),_0x1d2c51[_0x1d2c51[_0x2d44ac(0x310)]=0x2329]=_0x2d44ac(0x310),_0x1d2c51[_0x1d2c51[_0x2d44ac(0xfd)]=0x232a]=_0x2d44ac(0xfd),_0x1d2c51[_0x1d2c51[_0x2d44ac(0x2ac)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x1d2c51[_0x1d2c51[_0x2d44ac(0x1a3)]=0x232c]=_0x2d44ac(0x1a3),_0x1d2c51[_0x1d2c51[_0x2d44ac(0x239)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x1d2c51[_0x1d2c51[_0x2d44ac(0x293)]=0x2711]=_0x2d44ac(0x293),_0x1d2c51[_0x1d2c51[_0x2d44ac(0x157)]=0x2712]=_0x2d44ac(0x157),_0x1d2c51[_0x1d2c51[_0x2d44ac(0x2b1)]=0x2713]=_0x2d44ac(0x2b1),_0x1d2c51[_0x1d2c51[_0x2d44ac(0x162)]=0x2714]=_0x2d44ac(0x162),_0x1d2c51[_0x1d2c51[_0x2d44ac(0x30d)]=0x271a]=_0x2d44ac(0x30d),_0x1d2c51[_0x1d2c51[_0x2d44ac(0x166)]=0x271b]=_0x2d44ac(0x166),_0x1d2c51[_0x1d2c51['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]=_0x2d44ac(0x1e5),_0x1d2c51[_0x1d2c51['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]=_0x2d44ac(0x390),_0x1d2c51[_0x1d2c51[_0x2d44ac(0x1fe)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x1d2c51[_0x1d2c51['YUUMI_AI_RUN_FAILED']=0x271f]='YUUMI_AI_RUN_FAILED',_0x1d2c51[_0x1d2c51['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x1d2c51[_0x1d2c51[_0x2d44ac(0x17f)]=0x2ee1]=_0x2d44ac(0x17f),_0x1d2c51[_0x1d2c51['INVALID_INVITE_CODE']=0x2ee2]='INVALID_INVITE_CODE',_0x1d2c51[_0x1d2c51[_0x2d44ac(0x341)]=0x2ee3]=_0x2d44ac(0x341),_0x1d2c51[_0x1d2c51[_0x2d44ac(0x298)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x1d2c51[_0x1d2c51['INVITE_CODE_ALREADY_BOUND']=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x1d2c51[_0x1d2c51[_0x2d44ac(0x26b)]=0x32c9]=_0x2d44ac(0x26b),_0x1d2c51[_0x1d2c51[_0x2d44ac(0x3d6)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x1d2c51[_0x1d2c51[_0x2d44ac(0x2b8)]=0x32cb]=_0x2d44ac(0x2b8),_0x1d2c51[_0x1d2c51[_0x2d44ac(0x1c2)]=-0x1]=_0x2d44ac(0x1c2),_0x1d2c51))(Si||{}),Q=(_0x27e8fa=>(_0x27e8fa[_0x27e8fa['UNIVER_UNKNOWN']=0x0]='UNIVER_UNKNOWN',_0x27e8fa[_0x27e8fa[_0x2d44ac(0x3f8)]=0x1]='UNIVER_DOC',_0x27e8fa[_0x27e8fa[_0x2d44ac(0x39a)]=0x2]=_0x2d44ac(0x39a),_0x27e8fa[_0x27e8fa['UNIVER_SLIDE']=0x3]=_0x2d44ac(0x3a0),_0x27e8fa[_0x27e8fa['UNIVER_PROJECT']=0x4]='UNIVER_PROJECT',_0x27e8fa[_0x27e8fa[_0x2d44ac(0x1c2)]=-0x1]=_0x2d44ac(0x1c2),_0x27e8fa))(Q||{}),F=(_0x2897ad=>(_0x2897ad[_0x2897ad[_0x2d44ac(0x24a)]=0x0]=_0x2d44ac(0x24a),_0x2897ad[_0x2897ad[_0x2d44ac(0x396)]=0x1]='HELLO',_0x2897ad[_0x2897ad[_0x2d44ac(0x2c9)]=0x2]=_0x2d44ac(0x2c9),_0x2897ad[_0x2897ad[_0x2d44ac(0x2b4)]=0x3]='LEAVE',_0x2897ad[_0x2897ad[_0x2d44ac(0x107)]=0x4]=_0x2d44ac(0x107),_0x2897ad[_0x2897ad[_0x2d44ac(0x134)]=0x5]=_0x2d44ac(0x134),_0x2897ad[_0x2897ad[_0x2d44ac(0x392)]=0x6]=_0x2d44ac(0x392),_0x2897ad[_0x2897ad[_0x2d44ac(0x1c2)]=-0x1]=_0x2d44ac(0x1c2),_0x2897ad))(F||{}),ge=(_0xf183d8=>(_0xf183d8[_0xf183d8[_0x2d44ac(0x278)]=0x0]='UNKNOWN_CODE',_0xf183d8[_0xf183d8['OK']=0x1]='OK',_0xf183d8[_0xf183d8[_0x2d44ac(0x1b7)]=0x2]=_0x2d44ac(0x1b7),_0xf183d8[_0xf183d8[_0x2d44ac(0x31e)]=0x3e9]=_0x2d44ac(0x31e),_0xf183d8[_0xf183d8[_0x2d44ac(0x19e)]=0x3ea]=_0x2d44ac(0x19e),_0xf183d8[_0xf183d8[_0x2d44ac(0x3d8)]=0x3eb]=_0x2d44ac(0x3d8),_0xf183d8[_0xf183d8[_0x2d44ac(0x2c4)]=0x3ec]=_0x2d44ac(0x2c4),_0xf183d8[_0xf183d8[_0x2d44ac(0x1c2)]=-0x1]=_0x2d44ac(0x1c2),_0xf183d8))(ge||{}),Ei=(_0x51e447=>(_0x51e447[_0x51e447['Undefined']=0x0]=_0x2d44ac(0x285),_0x51e447[_0x51e447[_0x2d44ac(0x19f)]=0x1]=_0x2d44ac(0x19f),_0x51e447[_0x51e447['HttpExport']=0x2]=_0x2d44ac(0x333),_0x51e447[_0x51e447['UnitEmbedded']=0x3]=_0x2d44ac(0x237),_0x51e447[_0x51e447[_0x2d44ac(0x22f)]=0x4]='UnitSnapshot',_0x51e447[_0x51e447[_0x2d44ac(0x202)]=0x5]='UserProfileImg',_0x51e447[_0x51e447[_0x2d44ac(0x1c2)]=-0x1]=_0x2d44ac(0x1c2),_0x51e447))(Ei||{});const q=_0x2d44ac(0x31c),wn={};var re=(_0x3b2b46=>(_0x3b2b46[_0x2d44ac(0x11f)]='OTHER_CLIENT_EDITING',_0x3b2b46[_0x2d44ac(0x230)]=_0x2d44ac(0x230),_0x3b2b46['CONFLICT']=_0x2d44ac(0x3b3),_0x3b2b46['CLOSE_ROOM']=_0x2d44ac(0x3ec),_0x3b2b46[_0x2d44ac(0x3eb)]=_0x2d44ac(0x3eb),_0x3b2b46[_0x2d44ac(0x347)]=_0x2d44ac(0x347),_0x3b2b46[_0x2d44ac(0x2d9)]=_0x2d44ac(0x2d9),_0x3b2b46[_0x2d44ac(0x294)]='SUBMIT_CHANGESET_TIMEOUT',_0x3b2b46))(re||{});class pe{constructor(){var _0x4b4ae4=_0x2d44ac;N(this,_0x4b4ae4(0x3bf),new _0x42e7d7()),N(this,_0x4b4ae4(0x2ff),this['_event$'][_0x4b4ae4(0x2f1)]());}[_0x2d44ac(0x113)](_0x1b9d18){var _0x160c70=_0x2d44ac;this['_event$'][_0x160c70(0x26e)](_0x1b9d18);}}const Pn=_0x33148c(_0x2d44ac(0x245));function Ln(_0x512b91){var _0x40efde=_0x2d44ac,_0x4da8af,_0xb587b2,_0x40939c,_0x2e8529,_0x5e1a95;const _0x3fa897=_0x512b91[_0x40efde(0x18e)],_0x232b9e=JSON['parse'](_0x3fa897);switch(_0x232b9e[_0x40efde(0x2da)]){case F[_0x40efde(0x134)]:case F[_0x40efde(0x396)]:{const _0x55fc4f=_0x232b9e[_0x40efde(0x3de)];return{..._0x232b9e,'data':_0x55fc4f,'cmd':_0x232b9e['cmd']};}case F[_0x40efde(0x2c9)]:{const _0x291246=_0x232b9e[_0x40efde(0x236)];return{..._0x232b9e,'data':_0x291246,'cmd':_0x232b9e['cmd']};}case F[_0x40efde(0x392)]:{const _0x4e2f29=_0x232b9e[_0x40efde(0x3c9)];switch(_0x4e2f29['eventID']){case _0x3d1bff[_0x40efde(0x1a4)]:return{..._0x232b9e,'data':{..._0x4e2f29,'data':(_0x4da8af=_0x4e2f29['permissionRejEvent'])==null?void 0x0:_0x4da8af['cs']},'cmd':_0x232b9e[_0x40efde(0x2da)]};case _0x3d1bff[_0x40efde(0x34a)]:return{..._0x232b9e,'data':{..._0x4e2f29,'data':(_0xb587b2=_0x4e2f29[_0x40efde(0x1a8)])==null?void 0x0:_0xb587b2['cs']},'cmd':_0x232b9e['cmd']};case _0x3d1bff[_0x40efde(0x381)]:return{..._0x232b9e,'data':{..._0x4e2f29,'data':(_0x40939c=_0x4e2f29[_0x40efde(0x2a5)])==null?void 0x0:_0x40939c['cs']},'cmd':_0x232b9e[_0x40efde(0x2da)]};case _0x3d1bff[_0x40efde(0x248)]:return{..._0x232b9e,'data':{..._0x4e2f29,'data':(_0x2e8529=_0x4e2f29['csRejEvent'])==null?void 0x0:_0x2e8529['cs']},'cmd':_0x232b9e[_0x40efde(0x2da)]};case _0x3d1bff[_0x40efde(0x1bd)]:return{..._0x232b9e,'data':{..._0x4e2f29,'data':(_0x5e1a95=_0x4e2f29[_0x40efde(0x3ca)])==null?void 0x0:_0x5e1a95['cs']},'cmd':_0x232b9e['cmd']};case _0x3d1bff[_0x40efde(0x1f0)]:return{..._0x232b9e,'data':{..._0x4e2f29,'data':_0x4e2f29[_0x40efde(0x36a)]},'cmd':_0x232b9e[_0x40efde(0x2da)]};case _0x3d1bff[_0x40efde(0x401)]:return{..._0x232b9e,'data':{..._0x4e2f29,'data':_0x4e2f29['joinEvent']},'cmd':_0x232b9e[_0x40efde(0x2da)]};case _0x3d1bff[_0x40efde(0x25e)]:return{..._0x232b9e,'data':{..._0x4e2f29,'data':_0x4e2f29['leaveEvent']},'cmd':_0x232b9e[_0x40efde(0x2da)]};case _0x3d1bff[_0x40efde(0x367)]:return{..._0x232b9e,'data':{..._0x4e2f29,'data':_0x4e2f29['liveShareNewHost']},'cmd':_0x232b9e[_0x40efde(0x2da)]};case _0x3d1bff[_0x40efde(0x240)]:case _0x3d1bff[_0x40efde(0x2f8)]:return{..._0x232b9e,'data':{..._0x4e2f29,'data':_0x4e2f29[_0x40efde(0x14f)]},'cmd':_0x232b9e[_0x40efde(0x2da)]};case _0x3d1bff[_0x40efde(0x2ef)]:return{..._0x232b9e,'data':{..._0x4e2f29,'data':_0x4e2f29[_0x40efde(0x3d9)]},'cmd':_0x232b9e[_0x40efde(0x2da)]};case _0x3d1bff[_0x40efde(0x37a)]:return{..._0x232b9e,'data':_0x4e2f29,'cmd':_0x232b9e[_0x40efde(0x2da)]};case _0x3d1bff[_0x40efde(0x2ca)]:return{..._0x232b9e,'data':{..._0x4e2f29,'data':_0x4e2f29[_0x40efde(0x338)]},'cmd':_0x232b9e[_0x40efde(0x2da)]};case _0x3d1bff[_0x40efde(0x3cb)]:return{..._0x232b9e,'data':{..._0x4e2f29,'data':_0x4e2f29[_0x40efde(0x326)]},'cmd':_0x232b9e[_0x40efde(0x2da)]};case _0x3d1bff[_0x40efde(0x175)]:return{..._0x232b9e,'data':{..._0x4e2f29,'data':_0x4e2f29[_0x40efde(0x339)]},'cmd':_0x232b9e[_0x40efde(0x2da)]};case _0x3d1bff[_0x40efde(0x1c3)]:return{..._0x232b9e,'data':{..._0x4e2f29,'data':_0x4e2f29[_0x40efde(0x349)]},'cmd':_0x232b9e[_0x40efde(0x2da)]};default:return _0x232b9e;}}default:return _0x232b9e;}}function Mn(_0x106188){var _0xf5f5f0=_0x2d44ac;switch(_0x106188[_0xf5f5f0(0x2da)]){case F['HEARTBEAT']:case F['HELLO']:return JSON[_0xf5f5f0(0x2f2)]({'cmd':_0x106188['cmd'],'routeKey':_0x106188['routeKey']});case F[_0xf5f5f0(0x107)]:{let _0xeebb4c;switch(_0x106188[_0xf5f5f0(0x18e)]['eventID']){case _0x3d1bff['UPDATE_CURSOR']:{_0xeebb4c={'eventID':_0x3d1bff[_0xf5f5f0(0x1f0)],'updateCursorEvent':_0x106188[_0xf5f5f0(0x18e)]['data']};break;}case _0x3d1bff[_0xf5f5f0(0x25e)]:{_0xeebb4c={'eventID':_0x3d1bff['USERS_LEAVE'],'leaveEvent':_0x106188['data'][_0xf5f5f0(0x18e)]};break;}case _0x3d1bff[_0xf5f5f0(0x401)]:{_0xeebb4c={'eventID':_0x3d1bff[_0xf5f5f0(0x401)],'joinEvent':_0x106188[_0xf5f5f0(0x18e)][_0xf5f5f0(0x18e)]};break;}case _0x3d1bff[_0xf5f5f0(0x367)]:{_0xeebb4c={'eventID':_0x3d1bff[_0xf5f5f0(0x367)],'liveShareNewHost':_0x106188[_0xf5f5f0(0x18e)][_0xf5f5f0(0x18e)]};break;}case _0x3d1bff[_0xf5f5f0(0x2f8)]:{_0xeebb4c={'eventID':_0x3d1bff[_0xf5f5f0(0x2f8)],'liveShareOperation':_0x106188[_0xf5f5f0(0x18e)][_0xf5f5f0(0x18e)]};break;}case _0x3d1bff[_0xf5f5f0(0x2ef)]:{_0xeebb4c={'eventID':_0x3d1bff[_0xf5f5f0(0x2ef)],'liveShareTerminate':_0x106188[_0xf5f5f0(0x18e)][_0xf5f5f0(0x18e)]};break;}case _0x3d1bff['LIVESHARE_REQUEST_HOST']:{_0xeebb4c={'eventID':_0x3d1bff['LIVESHARE_REQUEST_HOST'],'liveShareRequestHost':_0x106188[_0xf5f5f0(0x18e)][_0xf5f5f0(0x18e)]};break;}case _0x3d1bff['LIVESHARE_FETCH_OPERATIONS']:{_0xeebb4c={'eventID':_0x3d1bff[_0xf5f5f0(0x240)]};break;}default:_0xeebb4c={'eventID':_0x106188['data'][_0xf5f5f0(0x3f7)]};}return JSON[_0xf5f5f0(0x2f2)]({'cmd':_0x106188[_0xf5f5f0(0x2da)],'routeKey':_0x106188['routeKey'],'collaMsg':_0xeebb4c});}case F[_0xf5f5f0(0x2c9)]:return JSON['stringify']({'cmd':_0x106188[_0xf5f5f0(0x2da)],'routeKey':_0x106188[_0xf5f5f0(0x335)],'joinReq':_0x106188[_0xf5f5f0(0x18e)]});case F[_0xf5f5f0(0x2b4)]:return JSON[_0xf5f5f0(0x2f2)]({'cmd':_0x106188[_0xf5f5f0(0x2da)],'routeKey':_0x106188[_0xf5f5f0(0x335)],'leaveReq':_0x106188[_0xf5f5f0(0x18e)]});default:throw new Error(_0xf5f5f0(0x101));}}var xn=Object[_0x2d44ac(0x2a3)],kn=(_0x51483e,_0x5c7c95,_0x51f265,_0x3b93af)=>{var _0x9e0220=_0x2d44ac;for(var _0x442b82=_0x3b93af>0x1?void 0x0:_0x3b93af?xn(_0x5c7c95,_0x51f265):_0x5c7c95,_0x9b297d=_0x51483e[_0x9e0220(0x1cc)]-0x1,_0x2f7bcf;_0x9b297d>=0x0;_0x9b297d--)(_0x2f7bcf=_0x51483e[_0x9b297d])&&(_0x442b82=_0x2f7bcf(_0x442b82)||_0x442b82);return _0x442b82;},Ae=(_0x41b85c,_0x25f3e5)=>(_0x1d0341,_0x57d032)=>_0x25f3e5(_0x1d0341,_0x57d032,_0x41b85c);const Ii=_0x33148c(_0x2d44ac(0x2b5));function $n(_0x502c80,_0x1a5a8d,_0x3a0ccc){var _0x12f018=_0x2d44ac;return _0x502c80+'/'+_0x1a5a8d+_0x12f018(0x2d7)+_0x3a0ccc+_0x12f018(0x1fd);}let Gt=class extends _0x50932a{constructor(_0x228193,_0x561321,_0x40debc,_0x4cb434,_0x35bbaf){var _0x39bf36=_0x2d44ac;super(),this[_0x39bf36(0x3d2)]=_0x228193,this[_0x39bf36(0x35c)]=_0x561321,this[_0x39bf36(0x375)]=_0x40debc,this[_0x39bf36(0x1d5)]=_0x4cb434,this[_0x39bf36(0x322)]=_0x35bbaf;}[_0x2d44ac(0x35f)](_0x498656){var _0x30b2b3=_0x2d44ac;const _0x5c0305=this['_injector'][_0x30b2b3(0x215)](_0x119ba7);if(!_0x5c0305)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!');const _0x5c3005=_0x5c0305[_0x30b2b3(0x253)](_0x498656);if(!_0x5c3005)throw new Error(_0x30b2b3(0x32c));const _0x3b853f=new _0x4ca079(),_0x4be47d=new _0x42e7d7();_0x3b853f['add'](_0x5c3005['close$'][_0x30b2b3(0x128)](_0x361c0b=>_0x4be47d['next'](_0x361c0b))),_0x3b853f[_0x30b2b3(0x127)](_0x411075(()=>_0x4be47d[_0x30b2b3(0x172)]()));const _0x5007bb=new _0x42e7d7();_0x3b853f[_0x30b2b3(0x127)](_0x5c3005[_0x30b2b3(0x30c)]['subscribe'](_0x347a26=>_0x5007bb[_0x30b2b3(0x26e)](_0x347a26))),_0x3b853f[_0x30b2b3(0x127)](_0x411075(()=>_0x5007bb['complete']()));const _0x176f1b=new _0x42e7d7();_0x3b853f[_0x30b2b3(0x127)](_0x5c3005[_0x30b2b3(0x167)]['subscribe'](_0x4306f7=>{var _0x821b83=_0x30b2b3;const _0x4ee34d=Ln(_0x4306f7);_0x176f1b[_0x821b83(0x26e)](_0x4ee34d);})),_0x3b853f[_0x30b2b3(0x127)](_0x411075(()=>_0x176f1b[_0x30b2b3(0x172)]()));let _0x4622ec;const _0x112c6c=()=>{var _0x25ef38=_0x30b2b3;_0x5007bb[_0x25ef38(0x26e)](new Event(_0x25ef38(0x356))),_0x4be47d[_0x25ef38(0x26e)](new Event(_0x25ef38(0x356))),_0x4622ec[_0x25ef38(0x3a7)]();};return _0x4622ec={'memberID':'','close$':_0x4be47d['asObservable'](),'error$':_0x5007bb[_0x30b2b3(0x2f1)](),'open$':_0x5c3005[_0x30b2b3(0x23c)],'message$':_0x176f1b['asObservable'](),'send':_0x4bd608=>{var _0x4f288b=_0x30b2b3;if(_0x4bd608[_0x4f288b(0x2da)]===F['INGEST']){if(_0x4bd608[_0x4f288b(0x18e)][_0x4f288b(0x3f7)]===_0x3d1bff[_0x4f288b(0x1ab)]){this[_0x4f288b(0x13e)](_0x4622ec,_0x4bd608[_0x4f288b(0x18e)])[_0x4f288b(0x303)](_0x4bf82f=>{var _0x531399=_0x4f288b;this[_0x531399(0x1d5)]['error'](_0x4bf82f),_0x112c6c();});return;}if(_0x4bd608[_0x4f288b(0x18e)][_0x4f288b(0x3f7)]===_0x3d1bff[_0x4f288b(0x39c)]){const _0x2e989f=_0x4bd608[_0x4f288b(0x18e)];this[_0x4f288b(0x2dd)](_0x2e989f)[_0x4f288b(0x26d)](_0x173bda=>{var _0x168212=_0x4f288b;_0x176f1b['next']({'cmd':F[_0x168212(0x392)],'code':ge['OK'],'routeKey':_0x2e989f[_0x168212(0x18e)][_0x168212(0x1ff)],'routeType':'','data':{'eventID':_0x3d1bff[_0x168212(0x1a7)],'data':{'changesets':_0x173bda}}});})[_0x4f288b(0x303)](_0x45795f=>{var _0x2d6498=_0x4f288b;this[_0x2d6498(0x1d5)][_0x2d6498(0x274)](_0x45795f),_0x112c6c();});return;}}_0x5c3005[_0x4f288b(0x1f5)](Mn(_0x4bd608));},'close':()=>{var _0x9521da=_0x30b2b3;_0x5c3005['close'](),_0x3b853f[_0x9521da(0x141)]();}},_0x4622ec;}async[_0x2d44ac(0x13e)](_0x4648c5,_0x240da1){var _0x3596a6=_0x2d44ac,_0x42f84b,_0x35b5db;const {unitType:_0x52f15c,unitID:_0x208c53,changeset:_0x38c6f4}=_0x240da1[_0x3596a6(0x18e)],_0x4f82ed={'unitID':_0x208c53,'memberID':_0x4648c5['memberID'],'type':_0x52f15c,'changeset':_0x1f7372(_0x38c6f4)},_0x4dc4b6=this[_0x3596a6(0x375)][_0x3596a6(0x3fc)](Nn),_0x169fcf=this['_configService'][_0x3596a6(0x3fc)](q),_0x540254=$n((_0x35b5db=(_0x42f84b=_0x169fcf==null?void 0x0:_0x169fcf[_0x3596a6(0x24c)])!=null?_0x42f84b:_0x4dc4b6)!=null?_0x35b5db:Dn,_0x52f15c,_0x208c53);try{await this[_0x3596a6(0x35c)][_0x3596a6(0x3df)](_0x540254,{'body':_0x4f82ed});}catch(_0x330636){throw this[_0x3596a6(0x1d5)]['error'](_0x3596a6(0x15c),'submit\x20changeset\x20error!'),_0x330636;}}async['_fetchMissChangesets'](_0x1821d8){var _0x1d5815=_0x2d44ac;const {unitID:_0x31abb9,from:_0x4e6bad,to:_0x339285,unitType:_0x4edf4c}=_0x1821d8[_0x1d5815(0x18e)];return(await this['_snapshotServerService'][_0x1d5815(0x1b2)]({'metadata':void 0x0},{'unitID':_0x31abb9,'type':_0x4edf4c,'from':_0x4e6bad,'to':_0x339285}))[_0x1d5815(0x225)];}};Gt=kn([Ae(0x0,_0x3a18e9(_0x2eed8a)),Ae(0x1,_0x3a18e9(_0x477870)),Ae(0x2,_0x462043),Ae(0x3,_0x41bbc0),Ae(0x4,_0x3d2e4f)],Gt);const Hn=_0x2d44ac(0x38b);function Bn(_0x3cd045){var _0x44d440=_0x2d44ac;return JSON[_0x44d440(0x2f2)](_0x3cd045)[_0x44d440(0x1cc)];}class Ti{constructor(){var _0x5526d0=_0x2d44ac;N(this,'_commentUpdate$',new _0x42e7d7()),N(this,_0x5526d0(0x284),this[_0x5526d0(0x345)][_0x5526d0(0x2f1)]());}[_0x2d44ac(0x297)](_0x65e2d0){var _0xcf1620=_0x2d44ac;this['_commentUpdate$'][_0xcf1620(0x26e)](_0x65e2d0);}}var jn=Object['getOwnPropertyDescriptor'],Fn=(_0x3fdb14,_0x88db20,_0x53e324,_0x757f5)=>{for(var _0xedc437=_0x757f5>0x1?void 0x0:_0x757f5?jn(_0x88db20,_0x53e324):_0x88db20,_0x290d37=_0x3fdb14['length']-0x1,_0x1e4d32;_0x290d37>=0x0;_0x290d37--)(_0x1e4d32=_0x3fdb14[_0x290d37])&&(_0xedc437=_0x1e4d32(_0xedc437)||_0xedc437);return _0xedc437;},Wt=(_0x527fb1,_0x154eca)=>(_0x306801,_0xf9f3c4)=>_0x154eca(_0x306801,_0xf9f3c4,_0x527fb1);let Le=class extends _0x50932a{constructor(_0x14356,_0x43731c){var _0x52260c=_0x2d44ac;super(),N(this,_0x52260c(0x154),new Map()),N(this,_0x52260c(0x3ce),new _0x42e7d7()),(this['_univerInstanceService']=_0x14356,this['_userManagerService']=_0x43731c,this[_0x52260c(0x336)](_0x5ac85e(this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x34ccd3[_0x52260c(0x39a)])['pipe'](_0x4fc619(_0xf110e3=>_0xf110e3['getUnitId']())),this[_0x52260c(0x3f5)]['getTypeOfUnitDisposed$'](_0x34ccd3['UNIVER_DOC'])[_0x52260c(0x11e)](_0x4fc619(_0x4f9d83=>_0x4f9d83[_0x52260c(0x29c)]())),this[_0x52260c(0x3f5)][_0x52260c(0x14e)](_0x34ccd3[_0x52260c(0x3a0)])[_0x52260c(0x11e)](_0x4fc619(_0x2e35b6=>_0x2e35b6['getUnitId']())))[_0x52260c(0x128)](_0x5a4881=>this['_removeRoom'](_0x5a4881))));}[_0x2d44ac(0x2a6)](_0xa00c12){var _0x442600=_0x2d44ac;return this[_0x442600(0x154)]['has'](_0xa00c12)?_0x324682(this[_0x442600(0x154)]['get'](_0xa00c12)):this[_0x442600(0x3ce)][_0x442600(0x11e)](_0x4fc619(_0x178daa=>{var _0xf5da6a=_0x442600;if(_0x178daa===_0xa00c12)return this[_0xf5da6a(0x154)][_0xf5da6a(0x215)](_0x178daa);}));}['setCurrentUser'](_0x53b964){var _0x26fc37=_0x2d44ac;this[_0x26fc37(0x2c6)][_0x26fc37(0x180)](_0x53b964);}[_0x2d44ac(0x37d)](){var _0x5ae6ac=_0x2d44ac;return this[_0x5ae6ac(0x2c6)][_0x5ae6ac(0x37d)]();}[_0x2d44ac(0xfc)](_0x118c51,_0x5d0888){var _0x4755c9=_0x2d44ac;let _0x14b267=this[_0x4755c9(0x154)][_0x4755c9(0x215)](_0x118c51);_0x14b267||(_0x14b267=new Vn(),this[_0x4755c9(0x154)][_0x4755c9(0x2d2)](_0x118c51,_0x14b267),this['_roomCreated$']['next'](_0x118c51)),_0x14b267[_0x4755c9(0xfc)](_0x5d0888);}['removeMember'](_0x55bb4c,_0x1041ff){const _0x1a8376=this['_roomMembers']['get'](_0x55bb4c);_0x1a8376&&_0x1a8376['removeMember'](_0x1041ff);}[_0x2d44ac(0x317)](_0x211f7a){var _0x23b942=_0x2d44ac;return this[_0x23b942(0x154)][_0x23b942(0x215)](_0x211f7a);}[_0x2d44ac(0x3a6)](_0x5ce984,_0x271679){var _0x42cff3=_0x2d44ac;const _0xc48832=this[_0x42cff3(0x154)][_0x42cff3(0x215)](_0x5ce984);if(_0xc48832)return _0xc48832['getMember'](_0x271679);}['_removeRoom'](_0x215ac2){var _0x27b756=_0x2d44ac;const _0x397a2f=this['_roomMembers'][_0x27b756(0x215)](_0x215ac2);_0x397a2f&&(_0x397a2f[_0x27b756(0x141)](),this[_0x27b756(0x154)][_0x27b756(0x318)](_0x215ac2));}[_0x2d44ac(0x141)](){var _0x21a3bb=_0x2d44ac;this[_0x21a3bb(0x154)]['forEach'](_0x31616d=>_0x31616d['dispose']()),this[_0x21a3bb(0x154)][_0x21a3bb(0x3b4)](),this['_roomCreated$'][_0x21a3bb(0x172)]();}};Le=Fn([Wt(0x0,_0x2e2ca3),Wt(0x1,_0x3a18e9(_0x4fd4ba))],Le);class Vn extends _0x50932a{constructor(){var _0x13ff3d=_0x2d44ac;super(...arguments),N(this,_0x13ff3d(0x133),new Map()),N(this,_0x13ff3d(0x2c1),new _0xa6b6e7(this[_0x13ff3d(0x133)])),N(this,_0x13ff3d(0x25b),this[_0x13ff3d(0x2c1)][_0x13ff3d(0x2f1)]());}['dispose'](){var _0x192731=_0x2d44ac;this[_0x192731(0x133)]['clear']();}[_0x2d44ac(0xfc)](_0x42e3e2){var _0x414cae=_0x2d44ac;this['_members'][_0x414cae(0x2d2)](_0x42e3e2[_0x414cae(0x3c6)],_0x42e3e2),this[_0x414cae(0x3fe)]();}[_0x2d44ac(0x3f0)](_0x3313d2){var _0x42fac0=_0x2d44ac;this[_0x42fac0(0x133)]['delete'](_0x3313d2);}[_0x2d44ac(0x3a6)](_0x71caff){var _0x38ded3=_0x2d44ac;return this[_0x38ded3(0x133)]['get'](_0x71caff);}[_0x2d44ac(0x391)](){var _0x1047f1=_0x2d44ac;return Array[_0x1047f1(0x33a)](this[_0x1047f1(0x133)][_0x1047f1(0xf9)]());}['_emitMembers'](){var _0x35e435=_0x2d44ac;this[_0x35e435(0x2c1)]['next'](this[_0x35e435(0x133)]);}}var Gn=Object[_0x2d44ac(0x2a3)],Wn=(_0x20c110,_0x44efe4,_0x3e698b,_0x1459a6)=>{for(var _0x3bebd4=_0x1459a6>0x1?void 0x0:_0x1459a6?Gn(_0x44efe4,_0x3e698b):_0x44efe4,_0x1a86ad=_0x20c110['length']-0x1,_0xb8be7a;_0x1a86ad>=0x0;_0x1a86ad--)(_0xb8be7a=_0x20c110[_0x1a86ad])&&(_0x3bebd4=_0xb8be7a(_0x3bebd4)||_0x3bebd4);return _0x3bebd4;},me=(_0x30a213,_0x44dbd9)=>(_0x1e7e05,_0x2a7d7e)=>_0x44dbd9(_0x1e7e05,_0x2a7d7e,_0x30a213),Ee=(_0x5a5b49=>(_0x5a5b49[_0x5a5b49[_0x2d44ac(0x36c)]=0x0]='IDLE',_0x5a5b49[_0x5a5b49['JOINING']=0x1]=_0x2d44ac(0x18f),_0x5a5b49[_0x5a5b49[_0x2d44ac(0x2e5)]=0x2]=_0x2d44ac(0x2e5),_0x5a5b49[_0x5a5b49['ONLINE']=0x3]=_0x2d44ac(0x177),_0x5a5b49))(Ee||{});const Yt={[ge[_0x2d44ac(0x1b7)]]:_0x2d44ac(0x111),[ge[_0x2d44ac(0x31e)]]:_0x2d44ac(0x11a),[ge['JOIN_ROOM_NOT_EXISTS']]:_0x2d44ac(0x2f4),[ge[_0x2d44ac(0x3d8)]]:'session.room-permission-denied',[ge[_0x2d44ac(0x2c4)]]:_0x2d44ac(0x198)};let Et=class extends _0x2f9470{constructor(_0x48656f,_0x278b0b,_0x451aa4,_0x194a0b,_0x3af8fb,_0xe3aa34,_0x3cc605,_0x1ee78f,_0x4e7e43){var _0x713d9a=_0x2d44ac;super(),N(this,_0x713d9a(0x179),new _0xa6b6e7(0x0)),N(this,_0x713d9a(0x250),this[_0x713d9a(0x179)]['asObservable']()),N(this,_0x713d9a(0x3bf),new _0x42e7d7()),N(this,_0x713d9a(0x2ff),this[_0x713d9a(0x3bf)][_0x713d9a(0x2f1)]()),N(this,_0x713d9a(0x25c)),N(this,_0x713d9a(0x27b)),N(this,_0x713d9a(0x114)),N(this,_0x713d9a(0x2b2),!0x1),N(this,_0x713d9a(0x12d),null),(this[_0x713d9a(0x256)]=_0x48656f,this[_0x713d9a(0x1d5)]=_0x451aa4,this[_0x713d9a(0x375)]=_0x194a0b,this[_0x713d9a(0x309)]=_0x3af8fb,this[_0x713d9a(0xff)]=_0xe3aa34,this[_0x713d9a(0x241)]=_0x3cc605,this['_collaborationUIEventService']=_0x1ee78f,this[_0x713d9a(0x3f2)]=_0x4e7e43,this[_0x713d9a(0x2b2)]=!!this[_0x713d9a(0x3f2)],_0x278b0b[_0x713d9a(0x11e)](_0x4906df(this[_0x713d9a(0x115)]))['subscribe'](_0x2c85c0=>{var _0x30fbd7=_0x713d9a,_0x3610a1;typeof _0x2c85c0>'u'||(this[_0x30fbd7(0x25c)]=_0x2c85c0,_0x2c85c0?(this[_0x30fbd7(0x2e0)](_0x2c85c0),this[_0x30fbd7(0x27b)]=_0x2c85c0[_0x30fbd7(0x167)][_0x30fbd7(0x128)](_0x387708=>{var _0x17bae5=_0x30fbd7;_0x387708[_0x17bae5(0x335)]===this[_0x17bae5(0x256)]&&this[_0x17bae5(0x170)](_0x387708);})):(this[_0x30fbd7(0x10d)](),this[_0x30fbd7(0x179)]['next'](0x2),(_0x3610a1=this[_0x30fbd7(0x27b)])==null||_0x3610a1[_0x30fbd7(0x20c)](),this[_0x30fbd7(0x27b)]=null));}));}get[_0x2d44ac(0x125)](){var _0xff92fa=_0x2d44ac;return this[_0xff92fa(0x179)][_0xff92fa(0x2dc)]();}[_0x2d44ac(0x192)](){var _0x394a1e=_0x2d44ac,_0x3c1473,_0x3eac55;return(_0x3eac55=(_0x3c1473=this[_0x394a1e(0x25c)])==null?void 0x0:_0x3c1473[_0x394a1e(0x3c6)])!=null?_0x3eac55:null;}[_0x2d44ac(0x141)](){var _0x3f8495=_0x2d44ac;super['dispose'](),this[_0x3f8495(0x115)]['next'](),this[_0x3f8495(0x115)][_0x3f8495(0x172)]();}[_0x2d44ac(0x3a7)](){var _0xa73d4f=_0x2d44ac,_0x1465d8,_0x512683;this[_0xa73d4f(0x10d)](),(_0x1465d8=this[_0xa73d4f(0x25c)])==null||_0x1465d8[_0xa73d4f(0x1f5)]({'cmd':F[_0xa73d4f(0x2b4)],'data':{'roomID':this['_unitID']}}),(_0x512683=this[_0xa73d4f(0x25c)])==null||_0x512683[_0xa73d4f(0x3a7)](),this[_0xa73d4f(0x3bf)][_0xa73d4f(0x172)](),this['_sessionStatus$'][_0xa73d4f(0x172)](),this[_0xa73d4f(0x141)]();}[_0x2d44ac(0x170)](_0x461051){var _0x4ffd22=_0x2d44ac;_0x461051[_0x4ffd22(0x2da)]===F[_0x4ffd22(0x2c9)]?this[_0x4ffd22(0x124)](_0x461051):_0x461051[_0x4ffd22(0x2da)]===F[_0x4ffd22(0x392)]&&this[_0x4ffd22(0x2fd)](_0x461051);}[_0x2d44ac(0x2e0)](_0xfbf717){var _0x70b6fb=_0x2d44ac;this[_0x70b6fb(0x179)][_0x70b6fb(0x26e)](0x1),_0xfbf717['send']({'cmd':F['JOIN'],'routeKey':this[_0x70b6fb(0x256)],'routeType':'','data':{'rooms':[{'roomID':this[_0x70b6fb(0x256)]}]}});}['_onJoinRoomEvent'](_0x30cd9b){var _0x5cb1d5=_0x2d44ac,_0x87b433;if(_0x30cd9b[_0x5cb1d5(0x1ae)]in Yt){this[_0x5cb1d5(0xf4)][_0x5cb1d5(0x113)]({'id':re['JOIN_ROOM_FAILED'],'data':Yt[_0x30cd9b['code']]}),this[_0x5cb1d5(0x179)][_0x5cb1d5(0x26e)](0x2);return;}this['_sessionStatus$'][_0x5cb1d5(0x26e)](0x3);const _0x94e3a8=(_0x87b433=_0x30cd9b['data'][_0x5cb1d5(0x160)][this[_0x5cb1d5(0x256)]])==null?void 0x0:_0x87b433[_0x5cb1d5(0x196)];_0x94e3a8&&_0x94e3a8[_0x5cb1d5(0x2ea)](_0x193e2b=>this[_0x5cb1d5(0xff)]['updateMember'](this[_0x5cb1d5(0x256)],_0x193e2b));}[_0x2d44ac(0x2fd)](_0x25222b){var _0x2989e5=_0x2d44ac;try{const _0x270336=_0x25222b[_0x2989e5(0x18e)];switch(_0x270336['eventID']){case _0x3d1bff[_0x2989e5(0x401)]:this[_0x2989e5(0x3b8)](_0x270336),this[_0x2989e5(0x3bf)][_0x2989e5(0x26e)](_0x270336);break;case _0x3d1bff['USERS_LEAVE']:this[_0x2989e5(0x351)](_0x270336),this[_0x2989e5(0x3bf)][_0x2989e5(0x26e)](_0x270336);break;case _0x3d1bff[_0x2989e5(0x34a)]:case _0x3d1bff[_0x2989e5(0x1bd)]:this[_0x2989e5(0x279)](),this[_0x2989e5(0x378)](),this[_0x2989e5(0x3bf)][_0x2989e5(0x26e)](_0x270336);break;case _0x3d1bff['MSG_FOR_ERROR']:this[_0x2989e5(0x1d5)][_0x2989e5(0x274)](_0x2989e5(0x2b7)+JSON['stringify'](_0x270336)),this[_0x2989e5(0x3bf)]['next'](_0x270336);break;case _0x3d1bff[_0x2989e5(0x2ca)]:this[_0x2989e5(0x241)][_0x2989e5(0x297)](_0x270336['data']),this['_event$'][_0x2989e5(0x26e)](_0x270336);break;default:this[_0x2989e5(0x3bf)][_0x2989e5(0x26e)](_0x270336);}}catch(_0x2be92a){this[_0x2989e5(0x1d5)][_0x2989e5(0x274)](_0x2be92a,_0x25222b);}}['_onUserJoin'](_0x34a2fc){var _0x52b4af=_0x2d44ac;this[_0x52b4af(0xff)]['updateMember'](this[_0x52b4af(0x256)],_0x34a2fc[_0x52b4af(0x18e)]);}[_0x2d44ac(0x351)](_0x1ddbc9){var _0x5d3b6e=_0x2d44ac;this['_memberService'][_0x5d3b6e(0x3f0)](this['_unitID'],_0x1ddbc9['data'][_0x5d3b6e(0x3c6)]);}async[_0x2d44ac(0x1f5)](_0x1f7f3e,_0x2aee5d){var _0x55270e=_0x2d44ac;if(this['sessionStatus']!==0x3||!this[_0x55270e(0x25c)])throw new Error(_0x55270e(0x2f6));try{_0x1f7f3e[_0x55270e(0x3f7)]===_0x3d1bff[_0x55270e(0x1ab)]&&(this[_0x55270e(0x16c)](),this[_0x55270e(0x3c0)](_0x1f7f3e)),this['_socket']['send']({'cmd':F[_0x55270e(0x107)],'routeKey':_0x2aee5d,'routeType':'','data':_0x1f7f3e});}catch(_0x5606f9){this['_logService'][_0x55270e(0x274)](_0x5606f9);}}['_scheduleCollaborationTimeoutTimer'](){var _0x58e419=_0x2d44ac,_0xe44962;this[_0x58e419(0x114)]=setTimeout(()=>{var _0x2b35a4=_0x58e419;this['_collaborationTimeoutTimer']=null,this[_0x2b35a4(0xf4)][_0x2b35a4(0x113)]({'id':re[_0x2b35a4(0x294)]});},(_0xe44962=this[_0x58e419(0x375)][_0x58e419(0x3fc)](mi))!=null?_0xe44962:gi);}[_0x2d44ac(0x378)](){var _0x443a47=_0x2d44ac;this['_collaborationTimeoutTimer']&&(clearTimeout(this[_0x443a47(0x114)]),this[_0x443a47(0x114)]=null);}[_0x2d44ac(0x3c0)](_0x2a8750){var _0x44b5e0=_0x2d44ac;if(!this[_0x44b5e0(0x2b2)])return;const {data:_0x5a816d}=_0x2a8750,{unitID:_0x4f811d,changeset:_0x1311cf}=_0x5a816d,{mutations:_0x1ffe1c,type:_0x4a4d97}=_0x1311cf;this[_0x44b5e0(0x12d)]={'unitId':_0x4f811d,'type':_0x4a4d97,'startTime':performance[_0x44b5e0(0x161)](),'stopTime':0x0,'duration':0x0,'size':Bn(_0x1ffe1c)};}[_0x2d44ac(0x279)](){var _0x3aceee=_0x2d44ac;if(this[_0x3aceee(0x2b2)]){if(!this[_0x3aceee(0x12d)]){this[_0x3aceee(0x1d5)][_0x3aceee(0x274)](_0x3aceee(0x15c),'telemetry\x20info\x20is\x20not\x20initialized');return;}this[_0x3aceee(0x12d)][_0x3aceee(0x203)]=performance[_0x3aceee(0x161)](),this['_telemetryInfo'][_0x3aceee(0x183)]=this['_telemetryInfo']['stopTime']-this[_0x3aceee(0x12d)][_0x3aceee(0x2c0)],this[_0x3aceee(0x3f2)][_0x3aceee(0x28b)](Hn,this[_0x3aceee(0x12d)]),this['_telemetryInfo']=null;}}['_throwTelemetryCollaborationNewChangeset'](){this['_telemetryInfo']=null;}};Et=Wn([me(0x2,_0x41bbc0),me(0x3,_0x462043),me(0x4,_0x3a18e9(_0x25b15a)),me(0x5,_0x3a18e9(Le)),me(0x6,_0x3a18e9(Ti)),me(0x7,_0x3a18e9(pe)),me(0x8,_0x1f5a13(_0x365817))],Et);var Yn=Object[_0x2d44ac(0x2a3)],Kn=(_0xa1de2b,_0x1c0795,_0x2e1a94,_0x4f6d45)=>{var _0x28cf0b=_0x2d44ac;for(var _0x3c8e56=_0x4f6d45>0x1?void 0x0:_0x4f6d45?Yn(_0x1c0795,_0x2e1a94):_0x1c0795,_0x28cba9=_0xa1de2b[_0x28cf0b(0x1cc)]-0x1,_0x5ed11e;_0x28cba9>=0x0;_0x28cba9--)(_0x5ed11e=_0xa1de2b[_0x28cba9])&&(_0x3c8e56=_0x5ed11e(_0x3c8e56)||_0x3c8e56);return _0x3c8e56;},be=(_0xfcaecf,_0x4a8523)=>(_0x27f4f7,_0x710621)=>_0x4a8523(_0x27f4f7,_0x710621,_0xfcaecf);let Me=class extends _0x50932a{constructor(_0x147c73,_0x5795bb,_0x1bf399,_0x4e1b38,_0x4a73a2,_0xba8fe2){var _0x118265=_0x2d44ac;super(),N(this,_0x118265(0x316),new _0xa6b6e7(void 0x0)),N(this,'socket$',this[_0x118265(0x316)]['asObservable']()),N(this,_0x118265(0x120),null),N(this,'_sessions',new Map()),N(this,'_status$',new _0xa6b6e7(Ee[_0x118265(0x36c)])),N(this,_0x118265(0x30a),this[_0x118265(0x3d3)]['asObservable']()),N(this,_0x118265(0x346),!0x1),N(this,'_retryConnectingTimer'),N(this,_0x118265(0x2fe),0x0),N(this,_0x118265(0x362)),N(this,_0x118265(0x276)),(this[_0x118265(0x3d2)]=_0x147c73,this['_logService']=_0x5795bb,this[_0x118265(0x375)]=_0x1bf399,this[_0x118265(0x17b)]=_0x4e1b38,this['_collaborationUIEventService']=_0x4a73a2,this['_networkConditionService']=_0xba8fe2,this['_listenToNetworkCondition']());}get[_0x2d44ac(0x25c)](){var _0x2c17cf=_0x2d44ac;return this[_0x2c17cf(0x316)][_0x2c17cf(0x2dc)]();}[_0x2d44ac(0x105)](){var _0xce298b=_0x2d44ac;this['_networkConditionService']&&this['disposeWithMe'](this['_networkConditionService'][_0xce298b(0x110)][_0xce298b(0x128)](_0x53b236=>{var _0x1de92d=_0xce298b;_0x53b236&&!this[_0x1de92d(0x25c)]&&this[_0x1de92d(0x13a)](),_0x53b236||this[_0x1de92d(0x1e6)]();}));}[_0x2d44ac(0x141)](){var _0x544430=_0x2d44ac;super[_0x544430(0x141)](),this[_0x544430(0x393)](),this[_0x544430(0x152)](),this[_0x544430(0x374)](),this['_sessions'][_0x544430(0x2ea)](_0xe5c4c3=>_0xe5c4c3[_0x544430(0x141)]()),this[_0x544430(0x1cf)][_0x544430(0x3b4)](),this[_0x544430(0x3d3)]['complete']();}async['requireSession'](_0x310978){var _0x5584fd=_0x2d44ac;if(this[_0x5584fd(0x1cf)][_0x5584fd(0x311)](_0x310978))return this[_0x5584fd(0x1cf)]['get'](_0x310978);this[_0x5584fd(0x3f4)]();const _0x4c0d2b=this[_0x5584fd(0x3d2)][_0x5584fd(0x22e)](Et,_0x310978,this['_socket$']['asObservable']());return this['_sessions'][_0x5584fd(0x2d2)](_0x310978,_0x4c0d2b),_0x4c0d2b;}[_0x2d44ac(0x260)](_0xdb11e2){var _0x33acfe=_0x2d44ac,_0x2b7a9a;const _0x7fe319=this[_0x33acfe(0x1cf)][_0x33acfe(0x215)](_0xdb11e2);_0x7fe319&&(this['_sessions'][_0x33acfe(0x318)](_0xdb11e2),_0x7fe319[_0x33acfe(0x3a7)]()),this[_0x33acfe(0x1cf)][_0x33acfe(0x3cf)]||(_0x2b7a9a=this[_0x33acfe(0x25c)])==null||_0x2b7a9a['close']();}['reconnect'](){var _0x3e2e5e=_0x2d44ac;this[_0x3e2e5e(0x2fe)]=0x0,this[_0x3e2e5e(0x393)](),this[_0x3e2e5e(0x3fd)]();}[_0x2d44ac(0x393)](){var _0xaa9ffe=_0x2d44ac;this[_0xaa9ffe(0x3b9)]!=null&&(clearTimeout(this[_0xaa9ffe(0x3b9)]),this[_0xaa9ffe(0x3b9)]=null);}async[_0x2d44ac(0x2d3)](){var _0x9943eb=_0x2d44ac,_0xd68477,_0x578dbe;const _0x4b0546=this[_0x9943eb(0x375)]['getConfig'](In),_0x3133ba=this[_0x9943eb(0x375)][_0x9943eb(0x3fc)](q),_0xcd9e79=(_0x578dbe=(_0xd68477=_0x3133ba==null?void 0x0:_0x3133ba['collabWebSocketUrl'])!=null?_0xd68477:_0x4b0546)!=null?_0x578dbe:Tn,_0x602a9a=await this[_0x9943eb(0x17b)][_0x9943eb(0x253)](_0xcd9e79);return this[_0x9943eb(0x120)]=_0x602a9a,_0x602a9a;}async['_tryEnsureSocket'](){var _0x50be38=_0x2d44ac,_0x39731a,_0xf76402;try{const _0x1ac5b9=(_0xf76402=(_0x39731a=this[_0x50be38(0x25c)])!=null?_0x39731a:this['_candidateSocket'])!=null?_0xf76402:await this[_0x50be38(0x2d3)]();if(_0x1ac5b9){const _0x3ad656=_0x1ac5b9['send'];_0x1ac5b9['send']=_0x29739e=>(this[_0x50be38(0x3ea)](),_0x3ad656[_0x50be38(0x1d7)](_0x1ac5b9,[_0x29739e])),_0x1ac5b9[_0x50be38(0x167)][_0x50be38(0x128)](_0x5a7942=>this[_0x50be38(0x1cd)](_0x1ac5b9,_0x5a7942)),_0x1ac5b9[_0x50be38(0x30c)][_0x50be38(0x11e)](_0x16de2(0x1))[_0x50be38(0x128)](_0x3cc79f=>this[_0x50be38(0x1d5)][_0x50be38(0x274)](_0x50be38(0x280),_0x3cc79f)),_0x1ac5b9[_0x50be38(0x23c)][_0x50be38(0x11e)](_0x16de2(0x1))[_0x50be38(0x128)](()=>{this['_onConnectionOpen'](_0x1ac5b9);}),_0x1ac5b9['close$']['pipe'](_0x16de2(0x1))[_0x50be38(0x128)](_0x335428=>{var _0x14a765=_0x50be38;this[_0x14a765(0x1d5)][_0x14a765(0x2a2)](_0x14a765(0x14a),_0x14a765(0x28a),_0x335428),this['_onConnectionFailed']();});}}catch(_0x2ee56d){this[_0x50be38(0x1d5)][_0x50be38(0x274)](_0x2ee56d),this[_0x50be38(0x3c3)]();}}['_onConnectionOpen'](_0x2a5acc){var _0x537157=_0x2d44ac;this[_0x537157(0x1d5)][_0x537157(0x2a2)]('[CollaborationSessionService]',_0x537157(0x10c)),_0x2a5acc[_0x537157(0x1f5)]({'cmd':F[_0x537157(0x396)]}),this[_0x537157(0x3ea)]();}['_onOffline'](){var _0x5bb917=_0x2d44ac;this[_0x5bb917(0x346)]=!0x1,this[_0x5bb917(0x120)]=null,this[_0x5bb917(0x3d3)][_0x5bb917(0x26e)](Ee[_0x5bb917(0x2e5)]),this[_0x5bb917(0x316)][_0x5bb917(0x26e)](null),this[_0x5bb917(0x152)](),this['_clearHeartbeatTimer']();}[_0x2d44ac(0x3c3)](){var _0x185350=_0x2d44ac,_0x15f5cd;this[_0x185350(0x1e6)](),this[_0x185350(0x2fe)]<((_0x15f5cd=this['_configService']['getConfig'](On))!=null?_0x15f5cd:yn)?(this['_collaborationUIEventService'][_0x185350(0x113)]({'id':re[_0x185350(0x347)]}),this['_tryReconnect']()):this[_0x185350(0xf4)][_0x185350(0x113)]({'id':re[_0x185350(0x2d9)]});}[_0x2d44ac(0x3fd)](){var _0x3b6447=_0x2d44ac,_0x2b6d29;const _0x4c39db=this[_0x3b6447(0x2fe)],_0x54a9b1=this[_0x3b6447(0x375)][_0x3b6447(0x3fc)](q),_0x596c72=_0x4c39db===0x0?0x0:((_0x2b6d29=_0x54a9b1==null?void 0x0:_0x54a9b1[_0x3b6447(0x1f7)])!=null?_0x2b6d29:bn)*0x2**_0x4c39db;this[_0x3b6447(0x3b9)]=setTimeout(()=>{var _0x2612d6=_0x3b6447;clearTimeout(this[_0x2612d6(0x3b9)]),this[_0x2612d6(0x3b9)]=null,this[_0x2612d6(0x3f4)]();},_0x596c72),this[_0x3b6447(0x2fe)]+=0x1;}['_onMessage'](_0x161912,_0x39a327){var _0xb1d458=_0x2d44ac;const {cmd:_0x4fc92b}=_0x39a327;_0x4fc92b===F[_0xb1d458(0x396)]&&!this[_0xb1d458(0x346)]&&(_0x161912[_0xb1d458(0x3c6)]=_0x39a327[_0xb1d458(0x18e)][_0xb1d458(0x3c6)],this[_0xb1d458(0x316)][_0xb1d458(0x26e)](_0x161912),this[_0xb1d458(0x3d3)][_0xb1d458(0x26e)](Ee[_0xb1d458(0x177)]),this[_0xb1d458(0x346)]=!0x0,this[_0xb1d458(0x120)]=null),_0x4fc92b===F['HEARTBEAT']&&this['_clearTimeoutTimer'](),this[_0xb1d458(0x3ea)]();}[_0x2d44ac(0x3ea)](){var _0x31adb0=_0x2d44ac,_0x1514e7;this[_0x31adb0(0x374)](),this[_0x31adb0(0x362)]=setTimeout(()=>this[_0x31adb0(0x1bf)](),(_0x1514e7=this[_0x31adb0(0x375)]['getConfig'](Cn))!=null?_0x1514e7:Rn);}[_0x2d44ac(0x1bf)](){var _0x3b907f=_0x2d44ac;this[_0x3b907f(0x25c)][_0x3b907f(0x1f5)]({'cmd':F[_0x3b907f(0x134)]}),this[_0x3b907f(0x353)]();}['_waitForHeartbeatResponse'](){var _0x5d4259=_0x2d44ac,_0x528b15;this[_0x5d4259(0x276)]=setTimeout(()=>this[_0x5d4259(0x3c3)](),(_0x528b15=this[_0x5d4259(0x375)][_0x5d4259(0x3fc)](mi))!=null?_0x528b15:gi);}['_clearHeartbeatTimer'](){var _0x20b91f=_0x2d44ac;this['_sendHeartbeatTimer']!=null&&(clearTimeout(this[_0x20b91f(0x362)]),this['_sendHeartbeatTimer']=null);}[_0x2d44ac(0x152)](){var _0x29adac=_0x2d44ac;this[_0x29adac(0x276)]!=null&&(clearTimeout(this[_0x29adac(0x276)]),this[_0x29adac(0x276)]=null);}};Me=Kn([be(0x0,_0x3a18e9(_0x2eed8a)),be(0x1,_0x41bbc0),be(0x2,_0x462043),be(0x3,Ii),be(0x4,_0x3a18e9(pe)),be(0x5,_0x1f5a13(Pn))],Me);const V=[];for(let t=0x0;t<0x100;++t)V[_0x2d44ac(0x2ad)]((t+0x100)[_0x2d44ac(0x24e)](0x10)[_0x2d44ac(0x2ab)](0x1));function qn(_0x277832,_0x4a06f6=0x0){var _0x4a2bef=_0x2d44ac;return(V[_0x277832[_0x4a06f6+0x0]]+V[_0x277832[_0x4a06f6+0x1]]+V[_0x277832[_0x4a06f6+0x2]]+V[_0x277832[_0x4a06f6+0x3]]+'-'+V[_0x277832[_0x4a06f6+0x4]]+V[_0x277832[_0x4a06f6+0x5]]+'-'+V[_0x277832[_0x4a06f6+0x6]]+V[_0x277832[_0x4a06f6+0x7]]+'-'+V[_0x277832[_0x4a06f6+0x8]]+V[_0x277832[_0x4a06f6+0x9]]+'-'+V[_0x277832[_0x4a06f6+0xa]]+V[_0x277832[_0x4a06f6+0xb]]+V[_0x277832[_0x4a06f6+0xc]]+V[_0x277832[_0x4a06f6+0xd]]+V[_0x277832[_0x4a06f6+0xe]]+V[_0x277832[_0x4a06f6+0xf]])[_0x4a2bef(0x37c)]();}let ut;const zn=new Uint8Array(0x10);function Jn(){var _0x3cbc0f=_0x2d44ac;if(!ut){if(typeof crypto>'u'||!crypto[_0x3cbc0f(0x3d1)])throw new Error(_0x3cbc0f(0x34f));ut=crypto['getRandomValues']['bind'](crypto);}return ut(zn);}const Xn=typeof crypto<'u'&&crypto['randomUUID']&&crypto['randomUUID']['bind'](crypto),Kt={'randomUUID':Xn};function Zn(_0x4295f7,_0x36e414,_0x2a3f4f){var _0x133d29=_0x2d44ac,_0x3a8206,_0x206aa1,_0x1d1fdc;if(Kt[_0x133d29(0x258)]&&!_0x4295f7)return Kt[_0x133d29(0x258)]();_0x4295f7=_0x4295f7||{};const _0x230602=(_0x1d1fdc=(_0x206aa1=_0x4295f7[_0x133d29(0x325)])!=null?_0x206aa1:(_0x3a8206=_0x4295f7[_0x133d29(0x271)])==null?void 0x0:_0x3a8206[_0x133d29(0x2fa)](_0x4295f7))!=null?_0x1d1fdc:Jn();if(_0x230602[_0x133d29(0x1cc)]<0x10)throw new Error(_0x133d29(0x1d0));return _0x230602[0x6]=_0x230602[0x6]&0xf|0x40,_0x230602[0x8]=_0x230602[0x8]&0x3f|0x80,qn(_0x230602);}const J=_0x33148c('collaboration-client.local-cache-service');function Br(_0x374acc){var _0x2686a1=_0x2d44ac;return _0x2686a1(0x331)+_0x374acc;}var Qn=Object[_0x2d44ac(0x2a3)],es=(_0x269ebb,_0x2540bb,_0x4957d2,_0x429045)=>{var _0x59ddbf=_0x2d44ac;for(var _0x1d4d28=_0x429045>0x1?void 0x0:_0x429045?Qn(_0x2540bb,_0x4957d2):_0x2540bb,_0x125f96=_0x269ebb[_0x59ddbf(0x1cc)]-0x1,_0x17aa29;_0x125f96>=0x0;_0x125f96--)(_0x17aa29=_0x269ebb[_0x125f96])&&(_0x1d4d28=_0x17aa29(_0x1d4d28)||_0x1d4d28);return _0x1d4d28;},dt=(_0x25d0cd,_0x58e369)=>(_0x1be0f2,_0x27d393)=>_0x58e369(_0x1be0f2,_0x27d393,_0x25d0cd);function ts(_0x139eb0){var _0x1ec296=_0x2d44ac;const {unitID:_0xc4ebe7,mutations:_0x4c5f9f}=_0x139eb0;return{'unitId':_0xc4ebe7,'subUnitId':_0x4c5f9f[0x0]['params'][_0x1ec296(0x158)]};}let it=class{constructor(_0x238588,_0x51553f,_0x10f5ef){var _0x4b22d5=_0x2d44ac;this['_injector']=_0x238588,this['_transformService']=_0x51553f,this[_0x4b22d5(0x383)]=_0x10f5ef;}['transformSelections'](_0x18efbb){var _0x18cdfd=_0x2d44ac,_0x543689,_0x4fa4c0,_0x29720f,_0x58c735;const _0x1d9f4f=this[_0x18cdfd(0x3d2)][_0x18cdfd(0x215)](_0x33ec45),{unitId:_0x1e7e3a,subUnitId:_0x276171}=ts(_0x18efbb),_0x4bb99b=_0x1d9f4f==null?void 0x0:_0x1d9f4f[_0x18cdfd(0x173)](_0x1e7e3a)[_0x18cdfd(0x20e)](),_0x45ef79=(_0x4fa4c0=(_0x543689=this[_0x18cdfd(0x383)][_0x18cdfd(0x255)](_0x1e7e3a))==null?void 0x0:_0x543689[_0x18cdfd(0x1c6)]())==null?void 0x0:_0x4fa4c0['getSheetId']();if(_0x4bb99b[_0x18cdfd(0x1cc)]===0x0||!_0x1e7e3a||!_0x276171)return;const _0xafe0c0=[{'id':_0x913cf0['id'],'params':{'unitId':_0x1e7e3a,'subUnitId':_0x45ef79,'selections':_0x10fb77[_0x18cdfd(0x2f9)](_0x4bb99b)}}],_0x5e072b=this[_0x18cdfd(0x380)][_0x18cdfd(0x2d8)](_0x18efbb,_0xafe0c0);if(!_0x418fd2(_0x5e072b))throw _0x5e072b[_0x18cdfd(0x274)];const _0x13bc6f=(_0x58c735=(_0x29720f=_0x5e072b['m2Prime'][0x0])==null?void 0x0:_0x29720f[_0x18cdfd(0x2d1)])==null?void 0x0:_0x58c735['selections'];if(Array[_0x18cdfd(0x33e)](_0x13bc6f)&&_0x13bc6f[_0x18cdfd(0x1cc)]){if(_0x13bc6f[_0x18cdfd(0x1cc)]===_0xafe0c0[0x0][_0x18cdfd(0x2d1)][_0x18cdfd(0x1eb)][_0x18cdfd(0x1cc)]&&_0x13bc6f['every']((_0x55410b,_0x47da96)=>_0x3be7f8[_0x18cdfd(0x210)](_0x55410b[_0x18cdfd(0x138)],_0xafe0c0[0x0][_0x18cdfd(0x2d1)][_0x18cdfd(0x1eb)][_0x47da96][_0x18cdfd(0x138)])))return;this[_0x18cdfd(0x3d2)]['get'](_0x326da6)[_0x18cdfd(0x1b1)](_0x913cf0['id'],{'unitId':_0x1e7e3a,'subUnitId':_0x45ef79,'selections':_0x13bc6f});}}};it=es([dt(0x0,_0x3a18e9(_0x2eed8a)),dt(0x1,_0x157f6a),dt(0x2,_0x2e2ca3)],it);const ht=_0x33148c(_0x2d44ac(0x1b9));var Ci=(_0x5bcb27=>(_0x5bcb27[_0x5bcb27[_0x2d44ac(0x270)]=0x0]='NO_OTHER_CLIENTS_EDITING',_0x5bcb27[_0x5bcb27['OTHER_CLIENTS_EDITING']=0x1]=_0x2d44ac(0x234),_0x5bcb27))(Ci||{});const is=new Set([_0x18815b['id']]);function qt(_0x43c836,_0x5a0b37,_0x2fbc8a,_0x3da46d,_0x233a8a){var _0x52adc2=_0x2d44ac,_0xc0a57a,_0x47ef6c,_0x51703c,_0x530db0;const _0x146fea=[];for(const _0x296c62 of _0x43c836)if(is[_0x52adc2(0x311)](_0x296c62['id'])){if(_0x146fea[_0x52adc2(0x1cc)]>0x0)break;_0x146fea['push'](_0x296c62);break;}else _0x146fea[_0x52adc2(0x2ad)](_0x296c62);const _0x580b01=(_0x47ef6c=(_0xc0a57a=_0x233a8a[_0x52adc2(0x37d)]())==null?void 0x0:_0xc0a57a['userID'])!=null?_0x47ef6c:_0x52adc2(0x3e3),_0x4b93fa=(_0x530db0=(_0x51703c=_0x233a8a['getCurrentUser']())==null?void 0x0:_0x51703c['memberID'])!=null?_0x530db0:_0x52adc2(0x3e3);return{'changeset':{'unitID':_0x5a0b37,'type':_0x3e9c01(_0x2fbc8a[_0x52adc2(0x1f9)](_0x5a0b37)),'baseRev':_0x3da46d['getCurrentRevOfUnit'](_0x5a0b37),'revision':0x0,'userID':_0x580b01,'memberID':_0x4b93fa,'mutations':_0x146fea},'pendingMutations':_0x43c836['slice'](_0x146fea['length'])};}function ns(_0x2aa741,_0x20978a,_0x390425,_0x3eb4f4,_0x5a1bc2){var _0x4ae561=_0x2d44ac,_0x277274,_0x187a94,_0x49f601,_0x1b70ae;const _0x1051f9=[_0x2aa741[_0x4ae561(0x11d)]((_0x189100,_0x53ba6c)=>{var _0x4ed4dc=_0x4ae561,_0x1fe0af;const {id:_0x42e6bd}=_0x189100,{id:_0x2c6d35,type:_0x339614}=_0x53ba6c,_0x401dfb=(_0x1fe0af=_0x189100[_0x4ed4dc(0x2d1)])!=null?_0x1fe0af:{'actions':null},_0xd90839=_0x53ba6c[_0x4ed4dc(0x2d1)];if(_0x42e6bd&&_0x42e6bd!==_0x2c6d35)throw new Error(_0x4ed4dc(0x221)+_0x42e6bd+'\x20-\x20'+_0x2c6d35+'.');return{..._0x189100,'id':_0x2c6d35,'type':_0x339614,'params':{'unitId':_0xd90839[_0x4ed4dc(0x153)],'textRanges':_0xd90839['textRanges'],'actions':_0x575400['compose'](_0x401dfb[_0x4ed4dc(0x211)],_0xd90839['actions'])}};},{})],_0x568a2b=(_0x187a94=(_0x277274=_0x5a1bc2[_0x4ae561(0x37d)]())==null?void 0x0:_0x277274[_0x4ae561(0x395)])!=null?_0x187a94:'unknown',_0x5f4cdd=(_0x1b70ae=(_0x49f601=_0x5a1bc2['getCurrentUser']())==null?void 0x0:_0x49f601[_0x4ae561(0x3c6)])!=null?_0x1b70ae:'unknown';return{'changeset':{'unitID':_0x20978a,'type':_0x3e9c01(_0x390425['getUnitType'](_0x20978a)),'baseRev':_0x3eb4f4[_0x4ae561(0x1e1)](_0x20978a),'revision':0x0,'userID':_0x568a2b,'memberID':_0x5f4cdd,'mutations':_0x1051f9},'pendingMutations':[]};}function Ri(_0x52822c,_0x57acc0){var _0x57a1ce=_0x2d44ac;const _0x433f18=new _0x5d4224(0x1);return setTimeout(()=>_0x433f18[_0x57a1ce(0x26e)](_0x57acc0),_0x52822c),_0x433f18[_0x57a1ce(0x2f1)]()[_0x57a1ce(0x11e)](_0x3d256e(0x1));}function _0x39a9(_0x31bcd9,_0x579c95){var _0x393f0b=_0x393f();return _0x39a9=function(_0x39a9ad,_0x4ce26b){_0x39a9ad=_0x39a9ad-0xf4;var _0x5b1aba=_0x393f0b[_0x39a9ad];return _0x5b1aba;},_0x39a9(_0x31bcd9,_0x579c95);}const ss={'id':_0xf1efa['id'],'type':_0x2707f2['MUTATION'],'params':{}};var rs=Object[_0x2d44ac(0x2a3)],Te=(_0x106518,_0x3efbaf,_0x1d7393,_0x34b13b)=>{var _0x45a94a=_0x2d44ac;for(var _0x422152=_0x34b13b>0x1?void 0x0:_0x34b13b?rs(_0x3efbaf,_0x1d7393):_0x3efbaf,_0x4e7c8b=_0x106518[_0x45a94a(0x1cc)]-0x1,_0x23929a;_0x4e7c8b>=0x0;_0x4e7c8b--)(_0x23929a=_0x106518[_0x4e7c8b])&&(_0x422152=_0x23929a(_0x422152)||_0x422152);return _0x422152;},P=(_0x601404,_0x3305e8)=>(_0x24762b,_0xb9f179)=>_0x3305e8(_0x24762b,_0xb9f179,_0x601404),bi=(_0xab2018=>(_0xab2018[_0x2d44ac(0x2db)]='not_collab',_0xab2018[_0x2d44ac(0x155)]=_0x2d44ac(0x355),_0xab2018[_0x2d44ac(0x13f)]=_0x2d44ac(0x18d),_0xab2018[_0x2d44ac(0x29a)]=_0x2d44ac(0x3af),_0xab2018['AWAITING_WITH_PENDING']=_0x2d44ac(0x117),_0xab2018[_0x2d44ac(0x23d)]='fetch_missing',_0xab2018[_0x2d44ac(0x3b3)]=_0x2d44ac(0x38c),_0xab2018[_0x2d44ac(0x2e5)]='offline',_0xab2018))(bi||{});const Oi=0xea60;class Ce{constructor(_0x2be510,_0x21f8d1,_0x4f3969,_0x22b976,_0x8e7f15,_0x4910d4,_0x4b9d14,_0x3488fb,_0x34f75){var _0x5a220b=_0x2d44ac;N(this,'_awaitingChangeset',null),N(this,_0x5a220b(0x3da),[]),(this['unitID']=_0x2be510,this['type']=_0x21f8d1,this[_0x5a220b(0x219)]=_0x8e7f15,this[_0x5a220b(0x2be)]=_0x4910d4,this['_undoRedoService']=_0x4b9d14,this[_0x5a220b(0x29f)]=_0x3488fb,this[_0x5a220b(0x145)]=_0x34f75,this[_0x5a220b(0x174)]=_0x4f3969,this[_0x5a220b(0x3da)]=_0x22b976);}[_0x2d44ac(0x156)](_0x57b500){var _0x420cf8=_0x2d44ac;const _0x18d55b=this['_revisionService'][_0x420cf8(0x1e1)](this[_0x420cf8(0x1ff)]);return _0x57b500[_0x420cf8(0x344)]>_0x18d55b+0x1?(this[_0x420cf8(0x219)][_0x420cf8(0x1d9)]({'from':_0x18d55b,'to':_0x57b500[_0x420cf8(0x344)]-0x1}),!0x0):!0x1;}[_0x2d44ac(0x304)](_0x435387){var _0x565312=_0x2d44ac;this[_0x565312(0x2eb)][_0x565312(0x16d)](this[_0x565312(0x1ff)],_0x435387);}[_0x2d44ac(0x199)](_0x4c2b8c){var _0x4e7242=_0x2d44ac,_0x463dd4,_0x25334a;(_0x25334a=(_0x463dd4=this['_handler'])[_0x4e7242(0x1f3)])==null||_0x25334a[_0x4e7242(0x2fa)](_0x463dd4,_0x4c2b8c);}[_0x2d44ac(0x126)](_0x41a6b8){var _0x4a601f=_0x2d44ac,_0x5266c2,_0xf0ae07;return(_0xf0ae07=(_0x5266c2=this[_0x4a601f(0x219)])[_0x4a601f(0x3b7)])==null?void 0x0:_0xf0ae07[_0x4a601f(0x2fa)](_0x5266c2,_0x41a6b8);}['_transformStateCache'](_0x40697f){var _0x8ec00a=_0x2d44ac,_0x24ce12,_0x385e26;return(_0x385e26=(_0x24ce12=this['_handler'])[_0x8ec00a(0x31b)])==null?void 0x0:_0x385e26[_0x8ec00a(0x2fa)](_0x24ce12,_0x40697f);}[_0x2d44ac(0x2ed)](_0x2984a3){var _0x5a7012=_0x2d44ac,_0xb4455,_0x492af5,_0x4372d3;return(_0x4372d3=(_0x492af5=(_0xb4455=this[_0x5a7012(0x219)])[_0x5a7012(0x2f3)])==null?void 0x0:_0x492af5[_0x5a7012(0x2fa)](_0xb4455,_0x2984a3))!=null?_0x4372d3:_0x2984a3;}[_0x2d44ac(0x119)](_0x35e957){var _0x49d5c1=_0x2d44ac,_0x4a9185,_0x559da2,_0x33f1b4;return(_0x33f1b4=(_0x559da2=(_0x4a9185=this[_0x49d5c1(0x219)])['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x559da2[_0x49d5c1(0x2fa)](_0x4a9185,_0x35e957))!=null?_0x33f1b4:_0x35e957;}[_0x2d44ac(0x28e)](_0x3c20c){var _0x24a403=_0x2d44ac,_0x8f4aa6,_0x34652e;if(this[_0x24a403(0x23a)]===Q[_0x24a403(0x3f8)]){const {unitID:_0x10bebe,mutations:_0x143f24,memberID:_0x135d63}=_0x3c20c,_0xc6a477=_0x143f24[0x0]['params'][_0x24a403(0x1c4)];Array[_0x24a403(0x33e)](_0xc6a477)&&_0xc6a477[_0x24a403(0x1cc)]>0x0&&((_0x34652e=(_0x8f4aa6=this['_handler'])[_0x24a403(0x371)])==null||_0x34652e['call'](_0x8f4aa6,{'unitID':_0x10bebe,'memberID':_0x135d63,'textRanges':_0xc6a477}));}}[_0x2d44ac(0x3a9)](){var _0x5a66c2=_0x2d44ac,_0xeeec7c;(_0xeeec7c=this[_0x5a66c2(0x145)])==null||_0xeeec7c[_0x5a66c2(0x165)](this[_0x5a66c2(0x1ff)],this['type'],this[_0x5a66c2(0x174)],this[_0x5a66c2(0x3da)]);}['_getCurrentRevision'](){var _0x46ddd8=_0x2d44ac;return this[_0x46ddd8(0x29f)][_0x46ddd8(0x1e1)](this['unitID']);}[_0x2d44ac(0x2a4)](){var _0x290014=_0x2d44ac;this['_revisionService'][_0x290014(0x1da)](this['unitID']);}[_0x2d44ac(0x27c)](_0x37c77c){var _0x15aede=_0x2d44ac,_0x149c0e;let _0x4a0f38=this['_transformRemoteChangesetByIMECache'](_0x37c77c);_0x4a0f38=this[_0x15aede(0x119)](_0x4a0f38);const _0x19ed56=_0x4d2b7a(_0x4a0f38[_0x15aede(0x1c8)],this[_0x15aede(0x2be)],{'fromCollab':!0x0});if(!_0x19ed56['result'])throw _0x19ed56[_0x15aede(0x274)]instanceof Error?_0x19ed56['error']:new Error((_0x149c0e=_0x19ed56[_0x15aede(0x274)])!=null?_0x149c0e:_0x15aede(0x3ad));this[_0x15aede(0x126)](_0x4a0f38),this[_0x15aede(0x3f1)](_0x4a0f38),this[_0x15aede(0x304)](_0x37c77c),this[_0x15aede(0x199)](_0x4a0f38),this[_0x15aede(0x28e)](_0x4a0f38),this[_0x15aede(0x2a4)]();}}let Ne=class extends Ce{constructor(_0x3d6fba,_0x12afec,_0x29ed20,_0x41a463,_0x5417f1,_0x350010,_0xf5d55,_0x220cdd,_0x30b838,_0x245ed5){var _0xdf62d3=_0x2d44ac;super(_0x3d6fba,_0x12afec,null,[],_0x29ed20,_0xf5d55,_0x350010,_0x41a463,_0x245ed5),N(this,_0xdf62d3(0x389),_0xdf62d3(0x355)),(this['_injector']=_0x5417f1,this[_0xdf62d3(0x1d5)]=_0x220cdd,this['_transformService']=_0x30b838,this['localCacheService']=_0x245ed5);}[_0x2d44ac(0x18a)](_0x1d76b2){var _0x2d9614=_0x2d44ac;const _0x25b565=this[_0x2d9614(0x3d2)][_0x2d9614(0x22e)](ae,this[_0x2d9614(0x1ff)],this['type'],[_0x1d76b2],this['_handler']);return _0x25b565[_0x2d9614(0x358)](),_0x25b565[_0x2d9614(0x3a9)](),_0x25b565;}[_0x2d44ac(0x1ef)](_0x425159){var _0x2ff71b=_0x2d44ac;if(this[_0x2ff71b(0x156)](_0x425159))return this[_0x2ff71b(0x3d2)][_0x2ff71b(0x22e)](ee,this['unitID'],this[_0x2ff71b(0x23a)],null,[],null,[_0x425159],this[_0x2ff71b(0x219)]);try{const _0x11447c=this[_0x2ff71b(0x380)]['transformMutationsWithChangeset'](_0x425159,[ss]);if(_0x418fd2(_0x11447c)){const {c1Prime:_0x3f1a97}=_0x11447c;return this[_0x2ff71b(0x27c)](_0x3f1a97),this;}throw _0x11447c[_0x2ff71b(0x274)];}catch(_0x44f3d3){return this[_0x2ff71b(0x1d5)][_0x2ff71b(0x274)](_0x44f3d3),this[_0x2ff71b(0x2ce)](!0x1);}}[_0x2d44ac(0x2ce)](_0x308b7c){var _0x16923f=_0x2d44ac;return this[_0x16923f(0x3d2)][_0x16923f(0x22e)](ue,this[_0x16923f(0x1ff)],this['type'],null,[],this[_0x16923f(0x219)],_0x308b7c);}[_0x2d44ac(0x1fc)](){throw new Error('[SyncedState]:\x20received\x20acknowledgement.');}[_0x2d44ac(0x1f6)](){var _0x46e47a=_0x2d44ac;throw new Error(_0x46e47a(0x24d));}['onRemoteRetry'](){return this;}[_0x2d44ac(0x10e)](){var _0x498768=_0x2d44ac;return this['_injector'][_0x498768(0x22e)](de,this[_0x498768(0x1ff)],this[_0x498768(0x23a)],null,[],this[_0x498768(0x219)]);}[_0x2d44ac(0x328)](){return this;}['resend'](){var _0x5b77c5=_0x2d44ac;throw new Error(_0x5b77c5(0x25a));}[_0x2d44ac(0x223)](){var _0x495e16=_0x2d44ac;const _0x1250cf=this[_0x495e16(0x29f)][_0x495e16(0x1e1)](this[_0x495e16(0x1ff)]);return this[_0x495e16(0x219)][_0x495e16(0x1d9)]({'from':_0x1250cf,'to':0x0}),this[_0x495e16(0x3d2)][_0x495e16(0x22e)](ee,this[_0x495e16(0x1ff)],this[_0x495e16(0x23a)],null,[],null,[],this[_0x495e16(0x219)]);}};Ne=Te([P(0x3,_0x3a18e9(_0x43b8da)),P(0x4,_0x3a18e9(_0x2eed8a)),P(0x5,_0x46d3c0),P(0x6,_0x326da6),P(0x7,_0x41bbc0),P(0x8,_0x157f6a),P(0x9,_0x1f5a13(J))],Ne);let ae=class extends Ce{constructor(_0x32cf3b,_0x405d8c,_0x53376d,_0x1196a6,_0x4dfecc,_0x4658ff,_0x44f6fd,_0x264641,_0x576133,_0x28975d,_0x208ee3,_0x2bc332,_0x26c492,_0x1d7f97){var _0x15533c=_0x2d44ac;super(_0x32cf3b,_0x405d8c,null,_0x53376d,_0x1196a6,_0x576133,_0x26c492,_0x4658ff,_0x1d7f97),N(this,'status',_0x15533c(0x18d)),N(this,_0x15533c(0x3b2),null),N(this,_0x15533c(0x28d),null),(this[_0x15533c(0x3d2)]=_0x4dfecc,this['_memberService']=_0x44f6fd,this[_0x15533c(0x1d5)]=_0x264641,this['_configService']=_0x28975d,this[_0x15533c(0x380)]=_0x208ee3,this[_0x15533c(0x3f5)]=_0x2bc332);}[_0x2d44ac(0x18a)](_0x2bb946){var _0x37fc31=_0x2d44ac;return this[_0x37fc31(0x3da)][_0x37fc31(0x2ad)](_0x2bb946),this[_0x37fc31(0x3a9)](),this;}[_0x2d44ac(0x1ef)](_0x3c4018){var _0x3bbd34=_0x2d44ac;if(this['_checkMissing'](_0x3c4018))return this[_0x3bbd34(0x17a)](),this['_injector']['createInstance'](ee,this[_0x3bbd34(0x1ff)],this[_0x3bbd34(0x23a)],null,this[_0x3bbd34(0x3da)],null,[_0x3c4018],this[_0x3bbd34(0x219)]);try{const _0x320463=this[_0x3bbd34(0x380)]['transformMutationsWithChangeset'](_0x3c4018,this[_0x3bbd34(0x3da)]);if(_0x418fd2(_0x320463)){const {c1Prime:_0x2ec4fd,m2Prime:_0x138b96}=_0x320463;this['_executeRemoteChangeset'](_0x2ec4fd);const _0x2f3e5c=this[_0x3bbd34(0x3d2)][_0x3bbd34(0x22e)](ae,this[_0x3bbd34(0x1ff)],this[_0x3bbd34(0x23a)],_0x138b96,this[_0x3bbd34(0x219)]);this[_0x3bbd34(0x17a)]();const _0x536c16=new Date()[_0x3bbd34(0x37b)](),_0x37f78f=this['_scheduleCompleteTimestamp']?Math[_0x3bbd34(0x121)](this['_scheduleCompleteTimestamp']-_0x536c16,0x0):this['_getSendChangesetTimeout']();return _0x2f3e5c['_schedule'](_0x37f78f),_0x2f3e5c;}throw _0x320463['error'];}catch(_0x4637d1){return this[_0x3bbd34(0x1d5)][_0x3bbd34(0x274)](_0x4637d1),this[_0x3bbd34(0x2ce)](!0x1);}}[_0x2d44ac(0x1fc)](){throw new Error('[PendingState]:\x20received\x20acknowledgement.');}[_0x2d44ac(0x1f6)](){var _0x10f4b8=_0x2d44ac;throw new Error(_0x10f4b8(0x232));}[_0x2d44ac(0x27e)](){return this;}[_0x2d44ac(0x10e)](){var _0x7023c=_0x2d44ac;return this[_0x7023c(0x17a)](),this['_injector'][_0x7023c(0x22e)](de,this[_0x7023c(0x1ff)],this['type'],null,this[_0x7023c(0x3da)],this['_handler']);}['toggleOnline'](){return this;}[_0x2d44ac(0x358)](_0x3d8ec3){var _0x12db44=_0x2d44ac;const _0x4967af=_0x3d8ec3!=null?_0x3d8ec3:this[_0x12db44(0x352)]();this['_scheduleCompleteTimestamp']=new Date()[_0x12db44(0x37b)]()+_0x4967af,this[_0x12db44(0x28d)]=setTimeout(()=>{var _0x4aa226=_0x12db44;this[_0x4aa226(0x17a)]();let _0x490905=null;switch(this['type']){case Q['UNIVER_SHEET']:{_0x490905=qt(this['_pendingMutations'],this[_0x4aa226(0x1ff)],this['_univerInstanceService'],this[_0x4aa226(0x29f)],this[_0x4aa226(0xff)]);break;}case Q[_0x4aa226(0x3f8)]:{this[_0x4aa226(0x3da)]['every'](_0xfe8193=>_0xfe8193['id']===_0x3a517f['id'])?_0x490905=ns(this[_0x4aa226(0x3da)],this[_0x4aa226(0x1ff)],this[_0x4aa226(0x3f5)],this[_0x4aa226(0x29f)],this[_0x4aa226(0xff)]):_0x490905=qt(this[_0x4aa226(0x3da)],this[_0x4aa226(0x1ff)],this[_0x4aa226(0x3f5)],this['_revisionService'],this[_0x4aa226(0xff)]);break;}default:throw new Error('[PendingState]:\x20unhandled\x20univer\x20type:\x20'+this['type']+_0x4aa226(0x3d4));}const {changeset:_0x15de45,pendingMutations:_0x270125}=_0x490905;this[_0x4aa226(0x219)][_0x4aa226(0x233)](_0x15de45);const _0x275300=_0x270125['length']?this[_0x4aa226(0x3d2)]['createInstance'](oe,this[_0x4aa226(0x1ff)],this[_0x4aa226(0x23a)],_0x15de45,_0x270125,this[_0x4aa226(0x219)],void 0x0):this[_0x4aa226(0x3d2)][_0x4aa226(0x22e)](le,this[_0x4aa226(0x1ff)],this[_0x4aa226(0x23a)],_0x15de45,this[_0x4aa226(0x219)]);_0x275300[_0x4aa226(0x3a9)](),this['_handler']['onStateChange'](this,_0x275300);},_0x4967af);}['_getSendChangesetTimeout'](){var _0x8a7d68;const _0x2e1e90=this['_configService']['getConfig'](q);return(_0x8a7d68=_0x2e1e90==null?void 0x0:_0x2e1e90['sendChangesetTimeout'])!=null?_0x8a7d68:En;}[_0x2d44ac(0x31d)](){var _0x448c77=_0x2d44ac;throw new Error(_0x448c77(0x146));}[_0x2d44ac(0x17a)](){var _0x55887c=_0x2d44ac;this[_0x55887c(0x28d)]!=null&&(clearTimeout(this[_0x55887c(0x28d)]),this['_sendingTimer']=null);}['_onConflict'](_0x474035){var _0x415823=_0x2d44ac;return this[_0x415823(0x17a)](),this['_injector']['createInstance'](ue,this[_0x415823(0x1ff)],this['type'],null,this[_0x415823(0x3da)],this[_0x415823(0x219)],_0x474035);}};ae=Te([P(0x4,_0x3a18e9(_0x2eed8a)),P(0x5,_0x3a18e9(_0x43b8da)),P(0x6,_0x3a18e9(Le)),P(0x7,_0x41bbc0),P(0x8,_0x326da6),P(0x9,_0x462043),P(0xa,_0x157f6a),P(0xb,_0x2e2ca3),P(0xc,_0x46d3c0),P(0xd,_0x1f5a13(J))],ae);let le=class extends Ce{constructor(_0x4f41e6,_0x46eb4f,_0x1f5169,_0x5c90cd,_0x31f489,_0x1e886f,_0x5a0942,_0x159d17,_0xda99fe,_0xb273f9,_0x273226){var _0x52e235=_0x2d44ac;super(_0x4f41e6,_0x46eb4f,_0x1f5169,[],_0x5c90cd,_0x5a0942,_0xb273f9,_0x1e886f,_0x273226),N(this,_0x52e235(0x389),_0x52e235(0x3af)),N(this,_0x52e235(0x116),0x0),N(this,'_resendTimer'),N(this,_0x52e235(0x1c7)),(this[_0x52e235(0x3d2)]=_0x31f489,this[_0x52e235(0x1d5)]=_0x159d17,this[_0x52e235(0x380)]=_0xda99fe);}[_0x2d44ac(0x18a)](_0x70dab3){var _0x1a5600=_0x2d44ac;this[_0x1a5600(0x17a)]();const _0xee9f25=this[_0x1a5600(0x3d2)][_0x1a5600(0x22e)](oe,this['unitID'],this[_0x1a5600(0x23a)],this[_0x1a5600(0x174)],[_0x70dab3],this['_handler'],this[_0x1a5600(0x2fc)]);return _0xee9f25[_0x1a5600(0x3a9)](),_0xee9f25;}[_0x2d44ac(0x1ef)](_0x31c32e){var _0x12c7ea=_0x2d44ac;if(this[_0x12c7ea(0x156)](_0x31c32e))return this[_0x12c7ea(0x17a)](),this[_0x12c7ea(0x3d2)][_0x12c7ea(0x22e)](ee,this['unitID'],this[_0x12c7ea(0x23a)],this[_0x12c7ea(0x174)],[],null,[_0x31c32e],this[_0x12c7ea(0x219)]);try{const _0x3e3c2b=this[_0x12c7ea(0x380)][_0x12c7ea(0x235)]([_0x31c32e],[this[_0x12c7ea(0x174)]],!0x1);if(_0x3d2c6a(_0x3e3c2b)){const {c1Prime:_0x24e83a,c2Prime:_0x46ae64}=_0x3e3c2b;this[_0x12c7ea(0x27c)](_0x24e83a[0x0]),_0x46ae64[0x0][_0x12c7ea(0x251)]=this['_getCurrentRevision'](),this[_0x12c7ea(0x17a)]();const _0x203888=this['_injector'][_0x12c7ea(0x22e)](le,this['unitID'],this[_0x12c7ea(0x23a)],_0x46ae64[0x0],this['_handler']);return _0x203888['_updateLocalCache'](),_0x203888;}return this[_0x12c7ea(0x2ce)](!0x1);}catch(_0x1ec8dc){return this[_0x12c7ea(0x1d5)][_0x12c7ea(0x274)](_0x1ec8dc),this[_0x12c7ea(0x2ce)](!0x1);}}[_0x2d44ac(0x1fc)](_0x494b84){var _0x57cde2=_0x2d44ac;this[_0x57cde2(0x17a)]();const _0x5b2a75=this[_0x57cde2(0x29f)]['getCurrentRevOfUnit'](this[_0x57cde2(0x1ff)]);if(_0x494b84['revision']<_0x5b2a75-0x1)return this;if(this[_0x57cde2(0x156)](_0x494b84))return this[_0x57cde2(0x3d2)][_0x57cde2(0x22e)](ee,this[_0x57cde2(0x1ff)],this[_0x57cde2(0x23a)],null,[],this[_0x57cde2(0x174)],[],this['_handler']);this['_incrementRevisionNumber']();const _0x128b5c=this[_0x57cde2(0x3d2)][_0x57cde2(0x22e)](Ne,this['unitID'],this[_0x57cde2(0x23a)],this['_handler']);return _0x128b5c['_updateLocalCache'](),_0x128b5c;}[_0x2d44ac(0x1f6)](_0x3bdac1){var _0x10d4e3=_0x2d44ac;return this[_0x10d4e3(0x2ce)](!!(_0x3bdac1!=null&&_0x3bdac1[_0x10d4e3(0x3e9)]));}[_0x2d44ac(0x27e)](_0x32d625){var _0x3f5659=_0x2d44ac;return this[_0x3f5659(0x116)]>Oi?this[_0x3f5659(0x10e)]():(this['_resendTimer']=Ri(this['_resendTimeout'],{'timeout':this[_0x3f5659(0x116)],'reqId':_0x32d625[_0x3f5659(0x39e)]}),this[_0x3f5659(0x1c7)]=this[_0x3f5659(0x2fc)][_0x3f5659(0x128)](({reqId:_0x54b4a4,timeout:_0x18075f})=>{var _0x31cc17=_0x3f5659;this[_0x31cc17(0x1ad)](_0x54b4a4,_0x18075f);}),this);}[_0x2d44ac(0x10e)](){var _0x5084df=_0x2d44ac;return this[_0x5084df(0x17a)](),this[_0x5084df(0x3d2)]['createInstance'](de,this[_0x5084df(0x1ff)],this[_0x5084df(0x23a)],this[_0x5084df(0x174)],[],this[_0x5084df(0x219)]);}[_0x2d44ac(0x328)](){return this;}[_0x2d44ac(0x31d)](){var _0x47d36b=_0x2d44ac;this['_handler']['onSendChangeset'](this[_0x47d36b(0x174)]);}[_0x2d44ac(0x2ce)](_0x2274c2){var _0xd05b29=_0x2d44ac;return this[_0xd05b29(0x17a)](),this[_0xd05b29(0x3d2)]['createInstance'](ue,this[_0xd05b29(0x1ff)],this[_0xd05b29(0x23a)],this[_0xd05b29(0x174)],[],this['_handler'],_0x2274c2);}['_resendWithTimeout'](_0x4a2601,_0x3286e3){var _0x57a9f8=_0x2d44ac,_0x38b657;_0x4a2601===((_0x38b657=this[_0x57a9f8(0x174)])==null?void 0x0:_0x38b657['reqId'])&&(this[_0x57a9f8(0x31d)](),this[_0x57a9f8(0x116)]=_0x3286e3===0x0?0x3e8:_0x3286e3*0x2);}[_0x2d44ac(0x17a)](){var _0x4ca0b0=_0x2d44ac,_0x354723;(_0x354723=this[_0x4ca0b0(0x1c7)])==null||_0x354723[_0x4ca0b0(0x20c)](),this['_resendTimeout']=0x0;}};le=Te([P(0x4,_0x3a18e9(_0x2eed8a)),P(0x5,_0x3a18e9(_0x43b8da)),P(0x6,_0x326da6),P(0x7,_0x41bbc0),P(0x8,_0x157f6a),P(0x9,_0x46d3c0),P(0xa,_0x1f5a13(J))],le);let oe=class extends Ce{constructor(_0x12c809,_0x3f7f19,_0x4c8fba,_0x1f7ee3,_0x2d3923,_0x2b363d,_0x1e4a9f,_0x25f68a,_0x154943,_0x14accc,_0x496184,_0x18bd1e,_0x3a0f9f){var _0x2ec31c=_0x2d44ac;super(_0x12c809,_0x3f7f19,_0x4c8fba,_0x1f7ee3,_0x2d3923,_0x154943,_0x18bd1e,_0x25f68a,_0x3a0f9f),N(this,_0x2ec31c(0x389),_0x2ec31c(0x117)),N(this,_0x2ec31c(0x116),0x0),N(this,_0x2ec31c(0x2fc)),N(this,_0x2ec31c(0x1c7)),(this[_0x2ec31c(0x3d2)]=_0x1e4a9f,this[_0x2ec31c(0x1d5)]=_0x14accc,this[_0x2ec31c(0x380)]=_0x496184,this['localCacheService']=_0x3a0f9f,_0x2b363d&&(this[_0x2ec31c(0x2fc)]=_0x2b363d,this[_0x2ec31c(0x1c7)]=this['_resendTimer'][_0x2ec31c(0x128)](({reqId:_0x2ec759,timeout:_0x33618c})=>{var _0x2a8a2a=_0x2ec31c;this[_0x2a8a2a(0x1ad)](_0x2ec759,_0x33618c);})));}['appendMutation'](_0xf20166){var _0x2b3c1a=_0x2d44ac;return this[_0x2b3c1a(0x3da)][_0x2b3c1a(0x2ad)](_0xf20166),this;}[_0x2d44ac(0x1ef)](_0xa4d3d9){var _0xcb8412=_0x2d44ac;if(this[_0xcb8412(0x156)](_0xa4d3d9))return this[_0xcb8412(0x17a)](),this[_0xcb8412(0x3d2)][_0xcb8412(0x22e)](ee,this['unitID'],this[_0xcb8412(0x23a)],this['_awaitingChangeset'],this[_0xcb8412(0x3da)],null,[_0xa4d3d9],this[_0xcb8412(0x219)]);try{const _0x2f77cf=this[_0xcb8412(0x380)]['transformChangesets']([_0xa4d3d9],[this[_0xcb8412(0x174)]],!0x1);if(_0x3d2c6a(_0x2f77cf)){const {c1Prime:_0x56672f,c2Prime:_0x5cd50f}=_0x2f77cf,_0x2cd643=this[_0xcb8412(0x380)][_0xcb8412(0x2d8)](_0x56672f[0x0],this[_0xcb8412(0x3da)]);if(_0x418fd2(_0x2cd643)){const {c1Prime:_0x22c566,m2Prime:_0x16c2b9}=_0x2cd643;return this[_0xcb8412(0x27c)](_0x22c566),_0x5cd50f[0x0][_0xcb8412(0x251)]=this[_0xcb8412(0x2b6)](),this[_0xcb8412(0x17a)](),this['_injector'][_0xcb8412(0x22e)](oe,this[_0xcb8412(0x1ff)],this[_0xcb8412(0x23a)],_0x5cd50f[0x0],_0x16c2b9,this[_0xcb8412(0x219)],void 0x0);}throw _0x2cd643['error'];}throw _0x2f77cf['error'];}catch(_0x93659){return this[_0xcb8412(0x1d5)]['error'](_0x93659),this['_onConflict'](!0x1);}}[_0x2d44ac(0x1fc)](_0x34587a){var _0x3cae05=_0x2d44ac;if(this['_clearScheduledTask'](),this[_0x3cae05(0x156)](_0x34587a))return this[_0x3cae05(0x3d2)]['createInstance'](ee,this[_0x3cae05(0x1ff)],this[_0x3cae05(0x23a)],null,this[_0x3cae05(0x3da)],this[_0x3cae05(0x174)],[],this[_0x3cae05(0x219)]);this[_0x3cae05(0x2a4)]();const _0x3fd0b8=this[_0x3cae05(0x3d2)][_0x3cae05(0x22e)](ae,this[_0x3cae05(0x1ff)],this[_0x3cae05(0x23a)],this[_0x3cae05(0x3da)],this[_0x3cae05(0x219)]);return _0x3fd0b8[_0x3cae05(0x358)](),_0x3fd0b8['_updateLocalCache'](),_0x3fd0b8;}[_0x2d44ac(0x1f6)](_0xf674d2){var _0x47c1d2=_0x2d44ac;return this[_0x47c1d2(0x2ce)](!!(_0xf674d2!=null&&_0xf674d2[_0x47c1d2(0x3e9)]));}['onRemoteRetry'](_0x316d1b){var _0x251f95=_0x2d44ac;return this[_0x251f95(0x116)]>Oi?this[_0x251f95(0x10e)]():(this[_0x251f95(0x2fc)]=Ri(this[_0x251f95(0x116)],{'timeout':this[_0x251f95(0x116)],'reqId':_0x316d1b[_0x251f95(0x39e)]}),this['_sender']=this[_0x251f95(0x2fc)][_0x251f95(0x128)](({reqId:_0x5a741a,timeout:_0x146bac})=>{var _0xbd0708=_0x251f95;this[_0xbd0708(0x1ad)](_0x5a741a,_0x146bac);}),this);}['toggleOffline'](){var _0xa89fc5=_0x2d44ac;return this[_0xa89fc5(0x17a)](),this[_0xa89fc5(0x3d2)][_0xa89fc5(0x22e)](de,this[_0xa89fc5(0x1ff)],this['type'],this[_0xa89fc5(0x174)],this[_0xa89fc5(0x3da)],this[_0xa89fc5(0x219)]);}[_0x2d44ac(0x328)](){return this;}[_0x2d44ac(0x31d)](){var _0x3d079d=_0x2d44ac;this[_0x3d079d(0x219)][_0x3d079d(0x233)](this[_0x3d079d(0x174)]);}['_onConflict'](_0x5736c5){var _0x580f2c=_0x2d44ac;return this[_0x580f2c(0x17a)](),this[_0x580f2c(0x3d2)][_0x580f2c(0x22e)](ue,this[_0x580f2c(0x1ff)],this[_0x580f2c(0x23a)],null,this[_0x580f2c(0x3da)],this['_handler'],_0x5736c5);}[_0x2d44ac(0x1ad)](_0x43fa37,_0x23daaa){var _0x27e049=_0x2d44ac,_0x53493f;_0x43fa37===((_0x53493f=this[_0x27e049(0x174)])==null?void 0x0:_0x53493f[_0x27e049(0x39e)])&&(this['resend'](),this[_0x27e049(0x116)]=_0x23daaa===0x0?0x3e8:_0x23daaa*0x2);}[_0x2d44ac(0x17a)](){var _0x161049=_0x2d44ac,_0x4b0b89;(_0x4b0b89=this['_sender'])==null||_0x4b0b89[_0x161049(0x20c)](),this[_0x161049(0x116)]=0x0;}};oe=Te([P(0x6,_0x3a18e9(_0x2eed8a)),P(0x7,_0x3a18e9(_0x43b8da)),P(0x8,_0x326da6),P(0x9,_0x41bbc0),P(0xa,_0x157f6a),P(0xb,_0x46d3c0),P(0xc,_0x1f5a13(J))],oe);let ue=class extends Ce{constructor(_0x42b038,_0x21fa98,_0x464684,_0x5eadc5,_0x141ed0,_0x2afd0c=!0x1,_0x3fbe42,_0x10475f,_0x230017,_0x188743,_0x2ce95a,_0x287019,_0x4c4be0){var _0x1c78d4=_0x2d44ac;super(_0x42b038,_0x21fa98,_0x464684,_0x5eadc5,_0x141ed0,_0x10475f,_0x230017,_0x188743,_0x4c4be0),N(this,_0x1c78d4(0x389),'conflict'),(this[_0x1c78d4(0x208)]=_0x2afd0c,this[_0x1c78d4(0x3e4)]=_0x3fbe42,this[_0x1c78d4(0x309)]=_0x2ce95a,this[_0x1c78d4(0xf4)]=_0x287019,this[_0x1c78d4(0x3fb)]=_0x4c4be0,this[_0x1c78d4(0x1b8)](),this[_0x1c78d4(0x194)](),this[_0x1c78d4(0x19a)]());}[_0x2d44ac(0x18a)](){return this;}[_0x2d44ac(0x1ef)](){return this;}[_0x2d44ac(0x1fc)](){return this;}[_0x2d44ac(0x1f6)](){return this;}[_0x2d44ac(0x27e)](){return this;}[_0x2d44ac(0x10e)](){return this;}[_0x2d44ac(0x328)](){return this;}[_0x2d44ac(0x31d)](){throw new Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x2d44ac(0x194)](){var _0x5d7201=_0x2d44ac,_0x547a26;(_0x547a26=this[_0x5d7201(0x145)])==null||_0x547a26[_0x5d7201(0x165)](this[_0x5d7201(0x1ff)],this[_0x5d7201(0x23a)],null,[]);}[_0x2d44ac(0x1b8)](){var _0xd974c4=_0x2d44ac;this[_0xd974c4(0x208)]?this['_collaborationUIEventService'][_0xd974c4(0x113)]({'id':re[_0xd974c4(0x230)]}):this['_collaborationUIEventService'][_0xd974c4(0x113)]({'id':re[_0xd974c4(0x3b3)]});}['_disableEditing'](){var _0x596077=_0x2d44ac;this[_0x596077(0x3e4)][_0x596077(0x109)](new _0x457771(this[_0x596077(0x1ff)])['id'],!0x1);}};ue=Te([P(0x6,_0x3a18e9(_0x1461bf)),P(0x7,_0x326da6),P(0x8,_0x46d3c0),P(0x9,_0x3a18e9(_0x43b8da)),P(0xa,_0x3a18e9(_0x25b15a)),P(0xb,_0x3a18e9(pe)),P(0xc,_0x1f5a13(J))],ue);let de=class extends Ce{constructor(_0x847fe3,_0x129f54,_0x1f41a5,_0x5925b1,_0x464cba,_0x4e84f2,_0x149dc9,_0x2e4473,_0x25902f,_0x3edd1e){super(_0x847fe3,_0x129f54,_0x1f41a5,_0x5925b1,_0x464cba,_0x2e4473,_0x25902f,_0x149dc9,_0x3edd1e),N(this,'status','offline'),this['_injector']=_0x4e84f2;}[_0x2d44ac(0x18a)](_0x1406f6){var _0x37a3c0=_0x2d44ac;return this[_0x37a3c0(0x3da)]['push'](_0x1406f6),this[_0x37a3c0(0x3a9)](),this;}[_0x2d44ac(0x1ef)](_0x56c80e){var _0x36dfbf=_0x2d44ac;throw new Error(_0x36dfbf(0x3bc));}['onRemoteAck'](){var _0x34b83d=_0x2d44ac;throw new Error(_0x34b83d(0x299));}[_0x2d44ac(0x1f6)](){throw new Error('[OfflineState]:\x20received\x20rejection.');}['onRemoteRetry'](){return this;}[_0x2d44ac(0x10e)](){return this;}[_0x2d44ac(0x328)](){var _0x3807aa=_0x2d44ac;const {_injector:_0x1be876,_pendingMutations:_0x450434,_awaitingChangeset:_0x37bb82,unitID:_0x364497,_handler:_0x42a4c4,type:_0x2df111}=this,_0x3d5ca8=yi(_0x1be876,_0x364497,_0x2df111,_0x37bb82,_0x450434,_0x42a4c4);return _0x3d5ca8 instanceof ae?_0x3d5ca8[_0x3807aa(0x358)]():(_0x3d5ca8 instanceof oe||_0x3d5ca8 instanceof le)&&_0x3d5ca8[_0x3807aa(0x31d)](),_0x3d5ca8;}['resend'](){var _0x90ce3c=_0x2d44ac;throw new Error(_0x90ce3c(0x2d0));}};de=Te([P(0x5,_0x3a18e9(_0x2eed8a)),P(0x6,_0x3a18e9(_0x43b8da)),P(0x7,_0x326da6),P(0x8,_0x46d3c0),P(0x9,_0x1f5a13(J))],de);let ee=class extends Ce{constructor(_0x2122d5,_0x470905,_0x2a7cd2,_0x1c5a89,_0x1bc64c,_0x3b3f13,_0x22c5b6,_0x319709,_0x3067ca,_0x148da5,_0x356ae8,_0xe9caf7,_0x2b74bb,_0x4ab9c2){var _0x2712dd=_0x2d44ac;super(_0x2122d5,_0x470905,_0x2a7cd2,_0x1c5a89,_0x22c5b6,_0x356ae8,_0xe9caf7,_0x3067ca,_0x4ab9c2),N(this,'status',_0x2712dd(0x3db)),(this[_0x2712dd(0x337)]=_0x1bc64c,this[_0x2712dd(0x2e4)]=_0x3b3f13,this['_injector']=_0x319709,this['_logService']=_0x148da5,this['_transformService']=_0x2b74bb,this['localCacheService']=_0x4ab9c2);}['onMissedChangesetFetched'](_0x1e3781){var _0x599ed7=_0x2d44ac;try{const _0x353a61=[..._0x1e3781,...this[_0x599ed7(0x2e4)]],_0xe96ff9=[this[_0x599ed7(0x174)]||this[_0x599ed7(0x337)]][_0x599ed7(0x231)](_0x3494d2=>!!_0x3494d2);let _0x4c8def,_0x5ee899;if(_0xe96ff9[_0x599ed7(0x1cc)]){const _0x5780e2=this[_0x599ed7(0x380)][_0x599ed7(0x235)](_0x353a61,_0xe96ff9,!0x1);if(!_0x3d2c6a(_0x5780e2))throw _0x5780e2[_0x599ed7(0x274)];_0x4c8def=_0x5780e2[_0x599ed7(0x243)],_0x5ee899=_0x5780e2[_0x599ed7(0x3c1)];}else _0x4c8def=_0x353a61,_0x5ee899=[];let _0x3ac89c=this[_0x599ed7(0x3da)];_0x4c8def['forEach'](_0x598dff=>{var _0x4c0717=_0x599ed7;let _0x55d615;if(_0x3ac89c[_0x4c0717(0x1cc)]){const _0x52a416=this[_0x4c0717(0x380)][_0x4c0717(0x2d8)](_0x598dff,_0x3ac89c);if(!_0x418fd2(_0x52a416))throw _0x52a416[_0x4c0717(0x274)];_0x55d615=_0x52a416[_0x4c0717(0x243)],_0x3ac89c=_0x52a416[_0x4c0717(0x29e)];}else _0x55d615=_0x598dff;this[_0x4c0717(0x27c)](_0x55d615);}),this[_0x599ed7(0x337)]&&this[_0x599ed7(0x2a4)](),this['_awaitingChangeset']&&_0x5ee899[_0x599ed7(0x1cc)]&&(_0x5ee899[0x0][_0x599ed7(0x251)]=this[_0x599ed7(0x2b6)]());let _0x5ea596;if(this[_0x599ed7(0x174)]&&_0x3ac89c[_0x599ed7(0x1cc)]!==0x0)_0x5ea596=this[_0x599ed7(0x3d2)][_0x599ed7(0x22e)](oe,this['unitID'],this[_0x599ed7(0x23a)],_0x5ee899[0x0],_0x3ac89c,this[_0x599ed7(0x219)],void 0x0);else{if(this[_0x599ed7(0x174)]&&_0x3ac89c[_0x599ed7(0x1cc)]===0x0)_0x5ee899[0x0][_0x599ed7(0x251)]=this[_0x599ed7(0x2b6)](),_0x5ea596=this[_0x599ed7(0x3d2)][_0x599ed7(0x22e)](le,this['unitID'],this[_0x599ed7(0x23a)],_0x5ee899[0x0],this['_handler']);else{if(_0x3ac89c[_0x599ed7(0x1cc)]!==0x0){const _0x3fea85=this[_0x599ed7(0x3d2)][_0x599ed7(0x22e)](ae,this['unitID'],this[_0x599ed7(0x23a)],_0x3ac89c,this[_0x599ed7(0x219)]);_0x3fea85['_schedule'](),_0x5ea596=_0x3fea85;}else _0x5ea596=this[_0x599ed7(0x3d2)][_0x599ed7(0x22e)](Ne,this[_0x599ed7(0x1ff)],this[_0x599ed7(0x23a)],this[_0x599ed7(0x219)]);}}return _0x5ea596[_0x599ed7(0x3a9)](),_0x5ea596;}catch(_0x25e881){return this[_0x599ed7(0x1d5)][_0x599ed7(0x274)](_0x599ed7(0x1b5),_0x599ed7(0x139),_0x25e881),this['_injector'][_0x599ed7(0x22e)](ue,this[_0x599ed7(0x1ff)],this['type'],this['_awaitingChangeset'],this[_0x599ed7(0x3da)],this[_0x599ed7(0x219)],!0x1);}}[_0x2d44ac(0x31d)](){var _0x44a275=_0x2d44ac;throw new Error(_0x44a275(0x33c));}['appendMutation'](_0x13d6a4){var _0x27390b=_0x2d44ac;return this[_0x27390b(0x3da)][_0x27390b(0x2ad)](_0x13d6a4),this;}[_0x2d44ac(0x1ef)](_0x15b6fd){var _0x189353=_0x2d44ac;return this[_0x189353(0x2e4)][_0x189353(0x2ad)](_0x15b6fd),this;}['onRemoteAck'](_0x41577a){var _0x29c9c4=_0x2d44ac;if(this[_0x29c9c4(0x174)])return this[_0x29c9c4(0x337)]=this['_awaitingChangeset'],this[_0x29c9c4(0x174)]=null,this;throw new Error(_0x29c9c4(0x2c8));}[_0x2d44ac(0x1f6)](_0x4bb061){var _0x332700=_0x2d44ac;return this[_0x332700(0x2ce)](!!(_0x4bb061!=null&&_0x4bb061[_0x332700(0x3e9)]));}[_0x2d44ac(0x27e)](){return this;}[_0x2d44ac(0x10e)](){var _0x3f800c=_0x2d44ac;return this[_0x3f800c(0x3d2)][_0x3f800c(0x22e)](de,this[_0x3f800c(0x1ff)],this[_0x3f800c(0x23a)],this['_awaitingChangeset'],this[_0x3f800c(0x3da)],this[_0x3f800c(0x219)]);}[_0x2d44ac(0x328)](){return this;}[_0x2d44ac(0x2ce)](_0x4e31af){var _0x1e5742=_0x2d44ac;return this[_0x1e5742(0x3d2)][_0x1e5742(0x22e)](ue,this[_0x1e5742(0x1ff)],this[_0x1e5742(0x23a)],this[_0x1e5742(0x174)],this[_0x1e5742(0x3da)],this[_0x1e5742(0x219)],_0x4e31af);}};ee=Te([P(0x7,_0x3a18e9(_0x2eed8a)),P(0x8,_0x3a18e9(_0x43b8da)),P(0x9,_0x41bbc0),P(0xa,_0x326da6),P(0xb,_0x46d3c0),P(0xc,_0x157f6a),P(0xd,_0x1f5a13(J))],ee);function yi(_0x556b1d,_0x554631,_0x557454,_0x618b56,_0x3499f4,_0xd822da){var _0x5a4efc=_0x2d44ac;return _0x618b56&&_0x3499f4[_0x5a4efc(0x1cc)]?_0x556b1d['createInstance'](oe,_0x554631,_0x557454,_0x618b56,_0x3499f4,_0xd822da,void 0x0):_0x618b56?_0x556b1d[_0x5a4efc(0x22e)](le,_0x554631,_0x557454,_0x618b56,_0xd822da):_0x3499f4[_0x5a4efc(0x1cc)]?_0x556b1d[_0x5a4efc(0x22e)](ae,_0x554631,_0x557454,_0x3499f4,_0xd822da):_0x556b1d[_0x5a4efc(0x22e)](Ne,_0x554631,_0x557454,_0xd822da);}var as=Object[_0x2d44ac(0x2a3)],Lt=(_0x24d81c,_0x5d0cfb,_0x146ac3,_0xba3c88)=>{var _0x34bc62=_0x2d44ac;for(var _0x588635=_0xba3c88>0x1?void 0x0:_0xba3c88?as(_0x5d0cfb,_0x146ac3):_0x5d0cfb,_0x34dbbc=_0x24d81c[_0x34bc62(0x1cc)]-0x1,_0x262d4e;_0x34dbbc>=0x0;_0x34dbbc--)(_0x262d4e=_0x24d81c[_0x34dbbc])&&(_0x588635=_0x262d4e(_0x588635)||_0x588635);return _0x588635;},H=(_0x5759d9,_0x391f40)=>(_0x315274,_0xef023)=>_0x391f40(_0x315274,_0xef023,_0x5759d9);let nt=class extends _0x2f9470{constructor(_0x4e9ed7,_0x128391,_0x13ddd2,_0x60cb5e,_0x2bd2d5,_0x2b490f,_0x96bd4f,_0x46e323,_0x518027,_0x5b69a0,_0x9822be,_0x5a77a4,_0x1a1046){var _0x338be5=_0x2d44ac;super(),N(this,_0x338be5(0x324),new _0xa6b6e7(null)),N(this,_0x338be5(0xf8),this['_state$'][_0x338be5(0x2f1)]()),N(this,_0x338be5(0x21d)),N(this,_0x338be5(0x330),!0x1),N(this,_0x338be5(0x122),''),N(this,_0x338be5(0x2ee),0x0),N(this,_0x338be5(0x30a),this[_0x338be5(0xf8)][_0x338be5(0x11e)](_0xa964fc(_0x5c546b=>_0x5c546b?_0x5c546b['status']:bi[_0x338be5(0x2e5)]),_0x2ea2ae(0x1))),N(this,_0x338be5(0x263),!0x1),N(this,_0x338be5(0x3dc),[]),(this[_0x338be5(0x1ff)]=_0x4e9ed7,this[_0x338be5(0x3c8)]=_0x128391,this['_type']=_0x13ddd2,this[_0x338be5(0x3d2)]=_0x60cb5e,this[_0x338be5(0x228)]=_0x2bd2d5,this[_0x338be5(0x309)]=_0x2b490f,this[_0x338be5(0x29f)]=_0x96bd4f,this[_0x338be5(0x354)]=_0x46e323,this[_0x338be5(0x1d5)]=_0x518027,this[_0x338be5(0x2be)]=_0x5b69a0,this[_0x338be5(0x3e4)]=_0x9822be,this[_0x338be5(0x16a)]=_0x5a77a4,this['_localCacheService']=_0x1a1046);}get[_0x2d44ac(0x370)](){var _0x26331f=_0x2d44ac;return this[_0x26331f(0x21d)];}async['init'](){var _0x2f752b=_0x2d44ac;if(this[_0x2f752b(0x370)])throw new Error(_0x2f752b(0x135));await this[_0x2f752b(0x321)]();}['pauseCollaboration'](){var _0x76da79=_0x2d44ac;return this[_0x76da79(0x330)]=!0x0,_0x411075(()=>{var _0x11474c=_0x76da79;this[_0x11474c(0x330)]=!0x1,this[_0x11474c(0x15f)]();});}[_0x2d44ac(0x246)](_0x11b54b){var _0x4ad0e1=_0x2d44ac;this[_0x4ad0e1(0x36e)](_0x11b54b);}[_0x2d44ac(0x3b1)](_0x414511){var _0x5428a2=_0x2d44ac;this[_0x5428a2(0x21d)]=_0x414511,this['_state$']['next'](_0x414511);}async[_0x2d44ac(0x321)](){var _0x253d17=_0x2d44ac,_0x283de3;this['_updateState'](await this['_createInitialState']()),this[_0x253d17(0x16a)]&&((_0x283de3=this[_0x253d17(0x16a)])==null||_0x283de3[_0x253d17(0x399)](this[_0x253d17(0x1ff)]),this[_0x253d17(0x336)](this['_singleActiveUnitService'][_0x253d17(0x327)](this['unitID'])['subscribe'](_0x274d7c=>{var _0x5d694c=_0x253d17;this[_0x5d694c(0x1d5)][_0x5d694c(0x2a2)](_0x5d694c(0x1dc),'editing\x20status\x20changed\x20to',_0x274d7c),_0x274d7c===Ci[_0x5d694c(0x234)]?(this[_0x5d694c(0x354)][_0x5d694c(0x113)]({'id':re[_0x5d694c(0x11f)]}),this[_0x5d694c(0x3e4)]['updatePermissionPoint'](new _0x457771(this[_0x5d694c(0x1ff)])['id'],!0x1),this[_0x5d694c(0x3e4)][_0x5d694c(0x3a4)](!0x1)):(this['_permissionService'][_0x5d694c(0x109)](new _0x457771(this[_0x5d694c(0x1ff)])['id'],!0x0),this[_0x5d694c(0x3e4)][_0x5d694c(0x3a4)](!0x0));})));let _0x393b48=!0x1;return this[_0x253d17(0x336)](this[_0x253d17(0x3c8)][_0x253d17(0x250)][_0x253d17(0x128)](_0x364c5d=>{var _0x57eed1=_0x253d17;_0x364c5d===Ee['ONLINE']?this[_0x57eed1(0x1dd)](_0x393b48):_0x364c5d===Ee[_0x57eed1(0x2e5)]&&(_0x393b48=!0x0,this[_0x57eed1(0x2af)]());})),this[_0x253d17(0x336)](this[_0x253d17(0x3c8)]['event$'][_0x253d17(0x128)](_0x4abddc=>{var _0x340955=_0x253d17;try{switch(_0x4abddc[_0x340955(0x3f7)]){case _0x3d1bff[_0x340955(0x381)]:{this[_0x340955(0x3bb)](_0xad3758(_0x4abddc['data']));break;}case _0x3d1bff[_0x340955(0x34a)]:{this[_0x340955(0x178)](_0x4abddc[_0x340955(0x18e)]);break;}case _0x3d1bff[_0x340955(0x248)]:{this[_0x340955(0x13d)]();break;}case _0x3d1bff[_0x340955(0x1bd)]:{this['_onRemoteRetry'](_0x4abddc[_0x340955(0x18e)]);break;}case _0x3d1bff[_0x340955(0x1a7)]:{this[_0x340955(0x3dd)](_0x4abddc[_0x340955(0x18e)][_0x340955(0x225)][_0x340955(0x1fa)](_0x4eccfe=>_0xad3758(_0x4eccfe)));break;}case _0x3d1bff[_0x340955(0x1a4)]:{this['_onRemoteRejected']({'isPermissionRej':!0x0});break;}case _0x3d1bff['UNISCRIPT_RUN']:break;}}catch(_0x2f252e){throw console[_0x340955(0x274)]('Error\x20on\x20receiving\x20event',_0x2f252e),_0x2f252e;}})),this['_state'];}[_0x2d44ac(0x131)](){var _0x486336=_0x2d44ac;this[_0x486336(0x263)]=!0x1;}[_0x2d44ac(0x382)](){var _0xefbb1c=_0x2d44ac;if(this[_0xefbb1c(0x263)])throw new Error(_0xefbb1c(0x217));this[_0xefbb1c(0x263)]=!0x0;}[_0x2d44ac(0x36e)](_0x3fb60b){var _0xcaaa17=_0x2d44ac;this[_0xcaaa17(0x382)](),this[_0xcaaa17(0x3b1)](this['_state'][_0xcaaa17(0x18a)](_0x3fb60b)),this[_0xcaaa17(0x131)]();}[_0x2d44ac(0x3bb)](_0x434913){var _0x1dd6f0=_0x2d44ac;if(!(_0x434913[_0x1dd6f0(0x344)]<=this[_0x1dd6f0(0x29f)][_0x1dd6f0(0x1e1)](this[_0x1dd6f0(0x1ff)]))){if(this[_0x1dd6f0(0x330)]){this[_0x1dd6f0(0x3dc)]['push'](_0x434913);return;}this['_applyRemoteChangeset'](_0x434913);}}[_0x2d44ac(0x15f)](){var _0x4606b6=_0x2d44ac;this[_0x4606b6(0x3dc)][_0x4606b6(0x2ea)](_0x226f82=>this['_applyRemoteChangeset'](_0x226f82)),this[_0x4606b6(0x3dc)]=[];}[_0x2d44ac(0x1bb)](_0x37e0c1){var _0x3a4bb3=_0x2d44ac;const _0xaf8283=this[_0x3a4bb3(0x228)][_0x3a4bb3(0x265)][_0x3a4bb3(0x313)](this[_0x3a4bb3(0x228)][_0x3a4bb3(0x265)][_0x3a4bb3(0x360)]()['COMPRESS_MUTATION_APPLY'])(_0x37e0c1[_0x3a4bb3(0x1c8)],null)||_0x37e0c1[_0x3a4bb3(0x1c8)],_0x250ada={..._0x37e0c1,'mutations':_0xaf8283};this[_0x3a4bb3(0x382)](),this[_0x3a4bb3(0x3b1)](this[_0x3a4bb3(0x21d)]['onRemoteChangeset'](_0x250ada)),this[_0x3a4bb3(0x131)]();}[_0x2d44ac(0x178)](_0x34726b){var _0x45e81a=_0x2d44ac;this[_0x45e81a(0x382)](),this[_0x45e81a(0x3b1)](this[_0x45e81a(0x21d)][_0x45e81a(0x1fc)](_0x34726b)),this[_0x45e81a(0x131)]();}[_0x2d44ac(0x13d)](_0x503811){var _0x489fb7=_0x2d44ac;this[_0x489fb7(0x382)](),this[_0x489fb7(0x3b1)](this['_state'][_0x489fb7(0x1f6)](_0x503811)),this[_0x489fb7(0x131)]();}['_onRemoteRetry'](_0x1c7f56){var _0x8666fb=_0x2d44ac;this[_0x8666fb(0x382)](),this[_0x8666fb(0x3b1)](this[_0x8666fb(0x21d)][_0x8666fb(0x27e)](_0x1c7f56)),this['_unlockTransition']();}['_onFetchMissResult'](_0x182bf7){var _0x25be33=_0x2d44ac;if(!(this[_0x25be33(0x21d)]instanceof ee))throw new TypeError(_0x25be33(0x2a8));const _0x2f8448=_0x182bf7[_0x25be33(0x1fa)](_0x1e27b2=>{var _0x1076b4=_0x25be33;const _0x152065=this[_0x1076b4(0x228)][_0x1076b4(0x265)][_0x1076b4(0x313)](this[_0x1076b4(0x228)]['interceptor'][_0x1076b4(0x360)]()[_0x1076b4(0x1e2)])(_0x1e27b2['mutations'],null)||_0x1e27b2['mutations'];return{..._0x1e27b2,'mutations':_0x152065};});this['_lockTransition'](),this['_updateState'](this['_state'][_0x25be33(0x301)](_0x2f8448)),this[_0x25be33(0x131)]();}['_toggleOffline'](){var _0x4e0f6d=_0x2d44ac;this[_0x4e0f6d(0x382)](),this['_updateState'](this[_0x4e0f6d(0x21d)][_0x4e0f6d(0x10e)]()),this[_0x4e0f6d(0x131)]();}['_toggleOnline'](_0x398542=!0x1){var _0x28374a=_0x2d44ac;this[_0x28374a(0x382)](),this[_0x28374a(0x3b1)](this[_0x28374a(0x21d)]['toggleOnline']()),this[_0x28374a(0x131)]();const _0x4ef62e=this['_state'];_0x398542&&_0x4ef62e instanceof Ne&&(this[_0x28374a(0x382)](),this['_updateState'](_0x4ef62e['fetchMiss']()),this[_0x28374a(0x131)]());}async['_createInitialState'](){return new Promise(_0x57361a=>{var _0x20db56=_0x39a9;this[_0x20db56(0x3c8)][_0x20db56(0x250)][_0x20db56(0x11e)](_0x3d256e(0x1))[_0x20db56(0x128)](async _0x14e934=>{var _0x58c268=_0x20db56;_0x57361a(await this[_0x58c268(0x1f8)](_0x14e934===Ee[_0x58c268(0x177)]));});});}[_0x2d44ac(0x286)](){var _0x42dd83=_0x2d44ac;const _0x4bf1fd=this[_0x42dd83(0x1ff)];return{'onStateChange':(_0x13a8c8,_0x41794a)=>{var _0x3b22bd=_0x42dd83;if(_0x13a8c8!==this[_0x3b22bd(0x21d)])throw new Error(_0x3b22bd(0x20b)+_0x13a8c8[_0x3b22bd(0x389)]+'\x0aAfter:\x20'+_0x41794a[_0x3b22bd(0x389)]+_0x3b22bd(0xf6)+this['_state']['status']);this[_0x3b22bd(0x3b1)](_0x41794a);},'onSendChangeset':_0x59aa0e=>{var _0x3c3867=_0x42dd83;_0x59aa0e[_0x3c3867(0x379)]||(_0x59aa0e[_0x3c3867(0x379)]=this[_0x3c3867(0x122)],_0x59aa0e[_0x3c3867(0x39e)]=++this[_0x3c3867(0x2ee)]);const _0x3aaa4c={'eventID':_0x3d1bff[_0x3c3867(0x1ab)],'data':{'unitID':_0x59aa0e[_0x3c3867(0x1ff)],'unitType':this[_0x3c3867(0x28c)],'changeset':_0x59aa0e,'memberID':this[_0x3c3867(0x3c8)][_0x3c3867(0x192)]()}};this[_0x3c3867(0x3c8)][_0x3c3867(0x1f5)](_0x3aaa4c,this['unitID']);},'onMissingChangesets':({from:_0x458ab3,to:_0x4c3d34})=>{var _0x5f2d3e=_0x42dd83;this['_logService']['debug'](_0x5f2d3e(0x1dc),_0x5f2d3e(0x387)+_0x458ab3+_0x5f2d3e(0x3e0)+_0x4c3d34);const _0x2a3325={'eventID':_0x3d1bff[_0x5f2d3e(0x39c)],'data':{'unitID':_0x4bf1fd,'unitType':this[_0x5f2d3e(0x28c)],'from':_0x458ab3,'to':_0x4c3d34}};this['session'][_0x5f2d3e(0x1f5)](_0x2a3325,this['unitID']);}};}async[_0x2d44ac(0x1f8)](_0x500f0e){var _0x4f9b6e=_0x2d44ac,_0x239d24,_0xebd740,_0x544926;const _0x46eebb=await((_0x239d24=this[_0x4f9b6e(0x145)])==null?void 0x0:_0x239d24[_0x4f9b6e(0x35d)](this[_0x4f9b6e(0x1ff)])),_0x312413=(_0xebd740=_0x46eebb==null?void 0x0:_0x46eebb[_0x4f9b6e(0x1c8)])!=null?_0xebd740:[],_0x25359c=(_0x544926=_0x46eebb==null?void 0x0:_0x46eebb['awaitingChangeset'])!=null?_0x544926:null,_0x3dd37f=!!(_0x25359c!=null&&_0x25359c[_0x4f9b6e(0x379)])&&!!(_0x25359c!=null&&_0x25359c[_0x4f9b6e(0x39e)]);this[_0x4f9b6e(0x122)]=_0x3dd37f?_0x25359c[_0x4f9b6e(0x379)]:Zn(),this[_0x4f9b6e(0x2ee)]=_0x3dd37f?_0x25359c['reqId']:0x0;const _0x538739=this['unitID'];try{this[_0x4f9b6e(0x343)](_0x25359c,_0x312413);}catch(_0x17c45e){this[_0x4f9b6e(0x1d5)]['error'](_0x17c45e);}const _0xaaf4d4=this[_0x4f9b6e(0x286)]();if(_0x500f0e){const _0x178387=yi(this[_0x4f9b6e(0x3d2)],_0x538739,this['_type'],_0x25359c,_0x312413,_0xaaf4d4);return _0x178387 instanceof ae?_0x178387[_0x4f9b6e(0x358)]():(_0x178387 instanceof oe||_0x178387 instanceof le)&&_0x178387[_0x4f9b6e(0x31d)](),_0x178387;}return this[_0x4f9b6e(0x3d2)][_0x4f9b6e(0x22e)](de,_0x538739,this['_type'],_0x25359c,_0x312413,_0xaaf4d4);}[_0x2d44ac(0x343)](_0x5e0700,_0x48f4f5){var _0x29dbae=_0x2d44ac,_0x4358f6,_0x2dcd9a;const _0x437acc=this[_0x29dbae(0x228)][_0x29dbae(0x265)][_0x29dbae(0x313)](this[_0x29dbae(0x228)]['interceptor']['getInterceptPoints']()[_0x29dbae(0x1e2)]);(_0x4358f6=_0x437acc((_0x5e0700==null?void 0x0:_0x5e0700[_0x29dbae(0x1c8)])||[],null))==null||_0x4358f6[_0x29dbae(0x2ea)](_0x5c9bf7=>this[_0x29dbae(0x2be)][_0x29dbae(0x1b1)](_0x5c9bf7['id'],_0x5c9bf7[_0x29dbae(0x2d1)])),(_0x2dcd9a=_0x437acc(_0x48f4f5||[],null))==null||_0x2dcd9a[_0x29dbae(0x2ea)](_0x358e38=>this[_0x29dbae(0x2be)][_0x29dbae(0x1b1)](_0x358e38['id'],_0x358e38[_0x29dbae(0x2d1)]));}};nt=Lt([H(0x3,_0x3a18e9(_0x2eed8a)),H(0x4,_0x3a18e9(_0x370cea)),H(0x5,_0x3a18e9(_0x25b15a)),H(0x6,_0x3a18e9(_0x43b8da)),H(0x7,_0x3a18e9(pe)),H(0x8,_0x41bbc0),H(0x9,_0x326da6),H(0xa,_0x1461bf),H(0xb,_0x1f5a13(ht)),H(0xc,_0x1f5a13(J))],nt);let It=class extends nt{constructor(_0x36b968,_0x52acd6,_0x19a3a6,_0x4d4438,_0x404f57,_0x6661d0,_0x40671c,_0x2d15cb,_0x230e20,_0x1eabeb,_0x3d5943,_0x1cffbe,_0x5a1748){var _0x164181=_0x2d44ac;super(_0x36b968,_0x19a3a6,_0x52acd6,_0x4d4438,_0x404f57,_0x6661d0,_0x40671c,_0x2d15cb,_0x230e20,_0x1eabeb,_0x3d5943,_0x1cffbe,_0x5a1748),N(this,_0x164181(0x201),null),(this[_0x164181(0x1ff)]=_0x36b968,this[_0x164181(0x23a)]=_0x52acd6);}[_0x2d44ac(0x212)](_0x4db4b8){var _0xa4e280=_0x2d44ac;this[_0xa4e280(0x201)]=_0x4db4b8;}[_0x2d44ac(0x141)](){var _0x40592a=_0x2d44ac;this['_handlerCallback']=null,super[_0x40592a(0x141)]();}['_createHandler'](){var _0x444ffb=_0x2d44ac;const _0x29da37=super['_createHandler']();return _0x29da37[_0x444ffb(0x3b7)]=_0x342239=>{var _0x2f5b6f=_0x444ffb,_0x52fd28,_0x3cbc35;return(_0x3cbc35=(_0x52fd28=this['_handlerCallback'])==null?void 0x0:_0x52fd28[_0x2f5b6f(0x3b7)])==null?void 0x0:_0x3cbc35[_0x2f5b6f(0x2fa)](_0x52fd28,_0x342239);},_0x29da37['onTransformState']=_0x3d5d63=>{var _0x2500cb=_0x444ffb,_0x9010cb,_0x937713;return(_0x937713=(_0x9010cb=this['_handlerCallback'])==null?void 0x0:_0x9010cb[_0x2500cb(0x31b)])==null?void 0x0:_0x937713[_0x2500cb(0x2fa)](_0x9010cb,_0x3d5d63);},_0x29da37[_0x444ffb(0x1f3)]=_0x1fafe1=>{var _0x26e19e=_0x444ffb,_0xdc7cec,_0x572570;return(_0x572570=(_0xdc7cec=this[_0x26e19e(0x201)])==null?void 0x0:_0xdc7cec[_0x26e19e(0x1f3)])==null?void 0x0:_0x572570[_0x26e19e(0x2fa)](_0xdc7cec,_0x1fafe1);},_0x29da37[_0x444ffb(0x371)]=_0x38f004=>{var _0x171739=_0x444ffb,_0x1e756e,_0x2a7abe;return(_0x2a7abe=(_0x1e756e=this[_0x171739(0x201)])==null?void 0x0:_0x1e756e[_0x171739(0x371)])==null?void 0x0:_0x2a7abe[_0x171739(0x2fa)](_0x1e756e,_0x38f004);},_0x29da37[_0x444ffb(0x2f3)]=_0x38dfe4=>{var _0x568a9d=_0x444ffb,_0xb4fbb7,_0x17d321,_0x37dd0e;if(!((_0xb4fbb7=this[_0x568a9d(0x201)])!=null&&_0xb4fbb7[_0x568a9d(0x2f3)]))throw new Error('onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x37dd0e=(_0x17d321=this[_0x568a9d(0x201)])==null?void 0x0:_0x17d321['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x37dd0e[_0x568a9d(0x2fa)](_0x17d321,_0x38dfe4);},_0x29da37[_0x444ffb(0x15b)]=_0x44c943=>{var _0x4faab2=_0x444ffb,_0x57acee,_0x533bc2,_0x310b93;if(!((_0x57acee=this['_handlerCallback'])!=null&&_0x57acee[_0x4faab2(0x15b)]))throw new Error(_0x4faab2(0x187));return(_0x310b93=(_0x533bc2=this[_0x4faab2(0x201)])==null?void 0x0:_0x533bc2[_0x4faab2(0x15b)])==null?void 0x0:_0x310b93[_0x4faab2(0x2fa)](_0x533bc2,_0x44c943);},_0x29da37;}async['_init'](){var _0x1ccd07=_0x2d44ac;const _0x25f071=await super[_0x1ccd07(0x321)]();return this[_0x1ccd07(0x336)](this[_0x1ccd07(0x2be)][_0x1ccd07(0xf7)]((_0x39ded9,_0xc8c97f)=>{var _0x3fc68a=_0x1ccd07;if(_0x39ded9[_0x3fc68a(0x23a)]!==_0x2707f2[_0x3fc68a(0x17d)]||_0xc8c97f!=null&&_0xc8c97f['fromCollab']||_0xc8c97f!=null&&_0xc8c97f[_0x3fc68a(0x32d)]||_0x39ded9['id']===_0x3a517f['id'])return;const _0x2dab80=_0x39ded9[_0x3fc68a(0x2d1)];if((_0x2dab80==null?void 0x0:_0x2dab80[_0x3fc68a(0x153)])!==this[_0x3fc68a(0x1ff)])return;const _0x21f503=_0x39ded9,_0xf01e96=this['_compressMutationService'][_0x3fc68a(0x265)][_0x3fc68a(0x313)](this['_compressMutationService'][_0x3fc68a(0x265)][_0x3fc68a(0x360)]()[_0x3fc68a(0x3ac)])([_0x21f503],null)||[_0x21f503];this[_0x3fc68a(0x36e)](_0xf01e96[0x0]);})),_0x25f071;}};It=Lt([H(0x3,_0x3a18e9(_0x2eed8a)),H(0x4,_0x3a18e9(_0x370cea)),H(0x5,_0x3a18e9(_0x25b15a)),H(0x6,_0x3a18e9(_0x43b8da)),H(0x7,_0x3a18e9(pe)),H(0x8,_0x41bbc0),H(0x9,_0x326da6),H(0xa,_0x1461bf),H(0xb,_0x1f5a13(ht)),H(0xc,_0x1f5a13(J))],It);let Tt=class extends nt{constructor(_0x3d5f32,_0x1fa5af,_0x288384,_0x386dbb,_0x343486,_0x18d0ce,_0x572053,_0x4d20d7,_0x2bc13e,_0x3a6533,_0x524888,_0x541ac1,_0x2d62fe,_0x5c7902){var _0x22f119=_0x2d44ac;super(_0x3d5f32,_0x288384,_0x1fa5af,_0x386dbb,_0x343486,_0x18d0ce,_0x572053,_0x2bc13e,_0x3a6533,_0x524888,_0x541ac1,_0x2d62fe,_0x5c7902),this[_0x22f119(0x1ff)]=_0x3d5f32,this['type']=_0x1fa5af,this[_0x22f119(0x254)]=_0x4d20d7;}[_0x2d44ac(0x286)](){var _0x560048=_0x2d44ac;const _0x1ca1be=super[_0x560048(0x286)]();return _0x1ca1be[_0x560048(0x1f3)]=_0x53a610=>this[_0x560048(0x254)]['transformSelections'](_0x53a610),_0x1ca1be;}async[_0x2d44ac(0x321)](){var _0x394b0e=_0x2d44ac;const _0x450637=await super[_0x394b0e(0x321)]();return this[_0x394b0e(0x336)](this['_commandService'][_0x394b0e(0xf7)]((_0x24e7be,_0x575359)=>{var _0x5f27c1=_0x394b0e;if(_0x24e7be[_0x5f27c1(0x23a)]!==_0x2707f2[_0x5f27c1(0x17d)]||_0x575359!=null&&_0x575359[_0x5f27c1(0x1ac)]||_0x575359!=null&&_0x575359['onlyLocal'])return;const _0x3c85d1=_0x24e7be[_0x5f27c1(0x2d1)];if((_0x3c85d1==null?void 0x0:_0x3c85d1['unitId'])!==this[_0x5f27c1(0x1ff)])return;const _0x4342f3=_0x24e7be,_0x99ea5c=this['_compressMutationService'][_0x5f27c1(0x265)][_0x5f27c1(0x313)](this[_0x5f27c1(0x228)]['interceptor']['getInterceptPoints']()[_0x5f27c1(0x3ac)])([_0x4342f3],null)||[_0x4342f3];this[_0x5f27c1(0x36e)](_0x99ea5c[0x0]);})),_0x450637;}};Tt=Lt([H(0x3,_0x3a18e9(_0x2eed8a)),H(0x4,_0x3a18e9(_0x370cea)),H(0x5,_0x3a18e9(_0x25b15a)),H(0x6,_0x3a18e9(_0x43b8da)),H(0x7,_0x3a18e9(it)),H(0x8,_0x3a18e9(pe)),H(0x9,_0x41bbc0),H(0xa,_0x326da6),H(0xb,_0x1461bf),H(0xc,_0x1f5a13(ht)),H(0xd,_0x1f5a13(J))],Tt);var os=Object[_0x2d44ac(0x2a3)],cs=(_0x47a44a,_0x43ee92,_0x17674d,_0x864d8)=>{var _0x1f60bc=_0x2d44ac;for(var _0xde10cf=_0x864d8>0x1?void 0x0:_0x864d8?os(_0x43ee92,_0x17674d):_0x43ee92,_0x4f57c8=_0x47a44a[_0x1f60bc(0x1cc)]-0x1,_0x2153fe;_0x4f57c8>=0x0;_0x4f57c8--)(_0x2153fe=_0x47a44a[_0x4f57c8])&&(_0xde10cf=_0x2153fe(_0xde10cf)||_0xde10cf);return _0xde10cf;},ft=(_0x46b888,_0x3f405f)=>(_0x4f7046,_0x41b53f)=>_0x3f405f(_0x4f7046,_0x41b53f,_0x46b888);let st=class extends _0x2f9470{constructor(_0x3bd0f2,_0xb372b2,_0x4badba){var _0x51acdf=_0x2d44ac;super(),N(this,'_entities',new Map()),N(this,_0x51acdf(0x103),new _0x42e7d7()),N(this,_0x51acdf(0x3a1),this[_0x51acdf(0x103)][_0x51acdf(0x2f1)]()),(this[_0x51acdf(0x3d2)]=_0x3bd0f2,this['_collabSessionService']=_0xb372b2,this['_univerInstanceService']=_0x4badba,this[_0x51acdf(0x321)]());}[_0x2d44ac(0x141)](){var _0x483ccb=_0x2d44ac;super[_0x483ccb(0x141)](),this[_0x483ccb(0x1df)][_0x483ccb(0x2ea)](_0x38cfa7=>_0x38cfa7[_0x483ccb(0x141)]()),this[_0x483ccb(0x1df)][_0x483ccb(0x3b4)]();}['getCollabEntity'](_0x4db4e5){var _0x59d6ad=_0x2d44ac,_0x7e6d6e;return(_0x7e6d6e=this[_0x59d6ad(0x1df)][_0x59d6ad(0x215)](_0x4db4e5))!=null?_0x7e6d6e:null;}[_0x2d44ac(0x188)](_0x4b21ff){var _0x104fc7=_0x2d44ac;const _0x5ed8c9=this[_0x104fc7(0x27d)](_0x4b21ff);return _0x5ed8c9?_0x324682(_0x5ed8c9):this['_entityInit$'][_0x104fc7(0x11e)](_0x24719a(_0x5afb8a=>_0x5afb8a['unitID']===_0x4b21ff));}[_0x2d44ac(0x1fb)](_0x292570){var _0x1a9b54=_0x2d44ac;return _0x5039fe(this[_0x1a9b54(0x188)](_0x292570)[_0x1a9b54(0x11e)](_0x4fc619(()=>{})));}[_0x2d44ac(0x321)](){var _0x1f4797=_0x2d44ac;this[_0x1f4797(0x3f5)][_0x1f4797(0x283)](_0x34ccd3[_0x1f4797(0x39a)])[_0x1f4797(0x11e)](_0x4906df(this[_0x1f4797(0x115)]),_0x291475(0x10))['subscribe'](async _0x40b0b9=>{var _0x38cf62=_0x1f4797;const _0x3eb602=_0x40b0b9[_0x38cf62(0x29c)](),_0x407d5d=await this['_startCollaboration'](_0x3eb602,Q[_0x38cf62(0x39a)]);this[_0x38cf62(0x1df)][_0x38cf62(0x2d2)](_0x3eb602,_0x407d5d);}),this[_0x1f4797(0x3f5)]['getTypeOfUnitAdded$'](_0x34ccd3['UNIVER_DOC'])[_0x1f4797(0x11e)](_0x4906df(this[_0x1f4797(0x115)]),_0x291475(0x10))[_0x1f4797(0x11e)](_0x24719a(_0x3f6a07=>!_0x3f6a07[_0x1f4797(0x29c)]()[_0x1f4797(0x359)]('__')))[_0x1f4797(0x128)](async _0x2c2014=>{var _0x569aee=_0x1f4797;const _0x47aa35=_0x2c2014[_0x569aee(0x29c)](),_0x4e2c97=await this[_0x569aee(0x12b)](_0x47aa35,Q[_0x569aee(0x3f8)]);this[_0x569aee(0x1df)][_0x569aee(0x2d2)](_0x47aa35,_0x4e2c97);}),_0x5ac85e(this[_0x1f4797(0x3f5)]['getTypeOfUnitDisposed$'](_0x34ccd3[_0x1f4797(0x39a)]),this['_univerInstanceService'][_0x1f4797(0x14e)](_0x34ccd3[_0x1f4797(0x3f8)]))[_0x1f4797(0x11e)](_0x4906df(this[_0x1f4797(0x115)]))[_0x1f4797(0x128)](_0x592e35=>{var _0x55e5b3=_0x1f4797;const _0x3b67ec=_0x592e35[_0x55e5b3(0x29c)](),_0x187270=this['_entities']['get'](_0x3b67ec);_0x187270&&(_0x187270[_0x55e5b3(0x141)](),this[_0x55e5b3(0x1df)][_0x55e5b3(0x318)](_0x3b67ec));});}async[_0x2d44ac(0x12b)](_0xa10e16,_0x19030e){var _0xbe3e68=_0x2d44ac;const _0x213701=await this[_0xbe3e68(0x2bf)]['requireSession'](_0xa10e16),_0x427e24=this[_0xbe3e68(0x3d2)][_0xbe3e68(0x22e)](this[_0xbe3e68(0x149)](_0x19030e),_0xa10e16,_0x19030e,_0x213701);return await _0x427e24[_0xbe3e68(0x16b)](),this[_0xbe3e68(0x103)][_0xbe3e68(0x26e)](_0x427e24),_0x427e24;}[_0x2d44ac(0x149)](_0x47925a){switch(_0x47925a){case Q['UNIVER_DOC']:return It;case Q['UNIVER_SHEET']:return Tt;default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0x47925a);}}};st=cs([ft(0x0,_0x3a18e9(_0x2eed8a)),ft(0x1,_0x3a18e9(Me)),ft(0x2,_0x2e2ca3)],st);var hs=Object[_0x2d44ac(0x2a3)],_s=(_0x3a19f5,_0x29cbda,_0x3e1768,_0x10913f)=>{var _0x30ed3d=_0x2d44ac;for(var _0x4ea937=_0x10913f>0x1?void 0x0:_0x10913f?hs(_0x29cbda,_0x3e1768):_0x29cbda,_0x5effbf=_0x3a19f5[_0x30ed3d(0x1cc)]-0x1,_0x52119a;_0x5effbf>=0x0;_0x5effbf--)(_0x52119a=_0x3a19f5[_0x5effbf])&&(_0x4ea937=_0x52119a(_0x4ea937)||_0x4ea937);return _0x4ea937;},zt=(_0x324e92,_0x5e257c)=>(_0x34351f,_0x4d0806)=>_0x5e257c(_0x34351f,_0x4d0806,_0x324e92);const ls=_0x2d44ac(0x1c0),us=_0x2d44ac(0x11c);let Ct=class extends _0x50932a{constructor(_0x299981,_0x17f187){super(),this['_univerInstanceService']=_0x299981,this['_configService']=_0x17f187,this['_init']();}[_0x2d44ac(0x321)](){var _0x498d68=_0x2d44ac;this[_0x498d68(0x336)](this[_0x498d68(0x3f5)][_0x498d68(0x2e2)][_0x498d68(0x128)](()=>{var _0x2e053c=_0x498d68,_0x51955b;const _0x545e51=this[_0x2e053c(0x3f5)][_0x2e053c(0x21f)]();let _0x3846cc=(_0x51955b=this[_0x2e053c(0x375)][_0x2e053c(0x3fc)](ls))!=null?_0x51955b:us;_0x545e51 instanceof _0x433510&&(_0x3846cc=_0x545e51[_0x2e053c(0x1bc)]),document[_0x2e053c(0x2cb)]=_0x3846cc;}));}};Ct=_s([zt(0x0,_0x2e2ca3),zt(0x1,_0x462043)],Ct);var ds=Object['getOwnPropertyDescriptor'],fs=(_0x32a36c,_0x449dc5,_0x2c5cd7,_0x5ca3fe)=>{for(var _0x4eb45d=_0x5ca3fe>0x1?void 0x0:_0x5ca3fe?ds(_0x449dc5,_0x2c5cd7):_0x449dc5,_0xaee7bc=_0x32a36c['length']-0x1,_0x4f100d;_0xaee7bc>=0x0;_0xaee7bc--)(_0x4f100d=_0x32a36c[_0xaee7bc])&&(_0x4eb45d=_0x4f100d(_0x4eb45d)||_0x4eb45d);return _0x4eb45d;},vt=(_0x197c80,_0x302b90)=>(_0x1f9274,_0xa7ce3e)=>_0x302b90(_0x1f9274,_0xa7ce3e,_0x197c80);let rt=class{constructor(_0x55a6ae,_0x458cef,_0x696796){var _0x4b0df4=_0x2d44ac;this['_configService']=_0x55a6ae,this[_0x4b0df4(0x35c)]=_0x458cef,this[_0x4b0df4(0x129)]=_0x696796,this[_0x4b0df4(0x16b)]();}['init'](){var _0x23d78b=_0x2d44ac;this[_0x23d78b(0x35c)][_0x23d78b(0x206)]({'priority':0x1,'interceptor':(_0x1fc39e,_0x11fef3)=>_0x11fef3(_0x1fc39e)['pipe'](_0x4b76a7(async _0x139ee5=>{var _0x29d57a=_0x23d78b;const _0x34e927=_0x139ee5;if(_0x34e927[_0x29d57a(0x389)]===0x191){if(typeof window>'u')throw new Error(_0x29d57a(0x312));if(window[_0x29d57a(0x329)](this[_0x29d57a(0x129)]['t'](_0x29d57a(0x193)))){const _0x3b8983=window[_0x29d57a(0x3a2)](window['location'][_0x29d57a(0x14d)]);window['location'][_0x29d57a(0x14d)]=this[_0x29d57a(0x3ff)]()+_0x29d57a(0x2f5)+_0x3b8983;}}return _0x34e927;}))});}[_0x2d44ac(0x3ff)](){var _0x396183=_0x2d44ac,_0x26e75f,_0x553d5e;const _0x14d0fd=this[_0x396183(0x375)]['getConfig'](Un),_0x2f71fc=this[_0x396183(0x375)]['getConfig'](q);return(_0x553d5e=(_0x26e75f=_0x2f71fc==null?void 0x0:_0x2f71fc[_0x396183(0x281)])!=null?_0x26e75f:_0x14d0fd)!=null?_0x553d5e:An;}};rt=fs([vt(0x0,_0x462043),vt(0x1,_0x3a18e9(_0x477870)),vt(0x2,_0x3a18e9(_0x25b15a))],rt);var vs=Object[_0x2d44ac(0x2a3)],ps=(_0x5c19ed,_0x7437d8,_0x183234,_0x4c8150)=>{var _0x14d545=_0x2d44ac;for(var _0x5a84b0=_0x4c8150>0x1?void 0x0:_0x4c8150?vs(_0x7437d8,_0x183234):_0x7437d8,_0x51a68f=_0x5c19ed[_0x14d545(0x1cc)]-0x1,_0x24c298;_0x51a68f>=0x0;_0x51a68f--)(_0x24c298=_0x5c19ed[_0x51a68f])&&(_0x5a84b0=_0x24c298(_0x5a84b0)||_0x5a84b0);return _0x5a84b0;},Jt=(_0x33aee7,_0xbae78d)=>(_0x5cebee,_0x38dc9c)=>_0xbae78d(_0x5cebee,_0x38dc9c,_0x33aee7);const Ni='AUTHZ_URL_KEY',ms='/universer-api/authz';let Rt=class extends _0x50932a{constructor(_0x12963e,_0x528394){var _0x358f09=_0x2d44ac;super(),this[_0x358f09(0x292)]=_0x12963e,this[_0x358f09(0x375)]=_0x528394,this[_0x358f09(0x3a3)]();}[_0x2d44ac(0x3a3)](){var _0x1acc9e=_0x2d44ac;const _0x143c01=this;this['disposeWithMe'](this[_0x1acc9e(0x292)][_0x1acc9e(0x206)]({'priority':0x3e7,'interceptor':_0x8b4ced({'isMatch'(_0x1baa8b){var _0x56e83d=_0x1acc9e,_0x42fe24;if(_0x1baa8b[_0x56e83d(0x290)]===_0x56e83d(0x373)&&((_0x42fe24=_0x1baa8b['requestParams'])!=null&&_0x42fe24['body'])){const {objectID:_0x2c285c,objectType:_0x13983f}=_0x1baa8b[_0x56e83d(0x1a2)][_0x56e83d(0x302)]||{};if(!_0x2c285c||_0x13983f===void 0x0)return!0x1;const _0x4a5099=_0x143c01[_0x56e83d(0x14c)]()+'/'+_0x13983f+_0x56e83d(0x315)+_0x2c285c+_0x56e83d(0x32a);if(_0x1baa8b[_0x56e83d(0x33f)]===_0x4a5099)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x1b58e4){var _0x5b7c8a=_0x1acc9e,_0x5cfd95;return(_0x5cfd95=_0x1b58e4[_0x5b7c8a(0x1a2)])==null?void 0x0:_0x5cfd95[_0x5b7c8a(0x302)];},'mergeParamsToRequest'(_0x44e6ba,_0x43aabf){var _0x4bf8ed=_0x1acc9e;const _0x1b46a5=_0x143c01[_0x4bf8ed(0x14c)]()+_0x4bf8ed(0x2ae),_0x32f9ad=_0x44e6ba[_0x4bf8ed(0x11d)]((_0x38f265,_0x46146d)=>{var _0xceecd7=_0x4bf8ed;const {unitID:_0x1185cd,objectID:_0x1e4275,objectType:_0x3c1266,actions:_0x29a4eb}=_0x46146d;return _0x38f265[_0x1185cd]||(_0x38f265[_0x1185cd]={}),_0x38f265[_0x1185cd][_0x1e4275]||(_0x38f265[_0x1185cd][_0x1e4275]={'objectID':_0x1e4275,'objectType':_0x3c1266,'actions':[]}),_0x38f265[_0x1185cd][_0x1e4275][_0xceecd7(0x211)][_0xceecd7(0x2ad)](..._0x29a4eb),_0x38f265;},{}),_0x2436de=[];for(const _0x13446e in _0x32f9ad)for(const _0x16af40 in _0x32f9ad[_0x13446e]){const {actions:_0x4e3b2,objectType:_0x26788e}=_0x32f9ad[_0x13446e][_0x16af40],_0x290700=[...new Set(_0x4e3b2)];_0x2436de[_0x4bf8ed(0x2ad)]({'unitID':_0x13446e,'objectID':_0x16af40,'objectType':_0x26788e,'actions':_0x290700});}return new _0x5235ed(_0x4bf8ed(0x373),_0x1b46a5,{'headers':_0x43aabf[_0x4bf8ed(0x259)],'withCredentials':_0x43aabf[_0x4bf8ed(0x140)],'responseType':_0x43aabf[_0x4bf8ed(0x39b)],'body':{'requests':_0x2436de}});}},{'distributeResult'(_0xe707ea,_0x8d81f2){var _0x63c827=_0x1acc9e;const {objectActions:_0x1de3bf}=_0xe707ea;return _0x8d81f2[_0x63c827(0x1fa)](_0x49e469=>{var _0x19c162=_0x63c827;const {unitID:_0x1c1cc9,objectID:_0x42e0f6,actions:_0xded836}=_0x49e469,_0x12e31d=_0x1de3bf[_0x19c162(0x21a)](_0x36a3af=>_0x36a3af['unitID']===_0x1c1cc9&&_0x36a3af[_0x19c162(0x1a0)]===_0x42e0f6),_0x319240=_0xded836['map'](_0x167474=>_0x12e31d==null?void 0x0:_0x12e31d[_0x19c162(0x211)][_0x19c162(0x21a)](_0x57395d=>_0x57395d[_0x19c162(0x1d1)]===_0x167474))[_0x19c162(0x231)](_0x1d96c5=>!!_0x1d96c5);return{'config':_0x49e469,'result':{'actions':_0x319240,'error':_0xe707ea[_0x19c162(0x274)]}};});}})}));}['_getAPIPrefixPath'](){var _0x17e553=_0x2d44ac,_0x205f6f,_0x51d4d6;const _0x82a51b=this[_0x17e553(0x375)][_0x17e553(0x3fc)](Ni),_0x5cc552=this[_0x17e553(0x375)]['getConfig'](q);return(_0x51d4d6=(_0x205f6f=_0x5cc552==null?void 0x0:_0x5cc552[_0x17e553(0x244)])!=null?_0x205f6f:_0x82a51b)!=null?_0x51d4d6:ms;}async[_0x2d44ac(0x1aa)](_0x595407){var _0x28adc3=_0x2d44ac;const _0x100a8e=this[_0x28adc3(0x14c)]()+'/'+_0x595407[_0x28adc3(0x222)]+_0x28adc3(0x1d2);return(await this['_HTTPService'][_0x28adc3(0x3df)](_0x100a8e,{'body':_0x595407}))['body'][_0x28adc3(0x1a0)]||'';}async[_0x2d44ac(0x332)](_0x53a4c5){var _0x33d1dd=_0x2d44ac;const _0x285fd5=this[_0x33d1dd(0x14c)]()+_0x33d1dd(0x20f);return(await this[_0x33d1dd(0x292)][_0x33d1dd(0x3df)](_0x285fd5,{'body':_0x53a4c5}))[_0x33d1dd(0x302)][_0x33d1dd(0x1d4)];}async[_0x2d44ac(0x104)](_0x24848b){var _0x4249d1=_0x2d44ac,_0x905530,_0x360173;const _0xe1b45f=this[_0x4249d1(0x14c)]()+'/'+_0x24848b[_0x4249d1(0x222)]+_0x4249d1(0x315)+_0x24848b['objectID'],_0x3ea8ca=await this[_0x4249d1(0x292)][_0x4249d1(0x2b0)](_0xe1b45f,{'body':_0x24848b});if(((_0x360173=(_0x905530=_0x3ea8ca==null?void 0x0:_0x3ea8ca['body'])==null?void 0x0:_0x905530[_0x4249d1(0x274)])==null?void 0x0:_0x360173[_0x4249d1(0x1ae)])!==0x1)throw new Error('Failed\x20to\x20update\x20permission\x20point');}async[_0x2d44ac(0x35e)](_0x26a755){var _0x41fdce=_0x2d44ac;const _0x32f21a=this[_0x41fdce(0x14c)]()+'/'+_0x26a755['objectType']+_0x41fdce(0x315)+_0x26a755[_0x41fdce(0x1a0)]+_0x41fdce(0x32a);return(await this['_HTTPService'][_0x41fdce(0x3df)](_0x32f21a,{'body':_0x26a755}))[_0x41fdce(0x302)]['actions'];}async[_0x2d44ac(0x31f)](_0x575d78){var _0x540ddd=_0x2d44ac;const _0x547c3a=this[_0x540ddd(0x14c)]()+'/-/object/-/batch_allowed';return(await this[_0x540ddd(0x292)]['post'](_0x547c3a,{'body':{'requests':_0x575d78}}))['body']['objectActions'];}async[_0x2d44ac(0xfb)](_0x1744fd){var _0x28dccf=_0x2d44ac;const _0x4a1c47=this[_0x28dccf(0x14c)]()+'/'+_0x1744fd[_0x28dccf(0x222)]+'/role',_0x3785f7=await this[_0x28dccf(0x292)]['post'](_0x4a1c47,{'body':_0x1744fd});return{'roles':_0x3785f7[_0x28dccf(0x302)][_0x28dccf(0x342)],'actions':_0x3785f7[_0x28dccf(0x302)][_0x28dccf(0x211)]};}async[_0x2d44ac(0x2fb)](_0x3fcc91){var _0x110855=_0x2d44ac;const _0x4a42b7=this['_getAPIPrefixPath']()+_0x110855(0x305);await this['_HTTPService']['delete'](_0x4a42b7,{'params':{'collaboratorID':_0x3fcc91['collaboratorID'],'objectID':_0x3fcc91['objectID'],'unitID':_0x3fcc91['unitID']}});}async['updateCollaborator'](_0x3767ef){var _0x1e2cf3=_0x2d44ac;const _0x524203=this[_0x1e2cf3(0x14c)]()+_0x1e2cf3(0x305);await this['_HTTPService'][_0x1e2cf3(0x39f)](_0x524203,{'body':_0x3767ef});}async['createCollaborator'](_0x1450c3){var _0x447585=_0x2d44ac;const _0x2aee17=this['_getAPIPrefixPath']()+'/collaborator';await this['_HTTPService'][_0x447585(0x3df)](_0x2aee17,{'body':_0x1450c3});}async[_0x2d44ac(0x22a)](_0x29516c){var _0x665131=_0x2d44ac;const _0x3432ff=this[_0x665131(0x14c)]()+_0x665131(0x305);return(await this[_0x665131(0x292)][_0x665131(0x215)](_0x3432ff,{'params':{'objectID':_0x29516c[_0x665131(0x1a0)],'unitID':_0x29516c[_0x665131(0x1ff)]}}))[_0x665131(0x302)][_0x665131(0x24b)];}async[_0x2d44ac(0x132)](_0xf00088){var _0x492429=_0x2d44ac;const _0x12538f=this[_0x492429(0x14c)]()+'/collaborator';await this[_0x492429(0x292)][_0x492429(0x2b0)](_0x12538f,{'body':_0xf00088});}};Rt=ps([Jt(0x0,_0x3a18e9(_0x477870)),Jt(0x1,_0x3a18e9(_0x462043))],Rt);var pt=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function He(_0x2de046){var _0x34367c=_0x2d44ac;return _0x2de046&&_0x2de046[_0x34367c(0x195)]&&Object[_0x34367c(0x1a9)]['hasOwnProperty'][_0x34367c(0x2fa)](_0x2de046,_0x34367c(0x364))?_0x2de046[_0x34367c(0x364)]:_0x2de046;}var Ve={'exports':{}};function gs(_0x25f79a){var _0xe40686=_0x2d44ac;throw new Error(_0xe40686(0x144)+_0x25f79a+_0xe40686(0x200));}var Ge={'exports':{}},Ss=Ge['exports'],Xt;function ie(){return Xt||(Xt=0x1,function(_0x2fdce6,_0x56257c){(function(_0x2855fd,_0x474f89){var _0x107774=_0x39a9;_0x2fdce6[_0x107774(0x1ce)]=_0x474f89();}(Ss,function(){var _0x231d57=_0x231d57||function(_0x2d7441,_0xe5a5a3){var _0x4e7484=_0x39a9,_0x4755f;if(typeof window<'u'&&window['crypto']&&(_0x4755f=window[_0x4e7484(0x268)]),typeof self<'u'&&self[_0x4e7484(0x268)]&&(_0x4755f=self[_0x4e7484(0x268)]),typeof globalThis<'u'&&globalThis[_0x4e7484(0x268)]&&(_0x4755f=globalThis[_0x4e7484(0x268)]),!_0x4755f&&typeof window<'u'&&window['msCrypto']&&(_0x4755f=window['msCrypto']),!_0x4755f&&typeof pt<'u'&&pt[_0x4e7484(0x268)]&&(_0x4755f=pt['crypto']),!_0x4755f&&typeof gs=='function')try{_0x4755f=require(_0x4e7484(0x268));}catch{}var _0x19d82e=function(){var _0xe9fcd=_0x4e7484;if(_0x4755f){if(typeof _0x4755f[_0xe9fcd(0x3d1)]==_0xe9fcd(0xf5))try{return _0x4755f[_0xe9fcd(0x3d1)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x4755f[_0xe9fcd(0x348)]==_0xe9fcd(0xf5))try{return _0x4755f[_0xe9fcd(0x348)](0x4)[_0xe9fcd(0x25d)]();}catch{}}throw new Error(_0xe9fcd(0x35b));},_0x2e2a34=Object[_0x4e7484(0x1aa)]||(function(){function _0x1b8341(){}return function(_0x2e5e78){var _0xdb02b4=_0x39a9,_0x2358f4;return _0x1b8341[_0xdb02b4(0x1a9)]=_0x2e5e78,_0x2358f4=new _0x1b8341(),_0x1b8341[_0xdb02b4(0x1a9)]=null,_0x2358f4;};}()),_0x419f59={},_0x463a71=_0x419f59[_0x4e7484(0x150)]={},_0x2b544f=_0x463a71[_0x4e7484(0x184)]=(function(){return{'extend':function(_0x44dfcc){var _0x1f5885=_0x39a9,_0x336c0f=_0x2e2a34(this);return _0x44dfcc&&_0x336c0f['mixIn'](_0x44dfcc),(!_0x336c0f['hasOwnProperty'](_0x1f5885(0x16b))||this[_0x1f5885(0x16b)]===_0x336c0f[_0x1f5885(0x16b)])&&(_0x336c0f[_0x1f5885(0x16b)]=function(){var _0x4a60fe=_0x1f5885;_0x336c0f['$super'][_0x4a60fe(0x16b)][_0x4a60fe(0x1d7)](this,arguments);}),_0x336c0f[_0x1f5885(0x16b)][_0x1f5885(0x1a9)]=_0x336c0f,_0x336c0f[_0x1f5885(0x369)]=this,_0x336c0f;},'create':function(){var _0x440857=_0x39a9,_0x22bb51=this['extend']();return _0x22bb51[_0x440857(0x16b)][_0x440857(0x1d7)](_0x22bb51,arguments),_0x22bb51;},'init':function(){},'mixIn':function(_0x1d2f5a){var _0x46bca8=_0x39a9;for(var _0x29854b in _0x1d2f5a)_0x1d2f5a[_0x46bca8(0x169)](_0x29854b)&&(this[_0x29854b]=_0x1d2f5a[_0x29854b]);_0x1d2f5a[_0x46bca8(0x169)](_0x46bca8(0x24e))&&(this[_0x46bca8(0x24e)]=_0x1d2f5a[_0x46bca8(0x24e)]);},'clone':function(){var _0xc5f61d=_0x39a9;return this[_0xc5f61d(0x16b)]['prototype'][_0xc5f61d(0x30f)](this);}};}()),_0x451d8f=_0x463a71['WordArray']=_0x2b544f[_0x4e7484(0x30f)]({'init':function(_0x38552d,_0x503f21){var _0x58d92b=_0x4e7484;_0x38552d=this[_0x58d92b(0x1c1)]=_0x38552d||[],_0x503f21!=_0xe5a5a3?this[_0x58d92b(0x366)]=_0x503f21:this[_0x58d92b(0x366)]=_0x38552d[_0x58d92b(0x1cc)]*0x4;},'toString':function(_0x288293){var _0x2b00de=_0x4e7484;return(_0x288293||_0x258065)[_0x2b00de(0x2f2)](this);},'concat':function(_0x286d68){var _0x3f189c=_0x4e7484,_0x34ea22=this[_0x3f189c(0x1c1)],_0x3cf11c=_0x286d68[_0x3f189c(0x1c1)],_0x375231=this[_0x3f189c(0x366)],_0x107027=_0x286d68['sigBytes'];if(this[_0x3f189c(0x1f2)](),_0x375231%0x4)for(var _0x360418=0x0;_0x360418<_0x107027;_0x360418++){var _0x268a59=_0x3cf11c[_0x360418>>>0x2]>>>0x18-_0x360418%0x4*0x8&0xff;_0x34ea22[_0x375231+_0x360418>>>0x2]|=_0x268a59<<0x18-(_0x375231+_0x360418)%0x4*0x8;}else{for(var _0x16b717=0x0;_0x16b717<_0x107027;_0x16b717+=0x4)_0x34ea22[_0x375231+_0x16b717>>>0x2]=_0x3cf11c[_0x16b717>>>0x2];}return this[_0x3f189c(0x366)]+=_0x107027,this;},'clamp':function(){var _0x763378=_0x4e7484,_0x244c64=this[_0x763378(0x1c1)],_0x3ee0bb=this[_0x763378(0x366)];_0x244c64[_0x3ee0bb>>>0x2]&=0xffffffff<<0x20-_0x3ee0bb%0x4*0x8,_0x244c64[_0x763378(0x1cc)]=_0x2d7441[_0x763378(0x10b)](_0x3ee0bb/0x4);},'clone':function(){var _0x2b6c5e=_0x4e7484,_0x1d3a2d=_0x2b544f[_0x2b6c5e(0x2e9)][_0x2b6c5e(0x2fa)](this);return _0x1d3a2d[_0x2b6c5e(0x1c1)]=this['words'][_0x2b6c5e(0x2ab)](0x0),_0x1d3a2d;},'random':function(_0x410a4d){var _0x73727e=_0x4e7484;for(var _0xf7f2b8=[],_0x29e57b=0x0;_0x29e57b<_0x410a4d;_0x29e57b+=0x4)_0xf7f2b8[_0x73727e(0x2ad)](_0x19d82e());return new _0x451d8f['init'](_0xf7f2b8,_0x410a4d);}}),_0x37fc98=_0x419f59[_0x4e7484(0x2cc)]={},_0x258065=_0x37fc98[_0x4e7484(0x35a)]={'stringify':function(_0x1afb11){var _0x4dc1a3=_0x4e7484;for(var _0x6e6839=_0x1afb11[_0x4dc1a3(0x1c1)],_0x1460be=_0x1afb11[_0x4dc1a3(0x366)],_0x33fe27=[],_0x2b947c=0x0;_0x2b947c<_0x1460be;_0x2b947c++){var _0xa9c476=_0x6e6839[_0x2b947c>>>0x2]>>>0x18-_0x2b947c%0x4*0x8&0xff;_0x33fe27[_0x4dc1a3(0x2ad)]((_0xa9c476>>>0x4)[_0x4dc1a3(0x24e)](0x10)),_0x33fe27[_0x4dc1a3(0x2ad)]((_0xa9c476&0xf)[_0x4dc1a3(0x24e)](0x10));}return _0x33fe27[_0x4dc1a3(0x252)]('');},'parse':function(_0x4c9e42){var _0x519bc1=_0x4e7484;for(var _0x3a7657=_0x4c9e42['length'],_0x2adf64=[],_0x35ae64=0x0;_0x35ae64<_0x3a7657;_0x35ae64+=0x2)_0x2adf64[_0x35ae64>>>0x3]|=parseInt(_0x4c9e42[_0x519bc1(0x2ec)](_0x35ae64,0x2),0x10)<<0x18-_0x35ae64%0x8*0x4;return new _0x451d8f['init'](_0x2adf64,_0x3a7657/0x2);}},_0x26d651=_0x37fc98[_0x4e7484(0x34c)]={'stringify':function(_0x203c37){var _0x2ada58=_0x4e7484;for(var _0x428105=_0x203c37['words'],_0x4a49c7=_0x203c37['sigBytes'],_0x33249e=[],_0x5b9987=0x0;_0x5b9987<_0x4a49c7;_0x5b9987++){var _0x27107f=_0x428105[_0x5b9987>>>0x2]>>>0x18-_0x5b9987%0x4*0x8&0xff;_0x33249e[_0x2ada58(0x2ad)](String[_0x2ada58(0x1b4)](_0x27107f));}return _0x33249e['join']('');},'parse':function(_0x2e0d0d){var _0x2ed4f0=_0x4e7484;for(var _0x14447c=_0x2e0d0d['length'],_0xdf13ad=[],_0x3f7214=0x0;_0x3f7214<_0x14447c;_0x3f7214++)_0xdf13ad[_0x3f7214>>>0x2]|=(_0x2e0d0d['charCodeAt'](_0x3f7214)&0xff)<<0x18-_0x3f7214%0x4*0x8;return new _0x451d8f[(_0x2ed4f0(0x16b))](_0xdf13ad,_0x14447c);}},_0x35fce5=_0x37fc98[_0x4e7484(0x1d8)]={'stringify':function(_0x309f1f){var _0x14bddc=_0x4e7484;try{return decodeURIComponent(escape(_0x26d651[_0x14bddc(0x2f2)](_0x309f1f)));}catch{throw new Error(_0x14bddc(0x23b));}},'parse':function(_0x4ca61b){return _0x26d651['parse'](unescape(encodeURIComponent(_0x4ca61b)));}},_0x8aec87=_0x463a71[_0x4e7484(0x2d4)]=_0x2b544f['extend']({'reset':function(){var _0x217bd3=_0x4e7484;this[_0x217bd3(0x1a6)]=new _0x451d8f[(_0x217bd3(0x16b))](),this[_0x217bd3(0x388)]=0x0;},'_append':function(_0x1faeb2){var _0xef85b4=_0x4e7484;typeof _0x1faeb2==_0xef85b4(0x197)&&(_0x1faeb2=_0x35fce5[_0xef85b4(0x1af)](_0x1faeb2)),this[_0xef85b4(0x1a6)]['concat'](_0x1faeb2),this[_0xef85b4(0x388)]+=_0x1faeb2[_0xef85b4(0x366)];},'_process':function(_0x249ab3){var _0x2c88d5=_0x4e7484,_0x513187,_0x268158=this[_0x2c88d5(0x1a6)],_0x5396f4=_0x268158[_0x2c88d5(0x1c1)],_0x597159=_0x268158[_0x2c88d5(0x366)],_0x55ee26=this[_0x2c88d5(0x3cd)],_0x12129f=_0x55ee26*0x4,_0x300613=_0x597159/_0x12129f;_0x249ab3?_0x300613=_0x2d7441[_0x2c88d5(0x10b)](_0x300613):_0x300613=_0x2d7441[_0x2c88d5(0x121)]((_0x300613|0x0)-this['_minBufferSize'],0x0);var _0x286f0c=_0x300613*_0x55ee26,_0x2e392e=_0x2d7441[_0x2c88d5(0x2f0)](_0x286f0c*0x4,_0x597159);if(_0x286f0c){for(var _0x123d73=0x0;_0x123d73<_0x286f0c;_0x123d73+=_0x55ee26)this[_0x2c88d5(0x12e)](_0x5396f4,_0x123d73);_0x513187=_0x5396f4[_0x2c88d5(0x27a)](0x0,_0x286f0c),_0x268158[_0x2c88d5(0x366)]-=_0x2e392e;}return new _0x451d8f[(_0x2c88d5(0x16b))](_0x513187,_0x2e392e);},'clone':function(){var _0x4d8947=_0x4e7484,_0x3973a3=_0x2b544f[_0x4d8947(0x2e9)][_0x4d8947(0x2fa)](this);return _0x3973a3['_data']=this[_0x4d8947(0x1a6)][_0x4d8947(0x2e9)](),_0x3973a3;},'_minBufferSize':0x0});_0x463a71[_0x4e7484(0x13c)]=_0x8aec87[_0x4e7484(0x30f)]({'cfg':_0x2b544f[_0x4e7484(0x30f)](),'init':function(_0x1f437b){var _0x442e61=_0x4e7484;this[_0x442e61(0x12c)]=this['cfg']['extend'](_0x1f437b),this[_0x442e61(0x26a)]();},'reset':function(){var _0x2d0765=_0x4e7484;_0x8aec87[_0x2d0765(0x26a)]['call'](this),this[_0x2d0765(0x112)]();},'update':function(_0xe5b1ac){var _0x283f63=_0x4e7484;return this['_append'](_0xe5b1ac),this[_0x283f63(0x216)](),this;},'finalize':function(_0x43ac16){var _0x55da25=_0x4e7484;_0x43ac16&&this['_append'](_0x43ac16);var _0x598795=this[_0x55da25(0x2b9)]();return _0x598795;},'blockSize':0x10,'_createHelper':function(_0x276389){return function(_0x398149,_0x32ea62){var _0x6202e0=_0x39a9;return new _0x276389[(_0x6202e0(0x16b))](_0x32ea62)[_0x6202e0(0x3d7)](_0x398149);};},'_createHmacHelper':function(_0x48e74c){return function(_0x267960,_0x3ed782){var _0x42b3dc=_0x39a9;return new _0x5d5b03['HMAC'][(_0x42b3dc(0x16b))](_0x48e74c,_0x3ed782)['finalize'](_0x267960);};}});var _0x5d5b03=_0x419f59[_0x4e7484(0x1e3)]={};return _0x419f59;}(Math);return _0x231d57;}));}(Ge)),Ge['exports'];}var We={'exports':{}},Es=We[_0x2d44ac(0x1ce)],Zt;function Di(){var _0x2156e5=_0x2d44ac;return Zt||(Zt=0x1,function(_0x1e7ee9,_0x3752c6){(function(_0x1d4cde,_0x1cf622){var _0x26fd52=_0x39a9;_0x1e7ee9[_0x26fd52(0x1ce)]=_0x1cf622(ie());}(Es,function(_0x27c19b){var _0x27815d=_0x39a9;return(function(){var _0x18ad99=_0x39a9,_0x29d897=_0x27c19b,_0x5e612d=_0x29d897[_0x18ad99(0x150)],_0xc27576=_0x5e612d[_0x18ad99(0x357)],_0xf4e497=_0x29d897[_0x18ad99(0x2cc)];_0xf4e497[_0x18ad99(0x26c)]={'stringify':function(_0x3725cc){var _0x4948d7=_0x18ad99,_0x537e66=_0x3725cc[_0x4948d7(0x1c1)],_0x1ab0d1=_0x3725cc['sigBytes'],_0x110501=this['_map'];_0x3725cc['clamp']();for(var _0x15e75f=[],_0x5f1eec=0x0;_0x5f1eec<_0x1ab0d1;_0x5f1eec+=0x3)for(var _0x1b051b=_0x537e66[_0x5f1eec>>>0x2]>>>0x18-_0x5f1eec%0x4*0x8&0xff,_0x58ca26=_0x537e66[_0x5f1eec+0x1>>>0x2]>>>0x18-(_0x5f1eec+0x1)%0x4*0x8&0xff,_0x5e5c7f=_0x537e66[_0x5f1eec+0x2>>>0x2]>>>0x18-(_0x5f1eec+0x2)%0x4*0x8&0xff,_0x1c6c3e=_0x1b051b<<0x10|_0x58ca26<<0x8|_0x5e5c7f,_0xc75524=0x0;_0xc75524<0x4&&_0x5f1eec+_0xc75524*0.75<_0x1ab0d1;_0xc75524++)_0x15e75f['push'](_0x110501[_0x4948d7(0x1e7)](_0x1c6c3e>>>0x6*(0x3-_0xc75524)&0x3f));var _0xee387b=_0x110501[_0x4948d7(0x1e7)](0x40);if(_0xee387b){for(;_0x15e75f[_0x4948d7(0x1cc)]%0x4;)_0x15e75f[_0x4948d7(0x2ad)](_0xee387b);}return _0x15e75f[_0x4948d7(0x252)]('');},'parse':function(_0x1a7d7f){var _0x2fbb54=_0x18ad99,_0x14bd0d=_0x1a7d7f[_0x2fbb54(0x1cc)],_0x380d81=this['_map'],_0x1efc71=this['_reverseMap'];if(!_0x1efc71){_0x1efc71=this[_0x2fbb54(0x3c2)]=[];for(var _0x367f87=0x0;_0x367f87<_0x380d81[_0x2fbb54(0x1cc)];_0x367f87++)_0x1efc71[_0x380d81[_0x2fbb54(0x118)](_0x367f87)]=_0x367f87;}var _0x5426a2=_0x380d81[_0x2fbb54(0x1e7)](0x40);if(_0x5426a2){var _0x322043=_0x1a7d7f[_0x2fbb54(0x21e)](_0x5426a2);_0x322043!==-0x1&&(_0x14bd0d=_0x322043);}return _0x247b01(_0x1a7d7f,_0x14bd0d,_0x1efc71);},'_map':_0x18ad99(0x24f)};function _0x247b01(_0x162376,_0xba9b5d,_0x235371){var _0x472212=_0x18ad99;for(var _0x3d201a=[],_0x33a2c8=0x0,_0x233445=0x0;_0x233445<_0xba9b5d;_0x233445++)if(_0x233445%0x4){var _0x54faa5=_0x235371[_0x162376[_0x472212(0x118)](_0x233445-0x1)]<<_0x233445%0x4*0x2,_0xd6f3f5=_0x235371[_0x162376['charCodeAt'](_0x233445)]>>>0x6-_0x233445%0x4*0x2,_0x341a77=_0x54faa5|_0xd6f3f5;_0x3d201a[_0x33a2c8>>>0x2]|=_0x341a77<<0x18-_0x33a2c8%0x4*0x8,_0x33a2c8++;}return _0xc27576['create'](_0x3d201a,_0x33a2c8);}}()),_0x27c19b['enc'][_0x27815d(0x26c)];}));}(We)),We[_0x2156e5(0x1ce)];}var Ye={'exports':{}},Is=Ye[_0x2d44ac(0x1ce)],Qt;function Ts(){var _0x73080e=_0x2d44ac;return Qt||(Qt=0x1,function(_0x3957a5,_0xc5d058){(function(_0x19cf39,_0xca97ac){var _0x1722ae=_0x39a9;_0x3957a5[_0x1722ae(0x1ce)]=_0xca97ac(ie());}(Is,function(_0x1915ee){var _0x23e2e6=_0x39a9;return function(_0x5c21e0){var _0x128b03=_0x39a9,_0x2bdf87=_0x1915ee,_0x100968=_0x2bdf87[_0x128b03(0x150)],_0x5f3a05=_0x100968[_0x128b03(0x357)],_0x446d51=_0x100968['Hasher'],_0x815342=_0x2bdf87[_0x128b03(0x1e3)],_0x33cf7c=[];(function(){var _0x45d4e8=_0x128b03;for(var _0x200ba6=0x0;_0x200ba6<0x40;_0x200ba6++)_0x33cf7c[_0x200ba6]=_0x5c21e0[_0x45d4e8(0x16e)](_0x5c21e0[_0x45d4e8(0x176)](_0x200ba6+0x1))*0x100000000|0x0;}());var _0x39bf56=_0x815342[_0x128b03(0x272)]=_0x446d51[_0x128b03(0x30f)]({'_doReset':function(){var _0x184020=_0x128b03;this[_0x184020(0x34e)]=new _0x5f3a05[(_0x184020(0x16b))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0xfb601a,_0xf2ea57){var _0x13e599=_0x128b03;for(var _0xf6a58f=0x0;_0xf6a58f<0x10;_0xf6a58f++){var _0x5c7609=_0xf2ea57+_0xf6a58f,_0x181ec5=_0xfb601a[_0x5c7609];_0xfb601a[_0x5c7609]=(_0x181ec5<<0x8|_0x181ec5>>>0x18)&0xff00ff|(_0x181ec5<<0x18|_0x181ec5>>>0x8)&0xff00ff00;}var _0x1b355c=this['_hash'][_0x13e599(0x1c1)],_0x391f59=_0xfb601a[_0xf2ea57+0x0],_0x5113b5=_0xfb601a[_0xf2ea57+0x1],_0x225dd3=_0xfb601a[_0xf2ea57+0x2],_0x5efacd=_0xfb601a[_0xf2ea57+0x3],_0x358f76=_0xfb601a[_0xf2ea57+0x4],_0x3e27cc=_0xfb601a[_0xf2ea57+0x5],_0x32879f=_0xfb601a[_0xf2ea57+0x6],_0x483d83=_0xfb601a[_0xf2ea57+0x7],_0x310dea=_0xfb601a[_0xf2ea57+0x8],_0x370f3c=_0xfb601a[_0xf2ea57+0x9],_0x438f18=_0xfb601a[_0xf2ea57+0xa],_0x42630d=_0xfb601a[_0xf2ea57+0xb],_0x32385c=_0xfb601a[_0xf2ea57+0xc],_0x3d473b=_0xfb601a[_0xf2ea57+0xd],_0x4c45fd=_0xfb601a[_0xf2ea57+0xe],_0x15d827=_0xfb601a[_0xf2ea57+0xf],_0x150336=_0x1b355c[0x0],_0x21dcb5=_0x1b355c[0x1],_0x38ef0d=_0x1b355c[0x2],_0x2450ee=_0x1b355c[0x3];_0x150336=_0x5816aa(_0x150336,_0x21dcb5,_0x38ef0d,_0x2450ee,_0x391f59,0x7,_0x33cf7c[0x0]),_0x2450ee=_0x5816aa(_0x2450ee,_0x150336,_0x21dcb5,_0x38ef0d,_0x5113b5,0xc,_0x33cf7c[0x1]),_0x38ef0d=_0x5816aa(_0x38ef0d,_0x2450ee,_0x150336,_0x21dcb5,_0x225dd3,0x11,_0x33cf7c[0x2]),_0x21dcb5=_0x5816aa(_0x21dcb5,_0x38ef0d,_0x2450ee,_0x150336,_0x5efacd,0x16,_0x33cf7c[0x3]),_0x150336=_0x5816aa(_0x150336,_0x21dcb5,_0x38ef0d,_0x2450ee,_0x358f76,0x7,_0x33cf7c[0x4]),_0x2450ee=_0x5816aa(_0x2450ee,_0x150336,_0x21dcb5,_0x38ef0d,_0x3e27cc,0xc,_0x33cf7c[0x5]),_0x38ef0d=_0x5816aa(_0x38ef0d,_0x2450ee,_0x150336,_0x21dcb5,_0x32879f,0x11,_0x33cf7c[0x6]),_0x21dcb5=_0x5816aa(_0x21dcb5,_0x38ef0d,_0x2450ee,_0x150336,_0x483d83,0x16,_0x33cf7c[0x7]),_0x150336=_0x5816aa(_0x150336,_0x21dcb5,_0x38ef0d,_0x2450ee,_0x310dea,0x7,_0x33cf7c[0x8]),_0x2450ee=_0x5816aa(_0x2450ee,_0x150336,_0x21dcb5,_0x38ef0d,_0x370f3c,0xc,_0x33cf7c[0x9]),_0x38ef0d=_0x5816aa(_0x38ef0d,_0x2450ee,_0x150336,_0x21dcb5,_0x438f18,0x11,_0x33cf7c[0xa]),_0x21dcb5=_0x5816aa(_0x21dcb5,_0x38ef0d,_0x2450ee,_0x150336,_0x42630d,0x16,_0x33cf7c[0xb]),_0x150336=_0x5816aa(_0x150336,_0x21dcb5,_0x38ef0d,_0x2450ee,_0x32385c,0x7,_0x33cf7c[0xc]),_0x2450ee=_0x5816aa(_0x2450ee,_0x150336,_0x21dcb5,_0x38ef0d,_0x3d473b,0xc,_0x33cf7c[0xd]),_0x38ef0d=_0x5816aa(_0x38ef0d,_0x2450ee,_0x150336,_0x21dcb5,_0x4c45fd,0x11,_0x33cf7c[0xe]),_0x21dcb5=_0x5816aa(_0x21dcb5,_0x38ef0d,_0x2450ee,_0x150336,_0x15d827,0x16,_0x33cf7c[0xf]),_0x150336=_0x55eb24(_0x150336,_0x21dcb5,_0x38ef0d,_0x2450ee,_0x5113b5,0x5,_0x33cf7c[0x10]),_0x2450ee=_0x55eb24(_0x2450ee,_0x150336,_0x21dcb5,_0x38ef0d,_0x32879f,0x9,_0x33cf7c[0x11]),_0x38ef0d=_0x55eb24(_0x38ef0d,_0x2450ee,_0x150336,_0x21dcb5,_0x42630d,0xe,_0x33cf7c[0x12]),_0x21dcb5=_0x55eb24(_0x21dcb5,_0x38ef0d,_0x2450ee,_0x150336,_0x391f59,0x14,_0x33cf7c[0x13]),_0x150336=_0x55eb24(_0x150336,_0x21dcb5,_0x38ef0d,_0x2450ee,_0x3e27cc,0x5,_0x33cf7c[0x14]),_0x2450ee=_0x55eb24(_0x2450ee,_0x150336,_0x21dcb5,_0x38ef0d,_0x438f18,0x9,_0x33cf7c[0x15]),_0x38ef0d=_0x55eb24(_0x38ef0d,_0x2450ee,_0x150336,_0x21dcb5,_0x15d827,0xe,_0x33cf7c[0x16]),_0x21dcb5=_0x55eb24(_0x21dcb5,_0x38ef0d,_0x2450ee,_0x150336,_0x358f76,0x14,_0x33cf7c[0x17]),_0x150336=_0x55eb24(_0x150336,_0x21dcb5,_0x38ef0d,_0x2450ee,_0x370f3c,0x5,_0x33cf7c[0x18]),_0x2450ee=_0x55eb24(_0x2450ee,_0x150336,_0x21dcb5,_0x38ef0d,_0x4c45fd,0x9,_0x33cf7c[0x19]),_0x38ef0d=_0x55eb24(_0x38ef0d,_0x2450ee,_0x150336,_0x21dcb5,_0x5efacd,0xe,_0x33cf7c[0x1a]),_0x21dcb5=_0x55eb24(_0x21dcb5,_0x38ef0d,_0x2450ee,_0x150336,_0x310dea,0x14,_0x33cf7c[0x1b]),_0x150336=_0x55eb24(_0x150336,_0x21dcb5,_0x38ef0d,_0x2450ee,_0x3d473b,0x5,_0x33cf7c[0x1c]),_0x2450ee=_0x55eb24(_0x2450ee,_0x150336,_0x21dcb5,_0x38ef0d,_0x225dd3,0x9,_0x33cf7c[0x1d]),_0x38ef0d=_0x55eb24(_0x38ef0d,_0x2450ee,_0x150336,_0x21dcb5,_0x483d83,0xe,_0x33cf7c[0x1e]),_0x21dcb5=_0x55eb24(_0x21dcb5,_0x38ef0d,_0x2450ee,_0x150336,_0x32385c,0x14,_0x33cf7c[0x1f]),_0x150336=_0x15ab23(_0x150336,_0x21dcb5,_0x38ef0d,_0x2450ee,_0x3e27cc,0x4,_0x33cf7c[0x20]),_0x2450ee=_0x15ab23(_0x2450ee,_0x150336,_0x21dcb5,_0x38ef0d,_0x310dea,0xb,_0x33cf7c[0x21]),_0x38ef0d=_0x15ab23(_0x38ef0d,_0x2450ee,_0x150336,_0x21dcb5,_0x42630d,0x10,_0x33cf7c[0x22]),_0x21dcb5=_0x15ab23(_0x21dcb5,_0x38ef0d,_0x2450ee,_0x150336,_0x4c45fd,0x17,_0x33cf7c[0x23]),_0x150336=_0x15ab23(_0x150336,_0x21dcb5,_0x38ef0d,_0x2450ee,_0x5113b5,0x4,_0x33cf7c[0x24]),_0x2450ee=_0x15ab23(_0x2450ee,_0x150336,_0x21dcb5,_0x38ef0d,_0x358f76,0xb,_0x33cf7c[0x25]),_0x38ef0d=_0x15ab23(_0x38ef0d,_0x2450ee,_0x150336,_0x21dcb5,_0x483d83,0x10,_0x33cf7c[0x26]),_0x21dcb5=_0x15ab23(_0x21dcb5,_0x38ef0d,_0x2450ee,_0x150336,_0x438f18,0x17,_0x33cf7c[0x27]),_0x150336=_0x15ab23(_0x150336,_0x21dcb5,_0x38ef0d,_0x2450ee,_0x3d473b,0x4,_0x33cf7c[0x28]),_0x2450ee=_0x15ab23(_0x2450ee,_0x150336,_0x21dcb5,_0x38ef0d,_0x391f59,0xb,_0x33cf7c[0x29]),_0x38ef0d=_0x15ab23(_0x38ef0d,_0x2450ee,_0x150336,_0x21dcb5,_0x5efacd,0x10,_0x33cf7c[0x2a]),_0x21dcb5=_0x15ab23(_0x21dcb5,_0x38ef0d,_0x2450ee,_0x150336,_0x32879f,0x17,_0x33cf7c[0x2b]),_0x150336=_0x15ab23(_0x150336,_0x21dcb5,_0x38ef0d,_0x2450ee,_0x370f3c,0x4,_0x33cf7c[0x2c]),_0x2450ee=_0x15ab23(_0x2450ee,_0x150336,_0x21dcb5,_0x38ef0d,_0x32385c,0xb,_0x33cf7c[0x2d]),_0x38ef0d=_0x15ab23(_0x38ef0d,_0x2450ee,_0x150336,_0x21dcb5,_0x15d827,0x10,_0x33cf7c[0x2e]),_0x21dcb5=_0x15ab23(_0x21dcb5,_0x38ef0d,_0x2450ee,_0x150336,_0x225dd3,0x17,_0x33cf7c[0x2f]),_0x150336=_0x4f91a8(_0x150336,_0x21dcb5,_0x38ef0d,_0x2450ee,_0x391f59,0x6,_0x33cf7c[0x30]),_0x2450ee=_0x4f91a8(_0x2450ee,_0x150336,_0x21dcb5,_0x38ef0d,_0x483d83,0xa,_0x33cf7c[0x31]),_0x38ef0d=_0x4f91a8(_0x38ef0d,_0x2450ee,_0x150336,_0x21dcb5,_0x4c45fd,0xf,_0x33cf7c[0x32]),_0x21dcb5=_0x4f91a8(_0x21dcb5,_0x38ef0d,_0x2450ee,_0x150336,_0x3e27cc,0x15,_0x33cf7c[0x33]),_0x150336=_0x4f91a8(_0x150336,_0x21dcb5,_0x38ef0d,_0x2450ee,_0x32385c,0x6,_0x33cf7c[0x34]),_0x2450ee=_0x4f91a8(_0x2450ee,_0x150336,_0x21dcb5,_0x38ef0d,_0x5efacd,0xa,_0x33cf7c[0x35]),_0x38ef0d=_0x4f91a8(_0x38ef0d,_0x2450ee,_0x150336,_0x21dcb5,_0x438f18,0xf,_0x33cf7c[0x36]),_0x21dcb5=_0x4f91a8(_0x21dcb5,_0x38ef0d,_0x2450ee,_0x150336,_0x5113b5,0x15,_0x33cf7c[0x37]),_0x150336=_0x4f91a8(_0x150336,_0x21dcb5,_0x38ef0d,_0x2450ee,_0x310dea,0x6,_0x33cf7c[0x38]),_0x2450ee=_0x4f91a8(_0x2450ee,_0x150336,_0x21dcb5,_0x38ef0d,_0x15d827,0xa,_0x33cf7c[0x39]),_0x38ef0d=_0x4f91a8(_0x38ef0d,_0x2450ee,_0x150336,_0x21dcb5,_0x32879f,0xf,_0x33cf7c[0x3a]),_0x21dcb5=_0x4f91a8(_0x21dcb5,_0x38ef0d,_0x2450ee,_0x150336,_0x3d473b,0x15,_0x33cf7c[0x3b]),_0x150336=_0x4f91a8(_0x150336,_0x21dcb5,_0x38ef0d,_0x2450ee,_0x358f76,0x6,_0x33cf7c[0x3c]),_0x2450ee=_0x4f91a8(_0x2450ee,_0x150336,_0x21dcb5,_0x38ef0d,_0x42630d,0xa,_0x33cf7c[0x3d]),_0x38ef0d=_0x4f91a8(_0x38ef0d,_0x2450ee,_0x150336,_0x21dcb5,_0x225dd3,0xf,_0x33cf7c[0x3e]),_0x21dcb5=_0x4f91a8(_0x21dcb5,_0x38ef0d,_0x2450ee,_0x150336,_0x370f3c,0x15,_0x33cf7c[0x3f]),_0x1b355c[0x0]=_0x1b355c[0x0]+_0x150336|0x0,_0x1b355c[0x1]=_0x1b355c[0x1]+_0x21dcb5|0x0,_0x1b355c[0x2]=_0x1b355c[0x2]+_0x38ef0d|0x0,_0x1b355c[0x3]=_0x1b355c[0x3]+_0x2450ee|0x0;},'_doFinalize':function(){var _0x5e77a0=_0x128b03,_0x9a85bd=this[_0x5e77a0(0x1a6)],_0x55e96a=_0x9a85bd[_0x5e77a0(0x1c1)],_0x4ce9f1=this['_nDataBytes']*0x8,_0x203858=_0x9a85bd[_0x5e77a0(0x366)]*0x8;_0x55e96a[_0x203858>>>0x5]|=0x80<<0x18-_0x203858%0x20;var _0x283404=_0x5c21e0[_0x5e77a0(0x2e8)](_0x4ce9f1/0x100000000),_0x1f7b26=_0x4ce9f1;_0x55e96a[(_0x203858+0x40>>>0x9<<0x4)+0xf]=(_0x283404<<0x8|_0x283404>>>0x18)&0xff00ff|(_0x283404<<0x18|_0x283404>>>0x8)&0xff00ff00,_0x55e96a[(_0x203858+0x40>>>0x9<<0x4)+0xe]=(_0x1f7b26<<0x8|_0x1f7b26>>>0x18)&0xff00ff|(_0x1f7b26<<0x18|_0x1f7b26>>>0x8)&0xff00ff00,_0x9a85bd[_0x5e77a0(0x366)]=(_0x55e96a[_0x5e77a0(0x1cc)]+0x1)*0x4,this[_0x5e77a0(0x216)]();for(var _0x35f236=this['_hash'],_0x1ec512=_0x35f236[_0x5e77a0(0x1c1)],_0x426a92=0x0;_0x426a92<0x4;_0x426a92++){var _0x211c98=_0x1ec512[_0x426a92];_0x1ec512[_0x426a92]=(_0x211c98<<0x8|_0x211c98>>>0x18)&0xff00ff|(_0x211c98<<0x18|_0x211c98>>>0x8)&0xff00ff00;}return _0x35f236;},'clone':function(){var _0x2f6998=_0x128b03,_0x3658a7=_0x446d51[_0x2f6998(0x2e9)]['call'](this);return _0x3658a7[_0x2f6998(0x34e)]=this[_0x2f6998(0x34e)]['clone'](),_0x3658a7;}});function _0x5816aa(_0x415e4c,_0x495d49,_0x5c6788,_0x4b45bb,_0x49c670,_0x439633,_0x11043b){var _0x3fdf9a=_0x415e4c+(_0x495d49&_0x5c6788|~_0x495d49&_0x4b45bb)+_0x49c670+_0x11043b;return(_0x3fdf9a<<_0x439633|_0x3fdf9a>>>0x20-_0x439633)+_0x495d49;}function _0x55eb24(_0x25b31d,_0x327bdc,_0xcddc8e,_0x586122,_0xf37880,_0x558e5c,_0xbcad46){var _0x250b86=_0x25b31d+(_0x327bdc&_0x586122|_0xcddc8e&~_0x586122)+_0xf37880+_0xbcad46;return(_0x250b86<<_0x558e5c|_0x250b86>>>0x20-_0x558e5c)+_0x327bdc;}function _0x15ab23(_0xa32dd5,_0x48aaed,_0x2dfaf9,_0x193b92,_0x55dd82,_0x29fe6c,_0x531d43){var _0x216a75=_0xa32dd5+(_0x48aaed^_0x2dfaf9^_0x193b92)+_0x55dd82+_0x531d43;return(_0x216a75<<_0x29fe6c|_0x216a75>>>0x20-_0x29fe6c)+_0x48aaed;}function _0x4f91a8(_0x7129f1,_0x517e52,_0x6eb173,_0x5de188,_0x474c0e,_0x3a2623,_0x4d8975){var _0x2948a5=_0x7129f1+(_0x6eb173^(_0x517e52|~_0x5de188))+_0x474c0e+_0x4d8975;return(_0x2948a5<<_0x3a2623|_0x2948a5>>>0x20-_0x3a2623)+_0x517e52;}_0x2bdf87['MD5']=_0x446d51[_0x128b03(0x3b5)](_0x39bf56),_0x2bdf87[_0x128b03(0x273)]=_0x446d51['_createHmacHelper'](_0x39bf56);}(Math),_0x1915ee[_0x23e2e6(0x272)];}));}(Ye)),Ye[_0x73080e(0x1ce)];}var Ke={'exports':{}},qe={'exports':{}},Cs=qe['exports'],ei;function Rs(){var _0x3dad85=_0x2d44ac;return ei||(ei=0x1,function(_0x4fc37d,_0x4fd78f){(function(_0x236b33,_0xfd2b04){var _0x1df671=_0x39a9;_0x4fc37d[_0x1df671(0x1ce)]=_0xfd2b04(ie());}(Cs,function(_0x12c855){return(function(){var _0x202aac=_0x39a9,_0x35e2e6=_0x12c855,_0x322ea9=_0x35e2e6[_0x202aac(0x150)],_0x14018e=_0x322ea9[_0x202aac(0x357)],_0x4d9e03=_0x322ea9[_0x202aac(0x13c)],_0x50f687=_0x35e2e6[_0x202aac(0x1e3)],_0x3da21b=[],_0x3df4f6=_0x50f687[_0x202aac(0x277)]=_0x4d9e03['extend']({'_doReset':function(){this['_hash']=new _0x14018e['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x3f6964,_0x4cdbf8){var _0x114eb9=_0x202aac;for(var _0x215dfb=this[_0x114eb9(0x34e)][_0x114eb9(0x1c1)],_0x8f7a40=_0x215dfb[0x0],_0x3f77f2=_0x215dfb[0x1],_0x31d3bc=_0x215dfb[0x2],_0x191b91=_0x215dfb[0x3],_0xd2b463=_0x215dfb[0x4],_0x411c97=0x0;_0x411c97<0x50;_0x411c97++){if(_0x411c97<0x10)_0x3da21b[_0x411c97]=_0x3f6964[_0x4cdbf8+_0x411c97]|0x0;else{var _0x47374f=_0x3da21b[_0x411c97-0x3]^_0x3da21b[_0x411c97-0x8]^_0x3da21b[_0x411c97-0xe]^_0x3da21b[_0x411c97-0x10];_0x3da21b[_0x411c97]=_0x47374f<<0x1|_0x47374f>>>0x1f;}var _0xb38e3d=(_0x8f7a40<<0x5|_0x8f7a40>>>0x1b)+_0xd2b463+_0x3da21b[_0x411c97];_0x411c97<0x14?_0xb38e3d+=(_0x3f77f2&_0x31d3bc|~_0x3f77f2&_0x191b91)+0x5a827999:_0x411c97<0x28?_0xb38e3d+=(_0x3f77f2^_0x31d3bc^_0x191b91)+0x6ed9eba1:_0x411c97<0x3c?_0xb38e3d+=(_0x3f77f2&_0x31d3bc|_0x3f77f2&_0x191b91|_0x31d3bc&_0x191b91)-0x70e44324:_0xb38e3d+=(_0x3f77f2^_0x31d3bc^_0x191b91)-0x359d3e2a,_0xd2b463=_0x191b91,_0x191b91=_0x31d3bc,_0x31d3bc=_0x3f77f2<<0x1e|_0x3f77f2>>>0x2,_0x3f77f2=_0x8f7a40,_0x8f7a40=_0xb38e3d;}_0x215dfb[0x0]=_0x215dfb[0x0]+_0x8f7a40|0x0,_0x215dfb[0x1]=_0x215dfb[0x1]+_0x3f77f2|0x0,_0x215dfb[0x2]=_0x215dfb[0x2]+_0x31d3bc|0x0,_0x215dfb[0x3]=_0x215dfb[0x3]+_0x191b91|0x0,_0x215dfb[0x4]=_0x215dfb[0x4]+_0xd2b463|0x0;},'_doFinalize':function(){var _0x49a09c=_0x202aac,_0x562e8f=this['_data'],_0x4e717d=_0x562e8f['words'],_0x4fd9c6=this[_0x49a09c(0x388)]*0x8,_0x5c72fc=_0x562e8f[_0x49a09c(0x366)]*0x8;return _0x4e717d[_0x5c72fc>>>0x5]|=0x80<<0x18-_0x5c72fc%0x20,_0x4e717d[(_0x5c72fc+0x40>>>0x9<<0x4)+0xe]=Math[_0x49a09c(0x2e8)](_0x4fd9c6/0x100000000),_0x4e717d[(_0x5c72fc+0x40>>>0x9<<0x4)+0xf]=_0x4fd9c6,_0x562e8f[_0x49a09c(0x366)]=_0x4e717d[_0x49a09c(0x1cc)]*0x4,this[_0x49a09c(0x216)](),this[_0x49a09c(0x34e)];},'clone':function(){var _0x22a500=_0x202aac,_0x34d733=_0x4d9e03[_0x22a500(0x2e9)][_0x22a500(0x2fa)](this);return _0x34d733[_0x22a500(0x34e)]=this[_0x22a500(0x34e)]['clone'](),_0x34d733;}});_0x35e2e6[_0x202aac(0x277)]=_0x4d9e03['_createHelper'](_0x3df4f6),_0x35e2e6['HmacSHA1']=_0x4d9e03[_0x202aac(0x209)](_0x3df4f6);}()),_0x12c855['SHA1'];}));}(qe)),qe[_0x3dad85(0x1ce)];}var ze={'exports':{}},bs=ze['exports'],ti;function Os(){var _0x5770c6=_0x2d44ac;return ti||(ti=0x1,function(_0x46be58,_0x2b36c3){(function(_0x1d8152,_0x44a25f){var _0x20f276=_0x39a9;_0x46be58[_0x20f276(0x1ce)]=_0x44a25f(ie());}(bs,function(_0x5370a2){(function(){var _0x16c384=_0x39a9,_0xde3b5=_0x5370a2,_0x47ed7c=_0xde3b5['lib'],_0x1020f8=_0x47ed7c[_0x16c384(0x184)],_0x1fcddd=_0xde3b5[_0x16c384(0x2cc)],_0x3da8e3=_0x1fcddd[_0x16c384(0x1d8)],_0x253aa4=_0xde3b5[_0x16c384(0x1e3)];_0x253aa4[_0x16c384(0x323)]=_0x1020f8[_0x16c384(0x30f)]({'init':function(_0x29ccd9,_0x3cd0f3){var _0x3797e9=_0x16c384;_0x29ccd9=this[_0x3797e9(0x1ba)]=new _0x29ccd9[(_0x3797e9(0x16b))](),typeof _0x3cd0f3==_0x3797e9(0x197)&&(_0x3cd0f3=_0x3da8e3[_0x3797e9(0x1af)](_0x3cd0f3));var _0x426fc7=_0x29ccd9[_0x3797e9(0x3cd)],_0x4f0418=_0x426fc7*0x4;_0x3cd0f3['sigBytes']>_0x4f0418&&(_0x3cd0f3=_0x29ccd9[_0x3797e9(0x3d7)](_0x3cd0f3)),_0x3cd0f3[_0x3797e9(0x1f2)]();for(var _0x1909d7=this[_0x3797e9(0x2cf)]=_0x3cd0f3['clone'](),_0x1a7655=this[_0x3797e9(0x1d3)]=_0x3cd0f3[_0x3797e9(0x2e9)](),_0x564f34=_0x1909d7[_0x3797e9(0x1c1)],_0x5a276d=_0x1a7655[_0x3797e9(0x1c1)],_0x39160f=0x0;_0x39160f<_0x426fc7;_0x39160f++)_0x564f34[_0x39160f]^=0x5c5c5c5c,_0x5a276d[_0x39160f]^=0x36363636;_0x1909d7['sigBytes']=_0x1a7655[_0x3797e9(0x366)]=_0x4f0418,this['reset']();},'reset':function(){var _0x1433e1=_0x16c384,_0x2e5a7b=this['_hasher'];_0x2e5a7b[_0x1433e1(0x26a)](),_0x2e5a7b[_0x1433e1(0x104)](this[_0x1433e1(0x1d3)]);},'update':function(_0xfe4593){return this['_hasher']['update'](_0xfe4593),this;},'finalize':function(_0x464b55){var _0x3f5915=_0x16c384,_0x49a21e=this[_0x3f5915(0x1ba)],_0x2a311=_0x49a21e[_0x3f5915(0x3d7)](_0x464b55);_0x49a21e['reset']();var _0x4d2b0e=_0x49a21e[_0x3f5915(0x3d7)](this[_0x3f5915(0x2cf)][_0x3f5915(0x2e9)]()[_0x3f5915(0x21c)](_0x2a311));return _0x4d2b0e;}});}());}));}(ze)),ze[_0x5770c6(0x1ce)];}var ys=Ke[_0x2d44ac(0x1ce)],ii;function Ui(){return ii||(ii=0x1,function(_0x5036e6,_0x135d37){(function(_0x126c06,_0x438f62,_0x1bb1c5){var _0x365428=_0x39a9;_0x5036e6[_0x365428(0x1ce)]=_0x438f62(ie(),Rs(),Os());}(ys,function(_0x120e58){var _0x2f5568=_0x39a9;return(function(){var _0x2390fd=_0x39a9,_0x20ac7e=_0x120e58,_0x2f6b7a=_0x20ac7e['lib'],_0x19324c=_0x2f6b7a[_0x2390fd(0x184)],_0x146774=_0x2f6b7a[_0x2390fd(0x357)],_0x2b5c70=_0x20ac7e[_0x2390fd(0x1e3)],_0x349e4f=_0x2b5c70[_0x2390fd(0x272)],_0x39fbe8=_0x2b5c70['EvpKDF']=_0x19324c[_0x2390fd(0x30f)]({'cfg':_0x19324c['extend']({'keySize':0x80/0x20,'hasher':_0x349e4f,'iterations':0x1}),'init':function(_0x33d956){var _0x52ba02=_0x2390fd;this[_0x52ba02(0x12c)]=this[_0x52ba02(0x12c)][_0x52ba02(0x30f)](_0x33d956);},'compute':function(_0x8c3d61,_0x36826b){var _0x3b5997=_0x2390fd;for(var _0x4c5939,_0x975bba=this['cfg'],_0x103b2f=_0x975bba[_0x3b5997(0x25f)][_0x3b5997(0x1aa)](),_0xc6ea2f=_0x146774['create'](),_0x51ac1a=_0xc6ea2f[_0x3b5997(0x1c1)],_0xe4fa4d=_0x975bba[_0x3b5997(0x10f)],_0x103fa1=_0x975bba[_0x3b5997(0x29d)];_0x51ac1a['length']<_0xe4fa4d;){_0x4c5939&&_0x103b2f[_0x3b5997(0x104)](_0x4c5939),_0x4c5939=_0x103b2f[_0x3b5997(0x104)](_0x8c3d61)['finalize'](_0x36826b),_0x103b2f[_0x3b5997(0x26a)]();for(var _0x17b6aa=0x1;_0x17b6aa<_0x103fa1;_0x17b6aa++)_0x4c5939=_0x103b2f[_0x3b5997(0x3d7)](_0x4c5939),_0x103b2f['reset']();_0xc6ea2f[_0x3b5997(0x21c)](_0x4c5939);}return _0xc6ea2f[_0x3b5997(0x366)]=_0xe4fa4d*0x4,_0xc6ea2f;}});_0x20ac7e['EvpKDF']=function(_0x470023,_0x1091d8,_0x4f86cf){var _0x2b400c=_0x2390fd;return _0x39fbe8[_0x2b400c(0x1aa)](_0x4f86cf)['compute'](_0x470023,_0x1091d8);};}()),_0x120e58[_0x2f5568(0x224)];}));}(Ke)),Ke['exports'];}var Je={'exports':{}},Ns=Je['exports'],ni;function Ai(){var _0x2cb256=_0x2d44ac;return ni||(ni=0x1,function(_0x503b35,_0x42c999){(function(_0x4b8975,_0x39d366,_0x1589ce){var _0x425179=_0x39a9;_0x503b35[_0x425179(0x1ce)]=_0x39d366(ie(),Ui());}(Ns,function(_0x2864a7){var _0x2b634a=_0x39a9;_0x2864a7[_0x2b634a(0x150)][_0x2b634a(0x2a1)]||function(_0x11a8f0){var _0x383221=_0x2b634a,_0x53c96c=_0x2864a7,_0x49391a=_0x53c96c[_0x383221(0x150)],_0x24f432=_0x49391a['Base'],_0x4bf10a=_0x49391a['WordArray'],_0x3eeaa9=_0x49391a['BufferedBlockAlgorithm'],_0x35b259=_0x53c96c[_0x383221(0x2cc)];_0x35b259['Utf8'];var _0x55b418=_0x35b259[_0x383221(0x26c)],_0x34d4d6=_0x53c96c[_0x383221(0x1e3)],_0x14cc32=_0x34d4d6[_0x383221(0x224)],_0x5d9273=_0x49391a[_0x383221(0x2a1)]=_0x3eeaa9[_0x383221(0x30f)]({'cfg':_0x24f432[_0x383221(0x30f)](),'createEncryptor':function(_0x5b1097,_0x4b546d){var _0x8f9623=_0x383221;return this['create'](this[_0x8f9623(0x238)],_0x5b1097,_0x4b546d);},'createDecryptor':function(_0x3ae815,_0x25cdc5){var _0x13171d=_0x383221;return this['create'](this[_0x13171d(0x2e7)],_0x3ae815,_0x25cdc5);},'init':function(_0x18fc95,_0x5a0e99,_0x19d846){var _0xd42d1f=_0x383221;this[_0xd42d1f(0x12c)]=this[_0xd42d1f(0x12c)][_0xd42d1f(0x30f)](_0x19d846),this[_0xd42d1f(0x1e8)]=_0x18fc95,this['_key']=_0x5a0e99,this[_0xd42d1f(0x26a)]();},'reset':function(){var _0x377d37=_0x383221;_0x3eeaa9[_0x377d37(0x26a)][_0x377d37(0x2fa)](this),this[_0x377d37(0x112)]();},'process':function(_0x55ea81){var _0x4d588e=_0x383221;return this[_0x4d588e(0x2c3)](_0x55ea81),this[_0x4d588e(0x216)]();},'finalize':function(_0x5a5192){var _0x47cac8=_0x383221;_0x5a5192&&this[_0x47cac8(0x2c3)](_0x5a5192);var _0x2e0a3e=this[_0x47cac8(0x2b9)]();return _0x2e0a3e;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x189fd5(_0x46023b){var _0x293084=_0x39a9;return typeof _0x46023b==_0x293084(0x197)?_0x308690:_0x17e8bb;}return function(_0x508b65){return{'encrypt':function(_0x13dc66,_0x11e4df,_0x45f9a2){return _0x189fd5(_0x11e4df)['encrypt'](_0x508b65,_0x13dc66,_0x11e4df,_0x45f9a2);},'decrypt':function(_0x592cb8,_0x27e69e,_0x5a1b02){var _0x3b6a6b=_0x39a9;return _0x189fd5(_0x27e69e)[_0x3b6a6b(0xfa)](_0x508b65,_0x592cb8,_0x27e69e,_0x5a1b02);}};};}())});_0x49391a[_0x383221(0x3c7)]=_0x5d9273[_0x383221(0x30f)]({'_doFinalize':function(){var _0x50269d=this['_process'](!0x0);return _0x50269d;},'blockSize':0x1});var _0x49a616=_0x53c96c['mode']={},_0x110882=_0x49391a[_0x383221(0x218)]=_0x24f432[_0x383221(0x30f)]({'createEncryptor':function(_0x59c3ba,_0x5cd5de){var _0x5e427e=_0x383221;return this[_0x5e427e(0x2d6)]['create'](_0x59c3ba,_0x5cd5de);},'createDecryptor':function(_0x317783,_0x5a7bfc){var _0xf2e733=_0x383221;return this['Decryptor'][_0xf2e733(0x1aa)](_0x317783,_0x5a7bfc);},'init':function(_0x4e0596,_0x1a4776){var _0x35d539=_0x383221;this['_cipher']=_0x4e0596,this[_0x35d539(0x2c7)]=_0x1a4776;}}),_0x4c989e=_0x49a616[_0x383221(0x227)]=(function(){var _0x5ca59d=_0x383221,_0x43b166=_0x110882[_0x5ca59d(0x30f)]();_0x43b166[_0x5ca59d(0x2d6)]=_0x43b166[_0x5ca59d(0x30f)]({'processBlock':function(_0x21e213,_0xac064c){var _0x51c135=_0x5ca59d,_0x989c9a=this[_0x51c135(0x400)],_0x12d1c4=_0x989c9a[_0x51c135(0x3cd)];_0xfad47d['call'](this,_0x21e213,_0xac064c,_0x12d1c4),_0x989c9a['encryptBlock'](_0x21e213,_0xac064c),this[_0x51c135(0x1b0)]=_0x21e213['slice'](_0xac064c,_0xac064c+_0x12d1c4);}}),_0x43b166[_0x5ca59d(0x36d)]=_0x43b166['extend']({'processBlock':function(_0x5022d4,_0x58f6ca){var _0xc75139=_0x5ca59d,_0x58e418=this[_0xc75139(0x400)],_0x5c6ae7=_0x58e418[_0xc75139(0x3cd)],_0x321b0c=_0x5022d4['slice'](_0x58f6ca,_0x58f6ca+_0x5c6ae7);_0x58e418[_0xc75139(0x214)](_0x5022d4,_0x58f6ca),_0xfad47d[_0xc75139(0x2fa)](this,_0x5022d4,_0x58f6ca,_0x5c6ae7),this[_0xc75139(0x1b0)]=_0x321b0c;}});function _0xfad47d(_0x5c5619,_0x25abb9,_0x2082ea){var _0x3985b4=_0x5ca59d,_0x5b9aac,_0x28eee1=this[_0x3985b4(0x2c7)];_0x28eee1?(_0x5b9aac=_0x28eee1,this[_0x3985b4(0x2c7)]=_0x11a8f0):_0x5b9aac=this['_prevBlock'];for(var _0x56a87d=0x0;_0x56a87d<_0x2082ea;_0x56a87d++)_0x5c5619[_0x25abb9+_0x56a87d]^=_0x5b9aac[_0x56a87d];}return _0x43b166;}()),_0x2cecfa=_0x53c96c[_0x383221(0x2e6)]={},_0x311fbe=_0x2cecfa[_0x383221(0x168)]={'pad':function(_0x460cfc,_0x354a45){var _0xb66f32=_0x383221;for(var _0x515d75=_0x354a45*0x4,_0x2a0e26=_0x515d75-_0x460cfc['sigBytes']%_0x515d75,_0x35ac23=_0x2a0e26<<0x18|_0x2a0e26<<0x10|_0x2a0e26<<0x8|_0x2a0e26,_0x300a2d=[],_0x5a48c6=0x0;_0x5a48c6<_0x2a0e26;_0x5a48c6+=0x4)_0x300a2d[_0xb66f32(0x2ad)](_0x35ac23);var _0x42f41a=_0x4bf10a[_0xb66f32(0x1aa)](_0x300a2d,_0x2a0e26);_0x460cfc['concat'](_0x42f41a);},'unpad':function(_0x3e3924){var _0x204414=_0x383221,_0x5c9a70=_0x3e3924[_0x204414(0x1c1)][_0x3e3924[_0x204414(0x366)]-0x1>>>0x2]&0xff;_0x3e3924['sigBytes']-=_0x5c9a70;}};_0x49391a[_0x383221(0x1e0)]=_0x5d9273[_0x383221(0x30f)]({'cfg':_0x5d9273[_0x383221(0x12c)][_0x383221(0x30f)]({'mode':_0x4c989e,'padding':_0x311fbe}),'reset':function(){var _0x9f9a78=_0x383221,_0x57f6de;_0x5d9273[_0x9f9a78(0x26a)][_0x9f9a78(0x2fa)](this);var _0x2e1990=this['cfg'],_0x4a5a19=_0x2e1990['iv'],_0x3ab788=_0x2e1990[_0x9f9a78(0x106)];this['_xformMode']==this[_0x9f9a78(0x238)]?_0x57f6de=_0x3ab788[_0x9f9a78(0x3b6)]:(_0x57f6de=_0x3ab788[_0x9f9a78(0x148)],this[_0x9f9a78(0x3ae)]=0x1),this[_0x9f9a78(0x1de)]&&this[_0x9f9a78(0x1de)][_0x9f9a78(0x3f9)]==_0x57f6de?this[_0x9f9a78(0x1de)][_0x9f9a78(0x16b)](this,_0x4a5a19&&_0x4a5a19[_0x9f9a78(0x1c1)]):(this['_mode']=_0x57f6de[_0x9f9a78(0x2fa)](_0x3ab788,this,_0x4a5a19&&_0x4a5a19['words']),this[_0x9f9a78(0x1de)][_0x9f9a78(0x3f9)]=_0x57f6de);},'_doProcessBlock':function(_0x54c53f,_0x163430){var _0x20f2a3=_0x383221;this[_0x20f2a3(0x1de)][_0x20f2a3(0x32e)](_0x54c53f,_0x163430);},'_doFinalize':function(){var _0x5040e3=_0x383221,_0x237683,_0x1d330e=this['cfg']['padding'];return this['_xformMode']==this['_ENC_XFORM_MODE']?(_0x1d330e[_0x5040e3(0x2e6)](this[_0x5040e3(0x1a6)],this[_0x5040e3(0x3cd)]),_0x237683=this[_0x5040e3(0x216)](!0x0)):(_0x237683=this[_0x5040e3(0x216)](!0x0),_0x1d330e['unpad'](_0x237683)),_0x237683;},'blockSize':0x80/0x20});var _0x32aef4=_0x49391a[_0x383221(0x15a)]=_0x24f432[_0x383221(0x30f)]({'init':function(_0x47e977){var _0x4fb222=_0x383221;this[_0x4fb222(0x397)](_0x47e977);},'toString':function(_0x297d33){return(_0x297d33||this['formatter'])['stringify'](this);}}),_0x314628=_0x53c96c['format']={},_0x5dd66d=_0x314628[_0x383221(0x3be)]={'stringify':function(_0x3d16b1){var _0x158ddc=_0x383221,_0xcd78f0,_0x13fd31=_0x3d16b1['ciphertext'],_0x24535d=_0x3d16b1[_0x158ddc(0x34d)];return _0x24535d?_0xcd78f0=_0x4bf10a['create']([0x53616c74,0x65645f5f])['concat'](_0x24535d)[_0x158ddc(0x21c)](_0x13fd31):_0xcd78f0=_0x13fd31,_0xcd78f0[_0x158ddc(0x24e)](_0x55b418);},'parse':function(_0x3660bd){var _0xfba371=_0x383221,_0x2dee31,_0x12d59a=_0x55b418['parse'](_0x3660bd),_0x192b32=_0x12d59a[_0xfba371(0x1c1)];return _0x192b32[0x0]==0x53616c74&&_0x192b32[0x1]==0x65645f5f&&(_0x2dee31=_0x4bf10a[_0xfba371(0x1aa)](_0x192b32[_0xfba371(0x2ab)](0x2,0x4)),_0x192b32[_0xfba371(0x27a)](0x0,0x4),_0x12d59a[_0xfba371(0x366)]-=0x10),_0x32aef4['create']({'ciphertext':_0x12d59a,'salt':_0x2dee31});}},_0x17e8bb=_0x49391a[_0x383221(0x37f)]=_0x24f432[_0x383221(0x30f)]({'cfg':_0x24f432['extend']({'format':_0x5dd66d}),'encrypt':function(_0x16375c,_0x42fd54,_0x281745,_0xe5ee96){var _0x1384da=_0x383221;_0xe5ee96=this[_0x1384da(0x12c)][_0x1384da(0x30f)](_0xe5ee96);var _0x28d0b1=_0x16375c['createEncryptor'](_0x281745,_0xe5ee96),_0x3d2f56=_0x28d0b1[_0x1384da(0x3d7)](_0x42fd54),_0x492494=_0x28d0b1[_0x1384da(0x12c)];return _0x32aef4[_0x1384da(0x1aa)]({'ciphertext':_0x3d2f56,'key':_0x281745,'iv':_0x492494['iv'],'algorithm':_0x16375c,'mode':_0x492494[_0x1384da(0x106)],'padding':_0x492494['padding'],'blockSize':_0x16375c[_0x1384da(0x3cd)],'formatter':_0xe5ee96[_0x1384da(0x1b6)]});},'decrypt':function(_0x5646d1,_0xfef9c3,_0x2a54c5,_0x3c391d){var _0x181d88=_0x383221;_0x3c391d=this[_0x181d88(0x12c)]['extend'](_0x3c391d),_0xfef9c3=this['_parse'](_0xfef9c3,_0x3c391d[_0x181d88(0x1b6)]);var _0x6e609d=_0x5646d1['createDecryptor'](_0x2a54c5,_0x3c391d)[_0x181d88(0x3d7)](_0xfef9c3[_0x181d88(0x334)]);return _0x6e609d;},'_parse':function(_0xafd983,_0x23e4f7){var _0x3dce12=_0x383221;return typeof _0xafd983==_0x3dce12(0x197)?_0x23e4f7['parse'](_0xafd983,this):_0xafd983;}}),_0x2041b0=_0x53c96c[_0x383221(0x16f)]={},_0x124bd1=_0x2041b0[_0x383221(0x3be)]={'execute':function(_0x4ad5a1,_0x4de067,_0x953cd4,_0x4424fa,_0xf58ce7){var _0x274635=_0x383221;if(_0x4424fa||(_0x4424fa=_0x4bf10a[_0x274635(0x325)](0x40/0x8)),_0xf58ce7)var _0x5dc628=_0x14cc32[_0x274635(0x1aa)]({'keySize':_0x4de067+_0x953cd4,'hasher':_0xf58ce7})['compute'](_0x4ad5a1,_0x4424fa);else var _0x5dc628=_0x14cc32[_0x274635(0x1aa)]({'keySize':_0x4de067+_0x953cd4})[_0x274635(0x27f)](_0x4ad5a1,_0x4424fa);var _0x1224ae=_0x4bf10a[_0x274635(0x1aa)](_0x5dc628[_0x274635(0x1c1)]['slice'](_0x4de067),_0x953cd4*0x4);return _0x5dc628[_0x274635(0x366)]=_0x4de067*0x4,_0x32aef4[_0x274635(0x1aa)]({'key':_0x5dc628,'iv':_0x1224ae,'salt':_0x4424fa});}},_0x308690=_0x49391a[_0x383221(0x306)]=_0x17e8bb['extend']({'cfg':_0x17e8bb['cfg']['extend']({'kdf':_0x124bd1}),'encrypt':function(_0x2468b5,_0x2d16e3,_0x4ac934,_0x19e3cf){var _0x367984=_0x383221;_0x19e3cf=this['cfg'][_0x367984(0x30f)](_0x19e3cf);var _0x5824cb=_0x19e3cf['kdf'][_0x367984(0x14b)](_0x4ac934,_0x2468b5[_0x367984(0x10f)],_0x2468b5[_0x367984(0x3a5)],_0x19e3cf[_0x367984(0x34d)],_0x19e3cf[_0x367984(0x25f)]);_0x19e3cf['iv']=_0x5824cb['iv'];var _0x30ebec=_0x17e8bb[_0x367984(0x3ed)]['call'](this,_0x2468b5,_0x2d16e3,_0x5824cb[_0x367984(0x37e)],_0x19e3cf);return _0x30ebec[_0x367984(0x397)](_0x5824cb),_0x30ebec;},'decrypt':function(_0x1d4d20,_0xf536c3,_0xb0ebb0,_0x213102){var _0x43e6b2=_0x383221;_0x213102=this[_0x43e6b2(0x12c)][_0x43e6b2(0x30f)](_0x213102),_0xf536c3=this[_0x43e6b2(0x123)](_0xf536c3,_0x213102['format']);var _0x5e42b3=_0x213102['kdf']['execute'](_0xb0ebb0,_0x1d4d20[_0x43e6b2(0x10f)],_0x1d4d20[_0x43e6b2(0x3a5)],_0xf536c3[_0x43e6b2(0x34d)],_0x213102[_0x43e6b2(0x25f)]);_0x213102['iv']=_0x5e42b3['iv'];var _0x14f8a2=_0x17e8bb[_0x43e6b2(0xfa)][_0x43e6b2(0x2fa)](this,_0x1d4d20,_0xf536c3,_0x5e42b3[_0x43e6b2(0x37e)],_0x213102);return _0x14f8a2;}});}();}));}(Je)),Je[_0x2cb256(0x1ce)];}var Ds=Ve[_0x2d44ac(0x1ce)],si;function Us(){var _0x3de37e=_0x2d44ac;return si||(si=0x1,function(_0x5e5af0,_0x388bd7){(function(_0x9f7791,_0x2300d7,_0x37baee){var _0x482198=_0x39a9;_0x5e5af0[_0x482198(0x1ce)]=_0x2300d7(ie(),Di(),Ts(),Ui(),Ai());}(Ds,function(_0x56ae0d){var _0xbe79f8=_0x39a9;return(function(){var _0x535c84=_0x39a9,_0x29acee=_0x56ae0d,_0x152d61=_0x29acee[_0x535c84(0x150)],_0x2b2db4=_0x152d61[_0x535c84(0x1e0)],_0x3cd29c=_0x29acee[_0x535c84(0x1e3)],_0x3343be=[],_0x2342c5=[],_0xfff8a=[],_0x25d4ea=[],_0x3faf9c=[],_0x439e7b=[],_0x5505d2=[],_0x1bc599=[],_0x5dbe3f=[],_0x5347bc=[];(function(){for(var _0x570cfd=[],_0x44f3f9=0x0;_0x44f3f9<0x100;_0x44f3f9++)_0x44f3f9<0x80?_0x570cfd[_0x44f3f9]=_0x44f3f9<<0x1:_0x570cfd[_0x44f3f9]=_0x44f3f9<<0x1^0x11b;for(var _0x16e839=0x0,_0x23cc37=0x0,_0x44f3f9=0x0;_0x44f3f9<0x100;_0x44f3f9++){var _0x5bae27=_0x23cc37^_0x23cc37<<0x1^_0x23cc37<<0x2^_0x23cc37<<0x3^_0x23cc37<<0x4;_0x5bae27=_0x5bae27>>>0x8^_0x5bae27&0xff^0x63,_0x3343be[_0x16e839]=_0x5bae27,_0x2342c5[_0x5bae27]=_0x16e839;var _0x3221ae=_0x570cfd[_0x16e839],_0x3f5433=_0x570cfd[_0x3221ae],_0x45b316=_0x570cfd[_0x3f5433],_0x28f480=_0x570cfd[_0x5bae27]*0x101^_0x5bae27*0x1010100;_0xfff8a[_0x16e839]=_0x28f480<<0x18|_0x28f480>>>0x8,_0x25d4ea[_0x16e839]=_0x28f480<<0x10|_0x28f480>>>0x10,_0x3faf9c[_0x16e839]=_0x28f480<<0x8|_0x28f480>>>0x18,_0x439e7b[_0x16e839]=_0x28f480;var _0x28f480=_0x45b316*0x1010101^_0x3f5433*0x10001^_0x3221ae*0x101^_0x16e839*0x1010100;_0x5505d2[_0x5bae27]=_0x28f480<<0x18|_0x28f480>>>0x8,_0x1bc599[_0x5bae27]=_0x28f480<<0x10|_0x28f480>>>0x10,_0x5dbe3f[_0x5bae27]=_0x28f480<<0x8|_0x28f480>>>0x18,_0x5347bc[_0x5bae27]=_0x28f480,_0x16e839?(_0x16e839=_0x3221ae^_0x570cfd[_0x570cfd[_0x570cfd[_0x45b316^_0x3221ae]]],_0x23cc37^=_0x570cfd[_0x570cfd[_0x23cc37]]):_0x16e839=_0x23cc37=0x1;}}());var _0x52c7ba=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x30961c=_0x3cd29c[_0x535c84(0x182)]=_0x2b2db4[_0x535c84(0x30f)]({'_doReset':function(){var _0x4fc048=_0x535c84,_0x446d8a;if(!(this[_0x4fc048(0x266)]&&this[_0x4fc048(0x213)]===this[_0x4fc048(0x205)])){for(var _0x32ff24=this[_0x4fc048(0x213)]=this['_key'],_0x2e486e=_0x32ff24[_0x4fc048(0x1c1)],_0x461bf4=_0x32ff24['sigBytes']/0x4,_0x22bd8b=this['_nRounds']=_0x461bf4+0x6,_0x3113a6=(_0x22bd8b+0x1)*0x4,_0x3f6283=this[_0x4fc048(0x19c)]=[],_0x71c638=0x0;_0x71c638<_0x3113a6;_0x71c638++)_0x71c638<_0x461bf4?_0x3f6283[_0x71c638]=_0x2e486e[_0x71c638]:(_0x446d8a=_0x3f6283[_0x71c638-0x1],_0x71c638%_0x461bf4?_0x461bf4>0x6&&_0x71c638%_0x461bf4==0x4&&(_0x446d8a=_0x3343be[_0x446d8a>>>0x18]<<0x18|_0x3343be[_0x446d8a>>>0x10&0xff]<<0x10|_0x3343be[_0x446d8a>>>0x8&0xff]<<0x8|_0x3343be[_0x446d8a&0xff]):(_0x446d8a=_0x446d8a<<0x8|_0x446d8a>>>0x18,_0x446d8a=_0x3343be[_0x446d8a>>>0x18]<<0x18|_0x3343be[_0x446d8a>>>0x10&0xff]<<0x10|_0x3343be[_0x446d8a>>>0x8&0xff]<<0x8|_0x3343be[_0x446d8a&0xff],_0x446d8a^=_0x52c7ba[_0x71c638/_0x461bf4|0x0]<<0x18),_0x3f6283[_0x71c638]=_0x3f6283[_0x71c638-_0x461bf4]^_0x446d8a);for(var _0x15dec2=this[_0x4fc048(0x3e5)]=[],_0x2de7be=0x0;_0x2de7be<_0x3113a6;_0x2de7be++){var _0x71c638=_0x3113a6-_0x2de7be;if(_0x2de7be%0x4)var _0x446d8a=_0x3f6283[_0x71c638];else var _0x446d8a=_0x3f6283[_0x71c638-0x4];_0x2de7be<0x4||_0x71c638<=0x4?_0x15dec2[_0x2de7be]=_0x446d8a:_0x15dec2[_0x2de7be]=_0x5505d2[_0x3343be[_0x446d8a>>>0x18]]^_0x1bc599[_0x3343be[_0x446d8a>>>0x10&0xff]]^_0x5dbe3f[_0x3343be[_0x446d8a>>>0x8&0xff]]^_0x5347bc[_0x3343be[_0x446d8a&0xff]];}}},'encryptBlock':function(_0x18addb,_0x137581){var _0x2326ae=_0x535c84;this[_0x2326ae(0x3e2)](_0x18addb,_0x137581,this[_0x2326ae(0x19c)],_0xfff8a,_0x25d4ea,_0x3faf9c,_0x439e7b,_0x3343be);},'decryptBlock':function(_0x30d28f,_0x2fff6d){var _0x394d45=_0x535c84,_0xe837bb=_0x30d28f[_0x2fff6d+0x1];_0x30d28f[_0x2fff6d+0x1]=_0x30d28f[_0x2fff6d+0x3],_0x30d28f[_0x2fff6d+0x3]=_0xe837bb,this[_0x394d45(0x3e2)](_0x30d28f,_0x2fff6d,this['_invKeySchedule'],_0x5505d2,_0x1bc599,_0x5dbe3f,_0x5347bc,_0x2342c5);var _0xe837bb=_0x30d28f[_0x2fff6d+0x1];_0x30d28f[_0x2fff6d+0x1]=_0x30d28f[_0x2fff6d+0x3],_0x30d28f[_0x2fff6d+0x3]=_0xe837bb;},'_doCryptBlock':function(_0x3a520f,_0x6b8f61,_0x32c38f,_0x23750c,_0x7cba89,_0x357d0e,_0x47c440,_0x1a7537){var _0x1c2207=_0x535c84;for(var _0x5e97f4=this[_0x1c2207(0x266)],_0x2c6efa=_0x3a520f[_0x6b8f61]^_0x32c38f[0x0],_0x2913f5=_0x3a520f[_0x6b8f61+0x1]^_0x32c38f[0x1],_0x39acd6=_0x3a520f[_0x6b8f61+0x2]^_0x32c38f[0x2],_0x4ef6ff=_0x3a520f[_0x6b8f61+0x3]^_0x32c38f[0x3],_0x3a148c=0x4,_0x3be6aa=0x1;_0x3be6aa<_0x5e97f4;_0x3be6aa++){var _0x204b37=_0x23750c[_0x2c6efa>>>0x18]^_0x7cba89[_0x2913f5>>>0x10&0xff]^_0x357d0e[_0x39acd6>>>0x8&0xff]^_0x47c440[_0x4ef6ff&0xff]^_0x32c38f[_0x3a148c++],_0x1d28dd=_0x23750c[_0x2913f5>>>0x18]^_0x7cba89[_0x39acd6>>>0x10&0xff]^_0x357d0e[_0x4ef6ff>>>0x8&0xff]^_0x47c440[_0x2c6efa&0xff]^_0x32c38f[_0x3a148c++],_0x49e424=_0x23750c[_0x39acd6>>>0x18]^_0x7cba89[_0x4ef6ff>>>0x10&0xff]^_0x357d0e[_0x2c6efa>>>0x8&0xff]^_0x47c440[_0x2913f5&0xff]^_0x32c38f[_0x3a148c++],_0x10b895=_0x23750c[_0x4ef6ff>>>0x18]^_0x7cba89[_0x2c6efa>>>0x10&0xff]^_0x357d0e[_0x2913f5>>>0x8&0xff]^_0x47c440[_0x39acd6&0xff]^_0x32c38f[_0x3a148c++];_0x2c6efa=_0x204b37,_0x2913f5=_0x1d28dd,_0x39acd6=_0x49e424,_0x4ef6ff=_0x10b895;}var _0x204b37=(_0x1a7537[_0x2c6efa>>>0x18]<<0x18|_0x1a7537[_0x2913f5>>>0x10&0xff]<<0x10|_0x1a7537[_0x39acd6>>>0x8&0xff]<<0x8|_0x1a7537[_0x4ef6ff&0xff])^_0x32c38f[_0x3a148c++],_0x1d28dd=(_0x1a7537[_0x2913f5>>>0x18]<<0x18|_0x1a7537[_0x39acd6>>>0x10&0xff]<<0x10|_0x1a7537[_0x4ef6ff>>>0x8&0xff]<<0x8|_0x1a7537[_0x2c6efa&0xff])^_0x32c38f[_0x3a148c++],_0x49e424=(_0x1a7537[_0x39acd6>>>0x18]<<0x18|_0x1a7537[_0x4ef6ff>>>0x10&0xff]<<0x10|_0x1a7537[_0x2c6efa>>>0x8&0xff]<<0x8|_0x1a7537[_0x2913f5&0xff])^_0x32c38f[_0x3a148c++],_0x10b895=(_0x1a7537[_0x4ef6ff>>>0x18]<<0x18|_0x1a7537[_0x2c6efa>>>0x10&0xff]<<0x10|_0x1a7537[_0x2913f5>>>0x8&0xff]<<0x8|_0x1a7537[_0x39acd6&0xff])^_0x32c38f[_0x3a148c++];_0x3a520f[_0x6b8f61]=_0x204b37,_0x3a520f[_0x6b8f61+0x1]=_0x1d28dd,_0x3a520f[_0x6b8f61+0x2]=_0x49e424,_0x3a520f[_0x6b8f61+0x3]=_0x10b895;},'keySize':0x100/0x20});_0x29acee[_0x535c84(0x182)]=_0x2b2db4[_0x535c84(0x3b5)](_0x30961c);}()),_0x56ae0d[_0xbe79f8(0x182)];}));}(Ve)),Ve[_0x3de37e(0x1ce)];}var As=Us();const ws=He(As);var Ps=Di();const ri=He(Ps);var Xe={'exports':{}},Ls=Xe['exports'],ai;function Ms(){return ai||(ai=0x1,function(_0x122c3d,_0x3be8a2){(function(_0x262bfb,_0x212d2e){var _0x194407=_0x39a9;_0x122c3d[_0x194407(0x1ce)]=_0x212d2e(ie());}(Ls,function(_0x5651a6){var _0x33d708=_0x39a9;return _0x5651a6[_0x33d708(0x2cc)][_0x33d708(0x1d8)];}));}(Xe)),Xe['exports'];}var xs=Ms();const ks=He(xs);var Ze={'exports':{}},$s=Ze[_0x2d44ac(0x1ce)],oi;function Hs(){var _0x10f707=_0x2d44ac;return oi||(oi=0x1,function(_0x110430,_0x3dc5ad){(function(_0x59cc46,_0x2f96a2){var _0x2900f8=_0x39a9;_0x110430[_0x2900f8(0x1ce)]=_0x2f96a2(ie());}($s,function(_0x584f0f){var _0xc82670=_0x39a9;return(function(){var _0x112a21=_0x39a9;if(typeof ArrayBuffer==_0x112a21(0xf5)){var _0x241e49=_0x584f0f,_0x5a63c8=_0x241e49['lib'],_0x1df093=_0x5a63c8[_0x112a21(0x357)],_0x4dca42=_0x1df093['init'],_0x307d64=_0x1df093['init']=function(_0x32d88a){var _0x1ef24c=_0x112a21;if(_0x32d88a instanceof ArrayBuffer&&(_0x32d88a=new Uint8Array(_0x32d88a)),(_0x32d88a instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x32d88a instanceof Uint8ClampedArray||_0x32d88a instanceof Int16Array||_0x32d88a instanceof Uint16Array||_0x32d88a instanceof Int32Array||_0x32d88a instanceof Uint32Array||_0x32d88a instanceof Float32Array||_0x32d88a instanceof Float64Array)&&(_0x32d88a=new Uint8Array(_0x32d88a[_0x1ef24c(0x28f)],_0x32d88a[_0x1ef24c(0x361)],_0x32d88a[_0x1ef24c(0x33b)])),_0x32d88a instanceof Uint8Array){for(var _0x28cdb4=_0x32d88a['byteLength'],_0x1c3e81=[],_0x41de5e=0x0;_0x41de5e<_0x28cdb4;_0x41de5e++)_0x1c3e81[_0x41de5e>>>0x2]|=_0x32d88a[_0x41de5e]<<0x18-_0x41de5e%0x4*0x8;_0x4dca42['call'](this,_0x1c3e81,_0x28cdb4);}else _0x4dca42[_0x1ef24c(0x1d7)](this,arguments);};_0x307d64[_0x112a21(0x1a9)]=_0x1df093;}}()),_0x584f0f[_0xc82670(0x150)][_0xc82670(0x357)];}));}(Ze)),Ze[_0x10f707(0x1ce)];}var Bs=Hs();const js=He(Bs);var Qe={'exports':{}},Fs=Qe[_0x2d44ac(0x1ce)],ci;function Vs(){var _0x8724c=_0x2d44ac;return ci||(ci=0x1,function(_0x23eefe,_0x302209){(function(_0x2ee6fd,_0x28c612,_0x3a4a84){var _0x374270=_0x39a9;_0x23eefe[_0x374270(0x1ce)]=_0x28c612(ie(),Ai());}(Fs,function(_0x17fb1c){var _0x1e2e63=_0x39a9;return _0x17fb1c[_0x1e2e63(0x2e6)][_0x1e2e63(0x21b)]={'pad':function(){},'unpad':function(){}},_0x17fb1c[_0x1e2e63(0x2e6)]['NoPadding'];}));}(Qe)),Qe[_0x8724c(0x1ce)];}function _0x393f(){var _0x1c4747=['put','YUUMI_RATE_OVER_LIMIT','_shouldReportTelemetry','enableSingleActiveInstanceLock','LEAVE','univer-pro.collaboration-client-socket-service','_getCurrentRevision','save\x20fail\x20reason\x20is\x20','EMAIL_HAS_BEEN_BOUND','_doFinalize','_substituteRedoStack','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','3932420ggIEcW','defineProperty','_commandService','_collabSessionService','startTime','_members$','APPLY_REVISION_CONFILICT','_append','GLOBAL_ROOMS_CNT_EXCEEDS','awaitingChangeset','_userManagerService','_iv','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','JOIN','COMMENT_UPDATE','title','enc','image/jpg','_onConflict','_oKey','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','params','set','_createSocket','BufferedBlockAlgorithm','HEARTBEAT_TIMEOUT','Encryptor','/unit/','transformMutationsWithChangeset','SOCKET_FAILED','cmd','NOT_COLLAB','getValue','_fetchMissChangesets','FileId','_clearRedo','_joinRoom','_getUndoStack','focused$','workbook','_queuedRemoteChangesets','OFFLINE','pad','_DEC_XFORM_MODE','floor','clone','forEach','_undoRedoService','substr','_transformRemoteChangesetByIMECache','_changesetReqId','LIVESHARE_TERMINATE','min','asObservable','stringify','onTransformRemoteChangesetByIMECache','session.room-not-exists','?url=','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','/universer-api/oidc/authpage','LIVESHARE_OPERATION','deepClone','call','deleteCollaborator','_resendTimer','_onRecvEvent','_retryCount','event$','result','onMissedChangesetFetched','body','catch','_transformUndoredo','/collaborator','PasswordBasedCipher','APPLY_REJECT','INVALID_ARGUMENT','_localeService','status$','TOO_MANY_REQUESTS','error$','YUUMI_NO_CUBOID_FOR_QUESTION','LOGIN_FAILED','extend','LICENSE_MAX_UNITS_EXCEEDED','has','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','fetchThroughInterceptors','[CollaborationUndoRedoService]','/object/','_socket$','getRoom','delete','COLLAB_WEB_SOCKET_URL','includes','onTransformState','collaboration-client.config','resend','JOIN_ROOM_FULL','batchAllowed','HEARTBEAT_INTERVAL','_init','_snapshotServerService','HMAC','_state$','random','updatePermissionObjEvent','getUnitStatus$','toggleOnline','confirm','/allowed','entries','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','onlyLocal','processBlock','_initUnitPermissionChange','_collaborationPaused','unit-cache-','list','HttpExport','ciphertext','routeKey','disposeWithMe','_acknowledgedAwaitingChangeset','commentUpdateEvent','shouldCloseConn','from','byteLength','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','subject','isArray','url','unitId\x20is\x20not\x20found','INVITE_CODE_REQUIRED','roles','_replayCachedMutations','revision','_commentUpdate$','_socketReady','SOCKET_FAILED_RETRY','randomBytes','uniscriptRunEvent','CHANGESET_ACK','1697SRkZUB','Latin1','salt','_hash','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','OPTIONAL','_onUserLeave','_getSendChangesetTimeout','_waitForHeartbeatResponse','_eventService','synced','connection\x20error','WordArray','_schedule','startsWith','Hex','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','_httpService','loadOfflineData','allowed','_doCreateSocket','getInterceptPoints','byteOffset','_sendHeartbeatTimer','_getDownloadEndpointURL','default','resourceIDs','sigBytes','LIVESHARE_NEW_HOST','getUnitOnRev','$super','updateCursorEvent','APPLY_NON_SEQUENTIAL_REVISION','IDLE','Decryptor','_onLocalMutation','requireSession','state','onSyncEditingCollabCursor','_updateStatus','POST','_clearHeartbeatTimer','_configService','change$','UNDEFINED','_clearCollaborationTimeoutTimer','sid','MSG_FOR_ERROR','getTime','toLowerCase','getCurrentUser','key','SerializableCipher','_transformService','NEW_CHANGESETS','_lockTransition','_instanceService','_getSignURL','SNAPSHOT_INVALID_SNAPSHOT','ERROR_EXCEED_SIZE','fetching\x20missing\x20changesets\x20from\x20','_nDataBytes','status','_loadSheet','collaboration_new_changeset','conflict','reject','LOCAL_CACHE_INTERVAL','onStarting','YUUMI_ALL_TABLES_IS_INVALID','getAllMembers','RECV','_clearRetryConnectingTimer','/universer-api/authz','userID','HELLO','mixIn','replace','editingUnit','UNIVER_SHEET','responseType','FETCH_MISSING','_config','reqId','patch','UNIVER_SLIDE','entityInit$','encodeURIComponent','_initMergeInterceptor','setShowComponents','ivSize','getMember','close','BASE64','_updateLocalCache','socketService','_registerDependencies','COMPRESS_MUTATION_SEND','[CollaborationState]:\x20apply\x20error!','_minBufferSize','awaiting','_undoStacks','_updateState','_scheduleCompleteTimestamp','CONFLICT','clear','_createHelper','createEncryptor','onTransformIME','_onUserJoin','_retryConnectingTimer','[DataLoaderService]','_onRemoteChangeset','[OfflineState]:\x20received\x20changeset.','findIndex','OpenSSL','_event$','_startTelemetryCollaborationNewChangeset','c2Prime','_reverseMap','_onConnectionFailed','2451740oDaAQD','symbol','memberID','StreamCipher','session','collaMsg','csShouldRetryEvent','UPDATE_PERMISSION_OBJ','_clearUndo','blockSize','_roomCreated$','size','_initRequestHeader','getRandomValues','_injector','_status$','\x20in\x20_schedule.','&source=','MOBILE_HAS_BEEN_BOUND','finalize','JOIN_ROOM_PERMISSION_DENIED','liveShareNewHost','_pendingMutations','fetch_missing','_remoteChangesetQueue','_onFetchMissResult','infoRsp','post','\x20to\x20','encode','_doCryptBlock','unknown','_permissionService','_invKeySchedule','_replaceFileID','_loadDoc','_collaborationSessionService','isPermissionRej','_rescheduleHeartbeat','JOIN_ROOM_FAILED','CLOSE_ROOM','encrypt','INTERNAL_ERROR','_transformStack','removeMember','_transformStateCache','_telemetryService','/universer-api/uniscript','_tryEnsureSocket','_univerInstanceService','&assign=','eventID','UNIVER_DOC','__creator','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','localCacheService','getConfig','_tryReconnect','_emitMembers','_getLoginPath','_cipher','USERS_ENTER','?size=','_collaborationUIEventService','function','\x0aCurrent:\x20','onCommandExecuted','state$','values','decrypt','listRoles','updateMember','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','17143170FgBdAv','_memberService','/universer-api/comb','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','origin','_entityInit$','update','_listenToNetworkCondition','mode','INGEST','5403958KxrzPl','updatePermissionPoint','/fetchmissing?from=','ceil','socket\x20open.','_throwTelemetryCollaborationNewChangeset','toggleOffline','keySize','online$','session.join-failed','_doReset','emitEvent','_collaborationTimeoutTimer','dispose$','_resendTimeout','awaiting_with_pending','charCodeAt','_transformRemoteChangesetByStateCache','session.room-full','src','Univer','reduce','pipe','OTHER_CLIENT_EDITING','_candidateSocket','max','_changesetSessionId','_parse','_onJoinRoomEvent','sessionStatus','_transformIMECache','add','subscribe','localeService','downloadEndpointUrl','_startCollaboration','cfg','_telemetryInfo','_doProcessBlock','_snapshotService','getImage','_unlockTransition','putCollaborators','_members','HEARTBEAT','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','56eeiPBi','_imageSourceCache','range','failed\x20to\x20apply\x20missed\x20changesets!','reconnect','signUrlServerUrl','Hasher','_onRemoteRejected','_submitChangeset','PENDING','withCredentials','dispose','saveSnapshot','_decreaseWaiting','Could\x20not\x20dynamically\x20require\x20\x22','_localCacheService','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','APPLY_PERMISSION_DENIED','createDecryptor','_getCtorByUniverType','[CollaborationSessionService]','execute','_getAPIPrefixPath','href','getTypeOfUnitDisposed$','liveShareOperation','lib','ERROR_IMAGE','_clearTimeoutTimer','unitId','_roomMembers','SYNCED','_checkMissing','YUUMI_URL_COL_OUT_OF_RANGE','subUnitId','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','CipherParams','onTransformRemoteChangesetByStateCache','[CollaborationSession]','UNAUTHENTICATED','copyFileMeta','_exhaustRemoteChangesetQueue','roomInfos','now','YUUMI_SUBSCRIPTION_NOT_FOUND','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','ENSURE_SNAPSHOT_EXECUTION','updateOfflineData','YUUMI_ASYNCIO_CANCELLED','message$','Pkcs7','hasOwnProperty','_singleActiveUnitService','init','_scheduleCollaborationTimeoutTimer','transformUndoRedo','abs','kdf','_onCombEvent','/universer-api/snapshot/','complete','getWorkbookSelections','_awaitingChangeset','SHOULD_CLOSE_CONN','sin','ONLINE','_onRemoteACK','_sessionStatus$','_clearScheduledTask','_socketService','COMPLETION_FINISHED','MUTATION','37935Cqyoum','INVITE_CODE_HAS_BEEN_UES','setCurrentUser','_initDependencies','AES','duration','Base','PERSON','17343160JNLCOe','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','getCollabEntity$','loadUnit','appendMutation','ALREADY_EXISTS','resolve','pending','data','JOINING','loadSheet','UUID','getMemberID','auth.needGotoLoginAlert','_clearLocalCache','__esModule','members','string','session.room-cnt-exceeds','_transformSelections','_disableEditing','6WvwDQM','_keySchedule','getSnapshotAPIPath','JOIN_ROOM_NOT_EXISTS','HttpImport','objectID','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','requestParams','LICENSE_EXPORT_SIZE_EXCEEDED','PERMISSION_REJ','People','_data','PSEUDO_FETCH_MISSING_RESULT','csAckEvent','prototype','create','SUBMIT_CHANGESET','fromCollab','_resendWithTimeout','code','parse','_prevBlock','executeCommand','fetchMissingChangesets','image/bmp','fromCharCode','[FetchMissState]','format','FAIL','_showConflictNotification','univer-pro.collaboration-client.single-active-unit-service','_hasher','_applyRemoteChangeset','name','CHANGESET_SHOULD_RETRY','EXCHANGE_SIGN_URL_SERVER_URL_KEY','_sendHeartbeat','DEFAULT_FILE_NAME','words','UNRECOGNIZED','UNISCRIPT_RUN','textRanges','originalMeta','getActiveSheet','_sender','mutations','494YnhsJU','loadDoc','/universer-api/file/{fileID}/sign-url','length','_onMessage','exports','_sessions','Random\x20bytes\x20length\x20must\x20be\x20>=\x2016','action','/object','_iKey','objects','_logService','_initCloseConn','apply','Utf8','onMissingChangesets','incrementRevOfUnit','hostname','[CollaborationEntity]','_toggleOnline','_mode','_entities','BlockCipher','getCurrentRevOfUnit','COMPRESS_MUTATION_APPLY','algo','image/png','YUUMI_TABLE_NOT_FOUND_IN_UNIT','_onOffline','charAt','_xformMode','/resources','getResourcesRequest','selections','getLatestCsReqIdBySid','_unitInfo$','/block/','onRemoteChangeset','UPDATE_CURSOR','uploadFileServerUrl','clamp','onTransformSelections','_getUploadFileURL','send','onRemoteRej','retryConnectingInterval','_createInitialStateImpl','getUnitType','map','readyForCollab','onRemoteAck','/new_changes','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','unitID','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','_handlerCallback','UserProfileImg','stopTime','_substituteUndoStack','_key','registerHTTPInterceptor','_getAPIPrefix','_isPermissionRej','_createHmacHelper','APPLY_DUPLICATED','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','unsubscribe','setConfig','getCurrentSelections','/-/object/list','equals','actions','addHandlerCallback','_keyPriorReset','decryptBlock','get','_process','[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.','BlockCipherMode','_handler','find','NoPadding','concat','_state','indexOf','getFocusedUnit','addImageSourceCache','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','objectType','fetchMiss','EvpKDF','changesets','_getRedoStack','CBC','_compressMutationService','SNAPSHOT_URL_KEY','listCollaborators','generateRandomId','ws://127.0.0.1:8000/universer-api/comb/connect','NOT_FOUND','createInstance','UnitSnapshot','PERMISSION_DENIED','filter','[PendingState]:\x20received\x20rejection.','onSendChangeset','OTHER_CLIENTS_EDITING','transformChangesets','joinRsp','UnitEmbedded','_ENC_XFORM_MODE','LICENSE_DISTRO_REJECTED','type','Malformed\x20UTF-8\x20data','open$','FETCH_MISS','enableAuthServer','image/jpeg','LIVESHARE_FETCH_OPERATIONS','_commentService','UNIVER_COLLABORATION_CLIENT_PLUGIN','c1Prime','authzUrl','univer-pro.collaboration-client.network-condition.service','onLocalMutation','readAsDataURL','CHANGESET_REJ','RETRY_CONNECTING_MAX_COUNT','UNKNOWN_CMD','collaborators','collabSubmitChangesetUrl','[SyncedState]:\x20received\x20rejection.','toString','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','sessionStatus$','baseRev','join','createSocket','_sheetTransformSelectionsService','getUnit','_unitID','[UniverCollaborationClientPlugin]','randomUUID','headers','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','members$','_socket','readInt32LE','USERS_LEAVE','hasher','closeSession','snapshotServerUrl','12Bjnlis','_transitionLocked','setWaitCount','interceptor','_nRounds','avatar','crypto','__Key__','reset','WECHAT_HAS_BEEN_BOUND','Base64','then','next','image/gif','NO_OTHER_CLIENTS_EDITING','rng','MD5','HmacMD5','error','repeat','_timeoutTimer','SHA1','UNKNOWN_CODE','_stopTelemetryCollaborationNewChangeset','splice','_socketMessageSubscription','_executeRemoteChangeset','getCollabEntity','onRemoteRetry','compute','[CollaborationSessionService]:\x20socket\x20error','loginUrlKey','_waitCount','getTypeOfUnitAdded$','commentUpdate$','Undefined','_createHandler','file','_change$','/rev/','socket\x20close','capture','_type','_sendingTimer','_syncEditingCollabCursor','buffer','method','&to=','_HTTPService','YUUMI_UNABLE_LOAD_URL','SUBMIT_CHANGESET_TIMEOUT','getSheetBlock','LOGIN_URL_KEY','onCommentUpdate','USER_NOT_INVITED_CODE','[OfflineState]:\x20received\x20acknowledgement.','AWAITING','{fileID}','getUnitId','iterations','m2Prime','_revisionService','CONNECTOR_DATA_TOO_LARGE','Cipher','debug','getOwnPropertyDescriptor','_incrementRevisionNumber','newCsEvent','waitForRoom$','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','unitInfo$','slice','LICENSE_IMPORT_SIZE_EXCEEDED','push','/-/object/-/batch_allowed','_toggleOffline'];_0x393f=function(){return _0x1c4747;};return _0x393f();}var Gs=Vs();const Ws=He(Gs);function Ys(_0xa71245,_0x2258d3){var _0x556d47=_0x2d44ac;const _0x359fc9=_0x2258d3-_0xa71245[_0x556d47(0x1cc)]%_0x2258d3,_0x5eb8e9=String[_0x556d47(0x1b4)](_0x359fc9)[_0x556d47(0x275)](_0x359fc9);return _0xa71245+_0x5eb8e9;}function Ks(_0x16f6bc,_0x13c7b6){var _0x3fb3fc=_0x2d44ac;const _0x52ac84=js['random'](0x10),_0x4f290c=Ys(_0x16f6bc,0x10),_0xf226be=ws[_0x3fb3fc(0x3ed)](ks[_0x3fb3fc(0x1af)](_0x4f290c),ri[_0x3fb3fc(0x1af)](_0x13c7b6),{'iv':_0x52ac84,'padding':Ws});return _0x52ac84[_0x3fb3fc(0x21c)](_0xf226be[_0x3fb3fc(0x334)])['toString'](ri);}function qs(){var _0x414b77=_0x2d44ac;const _0x2c69ab=_0x4b29a2()[_0x414b77(0x269)];if(_0x2c69ab){const _0x4935b5={'time':Math[_0x414b77(0x2e8)](Date[_0x414b77(0x161)]()/0x3e8),'domain':location[_0x414b77(0x1db)]};return Ks(JSON['stringify'](_0x4935b5),_0x2c69ab);}}var zs=Object['getOwnPropertyDescriptor'],Js=(_0x393bde,_0x66c3e1,_0x54b7d2,_0x54403c)=>{var _0x2185e8=_0x2d44ac;for(var _0x3d70c8=_0x54403c>0x1?void 0x0:_0x54403c?zs(_0x66c3e1,_0x54b7d2):_0x66c3e1,_0x3d5957=_0x393bde[_0x2185e8(0x1cc)]-0x1,_0x5cf565;_0x3d5957>=0x0;_0x3d5957--)(_0x5cf565=_0x393bde[_0x3d5957])&&(_0x3d70c8=_0x5cf565(_0x3d70c8)||_0x3d70c8);return _0x3d70c8;},Xs=(_0x1d66dc,_0x1bafb1)=>(_0x310696,_0x41faa4)=>_0x1bafb1(_0x310696,_0x41faa4,_0x1d66dc);let at=class{constructor(_0x469fe1){var _0x2942e2=_0x2d44ac;this[_0x2942e2(0x35c)]=_0x469fe1,this[_0x2942e2(0x3d0)]();}[_0x2d44ac(0x3d0)](){var _0x192be8=_0x2d44ac;this[_0x192be8(0x35c)][_0x192be8(0x206)]({'interceptor':(_0x8d5ffa,_0x4d35dd)=>{var _0x3f771f=_0x192be8;const _0x34f7e3=_0x8d5ffa[_0x3f771f(0x259)],_0x2a377e=qs();return _0x2a377e&&_0x34f7e3[_0x3f771f(0x2d2)]('x-univer-host',_0x2a377e),_0x4d35dd(_0x8d5ffa);}});}};at=Js([Xs(0x0,_0x3a18e9(_0x477870))],at);var Zs=Object[_0x2d44ac(0x2a3)],Qs=(_0x2af50a,_0xcbe1b8,_0x2b6cdd,_0x3cebce)=>{var _0x52801f=_0x2d44ac;for(var _0x7f9862=_0x3cebce>0x1?void 0x0:_0x3cebce?Zs(_0xcbe1b8,_0x2b6cdd):_0xcbe1b8,_0x4442f8=_0x2af50a[_0x52801f(0x1cc)]-0x1,_0x229469;_0x4442f8>=0x0;_0x4442f8--)(_0x229469=_0x2af50a[_0x4442f8])&&(_0x7f9862=_0x229469(_0x7f9862)||_0x7f9862);return _0x7f9862;},mt=(_0xdc8fa3,_0x23dc92)=>(_0x303c2c,_0x3bed89)=>_0x23dc92(_0x303c2c,_0x3bed89,_0xdc8fa3);let bt=class extends _0x2f9470{constructor(_0x172514,_0x556610,_0x34c2b8){var _0x21291b=_0x2d44ac;super(),N(this,'_unitInfo$',new _0xa6b6e7(null)),N(this,_0x21291b(0x2aa),this[_0x21291b(0x1ed)][_0x21291b(0x2f1)]()),(this[_0x21291b(0x1d5)]=_0x172514,this['_snapshotService']=_0x556610,this['_localCacheService']=_0x34c2b8);}async[_0x2d44ac(0x189)](_0x8eea21,_0x2cef3b,_0x5bedd2){var _0x33064c=_0x2d44ac;this[_0x33064c(0x1ed)]['next']({'unitId':_0x8eea21,'type':_0x2cef3b,'subUnitId':_0x5bedd2});let _0x3ca655=null;switch(_0x2cef3b){case Q[_0x33064c(0x39a)]:{_0x3ca655=await this[_0x33064c(0x38a)](_0x8eea21);break;}case Q['UNIVER_DOC']:{_0x3ca655=await this[_0x33064c(0x3e7)](_0x8eea21);break;}default:{this[_0x33064c(0x1d5)][_0x33064c(0x274)](_0x33064c(0x3ba),_0x33064c(0x2a9));break;}}return _0x3ca655;}async['_loadSheet'](_0x4a0694){var _0x330c3b=_0x2d44ac,_0x145a58;let _0x203a40=0x0;const _0x288e50=await((_0x145a58=this[_0x330c3b(0x145)])==null?void 0x0:_0x145a58[_0x330c3b(0x35d)](_0x4a0694));return _0x288e50&&(_0x288e50['awaitingChangeset']||_0x288e50[_0x330c3b(0x1c8)][_0x330c3b(0x1cc)]!==0x0)&&(_0x203a40=_0x288e50['rev']),_0x203a40===0x0&&this[_0x330c3b(0x1d5)][_0x330c3b(0x2a2)](_0x330c3b(0x3ba),_0x330c3b(0x159)),this['_snapshotService'][_0x330c3b(0x190)](_0x4a0694,_0x203a40);}async[_0x2d44ac(0x3e7)](_0x2de8e3){var _0x571204=_0x2d44ac,_0x451e3a;let _0x1322e8=0x0;const _0x4438c6=await((_0x451e3a=this['_localCacheService'])==null?void 0x0:_0x451e3a['loadOfflineData'](_0x2de8e3));return _0x4438c6&&(_0x4438c6[_0x571204(0x2c5)]||_0x4438c6[_0x571204(0x1c8)][_0x571204(0x1cc)]!==0x0)&&(_0x1322e8=_0x4438c6['rev']),_0x1322e8===0x0&&this[_0x571204(0x1d5)][_0x571204(0x2a2)](_0x571204(0x3ba),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x571204(0x12f)][_0x571204(0x1ca)](_0x2de8e3,_0x1322e8);}};bt=Qs([mt(0x0,_0x41bbc0),mt(0x1,_0x3a18e9(_0x4194fe)),mt(0x2,_0x1f5a13(J))],bt);var er=Object[_0x2d44ac(0x2a3)],tr=(_0x5952b3,_0x1352e6,_0x10968f,_0x467eaa)=>{for(var _0x4a57e6=_0x467eaa>0x1?void 0x0:_0x467eaa?er(_0x1352e6,_0x10968f):_0x1352e6,_0x52e339=_0x5952b3['length']-0x1,_0x491c6e;_0x52e339>=0x0;_0x52e339--)(_0x491c6e=_0x5952b3[_0x52e339])&&(_0x4a57e6=_0x491c6e(_0x4a57e6)||_0x4a57e6);return _0x4a57e6;},gt=(_0x20a69e,_0x55ae5f)=>(_0x24326f,_0x1c4f80)=>_0x55ae5f(_0x24326f,_0x1c4f80,_0x20a69e);const ir=[_0x2d44ac(0x1e4),_0x2d44ac(0x23f),_0x2d44ac(0x2cd),_0x2d44ac(0x26f),_0x2d44ac(0x1b3)],nr=0x5*0x400*0x400,sr=_0x2d44ac(0x1a1),rr='/universer-api/stream/file/upload',ar=_0x2d44ac(0x1be),or=_0x2d44ac(0x1cb);let Ot=class{constructor(_0x260988,_0x590a42,_0x22233b){var _0x222f50=_0x2d44ac;N(this,_0x222f50(0x282),0x0),N(this,_0x222f50(0x288),new _0x42e7d7()),N(this,_0x222f50(0x376),this[_0x222f50(0x288)]),N(this,_0x222f50(0x137),new Map()),(this[_0x222f50(0x35c)]=_0x260988,this[_0x222f50(0x375)]=_0x590a42,this[_0x222f50(0x3f5)]=_0x22233b);}[_0x2d44ac(0x264)](_0x55e91a){var _0x21d266=_0x2d44ac;this['_waitCount']=_0x55e91a,this[_0x21d266(0x288)][_0x21d266(0x26e)](_0x55e91a);}['getImageSourceCache'](_0x57a8ce,_0x39444d){var _0x12bcf3=_0x2d44ac;if(_0x39444d===_0x371265[_0x12bcf3(0x3a8)]){const _0x52d496=new Image();return _0x52d496[_0x12bcf3(0x11b)]=_0x57a8ce,_0x52d496;}return this[_0x12bcf3(0x137)][_0x12bcf3(0x215)](_0x57a8ce);}[_0x2d44ac(0x220)](_0x54370a,_0x3ba108,_0x1df602){var _0x51a1fe=_0x2d44ac;_0x3ba108===_0x371265[_0x51a1fe(0x3a8)]||_0x1df602==null||this[_0x51a1fe(0x137)][_0x51a1fe(0x2d2)](_0x54370a,_0x1df602);}async[_0x2d44ac(0x130)](_0x76be11){var _0x4f9b48=_0x2d44ac;try{const _0x10bcaa=this[_0x4f9b48(0x3e6)](this[_0x4f9b48(0x384)](),''+_0x76be11),_0x525e93=(await this[_0x4f9b48(0x35c)][_0x4f9b48(0x215)](_0x10bcaa))[_0x4f9b48(0x302)];if(_0x525e93[_0x4f9b48(0x274)]&&_0x525e93[_0x4f9b48(0x274)][_0x4f9b48(0x1ae)]===Si['OK']){const _0x9a8a91=new URL(_0x525e93[_0x4f9b48(0x33f)],this[_0x4f9b48(0x363)]())['toString']();return Promise[_0x4f9b48(0x18c)](_0x9a8a91);}return Promise[_0x4f9b48(0x38d)](_0x525e93[_0x4f9b48(0x274)]);}catch(_0x20ebfe){return Promise[_0x4f9b48(0x38d)](_0x20ebfe);}}async['saveImage'](_0x487304){var _0x757cb7=_0x2d44ac;let _0x32903e='';if(!ir[_0x757cb7(0x31a)](_0x487304[_0x757cb7(0x23a)]))return this[_0x757cb7(0x143)](),Promise[_0x757cb7(0x38d)](new Error(_0x2e1ab9['ERROR_IMAGE_TYPE']));if(_0x487304[_0x757cb7(0x3cf)]>nr)return this[_0x757cb7(0x143)](),Promise[_0x757cb7(0x38d)](new Error(_0x2e1ab9[_0x757cb7(0x386)]));try{const _0x3e40ae=new FormData();_0x3e40ae['append'](_0x757cb7(0x287),_0x487304);const _0x2fb7dc=this[_0x757cb7(0x3f5)][_0x757cb7(0x21f)](),_0xe397f9=_0x2fb7dc==null?void 0x0:_0x2fb7dc[_0x757cb7(0x29c)]();if(!_0xe397f9)throw new Error(_0x757cb7(0x340));const _0x27bfb9=this[_0x757cb7(0x1f4)]()+_0x757cb7(0x402)+_0x487304[_0x757cb7(0x3cf)][_0x757cb7(0x24e)]()+_0x757cb7(0x3d5)+Ei[_0x757cb7(0x237)]+_0x757cb7(0x3f6)+encodeURIComponent(_0xe397f9),_0xffa538={'body':_0x3e40ae},_0x36dc7b=(await this[_0x757cb7(0x35c)][_0x757cb7(0x3df)](_0x27bfb9,_0xffa538))[_0x757cb7(0x302)];if(typeof _0x36dc7b[_0x757cb7(0x2de)]!=_0x757cb7(0x197))return this[_0x757cb7(0x143)](),Promise['reject'](new Error(_0x2e1ab9['ERROR_IMAGE']));_0x32903e=_0x36dc7b[_0x757cb7(0x2de)];}catch{return this[_0x757cb7(0x143)](),Promise[_0x757cb7(0x38d)](new Error(_0x2e1ab9[_0x757cb7(0x151)]));}return new Promise((_0x52c900,_0x5ed966)=>{var _0x81c3d1=_0x757cb7;const _0x36f6a2=new FileReader();_0x36f6a2[_0x81c3d1(0x247)](_0x487304),_0x36f6a2['onload']=_0x5ad650=>{var _0x21da58=_0x81c3d1,_0x3ed855;const _0x4da6bc=(_0x3ed855=_0x5ad650['target'])==null?void 0x0:_0x3ed855[_0x21da58(0x300)];if(_0x4da6bc==null){this[_0x21da58(0x143)](),_0x5ed966(new Error(_0x2e1ab9[_0x21da58(0x151)]));return;}const _0x51756c=_0x10fb77[_0x21da58(0x22b)](0x6);_0x52c900({'imageId':_0x51756c,'imageSourceType':_0x371265[_0x21da58(0x191)],'source':_0x32903e,'base64Cache':_0x4da6bc,'status':_0x2e1ab9['SUCCUSS']}),this[_0x21da58(0x143)]();};});}['_getUploadFileURL'](){var _0x154a6c=_0x2d44ac,_0x1d7722,_0x1eeb10;const _0x34e655=this[_0x154a6c(0x375)][_0x154a6c(0x3fc)](sr),_0x97cfd4=this[_0x154a6c(0x375)][_0x154a6c(0x3fc)](q);return(_0x1eeb10=(_0x1d7722=_0x97cfd4==null?void 0x0:_0x97cfd4[_0x154a6c(0x1f1)])!=null?_0x1d7722:_0x34e655)!=null?_0x1eeb10:rr;}['_getSignURL'](){var _0x4bf7ef=_0x2d44ac,_0x9d8da0,_0x1a1e3c;const _0x3a0ad0=this[_0x4bf7ef(0x375)][_0x4bf7ef(0x3fc)](ar),_0x5390ee=this[_0x4bf7ef(0x375)]['getConfig'](q);return(_0x1a1e3c=(_0x9d8da0=_0x5390ee==null?void 0x0:_0x5390ee[_0x4bf7ef(0x13b)])!=null?_0x9d8da0:_0x3a0ad0)!=null?_0x1a1e3c:or;}['_getDownloadEndpointURL'](){var _0x57b1bf=_0x2d44ac,_0x38cb80;const _0x5f0984=this['_configService']['getConfig'](q);return(_0x38cb80=_0x5f0984==null?void 0x0:_0x5f0984[_0x57b1bf(0x12a)])!=null?_0x38cb80:location[_0x57b1bf(0x102)];}[_0x2d44ac(0x3e6)](_0x3007a7,_0x10e8a2){var _0x10029f=_0x2d44ac;return _0x3007a7[_0x10029f(0x398)](_0x10029f(0x29b),_0x10e8a2);}[_0x2d44ac(0x143)](){var _0x555506=_0x2d44ac;this[_0x555506(0x282)]-=0x1,this[_0x555506(0x288)]['next'](this[_0x555506(0x282)]);}};Ot=tr([gt(0x0,_0x3a18e9(_0x477870)),gt(0x1,_0x462043),gt(0x2,_0x3a18e9(_0x2e2ca3))],Ot);var cr=Object[_0x2d44ac(0x2a3)],hr=(_0x169935,_0x582618,_0x341a7b,_0xd88ed2)=>{var _0x1e4b86=_0x2d44ac;for(var _0x360fa4=_0xd88ed2>0x1?void 0x0:_0xd88ed2?cr(_0x582618,_0x341a7b):_0x582618,_0x4f89b9=_0x169935[_0x1e4b86(0x1cc)]-0x1,_0x7499f3;_0x4f89b9>=0x0;_0x4f89b9--)(_0x7499f3=_0x169935[_0x4f89b9])&&(_0x360fa4=_0x7499f3(_0x360fa4)||_0x360fa4);return _0x360fa4;},hi=(_0x408da6,_0x50491e)=>(_0x197f39,_0x1b8a5a)=>_0x50491e(_0x197f39,_0x1b8a5a,_0x408da6);const _r=_0x2d44ac(0x394);let yt=class{constructor(_0x2fa820,_0x2bf36b){var _0x404f28=_0x2d44ac;this[_0x404f28(0x375)]=_0x2fa820,this[_0x404f28(0x292)]=_0x2bf36b;}[_0x2d44ac(0x14c)](){var _0x28a283=_0x2d44ac,_0x3e3e30,_0xac3a2b;const _0xedee5d=this[_0x28a283(0x375)]['getConfig'](Ni),_0x33d630=this[_0x28a283(0x375)][_0x28a283(0x3fc)](q);return(_0xac3a2b=(_0x3e3e30=_0x33d630==null?void 0x0:_0x33d630['authzUrl'])!=null?_0x3e3e30:_0xedee5d)!=null?_0xac3a2b:_r;}async[_0x2d44ac(0x332)](_0x272a95){var _0x1998d8=_0x2d44ac;const _0x4f6018=this[_0x1998d8(0x14c)]()+'/collaborator';return{'list':[{'title':_0x1998d8(0x1a5),'mentions':(await this[_0x1998d8(0x292)][_0x1998d8(0x215)](_0x4f6018,{'params':{'objectID':_0x272a95[_0x1998d8(0x153)],'unitID':_0x272a95[_0x1998d8(0x153)]}}))[_0x1998d8(0x302)]['collaborators'][_0x1998d8(0x1fa)](_0x31df3c=>({'objectId':_0x31df3c['id'],'name':_0x31df3c[_0x1998d8(0x33d)][_0x1998d8(0x1bc)],'metadata':{'icon':_0x31df3c[_0x1998d8(0x33d)][_0x1998d8(0x267)]},'label':_0x31df3c[_0x1998d8(0x33d)][_0x1998d8(0x1bc)],'objectType':_0x97c634['PERSON']})),'metadata':{},'type':_0x97c634[_0x1998d8(0x185)]}]};}};yt=hr([hi(0x0,_0x3a18e9(_0x462043)),hi(0x1,_0x3a18e9(_0x477870))],yt);var lr=Object['getOwnPropertyDescriptor'],ur=(_0x1d49bd,_0x1faab8,_0x4f32b8,_0x3cf550)=>{for(var _0x3123ba=_0x3cf550>0x1?void 0x0:_0x3cf550?lr(_0x1faab8,_0x4f32b8):_0x1faab8,_0x525ce5=_0x1d49bd['length']-0x1,_0x126a01;_0x525ce5>=0x0;_0x525ce5--)(_0x126a01=_0x1d49bd[_0x525ce5])&&(_0x3123ba=_0x126a01(_0x3123ba)||_0x3123ba);return _0x3123ba;},we=(_0x135515,_0x4ceb7d)=>(_0x428f64,_0x119fa6)=>_0x4ceb7d(_0x428f64,_0x119fa6,_0x135515);let ot=class extends _0x2f9470{constructor(_0xd1bd95,_0x268bf8,_0x5a97b0,_0x14132a,_0x4e31b9){var _0x2d2993=_0x2d44ac;super(),this['_injector']=_0xd1bd95,this[_0x2d2993(0x3f5)]=_0x268bf8,this[_0x2d2993(0x3e4)]=_0x5a97b0,this['_collaborationSessionService']=_0x14132a,this[_0x2d2993(0xf4)]=_0x4e31b9,this[_0x2d2993(0x32f)](),this['_initCloseConn']();}[_0x2d44ac(0x1d6)](){var _0x42034b=_0x2d44ac;const _0x27edaa=async _0x41733b=>{var _0x21e2bd=_0x39a9;(await this[_0x21e2bd(0x3e8)]['requireSession'](_0x41733b))[_0x21e2bd(0x2ff)][_0x21e2bd(0x11e)](_0x24719a(_0x2bfc0c=>_0x2bfc0c[_0x21e2bd(0x3f7)]===_0x3d1bff[_0x21e2bd(0x175)]),_0x5745eb(this[_0x21e2bd(0x115)]))[_0x21e2bd(0x128)](_0x3f2b09=>{var _0x1f6ca0=_0x21e2bd;const _0x9004fb=_0x3f2b09,{reason:_0x522752}=_0x9004fb[_0x1f6ca0(0x18e)];this[_0x1f6ca0(0xf4)][_0x1f6ca0(0x113)]({'id':re[_0x1f6ca0(0x3ec)],'data':_0x522752}),this[_0x1f6ca0(0x3e4)][_0x1f6ca0(0x109)](new _0x457771(_0x41733b)['id'],!0x1),this[_0x1f6ca0(0x3e8)][_0x1f6ca0(0x260)](_0x41733b);});};_0x5ac85e(this[_0x42034b(0x3f5)][_0x42034b(0x283)](_0x34ccd3['UNIVER_SHEET']),this[_0x42034b(0x3f5)][_0x42034b(0x283)](_0x34ccd3[_0x42034b(0x3f8)]))[_0x42034b(0x11e)](_0x4fc619(_0x410218=>_0x410218[_0x42034b(0x29c)]()),_0x24719a(_0x382c95=>!_0x5423ab(_0x382c95)),_0x5745eb(this[_0x42034b(0x115)]))['subscribe'](_0x5c82fb=>{_0x27edaa(_0x5c82fb);});}[_0x2d44ac(0x32f)](){var _0x46a77c=_0x2d44ac;const _0x42f7fe=async _0x2cf7b3=>{var _0x3a57c0=_0x39a9;const _0x1db145=await this[_0x3a57c0(0x3e8)][_0x3a57c0(0x36f)](_0x2cf7b3),_0x4de9b3=this[_0x3a57c0(0x3d2)]['get'](_0x43a842);_0x1db145['event$'][_0x3a57c0(0x11e)](_0x24719a(_0x34cec4=>_0x34cec4[_0x3a57c0(0x3f7)]===_0x3d1bff['UPDATE_PERMISSION_OBJ']),_0x5745eb(this[_0x3a57c0(0x115)]))['subscribe'](_0x4bf012=>{var _0x278e02=_0x3a57c0;const _0xa8a1ac=_0x4bf012,{objectId:_0x90ade9}=_0xa8a1ac[_0x278e02(0x18e)];_0x90ade9===_0x2cf7b3?_0x4de9b3['initWorkbookPermissionChange'](_0x2cf7b3):_0x4de9b3['refreshPermission'](_0x2cf7b3,_0x90ade9);});};_0x5ac85e(this[_0x46a77c(0x3f5)][_0x46a77c(0x283)](_0x34ccd3[_0x46a77c(0x39a)]))[_0x46a77c(0x11e)](_0x4fc619(_0x51d50c=>_0x51d50c[_0x46a77c(0x29c)]()),_0x24719a(_0x41d622=>!_0x5423ab(_0x41d622)),_0x5745eb(this['dispose$']))[_0x46a77c(0x128)](_0x3dd145=>{_0x42f7fe(_0x3dd145);});}};ot=ur([we(0x0,_0x3a18e9(_0x2eed8a)),we(0x1,_0x2e2ca3),we(0x2,_0x1461bf),we(0x3,_0x3a18e9(Me)),we(0x4,_0x3a18e9(pe))],ot);var dr=Object[_0x2d44ac(0x2a3)],fr=(_0x57017b,_0x1418c9,_0x35d429,_0x3244d4)=>{for(var _0x3446cf=_0x3244d4>0x1?void 0x0:_0x3244d4?dr(_0x1418c9,_0x35d429):_0x1418c9,_0x42b82e=_0x57017b['length']-0x1,_0x467374;_0x42b82e>=0x0;_0x42b82e--)(_0x467374=_0x57017b[_0x42b82e])&&(_0x3446cf=_0x467374(_0x3446cf)||_0x3446cf);return _0x3446cf;},_i=(_0x5a5b24,_0x34d4e5)=>(_0x31e14a,_0x24e7a9)=>_0x34d4e5(_0x31e14a,_0x24e7a9,_0x5a5b24);let Nt=class{constructor(_0x104487,_0x82d196){var _0x4b9bfe=_0x2d44ac;this[_0x4b9bfe(0x375)]=_0x104487,this['_httpService']=_0x82d196;}async[_0x2d44ac(0x368)](_0x4c042b,_0x275b74){var _0x5964af=_0x2d44ac,_0x160018;const {unitID:_0x2484c3,type:_0x2c1ed2,revision:_0x541336=0x0}=_0x275b74,_0x4e9848=this[_0x5964af(0x19d)]()+'/'+_0x2c1ed2+_0x5964af(0x2d7)+_0x2484c3+_0x5964af(0x289)+_0x541336,_0x2e50d1=(await this[_0x5964af(0x35c)][_0x5964af(0x215)](_0x4e9848))['body'],_0x30a6aa=(_0x160018=_0x2e50d1['snapshot'])==null?void 0x0:_0x160018[_0x5964af(0x2e3)];if(_0x30a6aa){const _0x4b3317=_0x30a6aa==null?void 0x0:_0x30a6aa['originalMeta'],_0x9f36ab=_0x154489['encode'](_0x1a97d4(_0x4b3317));_0x30a6aa[_0x5964af(0x1c5)]=_0x9f36ab,Object[_0x5964af(0x32b)](_0x30a6aa['sheets'])[_0x5964af(0x2ea)](([,_0x1286e6])=>{var _0x43b3fe=_0x5964af;const _0x10a32f=_0x1286e6[_0x43b3fe(0x1c5)],_0x3547db=_0x154489[_0x43b3fe(0x3e1)](_0x1a97d4(_0x10a32f));_0x1286e6[_0x43b3fe(0x1c5)]=_0x3547db;});}return _0x2e50d1;}async[_0x2d44ac(0x295)](_0x4eb273,_0x4d3360){var _0x493e60=_0x2d44ac;const {unitID:_0x31dd0e,type:_0xd8efa1,blockID:_0x2b2e9a}=_0x4d3360,_0x5dd47a=this['_getAPIPrefix']()+'/'+_0xd8efa1+_0x493e60(0x2d7)+_0x31dd0e+_0x493e60(0x1ee)+_0x2b2e9a;return(await this['_httpService'][_0x493e60(0x215)](_0x5dd47a))[_0x493e60(0x302)];}async['getDeserializedSheetBlock'](_0x3f7957,_0x48d56e){var _0x367917=_0x2d44ac;const {unitID:_0x1ae2c7,type:_0x59753e,blockID:_0x23c594}=_0x48d56e,_0x45a56b=this['_getAPIPrefix']()+_0x367917(0x1ee)+_0x59753e+_0x367917(0x2d7)+_0x1ae2c7+_0x367917(0x1ee)+_0x23c594;return(await this[_0x367917(0x35c)][_0x367917(0x215)](_0x45a56b))[_0x367917(0x302)];}async[_0x2d44ac(0x1b2)](_0x28ec40,_0x5248ce){var _0x35d4d8=_0x2d44ac;const {unitID:_0x186299,type:_0x4a7eaa,from:_0x2b2faf,to:_0x1ca596}=_0x5248ce,_0x2e383a=this[_0x35d4d8(0x207)]()+'/'+_0x4a7eaa+_0x35d4d8(0x2d7)+_0x186299+_0x35d4d8(0x10a)+_0x2b2faf+_0x35d4d8(0x291)+_0x1ca596;return(await this[_0x35d4d8(0x35c)][_0x35d4d8(0x215)](_0x2e383a))[_0x35d4d8(0x302)];}[_0x2d44ac(0x19d)](){var _0x48f64f=_0x2d44ac,_0x1c9af1;return(_0x1c9af1=this[_0x48f64f(0x375)][_0x48f64f(0x3fc)](Sn))!=null?_0x1c9af1:this[_0x48f64f(0x207)]();}[_0x2d44ac(0x207)](){var _0x3e7c08=_0x2d44ac,_0x3d6422,_0xe4154e;const _0x20a860=this[_0x3e7c08(0x375)]['getConfig'](mn),_0x721a15=this['_configService'][_0x3e7c08(0x3fc)](q);return(_0xe4154e=(_0x3d6422=_0x721a15==null?void 0x0:_0x721a15[_0x3e7c08(0x261)])!=null?_0x3d6422:_0x20a860)!=null?_0xe4154e:gn;}async[_0x2d44ac(0x1ea)](_0x35ab35,_0x31ecdf){var _0x1a4fba=_0x2d44ac;const _0x5d7162=_0x1a4fba(0x171)+_0x31ecdf[_0x1a4fba(0x23a)]+_0x1a4fba(0x2d7)+_0x31ecdf[_0x1a4fba(0x1ff)]+_0x1a4fba(0x1e9);return(await this[_0x1a4fba(0x35c)][_0x1a4fba(0x215)](_0x5d7162,{'params':{'resourceId':JSON['stringify'](_0x31ecdf[_0x1a4fba(0x365)])}}))[_0x1a4fba(0x302)];}[_0x2d44ac(0x142)](){var _0x4149b0=_0x2d44ac;throw new Error(_0x4149b0(0x2a7));}['saveSheetBlock'](){var _0x549312=_0x2d44ac;throw new Error(_0x549312(0x2a7));}['saveChangeset'](){var _0xe337ef=_0x2d44ac;throw new Error(_0xe337ef(0x2a7));}[_0x2d44ac(0x15e)](){var _0x3713f7=_0x2d44ac;throw new Error(_0x3713f7(0x2a7));}[_0x2d44ac(0x1ec)](){var _0x442dfd=_0x2d44ac;throw new Error(_0x442dfd(0x2a7));}};Nt=fr([_i(0x0,_0x462043),_i(0x1,_0x3a18e9(_0x477870))],Nt);var vr=Object[_0x2d44ac(0x2a3)],pr=(_0x898759,_0x420761,_0x2dac33,_0x4c9abb)=>{var _0x3935bb=_0x2d44ac;for(var _0x31bd95=_0x4c9abb>0x1?void 0x0:_0x4c9abb?vr(_0x420761,_0x2dac33):_0x420761,_0x3f71a4=_0x898759[_0x3935bb(0x1cc)]-0x1,_0x3b4d1b;_0x3f71a4>=0x0;_0x3f71a4--)(_0x3b4d1b=_0x898759[_0x3f71a4])&&(_0x31bd95=_0x3b4d1b(_0x31bd95)||_0x31bd95);return _0x31bd95;},Pe=(_0x1efc74,_0x3af295)=>(_0x4e3c6e,_0x5660fe)=>_0x3af295(_0x4e3c6e,_0x5660fe,_0x1efc74);let Dt=class extends _0x579d45{constructor(_0x26cce5,_0x36754f,_0x248321,_0x1fbb76,_0x4f37cf){var _0x910cb4=_0x2d44ac;super(_0x26cce5,_0x36754f,_0x248321),this[_0x910cb4(0x380)]=_0x1fbb76,this[_0x910cb4(0x1d5)]=_0x4f37cf;}['transformUndoRedo'](_0x404c67,_0x46e1b4){var _0x34ebbc=_0x2d44ac;const _0x4723b9=this['_getUndoStack'](_0x404c67);if(_0x4723b9)try{const _0x4ed05d=this['_transformStack'](_0x4723b9,_0x46e1b4);this[_0x34ebbc(0x204)](_0x404c67,_0x4ed05d);}catch(_0x372825){this[_0x34ebbc(0x1d5)][_0x34ebbc(0x274)](_0x34ebbc(0x314),_0x372825),this[_0x34ebbc(0x3cc)](_0x404c67);}const _0x165c8e=this['_getRedoStack'](_0x404c67);if(_0x165c8e)try{const _0x2a0f18=this[_0x34ebbc(0x3ef)](_0x165c8e,_0x46e1b4);this[_0x34ebbc(0x2ba)](_0x404c67,_0x2a0f18);}catch(_0x40b099){this[_0x34ebbc(0x1d5)][_0x34ebbc(0x274)](_0x40b099),this['_clearRedo'](_0x404c67);}}[_0x2d44ac(0x3cc)](_0x2fe943){var _0x51b24a=_0x2d44ac;const _0x271e38=this[_0x51b24a(0x2e1)](_0x2fe943);_0x271e38&&(_0x271e38[_0x51b24a(0x1cc)]=0x0,this[_0x51b24a(0x372)]());}[_0x2d44ac(0x2df)](_0x1cd5af){var _0x2d1948=_0x2d44ac;const _0x4b67b9=this[_0x2d1948(0x226)](_0x1cd5af);_0x4b67b9&&(_0x4b67b9[_0x2d1948(0x1cc)]=0x0,this[_0x2d1948(0x372)]());}[_0x2d44ac(0x204)](_0x2a5882,_0x1e3104){var _0x2e9732=_0x2d44ac;this[_0x2e9732(0x3b0)][_0x2e9732(0x2d2)](_0x2a5882,_0x1e3104),this[_0x2e9732(0x372)]();}['_substituteRedoStack'](_0x28c497,_0x30f21a){var _0x386caa=_0x2d44ac;this['_redoStacks']['set'](_0x28c497,_0x30f21a),this[_0x386caa(0x372)]();}['_transformStack'](_0x18f5cb,_0x2206cd){var _0x2ce4a5=_0x2d44ac;const _0x567e5e=[];let _0x3c2e32=_0x2206cd,_0x5ace75=_0x2206cd;for(let _0x5d829f=_0x18f5cb[_0x2ce4a5(0x1cc)]-0x1;_0x5d829f>=0x0;_0x5d829f--){const {unitID:_0x4d74fb,undoMutations:_0x25b167,redoMutations:_0x376120}=_0x18f5cb[_0x5d829f],_0x3408e2=this[_0x2ce4a5(0x380)][_0x2ce4a5(0x2d8)](_0x3c2e32,_0x25b167),_0x4e833a=this[_0x2ce4a5(0x380)][_0x2ce4a5(0x2d8)](_0x5ace75,_0x376120);if(_0x2f9aac(_0x3408e2)||_0x2f9aac(_0x4e833a)){this[_0x2ce4a5(0x1d5)]['error'](_0x2ce4a5(0x314),'transformStack\x20failed!',_0x3408e2,_0x4e833a);break;}_0x3c2e32=_0x3408e2[_0x2ce4a5(0x243)],_0x5ace75=_0x4e833a[_0x2ce4a5(0x243)],_0x567e5e[_0x2ce4a5(0x2ad)]({'unitID':_0x4d74fb,'undoMutations':_0x3408e2[_0x2ce4a5(0x29e)],'redoMutations':_0x4e833a['m2Prime']});}return _0x567e5e['reverse']();}};Dt=pr([Pe(0x0,_0x2e2ca3),Pe(0x1,_0x326da6),Pe(0x2,_0x38dea7),Pe(0x3,_0x157f6a),Pe(0x4,_0x41bbc0)],Dt);var mr=Object[_0x2d44ac(0x2bd)],gr=Object[_0x2d44ac(0x2a3)],Sr=(_0x32dfb3,_0x48117d,_0x154945)=>_0x48117d in _0x32dfb3?mr(_0x32dfb3,_0x48117d,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x154945}):_0x32dfb3[_0x48117d]=_0x154945,Er=(_0x4f73f7,_0x2b4405,_0x13934c,_0x243da1)=>{var _0x430e5c=_0x2d44ac;for(var _0xbaa50b=_0x243da1>0x1?void 0x0:_0x243da1?gr(_0x2b4405,_0x13934c):_0x2b4405,_0x232ae5=_0x4f73f7[_0x430e5c(0x1cc)]-0x1,_0x3abec4;_0x232ae5>=0x0;_0x232ae5--)(_0x3abec4=_0x4f73f7[_0x232ae5])&&(_0xbaa50b=_0x3abec4(_0xbaa50b)||_0xbaa50b);return _0xbaa50b;},St=(_0xac9f71,_0x106923)=>(_0x30a757,_0x5ad538)=>_0x106923(_0x30a757,_0x5ad538,_0xac9f71),Ir=(_0x253a88,_0x23f8f1,_0x1a747b)=>Sr(_0x253a88,_0x23f8f1+'',_0x1a747b);const Tr=_0x2d44ac(0x242);let Ut=class extends _0x210254{constructor(_0x140e4a,_0x1a7db9,_0x18f067,_0xcf7c4a){var _0xecfd85=_0x2d44ac;super(),N(this,'_config'),(this[_0xecfd85(0x1d5)]=_0x1a7db9,this['_injector']=_0x18f067,this[_0xecfd85(0x375)]=_0xcf7c4a);const {..._0x4f555a}=_0x36ec5e({},wn,_0x140e4a);if(!_0x4f555a[_0xecfd85(0x3aa)])throw new Error(_0xecfd85(0x163));this[_0xecfd85(0x39d)]=_0x4f555a,this['_configService'][_0xecfd85(0x20d)](q,_0x4f555a);}[_0x2d44ac(0x38f)](){var _0x214eab=_0x2d44ac;this[_0x214eab(0x3ab)](),this[_0x214eab(0x181)]();}[_0x2d44ac(0x3ab)](){var _0x6d507b=_0x2d44ac,_0x27d014,_0x38c86d;this[_0x6d507b(0x3d2)][_0x6d507b(0x311)](_0x46d3c0)&&this['_logService'][_0x6d507b(0x274)](_0x6d507b(0x257),_0x6d507b(0x3fa));const _0x1570be=_0x581157([[_0x46d3c0,{'useClass':Dt}],[Me],[Le],[it],[rt],[at],[Ti],[ot],[pe],[bt],[Ii,{'useClass':this['_config']['socketService']}],[_0x3d2e4f,{'useClass':Nt}],[_0xcc27c5,{'useClass':Rt}],[_0x4d6d8d,{'useClass':Ot}],[_0x55d716,{'useClass':yt}],[st],[Ct]],(_0x27d014=this[_0x6d507b(0x39d)])==null?void 0x0:_0x27d014['override']);if(!((_0x38c86d=this[_0x6d507b(0x39d)])!=null&&_0x38c86d[_0x6d507b(0x2b3)])){const _0x2a3966=_0x1570be[_0x6d507b(0x3bd)](([_0x440f90])=>_0x440f90===ht);_0x2a3966!==-0x1&&_0x1570be[_0x6d507b(0x27a)](_0x2a3966,0x1);}_0xa3cd39(this[_0x6d507b(0x3d2)],_0x1570be);}[_0x2d44ac(0x181)](){var _0x45e99f=_0x2d44ac,_0x362d60,_0x28f6cd,_0x1794f5;this[_0x45e99f(0x3d2)]['get'](_0x477870)[_0x45e99f(0x206)]({'priority':0x14,'interceptor':_0x6a2522({'maxParallel':0x6})}),(_0x362d60=this['_config'])!=null&&_0x362d60['enableOfflineEditing']||(_0x28f6cd=this[_0x45e99f(0x3d2)][_0x45e99f(0x215)](J,_0x5594c6[_0x45e99f(0x350)]))==null||_0x28f6cd['disableLocalCache'](),(_0x1794f5=this[_0x45e99f(0x39d)])!=null&&_0x1794f5[_0x45e99f(0x23e)]&&_0x32fd4c(this[_0x45e99f(0x3d2)],[[rt]]),_0x32fd4c(this[_0x45e99f(0x3d2)],[[at],[st],[ot]]);}};Ir(Ut,'pluginName',Tr),Ut=Er([_0x327176(_0x1baaeb,_0x22fece),St(0x1,_0x41bbc0),St(0x2,_0x3a18e9(_0x2eed8a)),St(0x3,_0x462043)],Ut);export{Ni as AUTHZ_URL_KEY,Rt as AuthzIoHttpService,le as AwaitingState,oe as AwaitingWithPendingState,q as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,Nn as COLLAB_SUBMIT_CHANGESET_URL_KEY,In as COLLAB_WEB_SOCKET_URL_KEY,st as CollaborationController,nt as CollaborationEntity,Ot as CollaborationImageIoService,Et as CollaborationSession,Me as CollaborationSessionService,Gt as CollaborationSocketService,bi as CollaborationStatus,re as CollaborationUIEventId,pe as CollaborationUIEventService,Dt as CollaborativeUndoRedoService,Ti as CommentService,ue as ConflictState,Tn as DEFAULT_COLLAB_WEB_SOCKET_URL,Hr as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,Mr as DEFAULT_WS_SESSION_TICKET_URL,bt as DataLoaderService,It as DocCollaborationEntity,ee as FetchingMissState,Cn as HEARTBEAT_INTERVAL_KEY,mi as HEARTBEAT_TIMEOUT_KEY,Ii as ICollaborationSocketService,J as ILocalCacheService,Pn as INetworkConditionService,ht as ISingleActiveUnitService,kr as LOCAL_CACHE_INTERVAL,xr as LOCAL_CACHE_INTERVAL_KEY,Un as LOGIN_URL_KEY,Le as MemberService,yt as MentionIoHttpService,de as OfflineState,ae as PendingState,$r as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,On as RETRY_CONNECTING_MAX_COUNT_KEY,Lr as SEND_CHANGESET_TIMEOUT_KEY,mn as SNAPSHOT_SERVER_URL_KEY,Sn as SNAPSHOT_URL_KEY,Ee as SessionStatus,Tt as SheetCollaborationEntity,it as SheetTransformSelectionsService,Nt as SnapshotServerOverHTTPService,Ne as SyncedState,Ci as UnitStatus,Ut as UniverCollaborationClientPlugin,Ln as deserializeToCombResponse,Br as getLocalCacheKey,Mn as serializeCombRequest};