@univerjs-pro/collaboration-client 0.6.3-nightly.202503051607 → 0.6.4-nightly.202503101606
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +10 -10
package/lib/es/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
var _0x463ce4=_0x1756;(function(_0x587491,_0x1f4c84){var _0x36f3ee=_0x1756,_0x24165e=_0x587491();while(!![]){try{var _0xf4f8b5=-parseInt(_0x36f3ee(0x1eb))/0x1+-parseInt(_0x36f3ee(0xfd))/0x2*(-parseInt(_0x36f3ee(0x3e9))/0x3)+-parseInt(_0x36f3ee(0x1b2))/0x4+parseInt(_0x36f3ee(0x19a))/0x5+-parseInt(_0x36f3ee(0x3ac))/0x6*(-parseInt(_0x36f3ee(0x3d1))/0x7)+parseInt(_0x36f3ee(0x23a))/0x8+-parseInt(_0x36f3ee(0x1b4))/0x9;if(_0xf4f8b5===_0x1f4c84)break;else _0x24165e['push'](_0x24165e['shift']());}catch(_0x5d715b){_0x24165e['push'](_0x24165e['shift']());}}}(_0xd133,0xc4afd));var Ai=Object[_0x463ce4(0x1a4)],Pi=(_0x407299,_0xc7fb41,_0x41b63d)=>_0xc7fb41 in _0x407299?Ai(_0x407299,_0xc7fb41,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x41b63d}):_0x407299[_0xc7fb41]=_0x41b63d,N=(_0x497b9f,_0x5315cd,_0x2c563f)=>Pi(_0x497b9f,typeof _0x5315cd!=_0x463ce4(0x152)?_0x5315cd+'':_0x5315cd,_0x2c563f);import{createIdentifier as _0x4450a2,Inject as _0xbf6e5a,Injector as _0x188281,IConfigService as _0x1c50bb,ILogService as _0x20d0b2,Disposable as _0xbdc86a,DisposableCollection as _0x5c5417,toDisposable as _0x47f170,IUniverInstanceService as _0x90b9a3,UserManagerService as _0x25d349,UniverInstanceType as _0x58c404,LocaleService as _0x5b114b,Optional as _0x435100,RxDisposable as _0x1a26b4,Tools as _0x3f81a9,Rectangle as _0x3adee7,ICommandService as _0x20d0b9,JSONX as _0x568219,CommandType as _0x22a9c8,IUndoRedoService as _0x5c89d1,IPermissionService as _0x2763a3,sequenceExecute as _0xed95e,Workbook as _0xccaa22,MentionType as _0x5c0805,isInternalEditorID as _0x3be9ca,LocalUndoRedoService as _0x4a8b1f,IContextService as _0x3462f5,DependentOn as _0x5113dc,Plugin as _0x5c506e,merge as _0x4928ee,mergeOverrideWithDependencies as _0x3ffbf0,IAuthzIoService as _0x21bf61,IMentionIOService as _0x78348d,registerDependencies as _0x56732b,Quantity as _0x2dffeb,touchDependencies as _0x30d14c}from'@univerjs/core';function _0xd133(){var _0x5dffa5=['disableLocalCache','stopTime','_httpService','_nDataBytes','BufferedBlockAlgorithm','SHOULD_CLOSE_CONN','_getAPIPrefixPath','iterations','HEARTBEAT_INTERVAL','_snapshotService','put','resend','_revisionService','has','People','UNIVER_SHEET','saveImage','create','getDeserializedSheetBlock','__creator','NO_OTHER_CLIENTS_EDITING','c1Prime','default','getCurrentUser','_HTTPService','readAsDataURL','byteOffset','_doCryptBlock','_transitionLocked','_toggleOffline','_executeRemoteChangeset','PERMISSION_DENIED','UNIVER_DOC','objectActions','_joinRoom','POST','dispose','DEFAULT_FILE_NAME','/block/','_config','UnitEmbedded','state','_clearRetryConnectingTimer','forEach','compose','x-univer-host','_startCollaboration','/fetchmissing?from=','YUUMI_SUBSCRIPTION_NOT_FOUND','isArray','_instanceService','_transformUndoredo','_createHmacHelper','_sender','now','awaiting_with_pending','{fileID}','next','result','UNIVER_COLLABORATION_CLIENT_PLUGIN','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','getCollabEntity','RETRY_CONNECTING_MAX_COUNT','pending','mutations','override','_getCtorByUniverType','IDLE','/-/object/-/batch_allowed','getTypeOfUnitDisposed$','encode','Base','emitEvent','CHANGESET_SHOULD_RETRY','[DataLoaderService]','StreamCipher','Encryptor','fetchThroughInterceptors','/collaborator','BlockCipherMode','_transformSelections','YUUMI_UNABLE_LOAD_URL','_decreaseWaiting','COMPRESS_MUTATION_SEND','json','duration','bind','awaiting','PENDING','APPLY_NON_SEQUENTIAL_REVISION','UNKNOWN_CMD','_getSendChangesetTimeout','function','resourceIDs','isPermissionRej','crypto','buffer','_applyRemoteChangeset','_throwTelemetryCollaborationNewChangeset','_clearTimeoutTimer','encrypt','onlyLocal','APPLY_DUPLICATED','_parse','data','__Key__','cfg','randomBytes','_onConnectionFailed','_configService','_onRemoteACK','msCrypto','byteLength','_disableEditing','mixIn','CHANGESET_REVISION_CONFILICT','_commentService','_transformService','changesets','_retryConnectingTimer','_state','userID','prototype','Base64','/universer-api/snapshot/','then','snapshotServerUrl','_clearRedo','clamp','getSheetId','getResourcesRequest','_clearUndo','resolve','floor','LIVESHARE_NEW_HOST','liveShareOperation','_commentUpdate$','open$','[CollaborationSession]','Cipher','_startTelemetryCollaborationNewChangeset','ENSURE_SNAPSHOT_EXECUTION','ALREADY_EXISTS','UNKNOWN_CODE','NEW_CHANGESETS','error','\x0aCurrent:\x20','memberID','transformMutationsWithChangeset','PY_RUNTIME_SCRIPT_ERROR','lib','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','enc','revision','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','/universer-api/uniscript','_networkConditionService','_handlerCallback','reverse','Hasher','online$','HEARTBEAT','getMember','baseRev','__esModule','fetching\x20missing\x20changesets\x20from\x20','_state$','liveShareNewHost','allowed','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','leaveEvent','uniscriptRunEvent','ws://127.0.0.1:8000/universer-api/comb/connect','generateRandomId','setWaitCount','onTransformSelections','getUnitType','readyForCollab','LICENSE_IMPORT_SIZE_EXCEEDED','_clearHeartbeatTimer','removeMember','onRemoteRetry','_toggleOnline','processBlock','src','onTransformRemoteChangesetByStateCache','_mode','body','reqId','GLOBAL_ROOMS_CNT_EXCEEDS','onMissedChangesetFetched','roomInfos','_onUserLeave','Utf8','_initMergeInterceptor','_submitChangeset','charCodeAt','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','repeat','_minBufferSize','shouldCloseConn','save\x20fail\x20reason\x20is\x20','saveSheetBlock','_sheetTransformSelectionsService','status','_reverseMap','state$','AES','_awaitingChangeset','_singleActiveUnitService','UPDATE_CURSOR','_compressMutationService','onRemoteChangeset','LEAVE','_createInitialStateImpl','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','enableOfflineEditing','startsWith','_entityInit$','pipe','_getCurrentRevision','UNAUTHENTICATED','compute','deepClone','_redoStacks','salt','appendMutation','_telemetryService','_roomMembers','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','formatter','saveSnapshot','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','getCurrentRevOfUnit','_change$','_shouldReportTelemetry','JOIN_ROOM_FAILED','c2Prime','LICENSE_EXPORT_SIZE_EXCEEDED','toString','onStarting','UnitSnapshot','SYNCED','_queuedRemoteChangesets','listRoles','_collabSessionService','rev','origin','/object','permissionRejEvent','SOCKET_FAILED','interceptor','every','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','Malformed\x20UTF-8\x20data','LIVESHARE_FETCH_OPERATIONS','not_collab','\x20in\x20_schedule.','name','onTransformRemoteChangesetByIMECache','fetchMiss','_updateStatus','_getAPIPrefix','_rescheduleHeartbeat','unknown','\x0aAfter:\x20','getConfig','BASE64','UPDATE_PERMISSION_OBJ','format','_init','_substituteRedoStack','signUrlServerUrl','originalMeta','push','JOIN_ROOM_NOT_EXISTS','image/bmp','rng','blockSize','exports','putCollaborators','_collaborationSessionService','setShowComponents','_status$','_sessionStatus$','[CollaborationEntity]','join','COLLAB_SUBMIT_CHANGESET_URL','asObservable','toggleOnline','copyFileMeta','reduce','collabSubmitChangesetUrl','_eventService','_updateLocalCache','collaborators','addImageSourceCache','_onCombEvent','getCollabEntity$','FETCH_MISS','size','_doFinalize','getUnit','_localCacheService','UNIVER_UNKNOWN','concat','/role','_logService','_onConnectionOpen','/universer-api/user/session-ticket','_clearScheduledTask','148128IQOUEa','INTERNAL_ERROR','focused$','random','getImage','HELLO','getCurrentSelections','set','NOT_FOUND','length','unitID','_socket$','_hash','stringify','/universer-api/file/{fileID}/sign-url','_sessions','clone','cmd','objectType','pad','setConfig','collaboration-client.local-cache-service','getSheetBlock','message$','conflict','headers','_resendTimer','COLLAB_WEB_SOCKET_URL','ivSize','finalize','_key','CLOSE_ROOM','eventID','_hasher','reject','getFocusedUnit','Could\x20not\x20dynamically\x20require\x20\x22','427QjppHa','_telemetryInfo','_injector','find','post','[CollaborationState]:\x20apply\x20error!','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','sessionStatus$','extend','PERSON','update','_undoStacks','hostname','toggleOffline','_onRemoteRejected','socket\x20open.','getUnitId','connection\x20error','getRandomValues','LICENSE_DISTRO_REJECTED','encryptBlock','ONLINE','_map','500934ZPHBEB','Univer','_waitCount','slice','_nRounds','executeCommand','/resources','decrypt','pluginName','kdf','/object/','unitInfo$','createDecryptor','SHA1','_collaborationUIEventService','SOCKET_FAILED_RETRY','key','sigBytes','_keyPriorReset','USERS_ENTER','_unlockTransition','getAllMembers','setCurrentUser','COMPLETION_FINISHED','10ZxJiWt','m2Prime','onLocalMutation','_substituteUndoStack','_onOffline','CONFLICT','HmacSHA1','algo','_xformMode','target','SNAPSHOT_HAS_BEEN_REMOVED','sessionStatus','reconnect','SUCCUSS','loadDoc','image/jpeg','[CollaborationSessionService]','RECV','unpad','CHANGESET_REJ','onCommandExecuted','_syncEditingCollabCursor','uploadFileServerUrl','/universer-api/oidc/authpage','randomUUID','/universer-api/authz','_getUploadFileURL','JOIN_ROOM_FULL','_snapshotServerService','\x20to\x20','_getLoginPath','_updateState','textRanges','[PendingState]:\x20received\x20rejection.','SNAPSHOT_SERVER_URL_KEY','location','SUBMIT_CHANGESET','_initUnitPermissionChange','append','dispose$','HttpExport','_tryReconnect','apply','SNAPSHOT_INVALID_SNAPSHOT','FETCH_MISSING','_changesetSessionId','complete','addHandlerCallback','JOIN_ROOM_PERMISSION_DENIED','updateMember','error$','_invKeySchedule','APPLY_REJECT','clear','_getSignURL','newCsEvent','session.join-failed','_userManagerService','session.room-cnt-exceeds','_createSocket','_createHelper','_socket','readInt32LE','padding','pauseCollaboration','_acknowledgedAwaitingChangeset','Pkcs7','keySize','incrementRevOfUnit','USERS_LEAVE','transformSelections','_pendingMutations','fromCharCode','abs','[CollaborationSessionService]:\x20socket\x20error','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','_socketService','getOwnPropertyDescriptor','AWAITING','UUID','initWorkbookPermissionChange','action','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','_onRemoteChangeset','symbol','min','hasOwnProperty','_doCreateSocket','url','_stopTelemetryCollaborationNewChangeset','roles','Random\x20bytes\x20length\x20must\x20be\x20>=\x2016','&source=','session.room-permission-denied','words','PSEUDO_FETCH_MISSING_RESULT','_socketReady','LICENSE_MAX_UNITS_EXCEEDED','getImageSourceCache','UNIVER_PROJECT','[OfflineState]:\x20received\x20rejection.','snapshot','routeKey','ciphertext','YUUMI_RATE_OVER_LIMIT','call','getSnapshotAPIPath','COMPRESS_MUTATION_APPLY','_transformRemoteChangesetByStateCache','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','_checkMissing','_keySchedule','_onJoinRoomEvent','transformUndoRedo','transformChangesets','filter','awaitingChangeset','encodeURIComponent','range','_createHandler','includes','offline','updateCollaborator','UNIVER_SLIDE','ceil','href','_clearCollaborationTimeoutTimer','getLatestCsReqIdBySid','_remoteChangesetQueue','_emitMembers','$super','_prevBlock','_getRedoStack','getTime','_clearLocalCache','socketService','loadUnit','[OfflineState]:\x20received\x20acknowledgement.','unitId\x20is\x20not\x20found','_transformRemoteChangesetByIMECache','_doReset','ERROR_IMAGE','subscribe','telemetry\x20info\x20is\x20not\x20initialized','selections','collabWebSocketUrl','unit-cache-','_showConflictNotification','close','COMMENT_UPDATE','_resendTimeout','_imageSourceCache','reset','get','_univerInstanceService','toLowerCase','2211625CRsjIV','/-/object/list','fetchMissingChangesets','subject','csShouldRetryEvent','/new_changes','_onFetchMissResult','/rev/','failed\x20to\x20apply\x20missed\x20changesets!','APPLY_REVISION_CONFILICT','defineProperty','getInterceptPoints','OpenSSL','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','univer-pro.collaboration-client.network-condition.service','/universer-api/comb','_socketMessageSubscription','avatar','createEncryptor','actions','&assign=','_memberService','getTypeOfUnitAdded$','execute','3252796DIbqLV','params','9097587jiXNoy','_onLocalMutation','_removeRoom','image/gif','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','univer-pro.collaboration-client-socket-service','PasswordBasedCipher','event$','EvpKDF','_listenToNetworkCondition','FileId','getValue','requireSession','_onMessage','loadSheet','_cipher','_sendingTimer','updatePermissionObjEvent','image/png','loginUrlKey','_scheduleCompleteTimestamp','_lockTransition','onRemoteAck','onTransformIME','NoPadding','MUTATION','init','_roomCreated$','_schedule','_createInitialState','_members$','_append','NOT_COLLAB','_timeoutTimer','_candidateSocket','map','_event$','delete','workbook','LIVESHARE_OPERATION','getRoom','PERMISSION_REJ','editing\x20status\x20changed\x20to','socket\x20close','hasher','createCollaborator','_scheduleCollaborationTimeoutTimer','YUUMI_URL_COL_OUT_OF_RANGE','_permissionService','[PendingState]:\x20received\x20acknowledgement.','_transformStateCache','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','SerializableCipher','/allowed','EXCHANGE_SIGN_URL_SERVER_URL_KEY','1390174BThEfW','_entities','send','LIVESHARE_TERMINATE','BlockCipher','SUBMIT_CHANGESET_TIMEOUT','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','substr','splice','CHANGESET_ACK','socket$','getWorkbookSelections','unitId','_fetchMissChangesets','title','indexOf','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','retryConnectingInterval','HMAC','ERROR_IMAGE_TYPE','LIVESHARE_REQUEST_HOST','_initDependencies','/unit/','code','_unitInfo$','transformStack\x20failed!','synced','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','collaboratorID','INVALID_ARGUMENT','updatePermissionPoint','loadOfflineData','session','MSG_FOR_ERROR','_iv','string','Decryptor','sendChangesetTimeout','_ENC_XFORM_MODE','_initRequestHeader','JOINING','UNRECOGNIZED','onRemoteRej','getActiveSheet','UNDEFINED','requestParams','replace','onSyncEditingCollabCursor','_replaceFileID','method','_onRemoteRetry','listCollaborators','entityInit$','type','patch','parse','csRejEvent','_transformIMECache','MD5','HEARTBEAT_TIMEOUT','closeSession','debug','onMissingChangesets','\x20-\x20','_getDownloadEndpointURL','list','&to=','charAt','onSendChangeset','_isPermissionRej','_changesetReqId','max','_undoRedoService','_onConflict','_process','[PendingState]:\x20unhandled\x20univer\x20type:\x20','_unitID','_waitForHeartbeatResponse','joinRsp','9893296vYBabR','_collaborationTimeoutTimer','_commandService','_replayCachedMutations','Undefined','objectID','editingUnit','registerHTTPInterceptor','_sendHeartbeatTimer','[OfflineState]:\x20received\x20changeset.','createSocket','mode','HttpImport','status$','JOIN','_data','_registerDependencies','fetch_missing','unsubscribe','objects','OTHER_CLIENTS_EDITING','startTime','onTransformState','enableAuthServer','_retryCount','auth.needGotoLoginAlert','localCacheService','_tryEnsureSocket','HmacMD5','updateOfflineData','downloadEndpointUrl','_transformStack','[SyncedState]:\x20received\x20rejection.','getUnitOnRev','_onRecvEvent','FAIL','authzUrl','_members','_incrementRevisionNumber','withCredentials','add','disposeWithMe','OFFLINE','localeService','WordArray','capture','createInstance','INGEST','getMemberID','_handler','_collaborationPaused','_type','_resendWithTimeout','_loadDoc','AUTHZ_URL_KEY','CONNECTOR_DATA_TOO_LARGE','_localeService','_loadSheet'];_0xd133=function(){return _0x5dffa5;};return _0xd133();}import{Subject as _0x3463e2,merge as _0x35d413,of as _0x2ffc98,BehaviorSubject as _0x53c6de,takeUntil as _0x46ac95,ReplaySubject as _0x53cbb1,take as _0x51e724,map as _0x2032a0,shareReplay as _0x115247,firstValueFrom as _0x491df1,concatMap as _0x52f1d8}from'rxjs';import{map as _0x3b11d5,take as _0x3247c8,filter as _0x17ac6b,delay as _0xd3d3c9,takeUntil as _0x10515a}from'rxjs/operators';import{CollaborationEvent as _0x5573d2,ISnapshotServerService as _0x37b591,parseChangesetToProtocol as _0x2debde,ITransformService as _0x240e9b,isTransformMutationsWithChangesetSuccess as _0xfee016,mapDocumentTypeToUniverType as _0xe6382e,RevisionService as _0x2d6b77,isTransformChangesetsSuccess as _0x40379d,CompressMutationService as _0x5d301a,parseProtocolChangeset as _0x17596b,SnapshotService as _0x1baaa,textEncoder as _0x3ae9ad,b64DecodeUnicode as _0x1d768f,isTransformMutationsWithChangesetFailure as _0xd29b06,UniverCollaborationPlugin as _0x1355f4}from'@univerjs-pro/collaboration';import{HTTPService as _0x3f95f0,ISocketService as _0x946dc8,MergeInterceptorFactory as _0x32b04b,HTTPRequest as _0x569293,UniverNetworkPlugin as _0x59f2ab,ThresholdInterceptorFactory as _0x3f5004}from'@univerjs/network';import{ITelemetryService as _0x53a5e0}from'@univerjs/telemetry';function _0x1756(_0x43049f,_0x25d8c5){var _0xd133ad=_0xd133();return _0x1756=function(_0x1756e6,_0xca19cd){_0x1756e6=_0x1756e6-0xe8;var _0x408ed9=_0xd133ad[_0x1756e6];return _0x408ed9;},_0x1756(_0x43049f,_0x25d8c5);}import{RichTextEditingMutation as _0x185db1}from'@univerjs/docs';import{SheetsSelectionsService as _0x68eae5,SetSelectionsOperation as _0x210000,InsertSheetMutation as _0x4b4cd9,EmptyMutation as _0x41f9ff,WorkbookEditablePermission as _0x4b8baf,SheetPermissionInitController as _0x2c2bdd}from'@univerjs/sheets';import{ImageSourceType as _0x5887a9,ImageUploadStatusType as _0x1778d9,IImageIoService as _0x5b7beb}from'@univerjs/drawing';import{getGlobalObject as _0x126570}from'@univerjs-pro/license';const pr=_0x463ce4(0x11f),mr='/universer-api/snapshot',gr='SNAPSHOT_URL_KEY',xs='SEND_CHANGESET_TIMEOUT',Sr=0x7d0,Er=_0x463ce4(0x3c7),Ir=_0x463ce4(0x320),Ls=_0x463ce4(0x3aa),Tr=_0x463ce4(0x27c),Cr=0x7530,mi=_0x463ce4(0x226),gi=0x4e20,Rr=0x4e20,br=_0x463ce4(0x2b2),yr=0x3,Ms='LOCAL_CACHE_INTERVAL',ks=0x3e8,Or=_0x463ce4(0x394),Nr=_0x463ce4(0x1a9),Dr='LOGIN_URL_KEY',wr=_0x463ce4(0x114),$s=_0x463ce4(0x372),Hs=_0x463ce4(0x30f);var Si=(_0x3d7c56=>(_0x3d7c56[_0x3d7c56[_0x463ce4(0x217)]=0x0]=_0x463ce4(0x217),_0x3d7c56[_0x3d7c56['OK']=0x1]='OK',_0x3d7c56[_0x3d7c56['INTERNAL_ERROR']=0x2]=_0x463ce4(0x3ad),_0x3d7c56[_0x3d7c56[_0x463ce4(0x293)]=0x3]=_0x463ce4(0x293),_0x3d7c56[_0x3d7c56[_0x463ce4(0x3b4)]=0x4]=_0x463ce4(0x3b4),_0x3d7c56[_0x3d7c56[_0x463ce4(0x351)]=0x5]=_0x463ce4(0x351),_0x3d7c56[_0x3d7c56[_0x463ce4(0x302)]=0x6]=_0x463ce4(0x302),_0x3d7c56[_0x3d7c56[_0x463ce4(0x208)]=0x7]=_0x463ce4(0x208),_0x3d7c56[_0x3d7c56['TOO_MANY_REQUESTS']=0x8]='TOO_MANY_REQUESTS',_0x3d7c56[_0x3d7c56[_0x463ce4(0xfc)]=0x9]=_0x463ce4(0xfc),_0x3d7c56[_0x3d7c56[_0x463ce4(0x2e7)]=0x1389]=_0x463ce4(0x2e7),_0x3d7c56[_0x3d7c56[_0x463ce4(0x128)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x3d7c56[_0x3d7c56[_0x463ce4(0x107)]=0x1772]=_0x463ce4(0x107),_0x3d7c56[_0x3d7c56[_0x463ce4(0x301)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x3d7c56[_0x3d7c56[_0x463ce4(0x131)]=0x1b59]=_0x463ce4(0x131),_0x3d7c56[_0x3d7c56[_0x463ce4(0x2cd)]=0x1b5a]=_0x463ce4(0x2cd),_0x3d7c56[_0x3d7c56['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x463ce4(0x1a3),_0x3d7c56[_0x3d7c56['APPLY_PERMISSION_DENIED']=0x1b5c]='APPLY_PERMISSION_DENIED',_0x3d7c56[_0x3d7c56[_0x463ce4(0x2da)]=0x1b5d]=_0x463ce4(0x2da),_0x3d7c56[_0x3d7c56[_0x463ce4(0x271)]=0x1f41]=_0x463ce4(0x271),_0x3d7c56[_0x3d7c56[_0x463ce4(0x15f)]=0x2329]=_0x463ce4(0x15f),_0x3d7c56[_0x3d7c56[_0x463ce4(0x1a7)]=0x232a]=_0x463ce4(0x1a7),_0x3d7c56[_0x3d7c56['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x463ce4(0x326),_0x3d7c56[_0x3d7c56[_0x463ce4(0x362)]=0x232c]=_0x463ce4(0x362),_0x3d7c56[_0x3d7c56[_0x463ce4(0x3e5)]=0x232d]=_0x463ce4(0x3e5),_0x3d7c56[_0x3d7c56[_0x463ce4(0x2c5)]=0x2711]=_0x463ce4(0x2c5),_0x3d7c56[_0x3d7c56[_0x463ce4(0x1e3)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x3d7c56[_0x3d7c56[_0x463ce4(0x166)]=0x2713]=_0x463ce4(0x166),_0x3d7c56[_0x3d7c56['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x463ce4(0x2a4),_0x3d7c56[_0x3d7c56['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x463ce4(0x309),_0x3d7c56[_0x3d7c56[_0x463ce4(0x214)]=-0x1]=_0x463ce4(0x214),_0x3d7c56))(Si||{}),Q=(_0xbd5caa=>(_0xbd5caa[_0xbd5caa['UNIVER_UNKNOWN']=0x0]=_0x463ce4(0x3a5),_0xbd5caa[_0xbd5caa['UNIVER_DOC']=0x1]=_0x463ce4(0x294),_0xbd5caa[_0xbd5caa['UNIVER_SHEET']=0x2]=_0x463ce4(0x283),_0xbd5caa[_0xbd5caa[_0x463ce4(0x179)]=0x3]=_0x463ce4(0x179),_0xbd5caa[_0xbd5caa[_0x463ce4(0x161)]=0x4]=_0x463ce4(0x161),_0xbd5caa[_0xbd5caa[_0x463ce4(0x214)]=-0x1]='UNRECOGNIZED',_0xbd5caa))(Q||{}),F=(_0x378b06=>(_0x378b06[_0x378b06[_0x463ce4(0x2ce)]=0x0]='UNKNOWN_CMD',_0x378b06[_0x378b06[_0x463ce4(0x3b1)]=0x1]=_0x463ce4(0x3b1),_0x378b06[_0x378b06[_0x463ce4(0x248)]=0x2]=_0x463ce4(0x248),_0x378b06[_0x378b06[_0x463ce4(0x349)]=0x3]='LEAVE',_0x378b06[_0x378b06[_0x463ce4(0x269)]=0x4]=_0x463ce4(0x269),_0x378b06[_0x378b06[_0x463ce4(0x315)]=0x5]='HEARTBEAT',_0x378b06[_0x378b06[_0x463ce4(0x10e)]=0x6]='RECV',_0x378b06[_0x378b06[_0x463ce4(0x214)]=-0x1]=_0x463ce4(0x214),_0x378b06))(F||{}),ge=(_0x37c9fc=>(_0x37c9fc[_0x37c9fc['UNKNOWN_CODE']=0x0]=_0x463ce4(0x303),_0x37c9fc[_0x37c9fc['OK']=0x1]='OK',_0x37c9fc[_0x37c9fc[_0x463ce4(0x25d)]=0x2]=_0x463ce4(0x25d),_0x37c9fc[_0x37c9fc[_0x463ce4(0x118)]=0x3e9]=_0x463ce4(0x118),_0x37c9fc[_0x37c9fc[_0x463ce4(0x388)]=0x3ea]=_0x463ce4(0x388),_0x37c9fc[_0x37c9fc[_0x463ce4(0x12d)]=0x3eb]=_0x463ce4(0x12d),_0x37c9fc[_0x37c9fc[_0x463ce4(0x331)]=0x3ec]=_0x463ce4(0x331),_0x37c9fc[_0x37c9fc[_0x463ce4(0x214)]=-0x1]='UNRECOGNIZED',_0x37c9fc))(ge||{}),Ei=(_0xebc161=>(_0xebc161[_0xebc161[_0x463ce4(0x23e)]=0x0]=_0x463ce4(0x23e),_0xebc161[_0xebc161[_0x463ce4(0x246)]=0x1]=_0x463ce4(0x246),_0xebc161[_0xebc161[_0x463ce4(0x125)]=0x2]='HttpExport',_0xebc161[_0xebc161[_0x463ce4(0x29c)]=0x3]='UnitEmbedded',_0xebc161[_0xebc161[_0x463ce4(0x365)]=0x4]=_0x463ce4(0x365),_0xebc161[_0xebc161['UNRECOGNIZED']=-0x1]=_0x463ce4(0x214),_0xebc161))(Ei||{});const q='collaboration-client.config',Ur={};var se=(_0x58216b=>(_0x58216b['OTHER_CLIENT_EDITING']='OTHER_CLIENT_EDITING',_0x58216b[_0x463ce4(0x293)]=_0x463ce4(0x293),_0x58216b[_0x463ce4(0x102)]=_0x463ce4(0x102),_0x58216b[_0x463ce4(0x3cb)]='CLOSE_ROOM',_0x58216b[_0x463ce4(0x360)]='JOIN_ROOM_FAILED',_0x58216b['SOCKET_FAILED_RETRY']=_0x463ce4(0xf4),_0x58216b[_0x463ce4(0x36e)]='SOCKET_FAILED',_0x58216b[_0x463ce4(0x1f0)]='SUBMIT_CHANGESET_TIMEOUT',_0x58216b))(se||{});class pe{constructor(){var _0x201b86=_0x463ce4;N(this,_0x201b86(0x1d8),new _0x3463e2()),N(this,_0x201b86(0x1bb),this[_0x201b86(0x1d8)][_0x201b86(0x395)]());}[_0x463ce4(0x2bc)](_0x1cf46b){var _0x1f69d9=_0x463ce4;this['_event$'][_0x1f69d9(0x2ad)](_0x1cf46b);}}const Ar=_0x4450a2(_0x463ce4(0x1a8));function Pr(_0x37f1de){var _0x436d63=_0x463ce4,_0x485f53,_0x43d601,_0x14168f,_0x3648eb,_0x20483a;const _0x3a2783=_0x37f1de[_0x436d63(0x2dc)],_0x262c90=JSON[_0x436d63(0x222)](_0x3a2783);switch(_0x262c90['cmd']){case F['HEARTBEAT']:case F[_0x436d63(0x3b1)]:{const _0x7ec0b8=_0x262c90['infoRsp'];return{..._0x262c90,'data':_0x7ec0b8,'cmd':_0x262c90['cmd']};}case F[_0x436d63(0x248)]:{const _0x4bd20b=_0x262c90[_0x436d63(0x239)];return{..._0x262c90,'data':_0x4bd20b,'cmd':_0x262c90[_0x436d63(0x3bd)]};}case F[_0x436d63(0x10e)]:{const _0x6f38e3=_0x262c90['collaMsg'];switch(_0x6f38e3[_0x436d63(0x3cc)]){case _0x5573d2[_0x436d63(0x1dd)]:return{..._0x262c90,'data':{..._0x6f38e3,'data':(_0x485f53=_0x6f38e3[_0x436d63(0x36d)])==null?void 0x0:_0x485f53['cs']},'cmd':_0x262c90[_0x436d63(0x3bd)]};case _0x5573d2[_0x436d63(0x1f4)]:return{..._0x262c90,'data':{..._0x6f38e3,'data':(_0x43d601=_0x6f38e3['csAckEvent'])==null?void 0x0:_0x43d601['cs']},'cmd':_0x262c90[_0x436d63(0x3bd)]};case _0x5573d2[_0x436d63(0x304)]:return{..._0x262c90,'data':{..._0x6f38e3,'data':(_0x14168f=_0x6f38e3[_0x436d63(0x134)])==null?void 0x0:_0x14168f['cs']},'cmd':_0x262c90[_0x436d63(0x3bd)]};case _0x5573d2['CHANGESET_REJ']:return{..._0x262c90,'data':{..._0x6f38e3,'data':(_0x3648eb=_0x6f38e3[_0x436d63(0x223)])==null?void 0x0:_0x3648eb['cs']},'cmd':_0x262c90[_0x436d63(0x3bd)]};case _0x5573d2[_0x436d63(0x2bd)]:return{..._0x262c90,'data':{..._0x6f38e3,'data':(_0x20483a=_0x6f38e3[_0x436d63(0x19e)])==null?void 0x0:_0x20483a['cs']},'cmd':_0x262c90[_0x436d63(0x3bd)]};case _0x5573d2[_0x436d63(0x346)]:return{..._0x262c90,'data':{..._0x6f38e3,'data':_0x6f38e3['updateCursorEvent']},'cmd':_0x262c90[_0x436d63(0x3bd)]};case _0x5573d2['USERS_ENTER']:return{..._0x262c90,'data':{..._0x6f38e3,'data':_0x6f38e3['joinEvent']},'cmd':_0x262c90[_0x436d63(0x3bd)]};case _0x5573d2['USERS_LEAVE']:return{..._0x262c90,'data':{..._0x6f38e3,'data':_0x6f38e3[_0x436d63(0x31e)]},'cmd':_0x262c90[_0x436d63(0x3bd)]};case _0x5573d2['LIVESHARE_NEW_HOST']:return{..._0x262c90,'data':{..._0x6f38e3,'data':_0x6f38e3[_0x436d63(0x31b)]},'cmd':_0x262c90[_0x436d63(0x3bd)]};case _0x5573d2[_0x436d63(0x374)]:case _0x5573d2['LIVESHARE_OPERATION']:return{..._0x262c90,'data':{..._0x6f38e3,'data':_0x6f38e3[_0x436d63(0x2fb)]},'cmd':_0x262c90[_0x436d63(0x3bd)]};case _0x5573d2[_0x436d63(0x1ee)]:return{..._0x262c90,'data':{..._0x6f38e3,'data':_0x6f38e3[_0x436d63(0x31b)]},'cmd':_0x262c90[_0x436d63(0x3bd)]};case _0x5573d2[_0x436d63(0x20c)]:return{..._0x262c90,'data':_0x6f38e3,'cmd':_0x262c90[_0x436d63(0x3bd)]};case _0x5573d2[_0x436d63(0x193)]:return{..._0x262c90,'data':{..._0x6f38e3,'data':_0x6f38e3['commentUpdateEvent']},'cmd':_0x262c90['cmd']};case _0x5573d2['UPDATE_PERMISSION_OBJ']:return{..._0x262c90,'data':{..._0x6f38e3,'data':_0x6f38e3[_0x436d63(0x1c5)]},'cmd':_0x262c90['cmd']};case _0x5573d2[_0x436d63(0x279)]:return{..._0x262c90,'data':{..._0x6f38e3,'data':_0x6f38e3[_0x436d63(0x33c)]},'cmd':_0x262c90['cmd']};case _0x5573d2['UNISCRIPT_RUN']:return{..._0x262c90,'data':{..._0x6f38e3,'data':_0x6f38e3[_0x436d63(0x31f)]},'cmd':_0x262c90['cmd']};default:return _0x262c90;}}default:return _0x262c90;}}function xr(_0x173934){var _0x3c17de=_0x463ce4;switch(_0x173934[_0x3c17de(0x3bd)]){case F['HEARTBEAT']:case F[_0x3c17de(0x3b1)]:return JSON['stringify']({'cmd':_0x173934[_0x3c17de(0x3bd)],'routeKey':_0x173934[_0x3c17de(0x164)]});case F[_0x3c17de(0x269)]:{let _0x1fc77c;switch(_0x173934[_0x3c17de(0x2dc)][_0x3c17de(0x3cc)]){case _0x5573d2[_0x3c17de(0x346)]:{_0x1fc77c={'eventID':_0x5573d2[_0x3c17de(0x346)],'updateCursorEvent':_0x173934[_0x3c17de(0x2dc)][_0x3c17de(0x2dc)]};break;}case _0x5573d2[_0x3c17de(0x142)]:{_0x1fc77c={'eventID':_0x5573d2[_0x3c17de(0x142)],'leaveEvent':_0x173934[_0x3c17de(0x2dc)]['data']};break;}case _0x5573d2[_0x3c17de(0xf8)]:{_0x1fc77c={'eventID':_0x5573d2[_0x3c17de(0xf8)],'joinEvent':_0x173934[_0x3c17de(0x2dc)]['data']};break;}case _0x5573d2[_0x3c17de(0x2fa)]:{_0x1fc77c={'eventID':_0x5573d2[_0x3c17de(0x2fa)],'liveShareNewHost':_0x173934['data'][_0x3c17de(0x2dc)]};break;}case _0x5573d2[_0x3c17de(0x1db)]:{_0x1fc77c={'eventID':_0x5573d2['LIVESHARE_OPERATION'],'liveShareOperation':_0x173934[_0x3c17de(0x2dc)][_0x3c17de(0x2dc)]};break;}case _0x5573d2[_0x3c17de(0x1ee)]:{_0x1fc77c={'eventID':_0x5573d2[_0x3c17de(0x1ee)],'liveShareTerminate':_0x173934[_0x3c17de(0x2dc)][_0x3c17de(0x2dc)]};break;}case _0x5573d2[_0x3c17de(0x1ff)]:{_0x1fc77c={'eventID':_0x5573d2['LIVESHARE_REQUEST_HOST'],'liveShareRequestHost':_0x173934['data'][_0x3c17de(0x2dc)]};break;}case _0x5573d2[_0x3c17de(0x374)]:{_0x1fc77c={'eventID':_0x5573d2[_0x3c17de(0x374)]};break;}default:_0x1fc77c={'eventID':_0x173934[_0x3c17de(0x2dc)][_0x3c17de(0x3cc)]};}return JSON['stringify']({'cmd':_0x173934['cmd'],'routeKey':_0x173934[_0x3c17de(0x164)],'collaMsg':_0x1fc77c});}case F[_0x3c17de(0x248)]:return JSON[_0x3c17de(0x3b9)]({'cmd':_0x173934[_0x3c17de(0x3bd)],'routeKey':_0x173934['routeKey'],'joinReq':_0x173934[_0x3c17de(0x2dc)]});case F[_0x3c17de(0x349)]:return JSON[_0x3c17de(0x3b9)]({'cmd':_0x173934['cmd'],'routeKey':_0x173934[_0x3c17de(0x164)],'leaveReq':_0x173934[_0x3c17de(0x2dc)]});default:throw new Error(_0x3c17de(0x206));}}var Lr=Object[_0x463ce4(0x14b)],Mr=(_0x301500,_0x57d4c3,_0x3bfa25,_0x28f307)=>{var _0x522918=_0x463ce4;for(var _0x3dd09d=_0x28f307>0x1?void 0x0:_0x28f307?Lr(_0x57d4c3,_0x3bfa25):_0x57d4c3,_0x32c5c7=_0x301500[_0x522918(0x3b5)]-0x1,_0x572cea;_0x32c5c7>=0x0;_0x32c5c7--)(_0x572cea=_0x301500[_0x32c5c7])&&(_0x3dd09d=_0x572cea(_0x3dd09d)||_0x3dd09d);return _0x3dd09d;},Ue=(_0x107952,_0x25672f)=>(_0x279a27,_0x5afea0)=>_0x25672f(_0x279a27,_0x5afea0,_0x107952);const Ii=_0x4450a2(_0x463ce4(0x1b9));function kr(_0x612d80,_0x9185e9,_0x4efae3){var _0x557768=_0x463ce4;return _0x612d80+'/'+_0x9185e9+'/unit/'+_0x4efae3+_0x557768(0x19f);}let Vt=class extends _0xbdc86a{constructor(_0x4b86b5,_0x37cefa,_0x196b92,_0x184418,_0x4b165b){var _0x1a6b6b=_0x463ce4;super(),this[_0x1a6b6b(0x3d3)]=_0x4b86b5,this[_0x1a6b6b(0x276)]=_0x37cefa,this[_0x1a6b6b(0x2e1)]=_0x196b92,this[_0x1a6b6b(0x3a8)]=_0x184418,this[_0x1a6b6b(0x119)]=_0x4b165b;}[_0x463ce4(0x155)](_0x15937d){var _0x584459=_0x463ce4;const _0x18f7fb=this[_0x584459(0x3d3)]['get'](_0x946dc8);if(!_0x18f7fb)throw new Error(_0x584459(0x16b));const _0x5cef7b=_0x18f7fb[_0x584459(0x244)](_0x15937d);if(!_0x5cef7b)throw new Error(_0x584459(0x1fb));const _0x4a10ea=new _0x5c5417(),_0x4f7d4f=new _0x3463e2();_0x4a10ea[_0x584459(0x262)](_0x5cef7b['close$'][_0x584459(0x18c)](_0xcc26e5=>_0x4f7d4f['next'](_0xcc26e5))),_0x4a10ea[_0x584459(0x262)](_0x47f170(()=>_0x4f7d4f[_0x584459(0x12b)]()));const _0x1db3ac=new _0x3463e2();_0x4a10ea[_0x584459(0x262)](_0x5cef7b[_0x584459(0x12f)][_0x584459(0x18c)](_0x4b89dd=>_0x1db3ac[_0x584459(0x2ad)](_0x4b89dd))),_0x4a10ea[_0x584459(0x262)](_0x47f170(()=>_0x1db3ac[_0x584459(0x12b)]()));const _0x26b474=new _0x3463e2();_0x4a10ea[_0x584459(0x262)](_0x5cef7b['message$'][_0x584459(0x18c)](_0x1d5936=>{var _0x203b13=_0x584459;const _0x15419f=Pr(_0x1d5936);_0x26b474[_0x203b13(0x2ad)](_0x15419f);})),_0x4a10ea[_0x584459(0x262)](_0x47f170(()=>_0x26b474[_0x584459(0x12b)]()));let _0x34bfb6;const _0x50e51b=()=>{var _0x2f463e=_0x584459;_0x1db3ac[_0x2f463e(0x2ad)](new Event(_0x2f463e(0x3e3))),_0x4f7d4f[_0x2f463e(0x2ad)](new Event(_0x2f463e(0x3e3))),_0x34bfb6[_0x2f463e(0x192)]();};return _0x34bfb6={'memberID':'','close$':_0x4f7d4f['asObservable'](),'error$':_0x1db3ac['asObservable'](),'open$':_0x5cef7b[_0x584459(0x2fd)],'message$':_0x26b474[_0x584459(0x395)](),'send':_0x2ad068=>{var _0x492381=_0x584459;if(_0x2ad068[_0x492381(0x3bd)]===F['INGEST']){if(_0x2ad068[_0x492381(0x2dc)][_0x492381(0x3cc)]===_0x5573d2[_0x492381(0x121)]){this[_0x492381(0x337)](_0x34bfb6,_0x2ad068[_0x492381(0x2dc)])['catch'](_0x4e268a=>{var _0x313a75=_0x492381;this[_0x313a75(0x3a8)]['error'](_0x4e268a),_0x50e51b();});return;}if(_0x2ad068[_0x492381(0x2dc)][_0x492381(0x3cc)]===_0x5573d2['FETCH_MISSING']){const _0x3dae29=_0x2ad068['data'];this[_0x492381(0x1f8)](_0x3dae29)[_0x492381(0x2f1)](_0x4e6604=>{var _0x7bfeb2=_0x492381;_0x26b474['next']({'cmd':F[_0x7bfeb2(0x10e)],'code':ge['OK'],'routeKey':_0x3dae29[_0x7bfeb2(0x2dc)][_0x7bfeb2(0x3b6)],'routeType':'','data':{'eventID':_0x5573d2[_0x7bfeb2(0x15d)],'data':{'changesets':_0x4e6604}}});})['catch'](_0x26f34b=>{var _0x1e197b=_0x492381;this['_logService'][_0x1e197b(0x305)](_0x26f34b),_0x50e51b();});return;}}_0x5cef7b[_0x492381(0x1ed)](xr(_0x2ad068));},'close':()=>{var _0x3619fe=_0x584459;_0x5cef7b[_0x3619fe(0x192)](),_0x4a10ea[_0x3619fe(0x298)]();}},_0x34bfb6;}async[_0x463ce4(0x337)](_0x4fe6fb,_0xec5520){var _0x22a8d2=_0x463ce4,_0x60293a,_0x4f415b;const {unitType:_0x54fe70,unitID:_0x538db2,changeset:_0x3c060f}=_0xec5520[_0x22a8d2(0x2dc)],_0x30704d={'unitID':_0x538db2,'memberID':_0x4fe6fb[_0x22a8d2(0x307)],'type':_0x54fe70,'changeset':_0x2debde(_0x3c060f)},_0x2e8704=this[_0x22a8d2(0x2e1)]['getConfig'](Or),_0x495fca=this[_0x22a8d2(0x2e1)][_0x22a8d2(0x37f)](q),_0x317619=kr((_0x4f415b=(_0x60293a=_0x495fca==null?void 0x0:_0x495fca[_0x22a8d2(0x399)])!=null?_0x60293a:_0x2e8704)!=null?_0x4f415b:Nr,_0x54fe70,_0x538db2);try{await this[_0x22a8d2(0x276)][_0x22a8d2(0x3d5)](_0x317619,{'body':_0x30704d});}catch(_0x8f09bf){throw this[_0x22a8d2(0x3a8)][_0x22a8d2(0x305)](_0x22a8d2(0x2fe),'submit\x20changeset\x20error!'),_0x8f09bf;}}async[_0x463ce4(0x1f8)](_0x34b28c){var _0x56efc1=_0x463ce4;const {unitID:_0x511c96,from:_0x22d9f4,to:_0x8791c4,unitType:_0xd1dd6b}=_0x34b28c[_0x56efc1(0x2dc)];return(await this[_0x56efc1(0x119)][_0x56efc1(0x19c)]({'metadata':void 0x0},{'unitID':_0x511c96,'type':_0xd1dd6b,'from':_0x22d9f4,'to':_0x8791c4}))[_0x56efc1(0x2ea)];}};Vt=Mr([Ue(0x0,_0xbf6e5a(_0x188281)),Ue(0x1,_0xbf6e5a(_0x3f95f0)),Ue(0x2,_0x1c50bb),Ue(0x3,_0x20d0b2),Ue(0x4,_0x37b591)],Vt);const $r='collaboration_new_changeset';function Hr(_0x152d8c){var _0x14acb3=_0x463ce4;return JSON[_0x14acb3(0x3b9)](_0x152d8c)[_0x14acb3(0x3b5)];}class Ti{constructor(){var _0x5c789b=_0x463ce4;N(this,_0x5c789b(0x2fc),new _0x3463e2()),N(this,'commentUpdate$',this[_0x5c789b(0x2fc)]['asObservable']());}['onCommentUpdate'](_0x3f275a){var _0x4f0526=_0x463ce4;this[_0x4f0526(0x2fc)][_0x4f0526(0x2ad)](_0x3f275a);}}var Br=Object[_0x463ce4(0x14b)],jr=(_0x23bab6,_0x1c1777,_0x51ba8f,_0x44d67c)=>{var _0x6a87aa=_0x463ce4;for(var _0x2ea6c1=_0x44d67c>0x1?void 0x0:_0x44d67c?Br(_0x1c1777,_0x51ba8f):_0x1c1777,_0x336673=_0x23bab6[_0x6a87aa(0x3b5)]-0x1,_0x415ad9;_0x336673>=0x0;_0x336673--)(_0x415ad9=_0x23bab6[_0x336673])&&(_0x2ea6c1=_0x415ad9(_0x2ea6c1)||_0x2ea6c1);return _0x2ea6c1;},Wt=(_0x38e309,_0x960315)=>(_0x2e7907,_0xf7b891)=>_0x960315(_0x2e7907,_0xf7b891,_0x38e309);let xe=class extends _0xbdc86a{constructor(_0x51e5bb,_0x3b9f87){var _0x30d01f=_0x463ce4;super(),N(this,_0x30d01f(0x358),new Map()),N(this,_0x30d01f(0x1cf),new _0x3463e2()),(this['_univerInstanceService']=_0x51e5bb,this['_userManagerService']=_0x3b9f87,this[_0x30d01f(0x263)](_0x35d413(this['_univerInstanceService'][_0x30d01f(0x2b9)](_0x58c404[_0x30d01f(0x283)])[_0x30d01f(0x34f)](_0x3b11d5(_0x22d544=>_0x22d544[_0x30d01f(0x3e2)]())),this[_0x30d01f(0x198)]['getTypeOfUnitDisposed$'](_0x58c404[_0x30d01f(0x294)])[_0x30d01f(0x34f)](_0x3b11d5(_0x49151a=>_0x49151a[_0x30d01f(0x3e2)]())),this[_0x30d01f(0x198)][_0x30d01f(0x2b9)](_0x58c404[_0x30d01f(0x179)])[_0x30d01f(0x34f)](_0x3b11d5(_0x4437ec=>_0x4437ec[_0x30d01f(0x3e2)]())))[_0x30d01f(0x18c)](_0x1aab42=>this[_0x30d01f(0x1b6)](_0x1aab42))));}['waitForRoom$'](_0x157bc7){var _0x346ece=_0x463ce4;return this[_0x346ece(0x358)][_0x346ece(0x281)](_0x157bc7)?_0x2ffc98(this[_0x346ece(0x358)][_0x346ece(0x197)](_0x157bc7)):this[_0x346ece(0x1cf)][_0x346ece(0x34f)](_0x3b11d5(_0x3ba036=>{var _0x297242=_0x346ece;if(_0x3ba036===_0x157bc7)return this[_0x297242(0x358)][_0x297242(0x197)](_0x3ba036);}));}[_0x463ce4(0xfb)](_0x17a2d5){var _0x5dda11=_0x463ce4;this[_0x5dda11(0x136)][_0x5dda11(0xfb)](_0x17a2d5);}[_0x463ce4(0x28b)](){var _0x3cf500=_0x463ce4;return this['_userManagerService'][_0x3cf500(0x28b)]();}[_0x463ce4(0x12e)](_0x54b4e4,_0x5be106){var _0x829166=_0x463ce4;let _0x17ebf5=this[_0x829166(0x358)][_0x829166(0x197)](_0x54b4e4);_0x17ebf5||(_0x17ebf5=new Fr(),this[_0x829166(0x358)][_0x829166(0x3b3)](_0x54b4e4,_0x17ebf5),this[_0x829166(0x1cf)][_0x829166(0x2ad)](_0x54b4e4)),_0x17ebf5['updateMember'](_0x5be106);}[_0x463ce4(0x328)](_0x1372d8,_0x41f38b){var _0x228037=_0x463ce4;const _0x499997=this['_roomMembers']['get'](_0x1372d8);_0x499997&&_0x499997[_0x228037(0x328)](_0x41f38b);}[_0x463ce4(0x1dc)](_0x1cc8f0){var _0x3f9934=_0x463ce4;return this[_0x3f9934(0x358)][_0x3f9934(0x197)](_0x1cc8f0);}['getMember'](_0x4ed681,_0x6a7ca2){var _0x35bbf9=_0x463ce4;const _0x5afcf6=this[_0x35bbf9(0x358)]['get'](_0x4ed681);if(_0x5afcf6)return _0x5afcf6[_0x35bbf9(0x316)](_0x6a7ca2);}[_0x463ce4(0x1b6)](_0x5f50d5){var _0x58e8a1=_0x463ce4;const _0xbe8b4d=this[_0x58e8a1(0x358)]['get'](_0x5f50d5);_0xbe8b4d&&(_0xbe8b4d['dispose'](),this[_0x58e8a1(0x358)][_0x58e8a1(0x1d9)](_0x5f50d5));}[_0x463ce4(0x298)](){var _0x2a29d5=_0x463ce4;this[_0x2a29d5(0x358)]['forEach'](_0x50191f=>_0x50191f['dispose']()),this[_0x2a29d5(0x358)][_0x2a29d5(0x132)](),this[_0x2a29d5(0x1cf)][_0x2a29d5(0x12b)]();}};xe=jr([Wt(0x0,_0x90b9a3),Wt(0x1,_0xbf6e5a(_0x25d349))],xe);class Fr extends _0xbdc86a{constructor(){var _0x2d1692=_0x463ce4;super(...arguments),N(this,_0x2d1692(0x25f),new Map()),N(this,_0x2d1692(0x1d2),new _0x53c6de(this[_0x2d1692(0x25f)])),N(this,'members$',this[_0x2d1692(0x1d2)][_0x2d1692(0x395)]());}[_0x463ce4(0x298)](){var _0x4c540a=_0x463ce4;this[_0x4c540a(0x25f)][_0x4c540a(0x132)]();}['updateMember'](_0x4065e5){var _0x313304=_0x463ce4;this[_0x313304(0x25f)][_0x313304(0x3b3)](_0x4065e5[_0x313304(0x307)],_0x4065e5),this[_0x313304(0x17f)]();}[_0x463ce4(0x328)](_0x1597c3){var _0x5bd499=_0x463ce4;this[_0x5bd499(0x25f)][_0x5bd499(0x1d9)](_0x1597c3);}[_0x463ce4(0x316)](_0x3214a7){var _0x4f4b9b=_0x463ce4;return this[_0x4f4b9b(0x25f)]['get'](_0x3214a7);}[_0x463ce4(0xfa)](){var _0x3d4406=_0x463ce4;return Array['from'](this[_0x3d4406(0x25f)]['values']());}[_0x463ce4(0x17f)](){var _0x2ea337=_0x463ce4;this['_members$'][_0x2ea337(0x2ad)](this[_0x2ea337(0x25f)]);}}var Gr=Object[_0x463ce4(0x14b)],Vr=(_0x441179,_0x31e7a5,_0xcfc561,_0x4dddfa)=>{for(var _0x411f5a=_0x4dddfa>0x1?void 0x0:_0x4dddfa?Gr(_0x31e7a5,_0xcfc561):_0x31e7a5,_0xd1ec6f=_0x441179['length']-0x1,_0x2d4a20;_0xd1ec6f>=0x0;_0xd1ec6f--)(_0x2d4a20=_0x441179[_0xd1ec6f])&&(_0x411f5a=_0x2d4a20(_0x411f5a)||_0x411f5a);return _0x411f5a;},me=(_0x521f51,_0x2bd486)=>(_0x488ccd,_0x15ddc1)=>_0x2bd486(_0x488ccd,_0x15ddc1,_0x521f51),Ee=(_0x5f2e35=>(_0x5f2e35[_0x5f2e35[_0x463ce4(0x2b7)]=0x0]=_0x463ce4(0x2b7),_0x5f2e35[_0x5f2e35[_0x463ce4(0x213)]=0x1]=_0x463ce4(0x213),_0x5f2e35[_0x5f2e35[_0x463ce4(0x264)]=0x2]=_0x463ce4(0x264),_0x5f2e35[_0x5f2e35[_0x463ce4(0x3e7)]=0x3]=_0x463ce4(0x3e7),_0x5f2e35))(Ee||{});const Kt={[ge[_0x463ce4(0x25d)]]:_0x463ce4(0x135),[ge[_0x463ce4(0x118)]]:'session.room-full',[ge[_0x463ce4(0x388)]]:'session.room-not-exists',[ge[_0x463ce4(0x12d)]]:_0x463ce4(0x15b),[ge['GLOBAL_ROOMS_CNT_EXCEEDS']]:_0x463ce4(0x137)};let Et=class extends _0x1a26b4{constructor(_0x3b5218,_0x5c84e6,_0x1afb95,_0x482863,_0x5f5c2b,_0x18cac0,_0x290c62,_0x263fdc,_0xd98ec7){var _0x972142=_0x463ce4;super(),N(this,_0x972142(0x391),new _0x53c6de(0x0)),N(this,_0x972142(0x3d9),this[_0x972142(0x391)][_0x972142(0x395)]()),N(this,_0x972142(0x1d8),new _0x3463e2()),N(this,_0x972142(0x1bb),this['_event$'][_0x972142(0x395)]()),N(this,_0x972142(0x13a)),N(this,'_socketMessageSubscription'),N(this,_0x972142(0x23b)),N(this,_0x972142(0x35f),!0x1),N(this,'_telemetryInfo',null),(this[_0x972142(0x237)]=_0x3b5218,this[_0x972142(0x3a8)]=_0x1afb95,this[_0x972142(0x2e1)]=_0x482863,this[_0x972142(0x272)]=_0x5f5c2b,this[_0x972142(0x1af)]=_0x18cac0,this[_0x972142(0x2e8)]=_0x290c62,this['_collaborationUIEventService']=_0x263fdc,this[_0x972142(0x357)]=_0xd98ec7,this[_0x972142(0x35f)]=!!this[_0x972142(0x357)],_0x5c84e6[_0x972142(0x34f)](_0x46ac95(this[_0x972142(0x124)]))[_0x972142(0x18c)](_0x4b83f8=>{var _0x3ae3e3=_0x972142,_0x5bb551;typeof _0x4b83f8>'u'||(this['_socket']=_0x4b83f8,_0x4b83f8?(this[_0x3ae3e3(0x296)](_0x4b83f8),this[_0x3ae3e3(0x1aa)]=_0x4b83f8[_0x3ae3e3(0x3c3)][_0x3ae3e3(0x18c)](_0x3bcdce=>{var _0x44e859=_0x3ae3e3;_0x3bcdce['routeKey']===this[_0x44e859(0x237)]&&this[_0x44e859(0x39e)](_0x3bcdce);})):(this[_0x3ae3e3(0x2d6)](),this[_0x3ae3e3(0x391)][_0x3ae3e3(0x2ad)](0x2),(_0x5bb551=this[_0x3ae3e3(0x1aa)])==null||_0x5bb551[_0x3ae3e3(0x24c)](),this[_0x3ae3e3(0x1aa)]=null));}));}get[_0x463ce4(0x108)](){var _0xadad92=_0x463ce4;return this[_0xadad92(0x391)][_0xadad92(0x1bf)]();}[_0x463ce4(0x26a)](){var _0x375f77=_0x463ce4,_0xfb4924,_0x23a220;return(_0x23a220=(_0xfb4924=this[_0x375f77(0x13a)])==null?void 0x0:_0xfb4924[_0x375f77(0x307)])!=null?_0x23a220:null;}[_0x463ce4(0x298)](){var _0x16f55e=_0x463ce4;super[_0x16f55e(0x298)](),this[_0x16f55e(0x124)]['next'](),this['dispose$'][_0x16f55e(0x12b)]();}['close'](){var _0x119d2a=_0x463ce4,_0x7778de,_0x29732f;this[_0x119d2a(0x2d6)](),(_0x7778de=this[_0x119d2a(0x13a)])==null||_0x7778de[_0x119d2a(0x1ed)]({'cmd':F[_0x119d2a(0x349)],'data':{'roomID':this[_0x119d2a(0x237)]}}),(_0x29732f=this['_socket'])==null||_0x29732f[_0x119d2a(0x192)](),this[_0x119d2a(0x1d8)]['complete'](),this[_0x119d2a(0x391)][_0x119d2a(0x12b)](),this[_0x119d2a(0x298)]();}['_onCombEvent'](_0x2b959b){var _0x31c5f8=_0x463ce4;_0x2b959b[_0x31c5f8(0x3bd)]===F[_0x31c5f8(0x248)]?this[_0x31c5f8(0x16e)](_0x2b959b):_0x2b959b[_0x31c5f8(0x3bd)]===F['RECV']&&this[_0x31c5f8(0x25c)](_0x2b959b);}['_joinRoom'](_0x12bcbf){var _0x39129b=_0x463ce4;this[_0x39129b(0x391)][_0x39129b(0x2ad)](0x1),_0x12bcbf['send']({'cmd':F[_0x39129b(0x248)],'routeKey':this[_0x39129b(0x237)],'routeType':'','data':{'rooms':[{'roomID':this['_unitID']}]}});}['_onJoinRoomEvent'](_0x45de20){var _0x46fa67=_0x463ce4,_0xfd389d;if(_0x45de20['code']in Kt){this[_0x46fa67(0xf3)][_0x46fa67(0x2bc)]({'id':se[_0x46fa67(0x360)],'data':Kt[_0x45de20[_0x46fa67(0x202)]]}),this[_0x46fa67(0x391)][_0x46fa67(0x2ad)](0x2);return;}this[_0x46fa67(0x391)][_0x46fa67(0x2ad)](0x3);const _0x7e6fdf=(_0xfd389d=_0x45de20[_0x46fa67(0x2dc)][_0x46fa67(0x333)][this[_0x46fa67(0x237)]])==null?void 0x0:_0xfd389d['members'];_0x7e6fdf&&_0x7e6fdf[_0x46fa67(0x29f)](_0x146df5=>this[_0x46fa67(0x1af)]['updateMember'](this['_unitID'],_0x146df5));}[_0x463ce4(0x25c)](_0x140339){var _0x5673ce=_0x463ce4;try{const _0x4bd6a5=_0x140339['data'];switch(_0x4bd6a5['eventID']){case _0x5573d2['USERS_ENTER']:this['_onUserJoin'](_0x4bd6a5),this['_event$']['next'](_0x4bd6a5);break;case _0x5573d2[_0x5673ce(0x142)]:this[_0x5673ce(0x334)](_0x4bd6a5),this['_event$'][_0x5673ce(0x2ad)](_0x4bd6a5);break;case _0x5573d2[_0x5673ce(0x1f4)]:case _0x5573d2[_0x5673ce(0x2bd)]:this[_0x5673ce(0x157)](),this[_0x5673ce(0x17c)](),this['_event$'][_0x5673ce(0x2ad)](_0x4bd6a5);break;case _0x5573d2[_0x5673ce(0x20c)]:this[_0x5673ce(0x3a8)]['error'](_0x5673ce(0x33d)+JSON[_0x5673ce(0x3b9)](_0x4bd6a5)),this[_0x5673ce(0x1d8)][_0x5673ce(0x2ad)](_0x4bd6a5);break;case _0x5573d2['COMMENT_UPDATE']:this['_commentService']['onCommentUpdate'](_0x4bd6a5[_0x5673ce(0x2dc)]),this[_0x5673ce(0x1d8)][_0x5673ce(0x2ad)](_0x4bd6a5);break;default:this['_event$'][_0x5673ce(0x2ad)](_0x4bd6a5);}}catch(_0x43230b){this[_0x5673ce(0x3a8)][_0x5673ce(0x305)](_0x43230b,_0x140339);}}['_onUserJoin'](_0x413f65){var _0x278153=_0x463ce4;this[_0x278153(0x1af)]['updateMember'](this[_0x278153(0x237)],_0x413f65[_0x278153(0x2dc)]);}['_onUserLeave'](_0x110b33){var _0x154f30=_0x463ce4;this[_0x154f30(0x1af)][_0x154f30(0x328)](this[_0x154f30(0x237)],_0x110b33[_0x154f30(0x2dc)]['memberID']);}async[_0x463ce4(0x1ed)](_0x2fff3e,_0x5bed48){var _0x2280cb=_0x463ce4;if(this[_0x2280cb(0x108)]!==0x3||!this[_0x2280cb(0x13a)])throw new Error(_0x2280cb(0x339));try{_0x2fff3e['eventID']===_0x5573d2['SUBMIT_CHANGESET']&&(this[_0x2280cb(0x1e2)](),this[_0x2280cb(0x300)](_0x2fff3e)),this[_0x2280cb(0x13a)][_0x2280cb(0x1ed)]({'cmd':F[_0x2280cb(0x269)],'routeKey':_0x5bed48,'routeType':'','data':_0x2fff3e});}catch(_0xaaca5a){this[_0x2280cb(0x3a8)][_0x2280cb(0x305)](_0xaaca5a);}}['_scheduleCollaborationTimeoutTimer'](){var _0x3039c4=_0x463ce4,_0x26802a;this[_0x3039c4(0x23b)]=setTimeout(()=>{var _0x4ba2bb=_0x3039c4;this[_0x4ba2bb(0x23b)]=null,this[_0x4ba2bb(0xf3)][_0x4ba2bb(0x2bc)]({'id':se[_0x4ba2bb(0x1f0)]});},(_0x26802a=this[_0x3039c4(0x2e1)]['getConfig'](mi))!=null?_0x26802a:gi);}[_0x463ce4(0x17c)](){var _0x2db10c=_0x463ce4;this[_0x2db10c(0x23b)]&&(clearTimeout(this[_0x2db10c(0x23b)]),this[_0x2db10c(0x23b)]=null);}[_0x463ce4(0x300)](_0x20815b){var _0x6ce898=_0x463ce4;if(!this[_0x6ce898(0x35f)])return;const {data:_0x44c210}=_0x20815b,{unitID:_0x97b276,changeset:_0x1925de}=_0x44c210,{mutations:_0x3271c9,type:_0x5a352c}=_0x1925de;this[_0x6ce898(0x3d2)]={'unitId':_0x97b276,'type':_0x5a352c,'startTime':performance[_0x6ce898(0x2aa)](),'stopTime':0x0,'duration':0x0,'size':Hr(_0x3271c9)};}[_0x463ce4(0x157)](){var _0x1e0727=_0x463ce4;if(this[_0x1e0727(0x35f)]){if(!this[_0x1e0727(0x3d2)]){this[_0x1e0727(0x3a8)]['error'](_0x1e0727(0x2fe),_0x1e0727(0x18d));return;}this[_0x1e0727(0x3d2)]['stopTime']=performance[_0x1e0727(0x2aa)](),this[_0x1e0727(0x3d2)][_0x1e0727(0x2c9)]=this['_telemetryInfo'][_0x1e0727(0x275)]-this[_0x1e0727(0x3d2)][_0x1e0727(0x24f)],this[_0x1e0727(0x357)][_0x1e0727(0x267)]($r,this[_0x1e0727(0x3d2)]),this[_0x1e0727(0x3d2)]=null;}}[_0x463ce4(0x2d6)](){this['_telemetryInfo']=null;}};Et=Vr([me(0x2,_0x20d0b2),me(0x3,_0x1c50bb),me(0x4,_0xbf6e5a(_0x5b114b)),me(0x5,_0xbf6e5a(xe)),me(0x6,_0xbf6e5a(Ti)),me(0x7,_0xbf6e5a(pe)),me(0x8,_0x435100(_0x53a5e0))],Et);var Wr=Object[_0x463ce4(0x14b)],Kr=(_0xccf6ff,_0x23453e,_0x4b6d1d,_0x21306a)=>{var _0x75749d=_0x463ce4;for(var _0x3a8d20=_0x21306a>0x1?void 0x0:_0x21306a?Wr(_0x23453e,_0x4b6d1d):_0x23453e,_0x5e86ee=_0xccf6ff[_0x75749d(0x3b5)]-0x1,_0x537ebe;_0x5e86ee>=0x0;_0x5e86ee--)(_0x537ebe=_0xccf6ff[_0x5e86ee])&&(_0x3a8d20=_0x537ebe(_0x3a8d20)||_0x3a8d20);return _0x3a8d20;},be=(_0x42c09c,_0x275237)=>(_0x38ace2,_0x42c355)=>_0x275237(_0x38ace2,_0x42c355,_0x42c09c);let Le=class extends _0xbdc86a{constructor(_0x9c97f,_0x572cff,_0x34d179,_0x1db11c,_0x14e806,_0x1c9135){var _0x9058df=_0x463ce4;super(),N(this,_0x9058df(0x3b7),new _0x53c6de(void 0x0)),N(this,_0x9058df(0x1f5),this['_socket$']['asObservable']()),N(this,'_candidateSocket',null),N(this,'_sessions',new Map()),N(this,_0x9058df(0x390),new _0x53c6de(Ee[_0x9058df(0x2b7)])),N(this,_0x9058df(0x247),this[_0x9058df(0x390)][_0x9058df(0x395)]()),N(this,'_socketReady',!0x1),N(this,'_retryConnectingTimer'),N(this,'_retryCount',0x0),N(this,'_sendHeartbeatTimer'),N(this,_0x9058df(0x1d5)),(this['_injector']=_0x9c97f,this['_logService']=_0x572cff,this[_0x9058df(0x2e1)]=_0x34d179,this[_0x9058df(0x14a)]=_0x1db11c,this[_0x9058df(0xf3)]=_0x14e806,this[_0x9058df(0x310)]=_0x1c9135,this[_0x9058df(0x1bd)]());}get['_socket'](){var _0xa0b1e4=_0x463ce4;return this[_0xa0b1e4(0x3b7)][_0xa0b1e4(0x1bf)]();}[_0x463ce4(0x1bd)](){var _0x109b61=_0x463ce4;this[_0x109b61(0x310)]&&this[_0x109b61(0x263)](this['_networkConditionService'][_0x109b61(0x314)][_0x109b61(0x18c)](_0xfd408f=>{var _0x3c1b4e=_0x109b61;_0xfd408f&&!this[_0x3c1b4e(0x13a)]&&this[_0x3c1b4e(0x109)](),_0xfd408f||this[_0x3c1b4e(0x101)]();}));}[_0x463ce4(0x298)](){var _0x5aa1c8=_0x463ce4;super['dispose'](),this[_0x5aa1c8(0x29e)](),this[_0x5aa1c8(0x2d7)](),this[_0x5aa1c8(0x327)](),this['_sessions']['forEach'](_0xc224c=>_0xc224c[_0x5aa1c8(0x298)]()),this[_0x5aa1c8(0x3bb)][_0x5aa1c8(0x132)](),this[_0x5aa1c8(0x390)]['complete']();}async[_0x463ce4(0x1c0)](_0x530e87){var _0x11bf64=_0x463ce4;if(this[_0x11bf64(0x3bb)][_0x11bf64(0x281)](_0x530e87))return this[_0x11bf64(0x3bb)][_0x11bf64(0x197)](_0x530e87);this['_tryEnsureSocket']();const _0x133143=this['_injector'][_0x11bf64(0x268)](Et,_0x530e87,this[_0x11bf64(0x3b7)]['asObservable']());return this[_0x11bf64(0x3bb)][_0x11bf64(0x3b3)](_0x530e87,_0x133143),_0x133143;}[_0x463ce4(0x227)](_0xa6dcb0){var _0x34f197=_0x463ce4,_0x56f9ac;const _0x27b267=this['_sessions'][_0x34f197(0x197)](_0xa6dcb0);_0x27b267&&(this[_0x34f197(0x3bb)]['delete'](_0xa6dcb0),_0x27b267[_0x34f197(0x192)]()),this[_0x34f197(0x3bb)][_0x34f197(0x3a1)]||(_0x56f9ac=this[_0x34f197(0x13a)])==null||_0x56f9ac['close']();}[_0x463ce4(0x109)](){var _0x9de3f4=_0x463ce4;this[_0x9de3f4(0x252)]=0x0,this[_0x9de3f4(0x29e)](),this[_0x9de3f4(0x126)]();}[_0x463ce4(0x29e)](){var _0x1f8eec=_0x463ce4;this[_0x1f8eec(0x2eb)]!=null&&(clearTimeout(this['_retryConnectingTimer']),this[_0x1f8eec(0x2eb)]=null);}async[_0x463ce4(0x138)](){var _0x5a27cd=_0x463ce4,_0x51c359,_0x2a50ce;const _0x2b3a94=this[_0x5a27cd(0x2e1)][_0x5a27cd(0x37f)](Er),_0xf493b9=this[_0x5a27cd(0x2e1)][_0x5a27cd(0x37f)](q),_0x11f75a=(_0x2a50ce=(_0x51c359=_0xf493b9==null?void 0x0:_0xf493b9[_0x5a27cd(0x18f)])!=null?_0x51c359:_0x2b3a94)!=null?_0x2a50ce:Ir,_0x159d0f=await this[_0x5a27cd(0x14a)][_0x5a27cd(0x244)](_0x11f75a);return this['_candidateSocket']=_0x159d0f,_0x159d0f;}async[_0x463ce4(0x255)](){var _0x3aed03=_0x463ce4,_0xfa00cd,_0x57df6c;try{const _0x5d092c=(_0x57df6c=(_0xfa00cd=this['_socket'])!=null?_0xfa00cd:this[_0x3aed03(0x1d6)])!=null?_0x57df6c:await this[_0x3aed03(0x138)]();if(_0x5d092c){const _0x44d3ac=_0x5d092c[_0x3aed03(0x1ed)];_0x5d092c[_0x3aed03(0x1ed)]=_0x4fe837=>(this[_0x3aed03(0x37c)](),_0x44d3ac['apply'](_0x5d092c,[_0x4fe837])),_0x5d092c[_0x3aed03(0x3c3)][_0x3aed03(0x18c)](_0x1e5259=>this[_0x3aed03(0x1c1)](_0x5d092c,_0x1e5259)),_0x5d092c[_0x3aed03(0x12f)][_0x3aed03(0x34f)](_0x3247c8(0x1))[_0x3aed03(0x18c)](_0x2dba6b=>this[_0x3aed03(0x3a8)][_0x3aed03(0x305)](_0x3aed03(0x147),_0x2dba6b)),_0x5d092c[_0x3aed03(0x2fd)][_0x3aed03(0x34f)](_0x3247c8(0x1))[_0x3aed03(0x18c)](()=>{this['_onConnectionOpen'](_0x5d092c);}),_0x5d092c['close$'][_0x3aed03(0x34f)](_0x3247c8(0x1))[_0x3aed03(0x18c)](_0x5644d2=>{var _0x3cdadd=_0x3aed03;this[_0x3cdadd(0x3a8)][_0x3cdadd(0x228)](_0x3cdadd(0x10d),_0x3cdadd(0x1df),_0x5644d2),this['_onConnectionFailed']();});}}catch(_0x5c9620){this[_0x3aed03(0x3a8)][_0x3aed03(0x305)](_0x5c9620),this[_0x3aed03(0x2e0)]();}}[_0x463ce4(0x3a9)](_0x4a8360){var _0x4af8b8=_0x463ce4;this[_0x4af8b8(0x3a8)]['debug'](_0x4af8b8(0x10d),_0x4af8b8(0x3e1)),_0x4a8360['send']({'cmd':F[_0x4af8b8(0x3b1)]}),this['_rescheduleHeartbeat']();}['_onOffline'](){var _0x1ef4c8=_0x463ce4;this[_0x1ef4c8(0x15e)]=!0x1,this[_0x1ef4c8(0x1d6)]=null,this[_0x1ef4c8(0x390)][_0x1ef4c8(0x2ad)](Ee['OFFLINE']),this[_0x1ef4c8(0x3b7)][_0x1ef4c8(0x2ad)](null),this[_0x1ef4c8(0x2d7)](),this[_0x1ef4c8(0x327)]();}[_0x463ce4(0x2e0)](){var _0x241dc1=_0x463ce4,_0x4f16be;this['_onOffline'](),this[_0x241dc1(0x252)]<((_0x4f16be=this['_configService'][_0x241dc1(0x37f)](br))!=null?_0x4f16be:yr)?(this[_0x241dc1(0xf3)]['emitEvent']({'id':se[_0x241dc1(0xf4)]}),this[_0x241dc1(0x126)]()):this['_collaborationUIEventService'][_0x241dc1(0x2bc)]({'id':se[_0x241dc1(0x36e)]});}['_tryReconnect'](){var _0x533886=_0x463ce4,_0x3a5293;const _0x2b7121=this[_0x533886(0x252)],_0x17b654=this[_0x533886(0x2e1)][_0x533886(0x37f)](q),_0x4780c5=_0x2b7121===0x0?0x0:((_0x3a5293=_0x17b654==null?void 0x0:_0x17b654[_0x533886(0x1fc)])!=null?_0x3a5293:Rr)*0x2**_0x2b7121;this['_retryConnectingTimer']=setTimeout(()=>{var _0x3c0b94=_0x533886;clearTimeout(this[_0x3c0b94(0x2eb)]),this[_0x3c0b94(0x2eb)]=null,this[_0x3c0b94(0x255)]();},_0x4780c5),this['_retryCount']+=0x1;}[_0x463ce4(0x1c1)](_0x451496,_0x250528){var _0x18375f=_0x463ce4;const {cmd:_0x2d94b8}=_0x250528;_0x2d94b8===F[_0x18375f(0x3b1)]&&!this[_0x18375f(0x15e)]&&(_0x451496[_0x18375f(0x307)]=_0x250528[_0x18375f(0x2dc)][_0x18375f(0x307)],this['_socket$']['next'](_0x451496),this[_0x18375f(0x390)][_0x18375f(0x2ad)](Ee[_0x18375f(0x3e7)]),this[_0x18375f(0x15e)]=!0x0,this['_candidateSocket']=null),_0x2d94b8===F[_0x18375f(0x315)]&&this[_0x18375f(0x2d7)](),this[_0x18375f(0x37c)]();}[_0x463ce4(0x37c)](){var _0x68d5c7=_0x463ce4,_0xd896bf;this['_clearHeartbeatTimer'](),this[_0x68d5c7(0x242)]=setTimeout(()=>this['_sendHeartbeat'](),(_0xd896bf=this[_0x68d5c7(0x2e1)][_0x68d5c7(0x37f)](Tr))!=null?_0xd896bf:Cr);}['_sendHeartbeat'](){var _0x783a4f=_0x463ce4;this[_0x783a4f(0x13a)]['send']({'cmd':F[_0x783a4f(0x315)]}),this[_0x783a4f(0x238)]();}['_waitForHeartbeatResponse'](){var _0x58843f=_0x463ce4,_0x307ffc;this[_0x58843f(0x1d5)]=setTimeout(()=>this[_0x58843f(0x2e0)](),(_0x307ffc=this['_configService']['getConfig'](mi))!=null?_0x307ffc:gi);}[_0x463ce4(0x327)](){var _0x5a4cec=_0x463ce4;this[_0x5a4cec(0x242)]!=null&&(clearTimeout(this['_sendHeartbeatTimer']),this[_0x5a4cec(0x242)]=null);}[_0x463ce4(0x2d7)](){var _0x32db5b=_0x463ce4;this[_0x32db5b(0x1d5)]!=null&&(clearTimeout(this['_timeoutTimer']),this[_0x32db5b(0x1d5)]=null);}};Le=Kr([be(0x0,_0xbf6e5a(_0x188281)),be(0x1,_0x20d0b2),be(0x2,_0x1c50bb),be(0x3,Ii),be(0x4,_0xbf6e5a(pe)),be(0x5,_0x435100(Ar))],Le);const G=[];for(let i=0x0;i<0x100;++i)G[_0x463ce4(0x387)]((i+0x100)[_0x463ce4(0x363)](0x10)[_0x463ce4(0xe8)](0x1));function Yr(_0xd5ef52,_0x3551e5=0x0){var _0x29e27d=_0x463ce4;return(G[_0xd5ef52[_0x3551e5+0x0]]+G[_0xd5ef52[_0x3551e5+0x1]]+G[_0xd5ef52[_0x3551e5+0x2]]+G[_0xd5ef52[_0x3551e5+0x3]]+'-'+G[_0xd5ef52[_0x3551e5+0x4]]+G[_0xd5ef52[_0x3551e5+0x5]]+'-'+G[_0xd5ef52[_0x3551e5+0x6]]+G[_0xd5ef52[_0x3551e5+0x7]]+'-'+G[_0xd5ef52[_0x3551e5+0x8]]+G[_0xd5ef52[_0x3551e5+0x9]]+'-'+G[_0xd5ef52[_0x3551e5+0xa]]+G[_0xd5ef52[_0x3551e5+0xb]]+G[_0xd5ef52[_0x3551e5+0xc]]+G[_0xd5ef52[_0x3551e5+0xd]]+G[_0xd5ef52[_0x3551e5+0xe]]+G[_0xd5ef52[_0x3551e5+0xf]])[_0x29e27d(0x199)]();}let ut;const qr=new Uint8Array(0x10);function zr(){var _0x2a77c7=_0x463ce4;if(!ut){if(typeof crypto>'u'||!crypto[_0x2a77c7(0x3e4)])throw new Error(_0x2a77c7(0x1e7));ut=crypto[_0x2a77c7(0x3e4)]['bind'](crypto);}return ut(qr);}const Jr=typeof crypto<'u'&&crypto['randomUUID']&&crypto[_0x463ce4(0x115)][_0x463ce4(0x2ca)](crypto),Yt={'randomUUID':Jr};function Xr(_0x549852,_0x384f65,_0x4fc2c6){var _0x3db5fd=_0x463ce4,_0x22cde6,_0x63caf8,_0x114fa7;if(Yt[_0x3db5fd(0x115)]&&!_0x549852)return Yt[_0x3db5fd(0x115)]();_0x549852=_0x549852||{};const _0x37be16=(_0x114fa7=(_0x63caf8=_0x549852[_0x3db5fd(0x3af)])!=null?_0x63caf8:(_0x22cde6=_0x549852[_0x3db5fd(0x38a)])==null?void 0x0:_0x22cde6[_0x3db5fd(0x167)](_0x549852))!=null?_0x114fa7:zr();if(_0x37be16[_0x3db5fd(0x3b5)]<0x10)throw new Error(_0x3db5fd(0x159));return _0x37be16[0x6]=_0x37be16[0x6]&0xf|0x40,_0x37be16[0x8]=_0x37be16[0x8]&0x3f|0x80,Yr(_0x37be16);}const J=_0x4450a2(_0x463ce4(0x3c1));function Bs(_0x5420c1){var _0x1ca79a=_0x463ce4;return _0x1ca79a(0x190)+_0x5420c1;}var Zr=Object[_0x463ce4(0x14b)],Qr=(_0x57e34b,_0x1bdc38,_0x52b427,_0x33af15)=>{var _0x35bdef=_0x463ce4;for(var _0x4b0a5e=_0x33af15>0x1?void 0x0:_0x33af15?Zr(_0x1bdc38,_0x52b427):_0x1bdc38,_0x2c2276=_0x57e34b[_0x35bdef(0x3b5)]-0x1,_0x5b055e;_0x2c2276>=0x0;_0x2c2276--)(_0x5b055e=_0x57e34b[_0x2c2276])&&(_0x4b0a5e=_0x5b055e(_0x4b0a5e)||_0x4b0a5e);return _0x4b0a5e;},dt=(_0x28435c,_0x51e25e)=>(_0xd3e99f,_0x28925d)=>_0x51e25e(_0xd3e99f,_0x28925d,_0x28435c);function en(_0xf0de87){var _0x5746eb=_0x463ce4;const {unitID:_0x46b3f4,mutations:_0x24110e}=_0xf0de87;return{'unitId':_0x46b3f4,'subUnitId':_0x24110e[0x0][_0x5746eb(0x1b3)]['subUnitId']};}let it=class{constructor(_0x45be4f,_0x449783,_0x27a07a){var _0x33b21c=_0x463ce4;this[_0x33b21c(0x3d3)]=_0x45be4f,this[_0x33b21c(0x2e9)]=_0x449783,this['_instanceService']=_0x27a07a;}[_0x463ce4(0x143)](_0x2bccd1){var _0x5b56c8=_0x463ce4,_0x13b7b1,_0x2b5837,_0x1a9626,_0x55c6f6;const _0x78f83b=this[_0x5b56c8(0x3d3)][_0x5b56c8(0x197)](_0x68eae5),{unitId:_0xaccd37,subUnitId:_0x2af990}=en(_0x2bccd1),_0x2caf0a=_0x78f83b==null?void 0x0:_0x78f83b[_0x5b56c8(0x1f6)](_0xaccd37)[_0x5b56c8(0x3b2)](),_0x54c13f=(_0x2b5837=(_0x13b7b1=this[_0x5b56c8(0x2a6)][_0x5b56c8(0x3a3)](_0xaccd37))==null?void 0x0:_0x13b7b1[_0x5b56c8(0x216)]())==null?void 0x0:_0x2b5837[_0x5b56c8(0x2f5)]();if(_0x2caf0a[_0x5b56c8(0x3b5)]===0x0||!_0xaccd37||!_0x2af990)return;const _0x69787b=[{'id':_0x210000['id'],'params':{'unitId':_0xaccd37,'subUnitId':_0x54c13f,'selections':_0x3f81a9[_0x5b56c8(0x353)](_0x2caf0a)}}],_0xebd5c=this['_transformService'][_0x5b56c8(0x308)](_0x2bccd1,_0x69787b);if(!_0xfee016(_0xebd5c))throw _0xebd5c[_0x5b56c8(0x305)];const _0x373f7f=(_0x55c6f6=(_0x1a9626=_0xebd5c[_0x5b56c8(0xfe)][0x0])==null?void 0x0:_0x1a9626[_0x5b56c8(0x1b3)])==null?void 0x0:_0x55c6f6['selections'];if(Array[_0x5b56c8(0x2a5)](_0x373f7f)&&_0x373f7f[_0x5b56c8(0x3b5)]){if(_0x373f7f['length']===_0x69787b[0x0][_0x5b56c8(0x1b3)]['selections'][_0x5b56c8(0x3b5)]&&_0x373f7f[_0x5b56c8(0x370)]((_0x18f875,_0x6dc3f7)=>_0x3adee7['equals'](_0x18f875['range'],_0x69787b[0x0][_0x5b56c8(0x1b3)][_0x5b56c8(0x18e)][_0x6dc3f7][_0x5b56c8(0x174)])))return;this[_0x5b56c8(0x3d3)][_0x5b56c8(0x197)](_0x20d0b9)[_0x5b56c8(0xea)](_0x210000['id'],{'unitId':_0xaccd37,'subUnitId':_0x54c13f,'selections':_0x373f7f});}}};it=Qr([dt(0x0,_0xbf6e5a(_0x188281)),dt(0x1,_0x240e9b),dt(0x2,_0x90b9a3)],it);const ht=_0x4450a2('univer-pro.collaboration-client.single-active-unit-service');var Ci=(_0x310068=>(_0x310068[_0x310068[_0x463ce4(0x288)]=0x0]=_0x463ce4(0x288),_0x310068[_0x310068[_0x463ce4(0x24e)]=0x1]=_0x463ce4(0x24e),_0x310068))(Ci||{});const tn=new Set([_0x4b4cd9['id']]);function qt(_0x5dc01f,_0x545adb,_0x32b18e,_0x3cf5d2,_0x851dc1){var _0x39624f=_0x463ce4,_0x5a7ea8,_0x95bd75,_0x120b50,_0x508151;const _0x5cf3a6=[];for(const _0x302fc5 of _0x5dc01f)if(tn[_0x39624f(0x281)](_0x302fc5['id'])){if(_0x5cf3a6[_0x39624f(0x3b5)]>0x0)break;_0x5cf3a6[_0x39624f(0x387)](_0x302fc5);break;}else _0x5cf3a6[_0x39624f(0x387)](_0x302fc5);const _0x17c0f6=(_0x95bd75=(_0x5a7ea8=_0x851dc1[_0x39624f(0x28b)]())==null?void 0x0:_0x5a7ea8[_0x39624f(0x2ed)])!=null?_0x95bd75:_0x39624f(0x37d),_0x96ac03=(_0x508151=(_0x120b50=_0x851dc1[_0x39624f(0x28b)]())==null?void 0x0:_0x120b50[_0x39624f(0x307)])!=null?_0x508151:_0x39624f(0x37d);return{'changeset':{'unitID':_0x545adb,'type':_0xe6382e(_0x32b18e[_0x39624f(0x324)](_0x545adb)),'baseRev':_0x3cf5d2[_0x39624f(0x35d)](_0x545adb),'revision':0x0,'userID':_0x17c0f6,'memberID':_0x96ac03,'mutations':_0x5cf3a6},'pendingMutations':_0x5dc01f['slice'](_0x5cf3a6['length'])};}function rn(_0x456985,_0x1c0c21,_0x30d03a,_0x1d10bd,_0x46132c){var _0x4a4197=_0x463ce4,_0x36c1a7,_0xf46492,_0x4a78e8,_0x548d7f;const _0x5396d5=[_0x456985[_0x4a4197(0x398)]((_0xc1d9e6,_0x3eb2f1)=>{var _0x137474=_0x4a4197,_0x21e3d0;const {id:_0x44a216}=_0xc1d9e6,{id:_0xcd1f66,type:_0x17aa09}=_0x3eb2f1,_0x24b7d3=(_0x21e3d0=_0xc1d9e6[_0x137474(0x1b3)])!=null?_0x21e3d0:{'actions':null},_0x10f05a=_0x3eb2f1[_0x137474(0x1b3)];if(_0x44a216&&_0x44a216!==_0xcd1f66)throw new Error('Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20'+_0x44a216+_0x137474(0x22a)+_0xcd1f66+'.');return{..._0xc1d9e6,'id':_0xcd1f66,'type':_0x17aa09,'params':{'unitId':_0x10f05a[_0x137474(0x1f7)],'textRanges':_0x10f05a[_0x137474(0x11d)],'actions':_0x568219[_0x137474(0x2a0)](_0x24b7d3[_0x137474(0x1ad)],_0x10f05a[_0x137474(0x1ad)])}};},{})],_0x4b6ed2=(_0xf46492=(_0x36c1a7=_0x46132c[_0x4a4197(0x28b)]())==null?void 0x0:_0x36c1a7[_0x4a4197(0x2ed)])!=null?_0xf46492:'unknown',_0x16fb12=(_0x548d7f=(_0x4a78e8=_0x46132c[_0x4a4197(0x28b)]())==null?void 0x0:_0x4a78e8[_0x4a4197(0x307)])!=null?_0x548d7f:_0x4a4197(0x37d);return{'changeset':{'unitID':_0x1c0c21,'type':_0xe6382e(_0x30d03a[_0x4a4197(0x324)](_0x1c0c21)),'baseRev':_0x1d10bd[_0x4a4197(0x35d)](_0x1c0c21),'revision':0x0,'userID':_0x4b6ed2,'memberID':_0x16fb12,'mutations':_0x5396d5},'pendingMutations':[]};}function Ri(_0x1f0e79,_0x39d5f5){var _0x461716=_0x463ce4;const _0x11e92f=new _0x53cbb1(0x1);return setTimeout(()=>_0x11e92f[_0x461716(0x2ad)](_0x39d5f5),_0x1f0e79),_0x11e92f[_0x461716(0x395)]()[_0x461716(0x34f)](_0x51e724(0x1));}const nn={'id':_0x41f9ff['id'],'type':_0x22a9c8[_0x463ce4(0x1cd)],'params':{}};var sn=Object[_0x463ce4(0x14b)],Te=(_0x32a906,_0x4fa2fc,_0x5d920f,_0x278ec6)=>{var _0x5aba6b=_0x463ce4;for(var _0x5331dc=_0x278ec6>0x1?void 0x0:_0x278ec6?sn(_0x4fa2fc,_0x5d920f):_0x4fa2fc,_0x3b765b=_0x32a906[_0x5aba6b(0x3b5)]-0x1,_0x537104;_0x3b765b>=0x0;_0x3b765b--)(_0x537104=_0x32a906[_0x3b765b])&&(_0x5331dc=_0x537104(_0x5331dc)||_0x5331dc);return _0x5331dc;},P=(_0x9fb3ce,_0x579276)=>(_0x534ac0,_0x2e35e8)=>_0x579276(_0x534ac0,_0x2e35e8,_0x9fb3ce),bi=(_0x35224b=>(_0x35224b[_0x463ce4(0x1d4)]=_0x463ce4(0x375),_0x35224b[_0x463ce4(0x366)]=_0x463ce4(0x205),_0x35224b[_0x463ce4(0x2cc)]=_0x463ce4(0x2b3),_0x35224b[_0x463ce4(0x14c)]=_0x463ce4(0x2cb),_0x35224b['AWAITING_WITH_PENDING']=_0x463ce4(0x2ab),_0x35224b[_0x463ce4(0x3a0)]=_0x463ce4(0x24b),_0x35224b[_0x463ce4(0x102)]='conflict',_0x35224b[_0x463ce4(0x264)]=_0x463ce4(0x177),_0x35224b))(bi||{});const yi=0xea60;class Ce{constructor(_0x1d3d8b,_0x53244e,_0x548273,_0x36c839,_0x3b31a9,_0x3de5a3,_0x40a57f,_0x5634ab,_0x3ee2df){var _0x2a5dfd=_0x463ce4;N(this,_0x2a5dfd(0x344),null),N(this,_0x2a5dfd(0x144),[]),(this[_0x2a5dfd(0x3b6)]=_0x1d3d8b,this[_0x2a5dfd(0x220)]=_0x53244e,this[_0x2a5dfd(0x26b)]=_0x3b31a9,this[_0x2a5dfd(0x23c)]=_0x3de5a3,this[_0x2a5dfd(0x233)]=_0x40a57f,this[_0x2a5dfd(0x280)]=_0x5634ab,this[_0x2a5dfd(0x3a4)]=_0x3ee2df,this[_0x2a5dfd(0x344)]=_0x548273,this['_pendingMutations']=_0x36c839);}[_0x463ce4(0x16c)](_0x25390a){var _0x4ddea7=_0x463ce4;const _0x329048=this[_0x4ddea7(0x280)][_0x4ddea7(0x35d)](this[_0x4ddea7(0x3b6)]);return _0x25390a['revision']>_0x329048+0x1?(this['_handler'][_0x4ddea7(0x229)]({'from':_0x329048,'to':_0x25390a['revision']-0x1}),!0x0):!0x1;}[_0x463ce4(0x2a7)](_0x5a0b0c){var _0x36c12c=_0x463ce4;this[_0x36c12c(0x233)][_0x36c12c(0x16f)](this['unitID'],_0x5a0b0c);}[_0x463ce4(0x2c4)](_0x99f73a){var _0x9f8f01=_0x463ce4,_0x4ff8d6,_0x85062b;(_0x85062b=(_0x4ff8d6=this[_0x9f8f01(0x26b)])[_0x9f8f01(0x323)])==null||_0x85062b[_0x9f8f01(0x167)](_0x4ff8d6,_0x99f73a);}[_0x463ce4(0x224)](_0x2c4b6a){var _0x1c191e=_0x463ce4,_0x4cb1a8,_0x2aee86;return(_0x2aee86=(_0x4cb1a8=this[_0x1c191e(0x26b)])[_0x1c191e(0x1cb)])==null?void 0x0:_0x2aee86[_0x1c191e(0x167)](_0x4cb1a8,_0x2c4b6a);}['_transformStateCache'](_0x5a1b93){var _0x258cf7=_0x463ce4,_0x59d272,_0x19ce05;return(_0x19ce05=(_0x59d272=this[_0x258cf7(0x26b)])[_0x258cf7(0x250)])==null?void 0x0:_0x19ce05[_0x258cf7(0x167)](_0x59d272,_0x5a1b93);}[_0x463ce4(0x189)](_0x364484){var _0x509056=_0x463ce4,_0x5c9d1e,_0x2fff13,_0x169131;return(_0x169131=(_0x2fff13=(_0x5c9d1e=this[_0x509056(0x26b)])[_0x509056(0x378)])==null?void 0x0:_0x2fff13['call'](_0x5c9d1e,_0x364484))!=null?_0x169131:_0x364484;}[_0x463ce4(0x16a)](_0x2c3ebf){var _0x192552=_0x463ce4,_0x18e2f9,_0x5e782c,_0xbeeae1;return(_0xbeeae1=(_0x5e782c=(_0x18e2f9=this['_handler'])['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x5e782c[_0x192552(0x167)](_0x18e2f9,_0x2c3ebf))!=null?_0xbeeae1:_0x2c3ebf;}[_0x463ce4(0x112)](_0x385610){var _0x233693=_0x463ce4,_0x1f4590,_0x2f1781;if(this[_0x233693(0x220)]===Q[_0x233693(0x294)]){const {unitID:_0x1942a8,mutations:_0x42d013,memberID:_0x3aa911}=_0x385610,_0x8798ae=_0x42d013[0x0][_0x233693(0x1b3)][_0x233693(0x11d)];Array['isArray'](_0x8798ae)&&_0x8798ae[_0x233693(0x3b5)]>0x0&&((_0x2f1781=(_0x1f4590=this[_0x233693(0x26b)])[_0x233693(0x21a)])==null||_0x2f1781[_0x233693(0x167)](_0x1f4590,{'unitID':_0x1942a8,'memberID':_0x3aa911,'textRanges':_0x8798ae}));}}['_updateLocalCache'](){var _0x3ef2a7=_0x463ce4,_0x13640f;(_0x13640f=this[_0x3ef2a7(0x3a4)])==null||_0x13640f[_0x3ef2a7(0x257)](this[_0x3ef2a7(0x3b6)],this[_0x3ef2a7(0x220)],this[_0x3ef2a7(0x344)],this[_0x3ef2a7(0x144)]);}['_getCurrentRevision'](){var _0x4fe444=_0x463ce4;return this['_revisionService'][_0x4fe444(0x35d)](this[_0x4fe444(0x3b6)]);}[_0x463ce4(0x260)](){var _0x58eb93=_0x463ce4;this[_0x58eb93(0x280)][_0x58eb93(0x141)](this[_0x58eb93(0x3b6)]);}[_0x463ce4(0x292)](_0x245a39){var _0x42cc83=_0x463ce4,_0x578e78;let _0x2f0001=this[_0x42cc83(0x189)](_0x245a39);_0x2f0001=this[_0x42cc83(0x16a)](_0x2f0001);const _0x28fdfc=_0xed95e(_0x2f0001[_0x42cc83(0x2b4)],this['_commandService'],{'fromCollab':!0x0});if(!_0x28fdfc[_0x42cc83(0x2ae)])throw _0x28fdfc[_0x42cc83(0x305)]instanceof Error?_0x28fdfc[_0x42cc83(0x305)]:new Error((_0x578e78=_0x28fdfc[_0x42cc83(0x305)])!=null?_0x578e78:_0x42cc83(0x3d6));this[_0x42cc83(0x224)](_0x2f0001),this[_0x42cc83(0x1e6)](_0x2f0001),this[_0x42cc83(0x2a7)](_0x245a39),this[_0x42cc83(0x2c4)](_0x2f0001),this['_syncEditingCollabCursor'](_0x2f0001),this[_0x42cc83(0x260)]();}}let Ne=class extends Ce{constructor(_0xf18680,_0x5a5c35,_0x17eba8,_0x54d5f0,_0x74d84,_0x153e82,_0x2e73d4,_0x3773a9,_0xe4e414,_0x25380c){var _0x15849e=_0x463ce4;super(_0xf18680,_0x5a5c35,null,[],_0x17eba8,_0x2e73d4,_0x153e82,_0x54d5f0,_0x25380c),N(this,_0x15849e(0x340),_0x15849e(0x205)),(this[_0x15849e(0x3d3)]=_0x74d84,this[_0x15849e(0x3a8)]=_0x3773a9,this[_0x15849e(0x2e9)]=_0xe4e414,this[_0x15849e(0x254)]=_0x25380c);}['appendMutation'](_0x34fc26){var _0x24c9ba=_0x463ce4;const _0xd13839=this[_0x24c9ba(0x3d3)][_0x24c9ba(0x268)](oe,this['unitID'],this[_0x24c9ba(0x220)],[_0x34fc26],this[_0x24c9ba(0x26b)]);return _0xd13839['_schedule'](),_0xd13839[_0x24c9ba(0x39b)](),_0xd13839;}[_0x463ce4(0x348)](_0x3715c4){var _0x197e65=_0x463ce4;if(this[_0x197e65(0x16c)](_0x3715c4))return this[_0x197e65(0x3d3)][_0x197e65(0x268)](ee,this[_0x197e65(0x3b6)],this[_0x197e65(0x220)],null,[],null,[_0x3715c4],this[_0x197e65(0x26b)]);try{const _0x497efc=this[_0x197e65(0x2e9)]['transformMutationsWithChangeset'](_0x3715c4,[nn]);if(_0xfee016(_0x497efc)){const {c1Prime:_0x321be6}=_0x497efc;return this[_0x197e65(0x292)](_0x321be6),this;}throw _0x497efc['error'];}catch(_0x58384c){return this[_0x197e65(0x3a8)]['error'](_0x58384c),this[_0x197e65(0x234)](!0x1);}}[_0x463ce4(0x234)](_0x5c737a){var _0x2544ae=_0x463ce4;return this[_0x2544ae(0x3d3)][_0x2544ae(0x268)](ue,this[_0x2544ae(0x3b6)],this['type'],null,[],this[_0x2544ae(0x26b)],_0x5c737a);}[_0x463ce4(0x1ca)](){throw new Error('[SyncedState]:\x20received\x20acknowledgement.');}[_0x463ce4(0x215)](){var _0x1a710e=_0x463ce4;throw new Error(_0x1a710e(0x25a));}[_0x463ce4(0x329)](){return this;}['toggleOffline'](){var _0x38d1df=_0x463ce4;return this[_0x38d1df(0x3d3)]['createInstance'](de,this[_0x38d1df(0x3b6)],this['type'],null,[],this['_handler']);}[_0x463ce4(0x396)](){return this;}[_0x463ce4(0x27f)](){throw new Error('[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.');}['fetchMiss'](){var _0x239374=_0x463ce4;const _0x57b849=this[_0x239374(0x280)][_0x239374(0x35d)](this[_0x239374(0x3b6)]);return this[_0x239374(0x26b)]['onMissingChangesets']({'from':_0x57b849,'to':0x0}),this[_0x239374(0x3d3)][_0x239374(0x268)](ee,this['unitID'],this[_0x239374(0x220)],null,[],null,[],this[_0x239374(0x26b)]);}};Ne=Te([P(0x3,_0xbf6e5a(_0x2d6b77)),P(0x4,_0xbf6e5a(_0x188281)),P(0x5,_0x5c89d1),P(0x6,_0x20d0b9),P(0x7,_0x20d0b2),P(0x8,_0x240e9b),P(0x9,_0x435100(J))],Ne);let oe=class extends Ce{constructor(_0x2e920b,_0x49c698,_0x5ac541,_0x481976,_0x122b3c,_0x1462f1,_0x513502,_0x51da7c,_0x403f15,_0x279a1f,_0x2e1a8a,_0xc5f56,_0x5073a3,_0x3d7995){var _0x1b5938=_0x463ce4;super(_0x2e920b,_0x49c698,null,_0x5ac541,_0x481976,_0x403f15,_0x5073a3,_0x1462f1,_0x3d7995),N(this,_0x1b5938(0x340),_0x1b5938(0x2b3)),N(this,_0x1b5938(0x1c8),null),N(this,'_sendingTimer',null),(this[_0x1b5938(0x3d3)]=_0x122b3c,this[_0x1b5938(0x1af)]=_0x513502,this['_logService']=_0x51da7c,this['_configService']=_0x279a1f,this[_0x1b5938(0x2e9)]=_0x2e1a8a,this[_0x1b5938(0x198)]=_0xc5f56);}[_0x463ce4(0x356)](_0x2ccacd){var _0xd21052=_0x463ce4;return this[_0xd21052(0x144)]['push'](_0x2ccacd),this[_0xd21052(0x39b)](),this;}['onRemoteChangeset'](_0x58687a){var _0x26f189=_0x463ce4;if(this[_0x26f189(0x16c)](_0x58687a))return this[_0x26f189(0x3ab)](),this[_0x26f189(0x3d3)][_0x26f189(0x268)](ee,this[_0x26f189(0x3b6)],this[_0x26f189(0x220)],null,this[_0x26f189(0x144)],null,[_0x58687a],this[_0x26f189(0x26b)]);try{const _0x3a342d=this['_transformService'][_0x26f189(0x308)](_0x58687a,this[_0x26f189(0x144)]);if(_0xfee016(_0x3a342d)){const {c1Prime:_0x558341,m2Prime:_0x260118}=_0x3a342d;this[_0x26f189(0x292)](_0x558341);const _0x428d3b=this[_0x26f189(0x3d3)][_0x26f189(0x268)](oe,this[_0x26f189(0x3b6)],this[_0x26f189(0x220)],_0x260118,this[_0x26f189(0x26b)]);this[_0x26f189(0x3ab)]();const _0x4d1464=new Date()[_0x26f189(0x183)](),_0x5747b6=this[_0x26f189(0x1c8)]?Math[_0x26f189(0x232)](this[_0x26f189(0x1c8)]-_0x4d1464,0x0):this[_0x26f189(0x2cf)]();return _0x428d3b[_0x26f189(0x1d0)](_0x5747b6),_0x428d3b;}throw _0x3a342d[_0x26f189(0x305)];}catch(_0x4e308d){return this[_0x26f189(0x3a8)][_0x26f189(0x305)](_0x4e308d),this[_0x26f189(0x234)](!0x1);}}[_0x463ce4(0x1ca)](){var _0x57d02c=_0x463ce4;throw new Error(_0x57d02c(0x1e5));}[_0x463ce4(0x215)](){var _0x8a53d3=_0x463ce4;throw new Error(_0x8a53d3(0x11e));}[_0x463ce4(0x329)](){return this;}[_0x463ce4(0x3df)](){var _0x504e=_0x463ce4;return this[_0x504e(0x3ab)](),this[_0x504e(0x3d3)][_0x504e(0x268)](de,this[_0x504e(0x3b6)],this['type'],null,this[_0x504e(0x144)],this[_0x504e(0x26b)]);}[_0x463ce4(0x396)](){return this;}[_0x463ce4(0x1d0)](_0xd0821e){var _0x2318b4=_0x463ce4;const _0x54bf32=_0xd0821e!=null?_0xd0821e:this[_0x2318b4(0x2cf)]();this[_0x2318b4(0x1c8)]=new Date()[_0x2318b4(0x183)]()+_0x54bf32,this[_0x2318b4(0x1c4)]=setTimeout(()=>{var _0x102b35=_0x2318b4;this[_0x102b35(0x3ab)]();let _0x3505fe=null;switch(this[_0x102b35(0x220)]){case Q['UNIVER_SHEET']:{_0x3505fe=qt(this['_pendingMutations'],this[_0x102b35(0x3b6)],this[_0x102b35(0x198)],this[_0x102b35(0x280)],this[_0x102b35(0x1af)]);break;}case Q[_0x102b35(0x294)]:{this[_0x102b35(0x144)][_0x102b35(0x370)](_0x3dd07e=>_0x3dd07e['id']===_0x185db1['id'])?_0x3505fe=rn(this[_0x102b35(0x144)],this['unitID'],this[_0x102b35(0x198)],this[_0x102b35(0x280)],this[_0x102b35(0x1af)]):_0x3505fe=qt(this[_0x102b35(0x144)],this[_0x102b35(0x3b6)],this['_univerInstanceService'],this['_revisionService'],this['_memberService']);break;}default:throw new Error(_0x102b35(0x236)+this[_0x102b35(0x220)]+_0x102b35(0x376));}const {changeset:_0x310f17,pendingMutations:_0x2116b2}=_0x3505fe;this[_0x102b35(0x26b)][_0x102b35(0x22f)](_0x310f17);const _0x4ba0f6=_0x2116b2['length']?this['_injector']['createInstance'](ae,this['unitID'],this[_0x102b35(0x220)],_0x310f17,_0x2116b2,this[_0x102b35(0x26b)],void 0x0):this['_injector'][_0x102b35(0x268)](le,this[_0x102b35(0x3b6)],this[_0x102b35(0x220)],_0x310f17,this[_0x102b35(0x26b)]);_0x4ba0f6['_updateLocalCache'](),this[_0x102b35(0x26b)]['onStateChange'](this,_0x4ba0f6);},_0x54bf32);}['_getSendChangesetTimeout'](){var _0xfc87e0=_0x463ce4,_0xb9bf4b;const _0x2d9449=this[_0xfc87e0(0x2e1)]['getConfig'](q);return(_0xb9bf4b=_0x2d9449==null?void 0x0:_0x2d9449[_0xfc87e0(0x210)])!=null?_0xb9bf4b:Sr;}[_0x463ce4(0x27f)](){var _0x58f7a6=_0x463ce4;throw new Error(_0x58f7a6(0x34b));}[_0x463ce4(0x3ab)](){var _0x5c1988=_0x463ce4;this['_sendingTimer']!=null&&(clearTimeout(this[_0x5c1988(0x1c4)]),this[_0x5c1988(0x1c4)]=null);}[_0x463ce4(0x234)](_0x47e062){var _0x304b73=_0x463ce4;return this['_clearScheduledTask'](),this[_0x304b73(0x3d3)][_0x304b73(0x268)](ue,this[_0x304b73(0x3b6)],this[_0x304b73(0x220)],null,this[_0x304b73(0x144)],this[_0x304b73(0x26b)],_0x47e062);}};oe=Te([P(0x4,_0xbf6e5a(_0x188281)),P(0x5,_0xbf6e5a(_0x2d6b77)),P(0x6,_0xbf6e5a(xe)),P(0x7,_0x20d0b2),P(0x8,_0x20d0b9),P(0x9,_0x1c50bb),P(0xa,_0x240e9b),P(0xb,_0x90b9a3),P(0xc,_0x5c89d1),P(0xd,_0x435100(J))],oe);let le=class extends Ce{constructor(_0x5d7843,_0x110199,_0x2403a2,_0x4766d7,_0x4bc5e2,_0xa26945,_0x3634ba,_0x434dbc,_0x238acd,_0x255060,_0x217098){var _0x22230c=_0x463ce4;super(_0x5d7843,_0x110199,_0x2403a2,[],_0x4766d7,_0x3634ba,_0x255060,_0xa26945,_0x217098),N(this,_0x22230c(0x340),_0x22230c(0x2cb)),N(this,_0x22230c(0x194),0x0),N(this,_0x22230c(0x3c6)),N(this,_0x22230c(0x2a9)),(this[_0x22230c(0x3d3)]=_0x4bc5e2,this[_0x22230c(0x3a8)]=_0x434dbc,this['_transformService']=_0x238acd);}[_0x463ce4(0x356)](_0x5108f3){var _0x51954e=_0x463ce4;this['_clearScheduledTask']();const _0x3c3fac=this[_0x51954e(0x3d3)][_0x51954e(0x268)](ae,this[_0x51954e(0x3b6)],this[_0x51954e(0x220)],this[_0x51954e(0x344)],[_0x5108f3],this['_handler'],this[_0x51954e(0x3c6)]);return _0x3c3fac[_0x51954e(0x39b)](),_0x3c3fac;}['onRemoteChangeset'](_0x4da25c){var _0x5f1047=_0x463ce4;if(this[_0x5f1047(0x16c)](_0x4da25c))return this['_clearScheduledTask'](),this[_0x5f1047(0x3d3)]['createInstance'](ee,this[_0x5f1047(0x3b6)],this['type'],this['_awaitingChangeset'],[],null,[_0x4da25c],this['_handler']);try{const _0x1a9868=this[_0x5f1047(0x2e9)][_0x5f1047(0x170)]([_0x4da25c],[this['_awaitingChangeset']],!0x1);if(_0x40379d(_0x1a9868)){const {c1Prime:_0xe9834b,c2Prime:_0x469380}=_0x1a9868;this[_0x5f1047(0x292)](_0xe9834b[0x0]),_0x469380[0x0][_0x5f1047(0x317)]=this['_getCurrentRevision'](),this[_0x5f1047(0x3ab)]();const _0x3a04cd=this[_0x5f1047(0x3d3)][_0x5f1047(0x268)](le,this['unitID'],this[_0x5f1047(0x220)],_0x469380[0x0],this[_0x5f1047(0x26b)]);return _0x3a04cd[_0x5f1047(0x39b)](),_0x3a04cd;}return this[_0x5f1047(0x234)](!0x1);}catch(_0x293815){return this[_0x5f1047(0x3a8)][_0x5f1047(0x305)](_0x293815),this[_0x5f1047(0x234)](!0x1);}}['onRemoteAck'](_0x28c6e0){var _0x244bfa=_0x463ce4;this[_0x244bfa(0x3ab)]();const _0x5d3b16=this[_0x244bfa(0x280)][_0x244bfa(0x35d)](this['unitID']);if(_0x28c6e0[_0x244bfa(0x30d)]<_0x5d3b16-0x1)return this;if(this[_0x244bfa(0x16c)](_0x28c6e0))return this[_0x244bfa(0x3d3)]['createInstance'](ee,this['unitID'],this[_0x244bfa(0x220)],null,[],this[_0x244bfa(0x344)],[],this['_handler']);this['_incrementRevisionNumber']();const _0x4c18f7=this[_0x244bfa(0x3d3)][_0x244bfa(0x268)](Ne,this[_0x244bfa(0x3b6)],this[_0x244bfa(0x220)],this[_0x244bfa(0x26b)]);return _0x4c18f7[_0x244bfa(0x39b)](),_0x4c18f7;}['onRemoteRej'](_0x410859){var _0x15a8cf=_0x463ce4;return this[_0x15a8cf(0x234)](!!(_0x410859!=null&&_0x410859['isPermissionRej']));}[_0x463ce4(0x329)](_0x10c762){var _0x550be8=_0x463ce4;return this['_resendTimeout']>yi?this[_0x550be8(0x3df)]():(this[_0x550be8(0x3c6)]=Ri(this['_resendTimeout'],{'timeout':this['_resendTimeout'],'reqId':_0x10c762['reqId']}),this[_0x550be8(0x2a9)]=this[_0x550be8(0x3c6)]['subscribe'](({reqId:_0x41f7e0,timeout:_0x18d4a4})=>{this['_resendWithTimeout'](_0x41f7e0,_0x18d4a4);}),this);}[_0x463ce4(0x3df)](){var _0x108936=_0x463ce4;return this[_0x108936(0x3ab)](),this[_0x108936(0x3d3)][_0x108936(0x268)](de,this[_0x108936(0x3b6)],this['type'],this['_awaitingChangeset'],[],this['_handler']);}['toggleOnline'](){return this;}[_0x463ce4(0x27f)](){var _0x5ae637=_0x463ce4;this[_0x5ae637(0x26b)]['onSendChangeset'](this[_0x5ae637(0x344)]);}[_0x463ce4(0x234)](_0x2400d5){var _0x47cf69=_0x463ce4;return this['_clearScheduledTask'](),this[_0x47cf69(0x3d3)]['createInstance'](ue,this[_0x47cf69(0x3b6)],this[_0x47cf69(0x220)],this['_awaitingChangeset'],[],this[_0x47cf69(0x26b)],_0x2400d5);}['_resendWithTimeout'](_0x541ca0,_0x2cd53b){var _0x403fd1=_0x463ce4,_0x625a8e;_0x541ca0===((_0x625a8e=this[_0x403fd1(0x344)])==null?void 0x0:_0x625a8e[_0x403fd1(0x330)])&&(this[_0x403fd1(0x27f)](),this[_0x403fd1(0x194)]=_0x2cd53b===0x0?0x3e8:_0x2cd53b*0x2);}[_0x463ce4(0x3ab)](){var _0x1accbf=_0x463ce4,_0x235aca;(_0x235aca=this[_0x1accbf(0x2a9)])==null||_0x235aca[_0x1accbf(0x24c)](),this['_resendTimeout']=0x0;}};le=Te([P(0x4,_0xbf6e5a(_0x188281)),P(0x5,_0xbf6e5a(_0x2d6b77)),P(0x6,_0x20d0b9),P(0x7,_0x20d0b2),P(0x8,_0x240e9b),P(0x9,_0x5c89d1),P(0xa,_0x435100(J))],le);let ae=class extends Ce{constructor(_0x24c70b,_0x32defa,_0x452033,_0x49e4e8,_0x45e613,_0x457225,_0x3eccaa,_0x12bb0e,_0x14d759,_0x4da823,_0x26ea1b,_0x13ab77,_0x3f0903){var _0x5bb63f=_0x463ce4;super(_0x24c70b,_0x32defa,_0x452033,_0x49e4e8,_0x45e613,_0x14d759,_0x13ab77,_0x12bb0e,_0x3f0903),N(this,'status','awaiting_with_pending'),N(this,_0x5bb63f(0x194),0x0),N(this,_0x5bb63f(0x3c6)),N(this,_0x5bb63f(0x2a9)),(this[_0x5bb63f(0x3d3)]=_0x3eccaa,this['_logService']=_0x4da823,this[_0x5bb63f(0x2e9)]=_0x26ea1b,this[_0x5bb63f(0x254)]=_0x3f0903,_0x457225&&(this['_resendTimer']=_0x457225,this[_0x5bb63f(0x2a9)]=this[_0x5bb63f(0x3c6)]['subscribe'](({reqId:_0x202ae7,timeout:_0x2c4ab9})=>{var _0x369bcd=_0x5bb63f;this[_0x369bcd(0x26e)](_0x202ae7,_0x2c4ab9);})));}[_0x463ce4(0x356)](_0x5913f7){var _0x1c2724=_0x463ce4;return this[_0x1c2724(0x144)][_0x1c2724(0x387)](_0x5913f7),this;}['onRemoteChangeset'](_0x3e0706){var _0x147adf=_0x463ce4;if(this[_0x147adf(0x16c)](_0x3e0706))return this['_clearScheduledTask'](),this[_0x147adf(0x3d3)][_0x147adf(0x268)](ee,this[_0x147adf(0x3b6)],this[_0x147adf(0x220)],this[_0x147adf(0x344)],this[_0x147adf(0x144)],null,[_0x3e0706],this['_handler']);try{const _0x786a4a=this[_0x147adf(0x2e9)]['transformChangesets']([_0x3e0706],[this[_0x147adf(0x344)]],!0x1);if(_0x40379d(_0x786a4a)){const {c1Prime:_0x727b4a,c2Prime:_0x47afff}=_0x786a4a,_0x2abf76=this['_transformService']['transformMutationsWithChangeset'](_0x727b4a[0x0],this[_0x147adf(0x144)]);if(_0xfee016(_0x2abf76)){const {c1Prime:_0x58154a,m2Prime:_0x2435d2}=_0x2abf76;return this[_0x147adf(0x292)](_0x58154a),_0x47afff[0x0][_0x147adf(0x317)]=this[_0x147adf(0x350)](),this['_clearScheduledTask'](),this['_injector'][_0x147adf(0x268)](ae,this[_0x147adf(0x3b6)],this[_0x147adf(0x220)],_0x47afff[0x0],_0x2435d2,this['_handler'],void 0x0);}throw _0x2abf76['error'];}throw _0x786a4a['error'];}catch(_0x4a2bc9){return this[_0x147adf(0x3a8)][_0x147adf(0x305)](_0x4a2bc9),this[_0x147adf(0x234)](!0x1);}}['onRemoteAck'](_0x5e470c){var _0x15aa81=_0x463ce4;if(this[_0x15aa81(0x3ab)](),this[_0x15aa81(0x16c)](_0x5e470c))return this[_0x15aa81(0x3d3)][_0x15aa81(0x268)](ee,this['unitID'],this[_0x15aa81(0x220)],null,this[_0x15aa81(0x144)],this[_0x15aa81(0x344)],[],this[_0x15aa81(0x26b)]);this[_0x15aa81(0x260)]();const _0x2cf18d=this['_injector']['createInstance'](oe,this['unitID'],this['type'],this[_0x15aa81(0x144)],this[_0x15aa81(0x26b)]);return _0x2cf18d['_schedule'](),_0x2cf18d[_0x15aa81(0x39b)](),_0x2cf18d;}[_0x463ce4(0x215)](_0x44d617){var _0x3e9b23=_0x463ce4;return this[_0x3e9b23(0x234)](!!(_0x44d617!=null&&_0x44d617[_0x3e9b23(0x2d2)]));}['onRemoteRetry'](_0x3d3dab){var _0x33dd48=_0x463ce4;return this[_0x33dd48(0x194)]>yi?this[_0x33dd48(0x3df)]():(this[_0x33dd48(0x3c6)]=Ri(this['_resendTimeout'],{'timeout':this[_0x33dd48(0x194)],'reqId':_0x3d3dab[_0x33dd48(0x330)]}),this['_sender']=this[_0x33dd48(0x3c6)][_0x33dd48(0x18c)](({reqId:_0x2361b4,timeout:_0x5b1bae})=>{this['_resendWithTimeout'](_0x2361b4,_0x5b1bae);}),this);}[_0x463ce4(0x3df)](){var _0x4d7654=_0x463ce4;return this[_0x4d7654(0x3ab)](),this[_0x4d7654(0x3d3)]['createInstance'](de,this[_0x4d7654(0x3b6)],this['type'],this[_0x4d7654(0x344)],this[_0x4d7654(0x144)],this[_0x4d7654(0x26b)]);}[_0x463ce4(0x396)](){return this;}['resend'](){var _0x2ad5b2=_0x463ce4;this[_0x2ad5b2(0x26b)]['onSendChangeset'](this['_awaitingChangeset']);}[_0x463ce4(0x234)](_0x149dcf){var _0x245dd9=_0x463ce4;return this['_clearScheduledTask'](),this[_0x245dd9(0x3d3)][_0x245dd9(0x268)](ue,this[_0x245dd9(0x3b6)],this[_0x245dd9(0x220)],null,this['_pendingMutations'],this[_0x245dd9(0x26b)],_0x149dcf);}['_resendWithTimeout'](_0x3b15d0,_0x1fd666){var _0x36c4e7=_0x463ce4,_0x267f3b;_0x3b15d0===((_0x267f3b=this[_0x36c4e7(0x344)])==null?void 0x0:_0x267f3b[_0x36c4e7(0x330)])&&(this['resend'](),this[_0x36c4e7(0x194)]=_0x1fd666===0x0?0x3e8:_0x1fd666*0x2);}[_0x463ce4(0x3ab)](){var _0x498fa5=_0x463ce4,_0x709606;(_0x709606=this[_0x498fa5(0x2a9)])==null||_0x709606[_0x498fa5(0x24c)](),this[_0x498fa5(0x194)]=0x0;}};ae=Te([P(0x6,_0xbf6e5a(_0x188281)),P(0x7,_0xbf6e5a(_0x2d6b77)),P(0x8,_0x20d0b9),P(0x9,_0x20d0b2),P(0xa,_0x240e9b),P(0xb,_0x5c89d1),P(0xc,_0x435100(J))],ae);let ue=class extends Ce{constructor(_0x384e9c,_0x113529,_0x34e4c2,_0x279a14,_0x2b66c9,_0x58f6c9=!0x1,_0x4eb87d,_0x3a64d9,_0x21d381,_0x2e31f3,_0xa7ad4d,_0x3671ae,_0x489e8d){var _0x5e3b06=_0x463ce4;super(_0x384e9c,_0x113529,_0x34e4c2,_0x279a14,_0x2b66c9,_0x3a64d9,_0x21d381,_0x2e31f3,_0x489e8d),N(this,'status',_0x5e3b06(0x3c4)),(this[_0x5e3b06(0x230)]=_0x58f6c9,this[_0x5e3b06(0x1e4)]=_0x4eb87d,this['_localeService']=_0xa7ad4d,this[_0x5e3b06(0xf3)]=_0x3671ae,this[_0x5e3b06(0x254)]=_0x489e8d,this['_showConflictNotification'](),this[_0x5e3b06(0x184)](),this[_0x5e3b06(0x2e5)]());}[_0x463ce4(0x356)](){return this;}[_0x463ce4(0x348)](){return this;}[_0x463ce4(0x1ca)](){return this;}[_0x463ce4(0x215)](){return this;}['onRemoteRetry'](){return this;}[_0x463ce4(0x3df)](){return this;}[_0x463ce4(0x396)](){return this;}[_0x463ce4(0x27f)](){var _0x36fe07=_0x463ce4;throw new Error(_0x36fe07(0x31d));}[_0x463ce4(0x184)](){var _0x2a66bb=_0x463ce4,_0xb6b633;(_0xb6b633=this['_localCacheService'])==null||_0xb6b633[_0x2a66bb(0x257)](this['unitID'],this[_0x2a66bb(0x220)],null,[]);}[_0x463ce4(0x191)](){var _0x13a260=_0x463ce4;this['_isPermissionRej']?this[_0x13a260(0xf3)][_0x13a260(0x2bc)]({'id':se[_0x13a260(0x293)]}):this['_collaborationUIEventService'][_0x13a260(0x2bc)]({'id':se[_0x13a260(0x102)]});}[_0x463ce4(0x2e5)](){var _0x4e3919=_0x463ce4;this[_0x4e3919(0x1e4)][_0x4e3919(0x209)](new _0x4b8baf(this[_0x4e3919(0x3b6)])['id'],!0x1);}};ue=Te([P(0x6,_0xbf6e5a(_0x2763a3)),P(0x7,_0x20d0b9),P(0x8,_0x5c89d1),P(0x9,_0xbf6e5a(_0x2d6b77)),P(0xa,_0xbf6e5a(_0x5b114b)),P(0xb,_0xbf6e5a(pe)),P(0xc,_0x435100(J))],ue);let de=class extends Ce{constructor(_0x2bef30,_0x14ff8f,_0x3c53ce,_0x16c770,_0x400bcf,_0x377457,_0x52c1d1,_0x4b6bb3,_0x1ea998,_0x2427ae){var _0x4be441=_0x463ce4;super(_0x2bef30,_0x14ff8f,_0x3c53ce,_0x16c770,_0x400bcf,_0x4b6bb3,_0x1ea998,_0x52c1d1,_0x2427ae),N(this,_0x4be441(0x340),_0x4be441(0x177)),this[_0x4be441(0x3d3)]=_0x377457;}[_0x463ce4(0x356)](_0x13c6c3){var _0x2ef62f=_0x463ce4;return this[_0x2ef62f(0x144)][_0x2ef62f(0x387)](_0x13c6c3),this[_0x2ef62f(0x39b)](),this;}[_0x463ce4(0x348)](_0x42de35){var _0xc3c6ab=_0x463ce4;throw new Error(_0xc3c6ab(0x243));}[_0x463ce4(0x1ca)](){var _0x10891c=_0x463ce4;throw new Error(_0x10891c(0x187));}[_0x463ce4(0x215)](){var _0x4f6ee4=_0x463ce4;throw new Error(_0x4f6ee4(0x162));}[_0x463ce4(0x329)](){return this;}[_0x463ce4(0x3df)](){return this;}[_0x463ce4(0x396)](){var _0x43b015=_0x463ce4;const {_injector:_0x413835,_pendingMutations:_0xcb8955,_awaitingChangeset:_0x4bfd41,unitID:_0x33896a,_handler:_0x33f5f7,type:_0x5ae7bf}=this,_0x117c62=Oi(_0x413835,_0x33896a,_0x5ae7bf,_0x4bfd41,_0xcb8955,_0x33f5f7);return _0x117c62 instanceof oe?_0x117c62[_0x43b015(0x1d0)]():(_0x117c62 instanceof ae||_0x117c62 instanceof le)&&_0x117c62[_0x43b015(0x27f)](),_0x117c62;}[_0x463ce4(0x27f)](){var _0x474b0b=_0x463ce4;throw new Error(_0x474b0b(0x3d7));}};de=Te([P(0x5,_0xbf6e5a(_0x188281)),P(0x6,_0xbf6e5a(_0x2d6b77)),P(0x7,_0x20d0b9),P(0x8,_0x5c89d1),P(0x9,_0x435100(J))],de);let ee=class extends Ce{constructor(_0x573b6e,_0x2d521f,_0x45c2d1,_0x48db87,_0x1f6bf9,_0x3222af,_0x19169a,_0x6a2e2f,_0x440798,_0x3bc2d8,_0x70a8c8,_0x58252b,_0x54c2dc,_0x2f31c9){var _0x45d416=_0x463ce4;super(_0x573b6e,_0x2d521f,_0x45c2d1,_0x48db87,_0x19169a,_0x70a8c8,_0x58252b,_0x440798,_0x2f31c9),N(this,'status',_0x45d416(0x24b)),(this[_0x45d416(0x13e)]=_0x1f6bf9,this['_queuedRemoteChangesets']=_0x3222af,this[_0x45d416(0x3d3)]=_0x6a2e2f,this['_logService']=_0x3bc2d8,this[_0x45d416(0x2e9)]=_0x54c2dc,this[_0x45d416(0x254)]=_0x2f31c9);}[_0x463ce4(0x332)](_0x2eb9db){var _0x1fd643=_0x463ce4;try{const _0x3466fe=[..._0x2eb9db,...this[_0x1fd643(0x367)]],_0x92fe94=[this[_0x1fd643(0x344)]||this['_acknowledgedAwaitingChangeset']]['filter'](_0x4cdee7=>!!_0x4cdee7);let _0x165504,_0x4f6bfa;if(_0x92fe94['length']){const _0x1da6b8=this[_0x1fd643(0x2e9)]['transformChangesets'](_0x3466fe,_0x92fe94,!0x1);if(!_0x40379d(_0x1da6b8))throw _0x1da6b8[_0x1fd643(0x305)];_0x165504=_0x1da6b8[_0x1fd643(0x289)],_0x4f6bfa=_0x1da6b8[_0x1fd643(0x361)];}else _0x165504=_0x3466fe,_0x4f6bfa=[];let _0x54e322=this['_pendingMutations'];_0x165504[_0x1fd643(0x29f)](_0x3298b1=>{var _0x1486c3=_0x1fd643;let _0x33b3d8;if(_0x54e322[_0x1486c3(0x3b5)]){const _0x4c2542=this['_transformService'][_0x1486c3(0x308)](_0x3298b1,_0x54e322);if(!_0xfee016(_0x4c2542))throw _0x4c2542[_0x1486c3(0x305)];_0x33b3d8=_0x4c2542[_0x1486c3(0x289)],_0x54e322=_0x4c2542[_0x1486c3(0xfe)];}else _0x33b3d8=_0x3298b1;this[_0x1486c3(0x292)](_0x33b3d8);}),this[_0x1fd643(0x13e)]&&this[_0x1fd643(0x260)](),this[_0x1fd643(0x344)]&&_0x4f6bfa[_0x1fd643(0x3b5)]&&(_0x4f6bfa[0x0][_0x1fd643(0x317)]=this[_0x1fd643(0x350)]());let _0x5c3dee;if(this[_0x1fd643(0x344)]&&_0x54e322[_0x1fd643(0x3b5)]!==0x0)_0x5c3dee=this[_0x1fd643(0x3d3)][_0x1fd643(0x268)](ae,this[_0x1fd643(0x3b6)],this['type'],_0x4f6bfa[0x0],_0x54e322,this['_handler'],void 0x0);else{if(this['_awaitingChangeset']&&_0x54e322['length']===0x0)_0x4f6bfa[0x0][_0x1fd643(0x317)]=this[_0x1fd643(0x350)](),_0x5c3dee=this[_0x1fd643(0x3d3)][_0x1fd643(0x268)](le,this[_0x1fd643(0x3b6)],this[_0x1fd643(0x220)],_0x4f6bfa[0x0],this['_handler']);else{if(_0x54e322[_0x1fd643(0x3b5)]!==0x0){const _0x16121f=this[_0x1fd643(0x3d3)][_0x1fd643(0x268)](oe,this[_0x1fd643(0x3b6)],this['type'],_0x54e322,this[_0x1fd643(0x26b)]);_0x16121f['_schedule'](),_0x5c3dee=_0x16121f;}else _0x5c3dee=this[_0x1fd643(0x3d3)][_0x1fd643(0x268)](Ne,this[_0x1fd643(0x3b6)],this['type'],this[_0x1fd643(0x26b)]);}}return _0x5c3dee[_0x1fd643(0x39b)](),_0x5c3dee;}catch(_0x1fbeae){return this[_0x1fd643(0x3a8)][_0x1fd643(0x305)]('[FetchMissState]',_0x1fd643(0x1a2),_0x1fbeae),this[_0x1fd643(0x3d3)][_0x1fd643(0x268)](ue,this[_0x1fd643(0x3b6)],this[_0x1fd643(0x220)],this[_0x1fd643(0x344)],this[_0x1fd643(0x144)],this[_0x1fd643(0x26b)],!0x1);}}[_0x463ce4(0x27f)](){var _0x1397f7=_0x463ce4;throw new Error(_0x1397f7(0x30e));}[_0x463ce4(0x356)](_0x2a45a8){var _0x11814d=_0x463ce4;return this[_0x11814d(0x144)][_0x11814d(0x387)](_0x2a45a8),this;}['onRemoteChangeset'](_0x176e7e){var _0x42057f=_0x463ce4;return this['_queuedRemoteChangesets'][_0x42057f(0x387)](_0x176e7e),this;}[_0x463ce4(0x1ca)](_0x2686ea){var _0x50664f=_0x463ce4;if(this[_0x50664f(0x344)])return this[_0x50664f(0x13e)]=this[_0x50664f(0x344)],this[_0x50664f(0x344)]=null,this;throw new Error(_0x50664f(0x150));}[_0x463ce4(0x215)](_0x86c2e3){var _0x3fb113=_0x463ce4;return this[_0x3fb113(0x234)](!!(_0x86c2e3!=null&&_0x86c2e3[_0x3fb113(0x2d2)]));}['onRemoteRetry'](){return this;}[_0x463ce4(0x3df)](){var _0x3c15f5=_0x463ce4;return this['_injector']['createInstance'](de,this[_0x3c15f5(0x3b6)],this['type'],this['_awaitingChangeset'],this[_0x3c15f5(0x144)],this['_handler']);}[_0x463ce4(0x396)](){return this;}[_0x463ce4(0x234)](_0x177465){var _0x339cda=_0x463ce4;return this[_0x339cda(0x3d3)][_0x339cda(0x268)](ue,this[_0x339cda(0x3b6)],this['type'],this[_0x339cda(0x344)],this[_0x339cda(0x144)],this['_handler'],_0x177465);}};ee=Te([P(0x7,_0xbf6e5a(_0x188281)),P(0x8,_0xbf6e5a(_0x2d6b77)),P(0x9,_0x20d0b2),P(0xa,_0x20d0b9),P(0xb,_0x5c89d1),P(0xc,_0x240e9b),P(0xd,_0x435100(J))],ee);function Oi(_0x12744a,_0x49d016,_0x42c845,_0x31cf91,_0x21a34a,_0x2e0d82){var _0x48126e=_0x463ce4;return _0x31cf91&&_0x21a34a['length']?_0x12744a[_0x48126e(0x268)](ae,_0x49d016,_0x42c845,_0x31cf91,_0x21a34a,_0x2e0d82,void 0x0):_0x31cf91?_0x12744a['createInstance'](le,_0x49d016,_0x42c845,_0x31cf91,_0x2e0d82):_0x21a34a[_0x48126e(0x3b5)]?_0x12744a[_0x48126e(0x268)](oe,_0x49d016,_0x42c845,_0x21a34a,_0x2e0d82):_0x12744a[_0x48126e(0x268)](Ne,_0x49d016,_0x42c845,_0x2e0d82);}var on=Object[_0x463ce4(0x14b)],xt=(_0x250765,_0x29ef81,_0x5c4a8e,_0x47b4bd)=>{var _0x5c0b5b=_0x463ce4;for(var _0x31ba7d=_0x47b4bd>0x1?void 0x0:_0x47b4bd?on(_0x29ef81,_0x5c4a8e):_0x29ef81,_0x1e2a36=_0x250765[_0x5c0b5b(0x3b5)]-0x1,_0xea210a;_0x1e2a36>=0x0;_0x1e2a36--)(_0xea210a=_0x250765[_0x1e2a36])&&(_0x31ba7d=_0xea210a(_0x31ba7d)||_0x31ba7d);return _0x31ba7d;},H=(_0x521955,_0x57438e)=>(_0x460826,_0x559cbf)=>_0x57438e(_0x460826,_0x559cbf,_0x521955);let rt=class extends _0x1a26b4{constructor(_0x35d4b0,_0xe20850,_0x58fe18,_0x49a35b,_0x4fd454,_0x49c842,_0x4eafa4,_0x3bddc1,_0x74a9d6,_0xd3b90,_0x7c8d9e,_0xf831c6,_0x2b2b88){var _0x931321=_0x463ce4;super(),N(this,'_state$',new _0x53c6de(null)),N(this,'state$',this['_state$']['asObservable']()),N(this,_0x931321(0x2ec)),N(this,_0x931321(0x26c),!0x1),N(this,_0x931321(0x12a),''),N(this,'_changesetReqId',0x0),N(this,'status$',this[_0x931321(0x342)][_0x931321(0x34f)](_0x2032a0(_0x28de77=>_0x28de77?_0x28de77[_0x931321(0x340)]:bi[_0x931321(0x264)]),_0x115247(0x1))),N(this,_0x931321(0x290),!0x1),N(this,'_remoteChangesetQueue',[]),(this[_0x931321(0x3b6)]=_0x35d4b0,this[_0x931321(0x20b)]=_0xe20850,this[_0x931321(0x26d)]=_0x58fe18,this['_injector']=_0x49a35b,this['_compressMutationService']=_0x4fd454,this[_0x931321(0x272)]=_0x49c842,this['_revisionService']=_0x4eafa4,this[_0x931321(0x39a)]=_0x3bddc1,this['_logService']=_0x74a9d6,this[_0x931321(0x23c)]=_0xd3b90,this[_0x931321(0x1e4)]=_0x7c8d9e,this[_0x931321(0x345)]=_0xf831c6,this[_0x931321(0x3a4)]=_0x2b2b88);}get[_0x463ce4(0x29d)](){var _0x3353e4=_0x463ce4;return this[_0x3353e4(0x2ec)];}async[_0x463ce4(0x1ce)](){var _0x3b27cb=_0x463ce4;if(this['state'])throw new Error('[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.');await this[_0x3b27cb(0x383)]();}[_0x463ce4(0x13d)](){var _0x2cb784=_0x463ce4;return this[_0x2cb784(0x26c)]=!0x0,_0x47f170(()=>{var _0x379ddb=_0x2cb784;this[_0x379ddb(0x26c)]=!0x1,this['_exhaustRemoteChangesetQueue']();});}[_0x463ce4(0xff)](_0x3d3d14){var _0x510e09=_0x463ce4;this[_0x510e09(0x1b5)](_0x3d3d14);}[_0x463ce4(0x11c)](_0x31233f){var _0x2f2476=_0x463ce4;this['_state']=_0x31233f,this[_0x2f2476(0x31a)]['next'](_0x31233f);}async['_init'](){var _0x2967e5=_0x463ce4,_0x3e47c5;this[_0x2967e5(0x11c)](await this[_0x2967e5(0x1d1)]()),this[_0x2967e5(0x345)]&&((_0x3e47c5=this[_0x2967e5(0x345)])==null||_0x3e47c5[_0x2967e5(0x240)](this['unitID']),this[_0x2967e5(0x263)](this[_0x2967e5(0x345)]['getUnitStatus$'](this[_0x2967e5(0x3b6)])[_0x2967e5(0x18c)](_0x19bc13=>{var _0x5c10ac=_0x2967e5;this[_0x5c10ac(0x3a8)][_0x5c10ac(0x228)](_0x5c10ac(0x392),_0x5c10ac(0x1de),_0x19bc13),_0x19bc13===Ci[_0x5c10ac(0x24e)]?(this[_0x5c10ac(0x39a)][_0x5c10ac(0x2bc)]({'id':se['OTHER_CLIENT_EDITING']}),this[_0x5c10ac(0x1e4)][_0x5c10ac(0x209)](new _0x4b8baf(this['unitID'])['id'],!0x1),this['_permissionService'][_0x5c10ac(0x38f)](!0x1)):(this[_0x5c10ac(0x1e4)]['updatePermissionPoint'](new _0x4b8baf(this[_0x5c10ac(0x3b6)])['id'],!0x0),this[_0x5c10ac(0x1e4)]['setShowComponents'](!0x0));})));let _0x45f1a8=!0x1;return this[_0x2967e5(0x263)](this[_0x2967e5(0x20b)][_0x2967e5(0x3d9)][_0x2967e5(0x18c)](_0x2935ae=>{var _0x18cf31=_0x2967e5;_0x2935ae===Ee[_0x18cf31(0x3e7)]?this[_0x18cf31(0x32a)](_0x45f1a8):_0x2935ae===Ee[_0x18cf31(0x264)]&&(_0x45f1a8=!0x0,this['_toggleOffline']());})),this['disposeWithMe'](this[_0x2967e5(0x20b)][_0x2967e5(0x1bb)]['subscribe'](_0x5662a4=>{var _0x1b2381=_0x2967e5;try{switch(_0x5662a4[_0x1b2381(0x3cc)]){case _0x5573d2['NEW_CHANGESETS']:{this[_0x1b2381(0x151)](_0x17596b(_0x5662a4[_0x1b2381(0x2dc)]));break;}case _0x5573d2[_0x1b2381(0x1f4)]:{this[_0x1b2381(0x2e2)](_0x5662a4[_0x1b2381(0x2dc)]);break;}case _0x5573d2[_0x1b2381(0x110)]:{this['_onRemoteRejected']();break;}case _0x5573d2[_0x1b2381(0x2bd)]:{this[_0x1b2381(0x21d)](_0x5662a4[_0x1b2381(0x2dc)]);break;}case _0x5573d2['PSEUDO_FETCH_MISSING_RESULT']:{this[_0x1b2381(0x1a0)](_0x5662a4[_0x1b2381(0x2dc)]['changesets'][_0x1b2381(0x1d7)](_0x24ee8b=>_0x17596b(_0x24ee8b)));break;}case _0x5573d2[_0x1b2381(0x1dd)]:{this[_0x1b2381(0x3e0)]({'isPermissionRej':!0x0});break;}case _0x5573d2['UNISCRIPT_RUN']:break;}}catch(_0x1efb4d){throw console[_0x1b2381(0x305)]('Error\x20on\x20receiving\x20event',_0x1efb4d),_0x1efb4d;}})),this['_state'];}['_unlockTransition'](){this['_transitionLocked']=!0x1;}['_lockTransition'](){var _0x3b52e3=_0x463ce4;if(this[_0x3b52e3(0x290)])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[_0x3b52e3(0x290)]=!0x0;}['_onLocalMutation'](_0x577639){var _0x3f539d=_0x463ce4;this['_lockTransition'](),this[_0x3f539d(0x11c)](this[_0x3f539d(0x2ec)][_0x3f539d(0x356)](_0x577639)),this[_0x3f539d(0xf9)]();}[_0x463ce4(0x151)](_0x43dda0){var _0x50115d=_0x463ce4;if(!(_0x43dda0[_0x50115d(0x30d)]<=this['_revisionService'][_0x50115d(0x35d)](this[_0x50115d(0x3b6)]))){if(this['_collaborationPaused']){this[_0x50115d(0x17e)][_0x50115d(0x387)](_0x43dda0);return;}this[_0x50115d(0x2d5)](_0x43dda0);}}['_exhaustRemoteChangesetQueue'](){var _0x53b776=_0x463ce4;this[_0x53b776(0x17e)][_0x53b776(0x29f)](_0x47de61=>this[_0x53b776(0x2d5)](_0x47de61)),this['_remoteChangesetQueue']=[];}['_applyRemoteChangeset'](_0x587845){var _0x5247f6=_0x463ce4;const _0x59e8aa=this[_0x5247f6(0x347)][_0x5247f6(0x36f)]['fetchThroughInterceptors'](this[_0x5247f6(0x347)][_0x5247f6(0x36f)][_0x5247f6(0x1a5)]()[_0x5247f6(0x169)])(_0x587845[_0x5247f6(0x2b4)],null)||_0x587845['mutations'],_0xb5c186={..._0x587845,'mutations':_0x59e8aa};this[_0x5247f6(0x1c9)](),this[_0x5247f6(0x11c)](this[_0x5247f6(0x2ec)][_0x5247f6(0x348)](_0xb5c186)),this[_0x5247f6(0xf9)]();}['_onRemoteACK'](_0x2051d6){var _0x3e0910=_0x463ce4;this['_lockTransition'](),this[_0x3e0910(0x11c)](this[_0x3e0910(0x2ec)][_0x3e0910(0x1ca)](_0x2051d6)),this[_0x3e0910(0xf9)]();}[_0x463ce4(0x3e0)](_0x1fda36){var _0x464ff9=_0x463ce4;this[_0x464ff9(0x1c9)](),this[_0x464ff9(0x11c)](this[_0x464ff9(0x2ec)][_0x464ff9(0x215)](_0x1fda36)),this[_0x464ff9(0xf9)]();}[_0x463ce4(0x21d)](_0x116b81){var _0x3bd21a=_0x463ce4;this['_lockTransition'](),this[_0x3bd21a(0x11c)](this[_0x3bd21a(0x2ec)][_0x3bd21a(0x329)](_0x116b81)),this[_0x3bd21a(0xf9)]();}[_0x463ce4(0x1a0)](_0x52b920){var _0xf9abaa=_0x463ce4;if(!(this[_0xf9abaa(0x2ec)]instanceof ee))throw new TypeError(_0xf9abaa(0x3d8));const _0x3bb49f=_0x52b920[_0xf9abaa(0x1d7)](_0x4db16c=>{var _0x10c246=_0xf9abaa;const _0x378475=this['_compressMutationService'][_0x10c246(0x36f)]['fetchThroughInterceptors'](this[_0x10c246(0x347)][_0x10c246(0x36f)][_0x10c246(0x1a5)]()[_0x10c246(0x169)])(_0x4db16c[_0x10c246(0x2b4)],null)||_0x4db16c[_0x10c246(0x2b4)];return{..._0x4db16c,'mutations':_0x378475};});this[_0xf9abaa(0x1c9)](),this[_0xf9abaa(0x11c)](this[_0xf9abaa(0x2ec)][_0xf9abaa(0x332)](_0x3bb49f)),this[_0xf9abaa(0xf9)]();}[_0x463ce4(0x291)](){var _0x431518=_0x463ce4;this['_lockTransition'](),this[_0x431518(0x11c)](this[_0x431518(0x2ec)]['toggleOffline']()),this['_unlockTransition']();}[_0x463ce4(0x32a)](_0x83a523=!0x1){var _0xcb842e=_0x463ce4;this['_lockTransition'](),this['_updateState'](this[_0xcb842e(0x2ec)][_0xcb842e(0x396)]()),this[_0xcb842e(0xf9)]();const _0x138644=this[_0xcb842e(0x2ec)];_0x83a523&&_0x138644 instanceof Ne&&(this[_0xcb842e(0x1c9)](),this[_0xcb842e(0x11c)](_0x138644[_0xcb842e(0x379)]()),this['_unlockTransition']());}async[_0x463ce4(0x1d1)](){return new Promise(_0x10aa21=>{var _0x484059=_0x1756;this[_0x484059(0x20b)][_0x484059(0x3d9)]['pipe'](_0x51e724(0x1))[_0x484059(0x18c)](async _0x3c4a9c=>{var _0x5dcff5=_0x484059;_0x10aa21(await this['_createInitialStateImpl'](_0x3c4a9c===Ee[_0x5dcff5(0x3e7)]));});});}['_createHandler'](){var _0x3b6061=_0x463ce4;const _0x41a0db=this[_0x3b6061(0x3b6)];return{'onStateChange':(_0x2f350e,_0x341b27)=>{var _0x13ebc0=_0x3b6061;if(_0x2f350e!==this[_0x13ebc0(0x2ec)])throw new Error(_0x13ebc0(0x149)+_0x2f350e[_0x13ebc0(0x340)]+_0x13ebc0(0x37e)+_0x341b27['status']+_0x13ebc0(0x306)+this['_state']['status']);this[_0x13ebc0(0x11c)](_0x341b27);},'onSendChangeset':_0x584727=>{var _0x340ee6=_0x3b6061;_0x584727['sid']||(_0x584727['sid']=this[_0x340ee6(0x12a)],_0x584727[_0x340ee6(0x330)]=++this[_0x340ee6(0x231)]);const _0x4bd7a1={'eventID':_0x5573d2[_0x340ee6(0x121)],'data':{'unitID':_0x584727[_0x340ee6(0x3b6)],'unitType':this[_0x340ee6(0x26d)],'changeset':_0x584727,'memberID':this['session'][_0x340ee6(0x26a)]()}};this['session'][_0x340ee6(0x1ed)](_0x4bd7a1,this[_0x340ee6(0x3b6)]);},'onMissingChangesets':({from:_0x513dd6,to:_0x857791})=>{var _0x5c4be8=_0x3b6061;this[_0x5c4be8(0x3a8)][_0x5c4be8(0x228)](_0x5c4be8(0x392),_0x5c4be8(0x319)+_0x513dd6+_0x5c4be8(0x11a)+_0x857791);const _0x4e2020={'eventID':_0x5573d2[_0x5c4be8(0x129)],'data':{'unitID':_0x41a0db,'unitType':this[_0x5c4be8(0x26d)],'from':_0x513dd6,'to':_0x857791}};this['session'][_0x5c4be8(0x1ed)](_0x4e2020,this['unitID']);}};}async[_0x463ce4(0x34a)](_0x3f01a2){var _0x4e58d8=_0x463ce4,_0x38b3ff,_0x179aff,_0x519e2b;const _0x2dc717=await((_0x38b3ff=this[_0x4e58d8(0x3a4)])==null?void 0x0:_0x38b3ff['loadOfflineData'](this[_0x4e58d8(0x3b6)])),_0x51c594=(_0x179aff=_0x2dc717==null?void 0x0:_0x2dc717[_0x4e58d8(0x2b4)])!=null?_0x179aff:[],_0x1eca9b=(_0x519e2b=_0x2dc717==null?void 0x0:_0x2dc717[_0x4e58d8(0x172)])!=null?_0x519e2b:null,_0x174c7b=!!(_0x1eca9b!=null&&_0x1eca9b['sid'])&&!!(_0x1eca9b!=null&&_0x1eca9b[_0x4e58d8(0x330)]);this[_0x4e58d8(0x12a)]=_0x174c7b?_0x1eca9b['sid']:Xr(),this[_0x4e58d8(0x231)]=_0x174c7b?_0x1eca9b[_0x4e58d8(0x330)]:0x0;const _0x4a015a=this['unitID'];try{this[_0x4e58d8(0x23d)](_0x1eca9b,_0x51c594);}catch(_0x3dcfab){this[_0x4e58d8(0x3a8)]['error'](_0x3dcfab);}const _0x3211f6=this[_0x4e58d8(0x175)]();if(_0x3f01a2){const _0x5c0aa5=Oi(this['_injector'],_0x4a015a,this[_0x4e58d8(0x26d)],_0x1eca9b,_0x51c594,_0x3211f6);return _0x5c0aa5 instanceof oe?_0x5c0aa5['_schedule']():(_0x5c0aa5 instanceof ae||_0x5c0aa5 instanceof le)&&_0x5c0aa5['resend'](),_0x5c0aa5;}return this[_0x4e58d8(0x3d3)][_0x4e58d8(0x268)](de,_0x4a015a,this['_type'],_0x1eca9b,_0x51c594,_0x3211f6);}['_replayCachedMutations'](_0x7cdca,_0x59eda7){var _0x597091=_0x463ce4,_0x1567d6,_0x5a8bdf;const _0x451144=this[_0x597091(0x347)]['interceptor']['fetchThroughInterceptors'](this['_compressMutationService'][_0x597091(0x36f)][_0x597091(0x1a5)]()[_0x597091(0x169)]);(_0x1567d6=_0x451144((_0x7cdca==null?void 0x0:_0x7cdca['mutations'])||[],null))==null||_0x1567d6[_0x597091(0x29f)](_0x58e828=>this['_commandService'][_0x597091(0xea)](_0x58e828['id'],_0x58e828[_0x597091(0x1b3)])),(_0x5a8bdf=_0x451144(_0x59eda7||[],null))==null||_0x5a8bdf[_0x597091(0x29f)](_0x2dd9e=>this[_0x597091(0x23c)][_0x597091(0xea)](_0x2dd9e['id'],_0x2dd9e[_0x597091(0x1b3)]));}};rt=xt([H(0x3,_0xbf6e5a(_0x188281)),H(0x4,_0xbf6e5a(_0x5d301a)),H(0x5,_0xbf6e5a(_0x5b114b)),H(0x6,_0xbf6e5a(_0x2d6b77)),H(0x7,_0xbf6e5a(pe)),H(0x8,_0x20d0b2),H(0x9,_0x20d0b9),H(0xa,_0x2763a3),H(0xb,_0x435100(ht)),H(0xc,_0x435100(J))],rt);let It=class extends rt{constructor(_0x173f47,_0x1d65b1,_0x512d69,_0x119c34,_0x5ebb62,_0x49b843,_0xf55d7b,_0x55c06c,_0x5a4b84,_0x3bf243,_0x49ea3d,_0x194468,_0x58e0f6){var _0x1f00f7=_0x463ce4;super(_0x173f47,_0x512d69,_0x1d65b1,_0x119c34,_0x5ebb62,_0x49b843,_0xf55d7b,_0x55c06c,_0x5a4b84,_0x3bf243,_0x49ea3d,_0x194468,_0x58e0f6),N(this,_0x1f00f7(0x311),null),(this['unitID']=_0x173f47,this[_0x1f00f7(0x220)]=_0x1d65b1);}[_0x463ce4(0x12c)](_0x338230){var _0x72bbe2=_0x463ce4;this[_0x72bbe2(0x311)]=_0x338230;}['dispose'](){var _0x501b23=_0x463ce4;this[_0x501b23(0x311)]=null,super[_0x501b23(0x298)]();}['_createHandler'](){var _0x10e332=_0x463ce4;const _0x494cc9=super[_0x10e332(0x175)]();return _0x494cc9['onTransformIME']=_0x595f94=>{var _0x59e1d2=_0x10e332,_0x5ad1a2,_0x56718c;return(_0x56718c=(_0x5ad1a2=this[_0x59e1d2(0x311)])==null?void 0x0:_0x5ad1a2[_0x59e1d2(0x1cb)])==null?void 0x0:_0x56718c[_0x59e1d2(0x167)](_0x5ad1a2,_0x595f94);},_0x494cc9['onTransformState']=_0x482bef=>{var _0x315248,_0x52ce5e;return(_0x52ce5e=(_0x315248=this['_handlerCallback'])==null?void 0x0:_0x315248['onTransformState'])==null?void 0x0:_0x52ce5e['call'](_0x315248,_0x482bef);},_0x494cc9[_0x10e332(0x323)]=_0x14f1cc=>{var _0x565bc0=_0x10e332,_0x11d0c2,_0x5f2456;return(_0x5f2456=(_0x11d0c2=this[_0x565bc0(0x311)])==null?void 0x0:_0x11d0c2['onTransformSelections'])==null?void 0x0:_0x5f2456[_0x565bc0(0x167)](_0x11d0c2,_0x14f1cc);},_0x494cc9[_0x10e332(0x21a)]=_0x5f2324=>{var _0x49c1c8=_0x10e332,_0x57bcef,_0x46ca2f;return(_0x46ca2f=(_0x57bcef=this[_0x49c1c8(0x311)])==null?void 0x0:_0x57bcef['onSyncEditingCollabCursor'])==null?void 0x0:_0x46ca2f[_0x49c1c8(0x167)](_0x57bcef,_0x5f2324);},_0x494cc9[_0x10e332(0x378)]=_0x3f9f9e=>{var _0x178c2d=_0x10e332,_0x2b800b,_0x28e139,_0x522caa;if(!((_0x2b800b=this['_handlerCallback'])!=null&&_0x2b800b['onTransformRemoteChangesetByIMECache']))throw new Error(_0x178c2d(0x2b0));return(_0x522caa=(_0x28e139=this[_0x178c2d(0x311)])==null?void 0x0:_0x28e139['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x522caa[_0x178c2d(0x167)](_0x28e139,_0x3f9f9e);},_0x494cc9[_0x10e332(0x32d)]=_0x3f27b1=>{var _0x18384d=_0x10e332,_0x46b285,_0x2fbf9e,_0x366199;if(!((_0x46b285=this[_0x18384d(0x311)])!=null&&_0x46b285['onTransformRemoteChangesetByStateCache']))throw new Error('onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x366199=(_0x2fbf9e=this['_handlerCallback'])==null?void 0x0:_0x2fbf9e['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x366199[_0x18384d(0x167)](_0x2fbf9e,_0x3f27b1);},_0x494cc9;}async[_0x463ce4(0x383)](){var _0x339c8d=_0x463ce4;const _0x38b103=await super[_0x339c8d(0x383)]();return this[_0x339c8d(0x263)](this[_0x339c8d(0x23c)][_0x339c8d(0x111)]((_0x220bc1,_0x1b5f39)=>{var _0x5a24d8=_0x339c8d;if(_0x220bc1[_0x5a24d8(0x220)]!==_0x22a9c8[_0x5a24d8(0x1cd)]||_0x1b5f39!=null&&_0x1b5f39['fromCollab']||_0x1b5f39!=null&&_0x1b5f39[_0x5a24d8(0x2d9)]||_0x220bc1['id']===_0x185db1['id'])return;const _0x4cccaf=_0x220bc1[_0x5a24d8(0x1b3)];if((_0x4cccaf==null?void 0x0:_0x4cccaf['unitId'])!==this[_0x5a24d8(0x3b6)])return;const _0x1ff95a=_0x220bc1,_0x1932df=this[_0x5a24d8(0x347)][_0x5a24d8(0x36f)][_0x5a24d8(0x2c1)](this[_0x5a24d8(0x347)][_0x5a24d8(0x36f)][_0x5a24d8(0x1a5)]()[_0x5a24d8(0x2c7)])([_0x1ff95a],null)||[_0x1ff95a];this[_0x5a24d8(0x1b5)](_0x1932df[0x0]);})),_0x38b103;}};It=xt([H(0x3,_0xbf6e5a(_0x188281)),H(0x4,_0xbf6e5a(_0x5d301a)),H(0x5,_0xbf6e5a(_0x5b114b)),H(0x6,_0xbf6e5a(_0x2d6b77)),H(0x7,_0xbf6e5a(pe)),H(0x8,_0x20d0b2),H(0x9,_0x20d0b9),H(0xa,_0x2763a3),H(0xb,_0x435100(ht)),H(0xc,_0x435100(J))],It);let Tt=class extends rt{constructor(_0x190c89,_0x2bdab2,_0x57365d,_0x287c8c,_0xe2fc12,_0x1e7cdd,_0x2383b8,_0x487f6d,_0x1786c1,_0x1207ee,_0x295395,_0x16542e,_0x1898da,_0x27e743){var _0xe23d9f=_0x463ce4;super(_0x190c89,_0x57365d,_0x2bdab2,_0x287c8c,_0xe2fc12,_0x1e7cdd,_0x2383b8,_0x1786c1,_0x1207ee,_0x295395,_0x16542e,_0x1898da,_0x27e743),this[_0xe23d9f(0x3b6)]=_0x190c89,this[_0xe23d9f(0x220)]=_0x2bdab2,this['_sheetTransformSelectionsService']=_0x487f6d;}[_0x463ce4(0x175)](){var _0x30247e=_0x463ce4;const _0x2ac5cd=super['_createHandler']();return _0x2ac5cd[_0x30247e(0x323)]=_0x2e5a7f=>this[_0x30247e(0x33f)][_0x30247e(0x143)](_0x2e5a7f),_0x2ac5cd;}async['_init'](){var _0x2bd24c=_0x463ce4;const _0x262c18=await super[_0x2bd24c(0x383)]();return this['disposeWithMe'](this[_0x2bd24c(0x23c)][_0x2bd24c(0x111)]((_0x1906ae,_0x3eaa4c)=>{var _0x235b32=_0x2bd24c;if(_0x1906ae[_0x235b32(0x220)]!==_0x22a9c8[_0x235b32(0x1cd)]||_0x3eaa4c!=null&&_0x3eaa4c['fromCollab']||_0x3eaa4c!=null&&_0x3eaa4c[_0x235b32(0x2d9)])return;const _0x1c0dd8=_0x1906ae[_0x235b32(0x1b3)];if((_0x1c0dd8==null?void 0x0:_0x1c0dd8['unitId'])!==this[_0x235b32(0x3b6)])return;const _0x239ab2=_0x1906ae,_0x1c73a8=this[_0x235b32(0x347)][_0x235b32(0x36f)]['fetchThroughInterceptors'](this[_0x235b32(0x347)][_0x235b32(0x36f)][_0x235b32(0x1a5)]()[_0x235b32(0x2c7)])([_0x239ab2],null)||[_0x239ab2];this[_0x235b32(0x1b5)](_0x1c73a8[0x0]);})),_0x262c18;}};Tt=xt([H(0x3,_0xbf6e5a(_0x188281)),H(0x4,_0xbf6e5a(_0x5d301a)),H(0x5,_0xbf6e5a(_0x5b114b)),H(0x6,_0xbf6e5a(_0x2d6b77)),H(0x7,_0xbf6e5a(it)),H(0x8,_0xbf6e5a(pe)),H(0x9,_0x20d0b2),H(0xa,_0x20d0b9),H(0xb,_0x2763a3),H(0xc,_0x435100(ht)),H(0xd,_0x435100(J))],Tt);var an=Object[_0x463ce4(0x14b)],cn=(_0xe5b503,_0x3d18ad,_0x761e50,_0x4fce0f)=>{var _0x48fbeb=_0x463ce4;for(var _0x4fd7e5=_0x4fce0f>0x1?void 0x0:_0x4fce0f?an(_0x3d18ad,_0x761e50):_0x3d18ad,_0x5a1152=_0xe5b503[_0x48fbeb(0x3b5)]-0x1,_0x59837f;_0x5a1152>=0x0;_0x5a1152--)(_0x59837f=_0xe5b503[_0x5a1152])&&(_0x4fd7e5=_0x59837f(_0x4fd7e5)||_0x4fd7e5);return _0x4fd7e5;},ft=(_0x5e0193,_0x5c7858)=>(_0x8686b3,_0xef2006)=>_0x5c7858(_0x8686b3,_0xef2006,_0x5e0193);let nt=class extends _0x1a26b4{constructor(_0x5a2ece,_0x445b96,_0x11d127){var _0x2dff1b=_0x463ce4;super(),N(this,_0x2dff1b(0x1ec),new Map()),N(this,_0x2dff1b(0x34e),new _0x3463e2()),N(this,_0x2dff1b(0x21f),this[_0x2dff1b(0x34e)][_0x2dff1b(0x395)]()),(this[_0x2dff1b(0x3d3)]=_0x5a2ece,this[_0x2dff1b(0x369)]=_0x445b96,this[_0x2dff1b(0x198)]=_0x11d127,this[_0x2dff1b(0x383)]());}[_0x463ce4(0x298)](){var _0x981063=_0x463ce4;super[_0x981063(0x298)](),this[_0x981063(0x1ec)]['forEach'](_0x332449=>_0x332449[_0x981063(0x298)]()),this[_0x981063(0x1ec)][_0x981063(0x132)]();}['getCollabEntity'](_0x5e3706){var _0x15f67a=_0x463ce4,_0x67e54;return(_0x67e54=this[_0x15f67a(0x1ec)][_0x15f67a(0x197)](_0x5e3706))!=null?_0x67e54:null;}[_0x463ce4(0x39f)](_0x2c2df5){var _0x3f6a33=_0x463ce4;const _0x5ad988=this[_0x3f6a33(0x2b1)](_0x2c2df5);return _0x5ad988?_0x2ffc98(_0x5ad988):this[_0x3f6a33(0x34e)]['pipe'](_0x17ac6b(_0x7f2da1=>_0x7f2da1['unitID']===_0x2c2df5));}[_0x463ce4(0x325)](_0x1f96fb){var _0x37215e=_0x463ce4;return _0x491df1(this['getCollabEntity$'](_0x1f96fb)[_0x37215e(0x34f)](_0x3b11d5(()=>{})));}[_0x463ce4(0x383)](){var _0x400d25=_0x463ce4;this['_univerInstanceService'][_0x400d25(0x1b0)](_0x58c404[_0x400d25(0x283)])[_0x400d25(0x34f)](_0x46ac95(this[_0x400d25(0x124)]),_0xd3d3c9(0x10))['subscribe'](async _0x8d91f9=>{var _0x587e9a=_0x400d25;const _0xeba40=_0x8d91f9['getUnitId'](),_0x789398=await this[_0x587e9a(0x2a2)](_0xeba40,Q['UNIVER_SHEET']);this[_0x587e9a(0x1ec)]['set'](_0xeba40,_0x789398);}),this[_0x400d25(0x198)][_0x400d25(0x1b0)](_0x58c404[_0x400d25(0x294)])[_0x400d25(0x34f)](_0x46ac95(this[_0x400d25(0x124)]),_0xd3d3c9(0x10))[_0x400d25(0x34f)](_0x17ac6b(_0x3e2151=>!_0x3e2151['getUnitId']()[_0x400d25(0x34d)]('__')))['subscribe'](async _0x1a00c7=>{var _0x3f380e=_0x400d25;const _0x18c97c=_0x1a00c7[_0x3f380e(0x3e2)](),_0xed8883=await this['_startCollaboration'](_0x18c97c,Q[_0x3f380e(0x294)]);this[_0x3f380e(0x1ec)][_0x3f380e(0x3b3)](_0x18c97c,_0xed8883);}),_0x35d413(this[_0x400d25(0x198)]['getTypeOfUnitDisposed$'](_0x58c404['UNIVER_SHEET']),this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x58c404[_0x400d25(0x294)]))[_0x400d25(0x34f)](_0x46ac95(this[_0x400d25(0x124)]))[_0x400d25(0x18c)](_0xd4bf3f=>{var _0x58e6b5=_0x400d25;const _0x333b4b=_0xd4bf3f['getUnitId'](),_0xcdc134=this['_entities'][_0x58e6b5(0x197)](_0x333b4b);_0xcdc134&&(_0xcdc134[_0x58e6b5(0x298)](),this[_0x58e6b5(0x1ec)][_0x58e6b5(0x1d9)](_0x333b4b));});}async['_startCollaboration'](_0x372f98,_0x4eabcd){var _0x16824c=_0x463ce4;const _0x2fe37e=await this[_0x16824c(0x369)][_0x16824c(0x1c0)](_0x372f98),_0x2dec12=this[_0x16824c(0x3d3)][_0x16824c(0x268)](this[_0x16824c(0x2b6)](_0x4eabcd),_0x372f98,_0x4eabcd,_0x2fe37e);return await _0x2dec12[_0x16824c(0x1ce)](),this[_0x16824c(0x34e)]['next'](_0x2dec12),_0x2dec12;}['_getCtorByUniverType'](_0xa57057){var _0x49edf3=_0x463ce4;switch(_0xa57057){case Q[_0x49edf3(0x294)]:return It;case Q[_0x49edf3(0x283)]:return Tt;default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0xa57057);}}};nt=cn([ft(0x0,_0xbf6e5a(_0x188281)),ft(0x1,_0xbf6e5a(Le)),ft(0x2,_0x90b9a3)],nt);var hn=Object['getOwnPropertyDescriptor'],_n=(_0x239525,_0x44817c,_0x18339c,_0x329595)=>{var _0x42620f=_0x463ce4;for(var _0x311c85=_0x329595>0x1?void 0x0:_0x329595?hn(_0x44817c,_0x18339c):_0x44817c,_0x48a353=_0x239525[_0x42620f(0x3b5)]-0x1,_0x47e1c8;_0x48a353>=0x0;_0x48a353--)(_0x47e1c8=_0x239525[_0x48a353])&&(_0x311c85=_0x47e1c8(_0x311c85)||_0x311c85);return _0x311c85;},zt=(_0x26be40,_0x1d1770)=>(_0x13e739,_0x3f732b)=>_0x1d1770(_0x13e739,_0x3f732b,_0x26be40);const ln=_0x463ce4(0x299),un=_0x463ce4(0x3ea);let Ct=class extends _0xbdc86a{constructor(_0x380c9f,_0x347018){var _0x1b9ca8=_0x463ce4;super(),this[_0x1b9ca8(0x198)]=_0x380c9f,this['_configService']=_0x347018,this[_0x1b9ca8(0x383)]();}[_0x463ce4(0x383)](){var _0x32feb6=_0x463ce4;this[_0x32feb6(0x263)](this[_0x32feb6(0x198)][_0x32feb6(0x3ae)][_0x32feb6(0x18c)](()=>{var _0x193f78=_0x32feb6,_0x55410a;const _0x21ca5b=this['_univerInstanceService'][_0x193f78(0x3cf)]();let _0x45e31d=(_0x55410a=this[_0x193f78(0x2e1)][_0x193f78(0x37f)](ln))!=null?_0x55410a:un;_0x21ca5b instanceof _0xccaa22&&(_0x45e31d=_0x21ca5b['name']),document[_0x193f78(0x1f9)]=_0x45e31d;}));}};Ct=_n([zt(0x0,_0x90b9a3),zt(0x1,_0x1c50bb)],Ct);var dn=Object[_0x463ce4(0x14b)],fn=(_0x1d4094,_0x4d7c08,_0x2a233e,_0x55611b)=>{for(var _0x2b0b0f=_0x55611b>0x1?void 0x0:_0x55611b?dn(_0x4d7c08,_0x2a233e):_0x4d7c08,_0xad2143=_0x1d4094['length']-0x1,_0x1aef75;_0xad2143>=0x0;_0xad2143--)(_0x1aef75=_0x1d4094[_0xad2143])&&(_0x2b0b0f=_0x1aef75(_0x2b0b0f)||_0x2b0b0f);return _0x2b0b0f;},vt=(_0x13ff54,_0x5b9680)=>(_0x987ca9,_0x3e1212)=>_0x5b9680(_0x987ca9,_0x3e1212,_0x13ff54);let st=class{constructor(_0x19913e,_0x35718b,_0x55a472){var _0x554e5d=_0x463ce4;this[_0x554e5d(0x2e1)]=_0x19913e,this[_0x554e5d(0x276)]=_0x35718b,this[_0x554e5d(0x265)]=_0x55a472,this[_0x554e5d(0x1ce)]();}['init'](){var _0x2a0c55=_0x463ce4;this[_0x2a0c55(0x276)]['registerHTTPInterceptor']({'priority':0x1,'interceptor':(_0x2c613f,_0x2ff31f)=>_0x2ff31f(_0x2c613f)[_0x2a0c55(0x34f)](_0x52f1d8(async _0x5ed4fa=>{var _0x4f1680=_0x2a0c55;const _0x161f0f=_0x5ed4fa;if(_0x161f0f[_0x4f1680(0x340)]===0x191){if(typeof window>'u')throw new Error(_0x4f1680(0x371));if(window['confirm'](this[_0x4f1680(0x265)]['t'](_0x4f1680(0x253)))){const _0x2212d5=window[_0x4f1680(0x173)](window[_0x4f1680(0x120)][_0x4f1680(0x17b)]);window[_0x4f1680(0x120)][_0x4f1680(0x17b)]=this['_getLoginPath']()+'?url='+_0x2212d5;}}return _0x161f0f;}))});}[_0x463ce4(0x11b)](){var _0x4ca8ff=_0x463ce4,_0x4ee11c,_0x298b3b;const _0x4f7dd9=this[_0x4ca8ff(0x2e1)][_0x4ca8ff(0x37f)](Dr),_0x41b4bf=this[_0x4ca8ff(0x2e1)]['getConfig'](q);return(_0x298b3b=(_0x4ee11c=_0x41b4bf==null?void 0x0:_0x41b4bf[_0x4ca8ff(0x1c7)])!=null?_0x4ee11c:_0x4f7dd9)!=null?_0x298b3b:wr;}};st=fn([vt(0x0,_0x1c50bb),vt(0x1,_0xbf6e5a(_0x3f95f0)),vt(0x2,_0xbf6e5a(_0x5b114b))],st);var vn=Object[_0x463ce4(0x14b)],pn=(_0xc862b2,_0x6a3d5f,_0x4e4af8,_0x4973c2)=>{for(var _0x5ef5e9=_0x4973c2>0x1?void 0x0:_0x4973c2?vn(_0x6a3d5f,_0x4e4af8):_0x6a3d5f,_0x160d36=_0xc862b2['length']-0x1,_0x1e5b51;_0x160d36>=0x0;_0x160d36--)(_0x1e5b51=_0xc862b2[_0x160d36])&&(_0x5ef5e9=_0x1e5b51(_0x5ef5e9)||_0x5ef5e9);return _0x5ef5e9;},Jt=(_0x447b53,_0x3bcf0b)=>(_0x14b3dc,_0x3be7c4)=>_0x3bcf0b(_0x14b3dc,_0x3be7c4,_0x447b53);const Ni=_0x463ce4(0x270),mn=_0x463ce4(0x116);let Rt=class extends _0xbdc86a{constructor(_0x2a7f67,_0xb071bf){var _0x19195c=_0x463ce4;super(),this[_0x19195c(0x28c)]=_0x2a7f67,this['_configService']=_0xb071bf,this[_0x19195c(0x336)]();}[_0x463ce4(0x336)](){var _0x3c3ae0=_0x463ce4;const _0x397a30=this;this['disposeWithMe'](this['_HTTPService'][_0x3c3ae0(0x241)]({'priority':0x3e7,'interceptor':_0x32b04b({'isMatch'(_0x33697e){var _0x3a786f=_0x3c3ae0,_0x483b5e;if(_0x33697e[_0x3a786f(0x21c)]===_0x3a786f(0x297)&&((_0x483b5e=_0x33697e[_0x3a786f(0x218)])!=null&&_0x483b5e[_0x3a786f(0x32f)])){const {objectID:_0x2cada4,objectType:_0x9a8a9d}=_0x33697e['requestParams'][_0x3a786f(0x32f)]||{};if(!_0x2cada4||_0x9a8a9d===void 0x0)return!0x1;const _0x589374=_0x397a30[_0x3a786f(0x27a)]()+'/'+_0x9a8a9d+_0x3a786f(0xef)+_0x2cada4+_0x3a786f(0x1e9);if(_0x33697e[_0x3a786f(0x156)]===_0x589374)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x12bafa){var _0x3f056a=_0x3c3ae0,_0x1c1358;return(_0x1c1358=_0x12bafa[_0x3f056a(0x218)])==null?void 0x0:_0x1c1358[_0x3f056a(0x32f)];},'mergeParamsToRequest'(_0x216b53,_0x5c1f34){var _0x5a44eb=_0x3c3ae0;const _0x36fb0a=_0x397a30['_getAPIPrefixPath']()+'/-/object/-/batch_allowed',_0x5e486d=_0x216b53[_0x5a44eb(0x398)]((_0x272e60,_0x430ed6)=>{var _0x103980=_0x5a44eb;const {unitID:_0x2aedbe,objectID:_0x3f8236,objectType:_0x3b2353,actions:_0x444853}=_0x430ed6;return _0x272e60[_0x2aedbe]||(_0x272e60[_0x2aedbe]={}),_0x272e60[_0x2aedbe][_0x3f8236]||(_0x272e60[_0x2aedbe][_0x3f8236]={'objectID':_0x3f8236,'objectType':_0x3b2353,'actions':[]}),_0x272e60[_0x2aedbe][_0x3f8236][_0x103980(0x1ad)][_0x103980(0x387)](..._0x444853),_0x272e60;},{}),_0x343845=[];for(const _0x58e95d in _0x5e486d)for(const _0x27d1d0 in _0x5e486d[_0x58e95d]){const {actions:_0x53cca2,objectType:_0xce50f5}=_0x5e486d[_0x58e95d][_0x27d1d0],_0x224baf=[...new Set(_0x53cca2)];_0x343845['push']({'unitID':_0x58e95d,'objectID':_0x27d1d0,'objectType':_0xce50f5,'actions':_0x224baf});}return new _0x569293(_0x5a44eb(0x297),_0x36fb0a,{'headers':_0x5c1f34[_0x5a44eb(0x3c5)],'withCredentials':_0x5c1f34[_0x5a44eb(0x261)],'responseType':_0x5c1f34['responseType'],'body':{'requests':_0x343845}});}},{'distributeResult'(_0x454398,_0x47dd2f){var _0x516f60=_0x3c3ae0;const {objectActions:_0x4e563a}=_0x454398;return _0x47dd2f[_0x516f60(0x1d7)](_0x3504e0=>{var _0x2ac86b=_0x516f60;const {unitID:_0x11e559,objectID:_0x154513,actions:_0x13f64e}=_0x3504e0,_0x96c9e5=_0x4e563a[_0x2ac86b(0x3d4)](_0x3dd68d=>_0x3dd68d[_0x2ac86b(0x3b6)]===_0x11e559&&_0x3dd68d[_0x2ac86b(0x23f)]===_0x154513),_0x209d12=_0x13f64e['map'](_0x487fc2=>_0x96c9e5==null?void 0x0:_0x96c9e5[_0x2ac86b(0x1ad)][_0x2ac86b(0x3d4)](_0x513bc7=>_0x513bc7[_0x2ac86b(0x14f)]===_0x487fc2))[_0x2ac86b(0x171)](_0x28e6b4=>!!_0x28e6b4);return{'config':_0x3504e0,'result':{'actions':_0x209d12,'error':_0x454398[_0x2ac86b(0x305)]}};});}})}));}['_getAPIPrefixPath'](){var _0x2b20ea=_0x463ce4,_0x20b017,_0x20fb7d;const _0x19af34=this['_configService'][_0x2b20ea(0x37f)](Ni),_0x38366e=this[_0x2b20ea(0x2e1)]['getConfig'](q);return(_0x20fb7d=(_0x20b017=_0x38366e==null?void 0x0:_0x38366e[_0x2b20ea(0x25e)])!=null?_0x20b017:_0x19af34)!=null?_0x20fb7d:mn;}async['create'](_0x492a32){var _0x33300d=_0x463ce4;const _0x254d44=this[_0x33300d(0x27a)]()+'/'+_0x492a32[_0x33300d(0x3be)]+_0x33300d(0x36c);return(await this[_0x33300d(0x28c)]['post'](_0x254d44,{'body':_0x492a32}))[_0x33300d(0x32f)][_0x33300d(0x23f)]||'';}async[_0x463ce4(0x22c)](_0xb47518){var _0x20480c=_0x463ce4;const _0x4dac59=this[_0x20480c(0x27a)]()+_0x20480c(0x19b);return(await this[_0x20480c(0x28c)]['post'](_0x4dac59,{'body':_0xb47518}))[_0x20480c(0x32f)][_0x20480c(0x24d)];}async[_0x463ce4(0x3dc)](_0x278787){var _0x4dfe95=_0x463ce4;const _0x4e3074=this[_0x4dfe95(0x27a)]()+'/'+_0x278787[_0x4dfe95(0x3be)]+_0x4dfe95(0xef)+_0x278787[_0x4dfe95(0x23f)];await this[_0x4dfe95(0x28c)][_0x4dfe95(0x27e)](_0x4e3074,{'body':_0x278787});}async[_0x463ce4(0x31c)](_0x560715){var _0x382903=_0x463ce4;const _0x3a05b6=this['_getAPIPrefixPath']()+'/'+_0x560715[_0x382903(0x3be)]+_0x382903(0xef)+_0x560715[_0x382903(0x23f)]+_0x382903(0x1e9);return(await this[_0x382903(0x28c)][_0x382903(0x3d5)](_0x3a05b6,{'body':_0x560715}))[_0x382903(0x32f)][_0x382903(0x1ad)];}async['batchAllowed'](_0x199bd9){var _0x937ca7=_0x463ce4;const _0x247911=this['_getAPIPrefixPath']()+_0x937ca7(0x2b8);return(await this[_0x937ca7(0x28c)][_0x937ca7(0x3d5)](_0x247911,{'body':{'requests':_0x199bd9}}))[_0x937ca7(0x32f)][_0x937ca7(0x295)];}async[_0x463ce4(0x368)](_0x54310a){var _0x5bd380=_0x463ce4;const _0x11d20a=this[_0x5bd380(0x27a)]()+'/'+_0x54310a[_0x5bd380(0x3be)]+_0x5bd380(0x3a7),_0xfdca5c=await this['_HTTPService'][_0x5bd380(0x3d5)](_0x11d20a,{'body':_0x54310a});return{'roles':_0xfdca5c[_0x5bd380(0x32f)][_0x5bd380(0x158)],'actions':_0xfdca5c[_0x5bd380(0x32f)][_0x5bd380(0x1ad)]};}async['deleteCollaborator'](_0x446dac){var _0x1a333d=_0x463ce4;const _0x5bb65e=this['_getAPIPrefixPath']()+'/collaborator';await this['_HTTPService'][_0x1a333d(0x1d9)](_0x5bb65e,{'params':{'collaboratorID':_0x446dac[_0x1a333d(0x207)],'objectID':_0x446dac[_0x1a333d(0x23f)],'unitID':_0x446dac[_0x1a333d(0x3b6)]}});}async[_0x463ce4(0x178)](_0x4519d3){var _0x14df71=_0x463ce4;const _0x399071=this['_getAPIPrefixPath']()+_0x14df71(0x2c2);await this[_0x14df71(0x28c)][_0x14df71(0x221)](_0x399071,{'body':_0x4519d3});}async[_0x463ce4(0x1e1)](_0x1fdb03){var _0x37cc7b=_0x463ce4;const _0x540fd2=this[_0x37cc7b(0x27a)]()+_0x37cc7b(0x2c2);await this[_0x37cc7b(0x28c)][_0x37cc7b(0x3d5)](_0x540fd2,{'body':_0x1fdb03});}async[_0x463ce4(0x21e)](_0x3b117e){var _0x2d4d3d=_0x463ce4;const _0x13d0e0=this[_0x2d4d3d(0x27a)]()+_0x2d4d3d(0x2c2);return(await this['_HTTPService'][_0x2d4d3d(0x197)](_0x13d0e0,{'params':{'objectID':_0x3b117e[_0x2d4d3d(0x23f)],'unitID':_0x3b117e[_0x2d4d3d(0x3b6)]}}))[_0x2d4d3d(0x32f)][_0x2d4d3d(0x39c)];}async[_0x463ce4(0x38d)](_0x5470c1){var _0x585375=_0x463ce4;const _0x49dc7d=this[_0x585375(0x27a)]()+'/collaborator';await this['_HTTPService']['put'](_0x49dc7d,{'body':_0x5470c1});}};Rt=pn([Jt(0x0,_0xbf6e5a(_0x3f95f0)),Jt(0x1,_0xbf6e5a(_0x1c50bb))],Rt);var pt=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function He(_0x30bb96){var _0x37b56a=_0x463ce4;return _0x30bb96&&_0x30bb96[_0x37b56a(0x318)]&&Object[_0x37b56a(0x2ee)][_0x37b56a(0x154)][_0x37b56a(0x167)](_0x30bb96,_0x37b56a(0x28a))?_0x30bb96['default']:_0x30bb96;}var Ge={'exports':{}};function gn(_0x16d23d){var _0x5ce40c=_0x463ce4;throw new Error(_0x5ce40c(0x3d0)+_0x16d23d+_0x5ce40c(0x35c));}var Ve={'exports':{}},Sn=Ve[_0x463ce4(0x38c)],Xt;function ie(){var _0x3af1d0=_0x463ce4;return Xt||(Xt=0x1,function(_0x1074b2,_0xb84b02){(function(_0x3b5ebc,_0x318ca4){var _0x1113b6=_0x1756;_0x1074b2[_0x1113b6(0x38c)]=_0x318ca4();}(Sn,function(){var _0x40ffc7=_0x40ffc7||function(_0x13d4a0,_0x5f3337){var _0x53381e=_0x1756,_0x32d05d;if(typeof window<'u'&&window[_0x53381e(0x2d3)]&&(_0x32d05d=window[_0x53381e(0x2d3)]),typeof self<'u'&&self['crypto']&&(_0x32d05d=self[_0x53381e(0x2d3)]),typeof globalThis<'u'&&globalThis[_0x53381e(0x2d3)]&&(_0x32d05d=globalThis[_0x53381e(0x2d3)]),!_0x32d05d&&typeof window<'u'&&window[_0x53381e(0x2e3)]&&(_0x32d05d=window['msCrypto']),!_0x32d05d&&typeof pt<'u'&&pt[_0x53381e(0x2d3)]&&(_0x32d05d=pt[_0x53381e(0x2d3)]),!_0x32d05d&&typeof gn=='function')try{_0x32d05d=require(_0x53381e(0x2d3));}catch{}var _0x5504b3=function(){var _0x12825b=_0x53381e;if(_0x32d05d){if(typeof _0x32d05d[_0x12825b(0x3e4)]==_0x12825b(0x2d0))try{return _0x32d05d['getRandomValues'](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x32d05d[_0x12825b(0x2df)]==_0x12825b(0x2d0))try{return _0x32d05d[_0x12825b(0x2df)](0x4)[_0x12825b(0x13b)]();}catch{}}throw new Error(_0x12825b(0x148));},_0x558ccc=Object[_0x53381e(0x285)]||(function(){function _0xb2aff9(){}return function(_0x1d8338){var _0x5782ad=_0x1756,_0x2815a0;return _0xb2aff9[_0x5782ad(0x2ee)]=_0x1d8338,_0x2815a0=new _0xb2aff9(),_0xb2aff9[_0x5782ad(0x2ee)]=null,_0x2815a0;};}()),_0x2c8457={},_0x41affc=_0x2c8457[_0x53381e(0x30a)]={},_0x2d6336=_0x41affc['Base']=(function(){return{'extend':function(_0x1381e6){var _0x41c87d=_0x1756,_0x26c18a=_0x558ccc(this);return _0x1381e6&&_0x26c18a[_0x41c87d(0x2e6)](_0x1381e6),(!_0x26c18a[_0x41c87d(0x154)](_0x41c87d(0x1ce))||this[_0x41c87d(0x1ce)]===_0x26c18a['init'])&&(_0x26c18a[_0x41c87d(0x1ce)]=function(){var _0x9f8f1b=_0x41c87d;_0x26c18a[_0x9f8f1b(0x180)][_0x9f8f1b(0x1ce)][_0x9f8f1b(0x127)](this,arguments);}),_0x26c18a[_0x41c87d(0x1ce)][_0x41c87d(0x2ee)]=_0x26c18a,_0x26c18a['$super']=this,_0x26c18a;},'create':function(){var _0xa69d46=_0x1756,_0x1d6ba3=this[_0xa69d46(0x3da)]();return _0x1d6ba3[_0xa69d46(0x1ce)][_0xa69d46(0x127)](_0x1d6ba3,arguments),_0x1d6ba3;},'init':function(){},'mixIn':function(_0x43b55f){var _0x4cfcbf=_0x1756;for(var _0x2eefda in _0x43b55f)_0x43b55f['hasOwnProperty'](_0x2eefda)&&(this[_0x2eefda]=_0x43b55f[_0x2eefda]);_0x43b55f[_0x4cfcbf(0x154)](_0x4cfcbf(0x363))&&(this['toString']=_0x43b55f['toString']);},'clone':function(){var _0x26ae50=_0x1756;return this[_0x26ae50(0x1ce)][_0x26ae50(0x2ee)][_0x26ae50(0x3da)](this);}};}()),_0x31763c=_0x41affc[_0x53381e(0x266)]=_0x2d6336[_0x53381e(0x3da)]({'init':function(_0x38aca7,_0x430dc5){var _0x15d6a4=_0x53381e;_0x38aca7=this[_0x15d6a4(0x15c)]=_0x38aca7||[],_0x430dc5!=_0x5f3337?this[_0x15d6a4(0xf6)]=_0x430dc5:this[_0x15d6a4(0xf6)]=_0x38aca7[_0x15d6a4(0x3b5)]*0x4;},'toString':function(_0x43c90d){var _0x5d13e2=_0x53381e;return(_0x43c90d||_0x1778b5)[_0x5d13e2(0x3b9)](this);},'concat':function(_0xb28367){var _0x3eb238=_0x53381e,_0x559737=this[_0x3eb238(0x15c)],_0x20b0ea=_0xb28367['words'],_0x5164b7=this[_0x3eb238(0xf6)],_0x3b3111=_0xb28367['sigBytes'];if(this[_0x3eb238(0x2f4)](),_0x5164b7%0x4)for(var _0x409495=0x0;_0x409495<_0x3b3111;_0x409495++){var _0x1131ba=_0x20b0ea[_0x409495>>>0x2]>>>0x18-_0x409495%0x4*0x8&0xff;_0x559737[_0x5164b7+_0x409495>>>0x2]|=_0x1131ba<<0x18-(_0x5164b7+_0x409495)%0x4*0x8;}else{for(var _0x3abcea=0x0;_0x3abcea<_0x3b3111;_0x3abcea+=0x4)_0x559737[_0x5164b7+_0x3abcea>>>0x2]=_0x20b0ea[_0x3abcea>>>0x2];}return this[_0x3eb238(0xf6)]+=_0x3b3111,this;},'clamp':function(){var _0x32d5bc=_0x53381e,_0x2f549a=this[_0x32d5bc(0x15c)],_0x198a12=this['sigBytes'];_0x2f549a[_0x198a12>>>0x2]&=0xffffffff<<0x20-_0x198a12%0x4*0x8,_0x2f549a[_0x32d5bc(0x3b5)]=_0x13d4a0[_0x32d5bc(0x17a)](_0x198a12/0x4);},'clone':function(){var _0x523784=_0x53381e,_0xbd72c3=_0x2d6336[_0x523784(0x3bc)]['call'](this);return _0xbd72c3['words']=this[_0x523784(0x15c)][_0x523784(0xe8)](0x0),_0xbd72c3;},'random':function(_0x39dc57){var _0x1e2e6e=_0x53381e;for(var _0x513e55=[],_0x5ce278=0x0;_0x5ce278<_0x39dc57;_0x5ce278+=0x4)_0x513e55[_0x1e2e6e(0x387)](_0x5504b3());return new _0x31763c[(_0x1e2e6e(0x1ce))](_0x513e55,_0x39dc57);}}),_0x111013=_0x2c8457[_0x53381e(0x30c)]={},_0x1778b5=_0x111013['Hex']={'stringify':function(_0x4ffae5){var _0x38cb31=_0x53381e;for(var _0x547f7c=_0x4ffae5[_0x38cb31(0x15c)],_0x2a2535=_0x4ffae5[_0x38cb31(0xf6)],_0x2bcd6a=[],_0x3e4558=0x0;_0x3e4558<_0x2a2535;_0x3e4558++){var _0x50419b=_0x547f7c[_0x3e4558>>>0x2]>>>0x18-_0x3e4558%0x4*0x8&0xff;_0x2bcd6a['push']((_0x50419b>>>0x4)['toString'](0x10)),_0x2bcd6a['push']((_0x50419b&0xf)['toString'](0x10));}return _0x2bcd6a['join']('');},'parse':function(_0x47579d){var _0x284536=_0x53381e;for(var _0x533d9f=_0x47579d['length'],_0x2ff392=[],_0x44194c=0x0;_0x44194c<_0x533d9f;_0x44194c+=0x2)_0x2ff392[_0x44194c>>>0x3]|=parseInt(_0x47579d[_0x284536(0x1f2)](_0x44194c,0x2),0x10)<<0x18-_0x44194c%0x8*0x4;return new _0x31763c['init'](_0x2ff392,_0x533d9f/0x2);}},_0xf713a2=_0x111013['Latin1']={'stringify':function(_0x5a39b8){var _0x3e7f88=_0x53381e;for(var _0x2b8792=_0x5a39b8[_0x3e7f88(0x15c)],_0x227c4e=_0x5a39b8[_0x3e7f88(0xf6)],_0x5b9559=[],_0x1dc20b=0x0;_0x1dc20b<_0x227c4e;_0x1dc20b++){var _0xc8f5ee=_0x2b8792[_0x1dc20b>>>0x2]>>>0x18-_0x1dc20b%0x4*0x8&0xff;_0x5b9559[_0x3e7f88(0x387)](String[_0x3e7f88(0x145)](_0xc8f5ee));}return _0x5b9559['join']('');},'parse':function(_0x31f043){var _0x5907d8=_0x53381e;for(var _0x1ff390=_0x31f043[_0x5907d8(0x3b5)],_0x398fd6=[],_0x3128ec=0x0;_0x3128ec<_0x1ff390;_0x3128ec++)_0x398fd6[_0x3128ec>>>0x2]|=(_0x31f043[_0x5907d8(0x338)](_0x3128ec)&0xff)<<0x18-_0x3128ec%0x4*0x8;return new _0x31763c[(_0x5907d8(0x1ce))](_0x398fd6,_0x1ff390);}},_0x4ab9f0=_0x111013[_0x53381e(0x335)]={'stringify':function(_0x26f647){var _0x548481=_0x53381e;try{return decodeURIComponent(escape(_0xf713a2['stringify'](_0x26f647)));}catch{throw new Error(_0x548481(0x373));}},'parse':function(_0x10de43){var _0x1b44c9=_0x53381e;return _0xf713a2[_0x1b44c9(0x222)](unescape(encodeURIComponent(_0x10de43)));}},_0x22b39b=_0x41affc[_0x53381e(0x278)]=_0x2d6336[_0x53381e(0x3da)]({'reset':function(){var _0xdc2c21=_0x53381e;this[_0xdc2c21(0x249)]=new _0x31763c[(_0xdc2c21(0x1ce))](),this[_0xdc2c21(0x277)]=0x0;},'_append':function(_0x41cd63){var _0x2bbf4d=_0x53381e;typeof _0x41cd63==_0x2bbf4d(0x20e)&&(_0x41cd63=_0x4ab9f0[_0x2bbf4d(0x222)](_0x41cd63)),this[_0x2bbf4d(0x249)][_0x2bbf4d(0x3a6)](_0x41cd63),this[_0x2bbf4d(0x277)]+=_0x41cd63[_0x2bbf4d(0xf6)];},'_process':function(_0x5e55bb){var _0x3af7f8=_0x53381e,_0x486eb2,_0x196d46=this['_data'],_0x2ab709=_0x196d46[_0x3af7f8(0x15c)],_0x1ed4b9=_0x196d46['sigBytes'],_0x8764d8=this['blockSize'],_0x27384b=_0x8764d8*0x4,_0x1053ab=_0x1ed4b9/_0x27384b;_0x5e55bb?_0x1053ab=_0x13d4a0['ceil'](_0x1053ab):_0x1053ab=_0x13d4a0[_0x3af7f8(0x232)]((_0x1053ab|0x0)-this[_0x3af7f8(0x33b)],0x0);var _0x5c6452=_0x1053ab*_0x8764d8,_0x4dad13=_0x13d4a0[_0x3af7f8(0x153)](_0x5c6452*0x4,_0x1ed4b9);if(_0x5c6452){for(var _0x3e6079=0x0;_0x3e6079<_0x5c6452;_0x3e6079+=_0x8764d8)this['_doProcessBlock'](_0x2ab709,_0x3e6079);_0x486eb2=_0x2ab709[_0x3af7f8(0x1f3)](0x0,_0x5c6452),_0x196d46[_0x3af7f8(0xf6)]-=_0x4dad13;}return new _0x31763c[(_0x3af7f8(0x1ce))](_0x486eb2,_0x4dad13);},'clone':function(){var _0x541ac7=_0x53381e,_0x110fc6=_0x2d6336[_0x541ac7(0x3bc)][_0x541ac7(0x167)](this);return _0x110fc6[_0x541ac7(0x249)]=this['_data'][_0x541ac7(0x3bc)](),_0x110fc6;},'_minBufferSize':0x0});_0x41affc[_0x53381e(0x313)]=_0x22b39b[_0x53381e(0x3da)]({'cfg':_0x2d6336['extend'](),'init':function(_0x17ba26){var _0x15587c=_0x53381e;this[_0x15587c(0x2de)]=this[_0x15587c(0x2de)][_0x15587c(0x3da)](_0x17ba26),this['reset']();},'reset':function(){var _0x1e9a10=_0x53381e;_0x22b39b[_0x1e9a10(0x196)][_0x1e9a10(0x167)](this),this[_0x1e9a10(0x18a)]();},'update':function(_0xeceb2b){var _0x4d17bf=_0x53381e;return this[_0x4d17bf(0x1d3)](_0xeceb2b),this[_0x4d17bf(0x235)](),this;},'finalize':function(_0x563364){var _0x529d61=_0x53381e;_0x563364&&this[_0x529d61(0x1d3)](_0x563364);var _0x4219a8=this[_0x529d61(0x3a2)]();return _0x4219a8;},'blockSize':0x10,'_createHelper':function(_0x572d93){return function(_0xab3305,_0x4feea0){var _0x1019f7=_0x1756;return new _0x572d93[(_0x1019f7(0x1ce))](_0x4feea0)[_0x1019f7(0x3c9)](_0xab3305);};},'_createHmacHelper':function(_0xfcecea){return function(_0x317a65,_0x184aa6){var _0xf4a0f0=_0x1756;return new _0x20cb51[(_0xf4a0f0(0x1fd))][(_0xf4a0f0(0x1ce))](_0xfcecea,_0x184aa6)[_0xf4a0f0(0x3c9)](_0x317a65);};}});var _0x20cb51=_0x2c8457[_0x53381e(0x104)]={};return _0x2c8457;}(Math);return _0x40ffc7;}));}(Ve)),Ve[_0x3af1d0(0x38c)];}var We={'exports':{}},En=We[_0x463ce4(0x38c)],Zt;function Di(){var _0x4a39a2=_0x463ce4;return Zt||(Zt=0x1,function(_0x5ab240,_0x1c20e2){(function(_0x28909b,_0x43b099){var _0x15fbe1=_0x1756;_0x5ab240[_0x15fbe1(0x38c)]=_0x43b099(ie());}(En,function(_0x4de044){var _0x57a064=_0x1756;return(function(){var _0x378b5b=_0x1756,_0x522e87=_0x4de044,_0x5a9294=_0x522e87[_0x378b5b(0x30a)],_0x4601bb=_0x5a9294['WordArray'],_0x1e662d=_0x522e87[_0x378b5b(0x30c)];_0x1e662d[_0x378b5b(0x2ef)]={'stringify':function(_0x47c1a7){var _0x16f169=_0x378b5b,_0x220f65=_0x47c1a7[_0x16f169(0x15c)],_0x3a9fbc=_0x47c1a7['sigBytes'],_0xdedfd7=this[_0x16f169(0x3e8)];_0x47c1a7[_0x16f169(0x2f4)]();for(var _0x5d0a1c=[],_0x219b2b=0x0;_0x219b2b<_0x3a9fbc;_0x219b2b+=0x3)for(var _0x3440e8=_0x220f65[_0x219b2b>>>0x2]>>>0x18-_0x219b2b%0x4*0x8&0xff,_0x2b3de0=_0x220f65[_0x219b2b+0x1>>>0x2]>>>0x18-(_0x219b2b+0x1)%0x4*0x8&0xff,_0x276e5c=_0x220f65[_0x219b2b+0x2>>>0x2]>>>0x18-(_0x219b2b+0x2)%0x4*0x8&0xff,_0x5d4ec6=_0x3440e8<<0x10|_0x2b3de0<<0x8|_0x276e5c,_0x7d5dbe=0x0;_0x7d5dbe<0x4&&_0x219b2b+_0x7d5dbe*0.75<_0x3a9fbc;_0x7d5dbe++)_0x5d0a1c[_0x16f169(0x387)](_0xdedfd7[_0x16f169(0x22e)](_0x5d4ec6>>>0x6*(0x3-_0x7d5dbe)&0x3f));var _0x1c31ae=_0xdedfd7[_0x16f169(0x22e)](0x40);if(_0x1c31ae){for(;_0x5d0a1c[_0x16f169(0x3b5)]%0x4;)_0x5d0a1c['push'](_0x1c31ae);}return _0x5d0a1c[_0x16f169(0x393)]('');},'parse':function(_0x18c6e4){var _0x3ccf36=_0x378b5b,_0x1505f9=_0x18c6e4['length'],_0x1b691c=this[_0x3ccf36(0x3e8)],_0x404a75=this[_0x3ccf36(0x341)];if(!_0x404a75){_0x404a75=this[_0x3ccf36(0x341)]=[];for(var _0x1f1d34=0x0;_0x1f1d34<_0x1b691c[_0x3ccf36(0x3b5)];_0x1f1d34++)_0x404a75[_0x1b691c[_0x3ccf36(0x338)](_0x1f1d34)]=_0x1f1d34;}var _0x578ca9=_0x1b691c[_0x3ccf36(0x22e)](0x40);if(_0x578ca9){var _0x1c3f77=_0x18c6e4[_0x3ccf36(0x1fa)](_0x578ca9);_0x1c3f77!==-0x1&&(_0x1505f9=_0x1c3f77);}return _0x176c25(_0x18c6e4,_0x1505f9,_0x404a75);},'_map':_0x378b5b(0x1f1)};function _0x176c25(_0x5a53e7,_0x151fe2,_0x6d2cae){var _0x966767=_0x378b5b;for(var _0x186aa4=[],_0x5a965e=0x0,_0x2b0731=0x0;_0x2b0731<_0x151fe2;_0x2b0731++)if(_0x2b0731%0x4){var _0x4537a9=_0x6d2cae[_0x5a53e7['charCodeAt'](_0x2b0731-0x1)]<<_0x2b0731%0x4*0x2,_0x3e3694=_0x6d2cae[_0x5a53e7[_0x966767(0x338)](_0x2b0731)]>>>0x6-_0x2b0731%0x4*0x2,_0x43d422=_0x4537a9|_0x3e3694;_0x186aa4[_0x5a965e>>>0x2]|=_0x43d422<<0x18-_0x5a965e%0x4*0x8,_0x5a965e++;}return _0x4601bb[_0x966767(0x285)](_0x186aa4,_0x5a965e);}}()),_0x4de044[_0x57a064(0x30c)][_0x57a064(0x2ef)];}));}(We)),We[_0x4a39a2(0x38c)];}var Ke={'exports':{}},In=Ke['exports'],Qt;function Tn(){var _0x365c71=_0x463ce4;return Qt||(Qt=0x1,function(_0x1170a8,_0x2a3a05){(function(_0xf44045,_0x24e127){_0x1170a8['exports']=_0x24e127(ie());}(In,function(_0x51211d){var _0x1cd5b3=_0x1756;return function(_0xf9d9d6){var _0x50be07=_0x1756,_0x580230=_0x51211d,_0x12a7c0=_0x580230[_0x50be07(0x30a)],_0x20b4d5=_0x12a7c0[_0x50be07(0x266)],_0x2a77e8=_0x12a7c0['Hasher'],_0x9a67a8=_0x580230[_0x50be07(0x104)],_0x26719e=[];(function(){var _0x129c69=_0x50be07;for(var _0x51be2f=0x0;_0x51be2f<0x40;_0x51be2f++)_0x26719e[_0x51be2f]=_0xf9d9d6[_0x129c69(0x146)](_0xf9d9d6['sin'](_0x51be2f+0x1))*0x100000000|0x0;}());var _0x615d39=_0x9a67a8[_0x50be07(0x225)]=_0x2a77e8['extend']({'_doReset':function(){var _0x1ec3ca=_0x50be07;this[_0x1ec3ca(0x3b8)]=new _0x20b4d5[(_0x1ec3ca(0x1ce))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x24c38a,_0x2b88c7){var _0x135354=_0x50be07;for(var _0x2fd07c=0x0;_0x2fd07c<0x10;_0x2fd07c++){var _0x18a06b=_0x2b88c7+_0x2fd07c,_0x5d9d1b=_0x24c38a[_0x18a06b];_0x24c38a[_0x18a06b]=(_0x5d9d1b<<0x8|_0x5d9d1b>>>0x18)&0xff00ff|(_0x5d9d1b<<0x18|_0x5d9d1b>>>0x8)&0xff00ff00;}var _0xbb52ee=this[_0x135354(0x3b8)][_0x135354(0x15c)],_0x52135e=_0x24c38a[_0x2b88c7+0x0],_0x2d49bc=_0x24c38a[_0x2b88c7+0x1],_0x49a047=_0x24c38a[_0x2b88c7+0x2],_0x39c519=_0x24c38a[_0x2b88c7+0x3],_0x297f87=_0x24c38a[_0x2b88c7+0x4],_0x214a8b=_0x24c38a[_0x2b88c7+0x5],_0x32f8b3=_0x24c38a[_0x2b88c7+0x6],_0x4cfd72=_0x24c38a[_0x2b88c7+0x7],_0x6f86c7=_0x24c38a[_0x2b88c7+0x8],_0x17eb72=_0x24c38a[_0x2b88c7+0x9],_0x2da9e0=_0x24c38a[_0x2b88c7+0xa],_0x5f10c0=_0x24c38a[_0x2b88c7+0xb],_0x1cc23a=_0x24c38a[_0x2b88c7+0xc],_0xec70d5=_0x24c38a[_0x2b88c7+0xd],_0x59dc2f=_0x24c38a[_0x2b88c7+0xe],_0x54189d=_0x24c38a[_0x2b88c7+0xf],_0x5df210=_0xbb52ee[0x0],_0x1fff37=_0xbb52ee[0x1],_0x365304=_0xbb52ee[0x2],_0x308d7d=_0xbb52ee[0x3];_0x5df210=_0x46d5b7(_0x5df210,_0x1fff37,_0x365304,_0x308d7d,_0x52135e,0x7,_0x26719e[0x0]),_0x308d7d=_0x46d5b7(_0x308d7d,_0x5df210,_0x1fff37,_0x365304,_0x2d49bc,0xc,_0x26719e[0x1]),_0x365304=_0x46d5b7(_0x365304,_0x308d7d,_0x5df210,_0x1fff37,_0x49a047,0x11,_0x26719e[0x2]),_0x1fff37=_0x46d5b7(_0x1fff37,_0x365304,_0x308d7d,_0x5df210,_0x39c519,0x16,_0x26719e[0x3]),_0x5df210=_0x46d5b7(_0x5df210,_0x1fff37,_0x365304,_0x308d7d,_0x297f87,0x7,_0x26719e[0x4]),_0x308d7d=_0x46d5b7(_0x308d7d,_0x5df210,_0x1fff37,_0x365304,_0x214a8b,0xc,_0x26719e[0x5]),_0x365304=_0x46d5b7(_0x365304,_0x308d7d,_0x5df210,_0x1fff37,_0x32f8b3,0x11,_0x26719e[0x6]),_0x1fff37=_0x46d5b7(_0x1fff37,_0x365304,_0x308d7d,_0x5df210,_0x4cfd72,0x16,_0x26719e[0x7]),_0x5df210=_0x46d5b7(_0x5df210,_0x1fff37,_0x365304,_0x308d7d,_0x6f86c7,0x7,_0x26719e[0x8]),_0x308d7d=_0x46d5b7(_0x308d7d,_0x5df210,_0x1fff37,_0x365304,_0x17eb72,0xc,_0x26719e[0x9]),_0x365304=_0x46d5b7(_0x365304,_0x308d7d,_0x5df210,_0x1fff37,_0x2da9e0,0x11,_0x26719e[0xa]),_0x1fff37=_0x46d5b7(_0x1fff37,_0x365304,_0x308d7d,_0x5df210,_0x5f10c0,0x16,_0x26719e[0xb]),_0x5df210=_0x46d5b7(_0x5df210,_0x1fff37,_0x365304,_0x308d7d,_0x1cc23a,0x7,_0x26719e[0xc]),_0x308d7d=_0x46d5b7(_0x308d7d,_0x5df210,_0x1fff37,_0x365304,_0xec70d5,0xc,_0x26719e[0xd]),_0x365304=_0x46d5b7(_0x365304,_0x308d7d,_0x5df210,_0x1fff37,_0x59dc2f,0x11,_0x26719e[0xe]),_0x1fff37=_0x46d5b7(_0x1fff37,_0x365304,_0x308d7d,_0x5df210,_0x54189d,0x16,_0x26719e[0xf]),_0x5df210=_0x224604(_0x5df210,_0x1fff37,_0x365304,_0x308d7d,_0x2d49bc,0x5,_0x26719e[0x10]),_0x308d7d=_0x224604(_0x308d7d,_0x5df210,_0x1fff37,_0x365304,_0x32f8b3,0x9,_0x26719e[0x11]),_0x365304=_0x224604(_0x365304,_0x308d7d,_0x5df210,_0x1fff37,_0x5f10c0,0xe,_0x26719e[0x12]),_0x1fff37=_0x224604(_0x1fff37,_0x365304,_0x308d7d,_0x5df210,_0x52135e,0x14,_0x26719e[0x13]),_0x5df210=_0x224604(_0x5df210,_0x1fff37,_0x365304,_0x308d7d,_0x214a8b,0x5,_0x26719e[0x14]),_0x308d7d=_0x224604(_0x308d7d,_0x5df210,_0x1fff37,_0x365304,_0x2da9e0,0x9,_0x26719e[0x15]),_0x365304=_0x224604(_0x365304,_0x308d7d,_0x5df210,_0x1fff37,_0x54189d,0xe,_0x26719e[0x16]),_0x1fff37=_0x224604(_0x1fff37,_0x365304,_0x308d7d,_0x5df210,_0x297f87,0x14,_0x26719e[0x17]),_0x5df210=_0x224604(_0x5df210,_0x1fff37,_0x365304,_0x308d7d,_0x17eb72,0x5,_0x26719e[0x18]),_0x308d7d=_0x224604(_0x308d7d,_0x5df210,_0x1fff37,_0x365304,_0x59dc2f,0x9,_0x26719e[0x19]),_0x365304=_0x224604(_0x365304,_0x308d7d,_0x5df210,_0x1fff37,_0x39c519,0xe,_0x26719e[0x1a]),_0x1fff37=_0x224604(_0x1fff37,_0x365304,_0x308d7d,_0x5df210,_0x6f86c7,0x14,_0x26719e[0x1b]),_0x5df210=_0x224604(_0x5df210,_0x1fff37,_0x365304,_0x308d7d,_0xec70d5,0x5,_0x26719e[0x1c]),_0x308d7d=_0x224604(_0x308d7d,_0x5df210,_0x1fff37,_0x365304,_0x49a047,0x9,_0x26719e[0x1d]),_0x365304=_0x224604(_0x365304,_0x308d7d,_0x5df210,_0x1fff37,_0x4cfd72,0xe,_0x26719e[0x1e]),_0x1fff37=_0x224604(_0x1fff37,_0x365304,_0x308d7d,_0x5df210,_0x1cc23a,0x14,_0x26719e[0x1f]),_0x5df210=_0x5a4bee(_0x5df210,_0x1fff37,_0x365304,_0x308d7d,_0x214a8b,0x4,_0x26719e[0x20]),_0x308d7d=_0x5a4bee(_0x308d7d,_0x5df210,_0x1fff37,_0x365304,_0x6f86c7,0xb,_0x26719e[0x21]),_0x365304=_0x5a4bee(_0x365304,_0x308d7d,_0x5df210,_0x1fff37,_0x5f10c0,0x10,_0x26719e[0x22]),_0x1fff37=_0x5a4bee(_0x1fff37,_0x365304,_0x308d7d,_0x5df210,_0x59dc2f,0x17,_0x26719e[0x23]),_0x5df210=_0x5a4bee(_0x5df210,_0x1fff37,_0x365304,_0x308d7d,_0x2d49bc,0x4,_0x26719e[0x24]),_0x308d7d=_0x5a4bee(_0x308d7d,_0x5df210,_0x1fff37,_0x365304,_0x297f87,0xb,_0x26719e[0x25]),_0x365304=_0x5a4bee(_0x365304,_0x308d7d,_0x5df210,_0x1fff37,_0x4cfd72,0x10,_0x26719e[0x26]),_0x1fff37=_0x5a4bee(_0x1fff37,_0x365304,_0x308d7d,_0x5df210,_0x2da9e0,0x17,_0x26719e[0x27]),_0x5df210=_0x5a4bee(_0x5df210,_0x1fff37,_0x365304,_0x308d7d,_0xec70d5,0x4,_0x26719e[0x28]),_0x308d7d=_0x5a4bee(_0x308d7d,_0x5df210,_0x1fff37,_0x365304,_0x52135e,0xb,_0x26719e[0x29]),_0x365304=_0x5a4bee(_0x365304,_0x308d7d,_0x5df210,_0x1fff37,_0x39c519,0x10,_0x26719e[0x2a]),_0x1fff37=_0x5a4bee(_0x1fff37,_0x365304,_0x308d7d,_0x5df210,_0x32f8b3,0x17,_0x26719e[0x2b]),_0x5df210=_0x5a4bee(_0x5df210,_0x1fff37,_0x365304,_0x308d7d,_0x17eb72,0x4,_0x26719e[0x2c]),_0x308d7d=_0x5a4bee(_0x308d7d,_0x5df210,_0x1fff37,_0x365304,_0x1cc23a,0xb,_0x26719e[0x2d]),_0x365304=_0x5a4bee(_0x365304,_0x308d7d,_0x5df210,_0x1fff37,_0x54189d,0x10,_0x26719e[0x2e]),_0x1fff37=_0x5a4bee(_0x1fff37,_0x365304,_0x308d7d,_0x5df210,_0x49a047,0x17,_0x26719e[0x2f]),_0x5df210=_0x1e8fd8(_0x5df210,_0x1fff37,_0x365304,_0x308d7d,_0x52135e,0x6,_0x26719e[0x30]),_0x308d7d=_0x1e8fd8(_0x308d7d,_0x5df210,_0x1fff37,_0x365304,_0x4cfd72,0xa,_0x26719e[0x31]),_0x365304=_0x1e8fd8(_0x365304,_0x308d7d,_0x5df210,_0x1fff37,_0x59dc2f,0xf,_0x26719e[0x32]),_0x1fff37=_0x1e8fd8(_0x1fff37,_0x365304,_0x308d7d,_0x5df210,_0x214a8b,0x15,_0x26719e[0x33]),_0x5df210=_0x1e8fd8(_0x5df210,_0x1fff37,_0x365304,_0x308d7d,_0x1cc23a,0x6,_0x26719e[0x34]),_0x308d7d=_0x1e8fd8(_0x308d7d,_0x5df210,_0x1fff37,_0x365304,_0x39c519,0xa,_0x26719e[0x35]),_0x365304=_0x1e8fd8(_0x365304,_0x308d7d,_0x5df210,_0x1fff37,_0x2da9e0,0xf,_0x26719e[0x36]),_0x1fff37=_0x1e8fd8(_0x1fff37,_0x365304,_0x308d7d,_0x5df210,_0x2d49bc,0x15,_0x26719e[0x37]),_0x5df210=_0x1e8fd8(_0x5df210,_0x1fff37,_0x365304,_0x308d7d,_0x6f86c7,0x6,_0x26719e[0x38]),_0x308d7d=_0x1e8fd8(_0x308d7d,_0x5df210,_0x1fff37,_0x365304,_0x54189d,0xa,_0x26719e[0x39]),_0x365304=_0x1e8fd8(_0x365304,_0x308d7d,_0x5df210,_0x1fff37,_0x32f8b3,0xf,_0x26719e[0x3a]),_0x1fff37=_0x1e8fd8(_0x1fff37,_0x365304,_0x308d7d,_0x5df210,_0xec70d5,0x15,_0x26719e[0x3b]),_0x5df210=_0x1e8fd8(_0x5df210,_0x1fff37,_0x365304,_0x308d7d,_0x297f87,0x6,_0x26719e[0x3c]),_0x308d7d=_0x1e8fd8(_0x308d7d,_0x5df210,_0x1fff37,_0x365304,_0x5f10c0,0xa,_0x26719e[0x3d]),_0x365304=_0x1e8fd8(_0x365304,_0x308d7d,_0x5df210,_0x1fff37,_0x49a047,0xf,_0x26719e[0x3e]),_0x1fff37=_0x1e8fd8(_0x1fff37,_0x365304,_0x308d7d,_0x5df210,_0x17eb72,0x15,_0x26719e[0x3f]),_0xbb52ee[0x0]=_0xbb52ee[0x0]+_0x5df210|0x0,_0xbb52ee[0x1]=_0xbb52ee[0x1]+_0x1fff37|0x0,_0xbb52ee[0x2]=_0xbb52ee[0x2]+_0x365304|0x0,_0xbb52ee[0x3]=_0xbb52ee[0x3]+_0x308d7d|0x0;},'_doFinalize':function(){var _0x241326=_0x50be07,_0x64c6a0=this[_0x241326(0x249)],_0x248f4b=_0x64c6a0[_0x241326(0x15c)],_0x50af45=this[_0x241326(0x277)]*0x8,_0x499bce=_0x64c6a0[_0x241326(0xf6)]*0x8;_0x248f4b[_0x499bce>>>0x5]|=0x80<<0x18-_0x499bce%0x20;var _0xba6506=_0xf9d9d6['floor'](_0x50af45/0x100000000),_0x2ba2d8=_0x50af45;_0x248f4b[(_0x499bce+0x40>>>0x9<<0x4)+0xf]=(_0xba6506<<0x8|_0xba6506>>>0x18)&0xff00ff|(_0xba6506<<0x18|_0xba6506>>>0x8)&0xff00ff00,_0x248f4b[(_0x499bce+0x40>>>0x9<<0x4)+0xe]=(_0x2ba2d8<<0x8|_0x2ba2d8>>>0x18)&0xff00ff|(_0x2ba2d8<<0x18|_0x2ba2d8>>>0x8)&0xff00ff00,_0x64c6a0[_0x241326(0xf6)]=(_0x248f4b[_0x241326(0x3b5)]+0x1)*0x4,this[_0x241326(0x235)]();for(var _0x6886ac=this[_0x241326(0x3b8)],_0x4443f7=_0x6886ac[_0x241326(0x15c)],_0x34a61b=0x0;_0x34a61b<0x4;_0x34a61b++){var _0x236792=_0x4443f7[_0x34a61b];_0x4443f7[_0x34a61b]=(_0x236792<<0x8|_0x236792>>>0x18)&0xff00ff|(_0x236792<<0x18|_0x236792>>>0x8)&0xff00ff00;}return _0x6886ac;},'clone':function(){var _0x4aca31=_0x50be07,_0x1081b6=_0x2a77e8[_0x4aca31(0x3bc)]['call'](this);return _0x1081b6[_0x4aca31(0x3b8)]=this['_hash'][_0x4aca31(0x3bc)](),_0x1081b6;}});function _0x46d5b7(_0x984331,_0x4a6937,_0xca71e4,_0x310c47,_0x490b94,_0x1ca206,_0x275632){var _0x48b555=_0x984331+(_0x4a6937&_0xca71e4|~_0x4a6937&_0x310c47)+_0x490b94+_0x275632;return(_0x48b555<<_0x1ca206|_0x48b555>>>0x20-_0x1ca206)+_0x4a6937;}function _0x224604(_0x8a2bf7,_0x2149e1,_0x238f0e,_0x48e2a4,_0x12a97,_0x4816f5,_0xc506dc){var _0x455f83=_0x8a2bf7+(_0x2149e1&_0x48e2a4|_0x238f0e&~_0x48e2a4)+_0x12a97+_0xc506dc;return(_0x455f83<<_0x4816f5|_0x455f83>>>0x20-_0x4816f5)+_0x2149e1;}function _0x5a4bee(_0x5bbc82,_0x1ac34f,_0x47562a,_0x1e4840,_0x503501,_0x20fa42,_0x371904){var _0x116abe=_0x5bbc82+(_0x1ac34f^_0x47562a^_0x1e4840)+_0x503501+_0x371904;return(_0x116abe<<_0x20fa42|_0x116abe>>>0x20-_0x20fa42)+_0x1ac34f;}function _0x1e8fd8(_0x7fe1c0,_0x5c68cd,_0x4bb598,_0x3f7d96,_0x13392c,_0x3ead0d,_0x1536c5){var _0x54f8fa=_0x7fe1c0+(_0x4bb598^(_0x5c68cd|~_0x3f7d96))+_0x13392c+_0x1536c5;return(_0x54f8fa<<_0x3ead0d|_0x54f8fa>>>0x20-_0x3ead0d)+_0x5c68cd;}_0x580230['MD5']=_0x2a77e8[_0x50be07(0x139)](_0x615d39),_0x580230[_0x50be07(0x256)]=_0x2a77e8[_0x50be07(0x2a8)](_0x615d39);}(Math),_0x51211d[_0x1cd5b3(0x225)];}));}(Ke)),Ke[_0x365c71(0x38c)];}var Ye={'exports':{}},qe={'exports':{}},Cn=qe[_0x463ce4(0x38c)],ei;function Rn(){var _0x3b3b2c=_0x463ce4;return ei||(ei=0x1,function(_0x3d626e,_0x21eb43){(function(_0x370921,_0x22da11){var _0x1dc327=_0x1756;_0x3d626e[_0x1dc327(0x38c)]=_0x22da11(ie());}(Cn,function(_0x24f6b7){var _0x1c9097=_0x1756;return(function(){var _0x7f0ec0=_0x1756,_0x23533f=_0x24f6b7,_0x469209=_0x23533f[_0x7f0ec0(0x30a)],_0x3fa898=_0x469209[_0x7f0ec0(0x266)],_0x48e52=_0x469209[_0x7f0ec0(0x313)],_0x4c515d=_0x23533f['algo'],_0x542ac9=[],_0x245766=_0x4c515d[_0x7f0ec0(0xf2)]=_0x48e52['extend']({'_doReset':function(){var _0x4ffdd3=_0x7f0ec0;this[_0x4ffdd3(0x3b8)]=new _0x3fa898[(_0x4ffdd3(0x1ce))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x35f297,_0x570b25){var _0x491663=_0x7f0ec0;for(var _0x395464=this[_0x491663(0x3b8)]['words'],_0xd0e027=_0x395464[0x0],_0x285da8=_0x395464[0x1],_0x2cd92e=_0x395464[0x2],_0xc603ce=_0x395464[0x3],_0x2f3257=_0x395464[0x4],_0x1d37af=0x0;_0x1d37af<0x50;_0x1d37af++){if(_0x1d37af<0x10)_0x542ac9[_0x1d37af]=_0x35f297[_0x570b25+_0x1d37af]|0x0;else{var _0x591cde=_0x542ac9[_0x1d37af-0x3]^_0x542ac9[_0x1d37af-0x8]^_0x542ac9[_0x1d37af-0xe]^_0x542ac9[_0x1d37af-0x10];_0x542ac9[_0x1d37af]=_0x591cde<<0x1|_0x591cde>>>0x1f;}var _0x551524=(_0xd0e027<<0x5|_0xd0e027>>>0x1b)+_0x2f3257+_0x542ac9[_0x1d37af];_0x1d37af<0x14?_0x551524+=(_0x285da8&_0x2cd92e|~_0x285da8&_0xc603ce)+0x5a827999:_0x1d37af<0x28?_0x551524+=(_0x285da8^_0x2cd92e^_0xc603ce)+0x6ed9eba1:_0x1d37af<0x3c?_0x551524+=(_0x285da8&_0x2cd92e|_0x285da8&_0xc603ce|_0x2cd92e&_0xc603ce)-0x70e44324:_0x551524+=(_0x285da8^_0x2cd92e^_0xc603ce)-0x359d3e2a,_0x2f3257=_0xc603ce,_0xc603ce=_0x2cd92e,_0x2cd92e=_0x285da8<<0x1e|_0x285da8>>>0x2,_0x285da8=_0xd0e027,_0xd0e027=_0x551524;}_0x395464[0x0]=_0x395464[0x0]+_0xd0e027|0x0,_0x395464[0x1]=_0x395464[0x1]+_0x285da8|0x0,_0x395464[0x2]=_0x395464[0x2]+_0x2cd92e|0x0,_0x395464[0x3]=_0x395464[0x3]+_0xc603ce|0x0,_0x395464[0x4]=_0x395464[0x4]+_0x2f3257|0x0;},'_doFinalize':function(){var _0x6e4aa0=_0x7f0ec0,_0x1948ac=this[_0x6e4aa0(0x249)],_0xa2544c=_0x1948ac[_0x6e4aa0(0x15c)],_0x2195a9=this[_0x6e4aa0(0x277)]*0x8,_0x1c9b2f=_0x1948ac['sigBytes']*0x8;return _0xa2544c[_0x1c9b2f>>>0x5]|=0x80<<0x18-_0x1c9b2f%0x20,_0xa2544c[(_0x1c9b2f+0x40>>>0x9<<0x4)+0xe]=Math[_0x6e4aa0(0x2f9)](_0x2195a9/0x100000000),_0xa2544c[(_0x1c9b2f+0x40>>>0x9<<0x4)+0xf]=_0x2195a9,_0x1948ac[_0x6e4aa0(0xf6)]=_0xa2544c[_0x6e4aa0(0x3b5)]*0x4,this[_0x6e4aa0(0x235)](),this['_hash'];},'clone':function(){var _0x4a3f70=_0x7f0ec0,_0x189c1e=_0x48e52[_0x4a3f70(0x3bc)]['call'](this);return _0x189c1e[_0x4a3f70(0x3b8)]=this[_0x4a3f70(0x3b8)][_0x4a3f70(0x3bc)](),_0x189c1e;}});_0x23533f[_0x7f0ec0(0xf2)]=_0x48e52[_0x7f0ec0(0x139)](_0x245766),_0x23533f[_0x7f0ec0(0x103)]=_0x48e52[_0x7f0ec0(0x2a8)](_0x245766);}()),_0x24f6b7[_0x1c9097(0xf2)];}));}(qe)),qe[_0x3b3b2c(0x38c)];}var ze={'exports':{}},bn=ze[_0x463ce4(0x38c)],ti;function yn(){var _0x5c0729=_0x463ce4;return ti||(ti=0x1,function(_0x5479ae,_0x5f591f){(function(_0xd4101a,_0x6d0383){var _0xa6013c=_0x1756;_0x5479ae[_0xa6013c(0x38c)]=_0x6d0383(ie());}(bn,function(_0x5462f0){(function(){var _0x4b0f42=_0x1756,_0xc95ee2=_0x5462f0,_0x286686=_0xc95ee2[_0x4b0f42(0x30a)],_0x63dc6c=_0x286686['Base'],_0x243c03=_0xc95ee2[_0x4b0f42(0x30c)],_0x39fbbf=_0x243c03[_0x4b0f42(0x335)],_0x48f67d=_0xc95ee2[_0x4b0f42(0x104)];_0x48f67d[_0x4b0f42(0x1fd)]=_0x63dc6c['extend']({'init':function(_0x7a38b4,_0x3cb7db){var _0x277281=_0x4b0f42;_0x7a38b4=this[_0x277281(0x3cd)]=new _0x7a38b4[(_0x277281(0x1ce))](),typeof _0x3cb7db==_0x277281(0x20e)&&(_0x3cb7db=_0x39fbbf['parse'](_0x3cb7db));var _0xe3c59c=_0x7a38b4['blockSize'],_0x578b62=_0xe3c59c*0x4;_0x3cb7db[_0x277281(0xf6)]>_0x578b62&&(_0x3cb7db=_0x7a38b4[_0x277281(0x3c9)](_0x3cb7db)),_0x3cb7db[_0x277281(0x2f4)]();for(var _0x10d79d=this['_oKey']=_0x3cb7db[_0x277281(0x3bc)](),_0x316a30=this['_iKey']=_0x3cb7db[_0x277281(0x3bc)](),_0x3bcd54=_0x10d79d[_0x277281(0x15c)],_0x524114=_0x316a30[_0x277281(0x15c)],_0x520d04=0x0;_0x520d04<_0xe3c59c;_0x520d04++)_0x3bcd54[_0x520d04]^=0x5c5c5c5c,_0x524114[_0x520d04]^=0x36363636;_0x10d79d['sigBytes']=_0x316a30['sigBytes']=_0x578b62,this[_0x277281(0x196)]();},'reset':function(){var _0x5e4dc0=_0x4b0f42,_0x4e3207=this[_0x5e4dc0(0x3cd)];_0x4e3207['reset'](),_0x4e3207[_0x5e4dc0(0x3dc)](this['_iKey']);},'update':function(_0x357810){var _0x1bd2a2=_0x4b0f42;return this[_0x1bd2a2(0x3cd)][_0x1bd2a2(0x3dc)](_0x357810),this;},'finalize':function(_0x111937){var _0x273bf3=_0x4b0f42,_0x16d182=this[_0x273bf3(0x3cd)],_0x40cda3=_0x16d182[_0x273bf3(0x3c9)](_0x111937);_0x16d182['reset']();var _0x1e875e=_0x16d182[_0x273bf3(0x3c9)](this['_oKey']['clone']()['concat'](_0x40cda3));return _0x1e875e;}});}());}));}(ze)),ze[_0x5c0729(0x38c)];}var On=Ye[_0x463ce4(0x38c)],ii;function wi(){var _0x464fa3=_0x463ce4;return ii||(ii=0x1,function(_0x3c9c4a,_0x536008){(function(_0x40d0f2,_0x5966b8,_0x4b3bbd){var _0x3d03fc=_0x1756;_0x3c9c4a[_0x3d03fc(0x38c)]=_0x5966b8(ie(),Rn(),yn());}(On,function(_0x14095b){var _0x1af1a8=_0x1756;return(function(){var _0x32f71d=_0x1756,_0x529c38=_0x14095b,_0x16a81f=_0x529c38[_0x32f71d(0x30a)],_0x4d5b1e=_0x16a81f['Base'],_0x289c12=_0x16a81f[_0x32f71d(0x266)],_0x404ee8=_0x529c38['algo'],_0x1af3df=_0x404ee8['MD5'],_0x36dec6=_0x404ee8[_0x32f71d(0x1bc)]=_0x4d5b1e[_0x32f71d(0x3da)]({'cfg':_0x4d5b1e[_0x32f71d(0x3da)]({'keySize':0x80/0x20,'hasher':_0x1af3df,'iterations':0x1}),'init':function(_0x3f9dfe){var _0x677a3=_0x32f71d;this[_0x677a3(0x2de)]=this['cfg']['extend'](_0x3f9dfe);},'compute':function(_0x37e235,_0x34e46e){var _0x3abc91=_0x32f71d;for(var _0x1644dc,_0x3618ba=this['cfg'],_0x244485=_0x3618ba[_0x3abc91(0x1e0)][_0x3abc91(0x285)](),_0x37bc8c=_0x289c12[_0x3abc91(0x285)](),_0x2accb8=_0x37bc8c[_0x3abc91(0x15c)],_0x40f0b3=_0x3618ba[_0x3abc91(0x140)],_0x52d67f=_0x3618ba[_0x3abc91(0x27b)];_0x2accb8['length']<_0x40f0b3;){_0x1644dc&&_0x244485[_0x3abc91(0x3dc)](_0x1644dc),_0x1644dc=_0x244485[_0x3abc91(0x3dc)](_0x37e235)[_0x3abc91(0x3c9)](_0x34e46e),_0x244485['reset']();for(var _0x183c94=0x1;_0x183c94<_0x52d67f;_0x183c94++)_0x1644dc=_0x244485['finalize'](_0x1644dc),_0x244485[_0x3abc91(0x196)]();_0x37bc8c[_0x3abc91(0x3a6)](_0x1644dc);}return _0x37bc8c[_0x3abc91(0xf6)]=_0x40f0b3*0x4,_0x37bc8c;}});_0x529c38[_0x32f71d(0x1bc)]=function(_0x34b5d6,_0xf46524,_0x70f3cb){var _0x48bfe8=_0x32f71d;return _0x36dec6['create'](_0x70f3cb)[_0x48bfe8(0x352)](_0x34b5d6,_0xf46524);};}()),_0x14095b[_0x1af1a8(0x1bc)];}));}(Ye)),Ye[_0x464fa3(0x38c)];}var Je={'exports':{}},Nn=Je[_0x463ce4(0x38c)],ri;function Ui(){var _0x55907f=_0x463ce4;return ri||(ri=0x1,function(_0x3a8b3f,_0x1cc75e){(function(_0x1b9d95,_0x3bb620,_0x5be5b5){_0x3a8b3f['exports']=_0x3bb620(ie(),wi());}(Nn,function(_0x3ba2bb){var _0x4d72b2=_0x1756;_0x3ba2bb[_0x4d72b2(0x30a)][_0x4d72b2(0x2ff)]||function(_0x229e51){var _0x3ef051=_0x4d72b2,_0x1f6eee=_0x3ba2bb,_0xac2d63=_0x1f6eee[_0x3ef051(0x30a)],_0x2768e9=_0xac2d63[_0x3ef051(0x2bb)],_0x28004c=_0xac2d63[_0x3ef051(0x266)],_0x411a01=_0xac2d63[_0x3ef051(0x278)],_0x5660ee=_0x1f6eee[_0x3ef051(0x30c)];_0x5660ee[_0x3ef051(0x335)];var _0x51e830=_0x5660ee[_0x3ef051(0x2ef)],_0x2fe0d6=_0x1f6eee['algo'],_0x5e4779=_0x2fe0d6['EvpKDF'],_0x66e8f6=_0xac2d63[_0x3ef051(0x2ff)]=_0x411a01['extend']({'cfg':_0x2768e9[_0x3ef051(0x3da)](),'createEncryptor':function(_0xe6284a,_0x44b202){var _0x364a4a=_0x3ef051;return this[_0x364a4a(0x285)](this[_0x364a4a(0x211)],_0xe6284a,_0x44b202);},'createDecryptor':function(_0x34e3c2,_0x46d7cf){var _0x52dbc5=_0x3ef051;return this[_0x52dbc5(0x285)](this['_DEC_XFORM_MODE'],_0x34e3c2,_0x46d7cf);},'init':function(_0x2fac65,_0x5086dc,_0x241a13){var _0x3cca9d=_0x3ef051;this[_0x3cca9d(0x2de)]=this[_0x3cca9d(0x2de)][_0x3cca9d(0x3da)](_0x241a13),this[_0x3cca9d(0x105)]=_0x2fac65,this[_0x3cca9d(0x3ca)]=_0x5086dc,this[_0x3cca9d(0x196)]();},'reset':function(){var _0x31eda2=_0x3ef051;_0x411a01['reset'][_0x31eda2(0x167)](this),this[_0x31eda2(0x18a)]();},'process':function(_0x132d98){var _0x2d73d1=_0x3ef051;return this[_0x2d73d1(0x1d3)](_0x132d98),this[_0x2d73d1(0x235)]();},'finalize':function(_0x171a83){var _0x9a31aa=_0x3ef051;_0x171a83&&this[_0x9a31aa(0x1d3)](_0x171a83);var _0x2f583a=this['_doFinalize']();return _0x2f583a;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x2182f6(_0x10137d){var _0x3b2346=_0x1756;return typeof _0x10137d==_0x3b2346(0x20e)?_0x170fb6:_0x32eea0;}return function(_0x50ff99){return{'encrypt':function(_0x457a6e,_0x5ce730,_0x1c6be4){var _0x27ee39=_0x1756;return _0x2182f6(_0x5ce730)[_0x27ee39(0x2d8)](_0x50ff99,_0x457a6e,_0x5ce730,_0x1c6be4);},'decrypt':function(_0x2009bb,_0x16b6fa,_0x384106){var _0x3a7dab=_0x1756;return _0x2182f6(_0x16b6fa)[_0x3a7dab(0xec)](_0x50ff99,_0x2009bb,_0x16b6fa,_0x384106);}};};}())});_0xac2d63[_0x3ef051(0x2bf)]=_0x66e8f6[_0x3ef051(0x3da)]({'_doFinalize':function(){var _0x124b0f=_0x3ef051,_0x373f24=this[_0x124b0f(0x235)](!0x0);return _0x373f24;},'blockSize':0x1});var _0x4eedb2=_0x1f6eee['mode']={},_0x5a13ab=_0xac2d63[_0x3ef051(0x2c3)]=_0x2768e9[_0x3ef051(0x3da)]({'createEncryptor':function(_0x5d62db,_0x31e434){var _0x3f32dc=_0x3ef051;return this[_0x3f32dc(0x2c0)][_0x3f32dc(0x285)](_0x5d62db,_0x31e434);},'createDecryptor':function(_0x256d69,_0x30fe94){var _0x19518d=_0x3ef051;return this[_0x19518d(0x20f)][_0x19518d(0x285)](_0x256d69,_0x30fe94);},'init':function(_0x55fcc9,_0x15e831){var _0x1f35c3=_0x3ef051;this['_cipher']=_0x55fcc9,this[_0x1f35c3(0x20d)]=_0x15e831;}}),_0x5a853b=_0x4eedb2['CBC']=(function(){var _0x1ee6a1=_0x3ef051,_0x103d14=_0x5a13ab[_0x1ee6a1(0x3da)]();_0x103d14['Encryptor']=_0x103d14[_0x1ee6a1(0x3da)]({'processBlock':function(_0x49dec0,_0x12e79e){var _0x3a026d=_0x1ee6a1,_0x51f45a=this[_0x3a026d(0x1c3)],_0x1b5b40=_0x51f45a['blockSize'];_0x5dcfa7[_0x3a026d(0x167)](this,_0x49dec0,_0x12e79e,_0x1b5b40),_0x51f45a[_0x3a026d(0x3e6)](_0x49dec0,_0x12e79e),this[_0x3a026d(0x181)]=_0x49dec0[_0x3a026d(0xe8)](_0x12e79e,_0x12e79e+_0x1b5b40);}}),_0x103d14['Decryptor']=_0x103d14[_0x1ee6a1(0x3da)]({'processBlock':function(_0x295ffa,_0x3d4bd3){var _0x528b08=_0x1ee6a1,_0x381f61=this['_cipher'],_0x2f791d=_0x381f61[_0x528b08(0x38b)],_0x48d5b9=_0x295ffa[_0x528b08(0xe8)](_0x3d4bd3,_0x3d4bd3+_0x2f791d);_0x381f61['decryptBlock'](_0x295ffa,_0x3d4bd3),_0x5dcfa7['call'](this,_0x295ffa,_0x3d4bd3,_0x2f791d),this['_prevBlock']=_0x48d5b9;}});function _0x5dcfa7(_0x3581c8,_0x400dbc,_0x1f95cc){var _0x8f1d87=_0x1ee6a1,_0x450ea5,_0x111923=this[_0x8f1d87(0x20d)];_0x111923?(_0x450ea5=_0x111923,this[_0x8f1d87(0x20d)]=_0x229e51):_0x450ea5=this[_0x8f1d87(0x181)];for(var _0x30157c=0x0;_0x30157c<_0x1f95cc;_0x30157c++)_0x3581c8[_0x400dbc+_0x30157c]^=_0x450ea5[_0x30157c];}return _0x103d14;}()),_0x5e8a72=_0x1f6eee[_0x3ef051(0x3bf)]={},_0x1deb5b=_0x5e8a72[_0x3ef051(0x13f)]={'pad':function(_0x3a3dba,_0x3b2466){var _0xf9ae89=_0x3ef051;for(var _0x5a3dd2=_0x3b2466*0x4,_0x1a35aa=_0x5a3dd2-_0x3a3dba[_0xf9ae89(0xf6)]%_0x5a3dd2,_0x9099d7=_0x1a35aa<<0x18|_0x1a35aa<<0x10|_0x1a35aa<<0x8|_0x1a35aa,_0x1bb587=[],_0x1bcfcf=0x0;_0x1bcfcf<_0x1a35aa;_0x1bcfcf+=0x4)_0x1bb587['push'](_0x9099d7);var _0x4656f0=_0x28004c['create'](_0x1bb587,_0x1a35aa);_0x3a3dba['concat'](_0x4656f0);},'unpad':function(_0x6c7a55){var _0x55ded3=_0x3ef051,_0x2a46a6=_0x6c7a55[_0x55ded3(0x15c)][_0x6c7a55[_0x55ded3(0xf6)]-0x1>>>0x2]&0xff;_0x6c7a55[_0x55ded3(0xf6)]-=_0x2a46a6;}};_0xac2d63['BlockCipher']=_0x66e8f6[_0x3ef051(0x3da)]({'cfg':_0x66e8f6['cfg'][_0x3ef051(0x3da)]({'mode':_0x5a853b,'padding':_0x1deb5b}),'reset':function(){var _0xa3494f=_0x3ef051,_0x55d9eb;_0x66e8f6[_0xa3494f(0x196)][_0xa3494f(0x167)](this);var _0x1b5f5d=this[_0xa3494f(0x2de)],_0x5d7363=_0x1b5f5d['iv'],_0x416404=_0x1b5f5d[_0xa3494f(0x245)];this[_0xa3494f(0x105)]==this[_0xa3494f(0x211)]?_0x55d9eb=_0x416404[_0xa3494f(0x1ac)]:(_0x55d9eb=_0x416404[_0xa3494f(0xf1)],this[_0xa3494f(0x33b)]=0x1),this[_0xa3494f(0x32e)]&&this[_0xa3494f(0x32e)][_0xa3494f(0x287)]==_0x55d9eb?this[_0xa3494f(0x32e)][_0xa3494f(0x1ce)](this,_0x5d7363&&_0x5d7363[_0xa3494f(0x15c)]):(this['_mode']=_0x55d9eb[_0xa3494f(0x167)](_0x416404,this,_0x5d7363&&_0x5d7363[_0xa3494f(0x15c)]),this[_0xa3494f(0x32e)][_0xa3494f(0x287)]=_0x55d9eb);},'_doProcessBlock':function(_0x22bc06,_0x49c232){var _0x4bf4f3=_0x3ef051;this['_mode'][_0x4bf4f3(0x32b)](_0x22bc06,_0x49c232);},'_doFinalize':function(){var _0xdff2d6=_0x3ef051,_0x3e7ba6,_0x6b1949=this[_0xdff2d6(0x2de)][_0xdff2d6(0x13c)];return this[_0xdff2d6(0x105)]==this[_0xdff2d6(0x211)]?(_0x6b1949['pad'](this[_0xdff2d6(0x249)],this[_0xdff2d6(0x38b)]),_0x3e7ba6=this['_process'](!0x0)):(_0x3e7ba6=this[_0xdff2d6(0x235)](!0x0),_0x6b1949[_0xdff2d6(0x10f)](_0x3e7ba6)),_0x3e7ba6;},'blockSize':0x80/0x20});var _0x1f1ce9=_0xac2d63['CipherParams']=_0x2768e9['extend']({'init':function(_0x123889){this['mixIn'](_0x123889);},'toString':function(_0x5483b4){var _0x406fd8=_0x3ef051;return(_0x5483b4||this[_0x406fd8(0x35a)])[_0x406fd8(0x3b9)](this);}}),_0x237b2e=_0x1f6eee[_0x3ef051(0x382)]={},_0xd7f36e=_0x237b2e[_0x3ef051(0x1a6)]={'stringify':function(_0x37e5b5){var _0x3fe262=_0x3ef051,_0x1b1d21,_0x2cbeb9=_0x37e5b5['ciphertext'],_0x3d84ff=_0x37e5b5[_0x3fe262(0x355)];return _0x3d84ff?_0x1b1d21=_0x28004c[_0x3fe262(0x285)]([0x53616c74,0x65645f5f])[_0x3fe262(0x3a6)](_0x3d84ff)['concat'](_0x2cbeb9):_0x1b1d21=_0x2cbeb9,_0x1b1d21['toString'](_0x51e830);},'parse':function(_0x58d292){var _0x3e1e8d=_0x3ef051,_0x43010b,_0x3e0299=_0x51e830[_0x3e1e8d(0x222)](_0x58d292),_0x2b85cd=_0x3e0299[_0x3e1e8d(0x15c)];return _0x2b85cd[0x0]==0x53616c74&&_0x2b85cd[0x1]==0x65645f5f&&(_0x43010b=_0x28004c['create'](_0x2b85cd[_0x3e1e8d(0xe8)](0x2,0x4)),_0x2b85cd[_0x3e1e8d(0x1f3)](0x0,0x4),_0x3e0299[_0x3e1e8d(0xf6)]-=0x10),_0x1f1ce9[_0x3e1e8d(0x285)]({'ciphertext':_0x3e0299,'salt':_0x43010b});}},_0x32eea0=_0xac2d63[_0x3ef051(0x1e8)]=_0x2768e9[_0x3ef051(0x3da)]({'cfg':_0x2768e9[_0x3ef051(0x3da)]({'format':_0xd7f36e}),'encrypt':function(_0x39d13c,_0x176f20,_0x22f79b,_0x54a364){var _0x19e40d=_0x3ef051;_0x54a364=this[_0x19e40d(0x2de)][_0x19e40d(0x3da)](_0x54a364);var _0x3871a1=_0x39d13c['createEncryptor'](_0x22f79b,_0x54a364),_0xe5088=_0x3871a1['finalize'](_0x176f20),_0x6f97e7=_0x3871a1[_0x19e40d(0x2de)];return _0x1f1ce9['create']({'ciphertext':_0xe5088,'key':_0x22f79b,'iv':_0x6f97e7['iv'],'algorithm':_0x39d13c,'mode':_0x6f97e7[_0x19e40d(0x245)],'padding':_0x6f97e7[_0x19e40d(0x13c)],'blockSize':_0x39d13c[_0x19e40d(0x38b)],'formatter':_0x54a364[_0x19e40d(0x382)]});},'decrypt':function(_0x21bb89,_0x1fa420,_0x2d70d9,_0x63da5d){var _0x10c3a9=_0x3ef051;_0x63da5d=this[_0x10c3a9(0x2de)][_0x10c3a9(0x3da)](_0x63da5d),_0x1fa420=this[_0x10c3a9(0x2db)](_0x1fa420,_0x63da5d[_0x10c3a9(0x382)]);var _0x4c9e49=_0x21bb89[_0x10c3a9(0xf1)](_0x2d70d9,_0x63da5d)[_0x10c3a9(0x3c9)](_0x1fa420[_0x10c3a9(0x165)]);return _0x4c9e49;},'_parse':function(_0x46d9c2,_0x44f4b4){var _0x2ff71f=_0x3ef051;return typeof _0x46d9c2==_0x2ff71f(0x20e)?_0x44f4b4[_0x2ff71f(0x222)](_0x46d9c2,this):_0x46d9c2;}}),_0x3f7f46=_0x1f6eee[_0x3ef051(0xee)]={},_0x2b5e0b=_0x3f7f46[_0x3ef051(0x1a6)]={'execute':function(_0x299113,_0x3f7fb3,_0x511011,_0x264cb7,_0x31ba41){var _0x22ab42=_0x3ef051;if(_0x264cb7||(_0x264cb7=_0x28004c[_0x22ab42(0x3af)](0x40/0x8)),_0x31ba41)var _0x31c5f1=_0x5e4779[_0x22ab42(0x285)]({'keySize':_0x3f7fb3+_0x511011,'hasher':_0x31ba41})[_0x22ab42(0x352)](_0x299113,_0x264cb7);else var _0x31c5f1=_0x5e4779[_0x22ab42(0x285)]({'keySize':_0x3f7fb3+_0x511011})[_0x22ab42(0x352)](_0x299113,_0x264cb7);var _0x534de2=_0x28004c[_0x22ab42(0x285)](_0x31c5f1[_0x22ab42(0x15c)][_0x22ab42(0xe8)](_0x3f7fb3),_0x511011*0x4);return _0x31c5f1[_0x22ab42(0xf6)]=_0x3f7fb3*0x4,_0x1f1ce9[_0x22ab42(0x285)]({'key':_0x31c5f1,'iv':_0x534de2,'salt':_0x264cb7});}},_0x170fb6=_0xac2d63[_0x3ef051(0x1ba)]=_0x32eea0[_0x3ef051(0x3da)]({'cfg':_0x32eea0[_0x3ef051(0x2de)][_0x3ef051(0x3da)]({'kdf':_0x2b5e0b}),'encrypt':function(_0x23ca22,_0x213d27,_0x156d64,_0x35d76b){var _0x34755c=_0x3ef051;_0x35d76b=this[_0x34755c(0x2de)][_0x34755c(0x3da)](_0x35d76b);var _0x6c071e=_0x35d76b[_0x34755c(0xee)][_0x34755c(0x1b1)](_0x156d64,_0x23ca22[_0x34755c(0x140)],_0x23ca22[_0x34755c(0x3c8)],_0x35d76b[_0x34755c(0x355)],_0x35d76b[_0x34755c(0x1e0)]);_0x35d76b['iv']=_0x6c071e['iv'];var _0xcd93ef=_0x32eea0[_0x34755c(0x2d8)]['call'](this,_0x23ca22,_0x213d27,_0x6c071e[_0x34755c(0xf5)],_0x35d76b);return _0xcd93ef['mixIn'](_0x6c071e),_0xcd93ef;},'decrypt':function(_0x14e081,_0x4b6feb,_0x1d5140,_0x1374d1){var _0x2faf6c=_0x3ef051;_0x1374d1=this[_0x2faf6c(0x2de)][_0x2faf6c(0x3da)](_0x1374d1),_0x4b6feb=this[_0x2faf6c(0x2db)](_0x4b6feb,_0x1374d1[_0x2faf6c(0x382)]);var _0x51f0a5=_0x1374d1[_0x2faf6c(0xee)][_0x2faf6c(0x1b1)](_0x1d5140,_0x14e081['keySize'],_0x14e081[_0x2faf6c(0x3c8)],_0x4b6feb['salt'],_0x1374d1[_0x2faf6c(0x1e0)]);_0x1374d1['iv']=_0x51f0a5['iv'];var _0x5ebd40=_0x32eea0[_0x2faf6c(0xec)][_0x2faf6c(0x167)](this,_0x14e081,_0x4b6feb,_0x51f0a5['key'],_0x1374d1);return _0x5ebd40;}});}();}));}(Je)),Je[_0x55907f(0x38c)];}var Dn=Ge['exports'],ni;function wn(){var _0x368dde=_0x463ce4;return ni||(ni=0x1,function(_0x2862d7,_0x3f0684){(function(_0x2d6493,_0x52f52c,_0x20cc15){var _0x31415f=_0x1756;_0x2862d7[_0x31415f(0x38c)]=_0x52f52c(ie(),Di(),Tn(),wi(),Ui());}(Dn,function(_0x2da651){var _0x25fc8c=_0x1756;return(function(){var _0x240c93=_0x1756,_0x4f20ff=_0x2da651,_0x436451=_0x4f20ff['lib'],_0x32c4d9=_0x436451[_0x240c93(0x1ef)],_0x5f5aa5=_0x4f20ff['algo'],_0x5b0fd6=[],_0x28353c=[],_0x33c3e9=[],_0x5e39c8=[],_0x48fe67=[],_0x296783=[],_0x4ef1c6=[],_0x4e118e=[],_0x2aa6db=[],_0x5e6dec=[];(function(){for(var _0x5dc37e=[],_0x2ef0f6=0x0;_0x2ef0f6<0x100;_0x2ef0f6++)_0x2ef0f6<0x80?_0x5dc37e[_0x2ef0f6]=_0x2ef0f6<<0x1:_0x5dc37e[_0x2ef0f6]=_0x2ef0f6<<0x1^0x11b;for(var _0x38e2a2=0x0,_0x52c30c=0x0,_0x2ef0f6=0x0;_0x2ef0f6<0x100;_0x2ef0f6++){var _0x3e923b=_0x52c30c^_0x52c30c<<0x1^_0x52c30c<<0x2^_0x52c30c<<0x3^_0x52c30c<<0x4;_0x3e923b=_0x3e923b>>>0x8^_0x3e923b&0xff^0x63,_0x5b0fd6[_0x38e2a2]=_0x3e923b,_0x28353c[_0x3e923b]=_0x38e2a2;var _0x5934b4=_0x5dc37e[_0x38e2a2],_0x6d514b=_0x5dc37e[_0x5934b4],_0x1465f5=_0x5dc37e[_0x6d514b],_0xce4a5e=_0x5dc37e[_0x3e923b]*0x101^_0x3e923b*0x1010100;_0x33c3e9[_0x38e2a2]=_0xce4a5e<<0x18|_0xce4a5e>>>0x8,_0x5e39c8[_0x38e2a2]=_0xce4a5e<<0x10|_0xce4a5e>>>0x10,_0x48fe67[_0x38e2a2]=_0xce4a5e<<0x8|_0xce4a5e>>>0x18,_0x296783[_0x38e2a2]=_0xce4a5e;var _0xce4a5e=_0x1465f5*0x1010101^_0x6d514b*0x10001^_0x5934b4*0x101^_0x38e2a2*0x1010100;_0x4ef1c6[_0x3e923b]=_0xce4a5e<<0x18|_0xce4a5e>>>0x8,_0x4e118e[_0x3e923b]=_0xce4a5e<<0x10|_0xce4a5e>>>0x10,_0x2aa6db[_0x3e923b]=_0xce4a5e<<0x8|_0xce4a5e>>>0x18,_0x5e6dec[_0x3e923b]=_0xce4a5e,_0x38e2a2?(_0x38e2a2=_0x5934b4^_0x5dc37e[_0x5dc37e[_0x5dc37e[_0x1465f5^_0x5934b4]]],_0x52c30c^=_0x5dc37e[_0x5dc37e[_0x52c30c]]):_0x38e2a2=_0x52c30c=0x1;}}());var _0x5af948=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x2d3765=_0x5f5aa5['AES']=_0x32c4d9['extend']({'_doReset':function(){var _0x407af2=_0x240c93,_0x2031d2;if(!(this[_0x407af2(0xe9)]&&this['_keyPriorReset']===this[_0x407af2(0x3ca)])){for(var _0x3dcb54=this[_0x407af2(0xf7)]=this[_0x407af2(0x3ca)],_0x11f902=_0x3dcb54[_0x407af2(0x15c)],_0xb2a384=_0x3dcb54['sigBytes']/0x4,_0x34cb46=this[_0x407af2(0xe9)]=_0xb2a384+0x6,_0x97b47e=(_0x34cb46+0x1)*0x4,_0xc35bae=this[_0x407af2(0x16d)]=[],_0xa40e1e=0x0;_0xa40e1e<_0x97b47e;_0xa40e1e++)_0xa40e1e<_0xb2a384?_0xc35bae[_0xa40e1e]=_0x11f902[_0xa40e1e]:(_0x2031d2=_0xc35bae[_0xa40e1e-0x1],_0xa40e1e%_0xb2a384?_0xb2a384>0x6&&_0xa40e1e%_0xb2a384==0x4&&(_0x2031d2=_0x5b0fd6[_0x2031d2>>>0x18]<<0x18|_0x5b0fd6[_0x2031d2>>>0x10&0xff]<<0x10|_0x5b0fd6[_0x2031d2>>>0x8&0xff]<<0x8|_0x5b0fd6[_0x2031d2&0xff]):(_0x2031d2=_0x2031d2<<0x8|_0x2031d2>>>0x18,_0x2031d2=_0x5b0fd6[_0x2031d2>>>0x18]<<0x18|_0x5b0fd6[_0x2031d2>>>0x10&0xff]<<0x10|_0x5b0fd6[_0x2031d2>>>0x8&0xff]<<0x8|_0x5b0fd6[_0x2031d2&0xff],_0x2031d2^=_0x5af948[_0xa40e1e/_0xb2a384|0x0]<<0x18),_0xc35bae[_0xa40e1e]=_0xc35bae[_0xa40e1e-_0xb2a384]^_0x2031d2);for(var _0x37c762=this[_0x407af2(0x130)]=[],_0xcb21a6=0x0;_0xcb21a6<_0x97b47e;_0xcb21a6++){var _0xa40e1e=_0x97b47e-_0xcb21a6;if(_0xcb21a6%0x4)var _0x2031d2=_0xc35bae[_0xa40e1e];else var _0x2031d2=_0xc35bae[_0xa40e1e-0x4];_0xcb21a6<0x4||_0xa40e1e<=0x4?_0x37c762[_0xcb21a6]=_0x2031d2:_0x37c762[_0xcb21a6]=_0x4ef1c6[_0x5b0fd6[_0x2031d2>>>0x18]]^_0x4e118e[_0x5b0fd6[_0x2031d2>>>0x10&0xff]]^_0x2aa6db[_0x5b0fd6[_0x2031d2>>>0x8&0xff]]^_0x5e6dec[_0x5b0fd6[_0x2031d2&0xff]];}}},'encryptBlock':function(_0x1eb51c,_0x2a3910){var _0x2a9efe=_0x240c93;this[_0x2a9efe(0x28f)](_0x1eb51c,_0x2a3910,this[_0x2a9efe(0x16d)],_0x33c3e9,_0x5e39c8,_0x48fe67,_0x296783,_0x5b0fd6);},'decryptBlock':function(_0x4187cf,_0xbc6d8a){var _0x4389d9=_0x240c93,_0x968b46=_0x4187cf[_0xbc6d8a+0x1];_0x4187cf[_0xbc6d8a+0x1]=_0x4187cf[_0xbc6d8a+0x3],_0x4187cf[_0xbc6d8a+0x3]=_0x968b46,this[_0x4389d9(0x28f)](_0x4187cf,_0xbc6d8a,this[_0x4389d9(0x130)],_0x4ef1c6,_0x4e118e,_0x2aa6db,_0x5e6dec,_0x28353c);var _0x968b46=_0x4187cf[_0xbc6d8a+0x1];_0x4187cf[_0xbc6d8a+0x1]=_0x4187cf[_0xbc6d8a+0x3],_0x4187cf[_0xbc6d8a+0x3]=_0x968b46;},'_doCryptBlock':function(_0x3b9c47,_0x28d32e,_0x193353,_0xd5b45b,_0x59b4ca,_0x1109d9,_0x3c1a0a,_0x127bf5){var _0x134fb9=_0x240c93;for(var _0x10af6a=this[_0x134fb9(0xe9)],_0x67b6d8=_0x3b9c47[_0x28d32e]^_0x193353[0x0],_0x48e06c=_0x3b9c47[_0x28d32e+0x1]^_0x193353[0x1],_0x29b811=_0x3b9c47[_0x28d32e+0x2]^_0x193353[0x2],_0x589e09=_0x3b9c47[_0x28d32e+0x3]^_0x193353[0x3],_0x2bcbd9=0x4,_0x190c45=0x1;_0x190c45<_0x10af6a;_0x190c45++){var _0x858c88=_0xd5b45b[_0x67b6d8>>>0x18]^_0x59b4ca[_0x48e06c>>>0x10&0xff]^_0x1109d9[_0x29b811>>>0x8&0xff]^_0x3c1a0a[_0x589e09&0xff]^_0x193353[_0x2bcbd9++],_0xe316ab=_0xd5b45b[_0x48e06c>>>0x18]^_0x59b4ca[_0x29b811>>>0x10&0xff]^_0x1109d9[_0x589e09>>>0x8&0xff]^_0x3c1a0a[_0x67b6d8&0xff]^_0x193353[_0x2bcbd9++],_0x5a664d=_0xd5b45b[_0x29b811>>>0x18]^_0x59b4ca[_0x589e09>>>0x10&0xff]^_0x1109d9[_0x67b6d8>>>0x8&0xff]^_0x3c1a0a[_0x48e06c&0xff]^_0x193353[_0x2bcbd9++],_0xe5c349=_0xd5b45b[_0x589e09>>>0x18]^_0x59b4ca[_0x67b6d8>>>0x10&0xff]^_0x1109d9[_0x48e06c>>>0x8&0xff]^_0x3c1a0a[_0x29b811&0xff]^_0x193353[_0x2bcbd9++];_0x67b6d8=_0x858c88,_0x48e06c=_0xe316ab,_0x29b811=_0x5a664d,_0x589e09=_0xe5c349;}var _0x858c88=(_0x127bf5[_0x67b6d8>>>0x18]<<0x18|_0x127bf5[_0x48e06c>>>0x10&0xff]<<0x10|_0x127bf5[_0x29b811>>>0x8&0xff]<<0x8|_0x127bf5[_0x589e09&0xff])^_0x193353[_0x2bcbd9++],_0xe316ab=(_0x127bf5[_0x48e06c>>>0x18]<<0x18|_0x127bf5[_0x29b811>>>0x10&0xff]<<0x10|_0x127bf5[_0x589e09>>>0x8&0xff]<<0x8|_0x127bf5[_0x67b6d8&0xff])^_0x193353[_0x2bcbd9++],_0x5a664d=(_0x127bf5[_0x29b811>>>0x18]<<0x18|_0x127bf5[_0x589e09>>>0x10&0xff]<<0x10|_0x127bf5[_0x67b6d8>>>0x8&0xff]<<0x8|_0x127bf5[_0x48e06c&0xff])^_0x193353[_0x2bcbd9++],_0xe5c349=(_0x127bf5[_0x589e09>>>0x18]<<0x18|_0x127bf5[_0x67b6d8>>>0x10&0xff]<<0x10|_0x127bf5[_0x48e06c>>>0x8&0xff]<<0x8|_0x127bf5[_0x29b811&0xff])^_0x193353[_0x2bcbd9++];_0x3b9c47[_0x28d32e]=_0x858c88,_0x3b9c47[_0x28d32e+0x1]=_0xe316ab,_0x3b9c47[_0x28d32e+0x2]=_0x5a664d,_0x3b9c47[_0x28d32e+0x3]=_0xe5c349;},'keySize':0x100/0x20});_0x4f20ff[_0x240c93(0x343)]=_0x32c4d9[_0x240c93(0x139)](_0x2d3765);}()),_0x2da651[_0x25fc8c(0x343)];}));}(Ge)),Ge[_0x368dde(0x38c)];}var Un=wn();const An=He(Un);var Pn=Di();const si=He(Pn);var Xe={'exports':{}},xn=Xe[_0x463ce4(0x38c)],oi;function Ln(){var _0x5a35b1=_0x463ce4;return oi||(oi=0x1,function(_0x17a915,_0x1ec77b){(function(_0xac7b0c,_0xa0ed32){var _0x261a4b=_0x1756;_0x17a915[_0x261a4b(0x38c)]=_0xa0ed32(ie());}(xn,function(_0x8a5960){var _0x4461f1=_0x1756;return _0x8a5960['enc'][_0x4461f1(0x335)];}));}(Xe)),Xe[_0x5a35b1(0x38c)];}var Mn=Ln();const kn=He(Mn);var Ze={'exports':{}},$n=Ze['exports'],ai;function Hn(){var _0x3129de=_0x463ce4;return ai||(ai=0x1,function(_0x5a091c,_0x4037d6){(function(_0x2e628a,_0x48ac2b){var _0x5c80f8=_0x1756;_0x5a091c[_0x5c80f8(0x38c)]=_0x48ac2b(ie());}($n,function(_0x1460e6){var _0x4cf9e9=_0x1756;return(function(){var _0x2d4bc1=_0x1756;if(typeof ArrayBuffer==_0x2d4bc1(0x2d0)){var _0x4991d9=_0x1460e6,_0x4100bf=_0x4991d9[_0x2d4bc1(0x30a)],_0x13e77c=_0x4100bf['WordArray'],_0x128f5b=_0x13e77c[_0x2d4bc1(0x1ce)],_0x32fae3=_0x13e77c[_0x2d4bc1(0x1ce)]=function(_0x43fc70){var _0x560bda=_0x2d4bc1;if(_0x43fc70 instanceof ArrayBuffer&&(_0x43fc70=new Uint8Array(_0x43fc70)),(_0x43fc70 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x43fc70 instanceof Uint8ClampedArray||_0x43fc70 instanceof Int16Array||_0x43fc70 instanceof Uint16Array||_0x43fc70 instanceof Int32Array||_0x43fc70 instanceof Uint32Array||_0x43fc70 instanceof Float32Array||_0x43fc70 instanceof Float64Array)&&(_0x43fc70=new Uint8Array(_0x43fc70[_0x560bda(0x2d4)],_0x43fc70[_0x560bda(0x28e)],_0x43fc70[_0x560bda(0x2e4)])),_0x43fc70 instanceof Uint8Array){for(var _0x3cc5a5=_0x43fc70[_0x560bda(0x2e4)],_0x2a5475=[],_0x16f5bc=0x0;_0x16f5bc<_0x3cc5a5;_0x16f5bc++)_0x2a5475[_0x16f5bc>>>0x2]|=_0x43fc70[_0x16f5bc]<<0x18-_0x16f5bc%0x4*0x8;_0x128f5b[_0x560bda(0x167)](this,_0x2a5475,_0x3cc5a5);}else _0x128f5b[_0x560bda(0x127)](this,arguments);};_0x32fae3[_0x2d4bc1(0x2ee)]=_0x13e77c;}}()),_0x1460e6['lib'][_0x4cf9e9(0x266)];}));}(Ze)),Ze[_0x3129de(0x38c)];}var Bn=Hn();const jn=He(Bn);var Qe={'exports':{}},Fn=Qe['exports'],ci;function Gn(){var _0x49fbd4=_0x463ce4;return ci||(ci=0x1,function(_0x35ad36,_0x139469){(function(_0xa8b894,_0x1f7b8b,_0x1b94bd){_0x35ad36['exports']=_0x1f7b8b(ie(),Ui());}(Fn,function(_0x385e8e){var _0x3979c0=_0x1756;return _0x385e8e['pad'][_0x3979c0(0x1cc)]={'pad':function(){},'unpad':function(){}},_0x385e8e['pad'][_0x3979c0(0x1cc)];}));}(Qe)),Qe[_0x49fbd4(0x38c)];}var Vn=Gn();const Wn=He(Vn);function Kn(_0x487cde,_0x340793){var _0xd5ff6f=_0x463ce4;const _0x1a2356=_0x340793-_0x487cde[_0xd5ff6f(0x3b5)]%_0x340793,_0x29ac80=String['fromCharCode'](_0x1a2356)[_0xd5ff6f(0x33a)](_0x1a2356);return _0x487cde+_0x29ac80;}function Yn(_0x4f41f5,_0x3102dd){var _0x58ba31=_0x463ce4;const _0x977118=jn[_0x58ba31(0x3af)](0x10),_0x5ee99b=Kn(_0x4f41f5,0x10),_0x6b5356=An[_0x58ba31(0x2d8)](kn[_0x58ba31(0x222)](_0x5ee99b),si[_0x58ba31(0x222)](_0x3102dd),{'iv':_0x977118,'padding':Wn});return _0x977118[_0x58ba31(0x3a6)](_0x6b5356[_0x58ba31(0x165)])[_0x58ba31(0x363)](si);}function qn(){var _0x33ae71=_0x463ce4;const _0x3f737e=_0x126570()[_0x33ae71(0x2dd)];if(_0x3f737e){const _0x4195e3={'time':Math[_0x33ae71(0x2f9)](Date[_0x33ae71(0x2aa)]()/0x3e8),'domain':location[_0x33ae71(0x3de)]};return Yn(JSON[_0x33ae71(0x3b9)](_0x4195e3),_0x3f737e);}}var zn=Object[_0x463ce4(0x14b)],Jn=(_0x59f37e,_0x99aa8d,_0x395e15,_0x258af7)=>{var _0xcc6da7=_0x463ce4;for(var _0x2abf77=_0x258af7>0x1?void 0x0:_0x258af7?zn(_0x99aa8d,_0x395e15):_0x99aa8d,_0x8e1560=_0x59f37e[_0xcc6da7(0x3b5)]-0x1,_0x44c140;_0x8e1560>=0x0;_0x8e1560--)(_0x44c140=_0x59f37e[_0x8e1560])&&(_0x2abf77=_0x44c140(_0x2abf77)||_0x2abf77);return _0x2abf77;},Xn=(_0x2a0035,_0x138dab)=>(_0x427ad1,_0x22dee6)=>_0x138dab(_0x427ad1,_0x22dee6,_0x2a0035);let ot=class{constructor(_0x2d06c9){var _0x372fa5=_0x463ce4;this['_httpService']=_0x2d06c9,this[_0x372fa5(0x212)]();}[_0x463ce4(0x212)](){var _0x2190be=_0x463ce4;this[_0x2190be(0x276)][_0x2190be(0x241)]({'interceptor':(_0x172ab3,_0x2e7fa0)=>{var _0x4807ee=_0x2190be;const _0x1b6a2e=_0x172ab3[_0x4807ee(0x3c5)],_0x510cee=qn();return _0x510cee&&_0x1b6a2e[_0x4807ee(0x3b3)](_0x4807ee(0x2a1),_0x510cee),_0x2e7fa0(_0x172ab3);}});}};ot=Jn([Xn(0x0,_0xbf6e5a(_0x3f95f0))],ot);var Zn=Object[_0x463ce4(0x14b)],Qn=(_0x48ddf0,_0x346d04,_0x2dad8f,_0x29d03b)=>{var _0x856663=_0x463ce4;for(var _0x3dd350=_0x29d03b>0x1?void 0x0:_0x29d03b?Zn(_0x346d04,_0x2dad8f):_0x346d04,_0x57b669=_0x48ddf0[_0x856663(0x3b5)]-0x1,_0x23d844;_0x57b669>=0x0;_0x57b669--)(_0x23d844=_0x48ddf0[_0x57b669])&&(_0x3dd350=_0x23d844(_0x3dd350)||_0x3dd350);return _0x3dd350;},mt=(_0x42aa2b,_0x35706d)=>(_0x5ca81e,_0x464f12)=>_0x35706d(_0x5ca81e,_0x464f12,_0x42aa2b);let bt=class extends _0x1a26b4{constructor(_0x1ee0fb,_0x34e627,_0x2fd3af){var _0x15dc5e=_0x463ce4;super(),N(this,_0x15dc5e(0x203),new _0x53c6de(null)),N(this,_0x15dc5e(0xf0),this['_unitInfo$'][_0x15dc5e(0x395)]()),(this[_0x15dc5e(0x3a8)]=_0x1ee0fb,this[_0x15dc5e(0x27d)]=_0x34e627,this['_localCacheService']=_0x2fd3af);}async[_0x463ce4(0x186)](_0x15c8f1,_0x3bd3d4,_0x57ed7e){var _0x4436aa=_0x463ce4;this['_unitInfo$']['next']({'unitId':_0x15c8f1,'type':_0x3bd3d4,'subUnitId':_0x57ed7e});let _0x3b1ec8=null;switch(_0x3bd3d4){case Q[_0x4436aa(0x283)]:{_0x3b1ec8=await this[_0x4436aa(0x273)](_0x15c8f1);break;}case Q[_0x4436aa(0x294)]:{_0x3b1ec8=await this['_loadDoc'](_0x15c8f1);break;}default:{this[_0x4436aa(0x3a8)][_0x4436aa(0x305)](_0x4436aa(0x2be),'Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');break;}}return _0x3b1ec8;}async[_0x463ce4(0x273)](_0xa09da9){var _0x562cde=_0x463ce4,_0x10e7e4;let _0x30e217=0x0;const _0x257506=await((_0x10e7e4=this[_0x562cde(0x3a4)])==null?void 0x0:_0x10e7e4[_0x562cde(0x20a)](_0xa09da9));return _0x257506&&(_0x257506['awaitingChangeset']||_0x257506[_0x562cde(0x2b4)][_0x562cde(0x3b5)]!==0x0)&&(_0x30e217=_0x257506[_0x562cde(0x36a)]),_0x30e217===0x0&&this['_logService'][_0x562cde(0x228)](_0x562cde(0x2be),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x562cde(0x27d)][_0x562cde(0x1c2)](_0xa09da9,_0x30e217);}async[_0x463ce4(0x26f)](_0x148345){var _0x59051b=_0x463ce4,_0x176396;let _0x1aa81b=0x0;const _0x29038f=await((_0x176396=this[_0x59051b(0x3a4)])==null?void 0x0:_0x176396[_0x59051b(0x20a)](_0x148345));return _0x29038f&&(_0x29038f[_0x59051b(0x172)]||_0x29038f['mutations'][_0x59051b(0x3b5)]!==0x0)&&(_0x1aa81b=_0x29038f[_0x59051b(0x36a)]),_0x1aa81b===0x0&&this[_0x59051b(0x3a8)][_0x59051b(0x228)](_0x59051b(0x2be),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x59051b(0x27d)][_0x59051b(0x10b)](_0x148345,_0x1aa81b);}};bt=Qn([mt(0x0,_0x20d0b2),mt(0x1,_0xbf6e5a(_0x1baaa)),mt(0x2,_0x435100(J))],bt);var es=Object['getOwnPropertyDescriptor'],ts=(_0x81951b,_0x440267,_0x1a4400,_0x5007e8)=>{var _0x3637d4=_0x463ce4;for(var _0x1c4338=_0x5007e8>0x1?void 0x0:_0x5007e8?es(_0x440267,_0x1a4400):_0x440267,_0x3ddbe9=_0x81951b[_0x3637d4(0x3b5)]-0x1,_0x3dd731;_0x3ddbe9>=0x0;_0x3ddbe9--)(_0x3dd731=_0x81951b[_0x3ddbe9])&&(_0x1c4338=_0x3dd731(_0x1c4338)||_0x1c4338);return _0x1c4338;},gt=(_0x2d93f5,_0x4dedf6)=>(_0x444f2c,_0x327706)=>_0x4dedf6(_0x444f2c,_0x327706,_0x2d93f5);const is=[_0x463ce4(0x1c6),_0x463ce4(0x10c),'image/jpg',_0x463ce4(0x1b7),_0x463ce4(0x389)],rs=0x5*0x400*0x400,ns=_0x463ce4(0x359),ss='/universer-api/stream/file/upload',os=_0x463ce4(0x1ea),as=_0x463ce4(0x3ba);let yt=class{constructor(_0x1a8bde,_0x1516c5,_0x4bcdba){var _0x5661cd=_0x463ce4;N(this,'_waitCount',0x0),N(this,'_change$',new _0x3463e2()),N(this,'change$',this[_0x5661cd(0x35e)]),N(this,_0x5661cd(0x195),new Map()),(this['_httpService']=_0x1a8bde,this[_0x5661cd(0x2e1)]=_0x1516c5,this['_univerInstanceService']=_0x4bcdba);}[_0x463ce4(0x322)](_0x3dc807){var _0x16f673=_0x463ce4;this[_0x16f673(0x3eb)]=_0x3dc807,this['_change$'][_0x16f673(0x2ad)](_0x3dc807);}[_0x463ce4(0x160)](_0x22c865,_0x827b5a){var _0x58baa6=_0x463ce4;if(_0x827b5a===_0x5887a9[_0x58baa6(0x380)]){const _0x3d70be=new Image();return _0x3d70be[_0x58baa6(0x32c)]=_0x22c865,_0x3d70be;}return this['_imageSourceCache'][_0x58baa6(0x197)](_0x22c865);}[_0x463ce4(0x39d)](_0x49f24e,_0x3cb9c3,_0x2a2a29){var _0x499359=_0x463ce4;_0x3cb9c3===_0x5887a9['BASE64']||_0x2a2a29==null||this[_0x499359(0x195)]['set'](_0x49f24e,_0x2a2a29);}async[_0x463ce4(0x3b0)](_0x3f3ab3){var _0x1b5530=_0x463ce4;try{const _0x2b74bd=this[_0x1b5530(0x21b)](this['_getSignURL'](),''+_0x3f3ab3),_0x3ffd6f=(await this['_httpService'][_0x1b5530(0x197)](_0x2b74bd))[_0x1b5530(0x32f)];if(_0x3ffd6f[_0x1b5530(0x305)]&&_0x3ffd6f[_0x1b5530(0x305)]['code']===Si['OK']){const _0x7e3d02=new URL(_0x3ffd6f['url'],this['_getDownloadEndpointURL']())[_0x1b5530(0x363)]();return Promise[_0x1b5530(0x2f8)](_0x7e3d02);}return Promise[_0x1b5530(0x3ce)](_0x3ffd6f['error']);}catch(_0x8d8cc7){return Promise[_0x1b5530(0x3ce)](_0x8d8cc7);}}async[_0x463ce4(0x284)](_0x5bd700){var _0x5eb5bb=_0x463ce4;let _0x2f84a7='';if(!is[_0x5eb5bb(0x176)](_0x5bd700['type']))return this[_0x5eb5bb(0x2c6)](),Promise[_0x5eb5bb(0x3ce)](new Error(_0x1778d9[_0x5eb5bb(0x1fe)]));if(_0x5bd700[_0x5eb5bb(0x3a1)]>rs)return this[_0x5eb5bb(0x2c6)](),Promise[_0x5eb5bb(0x3ce)](new Error(_0x1778d9['ERROR_EXCEED_SIZE']));try{const _0xd11dc6=new FormData();_0xd11dc6[_0x5eb5bb(0x123)]('file',_0x5bd700);const _0x5f2507=this[_0x5eb5bb(0x198)][_0x5eb5bb(0x3cf)](),_0x1cb9d5=_0x5f2507==null?void 0x0:_0x5f2507['getUnitId']();if(!_0x1cb9d5)throw new Error(_0x5eb5bb(0x188));const _0x4e27d1=this['_getUploadFileURL']()+'?size='+_0x5bd700[_0x5eb5bb(0x3a1)][_0x5eb5bb(0x363)]()+_0x5eb5bb(0x15a)+Ei[_0x5eb5bb(0x29c)]+_0x5eb5bb(0x1ae)+encodeURIComponent(_0x1cb9d5),_0x23f10b=await(await fetch(_0x4e27d1,{'method':'POST','body':_0xd11dc6}))[_0x5eb5bb(0x2c8)]();if(typeof _0x23f10b['FileId']!='string')return this[_0x5eb5bb(0x2c6)](),Promise[_0x5eb5bb(0x3ce)](new Error(_0x1778d9['ERROR_IMAGE']));_0x2f84a7=_0x23f10b[_0x5eb5bb(0x1be)];}catch{return this[_0x5eb5bb(0x2c6)](),Promise[_0x5eb5bb(0x3ce)](new Error(_0x1778d9[_0x5eb5bb(0x18b)]));}return new Promise((_0x2eed89,_0xe85a9f)=>{var _0x2c4440=_0x5eb5bb;const _0x4aacd8=new FileReader();_0x4aacd8[_0x2c4440(0x28d)](_0x5bd700),_0x4aacd8['onload']=_0x5b4d40=>{var _0xe4e065=_0x2c4440,_0x37395a;const _0x4b9fb7=(_0x37395a=_0x5b4d40[_0xe4e065(0x106)])==null?void 0x0:_0x37395a[_0xe4e065(0x2ae)];if(_0x4b9fb7==null){this[_0xe4e065(0x2c6)](),_0xe85a9f(new Error(_0x1778d9['ERROR_IMAGE']));return;}const _0x3bfada=_0x3f81a9[_0xe4e065(0x321)](0x6);_0x2eed89({'imageId':_0x3bfada,'imageSourceType':_0x5887a9[_0xe4e065(0x14d)],'source':_0x2f84a7,'base64Cache':_0x4b9fb7,'status':_0x1778d9[_0xe4e065(0x10a)]}),this[_0xe4e065(0x2c6)]();};});}[_0x463ce4(0x117)](){var _0x50b5e5=_0x463ce4,_0x54f684,_0x3bb8f7;const _0x54cddc=this[_0x50b5e5(0x2e1)][_0x50b5e5(0x37f)](ns),_0x4d21dc=this[_0x50b5e5(0x2e1)][_0x50b5e5(0x37f)](q);return(_0x3bb8f7=(_0x54f684=_0x4d21dc==null?void 0x0:_0x4d21dc[_0x50b5e5(0x113)])!=null?_0x54f684:_0x54cddc)!=null?_0x3bb8f7:ss;}[_0x463ce4(0x133)](){var _0x132d89=_0x463ce4,_0xcb375c,_0x108e31;const _0x2d508e=this['_configService'][_0x132d89(0x37f)](os),_0x1e6348=this[_0x132d89(0x2e1)][_0x132d89(0x37f)](q);return(_0x108e31=(_0xcb375c=_0x1e6348==null?void 0x0:_0x1e6348[_0x132d89(0x385)])!=null?_0xcb375c:_0x2d508e)!=null?_0x108e31:as;}[_0x463ce4(0x22b)](){var _0x99c73f=_0x463ce4,_0x1f28a6;const _0x22b2bd=this['_configService'][_0x99c73f(0x37f)](q);return(_0x1f28a6=_0x22b2bd==null?void 0x0:_0x22b2bd[_0x99c73f(0x258)])!=null?_0x1f28a6:location[_0x99c73f(0x36b)];}[_0x463ce4(0x21b)](_0x321400,_0x367504){var _0x4d982e=_0x463ce4;return _0x321400[_0x4d982e(0x219)](_0x4d982e(0x2ac),_0x367504);}[_0x463ce4(0x2c6)](){var _0x2de1b9=_0x463ce4;this['_waitCount']-=0x1,this['_change$']['next'](this[_0x2de1b9(0x3eb)]);}};yt=ts([gt(0x0,_0xbf6e5a(_0x3f95f0)),gt(0x1,_0x1c50bb),gt(0x2,_0xbf6e5a(_0x90b9a3))],yt);var cs=Object[_0x463ce4(0x14b)],hs=(_0x412ce7,_0x542156,_0x2044ad,_0x2d36f0)=>{var _0x1e497d=_0x463ce4;for(var _0xe3ee89=_0x2d36f0>0x1?void 0x0:_0x2d36f0?cs(_0x542156,_0x2044ad):_0x542156,_0x3ea491=_0x412ce7[_0x1e497d(0x3b5)]-0x1,_0xf55368;_0x3ea491>=0x0;_0x3ea491--)(_0xf55368=_0x412ce7[_0x3ea491])&&(_0xe3ee89=_0xf55368(_0xe3ee89)||_0xe3ee89);return _0xe3ee89;},hi=(_0x185c16,_0x111067)=>(_0xea9b28,_0x4a8db1)=>_0x111067(_0xea9b28,_0x4a8db1,_0x185c16);const _s=_0x463ce4(0x116);let Ot=class{constructor(_0x78b472,_0x1ebb85){var _0x4eced6=_0x463ce4;this[_0x4eced6(0x2e1)]=_0x78b472,this[_0x4eced6(0x28c)]=_0x1ebb85;}[_0x463ce4(0x27a)](){var _0x3b644e=_0x463ce4,_0x1b26ab,_0x4956b4;const _0x3e379a=this[_0x3b644e(0x2e1)]['getConfig'](Ni),_0x367ad6=this[_0x3b644e(0x2e1)]['getConfig'](q);return(_0x4956b4=(_0x1b26ab=_0x367ad6==null?void 0x0:_0x367ad6[_0x3b644e(0x25e)])!=null?_0x1b26ab:_0x3e379a)!=null?_0x4956b4:_s;}async[_0x463ce4(0x22c)](_0x21af84){var _0x2faaca=_0x463ce4;const _0xa19119=this[_0x2faaca(0x27a)]()+_0x2faaca(0x2c2);return{'list':[{'title':_0x2faaca(0x282),'mentions':(await this[_0x2faaca(0x28c)][_0x2faaca(0x197)](_0xa19119,{'params':{'objectID':_0x21af84[_0x2faaca(0x1f7)],'unitID':_0x21af84[_0x2faaca(0x1f7)]}}))[_0x2faaca(0x32f)][_0x2faaca(0x39c)][_0x2faaca(0x1d7)](_0x3783f7=>({'objectId':_0x3783f7['id'],'name':_0x3783f7[_0x2faaca(0x19d)][_0x2faaca(0x377)],'metadata':{'icon':_0x3783f7[_0x2faaca(0x19d)][_0x2faaca(0x1ab)]},'label':_0x3783f7['subject'][_0x2faaca(0x377)],'objectType':_0x5c0805[_0x2faaca(0x3db)]})),'metadata':{},'type':_0x5c0805[_0x2faaca(0x3db)]}]};}};Ot=hs([hi(0x0,_0xbf6e5a(_0x1c50bb)),hi(0x1,_0xbf6e5a(_0x3f95f0))],Ot);var ls=Object[_0x463ce4(0x14b)],us=(_0x152fb7,_0x2557ee,_0x9b32d3,_0x6af301)=>{var _0x2dca54=_0x463ce4;for(var _0x42f08d=_0x6af301>0x1?void 0x0:_0x6af301?ls(_0x2557ee,_0x9b32d3):_0x2557ee,_0x8c00c1=_0x152fb7[_0x2dca54(0x3b5)]-0x1,_0x182c8d;_0x8c00c1>=0x0;_0x8c00c1--)(_0x182c8d=_0x152fb7[_0x8c00c1])&&(_0x42f08d=_0x182c8d(_0x42f08d)||_0x42f08d);return _0x42f08d;},Ae=(_0x4933cf,_0xcab39b)=>(_0x21dce3,_0xbd0764)=>_0xcab39b(_0x21dce3,_0xbd0764,_0x4933cf);let at=class extends _0x1a26b4{constructor(_0x4a3a63,_0x33a98f,_0x323f85,_0x31aa3f,_0x44c4b9){var _0x1131a5=_0x463ce4;super(),this[_0x1131a5(0x3d3)]=_0x4a3a63,this[_0x1131a5(0x198)]=_0x33a98f,this[_0x1131a5(0x1e4)]=_0x323f85,this[_0x1131a5(0x38e)]=_0x31aa3f,this[_0x1131a5(0xf3)]=_0x44c4b9,this[_0x1131a5(0x122)](),this['_initCloseConn']();}['_initCloseConn'](){var _0x5129d9=_0x463ce4;const _0x31ca6c=async _0xac8621=>{var _0x153a5f=_0x1756;(await this['_collaborationSessionService'][_0x153a5f(0x1c0)](_0xac8621))[_0x153a5f(0x1bb)][_0x153a5f(0x34f)](_0x17ac6b(_0x4690cf=>_0x4690cf[_0x153a5f(0x3cc)]===_0x5573d2[_0x153a5f(0x279)]),_0x10515a(this[_0x153a5f(0x124)]))[_0x153a5f(0x18c)](_0x503fe9=>{var _0x1b4ea7=_0x153a5f;const _0x455d98=_0x503fe9,{reason:_0x327e62}=_0x455d98[_0x1b4ea7(0x2dc)];this[_0x1b4ea7(0xf3)]['emitEvent']({'id':se[_0x1b4ea7(0x3cb)],'data':_0x327e62}),this['_permissionService']['updatePermissionPoint'](new _0x4b8baf(_0xac8621)['id'],!0x1),this['_collaborationSessionService'][_0x1b4ea7(0x227)](_0xac8621);});};_0x35d413(this[_0x5129d9(0x198)][_0x5129d9(0x1b0)](_0x58c404['UNIVER_SHEET']),this['_univerInstanceService'][_0x5129d9(0x1b0)](_0x58c404[_0x5129d9(0x294)]))['pipe'](_0x3b11d5(_0x3e924f=>_0x3e924f[_0x5129d9(0x3e2)]()),_0x17ac6b(_0x48ddaa=>!_0x3be9ca(_0x48ddaa)),_0x10515a(this[_0x5129d9(0x124)]))[_0x5129d9(0x18c)](_0x25a85b=>{_0x31ca6c(_0x25a85b);});}[_0x463ce4(0x122)](){var _0x1292e6=_0x463ce4;const _0x508bfb=async _0x30180c=>{var _0x5270f6=_0x1756;const _0x308a90=await this[_0x5270f6(0x38e)][_0x5270f6(0x1c0)](_0x30180c),_0xda6901=this[_0x5270f6(0x3d3)]['get'](_0x2c2bdd);_0x308a90[_0x5270f6(0x1bb)][_0x5270f6(0x34f)](_0x17ac6b(_0x26d35d=>_0x26d35d[_0x5270f6(0x3cc)]===_0x5573d2[_0x5270f6(0x381)]),_0x10515a(this['dispose$']))[_0x5270f6(0x18c)](_0x4ef0b0=>{var _0xf492eb=_0x5270f6;const _0x5088f1=_0x4ef0b0,{objectId:_0x2a7795}=_0x5088f1['data'];_0x2a7795===_0x30180c?_0xda6901[_0xf492eb(0x14e)](_0x30180c):_0xda6901['refreshPermission'](_0x30180c,_0x2a7795);});};_0x35d413(this['_univerInstanceService'][_0x1292e6(0x1b0)](_0x58c404['UNIVER_SHEET']))[_0x1292e6(0x34f)](_0x3b11d5(_0x30921e=>_0x30921e['getUnitId']()),_0x17ac6b(_0x287cec=>!_0x3be9ca(_0x287cec)),_0x10515a(this[_0x1292e6(0x124)]))[_0x1292e6(0x18c)](_0x19ff55=>{_0x508bfb(_0x19ff55);});}};at=us([Ae(0x0,_0xbf6e5a(_0x188281)),Ae(0x1,_0x90b9a3),Ae(0x2,_0x2763a3),Ae(0x3,_0xbf6e5a(Le)),Ae(0x4,_0xbf6e5a(pe))],at);var ds=Object[_0x463ce4(0x14b)],fs=(_0x1c0c52,_0x101f77,_0x307bfe,_0x56d4b8)=>{var _0x46ea33=_0x463ce4;for(var _0x16c668=_0x56d4b8>0x1?void 0x0:_0x56d4b8?ds(_0x101f77,_0x307bfe):_0x101f77,_0x42a425=_0x1c0c52[_0x46ea33(0x3b5)]-0x1,_0x4eea0a;_0x42a425>=0x0;_0x42a425--)(_0x4eea0a=_0x1c0c52[_0x42a425])&&(_0x16c668=_0x4eea0a(_0x16c668)||_0x16c668);return _0x16c668;},_i=(_0xded1da,_0x1fe4bd)=>(_0xca98d5,_0x56e75b)=>_0x1fe4bd(_0xca98d5,_0x56e75b,_0xded1da);let Nt=class{constructor(_0x3a0e23,_0x49115c){var _0x4585be=_0x463ce4;this[_0x4585be(0x2e1)]=_0x3a0e23,this[_0x4585be(0x276)]=_0x49115c;}async[_0x463ce4(0x25b)](_0x25a1f7,_0x32cc65){var _0x37288f=_0x463ce4,_0x53a3a1;const {unitID:_0x1cabb4,type:_0x47414d,revision:_0x2abe8f=0x0}=_0x32cc65,_0x29e912=this[_0x37288f(0x168)]()+'/'+_0x47414d+_0x37288f(0x201)+_0x1cabb4+_0x37288f(0x1a1)+_0x2abe8f,_0x4313b8=(await this[_0x37288f(0x276)][_0x37288f(0x197)](_0x29e912))[_0x37288f(0x32f)],_0x3c48ad=(_0x53a3a1=_0x4313b8[_0x37288f(0x163)])==null?void 0x0:_0x53a3a1[_0x37288f(0x1da)];if(_0x3c48ad){const _0xe34d83=_0x3c48ad==null?void 0x0:_0x3c48ad[_0x37288f(0x386)],_0xcdf05e=_0x3ae9ad[_0x37288f(0x2ba)](_0x1d768f(_0xe34d83));_0x3c48ad['originalMeta']=_0xcdf05e,Object['entries'](_0x3c48ad['sheets'])[_0x37288f(0x29f)](([,_0x1701e3])=>{var _0x52a6a8=_0x37288f;const _0x4acada=_0x1701e3[_0x52a6a8(0x386)],_0x22271c=_0x3ae9ad[_0x52a6a8(0x2ba)](_0x1d768f(_0x4acada));_0x1701e3['originalMeta']=_0x22271c;});}return _0x4313b8;}async[_0x463ce4(0x3c2)](_0x424f22,_0x27a70e){var _0x301849=_0x463ce4;const {unitID:_0x4bad2d,type:_0x509213,blockID:_0x4077c2}=_0x27a70e,_0x7ac066=this[_0x301849(0x37b)]()+'/'+_0x509213+_0x301849(0x201)+_0x4bad2d+_0x301849(0x29a)+_0x4077c2;return(await this['_httpService'][_0x301849(0x197)](_0x7ac066))[_0x301849(0x32f)];}async[_0x463ce4(0x286)](_0xebb6f7,_0x45a73c){var _0xa926ea=_0x463ce4;const {unitID:_0x546b36,type:_0xf679a1,blockID:_0x5e6fbe}=_0x45a73c,_0x42670d=this[_0xa926ea(0x37b)]()+_0xa926ea(0x29a)+_0xf679a1+_0xa926ea(0x201)+_0x546b36+'/block/'+_0x5e6fbe;return(await this[_0xa926ea(0x276)]['get'](_0x42670d))[_0xa926ea(0x32f)];}async['fetchMissingChangesets'](_0x4c5b24,_0x2b52ef){var _0x52764a=_0x463ce4;const {unitID:_0xf2c6eb,type:_0x139200,from:_0x3039d5,to:_0x171b75}=_0x2b52ef,_0x2dd207=this['_getAPIPrefix']()+'/'+_0x139200+_0x52764a(0x201)+_0xf2c6eb+_0x52764a(0x2a3)+_0x3039d5+_0x52764a(0x22d)+_0x171b75;return(await this['_httpService'][_0x52764a(0x197)](_0x2dd207))['body'];}[_0x463ce4(0x168)](){var _0x4cb710=_0x463ce4,_0x3f5691;return(_0x3f5691=this[_0x4cb710(0x2e1)][_0x4cb710(0x37f)](gr))!=null?_0x3f5691:this[_0x4cb710(0x37b)]();}[_0x463ce4(0x37b)](){var _0x14e60d=_0x463ce4,_0x151ccc,_0x4d5380;const _0x492f79=this[_0x14e60d(0x2e1)]['getConfig'](pr),_0x303727=this[_0x14e60d(0x2e1)]['getConfig'](q);return(_0x4d5380=(_0x151ccc=_0x303727==null?void 0x0:_0x303727[_0x14e60d(0x2f2)])!=null?_0x151ccc:_0x492f79)!=null?_0x4d5380:mr;}async[_0x463ce4(0x2f6)](_0x3121bb,_0x3ec7e1){var _0x61b793=_0x463ce4;const _0x59e508=_0x61b793(0x2f0)+_0x3ec7e1[_0x61b793(0x220)]+_0x61b793(0x201)+_0x3ec7e1['unitID']+_0x61b793(0xeb);return(await this['_httpService']['get'](_0x59e508,{'params':{'resourceId':JSON['stringify'](_0x3ec7e1[_0x61b793(0x2d1)])}}))[_0x61b793(0x32f)];}[_0x463ce4(0x35b)](){var _0x5d0b12=_0x463ce4;throw new Error(_0x5d0b12(0x30b));}[_0x463ce4(0x33e)](){var _0x36a098=_0x463ce4;throw new Error(_0x36a098(0x30b));}['saveChangeset'](){var _0x1aa748=_0x463ce4;throw new Error(_0x1aa748(0x30b));}[_0x463ce4(0x397)](){var _0x33ed0e=_0x463ce4;throw new Error(_0x33ed0e(0x30b));}[_0x463ce4(0x17d)](){var _0x11226e=_0x463ce4;throw new Error(_0x11226e(0x30b));}};Nt=fs([_i(0x0,_0x1c50bb),_i(0x1,_0xbf6e5a(_0x3f95f0))],Nt);var vs=Object[_0x463ce4(0x14b)],ps=(_0x4d5a85,_0x25e2af,_0x5c37e6,_0x41f330)=>{var _0x2e02bb=_0x463ce4;for(var _0xa96825=_0x41f330>0x1?void 0x0:_0x41f330?vs(_0x25e2af,_0x5c37e6):_0x25e2af,_0x4d101b=_0x4d5a85[_0x2e02bb(0x3b5)]-0x1,_0x27ef32;_0x4d101b>=0x0;_0x4d101b--)(_0x27ef32=_0x4d5a85[_0x4d101b])&&(_0xa96825=_0x27ef32(_0xa96825)||_0xa96825);return _0xa96825;},Pe=(_0xd2eda7,_0x1ce364)=>(_0x1951c3,_0x2f0fd2)=>_0x1ce364(_0x1951c3,_0x2f0fd2,_0xd2eda7);let Dt=class extends _0x4a8b1f{constructor(_0x77833,_0xf0b1f2,_0x45e319,_0x1674ce,_0x3138e7){var _0x161b56=_0x463ce4;super(_0x77833,_0xf0b1f2,_0x45e319),this[_0x161b56(0x2e9)]=_0x1674ce,this[_0x161b56(0x3a8)]=_0x3138e7;}[_0x463ce4(0x16f)](_0x5ee8a8,_0x2a63c1){var _0x304a5e=_0x463ce4;const _0x3f0dde=this['_getUndoStack'](_0x5ee8a8);if(_0x3f0dde)try{const _0x5996ed=this['_transformStack'](_0x3f0dde,_0x2a63c1);this['_substituteUndoStack'](_0x5ee8a8,_0x5996ed);}catch(_0x3f7b5e){this[_0x304a5e(0x3a8)][_0x304a5e(0x305)]('[CollaborationUndoRedoService]',_0x3f7b5e),this['_clearUndo'](_0x5ee8a8);}const _0x5d1f45=this[_0x304a5e(0x182)](_0x5ee8a8);if(_0x5d1f45)try{const _0x237567=this[_0x304a5e(0x259)](_0x5d1f45,_0x2a63c1);this['_substituteRedoStack'](_0x5ee8a8,_0x237567);}catch(_0x1864d2){this[_0x304a5e(0x3a8)][_0x304a5e(0x305)](_0x1864d2),this[_0x304a5e(0x2f3)](_0x5ee8a8);}}[_0x463ce4(0x2f7)](_0x9313c0){var _0x1ef0ab=_0x463ce4;const _0x243d2f=this['_getUndoStack'](_0x9313c0);_0x243d2f&&(_0x243d2f['length']=0x0,this[_0x1ef0ab(0x37a)]());}[_0x463ce4(0x2f3)](_0x1ef42e){var _0x1466cf=_0x463ce4;const _0x288969=this[_0x1466cf(0x182)](_0x1ef42e);_0x288969&&(_0x288969[_0x1466cf(0x3b5)]=0x0,this[_0x1466cf(0x37a)]());}[_0x463ce4(0x100)](_0x4b9cd3,_0x1cca29){var _0x4ca5ee=_0x463ce4;this[_0x4ca5ee(0x3dd)][_0x4ca5ee(0x3b3)](_0x4b9cd3,_0x1cca29),this[_0x4ca5ee(0x37a)]();}[_0x463ce4(0x384)](_0x17b552,_0x308d52){var _0x9b312b=_0x463ce4;this[_0x9b312b(0x354)][_0x9b312b(0x3b3)](_0x17b552,_0x308d52),this[_0x9b312b(0x37a)]();}[_0x463ce4(0x259)](_0x154b28,_0x5083ec){var _0x4657e3=_0x463ce4;const _0x4d9130=[];let _0x5b97a3=_0x5083ec,_0x186023=_0x5083ec;for(let _0x3c12cd=_0x154b28['length']-0x1;_0x3c12cd>=0x0;_0x3c12cd--){const {unitID:_0x154959,undoMutations:_0x212aa1,redoMutations:_0x56ae08}=_0x154b28[_0x3c12cd],_0x4c4194=this[_0x4657e3(0x2e9)]['transformMutationsWithChangeset'](_0x5b97a3,_0x212aa1),_0x16ad02=this[_0x4657e3(0x2e9)][_0x4657e3(0x308)](_0x186023,_0x56ae08);if(_0xd29b06(_0x4c4194)||_0xd29b06(_0x16ad02)){this[_0x4657e3(0x3a8)]['error']('[CollaborationUndoRedoService]',_0x4657e3(0x204),_0x4c4194,_0x16ad02);break;}_0x5b97a3=_0x4c4194[_0x4657e3(0x289)],_0x186023=_0x16ad02[_0x4657e3(0x289)],_0x4d9130[_0x4657e3(0x387)]({'unitID':_0x154959,'undoMutations':_0x4c4194[_0x4657e3(0xfe)],'redoMutations':_0x16ad02[_0x4657e3(0xfe)]});}return _0x4d9130[_0x4657e3(0x312)]();}};Dt=ps([Pe(0x0,_0x90b9a3),Pe(0x1,_0x20d0b9),Pe(0x2,_0x3462f5),Pe(0x3,_0x240e9b),Pe(0x4,_0x20d0b2)],Dt);var ms=Object[_0x463ce4(0x1a4)],gs=Object[_0x463ce4(0x14b)],Ss=(_0x21a20f,_0x495109,_0x5e9d49)=>_0x495109 in _0x21a20f?ms(_0x21a20f,_0x495109,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5e9d49}):_0x21a20f[_0x495109]=_0x5e9d49,Es=(_0x333915,_0xc42000,_0x2c50a8,_0x10021d)=>{var _0x3e924d=_0x463ce4;for(var _0x4446d8=_0x10021d>0x1?void 0x0:_0x10021d?gs(_0xc42000,_0x2c50a8):_0xc42000,_0x508989=_0x333915[_0x3e924d(0x3b5)]-0x1,_0x57d375;_0x508989>=0x0;_0x508989--)(_0x57d375=_0x333915[_0x508989])&&(_0x4446d8=_0x57d375(_0x4446d8)||_0x4446d8);return _0x4446d8;},St=(_0x25eaa7,_0x2aa6d9)=>(_0x1ba434,_0x5c151e)=>_0x2aa6d9(_0x1ba434,_0x5c151e,_0x25eaa7),Is=(_0x155845,_0x4055fb,_0x4bb6c7)=>Ss(_0x155845,_0x4055fb+'',_0x4bb6c7);const Ts=_0x463ce4(0x2af);let wt=class extends _0x5c506e{constructor(_0x361f85,_0x5db744,_0x588394,_0x1903ae){var _0x2e7843=_0x463ce4;super(),N(this,_0x2e7843(0x29b)),(this[_0x2e7843(0x3a8)]=_0x5db744,this['_injector']=_0x588394,this['_configService']=_0x1903ae);const {..._0x45c40c}=_0x4928ee({},Ur,_0x361f85);if(!_0x45c40c['socketService'])throw new Error(_0x2e7843(0x1b8));this[_0x2e7843(0x29b)]=_0x45c40c,this['_configService'][_0x2e7843(0x3c0)](q,_0x45c40c);}[_0x463ce4(0x364)](){var _0x4c77c8=_0x463ce4;this[_0x4c77c8(0x24a)](),this[_0x4c77c8(0x200)]();}[_0x463ce4(0x24a)](){var _0x44d2c3=_0x463ce4,_0x179a39,_0x13dc75;this[_0x44d2c3(0x3d3)][_0x44d2c3(0x281)](_0x5c89d1)&&this[_0x44d2c3(0x3a8)][_0x44d2c3(0x305)]('[UniverCollaborationClientPlugin]','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!');const _0x316ed8=_0x3ffbf0([[_0x5c89d1,{'useClass':Dt}],[Le],[xe],[it],[st],[ot],[Ti],[at],[pe],[bt],[Ii,{'useClass':this[_0x44d2c3(0x29b)][_0x44d2c3(0x185)]}],[_0x37b591,{'useClass':Nt}],[_0x21bf61,{'useClass':Rt}],[_0x5b7beb,{'useClass':yt}],[_0x78348d,{'useClass':Ot}],[nt],[Ct]],(_0x179a39=this[_0x44d2c3(0x29b)])==null?void 0x0:_0x179a39[_0x44d2c3(0x2b5)]);if(!((_0x13dc75=this['_config'])!=null&&_0x13dc75['enableSingleActiveInstanceLock'])){const _0x550bbd=_0x316ed8['findIndex'](([_0x43f4e5])=>_0x43f4e5===ht);_0x550bbd!==-0x1&&_0x316ed8[_0x44d2c3(0x1f3)](_0x550bbd,0x1);}_0x56732b(this[_0x44d2c3(0x3d3)],_0x316ed8);}[_0x463ce4(0x200)](){var _0x311e75=_0x463ce4,_0xe8d7e6,_0x1b41c3,_0x4ff7fc;this[_0x311e75(0x3d3)][_0x311e75(0x197)](_0x3f95f0)[_0x311e75(0x241)]({'priority':0x14,'interceptor':_0x3f5004({'maxParallel':0x6})}),(_0xe8d7e6=this[_0x311e75(0x29b)])!=null&&_0xe8d7e6[_0x311e75(0x34c)]||(_0x1b41c3=this[_0x311e75(0x3d3)][_0x311e75(0x197)](J,_0x2dffeb['OPTIONAL']))==null||_0x1b41c3[_0x311e75(0x274)](),(_0x4ff7fc=this[_0x311e75(0x29b)])!=null&&_0x4ff7fc[_0x311e75(0x251)]&&_0x30d14c(this[_0x311e75(0x3d3)],[[st]]),_0x30d14c(this[_0x311e75(0x3d3)],[[ot],[nt],[at]]);}};Is(wt,_0x463ce4(0xed),Ts),wt=Es([_0x5113dc(_0x1355f4,_0x59f2ab),St(0x1,_0x20d0b2),St(0x2,_0xbf6e5a(_0x188281)),St(0x3,_0x1c50bb)],wt);export{Ni as AUTHZ_URL_KEY,Rt as AuthzIoHttpService,le as AwaitingState,ae as AwaitingWithPendingState,q as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,Or as COLLAB_SUBMIT_CHANGESET_URL_KEY,Er as COLLAB_WEB_SOCKET_URL_KEY,nt as CollaborationController,rt as CollaborationEntity,yt as CollaborationImageIoService,Et as CollaborationSession,Le as CollaborationSessionService,Vt as CollaborationSocketService,bi as CollaborationStatus,se as CollaborationUIEventId,pe as CollaborationUIEventService,Dt as CollaborativeUndoRedoService,Ti as CommentService,ue as ConflictState,Ir as DEFAULT_COLLAB_WEB_SOCKET_URL,Hs as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,Ls as DEFAULT_WS_SESSION_TICKET_URL,bt as DataLoaderService,It as DocCollaborationEntity,ee as FetchingMissState,Tr as HEARTBEAT_INTERVAL_KEY,mi as HEARTBEAT_TIMEOUT_KEY,Ii as ICollaborationSocketService,J as ILocalCacheService,Ar as INetworkConditionService,ht as ISingleActiveUnitService,ks as LOCAL_CACHE_INTERVAL,Ms as LOCAL_CACHE_INTERVAL_KEY,Dr as LOGIN_URL_KEY,xe as MemberService,Ot as MentionIoHttpService,de as OfflineState,oe as PendingState,$s as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,br as RETRY_CONNECTING_MAX_COUNT_KEY,xs as SEND_CHANGESET_TIMEOUT_KEY,pr as SNAPSHOT_SERVER_URL_KEY,gr as SNAPSHOT_URL_KEY,Ee as SessionStatus,Tt as SheetCollaborationEntity,it as SheetTransformSelectionsService,Nt as SnapshotServerOverHTTPService,Ne as SyncedState,Ci as UnitStatus,wt as UniverCollaborationClientPlugin,Pr as deserializeToCombResponse,Bs as getLocalCacheKey,xr as serializeCombRequest};
|
1
|
+
var _0x3ebd1b=_0x44ec;(function(_0x4c30d5,_0x120d31){var _0x45c173=_0x44ec,_0x553c8e=_0x4c30d5();while(!![]){try{var _0x7dca2=parseInt(_0x45c173(0x2a7))/0x1*(parseInt(_0x45c173(0x2a9))/0x2)+parseInt(_0x45c173(0x1bf))/0x3+parseInt(_0x45c173(0x29a))/0x4+parseInt(_0x45c173(0x39e))/0x5+-parseInt(_0x45c173(0x412))/0x6*(-parseInt(_0x45c173(0x273))/0x7)+parseInt(_0x45c173(0x429))/0x8*(parseInt(_0x45c173(0x41d))/0x9)+parseInt(_0x45c173(0x240))/0xa*(-parseInt(_0x45c173(0x3f2))/0xb);if(_0x7dca2===_0x120d31)break;else _0x553c8e['push'](_0x553c8e['shift']());}catch(_0x989ce0){_0x553c8e['push'](_0x553c8e['shift']());}}}(_0x1c7c,0x7145e));var Ai=Object[_0x3ebd1b(0x30a)],Pi=(_0x5ccbd4,_0x10524d,_0x476a1f)=>_0x10524d in _0x5ccbd4?Ai(_0x5ccbd4,_0x10524d,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x476a1f}):_0x5ccbd4[_0x10524d]=_0x476a1f,N=(_0x46bec7,_0x31c3fe,_0x2a1742)=>Pi(_0x46bec7,typeof _0x31c3fe!=_0x3ebd1b(0x2ec)?_0x31c3fe+'':_0x31c3fe,_0x2a1742);import{createIdentifier as _0x1ecba2,Inject as _0x4f3deb,Injector as _0x4fddf8,IConfigService as _0x2a770c,ILogService as _0x53833e,Disposable as _0x18c765,DisposableCollection as _0x396e56,toDisposable as _0x2652a7,IUniverInstanceService as _0x42c510,UserManagerService as _0x5e4c97,UniverInstanceType as _0x6e43e8,LocaleService as _0xb18863,Optional as _0x3b02db,RxDisposable as _0x32d278,Tools as _0x1bd747,Rectangle as _0x3e8061,ICommandService as _0x13fb4e,JSONX as _0x4a9ec1,CommandType as _0x20dd31,IUndoRedoService as _0xb993df,IPermissionService as _0x115665,sequenceExecute as _0x46929e,Workbook as _0xfe2436,MentionType as _0x913100,isInternalEditorID as _0x17a7c0,LocalUndoRedoService as _0xae8f7a,IContextService as _0x4b0db0,DependentOn as _0x41e97c,Plugin as _0x25a773,merge as _0x426b30,mergeOverrideWithDependencies as _0x420d77,IAuthzIoService as _0x37c18c,IMentionIOService as _0x2b54be,registerDependencies as _0x484089,Quantity as _0x4d644a,touchDependencies as _0x30701b}from'@univerjs/core';function _0x1c7c(){var _0x49616a=['pending','_createInitialStateImpl','_iKey','string','6qwyHOu','LICENSE_DISTRO_REJECTED','avatar','ALREADY_EXISTS','_loadDoc','disposeWithMe','saveSheetBlock','_univerInstanceService','getUnitId','_joinRoom','_onMessage','9FpBkSI','APPLY_REVISION_CONFILICT','Hex','capture','Error\x20on\x20receiving\x20event','COLLAB_SUBMIT_CHANGESET_URL','INVALID_ARGUMENT','/rev/','_changesetReqId','encodeURIComponent','push','image/png','5070136ORQZVl','[CollaborationSessionService]','NOT_FOUND','_map','_rescheduleHeartbeat','routeKey','isPermissionRej','Base64','compose','_key','_substituteUndoStack','/universer-api/snapshot','interceptor','_process','objectType','_sheetTransformSelectionsService','LICENSE_EXPORT_SIZE_EXCEEDED','_updateStatus','localeService','concat','FAIL','entries','FETCH_MISS','revision','USERS_LEAVE','submit\x20changeset\x20error!','DEFAULT_FILE_NAME','YUUMI_RATE_OVER_LIMIT','getConfig','INGEST','hasOwnProperty','_transformStack','PENDING','finalize','setShowComponents','LIVESHARE_OPERATION','\x20in\x20_schedule.','_startTelemetryCollaborationNewChangeset','transformMutationsWithChangeset','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','_event$','map','json','saveChangeset','_onConflict','_awaitingChangeset','_reverseMap','HmacMD5','/object/','_keySchedule','UPDATE_PERMISSION_OBJ','_onUserLeave','iterations','state','format','size','reqId','csShouldRetryEvent','__creator','_change$','PY_RUNTIME_SCRIPT_ERROR','UNIVER_DOC','_compressMutationService','replace','_onLocalMutation','\x20-\x20','[CollaborationEntity]','authzUrl','fetching\x20missing\x20changesets\x20from\x20','/block/','LEAVE','_substituteRedoStack','JOIN_ROOM_FULL','putCollaborators','getLatestCsReqIdBySid','startsWith','failed\x20to\x20apply\x20missed\x20changesets!','asObservable','_shouldReportTelemetry','_collaborationSessionService','enableOfflineEditing','_hash','_pendingMutations','_scheduleCompleteTimestamp','CHANGESET_REVISION_CONFILICT','SUBMIT_CHANGESET','_singleActiveUnitService','_onJoinRoomEvent','getTime','enc','onCommandExecuted','_changesetSessionId','readInt32LE','buffer','delete','processBlock','roomInfos','_transformSelections','APPLY_DUPLICATED','stringify','HttpImport','HELLO','params','ENSURE_SNAPSHOT_EXECUTION','/universer-api/comb','APPLY_NON_SEQUENTIAL_REVISION','append','CONFLICT','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_prevBlock','_getAPIPrefix','_retryConnectingTimer','[DataLoaderService]','$super','getSheetId','JOIN_ROOM_FAILED','_localCacheService','code','_ENC_XFORM_MODE','csAckEvent','_transitionLocked','UNDEFINED','_nDataBytes','parse','onRemoteAck','salt','_minBufferSize','_applyRemoteChangeset','_logService','exports','closeSession','toString','setConfig','title','UPDATE_CURSOR','reset','LIVESHARE_FETCH_OPERATIONS','UNAUTHENTICATED','fetchMiss','JOIN','error','HMAC','generateRandomId','m2Prime','hostname','byteLength','msCrypto','{fileID}','_retryCount','_onRecvEvent','SHOULD_CLOSE_CONN','1746006MwMzwG','hasher','/universer-api/file/{fileID}/sign-url','floor','BlockCipher','/new_changes','_sender','onSyncEditingCollabCursor','_doFinalize','find','_socketReady','JOIN_ROOM_NOT_EXISTS','&to=','ceil','blockSize','bind','init','loadDoc','_remoteChangesetQueue','_configService','GLOBAL_ROOMS_CNT_EXCEEDS','_entityInit$','getTypeOfUnitAdded$','fetchMissingChangesets','override','getUnitStatus$','words','[PendingState]:\x20received\x20acknowledgement.','/universer-api/oidc/authpage','slice','onlyLocal','image/bmp','_transformIMECache','_invKeySchedule','[CollaborationSession]','responseType','decryptBlock','splice','sigBytes','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','MD5','_getSendChangesetTimeout','leaveEvent','actions','batchAllowed','removeMember','/role','_members','encryptBlock','ws://127.0.0.1:8000/universer-api/comb/connect','filter','file','HEARTBEAT_INTERVAL','socket\x20close','AES','pluginName','_iv','_exhaustRemoteChangesetQueue','transformStack\x20failed!','/object','apply','createInstance','_onCombEvent','_initUnitPermissionChange','uploadFileServerUrl','SNAPSHOT_SERVER_URL_KEY','src','MUTATION','fetchThroughInterceptors','collabSubmitChangesetUrl','liveShareOperation','/allowed','_collaborationPaused','addImageSourceCache','_getUploadFileURL','?size=','clamp','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','getTypeOfUnitDisposed$','_onOffline','byteOffset','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','Cipher','getMember','_acknowledgedAwaitingChangeset','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','reconnect','session','_showConflictNotification','RECV','listRoles','awaiting_with_pending','updateMember','_sendHeartbeatTimer','YUUMI_SUBSCRIPTION_NOT_FOUND','LIVESHARE_NEW_HOST','values','CBC','body','getValue','INTERNAL_ERROR','onMissingChangesets','_incrementRevisionNumber','crypto','_hasher','_clearHeartbeatTimer','UnitSnapshot','next','/universer-api/stream/file/upload','LOGIN_URL_KEY','_handlerCallback','_state$','_append','ERROR_IMAGE','_unitInfo$','_cipher','keySize','_unitID','transformUndoRedo','[CollaborationUndoRedoService]','algo','_status$','_getCtorByUniverType','collaboratorID','equals','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','getUnitType','key','_throwTelemetryCollaborationNewChangeset','4200EjAViX','[OfflineState]:\x20received\x20acknowledgement.','_onUserJoin','_getDownloadEndpointURL','_handler','[PendingState]:\x20received\x20rejection.','_updateState','random','listCollaborators','changesets','_onFetchMissResult','getCurrentUser','_localeService','_transformService','cfg','getResourcesRequest','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','_collaborationTimeoutTimer','UNISCRIPT_RUN','[CollaborationSessionService]:\x20socket\x20error','close$','action','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','editing\x20status\x20changed\x20to','onTransformRemoteChangesetByIMECache','_transformRemoteChangesetByIMECache','registerHTTPInterceptor','conflict','PSEUDO_FETCH_MISSING_RESULT','_telemetryInfo','prototype','BlockCipherMode','baseRev','default','transformChangesets','disableLocalCache','_removeRoom','cmd','_userManagerService','updatePermissionPoint','_members$','BufferedBlockAlgorithm','onCommentUpdate','decrypt','_createInitialState','requestParams','PERMISSION_DENIED','requireSession','_clearRetryConnectingTimer','Utf8','create','1800561wmbuZe','RETRY_CONNECTING_MAX_COUNT','joinEvent','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','put','POST','_socket','[PendingState]:\x20unhandled\x20univer\x20type:\x20','[OfflineState]:\x20received\x20rejection.','dispose','members','onRemoteChangeset','UUID','onRemoteRej','function','pad','_resendTimeout','PERMISSION_REJ','get','getImageSourceCache','Could\x20not\x20dynamically\x20require\x20\x22','collaboration_new_changeset','name','_doCryptBlock','FETCH_MISSING','_imageSourceCache','refreshPermission','_xformMode','_waitCount','telemetry\x20info\x20is\x20not\x20initialized','FileId','loginUrlKey','execute','localCacheService','/-/object/-/batch_allowed','Decryptor','_onRemoteRejected','CHANGESET_ACK','awaitingChangeset','1421812rgnciG','method','NOT_COLLAB','_sessions','ERROR_EXCEED_SIZE','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','emitEvent','_getCurrentRevision','session.join-failed','onRemoteRetry','from','getOwnPropertyDescriptor','retryConnectingInterval','11PeNzAj','focused$','41758tscoCA','signUrlServerUrl','SYNCED','every','HttpExport','_telemetryService','_sendHeartbeat','open$','image/jpg','href','_clearRedo','SNAPSHOT_INVALID_SNAPSHOT','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','_getUndoStack','SOCKET_FAILED','synced','fromCollab','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','_commandService','getMemberID','_initRequestHeader','_transformStateCache','onTransformIME','/universer-api/authz','BASE64','subUnitId','randomBytes','reverse','getInterceptPoints','objects','_type','_socket$','SerializableCipher','x-univer-host','objectActions','c1Prime','Undefined','univer-pro.collaboration-client.single-active-unit-service','getImage','_sessionStatus$','COMPLETION_FINISHED','_executeRemoteChangeset','getUnit','shouldCloseConn','getWorkbookSelections','sin','mutations','StreamCipher','_syncEditingCollabCursor','eventID','_createHmacHelper','_memberService','univer-pro.collaboration-client.network-condition.service','pipe','_initCloseConn','resend','dispose$','error$','mixIn','HEARTBEAT_TIMEOUT','encode','ERROR_IMAGE_TYPE','_checkMissing','Encryptor','selections','symbol','Univer','createDecryptor','getSheetBlock','loadOfflineData','HEARTBEAT','_collaborationUIEventService','onTransformRemoteChangesetByStateCache','_HTTPService','awaiting','state$','/resources','resolve','_loadSheet','OTHER_CLIENTS_EDITING','SUBMIT_CHANGESET_TIMEOUT','getFocusedUnit','_data','_socketMessageSubscription','getCollabEntity','auth.needGotoLoginAlert','close','APPLY_REJECT','add','_httpService','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','__esModule','not_collab','sendChangesetTimeout','_timeoutTimer','defineProperty','\x20to\x20','HmacSHA1','collaboration-client.local-cache-service','Hasher','SOCKET_FAILED_RETRY','image/jpeg','downloadEndpointUrl','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','location','_roomCreated$','now','memberID','repeat','getDeserializedSheetBlock','_roomMembers','url','_createSocket','CHANGESET_SHOULD_RETRY','unitID','UNIVER_UNKNOWN','[SyncedState]:\x20received\x20rejection.','snapshotServerUrl','duration','[CollaborationState]:\x20apply\x20error!','_fetchMissChangesets','abs','_queuedRemoteChangesets','forEach','_clearUndo','kdf','executeCommand','_init','_onConnectionFailed','JOINING','findIndex','/collaborator','updateCollaborator','rev','_commentService','/unit/','extend','formatter','list','_networkConditionService','OTHER_CLIENT_EDITING','COMMENT_UPDATE','UNIVER_PROJECT','IDLE','copyFileMeta','complete','call','setWaitCount','loadUnit','Malformed\x20UTF-8\x20data','incrementRevOfUnit','onload','_getAPIPrefixPath','transformSelections','_createHelper','_injector','_clearScheduledTask','patch','APPLY_PERMISSION_DENIED','COMPRESS_MUTATION_APPLY','_instanceService','_state','ONLINE','onLocalMutation','OPTIONAL','_tryEnsureSocket','send','fromCharCode','fetch_missing','result','_submitChangeset','loadSheet','originalMeta','offline','_clearLocalCache','compute','LICENSE_MAX_UNITS_EXCEEDED','_eventService','collaborators','clone','[OfflineState]:\x20received\x20changeset.','_socketService','Base','_doCreateSocket','length','/universer-api/snapshot/','sessionStatus$','_collabSessionService','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','getCollabEntity$','ciphertext','_onRemoteChangeset','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','event$','snapshot','withCredentials','_emitMembers','change$','_schedule','onSendChangeset','_permissionService','onMissedChangesetFetched','_getRedoStack','_replaceFileID','reject','mode','_oKey','/fetchmissing?from=','csRejEvent','_nRounds','session.room-not-exists','CONNECTOR_DATA_TOO_LARGE','JOIN_ROOM_PERMISSION_DENIED','update','catch','TOO_MANY_REQUESTS','sheets','CipherParams','sessionStatus','has','SNAPSHOT_URL_KEY','unitId','_lockTransition','toggleOnline','newCsEvent','post','NoPadding','_getLoginPath','_config','unknown','UNRECOGNIZED','_clearTimeoutTimer','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','confirm','waitForRoom$','connection\x20error','enableSingleActiveInstanceLock','/universer-api/uniscript','createSocket','COMPRESS_MUTATION_SEND','_commentUpdate$','saveSnapshot','People','1733360SMTGgW','_scheduleCollaborationTimeoutTimer','unpad','_waitForHeartbeatResponse','_updateLocalCache','type','_resendWithTimeout','status','_getSignURL','getRandomValues','toLowerCase','_createHandler','UNIVER_SLIDE','subject','socket\x20open.','OFFLINE','session.room-permission-denied','sid','\x0aCurrent:\x20','encrypt','_stopTelemetryCollaborationNewChangeset','workbook','message$','_startCollaboration','charAt','session.room-full','NO_OTHER_CLIENTS_EDITING','_registerDependencies','save\x20fail\x20reason\x20is\x20','userID','charCodeAt','_toggleOffline','_unlockTransition','range','subscribe','SNAPSHOT_HAS_BEEN_REMOVED','set','joinRsp','headers','join','max','CHANGESET_REJ','clear','socket$','_sendingTimer','_onRemoteRetry','EvpKDF','onTransformSelections','_clearCollaborationTimeoutTimer','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','appendMutation','target','createCollaborator','LICENSE_IMPORT_SIZE_EXCEEDED','SHA1','WordArray','_doReset','_resendTimer','rng','indexOf','MSG_FOR_ERROR','getCurrentRevOfUnit','getSnapshotAPIPath','liveShareNewHost','status$','NEW_CHANGESETS','\x0aAfter:\x20','_onRemoteACK','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','_revisionService','_transformUndoredo','_undoRedoService','_entities','saveImage','_tryReconnect','_initDependencies','includes','padding','_toggleOnline','stopTime','objectID','LIVESHARE_TERMINATE','unsubscribe','createEncryptor','50831dKWNfl','toggleOffline','online$','UNIVER_SHEET','_snapshotService','UNIVER_COLLABORATION_CLIENT_PLUGIN','CLOSE_ROOM','_replayCachedMutations','debug','setCurrentUser','_mode','[UniverCollaborationClientPlugin]','data','LOCAL_CACHE_INTERVAL','USERS_ENTER','lib','_candidateSocket','_parse','_decreaseWaiting','_disableEditing','OpenSSL','commentUpdateEvent','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','textRanges','randomUUID','YUUMI_URL_COL_OUT_OF_RANGE','socketService','PERSON'];_0x1c7c=function(){return _0x49616a;};return _0x1c7c();}import{Subject as _0x384b9e,merge as _0x4f1458,of as _0x490a2c,BehaviorSubject as _0x15d586,takeUntil as _0x10896f,ReplaySubject as _0x257aa6,take as _0x3396e8,map as _0x401f39,shareReplay as _0x20dfda,firstValueFrom as _0x557225,concatMap as _0x5c75e0}from'rxjs';import{map as _0x182a28,take as _0x36ff41,filter as _0x1a4f87,delay as _0xdf788d,takeUntil as _0x212faf}from'rxjs/operators';import{CollaborationEvent as _0x29cbe9,ISnapshotServerService as _0x481b0,parseChangesetToProtocol as _0x230f2c,ITransformService as _0x3a4a71,isTransformMutationsWithChangesetSuccess as _0xa34b7,mapDocumentTypeToUniverType as _0x49cbd7,RevisionService as _0xa5d976,isTransformChangesetsSuccess as _0x16fc72,CompressMutationService as _0x429dc5,parseProtocolChangeset as _0x163abd,SnapshotService as _0x4970ba,textEncoder as _0x8bb74d,b64DecodeUnicode as _0x5d895b,isTransformMutationsWithChangesetFailure as _0x4d4cc2,UniverCollaborationPlugin as _0xa1ef3e}from'@univerjs-pro/collaboration';import{HTTPService as _0x33658e,ISocketService as _0x2df46f,MergeInterceptorFactory as _0x550b93,HTTPRequest as _0x228c9d,UniverNetworkPlugin as _0x54097e,ThresholdInterceptorFactory as _0x53f182}from'@univerjs/network';import{ITelemetryService as _0x5da75c}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x3aa6ca}from'@univerjs/docs';import{SheetsSelectionsService as _0x450157,SetSelectionsOperation as _0x422733,InsertSheetMutation as _0x5c3d3c,EmptyMutation as _0x402638,WorkbookEditablePermission as _0x5252f0,SheetPermissionInitController as _0x3d37cb}from'@univerjs/sheets';import{ImageSourceType as _0x4981d1,ImageUploadStatusType as _0x1035d3,IImageIoService as _0x32bded}from'@univerjs/drawing';import{getGlobalObject as _0x2166de}from'@univerjs-pro/license';const pr=_0x3ebd1b(0x200),mr=_0x3ebd1b(0x434),gr=_0x3ebd1b(0x387),xs='SEND_CHANGESET_TIMEOUT',Sr=0x7d0,Er='COLLAB_WEB_SOCKET_URL',Ir=_0x3ebd1b(0x1f0),Ls='/universer-api/user/session-ticket',Tr=_0x3ebd1b(0x1f3),Cr=0x7530,mi=_0x3ebd1b(0x2e6),gi=0x4e20,Rr=0x4e20,br=_0x3ebd1b(0x274),yr=0x3,Ms=_0x3ebd1b(0x3ff),ks=0x3e8,Or=_0x3ebd1b(0x422),Nr=_0x3ebd1b(0x492),Dr=_0x3ebd1b(0x22c),wr=_0x3ebd1b(0x1db),$s=_0x3ebd1b(0x496),Hs=_0x3ebd1b(0x398);var Si=(_0x5a501e=>(_0x5a501e[_0x5a501e['UNDEFINED']=0x0]=_0x3ebd1b(0x4a3),_0x5a501e[_0x5a501e['OK']=0x1]='OK',_0x5a501e[_0x5a501e[_0x3ebd1b(0x223)]=0x2]='INTERNAL_ERROR',_0x5a501e[_0x5a501e[_0x3ebd1b(0x26e)]=0x3]='PERMISSION_DENIED',_0x5a501e[_0x5a501e[_0x3ebd1b(0x42b)]=0x4]=_0x3ebd1b(0x42b),_0x5a501e[_0x5a501e['UNAUTHENTICATED']=0x5]=_0x3ebd1b(0x1b1),_0x5a501e[_0x5a501e[_0x3ebd1b(0x415)]=0x6]=_0x3ebd1b(0x415),_0x5a501e[_0x5a501e['INVALID_ARGUMENT']=0x7]=_0x3ebd1b(0x423),_0x5a501e[_0x5a501e[_0x3ebd1b(0x382)]=0x8]='TOO_MANY_REQUESTS',_0x5a501e[_0x5a501e[_0x3ebd1b(0x2d3)]=0x9]=_0x3ebd1b(0x2d3),_0x5a501e[_0x5a501e[_0x3ebd1b(0x47e)]=0x1389]=_0x3ebd1b(0x47e),_0x5a501e[_0x5a501e[_0x3ebd1b(0x2b4)]=0x1771]=_0x3ebd1b(0x2b4),_0x5a501e[_0x5a501e[_0x3ebd1b(0x3c1)]=0x1772]=_0x3ebd1b(0x3c1),_0x5a501e[_0x5a501e[_0x3ebd1b(0x491)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x5a501e[_0x5a501e[_0x3ebd1b(0x302)]=0x1b59]='APPLY_REJECT',_0x5a501e[_0x5a501e[_0x3ebd1b(0x493)]=0x1b5a]=_0x3ebd1b(0x493),_0x5a501e[_0x5a501e[_0x3ebd1b(0x41e)]=0x1b5b]=_0x3ebd1b(0x41e),_0x5a501e[_0x5a501e[_0x3ebd1b(0x349)]=0x1b5c]=_0x3ebd1b(0x349),_0x5a501e[_0x5a501e[_0x3ebd1b(0x48c)]=0x1b5d]=_0x3ebd1b(0x48c),_0x5a501e[_0x5a501e[_0x3ebd1b(0x37e)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x5a501e[_0x5a501e[_0x3ebd1b(0x35b)]=0x2329]=_0x3ebd1b(0x35b),_0x5a501e[_0x5a501e['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x3ebd1b(0x450),_0x5a501e[_0x5a501e[_0x3ebd1b(0x3d3)]=0x232b]=_0x3ebd1b(0x3d3),_0x5a501e[_0x5a501e['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x3ebd1b(0x439),_0x5a501e[_0x5a501e[_0x3ebd1b(0x413)]=0x232d]=_0x3ebd1b(0x413),_0x5a501e[_0x5a501e['YUUMI_UNABLE_LOAD_URL']=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x5a501e[_0x5a501e[_0x3ebd1b(0x40b)]=0x2712]=_0x3ebd1b(0x40b),_0x5a501e[_0x5a501e[_0x3ebd1b(0x444)]=0x2713]=_0x3ebd1b(0x444),_0x5a501e[_0x5a501e['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x3ebd1b(0x21d),_0x5a501e[_0x5a501e[_0x3ebd1b(0x466)]=0x2af9]=_0x3ebd1b(0x466),_0x5a501e[_0x5a501e[_0x3ebd1b(0x391)]=-0x1]=_0x3ebd1b(0x391),_0x5a501e))(Si||{}),Q=(_0x4c5c3c=>(_0x4c5c3c[_0x4c5c3c[_0x3ebd1b(0x31e)]=0x0]='UNIVER_UNKNOWN',_0x4c5c3c[_0x4c5c3c[_0x3ebd1b(0x467)]=0x1]=_0x3ebd1b(0x467),_0x4c5c3c[_0x4c5c3c[_0x3ebd1b(0x3f5)]=0x2]=_0x3ebd1b(0x3f5),_0x4c5c3c[_0x4c5c3c['UNIVER_SLIDE']=0x3]=_0x3ebd1b(0x3aa),_0x4c5c3c[_0x4c5c3c[_0x3ebd1b(0x339)]=0x4]=_0x3ebd1b(0x339),_0x4c5c3c[_0x4c5c3c[_0x3ebd1b(0x391)]=-0x1]=_0x3ebd1b(0x391),_0x4c5c3c))(Q||{}),F=(_0x59a494=>(_0x59a494[_0x59a494['UNKNOWN_CMD']=0x0]='UNKNOWN_CMD',_0x59a494[_0x59a494[_0x3ebd1b(0x48f)]=0x1]=_0x3ebd1b(0x48f),_0x59a494[_0x59a494[_0x3ebd1b(0x1b3)]=0x2]=_0x3ebd1b(0x1b3),_0x59a494[_0x59a494['LEAVE']=0x3]='LEAVE',_0x59a494[_0x59a494[_0x3ebd1b(0x446)]=0x4]=_0x3ebd1b(0x446),_0x59a494[_0x59a494[_0x3ebd1b(0x2f1)]=0x5]=_0x3ebd1b(0x2f1),_0x59a494[_0x59a494['RECV']=0x6]=_0x3ebd1b(0x218),_0x59a494[_0x59a494['UNRECOGNIZED']=-0x1]=_0x3ebd1b(0x391),_0x59a494))(F||{}),ge=(_0x140852=>(_0x140852[_0x140852['UNKNOWN_CODE']=0x0]='UNKNOWN_CODE',_0x140852[_0x140852['OK']=0x1]='OK',_0x140852[_0x140852['FAIL']=0x2]='FAIL',_0x140852[_0x140852['JOIN_ROOM_FULL']=0x3e9]=_0x3ebd1b(0x472),_0x140852[_0x140852[_0x3ebd1b(0x1ca)]=0x3ea]=_0x3ebd1b(0x1ca),_0x140852[_0x140852[_0x3ebd1b(0x37f)]=0x3eb]=_0x3ebd1b(0x37f),_0x140852[_0x140852[_0x3ebd1b(0x1d3)]=0x3ec]=_0x3ebd1b(0x1d3),_0x140852[_0x140852['UNRECOGNIZED']=-0x1]=_0x3ebd1b(0x391),_0x140852))(ge||{}),Ei=(_0x405747=>(_0x405747[_0x405747[_0x3ebd1b(0x2cf)]=0x0]='Undefined',_0x405747[_0x405747[_0x3ebd1b(0x48e)]=0x1]=_0x3ebd1b(0x48e),_0x405747[_0x405747[_0x3ebd1b(0x2ad)]=0x2]=_0x3ebd1b(0x2ad),_0x405747[_0x405747['UnitEmbedded']=0x3]='UnitEmbedded',_0x405747[_0x405747[_0x3ebd1b(0x229)]=0x4]=_0x3ebd1b(0x229),_0x405747[_0x405747[_0x3ebd1b(0x391)]=-0x1]=_0x3ebd1b(0x391),_0x405747))(Ei||{});const q='collaboration-client.config',Ur={};var se=(_0x33a07f=>(_0x33a07f[_0x3ebd1b(0x337)]=_0x3ebd1b(0x337),_0x33a07f['PERMISSION_DENIED']=_0x3ebd1b(0x26e),_0x33a07f[_0x3ebd1b(0x495)]=_0x3ebd1b(0x495),_0x33a07f['CLOSE_ROOM']=_0x3ebd1b(0x3f8),_0x33a07f[_0x3ebd1b(0x49d)]=_0x3ebd1b(0x49d),_0x33a07f[_0x3ebd1b(0x30f)]=_0x3ebd1b(0x30f),_0x33a07f[_0x3ebd1b(0x2b8)]=_0x3ebd1b(0x2b8),_0x33a07f[_0x3ebd1b(0x2fb)]='SUBMIT_CHANGESET_TIMEOUT',_0x33a07f))(se||{});class pe{constructor(){var _0x3bf313=_0x3ebd1b;N(this,_0x3bf313(0x452),new _0x384b9e()),N(this,_0x3bf313(0x36c),this[_0x3bf313(0x452)][_0x3bf313(0x477)]());}['emitEvent'](_0x131579){var _0x1c0c39=_0x3ebd1b;this[_0x1c0c39(0x452)][_0x1c0c39(0x22a)](_0x131579);}}const Ar=_0x1ecba2(_0x3ebd1b(0x2df));function Pr(_0x55d7d1){var _0x100df5=_0x3ebd1b,_0xb2a9b6,_0x392895,_0x2e42b0,_0x1866ad,_0x19cb6c;const _0x4ea383=_0x55d7d1['data'],_0x492180=JSON['parse'](_0x4ea383);switch(_0x492180[_0x100df5(0x265)]){case F[_0x100df5(0x2f1)]:case F[_0x100df5(0x48f)]:{const _0x548310=_0x492180['infoRsp'];return{..._0x492180,'data':_0x548310,'cmd':_0x492180['cmd']};}case F[_0x100df5(0x1b3)]:{const _0x2c8c8b=_0x492180[_0x100df5(0x3c3)];return{..._0x492180,'data':_0x2c8c8b,'cmd':_0x492180[_0x100df5(0x265)]};}case F['RECV']:{const _0x5433a2=_0x492180['collaMsg'];switch(_0x5433a2[_0x100df5(0x2dc)]){case _0x29cbe9[_0x100df5(0x284)]:return{..._0x492180,'data':{..._0x5433a2,'data':(_0xb2a9b6=_0x5433a2['permissionRejEvent'])==null?void 0x0:_0xb2a9b6['cs']},'cmd':_0x492180[_0x100df5(0x265)]};case _0x29cbe9[_0x100df5(0x298)]:return{..._0x492180,'data':{..._0x5433a2,'data':(_0x392895=_0x5433a2[_0x100df5(0x4a1)])==null?void 0x0:_0x392895['cs']},'cmd':_0x492180[_0x100df5(0x265)]};case _0x29cbe9[_0x100df5(0x3df)]:return{..._0x492180,'data':{..._0x5433a2,'data':(_0x2e42b0=_0x5433a2[_0x100df5(0x38b)])==null?void 0x0:_0x2e42b0['cs']},'cmd':_0x492180[_0x100df5(0x265)]};case _0x29cbe9['CHANGESET_REJ']:return{..._0x492180,'data':{..._0x5433a2,'data':(_0x1866ad=_0x5433a2[_0x100df5(0x37b)])==null?void 0x0:_0x1866ad['cs']},'cmd':_0x492180[_0x100df5(0x265)]};case _0x29cbe9[_0x100df5(0x31c)]:return{..._0x492180,'data':{..._0x5433a2,'data':(_0x19cb6c=_0x5433a2[_0x100df5(0x463)])==null?void 0x0:_0x19cb6c['cs']},'cmd':_0x492180[_0x100df5(0x265)]};case _0x29cbe9[_0x100df5(0x1ae)]:return{..._0x492180,'data':{..._0x5433a2,'data':_0x5433a2['updateCursorEvent']},'cmd':_0x492180[_0x100df5(0x265)]};case _0x29cbe9[_0x100df5(0x400)]:return{..._0x492180,'data':{..._0x5433a2,'data':_0x5433a2[_0x100df5(0x275)]},'cmd':_0x492180[_0x100df5(0x265)]};case _0x29cbe9['USERS_LEAVE']:return{..._0x492180,'data':{..._0x5433a2,'data':_0x5433a2[_0x100df5(0x1e9)]},'cmd':_0x492180[_0x100df5(0x265)]};case _0x29cbe9[_0x100df5(0x21e)]:return{..._0x492180,'data':{..._0x5433a2,'data':_0x5433a2[_0x100df5(0x3dd)]},'cmd':_0x492180[_0x100df5(0x265)]};case _0x29cbe9[_0x100df5(0x1b0)]:case _0x29cbe9['LIVESHARE_OPERATION']:return{..._0x492180,'data':{..._0x5433a2,'data':_0x5433a2[_0x100df5(0x205)]},'cmd':_0x492180[_0x100df5(0x265)]};case _0x29cbe9[_0x100df5(0x3ef)]:return{..._0x492180,'data':{..._0x5433a2,'data':_0x5433a2['liveShareNewHost']},'cmd':_0x492180[_0x100df5(0x265)]};case _0x29cbe9[_0x100df5(0x3da)]:return{..._0x492180,'data':_0x5433a2,'cmd':_0x492180[_0x100df5(0x265)]};case _0x29cbe9[_0x100df5(0x338)]:return{..._0x492180,'data':{..._0x5433a2,'data':_0x5433a2[_0x100df5(0x407)]},'cmd':_0x492180[_0x100df5(0x265)]};case _0x29cbe9['UPDATE_PERMISSION_OBJ']:return{..._0x492180,'data':{..._0x5433a2,'data':_0x5433a2['updatePermissionObjEvent']},'cmd':_0x492180[_0x100df5(0x265)]};case _0x29cbe9['SHOULD_CLOSE_CONN']:return{..._0x492180,'data':{..._0x5433a2,'data':_0x5433a2[_0x100df5(0x2d6)]},'cmd':_0x492180[_0x100df5(0x265)]};case _0x29cbe9[_0x100df5(0x252)]:return{..._0x492180,'data':{..._0x5433a2,'data':_0x5433a2['uniscriptRunEvent']},'cmd':_0x492180[_0x100df5(0x265)]};default:return _0x492180;}}default:return _0x492180;}}function xr(_0x526879){var _0x127e91=_0x3ebd1b;switch(_0x526879['cmd']){case F[_0x127e91(0x2f1)]:case F[_0x127e91(0x48f)]:return JSON[_0x127e91(0x48d)]({'cmd':_0x526879[_0x127e91(0x265)],'routeKey':_0x526879['routeKey']});case F[_0x127e91(0x446)]:{let _0x45a4fa;switch(_0x526879[_0x127e91(0x3fe)][_0x127e91(0x2dc)]){case _0x29cbe9[_0x127e91(0x1ae)]:{_0x45a4fa={'eventID':_0x29cbe9[_0x127e91(0x1ae)],'updateCursorEvent':_0x526879[_0x127e91(0x3fe)]['data']};break;}case _0x29cbe9[_0x127e91(0x441)]:{_0x45a4fa={'eventID':_0x29cbe9[_0x127e91(0x441)],'leaveEvent':_0x526879[_0x127e91(0x3fe)][_0x127e91(0x3fe)]};break;}case _0x29cbe9[_0x127e91(0x400)]:{_0x45a4fa={'eventID':_0x29cbe9['USERS_ENTER'],'joinEvent':_0x526879[_0x127e91(0x3fe)][_0x127e91(0x3fe)]};break;}case _0x29cbe9['LIVESHARE_NEW_HOST']:{_0x45a4fa={'eventID':_0x29cbe9[_0x127e91(0x21e)],'liveShareNewHost':_0x526879['data'][_0x127e91(0x3fe)]};break;}case _0x29cbe9['LIVESHARE_OPERATION']:{_0x45a4fa={'eventID':_0x29cbe9[_0x127e91(0x44c)],'liveShareOperation':_0x526879[_0x127e91(0x3fe)][_0x127e91(0x3fe)]};break;}case _0x29cbe9[_0x127e91(0x3ef)]:{_0x45a4fa={'eventID':_0x29cbe9['LIVESHARE_TERMINATE'],'liveShareTerminate':_0x526879[_0x127e91(0x3fe)][_0x127e91(0x3fe)]};break;}case _0x29cbe9['LIVESHARE_REQUEST_HOST']:{_0x45a4fa={'eventID':_0x29cbe9['LIVESHARE_REQUEST_HOST'],'liveShareRequestHost':_0x526879['data']['data']};break;}case _0x29cbe9['LIVESHARE_FETCH_OPERATIONS']:{_0x45a4fa={'eventID':_0x29cbe9[_0x127e91(0x1b0)]};break;}default:_0x45a4fa={'eventID':_0x526879[_0x127e91(0x3fe)][_0x127e91(0x2dc)]};}return JSON[_0x127e91(0x48d)]({'cmd':_0x526879[_0x127e91(0x265)],'routeKey':_0x526879[_0x127e91(0x42e)],'collaMsg':_0x45a4fa});}case F[_0x127e91(0x1b3)]:return JSON[_0x127e91(0x48d)]({'cmd':_0x526879[_0x127e91(0x265)],'routeKey':_0x526879['routeKey'],'joinReq':_0x526879['data']});case F[_0x127e91(0x470)]:return JSON[_0x127e91(0x48d)]({'cmd':_0x526879[_0x127e91(0x265)],'routeKey':_0x526879[_0x127e91(0x42e)],'leaveReq':_0x526879[_0x127e91(0x3fe)]});default:throw new Error('[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!');}}var Lr=Object[_0x3ebd1b(0x2a5)],Mr=(_0x47cdeb,_0xae8991,_0x245acc,_0x171983)=>{var _0x1a2271=_0x3ebd1b;for(var _0x584937=_0x171983>0x1?void 0x0:_0x171983?Lr(_0xae8991,_0x245acc):_0xae8991,_0x2faafc=_0x47cdeb[_0x1a2271(0x363)]-0x1,_0x1a1fbe;_0x2faafc>=0x0;_0x2faafc--)(_0x1a1fbe=_0x47cdeb[_0x2faafc])&&(_0x584937=_0x1a1fbe(_0x584937)||_0x584937);return _0x584937;},Ue=(_0x593dae,_0x1f3f06)=>(_0x3372e9,_0x35fad3)=>_0x1f3f06(_0x3372e9,_0x35fad3,_0x593dae);const Ii=_0x1ecba2('univer-pro.collaboration-client-socket-service');function kr(_0x585ed9,_0x1be4d5,_0x27d76c){var _0xdf2e22=_0x3ebd1b;return _0x585ed9+'/'+_0x1be4d5+_0xdf2e22(0x332)+_0x27d76c+_0xdf2e22(0x1c4);}let Vt=class extends _0x18c765{constructor(_0x2d75ce,_0x5561d3,_0x5b8aed,_0x439891,_0x52304d){var _0x584d8e=_0x3ebd1b;super(),this[_0x584d8e(0x346)]=_0x2d75ce,this[_0x584d8e(0x304)]=_0x5561d3,this[_0x584d8e(0x1d2)]=_0x5b8aed,this[_0x584d8e(0x1a8)]=_0x439891,this['_snapshotServerService']=_0x52304d;}[_0x3ebd1b(0x362)](_0x36c9da){var _0x429d29=_0x3ebd1b;const _0x169eb5=this[_0x429d29(0x346)][_0x429d29(0x285)](_0x2df46f);if(!_0x169eb5)throw new Error(_0x429d29(0x214));const _0x35507f=_0x169eb5[_0x429d29(0x399)](_0x36c9da);if(!_0x35507f)throw new Error(_0x429d29(0x250));const _0x2f88c2=new _0x396e56(),_0x4069cf=new _0x384b9e();_0x2f88c2[_0x429d29(0x303)](_0x35507f[_0x429d29(0x254)][_0x429d29(0x3c0)](_0x277de8=>_0x4069cf['next'](_0x277de8))),_0x2f88c2[_0x429d29(0x303)](_0x2652a7(()=>_0x4069cf[_0x429d29(0x33c)]()));const _0x1aced8=new _0x384b9e();_0x2f88c2[_0x429d29(0x303)](_0x35507f[_0x429d29(0x2e4)][_0x429d29(0x3c0)](_0x137fc8=>_0x1aced8[_0x429d29(0x22a)](_0x137fc8))),_0x2f88c2[_0x429d29(0x303)](_0x2652a7(()=>_0x1aced8['complete']()));const _0x53d2d5=new _0x384b9e();_0x2f88c2['add'](_0x35507f[_0x429d29(0x3b4)][_0x429d29(0x3c0)](_0x205a89=>{var _0x18b474=_0x429d29;const _0x542499=Pr(_0x205a89);_0x53d2d5[_0x18b474(0x22a)](_0x542499);})),_0x2f88c2[_0x429d29(0x303)](_0x2652a7(()=>_0x53d2d5['complete']()));let _0x372845;const _0xbbdb0=()=>{var _0x27e17d=_0x429d29;_0x1aced8[_0x27e17d(0x22a)](new Event(_0x27e17d(0x396))),_0x4069cf[_0x27e17d(0x22a)](new Event(_0x27e17d(0x396))),_0x372845[_0x27e17d(0x301)]();};return _0x372845={'memberID':'','close$':_0x4069cf[_0x429d29(0x477)](),'error$':_0x1aced8[_0x429d29(0x477)](),'open$':_0x35507f[_0x429d29(0x2b0)],'message$':_0x53d2d5[_0x429d29(0x477)](),'send':_0x5a7311=>{var _0x22eaaf=_0x429d29;if(_0x5a7311[_0x22eaaf(0x265)]===F['INGEST']){if(_0x5a7311[_0x22eaaf(0x3fe)][_0x22eaaf(0x2dc)]===_0x29cbe9[_0x22eaaf(0x47f)]){this[_0x22eaaf(0x355)](_0x372845,_0x5a7311[_0x22eaaf(0x3fe)])[_0x22eaaf(0x381)](_0xafe24d=>{var _0x122181=_0x22eaaf;this[_0x122181(0x1a8)][_0x122181(0x1b4)](_0xafe24d),_0xbbdb0();});return;}if(_0x5a7311[_0x22eaaf(0x3fe)][_0x22eaaf(0x2dc)]===_0x29cbe9[_0x22eaaf(0x28b)]){const _0x1a4b7b=_0x5a7311[_0x22eaaf(0x3fe)];this[_0x22eaaf(0x323)](_0x1a4b7b)['then'](_0x4694c3=>{var _0xc00853=_0x22eaaf;_0x53d2d5['next']({'cmd':F[_0xc00853(0x218)],'code':ge['OK'],'routeKey':_0x1a4b7b['data'][_0xc00853(0x31d)],'routeType':'','data':{'eventID':_0x29cbe9[_0xc00853(0x25c)],'data':{'changesets':_0x4694c3}}});})[_0x22eaaf(0x381)](_0x3e7727=>{var _0x292e0f=_0x22eaaf;this['_logService'][_0x292e0f(0x1b4)](_0x3e7727),_0xbbdb0();});return;}}_0x35507f['send'](xr(_0x5a7311));},'close':()=>{var _0x303e4b=_0x429d29;_0x35507f[_0x303e4b(0x301)](),_0x2f88c2['dispose']();}},_0x372845;}async[_0x3ebd1b(0x355)](_0x2ea828,_0x3f6860){var _0x2a5420=_0x3ebd1b,_0x442fa9,_0x385d79;const {unitType:_0x215d0e,unitID:_0x1739e2,changeset:_0x628aa}=_0x3f6860[_0x2a5420(0x3fe)],_0x1a4cb9={'unitID':_0x1739e2,'memberID':_0x2ea828[_0x2a5420(0x316)],'type':_0x215d0e,'changeset':_0x230f2c(_0x628aa)},_0x17899b=this['_configService']['getConfig'](Or),_0x20414d=this[_0x2a5420(0x1d2)]['getConfig'](q),_0x28584b=kr((_0x385d79=(_0x442fa9=_0x20414d==null?void 0x0:_0x20414d[_0x2a5420(0x204)])!=null?_0x442fa9:_0x17899b)!=null?_0x385d79:Nr,_0x215d0e,_0x1739e2);try{await this[_0x2a5420(0x304)]['post'](_0x28584b,{'body':_0x1a4cb9});}catch(_0x3439a1){throw this['_logService'][_0x2a5420(0x1b4)]('[CollaborationSession]',_0x2a5420(0x442)),_0x3439a1;}}async['_fetchMissChangesets'](_0x3fe7e6){var _0x3ec925=_0x3ebd1b;const {unitID:_0x5df079,from:_0x16582d,to:_0x53bee,unitType:_0x442f2b}=_0x3fe7e6[_0x3ec925(0x3fe)];return(await this['_snapshotServerService'][_0x3ec925(0x1d6)]({'metadata':void 0x0},{'unitID':_0x5df079,'type':_0x442f2b,'from':_0x16582d,'to':_0x53bee}))[_0x3ec925(0x249)];}};Vt=Mr([Ue(0x0,_0x4f3deb(_0x4fddf8)),Ue(0x1,_0x4f3deb(_0x33658e)),Ue(0x2,_0x2a770c),Ue(0x3,_0x53833e),Ue(0x4,_0x481b0)],Vt);const $r=_0x3ebd1b(0x288);function Hr(_0x939a1){var _0x46e1fe=_0x3ebd1b;return JSON[_0x46e1fe(0x48d)](_0x939a1)[_0x46e1fe(0x363)];}class Ti{constructor(){var _0x13f925=_0x3ebd1b;N(this,'_commentUpdate$',new _0x384b9e()),N(this,'commentUpdate$',this[_0x13f925(0x39b)][_0x13f925(0x477)]());}['onCommentUpdate'](_0x369c89){var _0x55a921=_0x3ebd1b;this[_0x55a921(0x39b)][_0x55a921(0x22a)](_0x369c89);}}var Br=Object['getOwnPropertyDescriptor'],jr=(_0x48e826,_0x1609c6,_0x3a46a8,_0x253ada)=>{for(var _0x14a70d=_0x253ada>0x1?void 0x0:_0x253ada?Br(_0x1609c6,_0x3a46a8):_0x1609c6,_0x77cb90=_0x48e826['length']-0x1,_0x13a5d6;_0x77cb90>=0x0;_0x77cb90--)(_0x13a5d6=_0x48e826[_0x77cb90])&&(_0x14a70d=_0x13a5d6(_0x14a70d)||_0x14a70d);return _0x14a70d;},Wt=(_0x4f8167,_0x5e3851)=>(_0x34e34d,_0x8be9d5)=>_0x5e3851(_0x34e34d,_0x8be9d5,_0x4f8167);let xe=class extends _0x18c765{constructor(_0x224916,_0x20349e){var _0x5c974e=_0x3ebd1b;super(),N(this,_0x5c974e(0x319),new Map()),N(this,_0x5c974e(0x314),new _0x384b9e()),(this[_0x5c974e(0x419)]=_0x224916,this[_0x5c974e(0x266)]=_0x20349e,this[_0x5c974e(0x417)](_0x4f1458(this[_0x5c974e(0x419)]['getTypeOfUnitDisposed$'](_0x6e43e8[_0x5c974e(0x3f5)])[_0x5c974e(0x2e0)](_0x182a28(_0x3518cb=>_0x3518cb[_0x5c974e(0x41a)]())),this[_0x5c974e(0x419)][_0x5c974e(0x20d)](_0x6e43e8['UNIVER_DOC'])[_0x5c974e(0x2e0)](_0x182a28(_0x4b1079=>_0x4b1079['getUnitId']())),this[_0x5c974e(0x419)][_0x5c974e(0x20d)](_0x6e43e8[_0x5c974e(0x3aa)])[_0x5c974e(0x2e0)](_0x182a28(_0x48edcd=>_0x48edcd[_0x5c974e(0x41a)]())))['subscribe'](_0x4c664e=>this[_0x5c974e(0x264)](_0x4c664e))));}[_0x3ebd1b(0x395)](_0x18ccc1){var _0x1da282=_0x3ebd1b;return this[_0x1da282(0x319)][_0x1da282(0x386)](_0x18ccc1)?_0x490a2c(this[_0x1da282(0x319)][_0x1da282(0x285)](_0x18ccc1)):this[_0x1da282(0x314)][_0x1da282(0x2e0)](_0x182a28(_0x5a0525=>{var _0x48d293=_0x1da282;if(_0x5a0525===_0x18ccc1)return this[_0x48d293(0x319)][_0x48d293(0x285)](_0x5a0525);}));}[_0x3ebd1b(0x3fb)](_0x8ca3e2){var _0x35aa41=_0x3ebd1b;this[_0x35aa41(0x266)]['setCurrentUser'](_0x8ca3e2);}[_0x3ebd1b(0x24b)](){var _0x141f63=_0x3ebd1b;return this[_0x141f63(0x266)][_0x141f63(0x24b)]();}[_0x3ebd1b(0x21b)](_0x51249a,_0x2e871d){var _0x1c9f3d=_0x3ebd1b;let _0x32dd89=this[_0x1c9f3d(0x319)][_0x1c9f3d(0x285)](_0x51249a);_0x32dd89||(_0x32dd89=new Fr(),this[_0x1c9f3d(0x319)][_0x1c9f3d(0x3c2)](_0x51249a,_0x32dd89),this[_0x1c9f3d(0x314)][_0x1c9f3d(0x22a)](_0x51249a)),_0x32dd89['updateMember'](_0x2e871d);}[_0x3ebd1b(0x1ec)](_0x1d5594,_0x3801c5){var _0x5c34bb=_0x3ebd1b;const _0x227b5a=this['_roomMembers']['get'](_0x1d5594);_0x227b5a&&_0x227b5a[_0x5c34bb(0x1ec)](_0x3801c5);}['getRoom'](_0x39f341){return this['_roomMembers']['get'](_0x39f341);}[_0x3ebd1b(0x212)](_0x2be8c8,_0x3c9eb3){var _0x3565ec=_0x3ebd1b;const _0x1bcd74=this[_0x3565ec(0x319)][_0x3565ec(0x285)](_0x2be8c8);if(_0x1bcd74)return _0x1bcd74[_0x3565ec(0x212)](_0x3c9eb3);}['_removeRoom'](_0x5632a8){var _0x3eb06f=_0x3ebd1b;const _0x1296b1=this['_roomMembers'][_0x3eb06f(0x285)](_0x5632a8);_0x1296b1&&(_0x1296b1[_0x3eb06f(0x27c)](),this[_0x3eb06f(0x319)][_0x3eb06f(0x488)](_0x5632a8));}['dispose'](){var _0x3300c1=_0x3ebd1b;this[_0x3300c1(0x319)][_0x3300c1(0x326)](_0x504679=>_0x504679[_0x3300c1(0x27c)]()),this[_0x3300c1(0x319)][_0x3300c1(0x3c8)](),this[_0x3300c1(0x314)][_0x3300c1(0x33c)]();}};xe=jr([Wt(0x0,_0x42c510),Wt(0x1,_0x4f3deb(_0x5e4c97))],xe);class Fr extends _0x18c765{constructor(){var _0x3bd2c8=_0x3ebd1b;super(...arguments),N(this,'_members',new Map()),N(this,_0x3bd2c8(0x268),new _0x15d586(this[_0x3bd2c8(0x1ee)])),N(this,'members$',this[_0x3bd2c8(0x268)][_0x3bd2c8(0x477)]());}[_0x3ebd1b(0x27c)](){var _0x236f3e=_0x3ebd1b;this[_0x236f3e(0x1ee)][_0x236f3e(0x3c8)]();}[_0x3ebd1b(0x21b)](_0x108c4c){var _0x3d49c1=_0x3ebd1b;this[_0x3d49c1(0x1ee)][_0x3d49c1(0x3c2)](_0x108c4c[_0x3d49c1(0x316)],_0x108c4c),this[_0x3d49c1(0x36f)]();}[_0x3ebd1b(0x1ec)](_0x2a5636){this['_members']['delete'](_0x2a5636);}[_0x3ebd1b(0x212)](_0x5b8a01){var _0x370c4c=_0x3ebd1b;return this['_members'][_0x370c4c(0x285)](_0x5b8a01);}['getAllMembers'](){var _0x4a6f07=_0x3ebd1b;return Array[_0x4a6f07(0x2a4)](this['_members'][_0x4a6f07(0x21f)]());}[_0x3ebd1b(0x36f)](){var _0x21849b=_0x3ebd1b;this['_members$']['next'](this[_0x21849b(0x1ee)]);}}var Gr=Object[_0x3ebd1b(0x2a5)],Vr=(_0x3a0493,_0x41b0e9,_0x18e656,_0x40207e)=>{var _0x35dd0d=_0x3ebd1b;for(var _0x5af159=_0x40207e>0x1?void 0x0:_0x40207e?Gr(_0x41b0e9,_0x18e656):_0x41b0e9,_0x22b0fe=_0x3a0493[_0x35dd0d(0x363)]-0x1,_0x3f46ab;_0x22b0fe>=0x0;_0x22b0fe--)(_0x3f46ab=_0x3a0493[_0x22b0fe])&&(_0x5af159=_0x3f46ab(_0x5af159)||_0x5af159);return _0x5af159;},me=(_0x1f9079,_0x1b82b6)=>(_0x5580fd,_0x2e14a1)=>_0x1b82b6(_0x5580fd,_0x2e14a1,_0x1f9079),Ee=(_0x35f15e=>(_0x35f15e[_0x35f15e[_0x3ebd1b(0x33a)]=0x0]=_0x3ebd1b(0x33a),_0x35f15e[_0x35f15e[_0x3ebd1b(0x32c)]=0x1]=_0x3ebd1b(0x32c),_0x35f15e[_0x35f15e[_0x3ebd1b(0x3ad)]=0x2]=_0x3ebd1b(0x3ad),_0x35f15e[_0x35f15e['ONLINE']=0x3]=_0x3ebd1b(0x34d),_0x35f15e))(Ee||{});const Kt={[ge[_0x3ebd1b(0x43d)]]:_0x3ebd1b(0x2a2),[ge[_0x3ebd1b(0x472)]]:_0x3ebd1b(0x3b7),[ge[_0x3ebd1b(0x1ca)]]:_0x3ebd1b(0x37d),[ge[_0x3ebd1b(0x37f)]]:_0x3ebd1b(0x3ae),[ge['GLOBAL_ROOMS_CNT_EXCEEDS']]:'session.room-cnt-exceeds'};let Et=class extends _0x32d278{constructor(_0xbd718,_0x2a0471,_0x46b384,_0x316df8,_0x580dae,_0x4f9cf1,_0x2d4032,_0x239e34,_0x7a2bbd){var _0x1adcd5=_0x3ebd1b;super(),N(this,_0x1adcd5(0x2d2),new _0x15d586(0x0)),N(this,_0x1adcd5(0x365),this[_0x1adcd5(0x2d2)][_0x1adcd5(0x477)]()),N(this,_0x1adcd5(0x452),new _0x384b9e()),N(this,_0x1adcd5(0x36c),this[_0x1adcd5(0x452)]['asObservable']()),N(this,'_socket'),N(this,_0x1adcd5(0x2fe)),N(this,_0x1adcd5(0x251)),N(this,_0x1adcd5(0x478),!0x1),N(this,_0x1adcd5(0x25d),null),(this[_0x1adcd5(0x234)]=_0xbd718,this[_0x1adcd5(0x1a8)]=_0x46b384,this[_0x1adcd5(0x1d2)]=_0x316df8,this[_0x1adcd5(0x24c)]=_0x580dae,this[_0x1adcd5(0x2de)]=_0x4f9cf1,this[_0x1adcd5(0x331)]=_0x2d4032,this[_0x1adcd5(0x2f2)]=_0x239e34,this[_0x1adcd5(0x2ae)]=_0x7a2bbd,this['_shouldReportTelemetry']=!!this['_telemetryService'],_0x2a0471[_0x1adcd5(0x2e0)](_0x10896f(this[_0x1adcd5(0x2e3)]))[_0x1adcd5(0x3c0)](_0x124187=>{var _0x1c7a2a=_0x1adcd5,_0x412d93;typeof _0x124187>'u'||(this[_0x1c7a2a(0x279)]=_0x124187,_0x124187?(this[_0x1c7a2a(0x41b)](_0x124187),this[_0x1c7a2a(0x2fe)]=_0x124187['message$'][_0x1c7a2a(0x3c0)](_0x4e7f43=>{var _0x3be894=_0x1c7a2a;_0x4e7f43[_0x3be894(0x42e)]===this[_0x3be894(0x234)]&&this[_0x3be894(0x1fd)](_0x4e7f43);})):(this['_throwTelemetryCollaborationNewChangeset'](),this[_0x1c7a2a(0x2d2)][_0x1c7a2a(0x22a)](0x2),(_0x412d93=this['_socketMessageSubscription'])==null||_0x412d93[_0x1c7a2a(0x3f0)](),this['_socketMessageSubscription']=null));}));}get[_0x3ebd1b(0x385)](){var _0x1975f7=_0x3ebd1b;return this[_0x1975f7(0x2d2)][_0x1975f7(0x222)]();}[_0x3ebd1b(0x2be)](){var _0x14b59f=_0x3ebd1b,_0x299c9e,_0x5472dc;return(_0x5472dc=(_0x299c9e=this['_socket'])==null?void 0x0:_0x299c9e[_0x14b59f(0x316)])!=null?_0x5472dc:null;}[_0x3ebd1b(0x27c)](){var _0x2a190a=_0x3ebd1b;super['dispose'](),this[_0x2a190a(0x2e3)][_0x2a190a(0x22a)](),this[_0x2a190a(0x2e3)][_0x2a190a(0x33c)]();}[_0x3ebd1b(0x301)](){var _0x5ab7a0=_0x3ebd1b,_0x916352,_0xd23490;this[_0x5ab7a0(0x23f)](),(_0x916352=this[_0x5ab7a0(0x279)])==null||_0x916352[_0x5ab7a0(0x351)]({'cmd':F[_0x5ab7a0(0x470)],'data':{'roomID':this[_0x5ab7a0(0x234)]}}),(_0xd23490=this[_0x5ab7a0(0x279)])==null||_0xd23490[_0x5ab7a0(0x301)](),this[_0x5ab7a0(0x452)]['complete'](),this['_sessionStatus$'][_0x5ab7a0(0x33c)](),this[_0x5ab7a0(0x27c)]();}[_0x3ebd1b(0x1fd)](_0x2868a0){var _0x280368=_0x3ebd1b;_0x2868a0[_0x280368(0x265)]===F[_0x280368(0x1b3)]?this[_0x280368(0x481)](_0x2868a0):_0x2868a0['cmd']===F[_0x280368(0x218)]&&this[_0x280368(0x1bd)](_0x2868a0);}[_0x3ebd1b(0x41b)](_0x264e36){var _0x1d08ac=_0x3ebd1b;this[_0x1d08ac(0x2d2)][_0x1d08ac(0x22a)](0x1),_0x264e36[_0x1d08ac(0x351)]({'cmd':F[_0x1d08ac(0x1b3)],'routeKey':this[_0x1d08ac(0x234)],'routeType':'','data':{'rooms':[{'roomID':this[_0x1d08ac(0x234)]}]}});}['_onJoinRoomEvent'](_0x25662d){var _0x44b2de=_0x3ebd1b,_0xa494c;if(_0x25662d['code']in Kt){this[_0x44b2de(0x2f2)]['emitEvent']({'id':se[_0x44b2de(0x49d)],'data':Kt[_0x25662d[_0x44b2de(0x49f)]]}),this[_0x44b2de(0x2d2)]['next'](0x2);return;}this[_0x44b2de(0x2d2)][_0x44b2de(0x22a)](0x3);const _0x3dce0f=(_0xa494c=_0x25662d[_0x44b2de(0x3fe)][_0x44b2de(0x48a)][this[_0x44b2de(0x234)]])==null?void 0x0:_0xa494c[_0x44b2de(0x27d)];_0x3dce0f&&_0x3dce0f[_0x44b2de(0x326)](_0x2d09fb=>this[_0x44b2de(0x2de)][_0x44b2de(0x21b)](this['_unitID'],_0x2d09fb));}[_0x3ebd1b(0x1bd)](_0x1a8efa){var _0xd13945=_0x3ebd1b;try{const _0xb4cf18=_0x1a8efa[_0xd13945(0x3fe)];switch(_0xb4cf18[_0xd13945(0x2dc)]){case _0x29cbe9[_0xd13945(0x400)]:this[_0xd13945(0x242)](_0xb4cf18),this[_0xd13945(0x452)]['next'](_0xb4cf18);break;case _0x29cbe9['USERS_LEAVE']:this[_0xd13945(0x45d)](_0xb4cf18),this[_0xd13945(0x452)][_0xd13945(0x22a)](_0xb4cf18);break;case _0x29cbe9[_0xd13945(0x298)]:case _0x29cbe9[_0xd13945(0x31c)]:this[_0xd13945(0x3b2)](),this[_0xd13945(0x3ce)](),this['_event$']['next'](_0xb4cf18);break;case _0x29cbe9[_0xd13945(0x3da)]:this[_0xd13945(0x1a8)][_0xd13945(0x1b4)](_0xd13945(0x3ba)+JSON[_0xd13945(0x48d)](_0xb4cf18)),this[_0xd13945(0x452)]['next'](_0xb4cf18);break;case _0x29cbe9[_0xd13945(0x338)]:this[_0xd13945(0x331)][_0xd13945(0x26a)](_0xb4cf18[_0xd13945(0x3fe)]),this[_0xd13945(0x452)]['next'](_0xb4cf18);break;default:this[_0xd13945(0x452)][_0xd13945(0x22a)](_0xb4cf18);}}catch(_0x20f818){this['_logService'][_0xd13945(0x1b4)](_0x20f818,_0x1a8efa);}}[_0x3ebd1b(0x242)](_0x527cb9){var _0x25b36b=_0x3ebd1b;this['_memberService']['updateMember'](this[_0x25b36b(0x234)],_0x527cb9[_0x25b36b(0x3fe)]);}[_0x3ebd1b(0x45d)](_0x267257){var _0x39bd1c=_0x3ebd1b;this['_memberService'][_0x39bd1c(0x1ec)](this[_0x39bd1c(0x234)],_0x267257[_0x39bd1c(0x3fe)][_0x39bd1c(0x316)]);}async[_0x3ebd1b(0x351)](_0x2be98f,_0x2b433a){var _0x34df09=_0x3ebd1b;if(this['sessionStatus']!==0x3||!this[_0x34df09(0x279)])throw new Error(_0x34df09(0x408));try{_0x2be98f[_0x34df09(0x2dc)]===_0x29cbe9[_0x34df09(0x47f)]&&(this[_0x34df09(0x39f)](),this[_0x34df09(0x44e)](_0x2be98f)),this[_0x34df09(0x279)][_0x34df09(0x351)]({'cmd':F['INGEST'],'routeKey':_0x2b433a,'routeType':'','data':_0x2be98f});}catch(_0x596bd7){this[_0x34df09(0x1a8)]['error'](_0x596bd7);}}['_scheduleCollaborationTimeoutTimer'](){var _0x16e76d=_0x3ebd1b,_0x4ba801;this[_0x16e76d(0x251)]=setTimeout(()=>{var _0x1726fd=_0x16e76d;this[_0x1726fd(0x251)]=null,this[_0x1726fd(0x2f2)][_0x1726fd(0x2a0)]({'id':se[_0x1726fd(0x2fb)]});},(_0x4ba801=this[_0x16e76d(0x1d2)][_0x16e76d(0x445)](mi))!=null?_0x4ba801:gi);}[_0x3ebd1b(0x3ce)](){var _0x4d5595=_0x3ebd1b;this[_0x4d5595(0x251)]&&(clearTimeout(this['_collaborationTimeoutTimer']),this[_0x4d5595(0x251)]=null);}[_0x3ebd1b(0x44e)](_0x47d595){var _0x591067=_0x3ebd1b;if(!this[_0x591067(0x478)])return;const {data:_0x552e87}=_0x47d595,{unitID:_0x538a2d,changeset:_0x401f84}=_0x552e87,{mutations:_0x772af8,type:_0x2034b0}=_0x401f84;this[_0x591067(0x25d)]={'unitId':_0x538a2d,'type':_0x2034b0,'startTime':performance[_0x591067(0x315)](),'stopTime':0x0,'duration':0x0,'size':Hr(_0x772af8)};}[_0x3ebd1b(0x3b2)](){var _0x1ae1e4=_0x3ebd1b;if(this[_0x1ae1e4(0x478)]){if(!this['_telemetryInfo']){this[_0x1ae1e4(0x1a8)][_0x1ae1e4(0x1b4)](_0x1ae1e4(0x1e1),_0x1ae1e4(0x290));return;}this[_0x1ae1e4(0x25d)]['stopTime']=performance['now'](),this['_telemetryInfo'][_0x1ae1e4(0x321)]=this[_0x1ae1e4(0x25d)][_0x1ae1e4(0x3ed)]-this[_0x1ae1e4(0x25d)]['startTime'],this[_0x1ae1e4(0x2ae)][_0x1ae1e4(0x420)]($r,this['_telemetryInfo']),this[_0x1ae1e4(0x25d)]=null;}}[_0x3ebd1b(0x23f)](){var _0x3d0cf1=_0x3ebd1b;this[_0x3d0cf1(0x25d)]=null;}};function _0x44ec(_0xeda207,_0x55cd01){var _0x1c7c44=_0x1c7c();return _0x44ec=function(_0x44ecfc,_0x56497e){_0x44ecfc=_0x44ecfc-0x1a3;var _0x338375=_0x1c7c44[_0x44ecfc];return _0x338375;},_0x44ec(_0xeda207,_0x55cd01);}Et=Vr([me(0x2,_0x53833e),me(0x3,_0x2a770c),me(0x4,_0x4f3deb(_0xb18863)),me(0x5,_0x4f3deb(xe)),me(0x6,_0x4f3deb(Ti)),me(0x7,_0x4f3deb(pe)),me(0x8,_0x3b02db(_0x5da75c))],Et);var Wr=Object[_0x3ebd1b(0x2a5)],Kr=(_0x538057,_0x591c25,_0x287d02,_0x4d8ae5)=>{var _0x414315=_0x3ebd1b;for(var _0xc83000=_0x4d8ae5>0x1?void 0x0:_0x4d8ae5?Wr(_0x591c25,_0x287d02):_0x591c25,_0x47a435=_0x538057[_0x414315(0x363)]-0x1,_0x56a3f3;_0x47a435>=0x0;_0x47a435--)(_0x56a3f3=_0x538057[_0x47a435])&&(_0xc83000=_0x56a3f3(_0xc83000)||_0xc83000);return _0xc83000;},be=(_0x4a7710,_0x206998)=>(_0x1083a8,_0x454cc8)=>_0x206998(_0x1083a8,_0x454cc8,_0x4a7710);let Le=class extends _0x18c765{constructor(_0xa4f7cd,_0x5bd1f8,_0x50d874,_0xfd538,_0x2eb622,_0x3a0fc1){var _0x105cdc=_0x3ebd1b;super(),N(this,_0x105cdc(0x2ca),new _0x15d586(void 0x0)),N(this,_0x105cdc(0x3c9),this['_socket$'][_0x105cdc(0x477)]()),N(this,_0x105cdc(0x402),null),N(this,'_sessions',new Map()),N(this,'_status$',new _0x15d586(Ee['IDLE'])),N(this,_0x105cdc(0x3de),this[_0x105cdc(0x238)][_0x105cdc(0x477)]()),N(this,_0x105cdc(0x1c9),!0x1),N(this,'_retryConnectingTimer'),N(this,_0x105cdc(0x1bc),0x0),N(this,_0x105cdc(0x21c)),N(this,'_timeoutTimer'),(this['_injector']=_0xa4f7cd,this[_0x105cdc(0x1a8)]=_0x5bd1f8,this[_0x105cdc(0x1d2)]=_0x50d874,this[_0x105cdc(0x360)]=_0xfd538,this[_0x105cdc(0x2f2)]=_0x2eb622,this[_0x105cdc(0x336)]=_0x3a0fc1,this['_listenToNetworkCondition']());}get['_socket'](){var _0x1fb41e=_0x3ebd1b;return this[_0x1fb41e(0x2ca)]['getValue']();}['_listenToNetworkCondition'](){var _0xe9413=_0x3ebd1b;this[_0xe9413(0x336)]&&this['disposeWithMe'](this[_0xe9413(0x336)][_0xe9413(0x3f4)][_0xe9413(0x3c0)](_0x5f37cb=>{var _0x5427a5=_0xe9413;_0x5f37cb&&!this[_0x5427a5(0x279)]&&this[_0x5427a5(0x215)](),_0x5f37cb||this['_onOffline']();}));}[_0x3ebd1b(0x27c)](){var _0x3abae0=_0x3ebd1b;super[_0x3abae0(0x27c)](),this[_0x3abae0(0x270)](),this[_0x3abae0(0x392)](),this['_clearHeartbeatTimer'](),this[_0x3abae0(0x29d)]['forEach'](_0x2d5857=>_0x2d5857[_0x3abae0(0x27c)]()),this['_sessions']['clear'](),this['_status$'][_0x3abae0(0x33c)]();}async[_0x3ebd1b(0x26f)](_0x268b94){var _0x171318=_0x3ebd1b;if(this[_0x171318(0x29d)][_0x171318(0x386)](_0x268b94))return this['_sessions'][_0x171318(0x285)](_0x268b94);this[_0x171318(0x350)]();const _0x172763=this['_injector'][_0x171318(0x1fc)](Et,_0x268b94,this[_0x171318(0x2ca)][_0x171318(0x477)]());return this[_0x171318(0x29d)][_0x171318(0x3c2)](_0x268b94,_0x172763),_0x172763;}[_0x3ebd1b(0x1aa)](_0x680dcb){var _0x3edba2=_0x3ebd1b,_0x104a20;const _0xe8f61e=this['_sessions']['get'](_0x680dcb);_0xe8f61e&&(this[_0x3edba2(0x29d)][_0x3edba2(0x488)](_0x680dcb),_0xe8f61e[_0x3edba2(0x301)]()),this[_0x3edba2(0x29d)][_0x3edba2(0x461)]||(_0x104a20=this[_0x3edba2(0x279)])==null||_0x104a20[_0x3edba2(0x301)]();}[_0x3ebd1b(0x215)](){var _0x504b26=_0x3ebd1b;this[_0x504b26(0x1bc)]=0x0,this['_clearRetryConnectingTimer'](),this[_0x504b26(0x3e8)]();}['_clearRetryConnectingTimer'](){var _0x33eefb=_0x3ebd1b;this[_0x33eefb(0x499)]!=null&&(clearTimeout(this[_0x33eefb(0x499)]),this[_0x33eefb(0x499)]=null);}async['_createSocket'](){var _0x85ef42=_0x3ebd1b,_0x391ae3,_0x117000;const _0x2f03aa=this[_0x85ef42(0x1d2)]['getConfig'](Er),_0x5328f5=this['_configService'][_0x85ef42(0x445)](q),_0x25a835=(_0x117000=(_0x391ae3=_0x5328f5==null?void 0x0:_0x5328f5['collabWebSocketUrl'])!=null?_0x391ae3:_0x2f03aa)!=null?_0x117000:Ir,_0x4b91b6=await this[_0x85ef42(0x360)]['createSocket'](_0x25a835);return this[_0x85ef42(0x402)]=_0x4b91b6,_0x4b91b6;}async['_tryEnsureSocket'](){var _0x5adc1a=_0x3ebd1b,_0x1435db,_0x50fc95;try{const _0x4ddc45=(_0x50fc95=(_0x1435db=this[_0x5adc1a(0x279)])!=null?_0x1435db:this[_0x5adc1a(0x402)])!=null?_0x50fc95:await this[_0x5adc1a(0x31b)]();if(_0x4ddc45){const _0x3face8=_0x4ddc45[_0x5adc1a(0x351)];_0x4ddc45[_0x5adc1a(0x351)]=_0x38fd23=>(this[_0x5adc1a(0x42d)](),_0x3face8['apply'](_0x4ddc45,[_0x38fd23])),_0x4ddc45[_0x5adc1a(0x3b4)][_0x5adc1a(0x3c0)](_0xae1bb5=>this[_0x5adc1a(0x41c)](_0x4ddc45,_0xae1bb5)),_0x4ddc45[_0x5adc1a(0x2e4)][_0x5adc1a(0x2e0)](_0x36ff41(0x1))[_0x5adc1a(0x3c0)](_0x20c05a=>this[_0x5adc1a(0x1a8)]['error'](_0x5adc1a(0x253),_0x20c05a)),_0x4ddc45['open$'][_0x5adc1a(0x2e0)](_0x36ff41(0x1))['subscribe'](()=>{this['_onConnectionOpen'](_0x4ddc45);}),_0x4ddc45[_0x5adc1a(0x254)]['pipe'](_0x36ff41(0x1))[_0x5adc1a(0x3c0)](_0x5b5e70=>{var _0x1feb85=_0x5adc1a;this[_0x1feb85(0x1a8)][_0x1feb85(0x3fa)](_0x1feb85(0x42a),_0x1feb85(0x1f4),_0x5b5e70),this['_onConnectionFailed']();});}}catch(_0x196cd9){this[_0x5adc1a(0x1a8)][_0x5adc1a(0x1b4)](_0x196cd9),this['_onConnectionFailed']();}}['_onConnectionOpen'](_0x3f7f40){var _0x2af318=_0x3ebd1b;this[_0x2af318(0x1a8)]['debug']('[CollaborationSessionService]',_0x2af318(0x3ac)),_0x3f7f40['send']({'cmd':F[_0x2af318(0x48f)]}),this[_0x2af318(0x42d)]();}[_0x3ebd1b(0x20e)](){var _0x15f9de=_0x3ebd1b;this[_0x15f9de(0x1c9)]=!0x1,this[_0x15f9de(0x402)]=null,this[_0x15f9de(0x238)][_0x15f9de(0x22a)](Ee['OFFLINE']),this[_0x15f9de(0x2ca)]['next'](null),this['_clearTimeoutTimer'](),this[_0x15f9de(0x228)]();}[_0x3ebd1b(0x32b)](){var _0x57968a=_0x3ebd1b,_0x38482d;this[_0x57968a(0x20e)](),this[_0x57968a(0x1bc)]<((_0x38482d=this['_configService']['getConfig'](br))!=null?_0x38482d:yr)?(this[_0x57968a(0x2f2)][_0x57968a(0x2a0)]({'id':se[_0x57968a(0x30f)]}),this['_tryReconnect']()):this[_0x57968a(0x2f2)][_0x57968a(0x2a0)]({'id':se[_0x57968a(0x2b8)]});}[_0x3ebd1b(0x3e8)](){var _0x510b06=_0x3ebd1b,_0x52cfc4;const _0x46eac3=this[_0x510b06(0x1bc)],_0x29fac2=this[_0x510b06(0x1d2)][_0x510b06(0x445)](q),_0x215005=_0x46eac3===0x0?0x0:((_0x52cfc4=_0x29fac2==null?void 0x0:_0x29fac2[_0x510b06(0x2a6)])!=null?_0x52cfc4:Rr)*0x2**_0x46eac3;this[_0x510b06(0x499)]=setTimeout(()=>{var _0x54c2f1=_0x510b06;clearTimeout(this[_0x54c2f1(0x499)]),this[_0x54c2f1(0x499)]=null,this[_0x54c2f1(0x350)]();},_0x215005),this[_0x510b06(0x1bc)]+=0x1;}[_0x3ebd1b(0x41c)](_0xcdf8c,_0x1b7795){var _0x2e34a3=_0x3ebd1b;const {cmd:_0x39c09d}=_0x1b7795;_0x39c09d===F[_0x2e34a3(0x48f)]&&!this['_socketReady']&&(_0xcdf8c['memberID']=_0x1b7795['data'][_0x2e34a3(0x316)],this[_0x2e34a3(0x2ca)][_0x2e34a3(0x22a)](_0xcdf8c),this[_0x2e34a3(0x238)][_0x2e34a3(0x22a)](Ee[_0x2e34a3(0x34d)]),this[_0x2e34a3(0x1c9)]=!0x0,this['_candidateSocket']=null),_0x39c09d===F[_0x2e34a3(0x2f1)]&&this[_0x2e34a3(0x392)](),this[_0x2e34a3(0x42d)]();}[_0x3ebd1b(0x42d)](){var _0x5f23ec=_0x3ebd1b,_0x3c4272;this['_clearHeartbeatTimer'](),this[_0x5f23ec(0x21c)]=setTimeout(()=>this[_0x5f23ec(0x2af)](),(_0x3c4272=this['_configService'][_0x5f23ec(0x445)](Tr))!=null?_0x3c4272:Cr);}['_sendHeartbeat'](){var _0x179e4a=_0x3ebd1b;this['_socket'][_0x179e4a(0x351)]({'cmd':F[_0x179e4a(0x2f1)]}),this[_0x179e4a(0x3a1)]();}[_0x3ebd1b(0x3a1)](){var _0x2c10c8=_0x3ebd1b,_0x1cd6a5;this[_0x2c10c8(0x309)]=setTimeout(()=>this[_0x2c10c8(0x32b)](),(_0x1cd6a5=this[_0x2c10c8(0x1d2)][_0x2c10c8(0x445)](mi))!=null?_0x1cd6a5:gi);}[_0x3ebd1b(0x228)](){var _0x875dc=_0x3ebd1b;this[_0x875dc(0x21c)]!=null&&(clearTimeout(this[_0x875dc(0x21c)]),this[_0x875dc(0x21c)]=null);}[_0x3ebd1b(0x392)](){var _0x15c9d4=_0x3ebd1b;this[_0x15c9d4(0x309)]!=null&&(clearTimeout(this[_0x15c9d4(0x309)]),this['_timeoutTimer']=null);}};Le=Kr([be(0x0,_0x4f3deb(_0x4fddf8)),be(0x1,_0x53833e),be(0x2,_0x2a770c),be(0x3,Ii),be(0x4,_0x4f3deb(pe)),be(0x5,_0x3b02db(Ar))],Le);const G=[];for(let i=0x0;i<0x100;++i)G[_0x3ebd1b(0x427)]((i+0x100)[_0x3ebd1b(0x1ab)](0x10)[_0x3ebd1b(0x1dc)](0x1));function Yr(_0x5c7aab,_0x1f486f=0x0){var _0x185b13=_0x3ebd1b;return(G[_0x5c7aab[_0x1f486f+0x0]]+G[_0x5c7aab[_0x1f486f+0x1]]+G[_0x5c7aab[_0x1f486f+0x2]]+G[_0x5c7aab[_0x1f486f+0x3]]+'-'+G[_0x5c7aab[_0x1f486f+0x4]]+G[_0x5c7aab[_0x1f486f+0x5]]+'-'+G[_0x5c7aab[_0x1f486f+0x6]]+G[_0x5c7aab[_0x1f486f+0x7]]+'-'+G[_0x5c7aab[_0x1f486f+0x8]]+G[_0x5c7aab[_0x1f486f+0x9]]+'-'+G[_0x5c7aab[_0x1f486f+0xa]]+G[_0x5c7aab[_0x1f486f+0xb]]+G[_0x5c7aab[_0x1f486f+0xc]]+G[_0x5c7aab[_0x1f486f+0xd]]+G[_0x5c7aab[_0x1f486f+0xe]]+G[_0x5c7aab[_0x1f486f+0xf]])[_0x185b13(0x3a8)]();}let ut;const qr=new Uint8Array(0x10);function zr(){var _0x4ecd9a=_0x3ebd1b;if(!ut){if(typeof crypto>'u'||!crypto[_0x4ecd9a(0x3a7)])throw new Error(_0x4ecd9a(0x3cf));ut=crypto[_0x4ecd9a(0x3a7)][_0x4ecd9a(0x1ce)](crypto);}return ut(qr);}const Jr=typeof crypto<'u'&&crypto['randomUUID']&&crypto[_0x3ebd1b(0x40a)]['bind'](crypto),Yt={'randomUUID':Jr};function Xr(_0xa42b24,_0x1bc9e4,_0x5e9b){var _0x1348bd=_0x3ebd1b,_0x172860,_0x3e7b45,_0x3a3b5e;if(Yt[_0x1348bd(0x40a)]&&!_0xa42b24)return Yt[_0x1348bd(0x40a)]();_0xa42b24=_0xa42b24||{};const _0x916498=(_0x3a3b5e=(_0x3e7b45=_0xa42b24[_0x1348bd(0x247)])!=null?_0x3e7b45:(_0x172860=_0xa42b24[_0x1348bd(0x3d8)])==null?void 0x0:_0x172860[_0x1348bd(0x33d)](_0xa42b24))!=null?_0x3a3b5e:zr();if(_0x916498[_0x1348bd(0x363)]<0x10)throw new Error('Random\x20bytes\x20length\x20must\x20be\x20>=\x2016');return _0x916498[0x6]=_0x916498[0x6]&0xf|0x40,_0x916498[0x8]=_0x916498[0x8]&0x3f|0x80,Yr(_0x916498);}const J=_0x1ecba2(_0x3ebd1b(0x30d));function Bs(_0x4a113b){return'unit-cache-'+_0x4a113b;}var Zr=Object['getOwnPropertyDescriptor'],Qr=(_0x5e6fe2,_0x241259,_0x48f9f0,_0x1fcd55)=>{var _0x3ff153=_0x3ebd1b;for(var _0x356b6e=_0x1fcd55>0x1?void 0x0:_0x1fcd55?Zr(_0x241259,_0x48f9f0):_0x241259,_0x155cb2=_0x5e6fe2[_0x3ff153(0x363)]-0x1,_0xf28acf;_0x155cb2>=0x0;_0x155cb2--)(_0xf28acf=_0x5e6fe2[_0x155cb2])&&(_0x356b6e=_0xf28acf(_0x356b6e)||_0x356b6e);return _0x356b6e;},dt=(_0x3e294d,_0x5a6fd2)=>(_0xc02f93,_0x5ae99d)=>_0x5a6fd2(_0xc02f93,_0x5ae99d,_0x3e294d);function en(_0x1980e9){var _0x3b327e=_0x3ebd1b;const {unitID:_0x3bd0ea,mutations:_0x2a0e10}=_0x1980e9;return{'unitId':_0x3bd0ea,'subUnitId':_0x2a0e10[0x0][_0x3b327e(0x490)][_0x3b327e(0x2c4)]};}let it=class{constructor(_0x2d5e8a,_0x33012a,_0x2571a1){var _0x2a8abb=_0x3ebd1b;this[_0x2a8abb(0x346)]=_0x2d5e8a,this['_transformService']=_0x33012a,this[_0x2a8abb(0x34b)]=_0x2571a1;}[_0x3ebd1b(0x344)](_0x428d8f){var _0x1ac8b4=_0x3ebd1b,_0x487ea5,_0x2227dc,_0x28e4b6,_0x3bfb5d;const _0x5da134=this[_0x1ac8b4(0x346)][_0x1ac8b4(0x285)](_0x450157),{unitId:_0x5cab51,subUnitId:_0x439ff6}=en(_0x428d8f),_0x429dbc=_0x5da134==null?void 0x0:_0x5da134[_0x1ac8b4(0x2d7)](_0x5cab51)['getCurrentSelections'](),_0x49297c=(_0x2227dc=(_0x487ea5=this['_instanceService'][_0x1ac8b4(0x2d5)](_0x5cab51))==null?void 0x0:_0x487ea5['getActiveSheet']())==null?void 0x0:_0x2227dc[_0x1ac8b4(0x49c)]();if(_0x429dbc[_0x1ac8b4(0x363)]===0x0||!_0x5cab51||!_0x439ff6)return;const _0x493ae1=[{'id':_0x422733['id'],'params':{'unitId':_0x5cab51,'subUnitId':_0x49297c,'selections':_0x1bd747['deepClone'](_0x429dbc)}}],_0x1a7982=this['_transformService'][_0x1ac8b4(0x44f)](_0x428d8f,_0x493ae1);if(!_0xa34b7(_0x1a7982))throw _0x1a7982[_0x1ac8b4(0x1b4)];const _0x586ac1=(_0x3bfb5d=(_0x28e4b6=_0x1a7982[_0x1ac8b4(0x1b7)][0x0])==null?void 0x0:_0x28e4b6['params'])==null?void 0x0:_0x3bfb5d[_0x1ac8b4(0x2eb)];if(Array['isArray'](_0x586ac1)&&_0x586ac1[_0x1ac8b4(0x363)]){if(_0x586ac1[_0x1ac8b4(0x363)]===_0x493ae1[0x0][_0x1ac8b4(0x490)][_0x1ac8b4(0x2eb)][_0x1ac8b4(0x363)]&&_0x586ac1[_0x1ac8b4(0x2ac)]((_0x441f2b,_0x5bf236)=>_0x3e8061[_0x1ac8b4(0x23b)](_0x441f2b['range'],_0x493ae1[0x0]['params'][_0x1ac8b4(0x2eb)][_0x5bf236][_0x1ac8b4(0x3bf)])))return;this['_injector'][_0x1ac8b4(0x285)](_0x13fb4e)[_0x1ac8b4(0x329)](_0x422733['id'],{'unitId':_0x5cab51,'subUnitId':_0x49297c,'selections':_0x586ac1});}}};it=Qr([dt(0x0,_0x4f3deb(_0x4fddf8)),dt(0x1,_0x3a4a71),dt(0x2,_0x42c510)],it);const ht=_0x1ecba2(_0x3ebd1b(0x2d0));var Ci=(_0x5543e9=>(_0x5543e9[_0x5543e9[_0x3ebd1b(0x3b8)]=0x0]=_0x3ebd1b(0x3b8),_0x5543e9[_0x5543e9[_0x3ebd1b(0x2fa)]=0x1]=_0x3ebd1b(0x2fa),_0x5543e9))(Ci||{});const tn=new Set([_0x5c3d3c['id']]);function qt(_0x29e300,_0x4a439d,_0x429b03,_0x22a398,_0x2c6b4b){var _0x1cbdf5=_0x3ebd1b,_0x5ed849,_0x52dc31,_0x332a87,_0x109ec7;const _0x203395=[];for(const _0x3cf54e of _0x29e300)if(tn['has'](_0x3cf54e['id'])){if(_0x203395[_0x1cbdf5(0x363)]>0x0)break;_0x203395[_0x1cbdf5(0x427)](_0x3cf54e);break;}else _0x203395[_0x1cbdf5(0x427)](_0x3cf54e);const _0x9ab227=(_0x52dc31=(_0x5ed849=_0x2c6b4b[_0x1cbdf5(0x24b)]())==null?void 0x0:_0x5ed849[_0x1cbdf5(0x3bb)])!=null?_0x52dc31:_0x1cbdf5(0x390),_0x562a55=(_0x109ec7=(_0x332a87=_0x2c6b4b[_0x1cbdf5(0x24b)]())==null?void 0x0:_0x332a87[_0x1cbdf5(0x316)])!=null?_0x109ec7:_0x1cbdf5(0x390);return{'changeset':{'unitID':_0x4a439d,'type':_0x49cbd7(_0x429b03['getUnitType'](_0x4a439d)),'baseRev':_0x22a398[_0x1cbdf5(0x3db)](_0x4a439d),'revision':0x0,'userID':_0x9ab227,'memberID':_0x562a55,'mutations':_0x203395},'pendingMutations':_0x29e300[_0x1cbdf5(0x1dc)](_0x203395[_0x1cbdf5(0x363)])};}function rn(_0x1fe974,_0x554b62,_0x5876df,_0x361bf2,_0x48958c){var _0x1645ba=_0x3ebd1b,_0x5bfdc9,_0x3b7713,_0x4bcb3c,_0x4e2eaf;const _0x5d7257=[_0x1fe974['reduce']((_0x9b04f9,_0x45b8a2)=>{var _0x3a43a1=_0x44ec,_0x476fa3;const {id:_0x190c59}=_0x9b04f9,{id:_0x24195d,type:_0x23e203}=_0x45b8a2,_0x5b2b91=(_0x476fa3=_0x9b04f9['params'])!=null?_0x476fa3:{'actions':null},_0x3636fe=_0x45b8a2[_0x3a43a1(0x490)];if(_0x190c59&&_0x190c59!==_0x24195d)throw new Error(_0x3a43a1(0x305)+_0x190c59+_0x3a43a1(0x46b)+_0x24195d+'.');return{..._0x9b04f9,'id':_0x24195d,'type':_0x23e203,'params':{'unitId':_0x3636fe[_0x3a43a1(0x388)],'textRanges':_0x3636fe[_0x3a43a1(0x409)],'actions':_0x4a9ec1[_0x3a43a1(0x431)](_0x5b2b91[_0x3a43a1(0x1ea)],_0x3636fe[_0x3a43a1(0x1ea)])}};},{})],_0x14404a=(_0x3b7713=(_0x5bfdc9=_0x48958c['getCurrentUser']())==null?void 0x0:_0x5bfdc9[_0x1645ba(0x3bb)])!=null?_0x3b7713:_0x1645ba(0x390),_0x216e97=(_0x4e2eaf=(_0x4bcb3c=_0x48958c[_0x1645ba(0x24b)]())==null?void 0x0:_0x4bcb3c['memberID'])!=null?_0x4e2eaf:_0x1645ba(0x390);return{'changeset':{'unitID':_0x554b62,'type':_0x49cbd7(_0x5876df[_0x1645ba(0x23d)](_0x554b62)),'baseRev':_0x361bf2[_0x1645ba(0x3db)](_0x554b62),'revision':0x0,'userID':_0x14404a,'memberID':_0x216e97,'mutations':_0x5d7257},'pendingMutations':[]};}function Ri(_0x231877,_0x3017fc){var _0x181c39=_0x3ebd1b;const _0x41f4f1=new _0x257aa6(0x1);return setTimeout(()=>_0x41f4f1[_0x181c39(0x22a)](_0x3017fc),_0x231877),_0x41f4f1[_0x181c39(0x477)]()['pipe'](_0x3396e8(0x1));}const nn={'id':_0x402638['id'],'type':_0x20dd31[_0x3ebd1b(0x202)],'params':{}};var sn=Object['getOwnPropertyDescriptor'],Te=(_0x4f1c33,_0x3f73e6,_0x3a68a4,_0x24e86f)=>{var _0xe5efc7=_0x3ebd1b;for(var _0x3615ce=_0x24e86f>0x1?void 0x0:_0x24e86f?sn(_0x3f73e6,_0x3a68a4):_0x3f73e6,_0x1e4980=_0x4f1c33[_0xe5efc7(0x363)]-0x1,_0x215a96;_0x1e4980>=0x0;_0x1e4980--)(_0x215a96=_0x4f1c33[_0x1e4980])&&(_0x3615ce=_0x215a96(_0x3615ce)||_0x3615ce);return _0x3615ce;},P=(_0x40a190,_0x333219)=>(_0x46c2a2,_0x55a9fd)=>_0x333219(_0x46c2a2,_0x55a9fd,_0x40a190),bi=(_0x57d084=>(_0x57d084[_0x3ebd1b(0x29c)]=_0x3ebd1b(0x307),_0x57d084[_0x3ebd1b(0x2ab)]=_0x3ebd1b(0x2b9),_0x57d084[_0x3ebd1b(0x449)]='pending',_0x57d084['AWAITING']=_0x3ebd1b(0x2f5),_0x57d084['AWAITING_WITH_PENDING']='awaiting_with_pending',_0x57d084[_0x3ebd1b(0x43f)]=_0x3ebd1b(0x353),_0x57d084[_0x3ebd1b(0x495)]=_0x3ebd1b(0x25b),_0x57d084[_0x3ebd1b(0x3ad)]=_0x3ebd1b(0x358),_0x57d084))(bi||{});const yi=0xea60;class Ce{constructor(_0x27312c,_0x3a8b69,_0x5a3ea5,_0x3b53f8,_0x53cf12,_0x4ff00d,_0x3dcb5c,_0x5ecb2a,_0x21ef9a){var _0x25010d=_0x3ebd1b;N(this,'_awaitingChangeset',null),N(this,_0x25010d(0x47c),[]),(this[_0x25010d(0x31d)]=_0x27312c,this['type']=_0x3a8b69,this[_0x25010d(0x244)]=_0x53cf12,this[_0x25010d(0x2bd)]=_0x4ff00d,this['_undoRedoService']=_0x3dcb5c,this[_0x25010d(0x3e3)]=_0x5ecb2a,this[_0x25010d(0x49e)]=_0x21ef9a,this[_0x25010d(0x457)]=_0x5a3ea5,this[_0x25010d(0x47c)]=_0x3b53f8);}['_checkMissing'](_0x17f3aa){var _0xdb3515=_0x3ebd1b;const _0x554de0=this['_revisionService'][_0xdb3515(0x3db)](this[_0xdb3515(0x31d)]);return _0x17f3aa['revision']>_0x554de0+0x1?(this[_0xdb3515(0x244)][_0xdb3515(0x224)]({'from':_0x554de0,'to':_0x17f3aa[_0xdb3515(0x440)]-0x1}),!0x0):!0x1;}['_transformUndoredo'](_0x19ca78){var _0x2a261b=_0x3ebd1b;this[_0x2a261b(0x3e5)]['transformUndoRedo'](this[_0x2a261b(0x31d)],_0x19ca78);}[_0x3ebd1b(0x48b)](_0x2dd8ee){var _0xb6cfe5=_0x3ebd1b,_0x9efc31,_0x158b5d;(_0x158b5d=(_0x9efc31=this['_handler'])[_0xb6cfe5(0x3cd)])==null||_0x158b5d[_0xb6cfe5(0x33d)](_0x9efc31,_0x2dd8ee);}[_0x3ebd1b(0x1df)](_0x31261d){var _0x4e99b7=_0x3ebd1b,_0x111e80,_0x5e43e3;return(_0x5e43e3=(_0x111e80=this[_0x4e99b7(0x244)])['onTransformIME'])==null?void 0x0:_0x5e43e3[_0x4e99b7(0x33d)](_0x111e80,_0x31261d);}[_0x3ebd1b(0x2c0)](_0x443ff0){var _0x3ff9b2=_0x3ebd1b,_0xf93935,_0x8dbe07;return(_0x8dbe07=(_0xf93935=this[_0x3ff9b2(0x244)])['onTransformState'])==null?void 0x0:_0x8dbe07['call'](_0xf93935,_0x443ff0);}[_0x3ebd1b(0x259)](_0x43aa57){var _0x221a19=_0x3ebd1b,_0x3b2a93,_0x5bc315,_0x37c909;return(_0x37c909=(_0x5bc315=(_0x3b2a93=this[_0x221a19(0x244)])[_0x221a19(0x258)])==null?void 0x0:_0x5bc315[_0x221a19(0x33d)](_0x3b2a93,_0x43aa57))!=null?_0x37c909:_0x43aa57;}['_transformRemoteChangesetByStateCache'](_0x461b1b){var _0x4b21f2=_0x3ebd1b,_0x56bbb1,_0x5b2274,_0x19abc2;return(_0x19abc2=(_0x5b2274=(_0x56bbb1=this[_0x4b21f2(0x244)])[_0x4b21f2(0x2f3)])==null?void 0x0:_0x5b2274['call'](_0x56bbb1,_0x461b1b))!=null?_0x19abc2:_0x461b1b;}[_0x3ebd1b(0x2db)](_0x4e6042){var _0x5467c8=_0x3ebd1b,_0x497082,_0x3f7aed;if(this[_0x5467c8(0x3a3)]===Q['UNIVER_DOC']){const {unitID:_0x16af13,mutations:_0x443ce,memberID:_0x5ca9f5}=_0x4e6042,_0x212171=_0x443ce[0x0][_0x5467c8(0x490)][_0x5467c8(0x409)];Array['isArray'](_0x212171)&&_0x212171[_0x5467c8(0x363)]>0x0&&((_0x3f7aed=(_0x497082=this[_0x5467c8(0x244)])[_0x5467c8(0x1c6)])==null||_0x3f7aed['call'](_0x497082,{'unitID':_0x16af13,'memberID':_0x5ca9f5,'textRanges':_0x212171}));}}[_0x3ebd1b(0x3a2)](){var _0x4e0559=_0x3ebd1b,_0x4c5348;(_0x4c5348=this['_localCacheService'])==null||_0x4c5348['updateOfflineData'](this[_0x4e0559(0x31d)],this[_0x4e0559(0x3a3)],this[_0x4e0559(0x457)],this['_pendingMutations']);}[_0x3ebd1b(0x2a1)](){var _0x16b013=_0x3ebd1b;return this[_0x16b013(0x3e3)][_0x16b013(0x3db)](this[_0x16b013(0x31d)]);}['_incrementRevisionNumber'](){var _0x545d5c=_0x3ebd1b;this[_0x545d5c(0x3e3)][_0x545d5c(0x341)](this['unitID']);}[_0x3ebd1b(0x2d4)](_0x4b8048){var _0x1685fe=_0x3ebd1b,_0x3d48aa;let _0x2f7aa6=this['_transformRemoteChangesetByIMECache'](_0x4b8048);_0x2f7aa6=this['_transformRemoteChangesetByStateCache'](_0x2f7aa6);const _0x213421=_0x46929e(_0x2f7aa6[_0x1685fe(0x2d9)],this['_commandService'],{'fromCollab':!0x0});if(!_0x213421['result'])throw _0x213421[_0x1685fe(0x1b4)]instanceof Error?_0x213421[_0x1685fe(0x1b4)]:new Error((_0x3d48aa=_0x213421[_0x1685fe(0x1b4)])!=null?_0x3d48aa:_0x1685fe(0x322));this[_0x1685fe(0x1df)](_0x2f7aa6),this[_0x1685fe(0x2c0)](_0x2f7aa6),this[_0x1685fe(0x3e4)](_0x4b8048),this[_0x1685fe(0x48b)](_0x2f7aa6),this[_0x1685fe(0x2db)](_0x2f7aa6),this[_0x1685fe(0x225)]();}}let Ne=class extends Ce{constructor(_0x12080b,_0x5e3356,_0x5cf985,_0x4a0f90,_0x435c96,_0x3d5637,_0xf406e8,_0x47f651,_0x51bf73,_0x39f3c2){var _0x5c3c0d=_0x3ebd1b;super(_0x12080b,_0x5e3356,null,[],_0x5cf985,_0xf406e8,_0x3d5637,_0x4a0f90,_0x39f3c2),N(this,_0x5c3c0d(0x3a5),_0x5c3c0d(0x2b9)),(this[_0x5c3c0d(0x346)]=_0x435c96,this[_0x5c3c0d(0x1a8)]=_0x47f651,this['_transformService']=_0x51bf73,this[_0x5c3c0d(0x294)]=_0x39f3c2);}[_0x3ebd1b(0x3d0)](_0x334398){var _0x351583=_0x3ebd1b;const _0x734a92=this[_0x351583(0x346)][_0x351583(0x1fc)](oe,this['unitID'],this[_0x351583(0x3a3)],[_0x334398],this[_0x351583(0x244)]);return _0x734a92[_0x351583(0x371)](),_0x734a92[_0x351583(0x3a2)](),_0x734a92;}[_0x3ebd1b(0x27e)](_0x56017c){var _0x5a39a4=_0x3ebd1b;if(this[_0x5a39a4(0x2e9)](_0x56017c))return this[_0x5a39a4(0x346)][_0x5a39a4(0x1fc)](ee,this[_0x5a39a4(0x31d)],this[_0x5a39a4(0x3a3)],null,[],null,[_0x56017c],this[_0x5a39a4(0x244)]);try{const _0x3ab250=this[_0x5a39a4(0x24d)][_0x5a39a4(0x44f)](_0x56017c,[nn]);if(_0xa34b7(_0x3ab250)){const {c1Prime:_0x373e18}=_0x3ab250;return this['_executeRemoteChangeset'](_0x373e18),this;}throw _0x3ab250[_0x5a39a4(0x1b4)];}catch(_0x34cf2d){return this['_logService'][_0x5a39a4(0x1b4)](_0x34cf2d),this[_0x5a39a4(0x456)](!0x1);}}[_0x3ebd1b(0x456)](_0x499730){var _0x357f25=_0x3ebd1b;return this[_0x357f25(0x346)][_0x357f25(0x1fc)](ue,this[_0x357f25(0x31d)],this['type'],null,[],this['_handler'],_0x499730);}['onRemoteAck'](){throw new Error('[SyncedState]:\x20received\x20acknowledgement.');}[_0x3ebd1b(0x280)](){var _0x4a3b14=_0x3ebd1b;throw new Error(_0x4a3b14(0x31f));}[_0x3ebd1b(0x2a3)](){return this;}[_0x3ebd1b(0x3f3)](){var _0x2cce44=_0x3ebd1b;return this[_0x2cce44(0x346)][_0x2cce44(0x1fc)](de,this['unitID'],this['type'],null,[],this[_0x2cce44(0x244)]);}[_0x3ebd1b(0x38a)](){return this;}[_0x3ebd1b(0x2e2)](){var _0x41db2c=_0x3ebd1b;throw new Error(_0x41db2c(0x1e6));}[_0x3ebd1b(0x1b2)](){var _0x381326=_0x3ebd1b;const _0x5f2b52=this[_0x381326(0x3e3)][_0x381326(0x3db)](this[_0x381326(0x31d)]);return this[_0x381326(0x244)][_0x381326(0x224)]({'from':_0x5f2b52,'to':0x0}),this['_injector'][_0x381326(0x1fc)](ee,this[_0x381326(0x31d)],this[_0x381326(0x3a3)],null,[],null,[],this[_0x381326(0x244)]);}};Ne=Te([P(0x3,_0x4f3deb(_0xa5d976)),P(0x4,_0x4f3deb(_0x4fddf8)),P(0x5,_0xb993df),P(0x6,_0x13fb4e),P(0x7,_0x53833e),P(0x8,_0x3a4a71),P(0x9,_0x3b02db(J))],Ne);let oe=class extends Ce{constructor(_0x390f08,_0x695f0d,_0x4fbbea,_0x1fb92a,_0x479ce9,_0x365d84,_0x13d847,_0x209c5e,_0x3c1a35,_0x5495b0,_0x295aa3,_0x3ff3cc,_0xd3567c,_0x39b9b7){var _0x4f36b0=_0x3ebd1b;super(_0x390f08,_0x695f0d,null,_0x4fbbea,_0x1fb92a,_0x3c1a35,_0xd3567c,_0x365d84,_0x39b9b7),N(this,_0x4f36b0(0x3a5),_0x4f36b0(0x40e)),N(this,_0x4f36b0(0x47d),null),N(this,'_sendingTimer',null),(this[_0x4f36b0(0x346)]=_0x479ce9,this[_0x4f36b0(0x2de)]=_0x13d847,this[_0x4f36b0(0x1a8)]=_0x209c5e,this[_0x4f36b0(0x1d2)]=_0x5495b0,this['_transformService']=_0x295aa3,this[_0x4f36b0(0x419)]=_0x3ff3cc);}[_0x3ebd1b(0x3d0)](_0x225019){var _0x176c5a=_0x3ebd1b;return this['_pendingMutations'][_0x176c5a(0x427)](_0x225019),this['_updateLocalCache'](),this;}[_0x3ebd1b(0x27e)](_0x2ef291){var _0x3aec0c=_0x3ebd1b;if(this[_0x3aec0c(0x2e9)](_0x2ef291))return this['_clearScheduledTask'](),this['_injector'][_0x3aec0c(0x1fc)](ee,this[_0x3aec0c(0x31d)],this[_0x3aec0c(0x3a3)],null,this['_pendingMutations'],null,[_0x2ef291],this['_handler']);try{const _0xcae2f5=this[_0x3aec0c(0x24d)][_0x3aec0c(0x44f)](_0x2ef291,this[_0x3aec0c(0x47c)]);if(_0xa34b7(_0xcae2f5)){const {c1Prime:_0x392806,m2Prime:_0x2d956e}=_0xcae2f5;this[_0x3aec0c(0x2d4)](_0x392806);const _0x507370=this[_0x3aec0c(0x346)][_0x3aec0c(0x1fc)](oe,this[_0x3aec0c(0x31d)],this[_0x3aec0c(0x3a3)],_0x2d956e,this[_0x3aec0c(0x244)]);this['_clearScheduledTask']();const _0x57a820=new Date()['getTime'](),_0x3f7fd1=this[_0x3aec0c(0x47d)]?Math[_0x3aec0c(0x3c6)](this[_0x3aec0c(0x47d)]-_0x57a820,0x0):this[_0x3aec0c(0x1e8)]();return _0x507370[_0x3aec0c(0x371)](_0x3f7fd1),_0x507370;}throw _0xcae2f5[_0x3aec0c(0x1b4)];}catch(_0x470660){return this['_logService'][_0x3aec0c(0x1b4)](_0x470660),this['_onConflict'](!0x1);}}[_0x3ebd1b(0x1a4)](){var _0x2f0d58=_0x3ebd1b;throw new Error(_0x2f0d58(0x1da));}[_0x3ebd1b(0x280)](){var _0x474bc8=_0x3ebd1b;throw new Error(_0x474bc8(0x245));}[_0x3ebd1b(0x2a3)](){return this;}[_0x3ebd1b(0x3f3)](){var _0x2ad038=_0x3ebd1b;return this[_0x2ad038(0x347)](),this[_0x2ad038(0x346)][_0x2ad038(0x1fc)](de,this[_0x2ad038(0x31d)],this[_0x2ad038(0x3a3)],null,this[_0x2ad038(0x47c)],this['_handler']);}[_0x3ebd1b(0x38a)](){return this;}[_0x3ebd1b(0x371)](_0x4c5612){var _0x318feb=_0x3ebd1b;const _0x25d96a=_0x4c5612!=null?_0x4c5612:this['_getSendChangesetTimeout']();this[_0x318feb(0x47d)]=new Date()[_0x318feb(0x482)]()+_0x25d96a,this['_sendingTimer']=setTimeout(()=>{var _0xe46cad=_0x318feb;this[_0xe46cad(0x347)]();let _0x3a389f=null;switch(this[_0xe46cad(0x3a3)]){case Q[_0xe46cad(0x3f5)]:{_0x3a389f=qt(this[_0xe46cad(0x47c)],this[_0xe46cad(0x31d)],this['_univerInstanceService'],this['_revisionService'],this[_0xe46cad(0x2de)]);break;}case Q['UNIVER_DOC']:{this[_0xe46cad(0x47c)][_0xe46cad(0x2ac)](_0x5edcbd=>_0x5edcbd['id']===_0x3aa6ca['id'])?_0x3a389f=rn(this[_0xe46cad(0x47c)],this['unitID'],this[_0xe46cad(0x419)],this[_0xe46cad(0x3e3)],this[_0xe46cad(0x2de)]):_0x3a389f=qt(this[_0xe46cad(0x47c)],this[_0xe46cad(0x31d)],this[_0xe46cad(0x419)],this[_0xe46cad(0x3e3)],this[_0xe46cad(0x2de)]);break;}default:throw new Error(_0xe46cad(0x27a)+this[_0xe46cad(0x3a3)]+_0xe46cad(0x44d));}const {changeset:_0x3fab3c,pendingMutations:_0x11094d}=_0x3a389f;this[_0xe46cad(0x244)][_0xe46cad(0x372)](_0x3fab3c);const _0x1fd4e4=_0x11094d[_0xe46cad(0x363)]?this[_0xe46cad(0x346)][_0xe46cad(0x1fc)](ae,this[_0xe46cad(0x31d)],this['type'],_0x3fab3c,_0x11094d,this[_0xe46cad(0x244)],void 0x0):this[_0xe46cad(0x346)][_0xe46cad(0x1fc)](le,this[_0xe46cad(0x31d)],this['type'],_0x3fab3c,this[_0xe46cad(0x244)]);_0x1fd4e4[_0xe46cad(0x3a2)](),this[_0xe46cad(0x244)]['onStateChange'](this,_0x1fd4e4);},_0x25d96a);}[_0x3ebd1b(0x1e8)](){var _0x5015a2=_0x3ebd1b,_0x512ced;const _0x3ab098=this['_configService'][_0x5015a2(0x445)](q);return(_0x512ced=_0x3ab098==null?void 0x0:_0x3ab098[_0x5015a2(0x308)])!=null?_0x512ced:Sr;}[_0x3ebd1b(0x2e2)](){var _0x585c9a=_0x3ebd1b;throw new Error(_0x585c9a(0x210));}['_clearScheduledTask'](){var _0x132cb2=_0x3ebd1b;this[_0x132cb2(0x3ca)]!=null&&(clearTimeout(this[_0x132cb2(0x3ca)]),this[_0x132cb2(0x3ca)]=null);}[_0x3ebd1b(0x456)](_0x371111){var _0x40aa64=_0x3ebd1b;return this['_clearScheduledTask'](),this[_0x40aa64(0x346)][_0x40aa64(0x1fc)](ue,this[_0x40aa64(0x31d)],this[_0x40aa64(0x3a3)],null,this[_0x40aa64(0x47c)],this[_0x40aa64(0x244)],_0x371111);}};oe=Te([P(0x4,_0x4f3deb(_0x4fddf8)),P(0x5,_0x4f3deb(_0xa5d976)),P(0x6,_0x4f3deb(xe)),P(0x7,_0x53833e),P(0x8,_0x13fb4e),P(0x9,_0x2a770c),P(0xa,_0x3a4a71),P(0xb,_0x42c510),P(0xc,_0xb993df),P(0xd,_0x3b02db(J))],oe);let le=class extends Ce{constructor(_0xb761f0,_0x7b6081,_0x3dd704,_0x3695c5,_0x582705,_0x2c31a8,_0x12a620,_0xed4709,_0x1fac70,_0x3e68c1,_0x117fa4){var _0x2cce4b=_0x3ebd1b;super(_0xb761f0,_0x7b6081,_0x3dd704,[],_0x3695c5,_0x12a620,_0x3e68c1,_0x2c31a8,_0x117fa4),N(this,_0x2cce4b(0x3a5),'awaiting'),N(this,_0x2cce4b(0x283),0x0),N(this,_0x2cce4b(0x3d7)),N(this,_0x2cce4b(0x1c5)),(this['_injector']=_0x582705,this[_0x2cce4b(0x1a8)]=_0xed4709,this[_0x2cce4b(0x24d)]=_0x1fac70);}[_0x3ebd1b(0x3d0)](_0x1f0be1){var _0x46a72c=_0x3ebd1b;this[_0x46a72c(0x347)]();const _0x1ef6ea=this[_0x46a72c(0x346)][_0x46a72c(0x1fc)](ae,this[_0x46a72c(0x31d)],this[_0x46a72c(0x3a3)],this[_0x46a72c(0x457)],[_0x1f0be1],this[_0x46a72c(0x244)],this[_0x46a72c(0x3d7)]);return _0x1ef6ea['_updateLocalCache'](),_0x1ef6ea;}[_0x3ebd1b(0x27e)](_0x48f55c){var _0x921158=_0x3ebd1b;if(this[_0x921158(0x2e9)](_0x48f55c))return this[_0x921158(0x347)](),this[_0x921158(0x346)]['createInstance'](ee,this['unitID'],this[_0x921158(0x3a3)],this['_awaitingChangeset'],[],null,[_0x48f55c],this[_0x921158(0x244)]);try{const _0x204c8e=this[_0x921158(0x24d)][_0x921158(0x262)]([_0x48f55c],[this['_awaitingChangeset']],!0x1);if(_0x16fc72(_0x204c8e)){const {c1Prime:_0x8eab4a,c2Prime:_0x2bb174}=_0x204c8e;this[_0x921158(0x2d4)](_0x8eab4a[0x0]),_0x2bb174[0x0][_0x921158(0x260)]=this[_0x921158(0x2a1)](),this[_0x921158(0x347)]();const _0x272836=this[_0x921158(0x346)][_0x921158(0x1fc)](le,this[_0x921158(0x31d)],this[_0x921158(0x3a3)],_0x2bb174[0x0],this[_0x921158(0x244)]);return _0x272836[_0x921158(0x3a2)](),_0x272836;}return this[_0x921158(0x456)](!0x1);}catch(_0x246e0b){return this[_0x921158(0x1a8)][_0x921158(0x1b4)](_0x246e0b),this[_0x921158(0x456)](!0x1);}}[_0x3ebd1b(0x1a4)](_0x29fa69){var _0x5e5e2a=_0x3ebd1b;this['_clearScheduledTask']();const _0x4bc8bd=this[_0x5e5e2a(0x3e3)][_0x5e5e2a(0x3db)](this[_0x5e5e2a(0x31d)]);if(_0x29fa69['revision']<_0x4bc8bd-0x1)return this;if(this['_checkMissing'](_0x29fa69))return this[_0x5e5e2a(0x346)][_0x5e5e2a(0x1fc)](ee,this[_0x5e5e2a(0x31d)],this[_0x5e5e2a(0x3a3)],null,[],this[_0x5e5e2a(0x457)],[],this[_0x5e5e2a(0x244)]);this[_0x5e5e2a(0x225)]();const _0x44eef1=this[_0x5e5e2a(0x346)][_0x5e5e2a(0x1fc)](Ne,this[_0x5e5e2a(0x31d)],this[_0x5e5e2a(0x3a3)],this[_0x5e5e2a(0x244)]);return _0x44eef1[_0x5e5e2a(0x3a2)](),_0x44eef1;}[_0x3ebd1b(0x280)](_0x155fc8){var _0x41ab1f=_0x3ebd1b;return this['_onConflict'](!!(_0x155fc8!=null&&_0x155fc8[_0x41ab1f(0x42f)]));}[_0x3ebd1b(0x2a3)](_0xb7f499){var _0x2f50d5=_0x3ebd1b;return this[_0x2f50d5(0x283)]>yi?this[_0x2f50d5(0x3f3)]():(this['_resendTimer']=Ri(this[_0x2f50d5(0x283)],{'timeout':this['_resendTimeout'],'reqId':_0xb7f499[_0x2f50d5(0x462)]}),this[_0x2f50d5(0x1c5)]=this[_0x2f50d5(0x3d7)][_0x2f50d5(0x3c0)](({reqId:_0x57fc5f,timeout:_0x8f2bfc})=>{this['_resendWithTimeout'](_0x57fc5f,_0x8f2bfc);}),this);}[_0x3ebd1b(0x3f3)](){var _0x42c0e=_0x3ebd1b;return this['_clearScheduledTask'](),this['_injector']['createInstance'](de,this[_0x42c0e(0x31d)],this[_0x42c0e(0x3a3)],this[_0x42c0e(0x457)],[],this[_0x42c0e(0x244)]);}[_0x3ebd1b(0x38a)](){return this;}[_0x3ebd1b(0x2e2)](){var _0x25c333=_0x3ebd1b;this[_0x25c333(0x244)][_0x25c333(0x372)](this[_0x25c333(0x457)]);}[_0x3ebd1b(0x456)](_0x47d6fb){var _0x55bac5=_0x3ebd1b;return this['_clearScheduledTask'](),this['_injector'][_0x55bac5(0x1fc)](ue,this[_0x55bac5(0x31d)],this['type'],this[_0x55bac5(0x457)],[],this[_0x55bac5(0x244)],_0x47d6fb);}[_0x3ebd1b(0x3a4)](_0x2cd983,_0x288219){var _0x5a9127=_0x3ebd1b,_0x282580;_0x2cd983===((_0x282580=this['_awaitingChangeset'])==null?void 0x0:_0x282580[_0x5a9127(0x462)])&&(this[_0x5a9127(0x2e2)](),this['_resendTimeout']=_0x288219===0x0?0x3e8:_0x288219*0x2);}[_0x3ebd1b(0x347)](){var _0x42dfac;(_0x42dfac=this['_sender'])==null||_0x42dfac['unsubscribe'](),this['_resendTimeout']=0x0;}};le=Te([P(0x4,_0x4f3deb(_0x4fddf8)),P(0x5,_0x4f3deb(_0xa5d976)),P(0x6,_0x13fb4e),P(0x7,_0x53833e),P(0x8,_0x3a4a71),P(0x9,_0xb993df),P(0xa,_0x3b02db(J))],le);let ae=class extends Ce{constructor(_0x5b8d8c,_0x1af0e3,_0x1813c2,_0x50714a,_0x478da0,_0x2fba46,_0x2d30db,_0x460311,_0x4c21ce,_0x25dc39,_0x18863e,_0x33e19b,_0x272187){var _0x13bfaa=_0x3ebd1b;super(_0x5b8d8c,_0x1af0e3,_0x1813c2,_0x50714a,_0x478da0,_0x4c21ce,_0x33e19b,_0x460311,_0x272187),N(this,_0x13bfaa(0x3a5),_0x13bfaa(0x21a)),N(this,_0x13bfaa(0x283),0x0),N(this,_0x13bfaa(0x3d7)),N(this,_0x13bfaa(0x1c5)),(this[_0x13bfaa(0x346)]=_0x2d30db,this[_0x13bfaa(0x1a8)]=_0x25dc39,this[_0x13bfaa(0x24d)]=_0x18863e,this[_0x13bfaa(0x294)]=_0x272187,_0x2fba46&&(this[_0x13bfaa(0x3d7)]=_0x2fba46,this[_0x13bfaa(0x1c5)]=this[_0x13bfaa(0x3d7)]['subscribe'](({reqId:_0xe0b46,timeout:_0x43281b})=>{this['_resendWithTimeout'](_0xe0b46,_0x43281b);})));}[_0x3ebd1b(0x3d0)](_0x304b25){var _0x1787a5=_0x3ebd1b;return this[_0x1787a5(0x47c)][_0x1787a5(0x427)](_0x304b25),this;}[_0x3ebd1b(0x27e)](_0x2e0879){var _0x5de69e=_0x3ebd1b;if(this[_0x5de69e(0x2e9)](_0x2e0879))return this[_0x5de69e(0x347)](),this[_0x5de69e(0x346)][_0x5de69e(0x1fc)](ee,this[_0x5de69e(0x31d)],this[_0x5de69e(0x3a3)],this[_0x5de69e(0x457)],this[_0x5de69e(0x47c)],null,[_0x2e0879],this['_handler']);try{const _0x3ddd89=this['_transformService'][_0x5de69e(0x262)]([_0x2e0879],[this[_0x5de69e(0x457)]],!0x1);if(_0x16fc72(_0x3ddd89)){const {c1Prime:_0x267dcb,c2Prime:_0x530497}=_0x3ddd89,_0xf86bc2=this['_transformService'][_0x5de69e(0x44f)](_0x267dcb[0x0],this[_0x5de69e(0x47c)]);if(_0xa34b7(_0xf86bc2)){const {c1Prime:_0x4e4c88,m2Prime:_0x4435b5}=_0xf86bc2;return this[_0x5de69e(0x2d4)](_0x4e4c88),_0x530497[0x0][_0x5de69e(0x260)]=this['_getCurrentRevision'](),this[_0x5de69e(0x347)](),this['_injector'][_0x5de69e(0x1fc)](ae,this[_0x5de69e(0x31d)],this[_0x5de69e(0x3a3)],_0x530497[0x0],_0x4435b5,this[_0x5de69e(0x244)],void 0x0);}throw _0xf86bc2[_0x5de69e(0x1b4)];}throw _0x3ddd89['error'];}catch(_0x3f1f2b){return this[_0x5de69e(0x1a8)][_0x5de69e(0x1b4)](_0x3f1f2b),this[_0x5de69e(0x456)](!0x1);}}[_0x3ebd1b(0x1a4)](_0xc3de3e){var _0xd711ba=_0x3ebd1b;if(this['_clearScheduledTask'](),this[_0xd711ba(0x2e9)](_0xc3de3e))return this[_0xd711ba(0x346)]['createInstance'](ee,this[_0xd711ba(0x31d)],this[_0xd711ba(0x3a3)],null,this[_0xd711ba(0x47c)],this[_0xd711ba(0x457)],[],this[_0xd711ba(0x244)]);this[_0xd711ba(0x225)]();const _0x25e9de=this[_0xd711ba(0x346)][_0xd711ba(0x1fc)](oe,this[_0xd711ba(0x31d)],this[_0xd711ba(0x3a3)],this['_pendingMutations'],this[_0xd711ba(0x244)]);return _0x25e9de['_schedule'](),_0x25e9de[_0xd711ba(0x3a2)](),_0x25e9de;}[_0x3ebd1b(0x280)](_0x6a6799){var _0x1e40e8=_0x3ebd1b;return this['_onConflict'](!!(_0x6a6799!=null&&_0x6a6799[_0x1e40e8(0x42f)]));}[_0x3ebd1b(0x2a3)](_0x22a6ad){var _0xfc884f=_0x3ebd1b;return this[_0xfc884f(0x283)]>yi?this['toggleOffline']():(this[_0xfc884f(0x3d7)]=Ri(this[_0xfc884f(0x283)],{'timeout':this[_0xfc884f(0x283)],'reqId':_0x22a6ad['reqId']}),this[_0xfc884f(0x1c5)]=this[_0xfc884f(0x3d7)][_0xfc884f(0x3c0)](({reqId:_0x18d8bd,timeout:_0xdd5461})=>{var _0x2e7056=_0xfc884f;this[_0x2e7056(0x3a4)](_0x18d8bd,_0xdd5461);}),this);}[_0x3ebd1b(0x3f3)](){var _0x4fc49e=_0x3ebd1b;return this[_0x4fc49e(0x347)](),this[_0x4fc49e(0x346)][_0x4fc49e(0x1fc)](de,this['unitID'],this[_0x4fc49e(0x3a3)],this[_0x4fc49e(0x457)],this[_0x4fc49e(0x47c)],this[_0x4fc49e(0x244)]);}['toggleOnline'](){return this;}[_0x3ebd1b(0x2e2)](){var _0xbc5b82=_0x3ebd1b;this['_handler'][_0xbc5b82(0x372)](this['_awaitingChangeset']);}[_0x3ebd1b(0x456)](_0x2511d0){var _0x523149=_0x3ebd1b;return this['_clearScheduledTask'](),this['_injector'][_0x523149(0x1fc)](ue,this['unitID'],this['type'],null,this[_0x523149(0x47c)],this[_0x523149(0x244)],_0x2511d0);}[_0x3ebd1b(0x3a4)](_0xa165d2,_0x448616){var _0x2f89b5=_0x3ebd1b,_0x5a1912;_0xa165d2===((_0x5a1912=this[_0x2f89b5(0x457)])==null?void 0x0:_0x5a1912[_0x2f89b5(0x462)])&&(this[_0x2f89b5(0x2e2)](),this['_resendTimeout']=_0x448616===0x0?0x3e8:_0x448616*0x2);}[_0x3ebd1b(0x347)](){var _0x5e3a09=_0x3ebd1b,_0x1c9ba7;(_0x1c9ba7=this[_0x5e3a09(0x1c5)])==null||_0x1c9ba7['unsubscribe'](),this[_0x5e3a09(0x283)]=0x0;}};ae=Te([P(0x6,_0x4f3deb(_0x4fddf8)),P(0x7,_0x4f3deb(_0xa5d976)),P(0x8,_0x13fb4e),P(0x9,_0x53833e),P(0xa,_0x3a4a71),P(0xb,_0xb993df),P(0xc,_0x3b02db(J))],ae);let ue=class extends Ce{constructor(_0x5a282f,_0x7a98fa,_0x5b0b13,_0x3ca2e3,_0x4f8512,_0x4dd8e4=!0x1,_0x8e76ee,_0x27e58c,_0x3d5dcd,_0x2590e4,_0x5e4b82,_0x1d8111,_0x53c97f){var _0x169523=_0x3ebd1b;super(_0x5a282f,_0x7a98fa,_0x5b0b13,_0x3ca2e3,_0x4f8512,_0x27e58c,_0x3d5dcd,_0x2590e4,_0x53c97f),N(this,_0x169523(0x3a5),_0x169523(0x25b)),(this['_isPermissionRej']=_0x4dd8e4,this['_permissionService']=_0x8e76ee,this['_localeService']=_0x5e4b82,this[_0x169523(0x2f2)]=_0x1d8111,this[_0x169523(0x294)]=_0x53c97f,this['_showConflictNotification'](),this[_0x169523(0x359)](),this[_0x169523(0x405)]());}[_0x3ebd1b(0x3d0)](){return this;}[_0x3ebd1b(0x27e)](){return this;}['onRemoteAck'](){return this;}[_0x3ebd1b(0x280)](){return this;}['onRemoteRetry'](){return this;}[_0x3ebd1b(0x3f3)](){return this;}[_0x3ebd1b(0x38a)](){return this;}[_0x3ebd1b(0x2e2)](){throw new Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}['_clearLocalCache'](){var _0x58f008=_0x3ebd1b,_0x526a65;(_0x526a65=this[_0x58f008(0x49e)])==null||_0x526a65['updateOfflineData'](this[_0x58f008(0x31d)],this[_0x58f008(0x3a3)],null,[]);}[_0x3ebd1b(0x217)](){var _0x11bfce=_0x3ebd1b;this['_isPermissionRej']?this['_collaborationUIEventService'][_0x11bfce(0x2a0)]({'id':se[_0x11bfce(0x26e)]}):this[_0x11bfce(0x2f2)][_0x11bfce(0x2a0)]({'id':se[_0x11bfce(0x495)]});}[_0x3ebd1b(0x405)](){var _0x14f508=_0x3ebd1b;this['_permissionService'][_0x14f508(0x267)](new _0x5252f0(this[_0x14f508(0x31d)])['id'],!0x1);}};ue=Te([P(0x6,_0x4f3deb(_0x115665)),P(0x7,_0x13fb4e),P(0x8,_0xb993df),P(0x9,_0x4f3deb(_0xa5d976)),P(0xa,_0x4f3deb(_0xb18863)),P(0xb,_0x4f3deb(pe)),P(0xc,_0x3b02db(J))],ue);let de=class extends Ce{constructor(_0x639de8,_0x5aedf5,_0x362569,_0x2845ba,_0x24e034,_0x331ace,_0x4e356a,_0x212934,_0xfbf274,_0x2e882f){var _0x20c6b0=_0x3ebd1b;super(_0x639de8,_0x5aedf5,_0x362569,_0x2845ba,_0x24e034,_0x212934,_0xfbf274,_0x4e356a,_0x2e882f),N(this,_0x20c6b0(0x3a5),_0x20c6b0(0x358)),this[_0x20c6b0(0x346)]=_0x331ace;}[_0x3ebd1b(0x3d0)](_0x5a08ed){var _0x2a7daa=_0x3ebd1b;return this[_0x2a7daa(0x47c)][_0x2a7daa(0x427)](_0x5a08ed),this['_updateLocalCache'](),this;}[_0x3ebd1b(0x27e)](_0x27e066){var _0x3e2c9f=_0x3ebd1b;throw new Error(_0x3e2c9f(0x35f));}[_0x3ebd1b(0x1a4)](){var _0x43be3a=_0x3ebd1b;throw new Error(_0x43be3a(0x241));}['onRemoteRej'](){var _0x1702e1=_0x3ebd1b;throw new Error(_0x1702e1(0x27b));}[_0x3ebd1b(0x2a3)](){return this;}[_0x3ebd1b(0x3f3)](){return this;}['toggleOnline'](){var _0x5664d1=_0x3ebd1b;const {_injector:_0x5327a7,_pendingMutations:_0x57686a,_awaitingChangeset:_0x497046,unitID:_0x8c7c77,_handler:_0x454524,type:_0x25ec5b}=this,_0xfd995e=Oi(_0x5327a7,_0x8c7c77,_0x25ec5b,_0x497046,_0x57686a,_0x454524);return _0xfd995e instanceof oe?_0xfd995e['_schedule']():(_0xfd995e instanceof ae||_0xfd995e instanceof le)&&_0xfd995e[_0x5664d1(0x2e2)](),_0xfd995e;}[_0x3ebd1b(0x2e2)](){var _0x1ad0b7=_0x3ebd1b;throw new Error(_0x1ad0b7(0x3e2));}};de=Te([P(0x5,_0x4f3deb(_0x4fddf8)),P(0x6,_0x4f3deb(_0xa5d976)),P(0x7,_0x13fb4e),P(0x8,_0xb993df),P(0x9,_0x3b02db(J))],de);let ee=class extends Ce{constructor(_0x44ab11,_0x54f553,_0x2eed80,_0x205411,_0x1b60b1,_0x5da6f7,_0x385462,_0x5c8b78,_0x24344d,_0x16ccce,_0x389115,_0x3c7213,_0x16d1f5,_0x53f1c4){var _0x1d6bd0=_0x3ebd1b;super(_0x44ab11,_0x54f553,_0x2eed80,_0x205411,_0x385462,_0x389115,_0x3c7213,_0x24344d,_0x53f1c4),N(this,_0x1d6bd0(0x3a5),'fetch_missing'),(this[_0x1d6bd0(0x213)]=_0x1b60b1,this['_queuedRemoteChangesets']=_0x5da6f7,this[_0x1d6bd0(0x346)]=_0x5c8b78,this[_0x1d6bd0(0x1a8)]=_0x16ccce,this[_0x1d6bd0(0x24d)]=_0x16d1f5,this['localCacheService']=_0x53f1c4);}[_0x3ebd1b(0x374)](_0xb3f221){var _0x32ccc2=_0x3ebd1b;try{const _0x1ba0e4=[..._0xb3f221,...this[_0x32ccc2(0x325)]],_0x2161e9=[this['_awaitingChangeset']||this['_acknowledgedAwaitingChangeset']][_0x32ccc2(0x1f1)](_0x219ddd=>!!_0x219ddd);let _0x32d405,_0x34a680;if(_0x2161e9[_0x32ccc2(0x363)]){const _0x1f58e2=this[_0x32ccc2(0x24d)][_0x32ccc2(0x262)](_0x1ba0e4,_0x2161e9,!0x1);if(!_0x16fc72(_0x1f58e2))throw _0x1f58e2[_0x32ccc2(0x1b4)];_0x32d405=_0x1f58e2['c1Prime'],_0x34a680=_0x1f58e2['c2Prime'];}else _0x32d405=_0x1ba0e4,_0x34a680=[];let _0x46ea63=this[_0x32ccc2(0x47c)];_0x32d405[_0x32ccc2(0x326)](_0x27dda4=>{var _0x3baf38=_0x32ccc2;let _0x4fe919;if(_0x46ea63['length']){const _0x3a15ce=this[_0x3baf38(0x24d)][_0x3baf38(0x44f)](_0x27dda4,_0x46ea63);if(!_0xa34b7(_0x3a15ce))throw _0x3a15ce[_0x3baf38(0x1b4)];_0x4fe919=_0x3a15ce[_0x3baf38(0x2ce)],_0x46ea63=_0x3a15ce[_0x3baf38(0x1b7)];}else _0x4fe919=_0x27dda4;this[_0x3baf38(0x2d4)](_0x4fe919);}),this['_acknowledgedAwaitingChangeset']&&this['_incrementRevisionNumber'](),this['_awaitingChangeset']&&_0x34a680[_0x32ccc2(0x363)]&&(_0x34a680[0x0]['baseRev']=this[_0x32ccc2(0x2a1)]());let _0x5b5fc1;if(this[_0x32ccc2(0x457)]&&_0x46ea63[_0x32ccc2(0x363)]!==0x0)_0x5b5fc1=this[_0x32ccc2(0x346)][_0x32ccc2(0x1fc)](ae,this[_0x32ccc2(0x31d)],this[_0x32ccc2(0x3a3)],_0x34a680[0x0],_0x46ea63,this['_handler'],void 0x0);else{if(this[_0x32ccc2(0x457)]&&_0x46ea63[_0x32ccc2(0x363)]===0x0)_0x34a680[0x0][_0x32ccc2(0x260)]=this['_getCurrentRevision'](),_0x5b5fc1=this[_0x32ccc2(0x346)][_0x32ccc2(0x1fc)](le,this['unitID'],this[_0x32ccc2(0x3a3)],_0x34a680[0x0],this[_0x32ccc2(0x244)]);else{if(_0x46ea63[_0x32ccc2(0x363)]!==0x0){const _0x3a09ad=this[_0x32ccc2(0x346)][_0x32ccc2(0x1fc)](oe,this[_0x32ccc2(0x31d)],this['type'],_0x46ea63,this['_handler']);_0x3a09ad[_0x32ccc2(0x371)](),_0x5b5fc1=_0x3a09ad;}else _0x5b5fc1=this[_0x32ccc2(0x346)][_0x32ccc2(0x1fc)](Ne,this[_0x32ccc2(0x31d)],this[_0x32ccc2(0x3a3)],this['_handler']);}}return _0x5b5fc1[_0x32ccc2(0x3a2)](),_0x5b5fc1;}catch(_0x5a1fca){return this['_logService'][_0x32ccc2(0x1b4)]('[FetchMissState]',_0x32ccc2(0x476),_0x5a1fca),this[_0x32ccc2(0x346)][_0x32ccc2(0x1fc)](ue,this[_0x32ccc2(0x31d)],this[_0x32ccc2(0x3a3)],this[_0x32ccc2(0x457)],this['_pendingMutations'],this['_handler'],!0x1);}}[_0x3ebd1b(0x2e2)](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x3ebd1b(0x3d0)](_0x1463a5){var _0x193fb8=_0x3ebd1b;return this['_pendingMutations'][_0x193fb8(0x427)](_0x1463a5),this;}[_0x3ebd1b(0x27e)](_0x1aba0f){var _0x317c49=_0x3ebd1b;return this[_0x317c49(0x325)][_0x317c49(0x427)](_0x1aba0f),this;}[_0x3ebd1b(0x1a4)](_0x46bdfc){var _0x38074c=_0x3ebd1b;if(this[_0x38074c(0x457)])return this[_0x38074c(0x213)]=this['_awaitingChangeset'],this[_0x38074c(0x457)]=null,this;throw new Error(_0x38074c(0x23c));}['onRemoteRej'](_0x5dc718){var _0x32a409=_0x3ebd1b;return this['_onConflict'](!!(_0x5dc718!=null&&_0x5dc718[_0x32a409(0x42f)]));}[_0x3ebd1b(0x2a3)](){return this;}[_0x3ebd1b(0x3f3)](){var _0xc6f79f=_0x3ebd1b;return this[_0xc6f79f(0x346)][_0xc6f79f(0x1fc)](de,this[_0xc6f79f(0x31d)],this['type'],this['_awaitingChangeset'],this[_0xc6f79f(0x47c)],this[_0xc6f79f(0x244)]);}[_0x3ebd1b(0x38a)](){return this;}[_0x3ebd1b(0x456)](_0x1604bf){var _0x20ef9e=_0x3ebd1b;return this[_0x20ef9e(0x346)][_0x20ef9e(0x1fc)](ue,this[_0x20ef9e(0x31d)],this[_0x20ef9e(0x3a3)],this[_0x20ef9e(0x457)],this[_0x20ef9e(0x47c)],this[_0x20ef9e(0x244)],_0x1604bf);}};ee=Te([P(0x7,_0x4f3deb(_0x4fddf8)),P(0x8,_0x4f3deb(_0xa5d976)),P(0x9,_0x53833e),P(0xa,_0x13fb4e),P(0xb,_0xb993df),P(0xc,_0x3a4a71),P(0xd,_0x3b02db(J))],ee);function Oi(_0x9b0eae,_0x26b0a8,_0x1c334f,_0x1c01ca,_0x574133,_0x51a0b7){var _0x162e35=_0x3ebd1b;return _0x1c01ca&&_0x574133['length']?_0x9b0eae[_0x162e35(0x1fc)](ae,_0x26b0a8,_0x1c334f,_0x1c01ca,_0x574133,_0x51a0b7,void 0x0):_0x1c01ca?_0x9b0eae[_0x162e35(0x1fc)](le,_0x26b0a8,_0x1c334f,_0x1c01ca,_0x51a0b7):_0x574133[_0x162e35(0x363)]?_0x9b0eae[_0x162e35(0x1fc)](oe,_0x26b0a8,_0x1c334f,_0x574133,_0x51a0b7):_0x9b0eae[_0x162e35(0x1fc)](Ne,_0x26b0a8,_0x1c334f,_0x51a0b7);}var on=Object[_0x3ebd1b(0x2a5)],xt=(_0x9d1438,_0x278e94,_0x244c63,_0x21ff04)=>{for(var _0x3d7e58=_0x21ff04>0x1?void 0x0:_0x21ff04?on(_0x278e94,_0x244c63):_0x278e94,_0x4eeff9=_0x9d1438['length']-0x1,_0x520163;_0x4eeff9>=0x0;_0x4eeff9--)(_0x520163=_0x9d1438[_0x4eeff9])&&(_0x3d7e58=_0x520163(_0x3d7e58)||_0x3d7e58);return _0x3d7e58;},H=(_0x461376,_0x59f302)=>(_0x45e020,_0x24f6b7)=>_0x59f302(_0x45e020,_0x24f6b7,_0x461376);let rt=class extends _0x32d278{constructor(_0x3d99b5,_0x10d7a9,_0x7561a7,_0x445070,_0x2f547e,_0x16c800,_0x3cb80c,_0x55dd47,_0x1df5d9,_0x45de1d,_0x4c0ccd,_0xbfb0c9,_0x5714bc){var _0x4a2840=_0x3ebd1b;super(),N(this,'_state$',new _0x15d586(null)),N(this,_0x4a2840(0x2f6),this['_state$'][_0x4a2840(0x477)]()),N(this,'_state'),N(this,'_collaborationPaused',!0x1),N(this,'_changesetSessionId',''),N(this,_0x4a2840(0x425),0x0),N(this,_0x4a2840(0x3de),this[_0x4a2840(0x2f6)]['pipe'](_0x401f39(_0x9a2684=>_0x9a2684?_0x9a2684['status']:bi[_0x4a2840(0x3ad)]),_0x20dfda(0x1))),N(this,'_transitionLocked',!0x1),N(this,_0x4a2840(0x1d1),[]),(this[_0x4a2840(0x31d)]=_0x3d99b5,this[_0x4a2840(0x216)]=_0x10d7a9,this[_0x4a2840(0x2c9)]=_0x7561a7,this[_0x4a2840(0x346)]=_0x445070,this[_0x4a2840(0x468)]=_0x2f547e,this[_0x4a2840(0x24c)]=_0x16c800,this[_0x4a2840(0x3e3)]=_0x3cb80c,this[_0x4a2840(0x35c)]=_0x55dd47,this[_0x4a2840(0x1a8)]=_0x1df5d9,this['_commandService']=_0x45de1d,this['_permissionService']=_0x4c0ccd,this['_singleActiveUnitService']=_0xbfb0c9,this[_0x4a2840(0x49e)]=_0x5714bc);}get[_0x3ebd1b(0x45f)](){var _0xc7952=_0x3ebd1b;return this[_0xc7952(0x34c)];}async[_0x3ebd1b(0x1cf)](){var _0x367eb3=_0x3ebd1b;if(this[_0x367eb3(0x45f)])throw new Error('[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.');await this['_init']();}['pauseCollaboration'](){var _0x207acd=_0x3ebd1b;return this[_0x207acd(0x207)]=!0x0,_0x2652a7(()=>{var _0x4c7e80=_0x207acd;this[_0x4c7e80(0x207)]=!0x1,this[_0x4c7e80(0x1f8)]();});}[_0x3ebd1b(0x34e)](_0xce5ca5){var _0x660edb=_0x3ebd1b;this[_0x660edb(0x46a)](_0xce5ca5);}[_0x3ebd1b(0x246)](_0x42d9aa){var _0x34db1b=_0x3ebd1b;this[_0x34db1b(0x34c)]=_0x42d9aa,this[_0x34db1b(0x22e)][_0x34db1b(0x22a)](_0x42d9aa);}async[_0x3ebd1b(0x32a)](){var _0x3e23da=_0x3ebd1b,_0x3fe892;this[_0x3e23da(0x246)](await this[_0x3e23da(0x26c)]()),this[_0x3e23da(0x480)]&&((_0x3fe892=this[_0x3e23da(0x480)])==null||_0x3fe892['editingUnit'](this[_0x3e23da(0x31d)]),this[_0x3e23da(0x417)](this[_0x3e23da(0x480)][_0x3e23da(0x1d8)](this[_0x3e23da(0x31d)])[_0x3e23da(0x3c0)](_0x6bcb10=>{var _0x19d5dc=_0x3e23da;this['_logService'][_0x19d5dc(0x3fa)](_0x19d5dc(0x46c),_0x19d5dc(0x257),_0x6bcb10),_0x6bcb10===Ci[_0x19d5dc(0x2fa)]?(this['_eventService'][_0x19d5dc(0x2a0)]({'id':se[_0x19d5dc(0x337)]}),this[_0x19d5dc(0x373)][_0x19d5dc(0x267)](new _0x5252f0(this['unitID'])['id'],!0x1),this['_permissionService'][_0x19d5dc(0x44b)](!0x1)):(this[_0x19d5dc(0x373)][_0x19d5dc(0x267)](new _0x5252f0(this['unitID'])['id'],!0x0),this[_0x19d5dc(0x373)][_0x19d5dc(0x44b)](!0x0));})));let _0x17207d=!0x1;return this[_0x3e23da(0x417)](this[_0x3e23da(0x216)][_0x3e23da(0x365)][_0x3e23da(0x3c0)](_0x3f9a3f=>{var _0x33d8c1=_0x3e23da;_0x3f9a3f===Ee[_0x33d8c1(0x34d)]?this[_0x33d8c1(0x3ec)](_0x17207d):_0x3f9a3f===Ee[_0x33d8c1(0x3ad)]&&(_0x17207d=!0x0,this[_0x33d8c1(0x3bd)]());})),this[_0x3e23da(0x417)](this['session'][_0x3e23da(0x36c)][_0x3e23da(0x3c0)](_0x1f0f65=>{var _0x4d1caf=_0x3e23da;try{switch(_0x1f0f65[_0x4d1caf(0x2dc)]){case _0x29cbe9[_0x4d1caf(0x3df)]:{this['_onRemoteChangeset'](_0x163abd(_0x1f0f65['data']));break;}case _0x29cbe9['CHANGESET_ACK']:{this[_0x4d1caf(0x3e1)](_0x1f0f65[_0x4d1caf(0x3fe)]);break;}case _0x29cbe9[_0x4d1caf(0x3c7)]:{this['_onRemoteRejected']();break;}case _0x29cbe9[_0x4d1caf(0x31c)]:{this[_0x4d1caf(0x3cb)](_0x1f0f65[_0x4d1caf(0x3fe)]);break;}case _0x29cbe9[_0x4d1caf(0x25c)]:{this[_0x4d1caf(0x24a)](_0x1f0f65[_0x4d1caf(0x3fe)][_0x4d1caf(0x249)][_0x4d1caf(0x453)](_0x13dcac=>_0x163abd(_0x13dcac)));break;}case _0x29cbe9[_0x4d1caf(0x284)]:{this[_0x4d1caf(0x297)]({'isPermissionRej':!0x0});break;}case _0x29cbe9[_0x4d1caf(0x252)]:break;}}catch(_0x31ba3c){throw console['error'](_0x4d1caf(0x421),_0x31ba3c),_0x31ba3c;}})),this[_0x3e23da(0x34c)];}[_0x3ebd1b(0x3be)](){var _0xedbe9c=_0x3ebd1b;this[_0xedbe9c(0x4a2)]=!0x1;}[_0x3ebd1b(0x389)](){var _0x1aeffe=_0x3ebd1b;if(this[_0x1aeffe(0x4a2)])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[_0x1aeffe(0x4a2)]=!0x0;}[_0x3ebd1b(0x46a)](_0x36a9df){var _0x158ae1=_0x3ebd1b;this[_0x158ae1(0x389)](),this[_0x158ae1(0x246)](this[_0x158ae1(0x34c)][_0x158ae1(0x3d0)](_0x36a9df)),this[_0x158ae1(0x3be)]();}[_0x3ebd1b(0x36a)](_0x44fa60){var _0x23b3b5=_0x3ebd1b;if(!(_0x44fa60[_0x23b3b5(0x440)]<=this[_0x23b3b5(0x3e3)][_0x23b3b5(0x3db)](this[_0x23b3b5(0x31d)]))){if(this[_0x23b3b5(0x207)]){this[_0x23b3b5(0x1d1)]['push'](_0x44fa60);return;}this[_0x23b3b5(0x1a7)](_0x44fa60);}}[_0x3ebd1b(0x1f8)](){var _0x5b9c77=_0x3ebd1b;this[_0x5b9c77(0x1d1)][_0x5b9c77(0x326)](_0x2882cf=>this[_0x5b9c77(0x1a7)](_0x2882cf)),this[_0x5b9c77(0x1d1)]=[];}[_0x3ebd1b(0x1a7)](_0x5e9e56){var _0x4aab5f=_0x3ebd1b;const _0x55bbee=this[_0x4aab5f(0x468)][_0x4aab5f(0x435)]['fetchThroughInterceptors'](this[_0x4aab5f(0x468)][_0x4aab5f(0x435)][_0x4aab5f(0x2c7)]()['COMPRESS_MUTATION_APPLY'])(_0x5e9e56[_0x4aab5f(0x2d9)],null)||_0x5e9e56[_0x4aab5f(0x2d9)],_0x198c87={..._0x5e9e56,'mutations':_0x55bbee};this[_0x4aab5f(0x389)](),this[_0x4aab5f(0x246)](this[_0x4aab5f(0x34c)][_0x4aab5f(0x27e)](_0x198c87)),this[_0x4aab5f(0x3be)]();}[_0x3ebd1b(0x3e1)](_0x437187){var _0x5a2e1c=_0x3ebd1b;this['_lockTransition'](),this[_0x5a2e1c(0x246)](this[_0x5a2e1c(0x34c)]['onRemoteAck'](_0x437187)),this[_0x5a2e1c(0x3be)]();}[_0x3ebd1b(0x297)](_0x29c7f5){var _0x34f6a8=_0x3ebd1b;this[_0x34f6a8(0x389)](),this[_0x34f6a8(0x246)](this[_0x34f6a8(0x34c)]['onRemoteRej'](_0x29c7f5)),this[_0x34f6a8(0x3be)]();}[_0x3ebd1b(0x3cb)](_0x516f90){var _0x313071=_0x3ebd1b;this[_0x313071(0x389)](),this[_0x313071(0x246)](this[_0x313071(0x34c)]['onRemoteRetry'](_0x516f90)),this['_unlockTransition']();}[_0x3ebd1b(0x24a)](_0x1ddc5f){var _0x36fcc0=_0x3ebd1b;if(!(this[_0x36fcc0(0x34c)]instanceof ee))throw new TypeError(_0x36fcc0(0x451));const _0x4ea15a=_0x1ddc5f[_0x36fcc0(0x453)](_0x2fa0fa=>{var _0x5b821=_0x36fcc0;const _0x5e71e3=this[_0x5b821(0x468)][_0x5b821(0x435)][_0x5b821(0x203)](this[_0x5b821(0x468)][_0x5b821(0x435)]['getInterceptPoints']()[_0x5b821(0x34a)])(_0x2fa0fa[_0x5b821(0x2d9)],null)||_0x2fa0fa[_0x5b821(0x2d9)];return{..._0x2fa0fa,'mutations':_0x5e71e3};});this[_0x36fcc0(0x389)](),this[_0x36fcc0(0x246)](this[_0x36fcc0(0x34c)][_0x36fcc0(0x374)](_0x4ea15a)),this[_0x36fcc0(0x3be)]();}[_0x3ebd1b(0x3bd)](){var _0x151717=_0x3ebd1b;this[_0x151717(0x389)](),this['_updateState'](this[_0x151717(0x34c)][_0x151717(0x3f3)]()),this[_0x151717(0x3be)]();}['_toggleOnline'](_0x28fc91=!0x1){var _0x14d6b8=_0x3ebd1b;this[_0x14d6b8(0x389)](),this[_0x14d6b8(0x246)](this[_0x14d6b8(0x34c)][_0x14d6b8(0x38a)]()),this[_0x14d6b8(0x3be)]();const _0x1f4154=this['_state'];_0x28fc91&&_0x1f4154 instanceof Ne&&(this[_0x14d6b8(0x389)](),this[_0x14d6b8(0x246)](_0x1f4154[_0x14d6b8(0x1b2)]()),this['_unlockTransition']());}async['_createInitialState'](){return new Promise(_0x19d489=>{var _0x534784=_0x44ec;this[_0x534784(0x216)][_0x534784(0x365)][_0x534784(0x2e0)](_0x3396e8(0x1))['subscribe'](async _0x5219cc=>{var _0x4e9e29=_0x534784;_0x19d489(await this['_createInitialStateImpl'](_0x5219cc===Ee[_0x4e9e29(0x34d)]));});});}[_0x3ebd1b(0x3a9)](){var _0x1b7ee2=_0x3ebd1b;const _0x4d6f8f=this[_0x1b7ee2(0x31d)];return{'onStateChange':(_0x803f85,_0x1883b1)=>{var _0x298c4b=_0x1b7ee2;if(_0x803f85!==this['_state'])throw new Error(_0x298c4b(0x393)+_0x803f85[_0x298c4b(0x3a5)]+_0x298c4b(0x3e0)+_0x1883b1['status']+_0x298c4b(0x3b0)+this['_state'][_0x298c4b(0x3a5)]);this['_updateState'](_0x1883b1);},'onSendChangeset':_0x433c54=>{var _0x5088af=_0x1b7ee2;_0x433c54[_0x5088af(0x3af)]||(_0x433c54[_0x5088af(0x3af)]=this[_0x5088af(0x485)],_0x433c54[_0x5088af(0x462)]=++this['_changesetReqId']);const _0x2422da={'eventID':_0x29cbe9['SUBMIT_CHANGESET'],'data':{'unitID':_0x433c54[_0x5088af(0x31d)],'unitType':this[_0x5088af(0x2c9)],'changeset':_0x433c54,'memberID':this[_0x5088af(0x216)]['getMemberID']()}};this[_0x5088af(0x216)][_0x5088af(0x351)](_0x2422da,this[_0x5088af(0x31d)]);},'onMissingChangesets':({from:_0x361150,to:_0x2f96d7})=>{var _0x1756c4=_0x1b7ee2;this[_0x1756c4(0x1a8)][_0x1756c4(0x3fa)](_0x1756c4(0x46c),_0x1756c4(0x46e)+_0x361150+_0x1756c4(0x30b)+_0x2f96d7);const _0x3f7d0f={'eventID':_0x29cbe9[_0x1756c4(0x28b)],'data':{'unitID':_0x4d6f8f,'unitType':this[_0x1756c4(0x2c9)],'from':_0x361150,'to':_0x2f96d7}};this['session'][_0x1756c4(0x351)](_0x3f7d0f,this[_0x1756c4(0x31d)]);}};}async[_0x3ebd1b(0x40f)](_0x34136c){var _0x421db8=_0x3ebd1b,_0x48ee3b,_0x4ed56c,_0x5965aa;const _0x401468=await((_0x48ee3b=this[_0x421db8(0x49e)])==null?void 0x0:_0x48ee3b[_0x421db8(0x2f0)](this[_0x421db8(0x31d)])),_0x204c86=(_0x4ed56c=_0x401468==null?void 0x0:_0x401468[_0x421db8(0x2d9)])!=null?_0x4ed56c:[],_0x55cb92=(_0x5965aa=_0x401468==null?void 0x0:_0x401468[_0x421db8(0x299)])!=null?_0x5965aa:null,_0x3a9f48=!!(_0x55cb92!=null&&_0x55cb92[_0x421db8(0x3af)])&&!!(_0x55cb92!=null&&_0x55cb92['reqId']);this['_changesetSessionId']=_0x3a9f48?_0x55cb92[_0x421db8(0x3af)]:Xr(),this[_0x421db8(0x425)]=_0x3a9f48?_0x55cb92[_0x421db8(0x462)]:0x0;const _0x986f68=this['unitID'];try{this[_0x421db8(0x3f9)](_0x55cb92,_0x204c86);}catch(_0x2e4651){this[_0x421db8(0x1a8)][_0x421db8(0x1b4)](_0x2e4651);}const _0x41a032=this[_0x421db8(0x3a9)]();if(_0x34136c){const _0x4ccdbc=Oi(this[_0x421db8(0x346)],_0x986f68,this[_0x421db8(0x2c9)],_0x55cb92,_0x204c86,_0x41a032);return _0x4ccdbc instanceof oe?_0x4ccdbc[_0x421db8(0x371)]():(_0x4ccdbc instanceof ae||_0x4ccdbc instanceof le)&&_0x4ccdbc[_0x421db8(0x2e2)](),_0x4ccdbc;}return this[_0x421db8(0x346)][_0x421db8(0x1fc)](de,_0x986f68,this['_type'],_0x55cb92,_0x204c86,_0x41a032);}[_0x3ebd1b(0x3f9)](_0x5d3d44,_0x212492){var _0xf31cc6=_0x3ebd1b,_0x25b738,_0x1ea08c;const _0x7e1f77=this[_0xf31cc6(0x468)]['interceptor'][_0xf31cc6(0x203)](this['_compressMutationService']['interceptor'][_0xf31cc6(0x2c7)]()['COMPRESS_MUTATION_APPLY']);(_0x25b738=_0x7e1f77((_0x5d3d44==null?void 0x0:_0x5d3d44[_0xf31cc6(0x2d9)])||[],null))==null||_0x25b738[_0xf31cc6(0x326)](_0x3da504=>this[_0xf31cc6(0x2bd)][_0xf31cc6(0x329)](_0x3da504['id'],_0x3da504['params'])),(_0x1ea08c=_0x7e1f77(_0x212492||[],null))==null||_0x1ea08c[_0xf31cc6(0x326)](_0x2836b3=>this['_commandService']['executeCommand'](_0x2836b3['id'],_0x2836b3[_0xf31cc6(0x490)]));}};rt=xt([H(0x3,_0x4f3deb(_0x4fddf8)),H(0x4,_0x4f3deb(_0x429dc5)),H(0x5,_0x4f3deb(_0xb18863)),H(0x6,_0x4f3deb(_0xa5d976)),H(0x7,_0x4f3deb(pe)),H(0x8,_0x53833e),H(0x9,_0x13fb4e),H(0xa,_0x115665),H(0xb,_0x3b02db(ht)),H(0xc,_0x3b02db(J))],rt);let It=class extends rt{constructor(_0x3d195d,_0x2950b8,_0x197949,_0x36f266,_0x4f4e6e,_0x36ae9d,_0x4576a9,_0x15091c,_0xc9d7fa,_0x410099,_0x2414c1,_0x4b49bb,_0x4be19d){var _0x1fdf17=_0x3ebd1b;super(_0x3d195d,_0x197949,_0x2950b8,_0x36f266,_0x4f4e6e,_0x36ae9d,_0x4576a9,_0x15091c,_0xc9d7fa,_0x410099,_0x2414c1,_0x4b49bb,_0x4be19d),N(this,_0x1fdf17(0x22d),null),(this[_0x1fdf17(0x31d)]=_0x3d195d,this[_0x1fdf17(0x3a3)]=_0x2950b8);}['addHandlerCallback'](_0x54b3f3){var _0x420cac=_0x3ebd1b;this[_0x420cac(0x22d)]=_0x54b3f3;}[_0x3ebd1b(0x27c)](){var _0x259cb5=_0x3ebd1b;this[_0x259cb5(0x22d)]=null,super['dispose']();}[_0x3ebd1b(0x3a9)](){var _0xf86bcd=_0x3ebd1b;const _0x45daf5=super['_createHandler']();return _0x45daf5[_0xf86bcd(0x2c1)]=_0x18da2f=>{var _0x2550d1=_0xf86bcd,_0x1cce51,_0x1f52ea;return(_0x1f52ea=(_0x1cce51=this['_handlerCallback'])==null?void 0x0:_0x1cce51[_0x2550d1(0x2c1)])==null?void 0x0:_0x1f52ea['call'](_0x1cce51,_0x18da2f);},_0x45daf5['onTransformState']=_0x10e658=>{var _0x14260b=_0xf86bcd,_0x416a1e,_0x23ede5;return(_0x23ede5=(_0x416a1e=this['_handlerCallback'])==null?void 0x0:_0x416a1e['onTransformState'])==null?void 0x0:_0x23ede5[_0x14260b(0x33d)](_0x416a1e,_0x10e658);},_0x45daf5[_0xf86bcd(0x3cd)]=_0xd91b0f=>{var _0x4cb5f6=_0xf86bcd,_0x4673b1,_0xf3d74a;return(_0xf3d74a=(_0x4673b1=this['_handlerCallback'])==null?void 0x0:_0x4673b1[_0x4cb5f6(0x3cd)])==null?void 0x0:_0xf3d74a[_0x4cb5f6(0x33d)](_0x4673b1,_0xd91b0f);},_0x45daf5[_0xf86bcd(0x1c6)]=_0x1a20d9=>{var _0x2ec271=_0xf86bcd,_0x4a8dc9,_0x24ceba;return(_0x24ceba=(_0x4a8dc9=this['_handlerCallback'])==null?void 0x0:_0x4a8dc9['onSyncEditingCollabCursor'])==null?void 0x0:_0x24ceba[_0x2ec271(0x33d)](_0x4a8dc9,_0x1a20d9);},_0x45daf5[_0xf86bcd(0x258)]=_0x56f61d=>{var _0x33a6e5=_0xf86bcd,_0x5ba37c,_0x40fd0a,_0x4628ed;if(!((_0x5ba37c=this[_0x33a6e5(0x22d)])!=null&&_0x5ba37c[_0x33a6e5(0x258)]))throw new Error(_0x33a6e5(0x256));return(_0x4628ed=(_0x40fd0a=this['_handlerCallback'])==null?void 0x0:_0x40fd0a[_0x33a6e5(0x258)])==null?void 0x0:_0x4628ed[_0x33a6e5(0x33d)](_0x40fd0a,_0x56f61d);},_0x45daf5[_0xf86bcd(0x2f3)]=_0x4c8d70=>{var _0x27e421=_0xf86bcd,_0x1cdea0,_0xa58085,_0x546062;if(!((_0x1cdea0=this[_0x27e421(0x22d)])!=null&&_0x1cdea0[_0x27e421(0x2f3)]))throw new Error(_0x27e421(0x276));return(_0x546062=(_0xa58085=this[_0x27e421(0x22d)])==null?void 0x0:_0xa58085[_0x27e421(0x2f3)])==null?void 0x0:_0x546062['call'](_0xa58085,_0x4c8d70);},_0x45daf5;}async[_0x3ebd1b(0x32a)](){var _0x511359=_0x3ebd1b;const _0x721492=await super[_0x511359(0x32a)]();return this[_0x511359(0x417)](this[_0x511359(0x2bd)][_0x511359(0x484)]((_0x44a70d,_0x1ab64a)=>{var _0x173686=_0x511359;if(_0x44a70d[_0x173686(0x3a3)]!==_0x20dd31[_0x173686(0x202)]||_0x1ab64a!=null&&_0x1ab64a[_0x173686(0x2ba)]||_0x1ab64a!=null&&_0x1ab64a[_0x173686(0x1dd)]||_0x44a70d['id']===_0x3aa6ca['id'])return;const _0x1f9a6f=_0x44a70d[_0x173686(0x490)];if((_0x1f9a6f==null?void 0x0:_0x1f9a6f['unitId'])!==this[_0x173686(0x31d)])return;const _0x258631=_0x44a70d,_0x174831=this['_compressMutationService']['interceptor']['fetchThroughInterceptors'](this['_compressMutationService'][_0x173686(0x435)][_0x173686(0x2c7)]()[_0x173686(0x39a)])([_0x258631],null)||[_0x258631];this['_onLocalMutation'](_0x174831[0x0]);})),_0x721492;}};It=xt([H(0x3,_0x4f3deb(_0x4fddf8)),H(0x4,_0x4f3deb(_0x429dc5)),H(0x5,_0x4f3deb(_0xb18863)),H(0x6,_0x4f3deb(_0xa5d976)),H(0x7,_0x4f3deb(pe)),H(0x8,_0x53833e),H(0x9,_0x13fb4e),H(0xa,_0x115665),H(0xb,_0x3b02db(ht)),H(0xc,_0x3b02db(J))],It);let Tt=class extends rt{constructor(_0x12357c,_0x1c0760,_0x4c0c4a,_0x106071,_0x9178c1,_0x373a21,_0xa98a8a,_0x402654,_0x46c452,_0x545d7b,_0x318279,_0xfc9c46,_0x538174,_0x549da3){var _0x44c0ae=_0x3ebd1b;super(_0x12357c,_0x4c0c4a,_0x1c0760,_0x106071,_0x9178c1,_0x373a21,_0xa98a8a,_0x46c452,_0x545d7b,_0x318279,_0xfc9c46,_0x538174,_0x549da3),this['unitID']=_0x12357c,this[_0x44c0ae(0x3a3)]=_0x1c0760,this[_0x44c0ae(0x438)]=_0x402654;}[_0x3ebd1b(0x3a9)](){var _0x50a35f=_0x3ebd1b;const _0x3dd9ff=super[_0x50a35f(0x3a9)]();return _0x3dd9ff[_0x50a35f(0x3cd)]=_0x5927a9=>this[_0x50a35f(0x438)][_0x50a35f(0x344)](_0x5927a9),_0x3dd9ff;}async[_0x3ebd1b(0x32a)](){var _0xc45a38=_0x3ebd1b;const _0x55f8c2=await super[_0xc45a38(0x32a)]();return this[_0xc45a38(0x417)](this[_0xc45a38(0x2bd)][_0xc45a38(0x484)]((_0x2f78a5,_0x562d5e)=>{var _0x2b0c8e=_0xc45a38;if(_0x2f78a5[_0x2b0c8e(0x3a3)]!==_0x20dd31[_0x2b0c8e(0x202)]||_0x562d5e!=null&&_0x562d5e['fromCollab']||_0x562d5e!=null&&_0x562d5e[_0x2b0c8e(0x1dd)])return;const _0x3c4b76=_0x2f78a5[_0x2b0c8e(0x490)];if((_0x3c4b76==null?void 0x0:_0x3c4b76[_0x2b0c8e(0x388)])!==this[_0x2b0c8e(0x31d)])return;const _0x51ce46=_0x2f78a5,_0x34bbfa=this[_0x2b0c8e(0x468)][_0x2b0c8e(0x435)][_0x2b0c8e(0x203)](this[_0x2b0c8e(0x468)][_0x2b0c8e(0x435)]['getInterceptPoints']()[_0x2b0c8e(0x39a)])([_0x51ce46],null)||[_0x51ce46];this['_onLocalMutation'](_0x34bbfa[0x0]);})),_0x55f8c2;}};Tt=xt([H(0x3,_0x4f3deb(_0x4fddf8)),H(0x4,_0x4f3deb(_0x429dc5)),H(0x5,_0x4f3deb(_0xb18863)),H(0x6,_0x4f3deb(_0xa5d976)),H(0x7,_0x4f3deb(it)),H(0x8,_0x4f3deb(pe)),H(0x9,_0x53833e),H(0xa,_0x13fb4e),H(0xb,_0x115665),H(0xc,_0x3b02db(ht)),H(0xd,_0x3b02db(J))],Tt);var an=Object['getOwnPropertyDescriptor'],cn=(_0x2950ff,_0x16002a,_0x226c18,_0x1465ec)=>{var _0x55d567=_0x3ebd1b;for(var _0x39b7fd=_0x1465ec>0x1?void 0x0:_0x1465ec?an(_0x16002a,_0x226c18):_0x16002a,_0xb2e698=_0x2950ff[_0x55d567(0x363)]-0x1,_0x6b7259;_0xb2e698>=0x0;_0xb2e698--)(_0x6b7259=_0x2950ff[_0xb2e698])&&(_0x39b7fd=_0x6b7259(_0x39b7fd)||_0x39b7fd);return _0x39b7fd;},ft=(_0x5eff47,_0x23a264)=>(_0x1a87cd,_0x32da42)=>_0x23a264(_0x1a87cd,_0x32da42,_0x5eff47);let nt=class extends _0x32d278{constructor(_0x314499,_0x43dd10,_0xa20869){var _0x468260=_0x3ebd1b;super(),N(this,_0x468260(0x3e6),new Map()),N(this,'_entityInit$',new _0x384b9e()),N(this,'entityInit$',this[_0x468260(0x1d4)][_0x468260(0x477)]()),(this[_0x468260(0x346)]=_0x314499,this[_0x468260(0x366)]=_0x43dd10,this[_0x468260(0x419)]=_0xa20869,this['_init']());}['dispose'](){var _0x316182=_0x3ebd1b;super['dispose'](),this[_0x316182(0x3e6)][_0x316182(0x326)](_0x112009=>_0x112009[_0x316182(0x27c)]()),this['_entities']['clear']();}[_0x3ebd1b(0x2ff)](_0xae12f0){var _0xe09c41=_0x3ebd1b,_0x56d289;return(_0x56d289=this[_0xe09c41(0x3e6)]['get'](_0xae12f0))!=null?_0x56d289:null;}[_0x3ebd1b(0x368)](_0x13e536){var _0x3490f3=_0x3ebd1b;const _0x916f07=this['getCollabEntity'](_0x13e536);return _0x916f07?_0x490a2c(_0x916f07):this[_0x3490f3(0x1d4)]['pipe'](_0x1a4f87(_0x2d43f5=>_0x2d43f5[_0x3490f3(0x31d)]===_0x13e536));}['readyForCollab'](_0x416b4c){var _0x23f96b=_0x3ebd1b;return _0x557225(this[_0x23f96b(0x368)](_0x416b4c)['pipe'](_0x182a28(()=>{})));}['_init'](){var _0x581596=_0x3ebd1b;this[_0x581596(0x419)]['getTypeOfUnitAdded$'](_0x6e43e8[_0x581596(0x3f5)])[_0x581596(0x2e0)](_0x10896f(this[_0x581596(0x2e3)]),_0xdf788d(0x10))[_0x581596(0x3c0)](async _0x3c4fa3=>{var _0x87e4b3=_0x581596;const _0x2bd0f9=_0x3c4fa3[_0x87e4b3(0x41a)](),_0x1a2320=await this[_0x87e4b3(0x3b5)](_0x2bd0f9,Q[_0x87e4b3(0x3f5)]);this[_0x87e4b3(0x3e6)][_0x87e4b3(0x3c2)](_0x2bd0f9,_0x1a2320);}),this['_univerInstanceService'][_0x581596(0x1d5)](_0x6e43e8[_0x581596(0x467)])['pipe'](_0x10896f(this['dispose$']),_0xdf788d(0x10))[_0x581596(0x2e0)](_0x1a4f87(_0x13c93a=>!_0x13c93a[_0x581596(0x41a)]()[_0x581596(0x475)]('__')))[_0x581596(0x3c0)](async _0x200d93=>{var _0x2f0126=_0x581596;const _0xad9873=_0x200d93['getUnitId'](),_0x3eb717=await this[_0x2f0126(0x3b5)](_0xad9873,Q['UNIVER_DOC']);this['_entities'][_0x2f0126(0x3c2)](_0xad9873,_0x3eb717);}),_0x4f1458(this[_0x581596(0x419)][_0x581596(0x20d)](_0x6e43e8[_0x581596(0x3f5)]),this[_0x581596(0x419)][_0x581596(0x20d)](_0x6e43e8[_0x581596(0x467)]))[_0x581596(0x2e0)](_0x10896f(this[_0x581596(0x2e3)]))[_0x581596(0x3c0)](_0x4a435d=>{var _0x40d28d=_0x581596;const _0x8f8cad=_0x4a435d[_0x40d28d(0x41a)](),_0x2371f9=this[_0x40d28d(0x3e6)][_0x40d28d(0x285)](_0x8f8cad);_0x2371f9&&(_0x2371f9[_0x40d28d(0x27c)](),this[_0x40d28d(0x3e6)][_0x40d28d(0x488)](_0x8f8cad));});}async[_0x3ebd1b(0x3b5)](_0x2d6a44,_0x1d65fb){var _0x3ac283=_0x3ebd1b;const _0x11218f=await this[_0x3ac283(0x366)][_0x3ac283(0x26f)](_0x2d6a44),_0x23409d=this[_0x3ac283(0x346)][_0x3ac283(0x1fc)](this[_0x3ac283(0x239)](_0x1d65fb),_0x2d6a44,_0x1d65fb,_0x11218f);return await _0x23409d[_0x3ac283(0x1cf)](),this[_0x3ac283(0x1d4)]['next'](_0x23409d),_0x23409d;}[_0x3ebd1b(0x239)](_0x5899d6){var _0x2afa61=_0x3ebd1b;switch(_0x5899d6){case Q[_0x2afa61(0x467)]:return It;case Q[_0x2afa61(0x3f5)]:return Tt;default:throw new Error(_0x2afa61(0x36b)+_0x5899d6);}}};nt=cn([ft(0x0,_0x4f3deb(_0x4fddf8)),ft(0x1,_0x4f3deb(Le)),ft(0x2,_0x42c510)],nt);var hn=Object[_0x3ebd1b(0x2a5)],_n=(_0x8a916c,_0x3c0379,_0xb562d2,_0x2c3e7e)=>{var _0xbf373f=_0x3ebd1b;for(var _0x4d89a1=_0x2c3e7e>0x1?void 0x0:_0x2c3e7e?hn(_0x3c0379,_0xb562d2):_0x3c0379,_0x16ccd4=_0x8a916c[_0xbf373f(0x363)]-0x1,_0xf48576;_0x16ccd4>=0x0;_0x16ccd4--)(_0xf48576=_0x8a916c[_0x16ccd4])&&(_0x4d89a1=_0xf48576(_0x4d89a1)||_0x4d89a1);return _0x4d89a1;},zt=(_0x22072b,_0x3adc35)=>(_0x32c496,_0x550b99)=>_0x3adc35(_0x32c496,_0x550b99,_0x22072b);const ln=_0x3ebd1b(0x443),un=_0x3ebd1b(0x2ed);let Ct=class extends _0x18c765{constructor(_0x62ab66,_0x134baa){var _0x44d2ea=_0x3ebd1b;super(),this[_0x44d2ea(0x419)]=_0x62ab66,this[_0x44d2ea(0x1d2)]=_0x134baa,this[_0x44d2ea(0x32a)]();}['_init'](){var _0x280f5c=_0x3ebd1b;this['disposeWithMe'](this[_0x280f5c(0x419)][_0x280f5c(0x2a8)][_0x280f5c(0x3c0)](()=>{var _0x1b349a=_0x280f5c,_0x372241;const _0x1b2af0=this['_univerInstanceService']['getFocusedUnit']();let _0x3bd0f6=(_0x372241=this[_0x1b349a(0x1d2)][_0x1b349a(0x445)](ln))!=null?_0x372241:un;_0x1b2af0 instanceof _0xfe2436&&(_0x3bd0f6=_0x1b2af0[_0x1b349a(0x289)]),document[_0x1b349a(0x1ad)]=_0x3bd0f6;}));}};Ct=_n([zt(0x0,_0x42c510),zt(0x1,_0x2a770c)],Ct);var dn=Object[_0x3ebd1b(0x2a5)],fn=(_0x3e98bf,_0x8e252e,_0x536c46,_0xdfcaa5)=>{var _0x316d65=_0x3ebd1b;for(var _0x518c03=_0xdfcaa5>0x1?void 0x0:_0xdfcaa5?dn(_0x8e252e,_0x536c46):_0x8e252e,_0x5e0d8c=_0x3e98bf[_0x316d65(0x363)]-0x1,_0x19b648;_0x5e0d8c>=0x0;_0x5e0d8c--)(_0x19b648=_0x3e98bf[_0x5e0d8c])&&(_0x518c03=_0x19b648(_0x518c03)||_0x518c03);return _0x518c03;},vt=(_0x3e82c7,_0x3ff320)=>(_0x3b633d,_0x5883f1)=>_0x3ff320(_0x3b633d,_0x5883f1,_0x3e82c7);let st=class{constructor(_0x1ea29a,_0x3ef3ad,_0x5d7877){var _0x574ced=_0x3ebd1b;this[_0x574ced(0x1d2)]=_0x1ea29a,this[_0x574ced(0x304)]=_0x3ef3ad,this[_0x574ced(0x43b)]=_0x5d7877,this['init']();}[_0x3ebd1b(0x1cf)](){var _0x333298=_0x3ebd1b;this[_0x333298(0x304)]['registerHTTPInterceptor']({'priority':0x1,'interceptor':(_0x23a682,_0x59aff7)=>_0x59aff7(_0x23a682)[_0x333298(0x2e0)](_0x5c75e0(async _0x400d9f=>{var _0x2fbd7f=_0x333298;const _0xfea96b=_0x400d9f;if(_0xfea96b['status']===0x191){if(typeof window>'u')throw new Error(_0x2fbd7f(0x2b6));if(window[_0x2fbd7f(0x394)](this[_0x2fbd7f(0x43b)]['t'](_0x2fbd7f(0x300)))){const _0x577fc1=window[_0x2fbd7f(0x426)](window[_0x2fbd7f(0x313)][_0x2fbd7f(0x2b2)]);window[_0x2fbd7f(0x313)]['href']=this[_0x2fbd7f(0x38e)]()+'?url='+_0x577fc1;}}return _0xfea96b;}))});}[_0x3ebd1b(0x38e)](){var _0x57a35c=_0x3ebd1b,_0x13e12c,_0x12d982;const _0x4f470d=this['_configService']['getConfig'](Dr),_0x518fd7=this['_configService'][_0x57a35c(0x445)](q);return(_0x12d982=(_0x13e12c=_0x518fd7==null?void 0x0:_0x518fd7[_0x57a35c(0x292)])!=null?_0x13e12c:_0x4f470d)!=null?_0x12d982:wr;}};st=fn([vt(0x0,_0x2a770c),vt(0x1,_0x4f3deb(_0x33658e)),vt(0x2,_0x4f3deb(_0xb18863))],st);var vn=Object['getOwnPropertyDescriptor'],pn=(_0x3c39f1,_0x55e8b1,_0x4adbc9,_0x5b63ae)=>{var _0x33476b=_0x3ebd1b;for(var _0x3c67ff=_0x5b63ae>0x1?void 0x0:_0x5b63ae?vn(_0x55e8b1,_0x4adbc9):_0x55e8b1,_0x18f99b=_0x3c39f1[_0x33476b(0x363)]-0x1,_0xb234e7;_0x18f99b>=0x0;_0x18f99b--)(_0xb234e7=_0x3c39f1[_0x18f99b])&&(_0x3c67ff=_0xb234e7(_0x3c67ff)||_0x3c67ff);return _0x3c67ff;},Jt=(_0x291e0d,_0xe0b4d7)=>(_0x18c86d,_0x43fd55)=>_0xe0b4d7(_0x18c86d,_0x43fd55,_0x291e0d);const Ni='AUTHZ_URL_KEY',mn='/universer-api/authz';let Rt=class extends _0x18c765{constructor(_0x212445,_0x4f5be9){var _0x343fed=_0x3ebd1b;super(),this['_HTTPService']=_0x212445,this[_0x343fed(0x1d2)]=_0x4f5be9,this['_initMergeInterceptor']();}['_initMergeInterceptor'](){var _0x5b9821=_0x3ebd1b;const _0x2852e7=this;this[_0x5b9821(0x417)](this[_0x5b9821(0x2f4)][_0x5b9821(0x25a)]({'priority':0x3e7,'interceptor':_0x550b93({'isMatch'(_0x48e438){var _0x186bd4=_0x5b9821,_0x113a5a;if(_0x48e438[_0x186bd4(0x29b)]===_0x186bd4(0x278)&&((_0x113a5a=_0x48e438[_0x186bd4(0x26d)])!=null&&_0x113a5a[_0x186bd4(0x221)])){const {objectID:_0x400b16,objectType:_0x9808fd}=_0x48e438[_0x186bd4(0x26d)][_0x186bd4(0x221)]||{};if(!_0x400b16||_0x9808fd===void 0x0)return!0x1;const _0x2f18e1=_0x2852e7[_0x186bd4(0x343)]()+'/'+_0x9808fd+_0x186bd4(0x45a)+_0x400b16+_0x186bd4(0x206);if(_0x48e438[_0x186bd4(0x31a)]===_0x2f18e1)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x2f4836){var _0x4594cf=_0x5b9821,_0x369b95;return(_0x369b95=_0x2f4836[_0x4594cf(0x26d)])==null?void 0x0:_0x369b95[_0x4594cf(0x221)];},'mergeParamsToRequest'(_0x358ed9,_0x5ea0a6){var _0xccd0a=_0x5b9821;const _0x18a041=_0x2852e7['_getAPIPrefixPath']()+_0xccd0a(0x295),_0x43b58d=_0x358ed9['reduce']((_0x55d412,_0x587dc3)=>{var _0x299d56=_0xccd0a;const {unitID:_0x318235,objectID:_0x13f384,objectType:_0x1f5d86,actions:_0x47e53a}=_0x587dc3;return _0x55d412[_0x318235]||(_0x55d412[_0x318235]={}),_0x55d412[_0x318235][_0x13f384]||(_0x55d412[_0x318235][_0x13f384]={'objectID':_0x13f384,'objectType':_0x1f5d86,'actions':[]}),_0x55d412[_0x318235][_0x13f384][_0x299d56(0x1ea)][_0x299d56(0x427)](..._0x47e53a),_0x55d412;},{}),_0x505361=[];for(const _0x2f1ee9 in _0x43b58d)for(const _0x47d69b in _0x43b58d[_0x2f1ee9]){const {actions:_0x1f7a78,objectType:_0x211456}=_0x43b58d[_0x2f1ee9][_0x47d69b],_0x534d49=[...new Set(_0x1f7a78)];_0x505361[_0xccd0a(0x427)]({'unitID':_0x2f1ee9,'objectID':_0x47d69b,'objectType':_0x211456,'actions':_0x534d49});}return new _0x228c9d(_0xccd0a(0x278),_0x18a041,{'headers':_0x5ea0a6[_0xccd0a(0x3c4)],'withCredentials':_0x5ea0a6[_0xccd0a(0x36e)],'responseType':_0x5ea0a6[_0xccd0a(0x1e2)],'body':{'requests':_0x505361}});}},{'distributeResult'(_0x5805b7,_0x4676c6){var _0x1d389a=_0x5b9821;const {objectActions:_0x183ce7}=_0x5805b7;return _0x4676c6[_0x1d389a(0x453)](_0x5c99e6=>{var _0x19a2fc=_0x1d389a;const {unitID:_0x1bb079,objectID:_0x498293,actions:_0x289106}=_0x5c99e6,_0x395171=_0x183ce7[_0x19a2fc(0x1c8)](_0x4929b1=>_0x4929b1[_0x19a2fc(0x31d)]===_0x1bb079&&_0x4929b1[_0x19a2fc(0x3ee)]===_0x498293),_0x419548=_0x289106[_0x19a2fc(0x453)](_0x38381b=>_0x395171==null?void 0x0:_0x395171[_0x19a2fc(0x1ea)]['find'](_0x268ee0=>_0x268ee0[_0x19a2fc(0x255)]===_0x38381b))[_0x19a2fc(0x1f1)](_0x5d0bbf=>!!_0x5d0bbf);return{'config':_0x5c99e6,'result':{'actions':_0x419548,'error':_0x5805b7['error']}};});}})}));}[_0x3ebd1b(0x343)](){var _0x2b0950=_0x3ebd1b,_0xff361e,_0x3b01ed;const _0x818bef=this[_0x2b0950(0x1d2)][_0x2b0950(0x445)](Ni),_0x3ce4ed=this[_0x2b0950(0x1d2)][_0x2b0950(0x445)](q);return(_0x3b01ed=(_0xff361e=_0x3ce4ed==null?void 0x0:_0x3ce4ed['authzUrl'])!=null?_0xff361e:_0x818bef)!=null?_0x3b01ed:mn;}async[_0x3ebd1b(0x272)](_0x6104d8){var _0x519651=_0x3ebd1b;const _0x107b3e=this[_0x519651(0x343)]()+'/'+_0x6104d8[_0x519651(0x437)]+_0x519651(0x1fa);return(await this['_HTTPService'][_0x519651(0x38c)](_0x107b3e,{'body':_0x6104d8}))[_0x519651(0x221)]['objectID']||'';}async[_0x3ebd1b(0x335)](_0x4a7aa7){var _0xa09cc8=_0x3ebd1b;const _0x277f80=this[_0xa09cc8(0x343)]()+'/-/object/list';return(await this[_0xa09cc8(0x2f4)][_0xa09cc8(0x38c)](_0x277f80,{'body':_0x4a7aa7}))['body'][_0xa09cc8(0x2c8)];}async[_0x3ebd1b(0x380)](_0x4376b5){var _0x5109b5=_0x3ebd1b;const _0x458a3e=this['_getAPIPrefixPath']()+'/'+_0x4376b5['objectType']+_0x5109b5(0x45a)+_0x4376b5[_0x5109b5(0x3ee)];await this[_0x5109b5(0x2f4)][_0x5109b5(0x277)](_0x458a3e,{'body':_0x4376b5});}async['allowed'](_0x186a86){var _0x8f2cab=_0x3ebd1b;const _0x24dd15=this[_0x8f2cab(0x343)]()+'/'+_0x186a86[_0x8f2cab(0x437)]+_0x8f2cab(0x45a)+_0x186a86[_0x8f2cab(0x3ee)]+'/allowed';return(await this['_HTTPService'][_0x8f2cab(0x38c)](_0x24dd15,{'body':_0x186a86}))[_0x8f2cab(0x221)]['actions'];}async[_0x3ebd1b(0x1eb)](_0x5b855d){var _0x579091=_0x3ebd1b;const _0x6768c0=this[_0x579091(0x343)]()+_0x579091(0x295);return(await this[_0x579091(0x2f4)][_0x579091(0x38c)](_0x6768c0,{'body':{'requests':_0x5b855d}}))[_0x579091(0x221)][_0x579091(0x2cd)];}async[_0x3ebd1b(0x219)](_0x64d3ee){var _0x9e387b=_0x3ebd1b;const _0x4f6c64=this['_getAPIPrefixPath']()+'/'+_0x64d3ee[_0x9e387b(0x437)]+_0x9e387b(0x1ed),_0x5b0517=await this[_0x9e387b(0x2f4)][_0x9e387b(0x38c)](_0x4f6c64,{'body':_0x64d3ee});return{'roles':_0x5b0517[_0x9e387b(0x221)]['roles'],'actions':_0x5b0517[_0x9e387b(0x221)][_0x9e387b(0x1ea)]};}async['deleteCollaborator'](_0x3b0aa0){var _0x23bea1=_0x3ebd1b;const _0x3d219a=this[_0x23bea1(0x343)]()+_0x23bea1(0x32e);await this['_HTTPService']['delete'](_0x3d219a,{'params':{'collaboratorID':_0x3b0aa0[_0x23bea1(0x23a)],'objectID':_0x3b0aa0['objectID'],'unitID':_0x3b0aa0[_0x23bea1(0x31d)]}});}async[_0x3ebd1b(0x32f)](_0x134185){var _0x230c7b=_0x3ebd1b;const _0x599824=this[_0x230c7b(0x343)]()+_0x230c7b(0x32e);await this[_0x230c7b(0x2f4)][_0x230c7b(0x348)](_0x599824,{'body':_0x134185});}async[_0x3ebd1b(0x3d2)](_0x3b09a7){var _0x5d923c=_0x3ebd1b;const _0x35aad9=this[_0x5d923c(0x343)]()+_0x5d923c(0x32e);await this[_0x5d923c(0x2f4)][_0x5d923c(0x38c)](_0x35aad9,{'body':_0x3b09a7});}async[_0x3ebd1b(0x248)](_0x1f64fe){var _0x5048eb=_0x3ebd1b;const _0x39f234=this[_0x5048eb(0x343)]()+_0x5048eb(0x32e);return(await this[_0x5048eb(0x2f4)][_0x5048eb(0x285)](_0x39f234,{'params':{'objectID':_0x1f64fe[_0x5048eb(0x3ee)],'unitID':_0x1f64fe['unitID']}}))['body']['collaborators'];}async[_0x3ebd1b(0x473)](_0x3659e6){var _0x1ba9a2=_0x3ebd1b;const _0x450865=this['_getAPIPrefixPath']()+'/collaborator';await this[_0x1ba9a2(0x2f4)][_0x1ba9a2(0x277)](_0x450865,{'body':_0x3659e6});}};Rt=pn([Jt(0x0,_0x4f3deb(_0x33658e)),Jt(0x1,_0x4f3deb(_0x2a770c))],Rt);var pt=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function He(_0x3dd723){var _0x563149=_0x3ebd1b;return _0x3dd723&&_0x3dd723[_0x563149(0x306)]&&Object[_0x563149(0x25e)][_0x563149(0x447)][_0x563149(0x33d)](_0x3dd723,_0x563149(0x261))?_0x3dd723[_0x563149(0x261)]:_0x3dd723;}var Ge={'exports':{}};function gn(_0x1d5969){var _0x12a859=_0x3ebd1b;throw new Error(_0x12a859(0x287)+_0x1d5969+_0x12a859(0x312));}var Ve={'exports':{}},Sn=Ve['exports'],Xt;function ie(){return Xt||(Xt=0x1,function(_0x1bb38d,_0x424f4a){(function(_0x3d858c,_0x7660d0){_0x1bb38d['exports']=_0x7660d0();}(Sn,function(){var _0x5b4fba=_0x5b4fba||function(_0xf74cdf,_0x52d757){var _0x2c585d=_0x44ec,_0x1043a7;if(typeof window<'u'&&window[_0x2c585d(0x226)]&&(_0x1043a7=window['crypto']),typeof self<'u'&&self['crypto']&&(_0x1043a7=self[_0x2c585d(0x226)]),typeof globalThis<'u'&&globalThis['crypto']&&(_0x1043a7=globalThis[_0x2c585d(0x226)]),!_0x1043a7&&typeof window<'u'&&window[_0x2c585d(0x1ba)]&&(_0x1043a7=window['msCrypto']),!_0x1043a7&&typeof pt<'u'&&pt[_0x2c585d(0x226)]&&(_0x1043a7=pt[_0x2c585d(0x226)]),!_0x1043a7&&typeof gn==_0x2c585d(0x281))try{_0x1043a7=require('crypto');}catch{}var _0x16f106=function(){var _0x13ed69=_0x2c585d;if(_0x1043a7){if(typeof _0x1043a7[_0x13ed69(0x3a7)]=='function')try{return _0x1043a7[_0x13ed69(0x3a7)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x1043a7[_0x13ed69(0x2c5)]==_0x13ed69(0x281))try{return _0x1043a7[_0x13ed69(0x2c5)](0x4)[_0x13ed69(0x486)]();}catch{}}throw new Error('Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.');},_0x21822f=Object[_0x2c585d(0x272)]||(function(){function _0xde6fec(){}return function(_0xec8f6c){var _0x495538=_0x44ec,_0x53fff2;return _0xde6fec[_0x495538(0x25e)]=_0xec8f6c,_0x53fff2=new _0xde6fec(),_0xde6fec[_0x495538(0x25e)]=null,_0x53fff2;};}()),_0x46b574={},_0x160633=_0x46b574['lib']={},_0x4b056b=_0x160633[_0x2c585d(0x361)]=(function(){return{'extend':function(_0x10aef0){var _0x43c197=_0x44ec,_0x54a82d=_0x21822f(this);return _0x10aef0&&_0x54a82d[_0x43c197(0x2e5)](_0x10aef0),(!_0x54a82d['hasOwnProperty'](_0x43c197(0x1cf))||this[_0x43c197(0x1cf)]===_0x54a82d[_0x43c197(0x1cf)])&&(_0x54a82d[_0x43c197(0x1cf)]=function(){var _0x2084a2=_0x43c197;_0x54a82d[_0x2084a2(0x49b)]['init'][_0x2084a2(0x1fb)](this,arguments);}),_0x54a82d[_0x43c197(0x1cf)]['prototype']=_0x54a82d,_0x54a82d['$super']=this,_0x54a82d;},'create':function(){var _0x5b9c35=_0x44ec,_0x208cfb=this[_0x5b9c35(0x333)]();return _0x208cfb[_0x5b9c35(0x1cf)]['apply'](_0x208cfb,arguments),_0x208cfb;},'init':function(){},'mixIn':function(_0x48e4a6){var _0x2d0c81=_0x44ec;for(var _0x534cbd in _0x48e4a6)_0x48e4a6[_0x2d0c81(0x447)](_0x534cbd)&&(this[_0x534cbd]=_0x48e4a6[_0x534cbd]);_0x48e4a6[_0x2d0c81(0x447)](_0x2d0c81(0x1ab))&&(this[_0x2d0c81(0x1ab)]=_0x48e4a6[_0x2d0c81(0x1ab)]);},'clone':function(){var _0x5444c3=_0x44ec;return this[_0x5444c3(0x1cf)][_0x5444c3(0x25e)][_0x5444c3(0x333)](this);}};}()),_0x1b2ade=_0x160633[_0x2c585d(0x3d5)]=_0x4b056b['extend']({'init':function(_0x87f446,_0x5d9690){var _0x5d1b48=_0x2c585d;_0x87f446=this[_0x5d1b48(0x1d9)]=_0x87f446||[],_0x5d9690!=_0x52d757?this[_0x5d1b48(0x1e5)]=_0x5d9690:this[_0x5d1b48(0x1e5)]=_0x87f446[_0x5d1b48(0x363)]*0x4;},'toString':function(_0xdb54a2){return(_0xdb54a2||_0x3329cc)['stringify'](this);},'concat':function(_0x51e6f2){var _0x543c9a=_0x2c585d,_0x1397c3=this[_0x543c9a(0x1d9)],_0x1e6a8c=_0x51e6f2[_0x543c9a(0x1d9)],_0x4c7242=this[_0x543c9a(0x1e5)],_0x2cdf75=_0x51e6f2['sigBytes'];if(this[_0x543c9a(0x20b)](),_0x4c7242%0x4)for(var _0x4c7e6d=0x0;_0x4c7e6d<_0x2cdf75;_0x4c7e6d++){var _0x930ea7=_0x1e6a8c[_0x4c7e6d>>>0x2]>>>0x18-_0x4c7e6d%0x4*0x8&0xff;_0x1397c3[_0x4c7242+_0x4c7e6d>>>0x2]|=_0x930ea7<<0x18-(_0x4c7242+_0x4c7e6d)%0x4*0x8;}else{for(var _0x44844b=0x0;_0x44844b<_0x2cdf75;_0x44844b+=0x4)_0x1397c3[_0x4c7242+_0x44844b>>>0x2]=_0x1e6a8c[_0x44844b>>>0x2];}return this['sigBytes']+=_0x2cdf75,this;},'clamp':function(){var _0x277134=_0x2c585d,_0x316d79=this[_0x277134(0x1d9)],_0x29a77d=this[_0x277134(0x1e5)];_0x316d79[_0x29a77d>>>0x2]&=0xffffffff<<0x20-_0x29a77d%0x4*0x8,_0x316d79[_0x277134(0x363)]=_0xf74cdf[_0x277134(0x1cc)](_0x29a77d/0x4);},'clone':function(){var _0xf906cd=_0x2c585d,_0x3136c1=_0x4b056b[_0xf906cd(0x35e)][_0xf906cd(0x33d)](this);return _0x3136c1[_0xf906cd(0x1d9)]=this[_0xf906cd(0x1d9)]['slice'](0x0),_0x3136c1;},'random':function(_0x9ad970){var _0x2ee12b=_0x2c585d;for(var _0xfab28c=[],_0x4b6d90=0x0;_0x4b6d90<_0x9ad970;_0x4b6d90+=0x4)_0xfab28c[_0x2ee12b(0x427)](_0x16f106());return new _0x1b2ade['init'](_0xfab28c,_0x9ad970);}}),_0x3b61e5=_0x46b574[_0x2c585d(0x483)]={},_0x3329cc=_0x3b61e5[_0x2c585d(0x41f)]={'stringify':function(_0x1ac650){var _0x38e27d=_0x2c585d;for(var _0x4f48db=_0x1ac650['words'],_0x2ca43c=_0x1ac650[_0x38e27d(0x1e5)],_0x590be7=[],_0xf57f97=0x0;_0xf57f97<_0x2ca43c;_0xf57f97++){var _0xa5b1=_0x4f48db[_0xf57f97>>>0x2]>>>0x18-_0xf57f97%0x4*0x8&0xff;_0x590be7[_0x38e27d(0x427)]((_0xa5b1>>>0x4)[_0x38e27d(0x1ab)](0x10)),_0x590be7['push']((_0xa5b1&0xf)['toString'](0x10));}return _0x590be7[_0x38e27d(0x3c5)]('');},'parse':function(_0x427add){var _0x571e04=_0x2c585d;for(var _0x2f06f7=_0x427add[_0x571e04(0x363)],_0x3f9e81=[],_0x5a0226=0x0;_0x5a0226<_0x2f06f7;_0x5a0226+=0x2)_0x3f9e81[_0x5a0226>>>0x3]|=parseInt(_0x427add['substr'](_0x5a0226,0x2),0x10)<<0x18-_0x5a0226%0x8*0x4;return new _0x1b2ade[(_0x571e04(0x1cf))](_0x3f9e81,_0x2f06f7/0x2);}},_0x2076c5=_0x3b61e5['Latin1']={'stringify':function(_0x153b8e){var _0x3de5ab=_0x2c585d;for(var _0x1a5bda=_0x153b8e[_0x3de5ab(0x1d9)],_0x299b45=_0x153b8e[_0x3de5ab(0x1e5)],_0x82017c=[],_0x412faa=0x0;_0x412faa<_0x299b45;_0x412faa++){var _0x2ed124=_0x1a5bda[_0x412faa>>>0x2]>>>0x18-_0x412faa%0x4*0x8&0xff;_0x82017c['push'](String[_0x3de5ab(0x352)](_0x2ed124));}return _0x82017c[_0x3de5ab(0x3c5)]('');},'parse':function(_0x35ff66){var _0x3b7e86=_0x2c585d;for(var _0x1f51f9=_0x35ff66[_0x3b7e86(0x363)],_0x3db066=[],_0x3c5a83=0x0;_0x3c5a83<_0x1f51f9;_0x3c5a83++)_0x3db066[_0x3c5a83>>>0x2]|=(_0x35ff66[_0x3b7e86(0x3bc)](_0x3c5a83)&0xff)<<0x18-_0x3c5a83%0x4*0x8;return new _0x1b2ade[(_0x3b7e86(0x1cf))](_0x3db066,_0x1f51f9);}},_0x520955=_0x3b61e5[_0x2c585d(0x271)]={'stringify':function(_0x240ee9){var _0x403457=_0x2c585d;try{return decodeURIComponent(escape(_0x2076c5[_0x403457(0x48d)](_0x240ee9)));}catch{throw new Error(_0x403457(0x340));}},'parse':function(_0x243e77){return _0x2076c5['parse'](unescape(encodeURIComponent(_0x243e77)));}},_0x5e0e4f=_0x160633[_0x2c585d(0x269)]=_0x4b056b[_0x2c585d(0x333)]({'reset':function(){var _0x3bb704=_0x2c585d;this[_0x3bb704(0x2fd)]=new _0x1b2ade[(_0x3bb704(0x1cf))](),this['_nDataBytes']=0x0;},'_append':function(_0xf3224a){var _0x893a8e=_0x2c585d;typeof _0xf3224a==_0x893a8e(0x411)&&(_0xf3224a=_0x520955[_0x893a8e(0x1a3)](_0xf3224a)),this[_0x893a8e(0x2fd)][_0x893a8e(0x43c)](_0xf3224a),this[_0x893a8e(0x4a4)]+=_0xf3224a[_0x893a8e(0x1e5)];},'_process':function(_0x544834){var _0x4687a1=_0x2c585d,_0x1387fa,_0x17ff2d=this[_0x4687a1(0x2fd)],_0x176ae7=_0x17ff2d['words'],_0x1012d7=_0x17ff2d[_0x4687a1(0x1e5)],_0x32dfa0=this[_0x4687a1(0x1cd)],_0x2eab14=_0x32dfa0*0x4,_0xf1d468=_0x1012d7/_0x2eab14;_0x544834?_0xf1d468=_0xf74cdf[_0x4687a1(0x1cc)](_0xf1d468):_0xf1d468=_0xf74cdf['max']((_0xf1d468|0x0)-this[_0x4687a1(0x1a6)],0x0);var _0x2e9d47=_0xf1d468*_0x32dfa0,_0x75630f=_0xf74cdf['min'](_0x2e9d47*0x4,_0x1012d7);if(_0x2e9d47){for(var _0x125abd=0x0;_0x125abd<_0x2e9d47;_0x125abd+=_0x32dfa0)this['_doProcessBlock'](_0x176ae7,_0x125abd);_0x1387fa=_0x176ae7[_0x4687a1(0x1e4)](0x0,_0x2e9d47),_0x17ff2d[_0x4687a1(0x1e5)]-=_0x75630f;}return new _0x1b2ade[(_0x4687a1(0x1cf))](_0x1387fa,_0x75630f);},'clone':function(){var _0x2319a3=_0x2c585d,_0x32c276=_0x4b056b[_0x2319a3(0x35e)][_0x2319a3(0x33d)](this);return _0x32c276['_data']=this['_data'][_0x2319a3(0x35e)](),_0x32c276;},'_minBufferSize':0x0});_0x160633['Hasher']=_0x5e0e4f[_0x2c585d(0x333)]({'cfg':_0x4b056b[_0x2c585d(0x333)](),'init':function(_0x23c6cc){var _0x291393=_0x2c585d;this[_0x291393(0x24e)]=this[_0x291393(0x24e)][_0x291393(0x333)](_0x23c6cc),this['reset']();},'reset':function(){var _0x4d4356=_0x2c585d;_0x5e0e4f[_0x4d4356(0x1af)][_0x4d4356(0x33d)](this),this[_0x4d4356(0x3d6)]();},'update':function(_0x56bc45){var _0x4be899=_0x2c585d;return this['_append'](_0x56bc45),this[_0x4be899(0x436)](),this;},'finalize':function(_0xb6fc48){var _0x510ed0=_0x2c585d;_0xb6fc48&&this[_0x510ed0(0x22f)](_0xb6fc48);var _0x3948d3=this[_0x510ed0(0x1c7)]();return _0x3948d3;},'blockSize':0x10,'_createHelper':function(_0x305624){return function(_0x404bb6,_0x378ddd){var _0x2f2117=_0x44ec;return new _0x305624[(_0x2f2117(0x1cf))](_0x378ddd)[_0x2f2117(0x44a)](_0x404bb6);};},'_createHmacHelper':function(_0x217ae6){return function(_0x540716,_0x41fbc1){var _0x433d19=_0x44ec;return new _0x227e2b[(_0x433d19(0x1b5))][(_0x433d19(0x1cf))](_0x217ae6,_0x41fbc1)[_0x433d19(0x44a)](_0x540716);};}});var _0x227e2b=_0x46b574[_0x2c585d(0x237)]={};return _0x46b574;}(Math);return _0x5b4fba;}));}(Ve)),Ve['exports'];}var We={'exports':{}},En=We[_0x3ebd1b(0x1a9)],Zt;function Di(){return Zt||(Zt=0x1,function(_0x47646d,_0x81edd2){(function(_0x1d2d79,_0x4fccf0){var _0x1647b1=_0x44ec;_0x47646d[_0x1647b1(0x1a9)]=_0x4fccf0(ie());}(En,function(_0x5a8198){var _0x455cd0=_0x44ec;return(function(){var _0x16c696=_0x44ec,_0x282742=_0x5a8198,_0x4a8bd8=_0x282742[_0x16c696(0x401)],_0x128273=_0x4a8bd8['WordArray'],_0x16ac07=_0x282742[_0x16c696(0x483)];_0x16ac07[_0x16c696(0x430)]={'stringify':function(_0x122217){var _0x517018=_0x16c696,_0x4e9f2f=_0x122217[_0x517018(0x1d9)],_0xfe6ca3=_0x122217[_0x517018(0x1e5)],_0x291635=this[_0x517018(0x42c)];_0x122217['clamp']();for(var _0xe77cc5=[],_0x24435a=0x0;_0x24435a<_0xfe6ca3;_0x24435a+=0x3)for(var _0x48a83f=_0x4e9f2f[_0x24435a>>>0x2]>>>0x18-_0x24435a%0x4*0x8&0xff,_0x463a19=_0x4e9f2f[_0x24435a+0x1>>>0x2]>>>0x18-(_0x24435a+0x1)%0x4*0x8&0xff,_0xc132a9=_0x4e9f2f[_0x24435a+0x2>>>0x2]>>>0x18-(_0x24435a+0x2)%0x4*0x8&0xff,_0x499a1d=_0x48a83f<<0x10|_0x463a19<<0x8|_0xc132a9,_0x120ec2=0x0;_0x120ec2<0x4&&_0x24435a+_0x120ec2*0.75<_0xfe6ca3;_0x120ec2++)_0xe77cc5[_0x517018(0x427)](_0x291635[_0x517018(0x3b6)](_0x499a1d>>>0x6*(0x3-_0x120ec2)&0x3f));var _0x5c7c2=_0x291635[_0x517018(0x3b6)](0x40);if(_0x5c7c2){for(;_0xe77cc5[_0x517018(0x363)]%0x4;)_0xe77cc5[_0x517018(0x427)](_0x5c7c2);}return _0xe77cc5[_0x517018(0x3c5)]('');},'parse':function(_0x37cd4c){var _0x5342b7=_0x16c696,_0x53fbf4=_0x37cd4c[_0x5342b7(0x363)],_0x3c322d=this[_0x5342b7(0x42c)],_0x2f2461=this[_0x5342b7(0x458)];if(!_0x2f2461){_0x2f2461=this['_reverseMap']=[];for(var _0x41307f=0x0;_0x41307f<_0x3c322d[_0x5342b7(0x363)];_0x41307f++)_0x2f2461[_0x3c322d[_0x5342b7(0x3bc)](_0x41307f)]=_0x41307f;}var _0x1b5dbc=_0x3c322d[_0x5342b7(0x3b6)](0x40);if(_0x1b5dbc){var _0x38e00d=_0x37cd4c[_0x5342b7(0x3d9)](_0x1b5dbc);_0x38e00d!==-0x1&&(_0x53fbf4=_0x38e00d);}return _0xadf12e(_0x37cd4c,_0x53fbf4,_0x2f2461);},'_map':'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/='};function _0xadf12e(_0x30aa47,_0x562557,_0x1767ea){var _0xcca574=_0x16c696;for(var _0x34540f=[],_0x40e72f=0x0,_0x46d683=0x0;_0x46d683<_0x562557;_0x46d683++)if(_0x46d683%0x4){var _0x44d721=_0x1767ea[_0x30aa47[_0xcca574(0x3bc)](_0x46d683-0x1)]<<_0x46d683%0x4*0x2,_0x2c4729=_0x1767ea[_0x30aa47[_0xcca574(0x3bc)](_0x46d683)]>>>0x6-_0x46d683%0x4*0x2,_0x30350e=_0x44d721|_0x2c4729;_0x34540f[_0x40e72f>>>0x2]|=_0x30350e<<0x18-_0x40e72f%0x4*0x8,_0x40e72f++;}return _0x128273[_0xcca574(0x272)](_0x34540f,_0x40e72f);}}()),_0x5a8198[_0x455cd0(0x483)][_0x455cd0(0x430)];}));}(We)),We['exports'];}var Ke={'exports':{}},In=Ke[_0x3ebd1b(0x1a9)],Qt;function Tn(){return Qt||(Qt=0x1,function(_0x4426a0,_0x1a5a6f){(function(_0x4edb90,_0x3ac385){_0x4426a0['exports']=_0x3ac385(ie());}(In,function(_0x268340){return function(_0x535416){var _0x48a26d=_0x44ec,_0x4ad42f=_0x268340,_0x4f4179=_0x4ad42f[_0x48a26d(0x401)],_0x3b9a48=_0x4f4179[_0x48a26d(0x3d5)],_0x369ba1=_0x4f4179['Hasher'],_0x46873e=_0x4ad42f[_0x48a26d(0x237)],_0x1ede09=[];(function(){var _0xc3b479=_0x48a26d;for(var _0x791223=0x0;_0x791223<0x40;_0x791223++)_0x1ede09[_0x791223]=_0x535416[_0xc3b479(0x324)](_0x535416[_0xc3b479(0x2d8)](_0x791223+0x1))*0x100000000|0x0;}());var _0x3ab570=_0x46873e[_0x48a26d(0x1e7)]=_0x369ba1[_0x48a26d(0x333)]({'_doReset':function(){var _0x33ff1f=_0x48a26d;this[_0x33ff1f(0x47b)]=new _0x3b9a48['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x58e420,_0x26d584){var _0x47939b=_0x48a26d;for(var _0x5dd615=0x0;_0x5dd615<0x10;_0x5dd615++){var _0x23684b=_0x26d584+_0x5dd615,_0x48c55a=_0x58e420[_0x23684b];_0x58e420[_0x23684b]=(_0x48c55a<<0x8|_0x48c55a>>>0x18)&0xff00ff|(_0x48c55a<<0x18|_0x48c55a>>>0x8)&0xff00ff00;}var _0x38f92f=this[_0x47939b(0x47b)][_0x47939b(0x1d9)],_0x3f085b=_0x58e420[_0x26d584+0x0],_0x3a11fb=_0x58e420[_0x26d584+0x1],_0x520cb8=_0x58e420[_0x26d584+0x2],_0x10ad81=_0x58e420[_0x26d584+0x3],_0x12f78f=_0x58e420[_0x26d584+0x4],_0x20e4f9=_0x58e420[_0x26d584+0x5],_0x14e2b5=_0x58e420[_0x26d584+0x6],_0x26111d=_0x58e420[_0x26d584+0x7],_0x12d07d=_0x58e420[_0x26d584+0x8],_0x2ed82d=_0x58e420[_0x26d584+0x9],_0x482da2=_0x58e420[_0x26d584+0xa],_0x368599=_0x58e420[_0x26d584+0xb],_0xc6e9f9=_0x58e420[_0x26d584+0xc],_0xec84e4=_0x58e420[_0x26d584+0xd],_0x22025b=_0x58e420[_0x26d584+0xe],_0x25cbf3=_0x58e420[_0x26d584+0xf],_0x7d5f76=_0x38f92f[0x0],_0x138508=_0x38f92f[0x1],_0x377152=_0x38f92f[0x2],_0x4c570e=_0x38f92f[0x3];_0x7d5f76=_0xaf5b49(_0x7d5f76,_0x138508,_0x377152,_0x4c570e,_0x3f085b,0x7,_0x1ede09[0x0]),_0x4c570e=_0xaf5b49(_0x4c570e,_0x7d5f76,_0x138508,_0x377152,_0x3a11fb,0xc,_0x1ede09[0x1]),_0x377152=_0xaf5b49(_0x377152,_0x4c570e,_0x7d5f76,_0x138508,_0x520cb8,0x11,_0x1ede09[0x2]),_0x138508=_0xaf5b49(_0x138508,_0x377152,_0x4c570e,_0x7d5f76,_0x10ad81,0x16,_0x1ede09[0x3]),_0x7d5f76=_0xaf5b49(_0x7d5f76,_0x138508,_0x377152,_0x4c570e,_0x12f78f,0x7,_0x1ede09[0x4]),_0x4c570e=_0xaf5b49(_0x4c570e,_0x7d5f76,_0x138508,_0x377152,_0x20e4f9,0xc,_0x1ede09[0x5]),_0x377152=_0xaf5b49(_0x377152,_0x4c570e,_0x7d5f76,_0x138508,_0x14e2b5,0x11,_0x1ede09[0x6]),_0x138508=_0xaf5b49(_0x138508,_0x377152,_0x4c570e,_0x7d5f76,_0x26111d,0x16,_0x1ede09[0x7]),_0x7d5f76=_0xaf5b49(_0x7d5f76,_0x138508,_0x377152,_0x4c570e,_0x12d07d,0x7,_0x1ede09[0x8]),_0x4c570e=_0xaf5b49(_0x4c570e,_0x7d5f76,_0x138508,_0x377152,_0x2ed82d,0xc,_0x1ede09[0x9]),_0x377152=_0xaf5b49(_0x377152,_0x4c570e,_0x7d5f76,_0x138508,_0x482da2,0x11,_0x1ede09[0xa]),_0x138508=_0xaf5b49(_0x138508,_0x377152,_0x4c570e,_0x7d5f76,_0x368599,0x16,_0x1ede09[0xb]),_0x7d5f76=_0xaf5b49(_0x7d5f76,_0x138508,_0x377152,_0x4c570e,_0xc6e9f9,0x7,_0x1ede09[0xc]),_0x4c570e=_0xaf5b49(_0x4c570e,_0x7d5f76,_0x138508,_0x377152,_0xec84e4,0xc,_0x1ede09[0xd]),_0x377152=_0xaf5b49(_0x377152,_0x4c570e,_0x7d5f76,_0x138508,_0x22025b,0x11,_0x1ede09[0xe]),_0x138508=_0xaf5b49(_0x138508,_0x377152,_0x4c570e,_0x7d5f76,_0x25cbf3,0x16,_0x1ede09[0xf]),_0x7d5f76=_0x16662b(_0x7d5f76,_0x138508,_0x377152,_0x4c570e,_0x3a11fb,0x5,_0x1ede09[0x10]),_0x4c570e=_0x16662b(_0x4c570e,_0x7d5f76,_0x138508,_0x377152,_0x14e2b5,0x9,_0x1ede09[0x11]),_0x377152=_0x16662b(_0x377152,_0x4c570e,_0x7d5f76,_0x138508,_0x368599,0xe,_0x1ede09[0x12]),_0x138508=_0x16662b(_0x138508,_0x377152,_0x4c570e,_0x7d5f76,_0x3f085b,0x14,_0x1ede09[0x13]),_0x7d5f76=_0x16662b(_0x7d5f76,_0x138508,_0x377152,_0x4c570e,_0x20e4f9,0x5,_0x1ede09[0x14]),_0x4c570e=_0x16662b(_0x4c570e,_0x7d5f76,_0x138508,_0x377152,_0x482da2,0x9,_0x1ede09[0x15]),_0x377152=_0x16662b(_0x377152,_0x4c570e,_0x7d5f76,_0x138508,_0x25cbf3,0xe,_0x1ede09[0x16]),_0x138508=_0x16662b(_0x138508,_0x377152,_0x4c570e,_0x7d5f76,_0x12f78f,0x14,_0x1ede09[0x17]),_0x7d5f76=_0x16662b(_0x7d5f76,_0x138508,_0x377152,_0x4c570e,_0x2ed82d,0x5,_0x1ede09[0x18]),_0x4c570e=_0x16662b(_0x4c570e,_0x7d5f76,_0x138508,_0x377152,_0x22025b,0x9,_0x1ede09[0x19]),_0x377152=_0x16662b(_0x377152,_0x4c570e,_0x7d5f76,_0x138508,_0x10ad81,0xe,_0x1ede09[0x1a]),_0x138508=_0x16662b(_0x138508,_0x377152,_0x4c570e,_0x7d5f76,_0x12d07d,0x14,_0x1ede09[0x1b]),_0x7d5f76=_0x16662b(_0x7d5f76,_0x138508,_0x377152,_0x4c570e,_0xec84e4,0x5,_0x1ede09[0x1c]),_0x4c570e=_0x16662b(_0x4c570e,_0x7d5f76,_0x138508,_0x377152,_0x520cb8,0x9,_0x1ede09[0x1d]),_0x377152=_0x16662b(_0x377152,_0x4c570e,_0x7d5f76,_0x138508,_0x26111d,0xe,_0x1ede09[0x1e]),_0x138508=_0x16662b(_0x138508,_0x377152,_0x4c570e,_0x7d5f76,_0xc6e9f9,0x14,_0x1ede09[0x1f]),_0x7d5f76=_0xdeaf7b(_0x7d5f76,_0x138508,_0x377152,_0x4c570e,_0x20e4f9,0x4,_0x1ede09[0x20]),_0x4c570e=_0xdeaf7b(_0x4c570e,_0x7d5f76,_0x138508,_0x377152,_0x12d07d,0xb,_0x1ede09[0x21]),_0x377152=_0xdeaf7b(_0x377152,_0x4c570e,_0x7d5f76,_0x138508,_0x368599,0x10,_0x1ede09[0x22]),_0x138508=_0xdeaf7b(_0x138508,_0x377152,_0x4c570e,_0x7d5f76,_0x22025b,0x17,_0x1ede09[0x23]),_0x7d5f76=_0xdeaf7b(_0x7d5f76,_0x138508,_0x377152,_0x4c570e,_0x3a11fb,0x4,_0x1ede09[0x24]),_0x4c570e=_0xdeaf7b(_0x4c570e,_0x7d5f76,_0x138508,_0x377152,_0x12f78f,0xb,_0x1ede09[0x25]),_0x377152=_0xdeaf7b(_0x377152,_0x4c570e,_0x7d5f76,_0x138508,_0x26111d,0x10,_0x1ede09[0x26]),_0x138508=_0xdeaf7b(_0x138508,_0x377152,_0x4c570e,_0x7d5f76,_0x482da2,0x17,_0x1ede09[0x27]),_0x7d5f76=_0xdeaf7b(_0x7d5f76,_0x138508,_0x377152,_0x4c570e,_0xec84e4,0x4,_0x1ede09[0x28]),_0x4c570e=_0xdeaf7b(_0x4c570e,_0x7d5f76,_0x138508,_0x377152,_0x3f085b,0xb,_0x1ede09[0x29]),_0x377152=_0xdeaf7b(_0x377152,_0x4c570e,_0x7d5f76,_0x138508,_0x10ad81,0x10,_0x1ede09[0x2a]),_0x138508=_0xdeaf7b(_0x138508,_0x377152,_0x4c570e,_0x7d5f76,_0x14e2b5,0x17,_0x1ede09[0x2b]),_0x7d5f76=_0xdeaf7b(_0x7d5f76,_0x138508,_0x377152,_0x4c570e,_0x2ed82d,0x4,_0x1ede09[0x2c]),_0x4c570e=_0xdeaf7b(_0x4c570e,_0x7d5f76,_0x138508,_0x377152,_0xc6e9f9,0xb,_0x1ede09[0x2d]),_0x377152=_0xdeaf7b(_0x377152,_0x4c570e,_0x7d5f76,_0x138508,_0x25cbf3,0x10,_0x1ede09[0x2e]),_0x138508=_0xdeaf7b(_0x138508,_0x377152,_0x4c570e,_0x7d5f76,_0x520cb8,0x17,_0x1ede09[0x2f]),_0x7d5f76=_0x40c36d(_0x7d5f76,_0x138508,_0x377152,_0x4c570e,_0x3f085b,0x6,_0x1ede09[0x30]),_0x4c570e=_0x40c36d(_0x4c570e,_0x7d5f76,_0x138508,_0x377152,_0x26111d,0xa,_0x1ede09[0x31]),_0x377152=_0x40c36d(_0x377152,_0x4c570e,_0x7d5f76,_0x138508,_0x22025b,0xf,_0x1ede09[0x32]),_0x138508=_0x40c36d(_0x138508,_0x377152,_0x4c570e,_0x7d5f76,_0x20e4f9,0x15,_0x1ede09[0x33]),_0x7d5f76=_0x40c36d(_0x7d5f76,_0x138508,_0x377152,_0x4c570e,_0xc6e9f9,0x6,_0x1ede09[0x34]),_0x4c570e=_0x40c36d(_0x4c570e,_0x7d5f76,_0x138508,_0x377152,_0x10ad81,0xa,_0x1ede09[0x35]),_0x377152=_0x40c36d(_0x377152,_0x4c570e,_0x7d5f76,_0x138508,_0x482da2,0xf,_0x1ede09[0x36]),_0x138508=_0x40c36d(_0x138508,_0x377152,_0x4c570e,_0x7d5f76,_0x3a11fb,0x15,_0x1ede09[0x37]),_0x7d5f76=_0x40c36d(_0x7d5f76,_0x138508,_0x377152,_0x4c570e,_0x12d07d,0x6,_0x1ede09[0x38]),_0x4c570e=_0x40c36d(_0x4c570e,_0x7d5f76,_0x138508,_0x377152,_0x25cbf3,0xa,_0x1ede09[0x39]),_0x377152=_0x40c36d(_0x377152,_0x4c570e,_0x7d5f76,_0x138508,_0x14e2b5,0xf,_0x1ede09[0x3a]),_0x138508=_0x40c36d(_0x138508,_0x377152,_0x4c570e,_0x7d5f76,_0xec84e4,0x15,_0x1ede09[0x3b]),_0x7d5f76=_0x40c36d(_0x7d5f76,_0x138508,_0x377152,_0x4c570e,_0x12f78f,0x6,_0x1ede09[0x3c]),_0x4c570e=_0x40c36d(_0x4c570e,_0x7d5f76,_0x138508,_0x377152,_0x368599,0xa,_0x1ede09[0x3d]),_0x377152=_0x40c36d(_0x377152,_0x4c570e,_0x7d5f76,_0x138508,_0x520cb8,0xf,_0x1ede09[0x3e]),_0x138508=_0x40c36d(_0x138508,_0x377152,_0x4c570e,_0x7d5f76,_0x2ed82d,0x15,_0x1ede09[0x3f]),_0x38f92f[0x0]=_0x38f92f[0x0]+_0x7d5f76|0x0,_0x38f92f[0x1]=_0x38f92f[0x1]+_0x138508|0x0,_0x38f92f[0x2]=_0x38f92f[0x2]+_0x377152|0x0,_0x38f92f[0x3]=_0x38f92f[0x3]+_0x4c570e|0x0;},'_doFinalize':function(){var _0x3ca29a=_0x48a26d,_0x2fae6d=this['_data'],_0x11511d=_0x2fae6d['words'],_0xe58eaf=this[_0x3ca29a(0x4a4)]*0x8,_0x26e84d=_0x2fae6d[_0x3ca29a(0x1e5)]*0x8;_0x11511d[_0x26e84d>>>0x5]|=0x80<<0x18-_0x26e84d%0x20;var _0x16823d=_0x535416[_0x3ca29a(0x1c2)](_0xe58eaf/0x100000000),_0x1f57c6=_0xe58eaf;_0x11511d[(_0x26e84d+0x40>>>0x9<<0x4)+0xf]=(_0x16823d<<0x8|_0x16823d>>>0x18)&0xff00ff|(_0x16823d<<0x18|_0x16823d>>>0x8)&0xff00ff00,_0x11511d[(_0x26e84d+0x40>>>0x9<<0x4)+0xe]=(_0x1f57c6<<0x8|_0x1f57c6>>>0x18)&0xff00ff|(_0x1f57c6<<0x18|_0x1f57c6>>>0x8)&0xff00ff00,_0x2fae6d[_0x3ca29a(0x1e5)]=(_0x11511d[_0x3ca29a(0x363)]+0x1)*0x4,this[_0x3ca29a(0x436)]();for(var _0x260a06=this[_0x3ca29a(0x47b)],_0x3a75e6=_0x260a06[_0x3ca29a(0x1d9)],_0x9b78a0=0x0;_0x9b78a0<0x4;_0x9b78a0++){var _0x3a3cbd=_0x3a75e6[_0x9b78a0];_0x3a75e6[_0x9b78a0]=(_0x3a3cbd<<0x8|_0x3a3cbd>>>0x18)&0xff00ff|(_0x3a3cbd<<0x18|_0x3a3cbd>>>0x8)&0xff00ff00;}return _0x260a06;},'clone':function(){var _0x4a2d62=_0x48a26d,_0x3015d2=_0x369ba1[_0x4a2d62(0x35e)][_0x4a2d62(0x33d)](this);return _0x3015d2['_hash']=this[_0x4a2d62(0x47b)][_0x4a2d62(0x35e)](),_0x3015d2;}});function _0xaf5b49(_0x4ca8b2,_0x219a39,_0x4a1c7f,_0xc841bd,_0x3e8a31,_0x19ddef,_0x15707a){var _0x343456=_0x4ca8b2+(_0x219a39&_0x4a1c7f|~_0x219a39&_0xc841bd)+_0x3e8a31+_0x15707a;return(_0x343456<<_0x19ddef|_0x343456>>>0x20-_0x19ddef)+_0x219a39;}function _0x16662b(_0x266a40,_0x26bd21,_0x51e937,_0x4c73c3,_0xd12989,_0x2677ac,_0x349db3){var _0x2a9a8f=_0x266a40+(_0x26bd21&_0x4c73c3|_0x51e937&~_0x4c73c3)+_0xd12989+_0x349db3;return(_0x2a9a8f<<_0x2677ac|_0x2a9a8f>>>0x20-_0x2677ac)+_0x26bd21;}function _0xdeaf7b(_0x9dbd8d,_0x3672e3,_0x18d53d,_0x175dc8,_0x4ad3d1,_0x465af1,_0x51b25d){var _0x107e03=_0x9dbd8d+(_0x3672e3^_0x18d53d^_0x175dc8)+_0x4ad3d1+_0x51b25d;return(_0x107e03<<_0x465af1|_0x107e03>>>0x20-_0x465af1)+_0x3672e3;}function _0x40c36d(_0x52ff3a,_0x35a664,_0x107c76,_0x123246,_0x18898a,_0x53d500,_0x452a7c){var _0x2fbd9e=_0x52ff3a+(_0x107c76^(_0x35a664|~_0x123246))+_0x18898a+_0x452a7c;return(_0x2fbd9e<<_0x53d500|_0x2fbd9e>>>0x20-_0x53d500)+_0x35a664;}_0x4ad42f[_0x48a26d(0x1e7)]=_0x369ba1[_0x48a26d(0x345)](_0x3ab570),_0x4ad42f[_0x48a26d(0x459)]=_0x369ba1[_0x48a26d(0x2dd)](_0x3ab570);}(Math),_0x268340['MD5'];}));}(Ke)),Ke['exports'];}var Ye={'exports':{}},qe={'exports':{}},Cn=qe[_0x3ebd1b(0x1a9)],ei;function Rn(){var _0x2e053b=_0x3ebd1b;return ei||(ei=0x1,function(_0x2de047,_0x301010){(function(_0x25f9c9,_0x5f3afb){var _0x48e75f=_0x44ec;_0x2de047[_0x48e75f(0x1a9)]=_0x5f3afb(ie());}(Cn,function(_0x4997a5){var _0x40976f=_0x44ec;return(function(){var _0x375923=_0x44ec,_0x62d4c9=_0x4997a5,_0xaf0b2=_0x62d4c9[_0x375923(0x401)],_0x484498=_0xaf0b2[_0x375923(0x3d5)],_0x323e14=_0xaf0b2[_0x375923(0x30e)],_0x5171f7=_0x62d4c9[_0x375923(0x237)],_0x4abb3a=[],_0x22b509=_0x5171f7[_0x375923(0x3d4)]=_0x323e14['extend']({'_doReset':function(){var _0x10aa69=_0x375923;this[_0x10aa69(0x47b)]=new _0x484498[(_0x10aa69(0x1cf))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x11f5ab,_0x2a1d90){var _0x2448e1=_0x375923;for(var _0x11b73c=this[_0x2448e1(0x47b)][_0x2448e1(0x1d9)],_0x2ac144=_0x11b73c[0x0],_0x480620=_0x11b73c[0x1],_0xcd920e=_0x11b73c[0x2],_0x2b1ba5=_0x11b73c[0x3],_0x4bd934=_0x11b73c[0x4],_0x5e05b2=0x0;_0x5e05b2<0x50;_0x5e05b2++){if(_0x5e05b2<0x10)_0x4abb3a[_0x5e05b2]=_0x11f5ab[_0x2a1d90+_0x5e05b2]|0x0;else{var _0x1d6149=_0x4abb3a[_0x5e05b2-0x3]^_0x4abb3a[_0x5e05b2-0x8]^_0x4abb3a[_0x5e05b2-0xe]^_0x4abb3a[_0x5e05b2-0x10];_0x4abb3a[_0x5e05b2]=_0x1d6149<<0x1|_0x1d6149>>>0x1f;}var _0x374d02=(_0x2ac144<<0x5|_0x2ac144>>>0x1b)+_0x4bd934+_0x4abb3a[_0x5e05b2];_0x5e05b2<0x14?_0x374d02+=(_0x480620&_0xcd920e|~_0x480620&_0x2b1ba5)+0x5a827999:_0x5e05b2<0x28?_0x374d02+=(_0x480620^_0xcd920e^_0x2b1ba5)+0x6ed9eba1:_0x5e05b2<0x3c?_0x374d02+=(_0x480620&_0xcd920e|_0x480620&_0x2b1ba5|_0xcd920e&_0x2b1ba5)-0x70e44324:_0x374d02+=(_0x480620^_0xcd920e^_0x2b1ba5)-0x359d3e2a,_0x4bd934=_0x2b1ba5,_0x2b1ba5=_0xcd920e,_0xcd920e=_0x480620<<0x1e|_0x480620>>>0x2,_0x480620=_0x2ac144,_0x2ac144=_0x374d02;}_0x11b73c[0x0]=_0x11b73c[0x0]+_0x2ac144|0x0,_0x11b73c[0x1]=_0x11b73c[0x1]+_0x480620|0x0,_0x11b73c[0x2]=_0x11b73c[0x2]+_0xcd920e|0x0,_0x11b73c[0x3]=_0x11b73c[0x3]+_0x2b1ba5|0x0,_0x11b73c[0x4]=_0x11b73c[0x4]+_0x4bd934|0x0;},'_doFinalize':function(){var _0x44e1dd=_0x375923,_0x24a25a=this[_0x44e1dd(0x2fd)],_0x465a7d=_0x24a25a[_0x44e1dd(0x1d9)],_0x129e8d=this['_nDataBytes']*0x8,_0x4324ea=_0x24a25a[_0x44e1dd(0x1e5)]*0x8;return _0x465a7d[_0x4324ea>>>0x5]|=0x80<<0x18-_0x4324ea%0x20,_0x465a7d[(_0x4324ea+0x40>>>0x9<<0x4)+0xe]=Math[_0x44e1dd(0x1c2)](_0x129e8d/0x100000000),_0x465a7d[(_0x4324ea+0x40>>>0x9<<0x4)+0xf]=_0x129e8d,_0x24a25a[_0x44e1dd(0x1e5)]=_0x465a7d[_0x44e1dd(0x363)]*0x4,this['_process'](),this[_0x44e1dd(0x47b)];},'clone':function(){var _0x3b0bb6=_0x375923,_0x4d33dd=_0x323e14['clone'][_0x3b0bb6(0x33d)](this);return _0x4d33dd[_0x3b0bb6(0x47b)]=this[_0x3b0bb6(0x47b)]['clone'](),_0x4d33dd;}});_0x62d4c9[_0x375923(0x3d4)]=_0x323e14[_0x375923(0x345)](_0x22b509),_0x62d4c9[_0x375923(0x30c)]=_0x323e14[_0x375923(0x2dd)](_0x22b509);}()),_0x4997a5[_0x40976f(0x3d4)];}));}(qe)),qe[_0x2e053b(0x1a9)];}var ze={'exports':{}},bn=ze[_0x3ebd1b(0x1a9)],ti;function yn(){var _0x2a765f=_0x3ebd1b;return ti||(ti=0x1,function(_0x864acd,_0x2bce53){(function(_0xc2debc,_0x4b2d1c){var _0x59da3c=_0x44ec;_0x864acd[_0x59da3c(0x1a9)]=_0x4b2d1c(ie());}(bn,function(_0x2c2a97){(function(){var _0x38cf28=_0x44ec,_0x3438b9=_0x2c2a97,_0x595d47=_0x3438b9[_0x38cf28(0x401)],_0x2d4cef=_0x595d47[_0x38cf28(0x361)],_0x584ff5=_0x3438b9['enc'],_0x36c726=_0x584ff5[_0x38cf28(0x271)],_0x3b9c17=_0x3438b9[_0x38cf28(0x237)];_0x3b9c17[_0x38cf28(0x1b5)]=_0x2d4cef[_0x38cf28(0x333)]({'init':function(_0x44749d,_0x94419e){var _0x1a8fcd=_0x38cf28;_0x44749d=this['_hasher']=new _0x44749d[(_0x1a8fcd(0x1cf))](),typeof _0x94419e=='string'&&(_0x94419e=_0x36c726[_0x1a8fcd(0x1a3)](_0x94419e));var _0x3e95cc=_0x44749d[_0x1a8fcd(0x1cd)],_0x494f04=_0x3e95cc*0x4;_0x94419e[_0x1a8fcd(0x1e5)]>_0x494f04&&(_0x94419e=_0x44749d['finalize'](_0x94419e)),_0x94419e[_0x1a8fcd(0x20b)]();for(var _0x38ff24=this[_0x1a8fcd(0x379)]=_0x94419e['clone'](),_0x22ab1e=this[_0x1a8fcd(0x410)]=_0x94419e[_0x1a8fcd(0x35e)](),_0x540536=_0x38ff24[_0x1a8fcd(0x1d9)],_0x4bc162=_0x22ab1e['words'],_0x52bcf1=0x0;_0x52bcf1<_0x3e95cc;_0x52bcf1++)_0x540536[_0x52bcf1]^=0x5c5c5c5c,_0x4bc162[_0x52bcf1]^=0x36363636;_0x38ff24['sigBytes']=_0x22ab1e[_0x1a8fcd(0x1e5)]=_0x494f04,this[_0x1a8fcd(0x1af)]();},'reset':function(){var _0x23ce5c=_0x38cf28,_0x3204c2=this['_hasher'];_0x3204c2[_0x23ce5c(0x1af)](),_0x3204c2['update'](this[_0x23ce5c(0x410)]);},'update':function(_0x3d0295){var _0x4138f4=_0x38cf28;return this[_0x4138f4(0x227)][_0x4138f4(0x380)](_0x3d0295),this;},'finalize':function(_0x5c6d67){var _0x6fff0a=_0x38cf28,_0x33a17d=this[_0x6fff0a(0x227)],_0x45c146=_0x33a17d['finalize'](_0x5c6d67);_0x33a17d[_0x6fff0a(0x1af)]();var _0x22d343=_0x33a17d[_0x6fff0a(0x44a)](this[_0x6fff0a(0x379)][_0x6fff0a(0x35e)]()[_0x6fff0a(0x43c)](_0x45c146));return _0x22d343;}});}());}));}(ze)),ze[_0x2a765f(0x1a9)];}var On=Ye[_0x3ebd1b(0x1a9)],ii;function wi(){var _0x2c5cee=_0x3ebd1b;return ii||(ii=0x1,function(_0x2de093,_0x29bad7){(function(_0x57cb9f,_0x3beeb6,_0x520a69){var _0x1ab79f=_0x44ec;_0x2de093[_0x1ab79f(0x1a9)]=_0x3beeb6(ie(),Rn(),yn());}(On,function(_0x5647d5){var _0x553c2a=_0x44ec;return(function(){var _0x378231=_0x44ec,_0xc6f97d=_0x5647d5,_0x4804c0=_0xc6f97d[_0x378231(0x401)],_0x4f71f4=_0x4804c0['Base'],_0x25d9a5=_0x4804c0[_0x378231(0x3d5)],_0xacbe9b=_0xc6f97d['algo'],_0x521bc3=_0xacbe9b['MD5'],_0x18e018=_0xacbe9b[_0x378231(0x3cc)]=_0x4f71f4[_0x378231(0x333)]({'cfg':_0x4f71f4[_0x378231(0x333)]({'keySize':0x80/0x20,'hasher':_0x521bc3,'iterations':0x1}),'init':function(_0x56bc5f){var _0x2ef926=_0x378231;this[_0x2ef926(0x24e)]=this['cfg'][_0x2ef926(0x333)](_0x56bc5f);},'compute':function(_0x41e137,_0x815119){var _0x13b7e1=_0x378231;for(var _0x624d3f,_0x4694ef=this[_0x13b7e1(0x24e)],_0x17fcd9=_0x4694ef[_0x13b7e1(0x1c0)][_0x13b7e1(0x272)](),_0x471691=_0x25d9a5[_0x13b7e1(0x272)](),_0x2aec04=_0x471691[_0x13b7e1(0x1d9)],_0x2b96df=_0x4694ef[_0x13b7e1(0x233)],_0x4a856d=_0x4694ef[_0x13b7e1(0x45e)];_0x2aec04['length']<_0x2b96df;){_0x624d3f&&_0x17fcd9[_0x13b7e1(0x380)](_0x624d3f),_0x624d3f=_0x17fcd9[_0x13b7e1(0x380)](_0x41e137)[_0x13b7e1(0x44a)](_0x815119),_0x17fcd9[_0x13b7e1(0x1af)]();for(var _0x1560f7=0x1;_0x1560f7<_0x4a856d;_0x1560f7++)_0x624d3f=_0x17fcd9[_0x13b7e1(0x44a)](_0x624d3f),_0x17fcd9[_0x13b7e1(0x1af)]();_0x471691[_0x13b7e1(0x43c)](_0x624d3f);}return _0x471691[_0x13b7e1(0x1e5)]=_0x2b96df*0x4,_0x471691;}});_0xc6f97d[_0x378231(0x3cc)]=function(_0x5368ff,_0x2e1648,_0x1edbf1){var _0x154d22=_0x378231;return _0x18e018['create'](_0x1edbf1)[_0x154d22(0x35a)](_0x5368ff,_0x2e1648);};}()),_0x5647d5[_0x553c2a(0x3cc)];}));}(Ye)),Ye[_0x2c5cee(0x1a9)];}var Je={'exports':{}},Nn=Je[_0x3ebd1b(0x1a9)],ri;function Ui(){var _0x45f0fe=_0x3ebd1b;return ri||(ri=0x1,function(_0x3a1742,_0x5d7d66){(function(_0x182c38,_0x4743a2,_0x5ce6cb){var _0x149be2=_0x44ec;_0x3a1742[_0x149be2(0x1a9)]=_0x4743a2(ie(),wi());}(Nn,function(_0x2ddc77){var _0x21f4df=_0x44ec;_0x2ddc77[_0x21f4df(0x401)][_0x21f4df(0x211)]||function(_0x2a87d7){var _0x118ebb=_0x21f4df,_0x17afdd=_0x2ddc77,_0x3b5117=_0x17afdd[_0x118ebb(0x401)],_0x50bdc3=_0x3b5117[_0x118ebb(0x361)],_0xc236ad=_0x3b5117[_0x118ebb(0x3d5)],_0x42073c=_0x3b5117['BufferedBlockAlgorithm'],_0x593496=_0x17afdd[_0x118ebb(0x483)];_0x593496[_0x118ebb(0x271)];var _0x3fdb90=_0x593496[_0x118ebb(0x430)],_0x584d50=_0x17afdd['algo'],_0x5111e7=_0x584d50[_0x118ebb(0x3cc)],_0x4f339d=_0x3b5117[_0x118ebb(0x211)]=_0x42073c[_0x118ebb(0x333)]({'cfg':_0x50bdc3[_0x118ebb(0x333)](),'createEncryptor':function(_0x273ac9,_0x461603){var _0x568deb=_0x118ebb;return this[_0x568deb(0x272)](this[_0x568deb(0x4a0)],_0x273ac9,_0x461603);},'createDecryptor':function(_0x59d0d0,_0x33ce6a){var _0x180442=_0x118ebb;return this[_0x180442(0x272)](this['_DEC_XFORM_MODE'],_0x59d0d0,_0x33ce6a);},'init':function(_0x3a17e3,_0x562dcb,_0x3508f3){var _0x2e20cb=_0x118ebb;this[_0x2e20cb(0x24e)]=this[_0x2e20cb(0x24e)]['extend'](_0x3508f3),this[_0x2e20cb(0x28e)]=_0x3a17e3,this[_0x2e20cb(0x432)]=_0x562dcb,this[_0x2e20cb(0x1af)]();},'reset':function(){var _0x2ac710=_0x118ebb;_0x42073c['reset']['call'](this),this[_0x2ac710(0x3d6)]();},'process':function(_0x464dd3){var _0x4b90f6=_0x118ebb;return this[_0x4b90f6(0x22f)](_0x464dd3),this[_0x4b90f6(0x436)]();},'finalize':function(_0x10b6b7){var _0x36af9b=_0x118ebb;_0x10b6b7&&this['_append'](_0x10b6b7);var _0xae5113=this[_0x36af9b(0x1c7)]();return _0xae5113;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x1f6460(_0x142cea){var _0x525fac=_0x44ec;return typeof _0x142cea==_0x525fac(0x411)?_0x57970d:_0x1bb748;}return function(_0x2b35ac){return{'encrypt':function(_0x3b7a87,_0x356922,_0x4bfbeb){return _0x1f6460(_0x356922)['encrypt'](_0x2b35ac,_0x3b7a87,_0x356922,_0x4bfbeb);},'decrypt':function(_0x36f2dc,_0x29e9a0,_0x17ef09){var _0xe49f1=_0x44ec;return _0x1f6460(_0x29e9a0)[_0xe49f1(0x26b)](_0x2b35ac,_0x36f2dc,_0x29e9a0,_0x17ef09);}};};}())});_0x3b5117[_0x118ebb(0x2da)]=_0x4f339d[_0x118ebb(0x333)]({'_doFinalize':function(){var _0x5343eb=this['_process'](!0x0);return _0x5343eb;},'blockSize':0x1});var _0x4adc99=_0x17afdd[_0x118ebb(0x378)]={},_0x31ef3d=_0x3b5117[_0x118ebb(0x25f)]=_0x50bdc3['extend']({'createEncryptor':function(_0x504705,_0x16f34b){var _0x3d1bd7=_0x118ebb;return this[_0x3d1bd7(0x2ea)]['create'](_0x504705,_0x16f34b);},'createDecryptor':function(_0x4c825,_0x2fdaa7){var _0x106d15=_0x118ebb;return this[_0x106d15(0x296)][_0x106d15(0x272)](_0x4c825,_0x2fdaa7);},'init':function(_0x13ac7a,_0x425d1b){var _0x168549=_0x118ebb;this[_0x168549(0x232)]=_0x13ac7a,this['_iv']=_0x425d1b;}}),_0x39f10d=_0x4adc99[_0x118ebb(0x220)]=(function(){var _0x38e042=_0x118ebb,_0x44a276=_0x31ef3d[_0x38e042(0x333)]();_0x44a276[_0x38e042(0x2ea)]=_0x44a276[_0x38e042(0x333)]({'processBlock':function(_0x356007,_0x8efc4c){var _0xe2d76f=_0x38e042,_0x11ee79=this[_0xe2d76f(0x232)],_0x5e2536=_0x11ee79['blockSize'];_0x31e4e9[_0xe2d76f(0x33d)](this,_0x356007,_0x8efc4c,_0x5e2536),_0x11ee79[_0xe2d76f(0x1ef)](_0x356007,_0x8efc4c),this[_0xe2d76f(0x497)]=_0x356007[_0xe2d76f(0x1dc)](_0x8efc4c,_0x8efc4c+_0x5e2536);}}),_0x44a276['Decryptor']=_0x44a276[_0x38e042(0x333)]({'processBlock':function(_0x2d1120,_0x5afd91){var _0x549909=_0x38e042,_0x401d15=this[_0x549909(0x232)],_0x364de8=_0x401d15['blockSize'],_0x20cede=_0x2d1120[_0x549909(0x1dc)](_0x5afd91,_0x5afd91+_0x364de8);_0x401d15[_0x549909(0x1e3)](_0x2d1120,_0x5afd91),_0x31e4e9[_0x549909(0x33d)](this,_0x2d1120,_0x5afd91,_0x364de8),this[_0x549909(0x497)]=_0x20cede;}});function _0x31e4e9(_0x379055,_0x5de57e,_0x550ad6){var _0x16e604=_0x38e042,_0x5ed036,_0x71f066=this[_0x16e604(0x1f7)];_0x71f066?(_0x5ed036=_0x71f066,this[_0x16e604(0x1f7)]=_0x2a87d7):_0x5ed036=this[_0x16e604(0x497)];for(var _0x1713b8=0x0;_0x1713b8<_0x550ad6;_0x1713b8++)_0x379055[_0x5de57e+_0x1713b8]^=_0x5ed036[_0x1713b8];}return _0x44a276;}()),_0x35ed8e=_0x17afdd['pad']={},_0x10f2f8=_0x35ed8e['Pkcs7']={'pad':function(_0x3db9e3,_0x4eafac){var _0x5371b5=_0x118ebb;for(var _0x47fcde=_0x4eafac*0x4,_0x2e7477=_0x47fcde-_0x3db9e3['sigBytes']%_0x47fcde,_0x1f2568=_0x2e7477<<0x18|_0x2e7477<<0x10|_0x2e7477<<0x8|_0x2e7477,_0x54d5ff=[],_0x4ce89c=0x0;_0x4ce89c<_0x2e7477;_0x4ce89c+=0x4)_0x54d5ff[_0x5371b5(0x427)](_0x1f2568);var _0x1260bb=_0xc236ad['create'](_0x54d5ff,_0x2e7477);_0x3db9e3[_0x5371b5(0x43c)](_0x1260bb);},'unpad':function(_0x40bf5d){var _0x389f5a=_0x118ebb,_0x40330d=_0x40bf5d[_0x389f5a(0x1d9)][_0x40bf5d[_0x389f5a(0x1e5)]-0x1>>>0x2]&0xff;_0x40bf5d[_0x389f5a(0x1e5)]-=_0x40330d;}};_0x3b5117[_0x118ebb(0x1c3)]=_0x4f339d[_0x118ebb(0x333)]({'cfg':_0x4f339d[_0x118ebb(0x24e)][_0x118ebb(0x333)]({'mode':_0x39f10d,'padding':_0x10f2f8}),'reset':function(){var _0x1c6d38=_0x118ebb,_0xe36c50;_0x4f339d['reset'][_0x1c6d38(0x33d)](this);var _0x4055a1=this[_0x1c6d38(0x24e)],_0x622e11=_0x4055a1['iv'],_0x4ec6a5=_0x4055a1['mode'];this[_0x1c6d38(0x28e)]==this[_0x1c6d38(0x4a0)]?_0xe36c50=_0x4ec6a5[_0x1c6d38(0x3f1)]:(_0xe36c50=_0x4ec6a5[_0x1c6d38(0x2ee)],this['_minBufferSize']=0x1),this['_mode']&&this['_mode'][_0x1c6d38(0x464)]==_0xe36c50?this['_mode'][_0x1c6d38(0x1cf)](this,_0x622e11&&_0x622e11[_0x1c6d38(0x1d9)]):(this[_0x1c6d38(0x3fc)]=_0xe36c50['call'](_0x4ec6a5,this,_0x622e11&&_0x622e11[_0x1c6d38(0x1d9)]),this[_0x1c6d38(0x3fc)][_0x1c6d38(0x464)]=_0xe36c50);},'_doProcessBlock':function(_0x2483aa,_0x9511f5){var _0x25af71=_0x118ebb;this[_0x25af71(0x3fc)][_0x25af71(0x489)](_0x2483aa,_0x9511f5);},'_doFinalize':function(){var _0x32dac8=_0x118ebb,_0x5b1af8,_0x8c3c14=this[_0x32dac8(0x24e)][_0x32dac8(0x3eb)];return this[_0x32dac8(0x28e)]==this['_ENC_XFORM_MODE']?(_0x8c3c14[_0x32dac8(0x282)](this['_data'],this[_0x32dac8(0x1cd)]),_0x5b1af8=this['_process'](!0x0)):(_0x5b1af8=this[_0x32dac8(0x436)](!0x0),_0x8c3c14[_0x32dac8(0x3a0)](_0x5b1af8)),_0x5b1af8;},'blockSize':0x80/0x20});var _0x1ca2f3=_0x3b5117[_0x118ebb(0x384)]=_0x50bdc3[_0x118ebb(0x333)]({'init':function(_0x462b1d){var _0x2e43a8=_0x118ebb;this[_0x2e43a8(0x2e5)](_0x462b1d);},'toString':function(_0x3f7bd3){var _0x53ae41=_0x118ebb;return(_0x3f7bd3||this[_0x53ae41(0x334)])[_0x53ae41(0x48d)](this);}}),_0x1fb5e0=_0x17afdd[_0x118ebb(0x460)]={},_0x62c66d=_0x1fb5e0[_0x118ebb(0x406)]={'stringify':function(_0x4d061f){var _0x349031=_0x118ebb,_0x1110d5,_0x28ec92=_0x4d061f['ciphertext'],_0x2a8410=_0x4d061f[_0x349031(0x1a5)];return _0x2a8410?_0x1110d5=_0xc236ad[_0x349031(0x272)]([0x53616c74,0x65645f5f])[_0x349031(0x43c)](_0x2a8410)['concat'](_0x28ec92):_0x1110d5=_0x28ec92,_0x1110d5[_0x349031(0x1ab)](_0x3fdb90);},'parse':function(_0x1125ab){var _0x540393=_0x118ebb,_0x460b39,_0xa4ebd1=_0x3fdb90[_0x540393(0x1a3)](_0x1125ab),_0x56ea96=_0xa4ebd1['words'];return _0x56ea96[0x0]==0x53616c74&&_0x56ea96[0x1]==0x65645f5f&&(_0x460b39=_0xc236ad[_0x540393(0x272)](_0x56ea96[_0x540393(0x1dc)](0x2,0x4)),_0x56ea96[_0x540393(0x1e4)](0x0,0x4),_0xa4ebd1[_0x540393(0x1e5)]-=0x10),_0x1ca2f3[_0x540393(0x272)]({'ciphertext':_0xa4ebd1,'salt':_0x460b39});}},_0x1bb748=_0x3b5117[_0x118ebb(0x2cb)]=_0x50bdc3[_0x118ebb(0x333)]({'cfg':_0x50bdc3[_0x118ebb(0x333)]({'format':_0x62c66d}),'encrypt':function(_0x6372cc,_0x340e96,_0xecba5d,_0x5546d8){var _0x5525da=_0x118ebb;_0x5546d8=this[_0x5525da(0x24e)][_0x5525da(0x333)](_0x5546d8);var _0x18cd68=_0x6372cc['createEncryptor'](_0xecba5d,_0x5546d8),_0x199ce7=_0x18cd68[_0x5525da(0x44a)](_0x340e96),_0x43b585=_0x18cd68[_0x5525da(0x24e)];return _0x1ca2f3[_0x5525da(0x272)]({'ciphertext':_0x199ce7,'key':_0xecba5d,'iv':_0x43b585['iv'],'algorithm':_0x6372cc,'mode':_0x43b585[_0x5525da(0x378)],'padding':_0x43b585[_0x5525da(0x3eb)],'blockSize':_0x6372cc[_0x5525da(0x1cd)],'formatter':_0x5546d8[_0x5525da(0x460)]});},'decrypt':function(_0x264645,_0x529029,_0x3c29bb,_0x5a7fca){var _0xb1f3d7=_0x118ebb;_0x5a7fca=this['cfg'][_0xb1f3d7(0x333)](_0x5a7fca),_0x529029=this[_0xb1f3d7(0x403)](_0x529029,_0x5a7fca[_0xb1f3d7(0x460)]);var _0x5be4a8=_0x264645[_0xb1f3d7(0x2ee)](_0x3c29bb,_0x5a7fca)[_0xb1f3d7(0x44a)](_0x529029[_0xb1f3d7(0x369)]);return _0x5be4a8;},'_parse':function(_0x31cc1e,_0x127bf2){var _0x4316f1=_0x118ebb;return typeof _0x31cc1e=='string'?_0x127bf2[_0x4316f1(0x1a3)](_0x31cc1e,this):_0x31cc1e;}}),_0xb68462=_0x17afdd[_0x118ebb(0x328)]={},_0x278722=_0xb68462[_0x118ebb(0x406)]={'execute':function(_0x47232e,_0x5b69f4,_0x527a4,_0x5d9797,_0x3bd1d4){var _0x179fe2=_0x118ebb;if(_0x5d9797||(_0x5d9797=_0xc236ad[_0x179fe2(0x247)](0x40/0x8)),_0x3bd1d4)var _0x333e5f=_0x5111e7['create']({'keySize':_0x5b69f4+_0x527a4,'hasher':_0x3bd1d4})[_0x179fe2(0x35a)](_0x47232e,_0x5d9797);else var _0x333e5f=_0x5111e7[_0x179fe2(0x272)]({'keySize':_0x5b69f4+_0x527a4})['compute'](_0x47232e,_0x5d9797);var _0x21f187=_0xc236ad[_0x179fe2(0x272)](_0x333e5f[_0x179fe2(0x1d9)][_0x179fe2(0x1dc)](_0x5b69f4),_0x527a4*0x4);return _0x333e5f[_0x179fe2(0x1e5)]=_0x5b69f4*0x4,_0x1ca2f3[_0x179fe2(0x272)]({'key':_0x333e5f,'iv':_0x21f187,'salt':_0x5d9797});}},_0x57970d=_0x3b5117['PasswordBasedCipher']=_0x1bb748[_0x118ebb(0x333)]({'cfg':_0x1bb748['cfg'][_0x118ebb(0x333)]({'kdf':_0x278722}),'encrypt':function(_0x5abc6d,_0x2821c7,_0x22557f,_0xfc610e){var _0x15e238=_0x118ebb;_0xfc610e=this[_0x15e238(0x24e)][_0x15e238(0x333)](_0xfc610e);var _0x353e9a=_0xfc610e['kdf'][_0x15e238(0x293)](_0x22557f,_0x5abc6d[_0x15e238(0x233)],_0x5abc6d['ivSize'],_0xfc610e['salt'],_0xfc610e[_0x15e238(0x1c0)]);_0xfc610e['iv']=_0x353e9a['iv'];var _0x45ad4c=_0x1bb748[_0x15e238(0x3b1)]['call'](this,_0x5abc6d,_0x2821c7,_0x353e9a[_0x15e238(0x23e)],_0xfc610e);return _0x45ad4c[_0x15e238(0x2e5)](_0x353e9a),_0x45ad4c;},'decrypt':function(_0x1c645a,_0x1bffc8,_0x46a307,_0x5eab26){var _0x1a6cb3=_0x118ebb;_0x5eab26=this['cfg'][_0x1a6cb3(0x333)](_0x5eab26),_0x1bffc8=this[_0x1a6cb3(0x403)](_0x1bffc8,_0x5eab26['format']);var _0x42c5be=_0x5eab26[_0x1a6cb3(0x328)][_0x1a6cb3(0x293)](_0x46a307,_0x1c645a[_0x1a6cb3(0x233)],_0x1c645a['ivSize'],_0x1bffc8[_0x1a6cb3(0x1a5)],_0x5eab26['hasher']);_0x5eab26['iv']=_0x42c5be['iv'];var _0x187015=_0x1bb748[_0x1a6cb3(0x26b)]['call'](this,_0x1c645a,_0x1bffc8,_0x42c5be[_0x1a6cb3(0x23e)],_0x5eab26);return _0x187015;}});}();}));}(Je)),Je[_0x45f0fe(0x1a9)];}var Dn=Ge[_0x3ebd1b(0x1a9)],ni;function wn(){var _0x5dd10d=_0x3ebd1b;return ni||(ni=0x1,function(_0x254943,_0x2229b4){(function(_0x1efef1,_0x5833aa,_0x12575f){var _0x481c6f=_0x44ec;_0x254943[_0x481c6f(0x1a9)]=_0x5833aa(ie(),Di(),Tn(),wi(),Ui());}(Dn,function(_0x43eb32){var _0x48d603=_0x44ec;return(function(){var _0x5a8c21=_0x44ec,_0x3e6ceb=_0x43eb32,_0x28b1c2=_0x3e6ceb[_0x5a8c21(0x401)],_0xe7667=_0x28b1c2['BlockCipher'],_0x28f6ab=_0x3e6ceb['algo'],_0x4028ef=[],_0x274846=[],_0x35fdfa=[],_0x195ce2=[],_0x4f51e8=[],_0x60b55f=[],_0x25eb1a=[],_0x26c4b3=[],_0x542a1e=[],_0x30f3b2=[];(function(){for(var _0x356aae=[],_0x3e7f94=0x0;_0x3e7f94<0x100;_0x3e7f94++)_0x3e7f94<0x80?_0x356aae[_0x3e7f94]=_0x3e7f94<<0x1:_0x356aae[_0x3e7f94]=_0x3e7f94<<0x1^0x11b;for(var _0x1f8d23=0x0,_0x150619=0x0,_0x3e7f94=0x0;_0x3e7f94<0x100;_0x3e7f94++){var _0x1c186d=_0x150619^_0x150619<<0x1^_0x150619<<0x2^_0x150619<<0x3^_0x150619<<0x4;_0x1c186d=_0x1c186d>>>0x8^_0x1c186d&0xff^0x63,_0x4028ef[_0x1f8d23]=_0x1c186d,_0x274846[_0x1c186d]=_0x1f8d23;var _0x128c77=_0x356aae[_0x1f8d23],_0x4f5a33=_0x356aae[_0x128c77],_0x1322b7=_0x356aae[_0x4f5a33],_0x329ad6=_0x356aae[_0x1c186d]*0x101^_0x1c186d*0x1010100;_0x35fdfa[_0x1f8d23]=_0x329ad6<<0x18|_0x329ad6>>>0x8,_0x195ce2[_0x1f8d23]=_0x329ad6<<0x10|_0x329ad6>>>0x10,_0x4f51e8[_0x1f8d23]=_0x329ad6<<0x8|_0x329ad6>>>0x18,_0x60b55f[_0x1f8d23]=_0x329ad6;var _0x329ad6=_0x1322b7*0x1010101^_0x4f5a33*0x10001^_0x128c77*0x101^_0x1f8d23*0x1010100;_0x25eb1a[_0x1c186d]=_0x329ad6<<0x18|_0x329ad6>>>0x8,_0x26c4b3[_0x1c186d]=_0x329ad6<<0x10|_0x329ad6>>>0x10,_0x542a1e[_0x1c186d]=_0x329ad6<<0x8|_0x329ad6>>>0x18,_0x30f3b2[_0x1c186d]=_0x329ad6,_0x1f8d23?(_0x1f8d23=_0x128c77^_0x356aae[_0x356aae[_0x356aae[_0x1322b7^_0x128c77]]],_0x150619^=_0x356aae[_0x356aae[_0x150619]]):_0x1f8d23=_0x150619=0x1;}}());var _0x19d5be=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x1d283f=_0x28f6ab[_0x5a8c21(0x1f5)]=_0xe7667[_0x5a8c21(0x333)]({'_doReset':function(){var _0x29a45b=_0x5a8c21,_0x1e603c;if(!(this[_0x29a45b(0x37c)]&&this['_keyPriorReset']===this[_0x29a45b(0x432)])){for(var _0x1bd69a=this['_keyPriorReset']=this['_key'],_0x380d91=_0x1bd69a[_0x29a45b(0x1d9)],_0x355876=_0x1bd69a[_0x29a45b(0x1e5)]/0x4,_0x367371=this[_0x29a45b(0x37c)]=_0x355876+0x6,_0x3ba821=(_0x367371+0x1)*0x4,_0x3abe3c=this[_0x29a45b(0x45b)]=[],_0x1eb402=0x0;_0x1eb402<_0x3ba821;_0x1eb402++)_0x1eb402<_0x355876?_0x3abe3c[_0x1eb402]=_0x380d91[_0x1eb402]:(_0x1e603c=_0x3abe3c[_0x1eb402-0x1],_0x1eb402%_0x355876?_0x355876>0x6&&_0x1eb402%_0x355876==0x4&&(_0x1e603c=_0x4028ef[_0x1e603c>>>0x18]<<0x18|_0x4028ef[_0x1e603c>>>0x10&0xff]<<0x10|_0x4028ef[_0x1e603c>>>0x8&0xff]<<0x8|_0x4028ef[_0x1e603c&0xff]):(_0x1e603c=_0x1e603c<<0x8|_0x1e603c>>>0x18,_0x1e603c=_0x4028ef[_0x1e603c>>>0x18]<<0x18|_0x4028ef[_0x1e603c>>>0x10&0xff]<<0x10|_0x4028ef[_0x1e603c>>>0x8&0xff]<<0x8|_0x4028ef[_0x1e603c&0xff],_0x1e603c^=_0x19d5be[_0x1eb402/_0x355876|0x0]<<0x18),_0x3abe3c[_0x1eb402]=_0x3abe3c[_0x1eb402-_0x355876]^_0x1e603c);for(var _0x2e6b3b=this['_invKeySchedule']=[],_0x3de93f=0x0;_0x3de93f<_0x3ba821;_0x3de93f++){var _0x1eb402=_0x3ba821-_0x3de93f;if(_0x3de93f%0x4)var _0x1e603c=_0x3abe3c[_0x1eb402];else var _0x1e603c=_0x3abe3c[_0x1eb402-0x4];_0x3de93f<0x4||_0x1eb402<=0x4?_0x2e6b3b[_0x3de93f]=_0x1e603c:_0x2e6b3b[_0x3de93f]=_0x25eb1a[_0x4028ef[_0x1e603c>>>0x18]]^_0x26c4b3[_0x4028ef[_0x1e603c>>>0x10&0xff]]^_0x542a1e[_0x4028ef[_0x1e603c>>>0x8&0xff]]^_0x30f3b2[_0x4028ef[_0x1e603c&0xff]];}}},'encryptBlock':function(_0xe1bcc4,_0x4cc1cf){var _0x30dfdc=_0x5a8c21;this[_0x30dfdc(0x28a)](_0xe1bcc4,_0x4cc1cf,this['_keySchedule'],_0x35fdfa,_0x195ce2,_0x4f51e8,_0x60b55f,_0x4028ef);},'decryptBlock':function(_0x172e1b,_0x61f0d7){var _0x39425b=_0x5a8c21,_0x37c59a=_0x172e1b[_0x61f0d7+0x1];_0x172e1b[_0x61f0d7+0x1]=_0x172e1b[_0x61f0d7+0x3],_0x172e1b[_0x61f0d7+0x3]=_0x37c59a,this['_doCryptBlock'](_0x172e1b,_0x61f0d7,this[_0x39425b(0x1e0)],_0x25eb1a,_0x26c4b3,_0x542a1e,_0x30f3b2,_0x274846);var _0x37c59a=_0x172e1b[_0x61f0d7+0x1];_0x172e1b[_0x61f0d7+0x1]=_0x172e1b[_0x61f0d7+0x3],_0x172e1b[_0x61f0d7+0x3]=_0x37c59a;},'_doCryptBlock':function(_0x455ad5,_0xc21050,_0x54c1a5,_0x22163f,_0x31a34b,_0x56bf94,_0xa9631c,_0x3aac48){var _0x421a73=_0x5a8c21;for(var _0x35fe41=this[_0x421a73(0x37c)],_0x1621f8=_0x455ad5[_0xc21050]^_0x54c1a5[0x0],_0x211048=_0x455ad5[_0xc21050+0x1]^_0x54c1a5[0x1],_0x210005=_0x455ad5[_0xc21050+0x2]^_0x54c1a5[0x2],_0x3c453d=_0x455ad5[_0xc21050+0x3]^_0x54c1a5[0x3],_0x54f720=0x4,_0x396377=0x1;_0x396377<_0x35fe41;_0x396377++){var _0x3af6a4=_0x22163f[_0x1621f8>>>0x18]^_0x31a34b[_0x211048>>>0x10&0xff]^_0x56bf94[_0x210005>>>0x8&0xff]^_0xa9631c[_0x3c453d&0xff]^_0x54c1a5[_0x54f720++],_0x36fbf1=_0x22163f[_0x211048>>>0x18]^_0x31a34b[_0x210005>>>0x10&0xff]^_0x56bf94[_0x3c453d>>>0x8&0xff]^_0xa9631c[_0x1621f8&0xff]^_0x54c1a5[_0x54f720++],_0x4841ac=_0x22163f[_0x210005>>>0x18]^_0x31a34b[_0x3c453d>>>0x10&0xff]^_0x56bf94[_0x1621f8>>>0x8&0xff]^_0xa9631c[_0x211048&0xff]^_0x54c1a5[_0x54f720++],_0x2cfaf7=_0x22163f[_0x3c453d>>>0x18]^_0x31a34b[_0x1621f8>>>0x10&0xff]^_0x56bf94[_0x211048>>>0x8&0xff]^_0xa9631c[_0x210005&0xff]^_0x54c1a5[_0x54f720++];_0x1621f8=_0x3af6a4,_0x211048=_0x36fbf1,_0x210005=_0x4841ac,_0x3c453d=_0x2cfaf7;}var _0x3af6a4=(_0x3aac48[_0x1621f8>>>0x18]<<0x18|_0x3aac48[_0x211048>>>0x10&0xff]<<0x10|_0x3aac48[_0x210005>>>0x8&0xff]<<0x8|_0x3aac48[_0x3c453d&0xff])^_0x54c1a5[_0x54f720++],_0x36fbf1=(_0x3aac48[_0x211048>>>0x18]<<0x18|_0x3aac48[_0x210005>>>0x10&0xff]<<0x10|_0x3aac48[_0x3c453d>>>0x8&0xff]<<0x8|_0x3aac48[_0x1621f8&0xff])^_0x54c1a5[_0x54f720++],_0x4841ac=(_0x3aac48[_0x210005>>>0x18]<<0x18|_0x3aac48[_0x3c453d>>>0x10&0xff]<<0x10|_0x3aac48[_0x1621f8>>>0x8&0xff]<<0x8|_0x3aac48[_0x211048&0xff])^_0x54c1a5[_0x54f720++],_0x2cfaf7=(_0x3aac48[_0x3c453d>>>0x18]<<0x18|_0x3aac48[_0x1621f8>>>0x10&0xff]<<0x10|_0x3aac48[_0x211048>>>0x8&0xff]<<0x8|_0x3aac48[_0x210005&0xff])^_0x54c1a5[_0x54f720++];_0x455ad5[_0xc21050]=_0x3af6a4,_0x455ad5[_0xc21050+0x1]=_0x36fbf1,_0x455ad5[_0xc21050+0x2]=_0x4841ac,_0x455ad5[_0xc21050+0x3]=_0x2cfaf7;},'keySize':0x100/0x20});_0x3e6ceb[_0x5a8c21(0x1f5)]=_0xe7667[_0x5a8c21(0x345)](_0x1d283f);}()),_0x43eb32[_0x48d603(0x1f5)];}));}(Ge)),Ge[_0x5dd10d(0x1a9)];}var Un=wn();const An=He(Un);var Pn=Di();const si=He(Pn);var Xe={'exports':{}},xn=Xe['exports'],oi;function Ln(){return oi||(oi=0x1,function(_0x34a017,_0x44bce6){(function(_0x2a16ba,_0x1fcb98){var _0x15a5f6=_0x44ec;_0x34a017[_0x15a5f6(0x1a9)]=_0x1fcb98(ie());}(xn,function(_0x42e9a5){var _0x47bd07=_0x44ec;return _0x42e9a5[_0x47bd07(0x483)][_0x47bd07(0x271)];}));}(Xe)),Xe['exports'];}var Mn=Ln();const kn=He(Mn);var Ze={'exports':{}},$n=Ze[_0x3ebd1b(0x1a9)],ai;function Hn(){var _0x3e69a2=_0x3ebd1b;return ai||(ai=0x1,function(_0x54594e,_0x51e9dc){(function(_0x5d2b33,_0x4c6758){var _0x24e7c2=_0x44ec;_0x54594e[_0x24e7c2(0x1a9)]=_0x4c6758(ie());}($n,function(_0x27e91d){var _0x474a02=_0x44ec;return(function(){var _0x4d15e4=_0x44ec;if(typeof ArrayBuffer==_0x4d15e4(0x281)){var _0x5ce789=_0x27e91d,_0x1758f1=_0x5ce789['lib'],_0x1abfaf=_0x1758f1[_0x4d15e4(0x3d5)],_0x17b729=_0x1abfaf['init'],_0x5b7388=_0x1abfaf[_0x4d15e4(0x1cf)]=function(_0x100214){var _0x4c1da7=_0x4d15e4;if(_0x100214 instanceof ArrayBuffer&&(_0x100214=new Uint8Array(_0x100214)),(_0x100214 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x100214 instanceof Uint8ClampedArray||_0x100214 instanceof Int16Array||_0x100214 instanceof Uint16Array||_0x100214 instanceof Int32Array||_0x100214 instanceof Uint32Array||_0x100214 instanceof Float32Array||_0x100214 instanceof Float64Array)&&(_0x100214=new Uint8Array(_0x100214[_0x4c1da7(0x487)],_0x100214[_0x4c1da7(0x20f)],_0x100214[_0x4c1da7(0x1b9)])),_0x100214 instanceof Uint8Array){for(var _0x20d855=_0x100214[_0x4c1da7(0x1b9)],_0x1667da=[],_0x4f4fe7=0x0;_0x4f4fe7<_0x20d855;_0x4f4fe7++)_0x1667da[_0x4f4fe7>>>0x2]|=_0x100214[_0x4f4fe7]<<0x18-_0x4f4fe7%0x4*0x8;_0x17b729['call'](this,_0x1667da,_0x20d855);}else _0x17b729['apply'](this,arguments);};_0x5b7388[_0x4d15e4(0x25e)]=_0x1abfaf;}}()),_0x27e91d['lib'][_0x474a02(0x3d5)];}));}(Ze)),Ze[_0x3e69a2(0x1a9)];}var Bn=Hn();const jn=He(Bn);var Qe={'exports':{}},Fn=Qe[_0x3ebd1b(0x1a9)],ci;function Gn(){var _0x5eabae=_0x3ebd1b;return ci||(ci=0x1,function(_0x2a3d8d,_0x2bf2cd){(function(_0xdf861f,_0x19b30d,_0x130818){var _0x3c4957=_0x44ec;_0x2a3d8d[_0x3c4957(0x1a9)]=_0x19b30d(ie(),Ui());}(Fn,function(_0x2d9704){var _0x4d43f2=_0x44ec;return _0x2d9704[_0x4d43f2(0x282)][_0x4d43f2(0x38d)]={'pad':function(){},'unpad':function(){}},_0x2d9704[_0x4d43f2(0x282)]['NoPadding'];}));}(Qe)),Qe[_0x5eabae(0x1a9)];}var Vn=Gn();const Wn=He(Vn);function Kn(_0x896536,_0x56a59a){var _0x1563d1=_0x3ebd1b;const _0x39cbb7=_0x56a59a-_0x896536[_0x1563d1(0x363)]%_0x56a59a,_0x30ac8b=String[_0x1563d1(0x352)](_0x39cbb7)[_0x1563d1(0x317)](_0x39cbb7);return _0x896536+_0x30ac8b;}function Yn(_0x5ebcbe,_0x106c85){var _0x17ea70=_0x3ebd1b;const _0x3ef7d6=jn[_0x17ea70(0x247)](0x10),_0x34faf5=Kn(_0x5ebcbe,0x10),_0x1fc233=An[_0x17ea70(0x3b1)](kn[_0x17ea70(0x1a3)](_0x34faf5),si[_0x17ea70(0x1a3)](_0x106c85),{'iv':_0x3ef7d6,'padding':Wn});return _0x3ef7d6['concat'](_0x1fc233['ciphertext'])['toString'](si);}function qn(){var _0x447777=_0x3ebd1b;const _0x23b852=_0x2166de()['__Key__'];if(_0x23b852){const _0x530f39={'time':Math[_0x447777(0x1c2)](Date[_0x447777(0x315)]()/0x3e8),'domain':location[_0x447777(0x1b8)]};return Yn(JSON['stringify'](_0x530f39),_0x23b852);}}var zn=Object[_0x3ebd1b(0x2a5)],Jn=(_0x140df1,_0x59cc18,_0x46f292,_0x804a9e)=>{var _0x589a8b=_0x3ebd1b;for(var _0x42088e=_0x804a9e>0x1?void 0x0:_0x804a9e?zn(_0x59cc18,_0x46f292):_0x59cc18,_0xa948a=_0x140df1[_0x589a8b(0x363)]-0x1,_0x3496f7;_0xa948a>=0x0;_0xa948a--)(_0x3496f7=_0x140df1[_0xa948a])&&(_0x42088e=_0x3496f7(_0x42088e)||_0x42088e);return _0x42088e;},Xn=(_0x148249,_0x7ce9e6)=>(_0x27269c,_0x18814c)=>_0x7ce9e6(_0x27269c,_0x18814c,_0x148249);let ot=class{constructor(_0x4a50ae){var _0x50e020=_0x3ebd1b;this[_0x50e020(0x304)]=_0x4a50ae,this[_0x50e020(0x2bf)]();}['_initRequestHeader'](){var _0x14f0ad=_0x3ebd1b;this[_0x14f0ad(0x304)][_0x14f0ad(0x25a)]({'interceptor':(_0x337c0d,_0x384b70)=>{var _0x3363f1=_0x14f0ad;const _0x568079=_0x337c0d[_0x3363f1(0x3c4)],_0x546a1c=qn();return _0x546a1c&&_0x568079['set'](_0x3363f1(0x2cc),_0x546a1c),_0x384b70(_0x337c0d);}});}};ot=Jn([Xn(0x0,_0x4f3deb(_0x33658e))],ot);var Zn=Object[_0x3ebd1b(0x2a5)],Qn=(_0x20164e,_0xe5349,_0x557b4f,_0x4af519)=>{var _0xa4471a=_0x3ebd1b;for(var _0x4d3469=_0x4af519>0x1?void 0x0:_0x4af519?Zn(_0xe5349,_0x557b4f):_0xe5349,_0x46f573=_0x20164e[_0xa4471a(0x363)]-0x1,_0x44a704;_0x46f573>=0x0;_0x46f573--)(_0x44a704=_0x20164e[_0x46f573])&&(_0x4d3469=_0x44a704(_0x4d3469)||_0x4d3469);return _0x4d3469;},mt=(_0x2fcc3d,_0x3c53b4)=>(_0x3eefc3,_0x2661d3)=>_0x3c53b4(_0x3eefc3,_0x2661d3,_0x2fcc3d);let bt=class extends _0x32d278{constructor(_0x397b73,_0x46d12c,_0x1c893e){var _0x5298d0=_0x3ebd1b;super(),N(this,_0x5298d0(0x231),new _0x15d586(null)),N(this,'unitInfo$',this[_0x5298d0(0x231)][_0x5298d0(0x477)]()),(this[_0x5298d0(0x1a8)]=_0x397b73,this[_0x5298d0(0x3f6)]=_0x46d12c,this[_0x5298d0(0x49e)]=_0x1c893e);}async[_0x3ebd1b(0x33f)](_0x5ea319,_0x2c7a64,_0x21e60e){var _0x206b34=_0x3ebd1b;this[_0x206b34(0x231)]['next']({'unitId':_0x5ea319,'type':_0x2c7a64,'subUnitId':_0x21e60e});let _0xa62eda=null;switch(_0x2c7a64){case Q['UNIVER_SHEET']:{_0xa62eda=await this[_0x206b34(0x2f9)](_0x5ea319);break;}case Q[_0x206b34(0x467)]:{_0xa62eda=await this[_0x206b34(0x416)](_0x5ea319);break;}default:{this[_0x206b34(0x1a8)]['error'](_0x206b34(0x49a),_0x206b34(0x2bb));break;}}return _0xa62eda;}async[_0x3ebd1b(0x2f9)](_0x1d265e){var _0x26e737=_0x3ebd1b,_0x849439;let _0x204065=0x0;const _0x4f9197=await((_0x849439=this[_0x26e737(0x49e)])==null?void 0x0:_0x849439[_0x26e737(0x2f0)](_0x1d265e));return _0x4f9197&&(_0x4f9197[_0x26e737(0x299)]||_0x4f9197[_0x26e737(0x2d9)][_0x26e737(0x363)]!==0x0)&&(_0x204065=_0x4f9197[_0x26e737(0x330)]),_0x204065===0x0&&this['_logService']['debug'](_0x26e737(0x49a),_0x26e737(0x29f)),this[_0x26e737(0x3f6)][_0x26e737(0x356)](_0x1d265e,_0x204065);}async[_0x3ebd1b(0x416)](_0x433a18){var _0x37aa74=_0x3ebd1b,_0x3040ba;let _0x4e097b=0x0;const _0x102459=await((_0x3040ba=this[_0x37aa74(0x49e)])==null?void 0x0:_0x3040ba[_0x37aa74(0x2f0)](_0x433a18));return _0x102459&&(_0x102459[_0x37aa74(0x299)]||_0x102459[_0x37aa74(0x2d9)][_0x37aa74(0x363)]!==0x0)&&(_0x4e097b=_0x102459[_0x37aa74(0x330)]),_0x4e097b===0x0&&this[_0x37aa74(0x1a8)]['debug'](_0x37aa74(0x49a),_0x37aa74(0x29f)),this[_0x37aa74(0x3f6)][_0x37aa74(0x1d0)](_0x433a18,_0x4e097b);}};bt=Qn([mt(0x0,_0x53833e),mt(0x1,_0x4f3deb(_0x4970ba)),mt(0x2,_0x3b02db(J))],bt);var es=Object[_0x3ebd1b(0x2a5)],ts=(_0x161d90,_0x27e2db,_0x4a1fd9,_0x500648)=>{var _0x47d543=_0x3ebd1b;for(var _0x25090a=_0x500648>0x1?void 0x0:_0x500648?es(_0x27e2db,_0x4a1fd9):_0x27e2db,_0x48dfa9=_0x161d90[_0x47d543(0x363)]-0x1,_0x1c4afe;_0x48dfa9>=0x0;_0x48dfa9--)(_0x1c4afe=_0x161d90[_0x48dfa9])&&(_0x25090a=_0x1c4afe(_0x25090a)||_0x25090a);return _0x25090a;},gt=(_0x4c023e,_0x441896)=>(_0x76ecd,_0x5e42f7)=>_0x441896(_0x76ecd,_0x5e42f7,_0x4c023e);const is=[_0x3ebd1b(0x428),_0x3ebd1b(0x310),_0x3ebd1b(0x2b1),'image/gif',_0x3ebd1b(0x1de)],rs=0x5*0x400*0x400,ns=_0x3ebd1b(0x367),ss=_0x3ebd1b(0x22b),os='EXCHANGE_SIGN_URL_SERVER_URL_KEY',as=_0x3ebd1b(0x1c1);let yt=class{constructor(_0x1d708d,_0x1a2bdd,_0x407eba){var _0x3a8f24=_0x3ebd1b;N(this,'_waitCount',0x0),N(this,_0x3a8f24(0x465),new _0x384b9e()),N(this,_0x3a8f24(0x370),this[_0x3a8f24(0x465)]),N(this,_0x3a8f24(0x28c),new Map()),(this[_0x3a8f24(0x304)]=_0x1d708d,this[_0x3a8f24(0x1d2)]=_0x1a2bdd,this['_univerInstanceService']=_0x407eba);}[_0x3ebd1b(0x33e)](_0x4d246a){var _0x4459b4=_0x3ebd1b;this['_waitCount']=_0x4d246a,this[_0x4459b4(0x465)]['next'](_0x4d246a);}[_0x3ebd1b(0x286)](_0x117d48,_0x544118){var _0x5ce27a=_0x3ebd1b;if(_0x544118===_0x4981d1[_0x5ce27a(0x2c3)]){const _0xacb811=new Image();return _0xacb811[_0x5ce27a(0x201)]=_0x117d48,_0xacb811;}return this[_0x5ce27a(0x28c)]['get'](_0x117d48);}[_0x3ebd1b(0x208)](_0x24d6da,_0x4e2123,_0x4b3a1b){var _0x13c144=_0x3ebd1b;_0x4e2123===_0x4981d1[_0x13c144(0x2c3)]||_0x4b3a1b==null||this[_0x13c144(0x28c)]['set'](_0x24d6da,_0x4b3a1b);}async[_0x3ebd1b(0x2d1)](_0x140e75){var _0x53973d=_0x3ebd1b;try{const _0x4246e3=this[_0x53973d(0x376)](this[_0x53973d(0x3a6)](),''+_0x140e75),_0x2d0fb9=(await this[_0x53973d(0x304)][_0x53973d(0x285)](_0x4246e3))[_0x53973d(0x221)];if(_0x2d0fb9[_0x53973d(0x1b4)]&&_0x2d0fb9[_0x53973d(0x1b4)][_0x53973d(0x49f)]===Si['OK']){const _0x1a828d=new URL(_0x2d0fb9[_0x53973d(0x31a)],this[_0x53973d(0x243)]())['toString']();return Promise[_0x53973d(0x2f8)](_0x1a828d);}return Promise['reject'](_0x2d0fb9[_0x53973d(0x1b4)]);}catch(_0x1df9a6){return Promise[_0x53973d(0x377)](_0x1df9a6);}}async[_0x3ebd1b(0x3e7)](_0xa5252c){var _0x388123=_0x3ebd1b;let _0x1f3ac9='';if(!is[_0x388123(0x3ea)](_0xa5252c[_0x388123(0x3a3)]))return this[_0x388123(0x404)](),Promise[_0x388123(0x377)](new Error(_0x1035d3[_0x388123(0x2e8)]));if(_0xa5252c[_0x388123(0x461)]>rs)return this[_0x388123(0x404)](),Promise[_0x388123(0x377)](new Error(_0x1035d3[_0x388123(0x29e)]));try{const _0x331a88=new FormData();_0x331a88[_0x388123(0x494)](_0x388123(0x1f2),_0xa5252c);const _0x1a84ff=this[_0x388123(0x419)][_0x388123(0x2fc)](),_0x3c25a0=_0x1a84ff==null?void 0x0:_0x1a84ff[_0x388123(0x41a)]();if(!_0x3c25a0)throw new Error('unitId\x20is\x20not\x20found');const _0x57f5e0=this[_0x388123(0x209)]()+_0x388123(0x20a)+_0xa5252c[_0x388123(0x461)][_0x388123(0x1ab)]()+'&source='+Ei['UnitEmbedded']+'&assign='+encodeURIComponent(_0x3c25a0),_0x3ea6b8=await(await fetch(_0x57f5e0,{'method':_0x388123(0x278),'body':_0x331a88}))[_0x388123(0x454)]();if(typeof _0x3ea6b8[_0x388123(0x291)]!=_0x388123(0x411))return this['_decreaseWaiting'](),Promise[_0x388123(0x377)](new Error(_0x1035d3['ERROR_IMAGE']));_0x1f3ac9=_0x3ea6b8[_0x388123(0x291)];}catch{return this[_0x388123(0x404)](),Promise[_0x388123(0x377)](new Error(_0x1035d3[_0x388123(0x230)]));}return new Promise((_0xc37fc3,_0x9eeb78)=>{var _0x2a1d36=_0x388123;const _0x403eef=new FileReader();_0x403eef['readAsDataURL'](_0xa5252c),_0x403eef[_0x2a1d36(0x342)]=_0x1ae402=>{var _0x1785df=_0x2a1d36,_0x3c3027;const _0x40ea9d=(_0x3c3027=_0x1ae402[_0x1785df(0x3d1)])==null?void 0x0:_0x3c3027[_0x1785df(0x354)];if(_0x40ea9d==null){this[_0x1785df(0x404)](),_0x9eeb78(new Error(_0x1035d3[_0x1785df(0x230)]));return;}const _0x40517b=_0x1bd747[_0x1785df(0x1b6)](0x6);_0xc37fc3({'imageId':_0x40517b,'imageSourceType':_0x4981d1[_0x1785df(0x27f)],'source':_0x1f3ac9,'base64Cache':_0x40ea9d,'status':_0x1035d3['SUCCUSS']}),this[_0x1785df(0x404)]();};});}[_0x3ebd1b(0x209)](){var _0x4ef1dc=_0x3ebd1b,_0x1bff73,_0x19214e;const _0x5d81b9=this[_0x4ef1dc(0x1d2)][_0x4ef1dc(0x445)](ns),_0x13e8e8=this['_configService'][_0x4ef1dc(0x445)](q);return(_0x19214e=(_0x1bff73=_0x13e8e8==null?void 0x0:_0x13e8e8[_0x4ef1dc(0x1ff)])!=null?_0x1bff73:_0x5d81b9)!=null?_0x19214e:ss;}[_0x3ebd1b(0x3a6)](){var _0x4a7107=_0x3ebd1b,_0x2db16b,_0x342471;const _0x50750a=this[_0x4a7107(0x1d2)][_0x4a7107(0x445)](os),_0x56a97f=this[_0x4a7107(0x1d2)]['getConfig'](q);return(_0x342471=(_0x2db16b=_0x56a97f==null?void 0x0:_0x56a97f[_0x4a7107(0x2aa)])!=null?_0x2db16b:_0x50750a)!=null?_0x342471:as;}['_getDownloadEndpointURL'](){var _0x1b7365=_0x3ebd1b,_0x5b28b8;const _0x53f421=this[_0x1b7365(0x1d2)][_0x1b7365(0x445)](q);return(_0x5b28b8=_0x53f421==null?void 0x0:_0x53f421[_0x1b7365(0x311)])!=null?_0x5b28b8:location['origin'];}[_0x3ebd1b(0x376)](_0x2bc739,_0x37a607){var _0x2b3dfe=_0x3ebd1b;return _0x2bc739[_0x2b3dfe(0x469)](_0x2b3dfe(0x1bb),_0x37a607);}[_0x3ebd1b(0x404)](){var _0x4835ad=_0x3ebd1b;this['_waitCount']-=0x1,this[_0x4835ad(0x465)]['next'](this[_0x4835ad(0x28f)]);}};yt=ts([gt(0x0,_0x4f3deb(_0x33658e)),gt(0x1,_0x2a770c),gt(0x2,_0x4f3deb(_0x42c510))],yt);var cs=Object[_0x3ebd1b(0x2a5)],hs=(_0x504783,_0x56b52a,_0x42f0b5,_0x75ff10)=>{var _0x348118=_0x3ebd1b;for(var _0x492a37=_0x75ff10>0x1?void 0x0:_0x75ff10?cs(_0x56b52a,_0x42f0b5):_0x56b52a,_0x12cd04=_0x504783[_0x348118(0x363)]-0x1,_0x239c87;_0x12cd04>=0x0;_0x12cd04--)(_0x239c87=_0x504783[_0x12cd04])&&(_0x492a37=_0x239c87(_0x492a37)||_0x492a37);return _0x492a37;},hi=(_0x5b58ad,_0x5b14db)=>(_0x4d4ed5,_0x22e568)=>_0x5b14db(_0x4d4ed5,_0x22e568,_0x5b58ad);const _s=_0x3ebd1b(0x2c2);let Ot=class{constructor(_0x48964a,_0x587954){var _0x4bcbfb=_0x3ebd1b;this[_0x4bcbfb(0x1d2)]=_0x48964a,this[_0x4bcbfb(0x2f4)]=_0x587954;}['_getAPIPrefixPath'](){var _0x21f5dc=_0x3ebd1b,_0x375c10,_0xb11322;const _0x5d6742=this[_0x21f5dc(0x1d2)][_0x21f5dc(0x445)](Ni),_0x1c2a84=this[_0x21f5dc(0x1d2)][_0x21f5dc(0x445)](q);return(_0xb11322=(_0x375c10=_0x1c2a84==null?void 0x0:_0x1c2a84[_0x21f5dc(0x46d)])!=null?_0x375c10:_0x5d6742)!=null?_0xb11322:_s;}async[_0x3ebd1b(0x335)](_0x478c5f){var _0x3d94d4=_0x3ebd1b;const _0x968ed2=this[_0x3d94d4(0x343)]()+_0x3d94d4(0x32e);return{'list':[{'title':_0x3d94d4(0x39d),'mentions':(await this[_0x3d94d4(0x2f4)][_0x3d94d4(0x285)](_0x968ed2,{'params':{'objectID':_0x478c5f[_0x3d94d4(0x388)],'unitID':_0x478c5f[_0x3d94d4(0x388)]}}))['body'][_0x3d94d4(0x35d)][_0x3d94d4(0x453)](_0x48f774=>({'objectId':_0x48f774['id'],'name':_0x48f774[_0x3d94d4(0x3ab)][_0x3d94d4(0x289)],'metadata':{'icon':_0x48f774[_0x3d94d4(0x3ab)][_0x3d94d4(0x414)]},'label':_0x48f774[_0x3d94d4(0x3ab)]['name'],'objectType':_0x913100['PERSON']})),'metadata':{},'type':_0x913100[_0x3d94d4(0x40d)]}]};}};Ot=hs([hi(0x0,_0x4f3deb(_0x2a770c)),hi(0x1,_0x4f3deb(_0x33658e))],Ot);var ls=Object['getOwnPropertyDescriptor'],us=(_0xa3c8f5,_0x85a209,_0x243405,_0x4a10cc)=>{var _0x55ead6=_0x3ebd1b;for(var _0x5454cf=_0x4a10cc>0x1?void 0x0:_0x4a10cc?ls(_0x85a209,_0x243405):_0x85a209,_0x2c8923=_0xa3c8f5[_0x55ead6(0x363)]-0x1,_0x37cc13;_0x2c8923>=0x0;_0x2c8923--)(_0x37cc13=_0xa3c8f5[_0x2c8923])&&(_0x5454cf=_0x37cc13(_0x5454cf)||_0x5454cf);return _0x5454cf;},Ae=(_0x58f7f2,_0xa13d2e)=>(_0x47e663,_0x2c000d)=>_0xa13d2e(_0x47e663,_0x2c000d,_0x58f7f2);let at=class extends _0x32d278{constructor(_0x591bce,_0x139beb,_0x515e05,_0x4e3dc4,_0x39cfaf){var _0x3a6e41=_0x3ebd1b;super(),this[_0x3a6e41(0x346)]=_0x591bce,this[_0x3a6e41(0x419)]=_0x139beb,this[_0x3a6e41(0x373)]=_0x515e05,this[_0x3a6e41(0x479)]=_0x4e3dc4,this[_0x3a6e41(0x2f2)]=_0x39cfaf,this[_0x3a6e41(0x1fe)](),this['_initCloseConn']();}[_0x3ebd1b(0x2e1)](){var _0x3481af=_0x3ebd1b;const _0x53686f=async _0x161e0a=>{var _0x1f394d=_0x44ec;(await this[_0x1f394d(0x479)][_0x1f394d(0x26f)](_0x161e0a))[_0x1f394d(0x36c)][_0x1f394d(0x2e0)](_0x1a4f87(_0x4dda29=>_0x4dda29[_0x1f394d(0x2dc)]===_0x29cbe9[_0x1f394d(0x1be)]),_0x212faf(this[_0x1f394d(0x2e3)]))[_0x1f394d(0x3c0)](_0x3c4c77=>{var _0x3e5412=_0x1f394d;const _0x2ac61c=_0x3c4c77,{reason:_0x2a1083}=_0x2ac61c[_0x3e5412(0x3fe)];this['_collaborationUIEventService']['emitEvent']({'id':se[_0x3e5412(0x3f8)],'data':_0x2a1083}),this[_0x3e5412(0x373)]['updatePermissionPoint'](new _0x5252f0(_0x161e0a)['id'],!0x1),this[_0x3e5412(0x479)][_0x3e5412(0x1aa)](_0x161e0a);});};_0x4f1458(this[_0x3481af(0x419)][_0x3481af(0x1d5)](_0x6e43e8[_0x3481af(0x3f5)]),this['_univerInstanceService'][_0x3481af(0x1d5)](_0x6e43e8[_0x3481af(0x467)]))[_0x3481af(0x2e0)](_0x182a28(_0x2158cc=>_0x2158cc[_0x3481af(0x41a)]()),_0x1a4f87(_0x318da5=>!_0x17a7c0(_0x318da5)),_0x212faf(this[_0x3481af(0x2e3)]))[_0x3481af(0x3c0)](_0x2d4c0d=>{_0x53686f(_0x2d4c0d);});}[_0x3ebd1b(0x1fe)](){var _0x25b65c=_0x3ebd1b;const _0x130252=async _0x5bebcc=>{var _0x43df8e=_0x44ec;const _0x49290f=await this[_0x43df8e(0x479)][_0x43df8e(0x26f)](_0x5bebcc),_0x2bb43a=this[_0x43df8e(0x346)]['get'](_0x3d37cb);_0x49290f[_0x43df8e(0x36c)][_0x43df8e(0x2e0)](_0x1a4f87(_0x5ad6c5=>_0x5ad6c5['eventID']===_0x29cbe9[_0x43df8e(0x45c)]),_0x212faf(this[_0x43df8e(0x2e3)]))[_0x43df8e(0x3c0)](_0xd7c0e3=>{var _0x47f9ca=_0x43df8e;const _0x3f05a8=_0xd7c0e3,{objectId:_0x4f83a8}=_0x3f05a8[_0x47f9ca(0x3fe)];_0x4f83a8===_0x5bebcc?_0x2bb43a['initWorkbookPermissionChange'](_0x5bebcc):_0x2bb43a[_0x47f9ca(0x28d)](_0x5bebcc,_0x4f83a8);});};_0x4f1458(this[_0x25b65c(0x419)][_0x25b65c(0x1d5)](_0x6e43e8[_0x25b65c(0x3f5)]))['pipe'](_0x182a28(_0x1d776f=>_0x1d776f['getUnitId']()),_0x1a4f87(_0x3bf62f=>!_0x17a7c0(_0x3bf62f)),_0x212faf(this['dispose$']))[_0x25b65c(0x3c0)](_0x1a9181=>{_0x130252(_0x1a9181);});}};at=us([Ae(0x0,_0x4f3deb(_0x4fddf8)),Ae(0x1,_0x42c510),Ae(0x2,_0x115665),Ae(0x3,_0x4f3deb(Le)),Ae(0x4,_0x4f3deb(pe))],at);var ds=Object[_0x3ebd1b(0x2a5)],fs=(_0x5de551,_0x15af19,_0x1e25f2,_0x36d826)=>{var _0x97daef=_0x3ebd1b;for(var _0x54530b=_0x36d826>0x1?void 0x0:_0x36d826?ds(_0x15af19,_0x1e25f2):_0x15af19,_0x32bea0=_0x5de551[_0x97daef(0x363)]-0x1,_0x23b00b;_0x32bea0>=0x0;_0x32bea0--)(_0x23b00b=_0x5de551[_0x32bea0])&&(_0x54530b=_0x23b00b(_0x54530b)||_0x54530b);return _0x54530b;},_i=(_0x53a713,_0x1126b1)=>(_0x37f5bb,_0x17e65d)=>_0x1126b1(_0x37f5bb,_0x17e65d,_0x53a713);let Nt=class{constructor(_0x3065f6,_0x2a9cb5){var _0x536e7b=_0x3ebd1b;this[_0x536e7b(0x1d2)]=_0x3065f6,this[_0x536e7b(0x304)]=_0x2a9cb5;}async['getUnitOnRev'](_0x1c96da,_0x932743){var _0x511d22=_0x3ebd1b,_0x1eb2ba;const {unitID:_0x26d17c,type:_0x2d4ab5,revision:_0x31204b=0x0}=_0x932743,_0x34657d=this['getSnapshotAPIPath']()+'/'+_0x2d4ab5+'/unit/'+_0x26d17c+_0x511d22(0x424)+_0x31204b,_0x1845ee=(await this[_0x511d22(0x304)][_0x511d22(0x285)](_0x34657d))[_0x511d22(0x221)],_0x2e24a7=(_0x1eb2ba=_0x1845ee[_0x511d22(0x36d)])==null?void 0x0:_0x1eb2ba[_0x511d22(0x3b3)];if(_0x2e24a7){const _0x51a6ed=_0x2e24a7==null?void 0x0:_0x2e24a7[_0x511d22(0x357)],_0x34d6d0=_0x8bb74d[_0x511d22(0x2e7)](_0x5d895b(_0x51a6ed));_0x2e24a7[_0x511d22(0x357)]=_0x34d6d0,Object[_0x511d22(0x43e)](_0x2e24a7[_0x511d22(0x383)])[_0x511d22(0x326)](([,_0x55b9df])=>{var _0x159147=_0x511d22;const _0x2762d1=_0x55b9df[_0x159147(0x357)],_0x59c7e8=_0x8bb74d[_0x159147(0x2e7)](_0x5d895b(_0x2762d1));_0x55b9df['originalMeta']=_0x59c7e8;});}return _0x1845ee;}async[_0x3ebd1b(0x2ef)](_0x1d31a8,_0xd50407){var _0x3d736a=_0x3ebd1b;const {unitID:_0x5ddc6d,type:_0x525b7b,blockID:_0x1b24cd}=_0xd50407,_0x8cc3f6=this[_0x3d736a(0x498)]()+'/'+_0x525b7b+'/unit/'+_0x5ddc6d+_0x3d736a(0x46f)+_0x1b24cd;return(await this[_0x3d736a(0x304)][_0x3d736a(0x285)](_0x8cc3f6))['body'];}async[_0x3ebd1b(0x318)](_0x50904e,_0x5a1e61){var _0x1bd14f=_0x3ebd1b;const {unitID:_0x33de4d,type:_0x273c11,blockID:_0x519f65}=_0x5a1e61,_0x2982db=this['_getAPIPrefix']()+_0x1bd14f(0x46f)+_0x273c11+'/unit/'+_0x33de4d+_0x1bd14f(0x46f)+_0x519f65;return(await this[_0x1bd14f(0x304)][_0x1bd14f(0x285)](_0x2982db))[_0x1bd14f(0x221)];}async[_0x3ebd1b(0x1d6)](_0x5911ee,_0x21c774){var _0x20eb6c=_0x3ebd1b;const {unitID:_0x2372d3,type:_0x3d292f,from:_0x461c7c,to:_0x401114}=_0x21c774,_0x5ccb40=this['_getAPIPrefix']()+'/'+_0x3d292f+'/unit/'+_0x2372d3+_0x20eb6c(0x37a)+_0x461c7c+_0x20eb6c(0x1cb)+_0x401114;return(await this[_0x20eb6c(0x304)][_0x20eb6c(0x285)](_0x5ccb40))[_0x20eb6c(0x221)];}[_0x3ebd1b(0x3dc)](){var _0x1f8de1=_0x3ebd1b,_0x2e33d8;return(_0x2e33d8=this['_configService'][_0x1f8de1(0x445)](gr))!=null?_0x2e33d8:this[_0x1f8de1(0x498)]();}[_0x3ebd1b(0x498)](){var _0x15f4b2=_0x3ebd1b,_0x4376d4,_0x1ecb19;const _0x18b5ea=this[_0x15f4b2(0x1d2)]['getConfig'](pr),_0x2e4b93=this['_configService']['getConfig'](q);return(_0x1ecb19=(_0x4376d4=_0x2e4b93==null?void 0x0:_0x2e4b93[_0x15f4b2(0x320)])!=null?_0x4376d4:_0x18b5ea)!=null?_0x1ecb19:mr;}async[_0x3ebd1b(0x24f)](_0x5dbdea,_0x529162){var _0x4009c9=_0x3ebd1b;const _0x5655f2=_0x4009c9(0x364)+_0x529162['type']+'/unit/'+_0x529162[_0x4009c9(0x31d)]+_0x4009c9(0x2f7);return(await this['_httpService'][_0x4009c9(0x285)](_0x5655f2,{'params':{'resourceId':JSON['stringify'](_0x529162['resourceIDs'])}}))[_0x4009c9(0x221)];}[_0x3ebd1b(0x39c)](){var _0xb7a0b3=_0x3ebd1b;throw new Error(_0xb7a0b3(0x20c));}[_0x3ebd1b(0x418)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x3ebd1b(0x455)](){var _0x422fe5=_0x3ebd1b;throw new Error(_0x422fe5(0x20c));}[_0x3ebd1b(0x33b)](){var _0x415463=_0x3ebd1b;throw new Error(_0x415463(0x20c));}[_0x3ebd1b(0x474)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}};Nt=fs([_i(0x0,_0x2a770c),_i(0x1,_0x4f3deb(_0x33658e))],Nt);var vs=Object[_0x3ebd1b(0x2a5)],ps=(_0x4db856,_0x2189f0,_0x37bfd4,_0x4605d6)=>{var _0x468548=_0x3ebd1b;for(var _0x12935b=_0x4605d6>0x1?void 0x0:_0x4605d6?vs(_0x2189f0,_0x37bfd4):_0x2189f0,_0x20a7e9=_0x4db856[_0x468548(0x363)]-0x1,_0x13fbb5;_0x20a7e9>=0x0;_0x20a7e9--)(_0x13fbb5=_0x4db856[_0x20a7e9])&&(_0x12935b=_0x13fbb5(_0x12935b)||_0x12935b);return _0x12935b;},Pe=(_0x5e652c,_0x4c3eec)=>(_0x1f78a4,_0x296188)=>_0x4c3eec(_0x1f78a4,_0x296188,_0x5e652c);let Dt=class extends _0xae8f7a{constructor(_0x3d8f9c,_0xd98aa9,_0x3e395c,_0x51e9e7,_0x272e95){var _0x184a9a=_0x3ebd1b;super(_0x3d8f9c,_0xd98aa9,_0x3e395c),this[_0x184a9a(0x24d)]=_0x51e9e7,this[_0x184a9a(0x1a8)]=_0x272e95;}[_0x3ebd1b(0x235)](_0x17929a,_0x39ec29){var _0x4f4975=_0x3ebd1b;const _0x40123f=this[_0x4f4975(0x2b7)](_0x17929a);if(_0x40123f)try{const _0x5cd271=this[_0x4f4975(0x448)](_0x40123f,_0x39ec29);this['_substituteUndoStack'](_0x17929a,_0x5cd271);}catch(_0x28364d){this[_0x4f4975(0x1a8)]['error'](_0x4f4975(0x236),_0x28364d),this[_0x4f4975(0x327)](_0x17929a);}const _0x343daa=this[_0x4f4975(0x375)](_0x17929a);if(_0x343daa)try{const _0x5274f0=this[_0x4f4975(0x448)](_0x343daa,_0x39ec29);this['_substituteRedoStack'](_0x17929a,_0x5274f0);}catch(_0x3101e1){this['_logService'][_0x4f4975(0x1b4)](_0x3101e1),this['_clearRedo'](_0x17929a);}}['_clearUndo'](_0x2bafa6){var _0x204cfc=_0x3ebd1b;const _0x577837=this[_0x204cfc(0x2b7)](_0x2bafa6);_0x577837&&(_0x577837['length']=0x0,this[_0x204cfc(0x43a)]());}[_0x3ebd1b(0x2b3)](_0x2e1ca0){var _0x2e50b4=_0x3ebd1b;const _0x1aee77=this[_0x2e50b4(0x375)](_0x2e1ca0);_0x1aee77&&(_0x1aee77[_0x2e50b4(0x363)]=0x0,this[_0x2e50b4(0x43a)]());}[_0x3ebd1b(0x433)](_0x585005,_0x484152){var _0x426a1e=_0x3ebd1b;this['_undoStacks'][_0x426a1e(0x3c2)](_0x585005,_0x484152),this['_updateStatus']();}[_0x3ebd1b(0x471)](_0x893d53,_0x4c1f2b){var _0x5b312b=_0x3ebd1b;this['_redoStacks'][_0x5b312b(0x3c2)](_0x893d53,_0x4c1f2b),this[_0x5b312b(0x43a)]();}[_0x3ebd1b(0x448)](_0x29c737,_0x2530f7){var _0x56b0f1=_0x3ebd1b;const _0x1c7a58=[];let _0x278303=_0x2530f7,_0x43361c=_0x2530f7;for(let _0x42a643=_0x29c737[_0x56b0f1(0x363)]-0x1;_0x42a643>=0x0;_0x42a643--){const {unitID:_0x312e84,undoMutations:_0x3c847e,redoMutations:_0x2cb366}=_0x29c737[_0x42a643],_0x2b04da=this[_0x56b0f1(0x24d)][_0x56b0f1(0x44f)](_0x278303,_0x3c847e),_0x266d6c=this[_0x56b0f1(0x24d)][_0x56b0f1(0x44f)](_0x43361c,_0x2cb366);if(_0x4d4cc2(_0x2b04da)||_0x4d4cc2(_0x266d6c)){this[_0x56b0f1(0x1a8)][_0x56b0f1(0x1b4)](_0x56b0f1(0x236),_0x56b0f1(0x1f9),_0x2b04da,_0x266d6c);break;}_0x278303=_0x2b04da[_0x56b0f1(0x2ce)],_0x43361c=_0x266d6c[_0x56b0f1(0x2ce)],_0x1c7a58[_0x56b0f1(0x427)]({'unitID':_0x312e84,'undoMutations':_0x2b04da['m2Prime'],'redoMutations':_0x266d6c[_0x56b0f1(0x1b7)]});}return _0x1c7a58[_0x56b0f1(0x2c6)]();}};Dt=ps([Pe(0x0,_0x42c510),Pe(0x1,_0x13fb4e),Pe(0x2,_0x4b0db0),Pe(0x3,_0x3a4a71),Pe(0x4,_0x53833e)],Dt);var ms=Object[_0x3ebd1b(0x30a)],gs=Object['getOwnPropertyDescriptor'],Ss=(_0x1e6211,_0x5b3b32,_0x152cda)=>_0x5b3b32 in _0x1e6211?ms(_0x1e6211,_0x5b3b32,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x152cda}):_0x1e6211[_0x5b3b32]=_0x152cda,Es=(_0x4fc494,_0x443776,_0x524a40,_0x22028f)=>{for(var _0x2d85ab=_0x22028f>0x1?void 0x0:_0x22028f?gs(_0x443776,_0x524a40):_0x443776,_0x1ee35b=_0x4fc494['length']-0x1,_0x24eccf;_0x1ee35b>=0x0;_0x1ee35b--)(_0x24eccf=_0x4fc494[_0x1ee35b])&&(_0x2d85ab=_0x24eccf(_0x2d85ab)||_0x2d85ab);return _0x2d85ab;},St=(_0x208f18,_0x379980)=>(_0x534a5d,_0x139993)=>_0x379980(_0x534a5d,_0x139993,_0x208f18),Is=(_0x5785c8,_0x2d8ad4,_0x438a9c)=>Ss(_0x5785c8,_0x2d8ad4+'',_0x438a9c);const Ts=_0x3ebd1b(0x3f7);let wt=class extends _0x25a773{constructor(_0x17151f,_0x4bf14d,_0x41dbae,_0x2e35ba){var _0x1f1a17=_0x3ebd1b;super(),N(this,_0x1f1a17(0x38f)),(this['_logService']=_0x4bf14d,this[_0x1f1a17(0x346)]=_0x41dbae,this['_configService']=_0x2e35ba);const {..._0x438961}=_0x426b30({},Ur,_0x17151f);if(!_0x438961[_0x1f1a17(0x40c)])throw new Error(_0x1f1a17(0x2bc));this[_0x1f1a17(0x38f)]=_0x438961,this['_configService'][_0x1f1a17(0x1ac)](q,_0x438961);}['onStarting'](){var _0x40641b=_0x3ebd1b;this[_0x40641b(0x3b9)](),this[_0x40641b(0x3e9)]();}[_0x3ebd1b(0x3b9)](){var _0x3de32e=_0x3ebd1b,_0x13ca3a,_0x30179c;this['_injector'][_0x3de32e(0x386)](_0xb993df)&&this[_0x3de32e(0x1a8)]['error'](_0x3de32e(0x3fd),_0x3de32e(0x2b5));const _0xba0434=_0x420d77([[_0xb993df,{'useClass':Dt}],[Le],[xe],[it],[st],[ot],[Ti],[at],[pe],[bt],[Ii,{'useClass':this[_0x3de32e(0x38f)]['socketService']}],[_0x481b0,{'useClass':Nt}],[_0x37c18c,{'useClass':Rt}],[_0x32bded,{'useClass':yt}],[_0x2b54be,{'useClass':Ot}],[nt],[Ct]],(_0x13ca3a=this[_0x3de32e(0x38f)])==null?void 0x0:_0x13ca3a[_0x3de32e(0x1d7)]);if(!((_0x30179c=this[_0x3de32e(0x38f)])!=null&&_0x30179c[_0x3de32e(0x397)])){const _0x410984=_0xba0434[_0x3de32e(0x32d)](([_0x9b02e6])=>_0x9b02e6===ht);_0x410984!==-0x1&&_0xba0434[_0x3de32e(0x1e4)](_0x410984,0x1);}_0x484089(this[_0x3de32e(0x346)],_0xba0434);}[_0x3ebd1b(0x3e9)](){var _0x1f78b9=_0x3ebd1b,_0x27c722,_0x23941a,_0x72180f;this[_0x1f78b9(0x346)][_0x1f78b9(0x285)](_0x33658e)[_0x1f78b9(0x25a)]({'priority':0x14,'interceptor':_0x53f182({'maxParallel':0x6})}),(_0x27c722=this[_0x1f78b9(0x38f)])!=null&&_0x27c722[_0x1f78b9(0x47a)]||(_0x23941a=this[_0x1f78b9(0x346)][_0x1f78b9(0x285)](J,_0x4d644a[_0x1f78b9(0x34f)]))==null||_0x23941a[_0x1f78b9(0x263)](),(_0x72180f=this[_0x1f78b9(0x38f)])!=null&&_0x72180f['enableAuthServer']&&_0x30701b(this[_0x1f78b9(0x346)],[[st]]),_0x30701b(this[_0x1f78b9(0x346)],[[ot],[nt],[at]]);}};Is(wt,_0x3ebd1b(0x1f6),Ts),wt=Es([_0x41e97c(_0xa1ef3e,_0x54097e),St(0x1,_0x53833e),St(0x2,_0x4f3deb(_0x4fddf8)),St(0x3,_0x2a770c)],wt);export{Ni as AUTHZ_URL_KEY,Rt as AuthzIoHttpService,le as AwaitingState,ae as AwaitingWithPendingState,q as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,Or as COLLAB_SUBMIT_CHANGESET_URL_KEY,Er as COLLAB_WEB_SOCKET_URL_KEY,nt as CollaborationController,rt as CollaborationEntity,yt as CollaborationImageIoService,Et as CollaborationSession,Le as CollaborationSessionService,Vt as CollaborationSocketService,bi as CollaborationStatus,se as CollaborationUIEventId,pe as CollaborationUIEventService,Dt as CollaborativeUndoRedoService,Ti as CommentService,ue as ConflictState,Ir as DEFAULT_COLLAB_WEB_SOCKET_URL,Hs as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,Ls as DEFAULT_WS_SESSION_TICKET_URL,bt as DataLoaderService,It as DocCollaborationEntity,ee as FetchingMissState,Tr as HEARTBEAT_INTERVAL_KEY,mi as HEARTBEAT_TIMEOUT_KEY,Ii as ICollaborationSocketService,J as ILocalCacheService,Ar as INetworkConditionService,ht as ISingleActiveUnitService,ks as LOCAL_CACHE_INTERVAL,Ms as LOCAL_CACHE_INTERVAL_KEY,Dr as LOGIN_URL_KEY,xe as MemberService,Ot as MentionIoHttpService,de as OfflineState,oe as PendingState,$s as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,br as RETRY_CONNECTING_MAX_COUNT_KEY,xs as SEND_CHANGESET_TIMEOUT_KEY,pr as SNAPSHOT_SERVER_URL_KEY,gr as SNAPSHOT_URL_KEY,Ee as SessionStatus,Tt as SheetCollaborationEntity,it as SheetTransformSelectionsService,Nt as SnapshotServerOverHTTPService,Ne as SyncedState,Ci as UnitStatus,wt as UniverCollaborationClientPlugin,Pr as deserializeToCombResponse,Bs as getLocalCacheKey,xr as serializeCombRequest};
|