@univerjs-pro/collaboration-client 0.8.2-nightly.202506221606 → 0.8.2-nightly.202506241607
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/ko-KR.js +1 -0
- 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/ko-KR.js +1 -0
- 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/ko-KR.js +1 -0
- 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/types/locale/ko-KR.d.ts +3 -0
- 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/ko-KR.js +1 -0
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +9 -9
package/lib/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
var _0x1bf9e4=_0xcbfd;(function(_0x28dfe5,_0x386211){var _0xe38587=_0xcbfd,_0x2aa36a=_0x28dfe5();while(!![]){try{var _0x1911ee=-parseInt(_0xe38587(0x408))/0x1+parseInt(_0xe38587(0x398))/0x2+-parseInt(_0xe38587(0x184))/0x3+parseInt(_0xe38587(0x3ec))/0x4+-parseInt(_0xe38587(0x307))/0x5*(parseInt(_0xe38587(0x1b9))/0x6)+parseInt(_0xe38587(0x3eb))/0x7+-parseInt(_0xe38587(0x37d))/0x8*(-parseInt(_0xe38587(0x1fe))/0x9);if(_0x1911ee===_0x386211)break;else _0x2aa36a['push'](_0x2aa36a['shift']());}catch(_0xb7f6b0){_0x2aa36a['push'](_0x2aa36a['shift']());}}}(_0x282a,0x268f9));var Di=Object[_0x1bf9e4(0x39a)],Ui=(_0x296c50,_0x2375c5,_0x1db3e4)=>_0x2375c5 in _0x296c50?Di(_0x296c50,_0x2375c5,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1db3e4}):_0x296c50[_0x2375c5]=_0x1db3e4,N=(_0xf29a33,_0x276760,_0x5a32cc)=>Ui(_0xf29a33,typeof _0x276760!=_0x1bf9e4(0x2f7)?_0x276760+'':_0x276760,_0x5a32cc);import{createIdentifier as _0x1e116d,Inject as _0x1eb2b7,Injector as _0x3ba5a5,IConfigService as _0x2711b7,ILogService as _0x4020c,Disposable as _0x16428c,DisposableCollection as _0xc86a07,toDisposable as _0x4c9abc,IUniverInstanceService as _0x1dd505,UserManagerService as _0x119af1,UniverInstanceType as _0x2f1c63,LocaleService as _0x5855e2,Optional as _0x471747,RxDisposable as _0x3f1edd,Tools as _0x1e6211,Rectangle as _0x58ba93,ICommandService as _0x163994,JSONX as _0x5703e5,CommandType as _0x4b8a53,IUndoRedoService as _0x3aa1c3,IPermissionService as _0x4eca75,sequenceExecute as _0x5569a9,Workbook as _0x41539c,MentionType as _0x2d6580,isInternalEditorID as _0x2c0233,LocalUndoRedoService as _0x556fe9,IContextService as _0x3992d9,DependentOn as _0x5233fa,Plugin as _0x13a678,merge as _0x235acb,mergeOverrideWithDependencies as _0x354fa5,IAuthzIoService as _0x4f1f4e,IMentionIOService as _0x3def4e,registerDependencies as _0x3b854f,Quantity as _0x48a7b4,touchDependencies as _0x53c293}from'@univerjs/core';import{Subject as _0x3b4cf0,merge as _0x539a72,of as _0x1be741,BehaviorSubject as _0x320cd9,takeUntil as _0x57d01b,ReplaySubject as _0x2c051e,take as _0x19b6b3,map as _0x4427f2,shareReplay as _0x2393d1,firstValueFrom as _0x4e7989,concatMap as _0x114434}from'rxjs';import{map as _0xe868af,take as _0xde693b,filter as _0x1b0e17,delay as _0x4e84b7,takeUntil as _0xab55ca}from'rxjs/operators';import{CollaborationEvent as _0x40976b,ISnapshotServerService as _0xcb8e22,parseChangesetToProtocol as _0x524410,ITransformService as _0xaa4b07,isTransformMutationsWithChangesetSuccess as _0x164c96,mapDocumentTypeToUniverType as _0x2f1f22,RevisionService as _0x3169f6,isTransformChangesetsSuccess as _0x382369,CompressMutationService as _0x8c156e,parseProtocolChangeset as _0xdc4ddf,uuidv4 as _0x1e371c,SnapshotService as _0x564bfd,textEncoder as _0x155d8a,b64DecodeUnicode as _0x500fc0,isTransformMutationsWithChangesetFailure as _0x32b4f2,UniverCollaborationPlugin as _0x3a0ca8}from'@univerjs-pro/collaboration';import{HTTPService as _0x4a6b11,ISocketService as _0x46b8c2,MergeInterceptorFactory as _0xf1eb0,HTTPRequest as _0x109566,UniverNetworkPlugin as _0x36cc3f,ThresholdInterceptorFactory as _0x4addde}from'@univerjs/network';import{ITelemetryService as _0x4c8905}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x5d5737}from'@univerjs/docs';import{SheetsSelectionsService as _0x21249a,SetSelectionsOperation as _0x305b77,InsertSheetMutation as _0x54cdc3,EmptyMutation as _0x44180c,WorkbookEditablePermission as _0x158a95,SheetPermissionInitController as _0x4728e4}from'@univerjs/sheets';import{ImageSourceType as _0x18d0bc,ImageUploadStatusType as _0x3a7256,IImageIoService as _0x47119c}from'@univerjs/drawing';import{getGlobalObject as _0x40af40}from'@univerjs-pro/license';const fs=_0x1bf9e4(0x1c4),vs=_0x1bf9e4(0x19f),ps=_0x1bf9e4(0x274),yr=_0x1bf9e4(0x1de),ms=0x7d0,gs=_0x1bf9e4(0x3e2),Ss=_0x1bf9e4(0x392),Nr=_0x1bf9e4(0x356),Es=_0x1bf9e4(0x2b0),Is=0x7530,fi=_0x1bf9e4(0x24c),vi=0x4e20,Ts=0x4e20,Cs=_0x1bf9e4(0x3c8),Rs=0x3,Dr=_0x1bf9e4(0x41f),Ur=0x3e8,Os=_0x1bf9e4(0x3d7),bs='/universer-api/comb',ys='LOGIN_URL_KEY',Ns=_0x1bf9e4(0x256),Ar=_0x1bf9e4(0x2bb),wr=_0x1bf9e4(0x270);function _0x282a(){var _0x1a7489=['_transformRemoteChangesetByStateCache','resourceIDs','/universer-api/user/session-ticket','_submitChangeset','findIndex','AUTHZ_URL_KEY','shouldCloseConn','csRejEvent','abs','getDeserializedSheetBlock','_clearRetryConnectingTimer','_roomMembers','_parse','Latin1','_socket$','_getUploadFileURL','actions','ivSize','_createHandler','CBC','SHA1','_transformStateCache','objectActions','Failed\x20to\x20update\x20permission\x20point','error$','clone','_joinRoom','univer-pro.collaboration-client-socket-service','_onUserLeave','_queuedRemoteChangesets','_sendHeartbeatTimer','unknown','salt','unpad','_eventService','getValue','x-univer-host','stringify','PSEUDO_FETCH_MISSING_RESULT','getTypeOfUnitDisposed$','transformStack\x20failed!','568kkTbLu','OpenSSL','_socketService','_onLocalMutation','roles','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','compute','collabSubmitChangesetUrl','univer-pro.collaboration-client.single-active-unit-service','onTransformRemoteChangesetByIMECache','MSG_FOR_ERROR','COMPLETION_FINISHED','EMAIL_HAS_BEEN_BOUND','onSendChangeset','_collaborationPaused','_schedule','[CollaborationSession]','_clearCollaborationTimeoutTimer','words','_incrementRevisionNumber','YUUMI_CONNECTOR_URL_NOT_FOUND','ws://127.0.0.1:8000/universer-api/comb/connect','enableOfflineEditing','JOIN_ROOM_NOT_EXISTS','members','SerializableCipher','GLOBAL_ROOMS_CNT_EXCEEDS','183656PKaIfX','_createInitialStateImpl','defineProperty','APPLY_NON_SEQUENTIAL_REVISION','loadUnitOfRevision','_changesetReqId','UNRECOGNIZED','_executeRemoteChangeset','_registerDependencies','_transformIMECache','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','IDLE','_transformUndoredo','INVITE_CODE_REQUIRED','mutations','OPTIONAL','_collaborationTimeoutTimer','objectType','/rev/','socket\x20open.','csShouldRetryEvent','/block/','onlyLocal','_doCryptBlock','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','WordArray','processBlock','EvpKDF','ENSURE_SNAPSHOT_EXECUTION','exports','startTime','YUUMI_ASYNCIO_CANCELLED','_key','\x20to\x20','Error\x20on\x20receiving\x20event','_process','UNIVER_UNKNOWN','_decreaseWaiting','_initDependencies','format','resolve','Decryptor','NOT_FOUND','Pkcs7','_remoteChangesetQueue','/allowed','confirm','HEARTBEAT','RETRY_CONNECTING_MAX_COUNT','splice','unitId\x20is\x20not\x20found','deepClone','_initCloseConn','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','values','_onRemoteRetry','createEncryptor','session','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','_handler','_createHelper','_clearUndo','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','COLLAB_SUBMIT_CHANGESET_URL','decrypt','session.join-failed','substr','Base','BlockCipher','AWAITING_WITH_PENDING','getCurrentSelections','headers','_scheduleCollaborationTimeoutTimer','downloadEndpointUrl','COLLAB_WEB_SOCKET_URL','transformUndoRedo','sid','collaborators','HmacMD5','getImage','session.room-full','SUCCUSS','delete','1535667jfQGQF','1248740qcDGeG','_doCreateSocket','_networkConditionService','waitForRoom$','indexOf','APPLY_REVISION_CONFILICT','getInterceptPoints','SOCKET_FAILED','_onConflict','withCredentials','incrementRevOfUnit','appendMutation','_doReset','_transformRemoteChangesetByIMECache','unitID','_entityInit$','CHANGESET_ACK','_telemetryInfo','_sessions','toString','enableSingleActiveInstanceLock','/collaborator','ONLINE','USERS_LEAVE','_xformMode','refreshPermission','YUUMI_URL_COL_OUT_OF_RANGE','charAt','227973eJIcsM','HELLO','subject','close','byteOffset','conflict','_onConnectionOpen','key','iterations','PERMISSION_DENIED','status','putCollaborators','_changesetSessionId','getSheetBlock','getUnitId','failed\x20to\x20apply\x20missed\x20changesets!','find','sendChangesetTimeout','_awaitingChangeset','reconnect','image/jpg','stopTime','LOGIN_FAILED','LOCAL_CACHE_INTERVAL','retryConnectingInterval','_clearHeartbeatTimer','AWAITING','ALREADY_EXISTS','socket\x20close','updateSnapshot','_telemetryService','createInstance','_cipher','has','from','_mode','CHANGESET_SHOULD_RETRY','workbook','fetchMiss','offline','memberID','_change$','_univerInstanceService','INTERNAL_ERROR','UNIVER_COLLABORATION_CLIENT_PLUGIN','onRemoteChangeset','cfg','disposeWithMe','eventID','crypto','finalize','concat','addHandlerCallback','INGEST','registerHTTPInterceptor','Hex','_redoStacks','unit-cache-','FETCH_MISS','CHANGESET_REJ','liveShareOperation','_listenToNetworkCondition','MUTATION','initWorkbookPermissionChange','_HTTPService','_handlerCallback','_retryConnectingTimer','APPLY_PERMISSION_DENIED','_onRemoteRejected','COMPRESS_MUTATION_SEND','_getUndoStack','UPDATE_PERMISSION_OBJ','image/gif','INVITE_CODE_ALREADY_BOUND','signUrlServerUrl','_commentUpdate$','_reverseMap','url','_hash','body','apply','FETCH_MISSING','leaveEvent','CONFLICT','YUUMI_RATE_OVER_LIMIT','SHOULD_CLOSE_CONN','put','loadDoc','_nDataBytes','lib','save\x20fail\x20reason\x20is\x20','emitEvent','_shouldReportTelemetry','loadSheet','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','univer-pro.collaboration-client.network-condition.service','pad','BASE64','message$','LICENSE_IMPORT_SIZE_EXCEEDED','catch','_waitCount','LICENSE_DISTRO_REJECTED','hasOwnProperty','_keySchedule','MOBILE_VERIFY_CODE_MISMATCH','fetchMissingChangesets','reset','_entities','OTHER_CLIENT_EDITING','saveChangeset','_onUserJoin','[CollaborationUndoRedoService]','create','_clearTimeoutTimer','LIVESHARE_TERMINATE','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','_snapshotService','LEAVE','?url=','_hasher','startsWith','encrypt','mixIn','_resendTimeout','getMemberID','getWorkbookSelections','_applyRemoteChangeset','getFocusedUnit','listCollaborators','image/jpeg','_type','readInt32LE','type','getConfig','_lockTransition','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','snapshotServerUrl','APPLY_DUPLICATED','PY_RUNTIME_SCRIPT_ERROR','/universer-api/stream/file/upload','732522LsKzZR','_disableEditing','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','synced','BlockCipherMode','_append','_updateStatus','UnitSnapshot','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','UNIVER_DOC','execute','_resendTimer','_sheetTransformSelectionsService','MD5','_state','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','params','_keyPriorReset','max','error','_stopTelemetryCollaborationNewChangeset','ERROR_EXCEED_SIZE','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','getLatestCsReqIdBySid','FAIL','_updateState','collaboratorID','/universer-api/snapshot','getCollabEntity','getImageSourceCache','getUnit','MOBILE_HAS_BEEN_BOUND','INVITE_CODE_HAS_BEEN_UES','_userManagerService','debug','getActiveSheet','CipherParams','call','_getSendChangesetTimeout','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','_createSocket','online$','filter','onStateChange','SOCKET_FAILED_RETRY','editing\x20status\x20changed\x20to','_updateLocalCache','YUUMI_SUBSCRIPTION_NOT_FOUND','removeMember','changesets','getTime','fetching\x20missing\x20changesets\x20from\x20','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','486byLate','NoPadding','_clearScheduledTask','YUUMI_UNABLE_LOAD_URL','_onRecvEvent','HMAC','_throwTelemetryCollaborationNewChangeset','revision','c1Prime','href','SNAPSHOT_HAS_BEEN_REMOVED','SNAPSHOT_SERVER_URL_KEY','getTypeOfUnitAdded$','_exhaustRemoteChangesetQueue','data','copyFileMeta','_localeService','event$','_iv','encryptBlock','slice','patch','UPDATE_CURSOR','_commentService','/universer-api/authz','snapshot','UNKNOWN_CMD','DEFAULT_FILE_NAME','POST','_toggleOffline','_data','INVALID_INVITE_CODE','selections','prototype','_replayCachedMutations','[SyncedState]:\x20received\x20rejection.','msCrypto','SEND_CHANGESET_TIMEOUT','_replaceFileID','_snapshotServerService','SNAPSHOT_INVALID_SNAPSHOT','resend','_fetchMissChangesets','_ENC_XFORM_MODE','session.room-permission-denied','Undefined','_unitID','session.room-not-exists','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','random','_socketReady','UNIVER_SHEET','padding','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','_revisionService','LIVESHARE_OPERATION','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','_doFinalize','set','_getCurrentRevision','UserProfileImg','APPLY_REJECT','_roomCreated$','reqId','_configService','hasher','_candidateSocket','collaboration-client.local-cache-service','setCurrentUser','5490LTyfMr','_undoRedoService','PERMISSION_REJ','_removeRoom','decryptBlock','_collaborationUIEventService','connection\x20error','__creator','SYNCED','_transitionLocked','_instanceService','randomBytes','_event$','_sessionStatus$','ceil','LIVESHARE_FETCH_OPERATIONS','transformChangesets','code','transformMutationsWithChangeset','updateCursorEvent','open$','fromCharCode','NEW_CHANGESETS','[OfflineState]:\x20received\x20changeset.','getCurrentRevOfUnit','_isPermissionRej','then','_emitMembers','method','compose','reduce','[OfflineState]:\x20received\x20acknowledgement.','Hasher','floor','createDecryptor','updatePermissionObjEvent','[CollaborationState]:\x20apply\x20error!','_init','fetch_missing','onTransformSelections','collabWebSocketUrl','AES','_memberService','_getAPIPrefix','awaitingChangeset','originalMeta','repeat','post','JOINING','clamp','socket$','onCommandExecuted','next','BufferedBlockAlgorithm','setConfig','UNDEFINED','_substituteRedoStack','_startTelemetryCollaborationNewChangeset','&source=','[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.','_onMessage','baseRev','TOO_MANY_REQUESTS','focused$','reverse','_acknowledgedAwaitingChangeset','roomInfos','getOwnPropertyDescriptor','YUUMI_TABLE_NOT_FOUND_IN_UNIT','USERS_ENTER','LIVESHARE_REQUEST_HOST','onRemoteAck','complete','INVALID_ARGUMENT','onTransformRemoteChangesetByStateCache','newCsEvent','__esModule','_compressMutationService','HEARTBEAT_TIMEOUT','_sendHeartbeat','enc','_substituteUndoStack','COMPRESS_MUTATION_APPLY','add','_tryEnsureSocket','saveImage','_logService','[CollaborationSessionService]','/universer-api/oidc/authpage','[CollaborationSessionService]:\x20socket\x20error','collaMsg','createSocket','sessionStatus','sessionStatus$','uniscriptRunEvent','_initRequestHeader','\x0aCurrent:\x20','entries','OTHER_CLIENTS_EDITING','_onConnectionFailed','subscribe','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','onLocalMutation','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','onTransformState','hostname','_showConflictNotification','every','ERROR_IMAGE','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','getCurrentUser','unitId','_permissionService','_scheduleCompleteTimestamp','/universer-api/uniscript','pauseCollaboration','People','default','SNAPSHOT_URL_KEY','CONNECTOR_DATA_TOO_LARGE','EMAIL_VERIFY_CODE_MISMATCH','uploadFileServerUrl','socketService','toggleOnline','updatePermissionPoint','reject','get','clear','getUnitOnRev','_transformStack','fromCollab','USER_NOT_INVITED_CODE','_onRemoteACK','target','push','infoRsp','isArray','collaboration-client.config','_clearRedo','_prevBlock','_tryReconnect','_onCombEvent','JOIN','_minBufferSize','encodeURIComponent','NO_OTHER_CLIENTS_EDITING','onMissedChangesetFetched','size','_onOffline','algo','userID','ciphertext','range','_startCollaboration','YUUMI_ALL_TABLES_IS_INVALID','init','_collaborationSessionService','pipe','YUUMI_NO_CUBOID_FOR_QUESTION','HttpImport','readyForCollab','_DEC_XFORM_MODE','_unitInfo$','isPermissionRej','telemetry\x20info\x20is\x20not\x20initialized','UNIVER_SLIDE','LIVESHARE_NEW_HOST','_resendWithTimeout','Base64','state','mode','extend','map','_map','_initUnitPermissionChange','_commandService','/-/object/list','_createInitialState','HEARTBEAT_INTERVAL','function','cmd','_transformService','entityInit$','encode','includes','_injector','_onJoinRoomEvent','_sendingTimer','send','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','routeKey','LICENSE_MAX_UNITS_EXCEEDED','list','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_localCacheService','_sender','updateMember','SUBMIT_CHANGESET','/object/','sheets','byteLength','UNIVER_PROJECT','saveSheetBlock','now','setShowComponents','HttpExport','[PendingState]:\x20received\x20rejection.','image/bmp','override','RECV','UnitEmbedded','kdf','_status$','parse','_iKey','[PendingState]:\x20unhandled\x20univer\x20type:\x20','$super','[OfflineState]:\x20received\x20rejection.','requireSession','enableAuthServer','[CollaborationEntity]','keySize','objectID','fetchThroughInterceptors','_imageSourceCache','[FetchMissState]','_members$','unsubscribe','getSnapshotAPIPath','FileId','charCodeAt','csAckEvent','awaiting_with_pending','sin','_nRounds','_httpService','UNISCRIPT_RUN','_getCtorByUniverType','sigBytes','CLOSE_ROOM','JOIN_ROOM_PERMISSION_DENIED','Cipher','JOIN_ROOM_FAILED','textRanges','[SyncedState]:\x20received\x20acknowledgement.','_checkMissing','Utf8','_retryCount','onMissingChangesets','symbol','_timeoutTimer','addImageSourceCache','avatar','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','auth.needGotoLoginAlert','length','/unit/','Univer','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','CHANGESET_REVISION_CONFILICT','requestParams','status$','_syncEditingCollabCursor','joinEvent','getRandomValues','2260qUboHN','_socketMessageSubscription','_socket','_waitForHeartbeatResponse','submit\x20changeset\x20error!','blockSize','updateOfflineData','_rescheduleHeartbeat','append','state$','executeCommand','[UniverCollaborationClientPlugin]','authzUrl','interceptor','_undoStacks','equals','_config','location','update','dispose$','_doProcessBlock','loadOfflineData','onRemoteRetry','_getAPIPrefixPath','getCollabEntity$','_singleActiveUnitService','onCommentUpdate','closeSession','_invKeySchedule','localeService','deleteCollaborator','\x20-\x20','generateRandomId','replace','getSheetId','image/png','/-/object/-/batch_allowed','Encryptor','_pendingMutations','JOIN_ROOM_FULL','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','change$','enableCollaboration','asObservable','_clearLocalCache','COMMENT_UPDATE','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','dispose','_transformSelections','_initMergeInterceptor','result','forEach','localCacheService','_getDownloadEndpointURL','_state$','string','HmacSHA1','_unlockTransition','_createHmacHelper','OFFLINE','min','subUnitId','_members','onRemoteRej','getMember','close$','join','SUBMIT_CHANGESET_TIMEOUT','YUUMI_AI_RUN_FAILED','m2Prime','PERSON','ERROR_IMAGE_TYPE','toggleOffline','name','\x0aAfter:\x20','commentUpdate$','capture'];_0x282a=function(){return _0x1a7489;};return _0x282a();}var pi=(_0x239582=>(_0x239582[_0x239582[_0x1bf9e4(0x235)]=0x0]=_0x1bf9e4(0x235),_0x239582[_0x239582['OK']=0x1]='OK',_0x239582[_0x239582[_0x1bf9e4(0x433)]=0x2]=_0x1bf9e4(0x433),_0x239582[_0x239582[_0x1bf9e4(0x411)]=0x3]=_0x1bf9e4(0x411),_0x239582[_0x239582[_0x1bf9e4(0x3c2)]=0x4]='NOT_FOUND',_0x239582[_0x239582['UNAUTHENTICATED']=0x5]='UNAUTHENTICATED',_0x239582[_0x239582[_0x1bf9e4(0x423)]=0x6]=_0x1bf9e4(0x423),_0x239582[_0x239582[_0x1bf9e4(0x247)]=0x7]=_0x1bf9e4(0x247),_0x239582[_0x239582[_0x1bf9e4(0x23c)]=0x8]=_0x1bf9e4(0x23c),_0x239582[_0x239582[_0x1bf9e4(0x388)]=0x9]=_0x1bf9e4(0x388),_0x239582[_0x239582[_0x1bf9e4(0x41e)]=0xa]='LOGIN_FAILED',_0x239582[_0x239582[_0x1bf9e4(0x160)]=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x239582[_0x239582[_0x1bf9e4(0x3d6)]=0xc]='MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x239582[_0x239582[_0x1bf9e4(0x276)]=0xd]=_0x1bf9e4(0x276),_0x239582[_0x239582[_0x1bf9e4(0x382)]=0xe]='EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x239582[_0x239582[_0x1bf9e4(0x301)]=0x1389]=_0x1bf9e4(0x301),_0x239582[_0x239582[_0x1bf9e4(0x1e1)]=0x1771]=_0x1bf9e4(0x1e1),_0x239582[_0x239582[_0x1bf9e4(0x1c3)]=0x1772]=_0x1bf9e4(0x1c3),_0x239582[_0x239582[_0x1bf9e4(0x3b4)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x239582[_0x239582['APPLY_REJECT']=0x1b59]=_0x1bf9e4(0x1f6),_0x239582[_0x239582['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x1bf9e4(0x39b),_0x239582[_0x239582['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x1bf9e4(0x3f1),_0x239582[_0x239582[_0x1bf9e4(0x44b)]=0x1b5c]=_0x1bf9e4(0x44b),_0x239582[_0x239582['APPLY_DUPLICATED']=0x1b5d]=_0x1bf9e4(0x181),_0x239582[_0x239582[_0x1bf9e4(0x275)]=0x1f41]=_0x1bf9e4(0x275),_0x239582[_0x239582[_0x1bf9e4(0x2bd)]=0x2329]=_0x1bf9e4(0x2bd),_0x239582[_0x239582[_0x1bf9e4(0x18c)]=0x232a]=_0x1bf9e4(0x18c),_0x239582[_0x239582[_0x1bf9e4(0x46b)]=0x232b]=_0x1bf9e4(0x46b),_0x239582[_0x239582['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x239582[_0x239582[_0x1bf9e4(0x15d)]=0x232d]=_0x1bf9e4(0x15d),_0x239582[_0x239582[_0x1bf9e4(0x1bc)]=0x2711]=_0x1bf9e4(0x1bc),_0x239582[_0x239582['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x1bf9e4(0x406),_0x239582[_0x239582[_0x1bf9e4(0x45c)]=0x2713]=_0x1bf9e4(0x45c),_0x239582[_0x239582['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x1bf9e4(0x1b3),_0x239582[_0x239582[_0x1bf9e4(0x29c)]=0x271a]=_0x1bf9e4(0x29c),_0x239582[_0x239582[_0x1bf9e4(0x3b7)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x239582[_0x239582[_0x1bf9e4(0x242)]=0x271c]=_0x1bf9e4(0x242),_0x239582[_0x239582[_0x1bf9e4(0x298)]=0x271d]=_0x1bf9e4(0x298),_0x239582[_0x239582[_0x1bf9e4(0x1f1)]=0x271e]=_0x1bf9e4(0x1f1),_0x239582[_0x239582[_0x1bf9e4(0x34b)]=0x271f]='YUUMI_AI_RUN_FAILED',_0x239582[_0x239582[_0x1bf9e4(0x391)]=0x2720]=_0x1bf9e4(0x391),_0x239582[_0x239582[_0x1bf9e4(0x182)]=0x2af9]=_0x1bf9e4(0x182),_0x239582[_0x239582[_0x1bf9e4(0x1a4)]=0x2ee1]=_0x1bf9e4(0x1a4),_0x239582[_0x239582['INVALID_INVITE_CODE']=0x2ee2]=_0x1bf9e4(0x1d8),_0x239582[_0x239582[_0x1bf9e4(0x3a5)]=0x2ee3]=_0x1bf9e4(0x3a5),_0x239582[_0x239582[_0x1bf9e4(0x281)]=0x2ee4]=_0x1bf9e4(0x281),_0x239582[_0x239582[_0x1bf9e4(0x451)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x239582[_0x239582['WECHAT_HAS_BEEN_BOUND']=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x239582[_0x239582[_0x1bf9e4(0x1a3)]=0x32ca]=_0x1bf9e4(0x1a3),_0x239582[_0x239582[_0x1bf9e4(0x389)]=0x32cb]=_0x1bf9e4(0x389),_0x239582[_0x239582['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x239582))(pi||{}),Z=(_0xc75a26=>(_0xc75a26[_0xc75a26[_0x1bf9e4(0x3bc)]=0x0]=_0x1bf9e4(0x3bc),_0xc75a26[_0xc75a26[_0x1bf9e4(0x18d)]=0x1]=_0x1bf9e4(0x18d),_0xc75a26[_0xc75a26['UNIVER_SHEET']=0x2]=_0x1bf9e4(0x1ec),_0xc75a26[_0xc75a26[_0x1bf9e4(0x2a3)]=0x3]=_0x1bf9e4(0x2a3),_0xc75a26[_0xc75a26['UNIVER_PROJECT']=0x4]=_0x1bf9e4(0x2c7),_0xc75a26[_0xc75a26['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0xc75a26))(Z||{}),F=(_0x374928=>(_0x374928[_0x374928[_0x1bf9e4(0x1d3)]=0x0]='UNKNOWN_CMD',_0x374928[_0x374928[_0x1bf9e4(0x409)]=0x1]=_0x1bf9e4(0x409),_0x374928[_0x374928[_0x1bf9e4(0x28c)]=0x2]=_0x1bf9e4(0x28c),_0x374928[_0x374928['LEAVE']=0x3]=_0x1bf9e4(0x16d),_0x374928[_0x374928['INGEST']=0x4]=_0x1bf9e4(0x43d),_0x374928[_0x374928[_0x1bf9e4(0x3c7)]=0x5]=_0x1bf9e4(0x3c7),_0x374928[_0x374928[_0x1bf9e4(0x2cf)]=0x6]=_0x1bf9e4(0x2cf),_0x374928[_0x374928[_0x1bf9e4(0x39e)]=-0x1]=_0x1bf9e4(0x39e),_0x374928))(F||{}),me=(_0x18c717=>(_0x18c717[_0x18c717['UNKNOWN_CODE']=0x0]='UNKNOWN_CODE',_0x18c717[_0x18c717['OK']=0x1]='OK',_0x18c717[_0x18c717[_0x1bf9e4(0x19c)]=0x2]=_0x1bf9e4(0x19c),_0x18c717[_0x18c717[_0x1bf9e4(0x32e)]=0x3e9]=_0x1bf9e4(0x32e),_0x18c717[_0x18c717[_0x1bf9e4(0x394)]=0x3ea]=_0x1bf9e4(0x394),_0x18c717[_0x18c717[_0x1bf9e4(0x2ee)]=0x3eb]=_0x1bf9e4(0x2ee),_0x18c717[_0x18c717[_0x1bf9e4(0x397)]=0x3ec]=_0x1bf9e4(0x397),_0x18c717[_0x18c717[_0x1bf9e4(0x39e)]=-0x1]='UNRECOGNIZED',_0x18c717))(me||{}),mi=(_0x378075=>(_0x378075[_0x378075[_0x1bf9e4(0x1e6)]=0x0]=_0x1bf9e4(0x1e6),_0x378075[_0x378075[_0x1bf9e4(0x29d)]=0x1]=_0x1bf9e4(0x29d),_0x378075[_0x378075['HttpExport']=0x2]=_0x1bf9e4(0x2cb),_0x378075[_0x378075[_0x1bf9e4(0x2d0)]=0x3]='UnitEmbedded',_0x378075[_0x378075[_0x1bf9e4(0x18b)]=0x4]='UnitSnapshot',_0x378075[_0x378075[_0x1bf9e4(0x1f5)]=0x5]=_0x1bf9e4(0x1f5),_0x378075[_0x378075[_0x1bf9e4(0x39e)]=-0x1]=_0x1bf9e4(0x39e),_0x378075))(mi||{});const K=_0x1bf9e4(0x287),Ds={};var ne=(_0x5e9ef0=>(_0x5e9ef0[_0x1bf9e4(0x164)]=_0x1bf9e4(0x164),_0x5e9ef0[_0x1bf9e4(0x411)]='PERMISSION_DENIED',_0x5e9ef0['CONFLICT']='CONFLICT',_0x5e9ef0[_0x1bf9e4(0x2ed)]=_0x1bf9e4(0x2ed),_0x5e9ef0[_0x1bf9e4(0x2f0)]=_0x1bf9e4(0x2f0),_0x5e9ef0[_0x1bf9e4(0x1b0)]=_0x1bf9e4(0x1b0),_0x5e9ef0[_0x1bf9e4(0x3f3)]='SOCKET_FAILED',_0x5e9ef0[_0x1bf9e4(0x34a)]=_0x1bf9e4(0x34a),_0x5e9ef0))(ne||{});class ve{constructor(){var _0x1df6ae=_0x1bf9e4;N(this,_0x1df6ae(0x20a),new _0x3b4cf0()),N(this,_0x1df6ae(0x1ca),this[_0x1df6ae(0x20a)][_0x1df6ae(0x332)]());}[_0x1bf9e4(0x463)](_0x5b4d1d){var _0x1e7c25=_0x1bf9e4;this['_event$'][_0x1e7c25(0x232)](_0x5b4d1d);}}const Us=_0x1e116d(_0x1bf9e4(0x467));function As(_0x181aa9){var _0x257ad4=_0x1bf9e4,_0x3bfdbd,_0x54434e,_0x41ce46,_0x3d2cd1,_0x14bf66;const _0x1c2eca=_0x181aa9[_0x257ad4(0x1c7)],_0x4e676a=JSON['parse'](_0x1c2eca);switch(_0x4e676a[_0x257ad4(0x2b2)]){case F[_0x257ad4(0x3c7)]:case F[_0x257ad4(0x409)]:{const _0x12082d=_0x4e676a[_0x257ad4(0x285)];return{..._0x4e676a,'data':_0x12082d,'cmd':_0x4e676a[_0x257ad4(0x2b2)]};}case F[_0x257ad4(0x28c)]:{const _0x265938=_0x4e676a['joinRsp'];return{..._0x4e676a,'data':_0x265938,'cmd':_0x4e676a[_0x257ad4(0x2b2)]};}case F['RECV']:{const _0x17177b=_0x4e676a[_0x257ad4(0x258)];switch(_0x17177b[_0x257ad4(0x438)]){case _0x40976b['PERMISSION_REJ']:return{..._0x4e676a,'data':{..._0x17177b,'data':(_0x3bfdbd=_0x17177b['permissionRejEvent'])==null?void 0x0:_0x3bfdbd['cs']},'cmd':_0x4e676a[_0x257ad4(0x2b2)]};case _0x40976b[_0x257ad4(0x3fc)]:return{..._0x4e676a,'data':{..._0x17177b,'data':(_0x54434e=_0x17177b[_0x257ad4(0x2e5)])==null?void 0x0:_0x54434e['cs']},'cmd':_0x4e676a[_0x257ad4(0x2b2)]};case _0x40976b[_0x257ad4(0x214)]:return{..._0x4e676a,'data':{..._0x17177b,'data':(_0x41ce46=_0x17177b[_0x257ad4(0x249)])==null?void 0x0:_0x41ce46['cs']},'cmd':_0x4e676a[_0x257ad4(0x2b2)]};case _0x40976b[_0x257ad4(0x443)]:return{..._0x4e676a,'data':{..._0x17177b,'data':(_0x3d2cd1=_0x17177b[_0x257ad4(0x35b)])==null?void 0x0:_0x3d2cd1['cs']},'cmd':_0x4e676a[_0x257ad4(0x2b2)]};case _0x40976b[_0x257ad4(0x42c)]:return{..._0x4e676a,'data':{..._0x17177b,'data':(_0x14bf66=_0x17177b[_0x257ad4(0x3ac)])==null?void 0x0:_0x14bf66['cs']},'cmd':_0x4e676a['cmd']};case _0x40976b['UPDATE_CURSOR']:return{..._0x4e676a,'data':{..._0x17177b,'data':_0x17177b[_0x257ad4(0x211)]},'cmd':_0x4e676a[_0x257ad4(0x2b2)]};case _0x40976b[_0x257ad4(0x243)]:return{..._0x4e676a,'data':{..._0x17177b,'data':_0x17177b[_0x257ad4(0x305)]},'cmd':_0x4e676a['cmd']};case _0x40976b[_0x257ad4(0x403)]:return{..._0x4e676a,'data':{..._0x17177b,'data':_0x17177b[_0x257ad4(0x45a)]},'cmd':_0x4e676a[_0x257ad4(0x2b2)]};case _0x40976b[_0x257ad4(0x2a4)]:return{..._0x4e676a,'data':{..._0x17177b,'data':_0x17177b['liveShareNewHost']},'cmd':_0x4e676a[_0x257ad4(0x2b2)]};case _0x40976b[_0x257ad4(0x20d)]:case _0x40976b[_0x257ad4(0x1f0)]:return{..._0x4e676a,'data':{..._0x17177b,'data':_0x17177b[_0x257ad4(0x444)]},'cmd':_0x4e676a[_0x257ad4(0x2b2)]};case _0x40976b[_0x257ad4(0x16a)]:return{..._0x4e676a,'data':{..._0x17177b,'data':_0x17177b['liveShareNewHost']},'cmd':_0x4e676a['cmd']};case _0x40976b[_0x257ad4(0x387)]:return{..._0x4e676a,'data':_0x17177b,'cmd':_0x4e676a['cmd']};case _0x40976b[_0x257ad4(0x334)]:return{..._0x4e676a,'data':{..._0x17177b,'data':_0x17177b['commentUpdateEvent']},'cmd':_0x4e676a['cmd']};case _0x40976b[_0x257ad4(0x44f)]:return{..._0x4e676a,'data':{..._0x17177b,'data':_0x17177b[_0x257ad4(0x221)]},'cmd':_0x4e676a[_0x257ad4(0x2b2)]};case _0x40976b['SHOULD_CLOSE_CONN']:return{..._0x4e676a,'data':{..._0x17177b,'data':_0x17177b[_0x257ad4(0x35a)]},'cmd':_0x4e676a[_0x257ad4(0x2b2)]};case _0x40976b['UNISCRIPT_RUN']:return{..._0x4e676a,'data':{..._0x17177b,'data':_0x17177b[_0x257ad4(0x25c)]},'cmd':_0x4e676a[_0x257ad4(0x2b2)]};default:return _0x4e676a;}}default:return _0x4e676a;}}function ws(_0x53a357){var _0x1572a7=_0x1bf9e4;switch(_0x53a357['cmd']){case F[_0x1572a7(0x3c7)]:case F[_0x1572a7(0x409)]:return JSON['stringify']({'cmd':_0x53a357[_0x1572a7(0x2b2)],'routeKey':_0x53a357[_0x1572a7(0x2bc)]});case F['INGEST']:{let _0x496fdf;switch(_0x53a357[_0x1572a7(0x1c7)][_0x1572a7(0x438)]){case _0x40976b[_0x1572a7(0x1cf)]:{_0x496fdf={'eventID':_0x40976b[_0x1572a7(0x1cf)],'updateCursorEvent':_0x53a357['data']['data']};break;}case _0x40976b['USERS_LEAVE']:{_0x496fdf={'eventID':_0x40976b[_0x1572a7(0x403)],'leaveEvent':_0x53a357[_0x1572a7(0x1c7)][_0x1572a7(0x1c7)]};break;}case _0x40976b[_0x1572a7(0x243)]:{_0x496fdf={'eventID':_0x40976b['USERS_ENTER'],'joinEvent':_0x53a357[_0x1572a7(0x1c7)][_0x1572a7(0x1c7)]};break;}case _0x40976b[_0x1572a7(0x2a4)]:{_0x496fdf={'eventID':_0x40976b[_0x1572a7(0x2a4)],'liveShareNewHost':_0x53a357[_0x1572a7(0x1c7)][_0x1572a7(0x1c7)]};break;}case _0x40976b['LIVESHARE_OPERATION']:{_0x496fdf={'eventID':_0x40976b[_0x1572a7(0x1f0)],'liveShareOperation':_0x53a357[_0x1572a7(0x1c7)]['data']};break;}case _0x40976b['LIVESHARE_TERMINATE']:{_0x496fdf={'eventID':_0x40976b[_0x1572a7(0x16a)],'liveShareTerminate':_0x53a357[_0x1572a7(0x1c7)][_0x1572a7(0x1c7)]};break;}case _0x40976b[_0x1572a7(0x244)]:{_0x496fdf={'eventID':_0x40976b['LIVESHARE_REQUEST_HOST'],'liveShareRequestHost':_0x53a357['data'][_0x1572a7(0x1c7)]};break;}case _0x40976b['LIVESHARE_FETCH_OPERATIONS']:{_0x496fdf={'eventID':_0x40976b[_0x1572a7(0x20d)]};break;}default:_0x496fdf={'eventID':_0x53a357[_0x1572a7(0x1c7)][_0x1572a7(0x438)]};}return JSON[_0x1572a7(0x379)]({'cmd':_0x53a357[_0x1572a7(0x2b2)],'routeKey':_0x53a357['routeKey'],'collaMsg':_0x496fdf});}case F[_0x1572a7(0x28c)]:return JSON[_0x1572a7(0x379)]({'cmd':_0x53a357[_0x1572a7(0x2b2)],'routeKey':_0x53a357[_0x1572a7(0x2bc)],'joinReq':_0x53a357[_0x1572a7(0x1c7)]});case F[_0x1572a7(0x16d)]:return JSON[_0x1572a7(0x379)]({'cmd':_0x53a357[_0x1572a7(0x2b2)],'routeKey':_0x53a357['routeKey'],'leaveReq':_0x53a357[_0x1572a7(0x1c7)]});default:throw new Error(_0x1572a7(0x1b8));}}var Ps=Object[_0x1bf9e4(0x241)],Ls=(_0x7fd98,_0x55c00a,_0x4f8216,_0x1b815c)=>{var _0x2456dd=_0x1bf9e4;for(var _0x5323b3=_0x1b815c>0x1?void 0x0:_0x1b815c?Ps(_0x55c00a,_0x4f8216):_0x55c00a,_0x354ba7=_0x7fd98[_0x2456dd(0x2fd)]-0x1,_0x531836;_0x354ba7>=0x0;_0x354ba7--)(_0x531836=_0x7fd98[_0x354ba7])&&(_0x5323b3=_0x531836(_0x5323b3)||_0x5323b3);return _0x5323b3;},Ue=(_0x3bd2c1,_0x447db9)=>(_0x1e4ead,_0x19b9c5)=>_0x447db9(_0x1e4ead,_0x19b9c5,_0x3bd2c1);const gi=_0x1e116d(_0x1bf9e4(0x36f));function Ms(_0x338590,_0x3933bf,_0x130186){var _0x5807be=_0x1bf9e4;return _0x338590+'/'+_0x3933bf+_0x5807be(0x2fe)+_0x130186+'/new_changes';}let Ft=class extends _0x16428c{constructor(_0x209acc,_0x2de80c,_0x4d439f,_0x36d117,_0x251a5e){var _0x5e54a4=_0x1bf9e4;super(),this[_0x5e54a4(0x2b7)]=_0x209acc,this['_httpService']=_0x2de80c,this[_0x5e54a4(0x1f9)]=_0x4d439f,this[_0x5e54a4(0x254)]=_0x36d117,this[_0x5e54a4(0x1e0)]=_0x251a5e;}[_0x1bf9e4(0x3ed)](_0xf1d49c){var _0x3773c9=_0x1bf9e4;const _0xeea1f2=this['_injector'][_0x3773c9(0x27c)](_0x46b8c2);if(!_0xeea1f2)throw new Error(_0x3773c9(0x3b0));const _0x534b53=_0xeea1f2[_0x3773c9(0x259)](_0xf1d49c);if(!_0x534b53)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!');const _0x55b8fb=new _0xc86a07(),_0x183560=new _0x3b4cf0();_0x55b8fb[_0x3773c9(0x251)](_0x534b53[_0x3773c9(0x348)][_0x3773c9(0x262)](_0x2f609f=>_0x183560['next'](_0x2f609f))),_0x55b8fb['add'](_0x4c9abc(()=>_0x183560[_0x3773c9(0x246)]()));const _0xd5e1b3=new _0x3b4cf0();_0x55b8fb[_0x3773c9(0x251)](_0x534b53[_0x3773c9(0x36c)][_0x3773c9(0x262)](_0x50c756=>_0xd5e1b3['next'](_0x50c756))),_0x55b8fb[_0x3773c9(0x251)](_0x4c9abc(()=>_0xd5e1b3[_0x3773c9(0x246)]()));const _0x144d95=new _0x3b4cf0();_0x55b8fb[_0x3773c9(0x251)](_0x534b53[_0x3773c9(0x46a)][_0x3773c9(0x262)](_0x487799=>{var _0x1c9aba=_0x3773c9;const _0x24f4f9=As(_0x487799);_0x144d95[_0x1c9aba(0x232)](_0x24f4f9);})),_0x55b8fb[_0x3773c9(0x251)](_0x4c9abc(()=>_0x144d95['complete']()));let _0x35990d;const _0x41ddca=()=>{var _0x5afbe7=_0x3773c9;_0xd5e1b3['next'](new Event(_0x5afbe7(0x204))),_0x183560[_0x5afbe7(0x232)](new Event(_0x5afbe7(0x204))),_0x35990d[_0x5afbe7(0x40b)]();};return _0x35990d={'memberID':'','close$':_0x183560[_0x3773c9(0x332)](),'error$':_0xd5e1b3[_0x3773c9(0x332)](),'open$':_0x534b53[_0x3773c9(0x212)],'message$':_0x144d95['asObservable'](),'send':_0x323067=>{var _0x4d27e5=_0x3773c9;if(_0x323067[_0x4d27e5(0x2b2)]===F[_0x4d27e5(0x43d)]){if(_0x323067['data']['eventID']===_0x40976b['SUBMIT_CHANGESET']){this[_0x4d27e5(0x357)](_0x35990d,_0x323067[_0x4d27e5(0x1c7)])['catch'](_0x2b2c71=>{var _0x5cbab6=_0x4d27e5;this[_0x5cbab6(0x254)][_0x5cbab6(0x197)](_0x2b2c71),_0x41ddca();});return;}if(_0x323067[_0x4d27e5(0x1c7)][_0x4d27e5(0x438)]===_0x40976b[_0x4d27e5(0x459)]){const _0xe25382=_0x323067['data'];this[_0x4d27e5(0x1e3)](_0xe25382)[_0x4d27e5(0x218)](_0x222bef=>{var _0x5435a1=_0x4d27e5;_0x144d95[_0x5435a1(0x232)]({'cmd':F['RECV'],'code':me['OK'],'routeKey':_0xe25382['data'][_0x5435a1(0x3fa)],'routeType':'','data':{'eventID':_0x40976b[_0x5435a1(0x37a)],'data':{'changesets':_0x222bef}}});})[_0x4d27e5(0x15b)](_0x4211a8=>{var _0x51f4ac=_0x4d27e5;this[_0x51f4ac(0x254)][_0x51f4ac(0x197)](_0x4211a8),_0x41ddca();});return;}}_0x534b53[_0x4d27e5(0x2ba)](ws(_0x323067));},'close':()=>{var _0x277203=_0x3773c9;_0x534b53['close'](),_0x55b8fb[_0x277203(0x336)]();}},_0x35990d;}async[_0x1bf9e4(0x357)](_0x49870d,_0x452d9d){var _0x3d318d=_0x1bf9e4,_0x1ccdc9,_0x5170f2;const {unitType:_0x57c5e0,unitID:_0x83ea0d,changeset:_0x4bb442}=_0x452d9d[_0x3d318d(0x1c7)],_0x464cbf={'unitID':_0x83ea0d,'memberID':_0x49870d[_0x3d318d(0x430)],'type':_0x57c5e0,'changeset':_0x524410(_0x4bb442)},_0x2e9a82=this[_0x3d318d(0x1f9)][_0x3d318d(0x17d)](Os),_0x2b92db=this[_0x3d318d(0x1f9)][_0x3d318d(0x17d)](K),_0x584735=Ms((_0x5170f2=(_0x1ccdc9=_0x2b92db==null?void 0x0:_0x2b92db[_0x3d318d(0x384)])!=null?_0x1ccdc9:_0x2e9a82)!=null?_0x5170f2:bs,_0x57c5e0,_0x83ea0d);try{await this[_0x3d318d(0x2e9)][_0x3d318d(0x22d)](_0x584735,{'body':_0x464cbf});}catch(_0x5c7665){throw this[_0x3d318d(0x254)][_0x3d318d(0x197)](_0x3d318d(0x38d),_0x3d318d(0x30b)),_0x5c7665;}}async['_fetchMissChangesets'](_0x8aa146){var _0x5b3f77=_0x1bf9e4;const {unitID:_0x3ac7a1,from:_0x5068a8,to:_0x16e100,unitType:_0x25fc0b}=_0x8aa146[_0x5b3f77(0x1c7)];return(await this[_0x5b3f77(0x1e0)][_0x5b3f77(0x161)]({'metadata':void 0x0},{'unitID':_0x3ac7a1,'type':_0x25fc0b,'from':_0x5068a8,'to':_0x16e100}))[_0x5b3f77(0x1b5)];}};Ft=Ls([Ue(0x0,_0x1eb2b7(_0x3ba5a5)),Ue(0x1,_0x1eb2b7(_0x4a6b11)),Ue(0x2,_0x2711b7),Ue(0x3,_0x4020c),Ue(0x4,_0xcb8e22)],Ft);const xs='collaboration_new_changeset';function ks(_0x10a8b8){var _0x326740=_0x1bf9e4;return JSON[_0x326740(0x379)](_0x10a8b8)['length'];}class Si{constructor(){var _0x37d95d=_0x1bf9e4;N(this,_0x37d95d(0x453),new _0x3b4cf0()),N(this,_0x37d95d(0x352),this[_0x37d95d(0x453)][_0x37d95d(0x332)]());}[_0x1bf9e4(0x321)](_0x4f5933){var _0xeb479f=_0x1bf9e4;this[_0xeb479f(0x453)]['next'](_0x4f5933);}}var $s=Object['getOwnPropertyDescriptor'],Hs=(_0x517518,_0x397cf5,_0x101df3,_0x3f7f14)=>{for(var _0x499f60=_0x3f7f14>0x1?void 0x0:_0x3f7f14?$s(_0x397cf5,_0x101df3):_0x397cf5,_0x3ed0f1=_0x517518['length']-0x1,_0x527a49;_0x3ed0f1>=0x0;_0x3ed0f1--)(_0x527a49=_0x517518[_0x3ed0f1])&&(_0x499f60=_0x527a49(_0x499f60)||_0x499f60);return _0x499f60;},Vt=(_0x536331,_0x32a661)=>(_0xa1b131,_0xff12f8)=>_0x32a661(_0xa1b131,_0xff12f8,_0x536331);let Pe=class extends _0x16428c{constructor(_0x42199e,_0xc60ba7){var _0x304642=_0x1bf9e4;super(),N(this,'_roomMembers',new Map()),N(this,_0x304642(0x1f7),new _0x3b4cf0()),(this[_0x304642(0x432)]=_0x42199e,this[_0x304642(0x1a5)]=_0xc60ba7,this[_0x304642(0x437)](_0x539a72(this[_0x304642(0x432)]['getTypeOfUnitDisposed$'](_0x2f1c63[_0x304642(0x1ec)])[_0x304642(0x29b)](_0xe868af(_0x4bf2df=>_0x4bf2df[_0x304642(0x416)]())),this[_0x304642(0x432)][_0x304642(0x37b)](_0x2f1c63[_0x304642(0x18d)])[_0x304642(0x29b)](_0xe868af(_0xb0949a=>_0xb0949a[_0x304642(0x416)]())),this['_univerInstanceService'][_0x304642(0x37b)](_0x2f1c63[_0x304642(0x2a3)])['pipe'](_0xe868af(_0x58ae6a=>_0x58ae6a['getUnitId']())))[_0x304642(0x262)](_0x3c6e1d=>this[_0x304642(0x201)](_0x3c6e1d))));}[_0x1bf9e4(0x3ef)](_0x30dad4){var _0x1b289a=_0x1bf9e4;return this[_0x1b289a(0x35f)][_0x1b289a(0x429)](_0x30dad4)?_0x1be741(this[_0x1b289a(0x35f)][_0x1b289a(0x27c)](_0x30dad4)):this[_0x1b289a(0x1f7)][_0x1b289a(0x29b)](_0xe868af(_0x182741=>{var _0x2055e7=_0x1b289a;if(_0x182741===_0x30dad4)return this[_0x2055e7(0x35f)][_0x2055e7(0x27c)](_0x182741);}));}[_0x1bf9e4(0x1fd)](_0x2bb804){var _0x2b3f36=_0x1bf9e4;this[_0x2b3f36(0x1a5)][_0x2b3f36(0x1fd)](_0x2bb804);}[_0x1bf9e4(0x26c)](){var _0x1aff19=_0x1bf9e4;return this['_userManagerService'][_0x1aff19(0x26c)]();}[_0x1bf9e4(0x2c2)](_0x1b557d,_0x2fc3db){var _0x191f7f=_0x1bf9e4;let _0x389e3a=this['_roomMembers']['get'](_0x1b557d);_0x389e3a||(_0x389e3a=new Bs(),this[_0x191f7f(0x35f)][_0x191f7f(0x1f3)](_0x1b557d,_0x389e3a),this['_roomCreated$'][_0x191f7f(0x232)](_0x1b557d)),_0x389e3a[_0x191f7f(0x2c2)](_0x2fc3db);}[_0x1bf9e4(0x1b4)](_0x436138,_0x31d662){var _0x1df087=_0x1bf9e4;const _0x50f490=this['_roomMembers'][_0x1df087(0x27c)](_0x436138);_0x50f490&&_0x50f490[_0x1df087(0x1b4)](_0x31d662);}['getRoom'](_0x598393){var _0x16823c=_0x1bf9e4;return this[_0x16823c(0x35f)]['get'](_0x598393);}[_0x1bf9e4(0x347)](_0x234722,_0x371a8d){var _0x59f842=_0x1bf9e4;const _0x2302e8=this[_0x59f842(0x35f)]['get'](_0x234722);if(_0x2302e8)return _0x2302e8[_0x59f842(0x347)](_0x371a8d);}[_0x1bf9e4(0x201)](_0x9f2b71){var _0x2400f7=_0x1bf9e4;const _0x32cb32=this[_0x2400f7(0x35f)][_0x2400f7(0x27c)](_0x9f2b71);_0x32cb32&&(_0x32cb32[_0x2400f7(0x336)](),this[_0x2400f7(0x35f)][_0x2400f7(0x3ea)](_0x9f2b71));}[_0x1bf9e4(0x336)](){var _0x1889d7=_0x1bf9e4;this[_0x1889d7(0x35f)][_0x1889d7(0x33a)](_0x4ed7aa=>_0x4ed7aa['dispose']()),this[_0x1889d7(0x35f)]['clear'](),this['_roomCreated$']['complete']();}};Pe=Hs([Vt(0x0,_0x1dd505),Vt(0x1,_0x1eb2b7(_0x119af1))],Pe);class Bs extends _0x16428c{constructor(){var _0x57f7c2=_0x1bf9e4;super(...arguments),N(this,_0x57f7c2(0x345),new Map()),N(this,'_members$',new _0x320cd9(this[_0x57f7c2(0x345)])),N(this,'members$',this[_0x57f7c2(0x2e0)][_0x57f7c2(0x332)]());}[_0x1bf9e4(0x336)](){var _0x5f329c=_0x1bf9e4;this[_0x5f329c(0x345)][_0x5f329c(0x27d)]();}[_0x1bf9e4(0x2c2)](_0x527c85){var _0x3c2ca6=_0x1bf9e4;this['_members']['set'](_0x527c85['memberID'],_0x527c85),this[_0x3c2ca6(0x219)]();}[_0x1bf9e4(0x1b4)](_0x2b49dd){var _0x4e89b4=_0x1bf9e4;this[_0x4e89b4(0x345)][_0x4e89b4(0x3ea)](_0x2b49dd);}[_0x1bf9e4(0x347)](_0x37eec0){var _0x36e309=_0x1bf9e4;return this[_0x36e309(0x345)][_0x36e309(0x27c)](_0x37eec0);}['getAllMembers'](){var _0x38bb09=_0x1bf9e4;return Array[_0x38bb09(0x42a)](this['_members'][_0x38bb09(0x3ce)]());}[_0x1bf9e4(0x219)](){var _0x15082d=_0x1bf9e4;this[_0x15082d(0x2e0)][_0x15082d(0x232)](this['_members']);}}var js=Object[_0x1bf9e4(0x241)],Fs=(_0x5e4312,_0x1135bf,_0x396022,_0x343025)=>{var _0xbae6dd=_0x1bf9e4;for(var _0x420b2f=_0x343025>0x1?void 0x0:_0x343025?js(_0x1135bf,_0x396022):_0x1135bf,_0x1847df=_0x5e4312[_0xbae6dd(0x2fd)]-0x1,_0x4bd97d;_0x1847df>=0x0;_0x1847df--)(_0x4bd97d=_0x5e4312[_0x1847df])&&(_0x420b2f=_0x4bd97d(_0x420b2f)||_0x420b2f);return _0x420b2f;},pe=(_0x23855c,_0x19b117)=>(_0x50cdd8,_0x3ac6b5)=>_0x19b117(_0x50cdd8,_0x3ac6b5,_0x23855c),Se=(_0x167ab9=>(_0x167ab9[_0x167ab9[_0x1bf9e4(0x3a3)]=0x0]='IDLE',_0x167ab9[_0x167ab9['JOINING']=0x1]=_0x1bf9e4(0x22e),_0x167ab9[_0x167ab9[_0x1bf9e4(0x342)]=0x2]=_0x1bf9e4(0x342),_0x167ab9[_0x167ab9[_0x1bf9e4(0x402)]=0x3]=_0x1bf9e4(0x402),_0x167ab9))(Se||{});const Gt={[me['FAIL']]:_0x1bf9e4(0x3d9),[me[_0x1bf9e4(0x32e)]]:_0x1bf9e4(0x3e8),[me['JOIN_ROOM_NOT_EXISTS']]:_0x1bf9e4(0x1e8),[me[_0x1bf9e4(0x2ee)]]:_0x1bf9e4(0x1e5),[me[_0x1bf9e4(0x397)]]:'session.room-cnt-exceeds'};let gt=class extends _0x3f1edd{constructor(_0xcc78e3,_0xdc4b32,_0x31301a,_0x44e0bf,_0x2d550a,_0x4d1b97,_0x521bd0,_0x3312f9,_0x4989e5){var _0x23f563=_0x1bf9e4;super(),N(this,_0x23f563(0x20b),new _0x320cd9(0x0)),N(this,_0x23f563(0x25b),this[_0x23f563(0x20b)][_0x23f563(0x332)]()),N(this,_0x23f563(0x20a),new _0x3b4cf0()),N(this,_0x23f563(0x1ca),this['_event$'][_0x23f563(0x332)]()),N(this,_0x23f563(0x309)),N(this,'_socketMessageSubscription'),N(this,_0x23f563(0x3a8)),N(this,'_shouldReportTelemetry',!0x1),N(this,_0x23f563(0x3fd),null),(this[_0x23f563(0x1e7)]=_0xcc78e3,this[_0x23f563(0x254)]=_0x31301a,this[_0x23f563(0x1f9)]=_0x44e0bf,this[_0x23f563(0x1c9)]=_0x2d550a,this[_0x23f563(0x228)]=_0x4d1b97,this[_0x23f563(0x1d0)]=_0x521bd0,this['_collaborationUIEventService']=_0x3312f9,this['_telemetryService']=_0x4989e5,this[_0x23f563(0x464)]=!!this[_0x23f563(0x426)],_0xdc4b32['pipe'](_0x57d01b(this[_0x23f563(0x31a)]))[_0x23f563(0x262)](_0x730325=>{var _0x412591=_0x23f563,_0x35e7d7;typeof _0x730325>'u'||(this[_0x412591(0x309)]=_0x730325,_0x730325?(this[_0x412591(0x36e)](_0x730325),this[_0x412591(0x308)]=_0x730325[_0x412591(0x46a)]['subscribe'](_0x4c23fa=>{var _0xe52b10=_0x412591;_0x4c23fa['routeKey']===this['_unitID']&&this[_0xe52b10(0x28b)](_0x4c23fa);})):(this[_0x412591(0x1bf)](),this[_0x412591(0x20b)][_0x412591(0x232)](0x2),(_0x35e7d7=this['_socketMessageSubscription'])==null||_0x35e7d7[_0x412591(0x2e1)](),this[_0x412591(0x308)]=null));}));}get['sessionStatus'](){var _0x3ea525=_0x1bf9e4;return this[_0x3ea525(0x20b)]['getValue']();}['getMemberID'](){var _0x2040a7=_0x1bf9e4,_0x428775,_0x28a046;return(_0x28a046=(_0x428775=this[_0x2040a7(0x309)])==null?void 0x0:_0x428775[_0x2040a7(0x430)])!=null?_0x28a046:null;}[_0x1bf9e4(0x336)](){var _0x551c45=_0x1bf9e4;super[_0x551c45(0x336)](),this['dispose$'][_0x551c45(0x232)](),this[_0x551c45(0x31a)]['complete']();}[_0x1bf9e4(0x40b)](){var _0x193337=_0x1bf9e4,_0x2ead89,_0x38c580;this[_0x193337(0x1bf)](),(_0x2ead89=this[_0x193337(0x309)])==null||_0x2ead89[_0x193337(0x2ba)]({'cmd':F[_0x193337(0x16d)],'data':{'roomID':this[_0x193337(0x1e7)]}}),(_0x38c580=this[_0x193337(0x309)])==null||_0x38c580[_0x193337(0x40b)](),this['_event$']['complete'](),this[_0x193337(0x20b)][_0x193337(0x246)](),this[_0x193337(0x336)]();}[_0x1bf9e4(0x28b)](_0x1511b4){var _0x4eadd2=_0x1bf9e4;_0x1511b4[_0x4eadd2(0x2b2)]===F[_0x4eadd2(0x28c)]?this[_0x4eadd2(0x2b8)](_0x1511b4):_0x1511b4[_0x4eadd2(0x2b2)]===F[_0x4eadd2(0x2cf)]&&this[_0x4eadd2(0x1bd)](_0x1511b4);}['_joinRoom'](_0x30860c){var _0x21f7c5=_0x1bf9e4;this[_0x21f7c5(0x20b)][_0x21f7c5(0x232)](0x1),_0x30860c['send']({'cmd':F[_0x21f7c5(0x28c)],'routeKey':this[_0x21f7c5(0x1e7)],'routeType':'','data':{'rooms':[{'roomID':this[_0x21f7c5(0x1e7)]}]}});}[_0x1bf9e4(0x2b8)](_0x5ae3d2){var _0x16e20d=_0x1bf9e4,_0x1e1e69;if(_0x5ae3d2[_0x16e20d(0x20f)]in Gt){this[_0x16e20d(0x203)][_0x16e20d(0x463)]({'id':ne['JOIN_ROOM_FAILED'],'data':Gt[_0x5ae3d2[_0x16e20d(0x20f)]]}),this[_0x16e20d(0x20b)]['next'](0x2);return;}this['_sessionStatus$'][_0x16e20d(0x232)](0x3);const _0x4c4031=(_0x1e1e69=_0x5ae3d2[_0x16e20d(0x1c7)][_0x16e20d(0x240)][this[_0x16e20d(0x1e7)]])==null?void 0x0:_0x1e1e69[_0x16e20d(0x395)];_0x4c4031&&_0x4c4031['forEach'](_0x28049b=>this[_0x16e20d(0x228)][_0x16e20d(0x2c2)](this[_0x16e20d(0x1e7)],_0x28049b));}[_0x1bf9e4(0x1bd)](_0x5f087b){var _0x22abef=_0x1bf9e4;try{const _0x2e6673=_0x5f087b[_0x22abef(0x1c7)];switch(_0x2e6673['eventID']){case _0x40976b[_0x22abef(0x243)]:this[_0x22abef(0x166)](_0x2e6673),this[_0x22abef(0x20a)][_0x22abef(0x232)](_0x2e6673);break;case _0x40976b['USERS_LEAVE']:this[_0x22abef(0x370)](_0x2e6673),this[_0x22abef(0x20a)][_0x22abef(0x232)](_0x2e6673);break;case _0x40976b['CHANGESET_ACK']:case _0x40976b[_0x22abef(0x42c)]:this[_0x22abef(0x198)](),this[_0x22abef(0x38e)](),this[_0x22abef(0x20a)]['next'](_0x2e6673);break;case _0x40976b['MSG_FOR_ERROR']:this[_0x22abef(0x254)][_0x22abef(0x197)](_0x22abef(0x462)+JSON['stringify'](_0x2e6673)),this[_0x22abef(0x20a)][_0x22abef(0x232)](_0x2e6673);break;case _0x40976b[_0x22abef(0x334)]:this[_0x22abef(0x1d0)]['onCommentUpdate'](_0x2e6673[_0x22abef(0x1c7)]),this[_0x22abef(0x20a)][_0x22abef(0x232)](_0x2e6673);break;default:this[_0x22abef(0x20a)][_0x22abef(0x232)](_0x2e6673);}}catch(_0x5b6184){this['_logService'][_0x22abef(0x197)](_0x5b6184,_0x5f087b);}}[_0x1bf9e4(0x166)](_0x449218){var _0x2a44a4=_0x1bf9e4;this[_0x2a44a4(0x228)][_0x2a44a4(0x2c2)](this['_unitID'],_0x449218[_0x2a44a4(0x1c7)]);}['_onUserLeave'](_0x59be4e){var _0x5ddb60=_0x1bf9e4;this[_0x5ddb60(0x228)][_0x5ddb60(0x1b4)](this[_0x5ddb60(0x1e7)],_0x59be4e['data'][_0x5ddb60(0x430)]);}async[_0x1bf9e4(0x2ba)](_0x5bf01,_0x42f393){var _0x48352a=_0x1bf9e4;if(this[_0x48352a(0x25a)]!==0x3||!this['_socket'])throw new Error(_0x48352a(0x17f));try{_0x5bf01[_0x48352a(0x438)]===_0x40976b[_0x48352a(0x2c3)]&&(this[_0x48352a(0x3e0)](),this[_0x48352a(0x237)](_0x5bf01)),this[_0x48352a(0x309)][_0x48352a(0x2ba)]({'cmd':F[_0x48352a(0x43d)],'routeKey':_0x42f393,'routeType':'','data':_0x5bf01});}catch(_0x261b3a){this['_logService'][_0x48352a(0x197)](_0x261b3a);}}[_0x1bf9e4(0x3e0)](){var _0x2ac64e=_0x1bf9e4,_0x2c6d35;this['_collaborationTimeoutTimer']=setTimeout(()=>{var _0x39c0b3=_0xcbfd;this[_0x39c0b3(0x3a8)]=null,this[_0x39c0b3(0x203)][_0x39c0b3(0x463)]({'id':ne['SUBMIT_CHANGESET_TIMEOUT']});},(_0x2c6d35=this['_configService'][_0x2ac64e(0x17d)](fi))!=null?_0x2c6d35:vi);}[_0x1bf9e4(0x38e)](){var _0x4c2195=_0x1bf9e4;this['_collaborationTimeoutTimer']&&(clearTimeout(this[_0x4c2195(0x3a8)]),this[_0x4c2195(0x3a8)]=null);}['_startTelemetryCollaborationNewChangeset'](_0x2ad81f){var _0x35d2b6=_0x1bf9e4;if(!this[_0x35d2b6(0x464)])return;const {data:_0xaa1fd4}=_0x2ad81f,{unitID:_0x40da5e,changeset:_0x4bda81}=_0xaa1fd4,{mutations:_0x313f3a,type:_0x1f54b7}=_0x4bda81;this[_0x35d2b6(0x3fd)]={'unitId':_0x40da5e,'type':_0x1f54b7,'startTime':performance[_0x35d2b6(0x2c9)](),'stopTime':0x0,'duration':0x0,'size':ks(_0x313f3a)};}[_0x1bf9e4(0x198)](){var _0x173f8c=_0x1bf9e4;if(this[_0x173f8c(0x464)]){if(!this['_telemetryInfo']){this[_0x173f8c(0x254)][_0x173f8c(0x197)](_0x173f8c(0x38d),_0x173f8c(0x2a2));return;}this[_0x173f8c(0x3fd)][_0x173f8c(0x41d)]=performance[_0x173f8c(0x2c9)](),this['_telemetryInfo']['duration']=this[_0x173f8c(0x3fd)]['stopTime']-this[_0x173f8c(0x3fd)][_0x173f8c(0x3b6)],this[_0x173f8c(0x426)][_0x173f8c(0x353)](xs,this[_0x173f8c(0x3fd)]),this[_0x173f8c(0x3fd)]=null;}}['_throwTelemetryCollaborationNewChangeset'](){var _0x4381eb=_0x1bf9e4;this[_0x4381eb(0x3fd)]=null;}};gt=Fs([pe(0x2,_0x4020c),pe(0x3,_0x2711b7),pe(0x4,_0x1eb2b7(_0x5855e2)),pe(0x5,_0x1eb2b7(Pe)),pe(0x6,_0x1eb2b7(Si)),pe(0x7,_0x1eb2b7(ve)),pe(0x8,_0x471747(_0x4c8905))],gt);var Vs=Object[_0x1bf9e4(0x241)],Gs=(_0x3a50a7,_0x52b586,_0x908773,_0x4d45b0)=>{var _0x30e84d=_0x1bf9e4;for(var _0x1a54a6=_0x4d45b0>0x1?void 0x0:_0x4d45b0?Vs(_0x52b586,_0x908773):_0x52b586,_0x1c146b=_0x3a50a7[_0x30e84d(0x2fd)]-0x1,_0x243fbc;_0x1c146b>=0x0;_0x1c146b--)(_0x243fbc=_0x3a50a7[_0x1c146b])&&(_0x1a54a6=_0x243fbc(_0x1a54a6)||_0x1a54a6);return _0x1a54a6;},Re=(_0x400199,_0x52f80e)=>(_0x343065,_0x4b1f93)=>_0x52f80e(_0x343065,_0x4b1f93,_0x400199);let Le=class extends _0x16428c{constructor(_0x508bdb,_0x4eab5f,_0xd80561,_0x4e53f7,_0x23d45e,_0x5aefc6){var _0x33f488=_0x1bf9e4;super(),N(this,'_socket$',new _0x320cd9(void 0x0)),N(this,_0x33f488(0x230),this[_0x33f488(0x362)][_0x33f488(0x332)]()),N(this,_0x33f488(0x1fb),null),N(this,_0x33f488(0x3fe),new Map()),N(this,_0x33f488(0x2d2),new _0x320cd9(Se[_0x33f488(0x3a3)])),N(this,_0x33f488(0x303),this['_status$'][_0x33f488(0x332)]()),N(this,_0x33f488(0x1eb),!0x1),N(this,_0x33f488(0x44a)),N(this,'_retryCount',0x0),N(this,_0x33f488(0x372)),N(this,_0x33f488(0x2f8)),(this[_0x33f488(0x2b7)]=_0x508bdb,this[_0x33f488(0x254)]=_0x4eab5f,this[_0x33f488(0x1f9)]=_0xd80561,this[_0x33f488(0x37f)]=_0x4e53f7,this['_collaborationUIEventService']=_0x23d45e,this[_0x33f488(0x3ee)]=_0x5aefc6,this[_0x33f488(0x445)]());}get[_0x1bf9e4(0x309)](){var _0x1e83a9=_0x1bf9e4;return this[_0x1e83a9(0x362)][_0x1e83a9(0x377)]();}['_listenToNetworkCondition'](){var _0x454799=_0x1bf9e4;this[_0x454799(0x3ee)]&&this['disposeWithMe'](this['_networkConditionService'][_0x454799(0x1ad)][_0x454799(0x262)](_0x1ddf37=>{var _0x2a0898=_0x454799;_0x1ddf37&&!this['_socket']&&this['reconnect'](),_0x1ddf37||this[_0x2a0898(0x292)]();}));}[_0x1bf9e4(0x336)](){var _0x59ca08=_0x1bf9e4;super[_0x59ca08(0x336)](),this[_0x59ca08(0x35e)](),this['_clearTimeoutTimer'](),this[_0x59ca08(0x421)](),this[_0x59ca08(0x3fe)][_0x59ca08(0x33a)](_0x4bf8cd=>_0x4bf8cd[_0x59ca08(0x336)]()),this['_sessions']['clear'](),this['_status$'][_0x59ca08(0x246)]();}async[_0x1bf9e4(0x2d8)](_0x545ee0){var _0x293367=_0x1bf9e4;if(this[_0x293367(0x3fe)][_0x293367(0x429)](_0x545ee0))return this[_0x293367(0x3fe)]['get'](_0x545ee0);this[_0x293367(0x252)]();const _0x342843=this[_0x293367(0x2b7)][_0x293367(0x427)](gt,_0x545ee0,this[_0x293367(0x362)]['asObservable']());return this['_sessions'][_0x293367(0x1f3)](_0x545ee0,_0x342843),_0x342843;}[_0x1bf9e4(0x322)](_0x27dfe3){var _0x43fdf8=_0x1bf9e4,_0x32089a;const _0x12b798=this['_sessions'][_0x43fdf8(0x27c)](_0x27dfe3);_0x12b798&&(this[_0x43fdf8(0x3fe)][_0x43fdf8(0x3ea)](_0x27dfe3),_0x12b798[_0x43fdf8(0x40b)]()),this[_0x43fdf8(0x3fe)][_0x43fdf8(0x291)]||(_0x32089a=this[_0x43fdf8(0x309)])==null||_0x32089a['close']();}[_0x1bf9e4(0x41b)](){var _0x179a94=_0x1bf9e4;this[_0x179a94(0x2f5)]=0x0,this[_0x179a94(0x35e)](),this[_0x179a94(0x28a)]();}['_clearRetryConnectingTimer'](){var _0x199b39=_0x1bf9e4;this['_retryConnectingTimer']!=null&&(clearTimeout(this[_0x199b39(0x44a)]),this[_0x199b39(0x44a)]=null);}async[_0x1bf9e4(0x1ac)](){var _0x2c6d32=_0x1bf9e4,_0x2b0b1c,_0x2e3ed5;const _0x1b5922=this[_0x2c6d32(0x1f9)][_0x2c6d32(0x17d)](gs),_0x1d51f5=this['_configService'][_0x2c6d32(0x17d)](K),_0x1b9855=(_0x2e3ed5=(_0x2b0b1c=_0x1d51f5==null?void 0x0:_0x1d51f5[_0x2c6d32(0x226)])!=null?_0x2b0b1c:_0x1b5922)!=null?_0x2e3ed5:Ss,_0x128b56=await this[_0x2c6d32(0x37f)][_0x2c6d32(0x259)](_0x1b9855);return this[_0x2c6d32(0x1fb)]=_0x128b56,_0x128b56;}async[_0x1bf9e4(0x252)](){var _0x48aae2=_0x1bf9e4,_0x2e984b,_0x183d38;try{const _0x60d6c3=(_0x183d38=(_0x2e984b=this[_0x48aae2(0x309)])!=null?_0x2e984b:this['_candidateSocket'])!=null?_0x183d38:await this[_0x48aae2(0x1ac)]();if(_0x60d6c3){const _0x33d974=_0x60d6c3[_0x48aae2(0x2ba)];_0x60d6c3[_0x48aae2(0x2ba)]=_0x15e910=>(this[_0x48aae2(0x30e)](),_0x33d974[_0x48aae2(0x458)](_0x60d6c3,[_0x15e910])),_0x60d6c3[_0x48aae2(0x46a)][_0x48aae2(0x262)](_0x4602b6=>this[_0x48aae2(0x23a)](_0x60d6c3,_0x4602b6)),_0x60d6c3['error$'][_0x48aae2(0x29b)](_0xde693b(0x1))[_0x48aae2(0x262)](_0x5242b6=>this['_logService'][_0x48aae2(0x197)](_0x48aae2(0x257),_0x5242b6)),_0x60d6c3[_0x48aae2(0x212)][_0x48aae2(0x29b)](_0xde693b(0x1))[_0x48aae2(0x262)](()=>{var _0x42ddb5=_0x48aae2;this[_0x42ddb5(0x40e)](_0x60d6c3);}),_0x60d6c3[_0x48aae2(0x348)][_0x48aae2(0x29b)](_0xde693b(0x1))['subscribe'](_0x523c3c=>{var _0x5f257f=_0x48aae2;this[_0x5f257f(0x254)][_0x5f257f(0x1a6)](_0x5f257f(0x255),_0x5f257f(0x424),_0x523c3c),this[_0x5f257f(0x261)]();});}}catch(_0x29c530){this['_logService'][_0x48aae2(0x197)](_0x29c530),this[_0x48aae2(0x261)]();}}[_0x1bf9e4(0x40e)](_0xb7ce73){var _0x5376a5=_0x1bf9e4;this[_0x5376a5(0x254)]['debug'](_0x5376a5(0x255),_0x5376a5(0x3ab)),_0xb7ce73[_0x5376a5(0x2ba)]({'cmd':F[_0x5376a5(0x409)]}),this[_0x5376a5(0x30e)]();}['_onOffline'](){var _0xea6e6e=_0x1bf9e4;this[_0xea6e6e(0x1eb)]=!0x1,this[_0xea6e6e(0x1fb)]=null,this[_0xea6e6e(0x2d2)][_0xea6e6e(0x232)](Se['OFFLINE']),this['_socket$'][_0xea6e6e(0x232)](null),this[_0xea6e6e(0x169)](),this[_0xea6e6e(0x421)]();}['_onConnectionFailed'](){var _0x947006=_0x1bf9e4,_0x14b72c;this[_0x947006(0x292)](),this['_retryCount']<((_0x14b72c=this['_configService'][_0x947006(0x17d)](Cs))!=null?_0x14b72c:Rs)?(this[_0x947006(0x203)][_0x947006(0x463)]({'id':ne[_0x947006(0x1b0)]}),this[_0x947006(0x28a)]()):this[_0x947006(0x203)]['emitEvent']({'id':ne[_0x947006(0x3f3)]});}[_0x1bf9e4(0x28a)](){var _0x3b37fe=_0x1bf9e4,_0x32c1cd;const _0x1c0c5c=this[_0x3b37fe(0x2f5)],_0x485eef=this['_configService'][_0x3b37fe(0x17d)](K),_0x3314dc=_0x1c0c5c===0x0?0x0:((_0x32c1cd=_0x485eef==null?void 0x0:_0x485eef[_0x3b37fe(0x420)])!=null?_0x32c1cd:Ts)*0x2**_0x1c0c5c;this['_retryConnectingTimer']=setTimeout(()=>{var _0x444c48=_0x3b37fe;clearTimeout(this[_0x444c48(0x44a)]),this['_retryConnectingTimer']=null,this[_0x444c48(0x252)]();},_0x3314dc),this[_0x3b37fe(0x2f5)]+=0x1;}['_onMessage'](_0x1c5b4e,_0x35a8cf){var _0x3d1cf4=_0x1bf9e4;const {cmd:_0x232957}=_0x35a8cf;_0x232957===F[_0x3d1cf4(0x409)]&&!this[_0x3d1cf4(0x1eb)]&&(_0x1c5b4e[_0x3d1cf4(0x430)]=_0x35a8cf['data'][_0x3d1cf4(0x430)],this[_0x3d1cf4(0x362)][_0x3d1cf4(0x232)](_0x1c5b4e),this[_0x3d1cf4(0x2d2)][_0x3d1cf4(0x232)](Se[_0x3d1cf4(0x402)]),this['_socketReady']=!0x0,this['_candidateSocket']=null),_0x232957===F['HEARTBEAT']&&this[_0x3d1cf4(0x169)](),this[_0x3d1cf4(0x30e)]();}[_0x1bf9e4(0x30e)](){var _0x247f2a=_0x1bf9e4,_0x3e1a33;this[_0x247f2a(0x421)](),this['_sendHeartbeatTimer']=setTimeout(()=>this[_0x247f2a(0x24d)](),(_0x3e1a33=this[_0x247f2a(0x1f9)][_0x247f2a(0x17d)](Es))!=null?_0x3e1a33:Is);}[_0x1bf9e4(0x24d)](){var _0x3ec9ab=_0x1bf9e4;this['_socket'][_0x3ec9ab(0x2ba)]({'cmd':F[_0x3ec9ab(0x3c7)]}),this[_0x3ec9ab(0x30a)]();}[_0x1bf9e4(0x30a)](){var _0x32bff2=_0x1bf9e4,_0xdf75c9;this['_timeoutTimer']=setTimeout(()=>this[_0x32bff2(0x261)](),(_0xdf75c9=this[_0x32bff2(0x1f9)][_0x32bff2(0x17d)](fi))!=null?_0xdf75c9:vi);}['_clearHeartbeatTimer'](){var _0x1c0b4a=_0x1bf9e4;this[_0x1c0b4a(0x372)]!=null&&(clearTimeout(this[_0x1c0b4a(0x372)]),this[_0x1c0b4a(0x372)]=null);}['_clearTimeoutTimer'](){var _0x110b00=_0x1bf9e4;this[_0x110b00(0x2f8)]!=null&&(clearTimeout(this[_0x110b00(0x2f8)]),this[_0x110b00(0x2f8)]=null);}};Le=Gs([Re(0x0,_0x1eb2b7(_0x3ba5a5)),Re(0x1,_0x4020c),Re(0x2,_0x2711b7),Re(0x3,gi),Re(0x4,_0x1eb2b7(ve)),Re(0x5,_0x471747(Us))],Le);const J=_0x1e116d(_0x1bf9e4(0x1fc));function Pr(_0x2b9297){var _0x4362a9=_0x1bf9e4;return _0x4362a9(0x441)+_0x2b9297;}var Ys=Object['getOwnPropertyDescriptor'],Ws=(_0x2f5b8d,_0x556083,_0x1859af,_0x3c620e)=>{var _0x9844bf=_0x1bf9e4;for(var _0x437df8=_0x3c620e>0x1?void 0x0:_0x3c620e?Ys(_0x556083,_0x1859af):_0x556083,_0x50fdfa=_0x2f5b8d[_0x9844bf(0x2fd)]-0x1,_0x21fc3b;_0x50fdfa>=0x0;_0x50fdfa--)(_0x21fc3b=_0x2f5b8d[_0x50fdfa])&&(_0x437df8=_0x21fc3b(_0x437df8)||_0x437df8);return _0x437df8;},ut=(_0x1a1233,_0x57053a)=>(_0x53537b,_0x41a7a3)=>_0x57053a(_0x53537b,_0x41a7a3,_0x1a1233);function Ks(_0x36f7ec){var _0x23f952=_0x1bf9e4;const {unitID:_0x37f394,mutations:_0x35b52a}=_0x36f7ec;return{'unitId':_0x37f394,'subUnitId':_0x35b52a[0x0][_0x23f952(0x194)][_0x23f952(0x344)]};}function _0xcbfd(_0x5bcc85,_0x31537e){var _0x282ac7=_0x282a();return _0xcbfd=function(_0xcbfde4,_0x263f7e){_0xcbfde4=_0xcbfde4-0x15b;var _0xe1d516=_0x282ac7[_0xcbfde4];return _0xe1d516;},_0xcbfd(_0x5bcc85,_0x31537e);}let it=class{constructor(_0x3d10fc,_0x6173ca,_0x5c6b70){var _0x25729c=_0x1bf9e4;this[_0x25729c(0x2b7)]=_0x3d10fc,this[_0x25729c(0x2b3)]=_0x6173ca,this['_instanceService']=_0x5c6b70;}['transformSelections'](_0x57fd65){var _0x11a8db=_0x1bf9e4,_0x2d4ee7,_0x5b6d2e,_0x955de7,_0x383a63;const _0x2f8835=this[_0x11a8db(0x2b7)][_0x11a8db(0x27c)](_0x21249a),{unitId:_0x791ad0,subUnitId:_0x5789b2}=Ks(_0x57fd65),_0x1910c5=_0x2f8835==null?void 0x0:_0x2f8835[_0x11a8db(0x175)](_0x791ad0)[_0x11a8db(0x3de)](),_0x5d153d=(_0x5b6d2e=(_0x2d4ee7=this[_0x11a8db(0x208)][_0x11a8db(0x1a2)](_0x791ad0))==null?void 0x0:_0x2d4ee7[_0x11a8db(0x1a7)]())==null?void 0x0:_0x5b6d2e[_0x11a8db(0x329)]();if(_0x1910c5['length']===0x0||!_0x791ad0||!_0x5789b2)return;const _0x365f14=[{'id':_0x305b77['id'],'params':{'unitId':_0x791ad0,'subUnitId':_0x5d153d,'selections':_0x1e6211[_0x11a8db(0x3cb)](_0x1910c5)}}],_0x51f540=this[_0x11a8db(0x2b3)][_0x11a8db(0x210)](_0x57fd65,_0x365f14);if(!_0x164c96(_0x51f540))throw _0x51f540[_0x11a8db(0x197)];const _0x3622aa=(_0x383a63=(_0x955de7=_0x51f540[_0x11a8db(0x34c)][0x0])==null?void 0x0:_0x955de7[_0x11a8db(0x194)])==null?void 0x0:_0x383a63['selections'];if(Array[_0x11a8db(0x286)](_0x3622aa)&&_0x3622aa['length']){if(_0x3622aa[_0x11a8db(0x2fd)]===_0x365f14[0x0][_0x11a8db(0x194)][_0x11a8db(0x1d9)][_0x11a8db(0x2fd)]&&_0x3622aa['every']((_0x4b16f5,_0x20e3d2)=>_0x58ba93[_0x11a8db(0x316)](_0x4b16f5[_0x11a8db(0x296)],_0x365f14[0x0][_0x11a8db(0x194)][_0x11a8db(0x1d9)][_0x20e3d2][_0x11a8db(0x296)])))return;this[_0x11a8db(0x2b7)][_0x11a8db(0x27c)](_0x163994)[_0x11a8db(0x311)](_0x305b77['id'],{'unitId':_0x791ad0,'subUnitId':_0x5d153d,'selections':_0x3622aa});}}};it=Ws([ut(0x0,_0x1eb2b7(_0x3ba5a5)),ut(0x1,_0xaa4b07),ut(0x2,_0x1dd505)],it);const ht=_0x1e116d(_0x1bf9e4(0x385));var Ei=(_0x243a49=>(_0x243a49[_0x243a49[_0x1bf9e4(0x28f)]=0x0]=_0x1bf9e4(0x28f),_0x243a49[_0x243a49[_0x1bf9e4(0x260)]=0x1]=_0x1bf9e4(0x260),_0x243a49))(Ei||{});const qs=new Set([_0x54cdc3['id']]);function Yt(_0x41c307,_0x5e5f21,_0x4fcf8b,_0x31661e,_0x278cf6){var _0x2817e4=_0x1bf9e4,_0x451079,_0x22a5b3,_0x5e0aa4,_0x197d58;const _0x303709=[];for(const _0x14e6ad of _0x41c307)if(qs[_0x2817e4(0x429)](_0x14e6ad['id'])){if(_0x303709['length']>0x0)break;_0x303709['push'](_0x14e6ad);break;}else _0x303709[_0x2817e4(0x284)](_0x14e6ad);const _0xcf33d2=(_0x22a5b3=(_0x451079=_0x278cf6['getCurrentUser']())==null?void 0x0:_0x451079[_0x2817e4(0x294)])!=null?_0x22a5b3:_0x2817e4(0x373),_0x140b98=(_0x197d58=(_0x5e0aa4=_0x278cf6[_0x2817e4(0x26c)]())==null?void 0x0:_0x5e0aa4[_0x2817e4(0x430)])!=null?_0x197d58:_0x2817e4(0x373);return{'changeset':{'unitID':_0x5e5f21,'type':_0x2f1f22(_0x4fcf8b['getUnitType'](_0x5e5f21)),'baseRev':_0x31661e['getCurrentRevOfUnit'](_0x5e5f21),'revision':0x0,'userID':_0xcf33d2,'memberID':_0x140b98,'mutations':_0x303709},'pendingMutations':_0x41c307[_0x2817e4(0x1cd)](_0x303709[_0x2817e4(0x2fd)])};}function zs(_0x3cccbb,_0x48c858,_0x5e2409,_0x4e55b1,_0x59c6b6){var _0x42cc5b=_0x1bf9e4,_0x7d555d,_0x4f6a79,_0x3142e6,_0x5d2f1c;const _0x43f8c4=[_0x3cccbb[_0x42cc5b(0x21c)]((_0x26405a,_0x6ea77c)=>{var _0x1d4a60=_0x42cc5b,_0x1d505f;const {id:_0x14a6bc}=_0x26405a,{id:_0x54b812,type:_0x42d63e}=_0x6ea77c,_0x28a889=(_0x1d505f=_0x26405a[_0x1d4a60(0x194)])!=null?_0x1d505f:{'actions':null},_0x4953d3=_0x6ea77c[_0x1d4a60(0x194)];if(_0x14a6bc&&_0x14a6bc!==_0x54b812)throw new Error(_0x1d4a60(0x193)+_0x14a6bc+_0x1d4a60(0x326)+_0x54b812+'.');return{..._0x26405a,'id':_0x54b812,'type':_0x42d63e,'params':{'unitId':_0x4953d3[_0x1d4a60(0x26d)],'textRanges':_0x4953d3[_0x1d4a60(0x2f1)],'actions':_0x5703e5[_0x1d4a60(0x21b)](_0x28a889[_0x1d4a60(0x364)],_0x4953d3[_0x1d4a60(0x364)])}};},{})],_0x91c46a=(_0x4f6a79=(_0x7d555d=_0x59c6b6[_0x42cc5b(0x26c)]())==null?void 0x0:_0x7d555d[_0x42cc5b(0x294)])!=null?_0x4f6a79:_0x42cc5b(0x373),_0x40f94a=(_0x5d2f1c=(_0x3142e6=_0x59c6b6[_0x42cc5b(0x26c)]())==null?void 0x0:_0x3142e6['memberID'])!=null?_0x5d2f1c:_0x42cc5b(0x373);return{'changeset':{'unitID':_0x48c858,'type':_0x2f1f22(_0x5e2409['getUnitType'](_0x48c858)),'baseRev':_0x4e55b1[_0x42cc5b(0x216)](_0x48c858),'revision':0x0,'userID':_0x91c46a,'memberID':_0x40f94a,'mutations':_0x43f8c4},'pendingMutations':[]};}function Ii(_0x3e5849,_0x3f45ad){var _0x18fb25=_0x1bf9e4;const _0x105f9b=new _0x2c051e(0x1);return setTimeout(()=>_0x105f9b['next'](_0x3f45ad),_0x3e5849),_0x105f9b[_0x18fb25(0x332)]()[_0x18fb25(0x29b)](_0x19b6b3(0x1));}const Js={'id':_0x44180c['id'],'type':_0x4b8a53['MUTATION'],'params':{}};var Xs=Object[_0x1bf9e4(0x241)],Ie=(_0x21fbf2,_0x137879,_0x33690d,_0x44a1ff)=>{for(var _0x304a5f=_0x44a1ff>0x1?void 0x0:_0x44a1ff?Xs(_0x137879,_0x33690d):_0x137879,_0x40cfd7=_0x21fbf2['length']-0x1,_0x2bfcc6;_0x40cfd7>=0x0;_0x40cfd7--)(_0x2bfcc6=_0x21fbf2[_0x40cfd7])&&(_0x304a5f=_0x2bfcc6(_0x304a5f)||_0x304a5f);return _0x304a5f;},P=(_0x4bcc22,_0x6809a5)=>(_0x1d77d5,_0x3edeee)=>_0x6809a5(_0x1d77d5,_0x3edeee,_0x4bcc22),Ti=(_0x443223=>(_0x443223['NOT_COLLAB']='not_collab',_0x443223[_0x1bf9e4(0x206)]=_0x1bf9e4(0x187),_0x443223['PENDING']='pending',_0x443223[_0x1bf9e4(0x422)]='awaiting',_0x443223[_0x1bf9e4(0x3dd)]=_0x1bf9e4(0x2e6),_0x443223[_0x1bf9e4(0x442)]=_0x1bf9e4(0x224),_0x443223[_0x1bf9e4(0x45b)]=_0x1bf9e4(0x40d),_0x443223[_0x1bf9e4(0x342)]=_0x1bf9e4(0x42f),_0x443223))(Ti||{});const Ci=0xea60;class Te{constructor(_0x156a30,_0x2b9bfc,_0x200528,_0x2c434e,_0x44f8f5,_0x2f7be2,_0x250364,_0x31c5f0,_0x468822){var _0x20a8a5=_0x1bf9e4;N(this,_0x20a8a5(0x41a),null),N(this,_0x20a8a5(0x32d),[]),(this[_0x20a8a5(0x3fa)]=_0x156a30,this['type']=_0x2b9bfc,this[_0x20a8a5(0x3d3)]=_0x44f8f5,this['_commandService']=_0x2f7be2,this['_undoRedoService']=_0x250364,this[_0x20a8a5(0x1ef)]=_0x31c5f0,this[_0x20a8a5(0x2c0)]=_0x468822,this[_0x20a8a5(0x41a)]=_0x200528,this[_0x20a8a5(0x32d)]=_0x2c434e);}['_checkMissing'](_0x44da3e){var _0x2df001=_0x1bf9e4;const _0x1dbbb8=this[_0x2df001(0x1ef)][_0x2df001(0x216)](this[_0x2df001(0x3fa)]);return _0x44da3e[_0x2df001(0x1c0)]>_0x1dbbb8+0x1?(this[_0x2df001(0x3d3)][_0x2df001(0x2f6)]({'from':_0x1dbbb8,'to':_0x44da3e[_0x2df001(0x1c0)]-0x1}),!0x0):!0x1;}[_0x1bf9e4(0x3a4)](_0x55caf2){var _0x52d667=_0x1bf9e4;this[_0x52d667(0x1ff)]['transformUndoRedo'](this['unitID'],_0x55caf2);}['_transformSelections'](_0x2d361f){var _0x2e2776=_0x1bf9e4,_0x209bb3,_0x3d1887;(_0x3d1887=(_0x209bb3=this[_0x2e2776(0x3d3)])[_0x2e2776(0x225)])==null||_0x3d1887[_0x2e2776(0x1a9)](_0x209bb3,_0x2d361f);}[_0x1bf9e4(0x3a1)](_0x28e90b){var _0xf9742c=_0x1bf9e4,_0x378932,_0xe4f8f8;return(_0xe4f8f8=(_0x378932=this[_0xf9742c(0x3d3)])['onTransformIME'])==null?void 0x0:_0xe4f8f8[_0xf9742c(0x1a9)](_0x378932,_0x28e90b);}[_0x1bf9e4(0x369)](_0x12bd58){var _0x27ad22=_0x1bf9e4,_0x32eb75,_0x1f68e0;return(_0x1f68e0=(_0x32eb75=this[_0x27ad22(0x3d3)])['onTransformState'])==null?void 0x0:_0x1f68e0[_0x27ad22(0x1a9)](_0x32eb75,_0x12bd58);}[_0x1bf9e4(0x3f9)](_0x10985b){var _0x18b36e=_0x1bf9e4,_0x334040,_0x501f3a,_0xd139f9;return(_0xd139f9=(_0x501f3a=(_0x334040=this[_0x18b36e(0x3d3)])[_0x18b36e(0x386)])==null?void 0x0:_0x501f3a[_0x18b36e(0x1a9)](_0x334040,_0x10985b))!=null?_0xd139f9:_0x10985b;}[_0x1bf9e4(0x354)](_0x3fe9fe){var _0x258a67=_0x1bf9e4,_0x338339,_0x2ea9e3,_0xd3c29a;return(_0xd3c29a=(_0x2ea9e3=(_0x338339=this['_handler'])[_0x258a67(0x248)])==null?void 0x0:_0x2ea9e3[_0x258a67(0x1a9)](_0x338339,_0x3fe9fe))!=null?_0xd3c29a:_0x3fe9fe;}[_0x1bf9e4(0x304)](_0x16c730){var _0x35ae65=_0x1bf9e4,_0x24704c,_0x3e1594;if(this[_0x35ae65(0x17c)]===Z[_0x35ae65(0x18d)]){const {unitID:_0x24e021,mutations:_0x14c532,memberID:_0x1a7cca}=_0x16c730,_0x90a3f2=_0x14c532[0x0]['params'][_0x35ae65(0x2f1)];Array[_0x35ae65(0x286)](_0x90a3f2)&&_0x90a3f2[_0x35ae65(0x2fd)]>0x0&&((_0x3e1594=(_0x24704c=this[_0x35ae65(0x3d3)])['onSyncEditingCollabCursor'])==null||_0x3e1594[_0x35ae65(0x1a9)](_0x24704c,{'unitID':_0x24e021,'memberID':_0x1a7cca,'textRanges':_0x90a3f2}));}}[_0x1bf9e4(0x1b2)](){var _0x3b0135=_0x1bf9e4,_0x15da81;(_0x15da81=this['_localCacheService'])==null||_0x15da81[_0x3b0135(0x30d)](this[_0x3b0135(0x3fa)],this[_0x3b0135(0x17c)],this[_0x3b0135(0x41a)],this[_0x3b0135(0x32d)]);}['_getCurrentRevision'](){var _0x5bde62=_0x1bf9e4;return this['_revisionService'][_0x5bde62(0x216)](this[_0x5bde62(0x3fa)]);}[_0x1bf9e4(0x390)](){var _0x274513=_0x1bf9e4;this[_0x274513(0x1ef)][_0x274513(0x3f6)](this['unitID']);}[_0x1bf9e4(0x39f)](_0x5d8dcd){var _0x557d31=_0x1bf9e4,_0x23ab08;let _0x3e4113=this[_0x557d31(0x3f9)](_0x5d8dcd);_0x3e4113=this[_0x557d31(0x354)](_0x3e4113);const _0x1569e9=_0x5569a9(_0x3e4113['mutations'],this[_0x557d31(0x2ad)],{'fromCollab':!0x0});if(!_0x1569e9[_0x557d31(0x339)])throw _0x1569e9[_0x557d31(0x197)]instanceof Error?_0x1569e9[_0x557d31(0x197)]:new Error((_0x23ab08=_0x1569e9[_0x557d31(0x197)])!=null?_0x23ab08:_0x557d31(0x222));this['_transformIMECache'](_0x3e4113),this[_0x557d31(0x369)](_0x3e4113),this[_0x557d31(0x3a4)](_0x5d8dcd),this[_0x557d31(0x337)](_0x3e4113),this[_0x557d31(0x304)](_0x3e4113),this[_0x557d31(0x390)]();}}let ye=class extends Te{constructor(_0xe12cba,_0x22de1e,_0x3f8d2c,_0x168f06,_0x483cfe,_0x3f4d9f,_0x1ca43e,_0xde6d1f,_0x5cb8eb,_0x252410){var _0x1fa7dd=_0x1bf9e4;super(_0xe12cba,_0x22de1e,null,[],_0x3f8d2c,_0x1ca43e,_0x3f4d9f,_0x168f06,_0x252410),N(this,'status','synced'),(this[_0x1fa7dd(0x2b7)]=_0x483cfe,this['_logService']=_0xde6d1f,this['_transformService']=_0x5cb8eb,this['localCacheService']=_0x252410);}['appendMutation'](_0x356cc6){var _0x513de5=_0x1bf9e4;const _0x52f8a4=this[_0x513de5(0x2b7)][_0x513de5(0x427)](re,this[_0x513de5(0x3fa)],this['type'],[_0x356cc6],this['_handler']);return _0x52f8a4['_schedule'](),_0x52f8a4[_0x513de5(0x1b2)](),_0x52f8a4;}['onRemoteChangeset'](_0x4042f8){var _0x47872e=_0x1bf9e4;if(this[_0x47872e(0x2f3)](_0x4042f8))return this[_0x47872e(0x2b7)][_0x47872e(0x427)](Q,this[_0x47872e(0x3fa)],this[_0x47872e(0x17c)],null,[],null,[_0x4042f8],this[_0x47872e(0x3d3)]);try{const _0x252ef1=this[_0x47872e(0x2b3)][_0x47872e(0x210)](_0x4042f8,[Js]);if(_0x164c96(_0x252ef1)){const {c1Prime:_0x54c5e3}=_0x252ef1;return this[_0x47872e(0x39f)](_0x54c5e3),this;}throw _0x252ef1[_0x47872e(0x197)];}catch(_0x4b45d5){return this['_logService'][_0x47872e(0x197)](_0x4b45d5),this[_0x47872e(0x3f4)](!0x1);}}[_0x1bf9e4(0x3f4)](_0x2c7a3b){var _0x17c0d0=_0x1bf9e4;return this[_0x17c0d0(0x2b7)][_0x17c0d0(0x427)](le,this[_0x17c0d0(0x3fa)],this['type'],null,[],this[_0x17c0d0(0x3d3)],_0x2c7a3b);}[_0x1bf9e4(0x245)](){var _0x42cc1f=_0x1bf9e4;throw new Error(_0x42cc1f(0x2f2));}[_0x1bf9e4(0x346)](){var _0x29314f=_0x1bf9e4;throw new Error(_0x29314f(0x1dc));}[_0x1bf9e4(0x31d)](){return this;}[_0x1bf9e4(0x34f)](){var _0x1b395c=_0x1bf9e4;return this['_injector'][_0x1b395c(0x427)](ue,this[_0x1b395c(0x3fa)],this['type'],null,[],this[_0x1b395c(0x3d3)]);}['toggleOnline'](){return this;}[_0x1bf9e4(0x1e2)](){var _0xa2c595=_0x1bf9e4;throw new Error(_0xa2c595(0x1e9));}[_0x1bf9e4(0x42e)](){var _0x10f891=_0x1bf9e4;const _0x3f507a=this[_0x10f891(0x1ef)]['getCurrentRevOfUnit'](this[_0x10f891(0x3fa)]);return this[_0x10f891(0x3d3)][_0x10f891(0x2f6)]({'from':_0x3f507a,'to':0x0}),this['_injector']['createInstance'](Q,this[_0x10f891(0x3fa)],this['type'],null,[],null,[],this[_0x10f891(0x3d3)]);}};ye=Ie([P(0x3,_0x1eb2b7(_0x3169f6)),P(0x4,_0x1eb2b7(_0x3ba5a5)),P(0x5,_0x3aa1c3),P(0x6,_0x163994),P(0x7,_0x4020c),P(0x8,_0xaa4b07),P(0x9,_0x471747(J))],ye);let re=class extends Te{constructor(_0x4f6d7a,_0x1542b2,_0x40ee3e,_0x39132a,_0x42376a,_0x4d45a3,_0x3f8fd5,_0x47d6ea,_0x5f2008,_0x25b3ee,_0x681886,_0x547868,_0x4cee96,_0x2dc6c0){var _0x7989e7=_0x1bf9e4;super(_0x4f6d7a,_0x1542b2,null,_0x40ee3e,_0x39132a,_0x5f2008,_0x4cee96,_0x4d45a3,_0x2dc6c0),N(this,_0x7989e7(0x412),'pending'),N(this,_0x7989e7(0x26f),null),N(this,_0x7989e7(0x2b9),null),(this['_injector']=_0x42376a,this[_0x7989e7(0x228)]=_0x3f8fd5,this[_0x7989e7(0x254)]=_0x47d6ea,this[_0x7989e7(0x1f9)]=_0x25b3ee,this[_0x7989e7(0x2b3)]=_0x681886,this[_0x7989e7(0x432)]=_0x547868);}[_0x1bf9e4(0x3f7)](_0x2ccbdb){var _0x518baf=_0x1bf9e4;return this[_0x518baf(0x32d)][_0x518baf(0x284)](_0x2ccbdb),this['_updateLocalCache'](),this;}[_0x1bf9e4(0x435)](_0x2f6d8c){var _0x354f8a=_0x1bf9e4;if(this['_checkMissing'](_0x2f6d8c))return this['_clearScheduledTask'](),this[_0x354f8a(0x2b7)][_0x354f8a(0x427)](Q,this[_0x354f8a(0x3fa)],this['type'],null,this[_0x354f8a(0x32d)],null,[_0x2f6d8c],this[_0x354f8a(0x3d3)]);try{const _0x2fc13d=this[_0x354f8a(0x2b3)]['transformMutationsWithChangeset'](_0x2f6d8c,this['_pendingMutations']);if(_0x164c96(_0x2fc13d)){const {c1Prime:_0x1391c8,m2Prime:_0x169ba0}=_0x2fc13d;this['_executeRemoteChangeset'](_0x1391c8);const _0x3745d2=this[_0x354f8a(0x2b7)][_0x354f8a(0x427)](re,this['unitID'],this['type'],_0x169ba0,this[_0x354f8a(0x3d3)]);this[_0x354f8a(0x1bb)]();const _0x23a373=new Date()['getTime'](),_0x5bcc1d=this[_0x354f8a(0x26f)]?Math[_0x354f8a(0x196)](this['_scheduleCompleteTimestamp']-_0x23a373,0x0):this[_0x354f8a(0x1aa)]();return _0x3745d2['_schedule'](_0x5bcc1d),_0x3745d2;}throw _0x2fc13d['error'];}catch(_0x69e8c4){return this[_0x354f8a(0x254)]['error'](_0x69e8c4),this[_0x354f8a(0x3f4)](!0x1);}}[_0x1bf9e4(0x245)](){throw new Error('[PendingState]:\x20received\x20acknowledgement.');}['onRemoteRej'](){var _0x7ad0b0=_0x1bf9e4;throw new Error(_0x7ad0b0(0x2cc));}[_0x1bf9e4(0x31d)](){return this;}['toggleOffline'](){var _0x45969b=_0x1bf9e4;return this[_0x45969b(0x1bb)](),this['_injector']['createInstance'](ue,this['unitID'],this[_0x45969b(0x17c)],null,this[_0x45969b(0x32d)],this[_0x45969b(0x3d3)]);}['toggleOnline'](){return this;}['_schedule'](_0xc99b3d){var _0x3a0c8b=_0x1bf9e4;const _0x87c112=_0xc99b3d!=null?_0xc99b3d:this[_0x3a0c8b(0x1aa)]();this[_0x3a0c8b(0x26f)]=new Date()[_0x3a0c8b(0x1b6)]()+_0x87c112,this[_0x3a0c8b(0x2b9)]=setTimeout(()=>{var _0x31cd79=_0x3a0c8b;this['_clearScheduledTask']();let _0x262ba1=null;switch(this[_0x31cd79(0x17c)]){case Z[_0x31cd79(0x1ec)]:{_0x262ba1=Yt(this[_0x31cd79(0x32d)],this[_0x31cd79(0x3fa)],this[_0x31cd79(0x432)],this[_0x31cd79(0x1ef)],this[_0x31cd79(0x228)]);break;}case Z['UNIVER_DOC']:{this[_0x31cd79(0x32d)][_0x31cd79(0x269)](_0x7790e9=>_0x7790e9['id']===_0x5d5737['id'])?_0x262ba1=zs(this['_pendingMutations'],this[_0x31cd79(0x3fa)],this[_0x31cd79(0x432)],this['_revisionService'],this[_0x31cd79(0x228)]):_0x262ba1=Yt(this['_pendingMutations'],this['unitID'],this['_univerInstanceService'],this[_0x31cd79(0x1ef)],this[_0x31cd79(0x228)]);break;}default:throw new Error(_0x31cd79(0x2d5)+this[_0x31cd79(0x17c)]+'\x20in\x20_schedule.');}const {changeset:_0x511c3a,pendingMutations:_0x54f2fe}=_0x262ba1;this[_0x31cd79(0x3d3)]['onSendChangeset'](_0x511c3a);const _0x144383=_0x54f2fe[_0x31cd79(0x2fd)]?this[_0x31cd79(0x2b7)][_0x31cd79(0x427)](ae,this['unitID'],this['type'],_0x511c3a,_0x54f2fe,this[_0x31cd79(0x3d3)],void 0x0):this[_0x31cd79(0x2b7)][_0x31cd79(0x427)](_e,this['unitID'],this['type'],_0x511c3a,this[_0x31cd79(0x3d3)]);_0x144383['_updateLocalCache'](),this['_handler'][_0x31cd79(0x1af)](this,_0x144383);},_0x87c112);}['_getSendChangesetTimeout'](){var _0x59fcbd=_0x1bf9e4,_0x23601d;const _0x4b69d5=this[_0x59fcbd(0x1f9)][_0x59fcbd(0x17d)](K);return(_0x23601d=_0x4b69d5==null?void 0x0:_0x4b69d5[_0x59fcbd(0x419)])!=null?_0x23601d:ms;}[_0x1bf9e4(0x1e2)](){var _0x23aff0=_0x1bf9e4;throw new Error(_0x23aff0(0x26b));}[_0x1bf9e4(0x1bb)](){var _0x5cc359=_0x1bf9e4;this[_0x5cc359(0x2b9)]!=null&&(clearTimeout(this[_0x5cc359(0x2b9)]),this[_0x5cc359(0x2b9)]=null);}[_0x1bf9e4(0x3f4)](_0x2cc459){var _0x2963d9=_0x1bf9e4;return this[_0x2963d9(0x1bb)](),this[_0x2963d9(0x2b7)][_0x2963d9(0x427)](le,this['unitID'],this[_0x2963d9(0x17c)],null,this['_pendingMutations'],this[_0x2963d9(0x3d3)],_0x2cc459);}};re=Ie([P(0x4,_0x1eb2b7(_0x3ba5a5)),P(0x5,_0x1eb2b7(_0x3169f6)),P(0x6,_0x1eb2b7(Pe)),P(0x7,_0x4020c),P(0x8,_0x163994),P(0x9,_0x2711b7),P(0xa,_0xaa4b07),P(0xb,_0x1dd505),P(0xc,_0x3aa1c3),P(0xd,_0x471747(J))],re);let _e=class extends Te{constructor(_0x481041,_0x3c080c,_0x59ae69,_0x542623,_0x417dff,_0x147c6a,_0x47dc95,_0x2bd7c2,_0x19b20f,_0x2551e5,_0x17d4ff){var _0x4d3c1d=_0x1bf9e4;super(_0x481041,_0x3c080c,_0x59ae69,[],_0x542623,_0x47dc95,_0x2551e5,_0x147c6a,_0x17d4ff),N(this,_0x4d3c1d(0x412),'awaiting'),N(this,_0x4d3c1d(0x173),0x0),N(this,_0x4d3c1d(0x18f)),N(this,_0x4d3c1d(0x2c1)),(this[_0x4d3c1d(0x2b7)]=_0x417dff,this[_0x4d3c1d(0x254)]=_0x2bd7c2,this[_0x4d3c1d(0x2b3)]=_0x19b20f);}['appendMutation'](_0x3832fd){var _0x5b1882=_0x1bf9e4;this[_0x5b1882(0x1bb)]();const _0x4416b5=this[_0x5b1882(0x2b7)][_0x5b1882(0x427)](ae,this['unitID'],this[_0x5b1882(0x17c)],this[_0x5b1882(0x41a)],[_0x3832fd],this[_0x5b1882(0x3d3)],this['_resendTimer']);return _0x4416b5['_updateLocalCache'](),_0x4416b5;}['onRemoteChangeset'](_0x386f9b){var _0x152acb=_0x1bf9e4;if(this[_0x152acb(0x2f3)](_0x386f9b))return this['_clearScheduledTask'](),this[_0x152acb(0x2b7)][_0x152acb(0x427)](Q,this['unitID'],this[_0x152acb(0x17c)],this[_0x152acb(0x41a)],[],null,[_0x386f9b],this['_handler']);try{const _0x4eb6ed=this[_0x152acb(0x2b3)]['transformChangesets']([_0x386f9b],[this['_awaitingChangeset']],!0x1);if(_0x382369(_0x4eb6ed)){const {c1Prime:_0x25981d,c2Prime:_0x14cda0}=_0x4eb6ed;this[_0x152acb(0x39f)](_0x25981d[0x0]),_0x14cda0[0x0][_0x152acb(0x23b)]=this[_0x152acb(0x1f4)](),this[_0x152acb(0x1bb)]();const _0x341d97=this[_0x152acb(0x2b7)]['createInstance'](_e,this[_0x152acb(0x3fa)],this[_0x152acb(0x17c)],_0x14cda0[0x0],this[_0x152acb(0x3d3)]);return _0x341d97[_0x152acb(0x1b2)](),_0x341d97;}return this[_0x152acb(0x3f4)](!0x1);}catch(_0x48b017){return this[_0x152acb(0x254)][_0x152acb(0x197)](_0x48b017),this['_onConflict'](!0x1);}}[_0x1bf9e4(0x245)](_0x3378a2){var _0x55cf05=_0x1bf9e4;this[_0x55cf05(0x1bb)]();const _0x10b159=this[_0x55cf05(0x1ef)]['getCurrentRevOfUnit'](this[_0x55cf05(0x3fa)]);if(_0x3378a2['revision']<_0x10b159-0x1)return this;if(this['_checkMissing'](_0x3378a2))return this[_0x55cf05(0x2b7)][_0x55cf05(0x427)](Q,this[_0x55cf05(0x3fa)],this['type'],null,[],this[_0x55cf05(0x41a)],[],this[_0x55cf05(0x3d3)]);this[_0x55cf05(0x390)]();const _0x4aa2dd=this[_0x55cf05(0x2b7)][_0x55cf05(0x427)](ye,this[_0x55cf05(0x3fa)],this[_0x55cf05(0x17c)],this[_0x55cf05(0x3d3)]);return _0x4aa2dd[_0x55cf05(0x1b2)](),_0x4aa2dd;}[_0x1bf9e4(0x346)](_0x60b122){var _0x307e45=_0x1bf9e4;return this['_onConflict'](!!(_0x60b122!=null&&_0x60b122[_0x307e45(0x2a1)]));}[_0x1bf9e4(0x31d)](_0x3bf296){var _0x3e08b4=_0x1bf9e4;return this[_0x3e08b4(0x173)]>Ci?this[_0x3e08b4(0x34f)]():(this[_0x3e08b4(0x18f)]=Ii(this[_0x3e08b4(0x173)],{'timeout':this[_0x3e08b4(0x173)],'reqId':_0x3bf296['reqId']}),this['_sender']=this[_0x3e08b4(0x18f)][_0x3e08b4(0x262)](({reqId:_0x38cfac,timeout:_0x17ebc1})=>{var _0x6fc382=_0x3e08b4;this[_0x6fc382(0x2a5)](_0x38cfac,_0x17ebc1);}),this);}[_0x1bf9e4(0x34f)](){var _0x3a9cff=_0x1bf9e4;return this[_0x3a9cff(0x1bb)](),this[_0x3a9cff(0x2b7)][_0x3a9cff(0x427)](ue,this[_0x3a9cff(0x3fa)],this[_0x3a9cff(0x17c)],this['_awaitingChangeset'],[],this[_0x3a9cff(0x3d3)]);}[_0x1bf9e4(0x279)](){return this;}[_0x1bf9e4(0x1e2)](){var _0x5486d3=_0x1bf9e4;this[_0x5486d3(0x3d3)][_0x5486d3(0x38a)](this[_0x5486d3(0x41a)]);}[_0x1bf9e4(0x3f4)](_0x301964){var _0x33650e=_0x1bf9e4;return this[_0x33650e(0x1bb)](),this[_0x33650e(0x2b7)][_0x33650e(0x427)](le,this[_0x33650e(0x3fa)],this[_0x33650e(0x17c)],this['_awaitingChangeset'],[],this['_handler'],_0x301964);}[_0x1bf9e4(0x2a5)](_0x3ca7ce,_0x4f6e31){var _0x1bf745=_0x1bf9e4,_0x165a00;_0x3ca7ce===((_0x165a00=this[_0x1bf745(0x41a)])==null?void 0x0:_0x165a00[_0x1bf745(0x1f8)])&&(this[_0x1bf745(0x1e2)](),this[_0x1bf745(0x173)]=_0x4f6e31===0x0?0x3e8:_0x4f6e31*0x2);}[_0x1bf9e4(0x1bb)](){var _0x57d61f=_0x1bf9e4,_0x315d6d;(_0x315d6d=this[_0x57d61f(0x2c1)])==null||_0x315d6d[_0x57d61f(0x2e1)](),this[_0x57d61f(0x173)]=0x0;}};_e=Ie([P(0x4,_0x1eb2b7(_0x3ba5a5)),P(0x5,_0x1eb2b7(_0x3169f6)),P(0x6,_0x163994),P(0x7,_0x4020c),P(0x8,_0xaa4b07),P(0x9,_0x3aa1c3),P(0xa,_0x471747(J))],_e);let ae=class extends Te{constructor(_0x1cdeda,_0x41a42a,_0x120c0c,_0x41b4cc,_0x10dad9,_0x4a95b5,_0x31a3df,_0x3da7ac,_0x7af350,_0x7dba86,_0xce256a,_0xabe2a6,_0x2dc27d){var _0x2423a1=_0x1bf9e4;super(_0x1cdeda,_0x41a42a,_0x120c0c,_0x41b4cc,_0x10dad9,_0x7af350,_0xabe2a6,_0x3da7ac,_0x2dc27d),N(this,_0x2423a1(0x412),_0x2423a1(0x2e6)),N(this,_0x2423a1(0x173),0x0),N(this,_0x2423a1(0x18f)),N(this,_0x2423a1(0x2c1)),(this[_0x2423a1(0x2b7)]=_0x31a3df,this[_0x2423a1(0x254)]=_0x7dba86,this[_0x2423a1(0x2b3)]=_0xce256a,this['localCacheService']=_0x2dc27d,_0x4a95b5&&(this[_0x2423a1(0x18f)]=_0x4a95b5,this[_0x2423a1(0x2c1)]=this[_0x2423a1(0x18f)][_0x2423a1(0x262)](({reqId:_0x285bd2,timeout:_0x1688ae})=>{this['_resendWithTimeout'](_0x285bd2,_0x1688ae);})));}[_0x1bf9e4(0x3f7)](_0x3b8317){var _0x269c4c=_0x1bf9e4;return this[_0x269c4c(0x32d)][_0x269c4c(0x284)](_0x3b8317),this;}[_0x1bf9e4(0x435)](_0x408e0b){var _0x39536d=_0x1bf9e4;if(this[_0x39536d(0x2f3)](_0x408e0b))return this['_clearScheduledTask'](),this['_injector'][_0x39536d(0x427)](Q,this[_0x39536d(0x3fa)],this['type'],this[_0x39536d(0x41a)],this[_0x39536d(0x32d)],null,[_0x408e0b],this[_0x39536d(0x3d3)]);try{const _0xa92da9=this['_transformService'][_0x39536d(0x20e)]([_0x408e0b],[this[_0x39536d(0x41a)]],!0x1);if(_0x382369(_0xa92da9)){const {c1Prime:_0x2f4da9,c2Prime:_0x151448}=_0xa92da9,_0x1ee2a3=this[_0x39536d(0x2b3)]['transformMutationsWithChangeset'](_0x2f4da9[0x0],this['_pendingMutations']);if(_0x164c96(_0x1ee2a3)){const {c1Prime:_0x211632,m2Prime:_0x6b7b7b}=_0x1ee2a3;return this[_0x39536d(0x39f)](_0x211632),_0x151448[0x0][_0x39536d(0x23b)]=this['_getCurrentRevision'](),this[_0x39536d(0x1bb)](),this[_0x39536d(0x2b7)][_0x39536d(0x427)](ae,this[_0x39536d(0x3fa)],this[_0x39536d(0x17c)],_0x151448[0x0],_0x6b7b7b,this[_0x39536d(0x3d3)],void 0x0);}throw _0x1ee2a3[_0x39536d(0x197)];}throw _0xa92da9['error'];}catch(_0x348072){return this['_logService'][_0x39536d(0x197)](_0x348072),this[_0x39536d(0x3f4)](!0x1);}}['onRemoteAck'](_0x2759c7){var _0x3fc581=_0x1bf9e4;if(this[_0x3fc581(0x1bb)](),this[_0x3fc581(0x2f3)](_0x2759c7))return this[_0x3fc581(0x2b7)][_0x3fc581(0x427)](Q,this[_0x3fc581(0x3fa)],this[_0x3fc581(0x17c)],null,this['_pendingMutations'],this[_0x3fc581(0x41a)],[],this['_handler']);this['_incrementRevisionNumber']();const _0x2911e5=this[_0x3fc581(0x2b7)][_0x3fc581(0x427)](re,this[_0x3fc581(0x3fa)],this[_0x3fc581(0x17c)],this['_pendingMutations'],this['_handler']);return _0x2911e5['_schedule'](),_0x2911e5[_0x3fc581(0x1b2)](),_0x2911e5;}['onRemoteRej'](_0x1c00b9){return this['_onConflict'](!!(_0x1c00b9!=null&&_0x1c00b9['isPermissionRej']));}['onRemoteRetry'](_0x32f0a8){var _0xed1eb8=_0x1bf9e4;return this['_resendTimeout']>Ci?this[_0xed1eb8(0x34f)]():(this['_resendTimer']=Ii(this[_0xed1eb8(0x173)],{'timeout':this[_0xed1eb8(0x173)],'reqId':_0x32f0a8[_0xed1eb8(0x1f8)]}),this[_0xed1eb8(0x2c1)]=this[_0xed1eb8(0x18f)][_0xed1eb8(0x262)](({reqId:_0x2256bc,timeout:_0x3e0922})=>{var _0x130f4b=_0xed1eb8;this[_0x130f4b(0x2a5)](_0x2256bc,_0x3e0922);}),this);}[_0x1bf9e4(0x34f)](){var _0x559878=_0x1bf9e4;return this['_clearScheduledTask'](),this[_0x559878(0x2b7)]['createInstance'](ue,this['unitID'],this[_0x559878(0x17c)],this[_0x559878(0x41a)],this[_0x559878(0x32d)],this['_handler']);}[_0x1bf9e4(0x279)](){return this;}[_0x1bf9e4(0x1e2)](){var _0x266163=_0x1bf9e4;this[_0x266163(0x3d3)][_0x266163(0x38a)](this[_0x266163(0x41a)]);}[_0x1bf9e4(0x3f4)](_0x2850c6){var _0x3c5643=_0x1bf9e4;return this[_0x3c5643(0x1bb)](),this[_0x3c5643(0x2b7)][_0x3c5643(0x427)](le,this[_0x3c5643(0x3fa)],this['type'],null,this['_pendingMutations'],this['_handler'],_0x2850c6);}['_resendWithTimeout'](_0x5cf7f6,_0x14a37f){var _0x3aead3=_0x1bf9e4,_0x2cdc2a;_0x5cf7f6===((_0x2cdc2a=this[_0x3aead3(0x41a)])==null?void 0x0:_0x2cdc2a[_0x3aead3(0x1f8)])&&(this[_0x3aead3(0x1e2)](),this['_resendTimeout']=_0x14a37f===0x0?0x3e8:_0x14a37f*0x2);}[_0x1bf9e4(0x1bb)](){var _0x1743ff=_0x1bf9e4,_0x272e6b;(_0x272e6b=this['_sender'])==null||_0x272e6b[_0x1743ff(0x2e1)](),this['_resendTimeout']=0x0;}};ae=Ie([P(0x6,_0x1eb2b7(_0x3ba5a5)),P(0x7,_0x1eb2b7(_0x3169f6)),P(0x8,_0x163994),P(0x9,_0x4020c),P(0xa,_0xaa4b07),P(0xb,_0x3aa1c3),P(0xc,_0x471747(J))],ae);let le=class extends Te{constructor(_0x4a0e19,_0xc16e3b,_0x20d444,_0x411a84,_0x305316,_0x52873a=!0x1,_0x5ae673,_0x36b822,_0x44b8aa,_0x26c783,_0x329b9d,_0x1432e8,_0x124504){var _0x351647=_0x1bf9e4;super(_0x4a0e19,_0xc16e3b,_0x20d444,_0x411a84,_0x305316,_0x36b822,_0x44b8aa,_0x26c783,_0x124504),N(this,_0x351647(0x412),_0x351647(0x40d)),(this[_0x351647(0x217)]=_0x52873a,this[_0x351647(0x26e)]=_0x5ae673,this['_localeService']=_0x329b9d,this['_collaborationUIEventService']=_0x1432e8,this[_0x351647(0x33b)]=_0x124504,this['_showConflictNotification'](),this[_0x351647(0x333)](),this[_0x351647(0x185)]());}[_0x1bf9e4(0x3f7)](){return this;}[_0x1bf9e4(0x435)](){return this;}['onRemoteAck'](){return this;}[_0x1bf9e4(0x346)](){return this;}[_0x1bf9e4(0x31d)](){return this;}[_0x1bf9e4(0x34f)](){return this;}[_0x1bf9e4(0x279)](){return this;}['resend'](){var _0x1ce805=_0x1bf9e4;throw new Error(_0x1ce805(0x2fb));}[_0x1bf9e4(0x333)](){var _0x1a4a1f=_0x1bf9e4,_0x3c615e;(_0x3c615e=this['_localCacheService'])==null||_0x3c615e['updateOfflineData'](this['unitID'],this[_0x1a4a1f(0x17c)],null,[]);}[_0x1bf9e4(0x268)](){var _0x40d625=_0x1bf9e4;this[_0x40d625(0x217)]?this[_0x40d625(0x203)][_0x40d625(0x463)]({'id':ne[_0x40d625(0x411)]}):this[_0x40d625(0x203)][_0x40d625(0x463)]({'id':ne[_0x40d625(0x45b)]});}[_0x1bf9e4(0x185)](){var _0x199fbd=_0x1bf9e4;this[_0x199fbd(0x26e)][_0x199fbd(0x27a)](new _0x158a95(this[_0x199fbd(0x3fa)])['id'],!0x1);}};le=Ie([P(0x6,_0x1eb2b7(_0x4eca75)),P(0x7,_0x163994),P(0x8,_0x3aa1c3),P(0x9,_0x1eb2b7(_0x3169f6)),P(0xa,_0x1eb2b7(_0x5855e2)),P(0xb,_0x1eb2b7(ve)),P(0xc,_0x471747(J))],le);let ue=class extends Te{constructor(_0x5d8175,_0x5aa9b0,_0x1715d3,_0x59f6db,_0x3aa219,_0x49b672,_0x323f,_0x2518e3,_0x58062a,_0x10a23e){var _0x51800b=_0x1bf9e4;super(_0x5d8175,_0x5aa9b0,_0x1715d3,_0x59f6db,_0x3aa219,_0x2518e3,_0x58062a,_0x323f,_0x10a23e),N(this,_0x51800b(0x412),_0x51800b(0x42f)),this[_0x51800b(0x2b7)]=_0x49b672;}[_0x1bf9e4(0x3f7)](_0xd3d1a3){var _0x599ca4=_0x1bf9e4;return this[_0x599ca4(0x32d)][_0x599ca4(0x284)](_0xd3d1a3),this[_0x599ca4(0x1b2)](),this;}[_0x1bf9e4(0x435)](_0x454116){var _0x345598=_0x1bf9e4;throw new Error(_0x345598(0x215));}['onRemoteAck'](){var _0x520e97=_0x1bf9e4;throw new Error(_0x520e97(0x21d));}[_0x1bf9e4(0x346)](){var _0x492514=_0x1bf9e4;throw new Error(_0x492514(0x2d7));}[_0x1bf9e4(0x31d)](){return this;}[_0x1bf9e4(0x34f)](){return this;}[_0x1bf9e4(0x279)](){var _0x5c7a4d=_0x1bf9e4;const {_injector:_0x16df52,_pendingMutations:_0x3cbe51,_awaitingChangeset:_0x5812b7,unitID:_0x5925dd,_handler:_0x3688cc,type:_0x3c2300}=this,_0x20f991=Ri(_0x16df52,_0x5925dd,_0x3c2300,_0x5812b7,_0x3cbe51,_0x3688cc);return _0x20f991 instanceof re?_0x20f991[_0x5c7a4d(0x38c)]():(_0x20f991 instanceof ae||_0x20f991 instanceof _e)&&_0x20f991[_0x5c7a4d(0x1e2)](),_0x20f991;}['resend'](){var _0x152961=_0x1bf9e4;throw new Error(_0x152961(0x265));}};ue=Ie([P(0x5,_0x1eb2b7(_0x3ba5a5)),P(0x6,_0x1eb2b7(_0x3169f6)),P(0x7,_0x163994),P(0x8,_0x3aa1c3),P(0x9,_0x471747(J))],ue);let Q=class extends Te{constructor(_0x4673f2,_0xf4ba13,_0x1be4b4,_0x2483bb,_0x36a20b,_0x129a72,_0x2c405e,_0x4788f9,_0x5bbacf,_0x1b7db7,_0x39e390,_0x1dc1f7,_0x1788d1,_0xc5311){var _0x4babe9=_0x1bf9e4;super(_0x4673f2,_0xf4ba13,_0x1be4b4,_0x2483bb,_0x2c405e,_0x39e390,_0x1dc1f7,_0x5bbacf,_0xc5311),N(this,'status','fetch_missing'),(this['_acknowledgedAwaitingChangeset']=_0x36a20b,this['_queuedRemoteChangesets']=_0x129a72,this['_injector']=_0x4788f9,this[_0x4babe9(0x254)]=_0x1b7db7,this['_transformService']=_0x1788d1,this[_0x4babe9(0x33b)]=_0xc5311);}[_0x1bf9e4(0x290)](_0x147533){var _0x4aed35=_0x1bf9e4;try{const _0x2eab5f=[..._0x147533,...this[_0x4aed35(0x371)]],_0x5eea61=[this[_0x4aed35(0x41a)]||this[_0x4aed35(0x23f)]][_0x4aed35(0x1ae)](_0x4683fe=>!!_0x4683fe);let _0x36d396,_0x38aceb;if(_0x5eea61['length']){const _0x5e7126=this[_0x4aed35(0x2b3)][_0x4aed35(0x20e)](_0x2eab5f,_0x5eea61,!0x1);if(!_0x382369(_0x5e7126))throw _0x5e7126['error'];_0x36d396=_0x5e7126[_0x4aed35(0x1c1)],_0x38aceb=_0x5e7126['c2Prime'];}else _0x36d396=_0x2eab5f,_0x38aceb=[];let _0x598c29=this[_0x4aed35(0x32d)];_0x36d396[_0x4aed35(0x33a)](_0x266768=>{var _0x9e0246=_0x4aed35;let _0x4b348a;if(_0x598c29[_0x9e0246(0x2fd)]){const _0x262893=this['_transformService'][_0x9e0246(0x210)](_0x266768,_0x598c29);if(!_0x164c96(_0x262893))throw _0x262893[_0x9e0246(0x197)];_0x4b348a=_0x262893[_0x9e0246(0x1c1)],_0x598c29=_0x262893[_0x9e0246(0x34c)];}else _0x4b348a=_0x266768;this[_0x9e0246(0x39f)](_0x4b348a);}),this['_acknowledgedAwaitingChangeset']&&this[_0x4aed35(0x390)](),this['_awaitingChangeset']&&_0x38aceb['length']&&(_0x38aceb[0x0][_0x4aed35(0x23b)]=this[_0x4aed35(0x1f4)]());let _0x4ea161;if(this[_0x4aed35(0x41a)]&&_0x598c29['length']!==0x0)_0x4ea161=this[_0x4aed35(0x2b7)][_0x4aed35(0x427)](ae,this[_0x4aed35(0x3fa)],this[_0x4aed35(0x17c)],_0x38aceb[0x0],_0x598c29,this[_0x4aed35(0x3d3)],void 0x0);else{if(this[_0x4aed35(0x41a)]&&_0x598c29['length']===0x0)_0x38aceb[0x0][_0x4aed35(0x23b)]=this['_getCurrentRevision'](),_0x4ea161=this[_0x4aed35(0x2b7)][_0x4aed35(0x427)](_e,this['unitID'],this['type'],_0x38aceb[0x0],this[_0x4aed35(0x3d3)]);else{if(_0x598c29[_0x4aed35(0x2fd)]!==0x0){const _0x35cfda=this['_injector'][_0x4aed35(0x427)](re,this[_0x4aed35(0x3fa)],this[_0x4aed35(0x17c)],_0x598c29,this[_0x4aed35(0x3d3)]);_0x35cfda['_schedule'](),_0x4ea161=_0x35cfda;}else _0x4ea161=this[_0x4aed35(0x2b7)][_0x4aed35(0x427)](ye,this[_0x4aed35(0x3fa)],this['type'],this['_handler']);}}return _0x4ea161['_updateLocalCache'](),_0x4ea161;}catch(_0x3dd6a7){return this[_0x4aed35(0x254)]['error'](_0x4aed35(0x2df),_0x4aed35(0x417),_0x3dd6a7),this[_0x4aed35(0x2b7)][_0x4aed35(0x427)](le,this[_0x4aed35(0x3fa)],this['type'],this[_0x4aed35(0x41a)],this[_0x4aed35(0x32d)],this[_0x4aed35(0x3d3)],!0x1);}}[_0x1bf9e4(0x1e2)](){var _0x541683=_0x1bf9e4;throw new Error(_0x541683(0x300));}['appendMutation'](_0x3bd008){var _0x1c29cb=_0x1bf9e4;return this[_0x1c29cb(0x32d)][_0x1c29cb(0x284)](_0x3bd008),this;}[_0x1bf9e4(0x435)](_0x134fba){return this['_queuedRemoteChangesets']['push'](_0x134fba),this;}[_0x1bf9e4(0x245)](_0x34b5e7){var _0xb6c133=_0x1bf9e4;if(this['_awaitingChangeset'])return this[_0xb6c133(0x23f)]=this[_0xb6c133(0x41a)],this[_0xb6c133(0x41a)]=null,this;throw new Error(_0xb6c133(0x3a2));}[_0x1bf9e4(0x346)](_0x11448d){var _0x4a516c=_0x1bf9e4;return this[_0x4a516c(0x3f4)](!!(_0x11448d!=null&&_0x11448d[_0x4a516c(0x2a1)]));}['onRemoteRetry'](){return this;}[_0x1bf9e4(0x34f)](){var _0x1f87ca=_0x1bf9e4;return this[_0x1f87ca(0x2b7)][_0x1f87ca(0x427)](ue,this['unitID'],this['type'],this['_awaitingChangeset'],this['_pendingMutations'],this[_0x1f87ca(0x3d3)]);}[_0x1bf9e4(0x279)](){return this;}[_0x1bf9e4(0x3f4)](_0x307df4){var _0x2225e4=_0x1bf9e4;return this[_0x2225e4(0x2b7)]['createInstance'](le,this[_0x2225e4(0x3fa)],this[_0x2225e4(0x17c)],this[_0x2225e4(0x41a)],this['_pendingMutations'],this['_handler'],_0x307df4);}};Q=Ie([P(0x7,_0x1eb2b7(_0x3ba5a5)),P(0x8,_0x1eb2b7(_0x3169f6)),P(0x9,_0x4020c),P(0xa,_0x163994),P(0xb,_0x3aa1c3),P(0xc,_0xaa4b07),P(0xd,_0x471747(J))],Q);function Ri(_0x4fc218,_0x3197c0,_0x148d55,_0x5a3cba,_0x59fd83,_0x18fbde){var _0x4a94e3=_0x1bf9e4;return _0x5a3cba&&_0x59fd83['length']?_0x4fc218[_0x4a94e3(0x427)](ae,_0x3197c0,_0x148d55,_0x5a3cba,_0x59fd83,_0x18fbde,void 0x0):_0x5a3cba?_0x4fc218[_0x4a94e3(0x427)](_e,_0x3197c0,_0x148d55,_0x5a3cba,_0x18fbde):_0x59fd83[_0x4a94e3(0x2fd)]?_0x4fc218[_0x4a94e3(0x427)](re,_0x3197c0,_0x148d55,_0x59fd83,_0x18fbde):_0x4fc218['createInstance'](ye,_0x3197c0,_0x148d55,_0x18fbde);}var Zs=Object[_0x1bf9e4(0x241)],wt=(_0x5c0a93,_0x1618ce,_0x14a9bb,_0x40b043)=>{var _0x3735e0=_0x1bf9e4;for(var _0x56a934=_0x40b043>0x1?void 0x0:_0x40b043?Zs(_0x1618ce,_0x14a9bb):_0x1618ce,_0x3da3a9=_0x5c0a93[_0x3735e0(0x2fd)]-0x1,_0x42719d;_0x3da3a9>=0x0;_0x3da3a9--)(_0x42719d=_0x5c0a93[_0x3da3a9])&&(_0x56a934=_0x42719d(_0x56a934)||_0x56a934);return _0x56a934;},H=(_0x49c4f7,_0x5d7f61)=>(_0x3d72a5,_0x18c3e9)=>_0x5d7f61(_0x3d72a5,_0x18c3e9,_0x49c4f7);let st=class extends _0x3f1edd{constructor(_0xe4634b,_0x2500e9,_0xc850b2,_0x364070,_0x56ac9e,_0x276c1d,_0x28ee7e,_0x175990,_0x12c9d0,_0x406e0f,_0x447738,_0x59485f,_0x38d44d){var _0xeb6c4b=_0x1bf9e4;super(),N(this,_0xeb6c4b(0x33d),new _0x320cd9(null)),N(this,_0xeb6c4b(0x310),this[_0xeb6c4b(0x33d)]['asObservable']()),N(this,_0xeb6c4b(0x192)),N(this,_0xeb6c4b(0x38b),!0x1),N(this,_0xeb6c4b(0x414),''),N(this,_0xeb6c4b(0x39d),0x0),N(this,_0xeb6c4b(0x303),this[_0xeb6c4b(0x310)]['pipe'](_0x4427f2(_0x3b3f58=>_0x3b3f58?_0x3b3f58[_0xeb6c4b(0x412)]:Ti[_0xeb6c4b(0x342)]),_0x2393d1(0x1))),N(this,_0xeb6c4b(0x207),!0x1),N(this,_0xeb6c4b(0x3c4),[]),(this[_0xeb6c4b(0x3fa)]=_0xe4634b,this[_0xeb6c4b(0x3d1)]=_0x2500e9,this['_type']=_0xc850b2,this[_0xeb6c4b(0x2b7)]=_0x364070,this[_0xeb6c4b(0x24b)]=_0x56ac9e,this[_0xeb6c4b(0x1c9)]=_0x276c1d,this[_0xeb6c4b(0x1ef)]=_0x28ee7e,this['_eventService']=_0x175990,this['_logService']=_0x12c9d0,this['_commandService']=_0x406e0f,this[_0xeb6c4b(0x26e)]=_0x447738,this[_0xeb6c4b(0x320)]=_0x59485f,this[_0xeb6c4b(0x2c0)]=_0x38d44d);}get[_0x1bf9e4(0x2a7)](){return this['_state'];}async[_0x1bf9e4(0x299)](){var _0x130240=_0x1bf9e4;if(this[_0x130240(0x2a7)])throw new Error('[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.');await this[_0x130240(0x223)]();}[_0x1bf9e4(0x271)](){return this['_collaborationPaused']=!0x0,_0x4c9abc(()=>{var _0x3cb9f6=_0xcbfd;this['_collaborationPaused']=!0x1,this[_0x3cb9f6(0x1c6)]();});}[_0x1bf9e4(0x264)](_0x2894f9){var _0x18082b=_0x1bf9e4;this[_0x18082b(0x380)](_0x2894f9);}[_0x1bf9e4(0x19d)](_0x42645b){var _0x2b4969=_0x1bf9e4;this[_0x2b4969(0x192)]=_0x42645b,this[_0x2b4969(0x33d)][_0x2b4969(0x232)](_0x42645b);}async[_0x1bf9e4(0x223)](){var _0x5069a3=_0x1bf9e4,_0x19b6ba;this['_updateState'](await this[_0x5069a3(0x2af)]()),this['_singleActiveUnitService']&&((_0x19b6ba=this[_0x5069a3(0x320)])==null||_0x19b6ba['editingUnit'](this[_0x5069a3(0x3fa)]),this[_0x5069a3(0x437)](this[_0x5069a3(0x320)]['getUnitStatus$'](this[_0x5069a3(0x3fa)])[_0x5069a3(0x262)](_0x26443b=>{var _0x5b7b94=_0x5069a3;this['_logService']['debug'](_0x5b7b94(0x2da),_0x5b7b94(0x1b1),_0x26443b),_0x26443b===Ei[_0x5b7b94(0x260)]?(this[_0x5b7b94(0x376)][_0x5b7b94(0x463)]({'id':ne[_0x5b7b94(0x164)]}),this[_0x5b7b94(0x26e)][_0x5b7b94(0x27a)](new _0x158a95(this[_0x5b7b94(0x3fa)])['id'],!0x1),this[_0x5b7b94(0x26e)][_0x5b7b94(0x2ca)](!0x1)):(this[_0x5b7b94(0x26e)][_0x5b7b94(0x27a)](new _0x158a95(this[_0x5b7b94(0x3fa)])['id'],!0x0),this[_0x5b7b94(0x26e)][_0x5b7b94(0x2ca)](!0x0));})));let _0x8ecd6a=!0x1;return this[_0x5069a3(0x437)](this[_0x5069a3(0x3d1)][_0x5069a3(0x25b)][_0x5069a3(0x262)](_0x242871=>{var _0x65a3f5=_0x5069a3;_0x242871===Se['ONLINE']?this['_toggleOnline'](_0x8ecd6a):_0x242871===Se[_0x65a3f5(0x342)]&&(_0x8ecd6a=!0x0,this[_0x65a3f5(0x1d6)]());})),this[_0x5069a3(0x437)](this['session'][_0x5069a3(0x1ca)][_0x5069a3(0x262)](_0x20a527=>{var _0x493ccf=_0x5069a3;try{switch(_0x20a527[_0x493ccf(0x438)]){case _0x40976b['NEW_CHANGESETS']:{this['_onRemoteChangeset'](_0xdc4ddf(_0x20a527[_0x493ccf(0x1c7)]));break;}case _0x40976b[_0x493ccf(0x3fc)]:{this[_0x493ccf(0x282)](_0x20a527['data']);break;}case _0x40976b[_0x493ccf(0x443)]:{this['_onRemoteRejected']();break;}case _0x40976b[_0x493ccf(0x42c)]:{this[_0x493ccf(0x3cf)](_0x20a527[_0x493ccf(0x1c7)]);break;}case _0x40976b['PSEUDO_FETCH_MISSING_RESULT']:{this['_onFetchMissResult'](_0x20a527[_0x493ccf(0x1c7)][_0x493ccf(0x1b5)][_0x493ccf(0x2aa)](_0x567407=>_0xdc4ddf(_0x567407)));break;}case _0x40976b[_0x493ccf(0x200)]:{this['_onRemoteRejected']({'isPermissionRej':!0x0});break;}case _0x40976b[_0x493ccf(0x2ea)]:break;}}catch(_0x5ba6ab){throw console[_0x493ccf(0x197)](_0x493ccf(0x3ba),_0x5ba6ab),_0x5ba6ab;}})),this[_0x5069a3(0x192)];}[_0x1bf9e4(0x340)](){var _0x15e9ed=_0x1bf9e4;this[_0x15e9ed(0x207)]=!0x1;}[_0x1bf9e4(0x17e)](){var _0x4671e1=_0x1bf9e4;if(this[_0x4671e1(0x207)])throw new Error(_0x4671e1(0x239));this['_transitionLocked']=!0x0;}['_onLocalMutation'](_0x2a79b6){var _0x3f76f0=_0x1bf9e4;this[_0x3f76f0(0x17e)](),this[_0x3f76f0(0x19d)](this[_0x3f76f0(0x192)][_0x3f76f0(0x3f7)](_0x2a79b6)),this[_0x3f76f0(0x340)]();}['_onRemoteChangeset'](_0x765ead){var _0x154ea8=_0x1bf9e4;if(!(_0x765ead[_0x154ea8(0x1c0)]<=this[_0x154ea8(0x1ef)]['getCurrentRevOfUnit'](this[_0x154ea8(0x3fa)]))){if(this[_0x154ea8(0x38b)]){this[_0x154ea8(0x3c4)][_0x154ea8(0x284)](_0x765ead);return;}this[_0x154ea8(0x176)](_0x765ead);}}[_0x1bf9e4(0x1c6)](){var _0x5cc465=_0x1bf9e4;this[_0x5cc465(0x3c4)][_0x5cc465(0x33a)](_0x19a6f4=>this[_0x5cc465(0x176)](_0x19a6f4)),this['_remoteChangesetQueue']=[];}[_0x1bf9e4(0x176)](_0xc4a893){var _0x4faf4d=_0x1bf9e4;const _0x40b851=this[_0x4faf4d(0x24b)]['interceptor'][_0x4faf4d(0x2dd)](this[_0x4faf4d(0x24b)][_0x4faf4d(0x314)][_0x4faf4d(0x3f2)]()[_0x4faf4d(0x250)])(_0xc4a893[_0x4faf4d(0x3a6)],null)||_0xc4a893['mutations'],_0x41908b={..._0xc4a893,'mutations':_0x40b851};this['_lockTransition'](),this[_0x4faf4d(0x19d)](this['_state'][_0x4faf4d(0x435)](_0x41908b)),this[_0x4faf4d(0x340)]();}[_0x1bf9e4(0x282)](_0x5f18e7){var _0x51fb4d=_0x1bf9e4;this[_0x51fb4d(0x17e)](),this[_0x51fb4d(0x19d)](this[_0x51fb4d(0x192)][_0x51fb4d(0x245)](_0x5f18e7)),this[_0x51fb4d(0x340)]();}[_0x1bf9e4(0x44c)](_0x49b914){var _0x210bd9=_0x1bf9e4;this[_0x210bd9(0x17e)](),this[_0x210bd9(0x19d)](this['_state']['onRemoteRej'](_0x49b914)),this['_unlockTransition']();}[_0x1bf9e4(0x3cf)](_0x230837){var _0x22417f=_0x1bf9e4;this['_lockTransition'](),this[_0x22417f(0x19d)](this[_0x22417f(0x192)][_0x22417f(0x31d)](_0x230837)),this['_unlockTransition']();}['_onFetchMissResult'](_0x31440a){var _0x11083a=_0x1bf9e4;if(!(this[_0x11083a(0x192)]instanceof Q))throw new TypeError('[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!');const _0x408702=_0x31440a[_0x11083a(0x2aa)](_0x9c35fb=>{var _0x5393f6=_0x11083a;const _0x443843=this['_compressMutationService'][_0x5393f6(0x314)][_0x5393f6(0x2dd)](this[_0x5393f6(0x24b)][_0x5393f6(0x314)][_0x5393f6(0x3f2)]()[_0x5393f6(0x250)])(_0x9c35fb[_0x5393f6(0x3a6)],null)||_0x9c35fb[_0x5393f6(0x3a6)];return{..._0x9c35fb,'mutations':_0x443843};});this[_0x11083a(0x17e)](),this['_updateState'](this['_state'][_0x11083a(0x290)](_0x408702)),this[_0x11083a(0x340)]();}[_0x1bf9e4(0x1d6)](){var _0x1eb787=_0x1bf9e4;this['_lockTransition'](),this[_0x1eb787(0x19d)](this[_0x1eb787(0x192)][_0x1eb787(0x34f)]()),this[_0x1eb787(0x340)]();}['_toggleOnline'](_0x57f7d8=!0x1){var _0xb1ce68=_0x1bf9e4;this[_0xb1ce68(0x17e)](),this['_updateState'](this['_state'][_0xb1ce68(0x279)]()),this[_0xb1ce68(0x340)]();const _0x44e816=this[_0xb1ce68(0x192)];_0x57f7d8&&_0x44e816 instanceof ye&&(this[_0xb1ce68(0x17e)](),this[_0xb1ce68(0x19d)](_0x44e816['fetchMiss']()),this[_0xb1ce68(0x340)]());}async[_0x1bf9e4(0x2af)](){return new Promise(_0x15250e=>{var _0x5408be=_0xcbfd;this[_0x5408be(0x3d1)][_0x5408be(0x25b)][_0x5408be(0x29b)](_0x19b6b3(0x1))[_0x5408be(0x262)](async _0x339716=>{var _0x29d3cd=_0x5408be;_0x15250e(await this[_0x29d3cd(0x399)](_0x339716===Se[_0x29d3cd(0x402)]));});});}['_createHandler'](){const _0x4b412f=this['unitID'];return{'onStateChange':(_0x31fb48,_0x5346f2)=>{var _0x131f05=_0xcbfd;if(_0x31fb48!==this[_0x131f05(0x192)])throw new Error(_0x131f05(0x1ee)+_0x31fb48[_0x131f05(0x412)]+_0x131f05(0x351)+_0x5346f2[_0x131f05(0x412)]+_0x131f05(0x25e)+this[_0x131f05(0x192)][_0x131f05(0x412)]);this[_0x131f05(0x19d)](_0x5346f2);},'onSendChangeset':_0xba863a=>{var _0x3c8f07=_0xcbfd;_0xba863a[_0x3c8f07(0x3e4)]||(_0xba863a[_0x3c8f07(0x3e4)]=this['_changesetSessionId'],_0xba863a[_0x3c8f07(0x1f8)]=++this[_0x3c8f07(0x39d)]);const _0x6a697a={'eventID':_0x40976b[_0x3c8f07(0x2c3)],'data':{'unitID':_0xba863a['unitID'],'unitType':this[_0x3c8f07(0x17a)],'changeset':_0xba863a,'memberID':this[_0x3c8f07(0x3d1)][_0x3c8f07(0x174)]()}};this[_0x3c8f07(0x3d1)]['send'](_0x6a697a,this['unitID']);},'onMissingChangesets':({from:_0x300283,to:_0x4c38ac})=>{var _0x2e81e6=_0xcbfd;this['_logService']['debug'](_0x2e81e6(0x2da),_0x2e81e6(0x1b7)+_0x300283+_0x2e81e6(0x3b9)+_0x4c38ac);const _0x173bac={'eventID':_0x40976b['FETCH_MISSING'],'data':{'unitID':_0x4b412f,'unitType':this[_0x2e81e6(0x17a)],'from':_0x300283,'to':_0x4c38ac}};this[_0x2e81e6(0x3d1)][_0x2e81e6(0x2ba)](_0x173bac,this['unitID']);}};}async['_createInitialStateImpl'](_0x702305){var _0xd5a06d=_0x1bf9e4,_0x13698f,_0x5ab064,_0x116a3e;const _0x1092ce=await((_0x13698f=this[_0xd5a06d(0x2c0)])==null?void 0x0:_0x13698f[_0xd5a06d(0x31c)](this[_0xd5a06d(0x3fa)])),_0x380d1b=(_0x5ab064=_0x1092ce==null?void 0x0:_0x1092ce['mutations'])!=null?_0x5ab064:[],_0x353f31=(_0x116a3e=_0x1092ce==null?void 0x0:_0x1092ce[_0xd5a06d(0x22a)])!=null?_0x116a3e:null,_0x330587=!!(_0x353f31!=null&&_0x353f31['sid'])&&!!(_0x353f31!=null&&_0x353f31[_0xd5a06d(0x1f8)]);this[_0xd5a06d(0x414)]=_0x330587?_0x353f31['sid']:_0x1e371c(),this[_0xd5a06d(0x39d)]=_0x330587?_0x353f31[_0xd5a06d(0x1f8)]:0x0;const _0x11c6e7=this['unitID'];try{this[_0xd5a06d(0x1db)](_0x353f31,_0x380d1b);}catch(_0x36b4a1){this[_0xd5a06d(0x254)]['error'](_0x36b4a1);}const _0x1d920b=this[_0xd5a06d(0x366)]();if(_0x702305){const _0x15bcb8=Ri(this[_0xd5a06d(0x2b7)],_0x11c6e7,this[_0xd5a06d(0x17a)],_0x353f31,_0x380d1b,_0x1d920b);return _0x15bcb8 instanceof re?_0x15bcb8[_0xd5a06d(0x38c)]():(_0x15bcb8 instanceof ae||_0x15bcb8 instanceof _e)&&_0x15bcb8['resend'](),_0x15bcb8;}return this['_injector'][_0xd5a06d(0x427)](ue,_0x11c6e7,this['_type'],_0x353f31,_0x380d1b,_0x1d920b);}['_replayCachedMutations'](_0x412dad,_0x190dc5){var _0x4d3d2c=_0x1bf9e4,_0x3e9a79,_0x5c869c;const _0x36f5f1=this[_0x4d3d2c(0x24b)][_0x4d3d2c(0x314)][_0x4d3d2c(0x2dd)](this[_0x4d3d2c(0x24b)]['interceptor']['getInterceptPoints']()[_0x4d3d2c(0x250)]);(_0x3e9a79=_0x36f5f1((_0x412dad==null?void 0x0:_0x412dad['mutations'])||[],null))==null||_0x3e9a79[_0x4d3d2c(0x33a)](_0x3d559c=>this[_0x4d3d2c(0x2ad)][_0x4d3d2c(0x311)](_0x3d559c['id'],_0x3d559c[_0x4d3d2c(0x194)])),(_0x5c869c=_0x36f5f1(_0x190dc5||[],null))==null||_0x5c869c[_0x4d3d2c(0x33a)](_0x13d2aa=>this[_0x4d3d2c(0x2ad)][_0x4d3d2c(0x311)](_0x13d2aa['id'],_0x13d2aa[_0x4d3d2c(0x194)]));}};st=wt([H(0x3,_0x1eb2b7(_0x3ba5a5)),H(0x4,_0x1eb2b7(_0x8c156e)),H(0x5,_0x1eb2b7(_0x5855e2)),H(0x6,_0x1eb2b7(_0x3169f6)),H(0x7,_0x1eb2b7(ve)),H(0x8,_0x4020c),H(0x9,_0x163994),H(0xa,_0x4eca75),H(0xb,_0x471747(ht)),H(0xc,_0x471747(J))],st);let St=class extends st{constructor(_0x8c7f66,_0x433fb9,_0x4fea04,_0x202eba,_0x529319,_0x45701c,_0x183450,_0x299f0f,_0x3b1789,_0x2f2d7a,_0x25af0c,_0x1db1f0,_0x49755f){var _0x4164d4=_0x1bf9e4;super(_0x8c7f66,_0x4fea04,_0x433fb9,_0x202eba,_0x529319,_0x45701c,_0x183450,_0x299f0f,_0x3b1789,_0x2f2d7a,_0x25af0c,_0x1db1f0,_0x49755f),N(this,'_handlerCallback',null),(this[_0x4164d4(0x3fa)]=_0x8c7f66,this['type']=_0x433fb9);}[_0x1bf9e4(0x43c)](_0x2ae034){var _0x4d2453=_0x1bf9e4;this[_0x4d2453(0x449)]=_0x2ae034;}['dispose'](){var _0x25ae6d=_0x1bf9e4;this[_0x25ae6d(0x449)]=null,super['dispose']();}['_createHandler'](){var _0x441dd3=_0x1bf9e4;const _0x5bd9b9=super[_0x441dd3(0x366)]();return _0x5bd9b9['onTransformIME']=_0x1400ea=>{var _0x5f09f4=_0x441dd3,_0x4c175d,_0xbef198;return(_0xbef198=(_0x4c175d=this[_0x5f09f4(0x449)])==null?void 0x0:_0x4c175d['onTransformIME'])==null?void 0x0:_0xbef198[_0x5f09f4(0x1a9)](_0x4c175d,_0x1400ea);},_0x5bd9b9[_0x441dd3(0x266)]=_0x372797=>{var _0x57c29a=_0x441dd3,_0xa58de7,_0x4a0818;return(_0x4a0818=(_0xa58de7=this[_0x57c29a(0x449)])==null?void 0x0:_0xa58de7[_0x57c29a(0x266)])==null?void 0x0:_0x4a0818[_0x57c29a(0x1a9)](_0xa58de7,_0x372797);},_0x5bd9b9[_0x441dd3(0x225)]=_0x2ea69d=>{var _0x59efd5=_0x441dd3,_0x2e949c,_0x13bf9e;return(_0x13bf9e=(_0x2e949c=this[_0x59efd5(0x449)])==null?void 0x0:_0x2e949c['onTransformSelections'])==null?void 0x0:_0x13bf9e[_0x59efd5(0x1a9)](_0x2e949c,_0x2ea69d);},_0x5bd9b9['onSyncEditingCollabCursor']=_0x3fda4e=>{var _0x554226=_0x441dd3,_0x175ca4,_0x162455;return(_0x162455=(_0x175ca4=this[_0x554226(0x449)])==null?void 0x0:_0x175ca4['onSyncEditingCollabCursor'])==null?void 0x0:_0x162455['call'](_0x175ca4,_0x3fda4e);},_0x5bd9b9[_0x441dd3(0x386)]=_0x2ccfd8=>{var _0x3b75d1=_0x441dd3,_0x428321,_0x25a3e2,_0x72d66e;if(!((_0x428321=this['_handlerCallback'])!=null&&_0x428321[_0x3b75d1(0x386)]))throw new Error(_0x3b75d1(0x1ab));return(_0x72d66e=(_0x25a3e2=this[_0x3b75d1(0x449)])==null?void 0x0:_0x25a3e2[_0x3b75d1(0x386)])==null?void 0x0:_0x72d66e['call'](_0x25a3e2,_0x2ccfd8);},_0x5bd9b9[_0x441dd3(0x248)]=_0x16f6aa=>{var _0x552373=_0x441dd3,_0x58986a,_0x436262,_0x1f6cf0;if(!((_0x58986a=this['_handlerCallback'])!=null&&_0x58986a['onTransformRemoteChangesetByStateCache']))throw new Error(_0x552373(0x335));return(_0x1f6cf0=(_0x436262=this[_0x552373(0x449)])==null?void 0x0:_0x436262[_0x552373(0x248)])==null?void 0x0:_0x1f6cf0[_0x552373(0x1a9)](_0x436262,_0x16f6aa);},_0x5bd9b9;}async[_0x1bf9e4(0x223)](){var _0x3f5af1=_0x1bf9e4;const _0x7461f=await super[_0x3f5af1(0x223)]();return this[_0x3f5af1(0x437)](this['_commandService'][_0x3f5af1(0x231)]((_0x49aa19,_0x1a2fd9)=>{var _0x5e81df=_0x3f5af1;if(_0x49aa19[_0x5e81df(0x17c)]!==_0x4b8a53[_0x5e81df(0x446)]||_0x1a2fd9!=null&&_0x1a2fd9[_0x5e81df(0x280)]||_0x1a2fd9!=null&&_0x1a2fd9[_0x5e81df(0x3ae)]||_0x49aa19['id']===_0x5d5737['id'])return;const _0x750f54=_0x49aa19[_0x5e81df(0x194)];if((_0x750f54==null?void 0x0:_0x750f54['unitId'])!==this[_0x5e81df(0x3fa)])return;const _0x29037b=_0x49aa19,_0x3c7178=this[_0x5e81df(0x24b)][_0x5e81df(0x314)][_0x5e81df(0x2dd)](this[_0x5e81df(0x24b)]['interceptor'][_0x5e81df(0x3f2)]()[_0x5e81df(0x44d)])([_0x29037b],null)||[_0x29037b];this['_onLocalMutation'](_0x3c7178[0x0]);})),_0x7461f;}};St=wt([H(0x3,_0x1eb2b7(_0x3ba5a5)),H(0x4,_0x1eb2b7(_0x8c156e)),H(0x5,_0x1eb2b7(_0x5855e2)),H(0x6,_0x1eb2b7(_0x3169f6)),H(0x7,_0x1eb2b7(ve)),H(0x8,_0x4020c),H(0x9,_0x163994),H(0xa,_0x4eca75),H(0xb,_0x471747(ht)),H(0xc,_0x471747(J))],St);let Et=class extends st{constructor(_0x14d091,_0x18af7b,_0x3eb7c0,_0x2c1fc0,_0x297213,_0x1818c1,_0x41d35a,_0x229ec0,_0x1037ca,_0x23382c,_0x154ab9,_0x1a5674,_0x3ba558,_0x2c59bd){var _0x4e79c3=_0x1bf9e4;super(_0x14d091,_0x3eb7c0,_0x18af7b,_0x2c1fc0,_0x297213,_0x1818c1,_0x41d35a,_0x1037ca,_0x23382c,_0x154ab9,_0x1a5674,_0x3ba558,_0x2c59bd),this[_0x4e79c3(0x3fa)]=_0x14d091,this[_0x4e79c3(0x17c)]=_0x18af7b,this[_0x4e79c3(0x190)]=_0x229ec0;}[_0x1bf9e4(0x366)](){var _0x2aad8c=_0x1bf9e4;const _0x23f134=super[_0x2aad8c(0x366)]();return _0x23f134[_0x2aad8c(0x225)]=_0x3639b8=>this['_sheetTransformSelectionsService']['transformSelections'](_0x3639b8),_0x23f134;}async[_0x1bf9e4(0x223)](){var _0x374628=_0x1bf9e4;const _0xc5a3ec=await super[_0x374628(0x223)]();return this[_0x374628(0x437)](this[_0x374628(0x2ad)][_0x374628(0x231)]((_0x48fcbc,_0x422f09)=>{var _0xef4693=_0x374628;if(_0x48fcbc[_0xef4693(0x17c)]!==_0x4b8a53[_0xef4693(0x446)]||_0x422f09!=null&&_0x422f09['fromCollab']||_0x422f09!=null&&_0x422f09[_0xef4693(0x3ae)])return;const _0x224c48=_0x48fcbc[_0xef4693(0x194)];if((_0x224c48==null?void 0x0:_0x224c48['unitId'])!==this[_0xef4693(0x3fa)])return;const _0x4705de=_0x48fcbc,_0x2f0033=this[_0xef4693(0x24b)][_0xef4693(0x314)]['fetchThroughInterceptors'](this[_0xef4693(0x24b)][_0xef4693(0x314)][_0xef4693(0x3f2)]()['COMPRESS_MUTATION_SEND'])([_0x4705de],null)||[_0x4705de];this[_0xef4693(0x380)](_0x2f0033[0x0]);})),_0xc5a3ec;}};Et=wt([H(0x3,_0x1eb2b7(_0x3ba5a5)),H(0x4,_0x1eb2b7(_0x8c156e)),H(0x5,_0x1eb2b7(_0x5855e2)),H(0x6,_0x1eb2b7(_0x3169f6)),H(0x7,_0x1eb2b7(it)),H(0x8,_0x1eb2b7(ve)),H(0x9,_0x4020c),H(0xa,_0x163994),H(0xb,_0x4eca75),H(0xc,_0x471747(ht)),H(0xd,_0x471747(J))],Et);var Qs=Object[_0x1bf9e4(0x241)],en=(_0x1b843b,_0x425fe1,_0x501bc6,_0x204616)=>{var _0x17e3f7=_0x1bf9e4;for(var _0x34cfa8=_0x204616>0x1?void 0x0:_0x204616?Qs(_0x425fe1,_0x501bc6):_0x425fe1,_0x47fc1d=_0x1b843b[_0x17e3f7(0x2fd)]-0x1,_0x4c964d;_0x47fc1d>=0x0;_0x47fc1d--)(_0x4c964d=_0x1b843b[_0x47fc1d])&&(_0x34cfa8=_0x4c964d(_0x34cfa8)||_0x34cfa8);return _0x34cfa8;},Be=(_0x2c774b,_0x5374fc)=>(_0x594ed9,_0x481783)=>_0x5374fc(_0x594ed9,_0x481783,_0x2c774b);let nt=class extends _0x3f1edd{constructor(_0x59b73e,_0x126c0d,_0x18fc20,_0x252528){var _0x551054=_0x1bf9e4,_0x45ee8a;super(),N(this,'_entities',new Map()),N(this,'_entityInit$',new _0x3b4cf0()),N(this,_0x551054(0x2b4),this['_entityInit$'][_0x551054(0x332)]()),(this[_0x551054(0x2b7)]=_0x59b73e,this['_collabSessionService']=_0x126c0d,this['_configService']=_0x18fc20,this[_0x551054(0x432)]=_0x252528,((_0x45ee8a=this['_configService'][_0x551054(0x17d)](K))==null?void 0x0:_0x45ee8a[_0x551054(0x331)])!==!0x1&&this[_0x551054(0x223)]());}[_0x1bf9e4(0x336)](){var _0x5548f6=_0x1bf9e4;super[_0x5548f6(0x336)](),this[_0x5548f6(0x163)][_0x5548f6(0x33a)](_0xd502c2=>_0xd502c2[_0x5548f6(0x336)]()),this['_entities'][_0x5548f6(0x27d)]();}[_0x1bf9e4(0x1a0)](_0x6b97f3){var _0xad7bb2=_0x1bf9e4,_0x5561dc;return(_0x5561dc=this[_0xad7bb2(0x163)][_0xad7bb2(0x27c)](_0x6b97f3))!=null?_0x5561dc:null;}[_0x1bf9e4(0x31f)](_0x503dd0){var _0x4912fc=_0x1bf9e4;const _0x52c865=this['getCollabEntity'](_0x503dd0);return _0x52c865?_0x1be741(_0x52c865):this[_0x4912fc(0x3fb)][_0x4912fc(0x29b)](_0x1b0e17(_0xaf1a04=>_0xaf1a04[_0x4912fc(0x3fa)]===_0x503dd0));}[_0x1bf9e4(0x29e)](_0x1b129b){var _0x1b7673=_0x1bf9e4;return _0x4e7989(this[_0x1b7673(0x31f)](_0x1b129b)[_0x1b7673(0x29b)](_0xe868af(()=>{})));}[_0x1bf9e4(0x223)](){var _0x42508c=_0x1bf9e4;this[_0x42508c(0x432)][_0x42508c(0x1c5)](_0x2f1c63[_0x42508c(0x1ec)])[_0x42508c(0x29b)](_0x57d01b(this['dispose$']),_0x4e84b7(0x10))['subscribe'](async _0x265b15=>{var _0x4aacd6=_0x42508c;const _0x501ae0=_0x265b15['getUnitId'](),_0x405ebb=await this[_0x4aacd6(0x297)](_0x501ae0,Z['UNIVER_SHEET']);this[_0x4aacd6(0x163)][_0x4aacd6(0x1f3)](_0x501ae0,_0x405ebb);}),this['_univerInstanceService'][_0x42508c(0x1c5)](_0x2f1c63[_0x42508c(0x18d)])['pipe'](_0x57d01b(this['dispose$']),_0x4e84b7(0x10))[_0x42508c(0x29b)](_0x1b0e17(_0x20eabf=>!_0x20eabf['getUnitId']()[_0x42508c(0x170)]('__')))[_0x42508c(0x262)](async _0x2aa386=>{var _0x3723ba=_0x42508c;const _0x368efc=_0x2aa386['getUnitId'](),_0x12f17b=await this[_0x3723ba(0x297)](_0x368efc,Z['UNIVER_DOC']);this[_0x3723ba(0x163)][_0x3723ba(0x1f3)](_0x368efc,_0x12f17b);}),_0x539a72(this[_0x42508c(0x432)]['getTypeOfUnitDisposed$'](_0x2f1c63[_0x42508c(0x1ec)]),this['_univerInstanceService'][_0x42508c(0x37b)](_0x2f1c63['UNIVER_DOC']))[_0x42508c(0x29b)](_0x57d01b(this[_0x42508c(0x31a)]))[_0x42508c(0x262)](_0x2d81a2=>{var _0x504f78=_0x42508c;const _0x14156a=_0x2d81a2[_0x504f78(0x416)](),_0x4161d1=this[_0x504f78(0x163)][_0x504f78(0x27c)](_0x14156a);_0x4161d1&&(_0x4161d1[_0x504f78(0x336)](),this[_0x504f78(0x163)][_0x504f78(0x3ea)](_0x14156a));});}async[_0x1bf9e4(0x297)](_0xc9a38e,_0x3037b8){var _0x10027e=_0x1bf9e4;const _0x14d609=await this['_collabSessionService'][_0x10027e(0x2d8)](_0xc9a38e),_0x4a7323=this[_0x10027e(0x2b7)][_0x10027e(0x427)](this[_0x10027e(0x2eb)](_0x3037b8),_0xc9a38e,_0x3037b8,_0x14d609);return await _0x4a7323[_0x10027e(0x299)](),this[_0x10027e(0x3fb)][_0x10027e(0x232)](_0x4a7323),_0x4a7323;}[_0x1bf9e4(0x2eb)](_0x344f11){var _0x2cc06a=_0x1bf9e4;switch(_0x344f11){case Z[_0x2cc06a(0x18d)]:return St;case Z[_0x2cc06a(0x1ec)]:return Et;default:throw new Error(_0x2cc06a(0x32f)+_0x344f11);}}};nt=en([Be(0x0,_0x1eb2b7(_0x3ba5a5)),Be(0x1,_0x1eb2b7(Le)),Be(0x2,_0x2711b7),Be(0x3,_0x1dd505)],nt);var tn=Object[_0x1bf9e4(0x241)],sn=(_0x1a6f87,_0x518430,_0x3612b2,_0x3ab5bd)=>{var _0x517611=_0x1bf9e4;for(var _0x2890b6=_0x3ab5bd>0x1?void 0x0:_0x3ab5bd?tn(_0x518430,_0x3612b2):_0x518430,_0x2181e8=_0x1a6f87[_0x517611(0x2fd)]-0x1,_0x35b9f3;_0x2181e8>=0x0;_0x2181e8--)(_0x35b9f3=_0x1a6f87[_0x2181e8])&&(_0x2890b6=_0x35b9f3(_0x2890b6)||_0x2890b6);return _0x2890b6;},Wt=(_0x407f2f,_0x580255)=>(_0x49a837,_0x4cd97f)=>_0x580255(_0x49a837,_0x4cd97f,_0x407f2f);const nn=_0x1bf9e4(0x1d4),rn=_0x1bf9e4(0x2ff);let It=class extends _0x16428c{constructor(_0xcc6704,_0x115d8f){var _0x3ff602=_0x1bf9e4;super(),this['_univerInstanceService']=_0xcc6704,this[_0x3ff602(0x1f9)]=_0x115d8f,this[_0x3ff602(0x223)]();}[_0x1bf9e4(0x223)](){var _0x1c031b=_0x1bf9e4;this['disposeWithMe'](this[_0x1c031b(0x432)][_0x1c031b(0x23d)][_0x1c031b(0x262)](()=>{var _0x508050=_0x1c031b,_0x4bc940;const _0x19ef79=this[_0x508050(0x432)][_0x508050(0x177)]();let _0x36534b=(_0x4bc940=this[_0x508050(0x1f9)][_0x508050(0x17d)](nn))!=null?_0x4bc940:rn;_0x19ef79 instanceof _0x41539c&&(_0x36534b=_0x19ef79[_0x508050(0x350)]),document['title']=_0x36534b;}));}};It=sn([Wt(0x0,_0x1dd505),Wt(0x1,_0x2711b7)],It);var an=Object['getOwnPropertyDescriptor'],on=(_0x11e461,_0x3b890f,_0x1d0dd9,_0x2af1dc)=>{var _0x4f5ff9=_0x1bf9e4;for(var _0x5e71ef=_0x2af1dc>0x1?void 0x0:_0x2af1dc?an(_0x3b890f,_0x1d0dd9):_0x3b890f,_0x440e48=_0x11e461[_0x4f5ff9(0x2fd)]-0x1,_0x54d3b8;_0x440e48>=0x0;_0x440e48--)(_0x54d3b8=_0x11e461[_0x440e48])&&(_0x5e71ef=_0x54d3b8(_0x5e71ef)||_0x5e71ef);return _0x5e71ef;},dt=(_0x249fe8,_0x2abfe3)=>(_0x3536d0,_0x27b3d8)=>_0x2abfe3(_0x3536d0,_0x27b3d8,_0x249fe8);let rt=class{constructor(_0x10cce2,_0x29a9d6,_0x2648cc){var _0xf37c0c=_0x1bf9e4;this[_0xf37c0c(0x1f9)]=_0x10cce2,this[_0xf37c0c(0x2e9)]=_0x29a9d6,this[_0xf37c0c(0x324)]=_0x2648cc,this[_0xf37c0c(0x299)]();}[_0x1bf9e4(0x299)](){var _0x3bd5f4=_0x1bf9e4;this[_0x3bd5f4(0x2e9)][_0x3bd5f4(0x43e)]({'priority':0x1,'interceptor':(_0x2ab186,_0x2e9258)=>_0x2e9258(_0x2ab186)[_0x3bd5f4(0x29b)](_0x114434(async _0x39971d=>{var _0x3b2399=_0x3bd5f4;const _0x2b6ccf=_0x39971d;if(_0x2b6ccf[_0x3b2399(0x412)]===0x191){if(typeof window>'u')throw new Error(_0x3b2399(0x19a));if(window[_0x3b2399(0x3c6)](this[_0x3b2399(0x324)]['t'](_0x3b2399(0x2fc)))){const _0x4826f7=window[_0x3b2399(0x28e)](window['location']['href']);window[_0x3b2399(0x318)][_0x3b2399(0x1c2)]=this['_getLoginPath']()+_0x3b2399(0x16e)+_0x4826f7;}}return _0x2b6ccf;}))});}['_getLoginPath'](){var _0x3e64f9=_0x1bf9e4,_0x232661,_0x51d5c3;const _0x347e62=this[_0x3e64f9(0x1f9)][_0x3e64f9(0x17d)](ys),_0x20fd90=this[_0x3e64f9(0x1f9)][_0x3e64f9(0x17d)](K);return(_0x51d5c3=(_0x232661=_0x20fd90==null?void 0x0:_0x20fd90['loginUrlKey'])!=null?_0x232661:_0x347e62)!=null?_0x51d5c3:Ns;}};rt=on([dt(0x0,_0x2711b7),dt(0x1,_0x1eb2b7(_0x4a6b11)),dt(0x2,_0x1eb2b7(_0x5855e2))],rt);var cn=Object[_0x1bf9e4(0x241)],hn=(_0x14280f,_0x1d87d3,_0x130ba6,_0x5a623b)=>{var _0x3c0bad=_0x1bf9e4;for(var _0x5bf946=_0x5a623b>0x1?void 0x0:_0x5a623b?cn(_0x1d87d3,_0x130ba6):_0x1d87d3,_0x48b6fa=_0x14280f[_0x3c0bad(0x2fd)]-0x1,_0x113eb1;_0x48b6fa>=0x0;_0x48b6fa--)(_0x113eb1=_0x14280f[_0x48b6fa])&&(_0x5bf946=_0x113eb1(_0x5bf946)||_0x5bf946);return _0x5bf946;},Kt=(_0x1a09bf,_0x8c8e6d)=>(_0x8ca19e,_0x3fbd51)=>_0x8c8e6d(_0x8ca19e,_0x3fbd51,_0x1a09bf);const Oi=_0x1bf9e4(0x359),_n=_0x1bf9e4(0x1d1);let Tt=class extends _0x16428c{constructor(_0x572199,_0x4d0487){var _0x5d6a0c=_0x1bf9e4;super(),this[_0x5d6a0c(0x448)]=_0x572199,this[_0x5d6a0c(0x1f9)]=_0x4d0487,this[_0x5d6a0c(0x338)]();}['_initMergeInterceptor'](){var _0x4e09c0=_0x1bf9e4;const _0xaa1a=this;this[_0x4e09c0(0x437)](this[_0x4e09c0(0x448)]['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':_0xf1eb0({'isMatch'(_0x2bb3c7){var _0x202d4e=_0x4e09c0,_0x1539d3;if(_0x2bb3c7[_0x202d4e(0x21a)]===_0x202d4e(0x1d5)&&((_0x1539d3=_0x2bb3c7['requestParams'])!=null&&_0x1539d3['body'])){const {objectID:_0x16814e,objectType:_0x32096b}=_0x2bb3c7[_0x202d4e(0x302)][_0x202d4e(0x457)]||{};if(!_0x16814e||_0x32096b===void 0x0)return!0x1;const _0x42f84e=_0xaa1a[_0x202d4e(0x31e)]()+'/'+_0x32096b+_0x202d4e(0x2c4)+_0x16814e+_0x202d4e(0x3c5);if(_0x2bb3c7[_0x202d4e(0x455)]===_0x42f84e)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x23abf2){var _0x14f952=_0x4e09c0,_0x188643;return(_0x188643=_0x23abf2[_0x14f952(0x302)])==null?void 0x0:_0x188643[_0x14f952(0x457)];},'mergeParamsToRequest'(_0x193be6,_0x5fb74d){var _0x194028=_0x4e09c0;const _0xcb6161=_0xaa1a[_0x194028(0x31e)]()+_0x194028(0x32b),_0x404628=_0x193be6['reduce']((_0x5cc7d7,_0x195ef7)=>{var _0xd92c70=_0x194028;const {unitID:_0x343526,objectID:_0x3862d7,objectType:_0x46a42e,actions:_0x77e0a0}=_0x195ef7;return _0x5cc7d7[_0x343526]||(_0x5cc7d7[_0x343526]={}),_0x5cc7d7[_0x343526][_0x3862d7]||(_0x5cc7d7[_0x343526][_0x3862d7]={'objectID':_0x3862d7,'objectType':_0x46a42e,'actions':[]}),_0x5cc7d7[_0x343526][_0x3862d7][_0xd92c70(0x364)]['push'](..._0x77e0a0),_0x5cc7d7;},{}),_0x5d21e1=[];for(const _0x50ae53 in _0x404628)for(const _0x4034e2 in _0x404628[_0x50ae53]){const {actions:_0x4df25d,objectType:_0x230a6e}=_0x404628[_0x50ae53][_0x4034e2],_0x143eea=[...new Set(_0x4df25d)];_0x5d21e1[_0x194028(0x284)]({'unitID':_0x50ae53,'objectID':_0x4034e2,'objectType':_0x230a6e,'actions':_0x143eea});}return new _0x109566(_0x194028(0x1d5),_0xcb6161,{'headers':_0x5fb74d['headers'],'withCredentials':_0x5fb74d[_0x194028(0x3f5)],'responseType':_0x5fb74d['responseType'],'body':{'requests':_0x5d21e1}});}},{'distributeResult'(_0x8804c0,_0x387582){var _0x31ae24=_0x4e09c0;const {objectActions:_0x2233b6}=_0x8804c0;return _0x387582[_0x31ae24(0x2aa)](_0x5704ec=>{var _0x5991f0=_0x31ae24;const {unitID:_0x598bec,objectID:_0x3c7960,actions:_0x5d67de}=_0x5704ec,_0x5ee71d=_0x2233b6['find'](_0x4f23a1=>_0x4f23a1[_0x5991f0(0x3fa)]===_0x598bec&&_0x4f23a1[_0x5991f0(0x2dc)]===_0x3c7960),_0xb5cc7c=_0x5d67de[_0x5991f0(0x2aa)](_0x398257=>_0x5ee71d==null?void 0x0:_0x5ee71d[_0x5991f0(0x364)][_0x5991f0(0x418)](_0x11aa86=>_0x11aa86['action']===_0x398257))[_0x5991f0(0x1ae)](_0xdfe45b=>!!_0xdfe45b);return{'config':_0x5704ec,'result':{'actions':_0xb5cc7c,'error':_0x8804c0[_0x5991f0(0x197)]}};});}})}));}[_0x1bf9e4(0x31e)](){var _0x5d47b8=_0x1bf9e4,_0xe85e5f,_0x2760ec;const _0x4028cb=this[_0x5d47b8(0x1f9)][_0x5d47b8(0x17d)](Oi),_0xc74ba5=this[_0x5d47b8(0x1f9)]['getConfig'](K);return(_0x2760ec=(_0xe85e5f=_0xc74ba5==null?void 0x0:_0xc74ba5[_0x5d47b8(0x313)])!=null?_0xe85e5f:_0x4028cb)!=null?_0x2760ec:_n;}async['create'](_0x66c55c){var _0x3146a1=_0x1bf9e4;const _0x3efb54=this[_0x3146a1(0x31e)]()+'/'+_0x66c55c[_0x3146a1(0x3a9)]+'/object';return(await this['_HTTPService'][_0x3146a1(0x22d)](_0x3efb54,{'body':_0x66c55c}))[_0x3146a1(0x457)][_0x3146a1(0x2dc)]||'';}async[_0x1bf9e4(0x2be)](_0x2d1f68){var _0x20edff=_0x1bf9e4;const _0x46b251=this['_getAPIPrefixPath']()+_0x20edff(0x2ae);return(await this[_0x20edff(0x448)][_0x20edff(0x22d)](_0x46b251,{'body':_0x2d1f68}))[_0x20edff(0x457)]['objects'];}async['update'](_0x4c0809){var _0x48daa5=_0x1bf9e4,_0x406061,_0x1b9ae7;const _0x5c5d07=this[_0x48daa5(0x31e)]()+'/'+_0x4c0809['objectType']+_0x48daa5(0x2c4)+_0x4c0809[_0x48daa5(0x2dc)],_0x20c57e=await this[_0x48daa5(0x448)][_0x48daa5(0x45e)](_0x5c5d07,{'body':_0x4c0809});if(((_0x1b9ae7=(_0x406061=_0x20c57e==null?void 0x0:_0x20c57e[_0x48daa5(0x457)])==null?void 0x0:_0x406061[_0x48daa5(0x197)])==null?void 0x0:_0x1b9ae7['code'])!==0x1)throw new Error(_0x48daa5(0x36b));}async['allowed'](_0x11d5d8){var _0x2f15b2=_0x1bf9e4;const _0x147283=this[_0x2f15b2(0x31e)]()+'/'+_0x11d5d8['objectType']+'/object/'+_0x11d5d8['objectID']+_0x2f15b2(0x3c5);return(await this[_0x2f15b2(0x448)]['post'](_0x147283,{'body':_0x11d5d8}))[_0x2f15b2(0x457)][_0x2f15b2(0x364)];}async['batchAllowed'](_0x12e522){var _0x2a5012=_0x1bf9e4;const _0x19021f=this[_0x2a5012(0x31e)]()+_0x2a5012(0x32b);return(await this[_0x2a5012(0x448)][_0x2a5012(0x22d)](_0x19021f,{'body':{'requests':_0x12e522}}))['body'][_0x2a5012(0x36a)];}async['listRoles'](_0x180f44){var _0x10e959=_0x1bf9e4;const _0x56d848=this[_0x10e959(0x31e)]()+'/'+_0x180f44[_0x10e959(0x3a9)]+'/role',_0x403087=await this[_0x10e959(0x448)][_0x10e959(0x22d)](_0x56d848,{'body':_0x180f44});return{'roles':_0x403087[_0x10e959(0x457)][_0x10e959(0x381)],'actions':_0x403087[_0x10e959(0x457)]['actions']};}async[_0x1bf9e4(0x325)](_0x150e28){var _0x218a1f=_0x1bf9e4;const _0x2a8fa6=this[_0x218a1f(0x31e)]()+_0x218a1f(0x401);await this[_0x218a1f(0x448)]['delete'](_0x2a8fa6,{'params':{'collaboratorID':_0x150e28[_0x218a1f(0x19e)],'objectID':_0x150e28['objectID'],'unitID':_0x150e28[_0x218a1f(0x3fa)]}});}async['updateCollaborator'](_0x1cc9d3){var _0x55249e=_0x1bf9e4;const _0x32368d=this[_0x55249e(0x31e)]()+_0x55249e(0x401);await this[_0x55249e(0x448)][_0x55249e(0x1ce)](_0x32368d,{'body':_0x1cc9d3});}async['createCollaborator'](_0x5a5ff3){var _0x24071e=_0x1bf9e4;const _0x34a82e=this[_0x24071e(0x31e)]()+_0x24071e(0x401);await this[_0x24071e(0x448)][_0x24071e(0x22d)](_0x34a82e,{'body':_0x5a5ff3});}async[_0x1bf9e4(0x178)](_0x4350e0){var _0x1ee7b9=_0x1bf9e4;const _0x124727=this[_0x1ee7b9(0x31e)]()+_0x1ee7b9(0x401);return(await this[_0x1ee7b9(0x448)][_0x1ee7b9(0x27c)](_0x124727,{'params':{'objectID':_0x4350e0[_0x1ee7b9(0x2dc)],'unitID':_0x4350e0['unitID']}}))[_0x1ee7b9(0x457)][_0x1ee7b9(0x3e5)];}async[_0x1bf9e4(0x413)](_0x57961e){var _0x3cff84=_0x1bf9e4;const _0x2082a7=this[_0x3cff84(0x31e)]()+_0x3cff84(0x401);await this[_0x3cff84(0x448)]['put'](_0x2082a7,{'body':_0x57961e});}};Tt=hn([Kt(0x0,_0x1eb2b7(_0x4a6b11)),Kt(0x1,_0x1eb2b7(_0x2711b7))],Tt);var ft=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function $e(_0x415c8a){var _0x58cdb3=_0x1bf9e4;return _0x415c8a&&_0x415c8a[_0x58cdb3(0x24a)]&&Object['prototype'][_0x58cdb3(0x15e)][_0x58cdb3(0x1a9)](_0x415c8a,_0x58cdb3(0x273))?_0x415c8a[_0x58cdb3(0x273)]:_0x415c8a;}var Ve={'exports':{}};function ln(_0x3d49e8){throw new Error('Could\x20not\x20dynamically\x20require\x20\x22'+_0x3d49e8+'\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.');}var Ge={'exports':{}},un=Ge[_0x1bf9e4(0x3b5)],qt;function te(){var _0x1358a0=_0x1bf9e4;return qt||(qt=0x1,function(_0x5d3e4c,_0x27b383){(function(_0x2b9f2e,_0x37716f){var _0x569cbd=_0xcbfd;_0x5d3e4c[_0x569cbd(0x3b5)]=_0x37716f();}(un,function(){var _0xb3f9ba=_0xb3f9ba||function(_0xccbacf,_0x1350c8){var _0xbb9a7d=_0xcbfd,_0xe4d6fa;if(typeof window<'u'&&window[_0xbb9a7d(0x439)]&&(_0xe4d6fa=window[_0xbb9a7d(0x439)]),typeof self<'u'&&self[_0xbb9a7d(0x439)]&&(_0xe4d6fa=self['crypto']),typeof globalThis<'u'&&globalThis['crypto']&&(_0xe4d6fa=globalThis[_0xbb9a7d(0x439)]),!_0xe4d6fa&&typeof window<'u'&&window['msCrypto']&&(_0xe4d6fa=window[_0xbb9a7d(0x1dd)]),!_0xe4d6fa&&typeof ft<'u'&&ft[_0xbb9a7d(0x439)]&&(_0xe4d6fa=ft[_0xbb9a7d(0x439)]),!_0xe4d6fa&&typeof ln==_0xbb9a7d(0x2b1))try{_0xe4d6fa=require(_0xbb9a7d(0x439));}catch{}var _0x851af4=function(){var _0x32a913=_0xbb9a7d;if(_0xe4d6fa){if(typeof _0xe4d6fa[_0x32a913(0x306)]==_0x32a913(0x2b1))try{return _0xe4d6fa[_0x32a913(0x306)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0xe4d6fa[_0x32a913(0x209)]==_0x32a913(0x2b1))try{return _0xe4d6fa[_0x32a913(0x209)](0x4)[_0x32a913(0x17b)]();}catch{}}throw new Error('Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.');},_0x3bd4bc=Object['create']||(function(){function _0x4665bb(){}return function(_0x5e079a){var _0x3863cc;return _0x4665bb['prototype']=_0x5e079a,_0x3863cc=new _0x4665bb(),_0x4665bb['prototype']=null,_0x3863cc;};}()),_0x47cf42={},_0x418408=_0x47cf42[_0xbb9a7d(0x461)]={},_0x331c68=_0x418408[_0xbb9a7d(0x3db)]=(function(){return{'extend':function(_0x3752e7){var _0x339eda=_0xcbfd,_0x3c24fa=_0x3bd4bc(this);return _0x3752e7&&_0x3c24fa[_0x339eda(0x172)](_0x3752e7),(!_0x3c24fa[_0x339eda(0x15e)](_0x339eda(0x299))||this[_0x339eda(0x299)]===_0x3c24fa[_0x339eda(0x299)])&&(_0x3c24fa['init']=function(){var _0x4dfce5=_0x339eda;_0x3c24fa['$super'][_0x4dfce5(0x299)][_0x4dfce5(0x458)](this,arguments);}),_0x3c24fa['init'][_0x339eda(0x1da)]=_0x3c24fa,_0x3c24fa[_0x339eda(0x2d6)]=this,_0x3c24fa;},'create':function(){var _0x2e7442=_0xcbfd,_0x1a7f0a=this[_0x2e7442(0x2a9)]();return _0x1a7f0a['init'][_0x2e7442(0x458)](_0x1a7f0a,arguments),_0x1a7f0a;},'init':function(){},'mixIn':function(_0x4f626d){var _0x3d014c=_0xcbfd;for(var _0x3a29c9 in _0x4f626d)_0x4f626d[_0x3d014c(0x15e)](_0x3a29c9)&&(this[_0x3a29c9]=_0x4f626d[_0x3a29c9]);_0x4f626d['hasOwnProperty'](_0x3d014c(0x3ff))&&(this[_0x3d014c(0x3ff)]=_0x4f626d[_0x3d014c(0x3ff)]);},'clone':function(){var _0x444c87=_0xcbfd;return this[_0x444c87(0x299)][_0x444c87(0x1da)][_0x444c87(0x2a9)](this);}};}()),_0x16eed5=_0x418408[_0xbb9a7d(0x3b1)]=_0x331c68['extend']({'init':function(_0x1a667f,_0x17fe2c){var _0x4ee58c=_0xbb9a7d;_0x1a667f=this['words']=_0x1a667f||[],_0x17fe2c!=_0x1350c8?this[_0x4ee58c(0x2ec)]=_0x17fe2c:this['sigBytes']=_0x1a667f[_0x4ee58c(0x2fd)]*0x4;},'toString':function(_0x200fb5){var _0x4218f9=_0xbb9a7d;return(_0x200fb5||_0x109c14)[_0x4218f9(0x379)](this);},'concat':function(_0x53edaa){var _0x152276=_0xbb9a7d,_0x5014f1=this[_0x152276(0x38f)],_0x1056d9=_0x53edaa[_0x152276(0x38f)],_0x21f9d4=this['sigBytes'],_0x2b0fb1=_0x53edaa['sigBytes'];if(this['clamp'](),_0x21f9d4%0x4)for(var _0x446f3b=0x0;_0x446f3b<_0x2b0fb1;_0x446f3b++){var _0x5e0dea=_0x1056d9[_0x446f3b>>>0x2]>>>0x18-_0x446f3b%0x4*0x8&0xff;_0x5014f1[_0x21f9d4+_0x446f3b>>>0x2]|=_0x5e0dea<<0x18-(_0x21f9d4+_0x446f3b)%0x4*0x8;}else{for(var _0x1ec2db=0x0;_0x1ec2db<_0x2b0fb1;_0x1ec2db+=0x4)_0x5014f1[_0x21f9d4+_0x1ec2db>>>0x2]=_0x1056d9[_0x1ec2db>>>0x2];}return this['sigBytes']+=_0x2b0fb1,this;},'clamp':function(){var _0x120eab=this['words'],_0x41ef19=this['sigBytes'];_0x120eab[_0x41ef19>>>0x2]&=0xffffffff<<0x20-_0x41ef19%0x4*0x8,_0x120eab['length']=_0xccbacf['ceil'](_0x41ef19/0x4);},'clone':function(){var _0x34401f=_0xbb9a7d,_0x37a196=_0x331c68[_0x34401f(0x36d)]['call'](this);return _0x37a196['words']=this['words'][_0x34401f(0x1cd)](0x0),_0x37a196;},'random':function(_0x1d8f8b){var _0x1fdd98=_0xbb9a7d;for(var _0x4accb1=[],_0x464547=0x0;_0x464547<_0x1d8f8b;_0x464547+=0x4)_0x4accb1[_0x1fdd98(0x284)](_0x851af4());return new _0x16eed5['init'](_0x4accb1,_0x1d8f8b);}}),_0x5cb7e0=_0x47cf42[_0xbb9a7d(0x24e)]={},_0x109c14=_0x5cb7e0[_0xbb9a7d(0x43f)]={'stringify':function(_0x3c5474){var _0x2b154b=_0xbb9a7d;for(var _0x2f3d30=_0x3c5474[_0x2b154b(0x38f)],_0x5732d5=_0x3c5474[_0x2b154b(0x2ec)],_0x60d073=[],_0x4220c=0x0;_0x4220c<_0x5732d5;_0x4220c++){var _0x3559cd=_0x2f3d30[_0x4220c>>>0x2]>>>0x18-_0x4220c%0x4*0x8&0xff;_0x60d073[_0x2b154b(0x284)]((_0x3559cd>>>0x4)[_0x2b154b(0x3ff)](0x10)),_0x60d073[_0x2b154b(0x284)]((_0x3559cd&0xf)['toString'](0x10));}return _0x60d073[_0x2b154b(0x349)]('');},'parse':function(_0x4a1410){var _0x2e0852=_0xbb9a7d;for(var _0x2cc6af=_0x4a1410[_0x2e0852(0x2fd)],_0x3beb5b=[],_0x226bc9=0x0;_0x226bc9<_0x2cc6af;_0x226bc9+=0x2)_0x3beb5b[_0x226bc9>>>0x3]|=parseInt(_0x4a1410[_0x2e0852(0x3da)](_0x226bc9,0x2),0x10)<<0x18-_0x226bc9%0x8*0x4;return new _0x16eed5[(_0x2e0852(0x299))](_0x3beb5b,_0x2cc6af/0x2);}},_0xee786d=_0x5cb7e0[_0xbb9a7d(0x361)]={'stringify':function(_0x495e91){var _0xa2151d=_0xbb9a7d;for(var _0x3fb968=_0x495e91['words'],_0x5bfe9b=_0x495e91[_0xa2151d(0x2ec)],_0x14fc23=[],_0x2aadcf=0x0;_0x2aadcf<_0x5bfe9b;_0x2aadcf++){var _0x3b0613=_0x3fb968[_0x2aadcf>>>0x2]>>>0x18-_0x2aadcf%0x4*0x8&0xff;_0x14fc23[_0xa2151d(0x284)](String[_0xa2151d(0x213)](_0x3b0613));}return _0x14fc23['join']('');},'parse':function(_0x376042){var _0x4c45d9=_0xbb9a7d;for(var _0x54802c=_0x376042[_0x4c45d9(0x2fd)],_0x2907b4=[],_0x27003e=0x0;_0x27003e<_0x54802c;_0x27003e++)_0x2907b4[_0x27003e>>>0x2]|=(_0x376042['charCodeAt'](_0x27003e)&0xff)<<0x18-_0x27003e%0x4*0x8;return new _0x16eed5[(_0x4c45d9(0x299))](_0x2907b4,_0x54802c);}},_0x202988=_0x5cb7e0[_0xbb9a7d(0x2f4)]={'stringify':function(_0x36d292){try{return decodeURIComponent(escape(_0xee786d['stringify'](_0x36d292)));}catch{throw new Error('Malformed\x20UTF-8\x20data');}},'parse':function(_0x50e4fe){var _0x2c068d=_0xbb9a7d;return _0xee786d[_0x2c068d(0x2d3)](unescape(encodeURIComponent(_0x50e4fe)));}},_0x5af68f=_0x418408[_0xbb9a7d(0x233)]=_0x331c68[_0xbb9a7d(0x2a9)]({'reset':function(){var _0x5d46f1=_0xbb9a7d;this[_0x5d46f1(0x1d7)]=new _0x16eed5['init'](),this[_0x5d46f1(0x460)]=0x0;},'_append':function(_0x520675){var _0x5a7df1=_0xbb9a7d;typeof _0x520675==_0x5a7df1(0x33e)&&(_0x520675=_0x202988['parse'](_0x520675)),this[_0x5a7df1(0x1d7)][_0x5a7df1(0x43b)](_0x520675),this[_0x5a7df1(0x460)]+=_0x520675['sigBytes'];},'_process':function(_0xf7a768){var _0x159abf=_0xbb9a7d,_0x10783a,_0x4cb0dd=this[_0x159abf(0x1d7)],_0x58a4b0=_0x4cb0dd[_0x159abf(0x38f)],_0x41bf6b=_0x4cb0dd['sigBytes'],_0x5970b8=this[_0x159abf(0x30c)],_0x4e0a89=_0x5970b8*0x4,_0x22fcc6=_0x41bf6b/_0x4e0a89;_0xf7a768?_0x22fcc6=_0xccbacf[_0x159abf(0x20c)](_0x22fcc6):_0x22fcc6=_0xccbacf[_0x159abf(0x196)]((_0x22fcc6|0x0)-this[_0x159abf(0x28d)],0x0);var _0x5e9c72=_0x22fcc6*_0x5970b8,_0x4ab50d=_0xccbacf[_0x159abf(0x343)](_0x5e9c72*0x4,_0x41bf6b);if(_0x5e9c72){for(var _0x5f5297=0x0;_0x5f5297<_0x5e9c72;_0x5f5297+=_0x5970b8)this[_0x159abf(0x31b)](_0x58a4b0,_0x5f5297);_0x10783a=_0x58a4b0[_0x159abf(0x3c9)](0x0,_0x5e9c72),_0x4cb0dd['sigBytes']-=_0x4ab50d;}return new _0x16eed5[(_0x159abf(0x299))](_0x10783a,_0x4ab50d);},'clone':function(){var _0x221798=_0xbb9a7d,_0x5cd30d=_0x331c68[_0x221798(0x36d)][_0x221798(0x1a9)](this);return _0x5cd30d[_0x221798(0x1d7)]=this[_0x221798(0x1d7)][_0x221798(0x36d)](),_0x5cd30d;},'_minBufferSize':0x0});_0x418408['Hasher']=_0x5af68f[_0xbb9a7d(0x2a9)]({'cfg':_0x331c68['extend'](),'init':function(_0x49660b){var _0x2e9885=_0xbb9a7d;this[_0x2e9885(0x436)]=this[_0x2e9885(0x436)][_0x2e9885(0x2a9)](_0x49660b),this[_0x2e9885(0x162)]();},'reset':function(){var _0x59a4d5=_0xbb9a7d;_0x5af68f[_0x59a4d5(0x162)]['call'](this),this['_doReset']();},'update':function(_0x1eb81b){var _0xb39f1c=_0xbb9a7d;return this[_0xb39f1c(0x189)](_0x1eb81b),this[_0xb39f1c(0x3bb)](),this;},'finalize':function(_0x40cc73){var _0x1acd16=_0xbb9a7d;_0x40cc73&&this[_0x1acd16(0x189)](_0x40cc73);var _0x32c328=this[_0x1acd16(0x1f2)]();return _0x32c328;},'blockSize':0x10,'_createHelper':function(_0x1cfcf3){return function(_0x29d08b,_0x4af783){var _0x2a131f=_0xcbfd;return new _0x1cfcf3['init'](_0x4af783)[_0x2a131f(0x43a)](_0x29d08b);};},'_createHmacHelper':function(_0x99a835){return function(_0x324505,_0x2cff30){var _0x25d264=_0xcbfd;return new _0xa49750['HMAC'][(_0x25d264(0x299))](_0x99a835,_0x2cff30)[_0x25d264(0x43a)](_0x324505);};}});var _0xa49750=_0x47cf42[_0xbb9a7d(0x293)]={};return _0x47cf42;}(Math);return _0xb3f9ba;}));}(Ge)),Ge[_0x1358a0(0x3b5)];}var Ye={'exports':{}},dn=Ye[_0x1bf9e4(0x3b5)],zt;function bi(){var _0x3b2815=_0x1bf9e4;return zt||(zt=0x1,function(_0x4c2400,_0x1359bf){(function(_0x537f21,_0x3c5aab){var _0xd7e7d=_0xcbfd;_0x4c2400[_0xd7e7d(0x3b5)]=_0x3c5aab(te());}(dn,function(_0x57d276){return(function(){var _0x50cf9a=_0xcbfd,_0x769962=_0x57d276,_0x41862d=_0x769962[_0x50cf9a(0x461)],_0x2f1966=_0x41862d[_0x50cf9a(0x3b1)],_0x40dc49=_0x769962[_0x50cf9a(0x24e)];_0x40dc49[_0x50cf9a(0x2a6)]={'stringify':function(_0x45a28f){var _0x2bf672=_0x50cf9a,_0x3532fa=_0x45a28f['words'],_0x29acb0=_0x45a28f['sigBytes'],_0x5552cf=this[_0x2bf672(0x2ab)];_0x45a28f[_0x2bf672(0x22f)]();for(var _0x47a239=[],_0x5eef27=0x0;_0x5eef27<_0x29acb0;_0x5eef27+=0x3)for(var _0x4e676b=_0x3532fa[_0x5eef27>>>0x2]>>>0x18-_0x5eef27%0x4*0x8&0xff,_0x16cc33=_0x3532fa[_0x5eef27+0x1>>>0x2]>>>0x18-(_0x5eef27+0x1)%0x4*0x8&0xff,_0x5129b2=_0x3532fa[_0x5eef27+0x2>>>0x2]>>>0x18-(_0x5eef27+0x2)%0x4*0x8&0xff,_0x324075=_0x4e676b<<0x10|_0x16cc33<<0x8|_0x5129b2,_0x3b0289=0x0;_0x3b0289<0x4&&_0x5eef27+_0x3b0289*0.75<_0x29acb0;_0x3b0289++)_0x47a239[_0x2bf672(0x284)](_0x5552cf[_0x2bf672(0x407)](_0x324075>>>0x6*(0x3-_0x3b0289)&0x3f));var _0x2d2e96=_0x5552cf[_0x2bf672(0x407)](0x40);if(_0x2d2e96){for(;_0x47a239['length']%0x4;)_0x47a239[_0x2bf672(0x284)](_0x2d2e96);}return _0x47a239[_0x2bf672(0x349)]('');},'parse':function(_0x2cb515){var _0x4ef438=_0x50cf9a,_0x3b2c24=_0x2cb515[_0x4ef438(0x2fd)],_0x4ce028=this[_0x4ef438(0x2ab)],_0x2d25f4=this[_0x4ef438(0x454)];if(!_0x2d25f4){_0x2d25f4=this[_0x4ef438(0x454)]=[];for(var _0x541b57=0x0;_0x541b57<_0x4ce028['length'];_0x541b57++)_0x2d25f4[_0x4ce028[_0x4ef438(0x2e4)](_0x541b57)]=_0x541b57;}var _0x53de13=_0x4ce028[_0x4ef438(0x407)](0x40);if(_0x53de13){var _0x20817c=_0x2cb515[_0x4ef438(0x3f0)](_0x53de13);_0x20817c!==-0x1&&(_0x3b2c24=_0x20817c);}return _0x48523c(_0x2cb515,_0x3b2c24,_0x2d25f4);},'_map':_0x50cf9a(0x186)};function _0x48523c(_0x8bfcce,_0x1785cf,_0x61a688){var _0x498a2c=_0x50cf9a;for(var _0x3eb7ff=[],_0x177f87=0x0,_0x257fb7=0x0;_0x257fb7<_0x1785cf;_0x257fb7++)if(_0x257fb7%0x4){var _0xb30f0=_0x61a688[_0x8bfcce[_0x498a2c(0x2e4)](_0x257fb7-0x1)]<<_0x257fb7%0x4*0x2,_0x56ccb5=_0x61a688[_0x8bfcce[_0x498a2c(0x2e4)](_0x257fb7)]>>>0x6-_0x257fb7%0x4*0x2,_0x5133bd=_0xb30f0|_0x56ccb5;_0x3eb7ff[_0x177f87>>>0x2]|=_0x5133bd<<0x18-_0x177f87%0x4*0x8,_0x177f87++;}return _0x2f1966[_0x498a2c(0x168)](_0x3eb7ff,_0x177f87);}}()),_0x57d276['enc']['Base64'];}));}(Ye)),Ye[_0x3b2815(0x3b5)];}var We={'exports':{}},fn=We['exports'],Jt;function vn(){var _0x2bca4e=_0x1bf9e4;return Jt||(Jt=0x1,function(_0x401365,_0xe671ca){(function(_0x324a8c,_0x2fdc9c){_0x401365['exports']=_0x2fdc9c(te());}(fn,function(_0x372987){var _0x13b809=_0xcbfd;return function(_0x1628b4){var _0x202f53=_0xcbfd,_0x1a927b=_0x372987,_0x30bb63=_0x1a927b['lib'],_0xd75c3b=_0x30bb63['WordArray'],_0x1b3059=_0x30bb63[_0x202f53(0x21e)],_0x49af1d=_0x1a927b[_0x202f53(0x293)],_0x5e8ce2=[];(function(){var _0x1db960=_0x202f53;for(var _0xc0815d=0x0;_0xc0815d<0x40;_0xc0815d++)_0x5e8ce2[_0xc0815d]=_0x1628b4[_0x1db960(0x35c)](_0x1628b4[_0x1db960(0x2e7)](_0xc0815d+0x1))*0x100000000|0x0;}());var _0x4dc5b5=_0x49af1d['MD5']=_0x1b3059[_0x202f53(0x2a9)]({'_doReset':function(){this['_hash']=new _0xd75c3b['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x2a27ff,_0x113218){var _0x28aa75=_0x202f53;for(var _0x59344f=0x0;_0x59344f<0x10;_0x59344f++){var _0x1d65c8=_0x113218+_0x59344f,_0x2b2eb7=_0x2a27ff[_0x1d65c8];_0x2a27ff[_0x1d65c8]=(_0x2b2eb7<<0x8|_0x2b2eb7>>>0x18)&0xff00ff|(_0x2b2eb7<<0x18|_0x2b2eb7>>>0x8)&0xff00ff00;}var _0x4ceeb5=this[_0x28aa75(0x456)][_0x28aa75(0x38f)],_0x4a4b34=_0x2a27ff[_0x113218+0x0],_0xc67083=_0x2a27ff[_0x113218+0x1],_0x3b56f3=_0x2a27ff[_0x113218+0x2],_0x302542=_0x2a27ff[_0x113218+0x3],_0x465141=_0x2a27ff[_0x113218+0x4],_0x58f4ed=_0x2a27ff[_0x113218+0x5],_0x2e73e5=_0x2a27ff[_0x113218+0x6],_0x402477=_0x2a27ff[_0x113218+0x7],_0x48ec0d=_0x2a27ff[_0x113218+0x8],_0x47927b=_0x2a27ff[_0x113218+0x9],_0x2cd41d=_0x2a27ff[_0x113218+0xa],_0x16ce00=_0x2a27ff[_0x113218+0xb],_0xbd5fec=_0x2a27ff[_0x113218+0xc],_0x24e94d=_0x2a27ff[_0x113218+0xd],_0x1f587a=_0x2a27ff[_0x113218+0xe],_0x377c65=_0x2a27ff[_0x113218+0xf],_0x357525=_0x4ceeb5[0x0],_0x1927ed=_0x4ceeb5[0x1],_0x4196d3=_0x4ceeb5[0x2],_0x3a6bb0=_0x4ceeb5[0x3];_0x357525=_0x214677(_0x357525,_0x1927ed,_0x4196d3,_0x3a6bb0,_0x4a4b34,0x7,_0x5e8ce2[0x0]),_0x3a6bb0=_0x214677(_0x3a6bb0,_0x357525,_0x1927ed,_0x4196d3,_0xc67083,0xc,_0x5e8ce2[0x1]),_0x4196d3=_0x214677(_0x4196d3,_0x3a6bb0,_0x357525,_0x1927ed,_0x3b56f3,0x11,_0x5e8ce2[0x2]),_0x1927ed=_0x214677(_0x1927ed,_0x4196d3,_0x3a6bb0,_0x357525,_0x302542,0x16,_0x5e8ce2[0x3]),_0x357525=_0x214677(_0x357525,_0x1927ed,_0x4196d3,_0x3a6bb0,_0x465141,0x7,_0x5e8ce2[0x4]),_0x3a6bb0=_0x214677(_0x3a6bb0,_0x357525,_0x1927ed,_0x4196d3,_0x58f4ed,0xc,_0x5e8ce2[0x5]),_0x4196d3=_0x214677(_0x4196d3,_0x3a6bb0,_0x357525,_0x1927ed,_0x2e73e5,0x11,_0x5e8ce2[0x6]),_0x1927ed=_0x214677(_0x1927ed,_0x4196d3,_0x3a6bb0,_0x357525,_0x402477,0x16,_0x5e8ce2[0x7]),_0x357525=_0x214677(_0x357525,_0x1927ed,_0x4196d3,_0x3a6bb0,_0x48ec0d,0x7,_0x5e8ce2[0x8]),_0x3a6bb0=_0x214677(_0x3a6bb0,_0x357525,_0x1927ed,_0x4196d3,_0x47927b,0xc,_0x5e8ce2[0x9]),_0x4196d3=_0x214677(_0x4196d3,_0x3a6bb0,_0x357525,_0x1927ed,_0x2cd41d,0x11,_0x5e8ce2[0xa]),_0x1927ed=_0x214677(_0x1927ed,_0x4196d3,_0x3a6bb0,_0x357525,_0x16ce00,0x16,_0x5e8ce2[0xb]),_0x357525=_0x214677(_0x357525,_0x1927ed,_0x4196d3,_0x3a6bb0,_0xbd5fec,0x7,_0x5e8ce2[0xc]),_0x3a6bb0=_0x214677(_0x3a6bb0,_0x357525,_0x1927ed,_0x4196d3,_0x24e94d,0xc,_0x5e8ce2[0xd]),_0x4196d3=_0x214677(_0x4196d3,_0x3a6bb0,_0x357525,_0x1927ed,_0x1f587a,0x11,_0x5e8ce2[0xe]),_0x1927ed=_0x214677(_0x1927ed,_0x4196d3,_0x3a6bb0,_0x357525,_0x377c65,0x16,_0x5e8ce2[0xf]),_0x357525=_0x5c0ac9(_0x357525,_0x1927ed,_0x4196d3,_0x3a6bb0,_0xc67083,0x5,_0x5e8ce2[0x10]),_0x3a6bb0=_0x5c0ac9(_0x3a6bb0,_0x357525,_0x1927ed,_0x4196d3,_0x2e73e5,0x9,_0x5e8ce2[0x11]),_0x4196d3=_0x5c0ac9(_0x4196d3,_0x3a6bb0,_0x357525,_0x1927ed,_0x16ce00,0xe,_0x5e8ce2[0x12]),_0x1927ed=_0x5c0ac9(_0x1927ed,_0x4196d3,_0x3a6bb0,_0x357525,_0x4a4b34,0x14,_0x5e8ce2[0x13]),_0x357525=_0x5c0ac9(_0x357525,_0x1927ed,_0x4196d3,_0x3a6bb0,_0x58f4ed,0x5,_0x5e8ce2[0x14]),_0x3a6bb0=_0x5c0ac9(_0x3a6bb0,_0x357525,_0x1927ed,_0x4196d3,_0x2cd41d,0x9,_0x5e8ce2[0x15]),_0x4196d3=_0x5c0ac9(_0x4196d3,_0x3a6bb0,_0x357525,_0x1927ed,_0x377c65,0xe,_0x5e8ce2[0x16]),_0x1927ed=_0x5c0ac9(_0x1927ed,_0x4196d3,_0x3a6bb0,_0x357525,_0x465141,0x14,_0x5e8ce2[0x17]),_0x357525=_0x5c0ac9(_0x357525,_0x1927ed,_0x4196d3,_0x3a6bb0,_0x47927b,0x5,_0x5e8ce2[0x18]),_0x3a6bb0=_0x5c0ac9(_0x3a6bb0,_0x357525,_0x1927ed,_0x4196d3,_0x1f587a,0x9,_0x5e8ce2[0x19]),_0x4196d3=_0x5c0ac9(_0x4196d3,_0x3a6bb0,_0x357525,_0x1927ed,_0x302542,0xe,_0x5e8ce2[0x1a]),_0x1927ed=_0x5c0ac9(_0x1927ed,_0x4196d3,_0x3a6bb0,_0x357525,_0x48ec0d,0x14,_0x5e8ce2[0x1b]),_0x357525=_0x5c0ac9(_0x357525,_0x1927ed,_0x4196d3,_0x3a6bb0,_0x24e94d,0x5,_0x5e8ce2[0x1c]),_0x3a6bb0=_0x5c0ac9(_0x3a6bb0,_0x357525,_0x1927ed,_0x4196d3,_0x3b56f3,0x9,_0x5e8ce2[0x1d]),_0x4196d3=_0x5c0ac9(_0x4196d3,_0x3a6bb0,_0x357525,_0x1927ed,_0x402477,0xe,_0x5e8ce2[0x1e]),_0x1927ed=_0x5c0ac9(_0x1927ed,_0x4196d3,_0x3a6bb0,_0x357525,_0xbd5fec,0x14,_0x5e8ce2[0x1f]),_0x357525=_0x1518d9(_0x357525,_0x1927ed,_0x4196d3,_0x3a6bb0,_0x58f4ed,0x4,_0x5e8ce2[0x20]),_0x3a6bb0=_0x1518d9(_0x3a6bb0,_0x357525,_0x1927ed,_0x4196d3,_0x48ec0d,0xb,_0x5e8ce2[0x21]),_0x4196d3=_0x1518d9(_0x4196d3,_0x3a6bb0,_0x357525,_0x1927ed,_0x16ce00,0x10,_0x5e8ce2[0x22]),_0x1927ed=_0x1518d9(_0x1927ed,_0x4196d3,_0x3a6bb0,_0x357525,_0x1f587a,0x17,_0x5e8ce2[0x23]),_0x357525=_0x1518d9(_0x357525,_0x1927ed,_0x4196d3,_0x3a6bb0,_0xc67083,0x4,_0x5e8ce2[0x24]),_0x3a6bb0=_0x1518d9(_0x3a6bb0,_0x357525,_0x1927ed,_0x4196d3,_0x465141,0xb,_0x5e8ce2[0x25]),_0x4196d3=_0x1518d9(_0x4196d3,_0x3a6bb0,_0x357525,_0x1927ed,_0x402477,0x10,_0x5e8ce2[0x26]),_0x1927ed=_0x1518d9(_0x1927ed,_0x4196d3,_0x3a6bb0,_0x357525,_0x2cd41d,0x17,_0x5e8ce2[0x27]),_0x357525=_0x1518d9(_0x357525,_0x1927ed,_0x4196d3,_0x3a6bb0,_0x24e94d,0x4,_0x5e8ce2[0x28]),_0x3a6bb0=_0x1518d9(_0x3a6bb0,_0x357525,_0x1927ed,_0x4196d3,_0x4a4b34,0xb,_0x5e8ce2[0x29]),_0x4196d3=_0x1518d9(_0x4196d3,_0x3a6bb0,_0x357525,_0x1927ed,_0x302542,0x10,_0x5e8ce2[0x2a]),_0x1927ed=_0x1518d9(_0x1927ed,_0x4196d3,_0x3a6bb0,_0x357525,_0x2e73e5,0x17,_0x5e8ce2[0x2b]),_0x357525=_0x1518d9(_0x357525,_0x1927ed,_0x4196d3,_0x3a6bb0,_0x47927b,0x4,_0x5e8ce2[0x2c]),_0x3a6bb0=_0x1518d9(_0x3a6bb0,_0x357525,_0x1927ed,_0x4196d3,_0xbd5fec,0xb,_0x5e8ce2[0x2d]),_0x4196d3=_0x1518d9(_0x4196d3,_0x3a6bb0,_0x357525,_0x1927ed,_0x377c65,0x10,_0x5e8ce2[0x2e]),_0x1927ed=_0x1518d9(_0x1927ed,_0x4196d3,_0x3a6bb0,_0x357525,_0x3b56f3,0x17,_0x5e8ce2[0x2f]),_0x357525=_0xc7f86b(_0x357525,_0x1927ed,_0x4196d3,_0x3a6bb0,_0x4a4b34,0x6,_0x5e8ce2[0x30]),_0x3a6bb0=_0xc7f86b(_0x3a6bb0,_0x357525,_0x1927ed,_0x4196d3,_0x402477,0xa,_0x5e8ce2[0x31]),_0x4196d3=_0xc7f86b(_0x4196d3,_0x3a6bb0,_0x357525,_0x1927ed,_0x1f587a,0xf,_0x5e8ce2[0x32]),_0x1927ed=_0xc7f86b(_0x1927ed,_0x4196d3,_0x3a6bb0,_0x357525,_0x58f4ed,0x15,_0x5e8ce2[0x33]),_0x357525=_0xc7f86b(_0x357525,_0x1927ed,_0x4196d3,_0x3a6bb0,_0xbd5fec,0x6,_0x5e8ce2[0x34]),_0x3a6bb0=_0xc7f86b(_0x3a6bb0,_0x357525,_0x1927ed,_0x4196d3,_0x302542,0xa,_0x5e8ce2[0x35]),_0x4196d3=_0xc7f86b(_0x4196d3,_0x3a6bb0,_0x357525,_0x1927ed,_0x2cd41d,0xf,_0x5e8ce2[0x36]),_0x1927ed=_0xc7f86b(_0x1927ed,_0x4196d3,_0x3a6bb0,_0x357525,_0xc67083,0x15,_0x5e8ce2[0x37]),_0x357525=_0xc7f86b(_0x357525,_0x1927ed,_0x4196d3,_0x3a6bb0,_0x48ec0d,0x6,_0x5e8ce2[0x38]),_0x3a6bb0=_0xc7f86b(_0x3a6bb0,_0x357525,_0x1927ed,_0x4196d3,_0x377c65,0xa,_0x5e8ce2[0x39]),_0x4196d3=_0xc7f86b(_0x4196d3,_0x3a6bb0,_0x357525,_0x1927ed,_0x2e73e5,0xf,_0x5e8ce2[0x3a]),_0x1927ed=_0xc7f86b(_0x1927ed,_0x4196d3,_0x3a6bb0,_0x357525,_0x24e94d,0x15,_0x5e8ce2[0x3b]),_0x357525=_0xc7f86b(_0x357525,_0x1927ed,_0x4196d3,_0x3a6bb0,_0x465141,0x6,_0x5e8ce2[0x3c]),_0x3a6bb0=_0xc7f86b(_0x3a6bb0,_0x357525,_0x1927ed,_0x4196d3,_0x16ce00,0xa,_0x5e8ce2[0x3d]),_0x4196d3=_0xc7f86b(_0x4196d3,_0x3a6bb0,_0x357525,_0x1927ed,_0x3b56f3,0xf,_0x5e8ce2[0x3e]),_0x1927ed=_0xc7f86b(_0x1927ed,_0x4196d3,_0x3a6bb0,_0x357525,_0x47927b,0x15,_0x5e8ce2[0x3f]),_0x4ceeb5[0x0]=_0x4ceeb5[0x0]+_0x357525|0x0,_0x4ceeb5[0x1]=_0x4ceeb5[0x1]+_0x1927ed|0x0,_0x4ceeb5[0x2]=_0x4ceeb5[0x2]+_0x4196d3|0x0,_0x4ceeb5[0x3]=_0x4ceeb5[0x3]+_0x3a6bb0|0x0;},'_doFinalize':function(){var _0x2beb19=_0x202f53,_0x5bf8d2=this[_0x2beb19(0x1d7)],_0x5689ea=_0x5bf8d2[_0x2beb19(0x38f)],_0x2cc957=this[_0x2beb19(0x460)]*0x8,_0x14cc13=_0x5bf8d2[_0x2beb19(0x2ec)]*0x8;_0x5689ea[_0x14cc13>>>0x5]|=0x80<<0x18-_0x14cc13%0x20;var _0x3931d5=_0x1628b4['floor'](_0x2cc957/0x100000000),_0x31d9d3=_0x2cc957;_0x5689ea[(_0x14cc13+0x40>>>0x9<<0x4)+0xf]=(_0x3931d5<<0x8|_0x3931d5>>>0x18)&0xff00ff|(_0x3931d5<<0x18|_0x3931d5>>>0x8)&0xff00ff00,_0x5689ea[(_0x14cc13+0x40>>>0x9<<0x4)+0xe]=(_0x31d9d3<<0x8|_0x31d9d3>>>0x18)&0xff00ff|(_0x31d9d3<<0x18|_0x31d9d3>>>0x8)&0xff00ff00,_0x5bf8d2[_0x2beb19(0x2ec)]=(_0x5689ea[_0x2beb19(0x2fd)]+0x1)*0x4,this[_0x2beb19(0x3bb)]();for(var _0x41da3d=this[_0x2beb19(0x456)],_0x4944ef=_0x41da3d['words'],_0x43b357=0x0;_0x43b357<0x4;_0x43b357++){var _0x16362f=_0x4944ef[_0x43b357];_0x4944ef[_0x43b357]=(_0x16362f<<0x8|_0x16362f>>>0x18)&0xff00ff|(_0x16362f<<0x18|_0x16362f>>>0x8)&0xff00ff00;}return _0x41da3d;},'clone':function(){var _0x177646=_0x202f53,_0x5e48d9=_0x1b3059['clone'][_0x177646(0x1a9)](this);return _0x5e48d9[_0x177646(0x456)]=this[_0x177646(0x456)]['clone'](),_0x5e48d9;}});function _0x214677(_0x256041,_0x5d8ad2,_0x1b5026,_0x34ee93,_0x202d26,_0x377dc0,_0x479acd){var _0x496f90=_0x256041+(_0x5d8ad2&_0x1b5026|~_0x5d8ad2&_0x34ee93)+_0x202d26+_0x479acd;return(_0x496f90<<_0x377dc0|_0x496f90>>>0x20-_0x377dc0)+_0x5d8ad2;}function _0x5c0ac9(_0x1c072d,_0x28eaa2,_0x5f59ec,_0x2361a9,_0x1f5808,_0x148e01,_0x206e7d){var _0x33f7e1=_0x1c072d+(_0x28eaa2&_0x2361a9|_0x5f59ec&~_0x2361a9)+_0x1f5808+_0x206e7d;return(_0x33f7e1<<_0x148e01|_0x33f7e1>>>0x20-_0x148e01)+_0x28eaa2;}function _0x1518d9(_0x53c9c3,_0x48e940,_0x1964d4,_0x32bc47,_0x30f6a8,_0x5836a4,_0x4c6d95){var _0x1c18a1=_0x53c9c3+(_0x48e940^_0x1964d4^_0x32bc47)+_0x30f6a8+_0x4c6d95;return(_0x1c18a1<<_0x5836a4|_0x1c18a1>>>0x20-_0x5836a4)+_0x48e940;}function _0xc7f86b(_0x46d401,_0x4e026a,_0x2ccdb8,_0x5c3df6,_0x5de5cf,_0x8363f8,_0x3408bc){var _0x43e872=_0x46d401+(_0x2ccdb8^(_0x4e026a|~_0x5c3df6))+_0x5de5cf+_0x3408bc;return(_0x43e872<<_0x8363f8|_0x43e872>>>0x20-_0x8363f8)+_0x4e026a;}_0x1a927b[_0x202f53(0x191)]=_0x1b3059[_0x202f53(0x3d4)](_0x4dc5b5),_0x1a927b[_0x202f53(0x3e6)]=_0x1b3059['_createHmacHelper'](_0x4dc5b5);}(Math),_0x372987[_0x13b809(0x191)];}));}(We)),We[_0x2bca4e(0x3b5)];}var Ke={'exports':{}},qe={'exports':{}},pn=qe[_0x1bf9e4(0x3b5)],Xt;function mn(){var _0x5ac1f5=_0x1bf9e4;return Xt||(Xt=0x1,function(_0x4d768f,_0x360f3e){(function(_0x4b59b8,_0x18c516){var _0x188589=_0xcbfd;_0x4d768f[_0x188589(0x3b5)]=_0x18c516(te());}(pn,function(_0x29adf4){var _0x395387=_0xcbfd;return(function(){var _0x5b0567=_0xcbfd,_0x5e098b=_0x29adf4,_0x58173c=_0x5e098b[_0x5b0567(0x461)],_0x4bd8a7=_0x58173c[_0x5b0567(0x3b1)],_0x144509=_0x58173c[_0x5b0567(0x21e)],_0x3a60a7=_0x5e098b[_0x5b0567(0x293)],_0x4d25c8=[],_0xea4bd1=_0x3a60a7[_0x5b0567(0x368)]=_0x144509[_0x5b0567(0x2a9)]({'_doReset':function(){var _0x23764d=_0x5b0567;this[_0x23764d(0x456)]=new _0x4bd8a7[(_0x23764d(0x299))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x4e042c,_0x3c5272){var _0xe9b65f=_0x5b0567;for(var _0x527f8f=this[_0xe9b65f(0x456)][_0xe9b65f(0x38f)],_0x474b73=_0x527f8f[0x0],_0x6769cb=_0x527f8f[0x1],_0x4b646c=_0x527f8f[0x2],_0x23ac38=_0x527f8f[0x3],_0x20ec9f=_0x527f8f[0x4],_0x4bf111=0x0;_0x4bf111<0x50;_0x4bf111++){if(_0x4bf111<0x10)_0x4d25c8[_0x4bf111]=_0x4e042c[_0x3c5272+_0x4bf111]|0x0;else{var _0x164e96=_0x4d25c8[_0x4bf111-0x3]^_0x4d25c8[_0x4bf111-0x8]^_0x4d25c8[_0x4bf111-0xe]^_0x4d25c8[_0x4bf111-0x10];_0x4d25c8[_0x4bf111]=_0x164e96<<0x1|_0x164e96>>>0x1f;}var _0x144643=(_0x474b73<<0x5|_0x474b73>>>0x1b)+_0x20ec9f+_0x4d25c8[_0x4bf111];_0x4bf111<0x14?_0x144643+=(_0x6769cb&_0x4b646c|~_0x6769cb&_0x23ac38)+0x5a827999:_0x4bf111<0x28?_0x144643+=(_0x6769cb^_0x4b646c^_0x23ac38)+0x6ed9eba1:_0x4bf111<0x3c?_0x144643+=(_0x6769cb&_0x4b646c|_0x6769cb&_0x23ac38|_0x4b646c&_0x23ac38)-0x70e44324:_0x144643+=(_0x6769cb^_0x4b646c^_0x23ac38)-0x359d3e2a,_0x20ec9f=_0x23ac38,_0x23ac38=_0x4b646c,_0x4b646c=_0x6769cb<<0x1e|_0x6769cb>>>0x2,_0x6769cb=_0x474b73,_0x474b73=_0x144643;}_0x527f8f[0x0]=_0x527f8f[0x0]+_0x474b73|0x0,_0x527f8f[0x1]=_0x527f8f[0x1]+_0x6769cb|0x0,_0x527f8f[0x2]=_0x527f8f[0x2]+_0x4b646c|0x0,_0x527f8f[0x3]=_0x527f8f[0x3]+_0x23ac38|0x0,_0x527f8f[0x4]=_0x527f8f[0x4]+_0x20ec9f|0x0;},'_doFinalize':function(){var _0x27d050=_0x5b0567,_0x3cfa6d=this['_data'],_0xd8c82f=_0x3cfa6d['words'],_0x42684c=this[_0x27d050(0x460)]*0x8,_0x5cd1a7=_0x3cfa6d[_0x27d050(0x2ec)]*0x8;return _0xd8c82f[_0x5cd1a7>>>0x5]|=0x80<<0x18-_0x5cd1a7%0x20,_0xd8c82f[(_0x5cd1a7+0x40>>>0x9<<0x4)+0xe]=Math[_0x27d050(0x21f)](_0x42684c/0x100000000),_0xd8c82f[(_0x5cd1a7+0x40>>>0x9<<0x4)+0xf]=_0x42684c,_0x3cfa6d['sigBytes']=_0xd8c82f[_0x27d050(0x2fd)]*0x4,this[_0x27d050(0x3bb)](),this[_0x27d050(0x456)];},'clone':function(){var _0x36537a=_0x5b0567,_0x15a62f=_0x144509[_0x36537a(0x36d)][_0x36537a(0x1a9)](this);return _0x15a62f[_0x36537a(0x456)]=this[_0x36537a(0x456)][_0x36537a(0x36d)](),_0x15a62f;}});_0x5e098b[_0x5b0567(0x368)]=_0x144509[_0x5b0567(0x3d4)](_0xea4bd1),_0x5e098b[_0x5b0567(0x33f)]=_0x144509[_0x5b0567(0x341)](_0xea4bd1);}()),_0x29adf4[_0x395387(0x368)];}));}(qe)),qe[_0x5ac1f5(0x3b5)];}var ze={'exports':{}},gn=ze['exports'],Zt;function Sn(){var _0x1e9a6a=_0x1bf9e4;return Zt||(Zt=0x1,function(_0x11f2e0,_0x56ecd3){(function(_0x1a5769,_0x4a0d91){var _0x19dc1e=_0xcbfd;_0x11f2e0[_0x19dc1e(0x3b5)]=_0x4a0d91(te());}(gn,function(_0x2cae5c){(function(){var _0x18f043=_0xcbfd,_0x3e2b1a=_0x2cae5c,_0x544f82=_0x3e2b1a[_0x18f043(0x461)],_0x159e8b=_0x544f82[_0x18f043(0x3db)],_0x58d159=_0x3e2b1a[_0x18f043(0x24e)],_0x574cd7=_0x58d159['Utf8'],_0xac4f9=_0x3e2b1a[_0x18f043(0x293)];_0xac4f9[_0x18f043(0x1be)]=_0x159e8b[_0x18f043(0x2a9)]({'init':function(_0x4ba3a9,_0x4b992b){var _0x280913=_0x18f043;_0x4ba3a9=this[_0x280913(0x16f)]=new _0x4ba3a9[(_0x280913(0x299))](),typeof _0x4b992b=='string'&&(_0x4b992b=_0x574cd7[_0x280913(0x2d3)](_0x4b992b));var _0x2aeeac=_0x4ba3a9[_0x280913(0x30c)],_0x469946=_0x2aeeac*0x4;_0x4b992b['sigBytes']>_0x469946&&(_0x4b992b=_0x4ba3a9['finalize'](_0x4b992b)),_0x4b992b[_0x280913(0x22f)]();for(var _0x3c0072=this['_oKey']=_0x4b992b[_0x280913(0x36d)](),_0x5b431e=this[_0x280913(0x2d4)]=_0x4b992b['clone'](),_0x58acd8=_0x3c0072[_0x280913(0x38f)],_0x2886ef=_0x5b431e[_0x280913(0x38f)],_0x17ea2e=0x0;_0x17ea2e<_0x2aeeac;_0x17ea2e++)_0x58acd8[_0x17ea2e]^=0x5c5c5c5c,_0x2886ef[_0x17ea2e]^=0x36363636;_0x3c0072[_0x280913(0x2ec)]=_0x5b431e[_0x280913(0x2ec)]=_0x469946,this[_0x280913(0x162)]();},'reset':function(){var _0x2d2899=_0x18f043,_0x2d21ed=this[_0x2d2899(0x16f)];_0x2d21ed['reset'](),_0x2d21ed['update'](this['_iKey']);},'update':function(_0x3c4bd4){var _0x33d33b=_0x18f043;return this[_0x33d33b(0x16f)][_0x33d33b(0x319)](_0x3c4bd4),this;},'finalize':function(_0x24a1c8){var _0x56f742=_0x18f043,_0x38b5af=this['_hasher'],_0x25c160=_0x38b5af[_0x56f742(0x43a)](_0x24a1c8);_0x38b5af[_0x56f742(0x162)]();var _0x2d7f3e=_0x38b5af['finalize'](this['_oKey'][_0x56f742(0x36d)]()[_0x56f742(0x43b)](_0x25c160));return _0x2d7f3e;}});}());}));}(ze)),ze[_0x1e9a6a(0x3b5)];}var En=Ke[_0x1bf9e4(0x3b5)],Qt;function yi(){return Qt||(Qt=0x1,function(_0x5f040f,_0x54a695){(function(_0x43b85f,_0x36aa1b,_0x959da4){var _0x5e9aac=_0xcbfd;_0x5f040f[_0x5e9aac(0x3b5)]=_0x36aa1b(te(),mn(),Sn());}(En,function(_0x1191d0){var _0x25bfb0=_0xcbfd;return(function(){var _0x212c35=_0xcbfd,_0x89462c=_0x1191d0,_0x4492a9=_0x89462c[_0x212c35(0x461)],_0x3c1163=_0x4492a9[_0x212c35(0x3db)],_0xf7e245=_0x4492a9[_0x212c35(0x3b1)],_0x4a8355=_0x89462c[_0x212c35(0x293)],_0x318331=_0x4a8355['MD5'],_0x258ec2=_0x4a8355['EvpKDF']=_0x3c1163[_0x212c35(0x2a9)]({'cfg':_0x3c1163['extend']({'keySize':0x80/0x20,'hasher':_0x318331,'iterations':0x1}),'init':function(_0x179a59){var _0x59164c=_0x212c35;this[_0x59164c(0x436)]=this[_0x59164c(0x436)][_0x59164c(0x2a9)](_0x179a59);},'compute':function(_0x16fbd7,_0xcc4326){var _0x6e2605=_0x212c35;for(var _0x126e63,_0x308ae0=this[_0x6e2605(0x436)],_0x4eae7b=_0x308ae0['hasher'][_0x6e2605(0x168)](),_0x4e52f8=_0xf7e245['create'](),_0x382fcb=_0x4e52f8[_0x6e2605(0x38f)],_0x3ced21=_0x308ae0[_0x6e2605(0x2db)],_0x10ad73=_0x308ae0[_0x6e2605(0x410)];_0x382fcb[_0x6e2605(0x2fd)]<_0x3ced21;){_0x126e63&&_0x4eae7b['update'](_0x126e63),_0x126e63=_0x4eae7b[_0x6e2605(0x319)](_0x16fbd7)[_0x6e2605(0x43a)](_0xcc4326),_0x4eae7b[_0x6e2605(0x162)]();for(var _0x520014=0x1;_0x520014<_0x10ad73;_0x520014++)_0x126e63=_0x4eae7b[_0x6e2605(0x43a)](_0x126e63),_0x4eae7b['reset']();_0x4e52f8[_0x6e2605(0x43b)](_0x126e63);}return _0x4e52f8['sigBytes']=_0x3ced21*0x4,_0x4e52f8;}});_0x89462c[_0x212c35(0x3b3)]=function(_0x542654,_0xce75b5,_0x2dc531){var _0x3982ed=_0x212c35;return _0x258ec2[_0x3982ed(0x168)](_0x2dc531)['compute'](_0x542654,_0xce75b5);};}()),_0x1191d0[_0x25bfb0(0x3b3)];}));}(Ke)),Ke['exports'];}var Je={'exports':{}},In=Je[_0x1bf9e4(0x3b5)],ei;function Ni(){var _0x1e2784=_0x1bf9e4;return ei||(ei=0x1,function(_0x312acd,_0x8bc465){(function(_0x12b24a,_0xb21783,_0x545542){var _0x44d958=_0xcbfd;_0x312acd[_0x44d958(0x3b5)]=_0xb21783(te(),yi());}(In,function(_0x46d5a4){var _0xca15ca=_0xcbfd;_0x46d5a4[_0xca15ca(0x461)][_0xca15ca(0x2ef)]||function(_0x5dd364){var _0x202ce0=_0xca15ca,_0x305429=_0x46d5a4,_0x1cd296=_0x305429['lib'],_0x195e0a=_0x1cd296['Base'],_0xee3567=_0x1cd296[_0x202ce0(0x3b1)],_0x569be9=_0x1cd296['BufferedBlockAlgorithm'],_0x520081=_0x305429[_0x202ce0(0x24e)];_0x520081['Utf8'];var _0x96f21e=_0x520081[_0x202ce0(0x2a6)],_0x58df88=_0x305429['algo'],_0x1345f4=_0x58df88[_0x202ce0(0x3b3)],_0xe424e7=_0x1cd296[_0x202ce0(0x2ef)]=_0x569be9[_0x202ce0(0x2a9)]({'cfg':_0x195e0a[_0x202ce0(0x2a9)](),'createEncryptor':function(_0x27fe07,_0x2db432){var _0x5c1b25=_0x202ce0;return this[_0x5c1b25(0x168)](this[_0x5c1b25(0x1e4)],_0x27fe07,_0x2db432);},'createDecryptor':function(_0x34bbbf,_0x4e00c1){var _0x589e2a=_0x202ce0;return this[_0x589e2a(0x168)](this[_0x589e2a(0x29f)],_0x34bbbf,_0x4e00c1);},'init':function(_0x39edcd,_0x45c961,_0x2a80e7){var _0x43998a=_0x202ce0;this[_0x43998a(0x436)]=this['cfg'][_0x43998a(0x2a9)](_0x2a80e7),this[_0x43998a(0x404)]=_0x39edcd,this['_key']=_0x45c961,this['reset']();},'reset':function(){var _0x3d8c09=_0x202ce0;_0x569be9[_0x3d8c09(0x162)][_0x3d8c09(0x1a9)](this),this[_0x3d8c09(0x3f8)]();},'process':function(_0x3b1269){var _0x420cfc=_0x202ce0;return this[_0x420cfc(0x189)](_0x3b1269),this[_0x420cfc(0x3bb)]();},'finalize':function(_0x2e8c8a){var _0x57fa12=_0x202ce0;_0x2e8c8a&&this[_0x57fa12(0x189)](_0x2e8c8a);var _0x45533c=this[_0x57fa12(0x1f2)]();return _0x45533c;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x38ab22(_0x18ee76){var _0x1d6879=_0xcbfd;return typeof _0x18ee76==_0x1d6879(0x33e)?_0x2d0faa:_0x4632f7;}return function(_0x3541f9){return{'encrypt':function(_0x39b36a,_0x2f8157,_0x4cb5d5){var _0x3e0db9=_0xcbfd;return _0x38ab22(_0x2f8157)[_0x3e0db9(0x171)](_0x3541f9,_0x39b36a,_0x2f8157,_0x4cb5d5);},'decrypt':function(_0x50b45a,_0xbc9332,_0x5c1064){var _0x267667=_0xcbfd;return _0x38ab22(_0xbc9332)[_0x267667(0x3d8)](_0x3541f9,_0x50b45a,_0xbc9332,_0x5c1064);}};};}())});_0x1cd296['StreamCipher']=_0xe424e7[_0x202ce0(0x2a9)]({'_doFinalize':function(){var _0x253646=_0x202ce0,_0x5c078e=this[_0x253646(0x3bb)](!0x0);return _0x5c078e;},'blockSize':0x1});var _0x5674f5=_0x305429[_0x202ce0(0x2a8)]={},_0x20e506=_0x1cd296[_0x202ce0(0x188)]=_0x195e0a['extend']({'createEncryptor':function(_0x1d493a,_0x4f9f74){var _0x262622=_0x202ce0;return this[_0x262622(0x32c)][_0x262622(0x168)](_0x1d493a,_0x4f9f74);},'createDecryptor':function(_0x3bdaec,_0x549ebc){var _0x8f32e8=_0x202ce0;return this[_0x8f32e8(0x3c1)]['create'](_0x3bdaec,_0x549ebc);},'init':function(_0x20606c,_0x1cf9a7){this['_cipher']=_0x20606c,this['_iv']=_0x1cf9a7;}}),_0x3ce643=_0x5674f5[_0x202ce0(0x367)]=(function(){var _0xd47bd6=_0x202ce0,_0x14e702=_0x20e506[_0xd47bd6(0x2a9)]();_0x14e702[_0xd47bd6(0x32c)]=_0x14e702['extend']({'processBlock':function(_0x5bd60d,_0x3f1a75){var _0x44acd3=_0xd47bd6,_0x150a39=this[_0x44acd3(0x428)],_0x4dfcdc=_0x150a39['blockSize'];_0x1a875d[_0x44acd3(0x1a9)](this,_0x5bd60d,_0x3f1a75,_0x4dfcdc),_0x150a39[_0x44acd3(0x1cc)](_0x5bd60d,_0x3f1a75),this[_0x44acd3(0x289)]=_0x5bd60d[_0x44acd3(0x1cd)](_0x3f1a75,_0x3f1a75+_0x4dfcdc);}}),_0x14e702[_0xd47bd6(0x3c1)]=_0x14e702['extend']({'processBlock':function(_0x3617da,_0x28a682){var _0x450202=_0xd47bd6,_0x5dd0f6=this[_0x450202(0x428)],_0x5412e3=_0x5dd0f6[_0x450202(0x30c)],_0x2c87b9=_0x3617da[_0x450202(0x1cd)](_0x28a682,_0x28a682+_0x5412e3);_0x5dd0f6[_0x450202(0x202)](_0x3617da,_0x28a682),_0x1a875d[_0x450202(0x1a9)](this,_0x3617da,_0x28a682,_0x5412e3),this['_prevBlock']=_0x2c87b9;}});function _0x1a875d(_0x7e3746,_0x181cf5,_0x4e05bb){var _0x284976=_0xd47bd6,_0x21fc75,_0x195252=this[_0x284976(0x1cb)];_0x195252?(_0x21fc75=_0x195252,this[_0x284976(0x1cb)]=_0x5dd364):_0x21fc75=this[_0x284976(0x289)];for(var _0x2ec7d9=0x0;_0x2ec7d9<_0x4e05bb;_0x2ec7d9++)_0x7e3746[_0x181cf5+_0x2ec7d9]^=_0x21fc75[_0x2ec7d9];}return _0x14e702;}()),_0x299b42=_0x305429['pad']={},_0x53b647=_0x299b42[_0x202ce0(0x3c3)]={'pad':function(_0x44a84d,_0x5352b7){var _0x148098=_0x202ce0;for(var _0x375afa=_0x5352b7*0x4,_0x4010d4=_0x375afa-_0x44a84d[_0x148098(0x2ec)]%_0x375afa,_0x465ab0=_0x4010d4<<0x18|_0x4010d4<<0x10|_0x4010d4<<0x8|_0x4010d4,_0x50341a=[],_0x31d7b7=0x0;_0x31d7b7<_0x4010d4;_0x31d7b7+=0x4)_0x50341a['push'](_0x465ab0);var _0x1f838c=_0xee3567[_0x148098(0x168)](_0x50341a,_0x4010d4);_0x44a84d['concat'](_0x1f838c);},'unpad':function(_0x2ddbd0){var _0x28fcaf=_0x202ce0,_0x34bbd3=_0x2ddbd0[_0x28fcaf(0x38f)][_0x2ddbd0['sigBytes']-0x1>>>0x2]&0xff;_0x2ddbd0[_0x28fcaf(0x2ec)]-=_0x34bbd3;}};_0x1cd296['BlockCipher']=_0xe424e7[_0x202ce0(0x2a9)]({'cfg':_0xe424e7[_0x202ce0(0x436)][_0x202ce0(0x2a9)]({'mode':_0x3ce643,'padding':_0x53b647}),'reset':function(){var _0x1984a7=_0x202ce0,_0x42b464;_0xe424e7[_0x1984a7(0x162)][_0x1984a7(0x1a9)](this);var _0x536720=this[_0x1984a7(0x436)],_0x392740=_0x536720['iv'],_0x4503ad=_0x536720['mode'];this[_0x1984a7(0x404)]==this[_0x1984a7(0x1e4)]?_0x42b464=_0x4503ad[_0x1984a7(0x3d0)]:(_0x42b464=_0x4503ad[_0x1984a7(0x220)],this[_0x1984a7(0x28d)]=0x1),this[_0x1984a7(0x42b)]&&this[_0x1984a7(0x42b)][_0x1984a7(0x205)]==_0x42b464?this[_0x1984a7(0x42b)]['init'](this,_0x392740&&_0x392740[_0x1984a7(0x38f)]):(this['_mode']=_0x42b464[_0x1984a7(0x1a9)](_0x4503ad,this,_0x392740&&_0x392740[_0x1984a7(0x38f)]),this[_0x1984a7(0x42b)][_0x1984a7(0x205)]=_0x42b464);},'_doProcessBlock':function(_0x555e8b,_0x578ea1){var _0x3043ee=_0x202ce0;this[_0x3043ee(0x42b)][_0x3043ee(0x3b2)](_0x555e8b,_0x578ea1);},'_doFinalize':function(){var _0x2525c4=_0x202ce0,_0x2b866c,_0x40f893=this[_0x2525c4(0x436)][_0x2525c4(0x1ed)];return this[_0x2525c4(0x404)]==this[_0x2525c4(0x1e4)]?(_0x40f893[_0x2525c4(0x468)](this['_data'],this[_0x2525c4(0x30c)]),_0x2b866c=this[_0x2525c4(0x3bb)](!0x0)):(_0x2b866c=this[_0x2525c4(0x3bb)](!0x0),_0x40f893[_0x2525c4(0x375)](_0x2b866c)),_0x2b866c;},'blockSize':0x80/0x20});var _0x18b838=_0x1cd296[_0x202ce0(0x1a8)]=_0x195e0a[_0x202ce0(0x2a9)]({'init':function(_0x1545d7){var _0x52911d=_0x202ce0;this[_0x52911d(0x172)](_0x1545d7);},'toString':function(_0x3aece4){var _0x177f20=_0x202ce0;return(_0x3aece4||this['formatter'])[_0x177f20(0x379)](this);}}),_0x491fc0=_0x305429[_0x202ce0(0x3bf)]={},_0x24279a=_0x491fc0['OpenSSL']={'stringify':function(_0x558e2d){var _0xa3db8f=_0x202ce0,_0x25e92c,_0x2c1001=_0x558e2d[_0xa3db8f(0x295)],_0x3f9a55=_0x558e2d[_0xa3db8f(0x374)];return _0x3f9a55?_0x25e92c=_0xee3567['create']([0x53616c74,0x65645f5f])['concat'](_0x3f9a55)[_0xa3db8f(0x43b)](_0x2c1001):_0x25e92c=_0x2c1001,_0x25e92c[_0xa3db8f(0x3ff)](_0x96f21e);},'parse':function(_0x573316){var _0x3aeef9=_0x202ce0,_0x42db84,_0x43bd11=_0x96f21e[_0x3aeef9(0x2d3)](_0x573316),_0x289ca3=_0x43bd11[_0x3aeef9(0x38f)];return _0x289ca3[0x0]==0x53616c74&&_0x289ca3[0x1]==0x65645f5f&&(_0x42db84=_0xee3567[_0x3aeef9(0x168)](_0x289ca3[_0x3aeef9(0x1cd)](0x2,0x4)),_0x289ca3[_0x3aeef9(0x3c9)](0x0,0x4),_0x43bd11[_0x3aeef9(0x2ec)]-=0x10),_0x18b838['create']({'ciphertext':_0x43bd11,'salt':_0x42db84});}},_0x4632f7=_0x1cd296[_0x202ce0(0x396)]=_0x195e0a[_0x202ce0(0x2a9)]({'cfg':_0x195e0a[_0x202ce0(0x2a9)]({'format':_0x24279a}),'encrypt':function(_0x375c38,_0x37d7ab,_0x521ba4,_0x398415){var _0x1d6df7=_0x202ce0;_0x398415=this[_0x1d6df7(0x436)][_0x1d6df7(0x2a9)](_0x398415);var _0xec606c=_0x375c38[_0x1d6df7(0x3d0)](_0x521ba4,_0x398415),_0x450f7b=_0xec606c[_0x1d6df7(0x43a)](_0x37d7ab),_0x168374=_0xec606c[_0x1d6df7(0x436)];return _0x18b838[_0x1d6df7(0x168)]({'ciphertext':_0x450f7b,'key':_0x521ba4,'iv':_0x168374['iv'],'algorithm':_0x375c38,'mode':_0x168374[_0x1d6df7(0x2a8)],'padding':_0x168374[_0x1d6df7(0x1ed)],'blockSize':_0x375c38[_0x1d6df7(0x30c)],'formatter':_0x398415['format']});},'decrypt':function(_0x2fda88,_0x191ff0,_0xcaff50,_0x147f9b){var _0x56e4b3=_0x202ce0;_0x147f9b=this[_0x56e4b3(0x436)][_0x56e4b3(0x2a9)](_0x147f9b),_0x191ff0=this[_0x56e4b3(0x360)](_0x191ff0,_0x147f9b[_0x56e4b3(0x3bf)]);var _0x487417=_0x2fda88['createDecryptor'](_0xcaff50,_0x147f9b)['finalize'](_0x191ff0['ciphertext']);return _0x487417;},'_parse':function(_0x351c2f,_0x3d8f49){var _0x3dc401=_0x202ce0;return typeof _0x351c2f==_0x3dc401(0x33e)?_0x3d8f49[_0x3dc401(0x2d3)](_0x351c2f,this):_0x351c2f;}}),_0x30d37f=_0x305429[_0x202ce0(0x2d1)]={},_0x21e7ec=_0x30d37f[_0x202ce0(0x37e)]={'execute':function(_0x3cd058,_0x3a058a,_0x29c2a4,_0x584054,_0x4b41d4){var _0x3e4a26=_0x202ce0;if(_0x584054||(_0x584054=_0xee3567[_0x3e4a26(0x1ea)](0x40/0x8)),_0x4b41d4)var _0x56b63d=_0x1345f4[_0x3e4a26(0x168)]({'keySize':_0x3a058a+_0x29c2a4,'hasher':_0x4b41d4})[_0x3e4a26(0x383)](_0x3cd058,_0x584054);else var _0x56b63d=_0x1345f4[_0x3e4a26(0x168)]({'keySize':_0x3a058a+_0x29c2a4})[_0x3e4a26(0x383)](_0x3cd058,_0x584054);var _0x17ea57=_0xee3567['create'](_0x56b63d['words']['slice'](_0x3a058a),_0x29c2a4*0x4);return _0x56b63d['sigBytes']=_0x3a058a*0x4,_0x18b838[_0x3e4a26(0x168)]({'key':_0x56b63d,'iv':_0x17ea57,'salt':_0x584054});}},_0x2d0faa=_0x1cd296['PasswordBasedCipher']=_0x4632f7[_0x202ce0(0x2a9)]({'cfg':_0x4632f7['cfg']['extend']({'kdf':_0x21e7ec}),'encrypt':function(_0x2cc518,_0x2d1efc,_0x2604c4,_0x40aa80){var _0x60652b=_0x202ce0;_0x40aa80=this[_0x60652b(0x436)][_0x60652b(0x2a9)](_0x40aa80);var _0x3c556e=_0x40aa80[_0x60652b(0x2d1)][_0x60652b(0x18e)](_0x2604c4,_0x2cc518['keySize'],_0x2cc518[_0x60652b(0x365)],_0x40aa80[_0x60652b(0x374)],_0x40aa80[_0x60652b(0x1fa)]);_0x40aa80['iv']=_0x3c556e['iv'];var _0x5f6161=_0x4632f7[_0x60652b(0x171)][_0x60652b(0x1a9)](this,_0x2cc518,_0x2d1efc,_0x3c556e[_0x60652b(0x40f)],_0x40aa80);return _0x5f6161['mixIn'](_0x3c556e),_0x5f6161;},'decrypt':function(_0x41753f,_0x3e7d0d,_0x103517,_0x1f9110){var _0x2e6a59=_0x202ce0;_0x1f9110=this['cfg'][_0x2e6a59(0x2a9)](_0x1f9110),_0x3e7d0d=this[_0x2e6a59(0x360)](_0x3e7d0d,_0x1f9110[_0x2e6a59(0x3bf)]);var _0x1c5209=_0x1f9110[_0x2e6a59(0x2d1)][_0x2e6a59(0x18e)](_0x103517,_0x41753f[_0x2e6a59(0x2db)],_0x41753f['ivSize'],_0x3e7d0d['salt'],_0x1f9110[_0x2e6a59(0x1fa)]);_0x1f9110['iv']=_0x1c5209['iv'];var _0x56a1a7=_0x4632f7[_0x2e6a59(0x3d8)]['call'](this,_0x41753f,_0x3e7d0d,_0x1c5209[_0x2e6a59(0x40f)],_0x1f9110);return _0x56a1a7;}});}();}));}(Je)),Je[_0x1e2784(0x3b5)];}var Tn=Ve['exports'],ti;function Cn(){var _0x49b1d8=_0x1bf9e4;return ti||(ti=0x1,function(_0x3ea17f,_0x24fefc){(function(_0x3bc13f,_0x3f89a7,_0x481cae){_0x3ea17f['exports']=_0x3f89a7(te(),bi(),vn(),yi(),Ni());}(Tn,function(_0x3b2dc1){var _0x578bc5=_0xcbfd;return(function(){var _0x3a2e96=_0xcbfd,_0x331595=_0x3b2dc1,_0x2395d8=_0x331595['lib'],_0x2899d4=_0x2395d8[_0x3a2e96(0x3dc)],_0x17de47=_0x331595['algo'],_0x41cf75=[],_0x27ba51=[],_0x685ec4=[],_0x193329=[],_0xb9c56d=[],_0x1f5195=[],_0x28825c=[],_0x55592b=[],_0x3dc463=[],_0x3f945a=[];(function(){for(var _0x4706cb=[],_0x34e55e=0x0;_0x34e55e<0x100;_0x34e55e++)_0x34e55e<0x80?_0x4706cb[_0x34e55e]=_0x34e55e<<0x1:_0x4706cb[_0x34e55e]=_0x34e55e<<0x1^0x11b;for(var _0x13e4c8=0x0,_0x4c6cee=0x0,_0x34e55e=0x0;_0x34e55e<0x100;_0x34e55e++){var _0x1f0422=_0x4c6cee^_0x4c6cee<<0x1^_0x4c6cee<<0x2^_0x4c6cee<<0x3^_0x4c6cee<<0x4;_0x1f0422=_0x1f0422>>>0x8^_0x1f0422&0xff^0x63,_0x41cf75[_0x13e4c8]=_0x1f0422,_0x27ba51[_0x1f0422]=_0x13e4c8;var _0x364f32=_0x4706cb[_0x13e4c8],_0x3e1251=_0x4706cb[_0x364f32],_0x4ecd1c=_0x4706cb[_0x3e1251],_0x2650d7=_0x4706cb[_0x1f0422]*0x101^_0x1f0422*0x1010100;_0x685ec4[_0x13e4c8]=_0x2650d7<<0x18|_0x2650d7>>>0x8,_0x193329[_0x13e4c8]=_0x2650d7<<0x10|_0x2650d7>>>0x10,_0xb9c56d[_0x13e4c8]=_0x2650d7<<0x8|_0x2650d7>>>0x18,_0x1f5195[_0x13e4c8]=_0x2650d7;var _0x2650d7=_0x4ecd1c*0x1010101^_0x3e1251*0x10001^_0x364f32*0x101^_0x13e4c8*0x1010100;_0x28825c[_0x1f0422]=_0x2650d7<<0x18|_0x2650d7>>>0x8,_0x55592b[_0x1f0422]=_0x2650d7<<0x10|_0x2650d7>>>0x10,_0x3dc463[_0x1f0422]=_0x2650d7<<0x8|_0x2650d7>>>0x18,_0x3f945a[_0x1f0422]=_0x2650d7,_0x13e4c8?(_0x13e4c8=_0x364f32^_0x4706cb[_0x4706cb[_0x4706cb[_0x4ecd1c^_0x364f32]]],_0x4c6cee^=_0x4706cb[_0x4706cb[_0x4c6cee]]):_0x13e4c8=_0x4c6cee=0x1;}}());var _0x1e9180=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x2dc086=_0x17de47[_0x3a2e96(0x227)]=_0x2899d4[_0x3a2e96(0x2a9)]({'_doReset':function(){var _0xc61cd=_0x3a2e96,_0x51e0f5;if(!(this[_0xc61cd(0x2e8)]&&this['_keyPriorReset']===this[_0xc61cd(0x3b8)])){for(var _0x2e75ee=this[_0xc61cd(0x195)]=this['_key'],_0x1a25fa=_0x2e75ee[_0xc61cd(0x38f)],_0x50e110=_0x2e75ee[_0xc61cd(0x2ec)]/0x4,_0x8640a0=this[_0xc61cd(0x2e8)]=_0x50e110+0x6,_0x1f1a8f=(_0x8640a0+0x1)*0x4,_0xf7e11b=this[_0xc61cd(0x15f)]=[],_0x2f2c35=0x0;_0x2f2c35<_0x1f1a8f;_0x2f2c35++)_0x2f2c35<_0x50e110?_0xf7e11b[_0x2f2c35]=_0x1a25fa[_0x2f2c35]:(_0x51e0f5=_0xf7e11b[_0x2f2c35-0x1],_0x2f2c35%_0x50e110?_0x50e110>0x6&&_0x2f2c35%_0x50e110==0x4&&(_0x51e0f5=_0x41cf75[_0x51e0f5>>>0x18]<<0x18|_0x41cf75[_0x51e0f5>>>0x10&0xff]<<0x10|_0x41cf75[_0x51e0f5>>>0x8&0xff]<<0x8|_0x41cf75[_0x51e0f5&0xff]):(_0x51e0f5=_0x51e0f5<<0x8|_0x51e0f5>>>0x18,_0x51e0f5=_0x41cf75[_0x51e0f5>>>0x18]<<0x18|_0x41cf75[_0x51e0f5>>>0x10&0xff]<<0x10|_0x41cf75[_0x51e0f5>>>0x8&0xff]<<0x8|_0x41cf75[_0x51e0f5&0xff],_0x51e0f5^=_0x1e9180[_0x2f2c35/_0x50e110|0x0]<<0x18),_0xf7e11b[_0x2f2c35]=_0xf7e11b[_0x2f2c35-_0x50e110]^_0x51e0f5);for(var _0x46bb66=this[_0xc61cd(0x323)]=[],_0x445f74=0x0;_0x445f74<_0x1f1a8f;_0x445f74++){var _0x2f2c35=_0x1f1a8f-_0x445f74;if(_0x445f74%0x4)var _0x51e0f5=_0xf7e11b[_0x2f2c35];else var _0x51e0f5=_0xf7e11b[_0x2f2c35-0x4];_0x445f74<0x4||_0x2f2c35<=0x4?_0x46bb66[_0x445f74]=_0x51e0f5:_0x46bb66[_0x445f74]=_0x28825c[_0x41cf75[_0x51e0f5>>>0x18]]^_0x55592b[_0x41cf75[_0x51e0f5>>>0x10&0xff]]^_0x3dc463[_0x41cf75[_0x51e0f5>>>0x8&0xff]]^_0x3f945a[_0x41cf75[_0x51e0f5&0xff]];}}},'encryptBlock':function(_0x671a4c,_0x396b07){var _0x24bcf9=_0x3a2e96;this['_doCryptBlock'](_0x671a4c,_0x396b07,this[_0x24bcf9(0x15f)],_0x685ec4,_0x193329,_0xb9c56d,_0x1f5195,_0x41cf75);},'decryptBlock':function(_0x26faa0,_0x539c05){var _0x20e0fe=_0x3a2e96,_0x13d2bc=_0x26faa0[_0x539c05+0x1];_0x26faa0[_0x539c05+0x1]=_0x26faa0[_0x539c05+0x3],_0x26faa0[_0x539c05+0x3]=_0x13d2bc,this[_0x20e0fe(0x3af)](_0x26faa0,_0x539c05,this[_0x20e0fe(0x323)],_0x28825c,_0x55592b,_0x3dc463,_0x3f945a,_0x27ba51);var _0x13d2bc=_0x26faa0[_0x539c05+0x1];_0x26faa0[_0x539c05+0x1]=_0x26faa0[_0x539c05+0x3],_0x26faa0[_0x539c05+0x3]=_0x13d2bc;},'_doCryptBlock':function(_0x1796aa,_0x455d55,_0x426c19,_0x36e63f,_0x32e591,_0x3d3889,_0x296abc,_0x495d07){for(var _0x4aa029=this['_nRounds'],_0xb8502e=_0x1796aa[_0x455d55]^_0x426c19[0x0],_0x14a521=_0x1796aa[_0x455d55+0x1]^_0x426c19[0x1],_0xef9993=_0x1796aa[_0x455d55+0x2]^_0x426c19[0x2],_0x194602=_0x1796aa[_0x455d55+0x3]^_0x426c19[0x3],_0x9463ac=0x4,_0x5980f5=0x1;_0x5980f5<_0x4aa029;_0x5980f5++){var _0x5727f3=_0x36e63f[_0xb8502e>>>0x18]^_0x32e591[_0x14a521>>>0x10&0xff]^_0x3d3889[_0xef9993>>>0x8&0xff]^_0x296abc[_0x194602&0xff]^_0x426c19[_0x9463ac++],_0x3bbe9a=_0x36e63f[_0x14a521>>>0x18]^_0x32e591[_0xef9993>>>0x10&0xff]^_0x3d3889[_0x194602>>>0x8&0xff]^_0x296abc[_0xb8502e&0xff]^_0x426c19[_0x9463ac++],_0x4f5ac4=_0x36e63f[_0xef9993>>>0x18]^_0x32e591[_0x194602>>>0x10&0xff]^_0x3d3889[_0xb8502e>>>0x8&0xff]^_0x296abc[_0x14a521&0xff]^_0x426c19[_0x9463ac++],_0x80ffb7=_0x36e63f[_0x194602>>>0x18]^_0x32e591[_0xb8502e>>>0x10&0xff]^_0x3d3889[_0x14a521>>>0x8&0xff]^_0x296abc[_0xef9993&0xff]^_0x426c19[_0x9463ac++];_0xb8502e=_0x5727f3,_0x14a521=_0x3bbe9a,_0xef9993=_0x4f5ac4,_0x194602=_0x80ffb7;}var _0x5727f3=(_0x495d07[_0xb8502e>>>0x18]<<0x18|_0x495d07[_0x14a521>>>0x10&0xff]<<0x10|_0x495d07[_0xef9993>>>0x8&0xff]<<0x8|_0x495d07[_0x194602&0xff])^_0x426c19[_0x9463ac++],_0x3bbe9a=(_0x495d07[_0x14a521>>>0x18]<<0x18|_0x495d07[_0xef9993>>>0x10&0xff]<<0x10|_0x495d07[_0x194602>>>0x8&0xff]<<0x8|_0x495d07[_0xb8502e&0xff])^_0x426c19[_0x9463ac++],_0x4f5ac4=(_0x495d07[_0xef9993>>>0x18]<<0x18|_0x495d07[_0x194602>>>0x10&0xff]<<0x10|_0x495d07[_0xb8502e>>>0x8&0xff]<<0x8|_0x495d07[_0x14a521&0xff])^_0x426c19[_0x9463ac++],_0x80ffb7=(_0x495d07[_0x194602>>>0x18]<<0x18|_0x495d07[_0xb8502e>>>0x10&0xff]<<0x10|_0x495d07[_0x14a521>>>0x8&0xff]<<0x8|_0x495d07[_0xef9993&0xff])^_0x426c19[_0x9463ac++];_0x1796aa[_0x455d55]=_0x5727f3,_0x1796aa[_0x455d55+0x1]=_0x3bbe9a,_0x1796aa[_0x455d55+0x2]=_0x4f5ac4,_0x1796aa[_0x455d55+0x3]=_0x80ffb7;},'keySize':0x100/0x20});_0x331595[_0x3a2e96(0x227)]=_0x2899d4[_0x3a2e96(0x3d4)](_0x2dc086);}()),_0x3b2dc1[_0x578bc5(0x227)];}));}(Ve)),Ve[_0x49b1d8(0x3b5)];}var Rn=Cn();const On=$e(Rn);var bn=bi();const ii=$e(bn);var Xe={'exports':{}},yn=Xe[_0x1bf9e4(0x3b5)],si;function Nn(){var _0x5abd45=_0x1bf9e4;return si||(si=0x1,function(_0x1c69fb,_0xbfc8b2){(function(_0x21e035,_0x2e9e00){var _0x25490f=_0xcbfd;_0x1c69fb[_0x25490f(0x3b5)]=_0x2e9e00(te());}(yn,function(_0x177936){var _0x4abb52=_0xcbfd;return _0x177936[_0x4abb52(0x24e)][_0x4abb52(0x2f4)];}));}(Xe)),Xe[_0x5abd45(0x3b5)];}var Dn=Nn();const Un=$e(Dn);var Ze={'exports':{}},An=Ze[_0x1bf9e4(0x3b5)],ni;function wn(){var _0x3f85e0=_0x1bf9e4;return ni||(ni=0x1,function(_0x1c5b40,_0x5b5911){(function(_0xa218fb,_0x2fb1e2){_0x1c5b40['exports']=_0x2fb1e2(te());}(An,function(_0x3a2f88){var _0x57ad97=_0xcbfd;return(function(){var _0x56cd8a=_0xcbfd;if(typeof ArrayBuffer==_0x56cd8a(0x2b1)){var _0x482f78=_0x3a2f88,_0x66e1cc=_0x482f78[_0x56cd8a(0x461)],_0x542feb=_0x66e1cc[_0x56cd8a(0x3b1)],_0xddd72c=_0x542feb[_0x56cd8a(0x299)],_0x39b824=_0x542feb['init']=function(_0x2838da){var _0x180c8a=_0x56cd8a;if(_0x2838da instanceof ArrayBuffer&&(_0x2838da=new Uint8Array(_0x2838da)),(_0x2838da instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x2838da instanceof Uint8ClampedArray||_0x2838da instanceof Int16Array||_0x2838da instanceof Uint16Array||_0x2838da instanceof Int32Array||_0x2838da instanceof Uint32Array||_0x2838da instanceof Float32Array||_0x2838da instanceof Float64Array)&&(_0x2838da=new Uint8Array(_0x2838da['buffer'],_0x2838da[_0x180c8a(0x40c)],_0x2838da[_0x180c8a(0x2c6)])),_0x2838da instanceof Uint8Array){for(var _0x513cd7=_0x2838da['byteLength'],_0x2f27f2=[],_0x452af8=0x0;_0x452af8<_0x513cd7;_0x452af8++)_0x2f27f2[_0x452af8>>>0x2]|=_0x2838da[_0x452af8]<<0x18-_0x452af8%0x4*0x8;_0xddd72c['call'](this,_0x2f27f2,_0x513cd7);}else _0xddd72c[_0x180c8a(0x458)](this,arguments);};_0x39b824[_0x56cd8a(0x1da)]=_0x542feb;}}()),_0x3a2f88['lib'][_0x57ad97(0x3b1)];}));}(Ze)),Ze[_0x3f85e0(0x3b5)];}var Pn=wn();const Ln=$e(Pn);var Qe={'exports':{}},Mn=Qe[_0x1bf9e4(0x3b5)],ri;function xn(){var _0x4ff9a9=_0x1bf9e4;return ri||(ri=0x1,function(_0x9a5065,_0x2e5223){(function(_0x48e6f9,_0x380585,_0x40a94c){var _0x221772=_0xcbfd;_0x9a5065[_0x221772(0x3b5)]=_0x380585(te(),Ni());}(Mn,function(_0x4ce027){var _0x524890=_0xcbfd;return _0x4ce027[_0x524890(0x468)][_0x524890(0x1ba)]={'pad':function(){},'unpad':function(){}},_0x4ce027['pad'][_0x524890(0x1ba)];}));}(Qe)),Qe[_0x4ff9a9(0x3b5)];}var kn=xn();const $n=$e(kn);function Hn(_0xc6e295,_0x4d8fdf){var _0x207f92=_0x1bf9e4;const _0x4558a3=_0x4d8fdf-_0xc6e295['length']%_0x4d8fdf,_0x2671fc=String['fromCharCode'](_0x4558a3)[_0x207f92(0x22c)](_0x4558a3);return _0xc6e295+_0x2671fc;}function Bn(_0x2e22c1,_0xe511b8){var _0x416423=_0x1bf9e4;const _0x30859f=Ln['random'](0x10),_0x3f4ca2=Hn(_0x2e22c1,0x10),_0x1978a7=On[_0x416423(0x171)](Un['parse'](_0x3f4ca2),ii['parse'](_0xe511b8),{'iv':_0x30859f,'padding':$n});return _0x30859f[_0x416423(0x43b)](_0x1978a7[_0x416423(0x295)])[_0x416423(0x3ff)](ii);}function jn(){var _0x3913ea=_0x1bf9e4;const _0x349915=_0x40af40()['__Key__'];if(_0x349915){const _0x16683a={'time':Math['floor'](Date['now']()/0x3e8),'domain':location[_0x3913ea(0x267)]};return Bn(JSON[_0x3913ea(0x379)](_0x16683a),_0x349915);}}var Fn=Object[_0x1bf9e4(0x241)],Vn=(_0x11962c,_0x21c6b9,_0x43f9b4,_0x3f908f)=>{var _0x46e83d=_0x1bf9e4;for(var _0x4d0848=_0x3f908f>0x1?void 0x0:_0x3f908f?Fn(_0x21c6b9,_0x43f9b4):_0x21c6b9,_0x461ff1=_0x11962c[_0x46e83d(0x2fd)]-0x1,_0x5c7883;_0x461ff1>=0x0;_0x461ff1--)(_0x5c7883=_0x11962c[_0x461ff1])&&(_0x4d0848=_0x5c7883(_0x4d0848)||_0x4d0848);return _0x4d0848;},Gn=(_0x351a78,_0x3e7915)=>(_0x211bab,_0x431b57)=>_0x3e7915(_0x211bab,_0x431b57,_0x351a78);let at=class{constructor(_0x29b1ea){var _0x38bad9=_0x1bf9e4;this[_0x38bad9(0x2e9)]=_0x29b1ea,this[_0x38bad9(0x25d)]();}[_0x1bf9e4(0x25d)](){var _0x572101=_0x1bf9e4;this[_0x572101(0x2e9)][_0x572101(0x43e)]({'interceptor':(_0x46d3ed,_0x5e66aa)=>{var _0x587db3=_0x572101;const _0x59f38d=_0x46d3ed[_0x587db3(0x3df)],_0xd3503b=jn();return _0xd3503b&&_0x59f38d[_0x587db3(0x1f3)](_0x587db3(0x378),_0xd3503b),_0x5e66aa(_0x46d3ed);}});}};at=Vn([Gn(0x0,_0x1eb2b7(_0x4a6b11))],at);var Yn=Object[_0x1bf9e4(0x241)],Wn=(_0x4210e9,_0x323ecc,_0x954df2,_0x8c9b6d)=>{var _0x1f57ab=_0x1bf9e4;for(var _0x1a9c6f=_0x8c9b6d>0x1?void 0x0:_0x8c9b6d?Yn(_0x323ecc,_0x954df2):_0x323ecc,_0x872094=_0x4210e9[_0x1f57ab(0x2fd)]-0x1,_0x52cbaa;_0x872094>=0x0;_0x872094--)(_0x52cbaa=_0x4210e9[_0x872094])&&(_0x1a9c6f=_0x52cbaa(_0x1a9c6f)||_0x1a9c6f);return _0x1a9c6f;},vt=(_0x4892b3,_0x3411c7)=>(_0x4931d1,_0x9f5835)=>_0x3411c7(_0x4931d1,_0x9f5835,_0x4892b3);let Ct=class extends _0x3f1edd{constructor(_0x3f2d60,_0x470065,_0x4fcc32){var _0x1ebc0c=_0x1bf9e4;super(),N(this,_0x1ebc0c(0x2a0),new _0x320cd9(null)),N(this,'unitInfo$',this[_0x1ebc0c(0x2a0)][_0x1ebc0c(0x332)]()),(this[_0x1ebc0c(0x254)]=_0x3f2d60,this[_0x1ebc0c(0x16c)]=_0x470065,this['_localCacheService']=_0x4fcc32);}async[_0x1bf9e4(0x39c)](_0x835ea3,_0x120c24,_0x2cf97e){var _0x2451dd=_0x1bf9e4;this['_unitInfo$'][_0x2451dd(0x232)]({'unitId':_0x835ea3,'type':_0x120c24});let _0x23cb49=null;switch(_0x120c24){case Z[_0x2451dd(0x1ec)]:{_0x23cb49=await this[_0x2451dd(0x16c)][_0x2451dd(0x465)](_0x835ea3,_0x2cf97e);break;}case Z['UNIVER_DOC']:{_0x23cb49=await this[_0x2451dd(0x16c)][_0x2451dd(0x45f)](_0x835ea3,_0x2cf97e);break;}default:{this[_0x2451dd(0x254)][_0x2451dd(0x197)]('[DataLoaderService]',_0x2451dd(0x2bf));break;}}return _0x23cb49;}async['loadUnit'](_0x59f27c,_0x134c74,_0x1c014b){var _0x2828f0=_0x1bf9e4,_0x5efbf1;this[_0x2828f0(0x2a0)][_0x2828f0(0x232)]({'unitId':_0x59f27c,'type':_0x134c74,'subUnitId':_0x1c014b});let _0x509445=0x0;const _0x19d93b=await((_0x5efbf1=this[_0x2828f0(0x2c0)])==null?void 0x0:_0x5efbf1[_0x2828f0(0x31c)](_0x59f27c));return _0x19d93b&&(_0x19d93b['awaitingChangeset']||_0x19d93b[_0x2828f0(0x3a6)][_0x2828f0(0x2fd)]!==0x0)&&(_0x509445=_0x19d93b['rev']),_0x509445===0x0&&this['_logService']['debug']('[DataLoaderService]',_0x2828f0(0x3cd)),this[_0x2828f0(0x39c)](_0x59f27c,_0x134c74,_0x509445);}};Ct=Wn([vt(0x0,_0x4020c),vt(0x1,_0x1eb2b7(_0x564bfd)),vt(0x2,_0x471747(J))],Ct);var Kn=Object[_0x1bf9e4(0x241)],qn=(_0x2f7563,_0xad1bca,_0x266ccc,_0x2d715a)=>{var _0x49fbfb=_0x1bf9e4;for(var _0x3e3cd7=_0x2d715a>0x1?void 0x0:_0x2d715a?Kn(_0xad1bca,_0x266ccc):_0xad1bca,_0x38144b=_0x2f7563[_0x49fbfb(0x2fd)]-0x1,_0x136841;_0x38144b>=0x0;_0x38144b--)(_0x136841=_0x2f7563[_0x38144b])&&(_0x3e3cd7=_0x136841(_0x3e3cd7)||_0x3e3cd7);return _0x3e3cd7;},pt=(_0x3b8d54,_0x4654ab)=>(_0x56cf25,_0x22f416)=>_0x4654ab(_0x56cf25,_0x22f416,_0x3b8d54);const zn=[_0x1bf9e4(0x32a),_0x1bf9e4(0x179),_0x1bf9e4(0x41c),_0x1bf9e4(0x450),_0x1bf9e4(0x2cd)],Jn=0x5*0x400*0x400,Xn=_0x1bf9e4(0x263),Zn=_0x1bf9e4(0x183),Qn='EXCHANGE_SIGN_URL_SERVER_URL_KEY',er='/universer-api/file/{fileID}/sign-url';let Rt=class{constructor(_0x35356c,_0x1cb50b,_0x5aea8e){var _0x3ad179=_0x1bf9e4;N(this,_0x3ad179(0x15c),0x0),N(this,_0x3ad179(0x431),new _0x3b4cf0()),N(this,_0x3ad179(0x330),this[_0x3ad179(0x431)]),N(this,'_imageSourceCache',new Map()),(this[_0x3ad179(0x2e9)]=_0x35356c,this[_0x3ad179(0x1f9)]=_0x1cb50b,this[_0x3ad179(0x432)]=_0x5aea8e);}['setWaitCount'](_0xee3513){var _0x5043c0=_0x1bf9e4;this[_0x5043c0(0x15c)]=_0xee3513,this['_change$'][_0x5043c0(0x232)](_0xee3513);}[_0x1bf9e4(0x1a1)](_0x45cf40,_0x1dfe9e){var _0x87430a=_0x1bf9e4;if(_0x1dfe9e===_0x18d0bc[_0x87430a(0x469)]){const _0x23f652=new Image();return _0x23f652['src']=_0x45cf40,_0x23f652;}return this[_0x87430a(0x2de)][_0x87430a(0x27c)](_0x45cf40);}[_0x1bf9e4(0x2f9)](_0x30bbe4,_0x4fa1fb,_0x496a54){var _0x5cd457=_0x1bf9e4;_0x4fa1fb===_0x18d0bc['BASE64']||_0x496a54==null||this[_0x5cd457(0x2de)]['set'](_0x30bbe4,_0x496a54);}async[_0x1bf9e4(0x3e7)](_0x23a2fb){var _0x1bf6dd=_0x1bf9e4;try{const _0x4d602c=this[_0x1bf6dd(0x1df)](this['_getSignURL'](),''+_0x23a2fb),_0x3e99cb=(await this[_0x1bf6dd(0x2e9)][_0x1bf6dd(0x27c)](_0x4d602c))[_0x1bf6dd(0x457)];if(_0x3e99cb[_0x1bf6dd(0x197)]&&_0x3e99cb['error'][_0x1bf6dd(0x20f)]===pi['OK']){const _0x25be30=new URL(_0x3e99cb['url'],this[_0x1bf6dd(0x33c)]())['toString']();return Promise[_0x1bf6dd(0x3c0)](_0x25be30);}return Promise['reject'](_0x3e99cb[_0x1bf6dd(0x197)]);}catch(_0x559eda){return Promise[_0x1bf6dd(0x27b)](_0x559eda);}}async[_0x1bf9e4(0x253)](_0x49f1c3){var _0x166599=_0x1bf9e4;let _0x23fc43='';if(!zn[_0x166599(0x2b6)](_0x49f1c3[_0x166599(0x17c)]))return this[_0x166599(0x3bd)](),Promise[_0x166599(0x27b)](new Error(_0x3a7256[_0x166599(0x34e)]));if(_0x49f1c3[_0x166599(0x291)]>Jn)return this[_0x166599(0x3bd)](),Promise['reject'](new Error(_0x3a7256[_0x166599(0x199)]));try{const _0x2ada82=new FormData();_0x2ada82[_0x166599(0x30f)]('file',_0x49f1c3);const _0x9ab946=this[_0x166599(0x432)]['getFocusedUnit'](),_0x145854=_0x9ab946==null?void 0x0:_0x9ab946[_0x166599(0x416)]();if(!_0x145854)throw new Error(_0x166599(0x3ca));const _0x9c2f2d=this['_getUploadFileURL']()+'?size='+_0x49f1c3[_0x166599(0x291)][_0x166599(0x3ff)]()+_0x166599(0x238)+mi[_0x166599(0x2d0)]+'&assign='+encodeURIComponent(_0x145854),_0x1a1680={'body':_0x2ada82},_0x488fde=(await this[_0x166599(0x2e9)][_0x166599(0x22d)](_0x9c2f2d,_0x1a1680))[_0x166599(0x457)];if(typeof _0x488fde[_0x166599(0x2e3)]!='string')return this['_decreaseWaiting'](),Promise[_0x166599(0x27b)](new Error(_0x3a7256[_0x166599(0x26a)]));_0x23fc43=_0x488fde[_0x166599(0x2e3)];}catch{return this[_0x166599(0x3bd)](),Promise[_0x166599(0x27b)](new Error(_0x3a7256[_0x166599(0x26a)]));}return new Promise((_0x324cfe,_0x55d685)=>{const _0x4e1644=new FileReader();_0x4e1644['readAsDataURL'](_0x49f1c3),_0x4e1644['onload']=_0x5352e2=>{var _0x2e0499=_0xcbfd,_0x2f5bd9;const _0x487a7e=(_0x2f5bd9=_0x5352e2[_0x2e0499(0x283)])==null?void 0x0:_0x2f5bd9['result'];if(_0x487a7e==null){this['_decreaseWaiting'](),_0x55d685(new Error(_0x3a7256[_0x2e0499(0x26a)]));return;}const _0x187ff1=_0x1e6211[_0x2e0499(0x327)](0x6);_0x324cfe({'imageId':_0x187ff1,'imageSourceType':_0x18d0bc['UUID'],'source':_0x23fc43,'base64Cache':_0x487a7e,'status':_0x3a7256[_0x2e0499(0x3e9)]}),this[_0x2e0499(0x3bd)]();};});}[_0x1bf9e4(0x363)](){var _0x28780c=_0x1bf9e4,_0x174b5e,_0x49cf1e;const _0xe6af5e=this[_0x28780c(0x1f9)][_0x28780c(0x17d)](Xn),_0x50f7c3=this['_configService'][_0x28780c(0x17d)](K);return(_0x49cf1e=(_0x174b5e=_0x50f7c3==null?void 0x0:_0x50f7c3[_0x28780c(0x277)])!=null?_0x174b5e:_0xe6af5e)!=null?_0x49cf1e:Zn;}['_getSignURL'](){var _0xb11f19=_0x1bf9e4,_0x5176b5,_0x150be2;const _0x2e69a4=this[_0xb11f19(0x1f9)][_0xb11f19(0x17d)](Qn),_0x527140=this[_0xb11f19(0x1f9)][_0xb11f19(0x17d)](K);return(_0x150be2=(_0x5176b5=_0x527140==null?void 0x0:_0x527140[_0xb11f19(0x452)])!=null?_0x5176b5:_0x2e69a4)!=null?_0x150be2:er;}[_0x1bf9e4(0x33c)](){var _0x218f35=_0x1bf9e4,_0x32d6c8;const _0x1e0181=this[_0x218f35(0x1f9)][_0x218f35(0x17d)](K);return(_0x32d6c8=_0x1e0181==null?void 0x0:_0x1e0181[_0x218f35(0x3e1)])!=null?_0x32d6c8:location['origin'];}[_0x1bf9e4(0x1df)](_0x54b6b3,_0x439d63){var _0x1188d0=_0x1bf9e4;return _0x54b6b3[_0x1188d0(0x328)]('{fileID}',_0x439d63);}['_decreaseWaiting'](){var _0x999bd3=_0x1bf9e4;this[_0x999bd3(0x15c)]-=0x1,this['_change$'][_0x999bd3(0x232)](this['_waitCount']);}};Rt=qn([pt(0x0,_0x1eb2b7(_0x4a6b11)),pt(0x1,_0x2711b7),pt(0x2,_0x1eb2b7(_0x1dd505))],Rt);var tr=Object[_0x1bf9e4(0x241)],ir=(_0x5b05fa,_0x31d397,_0x38b0ea,_0x4e8f1d)=>{var _0x2c612b=_0x1bf9e4;for(var _0x40b4d8=_0x4e8f1d>0x1?void 0x0:_0x4e8f1d?tr(_0x31d397,_0x38b0ea):_0x31d397,_0x459085=_0x5b05fa[_0x2c612b(0x2fd)]-0x1,_0x58d564;_0x459085>=0x0;_0x459085--)(_0x58d564=_0x5b05fa[_0x459085])&&(_0x40b4d8=_0x58d564(_0x40b4d8)||_0x40b4d8);return _0x40b4d8;},ai=(_0xface77,_0x28e2d3)=>(_0x327c71,_0x5430c2)=>_0x28e2d3(_0x327c71,_0x5430c2,_0xface77);const sr=_0x1bf9e4(0x1d1);let Ot=class{constructor(_0x49d449,_0x317b3a){var _0x27e7df=_0x1bf9e4;this[_0x27e7df(0x1f9)]=_0x49d449,this[_0x27e7df(0x448)]=_0x317b3a;}[_0x1bf9e4(0x31e)](){var _0x192061=_0x1bf9e4,_0x3bbf77,_0x74f38d;const _0x1e9679=this['_configService'][_0x192061(0x17d)](Oi),_0x2b5f81=this[_0x192061(0x1f9)][_0x192061(0x17d)](K);return(_0x74f38d=(_0x3bbf77=_0x2b5f81==null?void 0x0:_0x2b5f81[_0x192061(0x313)])!=null?_0x3bbf77:_0x1e9679)!=null?_0x74f38d:sr;}async[_0x1bf9e4(0x2be)](_0x485313){var _0x2b5329=_0x1bf9e4;const _0x235e8d=this['_getAPIPrefixPath']()+_0x2b5329(0x401);return{'list':[{'title':_0x2b5329(0x272),'mentions':(await this[_0x2b5329(0x448)][_0x2b5329(0x27c)](_0x235e8d,{'params':{'objectID':_0x485313[_0x2b5329(0x26d)],'unitID':_0x485313['unitId']}}))[_0x2b5329(0x457)][_0x2b5329(0x3e5)][_0x2b5329(0x2aa)](_0x531855=>({'objectId':_0x531855['id'],'name':_0x531855[_0x2b5329(0x40a)][_0x2b5329(0x350)],'metadata':{'icon':_0x531855[_0x2b5329(0x40a)][_0x2b5329(0x2fa)]},'label':_0x531855[_0x2b5329(0x40a)][_0x2b5329(0x350)],'objectType':_0x2d6580['PERSON']})),'metadata':{},'type':_0x2d6580[_0x2b5329(0x34d)]}]};}};Ot=ir([ai(0x0,_0x1eb2b7(_0x2711b7)),ai(0x1,_0x1eb2b7(_0x4a6b11))],Ot);var nr=Object[_0x1bf9e4(0x241)],rr=(_0x14e656,_0x31e78e,_0x5e67c0,_0x422524)=>{var _0x2216af=_0x1bf9e4;for(var _0xc6a7d1=_0x422524>0x1?void 0x0:_0x422524?nr(_0x31e78e,_0x5e67c0):_0x31e78e,_0x3b82c2=_0x14e656[_0x2216af(0x2fd)]-0x1,_0x3feef8;_0x3b82c2>=0x0;_0x3b82c2--)(_0x3feef8=_0x14e656[_0x3b82c2])&&(_0xc6a7d1=_0x3feef8(_0xc6a7d1)||_0xc6a7d1);return _0xc6a7d1;},Ae=(_0x1c05d5,_0x366b43)=>(_0x2a53a7,_0x52cfcd)=>_0x366b43(_0x2a53a7,_0x52cfcd,_0x1c05d5);let ot=class extends _0x3f1edd{constructor(_0x578509,_0x16111d,_0x407f59,_0x205805,_0x27e1a3){var _0x25695a=_0x1bf9e4;super(),this[_0x25695a(0x2b7)]=_0x578509,this[_0x25695a(0x432)]=_0x16111d,this[_0x25695a(0x26e)]=_0x407f59,this[_0x25695a(0x29a)]=_0x205805,this['_collaborationUIEventService']=_0x27e1a3,this[_0x25695a(0x2ac)](),this[_0x25695a(0x3cc)]();}[_0x1bf9e4(0x3cc)](){var _0x4bf9fe=_0x1bf9e4;const _0x3de868=async _0x2d182b=>{var _0x13e812=_0xcbfd;(await this[_0x13e812(0x29a)][_0x13e812(0x2d8)](_0x2d182b))['event$'][_0x13e812(0x29b)](_0x1b0e17(_0x2be876=>_0x2be876['eventID']===_0x40976b[_0x13e812(0x45d)]),_0xab55ca(this[_0x13e812(0x31a)]))['subscribe'](_0x3f77ed=>{var _0x8c6ad4=_0x13e812;const _0x161888=_0x3f77ed,{reason:_0x444b2a}=_0x161888[_0x8c6ad4(0x1c7)];this[_0x8c6ad4(0x203)][_0x8c6ad4(0x463)]({'id':ne[_0x8c6ad4(0x2ed)],'data':_0x444b2a}),this[_0x8c6ad4(0x26e)][_0x8c6ad4(0x27a)](new _0x158a95(_0x2d182b)['id'],!0x1),this[_0x8c6ad4(0x29a)][_0x8c6ad4(0x322)](_0x2d182b);});};_0x539a72(this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x2f1c63[_0x4bf9fe(0x1ec)]),this[_0x4bf9fe(0x432)][_0x4bf9fe(0x1c5)](_0x2f1c63[_0x4bf9fe(0x18d)]))[_0x4bf9fe(0x29b)](_0xe868af(_0x399beb=>_0x399beb['getUnitId']()),_0x1b0e17(_0x2be16b=>!_0x2c0233(_0x2be16b)),_0xab55ca(this[_0x4bf9fe(0x31a)]))[_0x4bf9fe(0x262)](_0x2b45ca=>{_0x3de868(_0x2b45ca);});}[_0x1bf9e4(0x2ac)](){var _0x2e0f23=_0x1bf9e4;const _0x52ce1c=async _0x2d9e1b=>{var _0x5494c2=_0xcbfd;const _0x29455c=await this[_0x5494c2(0x29a)][_0x5494c2(0x2d8)](_0x2d9e1b),_0x5ac942=this[_0x5494c2(0x2b7)][_0x5494c2(0x27c)](_0x4728e4);_0x29455c[_0x5494c2(0x1ca)][_0x5494c2(0x29b)](_0x1b0e17(_0x5658ae=>_0x5658ae['eventID']===_0x40976b[_0x5494c2(0x44f)]),_0xab55ca(this['dispose$']))[_0x5494c2(0x262)](_0x4c2ffd=>{var _0x3b8640=_0x5494c2;const _0x317ed6=_0x4c2ffd,{objectId:_0x59c0d0}=_0x317ed6[_0x3b8640(0x1c7)];_0x59c0d0===_0x2d9e1b?_0x5ac942[_0x3b8640(0x447)](_0x2d9e1b):_0x5ac942[_0x3b8640(0x405)](_0x2d9e1b,_0x59c0d0);});};_0x539a72(this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x2f1c63[_0x2e0f23(0x1ec)]))['pipe'](_0xe868af(_0x2390ac=>_0x2390ac[_0x2e0f23(0x416)]()),_0x1b0e17(_0x3f37ac=>!_0x2c0233(_0x3f37ac)),_0xab55ca(this[_0x2e0f23(0x31a)]))['subscribe'](_0x3ab7fd=>{_0x52ce1c(_0x3ab7fd);});}};ot=rr([Ae(0x0,_0x1eb2b7(_0x3ba5a5)),Ae(0x1,_0x1dd505),Ae(0x2,_0x4eca75),Ae(0x3,_0x1eb2b7(Le)),Ae(0x4,_0x1eb2b7(ve))],ot);var ar=Object['getOwnPropertyDescriptor'],or=(_0x107fdb,_0x2e339a,_0x18dbe9,_0x4666ba)=>{var _0x376230=_0x1bf9e4;for(var _0x57ed9a=_0x4666ba>0x1?void 0x0:_0x4666ba?ar(_0x2e339a,_0x18dbe9):_0x2e339a,_0x2610b8=_0x107fdb[_0x376230(0x2fd)]-0x1,_0x4a94ad;_0x2610b8>=0x0;_0x2610b8--)(_0x4a94ad=_0x107fdb[_0x2610b8])&&(_0x57ed9a=_0x4a94ad(_0x57ed9a)||_0x57ed9a);return _0x57ed9a;},oi=(_0x24cbf6,_0x479570)=>(_0x4194ca,_0x57c8b2)=>_0x479570(_0x4194ca,_0x57c8b2,_0x24cbf6);let bt=class{constructor(_0x366bec,_0x5ba674){var _0x353b4d=_0x1bf9e4;this[_0x353b4d(0x1f9)]=_0x366bec,this[_0x353b4d(0x2e9)]=_0x5ba674;}async[_0x1bf9e4(0x27e)](_0x537da8,_0x48d92c){var _0x25ef6f=_0x1bf9e4,_0x40afd0;const {unitID:_0x6b5fc4,type:_0x128672,revision:_0x38299f=0x0}=_0x48d92c,_0x326286=this[_0x25ef6f(0x2e2)]()+'/'+_0x128672+'/unit/'+_0x6b5fc4+_0x25ef6f(0x3aa)+_0x38299f,_0x53bfe9=(await this[_0x25ef6f(0x2e9)]['get'](_0x326286))[_0x25ef6f(0x457)],_0x37c0e9=(_0x40afd0=_0x53bfe9[_0x25ef6f(0x1d2)])==null?void 0x0:_0x40afd0[_0x25ef6f(0x42d)];if(_0x37c0e9){const _0x2723f6=_0x37c0e9==null?void 0x0:_0x37c0e9[_0x25ef6f(0x22b)],_0x11d371=_0x155d8a[_0x25ef6f(0x2b5)](_0x500fc0(_0x2723f6));_0x37c0e9[_0x25ef6f(0x22b)]=_0x11d371,Object[_0x25ef6f(0x25f)](_0x37c0e9[_0x25ef6f(0x2c5)])[_0x25ef6f(0x33a)](([,_0x23f7e6])=>{var _0x327ba6=_0x25ef6f;const _0x3c0495=_0x23f7e6[_0x327ba6(0x22b)],_0xfa5dff=_0x155d8a[_0x327ba6(0x2b5)](_0x500fc0(_0x3c0495));_0x23f7e6[_0x327ba6(0x22b)]=_0xfa5dff;});}return _0x53bfe9;}async[_0x1bf9e4(0x415)](_0x52df21,_0x3c5736){var _0x33bcaf=_0x1bf9e4;const {unitID:_0x20c473,type:_0x1c4369,blockID:_0x5568af}=_0x3c5736,_0x1b5945=this['_getAPIPrefix']()+'/'+_0x1c4369+_0x33bcaf(0x2fe)+_0x20c473+_0x33bcaf(0x3ad)+_0x5568af;return(await this[_0x33bcaf(0x2e9)][_0x33bcaf(0x27c)](_0x1b5945))[_0x33bcaf(0x457)];}async[_0x1bf9e4(0x35d)](_0x483f38,_0x271513){var _0x469187=_0x1bf9e4;const {unitID:_0x23950d,type:_0x5b927e,blockID:_0x9102d1}=_0x271513,_0x61fb18=this[_0x469187(0x229)]()+'/block/'+_0x5b927e+'/unit/'+_0x23950d+_0x469187(0x3ad)+_0x9102d1;return(await this['_httpService'][_0x469187(0x27c)](_0x61fb18))['body'];}async[_0x1bf9e4(0x161)](_0x5994d4,_0x5c84a2){var _0x178a9b=_0x1bf9e4;const {unitID:_0x289ea5,type:_0x4775ce,from:_0x296c32,to:_0x9a7b57}=_0x5c84a2,_0x23a84c=this[_0x178a9b(0x229)]()+'/'+_0x4775ce+'/unit/'+_0x289ea5+'/fetchmissing?from='+_0x296c32+'&to='+_0x9a7b57;return(await this[_0x178a9b(0x2e9)][_0x178a9b(0x27c)](_0x23a84c))[_0x178a9b(0x457)];}[_0x1bf9e4(0x2e2)](){var _0x71b162=_0x1bf9e4,_0x19f7f1;return(_0x19f7f1=this[_0x71b162(0x1f9)][_0x71b162(0x17d)](ps))!=null?_0x19f7f1:this[_0x71b162(0x229)]();}[_0x1bf9e4(0x229)](){var _0x4a955d=_0x1bf9e4,_0x58410c,_0x5c0c98;const _0x164caf=this['_configService'][_0x4a955d(0x17d)](fs),_0x4248c9=this[_0x4a955d(0x1f9)]['getConfig'](K);return(_0x5c0c98=(_0x58410c=_0x4248c9==null?void 0x0:_0x4248c9[_0x4a955d(0x180)])!=null?_0x58410c:_0x164caf)!=null?_0x5c0c98:vs;}async['getResourcesRequest'](_0x3f85ed,_0xad2932){var _0x7fd3a7=_0x1bf9e4;const _0x2b164a='/universer-api/snapshot/'+_0xad2932[_0x7fd3a7(0x17c)]+_0x7fd3a7(0x2fe)+_0xad2932[_0x7fd3a7(0x3fa)]+'/resources';return(await this[_0x7fd3a7(0x2e9)][_0x7fd3a7(0x27c)](_0x2b164a,{'params':{'resourceId':JSON[_0x7fd3a7(0x379)](_0xad2932[_0x7fd3a7(0x355)])}}))[_0x7fd3a7(0x457)];}['saveSnapshot'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x1bf9e4(0x425)](){var _0x180918=_0x1bf9e4;throw new Error(_0x180918(0x16b));}[_0x1bf9e4(0x2c8)](){var _0xe2994b=_0x1bf9e4;throw new Error(_0xe2994b(0x16b));}[_0x1bf9e4(0x165)](){var _0x254939=_0x1bf9e4;throw new Error(_0x254939(0x16b));}[_0x1bf9e4(0x1c8)](){var _0x55b398=_0x1bf9e4;throw new Error(_0x55b398(0x16b));}[_0x1bf9e4(0x19b)](){var _0x59311c=_0x1bf9e4;throw new Error(_0x59311c(0x16b));}};bt=or([oi(0x0,_0x2711b7),oi(0x1,_0x1eb2b7(_0x4a6b11))],bt);var cr=Object[_0x1bf9e4(0x241)],hr=(_0x449fa2,_0x143aa5,_0x14c960,_0x19e989)=>{for(var _0x1b600d=_0x19e989>0x1?void 0x0:_0x19e989?cr(_0x143aa5,_0x14c960):_0x143aa5,_0x4c1873=_0x449fa2['length']-0x1,_0x4b0919;_0x4c1873>=0x0;_0x4c1873--)(_0x4b0919=_0x449fa2[_0x4c1873])&&(_0x1b600d=_0x4b0919(_0x1b600d)||_0x1b600d);return _0x1b600d;},we=(_0x5aa6ad,_0x25d66d)=>(_0x222478,_0x46acf0)=>_0x25d66d(_0x222478,_0x46acf0,_0x5aa6ad);let yt=class extends _0x556fe9{constructor(_0x2231c0,_0x51f8d6,_0x591a1e,_0x4a6756,_0x2f7f45){var _0x5c9d1c=_0x1bf9e4;super(_0x2231c0,_0x51f8d6,_0x591a1e),this[_0x5c9d1c(0x2b3)]=_0x4a6756,this[_0x5c9d1c(0x254)]=_0x2f7f45;}[_0x1bf9e4(0x3e3)](_0x20f2f7,_0x1ff258){var _0x403a00=_0x1bf9e4;const _0x3e466f=this['_getUndoStack'](_0x20f2f7);if(_0x3e466f)try{const _0x2a4696=this[_0x403a00(0x27f)](_0x3e466f,_0x1ff258);this[_0x403a00(0x24f)](_0x20f2f7,_0x2a4696);}catch(_0x2851d2){this[_0x403a00(0x254)]['error'](_0x403a00(0x167),_0x2851d2),this[_0x403a00(0x3d5)](_0x20f2f7);}const _0x3a9742=this['_getRedoStack'](_0x20f2f7);if(_0x3a9742)try{const _0x68d02a=this['_transformStack'](_0x3a9742,_0x1ff258);this['_substituteRedoStack'](_0x20f2f7,_0x68d02a);}catch(_0x3d3bea){this[_0x403a00(0x254)][_0x403a00(0x197)](_0x3d3bea),this[_0x403a00(0x288)](_0x20f2f7);}}[_0x1bf9e4(0x3d5)](_0x592bda){var _0x267e53=_0x1bf9e4;const _0x20808a=this[_0x267e53(0x44e)](_0x592bda);_0x20808a&&(_0x20808a[_0x267e53(0x2fd)]=0x0,this[_0x267e53(0x18a)]());}[_0x1bf9e4(0x288)](_0x309857){var _0x36fcd7=_0x1bf9e4;const _0x1bbe06=this['_getRedoStack'](_0x309857);_0x1bbe06&&(_0x1bbe06[_0x36fcd7(0x2fd)]=0x0,this[_0x36fcd7(0x18a)]());}['_substituteUndoStack'](_0x4ac62d,_0x3ab1dc){var _0x5db0a9=_0x1bf9e4;this[_0x5db0a9(0x315)][_0x5db0a9(0x1f3)](_0x4ac62d,_0x3ab1dc),this['_updateStatus']();}[_0x1bf9e4(0x236)](_0x38c9ff,_0x232bf7){var _0x445fc8=_0x1bf9e4;this[_0x445fc8(0x440)]['set'](_0x38c9ff,_0x232bf7),this[_0x445fc8(0x18a)]();}[_0x1bf9e4(0x27f)](_0x4fa70d,_0x2c5604){var _0x228c71=_0x1bf9e4;const _0x1a8b7f=[];let _0x5986df=_0x2c5604,_0x53ca83=_0x2c5604;for(let _0x41cf72=_0x4fa70d[_0x228c71(0x2fd)]-0x1;_0x41cf72>=0x0;_0x41cf72--){const {unitID:_0x9af07b,undoMutations:_0x1ebc37,redoMutations:_0x2ea0ff}=_0x4fa70d[_0x41cf72],_0x5445dd=this[_0x228c71(0x2b3)][_0x228c71(0x210)](_0x5986df,_0x1ebc37),_0x37f9af=this[_0x228c71(0x2b3)][_0x228c71(0x210)](_0x53ca83,_0x2ea0ff);if(_0x32b4f2(_0x5445dd)||_0x32b4f2(_0x37f9af)){this['_logService'][_0x228c71(0x197)](_0x228c71(0x167),_0x228c71(0x37c),_0x5445dd,_0x37f9af);break;}_0x5986df=_0x5445dd[_0x228c71(0x1c1)],_0x53ca83=_0x37f9af[_0x228c71(0x1c1)],_0x1a8b7f[_0x228c71(0x284)]({'unitID':_0x9af07b,'undoMutations':_0x5445dd[_0x228c71(0x34c)],'redoMutations':_0x37f9af[_0x228c71(0x34c)]});}return _0x1a8b7f[_0x228c71(0x23e)]();}};yt=hr([we(0x0,_0x1dd505),we(0x1,_0x163994),we(0x2,_0x3992d9),we(0x3,_0xaa4b07),we(0x4,_0x4020c)],yt);var _r=Object['defineProperty'],lr=Object[_0x1bf9e4(0x241)],ur=(_0xcb5df8,_0x1a7ee7,_0x35d60f)=>_0x1a7ee7 in _0xcb5df8?_r(_0xcb5df8,_0x1a7ee7,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x35d60f}):_0xcb5df8[_0x1a7ee7]=_0x35d60f,dr=(_0x14668d,_0x54e2ea,_0x1192a9,_0x33eb8d)=>{var _0x1dcec8=_0x1bf9e4;for(var _0x5894b5=_0x33eb8d>0x1?void 0x0:_0x33eb8d?lr(_0x54e2ea,_0x1192a9):_0x54e2ea,_0x2cf109=_0x14668d[_0x1dcec8(0x2fd)]-0x1,_0x18ae0d;_0x2cf109>=0x0;_0x2cf109--)(_0x18ae0d=_0x14668d[_0x2cf109])&&(_0x5894b5=_0x18ae0d(_0x5894b5)||_0x5894b5);return _0x5894b5;},mt=(_0x280135,_0x208544)=>(_0x532b6c,_0x235f09)=>_0x208544(_0x532b6c,_0x235f09,_0x280135),fr=(_0x3a80f8,_0x13a1b5,_0x1744de)=>ur(_0x3a80f8,_0x13a1b5+'',_0x1744de);const vr=_0x1bf9e4(0x434);let Nt=class extends _0x13a678{constructor(_0x1cd0fc,_0x5b7e18,_0x26092e,_0x17fa4a){var _0x436164=_0x1bf9e4;super(),N(this,_0x436164(0x317)),(this[_0x436164(0x254)]=_0x5b7e18,this[_0x436164(0x2b7)]=_0x26092e,this[_0x436164(0x1f9)]=_0x17fa4a);const {..._0xb7b66}=_0x235acb({},Ds,_0x1cd0fc);if(!_0xb7b66[_0x436164(0x278)])throw new Error(_0x436164(0x466));this[_0x436164(0x317)]=_0xb7b66,this[_0x436164(0x1f9)][_0x436164(0x234)](K,_0xb7b66);}['onStarting'](){var _0x697dc2=_0x1bf9e4;this[_0x697dc2(0x3a0)](),this[_0x697dc2(0x3be)]();}[_0x1bf9e4(0x3a0)](){var _0x37d25c=_0x1bf9e4,_0x307e5b,_0x504210;this[_0x37d25c(0x2b7)][_0x37d25c(0x429)](_0x3aa1c3)&&this[_0x37d25c(0x254)]['error'](_0x37d25c(0x312),_0x37d25c(0x3d2));const _0x130632=_0x354fa5([[_0x3aa1c3,{'useClass':yt}],[Le],[Pe],[it],[rt],[at],[Si],[ot],[ve],[Ct],[gi,{'useClass':this[_0x37d25c(0x317)][_0x37d25c(0x278)]}],[_0xcb8e22,{'useClass':bt}],[_0x4f1f4e,{'useClass':Tt}],[_0x47119c,{'useClass':Rt}],[_0x3def4e,{'useClass':Ot}],[nt],[It]],(_0x307e5b=this['_config'])==null?void 0x0:_0x307e5b[_0x37d25c(0x2ce)]);if(!((_0x504210=this[_0x37d25c(0x317)])!=null&&_0x504210[_0x37d25c(0x400)])){const _0x4276eb=_0x130632[_0x37d25c(0x358)](([_0x3b52e1])=>_0x3b52e1===ht);_0x4276eb!==-0x1&&_0x130632[_0x37d25c(0x3c9)](_0x4276eb,0x1);}_0x3b854f(this['_injector'],_0x130632);}[_0x1bf9e4(0x3be)](){var _0x720478=_0x1bf9e4,_0x25e006,_0x2ea1be,_0x2bd324;this['_injector'][_0x720478(0x27c)](_0x4a6b11)[_0x720478(0x43e)]({'priority':0x14,'interceptor':_0x4addde({'maxParallel':0x6})}),(_0x25e006=this[_0x720478(0x317)])!=null&&_0x25e006[_0x720478(0x393)]||(_0x2ea1be=this[_0x720478(0x2b7)][_0x720478(0x27c)](J,_0x48a7b4[_0x720478(0x3a7)]))==null||_0x2ea1be['disableLocalCache'](),(_0x2bd324=this[_0x720478(0x317)])!=null&&_0x2bd324[_0x720478(0x2d9)]&&_0x53c293(this['_injector'],[[rt]]),_0x53c293(this['_injector'],[[at],[nt],[ot]]);}};fr(Nt,'pluginName',vr),Nt=dr([_0x5233fa(_0x3a0ca8,_0x36cc3f),mt(0x1,_0x4020c),mt(0x2,_0x1eb2b7(_0x3ba5a5)),mt(0x3,_0x2711b7)],Nt);export{Oi as AUTHZ_URL_KEY,Tt as AuthzIoHttpService,_e as AwaitingState,ae as AwaitingWithPendingState,K as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,Os as COLLAB_SUBMIT_CHANGESET_URL_KEY,gs as COLLAB_WEB_SOCKET_URL_KEY,nt as CollaborationController,st as CollaborationEntity,Rt as CollaborationImageIoService,gt as CollaborationSession,Le as CollaborationSessionService,Ft as CollaborationSocketService,Ti as CollaborationStatus,ne as CollaborationUIEventId,ve as CollaborationUIEventService,yt as CollaborativeUndoRedoService,Si as CommentService,le as ConflictState,Ss as DEFAULT_COLLAB_WEB_SOCKET_URL,wr as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,Nr as DEFAULT_WS_SESSION_TICKET_URL,Ct as DataLoaderService,St as DocCollaborationEntity,Q as FetchingMissState,Es as HEARTBEAT_INTERVAL_KEY,fi as HEARTBEAT_TIMEOUT_KEY,gi as ICollaborationSocketService,J as ILocalCacheService,Us as INetworkConditionService,ht as ISingleActiveUnitService,Ur as LOCAL_CACHE_INTERVAL,Dr as LOCAL_CACHE_INTERVAL_KEY,ys as LOGIN_URL_KEY,Pe as MemberService,Ot as MentionIoHttpService,ue as OfflineState,re as PendingState,Ar as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,Cs as RETRY_CONNECTING_MAX_COUNT_KEY,yr as SEND_CHANGESET_TIMEOUT_KEY,fs as SNAPSHOT_SERVER_URL_KEY,ps as SNAPSHOT_URL_KEY,Se as SessionStatus,Et as SheetCollaborationEntity,it as SheetTransformSelectionsService,bt as SnapshotServerOverHTTPService,ye as SyncedState,Ei as UnitStatus,Nt as UniverCollaborationClientPlugin,As as deserializeToCombResponse,Pr as getLocalCacheKey,ws as serializeCombRequest};
|
1
|
+
var _0x332b6f=_0x2301;(function(_0x443d8c,_0x246e36){var _0x50a398=_0x2301,_0x3ea174=_0x443d8c();while(!![]){try{var _0x5ca255=-parseInt(_0x50a398(0x2b3))/0x1+-parseInt(_0x50a398(0x362))/0x2+-parseInt(_0x50a398(0x190))/0x3*(-parseInt(_0x50a398(0x1aa))/0x4)+parseInt(_0x50a398(0x17b))/0x5+-parseInt(_0x50a398(0x1df))/0x6*(-parseInt(_0x50a398(0x146))/0x7)+-parseInt(_0x50a398(0x276))/0x8*(parseInt(_0x50a398(0x40f))/0x9)+parseInt(_0x50a398(0x216))/0xa*(parseInt(_0x50a398(0x1b4))/0xb);if(_0x5ca255===_0x246e36)break;else _0x3ea174['push'](_0x3ea174['shift']());}catch(_0x3523b4){_0x3ea174['push'](_0x3ea174['shift']());}}}(_0x57e4,0x53be5));var Di=Object[_0x332b6f(0x1d5)],Ui=(_0x3f980e,_0xa83f4,_0x1aac33)=>_0xa83f4 in _0x3f980e?Di(_0x3f980e,_0xa83f4,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1aac33}):_0x3f980e[_0xa83f4]=_0x1aac33,N=(_0x33c30f,_0x56207b,_0x2223b2)=>Ui(_0x33c30f,typeof _0x56207b!='symbol'?_0x56207b+'':_0x56207b,_0x2223b2);import{createIdentifier as _0x55085a,Inject as _0x5e1e11,Injector as _0x226671,IConfigService as _0x5747ff,ILogService as _0x2ee83c,Disposable as _0x401350,DisposableCollection as _0x1eb90d,toDisposable as _0x8a8554,IUniverInstanceService as _0x47549b,UserManagerService as _0x166568,UniverInstanceType as _0x2db736,LocaleService as _0x2a03f0,Optional as _0x2b6ae4,RxDisposable as _0x5861e5,Tools as _0x4e273e,Rectangle as _0x3c7a2a,ICommandService as _0x499b8d,JSONX as _0x9fef84,CommandType as _0x2bca99,IUndoRedoService as _0x17f179,IPermissionService as _0x545df8,sequenceExecute as _0x524cd0,Workbook as _0x4b1cc3,MentionType as _0x1afd39,isInternalEditorID as _0x1c648e,LocalUndoRedoService as _0x132088,IContextService as _0x1e49ca,DependentOn as _0x3acfc,Plugin as _0x3d3d32,merge as _0x43bc25,mergeOverrideWithDependencies as _0x47bf74,IAuthzIoService as _0x591c88,IMentionIOService as _0x247198,registerDependencies as _0x1ffd25,Quantity as _0x29eb6e,touchDependencies as _0x378797}from'@univerjs/core';import{Subject as _0x1ac18f,merge as _0x99efa5,of as _0x4bede0,BehaviorSubject as _0x400ec0,takeUntil as _0xa96493,ReplaySubject as _0x4a0934,take as _0x286f91,map as _0x34c49d,shareReplay as _0x4655e2,firstValueFrom as _0x6514ca,concatMap as _0x15abb8}from'rxjs';import{map as _0x2f4302,take as _0x12e6af,filter as _0x3c6cec,delay as _0x8f3393,takeUntil as _0x44300f}from'rxjs/operators';import{CollaborationEvent as _0x418085,ISnapshotServerService as _0x5d5a89,parseChangesetToProtocol as _0x53375b,ITransformService as _0x1eb68a,isTransformMutationsWithChangesetSuccess as _0x3665e5,mapDocumentTypeToUniverType as _0xb447eb,RevisionService as _0x278fa6,isTransformChangesetsSuccess as _0x4bd4ac,CompressMutationService as _0x433706,parseProtocolChangeset as _0x3b4ac4,uuidv4 as _0x3b8cf4,SnapshotService as _0x2bf404,textEncoder as _0x2f44dc,b64DecodeUnicode as _0x49bdd3,isTransformMutationsWithChangesetFailure as _0x531048,UniverCollaborationPlugin as _0x1b9b89}from'@univerjs-pro/collaboration';import{HTTPService as _0x50e32e,ISocketService as _0x526c1f,MergeInterceptorFactory as _0x45b75c,HTTPRequest as _0x24e9cf,UniverNetworkPlugin as _0x469f08,ThresholdInterceptorFactory as _0xae6792}from'@univerjs/network';import{ITelemetryService as _0x9d820b}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x2497f1}from'@univerjs/docs';import{SheetsSelectionsService as _0x30c5f4,SetSelectionsOperation as _0x2cfc9d,InsertSheetMutation as _0x499ac5,EmptyMutation as _0x287add,WorkbookEditablePermission as _0x42525e,SheetPermissionInitController as _0x2d7722}from'@univerjs/sheets';import{ImageSourceType as _0x4d38c9,ImageUploadStatusType as _0x53699a,IImageIoService as _0x14e3c5}from'@univerjs/drawing';import{getGlobalObject as _0x31c0b0}from'@univerjs-pro/license';const fs=_0x332b6f(0x2e1),vs=_0x332b6f(0x2e7),ps='SNAPSHOT_URL_KEY',yr=_0x332b6f(0x422),ms=0x7d0,gs=_0x332b6f(0x12d),Ss=_0x332b6f(0x19e),Nr=_0x332b6f(0x261),Es='HEARTBEAT_INTERVAL',Is=0x7530,fi='HEARTBEAT_TIMEOUT',vi=0x4e20,Ts=0x4e20,Cs=_0x332b6f(0x129),Rs=0x3,Dr=_0x332b6f(0x2f2),Ur=0x3e8,Os=_0x332b6f(0x379),bs=_0x332b6f(0x3d1),ys=_0x332b6f(0x3be),Ns='/universer-api/oidc/authpage',Ar=_0x332b6f(0x24c),wr=_0x332b6f(0x279);var pi=(_0x942683=>(_0x942683[_0x942683[_0x332b6f(0x1db)]=0x0]='UNDEFINED',_0x942683[_0x942683['OK']=0x1]='OK',_0x942683[_0x942683[_0x332b6f(0x2df)]=0x2]=_0x332b6f(0x2df),_0x942683[_0x942683[_0x332b6f(0x26d)]=0x3]=_0x332b6f(0x26d),_0x942683[_0x942683[_0x332b6f(0x3e8)]=0x4]=_0x332b6f(0x3e8),_0x942683[_0x942683[_0x332b6f(0x296)]=0x5]=_0x332b6f(0x296),_0x942683[_0x942683['ALREADY_EXISTS']=0x6]='ALREADY_EXISTS',_0x942683[_0x942683['INVALID_ARGUMENT']=0x7]=_0x332b6f(0x149),_0x942683[_0x942683[_0x332b6f(0x244)]=0x8]=_0x332b6f(0x244),_0x942683[_0x942683['COMPLETION_FINISHED']=0x9]=_0x332b6f(0x185),_0x942683[_0x942683[_0x332b6f(0x3b8)]=0xa]=_0x332b6f(0x3b8),_0x942683[_0x942683['MOBILE_VERIFY_CODE_MISMATCH']=0xb]=_0x332b6f(0x1b9),_0x942683[_0x942683['MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xc]='MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x942683[_0x942683['EMAIL_VERIFY_CODE_MISMATCH']=0xd]=_0x332b6f(0x1f2),_0x942683[_0x942683[_0x332b6f(0x20f)]=0xe]=_0x332b6f(0x20f),_0x942683[_0x942683[_0x332b6f(0x260)]=0x1389]=_0x332b6f(0x260),_0x942683[_0x942683[_0x332b6f(0x320)]=0x1771]=_0x332b6f(0x320),_0x942683[_0x942683['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x332b6f(0x2c3),_0x942683[_0x942683['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x332b6f(0x299),_0x942683[_0x942683[_0x332b6f(0x237)]=0x1b59]=_0x332b6f(0x237),_0x942683[_0x942683[_0x332b6f(0x1c7)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x942683[_0x942683[_0x332b6f(0x2cd)]=0x1b5b]=_0x332b6f(0x2cd),_0x942683[_0x942683['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x332b6f(0x386),_0x942683[_0x942683[_0x332b6f(0x30c)]=0x1b5d]=_0x332b6f(0x30c),_0x942683[_0x942683['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x332b6f(0x238),_0x942683[_0x942683[_0x332b6f(0x271)]=0x2329]=_0x332b6f(0x271),_0x942683[_0x942683[_0x332b6f(0x36c)]=0x232a]=_0x332b6f(0x36c),_0x942683[_0x942683[_0x332b6f(0x1b7)]=0x232b]=_0x332b6f(0x1b7),_0x942683[_0x942683[_0x332b6f(0x295)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x942683[_0x942683[_0x332b6f(0x32d)]=0x232d]=_0x332b6f(0x32d),_0x942683[_0x942683['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x332b6f(0x343),_0x942683[_0x942683[_0x332b6f(0x3b0)]=0x2712]=_0x332b6f(0x3b0),_0x942683[_0x942683[_0x332b6f(0x1dc)]=0x2713]=_0x332b6f(0x1dc),_0x942683[_0x942683[_0x332b6f(0x3a2)]=0x2714]=_0x332b6f(0x3a2),_0x942683[_0x942683[_0x332b6f(0x34e)]=0x271a]=_0x332b6f(0x34e),_0x942683[_0x942683[_0x332b6f(0x267)]=0x271b]=_0x332b6f(0x267),_0x942683[_0x942683[_0x332b6f(0x192)]=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x942683[_0x942683[_0x332b6f(0x1ae)]=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x942683[_0x942683[_0x332b6f(0x23c)]=0x271e]=_0x332b6f(0x23c),_0x942683[_0x942683[_0x332b6f(0x177)]=0x271f]=_0x332b6f(0x177),_0x942683[_0x942683[_0x332b6f(0x252)]=0x2720]='YUUMI_CONNECTOR_URL_NOT_FOUND',_0x942683[_0x942683[_0x332b6f(0x2a7)]=0x2af9]=_0x332b6f(0x2a7),_0x942683[_0x942683[_0x332b6f(0x193)]=0x2ee1]=_0x332b6f(0x193),_0x942683[_0x942683[_0x332b6f(0x2e2)]=0x2ee2]=_0x332b6f(0x2e2),_0x942683[_0x942683[_0x332b6f(0x195)]=0x2ee3]=_0x332b6f(0x195),_0x942683[_0x942683['USER_NOT_INVITED_CODE']=0x2ee4]=_0x332b6f(0x3b1),_0x942683[_0x942683[_0x332b6f(0x2c9)]=0x2ee5]=_0x332b6f(0x2c9),_0x942683[_0x942683[_0x332b6f(0x3c4)]=0x32c9]=_0x332b6f(0x3c4),_0x942683[_0x942683[_0x332b6f(0x304)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x942683[_0x942683[_0x332b6f(0x204)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x942683[_0x942683['UNRECOGNIZED']=-0x1]=_0x332b6f(0x137),_0x942683))(pi||{}),Z=(_0x2faeb3=>(_0x2faeb3[_0x2faeb3['UNIVER_UNKNOWN']=0x0]=_0x332b6f(0x226),_0x2faeb3[_0x2faeb3['UNIVER_DOC']=0x1]=_0x332b6f(0x172),_0x2faeb3[_0x2faeb3['UNIVER_SHEET']=0x2]=_0x332b6f(0x3fe),_0x2faeb3[_0x2faeb3[_0x332b6f(0x2fd)]=0x3]=_0x332b6f(0x2fd),_0x2faeb3[_0x2faeb3[_0x332b6f(0x242)]=0x4]=_0x332b6f(0x242),_0x2faeb3[_0x2faeb3[_0x332b6f(0x137)]=-0x1]=_0x332b6f(0x137),_0x2faeb3))(Z||{}),F=(_0x3706d8=>(_0x3706d8[_0x3706d8[_0x332b6f(0x194)]=0x0]=_0x332b6f(0x194),_0x3706d8[_0x3706d8['HELLO']=0x1]='HELLO',_0x3706d8[_0x3706d8[_0x332b6f(0x31d)]=0x2]=_0x332b6f(0x31d),_0x3706d8[_0x3706d8[_0x332b6f(0x42e)]=0x3]=_0x332b6f(0x42e),_0x3706d8[_0x3706d8[_0x332b6f(0x401)]=0x4]='INGEST',_0x3706d8[_0x3706d8[_0x332b6f(0x334)]=0x5]=_0x332b6f(0x334),_0x3706d8[_0x3706d8[_0x332b6f(0x188)]=0x6]=_0x332b6f(0x188),_0x3706d8[_0x3706d8[_0x332b6f(0x137)]=-0x1]='UNRECOGNIZED',_0x3706d8))(F||{}),me=(_0x50aac8=>(_0x50aac8[_0x50aac8[_0x332b6f(0x17f)]=0x0]='UNKNOWN_CODE',_0x50aac8[_0x50aac8['OK']=0x1]='OK',_0x50aac8[_0x50aac8[_0x332b6f(0x150)]=0x2]=_0x332b6f(0x150),_0x50aac8[_0x50aac8['JOIN_ROOM_FULL']=0x3e9]=_0x332b6f(0x2fe),_0x50aac8[_0x50aac8[_0x332b6f(0x2c6)]=0x3ea]=_0x332b6f(0x2c6),_0x50aac8[_0x50aac8[_0x332b6f(0x33f)]=0x3eb]=_0x332b6f(0x33f),_0x50aac8[_0x50aac8[_0x332b6f(0x1ce)]=0x3ec]=_0x332b6f(0x1ce),_0x50aac8[_0x50aac8[_0x332b6f(0x137)]=-0x1]=_0x332b6f(0x137),_0x50aac8))(me||{}),mi=(_0x57a9da=>(_0x57a9da[_0x57a9da['Undefined']=0x0]=_0x332b6f(0x275),_0x57a9da[_0x57a9da[_0x332b6f(0x286)]=0x1]=_0x332b6f(0x286),_0x57a9da[_0x57a9da[_0x332b6f(0x360)]=0x2]=_0x332b6f(0x360),_0x57a9da[_0x57a9da[_0x332b6f(0x284)]=0x3]=_0x332b6f(0x284),_0x57a9da[_0x57a9da[_0x332b6f(0x1c3)]=0x4]=_0x332b6f(0x1c3),_0x57a9da[_0x57a9da['UserProfileImg']=0x5]=_0x332b6f(0x42f),_0x57a9da[_0x57a9da[_0x332b6f(0x137)]=-0x1]=_0x332b6f(0x137),_0x57a9da))(mi||{});const K=_0x332b6f(0x274),Ds={};var ne=(_0x388778=>(_0x388778['OTHER_CLIENT_EDITING']=_0x332b6f(0x3f1),_0x388778[_0x332b6f(0x26d)]=_0x332b6f(0x26d),_0x388778[_0x332b6f(0x262)]='CONFLICT',_0x388778[_0x332b6f(0x33b)]=_0x332b6f(0x33b),_0x388778[_0x332b6f(0x1c0)]=_0x332b6f(0x1c0),_0x388778[_0x332b6f(0x398)]=_0x332b6f(0x398),_0x388778[_0x332b6f(0x3af)]=_0x332b6f(0x3af),_0x388778[_0x332b6f(0x15a)]=_0x332b6f(0x15a),_0x388778))(ne||{});class ve{constructor(){var _0x3d6ac5=_0x332b6f;N(this,'_event$',new _0x1ac18f()),N(this,'event$',this[_0x3d6ac5(0x312)][_0x3d6ac5(0x38a)]());}[_0x332b6f(0x406)](_0x5af372){var _0x5bcc87=_0x332b6f;this[_0x5bcc87(0x312)][_0x5bcc87(0x2b8)](_0x5af372);}}const Us=_0x55085a(_0x332b6f(0x3e4));function As(_0x3937c7){var _0x18677c=_0x332b6f,_0x2408ba,_0x1e82bb,_0x213e72,_0x39d198,_0xc1f0f7;const _0x1d44f4=_0x3937c7[_0x18677c(0x349)],_0x47fb3a=JSON[_0x18677c(0x19b)](_0x1d44f4);switch(_0x47fb3a[_0x18677c(0x2be)]){case F[_0x18677c(0x334)]:case F['HELLO']:{const _0x5bc4aa=_0x47fb3a[_0x18677c(0x2a5)];return{..._0x47fb3a,'data':_0x5bc4aa,'cmd':_0x47fb3a[_0x18677c(0x2be)]};}case F['JOIN']:{const _0x443b1e=_0x47fb3a[_0x18677c(0x410)];return{..._0x47fb3a,'data':_0x443b1e,'cmd':_0x47fb3a['cmd']};}case F[_0x18677c(0x188)]:{const _0x5a602e=_0x47fb3a['collaMsg'];switch(_0x5a602e['eventID']){case _0x418085['PERMISSION_REJ']:return{..._0x47fb3a,'data':{..._0x5a602e,'data':(_0x2408ba=_0x5a602e[_0x18677c(0x3c1)])==null?void 0x0:_0x2408ba['cs']},'cmd':_0x47fb3a[_0x18677c(0x2be)]};case _0x418085[_0x18677c(0x377)]:return{..._0x47fb3a,'data':{..._0x5a602e,'data':(_0x1e82bb=_0x5a602e['csAckEvent'])==null?void 0x0:_0x1e82bb['cs']},'cmd':_0x47fb3a['cmd']};case _0x418085[_0x18677c(0x427)]:return{..._0x47fb3a,'data':{..._0x5a602e,'data':(_0x213e72=_0x5a602e['newCsEvent'])==null?void 0x0:_0x213e72['cs']},'cmd':_0x47fb3a[_0x18677c(0x2be)]};case _0x418085['CHANGESET_REJ']:return{..._0x47fb3a,'data':{..._0x5a602e,'data':(_0x39d198=_0x5a602e[_0x18677c(0x39f)])==null?void 0x0:_0x39d198['cs']},'cmd':_0x47fb3a[_0x18677c(0x2be)]};case _0x418085[_0x18677c(0x325)]:return{..._0x47fb3a,'data':{..._0x5a602e,'data':(_0xc1f0f7=_0x5a602e[_0x18677c(0x2e4)])==null?void 0x0:_0xc1f0f7['cs']},'cmd':_0x47fb3a[_0x18677c(0x2be)]};case _0x418085[_0x18677c(0x27e)]:return{..._0x47fb3a,'data':{..._0x5a602e,'data':_0x5a602e[_0x18677c(0x29b)]},'cmd':_0x47fb3a[_0x18677c(0x2be)]};case _0x418085['USERS_ENTER']:return{..._0x47fb3a,'data':{..._0x5a602e,'data':_0x5a602e[_0x18677c(0x3ab)]},'cmd':_0x47fb3a[_0x18677c(0x2be)]};case _0x418085[_0x18677c(0x2ca)]:return{..._0x47fb3a,'data':{..._0x5a602e,'data':_0x5a602e['leaveEvent']},'cmd':_0x47fb3a[_0x18677c(0x2be)]};case _0x418085[_0x18677c(0x224)]:return{..._0x47fb3a,'data':{..._0x5a602e,'data':_0x5a602e['liveShareNewHost']},'cmd':_0x47fb3a[_0x18677c(0x2be)]};case _0x418085[_0x18677c(0x203)]:case _0x418085[_0x18677c(0x395)]:return{..._0x47fb3a,'data':{..._0x5a602e,'data':_0x5a602e[_0x18677c(0x2d7)]},'cmd':_0x47fb3a[_0x18677c(0x2be)]};case _0x418085[_0x18677c(0x351)]:return{..._0x47fb3a,'data':{..._0x5a602e,'data':_0x5a602e[_0x18677c(0x291)]},'cmd':_0x47fb3a[_0x18677c(0x2be)]};case _0x418085[_0x18677c(0x2ef)]:return{..._0x47fb3a,'data':_0x5a602e,'cmd':_0x47fb3a[_0x18677c(0x2be)]};case _0x418085['COMMENT_UPDATE']:return{..._0x47fb3a,'data':{..._0x5a602e,'data':_0x5a602e[_0x18677c(0x3e3)]},'cmd':_0x47fb3a[_0x18677c(0x2be)]};case _0x418085[_0x18677c(0x263)]:return{..._0x47fb3a,'data':{..._0x5a602e,'data':_0x5a602e['updatePermissionObjEvent']},'cmd':_0x47fb3a[_0x18677c(0x2be)]};case _0x418085['SHOULD_CLOSE_CONN']:return{..._0x47fb3a,'data':{..._0x5a602e,'data':_0x5a602e[_0x18677c(0x25a)]},'cmd':_0x47fb3a[_0x18677c(0x2be)]};case _0x418085[_0x18677c(0x429)]:return{..._0x47fb3a,'data':{..._0x5a602e,'data':_0x5a602e[_0x18677c(0x376)]},'cmd':_0x47fb3a[_0x18677c(0x2be)]};default:return _0x47fb3a;}}default:return _0x47fb3a;}}function ws(_0xbb5663){var _0x380e77=_0x332b6f;switch(_0xbb5663[_0x380e77(0x2be)]){case F[_0x380e77(0x334)]:case F[_0x380e77(0x1c5)]:return JSON[_0x380e77(0x25e)]({'cmd':_0xbb5663[_0x380e77(0x2be)],'routeKey':_0xbb5663[_0x380e77(0x23a)]});case F['INGEST']:{let _0x582b51;switch(_0xbb5663[_0x380e77(0x349)][_0x380e77(0x298)]){case _0x418085[_0x380e77(0x27e)]:{_0x582b51={'eventID':_0x418085['UPDATE_CURSOR'],'updateCursorEvent':_0xbb5663[_0x380e77(0x349)][_0x380e77(0x349)]};break;}case _0x418085['USERS_LEAVE']:{_0x582b51={'eventID':_0x418085[_0x380e77(0x2ca)],'leaveEvent':_0xbb5663[_0x380e77(0x349)][_0x380e77(0x349)]};break;}case _0x418085[_0x380e77(0x241)]:{_0x582b51={'eventID':_0x418085['USERS_ENTER'],'joinEvent':_0xbb5663['data'][_0x380e77(0x349)]};break;}case _0x418085[_0x380e77(0x224)]:{_0x582b51={'eventID':_0x418085[_0x380e77(0x224)],'liveShareNewHost':_0xbb5663[_0x380e77(0x349)][_0x380e77(0x349)]};break;}case _0x418085['LIVESHARE_OPERATION']:{_0x582b51={'eventID':_0x418085['LIVESHARE_OPERATION'],'liveShareOperation':_0xbb5663[_0x380e77(0x349)][_0x380e77(0x349)]};break;}case _0x418085['LIVESHARE_TERMINATE']:{_0x582b51={'eventID':_0x418085['LIVESHARE_TERMINATE'],'liveShareTerminate':_0xbb5663[_0x380e77(0x349)][_0x380e77(0x349)]};break;}case _0x418085['LIVESHARE_REQUEST_HOST']:{_0x582b51={'eventID':_0x418085['LIVESHARE_REQUEST_HOST'],'liveShareRequestHost':_0xbb5663[_0x380e77(0x349)]['data']};break;}case _0x418085[_0x380e77(0x203)]:{_0x582b51={'eventID':_0x418085[_0x380e77(0x203)]};break;}default:_0x582b51={'eventID':_0xbb5663[_0x380e77(0x349)]['eventID']};}return JSON['stringify']({'cmd':_0xbb5663[_0x380e77(0x2be)],'routeKey':_0xbb5663[_0x380e77(0x23a)],'collaMsg':_0x582b51});}case F[_0x380e77(0x31d)]:return JSON[_0x380e77(0x25e)]({'cmd':_0xbb5663['cmd'],'routeKey':_0xbb5663['routeKey'],'joinReq':_0xbb5663['data']});case F[_0x380e77(0x42e)]:return JSON[_0x380e77(0x25e)]({'cmd':_0xbb5663['cmd'],'routeKey':_0xbb5663[_0x380e77(0x23a)],'leaveReq':_0xbb5663['data']});default:throw new Error(_0x380e77(0x357));}}var Ps=Object[_0x332b6f(0x438)],Ls=(_0x481aa5,_0x5e0300,_0x383651,_0x19497c)=>{var _0x136e4f=_0x332b6f;for(var _0x917785=_0x19497c>0x1?void 0x0:_0x19497c?Ps(_0x5e0300,_0x383651):_0x5e0300,_0x3b2912=_0x481aa5[_0x136e4f(0x378)]-0x1,_0x3bcd5e;_0x3b2912>=0x0;_0x3b2912--)(_0x3bcd5e=_0x481aa5[_0x3b2912])&&(_0x917785=_0x3bcd5e(_0x917785)||_0x917785);return _0x917785;},Ue=(_0x2bcdac,_0x2c7417)=>(_0x370c3b,_0x5dc474)=>_0x2c7417(_0x370c3b,_0x5dc474,_0x2bcdac);const gi=_0x55085a('univer-pro.collaboration-client-socket-service');function _0x2301(_0x77b3ab,_0x3a16d6){var _0x57e49a=_0x57e4();return _0x2301=function(_0x2301c1,_0x1d399b){_0x2301c1=_0x2301c1-0x125;var _0x21b861=_0x57e49a[_0x2301c1];return _0x21b861;},_0x2301(_0x77b3ab,_0x3a16d6);}function Ms(_0x22fb23,_0x71eea5,_0x1bb662){var _0x3ee6fa=_0x332b6f;return _0x22fb23+'/'+_0x71eea5+_0x3ee6fa(0x3ff)+_0x1bb662+_0x3ee6fa(0x35b);}let Ft=class extends _0x401350{constructor(_0x41b0c8,_0x56311c,_0x7a138b,_0x4e38ae,_0x2d1200){var _0x150d9b=_0x332b6f;super(),this[_0x150d9b(0x300)]=_0x41b0c8,this[_0x150d9b(0x2ff)]=_0x56311c,this[_0x150d9b(0x3a8)]=_0x7a138b,this[_0x150d9b(0x3f5)]=_0x4e38ae,this[_0x150d9b(0x2a2)]=_0x2d1200;}[_0x332b6f(0x2a8)](_0x553f86){var _0x466ed5=_0x332b6f;const _0x3e8ff8=this[_0x466ed5(0x300)][_0x466ed5(0x292)](_0x526c1f);if(!_0x3e8ff8)throw new Error(_0x466ed5(0x186));const _0x4242d5=_0x3e8ff8[_0x466ed5(0x42d)](_0x553f86);if(!_0x4242d5)throw new Error(_0x466ed5(0x1eb));const _0x58f4b6=new _0x1eb90d(),_0x5abecf=new _0x1ac18f();_0x58f4b6[_0x466ed5(0x1d3)](_0x4242d5[_0x466ed5(0x17e)][_0x466ed5(0x166)](_0x343ff8=>_0x5abecf[_0x466ed5(0x2b8)](_0x343ff8))),_0x58f4b6[_0x466ed5(0x1d3)](_0x8a8554(()=>_0x5abecf[_0x466ed5(0x382)]()));const _0x4252b6=new _0x1ac18f();_0x58f4b6['add'](_0x4242d5[_0x466ed5(0x18c)]['subscribe'](_0x1ee716=>_0x4252b6['next'](_0x1ee716))),_0x58f4b6['add'](_0x8a8554(()=>_0x4252b6[_0x466ed5(0x382)]()));const _0x1a050b=new _0x1ac18f();_0x58f4b6['add'](_0x4242d5[_0x466ed5(0x3ac)]['subscribe'](_0x47d8e1=>{var _0x4a6328=_0x466ed5;const _0x3d2ab7=As(_0x47d8e1);_0x1a050b[_0x4a6328(0x2b8)](_0x3d2ab7);})),_0x58f4b6['add'](_0x8a8554(()=>_0x1a050b[_0x466ed5(0x382)]()));let _0x2c643e;const _0xb45769=()=>{var _0x120791=_0x466ed5;_0x4252b6[_0x120791(0x2b8)](new Event(_0x120791(0x254))),_0x5abecf[_0x120791(0x2b8)](new Event(_0x120791(0x254))),_0x2c643e[_0x120791(0x1e6)]();};return _0x2c643e={'memberID':'','close$':_0x5abecf[_0x466ed5(0x38a)](),'error$':_0x4252b6[_0x466ed5(0x38a)](),'open$':_0x4242d5[_0x466ed5(0x18e)],'message$':_0x1a050b[_0x466ed5(0x38a)](),'send':_0x16e13e=>{var _0x2e6288=_0x466ed5;if(_0x16e13e[_0x2e6288(0x2be)]===F['INGEST']){if(_0x16e13e[_0x2e6288(0x349)][_0x2e6288(0x298)]===_0x418085[_0x2e6288(0x338)]){this['_submitChangeset'](_0x2c643e,_0x16e13e[_0x2e6288(0x349)])[_0x2e6288(0x154)](_0x2cdcc5=>{var _0x5cc3e1=_0x2e6288;this[_0x5cc3e1(0x3f5)][_0x5cc3e1(0x160)](_0x2cdcc5),_0xb45769();});return;}if(_0x16e13e[_0x2e6288(0x349)][_0x2e6288(0x298)]===_0x418085['FETCH_MISSING']){const _0x11494d=_0x16e13e[_0x2e6288(0x349)];this[_0x2e6288(0x39e)](_0x11494d)[_0x2e6288(0x319)](_0x1fd144=>{var _0x549d0b=_0x2e6288;_0x1a050b['next']({'cmd':F[_0x549d0b(0x188)],'code':me['OK'],'routeKey':_0x11494d[_0x549d0b(0x349)][_0x549d0b(0x31a)],'routeType':'','data':{'eventID':_0x418085['PSEUDO_FETCH_MISSING_RESULT'],'data':{'changesets':_0x1fd144}}});})[_0x2e6288(0x154)](_0xb3ba7f=>{var _0x13e2c8=_0x2e6288;this[_0x13e2c8(0x3f5)][_0x13e2c8(0x160)](_0xb3ba7f),_0xb45769();});return;}}_0x4242d5[_0x2e6288(0x21f)](ws(_0x16e13e));},'close':()=>{var _0x171ee9=_0x466ed5;_0x4242d5['close'](),_0x58f4b6[_0x171ee9(0x3f3)]();}},_0x2c643e;}async[_0x332b6f(0x2fa)](_0x129977,_0x46ef7c){var _0x23fc50=_0x332b6f,_0x1c192c,_0x463332;const {unitType:_0x3b8b11,unitID:_0x1c0f46,changeset:_0x127a2a}=_0x46ef7c[_0x23fc50(0x349)],_0x3dde5f={'unitID':_0x1c0f46,'memberID':_0x129977[_0x23fc50(0x2a0)],'type':_0x3b8b11,'changeset':_0x53375b(_0x127a2a)},_0x57a6c1=this[_0x23fc50(0x3a8)][_0x23fc50(0x1ac)](Os),_0x10d9fd=this[_0x23fc50(0x3a8)]['getConfig'](K),_0x525345=Ms((_0x463332=(_0x1c192c=_0x10d9fd==null?void 0x0:_0x10d9fd[_0x23fc50(0x26e)])!=null?_0x1c192c:_0x57a6c1)!=null?_0x463332:bs,_0x3b8b11,_0x1c0f46);try{await this[_0x23fc50(0x2ff)][_0x23fc50(0x1a3)](_0x525345,{'body':_0x3dde5f});}catch(_0x3230df){throw this['_logService']['error'](_0x23fc50(0x2da),_0x23fc50(0x2fc)),_0x3230df;}}async[_0x332b6f(0x39e)](_0x49eb8a){var _0x554b51=_0x332b6f;const {unitID:_0xcd0df1,from:_0x23fce2,to:_0x1dc360,unitType:_0x5863d1}=_0x49eb8a['data'];return(await this[_0x554b51(0x2a2)]['fetchMissingChangesets']({'metadata':void 0x0},{'unitID':_0xcd0df1,'type':_0x5863d1,'from':_0x23fce2,'to':_0x1dc360}))[_0x554b51(0x38c)];}};Ft=Ls([Ue(0x0,_0x5e1e11(_0x226671)),Ue(0x1,_0x5e1e11(_0x50e32e)),Ue(0x2,_0x5747ff),Ue(0x3,_0x2ee83c),Ue(0x4,_0x5d5a89)],Ft);const xs='collaboration_new_changeset';function ks(_0x520154){var _0x535bf8=_0x332b6f;return JSON['stringify'](_0x520154)[_0x535bf8(0x378)];}class Si{constructor(){var _0x3cea24=_0x332b6f;N(this,'_commentUpdate$',new _0x1ac18f()),N(this,_0x3cea24(0x2e5),this[_0x3cea24(0x3a3)][_0x3cea24(0x38a)]());}[_0x332b6f(0x151)](_0x55d0f8){var _0x541c76=_0x332b6f;this[_0x541c76(0x3a3)][_0x541c76(0x2b8)](_0x55d0f8);}}var $s=Object['getOwnPropertyDescriptor'],Hs=(_0x735475,_0x308ba6,_0x4dca20,_0x2424aa)=>{var _0x23229b=_0x332b6f;for(var _0x278eff=_0x2424aa>0x1?void 0x0:_0x2424aa?$s(_0x308ba6,_0x4dca20):_0x308ba6,_0x1175d3=_0x735475[_0x23229b(0x378)]-0x1,_0x3cffdd;_0x1175d3>=0x0;_0x1175d3--)(_0x3cffdd=_0x735475[_0x1175d3])&&(_0x278eff=_0x3cffdd(_0x278eff)||_0x278eff);return _0x278eff;},Vt=(_0x56b41f,_0x339659)=>(_0x3dc78f,_0x152e86)=>_0x339659(_0x3dc78f,_0x152e86,_0x56b41f);let Pe=class extends _0x401350{constructor(_0x1a3840,_0xbfddf2){var _0x5b8ed9=_0x332b6f;super(),N(this,_0x5b8ed9(0x183),new Map()),N(this,'_roomCreated$',new _0x1ac18f()),(this[_0x5b8ed9(0x18d)]=_0x1a3840,this[_0x5b8ed9(0x391)]=_0xbfddf2,this[_0x5b8ed9(0x288)](_0x99efa5(this['_univerInstanceService'][_0x5b8ed9(0x1da)](_0x2db736[_0x5b8ed9(0x3fe)])[_0x5b8ed9(0x287)](_0x2f4302(_0x276b84=>_0x276b84[_0x5b8ed9(0x2bd)]())),this[_0x5b8ed9(0x18d)][_0x5b8ed9(0x1da)](_0x2db736[_0x5b8ed9(0x172)])[_0x5b8ed9(0x287)](_0x2f4302(_0x4998b6=>_0x4998b6[_0x5b8ed9(0x2bd)]())),this['_univerInstanceService'][_0x5b8ed9(0x1da)](_0x2db736[_0x5b8ed9(0x2fd)])[_0x5b8ed9(0x287)](_0x2f4302(_0xac29a7=>_0xac29a7[_0x5b8ed9(0x2bd)]())))[_0x5b8ed9(0x166)](_0x2e14c9=>this['_removeRoom'](_0x2e14c9))));}[_0x332b6f(0x368)](_0x1e9b55){var _0x292020=_0x332b6f;return this[_0x292020(0x183)][_0x292020(0x213)](_0x1e9b55)?_0x4bede0(this[_0x292020(0x183)]['get'](_0x1e9b55)):this['_roomCreated$']['pipe'](_0x2f4302(_0x145f6c=>{var _0x283ed9=_0x292020;if(_0x145f6c===_0x1e9b55)return this[_0x283ed9(0x183)]['get'](_0x145f6c);}));}[_0x332b6f(0x20b)](_0x36ced7){var _0x406d50=_0x332b6f;this[_0x406d50(0x391)]['setCurrentUser'](_0x36ced7);}[_0x332b6f(0x390)](){var _0xa6aa94=_0x332b6f;return this[_0xa6aa94(0x391)][_0xa6aa94(0x390)]();}[_0x332b6f(0x323)](_0x504e6a,_0x2b8e45){var _0x5e433e=_0x332b6f;let _0x2bc185=this[_0x5e433e(0x183)][_0x5e433e(0x292)](_0x504e6a);_0x2bc185||(_0x2bc185=new Bs(),this['_roomMembers'][_0x5e433e(0x19f)](_0x504e6a,_0x2bc185),this[_0x5e433e(0x1ab)][_0x5e433e(0x2b8)](_0x504e6a)),_0x2bc185['updateMember'](_0x2b8e45);}[_0x332b6f(0x366)](_0x5002be,_0x13c26e){var _0x5b385e=_0x332b6f;const _0xe06ab4=this['_roomMembers'][_0x5b385e(0x292)](_0x5002be);_0xe06ab4&&_0xe06ab4[_0x5b385e(0x366)](_0x13c26e);}[_0x332b6f(0x3d6)](_0x4f18de){var _0x7ef915=_0x332b6f;return this[_0x7ef915(0x183)][_0x7ef915(0x292)](_0x4f18de);}[_0x332b6f(0x393)](_0x3b8526,_0x54fb1b){var _0x453154=_0x332b6f;const _0x3627e2=this[_0x453154(0x183)][_0x453154(0x292)](_0x3b8526);if(_0x3627e2)return _0x3627e2[_0x453154(0x393)](_0x54fb1b);}['_removeRoom'](_0x401a77){var _0x2409fe=_0x332b6f;const _0x51bbd9=this[_0x2409fe(0x183)][_0x2409fe(0x292)](_0x401a77);_0x51bbd9&&(_0x51bbd9[_0x2409fe(0x3f3)](),this[_0x2409fe(0x183)]['delete'](_0x401a77));}['dispose'](){var _0x3145fd=_0x332b6f;this[_0x3145fd(0x183)][_0x3145fd(0x31c)](_0x4d8dbb=>_0x4d8dbb[_0x3145fd(0x3f3)]()),this[_0x3145fd(0x183)][_0x3145fd(0x2e6)](),this[_0x3145fd(0x1ab)]['complete']();}};Pe=Hs([Vt(0x0,_0x47549b),Vt(0x1,_0x5e1e11(_0x166568))],Pe);class Bs extends _0x401350{constructor(){var _0x2fc196=_0x332b6f;super(...arguments),N(this,_0x2fc196(0x126),new Map()),N(this,_0x2fc196(0x2bb),new _0x400ec0(this[_0x2fc196(0x126)])),N(this,_0x2fc196(0x2aa),this[_0x2fc196(0x2bb)][_0x2fc196(0x38a)]());}[_0x332b6f(0x3f3)](){var _0x3ad8e9=_0x332b6f;this[_0x3ad8e9(0x126)][_0x3ad8e9(0x2e6)]();}['updateMember'](_0x31194c){var _0x42d580=_0x332b6f;this[_0x42d580(0x126)][_0x42d580(0x19f)](_0x31194c[_0x42d580(0x2a0)],_0x31194c),this[_0x42d580(0x399)]();}[_0x332b6f(0x366)](_0x294c65){var _0xfb181a=_0x332b6f;this['_members'][_0xfb181a(0x2ae)](_0x294c65);}[_0x332b6f(0x393)](_0x45e0ee){var _0x1718ea=_0x332b6f;return this[_0x1718ea(0x126)][_0x1718ea(0x292)](_0x45e0ee);}[_0x332b6f(0x2c0)](){var _0x3f9832=_0x332b6f;return Array[_0x3f9832(0x3f0)](this['_members'][_0x3f9832(0x235)]());}['_emitMembers'](){var _0x3ce9f8=_0x332b6f;this['_members$'][_0x3ce9f8(0x2b8)](this[_0x3ce9f8(0x126)]);}}var js=Object[_0x332b6f(0x438)],Fs=(_0x962fea,_0x2d65c3,_0x5c0b3e,_0x5b9d2e)=>{for(var _0x5dabf0=_0x5b9d2e>0x1?void 0x0:_0x5b9d2e?js(_0x2d65c3,_0x5c0b3e):_0x2d65c3,_0x4f8904=_0x962fea['length']-0x1,_0x191241;_0x4f8904>=0x0;_0x4f8904--)(_0x191241=_0x962fea[_0x4f8904])&&(_0x5dabf0=_0x191241(_0x5dabf0)||_0x5dabf0);return _0x5dabf0;},pe=(_0x197e4c,_0x28620c)=>(_0x590c2a,_0x148d0c)=>_0x28620c(_0x590c2a,_0x148d0c,_0x197e4c),Se=(_0x1a76a3=>(_0x1a76a3[_0x1a76a3[_0x332b6f(0x36f)]=0x0]=_0x332b6f(0x36f),_0x1a76a3[_0x1a76a3['JOINING']=0x1]=_0x332b6f(0x13e),_0x1a76a3[_0x1a76a3[_0x332b6f(0x433)]=0x2]=_0x332b6f(0x433),_0x1a76a3[_0x1a76a3[_0x332b6f(0x258)]=0x3]=_0x332b6f(0x258),_0x1a76a3))(Se||{});const Gt={[me[_0x332b6f(0x150)]]:_0x332b6f(0x24f),[me['JOIN_ROOM_FULL']]:_0x332b6f(0x35c),[me[_0x332b6f(0x2c6)]]:_0x332b6f(0x33d),[me[_0x332b6f(0x33f)]]:_0x332b6f(0x417),[me[_0x332b6f(0x1ce)]]:'session.room-cnt-exceeds'};let gt=class extends _0x5861e5{constructor(_0x5439fb,_0x1b8033,_0x5cfb9c,_0x2a331f,_0x7688fe,_0x3a3e21,_0x4097ec,_0x46d4a8,_0x2ad77a){var _0x4fb292=_0x332b6f;super(),N(this,_0x4fb292(0x250),new _0x400ec0(0x0)),N(this,'sessionStatus$',this[_0x4fb292(0x250)]['asObservable']()),N(this,_0x4fb292(0x312),new _0x1ac18f()),N(this,_0x4fb292(0x361),this[_0x4fb292(0x312)][_0x4fb292(0x38a)]()),N(this,'_socket'),N(this,_0x4fb292(0x3a0)),N(this,_0x4fb292(0x269)),N(this,_0x4fb292(0x38e),!0x1),N(this,_0x4fb292(0x370),null),(this['_unitID']=_0x5439fb,this[_0x4fb292(0x3f5)]=_0x5cfb9c,this[_0x4fb292(0x3a8)]=_0x2a331f,this[_0x4fb292(0x255)]=_0x7688fe,this['_memberService']=_0x3a3e21,this[_0x4fb292(0x37d)]=_0x4097ec,this[_0x4fb292(0x30a)]=_0x46d4a8,this[_0x4fb292(0x1b1)]=_0x2ad77a,this[_0x4fb292(0x38e)]=!!this[_0x4fb292(0x1b1)],_0x1b8033[_0x4fb292(0x287)](_0xa96493(this[_0x4fb292(0x41b)]))[_0x4fb292(0x166)](_0x41bbb0=>{var _0x5507ca=_0x4fb292,_0x3efa17;typeof _0x41bbb0>'u'||(this['_socket']=_0x41bbb0,_0x41bbb0?(this[_0x5507ca(0x348)](_0x41bbb0),this[_0x5507ca(0x3a0)]=_0x41bbb0[_0x5507ca(0x3ac)]['subscribe'](_0x19aa41=>{var _0x597631=_0x5507ca;_0x19aa41[_0x597631(0x23a)]===this['_unitID']&&this['_onCombEvent'](_0x19aa41);})):(this[_0x5507ca(0x41f)](),this[_0x5507ca(0x250)][_0x5507ca(0x2b8)](0x2),(_0x3efa17=this[_0x5507ca(0x3a0)])==null||_0x3efa17['unsubscribe'](),this['_socketMessageSubscription']=null));}));}get[_0x332b6f(0x3a6)](){var _0x3363ff=_0x332b6f;return this[_0x3363ff(0x250)][_0x3363ff(0x1c6)]();}[_0x332b6f(0x270)](){var _0x596288=_0x332b6f,_0x1fb654,_0x4e6587;return(_0x4e6587=(_0x1fb654=this[_0x596288(0x381)])==null?void 0x0:_0x1fb654['memberID'])!=null?_0x4e6587:null;}['dispose'](){var _0x3e1312=_0x332b6f;super[_0x3e1312(0x3f3)](),this[_0x3e1312(0x41b)][_0x3e1312(0x2b8)](),this[_0x3e1312(0x41b)][_0x3e1312(0x382)]();}[_0x332b6f(0x1e6)](){var _0x207269=_0x332b6f,_0x482ffd,_0x33fd2a;this[_0x207269(0x41f)](),(_0x482ffd=this['_socket'])==null||_0x482ffd[_0x207269(0x21f)]({'cmd':F[_0x207269(0x42e)],'data':{'roomID':this[_0x207269(0x1e8)]}}),(_0x33fd2a=this[_0x207269(0x381)])==null||_0x33fd2a[_0x207269(0x1e6)](),this[_0x207269(0x312)]['complete'](),this[_0x207269(0x250)]['complete'](),this[_0x207269(0x3f3)]();}['_onCombEvent'](_0x2cf8b1){var _0x5ab6a6=_0x332b6f;_0x2cf8b1['cmd']===F[_0x5ab6a6(0x31d)]?this[_0x5ab6a6(0x2e9)](_0x2cf8b1):_0x2cf8b1[_0x5ab6a6(0x2be)]===F[_0x5ab6a6(0x188)]&&this[_0x5ab6a6(0x2f6)](_0x2cf8b1);}[_0x332b6f(0x348)](_0x5d12e8){var _0x3f0deb=_0x332b6f;this['_sessionStatus$']['next'](0x1),_0x5d12e8[_0x3f0deb(0x21f)]({'cmd':F[_0x3f0deb(0x31d)],'routeKey':this[_0x3f0deb(0x1e8)],'routeType':'','data':{'rooms':[{'roomID':this[_0x3f0deb(0x1e8)]}]}});}[_0x332b6f(0x2e9)](_0x12e2ec){var _0x80de34=_0x332b6f,_0x41ff72;if(_0x12e2ec[_0x80de34(0x14a)]in Gt){this['_collaborationUIEventService'][_0x80de34(0x406)]({'id':ne[_0x80de34(0x1c0)],'data':Gt[_0x12e2ec['code']]}),this[_0x80de34(0x250)][_0x80de34(0x2b8)](0x2);return;}this[_0x80de34(0x250)]['next'](0x3);const _0x155144=(_0x41ff72=_0x12e2ec['data'][_0x80de34(0x24a)][this[_0x80de34(0x1e8)]])==null?void 0x0:_0x41ff72[_0x80de34(0x1d0)];_0x155144&&_0x155144[_0x80de34(0x31c)](_0x29df42=>this['_memberService']['updateMember'](this[_0x80de34(0x1e8)],_0x29df42));}[_0x332b6f(0x2f6)](_0x158376){var _0x31690b=_0x332b6f;try{const _0xed443b=_0x158376[_0x31690b(0x349)];switch(_0xed443b['eventID']){case _0x418085[_0x31690b(0x241)]:this[_0x31690b(0x2d4)](_0xed443b),this[_0x31690b(0x312)][_0x31690b(0x2b8)](_0xed443b);break;case _0x418085[_0x31690b(0x2ca)]:this[_0x31690b(0x297)](_0xed443b),this[_0x31690b(0x312)][_0x31690b(0x2b8)](_0xed443b);break;case _0x418085['CHANGESET_ACK']:case _0x418085[_0x31690b(0x325)]:this[_0x31690b(0x1bf)](),this['_clearCollaborationTimeoutTimer'](),this[_0x31690b(0x312)]['next'](_0xed443b);break;case _0x418085[_0x31690b(0x2ef)]:this[_0x31690b(0x3f5)][_0x31690b(0x160)](_0x31690b(0x217)+JSON['stringify'](_0xed443b)),this[_0x31690b(0x312)][_0x31690b(0x2b8)](_0xed443b);break;case _0x418085['COMMENT_UPDATE']:this[_0x31690b(0x37d)][_0x31690b(0x151)](_0xed443b[_0x31690b(0x349)]),this[_0x31690b(0x312)]['next'](_0xed443b);break;default:this[_0x31690b(0x312)][_0x31690b(0x2b8)](_0xed443b);}}catch(_0xd05ff1){this[_0x31690b(0x3f5)]['error'](_0xd05ff1,_0x158376);}}[_0x332b6f(0x2d4)](_0x8b2fef){var _0x604e32=_0x332b6f;this[_0x604e32(0x27b)][_0x604e32(0x323)](this[_0x604e32(0x1e8)],_0x8b2fef[_0x604e32(0x349)]);}[_0x332b6f(0x297)](_0x24f440){var _0x3585cf=_0x332b6f;this[_0x3585cf(0x27b)][_0x3585cf(0x366)](this[_0x3585cf(0x1e8)],_0x24f440[_0x3585cf(0x349)][_0x3585cf(0x2a0)]);}async[_0x332b6f(0x21f)](_0x6cb771,_0x5bb46e){var _0x4014d7=_0x332b6f;if(this[_0x4014d7(0x3a6)]!==0x3||!this['_socket'])throw new Error(_0x4014d7(0x165));try{_0x6cb771[_0x4014d7(0x298)]===_0x418085['SUBMIT_CHANGESET']&&(this['_scheduleCollaborationTimeoutTimer'](),this[_0x4014d7(0x373)](_0x6cb771)),this[_0x4014d7(0x381)][_0x4014d7(0x21f)]({'cmd':F['INGEST'],'routeKey':_0x5bb46e,'routeType':'','data':_0x6cb771});}catch(_0x4444dc){this[_0x4014d7(0x3f5)]['error'](_0x4444dc);}}[_0x332b6f(0x282)](){var _0xaebb38=_0x332b6f,_0xc18509;this[_0xaebb38(0x269)]=setTimeout(()=>{var _0x57bdbe=_0xaebb38;this[_0x57bdbe(0x269)]=null,this['_collaborationUIEventService'][_0x57bdbe(0x406)]({'id':ne[_0x57bdbe(0x15a)]});},(_0xc18509=this[_0xaebb38(0x3a8)][_0xaebb38(0x1ac)](fi))!=null?_0xc18509:vi);}[_0x332b6f(0x327)](){var _0x34b4e5=_0x332b6f;this[_0x34b4e5(0x269)]&&(clearTimeout(this['_collaborationTimeoutTimer']),this[_0x34b4e5(0x269)]=null);}[_0x332b6f(0x373)](_0x5322b8){var _0x39191a=_0x332b6f;if(!this[_0x39191a(0x38e)])return;const {data:_0x55fb5b}=_0x5322b8,{unitID:_0x10ab4d,changeset:_0x1b4894}=_0x55fb5b,{mutations:_0x29736a,type:_0x32b3bd}=_0x1b4894;this['_telemetryInfo']={'unitId':_0x10ab4d,'type':_0x32b3bd,'startTime':performance[_0x39191a(0x27d)](),'stopTime':0x0,'duration':0x0,'size':ks(_0x29736a)};}['_stopTelemetryCollaborationNewChangeset'](){var _0x1600bb=_0x332b6f;if(this[_0x1600bb(0x38e)]){if(!this[_0x1600bb(0x370)]){this[_0x1600bb(0x3f5)][_0x1600bb(0x160)]('[CollaborationSession]',_0x1600bb(0x3e2));return;}this[_0x1600bb(0x370)][_0x1600bb(0x2cb)]=performance[_0x1600bb(0x27d)](),this[_0x1600bb(0x370)][_0x1600bb(0x13f)]=this['_telemetryInfo'][_0x1600bb(0x2cb)]-this['_telemetryInfo'][_0x1600bb(0x25c)],this[_0x1600bb(0x1b1)][_0x1600bb(0x22e)](xs,this[_0x1600bb(0x370)]),this['_telemetryInfo']=null;}}[_0x332b6f(0x41f)](){var _0x3697de=_0x332b6f;this[_0x3697de(0x370)]=null;}};gt=Fs([pe(0x2,_0x2ee83c),pe(0x3,_0x5747ff),pe(0x4,_0x5e1e11(_0x2a03f0)),pe(0x5,_0x5e1e11(Pe)),pe(0x6,_0x5e1e11(Si)),pe(0x7,_0x5e1e11(ve)),pe(0x8,_0x2b6ae4(_0x9d820b))],gt);var Vs=Object[_0x332b6f(0x438)],Gs=(_0x1632eb,_0x2c6e2f,_0x278d80,_0x363866)=>{for(var _0x447c68=_0x363866>0x1?void 0x0:_0x363866?Vs(_0x2c6e2f,_0x278d80):_0x2c6e2f,_0x141a5c=_0x1632eb['length']-0x1,_0x42622c;_0x141a5c>=0x0;_0x141a5c--)(_0x42622c=_0x1632eb[_0x141a5c])&&(_0x447c68=_0x42622c(_0x447c68)||_0x447c68);return _0x447c68;},Re=(_0x5431bd,_0x25b9cb)=>(_0x1e205c,_0x48e4b2)=>_0x25b9cb(_0x1e205c,_0x48e4b2,_0x5431bd);let Le=class extends _0x401350{constructor(_0x3e21ce,_0x3599a0,_0x44ff34,_0x20f534,_0x36ed69,_0x4fd7f4){var _0x1c3b31=_0x332b6f;super(),N(this,_0x1c3b31(0x39b),new _0x400ec0(void 0x0)),N(this,_0x1c3b31(0x16a),this[_0x1c3b31(0x39b)][_0x1c3b31(0x38a)]()),N(this,_0x1c3b31(0x309),null),N(this,_0x1c3b31(0x2dd),new Map()),N(this,'_status$',new _0x400ec0(Se['IDLE'])),N(this,_0x1c3b31(0x1d8),this[_0x1c3b31(0x35e)][_0x1c3b31(0x38a)]()),N(this,_0x1c3b31(0x159),!0x1),N(this,_0x1c3b31(0x31e)),N(this,_0x1c3b31(0x27a),0x0),N(this,_0x1c3b31(0x1f8)),N(this,_0x1c3b31(0x22b)),(this[_0x1c3b31(0x300)]=_0x3e21ce,this[_0x1c3b31(0x3f5)]=_0x3599a0,this['_configService']=_0x44ff34,this['_socketService']=_0x20f534,this[_0x1c3b31(0x30a)]=_0x36ed69,this[_0x1c3b31(0x273)]=_0x4fd7f4,this[_0x1c3b31(0x33e)]());}get[_0x332b6f(0x381)](){var _0x517c81=_0x332b6f;return this['_socket$'][_0x517c81(0x1c6)]();}[_0x332b6f(0x33e)](){var _0x8d9b95=_0x332b6f;this[_0x8d9b95(0x273)]&&this[_0x8d9b95(0x288)](this[_0x8d9b95(0x273)][_0x8d9b95(0x214)]['subscribe'](_0x342ab0=>{var _0x4c27db=_0x8d9b95;_0x342ab0&&!this[_0x4c27db(0x381)]&&this[_0x4c27db(0x326)](),_0x342ab0||this['_onOffline']();}));}['dispose'](){var _0x120d46=_0x332b6f;super['dispose'](),this[_0x120d46(0x3fb)](),this[_0x120d46(0x245)](),this[_0x120d46(0x1a0)](),this[_0x120d46(0x2dd)][_0x120d46(0x31c)](_0x3248f3=>_0x3248f3[_0x120d46(0x3f3)]()),this[_0x120d46(0x2dd)][_0x120d46(0x2e6)](),this['_status$']['complete']();}async[_0x332b6f(0x249)](_0x625966){var _0x3ccc19=_0x332b6f;if(this[_0x3ccc19(0x2dd)]['has'](_0x625966))return this[_0x3ccc19(0x2dd)][_0x3ccc19(0x292)](_0x625966);this[_0x3ccc19(0x1ef)]();const _0x32d4ca=this[_0x3ccc19(0x300)]['createInstance'](gt,_0x625966,this[_0x3ccc19(0x39b)]['asObservable']());return this['_sessions']['set'](_0x625966,_0x32d4ca),_0x32d4ca;}[_0x332b6f(0x436)](_0x598293){var _0x597e7e=_0x332b6f,_0x5f2260;const _0x52e671=this[_0x597e7e(0x2dd)][_0x597e7e(0x292)](_0x598293);_0x52e671&&(this[_0x597e7e(0x2dd)][_0x597e7e(0x2ae)](_0x598293),_0x52e671[_0x597e7e(0x1e6)]()),this['_sessions'][_0x597e7e(0x39c)]||(_0x5f2260=this[_0x597e7e(0x381)])==null||_0x5f2260['close']();}[_0x332b6f(0x326)](){var _0x542875=_0x332b6f;this[_0x542875(0x27a)]=0x0,this[_0x542875(0x3fb)](),this[_0x542875(0x40c)]();}[_0x332b6f(0x3fb)](){var _0xc6308e=_0x332b6f;this['_retryConnectingTimer']!=null&&(clearTimeout(this[_0xc6308e(0x31e)]),this[_0xc6308e(0x31e)]=null);}async[_0x332b6f(0x140)](){var _0x17fffb=_0x332b6f,_0x57ec87,_0x327cd4;const _0xd35a0f=this['_configService'][_0x17fffb(0x1ac)](gs),_0x2f296c=this['_configService'][_0x17fffb(0x1ac)](K),_0x40bf91=(_0x327cd4=(_0x57ec87=_0x2f296c==null?void 0x0:_0x2f296c[_0x17fffb(0x21a)])!=null?_0x57ec87:_0xd35a0f)!=null?_0x327cd4:Ss,_0x25aac9=await this[_0x17fffb(0x32f)][_0x17fffb(0x42d)](_0x40bf91);return this[_0x17fffb(0x309)]=_0x25aac9,_0x25aac9;}async[_0x332b6f(0x1ef)](){var _0x49e4d9=_0x332b6f,_0x35e6dc,_0x2d8fb7;try{const _0x4d8bed=(_0x2d8fb7=(_0x35e6dc=this['_socket'])!=null?_0x35e6dc:this[_0x49e4d9(0x309)])!=null?_0x2d8fb7:await this[_0x49e4d9(0x140)]();if(_0x4d8bed){const _0x537613=_0x4d8bed[_0x49e4d9(0x21f)];_0x4d8bed[_0x49e4d9(0x21f)]=_0x4f61cc=>(this[_0x49e4d9(0x3f8)](),_0x537613[_0x49e4d9(0x127)](_0x4d8bed,[_0x4f61cc])),_0x4d8bed[_0x49e4d9(0x3ac)][_0x49e4d9(0x166)](_0x2bfd60=>this[_0x49e4d9(0x3c2)](_0x4d8bed,_0x2bfd60)),_0x4d8bed['error$'][_0x49e4d9(0x287)](_0x12e6af(0x1))[_0x49e4d9(0x166)](_0x27b8e4=>this[_0x49e4d9(0x3f5)][_0x49e4d9(0x160)](_0x49e4d9(0x189),_0x27b8e4)),_0x4d8bed[_0x49e4d9(0x18e)]['pipe'](_0x12e6af(0x1))[_0x49e4d9(0x166)](()=>{this['_onConnectionOpen'](_0x4d8bed);}),_0x4d8bed['close$']['pipe'](_0x12e6af(0x1))[_0x49e4d9(0x166)](_0x2e4429=>{var _0x1d5140=_0x49e4d9;this['_logService'][_0x1d5140(0x158)]('[CollaborationSessionService]',_0x1d5140(0x187),_0x2e4429),this['_onConnectionFailed']();});}}catch(_0x29a1e3){this['_logService'][_0x49e4d9(0x160)](_0x29a1e3),this[_0x49e4d9(0x435)]();}}[_0x332b6f(0x3d9)](_0x23c1ee){var _0x55d21d=_0x332b6f;this[_0x55d21d(0x3f5)]['debug'](_0x55d21d(0x342),_0x55d21d(0x34f)),_0x23c1ee[_0x55d21d(0x21f)]({'cmd':F[_0x55d21d(0x1c5)]}),this[_0x55d21d(0x3f8)]();}['_onOffline'](){var _0x2729b3=_0x332b6f;this[_0x2729b3(0x159)]=!0x1,this[_0x2729b3(0x309)]=null,this[_0x2729b3(0x35e)][_0x2729b3(0x2b8)](Se[_0x2729b3(0x433)]),this[_0x2729b3(0x39b)]['next'](null),this['_clearTimeoutTimer'](),this['_clearHeartbeatTimer']();}['_onConnectionFailed'](){var _0x1b57ce=_0x332b6f,_0x1d6055;this[_0x1b57ce(0x15e)](),this[_0x1b57ce(0x27a)]<((_0x1d6055=this[_0x1b57ce(0x3a8)][_0x1b57ce(0x1ac)](Cs))!=null?_0x1d6055:Rs)?(this['_collaborationUIEventService']['emitEvent']({'id':ne[_0x1b57ce(0x398)]}),this[_0x1b57ce(0x40c)]()):this['_collaborationUIEventService'][_0x1b57ce(0x406)]({'id':ne['SOCKET_FAILED']});}[_0x332b6f(0x40c)](){var _0x2585f8=_0x332b6f,_0x45ce42;const _0x4edeaf=this[_0x2585f8(0x27a)],_0x18cf6d=this[_0x2585f8(0x3a8)]['getConfig'](K),_0x15deee=_0x4edeaf===0x0?0x0:((_0x45ce42=_0x18cf6d==null?void 0x0:_0x18cf6d[_0x2585f8(0x39d)])!=null?_0x45ce42:Ts)*0x2**_0x4edeaf;this[_0x2585f8(0x31e)]=setTimeout(()=>{var _0x87866b=_0x2585f8;clearTimeout(this[_0x87866b(0x31e)]),this[_0x87866b(0x31e)]=null,this['_tryEnsureSocket']();},_0x15deee),this['_retryCount']+=0x1;}[_0x332b6f(0x3c2)](_0xb56b3e,_0x50522b){var _0x50ea8c=_0x332b6f;const {cmd:_0x31b7cc}=_0x50522b;_0x31b7cc===F[_0x50ea8c(0x1c5)]&&!this[_0x50ea8c(0x159)]&&(_0xb56b3e['memberID']=_0x50522b['data'][_0x50ea8c(0x2a0)],this['_socket$']['next'](_0xb56b3e),this[_0x50ea8c(0x35e)][_0x50ea8c(0x2b8)](Se[_0x50ea8c(0x258)]),this[_0x50ea8c(0x159)]=!0x0,this['_candidateSocket']=null),_0x31b7cc===F[_0x50ea8c(0x334)]&&this[_0x50ea8c(0x245)](),this[_0x50ea8c(0x3f8)]();}[_0x332b6f(0x3f8)](){var _0xeb2933=_0x332b6f,_0x493c05;this[_0xeb2933(0x1a0)](),this['_sendHeartbeatTimer']=setTimeout(()=>this[_0xeb2933(0x144)](),(_0x493c05=this['_configService'][_0xeb2933(0x1ac)](Es))!=null?_0x493c05:Is);}[_0x332b6f(0x144)](){var _0x1778ad=_0x332b6f;this[_0x1778ad(0x381)]['send']({'cmd':F[_0x1778ad(0x334)]}),this[_0x1778ad(0x3b6)]();}[_0x332b6f(0x3b6)](){var _0x2d35ad=_0x332b6f,_0x557033;this[_0x2d35ad(0x22b)]=setTimeout(()=>this['_onConnectionFailed'](),(_0x557033=this['_configService'][_0x2d35ad(0x1ac)](fi))!=null?_0x557033:vi);}[_0x332b6f(0x1a0)](){var _0x48fd96=_0x332b6f;this[_0x48fd96(0x1f8)]!=null&&(clearTimeout(this['_sendHeartbeatTimer']),this['_sendHeartbeatTimer']=null);}[_0x332b6f(0x245)](){var _0x55cadd=_0x332b6f;this[_0x55cadd(0x22b)]!=null&&(clearTimeout(this[_0x55cadd(0x22b)]),this[_0x55cadd(0x22b)]=null);}};Le=Gs([Re(0x0,_0x5e1e11(_0x226671)),Re(0x1,_0x2ee83c),Re(0x2,_0x5747ff),Re(0x3,gi),Re(0x4,_0x5e1e11(ve)),Re(0x5,_0x2b6ae4(Us))],Le);const J=_0x55085a(_0x332b6f(0x16b));function Pr(_0x304dd9){return'unit-cache-'+_0x304dd9;}var Ys=Object[_0x332b6f(0x438)],Ws=(_0x3ba346,_0x26ff60,_0x1ea38a,_0x2520d5)=>{var _0x362ad2=_0x332b6f;for(var _0x28c2ad=_0x2520d5>0x1?void 0x0:_0x2520d5?Ys(_0x26ff60,_0x1ea38a):_0x26ff60,_0x35493d=_0x3ba346[_0x362ad2(0x378)]-0x1,_0x4265d1;_0x35493d>=0x0;_0x35493d--)(_0x4265d1=_0x3ba346[_0x35493d])&&(_0x28c2ad=_0x4265d1(_0x28c2ad)||_0x28c2ad);return _0x28c2ad;},ut=(_0x3d9358,_0x7d58ae)=>(_0x16553d,_0x56bd08)=>_0x7d58ae(_0x16553d,_0x56bd08,_0x3d9358);function Ks(_0x4640c4){var _0x4abdbd=_0x332b6f;const {unitID:_0x4cca13,mutations:_0x5f3e90}=_0x4640c4;return{'unitId':_0x4cca13,'subUnitId':_0x5f3e90[0x0][_0x4abdbd(0x14d)][_0x4abdbd(0x179)]};}let it=class{constructor(_0x50048e,_0x41f10e,_0x252658){var _0x19f480=_0x332b6f;this['_injector']=_0x50048e,this[_0x19f480(0x32e)]=_0x41f10e,this[_0x19f480(0x1f0)]=_0x252658;}['transformSelections'](_0x35cee0){var _0x9ad73d=_0x332b6f,_0x360d32,_0x110617,_0x295fc1,_0x3a33bc;const _0x152442=this[_0x9ad73d(0x300)][_0x9ad73d(0x292)](_0x30c5f4),{unitId:_0x37e028,subUnitId:_0x189f66}=Ks(_0x35cee0),_0x34fd7d=_0x152442==null?void 0x0:_0x152442[_0x9ad73d(0x407)](_0x37e028)[_0x9ad73d(0x3f4)](),_0x1e3493=(_0x110617=(_0x360d32=this[_0x9ad73d(0x1f0)][_0x9ad73d(0x27c)](_0x37e028))==null?void 0x0:_0x360d32[_0x9ad73d(0x236)]())==null?void 0x0:_0x110617[_0x9ad73d(0x3ef)]();if(_0x34fd7d['length']===0x0||!_0x37e028||!_0x189f66)return;const _0x3a5e56=[{'id':_0x2cfc9d['id'],'params':{'unitId':_0x37e028,'subUnitId':_0x1e3493,'selections':_0x4e273e[_0x9ad73d(0x180)](_0x34fd7d)}}],_0x5a61e5=this[_0x9ad73d(0x32e)][_0x9ad73d(0x303)](_0x35cee0,_0x3a5e56);if(!_0x3665e5(_0x5a61e5))throw _0x5a61e5[_0x9ad73d(0x160)];const _0x56c8bf=(_0x3a33bc=(_0x295fc1=_0x5a61e5[_0x9ad73d(0x321)][0x0])==null?void 0x0:_0x295fc1['params'])==null?void 0x0:_0x3a33bc['selections'];if(Array['isArray'](_0x56c8bf)&&_0x56c8bf['length']){if(_0x56c8bf[_0x9ad73d(0x378)]===_0x3a5e56[0x0][_0x9ad73d(0x14d)]['selections'][_0x9ad73d(0x378)]&&_0x56c8bf[_0x9ad73d(0x14c)]((_0x4968b4,_0xa3790c)=>_0x3c7a2a[_0x9ad73d(0x18a)](_0x4968b4[_0x9ad73d(0x329)],_0x3a5e56[0x0][_0x9ad73d(0x14d)]['selections'][_0xa3790c][_0x9ad73d(0x329)])))return;this[_0x9ad73d(0x300)]['get'](_0x499b8d)[_0x9ad73d(0x29a)](_0x2cfc9d['id'],{'unitId':_0x37e028,'subUnitId':_0x1e3493,'selections':_0x56c8bf});}}};it=Ws([ut(0x0,_0x5e1e11(_0x226671)),ut(0x1,_0x1eb68a),ut(0x2,_0x47549b)],it);const ht=_0x55085a(_0x332b6f(0x2c5));var Ei=(_0xed12e=>(_0xed12e[_0xed12e[_0x332b6f(0x16c)]=0x0]=_0x332b6f(0x16c),_0xed12e[_0xed12e['OTHER_CLIENTS_EDITING']=0x1]=_0x332b6f(0x19d),_0xed12e))(Ei||{});const qs=new Set([_0x499ac5['id']]);function Yt(_0x5f0242,_0x54584f,_0x2e7ea4,_0x233ba8,_0x34451e){var _0x152f30=_0x332b6f,_0x3d684d,_0x4e33c3,_0x3caa6b,_0x2a11a7;const _0x410fb0=[];for(const _0x4864a4 of _0x5f0242)if(qs[_0x152f30(0x213)](_0x4864a4['id'])){if(_0x410fb0[_0x152f30(0x378)]>0x0)break;_0x410fb0[_0x152f30(0x16f)](_0x4864a4);break;}else _0x410fb0['push'](_0x4864a4);const _0x3ab99c=(_0x4e33c3=(_0x3d684d=_0x34451e[_0x152f30(0x390)]())==null?void 0x0:_0x3d684d[_0x152f30(0x3d2)])!=null?_0x4e33c3:_0x152f30(0x227),_0x4140de=(_0x2a11a7=(_0x3caa6b=_0x34451e[_0x152f30(0x390)]())==null?void 0x0:_0x3caa6b[_0x152f30(0x2a0)])!=null?_0x2a11a7:'unknown';return{'changeset':{'unitID':_0x54584f,'type':_0xb447eb(_0x2e7ea4['getUnitType'](_0x54584f)),'baseRev':_0x233ba8['getCurrentRevOfUnit'](_0x54584f),'revision':0x0,'userID':_0x3ab99c,'memberID':_0x4140de,'mutations':_0x410fb0},'pendingMutations':_0x5f0242[_0x152f30(0x2ba)](_0x410fb0[_0x152f30(0x378)])};}function zs(_0xe7b8c0,_0x32f65a,_0x36c217,_0x5dbfe2,_0x29994d){var _0x210123=_0x332b6f,_0x47c295,_0x39499d,_0x2416ad,_0x5a2b6e;const _0x16f5e6=[_0xe7b8c0[_0x210123(0x1cc)]((_0x737181,_0x17438d)=>{var _0x10f7dc=_0x210123,_0x2a1b8a;const {id:_0x59dbf2}=_0x737181,{id:_0x5814bd,type:_0x47de31}=_0x17438d,_0x1d7e5c=(_0x2a1b8a=_0x737181['params'])!=null?_0x2a1b8a:{'actions':null},_0x3d701a=_0x17438d[_0x10f7dc(0x14d)];if(_0x59dbf2&&_0x59dbf2!==_0x5814bd)throw new Error(_0x10f7dc(0x225)+_0x59dbf2+_0x10f7dc(0x3ce)+_0x5814bd+'.');return{..._0x737181,'id':_0x5814bd,'type':_0x47de31,'params':{'unitId':_0x3d701a[_0x10f7dc(0x1fe)],'textRanges':_0x3d701a['textRanges'],'actions':_0x9fef84[_0x10f7dc(0x40e)](_0x1d7e5c['actions'],_0x3d701a[_0x10f7dc(0x27f)])}};},{})],_0x105613=(_0x39499d=(_0x47c295=_0x29994d[_0x210123(0x390)]())==null?void 0x0:_0x47c295[_0x210123(0x3d2)])!=null?_0x39499d:'unknown',_0x5b4aec=(_0x5a2b6e=(_0x2416ad=_0x29994d[_0x210123(0x390)]())==null?void 0x0:_0x2416ad['memberID'])!=null?_0x5a2b6e:'unknown';return{'changeset':{'unitID':_0x32f65a,'type':_0xb447eb(_0x36c217[_0x210123(0x400)](_0x32f65a)),'baseRev':_0x5dbfe2['getCurrentRevOfUnit'](_0x32f65a),'revision':0x0,'userID':_0x105613,'memberID':_0x5b4aec,'mutations':_0x16f5e6},'pendingMutations':[]};}function Ii(_0xe1c251,_0x162e9f){var _0x21ff81=_0x332b6f;const _0xed7050=new _0x4a0934(0x1);return setTimeout(()=>_0xed7050['next'](_0x162e9f),_0xe1c251),_0xed7050[_0x21ff81(0x38a)]()[_0x21ff81(0x287)](_0x286f91(0x1));}const Js={'id':_0x287add['id'],'type':_0x2bca99[_0x332b6f(0x3e1)],'params':{}};var Xs=Object['getOwnPropertyDescriptor'],Ie=(_0xcec216,_0x270efc,_0xbb0ad1,_0x2b46e5)=>{var _0x4c9a87=_0x332b6f;for(var _0x218ce9=_0x2b46e5>0x1?void 0x0:_0x2b46e5?Xs(_0x270efc,_0xbb0ad1):_0x270efc,_0x5d6f93=_0xcec216[_0x4c9a87(0x378)]-0x1,_0x1a3542;_0x5d6f93>=0x0;_0x5d6f93--)(_0x1a3542=_0xcec216[_0x5d6f93])&&(_0x218ce9=_0x1a3542(_0x218ce9)||_0x218ce9);return _0x218ce9;},P=(_0xa7c555,_0x156b7b)=>(_0x1a8b08,_0x23043c)=>_0x156b7b(_0x1a8b08,_0x23043c,_0xa7c555),Ti=(_0x549c92=>(_0x549c92[_0x332b6f(0x1dd)]=_0x332b6f(0x2a4),_0x549c92[_0x332b6f(0x2ee)]=_0x332b6f(0x2d3),_0x549c92['PENDING']='pending',_0x549c92[_0x332b6f(0x3d3)]=_0x332b6f(0x3e0),_0x549c92[_0x332b6f(0x3bd)]='awaiting_with_pending',_0x549c92[_0x332b6f(0x355)]=_0x332b6f(0x1a7),_0x549c92[_0x332b6f(0x262)]=_0x332b6f(0x346),_0x549c92[_0x332b6f(0x433)]='offline',_0x549c92))(Ti||{});const Ci=0xea60;class Te{constructor(_0x4dd489,_0x3fe756,_0x56e88f,_0x47332d,_0x101ad4,_0x4ef466,_0x409ae4,_0x4c4a86,_0x50f5ac){var _0x4493c2=_0x332b6f;N(this,_0x4493c2(0x20c),null),N(this,'_pendingMutations',[]),(this['unitID']=_0x4dd489,this[_0x4493c2(0x2a6)]=_0x3fe756,this[_0x4493c2(0x38f)]=_0x101ad4,this[_0x4493c2(0x2dc)]=_0x4ef466,this[_0x4493c2(0x153)]=_0x409ae4,this['_revisionService']=_0x4c4a86,this[_0x4493c2(0x219)]=_0x50f5ac,this[_0x4493c2(0x20c)]=_0x56e88f,this[_0x4493c2(0x428)]=_0x47332d);}[_0x332b6f(0x247)](_0x2e9c03){var _0x20944f=_0x332b6f;const _0x8bea2d=this['_revisionService'][_0x20944f(0x36e)](this[_0x20944f(0x31a)]);return _0x2e9c03['revision']>_0x8bea2d+0x1?(this[_0x20944f(0x38f)][_0x20944f(0x35d)]({'from':_0x8bea2d,'to':_0x2e9c03[_0x20944f(0x198)]-0x1}),!0x0):!0x1;}[_0x332b6f(0x29d)](_0x2efe29){var _0x385729=_0x332b6f;this[_0x385729(0x153)]['transformUndoRedo'](this[_0x385729(0x31a)],_0x2efe29);}[_0x332b6f(0x1bd)](_0x1128d5){var _0x800fac=_0x332b6f,_0x290ab5,_0x2e7693;(_0x2e7693=(_0x290ab5=this[_0x800fac(0x38f)])[_0x800fac(0x1b6)])==null||_0x2e7693[_0x800fac(0x15c)](_0x290ab5,_0x1128d5);}[_0x332b6f(0x15d)](_0x4c13b8){var _0x249375=_0x332b6f,_0x103ecf,_0x46c636;return(_0x46c636=(_0x103ecf=this['_handler'])['onTransformIME'])==null?void 0x0:_0x46c636[_0x249375(0x15c)](_0x103ecf,_0x4c13b8);}['_transformStateCache'](_0x2d5866){var _0x3995f3=_0x332b6f,_0x14cf78,_0x4ad7ce;return(_0x4ad7ce=(_0x14cf78=this[_0x3995f3(0x38f)])[_0x3995f3(0x26a)])==null?void 0x0:_0x4ad7ce[_0x3995f3(0x15c)](_0x14cf78,_0x2d5866);}[_0x332b6f(0x1e5)](_0x498bbd){var _0x339542=_0x332b6f,_0x46ed14,_0x119be9,_0x304ef4;return(_0x304ef4=(_0x119be9=(_0x46ed14=this['_handler'])[_0x339542(0x21d)])==null?void 0x0:_0x119be9[_0x339542(0x15c)](_0x46ed14,_0x498bbd))!=null?_0x304ef4:_0x498bbd;}[_0x332b6f(0x2b5)](_0x23259b){var _0x244079=_0x332b6f,_0x44d088,_0x26e963,_0x17a097;return(_0x17a097=(_0x26e963=(_0x44d088=this[_0x244079(0x38f)])[_0x244079(0x412)])==null?void 0x0:_0x26e963['call'](_0x44d088,_0x23259b))!=null?_0x17a097:_0x23259b;}[_0x332b6f(0x41c)](_0x25f555){var _0x6e8b93=_0x332b6f,_0x4a5688,_0x4a99de;if(this[_0x6e8b93(0x2a6)]===Z['UNIVER_DOC']){const {unitID:_0x2fc40e,mutations:_0x2190ad,memberID:_0x29afb4}=_0x25f555,_0x1752ec=_0x2190ad[0x0][_0x6e8b93(0x14d)][_0x6e8b93(0x2eb)];Array[_0x6e8b93(0x3f6)](_0x1752ec)&&_0x1752ec['length']>0x0&&((_0x4a99de=(_0x4a5688=this[_0x6e8b93(0x38f)])[_0x6e8b93(0x1f1)])==null||_0x4a99de['call'](_0x4a5688,{'unitID':_0x2fc40e,'memberID':_0x29afb4,'textRanges':_0x1752ec}));}}[_0x332b6f(0x36a)](){var _0x28647f=_0x332b6f,_0xd47109;(_0xd47109=this[_0x28647f(0x219)])==null||_0xd47109[_0x28647f(0x26c)](this[_0x28647f(0x31a)],this[_0x28647f(0x2a6)],this[_0x28647f(0x20c)],this[_0x28647f(0x428)]);}['_getCurrentRevision'](){var _0xb17a06=_0x332b6f;return this['_revisionService'][_0xb17a06(0x36e)](this[_0xb17a06(0x31a)]);}[_0x332b6f(0x215)](){var _0x31778a=_0x332b6f;this[_0x31778a(0x259)][_0x31778a(0x233)](this[_0x31778a(0x31a)]);}['_executeRemoteChangeset'](_0x57ff72){var _0x993685=_0x332b6f,_0x256896;let _0xa448df=this[_0x993685(0x1e5)](_0x57ff72);_0xa448df=this['_transformRemoteChangesetByStateCache'](_0xa448df);const _0x38d79b=_0x524cd0(_0xa448df['mutations'],this[_0x993685(0x2dc)],{'fromCollab':!0x0});if(!_0x38d79b[_0x993685(0x278)])throw _0x38d79b[_0x993685(0x160)]instanceof Error?_0x38d79b[_0x993685(0x160)]:new Error((_0x256896=_0x38d79b['error'])!=null?_0x256896:'[CollaborationState]:\x20apply\x20error!');this[_0x993685(0x15d)](_0xa448df),this[_0x993685(0x363)](_0xa448df),this[_0x993685(0x29d)](_0x57ff72),this['_transformSelections'](_0xa448df),this[_0x993685(0x41c)](_0xa448df),this[_0x993685(0x215)]();}}let ye=class extends Te{constructor(_0x51e617,_0x23b18,_0x4e0cac,_0x3a7b1d,_0x119dd7,_0x5d5daa,_0x3ab2d3,_0x26c1df,_0x2ade0c,_0x2bd0c3){var _0x539b67=_0x332b6f;super(_0x51e617,_0x23b18,null,[],_0x4e0cac,_0x3ab2d3,_0x5d5daa,_0x3a7b1d,_0x2bd0c3),N(this,_0x539b67(0x12b),_0x539b67(0x2d3)),(this['_injector']=_0x119dd7,this[_0x539b67(0x3f5)]=_0x26c1df,this[_0x539b67(0x32e)]=_0x2ade0c,this[_0x539b67(0x1cf)]=_0x2bd0c3);}['appendMutation'](_0x490a92){var _0x8e7b79=_0x332b6f;const _0x2dc5e0=this[_0x8e7b79(0x300)][_0x8e7b79(0x12f)](re,this[_0x8e7b79(0x31a)],this[_0x8e7b79(0x2a6)],[_0x490a92],this[_0x8e7b79(0x38f)]);return _0x2dc5e0['_schedule'](),_0x2dc5e0['_updateLocalCache'](),_0x2dc5e0;}['onRemoteChangeset'](_0x23eee7){var _0x1038fa=_0x332b6f;if(this[_0x1038fa(0x247)](_0x23eee7))return this[_0x1038fa(0x300)]['createInstance'](Q,this[_0x1038fa(0x31a)],this[_0x1038fa(0x2a6)],null,[],null,[_0x23eee7],this[_0x1038fa(0x38f)]);try{const _0x324dab=this['_transformService']['transformMutationsWithChangeset'](_0x23eee7,[Js]);if(_0x3665e5(_0x324dab)){const {c1Prime:_0xbbe070}=_0x324dab;return this[_0x1038fa(0x2af)](_0xbbe070),this;}throw _0x324dab[_0x1038fa(0x160)];}catch(_0x24a91a){return this[_0x1038fa(0x3f5)][_0x1038fa(0x160)](_0x24a91a),this['_onConflict'](!0x1);}}[_0x332b6f(0x424)](_0x583653){var _0x29686f=_0x332b6f;return this[_0x29686f(0x300)][_0x29686f(0x12f)](le,this[_0x29686f(0x31a)],this[_0x29686f(0x2a6)],null,[],this[_0x29686f(0x38f)],_0x583653);}[_0x332b6f(0x3bf)](){var _0x1d0fe1=_0x332b6f;throw new Error(_0x1d0fe1(0x404));}['onRemoteRej'](){var _0x111825=_0x332b6f;throw new Error(_0x111825(0x281));}[_0x332b6f(0x16d)](){return this;}[_0x332b6f(0x1b5)](){var _0x45aeb8=_0x332b6f;return this[_0x45aeb8(0x300)][_0x45aeb8(0x12f)](ue,this[_0x45aeb8(0x31a)],this[_0x45aeb8(0x2a6)],null,[],this[_0x45aeb8(0x38f)]);}[_0x332b6f(0x131)](){return this;}[_0x332b6f(0x23f)](){var _0x581ae4=_0x332b6f;throw new Error(_0x581ae4(0x371));}['fetchMiss'](){var _0x3c60ba=_0x332b6f;const _0x4aaa4c=this[_0x3c60ba(0x259)][_0x3c60ba(0x36e)](this['unitID']);return this[_0x3c60ba(0x38f)]['onMissingChangesets']({'from':_0x4aaa4c,'to':0x0}),this['_injector'][_0x3c60ba(0x12f)](Q,this[_0x3c60ba(0x31a)],this[_0x3c60ba(0x2a6)],null,[],null,[],this[_0x3c60ba(0x38f)]);}};ye=Ie([P(0x3,_0x5e1e11(_0x278fa6)),P(0x4,_0x5e1e11(_0x226671)),P(0x5,_0x17f179),P(0x6,_0x499b8d),P(0x7,_0x2ee83c),P(0x8,_0x1eb68a),P(0x9,_0x2b6ae4(J))],ye);let re=class extends Te{constructor(_0x4c2849,_0x1b161a,_0x105c58,_0x27dd90,_0x4d11ee,_0x20af1d,_0x3206dd,_0x6d469b,_0x378bd8,_0x2c4389,_0x45fb78,_0x2803ae,_0x57a8f1,_0x3bc7b4){var _0x51650e=_0x332b6f;super(_0x4c2849,_0x1b161a,null,_0x105c58,_0x27dd90,_0x378bd8,_0x57a8f1,_0x20af1d,_0x3bc7b4),N(this,_0x51650e(0x12b),'pending'),N(this,_0x51650e(0x2de),null),N(this,_0x51650e(0x3fc),null),(this['_injector']=_0x4d11ee,this[_0x51650e(0x27b)]=_0x3206dd,this['_logService']=_0x6d469b,this['_configService']=_0x2c4389,this[_0x51650e(0x32e)]=_0x45fb78,this[_0x51650e(0x18d)]=_0x2803ae);}['appendMutation'](_0x5e1e26){var _0x1a2486=_0x332b6f;return this[_0x1a2486(0x428)][_0x1a2486(0x16f)](_0x5e1e26),this[_0x1a2486(0x36a)](),this;}['onRemoteChangeset'](_0xc85871){var _0x164ce5=_0x332b6f;if(this[_0x164ce5(0x247)](_0xc85871))return this['_clearScheduledTask'](),this[_0x164ce5(0x300)]['createInstance'](Q,this['unitID'],this[_0x164ce5(0x2a6)],null,this[_0x164ce5(0x428)],null,[_0xc85871],this['_handler']);try{const _0x53a5fb=this['_transformService'][_0x164ce5(0x303)](_0xc85871,this['_pendingMutations']);if(_0x3665e5(_0x53a5fb)){const {c1Prime:_0x5a52a2,m2Prime:_0x1713e3}=_0x53a5fb;this[_0x164ce5(0x2af)](_0x5a52a2);const _0x561c67=this['_injector'][_0x164ce5(0x12f)](re,this[_0x164ce5(0x31a)],this[_0x164ce5(0x2a6)],_0x1713e3,this[_0x164ce5(0x38f)]);this[_0x164ce5(0x285)]();const _0x216385=new Date()[_0x164ce5(0x1d2)](),_0x2c9fba=this[_0x164ce5(0x2de)]?Math[_0x164ce5(0x209)](this[_0x164ce5(0x2de)]-_0x216385,0x0):this[_0x164ce5(0x3aa)]();return _0x561c67['_schedule'](_0x2c9fba),_0x561c67;}throw _0x53a5fb[_0x164ce5(0x160)];}catch(_0x196ef7){return this[_0x164ce5(0x3f5)][_0x164ce5(0x160)](_0x196ef7),this[_0x164ce5(0x424)](!0x1);}}[_0x332b6f(0x3bf)](){var _0x1f7baa=_0x332b6f;throw new Error(_0x1f7baa(0x3fa));}[_0x332b6f(0x293)](){var _0x4dcb75=_0x332b6f;throw new Error(_0x4dcb75(0x207));}[_0x332b6f(0x16d)](){return this;}[_0x332b6f(0x1b5)](){var _0x5b0f60=_0x332b6f;return this[_0x5b0f60(0x285)](),this['_injector'][_0x5b0f60(0x12f)](ue,this[_0x5b0f60(0x31a)],this[_0x5b0f60(0x2a6)],null,this[_0x5b0f60(0x428)],this[_0x5b0f60(0x38f)]);}[_0x332b6f(0x131)](){return this;}[_0x332b6f(0x1bb)](_0x5e9939){var _0x5d35cb=_0x332b6f;const _0x1da5af=_0x5e9939!=null?_0x5e9939:this[_0x5d35cb(0x3aa)]();this['_scheduleCompleteTimestamp']=new Date()['getTime']()+_0x1da5af,this['_sendingTimer']=setTimeout(()=>{var _0x2c3221=_0x5d35cb;this[_0x2c3221(0x285)]();let _0x50ca39=null;switch(this['type']){case Z['UNIVER_SHEET']:{_0x50ca39=Yt(this[_0x2c3221(0x428)],this[_0x2c3221(0x31a)],this[_0x2c3221(0x18d)],this[_0x2c3221(0x259)],this[_0x2c3221(0x27b)]);break;}case Z['UNIVER_DOC']:{this[_0x2c3221(0x428)]['every'](_0x1ca938=>_0x1ca938['id']===_0x2497f1['id'])?_0x50ca39=zs(this['_pendingMutations'],this[_0x2c3221(0x31a)],this[_0x2c3221(0x18d)],this['_revisionService'],this[_0x2c3221(0x27b)]):_0x50ca39=Yt(this[_0x2c3221(0x428)],this[_0x2c3221(0x31a)],this[_0x2c3221(0x18d)],this[_0x2c3221(0x259)],this[_0x2c3221(0x27b)]);break;}default:throw new Error('[PendingState]:\x20unhandled\x20univer\x20type:\x20'+this[_0x2c3221(0x2a6)]+'\x20in\x20_schedule.');}const {changeset:_0x57d4f4,pendingMutations:_0x13d950}=_0x50ca39;this['_handler']['onSendChangeset'](_0x57d4f4);const _0x5d2735=_0x13d950[_0x2c3221(0x378)]?this[_0x2c3221(0x300)][_0x2c3221(0x12f)](ae,this[_0x2c3221(0x31a)],this[_0x2c3221(0x2a6)],_0x57d4f4,_0x13d950,this[_0x2c3221(0x38f)],void 0x0):this[_0x2c3221(0x300)][_0x2c3221(0x12f)](_e,this[_0x2c3221(0x31a)],this[_0x2c3221(0x2a6)],_0x57d4f4,this[_0x2c3221(0x38f)]);_0x5d2735[_0x2c3221(0x36a)](),this[_0x2c3221(0x38f)][_0x2c3221(0x22f)](this,_0x5d2735);},_0x1da5af);}[_0x332b6f(0x3aa)](){var _0x286138=_0x332b6f,_0x4323c2;const _0xc7c25a=this[_0x286138(0x3a8)][_0x286138(0x1ac)](K);return(_0x4323c2=_0xc7c25a==null?void 0x0:_0xc7c25a[_0x286138(0x396)])!=null?_0x4323c2:ms;}[_0x332b6f(0x23f)](){throw new Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x332b6f(0x285)](){var _0x26417a=_0x332b6f;this['_sendingTimer']!=null&&(clearTimeout(this[_0x26417a(0x3fc)]),this[_0x26417a(0x3fc)]=null);}[_0x332b6f(0x424)](_0x54107f){var _0x55ca9d=_0x332b6f;return this['_clearScheduledTask'](),this['_injector'][_0x55ca9d(0x12f)](le,this[_0x55ca9d(0x31a)],this['type'],null,this[_0x55ca9d(0x428)],this['_handler'],_0x54107f);}};re=Ie([P(0x4,_0x5e1e11(_0x226671)),P(0x5,_0x5e1e11(_0x278fa6)),P(0x6,_0x5e1e11(Pe)),P(0x7,_0x2ee83c),P(0x8,_0x499b8d),P(0x9,_0x5747ff),P(0xa,_0x1eb68a),P(0xb,_0x47549b),P(0xc,_0x17f179),P(0xd,_0x2b6ae4(J))],re);let _e=class extends Te{constructor(_0x212166,_0x5f0d54,_0x21e4c4,_0x21b1ad,_0x4ff7e3,_0x548c4d,_0x75105d,_0x66e12a,_0x238b5d,_0x21b3e5,_0x539d2b){var _0x266231=_0x332b6f;super(_0x212166,_0x5f0d54,_0x21e4c4,[],_0x21b1ad,_0x75105d,_0x21b3e5,_0x548c4d,_0x539d2b),N(this,_0x266231(0x12b),_0x266231(0x3e0)),N(this,_0x266231(0x191),0x0),N(this,_0x266231(0x2f9)),N(this,'_sender'),(this[_0x266231(0x300)]=_0x4ff7e3,this[_0x266231(0x3f5)]=_0x66e12a,this[_0x266231(0x32e)]=_0x238b5d);}['appendMutation'](_0x41b6e6){var _0x1ae66b=_0x332b6f;this[_0x1ae66b(0x285)]();const _0x22d7fd=this['_injector']['createInstance'](ae,this[_0x1ae66b(0x31a)],this[_0x1ae66b(0x2a6)],this[_0x1ae66b(0x20c)],[_0x41b6e6],this[_0x1ae66b(0x38f)],this[_0x1ae66b(0x2f9)]);return _0x22d7fd[_0x1ae66b(0x36a)](),_0x22d7fd;}['onRemoteChangeset'](_0x37dae1){var _0x359e73=_0x332b6f;if(this['_checkMissing'](_0x37dae1))return this[_0x359e73(0x285)](),this['_injector'][_0x359e73(0x12f)](Q,this[_0x359e73(0x31a)],this['type'],this[_0x359e73(0x20c)],[],null,[_0x37dae1],this[_0x359e73(0x38f)]);try{const _0x4a1fea=this[_0x359e73(0x32e)]['transformChangesets']([_0x37dae1],[this['_awaitingChangeset']],!0x1);if(_0x4bd4ac(_0x4a1fea)){const {c1Prime:_0x106b76,c2Prime:_0x12a7d8}=_0x4a1fea;this['_executeRemoteChangeset'](_0x106b76[0x0]),_0x12a7d8[0x0][_0x359e73(0x2b2)]=this[_0x359e73(0x14e)](),this[_0x359e73(0x285)]();const _0x3e1c28=this[_0x359e73(0x300)][_0x359e73(0x12f)](_e,this[_0x359e73(0x31a)],this[_0x359e73(0x2a6)],_0x12a7d8[0x0],this[_0x359e73(0x38f)]);return _0x3e1c28['_updateLocalCache'](),_0x3e1c28;}return this[_0x359e73(0x424)](!0x1);}catch(_0x25fbd8){return this[_0x359e73(0x3f5)][_0x359e73(0x160)](_0x25fbd8),this[_0x359e73(0x424)](!0x1);}}[_0x332b6f(0x3bf)](_0xab68d0){var _0x133b87=_0x332b6f;this[_0x133b87(0x285)]();const _0x5cc1fa=this[_0x133b87(0x259)][_0x133b87(0x36e)](this['unitID']);if(_0xab68d0[_0x133b87(0x198)]<_0x5cc1fa-0x1)return this;if(this[_0x133b87(0x247)](_0xab68d0))return this[_0x133b87(0x300)][_0x133b87(0x12f)](Q,this[_0x133b87(0x31a)],this[_0x133b87(0x2a6)],null,[],this[_0x133b87(0x20c)],[],this[_0x133b87(0x38f)]);this[_0x133b87(0x215)]();const _0x4bd596=this[_0x133b87(0x300)][_0x133b87(0x12f)](ye,this[_0x133b87(0x31a)],this[_0x133b87(0x2a6)],this[_0x133b87(0x38f)]);return _0x4bd596[_0x133b87(0x36a)](),_0x4bd596;}[_0x332b6f(0x293)](_0x114493){var _0x385d27=_0x332b6f;return this[_0x385d27(0x424)](!!(_0x114493!=null&&_0x114493[_0x385d27(0x174)]));}['onRemoteRetry'](_0x5629cb){var _0x67f2=_0x332b6f;return this[_0x67f2(0x191)]>Ci?this[_0x67f2(0x1b5)]():(this[_0x67f2(0x2f9)]=Ii(this['_resendTimeout'],{'timeout':this['_resendTimeout'],'reqId':_0x5629cb['reqId']}),this[_0x67f2(0x318)]=this[_0x67f2(0x2f9)][_0x67f2(0x166)](({reqId:_0x51523b,timeout:_0x844246})=>{this['_resendWithTimeout'](_0x51523b,_0x844246);}),this);}[_0x332b6f(0x1b5)](){var _0x265a1d=_0x332b6f;return this[_0x265a1d(0x285)](),this[_0x265a1d(0x300)][_0x265a1d(0x12f)](ue,this['unitID'],this[_0x265a1d(0x2a6)],this['_awaitingChangeset'],[],this[_0x265a1d(0x38f)]);}[_0x332b6f(0x131)](){return this;}['resend'](){var _0x215edf=_0x332b6f;this[_0x215edf(0x38f)]['onSendChangeset'](this[_0x215edf(0x20c)]);}['_onConflict'](_0x4db631){var _0x48b4cd=_0x332b6f;return this[_0x48b4cd(0x285)](),this[_0x48b4cd(0x300)][_0x48b4cd(0x12f)](le,this[_0x48b4cd(0x31a)],this['type'],this[_0x48b4cd(0x20c)],[],this[_0x48b4cd(0x38f)],_0x4db631);}[_0x332b6f(0x3ba)](_0x4aeef2,_0x4f039d){var _0x2572c0=_0x332b6f,_0x186233;_0x4aeef2===((_0x186233=this[_0x2572c0(0x20c)])==null?void 0x0:_0x186233[_0x2572c0(0x3eb)])&&(this[_0x2572c0(0x23f)](),this[_0x2572c0(0x191)]=_0x4f039d===0x0?0x3e8:_0x4f039d*0x2);}[_0x332b6f(0x285)](){var _0xf93704=_0x332b6f,_0x4df0ba;(_0x4df0ba=this[_0xf93704(0x318)])==null||_0x4df0ba[_0xf93704(0x231)](),this['_resendTimeout']=0x0;}};_e=Ie([P(0x4,_0x5e1e11(_0x226671)),P(0x5,_0x5e1e11(_0x278fa6)),P(0x6,_0x499b8d),P(0x7,_0x2ee83c),P(0x8,_0x1eb68a),P(0x9,_0x17f179),P(0xa,_0x2b6ae4(J))],_e);let ae=class extends Te{constructor(_0xbf74e6,_0x59cd61,_0x223aeb,_0xdce50e,_0x495f58,_0x5f14b6,_0x59a07c,_0x29c1f9,_0x2b78c5,_0x2b2df5,_0x56af01,_0x31cfb5,_0x1392d5){var _0x57935e=_0x332b6f;super(_0xbf74e6,_0x59cd61,_0x223aeb,_0xdce50e,_0x495f58,_0x2b78c5,_0x31cfb5,_0x29c1f9,_0x1392d5),N(this,_0x57935e(0x12b),'awaiting_with_pending'),N(this,'_resendTimeout',0x0),N(this,_0x57935e(0x2f9)),N(this,_0x57935e(0x318)),(this[_0x57935e(0x300)]=_0x59a07c,this['_logService']=_0x2b2df5,this[_0x57935e(0x32e)]=_0x56af01,this[_0x57935e(0x1cf)]=_0x1392d5,_0x5f14b6&&(this[_0x57935e(0x2f9)]=_0x5f14b6,this[_0x57935e(0x318)]=this[_0x57935e(0x2f9)][_0x57935e(0x166)](({reqId:_0x38704f,timeout:_0x37844b})=>{this['_resendWithTimeout'](_0x38704f,_0x37844b);})));}[_0x332b6f(0x28b)](_0x27ca03){var _0x4e72e6=_0x332b6f;return this[_0x4e72e6(0x428)][_0x4e72e6(0x16f)](_0x27ca03),this;}[_0x332b6f(0x18b)](_0x7ef8e6){var _0x5377b1=_0x332b6f;if(this[_0x5377b1(0x247)](_0x7ef8e6))return this[_0x5377b1(0x285)](),this['_injector']['createInstance'](Q,this['unitID'],this[_0x5377b1(0x2a6)],this[_0x5377b1(0x20c)],this[_0x5377b1(0x428)],null,[_0x7ef8e6],this['_handler']);try{const _0x4e2b32=this[_0x5377b1(0x32e)][_0x5377b1(0x1a8)]([_0x7ef8e6],[this['_awaitingChangeset']],!0x1);if(_0x4bd4ac(_0x4e2b32)){const {c1Prime:_0x2ee617,c2Prime:_0x19c19f}=_0x4e2b32,_0x1c19dc=this[_0x5377b1(0x32e)][_0x5377b1(0x303)](_0x2ee617[0x0],this[_0x5377b1(0x428)]);if(_0x3665e5(_0x1c19dc)){const {c1Prime:_0x1938ee,m2Prime:_0x5f3fad}=_0x1c19dc;return this[_0x5377b1(0x2af)](_0x1938ee),_0x19c19f[0x0][_0x5377b1(0x2b2)]=this[_0x5377b1(0x14e)](),this[_0x5377b1(0x285)](),this[_0x5377b1(0x300)][_0x5377b1(0x12f)](ae,this[_0x5377b1(0x31a)],this[_0x5377b1(0x2a6)],_0x19c19f[0x0],_0x5f3fad,this['_handler'],void 0x0);}throw _0x1c19dc[_0x5377b1(0x160)];}throw _0x4e2b32[_0x5377b1(0x160)];}catch(_0x4e3961){return this[_0x5377b1(0x3f5)][_0x5377b1(0x160)](_0x4e3961),this[_0x5377b1(0x424)](!0x1);}}[_0x332b6f(0x3bf)](_0x53a768){var _0x14e462=_0x332b6f;if(this[_0x14e462(0x285)](),this[_0x14e462(0x247)](_0x53a768))return this[_0x14e462(0x300)][_0x14e462(0x12f)](Q,this[_0x14e462(0x31a)],this['type'],null,this[_0x14e462(0x428)],this[_0x14e462(0x20c)],[],this[_0x14e462(0x38f)]);this[_0x14e462(0x215)]();const _0x26aa08=this[_0x14e462(0x300)]['createInstance'](re,this[_0x14e462(0x31a)],this['type'],this[_0x14e462(0x428)],this[_0x14e462(0x38f)]);return _0x26aa08[_0x14e462(0x1bb)](),_0x26aa08['_updateLocalCache'](),_0x26aa08;}[_0x332b6f(0x293)](_0xff0925){var _0x1dada0=_0x332b6f;return this[_0x1dada0(0x424)](!!(_0xff0925!=null&&_0xff0925[_0x1dada0(0x174)]));}[_0x332b6f(0x16d)](_0x1a74b5){var _0x232a0e=_0x332b6f;return this['_resendTimeout']>Ci?this[_0x232a0e(0x1b5)]():(this[_0x232a0e(0x2f9)]=Ii(this[_0x232a0e(0x191)],{'timeout':this[_0x232a0e(0x191)],'reqId':_0x1a74b5[_0x232a0e(0x3eb)]}),this[_0x232a0e(0x318)]=this[_0x232a0e(0x2f9)][_0x232a0e(0x166)](({reqId:_0x3c0ceb,timeout:_0x5d4f12})=>{var _0x4ea6f4=_0x232a0e;this[_0x4ea6f4(0x3ba)](_0x3c0ceb,_0x5d4f12);}),this);}[_0x332b6f(0x1b5)](){var _0x3f58d6=_0x332b6f;return this[_0x3f58d6(0x285)](),this[_0x3f58d6(0x300)][_0x3f58d6(0x12f)](ue,this[_0x3f58d6(0x31a)],this[_0x3f58d6(0x2a6)],this[_0x3f58d6(0x20c)],this['_pendingMutations'],this['_handler']);}[_0x332b6f(0x131)](){return this;}['resend'](){var _0x45891e=_0x332b6f;this['_handler'][_0x45891e(0x364)](this['_awaitingChangeset']);}[_0x332b6f(0x424)](_0x532183){var _0x5f15e9=_0x332b6f;return this[_0x5f15e9(0x285)](),this['_injector'][_0x5f15e9(0x12f)](le,this[_0x5f15e9(0x31a)],this['type'],null,this[_0x5f15e9(0x428)],this[_0x5f15e9(0x38f)],_0x532183);}[_0x332b6f(0x3ba)](_0x4f6210,_0xc8b956){var _0x29714c=_0x332b6f,_0x1c3eb8;_0x4f6210===((_0x1c3eb8=this['_awaitingChangeset'])==null?void 0x0:_0x1c3eb8[_0x29714c(0x3eb)])&&(this[_0x29714c(0x23f)](),this[_0x29714c(0x191)]=_0xc8b956===0x0?0x3e8:_0xc8b956*0x2);}[_0x332b6f(0x285)](){var _0x317d29=_0x332b6f,_0xea9696;(_0xea9696=this[_0x317d29(0x318)])==null||_0xea9696[_0x317d29(0x231)](),this[_0x317d29(0x191)]=0x0;}};ae=Ie([P(0x6,_0x5e1e11(_0x226671)),P(0x7,_0x5e1e11(_0x278fa6)),P(0x8,_0x499b8d),P(0x9,_0x2ee83c),P(0xa,_0x1eb68a),P(0xb,_0x17f179),P(0xc,_0x2b6ae4(J))],ae);let le=class extends Te{constructor(_0x441043,_0x41feea,_0x1ba0bb,_0x147df4,_0xd0c8d0,_0xa70410=!0x1,_0x2570a6,_0xccc640,_0xd85d8e,_0x27f8ac,_0x52d87a,_0x21ad26,_0xc88c15){var _0x3172c3=_0x332b6f;super(_0x441043,_0x41feea,_0x1ba0bb,_0x147df4,_0xd0c8d0,_0xccc640,_0xd85d8e,_0x27f8ac,_0xc88c15),N(this,_0x3172c3(0x12b),'conflict'),(this[_0x3172c3(0x22c)]=_0xa70410,this['_permissionService']=_0x2570a6,this[_0x3172c3(0x255)]=_0x52d87a,this['_collaborationUIEventService']=_0x21ad26,this[_0x3172c3(0x1cf)]=_0xc88c15,this[_0x3172c3(0x230)](),this[_0x3172c3(0x3a4)](),this[_0x3172c3(0x182)]());}[_0x332b6f(0x28b)](){return this;}[_0x332b6f(0x18b)](){return this;}['onRemoteAck'](){return this;}['onRemoteRej'](){return this;}['onRemoteRetry'](){return this;}['toggleOffline'](){return this;}['toggleOnline'](){return this;}[_0x332b6f(0x23f)](){var _0x65c9c9=_0x332b6f;throw new Error(_0x65c9c9(0x25f));}[_0x332b6f(0x3a4)](){var _0x4faa01=_0x332b6f,_0x323398;(_0x323398=this[_0x4faa01(0x219)])==null||_0x323398[_0x4faa01(0x26c)](this[_0x4faa01(0x31a)],this[_0x4faa01(0x2a6)],null,[]);}[_0x332b6f(0x230)](){var _0x13e128=_0x332b6f;this[_0x13e128(0x22c)]?this['_collaborationUIEventService']['emitEvent']({'id':ne[_0x13e128(0x26d)]}):this['_collaborationUIEventService'][_0x13e128(0x406)]({'id':ne['CONFLICT']});}[_0x332b6f(0x182)](){var _0x430e37=_0x332b6f;this['_permissionService'][_0x430e37(0x35f)](new _0x42525e(this[_0x430e37(0x31a)])['id'],!0x1);}};le=Ie([P(0x6,_0x5e1e11(_0x545df8)),P(0x7,_0x499b8d),P(0x8,_0x17f179),P(0x9,_0x5e1e11(_0x278fa6)),P(0xa,_0x5e1e11(_0x2a03f0)),P(0xb,_0x5e1e11(ve)),P(0xc,_0x2b6ae4(J))],le);let ue=class extends Te{constructor(_0x1f3dfe,_0x29dda,_0x3b9744,_0x5682c9,_0x4ff517,_0x47f472,_0x3c974a,_0x1f639a,_0x3cc728,_0x4a6a91){var _0x4c9a15=_0x332b6f;super(_0x1f3dfe,_0x29dda,_0x3b9744,_0x5682c9,_0x4ff517,_0x1f639a,_0x3cc728,_0x3c974a,_0x4a6a91),N(this,'status',_0x4c9a15(0x39a)),this[_0x4c9a15(0x300)]=_0x47f472;}['appendMutation'](_0x58e100){var _0x44c809=_0x332b6f;return this[_0x44c809(0x428)][_0x44c809(0x16f)](_0x58e100),this[_0x44c809(0x36a)](),this;}[_0x332b6f(0x18b)](_0x518a6b){throw new Error('[OfflineState]:\x20received\x20changeset.');}[_0x332b6f(0x3bf)](){var _0x6ae475=_0x332b6f;throw new Error(_0x6ae475(0x1a6));}[_0x332b6f(0x293)](){var _0x12f1c8=_0x332b6f;throw new Error(_0x12f1c8(0x1ec));}[_0x332b6f(0x16d)](){return this;}[_0x332b6f(0x1b5)](){return this;}[_0x332b6f(0x131)](){var _0x3cca99=_0x332b6f;const {_injector:_0x41c03c,_pendingMutations:_0x4393ce,_awaitingChangeset:_0x5b59d0,unitID:_0x43ba6c,_handler:_0x2c589d,type:_0x18363c}=this,_0x2b8de0=Ri(_0x41c03c,_0x43ba6c,_0x18363c,_0x5b59d0,_0x4393ce,_0x2c589d);return _0x2b8de0 instanceof re?_0x2b8de0[_0x3cca99(0x1bb)]():(_0x2b8de0 instanceof ae||_0x2b8de0 instanceof _e)&&_0x2b8de0[_0x3cca99(0x23f)](),_0x2b8de0;}[_0x332b6f(0x23f)](){var _0x5b3912=_0x332b6f;throw new Error(_0x5b3912(0x32c));}};ue=Ie([P(0x5,_0x5e1e11(_0x226671)),P(0x6,_0x5e1e11(_0x278fa6)),P(0x7,_0x499b8d),P(0x8,_0x17f179),P(0x9,_0x2b6ae4(J))],ue);let Q=class extends Te{constructor(_0x3b1bae,_0x5ab7a3,_0x1604c2,_0x27c71a,_0x2d836b,_0x4fe463,_0x15ff7b,_0x47cc4f,_0x27327d,_0x693729,_0x211884,_0x188251,_0x27637b,_0x34fb68){var _0x3a9de4=_0x332b6f;super(_0x3b1bae,_0x5ab7a3,_0x1604c2,_0x27c71a,_0x15ff7b,_0x211884,_0x188251,_0x27327d,_0x34fb68),N(this,_0x3a9de4(0x12b),_0x3a9de4(0x1a7)),(this[_0x3a9de4(0x15f)]=_0x2d836b,this[_0x3a9de4(0x1e7)]=_0x4fe463,this[_0x3a9de4(0x300)]=_0x47cc4f,this[_0x3a9de4(0x3f5)]=_0x693729,this[_0x3a9de4(0x32e)]=_0x27637b,this[_0x3a9de4(0x1cf)]=_0x34fb68);}[_0x332b6f(0x40b)](_0xa0f22f){var _0x1e40a3=_0x332b6f;try{const _0x37ee84=[..._0xa0f22f,...this[_0x1e40a3(0x1e7)]],_0x40090c=[this['_awaitingChangeset']||this[_0x1e40a3(0x15f)]]['filter'](_0x51c2ad=>!!_0x51c2ad);let _0x5930a5,_0x23bb64;if(_0x40090c[_0x1e40a3(0x378)]){const _0x1dff07=this['_transformService'][_0x1e40a3(0x1a8)](_0x37ee84,_0x40090c,!0x1);if(!_0x4bd4ac(_0x1dff07))throw _0x1dff07[_0x1e40a3(0x160)];_0x5930a5=_0x1dff07[_0x1e40a3(0x3c6)],_0x23bb64=_0x1dff07[_0x1e40a3(0x389)];}else _0x5930a5=_0x37ee84,_0x23bb64=[];let _0x55b46a=this[_0x1e40a3(0x428)];_0x5930a5[_0x1e40a3(0x31c)](_0x324ef1=>{var _0x47638b=_0x1e40a3;let _0x53c682;if(_0x55b46a[_0x47638b(0x378)]){const _0x3c681c=this[_0x47638b(0x32e)][_0x47638b(0x303)](_0x324ef1,_0x55b46a);if(!_0x3665e5(_0x3c681c))throw _0x3c681c[_0x47638b(0x160)];_0x53c682=_0x3c681c[_0x47638b(0x3c6)],_0x55b46a=_0x3c681c[_0x47638b(0x321)];}else _0x53c682=_0x324ef1;this[_0x47638b(0x2af)](_0x53c682);}),this[_0x1e40a3(0x15f)]&&this[_0x1e40a3(0x215)](),this['_awaitingChangeset']&&_0x23bb64[_0x1e40a3(0x378)]&&(_0x23bb64[0x0][_0x1e40a3(0x2b2)]=this['_getCurrentRevision']());let _0x12d758;if(this[_0x1e40a3(0x20c)]&&_0x55b46a[_0x1e40a3(0x378)]!==0x0)_0x12d758=this['_injector'][_0x1e40a3(0x12f)](ae,this[_0x1e40a3(0x31a)],this['type'],_0x23bb64[0x0],_0x55b46a,this[_0x1e40a3(0x38f)],void 0x0);else{if(this[_0x1e40a3(0x20c)]&&_0x55b46a[_0x1e40a3(0x378)]===0x0)_0x23bb64[0x0][_0x1e40a3(0x2b2)]=this[_0x1e40a3(0x14e)](),_0x12d758=this[_0x1e40a3(0x300)][_0x1e40a3(0x12f)](_e,this['unitID'],this[_0x1e40a3(0x2a6)],_0x23bb64[0x0],this['_handler']);else{if(_0x55b46a[_0x1e40a3(0x378)]!==0x0){const _0x6e0a95=this['_injector'][_0x1e40a3(0x12f)](re,this[_0x1e40a3(0x31a)],this['type'],_0x55b46a,this[_0x1e40a3(0x38f)]);_0x6e0a95[_0x1e40a3(0x1bb)](),_0x12d758=_0x6e0a95;}else _0x12d758=this[_0x1e40a3(0x300)][_0x1e40a3(0x12f)](ye,this[_0x1e40a3(0x31a)],this[_0x1e40a3(0x2a6)],this[_0x1e40a3(0x38f)]);}}return _0x12d758[_0x1e40a3(0x36a)](),_0x12d758;}catch(_0x3062f3){return this['_logService'][_0x1e40a3(0x160)](_0x1e40a3(0x3fd),'failed\x20to\x20apply\x20missed\x20changesets!',_0x3062f3),this[_0x1e40a3(0x300)]['createInstance'](le,this[_0x1e40a3(0x31a)],this[_0x1e40a3(0x2a6)],this[_0x1e40a3(0x20c)],this[_0x1e40a3(0x428)],this[_0x1e40a3(0x38f)],!0x1);}}[_0x332b6f(0x23f)](){var _0x26f987=_0x332b6f;throw new Error(_0x26f987(0x14b));}[_0x332b6f(0x28b)](_0x357e0c){var _0x4737bd=_0x332b6f;return this[_0x4737bd(0x428)][_0x4737bd(0x16f)](_0x357e0c),this;}[_0x332b6f(0x18b)](_0xb83edd){var _0xb1fa35=_0x332b6f;return this[_0xb1fa35(0x1e7)][_0xb1fa35(0x16f)](_0xb83edd),this;}[_0x332b6f(0x3bf)](_0x17f352){var _0x14e339=_0x332b6f;if(this[_0x14e339(0x20c)])return this[_0x14e339(0x15f)]=this[_0x14e339(0x20c)],this['_awaitingChangeset']=null,this;throw new Error(_0x14e339(0x431));}[_0x332b6f(0x293)](_0x39412e){var _0x20581a=_0x332b6f;return this['_onConflict'](!!(_0x39412e!=null&&_0x39412e[_0x20581a(0x174)]));}['onRemoteRetry'](){return this;}[_0x332b6f(0x1b5)](){var _0x13a829=_0x332b6f;return this[_0x13a829(0x300)]['createInstance'](ue,this[_0x13a829(0x31a)],this[_0x13a829(0x2a6)],this['_awaitingChangeset'],this[_0x13a829(0x428)],this['_handler']);}[_0x332b6f(0x131)](){return this;}[_0x332b6f(0x424)](_0x272c8f){var _0x2c1d7b=_0x332b6f;return this[_0x2c1d7b(0x300)][_0x2c1d7b(0x12f)](le,this['unitID'],this[_0x2c1d7b(0x2a6)],this[_0x2c1d7b(0x20c)],this[_0x2c1d7b(0x428)],this['_handler'],_0x272c8f);}};Q=Ie([P(0x7,_0x5e1e11(_0x226671)),P(0x8,_0x5e1e11(_0x278fa6)),P(0x9,_0x2ee83c),P(0xa,_0x499b8d),P(0xb,_0x17f179),P(0xc,_0x1eb68a),P(0xd,_0x2b6ae4(J))],Q);function Ri(_0x45f4fd,_0x583c76,_0x1db283,_0x4f4356,_0x4fa7ff,_0x1da7fb){var _0x394d29=_0x332b6f;return _0x4f4356&&_0x4fa7ff[_0x394d29(0x378)]?_0x45f4fd[_0x394d29(0x12f)](ae,_0x583c76,_0x1db283,_0x4f4356,_0x4fa7ff,_0x1da7fb,void 0x0):_0x4f4356?_0x45f4fd[_0x394d29(0x12f)](_e,_0x583c76,_0x1db283,_0x4f4356,_0x1da7fb):_0x4fa7ff['length']?_0x45f4fd['createInstance'](re,_0x583c76,_0x1db283,_0x4fa7ff,_0x1da7fb):_0x45f4fd['createInstance'](ye,_0x583c76,_0x1db283,_0x1da7fb);}var Zs=Object[_0x332b6f(0x438)],wt=(_0x30c722,_0x27cb7a,_0x5a4080,_0xbe29b6)=>{for(var _0x38193f=_0xbe29b6>0x1?void 0x0:_0xbe29b6?Zs(_0x27cb7a,_0x5a4080):_0x27cb7a,_0x59558e=_0x30c722['length']-0x1,_0x405cf3;_0x59558e>=0x0;_0x59558e--)(_0x405cf3=_0x30c722[_0x59558e])&&(_0x38193f=_0x405cf3(_0x38193f)||_0x38193f);return _0x38193f;},H=(_0x2d6581,_0x1a10f7)=>(_0x2693bd,_0x1fcb23)=>_0x1a10f7(_0x2693bd,_0x1fcb23,_0x2d6581);let st=class extends _0x5861e5{constructor(_0x428585,_0x33c5e5,_0x5e78be,_0xeb434a,_0x33b122,_0x5d6bb9,_0x4516e1,_0x50c907,_0x2684e6,_0x3e6eb1,_0x1a9623,_0xaaec6c,_0x3cfa0e){var _0x262c4e=_0x332b6f;super(),N(this,'_state$',new _0x400ec0(null)),N(this,_0x262c4e(0x328),this[_0x262c4e(0x3b3)]['asObservable']()),N(this,_0x262c4e(0x222)),N(this,_0x262c4e(0x3d8),!0x1),N(this,_0x262c4e(0x31b),''),N(this,_0x262c4e(0x358),0x0),N(this,_0x262c4e(0x1d8),this[_0x262c4e(0x328)][_0x262c4e(0x287)](_0x34c49d(_0x5ba23f=>_0x5ba23f?_0x5ba23f[_0x262c4e(0x12b)]:Ti['OFFLINE']),_0x4655e2(0x1))),N(this,_0x262c4e(0x212),!0x1),N(this,'_remoteChangesetQueue',[]),(this[_0x262c4e(0x31a)]=_0x428585,this[_0x262c4e(0x2c1)]=_0x33c5e5,this[_0x262c4e(0x1be)]=_0x5e78be,this['_injector']=_0xeb434a,this['_compressMutationService']=_0x33b122,this['_localeService']=_0x5d6bb9,this[_0x262c4e(0x259)]=_0x4516e1,this[_0x262c4e(0x3cb)]=_0x50c907,this[_0x262c4e(0x3f5)]=_0x2684e6,this[_0x262c4e(0x2dc)]=_0x3e6eb1,this['_permissionService']=_0x1a9623,this[_0x262c4e(0x1e0)]=_0xaaec6c,this['_localCacheService']=_0x3cfa0e);}get[_0x332b6f(0x12c)](){var _0x4c44cb=_0x332b6f;return this[_0x4c44cb(0x222)];}async[_0x332b6f(0x414)](){var _0x5aeae5=_0x332b6f;if(this[_0x5aeae5(0x12c)])throw new Error('[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.');await this[_0x5aeae5(0x2f1)]();}[_0x332b6f(0x3b7)](){var _0x324059=_0x332b6f;return this[_0x324059(0x3d8)]=!0x0,_0x8a8554(()=>{var _0x55214e=_0x324059;this['_collaborationPaused']=!0x1,this[_0x55214e(0x1a2)]();});}[_0x332b6f(0x21c)](_0x5b31cd){var _0x1ab73a=_0x332b6f;this[_0x1ab73a(0x135)](_0x5b31cd);}[_0x332b6f(0x3ca)](_0x1ae029){var _0xc4ebba=_0x332b6f;this[_0xc4ebba(0x222)]=_0x1ae029,this[_0xc4ebba(0x3b3)][_0xc4ebba(0x2b8)](_0x1ae029);}async[_0x332b6f(0x2f1)](){var _0x21a516=_0x332b6f,_0x4f979a;this[_0x21a516(0x3ca)](await this['_createInitialState']()),this['_singleActiveUnitService']&&((_0x4f979a=this[_0x21a516(0x1e0)])==null||_0x4f979a[_0x21a516(0x2cc)](this[_0x21a516(0x31a)]),this[_0x21a516(0x288)](this[_0x21a516(0x1e0)]['getUnitStatus$'](this[_0x21a516(0x31a)])['subscribe'](_0x10eb9a=>{var _0x4b1195=_0x21a516;this['_logService'][_0x4b1195(0x158)]('[CollaborationEntity]',_0x4b1195(0x2e3),_0x10eb9a),_0x10eb9a===Ei[_0x4b1195(0x19d)]?(this[_0x4b1195(0x3cb)][_0x4b1195(0x406)]({'id':ne[_0x4b1195(0x3f1)]}),this[_0x4b1195(0x29e)]['updatePermissionPoint'](new _0x42525e(this[_0x4b1195(0x31a)])['id'],!0x1),this[_0x4b1195(0x29e)][_0x4b1195(0x365)](!0x1)):(this[_0x4b1195(0x29e)]['updatePermissionPoint'](new _0x42525e(this[_0x4b1195(0x31a)])['id'],!0x0),this[_0x4b1195(0x29e)][_0x4b1195(0x365)](!0x0));})));let _0x554d7d=!0x1;return this[_0x21a516(0x288)](this[_0x21a516(0x2c1)][_0x21a516(0x37a)]['subscribe'](_0xe0ebaf=>{var _0x3d4fb7=_0x21a516;_0xe0ebaf===Se[_0x3d4fb7(0x258)]?this['_toggleOnline'](_0x554d7d):_0xe0ebaf===Se['OFFLINE']&&(_0x554d7d=!0x0,this[_0x3d4fb7(0x430)]());})),this['disposeWithMe'](this[_0x21a516(0x2c1)][_0x21a516(0x361)][_0x21a516(0x166)](_0x1121f7=>{var _0x2a6f18=_0x21a516;try{switch(_0x1121f7['eventID']){case _0x418085[_0x2a6f18(0x427)]:{this[_0x2a6f18(0x234)](_0x3b4ac4(_0x1121f7[_0x2a6f18(0x349)]));break;}case _0x418085[_0x2a6f18(0x377)]:{this[_0x2a6f18(0x3b5)](_0x1121f7[_0x2a6f18(0x349)]);break;}case _0x418085[_0x2a6f18(0x3c5)]:{this[_0x2a6f18(0x324)]();break;}case _0x418085[_0x2a6f18(0x325)]:{this['_onRemoteRetry'](_0x1121f7[_0x2a6f18(0x349)]);break;}case _0x418085[_0x2a6f18(0x347)]:{this[_0x2a6f18(0x40d)](_0x1121f7[_0x2a6f18(0x349)][_0x2a6f18(0x38c)]['map'](_0x2eaf4c=>_0x3b4ac4(_0x2eaf4c)));break;}case _0x418085['PERMISSION_REJ']:{this['_onRemoteRejected']({'isPermissionRej':!0x0});break;}case _0x418085[_0x2a6f18(0x429)]:break;}}catch(_0x2a0d8e){throw console[_0x2a6f18(0x160)](_0x2a6f18(0x1a1),_0x2a0d8e),_0x2a0d8e;}})),this['_state'];}[_0x332b6f(0x2bf)](){this['_transitionLocked']=!0x1;}[_0x332b6f(0x205)](){var _0x33fc76=_0x332b6f;if(this[_0x33fc76(0x212)])throw new Error('[CollaborationEntity]:\x20cannot\x20lock\x20transition\x20twice!\x20This\x20is\x20an\x20implementation\x20error,\x20meaning\x20you\x20transit\x20the\x20collaboration\x20state\x20again\x20in\x20the\x20process\x20of\x20a\x20previous\x20transition.\x20This\x20should\x20never\x20happen.');this[_0x33fc76(0x212)]=!0x0;}[_0x332b6f(0x135)](_0x47990b){var _0x26064d=_0x332b6f;this['_lockTransition'](),this['_updateState'](this[_0x26064d(0x222)]['appendMutation'](_0x47990b)),this[_0x26064d(0x2bf)]();}['_onRemoteChangeset'](_0x1ed141){var _0x87cf65=_0x332b6f;if(!(_0x1ed141[_0x87cf65(0x198)]<=this[_0x87cf65(0x259)][_0x87cf65(0x36e)](this[_0x87cf65(0x31a)]))){if(this[_0x87cf65(0x3d8)]){this[_0x87cf65(0x1ed)][_0x87cf65(0x16f)](_0x1ed141);return;}this[_0x87cf65(0x2e0)](_0x1ed141);}}[_0x332b6f(0x1a2)](){var _0x427e17=_0x332b6f;this[_0x427e17(0x1ed)]['forEach'](_0x6fca4c=>this[_0x427e17(0x2e0)](_0x6fca4c)),this[_0x427e17(0x1ed)]=[];}[_0x332b6f(0x2e0)](_0xcb2ea2){var _0x4687d3=_0x332b6f;const _0x4bdafb=this[_0x4687d3(0x408)]['interceptor'][_0x4687d3(0x3ad)](this[_0x4687d3(0x408)][_0x4687d3(0x1e2)][_0x4687d3(0x201)]()[_0x4687d3(0x2d6)])(_0xcb2ea2[_0x4687d3(0x416)],null)||_0xcb2ea2['mutations'],_0x30a694={..._0xcb2ea2,'mutations':_0x4bdafb};this['_lockTransition'](),this[_0x4687d3(0x3ca)](this[_0x4687d3(0x222)][_0x4687d3(0x18b)](_0x30a694)),this['_unlockTransition']();}[_0x332b6f(0x3b5)](_0x5d0392){var _0x253e5b=_0x332b6f;this['_lockTransition'](),this[_0x253e5b(0x3ca)](this['_state']['onRemoteAck'](_0x5d0392)),this[_0x253e5b(0x2bf)]();}[_0x332b6f(0x324)](_0x58f30a){var _0x1e5725=_0x332b6f;this[_0x1e5725(0x205)](),this[_0x1e5725(0x3ca)](this['_state'][_0x1e5725(0x293)](_0x58f30a)),this[_0x1e5725(0x2bf)]();}[_0x332b6f(0x22a)](_0x5cbcc0){var _0x45234e=_0x332b6f;this[_0x45234e(0x205)](),this[_0x45234e(0x3ca)](this[_0x45234e(0x222)][_0x45234e(0x16d)](_0x5cbcc0)),this['_unlockTransition']();}['_onFetchMissResult'](_0xcf042e){var _0x22ddce=_0x332b6f;if(!(this['_state']instanceof Q))throw new TypeError('[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!');const _0x371dc1=_0xcf042e[_0x22ddce(0x152)](_0x3e8c2b=>{var _0x4a5516=_0x22ddce;const _0x57e170=this['_compressMutationService'][_0x4a5516(0x1e2)][_0x4a5516(0x3ad)](this['_compressMutationService'][_0x4a5516(0x1e2)]['getInterceptPoints']()[_0x4a5516(0x2d6)])(_0x3e8c2b['mutations'],null)||_0x3e8c2b[_0x4a5516(0x416)];return{..._0x3e8c2b,'mutations':_0x57e170};});this[_0x22ddce(0x205)](),this[_0x22ddce(0x3ca)](this[_0x22ddce(0x222)][_0x22ddce(0x40b)](_0x371dc1)),this['_unlockTransition']();}[_0x332b6f(0x430)](){var _0x437255=_0x332b6f;this['_lockTransition'](),this['_updateState'](this['_state'][_0x437255(0x1b5)]()),this[_0x437255(0x2bf)]();}[_0x332b6f(0x169)](_0x128df5=!0x1){var _0x3eefc4=_0x332b6f;this[_0x3eefc4(0x205)](),this[_0x3eefc4(0x3ca)](this['_state'][_0x3eefc4(0x131)]()),this[_0x3eefc4(0x2bf)]();const _0xf6f203=this[_0x3eefc4(0x222)];_0x128df5&&_0xf6f203 instanceof ye&&(this['_lockTransition'](),this['_updateState'](_0xf6f203[_0x3eefc4(0x23b)]()),this[_0x3eefc4(0x2bf)]());}async[_0x332b6f(0x2ed)](){return new Promise(_0x2e5047=>{var _0x4dcc9a=_0x2301;this[_0x4dcc9a(0x2c1)][_0x4dcc9a(0x37a)][_0x4dcc9a(0x287)](_0x286f91(0x1))['subscribe'](async _0x3cb289=>{_0x2e5047(await this['_createInitialStateImpl'](_0x3cb289===Se['ONLINE']));});});}[_0x332b6f(0x12a)](){var _0x50e145=_0x332b6f;const _0x3f3933=this[_0x50e145(0x31a)];return{'onStateChange':(_0x50e6ea,_0x33da88)=>{var _0x56cf6f=_0x50e145;if(_0x50e6ea!==this[_0x56cf6f(0x222)])throw new Error(_0x56cf6f(0x3a7)+_0x50e6ea[_0x56cf6f(0x12b)]+_0x56cf6f(0x12e)+_0x33da88['status']+_0x56cf6f(0x439)+this[_0x56cf6f(0x222)]['status']);this['_updateState'](_0x33da88);},'onSendChangeset':_0x11558a=>{var _0x15d5a6=_0x50e145;_0x11558a[_0x15d5a6(0x3ae)]||(_0x11558a[_0x15d5a6(0x3ae)]=this[_0x15d5a6(0x31b)],_0x11558a['reqId']=++this[_0x15d5a6(0x358)]);const _0x422a87={'eventID':_0x418085[_0x15d5a6(0x338)],'data':{'unitID':_0x11558a[_0x15d5a6(0x31a)],'unitType':this[_0x15d5a6(0x1be)],'changeset':_0x11558a,'memberID':this[_0x15d5a6(0x2c1)][_0x15d5a6(0x270)]()}};this[_0x15d5a6(0x2c1)][_0x15d5a6(0x21f)](_0x422a87,this[_0x15d5a6(0x31a)]);},'onMissingChangesets':({from:_0x1a0dbd,to:_0x564d30})=>{var _0x189cc7=_0x50e145;this[_0x189cc7(0x3f5)]['debug'](_0x189cc7(0x2b9),_0x189cc7(0x3e6)+_0x1a0dbd+_0x189cc7(0x2e8)+_0x564d30);const _0x286d75={'eventID':_0x418085['FETCH_MISSING'],'data':{'unitID':_0x3f3933,'unitType':this[_0x189cc7(0x1be)],'from':_0x1a0dbd,'to':_0x564d30}};this['session'][_0x189cc7(0x21f)](_0x286d75,this[_0x189cc7(0x31a)]);}};}async[_0x332b6f(0x294)](_0x2ccd2a){var _0x2bcf11=_0x332b6f,_0x469f6c,_0x2429e5,_0x26eaf3;const _0x5e6a72=await((_0x469f6c=this['_localCacheService'])==null?void 0x0:_0x469f6c[_0x2bcf11(0x170)](this[_0x2bcf11(0x31a)])),_0x35c9d8=(_0x2429e5=_0x5e6a72==null?void 0x0:_0x5e6a72[_0x2bcf11(0x416)])!=null?_0x2429e5:[],_0x4cb2d7=(_0x26eaf3=_0x5e6a72==null?void 0x0:_0x5e6a72[_0x2bcf11(0x1cd)])!=null?_0x26eaf3:null,_0x505a66=!!(_0x4cb2d7!=null&&_0x4cb2d7[_0x2bcf11(0x3ae)])&&!!(_0x4cb2d7!=null&&_0x4cb2d7[_0x2bcf11(0x3eb)]);this[_0x2bcf11(0x31b)]=_0x505a66?_0x4cb2d7[_0x2bcf11(0x3ae)]:_0x3b8cf4(),this[_0x2bcf11(0x358)]=_0x505a66?_0x4cb2d7['reqId']:0x0;const _0xc0fa43=this['unitID'];try{this[_0x2bcf11(0x405)](_0x4cb2d7,_0x35c9d8);}catch(_0x40d7b3){this[_0x2bcf11(0x3f5)][_0x2bcf11(0x160)](_0x40d7b3);}const _0xf3c3fc=this[_0x2bcf11(0x12a)]();if(_0x2ccd2a){const _0xc138eb=Ri(this[_0x2bcf11(0x300)],_0xc0fa43,this[_0x2bcf11(0x1be)],_0x4cb2d7,_0x35c9d8,_0xf3c3fc);return _0xc138eb instanceof re?_0xc138eb[_0x2bcf11(0x1bb)]():(_0xc138eb instanceof ae||_0xc138eb instanceof _e)&&_0xc138eb[_0x2bcf11(0x23f)](),_0xc138eb;}return this[_0x2bcf11(0x300)]['createInstance'](ue,_0xc0fa43,this[_0x2bcf11(0x1be)],_0x4cb2d7,_0x35c9d8,_0xf3c3fc);}['_replayCachedMutations'](_0x56a1d2,_0x367583){var _0x2f321b=_0x332b6f,_0x435f4e,_0x25ae53;const _0x319499=this[_0x2f321b(0x408)][_0x2f321b(0x1e2)][_0x2f321b(0x3ad)](this[_0x2f321b(0x408)][_0x2f321b(0x1e2)][_0x2f321b(0x201)]()[_0x2f321b(0x2d6)]);(_0x435f4e=_0x319499((_0x56a1d2==null?void 0x0:_0x56a1d2[_0x2f321b(0x416)])||[],null))==null||_0x435f4e[_0x2f321b(0x31c)](_0x5ef7d9=>this['_commandService'][_0x2f321b(0x29a)](_0x5ef7d9['id'],_0x5ef7d9[_0x2f321b(0x14d)])),(_0x25ae53=_0x319499(_0x367583||[],null))==null||_0x25ae53[_0x2f321b(0x31c)](_0x208730=>this[_0x2f321b(0x2dc)][_0x2f321b(0x29a)](_0x208730['id'],_0x208730[_0x2f321b(0x14d)]));}};st=wt([H(0x3,_0x5e1e11(_0x226671)),H(0x4,_0x5e1e11(_0x433706)),H(0x5,_0x5e1e11(_0x2a03f0)),H(0x6,_0x5e1e11(_0x278fa6)),H(0x7,_0x5e1e11(ve)),H(0x8,_0x2ee83c),H(0x9,_0x499b8d),H(0xa,_0x545df8),H(0xb,_0x2b6ae4(ht)),H(0xc,_0x2b6ae4(J))],st);let St=class extends st{constructor(_0x450ae1,_0x24b611,_0x1bc21f,_0x22a15c,_0x526b8a,_0x32df78,_0x4c9a7d,_0x5649cd,_0x34a11c,_0x16a151,_0x1fb2e9,_0x1c3714,_0x1f43ed){var _0x4f4f89=_0x332b6f;super(_0x450ae1,_0x1bc21f,_0x24b611,_0x22a15c,_0x526b8a,_0x32df78,_0x4c9a7d,_0x5649cd,_0x34a11c,_0x16a151,_0x1fb2e9,_0x1c3714,_0x1f43ed),N(this,_0x4f4f89(0x1ee),null),(this['unitID']=_0x450ae1,this[_0x4f4f89(0x2a6)]=_0x24b611);}[_0x332b6f(0x339)](_0x3e68a8){this['_handlerCallback']=_0x3e68a8;}['dispose'](){var _0x545f41=_0x332b6f;this[_0x545f41(0x1ee)]=null,super[_0x545f41(0x3f3)]();}[_0x332b6f(0x12a)](){var _0x4f75cc=_0x332b6f;const _0x3fb113=super[_0x4f75cc(0x12a)]();return _0x3fb113[_0x4f75cc(0x394)]=_0x26e151=>{var _0x3d700a=_0x4f75cc,_0x19b2a3,_0x241170;return(_0x241170=(_0x19b2a3=this[_0x3d700a(0x1ee)])==null?void 0x0:_0x19b2a3[_0x3d700a(0x394)])==null?void 0x0:_0x241170[_0x3d700a(0x15c)](_0x19b2a3,_0x26e151);},_0x3fb113[_0x4f75cc(0x26a)]=_0x1ed8ef=>{var _0x3a6f3f=_0x4f75cc,_0x2cdae7,_0xe9d8ea;return(_0xe9d8ea=(_0x2cdae7=this[_0x3a6f3f(0x1ee)])==null?void 0x0:_0x2cdae7[_0x3a6f3f(0x26a)])==null?void 0x0:_0xe9d8ea[_0x3a6f3f(0x15c)](_0x2cdae7,_0x1ed8ef);},_0x3fb113[_0x4f75cc(0x1b6)]=_0x2e6202=>{var _0x190559=_0x4f75cc,_0xa20a45,_0x67456e;return(_0x67456e=(_0xa20a45=this[_0x190559(0x1ee)])==null?void 0x0:_0xa20a45['onTransformSelections'])==null?void 0x0:_0x67456e['call'](_0xa20a45,_0x2e6202);},_0x3fb113[_0x4f75cc(0x1f1)]=_0x4f8580=>{var _0x5cc963=_0x4f75cc,_0x260ae8,_0x5ae648;return(_0x5ae648=(_0x260ae8=this[_0x5cc963(0x1ee)])==null?void 0x0:_0x260ae8[_0x5cc963(0x1f1)])==null?void 0x0:_0x5ae648[_0x5cc963(0x15c)](_0x260ae8,_0x4f8580);},_0x3fb113[_0x4f75cc(0x21d)]=_0x1cd60f=>{var _0xd3b766=_0x4f75cc,_0x195c9d,_0x5e49a4,_0x1f01ba;if(!((_0x195c9d=this[_0xd3b766(0x1ee)])!=null&&_0x195c9d[_0xd3b766(0x21d)]))throw new Error('onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x1f01ba=(_0x5e49a4=this[_0xd3b766(0x1ee)])==null?void 0x0:_0x5e49a4[_0xd3b766(0x21d)])==null?void 0x0:_0x1f01ba[_0xd3b766(0x15c)](_0x5e49a4,_0x1cd60f);},_0x3fb113[_0x4f75cc(0x412)]=_0xe0a058=>{var _0x5bbeb5=_0x4f75cc,_0x217962,_0x657c02,_0x26466f;if(!((_0x217962=this['_handlerCallback'])!=null&&_0x217962['onTransformRemoteChangesetByStateCache']))throw new Error(_0x5bbeb5(0x388));return(_0x26466f=(_0x657c02=this[_0x5bbeb5(0x1ee)])==null?void 0x0:_0x657c02['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x26466f[_0x5bbeb5(0x15c)](_0x657c02,_0xe0a058);},_0x3fb113;}async[_0x332b6f(0x2f1)](){var _0x194996=_0x332b6f;const _0x474187=await super[_0x194996(0x2f1)]();return this[_0x194996(0x288)](this['_commandService'][_0x194996(0x161)]((_0x545671,_0x5a637f)=>{var _0x5befd3=_0x194996;if(_0x545671[_0x5befd3(0x2a6)]!==_0x2bca99[_0x5befd3(0x3e1)]||_0x5a637f!=null&&_0x5a637f[_0x5befd3(0x147)]||_0x5a637f!=null&&_0x5a637f['onlyLocal']||_0x545671['id']===_0x2497f1['id'])return;const _0x5768ce=_0x545671[_0x5befd3(0x14d)];if((_0x5768ce==null?void 0x0:_0x5768ce[_0x5befd3(0x1fe)])!==this[_0x5befd3(0x31a)])return;const _0xd198e4=_0x545671,_0x54be05=this[_0x5befd3(0x408)]['interceptor']['fetchThroughInterceptors'](this[_0x5befd3(0x408)][_0x5befd3(0x1e2)][_0x5befd3(0x201)]()['COMPRESS_MUTATION_SEND'])([_0xd198e4],null)||[_0xd198e4];this['_onLocalMutation'](_0x54be05[0x0]);})),_0x474187;}};St=wt([H(0x3,_0x5e1e11(_0x226671)),H(0x4,_0x5e1e11(_0x433706)),H(0x5,_0x5e1e11(_0x2a03f0)),H(0x6,_0x5e1e11(_0x278fa6)),H(0x7,_0x5e1e11(ve)),H(0x8,_0x2ee83c),H(0x9,_0x499b8d),H(0xa,_0x545df8),H(0xb,_0x2b6ae4(ht)),H(0xc,_0x2b6ae4(J))],St);let Et=class extends st{constructor(_0x2b32c9,_0x28dbde,_0x14fe8f,_0x30023f,_0x6043d6,_0x3ae93a,_0x1ac65d,_0x201d75,_0x427967,_0x8b7877,_0x307400,_0xe1652f,_0xc2121a,_0x35e4ae){var _0x158e36=_0x332b6f;super(_0x2b32c9,_0x14fe8f,_0x28dbde,_0x30023f,_0x6043d6,_0x3ae93a,_0x1ac65d,_0x427967,_0x8b7877,_0x307400,_0xe1652f,_0xc2121a,_0x35e4ae),this['unitID']=_0x2b32c9,this['type']=_0x28dbde,this[_0x158e36(0x133)]=_0x201d75;}['_createHandler'](){var _0x32e7be=_0x332b6f;const _0x3880f2=super['_createHandler']();return _0x3880f2[_0x32e7be(0x1b6)]=_0x2c22c2=>this[_0x32e7be(0x133)][_0x32e7be(0x1e3)](_0x2c22c2),_0x3880f2;}async['_init'](){var _0x36d596=_0x332b6f;const _0x5b4416=await super['_init']();return this[_0x36d596(0x288)](this[_0x36d596(0x2dc)][_0x36d596(0x161)]((_0x1152f9,_0x6746e5)=>{var _0x531c59=_0x36d596;if(_0x1152f9[_0x531c59(0x2a6)]!==_0x2bca99['MUTATION']||_0x6746e5!=null&&_0x6746e5[_0x531c59(0x147)]||_0x6746e5!=null&&_0x6746e5[_0x531c59(0x1cb)])return;const _0x1ead51=_0x1152f9[_0x531c59(0x14d)];if((_0x1ead51==null?void 0x0:_0x1ead51[_0x531c59(0x1fe)])!==this['unitID'])return;const _0x5da939=_0x1152f9,_0x13a3fa=this['_compressMutationService'][_0x531c59(0x1e2)][_0x531c59(0x3ad)](this[_0x531c59(0x408)][_0x531c59(0x1e2)][_0x531c59(0x201)]()[_0x531c59(0x3d5)])([_0x5da939],null)||[_0x5da939];this['_onLocalMutation'](_0x13a3fa[0x0]);})),_0x5b4416;}};Et=wt([H(0x3,_0x5e1e11(_0x226671)),H(0x4,_0x5e1e11(_0x433706)),H(0x5,_0x5e1e11(_0x2a03f0)),H(0x6,_0x5e1e11(_0x278fa6)),H(0x7,_0x5e1e11(it)),H(0x8,_0x5e1e11(ve)),H(0x9,_0x2ee83c),H(0xa,_0x499b8d),H(0xb,_0x545df8),H(0xc,_0x2b6ae4(ht)),H(0xd,_0x2b6ae4(J))],Et);var Qs=Object[_0x332b6f(0x438)],en=(_0x17bb91,_0x3f54f9,_0x4ea494,_0x2c56b3)=>{for(var _0x525027=_0x2c56b3>0x1?void 0x0:_0x2c56b3?Qs(_0x3f54f9,_0x4ea494):_0x3f54f9,_0x41e321=_0x17bb91['length']-0x1,_0xa1b50a;_0x41e321>=0x0;_0x41e321--)(_0xa1b50a=_0x17bb91[_0x41e321])&&(_0x525027=_0xa1b50a(_0x525027)||_0x525027);return _0x525027;},Be=(_0x239875,_0xbc1dfc)=>(_0x3928e1,_0x4abcf4)=>_0xbc1dfc(_0x3928e1,_0x4abcf4,_0x239875);let nt=class extends _0x5861e5{constructor(_0x322cfe,_0x2491d8,_0x118440,_0x2f4bab){var _0xcbd464=_0x332b6f,_0x5239ef;super(),N(this,_0xcbd464(0x1b0),new Map()),N(this,_0xcbd464(0x3db),new _0x1ac18f()),N(this,_0xcbd464(0x3ec),this[_0xcbd464(0x3db)][_0xcbd464(0x38a)]()),(this['_injector']=_0x322cfe,this['_collabSessionService']=_0x2491d8,this[_0xcbd464(0x3a8)]=_0x118440,this['_univerInstanceService']=_0x2f4bab,((_0x5239ef=this[_0xcbd464(0x3a8)][_0xcbd464(0x1ac)](K))==null?void 0x0:_0x5239ef[_0xcbd464(0x19c)])!==!0x1&&this['_init']());}['dispose'](){var _0x3a52db=_0x332b6f;super[_0x3a52db(0x3f3)](),this['_entities']['forEach'](_0x460033=>_0x460033[_0x3a52db(0x3f3)]()),this[_0x3a52db(0x1b0)][_0x3a52db(0x2e6)]();}['getCollabEntity'](_0x3c25d9){var _0x428988=_0x332b6f,_0x2a3003;return(_0x2a3003=this[_0x428988(0x1b0)][_0x428988(0x292)](_0x3c25d9))!=null?_0x2a3003:null;}[_0x332b6f(0x32b)](_0x3e35c0){var _0x426d0c=_0x332b6f;const _0x3c20cd=this[_0x426d0c(0x2f8)](_0x3e35c0);return _0x3c20cd?_0x4bede0(_0x3c20cd):this[_0x426d0c(0x3db)][_0x426d0c(0x287)](_0x3c6cec(_0x27924a=>_0x27924a[_0x426d0c(0x31a)]===_0x3e35c0));}['readyForCollab'](_0x40f3b4){var _0x4ee199=_0x332b6f;return _0x6514ca(this[_0x4ee199(0x32b)](_0x40f3b4)[_0x4ee199(0x287)](_0x2f4302(()=>{})));}[_0x332b6f(0x2f1)](){var _0x32ccab=_0x332b6f;this['_univerInstanceService'][_0x32ccab(0x20e)](_0x2db736[_0x32ccab(0x3fe)])[_0x32ccab(0x287)](_0xa96493(this['dispose$']),_0x8f3393(0x10))['subscribe'](async _0x308dd2=>{var _0x4aa78b=_0x32ccab;const _0x44435d=_0x308dd2[_0x4aa78b(0x2bd)](),_0x1e163b=await this[_0x4aa78b(0x218)](_0x44435d,Z['UNIVER_SHEET']);this[_0x4aa78b(0x1b0)]['set'](_0x44435d,_0x1e163b);}),this[_0x32ccab(0x18d)]['getTypeOfUnitAdded$'](_0x2db736[_0x32ccab(0x172)])[_0x32ccab(0x287)](_0xa96493(this[_0x32ccab(0x41b)]),_0x8f3393(0x10))[_0x32ccab(0x287)](_0x3c6cec(_0x1a8e4d=>!_0x1a8e4d[_0x32ccab(0x2bd)]()[_0x32ccab(0x3e7)]('__')))['subscribe'](async _0x564791=>{var _0x1a781d=_0x32ccab;const _0x5268a0=_0x564791['getUnitId'](),_0x200ad2=await this[_0x1a781d(0x218)](_0x5268a0,Z[_0x1a781d(0x172)]);this[_0x1a781d(0x1b0)]['set'](_0x5268a0,_0x200ad2);}),_0x99efa5(this[_0x32ccab(0x18d)][_0x32ccab(0x1da)](_0x2db736[_0x32ccab(0x3fe)]),this[_0x32ccab(0x18d)][_0x32ccab(0x1da)](_0x2db736[_0x32ccab(0x172)]))[_0x32ccab(0x287)](_0xa96493(this[_0x32ccab(0x41b)]))['subscribe'](_0x2e40b2=>{var _0x19021d=_0x32ccab;const _0x5ef518=_0x2e40b2['getUnitId'](),_0x2f9eac=this['_entities'][_0x19021d(0x292)](_0x5ef518);_0x2f9eac&&(_0x2f9eac[_0x19021d(0x3f3)](),this[_0x19021d(0x1b0)][_0x19021d(0x2ae)](_0x5ef518));});}async['_startCollaboration'](_0xc93270,_0x2da44c){var _0x8cb69c=_0x332b6f;const _0x4f1df8=await this[_0x8cb69c(0x1af)][_0x8cb69c(0x249)](_0xc93270),_0x1f52c6=this[_0x8cb69c(0x300)][_0x8cb69c(0x12f)](this[_0x8cb69c(0x3c0)](_0x2da44c),_0xc93270,_0x2da44c,_0x4f1df8);return await _0x1f52c6[_0x8cb69c(0x414)](),this[_0x8cb69c(0x3db)]['next'](_0x1f52c6),_0x1f52c6;}[_0x332b6f(0x3c0)](_0x1eabe9){var _0x772021=_0x332b6f;switch(_0x1eabe9){case Z['UNIVER_DOC']:return St;case Z[_0x772021(0x3fe)]:return Et;default:throw new Error(_0x772021(0x168)+_0x1eabe9);}}};nt=en([Be(0x0,_0x5e1e11(_0x226671)),Be(0x1,_0x5e1e11(Le)),Be(0x2,_0x5747ff),Be(0x3,_0x47549b)],nt);var tn=Object['getOwnPropertyDescriptor'],sn=(_0x354884,_0x1e7552,_0x252e56,_0x467769)=>{var _0x4643ab=_0x332b6f;for(var _0x342d7c=_0x467769>0x1?void 0x0:_0x467769?tn(_0x1e7552,_0x252e56):_0x1e7552,_0x42cb49=_0x354884[_0x4643ab(0x378)]-0x1,_0x4c437d;_0x42cb49>=0x0;_0x42cb49--)(_0x4c437d=_0x354884[_0x42cb49])&&(_0x342d7c=_0x4c437d(_0x342d7c)||_0x342d7c);return _0x342d7c;},Wt=(_0x560ea9,_0x449ed7)=>(_0x3339cc,_0x57fcc2)=>_0x449ed7(_0x3339cc,_0x57fcc2,_0x560ea9);const nn=_0x332b6f(0x257),rn=_0x332b6f(0x163);let It=class extends _0x401350{constructor(_0x350e88,_0xbc90af){var _0x2a38df=_0x332b6f;super(),this[_0x2a38df(0x18d)]=_0x350e88,this[_0x2a38df(0x3a8)]=_0xbc90af,this[_0x2a38df(0x2f1)]();}[_0x332b6f(0x2f1)](){var _0x2e5e48=_0x332b6f;this[_0x2e5e48(0x288)](this[_0x2e5e48(0x18d)][_0x2e5e48(0x397)][_0x2e5e48(0x166)](()=>{var _0x1b963e=_0x2e5e48,_0x2d3c8f;const _0x1a5e06=this['_univerInstanceService'][_0x1b963e(0x421)]();let _0x4f9e34=(_0x2d3c8f=this[_0x1b963e(0x3a8)][_0x1b963e(0x1ac)](nn))!=null?_0x2d3c8f:rn;_0x1a5e06 instanceof _0x4b1cc3&&(_0x4f9e34=_0x1a5e06[_0x1b963e(0x3ed)]),document['title']=_0x4f9e34;}));}};It=sn([Wt(0x0,_0x47549b),Wt(0x1,_0x5747ff)],It);var an=Object[_0x332b6f(0x438)],on=(_0x1bc97e,_0x4676ee,_0x583e97,_0x36214b)=>{var _0x4d7ff6=_0x332b6f;for(var _0x365b74=_0x36214b>0x1?void 0x0:_0x36214b?an(_0x4676ee,_0x583e97):_0x4676ee,_0x8f66ef=_0x1bc97e[_0x4d7ff6(0x378)]-0x1,_0x1244f2;_0x8f66ef>=0x0;_0x8f66ef--)(_0x1244f2=_0x1bc97e[_0x8f66ef])&&(_0x365b74=_0x1244f2(_0x365b74)||_0x365b74);return _0x365b74;},dt=(_0x44568d,_0x28c07a)=>(_0x1ff57e,_0x50b73a)=>_0x28c07a(_0x1ff57e,_0x50b73a,_0x44568d);let rt=class{constructor(_0x83c670,_0x1f9a3c,_0x2f1a2e){var _0x57c906=_0x332b6f;this['_configService']=_0x83c670,this[_0x57c906(0x2ff)]=_0x1f9a3c,this['localeService']=_0x2f1a2e,this[_0x57c906(0x414)]();}[_0x332b6f(0x414)](){var _0x4fa51c=_0x332b6f;this['_httpService']['registerHTTPInterceptor']({'priority':0x1,'interceptor':(_0x48433f,_0x102151)=>_0x102151(_0x48433f)[_0x4fa51c(0x287)](_0x15abb8(async _0x4b0449=>{var _0x4fccbe=_0x4fa51c;const _0x5f3f08=_0x4b0449;if(_0x5f3f08[_0x4fccbe(0x12b)]===0x191){if(typeof window>'u')throw new Error(_0x4fccbe(0x3ea));if(window[_0x4fccbe(0x315)](this[_0x4fccbe(0x1c8)]['t'](_0x4fccbe(0x3d7)))){const _0x555822=window[_0x4fccbe(0x2ce)](window[_0x4fccbe(0x313)][_0x4fccbe(0x402)]);window['location'][_0x4fccbe(0x402)]=this[_0x4fccbe(0x24e)]()+_0x4fccbe(0x34d)+_0x555822;}}return _0x5f3f08;}))});}['_getLoginPath'](){var _0x2256d4=_0x332b6f,_0xe7454e,_0x4946b3;const _0x589c77=this[_0x2256d4(0x3a8)][_0x2256d4(0x1ac)](ys),_0x2e15c6=this['_configService'][_0x2256d4(0x1ac)](K);return(_0x4946b3=(_0xe7454e=_0x2e15c6==null?void 0x0:_0x2e15c6[_0x2256d4(0x1ca)])!=null?_0xe7454e:_0x589c77)!=null?_0x4946b3:Ns;}};rt=on([dt(0x0,_0x5747ff),dt(0x1,_0x5e1e11(_0x50e32e)),dt(0x2,_0x5e1e11(_0x2a03f0))],rt);var cn=Object['getOwnPropertyDescriptor'],hn=(_0x3bab09,_0x322b64,_0x236d6e,_0x305998)=>{var _0x4334d9=_0x332b6f;for(var _0x3d3c4d=_0x305998>0x1?void 0x0:_0x305998?cn(_0x322b64,_0x236d6e):_0x322b64,_0x54c6e2=_0x3bab09[_0x4334d9(0x378)]-0x1,_0x254399;_0x54c6e2>=0x0;_0x54c6e2--)(_0x254399=_0x3bab09[_0x54c6e2])&&(_0x3d3c4d=_0x254399(_0x3d3c4d)||_0x3d3c4d);return _0x3d3c4d;},Kt=(_0x5d1020,_0x1afefe)=>(_0x678808,_0x1d7717)=>_0x1afefe(_0x678808,_0x1d7717,_0x5d1020);const Oi='AUTHZ_URL_KEY',_n=_0x332b6f(0x136);let Tt=class extends _0x401350{constructor(_0x29d22f,_0x1d2c5c){var _0x31484b=_0x332b6f;super(),this[_0x31484b(0x1c9)]=_0x29d22f,this[_0x31484b(0x3a8)]=_0x1d2c5c,this[_0x31484b(0x256)]();}[_0x332b6f(0x256)](){var _0x2e83b9=_0x332b6f;const _0x37fffa=this;this[_0x2e83b9(0x288)](this['_HTTPService'][_0x2e83b9(0x38b)]({'priority':0x3e7,'interceptor':_0x45b75c({'isMatch'(_0x3fd287){var _0x46bc98=_0x2e83b9,_0x1f4f5d;if(_0x3fd287[_0x46bc98(0x1ad)]==='POST'&&((_0x1f4f5d=_0x3fd287[_0x46bc98(0x3d4)])!=null&&_0x1f4f5d[_0x46bc98(0x22d)])){const {objectID:_0x41205c,objectType:_0x2ba8fe}=_0x3fd287['requestParams'][_0x46bc98(0x22d)]||{};if(!_0x41205c||_0x2ba8fe===void 0x0)return!0x1;const _0x2ae8cb=_0x37fffa[_0x46bc98(0x426)]()+'/'+_0x2ba8fe+_0x46bc98(0x171)+_0x41205c+_0x46bc98(0x1ea);if(_0x3fd287[_0x46bc98(0x385)]===_0x2ae8cb)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x34e2e2){var _0x440c00=_0x2e83b9,_0x4f6ac1;return(_0x4f6ac1=_0x34e2e2[_0x440c00(0x3d4)])==null?void 0x0:_0x4f6ac1[_0x440c00(0x22d)];},'mergeParamsToRequest'(_0x46487d,_0x1046b1){var _0x4b5d78=_0x2e83b9;const _0x2b1a74=_0x37fffa[_0x4b5d78(0x426)]()+'/-/object/-/batch_allowed',_0x18920a=_0x46487d[_0x4b5d78(0x1cc)]((_0x35e03b,_0x5480a9)=>{var _0x233814=_0x4b5d78;const {unitID:_0x26dbb8,objectID:_0x19e204,objectType:_0x3302e9,actions:_0xcf0991}=_0x5480a9;return _0x35e03b[_0x26dbb8]||(_0x35e03b[_0x26dbb8]={}),_0x35e03b[_0x26dbb8][_0x19e204]||(_0x35e03b[_0x26dbb8][_0x19e204]={'objectID':_0x19e204,'objectType':_0x3302e9,'actions':[]}),_0x35e03b[_0x26dbb8][_0x19e204][_0x233814(0x27f)][_0x233814(0x16f)](..._0xcf0991),_0x35e03b;},{}),_0x318e58=[];for(const _0x398f9b in _0x18920a)for(const _0x25f257 in _0x18920a[_0x398f9b]){const {actions:_0x20b8b8,objectType:_0x2d1d3e}=_0x18920a[_0x398f9b][_0x25f257],_0x43f3b2=[...new Set(_0x20b8b8)];_0x318e58[_0x4b5d78(0x16f)]({'unitID':_0x398f9b,'objectID':_0x25f257,'objectType':_0x2d1d3e,'actions':_0x43f3b2});}return new _0x24e9cf(_0x4b5d78(0x2d0),_0x2b1a74,{'headers':_0x1046b1['headers'],'withCredentials':_0x1046b1['withCredentials'],'responseType':_0x1046b1[_0x4b5d78(0x196)],'body':{'requests':_0x318e58}});}},{'distributeResult'(_0x2cdf99,_0x2fd56e){const {objectActions:_0x1a15b9}=_0x2cdf99;return _0x2fd56e['map'](_0x53bd67=>{var _0x1ed0bc=_0x2301;const {unitID:_0x3e8743,objectID:_0x24af3f,actions:_0x51db66}=_0x53bd67,_0x26ecde=_0x1a15b9['find'](_0x4b6d57=>_0x4b6d57[_0x1ed0bc(0x31a)]===_0x3e8743&&_0x4b6d57[_0x1ed0bc(0x37f)]===_0x24af3f),_0x246f6f=_0x51db66[_0x1ed0bc(0x152)](_0x25fdb6=>_0x26ecde==null?void 0x0:_0x26ecde[_0x1ed0bc(0x27f)][_0x1ed0bc(0x36d)](_0x55eca8=>_0x55eca8['action']===_0x25fdb6))[_0x1ed0bc(0x1ba)](_0x280b39=>!!_0x280b39);return{'config':_0x53bd67,'result':{'actions':_0x246f6f,'error':_0x2cdf99[_0x1ed0bc(0x160)]}};});}})}));}[_0x332b6f(0x426)](){var _0x5a9f1a=_0x332b6f,_0x3934ec,_0x3b80be;const _0x3b814d=this[_0x5a9f1a(0x3a8)][_0x5a9f1a(0x1ac)](Oi),_0x2f0752=this['_configService'][_0x5a9f1a(0x1ac)](K);return(_0x3b80be=(_0x3934ec=_0x2f0752==null?void 0x0:_0x2f0752['authzUrl'])!=null?_0x3934ec:_0x3b814d)!=null?_0x3b80be:_n;}async[_0x332b6f(0x1c1)](_0x296f6b){var _0x35aa3e=_0x332b6f;const _0x16c9e6=this[_0x35aa3e(0x426)]()+'/'+_0x296f6b[_0x35aa3e(0x3b4)]+_0x35aa3e(0x332);return(await this[_0x35aa3e(0x1c9)][_0x35aa3e(0x1a3)](_0x16c9e6,{'body':_0x296f6b}))[_0x35aa3e(0x22d)][_0x35aa3e(0x37f)]||'';}async[_0x332b6f(0x139)](_0x40819b){var _0x4e30ff=_0x332b6f;const _0x20ad45=this[_0x4e30ff(0x426)]()+_0x4e30ff(0x3c7);return(await this['_HTTPService'][_0x4e30ff(0x1a3)](_0x20ad45,{'body':_0x40819b}))[_0x4e30ff(0x22d)]['objects'];}async['update'](_0x243c3c){var _0x454e48=_0x332b6f,_0xb36a95,_0x47cff9;const _0x36a63f=this[_0x454e48(0x426)]()+'/'+_0x243c3c[_0x454e48(0x3b4)]+_0x454e48(0x171)+_0x243c3c[_0x454e48(0x37f)],_0x3cdd9e=await this[_0x454e48(0x1c9)][_0x454e48(0x20d)](_0x36a63f,{'body':_0x243c3c});if(((_0x47cff9=(_0xb36a95=_0x3cdd9e==null?void 0x0:_0x3cdd9e['body'])==null?void 0x0:_0xb36a95[_0x454e48(0x160)])==null?void 0x0:_0x47cff9['code'])!==0x1)throw new Error('Failed\x20to\x20update\x20permission\x20point');}async[_0x332b6f(0x33c)](_0x31e93f){var _0x4becf9=_0x332b6f;const _0x151e13=this[_0x4becf9(0x426)]()+'/'+_0x31e93f['objectType']+_0x4becf9(0x171)+_0x31e93f['objectID']+'/allowed';return(await this['_HTTPService'][_0x4becf9(0x1a3)](_0x151e13,{'body':_0x31e93f}))[_0x4becf9(0x22d)]['actions'];}async['batchAllowed'](_0x495373){var _0x365f7c=_0x332b6f;const _0x5720d0=this[_0x365f7c(0x426)]()+'/-/object/-/batch_allowed';return(await this[_0x365f7c(0x1c9)][_0x365f7c(0x1a3)](_0x5720d0,{'body':{'requests':_0x495373}}))[_0x365f7c(0x22d)][_0x365f7c(0x41a)];}async['listRoles'](_0x2af6c5){var _0x4c5e84=_0x332b6f;const _0xa59336=this[_0x4c5e84(0x426)]()+'/'+_0x2af6c5['objectType']+_0x4c5e84(0x266),_0x1d7dde=await this['_HTTPService']['post'](_0xa59336,{'body':_0x2af6c5});return{'roles':_0x1d7dde[_0x4c5e84(0x22d)][_0x4c5e84(0x30f)],'actions':_0x1d7dde[_0x4c5e84(0x22d)][_0x4c5e84(0x27f)]};}async[_0x332b6f(0x2d8)](_0x26dbcd){var _0xe9a256=_0x332b6f;const _0xc70bb1=this[_0xe9a256(0x426)]()+_0xe9a256(0x42b);await this[_0xe9a256(0x1c9)][_0xe9a256(0x2ae)](_0xc70bb1,{'params':{'collaboratorID':_0x26dbcd['collaboratorID'],'objectID':_0x26dbcd[_0xe9a256(0x37f)],'unitID':_0x26dbcd['unitID']}});}async[_0x332b6f(0x2ac)](_0x4ea7de){var _0x38d85c=_0x332b6f;const _0x48e091=this[_0x38d85c(0x426)]()+_0x38d85c(0x42b);await this[_0x38d85c(0x1c9)]['patch'](_0x48e091,{'body':_0x4ea7de});}async['createCollaborator'](_0x1c0e2d){var _0x41124b=_0x332b6f;const _0x3df6ac=this[_0x41124b(0x426)]()+_0x41124b(0x42b);await this[_0x41124b(0x1c9)][_0x41124b(0x1a3)](_0x3df6ac,{'body':_0x1c0e2d});}async['listCollaborators'](_0x1e3e7f){var _0x3dc854=_0x332b6f;const _0xbdb9a7=this[_0x3dc854(0x426)]()+_0x3dc854(0x42b);return(await this['_HTTPService'][_0x3dc854(0x292)](_0xbdb9a7,{'params':{'objectID':_0x1e3e7f[_0x3dc854(0x37f)],'unitID':_0x1e3e7f[_0x3dc854(0x31a)]}}))[_0x3dc854(0x22d)][_0x3dc854(0x333)];}async['putCollaborators'](_0x48c6de){var _0x5cb21c=_0x332b6f;const _0x584830=this[_0x5cb21c(0x426)]()+_0x5cb21c(0x42b);await this['_HTTPService'][_0x5cb21c(0x20d)](_0x584830,{'body':_0x48c6de});}};Tt=hn([Kt(0x0,_0x5e1e11(_0x50e32e)),Kt(0x1,_0x5e1e11(_0x5747ff))],Tt);var ft=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function $e(_0x5d5920){var _0x519a01=_0x332b6f;return _0x5d5920&&_0x5d5920['__esModule']&&Object[_0x519a01(0x33a)][_0x519a01(0x308)]['call'](_0x5d5920,_0x519a01(0x3cf))?_0x5d5920[_0x519a01(0x3cf)]:_0x5d5920;}var Ve={'exports':{}};function ln(_0xd881a4){var _0x377ef9=_0x332b6f;throw new Error(_0x377ef9(0x25d)+_0xd881a4+_0x377ef9(0x383));}var Ge={'exports':{}},un=Ge[_0x332b6f(0x387)],qt;function te(){var _0x3c79eb=_0x332b6f;return qt||(qt=0x1,function(_0x3ad07e,_0x37c952){(function(_0x3c8e9b,_0x345bc9){var _0x3bcc80=_0x2301;_0x3ad07e[_0x3bcc80(0x387)]=_0x345bc9();}(un,function(){var _0x170631=_0x170631||function(_0x224114,_0x199b0e){var _0x4d0d45=_0x2301,_0x59196b;if(typeof window<'u'&&window[_0x4d0d45(0x37b)]&&(_0x59196b=window[_0x4d0d45(0x37b)]),typeof self<'u'&&self['crypto']&&(_0x59196b=self[_0x4d0d45(0x37b)]),typeof globalThis<'u'&&globalThis[_0x4d0d45(0x37b)]&&(_0x59196b=globalThis[_0x4d0d45(0x37b)]),!_0x59196b&&typeof window<'u'&&window[_0x4d0d45(0x330)]&&(_0x59196b=window[_0x4d0d45(0x330)]),!_0x59196b&&typeof ft<'u'&&ft[_0x4d0d45(0x37b)]&&(_0x59196b=ft['crypto']),!_0x59196b&&typeof ln==_0x4d0d45(0x1b2))try{_0x59196b=require(_0x4d0d45(0x37b));}catch{}var _0x3f48d0=function(){var _0x4082de=_0x4d0d45;if(_0x59196b){if(typeof _0x59196b[_0x4082de(0x2b1)]==_0x4082de(0x1b2))try{return _0x59196b[_0x4082de(0x2b1)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x59196b[_0x4082de(0x1a5)]==_0x4082de(0x1b2))try{return _0x59196b[_0x4082de(0x1a5)](0x4)[_0x4082de(0x310)]();}catch{}}throw new Error('Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.');},_0x5df2b6=Object[_0x4d0d45(0x1c1)]||(function(){function _0x29c5de(){}return function(_0x368167){var _0x253c7c=_0x2301,_0x2061cd;return _0x29c5de[_0x253c7c(0x33a)]=_0x368167,_0x2061cd=new _0x29c5de(),_0x29c5de[_0x253c7c(0x33a)]=null,_0x2061cd;};}()),_0x5f4628={},_0x22dd57=_0x5f4628[_0x4d0d45(0x220)]={},_0x4b1e9d=_0x22dd57[_0x4d0d45(0x2ec)]=(function(){return{'extend':function(_0x4284ee){var _0x5e715b=_0x2301,_0x540621=_0x5df2b6(this);return _0x4284ee&&_0x540621[_0x5e715b(0x28d)](_0x4284ee),(!_0x540621[_0x5e715b(0x308)](_0x5e715b(0x414))||this['init']===_0x540621[_0x5e715b(0x414)])&&(_0x540621[_0x5e715b(0x414)]=function(){var _0x34f21d=_0x5e715b;_0x540621[_0x34f21d(0x419)][_0x34f21d(0x414)][_0x34f21d(0x127)](this,arguments);}),_0x540621[_0x5e715b(0x414)][_0x5e715b(0x33a)]=_0x540621,_0x540621[_0x5e715b(0x419)]=this,_0x540621;},'create':function(){var _0x1eaaba=_0x2301,_0x4e354b=this[_0x1eaaba(0x2d1)]();return _0x4e354b[_0x1eaaba(0x414)][_0x1eaaba(0x127)](_0x4e354b,arguments),_0x4e354b;},'init':function(){},'mixIn':function(_0x33f7e5){var _0x6324b8=_0x2301;for(var _0x583965 in _0x33f7e5)_0x33f7e5[_0x6324b8(0x308)](_0x583965)&&(this[_0x583965]=_0x33f7e5[_0x583965]);_0x33f7e5[_0x6324b8(0x308)](_0x6324b8(0x29f))&&(this[_0x6324b8(0x29f)]=_0x33f7e5[_0x6324b8(0x29f)]);},'clone':function(){var _0x1a1f68=_0x2301;return this[_0x1a1f68(0x414)]['prototype'][_0x1a1f68(0x2d1)](this);}};}()),_0x1629df=_0x22dd57['WordArray']=_0x4b1e9d[_0x4d0d45(0x2d1)]({'init':function(_0x258e8c,_0x1e0a9e){var _0x56211e=_0x4d0d45;_0x258e8c=this['words']=_0x258e8c||[],_0x1e0a9e!=_0x199b0e?this[_0x56211e(0x13d)]=_0x1e0a9e:this[_0x56211e(0x13d)]=_0x258e8c['length']*0x4;},'toString':function(_0x411f81){var _0x56629a=_0x4d0d45;return(_0x411f81||_0x4a32e0)[_0x56629a(0x25e)](this);},'concat':function(_0x1c739d){var _0x437cb1=_0x4d0d45,_0x3f99f6=this[_0x437cb1(0x3cc)],_0x107a65=_0x1c739d[_0x437cb1(0x3cc)],_0x33b861=this[_0x437cb1(0x13d)],_0x30aee5=_0x1c739d[_0x437cb1(0x13d)];if(this[_0x437cb1(0x128)](),_0x33b861%0x4)for(var _0x44cc67=0x0;_0x44cc67<_0x30aee5;_0x44cc67++){var _0x1233b6=_0x107a65[_0x44cc67>>>0x2]>>>0x18-_0x44cc67%0x4*0x8&0xff;_0x3f99f6[_0x33b861+_0x44cc67>>>0x2]|=_0x1233b6<<0x18-(_0x33b861+_0x44cc67)%0x4*0x8;}else{for(var _0x4c6b35=0x0;_0x4c6b35<_0x30aee5;_0x4c6b35+=0x4)_0x3f99f6[_0x33b861+_0x4c6b35>>>0x2]=_0x107a65[_0x4c6b35>>>0x2];}return this[_0x437cb1(0x13d)]+=_0x30aee5,this;},'clamp':function(){var _0xa39ab8=_0x4d0d45,_0x21097e=this[_0xa39ab8(0x3cc)],_0x1075da=this[_0xa39ab8(0x13d)];_0x21097e[_0x1075da>>>0x2]&=0xffffffff<<0x20-_0x1075da%0x4*0x8,_0x21097e[_0xa39ab8(0x378)]=_0x224114['ceil'](_0x1075da/0x4);},'clone':function(){var _0x2bec7f=_0x4d0d45,_0x1e1c03=_0x4b1e9d[_0x2bec7f(0x280)][_0x2bec7f(0x15c)](this);return _0x1e1c03[_0x2bec7f(0x3cc)]=this['words']['slice'](0x0),_0x1e1c03;},'random':function(_0x5dd4a6){var _0x2f1e58=_0x4d0d45;for(var _0x55869c=[],_0x1ce6c3=0x0;_0x1ce6c3<_0x5dd4a6;_0x1ce6c3+=0x4)_0x55869c['push'](_0x3f48d0());return new _0x1629df[(_0x2f1e58(0x414))](_0x55869c,_0x5dd4a6);}}),_0x4532e3=_0x5f4628['enc']={},_0x4a32e0=_0x4532e3[_0x4d0d45(0x34c)]={'stringify':function(_0x2ab1e0){var _0x1162ae=_0x4d0d45;for(var _0x5036ce=_0x2ab1e0[_0x1162ae(0x3cc)],_0x5f0798=_0x2ab1e0[_0x1162ae(0x13d)],_0x2532e8=[],_0x53eee9=0x0;_0x53eee9<_0x5f0798;_0x53eee9++){var _0x47faae=_0x5036ce[_0x53eee9>>>0x2]>>>0x18-_0x53eee9%0x4*0x8&0xff;_0x2532e8[_0x1162ae(0x16f)]((_0x47faae>>>0x4)[_0x1162ae(0x29f)](0x10)),_0x2532e8[_0x1162ae(0x16f)]((_0x47faae&0xf)[_0x1162ae(0x29f)](0x10));}return _0x2532e8['join']('');},'parse':function(_0x21b005){var _0x1e30d6=_0x4d0d45;for(var _0x4c4a61=_0x21b005[_0x1e30d6(0x378)],_0x15fb4d=[],_0x2c7062=0x0;_0x2c7062<_0x4c4a61;_0x2c7062+=0x2)_0x15fb4d[_0x2c7062>>>0x3]|=parseInt(_0x21b005[_0x1e30d6(0x302)](_0x2c7062,0x2),0x10)<<0x18-_0x2c7062%0x8*0x4;return new _0x1629df[(_0x1e30d6(0x414))](_0x15fb4d,_0x4c4a61/0x2);}},_0x3a57e1=_0x4532e3[_0x4d0d45(0x13a)]={'stringify':function(_0x1dc07e){var _0x23f00c=_0x4d0d45;for(var _0x393930=_0x1dc07e['words'],_0x4fdefd=_0x1dc07e[_0x23f00c(0x13d)],_0x468147=[],_0xa31f41=0x0;_0xa31f41<_0x4fdefd;_0xa31f41++){var _0x4c5143=_0x393930[_0xa31f41>>>0x2]>>>0x18-_0xa31f41%0x4*0x8&0xff;_0x468147[_0x23f00c(0x16f)](String[_0x23f00c(0x264)](_0x4c5143));}return _0x468147[_0x23f00c(0x307)]('');},'parse':function(_0x2095b7){var _0x586197=_0x4d0d45;for(var _0x253b2f=_0x2095b7[_0x586197(0x378)],_0x5725a6=[],_0x136f8a=0x0;_0x136f8a<_0x253b2f;_0x136f8a++)_0x5725a6[_0x136f8a>>>0x2]|=(_0x2095b7['charCodeAt'](_0x136f8a)&0xff)<<0x18-_0x136f8a%0x4*0x8;return new _0x1629df['init'](_0x5725a6,_0x253b2f);}},_0x4e38cd=_0x4532e3[_0x4d0d45(0x26f)]={'stringify':function(_0x2a7c8c){var _0xf8ddb7=_0x4d0d45;try{return decodeURIComponent(escape(_0x3a57e1[_0xf8ddb7(0x25e)](_0x2a7c8c)));}catch{throw new Error(_0xf8ddb7(0x337));}},'parse':function(_0xb28089){return _0x3a57e1['parse'](unescape(encodeURIComponent(_0xb28089)));}},_0xfd4636=_0x22dd57[_0x4d0d45(0x13c)]=_0x4b1e9d[_0x4d0d45(0x2d1)]({'reset':function(){var _0x3506f2=_0x4d0d45;this[_0x3506f2(0x2b7)]=new _0x1629df[(_0x3506f2(0x414))](),this[_0x3506f2(0x2fb)]=0x0;},'_append':function(_0x23044){var _0x409d7b=_0x4d0d45;typeof _0x23044==_0x409d7b(0x322)&&(_0x23044=_0x4e38cd[_0x409d7b(0x19b)](_0x23044)),this[_0x409d7b(0x2b7)]['concat'](_0x23044),this[_0x409d7b(0x2fb)]+=_0x23044[_0x409d7b(0x13d)];},'_process':function(_0x3db4d1){var _0x3fe620=_0x4d0d45,_0x31746d,_0x5b7202=this[_0x3fe620(0x2b7)],_0x16ea9b=_0x5b7202[_0x3fe620(0x3cc)],_0x3f3091=_0x5b7202[_0x3fe620(0x13d)],_0x42dc05=this[_0x3fe620(0x42a)],_0x182111=_0x42dc05*0x4,_0x508925=_0x3f3091/_0x182111;_0x3db4d1?_0x508925=_0x224114[_0x3fe620(0x2d2)](_0x508925):_0x508925=_0x224114[_0x3fe620(0x209)]((_0x508925|0x0)-this['_minBufferSize'],0x0);var _0x168d7e=_0x508925*_0x42dc05,_0x1c11c4=_0x224114['min'](_0x168d7e*0x4,_0x3f3091);if(_0x168d7e){for(var _0x38974=0x0;_0x38974<_0x168d7e;_0x38974+=_0x42dc05)this['_doProcessBlock'](_0x16ea9b,_0x38974);_0x31746d=_0x16ea9b[_0x3fe620(0x251)](0x0,_0x168d7e),_0x5b7202['sigBytes']-=_0x1c11c4;}return new _0x1629df[(_0x3fe620(0x414))](_0x31746d,_0x1c11c4);},'clone':function(){var _0xdf38bc=_0x4d0d45,_0x3a0f1d=_0x4b1e9d[_0xdf38bc(0x280)][_0xdf38bc(0x15c)](this);return _0x3a0f1d['_data']=this[_0xdf38bc(0x2b7)][_0xdf38bc(0x280)](),_0x3a0f1d;},'_minBufferSize':0x0});_0x22dd57[_0x4d0d45(0x21b)]=_0xfd4636[_0x4d0d45(0x2d1)]({'cfg':_0x4b1e9d[_0x4d0d45(0x2d1)](),'init':function(_0x3448cd){var _0x1e02d1=_0x4d0d45;this[_0x1e02d1(0x246)]=this[_0x1e02d1(0x246)][_0x1e02d1(0x2d1)](_0x3448cd),this[_0x1e02d1(0x2bc)]();},'reset':function(){var _0x141895=_0x4d0d45;_0xfd4636[_0x141895(0x2bc)]['call'](this),this[_0x141895(0x3a1)]();},'update':function(_0x204a30){var _0x1a708c=_0x4d0d45;return this[_0x1a708c(0x2ea)](_0x204a30),this[_0x1a708c(0x392)](),this;},'finalize':function(_0x21b88c){var _0x521ac7=_0x4d0d45;_0x21b88c&&this[_0x521ac7(0x2ea)](_0x21b88c);var _0x7c0346=this[_0x521ac7(0x1e1)]();return _0x7c0346;},'blockSize':0x10,'_createHelper':function(_0x7b08c5){return function(_0x3f8b53,_0x14cccb){var _0x22f53e=_0x2301;return new _0x7b08c5['init'](_0x14cccb)[_0x22f53e(0x243)](_0x3f8b53);};},'_createHmacHelper':function(_0x15bcf8){return function(_0x1e19ee,_0x527036){var _0x56ac25=_0x2301;return new _0x30d937[(_0x56ac25(0x175))][(_0x56ac25(0x414))](_0x15bcf8,_0x527036)['finalize'](_0x1e19ee);};}});var _0x30d937=_0x5f4628[_0x4d0d45(0x197)]={};return _0x5f4628;}(Math);return _0x170631;}));}(Ge)),Ge[_0x3c79eb(0x387)];}var Ye={'exports':{}},dn=Ye[_0x332b6f(0x387)],zt;function bi(){var _0x4565d8=_0x332b6f;return zt||(zt=0x1,function(_0x45483f,_0x2bcb08){(function(_0x325919,_0x2d8ce5){var _0x243667=_0x2301;_0x45483f[_0x243667(0x387)]=_0x2d8ce5(te());}(dn,function(_0xab9faf){var _0x29d28a=_0x2301;return(function(){var _0x1fd25a=_0x2301,_0x2a5a81=_0xab9faf,_0x1d9b30=_0x2a5a81[_0x1fd25a(0x220)],_0x320c83=_0x1d9b30[_0x1fd25a(0x15b)],_0x1df02e=_0x2a5a81[_0x1fd25a(0x200)];_0x1df02e['Base64']={'stringify':function(_0x13a672){var _0x285bd5=_0x1fd25a,_0x3d1031=_0x13a672[_0x285bd5(0x3cc)],_0x5f5d2e=_0x13a672[_0x285bd5(0x13d)],_0x16cb65=this[_0x285bd5(0x2f4)];_0x13a672['clamp']();for(var _0x38c92f=[],_0x397590=0x0;_0x397590<_0x5f5d2e;_0x397590+=0x3)for(var _0x1fd42a=_0x3d1031[_0x397590>>>0x2]>>>0x18-_0x397590%0x4*0x8&0xff,_0x54e9f5=_0x3d1031[_0x397590+0x1>>>0x2]>>>0x18-(_0x397590+0x1)%0x4*0x8&0xff,_0xe9c51c=_0x3d1031[_0x397590+0x2>>>0x2]>>>0x18-(_0x397590+0x2)%0x4*0x8&0xff,_0x5794f6=_0x1fd42a<<0x10|_0x54e9f5<<0x8|_0xe9c51c,_0x2b3ebf=0x0;_0x2b3ebf<0x4&&_0x397590+_0x2b3ebf*0.75<_0x5f5d2e;_0x2b3ebf++)_0x38c92f[_0x285bd5(0x16f)](_0x16cb65[_0x285bd5(0x2db)](_0x5794f6>>>0x6*(0x3-_0x2b3ebf)&0x3f));var _0x4e11b0=_0x16cb65[_0x285bd5(0x2db)](0x40);if(_0x4e11b0){for(;_0x38c92f[_0x285bd5(0x378)]%0x4;)_0x38c92f[_0x285bd5(0x16f)](_0x4e11b0);}return _0x38c92f[_0x285bd5(0x307)]('');},'parse':function(_0x370131){var _0x52a9d1=_0x1fd25a,_0xa41572=_0x370131['length'],_0x25b2b3=this[_0x52a9d1(0x2f4)],_0x55b97d=this[_0x52a9d1(0x341)];if(!_0x55b97d){_0x55b97d=this['_reverseMap']=[];for(var _0x48f296=0x0;_0x48f296<_0x25b2b3[_0x52a9d1(0x378)];_0x48f296++)_0x55b97d[_0x25b2b3[_0x52a9d1(0x42c)](_0x48f296)]=_0x48f296;}var _0x42cb17=_0x25b2b3['charAt'](0x40);if(_0x42cb17){var _0xc59d93=_0x370131[_0x52a9d1(0x2c4)](_0x42cb17);_0xc59d93!==-0x1&&(_0xa41572=_0xc59d93);}return _0xe905e2(_0x370131,_0xa41572,_0x55b97d);},'_map':_0x1fd25a(0x2ab)};function _0xe905e2(_0x5184e8,_0x14f184,_0x37865a){var _0x149021=_0x1fd25a;for(var _0x23fcec=[],_0x409d5e=0x0,_0x193abc=0x0;_0x193abc<_0x14f184;_0x193abc++)if(_0x193abc%0x4){var _0x5e212f=_0x37865a[_0x5184e8['charCodeAt'](_0x193abc-0x1)]<<_0x193abc%0x4*0x2,_0x5ed665=_0x37865a[_0x5184e8[_0x149021(0x42c)](_0x193abc)]>>>0x6-_0x193abc%0x4*0x2,_0x50e3db=_0x5e212f|_0x5ed665;_0x23fcec[_0x409d5e>>>0x2]|=_0x50e3db<<0x18-_0x409d5e%0x4*0x8,_0x409d5e++;}return _0x320c83[_0x149021(0x1c1)](_0x23fcec,_0x409d5e);}}()),_0xab9faf[_0x29d28a(0x200)][_0x29d28a(0x277)];}));}(Ye)),Ye[_0x4565d8(0x387)];}var We={'exports':{}},fn=We['exports'],Jt;function vn(){return Jt||(Jt=0x1,function(_0x4b9735,_0x588c5e){(function(_0x1d59c7,_0x24a5c1){var _0x37df9a=_0x2301;_0x4b9735[_0x37df9a(0x387)]=_0x24a5c1(te());}(fn,function(_0x1366db){var _0x382fa5=_0x2301;return function(_0x46f4c3){var _0x2628df=_0x2301,_0x405b98=_0x1366db,_0x39417e=_0x405b98[_0x2628df(0x220)],_0xa19b63=_0x39417e[_0x2628df(0x15b)],_0xfc7537=_0x39417e[_0x2628df(0x21b)],_0x55f8b3=_0x405b98[_0x2628df(0x197)],_0x33c86d=[];(function(){var _0x55ed9f=_0x2628df;for(var _0x564ab1=0x0;_0x564ab1<0x40;_0x564ab1++)_0x33c86d[_0x564ab1]=_0x46f4c3[_0x55ed9f(0x1d9)](_0x46f4c3['sin'](_0x564ab1+0x1))*0x100000000|0x0;}());var _0x5e31ac=_0x55f8b3[_0x2628df(0x232)]=_0xfc7537[_0x2628df(0x2d1)]({'_doReset':function(){this['_hash']=new _0xa19b63['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0xd92e5c,_0x4325aa){for(var _0x552fd9=0x0;_0x552fd9<0x10;_0x552fd9++){var _0x5d81cb=_0x4325aa+_0x552fd9,_0x48a36c=_0xd92e5c[_0x5d81cb];_0xd92e5c[_0x5d81cb]=(_0x48a36c<<0x8|_0x48a36c>>>0x18)&0xff00ff|(_0x48a36c<<0x18|_0x48a36c>>>0x8)&0xff00ff00;}var _0x49094e=this['_hash']['words'],_0x17982c=_0xd92e5c[_0x4325aa+0x0],_0x5efbcf=_0xd92e5c[_0x4325aa+0x1],_0x53b147=_0xd92e5c[_0x4325aa+0x2],_0xc846f1=_0xd92e5c[_0x4325aa+0x3],_0x1433c5=_0xd92e5c[_0x4325aa+0x4],_0x5afc08=_0xd92e5c[_0x4325aa+0x5],_0x4d25b8=_0xd92e5c[_0x4325aa+0x6],_0x5d753d=_0xd92e5c[_0x4325aa+0x7],_0x38f481=_0xd92e5c[_0x4325aa+0x8],_0x2155bd=_0xd92e5c[_0x4325aa+0x9],_0x40853f=_0xd92e5c[_0x4325aa+0xa],_0x2c8de3=_0xd92e5c[_0x4325aa+0xb],_0x2d35be=_0xd92e5c[_0x4325aa+0xc],_0xb69a4f=_0xd92e5c[_0x4325aa+0xd],_0x52fe75=_0xd92e5c[_0x4325aa+0xe],_0x31a3c7=_0xd92e5c[_0x4325aa+0xf],_0x3c15e1=_0x49094e[0x0],_0x13ca12=_0x49094e[0x1],_0x4e036d=_0x49094e[0x2],_0x282210=_0x49094e[0x3];_0x3c15e1=_0x2b670d(_0x3c15e1,_0x13ca12,_0x4e036d,_0x282210,_0x17982c,0x7,_0x33c86d[0x0]),_0x282210=_0x2b670d(_0x282210,_0x3c15e1,_0x13ca12,_0x4e036d,_0x5efbcf,0xc,_0x33c86d[0x1]),_0x4e036d=_0x2b670d(_0x4e036d,_0x282210,_0x3c15e1,_0x13ca12,_0x53b147,0x11,_0x33c86d[0x2]),_0x13ca12=_0x2b670d(_0x13ca12,_0x4e036d,_0x282210,_0x3c15e1,_0xc846f1,0x16,_0x33c86d[0x3]),_0x3c15e1=_0x2b670d(_0x3c15e1,_0x13ca12,_0x4e036d,_0x282210,_0x1433c5,0x7,_0x33c86d[0x4]),_0x282210=_0x2b670d(_0x282210,_0x3c15e1,_0x13ca12,_0x4e036d,_0x5afc08,0xc,_0x33c86d[0x5]),_0x4e036d=_0x2b670d(_0x4e036d,_0x282210,_0x3c15e1,_0x13ca12,_0x4d25b8,0x11,_0x33c86d[0x6]),_0x13ca12=_0x2b670d(_0x13ca12,_0x4e036d,_0x282210,_0x3c15e1,_0x5d753d,0x16,_0x33c86d[0x7]),_0x3c15e1=_0x2b670d(_0x3c15e1,_0x13ca12,_0x4e036d,_0x282210,_0x38f481,0x7,_0x33c86d[0x8]),_0x282210=_0x2b670d(_0x282210,_0x3c15e1,_0x13ca12,_0x4e036d,_0x2155bd,0xc,_0x33c86d[0x9]),_0x4e036d=_0x2b670d(_0x4e036d,_0x282210,_0x3c15e1,_0x13ca12,_0x40853f,0x11,_0x33c86d[0xa]),_0x13ca12=_0x2b670d(_0x13ca12,_0x4e036d,_0x282210,_0x3c15e1,_0x2c8de3,0x16,_0x33c86d[0xb]),_0x3c15e1=_0x2b670d(_0x3c15e1,_0x13ca12,_0x4e036d,_0x282210,_0x2d35be,0x7,_0x33c86d[0xc]),_0x282210=_0x2b670d(_0x282210,_0x3c15e1,_0x13ca12,_0x4e036d,_0xb69a4f,0xc,_0x33c86d[0xd]),_0x4e036d=_0x2b670d(_0x4e036d,_0x282210,_0x3c15e1,_0x13ca12,_0x52fe75,0x11,_0x33c86d[0xe]),_0x13ca12=_0x2b670d(_0x13ca12,_0x4e036d,_0x282210,_0x3c15e1,_0x31a3c7,0x16,_0x33c86d[0xf]),_0x3c15e1=_0xe7f0c2(_0x3c15e1,_0x13ca12,_0x4e036d,_0x282210,_0x5efbcf,0x5,_0x33c86d[0x10]),_0x282210=_0xe7f0c2(_0x282210,_0x3c15e1,_0x13ca12,_0x4e036d,_0x4d25b8,0x9,_0x33c86d[0x11]),_0x4e036d=_0xe7f0c2(_0x4e036d,_0x282210,_0x3c15e1,_0x13ca12,_0x2c8de3,0xe,_0x33c86d[0x12]),_0x13ca12=_0xe7f0c2(_0x13ca12,_0x4e036d,_0x282210,_0x3c15e1,_0x17982c,0x14,_0x33c86d[0x13]),_0x3c15e1=_0xe7f0c2(_0x3c15e1,_0x13ca12,_0x4e036d,_0x282210,_0x5afc08,0x5,_0x33c86d[0x14]),_0x282210=_0xe7f0c2(_0x282210,_0x3c15e1,_0x13ca12,_0x4e036d,_0x40853f,0x9,_0x33c86d[0x15]),_0x4e036d=_0xe7f0c2(_0x4e036d,_0x282210,_0x3c15e1,_0x13ca12,_0x31a3c7,0xe,_0x33c86d[0x16]),_0x13ca12=_0xe7f0c2(_0x13ca12,_0x4e036d,_0x282210,_0x3c15e1,_0x1433c5,0x14,_0x33c86d[0x17]),_0x3c15e1=_0xe7f0c2(_0x3c15e1,_0x13ca12,_0x4e036d,_0x282210,_0x2155bd,0x5,_0x33c86d[0x18]),_0x282210=_0xe7f0c2(_0x282210,_0x3c15e1,_0x13ca12,_0x4e036d,_0x52fe75,0x9,_0x33c86d[0x19]),_0x4e036d=_0xe7f0c2(_0x4e036d,_0x282210,_0x3c15e1,_0x13ca12,_0xc846f1,0xe,_0x33c86d[0x1a]),_0x13ca12=_0xe7f0c2(_0x13ca12,_0x4e036d,_0x282210,_0x3c15e1,_0x38f481,0x14,_0x33c86d[0x1b]),_0x3c15e1=_0xe7f0c2(_0x3c15e1,_0x13ca12,_0x4e036d,_0x282210,_0xb69a4f,0x5,_0x33c86d[0x1c]),_0x282210=_0xe7f0c2(_0x282210,_0x3c15e1,_0x13ca12,_0x4e036d,_0x53b147,0x9,_0x33c86d[0x1d]),_0x4e036d=_0xe7f0c2(_0x4e036d,_0x282210,_0x3c15e1,_0x13ca12,_0x5d753d,0xe,_0x33c86d[0x1e]),_0x13ca12=_0xe7f0c2(_0x13ca12,_0x4e036d,_0x282210,_0x3c15e1,_0x2d35be,0x14,_0x33c86d[0x1f]),_0x3c15e1=_0x559326(_0x3c15e1,_0x13ca12,_0x4e036d,_0x282210,_0x5afc08,0x4,_0x33c86d[0x20]),_0x282210=_0x559326(_0x282210,_0x3c15e1,_0x13ca12,_0x4e036d,_0x38f481,0xb,_0x33c86d[0x21]),_0x4e036d=_0x559326(_0x4e036d,_0x282210,_0x3c15e1,_0x13ca12,_0x2c8de3,0x10,_0x33c86d[0x22]),_0x13ca12=_0x559326(_0x13ca12,_0x4e036d,_0x282210,_0x3c15e1,_0x52fe75,0x17,_0x33c86d[0x23]),_0x3c15e1=_0x559326(_0x3c15e1,_0x13ca12,_0x4e036d,_0x282210,_0x5efbcf,0x4,_0x33c86d[0x24]),_0x282210=_0x559326(_0x282210,_0x3c15e1,_0x13ca12,_0x4e036d,_0x1433c5,0xb,_0x33c86d[0x25]),_0x4e036d=_0x559326(_0x4e036d,_0x282210,_0x3c15e1,_0x13ca12,_0x5d753d,0x10,_0x33c86d[0x26]),_0x13ca12=_0x559326(_0x13ca12,_0x4e036d,_0x282210,_0x3c15e1,_0x40853f,0x17,_0x33c86d[0x27]),_0x3c15e1=_0x559326(_0x3c15e1,_0x13ca12,_0x4e036d,_0x282210,_0xb69a4f,0x4,_0x33c86d[0x28]),_0x282210=_0x559326(_0x282210,_0x3c15e1,_0x13ca12,_0x4e036d,_0x17982c,0xb,_0x33c86d[0x29]),_0x4e036d=_0x559326(_0x4e036d,_0x282210,_0x3c15e1,_0x13ca12,_0xc846f1,0x10,_0x33c86d[0x2a]),_0x13ca12=_0x559326(_0x13ca12,_0x4e036d,_0x282210,_0x3c15e1,_0x4d25b8,0x17,_0x33c86d[0x2b]),_0x3c15e1=_0x559326(_0x3c15e1,_0x13ca12,_0x4e036d,_0x282210,_0x2155bd,0x4,_0x33c86d[0x2c]),_0x282210=_0x559326(_0x282210,_0x3c15e1,_0x13ca12,_0x4e036d,_0x2d35be,0xb,_0x33c86d[0x2d]),_0x4e036d=_0x559326(_0x4e036d,_0x282210,_0x3c15e1,_0x13ca12,_0x31a3c7,0x10,_0x33c86d[0x2e]),_0x13ca12=_0x559326(_0x13ca12,_0x4e036d,_0x282210,_0x3c15e1,_0x53b147,0x17,_0x33c86d[0x2f]),_0x3c15e1=_0x2c1468(_0x3c15e1,_0x13ca12,_0x4e036d,_0x282210,_0x17982c,0x6,_0x33c86d[0x30]),_0x282210=_0x2c1468(_0x282210,_0x3c15e1,_0x13ca12,_0x4e036d,_0x5d753d,0xa,_0x33c86d[0x31]),_0x4e036d=_0x2c1468(_0x4e036d,_0x282210,_0x3c15e1,_0x13ca12,_0x52fe75,0xf,_0x33c86d[0x32]),_0x13ca12=_0x2c1468(_0x13ca12,_0x4e036d,_0x282210,_0x3c15e1,_0x5afc08,0x15,_0x33c86d[0x33]),_0x3c15e1=_0x2c1468(_0x3c15e1,_0x13ca12,_0x4e036d,_0x282210,_0x2d35be,0x6,_0x33c86d[0x34]),_0x282210=_0x2c1468(_0x282210,_0x3c15e1,_0x13ca12,_0x4e036d,_0xc846f1,0xa,_0x33c86d[0x35]),_0x4e036d=_0x2c1468(_0x4e036d,_0x282210,_0x3c15e1,_0x13ca12,_0x40853f,0xf,_0x33c86d[0x36]),_0x13ca12=_0x2c1468(_0x13ca12,_0x4e036d,_0x282210,_0x3c15e1,_0x5efbcf,0x15,_0x33c86d[0x37]),_0x3c15e1=_0x2c1468(_0x3c15e1,_0x13ca12,_0x4e036d,_0x282210,_0x38f481,0x6,_0x33c86d[0x38]),_0x282210=_0x2c1468(_0x282210,_0x3c15e1,_0x13ca12,_0x4e036d,_0x31a3c7,0xa,_0x33c86d[0x39]),_0x4e036d=_0x2c1468(_0x4e036d,_0x282210,_0x3c15e1,_0x13ca12,_0x4d25b8,0xf,_0x33c86d[0x3a]),_0x13ca12=_0x2c1468(_0x13ca12,_0x4e036d,_0x282210,_0x3c15e1,_0xb69a4f,0x15,_0x33c86d[0x3b]),_0x3c15e1=_0x2c1468(_0x3c15e1,_0x13ca12,_0x4e036d,_0x282210,_0x1433c5,0x6,_0x33c86d[0x3c]),_0x282210=_0x2c1468(_0x282210,_0x3c15e1,_0x13ca12,_0x4e036d,_0x2c8de3,0xa,_0x33c86d[0x3d]),_0x4e036d=_0x2c1468(_0x4e036d,_0x282210,_0x3c15e1,_0x13ca12,_0x53b147,0xf,_0x33c86d[0x3e]),_0x13ca12=_0x2c1468(_0x13ca12,_0x4e036d,_0x282210,_0x3c15e1,_0x2155bd,0x15,_0x33c86d[0x3f]),_0x49094e[0x0]=_0x49094e[0x0]+_0x3c15e1|0x0,_0x49094e[0x1]=_0x49094e[0x1]+_0x13ca12|0x0,_0x49094e[0x2]=_0x49094e[0x2]+_0x4e036d|0x0,_0x49094e[0x3]=_0x49094e[0x3]+_0x282210|0x0;},'_doFinalize':function(){var _0x15923a=_0x2628df,_0x2b7809=this['_data'],_0xbb67b5=_0x2b7809[_0x15923a(0x3cc)],_0x2121f7=this['_nDataBytes']*0x8,_0x5bc0b1=_0x2b7809[_0x15923a(0x13d)]*0x8;_0xbb67b5[_0x5bc0b1>>>0x5]|=0x80<<0x18-_0x5bc0b1%0x20;var _0x6b8584=_0x46f4c3[_0x15923a(0x30e)](_0x2121f7/0x100000000),_0x4b2f41=_0x2121f7;_0xbb67b5[(_0x5bc0b1+0x40>>>0x9<<0x4)+0xf]=(_0x6b8584<<0x8|_0x6b8584>>>0x18)&0xff00ff|(_0x6b8584<<0x18|_0x6b8584>>>0x8)&0xff00ff00,_0xbb67b5[(_0x5bc0b1+0x40>>>0x9<<0x4)+0xe]=(_0x4b2f41<<0x8|_0x4b2f41>>>0x18)&0xff00ff|(_0x4b2f41<<0x18|_0x4b2f41>>>0x8)&0xff00ff00,_0x2b7809['sigBytes']=(_0xbb67b5['length']+0x1)*0x4,this[_0x15923a(0x392)]();for(var _0x4fd6fc=this['_hash'],_0x1716db=_0x4fd6fc[_0x15923a(0x3cc)],_0x38369c=0x0;_0x38369c<0x4;_0x38369c++){var _0x42f622=_0x1716db[_0x38369c];_0x1716db[_0x38369c]=(_0x42f622<<0x8|_0x42f622>>>0x18)&0xff00ff|(_0x42f622<<0x18|_0x42f622>>>0x8)&0xff00ff00;}return _0x4fd6fc;},'clone':function(){var _0x4d4960=_0x2628df,_0x1475c8=_0xfc7537[_0x4d4960(0x280)][_0x4d4960(0x15c)](this);return _0x1475c8[_0x4d4960(0x265)]=this[_0x4d4960(0x265)][_0x4d4960(0x280)](),_0x1475c8;}});function _0x2b670d(_0x11f94,_0x479559,_0x21adbb,_0x1debb6,_0x5a80b8,_0x375ccc,_0xf3598e){var _0x5b5e2a=_0x11f94+(_0x479559&_0x21adbb|~_0x479559&_0x1debb6)+_0x5a80b8+_0xf3598e;return(_0x5b5e2a<<_0x375ccc|_0x5b5e2a>>>0x20-_0x375ccc)+_0x479559;}function _0xe7f0c2(_0x49a66d,_0x52d94f,_0x1e22ce,_0x1ce563,_0x553aed,_0x397740,_0x5658d1){var _0x1506ec=_0x49a66d+(_0x52d94f&_0x1ce563|_0x1e22ce&~_0x1ce563)+_0x553aed+_0x5658d1;return(_0x1506ec<<_0x397740|_0x1506ec>>>0x20-_0x397740)+_0x52d94f;}function _0x559326(_0x4035a0,_0x2b250f,_0x495536,_0x522545,_0x13ef4d,_0x293756,_0x664a64){var _0xe4870c=_0x4035a0+(_0x2b250f^_0x495536^_0x522545)+_0x13ef4d+_0x664a64;return(_0xe4870c<<_0x293756|_0xe4870c>>>0x20-_0x293756)+_0x2b250f;}function _0x2c1468(_0x14efac,_0x367897,_0x3cc7c8,_0x1b5c61,_0x2e3f41,_0x529095,_0x3b1458){var _0x375b2d=_0x14efac+(_0x3cc7c8^(_0x367897|~_0x1b5c61))+_0x2e3f41+_0x3b1458;return(_0x375b2d<<_0x529095|_0x375b2d>>>0x20-_0x529095)+_0x367897;}_0x405b98['MD5']=_0xfc7537[_0x2628df(0x3f9)](_0x5e31ac),_0x405b98[_0x2628df(0x25b)]=_0xfc7537[_0x2628df(0x2c2)](_0x5e31ac);}(Math),_0x1366db[_0x382fa5(0x232)];}));}(We)),We['exports'];}var Ke={'exports':{}},qe={'exports':{}},pn=qe[_0x332b6f(0x387)],Xt;function mn(){var _0x288cb9=_0x332b6f;return Xt||(Xt=0x1,function(_0x1ae014,_0x1beeb2){(function(_0x301f39,_0x355f84){var _0x28f6d9=_0x2301;_0x1ae014[_0x28f6d9(0x387)]=_0x355f84(te());}(pn,function(_0x1b4c57){var _0x484e0c=_0x2301;return(function(){var _0x3e7297=_0x2301,_0x3dbb37=_0x1b4c57,_0x1f447a=_0x3dbb37[_0x3e7297(0x220)],_0x1313c4=_0x1f447a[_0x3e7297(0x15b)],_0x2e8b01=_0x1f447a[_0x3e7297(0x21b)],_0x1af762=_0x3dbb37[_0x3e7297(0x197)],_0x4324c4=[],_0x37ee7c=_0x1af762[_0x3e7297(0x305)]=_0x2e8b01[_0x3e7297(0x2d1)]({'_doReset':function(){var _0x5d9006=_0x3e7297;this['_hash']=new _0x1313c4[(_0x5d9006(0x414))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x13ea15,_0x4b8d52){for(var _0x731ff7=this['_hash']['words'],_0x554bcd=_0x731ff7[0x0],_0x422a46=_0x731ff7[0x1],_0x514bc2=_0x731ff7[0x2],_0x33108d=_0x731ff7[0x3],_0x185bc8=_0x731ff7[0x4],_0x2e4b7a=0x0;_0x2e4b7a<0x50;_0x2e4b7a++){if(_0x2e4b7a<0x10)_0x4324c4[_0x2e4b7a]=_0x13ea15[_0x4b8d52+_0x2e4b7a]|0x0;else{var _0x2024ce=_0x4324c4[_0x2e4b7a-0x3]^_0x4324c4[_0x2e4b7a-0x8]^_0x4324c4[_0x2e4b7a-0xe]^_0x4324c4[_0x2e4b7a-0x10];_0x4324c4[_0x2e4b7a]=_0x2024ce<<0x1|_0x2024ce>>>0x1f;}var _0x3f3ea7=(_0x554bcd<<0x5|_0x554bcd>>>0x1b)+_0x185bc8+_0x4324c4[_0x2e4b7a];_0x2e4b7a<0x14?_0x3f3ea7+=(_0x422a46&_0x514bc2|~_0x422a46&_0x33108d)+0x5a827999:_0x2e4b7a<0x28?_0x3f3ea7+=(_0x422a46^_0x514bc2^_0x33108d)+0x6ed9eba1:_0x2e4b7a<0x3c?_0x3f3ea7+=(_0x422a46&_0x514bc2|_0x422a46&_0x33108d|_0x514bc2&_0x33108d)-0x70e44324:_0x3f3ea7+=(_0x422a46^_0x514bc2^_0x33108d)-0x359d3e2a,_0x185bc8=_0x33108d,_0x33108d=_0x514bc2,_0x514bc2=_0x422a46<<0x1e|_0x422a46>>>0x2,_0x422a46=_0x554bcd,_0x554bcd=_0x3f3ea7;}_0x731ff7[0x0]=_0x731ff7[0x0]+_0x554bcd|0x0,_0x731ff7[0x1]=_0x731ff7[0x1]+_0x422a46|0x0,_0x731ff7[0x2]=_0x731ff7[0x2]+_0x514bc2|0x0,_0x731ff7[0x3]=_0x731ff7[0x3]+_0x33108d|0x0,_0x731ff7[0x4]=_0x731ff7[0x4]+_0x185bc8|0x0;},'_doFinalize':function(){var _0x49a5af=_0x3e7297,_0x38a12d=this['_data'],_0x31f58c=_0x38a12d[_0x49a5af(0x3cc)],_0xfafb93=this[_0x49a5af(0x2fb)]*0x8,_0x55313a=_0x38a12d[_0x49a5af(0x13d)]*0x8;return _0x31f58c[_0x55313a>>>0x5]|=0x80<<0x18-_0x55313a%0x20,_0x31f58c[(_0x55313a+0x40>>>0x9<<0x4)+0xe]=Math[_0x49a5af(0x30e)](_0xfafb93/0x100000000),_0x31f58c[(_0x55313a+0x40>>>0x9<<0x4)+0xf]=_0xfafb93,_0x38a12d['sigBytes']=_0x31f58c[_0x49a5af(0x378)]*0x4,this[_0x49a5af(0x392)](),this['_hash'];},'clone':function(){var _0x146324=_0x3e7297,_0x397506=_0x2e8b01[_0x146324(0x280)]['call'](this);return _0x397506[_0x146324(0x265)]=this['_hash'][_0x146324(0x280)](),_0x397506;}});_0x3dbb37['SHA1']=_0x2e8b01['_createHelper'](_0x37ee7c),_0x3dbb37[_0x3e7297(0x2d5)]=_0x2e8b01[_0x3e7297(0x2c2)](_0x37ee7c);}()),_0x1b4c57[_0x484e0c(0x305)];}));}(qe)),qe[_0x288cb9(0x387)];}var ze={'exports':{}},gn=ze[_0x332b6f(0x387)],Zt;function Sn(){var _0x272917=_0x332b6f;return Zt||(Zt=0x1,function(_0x3a4e28,_0x2314ac){(function(_0x2aafe9,_0x5b5d6c){var _0x5d9462=_0x2301;_0x3a4e28[_0x5d9462(0x387)]=_0x5b5d6c(te());}(gn,function(_0x15a5d3){(function(){var _0x42d710=_0x2301,_0x40a9e7=_0x15a5d3,_0x57af44=_0x40a9e7['lib'],_0x47794a=_0x57af44[_0x42d710(0x2ec)],_0x2746b4=_0x40a9e7[_0x42d710(0x200)],_0x46a5ce=_0x2746b4[_0x42d710(0x26f)],_0x5f1c1e=_0x40a9e7[_0x42d710(0x197)];_0x5f1c1e[_0x42d710(0x175)]=_0x47794a[_0x42d710(0x2d1)]({'init':function(_0x1b14da,_0x4d0186){var _0x3e4bd4=_0x42d710;_0x1b14da=this['_hasher']=new _0x1b14da['init'](),typeof _0x4d0186=='string'&&(_0x4d0186=_0x46a5ce[_0x3e4bd4(0x19b)](_0x4d0186));var _0x1e0fa0=_0x1b14da[_0x3e4bd4(0x42a)],_0x9a5b36=_0x1e0fa0*0x4;_0x4d0186[_0x3e4bd4(0x13d)]>_0x9a5b36&&(_0x4d0186=_0x1b14da[_0x3e4bd4(0x243)](_0x4d0186)),_0x4d0186[_0x3e4bd4(0x128)]();for(var _0x41a34a=this[_0x3e4bd4(0x36b)]=_0x4d0186[_0x3e4bd4(0x280)](),_0xf68121=this[_0x3e4bd4(0x1de)]=_0x4d0186[_0x3e4bd4(0x280)](),_0x5bef29=_0x41a34a['words'],_0x245887=_0xf68121[_0x3e4bd4(0x3cc)],_0x41c145=0x0;_0x41c145<_0x1e0fa0;_0x41c145++)_0x5bef29[_0x41c145]^=0x5c5c5c5c,_0x245887[_0x41c145]^=0x36363636;_0x41a34a['sigBytes']=_0xf68121['sigBytes']=_0x9a5b36,this['reset']();},'reset':function(){var _0x456a35=_0x42d710,_0x3dc168=this[_0x456a35(0x340)];_0x3dc168['reset'](),_0x3dc168['update'](this[_0x456a35(0x1de)]);},'update':function(_0x28a890){return this['_hasher']['update'](_0x28a890),this;},'finalize':function(_0x253764){var _0xa1499c=_0x42d710,_0x158e94=this[_0xa1499c(0x340)],_0x165b12=_0x158e94['finalize'](_0x253764);_0x158e94[_0xa1499c(0x2bc)]();var _0x37ea40=_0x158e94[_0xa1499c(0x243)](this[_0xa1499c(0x36b)]['clone']()[_0xa1499c(0x34a)](_0x165b12));return _0x37ea40;}});}());}));}(ze)),ze[_0x272917(0x387)];}var En=Ke[_0x332b6f(0x387)],Qt;function yi(){var _0x531993=_0x332b6f;return Qt||(Qt=0x1,function(_0x59ba5b,_0x36c17e){(function(_0x15cc04,_0x42b0c3,_0x4557da){_0x59ba5b['exports']=_0x42b0c3(te(),mn(),Sn());}(En,function(_0x19169f){var _0x142272=_0x2301;return(function(){var _0x19142d=_0x2301,_0x3479a5=_0x19169f,_0x3a063f=_0x3479a5['lib'],_0xa7eead=_0x3a063f['Base'],_0x703dd8=_0x3a063f['WordArray'],_0x4a4f5f=_0x3479a5[_0x19142d(0x197)],_0x4a7e5f=_0x4a4f5f[_0x19142d(0x232)],_0x58c5c8=_0x4a4f5f['EvpKDF']=_0xa7eead[_0x19142d(0x2d1)]({'cfg':_0xa7eead[_0x19142d(0x2d1)]({'keySize':0x80/0x20,'hasher':_0x4a7e5f,'iterations':0x1}),'init':function(_0xda88ab){var _0x5555b8=_0x19142d;this[_0x5555b8(0x246)]=this[_0x5555b8(0x246)][_0x5555b8(0x2d1)](_0xda88ab);},'compute':function(_0xb2951a,_0x5a6d1d){var _0x13a2b8=_0x19142d;for(var _0x570200,_0x419d81=this[_0x13a2b8(0x246)],_0x2ab50e=_0x419d81['hasher'][_0x13a2b8(0x1c1)](),_0x52f010=_0x703dd8[_0x13a2b8(0x1c1)](),_0x53724e=_0x52f010[_0x13a2b8(0x3cc)],_0x3ded83=_0x419d81[_0x13a2b8(0x432)],_0xd2215a=_0x419d81[_0x13a2b8(0x356)];_0x53724e[_0x13a2b8(0x378)]<_0x3ded83;){_0x570200&&_0x2ab50e[_0x13a2b8(0x32a)](_0x570200),_0x570200=_0x2ab50e[_0x13a2b8(0x32a)](_0xb2951a)[_0x13a2b8(0x243)](_0x5a6d1d),_0x2ab50e[_0x13a2b8(0x2bc)]();for(var _0x3832e8=0x1;_0x3832e8<_0xd2215a;_0x3832e8++)_0x570200=_0x2ab50e[_0x13a2b8(0x243)](_0x570200),_0x2ab50e[_0x13a2b8(0x2bc)]();_0x52f010[_0x13a2b8(0x34a)](_0x570200);}return _0x52f010[_0x13a2b8(0x13d)]=_0x3ded83*0x4,_0x52f010;}});_0x3479a5[_0x19142d(0x2a9)]=function(_0x5f4faa,_0x2a9c1a,_0x13854c){var _0x48b634=_0x19142d;return _0x58c5c8[_0x48b634(0x1c1)](_0x13854c)['compute'](_0x5f4faa,_0x2a9c1a);};}()),_0x19169f[_0x142272(0x2a9)];}));}(Ke)),Ke[_0x531993(0x387)];}var Je={'exports':{}},In=Je[_0x332b6f(0x387)],ei;function Ni(){var _0x111905=_0x332b6f;return ei||(ei=0x1,function(_0x196d72,_0x4e1bd9){(function(_0x34128e,_0x3245ff,_0x33a5f9){var _0x5e9b0=_0x2301;_0x196d72[_0x5e9b0(0x387)]=_0x3245ff(te(),yi());}(In,function(_0x3625df){var _0x17c246=_0x2301;_0x3625df[_0x17c246(0x220)][_0x17c246(0x145)]||function(_0x5b7596){var _0xa82da1=_0x17c246,_0x562103=_0x3625df,_0x307af9=_0x562103[_0xa82da1(0x220)],_0x55e997=_0x307af9[_0xa82da1(0x2ec)],_0x33fde4=_0x307af9[_0xa82da1(0x15b)],_0x40b0b5=_0x307af9['BufferedBlockAlgorithm'],_0x130fe3=_0x562103[_0xa82da1(0x200)];_0x130fe3[_0xa82da1(0x26f)];var _0x14e896=_0x130fe3[_0xa82da1(0x277)],_0x54fb0d=_0x562103[_0xa82da1(0x197)],_0xeb3a56=_0x54fb0d[_0xa82da1(0x2a9)],_0x4b8528=_0x307af9[_0xa82da1(0x145)]=_0x40b0b5[_0xa82da1(0x2d1)]({'cfg':_0x55e997[_0xa82da1(0x2d1)](),'createEncryptor':function(_0x5dc291,_0x4e73ef){var _0x5b26b1=_0xa82da1;return this[_0x5b26b1(0x1c1)](this[_0x5b26b1(0x13b)],_0x5dc291,_0x4e73ef);},'createDecryptor':function(_0x3b5189,_0x4ce618){var _0x1ae50c=_0xa82da1;return this[_0x1ae50c(0x1c1)](this[_0x1ae50c(0x289)],_0x3b5189,_0x4ce618);},'init':function(_0x3affb4,_0x5241f8,_0x22b711){var _0x4140b5=_0xa82da1;this[_0x4140b5(0x246)]=this['cfg'][_0x4140b5(0x2d1)](_0x22b711),this[_0x4140b5(0x2b4)]=_0x3affb4,this[_0x4140b5(0x130)]=_0x5241f8,this['reset']();},'reset':function(){var _0x281a94=_0xa82da1;_0x40b0b5[_0x281a94(0x2bc)][_0x281a94(0x15c)](this),this[_0x281a94(0x3a1)]();},'process':function(_0xc95c4d){var _0xf9598a=_0xa82da1;return this[_0xf9598a(0x2ea)](_0xc95c4d),this[_0xf9598a(0x392)]();},'finalize':function(_0x25296d){var _0x470841=_0xa82da1;_0x25296d&&this[_0x470841(0x2ea)](_0x25296d);var _0x1720ab=this[_0x470841(0x1e1)]();return _0x1720ab;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x2718cb(_0x482e8e){return typeof _0x482e8e=='string'?_0x144f12:_0x2ea57e;}return function(_0x1727d8){return{'encrypt':function(_0x458588,_0xa738bf,_0x295c4f){var _0x3cc01f=_0x2301;return _0x2718cb(_0xa738bf)[_0x3cc01f(0x221)](_0x1727d8,_0x458588,_0xa738bf,_0x295c4f);},'decrypt':function(_0x308210,_0x4e37f8,_0x59bd45){var _0x20d435=_0x2301;return _0x2718cb(_0x4e37f8)[_0x20d435(0x34b)](_0x1727d8,_0x308210,_0x4e37f8,_0x59bd45);}};};}())});_0x307af9[_0xa82da1(0x206)]=_0x4b8528[_0xa82da1(0x2d1)]({'_doFinalize':function(){var _0x59ca5d=_0xa82da1,_0x39bc2b=this[_0x59ca5d(0x392)](!0x0);return _0x39bc2b;},'blockSize':0x1});var _0xc4bb39=_0x562103[_0xa82da1(0x37e)]={},_0x2c4987=_0x307af9[_0xa82da1(0x19a)]=_0x55e997[_0xa82da1(0x2d1)]({'createEncryptor':function(_0x228a6f,_0x28d674){var _0x481be0=_0xa82da1;return this[_0x481be0(0x178)]['create'](_0x228a6f,_0x28d674);},'createDecryptor':function(_0x1268af,_0x2b6421){var _0x1ac2a5=_0xa82da1;return this[_0x1ac2a5(0x283)]['create'](_0x1268af,_0x2b6421);},'init':function(_0x21a0e4,_0x12efe2){var _0xfbc031=_0xa82da1;this['_cipher']=_0x21a0e4,this[_0xfbc031(0x2cf)]=_0x12efe2;}}),_0x5e8386=_0xc4bb39['CBC']=(function(){var _0x325451=_0xa82da1,_0x18b503=_0x2c4987[_0x325451(0x2d1)]();_0x18b503[_0x325451(0x178)]=_0x18b503[_0x325451(0x2d1)]({'processBlock':function(_0x5a4e9c,_0x8b695b){var _0x3cc0b9=_0x325451,_0x57db4d=this[_0x3cc0b9(0x142)],_0xa6f32=_0x57db4d['blockSize'];_0x24e39a[_0x3cc0b9(0x15c)](this,_0x5a4e9c,_0x8b695b,_0xa6f32),_0x57db4d[_0x3cc0b9(0x372)](_0x5a4e9c,_0x8b695b),this[_0x3cc0b9(0x301)]=_0x5a4e9c['slice'](_0x8b695b,_0x8b695b+_0xa6f32);}}),_0x18b503[_0x325451(0x283)]=_0x18b503[_0x325451(0x2d1)]({'processBlock':function(_0x1f0c05,_0x110a58){var _0x364fb6=_0x325451,_0x5ddb70=this[_0x364fb6(0x142)],_0x325a31=_0x5ddb70[_0x364fb6(0x42a)],_0x38240f=_0x1f0c05[_0x364fb6(0x2ba)](_0x110a58,_0x110a58+_0x325a31);_0x5ddb70[_0x364fb6(0x1e9)](_0x1f0c05,_0x110a58),_0x24e39a[_0x364fb6(0x15c)](this,_0x1f0c05,_0x110a58,_0x325a31),this[_0x364fb6(0x301)]=_0x38240f;}});function _0x24e39a(_0x599dcb,_0x2b301b,_0x15dc0f){var _0x5d9703=_0x325451,_0x309d96,_0x489a82=this['_iv'];_0x489a82?(_0x309d96=_0x489a82,this[_0x5d9703(0x2cf)]=_0x5b7596):_0x309d96=this[_0x5d9703(0x301)];for(var _0x27a6ef=0x0;_0x27a6ef<_0x15dc0f;_0x27a6ef++)_0x599dcb[_0x2b301b+_0x27a6ef]^=_0x309d96[_0x27a6ef];}return _0x18b503;}()),_0x2d221e=_0x562103[_0xa82da1(0x1bc)]={},_0x1d6578=_0x2d221e[_0xa82da1(0x248)]={'pad':function(_0x1fbc50,_0x241fc0){var _0x4503f3=_0xa82da1;for(var _0x2531d1=_0x241fc0*0x4,_0x55ecce=_0x2531d1-_0x1fbc50[_0x4503f3(0x13d)]%_0x2531d1,_0x16e582=_0x55ecce<<0x18|_0x55ecce<<0x10|_0x55ecce<<0x8|_0x55ecce,_0x52012=[],_0x18cd59=0x0;_0x18cd59<_0x55ecce;_0x18cd59+=0x4)_0x52012[_0x4503f3(0x16f)](_0x16e582);var _0x458be7=_0x33fde4[_0x4503f3(0x1c1)](_0x52012,_0x55ecce);_0x1fbc50[_0x4503f3(0x34a)](_0x458be7);},'unpad':function(_0x421b50){var _0x4d22a8=_0xa82da1,_0x211d71=_0x421b50[_0x4d22a8(0x3cc)][_0x421b50[_0x4d22a8(0x13d)]-0x1>>>0x2]&0xff;_0x421b50[_0x4d22a8(0x13d)]-=_0x211d71;}};_0x307af9[_0xa82da1(0x403)]=_0x4b8528['extend']({'cfg':_0x4b8528[_0xa82da1(0x246)][_0xa82da1(0x2d1)]({'mode':_0x5e8386,'padding':_0x1d6578}),'reset':function(){var _0x321595=_0xa82da1,_0x329e70;_0x4b8528[_0x321595(0x2bc)]['call'](this);var _0x5c7e01=this[_0x321595(0x246)],_0x3f93f6=_0x5c7e01['iv'],_0x2cd1c3=_0x5c7e01[_0x321595(0x37e)];this[_0x321595(0x2b4)]==this[_0x321595(0x13b)]?_0x329e70=_0x2cd1c3[_0x321595(0x1fc)]:(_0x329e70=_0x2cd1c3['createDecryptor'],this[_0x321595(0x314)]=0x1),this[_0x321595(0x2f5)]&&this[_0x321595(0x2f5)][_0x321595(0x181)]==_0x329e70?this[_0x321595(0x2f5)][_0x321595(0x414)](this,_0x3f93f6&&_0x3f93f6[_0x321595(0x3cc)]):(this[_0x321595(0x2f5)]=_0x329e70[_0x321595(0x15c)](_0x2cd1c3,this,_0x3f93f6&&_0x3f93f6[_0x321595(0x3cc)]),this[_0x321595(0x2f5)][_0x321595(0x181)]=_0x329e70);},'_doProcessBlock':function(_0x1f18f3,_0x34cd95){var _0x3001a3=_0xa82da1;this[_0x3001a3(0x2f5)][_0x3001a3(0x176)](_0x1f18f3,_0x34cd95);},'_doFinalize':function(){var _0x3a48b4=_0xa82da1,_0xca4ad6,_0x1c8fe7=this['cfg'][_0x3a48b4(0x2f3)];return this[_0x3a48b4(0x2b4)]==this[_0x3a48b4(0x13b)]?(_0x1c8fe7[_0x3a48b4(0x1bc)](this[_0x3a48b4(0x2b7)],this[_0x3a48b4(0x42a)]),_0xca4ad6=this[_0x3a48b4(0x392)](!0x0)):(_0xca4ad6=this[_0x3a48b4(0x392)](!0x0),_0x1c8fe7['unpad'](_0xca4ad6)),_0xca4ad6;},'blockSize':0x80/0x20});var _0x5947c2=_0x307af9[_0xa82da1(0x210)]=_0x55e997[_0xa82da1(0x2d1)]({'init':function(_0x132930){var _0x7267a2=_0xa82da1;this[_0x7267a2(0x28d)](_0x132930);},'toString':function(_0x37ee73){return(_0x37ee73||this['formatter'])['stringify'](this);}}),_0xb5f1ca=_0x562103[_0xa82da1(0x164)]={},_0x4acb10=_0xb5f1ca[_0xa82da1(0x2b0)]={'stringify':function(_0x36f593){var _0x2b9dac=_0xa82da1,_0x33aa7d,_0xd3e4f8=_0x36f593['ciphertext'],_0x40ed06=_0x36f593[_0x2b9dac(0x138)];return _0x40ed06?_0x33aa7d=_0x33fde4[_0x2b9dac(0x1c1)]([0x53616c74,0x65645f5f])[_0x2b9dac(0x34a)](_0x40ed06)[_0x2b9dac(0x34a)](_0xd3e4f8):_0x33aa7d=_0xd3e4f8,_0x33aa7d[_0x2b9dac(0x29f)](_0x14e896);},'parse':function(_0x2e4601){var _0x312eae=_0xa82da1,_0x32f873,_0x5296b5=_0x14e896[_0x312eae(0x19b)](_0x2e4601),_0x29ca56=_0x5296b5['words'];return _0x29ca56[0x0]==0x53616c74&&_0x29ca56[0x1]==0x65645f5f&&(_0x32f873=_0x33fde4[_0x312eae(0x1c1)](_0x29ca56[_0x312eae(0x2ba)](0x2,0x4)),_0x29ca56['splice'](0x0,0x4),_0x5296b5[_0x312eae(0x13d)]-=0x10),_0x5947c2['create']({'ciphertext':_0x5296b5,'salt':_0x32f873});}},_0x2ea57e=_0x307af9[_0xa82da1(0x3de)]=_0x55e997[_0xa82da1(0x2d1)]({'cfg':_0x55e997[_0xa82da1(0x2d1)]({'format':_0x4acb10}),'encrypt':function(_0x3bcced,_0x494fd2,_0xcf04fa,_0x4528b4){var _0x1a55fd=_0xa82da1;_0x4528b4=this[_0x1a55fd(0x246)][_0x1a55fd(0x2d1)](_0x4528b4);var _0x36c3c4=_0x3bcced[_0x1a55fd(0x1fc)](_0xcf04fa,_0x4528b4),_0x9a0e30=_0x36c3c4['finalize'](_0x494fd2),_0x5967f9=_0x36c3c4[_0x1a55fd(0x246)];return _0x5947c2[_0x1a55fd(0x1c1)]({'ciphertext':_0x9a0e30,'key':_0xcf04fa,'iv':_0x5967f9['iv'],'algorithm':_0x3bcced,'mode':_0x5967f9[_0x1a55fd(0x37e)],'padding':_0x5967f9['padding'],'blockSize':_0x3bcced['blockSize'],'formatter':_0x4528b4[_0x1a55fd(0x164)]});},'decrypt':function(_0x2b50a0,_0x17c5f8,_0x185b19,_0x5b30da){var _0x41b0f2=_0xa82da1;_0x5b30da=this['cfg'][_0x41b0f2(0x2d1)](_0x5b30da),_0x17c5f8=this[_0x41b0f2(0x41d)](_0x17c5f8,_0x5b30da[_0x41b0f2(0x164)]);var _0x3cfaba=_0x2b50a0[_0x41b0f2(0x28f)](_0x185b19,_0x5b30da)[_0x41b0f2(0x243)](_0x17c5f8['ciphertext']);return _0x3cfaba;},'_parse':function(_0x101491,_0x2093e0){var _0x15dbf4=_0xa82da1;return typeof _0x101491==_0x15dbf4(0x322)?_0x2093e0[_0x15dbf4(0x19b)](_0x101491,this):_0x101491;}}),_0x245edc=_0x562103['kdf']={},_0x436c6c=_0x245edc[_0xa82da1(0x2b0)]={'execute':function(_0x399688,_0x5f19a9,_0x59f364,_0xffbe1c,_0x127117){var _0x501532=_0xa82da1;if(_0xffbe1c||(_0xffbe1c=_0x33fde4[_0x501532(0x3da)](0x40/0x8)),_0x127117)var _0xb34134=_0xeb3a56[_0x501532(0x1c1)]({'keySize':_0x5f19a9+_0x59f364,'hasher':_0x127117})['compute'](_0x399688,_0xffbe1c);else var _0xb34134=_0xeb3a56['create']({'keySize':_0x5f19a9+_0x59f364})[_0x501532(0x3c3)](_0x399688,_0xffbe1c);var _0x328b03=_0x33fde4[_0x501532(0x1c1)](_0xb34134['words']['slice'](_0x5f19a9),_0x59f364*0x4);return _0xb34134[_0x501532(0x13d)]=_0x5f19a9*0x4,_0x5947c2[_0x501532(0x1c1)]({'key':_0xb34134,'iv':_0x328b03,'salt':_0xffbe1c});}},_0x144f12=_0x307af9[_0xa82da1(0x16e)]=_0x2ea57e[_0xa82da1(0x2d1)]({'cfg':_0x2ea57e[_0xa82da1(0x246)][_0xa82da1(0x2d1)]({'kdf':_0x436c6c}),'encrypt':function(_0x5467cb,_0x125d6b,_0xb27e88,_0x20d3c6){var _0x4e6aff=_0xa82da1;_0x20d3c6=this[_0x4e6aff(0x246)][_0x4e6aff(0x2d1)](_0x20d3c6);var _0x54f68c=_0x20d3c6[_0x4e6aff(0x29c)]['execute'](_0xb27e88,_0x5467cb['keySize'],_0x5467cb[_0x4e6aff(0x3bb)],_0x20d3c6[_0x4e6aff(0x138)],_0x20d3c6[_0x4e6aff(0x3dd)]);_0x20d3c6['iv']=_0x54f68c['iv'];var _0x5eebe6=_0x2ea57e['encrypt']['call'](this,_0x5467cb,_0x125d6b,_0x54f68c[_0x4e6aff(0x1fa)],_0x20d3c6);return _0x5eebe6[_0x4e6aff(0x28d)](_0x54f68c),_0x5eebe6;},'decrypt':function(_0x2f727d,_0x13c7df,_0x5c7a86,_0x4cd4c7){var _0x3b1e4f=_0xa82da1;_0x4cd4c7=this[_0x3b1e4f(0x246)]['extend'](_0x4cd4c7),_0x13c7df=this[_0x3b1e4f(0x41d)](_0x13c7df,_0x4cd4c7[_0x3b1e4f(0x164)]);var _0x316f35=_0x4cd4c7[_0x3b1e4f(0x29c)]['execute'](_0x5c7a86,_0x2f727d[_0x3b1e4f(0x432)],_0x2f727d[_0x3b1e4f(0x3bb)],_0x13c7df[_0x3b1e4f(0x138)],_0x4cd4c7[_0x3b1e4f(0x3dd)]);_0x4cd4c7['iv']=_0x316f35['iv'];var _0x53791d=_0x2ea57e[_0x3b1e4f(0x34b)][_0x3b1e4f(0x15c)](this,_0x2f727d,_0x13c7df,_0x316f35[_0x3b1e4f(0x1fa)],_0x4cd4c7);return _0x53791d;}});}();}));}(Je)),Je[_0x111905(0x387)];}var Tn=Ve[_0x332b6f(0x387)],ti;function Cn(){return ti||(ti=0x1,function(_0x1bd9c6,_0x326962){(function(_0x2565d7,_0x10401a,_0x185339){var _0x333cc6=_0x2301;_0x1bd9c6[_0x333cc6(0x387)]=_0x10401a(te(),bi(),vn(),yi(),Ni());}(Tn,function(_0x584475){var _0x3937d4=_0x2301;return(function(){var _0x18ff0f=_0x2301,_0x4307d9=_0x584475,_0x2fa8d9=_0x4307d9[_0x18ff0f(0x220)],_0x5b12c1=_0x2fa8d9[_0x18ff0f(0x403)],_0x40e537=_0x4307d9[_0x18ff0f(0x197)],_0x178bf8=[],_0x527829=[],_0x56ba27=[],_0x5c6863=[],_0x27d1ef=[],_0x2f7035=[],_0x547526=[],_0x2b941c=[],_0x405017=[],_0x129739=[];(function(){for(var _0x293b37=[],_0x5755ea=0x0;_0x5755ea<0x100;_0x5755ea++)_0x5755ea<0x80?_0x293b37[_0x5755ea]=_0x5755ea<<0x1:_0x293b37[_0x5755ea]=_0x5755ea<<0x1^0x11b;for(var _0x5198ac=0x0,_0x1df6b9=0x0,_0x5755ea=0x0;_0x5755ea<0x100;_0x5755ea++){var _0x1bd333=_0x1df6b9^_0x1df6b9<<0x1^_0x1df6b9<<0x2^_0x1df6b9<<0x3^_0x1df6b9<<0x4;_0x1bd333=_0x1bd333>>>0x8^_0x1bd333&0xff^0x63,_0x178bf8[_0x5198ac]=_0x1bd333,_0x527829[_0x1bd333]=_0x5198ac;var _0x44df15=_0x293b37[_0x5198ac],_0x25518d=_0x293b37[_0x44df15],_0x839407=_0x293b37[_0x25518d],_0x8f5b2=_0x293b37[_0x1bd333]*0x101^_0x1bd333*0x1010100;_0x56ba27[_0x5198ac]=_0x8f5b2<<0x18|_0x8f5b2>>>0x8,_0x5c6863[_0x5198ac]=_0x8f5b2<<0x10|_0x8f5b2>>>0x10,_0x27d1ef[_0x5198ac]=_0x8f5b2<<0x8|_0x8f5b2>>>0x18,_0x2f7035[_0x5198ac]=_0x8f5b2;var _0x8f5b2=_0x839407*0x1010101^_0x25518d*0x10001^_0x44df15*0x101^_0x5198ac*0x1010100;_0x547526[_0x1bd333]=_0x8f5b2<<0x18|_0x8f5b2>>>0x8,_0x2b941c[_0x1bd333]=_0x8f5b2<<0x10|_0x8f5b2>>>0x10,_0x405017[_0x1bd333]=_0x8f5b2<<0x8|_0x8f5b2>>>0x18,_0x129739[_0x1bd333]=_0x8f5b2,_0x5198ac?(_0x5198ac=_0x44df15^_0x293b37[_0x293b37[_0x293b37[_0x839407^_0x44df15]]],_0x1df6b9^=_0x293b37[_0x293b37[_0x1df6b9]]):_0x5198ac=_0x1df6b9=0x1;}}());var _0x41e726=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x2bb0f7=_0x40e537[_0x18ff0f(0x239)]=_0x5b12c1['extend']({'_doReset':function(){var _0x127765=_0x18ff0f,_0x4e697b;if(!(this[_0x127765(0x434)]&&this[_0x127765(0x17a)]===this[_0x127765(0x130)])){for(var _0x3e7fc3=this[_0x127765(0x17a)]=this[_0x127765(0x130)],_0x11b657=_0x3e7fc3[_0x127765(0x3cc)],_0x49045=_0x3e7fc3[_0x127765(0x13d)]/0x4,_0x47faac=this[_0x127765(0x434)]=_0x49045+0x6,_0x2978ae=(_0x47faac+0x1)*0x4,_0x327bb4=this[_0x127765(0x134)]=[],_0x4b971d=0x0;_0x4b971d<_0x2978ae;_0x4b971d++)_0x4b971d<_0x49045?_0x327bb4[_0x4b971d]=_0x11b657[_0x4b971d]:(_0x4e697b=_0x327bb4[_0x4b971d-0x1],_0x4b971d%_0x49045?_0x49045>0x6&&_0x4b971d%_0x49045==0x4&&(_0x4e697b=_0x178bf8[_0x4e697b>>>0x18]<<0x18|_0x178bf8[_0x4e697b>>>0x10&0xff]<<0x10|_0x178bf8[_0x4e697b>>>0x8&0xff]<<0x8|_0x178bf8[_0x4e697b&0xff]):(_0x4e697b=_0x4e697b<<0x8|_0x4e697b>>>0x18,_0x4e697b=_0x178bf8[_0x4e697b>>>0x18]<<0x18|_0x178bf8[_0x4e697b>>>0x10&0xff]<<0x10|_0x178bf8[_0x4e697b>>>0x8&0xff]<<0x8|_0x178bf8[_0x4e697b&0xff],_0x4e697b^=_0x41e726[_0x4b971d/_0x49045|0x0]<<0x18),_0x327bb4[_0x4b971d]=_0x327bb4[_0x4b971d-_0x49045]^_0x4e697b);for(var _0x4d18b0=this[_0x127765(0x3d0)]=[],_0x1c273d=0x0;_0x1c273d<_0x2978ae;_0x1c273d++){var _0x4b971d=_0x2978ae-_0x1c273d;if(_0x1c273d%0x4)var _0x4e697b=_0x327bb4[_0x4b971d];else var _0x4e697b=_0x327bb4[_0x4b971d-0x4];_0x1c273d<0x4||_0x4b971d<=0x4?_0x4d18b0[_0x1c273d]=_0x4e697b:_0x4d18b0[_0x1c273d]=_0x547526[_0x178bf8[_0x4e697b>>>0x18]]^_0x2b941c[_0x178bf8[_0x4e697b>>>0x10&0xff]]^_0x405017[_0x178bf8[_0x4e697b>>>0x8&0xff]]^_0x129739[_0x178bf8[_0x4e697b&0xff]];}}},'encryptBlock':function(_0x2c92ee,_0x11eb6d){var _0x1b2f10=_0x18ff0f;this[_0x1b2f10(0x3a9)](_0x2c92ee,_0x11eb6d,this[_0x1b2f10(0x134)],_0x56ba27,_0x5c6863,_0x27d1ef,_0x2f7035,_0x178bf8);},'decryptBlock':function(_0x498a6e,_0x46f11a){var _0x1bbd79=_0x18ff0f,_0x7c13f8=_0x498a6e[_0x46f11a+0x1];_0x498a6e[_0x46f11a+0x1]=_0x498a6e[_0x46f11a+0x3],_0x498a6e[_0x46f11a+0x3]=_0x7c13f8,this[_0x1bbd79(0x3a9)](_0x498a6e,_0x46f11a,this[_0x1bbd79(0x3d0)],_0x547526,_0x2b941c,_0x405017,_0x129739,_0x527829);var _0x7c13f8=_0x498a6e[_0x46f11a+0x1];_0x498a6e[_0x46f11a+0x1]=_0x498a6e[_0x46f11a+0x3],_0x498a6e[_0x46f11a+0x3]=_0x7c13f8;},'_doCryptBlock':function(_0x239614,_0x148934,_0x381b40,_0x1befa7,_0x3f3b9f,_0x3a3cb5,_0x222e52,_0x21fae1){var _0x26e438=_0x18ff0f;for(var _0x2f43e3=this[_0x26e438(0x434)],_0x485a09=_0x239614[_0x148934]^_0x381b40[0x0],_0x59131d=_0x239614[_0x148934+0x1]^_0x381b40[0x1],_0x3d8152=_0x239614[_0x148934+0x2]^_0x381b40[0x2],_0x3234d8=_0x239614[_0x148934+0x3]^_0x381b40[0x3],_0x545f02=0x4,_0x1bdfc2=0x1;_0x1bdfc2<_0x2f43e3;_0x1bdfc2++){var _0x4c3dac=_0x1befa7[_0x485a09>>>0x18]^_0x3f3b9f[_0x59131d>>>0x10&0xff]^_0x3a3cb5[_0x3d8152>>>0x8&0xff]^_0x222e52[_0x3234d8&0xff]^_0x381b40[_0x545f02++],_0x4b715c=_0x1befa7[_0x59131d>>>0x18]^_0x3f3b9f[_0x3d8152>>>0x10&0xff]^_0x3a3cb5[_0x3234d8>>>0x8&0xff]^_0x222e52[_0x485a09&0xff]^_0x381b40[_0x545f02++],_0x45ccd3=_0x1befa7[_0x3d8152>>>0x18]^_0x3f3b9f[_0x3234d8>>>0x10&0xff]^_0x3a3cb5[_0x485a09>>>0x8&0xff]^_0x222e52[_0x59131d&0xff]^_0x381b40[_0x545f02++],_0x373ca4=_0x1befa7[_0x3234d8>>>0x18]^_0x3f3b9f[_0x485a09>>>0x10&0xff]^_0x3a3cb5[_0x59131d>>>0x8&0xff]^_0x222e52[_0x3d8152&0xff]^_0x381b40[_0x545f02++];_0x485a09=_0x4c3dac,_0x59131d=_0x4b715c,_0x3d8152=_0x45ccd3,_0x3234d8=_0x373ca4;}var _0x4c3dac=(_0x21fae1[_0x485a09>>>0x18]<<0x18|_0x21fae1[_0x59131d>>>0x10&0xff]<<0x10|_0x21fae1[_0x3d8152>>>0x8&0xff]<<0x8|_0x21fae1[_0x3234d8&0xff])^_0x381b40[_0x545f02++],_0x4b715c=(_0x21fae1[_0x59131d>>>0x18]<<0x18|_0x21fae1[_0x3d8152>>>0x10&0xff]<<0x10|_0x21fae1[_0x3234d8>>>0x8&0xff]<<0x8|_0x21fae1[_0x485a09&0xff])^_0x381b40[_0x545f02++],_0x45ccd3=(_0x21fae1[_0x3d8152>>>0x18]<<0x18|_0x21fae1[_0x3234d8>>>0x10&0xff]<<0x10|_0x21fae1[_0x485a09>>>0x8&0xff]<<0x8|_0x21fae1[_0x59131d&0xff])^_0x381b40[_0x545f02++],_0x373ca4=(_0x21fae1[_0x3234d8>>>0x18]<<0x18|_0x21fae1[_0x485a09>>>0x10&0xff]<<0x10|_0x21fae1[_0x59131d>>>0x8&0xff]<<0x8|_0x21fae1[_0x3d8152&0xff])^_0x381b40[_0x545f02++];_0x239614[_0x148934]=_0x4c3dac,_0x239614[_0x148934+0x1]=_0x4b715c,_0x239614[_0x148934+0x2]=_0x45ccd3,_0x239614[_0x148934+0x3]=_0x373ca4;},'keySize':0x100/0x20});_0x4307d9[_0x18ff0f(0x239)]=_0x5b12c1[_0x18ff0f(0x3f9)](_0x2bb0f7);}()),_0x584475[_0x3937d4(0x239)];}));}(Ve)),Ve['exports'];}var Rn=Cn();const On=$e(Rn);var bn=bi();const ii=$e(bn);var Xe={'exports':{}},yn=Xe['exports'],si;function Nn(){var _0x3565fd=_0x332b6f;return si||(si=0x1,function(_0x5537de,_0x314f03){(function(_0x472a6e,_0x3256f1){var _0x44bf82=_0x2301;_0x5537de[_0x44bf82(0x387)]=_0x3256f1(te());}(yn,function(_0xe3ccb7){var _0x5746b5=_0x2301;return _0xe3ccb7[_0x5746b5(0x200)][_0x5746b5(0x26f)];}));}(Xe)),Xe[_0x3565fd(0x387)];}var Dn=Nn();const Un=$e(Dn);var Ze={'exports':{}},An=Ze[_0x332b6f(0x387)],ni;function wn(){var _0x28cc2b=_0x332b6f;return ni||(ni=0x1,function(_0x196036,_0x598cae){(function(_0x39eb50,_0x729641){var _0x165eb6=_0x2301;_0x196036[_0x165eb6(0x387)]=_0x729641(te());}(An,function(_0x447894){var _0x31d1a7=_0x2301;return(function(){var _0x296c7a=_0x2301;if(typeof ArrayBuffer=='function'){var _0x3773ba=_0x447894,_0x423b67=_0x3773ba['lib'],_0x4516b2=_0x423b67[_0x296c7a(0x15b)],_0x1b9617=_0x4516b2[_0x296c7a(0x414)],_0xf942a9=_0x4516b2[_0x296c7a(0x414)]=function(_0x27a181){var _0x35771f=_0x296c7a;if(_0x27a181 instanceof ArrayBuffer&&(_0x27a181=new Uint8Array(_0x27a181)),(_0x27a181 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x27a181 instanceof Uint8ClampedArray||_0x27a181 instanceof Int16Array||_0x27a181 instanceof Uint16Array||_0x27a181 instanceof Int32Array||_0x27a181 instanceof Uint32Array||_0x27a181 instanceof Float32Array||_0x27a181 instanceof Float64Array)&&(_0x27a181=new Uint8Array(_0x27a181[_0x35771f(0x1f5)],_0x27a181[_0x35771f(0x24b)],_0x27a181[_0x35771f(0x24d)])),_0x27a181 instanceof Uint8Array){for(var _0x44c87a=_0x27a181[_0x35771f(0x24d)],_0x2926ac=[],_0x1cc3cf=0x0;_0x1cc3cf<_0x44c87a;_0x1cc3cf++)_0x2926ac[_0x1cc3cf>>>0x2]|=_0x27a181[_0x1cc3cf]<<0x18-_0x1cc3cf%0x4*0x8;_0x1b9617[_0x35771f(0x15c)](this,_0x2926ac,_0x44c87a);}else _0x1b9617[_0x35771f(0x127)](this,arguments);};_0xf942a9[_0x296c7a(0x33a)]=_0x4516b2;}}()),_0x447894[_0x31d1a7(0x220)][_0x31d1a7(0x15b)];}));}(Ze)),Ze[_0x28cc2b(0x387)];}var Pn=wn();const Ln=$e(Pn);var Qe={'exports':{}},Mn=Qe['exports'],ri;function xn(){return ri||(ri=0x1,function(_0x81e534,_0x5bf00d){(function(_0x2f0fd6,_0x50d476,_0xada2e7){var _0x215db8=_0x2301;_0x81e534[_0x215db8(0x387)]=_0x50d476(te(),Ni());}(Mn,function(_0x420071){var _0x3dd760=_0x2301;return _0x420071[_0x3dd760(0x1bc)][_0x3dd760(0x374)]={'pad':function(){},'unpad':function(){}},_0x420071['pad'][_0x3dd760(0x374)];}));}(Qe)),Qe['exports'];}var kn=xn();const $n=$e(kn);function Hn(_0x20f7a3,_0x400253){var _0x3c0b2a=_0x332b6f;const _0x370b=_0x400253-_0x20f7a3[_0x3c0b2a(0x378)]%_0x400253,_0x1bc19a=String[_0x3c0b2a(0x264)](_0x370b)[_0x3c0b2a(0x3f2)](_0x370b);return _0x20f7a3+_0x1bc19a;}function Bn(_0x5d7235,_0x10489c){var _0xcb67b3=_0x332b6f;const _0x1d25c7=Ln[_0xcb67b3(0x3da)](0x10),_0x43da21=Hn(_0x5d7235,0x10),_0x364270=On['encrypt'](Un[_0xcb67b3(0x19b)](_0x43da21),ii[_0xcb67b3(0x19b)](_0x10489c),{'iv':_0x1d25c7,'padding':$n});return _0x1d25c7[_0xcb67b3(0x34a)](_0x364270[_0xcb67b3(0x1e4)])[_0xcb67b3(0x29f)](ii);}function jn(){var _0x4456aa=_0x332b6f;const _0x2cbabd=_0x31c0b0()['__Key__'];if(_0x2cbabd){const _0x21d76e={'time':Math[_0x4456aa(0x30e)](Date[_0x4456aa(0x27d)]()/0x3e8),'domain':location['hostname']};return Bn(JSON[_0x4456aa(0x25e)](_0x21d76e),_0x2cbabd);}}var Fn=Object['getOwnPropertyDescriptor'],Vn=(_0x5a58aa,_0x5b4372,_0x5473db,_0x57e467)=>{var _0x4206cb=_0x332b6f;for(var _0x203af3=_0x57e467>0x1?void 0x0:_0x57e467?Fn(_0x5b4372,_0x5473db):_0x5b4372,_0x4820b1=_0x5a58aa[_0x4206cb(0x378)]-0x1,_0x58d152;_0x4820b1>=0x0;_0x4820b1--)(_0x58d152=_0x5a58aa[_0x4820b1])&&(_0x203af3=_0x58d152(_0x203af3)||_0x203af3);return _0x203af3;},Gn=(_0x5b9131,_0x58f387)=>(_0x49936d,_0x4250b1)=>_0x58f387(_0x49936d,_0x4250b1,_0x5b9131);let at=class{constructor(_0x1cc5e9){var _0x5007ba=_0x332b6f;this[_0x5007ba(0x2ff)]=_0x1cc5e9,this[_0x5007ba(0x1b3)]();}['_initRequestHeader'](){var _0x51791a=_0x332b6f;this[_0x51791a(0x2ff)][_0x51791a(0x38b)]({'interceptor':(_0x231c6e,_0x37662c)=>{var _0x3a5942=_0x51791a;const _0x1428e7=_0x231c6e['headers'],_0x4aae0f=jn();return _0x4aae0f&&_0x1428e7[_0x3a5942(0x19f)](_0x3a5942(0x2f0),_0x4aae0f),_0x37662c(_0x231c6e);}});}};at=Vn([Gn(0x0,_0x5e1e11(_0x50e32e))],at);var Yn=Object[_0x332b6f(0x438)],Wn=(_0x19f753,_0x36cb9d,_0x183fc3,_0x2c91e9)=>{var _0x5a5ce4=_0x332b6f;for(var _0x55d17f=_0x2c91e9>0x1?void 0x0:_0x2c91e9?Yn(_0x36cb9d,_0x183fc3):_0x36cb9d,_0x2f6138=_0x19f753[_0x5a5ce4(0x378)]-0x1,_0x4b93e6;_0x2f6138>=0x0;_0x2f6138--)(_0x4b93e6=_0x19f753[_0x2f6138])&&(_0x55d17f=_0x4b93e6(_0x55d17f)||_0x55d17f);return _0x55d17f;},vt=(_0x132a2c,_0x37c6f6)=>(_0x4b68ab,_0x49b5b3)=>_0x37c6f6(_0x4b68ab,_0x49b5b3,_0x132a2c);function _0x57e4(){var _0x523dc4=['SHA1','resolve','join','hasOwnProperty','_candidateSocket','_collaborationUIEventService','enableAuthServer','APPLY_DUPLICATED','_initCloseConn','floor','roles','readInt32LE','EXCHANGE_SIGN_URL_SERVER_URL_KEY','_event$','location','_minBufferSize','confirm','reverse','UUID','_sender','then','unitID','_changesetSessionId','forEach','JOIN','_retryConnectingTimer','_initDependencies','SNAPSHOT_INVALID_SNAPSHOT','m2Prime','string','updateMember','_onRemoteRejected','CHANGESET_SHOULD_RETRY','reconnect','_clearCollaborationTimeoutTimer','state$','range','update','getCollabEntity$','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','LICENSE_DISTRO_REJECTED','_transformService','_socketService','msCrypto','getSheetBlock','/object','collaborators','HEARTBEAT','authzUrl','_transformStack','Malformed\x20UTF-8\x20data','SUBMIT_CHANGESET','addHandlerCallback','prototype','CLOSE_ROOM','allowed','session.room-not-exists','_listenToNetworkCondition','JOIN_ROOM_PERMISSION_DENIED','_hasher','_reverseMap','[CollaborationSessionService]','YUUMI_UNABLE_LOAD_URL','file','image/bmp','conflict','PSEUDO_FETCH_MISSING_RESULT','_joinRoom','data','concat','decrypt','Hex','?url=','YUUMI_NO_CUBOID_FOR_QUESTION','socket\x20open.','_unitInfo$','LIVESHARE_TERMINATE','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','disableLocalCache','_registerDependencies','FETCH_MISS','iterations','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','_changesetReqId','_change$','_waitCount','/new_changes','session.room-full','onMissingChangesets','_status$','updatePermissionPoint','HttpExport','event$','678020TuqDhC','_transformStateCache','onSendChangeset','setShowComponents','removeMember','OPTIONAL','waitForRoom$','saveSnapshot','_updateLocalCache','_oKey','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','find','getCurrentRevOfUnit','IDLE','_telemetryInfo','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','encryptBlock','_startTelemetryCollaborationNewChangeset','NoPadding','reject','uniscriptRunEvent','CHANGESET_ACK','length','COLLAB_SUBMIT_CHANGESET_URL','sessionStatus$','crypto','/rev/','_commentService','mode','objectID','rev','_socket','complete','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','getUnitOnRev','url','APPLY_PERMISSION_DENIED','exports','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','c2Prime','asObservable','registerHTTPInterceptor','changesets','BASE64','_shouldReportTelemetry','_handler','getCurrentUser','_userManagerService','_process','getMember','onTransformIME','LIVESHARE_OPERATION','sendChangesetTimeout','focused$','SOCKET_FAILED_RETRY','_emitMembers','offline','_socket$','size','retryConnectingInterval','_fetchMissChangesets','csRejEvent','_socketMessageSubscription','_doReset','YUUMI_SUBSCRIPTION_NOT_FOUND','_commentUpdate$','_clearLocalCache','_getAPIPrefix','sessionStatus','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','_configService','_doCryptBlock','_getSendChangesetTimeout','joinEvent','message$','fetchThroughInterceptors','sid','SOCKET_FAILED','YUUMI_URL_COL_OUT_OF_RANGE','USER_NOT_INVITED_CODE','ERROR_IMAGE','_state$','objectType','_onRemoteACK','_waitForHeartbeatResponse','pauseCollaboration','LOGIN_FAILED','fetchMissingChangesets','_resendWithTimeout','ivSize','_clearRedo','AWAITING_WITH_PENDING','LOGIN_URL_KEY','onRemoteAck','_getCtorByUniverType','permissionRejEvent','_onMessage','compute','WECHAT_HAS_BEEN_BOUND','CHANGESET_REJ','c1Prime','/-/object/list','replace','_updateStatus','_updateState','_eventService','words','_imageSourceCache','\x20-\x20','default','_invKeySchedule','/universer-api/comb','userID','AWAITING','requestParams','COMPRESS_MUTATION_SEND','getRoom','auth.needGotoLoginAlert','_collaborationPaused','_onConnectionOpen','random','_entityInit$','onload','hasher','SerializableCipher','&assign=','awaiting','MUTATION','telemetry\x20info\x20is\x20not\x20initialized','commentUpdateEvent','univer-pro.collaboration-client.network-condition.service','setConfig','fetching\x20missing\x20changesets\x20from\x20','startsWith','NOT_FOUND','addImageSourceCache','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','reqId','entityInit$','name','/resources','getSheetId','from','OTHER_CLIENT_EDITING','repeat','dispose','getCurrentSelections','_logService','isArray','_getSignURL','_rescheduleHeartbeat','_createHelper','[PendingState]:\x20received\x20acknowledgement.','_clearRetryConnectingTimer','_sendingTimer','[FetchMissState]','UNIVER_SHEET','/unit/','getUnitType','INGEST','href','BlockCipher','[SyncedState]:\x20received\x20acknowledgement.','_replayCachedMutations','emitEvent','getWorkbookSelections','_compressMutationService','_initUnitPermissionChange','getDeserializedSheetBlock','onMissedChangesetFetched','_tryReconnect','_onFetchMissResult','compose','9ZwjtRR','joinRsp','getLatestCsReqIdBySid','onTransformRemoteChangesetByStateCache','refreshPermission','init','_getDownloadEndpointURL','mutations','session.room-permission-denied','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','$super','objectActions','dispose$','_syncEditingCollabCursor','_parse','_clearUndo','_throwTelemetryCollaborationNewChangeset','originalMeta','getFocusedUnit','SEND_CHANGESET_TIMEOUT','_substituteRedoStack','_onConflict','[UniverCollaborationClientPlugin]','_getAPIPrefixPath','NEW_CHANGESETS','_pendingMutations','UNISCRIPT_RUN','blockSize','/collaborator','charCodeAt','createSocket','LEAVE','UserProfileImg','_toggleOffline','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','keySize','OFFLINE','_nRounds','_onConnectionFailed','closeSession','findIndex','getOwnPropertyDescriptor','\x0aCurrent:\x20','avatar','_members','apply','clamp','RETRY_CONNECTING_MAX_COUNT','_createHandler','status','state','COLLAB_WEB_SOCKET_URL','\x0aAfter:\x20','createInstance','_key','toggleOnline','ERROR_EXCEED_SIZE','_sheetTransformSelectionsService','_keySchedule','_onLocalMutation','/universer-api/authz','UNRECOGNIZED','salt','list','Latin1','_ENC_XFORM_MODE','BufferedBlockAlgorithm','sigBytes','JOINING','duration','_createSocket','/universer-api/stream/file/upload','_cipher','PERSON','_sendHeartbeat','Cipher','1337rThVBP','fromCollab','_getRedoStack','INVALID_ARGUMENT','code','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','every','params','_getCurrentRevision','[CollaborationUndoRedoService]','FAIL','onCommentUpdate','map','_undoRedoService','catch','_config','enableSingleActiveInstanceLock','transformStack\x20failed!','debug','_socketReady','SUBMIT_CHANGESET_TIMEOUT','WordArray','call','_transformIMECache','_onOffline','_acknowledgedAwaitingChangeset','error','onCommandExecuted','snapshotServerUrl','Univer','format','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','subscribe','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','_toggleOnline','socket$','collaboration-client.local-cache-service','NO_OTHER_CLIENTS_EDITING','onRemoteRetry','PasswordBasedCipher','push','loadOfflineData','/object/','UNIVER_DOC','FileId','isPermissionRej','HMAC','processBlock','YUUMI_AI_RUN_FAILED','Encryptor','subUnitId','_keyPriorReset','1953925HIRcwm','&to=','saveSheetBlock','close$','UNKNOWN_CODE','deepClone','__creator','_disableEditing','_roomMembers','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','COMPLETION_FINISHED','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','socket\x20close','RECV','[CollaborationSessionService]:\x20socket\x20error','equals','onRemoteChangeset','error$','_univerInstanceService','open$','snapshot','18JvDMkR','_resendTimeout','YUUMI_TABLE_NOT_FOUND_IN_UNIT','INVITE_CODE_HAS_BEEN_UES','UNKNOWN_CMD','INVITE_CODE_REQUIRED','responseType','algo','revision','override','BlockCipherMode','parse','enableCollaboration','OTHER_CLIENTS_EDITING','ws://127.0.0.1:8000/universer-api/comb/connect','set','_clearHeartbeatTimer','Error\x20on\x20receiving\x20event','_exhaustRemoteChangesetQueue','post','encode','randomBytes','[OfflineState]:\x20received\x20acknowledgement.','fetch_missing','transformChangesets','getResourcesRequest','60188jSNyjD','_roomCreated$','getConfig','method','YUUMI_ALL_TABLES_IS_INVALID','_collabSessionService','_entities','_telemetryService','function','_initRequestHeader','4312121fONINq','toggleOffline','onTransformSelections','LICENSE_IMPORT_SIZE_EXCEEDED','/universer-api/file/{fileID}/sign-url','MOBILE_VERIFY_CODE_MISMATCH','filter','_schedule','pad','_transformSelections','_type','_stopTelemetryCollaborationNewChangeset','JOIN_ROOM_FAILED','create','SHOULD_CLOSE_CONN','UnitSnapshot','generateRandomId','HELLO','getValue','APPLY_NON_SEQUENTIAL_REVISION','localeService','_HTTPService','loginUrlKey','onlyLocal','reduce','awaitingChangeset','GLOBAL_ROOMS_CNT_EXCEEDS','localCacheService','members','setWaitCount','getTime','add','pluginName','defineProperty','onStarting','_decreaseWaiting','status$','abs','getTypeOfUnitDisposed$','UNDEFINED','YUUMI_RATE_OVER_LIMIT','NOT_COLLAB','_iKey','6594DzYCTr','_singleActiveUnitService','_doFinalize','interceptor','transformSelections','ciphertext','_transformRemoteChangesetByIMECache','close','_queuedRemoteChangesets','_unitID','decryptBlock','/allowed','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','[OfflineState]:\x20received\x20rejection.','_remoteChangesetQueue','_handlerCallback','_tryEnsureSocket','_instanceService','onSyncEditingCollabCursor','EMAIL_VERIFY_CODE_MISMATCH','loadUnit','socketService','buffer','origin','image/png','_sendHeartbeatTimer','/fetchmissing?from=','key','image/jpg','createEncryptor','_redoStacks','unitId','subject','enc','getInterceptPoints','&source=','LIVESHARE_FETCH_OPERATIONS','EMAIL_HAS_BEEN_BOUND','_lockTransition','StreamCipher','[PendingState]:\x20received\x20rejection.','SUCCUSS','max','includes','setCurrentUser','_awaitingChangeset','put','getTypeOfUnitAdded$','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','CipherParams','image/gif','_transitionLocked','has','online$','_incrementRevisionNumber','10HSOAOE','save\x20fail\x20reason\x20is\x20','_startCollaboration','_localCacheService','collabWebSocketUrl','Hasher','onLocalMutation','onTransformRemoteChangesetByIMECache','_snapshotService','send','lib','encrypt','_state','readAsDataURL','LIVESHARE_NEW_HOST','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','UNIVER_UNKNOWN','unknown','append','saveChangeset','_onRemoteRetry','_timeoutTimer','_isPermissionRej','body','capture','onStateChange','_showConflictNotification','unsubscribe','MD5','incrementRevOfUnit','_onRemoteChangeset','values','getActiveSheet','APPLY_REJECT','CONNECTOR_DATA_TOO_LARGE','AES','routeKey','fetchMiss','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','signUrlServerUrl','workbook','resend','uploadFileServerUrl','USERS_ENTER','UNIVER_PROJECT','finalize','TOO_MANY_REQUESTS','_clearTimeoutTimer','cfg','_checkMissing','Pkcs7','requireSession','roomInfos','byteOffset','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','byteLength','_getLoginPath','session.join-failed','_sessionStatus$','splice','YUUMI_CONNECTOR_URL_NOT_FOUND','/block/','connection\x20error','_localeService','_initMergeInterceptor','DEFAULT_FILE_NAME','ONLINE','_revisionService','shouldCloseConn','HmacMD5','startTime','Could\x20not\x20dynamically\x20require\x20\x22','stringify','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','CHANGESET_REVISION_CONFILICT','/universer-api/user/session-ticket','CONFLICT','UPDATE_PERMISSION_OBJ','fromCharCode','_hash','/role','YUUMI_ASYNCIO_CANCELLED','_replaceFileID','_collaborationTimeoutTimer','onTransformState','_getUndoStack','updateOfflineData','PERMISSION_DENIED','collabSubmitChangesetUrl','Utf8','getMemberID','LICENSE_MAX_UNITS_EXCEEDED','People','_networkConditionService','collaboration-client.config','Undefined','384024QNvvtY','Base64','result','/universer-api/uniscript','_retryCount','_memberService','getUnit','now','UPDATE_CURSOR','actions','clone','[SyncedState]:\x20received\x20rejection.','_scheduleCollaborationTimeoutTimer','Decryptor','UnitEmbedded','_clearScheduledTask','HttpImport','pipe','disposeWithMe','_DEC_XFORM_MODE','/universer-api/snapshot/','appendMutation','_undoStacks','mixIn','ERROR_IMAGE_TYPE','createDecryptor','_collaborationSessionService','liveShareNewHost','get','onRemoteRej','_createInitialStateImpl','LICENSE_EXPORT_SIZE_EXCEEDED','UNAUTHENTICATED','_onUserLeave','eventID','ENSURE_SNAPSHOT_EXECUTION','executeCommand','updateCursorEvent','kdf','_transformUndoredo','_permissionService','toString','memberID','[DataLoaderService]','_snapshotServerService','transformUndoRedo','not_collab','infoRsp','type','PY_RUNTIME_SCRIPT_ERROR','_doCreateSocket','EvpKDF','members$','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','updateCollaborator','loadDoc','delete','_executeRemoteChangeset','OpenSSL','getRandomValues','baseRev','352961oDWKfC','_xformMode','_transformRemoteChangesetByStateCache','{fileID}','_data','next','[CollaborationEntity]','slice','_members$','reset','getUnitId','cmd','_unlockTransition','getAllMembers','session','_createHmacHelper','SNAPSHOT_HAS_BEEN_REMOVED','indexOf','univer-pro.collaboration-client.single-active-unit-service','JOIN_ROOM_NOT_EXISTS','enableOfflineEditing','_getUploadFileURL','INVITE_CODE_ALREADY_BOUND','USERS_LEAVE','stopTime','editingUnit','APPLY_REVISION_CONFILICT','encodeURIComponent','_iv','POST','extend','ceil','synced','_onUserJoin','HmacSHA1','COMPRESS_MUTATION_APPLY','liveShareOperation','deleteCollaborator','UNIVER_COLLABORATION_CLIENT_PLUGIN','[CollaborationSession]','charAt','_commandService','_sessions','_scheduleCompleteTimestamp','INTERNAL_ERROR','_applyRemoteChangeset','SNAPSHOT_SERVER_URL_KEY','INVALID_INVITE_CODE','editing\x20status\x20changed\x20to','csShouldRetryEvent','commentUpdate$','clear','/universer-api/snapshot','\x20to\x20','_onJoinRoomEvent','_append','textRanges','Base','_createInitialState','SYNCED','MSG_FOR_ERROR','x-univer-host','_init','LOCAL_CACHE_INTERVAL','padding','_map','_mode','_onRecvEvent','copyFileMeta','getCollabEntity','_resendTimer','_submitChangeset','_nDataBytes','submit\x20changeset\x20error!','UNIVER_SLIDE','JOIN_ROOM_FULL','_httpService','_injector','_prevBlock','substr','transformMutationsWithChangeset','MOBILE_HAS_BEEN_BOUND'];_0x57e4=function(){return _0x523dc4;};return _0x57e4();}let Ct=class extends _0x5861e5{constructor(_0x500836,_0x53a50a,_0x5a5a0c){var _0x3ee892=_0x332b6f;super(),N(this,_0x3ee892(0x350),new _0x400ec0(null)),N(this,'unitInfo$',this[_0x3ee892(0x350)]['asObservable']()),(this['_logService']=_0x500836,this[_0x3ee892(0x21e)]=_0x53a50a,this['_localCacheService']=_0x5a5a0c);}async['loadUnitOfRevision'](_0x2ba45c,_0x5108c8,_0xd5ac90){var _0x5222e6=_0x332b6f;this[_0x5222e6(0x350)]['next']({'unitId':_0x2ba45c,'type':_0x5108c8});let _0x241974=null;switch(_0x5108c8){case Z[_0x5222e6(0x3fe)]:{_0x241974=await this['_snapshotService']['loadSheet'](_0x2ba45c,_0xd5ac90);break;}case Z['UNIVER_DOC']:{_0x241974=await this[_0x5222e6(0x21e)][_0x5222e6(0x2ad)](_0x2ba45c,_0xd5ac90);break;}default:{this[_0x5222e6(0x3f5)][_0x5222e6(0x160)](_0x5222e6(0x2a1),_0x5222e6(0x167));break;}}return _0x241974;}async[_0x332b6f(0x1f3)](_0x106994,_0x514674,_0x1d9b10){var _0x323ae9=_0x332b6f,_0x3712fb;this[_0x323ae9(0x350)][_0x323ae9(0x2b8)]({'unitId':_0x106994,'type':_0x514674,'subUnitId':_0x1d9b10});let _0x437d79=0x0;const _0xbd9ecd=await((_0x3712fb=this[_0x323ae9(0x219)])==null?void 0x0:_0x3712fb['loadOfflineData'](_0x106994));return _0xbd9ecd&&(_0xbd9ecd[_0x323ae9(0x1cd)]||_0xbd9ecd[_0x323ae9(0x416)][_0x323ae9(0x378)]!==0x0)&&(_0x437d79=_0xbd9ecd[_0x323ae9(0x380)]),_0x437d79===0x0&&this[_0x323ae9(0x3f5)][_0x323ae9(0x158)](_0x323ae9(0x2a1),_0x323ae9(0x418)),this['loadUnitOfRevision'](_0x106994,_0x514674,_0x437d79);}};Ct=Wn([vt(0x0,_0x2ee83c),vt(0x1,_0x5e1e11(_0x2bf404)),vt(0x2,_0x2b6ae4(J))],Ct);var Kn=Object['getOwnPropertyDescriptor'],qn=(_0x1829b8,_0x929b9f,_0x1657cc,_0x261d14)=>{var _0x5a6268=_0x332b6f;for(var _0x5ebd08=_0x261d14>0x1?void 0x0:_0x261d14?Kn(_0x929b9f,_0x1657cc):_0x929b9f,_0x52e2d7=_0x1829b8[_0x5a6268(0x378)]-0x1,_0x8c042;_0x52e2d7>=0x0;_0x52e2d7--)(_0x8c042=_0x1829b8[_0x52e2d7])&&(_0x5ebd08=_0x8c042(_0x5ebd08)||_0x5ebd08);return _0x5ebd08;},pt=(_0x5261c1,_0x508382)=>(_0x20b20a,_0x2826bb)=>_0x508382(_0x20b20a,_0x2826bb,_0x5261c1);const zn=[_0x332b6f(0x1f7),'image/jpeg',_0x332b6f(0x1fb),_0x332b6f(0x211),_0x332b6f(0x345)],Jn=0x5*0x400*0x400,Xn=_0x332b6f(0x352),Zn=_0x332b6f(0x141),Qn=_0x332b6f(0x311),er=_0x332b6f(0x1b8);let Rt=class{constructor(_0x2de669,_0x51e4ed,_0x419321){var _0x356110=_0x332b6f;N(this,'_waitCount',0x0),N(this,_0x356110(0x359),new _0x1ac18f()),N(this,'change$',this[_0x356110(0x359)]),N(this,_0x356110(0x3cd),new Map()),(this['_httpService']=_0x2de669,this[_0x356110(0x3a8)]=_0x51e4ed,this['_univerInstanceService']=_0x419321);}[_0x332b6f(0x1d1)](_0x55b2da){var _0x15bea0=_0x332b6f;this[_0x15bea0(0x35a)]=_0x55b2da,this[_0x15bea0(0x359)][_0x15bea0(0x2b8)](_0x55b2da);}['getImageSourceCache'](_0x1b2f26,_0x44aa5e){var _0x26dba2=_0x332b6f;if(_0x44aa5e===_0x4d38c9[_0x26dba2(0x38d)]){const _0xa6dcdd=new Image();return _0xa6dcdd['src']=_0x1b2f26,_0xa6dcdd;}return this['_imageSourceCache'][_0x26dba2(0x292)](_0x1b2f26);}[_0x332b6f(0x3e9)](_0x112fa9,_0x174b43,_0x4e9af0){var _0xd8c1cc=_0x332b6f;_0x174b43===_0x4d38c9[_0xd8c1cc(0x38d)]||_0x4e9af0==null||this[_0xd8c1cc(0x3cd)][_0xd8c1cc(0x19f)](_0x112fa9,_0x4e9af0);}async['getImage'](_0x429e72){var _0x1bb7f6=_0x332b6f;try{const _0x3ca2dc=this[_0x1bb7f6(0x268)](this[_0x1bb7f6(0x3f7)](),''+_0x429e72),_0x207c39=(await this['_httpService'][_0x1bb7f6(0x292)](_0x3ca2dc))[_0x1bb7f6(0x22d)];if(_0x207c39[_0x1bb7f6(0x160)]&&_0x207c39['error']['code']===pi['OK']){const _0x37cad8=new URL(_0x207c39[_0x1bb7f6(0x385)],this[_0x1bb7f6(0x415)]())[_0x1bb7f6(0x29f)]();return Promise[_0x1bb7f6(0x306)](_0x37cad8);}return Promise['reject'](_0x207c39[_0x1bb7f6(0x160)]);}catch(_0x3d33a4){return Promise[_0x1bb7f6(0x375)](_0x3d33a4);}}async['saveImage'](_0x254ea5){var _0x2a5c38=_0x332b6f;let _0x3811e4='';if(!zn[_0x2a5c38(0x20a)](_0x254ea5[_0x2a5c38(0x2a6)]))return this[_0x2a5c38(0x1d7)](),Promise[_0x2a5c38(0x375)](new Error(_0x53699a[_0x2a5c38(0x28e)]));if(_0x254ea5[_0x2a5c38(0x39c)]>Jn)return this[_0x2a5c38(0x1d7)](),Promise[_0x2a5c38(0x375)](new Error(_0x53699a[_0x2a5c38(0x132)]));try{const _0x33f4a5=new FormData();_0x33f4a5[_0x2a5c38(0x228)](_0x2a5c38(0x344),_0x254ea5);const _0x51b580=this[_0x2a5c38(0x18d)][_0x2a5c38(0x421)](),_0x1479f2=_0x51b580==null?void 0x0:_0x51b580['getUnitId']();if(!_0x1479f2)throw new Error('unitId\x20is\x20not\x20found');const _0x3acff7=this[_0x2a5c38(0x2c8)]()+'?size='+_0x254ea5[_0x2a5c38(0x39c)][_0x2a5c38(0x29f)]()+_0x2a5c38(0x202)+mi['UnitEmbedded']+_0x2a5c38(0x3df)+encodeURIComponent(_0x1479f2),_0x578dfd={'body':_0x33f4a5},_0x60ab0e=(await this[_0x2a5c38(0x2ff)][_0x2a5c38(0x1a3)](_0x3acff7,_0x578dfd))[_0x2a5c38(0x22d)];if(typeof _0x60ab0e[_0x2a5c38(0x173)]!=_0x2a5c38(0x322))return this[_0x2a5c38(0x1d7)](),Promise[_0x2a5c38(0x375)](new Error(_0x53699a[_0x2a5c38(0x3b2)]));_0x3811e4=_0x60ab0e[_0x2a5c38(0x173)];}catch{return this['_decreaseWaiting'](),Promise[_0x2a5c38(0x375)](new Error(_0x53699a[_0x2a5c38(0x3b2)]));}return new Promise((_0x3381f2,_0xec1cff)=>{var _0x3fedd6=_0x2a5c38;const _0x1884d9=new FileReader();_0x1884d9[_0x3fedd6(0x223)](_0x254ea5),_0x1884d9[_0x3fedd6(0x3dc)]=_0x15fcaa=>{var _0x23d498=_0x3fedd6,_0x2bea06;const _0x7ca890=(_0x2bea06=_0x15fcaa['target'])==null?void 0x0:_0x2bea06['result'];if(_0x7ca890==null){this['_decreaseWaiting'](),_0xec1cff(new Error(_0x53699a['ERROR_IMAGE']));return;}const _0x464cf9=_0x4e273e[_0x23d498(0x1c4)](0x6);_0x3381f2({'imageId':_0x464cf9,'imageSourceType':_0x4d38c9[_0x23d498(0x317)],'source':_0x3811e4,'base64Cache':_0x7ca890,'status':_0x53699a[_0x23d498(0x208)]}),this[_0x23d498(0x1d7)]();};});}['_getUploadFileURL'](){var _0x2b9f5c=_0x332b6f,_0x24d5c4,_0x1f10e7;const _0x2307f0=this[_0x2b9f5c(0x3a8)][_0x2b9f5c(0x1ac)](Xn),_0x15cd12=this[_0x2b9f5c(0x3a8)][_0x2b9f5c(0x1ac)](K);return(_0x1f10e7=(_0x24d5c4=_0x15cd12==null?void 0x0:_0x15cd12[_0x2b9f5c(0x240)])!=null?_0x24d5c4:_0x2307f0)!=null?_0x1f10e7:Zn;}[_0x332b6f(0x3f7)](){var _0x1adf93=_0x332b6f,_0x4725f8,_0x390005;const _0x55b3f8=this[_0x1adf93(0x3a8)][_0x1adf93(0x1ac)](Qn),_0x4e1ba6=this[_0x1adf93(0x3a8)][_0x1adf93(0x1ac)](K);return(_0x390005=(_0x4725f8=_0x4e1ba6==null?void 0x0:_0x4e1ba6[_0x1adf93(0x23d)])!=null?_0x4725f8:_0x55b3f8)!=null?_0x390005:er;}['_getDownloadEndpointURL'](){var _0xee7710=_0x332b6f,_0x843800;const _0x4525a3=this[_0xee7710(0x3a8)][_0xee7710(0x1ac)](K);return(_0x843800=_0x4525a3==null?void 0x0:_0x4525a3['downloadEndpointUrl'])!=null?_0x843800:location[_0xee7710(0x1f6)];}[_0x332b6f(0x268)](_0x74bf1e,_0x2de301){var _0x2d30dd=_0x332b6f;return _0x74bf1e[_0x2d30dd(0x3c8)](_0x2d30dd(0x2b6),_0x2de301);}[_0x332b6f(0x1d7)](){var _0x847f0e=_0x332b6f;this[_0x847f0e(0x35a)]-=0x1,this[_0x847f0e(0x359)]['next'](this[_0x847f0e(0x35a)]);}};Rt=qn([pt(0x0,_0x5e1e11(_0x50e32e)),pt(0x1,_0x5747ff),pt(0x2,_0x5e1e11(_0x47549b))],Rt);var tr=Object[_0x332b6f(0x438)],ir=(_0x4b1993,_0x59e8f8,_0x50af01,_0x77d9f2)=>{var _0x1733c3=_0x332b6f;for(var _0x1f148c=_0x77d9f2>0x1?void 0x0:_0x77d9f2?tr(_0x59e8f8,_0x50af01):_0x59e8f8,_0x5487ea=_0x4b1993[_0x1733c3(0x378)]-0x1,_0x2b5501;_0x5487ea>=0x0;_0x5487ea--)(_0x2b5501=_0x4b1993[_0x5487ea])&&(_0x1f148c=_0x2b5501(_0x1f148c)||_0x1f148c);return _0x1f148c;},ai=(_0x59eee0,_0x33a59d)=>(_0x3f0aa6,_0x4cd27c)=>_0x33a59d(_0x3f0aa6,_0x4cd27c,_0x59eee0);const sr=_0x332b6f(0x136);let Ot=class{constructor(_0x5a2b87,_0x2240bf){var _0x5d1a52=_0x332b6f;this[_0x5d1a52(0x3a8)]=_0x5a2b87,this[_0x5d1a52(0x1c9)]=_0x2240bf;}[_0x332b6f(0x426)](){var _0x4b8119=_0x332b6f,_0x567114,_0x2b4c08;const _0x47624a=this['_configService'][_0x4b8119(0x1ac)](Oi),_0x502959=this[_0x4b8119(0x3a8)]['getConfig'](K);return(_0x2b4c08=(_0x567114=_0x502959==null?void 0x0:_0x502959[_0x4b8119(0x335)])!=null?_0x567114:_0x47624a)!=null?_0x2b4c08:sr;}async['list'](_0x5b0cc6){var _0x1e4518=_0x332b6f;const _0x46de24=this[_0x1e4518(0x426)]()+_0x1e4518(0x42b);return{'list':[{'title':_0x1e4518(0x272),'mentions':(await this['_HTTPService'][_0x1e4518(0x292)](_0x46de24,{'params':{'objectID':_0x5b0cc6[_0x1e4518(0x1fe)],'unitID':_0x5b0cc6[_0x1e4518(0x1fe)]}}))[_0x1e4518(0x22d)][_0x1e4518(0x333)]['map'](_0x132485=>({'objectId':_0x132485['id'],'name':_0x132485['subject']['name'],'metadata':{'icon':_0x132485[_0x1e4518(0x1ff)][_0x1e4518(0x125)]},'label':_0x132485[_0x1e4518(0x1ff)][_0x1e4518(0x3ed)],'objectType':_0x1afd39[_0x1e4518(0x143)]})),'metadata':{},'type':_0x1afd39[_0x1e4518(0x143)]}]};}};Ot=ir([ai(0x0,_0x5e1e11(_0x5747ff)),ai(0x1,_0x5e1e11(_0x50e32e))],Ot);var nr=Object['getOwnPropertyDescriptor'],rr=(_0x581278,_0x2e8f92,_0x232690,_0x5d8040)=>{for(var _0x28a547=_0x5d8040>0x1?void 0x0:_0x5d8040?nr(_0x2e8f92,_0x232690):_0x2e8f92,_0x1b178b=_0x581278['length']-0x1,_0x4c321a;_0x1b178b>=0x0;_0x1b178b--)(_0x4c321a=_0x581278[_0x1b178b])&&(_0x28a547=_0x4c321a(_0x28a547)||_0x28a547);return _0x28a547;},Ae=(_0x3762d1,_0x565e3a)=>(_0x579e4e,_0x8d5ccb)=>_0x565e3a(_0x579e4e,_0x8d5ccb,_0x3762d1);let ot=class extends _0x5861e5{constructor(_0xd85e1a,_0x152a63,_0xeb1f73,_0xf45ad7,_0xc3122){var _0x163ea3=_0x332b6f;super(),this[_0x163ea3(0x300)]=_0xd85e1a,this[_0x163ea3(0x18d)]=_0x152a63,this[_0x163ea3(0x29e)]=_0xeb1f73,this[_0x163ea3(0x290)]=_0xf45ad7,this['_collaborationUIEventService']=_0xc3122,this[_0x163ea3(0x409)](),this[_0x163ea3(0x30d)]();}[_0x332b6f(0x30d)](){var _0x446546=_0x332b6f;const _0x518071=async _0x5c92e2=>{var _0x220aea=_0x2301;(await this[_0x220aea(0x290)][_0x220aea(0x249)](_0x5c92e2))[_0x220aea(0x361)]['pipe'](_0x3c6cec(_0xe6290b=>_0xe6290b[_0x220aea(0x298)]===_0x418085[_0x220aea(0x1c2)]),_0x44300f(this[_0x220aea(0x41b)]))['subscribe'](_0x2c2631=>{var _0x56c8d2=_0x220aea;const _0x508ee4=_0x2c2631,{reason:_0x2ec626}=_0x508ee4[_0x56c8d2(0x349)];this[_0x56c8d2(0x30a)]['emitEvent']({'id':ne[_0x56c8d2(0x33b)],'data':_0x2ec626}),this['_permissionService'][_0x56c8d2(0x35f)](new _0x42525e(_0x5c92e2)['id'],!0x1),this['_collaborationSessionService']['closeSession'](_0x5c92e2);});};_0x99efa5(this[_0x446546(0x18d)][_0x446546(0x20e)](_0x2db736[_0x446546(0x3fe)]),this[_0x446546(0x18d)][_0x446546(0x20e)](_0x2db736['UNIVER_DOC']))[_0x446546(0x287)](_0x2f4302(_0x3830e4=>_0x3830e4['getUnitId']()),_0x3c6cec(_0x2c5968=>!_0x1c648e(_0x2c5968)),_0x44300f(this[_0x446546(0x41b)]))[_0x446546(0x166)](_0x4f2d4b=>{_0x518071(_0x4f2d4b);});}[_0x332b6f(0x409)](){var _0x310314=_0x332b6f;const _0x20cc22=async _0x482019=>{var _0x15fd70=_0x2301;const _0x38f077=await this[_0x15fd70(0x290)][_0x15fd70(0x249)](_0x482019),_0x128787=this[_0x15fd70(0x300)]['get'](_0x2d7722);_0x38f077[_0x15fd70(0x361)][_0x15fd70(0x287)](_0x3c6cec(_0x1907de=>_0x1907de['eventID']===_0x418085[_0x15fd70(0x263)]),_0x44300f(this['dispose$']))[_0x15fd70(0x166)](_0x91baaf=>{var _0x3da170=_0x15fd70;const _0x177ade=_0x91baaf,{objectId:_0x1a8a4d}=_0x177ade[_0x3da170(0x349)];_0x1a8a4d===_0x482019?_0x128787['initWorkbookPermissionChange'](_0x482019):_0x128787[_0x3da170(0x413)](_0x482019,_0x1a8a4d);});};_0x99efa5(this[_0x310314(0x18d)][_0x310314(0x20e)](_0x2db736[_0x310314(0x3fe)]))[_0x310314(0x287)](_0x2f4302(_0x5e9e06=>_0x5e9e06[_0x310314(0x2bd)]()),_0x3c6cec(_0x5706ca=>!_0x1c648e(_0x5706ca)),_0x44300f(this['dispose$']))[_0x310314(0x166)](_0x3e9e59=>{_0x20cc22(_0x3e9e59);});}};ot=rr([Ae(0x0,_0x5e1e11(_0x226671)),Ae(0x1,_0x47549b),Ae(0x2,_0x545df8),Ae(0x3,_0x5e1e11(Le)),Ae(0x4,_0x5e1e11(ve))],ot);var ar=Object[_0x332b6f(0x438)],or=(_0x57a092,_0x5052ef,_0x2d327d,_0xc2d041)=>{for(var _0xdb461e=_0xc2d041>0x1?void 0x0:_0xc2d041?ar(_0x5052ef,_0x2d327d):_0x5052ef,_0x34fda7=_0x57a092['length']-0x1,_0x52d74d;_0x34fda7>=0x0;_0x34fda7--)(_0x52d74d=_0x57a092[_0x34fda7])&&(_0xdb461e=_0x52d74d(_0xdb461e)||_0xdb461e);return _0xdb461e;},oi=(_0x1ef96b,_0xea3fa1)=>(_0x4843f6,_0x42c6d0)=>_0xea3fa1(_0x4843f6,_0x42c6d0,_0x1ef96b);let bt=class{constructor(_0x3cdfd2,_0x522337){var _0x3dcb87=_0x332b6f;this[_0x3dcb87(0x3a8)]=_0x3cdfd2,this[_0x3dcb87(0x2ff)]=_0x522337;}async[_0x332b6f(0x384)](_0x25e7cd,_0x1e7138){var _0x2968b7=_0x332b6f,_0x49f6bd;const {unitID:_0x2c73da,type:_0x232bc7,revision:_0x3f5558=0x0}=_0x1e7138,_0x1038f7=this['getSnapshotAPIPath']()+'/'+_0x232bc7+_0x2968b7(0x3ff)+_0x2c73da+_0x2968b7(0x37c)+_0x3f5558,_0x3d8213=(await this['_httpService'][_0x2968b7(0x292)](_0x1038f7))[_0x2968b7(0x22d)],_0x529246=(_0x49f6bd=_0x3d8213[_0x2968b7(0x18f)])==null?void 0x0:_0x49f6bd[_0x2968b7(0x23e)];if(_0x529246){const _0x186305=_0x529246==null?void 0x0:_0x529246[_0x2968b7(0x420)],_0x51fb03=_0x2f44dc[_0x2968b7(0x1a4)](_0x49bdd3(_0x186305));_0x529246[_0x2968b7(0x420)]=_0x51fb03,Object['entries'](_0x529246['sheets'])[_0x2968b7(0x31c)](([,_0x2fce10])=>{var _0x4c53cd=_0x2968b7;const _0x5d0ae2=_0x2fce10[_0x4c53cd(0x420)],_0x40bc6d=_0x2f44dc['encode'](_0x49bdd3(_0x5d0ae2));_0x2fce10[_0x4c53cd(0x420)]=_0x40bc6d;});}return _0x3d8213;}async[_0x332b6f(0x331)](_0x4387bb,_0x2eb91d){var _0xeb51f5=_0x332b6f;const {unitID:_0x4f5463,type:_0x1dca85,blockID:_0x49f460}=_0x2eb91d,_0x2e32f7=this['_getAPIPrefix']()+'/'+_0x1dca85+_0xeb51f5(0x3ff)+_0x4f5463+_0xeb51f5(0x253)+_0x49f460;return(await this['_httpService'][_0xeb51f5(0x292)](_0x2e32f7))[_0xeb51f5(0x22d)];}async[_0x332b6f(0x40a)](_0x5b4ad7,_0x50b358){var _0x50bfad=_0x332b6f;const {unitID:_0x157c05,type:_0x3207c1,blockID:_0xdc73b6}=_0x50b358,_0x59c9ca=this['_getAPIPrefix']()+_0x50bfad(0x253)+_0x3207c1+_0x50bfad(0x3ff)+_0x157c05+_0x50bfad(0x253)+_0xdc73b6;return(await this['_httpService'][_0x50bfad(0x292)](_0x59c9ca))[_0x50bfad(0x22d)];}async[_0x332b6f(0x3b9)](_0x1699e1,_0x3dce6e){var _0x16ae49=_0x332b6f;const {unitID:_0x1822cd,type:_0x3b5a47,from:_0x36c00e,to:_0x36ff56}=_0x3dce6e,_0x555ff2=this[_0x16ae49(0x3a5)]()+'/'+_0x3b5a47+_0x16ae49(0x3ff)+_0x1822cd+_0x16ae49(0x1f9)+_0x36c00e+_0x16ae49(0x17c)+_0x36ff56;return(await this['_httpService']['get'](_0x555ff2))[_0x16ae49(0x22d)];}['getSnapshotAPIPath'](){var _0x49b0be=_0x332b6f,_0x52c739;return(_0x52c739=this['_configService'][_0x49b0be(0x1ac)](ps))!=null?_0x52c739:this[_0x49b0be(0x3a5)]();}[_0x332b6f(0x3a5)](){var _0x5d1d39=_0x332b6f,_0x32c193,_0x334098;const _0xec3f4b=this[_0x5d1d39(0x3a8)][_0x5d1d39(0x1ac)](fs),_0x29e8ed=this[_0x5d1d39(0x3a8)]['getConfig'](K);return(_0x334098=(_0x32c193=_0x29e8ed==null?void 0x0:_0x29e8ed[_0x5d1d39(0x162)])!=null?_0x32c193:_0xec3f4b)!=null?_0x334098:vs;}async[_0x332b6f(0x1a9)](_0x28131e,_0x48d269){var _0x3ec85f=_0x332b6f;const _0x598c82=_0x3ec85f(0x28a)+_0x48d269['type']+'/unit/'+_0x48d269[_0x3ec85f(0x31a)]+_0x3ec85f(0x3ee);return(await this[_0x3ec85f(0x2ff)]['get'](_0x598c82,{'params':{'resourceId':JSON[_0x3ec85f(0x25e)](_0x48d269['resourceIDs'])}}))[_0x3ec85f(0x22d)];}[_0x332b6f(0x369)](){var _0x3cd91f=_0x332b6f;throw new Error(_0x3cd91f(0x184));}['updateSnapshot'](){var _0x389975=_0x332b6f;throw new Error(_0x389975(0x184));}[_0x332b6f(0x17d)](){var _0x118319=_0x332b6f;throw new Error(_0x118319(0x184));}[_0x332b6f(0x229)](){var _0x16afa1=_0x332b6f;throw new Error(_0x16afa1(0x184));}[_0x332b6f(0x2f7)](){var _0x97e957=_0x332b6f;throw new Error(_0x97e957(0x184));}[_0x332b6f(0x411)](){var _0x2eff00=_0x332b6f;throw new Error(_0x2eff00(0x184));}};bt=or([oi(0x0,_0x5747ff),oi(0x1,_0x5e1e11(_0x50e32e))],bt);var cr=Object[_0x332b6f(0x438)],hr=(_0x4ab159,_0x4293f5,_0x30a1c4,_0x5cbfc5)=>{var _0x167fa5=_0x332b6f;for(var _0x2c0a20=_0x5cbfc5>0x1?void 0x0:_0x5cbfc5?cr(_0x4293f5,_0x30a1c4):_0x4293f5,_0xf6a35d=_0x4ab159[_0x167fa5(0x378)]-0x1,_0x4a608e;_0xf6a35d>=0x0;_0xf6a35d--)(_0x4a608e=_0x4ab159[_0xf6a35d])&&(_0x2c0a20=_0x4a608e(_0x2c0a20)||_0x2c0a20);return _0x2c0a20;},we=(_0x461cd2,_0xf66fe1)=>(_0x17b763,_0x56bf85)=>_0xf66fe1(_0x17b763,_0x56bf85,_0x461cd2);let yt=class extends _0x132088{constructor(_0x453cc1,_0x2fa028,_0x382d38,_0x329b87,_0x1027f2){var _0x2ab6e4=_0x332b6f;super(_0x453cc1,_0x2fa028,_0x382d38),this[_0x2ab6e4(0x32e)]=_0x329b87,this['_logService']=_0x1027f2;}[_0x332b6f(0x2a3)](_0x33dd55,_0x3e9e83){var _0x408031=_0x332b6f;const _0x318100=this[_0x408031(0x26b)](_0x33dd55);if(_0x318100)try{const _0x4d8eb0=this['_transformStack'](_0x318100,_0x3e9e83);this['_substituteUndoStack'](_0x33dd55,_0x4d8eb0);}catch(_0x26ccf3){this[_0x408031(0x3f5)][_0x408031(0x160)](_0x408031(0x14f),_0x26ccf3),this[_0x408031(0x41e)](_0x33dd55);}const _0x1c89da=this[_0x408031(0x148)](_0x33dd55);if(_0x1c89da)try{const _0x274d17=this['_transformStack'](_0x1c89da,_0x3e9e83);this[_0x408031(0x423)](_0x33dd55,_0x274d17);}catch(_0x3e654e){this[_0x408031(0x3f5)][_0x408031(0x160)](_0x3e654e),this[_0x408031(0x3bc)](_0x33dd55);}}[_0x332b6f(0x41e)](_0x23a7ae){var _0x586a0a=_0x332b6f;const _0x2c0915=this['_getUndoStack'](_0x23a7ae);_0x2c0915&&(_0x2c0915[_0x586a0a(0x378)]=0x0,this[_0x586a0a(0x3c9)]());}[_0x332b6f(0x3bc)](_0x53d8a8){var _0x2e5ba1=_0x332b6f;const _0x4311ad=this[_0x2e5ba1(0x148)](_0x53d8a8);_0x4311ad&&(_0x4311ad[_0x2e5ba1(0x378)]=0x0,this[_0x2e5ba1(0x3c9)]());}['_substituteUndoStack'](_0x36f14a,_0x2eef97){var _0x5ab976=_0x332b6f;this[_0x5ab976(0x28c)][_0x5ab976(0x19f)](_0x36f14a,_0x2eef97),this[_0x5ab976(0x3c9)]();}['_substituteRedoStack'](_0x58c851,_0x2eeef0){var _0x4286db=_0x332b6f;this[_0x4286db(0x1fd)][_0x4286db(0x19f)](_0x58c851,_0x2eeef0),this['_updateStatus']();}[_0x332b6f(0x336)](_0x49d630,_0x2ef4eb){var _0xc3592f=_0x332b6f;const _0x505439=[];let _0x3864b2=_0x2ef4eb,_0x575351=_0x2ef4eb;for(let _0x5ab292=_0x49d630[_0xc3592f(0x378)]-0x1;_0x5ab292>=0x0;_0x5ab292--){const {unitID:_0x459960,undoMutations:_0x405680,redoMutations:_0xc264ee}=_0x49d630[_0x5ab292],_0x71905d=this['_transformService'][_0xc3592f(0x303)](_0x3864b2,_0x405680),_0x5c4a56=this['_transformService']['transformMutationsWithChangeset'](_0x575351,_0xc264ee);if(_0x531048(_0x71905d)||_0x531048(_0x5c4a56)){this[_0xc3592f(0x3f5)][_0xc3592f(0x160)](_0xc3592f(0x14f),_0xc3592f(0x157),_0x71905d,_0x5c4a56);break;}_0x3864b2=_0x71905d[_0xc3592f(0x3c6)],_0x575351=_0x5c4a56['c1Prime'],_0x505439['push']({'unitID':_0x459960,'undoMutations':_0x71905d[_0xc3592f(0x321)],'redoMutations':_0x5c4a56['m2Prime']});}return _0x505439[_0xc3592f(0x316)]();}};yt=hr([we(0x0,_0x47549b),we(0x1,_0x499b8d),we(0x2,_0x1e49ca),we(0x3,_0x1eb68a),we(0x4,_0x2ee83c)],yt);var _r=Object[_0x332b6f(0x1d5)],lr=Object[_0x332b6f(0x438)],ur=(_0x1b9ea5,_0x263d08,_0x3f9300)=>_0x263d08 in _0x1b9ea5?_r(_0x1b9ea5,_0x263d08,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3f9300}):_0x1b9ea5[_0x263d08]=_0x3f9300,dr=(_0x474331,_0x4f8de5,_0x121adb,_0x3fd6fd)=>{var _0x19baa4=_0x332b6f;for(var _0x4a3394=_0x3fd6fd>0x1?void 0x0:_0x3fd6fd?lr(_0x4f8de5,_0x121adb):_0x4f8de5,_0x5c130f=_0x474331[_0x19baa4(0x378)]-0x1,_0x2ef2f2;_0x5c130f>=0x0;_0x5c130f--)(_0x2ef2f2=_0x474331[_0x5c130f])&&(_0x4a3394=_0x2ef2f2(_0x4a3394)||_0x4a3394);return _0x4a3394;},mt=(_0x3274f9,_0x261eeb)=>(_0x421661,_0x1c21bc)=>_0x261eeb(_0x421661,_0x1c21bc,_0x3274f9),fr=(_0x10d767,_0x526552,_0x547d11)=>ur(_0x10d767,_0x526552+'',_0x547d11);const vr=_0x332b6f(0x2d9);let Nt=class extends _0x3d3d32{constructor(_0x52bcb4,_0x4e3872,_0x44a3ed,_0x2d1eb6){var _0x427c4f=_0x332b6f;super(),N(this,_0x427c4f(0x155)),(this[_0x427c4f(0x3f5)]=_0x4e3872,this[_0x427c4f(0x300)]=_0x44a3ed,this['_configService']=_0x2d1eb6);const {..._0x419e1c}=_0x43bc25({},Ds,_0x52bcb4);if(!_0x419e1c[_0x427c4f(0x1f4)])throw new Error('[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!');this[_0x427c4f(0x155)]=_0x419e1c,this[_0x427c4f(0x3a8)][_0x427c4f(0x3e5)](K,_0x419e1c);}[_0x332b6f(0x1d6)](){var _0x3a06c1=_0x332b6f;this[_0x3a06c1(0x354)](),this[_0x3a06c1(0x31f)]();}[_0x332b6f(0x354)](){var _0x4e436e=_0x332b6f,_0xf1fdc2,_0x4a1ca6;this[_0x4e436e(0x300)][_0x4e436e(0x213)](_0x17f179)&&this['_logService'][_0x4e436e(0x160)](_0x4e436e(0x425),'you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!');const _0x47f89d=_0x47bf74([[_0x17f179,{'useClass':yt}],[Le],[Pe],[it],[rt],[at],[Si],[ot],[ve],[Ct],[gi,{'useClass':this[_0x4e436e(0x155)][_0x4e436e(0x1f4)]}],[_0x5d5a89,{'useClass':bt}],[_0x591c88,{'useClass':Tt}],[_0x14e3c5,{'useClass':Rt}],[_0x247198,{'useClass':Ot}],[nt],[It]],(_0xf1fdc2=this[_0x4e436e(0x155)])==null?void 0x0:_0xf1fdc2[_0x4e436e(0x199)]);if(!((_0x4a1ca6=this[_0x4e436e(0x155)])!=null&&_0x4a1ca6[_0x4e436e(0x156)])){const _0x2cbde9=_0x47f89d[_0x4e436e(0x437)](([_0x4269be])=>_0x4269be===ht);_0x2cbde9!==-0x1&&_0x47f89d[_0x4e436e(0x251)](_0x2cbde9,0x1);}_0x1ffd25(this[_0x4e436e(0x300)],_0x47f89d);}[_0x332b6f(0x31f)](){var _0x589f31=_0x332b6f,_0xb3fa36,_0x4a29f6,_0x232afa;this[_0x589f31(0x300)][_0x589f31(0x292)](_0x50e32e)[_0x589f31(0x38b)]({'priority':0x14,'interceptor':_0xae6792({'maxParallel':0x6})}),(_0xb3fa36=this[_0x589f31(0x155)])!=null&&_0xb3fa36[_0x589f31(0x2c7)]||(_0x4a29f6=this[_0x589f31(0x300)][_0x589f31(0x292)](J,_0x29eb6e[_0x589f31(0x367)]))==null||_0x4a29f6[_0x589f31(0x353)](),(_0x232afa=this[_0x589f31(0x155)])!=null&&_0x232afa[_0x589f31(0x30b)]&&_0x378797(this['_injector'],[[rt]]),_0x378797(this[_0x589f31(0x300)],[[at],[nt],[ot]]);}};fr(Nt,_0x332b6f(0x1d4),vr),Nt=dr([_0x3acfc(_0x1b9b89,_0x469f08),mt(0x1,_0x2ee83c),mt(0x2,_0x5e1e11(_0x226671)),mt(0x3,_0x5747ff)],Nt);export{Oi as AUTHZ_URL_KEY,Tt as AuthzIoHttpService,_e as AwaitingState,ae as AwaitingWithPendingState,K as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,Os as COLLAB_SUBMIT_CHANGESET_URL_KEY,gs as COLLAB_WEB_SOCKET_URL_KEY,nt as CollaborationController,st as CollaborationEntity,Rt as CollaborationImageIoService,gt as CollaborationSession,Le as CollaborationSessionService,Ft as CollaborationSocketService,Ti as CollaborationStatus,ne as CollaborationUIEventId,ve as CollaborationUIEventService,yt as CollaborativeUndoRedoService,Si as CommentService,le as ConflictState,Ss as DEFAULT_COLLAB_WEB_SOCKET_URL,wr as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,Nr as DEFAULT_WS_SESSION_TICKET_URL,Ct as DataLoaderService,St as DocCollaborationEntity,Q as FetchingMissState,Es as HEARTBEAT_INTERVAL_KEY,fi as HEARTBEAT_TIMEOUT_KEY,gi as ICollaborationSocketService,J as ILocalCacheService,Us as INetworkConditionService,ht as ISingleActiveUnitService,Ur as LOCAL_CACHE_INTERVAL,Dr as LOCAL_CACHE_INTERVAL_KEY,ys as LOGIN_URL_KEY,Pe as MemberService,Ot as MentionIoHttpService,ue as OfflineState,re as PendingState,Ar as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,Cs as RETRY_CONNECTING_MAX_COUNT_KEY,yr as SEND_CHANGESET_TIMEOUT_KEY,fs as SNAPSHOT_SERVER_URL_KEY,ps as SNAPSHOT_URL_KEY,Se as SessionStatus,Et as SheetCollaborationEntity,it as SheetTransformSelectionsService,bt as SnapshotServerOverHTTPService,ye as SyncedState,Ei as UnitStatus,Nt as UniverCollaborationClientPlugin,As as deserializeToCombResponse,Pr as getLocalCacheKey,ws as serializeCombRequest};
|