@univerjs-pro/collaboration-client 0.6.10-nightly.202504171607 → 0.6.10-nightly.202504181606
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +10 -10
package/lib/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
function _0x24f8(){var _0x4fc8f8=['_roomMembers','?url=','_resendTimer','SNAPSHOT_HAS_BEEN_REMOVED','INGEST','_collaborationUIEventService','SNAPSHOT_INVALID_SNAPSHOT','submit\x20changeset\x20error!','univer-pro.collaboration-client-socket-service','getUnitOnRev','updateCursorEvent','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','_transformSelections','UNIVER_SHEET','APPLY_REVISION_CONFILICT','_shouldReportTelemetry','_tryEnsureSocket','join','send','getTime','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','_onFetchMissResult','min','PSEUDO_FETCH_MISSING_RESULT','clamp','_substituteUndoStack','YUUMI_UNABLE_LOAD_URL','_httpService','UnitEmbedded','UNIVER_UNKNOWN','_updateState','_networkConditionService','YUUMI_NO_CUBOID_FOR_QUESTION','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','set','_emitMembers','YUUMI_SUBSCRIPTION_NOT_FOUND','sigBytes','unpad','Encryptor','padding','_DEC_XFORM_MODE','1769454qrZluo','_waitForHeartbeatResponse','collaboration-client.local-cache-service','SHOULD_CLOSE_CONN','_redoStacks','duration','_executeRemoteChangeset','COLLAB_SUBMIT_CHANGESET_URL','collaboration-client.config','_doCryptBlock','cmd','HMAC','POST','msCrypto','initWorkbookPermissionChange','[CollaborationSessionService]:\x20socket\x20error','_scheduleCompleteTimestamp','format','SUBMIT_CHANGESET','/object/','splice','_singleActiveUnitService','_throwTelemetryCollaborationNewChangeset','saveChangeset','conflict','addImageSourceCache','_onUserLeave','Base64','onStarting','_key','createInstance','__Key__','commentUpdateEvent','setCurrentUser','userID','onMissedChangesetFetched','_getLoginPath','loginUrlKey','transformMutationsWithChangeset','_transformService','CONFLICT','updatePermissionObjEvent','_transformStateCache','_getUndoStack','infoRsp','authzUrl','unitInfo$','unitId','_resendWithTimeout','max','NEW_CHANGESETS','unknown','_getCtorByUniverType','BASE64','LICENSE_DISTRO_REJECTED','__creator','/universer-api/stream/file/upload','_socket$','name','_initUnitPermissionChange','UnitSnapshot','type','\x20to\x20','charCodeAt','onStateChange','stringify','objectID','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','_status$','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','create','updateMember','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','collaboratorID','_nRounds','RECV','string','replace','bind','action','snapshot','auth.needGotoLoginAlert','params','_entities','collaboration_new_changeset','delete','_iKey','_checkMissing','append','kdf','change$','_xformMode','apply','filter','_joinRoom','default','_keySchedule','error','_clearCollaborationTimeoutTimer','_onRecvEvent','_candidateSocket','OPTIONAL','PERMISSION_REJ','onSyncEditingCollabCursor','_roomCreated$','textRanges','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','copyFileMeta','_acknowledgedAwaitingChangeset','$super','_configService','univer-pro.collaboration-client.network-condition.service','forEach','HmacMD5','Could\x20not\x20dynamically\x20require\x20\x22','NoPadding','keySize','fetchMissingChangesets','collabWebSocketUrl','symbol','_getCurrentRevision','onRemoteAck','_process','UNAUTHENTICATED','baseRev','\x0aCurrent:\x20','_append','_doFinalize','_updateStatus','Pkcs7','_eventService','deleteCollaborator','onTransformRemoteChangesetByIMECache','1287FVWMWA','WECHAT_HAS_BEEN_BOUND','onload','words','c2Prime','prototype','_onJoinRoomEvent','init','_createSocket','href','INVALID_ARGUMENT','APPLY_NON_SEQUENTIAL_REVISION','_changesetSessionId','byteLength','UNDEFINED','_compressMutationService','_hasher','csShouldRetryEvent','_sender','_telemetryService','_stopTelemetryCollaborationNewChangeset','_socketReady','EXCHANGE_SIGN_URL_SERVER_URL_KEY','transformSelections','_event$','signUrlServerUrl','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','allowed','_initCloseConn','fetch_missing','&source=','_ENC_XFORM_MODE','decryptBlock','_socket','getImage','onTransformRemoteChangesetByStateCache','post','loadUnit','getSnapshotAPIPath','_transformRemoteChangesetByStateCache','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','commentUpdate$','push','_toggleOnline','getResourcesRequest','body','_clearLocalCache','/fetchmissing?from=','_applyRemoteChangeset','FileId','compute','range','HELLO','CipherParams','&to=','_syncEditingCollabCursor','getConfig','getMemberID','downloadEndpointUrl','liveShareNewHost','m2Prime','_localCacheService','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','from','_collaborationSessionService','_createHmacHelper','readInt32LE','_iv','map','createSocket','_snapshotService','_clearTimeoutTimer','_rescheduleHeartbeat','socket\x20close','complete','pipe','_toggleOffline','cfg','_init','JOIN','COMMENT_UPDATE','_doProcessBlock','_onConflict','randomUUID','deepClone','image/bmp','objectType','_pendingMutations','FETCH_MISSING','ivSize','_entityInit$','PERMISSION_DENIED','toString','UPDATE_PERMISSION_OBJ','reconnect','/universer-api/snapshot','JOIN_ROOM_PERMISSION_DENIED','_onLocalMutation','132745WGVlWi','_members$','mode','_sendHeartbeatTimer','USER_NOT_INVITED_CODE','asObservable','OFFLINE','ceil','COMPRESS_MUTATION_APPLY','loadDoc','CHANGESET_ACK','crypto','ERROR_IMAGE','_doReset','_logService','CBC','LIVESHARE_OPERATION','getDeserializedSheetBlock','closeSession','enc','listRoles','sheets','onRemoteChangeset','_getRedoStack','getCollabEntity','shouldCloseConn','fetching\x20missing\x20changesets\x20from\x20','readAsDataURL','_mode','USERS_LEAVE','_isPermissionRej','sid','clone','_loadSheet','x-univer-host','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','image/png','TOO_MANY_REQUESTS','session.room-not-exists','awaitingChangeset','add','HttpImport','_transformIMECache','updatePermissionPoint','UNIVER_PROJECT','fetchMiss','uniscriptRunEvent','CONNECTOR_DATA_TOO_LARGE','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','refreshPermission','UNIVER_SLIDE','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','status','getRoom','_getDownloadEndpointURL','SNAPSHOT_URL_KEY','_handlerCallback','parse','_clearUndo','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','enableAuthServer','_onRemoteChangeset','unit-cache-','_getAPIPrefix','_getSendChangesetTimeout','socket\x20open.','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','ws://127.0.0.1:8000/universer-api/comb/connect','/allowed','_removeRoom','roomInfos','floor','extend','resend','_listenToNetworkCondition','entityInit$','3083810VUMBDJ','getValue','values','Cipher','SOCKET_FAILED_RETRY','collaborators','SOCKET_FAILED','requestParams','unitID','/block/','_permissionService','_sessions','save\x20fail\x20reason\x20is\x20','method','put','clear','1834PxEKoM','UNKNOWN_CODE','createCollaborator','HEARTBEAT','_awaitingChangeset','ERROR_IMAGE_TYPE','leaveEvent','_createInitialStateImpl','/universer-api/authz','_memberService','_initDependencies','_replaceFileID','BufferedBlockAlgorithm','Error\x20on\x20receiving\x20event','HttpExport','SYNCED','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','changesets','_onRemoteRejected','selections','getSheetBlock','newCsEvent','/collaborator','_socketService','_updateLocalCache','_state$','BlockCipherMode','HmacSHA1','Failed\x20to\x20update\x20permission\x20point','registerHTTPInterceptor','[CollaborationSessionService]','status$','sessionStatus$','fromCharCode','encodeURIComponent','_map','_unitInfo$','_commentService','UserProfileImg','COMPRESS_MUTATION_SEND','/unit/','slice','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','equals','_minBufferSize','_transformUndoredo','SUBMIT_CHANGESET_TIMEOUT','JOINING','message$','readyForCollab','close','GLOBAL_ROOMS_CNT_EXCEEDS','_prevBlock','result','editing\x20status\x20changed\x20to','key','_hash','c1Prime','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','_startTelemetryCollaborationNewChangeset','_sheetTransformSelectionsService','getInterceptPoints','workbook','debug','saveSheetBlock','onSendChangeset','INVITE_CODE_ALREADY_BOUND','updateCollaborator','state$','finalize','subscribe','UNKNOWN_CMD','stopTime','[FetchMissState]','memberID','algo','BlockCipher','getUnitStatus$','collaMsg','state','_queuedRemoteChangesets','hasOwnProperty','LIVESHARE_REQUEST_HOST','close$','UUID','reset','onTransformState','saveImage','getMember','joinEvent','5528288UmqNnt','_commandService','_onOffline','_members','_invKeySchedule','generateRandomId','getTypeOfUnitDisposed$','joinRsp','_sendingTimer','MUTATION','_revisionService','then','INTERNAL_ERROR','APPLY_PERMISSION_DENIED','getCurrentRevOfUnit','[OfflineState]:\x20received\x20acknowledgement.','data','_collabSessionService','getWorkbookSelections','NOT_FOUND','PENDING','_type','_state','SHA1','OTHER_CLIENT_EDITING','/universer-api/file/{fileID}/sign-url','sin','waitForRoom$','getOwnPropertyDescriptor','exports','indexOf','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','_tryReconnect','RETRY_CONNECTING_MAX_COUNT','getFocusedUnit','mutations','error$','isArray','getLatestCsReqIdBySid','&assign=','/object','open$','objectActions','\x0aAfter:\x20','repeat','_clearHeartbeatTimer','resolve','pauseCollaboration','saveSnapshot','YUUMI_ASYNCIO_CANCELLED','People','event$','reverse','\x20in\x20_schedule.','permissionRejEvent','session','_createHelper','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','LIVESHARE_FETCH_OPERATIONS','_initRequestHeader','concat','{fileID}','getRandomValues','isPermissionRej','getCurrentSelections','_sessionStatus$','find','INVALID_INVITE_CODE','disposeWithMe','LIVESHARE_TERMINATE','decrypt','UNISCRIPT_RUN','_onCombEvent','_getAPIPrefixPath','every','actions','emitEvent','_getSignURL','UNRECOGNIZED','has','/universer-api/oidc/authpage','_changesetReqId','startTime','_unlockTransition','loadSheet','_onRemoteACK','onCommandExecuted','url','next','_scheduleCollaborationTimeoutTimer','image/gif','_onConnectionFailed','interceptor','hasher','LOGIN_URL_KEY','_config','failed\x20to\x20apply\x20missed\x20changesets!','MOBILE_HAS_BEEN_BOUND','[PendingState]:\x20unhandled\x20univer\x20type:\x20','offline','subject','_change$','EMAIL_HAS_BEEN_BOUND','ALREADY_EXISTS','AES','routeKey','YUUMI_RATE_OVER_LIMIT','_incrementRevisionNumber','_waitCount','MD5','PY_RUNTIME_SCRIPT_ERROR','?size=','_handler','ciphertext','_substituteRedoStack','onCommentUpdate','_replayCachedMutations','update','_onConnectionOpen','connection\x20error','UNIVER_DOC','members$','originalMeta','/universer-api/user/session-ticket','pad','onTransformSelections','capture','editingUnit','requireSession','charAt','HEARTBEAT_INTERVAL','CHANGESET_SHOULD_RETRY','LOCAL_CACHE_INTERVAL','listCollaborators','EvpKDF','localeService','lib','location','CHANGESET_REJ','_disableEditing','_undoRedoService','_undoStacks','_keyPriorReset','createEncryptor','mixIn','_getUploadFileURL','OpenSSL','_transitionLocked','JOIN_ROOM_FULL','_transformRemoteChangesetByIMECache','IDLE','salt','Undefined','eventID','reqId','_loadDoc','/new_changes','toggleOffline','1309cMAqLj','_startCollaboration','getUnit','_socketMessageSubscription','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','getCurrentUser','[DataLoaderService]','[CollaborationUndoRedoService]','executeCommand','AUTHZ_URL_KEY','_createHandler','INVITE_CODE_REQUIRED','onMissingChangesets','FAIL','reduce','synced','_collaborationPaused','removeMember','members','_nDataBytes','MSG_FOR_ERROR','LICENSE_EXPORT_SIZE_EXCEEDED','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','_decreaseWaiting','_retryCount','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','blockSize','rev','Malformed\x20UTF-8\x20data','YUUMI_URL_COL_OUT_OF_RANGE','fetchThroughInterceptors','_timeoutTimer','putCollaborators','_clearRedo','setWaitCount','[UniverCollaborationClientPlugin]','random','_telemetryInfo','addHandlerCallback','localCacheService','catch','_initMergeInterceptor','code','withCredentials','_lockTransition','transformStack\x20failed!','csAckEvent','unsubscribe','title','_onUserJoin','onlyLocal','/universer-api/snapshot/','PasswordBasedCipher','setShowComponents','JOIN_ROOM_FAILED','_univerInstanceService','function','dispose$','toLowerCase','_transformStack','uploadFileServerUrl','headers','batchAllowed','_data','_showConflictNotification','getUnitId','getActiveSheet','_userManagerService','override','LOGIN_FAILED','liveShareOperation','execute','objects','reject','Hasher','includes','Utf8','_instanceService','encrypt','collabSubmitChangesetUrl','_clearScheduledTask','PERSON','DEFAULT_FILE_NAME','[SyncedState]:\x20received\x20acknowledgement.','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','abs','call','sessionStatus','_cipher','_injector','target','loadOfflineData','ONLINE','605919mDqxpY','revision','encode','_clearRetryConnectingTimer','_createInitialState','SNAPSHOT_SERVER_URL_KEY','_remoteChangesetQueue','_unitID','_schedule','_doCreateSocket','[CollaborationSession]','_exhaustRemoteChangesetQueue','ERROR_EXCEED_SIZE','534mnIZvu','APPLY_DUPLICATED','src','CLOSE_ROOM','enableOfflineEditing','UPDATE_CURSOR','Random\x20bytes\x20length\x20must\x20be\x20>=\x2016','HEARTBEAT_TIMEOUT','FETCH_MISS','_fetchMissChangesets','LICENSE_IMPORT_SIZE_EXCEEDED','onRemoteRej','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_HTTPService','transformChangesets','_localeService','_snapshotServerService','getCollabEntity$','WordArray','JOIN_ROOM_NOT_EXISTS','awaiting','OTHER_CLIENTS_EDITING','length','origin','_collaborationTimeoutTimer','/-/object/-/batch_allowed','size','/role','_reverseMap','Decryptor','[OfflineState]:\x20received\x20rejection.','pluginName','buffer','createDecryptor','toggleOnline','USERS_ENTER','_commentUpdate$','entries','LIVESHARE_NEW_HOST','/rev/','updateOfflineData','onRemoteRetry','Base','getTypeOfUnitAdded$','_imageSourceCache','_resendTimeout','APPLY_REJECT','_parse','4HeFOoo','appendMutation','[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.','image/jpeg','fromCollab','_retryConnectingTimer','now','defineProperty','list','LEAVE','dispose','get'];_0x24f8=function(){return _0x4fc8f8;};return _0x24f8();}var _0x4c3b0f=_0x5e8e;(function(_0x5d8928,_0x20803e){var _0x59a29d=_0x5e8e,_0x4014bb=_0x5d8928();while(!![]){try{var _0x1ca62d=parseInt(_0x59a29d(0x3e3))/0x1+-parseInt(_0x59a29d(0x28d))/0x2*(parseInt(_0x59a29d(0x1cf))/0x3)+-parseInt(_0x59a29d(0x420))/0x4*(parseInt(_0x59a29d(0x231))/0x5)+-parseInt(_0x59a29d(0x3f0))/0x6*(parseInt(_0x59a29d(0x386))/0x7)+parseInt(_0x59a29d(0x2e8))/0x8+-parseInt(_0x59a29d(0x456))/0x9+-parseInt(_0x59a29d(0x27d))/0xa;if(_0x1ca62d===_0x20803e)break;else _0x4014bb['push'](_0x4014bb['shift']());}catch(_0x402f59){_0x4014bb['push'](_0x4014bb['shift']());}}}(_0x24f8,0x56c37));var wi=Object['defineProperty'],Pi=(_0x40cf86,_0x547a6f,_0x274560)=>_0x547a6f in _0x40cf86?wi(_0x40cf86,_0x547a6f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x274560}):_0x40cf86[_0x547a6f]=_0x274560,N=(_0x4d4c5f,_0x24d25a,_0x47d380)=>Pi(_0x4d4c5f,typeof _0x24d25a!=_0x4c3b0f(0x1c1)?_0x24d25a+'':_0x24d25a,_0x47d380);import{createIdentifier as _0x5e3706,Inject as _0xd5eff8,Injector as _0x3fbbf1,IConfigService as _0x5d9548,ILogService as _0x269a14,Disposable as _0x9b0e7e,DisposableCollection as _0x13acb,toDisposable as _0x5d0773,IUniverInstanceService as _0x5f561f,UserManagerService as _0x486e20,UniverInstanceType as _0xd6e5c6,LocaleService as _0xf39570,Optional as _0x55e026,RxDisposable as _0x4391cf,Tools as _0x5260ce,Rectangle as _0x59a95c,ICommandService as _0x118563,JSONX as _0x36781e,CommandType as _0x6cf444,IUndoRedoService as _0x5056c7,IPermissionService as _0x1c0607,sequenceExecute as _0xccdc7e,Workbook as _0xa0de50,MentionType as _0x5769b6,isInternalEditorID as _0x5ad9e7,LocalUndoRedoService as _0x3a61bd,IContextService as _0x1b64b4,DependentOn as _0xb60319,Plugin as _0x157ebd,merge as _0x4d73f8,mergeOverrideWithDependencies as _0x387525,IAuthzIoService as _0x278ef7,IMentionIOService as _0x5a837a,registerDependencies as _0x2ef21f,Quantity as _0x415dad,touchDependencies as _0x589c37}from'@univerjs/core';import{Subject as _0x20a9ed,merge as _0x2f3e61,of as _0x5d144d,BehaviorSubject as _0x476957,takeUntil as _0x4b5a2e,ReplaySubject as _0x2c6d5d,take as _0x3b4e6b,map as _0x1368ff,shareReplay as _0x4daca0,firstValueFrom as _0x122ac1,concatMap as _0x5f271a}from'rxjs';import{map as _0x5c62b3,take as _0x5253bb,filter as _0x3ffd34,delay as _0x10c5cc,takeUntil as _0x5b8db9}from'rxjs/operators';import{CollaborationEvent as _0x420cf9,ISnapshotServerService as _0x4d9a76,parseChangesetToProtocol as _0x13948b,ITransformService as _0x599fa8,isTransformMutationsWithChangesetSuccess as _0x46e709,mapDocumentTypeToUniverType as _0x48ce8c,RevisionService as _0x564b28,isTransformChangesetsSuccess as _0x5c0883,CompressMutationService as _0x703fa5,parseProtocolChangeset as _0x3d214b,SnapshotService as _0x267df8,textEncoder as _0x5130df,b64DecodeUnicode as _0xaa15d3,isTransformMutationsWithChangesetFailure as _0x249585,UniverCollaborationPlugin as _0x2ac2d5}from'@univerjs-pro/collaboration';import{HTTPService as _0x279f52,ISocketService as _0x2d0799,MergeInterceptorFactory as _0x332f59,HTTPRequest as _0x2f0811,UniverNetworkPlugin as _0x357088,ThresholdInterceptorFactory as _0x257ea9}from'@univerjs/network';import{ITelemetryService as _0x31676f}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x272a4f}from'@univerjs/docs';import{SheetsSelectionsService as _0x125a16,SetSelectionsOperation as _0x3dc525,InsertSheetMutation as _0x14e87b,EmptyMutation as _0x49e3c7,WorkbookEditablePermission as _0x875595,SheetPermissionInitController as _0x38ba90}from'@univerjs/sheets';import{ImageSourceType as _0x3cc512,ImageUploadStatusType as _0x1b8322,IImageIoService as _0x2eaf0f}from'@univerjs/drawing';import{getGlobalObject as _0x28c20a}from'@univerjs-pro/license';const mn=_0x4c3b0f(0x3e8),gn=_0x4c3b0f(0x22e),Sn=_0x4c3b0f(0x268),Lr='SEND_CHANGESET_TIMEOUT',En=0x7d0,In='COLLAB_WEB_SOCKET_URL',Tn=_0x4c3b0f(0x274),xr=_0x4c3b0f(0x363),Cn=_0x4c3b0f(0x36a),Rn=0x7530,mi=_0x4c3b0f(0x3f7),gi=0x4e20,bn=0x4e20,On=_0x4c3b0f(0x309),yn=0x3,Mr=_0x4c3b0f(0x36c),kr=0x3e8,Nn=_0x4c3b0f(0x45d),Dn='/universer-api/comb',Un=_0x4c3b0f(0x346),An=_0x4c3b0f(0x338),$r=_0x4c3b0f(0x3fc),Hr='/universer-api/uniscript';var Si=(_0x3745a4=>(_0x3745a4[_0x3745a4[_0x4c3b0f(0x1dd)]=0x0]=_0x4c3b0f(0x1dd),_0x3745a4[_0x3745a4['OK']=0x1]='OK',_0x3745a4[_0x3745a4[_0x4c3b0f(0x2f4)]=0x2]='INTERNAL_ERROR',_0x3745a4[_0x3745a4[_0x4c3b0f(0x22a)]=0x3]=_0x4c3b0f(0x22a),_0x3745a4[_0x3745a4['NOT_FOUND']=0x4]=_0x4c3b0f(0x2fb),_0x3745a4[_0x3745a4[_0x4c3b0f(0x1c5)]=0x5]='UNAUTHENTICATED',_0x3745a4[_0x3745a4[_0x4c3b0f(0x34f)]=0x6]='ALREADY_EXISTS',_0x3745a4[_0x3745a4[_0x4c3b0f(0x1d9)]=0x7]='INVALID_ARGUMENT',_0x3745a4[_0x3745a4[_0x4c3b0f(0x256)]=0x8]='TOO_MANY_REQUESTS',_0x3745a4[_0x3745a4['COMPLETION_FINISHED']=0x9]='COMPLETION_FINISHED',_0x3745a4[_0x3745a4[_0x4c3b0f(0x3cb)]=0xa]=_0x4c3b0f(0x3cb),_0x3745a4[_0x3745a4['CHANGESET_REVISION_CONFILICT']=0x1389]='CHANGESET_REVISION_CONFILICT',_0x3745a4[_0x3745a4['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x4c3b0f(0x432),_0x3745a4[_0x3745a4[_0x4c3b0f(0x42f)]=0x1772]=_0x4c3b0f(0x42f),_0x3745a4[_0x3745a4['ENSURE_SNAPSHOT_EXECUTION']=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x3745a4[_0x3745a4[_0x4c3b0f(0x41e)]=0x1b59]=_0x4c3b0f(0x41e),_0x3745a4[_0x3745a4['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x4c3b0f(0x1da),_0x3745a4[_0x3745a4[_0x4c3b0f(0x43a)]=0x1b5b]=_0x4c3b0f(0x43a),_0x3745a4[_0x3745a4[_0x4c3b0f(0x2f5)]=0x1b5c]=_0x4c3b0f(0x2f5),_0x3745a4[_0x3745a4[_0x4c3b0f(0x3f1)]=0x1b5d]='APPLY_DUPLICATED',_0x3745a4[_0x3745a4[_0x4c3b0f(0x260)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x3745a4[_0x3745a4['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x3745a4[_0x3745a4['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x4c3b0f(0x26c),_0x3745a4[_0x3745a4['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x4c3b0f(0x3fa),_0x3745a4[_0x3745a4[_0x4c3b0f(0x39b)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x3745a4[_0x3745a4[_0x4c3b0f(0x48c)]=0x232d]=_0x4c3b0f(0x48c),_0x3745a4[_0x3745a4[_0x4c3b0f(0x446)]=0x2711]=_0x4c3b0f(0x446),_0x3745a4[_0x3745a4[_0x4c3b0f(0x3a3)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x3745a4[_0x3745a4[_0x4c3b0f(0x352)]=0x2713]=_0x4c3b0f(0x352),_0x3745a4[_0x3745a4[_0x4c3b0f(0x450)]=0x2714]=_0x4c3b0f(0x450),_0x3745a4[_0x3745a4[_0x4c3b0f(0x44c)]=0x271a]=_0x4c3b0f(0x44c),_0x3745a4[_0x3745a4[_0x4c3b0f(0x319)]=0x271b]=_0x4c3b0f(0x319),_0x3745a4[_0x3745a4['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x4c3b0f(0x356),_0x3745a4[_0x3745a4['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x3745a4[_0x3745a4[_0x4c3b0f(0x32b)]=0x2ee2]=_0x4c3b0f(0x32b),_0x3745a4[_0x3745a4[_0x4c3b0f(0x391)]=0x2ee3]=_0x4c3b0f(0x391),_0x3745a4[_0x3745a4[_0x4c3b0f(0x235)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x3745a4[_0x3745a4[_0x4c3b0f(0x2d0)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x3745a4[_0x3745a4[_0x4c3b0f(0x1d0)]=0x32c9]=_0x4c3b0f(0x1d0),_0x3745a4[_0x3745a4[_0x4c3b0f(0x349)]=0x32ca]=_0x4c3b0f(0x349),_0x3745a4[_0x3745a4[_0x4c3b0f(0x34e)]=0x32cb]=_0x4c3b0f(0x34e),_0x3745a4[_0x3745a4[_0x4c3b0f(0x336)]=-0x1]='UNRECOGNIZED',_0x3745a4))(Si||{}),Q=(_0x5abb6f=>(_0x5abb6f[_0x5abb6f['UNIVER_UNKNOWN']=0x0]=_0x4c3b0f(0x449),_0x5abb6f[_0x5abb6f[_0x4c3b0f(0x360)]=0x1]='UNIVER_DOC',_0x5abb6f[_0x5abb6f[_0x4c3b0f(0x439)]=0x2]=_0x4c3b0f(0x439),_0x5abb6f[_0x5abb6f[_0x4c3b0f(0x263)]=0x3]='UNIVER_SLIDE',_0x5abb6f[_0x5abb6f[_0x4c3b0f(0x25d)]=0x4]='UNIVER_PROJECT',_0x5abb6f[_0x5abb6f[_0x4c3b0f(0x336)]=-0x1]=_0x4c3b0f(0x336),_0x5abb6f))(Q||{}),F=(_0x313eef=>(_0x313eef[_0x313eef[_0x4c3b0f(0x2d5)]=0x0]=_0x4c3b0f(0x2d5),_0x313eef[_0x313eef[_0x4c3b0f(0x203)]=0x1]='HELLO',_0x313eef[_0x313eef[_0x4c3b0f(0x21e)]=0x2]=_0x4c3b0f(0x21e),_0x313eef[_0x313eef[_0x4c3b0f(0x429)]=0x3]=_0x4c3b0f(0x429),_0x313eef[_0x313eef[_0x4c3b0f(0x430)]=0x4]=_0x4c3b0f(0x430),_0x313eef[_0x313eef[_0x4c3b0f(0x290)]=0x5]=_0x4c3b0f(0x290),_0x313eef[_0x313eef['RECV']=0x6]=_0x4c3b0f(0x195),_0x313eef[_0x313eef[_0x4c3b0f(0x336)]=-0x1]='UNRECOGNIZED',_0x313eef))(F||{}),ge=(_0x3d3124=>(_0x3d3124[_0x3d3124[_0x4c3b0f(0x28e)]=0x0]=_0x4c3b0f(0x28e),_0x3d3124[_0x3d3124['OK']=0x1]='OK',_0x3d3124[_0x3d3124[_0x4c3b0f(0x393)]=0x2]=_0x4c3b0f(0x393),_0x3d3124[_0x3d3124[_0x4c3b0f(0x37c)]=0x3e9]=_0x4c3b0f(0x37c),_0x3d3124[_0x3d3124[_0x4c3b0f(0x403)]=0x3ea]=_0x4c3b0f(0x403),_0x3d3124[_0x3d3124[_0x4c3b0f(0x22f)]=0x3eb]='JOIN_ROOM_PERMISSION_DENIED',_0x3d3124[_0x3d3124[_0x4c3b0f(0x2c0)]=0x3ec]=_0x4c3b0f(0x2c0),_0x3d3124[_0x3d3124[_0x4c3b0f(0x336)]=-0x1]=_0x4c3b0f(0x336),_0x3d3124))(ge||{}),Ei=(_0x4a4180=>(_0x4a4180[_0x4a4180[_0x4c3b0f(0x380)]=0x0]=_0x4c3b0f(0x380),_0x4a4180[_0x4a4180[_0x4c3b0f(0x25a)]=0x1]=_0x4c3b0f(0x25a),_0x4a4180[_0x4a4180[_0x4c3b0f(0x29b)]=0x2]=_0x4c3b0f(0x29b),_0x4a4180[_0x4a4180[_0x4c3b0f(0x448)]=0x3]='UnitEmbedded',_0x4a4180[_0x4a4180[_0x4c3b0f(0x492)]=0x4]=_0x4c3b0f(0x492),_0x4a4180[_0x4a4180[_0x4c3b0f(0x2b3)]=0x5]=_0x4c3b0f(0x2b3),_0x4a4180[_0x4a4180[_0x4c3b0f(0x336)]=-0x1]=_0x4c3b0f(0x336),_0x4a4180))(Ei||{});const q=_0x4c3b0f(0x45e),wn={};var re=(_0x281628=>(_0x281628[_0x4c3b0f(0x300)]=_0x4c3b0f(0x300),_0x281628[_0x4c3b0f(0x22a)]=_0x4c3b0f(0x22a),_0x281628[_0x4c3b0f(0x47e)]=_0x4c3b0f(0x47e),_0x281628[_0x4c3b0f(0x3f3)]='CLOSE_ROOM',_0x281628['JOIN_ROOM_FAILED']=_0x4c3b0f(0x3bc),_0x281628[_0x4c3b0f(0x281)]=_0x4c3b0f(0x281),_0x281628[_0x4c3b0f(0x283)]=_0x4c3b0f(0x283),_0x281628['SUBMIT_CHANGESET_TIMEOUT']=_0x4c3b0f(0x2bb),_0x281628))(re||{});class pe{constructor(){var _0x1859d7=_0x4c3b0f;N(this,_0x1859d7(0x1e7),new _0x20a9ed()),N(this,'event$',this[_0x1859d7(0x1e7)][_0x1859d7(0x236)]());}[_0x4c3b0f(0x334)](_0x4f0965){var _0x43ec68=_0x4c3b0f;this[_0x43ec68(0x1e7)][_0x43ec68(0x340)](_0x4f0965);}}const Pn=_0x5e3706(_0x4c3b0f(0x1b9));function Ln(_0x46c35c){var _0x467214=_0x4c3b0f,_0x46dc58,_0x1e724c,_0x21e597,_0x41e366,_0x1b2d02;const _0x5b4b5f=_0x46c35c['data'],_0x598e04=JSON[_0x467214(0x26a)](_0x5b4b5f);switch(_0x598e04[_0x467214(0x460)]){case F['HEARTBEAT']:case F[_0x467214(0x203)]:{const _0x194b8a=_0x598e04[_0x467214(0x482)];return{..._0x598e04,'data':_0x194b8a,'cmd':_0x598e04[_0x467214(0x460)]};}case F[_0x467214(0x21e)]:{const _0x29c8cc=_0x598e04[_0x467214(0x2ef)];return{..._0x598e04,'data':_0x29c8cc,'cmd':_0x598e04[_0x467214(0x460)]};}case F[_0x467214(0x195)]:{const _0x5154e8=_0x598e04[_0x467214(0x2dc)];switch(_0x5154e8[_0x467214(0x381)]){case _0x420cf9[_0x467214(0x1b0)]:return{..._0x598e04,'data':{..._0x5154e8,'data':(_0x46dc58=_0x5154e8[_0x467214(0x31e)])==null?void 0x0:_0x46dc58['cs']},'cmd':_0x598e04['cmd']};case _0x420cf9[_0x467214(0x23b)]:return{..._0x598e04,'data':{..._0x5154e8,'data':(_0x1e724c=_0x5154e8[_0x467214(0x3b4)])==null?void 0x0:_0x1e724c['cs']},'cmd':_0x598e04['cmd']};case _0x420cf9[_0x467214(0x488)]:return{..._0x598e04,'data':{..._0x5154e8,'data':(_0x21e597=_0x5154e8[_0x467214(0x2a2)])==null?void 0x0:_0x21e597['cs']},'cmd':_0x598e04[_0x467214(0x460)]};case _0x420cf9['CHANGESET_REJ']:return{..._0x598e04,'data':{..._0x5154e8,'data':(_0x41e366=_0x5154e8['csRejEvent'])==null?void 0x0:_0x41e366['cs']},'cmd':_0x598e04[_0x467214(0x460)]};case _0x420cf9[_0x467214(0x36b)]:return{..._0x598e04,'data':{..._0x5154e8,'data':(_0x1b2d02=_0x5154e8[_0x467214(0x1e0)])==null?void 0x0:_0x1b2d02['cs']},'cmd':_0x598e04[_0x467214(0x460)]};case _0x420cf9[_0x467214(0x3f5)]:return{..._0x598e04,'data':{..._0x5154e8,'data':_0x5154e8[_0x467214(0x436)]},'cmd':_0x598e04['cmd']};case _0x420cf9[_0x467214(0x413)]:return{..._0x598e04,'data':{..._0x5154e8,'data':_0x5154e8[_0x467214(0x2e7)]},'cmd':_0x598e04[_0x467214(0x460)]};case _0x420cf9[_0x467214(0x24e)]:return{..._0x598e04,'data':{..._0x5154e8,'data':_0x5154e8[_0x467214(0x293)]},'cmd':_0x598e04[_0x467214(0x460)]};case _0x420cf9['LIVESHARE_NEW_HOST']:return{..._0x598e04,'data':{..._0x5154e8,'data':_0x5154e8[_0x467214(0x20a)]},'cmd':_0x598e04['cmd']};case _0x420cf9[_0x467214(0x322)]:case _0x420cf9[_0x467214(0x241)]:return{..._0x598e04,'data':{..._0x5154e8,'data':_0x5154e8[_0x467214(0x3cc)]},'cmd':_0x598e04[_0x467214(0x460)]};case _0x420cf9[_0x467214(0x32d)]:return{..._0x598e04,'data':{..._0x5154e8,'data':_0x5154e8[_0x467214(0x20a)]},'cmd':_0x598e04[_0x467214(0x460)]};case _0x420cf9[_0x467214(0x39a)]:return{..._0x598e04,'data':_0x5154e8,'cmd':_0x598e04[_0x467214(0x460)]};case _0x420cf9['COMMENT_UPDATE']:return{..._0x598e04,'data':{..._0x5154e8,'data':_0x5154e8[_0x467214(0x476)]},'cmd':_0x598e04[_0x467214(0x460)]};case _0x420cf9[_0x467214(0x22c)]:return{..._0x598e04,'data':{..._0x5154e8,'data':_0x5154e8[_0x467214(0x47f)]},'cmd':_0x598e04[_0x467214(0x460)]};case _0x420cf9[_0x467214(0x459)]:return{..._0x598e04,'data':{..._0x5154e8,'data':_0x5154e8[_0x467214(0x24a)]},'cmd':_0x598e04[_0x467214(0x460)]};case _0x420cf9[_0x467214(0x32f)]:return{..._0x598e04,'data':{..._0x5154e8,'data':_0x5154e8[_0x467214(0x25f)]},'cmd':_0x598e04[_0x467214(0x460)]};default:return _0x598e04;}}default:return _0x598e04;}}function xn(_0x56fd77){var _0x186e1e=_0x4c3b0f;switch(_0x56fd77[_0x186e1e(0x460)]){case F[_0x186e1e(0x290)]:case F[_0x186e1e(0x203)]:return JSON[_0x186e1e(0x497)]({'cmd':_0x56fd77[_0x186e1e(0x460)],'routeKey':_0x56fd77[_0x186e1e(0x351)]});case F[_0x186e1e(0x430)]:{let _0x2a9861;switch(_0x56fd77['data'][_0x186e1e(0x381)]){case _0x420cf9['UPDATE_CURSOR']:{_0x2a9861={'eventID':_0x420cf9[_0x186e1e(0x3f5)],'updateCursorEvent':_0x56fd77[_0x186e1e(0x2f8)][_0x186e1e(0x2f8)]};break;}case _0x420cf9[_0x186e1e(0x24e)]:{_0x2a9861={'eventID':_0x420cf9[_0x186e1e(0x24e)],'leaveEvent':_0x56fd77[_0x186e1e(0x2f8)][_0x186e1e(0x2f8)]};break;}case _0x420cf9['USERS_ENTER']:{_0x2a9861={'eventID':_0x420cf9[_0x186e1e(0x413)],'joinEvent':_0x56fd77[_0x186e1e(0x2f8)][_0x186e1e(0x2f8)]};break;}case _0x420cf9['LIVESHARE_NEW_HOST']:{_0x2a9861={'eventID':_0x420cf9[_0x186e1e(0x416)],'liveShareNewHost':_0x56fd77[_0x186e1e(0x2f8)]['data']};break;}case _0x420cf9[_0x186e1e(0x241)]:{_0x2a9861={'eventID':_0x420cf9[_0x186e1e(0x241)],'liveShareOperation':_0x56fd77[_0x186e1e(0x2f8)][_0x186e1e(0x2f8)]};break;}case _0x420cf9[_0x186e1e(0x32d)]:{_0x2a9861={'eventID':_0x420cf9['LIVESHARE_TERMINATE'],'liveShareTerminate':_0x56fd77[_0x186e1e(0x2f8)]['data']};break;}case _0x420cf9[_0x186e1e(0x2e0)]:{_0x2a9861={'eventID':_0x420cf9['LIVESHARE_REQUEST_HOST'],'liveShareRequestHost':_0x56fd77['data']['data']};break;}case _0x420cf9[_0x186e1e(0x322)]:{_0x2a9861={'eventID':_0x420cf9[_0x186e1e(0x322)]};break;}default:_0x2a9861={'eventID':_0x56fd77[_0x186e1e(0x2f8)][_0x186e1e(0x381)]};}return JSON[_0x186e1e(0x497)]({'cmd':_0x56fd77['cmd'],'routeKey':_0x56fd77[_0x186e1e(0x351)],'collaMsg':_0x2a9861});}case F[_0x186e1e(0x21e)]:return JSON[_0x186e1e(0x497)]({'cmd':_0x56fd77['cmd'],'routeKey':_0x56fd77[_0x186e1e(0x351)],'joinReq':_0x56fd77[_0x186e1e(0x2f8)]});case F[_0x186e1e(0x429)]:return JSON['stringify']({'cmd':_0x56fd77[_0x186e1e(0x460)],'routeKey':_0x56fd77[_0x186e1e(0x351)],'leaveReq':_0x56fd77['data']});default:throw new Error(_0x186e1e(0x307));}}var Mn=Object[_0x4c3b0f(0x304)],kn=(_0x41e05b,_0x33f2b1,_0x4f79e9,_0x4e74c7)=>{var _0x4d91cf=_0x4c3b0f;for(var _0x1b21ea=_0x4e74c7>0x1?void 0x0:_0x4e74c7?Mn(_0x33f2b1,_0x4f79e9):_0x33f2b1,_0x11ae0f=_0x41e05b[_0x4d91cf(0x406)]-0x1,_0x1e751a;_0x11ae0f>=0x0;_0x11ae0f--)(_0x1e751a=_0x41e05b[_0x11ae0f])&&(_0x1b21ea=_0x1e751a(_0x1b21ea)||_0x1b21ea);return _0x1b21ea;},Ae=(_0x287dfd,_0xf5426f)=>(_0xfa7f83,_0x43bd3a)=>_0xf5426f(_0xfa7f83,_0x43bd3a,_0x287dfd);const Ii=_0x5e3706(_0x4c3b0f(0x434));function $n(_0x42df91,_0x24e7fe,_0x13b650){var _0x560677=_0x4c3b0f;return _0x42df91+'/'+_0x24e7fe+_0x560677(0x2b5)+_0x13b650+_0x560677(0x384);}let Gt=class extends _0x9b0e7e{constructor(_0x5d1871,_0x49ff66,_0x27c970,_0x1e8c28,_0x405103){var _0x4f9713=_0x4c3b0f;super(),this[_0x4f9713(0x3df)]=_0x5d1871,this['_httpService']=_0x49ff66,this[_0x4f9713(0x1b8)]=_0x27c970,this[_0x4f9713(0x23f)]=_0x1e8c28,this[_0x4f9713(0x400)]=_0x405103;}[_0x4c3b0f(0x3ec)](_0x4e8901){var _0x5beb6b=_0x4c3b0f;const _0x52b032=this[_0x5beb6b(0x3df)][_0x5beb6b(0x42b)](_0x2d0799);if(!_0x52b032)throw new Error(_0x5beb6b(0x499));const _0x2e9cab=_0x52b032[_0x5beb6b(0x214)](_0x4e8901);if(!_0x2e9cab)throw new Error(_0x5beb6b(0x2c8));const _0x3f67bd=new _0x13acb(),_0xa943ba=new _0x20a9ed();_0x3f67bd['add'](_0x2e9cab[_0x5beb6b(0x2e1)][_0x5beb6b(0x2d4)](_0x1f9ab5=>_0xa943ba['next'](_0x1f9ab5))),_0x3f67bd['add'](_0x5d0773(()=>_0xa943ba[_0x5beb6b(0x219)]()));const _0x192b87=new _0x20a9ed();_0x3f67bd[_0x5beb6b(0x259)](_0x2e9cab['error$'][_0x5beb6b(0x2d4)](_0x1d10e2=>_0x192b87['next'](_0x1d10e2))),_0x3f67bd['add'](_0x5d0773(()=>_0x192b87['complete']()));const _0x2e133e=new _0x20a9ed();_0x3f67bd[_0x5beb6b(0x259)](_0x2e9cab[_0x5beb6b(0x2bd)][_0x5beb6b(0x2d4)](_0x3e32a2=>{const _0xee2c4d=Ln(_0x3e32a2);_0x2e133e['next'](_0xee2c4d);})),_0x3f67bd['add'](_0x5d0773(()=>_0x2e133e[_0x5beb6b(0x219)]()));let _0xc6313c;const _0x1ad5dc=()=>{var _0x5c4c01=_0x5beb6b;_0x192b87[_0x5c4c01(0x340)](new Event(_0x5c4c01(0x35f))),_0xa943ba['next'](new Event('connection\x20error')),_0xc6313c[_0x5c4c01(0x2bf)]();};return _0xc6313c={'memberID':'','close$':_0xa943ba[_0x5beb6b(0x236)](),'error$':_0x192b87[_0x5beb6b(0x236)](),'open$':_0x2e9cab[_0x5beb6b(0x311)],'message$':_0x2e133e['asObservable'](),'send':_0x2579f9=>{var _0x2853ca=_0x5beb6b;if(_0x2579f9[_0x2853ca(0x460)]===F[_0x2853ca(0x430)]){if(_0x2579f9[_0x2853ca(0x2f8)][_0x2853ca(0x381)]===_0x420cf9[_0x2853ca(0x468)]){this['_submitChangeset'](_0xc6313c,_0x2579f9[_0x2853ca(0x2f8)])[_0x2853ca(0x3ae)](_0x4604de=>{var _0x595d93=_0x2853ca;this['_logService'][_0x595d93(0x1ab)](_0x4604de),_0x1ad5dc();});return;}if(_0x2579f9[_0x2853ca(0x2f8)]['eventID']===_0x420cf9[_0x2853ca(0x227)]){const _0x23339c=_0x2579f9[_0x2853ca(0x2f8)];this[_0x2853ca(0x3f9)](_0x23339c)[_0x2853ca(0x2f3)](_0x4c54ab=>{var _0x8417fb=_0x2853ca;_0x2e133e[_0x8417fb(0x340)]({'cmd':F[_0x8417fb(0x195)],'code':ge['OK'],'routeKey':_0x23339c[_0x8417fb(0x2f8)][_0x8417fb(0x285)],'routeType':'','data':{'eventID':_0x420cf9['PSEUDO_FETCH_MISSING_RESULT'],'data':{'changesets':_0x4c54ab}}});})[_0x2853ca(0x3ae)](_0x75d83c=>{var _0x2340d0=_0x2853ca;this[_0x2340d0(0x23f)][_0x2340d0(0x1ab)](_0x75d83c),_0x1ad5dc();});return;}}_0x2e9cab[_0x2853ca(0x43e)](xn(_0x2579f9));},'close':()=>{var _0x4494f1=_0x5beb6b;_0x2e9cab[_0x4494f1(0x2bf)](),_0x3f67bd[_0x4494f1(0x42a)]();}},_0xc6313c;}async['_submitChangeset'](_0x2e2fbf,_0x1c4946){var _0x46a3a1=_0x4c3b0f,_0xab1df6,_0x55210a;const {unitType:_0x20b395,unitID:_0x3c90f3,changeset:_0x3839f2}=_0x1c4946['data'],_0xfbb25={'unitID':_0x3c90f3,'memberID':_0x2e2fbf[_0x46a3a1(0x2d8)],'type':_0x20b395,'changeset':_0x13948b(_0x3839f2)},_0x68458b=this[_0x46a3a1(0x1b8)][_0x46a3a1(0x207)](Nn),_0x5dffaf=this[_0x46a3a1(0x1b8)][_0x46a3a1(0x207)](q),_0x7e504e=$n((_0x55210a=(_0xab1df6=_0x5dffaf==null?void 0x0:_0x5dffaf[_0x46a3a1(0x3d5)])!=null?_0xab1df6:_0x68458b)!=null?_0x55210a:Dn,_0x20b395,_0x3c90f3);try{await this[_0x46a3a1(0x447)][_0x46a3a1(0x1f3)](_0x7e504e,{'body':_0xfbb25});}catch(_0x2067b8){throw this[_0x46a3a1(0x23f)][_0x46a3a1(0x1ab)]('[CollaborationSession]',_0x46a3a1(0x433)),_0x2067b8;}}async[_0x4c3b0f(0x3f9)](_0x47cdea){var _0x246a45=_0x4c3b0f;const {unitID:_0x15f112,from:_0xdcf5a9,to:_0x37e729,unitType:_0x3e7aab}=_0x47cdea[_0x246a45(0x2f8)];return(await this[_0x246a45(0x400)]['fetchMissingChangesets']({'metadata':void 0x0},{'unitID':_0x15f112,'type':_0x3e7aab,'from':_0xdcf5a9,'to':_0x37e729}))[_0x246a45(0x29e)];}};Gt=kn([Ae(0x0,_0xd5eff8(_0x3fbbf1)),Ae(0x1,_0xd5eff8(_0x279f52)),Ae(0x2,_0x5d9548),Ae(0x3,_0x269a14),Ae(0x4,_0x4d9a76)],Gt);const Hn=_0x4c3b0f(0x19e);function Bn(_0x96d764){return JSON['stringify'](_0x96d764)['length'];}class Ti{constructor(){var _0x2827ba=_0x4c3b0f;N(this,_0x2827ba(0x414),new _0x20a9ed()),N(this,_0x2827ba(0x1f8),this[_0x2827ba(0x414)][_0x2827ba(0x236)]());}[_0x4c3b0f(0x35b)](_0x4e4a12){this['_commentUpdate$']['next'](_0x4e4a12);}}var jn=Object[_0x4c3b0f(0x304)],Fn=(_0x24bcb6,_0x3fcf51,_0x358523,_0x5dd27b)=>{var _0x2acf7e=_0x4c3b0f;for(var _0xf47c0d=_0x5dd27b>0x1?void 0x0:_0x5dd27b?jn(_0x3fcf51,_0x358523):_0x3fcf51,_0x29a82b=_0x24bcb6[_0x2acf7e(0x406)]-0x1,_0x395a3c;_0x29a82b>=0x0;_0x29a82b--)(_0x395a3c=_0x24bcb6[_0x29a82b])&&(_0xf47c0d=_0x395a3c(_0xf47c0d)||_0xf47c0d);return _0xf47c0d;},Wt=(_0x38be0f,_0x42ef36)=>(_0x322ba3,_0x2cd9a1)=>_0x42ef36(_0x322ba3,_0x2cd9a1,_0x38be0f);let Le=class extends _0x9b0e7e{constructor(_0x5b8f78,_0x4e37fc){var _0x4cb117=_0x4c3b0f;super(),N(this,'_roomMembers',new Map()),N(this,_0x4cb117(0x1b2),new _0x20a9ed()),(this[_0x4cb117(0x3bd)]=_0x5b8f78,this['_userManagerService']=_0x4e37fc,this['disposeWithMe'](_0x2f3e61(this['_univerInstanceService'][_0x4cb117(0x2ee)](_0xd6e5c6['UNIVER_SHEET'])['pipe'](_0x5c62b3(_0x352901=>_0x352901['getUnitId']())),this[_0x4cb117(0x3bd)][_0x4cb117(0x2ee)](_0xd6e5c6['UNIVER_DOC'])[_0x4cb117(0x21a)](_0x5c62b3(_0x247354=>_0x247354[_0x4cb117(0x3c7)]())),this[_0x4cb117(0x3bd)][_0x4cb117(0x2ee)](_0xd6e5c6[_0x4cb117(0x263)])['pipe'](_0x5c62b3(_0x1dca4a=>_0x1dca4a[_0x4cb117(0x3c7)]())))[_0x4cb117(0x2d4)](_0x2e5c5d=>this['_removeRoom'](_0x2e5c5d))));}[_0x4c3b0f(0x303)](_0x5699ae){var _0x2daf7e=_0x4c3b0f;return this[_0x2daf7e(0x42c)]['has'](_0x5699ae)?_0x5d144d(this[_0x2daf7e(0x42c)]['get'](_0x5699ae)):this[_0x2daf7e(0x1b2)][_0x2daf7e(0x21a)](_0x5c62b3(_0x2f4110=>{var _0xaac8bc=_0x2daf7e;if(_0x2f4110===_0x5699ae)return this[_0xaac8bc(0x42c)]['get'](_0x2f4110);}));}[_0x4c3b0f(0x477)](_0x321a26){var _0x3669e9=_0x4c3b0f;this['_userManagerService'][_0x3669e9(0x477)](_0x321a26);}['getCurrentUser'](){var _0x435183=_0x4c3b0f;return this[_0x435183(0x3c9)]['getCurrentUser']();}[_0x4c3b0f(0x49d)](_0x4df3f9,_0x2f06b9){var _0xeef1b=_0x4c3b0f;let _0x61573e=this[_0xeef1b(0x42c)][_0xeef1b(0x42b)](_0x4df3f9);_0x61573e||(_0x61573e=new Vn(),this[_0xeef1b(0x42c)]['set'](_0x4df3f9,_0x61573e),this[_0xeef1b(0x1b2)][_0xeef1b(0x340)](_0x4df3f9)),_0x61573e[_0xeef1b(0x49d)](_0x2f06b9);}[_0x4c3b0f(0x397)](_0x42c115,_0x330a46){var _0x25efa2=_0x4c3b0f;const _0xd7e421=this[_0x25efa2(0x42c)][_0x25efa2(0x42b)](_0x42c115);_0xd7e421&&_0xd7e421[_0x25efa2(0x397)](_0x330a46);}[_0x4c3b0f(0x266)](_0x5ccfea){var _0x57138c=_0x4c3b0f;return this[_0x57138c(0x42c)][_0x57138c(0x42b)](_0x5ccfea);}['getMember'](_0x396d97,_0x40b5fd){var _0x3fb4ee=_0x4c3b0f;const _0x24a04c=this[_0x3fb4ee(0x42c)][_0x3fb4ee(0x42b)](_0x396d97);if(_0x24a04c)return _0x24a04c[_0x3fb4ee(0x2e6)](_0x40b5fd);}[_0x4c3b0f(0x276)](_0x170d16){var _0x5cdaae=_0x4c3b0f;const _0x464823=this[_0x5cdaae(0x42c)]['get'](_0x170d16);_0x464823&&(_0x464823['dispose'](),this['_roomMembers'][_0x5cdaae(0x19f)](_0x170d16));}['dispose'](){var _0x14dbfb=_0x4c3b0f;this['_roomMembers'][_0x14dbfb(0x1ba)](_0x2bb476=>_0x2bb476[_0x14dbfb(0x42a)]()),this[_0x14dbfb(0x42c)][_0x14dbfb(0x28c)](),this[_0x14dbfb(0x1b2)][_0x14dbfb(0x219)]();}};Le=Fn([Wt(0x0,_0x5f561f),Wt(0x1,_0xd5eff8(_0x486e20))],Le);class Vn extends _0x9b0e7e{constructor(){var _0x581607=_0x4c3b0f;super(...arguments),N(this,'_members',new Map()),N(this,_0x581607(0x232),new _0x476957(this[_0x581607(0x2eb)])),N(this,_0x581607(0x361),this[_0x581607(0x232)]['asObservable']());}[_0x4c3b0f(0x42a)](){var _0x174764=_0x4c3b0f;this[_0x174764(0x2eb)][_0x174764(0x28c)]();}[_0x4c3b0f(0x49d)](_0x519497){var _0x358d2b=_0x4c3b0f;this[_0x358d2b(0x2eb)]['set'](_0x519497[_0x358d2b(0x2d8)],_0x519497),this[_0x358d2b(0x44f)]();}[_0x4c3b0f(0x397)](_0xecdb85){this['_members']['delete'](_0xecdb85);}[_0x4c3b0f(0x2e6)](_0x396130){var _0x1a33f4=_0x4c3b0f;return this[_0x1a33f4(0x2eb)][_0x1a33f4(0x42b)](_0x396130);}['getAllMembers'](){var _0x35010e=_0x4c3b0f;return Array[_0x35010e(0x20e)](this['_members'][_0x35010e(0x27f)]());}[_0x4c3b0f(0x44f)](){var _0x24dbd5=_0x4c3b0f;this['_members$'][_0x24dbd5(0x340)](this[_0x24dbd5(0x2eb)]);}}var Gn=Object[_0x4c3b0f(0x304)],Wn=(_0x1c6293,_0x397e50,_0x3c47f6,_0x5a8a41)=>{var _0x1b6ab2=_0x4c3b0f;for(var _0x28276a=_0x5a8a41>0x1?void 0x0:_0x5a8a41?Gn(_0x397e50,_0x3c47f6):_0x397e50,_0x3ab78e=_0x1c6293[_0x1b6ab2(0x406)]-0x1,_0x460177;_0x3ab78e>=0x0;_0x3ab78e--)(_0x460177=_0x1c6293[_0x3ab78e])&&(_0x28276a=_0x460177(_0x28276a)||_0x28276a);return _0x28276a;},me=(_0x174123,_0x32790a)=>(_0x18897c,_0x3f39b6)=>_0x32790a(_0x18897c,_0x3f39b6,_0x174123),Ee=(_0x10e3e7=>(_0x10e3e7[_0x10e3e7[_0x4c3b0f(0x37e)]=0x0]=_0x4c3b0f(0x37e),_0x10e3e7[_0x10e3e7[_0x4c3b0f(0x2bc)]=0x1]='JOINING',_0x10e3e7[_0x10e3e7['OFFLINE']=0x2]='OFFLINE',_0x10e3e7[_0x10e3e7[_0x4c3b0f(0x3e2)]=0x3]=_0x4c3b0f(0x3e2),_0x10e3e7))(Ee||{});const Kt={[ge[_0x4c3b0f(0x393)]]:'session.join-failed',[ge[_0x4c3b0f(0x37c)]]:'session.room-full',[ge['JOIN_ROOM_NOT_EXISTS']]:_0x4c3b0f(0x257),[ge['JOIN_ROOM_PERMISSION_DENIED']]:'session.room-permission-denied',[ge[_0x4c3b0f(0x2c0)]]:'session.room-cnt-exceeds'};let Et=class extends _0x4391cf{constructor(_0x27a253,_0x41e9d3,_0x422728,_0x4a9ea6,_0x4c6ece,_0x1fb9b2,_0x45f42f,_0x3d3c8b,_0x3f1b52){var _0x4c215e=_0x4c3b0f;super(),N(this,_0x4c215e(0x329),new _0x476957(0x0)),N(this,_0x4c215e(0x2ad),this['_sessionStatus$'][_0x4c215e(0x236)]()),N(this,_0x4c215e(0x1e7),new _0x20a9ed()),N(this,_0x4c215e(0x31b),this['_event$'][_0x4c215e(0x236)]()),N(this,'_socket'),N(this,'_socketMessageSubscription'),N(this,_0x4c215e(0x408)),N(this,_0x4c215e(0x43b),!0x1),N(this,_0x4c215e(0x3ab),null),(this['_unitID']=_0x27a253,this[_0x4c215e(0x23f)]=_0x422728,this[_0x4c215e(0x1b8)]=_0x4a9ea6,this[_0x4c215e(0x3ff)]=_0x4c6ece,this[_0x4c215e(0x296)]=_0x1fb9b2,this[_0x4c215e(0x2b2)]=_0x45f42f,this[_0x4c215e(0x431)]=_0x3d3c8b,this[_0x4c215e(0x1e2)]=_0x3f1b52,this[_0x4c215e(0x43b)]=!!this[_0x4c215e(0x1e2)],_0x41e9d3[_0x4c215e(0x21a)](_0x4b5a2e(this[_0x4c215e(0x3bf)]))[_0x4c215e(0x2d4)](_0x1234bb=>{var _0x337c46=_0x4c215e,_0x195de6;typeof _0x1234bb>'u'||(this['_socket']=_0x1234bb,_0x1234bb?(this[_0x337c46(0x1a8)](_0x1234bb),this[_0x337c46(0x389)]=_0x1234bb[_0x337c46(0x2bd)][_0x337c46(0x2d4)](_0x207ba6=>{var _0x156fe4=_0x337c46;_0x207ba6['routeKey']===this[_0x156fe4(0x3ea)]&&this[_0x156fe4(0x330)](_0x207ba6);})):(this[_0x337c46(0x46c)](),this[_0x337c46(0x329)][_0x337c46(0x340)](0x2),(_0x195de6=this[_0x337c46(0x389)])==null||_0x195de6[_0x337c46(0x3b5)](),this[_0x337c46(0x389)]=null));}));}get[_0x4c3b0f(0x3dd)](){var _0x33b7be=_0x4c3b0f;return this['_sessionStatus$'][_0x33b7be(0x27e)]();}['getMemberID'](){var _0xb5133b=_0x4c3b0f,_0x6febe4,_0x5e527b;return(_0x5e527b=(_0x6febe4=this[_0xb5133b(0x1f0)])==null?void 0x0:_0x6febe4[_0xb5133b(0x2d8)])!=null?_0x5e527b:null;}[_0x4c3b0f(0x42a)](){var _0x260014=_0x4c3b0f;super['dispose'](),this['dispose$'][_0x260014(0x340)](),this['dispose$'][_0x260014(0x219)]();}[_0x4c3b0f(0x2bf)](){var _0x21822e=_0x4c3b0f,_0x4d0f54,_0x23ffe6;this[_0x21822e(0x46c)](),(_0x4d0f54=this['_socket'])==null||_0x4d0f54[_0x21822e(0x43e)]({'cmd':F['LEAVE'],'data':{'roomID':this[_0x21822e(0x3ea)]}}),(_0x23ffe6=this[_0x21822e(0x1f0)])==null||_0x23ffe6[_0x21822e(0x2bf)](),this[_0x21822e(0x1e7)][_0x21822e(0x219)](),this[_0x21822e(0x329)][_0x21822e(0x219)](),this['dispose']();}[_0x4c3b0f(0x330)](_0x1a2447){var _0x35eba6=_0x4c3b0f;_0x1a2447[_0x35eba6(0x460)]===F[_0x35eba6(0x21e)]?this[_0x35eba6(0x1d5)](_0x1a2447):_0x1a2447['cmd']===F[_0x35eba6(0x195)]&&this[_0x35eba6(0x1ad)](_0x1a2447);}[_0x4c3b0f(0x1a8)](_0x2e8a16){var _0x4e670e=_0x4c3b0f;this[_0x4e670e(0x329)][_0x4e670e(0x340)](0x1),_0x2e8a16['send']({'cmd':F[_0x4e670e(0x21e)],'routeKey':this[_0x4e670e(0x3ea)],'routeType':'','data':{'rooms':[{'roomID':this[_0x4e670e(0x3ea)]}]}});}[_0x4c3b0f(0x1d5)](_0x416e4c){var _0x3fea0a=_0x4c3b0f,_0x1729ed;if(_0x416e4c[_0x3fea0a(0x3b0)]in Kt){this[_0x3fea0a(0x431)][_0x3fea0a(0x334)]({'id':re[_0x3fea0a(0x3bc)],'data':Kt[_0x416e4c['code']]}),this[_0x3fea0a(0x329)][_0x3fea0a(0x340)](0x2);return;}this['_sessionStatus$'][_0x3fea0a(0x340)](0x3);const _0x4de046=(_0x1729ed=_0x416e4c[_0x3fea0a(0x2f8)][_0x3fea0a(0x277)][this['_unitID']])==null?void 0x0:_0x1729ed[_0x3fea0a(0x398)];_0x4de046&&_0x4de046[_0x3fea0a(0x1ba)](_0x2797d2=>this[_0x3fea0a(0x296)][_0x3fea0a(0x49d)](this[_0x3fea0a(0x3ea)],_0x2797d2));}[_0x4c3b0f(0x1ad)](_0x58d580){var _0x394e55=_0x4c3b0f;try{const _0x3beef6=_0x58d580['data'];switch(_0x3beef6[_0x394e55(0x381)]){case _0x420cf9[_0x394e55(0x413)]:this[_0x394e55(0x3b7)](_0x3beef6),this['_event$'][_0x394e55(0x340)](_0x3beef6);break;case _0x420cf9[_0x394e55(0x24e)]:this[_0x394e55(0x470)](_0x3beef6),this[_0x394e55(0x1e7)][_0x394e55(0x340)](_0x3beef6);break;case _0x420cf9[_0x394e55(0x23b)]:case _0x420cf9[_0x394e55(0x36b)]:this[_0x394e55(0x1e3)](),this[_0x394e55(0x1ac)](),this['_event$']['next'](_0x3beef6);break;case _0x420cf9[_0x394e55(0x39a)]:this[_0x394e55(0x23f)]['error'](_0x394e55(0x289)+JSON[_0x394e55(0x497)](_0x3beef6)),this['_event$'][_0x394e55(0x340)](_0x3beef6);break;case _0x420cf9[_0x394e55(0x21f)]:this[_0x394e55(0x2b2)][_0x394e55(0x35b)](_0x3beef6[_0x394e55(0x2f8)]),this[_0x394e55(0x1e7)][_0x394e55(0x340)](_0x3beef6);break;default:this[_0x394e55(0x1e7)]['next'](_0x3beef6);}}catch(_0x4e5e67){this['_logService'][_0x394e55(0x1ab)](_0x4e5e67,_0x58d580);}}['_onUserJoin'](_0x3a2cbb){var _0x1dc1fb=_0x4c3b0f;this[_0x1dc1fb(0x296)][_0x1dc1fb(0x49d)](this[_0x1dc1fb(0x3ea)],_0x3a2cbb[_0x1dc1fb(0x2f8)]);}[_0x4c3b0f(0x470)](_0x5b35b0){var _0x429b27=_0x4c3b0f;this['_memberService'][_0x429b27(0x397)](this[_0x429b27(0x3ea)],_0x5b35b0[_0x429b27(0x2f8)][_0x429b27(0x2d8)]);}async['send'](_0x4089ac,_0x2f492f){var _0x228321=_0x4c3b0f;if(this[_0x228321(0x3dd)]!==0x3||!this['_socket'])throw new Error(_0x228321(0x39f));try{_0x4089ac['eventID']===_0x420cf9[_0x228321(0x468)]&&(this[_0x228321(0x341)](),this[_0x228321(0x2c9)](_0x4089ac)),this['_socket']['send']({'cmd':F['INGEST'],'routeKey':_0x2f492f,'routeType':'','data':_0x4089ac});}catch(_0x190c0f){this[_0x228321(0x23f)][_0x228321(0x1ab)](_0x190c0f);}}[_0x4c3b0f(0x341)](){var _0xccc7c5=_0x4c3b0f,_0x957d64;this[_0xccc7c5(0x408)]=setTimeout(()=>{var _0x1460c4=_0xccc7c5;this[_0x1460c4(0x408)]=null,this[_0x1460c4(0x431)][_0x1460c4(0x334)]({'id':re['SUBMIT_CHANGESET_TIMEOUT']});},(_0x957d64=this[_0xccc7c5(0x1b8)]['getConfig'](mi))!=null?_0x957d64:gi);}[_0x4c3b0f(0x1ac)](){var _0x10a48c=_0x4c3b0f;this[_0x10a48c(0x408)]&&(clearTimeout(this['_collaborationTimeoutTimer']),this[_0x10a48c(0x408)]=null);}[_0x4c3b0f(0x2c9)](_0x52f07e){var _0x29967f=_0x4c3b0f;if(!this[_0x29967f(0x43b)])return;const {data:_0x3376d8}=_0x52f07e,{unitID:_0x153fca,changeset:_0x282556}=_0x3376d8,{mutations:_0xd1c974,type:_0x3427a4}=_0x282556;this['_telemetryInfo']={'unitId':_0x153fca,'type':_0x3427a4,'startTime':performance[_0x29967f(0x426)](),'stopTime':0x0,'duration':0x0,'size':Bn(_0xd1c974)};}[_0x4c3b0f(0x1e3)](){var _0x2cc940=_0x4c3b0f;if(this[_0x2cc940(0x43b)]){if(!this[_0x2cc940(0x3ab)]){this[_0x2cc940(0x23f)][_0x2cc940(0x1ab)](_0x2cc940(0x3ed),'telemetry\x20info\x20is\x20not\x20initialized');return;}this[_0x2cc940(0x3ab)][_0x2cc940(0x2d6)]=performance['now'](),this['_telemetryInfo'][_0x2cc940(0x45b)]=this[_0x2cc940(0x3ab)][_0x2cc940(0x2d6)]-this[_0x2cc940(0x3ab)][_0x2cc940(0x33a)],this['_telemetryService'][_0x2cc940(0x366)](Hn,this[_0x2cc940(0x3ab)]),this[_0x2cc940(0x3ab)]=null;}}[_0x4c3b0f(0x46c)](){this['_telemetryInfo']=null;}};Et=Wn([me(0x2,_0x269a14),me(0x3,_0x5d9548),me(0x4,_0xd5eff8(_0xf39570)),me(0x5,_0xd5eff8(Le)),me(0x6,_0xd5eff8(Ti)),me(0x7,_0xd5eff8(pe)),me(0x8,_0x55e026(_0x31676f))],Et);var Kn=Object[_0x4c3b0f(0x304)],Yn=(_0x289af7,_0x4a20e9,_0x2513e4,_0x43927a)=>{var _0x54fcfc=_0x4c3b0f;for(var _0x5b4bf9=_0x43927a>0x1?void 0x0:_0x43927a?Kn(_0x4a20e9,_0x2513e4):_0x4a20e9,_0x2c7fe3=_0x289af7[_0x54fcfc(0x406)]-0x1,_0x1ffb42;_0x2c7fe3>=0x0;_0x2c7fe3--)(_0x1ffb42=_0x289af7[_0x2c7fe3])&&(_0x5b4bf9=_0x1ffb42(_0x5b4bf9)||_0x5b4bf9);return _0x5b4bf9;},be=(_0x345ffd,_0x177c66)=>(_0x4d21ab,_0x53feed)=>_0x177c66(_0x4d21ab,_0x53feed,_0x345ffd);let xe=class extends _0x9b0e7e{constructor(_0x49c593,_0x8eee83,_0x4e657f,_0x498c26,_0x18a27a,_0x4cd06b){var _0x26ec44=_0x4c3b0f;super(),N(this,_0x26ec44(0x48f),new _0x476957(void 0x0)),N(this,'socket$',this['_socket$'][_0x26ec44(0x236)]()),N(this,_0x26ec44(0x1ae),null),N(this,_0x26ec44(0x288),new Map()),N(this,_0x26ec44(0x49a),new _0x476957(Ee['IDLE'])),N(this,_0x26ec44(0x2ac),this[_0x26ec44(0x49a)][_0x26ec44(0x236)]()),N(this,'_socketReady',!0x1),N(this,_0x26ec44(0x425)),N(this,_0x26ec44(0x39e),0x0),N(this,_0x26ec44(0x234)),N(this,_0x26ec44(0x3a5)),(this[_0x26ec44(0x3df)]=_0x49c593,this[_0x26ec44(0x23f)]=_0x8eee83,this[_0x26ec44(0x1b8)]=_0x4e657f,this[_0x26ec44(0x2a4)]=_0x498c26,this[_0x26ec44(0x431)]=_0x18a27a,this['_networkConditionService']=_0x4cd06b,this[_0x26ec44(0x27b)]());}get['_socket'](){return this['_socket$']['getValue']();}[_0x4c3b0f(0x27b)](){var _0x6e1591=_0x4c3b0f;this[_0x6e1591(0x44b)]&&this[_0x6e1591(0x32c)](this['_networkConditionService']['online$']['subscribe'](_0x2ef85d=>{var _0x2d9442=_0x6e1591;_0x2ef85d&&!this[_0x2d9442(0x1f0)]&&this['reconnect'](),_0x2ef85d||this['_onOffline']();}));}[_0x4c3b0f(0x42a)](){var _0x4811b8=_0x4c3b0f;super[_0x4811b8(0x42a)](),this['_clearRetryConnectingTimer'](),this[_0x4811b8(0x216)](),this[_0x4811b8(0x315)](),this[_0x4811b8(0x288)]['forEach'](_0xe999c1=>_0xe999c1['dispose']()),this['_sessions']['clear'](),this['_status$'][_0x4811b8(0x219)]();}async[_0x4c3b0f(0x368)](_0x3cd43c){var _0x442ad7=_0x4c3b0f;if(this[_0x442ad7(0x288)][_0x442ad7(0x337)](_0x3cd43c))return this[_0x442ad7(0x288)][_0x442ad7(0x42b)](_0x3cd43c);this[_0x442ad7(0x43c)]();const _0xc9f0b=this[_0x442ad7(0x3df)][_0x442ad7(0x474)](Et,_0x3cd43c,this[_0x442ad7(0x48f)]['asObservable']());return this[_0x442ad7(0x288)]['set'](_0x3cd43c,_0xc9f0b),_0xc9f0b;}[_0x4c3b0f(0x243)](_0x2b0453){var _0x17da28=_0x4c3b0f,_0x496eff;const _0x41b4f0=this[_0x17da28(0x288)]['get'](_0x2b0453);_0x41b4f0&&(this[_0x17da28(0x288)][_0x17da28(0x19f)](_0x2b0453),_0x41b4f0[_0x17da28(0x2bf)]()),this['_sessions'][_0x17da28(0x40a)]||(_0x496eff=this['_socket'])==null||_0x496eff[_0x17da28(0x2bf)]();}[_0x4c3b0f(0x22d)](){var _0x4e2824=_0x4c3b0f;this[_0x4e2824(0x39e)]=0x0,this[_0x4e2824(0x3e6)](),this[_0x4e2824(0x308)]();}[_0x4c3b0f(0x3e6)](){var _0x21941f=_0x4c3b0f;this[_0x21941f(0x425)]!=null&&(clearTimeout(this[_0x21941f(0x425)]),this[_0x21941f(0x425)]=null);}async[_0x4c3b0f(0x1d7)](){var _0x523d25=_0x4c3b0f,_0x2b861f,_0x13c7ea;const _0x33bcf3=this[_0x523d25(0x1b8)][_0x523d25(0x207)](In),_0xf2ddbb=this[_0x523d25(0x1b8)][_0x523d25(0x207)](q),_0x1f7931=(_0x13c7ea=(_0x2b861f=_0xf2ddbb==null?void 0x0:_0xf2ddbb[_0x523d25(0x1c0)])!=null?_0x2b861f:_0x33bcf3)!=null?_0x13c7ea:Tn,_0x54f823=await this[_0x523d25(0x2a4)][_0x523d25(0x214)](_0x1f7931);return this[_0x523d25(0x1ae)]=_0x54f823,_0x54f823;}async[_0x4c3b0f(0x43c)](){var _0x436f7f=_0x4c3b0f,_0x483a8e,_0x130f9e;try{const _0x470db3=(_0x130f9e=(_0x483a8e=this[_0x436f7f(0x1f0)])!=null?_0x483a8e:this[_0x436f7f(0x1ae)])!=null?_0x130f9e:await this[_0x436f7f(0x1d7)]();if(_0x470db3){const _0x4e3e79=_0x470db3[_0x436f7f(0x43e)];_0x470db3[_0x436f7f(0x43e)]=_0x492a99=>(this[_0x436f7f(0x217)](),_0x4e3e79[_0x436f7f(0x1a6)](_0x470db3,[_0x492a99])),_0x470db3[_0x436f7f(0x2bd)][_0x436f7f(0x2d4)](_0x153dc3=>this['_onMessage'](_0x470db3,_0x153dc3)),_0x470db3[_0x436f7f(0x30c)]['pipe'](_0x5253bb(0x1))[_0x436f7f(0x2d4)](_0xcbfdc7=>this[_0x436f7f(0x23f)]['error'](_0x436f7f(0x465),_0xcbfdc7)),_0x470db3[_0x436f7f(0x311)]['pipe'](_0x5253bb(0x1))['subscribe'](()=>{var _0x1acb62=_0x436f7f;this[_0x1acb62(0x35e)](_0x470db3);}),_0x470db3[_0x436f7f(0x2e1)]['pipe'](_0x5253bb(0x1))['subscribe'](_0x261a11=>{var _0x51a612=_0x436f7f;this[_0x51a612(0x23f)][_0x51a612(0x2cd)](_0x51a612(0x2ab),_0x51a612(0x218),_0x261a11),this[_0x51a612(0x343)]();});}}catch(_0x259005){this[_0x436f7f(0x23f)][_0x436f7f(0x1ab)](_0x259005),this[_0x436f7f(0x343)]();}}[_0x4c3b0f(0x35e)](_0x84d457){var _0x365726=_0x4c3b0f;this[_0x365726(0x23f)]['debug'](_0x365726(0x2ab),_0x365726(0x272)),_0x84d457[_0x365726(0x43e)]({'cmd':F[_0x365726(0x203)]}),this[_0x365726(0x217)]();}[_0x4c3b0f(0x2ea)](){var _0x488b27=_0x4c3b0f;this[_0x488b27(0x1e4)]=!0x1,this[_0x488b27(0x1ae)]=null,this[_0x488b27(0x49a)]['next'](Ee[_0x488b27(0x237)]),this[_0x488b27(0x48f)][_0x488b27(0x340)](null),this['_clearTimeoutTimer'](),this[_0x488b27(0x315)]();}[_0x4c3b0f(0x343)](){var _0x424622=_0x4c3b0f,_0x155f3a;this['_onOffline'](),this[_0x424622(0x39e)]<((_0x155f3a=this[_0x424622(0x1b8)][_0x424622(0x207)](On))!=null?_0x155f3a:yn)?(this[_0x424622(0x431)][_0x424622(0x334)]({'id':re[_0x424622(0x281)]}),this[_0x424622(0x308)]()):this[_0x424622(0x431)][_0x424622(0x334)]({'id':re[_0x424622(0x283)]});}[_0x4c3b0f(0x308)](){var _0x5ed979=_0x4c3b0f,_0x36c03e;const _0x29b18d=this[_0x5ed979(0x39e)],_0x3330e7=this[_0x5ed979(0x1b8)][_0x5ed979(0x207)](q),_0x492b88=_0x29b18d===0x0?0x0:((_0x36c03e=_0x3330e7==null?void 0x0:_0x3330e7['retryConnectingInterval'])!=null?_0x36c03e:bn)*0x2**_0x29b18d;this['_retryConnectingTimer']=setTimeout(()=>{var _0x2d462e=_0x5ed979;clearTimeout(this[_0x2d462e(0x425)]),this[_0x2d462e(0x425)]=null,this[_0x2d462e(0x43c)]();},_0x492b88),this[_0x5ed979(0x39e)]+=0x1;}['_onMessage'](_0x58e0ef,_0x594499){var _0x3ba82a=_0x4c3b0f;const {cmd:_0x4f48c2}=_0x594499;_0x4f48c2===F[_0x3ba82a(0x203)]&&!this[_0x3ba82a(0x1e4)]&&(_0x58e0ef[_0x3ba82a(0x2d8)]=_0x594499[_0x3ba82a(0x2f8)][_0x3ba82a(0x2d8)],this['_socket$'][_0x3ba82a(0x340)](_0x58e0ef),this[_0x3ba82a(0x49a)]['next'](Ee[_0x3ba82a(0x3e2)]),this[_0x3ba82a(0x1e4)]=!0x0,this[_0x3ba82a(0x1ae)]=null),_0x4f48c2===F[_0x3ba82a(0x290)]&&this[_0x3ba82a(0x216)](),this[_0x3ba82a(0x217)]();}[_0x4c3b0f(0x217)](){var _0x21d491=_0x4c3b0f,_0x5e26a3;this['_clearHeartbeatTimer'](),this[_0x21d491(0x234)]=setTimeout(()=>this['_sendHeartbeat'](),(_0x5e26a3=this[_0x21d491(0x1b8)][_0x21d491(0x207)](Cn))!=null?_0x5e26a3:Rn);}['_sendHeartbeat'](){var _0xd2e3f3=_0x4c3b0f;this['_socket'][_0xd2e3f3(0x43e)]({'cmd':F[_0xd2e3f3(0x290)]}),this[_0xd2e3f3(0x457)]();}[_0x4c3b0f(0x457)](){var _0xfa84f4=_0x4c3b0f,_0x2a5c1b;this[_0xfa84f4(0x3a5)]=setTimeout(()=>this[_0xfa84f4(0x343)](),(_0x2a5c1b=this[_0xfa84f4(0x1b8)]['getConfig'](mi))!=null?_0x2a5c1b:gi);}[_0x4c3b0f(0x315)](){var _0x19aa40=_0x4c3b0f;this['_sendHeartbeatTimer']!=null&&(clearTimeout(this[_0x19aa40(0x234)]),this[_0x19aa40(0x234)]=null);}[_0x4c3b0f(0x216)](){var _0x1c8d5c=_0x4c3b0f;this['_timeoutTimer']!=null&&(clearTimeout(this[_0x1c8d5c(0x3a5)]),this['_timeoutTimer']=null);}};xe=Yn([be(0x0,_0xd5eff8(_0x3fbbf1)),be(0x1,_0x269a14),be(0x2,_0x5d9548),be(0x3,Ii),be(0x4,_0xd5eff8(pe)),be(0x5,_0x55e026(Pn))],xe);const V=[];for(let t=0x0;t<0x100;++t)V[_0x4c3b0f(0x1f9)]((t+0x100)[_0x4c3b0f(0x22b)](0x10)['slice'](0x1));function qn(_0x1a1950,_0x468e75=0x0){var _0x3ed86f=_0x4c3b0f;return(V[_0x1a1950[_0x468e75+0x0]]+V[_0x1a1950[_0x468e75+0x1]]+V[_0x1a1950[_0x468e75+0x2]]+V[_0x1a1950[_0x468e75+0x3]]+'-'+V[_0x1a1950[_0x468e75+0x4]]+V[_0x1a1950[_0x468e75+0x5]]+'-'+V[_0x1a1950[_0x468e75+0x6]]+V[_0x1a1950[_0x468e75+0x7]]+'-'+V[_0x1a1950[_0x468e75+0x8]]+V[_0x1a1950[_0x468e75+0x9]]+'-'+V[_0x1a1950[_0x468e75+0xa]]+V[_0x1a1950[_0x468e75+0xb]]+V[_0x1a1950[_0x468e75+0xc]]+V[_0x1a1950[_0x468e75+0xd]]+V[_0x1a1950[_0x468e75+0xe]]+V[_0x1a1950[_0x468e75+0xf]])[_0x3ed86f(0x3c0)]();}let ut;const zn=new Uint8Array(0x10);function Jn(){var _0x3b01f5=_0x4c3b0f;if(!ut){if(typeof crypto>'u'||!crypto[_0x3b01f5(0x326)])throw new Error(_0x3b01f5(0x437));ut=crypto[_0x3b01f5(0x326)][_0x3b01f5(0x198)](crypto);}return ut(zn);}const Xn=typeof crypto<'u'&&crypto[_0x4c3b0f(0x222)]&&crypto[_0x4c3b0f(0x222)][_0x4c3b0f(0x198)](crypto),Yt={'randomUUID':Xn};function Zn(_0x1122a0,_0xccaa85,_0x1b41a0){var _0x2691fd=_0x4c3b0f,_0x5e96a1,_0x10195a,_0x2cb30d;if(Yt['randomUUID']&&!_0x1122a0)return Yt[_0x2691fd(0x222)]();_0x1122a0=_0x1122a0||{};const _0x4d4767=(_0x2cb30d=(_0x10195a=_0x1122a0[_0x2691fd(0x3aa)])!=null?_0x10195a:(_0x5e96a1=_0x1122a0['rng'])==null?void 0x0:_0x5e96a1[_0x2691fd(0x3dc)](_0x1122a0))!=null?_0x2cb30d:Jn();if(_0x4d4767[_0x2691fd(0x406)]<0x10)throw new Error(_0x2691fd(0x3f6));return _0x4d4767[0x6]=_0x4d4767[0x6]&0xf|0x40,_0x4d4767[0x8]=_0x4d4767[0x8]&0x3f|0x80,qn(_0x4d4767);}const J=_0x5e3706(_0x4c3b0f(0x458));function Br(_0x36b841){var _0x178b6d=_0x4c3b0f;return _0x178b6d(0x26f)+_0x36b841;}var Qn=Object[_0x4c3b0f(0x304)],es=(_0x329020,_0x2df021,_0xc20c80,_0x34a644)=>{var _0x566ebc=_0x4c3b0f;for(var _0x331e46=_0x34a644>0x1?void 0x0:_0x34a644?Qn(_0x2df021,_0xc20c80):_0x2df021,_0x450ca9=_0x329020[_0x566ebc(0x406)]-0x1,_0x128b7e;_0x450ca9>=0x0;_0x450ca9--)(_0x128b7e=_0x329020[_0x450ca9])&&(_0x331e46=_0x128b7e(_0x331e46)||_0x331e46);return _0x331e46;},dt=(_0x34bf23,_0x479bdd)=>(_0x5467d8,_0x33e678)=>_0x479bdd(_0x5467d8,_0x33e678,_0x34bf23);function ts(_0x36d404){var _0x5b6622=_0x4c3b0f;const {unitID:_0x418e58,mutations:_0x53cd66}=_0x36d404;return{'unitId':_0x418e58,'subUnitId':_0x53cd66[0x0][_0x5b6622(0x19c)]['subUnitId']};}let it=class{constructor(_0x8ca8c8,_0x37d386,_0x3abb1e){var _0x4d7da2=_0x4c3b0f;this[_0x4d7da2(0x3df)]=_0x8ca8c8,this['_transformService']=_0x37d386,this[_0x4d7da2(0x3d3)]=_0x3abb1e;}['transformSelections'](_0x51f5e9){var _0x4c652e=_0x4c3b0f,_0x2e3594,_0x383c5c,_0x28dbde,_0xf6585d;const _0x2a3e3f=this[_0x4c652e(0x3df)][_0x4c652e(0x42b)](_0x125a16),{unitId:_0x33dfeb,subUnitId:_0x3cbe10}=ts(_0x51f5e9),_0x35af82=_0x2a3e3f==null?void 0x0:_0x2a3e3f[_0x4c652e(0x2fa)](_0x33dfeb)[_0x4c652e(0x328)](),_0x4dcd73=(_0x383c5c=(_0x2e3594=this[_0x4c652e(0x3d3)][_0x4c652e(0x388)](_0x33dfeb))==null?void 0x0:_0x2e3594[_0x4c652e(0x3c8)]())==null?void 0x0:_0x383c5c['getSheetId']();if(_0x35af82[_0x4c652e(0x406)]===0x0||!_0x33dfeb||!_0x3cbe10)return;const _0x1d2bd0=[{'id':_0x3dc525['id'],'params':{'unitId':_0x33dfeb,'subUnitId':_0x4dcd73,'selections':_0x5260ce[_0x4c652e(0x223)](_0x35af82)}}],_0x54ac1c=this[_0x4c652e(0x47d)][_0x4c652e(0x47c)](_0x51f5e9,_0x1d2bd0);if(!_0x46e709(_0x54ac1c))throw _0x54ac1c[_0x4c652e(0x1ab)];const _0x142a14=(_0xf6585d=(_0x28dbde=_0x54ac1c[_0x4c652e(0x20b)][0x0])==null?void 0x0:_0x28dbde[_0x4c652e(0x19c)])==null?void 0x0:_0xf6585d['selections'];if(Array[_0x4c652e(0x30d)](_0x142a14)&&_0x142a14[_0x4c652e(0x406)]){if(_0x142a14[_0x4c652e(0x406)]===_0x1d2bd0[0x0][_0x4c652e(0x19c)][_0x4c652e(0x2a0)][_0x4c652e(0x406)]&&_0x142a14[_0x4c652e(0x332)]((_0x26a3e8,_0x1de4fc)=>_0x59a95c[_0x4c652e(0x2b8)](_0x26a3e8[_0x4c652e(0x202)],_0x1d2bd0[0x0][_0x4c652e(0x19c)][_0x4c652e(0x2a0)][_0x1de4fc][_0x4c652e(0x202)])))return;this['_injector']['get'](_0x118563)[_0x4c652e(0x38e)](_0x3dc525['id'],{'unitId':_0x33dfeb,'subUnitId':_0x4dcd73,'selections':_0x142a14});}}};it=es([dt(0x0,_0xd5eff8(_0x3fbbf1)),dt(0x1,_0x599fa8),dt(0x2,_0x5f561f)],it);const ht=_0x5e3706('univer-pro.collaboration-client.single-active-unit-service');var Ci=(_0x788d4f=>(_0x788d4f[_0x788d4f['NO_OTHER_CLIENTS_EDITING']=0x0]='NO_OTHER_CLIENTS_EDITING',_0x788d4f[_0x788d4f[_0x4c3b0f(0x405)]=0x1]='OTHER_CLIENTS_EDITING',_0x788d4f))(Ci||{});const is=new Set([_0x14e87b['id']]);function qt(_0x29ed72,_0x17a536,_0x33fd10,_0x546092,_0x35f495){var _0x36d1ce=_0x4c3b0f,_0x23d647,_0x376211,_0x3b5261,_0x1188b1;const _0x4d2418=[];for(const _0x355776 of _0x29ed72)if(is[_0x36d1ce(0x337)](_0x355776['id'])){if(_0x4d2418[_0x36d1ce(0x406)]>0x0)break;_0x4d2418['push'](_0x355776);break;}else _0x4d2418[_0x36d1ce(0x1f9)](_0x355776);const _0x228e84=(_0x376211=(_0x23d647=_0x35f495[_0x36d1ce(0x38b)]())==null?void 0x0:_0x23d647[_0x36d1ce(0x478)])!=null?_0x376211:_0x36d1ce(0x489),_0x2d5b4f=(_0x1188b1=(_0x3b5261=_0x35f495[_0x36d1ce(0x38b)]())==null?void 0x0:_0x3b5261[_0x36d1ce(0x2d8)])!=null?_0x1188b1:_0x36d1ce(0x489);return{'changeset':{'unitID':_0x17a536,'type':_0x48ce8c(_0x33fd10['getUnitType'](_0x17a536)),'baseRev':_0x546092['getCurrentRevOfUnit'](_0x17a536),'revision':0x0,'userID':_0x228e84,'memberID':_0x2d5b4f,'mutations':_0x4d2418},'pendingMutations':_0x29ed72[_0x36d1ce(0x2b6)](_0x4d2418[_0x36d1ce(0x406)])};}function ns(_0x1fc53c,_0x41d29e,_0x59fa65,_0x2372c4,_0x3c7f85){var _0x591dc9=_0x4c3b0f,_0x18e7e4,_0x30b9fd,_0x80ad0c,_0x55589a;const _0x348c60=[_0x1fc53c[_0x591dc9(0x394)]((_0x6d0a82,_0x167a7f)=>{var _0xd85734=_0x591dc9,_0x11613d;const {id:_0x4f0973}=_0x6d0a82,{id:_0x3c6887,type:_0x1d65b7}=_0x167a7f,_0x2fde32=(_0x11613d=_0x6d0a82[_0xd85734(0x19c)])!=null?_0x11613d:{'actions':null},_0x42fda4=_0x167a7f[_0xd85734(0x19c)];if(_0x4f0973&&_0x4f0973!==_0x3c6887)throw new Error('Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20'+_0x4f0973+'\x20-\x20'+_0x3c6887+'.');return{..._0x6d0a82,'id':_0x3c6887,'type':_0x1d65b7,'params':{'unitId':_0x42fda4[_0xd85734(0x485)],'textRanges':_0x42fda4[_0xd85734(0x1b3)],'actions':_0x36781e['compose'](_0x2fde32[_0xd85734(0x333)],_0x42fda4[_0xd85734(0x333)])}};},{})],_0x55626c=(_0x30b9fd=(_0x18e7e4=_0x3c7f85['getCurrentUser']())==null?void 0x0:_0x18e7e4['userID'])!=null?_0x30b9fd:_0x591dc9(0x489),_0x39fda2=(_0x55589a=(_0x80ad0c=_0x3c7f85[_0x591dc9(0x38b)]())==null?void 0x0:_0x80ad0c[_0x591dc9(0x2d8)])!=null?_0x55589a:_0x591dc9(0x489);return{'changeset':{'unitID':_0x41d29e,'type':_0x48ce8c(_0x59fa65['getUnitType'](_0x41d29e)),'baseRev':_0x2372c4[_0x591dc9(0x2f6)](_0x41d29e),'revision':0x0,'userID':_0x55626c,'memberID':_0x39fda2,'mutations':_0x348c60},'pendingMutations':[]};}function Ri(_0x1bdd73,_0x59d830){var _0x39a5be=_0x4c3b0f;const _0x603dd4=new _0x2c6d5d(0x1);return setTimeout(()=>_0x603dd4['next'](_0x59d830),_0x1bdd73),_0x603dd4[_0x39a5be(0x236)]()['pipe'](_0x3b4e6b(0x1));}const ss={'id':_0x49e3c7['id'],'type':_0x6cf444[_0x4c3b0f(0x2f1)],'params':{}};var rs=Object[_0x4c3b0f(0x304)],Te=(_0x5606d6,_0x6e1aa2,_0x36a1d6,_0x37c39b)=>{for(var _0x5836c3=_0x37c39b>0x1?void 0x0:_0x37c39b?rs(_0x6e1aa2,_0x36a1d6):_0x6e1aa2,_0x80cd9d=_0x5606d6['length']-0x1,_0xa5f287;_0x80cd9d>=0x0;_0x80cd9d--)(_0xa5f287=_0x5606d6[_0x80cd9d])&&(_0x5836c3=_0xa5f287(_0x5836c3)||_0x5836c3);return _0x5836c3;},P=(_0xfee06,_0x55e7fa)=>(_0x2d7605,_0x5bdae5)=>_0x55e7fa(_0x2d7605,_0x5bdae5,_0xfee06),bi=(_0xd6a1f3=>(_0xd6a1f3['NOT_COLLAB']='not_collab',_0xd6a1f3[_0x4c3b0f(0x29c)]=_0x4c3b0f(0x395),_0xd6a1f3[_0x4c3b0f(0x2fc)]='pending',_0xd6a1f3['AWAITING']=_0x4c3b0f(0x404),_0xd6a1f3['AWAITING_WITH_PENDING']='awaiting_with_pending',_0xd6a1f3[_0x4c3b0f(0x3f8)]=_0x4c3b0f(0x1ec),_0xd6a1f3[_0x4c3b0f(0x47e)]=_0x4c3b0f(0x46e),_0xd6a1f3[_0x4c3b0f(0x237)]=_0x4c3b0f(0x34b),_0xd6a1f3))(bi||{});const Oi=0xea60;class Ce{constructor(_0x544904,_0x1366a1,_0x1ccd0f,_0x334302,_0x4572db,_0x7e3d34,_0x5e4728,_0x447532,_0x4111aa){var _0x35c0c5=_0x4c3b0f;N(this,_0x35c0c5(0x291),null),N(this,'_pendingMutations',[]),(this[_0x35c0c5(0x285)]=_0x544904,this[_0x35c0c5(0x493)]=_0x1366a1,this[_0x35c0c5(0x358)]=_0x4572db,this[_0x35c0c5(0x2e9)]=_0x7e3d34,this[_0x35c0c5(0x374)]=_0x5e4728,this['_revisionService']=_0x447532,this['_localCacheService']=_0x4111aa,this[_0x35c0c5(0x291)]=_0x1ccd0f,this[_0x35c0c5(0x226)]=_0x334302);}[_0x4c3b0f(0x1a1)](_0x100864){var _0x3bb077=_0x4c3b0f;const _0x345536=this[_0x3bb077(0x2f2)]['getCurrentRevOfUnit'](this[_0x3bb077(0x285)]);return _0x100864[_0x3bb077(0x3e4)]>_0x345536+0x1?(this['_handler'][_0x3bb077(0x392)]({'from':_0x345536,'to':_0x100864[_0x3bb077(0x3e4)]-0x1}),!0x0):!0x1;}[_0x4c3b0f(0x2ba)](_0x3ce7a4){var _0x260c0c=_0x4c3b0f;this[_0x260c0c(0x374)]['transformUndoRedo'](this[_0x260c0c(0x285)],_0x3ce7a4);}[_0x4c3b0f(0x438)](_0x13ec0d){var _0x349be4=_0x4c3b0f,_0xc38be5,_0x5c36fb;(_0x5c36fb=(_0xc38be5=this[_0x349be4(0x358)])[_0x349be4(0x365)])==null||_0x5c36fb[_0x349be4(0x3dc)](_0xc38be5,_0x13ec0d);}[_0x4c3b0f(0x25b)](_0x4cbc73){var _0x54e4ad,_0x65e02f;return(_0x65e02f=(_0x54e4ad=this['_handler'])['onTransformIME'])==null?void 0x0:_0x65e02f['call'](_0x54e4ad,_0x4cbc73);}['_transformStateCache'](_0x280207){var _0x40aec1=_0x4c3b0f,_0x57ecc6,_0x2a4247;return(_0x2a4247=(_0x57ecc6=this[_0x40aec1(0x358)])['onTransformState'])==null?void 0x0:_0x2a4247[_0x40aec1(0x3dc)](_0x57ecc6,_0x280207);}[_0x4c3b0f(0x37d)](_0x1adede){var _0x1ad4a5=_0x4c3b0f,_0x41e105,_0x106347,_0x11805c;return(_0x11805c=(_0x106347=(_0x41e105=this[_0x1ad4a5(0x358)])[_0x1ad4a5(0x1ce)])==null?void 0x0:_0x106347[_0x1ad4a5(0x3dc)](_0x41e105,_0x1adede))!=null?_0x11805c:_0x1adede;}[_0x4c3b0f(0x1f6)](_0x36984a){var _0x27aeb3=_0x4c3b0f,_0x2c4fd2,_0x29d18d,_0x105c96;return(_0x105c96=(_0x29d18d=(_0x2c4fd2=this['_handler'])[_0x27aeb3(0x1f2)])==null?void 0x0:_0x29d18d['call'](_0x2c4fd2,_0x36984a))!=null?_0x105c96:_0x36984a;}[_0x4c3b0f(0x206)](_0x3f129e){var _0x3b04fa=_0x4c3b0f,_0xf0745d,_0x160528;if(this[_0x3b04fa(0x493)]===Q['UNIVER_DOC']){const {unitID:_0x4e9f41,mutations:_0x59c1e5,memberID:_0x2ea200}=_0x3f129e,_0x14b8b4=_0x59c1e5[0x0][_0x3b04fa(0x19c)][_0x3b04fa(0x1b3)];Array['isArray'](_0x14b8b4)&&_0x14b8b4[_0x3b04fa(0x406)]>0x0&&((_0x160528=(_0xf0745d=this[_0x3b04fa(0x358)])['onSyncEditingCollabCursor'])==null||_0x160528[_0x3b04fa(0x3dc)](_0xf0745d,{'unitID':_0x4e9f41,'memberID':_0x2ea200,'textRanges':_0x14b8b4}));}}[_0x4c3b0f(0x2a5)](){var _0x7c6ea3=_0x4c3b0f,_0x4dd32e;(_0x4dd32e=this[_0x7c6ea3(0x20c)])==null||_0x4dd32e[_0x7c6ea3(0x418)](this[_0x7c6ea3(0x285)],this['type'],this[_0x7c6ea3(0x291)],this[_0x7c6ea3(0x226)]);}[_0x4c3b0f(0x1c2)](){var _0x290900=_0x4c3b0f;return this['_revisionService'][_0x290900(0x2f6)](this[_0x290900(0x285)]);}[_0x4c3b0f(0x353)](){var _0x1fad2b=_0x4c3b0f;this[_0x1fad2b(0x2f2)]['incrementRevOfUnit'](this[_0x1fad2b(0x285)]);}[_0x4c3b0f(0x45c)](_0x512fe0){var _0x24ae0a=_0x4c3b0f,_0x8ce72c;let _0x3dfda0=this[_0x24ae0a(0x37d)](_0x512fe0);_0x3dfda0=this[_0x24ae0a(0x1f6)](_0x3dfda0);const _0xfe0405=_0xccdc7e(_0x3dfda0['mutations'],this[_0x24ae0a(0x2e9)],{'fromCollab':!0x0});if(!_0xfe0405[_0x24ae0a(0x2c2)])throw _0xfe0405[_0x24ae0a(0x1ab)]instanceof Error?_0xfe0405[_0x24ae0a(0x1ab)]:new Error((_0x8ce72c=_0xfe0405[_0x24ae0a(0x1ab)])!=null?_0x8ce72c:'[CollaborationState]:\x20apply\x20error!');this[_0x24ae0a(0x25b)](_0x3dfda0),this[_0x24ae0a(0x480)](_0x3dfda0),this[_0x24ae0a(0x2ba)](_0x512fe0),this[_0x24ae0a(0x438)](_0x3dfda0),this[_0x24ae0a(0x206)](_0x3dfda0),this[_0x24ae0a(0x353)]();}}let Ne=class extends Ce{constructor(_0x1a8966,_0x4d6df2,_0x4da45b,_0x42fa89,_0x3fb059,_0x4b0b58,_0x53e917,_0x2193eb,_0x15e95a,_0x3de0d8){var _0x3e2553=_0x4c3b0f;super(_0x1a8966,_0x4d6df2,null,[],_0x4da45b,_0x53e917,_0x4b0b58,_0x42fa89,_0x3de0d8),N(this,_0x3e2553(0x265),_0x3e2553(0x395)),(this[_0x3e2553(0x3df)]=_0x3fb059,this[_0x3e2553(0x23f)]=_0x2193eb,this[_0x3e2553(0x47d)]=_0x15e95a,this[_0x3e2553(0x3ad)]=_0x3de0d8);}['appendMutation'](_0x5e1b32){var _0x112621=_0x4c3b0f;const _0x497720=this['_injector']['createInstance'](ae,this[_0x112621(0x285)],this[_0x112621(0x493)],[_0x5e1b32],this[_0x112621(0x358)]);return _0x497720['_schedule'](),_0x497720[_0x112621(0x2a5)](),_0x497720;}['onRemoteChangeset'](_0x68db0f){var _0x12466d=_0x4c3b0f;if(this[_0x12466d(0x1a1)](_0x68db0f))return this[_0x12466d(0x3df)]['createInstance'](ee,this[_0x12466d(0x285)],this[_0x12466d(0x493)],null,[],null,[_0x68db0f],this[_0x12466d(0x358)]);try{const _0x3862ae=this[_0x12466d(0x47d)][_0x12466d(0x47c)](_0x68db0f,[ss]);if(_0x46e709(_0x3862ae)){const {c1Prime:_0x4df8a2}=_0x3862ae;return this[_0x12466d(0x45c)](_0x4df8a2),this;}throw _0x3862ae[_0x12466d(0x1ab)];}catch(_0x1b1b2e){return this[_0x12466d(0x23f)][_0x12466d(0x1ab)](_0x1b1b2e),this[_0x12466d(0x221)](!0x1);}}['_onConflict'](_0x2ee46b){var _0xd0e065=_0x4c3b0f;return this[_0xd0e065(0x3df)][_0xd0e065(0x474)](ue,this[_0xd0e065(0x285)],this[_0xd0e065(0x493)],null,[],this['_handler'],_0x2ee46b);}[_0x4c3b0f(0x1c3)](){var _0x46f633=_0x4c3b0f;throw new Error(_0x46f633(0x3d9));}[_0x4c3b0f(0x3fb)](){throw new Error('[SyncedState]:\x20received\x20rejection.');}[_0x4c3b0f(0x419)](){return this;}[_0x4c3b0f(0x385)](){var _0xaa0d82=_0x4c3b0f;return this[_0xaa0d82(0x3df)][_0xaa0d82(0x474)](de,this[_0xaa0d82(0x285)],this[_0xaa0d82(0x493)],null,[],this[_0xaa0d82(0x358)]);}[_0x4c3b0f(0x412)](){return this;}[_0x4c3b0f(0x27a)](){throw new Error('[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.');}['fetchMiss'](){var _0x3c1082=_0x4c3b0f;const _0x33f9a3=this[_0x3c1082(0x2f2)][_0x3c1082(0x2f6)](this[_0x3c1082(0x285)]);return this['_handler'][_0x3c1082(0x392)]({'from':_0x33f9a3,'to':0x0}),this[_0x3c1082(0x3df)][_0x3c1082(0x474)](ee,this[_0x3c1082(0x285)],this[_0x3c1082(0x493)],null,[],null,[],this[_0x3c1082(0x358)]);}};Ne=Te([P(0x3,_0xd5eff8(_0x564b28)),P(0x4,_0xd5eff8(_0x3fbbf1)),P(0x5,_0x5056c7),P(0x6,_0x118563),P(0x7,_0x269a14),P(0x8,_0x599fa8),P(0x9,_0x55e026(J))],Ne);let ae=class extends Ce{constructor(_0x1b010f,_0x35a292,_0x10d011,_0x52da24,_0x1c784f,_0x3ab2f9,_0x564070,_0x40695b,_0x35fa1b,_0x494e26,_0x47547e,_0x59e21e,_0x52ef4a,_0x592384){var _0x302441=_0x4c3b0f;super(_0x1b010f,_0x35a292,null,_0x10d011,_0x52da24,_0x35fa1b,_0x52ef4a,_0x3ab2f9,_0x592384),N(this,'status','pending'),N(this,'_scheduleCompleteTimestamp',null),N(this,_0x302441(0x2f0),null),(this[_0x302441(0x3df)]=_0x1c784f,this['_memberService']=_0x564070,this[_0x302441(0x23f)]=_0x40695b,this[_0x302441(0x1b8)]=_0x494e26,this[_0x302441(0x47d)]=_0x47547e,this[_0x302441(0x3bd)]=_0x59e21e);}[_0x4c3b0f(0x421)](_0x784b9b){var _0x3d8b28=_0x4c3b0f;return this[_0x3d8b28(0x226)][_0x3d8b28(0x1f9)](_0x784b9b),this[_0x3d8b28(0x2a5)](),this;}[_0x4c3b0f(0x247)](_0x9bbc6e){var _0x493d62=_0x4c3b0f;if(this['_checkMissing'](_0x9bbc6e))return this[_0x493d62(0x3d6)](),this['_injector']['createInstance'](ee,this[_0x493d62(0x285)],this[_0x493d62(0x493)],null,this[_0x493d62(0x226)],null,[_0x9bbc6e],this[_0x493d62(0x358)]);try{const _0x2b74a5=this[_0x493d62(0x47d)][_0x493d62(0x47c)](_0x9bbc6e,this['_pendingMutations']);if(_0x46e709(_0x2b74a5)){const {c1Prime:_0x2d11d0,m2Prime:_0x3a6c00}=_0x2b74a5;this['_executeRemoteChangeset'](_0x2d11d0);const _0x55493c=this['_injector'][_0x493d62(0x474)](ae,this['unitID'],this[_0x493d62(0x493)],_0x3a6c00,this[_0x493d62(0x358)]);this['_clearScheduledTask']();const _0x57cb5c=new Date()[_0x493d62(0x43f)](),_0xcc60ba=this[_0x493d62(0x466)]?Math[_0x493d62(0x487)](this[_0x493d62(0x466)]-_0x57cb5c,0x0):this[_0x493d62(0x271)]();return _0x55493c[_0x493d62(0x3eb)](_0xcc60ba),_0x55493c;}throw _0x2b74a5[_0x493d62(0x1ab)];}catch(_0x1539eb){return this[_0x493d62(0x23f)][_0x493d62(0x1ab)](_0x1539eb),this[_0x493d62(0x221)](!0x1);}}[_0x4c3b0f(0x1c3)](){throw new Error('[PendingState]:\x20received\x20acknowledgement.');}[_0x4c3b0f(0x3fb)](){throw new Error('[PendingState]:\x20received\x20rejection.');}[_0x4c3b0f(0x419)](){return this;}[_0x4c3b0f(0x385)](){var _0x2c8237=_0x4c3b0f;return this['_clearScheduledTask'](),this['_injector'][_0x2c8237(0x474)](de,this[_0x2c8237(0x285)],this[_0x2c8237(0x493)],null,this[_0x2c8237(0x226)],this['_handler']);}[_0x4c3b0f(0x412)](){return this;}[_0x4c3b0f(0x3eb)](_0x3bd222){var _0x2bc741=_0x4c3b0f;const _0xf2d55=_0x3bd222!=null?_0x3bd222:this[_0x2bc741(0x271)]();this[_0x2bc741(0x466)]=new Date()['getTime']()+_0xf2d55,this[_0x2bc741(0x2f0)]=setTimeout(()=>{var _0x480041=_0x2bc741;this[_0x480041(0x3d6)]();let _0x7c0ed1=null;switch(this[_0x480041(0x493)]){case Q[_0x480041(0x439)]:{_0x7c0ed1=qt(this['_pendingMutations'],this[_0x480041(0x285)],this['_univerInstanceService'],this[_0x480041(0x2f2)],this[_0x480041(0x296)]);break;}case Q['UNIVER_DOC']:{this[_0x480041(0x226)]['every'](_0x47e5f0=>_0x47e5f0['id']===_0x272a4f['id'])?_0x7c0ed1=ns(this[_0x480041(0x226)],this['unitID'],this['_univerInstanceService'],this['_revisionService'],this[_0x480041(0x296)]):_0x7c0ed1=qt(this[_0x480041(0x226)],this[_0x480041(0x285)],this[_0x480041(0x3bd)],this[_0x480041(0x2f2)],this[_0x480041(0x296)]);break;}default:throw new Error(_0x480041(0x34a)+this[_0x480041(0x493)]+_0x480041(0x31d));}const {changeset:_0x42d749,pendingMutations:_0x2b24ae}=_0x7c0ed1;this['_handler']['onSendChangeset'](_0x42d749);const _0x96e82d=_0x2b24ae[_0x480041(0x406)]?this[_0x480041(0x3df)][_0x480041(0x474)](oe,this[_0x480041(0x285)],this[_0x480041(0x493)],_0x42d749,_0x2b24ae,this[_0x480041(0x358)],void 0x0):this[_0x480041(0x3df)][_0x480041(0x474)](le,this[_0x480041(0x285)],this['type'],_0x42d749,this[_0x480041(0x358)]);_0x96e82d[_0x480041(0x2a5)](),this[_0x480041(0x358)][_0x480041(0x496)](this,_0x96e82d);},_0xf2d55);}[_0x4c3b0f(0x271)](){var _0x17154a=_0x4c3b0f,_0x1714b0;const _0x275cdd=this[_0x17154a(0x1b8)][_0x17154a(0x207)](q);return(_0x1714b0=_0x275cdd==null?void 0x0:_0x275cdd['sendChangesetTimeout'])!=null?_0x1714b0:En;}[_0x4c3b0f(0x27a)](){var _0x386077=_0x4c3b0f;throw new Error(_0x386077(0x264));}[_0x4c3b0f(0x3d6)](){var _0x2ef84c=_0x4c3b0f;this[_0x2ef84c(0x2f0)]!=null&&(clearTimeout(this[_0x2ef84c(0x2f0)]),this[_0x2ef84c(0x2f0)]=null);}['_onConflict'](_0x5043f8){var _0x46b732=_0x4c3b0f;return this[_0x46b732(0x3d6)](),this[_0x46b732(0x3df)]['createInstance'](ue,this[_0x46b732(0x285)],this[_0x46b732(0x493)],null,this['_pendingMutations'],this['_handler'],_0x5043f8);}};ae=Te([P(0x4,_0xd5eff8(_0x3fbbf1)),P(0x5,_0xd5eff8(_0x564b28)),P(0x6,_0xd5eff8(Le)),P(0x7,_0x269a14),P(0x8,_0x118563),P(0x9,_0x5d9548),P(0xa,_0x599fa8),P(0xb,_0x5f561f),P(0xc,_0x5056c7),P(0xd,_0x55e026(J))],ae);let le=class extends Ce{constructor(_0x394922,_0xed361b,_0x53aa39,_0x23d7df,_0x49ae50,_0x2c7289,_0x58e665,_0x5b5971,_0x580ab5,_0x2d7924,_0x275144){var _0x28182a=_0x4c3b0f;super(_0x394922,_0xed361b,_0x53aa39,[],_0x23d7df,_0x58e665,_0x2d7924,_0x2c7289,_0x275144),N(this,'status','awaiting'),N(this,_0x28182a(0x41d),0x0),N(this,_0x28182a(0x42e)),N(this,'_sender'),(this['_injector']=_0x49ae50,this[_0x28182a(0x23f)]=_0x5b5971,this['_transformService']=_0x580ab5);}[_0x4c3b0f(0x421)](_0x196e43){var _0x4287ac=_0x4c3b0f;this[_0x4287ac(0x3d6)]();const _0xfd3945=this[_0x4287ac(0x3df)][_0x4287ac(0x474)](oe,this[_0x4287ac(0x285)],this[_0x4287ac(0x493)],this[_0x4287ac(0x291)],[_0x196e43],this['_handler'],this[_0x4287ac(0x42e)]);return _0xfd3945[_0x4287ac(0x2a5)](),_0xfd3945;}[_0x4c3b0f(0x247)](_0x3035c3){var _0xc2a18c=_0x4c3b0f;if(this[_0xc2a18c(0x1a1)](_0x3035c3))return this[_0xc2a18c(0x3d6)](),this[_0xc2a18c(0x3df)][_0xc2a18c(0x474)](ee,this[_0xc2a18c(0x285)],this[_0xc2a18c(0x493)],this[_0xc2a18c(0x291)],[],null,[_0x3035c3],this['_handler']);try{const _0x1e3068=this['_transformService'][_0xc2a18c(0x3fe)]([_0x3035c3],[this[_0xc2a18c(0x291)]],!0x1);if(_0x5c0883(_0x1e3068)){const {c1Prime:_0x239de9,c2Prime:_0xd175e3}=_0x1e3068;this[_0xc2a18c(0x45c)](_0x239de9[0x0]),_0xd175e3[0x0][_0xc2a18c(0x1c6)]=this[_0xc2a18c(0x1c2)](),this['_clearScheduledTask']();const _0x26371b=this[_0xc2a18c(0x3df)]['createInstance'](le,this[_0xc2a18c(0x285)],this[_0xc2a18c(0x493)],_0xd175e3[0x0],this[_0xc2a18c(0x358)]);return _0x26371b['_updateLocalCache'](),_0x26371b;}return this[_0xc2a18c(0x221)](!0x1);}catch(_0x17ccce){return this[_0xc2a18c(0x23f)][_0xc2a18c(0x1ab)](_0x17ccce),this['_onConflict'](!0x1);}}[_0x4c3b0f(0x1c3)](_0x4248ae){var _0xe17727=_0x4c3b0f;this[_0xe17727(0x3d6)]();const _0x33b91a=this[_0xe17727(0x2f2)][_0xe17727(0x2f6)](this['unitID']);if(_0x4248ae['revision']<_0x33b91a-0x1)return this;if(this[_0xe17727(0x1a1)](_0x4248ae))return this[_0xe17727(0x3df)][_0xe17727(0x474)](ee,this[_0xe17727(0x285)],this[_0xe17727(0x493)],null,[],this['_awaitingChangeset'],[],this[_0xe17727(0x358)]);this[_0xe17727(0x353)]();const _0x18adb1=this[_0xe17727(0x3df)][_0xe17727(0x474)](Ne,this[_0xe17727(0x285)],this['type'],this[_0xe17727(0x358)]);return _0x18adb1['_updateLocalCache'](),_0x18adb1;}[_0x4c3b0f(0x3fb)](_0x5b5d31){var _0x33ac0a=_0x4c3b0f;return this[_0x33ac0a(0x221)](!!(_0x5b5d31!=null&&_0x5b5d31['isPermissionRej']));}[_0x4c3b0f(0x419)](_0x4164ce){var _0x3aaa62=_0x4c3b0f;return this[_0x3aaa62(0x41d)]>Oi?this['toggleOffline']():(this[_0x3aaa62(0x42e)]=Ri(this[_0x3aaa62(0x41d)],{'timeout':this[_0x3aaa62(0x41d)],'reqId':_0x4164ce['reqId']}),this['_sender']=this[_0x3aaa62(0x42e)][_0x3aaa62(0x2d4)](({reqId:_0x3ecc33,timeout:_0x423c95})=>{this['_resendWithTimeout'](_0x3ecc33,_0x423c95);}),this);}[_0x4c3b0f(0x385)](){var _0x236647=_0x4c3b0f;return this[_0x236647(0x3d6)](),this[_0x236647(0x3df)][_0x236647(0x474)](de,this[_0x236647(0x285)],this[_0x236647(0x493)],this[_0x236647(0x291)],[],this[_0x236647(0x358)]);}[_0x4c3b0f(0x412)](){return this;}[_0x4c3b0f(0x27a)](){var _0x3ee46d=_0x4c3b0f;this[_0x3ee46d(0x358)][_0x3ee46d(0x2cf)](this['_awaitingChangeset']);}['_onConflict'](_0x545433){var _0x59b7c4=_0x4c3b0f;return this['_clearScheduledTask'](),this[_0x59b7c4(0x3df)][_0x59b7c4(0x474)](ue,this[_0x59b7c4(0x285)],this[_0x59b7c4(0x493)],this[_0x59b7c4(0x291)],[],this['_handler'],_0x545433);}[_0x4c3b0f(0x486)](_0x5a9eca,_0xb0d106){var _0x28553c=_0x4c3b0f,_0x5bb8ed;_0x5a9eca===((_0x5bb8ed=this[_0x28553c(0x291)])==null?void 0x0:_0x5bb8ed['reqId'])&&(this[_0x28553c(0x27a)](),this['_resendTimeout']=_0xb0d106===0x0?0x3e8:_0xb0d106*0x2);}[_0x4c3b0f(0x3d6)](){var _0x4153d3=_0x4c3b0f,_0x50a0c0;(_0x50a0c0=this['_sender'])==null||_0x50a0c0['unsubscribe'](),this[_0x4153d3(0x41d)]=0x0;}};le=Te([P(0x4,_0xd5eff8(_0x3fbbf1)),P(0x5,_0xd5eff8(_0x564b28)),P(0x6,_0x118563),P(0x7,_0x269a14),P(0x8,_0x599fa8),P(0x9,_0x5056c7),P(0xa,_0x55e026(J))],le);let oe=class extends Ce{constructor(_0x19d7ef,_0x57801d,_0x160009,_0xaf447d,_0x5eb4be,_0x20b49d,_0x33096d,_0x520131,_0x1f9f97,_0x85b712,_0x4dfe37,_0x419277,_0x4a7eea){var _0x4087c7=_0x4c3b0f;super(_0x19d7ef,_0x57801d,_0x160009,_0xaf447d,_0x5eb4be,_0x1f9f97,_0x419277,_0x520131,_0x4a7eea),N(this,_0x4087c7(0x265),'awaiting_with_pending'),N(this,_0x4087c7(0x41d),0x0),N(this,_0x4087c7(0x42e)),N(this,_0x4087c7(0x1e1)),(this[_0x4087c7(0x3df)]=_0x33096d,this[_0x4087c7(0x23f)]=_0x85b712,this[_0x4087c7(0x47d)]=_0x4dfe37,this[_0x4087c7(0x3ad)]=_0x4a7eea,_0x20b49d&&(this['_resendTimer']=_0x20b49d,this[_0x4087c7(0x1e1)]=this[_0x4087c7(0x42e)][_0x4087c7(0x2d4)](({reqId:_0x15a989,timeout:_0x13adba})=>{this['_resendWithTimeout'](_0x15a989,_0x13adba);})));}[_0x4c3b0f(0x421)](_0x6c3ce6){var _0x573460=_0x4c3b0f;return this[_0x573460(0x226)]['push'](_0x6c3ce6),this;}[_0x4c3b0f(0x247)](_0x354eeb){var _0x2120c4=_0x4c3b0f;if(this[_0x2120c4(0x1a1)](_0x354eeb))return this['_clearScheduledTask'](),this[_0x2120c4(0x3df)][_0x2120c4(0x474)](ee,this[_0x2120c4(0x285)],this[_0x2120c4(0x493)],this[_0x2120c4(0x291)],this[_0x2120c4(0x226)],null,[_0x354eeb],this[_0x2120c4(0x358)]);try{const _0x3ffa25=this[_0x2120c4(0x47d)][_0x2120c4(0x3fe)]([_0x354eeb],[this['_awaitingChangeset']],!0x1);if(_0x5c0883(_0x3ffa25)){const {c1Prime:_0x450b91,c2Prime:_0x1f478d}=_0x3ffa25,_0x2dcaee=this[_0x2120c4(0x47d)][_0x2120c4(0x47c)](_0x450b91[0x0],this['_pendingMutations']);if(_0x46e709(_0x2dcaee)){const {c1Prime:_0x56db73,m2Prime:_0x49cd13}=_0x2dcaee;return this[_0x2120c4(0x45c)](_0x56db73),_0x1f478d[0x0]['baseRev']=this[_0x2120c4(0x1c2)](),this[_0x2120c4(0x3d6)](),this[_0x2120c4(0x3df)][_0x2120c4(0x474)](oe,this['unitID'],this[_0x2120c4(0x493)],_0x1f478d[0x0],_0x49cd13,this[_0x2120c4(0x358)],void 0x0);}throw _0x2dcaee[_0x2120c4(0x1ab)];}throw _0x3ffa25[_0x2120c4(0x1ab)];}catch(_0x5a367a){return this['_logService']['error'](_0x5a367a),this['_onConflict'](!0x1);}}[_0x4c3b0f(0x1c3)](_0x33f3dc){var _0x4d5cb8=_0x4c3b0f;if(this['_clearScheduledTask'](),this[_0x4d5cb8(0x1a1)](_0x33f3dc))return this['_injector'][_0x4d5cb8(0x474)](ee,this['unitID'],this[_0x4d5cb8(0x493)],null,this[_0x4d5cb8(0x226)],this[_0x4d5cb8(0x291)],[],this[_0x4d5cb8(0x358)]);this[_0x4d5cb8(0x353)]();const _0x141582=this[_0x4d5cb8(0x3df)][_0x4d5cb8(0x474)](ae,this[_0x4d5cb8(0x285)],this['type'],this[_0x4d5cb8(0x226)],this[_0x4d5cb8(0x358)]);return _0x141582[_0x4d5cb8(0x3eb)](),_0x141582['_updateLocalCache'](),_0x141582;}[_0x4c3b0f(0x3fb)](_0x4e6f39){var _0x289ec9=_0x4c3b0f;return this[_0x289ec9(0x221)](!!(_0x4e6f39!=null&&_0x4e6f39[_0x289ec9(0x327)]));}['onRemoteRetry'](_0x373112){var _0x5886f3=_0x4c3b0f;return this[_0x5886f3(0x41d)]>Oi?this[_0x5886f3(0x385)]():(this['_resendTimer']=Ri(this['_resendTimeout'],{'timeout':this[_0x5886f3(0x41d)],'reqId':_0x373112['reqId']}),this[_0x5886f3(0x1e1)]=this[_0x5886f3(0x42e)][_0x5886f3(0x2d4)](({reqId:_0x924dd1,timeout:_0x41b495})=>{var _0x2d70df=_0x5886f3;this[_0x2d70df(0x486)](_0x924dd1,_0x41b495);}),this);}[_0x4c3b0f(0x385)](){var _0x543824=_0x4c3b0f;return this[_0x543824(0x3d6)](),this[_0x543824(0x3df)][_0x543824(0x474)](de,this['unitID'],this[_0x543824(0x493)],this[_0x543824(0x291)],this[_0x543824(0x226)],this['_handler']);}[_0x4c3b0f(0x412)](){return this;}[_0x4c3b0f(0x27a)](){var _0x4571a7=_0x4c3b0f;this[_0x4571a7(0x358)]['onSendChangeset'](this[_0x4571a7(0x291)]);}[_0x4c3b0f(0x221)](_0x2153aa){var _0x3eb2fd=_0x4c3b0f;return this[_0x3eb2fd(0x3d6)](),this[_0x3eb2fd(0x3df)]['createInstance'](ue,this['unitID'],this[_0x3eb2fd(0x493)],null,this[_0x3eb2fd(0x226)],this[_0x3eb2fd(0x358)],_0x2153aa);}[_0x4c3b0f(0x486)](_0x4004a3,_0x18391f){var _0x386933=_0x4c3b0f,_0x461eee;_0x4004a3===((_0x461eee=this['_awaitingChangeset'])==null?void 0x0:_0x461eee[_0x386933(0x382)])&&(this[_0x386933(0x27a)](),this[_0x386933(0x41d)]=_0x18391f===0x0?0x3e8:_0x18391f*0x2);}['_clearScheduledTask'](){var _0x5aafc5=_0x4c3b0f,_0x57b8dd;(_0x57b8dd=this[_0x5aafc5(0x1e1)])==null||_0x57b8dd['unsubscribe'](),this[_0x5aafc5(0x41d)]=0x0;}};oe=Te([P(0x6,_0xd5eff8(_0x3fbbf1)),P(0x7,_0xd5eff8(_0x564b28)),P(0x8,_0x118563),P(0x9,_0x269a14),P(0xa,_0x599fa8),P(0xb,_0x5056c7),P(0xc,_0x55e026(J))],oe);let ue=class extends Ce{constructor(_0x241452,_0x5a55e1,_0xfb510a,_0x47bf68,_0xfe2f,_0x4c8cf1=!0x1,_0x465757,_0x381048,_0x4d2527,_0x53d6a2,_0xb37532,_0x4e2ae3,_0x4c9b10){var _0x424d6f=_0x4c3b0f;super(_0x241452,_0x5a55e1,_0xfb510a,_0x47bf68,_0xfe2f,_0x381048,_0x4d2527,_0x53d6a2,_0x4c9b10),N(this,_0x424d6f(0x265),'conflict'),(this[_0x424d6f(0x24f)]=_0x4c8cf1,this[_0x424d6f(0x287)]=_0x465757,this['_localeService']=_0xb37532,this[_0x424d6f(0x431)]=_0x4e2ae3,this['localCacheService']=_0x4c9b10,this[_0x424d6f(0x3c6)](),this['_clearLocalCache'](),this['_disableEditing']());}[_0x4c3b0f(0x421)](){return this;}[_0x4c3b0f(0x247)](){return this;}[_0x4c3b0f(0x1c3)](){return this;}[_0x4c3b0f(0x3fb)](){return this;}[_0x4c3b0f(0x419)](){return this;}[_0x4c3b0f(0x385)](){return this;}['toggleOnline'](){return this;}[_0x4c3b0f(0x27a)](){var _0x38d6fe=_0x4c3b0f;throw new Error(_0x38d6fe(0x1f7));}[_0x4c3b0f(0x1fd)](){var _0x51a731=_0x4c3b0f,_0x31864c;(_0x31864c=this[_0x51a731(0x20c)])==null||_0x31864c[_0x51a731(0x418)](this[_0x51a731(0x285)],this[_0x51a731(0x493)],null,[]);}['_showConflictNotification'](){var _0x5bbdb0=_0x4c3b0f;this['_isPermissionRej']?this[_0x5bbdb0(0x431)][_0x5bbdb0(0x334)]({'id':re[_0x5bbdb0(0x22a)]}):this[_0x5bbdb0(0x431)][_0x5bbdb0(0x334)]({'id':re['CONFLICT']});}[_0x4c3b0f(0x373)](){var _0x136c66=_0x4c3b0f;this['_permissionService'][_0x136c66(0x25c)](new _0x875595(this[_0x136c66(0x285)])['id'],!0x1);}};ue=Te([P(0x6,_0xd5eff8(_0x1c0607)),P(0x7,_0x118563),P(0x8,_0x5056c7),P(0x9,_0xd5eff8(_0x564b28)),P(0xa,_0xd5eff8(_0xf39570)),P(0xb,_0xd5eff8(pe)),P(0xc,_0x55e026(J))],ue);let de=class extends Ce{constructor(_0x869c7c,_0x841469,_0x373d2c,_0xda760c,_0x1318ca,_0x2892f8,_0x5146d0,_0x2b86cf,_0x4cf4b5,_0x1439db){var _0x5f23fe=_0x4c3b0f;super(_0x869c7c,_0x841469,_0x373d2c,_0xda760c,_0x1318ca,_0x2b86cf,_0x4cf4b5,_0x5146d0,_0x1439db),N(this,_0x5f23fe(0x265),_0x5f23fe(0x34b)),this[_0x5f23fe(0x3df)]=_0x2892f8;}[_0x4c3b0f(0x421)](_0x253c5d){var _0x53d8a8=_0x4c3b0f;return this[_0x53d8a8(0x226)][_0x53d8a8(0x1f9)](_0x253c5d),this[_0x53d8a8(0x2a5)](),this;}[_0x4c3b0f(0x247)](_0x2b468c){throw new Error('[OfflineState]:\x20received\x20changeset.');}[_0x4c3b0f(0x1c3)](){var _0x8ae713=_0x4c3b0f;throw new Error(_0x8ae713(0x2f7));}['onRemoteRej'](){var _0x1d9ecb=_0x4c3b0f;throw new Error(_0x1d9ecb(0x40e));}[_0x4c3b0f(0x419)](){return this;}[_0x4c3b0f(0x385)](){return this;}[_0x4c3b0f(0x412)](){var _0x2ef9df=_0x4c3b0f;const {_injector:_0xc29d6f,_pendingMutations:_0x4c565a,_awaitingChangeset:_0x17d8cb,unitID:_0x152a73,_handler:_0xddf355,type:_0x2f8bf3}=this,_0x257c16=yi(_0xc29d6f,_0x152a73,_0x2f8bf3,_0x17d8cb,_0x4c565a,_0xddf355);return _0x257c16 instanceof ae?_0x257c16[_0x2ef9df(0x3eb)]():(_0x257c16 instanceof oe||_0x257c16 instanceof le)&&_0x257c16['resend'](),_0x257c16;}[_0x4c3b0f(0x27a)](){var _0x44b91e=_0x4c3b0f;throw new Error(_0x44b91e(0x20d));}};de=Te([P(0x5,_0xd5eff8(_0x3fbbf1)),P(0x6,_0xd5eff8(_0x564b28)),P(0x7,_0x118563),P(0x8,_0x5056c7),P(0x9,_0x55e026(J))],de);let ee=class extends Ce{constructor(_0x8715c7,_0x569bf1,_0x5cfaed,_0x28b2cd,_0x397839,_0x2eea5b,_0x5471c7,_0xc5c4e6,_0x544a36,_0x5cc990,_0x561816,_0x57b2b0,_0x402fa9,_0x31dbcc){var _0x14893c=_0x4c3b0f;super(_0x8715c7,_0x569bf1,_0x5cfaed,_0x28b2cd,_0x5471c7,_0x561816,_0x57b2b0,_0x544a36,_0x31dbcc),N(this,_0x14893c(0x265),_0x14893c(0x1ec)),(this[_0x14893c(0x1b6)]=_0x397839,this[_0x14893c(0x2de)]=_0x2eea5b,this[_0x14893c(0x3df)]=_0xc5c4e6,this['_logService']=_0x5cc990,this[_0x14893c(0x47d)]=_0x402fa9,this['localCacheService']=_0x31dbcc);}[_0x4c3b0f(0x479)](_0x9ff8cb){var _0x7688ab=_0x4c3b0f;try{const _0x361b15=[..._0x9ff8cb,...this[_0x7688ab(0x2de)]],_0x1b2cde=[this[_0x7688ab(0x291)]||this[_0x7688ab(0x1b6)]][_0x7688ab(0x1a7)](_0x26fe94=>!!_0x26fe94);let _0x5b3657,_0x54f840;if(_0x1b2cde[_0x7688ab(0x406)]){const _0x390294=this[_0x7688ab(0x47d)][_0x7688ab(0x3fe)](_0x361b15,_0x1b2cde,!0x1);if(!_0x5c0883(_0x390294))throw _0x390294[_0x7688ab(0x1ab)];_0x5b3657=_0x390294[_0x7688ab(0x2c6)],_0x54f840=_0x390294[_0x7688ab(0x1d3)];}else _0x5b3657=_0x361b15,_0x54f840=[];let _0x27a5e0=this[_0x7688ab(0x226)];_0x5b3657[_0x7688ab(0x1ba)](_0x27df45=>{var _0x5cb862=_0x7688ab;let _0x5e0a1b;if(_0x27a5e0['length']){const _0x1a7929=this[_0x5cb862(0x47d)]['transformMutationsWithChangeset'](_0x27df45,_0x27a5e0);if(!_0x46e709(_0x1a7929))throw _0x1a7929[_0x5cb862(0x1ab)];_0x5e0a1b=_0x1a7929[_0x5cb862(0x2c6)],_0x27a5e0=_0x1a7929[_0x5cb862(0x20b)];}else _0x5e0a1b=_0x27df45;this[_0x5cb862(0x45c)](_0x5e0a1b);}),this['_acknowledgedAwaitingChangeset']&&this[_0x7688ab(0x353)](),this[_0x7688ab(0x291)]&&_0x54f840['length']&&(_0x54f840[0x0][_0x7688ab(0x1c6)]=this[_0x7688ab(0x1c2)]());let _0x565f07;if(this[_0x7688ab(0x291)]&&_0x27a5e0[_0x7688ab(0x406)]!==0x0)_0x565f07=this[_0x7688ab(0x3df)][_0x7688ab(0x474)](oe,this[_0x7688ab(0x285)],this[_0x7688ab(0x493)],_0x54f840[0x0],_0x27a5e0,this['_handler'],void 0x0);else{if(this[_0x7688ab(0x291)]&&_0x27a5e0[_0x7688ab(0x406)]===0x0)_0x54f840[0x0][_0x7688ab(0x1c6)]=this[_0x7688ab(0x1c2)](),_0x565f07=this[_0x7688ab(0x3df)][_0x7688ab(0x474)](le,this['unitID'],this[_0x7688ab(0x493)],_0x54f840[0x0],this['_handler']);else{if(_0x27a5e0[_0x7688ab(0x406)]!==0x0){const _0x14984c=this['_injector'][_0x7688ab(0x474)](ae,this[_0x7688ab(0x285)],this[_0x7688ab(0x493)],_0x27a5e0,this[_0x7688ab(0x358)]);_0x14984c[_0x7688ab(0x3eb)](),_0x565f07=_0x14984c;}else _0x565f07=this[_0x7688ab(0x3df)]['createInstance'](Ne,this['unitID'],this[_0x7688ab(0x493)],this[_0x7688ab(0x358)]);}}return _0x565f07[_0x7688ab(0x2a5)](),_0x565f07;}catch(_0x5696df){return this['_logService'][_0x7688ab(0x1ab)](_0x7688ab(0x2d7),_0x7688ab(0x348),_0x5696df),this[_0x7688ab(0x3df)][_0x7688ab(0x474)](ue,this[_0x7688ab(0x285)],this[_0x7688ab(0x493)],this[_0x7688ab(0x291)],this['_pendingMutations'],this[_0x7688ab(0x358)],!0x1);}}[_0x4c3b0f(0x27a)](){var _0x4c31c1=_0x4c3b0f;throw new Error(_0x4c31c1(0x3da));}[_0x4c3b0f(0x421)](_0x261a64){var _0x45596c=_0x4c3b0f;return this[_0x45596c(0x226)][_0x45596c(0x1f9)](_0x261a64),this;}[_0x4c3b0f(0x247)](_0x523880){var _0x33d991=_0x4c3b0f;return this['_queuedRemoteChangesets'][_0x33d991(0x1f9)](_0x523880),this;}[_0x4c3b0f(0x1c3)](_0x1d8a66){var _0x5acf7e=_0x4c3b0f;if(this[_0x5acf7e(0x291)])return this['_acknowledgedAwaitingChangeset']=this[_0x5acf7e(0x291)],this['_awaitingChangeset']=null,this;throw new Error(_0x5acf7e(0x261));}[_0x4c3b0f(0x3fb)](_0x4447f8){var _0x37cf63=_0x4c3b0f;return this[_0x37cf63(0x221)](!!(_0x4447f8!=null&&_0x4447f8['isPermissionRej']));}[_0x4c3b0f(0x419)](){return this;}[_0x4c3b0f(0x385)](){var _0x179167=_0x4c3b0f;return this['_injector'][_0x179167(0x474)](de,this['unitID'],this[_0x179167(0x493)],this[_0x179167(0x291)],this['_pendingMutations'],this[_0x179167(0x358)]);}['toggleOnline'](){return this;}[_0x4c3b0f(0x221)](_0x36c264){var _0x1db3c6=_0x4c3b0f;return this[_0x1db3c6(0x3df)]['createInstance'](ue,this[_0x1db3c6(0x285)],this[_0x1db3c6(0x493)],this['_awaitingChangeset'],this[_0x1db3c6(0x226)],this['_handler'],_0x36c264);}};ee=Te([P(0x7,_0xd5eff8(_0x3fbbf1)),P(0x8,_0xd5eff8(_0x564b28)),P(0x9,_0x269a14),P(0xa,_0x118563),P(0xb,_0x5056c7),P(0xc,_0x599fa8),P(0xd,_0x55e026(J))],ee);function yi(_0x3a84ba,_0x53022b,_0x159323,_0x1f3400,_0x46ffb8,_0x53eec7){var _0x25edb4=_0x4c3b0f;return _0x1f3400&&_0x46ffb8['length']?_0x3a84ba[_0x25edb4(0x474)](oe,_0x53022b,_0x159323,_0x1f3400,_0x46ffb8,_0x53eec7,void 0x0):_0x1f3400?_0x3a84ba[_0x25edb4(0x474)](le,_0x53022b,_0x159323,_0x1f3400,_0x53eec7):_0x46ffb8['length']?_0x3a84ba[_0x25edb4(0x474)](ae,_0x53022b,_0x159323,_0x46ffb8,_0x53eec7):_0x3a84ba['createInstance'](Ne,_0x53022b,_0x159323,_0x53eec7);}var as=Object['getOwnPropertyDescriptor'],Lt=(_0x3fdbc7,_0x2d1223,_0x3169e4,_0x152ed6)=>{for(var _0x31965b=_0x152ed6>0x1?void 0x0:_0x152ed6?as(_0x2d1223,_0x3169e4):_0x2d1223,_0x4d649d=_0x3fdbc7['length']-0x1,_0x4ac35a;_0x4d649d>=0x0;_0x4d649d--)(_0x4ac35a=_0x3fdbc7[_0x4d649d])&&(_0x31965b=_0x4ac35a(_0x31965b)||_0x31965b);return _0x31965b;},H=(_0x1537a0,_0x1afe30)=>(_0x144d51,_0x3ad092)=>_0x1afe30(_0x144d51,_0x3ad092,_0x1537a0);let nt=class extends _0x4391cf{constructor(_0x2800bb,_0x2a5467,_0x52a4f0,_0x44ba4f,_0x58405a,_0x9959b4,_0xccbb0f,_0x37e195,_0x2284de,_0x2f0dce,_0x3b8fe1,_0x30cae0,_0x432659){var _0x5abd1b=_0x4c3b0f;super(),N(this,_0x5abd1b(0x2a6),new _0x476957(null)),N(this,_0x5abd1b(0x2d2),this[_0x5abd1b(0x2a6)][_0x5abd1b(0x236)]()),N(this,_0x5abd1b(0x2fe)),N(this,_0x5abd1b(0x396),!0x1),N(this,_0x5abd1b(0x1db),''),N(this,_0x5abd1b(0x339),0x0),N(this,'status$',this[_0x5abd1b(0x2d2)]['pipe'](_0x1368ff(_0x151097=>_0x151097?_0x151097[_0x5abd1b(0x265)]:bi[_0x5abd1b(0x237)]),_0x4daca0(0x1))),N(this,_0x5abd1b(0x37b),!0x1),N(this,_0x5abd1b(0x3e9),[]),(this['unitID']=_0x2800bb,this[_0x5abd1b(0x31f)]=_0x2a5467,this[_0x5abd1b(0x2fd)]=_0x52a4f0,this[_0x5abd1b(0x3df)]=_0x44ba4f,this['_compressMutationService']=_0x58405a,this[_0x5abd1b(0x3ff)]=_0x9959b4,this[_0x5abd1b(0x2f2)]=_0xccbb0f,this[_0x5abd1b(0x1cc)]=_0x37e195,this['_logService']=_0x2284de,this[_0x5abd1b(0x2e9)]=_0x2f0dce,this['_permissionService']=_0x3b8fe1,this[_0x5abd1b(0x46b)]=_0x30cae0,this[_0x5abd1b(0x20c)]=_0x432659);}get[_0x4c3b0f(0x2dd)](){var _0x326940=_0x4c3b0f;return this[_0x326940(0x2fe)];}async[_0x4c3b0f(0x1d6)](){var _0x3bdfbe=_0x4c3b0f;if(this[_0x3bdfbe(0x2dd)])throw new Error(_0x3bdfbe(0x2c7));await this[_0x3bdfbe(0x21d)]();}[_0x4c3b0f(0x317)](){var _0x62caf5=_0x4c3b0f;return this[_0x62caf5(0x396)]=!0x0,_0x5d0773(()=>{var _0x1111ae=_0x62caf5;this[_0x1111ae(0x396)]=!0x1,this[_0x1111ae(0x3ee)]();});}['onLocalMutation'](_0x27baf2){var _0xa4c0e2=_0x4c3b0f;this[_0xa4c0e2(0x230)](_0x27baf2);}['_updateState'](_0x170211){var _0x1e2aeb=_0x4c3b0f;this[_0x1e2aeb(0x2fe)]=_0x170211,this['_state$'][_0x1e2aeb(0x340)](_0x170211);}async['_init'](){var _0x22883e=_0x4c3b0f,_0x31105c;this[_0x22883e(0x44a)](await this['_createInitialState']()),this[_0x22883e(0x46b)]&&((_0x31105c=this[_0x22883e(0x46b)])==null||_0x31105c[_0x22883e(0x367)](this['unitID']),this[_0x22883e(0x32c)](this['_singleActiveUnitService'][_0x22883e(0x2db)](this[_0x22883e(0x285)])[_0x22883e(0x2d4)](_0x35366f=>{var _0x400022=_0x22883e;this[_0x400022(0x23f)][_0x400022(0x2cd)]('[CollaborationEntity]',_0x400022(0x2c3),_0x35366f),_0x35366f===Ci['OTHER_CLIENTS_EDITING']?(this[_0x400022(0x1cc)][_0x400022(0x334)]({'id':re[_0x400022(0x300)]}),this[_0x400022(0x287)][_0x400022(0x25c)](new _0x875595(this['unitID'])['id'],!0x1),this[_0x400022(0x287)][_0x400022(0x3bb)](!0x1)):(this[_0x400022(0x287)]['updatePermissionPoint'](new _0x875595(this[_0x400022(0x285)])['id'],!0x0),this[_0x400022(0x287)][_0x400022(0x3bb)](!0x0));})));let _0x52c1da=!0x1;return this[_0x22883e(0x32c)](this[_0x22883e(0x31f)][_0x22883e(0x2ad)][_0x22883e(0x2d4)](_0x3bbbef=>{var _0xf4b82b=_0x22883e;_0x3bbbef===Ee[_0xf4b82b(0x3e2)]?this[_0xf4b82b(0x1fa)](_0x52c1da):_0x3bbbef===Ee[_0xf4b82b(0x237)]&&(_0x52c1da=!0x0,this[_0xf4b82b(0x21b)]());})),this[_0x22883e(0x32c)](this['session'][_0x22883e(0x31b)][_0x22883e(0x2d4)](_0x983cf1=>{var _0x5d07ad=_0x22883e;try{switch(_0x983cf1[_0x5d07ad(0x381)]){case _0x420cf9['NEW_CHANGESETS']:{this[_0x5d07ad(0x26e)](_0x3d214b(_0x983cf1['data']));break;}case _0x420cf9['CHANGESET_ACK']:{this[_0x5d07ad(0x33d)](_0x983cf1[_0x5d07ad(0x2f8)]);break;}case _0x420cf9[_0x5d07ad(0x372)]:{this[_0x5d07ad(0x29f)]();break;}case _0x420cf9[_0x5d07ad(0x36b)]:{this['_onRemoteRetry'](_0x983cf1[_0x5d07ad(0x2f8)]);break;}case _0x420cf9[_0x5d07ad(0x443)]:{this[_0x5d07ad(0x441)](_0x983cf1[_0x5d07ad(0x2f8)]['changesets']['map'](_0x13c44b=>_0x3d214b(_0x13c44b)));break;}case _0x420cf9[_0x5d07ad(0x1b0)]:{this['_onRemoteRejected']({'isPermissionRej':!0x0});break;}case _0x420cf9[_0x5d07ad(0x32f)]:break;}}catch(_0x58bcf5){throw console['error'](_0x5d07ad(0x29a),_0x58bcf5),_0x58bcf5;}})),this[_0x22883e(0x2fe)];}['_unlockTransition'](){var _0x1e0865=_0x4c3b0f;this[_0x1e0865(0x37b)]=!0x1;}['_lockTransition'](){var _0x4e0162=_0x4c3b0f;if(this[_0x4e0162(0x37b)])throw new Error(_0x4e0162(0x422));this[_0x4e0162(0x37b)]=!0x0;}[_0x4c3b0f(0x230)](_0x5ae335){var _0x411cdd=_0x4c3b0f;this[_0x411cdd(0x3b2)](),this[_0x411cdd(0x44a)](this[_0x411cdd(0x2fe)]['appendMutation'](_0x5ae335)),this[_0x411cdd(0x33b)]();}[_0x4c3b0f(0x26e)](_0x12d131){var _0x551cba=_0x4c3b0f;if(!(_0x12d131[_0x551cba(0x3e4)]<=this[_0x551cba(0x2f2)][_0x551cba(0x2f6)](this[_0x551cba(0x285)]))){if(this[_0x551cba(0x396)]){this[_0x551cba(0x3e9)][_0x551cba(0x1f9)](_0x12d131);return;}this[_0x551cba(0x1ff)](_0x12d131);}}[_0x4c3b0f(0x3ee)](){var _0x26eec0=_0x4c3b0f;this[_0x26eec0(0x3e9)][_0x26eec0(0x1ba)](_0x54b6cd=>this[_0x26eec0(0x1ff)](_0x54b6cd)),this[_0x26eec0(0x3e9)]=[];}[_0x4c3b0f(0x1ff)](_0x1553e7){var _0x531790=_0x4c3b0f;const _0x245508=this[_0x531790(0x1de)]['interceptor']['fetchThroughInterceptors'](this[_0x531790(0x1de)]['interceptor'][_0x531790(0x2cb)]()[_0x531790(0x239)])(_0x1553e7[_0x531790(0x30b)],null)||_0x1553e7[_0x531790(0x30b)],_0x461ac8={..._0x1553e7,'mutations':_0x245508};this[_0x531790(0x3b2)](),this['_updateState'](this['_state'][_0x531790(0x247)](_0x461ac8)),this[_0x531790(0x33b)]();}[_0x4c3b0f(0x33d)](_0x11bdc1){var _0x584680=_0x4c3b0f;this['_lockTransition'](),this[_0x584680(0x44a)](this['_state'][_0x584680(0x1c3)](_0x11bdc1)),this[_0x584680(0x33b)]();}['_onRemoteRejected'](_0x178870){var _0xffc10e=_0x4c3b0f;this[_0xffc10e(0x3b2)](),this[_0xffc10e(0x44a)](this[_0xffc10e(0x2fe)]['onRemoteRej'](_0x178870)),this[_0xffc10e(0x33b)]();}['_onRemoteRetry'](_0x50c3ae){var _0x45faa6=_0x4c3b0f;this['_lockTransition'](),this[_0x45faa6(0x44a)](this[_0x45faa6(0x2fe)][_0x45faa6(0x419)](_0x50c3ae)),this[_0x45faa6(0x33b)]();}[_0x4c3b0f(0x441)](_0x2af6dd){var _0x176683=_0x4c3b0f;if(!(this[_0x176683(0x2fe)]instanceof ee))throw new TypeError(_0x176683(0x49b));const _0x588db9=_0x2af6dd[_0x176683(0x213)](_0x994747=>{var _0x55ae5b=_0x176683;const _0x5d79ab=this['_compressMutationService'][_0x55ae5b(0x344)][_0x55ae5b(0x3a4)](this[_0x55ae5b(0x1de)][_0x55ae5b(0x344)][_0x55ae5b(0x2cb)]()['COMPRESS_MUTATION_APPLY'])(_0x994747[_0x55ae5b(0x30b)],null)||_0x994747[_0x55ae5b(0x30b)];return{..._0x994747,'mutations':_0x5d79ab};});this[_0x176683(0x3b2)](),this['_updateState'](this[_0x176683(0x2fe)][_0x176683(0x479)](_0x588db9)),this[_0x176683(0x33b)]();}[_0x4c3b0f(0x21b)](){var _0x4bf8f2=_0x4c3b0f;this['_lockTransition'](),this[_0x4bf8f2(0x44a)](this[_0x4bf8f2(0x2fe)][_0x4bf8f2(0x385)]()),this[_0x4bf8f2(0x33b)]();}[_0x4c3b0f(0x1fa)](_0x12560e=!0x1){var _0x495d93=_0x4c3b0f;this['_lockTransition'](),this[_0x495d93(0x44a)](this[_0x495d93(0x2fe)]['toggleOnline']()),this[_0x495d93(0x33b)]();const _0x533ddf=this[_0x495d93(0x2fe)];_0x12560e&&_0x533ddf instanceof Ne&&(this[_0x495d93(0x3b2)](),this[_0x495d93(0x44a)](_0x533ddf[_0x495d93(0x25e)]()),this['_unlockTransition']());}async[_0x4c3b0f(0x3e7)](){return new Promise(_0x4ca3ed=>{var _0x264c73=_0x5e8e;this[_0x264c73(0x31f)][_0x264c73(0x2ad)][_0x264c73(0x21a)](_0x3b4e6b(0x1))[_0x264c73(0x2d4)](async _0x1cc769=>{var _0xa60ae0=_0x264c73;_0x4ca3ed(await this[_0xa60ae0(0x294)](_0x1cc769===Ee[_0xa60ae0(0x3e2)]));});});}[_0x4c3b0f(0x390)](){var _0x398318=_0x4c3b0f;const _0x75f813=this[_0x398318(0x285)];return{'onStateChange':(_0x22003d,_0x3ca789)=>{var _0x4ad282=_0x398318;if(_0x22003d!==this[_0x4ad282(0x2fe)])throw new Error(_0x4ad282(0x29d)+_0x22003d[_0x4ad282(0x265)]+_0x4ad282(0x313)+_0x3ca789[_0x4ad282(0x265)]+_0x4ad282(0x1c7)+this['_state'][_0x4ad282(0x265)]);this['_updateState'](_0x3ca789);},'onSendChangeset':_0x434bdc=>{var _0x246612=_0x398318;_0x434bdc[_0x246612(0x250)]||(_0x434bdc[_0x246612(0x250)]=this['_changesetSessionId'],_0x434bdc[_0x246612(0x382)]=++this[_0x246612(0x339)]);const _0x1203a6={'eventID':_0x420cf9[_0x246612(0x468)],'data':{'unitID':_0x434bdc[_0x246612(0x285)],'unitType':this[_0x246612(0x2fd)],'changeset':_0x434bdc,'memberID':this['session'][_0x246612(0x208)]()}};this['session'][_0x246612(0x43e)](_0x1203a6,this['unitID']);},'onMissingChangesets':({from:_0x2e554f,to:_0x14d263})=>{var _0x413ffb=_0x398318;this[_0x413ffb(0x23f)]['debug']('[CollaborationEntity]',_0x413ffb(0x24b)+_0x2e554f+_0x413ffb(0x494)+_0x14d263);const _0x53ba37={'eventID':_0x420cf9[_0x413ffb(0x227)],'data':{'unitID':_0x75f813,'unitType':this['_type'],'from':_0x2e554f,'to':_0x14d263}};this['session']['send'](_0x53ba37,this['unitID']);}};}async[_0x4c3b0f(0x294)](_0x548083){var _0xa9af20=_0x4c3b0f,_0x53f16f,_0x569303,_0x79475c;const _0x11fc43=await((_0x53f16f=this['_localCacheService'])==null?void 0x0:_0x53f16f[_0xa9af20(0x3e1)](this['unitID'])),_0x511602=(_0x569303=_0x11fc43==null?void 0x0:_0x11fc43[_0xa9af20(0x30b)])!=null?_0x569303:[],_0x24bd58=(_0x79475c=_0x11fc43==null?void 0x0:_0x11fc43[_0xa9af20(0x258)])!=null?_0x79475c:null,_0x427b27=!!(_0x24bd58!=null&&_0x24bd58[_0xa9af20(0x250)])&&!!(_0x24bd58!=null&&_0x24bd58[_0xa9af20(0x382)]);this[_0xa9af20(0x1db)]=_0x427b27?_0x24bd58[_0xa9af20(0x250)]:Zn(),this['_changesetReqId']=_0x427b27?_0x24bd58[_0xa9af20(0x382)]:0x0;const _0x50bc11=this['unitID'];try{this[_0xa9af20(0x35c)](_0x24bd58,_0x511602);}catch(_0xc6796d){this[_0xa9af20(0x23f)][_0xa9af20(0x1ab)](_0xc6796d);}const _0x50ad01=this[_0xa9af20(0x390)]();if(_0x548083){const _0x54f3fd=yi(this[_0xa9af20(0x3df)],_0x50bc11,this['_type'],_0x24bd58,_0x511602,_0x50ad01);return _0x54f3fd instanceof ae?_0x54f3fd[_0xa9af20(0x3eb)]():(_0x54f3fd instanceof oe||_0x54f3fd instanceof le)&&_0x54f3fd[_0xa9af20(0x27a)](),_0x54f3fd;}return this[_0xa9af20(0x3df)][_0xa9af20(0x474)](de,_0x50bc11,this[_0xa9af20(0x2fd)],_0x24bd58,_0x511602,_0x50ad01);}[_0x4c3b0f(0x35c)](_0x444e39,_0xc1bf7e){var _0x1f95f5=_0x4c3b0f,_0xe7f07f,_0x46a370;const _0x5cb533=this[_0x1f95f5(0x1de)][_0x1f95f5(0x344)][_0x1f95f5(0x3a4)](this['_compressMutationService'][_0x1f95f5(0x344)][_0x1f95f5(0x2cb)]()[_0x1f95f5(0x239)]);(_0xe7f07f=_0x5cb533((_0x444e39==null?void 0x0:_0x444e39[_0x1f95f5(0x30b)])||[],null))==null||_0xe7f07f[_0x1f95f5(0x1ba)](_0x1a1161=>this[_0x1f95f5(0x2e9)]['executeCommand'](_0x1a1161['id'],_0x1a1161['params'])),(_0x46a370=_0x5cb533(_0xc1bf7e||[],null))==null||_0x46a370[_0x1f95f5(0x1ba)](_0x2bbccd=>this[_0x1f95f5(0x2e9)][_0x1f95f5(0x38e)](_0x2bbccd['id'],_0x2bbccd['params']));}};nt=Lt([H(0x3,_0xd5eff8(_0x3fbbf1)),H(0x4,_0xd5eff8(_0x703fa5)),H(0x5,_0xd5eff8(_0xf39570)),H(0x6,_0xd5eff8(_0x564b28)),H(0x7,_0xd5eff8(pe)),H(0x8,_0x269a14),H(0x9,_0x118563),H(0xa,_0x1c0607),H(0xb,_0x55e026(ht)),H(0xc,_0x55e026(J))],nt);let It=class extends nt{constructor(_0x2824e5,_0x8eb1af,_0x331a41,_0x4df826,_0x1c31a8,_0x45a492,_0xd4206a,_0x5103f2,_0x43cf0e,_0x9d2227,_0x2caa8d,_0xcb89f6,_0x3afa24){var _0x575d05=_0x4c3b0f;super(_0x2824e5,_0x331a41,_0x8eb1af,_0x4df826,_0x1c31a8,_0x45a492,_0xd4206a,_0x5103f2,_0x43cf0e,_0x9d2227,_0x2caa8d,_0xcb89f6,_0x3afa24),N(this,_0x575d05(0x269),null),(this['unitID']=_0x2824e5,this[_0x575d05(0x493)]=_0x8eb1af);}[_0x4c3b0f(0x3ac)](_0x138f7b){var _0x43749f=_0x4c3b0f;this[_0x43749f(0x269)]=_0x138f7b;}[_0x4c3b0f(0x42a)](){var _0x3f8438=_0x4c3b0f;this[_0x3f8438(0x269)]=null,super[_0x3f8438(0x42a)]();}[_0x4c3b0f(0x390)](){var _0x249e49=_0x4c3b0f;const _0x55d428=super['_createHandler']();return _0x55d428['onTransformIME']=_0x3f1991=>{var _0x1415ff=_0x5e8e,_0x3eae3c,_0x272948;return(_0x272948=(_0x3eae3c=this[_0x1415ff(0x269)])==null?void 0x0:_0x3eae3c['onTransformIME'])==null?void 0x0:_0x272948[_0x1415ff(0x3dc)](_0x3eae3c,_0x3f1991);},_0x55d428[_0x249e49(0x2e4)]=_0x31ee5a=>{var _0x4118f0=_0x249e49,_0x28a926,_0x1a9f3e;return(_0x1a9f3e=(_0x28a926=this[_0x4118f0(0x269)])==null?void 0x0:_0x28a926[_0x4118f0(0x2e4)])==null?void 0x0:_0x1a9f3e[_0x4118f0(0x3dc)](_0x28a926,_0x31ee5a);},_0x55d428[_0x249e49(0x365)]=_0x5043ad=>{var _0x4e1a7f=_0x249e49,_0x4bec00,_0x3b5118;return(_0x3b5118=(_0x4bec00=this['_handlerCallback'])==null?void 0x0:_0x4bec00[_0x4e1a7f(0x365)])==null?void 0x0:_0x3b5118['call'](_0x4bec00,_0x5043ad);},_0x55d428[_0x249e49(0x1b1)]=_0x5cfdad=>{var _0x8e5a1a=_0x249e49,_0x3286ab,_0x302f25;return(_0x302f25=(_0x3286ab=this[_0x8e5a1a(0x269)])==null?void 0x0:_0x3286ab[_0x8e5a1a(0x1b1)])==null?void 0x0:_0x302f25[_0x8e5a1a(0x3dc)](_0x3286ab,_0x5cfdad);},_0x55d428[_0x249e49(0x1ce)]=_0x30987f=>{var _0x3b1c8d=_0x249e49,_0x12b07c,_0x4f4e0d,_0x34212d;if(!((_0x12b07c=this[_0x3b1c8d(0x269)])!=null&&_0x12b07c['onTransformRemoteChangesetByIMECache']))throw new Error('onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x34212d=(_0x4f4e0d=this[_0x3b1c8d(0x269)])==null?void 0x0:_0x4f4e0d[_0x3b1c8d(0x1ce)])==null?void 0x0:_0x34212d[_0x3b1c8d(0x3dc)](_0x4f4e0d,_0x30987f);},_0x55d428['onTransformRemoteChangesetByStateCache']=_0xf36146=>{var _0x16551c=_0x249e49,_0x1023f1,_0x3aa019,_0x5daaae;if(!((_0x1023f1=this[_0x16551c(0x269)])!=null&&_0x1023f1[_0x16551c(0x1f2)]))throw new Error(_0x16551c(0x1e9));return(_0x5daaae=(_0x3aa019=this[_0x16551c(0x269)])==null?void 0x0:_0x3aa019[_0x16551c(0x1f2)])==null?void 0x0:_0x5daaae[_0x16551c(0x3dc)](_0x3aa019,_0xf36146);},_0x55d428;}async[_0x4c3b0f(0x21d)](){var _0x246549=_0x4c3b0f;const _0x59a5b2=await super[_0x246549(0x21d)]();return this[_0x246549(0x32c)](this[_0x246549(0x2e9)][_0x246549(0x33e)]((_0x3f61b3,_0x3fcbf6)=>{var _0x4462b6=_0x246549;if(_0x3f61b3[_0x4462b6(0x493)]!==_0x6cf444[_0x4462b6(0x2f1)]||_0x3fcbf6!=null&&_0x3fcbf6[_0x4462b6(0x424)]||_0x3fcbf6!=null&&_0x3fcbf6['onlyLocal']||_0x3f61b3['id']===_0x272a4f['id'])return;const _0xe3dbe2=_0x3f61b3[_0x4462b6(0x19c)];if((_0xe3dbe2==null?void 0x0:_0xe3dbe2['unitId'])!==this[_0x4462b6(0x285)])return;const _0x357908=_0x3f61b3,_0x3e52ce=this[_0x4462b6(0x1de)]['interceptor']['fetchThroughInterceptors'](this[_0x4462b6(0x1de)][_0x4462b6(0x344)][_0x4462b6(0x2cb)]()[_0x4462b6(0x2b4)])([_0x357908],null)||[_0x357908];this[_0x4462b6(0x230)](_0x3e52ce[0x0]);})),_0x59a5b2;}};It=Lt([H(0x3,_0xd5eff8(_0x3fbbf1)),H(0x4,_0xd5eff8(_0x703fa5)),H(0x5,_0xd5eff8(_0xf39570)),H(0x6,_0xd5eff8(_0x564b28)),H(0x7,_0xd5eff8(pe)),H(0x8,_0x269a14),H(0x9,_0x118563),H(0xa,_0x1c0607),H(0xb,_0x55e026(ht)),H(0xc,_0x55e026(J))],It);let Tt=class extends nt{constructor(_0x178457,_0x4a210e,_0x4ae9a1,_0x4a6bea,_0xa1e100,_0x3ac3a8,_0x1577cd,_0xda2b02,_0x3cf74d,_0x38c212,_0x369688,_0x474bb5,_0xb6d8b7,_0x19b5f2){var _0x221268=_0x4c3b0f;super(_0x178457,_0x4ae9a1,_0x4a210e,_0x4a6bea,_0xa1e100,_0x3ac3a8,_0x1577cd,_0x3cf74d,_0x38c212,_0x369688,_0x474bb5,_0xb6d8b7,_0x19b5f2),this[_0x221268(0x285)]=_0x178457,this[_0x221268(0x493)]=_0x4a210e,this[_0x221268(0x2ca)]=_0xda2b02;}[_0x4c3b0f(0x390)](){var _0x3d26da=_0x4c3b0f;const _0x8e3d1f=super[_0x3d26da(0x390)]();return _0x8e3d1f[_0x3d26da(0x365)]=_0x4c1b10=>this['_sheetTransformSelectionsService'][_0x3d26da(0x1e6)](_0x4c1b10),_0x8e3d1f;}async[_0x4c3b0f(0x21d)](){var _0x4a42a0=_0x4c3b0f;const _0x21ff23=await super[_0x4a42a0(0x21d)]();return this[_0x4a42a0(0x32c)](this[_0x4a42a0(0x2e9)][_0x4a42a0(0x33e)]((_0x4915f1,_0x29d04f)=>{var _0x3f427f=_0x4a42a0;if(_0x4915f1['type']!==_0x6cf444['MUTATION']||_0x29d04f!=null&&_0x29d04f[_0x3f427f(0x424)]||_0x29d04f!=null&&_0x29d04f[_0x3f427f(0x3b8)])return;const _0x341862=_0x4915f1[_0x3f427f(0x19c)];if((_0x341862==null?void 0x0:_0x341862[_0x3f427f(0x485)])!==this['unitID'])return;const _0x9b1108=_0x4915f1,_0x49bbb7=this[_0x3f427f(0x1de)]['interceptor'][_0x3f427f(0x3a4)](this[_0x3f427f(0x1de)]['interceptor'][_0x3f427f(0x2cb)]()[_0x3f427f(0x2b4)])([_0x9b1108],null)||[_0x9b1108];this[_0x3f427f(0x230)](_0x49bbb7[0x0]);})),_0x21ff23;}};Tt=Lt([H(0x3,_0xd5eff8(_0x3fbbf1)),H(0x4,_0xd5eff8(_0x703fa5)),H(0x5,_0xd5eff8(_0xf39570)),H(0x6,_0xd5eff8(_0x564b28)),H(0x7,_0xd5eff8(it)),H(0x8,_0xd5eff8(pe)),H(0x9,_0x269a14),H(0xa,_0x118563),H(0xb,_0x1c0607),H(0xc,_0x55e026(ht)),H(0xd,_0x55e026(J))],Tt);var os=Object[_0x4c3b0f(0x304)],cs=(_0x1694d3,_0x4aceda,_0x1a97bc,_0x1c2515)=>{var _0x18367b=_0x4c3b0f;for(var _0x102871=_0x1c2515>0x1?void 0x0:_0x1c2515?os(_0x4aceda,_0x1a97bc):_0x4aceda,_0x20f764=_0x1694d3[_0x18367b(0x406)]-0x1,_0xa69338;_0x20f764>=0x0;_0x20f764--)(_0xa69338=_0x1694d3[_0x20f764])&&(_0x102871=_0xa69338(_0x102871)||_0x102871);return _0x102871;},ft=(_0x517526,_0x16bc1d)=>(_0x2ca6a4,_0x9e971e)=>_0x16bc1d(_0x2ca6a4,_0x9e971e,_0x517526);let st=class extends _0x4391cf{constructor(_0x164ead,_0x54680a,_0x3aa72f){var _0x57298c=_0x4c3b0f;super(),N(this,'_entities',new Map()),N(this,_0x57298c(0x229),new _0x20a9ed()),N(this,_0x57298c(0x27c),this[_0x57298c(0x229)][_0x57298c(0x236)]()),(this[_0x57298c(0x3df)]=_0x164ead,this[_0x57298c(0x2f9)]=_0x54680a,this['_univerInstanceService']=_0x3aa72f,this[_0x57298c(0x21d)]());}[_0x4c3b0f(0x42a)](){var _0x3285f5=_0x4c3b0f;super[_0x3285f5(0x42a)](),this['_entities'][_0x3285f5(0x1ba)](_0x3d7484=>_0x3d7484['dispose']()),this[_0x3285f5(0x19d)][_0x3285f5(0x28c)]();}[_0x4c3b0f(0x249)](_0x448b7b){var _0x44c03b=_0x4c3b0f,_0x1bd1da;return(_0x1bd1da=this[_0x44c03b(0x19d)][_0x44c03b(0x42b)](_0x448b7b))!=null?_0x1bd1da:null;}[_0x4c3b0f(0x401)](_0x309ccb){var _0x2baefa=_0x4c3b0f;const _0x1d0e75=this[_0x2baefa(0x249)](_0x309ccb);return _0x1d0e75?_0x5d144d(_0x1d0e75):this['_entityInit$'][_0x2baefa(0x21a)](_0x3ffd34(_0x3c843b=>_0x3c843b[_0x2baefa(0x285)]===_0x309ccb));}[_0x4c3b0f(0x2be)](_0x3c8683){var _0xbadbc5=_0x4c3b0f;return _0x122ac1(this[_0xbadbc5(0x401)](_0x3c8683)[_0xbadbc5(0x21a)](_0x5c62b3(()=>{})));}[_0x4c3b0f(0x21d)](){var _0x230ebd=_0x4c3b0f;this[_0x230ebd(0x3bd)][_0x230ebd(0x41b)](_0xd6e5c6[_0x230ebd(0x439)])['pipe'](_0x4b5a2e(this['dispose$']),_0x10c5cc(0x10))[_0x230ebd(0x2d4)](async _0x101e18=>{var _0x44c792=_0x230ebd;const _0x32f8ff=_0x101e18[_0x44c792(0x3c7)](),_0x19d438=await this[_0x44c792(0x387)](_0x32f8ff,Q[_0x44c792(0x439)]);this[_0x44c792(0x19d)][_0x44c792(0x44e)](_0x32f8ff,_0x19d438);}),this[_0x230ebd(0x3bd)][_0x230ebd(0x41b)](_0xd6e5c6[_0x230ebd(0x360)])[_0x230ebd(0x21a)](_0x4b5a2e(this[_0x230ebd(0x3bf)]),_0x10c5cc(0x10))[_0x230ebd(0x21a)](_0x3ffd34(_0xf725b8=>!_0xf725b8[_0x230ebd(0x3c7)]()['startsWith']('__')))[_0x230ebd(0x2d4)](async _0x5b035b=>{var _0x1033e6=_0x230ebd;const _0x16eb09=_0x5b035b['getUnitId'](),_0x45d6c4=await this[_0x1033e6(0x387)](_0x16eb09,Q['UNIVER_DOC']);this['_entities'][_0x1033e6(0x44e)](_0x16eb09,_0x45d6c4);}),_0x2f3e61(this['_univerInstanceService'][_0x230ebd(0x2ee)](_0xd6e5c6['UNIVER_SHEET']),this[_0x230ebd(0x3bd)][_0x230ebd(0x2ee)](_0xd6e5c6[_0x230ebd(0x360)]))[_0x230ebd(0x21a)](_0x4b5a2e(this[_0x230ebd(0x3bf)]))[_0x230ebd(0x2d4)](_0x1392a5=>{var _0x3509ec=_0x230ebd;const _0x243534=_0x1392a5[_0x3509ec(0x3c7)](),_0x2db7d2=this[_0x3509ec(0x19d)][_0x3509ec(0x42b)](_0x243534);_0x2db7d2&&(_0x2db7d2[_0x3509ec(0x42a)](),this[_0x3509ec(0x19d)][_0x3509ec(0x19f)](_0x243534));});}async[_0x4c3b0f(0x387)](_0x29f562,_0x254849){var _0x221c80=_0x4c3b0f;const _0x52247d=await this[_0x221c80(0x2f9)][_0x221c80(0x368)](_0x29f562),_0x48d037=this['_injector'][_0x221c80(0x474)](this[_0x221c80(0x48a)](_0x254849),_0x29f562,_0x254849,_0x52247d);return await _0x48d037[_0x221c80(0x1d6)](),this[_0x221c80(0x229)][_0x221c80(0x340)](_0x48d037),_0x48d037;}[_0x4c3b0f(0x48a)](_0x19f8d4){var _0x16b0ed=_0x4c3b0f;switch(_0x19f8d4){case Q[_0x16b0ed(0x360)]:return It;case Q[_0x16b0ed(0x439)]:return Tt;default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0x19f8d4);}}};st=cs([ft(0x0,_0xd5eff8(_0x3fbbf1)),ft(0x1,_0xd5eff8(xe)),ft(0x2,_0x5f561f)],st);var hs=Object[_0x4c3b0f(0x304)],_s=(_0x3dc299,_0x35e68b,_0x120405,_0x2f0fc8)=>{var _0x44e7fe=_0x4c3b0f;for(var _0xcd1a61=_0x2f0fc8>0x1?void 0x0:_0x2f0fc8?hs(_0x35e68b,_0x120405):_0x35e68b,_0x18f750=_0x3dc299[_0x44e7fe(0x406)]-0x1,_0x3b4b0b;_0x18f750>=0x0;_0x18f750--)(_0x3b4b0b=_0x3dc299[_0x18f750])&&(_0xcd1a61=_0x3b4b0b(_0xcd1a61)||_0xcd1a61);return _0xcd1a61;},zt=(_0x385e6b,_0x558abe)=>(_0x57b35e,_0x537375)=>_0x558abe(_0x57b35e,_0x537375,_0x385e6b);const ls=_0x4c3b0f(0x3d8),us='Univer';let Ct=class extends _0x9b0e7e{constructor(_0x219d43,_0x1947d4){var _0x30c1fa=_0x4c3b0f;super(),this[_0x30c1fa(0x3bd)]=_0x219d43,this[_0x30c1fa(0x1b8)]=_0x1947d4,this[_0x30c1fa(0x21d)]();}['_init'](){var _0x1bb577=_0x4c3b0f;this[_0x1bb577(0x32c)](this[_0x1bb577(0x3bd)]['focused$'][_0x1bb577(0x2d4)](()=>{var _0x8c1f98=_0x1bb577,_0x4912af;const _0x2f6aa8=this[_0x8c1f98(0x3bd)]['getFocusedUnit']();let _0x2a8098=(_0x4912af=this['_configService'][_0x8c1f98(0x207)](ls))!=null?_0x4912af:us;_0x2f6aa8 instanceof _0xa0de50&&(_0x2a8098=_0x2f6aa8[_0x8c1f98(0x490)]),document[_0x8c1f98(0x3b6)]=_0x2a8098;}));}};Ct=_s([zt(0x0,_0x5f561f),zt(0x1,_0x5d9548)],Ct);function _0x5e8e(_0x6e15b2,_0x20d3da){var _0x24f8ee=_0x24f8();return _0x5e8e=function(_0x5e8e19,_0x97bb6d){_0x5e8e19=_0x5e8e19-0x194;var _0x206eb7=_0x24f8ee[_0x5e8e19];return _0x206eb7;},_0x5e8e(_0x6e15b2,_0x20d3da);}var ds=Object[_0x4c3b0f(0x304)],fs=(_0x4e0f74,_0x33fc1e,_0x1db30e,_0x265c70)=>{for(var _0x36cd19=_0x265c70>0x1?void 0x0:_0x265c70?ds(_0x33fc1e,_0x1db30e):_0x33fc1e,_0x4b15a0=_0x4e0f74['length']-0x1,_0x59d24e;_0x4b15a0>=0x0;_0x4b15a0--)(_0x59d24e=_0x4e0f74[_0x4b15a0])&&(_0x36cd19=_0x59d24e(_0x36cd19)||_0x36cd19);return _0x36cd19;},vt=(_0x40fb1b,_0x4812a6)=>(_0x23f9ef,_0x169e58)=>_0x4812a6(_0x23f9ef,_0x169e58,_0x40fb1b);let rt=class{constructor(_0x3b2e27,_0x4f465e,_0x20df3a){var _0x3c31f9=_0x4c3b0f;this[_0x3c31f9(0x1b8)]=_0x3b2e27,this['_httpService']=_0x4f465e,this['localeService']=_0x20df3a,this[_0x3c31f9(0x1d6)]();}[_0x4c3b0f(0x1d6)](){var _0x5a7d55=_0x4c3b0f;this[_0x5a7d55(0x447)][_0x5a7d55(0x2aa)]({'priority':0x1,'interceptor':(_0x2d305e,_0x25a273)=>_0x25a273(_0x2d305e)[_0x5a7d55(0x21a)](_0x5f271a(async _0x4f4699=>{var _0x4596d1=_0x5a7d55;const _0x291588=_0x4f4699;if(_0x291588[_0x4596d1(0x265)]===0x191){if(typeof window>'u')throw new Error(_0x4596d1(0x44d));if(window['confirm'](this[_0x4596d1(0x36f)]['t'](_0x4596d1(0x19b)))){const _0xaa23ee=window[_0x4596d1(0x2af)](window[_0x4596d1(0x371)][_0x4596d1(0x1d8)]);window[_0x4596d1(0x371)][_0x4596d1(0x1d8)]=this['_getLoginPath']()+_0x4596d1(0x42d)+_0xaa23ee;}}return _0x291588;}))});}[_0x4c3b0f(0x47a)](){var _0x429931=_0x4c3b0f,_0x2bdc53,_0x50abfe;const _0x564c60=this['_configService'][_0x429931(0x207)](Un),_0x19e1d9=this['_configService'][_0x429931(0x207)](q);return(_0x50abfe=(_0x2bdc53=_0x19e1d9==null?void 0x0:_0x19e1d9[_0x429931(0x47b)])!=null?_0x2bdc53:_0x564c60)!=null?_0x50abfe:An;}};rt=fs([vt(0x0,_0x5d9548),vt(0x1,_0xd5eff8(_0x279f52)),vt(0x2,_0xd5eff8(_0xf39570))],rt);var vs=Object[_0x4c3b0f(0x304)],ps=(_0x533e55,_0x2dbac1,_0x23baa7,_0x125e64)=>{var _0xef33a4=_0x4c3b0f;for(var _0x3a0a7d=_0x125e64>0x1?void 0x0:_0x125e64?vs(_0x2dbac1,_0x23baa7):_0x2dbac1,_0x25bb0e=_0x533e55[_0xef33a4(0x406)]-0x1,_0x43468;_0x25bb0e>=0x0;_0x25bb0e--)(_0x43468=_0x533e55[_0x25bb0e])&&(_0x3a0a7d=_0x43468(_0x3a0a7d)||_0x3a0a7d);return _0x3a0a7d;},Jt=(_0x49a054,_0x322cd6)=>(_0x35c23a,_0x40f692)=>_0x322cd6(_0x35c23a,_0x40f692,_0x49a054);const Ni=_0x4c3b0f(0x38f),ms=_0x4c3b0f(0x295);let Rt=class extends _0x9b0e7e{constructor(_0x11987b,_0x189292){var _0x2b74af=_0x4c3b0f;super(),this[_0x2b74af(0x3fd)]=_0x11987b,this['_configService']=_0x189292,this[_0x2b74af(0x3af)]();}['_initMergeInterceptor'](){var _0x2563a1=_0x4c3b0f;const _0x4d1387=this;this[_0x2563a1(0x32c)](this[_0x2563a1(0x3fd)]['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':_0x332f59({'isMatch'(_0x249788){var _0x3c5833=_0x2563a1,_0x54f034;if(_0x249788[_0x3c5833(0x28a)]==='POST'&&((_0x54f034=_0x249788['requestParams'])!=null&&_0x54f034[_0x3c5833(0x1fc)])){const {objectID:_0x5c5c4d,objectType:_0x23d2ef}=_0x249788[_0x3c5833(0x284)][_0x3c5833(0x1fc)]||{};if(!_0x5c5c4d||_0x23d2ef===void 0x0)return!0x1;const _0x47dd4c=_0x4d1387[_0x3c5833(0x331)]()+'/'+_0x23d2ef+_0x3c5833(0x469)+_0x5c5c4d+_0x3c5833(0x275);if(_0x249788[_0x3c5833(0x33f)]===_0x47dd4c)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x5174ae){var _0x1924fc=_0x2563a1,_0x4d059b;return(_0x4d059b=_0x5174ae[_0x1924fc(0x284)])==null?void 0x0:_0x4d059b['body'];},'mergeParamsToRequest'(_0x4d037a,_0x4f9b56){var _0x44900c=_0x2563a1;const _0x5a2e9a=_0x4d1387['_getAPIPrefixPath']()+_0x44900c(0x409),_0x17be51=_0x4d037a['reduce']((_0x2eadbf,_0x2ea1d1)=>{var _0x132489=_0x44900c;const {unitID:_0x593a9b,objectID:_0xfafaf1,objectType:_0x438daa,actions:_0x59dd61}=_0x2ea1d1;return _0x2eadbf[_0x593a9b]||(_0x2eadbf[_0x593a9b]={}),_0x2eadbf[_0x593a9b][_0xfafaf1]||(_0x2eadbf[_0x593a9b][_0xfafaf1]={'objectID':_0xfafaf1,'objectType':_0x438daa,'actions':[]}),_0x2eadbf[_0x593a9b][_0xfafaf1][_0x132489(0x333)][_0x132489(0x1f9)](..._0x59dd61),_0x2eadbf;},{}),_0x5a5a4f=[];for(const _0x5fabd2 in _0x17be51)for(const _0x2a038d in _0x17be51[_0x5fabd2]){const {actions:_0xb50977,objectType:_0x2b970a}=_0x17be51[_0x5fabd2][_0x2a038d],_0x1f557f=[...new Set(_0xb50977)];_0x5a5a4f[_0x44900c(0x1f9)]({'unitID':_0x5fabd2,'objectID':_0x2a038d,'objectType':_0x2b970a,'actions':_0x1f557f});}return new _0x2f0811(_0x44900c(0x462),_0x5a2e9a,{'headers':_0x4f9b56['headers'],'withCredentials':_0x4f9b56[_0x44900c(0x3b1)],'responseType':_0x4f9b56['responseType'],'body':{'requests':_0x5a5a4f}});}},{'distributeResult'(_0x3ce8a8,_0x2ffc33){const {objectActions:_0x972f99}=_0x3ce8a8;return _0x2ffc33['map'](_0x12d50d=>{var _0x3b9fcb=_0x5e8e;const {unitID:_0x3a7305,objectID:_0xa2fc49,actions:_0x13ff2d}=_0x12d50d,_0x5109c7=_0x972f99[_0x3b9fcb(0x32a)](_0x26e56e=>_0x26e56e[_0x3b9fcb(0x285)]===_0x3a7305&&_0x26e56e[_0x3b9fcb(0x498)]===_0xa2fc49),_0x5eff40=_0x13ff2d[_0x3b9fcb(0x213)](_0x5436e1=>_0x5109c7==null?void 0x0:_0x5109c7[_0x3b9fcb(0x333)][_0x3b9fcb(0x32a)](_0x4665e3=>_0x4665e3[_0x3b9fcb(0x199)]===_0x5436e1))[_0x3b9fcb(0x1a7)](_0x249f6b=>!!_0x249f6b);return{'config':_0x12d50d,'result':{'actions':_0x5eff40,'error':_0x3ce8a8[_0x3b9fcb(0x1ab)]}};});}})}));}[_0x4c3b0f(0x331)](){var _0x3cd40e=_0x4c3b0f,_0x38af0e,_0x189d8b;const _0x381992=this[_0x3cd40e(0x1b8)][_0x3cd40e(0x207)](Ni),_0x811ae4=this[_0x3cd40e(0x1b8)]['getConfig'](q);return(_0x189d8b=(_0x38af0e=_0x811ae4==null?void 0x0:_0x811ae4[_0x3cd40e(0x483)])!=null?_0x38af0e:_0x381992)!=null?_0x189d8b:ms;}async['create'](_0xedd91){var _0x448eba=_0x4c3b0f;const _0x45f45c=this['_getAPIPrefixPath']()+'/'+_0xedd91['objectType']+_0x448eba(0x310);return(await this['_HTTPService']['post'](_0x45f45c,{'body':_0xedd91}))[_0x448eba(0x1fc)][_0x448eba(0x498)]||'';}async[_0x4c3b0f(0x428)](_0x1a408a){var _0x319df6=_0x4c3b0f;const _0x549672=this['_getAPIPrefixPath']()+'/-/object/list';return(await this[_0x319df6(0x3fd)][_0x319df6(0x1f3)](_0x549672,{'body':_0x1a408a}))['body'][_0x319df6(0x3ce)];}async['update'](_0xfe315){var _0x4f12d9=_0x4c3b0f,_0x3718ed,_0x208424;const _0x1ce3b2=this[_0x4f12d9(0x331)]()+'/'+_0xfe315['objectType']+'/object/'+_0xfe315['objectID'],_0x2370a2=await this[_0x4f12d9(0x3fd)][_0x4f12d9(0x28b)](_0x1ce3b2,{'body':_0xfe315});if(((_0x208424=(_0x3718ed=_0x2370a2==null?void 0x0:_0x2370a2[_0x4f12d9(0x1fc)])==null?void 0x0:_0x3718ed[_0x4f12d9(0x1ab)])==null?void 0x0:_0x208424['code'])!==0x1)throw new Error(_0x4f12d9(0x2a9));}async[_0x4c3b0f(0x1ea)](_0x4a7868){var _0x4a7a45=_0x4c3b0f;const _0x272059=this[_0x4a7a45(0x331)]()+'/'+_0x4a7868[_0x4a7a45(0x225)]+_0x4a7a45(0x469)+_0x4a7868[_0x4a7a45(0x498)]+_0x4a7a45(0x275);return(await this[_0x4a7a45(0x3fd)][_0x4a7a45(0x1f3)](_0x272059,{'body':_0x4a7868}))['body'][_0x4a7a45(0x333)];}async[_0x4c3b0f(0x3c4)](_0x417cb1){var _0x42b73e=_0x4c3b0f;const _0x4c8335=this[_0x42b73e(0x331)]()+_0x42b73e(0x409);return(await this[_0x42b73e(0x3fd)]['post'](_0x4c8335,{'body':{'requests':_0x417cb1}}))[_0x42b73e(0x1fc)][_0x42b73e(0x312)];}async[_0x4c3b0f(0x245)](_0x3c4eef){var _0x3a65d1=_0x4c3b0f;const _0x520cbd=this['_getAPIPrefixPath']()+'/'+_0x3c4eef['objectType']+_0x3a65d1(0x40b),_0x33c539=await this[_0x3a65d1(0x3fd)][_0x3a65d1(0x1f3)](_0x520cbd,{'body':_0x3c4eef});return{'roles':_0x33c539['body']['roles'],'actions':_0x33c539[_0x3a65d1(0x1fc)]['actions']};}async[_0x4c3b0f(0x1cd)](_0x20f5d4){var _0x4a770f=_0x4c3b0f;const _0x2be440=this['_getAPIPrefixPath']()+_0x4a770f(0x2a3);await this[_0x4a770f(0x3fd)]['delete'](_0x2be440,{'params':{'collaboratorID':_0x20f5d4[_0x4a770f(0x49f)],'objectID':_0x20f5d4[_0x4a770f(0x498)],'unitID':_0x20f5d4[_0x4a770f(0x285)]}});}async[_0x4c3b0f(0x2d1)](_0x5a182d){var _0x2fc2cd=_0x4c3b0f;const _0x10826b=this[_0x2fc2cd(0x331)]()+_0x2fc2cd(0x2a3);await this[_0x2fc2cd(0x3fd)]['patch'](_0x10826b,{'body':_0x5a182d});}async[_0x4c3b0f(0x28f)](_0x2f2a04){var _0x3ab243=_0x4c3b0f;const _0x25d64b=this[_0x3ab243(0x331)]()+'/collaborator';await this[_0x3ab243(0x3fd)][_0x3ab243(0x1f3)](_0x25d64b,{'body':_0x2f2a04});}async[_0x4c3b0f(0x36d)](_0x41876f){var _0x27c4c3=_0x4c3b0f;const _0x4396af=this[_0x27c4c3(0x331)]()+_0x27c4c3(0x2a3);return(await this[_0x27c4c3(0x3fd)][_0x27c4c3(0x42b)](_0x4396af,{'params':{'objectID':_0x41876f[_0x27c4c3(0x498)],'unitID':_0x41876f[_0x27c4c3(0x285)]}}))[_0x27c4c3(0x1fc)][_0x27c4c3(0x282)];}async[_0x4c3b0f(0x3a6)](_0x51bbec){var _0x3864d8=_0x4c3b0f;const _0x19992f=this[_0x3864d8(0x331)]()+'/collaborator';await this['_HTTPService'][_0x3864d8(0x28b)](_0x19992f,{'body':_0x51bbec});}};Rt=ps([Jt(0x0,_0xd5eff8(_0x279f52)),Jt(0x1,_0xd5eff8(_0x5d9548))],Rt);var pt=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function He(_0x4952f7){var _0x275a8c=_0x4c3b0f;return _0x4952f7&&_0x4952f7['__esModule']&&Object[_0x275a8c(0x1d4)][_0x275a8c(0x2df)][_0x275a8c(0x3dc)](_0x4952f7,_0x275a8c(0x1a9))?_0x4952f7['default']:_0x4952f7;}var Ve={'exports':{}};function gs(_0x3a8fc9){var _0x4f8ef8=_0x4c3b0f;throw new Error(_0x4f8ef8(0x1bc)+_0x3a8fc9+_0x4f8ef8(0x440));}var Ge={'exports':{}},Ss=Ge['exports'],Xt;function ie(){var _0x568da6=_0x4c3b0f;return Xt||(Xt=0x1,function(_0x137cd9,_0x33fb76){(function(_0x9e2d,_0x43a6b6){_0x137cd9['exports']=_0x43a6b6();}(Ss,function(){var _0x3b365c=_0x3b365c||function(_0x4183a8,_0x864c3a){var _0x5574f4=_0x5e8e,_0x392913;if(typeof window<'u'&&window[_0x5574f4(0x23c)]&&(_0x392913=window[_0x5574f4(0x23c)]),typeof self<'u'&&self[_0x5574f4(0x23c)]&&(_0x392913=self[_0x5574f4(0x23c)]),typeof globalThis<'u'&&globalThis[_0x5574f4(0x23c)]&&(_0x392913=globalThis[_0x5574f4(0x23c)]),!_0x392913&&typeof window<'u'&&window[_0x5574f4(0x463)]&&(_0x392913=window[_0x5574f4(0x463)]),!_0x392913&&typeof pt<'u'&&pt[_0x5574f4(0x23c)]&&(_0x392913=pt[_0x5574f4(0x23c)]),!_0x392913&&typeof gs==_0x5574f4(0x3be))try{_0x392913=require(_0x5574f4(0x23c));}catch{}var _0x3a74e2=function(){var _0x12747f=_0x5574f4;if(_0x392913){if(typeof _0x392913[_0x12747f(0x326)]==_0x12747f(0x3be))try{return _0x392913['getRandomValues'](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x392913['randomBytes']=='function')try{return _0x392913['randomBytes'](0x4)[_0x12747f(0x211)]();}catch{}}throw new Error(_0x12747f(0x1b4));},_0x3eb076=Object[_0x5574f4(0x49c)]||(function(){function _0x4d751a(){}return function(_0x12820f){var _0x39c5d7=_0x5e8e,_0x185ccc;return _0x4d751a['prototype']=_0x12820f,_0x185ccc=new _0x4d751a(),_0x4d751a[_0x39c5d7(0x1d4)]=null,_0x185ccc;};}()),_0x2bd246={},_0x129699=_0x2bd246[_0x5574f4(0x370)]={},_0x3b5c83=_0x129699[_0x5574f4(0x41a)]=(function(){return{'extend':function(_0x2d8033){var _0x133d02=_0x5e8e,_0x4d6c7f=_0x3eb076(this);return _0x2d8033&&_0x4d6c7f['mixIn'](_0x2d8033),(!_0x4d6c7f[_0x133d02(0x2df)](_0x133d02(0x1d6))||this['init']===_0x4d6c7f['init'])&&(_0x4d6c7f[_0x133d02(0x1d6)]=function(){var _0x5a3e9b=_0x133d02;_0x4d6c7f[_0x5a3e9b(0x1b7)][_0x5a3e9b(0x1d6)][_0x5a3e9b(0x1a6)](this,arguments);}),_0x4d6c7f[_0x133d02(0x1d6)]['prototype']=_0x4d6c7f,_0x4d6c7f[_0x133d02(0x1b7)]=this,_0x4d6c7f;},'create':function(){var _0x220c8c=_0x5e8e,_0x38d72d=this[_0x220c8c(0x279)]();return _0x38d72d[_0x220c8c(0x1d6)][_0x220c8c(0x1a6)](_0x38d72d,arguments),_0x38d72d;},'init':function(){},'mixIn':function(_0x42d341){var _0x18365e=_0x5e8e;for(var _0x2330dc in _0x42d341)_0x42d341[_0x18365e(0x2df)](_0x2330dc)&&(this[_0x2330dc]=_0x42d341[_0x2330dc]);_0x42d341[_0x18365e(0x2df)](_0x18365e(0x22b))&&(this['toString']=_0x42d341[_0x18365e(0x22b)]);},'clone':function(){var _0x25dccc=_0x5e8e;return this[_0x25dccc(0x1d6)]['prototype']['extend'](this);}};}()),_0x33e577=_0x129699[_0x5574f4(0x402)]=_0x3b5c83[_0x5574f4(0x279)]({'init':function(_0x3f14d7,_0x4ac4bb){var _0x27f35e=_0x5574f4;_0x3f14d7=this[_0x27f35e(0x1d2)]=_0x3f14d7||[],_0x4ac4bb!=_0x864c3a?this[_0x27f35e(0x451)]=_0x4ac4bb:this[_0x27f35e(0x451)]=_0x3f14d7[_0x27f35e(0x406)]*0x4;},'toString':function(_0x1e2460){var _0x108d59=_0x5574f4;return(_0x1e2460||_0x5a4506)[_0x108d59(0x497)](this);},'concat':function(_0x5ad5d3){var _0x3b2366=_0x5574f4,_0x4ded4e=this['words'],_0x3fd8e1=_0x5ad5d3[_0x3b2366(0x1d2)],_0x2b378c=this['sigBytes'],_0x4673c1=_0x5ad5d3[_0x3b2366(0x451)];if(this['clamp'](),_0x2b378c%0x4)for(var _0x3012be=0x0;_0x3012be<_0x4673c1;_0x3012be++){var _0x42d15f=_0x3fd8e1[_0x3012be>>>0x2]>>>0x18-_0x3012be%0x4*0x8&0xff;_0x4ded4e[_0x2b378c+_0x3012be>>>0x2]|=_0x42d15f<<0x18-(_0x2b378c+_0x3012be)%0x4*0x8;}else{for(var _0x1cc6ca=0x0;_0x1cc6ca<_0x4673c1;_0x1cc6ca+=0x4)_0x4ded4e[_0x2b378c+_0x1cc6ca>>>0x2]=_0x3fd8e1[_0x1cc6ca>>>0x2];}return this[_0x3b2366(0x451)]+=_0x4673c1,this;},'clamp':function(){var _0x260d8f=_0x5574f4,_0x5be604=this['words'],_0x57ef3f=this['sigBytes'];_0x5be604[_0x57ef3f>>>0x2]&=0xffffffff<<0x20-_0x57ef3f%0x4*0x8,_0x5be604[_0x260d8f(0x406)]=_0x4183a8['ceil'](_0x57ef3f/0x4);},'clone':function(){var _0x2f0df0=_0x5574f4,_0x111787=_0x3b5c83[_0x2f0df0(0x251)]['call'](this);return _0x111787[_0x2f0df0(0x1d2)]=this[_0x2f0df0(0x1d2)][_0x2f0df0(0x2b6)](0x0),_0x111787;},'random':function(_0x36693c){var _0x87423e=_0x5574f4;for(var _0x30c438=[],_0x371316=0x0;_0x371316<_0x36693c;_0x371316+=0x4)_0x30c438['push'](_0x3a74e2());return new _0x33e577[(_0x87423e(0x1d6))](_0x30c438,_0x36693c);}}),_0x416a7d=_0x2bd246[_0x5574f4(0x244)]={},_0x5a4506=_0x416a7d['Hex']={'stringify':function(_0x4f2942){var _0x589b2b=_0x5574f4;for(var _0x404e44=_0x4f2942[_0x589b2b(0x1d2)],_0x32a80c=_0x4f2942[_0x589b2b(0x451)],_0x25340d=[],_0x4fbdc6=0x0;_0x4fbdc6<_0x32a80c;_0x4fbdc6++){var _0x2e22e2=_0x404e44[_0x4fbdc6>>>0x2]>>>0x18-_0x4fbdc6%0x4*0x8&0xff;_0x25340d['push']((_0x2e22e2>>>0x4)[_0x589b2b(0x22b)](0x10)),_0x25340d[_0x589b2b(0x1f9)]((_0x2e22e2&0xf)[_0x589b2b(0x22b)](0x10));}return _0x25340d[_0x589b2b(0x43d)]('');},'parse':function(_0x1af569){var _0x4748f1=_0x5574f4;for(var _0x1c55db=_0x1af569[_0x4748f1(0x406)],_0x345dbd=[],_0x14b40b=0x0;_0x14b40b<_0x1c55db;_0x14b40b+=0x2)_0x345dbd[_0x14b40b>>>0x3]|=parseInt(_0x1af569['substr'](_0x14b40b,0x2),0x10)<<0x18-_0x14b40b%0x8*0x4;return new _0x33e577['init'](_0x345dbd,_0x1c55db/0x2);}},_0x36a7cc=_0x416a7d['Latin1']={'stringify':function(_0x28f6bd){var _0x3a7183=_0x5574f4;for(var _0x4a627b=_0x28f6bd['words'],_0x20dade=_0x28f6bd[_0x3a7183(0x451)],_0x244d3e=[],_0x309f3b=0x0;_0x309f3b<_0x20dade;_0x309f3b++){var _0x24e5a9=_0x4a627b[_0x309f3b>>>0x2]>>>0x18-_0x309f3b%0x4*0x8&0xff;_0x244d3e[_0x3a7183(0x1f9)](String[_0x3a7183(0x2ae)](_0x24e5a9));}return _0x244d3e['join']('');},'parse':function(_0xb0a14c){var _0x4809c1=_0x5574f4;for(var _0x1628ef=_0xb0a14c['length'],_0x701697=[],_0x28d377=0x0;_0x28d377<_0x1628ef;_0x28d377++)_0x701697[_0x28d377>>>0x2]|=(_0xb0a14c[_0x4809c1(0x495)](_0x28d377)&0xff)<<0x18-_0x28d377%0x4*0x8;return new _0x33e577[(_0x4809c1(0x1d6))](_0x701697,_0x1628ef);}},_0x485ba2=_0x416a7d[_0x5574f4(0x3d2)]={'stringify':function(_0x335a89){var _0x3d68da=_0x5574f4;try{return decodeURIComponent(escape(_0x36a7cc['stringify'](_0x335a89)));}catch{throw new Error(_0x3d68da(0x3a2));}},'parse':function(_0x196e26){return _0x36a7cc['parse'](unescape(encodeURIComponent(_0x196e26)));}},_0x58a2d1=_0x129699['BufferedBlockAlgorithm']=_0x3b5c83[_0x5574f4(0x279)]({'reset':function(){var _0x31381a=_0x5574f4;this[_0x31381a(0x3c5)]=new _0x33e577['init'](),this[_0x31381a(0x399)]=0x0;},'_append':function(_0x358a06){var _0x43dec4=_0x5574f4;typeof _0x358a06==_0x43dec4(0x196)&&(_0x358a06=_0x485ba2[_0x43dec4(0x26a)](_0x358a06)),this[_0x43dec4(0x3c5)]['concat'](_0x358a06),this[_0x43dec4(0x399)]+=_0x358a06['sigBytes'];},'_process':function(_0xf64e86){var _0x225c76=_0x5574f4,_0x4879a7,_0x1ed4b7=this[_0x225c76(0x3c5)],_0x50bf7a=_0x1ed4b7['words'],_0x25a451=_0x1ed4b7[_0x225c76(0x451)],_0x4401f0=this[_0x225c76(0x3a0)],_0x525b42=_0x4401f0*0x4,_0x22273d=_0x25a451/_0x525b42;_0xf64e86?_0x22273d=_0x4183a8[_0x225c76(0x238)](_0x22273d):_0x22273d=_0x4183a8[_0x225c76(0x487)]((_0x22273d|0x0)-this[_0x225c76(0x2b9)],0x0);var _0x352a73=_0x22273d*_0x4401f0,_0x3fc72a=_0x4183a8[_0x225c76(0x442)](_0x352a73*0x4,_0x25a451);if(_0x352a73){for(var _0x3ea53f=0x0;_0x3ea53f<_0x352a73;_0x3ea53f+=_0x4401f0)this[_0x225c76(0x220)](_0x50bf7a,_0x3ea53f);_0x4879a7=_0x50bf7a[_0x225c76(0x46a)](0x0,_0x352a73),_0x1ed4b7['sigBytes']-=_0x3fc72a;}return new _0x33e577[(_0x225c76(0x1d6))](_0x4879a7,_0x3fc72a);},'clone':function(){var _0x77114=_0x5574f4,_0x4a1b58=_0x3b5c83[_0x77114(0x251)]['call'](this);return _0x4a1b58['_data']=this['_data'][_0x77114(0x251)](),_0x4a1b58;},'_minBufferSize':0x0});_0x129699[_0x5574f4(0x3d0)]=_0x58a2d1[_0x5574f4(0x279)]({'cfg':_0x3b5c83[_0x5574f4(0x279)](),'init':function(_0x4c6312){var _0x124288=_0x5574f4;this[_0x124288(0x21c)]=this['cfg']['extend'](_0x4c6312),this['reset']();},'reset':function(){var _0xd61989=_0x5574f4;_0x58a2d1[_0xd61989(0x2e3)][_0xd61989(0x3dc)](this),this['_doReset']();},'update':function(_0x3b9607){var _0x113dfc=_0x5574f4;return this['_append'](_0x3b9607),this[_0x113dfc(0x1c4)](),this;},'finalize':function(_0x3a7438){var _0x2347b1=_0x5574f4;_0x3a7438&&this[_0x2347b1(0x1c8)](_0x3a7438);var _0x1c55b0=this[_0x2347b1(0x1c9)]();return _0x1c55b0;},'blockSize':0x10,'_createHelper':function(_0x190d27){return function(_0x13d8b9,_0x9c71c2){var _0x480668=_0x5e8e;return new _0x190d27[(_0x480668(0x1d6))](_0x9c71c2)['finalize'](_0x13d8b9);};},'_createHmacHelper':function(_0x36b6d8){return function(_0x549111,_0x2c1507){var _0x11f8c4=_0x5e8e;return new _0x342664['HMAC'][(_0x11f8c4(0x1d6))](_0x36b6d8,_0x2c1507)[_0x11f8c4(0x2d3)](_0x549111);};}});var _0x342664=_0x2bd246['algo']={};return _0x2bd246;}(Math);return _0x3b365c;}));}(Ge)),Ge[_0x568da6(0x305)];}var We={'exports':{}},Es=We[_0x4c3b0f(0x305)],Zt;function Di(){var _0x5857a2=_0x4c3b0f;return Zt||(Zt=0x1,function(_0x4cc351,_0x1d870c){(function(_0x1c9267,_0x33aec9){_0x4cc351['exports']=_0x33aec9(ie());}(Es,function(_0x13bad9){var _0x43b558=_0x5e8e;return(function(){var _0x112772=_0x5e8e,_0x55ad9d=_0x13bad9,_0x45f824=_0x55ad9d['lib'],_0x53545=_0x45f824[_0x112772(0x402)],_0x4925c3=_0x55ad9d[_0x112772(0x244)];_0x4925c3[_0x112772(0x471)]={'stringify':function(_0x347211){var _0x1e27c9=_0x112772,_0x1356ce=_0x347211['words'],_0x416964=_0x347211[_0x1e27c9(0x451)],_0x31dfa9=this[_0x1e27c9(0x2b0)];_0x347211[_0x1e27c9(0x444)]();for(var _0x21827c=[],_0x44af7f=0x0;_0x44af7f<_0x416964;_0x44af7f+=0x3)for(var _0x43de54=_0x1356ce[_0x44af7f>>>0x2]>>>0x18-_0x44af7f%0x4*0x8&0xff,_0x4e771f=_0x1356ce[_0x44af7f+0x1>>>0x2]>>>0x18-(_0x44af7f+0x1)%0x4*0x8&0xff,_0x2fb279=_0x1356ce[_0x44af7f+0x2>>>0x2]>>>0x18-(_0x44af7f+0x2)%0x4*0x8&0xff,_0x4a7957=_0x43de54<<0x10|_0x4e771f<<0x8|_0x2fb279,_0x139098=0x0;_0x139098<0x4&&_0x44af7f+_0x139098*0.75<_0x416964;_0x139098++)_0x21827c['push'](_0x31dfa9['charAt'](_0x4a7957>>>0x6*(0x3-_0x139098)&0x3f));var _0x2b9cf9=_0x31dfa9[_0x1e27c9(0x369)](0x40);if(_0x2b9cf9){for(;_0x21827c[_0x1e27c9(0x406)]%0x4;)_0x21827c[_0x1e27c9(0x1f9)](_0x2b9cf9);}return _0x21827c[_0x1e27c9(0x43d)]('');},'parse':function(_0x134e47){var _0x22506a=_0x112772,_0x2c8b5f=_0x134e47[_0x22506a(0x406)],_0x2a065c=this[_0x22506a(0x2b0)],_0x29b29a=this[_0x22506a(0x40c)];if(!_0x29b29a){_0x29b29a=this[_0x22506a(0x40c)]=[];for(var _0x107be5=0x0;_0x107be5<_0x2a065c[_0x22506a(0x406)];_0x107be5++)_0x29b29a[_0x2a065c['charCodeAt'](_0x107be5)]=_0x107be5;}var _0x20efcf=_0x2a065c[_0x22506a(0x369)](0x40);if(_0x20efcf){var _0x129aea=_0x134e47[_0x22506a(0x306)](_0x20efcf);_0x129aea!==-0x1&&(_0x2c8b5f=_0x129aea);}return _0x4caf98(_0x134e47,_0x2c8b5f,_0x29b29a);},'_map':_0x112772(0x254)};function _0x4caf98(_0x5cbaca,_0xce0d4,_0xc6ce5e){var _0x1f9b5c=_0x112772;for(var _0x54242b=[],_0x38d35a=0x0,_0x534e68=0x0;_0x534e68<_0xce0d4;_0x534e68++)if(_0x534e68%0x4){var _0x46c474=_0xc6ce5e[_0x5cbaca[_0x1f9b5c(0x495)](_0x534e68-0x1)]<<_0x534e68%0x4*0x2,_0x23c67c=_0xc6ce5e[_0x5cbaca[_0x1f9b5c(0x495)](_0x534e68)]>>>0x6-_0x534e68%0x4*0x2,_0xc4d1a8=_0x46c474|_0x23c67c;_0x54242b[_0x38d35a>>>0x2]|=_0xc4d1a8<<0x18-_0x38d35a%0x4*0x8,_0x38d35a++;}return _0x53545[_0x1f9b5c(0x49c)](_0x54242b,_0x38d35a);}}()),_0x13bad9[_0x43b558(0x244)]['Base64'];}));}(We)),We[_0x5857a2(0x305)];}var Ke={'exports':{}},Is=Ke[_0x4c3b0f(0x305)],Qt;function Ts(){var _0x227d6b=_0x4c3b0f;return Qt||(Qt=0x1,function(_0x2dcd65,_0x2a6e45){(function(_0x1cbe7a,_0x4bb334){_0x2dcd65['exports']=_0x4bb334(ie());}(Is,function(_0x365003){return function(_0x5c8482){var _0x55c9a0=_0x5e8e,_0x142e03=_0x365003,_0x4b9997=_0x142e03[_0x55c9a0(0x370)],_0x2ef471=_0x4b9997['WordArray'],_0x32ad40=_0x4b9997[_0x55c9a0(0x3d0)],_0x41fd49=_0x142e03[_0x55c9a0(0x2d9)],_0x22c0fb=[];(function(){var _0x3646ac=_0x55c9a0;for(var _0x4ab45b=0x0;_0x4ab45b<0x40;_0x4ab45b++)_0x22c0fb[_0x4ab45b]=_0x5c8482[_0x3646ac(0x3db)](_0x5c8482[_0x3646ac(0x302)](_0x4ab45b+0x1))*0x100000000|0x0;}());var _0xaab8f5=_0x41fd49[_0x55c9a0(0x355)]=_0x32ad40['extend']({'_doReset':function(){var _0x5ae468=_0x55c9a0;this[_0x5ae468(0x2c5)]=new _0x2ef471['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0xe88d2a,_0x180096){var _0x46902a=_0x55c9a0;for(var _0x56b7a9=0x0;_0x56b7a9<0x10;_0x56b7a9++){var _0x51d2d5=_0x180096+_0x56b7a9,_0xb917c7=_0xe88d2a[_0x51d2d5];_0xe88d2a[_0x51d2d5]=(_0xb917c7<<0x8|_0xb917c7>>>0x18)&0xff00ff|(_0xb917c7<<0x18|_0xb917c7>>>0x8)&0xff00ff00;}var _0x5c56da=this[_0x46902a(0x2c5)][_0x46902a(0x1d2)],_0x2a4f10=_0xe88d2a[_0x180096+0x0],_0x3cbdea=_0xe88d2a[_0x180096+0x1],_0x2bc95f=_0xe88d2a[_0x180096+0x2],_0xa4f48d=_0xe88d2a[_0x180096+0x3],_0x3fcc06=_0xe88d2a[_0x180096+0x4],_0x3ff30f=_0xe88d2a[_0x180096+0x5],_0x3b5d04=_0xe88d2a[_0x180096+0x6],_0x52506d=_0xe88d2a[_0x180096+0x7],_0x193735=_0xe88d2a[_0x180096+0x8],_0x3304ca=_0xe88d2a[_0x180096+0x9],_0x551912=_0xe88d2a[_0x180096+0xa],_0x912622=_0xe88d2a[_0x180096+0xb],_0x29b537=_0xe88d2a[_0x180096+0xc],_0x1aaa6a=_0xe88d2a[_0x180096+0xd],_0x40cab8=_0xe88d2a[_0x180096+0xe],_0x2d838a=_0xe88d2a[_0x180096+0xf],_0x205c0a=_0x5c56da[0x0],_0x35d4a9=_0x5c56da[0x1],_0x40fb84=_0x5c56da[0x2],_0x20a48d=_0x5c56da[0x3];_0x205c0a=_0x22605d(_0x205c0a,_0x35d4a9,_0x40fb84,_0x20a48d,_0x2a4f10,0x7,_0x22c0fb[0x0]),_0x20a48d=_0x22605d(_0x20a48d,_0x205c0a,_0x35d4a9,_0x40fb84,_0x3cbdea,0xc,_0x22c0fb[0x1]),_0x40fb84=_0x22605d(_0x40fb84,_0x20a48d,_0x205c0a,_0x35d4a9,_0x2bc95f,0x11,_0x22c0fb[0x2]),_0x35d4a9=_0x22605d(_0x35d4a9,_0x40fb84,_0x20a48d,_0x205c0a,_0xa4f48d,0x16,_0x22c0fb[0x3]),_0x205c0a=_0x22605d(_0x205c0a,_0x35d4a9,_0x40fb84,_0x20a48d,_0x3fcc06,0x7,_0x22c0fb[0x4]),_0x20a48d=_0x22605d(_0x20a48d,_0x205c0a,_0x35d4a9,_0x40fb84,_0x3ff30f,0xc,_0x22c0fb[0x5]),_0x40fb84=_0x22605d(_0x40fb84,_0x20a48d,_0x205c0a,_0x35d4a9,_0x3b5d04,0x11,_0x22c0fb[0x6]),_0x35d4a9=_0x22605d(_0x35d4a9,_0x40fb84,_0x20a48d,_0x205c0a,_0x52506d,0x16,_0x22c0fb[0x7]),_0x205c0a=_0x22605d(_0x205c0a,_0x35d4a9,_0x40fb84,_0x20a48d,_0x193735,0x7,_0x22c0fb[0x8]),_0x20a48d=_0x22605d(_0x20a48d,_0x205c0a,_0x35d4a9,_0x40fb84,_0x3304ca,0xc,_0x22c0fb[0x9]),_0x40fb84=_0x22605d(_0x40fb84,_0x20a48d,_0x205c0a,_0x35d4a9,_0x551912,0x11,_0x22c0fb[0xa]),_0x35d4a9=_0x22605d(_0x35d4a9,_0x40fb84,_0x20a48d,_0x205c0a,_0x912622,0x16,_0x22c0fb[0xb]),_0x205c0a=_0x22605d(_0x205c0a,_0x35d4a9,_0x40fb84,_0x20a48d,_0x29b537,0x7,_0x22c0fb[0xc]),_0x20a48d=_0x22605d(_0x20a48d,_0x205c0a,_0x35d4a9,_0x40fb84,_0x1aaa6a,0xc,_0x22c0fb[0xd]),_0x40fb84=_0x22605d(_0x40fb84,_0x20a48d,_0x205c0a,_0x35d4a9,_0x40cab8,0x11,_0x22c0fb[0xe]),_0x35d4a9=_0x22605d(_0x35d4a9,_0x40fb84,_0x20a48d,_0x205c0a,_0x2d838a,0x16,_0x22c0fb[0xf]),_0x205c0a=_0x230eb2(_0x205c0a,_0x35d4a9,_0x40fb84,_0x20a48d,_0x3cbdea,0x5,_0x22c0fb[0x10]),_0x20a48d=_0x230eb2(_0x20a48d,_0x205c0a,_0x35d4a9,_0x40fb84,_0x3b5d04,0x9,_0x22c0fb[0x11]),_0x40fb84=_0x230eb2(_0x40fb84,_0x20a48d,_0x205c0a,_0x35d4a9,_0x912622,0xe,_0x22c0fb[0x12]),_0x35d4a9=_0x230eb2(_0x35d4a9,_0x40fb84,_0x20a48d,_0x205c0a,_0x2a4f10,0x14,_0x22c0fb[0x13]),_0x205c0a=_0x230eb2(_0x205c0a,_0x35d4a9,_0x40fb84,_0x20a48d,_0x3ff30f,0x5,_0x22c0fb[0x14]),_0x20a48d=_0x230eb2(_0x20a48d,_0x205c0a,_0x35d4a9,_0x40fb84,_0x551912,0x9,_0x22c0fb[0x15]),_0x40fb84=_0x230eb2(_0x40fb84,_0x20a48d,_0x205c0a,_0x35d4a9,_0x2d838a,0xe,_0x22c0fb[0x16]),_0x35d4a9=_0x230eb2(_0x35d4a9,_0x40fb84,_0x20a48d,_0x205c0a,_0x3fcc06,0x14,_0x22c0fb[0x17]),_0x205c0a=_0x230eb2(_0x205c0a,_0x35d4a9,_0x40fb84,_0x20a48d,_0x3304ca,0x5,_0x22c0fb[0x18]),_0x20a48d=_0x230eb2(_0x20a48d,_0x205c0a,_0x35d4a9,_0x40fb84,_0x40cab8,0x9,_0x22c0fb[0x19]),_0x40fb84=_0x230eb2(_0x40fb84,_0x20a48d,_0x205c0a,_0x35d4a9,_0xa4f48d,0xe,_0x22c0fb[0x1a]),_0x35d4a9=_0x230eb2(_0x35d4a9,_0x40fb84,_0x20a48d,_0x205c0a,_0x193735,0x14,_0x22c0fb[0x1b]),_0x205c0a=_0x230eb2(_0x205c0a,_0x35d4a9,_0x40fb84,_0x20a48d,_0x1aaa6a,0x5,_0x22c0fb[0x1c]),_0x20a48d=_0x230eb2(_0x20a48d,_0x205c0a,_0x35d4a9,_0x40fb84,_0x2bc95f,0x9,_0x22c0fb[0x1d]),_0x40fb84=_0x230eb2(_0x40fb84,_0x20a48d,_0x205c0a,_0x35d4a9,_0x52506d,0xe,_0x22c0fb[0x1e]),_0x35d4a9=_0x230eb2(_0x35d4a9,_0x40fb84,_0x20a48d,_0x205c0a,_0x29b537,0x14,_0x22c0fb[0x1f]),_0x205c0a=_0x5389d7(_0x205c0a,_0x35d4a9,_0x40fb84,_0x20a48d,_0x3ff30f,0x4,_0x22c0fb[0x20]),_0x20a48d=_0x5389d7(_0x20a48d,_0x205c0a,_0x35d4a9,_0x40fb84,_0x193735,0xb,_0x22c0fb[0x21]),_0x40fb84=_0x5389d7(_0x40fb84,_0x20a48d,_0x205c0a,_0x35d4a9,_0x912622,0x10,_0x22c0fb[0x22]),_0x35d4a9=_0x5389d7(_0x35d4a9,_0x40fb84,_0x20a48d,_0x205c0a,_0x40cab8,0x17,_0x22c0fb[0x23]),_0x205c0a=_0x5389d7(_0x205c0a,_0x35d4a9,_0x40fb84,_0x20a48d,_0x3cbdea,0x4,_0x22c0fb[0x24]),_0x20a48d=_0x5389d7(_0x20a48d,_0x205c0a,_0x35d4a9,_0x40fb84,_0x3fcc06,0xb,_0x22c0fb[0x25]),_0x40fb84=_0x5389d7(_0x40fb84,_0x20a48d,_0x205c0a,_0x35d4a9,_0x52506d,0x10,_0x22c0fb[0x26]),_0x35d4a9=_0x5389d7(_0x35d4a9,_0x40fb84,_0x20a48d,_0x205c0a,_0x551912,0x17,_0x22c0fb[0x27]),_0x205c0a=_0x5389d7(_0x205c0a,_0x35d4a9,_0x40fb84,_0x20a48d,_0x1aaa6a,0x4,_0x22c0fb[0x28]),_0x20a48d=_0x5389d7(_0x20a48d,_0x205c0a,_0x35d4a9,_0x40fb84,_0x2a4f10,0xb,_0x22c0fb[0x29]),_0x40fb84=_0x5389d7(_0x40fb84,_0x20a48d,_0x205c0a,_0x35d4a9,_0xa4f48d,0x10,_0x22c0fb[0x2a]),_0x35d4a9=_0x5389d7(_0x35d4a9,_0x40fb84,_0x20a48d,_0x205c0a,_0x3b5d04,0x17,_0x22c0fb[0x2b]),_0x205c0a=_0x5389d7(_0x205c0a,_0x35d4a9,_0x40fb84,_0x20a48d,_0x3304ca,0x4,_0x22c0fb[0x2c]),_0x20a48d=_0x5389d7(_0x20a48d,_0x205c0a,_0x35d4a9,_0x40fb84,_0x29b537,0xb,_0x22c0fb[0x2d]),_0x40fb84=_0x5389d7(_0x40fb84,_0x20a48d,_0x205c0a,_0x35d4a9,_0x2d838a,0x10,_0x22c0fb[0x2e]),_0x35d4a9=_0x5389d7(_0x35d4a9,_0x40fb84,_0x20a48d,_0x205c0a,_0x2bc95f,0x17,_0x22c0fb[0x2f]),_0x205c0a=_0x540718(_0x205c0a,_0x35d4a9,_0x40fb84,_0x20a48d,_0x2a4f10,0x6,_0x22c0fb[0x30]),_0x20a48d=_0x540718(_0x20a48d,_0x205c0a,_0x35d4a9,_0x40fb84,_0x52506d,0xa,_0x22c0fb[0x31]),_0x40fb84=_0x540718(_0x40fb84,_0x20a48d,_0x205c0a,_0x35d4a9,_0x40cab8,0xf,_0x22c0fb[0x32]),_0x35d4a9=_0x540718(_0x35d4a9,_0x40fb84,_0x20a48d,_0x205c0a,_0x3ff30f,0x15,_0x22c0fb[0x33]),_0x205c0a=_0x540718(_0x205c0a,_0x35d4a9,_0x40fb84,_0x20a48d,_0x29b537,0x6,_0x22c0fb[0x34]),_0x20a48d=_0x540718(_0x20a48d,_0x205c0a,_0x35d4a9,_0x40fb84,_0xa4f48d,0xa,_0x22c0fb[0x35]),_0x40fb84=_0x540718(_0x40fb84,_0x20a48d,_0x205c0a,_0x35d4a9,_0x551912,0xf,_0x22c0fb[0x36]),_0x35d4a9=_0x540718(_0x35d4a9,_0x40fb84,_0x20a48d,_0x205c0a,_0x3cbdea,0x15,_0x22c0fb[0x37]),_0x205c0a=_0x540718(_0x205c0a,_0x35d4a9,_0x40fb84,_0x20a48d,_0x193735,0x6,_0x22c0fb[0x38]),_0x20a48d=_0x540718(_0x20a48d,_0x205c0a,_0x35d4a9,_0x40fb84,_0x2d838a,0xa,_0x22c0fb[0x39]),_0x40fb84=_0x540718(_0x40fb84,_0x20a48d,_0x205c0a,_0x35d4a9,_0x3b5d04,0xf,_0x22c0fb[0x3a]),_0x35d4a9=_0x540718(_0x35d4a9,_0x40fb84,_0x20a48d,_0x205c0a,_0x1aaa6a,0x15,_0x22c0fb[0x3b]),_0x205c0a=_0x540718(_0x205c0a,_0x35d4a9,_0x40fb84,_0x20a48d,_0x3fcc06,0x6,_0x22c0fb[0x3c]),_0x20a48d=_0x540718(_0x20a48d,_0x205c0a,_0x35d4a9,_0x40fb84,_0x912622,0xa,_0x22c0fb[0x3d]),_0x40fb84=_0x540718(_0x40fb84,_0x20a48d,_0x205c0a,_0x35d4a9,_0x2bc95f,0xf,_0x22c0fb[0x3e]),_0x35d4a9=_0x540718(_0x35d4a9,_0x40fb84,_0x20a48d,_0x205c0a,_0x3304ca,0x15,_0x22c0fb[0x3f]),_0x5c56da[0x0]=_0x5c56da[0x0]+_0x205c0a|0x0,_0x5c56da[0x1]=_0x5c56da[0x1]+_0x35d4a9|0x0,_0x5c56da[0x2]=_0x5c56da[0x2]+_0x40fb84|0x0,_0x5c56da[0x3]=_0x5c56da[0x3]+_0x20a48d|0x0;},'_doFinalize':function(){var _0x2c5ca7=_0x55c9a0,_0x5058a4=this['_data'],_0x4ad7c3=_0x5058a4[_0x2c5ca7(0x1d2)],_0x25ea8e=this['_nDataBytes']*0x8,_0x4f7a27=_0x5058a4[_0x2c5ca7(0x451)]*0x8;_0x4ad7c3[_0x4f7a27>>>0x5]|=0x80<<0x18-_0x4f7a27%0x20;var _0x243f2e=_0x5c8482[_0x2c5ca7(0x278)](_0x25ea8e/0x100000000),_0x23643e=_0x25ea8e;_0x4ad7c3[(_0x4f7a27+0x40>>>0x9<<0x4)+0xf]=(_0x243f2e<<0x8|_0x243f2e>>>0x18)&0xff00ff|(_0x243f2e<<0x18|_0x243f2e>>>0x8)&0xff00ff00,_0x4ad7c3[(_0x4f7a27+0x40>>>0x9<<0x4)+0xe]=(_0x23643e<<0x8|_0x23643e>>>0x18)&0xff00ff|(_0x23643e<<0x18|_0x23643e>>>0x8)&0xff00ff00,_0x5058a4[_0x2c5ca7(0x451)]=(_0x4ad7c3[_0x2c5ca7(0x406)]+0x1)*0x4,this[_0x2c5ca7(0x1c4)]();for(var _0x54649b=this[_0x2c5ca7(0x2c5)],_0x2de575=_0x54649b[_0x2c5ca7(0x1d2)],_0x3d7d86=0x0;_0x3d7d86<0x4;_0x3d7d86++){var _0x411df=_0x2de575[_0x3d7d86];_0x2de575[_0x3d7d86]=(_0x411df<<0x8|_0x411df>>>0x18)&0xff00ff|(_0x411df<<0x18|_0x411df>>>0x8)&0xff00ff00;}return _0x54649b;},'clone':function(){var _0x31dc4a=_0x55c9a0,_0x2ede7f=_0x32ad40['clone'][_0x31dc4a(0x3dc)](this);return _0x2ede7f[_0x31dc4a(0x2c5)]=this[_0x31dc4a(0x2c5)]['clone'](),_0x2ede7f;}});function _0x22605d(_0x531109,_0x489797,_0xd2e5f,_0x3a8a19,_0x732d27,_0x25db52,_0x5cf98c){var _0x70ec68=_0x531109+(_0x489797&_0xd2e5f|~_0x489797&_0x3a8a19)+_0x732d27+_0x5cf98c;return(_0x70ec68<<_0x25db52|_0x70ec68>>>0x20-_0x25db52)+_0x489797;}function _0x230eb2(_0x51f747,_0x2e7990,_0x1c96ee,_0x202233,_0x1e4340,_0x4bfe6c,_0x2e2e9c){var _0x20f33c=_0x51f747+(_0x2e7990&_0x202233|_0x1c96ee&~_0x202233)+_0x1e4340+_0x2e2e9c;return(_0x20f33c<<_0x4bfe6c|_0x20f33c>>>0x20-_0x4bfe6c)+_0x2e7990;}function _0x5389d7(_0x36b160,_0x2d0e4f,_0x139fb6,_0xdbd68c,_0x10b9ed,_0x16af7e,_0x109513){var _0x1a6b88=_0x36b160+(_0x2d0e4f^_0x139fb6^_0xdbd68c)+_0x10b9ed+_0x109513;return(_0x1a6b88<<_0x16af7e|_0x1a6b88>>>0x20-_0x16af7e)+_0x2d0e4f;}function _0x540718(_0x4309da,_0x3da4e0,_0x10ef4d,_0x4c2d55,_0x2a163a,_0x428075,_0x514792){var _0x31b52b=_0x4309da+(_0x10ef4d^(_0x3da4e0|~_0x4c2d55))+_0x2a163a+_0x514792;return(_0x31b52b<<_0x428075|_0x31b52b>>>0x20-_0x428075)+_0x3da4e0;}_0x142e03[_0x55c9a0(0x355)]=_0x32ad40[_0x55c9a0(0x320)](_0xaab8f5),_0x142e03[_0x55c9a0(0x1bb)]=_0x32ad40[_0x55c9a0(0x210)](_0xaab8f5);}(Math),_0x365003['MD5'];}));}(Ke)),Ke[_0x227d6b(0x305)];}var Ye={'exports':{}},qe={'exports':{}},Cs=qe['exports'],ei;function Rs(){var _0x285f50=_0x4c3b0f;return ei||(ei=0x1,function(_0x5c3427,_0x8a6970){(function(_0x20b139,_0x45502e){_0x5c3427['exports']=_0x45502e(ie());}(Cs,function(_0x248c10){var _0x3aa708=_0x5e8e;return(function(){var _0xf8867d=_0x5e8e,_0x1597c8=_0x248c10,_0x4670e6=_0x1597c8[_0xf8867d(0x370)],_0x5b5965=_0x4670e6['WordArray'],_0xfe460a=_0x4670e6[_0xf8867d(0x3d0)],_0x163ec3=_0x1597c8['algo'],_0x3939f8=[],_0x5eb3bf=_0x163ec3[_0xf8867d(0x2ff)]=_0xfe460a[_0xf8867d(0x279)]({'_doReset':function(){var _0xf6c6a1=_0xf8867d;this[_0xf6c6a1(0x2c5)]=new _0x5b5965[(_0xf6c6a1(0x1d6))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x5703c7,_0x3a3f4a){var _0x205990=_0xf8867d;for(var _0x24e487=this[_0x205990(0x2c5)][_0x205990(0x1d2)],_0x47f2be=_0x24e487[0x0],_0x5236ea=_0x24e487[0x1],_0x452319=_0x24e487[0x2],_0x11301a=_0x24e487[0x3],_0x481876=_0x24e487[0x4],_0x282990=0x0;_0x282990<0x50;_0x282990++){if(_0x282990<0x10)_0x3939f8[_0x282990]=_0x5703c7[_0x3a3f4a+_0x282990]|0x0;else{var _0x579f96=_0x3939f8[_0x282990-0x3]^_0x3939f8[_0x282990-0x8]^_0x3939f8[_0x282990-0xe]^_0x3939f8[_0x282990-0x10];_0x3939f8[_0x282990]=_0x579f96<<0x1|_0x579f96>>>0x1f;}var _0x55268b=(_0x47f2be<<0x5|_0x47f2be>>>0x1b)+_0x481876+_0x3939f8[_0x282990];_0x282990<0x14?_0x55268b+=(_0x5236ea&_0x452319|~_0x5236ea&_0x11301a)+0x5a827999:_0x282990<0x28?_0x55268b+=(_0x5236ea^_0x452319^_0x11301a)+0x6ed9eba1:_0x282990<0x3c?_0x55268b+=(_0x5236ea&_0x452319|_0x5236ea&_0x11301a|_0x452319&_0x11301a)-0x70e44324:_0x55268b+=(_0x5236ea^_0x452319^_0x11301a)-0x359d3e2a,_0x481876=_0x11301a,_0x11301a=_0x452319,_0x452319=_0x5236ea<<0x1e|_0x5236ea>>>0x2,_0x5236ea=_0x47f2be,_0x47f2be=_0x55268b;}_0x24e487[0x0]=_0x24e487[0x0]+_0x47f2be|0x0,_0x24e487[0x1]=_0x24e487[0x1]+_0x5236ea|0x0,_0x24e487[0x2]=_0x24e487[0x2]+_0x452319|0x0,_0x24e487[0x3]=_0x24e487[0x3]+_0x11301a|0x0,_0x24e487[0x4]=_0x24e487[0x4]+_0x481876|0x0;},'_doFinalize':function(){var _0x445fbb=_0xf8867d,_0x2d9ba3=this[_0x445fbb(0x3c5)],_0x4ea8f7=_0x2d9ba3['words'],_0x103eab=this['_nDataBytes']*0x8,_0x257bd6=_0x2d9ba3[_0x445fbb(0x451)]*0x8;return _0x4ea8f7[_0x257bd6>>>0x5]|=0x80<<0x18-_0x257bd6%0x20,_0x4ea8f7[(_0x257bd6+0x40>>>0x9<<0x4)+0xe]=Math['floor'](_0x103eab/0x100000000),_0x4ea8f7[(_0x257bd6+0x40>>>0x9<<0x4)+0xf]=_0x103eab,_0x2d9ba3[_0x445fbb(0x451)]=_0x4ea8f7[_0x445fbb(0x406)]*0x4,this[_0x445fbb(0x1c4)](),this['_hash'];},'clone':function(){var _0x511c5c=_0xf8867d,_0x4899a1=_0xfe460a[_0x511c5c(0x251)][_0x511c5c(0x3dc)](this);return _0x4899a1[_0x511c5c(0x2c5)]=this[_0x511c5c(0x2c5)][_0x511c5c(0x251)](),_0x4899a1;}});_0x1597c8[_0xf8867d(0x2ff)]=_0xfe460a[_0xf8867d(0x320)](_0x5eb3bf),_0x1597c8[_0xf8867d(0x2a8)]=_0xfe460a[_0xf8867d(0x210)](_0x5eb3bf);}()),_0x248c10[_0x3aa708(0x2ff)];}));}(qe)),qe[_0x285f50(0x305)];}var ze={'exports':{}},bs=ze[_0x4c3b0f(0x305)],ti;function Os(){var _0x353e36=_0x4c3b0f;return ti||(ti=0x1,function(_0x434719,_0x3a803b){(function(_0x3c7f72,_0x37be5c){var _0x50a03e=_0x5e8e;_0x434719[_0x50a03e(0x305)]=_0x37be5c(ie());}(bs,function(_0x5a8071){(function(){var _0x46b1d3=_0x5e8e,_0x187c94=_0x5a8071,_0x11740f=_0x187c94['lib'],_0x39b3a5=_0x11740f[_0x46b1d3(0x41a)],_0x18419a=_0x187c94[_0x46b1d3(0x244)],_0x3460ba=_0x18419a[_0x46b1d3(0x3d2)],_0x5737ac=_0x187c94['algo'];_0x5737ac[_0x46b1d3(0x461)]=_0x39b3a5[_0x46b1d3(0x279)]({'init':function(_0x3bd897,_0x307be5){var _0x228115=_0x46b1d3;_0x3bd897=this['_hasher']=new _0x3bd897[(_0x228115(0x1d6))](),typeof _0x307be5==_0x228115(0x196)&&(_0x307be5=_0x3460ba[_0x228115(0x26a)](_0x307be5));var _0x58d50c=_0x3bd897['blockSize'],_0x266f1d=_0x58d50c*0x4;_0x307be5[_0x228115(0x451)]>_0x266f1d&&(_0x307be5=_0x3bd897[_0x228115(0x2d3)](_0x307be5)),_0x307be5[_0x228115(0x444)]();for(var _0x36328e=this['_oKey']=_0x307be5[_0x228115(0x251)](),_0x3a5239=this[_0x228115(0x1a0)]=_0x307be5[_0x228115(0x251)](),_0x52fe59=_0x36328e[_0x228115(0x1d2)],_0x48f33b=_0x3a5239[_0x228115(0x1d2)],_0xc109d3=0x0;_0xc109d3<_0x58d50c;_0xc109d3++)_0x52fe59[_0xc109d3]^=0x5c5c5c5c,_0x48f33b[_0xc109d3]^=0x36363636;_0x36328e['sigBytes']=_0x3a5239[_0x228115(0x451)]=_0x266f1d,this[_0x228115(0x2e3)]();},'reset':function(){var _0x3426ec=_0x46b1d3,_0x5bca73=this[_0x3426ec(0x1df)];_0x5bca73[_0x3426ec(0x2e3)](),_0x5bca73[_0x3426ec(0x35d)](this[_0x3426ec(0x1a0)]);},'update':function(_0x3470c6){var _0x5ae985=_0x46b1d3;return this[_0x5ae985(0x1df)]['update'](_0x3470c6),this;},'finalize':function(_0x1de42a){var _0x352381=_0x46b1d3,_0x2e42c0=this[_0x352381(0x1df)],_0x4b87ec=_0x2e42c0[_0x352381(0x2d3)](_0x1de42a);_0x2e42c0['reset']();var _0x8c5195=_0x2e42c0[_0x352381(0x2d3)](this['_oKey'][_0x352381(0x251)]()[_0x352381(0x324)](_0x4b87ec));return _0x8c5195;}});}());}));}(ze)),ze[_0x353e36(0x305)];}var ys=Ye[_0x4c3b0f(0x305)],ii;function Ui(){var _0xa0859=_0x4c3b0f;return ii||(ii=0x1,function(_0x348a32,_0x179210){(function(_0x57dd9d,_0x5a4abc,_0x40f430){var _0x431f97=_0x5e8e;_0x348a32[_0x431f97(0x305)]=_0x5a4abc(ie(),Rs(),Os());}(ys,function(_0x46cc99){var _0x143380=_0x5e8e;return(function(){var _0x3f6e09=_0x5e8e,_0x3a6001=_0x46cc99,_0x2c3ca8=_0x3a6001['lib'],_0xc8540=_0x2c3ca8[_0x3f6e09(0x41a)],_0xbc4244=_0x2c3ca8[_0x3f6e09(0x402)],_0x36c5b1=_0x3a6001['algo'],_0x5167ac=_0x36c5b1[_0x3f6e09(0x355)],_0x1b77c1=_0x36c5b1[_0x3f6e09(0x36e)]=_0xc8540[_0x3f6e09(0x279)]({'cfg':_0xc8540[_0x3f6e09(0x279)]({'keySize':0x80/0x20,'hasher':_0x5167ac,'iterations':0x1}),'init':function(_0xb7aeff){var _0x307ad8=_0x3f6e09;this[_0x307ad8(0x21c)]=this[_0x307ad8(0x21c)]['extend'](_0xb7aeff);},'compute':function(_0x18272e,_0x331032){var _0x4c3668=_0x3f6e09;for(var _0x322d32,_0x1b28b8=this[_0x4c3668(0x21c)],_0x1fc7d4=_0x1b28b8[_0x4c3668(0x345)][_0x4c3668(0x49c)](),_0x47a922=_0xbc4244[_0x4c3668(0x49c)](),_0x2d041d=_0x47a922[_0x4c3668(0x1d2)],_0x58db71=_0x1b28b8[_0x4c3668(0x1be)],_0x463712=_0x1b28b8['iterations'];_0x2d041d[_0x4c3668(0x406)]<_0x58db71;){_0x322d32&&_0x1fc7d4[_0x4c3668(0x35d)](_0x322d32),_0x322d32=_0x1fc7d4[_0x4c3668(0x35d)](_0x18272e)['finalize'](_0x331032),_0x1fc7d4[_0x4c3668(0x2e3)]();for(var _0xf9d2d9=0x1;_0xf9d2d9<_0x463712;_0xf9d2d9++)_0x322d32=_0x1fc7d4[_0x4c3668(0x2d3)](_0x322d32),_0x1fc7d4['reset']();_0x47a922['concat'](_0x322d32);}return _0x47a922['sigBytes']=_0x58db71*0x4,_0x47a922;}});_0x3a6001[_0x3f6e09(0x36e)]=function(_0x41bd1c,_0x25ff2a,_0x4eb417){var _0x505537=_0x3f6e09;return _0x1b77c1['create'](_0x4eb417)[_0x505537(0x201)](_0x41bd1c,_0x25ff2a);};}()),_0x46cc99[_0x143380(0x36e)];}));}(Ye)),Ye[_0xa0859(0x305)];}var Je={'exports':{}},Ns=Je['exports'],ni;function Ai(){var _0x7bc23f=_0x4c3b0f;return ni||(ni=0x1,function(_0x330d53,_0x3882c0){(function(_0x15c83a,_0x3a0626,_0x421f76){var _0x5a8cfc=_0x5e8e;_0x330d53[_0x5a8cfc(0x305)]=_0x3a0626(ie(),Ui());}(Ns,function(_0x5e6df8){var _0x406d33=_0x5e8e;_0x5e6df8['lib'][_0x406d33(0x280)]||function(_0x5864f7){var _0x36ed1b=_0x406d33,_0x1a70cc=_0x5e6df8,_0x4482aa=_0x1a70cc[_0x36ed1b(0x370)],_0x22a8e4=_0x4482aa['Base'],_0x14f525=_0x4482aa['WordArray'],_0x43d03a=_0x4482aa[_0x36ed1b(0x299)],_0x18d992=_0x1a70cc['enc'];_0x18d992[_0x36ed1b(0x3d2)];var _0x4742e1=_0x18d992[_0x36ed1b(0x471)],_0x39e0aa=_0x1a70cc[_0x36ed1b(0x2d9)],_0x1e2190=_0x39e0aa[_0x36ed1b(0x36e)],_0x1bbc34=_0x4482aa[_0x36ed1b(0x280)]=_0x43d03a['extend']({'cfg':_0x22a8e4['extend'](),'createEncryptor':function(_0x1d10be,_0x1ad8f4){var _0x16473d=_0x36ed1b;return this['create'](this[_0x16473d(0x1ee)],_0x1d10be,_0x1ad8f4);},'createDecryptor':function(_0x557169,_0x5f513e){var _0x3eb14d=_0x36ed1b;return this[_0x3eb14d(0x49c)](this[_0x3eb14d(0x455)],_0x557169,_0x5f513e);},'init':function(_0x336674,_0x2b3a99,_0x23064c){var _0x2b78b4=_0x36ed1b;this[_0x2b78b4(0x21c)]=this[_0x2b78b4(0x21c)][_0x2b78b4(0x279)](_0x23064c),this['_xformMode']=_0x336674,this[_0x2b78b4(0x473)]=_0x2b3a99,this[_0x2b78b4(0x2e3)]();},'reset':function(){var _0x4dfdd3=_0x36ed1b;_0x43d03a[_0x4dfdd3(0x2e3)][_0x4dfdd3(0x3dc)](this),this[_0x4dfdd3(0x23e)]();},'process':function(_0x3350b4){var _0xf61ddd=_0x36ed1b;return this[_0xf61ddd(0x1c8)](_0x3350b4),this[_0xf61ddd(0x1c4)]();},'finalize':function(_0x42cc21){var _0x3ce9a4=_0x36ed1b;_0x42cc21&&this[_0x3ce9a4(0x1c8)](_0x42cc21);var _0x4ce092=this['_doFinalize']();return _0x4ce092;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x5adab7(_0x203502){return typeof _0x203502=='string'?_0x54b0f2:_0x2689c5;}return function(_0x315157){return{'encrypt':function(_0x56e312,_0x3ebf49,_0x34a321){return _0x5adab7(_0x3ebf49)['encrypt'](_0x315157,_0x56e312,_0x3ebf49,_0x34a321);},'decrypt':function(_0x3ddb0e,_0x479da5,_0x3e13a5){var _0x572847=_0x5e8e;return _0x5adab7(_0x479da5)[_0x572847(0x32e)](_0x315157,_0x3ddb0e,_0x479da5,_0x3e13a5);}};};}())});_0x4482aa['StreamCipher']=_0x1bbc34[_0x36ed1b(0x279)]({'_doFinalize':function(){var _0x1b31cb=_0x36ed1b,_0x13257f=this[_0x1b31cb(0x1c4)](!0x0);return _0x13257f;},'blockSize':0x1});var _0x4cd89d=_0x1a70cc['mode']={},_0x5f6abb=_0x4482aa[_0x36ed1b(0x2a7)]=_0x22a8e4[_0x36ed1b(0x279)]({'createEncryptor':function(_0x42963a,_0x2c534b){var _0x40c778=_0x36ed1b;return this['Encryptor'][_0x40c778(0x49c)](_0x42963a,_0x2c534b);},'createDecryptor':function(_0x5bc724,_0x24c183){var _0x10e6e2=_0x36ed1b;return this['Decryptor'][_0x10e6e2(0x49c)](_0x5bc724,_0x24c183);},'init':function(_0xbc3d86,_0x4999a8){var _0x32a3c8=_0x36ed1b;this[_0x32a3c8(0x3de)]=_0xbc3d86,this[_0x32a3c8(0x212)]=_0x4999a8;}}),_0x38994e=_0x4cd89d[_0x36ed1b(0x240)]=(function(){var _0x5f0936=_0x36ed1b,_0x373da9=_0x5f6abb['extend']();_0x373da9[_0x5f0936(0x453)]=_0x373da9['extend']({'processBlock':function(_0x1d5ed2,_0x479926){var _0x35a32a=_0x5f0936,_0x300a6f=this['_cipher'],_0x410257=_0x300a6f[_0x35a32a(0x3a0)];_0x4dfaa8[_0x35a32a(0x3dc)](this,_0x1d5ed2,_0x479926,_0x410257),_0x300a6f['encryptBlock'](_0x1d5ed2,_0x479926),this[_0x35a32a(0x2c1)]=_0x1d5ed2[_0x35a32a(0x2b6)](_0x479926,_0x479926+_0x410257);}}),_0x373da9[_0x5f0936(0x40d)]=_0x373da9[_0x5f0936(0x279)]({'processBlock':function(_0x3e7424,_0x4292b3){var _0x32b2ed=_0x5f0936,_0x4321d0=this[_0x32b2ed(0x3de)],_0x231311=_0x4321d0[_0x32b2ed(0x3a0)],_0x5932dc=_0x3e7424[_0x32b2ed(0x2b6)](_0x4292b3,_0x4292b3+_0x231311);_0x4321d0[_0x32b2ed(0x1ef)](_0x3e7424,_0x4292b3),_0x4dfaa8['call'](this,_0x3e7424,_0x4292b3,_0x231311),this['_prevBlock']=_0x5932dc;}});function _0x4dfaa8(_0x4dda05,_0x585396,_0x11a934){var _0x54b1b6=_0x5f0936,_0x233e7d,_0x483cc6=this['_iv'];_0x483cc6?(_0x233e7d=_0x483cc6,this[_0x54b1b6(0x212)]=_0x5864f7):_0x233e7d=this[_0x54b1b6(0x2c1)];for(var _0xef6aaf=0x0;_0xef6aaf<_0x11a934;_0xef6aaf++)_0x4dda05[_0x585396+_0xef6aaf]^=_0x233e7d[_0xef6aaf];}return _0x373da9;}()),_0x2dc03f=_0x1a70cc[_0x36ed1b(0x364)]={},_0x4951e9=_0x2dc03f[_0x36ed1b(0x1cb)]={'pad':function(_0x44b6d5,_0x15dde5){var _0x27555b=_0x36ed1b;for(var _0x571627=_0x15dde5*0x4,_0x285de5=_0x571627-_0x44b6d5[_0x27555b(0x451)]%_0x571627,_0x4708f5=_0x285de5<<0x18|_0x285de5<<0x10|_0x285de5<<0x8|_0x285de5,_0x1657da=[],_0x2c578f=0x0;_0x2c578f<_0x285de5;_0x2c578f+=0x4)_0x1657da['push'](_0x4708f5);var _0x33e3a9=_0x14f525[_0x27555b(0x49c)](_0x1657da,_0x285de5);_0x44b6d5[_0x27555b(0x324)](_0x33e3a9);},'unpad':function(_0x420e25){var _0x435bea=_0x36ed1b,_0xac3973=_0x420e25[_0x435bea(0x1d2)][_0x420e25[_0x435bea(0x451)]-0x1>>>0x2]&0xff;_0x420e25[_0x435bea(0x451)]-=_0xac3973;}};_0x4482aa['BlockCipher']=_0x1bbc34['extend']({'cfg':_0x1bbc34[_0x36ed1b(0x21c)][_0x36ed1b(0x279)]({'mode':_0x38994e,'padding':_0x4951e9}),'reset':function(){var _0x18608c=_0x36ed1b,_0x318567;_0x1bbc34['reset']['call'](this);var _0x4c4682=this[_0x18608c(0x21c)],_0x39dbd1=_0x4c4682['iv'],_0x58f371=_0x4c4682['mode'];this[_0x18608c(0x1a5)]==this['_ENC_XFORM_MODE']?_0x318567=_0x58f371['createEncryptor']:(_0x318567=_0x58f371[_0x18608c(0x411)],this[_0x18608c(0x2b9)]=0x1),this[_0x18608c(0x24d)]&&this[_0x18608c(0x24d)]['__creator']==_0x318567?this[_0x18608c(0x24d)][_0x18608c(0x1d6)](this,_0x39dbd1&&_0x39dbd1[_0x18608c(0x1d2)]):(this[_0x18608c(0x24d)]=_0x318567[_0x18608c(0x3dc)](_0x58f371,this,_0x39dbd1&&_0x39dbd1[_0x18608c(0x1d2)]),this[_0x18608c(0x24d)][_0x18608c(0x48d)]=_0x318567);},'_doProcessBlock':function(_0x102b46,_0x477429){var _0x1e821c=_0x36ed1b;this[_0x1e821c(0x24d)]['processBlock'](_0x102b46,_0x477429);},'_doFinalize':function(){var _0x32298f=_0x36ed1b,_0xa338be,_0x4385b1=this[_0x32298f(0x21c)]['padding'];return this[_0x32298f(0x1a5)]==this[_0x32298f(0x1ee)]?(_0x4385b1[_0x32298f(0x364)](this['_data'],this[_0x32298f(0x3a0)]),_0xa338be=this[_0x32298f(0x1c4)](!0x0)):(_0xa338be=this['_process'](!0x0),_0x4385b1[_0x32298f(0x452)](_0xa338be)),_0xa338be;},'blockSize':0x80/0x20});var _0x1a4b0c=_0x4482aa[_0x36ed1b(0x204)]=_0x22a8e4['extend']({'init':function(_0x2df929){var _0x2345bc=_0x36ed1b;this[_0x2345bc(0x378)](_0x2df929);},'toString':function(_0xe78888){return(_0xe78888||this['formatter'])['stringify'](this);}}),_0x225ce4=_0x1a70cc[_0x36ed1b(0x467)]={},_0x45adc1=_0x225ce4[_0x36ed1b(0x37a)]={'stringify':function(_0x36890a){var _0x10c15e=_0x36ed1b,_0x3e8d44,_0x444ca2=_0x36890a['ciphertext'],_0x39c925=_0x36890a['salt'];return _0x39c925?_0x3e8d44=_0x14f525[_0x10c15e(0x49c)]([0x53616c74,0x65645f5f])['concat'](_0x39c925)['concat'](_0x444ca2):_0x3e8d44=_0x444ca2,_0x3e8d44[_0x10c15e(0x22b)](_0x4742e1);},'parse':function(_0x5ba22f){var _0x51e61f=_0x36ed1b,_0xac5854,_0x584da7=_0x4742e1[_0x51e61f(0x26a)](_0x5ba22f),_0xa7b3e9=_0x584da7[_0x51e61f(0x1d2)];return _0xa7b3e9[0x0]==0x53616c74&&_0xa7b3e9[0x1]==0x65645f5f&&(_0xac5854=_0x14f525['create'](_0xa7b3e9[_0x51e61f(0x2b6)](0x2,0x4)),_0xa7b3e9[_0x51e61f(0x46a)](0x0,0x4),_0x584da7[_0x51e61f(0x451)]-=0x10),_0x1a4b0c[_0x51e61f(0x49c)]({'ciphertext':_0x584da7,'salt':_0xac5854});}},_0x2689c5=_0x4482aa['SerializableCipher']=_0x22a8e4[_0x36ed1b(0x279)]({'cfg':_0x22a8e4[_0x36ed1b(0x279)]({'format':_0x45adc1}),'encrypt':function(_0xa7c24e,_0x4ade0f,_0xdbd94d,_0xca10d1){var _0x35a56e=_0x36ed1b;_0xca10d1=this['cfg'][_0x35a56e(0x279)](_0xca10d1);var _0x3f61ce=_0xa7c24e[_0x35a56e(0x377)](_0xdbd94d,_0xca10d1),_0x3d3a9c=_0x3f61ce['finalize'](_0x4ade0f),_0x308a63=_0x3f61ce[_0x35a56e(0x21c)];return _0x1a4b0c['create']({'ciphertext':_0x3d3a9c,'key':_0xdbd94d,'iv':_0x308a63['iv'],'algorithm':_0xa7c24e,'mode':_0x308a63[_0x35a56e(0x233)],'padding':_0x308a63[_0x35a56e(0x454)],'blockSize':_0xa7c24e['blockSize'],'formatter':_0xca10d1[_0x35a56e(0x467)]});},'decrypt':function(_0xe3d288,_0x4daf6a,_0x4d632a,_0x542920){var _0x3f8ee3=_0x36ed1b;_0x542920=this['cfg'][_0x3f8ee3(0x279)](_0x542920),_0x4daf6a=this[_0x3f8ee3(0x41f)](_0x4daf6a,_0x542920['format']);var _0x6cbfe8=_0xe3d288['createDecryptor'](_0x4d632a,_0x542920)[_0x3f8ee3(0x2d3)](_0x4daf6a[_0x3f8ee3(0x359)]);return _0x6cbfe8;},'_parse':function(_0x3d956f,_0x46de37){var _0x30a1d0=_0x36ed1b;return typeof _0x3d956f=='string'?_0x46de37[_0x30a1d0(0x26a)](_0x3d956f,this):_0x3d956f;}}),_0x1da00a=_0x1a70cc[_0x36ed1b(0x1a3)]={},_0x291d6f=_0x1da00a['OpenSSL']={'execute':function(_0x32dcff,_0x269a36,_0x4a9f3f,_0x7f461b,_0x25a7e0){var _0x21d3ac=_0x36ed1b;if(_0x7f461b||(_0x7f461b=_0x14f525[_0x21d3ac(0x3aa)](0x40/0x8)),_0x25a7e0)var _0x461473=_0x1e2190[_0x21d3ac(0x49c)]({'keySize':_0x269a36+_0x4a9f3f,'hasher':_0x25a7e0})[_0x21d3ac(0x201)](_0x32dcff,_0x7f461b);else var _0x461473=_0x1e2190[_0x21d3ac(0x49c)]({'keySize':_0x269a36+_0x4a9f3f})[_0x21d3ac(0x201)](_0x32dcff,_0x7f461b);var _0x1c46b2=_0x14f525[_0x21d3ac(0x49c)](_0x461473['words']['slice'](_0x269a36),_0x4a9f3f*0x4);return _0x461473[_0x21d3ac(0x451)]=_0x269a36*0x4,_0x1a4b0c['create']({'key':_0x461473,'iv':_0x1c46b2,'salt':_0x7f461b});}},_0x54b0f2=_0x4482aa[_0x36ed1b(0x3ba)]=_0x2689c5['extend']({'cfg':_0x2689c5[_0x36ed1b(0x21c)][_0x36ed1b(0x279)]({'kdf':_0x291d6f}),'encrypt':function(_0x3e67fe,_0x4047fd,_0x4534f0,_0x499447){var _0x2ec9eb=_0x36ed1b;_0x499447=this['cfg'][_0x2ec9eb(0x279)](_0x499447);var _0xab95e2=_0x499447[_0x2ec9eb(0x1a3)][_0x2ec9eb(0x3cd)](_0x4534f0,_0x3e67fe[_0x2ec9eb(0x1be)],_0x3e67fe['ivSize'],_0x499447[_0x2ec9eb(0x37f)],_0x499447['hasher']);_0x499447['iv']=_0xab95e2['iv'];var _0x5b6817=_0x2689c5[_0x2ec9eb(0x3d4)][_0x2ec9eb(0x3dc)](this,_0x3e67fe,_0x4047fd,_0xab95e2[_0x2ec9eb(0x2c4)],_0x499447);return _0x5b6817[_0x2ec9eb(0x378)](_0xab95e2),_0x5b6817;},'decrypt':function(_0x18e7a5,_0x49bd60,_0xb5c5f7,_0x19c9ba){var _0x54a304=_0x36ed1b;_0x19c9ba=this['cfg'][_0x54a304(0x279)](_0x19c9ba),_0x49bd60=this[_0x54a304(0x41f)](_0x49bd60,_0x19c9ba[_0x54a304(0x467)]);var _0x3ee56c=_0x19c9ba[_0x54a304(0x1a3)][_0x54a304(0x3cd)](_0xb5c5f7,_0x18e7a5[_0x54a304(0x1be)],_0x18e7a5[_0x54a304(0x228)],_0x49bd60[_0x54a304(0x37f)],_0x19c9ba[_0x54a304(0x345)]);_0x19c9ba['iv']=_0x3ee56c['iv'];var _0x2bdabd=_0x2689c5[_0x54a304(0x32e)][_0x54a304(0x3dc)](this,_0x18e7a5,_0x49bd60,_0x3ee56c[_0x54a304(0x2c4)],_0x19c9ba);return _0x2bdabd;}});}();}));}(Je)),Je[_0x7bc23f(0x305)];}var Ds=Ve[_0x4c3b0f(0x305)],si;function Us(){var _0xe090d1=_0x4c3b0f;return si||(si=0x1,function(_0x41d74c,_0x42e0a6){(function(_0x5bd6aa,_0x4e5d52,_0x1981fa){_0x41d74c['exports']=_0x4e5d52(ie(),Di(),Ts(),Ui(),Ai());}(Ds,function(_0x502e66){var _0x8e4298=_0x5e8e;return(function(){var _0x466670=_0x5e8e,_0x4dd76e=_0x502e66,_0x58bc8f=_0x4dd76e[_0x466670(0x370)],_0x68610a=_0x58bc8f[_0x466670(0x2da)],_0x4e68c6=_0x4dd76e[_0x466670(0x2d9)],_0x32cc8c=[],_0x5c8f7e=[],_0x300ea1=[],_0x29a973=[],_0x85560c=[],_0x20348d=[],_0x196582=[],_0x2483c4=[],_0x4245ff=[],_0x41e4e6=[];(function(){for(var _0x3f4d0d=[],_0x240b11=0x0;_0x240b11<0x100;_0x240b11++)_0x240b11<0x80?_0x3f4d0d[_0x240b11]=_0x240b11<<0x1:_0x3f4d0d[_0x240b11]=_0x240b11<<0x1^0x11b;for(var _0x193fad=0x0,_0x541ae=0x0,_0x240b11=0x0;_0x240b11<0x100;_0x240b11++){var _0x435f3d=_0x541ae^_0x541ae<<0x1^_0x541ae<<0x2^_0x541ae<<0x3^_0x541ae<<0x4;_0x435f3d=_0x435f3d>>>0x8^_0x435f3d&0xff^0x63,_0x32cc8c[_0x193fad]=_0x435f3d,_0x5c8f7e[_0x435f3d]=_0x193fad;var _0x18da3d=_0x3f4d0d[_0x193fad],_0x8ea183=_0x3f4d0d[_0x18da3d],_0x3514d7=_0x3f4d0d[_0x8ea183],_0x1f2e80=_0x3f4d0d[_0x435f3d]*0x101^_0x435f3d*0x1010100;_0x300ea1[_0x193fad]=_0x1f2e80<<0x18|_0x1f2e80>>>0x8,_0x29a973[_0x193fad]=_0x1f2e80<<0x10|_0x1f2e80>>>0x10,_0x85560c[_0x193fad]=_0x1f2e80<<0x8|_0x1f2e80>>>0x18,_0x20348d[_0x193fad]=_0x1f2e80;var _0x1f2e80=_0x3514d7*0x1010101^_0x8ea183*0x10001^_0x18da3d*0x101^_0x193fad*0x1010100;_0x196582[_0x435f3d]=_0x1f2e80<<0x18|_0x1f2e80>>>0x8,_0x2483c4[_0x435f3d]=_0x1f2e80<<0x10|_0x1f2e80>>>0x10,_0x4245ff[_0x435f3d]=_0x1f2e80<<0x8|_0x1f2e80>>>0x18,_0x41e4e6[_0x435f3d]=_0x1f2e80,_0x193fad?(_0x193fad=_0x18da3d^_0x3f4d0d[_0x3f4d0d[_0x3f4d0d[_0x3514d7^_0x18da3d]]],_0x541ae^=_0x3f4d0d[_0x3f4d0d[_0x541ae]]):_0x193fad=_0x541ae=0x1;}}());var _0x117c82=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x36aedf=_0x4e68c6['AES']=_0x68610a[_0x466670(0x279)]({'_doReset':function(){var _0x5c7c29=_0x466670,_0x23351b;if(!(this['_nRounds']&&this[_0x5c7c29(0x376)]===this[_0x5c7c29(0x473)])){for(var _0x33a256=this[_0x5c7c29(0x376)]=this['_key'],_0x48240f=_0x33a256[_0x5c7c29(0x1d2)],_0x465694=_0x33a256['sigBytes']/0x4,_0xa4effc=this[_0x5c7c29(0x194)]=_0x465694+0x6,_0x287c24=(_0xa4effc+0x1)*0x4,_0x4f6472=this[_0x5c7c29(0x1aa)]=[],_0x172371=0x0;_0x172371<_0x287c24;_0x172371++)_0x172371<_0x465694?_0x4f6472[_0x172371]=_0x48240f[_0x172371]:(_0x23351b=_0x4f6472[_0x172371-0x1],_0x172371%_0x465694?_0x465694>0x6&&_0x172371%_0x465694==0x4&&(_0x23351b=_0x32cc8c[_0x23351b>>>0x18]<<0x18|_0x32cc8c[_0x23351b>>>0x10&0xff]<<0x10|_0x32cc8c[_0x23351b>>>0x8&0xff]<<0x8|_0x32cc8c[_0x23351b&0xff]):(_0x23351b=_0x23351b<<0x8|_0x23351b>>>0x18,_0x23351b=_0x32cc8c[_0x23351b>>>0x18]<<0x18|_0x32cc8c[_0x23351b>>>0x10&0xff]<<0x10|_0x32cc8c[_0x23351b>>>0x8&0xff]<<0x8|_0x32cc8c[_0x23351b&0xff],_0x23351b^=_0x117c82[_0x172371/_0x465694|0x0]<<0x18),_0x4f6472[_0x172371]=_0x4f6472[_0x172371-_0x465694]^_0x23351b);for(var _0x33febe=this[_0x5c7c29(0x2ec)]=[],_0x2640bb=0x0;_0x2640bb<_0x287c24;_0x2640bb++){var _0x172371=_0x287c24-_0x2640bb;if(_0x2640bb%0x4)var _0x23351b=_0x4f6472[_0x172371];else var _0x23351b=_0x4f6472[_0x172371-0x4];_0x2640bb<0x4||_0x172371<=0x4?_0x33febe[_0x2640bb]=_0x23351b:_0x33febe[_0x2640bb]=_0x196582[_0x32cc8c[_0x23351b>>>0x18]]^_0x2483c4[_0x32cc8c[_0x23351b>>>0x10&0xff]]^_0x4245ff[_0x32cc8c[_0x23351b>>>0x8&0xff]]^_0x41e4e6[_0x32cc8c[_0x23351b&0xff]];}}},'encryptBlock':function(_0x236759,_0x4f6e2d){var _0x32b909=_0x466670;this[_0x32b909(0x45f)](_0x236759,_0x4f6e2d,this[_0x32b909(0x1aa)],_0x300ea1,_0x29a973,_0x85560c,_0x20348d,_0x32cc8c);},'decryptBlock':function(_0x1134bd,_0x2e5005){var _0x2e4feb=_0x466670,_0x10372f=_0x1134bd[_0x2e5005+0x1];_0x1134bd[_0x2e5005+0x1]=_0x1134bd[_0x2e5005+0x3],_0x1134bd[_0x2e5005+0x3]=_0x10372f,this[_0x2e4feb(0x45f)](_0x1134bd,_0x2e5005,this['_invKeySchedule'],_0x196582,_0x2483c4,_0x4245ff,_0x41e4e6,_0x5c8f7e);var _0x10372f=_0x1134bd[_0x2e5005+0x1];_0x1134bd[_0x2e5005+0x1]=_0x1134bd[_0x2e5005+0x3],_0x1134bd[_0x2e5005+0x3]=_0x10372f;},'_doCryptBlock':function(_0x22c9e7,_0x2446ce,_0x5bb99d,_0x566ab3,_0x12540d,_0x380e29,_0x4e6bd4,_0x428f48){var _0xf3a5a9=_0x466670;for(var _0x2be41b=this[_0xf3a5a9(0x194)],_0x371851=_0x22c9e7[_0x2446ce]^_0x5bb99d[0x0],_0x42567c=_0x22c9e7[_0x2446ce+0x1]^_0x5bb99d[0x1],_0x5a6b6f=_0x22c9e7[_0x2446ce+0x2]^_0x5bb99d[0x2],_0x3b2eef=_0x22c9e7[_0x2446ce+0x3]^_0x5bb99d[0x3],_0x2ef2b1=0x4,_0x1aa416=0x1;_0x1aa416<_0x2be41b;_0x1aa416++){var _0x506c97=_0x566ab3[_0x371851>>>0x18]^_0x12540d[_0x42567c>>>0x10&0xff]^_0x380e29[_0x5a6b6f>>>0x8&0xff]^_0x4e6bd4[_0x3b2eef&0xff]^_0x5bb99d[_0x2ef2b1++],_0x2525f=_0x566ab3[_0x42567c>>>0x18]^_0x12540d[_0x5a6b6f>>>0x10&0xff]^_0x380e29[_0x3b2eef>>>0x8&0xff]^_0x4e6bd4[_0x371851&0xff]^_0x5bb99d[_0x2ef2b1++],_0x144f40=_0x566ab3[_0x5a6b6f>>>0x18]^_0x12540d[_0x3b2eef>>>0x10&0xff]^_0x380e29[_0x371851>>>0x8&0xff]^_0x4e6bd4[_0x42567c&0xff]^_0x5bb99d[_0x2ef2b1++],_0x3b36f4=_0x566ab3[_0x3b2eef>>>0x18]^_0x12540d[_0x371851>>>0x10&0xff]^_0x380e29[_0x42567c>>>0x8&0xff]^_0x4e6bd4[_0x5a6b6f&0xff]^_0x5bb99d[_0x2ef2b1++];_0x371851=_0x506c97,_0x42567c=_0x2525f,_0x5a6b6f=_0x144f40,_0x3b2eef=_0x3b36f4;}var _0x506c97=(_0x428f48[_0x371851>>>0x18]<<0x18|_0x428f48[_0x42567c>>>0x10&0xff]<<0x10|_0x428f48[_0x5a6b6f>>>0x8&0xff]<<0x8|_0x428f48[_0x3b2eef&0xff])^_0x5bb99d[_0x2ef2b1++],_0x2525f=(_0x428f48[_0x42567c>>>0x18]<<0x18|_0x428f48[_0x5a6b6f>>>0x10&0xff]<<0x10|_0x428f48[_0x3b2eef>>>0x8&0xff]<<0x8|_0x428f48[_0x371851&0xff])^_0x5bb99d[_0x2ef2b1++],_0x144f40=(_0x428f48[_0x5a6b6f>>>0x18]<<0x18|_0x428f48[_0x3b2eef>>>0x10&0xff]<<0x10|_0x428f48[_0x371851>>>0x8&0xff]<<0x8|_0x428f48[_0x42567c&0xff])^_0x5bb99d[_0x2ef2b1++],_0x3b36f4=(_0x428f48[_0x3b2eef>>>0x18]<<0x18|_0x428f48[_0x371851>>>0x10&0xff]<<0x10|_0x428f48[_0x42567c>>>0x8&0xff]<<0x8|_0x428f48[_0x5a6b6f&0xff])^_0x5bb99d[_0x2ef2b1++];_0x22c9e7[_0x2446ce]=_0x506c97,_0x22c9e7[_0x2446ce+0x1]=_0x2525f,_0x22c9e7[_0x2446ce+0x2]=_0x144f40,_0x22c9e7[_0x2446ce+0x3]=_0x3b36f4;},'keySize':0x100/0x20});_0x4dd76e[_0x466670(0x350)]=_0x68610a[_0x466670(0x320)](_0x36aedf);}()),_0x502e66[_0x8e4298(0x350)];}));}(Ve)),Ve[_0xe090d1(0x305)];}var As=Us();const ws=He(As);var Ps=Di();const ri=He(Ps);var Xe={'exports':{}},Ls=Xe[_0x4c3b0f(0x305)],ai;function xs(){var _0x4cd9d3=_0x4c3b0f;return ai||(ai=0x1,function(_0x10eb55,_0x26007d){(function(_0x588816,_0x430abd){var _0x5bed34=_0x5e8e;_0x10eb55[_0x5bed34(0x305)]=_0x430abd(ie());}(Ls,function(_0x322760){var _0x19343b=_0x5e8e;return _0x322760[_0x19343b(0x244)][_0x19343b(0x3d2)];}));}(Xe)),Xe[_0x4cd9d3(0x305)];}var Ms=xs();const ks=He(Ms);var Ze={'exports':{}},$s=Ze[_0x4c3b0f(0x305)],oi;function Hs(){var _0x547f29=_0x4c3b0f;return oi||(oi=0x1,function(_0x14d113,_0x417f70){(function(_0x58972b,_0x115077){var _0x315311=_0x5e8e;_0x14d113[_0x315311(0x305)]=_0x115077(ie());}($s,function(_0x47f1eb){var _0x5ffa6a=_0x5e8e;return(function(){var _0x3ffb22=_0x5e8e;if(typeof ArrayBuffer=='function'){var _0x8608a3=_0x47f1eb,_0x7cc11c=_0x8608a3[_0x3ffb22(0x370)],_0x4f884b=_0x7cc11c['WordArray'],_0xa80afb=_0x4f884b[_0x3ffb22(0x1d6)],_0x2a739d=_0x4f884b[_0x3ffb22(0x1d6)]=function(_0x4c57cb){var _0x5ebc66=_0x3ffb22;if(_0x4c57cb instanceof ArrayBuffer&&(_0x4c57cb=new Uint8Array(_0x4c57cb)),(_0x4c57cb instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x4c57cb instanceof Uint8ClampedArray||_0x4c57cb instanceof Int16Array||_0x4c57cb instanceof Uint16Array||_0x4c57cb instanceof Int32Array||_0x4c57cb instanceof Uint32Array||_0x4c57cb instanceof Float32Array||_0x4c57cb instanceof Float64Array)&&(_0x4c57cb=new Uint8Array(_0x4c57cb[_0x5ebc66(0x410)],_0x4c57cb['byteOffset'],_0x4c57cb[_0x5ebc66(0x1dc)])),_0x4c57cb instanceof Uint8Array){for(var _0x55e7e2=_0x4c57cb[_0x5ebc66(0x1dc)],_0x2bddef=[],_0x59bd5e=0x0;_0x59bd5e<_0x55e7e2;_0x59bd5e++)_0x2bddef[_0x59bd5e>>>0x2]|=_0x4c57cb[_0x59bd5e]<<0x18-_0x59bd5e%0x4*0x8;_0xa80afb[_0x5ebc66(0x3dc)](this,_0x2bddef,_0x55e7e2);}else _0xa80afb['apply'](this,arguments);};_0x2a739d[_0x3ffb22(0x1d4)]=_0x4f884b;}}()),_0x47f1eb[_0x5ffa6a(0x370)][_0x5ffa6a(0x402)];}));}(Ze)),Ze[_0x547f29(0x305)];}var Bs=Hs();const js=He(Bs);var Qe={'exports':{}},Fs=Qe['exports'],ci;function Vs(){var _0x1ad693=_0x4c3b0f;return ci||(ci=0x1,function(_0x44f7bb,_0x5d80dd){(function(_0x248d62,_0x43d9b2,_0x5d91c9){_0x44f7bb['exports']=_0x43d9b2(ie(),Ai());}(Fs,function(_0x5475a4){var _0x5b8d7e=_0x5e8e;return _0x5475a4['pad'][_0x5b8d7e(0x1bd)]={'pad':function(){},'unpad':function(){}},_0x5475a4[_0x5b8d7e(0x364)]['NoPadding'];}));}(Qe)),Qe[_0x1ad693(0x305)];}var Gs=Vs();const Ws=He(Gs);function Ks(_0x58b351,_0x2568eb){var _0x3d9c89=_0x4c3b0f;const _0xa39789=_0x2568eb-_0x58b351[_0x3d9c89(0x406)]%_0x2568eb,_0xd1a799=String['fromCharCode'](_0xa39789)[_0x3d9c89(0x314)](_0xa39789);return _0x58b351+_0xd1a799;}function Ys(_0x597ce0,_0x56d627){var _0x2adfa9=_0x4c3b0f;const _0x5c3ce6=js[_0x2adfa9(0x3aa)](0x10),_0x3cc4d3=Ks(_0x597ce0,0x10),_0x25aefb=ws[_0x2adfa9(0x3d4)](ks['parse'](_0x3cc4d3),ri[_0x2adfa9(0x26a)](_0x56d627),{'iv':_0x5c3ce6,'padding':Ws});return _0x5c3ce6[_0x2adfa9(0x324)](_0x25aefb[_0x2adfa9(0x359)])[_0x2adfa9(0x22b)](ri);}function qs(){var _0x5b5347=_0x4c3b0f;const _0x3d8a49=_0x28c20a()[_0x5b5347(0x475)];if(_0x3d8a49){const _0x232c76={'time':Math['floor'](Date['now']()/0x3e8),'domain':location['hostname']};return Ys(JSON[_0x5b5347(0x497)](_0x232c76),_0x3d8a49);}}var zs=Object[_0x4c3b0f(0x304)],Js=(_0x24e167,_0xddf61b,_0x36adb7,_0x5161a2)=>{var _0x3b916b=_0x4c3b0f;for(var _0x52b2b0=_0x5161a2>0x1?void 0x0:_0x5161a2?zs(_0xddf61b,_0x36adb7):_0xddf61b,_0x63a26c=_0x24e167[_0x3b916b(0x406)]-0x1,_0x271555;_0x63a26c>=0x0;_0x63a26c--)(_0x271555=_0x24e167[_0x63a26c])&&(_0x52b2b0=_0x271555(_0x52b2b0)||_0x52b2b0);return _0x52b2b0;},Xs=(_0x44d6cc,_0x3c6884)=>(_0x299715,_0x44989d)=>_0x3c6884(_0x299715,_0x44989d,_0x44d6cc);let at=class{constructor(_0x1ec9e7){var _0x499173=_0x4c3b0f;this[_0x499173(0x447)]=_0x1ec9e7,this[_0x499173(0x323)]();}[_0x4c3b0f(0x323)](){var _0x29047a=_0x4c3b0f;this['_httpService'][_0x29047a(0x2aa)]({'interceptor':(_0xddf057,_0xfb6e13)=>{var _0x11b8c9=_0x29047a;const _0x5790f7=_0xddf057[_0x11b8c9(0x3c3)],_0x871735=qs();return _0x871735&&_0x5790f7[_0x11b8c9(0x44e)](_0x11b8c9(0x253),_0x871735),_0xfb6e13(_0xddf057);}});}};at=Js([Xs(0x0,_0xd5eff8(_0x279f52))],at);var Zs=Object[_0x4c3b0f(0x304)],Qs=(_0x3944a5,_0x469bd5,_0x2104f5,_0x29428c)=>{for(var _0x1b459c=_0x29428c>0x1?void 0x0:_0x29428c?Zs(_0x469bd5,_0x2104f5):_0x469bd5,_0x19d442=_0x3944a5['length']-0x1,_0x1b6f5e;_0x19d442>=0x0;_0x19d442--)(_0x1b6f5e=_0x3944a5[_0x19d442])&&(_0x1b459c=_0x1b6f5e(_0x1b459c)||_0x1b459c);return _0x1b459c;},mt=(_0x3e19cf,_0x17a218)=>(_0x4e4cb4,_0x4070b6)=>_0x17a218(_0x4e4cb4,_0x4070b6,_0x3e19cf);let bt=class extends _0x4391cf{constructor(_0x473f01,_0x112df4,_0x53200c){var _0xd2c9d1=_0x4c3b0f;super(),N(this,_0xd2c9d1(0x2b1),new _0x476957(null)),N(this,_0xd2c9d1(0x484),this[_0xd2c9d1(0x2b1)][_0xd2c9d1(0x236)]()),(this[_0xd2c9d1(0x23f)]=_0x473f01,this['_snapshotService']=_0x112df4,this[_0xd2c9d1(0x20c)]=_0x53200c);}async[_0x4c3b0f(0x1f4)](_0x5eda96,_0x309701,_0x5d59a9){var _0x3b2e24=_0x4c3b0f;this[_0x3b2e24(0x2b1)]['next']({'unitId':_0x5eda96,'type':_0x309701,'subUnitId':_0x5d59a9});let _0x45208c=null;switch(_0x309701){case Q[_0x3b2e24(0x439)]:{_0x45208c=await this[_0x3b2e24(0x252)](_0x5eda96);break;}case Q[_0x3b2e24(0x360)]:{_0x45208c=await this['_loadDoc'](_0x5eda96);break;}default:{this['_logService'][_0x3b2e24(0x1ab)]('[DataLoaderService]',_0x3b2e24(0x2b7));break;}}return _0x45208c;}async[_0x4c3b0f(0x252)](_0x48eb61){var _0x331552=_0x4c3b0f,_0xd0e88;let _0x27bb11=0x0;const _0x21c7e8=await((_0xd0e88=this[_0x331552(0x20c)])==null?void 0x0:_0xd0e88[_0x331552(0x3e1)](_0x48eb61));return _0x21c7e8&&(_0x21c7e8['awaitingChangeset']||_0x21c7e8['mutations']['length']!==0x0)&&(_0x27bb11=_0x21c7e8[_0x331552(0x3a1)]),_0x27bb11===0x0&&this[_0x331552(0x23f)][_0x331552(0x2cd)]('[DataLoaderService]',_0x331552(0x49e)),this[_0x331552(0x215)][_0x331552(0x33c)](_0x48eb61,_0x27bb11);}async[_0x4c3b0f(0x383)](_0x5db3fb){var _0xccaf7c=_0x4c3b0f,_0x252079;let _0x31a7c8=0x0;const _0x1c2330=await((_0x252079=this[_0xccaf7c(0x20c)])==null?void 0x0:_0x252079[_0xccaf7c(0x3e1)](_0x5db3fb));return _0x1c2330&&(_0x1c2330[_0xccaf7c(0x258)]||_0x1c2330[_0xccaf7c(0x30b)][_0xccaf7c(0x406)]!==0x0)&&(_0x31a7c8=_0x1c2330[_0xccaf7c(0x3a1)]),_0x31a7c8===0x0&&this['_logService']['debug'](_0xccaf7c(0x38c),_0xccaf7c(0x49e)),this[_0xccaf7c(0x215)][_0xccaf7c(0x23a)](_0x5db3fb,_0x31a7c8);}};bt=Qs([mt(0x0,_0x269a14),mt(0x1,_0xd5eff8(_0x267df8)),mt(0x2,_0x55e026(J))],bt);var er=Object['getOwnPropertyDescriptor'],tr=(_0x5a93bf,_0x47e7e4,_0x27976e,_0x2d58c0)=>{var _0x52752a=_0x4c3b0f;for(var _0x46ccbb=_0x2d58c0>0x1?void 0x0:_0x2d58c0?er(_0x47e7e4,_0x27976e):_0x47e7e4,_0x32c27e=_0x5a93bf[_0x52752a(0x406)]-0x1,_0x4c8ca8;_0x32c27e>=0x0;_0x32c27e--)(_0x4c8ca8=_0x5a93bf[_0x32c27e])&&(_0x46ccbb=_0x4c8ca8(_0x46ccbb)||_0x46ccbb);return _0x46ccbb;},gt=(_0x2ce377,_0x2833e7)=>(_0x3689b6,_0x10c125)=>_0x2833e7(_0x3689b6,_0x10c125,_0x2ce377);const ir=[_0x4c3b0f(0x255),_0x4c3b0f(0x423),'image/jpg',_0x4c3b0f(0x342),_0x4c3b0f(0x224)],nr=0x5*0x400*0x400,sr=_0x4c3b0f(0x273),rr=_0x4c3b0f(0x48e),ar=_0x4c3b0f(0x1e5),or=_0x4c3b0f(0x301);let Ot=class{constructor(_0x46a0bb,_0x31f2b5,_0x2c02ee){var _0x4b338d=_0x4c3b0f;N(this,_0x4b338d(0x354),0x0),N(this,_0x4b338d(0x34d),new _0x20a9ed()),N(this,_0x4b338d(0x1a4),this['_change$']),N(this,_0x4b338d(0x41c),new Map()),(this[_0x4b338d(0x447)]=_0x46a0bb,this[_0x4b338d(0x1b8)]=_0x31f2b5,this[_0x4b338d(0x3bd)]=_0x2c02ee);}[_0x4c3b0f(0x3a8)](_0x7d7254){var _0x77a4d3=_0x4c3b0f;this['_waitCount']=_0x7d7254,this['_change$'][_0x77a4d3(0x340)](_0x7d7254);}['getImageSourceCache'](_0x47378b,_0x1c3aa2){var _0x15f202=_0x4c3b0f;if(_0x1c3aa2===_0x3cc512[_0x15f202(0x48b)]){const _0x2da97b=new Image();return _0x2da97b[_0x15f202(0x3f2)]=_0x47378b,_0x2da97b;}return this[_0x15f202(0x41c)][_0x15f202(0x42b)](_0x47378b);}[_0x4c3b0f(0x46f)](_0x2c24b4,_0x2d81bf,_0x2424ee){var _0x1764a3=_0x4c3b0f;_0x2d81bf===_0x3cc512[_0x1764a3(0x48b)]||_0x2424ee==null||this[_0x1764a3(0x41c)]['set'](_0x2c24b4,_0x2424ee);}async[_0x4c3b0f(0x1f1)](_0x590f53){var _0x315498=_0x4c3b0f;try{const _0x370664=this[_0x315498(0x298)](this['_getSignURL'](),''+_0x590f53),_0x29935e=(await this[_0x315498(0x447)][_0x315498(0x42b)](_0x370664))[_0x315498(0x1fc)];if(_0x29935e[_0x315498(0x1ab)]&&_0x29935e['error'][_0x315498(0x3b0)]===Si['OK']){const _0x3dc3ad=new URL(_0x29935e[_0x315498(0x33f)],this['_getDownloadEndpointURL']())[_0x315498(0x22b)]();return Promise[_0x315498(0x316)](_0x3dc3ad);}return Promise[_0x315498(0x3cf)](_0x29935e['error']);}catch(_0x171c3b){return Promise[_0x315498(0x3cf)](_0x171c3b);}}async[_0x4c3b0f(0x2e5)](_0x16a3f1){var _0x13210f=_0x4c3b0f;let _0x545bce='';if(!ir[_0x13210f(0x3d1)](_0x16a3f1[_0x13210f(0x493)]))return this[_0x13210f(0x39d)](),Promise[_0x13210f(0x3cf)](new Error(_0x1b8322[_0x13210f(0x292)]));if(_0x16a3f1[_0x13210f(0x40a)]>nr)return this[_0x13210f(0x39d)](),Promise[_0x13210f(0x3cf)](new Error(_0x1b8322[_0x13210f(0x3ef)]));try{const _0x28d62e=new FormData();_0x28d62e[_0x13210f(0x1a2)]('file',_0x16a3f1);const _0x53adda=this[_0x13210f(0x3bd)][_0x13210f(0x30a)](),_0x3521ec=_0x53adda==null?void 0x0:_0x53adda[_0x13210f(0x3c7)]();if(!_0x3521ec)throw new Error('unitId\x20is\x20not\x20found');const _0x13a309=this[_0x13210f(0x379)]()+_0x13210f(0x357)+_0x16a3f1[_0x13210f(0x40a)][_0x13210f(0x22b)]()+_0x13210f(0x1ed)+Ei[_0x13210f(0x448)]+_0x13210f(0x30f)+encodeURIComponent(_0x3521ec),_0x530664=await(await fetch(_0x13a309,{'method':_0x13210f(0x462),'body':_0x28d62e}))['json']();if(typeof _0x530664[_0x13210f(0x200)]!=_0x13210f(0x196))return this[_0x13210f(0x39d)](),Promise[_0x13210f(0x3cf)](new Error(_0x1b8322['ERROR_IMAGE']));_0x545bce=_0x530664[_0x13210f(0x200)];}catch{return this[_0x13210f(0x39d)](),Promise['reject'](new Error(_0x1b8322['ERROR_IMAGE']));}return new Promise((_0x763bb6,_0x407d0b)=>{var _0x60fb8c=_0x13210f;const _0x2cd37a=new FileReader();_0x2cd37a[_0x60fb8c(0x24c)](_0x16a3f1),_0x2cd37a[_0x60fb8c(0x1d1)]=_0x410ed1=>{var _0xfea19e=_0x60fb8c,_0x57d733;const _0x1e9329=(_0x57d733=_0x410ed1[_0xfea19e(0x3e0)])==null?void 0x0:_0x57d733[_0xfea19e(0x2c2)];if(_0x1e9329==null){this[_0xfea19e(0x39d)](),_0x407d0b(new Error(_0x1b8322[_0xfea19e(0x23d)]));return;}const _0xb333e9=_0x5260ce[_0xfea19e(0x2ed)](0x6);_0x763bb6({'imageId':_0xb333e9,'imageSourceType':_0x3cc512[_0xfea19e(0x2e2)],'source':_0x545bce,'base64Cache':_0x1e9329,'status':_0x1b8322['SUCCUSS']}),this[_0xfea19e(0x39d)]();};});}[_0x4c3b0f(0x379)](){var _0x293abe=_0x4c3b0f,_0x2f3a72,_0x46b4d1;const _0x1df227=this[_0x293abe(0x1b8)][_0x293abe(0x207)](sr),_0x17ef35=this['_configService'][_0x293abe(0x207)](q);return(_0x46b4d1=(_0x2f3a72=_0x17ef35==null?void 0x0:_0x17ef35[_0x293abe(0x3c2)])!=null?_0x2f3a72:_0x1df227)!=null?_0x46b4d1:rr;}[_0x4c3b0f(0x335)](){var _0x532196=_0x4c3b0f,_0x29b549,_0x49fb81;const _0xdaca39=this[_0x532196(0x1b8)][_0x532196(0x207)](ar),_0x11f652=this[_0x532196(0x1b8)][_0x532196(0x207)](q);return(_0x49fb81=(_0x29b549=_0x11f652==null?void 0x0:_0x11f652[_0x532196(0x1e8)])!=null?_0x29b549:_0xdaca39)!=null?_0x49fb81:or;}[_0x4c3b0f(0x267)](){var _0x15f4c0=_0x4c3b0f,_0xa7560f;const _0x56526c=this[_0x15f4c0(0x1b8)]['getConfig'](q);return(_0xa7560f=_0x56526c==null?void 0x0:_0x56526c[_0x15f4c0(0x209)])!=null?_0xa7560f:location[_0x15f4c0(0x407)];}[_0x4c3b0f(0x298)](_0x4c8a6e,_0xb7ed1){var _0x3d030b=_0x4c3b0f;return _0x4c8a6e[_0x3d030b(0x197)](_0x3d030b(0x325),_0xb7ed1);}[_0x4c3b0f(0x39d)](){var _0x10469c=_0x4c3b0f;this[_0x10469c(0x354)]-=0x1,this[_0x10469c(0x34d)][_0x10469c(0x340)](this['_waitCount']);}};Ot=tr([gt(0x0,_0xd5eff8(_0x279f52)),gt(0x1,_0x5d9548),gt(0x2,_0xd5eff8(_0x5f561f))],Ot);var cr=Object['getOwnPropertyDescriptor'],hr=(_0x92450a,_0xfc7e6a,_0x5343c6,_0x52a1e2)=>{var _0xc31214=_0x4c3b0f;for(var _0x250ef7=_0x52a1e2>0x1?void 0x0:_0x52a1e2?cr(_0xfc7e6a,_0x5343c6):_0xfc7e6a,_0x4e794a=_0x92450a[_0xc31214(0x406)]-0x1,_0x383efe;_0x4e794a>=0x0;_0x4e794a--)(_0x383efe=_0x92450a[_0x4e794a])&&(_0x250ef7=_0x383efe(_0x250ef7)||_0x250ef7);return _0x250ef7;},hi=(_0x7b5433,_0x72b5d6)=>(_0x554be1,_0x214368)=>_0x72b5d6(_0x554be1,_0x214368,_0x7b5433);const _r=_0x4c3b0f(0x295);let yt=class{constructor(_0x2e9172,_0x1ccaac){var _0x1cad15=_0x4c3b0f;this['_configService']=_0x2e9172,this[_0x1cad15(0x3fd)]=_0x1ccaac;}['_getAPIPrefixPath'](){var _0x1af8fb=_0x4c3b0f,_0x3ca6dc,_0x49891b;const _0x3c02ef=this[_0x1af8fb(0x1b8)][_0x1af8fb(0x207)](Ni),_0x33929e=this[_0x1af8fb(0x1b8)]['getConfig'](q);return(_0x49891b=(_0x3ca6dc=_0x33929e==null?void 0x0:_0x33929e[_0x1af8fb(0x483)])!=null?_0x3ca6dc:_0x3c02ef)!=null?_0x49891b:_r;}async[_0x4c3b0f(0x428)](_0x403f7d){var _0xc458dc=_0x4c3b0f;const _0x16c8b5=this[_0xc458dc(0x331)]()+_0xc458dc(0x2a3);return{'list':[{'title':_0xc458dc(0x31a),'mentions':(await this['_HTTPService']['get'](_0x16c8b5,{'params':{'objectID':_0x403f7d[_0xc458dc(0x485)],'unitID':_0x403f7d[_0xc458dc(0x485)]}}))[_0xc458dc(0x1fc)][_0xc458dc(0x282)]['map'](_0x260960=>({'objectId':_0x260960['id'],'name':_0x260960['subject'][_0xc458dc(0x490)],'metadata':{'icon':_0x260960['subject']['avatar']},'label':_0x260960[_0xc458dc(0x34c)][_0xc458dc(0x490)],'objectType':_0x5769b6[_0xc458dc(0x3d7)]})),'metadata':{},'type':_0x5769b6[_0xc458dc(0x3d7)]}]};}};yt=hr([hi(0x0,_0xd5eff8(_0x5d9548)),hi(0x1,_0xd5eff8(_0x279f52))],yt);var lr=Object['getOwnPropertyDescriptor'],ur=(_0xcc5560,_0x166bbe,_0x3f4b25,_0x174a38)=>{var _0x2cb148=_0x4c3b0f;for(var _0x9d9e3c=_0x174a38>0x1?void 0x0:_0x174a38?lr(_0x166bbe,_0x3f4b25):_0x166bbe,_0x2ea4d1=_0xcc5560[_0x2cb148(0x406)]-0x1,_0x2fd085;_0x2ea4d1>=0x0;_0x2ea4d1--)(_0x2fd085=_0xcc5560[_0x2ea4d1])&&(_0x9d9e3c=_0x2fd085(_0x9d9e3c)||_0x9d9e3c);return _0x9d9e3c;},we=(_0x59c001,_0x1dd6ed)=>(_0xa1ccc1,_0xe9f238)=>_0x1dd6ed(_0xa1ccc1,_0xe9f238,_0x59c001);let ot=class extends _0x4391cf{constructor(_0x3b45ce,_0x516800,_0x4c4f0b,_0x51338d,_0x41d34e){var _0x45513c=_0x4c3b0f;super(),this['_injector']=_0x3b45ce,this['_univerInstanceService']=_0x516800,this['_permissionService']=_0x4c4f0b,this[_0x45513c(0x20f)]=_0x51338d,this[_0x45513c(0x431)]=_0x41d34e,this[_0x45513c(0x491)](),this[_0x45513c(0x1eb)]();}[_0x4c3b0f(0x1eb)](){var _0xfcc000=_0x4c3b0f;const _0x514ca7=async _0x6ab27b=>{var _0x5b222f=_0x5e8e;(await this[_0x5b222f(0x20f)]['requireSession'](_0x6ab27b))[_0x5b222f(0x31b)][_0x5b222f(0x21a)](_0x3ffd34(_0x377429=>_0x377429[_0x5b222f(0x381)]===_0x420cf9[_0x5b222f(0x459)]),_0x5b8db9(this['dispose$']))[_0x5b222f(0x2d4)](_0x424e52=>{var _0xe96ea5=_0x5b222f;const _0x1f5d0d=_0x424e52,{reason:_0x282276}=_0x1f5d0d[_0xe96ea5(0x2f8)];this[_0xe96ea5(0x431)][_0xe96ea5(0x334)]({'id':re[_0xe96ea5(0x3f3)],'data':_0x282276}),this[_0xe96ea5(0x287)][_0xe96ea5(0x25c)](new _0x875595(_0x6ab27b)['id'],!0x1),this[_0xe96ea5(0x20f)][_0xe96ea5(0x243)](_0x6ab27b);});};_0x2f3e61(this['_univerInstanceService']['getTypeOfUnitAdded$'](_0xd6e5c6[_0xfcc000(0x439)]),this[_0xfcc000(0x3bd)]['getTypeOfUnitAdded$'](_0xd6e5c6[_0xfcc000(0x360)]))[_0xfcc000(0x21a)](_0x5c62b3(_0x8263c1=>_0x8263c1[_0xfcc000(0x3c7)]()),_0x3ffd34(_0x230293=>!_0x5ad9e7(_0x230293)),_0x5b8db9(this[_0xfcc000(0x3bf)]))[_0xfcc000(0x2d4)](_0x15f6f5=>{_0x514ca7(_0x15f6f5);});}[_0x4c3b0f(0x491)](){var _0x265ecd=_0x4c3b0f;const _0x37fb00=async _0x559bb1=>{var _0x177890=_0x5e8e;const _0x3b0ac0=await this[_0x177890(0x20f)][_0x177890(0x368)](_0x559bb1),_0x5b1eed=this[_0x177890(0x3df)]['get'](_0x38ba90);_0x3b0ac0['event$'][_0x177890(0x21a)](_0x3ffd34(_0x2d3edb=>_0x2d3edb[_0x177890(0x381)]===_0x420cf9[_0x177890(0x22c)]),_0x5b8db9(this[_0x177890(0x3bf)]))[_0x177890(0x2d4)](_0x4b5522=>{var _0x56c586=_0x177890;const _0x4dda01=_0x4b5522,{objectId:_0x58927e}=_0x4dda01['data'];_0x58927e===_0x559bb1?_0x5b1eed[_0x56c586(0x464)](_0x559bb1):_0x5b1eed[_0x56c586(0x262)](_0x559bb1,_0x58927e);});};_0x2f3e61(this[_0x265ecd(0x3bd)]['getTypeOfUnitAdded$'](_0xd6e5c6['UNIVER_SHEET']))['pipe'](_0x5c62b3(_0x360eeb=>_0x360eeb[_0x265ecd(0x3c7)]()),_0x3ffd34(_0x18b061=>!_0x5ad9e7(_0x18b061)),_0x5b8db9(this['dispose$']))[_0x265ecd(0x2d4)](_0x8906b=>{_0x37fb00(_0x8906b);});}};ot=ur([we(0x0,_0xd5eff8(_0x3fbbf1)),we(0x1,_0x5f561f),we(0x2,_0x1c0607),we(0x3,_0xd5eff8(xe)),we(0x4,_0xd5eff8(pe))],ot);var dr=Object['getOwnPropertyDescriptor'],fr=(_0x4a1a87,_0x286e5a,_0x14fe5e,_0x3bb540)=>{var _0x2699b9=_0x4c3b0f;for(var _0x235f5f=_0x3bb540>0x1?void 0x0:_0x3bb540?dr(_0x286e5a,_0x14fe5e):_0x286e5a,_0x15885c=_0x4a1a87[_0x2699b9(0x406)]-0x1,_0x4ad545;_0x15885c>=0x0;_0x15885c--)(_0x4ad545=_0x4a1a87[_0x15885c])&&(_0x235f5f=_0x4ad545(_0x235f5f)||_0x235f5f);return _0x235f5f;},_i=(_0x21749e,_0x2ddbb9)=>(_0x4bf8fe,_0x13616f)=>_0x2ddbb9(_0x4bf8fe,_0x13616f,_0x21749e);let Nt=class{constructor(_0x1394f2,_0x455c15){var _0x3e56d6=_0x4c3b0f;this['_configService']=_0x1394f2,this[_0x3e56d6(0x447)]=_0x455c15;}async[_0x4c3b0f(0x435)](_0x532d55,_0x4261fa){var _0x188a8f=_0x4c3b0f,_0x4cee9f;const {unitID:_0x2620f3,type:_0xcc1294,revision:_0x4398ca=0x0}=_0x4261fa,_0x32c33f=this[_0x188a8f(0x1f5)]()+'/'+_0xcc1294+_0x188a8f(0x2b5)+_0x2620f3+_0x188a8f(0x417)+_0x4398ca,_0x48065a=(await this[_0x188a8f(0x447)][_0x188a8f(0x42b)](_0x32c33f))[_0x188a8f(0x1fc)],_0x38150a=(_0x4cee9f=_0x48065a[_0x188a8f(0x19a)])==null?void 0x0:_0x4cee9f[_0x188a8f(0x2cc)];if(_0x38150a){const _0x350938=_0x38150a==null?void 0x0:_0x38150a['originalMeta'],_0x43ea32=_0x5130df[_0x188a8f(0x3e5)](_0xaa15d3(_0x350938));_0x38150a[_0x188a8f(0x362)]=_0x43ea32,Object[_0x188a8f(0x415)](_0x38150a[_0x188a8f(0x246)])[_0x188a8f(0x1ba)](([,_0x3ba8e1])=>{var _0x4b9836=_0x188a8f;const _0x11891a=_0x3ba8e1[_0x4b9836(0x362)],_0x155754=_0x5130df['encode'](_0xaa15d3(_0x11891a));_0x3ba8e1[_0x4b9836(0x362)]=_0x155754;});}return _0x48065a;}async[_0x4c3b0f(0x2a1)](_0x2049ca,_0x40ade7){var _0x4c9b65=_0x4c3b0f;const {unitID:_0x2ced8f,type:_0x3b4175,blockID:_0x44ceaa}=_0x40ade7,_0x8c292=this[_0x4c9b65(0x270)]()+'/'+_0x3b4175+_0x4c9b65(0x2b5)+_0x2ced8f+_0x4c9b65(0x286)+_0x44ceaa;return(await this['_httpService'][_0x4c9b65(0x42b)](_0x8c292))[_0x4c9b65(0x1fc)];}async[_0x4c3b0f(0x242)](_0x4a2920,_0x84eeb5){var _0x437c33=_0x4c3b0f;const {unitID:_0x46e797,type:_0x96b739,blockID:_0x422896}=_0x84eeb5,_0x407eda=this[_0x437c33(0x270)]()+_0x437c33(0x286)+_0x96b739+_0x437c33(0x2b5)+_0x46e797+_0x437c33(0x286)+_0x422896;return(await this[_0x437c33(0x447)][_0x437c33(0x42b)](_0x407eda))[_0x437c33(0x1fc)];}async[_0x4c3b0f(0x1bf)](_0x116a43,_0x28e5f6){var _0x4aa8d6=_0x4c3b0f;const {unitID:_0x2eb08b,type:_0x250da2,from:_0xf78a75,to:_0x49a0b0}=_0x28e5f6,_0x6c68d5=this[_0x4aa8d6(0x270)]()+'/'+_0x250da2+_0x4aa8d6(0x2b5)+_0x2eb08b+_0x4aa8d6(0x1fe)+_0xf78a75+_0x4aa8d6(0x205)+_0x49a0b0;return(await this[_0x4aa8d6(0x447)][_0x4aa8d6(0x42b)](_0x6c68d5))[_0x4aa8d6(0x1fc)];}[_0x4c3b0f(0x1f5)](){var _0x1daf31=_0x4c3b0f,_0x14746d;return(_0x14746d=this[_0x1daf31(0x1b8)][_0x1daf31(0x207)](Sn))!=null?_0x14746d:this[_0x1daf31(0x270)]();}['_getAPIPrefix'](){var _0x4b6506=_0x4c3b0f,_0x496ada,_0x2f3aca;const _0x46897a=this[_0x4b6506(0x1b8)][_0x4b6506(0x207)](mn),_0x1530b4=this['_configService'][_0x4b6506(0x207)](q);return(_0x2f3aca=(_0x496ada=_0x1530b4==null?void 0x0:_0x1530b4['snapshotServerUrl'])!=null?_0x496ada:_0x46897a)!=null?_0x2f3aca:gn;}async[_0x4c3b0f(0x1fb)](_0x2ca063,_0xc827d6){var _0x2b2643=_0x4c3b0f;const _0x44a667=_0x2b2643(0x3b9)+_0xc827d6['type']+_0x2b2643(0x2b5)+_0xc827d6[_0x2b2643(0x285)]+'/resources';return(await this[_0x2b2643(0x447)][_0x2b2643(0x42b)](_0x44a667,{'params':{'resourceId':JSON[_0x2b2643(0x497)](_0xc827d6['resourceIDs'])}}))['body'];}[_0x4c3b0f(0x318)](){var _0x16800f=_0x4c3b0f;throw new Error(_0x16800f(0x39c));}[_0x4c3b0f(0x2ce)](){var _0x4e74a2=_0x4c3b0f;throw new Error(_0x4e74a2(0x39c));}[_0x4c3b0f(0x46d)](){var _0x50987e=_0x4c3b0f;throw new Error(_0x50987e(0x39c));}[_0x4c3b0f(0x1b5)](){var _0x3ea6b6=_0x4c3b0f;throw new Error(_0x3ea6b6(0x39c));}[_0x4c3b0f(0x30e)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}};Nt=fr([_i(0x0,_0x5d9548),_i(0x1,_0xd5eff8(_0x279f52))],Nt);var vr=Object[_0x4c3b0f(0x304)],pr=(_0x21aa56,_0x4ec000,_0x5ee2fc,_0x4cdecc)=>{for(var _0x2f4b2f=_0x4cdecc>0x1?void 0x0:_0x4cdecc?vr(_0x4ec000,_0x5ee2fc):_0x4ec000,_0x272a5f=_0x21aa56['length']-0x1,_0x4ce99c;_0x272a5f>=0x0;_0x272a5f--)(_0x4ce99c=_0x21aa56[_0x272a5f])&&(_0x2f4b2f=_0x4ce99c(_0x2f4b2f)||_0x2f4b2f);return _0x2f4b2f;},Pe=(_0x90c30a,_0x3bd7e5)=>(_0xcb01e1,_0x45182e)=>_0x3bd7e5(_0xcb01e1,_0x45182e,_0x90c30a);let Dt=class extends _0x3a61bd{constructor(_0xb34114,_0x2c43b1,_0xeb93dd,_0x4bef0f,_0x2929f2){var _0x1f1363=_0x4c3b0f;super(_0xb34114,_0x2c43b1,_0xeb93dd),this['_transformService']=_0x4bef0f,this[_0x1f1363(0x23f)]=_0x2929f2;}['transformUndoRedo'](_0x146330,_0x4156a5){var _0xea95fd=_0x4c3b0f;const _0x5556bc=this[_0xea95fd(0x481)](_0x146330);if(_0x5556bc)try{const _0x4948bd=this[_0xea95fd(0x3c1)](_0x5556bc,_0x4156a5);this[_0xea95fd(0x445)](_0x146330,_0x4948bd);}catch(_0xf1f0fd){this['_logService']['error'](_0xea95fd(0x38d),_0xf1f0fd),this['_clearUndo'](_0x146330);}const _0x2d2e37=this[_0xea95fd(0x248)](_0x146330);if(_0x2d2e37)try{const _0x516397=this[_0xea95fd(0x3c1)](_0x2d2e37,_0x4156a5);this[_0xea95fd(0x35a)](_0x146330,_0x516397);}catch(_0x2f7333){this[_0xea95fd(0x23f)][_0xea95fd(0x1ab)](_0x2f7333),this['_clearRedo'](_0x146330);}}[_0x4c3b0f(0x26b)](_0x2e941e){var _0x49b9a8=_0x4c3b0f;const _0x6a39c=this[_0x49b9a8(0x481)](_0x2e941e);_0x6a39c&&(_0x6a39c['length']=0x0,this['_updateStatus']());}[_0x4c3b0f(0x3a7)](_0x538261){var _0x4824bf=_0x4c3b0f;const _0x24dcd3=this[_0x4824bf(0x248)](_0x538261);_0x24dcd3&&(_0x24dcd3[_0x4824bf(0x406)]=0x0,this['_updateStatus']());}[_0x4c3b0f(0x445)](_0x51c5aa,_0x15f949){var _0x259b1c=_0x4c3b0f;this[_0x259b1c(0x375)][_0x259b1c(0x44e)](_0x51c5aa,_0x15f949),this[_0x259b1c(0x1ca)]();}['_substituteRedoStack'](_0x25d2e0,_0x3aee1a){var _0x46f333=_0x4c3b0f;this[_0x46f333(0x45a)][_0x46f333(0x44e)](_0x25d2e0,_0x3aee1a),this['_updateStatus']();}['_transformStack'](_0x4d4edf,_0x3ab62e){var _0x2fa3af=_0x4c3b0f;const _0x509df4=[];let _0x59fe46=_0x3ab62e,_0x3f0eba=_0x3ab62e;for(let _0x5850b7=_0x4d4edf[_0x2fa3af(0x406)]-0x1;_0x5850b7>=0x0;_0x5850b7--){const {unitID:_0x2f10f6,undoMutations:_0x22eaa2,redoMutations:_0x5edf20}=_0x4d4edf[_0x5850b7],_0x34e8da=this[_0x2fa3af(0x47d)][_0x2fa3af(0x47c)](_0x59fe46,_0x22eaa2),_0xbe502b=this[_0x2fa3af(0x47d)]['transformMutationsWithChangeset'](_0x3f0eba,_0x5edf20);if(_0x249585(_0x34e8da)||_0x249585(_0xbe502b)){this[_0x2fa3af(0x23f)][_0x2fa3af(0x1ab)](_0x2fa3af(0x38d),_0x2fa3af(0x3b3),_0x34e8da,_0xbe502b);break;}_0x59fe46=_0x34e8da['c1Prime'],_0x3f0eba=_0xbe502b[_0x2fa3af(0x2c6)],_0x509df4['push']({'unitID':_0x2f10f6,'undoMutations':_0x34e8da['m2Prime'],'redoMutations':_0xbe502b['m2Prime']});}return _0x509df4[_0x2fa3af(0x31c)]();}};Dt=pr([Pe(0x0,_0x5f561f),Pe(0x1,_0x118563),Pe(0x2,_0x1b64b4),Pe(0x3,_0x599fa8),Pe(0x4,_0x269a14)],Dt);var mr=Object[_0x4c3b0f(0x427)],gr=Object[_0x4c3b0f(0x304)],Sr=(_0x4cf945,_0x41befe,_0x56be89)=>_0x41befe in _0x4cf945?mr(_0x4cf945,_0x41befe,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x56be89}):_0x4cf945[_0x41befe]=_0x56be89,Er=(_0x369f11,_0x6d9289,_0x3b936e,_0x1b9b10)=>{var _0x413dcf=_0x4c3b0f;for(var _0x17737c=_0x1b9b10>0x1?void 0x0:_0x1b9b10?gr(_0x6d9289,_0x3b936e):_0x6d9289,_0x1af200=_0x369f11[_0x413dcf(0x406)]-0x1,_0x538e96;_0x1af200>=0x0;_0x1af200--)(_0x538e96=_0x369f11[_0x1af200])&&(_0x17737c=_0x538e96(_0x17737c)||_0x17737c);return _0x17737c;},St=(_0x2ae284,_0x48aad0)=>(_0x56792b,_0xb1f6ec)=>_0x48aad0(_0x56792b,_0xb1f6ec,_0x2ae284),Ir=(_0x5e6870,_0x516e75,_0x43fd4f)=>Sr(_0x5e6870,_0x516e75+'',_0x43fd4f);const Tr='UNIVER_COLLABORATION_CLIENT_PLUGIN';let Ut=class extends _0x157ebd{constructor(_0x35b5e8,_0x40f284,_0x3fb2d6,_0x9d00bb){var _0x36d20=_0x4c3b0f;super(),N(this,_0x36d20(0x347)),(this[_0x36d20(0x23f)]=_0x40f284,this[_0x36d20(0x3df)]=_0x3fb2d6,this[_0x36d20(0x1b8)]=_0x9d00bb);const {..._0x1e399b}=_0x4d73f8({},wn,_0x35b5e8);if(!_0x1e399b['socketService'])throw new Error(_0x36d20(0x38a));this[_0x36d20(0x347)]=_0x1e399b,this[_0x36d20(0x1b8)]['setConfig'](q,_0x1e399b);}[_0x4c3b0f(0x472)](){var _0x3cb79d=_0x4c3b0f;this['_registerDependencies'](),this[_0x3cb79d(0x297)]();}['_registerDependencies'](){var _0x284ead=_0x4c3b0f,_0x228bc1,_0x255e1f;this[_0x284ead(0x3df)]['has'](_0x5056c7)&&this[_0x284ead(0x23f)][_0x284ead(0x1ab)](_0x284ead(0x3a9),_0x284ead(0x321));const _0x2d47ee=_0x387525([[_0x5056c7,{'useClass':Dt}],[xe],[Le],[it],[rt],[at],[Ti],[ot],[pe],[bt],[Ii,{'useClass':this[_0x284ead(0x347)]['socketService']}],[_0x4d9a76,{'useClass':Nt}],[_0x278ef7,{'useClass':Rt}],[_0x2eaf0f,{'useClass':Ot}],[_0x5a837a,{'useClass':yt}],[st],[Ct]],(_0x228bc1=this[_0x284ead(0x347)])==null?void 0x0:_0x228bc1[_0x284ead(0x3ca)]);if(!((_0x255e1f=this[_0x284ead(0x347)])!=null&&_0x255e1f['enableSingleActiveInstanceLock'])){const _0x554634=_0x2d47ee['findIndex'](([_0x403570])=>_0x403570===ht);_0x554634!==-0x1&&_0x2d47ee[_0x284ead(0x46a)](_0x554634,0x1);}_0x2ef21f(this['_injector'],_0x2d47ee);}['_initDependencies'](){var _0x319744=_0x4c3b0f,_0x4b629d,_0x6abb8e,_0x2ef3e0;this['_injector'][_0x319744(0x42b)](_0x279f52)['registerHTTPInterceptor']({'priority':0x14,'interceptor':_0x257ea9({'maxParallel':0x6})}),(_0x4b629d=this['_config'])!=null&&_0x4b629d[_0x319744(0x3f4)]||(_0x6abb8e=this[_0x319744(0x3df)][_0x319744(0x42b)](J,_0x415dad[_0x319744(0x1af)]))==null||_0x6abb8e['disableLocalCache'](),(_0x2ef3e0=this['_config'])!=null&&_0x2ef3e0[_0x319744(0x26d)]&&_0x589c37(this[_0x319744(0x3df)],[[rt]]),_0x589c37(this[_0x319744(0x3df)],[[at],[st],[ot]]);}};Ir(Ut,_0x4c3b0f(0x40f),Tr),Ut=Er([_0xb60319(_0x2ac2d5,_0x357088),St(0x1,_0x269a14),St(0x2,_0xd5eff8(_0x3fbbf1)),St(0x3,_0x5d9548)],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,xe 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,xr 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,Mr 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,xn as serializeCombRequest};
|
1
|
+
var _0x48c474=_0x2631;(function(_0x28611d,_0xb169fd){var _0x428d69=_0x2631,_0x361bdf=_0x28611d();while(!![]){try{var _0x328693=-parseInt(_0x428d69(0x379))/0x1*(parseInt(_0x428d69(0x297))/0x2)+-parseInt(_0x428d69(0x391))/0x3*(parseInt(_0x428d69(0x19c))/0x4)+-parseInt(_0x428d69(0x22f))/0x5+parseInt(_0x428d69(0x1cb))/0x6+parseInt(_0x428d69(0x180))/0x7*(-parseInt(_0x428d69(0x1be))/0x8)+-parseInt(_0x428d69(0x309))/0x9*(parseInt(_0x428d69(0x2f4))/0xa)+-parseInt(_0x428d69(0x3fc))/0xb*(-parseInt(_0x428d69(0x3df))/0xc);if(_0x328693===_0xb169fd)break;else _0x361bdf['push'](_0x361bdf['shift']());}catch(_0x1dd62d){_0x361bdf['push'](_0x361bdf['shift']());}}}(_0x2c56,0x83c66));var wi=Object[_0x48c474(0x2f1)],Pi=(_0x2167d4,_0x2ea44b,_0x16f3fd)=>_0x2ea44b in _0x2167d4?wi(_0x2167d4,_0x2ea44b,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x16f3fd}):_0x2167d4[_0x2ea44b]=_0x16f3fd,N=(_0x1067bb,_0x384712,_0x4af71a)=>Pi(_0x1067bb,typeof _0x384712!=_0x48c474(0x23f)?_0x384712+'':_0x384712,_0x4af71a);import{createIdentifier as _0x1e3cb3,Inject as _0x580c65,Injector as _0x18ea22,IConfigService as _0x288252,ILogService as _0x2d643c,Disposable as _0x1777b1,DisposableCollection as _0x2287a9,toDisposable as _0x1a2070,IUniverInstanceService as _0x2ac2f4,UserManagerService as _0x920310,UniverInstanceType as _0x367653,LocaleService as _0x24f520,Optional as _0x520d75,RxDisposable as _0x4bb33c,Tools as _0x3999ac,Rectangle as _0x2a6436,ICommandService as _0x55c1d0,JSONX as _0x33cef4,CommandType as _0x303b53,IUndoRedoService as _0x46a796,IPermissionService as _0x50ac03,sequenceExecute as _0x2f46c3,Workbook as _0x4e7126,MentionType as _0x2e2958,isInternalEditorID as _0x34dfe5,LocalUndoRedoService as _0x84bd68,IContextService as _0x3c7a3f,DependentOn as _0x54cc81,Plugin as _0x272dfc,merge as _0x226d51,mergeOverrideWithDependencies as _0x1157ad,IAuthzIoService as _0x3ddf4c,IMentionIOService as _0xdebaca,registerDependencies as _0x3548a1,Quantity as _0x592450,touchDependencies as _0x17ae7a}from'@univerjs/core';import{Subject as _0xbcec6b,merge as _0x1ca7ea,of as _0x357fba,BehaviorSubject as _0xbef376,takeUntil as _0x4a71b8,ReplaySubject as _0x149b25,take as _0x33e952,map as _0x3546f3,shareReplay as _0x2a8c53,firstValueFrom as _0xe99ee5,concatMap as _0x59e312}from'rxjs';import{map as _0x1eccd9,take as _0x136075,filter as _0x124940,delay as _0x26fbc0,takeUntil as _0x21cd85}from'rxjs/operators';import{CollaborationEvent as _0x45c809,ISnapshotServerService as _0x3ebdd6,parseChangesetToProtocol as _0x23d40c,ITransformService as _0x3d5c53,isTransformMutationsWithChangesetSuccess as _0x4c685f,mapDocumentTypeToUniverType as _0x15eced,RevisionService as _0x3322f2,isTransformChangesetsSuccess as _0xdd34c9,CompressMutationService as _0x150151,parseProtocolChangeset as _0x4757bd,SnapshotService as _0x5cfb32,textEncoder as _0x2630f3,b64DecodeUnicode as _0x5e46e5,isTransformMutationsWithChangesetFailure as _0x4f08fd,UniverCollaborationPlugin as _0xe5aafb}from'@univerjs-pro/collaboration';import{HTTPService as _0x494fcc,ISocketService as _0x5d05a0,MergeInterceptorFactory as _0x34354f,HTTPRequest as _0x44f3c4,UniverNetworkPlugin as _0x217e8b,ThresholdInterceptorFactory as _0x32d4f1}from'@univerjs/network';import{ITelemetryService as _0x328cd3}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x56aca0}from'@univerjs/docs';import{SheetsSelectionsService as _0x261f4b,SetSelectionsOperation as _0x49fea5,InsertSheetMutation as _0x334673,EmptyMutation as _0x2522f7,WorkbookEditablePermission as _0x26111c,SheetPermissionInitController as _0x18bf19}from'@univerjs/sheets';import{ImageSourceType as _0x22435a,ImageUploadStatusType as _0x3bf11,IImageIoService as _0x364080}from'@univerjs/drawing';import{getGlobalObject as _0x5824af}from'@univerjs-pro/license';const mn=_0x48c474(0x3da),gn=_0x48c474(0x152),Sn=_0x48c474(0x386),Lr=_0x48c474(0x32e),En=0x7d0,In=_0x48c474(0x3dc),Tn=_0x48c474(0x168),xr=_0x48c474(0x3fd),Cn=_0x48c474(0x1f0),Rn=0x7530,mi='HEARTBEAT_TIMEOUT',gi=0x4e20,bn=0x4e20,On=_0x48c474(0x321),yn=0x3,Mr=_0x48c474(0x2d4),kr=0x3e8,Nn=_0x48c474(0x14f),Dn=_0x48c474(0x3a5),Un=_0x48c474(0x371),An='/universer-api/oidc/authpage',$r='REMOTE_UNISCRIPT_EXECUTION_ENDPOINT',Hr=_0x48c474(0x422);var Si=(_0x19d5f3=>(_0x19d5f3[_0x19d5f3[_0x48c474(0x1df)]=0x0]=_0x48c474(0x1df),_0x19d5f3[_0x19d5f3['OK']=0x1]='OK',_0x19d5f3[_0x19d5f3[_0x48c474(0x246)]=0x2]='INTERNAL_ERROR',_0x19d5f3[_0x19d5f3['PERMISSION_DENIED']=0x3]=_0x48c474(0x1f1),_0x19d5f3[_0x19d5f3[_0x48c474(0x1b9)]=0x4]=_0x48c474(0x1b9),_0x19d5f3[_0x19d5f3['UNAUTHENTICATED']=0x5]=_0x48c474(0x336),_0x19d5f3[_0x19d5f3['ALREADY_EXISTS']=0x6]=_0x48c474(0x1e2),_0x19d5f3[_0x19d5f3[_0x48c474(0x411)]=0x7]=_0x48c474(0x411),_0x19d5f3[_0x19d5f3['TOO_MANY_REQUESTS']=0x8]=_0x48c474(0x161),_0x19d5f3[_0x19d5f3[_0x48c474(0x2a6)]=0x9]=_0x48c474(0x2a6),_0x19d5f3[_0x19d5f3['LOGIN_FAILED']=0xa]=_0x48c474(0x404),_0x19d5f3[_0x19d5f3[_0x48c474(0x259)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x19d5f3[_0x19d5f3[_0x48c474(0x1ef)]=0x1771]=_0x48c474(0x1ef),_0x19d5f3[_0x19d5f3[_0x48c474(0x16b)]=0x1772]=_0x48c474(0x16b),_0x19d5f3[_0x19d5f3['ENSURE_SNAPSHOT_EXECUTION']=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x19d5f3[_0x19d5f3[_0x48c474(0x2ed)]=0x1b59]='APPLY_REJECT',_0x19d5f3[_0x19d5f3[_0x48c474(0x295)]=0x1b5a]=_0x48c474(0x295),_0x19d5f3[_0x19d5f3[_0x48c474(0x2cf)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x19d5f3[_0x19d5f3[_0x48c474(0x1ed)]=0x1b5c]=_0x48c474(0x1ed),_0x19d5f3[_0x19d5f3[_0x48c474(0x249)]=0x1b5d]=_0x48c474(0x249),_0x19d5f3[_0x19d5f3['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x48c474(0x187),_0x19d5f3[_0x19d5f3['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x19d5f3[_0x19d5f3['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x19d5f3[_0x19d5f3[_0x48c474(0x1d5)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x19d5f3[_0x19d5f3['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x48c474(0x31b),_0x19d5f3[_0x19d5f3['LICENSE_DISTRO_REJECTED']=0x232d]='LICENSE_DISTRO_REJECTED',_0x19d5f3[_0x19d5f3[_0x48c474(0x12a)]=0x2711]=_0x48c474(0x12a),_0x19d5f3[_0x19d5f3[_0x48c474(0x275)]=0x2712]=_0x48c474(0x275),_0x19d5f3[_0x19d5f3[_0x48c474(0x331)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x19d5f3[_0x19d5f3[_0x48c474(0x31e)]=0x2714]=_0x48c474(0x31e),_0x19d5f3[_0x19d5f3[_0x48c474(0x3d2)]=0x271a]=_0x48c474(0x3d2),_0x19d5f3[_0x19d5f3[_0x48c474(0x11d)]=0x271b]=_0x48c474(0x11d),_0x19d5f3[_0x19d5f3[_0x48c474(0x3c0)]=0x2af9]=_0x48c474(0x3c0),_0x19d5f3[_0x19d5f3[_0x48c474(0x402)]=0x2ee1]=_0x48c474(0x402),_0x19d5f3[_0x19d5f3[_0x48c474(0x234)]=0x2ee2]=_0x48c474(0x234),_0x19d5f3[_0x19d5f3[_0x48c474(0x2d5)]=0x2ee3]=_0x48c474(0x2d5),_0x19d5f3[_0x19d5f3[_0x48c474(0x1a0)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x19d5f3[_0x19d5f3[_0x48c474(0x215)]=0x2ee5]=_0x48c474(0x215),_0x19d5f3[_0x19d5f3['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x48c474(0x403),_0x19d5f3[_0x19d5f3[_0x48c474(0x3a7)]=0x32ca]=_0x48c474(0x3a7),_0x19d5f3[_0x19d5f3[_0x48c474(0x3de)]=0x32cb]=_0x48c474(0x3de),_0x19d5f3[_0x19d5f3[_0x48c474(0x33f)]=-0x1]=_0x48c474(0x33f),_0x19d5f3))(Si||{}),Q=(_0x51c4ce=>(_0x51c4ce[_0x51c4ce[_0x48c474(0x1f5)]=0x0]=_0x48c474(0x1f5),_0x51c4ce[_0x51c4ce[_0x48c474(0x3d3)]=0x1]=_0x48c474(0x3d3),_0x51c4ce[_0x51c4ce[_0x48c474(0x20c)]=0x2]=_0x48c474(0x20c),_0x51c4ce[_0x51c4ce[_0x48c474(0x1fa)]=0x3]='UNIVER_SLIDE',_0x51c4ce[_0x51c4ce[_0x48c474(0x224)]=0x4]='UNIVER_PROJECT',_0x51c4ce[_0x51c4ce[_0x48c474(0x33f)]=-0x1]='UNRECOGNIZED',_0x51c4ce))(Q||{}),F=(_0x3f8a88=>(_0x3f8a88[_0x3f8a88[_0x48c474(0x3b2)]=0x0]='UNKNOWN_CMD',_0x3f8a88[_0x3f8a88['HELLO']=0x1]=_0x48c474(0x1f2),_0x3f8a88[_0x3f8a88[_0x48c474(0x2fd)]=0x2]=_0x48c474(0x2fd),_0x3f8a88[_0x3f8a88['LEAVE']=0x3]=_0x48c474(0x305),_0x3f8a88[_0x3f8a88[_0x48c474(0x375)]=0x4]='INGEST',_0x3f8a88[_0x3f8a88[_0x48c474(0x254)]=0x5]=_0x48c474(0x254),_0x3f8a88[_0x3f8a88['RECV']=0x6]=_0x48c474(0x16a),_0x3f8a88[_0x3f8a88[_0x48c474(0x33f)]=-0x1]=_0x48c474(0x33f),_0x3f8a88))(F||{}),ge=(_0x3eb7fa=>(_0x3eb7fa[_0x3eb7fa[_0x48c474(0x148)]=0x0]=_0x48c474(0x148),_0x3eb7fa[_0x3eb7fa['OK']=0x1]='OK',_0x3eb7fa[_0x3eb7fa[_0x48c474(0x41e)]=0x2]=_0x48c474(0x41e),_0x3eb7fa[_0x3eb7fa[_0x48c474(0x31f)]=0x3e9]='JOIN_ROOM_FULL',_0x3eb7fa[_0x3eb7fa[_0x48c474(0x1b6)]=0x3ea]=_0x48c474(0x1b6),_0x3eb7fa[_0x3eb7fa[_0x48c474(0x29a)]=0x3eb]=_0x48c474(0x29a),_0x3eb7fa[_0x3eb7fa[_0x48c474(0x35d)]=0x3ec]=_0x48c474(0x35d),_0x3eb7fa[_0x3eb7fa[_0x48c474(0x33f)]=-0x1]=_0x48c474(0x33f),_0x3eb7fa))(ge||{}),Ei=(_0x4ca1a6=>(_0x4ca1a6[_0x4ca1a6['Undefined']=0x0]=_0x48c474(0x196),_0x4ca1a6[_0x4ca1a6['HttpImport']=0x1]=_0x48c474(0x35f),_0x4ca1a6[_0x4ca1a6[_0x48c474(0x14a)]=0x2]=_0x48c474(0x14a),_0x4ca1a6[_0x4ca1a6[_0x48c474(0x13f)]=0x3]=_0x48c474(0x13f),_0x4ca1a6[_0x4ca1a6[_0x48c474(0x1bf)]=0x4]=_0x48c474(0x1bf),_0x4ca1a6[_0x4ca1a6[_0x48c474(0x189)]=0x5]=_0x48c474(0x189),_0x4ca1a6[_0x4ca1a6[_0x48c474(0x33f)]=-0x1]=_0x48c474(0x33f),_0x4ca1a6))(Ei||{});const q='collaboration-client.config',wn={};var re=(_0x48c2e1=>(_0x48c2e1[_0x48c474(0x2ff)]='OTHER_CLIENT_EDITING',_0x48c2e1[_0x48c474(0x1f1)]=_0x48c474(0x1f1),_0x48c2e1[_0x48c474(0x209)]='CONFLICT',_0x48c2e1['CLOSE_ROOM']=_0x48c474(0x1ae),_0x48c2e1[_0x48c474(0x3d1)]=_0x48c474(0x3d1),_0x48c2e1[_0x48c474(0x36c)]=_0x48c474(0x36c),_0x48c2e1['SOCKET_FAILED']='SOCKET_FAILED',_0x48c2e1[_0x48c474(0x3c2)]=_0x48c474(0x3c2),_0x48c2e1))(re||{});class pe{constructor(){var _0x554737=_0x48c474;N(this,_0x554737(0x1cd),new _0xbcec6b()),N(this,_0x554737(0x1f4),this[_0x554737(0x1cd)][_0x554737(0x3dd)]());}[_0x48c474(0x1c9)](_0x5195fa){var _0x1808bd=_0x48c474;this[_0x1808bd(0x1cd)][_0x1808bd(0x3f9)](_0x5195fa);}}const Pn=_0x1e3cb3(_0x48c474(0x120));function Ln(_0x178538){var _0x728df4=_0x48c474,_0x4d7259,_0x12a6ee,_0x153e06,_0x50eaa0,_0x2ca5c8;const _0x47e60f=_0x178538[_0x728df4(0x2f6)],_0x8776ea=JSON[_0x728df4(0x40d)](_0x47e60f);switch(_0x8776ea[_0x728df4(0x2f5)]){case F[_0x728df4(0x254)]:case F[_0x728df4(0x1f2)]:{const _0x382b35=_0x8776ea[_0x728df4(0x2f9)];return{..._0x8776ea,'data':_0x382b35,'cmd':_0x8776ea[_0x728df4(0x2f5)]};}case F['JOIN']:{const _0x52d91=_0x8776ea[_0x728df4(0x39b)];return{..._0x8776ea,'data':_0x52d91,'cmd':_0x8776ea['cmd']};}case F[_0x728df4(0x16a)]:{const _0x2e316e=_0x8776ea[_0x728df4(0x159)];switch(_0x2e316e[_0x728df4(0x2f7)]){case _0x45c809[_0x728df4(0x1e4)]:return{..._0x8776ea,'data':{..._0x2e316e,'data':(_0x4d7259=_0x2e316e[_0x728df4(0x34c)])==null?void 0x0:_0x4d7259['cs']},'cmd':_0x8776ea[_0x728df4(0x2f5)]};case _0x45c809['CHANGESET_ACK']:return{..._0x8776ea,'data':{..._0x2e316e,'data':(_0x12a6ee=_0x2e316e[_0x728df4(0x1aa)])==null?void 0x0:_0x12a6ee['cs']},'cmd':_0x8776ea[_0x728df4(0x2f5)]};case _0x45c809[_0x728df4(0x177)]:return{..._0x8776ea,'data':{..._0x2e316e,'data':(_0x153e06=_0x2e316e[_0x728df4(0x399)])==null?void 0x0:_0x153e06['cs']},'cmd':_0x8776ea[_0x728df4(0x2f5)]};case _0x45c809['CHANGESET_REJ']:return{..._0x8776ea,'data':{..._0x2e316e,'data':(_0x50eaa0=_0x2e316e[_0x728df4(0x1c8)])==null?void 0x0:_0x50eaa0['cs']},'cmd':_0x8776ea[_0x728df4(0x2f5)]};case _0x45c809[_0x728df4(0x3e4)]:return{..._0x8776ea,'data':{..._0x2e316e,'data':(_0x2ca5c8=_0x2e316e[_0x728df4(0x15e)])==null?void 0x0:_0x2ca5c8['cs']},'cmd':_0x8776ea[_0x728df4(0x2f5)]};case _0x45c809[_0x728df4(0x193)]:return{..._0x8776ea,'data':{..._0x2e316e,'data':_0x2e316e[_0x728df4(0x342)]},'cmd':_0x8776ea[_0x728df4(0x2f5)]};case _0x45c809[_0x728df4(0x409)]:return{..._0x8776ea,'data':{..._0x2e316e,'data':_0x2e316e[_0x728df4(0x218)]},'cmd':_0x8776ea[_0x728df4(0x2f5)]};case _0x45c809[_0x728df4(0x212)]:return{..._0x8776ea,'data':{..._0x2e316e,'data':_0x2e316e[_0x728df4(0x2aa)]},'cmd':_0x8776ea[_0x728df4(0x2f5)]};case _0x45c809[_0x728df4(0x167)]:return{..._0x8776ea,'data':{..._0x2e316e,'data':_0x2e316e[_0x728df4(0x26e)]},'cmd':_0x8776ea[_0x728df4(0x2f5)]};case _0x45c809['LIVESHARE_FETCH_OPERATIONS']:case _0x45c809['LIVESHARE_OPERATION']:return{..._0x8776ea,'data':{..._0x2e316e,'data':_0x2e316e[_0x728df4(0x3bd)]},'cmd':_0x8776ea[_0x728df4(0x2f5)]};case _0x45c809[_0x728df4(0x220)]:return{..._0x8776ea,'data':{..._0x2e316e,'data':_0x2e316e[_0x728df4(0x26e)]},'cmd':_0x8776ea['cmd']};case _0x45c809[_0x728df4(0x3cd)]:return{..._0x8776ea,'data':_0x2e316e,'cmd':_0x8776ea[_0x728df4(0x2f5)]};case _0x45c809[_0x728df4(0x1bb)]:return{..._0x8776ea,'data':{..._0x2e316e,'data':_0x2e316e[_0x728df4(0x3ef)]},'cmd':_0x8776ea['cmd']};case _0x45c809[_0x728df4(0x12e)]:return{..._0x8776ea,'data':{..._0x2e316e,'data':_0x2e316e[_0x728df4(0x184)]},'cmd':_0x8776ea[_0x728df4(0x2f5)]};case _0x45c809['SHOULD_CLOSE_CONN']:return{..._0x8776ea,'data':{..._0x2e316e,'data':_0x2e316e[_0x728df4(0x367)]},'cmd':_0x8776ea[_0x728df4(0x2f5)]};case _0x45c809[_0x728df4(0x269)]:return{..._0x8776ea,'data':{..._0x2e316e,'data':_0x2e316e[_0x728df4(0x130)]},'cmd':_0x8776ea['cmd']};default:return _0x8776ea;}}default:return _0x8776ea;}}function xn(_0x1cb613){var _0x3e9ffd=_0x48c474;switch(_0x1cb613['cmd']){case F[_0x3e9ffd(0x254)]:case F[_0x3e9ffd(0x1f2)]:return JSON[_0x3e9ffd(0x13e)]({'cmd':_0x1cb613[_0x3e9ffd(0x2f5)],'routeKey':_0x1cb613['routeKey']});case F[_0x3e9ffd(0x375)]:{let _0x14615f;switch(_0x1cb613[_0x3e9ffd(0x2f6)]['eventID']){case _0x45c809[_0x3e9ffd(0x193)]:{_0x14615f={'eventID':_0x45c809[_0x3e9ffd(0x193)],'updateCursorEvent':_0x1cb613[_0x3e9ffd(0x2f6)][_0x3e9ffd(0x2f6)]};break;}case _0x45c809[_0x3e9ffd(0x212)]:{_0x14615f={'eventID':_0x45c809[_0x3e9ffd(0x212)],'leaveEvent':_0x1cb613[_0x3e9ffd(0x2f6)][_0x3e9ffd(0x2f6)]};break;}case _0x45c809[_0x3e9ffd(0x409)]:{_0x14615f={'eventID':_0x45c809[_0x3e9ffd(0x409)],'joinEvent':_0x1cb613[_0x3e9ffd(0x2f6)][_0x3e9ffd(0x2f6)]};break;}case _0x45c809[_0x3e9ffd(0x167)]:{_0x14615f={'eventID':_0x45c809[_0x3e9ffd(0x167)],'liveShareNewHost':_0x1cb613[_0x3e9ffd(0x2f6)][_0x3e9ffd(0x2f6)]};break;}case _0x45c809[_0x3e9ffd(0x30e)]:{_0x14615f={'eventID':_0x45c809['LIVESHARE_OPERATION'],'liveShareOperation':_0x1cb613['data']['data']};break;}case _0x45c809[_0x3e9ffd(0x220)]:{_0x14615f={'eventID':_0x45c809[_0x3e9ffd(0x220)],'liveShareTerminate':_0x1cb613[_0x3e9ffd(0x2f6)][_0x3e9ffd(0x2f6)]};break;}case _0x45c809[_0x3e9ffd(0x206)]:{_0x14615f={'eventID':_0x45c809[_0x3e9ffd(0x206)],'liveShareRequestHost':_0x1cb613['data'][_0x3e9ffd(0x2f6)]};break;}case _0x45c809[_0x3e9ffd(0x2be)]:{_0x14615f={'eventID':_0x45c809[_0x3e9ffd(0x2be)]};break;}default:_0x14615f={'eventID':_0x1cb613[_0x3e9ffd(0x2f6)][_0x3e9ffd(0x2f7)]};}return JSON[_0x3e9ffd(0x13e)]({'cmd':_0x1cb613[_0x3e9ffd(0x2f5)],'routeKey':_0x1cb613['routeKey'],'collaMsg':_0x14615f});}case F[_0x3e9ffd(0x2fd)]:return JSON[_0x3e9ffd(0x13e)]({'cmd':_0x1cb613[_0x3e9ffd(0x2f5)],'routeKey':_0x1cb613[_0x3e9ffd(0x14b)],'joinReq':_0x1cb613[_0x3e9ffd(0x2f6)]});case F['LEAVE']:return JSON[_0x3e9ffd(0x13e)]({'cmd':_0x1cb613[_0x3e9ffd(0x2f5)],'routeKey':_0x1cb613[_0x3e9ffd(0x14b)],'leaveReq':_0x1cb613['data']});default:throw new Error(_0x3e9ffd(0x2b2));}}var Mn=Object['getOwnPropertyDescriptor'],kn=(_0x2fec5b,_0x34a3d7,_0xa816c0,_0x4a9639)=>{var _0x43d791=_0x48c474;for(var _0xea41e1=_0x4a9639>0x1?void 0x0:_0x4a9639?Mn(_0x34a3d7,_0xa816c0):_0x34a3d7,_0x58acbf=_0x2fec5b[_0x43d791(0x2eb)]-0x1,_0x4f7974;_0x58acbf>=0x0;_0x58acbf--)(_0x4f7974=_0x2fec5b[_0x58acbf])&&(_0xea41e1=_0x4f7974(_0xea41e1)||_0xea41e1);return _0xea41e1;},Ae=(_0x1f91c0,_0x704646)=>(_0x311fea,_0x48bfc8)=>_0x704646(_0x311fea,_0x48bfc8,_0x1f91c0);const Ii=_0x1e3cb3('univer-pro.collaboration-client-socket-service');function $n(_0x1a63db,_0x436b1f,_0x5da72d){var _0x2a5845=_0x48c474;return _0x1a63db+'/'+_0x436b1f+'/unit/'+_0x5da72d+_0x2a5845(0x225);}let Gt=class extends _0x1777b1{constructor(_0x324dbe,_0x22f55f,_0x11f507,_0x4c3e34,_0x2b8b47){var _0x3f5413=_0x48c474;super(),this[_0x3f5413(0x241)]=_0x324dbe,this[_0x3f5413(0x1a5)]=_0x22f55f,this[_0x3f5413(0x370)]=_0x11f507,this[_0x3f5413(0x279)]=_0x4c3e34,this[_0x3f5413(0x24b)]=_0x2b8b47;}[_0x48c474(0x13d)](_0x2877ba){var _0x55092d=_0x48c474;const _0x48d2a4=this[_0x55092d(0x241)]['get'](_0x5d05a0);if(!_0x48d2a4)throw new Error(_0x55092d(0x214));const _0x1ecbce=_0x48d2a4[_0x55092d(0x213)](_0x2877ba);if(!_0x1ecbce)throw new Error(_0x55092d(0x2db));const _0xec1c9e=new _0x2287a9(),_0x21ce5c=new _0xbcec6b();_0xec1c9e[_0x55092d(0x230)](_0x1ecbce[_0x55092d(0x2a3)]['subscribe'](_0x153cd3=>_0x21ce5c[_0x55092d(0x3f9)](_0x153cd3))),_0xec1c9e[_0x55092d(0x230)](_0x1a2070(()=>_0x21ce5c[_0x55092d(0x1d9)]()));const _0x5da7c0=new _0xbcec6b();_0xec1c9e['add'](_0x1ecbce[_0x55092d(0x231)][_0x55092d(0x278)](_0x1ee704=>_0x5da7c0['next'](_0x1ee704))),_0xec1c9e['add'](_0x1a2070(()=>_0x5da7c0[_0x55092d(0x1d9)]()));const _0x110654=new _0xbcec6b();_0xec1c9e[_0x55092d(0x230)](_0x1ecbce[_0x55092d(0x267)]['subscribe'](_0x591fb0=>{const _0x4dd972=Ln(_0x591fb0);_0x110654['next'](_0x4dd972);})),_0xec1c9e['add'](_0x1a2070(()=>_0x110654[_0x55092d(0x1d9)]()));let _0x243024;const _0x3bf624=()=>{var _0x444fdb=_0x55092d;_0x5da7c0[_0x444fdb(0x3f9)](new Event(_0x444fdb(0x29c))),_0x21ce5c[_0x444fdb(0x3f9)](new Event('connection\x20error')),_0x243024[_0x444fdb(0x2ec)]();};return _0x243024={'memberID':'','close$':_0x21ce5c[_0x55092d(0x3dd)](),'error$':_0x5da7c0[_0x55092d(0x3dd)](),'open$':_0x1ecbce[_0x55092d(0x258)],'message$':_0x110654[_0x55092d(0x3dd)](),'send':_0x4bf534=>{var _0x8f0dc5=_0x55092d;if(_0x4bf534['cmd']===F[_0x8f0dc5(0x375)]){if(_0x4bf534[_0x8f0dc5(0x2f6)]['eventID']===_0x45c809[_0x8f0dc5(0x210)]){this[_0x8f0dc5(0x2ef)](_0x243024,_0x4bf534['data'])['catch'](_0x4d41a4=>{var _0x41977d=_0x8f0dc5;this[_0x41977d(0x279)][_0x41977d(0x123)](_0x4d41a4),_0x3bf624();});return;}if(_0x4bf534['data'][_0x8f0dc5(0x2f7)]===_0x45c809['FETCH_MISSING']){const _0x1f4071=_0x4bf534[_0x8f0dc5(0x2f6)];this['_fetchMissChangesets'](_0x1f4071)[_0x8f0dc5(0x23b)](_0x3cf576=>{var _0x1cb241=_0x8f0dc5;_0x110654[_0x1cb241(0x3f9)]({'cmd':F[_0x1cb241(0x16a)],'code':ge['OK'],'routeKey':_0x1f4071['data'][_0x1cb241(0x356)],'routeType':'','data':{'eventID':_0x45c809[_0x1cb241(0x348)],'data':{'changesets':_0x3cf576}}});})[_0x8f0dc5(0x18a)](_0x5cf3e7=>{var _0x5b2b34=_0x8f0dc5;this['_logService'][_0x5b2b34(0x123)](_0x5cf3e7),_0x3bf624();});return;}}_0x1ecbce[_0x8f0dc5(0x2e6)](xn(_0x4bf534));},'close':()=>{var _0x1b3da1=_0x55092d;_0x1ecbce[_0x1b3da1(0x2ec)](),_0xec1c9e['dispose']();}},_0x243024;}async[_0x48c474(0x2ef)](_0x1961a0,_0x58a206){var _0x15aa26=_0x48c474,_0x30a975,_0x531408;const {unitType:_0x527696,unitID:_0x5c4857,changeset:_0x205bfd}=_0x58a206[_0x15aa26(0x2f6)],_0x28e2f5={'unitID':_0x5c4857,'memberID':_0x1961a0[_0x15aa26(0x153)],'type':_0x527696,'changeset':_0x23d40c(_0x205bfd)},_0x21f59e=this[_0x15aa26(0x370)][_0x15aa26(0x299)](Nn),_0x3a51c7=this[_0x15aa26(0x370)][_0x15aa26(0x299)](q),_0x709799=$n((_0x531408=(_0x30a975=_0x3a51c7==null?void 0x0:_0x3a51c7[_0x15aa26(0x273)])!=null?_0x30a975:_0x21f59e)!=null?_0x531408:Dn,_0x527696,_0x5c4857);try{await this[_0x15aa26(0x1a5)][_0x15aa26(0x1b4)](_0x709799,{'body':_0x28e2f5});}catch(_0xb1d0dc){throw this[_0x15aa26(0x279)][_0x15aa26(0x123)](_0x15aa26(0x3d4),'submit\x20changeset\x20error!'),_0xb1d0dc;}}async[_0x48c474(0x312)](_0x5974ce){var _0x26c219=_0x48c474;const {unitID:_0x564d48,from:_0x6e7ce7,to:_0x37be2e,unitType:_0x760485}=_0x5974ce[_0x26c219(0x2f6)];return(await this[_0x26c219(0x24b)]['fetchMissingChangesets']({'metadata':void 0x0},{'unitID':_0x564d48,'type':_0x760485,'from':_0x6e7ce7,'to':_0x37be2e}))[_0x26c219(0x376)];}};function _0x2c56(){var _0x537d04=['GLOBAL_ROOMS_CNT_EXCEEDS','CHANGESET_REJ','HttpImport','[UniverCollaborationClientPlugin]','session.room-permission-denied','fetchMissingChangesets','avatar','_transformIMECache','toString','session.room-not-exists','shouldCloseConn','_remoteChangesetQueue','collaboration_new_changeset','synced','_decreaseWaiting','SOCKET_FAILED_RETRY','_state','algo','_data','_configService','LOGIN_URL_KEY','_getAPIPrefixPath','name','origin','INGEST','changesets','unitId','/object/','1RjLVNn','_socketService','format','sin','push','/-/object/list','[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.','_createSocket','_acknowledgedAwaitingChangeset','unitInfo$','updateMember','randomBytes','_candidateSocket','SNAPSHOT_URL_KEY','clone','getSheetBlock','ivSize','session.room-full','AES','executeCommand','apply','_createHmacHelper','pluginName','has','1342842dvbHcO','_nRounds','_stopTelemetryCollaborationNewChangeset','[OfflineState]:\x20received\x20acknowledgement.','enableAuthServer','includes','interceptor','_emitMembers','newCsEvent','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','joinRsp','saveImage','getWorkbookSelections','_transformService','_HTTPService','_telemetryService','_members','_lockTransition','ERROR_IMAGE','_localeService','/universer-api/comb','image/bmp','MOBILE_HAS_BEEN_BOUND','replace','failed\x20to\x20apply\x20missed\x20changesets!','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','_iv','[OfflineState]:\x20received\x20changeset.','textRanges','function','method','_initMergeInterceptor','_onFetchMissResult','UNKNOWN_CMD','_updateLocalCache','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','loginUrlKey','image/gif','setShowComponents','target','equals','CipherParams','default','liveShareOperation','offline','revision','PY_RUNTIME_SCRIPT_ERROR','_throwTelemetryCollaborationNewChangeset','SUBMIT_CHANGESET_TIMEOUT','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','_createHandler','byteLength','[CollaborationUndoRedoService]','pad','_toggleOffline','_resendTimeout','setWaitCount','People','_waitForHeartbeatResponse','MSG_FOR_ERROR','$super','entries','JOINING','JOIN_ROOM_FAILED','YUUMI_NO_CUBOID_FOR_QUESTION','UNIVER_DOC','[CollaborationSession]','online$','_revisionService','generateRandomId','/collaborator','forEach','SNAPSHOT_SERVER_URL_KEY','MUTATION','COLLAB_WEB_SOCKET_URL','asObservable','EMAIL_HAS_BEEN_BOUND','273948QIUgCN','Cipher','c2Prime','getMemberID','/unit/','CHANGESET_SHOULD_RETRY','_isPermissionRej','_listenToNetworkCondition','socket\x20close','loadOfflineData','_invKeySchedule','_commandService','unknown','fromCollab','pending','ceil','commentUpdateEvent','fetchMiss','loadDoc','[FetchMissState]','getTime','_onJoinRoomEvent','rev','transformChangesets','_scheduleCollaborationTimeoutTimer','_substituteUndoStack','next','pauseCollaboration','registerHTTPInterceptor','1463FRHTnI','/universer-api/user/session-ticket','userID','startsWith','loadUnit','onTransformState','INVITE_CODE_HAS_BEEN_UES','WECHAT_HAS_BEEN_BOUND','LOGIN_FAILED','ciphertext','encrypt','?size=','socketService','USERS_ENTER','_doReset','onRemoteRej','_prevBlock','parse','isPermissionRej','_loadSheet','_rescheduleHeartbeat','INVALID_ARGUMENT','getTypeOfUnitAdded$','_loadDoc','updateOfflineData','debug','every','POST','[SyncedState]:\x20received\x20acknowledgement.','mode','addImageSourceCache','url','_shouldReportTelemetry','key','FAIL','editing\x20status\x20changed\x20to','capture','_getUploadFileURL','/universer-api/uniscript','_transformStateCache','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','_instanceService','_commentUpdate$','splice','YUUMI_ASYNCIO_CANCELLED','/universer-api/authz','_config','univer-pro.collaboration-client.network-condition.service','_localCacheService','words','error','_key','headers','_clearScheduledTask','_getAPIPrefix','readAsDataURL','_initCloseConn','YUUMI_UNABLE_LOAD_URL','?url=','[DataLoaderService]','getCollabEntity','UPDATE_PERMISSION_OBJ','params','uniscriptRunEvent','_retryCount','UNIVER_COLLABORATION_CLIENT_PLUGIN','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','_createInitialStateImpl','floor','status$','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','editingUnit','_clearCollaborationTimeoutTimer','_transformRemoteChangesetByIMECache','image/png','incrementRevOfUnit','_doCreateSocket','stringify','UnitEmbedded','_onMessage','Utf8','transformSelections','uploadFileServerUrl','_onRemoteRejected','Failed\x20to\x20update\x20permission\x20point','_clearLocalCache','saveSnapshot','UNKNOWN_CODE','getCurrentUser','HttpExport','routeKey','toggleOffline','_joinRoom','Base64','COLLAB_SUBMIT_CHANGESET_URL','_onUserLeave','_executeRemoteChangeset','/universer-api/snapshot','memberID','code','objectType','_state$','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','kdf','collaMsg','PasswordBasedCipher','_tryEnsureSocket','OFFLINE','_getDownloadEndpointURL','csShouldRetryEvent','enableSingleActiveInstanceLock','Pkcs7','TOO_MANY_REQUESTS','m2Prime','_hasher','_imageSourceCache','_eventService','indexOf','LIVESHARE_NEW_HOST','ws://127.0.0.1:8000/universer-api/comb/connect','_onCombEvent','RECV','SNAPSHOT_HAS_BEEN_REMOVED','listCollaborators','_registerDependencies','_onUserJoin','SHA1','SUCCUSS','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','PERSON','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','_clearRetryConnectingTimer','_transformUndoredo','/universer-api/stream/file/upload','NEW_CHANGESETS','HmacSHA1','_awaitingChangeset','clamp','getInterceptPoints','&assign=','_collaborationPaused','_startTelemetryCollaborationNewChangeset','_mode','673575PvPOkw','CBC','Random\x20bytes\x20length\x20must\x20be\x20>=\x2016','_telemetryInfo','updatePermissionObjEvent','getFocusedUnit','_sendHeartbeat','CONNECTOR_DATA_TOO_LARGE','string','UserProfileImg','catch','onlyLocal','_initUnitPermissionChange','_showConflictNotification','actions','execute','DEFAULT_FILE_NAME','onMissingChangesets','roomInfos','UPDATE_CURSOR','onTransformIME','authzUrl','Undefined','_process','getImageSourceCache','body','__creator','json','8jTovie','map','createDecryptor','override','USER_NOT_INVITED_CODE','getValue','decryptBlock','filter','roles','_httpService','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','_transformRemoteChangesetByStateCache','reduce','AWAITING_WITH_PENDING','csAckEvent','dispose','_userManagerService','slice','CLOSE_ROOM','_undoStacks','Hasher','/allowed','snapshot','FETCH_MISSING','post','awaiting','JOIN_ROOM_NOT_EXISTS','_clearTimeoutTimer','getLatestCsReqIdBySid','NOT_FOUND','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','COMMENT_UPDATE','_sessionStatus$','_transformStack','88eztfvQ','UnitSnapshot','/object','resend','_onLocalMutation','set','msCrypto','_scheduleCompleteTimestamp','min','MD5','csRejEvent','emitEvent','_onConflict','5957994uuslSf','&to=','_event$','_initDependencies','_unitInfo$','telemetry\x20info\x20is\x20not\x20initialized','_sessions','getTypeOfUnitDisposed$','_changesetSessionId','padding','LICENSE_IMPORT_SIZE_EXCEEDED','lib','_socketReady','state$','complete','range','c1Prime','univer-pro.collaboration-client.single-active-unit-service','charCodeAt','_createInitialState','UNDEFINED','COMPRESS_MUTATION_APPLY','cfg','ALREADY_EXISTS','_replayCachedMutations','PERMISSION_REJ','_substituteRedoStack','_compressMutationService','_transformSelections','list','_status$','_roomCreated$','requestParams','resourceIDs','APPLY_PERMISSION_DENIED','size','SNAPSHOT_INVALID_SNAPSHOT','HEARTBEAT_INTERVAL','PERMISSION_DENIED','HELLO','onRemoteChangeset','event$','UNIVER_UNKNOWN','[CollaborationSessionService]','Decryptor','_waitCount','onload','UNIVER_SLIDE','focused$','_entities','pipe','_doProcessBlock','_snapshotService','transformUndoRedo','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','OpenSSL','fetchThroughInterceptors','_map','createInstance','LIVESHARE_REQUEST_HOST','selections','collaboration-client.local-cache-service','CONFLICT','_parse','_resendTimer','UNIVER_SHEET','BASE64','random','_networkConditionService','SUBMIT_CHANGESET','[CollaborationEntity]','USERS_LEAVE','createSocket','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','INVITE_CODE_ALREADY_BOUND','compute','crypto','joinEvent','UUID','_startCollaboration','putCollaborators','_clearHeartbeatTimer','_updateState','ERROR_EXCEED_SIZE','_tryReconnect','LIVESHARE_TERMINATE','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','status','_memberService','UNIVER_PROJECT','/new_changes','fetch_missing','IDLE','onSyncEditingCollabCursor','BlockCipherMode','create','getOwnPropertyDescriptor','_collaborationUIEventService','not_collab','enableOfflineEditing','3603155UhtwKK','add','error$','put','duration','INVALID_INVITE_CODE','_iKey','getCurrentRevOfUnit','type','NOT_COLLAB','_onConnectionFailed','getRandomValues','then','action','encode','appendMutation','symbol','CHANGESET_ACK','_injector','_univerInstanceService','confirm','getUnitType','COMPRESS_MUTATION_SEND','INTERNAL_ERROR','collaboratorID','waitForRoom$','APPLY_DUPLICATED','/fetchmissing?from=','_snapshotServerService','stopTime','originalMeta','Latin1','_removeRoom','decrypt','SHOULD_CLOSE_CONN','hostname','OTHER_CLIENTS_EDITING','HEARTBEAT','fromCharCode','EXCHANGE_SIGN_URL_SERVER_URL_KEY','values','open$','CHANGESET_REVISION_CONFILICT','repeat','WordArray','prototype','save\x20fail\x20reason\x20is\x20','/role','OPTIONAL','batchAllowed','Univer','buffer','update','_onRecvEvent','[OfflineState]:\x20received\x20rejection.','sessionStatus$','message$','awaitingChangeset','UNISCRIPT_RUN','setConfig','_collabSessionService','location','getMember','liveShareNewHost','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','_commentService','_disableEditing','_createHelper','collabSubmitChangesetUrl','exports','YUUMI_URL_COL_OUT_OF_RANGE','_hash','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','subscribe','_logService','/block/','max','HMAC','onTransformSelections','_collaborationSessionService','getCollabEntity$','get','keySize','_sender','_onRemoteChangeset','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','_socket$','unitId\x20is\x20not\x20found','blockSize','_roomMembers','_unitID','_keySchedule','_retryConnectingTimer','mixIn','_socket','_cipher','objectID','localeService','ERROR_IMAGE_TYPE','reject','hasher','join','APPLY_NON_SEQUENTIAL_REVISION','disposeWithMe','1101776smKGey','_timeoutTimer','getConfig','JOIN_ROOM_PERMISSION_DENIED','processBlock','connection\x20error','getDeserializedSheetBlock','_type','Error\x20on\x20receiving\x20event','_doCryptBlock','_applyRemoteChangeset','_nDataBytes','close$','_DEC_XFORM_MODE','/resources','COMPLETION_FINISHED','NoPadding','getUnit','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','leaveEvent','_xformMode','_replaceFileID','awaiting_with_pending','startTime','_collaborationTimeoutTimer','onStateChange','sessionStatus','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','_init','__esModule','onTransformRemoteChangesetByIMECache','_getSendChangesetTimeout','toggleOnline','_sendingTimer','init','state','salt','_resendWithTimeout','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','LIVESHARE_FETCH_OPERATIONS','\x0aCurrent:\x20','_schedule','call','onMissedChangesetFetched','_transitionLocked','_getCurrentRevision','enc','_socketMessageSubscription','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','image/jpeg','result','_redoStacks','reset','HmacMD5','BufferedBlockAlgorithm','mutations','APPLY_REVISION_CONFILICT','onRemoteRetry','\x20in\x20_schedule.','ONLINE','transformMutationsWithChangeset','LOCAL_CACHE_INTERVAL','INVITE_CODE_REQUIRED','removeMember','_change$','clear','getUnitId','localCacheService','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','image/jpg','_changesetReqId','requireSession','encodeURIComponent','now','_sendHeartbeatTimer','extend','updatePermissionPoint','_unlockTransition','title','send','\x20to\x20','closeSession','_undoRedoService','[SyncedState]:\x20received\x20rejection.','length','close','APPLY_REJECT','_exhaustRemoteChangesetQueue','_submitChangeset','onSendChangeset','defineProperty','collaborators','_append','2642840tdTeld','cmd','data','eventID','__Key__','infoRsp','_getLoginPath','EvpKDF','_permissionService','JOIN','randomUUID','OTHER_CLIENT_EDITING','objectActions','_toggleOnline','baseRev','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','href','LEAVE','unsubscribe','hasOwnProperty','finalize','9POhuOu','getImage','onCommentUpdate','bind','concat','LIVESHARE_OPERATION','_sheetTransformSelectionsService','AUTHZ_URL_KEY','_checkMissing','_fetchMissChangesets','SOCKET_FAILED','_getRedoStack','createEncryptor','sigBytes','substr','_incrementRevisionNumber','Base','sendChangesetTimeout','LICENSE_EXPORT_SIZE_EXCEEDED','_onOffline','_doFinalize','YUUMI_SUBSCRIPTION_NOT_FOUND','JOIN_ROOM_FULL','NO_OTHER_CLIENTS_EDITING','RETRY_CONNECTING_MAX_COUNT','compose','session','_ENC_XFORM_MODE','collabWebSocketUrl','_reverseMap','_handlerCallback','unit-cache-','isArray','_minBufferSize','_singleActiveUnitService','_updateStatus','reqId','SEND_CHANGESET_TIMEOUT','charAt','saveSheetBlock','YUUMI_RATE_OVER_LIMIT','sid','_entityInit$','addHandlerCallback','dispose$','UNAUTHENTICATED','_queuedRemoteChangesets','_onRemoteACK','[PendingState]:\x20received\x20rejection.','onTransformRemoteChangesetByStateCache','subject','/universer-api/file/{fileID}/sign-url','disableLocalCache','createCollaborator','UNRECOGNIZED','reverse','allowed','updateCursorEvent','_clearRedo','_handler','delete','copyFileMeta','_getUndoStack','PSEUDO_FETCH_MISSING_RESULT','fetching\x20missing\x20changesets\x20from\x20','iterations','onRemoteAck','permissionRejEvent','members','_pendingMutations','getUnitOnRev','_clearUndo','Hex','[CollaborationSessionService]:\x20socket\x20error','_onConnectionOpen','&source=','onCommandExecuted','unitID','find','initWorkbookPermissionChange','retryConnectingInterval','Encryptor','_members$','change$'];_0x2c56=function(){return _0x537d04;};return _0x2c56();}Gt=kn([Ae(0x0,_0x580c65(_0x18ea22)),Ae(0x1,_0x580c65(_0x494fcc)),Ae(0x2,_0x288252),Ae(0x3,_0x2d643c),Ae(0x4,_0x3ebdd6)],Gt);const Hn=_0x48c474(0x369);function Bn(_0x4af6c2){var _0x22028d=_0x48c474;return JSON[_0x22028d(0x13e)](_0x4af6c2)[_0x22028d(0x2eb)];}class Ti{constructor(){var _0x200594=_0x48c474;N(this,'_commentUpdate$',new _0xbcec6b()),N(this,'commentUpdate$',this[_0x200594(0x426)]['asObservable']());}[_0x48c474(0x30b)](_0xecf5b5){var _0x1c7dc1=_0x48c474;this[_0x1c7dc1(0x426)][_0x1c7dc1(0x3f9)](_0xecf5b5);}}var jn=Object[_0x48c474(0x22b)],Fn=(_0x93322e,_0x256389,_0x2f1cc6,_0x89f658)=>{for(var _0x3203dc=_0x89f658>0x1?void 0x0:_0x89f658?jn(_0x256389,_0x2f1cc6):_0x256389,_0x47c8d0=_0x93322e['length']-0x1,_0x25f6f0;_0x47c8d0>=0x0;_0x47c8d0--)(_0x25f6f0=_0x93322e[_0x47c8d0])&&(_0x3203dc=_0x25f6f0(_0x3203dc)||_0x3203dc);return _0x3203dc;},Wt=(_0x2430f1,_0x16f3bd)=>(_0x270b60,_0x52f43e)=>_0x16f3bd(_0x270b60,_0x52f43e,_0x2430f1);let Le=class extends _0x1777b1{constructor(_0xa6446c,_0x4d257a){var _0x4e8826=_0x48c474;super(),N(this,'_roomMembers',new Map()),N(this,_0x4e8826(0x1ea),new _0xbcec6b()),(this[_0x4e8826(0x242)]=_0xa6446c,this[_0x4e8826(0x1ac)]=_0x4d257a,this['disposeWithMe'](_0x1ca7ea(this['_univerInstanceService'][_0x4e8826(0x1d2)](_0x367653[_0x4e8826(0x20c)])[_0x4e8826(0x1fd)](_0x1eccd9(_0x243e2a=>_0x243e2a[_0x4e8826(0x2d9)]())),this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x367653[_0x4e8826(0x3d3)])[_0x4e8826(0x1fd)](_0x1eccd9(_0x1e3eec=>_0x1e3eec[_0x4e8826(0x2d9)]())),this[_0x4e8826(0x242)][_0x4e8826(0x1d2)](_0x367653[_0x4e8826(0x1fa)])[_0x4e8826(0x1fd)](_0x1eccd9(_0x399552=>_0x399552[_0x4e8826(0x2d9)]())))[_0x4e8826(0x278)](_0x22282c=>this[_0x4e8826(0x24f)](_0x22282c))));}[_0x48c474(0x248)](_0x12d753){var _0x282380=_0x48c474;return this[_0x282380(0x288)][_0x282380(0x390)](_0x12d753)?_0x357fba(this[_0x282380(0x288)][_0x282380(0x280)](_0x12d753)):this['_roomCreated$'][_0x282380(0x1fd)](_0x1eccd9(_0x1291c2=>{var _0x3cf8d8=_0x282380;if(_0x1291c2===_0x12d753)return this[_0x3cf8d8(0x288)][_0x3cf8d8(0x280)](_0x1291c2);}));}['setCurrentUser'](_0x30351c){var _0x8f4505=_0x48c474;this[_0x8f4505(0x1ac)]['setCurrentUser'](_0x30351c);}[_0x48c474(0x149)](){var _0x2d2fbe=_0x48c474;return this['_userManagerService'][_0x2d2fbe(0x149)]();}[_0x48c474(0x383)](_0x1eab31,_0x4d1e7b){var _0x469ea5=_0x48c474;let _0x24be0d=this['_roomMembers']['get'](_0x1eab31);_0x24be0d||(_0x24be0d=new Vn(),this[_0x469ea5(0x288)][_0x469ea5(0x1c3)](_0x1eab31,_0x24be0d),this[_0x469ea5(0x1ea)]['next'](_0x1eab31)),_0x24be0d[_0x469ea5(0x383)](_0x4d1e7b);}['removeMember'](_0x5f5085,_0x56760b){var _0x2f886f=_0x48c474;const _0x1eea1a=this[_0x2f886f(0x288)]['get'](_0x5f5085);_0x1eea1a&&_0x1eea1a[_0x2f886f(0x2d6)](_0x56760b);}['getRoom'](_0x48573a){var _0x4f1eb3=_0x48c474;return this[_0x4f1eb3(0x288)][_0x4f1eb3(0x280)](_0x48573a);}[_0x48c474(0x26d)](_0x4e2209,_0x3e41ab){var _0x22d283=_0x48c474;const _0x1231f5=this[_0x22d283(0x288)][_0x22d283(0x280)](_0x4e2209);if(_0x1231f5)return _0x1231f5[_0x22d283(0x26d)](_0x3e41ab);}[_0x48c474(0x24f)](_0x4c08e4){var _0x74feba=_0x48c474;const _0x5a0dde=this['_roomMembers'][_0x74feba(0x280)](_0x4c08e4);_0x5a0dde&&(_0x5a0dde[_0x74feba(0x1ab)](),this[_0x74feba(0x288)][_0x74feba(0x345)](_0x4c08e4));}['dispose'](){var _0x5b95c2=_0x48c474;this['_roomMembers'][_0x5b95c2(0x3d9)](_0x31a1a1=>_0x31a1a1[_0x5b95c2(0x1ab)]()),this['_roomMembers'][_0x5b95c2(0x2d8)](),this['_roomCreated$'][_0x5b95c2(0x1d9)]();}};Le=Fn([Wt(0x0,_0x2ac2f4),Wt(0x1,_0x580c65(_0x920310))],Le);class Vn extends _0x1777b1{constructor(){var _0x30bcec=_0x48c474;super(...arguments),N(this,_0x30bcec(0x3a1),new Map()),N(this,_0x30bcec(0x35b),new _0xbef376(this[_0x30bcec(0x3a1)])),N(this,'members$',this[_0x30bcec(0x35b)][_0x30bcec(0x3dd)]());}[_0x48c474(0x1ab)](){var _0x23a03b=_0x48c474;this[_0x23a03b(0x3a1)][_0x23a03b(0x2d8)]();}[_0x48c474(0x383)](_0x380481){var _0x355c83=_0x48c474;this[_0x355c83(0x3a1)][_0x355c83(0x1c3)](_0x380481['memberID'],_0x380481),this[_0x355c83(0x398)]();}['removeMember'](_0x42d716){var _0x3a4cc4=_0x48c474;this[_0x3a4cc4(0x3a1)][_0x3a4cc4(0x345)](_0x42d716);}[_0x48c474(0x26d)](_0x3d3566){return this['_members']['get'](_0x3d3566);}['getAllMembers'](){var _0x15fb44=_0x48c474;return Array['from'](this['_members'][_0x15fb44(0x257)]());}[_0x48c474(0x398)](){var _0x168b98=_0x48c474;this[_0x168b98(0x35b)][_0x168b98(0x3f9)](this[_0x168b98(0x3a1)]);}}var Gn=Object[_0x48c474(0x22b)],Wn=(_0xdcddd3,_0x2f07b9,_0x49937e,_0x5ef710)=>{var _0x43d7e6=_0x48c474;for(var _0x38e405=_0x5ef710>0x1?void 0x0:_0x5ef710?Gn(_0x2f07b9,_0x49937e):_0x2f07b9,_0x278a97=_0xdcddd3[_0x43d7e6(0x2eb)]-0x1,_0x150928;_0x278a97>=0x0;_0x278a97--)(_0x150928=_0xdcddd3[_0x278a97])&&(_0x38e405=_0x150928(_0x38e405)||_0x38e405);return _0x38e405;},me=(_0x5a9666,_0x4e87c5)=>(_0x82a73c,_0x5c56a0)=>_0x4e87c5(_0x82a73c,_0x5c56a0,_0x5a9666),Ee=(_0x5ac7a9=>(_0x5ac7a9[_0x5ac7a9['IDLE']=0x0]='IDLE',_0x5ac7a9[_0x5ac7a9[_0x48c474(0x3d0)]=0x1]=_0x48c474(0x3d0),_0x5ac7a9[_0x5ac7a9[_0x48c474(0x15c)]=0x2]=_0x48c474(0x15c),_0x5ac7a9[_0x5ac7a9[_0x48c474(0x2d2)]=0x3]='ONLINE',_0x5ac7a9))(Ee||{});const Kt={[ge[_0x48c474(0x41e)]]:'session.join-failed',[ge[_0x48c474(0x31f)]]:_0x48c474(0x38a),[ge['JOIN_ROOM_NOT_EXISTS']]:_0x48c474(0x366),[ge[_0x48c474(0x29a)]]:_0x48c474(0x361),[ge[_0x48c474(0x35d)]]:'session.room-cnt-exceeds'};let Et=class extends _0x4bb33c{constructor(_0xf359ba,_0x472966,_0xa5598e,_0x449695,_0x248546,_0x2e25d1,_0x59c592,_0x5191d1,_0x160e17){var _0x497f20=_0x48c474;super(),N(this,'_sessionStatus$',new _0xbef376(0x0)),N(this,'sessionStatus$',this[_0x497f20(0x1bc)][_0x497f20(0x3dd)]()),N(this,_0x497f20(0x1cd),new _0xbcec6b()),N(this,_0x497f20(0x1f4),this[_0x497f20(0x1cd)][_0x497f20(0x3dd)]()),N(this,'_socket'),N(this,_0x497f20(0x2c6)),N(this,_0x497f20(0x2af)),N(this,_0x497f20(0x41c),!0x1),N(this,_0x497f20(0x183),null),(this['_unitID']=_0xf359ba,this[_0x497f20(0x279)]=_0xa5598e,this[_0x497f20(0x370)]=_0x449695,this[_0x497f20(0x3a4)]=_0x248546,this[_0x497f20(0x223)]=_0x2e25d1,this[_0x497f20(0x270)]=_0x59c592,this[_0x497f20(0x22c)]=_0x5191d1,this[_0x497f20(0x3a0)]=_0x160e17,this['_shouldReportTelemetry']=!!this['_telemetryService'],_0x472966[_0x497f20(0x1fd)](_0x4a71b8(this[_0x497f20(0x335)]))[_0x497f20(0x278)](_0x116ab3=>{var _0x59b86b=_0x497f20,_0x587fbf;typeof _0x116ab3>'u'||(this[_0x59b86b(0x28d)]=_0x116ab3,_0x116ab3?(this[_0x59b86b(0x14d)](_0x116ab3),this[_0x59b86b(0x2c6)]=_0x116ab3[_0x59b86b(0x267)]['subscribe'](_0x4621e6=>{var _0x48947d=_0x59b86b;_0x4621e6[_0x48947d(0x14b)]===this[_0x48947d(0x289)]&&this[_0x48947d(0x169)](_0x4621e6);})):(this[_0x59b86b(0x3c1)](),this['_sessionStatus$'][_0x59b86b(0x3f9)](0x2),(_0x587fbf=this['_socketMessageSubscription'])==null||_0x587fbf[_0x59b86b(0x306)](),this[_0x59b86b(0x2c6)]=null));}));}get[_0x48c474(0x2b1)](){var _0x199b7d=_0x48c474;return this[_0x199b7d(0x1bc)][_0x199b7d(0x1a1)]();}[_0x48c474(0x3e2)](){var _0x398411=_0x48c474,_0x50739c,_0x997ace;return(_0x997ace=(_0x50739c=this[_0x398411(0x28d)])==null?void 0x0:_0x50739c[_0x398411(0x153)])!=null?_0x997ace:null;}[_0x48c474(0x1ab)](){var _0x19d6cd=_0x48c474;super['dispose'](),this[_0x19d6cd(0x335)]['next'](),this['dispose$'][_0x19d6cd(0x1d9)]();}[_0x48c474(0x2ec)](){var _0x2dba5c=_0x48c474,_0xe44a8,_0x563951;this['_throwTelemetryCollaborationNewChangeset'](),(_0xe44a8=this[_0x2dba5c(0x28d)])==null||_0xe44a8[_0x2dba5c(0x2e6)]({'cmd':F['LEAVE'],'data':{'roomID':this[_0x2dba5c(0x289)]}}),(_0x563951=this['_socket'])==null||_0x563951['close'](),this[_0x2dba5c(0x1cd)][_0x2dba5c(0x1d9)](),this[_0x2dba5c(0x1bc)][_0x2dba5c(0x1d9)](),this['dispose']();}[_0x48c474(0x169)](_0x4e59ad){var _0x3fd2c5=_0x48c474;_0x4e59ad[_0x3fd2c5(0x2f5)]===F[_0x3fd2c5(0x2fd)]?this[_0x3fd2c5(0x3f4)](_0x4e59ad):_0x4e59ad[_0x3fd2c5(0x2f5)]===F[_0x3fd2c5(0x16a)]&&this[_0x3fd2c5(0x264)](_0x4e59ad);}[_0x48c474(0x14d)](_0x1f89f6){var _0x189e38=_0x48c474;this[_0x189e38(0x1bc)][_0x189e38(0x3f9)](0x1),_0x1f89f6[_0x189e38(0x2e6)]({'cmd':F[_0x189e38(0x2fd)],'routeKey':this['_unitID'],'routeType':'','data':{'rooms':[{'roomID':this[_0x189e38(0x289)]}]}});}[_0x48c474(0x3f4)](_0x2db6e3){var _0x7b221d=_0x48c474,_0xa18eb0;if(_0x2db6e3[_0x7b221d(0x154)]in Kt){this[_0x7b221d(0x22c)][_0x7b221d(0x1c9)]({'id':re[_0x7b221d(0x3d1)],'data':Kt[_0x2db6e3['code']]}),this[_0x7b221d(0x1bc)]['next'](0x2);return;}this[_0x7b221d(0x1bc)][_0x7b221d(0x3f9)](0x3);const _0x40b01e=(_0xa18eb0=_0x2db6e3['data'][_0x7b221d(0x192)][this[_0x7b221d(0x289)]])==null?void 0x0:_0xa18eb0[_0x7b221d(0x34d)];_0x40b01e&&_0x40b01e[_0x7b221d(0x3d9)](_0x51f12b=>this['_memberService'][_0x7b221d(0x383)](this[_0x7b221d(0x289)],_0x51f12b));}[_0x48c474(0x264)](_0x3ad55a){var _0x1a8703=_0x48c474;try{const _0x17e7d3=_0x3ad55a[_0x1a8703(0x2f6)];switch(_0x17e7d3['eventID']){case _0x45c809[_0x1a8703(0x409)]:this['_onUserJoin'](_0x17e7d3),this[_0x1a8703(0x1cd)][_0x1a8703(0x3f9)](_0x17e7d3);break;case _0x45c809['USERS_LEAVE']:this[_0x1a8703(0x150)](_0x17e7d3),this[_0x1a8703(0x1cd)][_0x1a8703(0x3f9)](_0x17e7d3);break;case _0x45c809[_0x1a8703(0x240)]:case _0x45c809[_0x1a8703(0x3e4)]:this['_stopTelemetryCollaborationNewChangeset'](),this['_clearCollaborationTimeoutTimer'](),this['_event$'][_0x1a8703(0x3f9)](_0x17e7d3);break;case _0x45c809[_0x1a8703(0x3cd)]:this[_0x1a8703(0x279)][_0x1a8703(0x123)](_0x1a8703(0x25d)+JSON[_0x1a8703(0x13e)](_0x17e7d3)),this[_0x1a8703(0x1cd)][_0x1a8703(0x3f9)](_0x17e7d3);break;case _0x45c809['COMMENT_UPDATE']:this['_commentService'][_0x1a8703(0x30b)](_0x17e7d3[_0x1a8703(0x2f6)]),this['_event$'][_0x1a8703(0x3f9)](_0x17e7d3);break;default:this['_event$'][_0x1a8703(0x3f9)](_0x17e7d3);}}catch(_0x9587e2){this['_logService']['error'](_0x9587e2,_0x3ad55a);}}[_0x48c474(0x16e)](_0x2b5a54){var _0x34cbbc=_0x48c474;this[_0x34cbbc(0x223)][_0x34cbbc(0x383)](this[_0x34cbbc(0x289)],_0x2b5a54[_0x34cbbc(0x2f6)]);}[_0x48c474(0x150)](_0x2c0712){var _0x4ce169=_0x48c474;this[_0x4ce169(0x223)][_0x4ce169(0x2d6)](this['_unitID'],_0x2c0712[_0x4ce169(0x2f6)][_0x4ce169(0x153)]);}async[_0x48c474(0x2e6)](_0x2a1d64,_0x54d29e){var _0xf3b873=_0x48c474;if(this['sessionStatus']!==0x3||!this[_0xf3b873(0x28d)])throw new Error(_0xf3b873(0x26f));try{_0x2a1d64['eventID']===_0x45c809['SUBMIT_CHANGESET']&&(this[_0xf3b873(0x3f7)](),this['_startTelemetryCollaborationNewChangeset'](_0x2a1d64)),this[_0xf3b873(0x28d)][_0xf3b873(0x2e6)]({'cmd':F[_0xf3b873(0x375)],'routeKey':_0x54d29e,'routeType':'','data':_0x2a1d64});}catch(_0x5dd17d){this['_logService']['error'](_0x5dd17d);}}[_0x48c474(0x3f7)](){var _0x417c65=_0x48c474,_0x3202a0;this[_0x417c65(0x2af)]=setTimeout(()=>{var _0x4f9fe4=_0x417c65;this[_0x4f9fe4(0x2af)]=null,this[_0x4f9fe4(0x22c)]['emitEvent']({'id':re['SUBMIT_CHANGESET_TIMEOUT']});},(_0x3202a0=this[_0x417c65(0x370)][_0x417c65(0x299)](mi))!=null?_0x3202a0:gi);}[_0x48c474(0x139)](){var _0x2a735f=_0x48c474;this[_0x2a735f(0x2af)]&&(clearTimeout(this[_0x2a735f(0x2af)]),this['_collaborationTimeoutTimer']=null);}[_0x48c474(0x17e)](_0x3a066c){var _0x2501c7=_0x48c474;if(!this[_0x2501c7(0x41c)])return;const {data:_0x36412d}=_0x3a066c,{unitID:_0x976fb9,changeset:_0x3a4d5a}=_0x36412d,{mutations:_0x1ebae1,type:_0x5937c9}=_0x3a4d5a;this[_0x2501c7(0x183)]={'unitId':_0x976fb9,'type':_0x5937c9,'startTime':performance[_0x2501c7(0x2e0)](),'stopTime':0x0,'duration':0x0,'size':Bn(_0x1ebae1)};}[_0x48c474(0x393)](){var _0x1ff510=_0x48c474;if(this['_shouldReportTelemetry']){if(!this[_0x1ff510(0x183)]){this[_0x1ff510(0x279)][_0x1ff510(0x123)](_0x1ff510(0x3d4),_0x1ff510(0x1d0));return;}this[_0x1ff510(0x183)][_0x1ff510(0x24c)]=performance['now'](),this[_0x1ff510(0x183)][_0x1ff510(0x233)]=this[_0x1ff510(0x183)][_0x1ff510(0x24c)]-this['_telemetryInfo'][_0x1ff510(0x2ae)],this['_telemetryService'][_0x1ff510(0x420)](Hn,this[_0x1ff510(0x183)]),this[_0x1ff510(0x183)]=null;}}[_0x48c474(0x3c1)](){var _0xd6d905=_0x48c474;this[_0xd6d905(0x183)]=null;}};Et=Wn([me(0x2,_0x2d643c),me(0x3,_0x288252),me(0x4,_0x580c65(_0x24f520)),me(0x5,_0x580c65(Le)),me(0x6,_0x580c65(Ti)),me(0x7,_0x580c65(pe)),me(0x8,_0x520d75(_0x328cd3))],Et);var Kn=Object[_0x48c474(0x22b)],Yn=(_0x40e704,_0x539859,_0x208d72,_0x4590fe)=>{var _0x2e1a98=_0x48c474;for(var _0x34eec2=_0x4590fe>0x1?void 0x0:_0x4590fe?Kn(_0x539859,_0x208d72):_0x539859,_0x31fb3a=_0x40e704[_0x2e1a98(0x2eb)]-0x1,_0x1c60e7;_0x31fb3a>=0x0;_0x31fb3a--)(_0x1c60e7=_0x40e704[_0x31fb3a])&&(_0x34eec2=_0x1c60e7(_0x34eec2)||_0x34eec2);return _0x34eec2;},be=(_0x205d87,_0x5f54aa)=>(_0x4afa47,_0x4534c4)=>_0x5f54aa(_0x4afa47,_0x4534c4,_0x205d87);let xe=class extends _0x1777b1{constructor(_0x7201c9,_0x4e5a8f,_0x39de50,_0x4c7db2,_0x3bc5aa,_0x46d937){var _0x35ff06=_0x48c474;super(),N(this,_0x35ff06(0x285),new _0xbef376(void 0x0)),N(this,'socket$',this[_0x35ff06(0x285)][_0x35ff06(0x3dd)]()),N(this,'_candidateSocket',null),N(this,'_sessions',new Map()),N(this,'_status$',new _0xbef376(Ee[_0x35ff06(0x227)])),N(this,'status$',this['_status$'][_0x35ff06(0x3dd)]()),N(this,_0x35ff06(0x1d7),!0x1),N(this,'_retryConnectingTimer'),N(this,_0x35ff06(0x131),0x0),N(this,_0x35ff06(0x2e1)),N(this,_0x35ff06(0x298)),(this[_0x35ff06(0x241)]=_0x7201c9,this[_0x35ff06(0x279)]=_0x4e5a8f,this[_0x35ff06(0x370)]=_0x39de50,this[_0x35ff06(0x37a)]=_0x4c7db2,this[_0x35ff06(0x22c)]=_0x3bc5aa,this[_0x35ff06(0x20f)]=_0x46d937,this[_0x35ff06(0x3e6)]());}get[_0x48c474(0x28d)](){var _0x14a48c=_0x48c474;return this[_0x14a48c(0x285)][_0x14a48c(0x1a1)]();}[_0x48c474(0x3e6)](){var _0x2965ec=_0x48c474;this[_0x2965ec(0x20f)]&&this[_0x2965ec(0x296)](this[_0x2965ec(0x20f)][_0x2965ec(0x3d5)]['subscribe'](_0x1c787e=>{var _0x6c5825=_0x2965ec;_0x1c787e&&!this[_0x6c5825(0x28d)]&&this['reconnect'](),_0x1c787e||this[_0x6c5825(0x31c)]();}));}['dispose'](){var _0x5e423b=_0x48c474;super[_0x5e423b(0x1ab)](),this[_0x5e423b(0x174)](),this[_0x5e423b(0x1b7)](),this[_0x5e423b(0x21c)](),this['_sessions'][_0x5e423b(0x3d9)](_0x26e3ba=>_0x26e3ba[_0x5e423b(0x1ab)]()),this[_0x5e423b(0x1d1)]['clear'](),this['_status$'][_0x5e423b(0x1d9)]();}async[_0x48c474(0x2de)](_0x56df32){var _0x175c26=_0x48c474;if(this['_sessions'][_0x175c26(0x390)](_0x56df32))return this[_0x175c26(0x1d1)][_0x175c26(0x280)](_0x56df32);this['_tryEnsureSocket']();const _0x59ffa0=this[_0x175c26(0x241)][_0x175c26(0x205)](Et,_0x56df32,this[_0x175c26(0x285)][_0x175c26(0x3dd)]());return this[_0x175c26(0x1d1)][_0x175c26(0x1c3)](_0x56df32,_0x59ffa0),_0x59ffa0;}['closeSession'](_0x5c07a0){var _0x2bb370=_0x48c474,_0x2f69c5;const _0x45859c=this[_0x2bb370(0x1d1)][_0x2bb370(0x280)](_0x5c07a0);_0x45859c&&(this[_0x2bb370(0x1d1)][_0x2bb370(0x345)](_0x5c07a0),_0x45859c[_0x2bb370(0x2ec)]()),this[_0x2bb370(0x1d1)]['size']||(_0x2f69c5=this['_socket'])==null||_0x2f69c5['close']();}['reconnect'](){var _0x453c8d=_0x48c474;this['_retryCount']=0x0,this[_0x453c8d(0x174)](),this[_0x453c8d(0x21f)]();}['_clearRetryConnectingTimer'](){var _0x36fa0b=_0x48c474;this[_0x36fa0b(0x28b)]!=null&&(clearTimeout(this[_0x36fa0b(0x28b)]),this[_0x36fa0b(0x28b)]=null);}async[_0x48c474(0x380)](){var _0x3bff7a=_0x48c474,_0x2f6d1a,_0x2ce7ab;const _0x2e2a9f=this['_configService']['getConfig'](In),_0x327fbc=this[_0x3bff7a(0x370)][_0x3bff7a(0x299)](q),_0x2b0913=(_0x2ce7ab=(_0x2f6d1a=_0x327fbc==null?void 0x0:_0x327fbc[_0x3bff7a(0x325)])!=null?_0x2f6d1a:_0x2e2a9f)!=null?_0x2ce7ab:Tn,_0x361393=await this['_socketService'][_0x3bff7a(0x213)](_0x2b0913);return this[_0x3bff7a(0x385)]=_0x361393,_0x361393;}async[_0x48c474(0x15b)](){var _0x20bdd6=_0x48c474,_0x59b801,_0xad3838;try{const _0xacb737=(_0xad3838=(_0x59b801=this[_0x20bdd6(0x28d)])!=null?_0x59b801:this[_0x20bdd6(0x385)])!=null?_0xad3838:await this['_createSocket']();if(_0xacb737){const _0x22f2c9=_0xacb737['send'];_0xacb737[_0x20bdd6(0x2e6)]=_0x131ad5=>(this['_rescheduleHeartbeat'](),_0x22f2c9[_0x20bdd6(0x38d)](_0xacb737,[_0x131ad5])),_0xacb737[_0x20bdd6(0x267)][_0x20bdd6(0x278)](_0xe38401=>this[_0x20bdd6(0x140)](_0xacb737,_0xe38401)),_0xacb737[_0x20bdd6(0x231)][_0x20bdd6(0x1fd)](_0x136075(0x1))['subscribe'](_0x23ed1e=>this[_0x20bdd6(0x279)][_0x20bdd6(0x123)](_0x20bdd6(0x352),_0x23ed1e)),_0xacb737[_0x20bdd6(0x258)][_0x20bdd6(0x1fd)](_0x136075(0x1))[_0x20bdd6(0x278)](()=>{var _0x44f824=_0x20bdd6;this[_0x44f824(0x353)](_0xacb737);}),_0xacb737[_0x20bdd6(0x2a3)][_0x20bdd6(0x1fd)](_0x136075(0x1))[_0x20bdd6(0x278)](_0x36a0c0=>{var _0x30cf9c=_0x20bdd6;this['_logService'][_0x30cf9c(0x415)](_0x30cf9c(0x1f6),_0x30cf9c(0x3e7),_0x36a0c0),this['_onConnectionFailed']();});}}catch(_0x127efc){this['_logService']['error'](_0x127efc),this[_0x20bdd6(0x239)]();}}['_onConnectionOpen'](_0x93e773){var _0x2a2acf=_0x48c474;this[_0x2a2acf(0x279)][_0x2a2acf(0x415)]('[CollaborationSessionService]','socket\x20open.'),_0x93e773[_0x2a2acf(0x2e6)]({'cmd':F['HELLO']}),this[_0x2a2acf(0x410)]();}[_0x48c474(0x31c)](){var _0x1ed57f=_0x48c474;this[_0x1ed57f(0x1d7)]=!0x1,this[_0x1ed57f(0x385)]=null,this[_0x1ed57f(0x1e9)]['next'](Ee['OFFLINE']),this[_0x1ed57f(0x285)][_0x1ed57f(0x3f9)](null),this['_clearTimeoutTimer'](),this['_clearHeartbeatTimer']();}[_0x48c474(0x239)](){var _0x13045b=_0x48c474,_0x524c2c;this[_0x13045b(0x31c)](),this[_0x13045b(0x131)]<((_0x524c2c=this[_0x13045b(0x370)][_0x13045b(0x299)](On))!=null?_0x524c2c:yn)?(this[_0x13045b(0x22c)]['emitEvent']({'id':re[_0x13045b(0x36c)]}),this[_0x13045b(0x21f)]()):this['_collaborationUIEventService'][_0x13045b(0x1c9)]({'id':re[_0x13045b(0x313)]});}[_0x48c474(0x21f)](){var _0x35775d=_0x48c474,_0x3318b2;const _0x1aa737=this[_0x35775d(0x131)],_0x13aa8c=this[_0x35775d(0x370)][_0x35775d(0x299)](q),_0x58ef91=_0x1aa737===0x0?0x0:((_0x3318b2=_0x13aa8c==null?void 0x0:_0x13aa8c[_0x35775d(0x359)])!=null?_0x3318b2:bn)*0x2**_0x1aa737;this['_retryConnectingTimer']=setTimeout(()=>{var _0x52216d=_0x35775d;clearTimeout(this[_0x52216d(0x28b)]),this[_0x52216d(0x28b)]=null,this[_0x52216d(0x15b)]();},_0x58ef91),this[_0x35775d(0x131)]+=0x1;}['_onMessage'](_0x36fdc6,_0x52a45c){var _0x4d965e=_0x48c474;const {cmd:_0x20e2fd}=_0x52a45c;_0x20e2fd===F[_0x4d965e(0x1f2)]&&!this['_socketReady']&&(_0x36fdc6[_0x4d965e(0x153)]=_0x52a45c[_0x4d965e(0x2f6)][_0x4d965e(0x153)],this[_0x4d965e(0x285)][_0x4d965e(0x3f9)](_0x36fdc6),this[_0x4d965e(0x1e9)]['next'](Ee[_0x4d965e(0x2d2)]),this[_0x4d965e(0x1d7)]=!0x0,this['_candidateSocket']=null),_0x20e2fd===F['HEARTBEAT']&&this['_clearTimeoutTimer'](),this['_rescheduleHeartbeat']();}[_0x48c474(0x410)](){var _0x454246=_0x48c474,_0x11d867;this[_0x454246(0x21c)](),this[_0x454246(0x2e1)]=setTimeout(()=>this[_0x454246(0x186)](),(_0x11d867=this[_0x454246(0x370)][_0x454246(0x299)](Cn))!=null?_0x11d867:Rn);}[_0x48c474(0x186)](){var _0x5f23d2=_0x48c474;this['_socket'][_0x5f23d2(0x2e6)]({'cmd':F[_0x5f23d2(0x254)]}),this['_waitForHeartbeatResponse']();}[_0x48c474(0x3cc)](){var _0x5ce54c=_0x48c474,_0x5785c8;this[_0x5ce54c(0x298)]=setTimeout(()=>this[_0x5ce54c(0x239)](),(_0x5785c8=this[_0x5ce54c(0x370)][_0x5ce54c(0x299)](mi))!=null?_0x5785c8:gi);}[_0x48c474(0x21c)](){var _0x320535=_0x48c474;this[_0x320535(0x2e1)]!=null&&(clearTimeout(this['_sendHeartbeatTimer']),this[_0x320535(0x2e1)]=null);}[_0x48c474(0x1b7)](){var _0x36e0ba=_0x48c474;this[_0x36e0ba(0x298)]!=null&&(clearTimeout(this[_0x36e0ba(0x298)]),this['_timeoutTimer']=null);}};xe=Yn([be(0x0,_0x580c65(_0x18ea22)),be(0x1,_0x2d643c),be(0x2,_0x288252),be(0x3,Ii),be(0x4,_0x580c65(pe)),be(0x5,_0x520d75(Pn))],xe);const V=[];for(let t=0x0;t<0x100;++t)V[_0x48c474(0x37d)]((t+0x100)[_0x48c474(0x365)](0x10)[_0x48c474(0x1ad)](0x1));function qn(_0x2bfebb,_0x63cd99=0x0){return(V[_0x2bfebb[_0x63cd99+0x0]]+V[_0x2bfebb[_0x63cd99+0x1]]+V[_0x2bfebb[_0x63cd99+0x2]]+V[_0x2bfebb[_0x63cd99+0x3]]+'-'+V[_0x2bfebb[_0x63cd99+0x4]]+V[_0x2bfebb[_0x63cd99+0x5]]+'-'+V[_0x2bfebb[_0x63cd99+0x6]]+V[_0x2bfebb[_0x63cd99+0x7]]+'-'+V[_0x2bfebb[_0x63cd99+0x8]]+V[_0x2bfebb[_0x63cd99+0x9]]+'-'+V[_0x2bfebb[_0x63cd99+0xa]]+V[_0x2bfebb[_0x63cd99+0xb]]+V[_0x2bfebb[_0x63cd99+0xc]]+V[_0x2bfebb[_0x63cd99+0xd]]+V[_0x2bfebb[_0x63cd99+0xe]]+V[_0x2bfebb[_0x63cd99+0xf]])['toLowerCase']();}let ut;const zn=new Uint8Array(0x10);function Jn(){var _0x4ed840=_0x48c474;if(!ut){if(typeof crypto>'u'||!crypto[_0x4ed840(0x23a)])throw new Error(_0x4ed840(0x1ba));ut=crypto['getRandomValues'][_0x4ed840(0x30c)](crypto);}return ut(zn);}const Xn=typeof crypto<'u'&&crypto[_0x48c474(0x2fe)]&&crypto[_0x48c474(0x2fe)]['bind'](crypto),Yt={'randomUUID':Xn};function Zn(_0x57badf,_0x491786,_0x13d303){var _0x4aa1ad=_0x48c474,_0x4bf2f8,_0x48ca0d,_0x2c45bc;if(Yt[_0x4aa1ad(0x2fe)]&&!_0x57badf)return Yt['randomUUID']();_0x57badf=_0x57badf||{};const _0x3eb3bd=(_0x2c45bc=(_0x48ca0d=_0x57badf[_0x4aa1ad(0x20e)])!=null?_0x48ca0d:(_0x4bf2f8=_0x57badf['rng'])==null?void 0x0:_0x4bf2f8[_0x4aa1ad(0x2c1)](_0x57badf))!=null?_0x2c45bc:Jn();if(_0x3eb3bd[_0x4aa1ad(0x2eb)]<0x10)throw new Error(_0x4aa1ad(0x182));return _0x3eb3bd[0x6]=_0x3eb3bd[0x6]&0xf|0x40,_0x3eb3bd[0x8]=_0x3eb3bd[0x8]&0x3f|0x80,qn(_0x3eb3bd);}const J=_0x1e3cb3(_0x48c474(0x208));function Br(_0x5f46e3){var _0x18fc5c=_0x48c474;return _0x18fc5c(0x328)+_0x5f46e3;}var Qn=Object[_0x48c474(0x22b)],es=(_0x43e0a1,_0x2bcf04,_0x528b5a,_0x17a80e)=>{var _0x21bf64=_0x48c474;for(var _0x5d9b8c=_0x17a80e>0x1?void 0x0:_0x17a80e?Qn(_0x2bcf04,_0x528b5a):_0x2bcf04,_0x12adb8=_0x43e0a1[_0x21bf64(0x2eb)]-0x1,_0x517c08;_0x12adb8>=0x0;_0x12adb8--)(_0x517c08=_0x43e0a1[_0x12adb8])&&(_0x5d9b8c=_0x517c08(_0x5d9b8c)||_0x5d9b8c);return _0x5d9b8c;},dt=(_0xd472ca,_0x2c8fab)=>(_0x5d88aa,_0x4af3eb)=>_0x2c8fab(_0x5d88aa,_0x4af3eb,_0xd472ca);function ts(_0x30ebb0){var _0x5c9b76=_0x48c474;const {unitID:_0x51930d,mutations:_0x3bf220}=_0x30ebb0;return{'unitId':_0x51930d,'subUnitId':_0x3bf220[0x0][_0x5c9b76(0x12f)]['subUnitId']};}let it=class{constructor(_0x303d9c,_0x4d3cf0,_0x2aba82){var _0x1ae2b8=_0x48c474;this['_injector']=_0x303d9c,this[_0x1ae2b8(0x39e)]=_0x4d3cf0,this[_0x1ae2b8(0x425)]=_0x2aba82;}[_0x48c474(0x142)](_0x1a798e){var _0x300f2d=_0x48c474,_0x290810,_0x425a00,_0x2418fc,_0x4e033b;const _0x3eb54d=this['_injector']['get'](_0x261f4b),{unitId:_0x50908a,subUnitId:_0x59fe3e}=ts(_0x1a798e),_0x1d1bf6=_0x3eb54d==null?void 0x0:_0x3eb54d[_0x300f2d(0x39d)](_0x50908a)['getCurrentSelections'](),_0x2a7b24=(_0x425a00=(_0x290810=this[_0x300f2d(0x425)][_0x300f2d(0x2a8)](_0x50908a))==null?void 0x0:_0x290810['getActiveSheet']())==null?void 0x0:_0x425a00['getSheetId']();if(_0x1d1bf6[_0x300f2d(0x2eb)]===0x0||!_0x50908a||!_0x59fe3e)return;const _0x16b807=[{'id':_0x49fea5['id'],'params':{'unitId':_0x50908a,'subUnitId':_0x2a7b24,'selections':_0x3999ac['deepClone'](_0x1d1bf6)}}],_0x4ef846=this[_0x300f2d(0x39e)][_0x300f2d(0x2d3)](_0x1a798e,_0x16b807);if(!_0x4c685f(_0x4ef846))throw _0x4ef846['error'];const _0x468fe4=(_0x4e033b=(_0x2418fc=_0x4ef846[_0x300f2d(0x162)][0x0])==null?void 0x0:_0x2418fc[_0x300f2d(0x12f)])==null?void 0x0:_0x4e033b[_0x300f2d(0x207)];if(Array['isArray'](_0x468fe4)&&_0x468fe4[_0x300f2d(0x2eb)]){if(_0x468fe4[_0x300f2d(0x2eb)]===_0x16b807[0x0][_0x300f2d(0x12f)][_0x300f2d(0x207)][_0x300f2d(0x2eb)]&&_0x468fe4[_0x300f2d(0x416)]((_0x1c7fe5,_0x65cd67)=>_0x2a6436[_0x300f2d(0x3ba)](_0x1c7fe5[_0x300f2d(0x1da)],_0x16b807[0x0][_0x300f2d(0x12f)][_0x300f2d(0x207)][_0x65cd67][_0x300f2d(0x1da)])))return;this['_injector'][_0x300f2d(0x280)](_0x55c1d0)[_0x300f2d(0x38c)](_0x49fea5['id'],{'unitId':_0x50908a,'subUnitId':_0x2a7b24,'selections':_0x468fe4});}}};it=es([dt(0x0,_0x580c65(_0x18ea22)),dt(0x1,_0x3d5c53),dt(0x2,_0x2ac2f4)],it);const ht=_0x1e3cb3(_0x48c474(0x1dc));var Ci=(_0x2990d0=>(_0x2990d0[_0x2990d0[_0x48c474(0x320)]=0x0]=_0x48c474(0x320),_0x2990d0[_0x2990d0['OTHER_CLIENTS_EDITING']=0x1]=_0x48c474(0x253),_0x2990d0))(Ci||{});const is=new Set([_0x334673['id']]);function qt(_0x5bb2e3,_0x4958b5,_0x56f594,_0x1f7e23,_0x22333e){var _0x1b90e1=_0x48c474,_0x398a9d,_0x333527,_0x5c9bc1,_0x138334;const _0x2164f1=[];for(const _0x145125 of _0x5bb2e3)if(is[_0x1b90e1(0x390)](_0x145125['id'])){if(_0x2164f1[_0x1b90e1(0x2eb)]>0x0)break;_0x2164f1[_0x1b90e1(0x37d)](_0x145125);break;}else _0x2164f1[_0x1b90e1(0x37d)](_0x145125);const _0x5dc57e=(_0x333527=(_0x398a9d=_0x22333e['getCurrentUser']())==null?void 0x0:_0x398a9d[_0x1b90e1(0x3fe)])!=null?_0x333527:_0x1b90e1(0x3eb),_0x1f030a=(_0x138334=(_0x5c9bc1=_0x22333e['getCurrentUser']())==null?void 0x0:_0x5c9bc1[_0x1b90e1(0x153)])!=null?_0x138334:_0x1b90e1(0x3eb);return{'changeset':{'unitID':_0x4958b5,'type':_0x15eced(_0x56f594[_0x1b90e1(0x244)](_0x4958b5)),'baseRev':_0x1f7e23[_0x1b90e1(0x236)](_0x4958b5),'revision':0x0,'userID':_0x5dc57e,'memberID':_0x1f030a,'mutations':_0x2164f1},'pendingMutations':_0x5bb2e3[_0x1b90e1(0x1ad)](_0x2164f1[_0x1b90e1(0x2eb)])};}function ns(_0xec3670,_0x452c9f,_0x4e1179,_0xc5ee47,_0x5dda40){var _0x50d8e0=_0x48c474,_0x4b4e4e,_0x2a8549,_0x2b4728,_0x53c05f;const _0x2b6401=[_0xec3670[_0x50d8e0(0x1a8)]((_0x14fd98,_0x29863a)=>{var _0x5d97d3=_0x50d8e0,_0x2b828e;const {id:_0x21c62e}=_0x14fd98,{id:_0x128141,type:_0x14d5a7}=_0x29863a,_0x383d03=(_0x2b828e=_0x14fd98[_0x5d97d3(0x12f)])!=null?_0x2b828e:{'actions':null},_0x1ac0c7=_0x29863a['params'];if(_0x21c62e&&_0x21c62e!==_0x128141)throw new Error(_0x5d97d3(0x1a6)+_0x21c62e+'\x20-\x20'+_0x128141+'.');return{..._0x14fd98,'id':_0x128141,'type':_0x14d5a7,'params':{'unitId':_0x1ac0c7[_0x5d97d3(0x377)],'textRanges':_0x1ac0c7[_0x5d97d3(0x3ad)],'actions':_0x33cef4[_0x5d97d3(0x322)](_0x383d03['actions'],_0x1ac0c7['actions'])}};},{})],_0x1f90c0=(_0x2a8549=(_0x4b4e4e=_0x5dda40[_0x50d8e0(0x149)]())==null?void 0x0:_0x4b4e4e[_0x50d8e0(0x3fe)])!=null?_0x2a8549:_0x50d8e0(0x3eb),_0x1087ff=(_0x53c05f=(_0x2b4728=_0x5dda40[_0x50d8e0(0x149)]())==null?void 0x0:_0x2b4728[_0x50d8e0(0x153)])!=null?_0x53c05f:_0x50d8e0(0x3eb);return{'changeset':{'unitID':_0x452c9f,'type':_0x15eced(_0x4e1179[_0x50d8e0(0x244)](_0x452c9f)),'baseRev':_0xc5ee47[_0x50d8e0(0x236)](_0x452c9f),'revision':0x0,'userID':_0x1f90c0,'memberID':_0x1087ff,'mutations':_0x2b6401},'pendingMutations':[]};}function Ri(_0x7099e1,_0x3fbecf){var _0x250489=_0x48c474;const _0x2705f8=new _0x149b25(0x1);return setTimeout(()=>_0x2705f8[_0x250489(0x3f9)](_0x3fbecf),_0x7099e1),_0x2705f8['asObservable']()[_0x250489(0x1fd)](_0x33e952(0x1));}const ss={'id':_0x2522f7['id'],'type':_0x303b53[_0x48c474(0x3db)],'params':{}};var rs=Object[_0x48c474(0x22b)],Te=(_0x8580b7,_0x643f76,_0x294f82,_0x32fa23)=>{var _0x3c6660=_0x48c474;for(var _0x3bd413=_0x32fa23>0x1?void 0x0:_0x32fa23?rs(_0x643f76,_0x294f82):_0x643f76,_0x2f396c=_0x8580b7[_0x3c6660(0x2eb)]-0x1,_0x307f1c;_0x2f396c>=0x0;_0x2f396c--)(_0x307f1c=_0x8580b7[_0x2f396c])&&(_0x3bd413=_0x307f1c(_0x3bd413)||_0x3bd413);return _0x3bd413;},P=(_0x18f24b,_0x1d743)=>(_0xecacb2,_0xe6cabb)=>_0x1d743(_0xecacb2,_0xe6cabb,_0x18f24b),bi=(_0x746a5f=>(_0x746a5f[_0x48c474(0x238)]=_0x48c474(0x22d),_0x746a5f['SYNCED']=_0x48c474(0x36a),_0x746a5f['PENDING']=_0x48c474(0x3ed),_0x746a5f['AWAITING']=_0x48c474(0x1b5),_0x746a5f[_0x48c474(0x1a9)]=_0x48c474(0x2ad),_0x746a5f['FETCH_MISS']=_0x48c474(0x226),_0x746a5f['CONFLICT']='conflict',_0x746a5f[_0x48c474(0x15c)]=_0x48c474(0x3be),_0x746a5f))(bi||{});const Oi=0xea60;class Ce{constructor(_0x365214,_0x578e45,_0x31916f,_0x379bdc,_0xd7805d,_0x51211e,_0x2d2377,_0x11e0f9,_0x1f4aba){var _0x19cf39=_0x48c474;N(this,_0x19cf39(0x179),null),N(this,'_pendingMutations',[]),(this[_0x19cf39(0x356)]=_0x365214,this[_0x19cf39(0x237)]=_0x578e45,this[_0x19cf39(0x344)]=_0xd7805d,this['_commandService']=_0x51211e,this[_0x19cf39(0x2e9)]=_0x2d2377,this['_revisionService']=_0x11e0f9,this[_0x19cf39(0x121)]=_0x1f4aba,this[_0x19cf39(0x179)]=_0x31916f,this[_0x19cf39(0x34e)]=_0x379bdc);}[_0x48c474(0x311)](_0x2f4ac4){var _0x2ce79b=_0x48c474;const _0x55b2e1=this[_0x2ce79b(0x3d6)][_0x2ce79b(0x236)](this[_0x2ce79b(0x356)]);return _0x2f4ac4[_0x2ce79b(0x3bf)]>_0x55b2e1+0x1?(this[_0x2ce79b(0x344)][_0x2ce79b(0x191)]({'from':_0x55b2e1,'to':_0x2f4ac4[_0x2ce79b(0x3bf)]-0x1}),!0x0):!0x1;}[_0x48c474(0x175)](_0x1136fc){var _0x1e120d=_0x48c474;this[_0x1e120d(0x2e9)][_0x1e120d(0x200)](this[_0x1e120d(0x356)],_0x1136fc);}[_0x48c474(0x1e7)](_0x236aed){var _0xc0015=_0x48c474,_0x55599c,_0x3de189;(_0x3de189=(_0x55599c=this[_0xc0015(0x344)])[_0xc0015(0x27d)])==null||_0x3de189['call'](_0x55599c,_0x236aed);}['_transformIMECache'](_0x24d8ea){var _0x3844a4=_0x48c474,_0x1e4d30,_0x288054;return(_0x288054=(_0x1e4d30=this[_0x3844a4(0x344)])[_0x3844a4(0x194)])==null?void 0x0:_0x288054['call'](_0x1e4d30,_0x24d8ea);}[_0x48c474(0x423)](_0x19542f){var _0x454c1b=_0x48c474,_0x4bb16a,_0xa6a11a;return(_0xa6a11a=(_0x4bb16a=this['_handler'])[_0x454c1b(0x401)])==null?void 0x0:_0xa6a11a[_0x454c1b(0x2c1)](_0x4bb16a,_0x19542f);}[_0x48c474(0x13a)](_0x580874){var _0x55f817=_0x48c474,_0x5411f6,_0x2f999e,_0x3e72f5;return(_0x3e72f5=(_0x2f999e=(_0x5411f6=this[_0x55f817(0x344)])[_0x55f817(0x2b5)])==null?void 0x0:_0x2f999e[_0x55f817(0x2c1)](_0x5411f6,_0x580874))!=null?_0x3e72f5:_0x580874;}[_0x48c474(0x1a7)](_0x14b06c){var _0x4c8114=_0x48c474,_0x1b0426,_0x2780a0,_0x446720;return(_0x446720=(_0x2780a0=(_0x1b0426=this['_handler'])[_0x4c8114(0x33a)])==null?void 0x0:_0x2780a0[_0x4c8114(0x2c1)](_0x1b0426,_0x14b06c))!=null?_0x446720:_0x14b06c;}['_syncEditingCollabCursor'](_0x3b8b2a){var _0x2ada44=_0x48c474,_0x589d1e,_0x4025f7;if(this[_0x2ada44(0x237)]===Q[_0x2ada44(0x3d3)]){const {unitID:_0x55278c,mutations:_0xa93882,memberID:_0xe2f2e}=_0x3b8b2a,_0x2a6af7=_0xa93882[0x0][_0x2ada44(0x12f)][_0x2ada44(0x3ad)];Array[_0x2ada44(0x329)](_0x2a6af7)&&_0x2a6af7[_0x2ada44(0x2eb)]>0x0&&((_0x4025f7=(_0x589d1e=this[_0x2ada44(0x344)])[_0x2ada44(0x228)])==null||_0x4025f7[_0x2ada44(0x2c1)](_0x589d1e,{'unitID':_0x55278c,'memberID':_0xe2f2e,'textRanges':_0x2a6af7}));}}[_0x48c474(0x3b3)](){var _0x10834b=_0x48c474,_0x29b220;(_0x29b220=this['_localCacheService'])==null||_0x29b220[_0x10834b(0x414)](this[_0x10834b(0x356)],this['type'],this[_0x10834b(0x179)],this[_0x10834b(0x34e)]);}['_getCurrentRevision'](){var _0x2caca4=_0x48c474;return this['_revisionService']['getCurrentRevOfUnit'](this[_0x2caca4(0x356)]);}[_0x48c474(0x318)](){var _0x11154c=_0x48c474;this[_0x11154c(0x3d6)][_0x11154c(0x13c)](this[_0x11154c(0x356)]);}[_0x48c474(0x151)](_0x6f9596){var _0xb1cb72=_0x48c474,_0x3aabed;let _0x59941e=this[_0xb1cb72(0x13a)](_0x6f9596);_0x59941e=this[_0xb1cb72(0x1a7)](_0x59941e);const _0x5c5559=_0x2f46c3(_0x59941e[_0xb1cb72(0x2ce)],this[_0xb1cb72(0x3ea)],{'fromCollab':!0x0});if(!_0x5c5559[_0xb1cb72(0x2c9)])throw _0x5c5559[_0xb1cb72(0x123)]instanceof Error?_0x5c5559['error']:new Error((_0x3aabed=_0x5c5559[_0xb1cb72(0x123)])!=null?_0x3aabed:'[CollaborationState]:\x20apply\x20error!');this[_0xb1cb72(0x364)](_0x59941e),this[_0xb1cb72(0x423)](_0x59941e),this[_0xb1cb72(0x175)](_0x6f9596),this[_0xb1cb72(0x1e7)](_0x59941e),this['_syncEditingCollabCursor'](_0x59941e),this[_0xb1cb72(0x318)]();}}let Ne=class extends Ce{constructor(_0x155135,_0x2148b6,_0x7458c7,_0x533b44,_0xd351b9,_0x4b1bdc,_0x4b68aa,_0x3643a6,_0x18866c,_0x5d65d9){var _0x4fc489=_0x48c474;super(_0x155135,_0x2148b6,null,[],_0x7458c7,_0x4b68aa,_0x4b1bdc,_0x533b44,_0x5d65d9),N(this,_0x4fc489(0x222),_0x4fc489(0x36a)),(this['_injector']=_0xd351b9,this[_0x4fc489(0x279)]=_0x3643a6,this[_0x4fc489(0x39e)]=_0x18866c,this[_0x4fc489(0x2da)]=_0x5d65d9);}['appendMutation'](_0x1d8a10){var _0x15b7a0=_0x48c474;const _0x128d18=this[_0x15b7a0(0x241)][_0x15b7a0(0x205)](ae,this[_0x15b7a0(0x356)],this[_0x15b7a0(0x237)],[_0x1d8a10],this['_handler']);return _0x128d18[_0x15b7a0(0x2c0)](),_0x128d18[_0x15b7a0(0x3b3)](),_0x128d18;}[_0x48c474(0x1f3)](_0x27658f){var _0x5ace44=_0x48c474;if(this[_0x5ace44(0x311)](_0x27658f))return this[_0x5ace44(0x241)][_0x5ace44(0x205)](ee,this['unitID'],this[_0x5ace44(0x237)],null,[],null,[_0x27658f],this[_0x5ace44(0x344)]);try{const _0x5534ef=this[_0x5ace44(0x39e)][_0x5ace44(0x2d3)](_0x27658f,[ss]);if(_0x4c685f(_0x5534ef)){const {c1Prime:_0x557db4}=_0x5534ef;return this[_0x5ace44(0x151)](_0x557db4),this;}throw _0x5534ef[_0x5ace44(0x123)];}catch(_0x4227b5){return this[_0x5ace44(0x279)][_0x5ace44(0x123)](_0x4227b5),this['_onConflict'](!0x1);}}[_0x48c474(0x1ca)](_0x392503){var _0x16ae1b=_0x48c474;return this[_0x16ae1b(0x241)][_0x16ae1b(0x205)](ue,this[_0x16ae1b(0x356)],this[_0x16ae1b(0x237)],null,[],this['_handler'],_0x392503);}[_0x48c474(0x34b)](){var _0x1fb0c7=_0x48c474;throw new Error(_0x1fb0c7(0x418));}['onRemoteRej'](){var _0x309924=_0x48c474;throw new Error(_0x309924(0x2ea));}[_0x48c474(0x2d0)](){return this;}[_0x48c474(0x14c)](){var _0x38d7d7=_0x48c474;return this[_0x38d7d7(0x241)][_0x38d7d7(0x205)](de,this[_0x38d7d7(0x356)],this[_0x38d7d7(0x237)],null,[],this[_0x38d7d7(0x344)]);}['toggleOnline'](){return this;}[_0x48c474(0x1c1)](){var _0xe73f9a=_0x48c474;throw new Error(_0xe73f9a(0x201));}['fetchMiss'](){var _0x31fb4c=_0x48c474;const _0x11489c=this[_0x31fb4c(0x3d6)]['getCurrentRevOfUnit'](this[_0x31fb4c(0x356)]);return this[_0x31fb4c(0x344)]['onMissingChangesets']({'from':_0x11489c,'to':0x0}),this['_injector'][_0x31fb4c(0x205)](ee,this[_0x31fb4c(0x356)],this[_0x31fb4c(0x237)],null,[],null,[],this[_0x31fb4c(0x344)]);}};Ne=Te([P(0x3,_0x580c65(_0x3322f2)),P(0x4,_0x580c65(_0x18ea22)),P(0x5,_0x46a796),P(0x6,_0x55c1d0),P(0x7,_0x2d643c),P(0x8,_0x3d5c53),P(0x9,_0x520d75(J))],Ne);let ae=class extends Ce{constructor(_0x40cad4,_0x310d1a,_0x1e1630,_0x308051,_0x41a52a,_0x2b3d67,_0x16c126,_0x46e294,_0x36839e,_0x3c043d,_0x483bf2,_0x288c6c,_0x3bfec6,_0x3e5389){var _0x116bad=_0x48c474;super(_0x40cad4,_0x310d1a,null,_0x1e1630,_0x308051,_0x36839e,_0x3bfec6,_0x2b3d67,_0x3e5389),N(this,_0x116bad(0x222),_0x116bad(0x3ed)),N(this,_0x116bad(0x1c5),null),N(this,_0x116bad(0x2b8),null),(this[_0x116bad(0x241)]=_0x41a52a,this['_memberService']=_0x16c126,this['_logService']=_0x46e294,this[_0x116bad(0x370)]=_0x3c043d,this[_0x116bad(0x39e)]=_0x483bf2,this[_0x116bad(0x242)]=_0x288c6c);}['appendMutation'](_0x338644){var _0xa70ad=_0x48c474;return this[_0xa70ad(0x34e)][_0xa70ad(0x37d)](_0x338644),this[_0xa70ad(0x3b3)](),this;}[_0x48c474(0x1f3)](_0x1522af){var _0x11edfd=_0x48c474;if(this['_checkMissing'](_0x1522af))return this[_0x11edfd(0x126)](),this[_0x11edfd(0x241)][_0x11edfd(0x205)](ee,this['unitID'],this[_0x11edfd(0x237)],null,this[_0x11edfd(0x34e)],null,[_0x1522af],this[_0x11edfd(0x344)]);try{const _0x12b89c=this[_0x11edfd(0x39e)][_0x11edfd(0x2d3)](_0x1522af,this[_0x11edfd(0x34e)]);if(_0x4c685f(_0x12b89c)){const {c1Prime:_0x276477,m2Prime:_0x5b4570}=_0x12b89c;this[_0x11edfd(0x151)](_0x276477);const _0x57e041=this[_0x11edfd(0x241)][_0x11edfd(0x205)](ae,this[_0x11edfd(0x356)],this[_0x11edfd(0x237)],_0x5b4570,this['_handler']);this[_0x11edfd(0x126)]();const _0x3efa25=new Date()['getTime'](),_0x157802=this[_0x11edfd(0x1c5)]?Math[_0x11edfd(0x27b)](this[_0x11edfd(0x1c5)]-_0x3efa25,0x0):this[_0x11edfd(0x2b6)]();return _0x57e041[_0x11edfd(0x2c0)](_0x157802),_0x57e041;}throw _0x12b89c['error'];}catch(_0x3d2190){return this['_logService']['error'](_0x3d2190),this['_onConflict'](!0x1);}}[_0x48c474(0x34b)](){throw new Error('[PendingState]:\x20received\x20acknowledgement.');}[_0x48c474(0x40b)](){var _0x30971c=_0x48c474;throw new Error(_0x30971c(0x339));}['onRemoteRetry'](){return this;}[_0x48c474(0x14c)](){var _0x9796b4=_0x48c474;return this[_0x9796b4(0x126)](),this['_injector'][_0x9796b4(0x205)](de,this[_0x9796b4(0x356)],this['type'],null,this[_0x9796b4(0x34e)],this[_0x9796b4(0x344)]);}[_0x48c474(0x2b7)](){return this;}[_0x48c474(0x2c0)](_0x12a795){var _0x507c9d=_0x48c474;const _0x435800=_0x12a795!=null?_0x12a795:this['_getSendChangesetTimeout']();this['_scheduleCompleteTimestamp']=new Date()[_0x507c9d(0x3f3)]()+_0x435800,this[_0x507c9d(0x2b8)]=setTimeout(()=>{var _0x195a17=_0x507c9d;this['_clearScheduledTask']();let _0x4cb262=null;switch(this[_0x195a17(0x237)]){case Q['UNIVER_SHEET']:{_0x4cb262=qt(this['_pendingMutations'],this[_0x195a17(0x356)],this[_0x195a17(0x242)],this[_0x195a17(0x3d6)],this['_memberService']);break;}case Q[_0x195a17(0x3d3)]:{this[_0x195a17(0x34e)][_0x195a17(0x416)](_0x3f97ed=>_0x3f97ed['id']===_0x56aca0['id'])?_0x4cb262=ns(this[_0x195a17(0x34e)],this['unitID'],this[_0x195a17(0x242)],this['_revisionService'],this[_0x195a17(0x223)]):_0x4cb262=qt(this[_0x195a17(0x34e)],this[_0x195a17(0x356)],this[_0x195a17(0x242)],this[_0x195a17(0x3d6)],this[_0x195a17(0x223)]);break;}default:throw new Error('[PendingState]:\x20unhandled\x20univer\x20type:\x20'+this[_0x195a17(0x237)]+_0x195a17(0x2d1));}const {changeset:_0x513115,pendingMutations:_0x54448a}=_0x4cb262;this[_0x195a17(0x344)][_0x195a17(0x2f0)](_0x513115);const _0x3f470c=_0x54448a['length']?this[_0x195a17(0x241)][_0x195a17(0x205)](oe,this['unitID'],this[_0x195a17(0x237)],_0x513115,_0x54448a,this[_0x195a17(0x344)],void 0x0):this['_injector'][_0x195a17(0x205)](le,this[_0x195a17(0x356)],this[_0x195a17(0x237)],_0x513115,this['_handler']);_0x3f470c['_updateLocalCache'](),this[_0x195a17(0x344)][_0x195a17(0x2b0)](this,_0x3f470c);},_0x435800);}[_0x48c474(0x2b6)](){var _0x280617=_0x48c474,_0x84533c;const _0x4d3eb5=this[_0x280617(0x370)][_0x280617(0x299)](q);return(_0x84533c=_0x4d3eb5==null?void 0x0:_0x4d3eb5[_0x280617(0x31a)])!=null?_0x84533c:En;}['resend'](){var _0x27c515=_0x48c474;throw new Error(_0x27c515(0x2bd));}[_0x48c474(0x126)](){var _0x44fa3c=_0x48c474;this['_sendingTimer']!=null&&(clearTimeout(this[_0x44fa3c(0x2b8)]),this[_0x44fa3c(0x2b8)]=null);}[_0x48c474(0x1ca)](_0x18dc3a){var _0x43491d=_0x48c474;return this[_0x43491d(0x126)](),this[_0x43491d(0x241)][_0x43491d(0x205)](ue,this[_0x43491d(0x356)],this[_0x43491d(0x237)],null,this['_pendingMutations'],this[_0x43491d(0x344)],_0x18dc3a);}};ae=Te([P(0x4,_0x580c65(_0x18ea22)),P(0x5,_0x580c65(_0x3322f2)),P(0x6,_0x580c65(Le)),P(0x7,_0x2d643c),P(0x8,_0x55c1d0),P(0x9,_0x288252),P(0xa,_0x3d5c53),P(0xb,_0x2ac2f4),P(0xc,_0x46a796),P(0xd,_0x520d75(J))],ae);let le=class extends Ce{constructor(_0x333942,_0x1001e3,_0x19ac0b,_0x49536e,_0x21e7e9,_0x42907f,_0x1b9528,_0x4b9210,_0x382707,_0x2d5e4e,_0x196787){var _0x5b5260=_0x48c474;super(_0x333942,_0x1001e3,_0x19ac0b,[],_0x49536e,_0x1b9528,_0x2d5e4e,_0x42907f,_0x196787),N(this,'status',_0x5b5260(0x1b5)),N(this,_0x5b5260(0x3c9),0x0),N(this,'_resendTimer'),N(this,_0x5b5260(0x282)),(this[_0x5b5260(0x241)]=_0x21e7e9,this[_0x5b5260(0x279)]=_0x4b9210,this['_transformService']=_0x382707);}['appendMutation'](_0x5eea28){var _0x1c2a26=_0x48c474;this['_clearScheduledTask']();const _0x58dde3=this['_injector'][_0x1c2a26(0x205)](oe,this[_0x1c2a26(0x356)],this[_0x1c2a26(0x237)],this[_0x1c2a26(0x179)],[_0x5eea28],this[_0x1c2a26(0x344)],this['_resendTimer']);return _0x58dde3[_0x1c2a26(0x3b3)](),_0x58dde3;}[_0x48c474(0x1f3)](_0x37d158){var _0x13500a=_0x48c474;if(this['_checkMissing'](_0x37d158))return this[_0x13500a(0x126)](),this[_0x13500a(0x241)][_0x13500a(0x205)](ee,this[_0x13500a(0x356)],this[_0x13500a(0x237)],this['_awaitingChangeset'],[],null,[_0x37d158],this[_0x13500a(0x344)]);try{const _0x2eadfa=this[_0x13500a(0x39e)][_0x13500a(0x3f6)]([_0x37d158],[this[_0x13500a(0x179)]],!0x1);if(_0xdd34c9(_0x2eadfa)){const {c1Prime:_0xd1bf91,c2Prime:_0x131f75}=_0x2eadfa;this[_0x13500a(0x151)](_0xd1bf91[0x0]),_0x131f75[0x0][_0x13500a(0x302)]=this[_0x13500a(0x2c4)](),this['_clearScheduledTask']();const _0x50dfa6=this[_0x13500a(0x241)][_0x13500a(0x205)](le,this[_0x13500a(0x356)],this[_0x13500a(0x237)],_0x131f75[0x0],this[_0x13500a(0x344)]);return _0x50dfa6[_0x13500a(0x3b3)](),_0x50dfa6;}return this[_0x13500a(0x1ca)](!0x1);}catch(_0x44e643){return this['_logService']['error'](_0x44e643),this[_0x13500a(0x1ca)](!0x1);}}['onRemoteAck'](_0x276a03){var _0x330b3d=_0x48c474;this[_0x330b3d(0x126)]();const _0x3db47d=this['_revisionService'][_0x330b3d(0x236)](this[_0x330b3d(0x356)]);if(_0x276a03[_0x330b3d(0x3bf)]<_0x3db47d-0x1)return this;if(this['_checkMissing'](_0x276a03))return this[_0x330b3d(0x241)][_0x330b3d(0x205)](ee,this[_0x330b3d(0x356)],this['type'],null,[],this[_0x330b3d(0x179)],[],this[_0x330b3d(0x344)]);this[_0x330b3d(0x318)]();const _0x155a20=this['_injector'][_0x330b3d(0x205)](Ne,this[_0x330b3d(0x356)],this[_0x330b3d(0x237)],this[_0x330b3d(0x344)]);return _0x155a20[_0x330b3d(0x3b3)](),_0x155a20;}[_0x48c474(0x40b)](_0x5d293e){var _0x267b70=_0x48c474;return this[_0x267b70(0x1ca)](!!(_0x5d293e!=null&&_0x5d293e[_0x267b70(0x40e)]));}[_0x48c474(0x2d0)](_0xebc20a){var _0x1affd6=_0x48c474;return this['_resendTimeout']>Oi?this[_0x1affd6(0x14c)]():(this[_0x1affd6(0x20b)]=Ri(this[_0x1affd6(0x3c9)],{'timeout':this[_0x1affd6(0x3c9)],'reqId':_0xebc20a['reqId']}),this[_0x1affd6(0x282)]=this[_0x1affd6(0x20b)][_0x1affd6(0x278)](({reqId:_0x12366a,timeout:_0xa4b424})=>{this['_resendWithTimeout'](_0x12366a,_0xa4b424);}),this);}[_0x48c474(0x14c)](){var _0x24c94a=_0x48c474;return this[_0x24c94a(0x126)](),this[_0x24c94a(0x241)][_0x24c94a(0x205)](de,this[_0x24c94a(0x356)],this[_0x24c94a(0x237)],this[_0x24c94a(0x179)],[],this[_0x24c94a(0x344)]);}[_0x48c474(0x2b7)](){return this;}[_0x48c474(0x1c1)](){var _0x2c5c82=_0x48c474;this[_0x2c5c82(0x344)][_0x2c5c82(0x2f0)](this[_0x2c5c82(0x179)]);}[_0x48c474(0x1ca)](_0x28b3b8){var _0x2aea1e=_0x48c474;return this[_0x2aea1e(0x126)](),this[_0x2aea1e(0x241)][_0x2aea1e(0x205)](ue,this[_0x2aea1e(0x356)],this[_0x2aea1e(0x237)],this[_0x2aea1e(0x179)],[],this[_0x2aea1e(0x344)],_0x28b3b8);}[_0x48c474(0x2bc)](_0x2bbf88,_0x565769){var _0x40475e=_0x48c474,_0x21797f;_0x2bbf88===((_0x21797f=this[_0x40475e(0x179)])==null?void 0x0:_0x21797f[_0x40475e(0x32d)])&&(this[_0x40475e(0x1c1)](),this[_0x40475e(0x3c9)]=_0x565769===0x0?0x3e8:_0x565769*0x2);}[_0x48c474(0x126)](){var _0x4ef9d2=_0x48c474,_0x52692b;(_0x52692b=this[_0x4ef9d2(0x282)])==null||_0x52692b[_0x4ef9d2(0x306)](),this[_0x4ef9d2(0x3c9)]=0x0;}};le=Te([P(0x4,_0x580c65(_0x18ea22)),P(0x5,_0x580c65(_0x3322f2)),P(0x6,_0x55c1d0),P(0x7,_0x2d643c),P(0x8,_0x3d5c53),P(0x9,_0x46a796),P(0xa,_0x520d75(J))],le);let oe=class extends Ce{constructor(_0x3d75c4,_0x35b51a,_0x51a614,_0x5d195f,_0x2c838c,_0x3f3c21,_0x28c044,_0x5ddcaa,_0x3a8b73,_0x9fd84e,_0x54898b,_0x587333,_0x32efb6){var _0x3934ae=_0x48c474;super(_0x3d75c4,_0x35b51a,_0x51a614,_0x5d195f,_0x2c838c,_0x3a8b73,_0x587333,_0x5ddcaa,_0x32efb6),N(this,_0x3934ae(0x222),_0x3934ae(0x2ad)),N(this,_0x3934ae(0x3c9),0x0),N(this,'_resendTimer'),N(this,_0x3934ae(0x282)),(this[_0x3934ae(0x241)]=_0x28c044,this['_logService']=_0x9fd84e,this[_0x3934ae(0x39e)]=_0x54898b,this[_0x3934ae(0x2da)]=_0x32efb6,_0x3f3c21&&(this[_0x3934ae(0x20b)]=_0x3f3c21,this[_0x3934ae(0x282)]=this[_0x3934ae(0x20b)]['subscribe'](({reqId:_0x2a8fe5,timeout:_0x5a885c})=>{var _0x59f01f=_0x3934ae;this[_0x59f01f(0x2bc)](_0x2a8fe5,_0x5a885c);})));}[_0x48c474(0x23e)](_0x38142e){var _0x2e0546=_0x48c474;return this[_0x2e0546(0x34e)]['push'](_0x38142e),this;}['onRemoteChangeset'](_0x27c4d4){var _0x8d5a2e=_0x48c474;if(this[_0x8d5a2e(0x311)](_0x27c4d4))return this[_0x8d5a2e(0x126)](),this[_0x8d5a2e(0x241)][_0x8d5a2e(0x205)](ee,this[_0x8d5a2e(0x356)],this[_0x8d5a2e(0x237)],this[_0x8d5a2e(0x179)],this['_pendingMutations'],null,[_0x27c4d4],this[_0x8d5a2e(0x344)]);try{const _0x9ac609=this[_0x8d5a2e(0x39e)][_0x8d5a2e(0x3f6)]([_0x27c4d4],[this['_awaitingChangeset']],!0x1);if(_0xdd34c9(_0x9ac609)){const {c1Prime:_0x2e85cd,c2Prime:_0x2c5ff1}=_0x9ac609,_0x18ac47=this[_0x8d5a2e(0x39e)][_0x8d5a2e(0x2d3)](_0x2e85cd[0x0],this['_pendingMutations']);if(_0x4c685f(_0x18ac47)){const {c1Prime:_0x1a3791,m2Prime:_0x5e55fb}=_0x18ac47;return this['_executeRemoteChangeset'](_0x1a3791),_0x2c5ff1[0x0][_0x8d5a2e(0x302)]=this[_0x8d5a2e(0x2c4)](),this[_0x8d5a2e(0x126)](),this[_0x8d5a2e(0x241)]['createInstance'](oe,this[_0x8d5a2e(0x356)],this[_0x8d5a2e(0x237)],_0x2c5ff1[0x0],_0x5e55fb,this[_0x8d5a2e(0x344)],void 0x0);}throw _0x18ac47['error'];}throw _0x9ac609['error'];}catch(_0x30a0a5){return this[_0x8d5a2e(0x279)][_0x8d5a2e(0x123)](_0x30a0a5),this[_0x8d5a2e(0x1ca)](!0x1);}}['onRemoteAck'](_0x3f749a){var _0x27053=_0x48c474;if(this[_0x27053(0x126)](),this['_checkMissing'](_0x3f749a))return this['_injector'][_0x27053(0x205)](ee,this[_0x27053(0x356)],this[_0x27053(0x237)],null,this[_0x27053(0x34e)],this[_0x27053(0x179)],[],this[_0x27053(0x344)]);this[_0x27053(0x318)]();const _0x301664=this[_0x27053(0x241)]['createInstance'](ae,this[_0x27053(0x356)],this[_0x27053(0x237)],this[_0x27053(0x34e)],this['_handler']);return _0x301664[_0x27053(0x2c0)](),_0x301664[_0x27053(0x3b3)](),_0x301664;}[_0x48c474(0x40b)](_0x5e73f0){var _0x58bbf9=_0x48c474;return this[_0x58bbf9(0x1ca)](!!(_0x5e73f0!=null&&_0x5e73f0[_0x58bbf9(0x40e)]));}[_0x48c474(0x2d0)](_0x53a742){var _0x3df5be=_0x48c474;return this[_0x3df5be(0x3c9)]>Oi?this[_0x3df5be(0x14c)]():(this[_0x3df5be(0x20b)]=Ri(this[_0x3df5be(0x3c9)],{'timeout':this[_0x3df5be(0x3c9)],'reqId':_0x53a742['reqId']}),this[_0x3df5be(0x282)]=this[_0x3df5be(0x20b)][_0x3df5be(0x278)](({reqId:_0x488222,timeout:_0x475a2b})=>{var _0x3482ca=_0x3df5be;this[_0x3482ca(0x2bc)](_0x488222,_0x475a2b);}),this);}[_0x48c474(0x14c)](){var _0x51967d=_0x48c474;return this[_0x51967d(0x126)](),this['_injector'][_0x51967d(0x205)](de,this[_0x51967d(0x356)],this['type'],this[_0x51967d(0x179)],this['_pendingMutations'],this['_handler']);}['toggleOnline'](){return this;}[_0x48c474(0x1c1)](){var _0x13e898=_0x48c474;this['_handler']['onSendChangeset'](this[_0x13e898(0x179)]);}[_0x48c474(0x1ca)](_0x121de3){var _0x6870c5=_0x48c474;return this[_0x6870c5(0x126)](),this[_0x6870c5(0x241)][_0x6870c5(0x205)](ue,this[_0x6870c5(0x356)],this[_0x6870c5(0x237)],null,this[_0x6870c5(0x34e)],this[_0x6870c5(0x344)],_0x121de3);}[_0x48c474(0x2bc)](_0x429efa,_0xb8f42b){var _0x510deb=_0x48c474,_0x18e9c3;_0x429efa===((_0x18e9c3=this[_0x510deb(0x179)])==null?void 0x0:_0x18e9c3[_0x510deb(0x32d)])&&(this[_0x510deb(0x1c1)](),this[_0x510deb(0x3c9)]=_0xb8f42b===0x0?0x3e8:_0xb8f42b*0x2);}[_0x48c474(0x126)](){var _0x18fc19=_0x48c474,_0x398bf3;(_0x398bf3=this[_0x18fc19(0x282)])==null||_0x398bf3[_0x18fc19(0x306)](),this[_0x18fc19(0x3c9)]=0x0;}};oe=Te([P(0x6,_0x580c65(_0x18ea22)),P(0x7,_0x580c65(_0x3322f2)),P(0x8,_0x55c1d0),P(0x9,_0x2d643c),P(0xa,_0x3d5c53),P(0xb,_0x46a796),P(0xc,_0x520d75(J))],oe);let ue=class extends Ce{constructor(_0x1075e4,_0x14ac05,_0x2003ae,_0x227dd6,_0x28491c,_0x2b9aaf=!0x1,_0x3093cf,_0x21bd7f,_0x3d3562,_0xa5422,_0x34f467,_0x48540c,_0x5ee73a){var _0x596035=_0x48c474;super(_0x1075e4,_0x14ac05,_0x2003ae,_0x227dd6,_0x28491c,_0x21bd7f,_0x3d3562,_0xa5422,_0x5ee73a),N(this,_0x596035(0x222),'conflict'),(this[_0x596035(0x3e5)]=_0x2b9aaf,this['_permissionService']=_0x3093cf,this[_0x596035(0x3a4)]=_0x34f467,this[_0x596035(0x22c)]=_0x48540c,this[_0x596035(0x2da)]=_0x5ee73a,this[_0x596035(0x18d)](),this['_clearLocalCache'](),this[_0x596035(0x271)]());}[_0x48c474(0x23e)](){return this;}['onRemoteChangeset'](){return this;}[_0x48c474(0x34b)](){return this;}[_0x48c474(0x40b)](){return this;}['onRemoteRetry'](){return this;}['toggleOffline'](){return this;}[_0x48c474(0x2b7)](){return this;}[_0x48c474(0x1c1)](){var _0x1097ef=_0x48c474;throw new Error(_0x1097ef(0x171));}[_0x48c474(0x146)](){var _0x4587ad=_0x48c474,_0x28cf64;(_0x28cf64=this[_0x4587ad(0x121)])==null||_0x28cf64[_0x4587ad(0x414)](this[_0x4587ad(0x356)],this[_0x4587ad(0x237)],null,[]);}['_showConflictNotification'](){var _0x365803=_0x48c474;this[_0x365803(0x3e5)]?this['_collaborationUIEventService'][_0x365803(0x1c9)]({'id':re[_0x365803(0x1f1)]}):this[_0x365803(0x22c)][_0x365803(0x1c9)]({'id':re[_0x365803(0x209)]});}[_0x48c474(0x271)](){var _0xeacd7e=_0x48c474;this[_0xeacd7e(0x2fc)][_0xeacd7e(0x2e3)](new _0x26111c(this[_0xeacd7e(0x356)])['id'],!0x1);}};ue=Te([P(0x6,_0x580c65(_0x50ac03)),P(0x7,_0x55c1d0),P(0x8,_0x46a796),P(0x9,_0x580c65(_0x3322f2)),P(0xa,_0x580c65(_0x24f520)),P(0xb,_0x580c65(pe)),P(0xc,_0x520d75(J))],ue);let de=class extends Ce{constructor(_0x57dcee,_0x140465,_0x1b4166,_0x4bfdb8,_0x2dc61a,_0x122586,_0x3ca17e,_0x32adf0,_0x46b7ea,_0x56303d){var _0x29d1b6=_0x48c474;super(_0x57dcee,_0x140465,_0x1b4166,_0x4bfdb8,_0x2dc61a,_0x32adf0,_0x46b7ea,_0x3ca17e,_0x56303d),N(this,_0x29d1b6(0x222),_0x29d1b6(0x3be)),this[_0x29d1b6(0x241)]=_0x122586;}[_0x48c474(0x23e)](_0xe6030f){var _0x3ab497=_0x48c474;return this[_0x3ab497(0x34e)]['push'](_0xe6030f),this[_0x3ab497(0x3b3)](),this;}[_0x48c474(0x1f3)](_0x36db1e){var _0x1d8bf9=_0x48c474;throw new Error(_0x1d8bf9(0x3ac));}[_0x48c474(0x34b)](){var _0x18dfc0=_0x48c474;throw new Error(_0x18dfc0(0x394));}[_0x48c474(0x40b)](){var _0x178259=_0x48c474;throw new Error(_0x178259(0x265));}[_0x48c474(0x2d0)](){return this;}[_0x48c474(0x14c)](){return this;}[_0x48c474(0x2b7)](){var _0x178694=_0x48c474;const {_injector:_0xb270f1,_pendingMutations:_0xaf19f5,_awaitingChangeset:_0x29314f,unitID:_0x517927,_handler:_0x383722,type:_0x44cd19}=this,_0x2d1be7=yi(_0xb270f1,_0x517927,_0x44cd19,_0x29314f,_0xaf19f5,_0x383722);return _0x2d1be7 instanceof ae?_0x2d1be7[_0x178694(0x2c0)]():(_0x2d1be7 instanceof oe||_0x2d1be7 instanceof le)&&_0x2d1be7[_0x178694(0x1c1)](),_0x2d1be7;}[_0x48c474(0x1c1)](){throw new Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}};de=Te([P(0x5,_0x580c65(_0x18ea22)),P(0x6,_0x580c65(_0x3322f2)),P(0x7,_0x55c1d0),P(0x8,_0x46a796),P(0x9,_0x520d75(J))],de);let ee=class extends Ce{constructor(_0x2d910a,_0x422569,_0x122ee2,_0x36b480,_0x2837b4,_0x1fcd3a,_0x479921,_0x13d65c,_0x3dcc50,_0x245f5d,_0x3f5204,_0x35887c,_0x12fa54,_0x158d94){var _0x2166e6=_0x48c474;super(_0x2d910a,_0x422569,_0x122ee2,_0x36b480,_0x479921,_0x3f5204,_0x35887c,_0x3dcc50,_0x158d94),N(this,_0x2166e6(0x222),_0x2166e6(0x226)),(this[_0x2166e6(0x381)]=_0x2837b4,this[_0x2166e6(0x337)]=_0x1fcd3a,this[_0x2166e6(0x241)]=_0x13d65c,this[_0x2166e6(0x279)]=_0x245f5d,this[_0x2166e6(0x39e)]=_0x12fa54,this[_0x2166e6(0x2da)]=_0x158d94);}[_0x48c474(0x2c2)](_0x2589e7){var _0x14a30b=_0x48c474;try{const _0x517acc=[..._0x2589e7,...this['_queuedRemoteChangesets']],_0x28e2a4=[this['_awaitingChangeset']||this[_0x14a30b(0x381)]][_0x14a30b(0x1a3)](_0x38e891=>!!_0x38e891);let _0x244c82,_0x471ffc;if(_0x28e2a4[_0x14a30b(0x2eb)]){const _0x48ab87=this[_0x14a30b(0x39e)]['transformChangesets'](_0x517acc,_0x28e2a4,!0x1);if(!_0xdd34c9(_0x48ab87))throw _0x48ab87['error'];_0x244c82=_0x48ab87['c1Prime'],_0x471ffc=_0x48ab87[_0x14a30b(0x3e1)];}else _0x244c82=_0x517acc,_0x471ffc=[];let _0x4aba27=this[_0x14a30b(0x34e)];_0x244c82[_0x14a30b(0x3d9)](_0x1ba6d3=>{var _0x4e7648=_0x14a30b;let _0x354d30;if(_0x4aba27[_0x4e7648(0x2eb)]){const _0x1d8d28=this['_transformService'][_0x4e7648(0x2d3)](_0x1ba6d3,_0x4aba27);if(!_0x4c685f(_0x1d8d28))throw _0x1d8d28['error'];_0x354d30=_0x1d8d28['c1Prime'],_0x4aba27=_0x1d8d28[_0x4e7648(0x162)];}else _0x354d30=_0x1ba6d3;this[_0x4e7648(0x151)](_0x354d30);}),this[_0x14a30b(0x381)]&&this[_0x14a30b(0x318)](),this[_0x14a30b(0x179)]&&_0x471ffc[_0x14a30b(0x2eb)]&&(_0x471ffc[0x0]['baseRev']=this['_getCurrentRevision']());let _0x321d3f;if(this['_awaitingChangeset']&&_0x4aba27[_0x14a30b(0x2eb)]!==0x0)_0x321d3f=this[_0x14a30b(0x241)][_0x14a30b(0x205)](oe,this['unitID'],this[_0x14a30b(0x237)],_0x471ffc[0x0],_0x4aba27,this['_handler'],void 0x0);else{if(this[_0x14a30b(0x179)]&&_0x4aba27['length']===0x0)_0x471ffc[0x0][_0x14a30b(0x302)]=this[_0x14a30b(0x2c4)](),_0x321d3f=this[_0x14a30b(0x241)][_0x14a30b(0x205)](le,this[_0x14a30b(0x356)],this[_0x14a30b(0x237)],_0x471ffc[0x0],this[_0x14a30b(0x344)]);else{if(_0x4aba27[_0x14a30b(0x2eb)]!==0x0){const _0xf97e0a=this['_injector'][_0x14a30b(0x205)](ae,this[_0x14a30b(0x356)],this[_0x14a30b(0x237)],_0x4aba27,this['_handler']);_0xf97e0a[_0x14a30b(0x2c0)](),_0x321d3f=_0xf97e0a;}else _0x321d3f=this[_0x14a30b(0x241)]['createInstance'](Ne,this[_0x14a30b(0x356)],this[_0x14a30b(0x237)],this['_handler']);}}return _0x321d3f[_0x14a30b(0x3b3)](),_0x321d3f;}catch(_0x581c5d){return this[_0x14a30b(0x279)][_0x14a30b(0x123)](_0x14a30b(0x3f2),_0x14a30b(0x3a9),_0x581c5d),this[_0x14a30b(0x241)][_0x14a30b(0x205)](ue,this[_0x14a30b(0x356)],this[_0x14a30b(0x237)],this[_0x14a30b(0x179)],this['_pendingMutations'],this[_0x14a30b(0x344)],!0x1);}}[_0x48c474(0x1c1)](){var _0x59407b=_0x48c474;throw new Error(_0x59407b(0x39a));}[_0x48c474(0x23e)](_0xeeaf47){var _0x21e953=_0x48c474;return this[_0x21e953(0x34e)][_0x21e953(0x37d)](_0xeeaf47),this;}[_0x48c474(0x1f3)](_0x1905c9){var _0x103731=_0x48c474;return this[_0x103731(0x337)][_0x103731(0x37d)](_0x1905c9),this;}[_0x48c474(0x34b)](_0x2c1d33){var _0x5f1289=_0x48c474;if(this[_0x5f1289(0x179)])return this[_0x5f1289(0x381)]=this[_0x5f1289(0x179)],this[_0x5f1289(0x179)]=null,this;throw new Error(_0x5f1289(0x137));}[_0x48c474(0x40b)](_0x244394){var _0x21e4cb=_0x48c474;return this[_0x21e4cb(0x1ca)](!!(_0x244394!=null&&_0x244394[_0x21e4cb(0x40e)]));}[_0x48c474(0x2d0)](){return this;}[_0x48c474(0x14c)](){var _0xc2b769=_0x48c474;return this['_injector']['createInstance'](de,this['unitID'],this[_0xc2b769(0x237)],this[_0xc2b769(0x179)],this[_0xc2b769(0x34e)],this[_0xc2b769(0x344)]);}[_0x48c474(0x2b7)](){return this;}['_onConflict'](_0x8bd764){var _0x1a0b39=_0x48c474;return this[_0x1a0b39(0x241)][_0x1a0b39(0x205)](ue,this[_0x1a0b39(0x356)],this[_0x1a0b39(0x237)],this[_0x1a0b39(0x179)],this[_0x1a0b39(0x34e)],this[_0x1a0b39(0x344)],_0x8bd764);}};ee=Te([P(0x7,_0x580c65(_0x18ea22)),P(0x8,_0x580c65(_0x3322f2)),P(0x9,_0x2d643c),P(0xa,_0x55c1d0),P(0xb,_0x46a796),P(0xc,_0x3d5c53),P(0xd,_0x520d75(J))],ee);function yi(_0x424760,_0x23e635,_0x2a73c2,_0x428329,_0x219070,_0x441424){var _0x5d6588=_0x48c474;return _0x428329&&_0x219070[_0x5d6588(0x2eb)]?_0x424760[_0x5d6588(0x205)](oe,_0x23e635,_0x2a73c2,_0x428329,_0x219070,_0x441424,void 0x0):_0x428329?_0x424760['createInstance'](le,_0x23e635,_0x2a73c2,_0x428329,_0x441424):_0x219070['length']?_0x424760[_0x5d6588(0x205)](ae,_0x23e635,_0x2a73c2,_0x219070,_0x441424):_0x424760['createInstance'](Ne,_0x23e635,_0x2a73c2,_0x441424);}var as=Object[_0x48c474(0x22b)],Lt=(_0x281c59,_0x514454,_0x18bc66,_0x1a6721)=>{var _0x444ab7=_0x48c474;for(var _0xfd4d23=_0x1a6721>0x1?void 0x0:_0x1a6721?as(_0x514454,_0x18bc66):_0x514454,_0x19d788=_0x281c59[_0x444ab7(0x2eb)]-0x1,_0x2ecaf1;_0x19d788>=0x0;_0x19d788--)(_0x2ecaf1=_0x281c59[_0x19d788])&&(_0xfd4d23=_0x2ecaf1(_0xfd4d23)||_0xfd4d23);return _0xfd4d23;},H=(_0x4f0e9e,_0x2512d2)=>(_0x1b63a4,_0x193b2b)=>_0x2512d2(_0x1b63a4,_0x193b2b,_0x4f0e9e);let nt=class extends _0x4bb33c{constructor(_0x3e562d,_0x25689b,_0x2593f6,_0x26059e,_0x1c566b,_0x7efc2a,_0x3e0138,_0x23e8c5,_0x2cebab,_0x1e964a,_0x5c36e8,_0x537b7f,_0x4d90d2){var _0x5ce112=_0x48c474;super(),N(this,'_state$',new _0xbef376(null)),N(this,_0x5ce112(0x1d8),this[_0x5ce112(0x156)]['asObservable']()),N(this,_0x5ce112(0x36d)),N(this,_0x5ce112(0x17d),!0x1),N(this,_0x5ce112(0x1d3),''),N(this,_0x5ce112(0x2dd),0x0),N(this,_0x5ce112(0x136),this[_0x5ce112(0x1d8)][_0x5ce112(0x1fd)](_0x3546f3(_0x280a23=>_0x280a23?_0x280a23[_0x5ce112(0x222)]:bi[_0x5ce112(0x15c)]),_0x2a8c53(0x1))),N(this,'_transitionLocked',!0x1),N(this,_0x5ce112(0x368),[]),(this[_0x5ce112(0x356)]=_0x3e562d,this[_0x5ce112(0x323)]=_0x25689b,this[_0x5ce112(0x29e)]=_0x2593f6,this['_injector']=_0x26059e,this[_0x5ce112(0x1e6)]=_0x1c566b,this[_0x5ce112(0x3a4)]=_0x7efc2a,this['_revisionService']=_0x3e0138,this[_0x5ce112(0x165)]=_0x23e8c5,this[_0x5ce112(0x279)]=_0x2cebab,this[_0x5ce112(0x3ea)]=_0x1e964a,this['_permissionService']=_0x5c36e8,this[_0x5ce112(0x32b)]=_0x537b7f,this[_0x5ce112(0x121)]=_0x4d90d2);}get[_0x48c474(0x2ba)](){return this['_state'];}async['init'](){var _0x831c83=_0x48c474;if(this[_0x831c83(0x2ba)])throw new Error(_0x831c83(0x3b5));await this[_0x831c83(0x2b3)]();}[_0x48c474(0x3fa)](){var _0x360812=_0x48c474;return this[_0x360812(0x17d)]=!0x0,_0x1a2070(()=>{var _0x1a23a7=_0x360812;this[_0x1a23a7(0x17d)]=!0x1,this[_0x1a23a7(0x2ee)]();});}['onLocalMutation'](_0x4bc4fc){var _0x5cb993=_0x48c474;this[_0x5cb993(0x1c2)](_0x4bc4fc);}[_0x48c474(0x21d)](_0x4aa9b2){var _0x3247df=_0x48c474;this[_0x3247df(0x36d)]=_0x4aa9b2,this[_0x3247df(0x156)]['next'](_0x4aa9b2);}async[_0x48c474(0x2b3)](){var _0x40a2a9=_0x48c474,_0x8517ca;this[_0x40a2a9(0x21d)](await this[_0x40a2a9(0x1de)]()),this[_0x40a2a9(0x32b)]&&((_0x8517ca=this['_singleActiveUnitService'])==null||_0x8517ca[_0x40a2a9(0x138)](this[_0x40a2a9(0x356)]),this[_0x40a2a9(0x296)](this[_0x40a2a9(0x32b)]['getUnitStatus$'](this[_0x40a2a9(0x356)])[_0x40a2a9(0x278)](_0x145b68=>{var _0x51e8fb=_0x40a2a9;this[_0x51e8fb(0x279)][_0x51e8fb(0x415)](_0x51e8fb(0x211),_0x51e8fb(0x41f),_0x145b68),_0x145b68===Ci['OTHER_CLIENTS_EDITING']?(this['_eventService'][_0x51e8fb(0x1c9)]({'id':re[_0x51e8fb(0x2ff)]}),this['_permissionService'][_0x51e8fb(0x2e3)](new _0x26111c(this[_0x51e8fb(0x356)])['id'],!0x1),this[_0x51e8fb(0x2fc)][_0x51e8fb(0x3b8)](!0x1)):(this[_0x51e8fb(0x2fc)][_0x51e8fb(0x2e3)](new _0x26111c(this[_0x51e8fb(0x356)])['id'],!0x0),this['_permissionService']['setShowComponents'](!0x0));})));let _0xf187e0=!0x1;return this[_0x40a2a9(0x296)](this['session']['sessionStatus$']['subscribe'](_0x41eab8=>{var _0x2239c5=_0x40a2a9;_0x41eab8===Ee[_0x2239c5(0x2d2)]?this[_0x2239c5(0x301)](_0xf187e0):_0x41eab8===Ee[_0x2239c5(0x15c)]&&(_0xf187e0=!0x0,this['_toggleOffline']());})),this[_0x40a2a9(0x296)](this[_0x40a2a9(0x323)]['event$'][_0x40a2a9(0x278)](_0x53e97c=>{var _0x289605=_0x40a2a9;try{switch(_0x53e97c[_0x289605(0x2f7)]){case _0x45c809[_0x289605(0x177)]:{this[_0x289605(0x283)](_0x4757bd(_0x53e97c['data']));break;}case _0x45c809[_0x289605(0x240)]:{this[_0x289605(0x338)](_0x53e97c[_0x289605(0x2f6)]);break;}case _0x45c809[_0x289605(0x35e)]:{this[_0x289605(0x144)]();break;}case _0x45c809[_0x289605(0x3e4)]:{this['_onRemoteRetry'](_0x53e97c[_0x289605(0x2f6)]);break;}case _0x45c809['PSEUDO_FETCH_MISSING_RESULT']:{this[_0x289605(0x3b1)](_0x53e97c[_0x289605(0x2f6)][_0x289605(0x376)][_0x289605(0x19d)](_0x2ba45b=>_0x4757bd(_0x2ba45b)));break;}case _0x45c809[_0x289605(0x1e4)]:{this[_0x289605(0x144)]({'isPermissionRej':!0x0});break;}case _0x45c809[_0x289605(0x269)]:break;}}catch(_0x4198c4){throw console[_0x289605(0x123)](_0x289605(0x29f),_0x4198c4),_0x4198c4;}})),this[_0x40a2a9(0x36d)];}[_0x48c474(0x2e4)](){var _0x459033=_0x48c474;this[_0x459033(0x2c3)]=!0x1;}[_0x48c474(0x3a2)](){var _0x5499b5=_0x48c474;if(this['_transitionLocked'])throw new Error(_0x5499b5(0x37f));this[_0x5499b5(0x2c3)]=!0x0;}[_0x48c474(0x1c2)](_0x2af386){var _0x4cb23b=_0x48c474;this[_0x4cb23b(0x3a2)](),this['_updateState'](this[_0x4cb23b(0x36d)][_0x4cb23b(0x23e)](_0x2af386)),this[_0x4cb23b(0x2e4)]();}[_0x48c474(0x283)](_0xe614e0){var _0x41668f=_0x48c474;if(!(_0xe614e0[_0x41668f(0x3bf)]<=this[_0x41668f(0x3d6)]['getCurrentRevOfUnit'](this[_0x41668f(0x356)]))){if(this['_collaborationPaused']){this[_0x41668f(0x368)][_0x41668f(0x37d)](_0xe614e0);return;}this[_0x41668f(0x2a1)](_0xe614e0);}}[_0x48c474(0x2ee)](){var _0x1c7243=_0x48c474;this[_0x1c7243(0x368)][_0x1c7243(0x3d9)](_0x2c0862=>this[_0x1c7243(0x2a1)](_0x2c0862)),this[_0x1c7243(0x368)]=[];}['_applyRemoteChangeset'](_0xb621a2){var _0x480e90=_0x48c474;const _0x14c5f5=this['_compressMutationService'][_0x480e90(0x397)]['fetchThroughInterceptors'](this[_0x480e90(0x1e6)][_0x480e90(0x397)][_0x480e90(0x17b)]()[_0x480e90(0x1e0)])(_0xb621a2[_0x480e90(0x2ce)],null)||_0xb621a2[_0x480e90(0x2ce)],_0x4d01ab={..._0xb621a2,'mutations':_0x14c5f5};this[_0x480e90(0x3a2)](),this['_updateState'](this['_state']['onRemoteChangeset'](_0x4d01ab)),this[_0x480e90(0x2e4)]();}[_0x48c474(0x338)](_0x276887){var _0xbd2fdb=_0x48c474;this[_0xbd2fdb(0x3a2)](),this['_updateState'](this[_0xbd2fdb(0x36d)][_0xbd2fdb(0x34b)](_0x276887)),this[_0xbd2fdb(0x2e4)]();}[_0x48c474(0x144)](_0x15c004){var _0x1eff70=_0x48c474;this['_lockTransition'](),this[_0x1eff70(0x21d)](this['_state'][_0x1eff70(0x40b)](_0x15c004)),this[_0x1eff70(0x2e4)]();}['_onRemoteRetry'](_0x7ac79e){var _0x38e688=_0x48c474;this[_0x38e688(0x3a2)](),this[_0x38e688(0x21d)](this[_0x38e688(0x36d)][_0x38e688(0x2d0)](_0x7ac79e)),this['_unlockTransition']();}['_onFetchMissResult'](_0x43af20){var _0x5c592e=_0x48c474;if(!(this['_state']instanceof ee))throw new TypeError(_0x5c592e(0x303));const _0x59f32f=_0x43af20['map'](_0x2e659c=>{var _0x3f085d=_0x5c592e;const _0x363935=this[_0x3f085d(0x1e6)]['interceptor']['fetchThroughInterceptors'](this[_0x3f085d(0x1e6)]['interceptor'][_0x3f085d(0x17b)]()[_0x3f085d(0x1e0)])(_0x2e659c[_0x3f085d(0x2ce)],null)||_0x2e659c[_0x3f085d(0x2ce)];return{..._0x2e659c,'mutations':_0x363935};});this[_0x5c592e(0x3a2)](),this[_0x5c592e(0x21d)](this[_0x5c592e(0x36d)][_0x5c592e(0x2c2)](_0x59f32f)),this[_0x5c592e(0x2e4)]();}[_0x48c474(0x3c8)](){var _0x207f0d=_0x48c474;this[_0x207f0d(0x3a2)](),this[_0x207f0d(0x21d)](this['_state'][_0x207f0d(0x14c)]()),this[_0x207f0d(0x2e4)]();}[_0x48c474(0x301)](_0x58738e=!0x1){var _0xc528a2=_0x48c474;this[_0xc528a2(0x3a2)](),this['_updateState'](this[_0xc528a2(0x36d)][_0xc528a2(0x2b7)]()),this[_0xc528a2(0x2e4)]();const _0x223458=this['_state'];_0x58738e&&_0x223458 instanceof Ne&&(this[_0xc528a2(0x3a2)](),this['_updateState'](_0x223458[_0xc528a2(0x3f0)]()),this['_unlockTransition']());}async['_createInitialState'](){return new Promise(_0x572b1b=>{var _0x8a2bd5=_0x2631;this[_0x8a2bd5(0x323)][_0x8a2bd5(0x266)][_0x8a2bd5(0x1fd)](_0x33e952(0x1))[_0x8a2bd5(0x278)](async _0x4259ef=>{var _0x3eafa0=_0x8a2bd5;_0x572b1b(await this['_createInitialStateImpl'](_0x4259ef===Ee[_0x3eafa0(0x2d2)]));});});}[_0x48c474(0x3c4)](){var _0x3ea21e=_0x48c474;const _0x8caef1=this[_0x3ea21e(0x356)];return{'onStateChange':(_0x24aa9b,_0x28892e)=>{var _0x578d61=_0x3ea21e;if(_0x24aa9b!==this[_0x578d61(0x36d)])throw new Error(_0x578d61(0x221)+_0x24aa9b[_0x578d61(0x222)]+'\x0aAfter:\x20'+_0x28892e[_0x578d61(0x222)]+_0x578d61(0x2bf)+this[_0x578d61(0x36d)][_0x578d61(0x222)]);this[_0x578d61(0x21d)](_0x28892e);},'onSendChangeset':_0x2d27fa=>{var _0x294ac5=_0x3ea21e;_0x2d27fa[_0x294ac5(0x332)]||(_0x2d27fa[_0x294ac5(0x332)]=this[_0x294ac5(0x1d3)],_0x2d27fa[_0x294ac5(0x32d)]=++this[_0x294ac5(0x2dd)]);const _0xcae05d={'eventID':_0x45c809[_0x294ac5(0x210)],'data':{'unitID':_0x2d27fa[_0x294ac5(0x356)],'unitType':this[_0x294ac5(0x29e)],'changeset':_0x2d27fa,'memberID':this[_0x294ac5(0x323)][_0x294ac5(0x3e2)]()}};this['session']['send'](_0xcae05d,this[_0x294ac5(0x356)]);},'onMissingChangesets':({from:_0x204387,to:_0x5dcf55})=>{var _0x461865=_0x3ea21e;this[_0x461865(0x279)][_0x461865(0x415)](_0x461865(0x211),_0x461865(0x349)+_0x204387+_0x461865(0x2e7)+_0x5dcf55);const _0x421522={'eventID':_0x45c809[_0x461865(0x1b3)],'data':{'unitID':_0x8caef1,'unitType':this[_0x461865(0x29e)],'from':_0x204387,'to':_0x5dcf55}};this[_0x461865(0x323)][_0x461865(0x2e6)](_0x421522,this['unitID']);}};}async[_0x48c474(0x134)](_0x56dafc){var _0x3ca821=_0x48c474,_0x1d1dde,_0x22d952,_0x166b1a;const _0x26d0d0=await((_0x1d1dde=this[_0x3ca821(0x121)])==null?void 0x0:_0x1d1dde[_0x3ca821(0x3e8)](this['unitID'])),_0x4a5a7f=(_0x22d952=_0x26d0d0==null?void 0x0:_0x26d0d0[_0x3ca821(0x2ce)])!=null?_0x22d952:[],_0x2e52fe=(_0x166b1a=_0x26d0d0==null?void 0x0:_0x26d0d0[_0x3ca821(0x268)])!=null?_0x166b1a:null,_0x5593cc=!!(_0x2e52fe!=null&&_0x2e52fe[_0x3ca821(0x332)])&&!!(_0x2e52fe!=null&&_0x2e52fe['reqId']);this[_0x3ca821(0x1d3)]=_0x5593cc?_0x2e52fe[_0x3ca821(0x332)]:Zn(),this[_0x3ca821(0x2dd)]=_0x5593cc?_0x2e52fe[_0x3ca821(0x32d)]:0x0;const _0x537fde=this[_0x3ca821(0x356)];try{this[_0x3ca821(0x1e3)](_0x2e52fe,_0x4a5a7f);}catch(_0x578b8a){this[_0x3ca821(0x279)][_0x3ca821(0x123)](_0x578b8a);}const _0x923555=this['_createHandler']();if(_0x56dafc){const _0x3fe5dd=yi(this[_0x3ca821(0x241)],_0x537fde,this[_0x3ca821(0x29e)],_0x2e52fe,_0x4a5a7f,_0x923555);return _0x3fe5dd instanceof ae?_0x3fe5dd['_schedule']():(_0x3fe5dd instanceof oe||_0x3fe5dd instanceof le)&&_0x3fe5dd[_0x3ca821(0x1c1)](),_0x3fe5dd;}return this['_injector'][_0x3ca821(0x205)](de,_0x537fde,this[_0x3ca821(0x29e)],_0x2e52fe,_0x4a5a7f,_0x923555);}['_replayCachedMutations'](_0x18b592,_0x2d72fc){var _0x2ecb43=_0x48c474,_0x36f7aa,_0x33b2d3;const _0x2f7892=this[_0x2ecb43(0x1e6)]['interceptor'][_0x2ecb43(0x203)](this[_0x2ecb43(0x1e6)]['interceptor']['getInterceptPoints']()[_0x2ecb43(0x1e0)]);(_0x36f7aa=_0x2f7892((_0x18b592==null?void 0x0:_0x18b592[_0x2ecb43(0x2ce)])||[],null))==null||_0x36f7aa[_0x2ecb43(0x3d9)](_0x14b6f4=>this[_0x2ecb43(0x3ea)][_0x2ecb43(0x38c)](_0x14b6f4['id'],_0x14b6f4[_0x2ecb43(0x12f)])),(_0x33b2d3=_0x2f7892(_0x2d72fc||[],null))==null||_0x33b2d3[_0x2ecb43(0x3d9)](_0x9691cd=>this[_0x2ecb43(0x3ea)][_0x2ecb43(0x38c)](_0x9691cd['id'],_0x9691cd[_0x2ecb43(0x12f)]));}};nt=Lt([H(0x3,_0x580c65(_0x18ea22)),H(0x4,_0x580c65(_0x150151)),H(0x5,_0x580c65(_0x24f520)),H(0x6,_0x580c65(_0x3322f2)),H(0x7,_0x580c65(pe)),H(0x8,_0x2d643c),H(0x9,_0x55c1d0),H(0xa,_0x50ac03),H(0xb,_0x520d75(ht)),H(0xc,_0x520d75(J))],nt);let It=class extends nt{constructor(_0x4817c2,_0x53fa95,_0x3512ca,_0x235264,_0x76f36f,_0x3cf4bb,_0x2f590e,_0x4859d3,_0x5ef572,_0x7eeb30,_0x246ae1,_0x1f3aef,_0x9fb034){var _0x35b22c=_0x48c474;super(_0x4817c2,_0x3512ca,_0x53fa95,_0x235264,_0x76f36f,_0x3cf4bb,_0x2f590e,_0x4859d3,_0x5ef572,_0x7eeb30,_0x246ae1,_0x1f3aef,_0x9fb034),N(this,_0x35b22c(0x327),null),(this[_0x35b22c(0x356)]=_0x4817c2,this[_0x35b22c(0x237)]=_0x53fa95);}[_0x48c474(0x334)](_0x2fb428){var _0x1e0538=_0x48c474;this[_0x1e0538(0x327)]=_0x2fb428;}['dispose'](){var _0x5c8bae=_0x48c474;this[_0x5c8bae(0x327)]=null,super[_0x5c8bae(0x1ab)]();}[_0x48c474(0x3c4)](){var _0x47178f=_0x48c474;const _0x4391e0=super[_0x47178f(0x3c4)]();return _0x4391e0[_0x47178f(0x194)]=_0x3cf0ef=>{var _0x3b941f=_0x47178f,_0x4b7df9,_0x3e4685;return(_0x3e4685=(_0x4b7df9=this[_0x3b941f(0x327)])==null?void 0x0:_0x4b7df9[_0x3b941f(0x194)])==null?void 0x0:_0x3e4685['call'](_0x4b7df9,_0x3cf0ef);},_0x4391e0[_0x47178f(0x401)]=_0x304818=>{var _0x4e5408=_0x47178f,_0x3c766c,_0x4525b8;return(_0x4525b8=(_0x3c766c=this['_handlerCallback'])==null?void 0x0:_0x3c766c[_0x4e5408(0x401)])==null?void 0x0:_0x4525b8['call'](_0x3c766c,_0x304818);},_0x4391e0['onTransformSelections']=_0xb28f5b=>{var _0x286996=_0x47178f,_0x20d4ee,_0x2dd16f;return(_0x2dd16f=(_0x20d4ee=this[_0x286996(0x327)])==null?void 0x0:_0x20d4ee[_0x286996(0x27d)])==null?void 0x0:_0x2dd16f['call'](_0x20d4ee,_0xb28f5b);},_0x4391e0[_0x47178f(0x228)]=_0x49722c=>{var _0x1a54c2=_0x47178f,_0x1eba3f,_0x483289;return(_0x483289=(_0x1eba3f=this['_handlerCallback'])==null?void 0x0:_0x1eba3f[_0x1a54c2(0x228)])==null?void 0x0:_0x483289[_0x1a54c2(0x2c1)](_0x1eba3f,_0x49722c);},_0x4391e0[_0x47178f(0x2b5)]=_0x22eaf6=>{var _0x2136ee=_0x47178f,_0x42779e,_0x18a314,_0x2f53d1;if(!((_0x42779e=this[_0x2136ee(0x327)])!=null&&_0x42779e['onTransformRemoteChangesetByIMECache']))throw new Error(_0x2136ee(0x2a9));return(_0x2f53d1=(_0x18a314=this['_handlerCallback'])==null?void 0x0:_0x18a314[_0x2136ee(0x2b5)])==null?void 0x0:_0x2f53d1[_0x2136ee(0x2c1)](_0x18a314,_0x22eaf6);},_0x4391e0[_0x47178f(0x33a)]=_0x52f539=>{var _0x17881f=_0x47178f,_0x18598a,_0x26e8af,_0x176c2a;if(!((_0x18598a=this['_handlerCallback'])!=null&&_0x18598a['onTransformRemoteChangesetByStateCache']))throw new Error(_0x17881f(0x3b4));return(_0x176c2a=(_0x26e8af=this[_0x17881f(0x327)])==null?void 0x0:_0x26e8af['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x176c2a[_0x17881f(0x2c1)](_0x26e8af,_0x52f539);},_0x4391e0;}async[_0x48c474(0x2b3)](){var _0x510741=_0x48c474;const _0x1ba78f=await super[_0x510741(0x2b3)]();return this[_0x510741(0x296)](this[_0x510741(0x3ea)][_0x510741(0x355)]((_0x5205ba,_0x383986)=>{var _0x434301=_0x510741;if(_0x5205ba['type']!==_0x303b53[_0x434301(0x3db)]||_0x383986!=null&&_0x383986[_0x434301(0x3ec)]||_0x383986!=null&&_0x383986[_0x434301(0x18b)]||_0x5205ba['id']===_0x56aca0['id'])return;const _0x3cb2be=_0x5205ba[_0x434301(0x12f)];if((_0x3cb2be==null?void 0x0:_0x3cb2be[_0x434301(0x377)])!==this[_0x434301(0x356)])return;const _0x477ce9=_0x5205ba,_0x1ca5fa=this[_0x434301(0x1e6)][_0x434301(0x397)][_0x434301(0x203)](this[_0x434301(0x1e6)][_0x434301(0x397)][_0x434301(0x17b)]()['COMPRESS_MUTATION_SEND'])([_0x477ce9],null)||[_0x477ce9];this[_0x434301(0x1c2)](_0x1ca5fa[0x0]);})),_0x1ba78f;}};It=Lt([H(0x3,_0x580c65(_0x18ea22)),H(0x4,_0x580c65(_0x150151)),H(0x5,_0x580c65(_0x24f520)),H(0x6,_0x580c65(_0x3322f2)),H(0x7,_0x580c65(pe)),H(0x8,_0x2d643c),H(0x9,_0x55c1d0),H(0xa,_0x50ac03),H(0xb,_0x520d75(ht)),H(0xc,_0x520d75(J))],It);let Tt=class extends nt{constructor(_0x15184c,_0x165cfb,_0x40c75f,_0x308426,_0x46252e,_0x48e48a,_0x2f9ba6,_0x427d36,_0xccdb6c,_0x5a7aca,_0x403426,_0x47ad99,_0x141d61,_0x34a6d3){var _0x3bf6aa=_0x48c474;super(_0x15184c,_0x40c75f,_0x165cfb,_0x308426,_0x46252e,_0x48e48a,_0x2f9ba6,_0xccdb6c,_0x5a7aca,_0x403426,_0x47ad99,_0x141d61,_0x34a6d3),this[_0x3bf6aa(0x356)]=_0x15184c,this[_0x3bf6aa(0x237)]=_0x165cfb,this[_0x3bf6aa(0x30f)]=_0x427d36;}[_0x48c474(0x3c4)](){var _0x334fdf=_0x48c474;const _0x198b64=super['_createHandler']();return _0x198b64[_0x334fdf(0x27d)]=_0x416c4a=>this[_0x334fdf(0x30f)][_0x334fdf(0x142)](_0x416c4a),_0x198b64;}async['_init'](){var _0x46385b=_0x48c474;const _0x4c5887=await super[_0x46385b(0x2b3)]();return this['disposeWithMe'](this[_0x46385b(0x3ea)]['onCommandExecuted']((_0x38093d,_0x137af1)=>{var _0x3beafb=_0x46385b;if(_0x38093d[_0x3beafb(0x237)]!==_0x303b53[_0x3beafb(0x3db)]||_0x137af1!=null&&_0x137af1[_0x3beafb(0x3ec)]||_0x137af1!=null&&_0x137af1['onlyLocal'])return;const _0x5eb1f3=_0x38093d[_0x3beafb(0x12f)];if((_0x5eb1f3==null?void 0x0:_0x5eb1f3['unitId'])!==this[_0x3beafb(0x356)])return;const _0x304096=_0x38093d,_0x4aa678=this[_0x3beafb(0x1e6)]['interceptor'][_0x3beafb(0x203)](this['_compressMutationService'][_0x3beafb(0x397)][_0x3beafb(0x17b)]()[_0x3beafb(0x245)])([_0x304096],null)||[_0x304096];this[_0x3beafb(0x1c2)](_0x4aa678[0x0]);})),_0x4c5887;}};Tt=Lt([H(0x3,_0x580c65(_0x18ea22)),H(0x4,_0x580c65(_0x150151)),H(0x5,_0x580c65(_0x24f520)),H(0x6,_0x580c65(_0x3322f2)),H(0x7,_0x580c65(it)),H(0x8,_0x580c65(pe)),H(0x9,_0x2d643c),H(0xa,_0x55c1d0),H(0xb,_0x50ac03),H(0xc,_0x520d75(ht)),H(0xd,_0x520d75(J))],Tt);var os=Object[_0x48c474(0x22b)],cs=(_0x35eb32,_0xc6fdbb,_0x2c8f96,_0x1486d5)=>{for(var _0x7c2601=_0x1486d5>0x1?void 0x0:_0x1486d5?os(_0xc6fdbb,_0x2c8f96):_0xc6fdbb,_0x1b0b41=_0x35eb32['length']-0x1,_0x55c2e8;_0x1b0b41>=0x0;_0x1b0b41--)(_0x55c2e8=_0x35eb32[_0x1b0b41])&&(_0x7c2601=_0x55c2e8(_0x7c2601)||_0x7c2601);return _0x7c2601;},ft=(_0x22b3be,_0x555208)=>(_0x4bf94a,_0x547d68)=>_0x555208(_0x4bf94a,_0x547d68,_0x22b3be);let st=class extends _0x4bb33c{constructor(_0x592a27,_0x95a2d6,_0x53a349){var _0x2de87d=_0x48c474;super(),N(this,'_entities',new Map()),N(this,_0x2de87d(0x333),new _0xbcec6b()),N(this,'entityInit$',this[_0x2de87d(0x333)][_0x2de87d(0x3dd)]()),(this['_injector']=_0x592a27,this[_0x2de87d(0x26b)]=_0x95a2d6,this['_univerInstanceService']=_0x53a349,this[_0x2de87d(0x2b3)]());}['dispose'](){var _0x547c31=_0x48c474;super[_0x547c31(0x1ab)](),this[_0x547c31(0x1fc)][_0x547c31(0x3d9)](_0xa754d5=>_0xa754d5['dispose']()),this[_0x547c31(0x1fc)]['clear']();}[_0x48c474(0x12d)](_0x5123c6){var _0x352b75=_0x48c474,_0x8c7767;return(_0x8c7767=this[_0x352b75(0x1fc)][_0x352b75(0x280)](_0x5123c6))!=null?_0x8c7767:null;}[_0x48c474(0x27f)](_0x2a3b8a){var _0x75aae6=_0x48c474;const _0x29be1e=this[_0x75aae6(0x12d)](_0x2a3b8a);return _0x29be1e?_0x357fba(_0x29be1e):this['_entityInit$'][_0x75aae6(0x1fd)](_0x124940(_0x5628ff=>_0x5628ff['unitID']===_0x2a3b8a));}['readyForCollab'](_0x87b45e){var _0x58242d=_0x48c474;return _0xe99ee5(this['getCollabEntity$'](_0x87b45e)[_0x58242d(0x1fd)](_0x1eccd9(()=>{})));}[_0x48c474(0x2b3)](){var _0x40d7b8=_0x48c474;this['_univerInstanceService'][_0x40d7b8(0x412)](_0x367653[_0x40d7b8(0x20c)])['pipe'](_0x4a71b8(this['dispose$']),_0x26fbc0(0x10))[_0x40d7b8(0x278)](async _0x4a9c4f=>{var _0x21f3fc=_0x40d7b8;const _0x494ca3=_0x4a9c4f[_0x21f3fc(0x2d9)](),_0xb593eb=await this[_0x21f3fc(0x21a)](_0x494ca3,Q[_0x21f3fc(0x20c)]);this[_0x21f3fc(0x1fc)][_0x21f3fc(0x1c3)](_0x494ca3,_0xb593eb);}),this[_0x40d7b8(0x242)]['getTypeOfUnitAdded$'](_0x367653['UNIVER_DOC'])[_0x40d7b8(0x1fd)](_0x4a71b8(this[_0x40d7b8(0x335)]),_0x26fbc0(0x10))['pipe'](_0x124940(_0x1179fa=>!_0x1179fa[_0x40d7b8(0x2d9)]()[_0x40d7b8(0x3ff)]('__')))['subscribe'](async _0x5114c1=>{var _0x443949=_0x40d7b8;const _0x138634=_0x5114c1[_0x443949(0x2d9)](),_0x1753d0=await this[_0x443949(0x21a)](_0x138634,Q[_0x443949(0x3d3)]);this[_0x443949(0x1fc)][_0x443949(0x1c3)](_0x138634,_0x1753d0);}),_0x1ca7ea(this[_0x40d7b8(0x242)][_0x40d7b8(0x1d2)](_0x367653[_0x40d7b8(0x20c)]),this['_univerInstanceService'][_0x40d7b8(0x1d2)](_0x367653[_0x40d7b8(0x3d3)]))[_0x40d7b8(0x1fd)](_0x4a71b8(this['dispose$']))[_0x40d7b8(0x278)](_0x521ee6=>{var _0x344294=_0x40d7b8;const _0x5a61d0=_0x521ee6['getUnitId'](),_0x1d7030=this[_0x344294(0x1fc)][_0x344294(0x280)](_0x5a61d0);_0x1d7030&&(_0x1d7030[_0x344294(0x1ab)](),this['_entities'][_0x344294(0x345)](_0x5a61d0));});}async[_0x48c474(0x21a)](_0x3e9977,_0x57c860){var _0x57a35d=_0x48c474;const _0x257100=await this[_0x57a35d(0x26b)]['requireSession'](_0x3e9977),_0x9b241e=this['_injector'][_0x57a35d(0x205)](this['_getCtorByUniverType'](_0x57c860),_0x3e9977,_0x57c860,_0x257100);return await _0x9b241e[_0x57a35d(0x2b9)](),this[_0x57a35d(0x333)][_0x57a35d(0x3f9)](_0x9b241e),_0x9b241e;}['_getCtorByUniverType'](_0x32c510){var _0x573d85=_0x48c474;switch(_0x32c510){case Q['UNIVER_DOC']:return It;case Q[_0x573d85(0x20c)]:return Tt;default:throw new Error(_0x573d85(0x277)+_0x32c510);}}};st=cs([ft(0x0,_0x580c65(_0x18ea22)),ft(0x1,_0x580c65(xe)),ft(0x2,_0x2ac2f4)],st);var hs=Object['getOwnPropertyDescriptor'],_s=(_0x42a92d,_0x4eedac,_0x4f4e91,_0x2221a4)=>{var _0x415cc7=_0x48c474;for(var _0x289938=_0x2221a4>0x1?void 0x0:_0x2221a4?hs(_0x4eedac,_0x4f4e91):_0x4eedac,_0x4e4743=_0x42a92d[_0x415cc7(0x2eb)]-0x1,_0x36382c;_0x4e4743>=0x0;_0x4e4743--)(_0x36382c=_0x42a92d[_0x4e4743])&&(_0x289938=_0x36382c(_0x289938)||_0x289938);return _0x289938;},zt=(_0x286b67,_0x1f0f82)=>(_0x47cc80,_0x5b8fed)=>_0x1f0f82(_0x47cc80,_0x5b8fed,_0x286b67);const ls=_0x48c474(0x190),us=_0x48c474(0x261);let Ct=class extends _0x1777b1{constructor(_0x8bcbd1,_0x4e6f30){var _0x4d2ade=_0x48c474;super(),this['_univerInstanceService']=_0x8bcbd1,this['_configService']=_0x4e6f30,this[_0x4d2ade(0x2b3)]();}[_0x48c474(0x2b3)](){var _0x5c47ea=_0x48c474;this[_0x5c47ea(0x296)](this[_0x5c47ea(0x242)][_0x5c47ea(0x1fb)]['subscribe'](()=>{var _0x507efd=_0x5c47ea,_0x21c148;const _0x4e6c31=this[_0x507efd(0x242)][_0x507efd(0x185)]();let _0x22db65=(_0x21c148=this[_0x507efd(0x370)][_0x507efd(0x299)](ls))!=null?_0x21c148:us;_0x4e6c31 instanceof _0x4e7126&&(_0x22db65=_0x4e6c31['name']),document[_0x507efd(0x2e5)]=_0x22db65;}));}};Ct=_s([zt(0x0,_0x2ac2f4),zt(0x1,_0x288252)],Ct);var ds=Object[_0x48c474(0x22b)],fs=(_0x56eb0b,_0x15231b,_0x1b3f15,_0x51dc15)=>{var _0x3f149c=_0x48c474;for(var _0x2a3840=_0x51dc15>0x1?void 0x0:_0x51dc15?ds(_0x15231b,_0x1b3f15):_0x15231b,_0x288cab=_0x56eb0b[_0x3f149c(0x2eb)]-0x1,_0x2550ce;_0x288cab>=0x0;_0x288cab--)(_0x2550ce=_0x56eb0b[_0x288cab])&&(_0x2a3840=_0x2550ce(_0x2a3840)||_0x2a3840);return _0x2a3840;},vt=(_0x24ef6d,_0x53f8f3)=>(_0x3d7be0,_0x30d4f2)=>_0x53f8f3(_0x3d7be0,_0x30d4f2,_0x24ef6d);let rt=class{constructor(_0x2e7746,_0x12b9e2,_0x488cc3){var _0x38e35f=_0x48c474;this[_0x38e35f(0x370)]=_0x2e7746,this[_0x38e35f(0x1a5)]=_0x12b9e2,this[_0x38e35f(0x290)]=_0x488cc3,this[_0x38e35f(0x2b9)]();}['init'](){var _0x398fb2=_0x48c474;this[_0x398fb2(0x1a5)]['registerHTTPInterceptor']({'priority':0x1,'interceptor':(_0x3edc83,_0x4aecd7)=>_0x4aecd7(_0x3edc83)['pipe'](_0x59e312(async _0x5d24a0=>{var _0x120cb1=_0x398fb2;const _0xc823ec=_0x5d24a0;if(_0xc823ec[_0x120cb1(0x222)]===0x191){if(typeof window>'u')throw new Error(_0x120cb1(0x424));if(window[_0x120cb1(0x243)](this[_0x120cb1(0x290)]['t']('auth.needGotoLoginAlert'))){const _0xedc37=window[_0x120cb1(0x2df)](window['location']['href']);window[_0x120cb1(0x26c)][_0x120cb1(0x304)]=this[_0x120cb1(0x2fa)]()+_0x120cb1(0x12b)+_0xedc37;}}return _0xc823ec;}))});}[_0x48c474(0x2fa)](){var _0x837d61=_0x48c474,_0x570c95,_0x5c6b4b;const _0xdcfecf=this[_0x837d61(0x370)]['getConfig'](Un),_0x3972cc=this[_0x837d61(0x370)][_0x837d61(0x299)](q);return(_0x5c6b4b=(_0x570c95=_0x3972cc==null?void 0x0:_0x3972cc[_0x837d61(0x3b6)])!=null?_0x570c95:_0xdcfecf)!=null?_0x5c6b4b:An;}};rt=fs([vt(0x0,_0x288252),vt(0x1,_0x580c65(_0x494fcc)),vt(0x2,_0x580c65(_0x24f520))],rt);var vs=Object[_0x48c474(0x22b)],ps=(_0x2bbf37,_0x308de2,_0x30080d,_0x1a808e)=>{var _0x530ccc=_0x48c474;for(var _0x116dfe=_0x1a808e>0x1?void 0x0:_0x1a808e?vs(_0x308de2,_0x30080d):_0x308de2,_0x30d75c=_0x2bbf37[_0x530ccc(0x2eb)]-0x1,_0x4e9903;_0x30d75c>=0x0;_0x30d75c--)(_0x4e9903=_0x2bbf37[_0x30d75c])&&(_0x116dfe=_0x4e9903(_0x116dfe)||_0x116dfe);return _0x116dfe;},Jt=(_0x14a868,_0x285d73)=>(_0x2e62ad,_0x2f775e)=>_0x285d73(_0x2e62ad,_0x2f775e,_0x14a868);const Ni=_0x48c474(0x310),ms=_0x48c474(0x11e);let Rt=class extends _0x1777b1{constructor(_0x4f2991,_0x1ac96a){var _0x542bc8=_0x48c474;super(),this['_HTTPService']=_0x4f2991,this['_configService']=_0x1ac96a,this[_0x542bc8(0x3b0)]();}['_initMergeInterceptor'](){var _0x324858=_0x48c474;const _0x184209=this;this[_0x324858(0x296)](this['_HTTPService'][_0x324858(0x3fb)]({'priority':0x3e7,'interceptor':_0x34354f({'isMatch'(_0x460621){var _0x2bef01=_0x324858,_0x24b8cc;if(_0x460621[_0x2bef01(0x3af)]===_0x2bef01(0x417)&&((_0x24b8cc=_0x460621[_0x2bef01(0x1eb)])!=null&&_0x24b8cc[_0x2bef01(0x199)])){const {objectID:_0x456cbf,objectType:_0x4b0b9b}=_0x460621[_0x2bef01(0x1eb)][_0x2bef01(0x199)]||{};if(!_0x456cbf||_0x4b0b9b===void 0x0)return!0x1;const _0x23edeb=_0x184209[_0x2bef01(0x372)]()+'/'+_0x4b0b9b+_0x2bef01(0x378)+_0x456cbf+_0x2bef01(0x1b1);if(_0x460621[_0x2bef01(0x41b)]===_0x23edeb)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x127e86){var _0x28c387=_0x324858,_0x2403a0;return(_0x2403a0=_0x127e86['requestParams'])==null?void 0x0:_0x2403a0[_0x28c387(0x199)];},'mergeParamsToRequest'(_0x2ecba0,_0x52e76f){var _0x6da462=_0x324858;const _0x1ef44e=_0x184209[_0x6da462(0x372)]()+'/-/object/-/batch_allowed',_0x1a7e25=_0x2ecba0['reduce']((_0x2b4904,_0x21430d)=>{var _0x373ed8=_0x6da462;const {unitID:_0x1e0f5a,objectID:_0x52000e,objectType:_0x306082,actions:_0x5a3f80}=_0x21430d;return _0x2b4904[_0x1e0f5a]||(_0x2b4904[_0x1e0f5a]={}),_0x2b4904[_0x1e0f5a][_0x52000e]||(_0x2b4904[_0x1e0f5a][_0x52000e]={'objectID':_0x52000e,'objectType':_0x306082,'actions':[]}),_0x2b4904[_0x1e0f5a][_0x52000e][_0x373ed8(0x18e)][_0x373ed8(0x37d)](..._0x5a3f80),_0x2b4904;},{}),_0x45568d=[];for(const _0x24c9bf in _0x1a7e25)for(const _0x576a49 in _0x1a7e25[_0x24c9bf]){const {actions:_0x368432,objectType:_0x5189b5}=_0x1a7e25[_0x24c9bf][_0x576a49],_0x2abeee=[...new Set(_0x368432)];_0x45568d[_0x6da462(0x37d)]({'unitID':_0x24c9bf,'objectID':_0x576a49,'objectType':_0x5189b5,'actions':_0x2abeee});}return new _0x44f3c4('POST',_0x1ef44e,{'headers':_0x52e76f[_0x6da462(0x125)],'withCredentials':_0x52e76f['withCredentials'],'responseType':_0x52e76f['responseType'],'body':{'requests':_0x45568d}});}},{'distributeResult'(_0x46aa02,_0x4a9686){var _0x2264a3=_0x324858;const {objectActions:_0x571dbe}=_0x46aa02;return _0x4a9686[_0x2264a3(0x19d)](_0x1c7127=>{var _0x11a27e=_0x2264a3;const {unitID:_0x43d927,objectID:_0x5bc075,actions:_0xebdbf2}=_0x1c7127,_0x155a65=_0x571dbe[_0x11a27e(0x357)](_0x5d97eb=>_0x5d97eb[_0x11a27e(0x356)]===_0x43d927&&_0x5d97eb[_0x11a27e(0x28f)]===_0x5bc075),_0x22d904=_0xebdbf2[_0x11a27e(0x19d)](_0x51179b=>_0x155a65==null?void 0x0:_0x155a65[_0x11a27e(0x18e)]['find'](_0x2fb261=>_0x2fb261[_0x11a27e(0x23c)]===_0x51179b))['filter'](_0x9555a1=>!!_0x9555a1);return{'config':_0x1c7127,'result':{'actions':_0x22d904,'error':_0x46aa02['error']}};});}})}));}[_0x48c474(0x372)](){var _0x1d1483=_0x48c474,_0x183ae6,_0x3dc159;const _0x3975b5=this['_configService'][_0x1d1483(0x299)](Ni),_0xb2b3ba=this[_0x1d1483(0x370)][_0x1d1483(0x299)](q);return(_0x3dc159=(_0x183ae6=_0xb2b3ba==null?void 0x0:_0xb2b3ba[_0x1d1483(0x195)])!=null?_0x183ae6:_0x3975b5)!=null?_0x3dc159:ms;}async[_0x48c474(0x22a)](_0x58c45f){var _0x12e387=_0x48c474;const _0x39a5c9=this[_0x12e387(0x372)]()+'/'+_0x58c45f[_0x12e387(0x155)]+_0x12e387(0x1c0);return(await this['_HTTPService'][_0x12e387(0x1b4)](_0x39a5c9,{'body':_0x58c45f}))[_0x12e387(0x199)]['objectID']||'';}async[_0x48c474(0x1e8)](_0x5c89be){var _0x4d03fb=_0x48c474;const _0x133f9a=this['_getAPIPrefixPath']()+_0x4d03fb(0x37e);return(await this[_0x4d03fb(0x39f)][_0x4d03fb(0x1b4)](_0x133f9a,{'body':_0x5c89be}))[_0x4d03fb(0x199)]['objects'];}async[_0x48c474(0x263)](_0x1eab4e){var _0x451f02=_0x48c474,_0x187ed8,_0x42f798;const _0x43f282=this['_getAPIPrefixPath']()+'/'+_0x1eab4e['objectType']+_0x451f02(0x378)+_0x1eab4e[_0x451f02(0x28f)],_0xd92920=await this[_0x451f02(0x39f)][_0x451f02(0x232)](_0x43f282,{'body':_0x1eab4e});if(((_0x42f798=(_0x187ed8=_0xd92920==null?void 0x0:_0xd92920[_0x451f02(0x199)])==null?void 0x0:_0x187ed8[_0x451f02(0x123)])==null?void 0x0:_0x42f798[_0x451f02(0x154)])!==0x1)throw new Error(_0x451f02(0x145));}async[_0x48c474(0x341)](_0x2e4727){var _0x171ae5=_0x48c474;const _0x5b9a27=this[_0x171ae5(0x372)]()+'/'+_0x2e4727[_0x171ae5(0x155)]+_0x171ae5(0x378)+_0x2e4727['objectID']+'/allowed';return(await this[_0x171ae5(0x39f)][_0x171ae5(0x1b4)](_0x5b9a27,{'body':_0x2e4727}))[_0x171ae5(0x199)]['actions'];}async[_0x48c474(0x260)](_0x24354f){var _0x3c128b=_0x48c474;const _0x6af901=this[_0x3c128b(0x372)]()+'/-/object/-/batch_allowed';return(await this[_0x3c128b(0x39f)][_0x3c128b(0x1b4)](_0x6af901,{'body':{'requests':_0x24354f}}))['body'][_0x3c128b(0x300)];}async['listRoles'](_0x94b653){var _0x162f20=_0x48c474;const _0x42ebfa=this[_0x162f20(0x372)]()+'/'+_0x94b653[_0x162f20(0x155)]+_0x162f20(0x25e),_0x1d8c8e=await this['_HTTPService'][_0x162f20(0x1b4)](_0x42ebfa,{'body':_0x94b653});return{'roles':_0x1d8c8e[_0x162f20(0x199)][_0x162f20(0x1a4)],'actions':_0x1d8c8e[_0x162f20(0x199)]['actions']};}async['deleteCollaborator'](_0x36ddac){var _0x5a0437=_0x48c474;const _0x375b28=this['_getAPIPrefixPath']()+_0x5a0437(0x3d8);await this[_0x5a0437(0x39f)][_0x5a0437(0x345)](_0x375b28,{'params':{'collaboratorID':_0x36ddac[_0x5a0437(0x247)],'objectID':_0x36ddac[_0x5a0437(0x28f)],'unitID':_0x36ddac[_0x5a0437(0x356)]}});}async['updateCollaborator'](_0x24257d){var _0x174d2e=_0x48c474;const _0x46f268=this[_0x174d2e(0x372)]()+_0x174d2e(0x3d8);await this['_HTTPService']['patch'](_0x46f268,{'body':_0x24257d});}async[_0x48c474(0x33e)](_0x5d2b38){var _0x54d254=_0x48c474;const _0x3b5dd3=this[_0x54d254(0x372)]()+_0x54d254(0x3d8);await this[_0x54d254(0x39f)][_0x54d254(0x1b4)](_0x3b5dd3,{'body':_0x5d2b38});}async[_0x48c474(0x16c)](_0x2e8fe9){var _0x236f00=_0x48c474;const _0x1d8e30=this[_0x236f00(0x372)]()+_0x236f00(0x3d8);return(await this[_0x236f00(0x39f)][_0x236f00(0x280)](_0x1d8e30,{'params':{'objectID':_0x2e8fe9[_0x236f00(0x28f)],'unitID':_0x2e8fe9['unitID']}}))['body'][_0x236f00(0x2f2)];}async[_0x48c474(0x21b)](_0x190c02){var _0x521a69=_0x48c474;const _0x462e02=this['_getAPIPrefixPath']()+_0x521a69(0x3d8);await this[_0x521a69(0x39f)][_0x521a69(0x232)](_0x462e02,{'body':_0x190c02});}};Rt=ps([Jt(0x0,_0x580c65(_0x494fcc)),Jt(0x1,_0x580c65(_0x288252))],Rt);function _0x2631(_0x306671,_0x2c7838){var _0x2c560c=_0x2c56();return _0x2631=function(_0x263140,_0x5b33df){_0x263140=_0x263140-0x11d;var _0x388d59=_0x2c560c[_0x263140];return _0x388d59;},_0x2631(_0x306671,_0x2c7838);}var pt=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function He(_0x37589a){var _0x2794e0=_0x48c474;return _0x37589a&&_0x37589a[_0x2794e0(0x2b4)]&&Object[_0x2794e0(0x25c)]['hasOwnProperty']['call'](_0x37589a,_0x2794e0(0x3bc))?_0x37589a[_0x2794e0(0x3bc)]:_0x37589a;}var Ve={'exports':{}};function gs(_0x51abab){var _0x2eaf0e=_0x48c474;throw new Error('Could\x20not\x20dynamically\x20require\x20\x22'+_0x51abab+_0x2eaf0e(0x2c7));}var Ge={'exports':{}},Ss=Ge[_0x48c474(0x274)],Xt;function ie(){return Xt||(Xt=0x1,function(_0x47a524,_0x314c0d){(function(_0x121190,_0x2b58ec){var _0x4cdd54=_0x2631;_0x47a524[_0x4cdd54(0x274)]=_0x2b58ec();}(Ss,function(){var _0x29d6b5=_0x29d6b5||function(_0x6c0865,_0x309b8e){var _0x25ad15=_0x2631,_0x417979;if(typeof window<'u'&&window[_0x25ad15(0x217)]&&(_0x417979=window['crypto']),typeof self<'u'&&self[_0x25ad15(0x217)]&&(_0x417979=self[_0x25ad15(0x217)]),typeof globalThis<'u'&&globalThis[_0x25ad15(0x217)]&&(_0x417979=globalThis[_0x25ad15(0x217)]),!_0x417979&&typeof window<'u'&&window[_0x25ad15(0x1c4)]&&(_0x417979=window[_0x25ad15(0x1c4)]),!_0x417979&&typeof pt<'u'&&pt[_0x25ad15(0x217)]&&(_0x417979=pt[_0x25ad15(0x217)]),!_0x417979&&typeof gs==_0x25ad15(0x3ae))try{_0x417979=require(_0x25ad15(0x217));}catch{}var _0x2aa01f=function(){var _0xcbebee=_0x25ad15;if(_0x417979){if(typeof _0x417979['getRandomValues']==_0xcbebee(0x3ae))try{return _0x417979[_0xcbebee(0x23a)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x417979[_0xcbebee(0x384)]==_0xcbebee(0x3ae))try{return _0x417979[_0xcbebee(0x384)](0x4)['readInt32LE']();}catch{}}throw new Error('Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.');},_0x40c13c=Object[_0x25ad15(0x22a)]||(function(){function _0x2f8e57(){}return function(_0x37e0bf){var _0x4a14a6=_0x2631,_0x30c737;return _0x2f8e57[_0x4a14a6(0x25c)]=_0x37e0bf,_0x30c737=new _0x2f8e57(),_0x2f8e57[_0x4a14a6(0x25c)]=null,_0x30c737;};}()),_0x1671a8={},_0x33b063=_0x1671a8[_0x25ad15(0x1d6)]={},_0xf9612b=_0x33b063[_0x25ad15(0x319)]=(function(){return{'extend':function(_0x252b29){var _0x50a193=_0x2631,_0x36c531=_0x40c13c(this);return _0x252b29&&_0x36c531[_0x50a193(0x28c)](_0x252b29),(!_0x36c531[_0x50a193(0x307)](_0x50a193(0x2b9))||this[_0x50a193(0x2b9)]===_0x36c531[_0x50a193(0x2b9)])&&(_0x36c531[_0x50a193(0x2b9)]=function(){var _0x5d9772=_0x50a193;_0x36c531[_0x5d9772(0x3ce)][_0x5d9772(0x2b9)]['apply'](this,arguments);}),_0x36c531[_0x50a193(0x2b9)][_0x50a193(0x25c)]=_0x36c531,_0x36c531[_0x50a193(0x3ce)]=this,_0x36c531;},'create':function(){var _0x2928e0=_0x2631,_0x1f0384=this[_0x2928e0(0x2e2)]();return _0x1f0384[_0x2928e0(0x2b9)]['apply'](_0x1f0384,arguments),_0x1f0384;},'init':function(){},'mixIn':function(_0x3f315f){var _0x5795fb=_0x2631;for(var _0x245a8c in _0x3f315f)_0x3f315f[_0x5795fb(0x307)](_0x245a8c)&&(this[_0x245a8c]=_0x3f315f[_0x245a8c]);_0x3f315f[_0x5795fb(0x307)](_0x5795fb(0x365))&&(this[_0x5795fb(0x365)]=_0x3f315f[_0x5795fb(0x365)]);},'clone':function(){var _0x226fcc=_0x2631;return this[_0x226fcc(0x2b9)]['prototype'][_0x226fcc(0x2e2)](this);}};}()),_0x4b597a=_0x33b063[_0x25ad15(0x25b)]=_0xf9612b[_0x25ad15(0x2e2)]({'init':function(_0xaec824,_0x5ea407){var _0x517869=_0x25ad15;_0xaec824=this[_0x517869(0x122)]=_0xaec824||[],_0x5ea407!=_0x309b8e?this[_0x517869(0x316)]=_0x5ea407:this[_0x517869(0x316)]=_0xaec824[_0x517869(0x2eb)]*0x4;},'toString':function(_0x4ffb77){return(_0x4ffb77||_0x13a35a)['stringify'](this);},'concat':function(_0x495ef2){var _0x1ee2be=_0x25ad15,_0x2f3796=this[_0x1ee2be(0x122)],_0x1fb795=_0x495ef2[_0x1ee2be(0x122)],_0x23675c=this[_0x1ee2be(0x316)],_0x1fad7e=_0x495ef2['sigBytes'];if(this[_0x1ee2be(0x17a)](),_0x23675c%0x4)for(var _0x59db29=0x0;_0x59db29<_0x1fad7e;_0x59db29++){var _0x5520e1=_0x1fb795[_0x59db29>>>0x2]>>>0x18-_0x59db29%0x4*0x8&0xff;_0x2f3796[_0x23675c+_0x59db29>>>0x2]|=_0x5520e1<<0x18-(_0x23675c+_0x59db29)%0x4*0x8;}else{for(var _0x24014e=0x0;_0x24014e<_0x1fad7e;_0x24014e+=0x4)_0x2f3796[_0x23675c+_0x24014e>>>0x2]=_0x1fb795[_0x24014e>>>0x2];}return this['sigBytes']+=_0x1fad7e,this;},'clamp':function(){var _0x232d6d=_0x25ad15,_0x389b68=this[_0x232d6d(0x122)],_0x568c19=this[_0x232d6d(0x316)];_0x389b68[_0x568c19>>>0x2]&=0xffffffff<<0x20-_0x568c19%0x4*0x8,_0x389b68[_0x232d6d(0x2eb)]=_0x6c0865[_0x232d6d(0x3ee)](_0x568c19/0x4);},'clone':function(){var _0x424836=_0x25ad15,_0x2fe6e0=_0xf9612b['clone'][_0x424836(0x2c1)](this);return _0x2fe6e0[_0x424836(0x122)]=this['words']['slice'](0x0),_0x2fe6e0;},'random':function(_0x6ae698){var _0x430faa=_0x25ad15;for(var _0x246850=[],_0x3b2c87=0x0;_0x3b2c87<_0x6ae698;_0x3b2c87+=0x4)_0x246850['push'](_0x2aa01f());return new _0x4b597a[(_0x430faa(0x2b9))](_0x246850,_0x6ae698);}}),_0xdb2a67=_0x1671a8[_0x25ad15(0x2c5)]={},_0x13a35a=_0xdb2a67[_0x25ad15(0x351)]={'stringify':function(_0x203732){var _0xf164ec=_0x25ad15;for(var _0x3a55f8=_0x203732[_0xf164ec(0x122)],_0x2acc34=_0x203732['sigBytes'],_0x57c4a4=[],_0x52b027=0x0;_0x52b027<_0x2acc34;_0x52b027++){var _0x4666b3=_0x3a55f8[_0x52b027>>>0x2]>>>0x18-_0x52b027%0x4*0x8&0xff;_0x57c4a4[_0xf164ec(0x37d)]((_0x4666b3>>>0x4)[_0xf164ec(0x365)](0x10)),_0x57c4a4[_0xf164ec(0x37d)]((_0x4666b3&0xf)[_0xf164ec(0x365)](0x10));}return _0x57c4a4[_0xf164ec(0x294)]('');},'parse':function(_0x403c96){var _0x302225=_0x25ad15;for(var _0x443d9b=_0x403c96[_0x302225(0x2eb)],_0x7cc02=[],_0x4027ed=0x0;_0x4027ed<_0x443d9b;_0x4027ed+=0x2)_0x7cc02[_0x4027ed>>>0x3]|=parseInt(_0x403c96[_0x302225(0x317)](_0x4027ed,0x2),0x10)<<0x18-_0x4027ed%0x8*0x4;return new _0x4b597a[(_0x302225(0x2b9))](_0x7cc02,_0x443d9b/0x2);}},_0x25d26a=_0xdb2a67[_0x25ad15(0x24e)]={'stringify':function(_0x1fa044){var _0x639d88=_0x25ad15;for(var _0x83dc6a=_0x1fa044[_0x639d88(0x122)],_0x5a7c8c=_0x1fa044[_0x639d88(0x316)],_0x2d8852=[],_0x13fd66=0x0;_0x13fd66<_0x5a7c8c;_0x13fd66++){var _0x325970=_0x83dc6a[_0x13fd66>>>0x2]>>>0x18-_0x13fd66%0x4*0x8&0xff;_0x2d8852['push'](String[_0x639d88(0x255)](_0x325970));}return _0x2d8852[_0x639d88(0x294)]('');},'parse':function(_0x5b707f){var _0x4791d8=_0x25ad15;for(var _0x492e3d=_0x5b707f[_0x4791d8(0x2eb)],_0x28b1dc=[],_0x34d502=0x0;_0x34d502<_0x492e3d;_0x34d502++)_0x28b1dc[_0x34d502>>>0x2]|=(_0x5b707f['charCodeAt'](_0x34d502)&0xff)<<0x18-_0x34d502%0x4*0x8;return new _0x4b597a[(_0x4791d8(0x2b9))](_0x28b1dc,_0x492e3d);}},_0x220ade=_0xdb2a67[_0x25ad15(0x141)]={'stringify':function(_0x5971ad){var _0x430db4=_0x25ad15;try{return decodeURIComponent(escape(_0x25d26a[_0x430db4(0x13e)](_0x5971ad)));}catch{throw new Error('Malformed\x20UTF-8\x20data');}},'parse':function(_0xe00819){var _0x55dd64=_0x25ad15;return _0x25d26a[_0x55dd64(0x40d)](unescape(encodeURIComponent(_0xe00819)));}},_0x37814e=_0x33b063[_0x25ad15(0x2cd)]=_0xf9612b['extend']({'reset':function(){var _0x5a7333=_0x25ad15;this['_data']=new _0x4b597a['init'](),this[_0x5a7333(0x2a2)]=0x0;},'_append':function(_0x2bde37){var _0x365698=_0x25ad15;typeof _0x2bde37==_0x365698(0x188)&&(_0x2bde37=_0x220ade[_0x365698(0x40d)](_0x2bde37)),this[_0x365698(0x36f)][_0x365698(0x30d)](_0x2bde37),this[_0x365698(0x2a2)]+=_0x2bde37[_0x365698(0x316)];},'_process':function(_0xf458e4){var _0x48a32c=_0x25ad15,_0x1c76f5,_0x443ef9=this[_0x48a32c(0x36f)],_0x33c2db=_0x443ef9['words'],_0xe653bb=_0x443ef9[_0x48a32c(0x316)],_0x1862e4=this[_0x48a32c(0x287)],_0x37af6d=_0x1862e4*0x4,_0x1e956d=_0xe653bb/_0x37af6d;_0xf458e4?_0x1e956d=_0x6c0865[_0x48a32c(0x3ee)](_0x1e956d):_0x1e956d=_0x6c0865[_0x48a32c(0x27b)]((_0x1e956d|0x0)-this[_0x48a32c(0x32a)],0x0);var _0x393650=_0x1e956d*_0x1862e4,_0x4a760b=_0x6c0865[_0x48a32c(0x1c6)](_0x393650*0x4,_0xe653bb);if(_0x393650){for(var _0x4566af=0x0;_0x4566af<_0x393650;_0x4566af+=_0x1862e4)this[_0x48a32c(0x1fe)](_0x33c2db,_0x4566af);_0x1c76f5=_0x33c2db[_0x48a32c(0x427)](0x0,_0x393650),_0x443ef9[_0x48a32c(0x316)]-=_0x4a760b;}return new _0x4b597a[(_0x48a32c(0x2b9))](_0x1c76f5,_0x4a760b);},'clone':function(){var _0x2d90ca=_0x25ad15,_0x30ced2=_0xf9612b[_0x2d90ca(0x387)][_0x2d90ca(0x2c1)](this);return _0x30ced2[_0x2d90ca(0x36f)]=this[_0x2d90ca(0x36f)][_0x2d90ca(0x387)](),_0x30ced2;},'_minBufferSize':0x0});_0x33b063[_0x25ad15(0x1b0)]=_0x37814e[_0x25ad15(0x2e2)]({'cfg':_0xf9612b[_0x25ad15(0x2e2)](),'init':function(_0x36f697){var _0x30b7ef=_0x25ad15;this['cfg']=this[_0x30b7ef(0x1e1)]['extend'](_0x36f697),this['reset']();},'reset':function(){var _0x49af4e=_0x25ad15;_0x37814e[_0x49af4e(0x2cb)][_0x49af4e(0x2c1)](this),this[_0x49af4e(0x40a)]();},'update':function(_0x4b956e){var _0x2e1990=_0x25ad15;return this[_0x2e1990(0x2f3)](_0x4b956e),this[_0x2e1990(0x197)](),this;},'finalize':function(_0x2e59d5){var _0x10632a=_0x25ad15;_0x2e59d5&&this['_append'](_0x2e59d5);var _0x545474=this[_0x10632a(0x31d)]();return _0x545474;},'blockSize':0x10,'_createHelper':function(_0x735e2e){return function(_0xc10918,_0xcb6956){var _0x4dc531=_0x2631;return new _0x735e2e['init'](_0xcb6956)[_0x4dc531(0x308)](_0xc10918);};},'_createHmacHelper':function(_0x3a6e42){return function(_0x32abcb,_0x55ec08){var _0x217190=_0x2631;return new _0x40def7[(_0x217190(0x27c))]['init'](_0x3a6e42,_0x55ec08)[_0x217190(0x308)](_0x32abcb);};}});var _0x40def7=_0x1671a8[_0x25ad15(0x36e)]={};return _0x1671a8;}(Math);return _0x29d6b5;}));}(Ge)),Ge['exports'];}var We={'exports':{}},Es=We['exports'],Zt;function Di(){return Zt||(Zt=0x1,function(_0x34c4de,_0x4b0f8e){(function(_0x1e65b7,_0x10cde6){var _0x511063=_0x2631;_0x34c4de[_0x511063(0x274)]=_0x10cde6(ie());}(Es,function(_0x93a599){var _0x388790=_0x2631;return(function(){var _0x13391c=_0x2631,_0x5703f2=_0x93a599,_0x2b21e8=_0x5703f2['lib'],_0x271b6d=_0x2b21e8[_0x13391c(0x25b)],_0x35bed6=_0x5703f2[_0x13391c(0x2c5)];_0x35bed6[_0x13391c(0x14e)]={'stringify':function(_0x23f24d){var _0x23744c=_0x13391c,_0x4bf712=_0x23f24d[_0x23744c(0x122)],_0x1706c9=_0x23f24d[_0x23744c(0x316)],_0x3ce733=this['_map'];_0x23f24d[_0x23744c(0x17a)]();for(var _0x3aec67=[],_0x287b26=0x0;_0x287b26<_0x1706c9;_0x287b26+=0x3)for(var _0x4f185e=_0x4bf712[_0x287b26>>>0x2]>>>0x18-_0x287b26%0x4*0x8&0xff,_0x3d9c8f=_0x4bf712[_0x287b26+0x1>>>0x2]>>>0x18-(_0x287b26+0x1)%0x4*0x8&0xff,_0x141e2d=_0x4bf712[_0x287b26+0x2>>>0x2]>>>0x18-(_0x287b26+0x2)%0x4*0x8&0xff,_0x339ac9=_0x4f185e<<0x10|_0x3d9c8f<<0x8|_0x141e2d,_0x453bed=0x0;_0x453bed<0x4&&_0x287b26+_0x453bed*0.75<_0x1706c9;_0x453bed++)_0x3aec67[_0x23744c(0x37d)](_0x3ce733[_0x23744c(0x32f)](_0x339ac9>>>0x6*(0x3-_0x453bed)&0x3f));var _0x10a6e6=_0x3ce733[_0x23744c(0x32f)](0x40);if(_0x10a6e6){for(;_0x3aec67[_0x23744c(0x2eb)]%0x4;)_0x3aec67[_0x23744c(0x37d)](_0x10a6e6);}return _0x3aec67['join']('');},'parse':function(_0x209dc4){var _0x5c69ba=_0x13391c,_0x53e9d3=_0x209dc4['length'],_0x310794=this[_0x5c69ba(0x204)],_0x112a60=this[_0x5c69ba(0x326)];if(!_0x112a60){_0x112a60=this[_0x5c69ba(0x326)]=[];for(var _0x27ca4f=0x0;_0x27ca4f<_0x310794[_0x5c69ba(0x2eb)];_0x27ca4f++)_0x112a60[_0x310794[_0x5c69ba(0x1dd)](_0x27ca4f)]=_0x27ca4f;}var _0x33fd5c=_0x310794[_0x5c69ba(0x32f)](0x40);if(_0x33fd5c){var _0x150104=_0x209dc4[_0x5c69ba(0x166)](_0x33fd5c);_0x150104!==-0x1&&(_0x53e9d3=_0x150104);}return _0x2a5a42(_0x209dc4,_0x53e9d3,_0x112a60);},'_map':_0x13391c(0x284)};function _0x2a5a42(_0x2a7a1f,_0x292bc1,_0x1e9058){var _0x4acfae=_0x13391c;for(var _0x20f737=[],_0x4a7e8a=0x0,_0x59e8f3=0x0;_0x59e8f3<_0x292bc1;_0x59e8f3++)if(_0x59e8f3%0x4){var _0x52b7c5=_0x1e9058[_0x2a7a1f['charCodeAt'](_0x59e8f3-0x1)]<<_0x59e8f3%0x4*0x2,_0x4dd96a=_0x1e9058[_0x2a7a1f[_0x4acfae(0x1dd)](_0x59e8f3)]>>>0x6-_0x59e8f3%0x4*0x2,_0x11295d=_0x52b7c5|_0x4dd96a;_0x20f737[_0x4a7e8a>>>0x2]|=_0x11295d<<0x18-_0x4a7e8a%0x4*0x8,_0x4a7e8a++;}return _0x271b6d[_0x4acfae(0x22a)](_0x20f737,_0x4a7e8a);}}()),_0x93a599[_0x388790(0x2c5)]['Base64'];}));}(We)),We['exports'];}var Ke={'exports':{}},Is=Ke['exports'],Qt;function Ts(){var _0x53523a=_0x48c474;return Qt||(Qt=0x1,function(_0x60cfba,_0x4e35e5){(function(_0x5796f8,_0x5edf65){var _0x38d2b5=_0x2631;_0x60cfba[_0x38d2b5(0x274)]=_0x5edf65(ie());}(Is,function(_0x59b3c5){return function(_0x3626a2){var _0x53b510=_0x2631,_0x34e702=_0x59b3c5,_0x565a27=_0x34e702[_0x53b510(0x1d6)],_0xe3c2c1=_0x565a27['WordArray'],_0x111b83=_0x565a27[_0x53b510(0x1b0)],_0x28ad29=_0x34e702[_0x53b510(0x36e)],_0x39575c=[];(function(){var _0x339bad=_0x53b510;for(var _0x1118b5=0x0;_0x1118b5<0x40;_0x1118b5++)_0x39575c[_0x1118b5]=_0x3626a2['abs'](_0x3626a2[_0x339bad(0x37c)](_0x1118b5+0x1))*0x100000000|0x0;}());var _0x2518ed=_0x28ad29[_0x53b510(0x1c7)]=_0x111b83[_0x53b510(0x2e2)]({'_doReset':function(){var _0x23395f=_0x53b510;this['_hash']=new _0xe3c2c1[(_0x23395f(0x2b9))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x4c4d0f,_0x1c9e4c){var _0x7dade9=_0x53b510;for(var _0xddfe9b=0x0;_0xddfe9b<0x10;_0xddfe9b++){var _0xac355f=_0x1c9e4c+_0xddfe9b,_0x2b4262=_0x4c4d0f[_0xac355f];_0x4c4d0f[_0xac355f]=(_0x2b4262<<0x8|_0x2b4262>>>0x18)&0xff00ff|(_0x2b4262<<0x18|_0x2b4262>>>0x8)&0xff00ff00;}var _0x17e601=this[_0x7dade9(0x276)][_0x7dade9(0x122)],_0x534dd9=_0x4c4d0f[_0x1c9e4c+0x0],_0x10d0f5=_0x4c4d0f[_0x1c9e4c+0x1],_0x1a9d6c=_0x4c4d0f[_0x1c9e4c+0x2],_0x1ad6be=_0x4c4d0f[_0x1c9e4c+0x3],_0x1a89cc=_0x4c4d0f[_0x1c9e4c+0x4],_0x5cf134=_0x4c4d0f[_0x1c9e4c+0x5],_0x492f30=_0x4c4d0f[_0x1c9e4c+0x6],_0x45b790=_0x4c4d0f[_0x1c9e4c+0x7],_0x4e8899=_0x4c4d0f[_0x1c9e4c+0x8],_0x3554e1=_0x4c4d0f[_0x1c9e4c+0x9],_0x3a4fcc=_0x4c4d0f[_0x1c9e4c+0xa],_0x3b0c93=_0x4c4d0f[_0x1c9e4c+0xb],_0x5a3028=_0x4c4d0f[_0x1c9e4c+0xc],_0x54c625=_0x4c4d0f[_0x1c9e4c+0xd],_0x47c321=_0x4c4d0f[_0x1c9e4c+0xe],_0x5f4d26=_0x4c4d0f[_0x1c9e4c+0xf],_0x348a99=_0x17e601[0x0],_0x1de385=_0x17e601[0x1],_0x2a788c=_0x17e601[0x2],_0x2e853a=_0x17e601[0x3];_0x348a99=_0x1699eb(_0x348a99,_0x1de385,_0x2a788c,_0x2e853a,_0x534dd9,0x7,_0x39575c[0x0]),_0x2e853a=_0x1699eb(_0x2e853a,_0x348a99,_0x1de385,_0x2a788c,_0x10d0f5,0xc,_0x39575c[0x1]),_0x2a788c=_0x1699eb(_0x2a788c,_0x2e853a,_0x348a99,_0x1de385,_0x1a9d6c,0x11,_0x39575c[0x2]),_0x1de385=_0x1699eb(_0x1de385,_0x2a788c,_0x2e853a,_0x348a99,_0x1ad6be,0x16,_0x39575c[0x3]),_0x348a99=_0x1699eb(_0x348a99,_0x1de385,_0x2a788c,_0x2e853a,_0x1a89cc,0x7,_0x39575c[0x4]),_0x2e853a=_0x1699eb(_0x2e853a,_0x348a99,_0x1de385,_0x2a788c,_0x5cf134,0xc,_0x39575c[0x5]),_0x2a788c=_0x1699eb(_0x2a788c,_0x2e853a,_0x348a99,_0x1de385,_0x492f30,0x11,_0x39575c[0x6]),_0x1de385=_0x1699eb(_0x1de385,_0x2a788c,_0x2e853a,_0x348a99,_0x45b790,0x16,_0x39575c[0x7]),_0x348a99=_0x1699eb(_0x348a99,_0x1de385,_0x2a788c,_0x2e853a,_0x4e8899,0x7,_0x39575c[0x8]),_0x2e853a=_0x1699eb(_0x2e853a,_0x348a99,_0x1de385,_0x2a788c,_0x3554e1,0xc,_0x39575c[0x9]),_0x2a788c=_0x1699eb(_0x2a788c,_0x2e853a,_0x348a99,_0x1de385,_0x3a4fcc,0x11,_0x39575c[0xa]),_0x1de385=_0x1699eb(_0x1de385,_0x2a788c,_0x2e853a,_0x348a99,_0x3b0c93,0x16,_0x39575c[0xb]),_0x348a99=_0x1699eb(_0x348a99,_0x1de385,_0x2a788c,_0x2e853a,_0x5a3028,0x7,_0x39575c[0xc]),_0x2e853a=_0x1699eb(_0x2e853a,_0x348a99,_0x1de385,_0x2a788c,_0x54c625,0xc,_0x39575c[0xd]),_0x2a788c=_0x1699eb(_0x2a788c,_0x2e853a,_0x348a99,_0x1de385,_0x47c321,0x11,_0x39575c[0xe]),_0x1de385=_0x1699eb(_0x1de385,_0x2a788c,_0x2e853a,_0x348a99,_0x5f4d26,0x16,_0x39575c[0xf]),_0x348a99=_0x51ad31(_0x348a99,_0x1de385,_0x2a788c,_0x2e853a,_0x10d0f5,0x5,_0x39575c[0x10]),_0x2e853a=_0x51ad31(_0x2e853a,_0x348a99,_0x1de385,_0x2a788c,_0x492f30,0x9,_0x39575c[0x11]),_0x2a788c=_0x51ad31(_0x2a788c,_0x2e853a,_0x348a99,_0x1de385,_0x3b0c93,0xe,_0x39575c[0x12]),_0x1de385=_0x51ad31(_0x1de385,_0x2a788c,_0x2e853a,_0x348a99,_0x534dd9,0x14,_0x39575c[0x13]),_0x348a99=_0x51ad31(_0x348a99,_0x1de385,_0x2a788c,_0x2e853a,_0x5cf134,0x5,_0x39575c[0x14]),_0x2e853a=_0x51ad31(_0x2e853a,_0x348a99,_0x1de385,_0x2a788c,_0x3a4fcc,0x9,_0x39575c[0x15]),_0x2a788c=_0x51ad31(_0x2a788c,_0x2e853a,_0x348a99,_0x1de385,_0x5f4d26,0xe,_0x39575c[0x16]),_0x1de385=_0x51ad31(_0x1de385,_0x2a788c,_0x2e853a,_0x348a99,_0x1a89cc,0x14,_0x39575c[0x17]),_0x348a99=_0x51ad31(_0x348a99,_0x1de385,_0x2a788c,_0x2e853a,_0x3554e1,0x5,_0x39575c[0x18]),_0x2e853a=_0x51ad31(_0x2e853a,_0x348a99,_0x1de385,_0x2a788c,_0x47c321,0x9,_0x39575c[0x19]),_0x2a788c=_0x51ad31(_0x2a788c,_0x2e853a,_0x348a99,_0x1de385,_0x1ad6be,0xe,_0x39575c[0x1a]),_0x1de385=_0x51ad31(_0x1de385,_0x2a788c,_0x2e853a,_0x348a99,_0x4e8899,0x14,_0x39575c[0x1b]),_0x348a99=_0x51ad31(_0x348a99,_0x1de385,_0x2a788c,_0x2e853a,_0x54c625,0x5,_0x39575c[0x1c]),_0x2e853a=_0x51ad31(_0x2e853a,_0x348a99,_0x1de385,_0x2a788c,_0x1a9d6c,0x9,_0x39575c[0x1d]),_0x2a788c=_0x51ad31(_0x2a788c,_0x2e853a,_0x348a99,_0x1de385,_0x45b790,0xe,_0x39575c[0x1e]),_0x1de385=_0x51ad31(_0x1de385,_0x2a788c,_0x2e853a,_0x348a99,_0x5a3028,0x14,_0x39575c[0x1f]),_0x348a99=_0xd387f8(_0x348a99,_0x1de385,_0x2a788c,_0x2e853a,_0x5cf134,0x4,_0x39575c[0x20]),_0x2e853a=_0xd387f8(_0x2e853a,_0x348a99,_0x1de385,_0x2a788c,_0x4e8899,0xb,_0x39575c[0x21]),_0x2a788c=_0xd387f8(_0x2a788c,_0x2e853a,_0x348a99,_0x1de385,_0x3b0c93,0x10,_0x39575c[0x22]),_0x1de385=_0xd387f8(_0x1de385,_0x2a788c,_0x2e853a,_0x348a99,_0x47c321,0x17,_0x39575c[0x23]),_0x348a99=_0xd387f8(_0x348a99,_0x1de385,_0x2a788c,_0x2e853a,_0x10d0f5,0x4,_0x39575c[0x24]),_0x2e853a=_0xd387f8(_0x2e853a,_0x348a99,_0x1de385,_0x2a788c,_0x1a89cc,0xb,_0x39575c[0x25]),_0x2a788c=_0xd387f8(_0x2a788c,_0x2e853a,_0x348a99,_0x1de385,_0x45b790,0x10,_0x39575c[0x26]),_0x1de385=_0xd387f8(_0x1de385,_0x2a788c,_0x2e853a,_0x348a99,_0x3a4fcc,0x17,_0x39575c[0x27]),_0x348a99=_0xd387f8(_0x348a99,_0x1de385,_0x2a788c,_0x2e853a,_0x54c625,0x4,_0x39575c[0x28]),_0x2e853a=_0xd387f8(_0x2e853a,_0x348a99,_0x1de385,_0x2a788c,_0x534dd9,0xb,_0x39575c[0x29]),_0x2a788c=_0xd387f8(_0x2a788c,_0x2e853a,_0x348a99,_0x1de385,_0x1ad6be,0x10,_0x39575c[0x2a]),_0x1de385=_0xd387f8(_0x1de385,_0x2a788c,_0x2e853a,_0x348a99,_0x492f30,0x17,_0x39575c[0x2b]),_0x348a99=_0xd387f8(_0x348a99,_0x1de385,_0x2a788c,_0x2e853a,_0x3554e1,0x4,_0x39575c[0x2c]),_0x2e853a=_0xd387f8(_0x2e853a,_0x348a99,_0x1de385,_0x2a788c,_0x5a3028,0xb,_0x39575c[0x2d]),_0x2a788c=_0xd387f8(_0x2a788c,_0x2e853a,_0x348a99,_0x1de385,_0x5f4d26,0x10,_0x39575c[0x2e]),_0x1de385=_0xd387f8(_0x1de385,_0x2a788c,_0x2e853a,_0x348a99,_0x1a9d6c,0x17,_0x39575c[0x2f]),_0x348a99=_0x1935dc(_0x348a99,_0x1de385,_0x2a788c,_0x2e853a,_0x534dd9,0x6,_0x39575c[0x30]),_0x2e853a=_0x1935dc(_0x2e853a,_0x348a99,_0x1de385,_0x2a788c,_0x45b790,0xa,_0x39575c[0x31]),_0x2a788c=_0x1935dc(_0x2a788c,_0x2e853a,_0x348a99,_0x1de385,_0x47c321,0xf,_0x39575c[0x32]),_0x1de385=_0x1935dc(_0x1de385,_0x2a788c,_0x2e853a,_0x348a99,_0x5cf134,0x15,_0x39575c[0x33]),_0x348a99=_0x1935dc(_0x348a99,_0x1de385,_0x2a788c,_0x2e853a,_0x5a3028,0x6,_0x39575c[0x34]),_0x2e853a=_0x1935dc(_0x2e853a,_0x348a99,_0x1de385,_0x2a788c,_0x1ad6be,0xa,_0x39575c[0x35]),_0x2a788c=_0x1935dc(_0x2a788c,_0x2e853a,_0x348a99,_0x1de385,_0x3a4fcc,0xf,_0x39575c[0x36]),_0x1de385=_0x1935dc(_0x1de385,_0x2a788c,_0x2e853a,_0x348a99,_0x10d0f5,0x15,_0x39575c[0x37]),_0x348a99=_0x1935dc(_0x348a99,_0x1de385,_0x2a788c,_0x2e853a,_0x4e8899,0x6,_0x39575c[0x38]),_0x2e853a=_0x1935dc(_0x2e853a,_0x348a99,_0x1de385,_0x2a788c,_0x5f4d26,0xa,_0x39575c[0x39]),_0x2a788c=_0x1935dc(_0x2a788c,_0x2e853a,_0x348a99,_0x1de385,_0x492f30,0xf,_0x39575c[0x3a]),_0x1de385=_0x1935dc(_0x1de385,_0x2a788c,_0x2e853a,_0x348a99,_0x54c625,0x15,_0x39575c[0x3b]),_0x348a99=_0x1935dc(_0x348a99,_0x1de385,_0x2a788c,_0x2e853a,_0x1a89cc,0x6,_0x39575c[0x3c]),_0x2e853a=_0x1935dc(_0x2e853a,_0x348a99,_0x1de385,_0x2a788c,_0x3b0c93,0xa,_0x39575c[0x3d]),_0x2a788c=_0x1935dc(_0x2a788c,_0x2e853a,_0x348a99,_0x1de385,_0x1a9d6c,0xf,_0x39575c[0x3e]),_0x1de385=_0x1935dc(_0x1de385,_0x2a788c,_0x2e853a,_0x348a99,_0x3554e1,0x15,_0x39575c[0x3f]),_0x17e601[0x0]=_0x17e601[0x0]+_0x348a99|0x0,_0x17e601[0x1]=_0x17e601[0x1]+_0x1de385|0x0,_0x17e601[0x2]=_0x17e601[0x2]+_0x2a788c|0x0,_0x17e601[0x3]=_0x17e601[0x3]+_0x2e853a|0x0;},'_doFinalize':function(){var _0x3e6a0c=_0x53b510,_0x2fe236=this[_0x3e6a0c(0x36f)],_0x1ba63f=_0x2fe236[_0x3e6a0c(0x122)],_0x5c8672=this[_0x3e6a0c(0x2a2)]*0x8,_0x4428c5=_0x2fe236[_0x3e6a0c(0x316)]*0x8;_0x1ba63f[_0x4428c5>>>0x5]|=0x80<<0x18-_0x4428c5%0x20;var _0x8a654e=_0x3626a2[_0x3e6a0c(0x135)](_0x5c8672/0x100000000),_0x15c318=_0x5c8672;_0x1ba63f[(_0x4428c5+0x40>>>0x9<<0x4)+0xf]=(_0x8a654e<<0x8|_0x8a654e>>>0x18)&0xff00ff|(_0x8a654e<<0x18|_0x8a654e>>>0x8)&0xff00ff00,_0x1ba63f[(_0x4428c5+0x40>>>0x9<<0x4)+0xe]=(_0x15c318<<0x8|_0x15c318>>>0x18)&0xff00ff|(_0x15c318<<0x18|_0x15c318>>>0x8)&0xff00ff00,_0x2fe236[_0x3e6a0c(0x316)]=(_0x1ba63f[_0x3e6a0c(0x2eb)]+0x1)*0x4,this[_0x3e6a0c(0x197)]();for(var _0x4bdc67=this[_0x3e6a0c(0x276)],_0x10f24d=_0x4bdc67[_0x3e6a0c(0x122)],_0x18985e=0x0;_0x18985e<0x4;_0x18985e++){var _0x461ecf=_0x10f24d[_0x18985e];_0x10f24d[_0x18985e]=(_0x461ecf<<0x8|_0x461ecf>>>0x18)&0xff00ff|(_0x461ecf<<0x18|_0x461ecf>>>0x8)&0xff00ff00;}return _0x4bdc67;},'clone':function(){var _0x34d9b2=_0x53b510,_0x2689e4=_0x111b83[_0x34d9b2(0x387)][_0x34d9b2(0x2c1)](this);return _0x2689e4[_0x34d9b2(0x276)]=this[_0x34d9b2(0x276)][_0x34d9b2(0x387)](),_0x2689e4;}});function _0x1699eb(_0x36e522,_0x1207bd,_0x321c91,_0x295471,_0x1870d6,_0xf00f74,_0x509de6){var _0x52d960=_0x36e522+(_0x1207bd&_0x321c91|~_0x1207bd&_0x295471)+_0x1870d6+_0x509de6;return(_0x52d960<<_0xf00f74|_0x52d960>>>0x20-_0xf00f74)+_0x1207bd;}function _0x51ad31(_0x21f4e8,_0x2394b9,_0x11a6a2,_0x4d52a0,_0x20e1a5,_0x5cc362,_0x4db039){var _0x1ec3f6=_0x21f4e8+(_0x2394b9&_0x4d52a0|_0x11a6a2&~_0x4d52a0)+_0x20e1a5+_0x4db039;return(_0x1ec3f6<<_0x5cc362|_0x1ec3f6>>>0x20-_0x5cc362)+_0x2394b9;}function _0xd387f8(_0x3cb269,_0x45dc23,_0x511817,_0xe9368c,_0x1d74ed,_0x142f3c,_0x538cf9){var _0x4b4b54=_0x3cb269+(_0x45dc23^_0x511817^_0xe9368c)+_0x1d74ed+_0x538cf9;return(_0x4b4b54<<_0x142f3c|_0x4b4b54>>>0x20-_0x142f3c)+_0x45dc23;}function _0x1935dc(_0x44496b,_0x580109,_0x3b8988,_0x41ce3b,_0x2f04f8,_0x5555e2,_0x5873b0){var _0x454d7e=_0x44496b+(_0x3b8988^(_0x580109|~_0x41ce3b))+_0x2f04f8+_0x5873b0;return(_0x454d7e<<_0x5555e2|_0x454d7e>>>0x20-_0x5555e2)+_0x580109;}_0x34e702[_0x53b510(0x1c7)]=_0x111b83[_0x53b510(0x272)](_0x2518ed),_0x34e702[_0x53b510(0x2cc)]=_0x111b83[_0x53b510(0x38e)](_0x2518ed);}(Math),_0x59b3c5['MD5'];}));}(Ke)),Ke[_0x53523a(0x274)];}var Ye={'exports':{}},qe={'exports':{}},Cs=qe[_0x48c474(0x274)],ei;function Rs(){var _0x1ce96c=_0x48c474;return ei||(ei=0x1,function(_0x3f2ed2,_0x393e91){(function(_0x4363c8,_0xd00b9b){var _0x531403=_0x2631;_0x3f2ed2[_0x531403(0x274)]=_0xd00b9b(ie());}(Cs,function(_0x2b0e47){var _0x4725c3=_0x2631;return(function(){var _0x967080=_0x2631,_0x40d448=_0x2b0e47,_0x3b59df=_0x40d448[_0x967080(0x1d6)],_0x4db87f=_0x3b59df[_0x967080(0x25b)],_0x32ee46=_0x3b59df[_0x967080(0x1b0)],_0x5dae33=_0x40d448[_0x967080(0x36e)],_0x59869d=[],_0x39c57d=_0x5dae33[_0x967080(0x16f)]=_0x32ee46['extend']({'_doReset':function(){var _0x3bbd4f=_0x967080;this[_0x3bbd4f(0x276)]=new _0x4db87f['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x554761,_0xffa582){var _0x52a8ad=_0x967080;for(var _0x3b303e=this[_0x52a8ad(0x276)][_0x52a8ad(0x122)],_0xeb896f=_0x3b303e[0x0],_0x38313e=_0x3b303e[0x1],_0xb36d4f=_0x3b303e[0x2],_0x2fbd59=_0x3b303e[0x3],_0x5387d4=_0x3b303e[0x4],_0x522a0c=0x0;_0x522a0c<0x50;_0x522a0c++){if(_0x522a0c<0x10)_0x59869d[_0x522a0c]=_0x554761[_0xffa582+_0x522a0c]|0x0;else{var _0x28293d=_0x59869d[_0x522a0c-0x3]^_0x59869d[_0x522a0c-0x8]^_0x59869d[_0x522a0c-0xe]^_0x59869d[_0x522a0c-0x10];_0x59869d[_0x522a0c]=_0x28293d<<0x1|_0x28293d>>>0x1f;}var _0x29588e=(_0xeb896f<<0x5|_0xeb896f>>>0x1b)+_0x5387d4+_0x59869d[_0x522a0c];_0x522a0c<0x14?_0x29588e+=(_0x38313e&_0xb36d4f|~_0x38313e&_0x2fbd59)+0x5a827999:_0x522a0c<0x28?_0x29588e+=(_0x38313e^_0xb36d4f^_0x2fbd59)+0x6ed9eba1:_0x522a0c<0x3c?_0x29588e+=(_0x38313e&_0xb36d4f|_0x38313e&_0x2fbd59|_0xb36d4f&_0x2fbd59)-0x70e44324:_0x29588e+=(_0x38313e^_0xb36d4f^_0x2fbd59)-0x359d3e2a,_0x5387d4=_0x2fbd59,_0x2fbd59=_0xb36d4f,_0xb36d4f=_0x38313e<<0x1e|_0x38313e>>>0x2,_0x38313e=_0xeb896f,_0xeb896f=_0x29588e;}_0x3b303e[0x0]=_0x3b303e[0x0]+_0xeb896f|0x0,_0x3b303e[0x1]=_0x3b303e[0x1]+_0x38313e|0x0,_0x3b303e[0x2]=_0x3b303e[0x2]+_0xb36d4f|0x0,_0x3b303e[0x3]=_0x3b303e[0x3]+_0x2fbd59|0x0,_0x3b303e[0x4]=_0x3b303e[0x4]+_0x5387d4|0x0;},'_doFinalize':function(){var _0x452e55=_0x967080,_0x434834=this[_0x452e55(0x36f)],_0x206d27=_0x434834[_0x452e55(0x122)],_0x38afde=this[_0x452e55(0x2a2)]*0x8,_0x29ad1b=_0x434834['sigBytes']*0x8;return _0x206d27[_0x29ad1b>>>0x5]|=0x80<<0x18-_0x29ad1b%0x20,_0x206d27[(_0x29ad1b+0x40>>>0x9<<0x4)+0xe]=Math[_0x452e55(0x135)](_0x38afde/0x100000000),_0x206d27[(_0x29ad1b+0x40>>>0x9<<0x4)+0xf]=_0x38afde,_0x434834[_0x452e55(0x316)]=_0x206d27[_0x452e55(0x2eb)]*0x4,this[_0x452e55(0x197)](),this[_0x452e55(0x276)];},'clone':function(){var _0x38f5aa=_0x967080,_0x6e4bc5=_0x32ee46['clone'][_0x38f5aa(0x2c1)](this);return _0x6e4bc5[_0x38f5aa(0x276)]=this['_hash'][_0x38f5aa(0x387)](),_0x6e4bc5;}});_0x40d448[_0x967080(0x16f)]=_0x32ee46[_0x967080(0x272)](_0x39c57d),_0x40d448[_0x967080(0x178)]=_0x32ee46[_0x967080(0x38e)](_0x39c57d);}()),_0x2b0e47[_0x4725c3(0x16f)];}));}(qe)),qe[_0x1ce96c(0x274)];}var ze={'exports':{}},bs=ze[_0x48c474(0x274)],ti;function Os(){var _0x159af6=_0x48c474;return ti||(ti=0x1,function(_0x4ab5f4,_0xbf88f4){(function(_0x1da54e,_0x1190b4){var _0x492365=_0x2631;_0x4ab5f4[_0x492365(0x274)]=_0x1190b4(ie());}(bs,function(_0x25b9c0){(function(){var _0x52e44d=_0x2631,_0x5cdaa0=_0x25b9c0,_0x4cf109=_0x5cdaa0[_0x52e44d(0x1d6)],_0x420714=_0x4cf109['Base'],_0x45aacd=_0x5cdaa0['enc'],_0x378501=_0x45aacd['Utf8'],_0x567c31=_0x5cdaa0['algo'];_0x567c31[_0x52e44d(0x27c)]=_0x420714[_0x52e44d(0x2e2)]({'init':function(_0x1817d2,_0x1d84c7){var _0x51d818=_0x52e44d;_0x1817d2=this['_hasher']=new _0x1817d2['init'](),typeof _0x1d84c7=='string'&&(_0x1d84c7=_0x378501[_0x51d818(0x40d)](_0x1d84c7));var _0x56c7f6=_0x1817d2[_0x51d818(0x287)],_0x3dacc1=_0x56c7f6*0x4;_0x1d84c7[_0x51d818(0x316)]>_0x3dacc1&&(_0x1d84c7=_0x1817d2[_0x51d818(0x308)](_0x1d84c7)),_0x1d84c7['clamp']();for(var _0x5abf46=this['_oKey']=_0x1d84c7[_0x51d818(0x387)](),_0x37f2f8=this[_0x51d818(0x235)]=_0x1d84c7[_0x51d818(0x387)](),_0x47b6bf=_0x5abf46[_0x51d818(0x122)],_0x3d28ad=_0x37f2f8[_0x51d818(0x122)],_0x22922f=0x0;_0x22922f<_0x56c7f6;_0x22922f++)_0x47b6bf[_0x22922f]^=0x5c5c5c5c,_0x3d28ad[_0x22922f]^=0x36363636;_0x5abf46[_0x51d818(0x316)]=_0x37f2f8[_0x51d818(0x316)]=_0x3dacc1,this[_0x51d818(0x2cb)]();},'reset':function(){var _0x17e5a1=_0x52e44d,_0x12c63a=this['_hasher'];_0x12c63a[_0x17e5a1(0x2cb)](),_0x12c63a['update'](this[_0x17e5a1(0x235)]);},'update':function(_0xe824c6){var _0x2dca5f=_0x52e44d;return this['_hasher'][_0x2dca5f(0x263)](_0xe824c6),this;},'finalize':function(_0xc744f0){var _0x379e5e=_0x52e44d,_0x1403b6=this[_0x379e5e(0x163)],_0x24e217=_0x1403b6[_0x379e5e(0x308)](_0xc744f0);_0x1403b6[_0x379e5e(0x2cb)]();var _0x1c2a64=_0x1403b6['finalize'](this['_oKey'][_0x379e5e(0x387)]()[_0x379e5e(0x30d)](_0x24e217));return _0x1c2a64;}});}());}));}(ze)),ze[_0x159af6(0x274)];}var ys=Ye['exports'],ii;function Ui(){var _0x42d09d=_0x48c474;return ii||(ii=0x1,function(_0x549aba,_0x571ed6){(function(_0x879302,_0x1e704f,_0x5f3daf){var _0x41c75f=_0x2631;_0x549aba[_0x41c75f(0x274)]=_0x1e704f(ie(),Rs(),Os());}(ys,function(_0x4ba78d){var _0x53c7c7=_0x2631;return(function(){var _0x1b0c67=_0x2631,_0x5b401b=_0x4ba78d,_0xaea30b=_0x5b401b[_0x1b0c67(0x1d6)],_0x116df0=_0xaea30b[_0x1b0c67(0x319)],_0x329253=_0xaea30b[_0x1b0c67(0x25b)],_0x42bda8=_0x5b401b[_0x1b0c67(0x36e)],_0x21681d=_0x42bda8[_0x1b0c67(0x1c7)],_0x53c17f=_0x42bda8[_0x1b0c67(0x2fb)]=_0x116df0['extend']({'cfg':_0x116df0['extend']({'keySize':0x80/0x20,'hasher':_0x21681d,'iterations':0x1}),'init':function(_0x3a6964){var _0x356675=_0x1b0c67;this[_0x356675(0x1e1)]=this[_0x356675(0x1e1)][_0x356675(0x2e2)](_0x3a6964);},'compute':function(_0x345803,_0x5f25be){var _0x595666=_0x1b0c67;for(var _0x3239b0,_0x472c8a=this[_0x595666(0x1e1)],_0x5a703b=_0x472c8a[_0x595666(0x293)][_0x595666(0x22a)](),_0xa5c09b=_0x329253[_0x595666(0x22a)](),_0x3668f4=_0xa5c09b['words'],_0x5d95e4=_0x472c8a[_0x595666(0x281)],_0x220b36=_0x472c8a[_0x595666(0x34a)];_0x3668f4['length']<_0x5d95e4;){_0x3239b0&&_0x5a703b['update'](_0x3239b0),_0x3239b0=_0x5a703b[_0x595666(0x263)](_0x345803)[_0x595666(0x308)](_0x5f25be),_0x5a703b[_0x595666(0x2cb)]();for(var _0x3f00ea=0x1;_0x3f00ea<_0x220b36;_0x3f00ea++)_0x3239b0=_0x5a703b[_0x595666(0x308)](_0x3239b0),_0x5a703b['reset']();_0xa5c09b[_0x595666(0x30d)](_0x3239b0);}return _0xa5c09b['sigBytes']=_0x5d95e4*0x4,_0xa5c09b;}});_0x5b401b[_0x1b0c67(0x2fb)]=function(_0x3031cd,_0x7927ce,_0x42589a){var _0x5c6f4f=_0x1b0c67;return _0x53c17f['create'](_0x42589a)[_0x5c6f4f(0x216)](_0x3031cd,_0x7927ce);};}()),_0x4ba78d[_0x53c7c7(0x2fb)];}));}(Ye)),Ye[_0x42d09d(0x274)];}var Je={'exports':{}},Ns=Je['exports'],ni;function Ai(){var _0x42dad8=_0x48c474;return ni||(ni=0x1,function(_0x516802,_0x1092bb){(function(_0x3b41b8,_0x5a1de8,_0xd3630a){var _0x313bc9=_0x2631;_0x516802[_0x313bc9(0x274)]=_0x5a1de8(ie(),Ui());}(Ns,function(_0x3075ef){var _0x4ba1d4=_0x2631;_0x3075ef[_0x4ba1d4(0x1d6)]['Cipher']||function(_0x54522c){var _0x188648=_0x4ba1d4,_0x52f7e5=_0x3075ef,_0x2649c6=_0x52f7e5['lib'],_0x32d6a2=_0x2649c6[_0x188648(0x319)],_0x1d9b9e=_0x2649c6[_0x188648(0x25b)],_0x2f0baf=_0x2649c6['BufferedBlockAlgorithm'],_0x24599d=_0x52f7e5[_0x188648(0x2c5)];_0x24599d[_0x188648(0x141)];var _0x39ac43=_0x24599d['Base64'],_0x17a6b7=_0x52f7e5[_0x188648(0x36e)],_0x1e98a7=_0x17a6b7[_0x188648(0x2fb)],_0xe04b2b=_0x2649c6[_0x188648(0x3e0)]=_0x2f0baf['extend']({'cfg':_0x32d6a2[_0x188648(0x2e2)](),'createEncryptor':function(_0x3ae25b,_0xf92ae9){var _0x41a1cf=_0x188648;return this[_0x41a1cf(0x22a)](this[_0x41a1cf(0x324)],_0x3ae25b,_0xf92ae9);},'createDecryptor':function(_0x43f664,_0x732574){var _0xb7253d=_0x188648;return this['create'](this[_0xb7253d(0x2a4)],_0x43f664,_0x732574);},'init':function(_0x542b29,_0x50cfaf,_0x1050b7){var _0x11704f=_0x188648;this[_0x11704f(0x1e1)]=this[_0x11704f(0x1e1)][_0x11704f(0x2e2)](_0x1050b7),this[_0x11704f(0x2ab)]=_0x542b29,this['_key']=_0x50cfaf,this[_0x11704f(0x2cb)]();},'reset':function(){var _0x98cb89=_0x188648;_0x2f0baf[_0x98cb89(0x2cb)]['call'](this),this[_0x98cb89(0x40a)]();},'process':function(_0x3136f4){return this['_append'](_0x3136f4),this['_process']();},'finalize':function(_0x3fd3af){var _0x529b2b=_0x188648;_0x3fd3af&&this[_0x529b2b(0x2f3)](_0x3fd3af);var _0x502f68=this[_0x529b2b(0x31d)]();return _0x502f68;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x56177c(_0x3c5e2f){var _0x19fff1=_0x2631;return typeof _0x3c5e2f==_0x19fff1(0x188)?_0x5c5150:_0x267db0;}return function(_0x5df788){return{'encrypt':function(_0x1557b6,_0x5722ea,_0x4324eb){var _0x16725f=_0x2631;return _0x56177c(_0x5722ea)[_0x16725f(0x406)](_0x5df788,_0x1557b6,_0x5722ea,_0x4324eb);},'decrypt':function(_0x2c53d1,_0x10a4ce,_0x55a031){var _0x34134b=_0x2631;return _0x56177c(_0x10a4ce)[_0x34134b(0x250)](_0x5df788,_0x2c53d1,_0x10a4ce,_0x55a031);}};};}())});_0x2649c6['StreamCipher']=_0xe04b2b['extend']({'_doFinalize':function(){var _0x1778e2=this['_process'](!0x0);return _0x1778e2;},'blockSize':0x1});var _0x44e3fe=_0x52f7e5['mode']={},_0x198ec8=_0x2649c6[_0x188648(0x229)]=_0x32d6a2['extend']({'createEncryptor':function(_0x27d2c7,_0x36c789){var _0x429885=_0x188648;return this[_0x429885(0x35a)][_0x429885(0x22a)](_0x27d2c7,_0x36c789);},'createDecryptor':function(_0x1bab84,_0x488bd1){var _0x2b2f82=_0x188648;return this[_0x2b2f82(0x1f7)][_0x2b2f82(0x22a)](_0x1bab84,_0x488bd1);},'init':function(_0x37052b,_0x1cefb5){var _0x2e8e19=_0x188648;this[_0x2e8e19(0x28e)]=_0x37052b,this[_0x2e8e19(0x3ab)]=_0x1cefb5;}}),_0x129fbf=_0x44e3fe[_0x188648(0x181)]=(function(){var _0x5be10f=_0x188648,_0x31c43d=_0x198ec8[_0x5be10f(0x2e2)]();_0x31c43d[_0x5be10f(0x35a)]=_0x31c43d[_0x5be10f(0x2e2)]({'processBlock':function(_0x3d1b47,_0x31a4bd){var _0x2f717e=_0x5be10f,_0x356c1f=this[_0x2f717e(0x28e)],_0x49cbd9=_0x356c1f[_0x2f717e(0x287)];_0x459e7f['call'](this,_0x3d1b47,_0x31a4bd,_0x49cbd9),_0x356c1f['encryptBlock'](_0x3d1b47,_0x31a4bd),this['_prevBlock']=_0x3d1b47[_0x2f717e(0x1ad)](_0x31a4bd,_0x31a4bd+_0x49cbd9);}}),_0x31c43d[_0x5be10f(0x1f7)]=_0x31c43d[_0x5be10f(0x2e2)]({'processBlock':function(_0x570661,_0x2bf40a){var _0xc934e5=_0x5be10f,_0x4a6bc1=this[_0xc934e5(0x28e)],_0x4e1b90=_0x4a6bc1['blockSize'],_0x587dc0=_0x570661[_0xc934e5(0x1ad)](_0x2bf40a,_0x2bf40a+_0x4e1b90);_0x4a6bc1[_0xc934e5(0x1a2)](_0x570661,_0x2bf40a),_0x459e7f[_0xc934e5(0x2c1)](this,_0x570661,_0x2bf40a,_0x4e1b90),this['_prevBlock']=_0x587dc0;}});function _0x459e7f(_0x285604,_0x46b283,_0x428514){var _0x173596=_0x5be10f,_0x19813c,_0x20492b=this[_0x173596(0x3ab)];_0x20492b?(_0x19813c=_0x20492b,this[_0x173596(0x3ab)]=_0x54522c):_0x19813c=this[_0x173596(0x40c)];for(var _0x515196=0x0;_0x515196<_0x428514;_0x515196++)_0x285604[_0x46b283+_0x515196]^=_0x19813c[_0x515196];}return _0x31c43d;}()),_0x15a70c=_0x52f7e5['pad']={},_0xead5=_0x15a70c[_0x188648(0x160)]={'pad':function(_0x33e857,_0x1e41d4){var _0x41a577=_0x188648;for(var _0x5dbd6b=_0x1e41d4*0x4,_0x10552c=_0x5dbd6b-_0x33e857['sigBytes']%_0x5dbd6b,_0x52e3a7=_0x10552c<<0x18|_0x10552c<<0x10|_0x10552c<<0x8|_0x10552c,_0x29ee31=[],_0x34587c=0x0;_0x34587c<_0x10552c;_0x34587c+=0x4)_0x29ee31[_0x41a577(0x37d)](_0x52e3a7);var _0x4e078b=_0x1d9b9e[_0x41a577(0x22a)](_0x29ee31,_0x10552c);_0x33e857['concat'](_0x4e078b);},'unpad':function(_0x399a61){var _0x3e4fa0=_0x188648,_0x3f38bb=_0x399a61[_0x3e4fa0(0x122)][_0x399a61[_0x3e4fa0(0x316)]-0x1>>>0x2]&0xff;_0x399a61['sigBytes']-=_0x3f38bb;}};_0x2649c6['BlockCipher']=_0xe04b2b['extend']({'cfg':_0xe04b2b[_0x188648(0x1e1)][_0x188648(0x2e2)]({'mode':_0x129fbf,'padding':_0xead5}),'reset':function(){var _0x23ab72=_0x188648,_0x2cbd1f;_0xe04b2b[_0x23ab72(0x2cb)][_0x23ab72(0x2c1)](this);var _0x105a59=this[_0x23ab72(0x1e1)],_0x25a3c7=_0x105a59['iv'],_0x4c8267=_0x105a59['mode'];this[_0x23ab72(0x2ab)]==this[_0x23ab72(0x324)]?_0x2cbd1f=_0x4c8267[_0x23ab72(0x315)]:(_0x2cbd1f=_0x4c8267[_0x23ab72(0x19e)],this['_minBufferSize']=0x1),this[_0x23ab72(0x17f)]&&this['_mode'][_0x23ab72(0x19a)]==_0x2cbd1f?this[_0x23ab72(0x17f)]['init'](this,_0x25a3c7&&_0x25a3c7[_0x23ab72(0x122)]):(this[_0x23ab72(0x17f)]=_0x2cbd1f[_0x23ab72(0x2c1)](_0x4c8267,this,_0x25a3c7&&_0x25a3c7[_0x23ab72(0x122)]),this[_0x23ab72(0x17f)]['__creator']=_0x2cbd1f);},'_doProcessBlock':function(_0x58aebf,_0x5ec929){var _0x51d589=_0x188648;this[_0x51d589(0x17f)][_0x51d589(0x29b)](_0x58aebf,_0x5ec929);},'_doFinalize':function(){var _0x476948=_0x188648,_0x26b5d6,_0x44ddd1=this[_0x476948(0x1e1)][_0x476948(0x1d4)];return this[_0x476948(0x2ab)]==this[_0x476948(0x324)]?(_0x44ddd1[_0x476948(0x3c7)](this[_0x476948(0x36f)],this[_0x476948(0x287)]),_0x26b5d6=this['_process'](!0x0)):(_0x26b5d6=this[_0x476948(0x197)](!0x0),_0x44ddd1['unpad'](_0x26b5d6)),_0x26b5d6;},'blockSize':0x80/0x20});var _0x22d387=_0x2649c6[_0x188648(0x3bb)]=_0x32d6a2[_0x188648(0x2e2)]({'init':function(_0x40f42b){var _0x2eb743=_0x188648;this[_0x2eb743(0x28c)](_0x40f42b);},'toString':function(_0x432eec){var _0x501e9b=_0x188648;return(_0x432eec||this['formatter'])[_0x501e9b(0x13e)](this);}}),_0x541f99=_0x52f7e5['format']={},_0x2f8a64=_0x541f99[_0x188648(0x202)]={'stringify':function(_0xd21e33){var _0x262ef6=_0x188648,_0x4c8dd9,_0x3532c5=_0xd21e33[_0x262ef6(0x405)],_0x346567=_0xd21e33[_0x262ef6(0x2bb)];return _0x346567?_0x4c8dd9=_0x1d9b9e[_0x262ef6(0x22a)]([0x53616c74,0x65645f5f])[_0x262ef6(0x30d)](_0x346567)[_0x262ef6(0x30d)](_0x3532c5):_0x4c8dd9=_0x3532c5,_0x4c8dd9[_0x262ef6(0x365)](_0x39ac43);},'parse':function(_0x45ce7c){var _0xb7d29a=_0x188648,_0x573e73,_0x27e96d=_0x39ac43['parse'](_0x45ce7c),_0x42dce9=_0x27e96d[_0xb7d29a(0x122)];return _0x42dce9[0x0]==0x53616c74&&_0x42dce9[0x1]==0x65645f5f&&(_0x573e73=_0x1d9b9e[_0xb7d29a(0x22a)](_0x42dce9[_0xb7d29a(0x1ad)](0x2,0x4)),_0x42dce9['splice'](0x0,0x4),_0x27e96d[_0xb7d29a(0x316)]-=0x10),_0x22d387[_0xb7d29a(0x22a)]({'ciphertext':_0x27e96d,'salt':_0x573e73});}},_0x267db0=_0x2649c6['SerializableCipher']=_0x32d6a2['extend']({'cfg':_0x32d6a2[_0x188648(0x2e2)]({'format':_0x2f8a64}),'encrypt':function(_0x5b9f8f,_0x1a9cfc,_0x4e20d2,_0x56b030){var _0x3c7650=_0x188648;_0x56b030=this[_0x3c7650(0x1e1)][_0x3c7650(0x2e2)](_0x56b030);var _0x547a02=_0x5b9f8f[_0x3c7650(0x315)](_0x4e20d2,_0x56b030),_0x42f560=_0x547a02['finalize'](_0x1a9cfc),_0xdc2087=_0x547a02[_0x3c7650(0x1e1)];return _0x22d387[_0x3c7650(0x22a)]({'ciphertext':_0x42f560,'key':_0x4e20d2,'iv':_0xdc2087['iv'],'algorithm':_0x5b9f8f,'mode':_0xdc2087[_0x3c7650(0x419)],'padding':_0xdc2087[_0x3c7650(0x1d4)],'blockSize':_0x5b9f8f[_0x3c7650(0x287)],'formatter':_0x56b030[_0x3c7650(0x37b)]});},'decrypt':function(_0x656281,_0x1cc974,_0x4632e1,_0x44e22f){var _0x51f3de=_0x188648;_0x44e22f=this['cfg'][_0x51f3de(0x2e2)](_0x44e22f),_0x1cc974=this[_0x51f3de(0x20a)](_0x1cc974,_0x44e22f['format']);var _0x1f725c=_0x656281['createDecryptor'](_0x4632e1,_0x44e22f)['finalize'](_0x1cc974[_0x51f3de(0x405)]);return _0x1f725c;},'_parse':function(_0x2d6656,_0xe79673){var _0x3e90ce=_0x188648;return typeof _0x2d6656==_0x3e90ce(0x188)?_0xe79673[_0x3e90ce(0x40d)](_0x2d6656,this):_0x2d6656;}}),_0x441e48=_0x52f7e5['kdf']={},_0x356298=_0x441e48[_0x188648(0x202)]={'execute':function(_0x58271f,_0x1630ff,_0x16a496,_0x2d01bd,_0x2e0e11){var _0x3fd4a5=_0x188648;if(_0x2d01bd||(_0x2d01bd=_0x1d9b9e[_0x3fd4a5(0x20e)](0x40/0x8)),_0x2e0e11)var _0x4c8a01=_0x1e98a7[_0x3fd4a5(0x22a)]({'keySize':_0x1630ff+_0x16a496,'hasher':_0x2e0e11})[_0x3fd4a5(0x216)](_0x58271f,_0x2d01bd);else var _0x4c8a01=_0x1e98a7[_0x3fd4a5(0x22a)]({'keySize':_0x1630ff+_0x16a496})[_0x3fd4a5(0x216)](_0x58271f,_0x2d01bd);var _0x2cf49e=_0x1d9b9e[_0x3fd4a5(0x22a)](_0x4c8a01[_0x3fd4a5(0x122)][_0x3fd4a5(0x1ad)](_0x1630ff),_0x16a496*0x4);return _0x4c8a01[_0x3fd4a5(0x316)]=_0x1630ff*0x4,_0x22d387['create']({'key':_0x4c8a01,'iv':_0x2cf49e,'salt':_0x2d01bd});}},_0x5c5150=_0x2649c6[_0x188648(0x15a)]=_0x267db0[_0x188648(0x2e2)]({'cfg':_0x267db0[_0x188648(0x1e1)][_0x188648(0x2e2)]({'kdf':_0x356298}),'encrypt':function(_0x591019,_0x6e579d,_0x26887e,_0x22db7a){var _0x58d4d2=_0x188648;_0x22db7a=this[_0x58d4d2(0x1e1)][_0x58d4d2(0x2e2)](_0x22db7a);var _0x2938f3=_0x22db7a['kdf'][_0x58d4d2(0x18f)](_0x26887e,_0x591019['keySize'],_0x591019[_0x58d4d2(0x389)],_0x22db7a[_0x58d4d2(0x2bb)],_0x22db7a['hasher']);_0x22db7a['iv']=_0x2938f3['iv'];var _0x45bb15=_0x267db0[_0x58d4d2(0x406)][_0x58d4d2(0x2c1)](this,_0x591019,_0x6e579d,_0x2938f3['key'],_0x22db7a);return _0x45bb15['mixIn'](_0x2938f3),_0x45bb15;},'decrypt':function(_0x497deb,_0x454280,_0x113159,_0x4082ab){var _0x62265e=_0x188648;_0x4082ab=this[_0x62265e(0x1e1)][_0x62265e(0x2e2)](_0x4082ab),_0x454280=this['_parse'](_0x454280,_0x4082ab[_0x62265e(0x37b)]);var _0x57eacf=_0x4082ab[_0x62265e(0x158)]['execute'](_0x113159,_0x497deb[_0x62265e(0x281)],_0x497deb[_0x62265e(0x389)],_0x454280[_0x62265e(0x2bb)],_0x4082ab[_0x62265e(0x293)]);_0x4082ab['iv']=_0x57eacf['iv'];var _0x40982f=_0x267db0['decrypt']['call'](this,_0x497deb,_0x454280,_0x57eacf[_0x62265e(0x41d)],_0x4082ab);return _0x40982f;}});}();}));}(Je)),Je[_0x42dad8(0x274)];}var Ds=Ve[_0x48c474(0x274)],si;function Us(){return si||(si=0x1,function(_0x754105,_0x33e9a0){(function(_0x55fec3,_0x408141,_0x1ba04c){var _0x3dd75a=_0x2631;_0x754105[_0x3dd75a(0x274)]=_0x408141(ie(),Di(),Ts(),Ui(),Ai());}(Ds,function(_0x350b92){var _0x4362b6=_0x2631;return(function(){var _0x2988c9=_0x2631,_0x1a327b=_0x350b92,_0xa0112b=_0x1a327b[_0x2988c9(0x1d6)],_0x2f5761=_0xa0112b['BlockCipher'],_0x1b7791=_0x1a327b[_0x2988c9(0x36e)],_0x13c366=[],_0x27c9c7=[],_0x4c61ea=[],_0x680d02=[],_0x30ac53=[],_0x2fab53=[],_0x5a9b7f=[],_0x5d1e56=[],_0x381974=[],_0x2e723d=[];(function(){for(var _0x2509fa=[],_0xb590f1=0x0;_0xb590f1<0x100;_0xb590f1++)_0xb590f1<0x80?_0x2509fa[_0xb590f1]=_0xb590f1<<0x1:_0x2509fa[_0xb590f1]=_0xb590f1<<0x1^0x11b;for(var _0x28934c=0x0,_0x192819=0x0,_0xb590f1=0x0;_0xb590f1<0x100;_0xb590f1++){var _0x2bc1a2=_0x192819^_0x192819<<0x1^_0x192819<<0x2^_0x192819<<0x3^_0x192819<<0x4;_0x2bc1a2=_0x2bc1a2>>>0x8^_0x2bc1a2&0xff^0x63,_0x13c366[_0x28934c]=_0x2bc1a2,_0x27c9c7[_0x2bc1a2]=_0x28934c;var _0x3c2714=_0x2509fa[_0x28934c],_0x7324f6=_0x2509fa[_0x3c2714],_0xd41921=_0x2509fa[_0x7324f6],_0x381440=_0x2509fa[_0x2bc1a2]*0x101^_0x2bc1a2*0x1010100;_0x4c61ea[_0x28934c]=_0x381440<<0x18|_0x381440>>>0x8,_0x680d02[_0x28934c]=_0x381440<<0x10|_0x381440>>>0x10,_0x30ac53[_0x28934c]=_0x381440<<0x8|_0x381440>>>0x18,_0x2fab53[_0x28934c]=_0x381440;var _0x381440=_0xd41921*0x1010101^_0x7324f6*0x10001^_0x3c2714*0x101^_0x28934c*0x1010100;_0x5a9b7f[_0x2bc1a2]=_0x381440<<0x18|_0x381440>>>0x8,_0x5d1e56[_0x2bc1a2]=_0x381440<<0x10|_0x381440>>>0x10,_0x381974[_0x2bc1a2]=_0x381440<<0x8|_0x381440>>>0x18,_0x2e723d[_0x2bc1a2]=_0x381440,_0x28934c?(_0x28934c=_0x3c2714^_0x2509fa[_0x2509fa[_0x2509fa[_0xd41921^_0x3c2714]]],_0x192819^=_0x2509fa[_0x2509fa[_0x192819]]):_0x28934c=_0x192819=0x1;}}());var _0x1970ac=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x3dc636=_0x1b7791[_0x2988c9(0x38b)]=_0x2f5761[_0x2988c9(0x2e2)]({'_doReset':function(){var _0x1b9727=_0x2988c9,_0x4a18e9;if(!(this[_0x1b9727(0x392)]&&this['_keyPriorReset']===this[_0x1b9727(0x124)])){for(var _0x2c55f3=this['_keyPriorReset']=this[_0x1b9727(0x124)],_0x28f1e3=_0x2c55f3['words'],_0x387a92=_0x2c55f3[_0x1b9727(0x316)]/0x4,_0x51f2fa=this[_0x1b9727(0x392)]=_0x387a92+0x6,_0x80ce7b=(_0x51f2fa+0x1)*0x4,_0xc379d4=this[_0x1b9727(0x28a)]=[],_0x5e7a9c=0x0;_0x5e7a9c<_0x80ce7b;_0x5e7a9c++)_0x5e7a9c<_0x387a92?_0xc379d4[_0x5e7a9c]=_0x28f1e3[_0x5e7a9c]:(_0x4a18e9=_0xc379d4[_0x5e7a9c-0x1],_0x5e7a9c%_0x387a92?_0x387a92>0x6&&_0x5e7a9c%_0x387a92==0x4&&(_0x4a18e9=_0x13c366[_0x4a18e9>>>0x18]<<0x18|_0x13c366[_0x4a18e9>>>0x10&0xff]<<0x10|_0x13c366[_0x4a18e9>>>0x8&0xff]<<0x8|_0x13c366[_0x4a18e9&0xff]):(_0x4a18e9=_0x4a18e9<<0x8|_0x4a18e9>>>0x18,_0x4a18e9=_0x13c366[_0x4a18e9>>>0x18]<<0x18|_0x13c366[_0x4a18e9>>>0x10&0xff]<<0x10|_0x13c366[_0x4a18e9>>>0x8&0xff]<<0x8|_0x13c366[_0x4a18e9&0xff],_0x4a18e9^=_0x1970ac[_0x5e7a9c/_0x387a92|0x0]<<0x18),_0xc379d4[_0x5e7a9c]=_0xc379d4[_0x5e7a9c-_0x387a92]^_0x4a18e9);for(var _0x9f08e3=this['_invKeySchedule']=[],_0x2380eb=0x0;_0x2380eb<_0x80ce7b;_0x2380eb++){var _0x5e7a9c=_0x80ce7b-_0x2380eb;if(_0x2380eb%0x4)var _0x4a18e9=_0xc379d4[_0x5e7a9c];else var _0x4a18e9=_0xc379d4[_0x5e7a9c-0x4];_0x2380eb<0x4||_0x5e7a9c<=0x4?_0x9f08e3[_0x2380eb]=_0x4a18e9:_0x9f08e3[_0x2380eb]=_0x5a9b7f[_0x13c366[_0x4a18e9>>>0x18]]^_0x5d1e56[_0x13c366[_0x4a18e9>>>0x10&0xff]]^_0x381974[_0x13c366[_0x4a18e9>>>0x8&0xff]]^_0x2e723d[_0x13c366[_0x4a18e9&0xff]];}}},'encryptBlock':function(_0x521eb4,_0x1618c1){var _0x283d1d=_0x2988c9;this['_doCryptBlock'](_0x521eb4,_0x1618c1,this[_0x283d1d(0x28a)],_0x4c61ea,_0x680d02,_0x30ac53,_0x2fab53,_0x13c366);},'decryptBlock':function(_0x2b7be4,_0x18ca9e){var _0x5787e9=_0x2988c9,_0x544814=_0x2b7be4[_0x18ca9e+0x1];_0x2b7be4[_0x18ca9e+0x1]=_0x2b7be4[_0x18ca9e+0x3],_0x2b7be4[_0x18ca9e+0x3]=_0x544814,this[_0x5787e9(0x2a0)](_0x2b7be4,_0x18ca9e,this[_0x5787e9(0x3e9)],_0x5a9b7f,_0x5d1e56,_0x381974,_0x2e723d,_0x27c9c7);var _0x544814=_0x2b7be4[_0x18ca9e+0x1];_0x2b7be4[_0x18ca9e+0x1]=_0x2b7be4[_0x18ca9e+0x3],_0x2b7be4[_0x18ca9e+0x3]=_0x544814;},'_doCryptBlock':function(_0x2b62f3,_0x395d4b,_0x1f8724,_0x12ebd1,_0x201bd4,_0x240c6a,_0x4d0b2b,_0xb4c4ac){for(var _0x43fc2e=this['_nRounds'],_0xf12fe0=_0x2b62f3[_0x395d4b]^_0x1f8724[0x0],_0x122f00=_0x2b62f3[_0x395d4b+0x1]^_0x1f8724[0x1],_0x11c650=_0x2b62f3[_0x395d4b+0x2]^_0x1f8724[0x2],_0xb0eb0a=_0x2b62f3[_0x395d4b+0x3]^_0x1f8724[0x3],_0xe7c16c=0x4,_0x13f487=0x1;_0x13f487<_0x43fc2e;_0x13f487++){var _0x3699d9=_0x12ebd1[_0xf12fe0>>>0x18]^_0x201bd4[_0x122f00>>>0x10&0xff]^_0x240c6a[_0x11c650>>>0x8&0xff]^_0x4d0b2b[_0xb0eb0a&0xff]^_0x1f8724[_0xe7c16c++],_0x392c2b=_0x12ebd1[_0x122f00>>>0x18]^_0x201bd4[_0x11c650>>>0x10&0xff]^_0x240c6a[_0xb0eb0a>>>0x8&0xff]^_0x4d0b2b[_0xf12fe0&0xff]^_0x1f8724[_0xe7c16c++],_0x4d154d=_0x12ebd1[_0x11c650>>>0x18]^_0x201bd4[_0xb0eb0a>>>0x10&0xff]^_0x240c6a[_0xf12fe0>>>0x8&0xff]^_0x4d0b2b[_0x122f00&0xff]^_0x1f8724[_0xe7c16c++],_0x180b46=_0x12ebd1[_0xb0eb0a>>>0x18]^_0x201bd4[_0xf12fe0>>>0x10&0xff]^_0x240c6a[_0x122f00>>>0x8&0xff]^_0x4d0b2b[_0x11c650&0xff]^_0x1f8724[_0xe7c16c++];_0xf12fe0=_0x3699d9,_0x122f00=_0x392c2b,_0x11c650=_0x4d154d,_0xb0eb0a=_0x180b46;}var _0x3699d9=(_0xb4c4ac[_0xf12fe0>>>0x18]<<0x18|_0xb4c4ac[_0x122f00>>>0x10&0xff]<<0x10|_0xb4c4ac[_0x11c650>>>0x8&0xff]<<0x8|_0xb4c4ac[_0xb0eb0a&0xff])^_0x1f8724[_0xe7c16c++],_0x392c2b=(_0xb4c4ac[_0x122f00>>>0x18]<<0x18|_0xb4c4ac[_0x11c650>>>0x10&0xff]<<0x10|_0xb4c4ac[_0xb0eb0a>>>0x8&0xff]<<0x8|_0xb4c4ac[_0xf12fe0&0xff])^_0x1f8724[_0xe7c16c++],_0x4d154d=(_0xb4c4ac[_0x11c650>>>0x18]<<0x18|_0xb4c4ac[_0xb0eb0a>>>0x10&0xff]<<0x10|_0xb4c4ac[_0xf12fe0>>>0x8&0xff]<<0x8|_0xb4c4ac[_0x122f00&0xff])^_0x1f8724[_0xe7c16c++],_0x180b46=(_0xb4c4ac[_0xb0eb0a>>>0x18]<<0x18|_0xb4c4ac[_0xf12fe0>>>0x10&0xff]<<0x10|_0xb4c4ac[_0x122f00>>>0x8&0xff]<<0x8|_0xb4c4ac[_0x11c650&0xff])^_0x1f8724[_0xe7c16c++];_0x2b62f3[_0x395d4b]=_0x3699d9,_0x2b62f3[_0x395d4b+0x1]=_0x392c2b,_0x2b62f3[_0x395d4b+0x2]=_0x4d154d,_0x2b62f3[_0x395d4b+0x3]=_0x180b46;},'keySize':0x100/0x20});_0x1a327b[_0x2988c9(0x38b)]=_0x2f5761['_createHelper'](_0x3dc636);}()),_0x350b92[_0x4362b6(0x38b)];}));}(Ve)),Ve['exports'];}var As=Us();const ws=He(As);var Ps=Di();const ri=He(Ps);var Xe={'exports':{}},Ls=Xe['exports'],ai;function xs(){var _0xfd28b6=_0x48c474;return ai||(ai=0x1,function(_0x169341,_0x393120){(function(_0x374a7c,_0x19de45){var _0x53d5d7=_0x2631;_0x169341[_0x53d5d7(0x274)]=_0x19de45(ie());}(Ls,function(_0x303da0){var _0x136848=_0x2631;return _0x303da0[_0x136848(0x2c5)][_0x136848(0x141)];}));}(Xe)),Xe[_0xfd28b6(0x274)];}var Ms=xs();const ks=He(Ms);var Ze={'exports':{}},$s=Ze[_0x48c474(0x274)],oi;function Hs(){return oi||(oi=0x1,function(_0x5e3acb,_0x5542f5){(function(_0x323ac8,_0x5c214f){_0x5e3acb['exports']=_0x5c214f(ie());}($s,function(_0x3ac69d){var _0x43206e=_0x2631;return(function(){var _0x11f1fe=_0x2631;if(typeof ArrayBuffer==_0x11f1fe(0x3ae)){var _0x1979d0=_0x3ac69d,_0x317fc8=_0x1979d0[_0x11f1fe(0x1d6)],_0x2c4d28=_0x317fc8[_0x11f1fe(0x25b)],_0x26aaa3=_0x2c4d28['init'],_0x578324=_0x2c4d28[_0x11f1fe(0x2b9)]=function(_0x57a78f){var _0x26373c=_0x11f1fe;if(_0x57a78f instanceof ArrayBuffer&&(_0x57a78f=new Uint8Array(_0x57a78f)),(_0x57a78f instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x57a78f instanceof Uint8ClampedArray||_0x57a78f instanceof Int16Array||_0x57a78f instanceof Uint16Array||_0x57a78f instanceof Int32Array||_0x57a78f instanceof Uint32Array||_0x57a78f instanceof Float32Array||_0x57a78f instanceof Float64Array)&&(_0x57a78f=new Uint8Array(_0x57a78f[_0x26373c(0x262)],_0x57a78f['byteOffset'],_0x57a78f[_0x26373c(0x3c5)])),_0x57a78f instanceof Uint8Array){for(var _0x24d597=_0x57a78f[_0x26373c(0x3c5)],_0x4f3706=[],_0x59788f=0x0;_0x59788f<_0x24d597;_0x59788f++)_0x4f3706[_0x59788f>>>0x2]|=_0x57a78f[_0x59788f]<<0x18-_0x59788f%0x4*0x8;_0x26aaa3[_0x26373c(0x2c1)](this,_0x4f3706,_0x24d597);}else _0x26aaa3[_0x26373c(0x38d)](this,arguments);};_0x578324[_0x11f1fe(0x25c)]=_0x2c4d28;}}()),_0x3ac69d[_0x43206e(0x1d6)]['WordArray'];}));}(Ze)),Ze['exports'];}var Bs=Hs();const js=He(Bs);var Qe={'exports':{}},Fs=Qe[_0x48c474(0x274)],ci;function Vs(){var _0x57d708=_0x48c474;return ci||(ci=0x1,function(_0x5a8310,_0x10a33c){(function(_0x2d64d7,_0x1dab00,_0x19364f){var _0x2a7e8c=_0x2631;_0x5a8310[_0x2a7e8c(0x274)]=_0x1dab00(ie(),Ai());}(Fs,function(_0x293125){var _0x2e8de5=_0x2631;return _0x293125['pad'][_0x2e8de5(0x2a7)]={'pad':function(){},'unpad':function(){}},_0x293125['pad'][_0x2e8de5(0x2a7)];}));}(Qe)),Qe[_0x57d708(0x274)];}var Gs=Vs();const Ws=He(Gs);function Ks(_0x1b3eca,_0x300a2d){var _0x4288aa=_0x48c474;const _0x3beec0=_0x300a2d-_0x1b3eca[_0x4288aa(0x2eb)]%_0x300a2d,_0x2d1697=String['fromCharCode'](_0x3beec0)[_0x4288aa(0x25a)](_0x3beec0);return _0x1b3eca+_0x2d1697;}function Ys(_0xb043c2,_0x1f6c62){var _0x5d9bae=_0x48c474;const _0x43f6ff=js[_0x5d9bae(0x20e)](0x10),_0x5b8d61=Ks(_0xb043c2,0x10),_0x6abf98=ws[_0x5d9bae(0x406)](ks['parse'](_0x5b8d61),ri[_0x5d9bae(0x40d)](_0x1f6c62),{'iv':_0x43f6ff,'padding':Ws});return _0x43f6ff[_0x5d9bae(0x30d)](_0x6abf98[_0x5d9bae(0x405)])[_0x5d9bae(0x365)](ri);}function qs(){var _0x5a717f=_0x48c474;const _0x5bfba9=_0x5824af()[_0x5a717f(0x2f8)];if(_0x5bfba9){const _0xeecefd={'time':Math['floor'](Date[_0x5a717f(0x2e0)]()/0x3e8),'domain':location[_0x5a717f(0x252)]};return Ys(JSON[_0x5a717f(0x13e)](_0xeecefd),_0x5bfba9);}}var zs=Object[_0x48c474(0x22b)],Js=(_0x20c73b,_0xa73af6,_0x11b9eb,_0x410749)=>{var _0x49b828=_0x48c474;for(var _0x5286a5=_0x410749>0x1?void 0x0:_0x410749?zs(_0xa73af6,_0x11b9eb):_0xa73af6,_0x397c55=_0x20c73b[_0x49b828(0x2eb)]-0x1,_0x190d68;_0x397c55>=0x0;_0x397c55--)(_0x190d68=_0x20c73b[_0x397c55])&&(_0x5286a5=_0x190d68(_0x5286a5)||_0x5286a5);return _0x5286a5;},Xs=(_0x29fb80,_0x218f97)=>(_0x49bb74,_0x4dbe35)=>_0x218f97(_0x49bb74,_0x4dbe35,_0x29fb80);let at=class{constructor(_0x16f677){this['_httpService']=_0x16f677,this['_initRequestHeader']();}['_initRequestHeader'](){var _0x1aa4fd=_0x48c474;this['_httpService'][_0x1aa4fd(0x3fb)]({'interceptor':(_0xda911a,_0x447276)=>{const _0x137075=_0xda911a['headers'],_0x59ea6d=qs();return _0x59ea6d&&_0x137075['set']('x-univer-host',_0x59ea6d),_0x447276(_0xda911a);}});}};at=Js([Xs(0x0,_0x580c65(_0x494fcc))],at);var Zs=Object[_0x48c474(0x22b)],Qs=(_0x466c8b,_0x41042f,_0x2fa7bb,_0x3bf6f8)=>{var _0x2abeba=_0x48c474;for(var _0xbeea4=_0x3bf6f8>0x1?void 0x0:_0x3bf6f8?Zs(_0x41042f,_0x2fa7bb):_0x41042f,_0x526955=_0x466c8b[_0x2abeba(0x2eb)]-0x1,_0xd6e817;_0x526955>=0x0;_0x526955--)(_0xd6e817=_0x466c8b[_0x526955])&&(_0xbeea4=_0xd6e817(_0xbeea4)||_0xbeea4);return _0xbeea4;},mt=(_0x14bc87,_0x51d9b2)=>(_0x5bea01,_0x34a078)=>_0x51d9b2(_0x5bea01,_0x34a078,_0x14bc87);let bt=class extends _0x4bb33c{constructor(_0x19f6e1,_0x395fe1,_0x468ca4){var _0x14025a=_0x48c474;super(),N(this,_0x14025a(0x1cf),new _0xbef376(null)),N(this,_0x14025a(0x382),this[_0x14025a(0x1cf)][_0x14025a(0x3dd)]()),(this[_0x14025a(0x279)]=_0x19f6e1,this[_0x14025a(0x1ff)]=_0x395fe1,this[_0x14025a(0x121)]=_0x468ca4);}async[_0x48c474(0x400)](_0x593059,_0x370cdb,_0x424b37){var _0x56417e=_0x48c474;this['_unitInfo$']['next']({'unitId':_0x593059,'type':_0x370cdb,'subUnitId':_0x424b37});let _0xb40861=null;switch(_0x370cdb){case Q[_0x56417e(0x20c)]:{_0xb40861=await this['_loadSheet'](_0x593059);break;}case Q[_0x56417e(0x3d3)]:{_0xb40861=await this[_0x56417e(0x413)](_0x593059);break;}default:{this['_logService'][_0x56417e(0x123)](_0x56417e(0x12c),'Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');break;}}return _0xb40861;}async[_0x48c474(0x40f)](_0x553e35){var _0xea08ea=_0x48c474,_0x3b098c;let _0x5b34ad=0x0;const _0x2af82a=await((_0x3b098c=this['_localCacheService'])==null?void 0x0:_0x3b098c[_0xea08ea(0x3e8)](_0x553e35));return _0x2af82a&&(_0x2af82a['awaitingChangeset']||_0x2af82a['mutations'][_0xea08ea(0x2eb)]!==0x0)&&(_0x5b34ad=_0x2af82a['rev']),_0x5b34ad===0x0&&this['_logService'][_0xea08ea(0x415)](_0xea08ea(0x12c),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0xea08ea(0x1ff)]['loadSheet'](_0x553e35,_0x5b34ad);}async[_0x48c474(0x413)](_0x3065bd){var _0x226bc3=_0x48c474,_0x19a6f9;let _0x539cec=0x0;const _0x5c1892=await((_0x19a6f9=this[_0x226bc3(0x121)])==null?void 0x0:_0x19a6f9[_0x226bc3(0x3e8)](_0x3065bd));return _0x5c1892&&(_0x5c1892[_0x226bc3(0x268)]||_0x5c1892[_0x226bc3(0x2ce)]['length']!==0x0)&&(_0x539cec=_0x5c1892[_0x226bc3(0x3f5)]),_0x539cec===0x0&&this[_0x226bc3(0x279)][_0x226bc3(0x415)]('[DataLoaderService]',_0x226bc3(0x3c3)),this[_0x226bc3(0x1ff)][_0x226bc3(0x3f1)](_0x3065bd,_0x539cec);}};bt=Qs([mt(0x0,_0x2d643c),mt(0x1,_0x580c65(_0x5cfb32)),mt(0x2,_0x520d75(J))],bt);var er=Object[_0x48c474(0x22b)],tr=(_0x59efc7,_0x5e9902,_0x4fa7ff,_0x2ef26f)=>{var _0x837b28=_0x48c474;for(var _0x5da056=_0x2ef26f>0x1?void 0x0:_0x2ef26f?er(_0x5e9902,_0x4fa7ff):_0x5e9902,_0x1e765d=_0x59efc7[_0x837b28(0x2eb)]-0x1,_0x49183b;_0x1e765d>=0x0;_0x1e765d--)(_0x49183b=_0x59efc7[_0x1e765d])&&(_0x5da056=_0x49183b(_0x5da056)||_0x5da056);return _0x5da056;},gt=(_0x1389ff,_0x1e42bd)=>(_0x5b1bec,_0x142b3c)=>_0x1e42bd(_0x5b1bec,_0x142b3c,_0x1389ff);const ir=[_0x48c474(0x13b),_0x48c474(0x2c8),_0x48c474(0x2dc),_0x48c474(0x3b7),_0x48c474(0x3a6)],nr=0x5*0x400*0x400,sr=_0x48c474(0x157),rr=_0x48c474(0x176),ar=_0x48c474(0x256),or=_0x48c474(0x33c);let Ot=class{constructor(_0x27175c,_0x68e129,_0x45ac87){var _0x902c54=_0x48c474;N(this,_0x902c54(0x1f8),0x0),N(this,_0x902c54(0x2d7),new _0xbcec6b()),N(this,_0x902c54(0x35c),this[_0x902c54(0x2d7)]),N(this,_0x902c54(0x164),new Map()),(this[_0x902c54(0x1a5)]=_0x27175c,this[_0x902c54(0x370)]=_0x68e129,this['_univerInstanceService']=_0x45ac87);}[_0x48c474(0x3ca)](_0x45c6b2){var _0x1fa641=_0x48c474;this[_0x1fa641(0x1f8)]=_0x45c6b2,this[_0x1fa641(0x2d7)][_0x1fa641(0x3f9)](_0x45c6b2);}[_0x48c474(0x198)](_0xfda27a,_0xde5186){var _0x382801=_0x48c474;if(_0xde5186===_0x22435a['BASE64']){const _0x65baf=new Image();return _0x65baf['src']=_0xfda27a,_0x65baf;}return this['_imageSourceCache'][_0x382801(0x280)](_0xfda27a);}[_0x48c474(0x41a)](_0x36d95a,_0x3ad9be,_0x27f85c){var _0x854459=_0x48c474;_0x3ad9be===_0x22435a[_0x854459(0x20d)]||_0x27f85c==null||this[_0x854459(0x164)][_0x854459(0x1c3)](_0x36d95a,_0x27f85c);}async[_0x48c474(0x30a)](_0x44e2ca){var _0x23b2e8=_0x48c474;try{const _0x25158e=this['_replaceFileID'](this['_getSignURL'](),''+_0x44e2ca),_0x3e18cc=(await this[_0x23b2e8(0x1a5)][_0x23b2e8(0x280)](_0x25158e))['body'];if(_0x3e18cc[_0x23b2e8(0x123)]&&_0x3e18cc[_0x23b2e8(0x123)][_0x23b2e8(0x154)]===Si['OK']){const _0x53b290=new URL(_0x3e18cc[_0x23b2e8(0x41b)],this[_0x23b2e8(0x15d)]())['toString']();return Promise['resolve'](_0x53b290);}return Promise[_0x23b2e8(0x292)](_0x3e18cc[_0x23b2e8(0x123)]);}catch(_0x2e1aee){return Promise[_0x23b2e8(0x292)](_0x2e1aee);}}async[_0x48c474(0x39c)](_0x1f0116){var _0x4547da=_0x48c474;let _0x4c108c='';if(!ir[_0x4547da(0x396)](_0x1f0116[_0x4547da(0x237)]))return this[_0x4547da(0x36b)](),Promise[_0x4547da(0x292)](new Error(_0x3bf11[_0x4547da(0x291)]));if(_0x1f0116[_0x4547da(0x1ee)]>nr)return this['_decreaseWaiting'](),Promise[_0x4547da(0x292)](new Error(_0x3bf11[_0x4547da(0x21e)]));try{const _0x2c2cd2=new FormData();_0x2c2cd2['append']('file',_0x1f0116);const _0x37f763=this[_0x4547da(0x242)][_0x4547da(0x185)](),_0x43662f=_0x37f763==null?void 0x0:_0x37f763['getUnitId']();if(!_0x43662f)throw new Error(_0x4547da(0x286));const _0x194af7=this['_getUploadFileURL']()+_0x4547da(0x407)+_0x1f0116[_0x4547da(0x1ee)][_0x4547da(0x365)]()+_0x4547da(0x354)+Ei[_0x4547da(0x13f)]+_0x4547da(0x17c)+encodeURIComponent(_0x43662f),_0xf95ecd=await(await fetch(_0x194af7,{'method':'POST','body':_0x2c2cd2}))[_0x4547da(0x19b)]();if(typeof _0xf95ecd['FileId']!=_0x4547da(0x188))return this[_0x4547da(0x36b)](),Promise[_0x4547da(0x292)](new Error(_0x3bf11[_0x4547da(0x3a3)]));_0x4c108c=_0xf95ecd['FileId'];}catch{return this[_0x4547da(0x36b)](),Promise[_0x4547da(0x292)](new Error(_0x3bf11['ERROR_IMAGE']));}return new Promise((_0x1cae63,_0x44e36a)=>{var _0x4fa079=_0x4547da;const _0x121692=new FileReader();_0x121692[_0x4fa079(0x128)](_0x1f0116),_0x121692[_0x4fa079(0x1f9)]=_0xd85f1d=>{var _0x5511e1=_0x4fa079,_0x51bbb6;const _0x11c076=(_0x51bbb6=_0xd85f1d[_0x5511e1(0x3b9)])==null?void 0x0:_0x51bbb6[_0x5511e1(0x2c9)];if(_0x11c076==null){this[_0x5511e1(0x36b)](),_0x44e36a(new Error(_0x3bf11[_0x5511e1(0x3a3)]));return;}const _0x5e2a11=_0x3999ac[_0x5511e1(0x3d7)](0x6);_0x1cae63({'imageId':_0x5e2a11,'imageSourceType':_0x22435a[_0x5511e1(0x219)],'source':_0x4c108c,'base64Cache':_0x11c076,'status':_0x3bf11[_0x5511e1(0x170)]}),this[_0x5511e1(0x36b)]();};});}[_0x48c474(0x421)](){var _0x3d4d09=_0x48c474,_0x54f0bd,_0x34eb72;const _0x4fe979=this[_0x3d4d09(0x370)]['getConfig'](sr),_0x5e74aa=this[_0x3d4d09(0x370)][_0x3d4d09(0x299)](q);return(_0x34eb72=(_0x54f0bd=_0x5e74aa==null?void 0x0:_0x5e74aa[_0x3d4d09(0x143)])!=null?_0x54f0bd:_0x4fe979)!=null?_0x34eb72:rr;}['_getSignURL'](){var _0x5a0951=_0x48c474,_0x684a35,_0x45d4bf;const _0x119960=this[_0x5a0951(0x370)][_0x5a0951(0x299)](ar),_0x591a6b=this[_0x5a0951(0x370)][_0x5a0951(0x299)](q);return(_0x45d4bf=(_0x684a35=_0x591a6b==null?void 0x0:_0x591a6b['signUrlServerUrl'])!=null?_0x684a35:_0x119960)!=null?_0x45d4bf:or;}[_0x48c474(0x15d)](){var _0x1c52cf=_0x48c474,_0x5234ad;const _0x4fd35c=this[_0x1c52cf(0x370)][_0x1c52cf(0x299)](q);return(_0x5234ad=_0x4fd35c==null?void 0x0:_0x4fd35c['downloadEndpointUrl'])!=null?_0x5234ad:location[_0x1c52cf(0x374)];}[_0x48c474(0x2ac)](_0x82fe16,_0x5e5081){var _0xd54ffa=_0x48c474;return _0x82fe16[_0xd54ffa(0x3a8)]('{fileID}',_0x5e5081);}[_0x48c474(0x36b)](){var _0x36bc0f=_0x48c474;this[_0x36bc0f(0x1f8)]-=0x1,this[_0x36bc0f(0x2d7)][_0x36bc0f(0x3f9)](this['_waitCount']);}};Ot=tr([gt(0x0,_0x580c65(_0x494fcc)),gt(0x1,_0x288252),gt(0x2,_0x580c65(_0x2ac2f4))],Ot);var cr=Object[_0x48c474(0x22b)],hr=(_0xcce26d,_0x35ba59,_0x445c1b,_0x102603)=>{var _0x1121f6=_0x48c474;for(var _0x337756=_0x102603>0x1?void 0x0:_0x102603?cr(_0x35ba59,_0x445c1b):_0x35ba59,_0x22ee8a=_0xcce26d[_0x1121f6(0x2eb)]-0x1,_0x3e1248;_0x22ee8a>=0x0;_0x22ee8a--)(_0x3e1248=_0xcce26d[_0x22ee8a])&&(_0x337756=_0x3e1248(_0x337756)||_0x337756);return _0x337756;},hi=(_0x508644,_0x514325)=>(_0x535ae5,_0x329d97)=>_0x514325(_0x535ae5,_0x329d97,_0x508644);const _r='/universer-api/authz';let yt=class{constructor(_0x1f53e3,_0x30b54a){var _0x460fa0=_0x48c474;this[_0x460fa0(0x370)]=_0x1f53e3,this[_0x460fa0(0x39f)]=_0x30b54a;}['_getAPIPrefixPath'](){var _0x3ff8e2=_0x48c474,_0xd9e2df,_0x26f25e;const _0x38636f=this[_0x3ff8e2(0x370)][_0x3ff8e2(0x299)](Ni),_0x3ea8b3=this[_0x3ff8e2(0x370)][_0x3ff8e2(0x299)](q);return(_0x26f25e=(_0xd9e2df=_0x3ea8b3==null?void 0x0:_0x3ea8b3[_0x3ff8e2(0x195)])!=null?_0xd9e2df:_0x38636f)!=null?_0x26f25e:_r;}async['list'](_0x2961c8){var _0x41ba6b=_0x48c474;const _0x5e051e=this[_0x41ba6b(0x372)]()+_0x41ba6b(0x3d8);return{'list':[{'title':_0x41ba6b(0x3cb),'mentions':(await this['_HTTPService'][_0x41ba6b(0x280)](_0x5e051e,{'params':{'objectID':_0x2961c8[_0x41ba6b(0x377)],'unitID':_0x2961c8['unitId']}}))[_0x41ba6b(0x199)][_0x41ba6b(0x2f2)][_0x41ba6b(0x19d)](_0x22c659=>({'objectId':_0x22c659['id'],'name':_0x22c659['subject'][_0x41ba6b(0x373)],'metadata':{'icon':_0x22c659[_0x41ba6b(0x33b)][_0x41ba6b(0x363)]},'label':_0x22c659[_0x41ba6b(0x33b)][_0x41ba6b(0x373)],'objectType':_0x2e2958[_0x41ba6b(0x172)]})),'metadata':{},'type':_0x2e2958[_0x41ba6b(0x172)]}]};}};yt=hr([hi(0x0,_0x580c65(_0x288252)),hi(0x1,_0x580c65(_0x494fcc))],yt);var lr=Object['getOwnPropertyDescriptor'],ur=(_0x40f595,_0x56ee07,_0x4b4949,_0x419e63)=>{for(var _0x3af660=_0x419e63>0x1?void 0x0:_0x419e63?lr(_0x56ee07,_0x4b4949):_0x56ee07,_0x58ad59=_0x40f595['length']-0x1,_0x557d11;_0x58ad59>=0x0;_0x58ad59--)(_0x557d11=_0x40f595[_0x58ad59])&&(_0x3af660=_0x557d11(_0x3af660)||_0x3af660);return _0x3af660;},we=(_0x22d601,_0x5b5ffd)=>(_0x21cb06,_0x213c1b)=>_0x5b5ffd(_0x21cb06,_0x213c1b,_0x22d601);let ot=class extends _0x4bb33c{constructor(_0x18b2cd,_0x536305,_0x518ce1,_0x4bed4e,_0x309281){var _0x527b48=_0x48c474;super(),this['_injector']=_0x18b2cd,this[_0x527b48(0x242)]=_0x536305,this[_0x527b48(0x2fc)]=_0x518ce1,this[_0x527b48(0x27e)]=_0x4bed4e,this[_0x527b48(0x22c)]=_0x309281,this[_0x527b48(0x18c)](),this[_0x527b48(0x129)]();}[_0x48c474(0x129)](){var _0xeb2e43=_0x48c474;const _0x5f173f=async _0x4ac63f=>{var _0x559046=_0x2631;(await this[_0x559046(0x27e)][_0x559046(0x2de)](_0x4ac63f))[_0x559046(0x1f4)]['pipe'](_0x124940(_0x226bd2=>_0x226bd2[_0x559046(0x2f7)]===_0x45c809[_0x559046(0x251)]),_0x21cd85(this['dispose$']))['subscribe'](_0x5f4f4f=>{var _0x4e90f0=_0x559046;const _0x29aa2f=_0x5f4f4f,{reason:_0x128b3b}=_0x29aa2f['data'];this[_0x4e90f0(0x22c)][_0x4e90f0(0x1c9)]({'id':re[_0x4e90f0(0x1ae)],'data':_0x128b3b}),this[_0x4e90f0(0x2fc)][_0x4e90f0(0x2e3)](new _0x26111c(_0x4ac63f)['id'],!0x1),this[_0x4e90f0(0x27e)][_0x4e90f0(0x2e8)](_0x4ac63f);});};_0x1ca7ea(this[_0xeb2e43(0x242)]['getTypeOfUnitAdded$'](_0x367653[_0xeb2e43(0x20c)]),this[_0xeb2e43(0x242)][_0xeb2e43(0x412)](_0x367653[_0xeb2e43(0x3d3)]))[_0xeb2e43(0x1fd)](_0x1eccd9(_0x17ace0=>_0x17ace0[_0xeb2e43(0x2d9)]()),_0x124940(_0x162053=>!_0x34dfe5(_0x162053)),_0x21cd85(this[_0xeb2e43(0x335)]))[_0xeb2e43(0x278)](_0x10d9fb=>{_0x5f173f(_0x10d9fb);});}[_0x48c474(0x18c)](){var _0x1954b7=_0x48c474;const _0x4048f4=async _0x8a5c9f=>{var _0x5a6e19=_0x2631;const _0x11c36e=await this['_collaborationSessionService'][_0x5a6e19(0x2de)](_0x8a5c9f),_0x53833d=this[_0x5a6e19(0x241)][_0x5a6e19(0x280)](_0x18bf19);_0x11c36e['event$'][_0x5a6e19(0x1fd)](_0x124940(_0x2ad69e=>_0x2ad69e[_0x5a6e19(0x2f7)]===_0x45c809[_0x5a6e19(0x12e)]),_0x21cd85(this[_0x5a6e19(0x335)]))[_0x5a6e19(0x278)](_0x2adf62=>{var _0x1e7898=_0x5a6e19;const _0x4da06d=_0x2adf62,{objectId:_0x261f39}=_0x4da06d[_0x1e7898(0x2f6)];_0x261f39===_0x8a5c9f?_0x53833d[_0x1e7898(0x358)](_0x8a5c9f):_0x53833d['refreshPermission'](_0x8a5c9f,_0x261f39);});};_0x1ca7ea(this[_0x1954b7(0x242)][_0x1954b7(0x412)](_0x367653['UNIVER_SHEET']))[_0x1954b7(0x1fd)](_0x1eccd9(_0x4ebaf9=>_0x4ebaf9[_0x1954b7(0x2d9)]()),_0x124940(_0x3e6761=>!_0x34dfe5(_0x3e6761)),_0x21cd85(this[_0x1954b7(0x335)]))['subscribe'](_0x18e3d9=>{_0x4048f4(_0x18e3d9);});}};ot=ur([we(0x0,_0x580c65(_0x18ea22)),we(0x1,_0x2ac2f4),we(0x2,_0x50ac03),we(0x3,_0x580c65(xe)),we(0x4,_0x580c65(pe))],ot);var dr=Object['getOwnPropertyDescriptor'],fr=(_0x479088,_0x56d83b,_0x1141ae,_0x1922d9)=>{var _0x5d44f7=_0x48c474;for(var _0x23673f=_0x1922d9>0x1?void 0x0:_0x1922d9?dr(_0x56d83b,_0x1141ae):_0x56d83b,_0xd12736=_0x479088[_0x5d44f7(0x2eb)]-0x1,_0x3c9282;_0xd12736>=0x0;_0xd12736--)(_0x3c9282=_0x479088[_0xd12736])&&(_0x23673f=_0x3c9282(_0x23673f)||_0x23673f);return _0x23673f;},_i=(_0x7ff067,_0x2195fd)=>(_0x5f5b12,_0x4b8797)=>_0x2195fd(_0x5f5b12,_0x4b8797,_0x7ff067);let Nt=class{constructor(_0x4b5ae6,_0x120975){var _0x3efd36=_0x48c474;this[_0x3efd36(0x370)]=_0x4b5ae6,this[_0x3efd36(0x1a5)]=_0x120975;}async[_0x48c474(0x34f)](_0x4dc585,_0x2936df){var _0x45a178=_0x48c474,_0x377ff0;const {unitID:_0x46ebc2,type:_0x403701,revision:_0x2d3d9c=0x0}=_0x2936df,_0x191366=this['getSnapshotAPIPath']()+'/'+_0x403701+'/unit/'+_0x46ebc2+'/rev/'+_0x2d3d9c,_0x1720f1=(await this[_0x45a178(0x1a5)]['get'](_0x191366))['body'],_0x163717=(_0x377ff0=_0x1720f1[_0x45a178(0x1b2)])==null?void 0x0:_0x377ff0['workbook'];if(_0x163717){const _0x34699b=_0x163717==null?void 0x0:_0x163717['originalMeta'],_0x2eda35=_0x2630f3[_0x45a178(0x23d)](_0x5e46e5(_0x34699b));_0x163717[_0x45a178(0x24d)]=_0x2eda35,Object[_0x45a178(0x3cf)](_0x163717['sheets'])[_0x45a178(0x3d9)](([,_0x5934a3])=>{var _0x33051f=_0x45a178;const _0x564b50=_0x5934a3[_0x33051f(0x24d)],_0x54e138=_0x2630f3[_0x33051f(0x23d)](_0x5e46e5(_0x564b50));_0x5934a3['originalMeta']=_0x54e138;});}return _0x1720f1;}async[_0x48c474(0x388)](_0x1b6fe0,_0x5286e7){var _0x4671ec=_0x48c474;const {unitID:_0x3d9f22,type:_0x14419f,blockID:_0x4a9148}=_0x5286e7,_0x5f0c78=this['_getAPIPrefix']()+'/'+_0x14419f+'/unit/'+_0x3d9f22+'/block/'+_0x4a9148;return(await this[_0x4671ec(0x1a5)]['get'](_0x5f0c78))[_0x4671ec(0x199)];}async[_0x48c474(0x29d)](_0x11afdf,_0x337674){var _0x2fcd8a=_0x48c474;const {unitID:_0x5b9f43,type:_0xf08f8f,blockID:_0x23e02d}=_0x337674,_0x27909d=this['_getAPIPrefix']()+_0x2fcd8a(0x27a)+_0xf08f8f+_0x2fcd8a(0x3e3)+_0x5b9f43+_0x2fcd8a(0x27a)+_0x23e02d;return(await this[_0x2fcd8a(0x1a5)]['get'](_0x27909d))[_0x2fcd8a(0x199)];}async[_0x48c474(0x362)](_0x33035b,_0x18a6fa){var _0x251bfe=_0x48c474;const {unitID:_0x80da5b,type:_0x36f19e,from:_0x43838d,to:_0x3ea329}=_0x18a6fa,_0x29bed2=this[_0x251bfe(0x127)]()+'/'+_0x36f19e+'/unit/'+_0x80da5b+_0x251bfe(0x24a)+_0x43838d+_0x251bfe(0x1cc)+_0x3ea329;return(await this[_0x251bfe(0x1a5)][_0x251bfe(0x280)](_0x29bed2))[_0x251bfe(0x199)];}['getSnapshotAPIPath'](){var _0x1c5649=_0x48c474,_0x53c156;return(_0x53c156=this[_0x1c5649(0x370)][_0x1c5649(0x299)](Sn))!=null?_0x53c156:this['_getAPIPrefix']();}[_0x48c474(0x127)](){var _0x22ac07=_0x48c474,_0x4fa80a,_0x421916;const _0x401dbd=this[_0x22ac07(0x370)]['getConfig'](mn),_0x43182f=this[_0x22ac07(0x370)][_0x22ac07(0x299)](q);return(_0x421916=(_0x4fa80a=_0x43182f==null?void 0x0:_0x43182f['snapshotServerUrl'])!=null?_0x4fa80a:_0x401dbd)!=null?_0x421916:gn;}async['getResourcesRequest'](_0x59078a,_0x341b42){var _0x2f54a1=_0x48c474;const _0x5259ce='/universer-api/snapshot/'+_0x341b42[_0x2f54a1(0x237)]+_0x2f54a1(0x3e3)+_0x341b42[_0x2f54a1(0x356)]+_0x2f54a1(0x2a5);return(await this[_0x2f54a1(0x1a5)]['get'](_0x5259ce,{'params':{'resourceId':JSON[_0x2f54a1(0x13e)](_0x341b42[_0x2f54a1(0x1ec)])}}))[_0x2f54a1(0x199)];}[_0x48c474(0x147)](){var _0x2f7ffd=_0x48c474;throw new Error(_0x2f7ffd(0x173));}[_0x48c474(0x330)](){var _0x4aa111=_0x48c474;throw new Error(_0x4aa111(0x173));}['saveChangeset'](){var _0x5baa64=_0x48c474;throw new Error(_0x5baa64(0x173));}[_0x48c474(0x346)](){var _0x5cd0db=_0x48c474;throw new Error(_0x5cd0db(0x173));}[_0x48c474(0x1b8)](){var _0x1537bf=_0x48c474;throw new Error(_0x1537bf(0x173));}};Nt=fr([_i(0x0,_0x288252),_i(0x1,_0x580c65(_0x494fcc))],Nt);var vr=Object[_0x48c474(0x22b)],pr=(_0x3661cd,_0x4fa2cd,_0x43e151,_0x588403)=>{var _0x449c26=_0x48c474;for(var _0x48ea39=_0x588403>0x1?void 0x0:_0x588403?vr(_0x4fa2cd,_0x43e151):_0x4fa2cd,_0x3a89e1=_0x3661cd[_0x449c26(0x2eb)]-0x1,_0x3cae74;_0x3a89e1>=0x0;_0x3a89e1--)(_0x3cae74=_0x3661cd[_0x3a89e1])&&(_0x48ea39=_0x3cae74(_0x48ea39)||_0x48ea39);return _0x48ea39;},Pe=(_0x342bb4,_0x2bfa8a)=>(_0x11cf3f,_0x244cf6)=>_0x2bfa8a(_0x11cf3f,_0x244cf6,_0x342bb4);let Dt=class extends _0x84bd68{constructor(_0x3ac819,_0x24f490,_0x2d6cc8,_0x28106b,_0x55b143){var _0x2f95b0=_0x48c474;super(_0x3ac819,_0x24f490,_0x2d6cc8),this[_0x2f95b0(0x39e)]=_0x28106b,this[_0x2f95b0(0x279)]=_0x55b143;}[_0x48c474(0x200)](_0x294336,_0x1af550){var _0x2d3005=_0x48c474;const _0x4b9504=this[_0x2d3005(0x347)](_0x294336);if(_0x4b9504)try{const _0x5d0ea5=this[_0x2d3005(0x1bd)](_0x4b9504,_0x1af550);this['_substituteUndoStack'](_0x294336,_0x5d0ea5);}catch(_0x1767f4){this['_logService']['error'](_0x2d3005(0x3c6),_0x1767f4),this[_0x2d3005(0x350)](_0x294336);}const _0x4ba01b=this[_0x2d3005(0x314)](_0x294336);if(_0x4ba01b)try{const _0x40b2e2=this[_0x2d3005(0x1bd)](_0x4ba01b,_0x1af550);this[_0x2d3005(0x1e5)](_0x294336,_0x40b2e2);}catch(_0x2841db){this[_0x2d3005(0x279)][_0x2d3005(0x123)](_0x2841db),this[_0x2d3005(0x343)](_0x294336);}}[_0x48c474(0x350)](_0x933cdb){var _0x10d202=_0x48c474;const _0x38212a=this[_0x10d202(0x347)](_0x933cdb);_0x38212a&&(_0x38212a[_0x10d202(0x2eb)]=0x0,this[_0x10d202(0x32c)]());}[_0x48c474(0x343)](_0x1b7a61){var _0x5a274f=_0x48c474;const _0x4d7512=this[_0x5a274f(0x314)](_0x1b7a61);_0x4d7512&&(_0x4d7512[_0x5a274f(0x2eb)]=0x0,this['_updateStatus']());}[_0x48c474(0x3f8)](_0xc4d680,_0x429c37){var _0x33c8be=_0x48c474;this[_0x33c8be(0x1af)][_0x33c8be(0x1c3)](_0xc4d680,_0x429c37),this[_0x33c8be(0x32c)]();}[_0x48c474(0x1e5)](_0x223a30,_0x17d588){var _0x3b4e59=_0x48c474;this[_0x3b4e59(0x2ca)][_0x3b4e59(0x1c3)](_0x223a30,_0x17d588),this[_0x3b4e59(0x32c)]();}[_0x48c474(0x1bd)](_0x9857bd,_0x385736){var _0x36a585=_0x48c474;const _0x59fd1a=[];let _0x53adb1=_0x385736,_0xf6df72=_0x385736;for(let _0x500104=_0x9857bd[_0x36a585(0x2eb)]-0x1;_0x500104>=0x0;_0x500104--){const {unitID:_0x595206,undoMutations:_0x11d50a,redoMutations:_0x1fb26c}=_0x9857bd[_0x500104],_0x5a1f5f=this[_0x36a585(0x39e)]['transformMutationsWithChangeset'](_0x53adb1,_0x11d50a),_0x4e6232=this['_transformService'][_0x36a585(0x2d3)](_0xf6df72,_0x1fb26c);if(_0x4f08fd(_0x5a1f5f)||_0x4f08fd(_0x4e6232)){this['_logService'][_0x36a585(0x123)]('[CollaborationUndoRedoService]','transformStack\x20failed!',_0x5a1f5f,_0x4e6232);break;}_0x53adb1=_0x5a1f5f[_0x36a585(0x1db)],_0xf6df72=_0x4e6232[_0x36a585(0x1db)],_0x59fd1a[_0x36a585(0x37d)]({'unitID':_0x595206,'undoMutations':_0x5a1f5f[_0x36a585(0x162)],'redoMutations':_0x4e6232['m2Prime']});}return _0x59fd1a[_0x36a585(0x340)]();}};Dt=pr([Pe(0x0,_0x2ac2f4),Pe(0x1,_0x55c1d0),Pe(0x2,_0x3c7a3f),Pe(0x3,_0x3d5c53),Pe(0x4,_0x2d643c)],Dt);var mr=Object[_0x48c474(0x2f1)],gr=Object[_0x48c474(0x22b)],Sr=(_0x9bafc6,_0xf3c13c,_0x532faa)=>_0xf3c13c in _0x9bafc6?mr(_0x9bafc6,_0xf3c13c,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x532faa}):_0x9bafc6[_0xf3c13c]=_0x532faa,Er=(_0x3b949e,_0x441082,_0x485cf3,_0x215274)=>{var _0x3342db=_0x48c474;for(var _0x5ec140=_0x215274>0x1?void 0x0:_0x215274?gr(_0x441082,_0x485cf3):_0x441082,_0x3d2f18=_0x3b949e[_0x3342db(0x2eb)]-0x1,_0x5c1559;_0x3d2f18>=0x0;_0x3d2f18--)(_0x5c1559=_0x3b949e[_0x3d2f18])&&(_0x5ec140=_0x5c1559(_0x5ec140)||_0x5ec140);return _0x5ec140;},St=(_0x1b996e,_0xa3de76)=>(_0x53a78b,_0x7a1cf6)=>_0xa3de76(_0x53a78b,_0x7a1cf6,_0x1b996e),Ir=(_0x172d49,_0x3a41ab,_0x426873)=>Sr(_0x172d49,_0x3a41ab+'',_0x426873);const Tr=_0x48c474(0x132);let Ut=class extends _0x272dfc{constructor(_0x12679c,_0x4687bd,_0x3937db,_0x1b9495){var _0x23cabd=_0x48c474;super(),N(this,_0x23cabd(0x11f)),(this['_logService']=_0x4687bd,this[_0x23cabd(0x241)]=_0x3937db,this['_configService']=_0x1b9495);const {..._0x1fa76d}=_0x226d51({},wn,_0x12679c);if(!_0x1fa76d['socketService'])throw new Error(_0x23cabd(0x133));this[_0x23cabd(0x11f)]=_0x1fa76d,this[_0x23cabd(0x370)][_0x23cabd(0x26a)](q,_0x1fa76d);}['onStarting'](){var _0x26935e=_0x48c474;this[_0x26935e(0x16d)](),this[_0x26935e(0x1ce)]();}[_0x48c474(0x16d)](){var _0x43985a=_0x48c474,_0x101122,_0x554041;this[_0x43985a(0x241)][_0x43985a(0x390)](_0x46a796)&&this[_0x43985a(0x279)]['error'](_0x43985a(0x360),_0x43985a(0x3aa));const _0x426d0e=_0x1157ad([[_0x46a796,{'useClass':Dt}],[xe],[Le],[it],[rt],[at],[Ti],[ot],[pe],[bt],[Ii,{'useClass':this['_config'][_0x43985a(0x408)]}],[_0x3ebdd6,{'useClass':Nt}],[_0x3ddf4c,{'useClass':Rt}],[_0x364080,{'useClass':Ot}],[_0xdebaca,{'useClass':yt}],[st],[Ct]],(_0x101122=this[_0x43985a(0x11f)])==null?void 0x0:_0x101122[_0x43985a(0x19f)]);if(!((_0x554041=this['_config'])!=null&&_0x554041[_0x43985a(0x15f)])){const _0x3ca97f=_0x426d0e['findIndex'](([_0x180e19])=>_0x180e19===ht);_0x3ca97f!==-0x1&&_0x426d0e[_0x43985a(0x427)](_0x3ca97f,0x1);}_0x3548a1(this[_0x43985a(0x241)],_0x426d0e);}[_0x48c474(0x1ce)](){var _0x5015db=_0x48c474,_0x39eb87,_0x47b7ce,_0x3a86b2;this[_0x5015db(0x241)][_0x5015db(0x280)](_0x494fcc)[_0x5015db(0x3fb)]({'priority':0x14,'interceptor':_0x32d4f1({'maxParallel':0x6})}),(_0x39eb87=this['_config'])!=null&&_0x39eb87[_0x5015db(0x22e)]||(_0x47b7ce=this[_0x5015db(0x241)][_0x5015db(0x280)](J,_0x592450[_0x5015db(0x25f)]))==null||_0x47b7ce[_0x5015db(0x33d)](),(_0x3a86b2=this[_0x5015db(0x11f)])!=null&&_0x3a86b2[_0x5015db(0x395)]&&_0x17ae7a(this[_0x5015db(0x241)],[[rt]]),_0x17ae7a(this[_0x5015db(0x241)],[[at],[st],[ot]]);}};Ir(Ut,_0x48c474(0x38f),Tr),Ut=Er([_0x54cc81(_0xe5aafb,_0x217e8b),St(0x1,_0x2d643c),St(0x2,_0x580c65(_0x18ea22)),St(0x3,_0x288252)],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,xe 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,xr 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,Mr 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,xn as serializeCombRequest};
|