@univerjs-pro/collaboration-client 0.6.0-nightly.202502161605 → 0.6.0-nightly.202502171606

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/es/index.js CHANGED
@@ -1 +1 @@
1
- var _0x5f281c=_0x5eda;(function(_0x43a5a9,_0x1ff884){var _0x1bd50b=_0x5eda,_0x4d41ba=_0x43a5a9();while(!![]){try{var _0x1c27ec=parseInt(_0x1bd50b(0x345))/0x1*(parseInt(_0x1bd50b(0x402))/0x2)+-parseInt(_0x1bd50b(0x361))/0x3*(parseInt(_0x1bd50b(0x3dc))/0x4)+-parseInt(_0x1bd50b(0x1e4))/0x5*(parseInt(_0x1bd50b(0x1d2))/0x6)+parseInt(_0x1bd50b(0x2d0))/0x7*(parseInt(_0x1bd50b(0x2d1))/0x8)+-parseInt(_0x1bd50b(0x2ce))/0x9+-parseInt(_0x1bd50b(0x3f1))/0xa+parseInt(_0x1bd50b(0x31f))/0xb;if(_0x1c27ec===_0x1ff884)break;else _0x4d41ba['push'](_0x4d41ba['shift']());}catch(_0x2cd546){_0x4d41ba['push'](_0x4d41ba['shift']());}}}(_0x938e,0xbd9a9));var Ai=Object[_0x5f281c(0x348)],xi=(_0x2c8fd5,_0x192706,_0x13f2c8)=>_0x192706 in _0x2c8fd5?Ai(_0x2c8fd5,_0x192706,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x13f2c8}):_0x2c8fd5[_0x192706]=_0x13f2c8,N=(_0x346691,_0x2c42f7,_0x3309c8)=>xi(_0x346691,typeof _0x2c42f7!='symbol'?_0x2c42f7+'':_0x2c42f7,_0x3309c8);import{createIdentifier as _0x1a0676,Inject as _0x9558f9,Injector as _0xd634d6,Disposable as _0x52a4ec,DisposableCollection as _0x460d4b,toDisposable as _0x5f82e5,IConfigService as _0x3b2da1,ILogService as _0x29c204,UserManagerService as _0x1b7731,UniverInstanceType as _0xd6875a,IUniverInstanceService as _0x34f8d6,LocaleService as _0x1aa64a,Optional as _0x1a79f6,RxDisposable as _0x23be52,Tools as _0x26a23c,Rectangle as _0x19d27e,ICommandService as _0xda747d,JSONX as _0x59206b,CommandType as _0x3e1461,IPermissionService as _0x254153,IUndoRedoService as _0x2f573f,sequenceExecute as _0x41bde1,Workbook as _0xe8f172,MentionType as _0x425e8a,isInternalEditorID as _0x505571,LocalUndoRedoService as _0x779597,IContextService as _0x1b4fb0,DependentOn as _0x50e39f,Plugin as _0x3b786d,merge as _0x346504,mergeOverrideWithDependencies as _0x3c8ec6,IAuthzIoService as _0x2e258a,IMentionIOService as _0x365228,registerDependencies as _0x558302,Quantity as _0x41a519,touchDependencies as _0x514054}from'@univerjs/core';import{Subject as _0x39b4f1,merge as _0x2f7b48,of as _0x3f1059,BehaviorSubject as _0x28a5cc,takeUntil as _0x5106b7,ReplaySubject as _0x40b24f,take as _0x281660,map as _0x2c4aae,shareReplay as _0x3647db,firstValueFrom as _0x3e7711,concatMap as _0x324461}from'rxjs';import{map as _0x213c72,take as _0x2f617b,filter as _0xd6b0bd,delay as _0x5e9c7c,takeUntil as _0x3db57b}from'rxjs/operators';import{CollaborationEvent as _0x54c335,parseChangesetToProtocol as _0x353ded,ISnapshotServerService as _0x4a66d0,isTransformMutationsWithChangesetSuccess as _0x32fab9,ITransformService as _0x1b9c4f,mapDocumentTypeToUniverType as _0x4e7a73,RevisionService as _0x33a96b,isTransformChangesetsSuccess as _0x3fa21a,CompressMutationService as _0x53d69e,parseProtocolChangeset as _0xfdb415,SnapshotService as _0x502971,textEncoder as _0x21ae81,b64DecodeUnicode as _0x451b2a,isTransformMutationsWithChangesetFailure as _0x5d6ab2,UniverCollaborationPlugin as _0xf47e8f}from'@univerjs-pro/collaboration';function _0x5eda(_0x1ca7b1,_0x570b3a){var _0x938ee7=_0x938e();return _0x5eda=function(_0x5edace,_0x574119){_0x5edace=_0x5edace-0x173;var _0x467a63=_0x938ee7[_0x5edace];return _0x467a63;},_0x5eda(_0x1ca7b1,_0x570b3a);}import{HTTPService as _0x30b05c,ISocketService as _0x1f7895,MergeInterceptorFactory as _0x4d712b,HTTPRequest as _0xb13e74,UniverNetworkPlugin as _0x197451,ThresholdInterceptorFactory as _0x591972}from'@univerjs/network';import{ITelemetryService as _0x96d161}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x2f7b64}from'@univerjs/docs';import{SheetsSelectionsService as _0x1a006a,SetSelectionsOperation as _0x170d3a,InsertSheetMutation as _0x4d6b49,EmptyMutation as _0x351999,WorkbookEditablePermission as _0x20c3ca,SheetPermissionInitController as _0x2f2d41}from'@univerjs/sheets';import{ImageSourceType as _0x2b975e,ImageUploadStatusType as _0x585772,IImageIoService as _0xda2ae5}from'@univerjs/drawing';import{getGlobalObject as _0x16104a}from'@univerjs-pro/license';const gn=_0x5f281c(0x44f),Sn='/universer-api/snapshot',En=_0x5f281c(0x367),Zs=_0x5f281c(0x2b0),In=0x7d0,Tn=_0x5f281c(0x1ca),Cn=_0x5f281c(0x1e0),Qs=_0x5f281c(0x373),bn=_0x5f281c(0x1c5),Rn=0x7530,mi=_0x5f281c(0x468),gi=0x4e20,On=0x4e20,yn='RETRY_CONNECTING_MAX_COUNT',Nn=0x3,eo=_0x5f281c(0x3ff),to=0x3e8,Dn=_0x5f281c(0x439),Pn=_0x5f281c(0x30e),wn='LOGIN_URL_KEY',Un=_0x5f281c(0x436),io=_0x5f281c(0x314),no=_0x5f281c(0x403);var Si=(_0x126596=>(_0x126596[_0x126596[_0x5f281c(0x341)]=0x0]='UNDEFINED',_0x126596[_0x126596['OK']=0x1]='OK',_0x126596[_0x126596['INTERNAL_ERROR']=0x2]=_0x5f281c(0x209),_0x126596[_0x126596['PERMISSION_DENIED']=0x3]=_0x5f281c(0x26a),_0x126596[_0x126596[_0x5f281c(0x234)]=0x4]=_0x5f281c(0x234),_0x126596[_0x126596[_0x5f281c(0x186)]=0x5]=_0x5f281c(0x186),_0x126596[_0x126596[_0x5f281c(0x376)]=0x6]=_0x5f281c(0x376),_0x126596[_0x126596[_0x5f281c(0x211)]=0x7]=_0x5f281c(0x211),_0x126596[_0x126596[_0x5f281c(0x324)]=0x8]=_0x5f281c(0x324),_0x126596[_0x126596['COMPLETION_FINISHED']=0x9]='COMPLETION_FINISHED',_0x126596[_0x126596['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x5f281c(0x34f),_0x126596[_0x126596[_0x5f281c(0x38f)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x126596[_0x126596[_0x5f281c(0x26c)]=0x1772]=_0x5f281c(0x26c),_0x126596[_0x126596[_0x5f281c(0x35c)]=0x1773]=_0x5f281c(0x35c),_0x126596[_0x126596[_0x5f281c(0x303)]=0x1b59]=_0x5f281c(0x303),_0x126596[_0x126596[_0x5f281c(0x3cb)]=0x1b5a]=_0x5f281c(0x3cb),_0x126596[_0x126596[_0x5f281c(0x37c)]=0x1b5b]=_0x5f281c(0x37c),_0x126596[_0x126596['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x5f281c(0x235),_0x126596[_0x126596[_0x5f281c(0x298)]=0x1b5d]=_0x5f281c(0x298),_0x126596[_0x126596[_0x5f281c(0x38d)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x126596[_0x126596[_0x5f281c(0x273)]=0x2329]=_0x5f281c(0x273),_0x126596[_0x126596[_0x5f281c(0x233)]=0x232a]=_0x5f281c(0x233),_0x126596[_0x126596[_0x5f281c(0x360)]=0x232b]=_0x5f281c(0x360),_0x126596[_0x126596['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x5f281c(0x2c2),_0x126596[_0x126596[_0x5f281c(0x416)]=0x232d]=_0x5f281c(0x416),_0x126596[_0x126596[_0x5f281c(0x19f)]=0x2711]=_0x5f281c(0x19f),_0x126596[_0x126596[_0x5f281c(0x1fb)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x126596[_0x126596['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x5f281c(0x22b),_0x126596[_0x126596['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x5f281c(0x359),_0x126596[_0x126596[_0x5f281c(0x36f)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x126596[_0x126596[_0x5f281c(0x214)]=-0x1]='UNRECOGNIZED',_0x126596))(Si||{}),Q=(_0x5f54a6=>(_0x5f54a6[_0x5f54a6['UNIVER_UNKNOWN']=0x0]=_0x5f281c(0x31b),_0x5f54a6[_0x5f54a6[_0x5f281c(0x1e9)]=0x1]=_0x5f281c(0x1e9),_0x5f54a6[_0x5f54a6[_0x5f281c(0x2e0)]=0x2]=_0x5f281c(0x2e0),_0x5f54a6[_0x5f54a6['UNIVER_SLIDE']=0x3]=_0x5f281c(0x426),_0x5f54a6[_0x5f54a6['UNIVER_PROJECT']=0x4]=_0x5f281c(0x2a6),_0x5f54a6[_0x5f54a6[_0x5f281c(0x214)]=-0x1]='UNRECOGNIZED',_0x5f54a6))(Q||{}),F=(_0x42fa95=>(_0x42fa95[_0x42fa95[_0x5f281c(0x34e)]=0x0]=_0x5f281c(0x34e),_0x42fa95[_0x42fa95[_0x5f281c(0x202)]=0x1]=_0x5f281c(0x202),_0x42fa95[_0x42fa95[_0x5f281c(0x3e1)]=0x2]=_0x5f281c(0x3e1),_0x42fa95[_0x42fa95[_0x5f281c(0x296)]=0x3]=_0x5f281c(0x296),_0x42fa95[_0x42fa95[_0x5f281c(0x1f9)]=0x4]=_0x5f281c(0x1f9),_0x42fa95[_0x42fa95['HEARTBEAT']=0x5]='HEARTBEAT',_0x42fa95[_0x42fa95[_0x5f281c(0x3d5)]=0x6]=_0x5f281c(0x3d5),_0x42fa95[_0x42fa95[_0x5f281c(0x214)]=-0x1]=_0x5f281c(0x214),_0x42fa95))(F||{}),ge=(_0x5151f4=>(_0x5151f4[_0x5151f4['UNKNOWN_CODE']=0x0]=_0x5f281c(0x3b9),_0x5151f4[_0x5151f4['OK']=0x1]='OK',_0x5151f4[_0x5151f4['FAIL']=0x2]=_0x5f281c(0x35a),_0x5151f4[_0x5151f4[_0x5f281c(0x1a5)]=0x3e9]=_0x5f281c(0x1a5),_0x5151f4[_0x5151f4['JOIN_ROOM_NOT_EXISTS']=0x3ea]=_0x5f281c(0x205),_0x5151f4[_0x5151f4[_0x5f281c(0x44a)]=0x3eb]=_0x5f281c(0x44a),_0x5151f4[_0x5151f4[_0x5f281c(0x2b6)]=0x3ec]=_0x5f281c(0x2b6),_0x5151f4[_0x5151f4[_0x5f281c(0x214)]=-0x1]=_0x5f281c(0x214),_0x5151f4))(ge||{}),Ei=(_0xcf854f=>(_0xcf854f[_0xcf854f[_0x5f281c(0x2dd)]=0x0]=_0x5f281c(0x2dd),_0xcf854f[_0xcf854f[_0x5f281c(0x2a9)]=0x1]=_0x5f281c(0x2a9),_0xcf854f[_0xcf854f['HttpExport']=0x2]=_0x5f281c(0x3e5),_0xcf854f[_0xcf854f['UnitEmbedded']=0x3]=_0x5f281c(0x304),_0xcf854f[_0xcf854f[_0x5f281c(0x337)]=0x4]=_0x5f281c(0x337),_0xcf854f[_0xcf854f[_0x5f281c(0x214)]=-0x1]=_0x5f281c(0x214),_0xcf854f))(Ei||{});const q=_0x5f281c(0x2f6),An={};var se=(_0x39695c=>(_0x39695c['OTHER_CLIENT_EDITING']='OTHER_CLIENT_EDITING',_0x39695c['PERMISSION_DENIED']=_0x5f281c(0x26a),_0x39695c[_0x5f281c(0x42d)]=_0x5f281c(0x42d),_0x39695c[_0x5f281c(0x460)]=_0x5f281c(0x460),_0x39695c[_0x5f281c(0x3bd)]='JOIN_ROOM_FAILED',_0x39695c['SOCKET_FAILED_RETRY']=_0x5f281c(0x201),_0x39695c[_0x5f281c(0x3b4)]=_0x5f281c(0x3b4),_0x39695c[_0x5f281c(0x21e)]=_0x5f281c(0x21e),_0x39695c))(se||{});function _0x938e(){var _0x446f3e=['getTime','type','FETCH_MISSING','mixIn','UNDEFINED','resolve','Error\x20on\x20receiving\x20event','NoPadding','5HtFWXz','next','reject','defineProperty','_commentUpdate$','onCommandExecuted','_resendWithTimeout','_resendTimeout','onRemoteAck','UNKNOWN_CMD','CHANGESET_REVISION_CONFILICT','_minBufferSize','body','textRanges','objects','_transformRemoteChangesetByIMECache','transformChangesets','getDeserializedSheetBlock','Hasher','_keyPriorReset','YUUMI_SUBSCRIPTION_NOT_FOUND','FAIL','reduce','ENSURE_SNAPSHOT_EXECUTION','/resources','avatar','objectType','LICENSE_IMPORT_SIZE_EXCEEDED','4097454QpcfZC','asObservable','localeService','socket\x20open.','dispose$','SerializableCipher','SNAPSHOT_URL_KEY','session.room-full','userID','save\x20fail\x20reason\x20is\x20','_toggleOnline','newCsEvent','[CollaborationSession]','[OfflineState]:\x20received\x20rejection.','PY_RUNTIME_SCRIPT_ERROR','getTypeOfUnitAdded$','function','_invKeySchedule','/universer-api/user/session-ticket','confirm','_getLoginPath','ALREADY_EXISTS','getImageSourceCache','floor','clear','[OfflineState]:\x20received\x20acknowledgement.','_commandService','APPLY_REVISION_CONFILICT','duration','fromCollab','_userManagerService','onRemoteRej','/collaborator','_initCloseConn','deepClone','[PendingState]:\x20unhandled\x20univer\x20type:\x20','updateCollaborator','transformStack\x20failed!','localCacheService','univer-pro.collaboration-client.network-condition.service','format','getConfig','compute','title','CONNECTOR_DATA_TOO_LARGE','_collabSessionService','SNAPSHOT_INVALID_SNAPSHOT','unitInfo$','toLowerCase','_xformMode','onStateChange','BlockCipher','cmd','_updateStatus','enableAuthServer','_nRounds','sid','pad','pluginName','SHOULD_CLOSE_CONN','fetch_missing','MUTATION','ONLINE','UPDATE_PERMISSION_OBJ','collaborators','BufferedBlockAlgorithm','_clearScheduledTask','readAsDataURL','_sessionStatus$','_transformStateCache','BASE64','fromCharCode','charCodeAt','origin','reset','csRejEvent','_updateLocalCache','_sender','_rescheduleHeartbeat','enc','[PendingState]:\x20received\x20rejection.','padding','/new_changes','SOCKET_FAILED','_getRedoStack','COMPRESS_MUTATION_APPLY','replace','_sessions','UNKNOWN_CODE','exports','_replaceFileID','csAckEvent','JOIN_ROOM_FAILED','_onRemoteRejected','put','words','fetchThroughInterceptors','get','_scheduleCompleteTimestamp','Hex','fetching\x20missing\x20changesets\x20from\x20','_hash','_oKey','image/jpg','url','subscribe','APPLY_NON_SEQUENTIAL_REVISION','setShowComponents','extend','LIVESHARE_FETCH_OPERATIONS','default','getCurrentRevOfUnit','code','startsWith','_replayCachedMutations','substr','RECV','OTHER_CLIENTS_EDITING','getInterceptPoints','socketService','onRemoteRetry','isPermissionRej','selections','4FEHuvl','from','_redoStacks','/universer-api/file/{fileID}/sign-url','_sendHeartbeat','JOIN','set','requireSession','onTransformSelections','HttpExport','execute','_schedule','session.room-permission-denied','state','/block/','_httpService','_keySchedule','uploadFileServerUrl','submit\x20changeset\x20error!','parse','_awaitingChangeset','6344070GMvDmh','?size=','loginUrlKey','__creator','saveChangeset','createSocket','_unlockTransition','UPDATE_CURSOR','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','_emitMembers','[OfflineState]:\x20received\x20changeset.','_process','LIVESHARE_REQUEST_HOST','retryConnectingInterval','LOCAL_CACHE_INTERVAL','removeMember','fetchMiss','576222KAodPy','/universer-api/uniscript','_onFetchMissResult','_state','editing\x20status\x20changed\x20to','[CollaborationUndoRedoService]','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','conflict','_DEC_XFORM_MODE','_HTTPService','USERS_LEAVE','CHANGESET_ACK','transformSelections','PENDING','awaiting_with_pending','sigBytes','connection\x20error','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','CHANGESET_REJ','generateRandomId','LICENSE_DISTRO_REJECTED','_showConflictNotification','_type','setCurrentUser','mode','href','_unitInfo$','max','_onRemoteRetry','_sendingTimer','c1Prime','updateOfflineData','_timeoutTimer','MD5','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','UNIVER_SLIDE','registerHTTPInterceptor','_socketReady','range','error$','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','_onCombEvent','CONFLICT','onRemoteChangeset','clone','_members','\x20in\x20_schedule.','_executeRemoteChangeset','subject','hostname','PasswordBasedCipher','/universer-api/oidc/authpage','change$','_undoStacks','COLLAB_SUBMIT_CHANGESET_URL','stopTime','dispose','COMPRESS_MUTATION_SEND','IDLE','getMember','prototype','ivSize','SYNCED','_initUnitPermissionChange','_iKey','randomUUID','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','disableLocalCache','charAt','closeSession','_handlerCallback','JOIN_ROOM_PERMISSION_DENIED','getCollabEntity$','_lockTransition','map','equals','SNAPSHOT_SERVER_URL_KEY','_waitForHeartbeatResponse','random','lib','saveImage','/fetchmissing?from=','_applyRemoteChangeset','roles','key','debug','_clearCollaborationTimeoutTimer','image/jpeg','_substituteRedoStack','_getAPIPrefix','memberID','getSheetBlock','session.room-not-exists','CLOSE_ROOM','HEARTBEAT','objectID','transformMutationsWithChangeset','[PendingState]:\x20received\x20acknowledgement.','_transformUndoredo','_tryEnsureSocket','_entities','HEARTBEAT_TIMEOUT','collaboratorID','_roomCreated$','workbook','_instanceService','compose','_onUserLeave','_startTelemetryCollaborationNewChangeset','_sendHeartbeatTimer','size','update','commentUpdateEvent','saveSheetBlock','_listenToNetworkCondition','OTHER_CLIENT_EDITING','_key','downloadEndpointUrl','copyFileMeta','readInt32LE','_clearRedo','encodeURIComponent','decryptBlock','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','_state$','_localeService','cfg','onStarting','msCrypto','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','_createHmacHelper','_roomMembers','_createHandler','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','__esModule','_disableEditing','requestParams','offline','getCurrentUser','UNAUTHENTICATED','Univer','addHandlerCallback','getWorkbookSelections','pipe','executeCommand','getAllMembers','authzUrl','blockSize','collaboration_new_changeset','_onOffline','clamp','createEncryptor','_transformRemoteChangesetByStateCache','string','_handler','slice','_compressMutationService','_imageSourceCache','HMAC','_event$','[CollaborationSessionService]:\x20socket\x20error','_onJoinRoomEvent','[DataLoaderService]','synced','YUUMI_UNABLE_LOAD_URL','append','_tryReconnect','onlyLocal','_data','_univerInstanceService','JOIN_ROOM_FULL','ERROR_IMAGE','_unitID','_getUndoStack','_waitCount','_cipher','repeat','putCollaborators','POST','onSendChangeset','_resendTimer','[UniverCollaborationClientPlugin]','_networkConditionService','_onLocalMutation','PERSON','_getCtorByUniverType','findIndex','univer-pro.collaboration-client-socket-service','_undoRedoService','LIVESHARE_NEW_HOST','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','params','_loadDoc','_getUploadFileURL','_getCurrentRevision','session.room-cnt-exceeds','FETCH_MISS','indexOf','_getSignURL','not_collab','_mode','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','HEARTBEAT_INTERVAL','NO_OTHER_CLIENTS_EDITING','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','_decreaseWaiting','event$','COLLAB_WEB_SOCKET_URL','status','onCommentUpdate','_initRequestHeader','ciphertext','_createInitialState','complete','keySize','16890ILbZrB','_transitionLocked','send','/role','_snapshotServerService','_isPermissionRej','_doFinalize','add','&assign=','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','data','ERROR_EXCEED_SIZE','getFocusedUnit','revision','ws://127.0.0.1:8000/universer-api/comb/connect','_initDependencies','file','_members$','1175MDbjxJ','kdf','members','commentUpdate$','listRoles','UNIVER_DOC','WordArray','_retryCount','mutations','sessionStatus','_onConnectionOpen','signUrlServerUrl','call','waitForRoom$','_config','x-univer-host','headers','Base64','unknown','/universer-api/authz','now','INGEST','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','YUUMI_URL_COL_OUT_OF_RANGE','_append','failed\x20to\x20apply\x20missed\x20changesets!','reqId','onTransformRemoteChangesetByStateCache','collabSubmitChangesetUrl','SOCKET_FAILED_RETRY','HELLO','_clearTimeoutTimer','_fetchMissChangesets','JOIN_ROOM_NOT_EXISTS','session','_prevBlock','loadOfflineData','INTERNAL_ERROR','members$','min','sheets','join','list','byteOffset','_scheduleCollaborationTimeoutTimer','INVALID_ARGUMENT','finalize','[CollaborationSessionService]','UNRECOGNIZED','_hasher','json','collabWebSocketUrl','_startCollaboration','_submitChangeset','getUnitOnRev','_clearLocalCache','Random\x20bytes\x20length\x20must\x20be\x20>=\x2016','_status$','SUBMIT_CHANGESET_TIMEOUT','_snapshotService','_pendingMutations','_sheetTransformSelectionsService','createDecryptor','JOINING','AUTHZ_URL_KEY','routeKey','_initMergeInterceptor','_onRecvEvent','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','_createInitialStateImpl','Decryptor','YUUMI_RATE_OVER_LIMIT','image/gif','_onRemoteACK','onTransformState','_updateState','_telemetryService','onMissingChangesets','[FetchMissState]','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','NOT_FOUND','APPLY_PERMISSION_DENIED','OpenSSL','catch','isArray','push','AWAITING_WITH_PENDING','[SyncedState]:\x20received\x20acknowledgement.','crypto','Base','OFFLINE','getUnitType','objectActions','m2Prime','_transformSelections','snapshot','auth.needGotoLoginAlert','_transformIMECache','decrypt','_ENC_XFORM_MODE','BlockCipherMode','_entityInit$','length','_shouldReportTelemetry','_socketMessageSubscription','changesets','patch','getImage','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','CipherParams','delete','csShouldRetryEvent','[CollaborationState]:\x20apply\x20error!','override','shouldCloseConn','entityInit$','_registerDependencies','People','FileId','onSyncEditingCollabCursor','_changesetReqId','_getDownloadEndpointURL','apply','pauseCollaboration','\x0aCurrent:\x20','Pkcs7','StreamCipher','awaitingChangeset','getTypeOfUnitDisposed$','getValue','transformUndoRedo','_joinRoom','CHANGESET_SHOULD_RETRY','has','PERMISSION_DENIED','ceil','SNAPSHOT_HAS_BEEN_REMOVED','toggleOnline','NEW_CHANGESETS','/object/','abs','_revisionService','_collaborationTimeoutTimer','LICENSE_MAX_UNITS_EXCEEDED','sin','_getSendChangesetTimeout','subUnitId','encode','error','?url=','_socket$','deleteCollaborator','infoRsp','_stopTelemetryCollaborationNewChangeset','_syncEditingCollabCursor','_checkMissing','_reverseMap','getUnitId','onload','Utf8','every','saveSnapshot','hasher','rng','liveShareOperation','NOT_COLLAB','splice','hasOwnProperty','iterations','encryptBlock','AWAITING','create','_queuedRemoteChangesets','/-/object/-/batch_allowed','interceptor','SHA1','onTransformRemoteChangesetByIMECache','_onConnectionFailed','LEAVE','LIVESHARE_OPERATION','APPLY_DUPLICATED','unitId','_init','/rev/','_injector','_getAPIPrefixPath','_incrementRevisionNumber','stringify','rev','EvpKDF','createInstance','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','sessionStatus$','SUBMIT_CHANGESET','UNIVER_PROJECT','socket\x20close','_collaborationPaused','HttpImport','getMemberID','UUID','post','state$','filter','updatePermissionObjEvent','SEND_CHANGESET_TIMEOUT','target','ERROR_IMAGE_TYPE','\x20to\x20','bind','_remoteChangesetQueue','GLOBAL_ROOMS_CNT_EXCEEDS','setWaitCount','Encryptor','[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.','_permissionService','_iv','close$','getRandomValues','src','encrypt','/allowed','location','LICENSE_EXPORT_SIZE_EXCEEDED','forEach','_change$','_onRemoteChangeset','_retryConnectingTimer','_clearUndo','setConfig','Cipher','UNIVER_COLLABORATION_CLIENT_PLUGIN','_nDataBytes','awaiting','readyForCollab','9736200RAplwB','status$','7FrPYCR','341528tEPPgf','resend','sendChangesetTimeout','getCurrentSelections','emitEvent','_removeRoom','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','telemetry\x20info\x20is\x20not\x20initialized','withCredentials','eventID','onLocalMutation','_doReset','Undefined','_onMessage','toString','UNIVER_SHEET','EXCHANGE_SIGN_URL_SERVER_URL_KEY','getRoom','getCollabEntity','salt','LIVESHARE_TERMINATE','unsubscribe','_transformService','pending','disposeWithMe','Malformed\x20UTF-8\x20data','_memberService','_onUserJoin','algo','[CollaborationEntity]','_collaborationUIEventService','univer-pro.collaboration-client.single-active-unit-service','buffer','joinRsp','DEFAULT_FILE_NAME','_telemetryInfo','loadSheet','collaboration-client.config','UNISCRIPT_RUN','resourceIDs','_onConflict','_collaborationSessionService','_doCryptBlock','init','startTime','_eventService','HmacMD5','_configService','_map','_logService','APPLY_REJECT','UnitEmbedded','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','$super','/object','_exhaustRemoteChangesetQueue','originalMeta','Could\x20not\x20dynamically\x20require\x20\x22','getOwnPropertyDescriptor','_toggleOffline','_acknowledgedAwaitingChangeset','/universer-api/comb','_transformStack','USERS_ENTER','AES','refreshPermission','_commentService','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_socketService','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','close','roomInfos','updateMember','/unit/','UNIVER_UNKNOWN','SUCCUSS','_singleActiveUnitService','_localCacheService','33406131RJTJia','_clearHeartbeatTimer','open$','find','getSheetId','TOO_MANY_REQUESTS','baseRev','byteLength','_candidateSocket','_socket','updatePermissionPoint','liveShareNewHost','onTransformIME','COMMENT_UPDATE','includes','actions','unitID','entries','_changesetSessionId','appendMutation','_parse','MSG_FOR_ERROR','focused$','concat','UnitSnapshot','_doProcessBlock','toggleOffline','_createSocket','name','_createHelper'];_0x938e=function(){return _0x446f3e;};return _0x938e();}class pe{constructor(){var _0x4a898d=_0x5f281c;N(this,_0x4a898d(0x19a),new _0x39b4f1()),N(this,_0x4a898d(0x1c9),this[_0x4a898d(0x19a)][_0x4a898d(0x362)]());}[_0x5f281c(0x2d5)](_0x24cb82){var _0x2565a4=_0x5f281c;this[_0x2565a4(0x19a)]['next'](_0x24cb82);}}const xn=_0x1a0676(_0x5f281c(0x388));function Ln(_0x1bcc68){var _0x48dc06=_0x5f281c,_0x5734de,_0x27f52b,_0x56a246,_0x59ad81,_0x292d52;const _0x5e500b=_0x1bcc68[_0x48dc06(0x1dc)],_0x1c2238=JSON[_0x48dc06(0x3ef)](_0x5e500b);switch(_0x1c2238[_0x48dc06(0x395)]){case F[_0x48dc06(0x461)]:case F[_0x48dc06(0x202)]:{const _0x1d99b8=_0x1c2238[_0x48dc06(0x27c)];return{..._0x1c2238,'data':_0x1d99b8,'cmd':_0x1c2238[_0x48dc06(0x395)]};}case F[_0x48dc06(0x3e1)]:{const _0x14dc63=_0x1c2238[_0x48dc06(0x2f2)];return{..._0x1c2238,'data':_0x14dc63,'cmd':_0x1c2238[_0x48dc06(0x395)]};}case F[_0x48dc06(0x3d5)]:{const _0x4bd9c7=_0x1c2238['collaMsg'];switch(_0x4bd9c7[_0x48dc06(0x2da)]){case _0x54c335['PERMISSION_REJ']:return{..._0x1c2238,'data':{..._0x4bd9c7,'data':(_0x5734de=_0x4bd9c7['permissionRejEvent'])==null?void 0x0:_0x5734de['cs']},'cmd':_0x1c2238[_0x48dc06(0x395)]};case _0x54c335[_0x48dc06(0x40d)]:return{..._0x1c2238,'data':{..._0x4bd9c7,'data':(_0x27f52b=_0x4bd9c7[_0x48dc06(0x3bc)])==null?void 0x0:_0x27f52b['cs']},'cmd':_0x1c2238['cmd']};case _0x54c335[_0x48dc06(0x26e)]:return{..._0x1c2238,'data':{..._0x4bd9c7,'data':(_0x56a246=_0x4bd9c7[_0x48dc06(0x36c)])==null?void 0x0:_0x56a246['cs']},'cmd':_0x1c2238['cmd']};case _0x54c335[_0x48dc06(0x414)]:return{..._0x1c2238,'data':{..._0x4bd9c7,'data':(_0x59ad81=_0x4bd9c7[_0x48dc06(0x3ac)])==null?void 0x0:_0x59ad81['cs']},'cmd':_0x1c2238[_0x48dc06(0x395)]};case _0x54c335[_0x48dc06(0x268)]:return{..._0x1c2238,'data':{..._0x4bd9c7,'data':(_0x292d52=_0x4bd9c7[_0x48dc06(0x253)])==null?void 0x0:_0x292d52['cs']},'cmd':_0x1c2238['cmd']};case _0x54c335[_0x48dc06(0x3f8)]:return{..._0x1c2238,'data':{..._0x4bd9c7,'data':_0x4bd9c7['updateCursorEvent']},'cmd':_0x1c2238['cmd']};case _0x54c335['USERS_ENTER']:return{..._0x1c2238,'data':{..._0x4bd9c7,'data':_0x4bd9c7['joinEvent']},'cmd':_0x1c2238[_0x48dc06(0x395)]};case _0x54c335[_0x48dc06(0x40c)]:return{..._0x1c2238,'data':{..._0x4bd9c7,'data':_0x4bd9c7['leaveEvent']},'cmd':_0x1c2238[_0x48dc06(0x395)]};case _0x54c335[_0x48dc06(0x1b8)]:return{..._0x1c2238,'data':{..._0x4bd9c7,'data':_0x4bd9c7['liveShareNewHost']},'cmd':_0x1c2238[_0x48dc06(0x395)]};case _0x54c335[_0x48dc06(0x3ce)]:case _0x54c335[_0x48dc06(0x297)]:return{..._0x1c2238,'data':{..._0x4bd9c7,'data':_0x4bd9c7[_0x48dc06(0x288)]},'cmd':_0x1c2238[_0x48dc06(0x395)]};case _0x54c335[_0x48dc06(0x2e5)]:return{..._0x1c2238,'data':{..._0x4bd9c7,'data':_0x4bd9c7[_0x48dc06(0x32a)]},'cmd':_0x1c2238['cmd']};case _0x54c335[_0x48dc06(0x334)]:return{..._0x1c2238,'data':_0x4bd9c7,'cmd':_0x1c2238[_0x48dc06(0x395)]};case _0x54c335[_0x48dc06(0x32c)]:return{..._0x1c2238,'data':{..._0x4bd9c7,'data':_0x4bd9c7[_0x48dc06(0x473)]},'cmd':_0x1c2238[_0x48dc06(0x395)]};case _0x54c335[_0x48dc06(0x3a0)]:return{..._0x1c2238,'data':{..._0x4bd9c7,'data':_0x4bd9c7[_0x48dc06(0x2af)]},'cmd':_0x1c2238[_0x48dc06(0x395)]};case _0x54c335[_0x48dc06(0x39c)]:return{..._0x1c2238,'data':{..._0x4bd9c7,'data':_0x4bd9c7[_0x48dc06(0x256)]},'cmd':_0x1c2238[_0x48dc06(0x395)]};case _0x54c335[_0x48dc06(0x2f7)]:return{..._0x1c2238,'data':{..._0x4bd9c7,'data':_0x4bd9c7['uniscriptRunEvent']},'cmd':_0x1c2238[_0x48dc06(0x395)]};default:return _0x1c2238;}}default:return _0x1c2238;}}function Mn(_0x25c4f7){var _0x308ed3=_0x5f281c;switch(_0x25c4f7[_0x308ed3(0x395)]){case F[_0x308ed3(0x461)]:case F['HELLO']:return JSON[_0x308ed3(0x29f)]({'cmd':_0x25c4f7[_0x308ed3(0x395)],'routeKey':_0x25c4f7[_0x308ed3(0x225)]});case F[_0x308ed3(0x1f9)]:{let _0x64ad6b;switch(_0x25c4f7[_0x308ed3(0x1dc)]['eventID']){case _0x54c335[_0x308ed3(0x3f8)]:{_0x64ad6b={'eventID':_0x54c335[_0x308ed3(0x3f8)],'updateCursorEvent':_0x25c4f7[_0x308ed3(0x1dc)][_0x308ed3(0x1dc)]};break;}case _0x54c335['USERS_LEAVE']:{_0x64ad6b={'eventID':_0x54c335['USERS_LEAVE'],'leaveEvent':_0x25c4f7[_0x308ed3(0x1dc)][_0x308ed3(0x1dc)]};break;}case _0x54c335[_0x308ed3(0x310)]:{_0x64ad6b={'eventID':_0x54c335[_0x308ed3(0x310)],'joinEvent':_0x25c4f7[_0x308ed3(0x1dc)][_0x308ed3(0x1dc)]};break;}case _0x54c335[_0x308ed3(0x1b8)]:{_0x64ad6b={'eventID':_0x54c335[_0x308ed3(0x1b8)],'liveShareNewHost':_0x25c4f7['data']['data']};break;}case _0x54c335['LIVESHARE_OPERATION']:{_0x64ad6b={'eventID':_0x54c335[_0x308ed3(0x297)],'liveShareOperation':_0x25c4f7[_0x308ed3(0x1dc)][_0x308ed3(0x1dc)]};break;}case _0x54c335['LIVESHARE_TERMINATE']:{_0x64ad6b={'eventID':_0x54c335[_0x308ed3(0x2e5)],'liveShareTerminate':_0x25c4f7[_0x308ed3(0x1dc)][_0x308ed3(0x1dc)]};break;}case _0x54c335[_0x308ed3(0x3fd)]:{_0x64ad6b={'eventID':_0x54c335[_0x308ed3(0x3fd)],'liveShareRequestHost':_0x25c4f7[_0x308ed3(0x1dc)][_0x308ed3(0x1dc)]};break;}case _0x54c335[_0x308ed3(0x3ce)]:{_0x64ad6b={'eventID':_0x54c335[_0x308ed3(0x3ce)]};break;}default:_0x64ad6b={'eventID':_0x25c4f7[_0x308ed3(0x1dc)][_0x308ed3(0x2da)]};}return JSON['stringify']({'cmd':_0x25c4f7[_0x308ed3(0x395)],'routeKey':_0x25c4f7[_0x308ed3(0x225)],'collaMsg':_0x64ad6b});}case F[_0x308ed3(0x3e1)]:return JSON[_0x308ed3(0x29f)]({'cmd':_0x25c4f7[_0x308ed3(0x395)],'routeKey':_0x25c4f7[_0x308ed3(0x225)],'joinReq':_0x25c4f7[_0x308ed3(0x1dc)]});case F[_0x308ed3(0x296)]:return JSON[_0x308ed3(0x29f)]({'cmd':_0x25c4f7[_0x308ed3(0x395)],'routeKey':_0x25c4f7['routeKey'],'leaveReq':_0x25c4f7[_0x308ed3(0x1dc)]});default:throw new Error(_0x308ed3(0x17c));}}var $n=Object[_0x5f281c(0x348)],Hn=Object[_0x5f281c(0x30b)],kn=(_0x1c72ef,_0x44b7ee,_0xff47ef,_0x45178a)=>{var _0x50fd01=_0x5f281c;for(var _0x34a410=_0x45178a>0x1?void 0x0:_0x45178a?Hn(_0x44b7ee,_0xff47ef):_0x44b7ee,_0x3e10a0=_0x1c72ef[_0x50fd01(0x24a)]-0x1,_0x477bf5;_0x3e10a0>=0x0;_0x3e10a0--)(_0x477bf5=_0x1c72ef[_0x3e10a0])&&(_0x34a410=(_0x45178a?_0x477bf5(_0x44b7ee,_0xff47ef,_0x34a410):_0x477bf5(_0x34a410))||_0x34a410);return _0x45178a&&_0x34a410&&$n(_0x44b7ee,_0xff47ef,_0x34a410),_0x34a410;},we=(_0x1a5cba,_0x234c6d)=>(_0x3c0dfd,_0x259f06)=>_0x234c6d(_0x3c0dfd,_0x259f06,_0x1a5cba);const Ii=_0x1a0676(_0x5f281c(0x1b6));function jn(_0x8ef0dc,_0x5e9e12,_0x9bb703){var _0x20b8c3=_0x5f281c;return _0x8ef0dc+'/'+_0x5e9e12+_0x20b8c3(0x31a)+_0x9bb703+_0x20b8c3(0x3b3);}let Vt=class extends _0x52a4ec{constructor(_0x4e307f,_0x31ab86,_0x4d2f1b,_0x167218,_0x56710e){var _0x16c7de=_0x5f281c;super(),this[_0x16c7de(0x29c)]=_0x4e307f,this[_0x16c7de(0x3eb)]=_0x31ab86,this[_0x16c7de(0x300)]=_0x4d2f1b,this[_0x16c7de(0x302)]=_0x167218,this[_0x16c7de(0x1d6)]=_0x56710e;}['_doCreateSocket'](_0x34f3f3){var _0x49ad6e=_0x5f281c;const _0xa8d3c2=this['_injector'][_0x49ad6e(0x3c2)](_0x1f7895);if(!_0xa8d3c2)throw new Error(_0x49ad6e(0x1b9));const _0x27bb5a=_0xa8d3c2['createSocket'](_0x34f3f3);if(!_0x27bb5a)throw new Error(_0x49ad6e(0x228));const _0x994db7=new _0x460d4b(),_0x3accd3=new _0x39b4f1();_0x994db7['add'](_0x27bb5a[_0x49ad6e(0x2bc)][_0x49ad6e(0x3ca)](_0x4575e9=>_0x3accd3[_0x49ad6e(0x346)](_0x4575e9))),_0x994db7['add'](_0x5f82e5(()=>_0x3accd3['complete']()));const _0x3fc1b=new _0x39b4f1();_0x994db7[_0x49ad6e(0x1d9)](_0x27bb5a['error$'][_0x49ad6e(0x3ca)](_0x1cfe10=>_0x3fc1b['next'](_0x1cfe10))),_0x994db7[_0x49ad6e(0x1d9)](_0x5f82e5(()=>_0x3fc1b[_0x49ad6e(0x1d0)]()));const _0x466c06=new _0x39b4f1();_0x994db7[_0x49ad6e(0x1d9)](_0x27bb5a['message$'][_0x49ad6e(0x3ca)](_0x4f7b26=>{var _0x5681a4=_0x49ad6e;const _0x2f9500=Ln(_0x4f7b26);_0x466c06[_0x5681a4(0x346)](_0x2f9500);})),_0x994db7[_0x49ad6e(0x1d9)](_0x5f82e5(()=>_0x466c06[_0x49ad6e(0x1d0)]()));let _0x490c26;const _0x45be76=()=>{var _0x3dba8c=_0x49ad6e;_0x3fc1b[_0x3dba8c(0x346)](new Event(_0x3dba8c(0x412))),_0x3accd3[_0x3dba8c(0x346)](new Event(_0x3dba8c(0x412))),_0x490c26[_0x3dba8c(0x317)]();};return _0x490c26={'memberID':'','close$':_0x3accd3['asObservable'](),'error$':_0x3fc1b['asObservable'](),'open$':_0x27bb5a[_0x49ad6e(0x321)],'message$':_0x466c06[_0x49ad6e(0x362)](),'send':_0x3bd9d6=>{var _0x581247=_0x49ad6e;if(_0x3bd9d6['cmd']===F[_0x581247(0x1f9)]){if(_0x3bd9d6['data'][_0x581247(0x2da)]===_0x54c335[_0x581247(0x2a5)]){this[_0x581247(0x219)](_0x490c26,_0x3bd9d6['data'])[_0x581247(0x237)](_0x198e83=>{var _0x31cfeb=_0x581247;this[_0x31cfeb(0x302)][_0x31cfeb(0x278)](_0x198e83),_0x45be76();});return;}if(_0x3bd9d6[_0x581247(0x1dc)][_0x581247(0x2da)]===_0x54c335['FETCH_MISSING']){const _0x4b1c71=_0x3bd9d6[_0x581247(0x1dc)];this[_0x581247(0x204)](_0x4b1c71)['then'](_0x1e0650=>{var _0x365e46=_0x581247;_0x466c06['next']({'cmd':F[_0x365e46(0x3d5)],'code':ge['OK'],'routeKey':_0x4b1c71['data'][_0x365e46(0x32f)],'routeType':'','data':{'eventID':_0x54c335['PSEUDO_FETCH_MISSING_RESULT'],'data':{'changesets':_0x1e0650}}});})[_0x581247(0x237)](_0x5287fb=>{var _0x38c3d0=_0x581247;this[_0x38c3d0(0x302)][_0x38c3d0(0x278)](_0x5287fb),_0x45be76();});return;}}_0x27bb5a[_0x581247(0x1d4)](Mn(_0x3bd9d6));},'close':()=>{var _0x37d1bc=_0x49ad6e;_0x27bb5a[_0x37d1bc(0x317)](),_0x994db7['dispose']();}},_0x490c26;}async[_0x5f281c(0x219)](_0x40ed23,_0x7ff7d8){var _0x963719=_0x5f281c,_0x4f4d22,_0x52e5d2;const {unitType:_0x18dff4,unitID:_0x5f17c4,changeset:_0x184d8e}=_0x7ff7d8[_0x963719(0x1dc)],_0x204598={'unitID':_0x5f17c4,'memberID':_0x40ed23['memberID'],'type':_0x18dff4,'changeset':_0x353ded(_0x184d8e)},_0x2507ee=this['_configService'][_0x963719(0x38a)](Dn),_0x509930=this[_0x963719(0x300)]['getConfig'](q),_0x344895=jn((_0x52e5d2=(_0x4f4d22=_0x509930==null?void 0x0:_0x509930[_0x963719(0x200)])!=null?_0x4f4d22:_0x2507ee)!=null?_0x52e5d2:Pn,_0x18dff4,_0x5f17c4);try{await this[_0x963719(0x3eb)][_0x963719(0x2ac)](_0x344895,{'body':_0x204598});}catch(_0x5a4163){throw this['_logService'][_0x963719(0x278)](_0x963719(0x36d),_0x963719(0x3ee)),_0x5a4163;}}async[_0x5f281c(0x204)](_0x3f3b8e){var _0xa59c2a=_0x5f281c;const {unitID:_0x376ddc,from:_0x4cd61b,to:_0x32238d,unitType:_0x472726}=_0x3f3b8e[_0xa59c2a(0x1dc)];return(await this[_0xa59c2a(0x1d6)]['fetchMissingChangesets']({'metadata':void 0x0},{'unitID':_0x376ddc,'type':_0x472726,'from':_0x4cd61b,'to':_0x32238d}))[_0xa59c2a(0x24d)];}};Vt=kn([we(0x0,_0x9558f9(_0xd634d6)),we(0x1,_0x9558f9(_0x30b05c)),we(0x2,_0x3b2da1),we(0x3,_0x29c204),we(0x4,_0x4a66d0)],Vt);const Bn=_0x5f281c(0x18f);function Fn(_0x39e3e9){var _0x3af783=_0x5f281c;return JSON[_0x3af783(0x29f)](_0x39e3e9)[_0x3af783(0x24a)];}class Ti{constructor(){var _0x5b78a5=_0x5f281c;N(this,_0x5b78a5(0x349),new _0x39b4f1()),N(this,_0x5b78a5(0x1e7),this[_0x5b78a5(0x349)][_0x5b78a5(0x362)]());}['onCommentUpdate'](_0x4e6725){var _0x4c6779=_0x5f281c;this[_0x4c6779(0x349)][_0x4c6779(0x346)](_0x4e6725);}}var Gn=Object[_0x5f281c(0x348)],Vn=Object[_0x5f281c(0x30b)],Wn=(_0x80cb19,_0x459e23,_0x4bf07a,_0x9f4d79)=>{var _0x1fb029=_0x5f281c;for(var _0x51b05a=_0x9f4d79>0x1?void 0x0:_0x9f4d79?Vn(_0x459e23,_0x4bf07a):_0x459e23,_0x1f96f9=_0x80cb19[_0x1fb029(0x24a)]-0x1,_0x297724;_0x1f96f9>=0x0;_0x1f96f9--)(_0x297724=_0x80cb19[_0x1f96f9])&&(_0x51b05a=(_0x9f4d79?_0x297724(_0x459e23,_0x4bf07a,_0x51b05a):_0x297724(_0x51b05a))||_0x51b05a);return _0x9f4d79&&_0x51b05a&&Gn(_0x459e23,_0x4bf07a,_0x51b05a),_0x51b05a;},Wt=(_0x13ac2e,_0x373cfc)=>(_0x1b553,_0x5d2aad)=>_0x373cfc(_0x1b553,_0x5d2aad,_0x13ac2e);let xe=class extends _0x52a4ec{constructor(_0x171999,_0x3e3a53){var _0x1d4bbc=_0x5f281c;super(),N(this,_0x1d4bbc(0x17e),new Map()),N(this,_0x1d4bbc(0x46a),new _0x39b4f1()),(this['_univerInstanceService']=_0x171999,this[_0x1d4bbc(0x37f)]=_0x3e3a53,this[_0x1d4bbc(0x2e9)](_0x2f7b48(this[_0x1d4bbc(0x1a4)]['getTypeOfUnitDisposed$'](_0xd6875a[_0x1d4bbc(0x2e0)])['pipe'](_0x213c72(_0x51d39b=>_0x51d39b['getUnitId']())),this[_0x1d4bbc(0x1a4)][_0x1d4bbc(0x264)](_0xd6875a[_0x1d4bbc(0x1e9)])[_0x1d4bbc(0x18a)](_0x213c72(_0x3b270e=>_0x3b270e['getUnitId']())),this['_univerInstanceService'][_0x1d4bbc(0x264)](_0xd6875a[_0x1d4bbc(0x426)])['pipe'](_0x213c72(_0x1e983e=>_0x1e983e['getUnitId']())))[_0x1d4bbc(0x3ca)](_0x2af458=>this[_0x1d4bbc(0x2d6)](_0x2af458))));}[_0x5f281c(0x1f1)](_0x37b1e5){var _0x3210ea=_0x5f281c;return this[_0x3210ea(0x17e)]['has'](_0x37b1e5)?_0x3f1059(this[_0x3210ea(0x17e)][_0x3210ea(0x3c2)](_0x37b1e5)):this['_roomCreated$']['pipe'](_0x213c72(_0x53e2d2=>{var _0x4968a0=_0x3210ea;if(_0x53e2d2===_0x37b1e5)return this[_0x4968a0(0x17e)]['get'](_0x53e2d2);}));}[_0x5f281c(0x419)](_0x215b62){var _0x9ba152=_0x5f281c;this[_0x9ba152(0x37f)]['setCurrentUser'](_0x215b62);}['getCurrentUser'](){var _0x3f15c0=_0x5f281c;return this['_userManagerService'][_0x3f15c0(0x185)]();}[_0x5f281c(0x319)](_0x545212,_0x3e3a01){var _0x2207eb=_0x5f281c;let _0x4ad76e=this[_0x2207eb(0x17e)][_0x2207eb(0x3c2)](_0x545212);_0x4ad76e||(_0x4ad76e=new Kn(),this[_0x2207eb(0x17e)][_0x2207eb(0x3e2)](_0x545212,_0x4ad76e),this['_roomCreated$'][_0x2207eb(0x346)](_0x545212)),_0x4ad76e['updateMember'](_0x3e3a01);}[_0x5f281c(0x400)](_0x181abf,_0x37ef6b){var _0x2773c9=_0x5f281c;const _0x4c0935=this[_0x2773c9(0x17e)][_0x2773c9(0x3c2)](_0x181abf);_0x4c0935&&_0x4c0935['removeMember'](_0x37ef6b);}[_0x5f281c(0x2e2)](_0x20eec7){var _0xab8b11=_0x5f281c;return this[_0xab8b11(0x17e)][_0xab8b11(0x3c2)](_0x20eec7);}['getMember'](_0x10470c,_0x13534e){var _0x18abf3=_0x5f281c;const _0xb8034f=this[_0x18abf3(0x17e)][_0x18abf3(0x3c2)](_0x10470c);if(_0xb8034f)return _0xb8034f[_0x18abf3(0x43e)](_0x13534e);}[_0x5f281c(0x2d6)](_0x3c1818){var _0x201761=_0x5f281c;const _0x18b3f6=this[_0x201761(0x17e)]['get'](_0x3c1818);_0x18b3f6&&(_0x18b3f6[_0x201761(0x43b)](),this['_roomMembers'][_0x201761(0x252)](_0x3c1818));}['dispose'](){var _0x122a7e=_0x5f281c;this['_roomMembers'][_0x122a7e(0x2c3)](_0x18dc62=>_0x18dc62['dispose']()),this[_0x122a7e(0x17e)][_0x122a7e(0x379)](),this[_0x122a7e(0x46a)][_0x122a7e(0x1d0)]();}};xe=Wn([Wt(0x0,_0x34f8d6),Wt(0x1,_0x9558f9(_0x1b7731))],xe);class Kn extends _0x52a4ec{constructor(){var _0x39e9f3=_0x5f281c;super(...arguments),N(this,'_members',new Map()),N(this,_0x39e9f3(0x1e3),new _0x28a5cc(this['_members'])),N(this,_0x39e9f3(0x20a),this['_members$']['asObservable']());}['dispose'](){var _0x520e10=_0x5f281c;this[_0x520e10(0x430)][_0x520e10(0x379)]();}[_0x5f281c(0x319)](_0x5ee542){var _0x4249cd=_0x5f281c;this['_members'][_0x4249cd(0x3e2)](_0x5ee542['memberID'],_0x5ee542),this['_emitMembers']();}[_0x5f281c(0x400)](_0x3acd96){var _0x70b69a=_0x5f281c;this['_members'][_0x70b69a(0x252)](_0x3acd96);}[_0x5f281c(0x43e)](_0x15a460){var _0x2584f2=_0x5f281c;return this[_0x2584f2(0x430)][_0x2584f2(0x3c2)](_0x15a460);}[_0x5f281c(0x18c)](){var _0x20ae61=_0x5f281c;return Array[_0x20ae61(0x3dd)](this[_0x20ae61(0x430)]['values']());}[_0x5f281c(0x3fa)](){var _0xbda007=_0x5f281c;this[_0xbda007(0x1e3)][_0xbda007(0x346)](this[_0xbda007(0x430)]);}}var Yn=Object[_0x5f281c(0x348)],qn=Object[_0x5f281c(0x30b)],zn=(_0x49ded5,_0x45e8fb,_0x309137,_0x2da751)=>{var _0x4c9851=_0x5f281c;for(var _0x2cd8fd=_0x2da751>0x1?void 0x0:_0x2da751?qn(_0x45e8fb,_0x309137):_0x45e8fb,_0x3c537d=_0x49ded5[_0x4c9851(0x24a)]-0x1,_0x17aae4;_0x3c537d>=0x0;_0x3c537d--)(_0x17aae4=_0x49ded5[_0x3c537d])&&(_0x2cd8fd=(_0x2da751?_0x17aae4(_0x45e8fb,_0x309137,_0x2cd8fd):_0x17aae4(_0x2cd8fd))||_0x2cd8fd);return _0x2da751&&_0x2cd8fd&&Yn(_0x45e8fb,_0x309137,_0x2cd8fd),_0x2cd8fd;},me=(_0x635a1a,_0x54bd4a)=>(_0x35ce0c,_0x5dec2a)=>_0x54bd4a(_0x35ce0c,_0x5dec2a,_0x635a1a),Ee=(_0x307ae0=>(_0x307ae0[_0x307ae0['IDLE']=0x0]=_0x5f281c(0x43d),_0x307ae0[_0x307ae0['JOINING']=0x1]=_0x5f281c(0x223),_0x307ae0[_0x307ae0['OFFLINE']=0x2]=_0x5f281c(0x23e),_0x307ae0[_0x307ae0[_0x5f281c(0x39f)]=0x3]=_0x5f281c(0x39f),_0x307ae0))(Ee||{});const Kt={[ge[_0x5f281c(0x35a)]]:'session.join-failed',[ge[_0x5f281c(0x1a5)]]:_0x5f281c(0x368),[ge[_0x5f281c(0x205)]]:_0x5f281c(0x45f),[ge[_0x5f281c(0x44a)]]:_0x5f281c(0x3e8),[ge[_0x5f281c(0x2b6)]]:_0x5f281c(0x1be)};let Et=class extends _0x23be52{constructor(_0x3d5dde,_0x486f35,_0x466bef,_0x5802d8,_0x4c5fd3,_0x5192dd,_0xdc179a,_0x310e33,_0x569558){var _0x37df95=_0x5f281c;super(),N(this,_0x37df95(0x3a5),new _0x28a5cc(0x0)),N(this,'sessionStatus$',this[_0x37df95(0x3a5)]['asObservable']()),N(this,_0x37df95(0x19a),new _0x39b4f1()),N(this,'event$',this['_event$'][_0x37df95(0x362)]()),N(this,_0x37df95(0x328)),N(this,_0x37df95(0x24c)),N(this,_0x37df95(0x272)),N(this,_0x37df95(0x24b),!0x1),N(this,_0x37df95(0x2f4),null),(this[_0x37df95(0x1a7)]=_0x3d5dde,this[_0x37df95(0x302)]=_0x466bef,this[_0x37df95(0x300)]=_0x5802d8,this['_localeService']=_0x4c5fd3,this[_0x37df95(0x2eb)]=_0x5192dd,this[_0x37df95(0x313)]=_0xdc179a,this[_0x37df95(0x2ef)]=_0x310e33,this[_0x37df95(0x230)]=_0x569558,this['_shouldReportTelemetry']=!!this[_0x37df95(0x230)],_0x486f35['pipe'](_0x5106b7(this[_0x37df95(0x365)]))[_0x37df95(0x3ca)](_0x316075=>{var _0x3bb43e=_0x37df95,_0xaa35a7;typeof _0x316075>'u'||(this[_0x3bb43e(0x328)]=_0x316075,_0x316075?(this[_0x3bb43e(0x267)](_0x316075),this['_socketMessageSubscription']=_0x316075['message$'][_0x3bb43e(0x3ca)](_0x11791f=>{var _0x32a379=_0x3bb43e;_0x11791f[_0x32a379(0x225)]===this[_0x32a379(0x1a7)]&&this[_0x32a379(0x42c)](_0x11791f);})):(this['_throwTelemetryCollaborationNewChangeset'](),this[_0x3bb43e(0x3a5)][_0x3bb43e(0x346)](0x2),(_0xaa35a7=this[_0x3bb43e(0x24c)])==null||_0xaa35a7[_0x3bb43e(0x2e6)](),this[_0x3bb43e(0x24c)]=null));}));}get['sessionStatus'](){var _0x5d8afe=_0x5f281c;return this['_sessionStatus$'][_0x5d8afe(0x265)]();}[_0x5f281c(0x2aa)](){var _0x5c6ef6=_0x5f281c,_0x121495,_0x386dd7;return(_0x386dd7=(_0x121495=this[_0x5c6ef6(0x328)])==null?void 0x0:_0x121495[_0x5c6ef6(0x45d)])!=null?_0x386dd7:null;}['dispose'](){var _0x18b4eb=_0x5f281c;super[_0x18b4eb(0x43b)](),this[_0x18b4eb(0x365)]['next'](),this[_0x18b4eb(0x365)][_0x18b4eb(0x1d0)]();}[_0x5f281c(0x317)](){var _0x52ef6a=_0x5f281c,_0x43bf5d,_0x39020c;this['_throwTelemetryCollaborationNewChangeset'](),(_0x43bf5d=this[_0x52ef6a(0x328)])==null||_0x43bf5d[_0x52ef6a(0x1d4)]({'cmd':F[_0x52ef6a(0x296)],'data':{'roomID':this[_0x52ef6a(0x1a7)]}}),(_0x39020c=this[_0x52ef6a(0x328)])==null||_0x39020c[_0x52ef6a(0x317)](),this[_0x52ef6a(0x19a)][_0x52ef6a(0x1d0)](),this[_0x52ef6a(0x3a5)][_0x52ef6a(0x1d0)](),this[_0x52ef6a(0x43b)]();}[_0x5f281c(0x42c)](_0x39bc55){var _0x2ecbe7=_0x5f281c;_0x39bc55['cmd']===F['JOIN']?this[_0x2ecbe7(0x19c)](_0x39bc55):_0x39bc55[_0x2ecbe7(0x395)]===F[_0x2ecbe7(0x3d5)]&&this[_0x2ecbe7(0x227)](_0x39bc55);}['_joinRoom'](_0x489952){var _0x24b99f=_0x5f281c;this['_sessionStatus$'][_0x24b99f(0x346)](0x1),_0x489952[_0x24b99f(0x1d4)]({'cmd':F['JOIN'],'routeKey':this[_0x24b99f(0x1a7)],'routeType':'','data':{'rooms':[{'roomID':this[_0x24b99f(0x1a7)]}]}});}[_0x5f281c(0x19c)](_0xb2b2f){var _0x16225d=_0x5f281c,_0x2c0126;if(_0xb2b2f[_0x16225d(0x3d1)]in Kt){this[_0x16225d(0x2ef)]['emitEvent']({'id':se[_0x16225d(0x3bd)],'data':Kt[_0xb2b2f['code']]}),this[_0x16225d(0x3a5)][_0x16225d(0x346)](0x2);return;}this[_0x16225d(0x3a5)][_0x16225d(0x346)](0x3);const _0x3a69bb=(_0x2c0126=_0xb2b2f['data'][_0x16225d(0x318)][this[_0x16225d(0x1a7)]])==null?void 0x0:_0x2c0126[_0x16225d(0x1e6)];_0x3a69bb&&_0x3a69bb[_0x16225d(0x2c3)](_0x555d35=>this[_0x16225d(0x2eb)][_0x16225d(0x319)](this['_unitID'],_0x555d35));}[_0x5f281c(0x227)](_0x2c81a8){var _0x4e4f9a=_0x5f281c;try{const _0x2d125b=_0x2c81a8[_0x4e4f9a(0x1dc)];switch(_0x2d125b[_0x4e4f9a(0x2da)]){case _0x54c335[_0x4e4f9a(0x310)]:this[_0x4e4f9a(0x2ec)](_0x2d125b),this[_0x4e4f9a(0x19a)][_0x4e4f9a(0x346)](_0x2d125b);break;case _0x54c335[_0x4e4f9a(0x40c)]:this[_0x4e4f9a(0x46e)](_0x2d125b),this[_0x4e4f9a(0x19a)][_0x4e4f9a(0x346)](_0x2d125b);break;case _0x54c335[_0x4e4f9a(0x40d)]:case _0x54c335[_0x4e4f9a(0x268)]:this['_stopTelemetryCollaborationNewChangeset'](),this['_clearCollaborationTimeoutTimer'](),this[_0x4e4f9a(0x19a)][_0x4e4f9a(0x346)](_0x2d125b);break;case _0x54c335['MSG_FOR_ERROR']:this[_0x4e4f9a(0x302)][_0x4e4f9a(0x278)](_0x4e4f9a(0x36a)+JSON[_0x4e4f9a(0x29f)](_0x2d125b)),this[_0x4e4f9a(0x19a)][_0x4e4f9a(0x346)](_0x2d125b);break;case _0x54c335['COMMENT_UPDATE']:this[_0x4e4f9a(0x313)][_0x4e4f9a(0x1cc)](_0x2d125b[_0x4e4f9a(0x1dc)]),this[_0x4e4f9a(0x19a)][_0x4e4f9a(0x346)](_0x2d125b);break;default:this[_0x4e4f9a(0x19a)][_0x4e4f9a(0x346)](_0x2d125b);}}catch(_0x389966){this[_0x4e4f9a(0x302)][_0x4e4f9a(0x278)](_0x389966,_0x2c81a8);}}[_0x5f281c(0x2ec)](_0x400ce2){var _0x8718a7=_0x5f281c;this[_0x8718a7(0x2eb)][_0x8718a7(0x319)](this[_0x8718a7(0x1a7)],_0x400ce2[_0x8718a7(0x1dc)]);}[_0x5f281c(0x46e)](_0x56ba36){var _0x563f7b=_0x5f281c;this[_0x563f7b(0x2eb)][_0x563f7b(0x400)](this[_0x563f7b(0x1a7)],_0x56ba36['data'][_0x563f7b(0x45d)]);}async[_0x5f281c(0x1d4)](_0x215dbe,_0x62267){var _0x7ded43=_0x5f281c;if(this[_0x7ded43(0x1ed)]!==0x3||!this['_socket'])throw new Error(_0x7ded43(0x413));try{_0x215dbe[_0x7ded43(0x2da)]===_0x54c335[_0x7ded43(0x2a5)]&&(this[_0x7ded43(0x210)](),this[_0x7ded43(0x46f)](_0x215dbe)),this['_socket']['send']({'cmd':F['INGEST'],'routeKey':_0x62267,'routeType':'','data':_0x215dbe});}catch(_0x882db){this[_0x7ded43(0x302)][_0x7ded43(0x278)](_0x882db);}}[_0x5f281c(0x210)](){var _0xdabb9e=_0x5f281c,_0x1acc41;this[_0xdabb9e(0x272)]=setTimeout(()=>{var _0x5ad638=_0xdabb9e;this[_0x5ad638(0x272)]=null,this[_0x5ad638(0x2ef)][_0x5ad638(0x2d5)]({'id':se['SUBMIT_CHANGESET_TIMEOUT']});},(_0x1acc41=this[_0xdabb9e(0x300)]['getConfig'](mi))!=null?_0x1acc41:gi);}[_0x5f281c(0x459)](){var _0x497b66=_0x5f281c;this[_0x497b66(0x272)]&&(clearTimeout(this[_0x497b66(0x272)]),this[_0x497b66(0x272)]=null);}[_0x5f281c(0x46f)](_0x284d81){var _0x53c3d0=_0x5f281c;if(!this['_shouldReportTelemetry'])return;const {data:_0x58d818}=_0x284d81,{unitID:_0x211416,changeset:_0x1ed309}=_0x58d818,{mutations:_0x184948,type:_0x453387}=_0x1ed309;this['_telemetryInfo']={'unitId':_0x211416,'type':_0x453387,'startTime':performance[_0x53c3d0(0x1f8)](),'stopTime':0x0,'duration':0x0,'size':Fn(_0x184948)};}[_0x5f281c(0x27d)](){var _0x3267e5=_0x5f281c;if(this[_0x3267e5(0x24b)]){if(!this[_0x3267e5(0x2f4)]){this[_0x3267e5(0x302)][_0x3267e5(0x278)](_0x3267e5(0x36d),_0x3267e5(0x2d8));return;}this['_telemetryInfo'][_0x3267e5(0x43a)]=performance[_0x3267e5(0x1f8)](),this[_0x3267e5(0x2f4)][_0x3267e5(0x37d)]=this[_0x3267e5(0x2f4)][_0x3267e5(0x43a)]-this[_0x3267e5(0x2f4)][_0x3267e5(0x2fd)],this['_telemetryService']['capture'](Bn,this[_0x3267e5(0x2f4)]),this[_0x3267e5(0x2f4)]=null;}}['_throwTelemetryCollaborationNewChangeset'](){var _0xf5c235=_0x5f281c;this[_0xf5c235(0x2f4)]=null;}};Et=zn([me(0x2,_0x29c204),me(0x3,_0x3b2da1),me(0x4,_0x9558f9(_0x1aa64a)),me(0x5,_0x9558f9(xe)),me(0x6,_0x9558f9(Ti)),me(0x7,_0x9558f9(pe)),me(0x8,_0x1a79f6(_0x96d161))],Et);var Jn=Object['defineProperty'],Xn=Object['getOwnPropertyDescriptor'],Zn=(_0x3d4f59,_0x2ae2cd,_0x50b308,_0x2449f1)=>{var _0x4e101d=_0x5f281c;for(var _0x32d9e2=_0x2449f1>0x1?void 0x0:_0x2449f1?Xn(_0x2ae2cd,_0x50b308):_0x2ae2cd,_0x18173a=_0x3d4f59[_0x4e101d(0x24a)]-0x1,_0x19a055;_0x18173a>=0x0;_0x18173a--)(_0x19a055=_0x3d4f59[_0x18173a])&&(_0x32d9e2=(_0x2449f1?_0x19a055(_0x2ae2cd,_0x50b308,_0x32d9e2):_0x19a055(_0x32d9e2))||_0x32d9e2);return _0x2449f1&&_0x32d9e2&&Jn(_0x2ae2cd,_0x50b308,_0x32d9e2),_0x32d9e2;},Re=(_0x2c3aab,_0x43bba1)=>(_0x5f158f,_0x1b0532)=>_0x43bba1(_0x5f158f,_0x1b0532,_0x2c3aab);let Le=class extends _0x52a4ec{constructor(_0x5ef07b,_0x431590,_0x2a87d7,_0x3a5673,_0x49fc46,_0x241f14){var _0x38ba4a=_0x5f281c;super(),N(this,'_socket$',new _0x28a5cc(void 0x0)),N(this,'socket$',this[_0x38ba4a(0x27a)]['asObservable']()),N(this,_0x38ba4a(0x327),null),N(this,_0x38ba4a(0x3b8),new Map()),N(this,_0x38ba4a(0x21d),new _0x28a5cc(Ee['IDLE'])),N(this,_0x38ba4a(0x2cf),this[_0x38ba4a(0x21d)][_0x38ba4a(0x362)]()),N(this,'_socketReady',!0x1),N(this,_0x38ba4a(0x2c6)),N(this,_0x38ba4a(0x1eb),0x0),N(this,'_sendHeartbeatTimer'),N(this,_0x38ba4a(0x422)),(this[_0x38ba4a(0x29c)]=_0x5ef07b,this['_logService']=_0x431590,this[_0x38ba4a(0x300)]=_0x2a87d7,this[_0x38ba4a(0x315)]=_0x3a5673,this[_0x38ba4a(0x2ef)]=_0x49fc46,this[_0x38ba4a(0x1b1)]=_0x241f14,this[_0x38ba4a(0x475)]());}get[_0x5f281c(0x328)](){var _0xe78c58=_0x5f281c;return this['_socket$'][_0xe78c58(0x265)]();}['_listenToNetworkCondition'](){var _0x22d7f3=_0x5f281c;this[_0x22d7f3(0x1b1)]&&this['disposeWithMe'](this['_networkConditionService']['online$']['subscribe'](_0x416182=>{var _0x1fd359=_0x22d7f3;_0x416182&&!this[_0x1fd359(0x328)]&&this['reconnect'](),_0x416182||this['_onOffline']();}));}[_0x5f281c(0x43b)](){var _0x3a36cf=_0x5f281c;super['dispose'](),this[_0x3a36cf(0x3b8)][_0x3a36cf(0x2c3)](_0xdc9a19=>_0xdc9a19['dispose']()),this[_0x3a36cf(0x3b8)][_0x3a36cf(0x379)](),this['_status$'][_0x3a36cf(0x1d0)]();}async[_0x5f281c(0x3e3)](_0x2beaf6){var _0x489839=_0x5f281c;if(this[_0x489839(0x3b8)]['has'](_0x2beaf6))return this[_0x489839(0x3b8)][_0x489839(0x3c2)](_0x2beaf6);this[_0x489839(0x466)]();const _0x572e23=this[_0x489839(0x29c)][_0x489839(0x2a2)](Et,_0x2beaf6,this[_0x489839(0x27a)][_0x489839(0x362)]());return this[_0x489839(0x3b8)][_0x489839(0x3e2)](_0x2beaf6,_0x572e23),_0x572e23;}[_0x5f281c(0x448)](_0x2d0e85){var _0x5cc268=_0x5f281c,_0x4a3bb;const _0x25c935=this['_sessions'][_0x5cc268(0x3c2)](_0x2d0e85);_0x25c935&&(this[_0x5cc268(0x3b8)][_0x5cc268(0x252)](_0x2d0e85),_0x25c935[_0x5cc268(0x317)]()),this[_0x5cc268(0x3b8)][_0x5cc268(0x471)]||(_0x4a3bb=this['_socket'])==null||_0x4a3bb[_0x5cc268(0x317)]();}['reconnect'](){var _0x548014=_0x5f281c;this[_0x548014(0x1eb)]=0x0,this[_0x548014(0x2c6)]!=null&&(clearTimeout(this['_retryConnectingTimer']),this['_retryConnectingTimer']=null),this[_0x548014(0x1a1)]();}async['_createSocket'](){var _0x1c90b2=_0x5f281c,_0xbeead7,_0xa53647;const _0x466547=this[_0x1c90b2(0x300)]['getConfig'](Tn),_0x1a10db=this['_configService'][_0x1c90b2(0x38a)](q),_0x53fd49=(_0xa53647=(_0xbeead7=_0x1a10db==null?void 0x0:_0x1a10db[_0x1c90b2(0x217)])!=null?_0xbeead7:_0x466547)!=null?_0xa53647:Cn,_0x3c92a5=await this[_0x1c90b2(0x315)][_0x1c90b2(0x3f6)](_0x53fd49);return this[_0x1c90b2(0x327)]=_0x3c92a5,_0x3c92a5;}async[_0x5f281c(0x466)](){var _0x37026c=_0x5f281c,_0x5617b8,_0x388a5c;try{const _0x6db8c5=(_0x388a5c=(_0x5617b8=this[_0x37026c(0x328)])!=null?_0x5617b8:this[_0x37026c(0x327)])!=null?_0x388a5c:await this[_0x37026c(0x33a)]();if(_0x6db8c5){const _0x296bec=_0x6db8c5['send'];_0x6db8c5['send']=_0x456b78=>(this[_0x37026c(0x3af)](),_0x296bec[_0x37026c(0x25e)](_0x6db8c5,[_0x456b78])),_0x6db8c5['message$'][_0x37026c(0x3ca)](_0x127338=>this[_0x37026c(0x2de)](_0x6db8c5,_0x127338)),_0x6db8c5[_0x37026c(0x42a)][_0x37026c(0x18a)](_0x2f617b(0x1))['subscribe'](_0x46c842=>this[_0x37026c(0x302)]['error'](_0x37026c(0x19b),_0x46c842)),_0x6db8c5[_0x37026c(0x321)]['pipe'](_0x2f617b(0x1))[_0x37026c(0x3ca)](()=>{var _0x58a6c2=_0x37026c;this[_0x58a6c2(0x1ee)](_0x6db8c5);}),_0x6db8c5[_0x37026c(0x2bc)][_0x37026c(0x18a)](_0x2f617b(0x1))[_0x37026c(0x3ca)](_0x535746=>{var _0x390118=_0x37026c;this[_0x390118(0x302)]['debug'](_0x390118(0x213),_0x390118(0x2a7),_0x535746),this[_0x390118(0x295)]();});}}catch(_0x426079){this[_0x37026c(0x302)][_0x37026c(0x278)](_0x426079),this['_onConnectionFailed']();}}['_onConnectionOpen'](_0x24599e){var _0x1362b0=_0x5f281c;this[_0x1362b0(0x302)]['debug'](_0x1362b0(0x213),_0x1362b0(0x364)),_0x24599e[_0x1362b0(0x1d4)]({'cmd':F['HELLO']}),this[_0x1362b0(0x3af)]();}[_0x5f281c(0x190)](){var _0x448ee8=_0x5f281c;this[_0x448ee8(0x428)]=!0x1,this[_0x448ee8(0x327)]=null,this['_status$'][_0x448ee8(0x346)](Ee[_0x448ee8(0x23e)]),this[_0x448ee8(0x27a)][_0x448ee8(0x346)](null),this[_0x448ee8(0x203)](),this[_0x448ee8(0x320)]();}['_onConnectionFailed'](){var _0x2b2d62=_0x5f281c,_0xecf4b7;this[_0x2b2d62(0x190)](),this['_retryCount']<((_0xecf4b7=this[_0x2b2d62(0x300)][_0x2b2d62(0x38a)](yn))!=null?_0xecf4b7:Nn)?(this[_0x2b2d62(0x2ef)][_0x2b2d62(0x2d5)]({'id':se[_0x2b2d62(0x201)]}),this[_0x2b2d62(0x1a1)]()):this[_0x2b2d62(0x2ef)][_0x2b2d62(0x2d5)]({'id':se['SOCKET_FAILED']});}[_0x5f281c(0x1a1)](){var _0x37736d=_0x5f281c,_0x54556c;const _0x4c657c=this['_retryCount'],_0x44aa97=this[_0x37736d(0x300)]['getConfig'](q),_0x5db166=_0x4c657c===0x0?0x0:((_0x54556c=_0x44aa97==null?void 0x0:_0x44aa97[_0x37736d(0x3fe)])!=null?_0x54556c:On)*0x2**_0x4c657c;this[_0x37736d(0x2c6)]=setTimeout(()=>{var _0x5b14b6=_0x37736d;clearTimeout(this[_0x5b14b6(0x2c6)]),this[_0x5b14b6(0x2c6)]=null,this[_0x5b14b6(0x466)]();},_0x5db166),this['_retryCount']+=0x1;}['_onMessage'](_0xf68d51,_0x576a0f){var _0x18276a=_0x5f281c;const {cmd:_0x25fab3}=_0x576a0f;_0x25fab3===F[_0x18276a(0x202)]&&!this[_0x18276a(0x428)]&&(_0xf68d51['memberID']=_0x576a0f['data'][_0x18276a(0x45d)],this['_socket$']['next'](_0xf68d51),this[_0x18276a(0x21d)][_0x18276a(0x346)](Ee[_0x18276a(0x39f)]),this[_0x18276a(0x428)]=!0x0,this[_0x18276a(0x327)]=null),_0x25fab3===F[_0x18276a(0x461)]&&this[_0x18276a(0x203)](),this[_0x18276a(0x3af)]();}['_rescheduleHeartbeat'](){var _0x3bd622=_0x5f281c,_0x5d5134;this[_0x3bd622(0x320)](),this['_sendHeartbeatTimer']=setTimeout(()=>this[_0x3bd622(0x3e0)](),(_0x5d5134=this[_0x3bd622(0x300)][_0x3bd622(0x38a)](bn))!=null?_0x5d5134:Rn);}['_sendHeartbeat'](){var _0x48951f=_0x5f281c;this[_0x48951f(0x328)][_0x48951f(0x1d4)]({'cmd':F[_0x48951f(0x461)]}),this[_0x48951f(0x450)]();}['_waitForHeartbeatResponse'](){var _0x510d89=_0x5f281c,_0x5a3c3b;this[_0x510d89(0x422)]=setTimeout(()=>this[_0x510d89(0x295)](),(_0x5a3c3b=this[_0x510d89(0x300)][_0x510d89(0x38a)](mi))!=null?_0x5a3c3b:gi);}[_0x5f281c(0x320)](){var _0x439d7e=_0x5f281c;this[_0x439d7e(0x470)]!=null&&(clearTimeout(this[_0x439d7e(0x470)]),this[_0x439d7e(0x470)]=null);}[_0x5f281c(0x203)](){var _0x2a97b3=_0x5f281c;this['_timeoutTimer']!=null&&(clearTimeout(this['_timeoutTimer']),this[_0x2a97b3(0x422)]=null);}};Le=Zn([Re(0x0,_0x9558f9(_0xd634d6)),Re(0x1,_0x29c204),Re(0x2,_0x3b2da1),Re(0x3,Ii),Re(0x4,_0x9558f9(pe)),Re(0x5,_0x1a79f6(xn))],Le);const G=[];for(let n=0x0;n<0x100;++n)G[_0x5f281c(0x239)]((n+0x100)[_0x5f281c(0x2df)](0x10)[_0x5f281c(0x196)](0x1));function Qn(_0x2d7563,_0x4e82be=0x0){var _0x31fcf1=_0x5f281c;return(G[_0x2d7563[_0x4e82be+0x0]]+G[_0x2d7563[_0x4e82be+0x1]]+G[_0x2d7563[_0x4e82be+0x2]]+G[_0x2d7563[_0x4e82be+0x3]]+'-'+G[_0x2d7563[_0x4e82be+0x4]]+G[_0x2d7563[_0x4e82be+0x5]]+'-'+G[_0x2d7563[_0x4e82be+0x6]]+G[_0x2d7563[_0x4e82be+0x7]]+'-'+G[_0x2d7563[_0x4e82be+0x8]]+G[_0x2d7563[_0x4e82be+0x9]]+'-'+G[_0x2d7563[_0x4e82be+0xa]]+G[_0x2d7563[_0x4e82be+0xb]]+G[_0x2d7563[_0x4e82be+0xc]]+G[_0x2d7563[_0x4e82be+0xd]]+G[_0x2d7563[_0x4e82be+0xe]]+G[_0x2d7563[_0x4e82be+0xf]])[_0x31fcf1(0x391)]();}let ut;const er=new Uint8Array(0x10);function tr(){var _0x4a3434=_0x5f281c;if(!ut){if(typeof crypto>'u'||!crypto['getRandomValues'])throw new Error(_0x4a3434(0x408));ut=crypto['getRandomValues'][_0x4a3434(0x2b4)](crypto);}return ut(er);}const ir=typeof crypto<'u'&&crypto[_0x5f281c(0x444)]&&crypto['randomUUID'][_0x5f281c(0x2b4)](crypto),Yt={'randomUUID':ir};function nr(_0x53285b,_0x33b784,_0x1ba6ad){var _0x53f858=_0x5f281c,_0x31cb96,_0x17f5f2,_0x3069c2;if(Yt[_0x53f858(0x444)]&&!_0x53285b)return Yt[_0x53f858(0x444)]();_0x53285b=_0x53285b||{};const _0x1157bc=(_0x3069c2=(_0x17f5f2=_0x53285b[_0x53f858(0x451)])!=null?_0x17f5f2:(_0x31cb96=_0x53285b[_0x53f858(0x287)])==null?void 0x0:_0x31cb96['call'](_0x53285b))!=null?_0x3069c2:tr();if(_0x1157bc['length']<0x10)throw new Error(_0x53f858(0x21c));return _0x1157bc[0x6]=_0x1157bc[0x6]&0xf|0x40,_0x1157bc[0x8]=_0x1157bc[0x8]&0x3f|0x80,Qn(_0x1157bc);}const J=_0x1a0676('collaboration-client.local-cache-service');function ro(_0x4b9332){return'unit-cache-'+_0x4b9332;}var rr=Object['defineProperty'],sr=Object[_0x5f281c(0x30b)],or=(_0x3dd5bb,_0x192195,_0x69f616,_0x3fbd63)=>{var _0x547bf1=_0x5f281c;for(var _0x3806ee=_0x3fbd63>0x1?void 0x0:_0x3fbd63?sr(_0x192195,_0x69f616):_0x192195,_0x3a1fe0=_0x3dd5bb[_0x547bf1(0x24a)]-0x1,_0x32c23b;_0x3a1fe0>=0x0;_0x3a1fe0--)(_0x32c23b=_0x3dd5bb[_0x3a1fe0])&&(_0x3806ee=(_0x3fbd63?_0x32c23b(_0x192195,_0x69f616,_0x3806ee):_0x32c23b(_0x3806ee))||_0x3806ee);return _0x3fbd63&&_0x3806ee&&rr(_0x192195,_0x69f616,_0x3806ee),_0x3806ee;},dt=(_0x355731,_0x99c36a)=>(_0x25fc0d,_0x3d3c78)=>_0x99c36a(_0x25fc0d,_0x3d3c78,_0x355731);function ar(_0xb665b7){var _0x35cc00=_0x5f281c;const {unitID:_0x32229d,mutations:_0x1347b0}=_0xb665b7;return{'unitId':_0x32229d,'subUnitId':_0x1347b0[0x0]['params'][_0x35cc00(0x276)]};}let it=class{constructor(_0x3c695d,_0x1662b7,_0x476b3e){var _0x421f83=_0x5f281c;this[_0x421f83(0x29c)]=_0x3c695d,this[_0x421f83(0x2e7)]=_0x1662b7,this[_0x421f83(0x46c)]=_0x476b3e;}['transformSelections'](_0x2d39cf){var _0x37416d=_0x5f281c,_0x5e8d2a,_0x2c0bce,_0x423139,_0x12355c;const _0x332d6b=this[_0x37416d(0x29c)][_0x37416d(0x3c2)](_0x1a006a),{unitId:_0x3424fe,subUnitId:_0x3b4f49}=ar(_0x2d39cf),_0x1a1ae2=_0x332d6b==null?void 0x0:_0x332d6b[_0x37416d(0x189)](_0x3424fe)[_0x37416d(0x2d4)](),_0x5368c9=(_0x2c0bce=(_0x5e8d2a=this[_0x37416d(0x46c)]['getUnit'](_0x3424fe))==null?void 0x0:_0x5e8d2a['getActiveSheet']())==null?void 0x0:_0x2c0bce[_0x37416d(0x323)]();if(_0x1a1ae2[_0x37416d(0x24a)]===0x0||!_0x3424fe||!_0x3b4f49)return;const _0x1f31a8=[{'id':_0x170d3a['id'],'params':{'unitId':_0x3424fe,'subUnitId':_0x5368c9,'selections':_0x26a23c[_0x37416d(0x383)](_0x1a1ae2)}}],_0x4a4330=this[_0x37416d(0x2e7)][_0x37416d(0x463)](_0x2d39cf,_0x1f31a8);if(!_0x32fab9(_0x4a4330))throw _0x4a4330['error'];const _0xee8ac5=(_0x12355c=(_0x423139=_0x4a4330[_0x37416d(0x241)][0x0])==null?void 0x0:_0x423139[_0x37416d(0x1ba)])==null?void 0x0:_0x12355c[_0x37416d(0x3db)];if(Array[_0x37416d(0x238)](_0xee8ac5)&&_0xee8ac5[_0x37416d(0x24a)]){if(_0xee8ac5[_0x37416d(0x24a)]===_0x1f31a8[0x0][_0x37416d(0x1ba)][_0x37416d(0x3db)][_0x37416d(0x24a)]&&_0xee8ac5[_0x37416d(0x284)]((_0x281bde,_0x1ee947)=>_0x19d27e[_0x37416d(0x44e)](_0x281bde[_0x37416d(0x429)],_0x1f31a8[0x0]['params']['selections'][_0x1ee947][_0x37416d(0x429)])))return;this['_injector'][_0x37416d(0x3c2)](_0xda747d)[_0x37416d(0x18b)](_0x170d3a['id'],{'unitId':_0x3424fe,'subUnitId':_0x5368c9,'selections':_0xee8ac5});}}};it=or([dt(0x0,_0x9558f9(_0xd634d6)),dt(0x1,_0x1b9c4f),dt(0x2,_0x34f8d6)],it);const ht=_0x1a0676(_0x5f281c(0x2f0));var Ci=(_0x418837=>(_0x418837[_0x418837[_0x5f281c(0x1c6)]=0x0]=_0x5f281c(0x1c6),_0x418837[_0x418837[_0x5f281c(0x3d6)]=0x1]=_0x5f281c(0x3d6),_0x418837))(Ci||{});const cr=new Set([_0x4d6b49['id']]);function qt(_0x458d1f,_0xc6a8b,_0x55d924,_0x3cfa4f,_0x142ade){var _0x129cef=_0x5f281c,_0x3a7fd2,_0x5785ed,_0x5bdd73,_0x1f0a1e;const _0x1058b8=[];for(const _0x7261c4 of _0x458d1f)if(cr[_0x129cef(0x269)](_0x7261c4['id'])){if(_0x1058b8[_0x129cef(0x24a)]>0x0)break;_0x1058b8[_0x129cef(0x239)](_0x7261c4);break;}else _0x1058b8['push'](_0x7261c4);const _0x214e66=(_0x5785ed=(_0x3a7fd2=_0x142ade[_0x129cef(0x185)]())==null?void 0x0:_0x3a7fd2[_0x129cef(0x369)])!=null?_0x5785ed:_0x129cef(0x1f6),_0x3236c9=(_0x1f0a1e=(_0x5bdd73=_0x142ade[_0x129cef(0x185)]())==null?void 0x0:_0x5bdd73['memberID'])!=null?_0x1f0a1e:_0x129cef(0x1f6);return{'changeset':{'unitID':_0xc6a8b,'type':_0x4e7a73(_0x55d924[_0x129cef(0x23f)](_0xc6a8b)),'baseRev':_0x3cfa4f['getCurrentRevOfUnit'](_0xc6a8b),'revision':0x0,'userID':_0x214e66,'memberID':_0x3236c9,'mutations':_0x1058b8},'pendingMutations':_0x458d1f[_0x129cef(0x196)](_0x1058b8['length'])};}function hr(_0x4ef913,_0x359c50,_0x5baf30,_0x43cc8d,_0x443e99){var _0x86a6ef=_0x5f281c,_0x4acecb,_0x3c0ea0,_0x2d09d5,_0x387843;const _0x1c338d=[_0x4ef913['reduce']((_0x258049,_0x147f16)=>{var _0x263ad7=_0x5eda,_0x590beb;const {id:_0x4138d9}=_0x258049,{id:_0x5ae941,type:_0xcbe290}=_0x147f16,_0x415299=(_0x590beb=_0x258049[_0x263ad7(0x1ba)])!=null?_0x590beb:{'actions':null},_0x5c7c7f=_0x147f16[_0x263ad7(0x1ba)];if(_0x4138d9&&_0x4138d9!==_0x5ae941)throw new Error('Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20'+_0x4138d9+'\x20-\x20'+_0x5ae941+'.');return{..._0x258049,'id':_0x5ae941,'type':_0xcbe290,'params':{'unitId':_0x5c7c7f[_0x263ad7(0x299)],'textRanges':_0x5c7c7f[_0x263ad7(0x352)],'actions':_0x59206b[_0x263ad7(0x46d)](_0x415299[_0x263ad7(0x32e)],_0x5c7c7f['actions'])}};},{})],_0x2c020a=(_0x3c0ea0=(_0x4acecb=_0x443e99[_0x86a6ef(0x185)]())==null?void 0x0:_0x4acecb[_0x86a6ef(0x369)])!=null?_0x3c0ea0:'unknown',_0x27134f=(_0x387843=(_0x2d09d5=_0x443e99[_0x86a6ef(0x185)]())==null?void 0x0:_0x2d09d5[_0x86a6ef(0x45d)])!=null?_0x387843:_0x86a6ef(0x1f6);return{'changeset':{'unitID':_0x359c50,'type':_0x4e7a73(_0x5baf30['getUnitType'](_0x359c50)),'baseRev':_0x43cc8d[_0x86a6ef(0x3d0)](_0x359c50),'revision':0x0,'userID':_0x2c020a,'memberID':_0x27134f,'mutations':_0x1c338d},'pendingMutations':[]};}function bi(_0x42abca,_0x1c3eb1){var _0x464430=_0x5f281c;const _0x15f998=new _0x40b24f(0x1);return setTimeout(()=>_0x15f998[_0x464430(0x346)](_0x1c3eb1),_0x42abca),_0x15f998['asObservable']()['pipe'](_0x281660(0x1));}const _r={'id':_0x351999['id'],'type':_0x3e1461[_0x5f281c(0x39e)],'params':{}};var lr=Object[_0x5f281c(0x348)],ur=Object[_0x5f281c(0x30b)],Te=(_0x173972,_0x21dc07,_0x22f4eb,_0x57e7a8)=>{var _0x5d0f00=_0x5f281c;for(var _0x44219d=_0x57e7a8>0x1?void 0x0:_0x57e7a8?ur(_0x21dc07,_0x22f4eb):_0x21dc07,_0x390286=_0x173972[_0x5d0f00(0x24a)]-0x1,_0x17e5d0;_0x390286>=0x0;_0x390286--)(_0x17e5d0=_0x173972[_0x390286])&&(_0x44219d=(_0x57e7a8?_0x17e5d0(_0x21dc07,_0x22f4eb,_0x44219d):_0x17e5d0(_0x44219d))||_0x44219d);return _0x57e7a8&&_0x44219d&&lr(_0x21dc07,_0x22f4eb,_0x44219d),_0x44219d;},A=(_0x5d9d22,_0x4c0a14)=>(_0x50aa62,_0x3cb3e9)=>_0x4c0a14(_0x50aa62,_0x3cb3e9,_0x5d9d22),Ri=(_0x5686ee=>(_0x5686ee[_0x5f281c(0x289)]=_0x5f281c(0x1c2),_0x5686ee[_0x5f281c(0x441)]=_0x5f281c(0x19e),_0x5686ee[_0x5f281c(0x40f)]=_0x5f281c(0x2e8),_0x5686ee[_0x5f281c(0x28e)]=_0x5f281c(0x2cc),_0x5686ee[_0x5f281c(0x23a)]=_0x5f281c(0x410),_0x5686ee[_0x5f281c(0x1bf)]='fetch_missing',_0x5686ee[_0x5f281c(0x42d)]=_0x5f281c(0x409),_0x5686ee[_0x5f281c(0x23e)]=_0x5f281c(0x184),_0x5686ee))(Ri||{});const Oi=0xea60;class Ce{constructor(_0x47ff9d,_0x275ceb,_0x4bb871,_0x34fbf4,_0x23b74f,_0x15f3ba,_0x4bcc5f,_0x279f1d,_0x5b7715){var _0x2060d1=_0x5f281c;N(this,'_awaitingChangeset',null),N(this,_0x2060d1(0x220),[]),(this[_0x2060d1(0x32f)]=_0x47ff9d,this[_0x2060d1(0x33e)]=_0x275ceb,this[_0x2060d1(0x195)]=_0x23b74f,this[_0x2060d1(0x37b)]=_0x15f3ba,this[_0x2060d1(0x1b7)]=_0x4bcc5f,this[_0x2060d1(0x271)]=_0x279f1d,this['_localCacheService']=_0x5b7715,this[_0x2060d1(0x3f0)]=_0x4bb871,this[_0x2060d1(0x220)]=_0x34fbf4);}[_0x5f281c(0x27f)](_0x2ab4fd){var _0xf4e708=_0x5f281c;const _0x135888=this[_0xf4e708(0x271)][_0xf4e708(0x3d0)](this[_0xf4e708(0x32f)]);return _0x2ab4fd[_0xf4e708(0x1df)]>_0x135888+0x1?(this[_0xf4e708(0x195)]['onMissingChangesets']({'from':_0x135888,'to':_0x2ab4fd['revision']-0x1}),!0x0):!0x1;}['_transformUndoredo'](_0x3929eb){var _0x190a15=_0x5f281c;this[_0x190a15(0x1b7)][_0x190a15(0x266)](this[_0x190a15(0x32f)],_0x3929eb);}[_0x5f281c(0x242)](_0x58c1b9){var _0x2ba514=_0x5f281c,_0x1953c9,_0xf5dbdf;(_0xf5dbdf=(_0x1953c9=this['_handler'])[_0x2ba514(0x3e4)])==null||_0xf5dbdf[_0x2ba514(0x1f0)](_0x1953c9,_0x58c1b9);}[_0x5f281c(0x245)](_0x4f9fda){var _0x33a897=_0x5f281c,_0x36af6e,_0xa28938;return(_0xa28938=(_0x36af6e=this[_0x33a897(0x195)])[_0x33a897(0x32b)])==null?void 0x0:_0xa28938['call'](_0x36af6e,_0x4f9fda);}[_0x5f281c(0x3a6)](_0x5ec433){var _0x2aa89b=_0x5f281c,_0x1a155d,_0x4d8fe5;return(_0x4d8fe5=(_0x1a155d=this[_0x2aa89b(0x195)])[_0x2aa89b(0x22e)])==null?void 0x0:_0x4d8fe5[_0x2aa89b(0x1f0)](_0x1a155d,_0x5ec433);}[_0x5f281c(0x354)](_0x43edf3){var _0x2f0578=_0x5f281c,_0x28ec9d,_0x4aa1fb,_0x5946d2;return(_0x5946d2=(_0x4aa1fb=(_0x28ec9d=this[_0x2f0578(0x195)])[_0x2f0578(0x294)])==null?void 0x0:_0x4aa1fb[_0x2f0578(0x1f0)](_0x28ec9d,_0x43edf3))!=null?_0x5946d2:_0x43edf3;}[_0x5f281c(0x193)](_0x4499fe){var _0x5def82=_0x5f281c,_0x3d85a0,_0x47bad7,_0x3c0235;return(_0x3c0235=(_0x47bad7=(_0x3d85a0=this['_handler'])[_0x5def82(0x1ff)])==null?void 0x0:_0x47bad7[_0x5def82(0x1f0)](_0x3d85a0,_0x4499fe))!=null?_0x3c0235:_0x4499fe;}[_0x5f281c(0x27e)](_0x228223){var _0x724749=_0x5f281c,_0x2dcd8e,_0x91ca9e;if(this[_0x724749(0x33e)]===Q[_0x724749(0x1e9)]){const {unitID:_0x38a877,mutations:_0x1578ed,memberID:_0x1b1c28}=_0x228223,_0xe445d7=_0x1578ed[0x0]['params'][_0x724749(0x352)];Array[_0x724749(0x238)](_0xe445d7)&&_0xe445d7['length']>0x0&&((_0x91ca9e=(_0x2dcd8e=this['_handler'])[_0x724749(0x25b)])==null||_0x91ca9e[_0x724749(0x1f0)](_0x2dcd8e,{'unitID':_0x38a877,'memberID':_0x1b1c28,'textRanges':_0xe445d7}));}}['_updateLocalCache'](){var _0x3be280=_0x5f281c,_0xe578f9;(_0xe578f9=this[_0x3be280(0x31e)])==null||_0xe578f9[_0x3be280(0x421)](this[_0x3be280(0x32f)],this[_0x3be280(0x33e)],this['_awaitingChangeset'],this['_pendingMutations']);}['_getCurrentRevision'](){var _0x4ccceb=_0x5f281c;return this[_0x4ccceb(0x271)][_0x4ccceb(0x3d0)](this['unitID']);}['_incrementRevisionNumber'](){var _0x37424e=_0x5f281c;this[_0x37424e(0x271)]['incrementRevOfUnit'](this[_0x37424e(0x32f)]);}[_0x5f281c(0x432)](_0x5ac5ce){var _0x5040a8=_0x5f281c,_0x582df4;let _0x17373a=this[_0x5040a8(0x354)](_0x5ac5ce);_0x17373a=this[_0x5040a8(0x193)](_0x17373a);const _0x565776=_0x41bde1(_0x17373a[_0x5040a8(0x1ec)],this[_0x5040a8(0x37b)],{'fromCollab':!0x0});if(!_0x565776['result'])throw _0x565776[_0x5040a8(0x278)]instanceof Error?_0x565776[_0x5040a8(0x278)]:new Error((_0x582df4=_0x565776['error'])!=null?_0x582df4:_0x5040a8(0x254));this[_0x5040a8(0x245)](_0x17373a),this[_0x5040a8(0x3a6)](_0x17373a),this[_0x5040a8(0x465)](_0x5ac5ce),this[_0x5040a8(0x242)](_0x17373a),this['_syncEditingCollabCursor'](_0x17373a),this['_incrementRevisionNumber']();}}let Ne=class extends Ce{constructor(_0x2fbc14,_0x566a18,_0x5ed16b,_0x315fe3,_0x116530,_0x363517,_0x577207,_0x360863,_0x1a2ebe,_0xf83d72){var _0x17a787=_0x5f281c;super(_0x2fbc14,_0x566a18,null,[],_0x5ed16b,_0x577207,_0x363517,_0x315fe3,_0xf83d72),N(this,_0x17a787(0x1cb),_0x17a787(0x19e)),(this[_0x17a787(0x29c)]=_0x116530,this[_0x17a787(0x302)]=_0x360863,this[_0x17a787(0x2e7)]=_0x1a2ebe,this['localCacheService']=_0xf83d72);}[_0x5f281c(0x332)](_0x8f6214){var _0x576923=_0x5f281c;const _0x164304=this[_0x576923(0x29c)]['createInstance'](oe,this[_0x576923(0x32f)],this['type'],[_0x8f6214],this[_0x576923(0x195)]);return _0x164304[_0x576923(0x3e7)](),_0x164304[_0x576923(0x3ad)](),_0x164304;}[_0x5f281c(0x42e)](_0x1a5ce6){var _0x224bc5=_0x5f281c;if(this[_0x224bc5(0x27f)](_0x1a5ce6))return this['_injector'][_0x224bc5(0x2a2)](ee,this[_0x224bc5(0x32f)],this[_0x224bc5(0x33e)],null,[],null,[_0x1a5ce6],this[_0x224bc5(0x195)]);try{const _0x5cfe5a=this['_transformService'][_0x224bc5(0x463)](_0x1a5ce6,[_r]);if(_0x32fab9(_0x5cfe5a)){const {c1Prime:_0x4c365d}=_0x5cfe5a;return this['_executeRemoteChangeset'](_0x4c365d),this;}throw _0x5cfe5a['error'];}catch(_0x5a0d4f){return this[_0x224bc5(0x302)]['error'](_0x5a0d4f),this[_0x224bc5(0x2f9)](!0x1);}}[_0x5f281c(0x2f9)](_0x35ad89){var _0x383822=_0x5f281c;return this['_injector'][_0x383822(0x2a2)](ue,this[_0x383822(0x32f)],this[_0x383822(0x33e)],null,[],this['_handler'],_0x35ad89);}[_0x5f281c(0x34d)](){var _0x4b555d=_0x5f281c;throw new Error(_0x4b555d(0x23b));}['onRemoteRej'](){throw new Error('[SyncedState]:\x20received\x20rejection.');}[_0x5f281c(0x3d9)](){return this;}['toggleOffline'](){var _0x25a24e=_0x5f281c;return this[_0x25a24e(0x29c)][_0x25a24e(0x2a2)](de,this[_0x25a24e(0x32f)],this['type'],null,[],this[_0x25a24e(0x195)]);}[_0x5f281c(0x26d)](){return this;}[_0x5f281c(0x2d2)](){var _0x1ebeec=_0x5f281c;throw new Error(_0x1ebeec(0x1c4));}['fetchMiss'](){var _0x7b6ab2=_0x5f281c;const _0x59c9a3=this[_0x7b6ab2(0x271)][_0x7b6ab2(0x3d0)](this[_0x7b6ab2(0x32f)]);return this[_0x7b6ab2(0x195)][_0x7b6ab2(0x231)]({'from':_0x59c9a3,'to':0x0}),this[_0x7b6ab2(0x29c)][_0x7b6ab2(0x2a2)](ee,this['unitID'],this['type'],null,[],null,[],this[_0x7b6ab2(0x195)]);}};Ne=Te([A(0x3,_0x9558f9(_0x33a96b)),A(0x4,_0x9558f9(_0xd634d6)),A(0x5,_0x2f573f),A(0x6,_0xda747d),A(0x7,_0x29c204),A(0x8,_0x1b9c4f),A(0x9,_0x1a79f6(J))],Ne);let oe=class extends Ce{constructor(_0x22db08,_0x28c1c7,_0x1cc55f,_0x35a2f8,_0x589e31,_0xa680fd,_0x4cd26d,_0x356603,_0x2724ac,_0x190b4f,_0x37f57e,_0x3896d9,_0x42af11,_0x737f1a){var _0x18e421=_0x5f281c;super(_0x22db08,_0x28c1c7,null,_0x1cc55f,_0x35a2f8,_0x2724ac,_0x42af11,_0xa680fd,_0x737f1a),N(this,_0x18e421(0x1cb),_0x18e421(0x2e8)),N(this,_0x18e421(0x3c3),null),N(this,_0x18e421(0x41f),null),(this['_injector']=_0x589e31,this[_0x18e421(0x2eb)]=_0x4cd26d,this[_0x18e421(0x302)]=_0x356603,this[_0x18e421(0x300)]=_0x190b4f,this['_transformService']=_0x37f57e,this[_0x18e421(0x1a4)]=_0x3896d9);}[_0x5f281c(0x332)](_0x277e38){var _0x53043b=_0x5f281c;return this[_0x53043b(0x220)][_0x53043b(0x239)](_0x277e38),this['_updateLocalCache'](),this;}[_0x5f281c(0x42e)](_0x39a83e){var _0x266cb6=_0x5f281c;if(this[_0x266cb6(0x27f)](_0x39a83e))return this[_0x266cb6(0x3a3)](),this['_injector']['createInstance'](ee,this[_0x266cb6(0x32f)],this[_0x266cb6(0x33e)],null,this[_0x266cb6(0x220)],null,[_0x39a83e],this['_handler']);try{const _0x55baf1=this[_0x266cb6(0x2e7)][_0x266cb6(0x463)](_0x39a83e,this[_0x266cb6(0x220)]);if(_0x32fab9(_0x55baf1)){const {c1Prime:_0x1e2708,m2Prime:_0x3c2256}=_0x55baf1;this[_0x266cb6(0x432)](_0x1e2708);const _0x176d4d=this[_0x266cb6(0x29c)][_0x266cb6(0x2a2)](oe,this['unitID'],this[_0x266cb6(0x33e)],_0x3c2256,this['_handler']);this[_0x266cb6(0x3a3)]();const _0xc49f79=new Date()[_0x266cb6(0x33d)](),_0x5cb62e=this[_0x266cb6(0x3c3)]?Math['max'](this[_0x266cb6(0x3c3)]-_0xc49f79,0x0):this['_getSendChangesetTimeout']();return _0x176d4d[_0x266cb6(0x3e7)](_0x5cb62e),_0x176d4d;}throw _0x55baf1[_0x266cb6(0x278)];}catch(_0x48cbc2){return this[_0x266cb6(0x302)][_0x266cb6(0x278)](_0x48cbc2),this['_onConflict'](!0x1);}}[_0x5f281c(0x34d)](){var _0x5681f5=_0x5f281c;throw new Error(_0x5681f5(0x464));}[_0x5f281c(0x380)](){var _0x5c9d87=_0x5f281c;throw new Error(_0x5c9d87(0x3b1));}[_0x5f281c(0x3d9)](){return this;}['toggleOffline'](){var _0x348453=_0x5f281c;return this[_0x348453(0x3a3)](),this['_injector'][_0x348453(0x2a2)](de,this['unitID'],this[_0x348453(0x33e)],null,this[_0x348453(0x220)],this[_0x348453(0x195)]);}[_0x5f281c(0x26d)](){return this;}['_schedule'](_0x26cca5){var _0x35bc01=_0x5f281c;const _0x5c027a=_0x26cca5!=null?_0x26cca5:this[_0x35bc01(0x275)]();this['_scheduleCompleteTimestamp']=new Date()['getTime']()+_0x5c027a,this[_0x35bc01(0x41f)]=setTimeout(()=>{var _0x8cb5f0=_0x35bc01;this['_clearScheduledTask']();let _0x48c5d5=null;switch(this['type']){case Q[_0x8cb5f0(0x2e0)]:{_0x48c5d5=qt(this[_0x8cb5f0(0x220)],this['unitID'],this['_univerInstanceService'],this[_0x8cb5f0(0x271)],this[_0x8cb5f0(0x2eb)]);break;}case Q[_0x8cb5f0(0x1e9)]:{this[_0x8cb5f0(0x220)][_0x8cb5f0(0x284)](_0x15d205=>_0x15d205['id']===_0x2f7b64['id'])?_0x48c5d5=hr(this['_pendingMutations'],this['unitID'],this[_0x8cb5f0(0x1a4)],this['_revisionService'],this[_0x8cb5f0(0x2eb)]):_0x48c5d5=qt(this['_pendingMutations'],this[_0x8cb5f0(0x32f)],this[_0x8cb5f0(0x1a4)],this[_0x8cb5f0(0x271)],this[_0x8cb5f0(0x2eb)]);break;}default:throw new Error(_0x8cb5f0(0x384)+this['type']+_0x8cb5f0(0x431));}const {changeset:_0x50cd70,pendingMutations:_0x12dd7e}=_0x48c5d5;this[_0x8cb5f0(0x195)]['onSendChangeset'](_0x50cd70);const _0x38420e=_0x12dd7e['length']?this[_0x8cb5f0(0x29c)][_0x8cb5f0(0x2a2)](ae,this['unitID'],this[_0x8cb5f0(0x33e)],_0x50cd70,_0x12dd7e,this[_0x8cb5f0(0x195)],void 0x0):this['_injector'][_0x8cb5f0(0x2a2)](le,this['unitID'],this[_0x8cb5f0(0x33e)],_0x50cd70,this[_0x8cb5f0(0x195)]);_0x38420e[_0x8cb5f0(0x3ad)](),this[_0x8cb5f0(0x195)][_0x8cb5f0(0x393)](this,_0x38420e);},_0x5c027a);}[_0x5f281c(0x275)](){var _0x2c2d3c=_0x5f281c,_0xa191e6;const _0x29f5cf=this[_0x2c2d3c(0x300)][_0x2c2d3c(0x38a)](q);return(_0xa191e6=_0x29f5cf==null?void 0x0:_0x29f5cf[_0x2c2d3c(0x2d3)])!=null?_0xa191e6:In;}[_0x5f281c(0x2d2)](){var _0x454ab2=_0x5f281c;throw new Error(_0x454ab2(0x176));}['_clearScheduledTask'](){var _0x25b485=_0x5f281c;this['_sendingTimer']!=null&&(clearTimeout(this['_sendingTimer']),this[_0x25b485(0x41f)]=null);}[_0x5f281c(0x2f9)](_0x2f3bc3){var _0x2ad54e=_0x5f281c;return this[_0x2ad54e(0x3a3)](),this['_injector']['createInstance'](ue,this[_0x2ad54e(0x32f)],this[_0x2ad54e(0x33e)],null,this['_pendingMutations'],this['_handler'],_0x2f3bc3);}};oe=Te([A(0x4,_0x9558f9(_0xd634d6)),A(0x5,_0x9558f9(_0x33a96b)),A(0x6,_0x9558f9(xe)),A(0x7,_0x29c204),A(0x8,_0xda747d),A(0x9,_0x3b2da1),A(0xa,_0x1b9c4f),A(0xb,_0x34f8d6),A(0xc,_0x2f573f),A(0xd,_0x1a79f6(J))],oe);let le=class extends Ce{constructor(_0x806b0a,_0x4c52bc,_0x143216,_0x34fbbd,_0x1c5a66,_0x465dcf,_0x9ffc01,_0x1c61ff,_0x5e4a75,_0x2e750c,_0x49119e){var _0x1a7071=_0x5f281c;super(_0x806b0a,_0x4c52bc,_0x143216,[],_0x34fbbd,_0x9ffc01,_0x2e750c,_0x465dcf,_0x49119e),N(this,_0x1a7071(0x1cb),_0x1a7071(0x2cc)),N(this,'_resendTimeout',0x0),N(this,_0x1a7071(0x1af)),N(this,_0x1a7071(0x3ae)),(this['_injector']=_0x1c5a66,this[_0x1a7071(0x302)]=_0x1c61ff,this[_0x1a7071(0x2e7)]=_0x5e4a75);}['appendMutation'](_0x2f9ee3){var _0x51c17f=_0x5f281c;this[_0x51c17f(0x3a3)]();const _0x325703=this[_0x51c17f(0x29c)][_0x51c17f(0x2a2)](ae,this[_0x51c17f(0x32f)],this[_0x51c17f(0x33e)],this[_0x51c17f(0x3f0)],[_0x2f9ee3],this[_0x51c17f(0x195)],this[_0x51c17f(0x1af)]);return _0x325703[_0x51c17f(0x3ad)](),_0x325703;}['onRemoteChangeset'](_0x5848ce){var _0x243695=_0x5f281c;if(this[_0x243695(0x27f)](_0x5848ce))return this[_0x243695(0x3a3)](),this['_injector'][_0x243695(0x2a2)](ee,this[_0x243695(0x32f)],this[_0x243695(0x33e)],this[_0x243695(0x3f0)],[],null,[_0x5848ce],this['_handler']);try{const _0x34186d=this[_0x243695(0x2e7)][_0x243695(0x355)]([_0x5848ce],[this['_awaitingChangeset']],!0x1);if(_0x3fa21a(_0x34186d)){const {c1Prime:_0x559018,c2Prime:_0x3e44c2}=_0x34186d;this['_executeRemoteChangeset'](_0x559018[0x0]),_0x3e44c2[0x0][_0x243695(0x325)]=this[_0x243695(0x1bd)](),this[_0x243695(0x3a3)]();const _0x29a597=this['_injector']['createInstance'](le,this[_0x243695(0x32f)],this['type'],_0x3e44c2[0x0],this[_0x243695(0x195)]);return _0x29a597['_updateLocalCache'](),_0x29a597;}return this[_0x243695(0x2f9)](!0x1);}catch(_0xbb0051){return this['_logService'][_0x243695(0x278)](_0xbb0051),this['_onConflict'](!0x1);}}[_0x5f281c(0x34d)](_0x1468bb){var _0x26faa3=_0x5f281c;this[_0x26faa3(0x3a3)]();const _0x34e2dc=this[_0x26faa3(0x271)][_0x26faa3(0x3d0)](this[_0x26faa3(0x32f)]);if(_0x1468bb[_0x26faa3(0x1df)]<_0x34e2dc-0x1)return this;if(this[_0x26faa3(0x27f)](_0x1468bb))return this[_0x26faa3(0x29c)]['createInstance'](ee,this[_0x26faa3(0x32f)],this[_0x26faa3(0x33e)],null,[],this[_0x26faa3(0x3f0)],[],this[_0x26faa3(0x195)]);this[_0x26faa3(0x29e)]();const _0x3ee906=this[_0x26faa3(0x29c)][_0x26faa3(0x2a2)](Ne,this[_0x26faa3(0x32f)],this['type'],this[_0x26faa3(0x195)]);return _0x3ee906['_updateLocalCache'](),_0x3ee906;}[_0x5f281c(0x380)](_0x123885){var _0x61a6e=_0x5f281c;return this[_0x61a6e(0x2f9)](!!(_0x123885!=null&&_0x123885[_0x61a6e(0x3da)]));}['onRemoteRetry'](_0x3c80c1){var _0x2b50cb=_0x5f281c;return this['_resendTimeout']>Oi?this[_0x2b50cb(0x339)]():(this['_resendTimer']=bi(this[_0x2b50cb(0x34c)],{'timeout':this['_resendTimeout'],'reqId':_0x3c80c1[_0x2b50cb(0x1fe)]}),this['_sender']=this[_0x2b50cb(0x1af)][_0x2b50cb(0x3ca)](({reqId:_0x20439f,timeout:_0x40b8e1})=>{this['_resendWithTimeout'](_0x20439f,_0x40b8e1);}),this);}[_0x5f281c(0x339)](){var _0x3d8369=_0x5f281c;return this['_clearScheduledTask'](),this[_0x3d8369(0x29c)][_0x3d8369(0x2a2)](de,this[_0x3d8369(0x32f)],this[_0x3d8369(0x33e)],this[_0x3d8369(0x3f0)],[],this['_handler']);}[_0x5f281c(0x26d)](){return this;}[_0x5f281c(0x2d2)](){var _0x3d7220=_0x5f281c;this[_0x3d7220(0x195)][_0x3d7220(0x1ae)](this['_awaitingChangeset']);}[_0x5f281c(0x2f9)](_0x756150){var _0x31b5dd=_0x5f281c;return this['_clearScheduledTask'](),this[_0x31b5dd(0x29c)]['createInstance'](ue,this['unitID'],this['type'],this[_0x31b5dd(0x3f0)],[],this['_handler'],_0x756150);}[_0x5f281c(0x34b)](_0x5a70f2,_0x3d115f){var _0x46bf21=_0x5f281c,_0x11b286;_0x5a70f2===((_0x11b286=this[_0x46bf21(0x3f0)])==null?void 0x0:_0x11b286[_0x46bf21(0x1fe)])&&(this['resend'](),this['_resendTimeout']=_0x3d115f===0x0?0x3e8:_0x3d115f*0x2);}[_0x5f281c(0x3a3)](){var _0x241754=_0x5f281c,_0x589eeb;(_0x589eeb=this[_0x241754(0x3ae)])==null||_0x589eeb[_0x241754(0x2e6)](),this[_0x241754(0x34c)]=0x0;}};le=Te([A(0x4,_0x9558f9(_0xd634d6)),A(0x5,_0x9558f9(_0x33a96b)),A(0x6,_0xda747d),A(0x7,_0x29c204),A(0x8,_0x1b9c4f),A(0x9,_0x2f573f),A(0xa,_0x1a79f6(J))],le);let ae=class extends Ce{constructor(_0x49cf9c,_0x480584,_0x2bebbf,_0x4ba453,_0x31656,_0x2747ff,_0x48de3b,_0x1b1489,_0x28867a,_0x8d6603,_0x385a15,_0x2ab649,_0x22d247){var _0x7c5e51=_0x5f281c;super(_0x49cf9c,_0x480584,_0x2bebbf,_0x4ba453,_0x31656,_0x28867a,_0x2ab649,_0x1b1489,_0x22d247),N(this,_0x7c5e51(0x1cb),'awaiting_with_pending'),N(this,_0x7c5e51(0x34c),0x0),N(this,_0x7c5e51(0x1af)),N(this,_0x7c5e51(0x3ae)),(this[_0x7c5e51(0x29c)]=_0x48de3b,this['_logService']=_0x8d6603,this['_transformService']=_0x385a15,this['localCacheService']=_0x22d247,_0x2747ff&&(this['_resendTimer']=_0x2747ff,this['_sender']=this[_0x7c5e51(0x1af)][_0x7c5e51(0x3ca)](({reqId:_0x501501,timeout:_0x3f570b})=>{var _0x14e8e4=_0x7c5e51;this[_0x14e8e4(0x34b)](_0x501501,_0x3f570b);})));}[_0x5f281c(0x332)](_0x5024d6){var _0x1b86c4=_0x5f281c;return this[_0x1b86c4(0x220)][_0x1b86c4(0x239)](_0x5024d6),this;}[_0x5f281c(0x42e)](_0x52b31a){var _0x10f100=_0x5f281c;if(this[_0x10f100(0x27f)](_0x52b31a))return this[_0x10f100(0x3a3)](),this[_0x10f100(0x29c)][_0x10f100(0x2a2)](ee,this[_0x10f100(0x32f)],this[_0x10f100(0x33e)],this[_0x10f100(0x3f0)],this['_pendingMutations'],null,[_0x52b31a],this[_0x10f100(0x195)]);try{const _0x36802d=this[_0x10f100(0x2e7)]['transformChangesets']([_0x52b31a],[this[_0x10f100(0x3f0)]],!0x1);if(_0x3fa21a(_0x36802d)){const {c1Prime:_0x136c69,c2Prime:_0x1e382e}=_0x36802d,_0xd8f4bd=this[_0x10f100(0x2e7)][_0x10f100(0x463)](_0x136c69[0x0],this[_0x10f100(0x220)]);if(_0x32fab9(_0xd8f4bd)){const {c1Prime:_0x22df63,m2Prime:_0x13b8eb}=_0xd8f4bd;return this[_0x10f100(0x432)](_0x22df63),_0x1e382e[0x0][_0x10f100(0x325)]=this[_0x10f100(0x1bd)](),this[_0x10f100(0x3a3)](),this['_injector'][_0x10f100(0x2a2)](ae,this[_0x10f100(0x32f)],this['type'],_0x1e382e[0x0],_0x13b8eb,this['_handler'],void 0x0);}throw _0xd8f4bd[_0x10f100(0x278)];}throw _0x36802d['error'];}catch(_0x5eaded){return this['_logService'][_0x10f100(0x278)](_0x5eaded),this['_onConflict'](!0x1);}}['onRemoteAck'](_0x575c41){var _0x482373=_0x5f281c;if(this[_0x482373(0x3a3)](),this[_0x482373(0x27f)](_0x575c41))return this[_0x482373(0x29c)][_0x482373(0x2a2)](ee,this[_0x482373(0x32f)],this[_0x482373(0x33e)],null,this[_0x482373(0x220)],this[_0x482373(0x3f0)],[],this['_handler']);this[_0x482373(0x29e)]();const _0x4d2c1f=this[_0x482373(0x29c)]['createInstance'](oe,this['unitID'],this[_0x482373(0x33e)],this['_pendingMutations'],this[_0x482373(0x195)]);return _0x4d2c1f['_schedule'](),_0x4d2c1f['_updateLocalCache'](),_0x4d2c1f;}['onRemoteRej'](_0x580d1c){var _0x5cf26d=_0x5f281c;return this['_onConflict'](!!(_0x580d1c!=null&&_0x580d1c[_0x5cf26d(0x3da)]));}['onRemoteRetry'](_0x1c8150){var _0x4381b5=_0x5f281c;return this[_0x4381b5(0x34c)]>Oi?this[_0x4381b5(0x339)]():(this['_resendTimer']=bi(this[_0x4381b5(0x34c)],{'timeout':this[_0x4381b5(0x34c)],'reqId':_0x1c8150[_0x4381b5(0x1fe)]}),this[_0x4381b5(0x3ae)]=this[_0x4381b5(0x1af)][_0x4381b5(0x3ca)](({reqId:_0x1e63f9,timeout:_0x493215})=>{var _0x598cf3=_0x4381b5;this[_0x598cf3(0x34b)](_0x1e63f9,_0x493215);}),this);}['toggleOffline'](){var _0x11bf33=_0x5f281c;return this['_clearScheduledTask'](),this['_injector'][_0x11bf33(0x2a2)](de,this['unitID'],this['type'],this[_0x11bf33(0x3f0)],this[_0x11bf33(0x220)],this[_0x11bf33(0x195)]);}[_0x5f281c(0x26d)](){return this;}[_0x5f281c(0x2d2)](){var _0x12a0ce=_0x5f281c;this[_0x12a0ce(0x195)]['onSendChangeset'](this['_awaitingChangeset']);}[_0x5f281c(0x2f9)](_0x495bbe){var _0x17edc1=_0x5f281c;return this['_clearScheduledTask'](),this[_0x17edc1(0x29c)][_0x17edc1(0x2a2)](ue,this[_0x17edc1(0x32f)],this[_0x17edc1(0x33e)],null,this[_0x17edc1(0x220)],this[_0x17edc1(0x195)],_0x495bbe);}[_0x5f281c(0x34b)](_0x4b3968,_0x447384){var _0x1d67a2=_0x5f281c,_0x25fbb6;_0x4b3968===((_0x25fbb6=this[_0x1d67a2(0x3f0)])==null?void 0x0:_0x25fbb6[_0x1d67a2(0x1fe)])&&(this[_0x1d67a2(0x2d2)](),this['_resendTimeout']=_0x447384===0x0?0x3e8:_0x447384*0x2);}[_0x5f281c(0x3a3)](){var _0xfb5c62=_0x5f281c,_0x1de4de;(_0x1de4de=this[_0xfb5c62(0x3ae)])==null||_0x1de4de['unsubscribe'](),this['_resendTimeout']=0x0;}};ae=Te([A(0x6,_0x9558f9(_0xd634d6)),A(0x7,_0x9558f9(_0x33a96b)),A(0x8,_0xda747d),A(0x9,_0x29c204),A(0xa,_0x1b9c4f),A(0xb,_0x2f573f),A(0xc,_0x1a79f6(J))],ae);let ue=class extends Ce{constructor(_0x304324,_0x5ee1b2,_0x135fe2,_0x2355a0,_0x3b2609,_0x4bca4a=!0x1,_0x41b920,_0x2c3039,_0x2db14f,_0x500d02,_0x51bad4,_0x3de06c,_0x5732a0){var _0x2d3803=_0x5f281c;super(_0x304324,_0x5ee1b2,_0x135fe2,_0x2355a0,_0x3b2609,_0x2c3039,_0x2db14f,_0x500d02,_0x5732a0),N(this,_0x2d3803(0x1cb),'conflict'),(this[_0x2d3803(0x1d7)]=_0x4bca4a,this['_permissionService']=_0x41b920,this[_0x2d3803(0x178)]=_0x51bad4,this[_0x2d3803(0x2ef)]=_0x3de06c,this[_0x2d3803(0x387)]=_0x5732a0,this['_showConflictNotification'](),this[_0x2d3803(0x21b)](),this['_disableEditing']());}[_0x5f281c(0x332)](){return this;}['onRemoteChangeset'](){return this;}['onRemoteAck'](){return this;}['onRemoteRej'](){return this;}[_0x5f281c(0x3d9)](){return this;}['toggleOffline'](){return this;}[_0x5f281c(0x26d)](){return this;}[_0x5f281c(0x2d2)](){throw new Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}['_clearLocalCache'](){var _0x1ed83d=_0x5f281c,_0x2b83ab;(_0x2b83ab=this['_localCacheService'])==null||_0x2b83ab[_0x1ed83d(0x421)](this[_0x1ed83d(0x32f)],this[_0x1ed83d(0x33e)],null,[]);}[_0x5f281c(0x417)](){var _0x4a2bf7=_0x5f281c;this[_0x4a2bf7(0x1d7)]?this[_0x4a2bf7(0x2ef)][_0x4a2bf7(0x2d5)]({'id':se[_0x4a2bf7(0x26a)]}):this[_0x4a2bf7(0x2ef)][_0x4a2bf7(0x2d5)]({'id':se[_0x4a2bf7(0x42d)]});}[_0x5f281c(0x182)](){var _0x4f9d60=_0x5f281c;this['_permissionService']['updatePermissionPoint'](new _0x20c3ca(this[_0x4f9d60(0x32f)])['id'],!0x1);}};ue=Te([A(0x6,_0x9558f9(_0x254153)),A(0x7,_0xda747d),A(0x8,_0x2f573f),A(0x9,_0x9558f9(_0x33a96b)),A(0xa,_0x9558f9(_0x1aa64a)),A(0xb,_0x9558f9(pe)),A(0xc,_0x1a79f6(J))],ue);let de=class extends Ce{constructor(_0x829a19,_0x3b23cf,_0x2373b6,_0x4bd4d0,_0x34f632,_0x17233d,_0x5be858,_0x275eb0,_0x14185b,_0x49b20e){var _0x4a6276=_0x5f281c;super(_0x829a19,_0x3b23cf,_0x2373b6,_0x4bd4d0,_0x34f632,_0x275eb0,_0x14185b,_0x5be858,_0x49b20e),N(this,'status',_0x4a6276(0x184)),this[_0x4a6276(0x29c)]=_0x17233d;}[_0x5f281c(0x332)](_0x3a45e2){var _0x34d5ff=_0x5f281c;return this[_0x34d5ff(0x220)]['push'](_0x3a45e2),this['_updateLocalCache'](),this;}[_0x5f281c(0x42e)](_0x25fafa){var _0x175546=_0x5f281c;throw new Error(_0x175546(0x3fb));}[_0x5f281c(0x34d)](){var _0xaeaf04=_0x5f281c;throw new Error(_0xaeaf04(0x37a));}[_0x5f281c(0x380)](){var _0x203f5f=_0x5f281c;throw new Error(_0x203f5f(0x36e));}[_0x5f281c(0x3d9)](){return this;}[_0x5f281c(0x339)](){return this;}[_0x5f281c(0x26d)](){var _0x5d0e9=_0x5f281c;const {_injector:_0x5d328e,_pendingMutations:_0x5ec72a,_awaitingChangeset:_0x5ef18a,unitID:_0x179e4c,_handler:_0x2a8b1c,type:_0x2f1608}=this,_0x4c41a6=yi(_0x5d328e,_0x179e4c,_0x2f1608,_0x5ef18a,_0x5ec72a,_0x2a8b1c);return _0x4c41a6 instanceof oe?_0x4c41a6['_schedule']():(_0x4c41a6 instanceof ae||_0x4c41a6 instanceof le)&&_0x4c41a6[_0x5d0e9(0x2d2)](),_0x4c41a6;}[_0x5f281c(0x2d2)](){throw new Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}};de=Te([A(0x5,_0x9558f9(_0xd634d6)),A(0x6,_0x9558f9(_0x33a96b)),A(0x7,_0xda747d),A(0x8,_0x2f573f),A(0x9,_0x1a79f6(J))],de);let ee=class extends Ce{constructor(_0x2f5244,_0x191835,_0x33eb03,_0xa46d83,_0x718ca,_0x2d188d,_0x5d3e12,_0x2783b7,_0x27d2b7,_0xad7568,_0x3af2a4,_0x118b9f,_0x2d1d6b,_0x212bcb){var _0xde9613=_0x5f281c;super(_0x2f5244,_0x191835,_0x33eb03,_0xa46d83,_0x5d3e12,_0x3af2a4,_0x118b9f,_0x27d2b7,_0x212bcb),N(this,'status',_0xde9613(0x39d)),(this['_acknowledgedAwaitingChangeset']=_0x718ca,this[_0xde9613(0x290)]=_0x2d188d,this['_injector']=_0x2783b7,this[_0xde9613(0x302)]=_0xad7568,this['_transformService']=_0x2d1d6b,this['localCacheService']=_0x212bcb);}['onMissedChangesetFetched'](_0x1e560c){var _0x43c245=_0x5f281c;try{const _0x142288=[..._0x1e560c,...this[_0x43c245(0x290)]],_0x6bc9d3=[this[_0x43c245(0x3f0)]||this[_0x43c245(0x30d)]][_0x43c245(0x2ae)](_0xea76b7=>!!_0xea76b7);let _0x2d873d,_0x21927d;if(_0x6bc9d3[_0x43c245(0x24a)]){const _0x9d808a=this[_0x43c245(0x2e7)][_0x43c245(0x355)](_0x142288,_0x6bc9d3,!0x1);if(!_0x3fa21a(_0x9d808a))throw _0x9d808a[_0x43c245(0x278)];_0x2d873d=_0x9d808a[_0x43c245(0x420)],_0x21927d=_0x9d808a['c2Prime'];}else _0x2d873d=_0x142288,_0x21927d=[];let _0x4df68=this[_0x43c245(0x220)];_0x2d873d[_0x43c245(0x2c3)](_0x2a8424=>{var _0xf6668=_0x43c245;let _0x536f37;if(_0x4df68[_0xf6668(0x24a)]){const _0x2d7e95=this[_0xf6668(0x2e7)]['transformMutationsWithChangeset'](_0x2a8424,_0x4df68);if(!_0x32fab9(_0x2d7e95))throw _0x2d7e95['error'];_0x536f37=_0x2d7e95[_0xf6668(0x420)],_0x4df68=_0x2d7e95[_0xf6668(0x241)];}else _0x536f37=_0x2a8424;this['_executeRemoteChangeset'](_0x536f37);}),this[_0x43c245(0x30d)]&&this['_incrementRevisionNumber'](),this[_0x43c245(0x3f0)]&&_0x21927d[_0x43c245(0x24a)]&&(_0x21927d[0x0][_0x43c245(0x325)]=this['_getCurrentRevision']());let _0x32d19c;if(this[_0x43c245(0x3f0)]&&_0x4df68[_0x43c245(0x24a)]!==0x0)_0x32d19c=this[_0x43c245(0x29c)][_0x43c245(0x2a2)](ae,this['unitID'],this[_0x43c245(0x33e)],_0x21927d[0x0],_0x4df68,this[_0x43c245(0x195)],void 0x0);else{if(this[_0x43c245(0x3f0)]&&_0x4df68[_0x43c245(0x24a)]===0x0)_0x21927d[0x0][_0x43c245(0x325)]=this[_0x43c245(0x1bd)](),_0x32d19c=this[_0x43c245(0x29c)][_0x43c245(0x2a2)](le,this['unitID'],this[_0x43c245(0x33e)],_0x21927d[0x0],this[_0x43c245(0x195)]);else{if(_0x4df68[_0x43c245(0x24a)]!==0x0){const _0x16c629=this[_0x43c245(0x29c)][_0x43c245(0x2a2)](oe,this['unitID'],this['type'],_0x4df68,this[_0x43c245(0x195)]);_0x16c629[_0x43c245(0x3e7)](),_0x32d19c=_0x16c629;}else _0x32d19c=this[_0x43c245(0x29c)]['createInstance'](Ne,this[_0x43c245(0x32f)],this['type'],this[_0x43c245(0x195)]);}}return _0x32d19c['_updateLocalCache'](),_0x32d19c;}catch(_0xb99cb9){return this[_0x43c245(0x302)][_0x43c245(0x278)](_0x43c245(0x232),_0x43c245(0x1fd),_0xb99cb9),this['_injector'][_0x43c245(0x2a2)](ue,this['unitID'],this[_0x43c245(0x33e)],this['_awaitingChangeset'],this[_0x43c245(0x220)],this[_0x43c245(0x195)],!0x1);}}['resend'](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x5f281c(0x332)](_0x4f2375){var _0xfb9ab=_0x5f281c;return this[_0xfb9ab(0x220)][_0xfb9ab(0x239)](_0x4f2375),this;}[_0x5f281c(0x42e)](_0xcd08e4){var _0x5e3394=_0x5f281c;return this[_0x5e3394(0x290)][_0x5e3394(0x239)](_0xcd08e4),this;}[_0x5f281c(0x34d)](_0x5e985a){var _0x1982d3=_0x5f281c;if(this[_0x1982d3(0x3f0)])return this[_0x1982d3(0x30d)]=this[_0x1982d3(0x3f0)],this[_0x1982d3(0x3f0)]=null,this;throw new Error(_0x1982d3(0x1c7));}[_0x5f281c(0x380)](_0x30a938){var _0x3a74bc=_0x5f281c;return this[_0x3a74bc(0x2f9)](!!(_0x30a938!=null&&_0x30a938[_0x3a74bc(0x3da)]));}[_0x5f281c(0x3d9)](){return this;}[_0x5f281c(0x339)](){var _0x428466=_0x5f281c;return this[_0x428466(0x29c)][_0x428466(0x2a2)](de,this[_0x428466(0x32f)],this[_0x428466(0x33e)],this[_0x428466(0x3f0)],this[_0x428466(0x220)],this['_handler']);}[_0x5f281c(0x26d)](){return this;}['_onConflict'](_0x20e468){var _0x3e83cb=_0x5f281c;return this[_0x3e83cb(0x29c)][_0x3e83cb(0x2a2)](ue,this[_0x3e83cb(0x32f)],this['type'],this[_0x3e83cb(0x3f0)],this[_0x3e83cb(0x220)],this[_0x3e83cb(0x195)],_0x20e468);}};ee=Te([A(0x7,_0x9558f9(_0xd634d6)),A(0x8,_0x9558f9(_0x33a96b)),A(0x9,_0x29c204),A(0xa,_0xda747d),A(0xb,_0x2f573f),A(0xc,_0x1b9c4f),A(0xd,_0x1a79f6(J))],ee);function yi(_0x1c9f63,_0x3253e7,_0xf28271,_0x577008,_0x84a577,_0x227002){var _0x3317d0=_0x5f281c;return _0x577008&&_0x84a577[_0x3317d0(0x24a)]?_0x1c9f63[_0x3317d0(0x2a2)](ae,_0x3253e7,_0xf28271,_0x577008,_0x84a577,_0x227002,void 0x0):_0x577008?_0x1c9f63[_0x3317d0(0x2a2)](le,_0x3253e7,_0xf28271,_0x577008,_0x227002):_0x84a577[_0x3317d0(0x24a)]?_0x1c9f63[_0x3317d0(0x2a2)](oe,_0x3253e7,_0xf28271,_0x84a577,_0x227002):_0x1c9f63[_0x3317d0(0x2a2)](Ne,_0x3253e7,_0xf28271,_0x227002);}var dr=Object[_0x5f281c(0x348)],fr=Object[_0x5f281c(0x30b)],xt=(_0x2588c7,_0x4a6fc9,_0x431421,_0x110284)=>{var _0x2de5fd=_0x5f281c;for(var _0x5365c0=_0x110284>0x1?void 0x0:_0x110284?fr(_0x4a6fc9,_0x431421):_0x4a6fc9,_0x4719d3=_0x2588c7[_0x2de5fd(0x24a)]-0x1,_0x241c7e;_0x4719d3>=0x0;_0x4719d3--)(_0x241c7e=_0x2588c7[_0x4719d3])&&(_0x5365c0=(_0x110284?_0x241c7e(_0x4a6fc9,_0x431421,_0x5365c0):_0x241c7e(_0x5365c0))||_0x5365c0);return _0x110284&&_0x5365c0&&dr(_0x4a6fc9,_0x431421,_0x5365c0),_0x5365c0;},k=(_0x374fc6,_0x1dd64c)=>(_0x1351cf,_0x50dbed)=>_0x1dd64c(_0x1351cf,_0x50dbed,_0x374fc6);let nt=class extends _0x23be52{constructor(_0x5ce2de,_0x4fffaa,_0x2b4f12,_0x326309,_0x2bedfa,_0x5357a0,_0x139c9e,_0x34c6ff,_0x4cbcb5,_0x507d52,_0x381451,_0xbda400,_0x2d52c0){var _0x519926=_0x5f281c;super(),N(this,_0x519926(0x177),new _0x28a5cc(null)),N(this,_0x519926(0x2ad),this['_state$'][_0x519926(0x362)]()),N(this,_0x519926(0x405)),N(this,_0x519926(0x2a8),!0x1),N(this,_0x519926(0x331),''),N(this,'_changesetReqId',0x0),N(this,_0x519926(0x2cf),this[_0x519926(0x2ad)]['pipe'](_0x2c4aae(_0x2193d1=>_0x2193d1?_0x2193d1[_0x519926(0x1cb)]:Ri[_0x519926(0x23e)]),_0x3647db(0x1))),N(this,_0x519926(0x1d3),!0x1),N(this,_0x519926(0x2b5),[]),(this[_0x519926(0x32f)]=_0x5ce2de,this['session']=_0x4fffaa,this['_type']=_0x2b4f12,this[_0x519926(0x29c)]=_0x326309,this['_compressMutationService']=_0x2bedfa,this['_localeService']=_0x5357a0,this['_revisionService']=_0x139c9e,this[_0x519926(0x2fe)]=_0x34c6ff,this['_logService']=_0x4cbcb5,this[_0x519926(0x37b)]=_0x507d52,this[_0x519926(0x2ba)]=_0x381451,this[_0x519926(0x31d)]=_0xbda400,this[_0x519926(0x31e)]=_0x2d52c0);}get['state'](){var _0x3eddb4=_0x5f281c;return this[_0x3eddb4(0x405)];}async['init'](){var _0x26ad0=_0x5f281c;if(this[_0x26ad0(0x3e9)])throw new Error(_0x26ad0(0x425));await this[_0x26ad0(0x29a)]();}[_0x5f281c(0x25f)](){var _0xda52f6=_0x5f281c;return this[_0xda52f6(0x2a8)]=!0x0,_0x5f82e5(()=>{var _0x3cdd62=_0xda52f6;this[_0x3cdd62(0x2a8)]=!0x1,this[_0x3cdd62(0x308)]();});}[_0x5f281c(0x2db)](_0x7c7af0){this['_onLocalMutation'](_0x7c7af0);}[_0x5f281c(0x22f)](_0x31dc23){var _0x5b3b5c=_0x5f281c;this[_0x5b3b5c(0x405)]=_0x31dc23,this['_state$']['next'](_0x31dc23);}async[_0x5f281c(0x29a)](){var _0x4b40dd=_0x5f281c,_0x37b54f;this['_updateState'](await this[_0x4b40dd(0x1cf)]()),this[_0x4b40dd(0x31d)]&&((_0x37b54f=this[_0x4b40dd(0x31d)])==null||_0x37b54f['editingUnit'](this[_0x4b40dd(0x32f)]),this[_0x4b40dd(0x2e9)](this[_0x4b40dd(0x31d)]['getUnitStatus$'](this['unitID'])['subscribe'](_0x3b2c99=>{var _0x2f81c8=_0x4b40dd;this[_0x2f81c8(0x302)]['debug'](_0x2f81c8(0x2ee),_0x2f81c8(0x406),_0x3b2c99),_0x3b2c99===Ci[_0x2f81c8(0x3d6)]?(this[_0x2f81c8(0x2fe)][_0x2f81c8(0x2d5)]({'id':se[_0x2f81c8(0x476)]}),this[_0x2f81c8(0x2ba)]['updatePermissionPoint'](new _0x20c3ca(this[_0x2f81c8(0x32f)])['id'],!0x1),this[_0x2f81c8(0x2ba)]['setShowComponents'](!0x1)):(this[_0x2f81c8(0x2ba)][_0x2f81c8(0x329)](new _0x20c3ca(this[_0x2f81c8(0x32f)])['id'],!0x0),this[_0x2f81c8(0x2ba)][_0x2f81c8(0x3cc)](!0x0));})));let _0x5b27ba=!0x1;return this[_0x4b40dd(0x2e9)](this[_0x4b40dd(0x206)][_0x4b40dd(0x2a4)][_0x4b40dd(0x3ca)](_0x99d8c1=>{var _0x28b27b=_0x4b40dd;_0x99d8c1===Ee[_0x28b27b(0x39f)]?this['_toggleOnline'](_0x5b27ba):_0x99d8c1===Ee[_0x28b27b(0x23e)]&&(_0x5b27ba=!0x0,this[_0x28b27b(0x30c)]());})),this[_0x4b40dd(0x2e9)](this['session'][_0x4b40dd(0x1c9)]['subscribe'](_0x40184d=>{var _0xcfa30c=_0x4b40dd;try{switch(_0x40184d['eventID']){case _0x54c335[_0xcfa30c(0x26e)]:{this[_0xcfa30c(0x2c5)](_0xfdb415(_0x40184d[_0xcfa30c(0x1dc)]));break;}case _0x54c335['CHANGESET_ACK']:{this[_0xcfa30c(0x22d)](_0x40184d['data']);break;}case _0x54c335[_0xcfa30c(0x414)]:{this[_0xcfa30c(0x3be)]();break;}case _0x54c335[_0xcfa30c(0x268)]:{this[_0xcfa30c(0x41e)](_0x40184d[_0xcfa30c(0x1dc)]);break;}case _0x54c335['PSEUDO_FETCH_MISSING_RESULT']:{this[_0xcfa30c(0x404)](_0x40184d[_0xcfa30c(0x1dc)][_0xcfa30c(0x24d)][_0xcfa30c(0x44d)](_0x58d894=>_0xfdb415(_0x58d894)));break;}case _0x54c335['PERMISSION_REJ']:{this['_onRemoteRejected']({'isPermissionRej':!0x0});break;}case _0x54c335['UNISCRIPT_RUN']:break;}}catch(_0x362d14){throw console[_0xcfa30c(0x278)](_0xcfa30c(0x343),_0x362d14),_0x362d14;}})),this[_0x4b40dd(0x405)];}[_0x5f281c(0x3f7)](){this['_transitionLocked']=!0x1;}[_0x5f281c(0x44c)](){var _0x4e8590=_0x5f281c;if(this[_0x4e8590(0x1d3)])throw new Error(_0x4e8590(0x2b9));this[_0x4e8590(0x1d3)]=!0x0;}[_0x5f281c(0x1b2)](_0x59f2a2){var _0x5b3797=_0x5f281c;this[_0x5b3797(0x44c)](),this[_0x5b3797(0x22f)](this[_0x5b3797(0x405)][_0x5b3797(0x332)](_0x59f2a2)),this[_0x5b3797(0x3f7)]();}[_0x5f281c(0x2c5)](_0xc17b4e){var _0x3031ee=_0x5f281c;if(!(_0xc17b4e['revision']<=this[_0x3031ee(0x271)]['getCurrentRevOfUnit'](this[_0x3031ee(0x32f)]))){if(this[_0x3031ee(0x2a8)]){this[_0x3031ee(0x2b5)][_0x3031ee(0x239)](_0xc17b4e);return;}this[_0x3031ee(0x455)](_0xc17b4e);}}['_exhaustRemoteChangesetQueue'](){var _0x11e26e=_0x5f281c;this[_0x11e26e(0x2b5)]['forEach'](_0x7f2c53=>this['_applyRemoteChangeset'](_0x7f2c53)),this[_0x11e26e(0x2b5)]=[];}[_0x5f281c(0x455)](_0x218fcf){var _0x27f72a=_0x5f281c;const _0xc45448=this[_0x27f72a(0x197)][_0x27f72a(0x292)][_0x27f72a(0x3c1)](this['_compressMutationService'][_0x27f72a(0x292)]['getInterceptPoints']()['COMPRESS_MUTATION_APPLY'])(_0x218fcf['mutations'],null)||_0x218fcf['mutations'],_0x530679={..._0x218fcf,'mutations':_0xc45448};this[_0x27f72a(0x44c)](),this[_0x27f72a(0x22f)](this[_0x27f72a(0x405)][_0x27f72a(0x42e)](_0x530679)),this[_0x27f72a(0x3f7)]();}[_0x5f281c(0x22d)](_0x23d29d){var _0x4ca91d=_0x5f281c;this['_lockTransition'](),this[_0x4ca91d(0x22f)](this[_0x4ca91d(0x405)]['onRemoteAck'](_0x23d29d)),this[_0x4ca91d(0x3f7)]();}[_0x5f281c(0x3be)](_0x17b31d){var _0x47d8ed=_0x5f281c;this[_0x47d8ed(0x44c)](),this[_0x47d8ed(0x22f)](this['_state']['onRemoteRej'](_0x17b31d)),this[_0x47d8ed(0x3f7)]();}[_0x5f281c(0x41e)](_0x368ec9){var _0x2c9034=_0x5f281c;this[_0x2c9034(0x44c)](),this['_updateState'](this[_0x2c9034(0x405)][_0x2c9034(0x3d9)](_0x368ec9)),this[_0x2c9034(0x3f7)]();}['_onFetchMissResult'](_0x28d15c){var _0x16d590=_0x5f281c;if(!(this[_0x16d590(0x405)]instanceof ee))throw new TypeError(_0x16d590(0x3f9));const _0x59e44b=_0x28d15c[_0x16d590(0x44d)](_0x265bc0=>{var _0x1d39ec=_0x16d590;const _0x129db6=this[_0x1d39ec(0x197)][_0x1d39ec(0x292)][_0x1d39ec(0x3c1)](this[_0x1d39ec(0x197)][_0x1d39ec(0x292)]['getInterceptPoints']()[_0x1d39ec(0x3b6)])(_0x265bc0[_0x1d39ec(0x1ec)],null)||_0x265bc0['mutations'];return{..._0x265bc0,'mutations':_0x129db6};});this[_0x16d590(0x44c)](),this[_0x16d590(0x22f)](this[_0x16d590(0x405)]['onMissedChangesetFetched'](_0x59e44b)),this[_0x16d590(0x3f7)]();}[_0x5f281c(0x30c)](){var _0x93f1c=_0x5f281c;this[_0x93f1c(0x44c)](),this['_updateState'](this[_0x93f1c(0x405)][_0x93f1c(0x339)]()),this['_unlockTransition']();}[_0x5f281c(0x36b)](_0x4d057f=!0x1){var _0x5df2cd=_0x5f281c;this[_0x5df2cd(0x44c)](),this['_updateState'](this[_0x5df2cd(0x405)][_0x5df2cd(0x26d)]()),this[_0x5df2cd(0x3f7)]();const _0x1403ab=this[_0x5df2cd(0x405)];_0x4d057f&&_0x1403ab instanceof Ne&&(this[_0x5df2cd(0x44c)](),this['_updateState'](_0x1403ab[_0x5df2cd(0x401)]()),this[_0x5df2cd(0x3f7)]());}async['_createInitialState'](){return new Promise(_0x198d51=>{var _0x14bf7b=_0x5eda;this[_0x14bf7b(0x206)][_0x14bf7b(0x2a4)]['pipe'](_0x281660(0x1))[_0x14bf7b(0x3ca)](async _0xb3d0f=>{var _0x28830d=_0x14bf7b;_0x198d51(await this[_0x28830d(0x229)](_0xb3d0f===Ee['ONLINE']));});});}[_0x5f281c(0x17f)](){const _0x6ced2b=this['unitID'];return{'onStateChange':(_0x5ec8bb,_0x2ae42c)=>{var _0x469115=_0x5eda;if(_0x5ec8bb!==this[_0x469115(0x405)])throw new Error(_0x469115(0x2d7)+_0x5ec8bb[_0x469115(0x1cb)]+'\x0aAfter:\x20'+_0x2ae42c[_0x469115(0x1cb)]+_0x469115(0x260)+this['_state']['status']);this[_0x469115(0x22f)](_0x2ae42c);},'onSendChangeset':_0x520afc=>{var _0x11ad34=_0x5eda;_0x520afc[_0x11ad34(0x399)]||(_0x520afc[_0x11ad34(0x399)]=this['_changesetSessionId'],_0x520afc[_0x11ad34(0x1fe)]=++this[_0x11ad34(0x25c)]);const _0xc4ff40={'eventID':_0x54c335['SUBMIT_CHANGESET'],'data':{'unitID':_0x520afc[_0x11ad34(0x32f)],'unitType':this[_0x11ad34(0x418)],'changeset':_0x520afc,'memberID':this[_0x11ad34(0x206)]['getMemberID']()}};this[_0x11ad34(0x206)][_0x11ad34(0x1d4)](_0xc4ff40,this['unitID']);},'onMissingChangesets':({from:_0x271fc8,to:_0x4685d3})=>{var _0x4d64e4=_0x5eda;this[_0x4d64e4(0x302)][_0x4d64e4(0x458)](_0x4d64e4(0x2ee),_0x4d64e4(0x3c5)+_0x271fc8+_0x4d64e4(0x2b3)+_0x4685d3);const _0x297522={'eventID':_0x54c335[_0x4d64e4(0x33f)],'data':{'unitID':_0x6ced2b,'unitType':this['_type'],'from':_0x271fc8,'to':_0x4685d3}};this[_0x4d64e4(0x206)][_0x4d64e4(0x1d4)](_0x297522,this['unitID']);}};}async[_0x5f281c(0x229)](_0x5dc609){var _0x16da82=_0x5f281c,_0x544499,_0x413390,_0x5eff44;const _0x5b24d4=await((_0x544499=this[_0x16da82(0x31e)])==null?void 0x0:_0x544499['loadOfflineData'](this[_0x16da82(0x32f)])),_0x340929=(_0x413390=_0x5b24d4==null?void 0x0:_0x5b24d4[_0x16da82(0x1ec)])!=null?_0x413390:[],_0x40a95c=(_0x5eff44=_0x5b24d4==null?void 0x0:_0x5b24d4[_0x16da82(0x263)])!=null?_0x5eff44:null,_0xe95905=!!(_0x40a95c!=null&&_0x40a95c[_0x16da82(0x399)])&&!!(_0x40a95c!=null&&_0x40a95c[_0x16da82(0x1fe)]);this[_0x16da82(0x331)]=_0xe95905?_0x40a95c[_0x16da82(0x399)]:nr(),this['_changesetReqId']=_0xe95905?_0x40a95c[_0x16da82(0x1fe)]:0x0;const _0x41412e=this[_0x16da82(0x32f)];try{this[_0x16da82(0x3d3)](_0x40a95c,_0x340929);}catch(_0x5dad5e){this['_logService'][_0x16da82(0x278)](_0x5dad5e);}const _0x4c48f5=this['_createHandler']();if(_0x5dc609){const _0x78c276=yi(this[_0x16da82(0x29c)],_0x41412e,this[_0x16da82(0x418)],_0x40a95c,_0x340929,_0x4c48f5);return _0x78c276 instanceof oe?_0x78c276[_0x16da82(0x3e7)]():(_0x78c276 instanceof ae||_0x78c276 instanceof le)&&_0x78c276[_0x16da82(0x2d2)](),_0x78c276;}return this['_injector'][_0x16da82(0x2a2)](de,_0x41412e,this[_0x16da82(0x418)],_0x40a95c,_0x340929,_0x4c48f5);}[_0x5f281c(0x3d3)](_0x1c8f0c,_0x1c471b){var _0x7d6aeb=_0x5f281c,_0x68a490,_0x5b5a93;const _0x3e79ae=this[_0x7d6aeb(0x197)][_0x7d6aeb(0x292)][_0x7d6aeb(0x3c1)](this[_0x7d6aeb(0x197)]['interceptor'][_0x7d6aeb(0x3d7)]()[_0x7d6aeb(0x3b6)]);(_0x68a490=_0x3e79ae((_0x1c8f0c==null?void 0x0:_0x1c8f0c[_0x7d6aeb(0x1ec)])||[],null))==null||_0x68a490[_0x7d6aeb(0x2c3)](_0x238898=>this[_0x7d6aeb(0x37b)][_0x7d6aeb(0x18b)](_0x238898['id'],_0x238898['params'])),(_0x5b5a93=_0x3e79ae(_0x1c471b||[],null))==null||_0x5b5a93['forEach'](_0x316db1=>this[_0x7d6aeb(0x37b)][_0x7d6aeb(0x18b)](_0x316db1['id'],_0x316db1['params']));}};nt=xt([k(0x3,_0x9558f9(_0xd634d6)),k(0x4,_0x9558f9(_0x53d69e)),k(0x5,_0x9558f9(_0x1aa64a)),k(0x6,_0x9558f9(_0x33a96b)),k(0x7,_0x9558f9(pe)),k(0x8,_0x29c204),k(0x9,_0xda747d),k(0xa,_0x254153),k(0xb,_0x1a79f6(ht)),k(0xc,_0x1a79f6(J))],nt);let It=class extends nt{constructor(_0x50414d,_0x4d47f2,_0x40a518,_0x8a1a3d,_0x21df95,_0x31f486,_0x5db1f9,_0x45f1fb,_0xc7dd7,_0x2542c0,_0x4fd905,_0x2accce,_0x36ec98){var _0x5d4e58=_0x5f281c;super(_0x50414d,_0x40a518,_0x4d47f2,_0x8a1a3d,_0x21df95,_0x31f486,_0x5db1f9,_0x45f1fb,_0xc7dd7,_0x2542c0,_0x4fd905,_0x2accce,_0x36ec98),N(this,_0x5d4e58(0x449),null),(this['unitID']=_0x50414d,this[_0x5d4e58(0x33e)]=_0x4d47f2);}[_0x5f281c(0x188)](_0x3315cf){var _0x34e4b1=_0x5f281c;this[_0x34e4b1(0x449)]=_0x3315cf;}[_0x5f281c(0x43b)](){var _0xeed5a0=_0x5f281c;this[_0xeed5a0(0x449)]=null,super[_0xeed5a0(0x43b)]();}['_createHandler'](){var _0xcb79d0=_0x5f281c;const _0x822d8e=super[_0xcb79d0(0x17f)]();return _0x822d8e[_0xcb79d0(0x32b)]=_0x3d35f2=>{var _0x53b09d=_0xcb79d0,_0x3a51fb,_0x54f020;return(_0x54f020=(_0x3a51fb=this[_0x53b09d(0x449)])==null?void 0x0:_0x3a51fb[_0x53b09d(0x32b)])==null?void 0x0:_0x54f020['call'](_0x3a51fb,_0x3d35f2);},_0x822d8e[_0xcb79d0(0x22e)]=_0x2c5df9=>{var _0x170608=_0xcb79d0,_0x1616f5,_0x6c414a;return(_0x6c414a=(_0x1616f5=this[_0x170608(0x449)])==null?void 0x0:_0x1616f5[_0x170608(0x22e)])==null?void 0x0:_0x6c414a['call'](_0x1616f5,_0x2c5df9);},_0x822d8e['onTransformSelections']=_0x23de67=>{var _0xef9a4b=_0xcb79d0,_0x94e919,_0x421e28;return(_0x421e28=(_0x94e919=this[_0xef9a4b(0x449)])==null?void 0x0:_0x94e919['onTransformSelections'])==null?void 0x0:_0x421e28[_0xef9a4b(0x1f0)](_0x94e919,_0x23de67);},_0x822d8e[_0xcb79d0(0x25b)]=_0x481a71=>{var _0x3f9332=_0xcb79d0,_0x56ea79,_0x119fa7;return(_0x119fa7=(_0x56ea79=this['_handlerCallback'])==null?void 0x0:_0x56ea79[_0x3f9332(0x25b)])==null?void 0x0:_0x119fa7[_0x3f9332(0x1f0)](_0x56ea79,_0x481a71);},_0x822d8e[_0xcb79d0(0x294)]=_0x508a8f=>{var _0x3b1b76=_0xcb79d0,_0x4121a7,_0x366eb0,_0x3b3224;if(!((_0x4121a7=this[_0x3b1b76(0x449)])!=null&&_0x4121a7['onTransformRemoteChangesetByIMECache']))throw new Error('onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x3b3224=(_0x366eb0=this[_0x3b1b76(0x449)])==null?void 0x0:_0x366eb0[_0x3b1b76(0x294)])==null?void 0x0:_0x3b3224[_0x3b1b76(0x1f0)](_0x366eb0,_0x508a8f);},_0x822d8e['onTransformRemoteChangesetByStateCache']=_0x21039f=>{var _0x4069be=_0xcb79d0,_0x7b00e4,_0x5a7a11,_0x194662;if(!((_0x7b00e4=this[_0x4069be(0x449)])!=null&&_0x7b00e4[_0x4069be(0x1ff)]))throw new Error('onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x194662=(_0x5a7a11=this[_0x4069be(0x449)])==null?void 0x0:_0x5a7a11[_0x4069be(0x1ff)])==null?void 0x0:_0x194662['call'](_0x5a7a11,_0x21039f);},_0x822d8e;}async[_0x5f281c(0x29a)](){var _0x2cb33f=_0x5f281c;const _0x15ec57=await super[_0x2cb33f(0x29a)]();return this[_0x2cb33f(0x2e9)](this[_0x2cb33f(0x37b)][_0x2cb33f(0x34a)]((_0x3cf292,_0x4a9729)=>{var _0x11cd6a=_0x2cb33f;if(_0x3cf292[_0x11cd6a(0x33e)]!==_0x3e1461['MUTATION']||_0x4a9729!=null&&_0x4a9729[_0x11cd6a(0x37e)]||_0x4a9729!=null&&_0x4a9729['onlyLocal']||_0x3cf292['id']===_0x2f7b64['id'])return;const _0x47f26e=_0x3cf292[_0x11cd6a(0x1ba)];if((_0x47f26e==null?void 0x0:_0x47f26e[_0x11cd6a(0x299)])!==this[_0x11cd6a(0x32f)])return;const _0x1d203f=_0x3cf292,_0x1558b8=this[_0x11cd6a(0x197)]['interceptor'][_0x11cd6a(0x3c1)](this[_0x11cd6a(0x197)][_0x11cd6a(0x292)][_0x11cd6a(0x3d7)]()[_0x11cd6a(0x43c)])([_0x1d203f],null)||[_0x1d203f];this[_0x11cd6a(0x1b2)](_0x1558b8[0x0]);})),_0x15ec57;}};It=xt([k(0x3,_0x9558f9(_0xd634d6)),k(0x4,_0x9558f9(_0x53d69e)),k(0x5,_0x9558f9(_0x1aa64a)),k(0x6,_0x9558f9(_0x33a96b)),k(0x7,_0x9558f9(pe)),k(0x8,_0x29c204),k(0x9,_0xda747d),k(0xa,_0x254153),k(0xb,_0x1a79f6(ht)),k(0xc,_0x1a79f6(J))],It);let Tt=class extends nt{constructor(_0x3ed117,_0x408e6b,_0x3e7509,_0x2be82b,_0x43e8a3,_0x2d9498,_0x5490d2,_0x1d5dd1,_0x4de432,_0x13d90f,_0x32b0c3,_0x56f1a4,_0x4ba504,_0xfbb6af){var _0x1b8b5a=_0x5f281c;super(_0x3ed117,_0x3e7509,_0x408e6b,_0x2be82b,_0x43e8a3,_0x2d9498,_0x5490d2,_0x4de432,_0x13d90f,_0x32b0c3,_0x56f1a4,_0x4ba504,_0xfbb6af),this[_0x1b8b5a(0x32f)]=_0x3ed117,this[_0x1b8b5a(0x33e)]=_0x408e6b,this[_0x1b8b5a(0x221)]=_0x1d5dd1;}[_0x5f281c(0x17f)](){var _0x3e4f90=_0x5f281c;const _0x124e70=super[_0x3e4f90(0x17f)]();return _0x124e70[_0x3e4f90(0x3e4)]=_0xa11c0e=>this[_0x3e4f90(0x221)][_0x3e4f90(0x40e)](_0xa11c0e),_0x124e70;}async['_init'](){var _0x57c48f=_0x5f281c;const _0x57618d=await super['_init']();return this[_0x57c48f(0x2e9)](this[_0x57c48f(0x37b)][_0x57c48f(0x34a)]((_0x1e5956,_0x4b1a6a)=>{var _0x17fa4d=_0x57c48f;if(_0x1e5956['type']!==_0x3e1461[_0x17fa4d(0x39e)]||_0x4b1a6a!=null&&_0x4b1a6a[_0x17fa4d(0x37e)]||_0x4b1a6a!=null&&_0x4b1a6a[_0x17fa4d(0x1a2)])return;const _0x2d93fd=_0x1e5956[_0x17fa4d(0x1ba)];if((_0x2d93fd==null?void 0x0:_0x2d93fd['unitId'])!==this['unitID'])return;const _0x4bd83a=_0x1e5956,_0xa0322c=this[_0x17fa4d(0x197)]['interceptor'][_0x17fa4d(0x3c1)](this[_0x17fa4d(0x197)][_0x17fa4d(0x292)][_0x17fa4d(0x3d7)]()[_0x17fa4d(0x43c)])([_0x4bd83a],null)||[_0x4bd83a];this[_0x17fa4d(0x1b2)](_0xa0322c[0x0]);})),_0x57618d;}};Tt=xt([k(0x3,_0x9558f9(_0xd634d6)),k(0x4,_0x9558f9(_0x53d69e)),k(0x5,_0x9558f9(_0x1aa64a)),k(0x6,_0x9558f9(_0x33a96b)),k(0x7,_0x9558f9(it)),k(0x8,_0x9558f9(pe)),k(0x9,_0x29c204),k(0xa,_0xda747d),k(0xb,_0x254153),k(0xc,_0x1a79f6(ht)),k(0xd,_0x1a79f6(J))],Tt);var vr=Object['defineProperty'],pr=Object[_0x5f281c(0x30b)],mr=(_0x149637,_0x20e50d,_0x53a372,_0x396c34)=>{var _0x5759f3=_0x5f281c;for(var _0x5ae8af=_0x396c34>0x1?void 0x0:_0x396c34?pr(_0x20e50d,_0x53a372):_0x20e50d,_0x16300a=_0x149637[_0x5759f3(0x24a)]-0x1,_0x4ae575;_0x16300a>=0x0;_0x16300a--)(_0x4ae575=_0x149637[_0x16300a])&&(_0x5ae8af=(_0x396c34?_0x4ae575(_0x20e50d,_0x53a372,_0x5ae8af):_0x4ae575(_0x5ae8af))||_0x5ae8af);return _0x396c34&&_0x5ae8af&&vr(_0x20e50d,_0x53a372,_0x5ae8af),_0x5ae8af;},ft=(_0x266bf3,_0x3cef7c)=>(_0x5e009a,_0x202261)=>_0x3cef7c(_0x5e009a,_0x202261,_0x266bf3);let rt=class extends _0x23be52{constructor(_0x36705b,_0x5dcd5d,_0x133d66){var _0x34c142=_0x5f281c;super(),N(this,_0x34c142(0x467),new Map()),N(this,'_entityInit$',new _0x39b4f1()),N(this,_0x34c142(0x257),this['_entityInit$'][_0x34c142(0x362)]()),(this[_0x34c142(0x29c)]=_0x36705b,this[_0x34c142(0x38e)]=_0x5dcd5d,this[_0x34c142(0x1a4)]=_0x133d66,this[_0x34c142(0x29a)]());}[_0x5f281c(0x43b)](){var _0x2375fa=_0x5f281c;super[_0x2375fa(0x43b)](),this[_0x2375fa(0x467)][_0x2375fa(0x2c3)](_0x77284e=>_0x77284e[_0x2375fa(0x43b)]()),this[_0x2375fa(0x467)]['clear']();}[_0x5f281c(0x2e3)](_0x12bf71){var _0x187639=_0x5f281c,_0x22d083;return(_0x22d083=this[_0x187639(0x467)][_0x187639(0x3c2)](_0x12bf71))!=null?_0x22d083:null;}[_0x5f281c(0x44b)](_0x371ba8){var _0xa1c9f9=_0x5f281c;const _0x1e4761=this[_0xa1c9f9(0x2e3)](_0x371ba8);return _0x1e4761?_0x3f1059(_0x1e4761):this[_0xa1c9f9(0x249)]['pipe'](_0xd6b0bd(_0x3784ab=>_0x3784ab[_0xa1c9f9(0x32f)]===_0x371ba8));}[_0x5f281c(0x2cd)](_0x383a1d){var _0x197161=_0x5f281c;return _0x3e7711(this['getCollabEntity$'](_0x383a1d)[_0x197161(0x18a)](_0x213c72(()=>{})));}[_0x5f281c(0x29a)](){var _0x57095f=_0x5f281c;this[_0x57095f(0x1a4)]['getTypeOfUnitAdded$'](_0xd6875a[_0x57095f(0x2e0)])['pipe'](_0x5106b7(this['dispose$']),_0x5e9c7c(0x10))[_0x57095f(0x3ca)](async _0x33ead1=>{var _0x45d5a2=_0x57095f;const _0xabd6bc=_0x33ead1[_0x45d5a2(0x281)](),_0x2fbbea=await this[_0x45d5a2(0x218)](_0xabd6bc,Q[_0x45d5a2(0x2e0)]);this[_0x45d5a2(0x467)][_0x45d5a2(0x3e2)](_0xabd6bc,_0x2fbbea);}),this[_0x57095f(0x1a4)][_0x57095f(0x370)](_0xd6875a[_0x57095f(0x1e9)])[_0x57095f(0x18a)](_0x5106b7(this[_0x57095f(0x365)]),_0x5e9c7c(0x10))[_0x57095f(0x18a)](_0xd6b0bd(_0x1bd1da=>!_0x1bd1da['getUnitId']()[_0x57095f(0x3d2)]('__')))[_0x57095f(0x3ca)](async _0x27fdea=>{var _0x21391d=_0x57095f;const _0x3f96cc=_0x27fdea['getUnitId'](),_0x28438b=await this[_0x21391d(0x218)](_0x3f96cc,Q[_0x21391d(0x1e9)]);this[_0x21391d(0x467)][_0x21391d(0x3e2)](_0x3f96cc,_0x28438b);}),_0x2f7b48(this[_0x57095f(0x1a4)][_0x57095f(0x264)](_0xd6875a[_0x57095f(0x2e0)]),this[_0x57095f(0x1a4)][_0x57095f(0x264)](_0xd6875a[_0x57095f(0x1e9)]))[_0x57095f(0x18a)](_0x5106b7(this[_0x57095f(0x365)]))[_0x57095f(0x3ca)](_0x4687da=>{var _0x139e3c=_0x57095f;const _0x175f07=_0x4687da[_0x139e3c(0x281)](),_0x2a82de=this[_0x139e3c(0x467)][_0x139e3c(0x3c2)](_0x175f07);_0x2a82de&&(_0x2a82de[_0x139e3c(0x43b)](),this[_0x139e3c(0x467)][_0x139e3c(0x252)](_0x175f07));});}async['_startCollaboration'](_0x319589,_0x333da6){var _0x5715a4=_0x5f281c;const _0x1f60a1=await this[_0x5715a4(0x38e)][_0x5715a4(0x3e3)](_0x319589),_0x27d881=this[_0x5715a4(0x29c)][_0x5715a4(0x2a2)](this[_0x5715a4(0x1b4)](_0x333da6),_0x319589,_0x333da6,_0x1f60a1);return await _0x27d881[_0x5715a4(0x2fc)](),this[_0x5715a4(0x249)]['next'](_0x27d881),_0x27d881;}[_0x5f281c(0x1b4)](_0x280d2d){var _0x2a67e4=_0x5f281c;switch(_0x280d2d){case Q[_0x2a67e4(0x1e9)]:return It;case Q[_0x2a67e4(0x2e0)]:return Tt;default:throw new Error(_0x2a67e4(0x305)+_0x280d2d);}}};rt=mr([ft(0x0,_0x9558f9(_0xd634d6)),ft(0x1,_0x9558f9(Le)),ft(0x2,_0x34f8d6)],rt);var gr=Object[_0x5f281c(0x348)],Sr=Object[_0x5f281c(0x30b)],Er=(_0x280dcc,_0x4e6174,_0x56e0a5,_0x55e8e2)=>{for(var _0x3e2e65=_0x55e8e2>0x1?void 0x0:_0x55e8e2?Sr(_0x4e6174,_0x56e0a5):_0x4e6174,_0x402fd0=_0x280dcc['length']-0x1,_0xb94df0;_0x402fd0>=0x0;_0x402fd0--)(_0xb94df0=_0x280dcc[_0x402fd0])&&(_0x3e2e65=(_0x55e8e2?_0xb94df0(_0x4e6174,_0x56e0a5,_0x3e2e65):_0xb94df0(_0x3e2e65))||_0x3e2e65);return _0x55e8e2&&_0x3e2e65&&gr(_0x4e6174,_0x56e0a5,_0x3e2e65),_0x3e2e65;},zt=(_0x1fc255,_0x59e256)=>(_0x3e1928,_0x4f8180)=>_0x59e256(_0x3e1928,_0x4f8180,_0x1fc255);const Ir=_0x5f281c(0x2f3),Tr=_0x5f281c(0x187);let Ct=class extends _0x52a4ec{constructor(_0x3a1b08,_0x1a5207){var _0x3d98e3=_0x5f281c;super(),this[_0x3d98e3(0x1a4)]=_0x3a1b08,this[_0x3d98e3(0x300)]=_0x1a5207,this[_0x3d98e3(0x29a)]();}[_0x5f281c(0x29a)](){var _0x4e8825=_0x5f281c;this[_0x4e8825(0x2e9)](this['_univerInstanceService'][_0x4e8825(0x335)][_0x4e8825(0x3ca)](()=>{var _0x44b0d5=_0x4e8825,_0x4a7b5a;const _0x24fd86=this[_0x44b0d5(0x1a4)][_0x44b0d5(0x1de)]();let _0xb0181d=(_0x4a7b5a=this[_0x44b0d5(0x300)][_0x44b0d5(0x38a)](Ir))!=null?_0x4a7b5a:Tr;_0x24fd86 instanceof _0xe8f172&&(_0xb0181d=_0x24fd86[_0x44b0d5(0x33b)]),document[_0x44b0d5(0x38c)]=_0xb0181d;}));}};Ct=Er([zt(0x0,_0x34f8d6),zt(0x1,_0x3b2da1)],Ct);var Cr=Object[_0x5f281c(0x348)],br=Object[_0x5f281c(0x30b)],Rr=(_0x5b6e3c,_0x46db87,_0x5edd92,_0x132f58)=>{var _0x2ae5b6=_0x5f281c;for(var _0x5e3016=_0x132f58>0x1?void 0x0:_0x132f58?br(_0x46db87,_0x5edd92):_0x46db87,_0x43dce5=_0x5b6e3c[_0x2ae5b6(0x24a)]-0x1,_0x3d8512;_0x43dce5>=0x0;_0x43dce5--)(_0x3d8512=_0x5b6e3c[_0x43dce5])&&(_0x5e3016=(_0x132f58?_0x3d8512(_0x46db87,_0x5edd92,_0x5e3016):_0x3d8512(_0x5e3016))||_0x5e3016);return _0x132f58&&_0x5e3016&&Cr(_0x46db87,_0x5edd92,_0x5e3016),_0x5e3016;},vt=(_0x31bf41,_0x4cbf26)=>(_0x12323b,_0x4eb903)=>_0x4cbf26(_0x12323b,_0x4eb903,_0x31bf41);let st=class{constructor(_0x43bb9d,_0x2ce99b,_0x4071b3){var _0x5161d4=_0x5f281c;this['_configService']=_0x43bb9d,this[_0x5161d4(0x3eb)]=_0x2ce99b,this[_0x5161d4(0x363)]=_0x4071b3,this[_0x5161d4(0x2fc)]();}[_0x5f281c(0x2fc)](){var _0x4d6ef2=_0x5f281c;this[_0x4d6ef2(0x3eb)]['registerHTTPInterceptor']({'priority':0x1,'interceptor':(_0x5cf28b,_0x3539b0)=>_0x3539b0(_0x5cf28b)[_0x4d6ef2(0x18a)](_0x324461(async _0x287951=>{var _0x164afa=_0x4d6ef2;const _0x3f0417=_0x287951;if(_0x3f0417[_0x164afa(0x1cb)]===0x191){if(typeof window>'u')throw new Error(_0x164afa(0x1fa));if(window[_0x164afa(0x374)](this[_0x164afa(0x363)]['t'](_0x164afa(0x244)))){const _0xaf058c=window[_0x164afa(0x174)](window[_0x164afa(0x2c1)]['href']);window[_0x164afa(0x2c1)][_0x164afa(0x41b)]=this[_0x164afa(0x375)]()+_0x164afa(0x279)+_0xaf058c;}}return _0x3f0417;}))});}[_0x5f281c(0x375)](){var _0x420f3d=_0x5f281c,_0x5a68a0,_0x4760be;const _0x110002=this['_configService'][_0x420f3d(0x38a)](wn),_0x2b10f6=this[_0x420f3d(0x300)][_0x420f3d(0x38a)](q);return(_0x4760be=(_0x5a68a0=_0x2b10f6==null?void 0x0:_0x2b10f6[_0x420f3d(0x3f3)])!=null?_0x5a68a0:_0x110002)!=null?_0x4760be:Un;}};st=Rr([vt(0x0,_0x3b2da1),vt(0x1,_0x9558f9(_0x30b05c)),vt(0x2,_0x9558f9(_0x1aa64a))],st);var Or=Object[_0x5f281c(0x348)],yr=Object[_0x5f281c(0x30b)],Nr=(_0xac79ec,_0x383cd6,_0xf45f30,_0x46602e)=>{for(var _0x312495=_0x46602e>0x1?void 0x0:_0x46602e?yr(_0x383cd6,_0xf45f30):_0x383cd6,_0x2ae531=_0xac79ec['length']-0x1,_0x445993;_0x2ae531>=0x0;_0x2ae531--)(_0x445993=_0xac79ec[_0x2ae531])&&(_0x312495=(_0x46602e?_0x445993(_0x383cd6,_0xf45f30,_0x312495):_0x445993(_0x312495))||_0x312495);return _0x46602e&&_0x312495&&Or(_0x383cd6,_0xf45f30,_0x312495),_0x312495;},Jt=(_0x5404a9,_0x32bc80)=>(_0x4b8675,_0x5e8181)=>_0x32bc80(_0x4b8675,_0x5e8181,_0x5404a9);const Ni=_0x5f281c(0x224),Dr=_0x5f281c(0x1f7);let bt=class extends _0x52a4ec{constructor(_0x406edd,_0xd53de6){var _0x2aafc9=_0x5f281c;super(),this[_0x2aafc9(0x40b)]=_0x406edd,this[_0x2aafc9(0x300)]=_0xd53de6,this['_initMergeInterceptor']();}[_0x5f281c(0x226)](){var _0x34c780=_0x5f281c;const _0x334f05=this;this[_0x34c780(0x2e9)](this['_HTTPService'][_0x34c780(0x427)]({'priority':0x3e7,'interceptor':_0x4d712b({'isMatch'(_0x4d5d00){var _0x29598f=_0x34c780,_0x369db7;if(_0x4d5d00['method']==='POST'&&((_0x369db7=_0x4d5d00[_0x29598f(0x183)])!=null&&_0x369db7[_0x29598f(0x351)])){const {objectID:_0x15fa81,objectType:_0x4e7c2b}=_0x4d5d00['requestParams'][_0x29598f(0x351)]||{};if(!_0x15fa81||_0x4e7c2b===void 0x0)return!0x1;const _0x4a0031=_0x334f05[_0x29598f(0x29d)]()+'/'+_0x4e7c2b+'/object/'+_0x15fa81+_0x29598f(0x2c0);if(_0x4d5d00['url']===_0x4a0031)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x56e1d0){var _0x5ebaaa=_0x34c780,_0x102f95;return(_0x102f95=_0x56e1d0[_0x5ebaaa(0x183)])==null?void 0x0:_0x102f95[_0x5ebaaa(0x351)];},'mergeParamsToRequest'(_0xf815d8,_0xa9c8b7){var _0x2a218f=_0x34c780;const _0x19a69b=_0x334f05[_0x2a218f(0x29d)]()+_0x2a218f(0x291),_0x344b01=_0xf815d8[_0x2a218f(0x35b)]((_0x43620d,_0x102ddb)=>{var _0x59d382=_0x2a218f;const {unitID:_0x4ebd41,objectID:_0xa905e1,objectType:_0xd23cd8,actions:_0xd06268}=_0x102ddb;return _0x43620d[_0x4ebd41]||(_0x43620d[_0x4ebd41]={}),_0x43620d[_0x4ebd41][_0xa905e1]||(_0x43620d[_0x4ebd41][_0xa905e1]={'objectID':_0xa905e1,'objectType':_0xd23cd8,'actions':[]}),_0x43620d[_0x4ebd41][_0xa905e1][_0x59d382(0x32e)]['push'](..._0xd06268),_0x43620d;},{}),_0x221284=[];for(const _0x39a9b8 in _0x344b01)for(const _0x3771f4 in _0x344b01[_0x39a9b8]){const {actions:_0x44e709,objectType:_0x396703}=_0x344b01[_0x39a9b8][_0x3771f4],_0x227182=[...new Set(_0x44e709)];_0x221284[_0x2a218f(0x239)]({'unitID':_0x39a9b8,'objectID':_0x3771f4,'objectType':_0x396703,'actions':_0x227182});}return new _0xb13e74(_0x2a218f(0x1ad),_0x19a69b,{'headers':_0xa9c8b7['headers'],'withCredentials':_0xa9c8b7[_0x2a218f(0x2d9)],'responseType':_0xa9c8b7['responseType'],'body':{'requests':_0x221284}});}},{'distributeResult'(_0x29156e,_0xcb95d4){var _0x3ddf69=_0x34c780;const {objectActions:_0x382e50}=_0x29156e;return _0xcb95d4[_0x3ddf69(0x44d)](_0x58b863=>{var _0x2bedaf=_0x3ddf69;const {unitID:_0x18d8ba,objectID:_0x499011,actions:_0x11f38f}=_0x58b863,_0x4d9635=_0x382e50[_0x2bedaf(0x322)](_0x5c2902=>_0x5c2902[_0x2bedaf(0x32f)]===_0x18d8ba&&_0x5c2902[_0x2bedaf(0x462)]===_0x499011),_0x4e65c0=_0x11f38f[_0x2bedaf(0x44d)](_0x5377a3=>_0x4d9635==null?void 0x0:_0x4d9635[_0x2bedaf(0x32e)][_0x2bedaf(0x322)](_0x23f160=>_0x23f160['action']===_0x5377a3))[_0x2bedaf(0x2ae)](_0x1d0415=>!!_0x1d0415);return{'config':_0x58b863,'result':{'actions':_0x4e65c0,'error':_0x29156e[_0x2bedaf(0x278)]}};});}})}));}[_0x5f281c(0x29d)](){var _0x30ded2=_0x5f281c,_0x4e8649,_0x2ce329;const _0x267b4b=this[_0x30ded2(0x300)][_0x30ded2(0x38a)](Ni),_0xfbc47c=this['_configService']['getConfig'](q);return(_0x2ce329=(_0x4e8649=_0xfbc47c==null?void 0x0:_0xfbc47c[_0x30ded2(0x18d)])!=null?_0x4e8649:_0x267b4b)!=null?_0x2ce329:Dr;}async[_0x5f281c(0x28f)](_0x4577c3){var _0x1a0d92=_0x5f281c;const _0x4331e=this[_0x1a0d92(0x29d)]()+'/'+_0x4577c3[_0x1a0d92(0x35f)]+_0x1a0d92(0x307);return(await this[_0x1a0d92(0x40b)][_0x1a0d92(0x2ac)](_0x4331e,{'body':_0x4577c3}))[_0x1a0d92(0x351)][_0x1a0d92(0x462)]||'';}async['list'](_0x4706df){var _0x2f6143=_0x5f281c;const _0x4e29f7=this[_0x2f6143(0x29d)]()+'/-/object/list';return(await this[_0x2f6143(0x40b)]['post'](_0x4e29f7,{'body':_0x4706df}))[_0x2f6143(0x351)][_0x2f6143(0x353)];}async['update'](_0x59c115){var _0x173ee5=_0x5f281c;const _0x34195f=this[_0x173ee5(0x29d)]()+'/'+_0x59c115[_0x173ee5(0x35f)]+_0x173ee5(0x26f)+_0x59c115[_0x173ee5(0x462)];await this['_HTTPService'][_0x173ee5(0x3bf)](_0x34195f,{'body':_0x59c115});}async['allowed'](_0x57aa70){var _0xb4414b=_0x5f281c;const _0x44bcea=this[_0xb4414b(0x29d)]()+'/'+_0x57aa70['objectType']+_0xb4414b(0x26f)+_0x57aa70[_0xb4414b(0x462)]+_0xb4414b(0x2c0);return(await this[_0xb4414b(0x40b)][_0xb4414b(0x2ac)](_0x44bcea,{'body':_0x57aa70}))[_0xb4414b(0x351)][_0xb4414b(0x32e)];}async['batchAllowed'](_0x25aa5e){var _0x29088c=_0x5f281c;const _0x2499c6=this[_0x29088c(0x29d)]()+_0x29088c(0x291);return(await this[_0x29088c(0x40b)]['post'](_0x2499c6,{'body':{'requests':_0x25aa5e}}))[_0x29088c(0x351)][_0x29088c(0x240)];}async[_0x5f281c(0x1e8)](_0x2767a0){var _0x2abd5f=_0x5f281c;const _0x168480=this[_0x2abd5f(0x29d)]()+'/'+_0x2767a0[_0x2abd5f(0x35f)]+_0x2abd5f(0x1d5),_0x32638a=await this['_HTTPService'][_0x2abd5f(0x2ac)](_0x168480,{'body':_0x2767a0});return{'roles':_0x32638a[_0x2abd5f(0x351)][_0x2abd5f(0x456)],'actions':_0x32638a[_0x2abd5f(0x351)][_0x2abd5f(0x32e)]};}async[_0x5f281c(0x27b)](_0x5dc8d1){var _0x4038c3=_0x5f281c;const _0x2e70bb=this[_0x4038c3(0x29d)]()+_0x4038c3(0x381);await this[_0x4038c3(0x40b)][_0x4038c3(0x252)](_0x2e70bb,{'params':{'collaboratorID':_0x5dc8d1[_0x4038c3(0x469)],'objectID':_0x5dc8d1[_0x4038c3(0x462)],'unitID':_0x5dc8d1[_0x4038c3(0x32f)]}});}async[_0x5f281c(0x385)](_0x31a7d0){var _0x443be6=_0x5f281c;const _0x604daa=this[_0x443be6(0x29d)]()+_0x443be6(0x381);await this[_0x443be6(0x40b)][_0x443be6(0x24e)](_0x604daa,{'body':_0x31a7d0});}async['createCollaborator'](_0x5c07b5){var _0x315029=_0x5f281c;const _0x391b90=this[_0x315029(0x29d)]()+_0x315029(0x381);await this[_0x315029(0x40b)][_0x315029(0x2ac)](_0x391b90,{'body':_0x5c07b5});}async['listCollaborators'](_0x196d14){var _0x29994c=_0x5f281c;const _0x19f0d3=this[_0x29994c(0x29d)]()+_0x29994c(0x381);return(await this[_0x29994c(0x40b)][_0x29994c(0x3c2)](_0x19f0d3,{'params':{'objectID':_0x196d14[_0x29994c(0x462)],'unitID':_0x196d14['unitID']}}))[_0x29994c(0x351)][_0x29994c(0x3a1)];}async[_0x5f281c(0x1ac)](_0x16ef82){var _0x550afa=_0x5f281c;const _0x5949c4=this['_getAPIPrefixPath']()+_0x550afa(0x381);await this[_0x550afa(0x40b)]['put'](_0x5949c4,{'body':_0x16ef82});}};bt=Nr([Jt(0x0,_0x9558f9(_0x30b05c)),Jt(0x1,_0x9558f9(_0x3b2da1))],bt);var pt=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function ke(_0x4f8d91){var _0x2f013c=_0x5f281c;return _0x4f8d91&&_0x4f8d91[_0x2f013c(0x181)]&&Object['prototype']['hasOwnProperty'][_0x2f013c(0x1f0)](_0x4f8d91,'default')?_0x4f8d91[_0x2f013c(0x3cf)]:_0x4f8d91;}var Ge={'exports':{}};function Pr(_0x4d4b26){var _0x353964=_0x5f281c;throw new Error(_0x353964(0x30a)+_0x4d4b26+_0x353964(0x316));}var Ve={'exports':{}},wr=Ve['exports'],Xt;function ie(){var _0x47da94=_0x5f281c;return Xt||(Xt=0x1,function(_0x4f9cc0,_0x487c5a){(function(_0x2a065d,_0x57722b){var _0x25c38c=_0x5eda;_0x4f9cc0[_0x25c38c(0x3ba)]=_0x57722b();}(wr,function(){var _0x5b6ed3=_0x5b6ed3||function(_0x28634c,_0x2b1e09){var _0x302ac7=_0x5eda,_0x367db7;if(typeof window<'u'&&window[_0x302ac7(0x23c)]&&(_0x367db7=window['crypto']),typeof self<'u'&&self['crypto']&&(_0x367db7=self['crypto']),typeof globalThis<'u'&&globalThis['crypto']&&(_0x367db7=globalThis[_0x302ac7(0x23c)]),!_0x367db7&&typeof window<'u'&&window['msCrypto']&&(_0x367db7=window[_0x302ac7(0x17b)]),!_0x367db7&&typeof pt<'u'&&pt[_0x302ac7(0x23c)]&&(_0x367db7=pt[_0x302ac7(0x23c)]),!_0x367db7&&typeof Pr=='function')try{_0x367db7=require(_0x302ac7(0x23c));}catch{}var _0x38360=function(){var _0x468a77=_0x302ac7;if(_0x367db7){if(typeof _0x367db7[_0x468a77(0x2bd)]==_0x468a77(0x371))try{return _0x367db7[_0x468a77(0x2bd)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x367db7['randomBytes']=='function')try{return _0x367db7['randomBytes'](0x4)[_0x468a77(0x47a)]();}catch{}}throw new Error(_0x468a77(0x445));},_0x495609=Object[_0x302ac7(0x28f)]||(function(){function _0x4d37fd(){}return function(_0x354aeb){var _0x3a8593=_0x5eda,_0x58d36e;return _0x4d37fd[_0x3a8593(0x43f)]=_0x354aeb,_0x58d36e=new _0x4d37fd(),_0x4d37fd[_0x3a8593(0x43f)]=null,_0x58d36e;};}()),_0x5044bf={},_0x18ef59=_0x5044bf[_0x302ac7(0x452)]={},_0x391f38=_0x18ef59[_0x302ac7(0x23d)]=(function(){return{'extend':function(_0x4bf470){var _0x424943=_0x5eda,_0x2859b2=_0x495609(this);return _0x4bf470&&_0x2859b2[_0x424943(0x340)](_0x4bf470),(!_0x2859b2[_0x424943(0x28b)](_0x424943(0x2fc))||this[_0x424943(0x2fc)]===_0x2859b2[_0x424943(0x2fc)])&&(_0x2859b2[_0x424943(0x2fc)]=function(){var _0x35615c=_0x424943;_0x2859b2[_0x35615c(0x306)]['init'][_0x35615c(0x25e)](this,arguments);}),_0x2859b2['init'][_0x424943(0x43f)]=_0x2859b2,_0x2859b2[_0x424943(0x306)]=this,_0x2859b2;},'create':function(){var _0x5aff1f=_0x5eda,_0x5cc28b=this['extend']();return _0x5cc28b[_0x5aff1f(0x2fc)][_0x5aff1f(0x25e)](_0x5cc28b,arguments),_0x5cc28b;},'init':function(){},'mixIn':function(_0x4a8298){var _0x10d3f7=_0x5eda;for(var _0x162e55 in _0x4a8298)_0x4a8298[_0x10d3f7(0x28b)](_0x162e55)&&(this[_0x162e55]=_0x4a8298[_0x162e55]);_0x4a8298[_0x10d3f7(0x28b)](_0x10d3f7(0x2df))&&(this[_0x10d3f7(0x2df)]=_0x4a8298[_0x10d3f7(0x2df)]);},'clone':function(){var _0x1bffc7=_0x5eda;return this[_0x1bffc7(0x2fc)][_0x1bffc7(0x43f)][_0x1bffc7(0x3cd)](this);}};}()),_0x261a46=_0x18ef59[_0x302ac7(0x1ea)]=_0x391f38[_0x302ac7(0x3cd)]({'init':function(_0x2a64cc,_0x4e6bf4){var _0x3916b7=_0x302ac7;_0x2a64cc=this['words']=_0x2a64cc||[],_0x4e6bf4!=_0x2b1e09?this[_0x3916b7(0x411)]=_0x4e6bf4:this[_0x3916b7(0x411)]=_0x2a64cc[_0x3916b7(0x24a)]*0x4;},'toString':function(_0x4af715){var _0x2b5595=_0x302ac7;return(_0x4af715||_0x9afff)[_0x2b5595(0x29f)](this);},'concat':function(_0x2449c8){var _0x41e7df=_0x302ac7,_0x1f0cd3=this[_0x41e7df(0x3c0)],_0x56d0b0=_0x2449c8[_0x41e7df(0x3c0)],_0x48b0d9=this[_0x41e7df(0x411)],_0x492375=_0x2449c8['sigBytes'];if(this['clamp'](),_0x48b0d9%0x4)for(var _0x961b22=0x0;_0x961b22<_0x492375;_0x961b22++){var _0x839cb1=_0x56d0b0[_0x961b22>>>0x2]>>>0x18-_0x961b22%0x4*0x8&0xff;_0x1f0cd3[_0x48b0d9+_0x961b22>>>0x2]|=_0x839cb1<<0x18-(_0x48b0d9+_0x961b22)%0x4*0x8;}else{for(var _0x5bd318=0x0;_0x5bd318<_0x492375;_0x5bd318+=0x4)_0x1f0cd3[_0x48b0d9+_0x5bd318>>>0x2]=_0x56d0b0[_0x5bd318>>>0x2];}return this['sigBytes']+=_0x492375,this;},'clamp':function(){var _0x4b99c3=_0x302ac7,_0xfff057=this[_0x4b99c3(0x3c0)],_0x2d35ef=this['sigBytes'];_0xfff057[_0x2d35ef>>>0x2]&=0xffffffff<<0x20-_0x2d35ef%0x4*0x8,_0xfff057['length']=_0x28634c['ceil'](_0x2d35ef/0x4);},'clone':function(){var _0x129854=_0x302ac7,_0x5bda39=_0x391f38[_0x129854(0x42f)][_0x129854(0x1f0)](this);return _0x5bda39['words']=this[_0x129854(0x3c0)]['slice'](0x0),_0x5bda39;},'random':function(_0xd738e9){var _0x3682c6=_0x302ac7;for(var _0x35d6cd=[],_0x57e6e7=0x0;_0x57e6e7<_0xd738e9;_0x57e6e7+=0x4)_0x35d6cd['push'](_0x38360());return new _0x261a46[(_0x3682c6(0x2fc))](_0x35d6cd,_0xd738e9);}}),_0x814cba=_0x5044bf['enc']={},_0x9afff=_0x814cba[_0x302ac7(0x3c4)]={'stringify':function(_0x261525){var _0x13d5bf=_0x302ac7;for(var _0x465b09=_0x261525['words'],_0x1d145e=_0x261525[_0x13d5bf(0x411)],_0x2ebd11=[],_0x4bc62a=0x0;_0x4bc62a<_0x1d145e;_0x4bc62a++){var _0x524854=_0x465b09[_0x4bc62a>>>0x2]>>>0x18-_0x4bc62a%0x4*0x8&0xff;_0x2ebd11['push']((_0x524854>>>0x4)[_0x13d5bf(0x2df)](0x10)),_0x2ebd11[_0x13d5bf(0x239)]((_0x524854&0xf)[_0x13d5bf(0x2df)](0x10));}return _0x2ebd11['join']('');},'parse':function(_0x5449fc){var _0x274c2b=_0x302ac7;for(var _0x31f2aa=_0x5449fc[_0x274c2b(0x24a)],_0x5384c1=[],_0x39625b=0x0;_0x39625b<_0x31f2aa;_0x39625b+=0x2)_0x5384c1[_0x39625b>>>0x3]|=parseInt(_0x5449fc[_0x274c2b(0x3d4)](_0x39625b,0x2),0x10)<<0x18-_0x39625b%0x8*0x4;return new _0x261a46[(_0x274c2b(0x2fc))](_0x5384c1,_0x31f2aa/0x2);}},_0x551c40=_0x814cba['Latin1']={'stringify':function(_0x27feb3){var _0x3d9854=_0x302ac7;for(var _0x4bbdad=_0x27feb3[_0x3d9854(0x3c0)],_0x4eb7b3=_0x27feb3[_0x3d9854(0x411)],_0x188fec=[],_0x18168b=0x0;_0x18168b<_0x4eb7b3;_0x18168b++){var _0x55102b=_0x4bbdad[_0x18168b>>>0x2]>>>0x18-_0x18168b%0x4*0x8&0xff;_0x188fec['push'](String[_0x3d9854(0x3a8)](_0x55102b));}return _0x188fec[_0x3d9854(0x20d)]('');},'parse':function(_0xed1db6){var _0x2a1cdb=_0x302ac7;for(var _0x41fa3f=_0xed1db6[_0x2a1cdb(0x24a)],_0x823742=[],_0x1f722d=0x0;_0x1f722d<_0x41fa3f;_0x1f722d++)_0x823742[_0x1f722d>>>0x2]|=(_0xed1db6[_0x2a1cdb(0x3a9)](_0x1f722d)&0xff)<<0x18-_0x1f722d%0x4*0x8;return new _0x261a46[(_0x2a1cdb(0x2fc))](_0x823742,_0x41fa3f);}},_0x22bede=_0x814cba[_0x302ac7(0x283)]={'stringify':function(_0x3ae44f){var _0x1f64fc=_0x302ac7;try{return decodeURIComponent(escape(_0x551c40[_0x1f64fc(0x29f)](_0x3ae44f)));}catch{throw new Error(_0x1f64fc(0x2ea));}},'parse':function(_0x2bf7e6){var _0x18cea6=_0x302ac7;return _0x551c40[_0x18cea6(0x3ef)](unescape(encodeURIComponent(_0x2bf7e6)));}},_0x410988=_0x18ef59[_0x302ac7(0x3a2)]=_0x391f38[_0x302ac7(0x3cd)]({'reset':function(){var _0x4d6b30=_0x302ac7;this[_0x4d6b30(0x1a3)]=new _0x261a46['init'](),this[_0x4d6b30(0x2cb)]=0x0;},'_append':function(_0xa44129){var _0x4c28af=_0x302ac7;typeof _0xa44129==_0x4c28af(0x194)&&(_0xa44129=_0x22bede[_0x4c28af(0x3ef)](_0xa44129)),this['_data'][_0x4c28af(0x336)](_0xa44129),this['_nDataBytes']+=_0xa44129[_0x4c28af(0x411)];},'_process':function(_0xa63d30){var _0x19ec44=_0x302ac7,_0x2a61b5,_0x1ba6c7=this[_0x19ec44(0x1a3)],_0x47d5db=_0x1ba6c7[_0x19ec44(0x3c0)],_0x4e1cf7=_0x1ba6c7[_0x19ec44(0x411)],_0x5992c5=this[_0x19ec44(0x18e)],_0x1fe587=_0x5992c5*0x4,_0x956b00=_0x4e1cf7/_0x1fe587;_0xa63d30?_0x956b00=_0x28634c[_0x19ec44(0x26b)](_0x956b00):_0x956b00=_0x28634c[_0x19ec44(0x41d)]((_0x956b00|0x0)-this[_0x19ec44(0x350)],0x0);var _0x11fb7b=_0x956b00*_0x5992c5,_0x36f0fe=_0x28634c[_0x19ec44(0x20b)](_0x11fb7b*0x4,_0x4e1cf7);if(_0x11fb7b){for(var _0x3fb19e=0x0;_0x3fb19e<_0x11fb7b;_0x3fb19e+=_0x5992c5)this[_0x19ec44(0x338)](_0x47d5db,_0x3fb19e);_0x2a61b5=_0x47d5db[_0x19ec44(0x28a)](0x0,_0x11fb7b),_0x1ba6c7[_0x19ec44(0x411)]-=_0x36f0fe;}return new _0x261a46[(_0x19ec44(0x2fc))](_0x2a61b5,_0x36f0fe);},'clone':function(){var _0x3350fd=_0x302ac7,_0x4210a2=_0x391f38['clone'][_0x3350fd(0x1f0)](this);return _0x4210a2[_0x3350fd(0x1a3)]=this[_0x3350fd(0x1a3)]['clone'](),_0x4210a2;},'_minBufferSize':0x0});_0x18ef59['Hasher']=_0x410988[_0x302ac7(0x3cd)]({'cfg':_0x391f38['extend'](),'init':function(_0x19d324){var _0x3d3fc8=_0x302ac7;this[_0x3d3fc8(0x179)]=this[_0x3d3fc8(0x179)]['extend'](_0x19d324),this['reset']();},'reset':function(){var _0x2220d5=_0x302ac7;_0x410988[_0x2220d5(0x3ab)][_0x2220d5(0x1f0)](this),this['_doReset']();},'update':function(_0x42ac2e){var _0x249152=_0x302ac7;return this['_append'](_0x42ac2e),this[_0x249152(0x3fc)](),this;},'finalize':function(_0x2e46eb){var _0x5f1c88=_0x302ac7;_0x2e46eb&&this[_0x5f1c88(0x1fc)](_0x2e46eb);var _0x1b1f66=this[_0x5f1c88(0x1d8)]();return _0x1b1f66;},'blockSize':0x10,'_createHelper':function(_0x5bdec8){return function(_0x12c20a,_0x29c958){var _0x42b8b0=_0x5eda;return new _0x5bdec8[(_0x42b8b0(0x2fc))](_0x29c958)['finalize'](_0x12c20a);};},'_createHmacHelper':function(_0x5e2aab){return function(_0x303b04,_0x36343b){var _0x2f9504=_0x5eda;return new _0xbdf6ac[(_0x2f9504(0x199))][(_0x2f9504(0x2fc))](_0x5e2aab,_0x36343b)['finalize'](_0x303b04);};}});var _0xbdf6ac=_0x5044bf[_0x302ac7(0x2ed)]={};return _0x5044bf;}(Math);return _0x5b6ed3;}));}(Ve)),Ve[_0x47da94(0x3ba)];}var We={'exports':{}},Ur=We[_0x5f281c(0x3ba)],Zt;function Di(){var _0x3a2ead=_0x5f281c;return Zt||(Zt=0x1,function(_0x501223,_0x552d72){(function(_0x29254d,_0x527a5f){var _0x6beb73=_0x5eda;_0x501223[_0x6beb73(0x3ba)]=_0x527a5f(ie());}(Ur,function(_0x485488){var _0x3ac187=_0x5eda;return(function(){var _0x50b814=_0x5eda,_0x12f6da=_0x485488,_0x302dd3=_0x12f6da['lib'],_0x34b7fd=_0x302dd3[_0x50b814(0x1ea)],_0x3d846a=_0x12f6da['enc'];_0x3d846a[_0x50b814(0x1f5)]={'stringify':function(_0x31280c){var _0x1ec4cb=_0x50b814,_0x5031e0=_0x31280c['words'],_0x5e964b=_0x31280c[_0x1ec4cb(0x411)],_0x523904=this[_0x1ec4cb(0x301)];_0x31280c[_0x1ec4cb(0x191)]();for(var _0x1a566d=[],_0xb3b5b3=0x0;_0xb3b5b3<_0x5e964b;_0xb3b5b3+=0x3)for(var _0x4b1f7f=_0x5031e0[_0xb3b5b3>>>0x2]>>>0x18-_0xb3b5b3%0x4*0x8&0xff,_0x43da56=_0x5031e0[_0xb3b5b3+0x1>>>0x2]>>>0x18-(_0xb3b5b3+0x1)%0x4*0x8&0xff,_0x1ccefc=_0x5031e0[_0xb3b5b3+0x2>>>0x2]>>>0x18-(_0xb3b5b3+0x2)%0x4*0x8&0xff,_0x253003=_0x4b1f7f<<0x10|_0x43da56<<0x8|_0x1ccefc,_0x1f7a08=0x0;_0x1f7a08<0x4&&_0xb3b5b3+_0x1f7a08*0.75<_0x5e964b;_0x1f7a08++)_0x1a566d[_0x1ec4cb(0x239)](_0x523904[_0x1ec4cb(0x447)](_0x253003>>>0x6*(0x3-_0x1f7a08)&0x3f));var _0x509ea8=_0x523904[_0x1ec4cb(0x447)](0x40);if(_0x509ea8){for(;_0x1a566d[_0x1ec4cb(0x24a)]%0x4;)_0x1a566d[_0x1ec4cb(0x239)](_0x509ea8);}return _0x1a566d['join']('');},'parse':function(_0x2142ac){var _0x14613b=_0x50b814,_0x175db6=_0x2142ac[_0x14613b(0x24a)],_0x3797c5=this[_0x14613b(0x301)],_0x4f0089=this[_0x14613b(0x280)];if(!_0x4f0089){_0x4f0089=this[_0x14613b(0x280)]=[];for(var _0x103668=0x0;_0x103668<_0x3797c5[_0x14613b(0x24a)];_0x103668++)_0x4f0089[_0x3797c5[_0x14613b(0x3a9)](_0x103668)]=_0x103668;}var _0x400b39=_0x3797c5[_0x14613b(0x447)](0x40);if(_0x400b39){var _0x5024d0=_0x2142ac[_0x14613b(0x1c0)](_0x400b39);_0x5024d0!==-0x1&&(_0x175db6=_0x5024d0);}return _0x281333(_0x2142ac,_0x175db6,_0x4f0089);},'_map':_0x50b814(0x42b)};function _0x281333(_0xed2c5b,_0x165c57,_0x4d5386){var _0xa7f241=_0x50b814;for(var _0x4de587=[],_0x282524=0x0,_0x1e90d2=0x0;_0x1e90d2<_0x165c57;_0x1e90d2++)if(_0x1e90d2%0x4){var _0x3e627e=_0x4d5386[_0xed2c5b[_0xa7f241(0x3a9)](_0x1e90d2-0x1)]<<_0x1e90d2%0x4*0x2,_0x23d3af=_0x4d5386[_0xed2c5b[_0xa7f241(0x3a9)](_0x1e90d2)]>>>0x6-_0x1e90d2%0x4*0x2,_0x42e9bf=_0x3e627e|_0x23d3af;_0x4de587[_0x282524>>>0x2]|=_0x42e9bf<<0x18-_0x282524%0x4*0x8,_0x282524++;}return _0x34b7fd['create'](_0x4de587,_0x282524);}}()),_0x485488[_0x3ac187(0x3b0)][_0x3ac187(0x1f5)];}));}(We)),We[_0x3a2ead(0x3ba)];}var Ke={'exports':{}},Ar=Ke[_0x5f281c(0x3ba)],Qt;function xr(){return Qt||(Qt=0x1,function(_0x26f272,_0x2651f2){(function(_0x398770,_0x188924){var _0x4ef841=_0x5eda;_0x26f272[_0x4ef841(0x3ba)]=_0x188924(ie());}(Ar,function(_0x9f0bf7){var _0x3f9c91=_0x5eda;return function(_0x427f8f){var _0x4ebcf3=_0x5eda,_0x2123c7=_0x9f0bf7,_0xe2aaf=_0x2123c7['lib'],_0x1c670e=_0xe2aaf['WordArray'],_0xbc1da8=_0xe2aaf[_0x4ebcf3(0x357)],_0x3718d6=_0x2123c7[_0x4ebcf3(0x2ed)],_0x5932de=[];(function(){var _0x57e271=_0x4ebcf3;for(var _0x14e4c5=0x0;_0x14e4c5<0x40;_0x14e4c5++)_0x5932de[_0x14e4c5]=_0x427f8f[_0x57e271(0x270)](_0x427f8f[_0x57e271(0x274)](_0x14e4c5+0x1))*0x100000000|0x0;}());var _0x2b225a=_0x3718d6[_0x4ebcf3(0x423)]=_0xbc1da8[_0x4ebcf3(0x3cd)]({'_doReset':function(){var _0x362584=_0x4ebcf3;this[_0x362584(0x3c6)]=new _0x1c670e[(_0x362584(0x2fc))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x37b6ec,_0x2624d8){var _0x540556=_0x4ebcf3;for(var _0x48b0e2=0x0;_0x48b0e2<0x10;_0x48b0e2++){var _0x3ef9ee=_0x2624d8+_0x48b0e2,_0x380631=_0x37b6ec[_0x3ef9ee];_0x37b6ec[_0x3ef9ee]=(_0x380631<<0x8|_0x380631>>>0x18)&0xff00ff|(_0x380631<<0x18|_0x380631>>>0x8)&0xff00ff00;}var _0x542a11=this[_0x540556(0x3c6)][_0x540556(0x3c0)],_0x42756b=_0x37b6ec[_0x2624d8+0x0],_0x45ef0a=_0x37b6ec[_0x2624d8+0x1],_0x53c040=_0x37b6ec[_0x2624d8+0x2],_0x5cfeb6=_0x37b6ec[_0x2624d8+0x3],_0x36652a=_0x37b6ec[_0x2624d8+0x4],_0x4c562a=_0x37b6ec[_0x2624d8+0x5],_0x265c24=_0x37b6ec[_0x2624d8+0x6],_0x520bdf=_0x37b6ec[_0x2624d8+0x7],_0x5484f1=_0x37b6ec[_0x2624d8+0x8],_0x1a79f5=_0x37b6ec[_0x2624d8+0x9],_0x26a16e=_0x37b6ec[_0x2624d8+0xa],_0x48e768=_0x37b6ec[_0x2624d8+0xb],_0x9eb6e8=_0x37b6ec[_0x2624d8+0xc],_0x7b1448=_0x37b6ec[_0x2624d8+0xd],_0x3dde48=_0x37b6ec[_0x2624d8+0xe],_0x2ac478=_0x37b6ec[_0x2624d8+0xf],_0x10189c=_0x542a11[0x0],_0x54e818=_0x542a11[0x1],_0x150397=_0x542a11[0x2],_0x4bc4b6=_0x542a11[0x3];_0x10189c=_0x1d4128(_0x10189c,_0x54e818,_0x150397,_0x4bc4b6,_0x42756b,0x7,_0x5932de[0x0]),_0x4bc4b6=_0x1d4128(_0x4bc4b6,_0x10189c,_0x54e818,_0x150397,_0x45ef0a,0xc,_0x5932de[0x1]),_0x150397=_0x1d4128(_0x150397,_0x4bc4b6,_0x10189c,_0x54e818,_0x53c040,0x11,_0x5932de[0x2]),_0x54e818=_0x1d4128(_0x54e818,_0x150397,_0x4bc4b6,_0x10189c,_0x5cfeb6,0x16,_0x5932de[0x3]),_0x10189c=_0x1d4128(_0x10189c,_0x54e818,_0x150397,_0x4bc4b6,_0x36652a,0x7,_0x5932de[0x4]),_0x4bc4b6=_0x1d4128(_0x4bc4b6,_0x10189c,_0x54e818,_0x150397,_0x4c562a,0xc,_0x5932de[0x5]),_0x150397=_0x1d4128(_0x150397,_0x4bc4b6,_0x10189c,_0x54e818,_0x265c24,0x11,_0x5932de[0x6]),_0x54e818=_0x1d4128(_0x54e818,_0x150397,_0x4bc4b6,_0x10189c,_0x520bdf,0x16,_0x5932de[0x7]),_0x10189c=_0x1d4128(_0x10189c,_0x54e818,_0x150397,_0x4bc4b6,_0x5484f1,0x7,_0x5932de[0x8]),_0x4bc4b6=_0x1d4128(_0x4bc4b6,_0x10189c,_0x54e818,_0x150397,_0x1a79f5,0xc,_0x5932de[0x9]),_0x150397=_0x1d4128(_0x150397,_0x4bc4b6,_0x10189c,_0x54e818,_0x26a16e,0x11,_0x5932de[0xa]),_0x54e818=_0x1d4128(_0x54e818,_0x150397,_0x4bc4b6,_0x10189c,_0x48e768,0x16,_0x5932de[0xb]),_0x10189c=_0x1d4128(_0x10189c,_0x54e818,_0x150397,_0x4bc4b6,_0x9eb6e8,0x7,_0x5932de[0xc]),_0x4bc4b6=_0x1d4128(_0x4bc4b6,_0x10189c,_0x54e818,_0x150397,_0x7b1448,0xc,_0x5932de[0xd]),_0x150397=_0x1d4128(_0x150397,_0x4bc4b6,_0x10189c,_0x54e818,_0x3dde48,0x11,_0x5932de[0xe]),_0x54e818=_0x1d4128(_0x54e818,_0x150397,_0x4bc4b6,_0x10189c,_0x2ac478,0x16,_0x5932de[0xf]),_0x10189c=_0x2693ab(_0x10189c,_0x54e818,_0x150397,_0x4bc4b6,_0x45ef0a,0x5,_0x5932de[0x10]),_0x4bc4b6=_0x2693ab(_0x4bc4b6,_0x10189c,_0x54e818,_0x150397,_0x265c24,0x9,_0x5932de[0x11]),_0x150397=_0x2693ab(_0x150397,_0x4bc4b6,_0x10189c,_0x54e818,_0x48e768,0xe,_0x5932de[0x12]),_0x54e818=_0x2693ab(_0x54e818,_0x150397,_0x4bc4b6,_0x10189c,_0x42756b,0x14,_0x5932de[0x13]),_0x10189c=_0x2693ab(_0x10189c,_0x54e818,_0x150397,_0x4bc4b6,_0x4c562a,0x5,_0x5932de[0x14]),_0x4bc4b6=_0x2693ab(_0x4bc4b6,_0x10189c,_0x54e818,_0x150397,_0x26a16e,0x9,_0x5932de[0x15]),_0x150397=_0x2693ab(_0x150397,_0x4bc4b6,_0x10189c,_0x54e818,_0x2ac478,0xe,_0x5932de[0x16]),_0x54e818=_0x2693ab(_0x54e818,_0x150397,_0x4bc4b6,_0x10189c,_0x36652a,0x14,_0x5932de[0x17]),_0x10189c=_0x2693ab(_0x10189c,_0x54e818,_0x150397,_0x4bc4b6,_0x1a79f5,0x5,_0x5932de[0x18]),_0x4bc4b6=_0x2693ab(_0x4bc4b6,_0x10189c,_0x54e818,_0x150397,_0x3dde48,0x9,_0x5932de[0x19]),_0x150397=_0x2693ab(_0x150397,_0x4bc4b6,_0x10189c,_0x54e818,_0x5cfeb6,0xe,_0x5932de[0x1a]),_0x54e818=_0x2693ab(_0x54e818,_0x150397,_0x4bc4b6,_0x10189c,_0x5484f1,0x14,_0x5932de[0x1b]),_0x10189c=_0x2693ab(_0x10189c,_0x54e818,_0x150397,_0x4bc4b6,_0x7b1448,0x5,_0x5932de[0x1c]),_0x4bc4b6=_0x2693ab(_0x4bc4b6,_0x10189c,_0x54e818,_0x150397,_0x53c040,0x9,_0x5932de[0x1d]),_0x150397=_0x2693ab(_0x150397,_0x4bc4b6,_0x10189c,_0x54e818,_0x520bdf,0xe,_0x5932de[0x1e]),_0x54e818=_0x2693ab(_0x54e818,_0x150397,_0x4bc4b6,_0x10189c,_0x9eb6e8,0x14,_0x5932de[0x1f]),_0x10189c=_0xe30a48(_0x10189c,_0x54e818,_0x150397,_0x4bc4b6,_0x4c562a,0x4,_0x5932de[0x20]),_0x4bc4b6=_0xe30a48(_0x4bc4b6,_0x10189c,_0x54e818,_0x150397,_0x5484f1,0xb,_0x5932de[0x21]),_0x150397=_0xe30a48(_0x150397,_0x4bc4b6,_0x10189c,_0x54e818,_0x48e768,0x10,_0x5932de[0x22]),_0x54e818=_0xe30a48(_0x54e818,_0x150397,_0x4bc4b6,_0x10189c,_0x3dde48,0x17,_0x5932de[0x23]),_0x10189c=_0xe30a48(_0x10189c,_0x54e818,_0x150397,_0x4bc4b6,_0x45ef0a,0x4,_0x5932de[0x24]),_0x4bc4b6=_0xe30a48(_0x4bc4b6,_0x10189c,_0x54e818,_0x150397,_0x36652a,0xb,_0x5932de[0x25]),_0x150397=_0xe30a48(_0x150397,_0x4bc4b6,_0x10189c,_0x54e818,_0x520bdf,0x10,_0x5932de[0x26]),_0x54e818=_0xe30a48(_0x54e818,_0x150397,_0x4bc4b6,_0x10189c,_0x26a16e,0x17,_0x5932de[0x27]),_0x10189c=_0xe30a48(_0x10189c,_0x54e818,_0x150397,_0x4bc4b6,_0x7b1448,0x4,_0x5932de[0x28]),_0x4bc4b6=_0xe30a48(_0x4bc4b6,_0x10189c,_0x54e818,_0x150397,_0x42756b,0xb,_0x5932de[0x29]),_0x150397=_0xe30a48(_0x150397,_0x4bc4b6,_0x10189c,_0x54e818,_0x5cfeb6,0x10,_0x5932de[0x2a]),_0x54e818=_0xe30a48(_0x54e818,_0x150397,_0x4bc4b6,_0x10189c,_0x265c24,0x17,_0x5932de[0x2b]),_0x10189c=_0xe30a48(_0x10189c,_0x54e818,_0x150397,_0x4bc4b6,_0x1a79f5,0x4,_0x5932de[0x2c]),_0x4bc4b6=_0xe30a48(_0x4bc4b6,_0x10189c,_0x54e818,_0x150397,_0x9eb6e8,0xb,_0x5932de[0x2d]),_0x150397=_0xe30a48(_0x150397,_0x4bc4b6,_0x10189c,_0x54e818,_0x2ac478,0x10,_0x5932de[0x2e]),_0x54e818=_0xe30a48(_0x54e818,_0x150397,_0x4bc4b6,_0x10189c,_0x53c040,0x17,_0x5932de[0x2f]),_0x10189c=_0x4c1d86(_0x10189c,_0x54e818,_0x150397,_0x4bc4b6,_0x42756b,0x6,_0x5932de[0x30]),_0x4bc4b6=_0x4c1d86(_0x4bc4b6,_0x10189c,_0x54e818,_0x150397,_0x520bdf,0xa,_0x5932de[0x31]),_0x150397=_0x4c1d86(_0x150397,_0x4bc4b6,_0x10189c,_0x54e818,_0x3dde48,0xf,_0x5932de[0x32]),_0x54e818=_0x4c1d86(_0x54e818,_0x150397,_0x4bc4b6,_0x10189c,_0x4c562a,0x15,_0x5932de[0x33]),_0x10189c=_0x4c1d86(_0x10189c,_0x54e818,_0x150397,_0x4bc4b6,_0x9eb6e8,0x6,_0x5932de[0x34]),_0x4bc4b6=_0x4c1d86(_0x4bc4b6,_0x10189c,_0x54e818,_0x150397,_0x5cfeb6,0xa,_0x5932de[0x35]),_0x150397=_0x4c1d86(_0x150397,_0x4bc4b6,_0x10189c,_0x54e818,_0x26a16e,0xf,_0x5932de[0x36]),_0x54e818=_0x4c1d86(_0x54e818,_0x150397,_0x4bc4b6,_0x10189c,_0x45ef0a,0x15,_0x5932de[0x37]),_0x10189c=_0x4c1d86(_0x10189c,_0x54e818,_0x150397,_0x4bc4b6,_0x5484f1,0x6,_0x5932de[0x38]),_0x4bc4b6=_0x4c1d86(_0x4bc4b6,_0x10189c,_0x54e818,_0x150397,_0x2ac478,0xa,_0x5932de[0x39]),_0x150397=_0x4c1d86(_0x150397,_0x4bc4b6,_0x10189c,_0x54e818,_0x265c24,0xf,_0x5932de[0x3a]),_0x54e818=_0x4c1d86(_0x54e818,_0x150397,_0x4bc4b6,_0x10189c,_0x7b1448,0x15,_0x5932de[0x3b]),_0x10189c=_0x4c1d86(_0x10189c,_0x54e818,_0x150397,_0x4bc4b6,_0x36652a,0x6,_0x5932de[0x3c]),_0x4bc4b6=_0x4c1d86(_0x4bc4b6,_0x10189c,_0x54e818,_0x150397,_0x48e768,0xa,_0x5932de[0x3d]),_0x150397=_0x4c1d86(_0x150397,_0x4bc4b6,_0x10189c,_0x54e818,_0x53c040,0xf,_0x5932de[0x3e]),_0x54e818=_0x4c1d86(_0x54e818,_0x150397,_0x4bc4b6,_0x10189c,_0x1a79f5,0x15,_0x5932de[0x3f]),_0x542a11[0x0]=_0x542a11[0x0]+_0x10189c|0x0,_0x542a11[0x1]=_0x542a11[0x1]+_0x54e818|0x0,_0x542a11[0x2]=_0x542a11[0x2]+_0x150397|0x0,_0x542a11[0x3]=_0x542a11[0x3]+_0x4bc4b6|0x0;},'_doFinalize':function(){var _0x984c5a=_0x4ebcf3,_0x2b162e=this[_0x984c5a(0x1a3)],_0x2e8159=_0x2b162e[_0x984c5a(0x3c0)],_0x8c34f1=this[_0x984c5a(0x2cb)]*0x8,_0x168b8d=_0x2b162e[_0x984c5a(0x411)]*0x8;_0x2e8159[_0x168b8d>>>0x5]|=0x80<<0x18-_0x168b8d%0x20;var _0x552c65=_0x427f8f[_0x984c5a(0x378)](_0x8c34f1/0x100000000),_0x54bb13=_0x8c34f1;_0x2e8159[(_0x168b8d+0x40>>>0x9<<0x4)+0xf]=(_0x552c65<<0x8|_0x552c65>>>0x18)&0xff00ff|(_0x552c65<<0x18|_0x552c65>>>0x8)&0xff00ff00,_0x2e8159[(_0x168b8d+0x40>>>0x9<<0x4)+0xe]=(_0x54bb13<<0x8|_0x54bb13>>>0x18)&0xff00ff|(_0x54bb13<<0x18|_0x54bb13>>>0x8)&0xff00ff00,_0x2b162e[_0x984c5a(0x411)]=(_0x2e8159[_0x984c5a(0x24a)]+0x1)*0x4,this[_0x984c5a(0x3fc)]();for(var _0x5292ac=this[_0x984c5a(0x3c6)],_0x3b4509=_0x5292ac[_0x984c5a(0x3c0)],_0x599d2c=0x0;_0x599d2c<0x4;_0x599d2c++){var _0x132b8f=_0x3b4509[_0x599d2c];_0x3b4509[_0x599d2c]=(_0x132b8f<<0x8|_0x132b8f>>>0x18)&0xff00ff|(_0x132b8f<<0x18|_0x132b8f>>>0x8)&0xff00ff00;}return _0x5292ac;},'clone':function(){var _0x3dd43a=_0x4ebcf3,_0x1046f1=_0xbc1da8['clone'][_0x3dd43a(0x1f0)](this);return _0x1046f1[_0x3dd43a(0x3c6)]=this[_0x3dd43a(0x3c6)][_0x3dd43a(0x42f)](),_0x1046f1;}});function _0x1d4128(_0x4fdde5,_0x5afa20,_0x2ccbf6,_0x1006a1,_0x4881cc,_0x2c3923,_0x4f6633){var _0x1e1253=_0x4fdde5+(_0x5afa20&_0x2ccbf6|~_0x5afa20&_0x1006a1)+_0x4881cc+_0x4f6633;return(_0x1e1253<<_0x2c3923|_0x1e1253>>>0x20-_0x2c3923)+_0x5afa20;}function _0x2693ab(_0x400e2c,_0x3508f0,_0x3fe462,_0x5671ec,_0x119f38,_0x570add,_0x4030ad){var _0x37aa8a=_0x400e2c+(_0x3508f0&_0x5671ec|_0x3fe462&~_0x5671ec)+_0x119f38+_0x4030ad;return(_0x37aa8a<<_0x570add|_0x37aa8a>>>0x20-_0x570add)+_0x3508f0;}function _0xe30a48(_0x225295,_0x2eefd2,_0x35002e,_0x54ebc2,_0x42f349,_0xc38e0b,_0x22aa7b){var _0x5e531b=_0x225295+(_0x2eefd2^_0x35002e^_0x54ebc2)+_0x42f349+_0x22aa7b;return(_0x5e531b<<_0xc38e0b|_0x5e531b>>>0x20-_0xc38e0b)+_0x2eefd2;}function _0x4c1d86(_0x4cc9e6,_0x56fb9c,_0x3ea129,_0x53e7a6,_0xc86fc1,_0x78ffbf,_0x44ddb8){var _0x2a5c5f=_0x4cc9e6+(_0x3ea129^(_0x56fb9c|~_0x53e7a6))+_0xc86fc1+_0x44ddb8;return(_0x2a5c5f<<_0x78ffbf|_0x2a5c5f>>>0x20-_0x78ffbf)+_0x56fb9c;}_0x2123c7[_0x4ebcf3(0x423)]=_0xbc1da8['_createHelper'](_0x2b225a),_0x2123c7[_0x4ebcf3(0x2ff)]=_0xbc1da8[_0x4ebcf3(0x17d)](_0x2b225a);}(Math),_0x9f0bf7[_0x3f9c91(0x423)];}));}(Ke)),Ke['exports'];}var Ye={'exports':{}},qe={'exports':{}},Lr=qe[_0x5f281c(0x3ba)],ei;function Mr(){var _0x4fed5b=_0x5f281c;return ei||(ei=0x1,function(_0x29c848,_0x9849f6){(function(_0x54df92,_0x1ef80d){var _0x24a7ae=_0x5eda;_0x29c848[_0x24a7ae(0x3ba)]=_0x1ef80d(ie());}(Lr,function(_0x107ce0){var _0x15774a=_0x5eda;return(function(){var _0x3937f2=_0x5eda,_0x501c53=_0x107ce0,_0x540b31=_0x501c53[_0x3937f2(0x452)],_0xc3c88d=_0x540b31['WordArray'],_0x3e72e3=_0x540b31['Hasher'],_0x29214f=_0x501c53[_0x3937f2(0x2ed)],_0x4c2a03=[],_0x376e1f=_0x29214f[_0x3937f2(0x293)]=_0x3e72e3['extend']({'_doReset':function(){var _0x5a7e21=_0x3937f2;this[_0x5a7e21(0x3c6)]=new _0xc3c88d[(_0x5a7e21(0x2fc))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x2118a4,_0x4be46b){var _0x1e3298=_0x3937f2;for(var _0x1ce34b=this[_0x1e3298(0x3c6)][_0x1e3298(0x3c0)],_0x27e100=_0x1ce34b[0x0],_0x90280f=_0x1ce34b[0x1],_0x1344c1=_0x1ce34b[0x2],_0x248261=_0x1ce34b[0x3],_0x799949=_0x1ce34b[0x4],_0x30c03e=0x0;_0x30c03e<0x50;_0x30c03e++){if(_0x30c03e<0x10)_0x4c2a03[_0x30c03e]=_0x2118a4[_0x4be46b+_0x30c03e]|0x0;else{var _0x23d596=_0x4c2a03[_0x30c03e-0x3]^_0x4c2a03[_0x30c03e-0x8]^_0x4c2a03[_0x30c03e-0xe]^_0x4c2a03[_0x30c03e-0x10];_0x4c2a03[_0x30c03e]=_0x23d596<<0x1|_0x23d596>>>0x1f;}var _0x4f3a92=(_0x27e100<<0x5|_0x27e100>>>0x1b)+_0x799949+_0x4c2a03[_0x30c03e];_0x30c03e<0x14?_0x4f3a92+=(_0x90280f&_0x1344c1|~_0x90280f&_0x248261)+0x5a827999:_0x30c03e<0x28?_0x4f3a92+=(_0x90280f^_0x1344c1^_0x248261)+0x6ed9eba1:_0x30c03e<0x3c?_0x4f3a92+=(_0x90280f&_0x1344c1|_0x90280f&_0x248261|_0x1344c1&_0x248261)-0x70e44324:_0x4f3a92+=(_0x90280f^_0x1344c1^_0x248261)-0x359d3e2a,_0x799949=_0x248261,_0x248261=_0x1344c1,_0x1344c1=_0x90280f<<0x1e|_0x90280f>>>0x2,_0x90280f=_0x27e100,_0x27e100=_0x4f3a92;}_0x1ce34b[0x0]=_0x1ce34b[0x0]+_0x27e100|0x0,_0x1ce34b[0x1]=_0x1ce34b[0x1]+_0x90280f|0x0,_0x1ce34b[0x2]=_0x1ce34b[0x2]+_0x1344c1|0x0,_0x1ce34b[0x3]=_0x1ce34b[0x3]+_0x248261|0x0,_0x1ce34b[0x4]=_0x1ce34b[0x4]+_0x799949|0x0;},'_doFinalize':function(){var _0x5cc740=_0x3937f2,_0x281f3a=this['_data'],_0x3c378d=_0x281f3a['words'],_0x451b18=this[_0x5cc740(0x2cb)]*0x8,_0x5448c6=_0x281f3a[_0x5cc740(0x411)]*0x8;return _0x3c378d[_0x5448c6>>>0x5]|=0x80<<0x18-_0x5448c6%0x20,_0x3c378d[(_0x5448c6+0x40>>>0x9<<0x4)+0xe]=Math[_0x5cc740(0x378)](_0x451b18/0x100000000),_0x3c378d[(_0x5448c6+0x40>>>0x9<<0x4)+0xf]=_0x451b18,_0x281f3a[_0x5cc740(0x411)]=_0x3c378d[_0x5cc740(0x24a)]*0x4,this[_0x5cc740(0x3fc)](),this['_hash'];},'clone':function(){var _0x5919e2=_0x3937f2,_0x5c4e64=_0x3e72e3[_0x5919e2(0x42f)][_0x5919e2(0x1f0)](this);return _0x5c4e64[_0x5919e2(0x3c6)]=this[_0x5919e2(0x3c6)]['clone'](),_0x5c4e64;}});_0x501c53[_0x3937f2(0x293)]=_0x3e72e3[_0x3937f2(0x33c)](_0x376e1f),_0x501c53['HmacSHA1']=_0x3e72e3[_0x3937f2(0x17d)](_0x376e1f);}()),_0x107ce0[_0x15774a(0x293)];}));}(qe)),qe[_0x4fed5b(0x3ba)];}var ze={'exports':{}},$r=ze[_0x5f281c(0x3ba)],ti;function Hr(){var _0x50121b=_0x5f281c;return ti||(ti=0x1,function(_0x7e054d,_0x11ac6f){(function(_0x2ca7e8,_0xfb4b7){var _0x33a718=_0x5eda;_0x7e054d[_0x33a718(0x3ba)]=_0xfb4b7(ie());}($r,function(_0x11c91b){(function(){var _0x523426=_0x5eda,_0x4308b1=_0x11c91b,_0x334b73=_0x4308b1['lib'],_0x177fbb=_0x334b73[_0x523426(0x23d)],_0x5a35b7=_0x4308b1['enc'],_0x587026=_0x5a35b7[_0x523426(0x283)],_0x561a52=_0x4308b1[_0x523426(0x2ed)];_0x561a52[_0x523426(0x199)]=_0x177fbb['extend']({'init':function(_0x2892a6,_0xd2e45e){var _0x173f98=_0x523426;_0x2892a6=this[_0x173f98(0x215)]=new _0x2892a6['init'](),typeof _0xd2e45e=='string'&&(_0xd2e45e=_0x587026[_0x173f98(0x3ef)](_0xd2e45e));var _0x5e9938=_0x2892a6[_0x173f98(0x18e)],_0x3a3836=_0x5e9938*0x4;_0xd2e45e[_0x173f98(0x411)]>_0x3a3836&&(_0xd2e45e=_0x2892a6['finalize'](_0xd2e45e)),_0xd2e45e[_0x173f98(0x191)]();for(var _0x1bbe60=this['_oKey']=_0xd2e45e['clone'](),_0x2357b8=this[_0x173f98(0x443)]=_0xd2e45e[_0x173f98(0x42f)](),_0x1a778c=_0x1bbe60[_0x173f98(0x3c0)],_0x2786f7=_0x2357b8[_0x173f98(0x3c0)],_0x4ce799=0x0;_0x4ce799<_0x5e9938;_0x4ce799++)_0x1a778c[_0x4ce799]^=0x5c5c5c5c,_0x2786f7[_0x4ce799]^=0x36363636;_0x1bbe60['sigBytes']=_0x2357b8[_0x173f98(0x411)]=_0x3a3836,this['reset']();},'reset':function(){var _0x21fea0=_0x523426,_0x206a42=this[_0x21fea0(0x215)];_0x206a42[_0x21fea0(0x3ab)](),_0x206a42['update'](this[_0x21fea0(0x443)]);},'update':function(_0x5dc4c0){var _0x29bf58=_0x523426;return this['_hasher'][_0x29bf58(0x472)](_0x5dc4c0),this;},'finalize':function(_0x43ac85){var _0x3a15e2=_0x523426,_0x4550c4=this[_0x3a15e2(0x215)],_0x4acc76=_0x4550c4[_0x3a15e2(0x212)](_0x43ac85);_0x4550c4[_0x3a15e2(0x3ab)]();var _0x5a7229=_0x4550c4['finalize'](this[_0x3a15e2(0x3c7)]['clone']()[_0x3a15e2(0x336)](_0x4acc76));return _0x5a7229;}});}());}));}(ze)),ze[_0x50121b(0x3ba)];}var kr=Ye[_0x5f281c(0x3ba)],ii;function Pi(){var _0x48c811=_0x5f281c;return ii||(ii=0x1,function(_0x38bc79,_0x243809){(function(_0x5582c5,_0x3ed2f1,_0x1e9aa6){var _0xc61b4c=_0x5eda;_0x38bc79[_0xc61b4c(0x3ba)]=_0x3ed2f1(ie(),Mr(),Hr());}(kr,function(_0x4cc712){return(function(){var _0x3cab85=_0x5eda,_0x225d76=_0x4cc712,_0x2ed838=_0x225d76['lib'],_0x331e16=_0x2ed838[_0x3cab85(0x23d)],_0x253660=_0x2ed838['WordArray'],_0x5d532a=_0x225d76[_0x3cab85(0x2ed)],_0x1cc2b0=_0x5d532a['MD5'],_0x407cc3=_0x5d532a[_0x3cab85(0x2a1)]=_0x331e16[_0x3cab85(0x3cd)]({'cfg':_0x331e16[_0x3cab85(0x3cd)]({'keySize':0x80/0x20,'hasher':_0x1cc2b0,'iterations':0x1}),'init':function(_0x45d0fd){var _0x163ad9=_0x3cab85;this[_0x163ad9(0x179)]=this['cfg'][_0x163ad9(0x3cd)](_0x45d0fd);},'compute':function(_0x3aeb7a,_0xd3d90){var _0x339814=_0x3cab85;for(var _0x423759,_0x1a6c0a=this[_0x339814(0x179)],_0x20da37=_0x1a6c0a[_0x339814(0x286)][_0x339814(0x28f)](),_0x31cf81=_0x253660['create'](),_0x208369=_0x31cf81[_0x339814(0x3c0)],_0x367e01=_0x1a6c0a[_0x339814(0x1d1)],_0x35d218=_0x1a6c0a[_0x339814(0x28c)];_0x208369['length']<_0x367e01;){_0x423759&&_0x20da37['update'](_0x423759),_0x423759=_0x20da37[_0x339814(0x472)](_0x3aeb7a)[_0x339814(0x212)](_0xd3d90),_0x20da37[_0x339814(0x3ab)]();for(var _0x3375d2=0x1;_0x3375d2<_0x35d218;_0x3375d2++)_0x423759=_0x20da37[_0x339814(0x212)](_0x423759),_0x20da37['reset']();_0x31cf81[_0x339814(0x336)](_0x423759);}return _0x31cf81['sigBytes']=_0x367e01*0x4,_0x31cf81;}});_0x225d76['EvpKDF']=function(_0x5df42e,_0xb4c27,_0x40e304){var _0x4b475d=_0x3cab85;return _0x407cc3[_0x4b475d(0x28f)](_0x40e304)[_0x4b475d(0x38b)](_0x5df42e,_0xb4c27);};}()),_0x4cc712['EvpKDF'];}));}(Ye)),Ye[_0x48c811(0x3ba)];}var Je={'exports':{}},jr=Je[_0x5f281c(0x3ba)],ni;function wi(){var _0x1abf5e=_0x5f281c;return ni||(ni=0x1,function(_0x2e9739,_0x5d9196){(function(_0x160c3e,_0x2baded,_0xec4255){var _0x4b50ef=_0x5eda;_0x2e9739[_0x4b50ef(0x3ba)]=_0x2baded(ie(),Pi());}(jr,function(_0x35048c){var _0x164994=_0x5eda;_0x35048c[_0x164994(0x452)][_0x164994(0x2c9)]||function(_0x125288){var _0x3d4480=_0x164994,_0x5b0d5d=_0x35048c,_0x5edc2f=_0x5b0d5d[_0x3d4480(0x452)],_0x2e56b9=_0x5edc2f[_0x3d4480(0x23d)],_0x32a39e=_0x5edc2f[_0x3d4480(0x1ea)],_0x54f2b9=_0x5edc2f['BufferedBlockAlgorithm'],_0x1b02d7=_0x5b0d5d[_0x3d4480(0x3b0)];_0x1b02d7[_0x3d4480(0x283)];var _0x1e98bb=_0x1b02d7['Base64'],_0x3c0526=_0x5b0d5d[_0x3d4480(0x2ed)],_0x49d6f1=_0x3c0526[_0x3d4480(0x2a1)],_0x309c4b=_0x5edc2f['Cipher']=_0x54f2b9[_0x3d4480(0x3cd)]({'cfg':_0x2e56b9[_0x3d4480(0x3cd)](),'createEncryptor':function(_0x2d91dd,_0x32f351){var _0x17e4f2=_0x3d4480;return this[_0x17e4f2(0x28f)](this['_ENC_XFORM_MODE'],_0x2d91dd,_0x32f351);},'createDecryptor':function(_0x48f912,_0x42d769){var _0x3f51ff=_0x3d4480;return this[_0x3f51ff(0x28f)](this[_0x3f51ff(0x40a)],_0x48f912,_0x42d769);},'init':function(_0x3b1b40,_0xaed4e6,_0x352b54){var _0x1d1dfa=_0x3d4480;this['cfg']=this[_0x1d1dfa(0x179)][_0x1d1dfa(0x3cd)](_0x352b54),this['_xformMode']=_0x3b1b40,this[_0x1d1dfa(0x477)]=_0xaed4e6,this[_0x1d1dfa(0x3ab)]();},'reset':function(){var _0x2d1316=_0x3d4480;_0x54f2b9[_0x2d1316(0x3ab)][_0x2d1316(0x1f0)](this),this[_0x2d1316(0x2dc)]();},'process':function(_0x1acfd5){var _0x4aa800=_0x3d4480;return this[_0x4aa800(0x1fc)](_0x1acfd5),this['_process']();},'finalize':function(_0x569d9c){var _0x1b7933=_0x3d4480;_0x569d9c&&this[_0x1b7933(0x1fc)](_0x569d9c);var _0x19a6dc=this[_0x1b7933(0x1d8)]();return _0x19a6dc;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x12bd24(_0x339f84){var _0x465fd1=_0x5eda;return typeof _0x339f84==_0x465fd1(0x194)?_0x2e4cff:_0x4fe7fb;}return function(_0x78e6ff){return{'encrypt':function(_0x589a5a,_0x3218d1,_0x5426c3){var _0x229cc0=_0x5eda;return _0x12bd24(_0x3218d1)[_0x229cc0(0x2bf)](_0x78e6ff,_0x589a5a,_0x3218d1,_0x5426c3);},'decrypt':function(_0x2ca041,_0x2fccce,_0x39ed95){var _0x4d8eac=_0x5eda;return _0x12bd24(_0x2fccce)[_0x4d8eac(0x246)](_0x78e6ff,_0x2ca041,_0x2fccce,_0x39ed95);}};};}())});_0x5edc2f[_0x3d4480(0x262)]=_0x309c4b[_0x3d4480(0x3cd)]({'_doFinalize':function(){var _0x59af73=this['_process'](!0x0);return _0x59af73;},'blockSize':0x1});var _0x2c498a=_0x5b0d5d[_0x3d4480(0x41a)]={},_0x2a841b=_0x5edc2f[_0x3d4480(0x248)]=_0x2e56b9['extend']({'createEncryptor':function(_0x25c2e1,_0x2f8d9b){var _0x5da1de=_0x3d4480;return this[_0x5da1de(0x2b8)]['create'](_0x25c2e1,_0x2f8d9b);},'createDecryptor':function(_0x457267,_0x5afcbf){var _0x4db489=_0x3d4480;return this[_0x4db489(0x22a)][_0x4db489(0x28f)](_0x457267,_0x5afcbf);},'init':function(_0x452aea,_0x2bf1eb){var _0x28a4cf=_0x3d4480;this[_0x28a4cf(0x1aa)]=_0x452aea,this[_0x28a4cf(0x2bb)]=_0x2bf1eb;}}),_0x3965c3=_0x2c498a['CBC']=(function(){var _0x120228=_0x3d4480,_0x3327fb=_0x2a841b[_0x120228(0x3cd)]();_0x3327fb[_0x120228(0x2b8)]=_0x3327fb['extend']({'processBlock':function(_0x461faa,_0x1ccdb4){var _0x4818ad=_0x120228,_0x16caa0=this[_0x4818ad(0x1aa)],_0x3e9e09=_0x16caa0[_0x4818ad(0x18e)];_0x339568[_0x4818ad(0x1f0)](this,_0x461faa,_0x1ccdb4,_0x3e9e09),_0x16caa0[_0x4818ad(0x28d)](_0x461faa,_0x1ccdb4),this[_0x4818ad(0x207)]=_0x461faa['slice'](_0x1ccdb4,_0x1ccdb4+_0x3e9e09);}}),_0x3327fb['Decryptor']=_0x3327fb[_0x120228(0x3cd)]({'processBlock':function(_0x17132f,_0x2c21ab){var _0x27951a=_0x120228,_0x5607d9=this[_0x27951a(0x1aa)],_0x140919=_0x5607d9[_0x27951a(0x18e)],_0x5e0ea7=_0x17132f['slice'](_0x2c21ab,_0x2c21ab+_0x140919);_0x5607d9[_0x27951a(0x175)](_0x17132f,_0x2c21ab),_0x339568[_0x27951a(0x1f0)](this,_0x17132f,_0x2c21ab,_0x140919),this[_0x27951a(0x207)]=_0x5e0ea7;}});function _0x339568(_0x34c7e0,_0x3fa472,_0xe5f57){var _0x11cdb1=_0x120228,_0x5a0c60,_0x3148d1=this[_0x11cdb1(0x2bb)];_0x3148d1?(_0x5a0c60=_0x3148d1,this[_0x11cdb1(0x2bb)]=_0x125288):_0x5a0c60=this[_0x11cdb1(0x207)];for(var _0x5e9ec7=0x0;_0x5e9ec7<_0xe5f57;_0x5e9ec7++)_0x34c7e0[_0x3fa472+_0x5e9ec7]^=_0x5a0c60[_0x5e9ec7];}return _0x3327fb;}()),_0x3f55d9=_0x5b0d5d[_0x3d4480(0x39a)]={},_0x4495ab=_0x3f55d9[_0x3d4480(0x261)]={'pad':function(_0x3c7c09,_0x570fca){var _0x3f6d8c=_0x3d4480;for(var _0x317048=_0x570fca*0x4,_0x1fb4ba=_0x317048-_0x3c7c09[_0x3f6d8c(0x411)]%_0x317048,_0x88f122=_0x1fb4ba<<0x18|_0x1fb4ba<<0x10|_0x1fb4ba<<0x8|_0x1fb4ba,_0x5b2d6a=[],_0x5c0b2c=0x0;_0x5c0b2c<_0x1fb4ba;_0x5c0b2c+=0x4)_0x5b2d6a[_0x3f6d8c(0x239)](_0x88f122);var _0x24fad0=_0x32a39e[_0x3f6d8c(0x28f)](_0x5b2d6a,_0x1fb4ba);_0x3c7c09[_0x3f6d8c(0x336)](_0x24fad0);},'unpad':function(_0x132b4a){var _0x3406cd=_0x3d4480,_0x4b3626=_0x132b4a[_0x3406cd(0x3c0)][_0x132b4a['sigBytes']-0x1>>>0x2]&0xff;_0x132b4a[_0x3406cd(0x411)]-=_0x4b3626;}};_0x5edc2f[_0x3d4480(0x394)]=_0x309c4b['extend']({'cfg':_0x309c4b[_0x3d4480(0x179)][_0x3d4480(0x3cd)]({'mode':_0x3965c3,'padding':_0x4495ab}),'reset':function(){var _0x3cbfe7=_0x3d4480,_0x23f837;_0x309c4b[_0x3cbfe7(0x3ab)][_0x3cbfe7(0x1f0)](this);var _0x522ad0=this[_0x3cbfe7(0x179)],_0x4c4e8d=_0x522ad0['iv'],_0x3165e2=_0x522ad0[_0x3cbfe7(0x41a)];this[_0x3cbfe7(0x392)]==this[_0x3cbfe7(0x247)]?_0x23f837=_0x3165e2['createEncryptor']:(_0x23f837=_0x3165e2[_0x3cbfe7(0x222)],this[_0x3cbfe7(0x350)]=0x1),this[_0x3cbfe7(0x1c3)]&&this[_0x3cbfe7(0x1c3)][_0x3cbfe7(0x3f4)]==_0x23f837?this[_0x3cbfe7(0x1c3)][_0x3cbfe7(0x2fc)](this,_0x4c4e8d&&_0x4c4e8d[_0x3cbfe7(0x3c0)]):(this[_0x3cbfe7(0x1c3)]=_0x23f837[_0x3cbfe7(0x1f0)](_0x3165e2,this,_0x4c4e8d&&_0x4c4e8d[_0x3cbfe7(0x3c0)]),this[_0x3cbfe7(0x1c3)][_0x3cbfe7(0x3f4)]=_0x23f837);},'_doProcessBlock':function(_0x35fe7f,_0x28e7b4){var _0xc59eb2=_0x3d4480;this[_0xc59eb2(0x1c3)]['processBlock'](_0x35fe7f,_0x28e7b4);},'_doFinalize':function(){var _0x3b75c2=_0x3d4480,_0x1f8bbb,_0xb55984=this[_0x3b75c2(0x179)][_0x3b75c2(0x3b2)];return this[_0x3b75c2(0x392)]==this['_ENC_XFORM_MODE']?(_0xb55984[_0x3b75c2(0x39a)](this[_0x3b75c2(0x1a3)],this[_0x3b75c2(0x18e)]),_0x1f8bbb=this[_0x3b75c2(0x3fc)](!0x0)):(_0x1f8bbb=this[_0x3b75c2(0x3fc)](!0x0),_0xb55984['unpad'](_0x1f8bbb)),_0x1f8bbb;},'blockSize':0x80/0x20});var _0x191556=_0x5edc2f[_0x3d4480(0x251)]=_0x2e56b9[_0x3d4480(0x3cd)]({'init':function(_0x831d17){var _0x54d903=_0x3d4480;this[_0x54d903(0x340)](_0x831d17);},'toString':function(_0xd97093){var _0x35ecc2=_0x3d4480;return(_0xd97093||this['formatter'])[_0x35ecc2(0x29f)](this);}}),_0x274eed=_0x5b0d5d[_0x3d4480(0x389)]={},_0x43a73e=_0x274eed['OpenSSL']={'stringify':function(_0x49fa76){var _0x4ba5e0=_0x3d4480,_0x302fd8,_0x9aa838=_0x49fa76['ciphertext'],_0x1f1890=_0x49fa76[_0x4ba5e0(0x2e4)];return _0x1f1890?_0x302fd8=_0x32a39e['create']([0x53616c74,0x65645f5f])['concat'](_0x1f1890)[_0x4ba5e0(0x336)](_0x9aa838):_0x302fd8=_0x9aa838,_0x302fd8[_0x4ba5e0(0x2df)](_0x1e98bb);},'parse':function(_0x289f7b){var _0x28f4f2=_0x3d4480,_0x3a524c,_0x282bf9=_0x1e98bb[_0x28f4f2(0x3ef)](_0x289f7b),_0x10dfcc=_0x282bf9[_0x28f4f2(0x3c0)];return _0x10dfcc[0x0]==0x53616c74&&_0x10dfcc[0x1]==0x65645f5f&&(_0x3a524c=_0x32a39e[_0x28f4f2(0x28f)](_0x10dfcc[_0x28f4f2(0x196)](0x2,0x4)),_0x10dfcc[_0x28f4f2(0x28a)](0x0,0x4),_0x282bf9[_0x28f4f2(0x411)]-=0x10),_0x191556[_0x28f4f2(0x28f)]({'ciphertext':_0x282bf9,'salt':_0x3a524c});}},_0x4fe7fb=_0x5edc2f[_0x3d4480(0x366)]=_0x2e56b9[_0x3d4480(0x3cd)]({'cfg':_0x2e56b9[_0x3d4480(0x3cd)]({'format':_0x43a73e}),'encrypt':function(_0x563fd0,_0x1854e2,_0x178a1d,_0x25d140){var _0x25038d=_0x3d4480;_0x25d140=this[_0x25038d(0x179)][_0x25038d(0x3cd)](_0x25d140);var _0x55772a=_0x563fd0[_0x25038d(0x192)](_0x178a1d,_0x25d140),_0x1f5d6d=_0x55772a[_0x25038d(0x212)](_0x1854e2),_0x23ff6a=_0x55772a[_0x25038d(0x179)];return _0x191556[_0x25038d(0x28f)]({'ciphertext':_0x1f5d6d,'key':_0x178a1d,'iv':_0x23ff6a['iv'],'algorithm':_0x563fd0,'mode':_0x23ff6a[_0x25038d(0x41a)],'padding':_0x23ff6a[_0x25038d(0x3b2)],'blockSize':_0x563fd0[_0x25038d(0x18e)],'formatter':_0x25d140[_0x25038d(0x389)]});},'decrypt':function(_0x4ae065,_0x40d1ad,_0x2c6b69,_0x1b95aa){var _0x223fcc=_0x3d4480;_0x1b95aa=this[_0x223fcc(0x179)][_0x223fcc(0x3cd)](_0x1b95aa),_0x40d1ad=this[_0x223fcc(0x333)](_0x40d1ad,_0x1b95aa[_0x223fcc(0x389)]);var _0x101bdb=_0x4ae065['createDecryptor'](_0x2c6b69,_0x1b95aa)[_0x223fcc(0x212)](_0x40d1ad[_0x223fcc(0x1ce)]);return _0x101bdb;},'_parse':function(_0x5573ef,_0x3c3ee4){return typeof _0x5573ef=='string'?_0x3c3ee4['parse'](_0x5573ef,this):_0x5573ef;}}),_0x2e037b=_0x5b0d5d['kdf']={},_0x591d8e=_0x2e037b[_0x3d4480(0x236)]={'execute':function(_0xe56814,_0x24a700,_0x1bb161,_0x18a45d,_0x58f546){var _0x55ef8d=_0x3d4480;if(_0x18a45d||(_0x18a45d=_0x32a39e[_0x55ef8d(0x451)](0x40/0x8)),_0x58f546)var _0x23fe0a=_0x49d6f1[_0x55ef8d(0x28f)]({'keySize':_0x24a700+_0x1bb161,'hasher':_0x58f546})[_0x55ef8d(0x38b)](_0xe56814,_0x18a45d);else var _0x23fe0a=_0x49d6f1[_0x55ef8d(0x28f)]({'keySize':_0x24a700+_0x1bb161})['compute'](_0xe56814,_0x18a45d);var _0x509caf=_0x32a39e[_0x55ef8d(0x28f)](_0x23fe0a['words'][_0x55ef8d(0x196)](_0x24a700),_0x1bb161*0x4);return _0x23fe0a[_0x55ef8d(0x411)]=_0x24a700*0x4,_0x191556[_0x55ef8d(0x28f)]({'key':_0x23fe0a,'iv':_0x509caf,'salt':_0x18a45d});}},_0x2e4cff=_0x5edc2f[_0x3d4480(0x435)]=_0x4fe7fb[_0x3d4480(0x3cd)]({'cfg':_0x4fe7fb[_0x3d4480(0x179)]['extend']({'kdf':_0x591d8e}),'encrypt':function(_0x2d5207,_0x593f95,_0x13bc32,_0x19aa63){var _0x46bf6a=_0x3d4480;_0x19aa63=this['cfg'][_0x46bf6a(0x3cd)](_0x19aa63);var _0x3c744d=_0x19aa63[_0x46bf6a(0x1e5)]['execute'](_0x13bc32,_0x2d5207[_0x46bf6a(0x1d1)],_0x2d5207[_0x46bf6a(0x440)],_0x19aa63[_0x46bf6a(0x2e4)],_0x19aa63[_0x46bf6a(0x286)]);_0x19aa63['iv']=_0x3c744d['iv'];var _0x129fd2=_0x4fe7fb[_0x46bf6a(0x2bf)][_0x46bf6a(0x1f0)](this,_0x2d5207,_0x593f95,_0x3c744d[_0x46bf6a(0x457)],_0x19aa63);return _0x129fd2[_0x46bf6a(0x340)](_0x3c744d),_0x129fd2;},'decrypt':function(_0x44f6de,_0x583756,_0x52c795,_0x52cdf8){var _0x38f9e5=_0x3d4480;_0x52cdf8=this[_0x38f9e5(0x179)][_0x38f9e5(0x3cd)](_0x52cdf8),_0x583756=this[_0x38f9e5(0x333)](_0x583756,_0x52cdf8['format']);var _0x57bbc0=_0x52cdf8['kdf'][_0x38f9e5(0x3e6)](_0x52c795,_0x44f6de[_0x38f9e5(0x1d1)],_0x44f6de[_0x38f9e5(0x440)],_0x583756[_0x38f9e5(0x2e4)],_0x52cdf8[_0x38f9e5(0x286)]);_0x52cdf8['iv']=_0x57bbc0['iv'];var _0x4350b4=_0x4fe7fb[_0x38f9e5(0x246)]['call'](this,_0x44f6de,_0x583756,_0x57bbc0[_0x38f9e5(0x457)],_0x52cdf8);return _0x4350b4;}});}();}));}(Je)),Je[_0x1abf5e(0x3ba)];}var Br=Ge[_0x5f281c(0x3ba)],ri;function Fr(){return ri||(ri=0x1,function(_0x9bf9d3,_0x25140){(function(_0x1f504d,_0x6f0f8b,_0x37ee48){var _0x41b1ab=_0x5eda;_0x9bf9d3[_0x41b1ab(0x3ba)]=_0x6f0f8b(ie(),Di(),xr(),Pi(),wi());}(Br,function(_0x597ab3){var _0x36ce83=_0x5eda;return(function(){var _0x569b35=_0x5eda,_0x320501=_0x597ab3,_0x5c03e8=_0x320501[_0x569b35(0x452)],_0x4a29a8=_0x5c03e8[_0x569b35(0x394)],_0x43eeca=_0x320501['algo'],_0x56fcbf=[],_0x30aab8=[],_0x5054cb=[],_0xf589cd=[],_0x4417e9=[],_0x147a77=[],_0x2c4ee7=[],_0x1e907a=[],_0x240255=[],_0x150b17=[];(function(){for(var _0x58f2cc=[],_0x3ccb0a=0x0;_0x3ccb0a<0x100;_0x3ccb0a++)_0x3ccb0a<0x80?_0x58f2cc[_0x3ccb0a]=_0x3ccb0a<<0x1:_0x58f2cc[_0x3ccb0a]=_0x3ccb0a<<0x1^0x11b;for(var _0x275a51=0x0,_0x42abcc=0x0,_0x3ccb0a=0x0;_0x3ccb0a<0x100;_0x3ccb0a++){var _0x350a85=_0x42abcc^_0x42abcc<<0x1^_0x42abcc<<0x2^_0x42abcc<<0x3^_0x42abcc<<0x4;_0x350a85=_0x350a85>>>0x8^_0x350a85&0xff^0x63,_0x56fcbf[_0x275a51]=_0x350a85,_0x30aab8[_0x350a85]=_0x275a51;var _0x145b2b=_0x58f2cc[_0x275a51],_0x234aae=_0x58f2cc[_0x145b2b],_0x4248e0=_0x58f2cc[_0x234aae],_0x40d03e=_0x58f2cc[_0x350a85]*0x101^_0x350a85*0x1010100;_0x5054cb[_0x275a51]=_0x40d03e<<0x18|_0x40d03e>>>0x8,_0xf589cd[_0x275a51]=_0x40d03e<<0x10|_0x40d03e>>>0x10,_0x4417e9[_0x275a51]=_0x40d03e<<0x8|_0x40d03e>>>0x18,_0x147a77[_0x275a51]=_0x40d03e;var _0x40d03e=_0x4248e0*0x1010101^_0x234aae*0x10001^_0x145b2b*0x101^_0x275a51*0x1010100;_0x2c4ee7[_0x350a85]=_0x40d03e<<0x18|_0x40d03e>>>0x8,_0x1e907a[_0x350a85]=_0x40d03e<<0x10|_0x40d03e>>>0x10,_0x240255[_0x350a85]=_0x40d03e<<0x8|_0x40d03e>>>0x18,_0x150b17[_0x350a85]=_0x40d03e,_0x275a51?(_0x275a51=_0x145b2b^_0x58f2cc[_0x58f2cc[_0x58f2cc[_0x4248e0^_0x145b2b]]],_0x42abcc^=_0x58f2cc[_0x58f2cc[_0x42abcc]]):_0x275a51=_0x42abcc=0x1;}}());var _0x141b0b=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x4966d0=_0x43eeca['AES']=_0x4a29a8[_0x569b35(0x3cd)]({'_doReset':function(){var _0x2b2a8a=_0x569b35,_0x4c9cc2;if(!(this['_nRounds']&&this[_0x2b2a8a(0x358)]===this[_0x2b2a8a(0x477)])){for(var _0xd3c74e=this['_keyPriorReset']=this['_key'],_0x50f297=_0xd3c74e[_0x2b2a8a(0x3c0)],_0xd6f94c=_0xd3c74e['sigBytes']/0x4,_0x5d9d6a=this[_0x2b2a8a(0x398)]=_0xd6f94c+0x6,_0x12ab5b=(_0x5d9d6a+0x1)*0x4,_0x19fb4b=this[_0x2b2a8a(0x3ec)]=[],_0x16c4c0=0x0;_0x16c4c0<_0x12ab5b;_0x16c4c0++)_0x16c4c0<_0xd6f94c?_0x19fb4b[_0x16c4c0]=_0x50f297[_0x16c4c0]:(_0x4c9cc2=_0x19fb4b[_0x16c4c0-0x1],_0x16c4c0%_0xd6f94c?_0xd6f94c>0x6&&_0x16c4c0%_0xd6f94c==0x4&&(_0x4c9cc2=_0x56fcbf[_0x4c9cc2>>>0x18]<<0x18|_0x56fcbf[_0x4c9cc2>>>0x10&0xff]<<0x10|_0x56fcbf[_0x4c9cc2>>>0x8&0xff]<<0x8|_0x56fcbf[_0x4c9cc2&0xff]):(_0x4c9cc2=_0x4c9cc2<<0x8|_0x4c9cc2>>>0x18,_0x4c9cc2=_0x56fcbf[_0x4c9cc2>>>0x18]<<0x18|_0x56fcbf[_0x4c9cc2>>>0x10&0xff]<<0x10|_0x56fcbf[_0x4c9cc2>>>0x8&0xff]<<0x8|_0x56fcbf[_0x4c9cc2&0xff],_0x4c9cc2^=_0x141b0b[_0x16c4c0/_0xd6f94c|0x0]<<0x18),_0x19fb4b[_0x16c4c0]=_0x19fb4b[_0x16c4c0-_0xd6f94c]^_0x4c9cc2);for(var _0x5aa0ff=this[_0x2b2a8a(0x372)]=[],_0x1c2f63=0x0;_0x1c2f63<_0x12ab5b;_0x1c2f63++){var _0x16c4c0=_0x12ab5b-_0x1c2f63;if(_0x1c2f63%0x4)var _0x4c9cc2=_0x19fb4b[_0x16c4c0];else var _0x4c9cc2=_0x19fb4b[_0x16c4c0-0x4];_0x1c2f63<0x4||_0x16c4c0<=0x4?_0x5aa0ff[_0x1c2f63]=_0x4c9cc2:_0x5aa0ff[_0x1c2f63]=_0x2c4ee7[_0x56fcbf[_0x4c9cc2>>>0x18]]^_0x1e907a[_0x56fcbf[_0x4c9cc2>>>0x10&0xff]]^_0x240255[_0x56fcbf[_0x4c9cc2>>>0x8&0xff]]^_0x150b17[_0x56fcbf[_0x4c9cc2&0xff]];}}},'encryptBlock':function(_0x26108c,_0x4bc482){var _0xbe0691=_0x569b35;this[_0xbe0691(0x2fb)](_0x26108c,_0x4bc482,this[_0xbe0691(0x3ec)],_0x5054cb,_0xf589cd,_0x4417e9,_0x147a77,_0x56fcbf);},'decryptBlock':function(_0x4d7abe,_0x5dc588){var _0x2d08a2=_0x569b35,_0x1b80f2=_0x4d7abe[_0x5dc588+0x1];_0x4d7abe[_0x5dc588+0x1]=_0x4d7abe[_0x5dc588+0x3],_0x4d7abe[_0x5dc588+0x3]=_0x1b80f2,this[_0x2d08a2(0x2fb)](_0x4d7abe,_0x5dc588,this['_invKeySchedule'],_0x2c4ee7,_0x1e907a,_0x240255,_0x150b17,_0x30aab8);var _0x1b80f2=_0x4d7abe[_0x5dc588+0x1];_0x4d7abe[_0x5dc588+0x1]=_0x4d7abe[_0x5dc588+0x3],_0x4d7abe[_0x5dc588+0x3]=_0x1b80f2;},'_doCryptBlock':function(_0x5957d5,_0x36f930,_0x51b0e9,_0x55de65,_0x25a86b,_0x5a2018,_0x2bfe72,_0x224606){var _0x94caa6=_0x569b35;for(var _0x1f2514=this[_0x94caa6(0x398)],_0x14bdff=_0x5957d5[_0x36f930]^_0x51b0e9[0x0],_0x536117=_0x5957d5[_0x36f930+0x1]^_0x51b0e9[0x1],_0x41159b=_0x5957d5[_0x36f930+0x2]^_0x51b0e9[0x2],_0x2d3e95=_0x5957d5[_0x36f930+0x3]^_0x51b0e9[0x3],_0x205b49=0x4,_0x2cd237=0x1;_0x2cd237<_0x1f2514;_0x2cd237++){var _0x789916=_0x55de65[_0x14bdff>>>0x18]^_0x25a86b[_0x536117>>>0x10&0xff]^_0x5a2018[_0x41159b>>>0x8&0xff]^_0x2bfe72[_0x2d3e95&0xff]^_0x51b0e9[_0x205b49++],_0x546afb=_0x55de65[_0x536117>>>0x18]^_0x25a86b[_0x41159b>>>0x10&0xff]^_0x5a2018[_0x2d3e95>>>0x8&0xff]^_0x2bfe72[_0x14bdff&0xff]^_0x51b0e9[_0x205b49++],_0x2c5f46=_0x55de65[_0x41159b>>>0x18]^_0x25a86b[_0x2d3e95>>>0x10&0xff]^_0x5a2018[_0x14bdff>>>0x8&0xff]^_0x2bfe72[_0x536117&0xff]^_0x51b0e9[_0x205b49++],_0x3c0ec=_0x55de65[_0x2d3e95>>>0x18]^_0x25a86b[_0x14bdff>>>0x10&0xff]^_0x5a2018[_0x536117>>>0x8&0xff]^_0x2bfe72[_0x41159b&0xff]^_0x51b0e9[_0x205b49++];_0x14bdff=_0x789916,_0x536117=_0x546afb,_0x41159b=_0x2c5f46,_0x2d3e95=_0x3c0ec;}var _0x789916=(_0x224606[_0x14bdff>>>0x18]<<0x18|_0x224606[_0x536117>>>0x10&0xff]<<0x10|_0x224606[_0x41159b>>>0x8&0xff]<<0x8|_0x224606[_0x2d3e95&0xff])^_0x51b0e9[_0x205b49++],_0x546afb=(_0x224606[_0x536117>>>0x18]<<0x18|_0x224606[_0x41159b>>>0x10&0xff]<<0x10|_0x224606[_0x2d3e95>>>0x8&0xff]<<0x8|_0x224606[_0x14bdff&0xff])^_0x51b0e9[_0x205b49++],_0x2c5f46=(_0x224606[_0x41159b>>>0x18]<<0x18|_0x224606[_0x2d3e95>>>0x10&0xff]<<0x10|_0x224606[_0x14bdff>>>0x8&0xff]<<0x8|_0x224606[_0x536117&0xff])^_0x51b0e9[_0x205b49++],_0x3c0ec=(_0x224606[_0x2d3e95>>>0x18]<<0x18|_0x224606[_0x14bdff>>>0x10&0xff]<<0x10|_0x224606[_0x536117>>>0x8&0xff]<<0x8|_0x224606[_0x41159b&0xff])^_0x51b0e9[_0x205b49++];_0x5957d5[_0x36f930]=_0x789916,_0x5957d5[_0x36f930+0x1]=_0x546afb,_0x5957d5[_0x36f930+0x2]=_0x2c5f46,_0x5957d5[_0x36f930+0x3]=_0x3c0ec;},'keySize':0x100/0x20});_0x320501[_0x569b35(0x311)]=_0x4a29a8['_createHelper'](_0x4966d0);}()),_0x597ab3[_0x36ce83(0x311)];}));}(Ge)),Ge['exports'];}var Gr=Fr();const Vr=ke(Gr);var Wr=Di();const si=ke(Wr);var Xe={'exports':{}},Kr=Xe[_0x5f281c(0x3ba)],oi;function Yr(){return oi||(oi=0x1,function(_0x3866f1,_0x50b2d3){(function(_0x44e200,_0x2a92a1){var _0x345238=_0x5eda;_0x3866f1[_0x345238(0x3ba)]=_0x2a92a1(ie());}(Kr,function(_0x5d1335){var _0x437c7d=_0x5eda;return _0x5d1335[_0x437c7d(0x3b0)][_0x437c7d(0x283)];}));}(Xe)),Xe['exports'];}var qr=Yr();const zr=ke(qr);var Ze={'exports':{}},Jr=Ze[_0x5f281c(0x3ba)],ai;function Xr(){var _0x1e7860=_0x5f281c;return ai||(ai=0x1,function(_0x147bfc,_0x152968){(function(_0x5a70d9,_0x3c8eb6){var _0x190a41=_0x5eda;_0x147bfc[_0x190a41(0x3ba)]=_0x3c8eb6(ie());}(Jr,function(_0x3c9ec6){var _0x29247a=_0x5eda;return(function(){var _0x3bcabb=_0x5eda;if(typeof ArrayBuffer==_0x3bcabb(0x371)){var _0x4b115d=_0x3c9ec6,_0x3cdd86=_0x4b115d[_0x3bcabb(0x452)],_0x3923b8=_0x3cdd86[_0x3bcabb(0x1ea)],_0x101641=_0x3923b8[_0x3bcabb(0x2fc)],_0x4ef987=_0x3923b8['init']=function(_0x5662bd){var _0x402dbf=_0x3bcabb;if(_0x5662bd instanceof ArrayBuffer&&(_0x5662bd=new Uint8Array(_0x5662bd)),(_0x5662bd instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x5662bd instanceof Uint8ClampedArray||_0x5662bd instanceof Int16Array||_0x5662bd instanceof Uint16Array||_0x5662bd instanceof Int32Array||_0x5662bd instanceof Uint32Array||_0x5662bd instanceof Float32Array||_0x5662bd instanceof Float64Array)&&(_0x5662bd=new Uint8Array(_0x5662bd[_0x402dbf(0x2f1)],_0x5662bd[_0x402dbf(0x20f)],_0x5662bd['byteLength'])),_0x5662bd instanceof Uint8Array){for(var _0x1136e4=_0x5662bd[_0x402dbf(0x326)],_0x3305d6=[],_0x36e5b7=0x0;_0x36e5b7<_0x1136e4;_0x36e5b7++)_0x3305d6[_0x36e5b7>>>0x2]|=_0x5662bd[_0x36e5b7]<<0x18-_0x36e5b7%0x4*0x8;_0x101641[_0x402dbf(0x1f0)](this,_0x3305d6,_0x1136e4);}else _0x101641[_0x402dbf(0x25e)](this,arguments);};_0x4ef987[_0x3bcabb(0x43f)]=_0x3923b8;}}()),_0x3c9ec6['lib'][_0x29247a(0x1ea)];}));}(Ze)),Ze[_0x1e7860(0x3ba)];}var Zr=Xr();const Qr=ke(Zr);var Qe={'exports':{}},es=Qe[_0x5f281c(0x3ba)],ci;function ts(){var _0x3ca438=_0x5f281c;return ci||(ci=0x1,function(_0x241b6b,_0x54a7be){(function(_0x18f1fe,_0x4b418a,_0x1e2b5e){var _0x2ffc44=_0x5eda;_0x241b6b[_0x2ffc44(0x3ba)]=_0x4b418a(ie(),wi());}(es,function(_0x17f4e9){var _0x864ef6=_0x5eda;return _0x17f4e9[_0x864ef6(0x39a)][_0x864ef6(0x344)]={'pad':function(){},'unpad':function(){}},_0x17f4e9[_0x864ef6(0x39a)][_0x864ef6(0x344)];}));}(Qe)),Qe[_0x3ca438(0x3ba)];}var is=ts();const ns=ke(is);function rs(_0x2e31cb,_0x23881b){var _0xa242a7=_0x5f281c;const _0x21d81c=_0x23881b-_0x2e31cb[_0xa242a7(0x24a)]%_0x23881b,_0x43d3e1=String[_0xa242a7(0x3a8)](_0x21d81c)[_0xa242a7(0x1ab)](_0x21d81c);return _0x2e31cb+_0x43d3e1;}function ss(_0x519ddb,_0x4773cb){var _0x422620=_0x5f281c;const _0x5abc30=Qr[_0x422620(0x451)](0x10),_0xead9cf=rs(_0x519ddb,0x10),_0x2c0f66=Vr[_0x422620(0x2bf)](zr[_0x422620(0x3ef)](_0xead9cf),si[_0x422620(0x3ef)](_0x4773cb),{'iv':_0x5abc30,'padding':ns});return _0x5abc30[_0x422620(0x336)](_0x2c0f66['ciphertext'])['toString'](si);}function os(){var _0x43f7c8=_0x5f281c;const _0x4c5f37=_0x16104a()['__Key__'];if(_0x4c5f37){const _0x1bea4d={'time':Math[_0x43f7c8(0x378)](Date['now']()/0x3e8),'domain':location[_0x43f7c8(0x434)]};return ss(JSON[_0x43f7c8(0x29f)](_0x1bea4d),_0x4c5f37);}}var as=Object[_0x5f281c(0x348)],cs=Object[_0x5f281c(0x30b)],hs=(_0x219d93,_0x4ef3e0,_0x1659bc,_0x349b53)=>{var _0xb7a873=_0x5f281c;for(var _0x3493e8=_0x349b53>0x1?void 0x0:_0x349b53?cs(_0x4ef3e0,_0x1659bc):_0x4ef3e0,_0x3402f3=_0x219d93[_0xb7a873(0x24a)]-0x1,_0x3b9355;_0x3402f3>=0x0;_0x3402f3--)(_0x3b9355=_0x219d93[_0x3402f3])&&(_0x3493e8=(_0x349b53?_0x3b9355(_0x4ef3e0,_0x1659bc,_0x3493e8):_0x3b9355(_0x3493e8))||_0x3493e8);return _0x349b53&&_0x3493e8&&as(_0x4ef3e0,_0x1659bc,_0x3493e8),_0x3493e8;},_s=(_0x4792c0,_0x374ca0)=>(_0x4fabd0,_0x2f904b)=>_0x374ca0(_0x4fabd0,_0x2f904b,_0x4792c0);let ot=class{constructor(_0x5e3792){var _0x2785f0=_0x5f281c;this[_0x2785f0(0x3eb)]=_0x5e3792,this[_0x2785f0(0x1cd)]();}[_0x5f281c(0x1cd)](){var _0x4fea26=_0x5f281c;this[_0x4fea26(0x3eb)][_0x4fea26(0x427)]({'interceptor':(_0x3344e8,_0x166b00)=>{var _0x3ebaaf=_0x4fea26;const _0x27cef3=_0x3344e8[_0x3ebaaf(0x1f4)],_0x4aa225=os();return _0x4aa225&&_0x27cef3[_0x3ebaaf(0x3e2)](_0x3ebaaf(0x1f3),_0x4aa225),_0x166b00(_0x3344e8);}});}};ot=hs([_s(0x0,_0x9558f9(_0x30b05c))],ot);var ls=Object[_0x5f281c(0x348)],us=Object[_0x5f281c(0x30b)],ds=(_0x116d8a,_0x5a3275,_0x14c2ff,_0x43bb47)=>{var _0x453574=_0x5f281c;for(var _0xa9b919=_0x43bb47>0x1?void 0x0:_0x43bb47?us(_0x5a3275,_0x14c2ff):_0x5a3275,_0x3fc420=_0x116d8a[_0x453574(0x24a)]-0x1,_0x2bd560;_0x3fc420>=0x0;_0x3fc420--)(_0x2bd560=_0x116d8a[_0x3fc420])&&(_0xa9b919=(_0x43bb47?_0x2bd560(_0x5a3275,_0x14c2ff,_0xa9b919):_0x2bd560(_0xa9b919))||_0xa9b919);return _0x43bb47&&_0xa9b919&&ls(_0x5a3275,_0x14c2ff,_0xa9b919),_0xa9b919;},mt=(_0x2a02fa,_0x3418b8)=>(_0x101be3,_0x3bcc9f)=>_0x3418b8(_0x101be3,_0x3bcc9f,_0x2a02fa);let Rt=class extends _0x23be52{constructor(_0x3b8f6c,_0x3293fd,_0x2baeda){var _0x5258d0=_0x5f281c;super(),N(this,_0x5258d0(0x41c),new _0x28a5cc(null)),N(this,_0x5258d0(0x390),this[_0x5258d0(0x41c)][_0x5258d0(0x362)]()),(this[_0x5258d0(0x302)]=_0x3b8f6c,this[_0x5258d0(0x21f)]=_0x3293fd,this[_0x5258d0(0x31e)]=_0x2baeda);}async['loadUnit'](_0x265d3a,_0x4ca00a,_0x55d2b5){var _0x4e5b9f=_0x5f281c;this[_0x4e5b9f(0x41c)]['next']({'unitId':_0x265d3a,'type':_0x4ca00a,'subUnitId':_0x55d2b5});let _0x20ee94=null;switch(_0x4ca00a){case Q['UNIVER_SHEET']:{_0x20ee94=await this['_loadSheet'](_0x265d3a);break;}case Q['UNIVER_DOC']:{_0x20ee94=await this['_loadDoc'](_0x265d3a);break;}default:{this[_0x4e5b9f(0x302)][_0x4e5b9f(0x278)](_0x4e5b9f(0x19d),_0x4e5b9f(0x250));break;}}return _0x20ee94;}async['_loadSheet'](_0x39f910){var _0x14ef70=_0x5f281c,_0x27dfa3;let _0xe01993=0x0;const _0x301809=await((_0x27dfa3=this[_0x14ef70(0x31e)])==null?void 0x0:_0x27dfa3['loadOfflineData'](_0x39f910));return _0x301809&&(_0x301809[_0x14ef70(0x263)]||_0x301809['mutations'][_0x14ef70(0x24a)]!==0x0)&&(_0xe01993=_0x301809[_0x14ef70(0x2a0)]),_0xe01993===0x0&&this[_0x14ef70(0x302)][_0x14ef70(0x458)]('[DataLoaderService]',_0x14ef70(0x424)),this[_0x14ef70(0x21f)][_0x14ef70(0x2f5)](_0x39f910,_0xe01993);}async[_0x5f281c(0x1bb)](_0x38a7e1){var _0x3300ef=_0x5f281c,_0x47e406;let _0x64ee03=0x0;const _0x59c702=await((_0x47e406=this[_0x3300ef(0x31e)])==null?void 0x0:_0x47e406[_0x3300ef(0x208)](_0x38a7e1));return _0x59c702&&(_0x59c702[_0x3300ef(0x263)]||_0x59c702['mutations'][_0x3300ef(0x24a)]!==0x0)&&(_0x64ee03=_0x59c702[_0x3300ef(0x2a0)]),_0x64ee03===0x0&&this['_logService'][_0x3300ef(0x458)](_0x3300ef(0x19d),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this['_snapshotService']['loadDoc'](_0x38a7e1,_0x64ee03);}};Rt=ds([mt(0x0,_0x29c204),mt(0x1,_0x9558f9(_0x502971)),mt(0x2,_0x1a79f6(J))],Rt);var fs=Object[_0x5f281c(0x348)],vs=Object[_0x5f281c(0x30b)],ps=(_0x304090,_0x1dfb64,_0x2a91d5,_0x2dad19)=>{var _0x51dd8e=_0x5f281c;for(var _0x39852e=_0x2dad19>0x1?void 0x0:_0x2dad19?vs(_0x1dfb64,_0x2a91d5):_0x1dfb64,_0xcad1ed=_0x304090[_0x51dd8e(0x24a)]-0x1,_0x87103f;_0xcad1ed>=0x0;_0xcad1ed--)(_0x87103f=_0x304090[_0xcad1ed])&&(_0x39852e=(_0x2dad19?_0x87103f(_0x1dfb64,_0x2a91d5,_0x39852e):_0x87103f(_0x39852e))||_0x39852e);return _0x2dad19&&_0x39852e&&fs(_0x1dfb64,_0x2a91d5,_0x39852e),_0x39852e;},gt=(_0x21cdbc,_0x3677cd)=>(_0x109636,_0x16ce7f)=>_0x3677cd(_0x109636,_0x16ce7f,_0x21cdbc);const ms=['image/png',_0x5f281c(0x45a),_0x5f281c(0x3c8),_0x5f281c(0x22c),'image/bmp'],gs=0x5*0x400*0x400,Ss=_0x5f281c(0x180),Es='/universer-api/stream/file/upload',Is=_0x5f281c(0x2e1),Ts=_0x5f281c(0x3df);let Ot=class{constructor(_0xce5281,_0x26d7c4,_0x34944b){var _0xebda7a=_0x5f281c;N(this,_0xebda7a(0x1a9),0x0),N(this,_0xebda7a(0x2c4),new _0x39b4f1()),N(this,_0xebda7a(0x437),this[_0xebda7a(0x2c4)]),N(this,'_imageSourceCache',new Map()),(this[_0xebda7a(0x3eb)]=_0xce5281,this['_configService']=_0x26d7c4,this['_univerInstanceService']=_0x34944b);}[_0x5f281c(0x2b7)](_0x4d1093){var _0x70c5d4=_0x5f281c;this[_0x70c5d4(0x1a9)]=_0x4d1093,this[_0x70c5d4(0x2c4)][_0x70c5d4(0x346)](_0x4d1093);}[_0x5f281c(0x377)](_0x5c1285,_0xf107e6){var _0x580793=_0x5f281c;if(_0xf107e6===_0x2b975e[_0x580793(0x3a7)]){const _0x705fba=new Image();return _0x705fba[_0x580793(0x2be)]=_0x5c1285,_0x705fba;}return this[_0x580793(0x198)][_0x580793(0x3c2)](_0x5c1285);}['addImageSourceCache'](_0x88421a,_0x2d3655,_0x3c7ca2){var _0x1c4cca=_0x5f281c;_0x2d3655===_0x2b975e[_0x1c4cca(0x3a7)]||_0x3c7ca2==null||this[_0x1c4cca(0x198)][_0x1c4cca(0x3e2)](_0x88421a,_0x3c7ca2);}async[_0x5f281c(0x24f)](_0x4de88c){var _0x5b3f28=_0x5f281c;try{const _0xc4b4e=this[_0x5b3f28(0x3bb)](this['_getSignURL'](),''+_0x4de88c),_0x51e850=(await this[_0x5b3f28(0x3eb)][_0x5b3f28(0x3c2)](_0xc4b4e))[_0x5b3f28(0x351)];if(_0x51e850['error']&&_0x51e850[_0x5b3f28(0x278)]['code']===Si['OK']){const _0x53530f=new URL(_0x51e850[_0x5b3f28(0x3c9)],this['_getDownloadEndpointURL']())['toString']();return Promise[_0x5b3f28(0x342)](_0x53530f);}return Promise[_0x5b3f28(0x347)](_0x51e850[_0x5b3f28(0x278)]);}catch(_0x28df75){return Promise[_0x5b3f28(0x347)](_0x28df75);}}async[_0x5f281c(0x453)](_0xb62c2f){var _0x43aead=_0x5f281c;let _0xd97875='';if(!ms[_0x43aead(0x32d)](_0xb62c2f[_0x43aead(0x33e)]))return this[_0x43aead(0x1c8)](),Promise['reject'](new Error(_0x585772[_0x43aead(0x2b2)]));if(_0xb62c2f[_0x43aead(0x471)]>gs)return this[_0x43aead(0x1c8)](),Promise['reject'](new Error(_0x585772[_0x43aead(0x1dd)]));try{const _0x30258a=new FormData();_0x30258a[_0x43aead(0x1a0)](_0x43aead(0x1e2),_0xb62c2f);const _0xefed02=this['_univerInstanceService']['getFocusedUnit'](),_0x3ebfcd=_0xefed02==null?void 0x0:_0xefed02['getUnitId']();if(!_0x3ebfcd)throw new Error('unitId\x20is\x20not\x20found');const _0x377c67=this[_0x43aead(0x1bc)]()+_0x43aead(0x3f2)+_0xb62c2f[_0x43aead(0x471)][_0x43aead(0x2df)]()+'&source='+Ei['UnitEmbedded']+_0x43aead(0x1da)+encodeURIComponent(_0x3ebfcd),_0x37255c=await(await fetch(_0x377c67,{'method':'POST','body':_0x30258a}))[_0x43aead(0x216)]();if(typeof _0x37255c[_0x43aead(0x25a)]!='string')return this[_0x43aead(0x1c8)](),Promise[_0x43aead(0x347)](new Error(_0x585772[_0x43aead(0x1a6)]));_0xd97875=_0x37255c[_0x43aead(0x25a)];}catch{return this[_0x43aead(0x1c8)](),Promise['reject'](new Error(_0x585772[_0x43aead(0x1a6)]));}return new Promise((_0x5a16a7,_0x4ab0ec)=>{var _0x5f19d3=_0x43aead;const _0x21a316=new FileReader();_0x21a316[_0x5f19d3(0x3a4)](_0xb62c2f),_0x21a316[_0x5f19d3(0x282)]=_0x32e672=>{var _0x1b6a4a=_0x5f19d3,_0x6400bf;const _0x171916=(_0x6400bf=_0x32e672[_0x1b6a4a(0x2b1)])==null?void 0x0:_0x6400bf['result'];if(_0x171916==null){this[_0x1b6a4a(0x1c8)](),_0x4ab0ec(new Error(_0x585772[_0x1b6a4a(0x1a6)]));return;}const _0x1c785b=_0x26a23c[_0x1b6a4a(0x415)](0x6);_0x5a16a7({'imageId':_0x1c785b,'imageSourceType':_0x2b975e[_0x1b6a4a(0x2ab)],'source':_0xd97875,'base64Cache':_0x171916,'status':_0x585772[_0x1b6a4a(0x31c)]}),this[_0x1b6a4a(0x1c8)]();};});}['_getUploadFileURL'](){var _0x35aa5e=_0x5f281c,_0x261c69,_0x59adfc;const _0x12dc3b=this[_0x35aa5e(0x300)]['getConfig'](Ss),_0x2a2069=this[_0x35aa5e(0x300)][_0x35aa5e(0x38a)](q);return(_0x59adfc=(_0x261c69=_0x2a2069==null?void 0x0:_0x2a2069[_0x35aa5e(0x3ed)])!=null?_0x261c69:_0x12dc3b)!=null?_0x59adfc:Es;}[_0x5f281c(0x1c1)](){var _0xf91823=_0x5f281c,_0x17b263,_0x3db8f0;const _0x44d568=this[_0xf91823(0x300)][_0xf91823(0x38a)](Is),_0x4ba54a=this['_configService']['getConfig'](q);return(_0x3db8f0=(_0x17b263=_0x4ba54a==null?void 0x0:_0x4ba54a[_0xf91823(0x1ef)])!=null?_0x17b263:_0x44d568)!=null?_0x3db8f0:Ts;}[_0x5f281c(0x25d)](){var _0x1a963f=_0x5f281c,_0x1103aa;const _0x1328ec=this[_0x1a963f(0x300)][_0x1a963f(0x38a)](q);return(_0x1103aa=_0x1328ec==null?void 0x0:_0x1328ec[_0x1a963f(0x478)])!=null?_0x1103aa:location[_0x1a963f(0x3aa)];}[_0x5f281c(0x3bb)](_0x37040b,_0x3d9a70){var _0x2dc77c=_0x5f281c;return _0x37040b[_0x2dc77c(0x3b7)]('{fileID}',_0x3d9a70);}[_0x5f281c(0x1c8)](){var _0x339cb2=_0x5f281c;this[_0x339cb2(0x1a9)]-=0x1,this[_0x339cb2(0x2c4)][_0x339cb2(0x346)](this['_waitCount']);}};Ot=ps([gt(0x0,_0x9558f9(_0x30b05c)),gt(0x1,_0x3b2da1),gt(0x2,_0x9558f9(_0x34f8d6))],Ot);var Cs=Object['defineProperty'],bs=Object['getOwnPropertyDescriptor'],Rs=(_0x22ed1b,_0x404f8c,_0x44abe4,_0x5cafd7)=>{var _0x4b802d=_0x5f281c;for(var _0x34b431=_0x5cafd7>0x1?void 0x0:_0x5cafd7?bs(_0x404f8c,_0x44abe4):_0x404f8c,_0x4291be=_0x22ed1b[_0x4b802d(0x24a)]-0x1,_0x28eec6;_0x4291be>=0x0;_0x4291be--)(_0x28eec6=_0x22ed1b[_0x4291be])&&(_0x34b431=(_0x5cafd7?_0x28eec6(_0x404f8c,_0x44abe4,_0x34b431):_0x28eec6(_0x34b431))||_0x34b431);return _0x5cafd7&&_0x34b431&&Cs(_0x404f8c,_0x44abe4,_0x34b431),_0x34b431;},hi=(_0x3be7e,_0x4a4235)=>(_0x53d5a3,_0xc3a4dc)=>_0x4a4235(_0x53d5a3,_0xc3a4dc,_0x3be7e);const Os=_0x5f281c(0x1f7);let yt=class{constructor(_0x29b200,_0x30269b){var _0x360d6b=_0x5f281c;this[_0x360d6b(0x300)]=_0x29b200,this['_HTTPService']=_0x30269b;}[_0x5f281c(0x29d)](){var _0x3f50b8=_0x5f281c,_0x383006,_0xfa83ad;const _0x230da0=this[_0x3f50b8(0x300)][_0x3f50b8(0x38a)](Ni),_0x3dddbb=this[_0x3f50b8(0x300)][_0x3f50b8(0x38a)](q);return(_0xfa83ad=(_0x383006=_0x3dddbb==null?void 0x0:_0x3dddbb['authzUrl'])!=null?_0x383006:_0x230da0)!=null?_0xfa83ad:Os;}async[_0x5f281c(0x20e)](_0x2550ff){var _0x333ead=_0x5f281c;const _0x3bf014=this['_getAPIPrefixPath']()+'/collaborator';return{'list':[{'title':_0x333ead(0x259),'mentions':(await this['_HTTPService'][_0x333ead(0x3c2)](_0x3bf014,{'params':{'objectID':_0x2550ff[_0x333ead(0x299)],'unitID':_0x2550ff[_0x333ead(0x299)]}}))[_0x333ead(0x351)][_0x333ead(0x3a1)][_0x333ead(0x44d)](_0x4a00e4=>({'objectId':_0x4a00e4['id'],'name':_0x4a00e4['subject'][_0x333ead(0x33b)],'metadata':{'icon':_0x4a00e4['subject'][_0x333ead(0x35e)]},'label':_0x4a00e4[_0x333ead(0x433)][_0x333ead(0x33b)],'objectType':_0x425e8a[_0x333ead(0x1b3)]})),'metadata':{},'type':_0x425e8a['PERSON']}]};}};yt=Rs([hi(0x0,_0x9558f9(_0x3b2da1)),hi(0x1,_0x9558f9(_0x30b05c))],yt);var ys=Object[_0x5f281c(0x348)],Ns=Object['getOwnPropertyDescriptor'],Ds=(_0x8328c,_0x4bbf6a,_0x2429d8,_0x2cb713)=>{var _0x256e45=_0x5f281c;for(var _0x8dfe73=_0x2cb713>0x1?void 0x0:_0x2cb713?Ns(_0x4bbf6a,_0x2429d8):_0x4bbf6a,_0x24e34d=_0x8328c[_0x256e45(0x24a)]-0x1,_0x5067a3;_0x24e34d>=0x0;_0x24e34d--)(_0x5067a3=_0x8328c[_0x24e34d])&&(_0x8dfe73=(_0x2cb713?_0x5067a3(_0x4bbf6a,_0x2429d8,_0x8dfe73):_0x5067a3(_0x8dfe73))||_0x8dfe73);return _0x2cb713&&_0x8dfe73&&ys(_0x4bbf6a,_0x2429d8,_0x8dfe73),_0x8dfe73;},Ue=(_0x2c1653,_0x58951b)=>(_0x33e6c8,_0x2050ab)=>_0x58951b(_0x33e6c8,_0x2050ab,_0x2c1653);let at=class extends _0x23be52{constructor(_0x51ce0f,_0x16e7ff,_0x3a6d7e,_0x2a9be9,_0x1174df){var _0x1b6e54=_0x5f281c;super(),this['_injector']=_0x51ce0f,this['_univerInstanceService']=_0x16e7ff,this[_0x1b6e54(0x2ba)]=_0x3a6d7e,this[_0x1b6e54(0x2fa)]=_0x2a9be9,this[_0x1b6e54(0x2ef)]=_0x1174df,this['_initUnitPermissionChange'](),this[_0x1b6e54(0x382)]();}[_0x5f281c(0x382)](){var _0x204870=_0x5f281c;const _0x160b82=async _0x17fef3=>{var _0x1b9a63=_0x5eda;(await this[_0x1b9a63(0x2fa)][_0x1b9a63(0x3e3)](_0x17fef3))[_0x1b9a63(0x1c9)][_0x1b9a63(0x18a)](_0xd6b0bd(_0x421508=>_0x421508['eventID']===_0x54c335['SHOULD_CLOSE_CONN']),_0x3db57b(this['dispose$']))[_0x1b9a63(0x3ca)](_0x464ef0=>{var _0x3dcc25=_0x1b9a63;const _0xa59da=_0x464ef0,{reason:_0xdbc8be}=_0xa59da['data'];this[_0x3dcc25(0x2ef)][_0x3dcc25(0x2d5)]({'id':se[_0x3dcc25(0x460)],'data':_0xdbc8be}),this[_0x3dcc25(0x2ba)][_0x3dcc25(0x329)](new _0x20c3ca(_0x17fef3)['id'],!0x1),this[_0x3dcc25(0x2fa)][_0x3dcc25(0x448)](_0x17fef3);});};_0x2f7b48(this['_univerInstanceService']['getTypeOfUnitAdded$'](_0xd6875a[_0x204870(0x2e0)]),this[_0x204870(0x1a4)][_0x204870(0x370)](_0xd6875a[_0x204870(0x1e9)]))[_0x204870(0x18a)](_0x213c72(_0x3650e6=>_0x3650e6[_0x204870(0x281)]()),_0xd6b0bd(_0x31fbe0=>!_0x505571(_0x31fbe0)),_0x3db57b(this[_0x204870(0x365)]))[_0x204870(0x3ca)](_0x1c209a=>{_0x160b82(_0x1c209a);});}[_0x5f281c(0x442)](){var _0x160d40=_0x5f281c;const _0x1b2805=async _0x31bb33=>{var _0x1ff6b8=_0x5eda;const _0x9f3b1=await this[_0x1ff6b8(0x2fa)][_0x1ff6b8(0x3e3)](_0x31bb33),_0x44cab8=this[_0x1ff6b8(0x29c)][_0x1ff6b8(0x3c2)](_0x2f2d41);_0x9f3b1[_0x1ff6b8(0x1c9)]['pipe'](_0xd6b0bd(_0x1971b1=>_0x1971b1[_0x1ff6b8(0x2da)]===_0x54c335[_0x1ff6b8(0x3a0)]),_0x3db57b(this[_0x1ff6b8(0x365)]))['subscribe'](_0x297395=>{var _0x153e9b=_0x1ff6b8;const _0x54882e=_0x297395,{objectId:_0x5e8506}=_0x54882e[_0x153e9b(0x1dc)];_0x5e8506===_0x31bb33?_0x44cab8['initWorkbookPermissionChange'](_0x31bb33):_0x44cab8[_0x153e9b(0x312)](_0x31bb33,_0x5e8506);});};_0x2f7b48(this[_0x160d40(0x1a4)][_0x160d40(0x370)](_0xd6875a[_0x160d40(0x2e0)]))['pipe'](_0x213c72(_0x42d8b2=>_0x42d8b2[_0x160d40(0x281)]()),_0xd6b0bd(_0x35cf66=>!_0x505571(_0x35cf66)),_0x3db57b(this[_0x160d40(0x365)]))[_0x160d40(0x3ca)](_0x314cf5=>{_0x1b2805(_0x314cf5);});}};at=Ds([Ue(0x0,_0x9558f9(_0xd634d6)),Ue(0x1,_0x34f8d6),Ue(0x2,_0x254153),Ue(0x3,_0x9558f9(Le)),Ue(0x4,_0x9558f9(pe))],at);var Ps=Object[_0x5f281c(0x348)],ws=Object[_0x5f281c(0x30b)],Us=(_0x4adff2,_0x5b08b7,_0x5ac502,_0x8f1ffd)=>{var _0x21f7eb=_0x5f281c;for(var _0x4ee0bc=_0x8f1ffd>0x1?void 0x0:_0x8f1ffd?ws(_0x5b08b7,_0x5ac502):_0x5b08b7,_0x45a667=_0x4adff2[_0x21f7eb(0x24a)]-0x1,_0x360d22;_0x45a667>=0x0;_0x45a667--)(_0x360d22=_0x4adff2[_0x45a667])&&(_0x4ee0bc=(_0x8f1ffd?_0x360d22(_0x5b08b7,_0x5ac502,_0x4ee0bc):_0x360d22(_0x4ee0bc))||_0x4ee0bc);return _0x8f1ffd&&_0x4ee0bc&&Ps(_0x5b08b7,_0x5ac502,_0x4ee0bc),_0x4ee0bc;},_i=(_0x3f33ba,_0x4bec28)=>(_0x2dae59,_0x271263)=>_0x4bec28(_0x2dae59,_0x271263,_0x3f33ba);let Nt=class{constructor(_0x1d5ec0,_0x42cc60){var _0x23ea24=_0x5f281c;this[_0x23ea24(0x300)]=_0x1d5ec0,this[_0x23ea24(0x3eb)]=_0x42cc60;}async[_0x5f281c(0x21a)](_0x41aec3,_0x4d6d28){var _0x390343=_0x5f281c,_0x4ee5ab;const {unitID:_0x61a26d,type:_0x1bcadc,revision:_0x170974=0x0}=_0x4d6d28,_0x24aadf=this['getSnapshotAPIPath']()+'/'+_0x1bcadc+'/unit/'+_0x61a26d+_0x390343(0x29b)+_0x170974,_0x4924c0=(await this[_0x390343(0x3eb)]['get'](_0x24aadf))[_0x390343(0x351)],_0x4ce7ad=(_0x4ee5ab=_0x4924c0[_0x390343(0x243)])==null?void 0x0:_0x4ee5ab[_0x390343(0x46b)];if(_0x4ce7ad){const _0x7e86f0=_0x4ce7ad==null?void 0x0:_0x4ce7ad[_0x390343(0x309)],_0x5af5ac=_0x21ae81[_0x390343(0x277)](_0x451b2a(_0x7e86f0));_0x4ce7ad[_0x390343(0x309)]=_0x5af5ac,Object[_0x390343(0x330)](_0x4ce7ad[_0x390343(0x20c)])['forEach'](([,_0x589f34])=>{var _0x22aa91=_0x390343;const _0x20b3d9=_0x589f34[_0x22aa91(0x309)],_0x5c553a=_0x21ae81[_0x22aa91(0x277)](_0x451b2a(_0x20b3d9));_0x589f34[_0x22aa91(0x309)]=_0x5c553a;});}return _0x4924c0;}async[_0x5f281c(0x45e)](_0x551fa4,_0x328c15){var _0x68610c=_0x5f281c;const {unitID:_0x69c99c,type:_0x3a4633,blockID:_0x3c8ba3}=_0x328c15,_0xfb91a2=this[_0x68610c(0x45c)]()+'/'+_0x3a4633+'/unit/'+_0x69c99c+'/block/'+_0x3c8ba3;return(await this[_0x68610c(0x3eb)][_0x68610c(0x3c2)](_0xfb91a2))[_0x68610c(0x351)];}async[_0x5f281c(0x356)](_0x208630,_0x40e5cf){var _0x52f3e1=_0x5f281c;const {unitID:_0x552955,type:_0x2e35f8,blockID:_0xa40e41}=_0x40e5cf,_0x5443da=this[_0x52f3e1(0x45c)]()+_0x52f3e1(0x3ea)+_0x2e35f8+_0x52f3e1(0x31a)+_0x552955+'/block/'+_0xa40e41;return(await this[_0x52f3e1(0x3eb)]['get'](_0x5443da))[_0x52f3e1(0x351)];}async['fetchMissingChangesets'](_0x2548ed,_0x5a6006){var _0x250e69=_0x5f281c;const {unitID:_0x5f0856,type:_0x1c218a,from:_0x3933d4,to:_0xcd7cad}=_0x5a6006,_0x5d30b8=this[_0x250e69(0x45c)]()+'/'+_0x1c218a+'/unit/'+_0x5f0856+_0x250e69(0x454)+_0x3933d4+'&to='+_0xcd7cad;return(await this['_httpService'][_0x250e69(0x3c2)](_0x5d30b8))[_0x250e69(0x351)];}['getSnapshotAPIPath'](){var _0x376b94=_0x5f281c,_0x2ea2da;return(_0x2ea2da=this['_configService'][_0x376b94(0x38a)](En))!=null?_0x2ea2da:this['_getAPIPrefix']();}[_0x5f281c(0x45c)](){var _0x5b62e2=_0x5f281c,_0x3fc527,_0x4de3ee;const _0x4ccdae=this[_0x5b62e2(0x300)][_0x5b62e2(0x38a)](gn),_0xb6e9cd=this[_0x5b62e2(0x300)][_0x5b62e2(0x38a)](q);return(_0x4de3ee=(_0x3fc527=_0xb6e9cd==null?void 0x0:_0xb6e9cd['snapshotServerUrl'])!=null?_0x3fc527:_0x4ccdae)!=null?_0x4de3ee:Sn;}async['getResourcesRequest'](_0x3ae7c2,_0x4391b0){var _0xa06470=_0x5f281c;const _0x57cbbc='/universer-api/snapshot/'+_0x4391b0[_0xa06470(0x33e)]+_0xa06470(0x31a)+_0x4391b0[_0xa06470(0x32f)]+_0xa06470(0x35d);return(await this[_0xa06470(0x3eb)][_0xa06470(0x3c2)](_0x57cbbc,{'params':{'resourceId':JSON['stringify'](_0x4391b0[_0xa06470(0x2f8)])}}))[_0xa06470(0x351)];}[_0x5f281c(0x285)](){var _0xa576e2=_0x5f281c;throw new Error(_0xa576e2(0x2a3));}[_0x5f281c(0x474)](){var _0x2b121a=_0x5f281c;throw new Error(_0x2b121a(0x2a3));}[_0x5f281c(0x3f5)](){var _0x4088e9=_0x5f281c;throw new Error(_0x4088e9(0x2a3));}[_0x5f281c(0x479)](){var _0x417929=_0x5f281c;throw new Error(_0x417929(0x2a3));}['getLatestCsReqIdBySid'](){var _0x57802a=_0x5f281c;throw new Error(_0x57802a(0x2a3));}};Nt=Us([_i(0x0,_0x3b2da1),_i(0x1,_0x9558f9(_0x30b05c))],Nt);var As=Object[_0x5f281c(0x348)],xs=Object[_0x5f281c(0x30b)],Ls=(_0x27e41e,_0x1fd281,_0x149f69,_0xd3b322)=>{var _0x393ad1=_0x5f281c;for(var _0x161ef5=_0xd3b322>0x1?void 0x0:_0xd3b322?xs(_0x1fd281,_0x149f69):_0x1fd281,_0x1ff2b4=_0x27e41e[_0x393ad1(0x24a)]-0x1,_0x1f2ab5;_0x1ff2b4>=0x0;_0x1ff2b4--)(_0x1f2ab5=_0x27e41e[_0x1ff2b4])&&(_0x161ef5=(_0xd3b322?_0x1f2ab5(_0x1fd281,_0x149f69,_0x161ef5):_0x1f2ab5(_0x161ef5))||_0x161ef5);return _0xd3b322&&_0x161ef5&&As(_0x1fd281,_0x149f69,_0x161ef5),_0x161ef5;},Ae=(_0xc21513,_0x1dcad3)=>(_0x212777,_0x47ed31)=>_0x1dcad3(_0x212777,_0x47ed31,_0xc21513);let Dt=class extends _0x779597{constructor(_0x25c96f,_0x5da059,_0x1e273e,_0x369866,_0x2e8ad6){var _0x59c8d6=_0x5f281c;super(_0x25c96f,_0x5da059,_0x1e273e),this[_0x59c8d6(0x2e7)]=_0x369866,this['_logService']=_0x2e8ad6;}[_0x5f281c(0x266)](_0x2b212b,_0x1c5358){var _0x4cec1b=_0x5f281c;const _0x3aec07=this[_0x4cec1b(0x1a8)](_0x2b212b);if(_0x3aec07)try{const _0x8f7c11=this[_0x4cec1b(0x30f)](_0x3aec07,_0x1c5358);this['_substituteUndoStack'](_0x2b212b,_0x8f7c11);}catch(_0x1b3b44){this['_logService'][_0x4cec1b(0x278)](_0x4cec1b(0x407),_0x1b3b44),this['_clearUndo'](_0x2b212b);}const _0x47ddf1=this['_getRedoStack'](_0x2b212b);if(_0x47ddf1)try{const _0x5bc38c=this[_0x4cec1b(0x30f)](_0x47ddf1,_0x1c5358);this[_0x4cec1b(0x45b)](_0x2b212b,_0x5bc38c);}catch(_0x80edcf){this[_0x4cec1b(0x302)][_0x4cec1b(0x278)](_0x80edcf),this[_0x4cec1b(0x173)](_0x2b212b);}}[_0x5f281c(0x2c7)](_0x3ce236){var _0x765cf7=_0x5f281c;const _0x24fbef=this[_0x765cf7(0x1a8)](_0x3ce236);_0x24fbef&&(_0x24fbef[_0x765cf7(0x24a)]=0x0,this['_updateStatus']());}['_clearRedo'](_0x5e8990){var _0x5709aa=_0x5f281c;const _0x3b76f1=this[_0x5709aa(0x3b5)](_0x5e8990);_0x3b76f1&&(_0x3b76f1[_0x5709aa(0x24a)]=0x0,this['_updateStatus']());}['_substituteUndoStack'](_0x3856de,_0xf896){var _0x2dd1a3=_0x5f281c;this[_0x2dd1a3(0x438)][_0x2dd1a3(0x3e2)](_0x3856de,_0xf896),this[_0x2dd1a3(0x396)]();}[_0x5f281c(0x45b)](_0x7dcf5d,_0x2b8a16){var _0x3db321=_0x5f281c;this[_0x3db321(0x3de)]['set'](_0x7dcf5d,_0x2b8a16),this['_updateStatus']();}[_0x5f281c(0x30f)](_0x4eafc7,_0x370f0b){var _0x89ce59=_0x5f281c;const _0xf650b3=[];let _0x38b432=_0x370f0b,_0xae1e1b=_0x370f0b;for(let _0x50b0b4=_0x4eafc7[_0x89ce59(0x24a)]-0x1;_0x50b0b4>=0x0;_0x50b0b4--){const {unitID:_0x152d17,undoMutations:_0x42b79c,redoMutations:_0x3204c5}=_0x4eafc7[_0x50b0b4],_0x5169d1=this[_0x89ce59(0x2e7)]['transformMutationsWithChangeset'](_0x38b432,_0x42b79c),_0x2a7ec3=this[_0x89ce59(0x2e7)][_0x89ce59(0x463)](_0xae1e1b,_0x3204c5);if(_0x5d6ab2(_0x5169d1)||_0x5d6ab2(_0x2a7ec3)){this[_0x89ce59(0x302)][_0x89ce59(0x278)](_0x89ce59(0x407),_0x89ce59(0x386),_0x5169d1,_0x2a7ec3);break;}_0x38b432=_0x5169d1[_0x89ce59(0x420)],_0xae1e1b=_0x2a7ec3['c1Prime'],_0xf650b3['push']({'unitID':_0x152d17,'undoMutations':_0x5169d1['m2Prime'],'redoMutations':_0x2a7ec3[_0x89ce59(0x241)]});}return _0xf650b3['reverse']();}};Dt=Ls([Ae(0x0,_0x34f8d6),Ae(0x1,_0xda747d),Ae(0x2,_0x1b4fb0),Ae(0x3,_0x1b9c4f),Ae(0x4,_0x29c204)],Dt);var Ui=Object[_0x5f281c(0x348)],Ms=Object[_0x5f281c(0x30b)],$s=(_0x1df7fb,_0x12ee74,_0x4fa800)=>_0x12ee74 in _0x1df7fb?Ui(_0x1df7fb,_0x12ee74,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4fa800}):_0x1df7fb[_0x12ee74]=_0x4fa800,Hs=(_0x73a0d1,_0x5d713c,_0x2517db,_0x16c1cb)=>{for(var _0x1418e1=_0x16c1cb>0x1?void 0x0:_0x16c1cb?Ms(_0x5d713c,_0x2517db):_0x5d713c,_0x1169ac=_0x73a0d1['length']-0x1,_0x181e32;_0x1169ac>=0x0;_0x1169ac--)(_0x181e32=_0x73a0d1[_0x1169ac])&&(_0x1418e1=(_0x16c1cb?_0x181e32(_0x5d713c,_0x2517db,_0x1418e1):_0x181e32(_0x1418e1))||_0x1418e1);return _0x16c1cb&&_0x1418e1&&Ui(_0x5d713c,_0x2517db,_0x1418e1),_0x1418e1;},St=(_0x2a8284,_0x3f0f32)=>(_0x10cd82,_0x28d4b8)=>_0x3f0f32(_0x10cd82,_0x28d4b8,_0x2a8284),ks=(_0x5ce9b8,_0x544df5,_0x330917)=>$s(_0x5ce9b8,_0x544df5+'',_0x330917);const js=_0x5f281c(0x2ca);let Pt=class extends _0x3b786d{constructor(_0x35eb60,_0xd4b645,_0x15877b,_0x9140f5){var _0x9204db=_0x5f281c;super(),N(this,_0x9204db(0x1f2)),(this[_0x9204db(0x302)]=_0xd4b645,this[_0x9204db(0x29c)]=_0x15877b,this['_configService']=_0x9140f5);const {..._0x28774d}=_0x346504({},An,_0x35eb60);if(!_0x28774d[_0x9204db(0x3d8)])throw new Error(_0x9204db(0x1db));this['_config']=_0x28774d,this['_configService'][_0x9204db(0x2c8)](q,_0x28774d);}[_0x5f281c(0x17a)](){var _0x37d288=_0x5f281c;this[_0x37d288(0x258)](),this[_0x37d288(0x1e1)]();}[_0x5f281c(0x258)](){var _0x3eaace=_0x5f281c,_0x2c4b8a,_0x5a595f;this['_injector']['has'](_0x2f573f)&&this[_0x3eaace(0x302)][_0x3eaace(0x278)](_0x3eaace(0x1b0),'you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!');const _0x57d40f=_0x3c8ec6([[_0x2f573f,{'useClass':Dt}],[Le],[xe],[it],[st],[ot],[Ti],[at],[pe],[Rt],[Ii,{'useClass':this[_0x3eaace(0x1f2)][_0x3eaace(0x3d8)]}],[_0x4a66d0,{'useClass':Nt}],[_0x2e258a,{'useClass':bt}],[_0xda2ae5,{'useClass':Ot}],[_0x365228,{'useClass':yt}],[rt],[Ct]],(_0x2c4b8a=this['_config'])==null?void 0x0:_0x2c4b8a[_0x3eaace(0x255)]);if(!((_0x5a595f=this[_0x3eaace(0x1f2)])!=null&&_0x5a595f['enableSingleActiveInstanceLock'])){const _0x212de4=_0x57d40f[_0x3eaace(0x1b5)](([_0x591eea])=>_0x591eea===ht);_0x212de4!==-0x1&&_0x57d40f[_0x3eaace(0x28a)](_0x212de4,0x1);}_0x558302(this['_injector'],_0x57d40f);}[_0x5f281c(0x1e1)](){var _0x50184e=_0x5f281c,_0x168d48,_0x3684ae,_0x5340d9;this[_0x50184e(0x29c)][_0x50184e(0x3c2)](_0x30b05c)['registerHTTPInterceptor']({'priority':0x14,'interceptor':_0x591972({'maxParallel':0x6})}),(_0x168d48=this[_0x50184e(0x1f2)])!=null&&_0x168d48['enableOfflineEditing']||(_0x3684ae=this[_0x50184e(0x29c)][_0x50184e(0x3c2)](J,_0x41a519['OPTIONAL']))==null||_0x3684ae[_0x50184e(0x446)](),(_0x5340d9=this[_0x50184e(0x1f2)])!=null&&_0x5340d9[_0x50184e(0x397)]&&_0x514054(this[_0x50184e(0x29c)],[[st]]),_0x514054(this[_0x50184e(0x29c)],[[ot],[rt],[at]]);}};ks(Pt,_0x5f281c(0x39b),js),Pt=Hs([_0x50e39f(_0xf47e8f,_0x197451),St(0x1,_0x29c204),St(0x2,_0x9558f9(_0xd634d6)),St(0x3,_0x3b2da1)],Pt);export{Ni as AUTHZ_URL_KEY,bt as AuthzIoHttpService,le as AwaitingState,ae as AwaitingWithPendingState,q as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,Dn as COLLAB_SUBMIT_CHANGESET_URL_KEY,Tn as COLLAB_WEB_SOCKET_URL_KEY,rt as CollaborationController,nt as CollaborationEntity,Ot as CollaborationImageIoService,Et as CollaborationSession,Le as CollaborationSessionService,Vt as CollaborationSocketService,Ri as CollaborationStatus,se as CollaborationUIEventId,pe as CollaborationUIEventService,Dt as CollaborativeUndoRedoService,Ti as CommentService,ue as ConflictState,Cn as DEFAULT_COLLAB_WEB_SOCKET_URL,no as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,Qs as DEFAULT_WS_SESSION_TICKET_URL,Rt as DataLoaderService,It as DocCollaborationEntity,ee as FetchingMissState,bn as HEARTBEAT_INTERVAL_KEY,mi as HEARTBEAT_TIMEOUT_KEY,Ii as ICollaborationSocketService,J as ILocalCacheService,xn as INetworkConditionService,ht as ISingleActiveUnitService,to as LOCAL_CACHE_INTERVAL,eo as LOCAL_CACHE_INTERVAL_KEY,wn as LOGIN_URL_KEY,xe as MemberService,yt as MentionIoHttpService,de as OfflineState,oe as PendingState,io as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,yn as RETRY_CONNECTING_MAX_COUNT_KEY,Zs as SEND_CHANGESET_TIMEOUT_KEY,gn as SNAPSHOT_SERVER_URL_KEY,En as SNAPSHOT_URL_KEY,Ee as SessionStatus,Tt as SheetCollaborationEntity,it as SheetTransformSelectionsService,Nt as SnapshotServerOverHTTPService,Ne as SyncedState,Ci as UnitStatus,Pt as UniverCollaborationClientPlugin,Ln as deserializeToCombResponse,ro as getLocalCacheKey,Mn as serializeCombRequest};
1
+ var _0x424696=_0x181e;(function(_0x5c70c3,_0x21bd51){var _0x270ebd=_0x181e,_0xae9c0b=_0x5c70c3();while(!![]){try{var _0x594b75=-parseInt(_0x270ebd(0x1eb))/0x1*(-parseInt(_0x270ebd(0x273))/0x2)+-parseInt(_0x270ebd(0x1f2))/0x3+-parseInt(_0x270ebd(0x335))/0x4+-parseInt(_0x270ebd(0x2c4))/0x5+parseInt(_0x270ebd(0x3dc))/0x6*(-parseInt(_0x270ebd(0x3b6))/0x7)+parseInt(_0x270ebd(0x24c))/0x8*(-parseInt(_0x270ebd(0x2b5))/0x9)+-parseInt(_0x270ebd(0x38f))/0xa*(-parseInt(_0x270ebd(0x1e1))/0xb);if(_0x594b75===_0x21bd51)break;else _0xae9c0b['push'](_0xae9c0b['shift']());}catch(_0x2effeb){_0xae9c0b['push'](_0xae9c0b['shift']());}}}(_0x121f,0x27a93));var Ai=Object[_0x424696(0x311)],xi=(_0xcde174,_0x3fc668,_0x5a5ee0)=>_0x3fc668 in _0xcde174?Ai(_0xcde174,_0x3fc668,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5a5ee0}):_0xcde174[_0x3fc668]=_0x5a5ee0,N=(_0x113c88,_0x1c7acd,_0x639bf1)=>xi(_0x113c88,typeof _0x1c7acd!=_0x424696(0x3cf)?_0x1c7acd+'':_0x1c7acd,_0x639bf1);import{createIdentifier as _0x685b6c,Inject as _0x186d60,Injector as _0x2d62be,Disposable as _0x221e87,DisposableCollection as _0x3279eb,toDisposable as _0x534a79,IConfigService as _0x257d37,ILogService as _0x4d59d7,UserManagerService as _0xefacff,UniverInstanceType as _0x6bba17,IUniverInstanceService as _0x5238c4,LocaleService as _0x24120b,Optional as _0x39d318,RxDisposable as _0x38323d,Tools as _0x12cf24,Rectangle as _0x246b53,ICommandService as _0xe2c354,JSONX as _0x481e85,CommandType as _0x3ee1d2,IPermissionService as _0xe332cb,IUndoRedoService as _0x4f2b06,sequenceExecute as _0x4e8515,Workbook as _0x1b3084,MentionType as _0x397eac,isInternalEditorID as _0x3f120e,LocalUndoRedoService as _0x30ef02,IContextService as _0x153884,DependentOn as _0x5c12b6,Plugin as _0x1c9c9b,merge as _0x11ae4a,mergeOverrideWithDependencies as _0x4a4db9,IAuthzIoService as _0x2928a1,IMentionIOService as _0x434831,registerDependencies as _0x20fda7,Quantity as _0x1cfcc2,touchDependencies as _0x53afbf}from'@univerjs/core';import{Subject as _0xdedd08,merge as _0x4a6b1e,of as _0x3de4c9,BehaviorSubject as _0x43ba24,takeUntil as _0xc564a9,ReplaySubject as _0x295ed0,take as _0x35e0b5,map as _0x5ccaf8,shareReplay as _0x2162fc,firstValueFrom as _0xbb7a05,concatMap as _0x173625}from'rxjs';import{map as _0x496697,take as _0x2769a4,filter as _0x2a5648,delay as _0xe6df08,takeUntil as _0x2c6c66}from'rxjs/operators';import{CollaborationEvent as _0x14e6e4,parseChangesetToProtocol as _0x3f78bd,ISnapshotServerService as _0x62c53e,isTransformMutationsWithChangesetSuccess as _0x8bddd3,ITransformService as _0xfa424c,mapDocumentTypeToUniverType as _0x3a6879,RevisionService as _0x3c36df,isTransformChangesetsSuccess as _0x2bad5c,CompressMutationService as _0x3edeb4,parseProtocolChangeset as _0x20134b,SnapshotService as _0x1e2019,textEncoder as _0x4fb5a6,b64DecodeUnicode as _0x276531,isTransformMutationsWithChangesetFailure as _0x81aea2,UniverCollaborationPlugin as _0x3310d8}from'@univerjs-pro/collaboration';import{HTTPService as _0x16a7d6,ISocketService as _0x15f34a,MergeInterceptorFactory as _0x26ddb3,HTTPRequest as _0x317d23,UniverNetworkPlugin as _0x51bd22,ThresholdInterceptorFactory as _0x1e11c4}from'@univerjs/network';import{ITelemetryService as _0x287e0e}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x34da4a}from'@univerjs/docs';import{SheetsSelectionsService as _0x22d798,SetSelectionsOperation as _0x543fec,InsertSheetMutation as _0x3c5248,EmptyMutation as _0x2c38a3,WorkbookEditablePermission as _0x508a1c,SheetPermissionInitController as _0x5e55d9}from'@univerjs/sheets';import{ImageSourceType as _0xfa6755,ImageUploadStatusType as _0x4734a7,IImageIoService as _0x2e2108}from'@univerjs/drawing';import{getGlobalObject as _0x129d6d}from'@univerjs-pro/license';const gn='SNAPSHOT_SERVER_URL_KEY',Sn='/universer-api/snapshot',En=_0x424696(0x140),Zs=_0x424696(0x28b),In=0x7d0,Tn=_0x424696(0x228),Cn=_0x424696(0x3d0),Qs=_0x424696(0x295),bn='HEARTBEAT_INTERVAL',Rn=0x7530,mi=_0x424696(0x362),gi=0x4e20,On=0x4e20,yn=_0x424696(0x3d4),Nn=0x3,eo=_0x424696(0x1d5),to=0x3e8,Dn='COLLAB_SUBMIT_CHANGESET_URL',Pn='/universer-api/comb',wn=_0x424696(0x3d2),Un='/universer-api/oidc/authpage',io=_0x424696(0x407),no=_0x424696(0x3eb);var Si=(_0x21d151=>(_0x21d151[_0x21d151[_0x424696(0x3ff)]=0x0]=_0x424696(0x3ff),_0x21d151[_0x21d151['OK']=0x1]='OK',_0x21d151[_0x21d151['INTERNAL_ERROR']=0x2]='INTERNAL_ERROR',_0x21d151[_0x21d151[_0x424696(0x3bf)]=0x3]=_0x424696(0x3bf),_0x21d151[_0x21d151[_0x424696(0x3de)]=0x4]='NOT_FOUND',_0x21d151[_0x21d151[_0x424696(0x2de)]=0x5]=_0x424696(0x2de),_0x21d151[_0x21d151[_0x424696(0x34d)]=0x6]=_0x424696(0x34d),_0x21d151[_0x21d151['INVALID_ARGUMENT']=0x7]='INVALID_ARGUMENT',_0x21d151[_0x21d151[_0x424696(0x19c)]=0x8]=_0x424696(0x19c),_0x21d151[_0x21d151[_0x424696(0x414)]=0x9]=_0x424696(0x414),_0x21d151[_0x21d151[_0x424696(0x3c9)]=0x1389]=_0x424696(0x3c9),_0x21d151[_0x21d151[_0x424696(0x23b)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x21d151[_0x21d151[_0x424696(0x22d)]=0x1772]=_0x424696(0x22d),_0x21d151[_0x21d151['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x424696(0x3fb),_0x21d151[_0x21d151[_0x424696(0x33d)]=0x1b59]='APPLY_REJECT',_0x21d151[_0x21d151[_0x424696(0x2c2)]=0x1b5a]=_0x424696(0x2c2),_0x21d151[_0x21d151[_0x424696(0x1a8)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x21d151[_0x21d151[_0x424696(0x18e)]=0x1b5c]=_0x424696(0x18e),_0x21d151[_0x21d151['APPLY_DUPLICATED']=0x1b5d]=_0x424696(0x432),_0x21d151[_0x21d151[_0x424696(0x424)]=0x1f41]=_0x424696(0x424),_0x21d151[_0x21d151[_0x424696(0x386)]=0x2329]=_0x424696(0x386),_0x21d151[_0x21d151['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x21d151[_0x21d151[_0x424696(0x19e)]=0x232b]=_0x424696(0x19e),_0x21d151[_0x21d151['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x21d151[_0x21d151['LICENSE_DISTRO_REJECTED']=0x232d]=_0x424696(0x434),_0x21d151[_0x21d151[_0x424696(0x2f1)]=0x2711]=_0x424696(0x2f1),_0x21d151[_0x21d151[_0x424696(0x1b3)]=0x2712]=_0x424696(0x1b3),_0x21d151[_0x21d151[_0x424696(0x2e6)]=0x2713]=_0x424696(0x2e6),_0x21d151[_0x21d151['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x424696(0x231),_0x21d151[_0x21d151[_0x424696(0x153)]=0x2af9]=_0x424696(0x153),_0x21d151[_0x21d151[_0x424696(0x3b2)]=-0x1]=_0x424696(0x3b2),_0x21d151))(Si||{}),Q=(_0x443f37=>(_0x443f37[_0x443f37[_0x424696(0x1f8)]=0x0]=_0x424696(0x1f8),_0x443f37[_0x443f37[_0x424696(0x240)]=0x1]=_0x424696(0x240),_0x443f37[_0x443f37[_0x424696(0x28c)]=0x2]=_0x424696(0x28c),_0x443f37[_0x443f37['UNIVER_SLIDE']=0x3]='UNIVER_SLIDE',_0x443f37[_0x443f37[_0x424696(0x181)]=0x4]='UNIVER_PROJECT',_0x443f37[_0x443f37[_0x424696(0x3b2)]=-0x1]='UNRECOGNIZED',_0x443f37))(Q||{}),F=(_0x4f8fdb=>(_0x4f8fdb[_0x4f8fdb[_0x424696(0x147)]=0x0]=_0x424696(0x147),_0x4f8fdb[_0x4f8fdb[_0x424696(0x1cd)]=0x1]=_0x424696(0x1cd),_0x4f8fdb[_0x4f8fdb[_0x424696(0x32e)]=0x2]=_0x424696(0x32e),_0x4f8fdb[_0x4f8fdb[_0x424696(0x16d)]=0x3]=_0x424696(0x16d),_0x4f8fdb[_0x4f8fdb[_0x424696(0x437)]=0x4]=_0x424696(0x437),_0x4f8fdb[_0x4f8fdb['HEARTBEAT']=0x5]=_0x424696(0x2b2),_0x4f8fdb[_0x4f8fdb['RECV']=0x6]='RECV',_0x4f8fdb[_0x4f8fdb[_0x424696(0x3b2)]=-0x1]=_0x424696(0x3b2),_0x4f8fdb))(F||{}),ge=(_0x476985=>(_0x476985[_0x476985['UNKNOWN_CODE']=0x0]=_0x424696(0x35b),_0x476985[_0x476985['OK']=0x1]='OK',_0x476985[_0x476985['FAIL']=0x2]='FAIL',_0x476985[_0x476985[_0x424696(0x195)]=0x3e9]=_0x424696(0x195),_0x476985[_0x476985[_0x424696(0x245)]=0x3ea]=_0x424696(0x245),_0x476985[_0x476985[_0x424696(0x1c5)]=0x3eb]=_0x424696(0x1c5),_0x476985[_0x476985['GLOBAL_ROOMS_CNT_EXCEEDS']=0x3ec]=_0x424696(0x27e),_0x476985[_0x476985[_0x424696(0x3b2)]=-0x1]='UNRECOGNIZED',_0x476985))(ge||{}),Ei=(_0x55f86a=>(_0x55f86a[_0x55f86a[_0x424696(0x3a8)]=0x0]='Undefined',_0x55f86a[_0x55f86a[_0x424696(0x2da)]=0x1]=_0x424696(0x2da),_0x55f86a[_0x55f86a[_0x424696(0x423)]=0x2]=_0x424696(0x423),_0x55f86a[_0x55f86a[_0x424696(0x222)]=0x3]='UnitEmbedded',_0x55f86a[_0x55f86a[_0x424696(0x1d3)]=0x4]=_0x424696(0x1d3),_0x55f86a[_0x55f86a[_0x424696(0x3b2)]=-0x1]=_0x424696(0x3b2),_0x55f86a))(Ei||{});const q='collaboration-client.config',An={};var se=(_0x16f31e=>(_0x16f31e[_0x424696(0x1cf)]=_0x424696(0x1cf),_0x16f31e[_0x424696(0x3bf)]=_0x424696(0x3bf),_0x16f31e['CONFLICT']=_0x424696(0x1b6),_0x16f31e['CLOSE_ROOM']='CLOSE_ROOM',_0x16f31e['JOIN_ROOM_FAILED']=_0x424696(0x382),_0x16f31e[_0x424696(0x345)]=_0x424696(0x345),_0x16f31e['SOCKET_FAILED']=_0x424696(0x333),_0x16f31e[_0x424696(0x417)]=_0x424696(0x417),_0x16f31e))(se||{});class pe{constructor(){var _0x8b008e=_0x424696;N(this,'_event$',new _0xdedd08()),N(this,_0x8b008e(0x224),this[_0x8b008e(0x313)][_0x8b008e(0x2a5)]());}['emitEvent'](_0x11dea9){var _0x373559=_0x424696;this['_event$'][_0x373559(0x3f2)](_0x11dea9);}}const xn=_0x685b6c(_0x424696(0x2f4));function Ln(_0x2527f3){var _0x24b603=_0x424696,_0x32fc24,_0x342260,_0x3718bb,_0x358532,_0x2c1605;const _0x4020a3=_0x2527f3[_0x24b603(0x2b4)],_0x33cb56=JSON['parse'](_0x4020a3);switch(_0x33cb56[_0x24b603(0x2b7)]){case F[_0x24b603(0x2b2)]:case F[_0x24b603(0x1cd)]:{const _0x51a5f2=_0x33cb56[_0x24b603(0x418)];return{..._0x33cb56,'data':_0x51a5f2,'cmd':_0x33cb56['cmd']};}case F[_0x24b603(0x32e)]:{const _0x5ce70c=_0x33cb56[_0x24b603(0x277)];return{..._0x33cb56,'data':_0x5ce70c,'cmd':_0x33cb56['cmd']};}case F[_0x24b603(0x29a)]:{const _0xf04580=_0x33cb56[_0x24b603(0x3f4)];switch(_0xf04580['eventID']){case _0x14e6e4[_0x24b603(0x19a)]:return{..._0x33cb56,'data':{..._0xf04580,'data':(_0x32fc24=_0xf04580[_0x24b603(0x247)])==null?void 0x0:_0x32fc24['cs']},'cmd':_0x33cb56[_0x24b603(0x2b7)]};case _0x14e6e4['CHANGESET_ACK']:return{..._0x33cb56,'data':{..._0xf04580,'data':(_0x342260=_0xf04580[_0x24b603(0x3e7)])==null?void 0x0:_0x342260['cs']},'cmd':_0x33cb56[_0x24b603(0x2b7)]};case _0x14e6e4[_0x24b603(0x237)]:return{..._0x33cb56,'data':{..._0xf04580,'data':(_0x3718bb=_0xf04580[_0x24b603(0x1f5)])==null?void 0x0:_0x3718bb['cs']},'cmd':_0x33cb56[_0x24b603(0x2b7)]};case _0x14e6e4[_0x24b603(0x1e2)]:return{..._0x33cb56,'data':{..._0xf04580,'data':(_0x358532=_0xf04580['csRejEvent'])==null?void 0x0:_0x358532['cs']},'cmd':_0x33cb56[_0x24b603(0x2b7)]};case _0x14e6e4[_0x24b603(0x3c6)]:return{..._0x33cb56,'data':{..._0xf04580,'data':(_0x2c1605=_0xf04580['csShouldRetryEvent'])==null?void 0x0:_0x2c1605['cs']},'cmd':_0x33cb56['cmd']};case _0x14e6e4[_0x24b603(0x435)]:return{..._0x33cb56,'data':{..._0xf04580,'data':_0xf04580[_0x24b603(0x176)]},'cmd':_0x33cb56[_0x24b603(0x2b7)]};case _0x14e6e4['USERS_ENTER']:return{..._0x33cb56,'data':{..._0xf04580,'data':_0xf04580[_0x24b603(0x3af)]},'cmd':_0x33cb56[_0x24b603(0x2b7)]};case _0x14e6e4['USERS_LEAVE']:return{..._0x33cb56,'data':{..._0xf04580,'data':_0xf04580[_0x24b603(0x179)]},'cmd':_0x33cb56[_0x24b603(0x2b7)]};case _0x14e6e4['LIVESHARE_NEW_HOST']:return{..._0x33cb56,'data':{..._0xf04580,'data':_0xf04580['liveShareNewHost']},'cmd':_0x33cb56[_0x24b603(0x2b7)]};case _0x14e6e4[_0x24b603(0x1f9)]:case _0x14e6e4[_0x24b603(0x173)]:return{..._0x33cb56,'data':{..._0xf04580,'data':_0xf04580[_0x24b603(0x357)]},'cmd':_0x33cb56[_0x24b603(0x2b7)]};case _0x14e6e4[_0x24b603(0x1b1)]:return{..._0x33cb56,'data':{..._0xf04580,'data':_0xf04580[_0x24b603(0x16e)]},'cmd':_0x33cb56[_0x24b603(0x2b7)]};case _0x14e6e4['MSG_FOR_ERROR']:return{..._0x33cb56,'data':_0xf04580,'cmd':_0x33cb56[_0x24b603(0x2b7)]};case _0x14e6e4['COMMENT_UPDATE']:return{..._0x33cb56,'data':{..._0xf04580,'data':_0xf04580[_0x24b603(0x192)]},'cmd':_0x33cb56[_0x24b603(0x2b7)]};case _0x14e6e4[_0x24b603(0x2ef)]:return{..._0x33cb56,'data':{..._0xf04580,'data':_0xf04580[_0x24b603(0x2e3)]},'cmd':_0x33cb56[_0x24b603(0x2b7)]};case _0x14e6e4[_0x24b603(0x19f)]:return{..._0x33cb56,'data':{..._0xf04580,'data':_0xf04580[_0x24b603(0x3f6)]},'cmd':_0x33cb56[_0x24b603(0x2b7)]};case _0x14e6e4[_0x24b603(0x21d)]:return{..._0x33cb56,'data':{..._0xf04580,'data':_0xf04580['uniscriptRunEvent']},'cmd':_0x33cb56['cmd']};default:return _0x33cb56;}}default:return _0x33cb56;}}function Mn(_0x42d15e){var _0x1e0845=_0x424696;switch(_0x42d15e[_0x1e0845(0x2b7)]){case F[_0x1e0845(0x2b2)]:case F['HELLO']:return JSON[_0x1e0845(0x397)]({'cmd':_0x42d15e[_0x1e0845(0x2b7)],'routeKey':_0x42d15e['routeKey']});case F[_0x1e0845(0x437)]:{let _0x4490a2;switch(_0x42d15e[_0x1e0845(0x2b4)]['eventID']){case _0x14e6e4[_0x1e0845(0x435)]:{_0x4490a2={'eventID':_0x14e6e4[_0x1e0845(0x435)],'updateCursorEvent':_0x42d15e[_0x1e0845(0x2b4)][_0x1e0845(0x2b4)]};break;}case _0x14e6e4[_0x1e0845(0x367)]:{_0x4490a2={'eventID':_0x14e6e4[_0x1e0845(0x367)],'leaveEvent':_0x42d15e[_0x1e0845(0x2b4)][_0x1e0845(0x2b4)]};break;}case _0x14e6e4[_0x1e0845(0x2a0)]:{_0x4490a2={'eventID':_0x14e6e4['USERS_ENTER'],'joinEvent':_0x42d15e[_0x1e0845(0x2b4)]['data']};break;}case _0x14e6e4[_0x1e0845(0x363)]:{_0x4490a2={'eventID':_0x14e6e4[_0x1e0845(0x363)],'liveShareNewHost':_0x42d15e[_0x1e0845(0x2b4)][_0x1e0845(0x2b4)]};break;}case _0x14e6e4[_0x1e0845(0x173)]:{_0x4490a2={'eventID':_0x14e6e4[_0x1e0845(0x173)],'liveShareOperation':_0x42d15e[_0x1e0845(0x2b4)][_0x1e0845(0x2b4)]};break;}case _0x14e6e4[_0x1e0845(0x1b1)]:{_0x4490a2={'eventID':_0x14e6e4[_0x1e0845(0x1b1)],'liveShareTerminate':_0x42d15e[_0x1e0845(0x2b4)]['data']};break;}case _0x14e6e4[_0x1e0845(0x385)]:{_0x4490a2={'eventID':_0x14e6e4[_0x1e0845(0x385)],'liveShareRequestHost':_0x42d15e[_0x1e0845(0x2b4)][_0x1e0845(0x2b4)]};break;}case _0x14e6e4[_0x1e0845(0x1f9)]:{_0x4490a2={'eventID':_0x14e6e4['LIVESHARE_FETCH_OPERATIONS']};break;}default:_0x4490a2={'eventID':_0x42d15e[_0x1e0845(0x2b4)][_0x1e0845(0x30c)]};}return JSON[_0x1e0845(0x397)]({'cmd':_0x42d15e[_0x1e0845(0x2b7)],'routeKey':_0x42d15e[_0x1e0845(0x25f)],'collaMsg':_0x4490a2});}case F['JOIN']:return JSON['stringify']({'cmd':_0x42d15e[_0x1e0845(0x2b7)],'routeKey':_0x42d15e['routeKey'],'joinReq':_0x42d15e['data']});case F[_0x1e0845(0x16d)]:return JSON['stringify']({'cmd':_0x42d15e[_0x1e0845(0x2b7)],'routeKey':_0x42d15e['routeKey'],'leaveReq':_0x42d15e['data']});default:throw new Error(_0x1e0845(0x42b));}}var $n=Object[_0x424696(0x311)],Hn=Object[_0x424696(0x275)],kn=(_0xde90f3,_0x219d4c,_0x3310ff,_0x33cf46)=>{var _0xa9e257=_0x424696;for(var _0x248a12=_0x33cf46>0x1?void 0x0:_0x33cf46?Hn(_0x219d4c,_0x3310ff):_0x219d4c,_0x5c265d=_0xde90f3[_0xa9e257(0x314)]-0x1,_0x3592e7;_0x5c265d>=0x0;_0x5c265d--)(_0x3592e7=_0xde90f3[_0x5c265d])&&(_0x248a12=(_0x33cf46?_0x3592e7(_0x219d4c,_0x3310ff,_0x248a12):_0x3592e7(_0x248a12))||_0x248a12);return _0x33cf46&&_0x248a12&&$n(_0x219d4c,_0x3310ff,_0x248a12),_0x248a12;},we=(_0x3013a8,_0x162a0e)=>(_0xe29d23,_0x520474)=>_0x162a0e(_0xe29d23,_0x520474,_0x3013a8);const Ii=_0x685b6c(_0x424696(0x2f5));function jn(_0x31cde9,_0x2bf503,_0x1ac0ae){var _0xb7c222=_0x424696;return _0x31cde9+'/'+_0x2bf503+_0xb7c222(0x213)+_0x1ac0ae+_0xb7c222(0x41b);}let Vt=class extends _0x221e87{constructor(_0x380842,_0x561121,_0x243ff5,_0x53b0fe,_0x4e00dd){var _0x39d326=_0x424696;super(),this[_0x39d326(0x21b)]=_0x380842,this['_httpService']=_0x561121,this[_0x39d326(0x15e)]=_0x243ff5,this[_0x39d326(0x389)]=_0x53b0fe,this[_0x39d326(0x178)]=_0x4e00dd;}[_0x424696(0x343)](_0x4c9e5e){var _0x3400f4=_0x424696;const _0xaddc7c=this['_injector'][_0x3400f4(0x396)](_0x15f34a);if(!_0xaddc7c)throw new Error(_0x3400f4(0x22c));const _0x3d34a3=_0xaddc7c[_0x3400f4(0x249)](_0x4c9e5e);if(!_0x3d34a3)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!');const _0x3d4f7d=new _0x3279eb(),_0x64e22b=new _0xdedd08();_0x3d4f7d[_0x3400f4(0x1fc)](_0x3d34a3[_0x3400f4(0x267)][_0x3400f4(0x3cd)](_0x1bd7d8=>_0x64e22b[_0x3400f4(0x3f2)](_0x1bd7d8))),_0x3d4f7d[_0x3400f4(0x1fc)](_0x534a79(()=>_0x64e22b[_0x3400f4(0x292)]()));const _0x23874e=new _0xdedd08();_0x3d4f7d[_0x3400f4(0x1fc)](_0x3d34a3['error$'][_0x3400f4(0x3cd)](_0xe35843=>_0x23874e[_0x3400f4(0x3f2)](_0xe35843))),_0x3d4f7d[_0x3400f4(0x1fc)](_0x534a79(()=>_0x23874e[_0x3400f4(0x292)]()));const _0x306f85=new _0xdedd08();_0x3d4f7d['add'](_0x3d34a3[_0x3400f4(0x3e0)][_0x3400f4(0x3cd)](_0x122a05=>{var _0x5df9ed=_0x3400f4;const _0x409aad=Ln(_0x122a05);_0x306f85[_0x5df9ed(0x3f2)](_0x409aad);})),_0x3d4f7d[_0x3400f4(0x1fc)](_0x534a79(()=>_0x306f85['complete']()));let _0x410131;const _0x447c3c=()=>{var _0x64c887=_0x3400f4;_0x23874e[_0x64c887(0x3f2)](new Event('connection\x20error')),_0x64e22b[_0x64c887(0x3f2)](new Event(_0x64c887(0x1c2))),_0x410131[_0x64c887(0x26b)]();};return _0x410131={'memberID':'','close$':_0x64e22b[_0x3400f4(0x2a5)](),'error$':_0x23874e[_0x3400f4(0x2a5)](),'open$':_0x3d34a3[_0x3400f4(0x340)],'message$':_0x306f85[_0x3400f4(0x2a5)](),'send':_0x10a4f2=>{var _0x15f54b=_0x3400f4;if(_0x10a4f2[_0x15f54b(0x2b7)]===F[_0x15f54b(0x437)]){if(_0x10a4f2[_0x15f54b(0x2b4)][_0x15f54b(0x30c)]===_0x14e6e4['SUBMIT_CHANGESET']){this[_0x15f54b(0x20b)](_0x410131,_0x10a4f2[_0x15f54b(0x2b4)])['catch'](_0x25df95=>{var _0x28dd05=_0x15f54b;this[_0x28dd05(0x389)][_0x28dd05(0x20f)](_0x25df95),_0x447c3c();});return;}if(_0x10a4f2[_0x15f54b(0x2b4)][_0x15f54b(0x30c)]===_0x14e6e4[_0x15f54b(0x1c8)]){const _0x3b490c=_0x10a4f2[_0x15f54b(0x2b4)];this[_0x15f54b(0x413)](_0x3b490c)['then'](_0x149dde=>{var _0x1e9629=_0x15f54b;_0x306f85[_0x1e9629(0x3f2)]({'cmd':F[_0x1e9629(0x29a)],'code':ge['OK'],'routeKey':_0x3b490c[_0x1e9629(0x2b4)][_0x1e9629(0x161)],'routeType':'','data':{'eventID':_0x14e6e4[_0x1e9629(0x425)],'data':{'changesets':_0x149dde}}});})[_0x15f54b(0x25a)](_0x21b492=>{var _0x386c4a=_0x15f54b;this['_logService'][_0x386c4a(0x20f)](_0x21b492),_0x447c3c();});return;}}_0x3d34a3['send'](Mn(_0x10a4f2));},'close':()=>{var _0x147df1=_0x3400f4;_0x3d34a3['close'](),_0x3d4f7d[_0x147df1(0x406)]();}},_0x410131;}async[_0x424696(0x20b)](_0x3a0cbf,_0x54d1b6){var _0x13f729=_0x424696,_0x5210ac,_0x4a6a;const {unitType:_0x440c3a,unitID:_0x43090a,changeset:_0x5317c4}=_0x54d1b6['data'],_0x11e263={'unitID':_0x43090a,'memberID':_0x3a0cbf[_0x13f729(0x253)],'type':_0x440c3a,'changeset':_0x3f78bd(_0x5317c4)},_0x585516=this[_0x13f729(0x15e)][_0x13f729(0x2c0)](Dn),_0x413530=this['_configService']['getConfig'](q),_0x413da3=jn((_0x4a6a=(_0x5210ac=_0x413530==null?void 0x0:_0x413530[_0x13f729(0x3a0)])!=null?_0x5210ac:_0x585516)!=null?_0x4a6a:Pn,_0x440c3a,_0x43090a);try{await this[_0x13f729(0x3e2)]['post'](_0x413da3,{'body':_0x11e263});}catch(_0x51b5b8){throw this[_0x13f729(0x389)][_0x13f729(0x20f)](_0x13f729(0x1ac),_0x13f729(0x1dc)),_0x51b5b8;}}async[_0x424696(0x413)](_0x5b40ec){var _0x24d412=_0x424696;const {unitID:_0x298762,from:_0xc1cca0,to:_0x2746e7,unitType:_0x2b2a41}=_0x5b40ec[_0x24d412(0x2b4)];return(await this['_snapshotServerService'][_0x24d412(0x2ad)]({'metadata':void 0x0},{'unitID':_0x298762,'type':_0x2b2a41,'from':_0xc1cca0,'to':_0x2746e7}))[_0x24d412(0x379)];}};Vt=kn([we(0x0,_0x186d60(_0x2d62be)),we(0x1,_0x186d60(_0x16a7d6)),we(0x2,_0x257d37),we(0x3,_0x4d59d7),we(0x4,_0x62c53e)],Vt);const Bn='collaboration_new_changeset';function Fn(_0x579fca){var _0x2ff83b=_0x424696;return JSON[_0x2ff83b(0x397)](_0x579fca)['length'];}class Ti{constructor(){var _0x1cc787=_0x424696;N(this,_0x1cc787(0x2ff),new _0xdedd08()),N(this,'commentUpdate$',this[_0x1cc787(0x2ff)]['asObservable']());}[_0x424696(0x376)](_0x412f6a){var _0x4d1e1c=_0x424696;this[_0x4d1e1c(0x2ff)][_0x4d1e1c(0x3f2)](_0x412f6a);}}function _0x181e(_0x5a34c0,_0xc9aaa9){var _0x121f57=_0x121f();return _0x181e=function(_0x181e11,_0x33fef7){_0x181e11=_0x181e11-0x13a;var _0x2ab6c5=_0x121f57[_0x181e11];return _0x2ab6c5;},_0x181e(_0x5a34c0,_0xc9aaa9);}var Gn=Object[_0x424696(0x311)],Vn=Object[_0x424696(0x275)],Wn=(_0x1a29bd,_0x92f5a4,_0x3ab243,_0x24a27f)=>{var _0x15ad09=_0x424696;for(var _0x4b89e1=_0x24a27f>0x1?void 0x0:_0x24a27f?Vn(_0x92f5a4,_0x3ab243):_0x92f5a4,_0x30b5ce=_0x1a29bd[_0x15ad09(0x314)]-0x1,_0xd39b50;_0x30b5ce>=0x0;_0x30b5ce--)(_0xd39b50=_0x1a29bd[_0x30b5ce])&&(_0x4b89e1=(_0x24a27f?_0xd39b50(_0x92f5a4,_0x3ab243,_0x4b89e1):_0xd39b50(_0x4b89e1))||_0x4b89e1);return _0x24a27f&&_0x4b89e1&&Gn(_0x92f5a4,_0x3ab243,_0x4b89e1),_0x4b89e1;},Wt=(_0xb74da8,_0x432f6f)=>(_0x45f9ec,_0x343efe)=>_0x432f6f(_0x45f9ec,_0x343efe,_0xb74da8);let xe=class extends _0x221e87{constructor(_0x4a3f9d,_0x57fc7e){var _0x5172dc=_0x424696;super(),N(this,_0x5172dc(0x38b),new Map()),N(this,'_roomCreated$',new _0xdedd08()),(this[_0x5172dc(0x270)]=_0x4a3f9d,this['_userManagerService']=_0x57fc7e,this[_0x5172dc(0x35f)](_0x4a6b1e(this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x6bba17[_0x5172dc(0x28c)])[_0x5172dc(0x1fb)](_0x496697(_0x5b5423=>_0x5b5423[_0x5172dc(0x17c)]())),this[_0x5172dc(0x270)][_0x5172dc(0x1e9)](_0x6bba17[_0x5172dc(0x240)])[_0x5172dc(0x1fb)](_0x496697(_0x12375f=>_0x12375f[_0x5172dc(0x17c)]())),this[_0x5172dc(0x270)][_0x5172dc(0x1e9)](_0x6bba17[_0x5172dc(0x334)])[_0x5172dc(0x1fb)](_0x496697(_0x13e788=>_0x13e788['getUnitId']())))['subscribe'](_0x31224e=>this['_removeRoom'](_0x31224e))));}[_0x424696(0x325)](_0x56ccbf){var _0x33a02e=_0x424696;return this[_0x33a02e(0x38b)][_0x33a02e(0x3d3)](_0x56ccbf)?_0x3de4c9(this['_roomMembers']['get'](_0x56ccbf)):this[_0x33a02e(0x40b)][_0x33a02e(0x1fb)](_0x496697(_0xfde2ae=>{var _0xe3a1b7=_0x33a02e;if(_0xfde2ae===_0x56ccbf)return this['_roomMembers'][_0xe3a1b7(0x396)](_0xfde2ae);}));}[_0x424696(0x1ca)](_0x3d0169){var _0x3cd186=_0x424696;this['_userManagerService'][_0x3cd186(0x1ca)](_0x3d0169);}[_0x424696(0x433)](){var _0x474a6e=_0x424696;return this[_0x474a6e(0x320)][_0x474a6e(0x433)]();}[_0x424696(0x400)](_0x2f02e9,_0x409aed){var _0x5f0b10=_0x424696;let _0x21607e=this[_0x5f0b10(0x38b)][_0x5f0b10(0x396)](_0x2f02e9);_0x21607e||(_0x21607e=new Kn(),this[_0x5f0b10(0x38b)][_0x5f0b10(0x31f)](_0x2f02e9,_0x21607e),this[_0x5f0b10(0x40b)][_0x5f0b10(0x3f2)](_0x2f02e9)),_0x21607e[_0x5f0b10(0x400)](_0x409aed);}['removeMember'](_0x337fdd,_0xf4c5e1){var _0x10a6c3=_0x424696;const _0x5b04cc=this['_roomMembers']['get'](_0x337fdd);_0x5b04cc&&_0x5b04cc[_0x10a6c3(0x14e)](_0xf4c5e1);}['getRoom'](_0x549cd8){var _0x4bd111=_0x424696;return this[_0x4bd111(0x38b)][_0x4bd111(0x396)](_0x549cd8);}[_0x424696(0x2f2)](_0x457a1c,_0x1a5209){var _0x397abb=_0x424696;const _0x31fbb1=this[_0x397abb(0x38b)][_0x397abb(0x396)](_0x457a1c);if(_0x31fbb1)return _0x31fbb1['getMember'](_0x1a5209);}[_0x424696(0x422)](_0xad45a3){var _0x2aa271=_0x424696;const _0x224701=this[_0x2aa271(0x38b)][_0x2aa271(0x396)](_0xad45a3);_0x224701&&(_0x224701[_0x2aa271(0x406)](),this['_roomMembers']['delete'](_0xad45a3));}[_0x424696(0x406)](){var _0x5dc5ad=_0x424696;this['_roomMembers']['forEach'](_0xc4c4c8=>_0xc4c4c8[_0x5dc5ad(0x406)]()),this[_0x5dc5ad(0x38b)]['clear'](),this[_0x5dc5ad(0x40b)][_0x5dc5ad(0x292)]();}};xe=Wn([Wt(0x0,_0x5238c4),Wt(0x1,_0x186d60(_0xefacff))],xe);class Kn extends _0x221e87{constructor(){var _0x2f433c=_0x424696;super(...arguments),N(this,_0x2f433c(0x2ec),new Map()),N(this,'_members$',new _0x43ba24(this[_0x2f433c(0x2ec)])),N(this,_0x2f433c(0x1c4),this[_0x2f433c(0x1a4)][_0x2f433c(0x2a5)]());}[_0x424696(0x406)](){var _0x5a48f9=_0x424696;this[_0x5a48f9(0x2ec)][_0x5a48f9(0x2b0)]();}['updateMember'](_0x1586bf){var _0x4b37a=_0x424696;this['_members'][_0x4b37a(0x31f)](_0x1586bf[_0x4b37a(0x253)],_0x1586bf),this[_0x4b37a(0x1c3)]();}[_0x424696(0x14e)](_0x4c0e7d){var _0x401fcd=_0x424696;this[_0x401fcd(0x2ec)][_0x401fcd(0x16c)](_0x4c0e7d);}['getMember'](_0x251146){var _0x1b31cb=_0x424696;return this[_0x1b31cb(0x2ec)][_0x1b31cb(0x396)](_0x251146);}['getAllMembers'](){var _0x4a39bc=_0x424696;return Array[_0x4a39bc(0x3be)](this[_0x4a39bc(0x2ec)][_0x4a39bc(0x20c)]());}[_0x424696(0x1c3)](){var _0x1fa464=_0x424696;this[_0x1fa464(0x1a4)][_0x1fa464(0x3f2)](this[_0x1fa464(0x2ec)]);}}var Yn=Object[_0x424696(0x311)],qn=Object['getOwnPropertyDescriptor'],zn=(_0x1ad2ad,_0x1f6c93,_0x40c487,_0x26bcdf)=>{var _0x62dc0f=_0x424696;for(var _0x105d43=_0x26bcdf>0x1?void 0x0:_0x26bcdf?qn(_0x1f6c93,_0x40c487):_0x1f6c93,_0x9b22ab=_0x1ad2ad[_0x62dc0f(0x314)]-0x1,_0x38510d;_0x9b22ab>=0x0;_0x9b22ab--)(_0x38510d=_0x1ad2ad[_0x9b22ab])&&(_0x105d43=(_0x26bcdf?_0x38510d(_0x1f6c93,_0x40c487,_0x105d43):_0x38510d(_0x105d43))||_0x105d43);return _0x26bcdf&&_0x105d43&&Yn(_0x1f6c93,_0x40c487,_0x105d43),_0x105d43;},me=(_0x4cd01e,_0x31d983)=>(_0x5d15e8,_0x42cae6)=>_0x31d983(_0x5d15e8,_0x42cae6,_0x4cd01e),Ee=(_0x12853e=>(_0x12853e[_0x12853e[_0x424696(0x1d8)]=0x0]='IDLE',_0x12853e[_0x12853e['JOINING']=0x1]=_0x424696(0x21c),_0x12853e[_0x12853e['OFFLINE']=0x2]='OFFLINE',_0x12853e[_0x12853e['ONLINE']=0x3]=_0x424696(0x34a),_0x12853e))(Ee||{});const Kt={[ge[_0x424696(0x38d)]]:_0x424696(0x1a0),[ge['JOIN_ROOM_FULL']]:_0x424696(0x3a7),[ge['JOIN_ROOM_NOT_EXISTS']]:_0x424696(0x3c0),[ge[_0x424696(0x1c5)]]:'session.room-permission-denied',[ge[_0x424696(0x27e)]]:_0x424696(0x2bf)};let Et=class extends _0x38323d{constructor(_0x1d3e24,_0x334961,_0x224077,_0x2b55f2,_0x4a953f,_0x34e31c,_0x51f92b,_0x2c4884,_0x354f19){var _0x5a5c44=_0x424696;super(),N(this,_0x5a5c44(0x31e),new _0x43ba24(0x0)),N(this,_0x5a5c44(0x388),this[_0x5a5c44(0x31e)]['asObservable']()),N(this,'_event$',new _0xdedd08()),N(this,_0x5a5c44(0x224),this[_0x5a5c44(0x313)]['asObservable']()),N(this,_0x5a5c44(0x1db)),N(this,_0x5a5c44(0x3d9)),N(this,_0x5a5c44(0x3ed)),N(this,_0x5a5c44(0x234),!0x1),N(this,_0x5a5c44(0x3d7),null),(this[_0x5a5c44(0x30d)]=_0x1d3e24,this[_0x5a5c44(0x389)]=_0x224077,this[_0x5a5c44(0x15e)]=_0x2b55f2,this[_0x5a5c44(0x358)]=_0x4a953f,this['_memberService']=_0x34e31c,this[_0x5a5c44(0x412)]=_0x51f92b,this[_0x5a5c44(0x42c)]=_0x2c4884,this[_0x5a5c44(0x310)]=_0x354f19,this[_0x5a5c44(0x234)]=!!this['_telemetryService'],_0x334961[_0x5a5c44(0x1fb)](_0xc564a9(this[_0x5a5c44(0x1ad)]))['subscribe'](_0x459b12=>{var _0x355ffa=_0x5a5c44,_0x375126;typeof _0x459b12>'u'||(this['_socket']=_0x459b12,_0x459b12?(this['_joinRoom'](_0x459b12),this['_socketMessageSubscription']=_0x459b12['message$'][_0x355ffa(0x3cd)](_0x2a3116=>{var _0x197018=_0x355ffa;_0x2a3116[_0x197018(0x25f)]===this[_0x197018(0x30d)]&&this['_onCombEvent'](_0x2a3116);})):(this[_0x355ffa(0x2cf)](),this[_0x355ffa(0x31e)]['next'](0x2),(_0x375126=this[_0x355ffa(0x3d9)])==null||_0x375126[_0x355ffa(0x1c0)](),this[_0x355ffa(0x3d9)]=null));}));}get[_0x424696(0x383)](){var _0xabca8c=_0x424696;return this[_0xabca8c(0x31e)][_0xabca8c(0x361)]();}[_0x424696(0x40c)](){var _0xfa3140=_0x424696,_0x11ce39,_0x4b40d1;return(_0x4b40d1=(_0x11ce39=this[_0xfa3140(0x1db)])==null?void 0x0:_0x11ce39[_0xfa3140(0x253)])!=null?_0x4b40d1:null;}[_0x424696(0x406)](){var _0x458364=_0x424696;super['dispose'](),this['dispose$']['next'](),this[_0x458364(0x1ad)][_0x458364(0x292)]();}[_0x424696(0x26b)](){var _0x254a3d=_0x424696,_0x10321c,_0x43abe2;this['_throwTelemetryCollaborationNewChangeset'](),(_0x10321c=this[_0x254a3d(0x1db)])==null||_0x10321c[_0x254a3d(0x26d)]({'cmd':F[_0x254a3d(0x16d)],'data':{'roomID':this['_unitID']}}),(_0x43abe2=this[_0x254a3d(0x1db)])==null||_0x43abe2['close'](),this['_event$'][_0x254a3d(0x292)](),this[_0x254a3d(0x31e)][_0x254a3d(0x292)](),this[_0x254a3d(0x406)]();}['_onCombEvent'](_0xfb163f){var _0x3dcd3a=_0x424696;_0xfb163f[_0x3dcd3a(0x2b7)]===F[_0x3dcd3a(0x32e)]?this[_0x3dcd3a(0x1de)](_0xfb163f):_0xfb163f['cmd']===F['RECV']&&this[_0x3dcd3a(0x1cb)](_0xfb163f);}[_0x424696(0x312)](_0x24373d){var _0x358582=_0x424696;this[_0x358582(0x31e)][_0x358582(0x3f2)](0x1),_0x24373d['send']({'cmd':F['JOIN'],'routeKey':this[_0x358582(0x30d)],'routeType':'','data':{'rooms':[{'roomID':this[_0x358582(0x30d)]}]}});}[_0x424696(0x1de)](_0x5d71de){var _0x591450=_0x424696,_0x23e38f;if(_0x5d71de['code']in Kt){this[_0x591450(0x42c)][_0x591450(0x342)]({'id':se[_0x591450(0x382)],'data':Kt[_0x5d71de[_0x591450(0x156)]]}),this[_0x591450(0x31e)]['next'](0x2);return;}this['_sessionStatus$'][_0x591450(0x3f2)](0x3);const _0xadb453=(_0x23e38f=_0x5d71de[_0x591450(0x2b4)][_0x591450(0x286)][this['_unitID']])==null?void 0x0:_0x23e38f[_0x591450(0x1f0)];_0xadb453&&_0xadb453[_0x591450(0x409)](_0x1abfd3=>this[_0x591450(0x162)]['updateMember'](this[_0x591450(0x30d)],_0x1abfd3));}[_0x424696(0x1cb)](_0x1dec8c){var _0x38716c=_0x424696;try{const _0x10eb87=_0x1dec8c[_0x38716c(0x2b4)];switch(_0x10eb87[_0x38716c(0x30c)]){case _0x14e6e4[_0x38716c(0x2a0)]:this[_0x38716c(0x184)](_0x10eb87),this['_event$'][_0x38716c(0x3f2)](_0x10eb87);break;case _0x14e6e4[_0x38716c(0x367)]:this[_0x38716c(0x2c1)](_0x10eb87),this[_0x38716c(0x313)][_0x38716c(0x3f2)](_0x10eb87);break;case _0x14e6e4[_0x38716c(0x39b)]:case _0x14e6e4[_0x38716c(0x3c6)]:this[_0x38716c(0x3b1)](),this['_clearCollaborationTimeoutTimer'](),this[_0x38716c(0x313)][_0x38716c(0x3f2)](_0x10eb87);break;case _0x14e6e4[_0x38716c(0x36e)]:this[_0x38716c(0x389)]['error'](_0x38716c(0x353)+JSON[_0x38716c(0x397)](_0x10eb87)),this[_0x38716c(0x313)][_0x38716c(0x3f2)](_0x10eb87);break;case _0x14e6e4['COMMENT_UPDATE']:this[_0x38716c(0x412)]['onCommentUpdate'](_0x10eb87[_0x38716c(0x2b4)]),this[_0x38716c(0x313)]['next'](_0x10eb87);break;default:this[_0x38716c(0x313)][_0x38716c(0x3f2)](_0x10eb87);}}catch(_0x5d3667){this['_logService'][_0x38716c(0x20f)](_0x5d3667,_0x1dec8c);}}[_0x424696(0x184)](_0x15e77d){var _0xdfecd5=_0x424696;this[_0xdfecd5(0x162)]['updateMember'](this[_0xdfecd5(0x30d)],_0x15e77d[_0xdfecd5(0x2b4)]);}['_onUserLeave'](_0x333102){var _0x222720=_0x424696;this[_0x222720(0x162)][_0x222720(0x14e)](this[_0x222720(0x30d)],_0x333102[_0x222720(0x2b4)]['memberID']);}async[_0x424696(0x26d)](_0x4b6450,_0x49dbb6){var _0x281699=_0x424696;if(this[_0x281699(0x383)]!==0x3||!this[_0x281699(0x1db)])throw new Error(_0x281699(0x205));try{_0x4b6450[_0x281699(0x30c)]===_0x14e6e4[_0x281699(0x324)]&&(this[_0x281699(0x263)](),this['_startTelemetryCollaborationNewChangeset'](_0x4b6450)),this[_0x281699(0x1db)][_0x281699(0x26d)]({'cmd':F[_0x281699(0x437)],'routeKey':_0x49dbb6,'routeType':'','data':_0x4b6450});}catch(_0x77fa0a){this[_0x281699(0x389)][_0x281699(0x20f)](_0x77fa0a);}}[_0x424696(0x263)](){var _0x2de12a=_0x424696,_0x1451f5;this['_collaborationTimeoutTimer']=setTimeout(()=>{var _0x12233e=_0x181e;this['_collaborationTimeoutTimer']=null,this['_collaborationUIEventService'][_0x12233e(0x342)]({'id':se[_0x12233e(0x417)]});},(_0x1451f5=this[_0x2de12a(0x15e)][_0x2de12a(0x2c0)](mi))!=null?_0x1451f5:gi);}['_clearCollaborationTimeoutTimer'](){var _0x440500=_0x424696;this[_0x440500(0x3ed)]&&(clearTimeout(this[_0x440500(0x3ed)]),this['_collaborationTimeoutTimer']=null);}[_0x424696(0x199)](_0xc9af7c){var _0x5b82cc=_0x424696;if(!this[_0x5b82cc(0x234)])return;const {data:_0x29c09d}=_0xc9af7c,{unitID:_0x34b432,changeset:_0x1bd07d}=_0x29c09d,{mutations:_0x4c6184,type:_0x123a3e}=_0x1bd07d;this['_telemetryInfo']={'unitId':_0x34b432,'type':_0x123a3e,'startTime':performance[_0x5b82cc(0x3e5)](),'stopTime':0x0,'duration':0x0,'size':Fn(_0x4c6184)};}[_0x424696(0x3b1)](){var _0x1ea712=_0x424696;if(this[_0x1ea712(0x234)]){if(!this['_telemetryInfo']){this['_logService']['error'](_0x1ea712(0x1ac),'telemetry\x20info\x20is\x20not\x20initialized');return;}this['_telemetryInfo'][_0x1ea712(0x3f1)]=performance[_0x1ea712(0x3e5)](),this[_0x1ea712(0x3d7)][_0x1ea712(0x2d3)]=this[_0x1ea712(0x3d7)][_0x1ea712(0x3f1)]-this['_telemetryInfo'][_0x1ea712(0x250)],this['_telemetryService'][_0x1ea712(0x2e7)](Bn,this['_telemetryInfo']),this['_telemetryInfo']=null;}}['_throwTelemetryCollaborationNewChangeset'](){var _0x1bef9e=_0x424696;this[_0x1bef9e(0x3d7)]=null;}};Et=zn([me(0x2,_0x4d59d7),me(0x3,_0x257d37),me(0x4,_0x186d60(_0x24120b)),me(0x5,_0x186d60(xe)),me(0x6,_0x186d60(Ti)),me(0x7,_0x186d60(pe)),me(0x8,_0x39d318(_0x287e0e))],Et);var Jn=Object['defineProperty'],Xn=Object['getOwnPropertyDescriptor'],Zn=(_0x590e9f,_0x4a7a27,_0x256ec2,_0x346418)=>{var _0x140e81=_0x424696;for(var _0x4763d2=_0x346418>0x1?void 0x0:_0x346418?Xn(_0x4a7a27,_0x256ec2):_0x4a7a27,_0x189d34=_0x590e9f[_0x140e81(0x314)]-0x1,_0x4cf46e;_0x189d34>=0x0;_0x189d34--)(_0x4cf46e=_0x590e9f[_0x189d34])&&(_0x4763d2=(_0x346418?_0x4cf46e(_0x4a7a27,_0x256ec2,_0x4763d2):_0x4cf46e(_0x4763d2))||_0x4763d2);return _0x346418&&_0x4763d2&&Jn(_0x4a7a27,_0x256ec2,_0x4763d2),_0x4763d2;},Re=(_0xa69c43,_0x34b00f)=>(_0x4155dd,_0x2544e4)=>_0x34b00f(_0x4155dd,_0x2544e4,_0xa69c43);let Le=class extends _0x221e87{constructor(_0x1710d6,_0x4fbcf8,_0x547dc1,_0x4adf8a,_0x10faed,_0x219f2e){var _0xe4f03=_0x424696;super(),N(this,_0xe4f03(0x21a),new _0x43ba24(void 0x0)),N(this,_0xe4f03(0x31a),this['_socket$'][_0xe4f03(0x2a5)]()),N(this,_0xe4f03(0x1da),null),N(this,_0xe4f03(0x371),new Map()),N(this,_0xe4f03(0x259),new _0x43ba24(Ee[_0xe4f03(0x1d8)])),N(this,_0xe4f03(0x282),this[_0xe4f03(0x259)][_0xe4f03(0x2a5)]()),N(this,_0xe4f03(0x291),!0x1),N(this,_0xe4f03(0x30e)),N(this,_0xe4f03(0x2f6),0x0),N(this,'_sendHeartbeatTimer'),N(this,_0xe4f03(0x2dc)),(this[_0xe4f03(0x21b)]=_0x1710d6,this[_0xe4f03(0x389)]=_0x4fbcf8,this['_configService']=_0x547dc1,this[_0xe4f03(0x3e9)]=_0x4adf8a,this[_0xe4f03(0x42c)]=_0x10faed,this[_0xe4f03(0x1ed)]=_0x219f2e,this[_0xe4f03(0x410)]());}get['_socket'](){var _0x29fcbd=_0x424696;return this[_0x29fcbd(0x21a)]['getValue']();}[_0x424696(0x410)](){var _0x3f01ff=_0x424696;this[_0x3f01ff(0x1ed)]&&this['disposeWithMe'](this[_0x3f01ff(0x1ed)][_0x3f01ff(0x392)][_0x3f01ff(0x3cd)](_0x3e5972=>{var _0x3fae26=_0x3f01ff;_0x3e5972&&!this['_socket']&&this[_0x3fae26(0x20d)](),_0x3e5972||this[_0x3fae26(0x1e0)]();}));}[_0x424696(0x406)](){var _0x10ceb2=_0x424696;super['dispose'](),this[_0x10ceb2(0x371)][_0x10ceb2(0x409)](_0x275efe=>_0x275efe['dispose']()),this[_0x10ceb2(0x371)][_0x10ceb2(0x2b0)](),this[_0x10ceb2(0x259)][_0x10ceb2(0x292)]();}async['requireSession'](_0x134679){var _0x1a2f99=_0x424696;if(this[_0x1a2f99(0x371)]['has'](_0x134679))return this[_0x1a2f99(0x371)]['get'](_0x134679);this[_0x1a2f99(0x370)]();const _0x13e646=this[_0x1a2f99(0x21b)][_0x1a2f99(0x3fc)](Et,_0x134679,this[_0x1a2f99(0x21a)][_0x1a2f99(0x2a5)]());return this[_0x1a2f99(0x371)]['set'](_0x134679,_0x13e646),_0x13e646;}[_0x424696(0x1a5)](_0x182d81){var _0x54a76d=_0x424696,_0x56b122;const _0x48aa90=this[_0x54a76d(0x371)][_0x54a76d(0x396)](_0x182d81);_0x48aa90&&(this['_sessions'][_0x54a76d(0x16c)](_0x182d81),_0x48aa90[_0x54a76d(0x26b)]()),this[_0x54a76d(0x371)][_0x54a76d(0x23a)]||(_0x56b122=this[_0x54a76d(0x1db)])==null||_0x56b122[_0x54a76d(0x26b)]();}[_0x424696(0x20d)](){var _0x2d597b=_0x424696;this[_0x2d597b(0x2f6)]=0x0,this[_0x2d597b(0x30e)]!=null&&(clearTimeout(this[_0x2d597b(0x30e)]),this[_0x2d597b(0x30e)]=null),this[_0x2d597b(0x3c1)]();}async[_0x424696(0x194)](){var _0x116c02=_0x424696,_0x3ea970,_0x5ef072;const _0x5ed94f=this[_0x116c02(0x15e)][_0x116c02(0x2c0)](Tn),_0xf399d3=this[_0x116c02(0x15e)][_0x116c02(0x2c0)](q),_0x289d9b=(_0x5ef072=(_0x3ea970=_0xf399d3==null?void 0x0:_0xf399d3['collabWebSocketUrl'])!=null?_0x3ea970:_0x5ed94f)!=null?_0x5ef072:Cn,_0x36697b=await this[_0x116c02(0x3e9)][_0x116c02(0x249)](_0x289d9b);return this['_candidateSocket']=_0x36697b,_0x36697b;}async[_0x424696(0x370)](){var _0x5376ab=_0x424696,_0x175c5e,_0x289386;try{const _0x3c0a46=(_0x289386=(_0x175c5e=this['_socket'])!=null?_0x175c5e:this[_0x5376ab(0x1da)])!=null?_0x289386:await this[_0x5376ab(0x194)]();if(_0x3c0a46){const _0x125c66=_0x3c0a46['send'];_0x3c0a46[_0x5376ab(0x26d)]=_0x25f5c3=>(this[_0x5376ab(0x2d2)](),_0x125c66[_0x5376ab(0x1df)](_0x3c0a46,[_0x25f5c3])),_0x3c0a46[_0x5376ab(0x3e0)][_0x5376ab(0x3cd)](_0x3a123f=>this[_0x5376ab(0x3ba)](_0x3c0a46,_0x3a123f)),_0x3c0a46['error$'][_0x5376ab(0x1fb)](_0x2769a4(0x1))['subscribe'](_0x1f92fb=>this['_logService'][_0x5376ab(0x20f)]('[CollaborationSessionService]:\x20socket\x20error',_0x1f92fb)),_0x3c0a46[_0x5376ab(0x340)][_0x5376ab(0x1fb)](_0x2769a4(0x1))['subscribe'](()=>{var _0x37f8e8=_0x5376ab;this[_0x37f8e8(0x30a)](_0x3c0a46);}),_0x3c0a46[_0x5376ab(0x267)]['pipe'](_0x2769a4(0x1))[_0x5376ab(0x3cd)](_0x43ef2a=>{var _0x1a47aa=_0x5376ab;this[_0x1a47aa(0x389)]['debug']('[CollaborationSessionService]',_0x1a47aa(0x23f),_0x43ef2a),this['_onConnectionFailed']();});}}catch(_0x26cb1f){this[_0x5376ab(0x389)][_0x5376ab(0x20f)](_0x26cb1f),this[_0x5376ab(0x186)]();}}['_onConnectionOpen'](_0x158149){var _0x2d0f78=_0x424696;this[_0x2d0f78(0x389)]['debug'](_0x2d0f78(0x2d8),'socket\x20open.'),_0x158149[_0x2d0f78(0x26d)]({'cmd':F['HELLO']}),this[_0x2d0f78(0x2d2)]();}[_0x424696(0x1e0)](){var _0x22ea07=_0x424696;this[_0x22ea07(0x291)]=!0x1,this[_0x22ea07(0x1da)]=null,this['_status$'][_0x22ea07(0x3f2)](Ee[_0x22ea07(0x200)]),this[_0x22ea07(0x21a)][_0x22ea07(0x3f2)](null),this[_0x22ea07(0x2d7)](),this['_clearHeartbeatTimer']();}[_0x424696(0x186)](){var _0x1f4227=_0x424696,_0x471295;this[_0x1f4227(0x1e0)](),this['_retryCount']<((_0x471295=this['_configService'][_0x1f4227(0x2c0)](yn))!=null?_0x471295:Nn)?(this[_0x1f4227(0x42c)][_0x1f4227(0x342)]({'id':se[_0x1f4227(0x345)]}),this['_tryReconnect']()):this[_0x1f4227(0x42c)][_0x1f4227(0x342)]({'id':se[_0x1f4227(0x333)]});}[_0x424696(0x3c1)](){var _0x1ad5b8=_0x424696,_0x39a3b9;const _0x3268fa=this['_retryCount'],_0x57fcb6=this[_0x1ad5b8(0x15e)][_0x1ad5b8(0x2c0)](q),_0x1e7e6d=_0x3268fa===0x0?0x0:((_0x39a3b9=_0x57fcb6==null?void 0x0:_0x57fcb6[_0x1ad5b8(0x218)])!=null?_0x39a3b9:On)*0x2**_0x3268fa;this[_0x1ad5b8(0x30e)]=setTimeout(()=>{var _0xc22a=_0x1ad5b8;clearTimeout(this[_0xc22a(0x30e)]),this[_0xc22a(0x30e)]=null,this[_0xc22a(0x370)]();},_0x1e7e6d),this[_0x1ad5b8(0x2f6)]+=0x1;}['_onMessage'](_0x206313,_0x222fb6){var _0x1ff708=_0x424696;const {cmd:_0x4b7728}=_0x222fb6;_0x4b7728===F['HELLO']&&!this[_0x1ff708(0x291)]&&(_0x206313[_0x1ff708(0x253)]=_0x222fb6[_0x1ff708(0x2b4)][_0x1ff708(0x253)],this['_socket$']['next'](_0x206313),this['_status$']['next'](Ee[_0x1ff708(0x34a)]),this[_0x1ff708(0x291)]=!0x0,this['_candidateSocket']=null),_0x4b7728===F['HEARTBEAT']&&this['_clearTimeoutTimer'](),this['_rescheduleHeartbeat']();}[_0x424696(0x2d2)](){var _0x48680b=_0x424696,_0x39234e;this[_0x48680b(0x154)](),this[_0x48680b(0x225)]=setTimeout(()=>this[_0x48680b(0x366)](),(_0x39234e=this[_0x48680b(0x15e)][_0x48680b(0x2c0)](bn))!=null?_0x39234e:Rn);}[_0x424696(0x366)](){var _0x14819c=_0x424696;this[_0x14819c(0x1db)]['send']({'cmd':F['HEARTBEAT']}),this[_0x14819c(0x33b)]();}[_0x424696(0x33b)](){var _0x2c0558=_0x424696,_0x2c773b;this[_0x2c0558(0x2dc)]=setTimeout(()=>this[_0x2c0558(0x186)](),(_0x2c773b=this['_configService']['getConfig'](mi))!=null?_0x2c773b:gi);}[_0x424696(0x154)](){var _0x1363a1=_0x424696;this[_0x1363a1(0x225)]!=null&&(clearTimeout(this[_0x1363a1(0x225)]),this[_0x1363a1(0x225)]=null);}['_clearTimeoutTimer'](){var _0x1ef6e6=_0x424696;this['_timeoutTimer']!=null&&(clearTimeout(this['_timeoutTimer']),this[_0x1ef6e6(0x2dc)]=null);}};Le=Zn([Re(0x0,_0x186d60(_0x2d62be)),Re(0x1,_0x4d59d7),Re(0x2,_0x257d37),Re(0x3,Ii),Re(0x4,_0x186d60(pe)),Re(0x5,_0x39d318(xn))],Le);const G=[];for(let n=0x0;n<0x100;++n)G[_0x424696(0x232)]((n+0x100)['toString'](0x10)['slice'](0x1));function Qn(_0x279231,_0x4317e9=0x0){var _0x44b2d8=_0x424696;return(G[_0x279231[_0x4317e9+0x0]]+G[_0x279231[_0x4317e9+0x1]]+G[_0x279231[_0x4317e9+0x2]]+G[_0x279231[_0x4317e9+0x3]]+'-'+G[_0x279231[_0x4317e9+0x4]]+G[_0x279231[_0x4317e9+0x5]]+'-'+G[_0x279231[_0x4317e9+0x6]]+G[_0x279231[_0x4317e9+0x7]]+'-'+G[_0x279231[_0x4317e9+0x8]]+G[_0x279231[_0x4317e9+0x9]]+'-'+G[_0x279231[_0x4317e9+0xa]]+G[_0x279231[_0x4317e9+0xb]]+G[_0x279231[_0x4317e9+0xc]]+G[_0x279231[_0x4317e9+0xd]]+G[_0x279231[_0x4317e9+0xe]]+G[_0x279231[_0x4317e9+0xf]])[_0x44b2d8(0x1dd)]();}let ut;const er=new Uint8Array(0x10);function tr(){var _0x2826d9=_0x424696;if(!ut){if(typeof crypto>'u'||!crypto[_0x2826d9(0x22b)])throw new Error(_0x2826d9(0x2d5));ut=crypto[_0x2826d9(0x22b)]['bind'](crypto);}return ut(er);}const ir=typeof crypto<'u'&&crypto['randomUUID']&&crypto[_0x424696(0x3b5)][_0x424696(0x283)](crypto),Yt={'randomUUID':ir};function nr(_0xed3c84,_0x1d1286,_0x402230){var _0x1c42ad=_0x424696,_0x30d7e8,_0x2da1e8,_0x313fd5;if(Yt['randomUUID']&&!_0xed3c84)return Yt['randomUUID']();_0xed3c84=_0xed3c84||{};const _0xc85e97=(_0x313fd5=(_0x2da1e8=_0xed3c84[_0x1c42ad(0x174)])!=null?_0x2da1e8:(_0x30d7e8=_0xed3c84[_0x1c42ad(0x41f)])==null?void 0x0:_0x30d7e8[_0x1c42ad(0x22e)](_0xed3c84))!=null?_0x313fd5:tr();if(_0xc85e97['length']<0x10)throw new Error(_0x1c42ad(0x393));return _0xc85e97[0x6]=_0xc85e97[0x6]&0xf|0x40,_0xc85e97[0x8]=_0xc85e97[0x8]&0x3f|0x80,Qn(_0xc85e97);}const J=_0x685b6c('collaboration-client.local-cache-service');function ro(_0xf17b5c){var _0x3bde17=_0x424696;return _0x3bde17(0x3ee)+_0xf17b5c;}var rr=Object[_0x424696(0x311)],sr=Object[_0x424696(0x275)],or=(_0x522841,_0x50a740,_0x33341b,_0x2c4d5f)=>{var _0xd55baf=_0x424696;for(var _0x1fd147=_0x2c4d5f>0x1?void 0x0:_0x2c4d5f?sr(_0x50a740,_0x33341b):_0x50a740,_0x2a16ca=_0x522841[_0xd55baf(0x314)]-0x1,_0x1be36d;_0x2a16ca>=0x0;_0x2a16ca--)(_0x1be36d=_0x522841[_0x2a16ca])&&(_0x1fd147=(_0x2c4d5f?_0x1be36d(_0x50a740,_0x33341b,_0x1fd147):_0x1be36d(_0x1fd147))||_0x1fd147);return _0x2c4d5f&&_0x1fd147&&rr(_0x50a740,_0x33341b,_0x1fd147),_0x1fd147;},dt=(_0xa716ac,_0x34a0e4)=>(_0x1a1643,_0x323d3d)=>_0x34a0e4(_0x1a1643,_0x323d3d,_0xa716ac);function ar(_0x2c8e4e){var _0x69650a=_0x424696;const {unitID:_0x52ebf6,mutations:_0x4d950b}=_0x2c8e4e;return{'unitId':_0x52ebf6,'subUnitId':_0x4d950b[0x0]['params'][_0x69650a(0x28d)]};}let it=class{constructor(_0x27cd2e,_0x435f91,_0x24e923){var _0x394782=_0x424696;this[_0x394782(0x21b)]=_0x27cd2e,this['_transformService']=_0x435f91,this['_instanceService']=_0x24e923;}[_0x424696(0x323)](_0x47587d){var _0x367b00=_0x424696,_0x4858e6,_0x157531,_0x23d215,_0x44e6d0;const _0x460524=this[_0x367b00(0x21b)][_0x367b00(0x396)](_0x22d798),{unitId:_0x2dc34d,subUnitId:_0x270ff5}=ar(_0x47587d),_0x305374=_0x460524==null?void 0x0:_0x460524[_0x367b00(0x378)](_0x2dc34d)[_0x367b00(0x381)](),_0x55bd88=(_0x157531=(_0x4858e6=this[_0x367b00(0x33a)][_0x367b00(0x168)](_0x2dc34d))==null?void 0x0:_0x4858e6[_0x367b00(0x2fc)]())==null?void 0x0:_0x157531[_0x367b00(0x208)]();if(_0x305374[_0x367b00(0x314)]===0x0||!_0x2dc34d||!_0x270ff5)return;const _0x19eab0=[{'id':_0x543fec['id'],'params':{'unitId':_0x2dc34d,'subUnitId':_0x55bd88,'selections':_0x12cf24[_0x367b00(0x266)](_0x305374)}}],_0x2ddccf=this[_0x367b00(0x219)]['transformMutationsWithChangeset'](_0x47587d,_0x19eab0);if(!_0x8bddd3(_0x2ddccf))throw _0x2ddccf['error'];const _0x59e6b3=(_0x44e6d0=(_0x23d215=_0x2ddccf[_0x367b00(0x3b7)][0x0])==null?void 0x0:_0x23d215[_0x367b00(0x2e1)])==null?void 0x0:_0x44e6d0[_0x367b00(0x421)];if(Array[_0x367b00(0x166)](_0x59e6b3)&&_0x59e6b3['length']){if(_0x59e6b3['length']===_0x19eab0[0x0][_0x367b00(0x2e1)]['selections'][_0x367b00(0x314)]&&_0x59e6b3[_0x367b00(0x14a)]((_0xb3f992,_0x2889b0)=>_0x246b53['equals'](_0xb3f992[_0x367b00(0x40f)],_0x19eab0[0x0][_0x367b00(0x2e1)][_0x367b00(0x421)][_0x2889b0][_0x367b00(0x40f)])))return;this['_injector']['get'](_0xe2c354)['executeCommand'](_0x543fec['id'],{'unitId':_0x2dc34d,'subUnitId':_0x55bd88,'selections':_0x59e6b3});}}};it=or([dt(0x0,_0x186d60(_0x2d62be)),dt(0x1,_0xfa424c),dt(0x2,_0x5238c4)],it);const ht=_0x685b6c(_0x424696(0x41c));var Ci=(_0x138a90=>(_0x138a90[_0x138a90[_0x424696(0x373)]=0x0]='NO_OTHER_CLIENTS_EDITING',_0x138a90[_0x138a90[_0x424696(0x3df)]=0x1]='OTHER_CLIENTS_EDITING',_0x138a90))(Ci||{});const cr=new Set([_0x3c5248['id']]);function qt(_0xf30d0b,_0x233409,_0x2ffb7c,_0x3e12e5,_0x19f077){var _0x5952b8=_0x424696,_0x28ca1a,_0x494b8b,_0x26f0d4,_0x56cbbc;const _0x24378b=[];for(const _0x2ecdc7 of _0xf30d0b)if(cr['has'](_0x2ecdc7['id'])){if(_0x24378b[_0x5952b8(0x314)]>0x0)break;_0x24378b[_0x5952b8(0x232)](_0x2ecdc7);break;}else _0x24378b[_0x5952b8(0x232)](_0x2ecdc7);const _0x4379ee=(_0x494b8b=(_0x28ca1a=_0x19f077[_0x5952b8(0x433)]())==null?void 0x0:_0x28ca1a[_0x5952b8(0x257)])!=null?_0x494b8b:_0x5952b8(0x352),_0x304b06=(_0x56cbbc=(_0x26f0d4=_0x19f077[_0x5952b8(0x433)]())==null?void 0x0:_0x26f0d4['memberID'])!=null?_0x56cbbc:_0x5952b8(0x352);return{'changeset':{'unitID':_0x233409,'type':_0x3a6879(_0x2ffb7c[_0x5952b8(0x3a2)](_0x233409)),'baseRev':_0x3e12e5[_0x5952b8(0x3f8)](_0x233409),'revision':0x0,'userID':_0x4379ee,'memberID':_0x304b06,'mutations':_0x24378b},'pendingMutations':_0xf30d0b[_0x5952b8(0x2f9)](_0x24378b[_0x5952b8(0x314)])};}function hr(_0x5ccd07,_0x1300dc,_0x195368,_0x440b89,_0xd84a52){var _0x2cbc84=_0x424696,_0x5bc94b,_0x26a3c1,_0x11ae54,_0x25423f;const _0x164cbe=[_0x5ccd07[_0x2cbc84(0x3a1)]((_0x3991c5,_0x2e8c5e)=>{var _0x4abb24=_0x2cbc84,_0x4d111d;const {id:_0x228b67}=_0x3991c5,{id:_0x4cfb64,type:_0x426ee4}=_0x2e8c5e,_0x109b45=(_0x4d111d=_0x3991c5[_0x4abb24(0x2e1)])!=null?_0x4d111d:{'actions':null},_0x473d23=_0x2e8c5e['params'];if(_0x228b67&&_0x228b67!==_0x4cfb64)throw new Error(_0x4abb24(0x22a)+_0x228b67+_0x4abb24(0x14b)+_0x4cfb64+'.');return{..._0x3991c5,'id':_0x4cfb64,'type':_0x426ee4,'params':{'unitId':_0x473d23[_0x4abb24(0x3e3)],'textRanges':_0x473d23[_0x4abb24(0x3c2)],'actions':_0x481e85[_0x4abb24(0x20e)](_0x109b45[_0x4abb24(0x2a2)],_0x473d23[_0x4abb24(0x2a2)])}};},{})],_0x4d7112=(_0x26a3c1=(_0x5bc94b=_0xd84a52['getCurrentUser']())==null?void 0x0:_0x5bc94b[_0x2cbc84(0x257)])!=null?_0x26a3c1:_0x2cbc84(0x352),_0x143cce=(_0x25423f=(_0x11ae54=_0xd84a52[_0x2cbc84(0x433)]())==null?void 0x0:_0x11ae54[_0x2cbc84(0x253)])!=null?_0x25423f:_0x2cbc84(0x352);return{'changeset':{'unitID':_0x1300dc,'type':_0x3a6879(_0x195368[_0x2cbc84(0x3a2)](_0x1300dc)),'baseRev':_0x440b89[_0x2cbc84(0x3f8)](_0x1300dc),'revision':0x0,'userID':_0x4d7112,'memberID':_0x143cce,'mutations':_0x164cbe},'pendingMutations':[]};}function bi(_0x3818bd,_0x2d819b){var _0x198c32=_0x424696;const _0x371747=new _0x295ed0(0x1);return setTimeout(()=>_0x371747[_0x198c32(0x3f2)](_0x2d819b),_0x3818bd),_0x371747[_0x198c32(0x2a5)]()[_0x198c32(0x1fb)](_0x35e0b5(0x1));}const _r={'id':_0x2c38a3['id'],'type':_0x3ee1d2[_0x424696(0x1e6)],'params':{}};var lr=Object['defineProperty'],ur=Object[_0x424696(0x275)],Te=(_0x4b27ca,_0x25ec6a,_0x57af7f,_0x5f5a4c)=>{var _0x352377=_0x424696;for(var _0x238656=_0x5f5a4c>0x1?void 0x0:_0x5f5a4c?ur(_0x25ec6a,_0x57af7f):_0x25ec6a,_0x598b89=_0x4b27ca[_0x352377(0x314)]-0x1,_0x56d301;_0x598b89>=0x0;_0x598b89--)(_0x56d301=_0x4b27ca[_0x598b89])&&(_0x238656=(_0x5f5a4c?_0x56d301(_0x25ec6a,_0x57af7f,_0x238656):_0x56d301(_0x238656))||_0x238656);return _0x5f5a4c&&_0x238656&&lr(_0x25ec6a,_0x57af7f,_0x238656),_0x238656;},A=(_0x31e64b,_0x17054c)=>(_0x17b18b,_0x58a2a7)=>_0x17054c(_0x17b18b,_0x58a2a7,_0x31e64b),Ri=(_0x16160e=>(_0x16160e['NOT_COLLAB']=_0x424696(0x144),_0x16160e[_0x424696(0x17f)]=_0x424696(0x1bf),_0x16160e[_0x424696(0x15b)]=_0x424696(0x2ee),_0x16160e['AWAITING']=_0x424696(0x158),_0x16160e[_0x424696(0x264)]='awaiting_with_pending',_0x16160e[_0x424696(0x3fa)]='fetch_missing',_0x16160e[_0x424696(0x1b6)]=_0x424696(0x149),_0x16160e['OFFLINE']='offline',_0x16160e))(Ri||{});const Oi=0xea60;class Ce{constructor(_0x8beae6,_0x45ff85,_0x3c8065,_0x32d385,_0x30cbbf,_0x214e85,_0x4a8e51,_0x563c2e,_0x22d3a1){var _0x470bb7=_0x424696;N(this,_0x470bb7(0x355),null),N(this,'_pendingMutations',[]),(this['unitID']=_0x8beae6,this[_0x470bb7(0x1d7)]=_0x45ff85,this['_handler']=_0x30cbbf,this['_commandService']=_0x214e85,this[_0x470bb7(0x356)]=_0x4a8e51,this[_0x470bb7(0x3cb)]=_0x563c2e,this['_localCacheService']=_0x22d3a1,this['_awaitingChangeset']=_0x3c8065,this[_0x470bb7(0x3b0)]=_0x32d385);}[_0x424696(0x38e)](_0x1dbaa3){var _0x19c10b=_0x424696;const _0x4eb5ef=this[_0x19c10b(0x3cb)][_0x19c10b(0x3f8)](this[_0x19c10b(0x161)]);return _0x1dbaa3[_0x19c10b(0x28e)]>_0x4eb5ef+0x1?(this[_0x19c10b(0x157)][_0x19c10b(0x39a)]({'from':_0x4eb5ef,'to':_0x1dbaa3[_0x19c10b(0x28e)]-0x1}),!0x0):!0x1;}[_0x424696(0x2cc)](_0x2361b3){var _0x53aae6=_0x424696;this[_0x53aae6(0x356)][_0x53aae6(0x2e4)](this[_0x53aae6(0x161)],_0x2361b3);}[_0x424696(0x25c)](_0x5011db){var _0x39244c=_0x424696,_0x2b2926,_0x22e5de;(_0x22e5de=(_0x2b2926=this['_handler'])[_0x39244c(0x40a)])==null||_0x22e5de['call'](_0x2b2926,_0x5011db);}[_0x424696(0x2e0)](_0x4b0281){var _0x4c935b=_0x424696,_0x377b53,_0x2370f8;return(_0x2370f8=(_0x377b53=this[_0x4c935b(0x157)])[_0x4c935b(0x251)])==null?void 0x0:_0x2370f8[_0x4c935b(0x22e)](_0x377b53,_0x4b0281);}[_0x424696(0x1e5)](_0x2abdf1){var _0x285d80=_0x424696,_0x34cef9,_0x2dc597;return(_0x2dc597=(_0x34cef9=this[_0x285d80(0x157)])[_0x285d80(0x1e8)])==null?void 0x0:_0x2dc597[_0x285d80(0x22e)](_0x34cef9,_0x2abdf1);}[_0x424696(0x29f)](_0x301e7f){var _0x357564=_0x424696,_0x1428a7,_0x20ed11,_0x59d222;return(_0x59d222=(_0x20ed11=(_0x1428a7=this[_0x357564(0x157)])['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x20ed11['call'](_0x1428a7,_0x301e7f))!=null?_0x59d222:_0x301e7f;}[_0x424696(0x3db)](_0x21da5a){var _0x15c44a=_0x424696,_0x252d36,_0x5a5958,_0x38f5d4;return(_0x38f5d4=(_0x5a5958=(_0x252d36=this[_0x15c44a(0x157)])['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x5a5958[_0x15c44a(0x22e)](_0x252d36,_0x21da5a))!=null?_0x38f5d4:_0x21da5a;}[_0x424696(0x188)](_0x1d279c){var _0x3ecdb6=_0x424696,_0x4ae5ea,_0x5aeace;if(this[_0x3ecdb6(0x1d7)]===Q[_0x3ecdb6(0x240)]){const {unitID:_0x1d8510,mutations:_0x48bb3e,memberID:_0x26cd71}=_0x1d279c,_0x7275a9=_0x48bb3e[0x0][_0x3ecdb6(0x2e1)][_0x3ecdb6(0x3c2)];Array[_0x3ecdb6(0x166)](_0x7275a9)&&_0x7275a9[_0x3ecdb6(0x314)]>0x0&&((_0x5aeace=(_0x4ae5ea=this[_0x3ecdb6(0x157)])[_0x3ecdb6(0x375)])==null||_0x5aeace[_0x3ecdb6(0x22e)](_0x4ae5ea,{'unitID':_0x1d8510,'memberID':_0x26cd71,'textRanges':_0x7275a9}));}}[_0x424696(0x3a9)](){var _0x46a7c7=_0x424696,_0x5d34cc;(_0x5d34cc=this[_0x46a7c7(0x354)])==null||_0x5d34cc[_0x46a7c7(0x330)](this['unitID'],this[_0x46a7c7(0x1d7)],this[_0x46a7c7(0x355)],this[_0x46a7c7(0x3b0)]);}[_0x424696(0x30b)](){var _0x9f36bc=_0x424696;return this[_0x9f36bc(0x3cb)][_0x9f36bc(0x3f8)](this[_0x9f36bc(0x161)]);}[_0x424696(0x428)](){var _0x3410fd=_0x424696;this[_0x3410fd(0x3cb)]['incrementRevOfUnit'](this[_0x3410fd(0x161)]);}[_0x424696(0x183)](_0x38e90f){var _0x3875cf=_0x424696,_0x2c76af;let _0x255d81=this[_0x3875cf(0x29f)](_0x38e90f);_0x255d81=this['_transformRemoteChangesetByStateCache'](_0x255d81);const _0x48e1d0=_0x4e8515(_0x255d81['mutations'],this[_0x3875cf(0x2ae)],{'fromCollab':!0x0});if(!_0x48e1d0[_0x3875cf(0x365)])throw _0x48e1d0[_0x3875cf(0x20f)]instanceof Error?_0x48e1d0[_0x3875cf(0x20f)]:new Error((_0x2c76af=_0x48e1d0[_0x3875cf(0x20f)])!=null?_0x2c76af:_0x3875cf(0x1e3));this[_0x3875cf(0x2e0)](_0x255d81),this[_0x3875cf(0x1e5)](_0x255d81),this[_0x3875cf(0x2cc)](_0x38e90f),this['_transformSelections'](_0x255d81),this[_0x3875cf(0x188)](_0x255d81),this[_0x3875cf(0x428)]();}}let Ne=class extends Ce{constructor(_0x4c1338,_0x3cfc98,_0x54205b,_0xb69803,_0x3b894b,_0x371acc,_0x3351f7,_0x15ae2b,_0xcd9824,_0x4e7cea){var _0x4b2b8c=_0x424696;super(_0x4c1338,_0x3cfc98,null,[],_0x54205b,_0x3351f7,_0x371acc,_0xb69803,_0x4e7cea),N(this,_0x4b2b8c(0x163),_0x4b2b8c(0x1bf)),(this['_injector']=_0x3b894b,this['_logService']=_0x15ae2b,this[_0x4b2b8c(0x219)]=_0xcd9824,this[_0x4b2b8c(0x3fd)]=_0x4e7cea);}['appendMutation'](_0x476a6c){var _0x230ace=_0x424696;const _0x13ac49=this[_0x230ace(0x21b)][_0x230ace(0x3fc)](oe,this[_0x230ace(0x161)],this[_0x230ace(0x1d7)],[_0x476a6c],this['_handler']);return _0x13ac49[_0x230ace(0x201)](),_0x13ac49['_updateLocalCache'](),_0x13ac49;}[_0x424696(0x2b3)](_0x1db37){var _0x6a8db7=_0x424696;if(this[_0x6a8db7(0x38e)](_0x1db37))return this[_0x6a8db7(0x21b)][_0x6a8db7(0x3fc)](ee,this[_0x6a8db7(0x161)],this['type'],null,[],null,[_0x1db37],this[_0x6a8db7(0x157)]);try{const _0x56aa84=this['_transformService']['transformMutationsWithChangeset'](_0x1db37,[_r]);if(_0x8bddd3(_0x56aa84)){const {c1Prime:_0xd79a36}=_0x56aa84;return this['_executeRemoteChangeset'](_0xd79a36),this;}throw _0x56aa84[_0x6a8db7(0x20f)];}catch(_0x33e535){return this[_0x6a8db7(0x389)][_0x6a8db7(0x20f)](_0x33e535),this[_0x6a8db7(0x155)](!0x1);}}['_onConflict'](_0x15f399){var _0x1875d4=_0x424696;return this[_0x1875d4(0x21b)][_0x1875d4(0x3fc)](ue,this['unitID'],this[_0x1875d4(0x1d7)],null,[],this['_handler'],_0x15f399);}[_0x424696(0x31d)](){throw new Error('[SyncedState]:\x20received\x20acknowledgement.');}['onRemoteRej'](){var _0x5f03c8=_0x424696;throw new Error(_0x5f03c8(0x227));}['onRemoteRetry'](){return this;}['toggleOffline'](){var _0x2579bc=_0x424696;return this[_0x2579bc(0x21b)]['createInstance'](de,this[_0x2579bc(0x161)],this[_0x2579bc(0x1d7)],null,[],this[_0x2579bc(0x157)]);}['toggleOnline'](){return this;}[_0x424696(0x38c)](){var _0x31ffb0=_0x424696;throw new Error(_0x31ffb0(0x256));}['fetchMiss'](){var _0x33961b=_0x424696;const _0x5a7f02=this[_0x33961b(0x3cb)][_0x33961b(0x3f8)](this['unitID']);return this[_0x33961b(0x157)][_0x33961b(0x39a)]({'from':_0x5a7f02,'to':0x0}),this['_injector']['createInstance'](ee,this['unitID'],this['type'],null,[],null,[],this[_0x33961b(0x157)]);}};Ne=Te([A(0x3,_0x186d60(_0x3c36df)),A(0x4,_0x186d60(_0x2d62be)),A(0x5,_0x4f2b06),A(0x6,_0xe2c354),A(0x7,_0x4d59d7),A(0x8,_0xfa424c),A(0x9,_0x39d318(J))],Ne);let oe=class extends Ce{constructor(_0x5383a9,_0x57ad30,_0x11eed6,_0x2f8506,_0x159ba2,_0x5250a6,_0x40512a,_0x1f680d,_0xffde8b,_0x3f1dfb,_0x525844,_0x340d04,_0x39df89,_0x1e28c4){var _0x29c786=_0x424696;super(_0x5383a9,_0x57ad30,null,_0x11eed6,_0x2f8506,_0xffde8b,_0x39df89,_0x5250a6,_0x1e28c4),N(this,_0x29c786(0x163),_0x29c786(0x2ee)),N(this,_0x29c786(0x1cc),null),N(this,'_sendingTimer',null),(this[_0x29c786(0x21b)]=_0x159ba2,this[_0x29c786(0x162)]=_0x40512a,this[_0x29c786(0x389)]=_0x1f680d,this[_0x29c786(0x15e)]=_0x3f1dfb,this[_0x29c786(0x219)]=_0x525844,this[_0x29c786(0x270)]=_0x340d04);}['appendMutation'](_0x5541e6){var _0x2e4d3f=_0x424696;return this['_pendingMutations'][_0x2e4d3f(0x232)](_0x5541e6),this['_updateLocalCache'](),this;}[_0x424696(0x2b3)](_0x477c54){var _0x5566e3=_0x424696;if(this[_0x5566e3(0x38e)](_0x477c54))return this[_0x5566e3(0x35c)](),this['_injector'][_0x5566e3(0x3fc)](ee,this[_0x5566e3(0x161)],this['type'],null,this[_0x5566e3(0x3b0)],null,[_0x477c54],this[_0x5566e3(0x157)]);try{const _0x35ecac=this[_0x5566e3(0x219)]['transformMutationsWithChangeset'](_0x477c54,this['_pendingMutations']);if(_0x8bddd3(_0x35ecac)){const {c1Prime:_0x36c31a,m2Prime:_0x2449a7}=_0x35ecac;this[_0x5566e3(0x183)](_0x36c31a);const _0x39979b=this['_injector'][_0x5566e3(0x3fc)](oe,this[_0x5566e3(0x161)],this[_0x5566e3(0x1d7)],_0x2449a7,this['_handler']);this[_0x5566e3(0x35c)]();const _0x5dbd51=new Date()[_0x5566e3(0x415)](),_0x3093bf=this[_0x5566e3(0x1cc)]?Math[_0x5566e3(0x1ec)](this[_0x5566e3(0x1cc)]-_0x5dbd51,0x0):this[_0x5566e3(0x420)]();return _0x39979b['_schedule'](_0x3093bf),_0x39979b;}throw _0x35ecac[_0x5566e3(0x20f)];}catch(_0x2adb12){return this[_0x5566e3(0x389)]['error'](_0x2adb12),this[_0x5566e3(0x155)](!0x1);}}[_0x424696(0x31d)](){var _0x58f74c=_0x424696;throw new Error(_0x58f74c(0x2ea));}[_0x424696(0x29c)](){var _0x592725=_0x424696;throw new Error(_0x592725(0x229));}[_0x424696(0x2c7)](){return this;}[_0x424696(0x21f)](){var _0x386fc6=_0x424696;return this['_clearScheduledTask'](),this[_0x386fc6(0x21b)]['createInstance'](de,this[_0x386fc6(0x161)],this[_0x386fc6(0x1d7)],null,this[_0x386fc6(0x3b0)],this[_0x386fc6(0x157)]);}['toggleOnline'](){return this;}[_0x424696(0x201)](_0x298bff){var _0x31d1ca=_0x424696;const _0x33f49a=_0x298bff!=null?_0x298bff:this[_0x31d1ca(0x420)]();this[_0x31d1ca(0x1cc)]=new Date()[_0x31d1ca(0x415)]()+_0x33f49a,this[_0x31d1ca(0x1ea)]=setTimeout(()=>{var _0x30a0c0=_0x31d1ca;this['_clearScheduledTask']();let _0x185230=null;switch(this[_0x30a0c0(0x1d7)]){case Q[_0x30a0c0(0x28c)]:{_0x185230=qt(this[_0x30a0c0(0x3b0)],this[_0x30a0c0(0x161)],this['_univerInstanceService'],this[_0x30a0c0(0x3cb)],this['_memberService']);break;}case Q[_0x30a0c0(0x240)]:{this['_pendingMutations'][_0x30a0c0(0x14a)](_0x638b13=>_0x638b13['id']===_0x34da4a['id'])?_0x185230=hr(this[_0x30a0c0(0x3b0)],this['unitID'],this[_0x30a0c0(0x270)],this[_0x30a0c0(0x3cb)],this[_0x30a0c0(0x162)]):_0x185230=qt(this[_0x30a0c0(0x3b0)],this['unitID'],this[_0x30a0c0(0x270)],this[_0x30a0c0(0x3cb)],this['_memberService']);break;}default:throw new Error(_0x30a0c0(0x165)+this[_0x30a0c0(0x1d7)]+_0x30a0c0(0x391));}const {changeset:_0x48556d,pendingMutations:_0x55126c}=_0x185230;this['_handler']['onSendChangeset'](_0x48556d);const _0x11c91d=_0x55126c[_0x30a0c0(0x314)]?this['_injector'][_0x30a0c0(0x3fc)](ae,this[_0x30a0c0(0x161)],this['type'],_0x48556d,_0x55126c,this[_0x30a0c0(0x157)],void 0x0):this[_0x30a0c0(0x21b)][_0x30a0c0(0x3fc)](le,this['unitID'],this[_0x30a0c0(0x1d7)],_0x48556d,this[_0x30a0c0(0x157)]);_0x11c91d['_updateLocalCache'](),this[_0x30a0c0(0x157)][_0x30a0c0(0x280)](this,_0x11c91d);},_0x33f49a);}[_0x424696(0x420)](){var _0x43298c=_0x424696,_0x52549e;const _0x534046=this[_0x43298c(0x15e)]['getConfig'](q);return(_0x52549e=_0x534046==null?void 0x0:_0x534046[_0x43298c(0x402)])!=null?_0x52549e:In;}[_0x424696(0x38c)](){var _0x5a5e45=_0x424696;throw new Error(_0x5a5e45(0x269));}[_0x424696(0x35c)](){var _0x53fd9c=_0x424696;this[_0x53fd9c(0x1ea)]!=null&&(clearTimeout(this[_0x53fd9c(0x1ea)]),this[_0x53fd9c(0x1ea)]=null);}[_0x424696(0x155)](_0xffdbf0){var _0x551915=_0x424696;return this[_0x551915(0x35c)](),this['_injector'][_0x551915(0x3fc)](ue,this[_0x551915(0x161)],this[_0x551915(0x1d7)],null,this[_0x551915(0x3b0)],this[_0x551915(0x157)],_0xffdbf0);}};oe=Te([A(0x4,_0x186d60(_0x2d62be)),A(0x5,_0x186d60(_0x3c36df)),A(0x6,_0x186d60(xe)),A(0x7,_0x4d59d7),A(0x8,_0xe2c354),A(0x9,_0x257d37),A(0xa,_0xfa424c),A(0xb,_0x5238c4),A(0xc,_0x4f2b06),A(0xd,_0x39d318(J))],oe);let le=class extends Ce{constructor(_0x48bda8,_0x104a3d,_0x329fc8,_0x34ffca,_0x492093,_0x5a3a9c,_0x522d45,_0x93f009,_0x270305,_0x237e24,_0x332386){var _0x4d9493=_0x424696;super(_0x48bda8,_0x104a3d,_0x329fc8,[],_0x34ffca,_0x522d45,_0x237e24,_0x5a3a9c,_0x332386),N(this,_0x4d9493(0x163),_0x4d9493(0x158)),N(this,_0x4d9493(0x2c6),0x0),N(this,_0x4d9493(0x360)),N(this,_0x4d9493(0x216)),(this[_0x4d9493(0x21b)]=_0x492093,this[_0x4d9493(0x389)]=_0x93f009,this[_0x4d9493(0x219)]=_0x270305);}['appendMutation'](_0x4bdde2){var _0x55a1be=_0x424696;this['_clearScheduledTask']();const _0x4940a8=this['_injector'][_0x55a1be(0x3fc)](ae,this[_0x55a1be(0x161)],this[_0x55a1be(0x1d7)],this['_awaitingChangeset'],[_0x4bdde2],this[_0x55a1be(0x157)],this['_resendTimer']);return _0x4940a8[_0x55a1be(0x3a9)](),_0x4940a8;}[_0x424696(0x2b3)](_0x3ebe22){var _0x1acc74=_0x424696;if(this['_checkMissing'](_0x3ebe22))return this['_clearScheduledTask'](),this[_0x1acc74(0x21b)]['createInstance'](ee,this[_0x1acc74(0x161)],this[_0x1acc74(0x1d7)],this[_0x1acc74(0x355)],[],null,[_0x3ebe22],this[_0x1acc74(0x157)]);try{const _0xe97932=this[_0x1acc74(0x219)][_0x1acc74(0x3ab)]([_0x3ebe22],[this[_0x1acc74(0x355)]],!0x1);if(_0x2bad5c(_0xe97932)){const {c1Prime:_0x874e60,c2Prime:_0x3b2114}=_0xe97932;this['_executeRemoteChangeset'](_0x874e60[0x0]),_0x3b2114[0x0][_0x1acc74(0x1d4)]=this['_getCurrentRevision'](),this[_0x1acc74(0x35c)]();const _0x383c2f=this[_0x1acc74(0x21b)][_0x1acc74(0x3fc)](le,this['unitID'],this[_0x1acc74(0x1d7)],_0x3b2114[0x0],this[_0x1acc74(0x157)]);return _0x383c2f['_updateLocalCache'](),_0x383c2f;}return this['_onConflict'](!0x1);}catch(_0x43ac51){return this[_0x1acc74(0x389)][_0x1acc74(0x20f)](_0x43ac51),this[_0x1acc74(0x155)](!0x1);}}[_0x424696(0x31d)](_0x140a4e){var _0x4bd9fb=_0x424696;this[_0x4bd9fb(0x35c)]();const _0x6f27af=this[_0x4bd9fb(0x3cb)][_0x4bd9fb(0x3f8)](this['unitID']);if(_0x140a4e[_0x4bd9fb(0x28e)]<_0x6f27af-0x1)return this;if(this[_0x4bd9fb(0x38e)](_0x140a4e))return this[_0x4bd9fb(0x21b)]['createInstance'](ee,this[_0x4bd9fb(0x161)],this[_0x4bd9fb(0x1d7)],null,[],this[_0x4bd9fb(0x355)],[],this[_0x4bd9fb(0x157)]);this[_0x4bd9fb(0x428)]();const _0x5031c0=this[_0x4bd9fb(0x21b)][_0x4bd9fb(0x3fc)](Ne,this[_0x4bd9fb(0x161)],this[_0x4bd9fb(0x1d7)],this[_0x4bd9fb(0x157)]);return _0x5031c0[_0x4bd9fb(0x3a9)](),_0x5031c0;}[_0x424696(0x29c)](_0x45fef8){return this['_onConflict'](!!(_0x45fef8!=null&&_0x45fef8['isPermissionRej']));}[_0x424696(0x2c7)](_0xad4c7d){var _0x1e3981=_0x424696;return this[_0x1e3981(0x2c6)]>Oi?this[_0x1e3981(0x21f)]():(this[_0x1e3981(0x360)]=bi(this[_0x1e3981(0x2c6)],{'timeout':this[_0x1e3981(0x2c6)],'reqId':_0xad4c7d[_0x1e3981(0x1c9)]}),this['_sender']=this['_resendTimer'][_0x1e3981(0x3cd)](({reqId:_0x1994e6,timeout:_0x31c975})=>{this['_resendWithTimeout'](_0x1994e6,_0x31c975);}),this);}[_0x424696(0x21f)](){var _0x3f95b8=_0x424696;return this['_clearScheduledTask'](),this['_injector'][_0x3f95b8(0x3fc)](de,this[_0x3f95b8(0x161)],this[_0x3f95b8(0x1d7)],this[_0x3f95b8(0x355)],[],this[_0x3f95b8(0x157)]);}['toggleOnline'](){return this;}[_0x424696(0x38c)](){var _0x254b09=_0x424696;this['_handler'][_0x254b09(0x244)](this[_0x254b09(0x355)]);}[_0x424696(0x155)](_0x445de9){var _0x2b0b0d=_0x424696;return this[_0x2b0b0d(0x35c)](),this[_0x2b0b0d(0x21b)][_0x2b0b0d(0x3fc)](ue,this[_0x2b0b0d(0x161)],this['type'],this[_0x2b0b0d(0x355)],[],this[_0x2b0b0d(0x157)],_0x445de9);}['_resendWithTimeout'](_0x1f44f0,_0x557f05){var _0x243e6c=_0x424696,_0x588117;_0x1f44f0===((_0x588117=this[_0x243e6c(0x355)])==null?void 0x0:_0x588117['reqId'])&&(this[_0x243e6c(0x38c)](),this['_resendTimeout']=_0x557f05===0x0?0x3e8:_0x557f05*0x2);}[_0x424696(0x35c)](){var _0x12bc58=_0x424696,_0x4ce59b;(_0x4ce59b=this['_sender'])==null||_0x4ce59b[_0x12bc58(0x1c0)](),this[_0x12bc58(0x2c6)]=0x0;}};le=Te([A(0x4,_0x186d60(_0x2d62be)),A(0x5,_0x186d60(_0x3c36df)),A(0x6,_0xe2c354),A(0x7,_0x4d59d7),A(0x8,_0xfa424c),A(0x9,_0x4f2b06),A(0xa,_0x39d318(J))],le);let ae=class extends Ce{constructor(_0x58e02b,_0x37b056,_0x23715c,_0x3169c4,_0x2ce289,_0x21868a,_0x2bf365,_0x454ba2,_0x3d67c6,_0x440e93,_0x444cbc,_0x187c1d,_0x3aa088){var _0x4e0e7f=_0x424696;super(_0x58e02b,_0x37b056,_0x23715c,_0x3169c4,_0x2ce289,_0x3d67c6,_0x187c1d,_0x454ba2,_0x3aa088),N(this,_0x4e0e7f(0x163),_0x4e0e7f(0x3f9)),N(this,_0x4e0e7f(0x2c6),0x0),N(this,'_resendTimer'),N(this,_0x4e0e7f(0x216)),(this['_injector']=_0x2bf365,this[_0x4e0e7f(0x389)]=_0x440e93,this[_0x4e0e7f(0x219)]=_0x444cbc,this[_0x4e0e7f(0x3fd)]=_0x3aa088,_0x21868a&&(this[_0x4e0e7f(0x360)]=_0x21868a,this[_0x4e0e7f(0x216)]=this[_0x4e0e7f(0x360)][_0x4e0e7f(0x3cd)](({reqId:_0x55283d,timeout:_0x5f1c83})=>{var _0xbd8088=_0x4e0e7f;this[_0xbd8088(0x32b)](_0x55283d,_0x5f1c83);})));}['appendMutation'](_0x160c33){var _0x29ee93=_0x424696;return this[_0x29ee93(0x3b0)][_0x29ee93(0x232)](_0x160c33),this;}[_0x424696(0x2b3)](_0x5a8887){var _0xadc5f8=_0x424696;if(this[_0xadc5f8(0x38e)](_0x5a8887))return this['_clearScheduledTask'](),this['_injector'][_0xadc5f8(0x3fc)](ee,this['unitID'],this[_0xadc5f8(0x1d7)],this[_0xadc5f8(0x355)],this['_pendingMutations'],null,[_0x5a8887],this[_0xadc5f8(0x157)]);try{const _0x9b5c73=this[_0xadc5f8(0x219)][_0xadc5f8(0x3ab)]([_0x5a8887],[this[_0xadc5f8(0x355)]],!0x1);if(_0x2bad5c(_0x9b5c73)){const {c1Prime:_0x4a7d6,c2Prime:_0x1c7640}=_0x9b5c73,_0x280438=this[_0xadc5f8(0x219)][_0xadc5f8(0x268)](_0x4a7d6[0x0],this[_0xadc5f8(0x3b0)]);if(_0x8bddd3(_0x280438)){const {c1Prime:_0x4c07ae,m2Prime:_0x4766d3}=_0x280438;return this['_executeRemoteChangeset'](_0x4c07ae),_0x1c7640[0x0][_0xadc5f8(0x1d4)]=this[_0xadc5f8(0x30b)](),this[_0xadc5f8(0x35c)](),this['_injector'][_0xadc5f8(0x3fc)](ae,this['unitID'],this[_0xadc5f8(0x1d7)],_0x1c7640[0x0],_0x4766d3,this[_0xadc5f8(0x157)],void 0x0);}throw _0x280438[_0xadc5f8(0x20f)];}throw _0x9b5c73['error'];}catch(_0x3032c3){return this['_logService']['error'](_0x3032c3),this[_0xadc5f8(0x155)](!0x1);}}[_0x424696(0x31d)](_0x36afd2){var _0x5b549c=_0x424696;if(this[_0x5b549c(0x35c)](),this[_0x5b549c(0x38e)](_0x36afd2))return this[_0x5b549c(0x21b)][_0x5b549c(0x3fc)](ee,this[_0x5b549c(0x161)],this[_0x5b549c(0x1d7)],null,this['_pendingMutations'],this[_0x5b549c(0x355)],[],this[_0x5b549c(0x157)]);this[_0x5b549c(0x428)]();const _0x480322=this['_injector'][_0x5b549c(0x3fc)](oe,this[_0x5b549c(0x161)],this[_0x5b549c(0x1d7)],this[_0x5b549c(0x3b0)],this['_handler']);return _0x480322[_0x5b549c(0x201)](),_0x480322[_0x5b549c(0x3a9)](),_0x480322;}[_0x424696(0x29c)](_0x505613){var _0xa9fc6d=_0x424696;return this[_0xa9fc6d(0x155)](!!(_0x505613!=null&&_0x505613['isPermissionRej']));}['onRemoteRetry'](_0x121e8d){var _0x8b6265=_0x424696;return this[_0x8b6265(0x2c6)]>Oi?this[_0x8b6265(0x21f)]():(this[_0x8b6265(0x360)]=bi(this[_0x8b6265(0x2c6)],{'timeout':this[_0x8b6265(0x2c6)],'reqId':_0x121e8d[_0x8b6265(0x1c9)]}),this['_sender']=this['_resendTimer']['subscribe'](({reqId:_0x27ba70,timeout:_0x46cae7})=>{var _0x226758=_0x8b6265;this[_0x226758(0x32b)](_0x27ba70,_0x46cae7);}),this);}[_0x424696(0x21f)](){var _0x17e0f9=_0x424696;return this[_0x17e0f9(0x35c)](),this[_0x17e0f9(0x21b)][_0x17e0f9(0x3fc)](de,this[_0x17e0f9(0x161)],this[_0x17e0f9(0x1d7)],this[_0x17e0f9(0x355)],this[_0x17e0f9(0x3b0)],this[_0x17e0f9(0x157)]);}[_0x424696(0x207)](){return this;}['resend'](){var _0x69032d=_0x424696;this[_0x69032d(0x157)][_0x69032d(0x244)](this[_0x69032d(0x355)]);}['_onConflict'](_0x4ac89d){var _0xc6ae54=_0x424696;return this[_0xc6ae54(0x35c)](),this[_0xc6ae54(0x21b)][_0xc6ae54(0x3fc)](ue,this[_0xc6ae54(0x161)],this['type'],null,this['_pendingMutations'],this[_0xc6ae54(0x157)],_0x4ac89d);}[_0x424696(0x32b)](_0x9e9c92,_0x57b76b){var _0x2702d5=_0x424696,_0x4c1b72;_0x9e9c92===((_0x4c1b72=this[_0x2702d5(0x355)])==null?void 0x0:_0x4c1b72[_0x2702d5(0x1c9)])&&(this[_0x2702d5(0x38c)](),this['_resendTimeout']=_0x57b76b===0x0?0x3e8:_0x57b76b*0x2);}['_clearScheduledTask'](){var _0x43955d=_0x424696,_0x600ea4;(_0x600ea4=this[_0x43955d(0x216)])==null||_0x600ea4[_0x43955d(0x1c0)](),this[_0x43955d(0x2c6)]=0x0;}};ae=Te([A(0x6,_0x186d60(_0x2d62be)),A(0x7,_0x186d60(_0x3c36df)),A(0x8,_0xe2c354),A(0x9,_0x4d59d7),A(0xa,_0xfa424c),A(0xb,_0x4f2b06),A(0xc,_0x39d318(J))],ae);let ue=class extends Ce{constructor(_0x1aee29,_0x193fdc,_0x4f78eb,_0x123637,_0x217d71,_0x16c04b=!0x1,_0x3fcc6e,_0x28f033,_0x1ffa04,_0xa23ec,_0x50dbab,_0x53be09,_0x2866fa){var _0x193819=_0x424696;super(_0x1aee29,_0x193fdc,_0x4f78eb,_0x123637,_0x217d71,_0x28f033,_0x1ffa04,_0xa23ec,_0x2866fa),N(this,_0x193819(0x163),_0x193819(0x149)),(this[_0x193819(0x14d)]=_0x16c04b,this[_0x193819(0x24a)]=_0x3fcc6e,this[_0x193819(0x358)]=_0x50dbab,this[_0x193819(0x42c)]=_0x53be09,this[_0x193819(0x3fd)]=_0x2866fa,this[_0x193819(0x2ac)](),this['_clearLocalCache'](),this['_disableEditing']());}[_0x424696(0x15d)](){return this;}[_0x424696(0x2b3)](){return this;}[_0x424696(0x31d)](){return this;}['onRemoteRej'](){return this;}[_0x424696(0x2c7)](){return this;}[_0x424696(0x21f)](){return this;}['toggleOnline'](){return this;}[_0x424696(0x38c)](){var _0x3f360b=_0x424696;throw new Error(_0x3f360b(0x41a));}[_0x424696(0x197)](){var _0x42cf6c=_0x424696,_0x16bab3;(_0x16bab3=this['_localCacheService'])==null||_0x16bab3[_0x42cf6c(0x330)](this[_0x42cf6c(0x161)],this[_0x42cf6c(0x1d7)],null,[]);}['_showConflictNotification'](){var _0x36bf55=_0x424696;this[_0x36bf55(0x14d)]?this[_0x36bf55(0x42c)]['emitEvent']({'id':se[_0x36bf55(0x3bf)]}):this[_0x36bf55(0x42c)][_0x36bf55(0x342)]({'id':se[_0x36bf55(0x1b6)]});}[_0x424696(0x297)](){var _0x2e3bfc=_0x424696;this[_0x2e3bfc(0x24a)]['updatePermissionPoint'](new _0x508a1c(this[_0x2e3bfc(0x161)])['id'],!0x1);}};ue=Te([A(0x6,_0x186d60(_0xe332cb)),A(0x7,_0xe2c354),A(0x8,_0x4f2b06),A(0x9,_0x186d60(_0x3c36df)),A(0xa,_0x186d60(_0x24120b)),A(0xb,_0x186d60(pe)),A(0xc,_0x39d318(J))],ue);let de=class extends Ce{constructor(_0x594a3d,_0x2c078f,_0x4cebfa,_0x496d95,_0x3f5d3e,_0x1b3d30,_0x1567f7,_0x1b1e49,_0x1db6f8,_0x5044e2){var _0x55de67=_0x424696;super(_0x594a3d,_0x2c078f,_0x4cebfa,_0x496d95,_0x3f5d3e,_0x1b1e49,_0x1db6f8,_0x1567f7,_0x5044e2),N(this,'status',_0x55de67(0x403)),this[_0x55de67(0x21b)]=_0x1b3d30;}[_0x424696(0x15d)](_0x1b6369){var _0x5a894c=_0x424696;return this[_0x5a894c(0x3b0)][_0x5a894c(0x232)](_0x1b6369),this['_updateLocalCache'](),this;}[_0x424696(0x2b3)](_0x3f92d9){throw new Error('[OfflineState]:\x20received\x20changeset.');}[_0x424696(0x31d)](){var _0x2872be=_0x424696;throw new Error(_0x2872be(0x146));}[_0x424696(0x29c)](){var _0x16ec09=_0x424696;throw new Error(_0x16ec09(0x182));}[_0x424696(0x2c7)](){return this;}[_0x424696(0x21f)](){return this;}['toggleOnline'](){var _0x43aaac=_0x424696;const {_injector:_0x69349b,_pendingMutations:_0x4b218c,_awaitingChangeset:_0x2d89b4,unitID:_0x53eb68,_handler:_0x47f998,type:_0x15fa0a}=this,_0x5bf091=yi(_0x69349b,_0x53eb68,_0x15fa0a,_0x2d89b4,_0x4b218c,_0x47f998);return _0x5bf091 instanceof oe?_0x5bf091[_0x43aaac(0x201)]():(_0x5bf091 instanceof ae||_0x5bf091 instanceof le)&&_0x5bf091[_0x43aaac(0x38c)](),_0x5bf091;}[_0x424696(0x38c)](){throw new Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}};de=Te([A(0x5,_0x186d60(_0x2d62be)),A(0x6,_0x186d60(_0x3c36df)),A(0x7,_0xe2c354),A(0x8,_0x4f2b06),A(0x9,_0x39d318(J))],de);let ee=class extends Ce{constructor(_0x2d69b6,_0x1c581a,_0x30cd9d,_0x267de9,_0x3caaaf,_0x580026,_0xdf470b,_0x1a9a58,_0x39c7f6,_0x426d0e,_0x46ec56,_0x12ac2a,_0x58af82,_0x26fd97){var _0xcc2287=_0x424696;super(_0x2d69b6,_0x1c581a,_0x30cd9d,_0x267de9,_0xdf470b,_0x46ec56,_0x12ac2a,_0x39c7f6,_0x26fd97),N(this,_0xcc2287(0x163),_0xcc2287(0x202)),(this['_acknowledgedAwaitingChangeset']=_0x3caaaf,this[_0xcc2287(0x252)]=_0x580026,this[_0xcc2287(0x21b)]=_0x1a9a58,this[_0xcc2287(0x389)]=_0x426d0e,this[_0xcc2287(0x219)]=_0x58af82,this['localCacheService']=_0x26fd97);}[_0x424696(0x2e9)](_0xf79686){var _0x3ba053=_0x424696;try{const _0x4b56b1=[..._0xf79686,...this[_0x3ba053(0x252)]],_0x232a2f=[this[_0x3ba053(0x355)]||this[_0x3ba053(0x35e)]][_0x3ba053(0x317)](_0x59ea58=>!!_0x59ea58);let _0x41b84e,_0x4b2815;if(_0x232a2f[_0x3ba053(0x314)]){const _0x5084e5=this[_0x3ba053(0x219)][_0x3ba053(0x3ab)](_0x4b56b1,_0x232a2f,!0x1);if(!_0x2bad5c(_0x5084e5))throw _0x5084e5[_0x3ba053(0x20f)];_0x41b84e=_0x5084e5[_0x3ba053(0x2d9)],_0x4b2815=_0x5084e5[_0x3ba053(0x272)];}else _0x41b84e=_0x4b56b1,_0x4b2815=[];let _0xf13a6e=this[_0x3ba053(0x3b0)];_0x41b84e[_0x3ba053(0x409)](_0x3ee940=>{var _0x2aacec=_0x3ba053;let _0x1dc2a6;if(_0xf13a6e['length']){const _0x12e0ea=this['_transformService'][_0x2aacec(0x268)](_0x3ee940,_0xf13a6e);if(!_0x8bddd3(_0x12e0ea))throw _0x12e0ea[_0x2aacec(0x20f)];_0x1dc2a6=_0x12e0ea[_0x2aacec(0x2d9)],_0xf13a6e=_0x12e0ea[_0x2aacec(0x3b7)];}else _0x1dc2a6=_0x3ee940;this[_0x2aacec(0x183)](_0x1dc2a6);}),this['_acknowledgedAwaitingChangeset']&&this[_0x3ba053(0x428)](),this[_0x3ba053(0x355)]&&_0x4b2815[_0x3ba053(0x314)]&&(_0x4b2815[0x0]['baseRev']=this[_0x3ba053(0x30b)]());let _0x597bbc;if(this[_0x3ba053(0x355)]&&_0xf13a6e[_0x3ba053(0x314)]!==0x0)_0x597bbc=this[_0x3ba053(0x21b)][_0x3ba053(0x3fc)](ae,this[_0x3ba053(0x161)],this[_0x3ba053(0x1d7)],_0x4b2815[0x0],_0xf13a6e,this[_0x3ba053(0x157)],void 0x0);else{if(this[_0x3ba053(0x355)]&&_0xf13a6e[_0x3ba053(0x314)]===0x0)_0x4b2815[0x0][_0x3ba053(0x1d4)]=this[_0x3ba053(0x30b)](),_0x597bbc=this[_0x3ba053(0x21b)][_0x3ba053(0x3fc)](le,this[_0x3ba053(0x161)],this[_0x3ba053(0x1d7)],_0x4b2815[0x0],this['_handler']);else{if(_0xf13a6e[_0x3ba053(0x314)]!==0x0){const _0xad5dd6=this[_0x3ba053(0x21b)][_0x3ba053(0x3fc)](oe,this[_0x3ba053(0x161)],this[_0x3ba053(0x1d7)],_0xf13a6e,this[_0x3ba053(0x157)]);_0xad5dd6['_schedule'](),_0x597bbc=_0xad5dd6;}else _0x597bbc=this[_0x3ba053(0x21b)]['createInstance'](Ne,this[_0x3ba053(0x161)],this[_0x3ba053(0x1d7)],this[_0x3ba053(0x157)]);}}return _0x597bbc[_0x3ba053(0x3a9)](),_0x597bbc;}catch(_0x3ed2d2){return this[_0x3ba053(0x389)][_0x3ba053(0x20f)](_0x3ba053(0x1c7),'failed\x20to\x20apply\x20missed\x20changesets!',_0x3ed2d2),this[_0x3ba053(0x21b)][_0x3ba053(0x3fc)](ue,this[_0x3ba053(0x161)],this['type'],this[_0x3ba053(0x355)],this['_pendingMutations'],this['_handler'],!0x1);}}[_0x424696(0x38c)](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x424696(0x15d)](_0x5ea8f2){var _0x38fb3b=_0x424696;return this[_0x38fb3b(0x3b0)][_0x38fb3b(0x232)](_0x5ea8f2),this;}[_0x424696(0x2b3)](_0x4d4020){var _0x487cd7=_0x424696;return this[_0x487cd7(0x252)][_0x487cd7(0x232)](_0x4d4020),this;}[_0x424696(0x31d)](_0x4ace31){var _0x198b1b=_0x424696;if(this[_0x198b1b(0x355)])return this['_acknowledgedAwaitingChangeset']=this[_0x198b1b(0x355)],this[_0x198b1b(0x355)]=null,this;throw new Error(_0x198b1b(0x25d));}[_0x424696(0x29c)](_0x3e5940){return this['_onConflict'](!!(_0x3e5940!=null&&_0x3e5940['isPermissionRej']));}['onRemoteRetry'](){return this;}['toggleOffline'](){var _0x461dca=_0x424696;return this[_0x461dca(0x21b)][_0x461dca(0x3fc)](de,this[_0x461dca(0x161)],this['type'],this[_0x461dca(0x355)],this[_0x461dca(0x3b0)],this[_0x461dca(0x157)]);}[_0x424696(0x207)](){return this;}['_onConflict'](_0x354a92){var _0xac3541=_0x424696;return this['_injector'][_0xac3541(0x3fc)](ue,this[_0xac3541(0x161)],this['type'],this[_0xac3541(0x355)],this['_pendingMutations'],this['_handler'],_0x354a92);}};ee=Te([A(0x7,_0x186d60(_0x2d62be)),A(0x8,_0x186d60(_0x3c36df)),A(0x9,_0x4d59d7),A(0xa,_0xe2c354),A(0xb,_0x4f2b06),A(0xc,_0xfa424c),A(0xd,_0x39d318(J))],ee);function yi(_0x119f19,_0xf8441,_0x50dc26,_0x32c6ea,_0x2ed2ad,_0x5375f1){var _0x5e8ecc=_0x424696;return _0x32c6ea&&_0x2ed2ad[_0x5e8ecc(0x314)]?_0x119f19[_0x5e8ecc(0x3fc)](ae,_0xf8441,_0x50dc26,_0x32c6ea,_0x2ed2ad,_0x5375f1,void 0x0):_0x32c6ea?_0x119f19[_0x5e8ecc(0x3fc)](le,_0xf8441,_0x50dc26,_0x32c6ea,_0x5375f1):_0x2ed2ad['length']?_0x119f19['createInstance'](oe,_0xf8441,_0x50dc26,_0x2ed2ad,_0x5375f1):_0x119f19[_0x5e8ecc(0x3fc)](Ne,_0xf8441,_0x50dc26,_0x5375f1);}var dr=Object['defineProperty'],fr=Object[_0x424696(0x275)],xt=(_0x5ba705,_0x478d97,_0x5d4538,_0x10c9b6)=>{for(var _0x424bab=_0x10c9b6>0x1?void 0x0:_0x10c9b6?fr(_0x478d97,_0x5d4538):_0x478d97,_0x428128=_0x5ba705['length']-0x1,_0x1c1566;_0x428128>=0x0;_0x428128--)(_0x1c1566=_0x5ba705[_0x428128])&&(_0x424bab=(_0x10c9b6?_0x1c1566(_0x478d97,_0x5d4538,_0x424bab):_0x1c1566(_0x424bab))||_0x424bab);return _0x10c9b6&&_0x424bab&&dr(_0x478d97,_0x5d4538,_0x424bab),_0x424bab;},k=(_0x6ee5d0,_0x161d08)=>(_0xf4fd89,_0x416aa9)=>_0x161d08(_0xf4fd89,_0x416aa9,_0x6ee5d0);let nt=class extends _0x38323d{constructor(_0x3f5cc6,_0x1a1ece,_0x5f3476,_0xf8c7be,_0x23157a,_0x39ba15,_0x1d1c70,_0x3bce9f,_0x3841d8,_0x107fbb,_0x1ff95e,_0x1b7f5c,_0x53e102){var _0xc7a1d5=_0x424696;super(),N(this,_0xc7a1d5(0x33c),new _0x43ba24(null)),N(this,_0xc7a1d5(0x35d),this[_0xc7a1d5(0x33c)]['asObservable']()),N(this,_0xc7a1d5(0x17e)),N(this,_0xc7a1d5(0x395),!0x1),N(this,'_changesetSessionId',''),N(this,_0xc7a1d5(0x3ca),0x0),N(this,_0xc7a1d5(0x282),this['state$'][_0xc7a1d5(0x1fb)](_0x5ccaf8(_0x5d3338=>_0x5d3338?_0x5d3338['status']:Ri[_0xc7a1d5(0x200)]),_0x2162fc(0x1))),N(this,'_transitionLocked',!0x1),N(this,'_remoteChangesetQueue',[]),(this[_0xc7a1d5(0x161)]=_0x3f5cc6,this[_0xc7a1d5(0x37c)]=_0x1a1ece,this[_0xc7a1d5(0x1ab)]=_0x5f3476,this[_0xc7a1d5(0x21b)]=_0xf8c7be,this[_0xc7a1d5(0x271)]=_0x23157a,this[_0xc7a1d5(0x358)]=_0x39ba15,this[_0xc7a1d5(0x3cb)]=_0x1d1c70,this[_0xc7a1d5(0x38a)]=_0x3bce9f,this['_logService']=_0x3841d8,this[_0xc7a1d5(0x2ae)]=_0x107fbb,this[_0xc7a1d5(0x24a)]=_0x1ff95e,this[_0xc7a1d5(0x3b3)]=_0x1b7f5c,this[_0xc7a1d5(0x354)]=_0x53e102);}get[_0x424696(0x372)](){var _0xb70f64=_0x424696;return this[_0xb70f64(0x17e)];}async[_0x424696(0x26e)](){var _0x5b616a=_0x424696;if(this[_0x5b616a(0x372)])throw new Error('[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.');await this[_0x5b616a(0x3ec)]();}[_0x424696(0x36c)](){var _0x275004=_0x424696;return this[_0x275004(0x395)]=!0x0,_0x534a79(()=>{var _0x4ce05e=_0x275004;this['_collaborationPaused']=!0x1,this[_0x4ce05e(0x20a)]();});}['onLocalMutation'](_0xd2797b){this['_onLocalMutation'](_0xd2797b);}[_0x424696(0x215)](_0x38979f){var _0x369fcb=_0x424696;this[_0x369fcb(0x17e)]=_0x38979f,this['_state$'][_0x369fcb(0x3f2)](_0x38979f);}async[_0x424696(0x3ec)](){var _0x200dc9=_0x424696,_0x4d0743;this['_updateState'](await this[_0x200dc9(0x3e6)]()),this[_0x200dc9(0x3b3)]&&((_0x4d0743=this[_0x200dc9(0x3b3)])==null||_0x4d0743[_0x200dc9(0x17d)](this[_0x200dc9(0x161)]),this[_0x200dc9(0x35f)](this['_singleActiveUnitService'][_0x200dc9(0x438)](this[_0x200dc9(0x161)])[_0x200dc9(0x3cd)](_0x3706c4=>{var _0x5ea96c=_0x200dc9;this[_0x5ea96c(0x389)][_0x5ea96c(0x169)](_0x5ea96c(0x318),_0x5ea96c(0x27a),_0x3706c4),_0x3706c4===Ci[_0x5ea96c(0x3df)]?(this['_eventService'][_0x5ea96c(0x342)]({'id':se[_0x5ea96c(0x1cf)]}),this[_0x5ea96c(0x24a)][_0x5ea96c(0x1a7)](new _0x508a1c(this[_0x5ea96c(0x161)])['id'],!0x1),this[_0x5ea96c(0x24a)]['setShowComponents'](!0x1)):(this[_0x5ea96c(0x24a)][_0x5ea96c(0x1a7)](new _0x508a1c(this[_0x5ea96c(0x161)])['id'],!0x0),this[_0x5ea96c(0x24a)]['setShowComponents'](!0x0));})));let _0x34e12b=!0x1;return this[_0x200dc9(0x35f)](this[_0x200dc9(0x37c)]['sessionStatus$'][_0x200dc9(0x3cd)](_0x11dd68=>{var _0x1ff985=_0x200dc9;_0x11dd68===Ee[_0x1ff985(0x34a)]?this[_0x1ff985(0x26f)](_0x34e12b):_0x11dd68===Ee[_0x1ff985(0x200)]&&(_0x34e12b=!0x0,this[_0x1ff985(0x246)]());})),this['disposeWithMe'](this['session'][_0x200dc9(0x224)][_0x200dc9(0x3cd)](_0x442789=>{var _0x570b02=_0x200dc9;try{switch(_0x442789[_0x570b02(0x30c)]){case _0x14e6e4[_0x570b02(0x237)]:{this[_0x570b02(0x34b)](_0x20134b(_0x442789['data']));break;}case _0x14e6e4['CHANGESET_ACK']:{this[_0x570b02(0x2ce)](_0x442789[_0x570b02(0x2b4)]);break;}case _0x14e6e4[_0x570b02(0x1e2)]:{this[_0x570b02(0x3a6)]();break;}case _0x14e6e4['CHANGESET_SHOULD_RETRY']:{this[_0x570b02(0x1b4)](_0x442789[_0x570b02(0x2b4)]);break;}case _0x14e6e4[_0x570b02(0x425)]:{this[_0x570b02(0x1a9)](_0x442789[_0x570b02(0x2b4)][_0x570b02(0x379)]['map'](_0x1440a8=>_0x20134b(_0x1440a8)));break;}case _0x14e6e4[_0x570b02(0x19a)]:{this[_0x570b02(0x3a6)]({'isPermissionRej':!0x0});break;}case _0x14e6e4[_0x570b02(0x21d)]:break;}}catch(_0x211043){throw console[_0x570b02(0x20f)]('Error\x20on\x20receiving\x20event',_0x211043),_0x211043;}})),this[_0x200dc9(0x17e)];}[_0x424696(0x193)](){var _0x5429cb=_0x424696;this[_0x5429cb(0x344)]=!0x1;}['_lockTransition'](){var _0x3e32d7=_0x424696;if(this[_0x3e32d7(0x344)])throw new Error(_0x3e32d7(0x3c3));this[_0x3e32d7(0x344)]=!0x0;}[_0x424696(0x1b2)](_0x3c8c22){var _0x1e60be=_0x424696;this[_0x1e60be(0x187)](),this[_0x1e60be(0x215)](this['_state']['appendMutation'](_0x3c8c22)),this['_unlockTransition']();}[_0x424696(0x34b)](_0x484fcf){var _0x237924=_0x424696;if(!(_0x484fcf[_0x237924(0x28e)]<=this[_0x237924(0x3cb)]['getCurrentRevOfUnit'](this['unitID']))){if(this[_0x237924(0x395)]){this['_remoteChangesetQueue'][_0x237924(0x232)](_0x484fcf);return;}this[_0x237924(0x1be)](_0x484fcf);}}['_exhaustRemoteChangesetQueue'](){var _0x196643=_0x424696;this[_0x196643(0x2ab)]['forEach'](_0x294332=>this['_applyRemoteChangeset'](_0x294332)),this[_0x196643(0x2ab)]=[];}['_applyRemoteChangeset'](_0x2fc415){var _0x2319b2=_0x424696;const _0x4d219e=this[_0x2319b2(0x271)][_0x2319b2(0x18b)][_0x2319b2(0x36a)](this[_0x2319b2(0x271)][_0x2319b2(0x18b)][_0x2319b2(0x1d6)]()[_0x2319b2(0x1e4)])(_0x2fc415[_0x2319b2(0x230)],null)||_0x2fc415[_0x2319b2(0x230)],_0x3e185d={..._0x2fc415,'mutations':_0x4d219e};this[_0x2319b2(0x187)](),this[_0x2319b2(0x215)](this['_state'][_0x2319b2(0x2b3)](_0x3e185d)),this[_0x2319b2(0x193)]();}[_0x424696(0x2ce)](_0x3a56bb){var _0x932e5a=_0x424696;this[_0x932e5a(0x187)](),this['_updateState'](this[_0x932e5a(0x17e)][_0x932e5a(0x31d)](_0x3a56bb)),this[_0x932e5a(0x193)]();}['_onRemoteRejected'](_0x15a9ab){var _0x32b9d5=_0x424696;this[_0x32b9d5(0x187)](),this[_0x32b9d5(0x215)](this[_0x32b9d5(0x17e)][_0x32b9d5(0x29c)](_0x15a9ab)),this[_0x32b9d5(0x193)]();}['_onRemoteRetry'](_0x2fdf21){var _0x2b9ecc=_0x424696;this['_lockTransition'](),this[_0x2b9ecc(0x215)](this[_0x2b9ecc(0x17e)]['onRemoteRetry'](_0x2fdf21)),this[_0x2b9ecc(0x193)]();}[_0x424696(0x1a9)](_0x331d3f){var _0x132636=_0x424696;if(!(this['_state']instanceof ee))throw new TypeError(_0x132636(0x203));const _0x6a07e1=_0x331d3f[_0x132636(0x3c5)](_0x44ee87=>{var _0x2dd02d=_0x132636;const _0x283b97=this['_compressMutationService']['interceptor'][_0x2dd02d(0x36a)](this[_0x2dd02d(0x271)][_0x2dd02d(0x18b)][_0x2dd02d(0x1d6)]()[_0x2dd02d(0x1e4)])(_0x44ee87[_0x2dd02d(0x230)],null)||_0x44ee87[_0x2dd02d(0x230)];return{..._0x44ee87,'mutations':_0x283b97};});this['_lockTransition'](),this['_updateState'](this[_0x132636(0x17e)][_0x132636(0x2e9)](_0x6a07e1)),this['_unlockTransition']();}[_0x424696(0x246)](){var _0x313019=_0x424696;this[_0x313019(0x187)](),this['_updateState'](this[_0x313019(0x17e)][_0x313019(0x21f)]()),this['_unlockTransition']();}[_0x424696(0x26f)](_0x4b1b5b=!0x1){var _0x171df=_0x424696;this[_0x171df(0x187)](),this['_updateState'](this['_state'][_0x171df(0x207)]()),this[_0x171df(0x193)]();const _0xfc4ae1=this[_0x171df(0x17e)];_0x4b1b5b&&_0xfc4ae1 instanceof Ne&&(this['_lockTransition'](),this[_0x171df(0x215)](_0xfc4ae1[_0x171df(0x1a2)]()),this[_0x171df(0x193)]());}async[_0x424696(0x3e6)](){return new Promise(_0x252d3a=>{var _0x3e5b7c=_0x181e;this[_0x3e5b7c(0x37c)][_0x3e5b7c(0x388)][_0x3e5b7c(0x1fb)](_0x35e0b5(0x1))[_0x3e5b7c(0x3cd)](async _0x12c484=>{var _0x58ccb6=_0x3e5b7c;_0x252d3a(await this[_0x58ccb6(0x185)](_0x12c484===Ee[_0x58ccb6(0x34a)]));});});}['_createHandler'](){const _0x256510=this['unitID'];return{'onStateChange':(_0x50e94c,_0x5d4746)=>{var _0x39e6af=_0x181e;if(_0x50e94c!==this['_state'])throw new Error(_0x39e6af(0x1b5)+_0x50e94c['status']+_0x39e6af(0x1e7)+_0x5d4746[_0x39e6af(0x163)]+_0x39e6af(0x41d)+this[_0x39e6af(0x17e)][_0x39e6af(0x163)]);this[_0x39e6af(0x215)](_0x5d4746);},'onSendChangeset':_0x1736ad=>{var _0x30f16c=_0x181e;_0x1736ad[_0x30f16c(0x3f3)]||(_0x1736ad[_0x30f16c(0x3f3)]=this['_changesetSessionId'],_0x1736ad[_0x30f16c(0x1c9)]=++this['_changesetReqId']);const _0x5c454b={'eventID':_0x14e6e4[_0x30f16c(0x324)],'data':{'unitID':_0x1736ad[_0x30f16c(0x161)],'unitType':this[_0x30f16c(0x1ab)],'changeset':_0x1736ad,'memberID':this[_0x30f16c(0x37c)][_0x30f16c(0x40c)]()}};this[_0x30f16c(0x37c)][_0x30f16c(0x26d)](_0x5c454b,this[_0x30f16c(0x161)]);},'onMissingChangesets':({from:_0x576817,to:_0x4a4c0d})=>{var _0x14b27d=_0x181e;this[_0x14b27d(0x389)][_0x14b27d(0x169)](_0x14b27d(0x318),_0x14b27d(0x307)+_0x576817+_0x14b27d(0x1f7)+_0x4a4c0d);const _0x9e8f06={'eventID':_0x14e6e4[_0x14b27d(0x1c8)],'data':{'unitID':_0x256510,'unitType':this[_0x14b27d(0x1ab)],'from':_0x576817,'to':_0x4a4c0d}};this[_0x14b27d(0x37c)][_0x14b27d(0x26d)](_0x9e8f06,this[_0x14b27d(0x161)]);}};}async[_0x424696(0x185)](_0x40075e){var _0x7f73fb=_0x424696,_0x577774,_0x44bc26,_0xfbef3d;const _0x4d44a0=await((_0x577774=this[_0x7f73fb(0x354)])==null?void 0x0:_0x577774['loadOfflineData'](this['unitID'])),_0x3c34bc=(_0x44bc26=_0x4d44a0==null?void 0x0:_0x4d44a0['mutations'])!=null?_0x44bc26:[],_0x1a63ee=(_0xfbef3d=_0x4d44a0==null?void 0x0:_0x4d44a0[_0x7f73fb(0x278)])!=null?_0xfbef3d:null,_0x1d6a55=!!(_0x1a63ee!=null&&_0x1a63ee['sid'])&&!!(_0x1a63ee!=null&&_0x1a63ee[_0x7f73fb(0x1c9)]);this[_0x7f73fb(0x15c)]=_0x1d6a55?_0x1a63ee[_0x7f73fb(0x3f3)]:nr(),this[_0x7f73fb(0x3ca)]=_0x1d6a55?_0x1a63ee['reqId']:0x0;const _0x417344=this[_0x7f73fb(0x161)];try{this[_0x7f73fb(0x411)](_0x1a63ee,_0x3c34bc);}catch(_0x25548a){this['_logService'][_0x7f73fb(0x20f)](_0x25548a);}const _0x579e7b=this['_createHandler']();if(_0x40075e){const _0x435512=yi(this[_0x7f73fb(0x21b)],_0x417344,this[_0x7f73fb(0x1ab)],_0x1a63ee,_0x3c34bc,_0x579e7b);return _0x435512 instanceof oe?_0x435512[_0x7f73fb(0x201)]():(_0x435512 instanceof ae||_0x435512 instanceof le)&&_0x435512[_0x7f73fb(0x38c)](),_0x435512;}return this[_0x7f73fb(0x21b)][_0x7f73fb(0x3fc)](de,_0x417344,this[_0x7f73fb(0x1ab)],_0x1a63ee,_0x3c34bc,_0x579e7b);}[_0x424696(0x411)](_0x4125b3,_0x1c7215){var _0x41b33f=_0x424696,_0x1ed828,_0x38d51b;const _0x30ee04=this['_compressMutationService'][_0x41b33f(0x18b)][_0x41b33f(0x36a)](this[_0x41b33f(0x271)]['interceptor']['getInterceptPoints']()[_0x41b33f(0x1e4)]);(_0x1ed828=_0x30ee04((_0x4125b3==null?void 0x0:_0x4125b3[_0x41b33f(0x230)])||[],null))==null||_0x1ed828[_0x41b33f(0x409)](_0x25b77e=>this[_0x41b33f(0x2ae)][_0x41b33f(0x1bd)](_0x25b77e['id'],_0x25b77e[_0x41b33f(0x2e1)])),(_0x38d51b=_0x30ee04(_0x1c7215||[],null))==null||_0x38d51b[_0x41b33f(0x409)](_0x276181=>this[_0x41b33f(0x2ae)][_0x41b33f(0x1bd)](_0x276181['id'],_0x276181[_0x41b33f(0x2e1)]));}};nt=xt([k(0x3,_0x186d60(_0x2d62be)),k(0x4,_0x186d60(_0x3edeb4)),k(0x5,_0x186d60(_0x24120b)),k(0x6,_0x186d60(_0x3c36df)),k(0x7,_0x186d60(pe)),k(0x8,_0x4d59d7),k(0x9,_0xe2c354),k(0xa,_0xe332cb),k(0xb,_0x39d318(ht)),k(0xc,_0x39d318(J))],nt);let It=class extends nt{constructor(_0x560a61,_0x31198f,_0x26f9eb,_0x32f247,_0x547c53,_0x50c43f,_0x4b55c5,_0x4e255d,_0x48784f,_0x7da484,_0x1a0c96,_0x51c9d9,_0xcb5bb9){var _0x35dbfe=_0x424696;super(_0x560a61,_0x26f9eb,_0x31198f,_0x32f247,_0x547c53,_0x50c43f,_0x4b55c5,_0x4e255d,_0x48784f,_0x7da484,_0x1a0c96,_0x51c9d9,_0xcb5bb9),N(this,_0x35dbfe(0x1aa),null),(this[_0x35dbfe(0x161)]=_0x560a61,this[_0x35dbfe(0x1d7)]=_0x31198f);}['addHandlerCallback'](_0x4d1128){this['_handlerCallback']=_0x4d1128;}[_0x424696(0x406)](){var _0x3a9b95=_0x424696;this[_0x3a9b95(0x1aa)]=null,super[_0x3a9b95(0x406)]();}[_0x424696(0x315)](){var _0x4cb3fa=_0x424696;const _0x57c9d2=super[_0x4cb3fa(0x315)]();return _0x57c9d2['onTransformIME']=_0x4daa23=>{var _0x2e4f53=_0x4cb3fa,_0x3ca5dc,_0x2b2512;return(_0x2b2512=(_0x3ca5dc=this[_0x2e4f53(0x1aa)])==null?void 0x0:_0x3ca5dc[_0x2e4f53(0x251)])==null?void 0x0:_0x2b2512['call'](_0x3ca5dc,_0x4daa23);},_0x57c9d2[_0x4cb3fa(0x1e8)]=_0x3a437f=>{var _0x518145=_0x4cb3fa,_0x35db3b,_0x5617eb;return(_0x5617eb=(_0x35db3b=this[_0x518145(0x1aa)])==null?void 0x0:_0x35db3b[_0x518145(0x1e8)])==null?void 0x0:_0x5617eb['call'](_0x35db3b,_0x3a437f);},_0x57c9d2[_0x4cb3fa(0x40a)]=_0x3b6e37=>{var _0x26334e=_0x4cb3fa,_0x14bc48,_0x2cd8c6;return(_0x2cd8c6=(_0x14bc48=this['_handlerCallback'])==null?void 0x0:_0x14bc48[_0x26334e(0x40a)])==null?void 0x0:_0x2cd8c6[_0x26334e(0x22e)](_0x14bc48,_0x3b6e37);},_0x57c9d2['onSyncEditingCollabCursor']=_0x266802=>{var _0x3718cb=_0x4cb3fa,_0x31afb6,_0x3df70c;return(_0x3df70c=(_0x31afb6=this[_0x3718cb(0x1aa)])==null?void 0x0:_0x31afb6['onSyncEditingCollabCursor'])==null?void 0x0:_0x3df70c[_0x3718cb(0x22e)](_0x31afb6,_0x266802);},_0x57c9d2[_0x4cb3fa(0x145)]=_0x36aead=>{var _0x4de91b=_0x4cb3fa,_0x423c87,_0x262340,_0xb5d08b;if(!((_0x423c87=this[_0x4de91b(0x1aa)])!=null&&_0x423c87[_0x4de91b(0x145)]))throw new Error('onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.');return(_0xb5d08b=(_0x262340=this['_handlerCallback'])==null?void 0x0:_0x262340['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0xb5d08b['call'](_0x262340,_0x36aead);},_0x57c9d2[_0x4cb3fa(0x23d)]=_0x396a12=>{var _0x13bb86=_0x4cb3fa,_0x4b00cc,_0xca7251,_0x3b1f9b;if(!((_0x4b00cc=this[_0x13bb86(0x1aa)])!=null&&_0x4b00cc['onTransformRemoteChangesetByStateCache']))throw new Error(_0x13bb86(0x209));return(_0x3b1f9b=(_0xca7251=this[_0x13bb86(0x1aa)])==null?void 0x0:_0xca7251[_0x13bb86(0x23d)])==null?void 0x0:_0x3b1f9b[_0x13bb86(0x22e)](_0xca7251,_0x396a12);},_0x57c9d2;}async['_init'](){var _0xfa3ad2=_0x424696;const _0x25ba45=await super[_0xfa3ad2(0x3ec)]();return this[_0xfa3ad2(0x35f)](this[_0xfa3ad2(0x2ae)][_0xfa3ad2(0x329)]((_0x3d1509,_0x562611)=>{var _0x40fbf3=_0xfa3ad2;if(_0x3d1509[_0x40fbf3(0x1d7)]!==_0x3ee1d2[_0x40fbf3(0x1e6)]||_0x562611!=null&&_0x562611[_0x40fbf3(0x3dd)]||_0x562611!=null&&_0x562611[_0x40fbf3(0x16b)]||_0x3d1509['id']===_0x34da4a['id'])return;const _0x5a9640=_0x3d1509[_0x40fbf3(0x2e1)];if((_0x5a9640==null?void 0x0:_0x5a9640[_0x40fbf3(0x3e3)])!==this[_0x40fbf3(0x161)])return;const _0xd79987=_0x3d1509,_0x44e61f=this['_compressMutationService'][_0x40fbf3(0x18b)]['fetchThroughInterceptors'](this['_compressMutationService'][_0x40fbf3(0x18b)]['getInterceptPoints']()['COMPRESS_MUTATION_SEND'])([_0xd79987],null)||[_0xd79987];this[_0x40fbf3(0x1b2)](_0x44e61f[0x0]);})),_0x25ba45;}};It=xt([k(0x3,_0x186d60(_0x2d62be)),k(0x4,_0x186d60(_0x3edeb4)),k(0x5,_0x186d60(_0x24120b)),k(0x6,_0x186d60(_0x3c36df)),k(0x7,_0x186d60(pe)),k(0x8,_0x4d59d7),k(0x9,_0xe2c354),k(0xa,_0xe332cb),k(0xb,_0x39d318(ht)),k(0xc,_0x39d318(J))],It);let Tt=class extends nt{constructor(_0x5b37bb,_0x1484e1,_0x2f1661,_0x1f09c9,_0x18d571,_0x3c8b3f,_0x525cd5,_0x4b56b7,_0x198997,_0x25487e,_0x18a15e,_0x25a4b5,_0x47dbae,_0x5ad2ab){var _0x3d02ff=_0x424696;super(_0x5b37bb,_0x2f1661,_0x1484e1,_0x1f09c9,_0x18d571,_0x3c8b3f,_0x525cd5,_0x198997,_0x25487e,_0x18a15e,_0x25a4b5,_0x47dbae,_0x5ad2ab),this[_0x3d02ff(0x161)]=_0x5b37bb,this[_0x3d02ff(0x1d7)]=_0x1484e1,this[_0x3d02ff(0x294)]=_0x4b56b7;}[_0x424696(0x315)](){var _0x21d108=_0x424696;const _0x38d16f=super[_0x21d108(0x315)]();return _0x38d16f[_0x21d108(0x40a)]=_0x237b51=>this[_0x21d108(0x294)][_0x21d108(0x323)](_0x237b51),_0x38d16f;}async[_0x424696(0x3ec)](){var _0x42b269=_0x424696;const _0x31cc2e=await super[_0x42b269(0x3ec)]();return this['disposeWithMe'](this['_commandService'][_0x42b269(0x329)]((_0x49222e,_0x138761)=>{var _0x15d8cc=_0x42b269;if(_0x49222e[_0x15d8cc(0x1d7)]!==_0x3ee1d2['MUTATION']||_0x138761!=null&&_0x138761[_0x15d8cc(0x3dd)]||_0x138761!=null&&_0x138761[_0x15d8cc(0x16b)])return;const _0x22db5d=_0x49222e[_0x15d8cc(0x2e1)];if((_0x22db5d==null?void 0x0:_0x22db5d['unitId'])!==this['unitID'])return;const _0x53c390=_0x49222e,_0x1152f2=this[_0x15d8cc(0x271)]['interceptor'][_0x15d8cc(0x36a)](this[_0x15d8cc(0x271)][_0x15d8cc(0x18b)][_0x15d8cc(0x1d6)]()[_0x15d8cc(0x359)])([_0x53c390],null)||[_0x53c390];this['_onLocalMutation'](_0x1152f2[0x0]);})),_0x31cc2e;}};Tt=xt([k(0x3,_0x186d60(_0x2d62be)),k(0x4,_0x186d60(_0x3edeb4)),k(0x5,_0x186d60(_0x24120b)),k(0x6,_0x186d60(_0x3c36df)),k(0x7,_0x186d60(it)),k(0x8,_0x186d60(pe)),k(0x9,_0x4d59d7),k(0xa,_0xe2c354),k(0xb,_0xe332cb),k(0xc,_0x39d318(ht)),k(0xd,_0x39d318(J))],Tt);var vr=Object['defineProperty'],pr=Object['getOwnPropertyDescriptor'],mr=(_0x1d0183,_0x30077a,_0x5df6a0,_0x598c28)=>{var _0xfc6bc9=_0x424696;for(var _0x35d8c1=_0x598c28>0x1?void 0x0:_0x598c28?pr(_0x30077a,_0x5df6a0):_0x30077a,_0x3d4f6a=_0x1d0183[_0xfc6bc9(0x314)]-0x1,_0x211ced;_0x3d4f6a>=0x0;_0x3d4f6a--)(_0x211ced=_0x1d0183[_0x3d4f6a])&&(_0x35d8c1=(_0x598c28?_0x211ced(_0x30077a,_0x5df6a0,_0x35d8c1):_0x211ced(_0x35d8c1))||_0x35d8c1);return _0x598c28&&_0x35d8c1&&vr(_0x30077a,_0x5df6a0,_0x35d8c1),_0x35d8c1;},ft=(_0x46c21a,_0x9b4aa7)=>(_0x21aa83,_0x383208)=>_0x9b4aa7(_0x21aa83,_0x383208,_0x46c21a);let rt=class extends _0x38323d{constructor(_0x33dc39,_0x1b6bd8,_0x2581ad){var _0x1a6aab=_0x424696;super(),N(this,'_entities',new Map()),N(this,_0x1a6aab(0x305),new _0xdedd08()),N(this,_0x1a6aab(0x1ee),this[_0x1a6aab(0x305)][_0x1a6aab(0x2a5)]()),(this[_0x1a6aab(0x21b)]=_0x33dc39,this[_0x1a6aab(0x160)]=_0x1b6bd8,this[_0x1a6aab(0x270)]=_0x2581ad,this['_init']());}['dispose'](){var _0x444340=_0x424696;super['dispose'](),this[_0x444340(0x1a3)][_0x444340(0x409)](_0x317ecf=>_0x317ecf[_0x444340(0x406)]()),this['_entities'][_0x444340(0x2b0)]();}[_0x424696(0x37a)](_0x4d538a){var _0x31032b=_0x424696,_0x166956;return(_0x166956=this['_entities'][_0x31032b(0x396)](_0x4d538a))!=null?_0x166956:null;}[_0x424696(0x16a)](_0x40c4f2){var _0x150c24=_0x424696;const _0x18afa2=this[_0x150c24(0x37a)](_0x40c4f2);return _0x18afa2?_0x3de4c9(_0x18afa2):this[_0x150c24(0x305)][_0x150c24(0x1fb)](_0x2a5648(_0x232752=>_0x232752[_0x150c24(0x161)]===_0x40c4f2));}[_0x424696(0x3f5)](_0x192a1c){var _0x5aa670=_0x424696;return _0xbb7a05(this[_0x5aa670(0x16a)](_0x192a1c)[_0x5aa670(0x1fb)](_0x496697(()=>{})));}[_0x424696(0x3ec)](){var _0x4e775f=_0x424696;this['_univerInstanceService'][_0x4e775f(0x36d)](_0x6bba17[_0x4e775f(0x28c)])[_0x4e775f(0x1fb)](_0xc564a9(this[_0x4e775f(0x1ad)]),_0xe6df08(0x10))[_0x4e775f(0x3cd)](async _0x38df86=>{var _0x54a99e=_0x4e775f;const _0x4b11e2=_0x38df86[_0x54a99e(0x17c)](),_0xfd94b0=await this[_0x54a99e(0x1bb)](_0x4b11e2,Q[_0x54a99e(0x28c)]);this[_0x54a99e(0x1a3)][_0x54a99e(0x31f)](_0x4b11e2,_0xfd94b0);}),this[_0x4e775f(0x270)]['getTypeOfUnitAdded$'](_0x6bba17[_0x4e775f(0x240)])[_0x4e775f(0x1fb)](_0xc564a9(this[_0x4e775f(0x1ad)]),_0xe6df08(0x10))[_0x4e775f(0x1fb)](_0x2a5648(_0xc5cfd9=>!_0xc5cfd9['getUnitId']()['startsWith']('__')))[_0x4e775f(0x3cd)](async _0x305687=>{var _0x1ac95f=_0x4e775f;const _0x25b1cf=_0x305687[_0x1ac95f(0x17c)](),_0x43546b=await this[_0x1ac95f(0x1bb)](_0x25b1cf,Q[_0x1ac95f(0x240)]);this[_0x1ac95f(0x1a3)][_0x1ac95f(0x31f)](_0x25b1cf,_0x43546b);}),_0x4a6b1e(this['_univerInstanceService'][_0x4e775f(0x1e9)](_0x6bba17[_0x4e775f(0x28c)]),this['_univerInstanceService'][_0x4e775f(0x1e9)](_0x6bba17['UNIVER_DOC']))['pipe'](_0xc564a9(this['dispose$']))[_0x4e775f(0x3cd)](_0x55a63b=>{var _0x195cb3=_0x4e775f;const _0x504fd7=_0x55a63b[_0x195cb3(0x17c)](),_0xbc3105=this[_0x195cb3(0x1a3)]['get'](_0x504fd7);_0xbc3105&&(_0xbc3105['dispose'](),this[_0x195cb3(0x1a3)][_0x195cb3(0x16c)](_0x504fd7));});}async[_0x424696(0x1bb)](_0x370ac2,_0x11dc1){var _0x212cd0=_0x424696;const _0xb2d1ee=await this[_0x212cd0(0x160)][_0x212cd0(0x1f1)](_0x370ac2),_0x20e71c=this[_0x212cd0(0x21b)][_0x212cd0(0x3fc)](this[_0x212cd0(0x18a)](_0x11dc1),_0x370ac2,_0x11dc1,_0xb2d1ee);return await _0x20e71c[_0x212cd0(0x26e)](),this['_entityInit$'][_0x212cd0(0x3f2)](_0x20e71c),_0x20e71c;}[_0x424696(0x18a)](_0x4299d3){var _0x10b552=_0x424696;switch(_0x4299d3){case Q['UNIVER_DOC']:return It;case Q[_0x10b552(0x28c)]:return Tt;default:throw new Error(_0x10b552(0x190)+_0x4299d3);}}};rt=mr([ft(0x0,_0x186d60(_0x2d62be)),ft(0x1,_0x186d60(Le)),ft(0x2,_0x5238c4)],rt);var gr=Object[_0x424696(0x311)],Sr=Object['getOwnPropertyDescriptor'],Er=(_0x4b0f87,_0x5ad7e1,_0x12bdda,_0x287329)=>{var _0x4fbab5=_0x424696;for(var _0x5511f0=_0x287329>0x1?void 0x0:_0x287329?Sr(_0x5ad7e1,_0x12bdda):_0x5ad7e1,_0x1cb86e=_0x4b0f87[_0x4fbab5(0x314)]-0x1,_0x5569d2;_0x1cb86e>=0x0;_0x1cb86e--)(_0x5569d2=_0x4b0f87[_0x1cb86e])&&(_0x5511f0=(_0x287329?_0x5569d2(_0x5ad7e1,_0x12bdda,_0x5511f0):_0x5569d2(_0x5511f0))||_0x5511f0);return _0x287329&&_0x5511f0&&gr(_0x5ad7e1,_0x12bdda,_0x5511f0),_0x5511f0;},zt=(_0x3d628e,_0x3dcae0)=>(_0x20f5a8,_0x28d988)=>_0x3dcae0(_0x20f5a8,_0x28d988,_0x3d628e);const Ir='DEFAULT_FILE_NAME',Tr=_0x424696(0x2bc);let Ct=class extends _0x221e87{constructor(_0x1ca6be,_0x366fb2){var _0x56043a=_0x424696;super(),this[_0x56043a(0x270)]=_0x1ca6be,this['_configService']=_0x366fb2,this[_0x56043a(0x3ec)]();}['_init'](){var _0x56951b=_0x424696;this[_0x56951b(0x35f)](this[_0x56951b(0x270)][_0x56951b(0x2c3)][_0x56951b(0x3cd)](()=>{var _0xe71fe3=_0x56951b,_0x14a732;const _0x59932b=this[_0xe71fe3(0x270)][_0xe71fe3(0x172)]();let _0x13d634=(_0x14a732=this[_0xe71fe3(0x15e)][_0xe71fe3(0x2c0)](Ir))!=null?_0x14a732:Tr;_0x59932b instanceof _0x1b3084&&(_0x13d634=_0x59932b[_0xe71fe3(0x15a)]),document['title']=_0x13d634;}));}};Ct=Er([zt(0x0,_0x5238c4),zt(0x1,_0x257d37)],Ct);var Cr=Object[_0x424696(0x311)],br=Object[_0x424696(0x275)],Rr=(_0x59650b,_0x4ed294,_0x23a55e,_0x42589a)=>{for(var _0x4517a5=_0x42589a>0x1?void 0x0:_0x42589a?br(_0x4ed294,_0x23a55e):_0x4ed294,_0x5769ad=_0x59650b['length']-0x1,_0x2c1708;_0x5769ad>=0x0;_0x5769ad--)(_0x2c1708=_0x59650b[_0x5769ad])&&(_0x4517a5=(_0x42589a?_0x2c1708(_0x4ed294,_0x23a55e,_0x4517a5):_0x2c1708(_0x4517a5))||_0x4517a5);return _0x42589a&&_0x4517a5&&Cr(_0x4ed294,_0x23a55e,_0x4517a5),_0x4517a5;},vt=(_0x5e52aa,_0x40b7df)=>(_0x522bc1,_0x116e88)=>_0x40b7df(_0x522bc1,_0x116e88,_0x5e52aa);let st=class{constructor(_0x442f56,_0x4846c4,_0x523272){var _0x393f18=_0x424696;this[_0x393f18(0x15e)]=_0x442f56,this[_0x393f18(0x3e2)]=_0x4846c4,this[_0x393f18(0x24f)]=_0x523272,this[_0x393f18(0x26e)]();}[_0x424696(0x26e)](){var _0x52663f=_0x424696;this[_0x52663f(0x3e2)][_0x52663f(0x254)]({'priority':0x1,'interceptor':(_0x4e9abc,_0x18209a)=>_0x18209a(_0x4e9abc)[_0x52663f(0x1fb)](_0x173625(async _0x21ac6a=>{var _0x409044=_0x52663f;const _0x14118a=_0x21ac6a;if(_0x14118a[_0x409044(0x163)]===0x191){if(typeof window>'u')throw new Error('[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.');if(window[_0x409044(0x32c)](this[_0x409044(0x24f)]['t'](_0x409044(0x2e5)))){const _0x3fa261=window[_0x409044(0x288)](window[_0x409044(0x235)][_0x409044(0x15f)]);window[_0x409044(0x235)]['href']=this['_getLoginPath']()+'?url='+_0x3fa261;}}return _0x14118a;}))});}[_0x424696(0x206)](){var _0x8a1c0c=_0x424696,_0x350128,_0x33aac5;const _0x2af1ee=this[_0x8a1c0c(0x15e)][_0x8a1c0c(0x2c0)](wn),_0x3be35a=this[_0x8a1c0c(0x15e)][_0x8a1c0c(0x2c0)](q);return(_0x33aac5=(_0x350128=_0x3be35a==null?void 0x0:_0x3be35a[_0x8a1c0c(0x347)])!=null?_0x350128:_0x2af1ee)!=null?_0x33aac5:Un;}};st=Rr([vt(0x0,_0x257d37),vt(0x1,_0x186d60(_0x16a7d6)),vt(0x2,_0x186d60(_0x24120b))],st);var Or=Object[_0x424696(0x311)],yr=Object[_0x424696(0x275)],Nr=(_0x163563,_0x1c4f1f,_0x5f0472,_0x27614a)=>{var _0x3f701a=_0x424696;for(var _0x44eea9=_0x27614a>0x1?void 0x0:_0x27614a?yr(_0x1c4f1f,_0x5f0472):_0x1c4f1f,_0x3987bc=_0x163563[_0x3f701a(0x314)]-0x1,_0x51dda2;_0x3987bc>=0x0;_0x3987bc--)(_0x51dda2=_0x163563[_0x3987bc])&&(_0x44eea9=(_0x27614a?_0x51dda2(_0x1c4f1f,_0x5f0472,_0x44eea9):_0x51dda2(_0x44eea9))||_0x44eea9);return _0x27614a&&_0x44eea9&&Or(_0x1c4f1f,_0x5f0472,_0x44eea9),_0x44eea9;},Jt=(_0x13c92d,_0x416fcf)=>(_0x3f9129,_0x50c447)=>_0x416fcf(_0x3f9129,_0x50c447,_0x13c92d);const Ni='AUTHZ_URL_KEY',Dr='/universer-api/authz';let bt=class extends _0x221e87{constructor(_0x17ed5e,_0x249c90){var _0x4fbbc7=_0x424696;super(),this[_0x4fbbc7(0x16f)]=_0x17ed5e,this[_0x4fbbc7(0x15e)]=_0x249c90,this[_0x4fbbc7(0x26a)]();}[_0x424696(0x26a)](){const _0xefd6af=this;this['disposeWithMe'](this['_HTTPService']['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':_0x26ddb3({'isMatch'(_0x98101){var _0x567fe9=_0x181e,_0x3063f5;if(_0x98101['method']===_0x567fe9(0x2a7)&&((_0x3063f5=_0x98101[_0x567fe9(0x1ba)])!=null&&_0x3063f5['body'])){const {objectID:_0x2df370,objectType:_0x4a4fa8}=_0x98101['requestParams'][_0x567fe9(0x21e)]||{};if(!_0x2df370||_0x4a4fa8===void 0x0)return!0x1;const _0xdddf54=_0xefd6af[_0x567fe9(0x405)]()+'/'+_0x4a4fa8+_0x567fe9(0x2c8)+_0x2df370+_0x567fe9(0x1a6);if(_0x98101[_0x567fe9(0x3a5)]===_0xdddf54)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x5e4ccc){var _0x419a8b=_0x181e,_0x40229f;return(_0x40229f=_0x5e4ccc['requestParams'])==null?void 0x0:_0x40229f[_0x419a8b(0x21e)];},'mergeParamsToRequest'(_0x304c49,_0x3bfa48){var _0xec79e2=_0x181e;const _0x16705c=_0xefd6af[_0xec79e2(0x405)]()+'/-/object/-/batch_allowed',_0x46e223=_0x304c49[_0xec79e2(0x3a1)]((_0x168724,_0x3e639e)=>{var _0x4c1e5c=_0xec79e2;const {unitID:_0x32643b,objectID:_0x138754,objectType:_0x3c3936,actions:_0x2445a5}=_0x3e639e;return _0x168724[_0x32643b]||(_0x168724[_0x32643b]={}),_0x168724[_0x32643b][_0x138754]||(_0x168724[_0x32643b][_0x138754]={'objectID':_0x138754,'objectType':_0x3c3936,'actions':[]}),_0x168724[_0x32643b][_0x138754][_0x4c1e5c(0x2a2)][_0x4c1e5c(0x232)](..._0x2445a5),_0x168724;},{}),_0xf31c74=[];for(const _0x945247 in _0x46e223)for(const _0x1f1d65 in _0x46e223[_0x945247]){const {actions:_0x4e180c,objectType:_0x2a865f}=_0x46e223[_0x945247][_0x1f1d65],_0x124cf6=[...new Set(_0x4e180c)];_0xf31c74[_0xec79e2(0x232)]({'unitID':_0x945247,'objectID':_0x1f1d65,'objectType':_0x2a865f,'actions':_0x124cf6});}return new _0x317d23(_0xec79e2(0x2a7),_0x16705c,{'headers':_0x3bfa48['headers'],'withCredentials':_0x3bfa48[_0xec79e2(0x32a)],'responseType':_0x3bfa48['responseType'],'body':{'requests':_0xf31c74}});}},{'distributeResult'(_0x40e4df,_0x23e28f){var _0x2504e4=_0x181e;const {objectActions:_0x506d98}=_0x40e4df;return _0x23e28f[_0x2504e4(0x3c5)](_0x2f0b49=>{var _0xd52843=_0x2504e4;const {unitID:_0xa59f38,objectID:_0x2e663a,actions:_0x42b7d1}=_0x2f0b49,_0x9116d4=_0x506d98[_0xd52843(0x143)](_0x1d87db=>_0x1d87db['unitID']===_0xa59f38&&_0x1d87db[_0xd52843(0x1ae)]===_0x2e663a),_0xbe9aab=_0x42b7d1[_0xd52843(0x3c5)](_0x5115f1=>_0x9116d4==null?void 0x0:_0x9116d4['actions'][_0xd52843(0x143)](_0xa1993d=>_0xa1993d[_0xd52843(0x221)]===_0x5115f1))[_0xd52843(0x317)](_0x3f1fc0=>!!_0x3f1fc0);return{'config':_0x2f0b49,'result':{'actions':_0xbe9aab,'error':_0x40e4df[_0xd52843(0x20f)]}};});}})}));}[_0x424696(0x405)](){var _0x220de0=_0x424696,_0x47b803,_0x16859e;const _0x4de2ae=this[_0x220de0(0x15e)][_0x220de0(0x2c0)](Ni),_0x5728d6=this['_configService'][_0x220de0(0x2c0)](q);return(_0x16859e=(_0x47b803=_0x5728d6==null?void 0x0:_0x5728d6[_0x220de0(0x3d5)])!=null?_0x47b803:_0x4de2ae)!=null?_0x16859e:Dr;}async[_0x424696(0x39e)](_0x5559f9){var _0x3e2b62=_0x424696;const _0x471e99=this[_0x3e2b62(0x405)]()+'/'+_0x5559f9[_0x3e2b62(0x2b6)]+'/object';return(await this['_HTTPService'][_0x3e2b62(0x427)](_0x471e99,{'body':_0x5559f9}))['body']['objectID']||'';}async['list'](_0x331646){var _0x374576=_0x424696;const _0x429faa=this[_0x374576(0x405)]()+'/-/object/list';return(await this[_0x374576(0x16f)]['post'](_0x429faa,{'body':_0x331646}))[_0x374576(0x21e)][_0x374576(0x279)];}async[_0x424696(0x321)](_0x4de572){var _0x11acbd=_0x424696;const _0x470c6e=this[_0x11acbd(0x405)]()+'/'+_0x4de572[_0x11acbd(0x2b6)]+_0x11acbd(0x2c8)+_0x4de572[_0x11acbd(0x1ae)];await this[_0x11acbd(0x16f)]['put'](_0x470c6e,{'body':_0x4de572});}async[_0x424696(0x142)](_0xef0276){var _0x587c61=_0x424696;const _0x22ac63=this['_getAPIPrefixPath']()+'/'+_0xef0276[_0x587c61(0x2b6)]+_0x587c61(0x2c8)+_0xef0276[_0x587c61(0x1ae)]+_0x587c61(0x1a6);return(await this['_HTTPService'][_0x587c61(0x427)](_0x22ac63,{'body':_0xef0276}))[_0x587c61(0x21e)][_0x587c61(0x2a2)];}async[_0x424696(0x426)](_0x1ada88){var _0x2f6c03=_0x424696;const _0x3cf12a=this[_0x2f6c03(0x405)]()+_0x2f6c03(0x3f0);return(await this[_0x2f6c03(0x16f)][_0x2f6c03(0x427)](_0x3cf12a,{'body':{'requests':_0x1ada88}}))[_0x2f6c03(0x21e)]['objectActions'];}async['listRoles'](_0x3a396a){var _0x23c1c6=_0x424696;const _0x26e787=this[_0x23c1c6(0x405)]()+'/'+_0x3a396a[_0x23c1c6(0x2b6)]+_0x23c1c6(0x191),_0x53c2c3=await this[_0x23c1c6(0x16f)][_0x23c1c6(0x427)](_0x26e787,{'body':_0x3a396a});return{'roles':_0x53c2c3['body'][_0x23c1c6(0x276)],'actions':_0x53c2c3[_0x23c1c6(0x21e)]['actions']};}async[_0x424696(0x151)](_0x257574){var _0x595746=_0x424696;const _0x2fb579=this[_0x595746(0x405)]()+'/collaborator';await this[_0x595746(0x16f)][_0x595746(0x16c)](_0x2fb579,{'params':{'collaboratorID':_0x257574[_0x595746(0x13a)],'objectID':_0x257574[_0x595746(0x1ae)],'unitID':_0x257574['unitID']}});}async[_0x424696(0x17a)](_0x35c258){var _0x4525c4=_0x424696;const _0xc5c04a=this[_0x4525c4(0x405)]()+_0x4525c4(0x40e);await this[_0x4525c4(0x16f)]['patch'](_0xc5c04a,{'body':_0x35c258});}async['createCollaborator'](_0x1fa6c9){var _0x210cd3=_0x424696;const _0x37f421=this[_0x210cd3(0x405)]()+_0x210cd3(0x40e);await this[_0x210cd3(0x16f)][_0x210cd3(0x427)](_0x37f421,{'body':_0x1fa6c9});}async[_0x424696(0x281)](_0x54fdb9){var _0x5382f0=_0x424696;const _0x1fa396=this[_0x5382f0(0x405)]()+_0x5382f0(0x40e);return(await this[_0x5382f0(0x16f)][_0x5382f0(0x396)](_0x1fa396,{'params':{'objectID':_0x54fdb9[_0x5382f0(0x1ae)],'unitID':_0x54fdb9['unitID']}}))['body'][_0x5382f0(0x25e)];}async[_0x424696(0x3c8)](_0x4c997c){var _0x5b6800=_0x424696;const _0x10d674=this[_0x5b6800(0x405)]()+_0x5b6800(0x40e);await this[_0x5b6800(0x16f)]['put'](_0x10d674,{'body':_0x4c997c});}};bt=Nr([Jt(0x0,_0x186d60(_0x16a7d6)),Jt(0x1,_0x186d60(_0x257d37))],bt);var pt=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function _0x121f(){var _0x19f96d=['_status$','catch','OpenSSL','_transformSelections','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','collaborators','routeKey','pluginName','padding','_getRedoStack','_scheduleCollaborationTimeoutTimer','AWAITING_WITH_PENDING','BlockCipher','deepClone','close$','transformMutationsWithChangeset','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','_initMergeInterceptor','close','reject','send','init','_toggleOnline','_univerInstanceService','_compressMutationService','c2Prime','24MalyNh','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','getOwnPropertyDescriptor','roles','joinRsp','awaitingChangeset','objects','editing\x20status\x20changed\x20to','byteLength','PasswordBasedCipher','EXCHANGE_SIGN_URL_SERVER_URL_KEY','GLOBAL_ROOMS_CNT_EXCEEDS','onStarting','onStateChange','listCollaborators','status$','bind','clone','getLatestCsReqIdBySid','roomInfos','[DataLoaderService]','encodeURIComponent','_data','_loadDoc','SEND_CHANGESET_TIMEOUT','UNIVER_SHEET','subUnitId','revision','refreshPermission','getDeserializedSheetBlock','_socketReady','complete','Malformed\x20UTF-8\x20data','_sheetTransformSelectionsService','/universer-api/user/session-ticket','_clearRedo','_disableEditing','readAsDataURL','[CollaborationUndoRedoService]','RECV','_initUnitPermissionChange','onRemoteRej','headers','hasOwnProperty','_transformRemoteChangesetByIMECache','USERS_ENTER','[UniverCollaborationClientPlugin]','actions','charAt','algo','asObservable','_process','POST','enableOfflineEditing','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','_DEC_XFORM_MODE','_remoteChangesetQueue','_showConflictNotification','fetchMissingChangesets','_commandService','encrypt','clear','snapshot','HEARTBEAT','onRemoteChangeset','data','37269cTtcDg','objectType','cmd','disableLocalCache','/universer-api/file/{fileID}/sign-url','_invKeySchedule','loadSheet','Univer','/universer-api/authz','/universer-api/snapshot/','session.room-cnt-exceeds','getConfig','_onUserLeave','APPLY_NON_SEQUENTIAL_REVISION','focused$','115230oejSlJ','extend','_resendTimeout','onRemoteRetry','/object/','_initRequestHeader','image/png','Could\x20not\x20dynamically\x20require\x20\x22','_transformUndoredo','finalize','_onRemoteACK','_throwTelemetryCollaborationNewChangeset','_ENC_XFORM_MODE','getSheetBlock','_rescheduleHeartbeat','duration','/block/','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','_clearTimeoutTimer','[CollaborationSessionService]','c1Prime','HttpImport','join','_timeoutTimer','floor','UNAUTHENTICATED','encode','_transformIMECache','params','image/bmp','updatePermissionObjEvent','transformUndoRedo','auth.needGotoLoginAlert','YUUMI_RATE_OVER_LIMIT','capture','/fetchmissing?from=','onMissedChangesetFetched','[PendingState]:\x20received\x20acknowledgement.','snapshotServerUrl','_members','splice','pending','UPDATE_PERMISSION_OBJ','_createHelper','YUUMI_UNABLE_LOAD_URL','getMember','_keyPriorReset','univer-pro.collaboration-client.network-condition.service','univer-pro.collaboration-client-socket-service','_retryCount','_waitCount','_append','slice','repeat','_snapshotService','getActiveSheet','SerializableCipher','_xformMode','_commentUpdate$','byteOffset','resourceIDs','signUrlServerUrl','UUID','&source=','_entityInit$','msCrypto','fetching\x20missing\x20changesets\x20from\x20','blockSize','enableAuthServer','_onConnectionOpen','_getCurrentRevision','eventID','_unitID','_retryConnectingTimer','_doProcessBlock','_telemetryService','defineProperty','_joinRoom','_event$','length','_createHandler','salt','filter','[CollaborationEntity]','key','socket$','SHA1','keySize','onRemoteAck','_sessionStatus$','set','_userManagerService','update','WordArray','transformSelections','SUBMIT_CHANGESET','waitForRoom$','getSnapshotAPIPath','BufferedBlockAlgorithm','toString','onCommandExecuted','withCredentials','_resendWithTimeout','confirm','setWaitCount','JOIN','getImage','updateOfflineData','saveChangeset','origin','SOCKET_FAILED','UNIVER_SLIDE','966588DPujBA','ERROR_IMAGE','{fileID}','words','mode','_instanceService','_waitForHeartbeatResponse','_state$','APPLY_REJECT','parse','ivSize','open$','prototype','emitEvent','_doCreateSocket','_transitionLocked','SOCKET_FAILED_RETRY','_decreaseWaiting','loginUrlKey','_getUploadFileURL','getUnitOnRev','ONLINE','_onRemoteChangeset','change$','ALREADY_EXISTS','image/gif','generateRandomId','saveSnapshot','reset','unknown','save\x20fail\x20reason\x20is\x20','_localCacheService','_awaitingChangeset','_undoRedoService','liveShareOperation','_localeService','COMPRESS_MUTATION_SEND','initWorkbookPermissionChange','UNKNOWN_CODE','_clearScheduledTask','state$','_acknowledgedAwaitingChangeset','disposeWithMe','_resendTimer','getValue','HEARTBEAT_TIMEOUT','LIVESHARE_NEW_HOST','json','result','_sendHeartbeat','USERS_LEAVE','originalMeta','_substituteUndoStack','fetchThroughInterceptors','iterations','pauseCollaboration','getTypeOfUnitAdded$','MSG_FOR_ERROR','substr','_tryEnsureSocket','_sessions','state','NO_OTHER_CLIENTS_EDITING','loadUnit','onSyncEditingCollabCursor','onCommentUpdate','charCodeAt','getWorkbookSelections','changesets','getCollabEntity','Base','session','ERROR_EXCEED_SIZE','_hash','default','reverse','getCurrentSelections','JOIN_ROOM_FAILED','sessionStatus','BlockCipherMode','LIVESHARE_REQUEST_HOST','LICENSE_MAX_UNITS_EXCEEDED','rev','sessionStatus$','_logService','_eventService','_roomMembers','resend','FAIL','_checkMissing','10IBGIYY','createEncryptor','\x20in\x20_schedule.','online$','Random\x20bytes\x20length\x20must\x20be\x20>=\x2016','clamp','_collaborationPaused','get','stringify','_change$','saveSheetBlock','onMissingChangesets','CHANGESET_ACK','_registerDependencies','_iKey','create','__esModule','collabSubmitChangesetUrl','reduce','getUnitType','__Key__','OPTIONAL','url','_onRemoteRejected','session.room-full','Undefined','_updateLocalCache','downloadEndpointUrl','transformChangesets','append','loadOfflineData','compute','joinEvent','_pendingMutations','_stopTelemetryCollaborationNewChangeset','UNRECOGNIZED','_singleActiveUnitService','function','randomUUID','546252MelCmw','m2Prime','fromCharCode','EvpKDF','_onMessage','entries','_loadSheet','_mode','from','PERMISSION_DENIED','session.room-not-exists','_tryReconnect','textRanges','[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.','readInt32LE','map','CHANGESET_SHOULD_RETRY','x-univer-host','putCollaborators','CHANGESET_REVISION_CONFILICT','_changesetReqId','_revisionService','Base64','subscribe','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','symbol','ws://127.0.0.1:8000/universer-api/comb/connect','saveImage','LOGIN_URL_KEY','has','RETRY_CONNECTING_MAX_COUNT','authzUrl','kdf','_telemetryInfo','Utf8','_socketMessageSubscription','subject','_transformRemoteChangesetByStateCache','18lVveyz','fromCollab','NOT_FOUND','OTHER_CLIENTS_EDITING','message$','src','_httpService','unitId','FileId','now','_createInitialState','csAckEvent','_nRounds','_socketService','_oKey','/universer-api/uniscript','_init','_collaborationTimeoutTimer','unit-cache-','setConfig','/-/object/-/batch_allowed','stopTime','next','sid','collaMsg','readyForCollab','shouldCloseConn','_nDataBytes','getCurrentRevOfUnit','awaiting_with_pending','FETCH_MISS','ENSURE_SNAPSHOT_EXECUTION','createInstance','localCacheService','CBC','UNDEFINED','updateMember','NoPadding','sendChangesetTimeout','offline','HmacSHA1','_getAPIPrefixPath','dispose','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_redoStacks','forEach','onTransformSelections','_roomCreated$','getMemberID','_prevBlock','/collaborator','range','_listenToNetworkCondition','_replayCachedMutations','_commentService','_fetchMissChangesets','COMPLETION_FINISHED','getTime','__creator','SUBMIT_CHANGESET_TIMEOUT','infoRsp','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','/new_changes','univer-pro.collaboration-client.single-active-unit-service','\x0aCurrent:\x20','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','rng','_getSendChangesetTimeout','selections','_removeRoom','HttpExport','CONNECTOR_DATA_TOO_LARGE','PSEUDO_FETCH_MISSING_RESULT','batchAllowed','post','_incrementRevisionNumber','_minBufferSize','_substituteRedoStack','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','_collaborationUIEventService','copyFileMeta','image/jpg','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','AES','/universer-api/stream/file/upload','APPLY_DUPLICATED','getCurrentUser','LICENSE_DISTRO_REJECTED','UPDATE_CURSOR','_key','INGEST','getUnitStatus$','$super','collaboratorID','MD5','loadDoc','_createHmacHelper','crypto','BASE64','SNAPSHOT_URL_KEY','override','allowed','find','not_collab','onTransformRemoteChangesetByIMECache','[OfflineState]:\x20received\x20acknowledgement.','UNKNOWN_CMD','_transformStack','conflict','every','\x20-\x20','_updateStatus','_isPermissionRej','removeMember','_hasher','concat','deleteCollaborator','Pkcs7','PY_RUNTIME_SCRIPT_ERROR','_clearHeartbeatTimer','_onConflict','code','_handler','awaiting','abs','name','PENDING','_changesetSessionId','appendMutation','_configService','href','_collabSessionService','unitID','_memberService','status','format','[PendingState]:\x20unhandled\x20univer\x20type:\x20','isArray','Hasher','getUnit','debug','getCollabEntity$','onlyLocal','delete','LEAVE','liveShareNewHost','_HTTPService','Hex','getResourcesRequest','getFocusedUnit','LIVESHARE_OPERATION','random','_undoStacks','updateCursorEvent','CipherParams','_snapshotServerService','leaveEvent','updateCollaborator','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','getUnitId','editingUnit','_state','SYNCED','exports','UNIVER_PROJECT','[OfflineState]:\x20received\x20rejection.','_executeRemoteChangeset','_onUserJoin','_createInitialStateImpl','_onConnectionFailed','_lockTransition','_syncEditingCollabCursor','socketService','_getCtorByUniverType','interceptor','Encryptor','Latin1','APPLY_PERMISSION_DENIED','_map','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','/role','commentUpdateEvent','_unlockTransition','_createSocket','JOIN_ROOM_FULL','onload','_clearLocalCache','_iv','_startTelemetryCollaborationNewChangeset','PERMISSION_REJ','Decryptor','TOO_MANY_REQUESTS','sigBytes','LICENSE_IMPORT_SIZE_EXCEEDED','SHOULD_CLOSE_CONN','session.join-failed','_doFinalize','fetchMiss','_entities','_members$','closeSession','/allowed','updatePermissionPoint','APPLY_REVISION_CONFILICT','_onFetchMissResult','_handlerCallback','_type','[CollaborationSession]','dispose$','objectID','workbook','PERSON','LIVESHARE_TERMINATE','_onLocalMutation','YUUMI_URL_COL_OUT_OF_RANGE','_onRemoteRetry','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','CONFLICT','enc','_doReset','_doCryptBlock','requestParams','_startCollaboration','target','executeCommand','_applyRemoteChangeset','synced','unsubscribe','_imageSourceCache','connection\x20error','_emitMembers','members$','JOIN_ROOM_PERMISSION_DENIED','pad','[FetchMissState]','FETCH_MISSING','reqId','setCurrentUser','_onRecvEvent','_scheduleCompleteTimestamp','HELLO','&to=','OTHER_CLIENT_EDITING','_getSignURL','_clearUndo','createDecryptor','UnitSnapshot','baseRev','LOCAL_CACHE_INTERVAL','getInterceptPoints','type','IDLE','list','_candidateSocket','_socket','submit\x20changeset\x20error!','toLowerCase','_onJoinRoomEvent','apply','_onOffline','9113555LIhHTX','CHANGESET_REJ','[CollaborationState]:\x20apply\x20error!','COMPRESS_MUTATION_APPLY','_transformStateCache','MUTATION','\x0aAfter:\x20','onTransformState','getTypeOfUnitDisposed$','_sendingTimer','8297mkBRlc','max','_networkConditionService','entityInit$','cfg','members','requireSession','179301MmGmGt','_collaborationSessionService','unpad','newCsEvent','resolve','\x20to\x20','UNIVER_UNKNOWN','LIVESHARE_FETCH_OPERATIONS','_getDownloadEndpointURL','pipe','add','_config','randomBytes','_reverseMap','OFFLINE','_schedule','fetch_missing','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','_unitInfo$','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','_getLoginPath','toggleOnline','getSheetId','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','_exhaustRemoteChangesetQueue','_submitChangeset','values','reconnect','compose','error','decrypt','transformStack\x20failed!','HmacMD5','/unit/','ciphertext','_updateState','_sender','_getAPIPrefix','retryConnectingInterval','_transformService','_socket$','_injector','JOINING','UNISCRIPT_RUN','body','toggleOffline','/rev/','action','UnitEmbedded','_getUndoStack','event$','_sendHeartbeatTimer','ceil','[SyncedState]:\x20received\x20rejection.','COLLAB_WEB_SOCKET_URL','[PendingState]:\x20received\x20rejection.','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','getRandomValues','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','SNAPSHOT_HAS_BEEN_REMOVED','call','string','mutations','YUUMI_SUBSCRIPTION_NOT_FOUND','push','lib','_shouldReportTelemetry','location','/resources','NEW_CHANGESETS','mixIn','replace','size','SNAPSHOT_INVALID_SNAPSHOT','CLOSE_ROOM','onTransformRemoteChangesetByStateCache','unitInfo$','socket\x20close','UNIVER_DOC','&assign=','?size=','_replaceFileID','onSendChangeset','JOIN_ROOM_NOT_EXISTS','_toggleOffline','permissionRejEvent','avatar','createSocket','_permissionService','_cipher','400HzNnYr','_parse','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','localeService','startTime','onTransformIME','_queuedRemoteChangesets','memberID','registerHTTPInterceptor','image/jpeg','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','userID','formatter'];_0x121f=function(){return _0x19f96d;};return _0x121f();}function ke(_0x39c42f){var _0x1612a5=_0x424696;return _0x39c42f&&_0x39c42f[_0x1612a5(0x39f)]&&Object[_0x1612a5(0x341)][_0x1612a5(0x29e)][_0x1612a5(0x22e)](_0x39c42f,'default')?_0x39c42f[_0x1612a5(0x37f)]:_0x39c42f;}var Ge={'exports':{}};function Pr(_0x32d2ee){var _0x471aaa=_0x424696;throw new Error(_0x471aaa(0x2cb)+_0x32d2ee+_0x471aaa(0x274));}var Ve={'exports':{}},wr=Ve['exports'],Xt;function ie(){return Xt||(Xt=0x1,function(_0x269142,_0x53889e){(function(_0x54a7be,_0xc39328){var _0x5ea574=_0x181e;_0x269142[_0x5ea574(0x180)]=_0xc39328();}(wr,function(){var _0x40e479=_0x40e479||function(_0x585a6d,_0x16a3ec){var _0x1f2d27=_0x181e,_0x589b82;if(typeof window<'u'&&window[_0x1f2d27(0x13e)]&&(_0x589b82=window[_0x1f2d27(0x13e)]),typeof self<'u'&&self[_0x1f2d27(0x13e)]&&(_0x589b82=self[_0x1f2d27(0x13e)]),typeof globalThis<'u'&&globalThis[_0x1f2d27(0x13e)]&&(_0x589b82=globalThis[_0x1f2d27(0x13e)]),!_0x589b82&&typeof window<'u'&&window[_0x1f2d27(0x306)]&&(_0x589b82=window[_0x1f2d27(0x306)]),!_0x589b82&&typeof pt<'u'&&pt[_0x1f2d27(0x13e)]&&(_0x589b82=pt[_0x1f2d27(0x13e)]),!_0x589b82&&typeof Pr==_0x1f2d27(0x3b4))try{_0x589b82=require('crypto');}catch{}var _0x5dfdfa=function(){var _0x3305a6=_0x1f2d27;if(_0x589b82){if(typeof _0x589b82[_0x3305a6(0x22b)]==_0x3305a6(0x3b4))try{return _0x589b82['getRandomValues'](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x589b82['randomBytes']=='function')try{return _0x589b82[_0x3305a6(0x1fe)](0x4)[_0x3305a6(0x3c4)]();}catch{}}throw new Error(_0x3305a6(0x24e));},_0x2da137=Object[_0x1f2d27(0x39e)]||(function(){function _0x11b4d8(){}return function(_0x47a9c3){var _0x38d911=_0x181e,_0x1a2411;return _0x11b4d8[_0x38d911(0x341)]=_0x47a9c3,_0x1a2411=new _0x11b4d8(),_0x11b4d8[_0x38d911(0x341)]=null,_0x1a2411;};}()),_0x25a541={},_0x42f17a=_0x25a541['lib']={},_0xc96b0e=_0x42f17a[_0x1f2d27(0x37b)]=(function(){return{'extend':function(_0x18e926){var _0x10e242=_0x181e,_0x25909d=_0x2da137(this);return _0x18e926&&_0x25909d[_0x10e242(0x238)](_0x18e926),(!_0x25909d[_0x10e242(0x29e)]('init')||this[_0x10e242(0x26e)]===_0x25909d['init'])&&(_0x25909d[_0x10e242(0x26e)]=function(){var _0x1e61f1=_0x10e242;_0x25909d[_0x1e61f1(0x439)][_0x1e61f1(0x26e)][_0x1e61f1(0x1df)](this,arguments);}),_0x25909d['init'][_0x10e242(0x341)]=_0x25909d,_0x25909d[_0x10e242(0x439)]=this,_0x25909d;},'create':function(){var _0xe914ef=_0x181e,_0x191475=this[_0xe914ef(0x2c5)]();return _0x191475[_0xe914ef(0x26e)][_0xe914ef(0x1df)](_0x191475,arguments),_0x191475;},'init':function(){},'mixIn':function(_0x12c72e){var _0x385604=_0x181e;for(var _0x1ad358 in _0x12c72e)_0x12c72e[_0x385604(0x29e)](_0x1ad358)&&(this[_0x1ad358]=_0x12c72e[_0x1ad358]);_0x12c72e[_0x385604(0x29e)]('toString')&&(this[_0x385604(0x328)]=_0x12c72e[_0x385604(0x328)]);},'clone':function(){var _0x34113e=_0x181e;return this[_0x34113e(0x26e)][_0x34113e(0x341)][_0x34113e(0x2c5)](this);}};}()),_0x4a4c50=_0x42f17a[_0x1f2d27(0x322)]=_0xc96b0e[_0x1f2d27(0x2c5)]({'init':function(_0x18d0de,_0x4c17ff){var _0x1b6885=_0x1f2d27;_0x18d0de=this['words']=_0x18d0de||[],_0x4c17ff!=_0x16a3ec?this[_0x1b6885(0x19d)]=_0x4c17ff:this[_0x1b6885(0x19d)]=_0x18d0de[_0x1b6885(0x314)]*0x4;},'toString':function(_0x183915){var _0x1d4c6a=_0x1f2d27;return(_0x183915||_0x5ab70e)[_0x1d4c6a(0x397)](this);},'concat':function(_0x812c92){var _0x4877e9=_0x1f2d27,_0x75108=this[_0x4877e9(0x338)],_0x40ea67=_0x812c92['words'],_0x36749c=this[_0x4877e9(0x19d)],_0x337884=_0x812c92[_0x4877e9(0x19d)];if(this[_0x4877e9(0x394)](),_0x36749c%0x4)for(var _0x5acca3=0x0;_0x5acca3<_0x337884;_0x5acca3++){var _0x42d128=_0x40ea67[_0x5acca3>>>0x2]>>>0x18-_0x5acca3%0x4*0x8&0xff;_0x75108[_0x36749c+_0x5acca3>>>0x2]|=_0x42d128<<0x18-(_0x36749c+_0x5acca3)%0x4*0x8;}else{for(var _0x239ecf=0x0;_0x239ecf<_0x337884;_0x239ecf+=0x4)_0x75108[_0x36749c+_0x239ecf>>>0x2]=_0x40ea67[_0x239ecf>>>0x2];}return this['sigBytes']+=_0x337884,this;},'clamp':function(){var _0x25daff=_0x1f2d27,_0x5f5440=this[_0x25daff(0x338)],_0x3f3771=this['sigBytes'];_0x5f5440[_0x3f3771>>>0x2]&=0xffffffff<<0x20-_0x3f3771%0x4*0x8,_0x5f5440[_0x25daff(0x314)]=_0x585a6d[_0x25daff(0x226)](_0x3f3771/0x4);},'clone':function(){var _0x10fe7a=_0x1f2d27,_0x363d50=_0xc96b0e[_0x10fe7a(0x284)]['call'](this);return _0x363d50[_0x10fe7a(0x338)]=this[_0x10fe7a(0x338)][_0x10fe7a(0x2f9)](0x0),_0x363d50;},'random':function(_0x4d1e67){var _0x4c7557=_0x1f2d27;for(var _0x35c3ae=[],_0x52c7a6=0x0;_0x52c7a6<_0x4d1e67;_0x52c7a6+=0x4)_0x35c3ae[_0x4c7557(0x232)](_0x5dfdfa());return new _0x4a4c50[(_0x4c7557(0x26e))](_0x35c3ae,_0x4d1e67);}}),_0x1e61f9=_0x25a541['enc']={},_0x5ab70e=_0x1e61f9[_0x1f2d27(0x170)]={'stringify':function(_0x324444){var _0x8140ed=_0x1f2d27;for(var _0x1cf907=_0x324444['words'],_0x2a6327=_0x324444[_0x8140ed(0x19d)],_0x20eefa=[],_0x31c998=0x0;_0x31c998<_0x2a6327;_0x31c998++){var _0x2ed33f=_0x1cf907[_0x31c998>>>0x2]>>>0x18-_0x31c998%0x4*0x8&0xff;_0x20eefa[_0x8140ed(0x232)]((_0x2ed33f>>>0x4)[_0x8140ed(0x328)](0x10)),_0x20eefa[_0x8140ed(0x232)]((_0x2ed33f&0xf)['toString'](0x10));}return _0x20eefa[_0x8140ed(0x2db)]('');},'parse':function(_0x2d047f){var _0x44cb64=_0x1f2d27;for(var _0x4c710f=_0x2d047f[_0x44cb64(0x314)],_0x59cdb0=[],_0x2e3c94=0x0;_0x2e3c94<_0x4c710f;_0x2e3c94+=0x2)_0x59cdb0[_0x2e3c94>>>0x3]|=parseInt(_0x2d047f[_0x44cb64(0x36f)](_0x2e3c94,0x2),0x10)<<0x18-_0x2e3c94%0x8*0x4;return new _0x4a4c50[(_0x44cb64(0x26e))](_0x59cdb0,_0x4c710f/0x2);}},_0x27341c=_0x1e61f9[_0x1f2d27(0x18d)]={'stringify':function(_0x3aa6c1){var _0xc83bee=_0x1f2d27;for(var _0x228b02=_0x3aa6c1[_0xc83bee(0x338)],_0x26360d=_0x3aa6c1[_0xc83bee(0x19d)],_0x4afc86=[],_0x29c1c0=0x0;_0x29c1c0<_0x26360d;_0x29c1c0++){var _0x32563f=_0x228b02[_0x29c1c0>>>0x2]>>>0x18-_0x29c1c0%0x4*0x8&0xff;_0x4afc86[_0xc83bee(0x232)](String[_0xc83bee(0x3b8)](_0x32563f));}return _0x4afc86[_0xc83bee(0x2db)]('');},'parse':function(_0x4330df){var _0x295186=_0x1f2d27;for(var _0x2f9c83=_0x4330df[_0x295186(0x314)],_0x4862d3=[],_0x4ace0d=0x0;_0x4ace0d<_0x2f9c83;_0x4ace0d++)_0x4862d3[_0x4ace0d>>>0x2]|=(_0x4330df['charCodeAt'](_0x4ace0d)&0xff)<<0x18-_0x4ace0d%0x4*0x8;return new _0x4a4c50['init'](_0x4862d3,_0x2f9c83);}},_0x13b170=_0x1e61f9['Utf8']={'stringify':function(_0x5b585a){var _0x90f517=_0x1f2d27;try{return decodeURIComponent(escape(_0x27341c[_0x90f517(0x397)](_0x5b585a)));}catch{throw new Error(_0x90f517(0x293));}},'parse':function(_0x3ebc00){var _0x44e6d2=_0x1f2d27;return _0x27341c[_0x44e6d2(0x33e)](unescape(encodeURIComponent(_0x3ebc00)));}},_0x41e789=_0x42f17a[_0x1f2d27(0x327)]=_0xc96b0e[_0x1f2d27(0x2c5)]({'reset':function(){var _0x2bc4fe=_0x1f2d27;this[_0x2bc4fe(0x289)]=new _0x4a4c50[(_0x2bc4fe(0x26e))](),this['_nDataBytes']=0x0;},'_append':function(_0x403319){var _0x3e91f9=_0x1f2d27;typeof _0x403319==_0x3e91f9(0x22f)&&(_0x403319=_0x13b170['parse'](_0x403319)),this[_0x3e91f9(0x289)][_0x3e91f9(0x150)](_0x403319),this['_nDataBytes']+=_0x403319['sigBytes'];},'_process':function(_0x1d3da2){var _0x56d7f2=_0x1f2d27,_0x8dc096,_0x1a65bb=this[_0x56d7f2(0x289)],_0xd145cc=_0x1a65bb[_0x56d7f2(0x338)],_0x19e917=_0x1a65bb[_0x56d7f2(0x19d)],_0x37e0ea=this[_0x56d7f2(0x308)],_0x39a582=_0x37e0ea*0x4,_0x36cebf=_0x19e917/_0x39a582;_0x1d3da2?_0x36cebf=_0x585a6d[_0x56d7f2(0x226)](_0x36cebf):_0x36cebf=_0x585a6d[_0x56d7f2(0x1ec)]((_0x36cebf|0x0)-this[_0x56d7f2(0x429)],0x0);var _0x36ed0a=_0x36cebf*_0x37e0ea,_0x25e17a=_0x585a6d['min'](_0x36ed0a*0x4,_0x19e917);if(_0x36ed0a){for(var _0x2bf7a5=0x0;_0x2bf7a5<_0x36ed0a;_0x2bf7a5+=_0x37e0ea)this[_0x56d7f2(0x30f)](_0xd145cc,_0x2bf7a5);_0x8dc096=_0xd145cc[_0x56d7f2(0x2ed)](0x0,_0x36ed0a),_0x1a65bb['sigBytes']-=_0x25e17a;}return new _0x4a4c50[(_0x56d7f2(0x26e))](_0x8dc096,_0x25e17a);},'clone':function(){var _0x42daec=_0x1f2d27,_0x4d9999=_0xc96b0e[_0x42daec(0x284)][_0x42daec(0x22e)](this);return _0x4d9999[_0x42daec(0x289)]=this[_0x42daec(0x289)][_0x42daec(0x284)](),_0x4d9999;},'_minBufferSize':0x0});_0x42f17a[_0x1f2d27(0x167)]=_0x41e789[_0x1f2d27(0x2c5)]({'cfg':_0xc96b0e['extend'](),'init':function(_0x1195c0){var _0x54c7b9=_0x1f2d27;this[_0x54c7b9(0x1ef)]=this['cfg']['extend'](_0x1195c0),this[_0x54c7b9(0x351)]();},'reset':function(){var _0x6625d8=_0x1f2d27;_0x41e789[_0x6625d8(0x351)][_0x6625d8(0x22e)](this),this[_0x6625d8(0x1b8)]();},'update':function(_0x31f3e8){var _0x3001be=_0x1f2d27;return this[_0x3001be(0x2f8)](_0x31f3e8),this[_0x3001be(0x2a6)](),this;},'finalize':function(_0x52a544){var _0x5cad16=_0x1f2d27;_0x52a544&&this[_0x5cad16(0x2f8)](_0x52a544);var _0x1e99fe=this[_0x5cad16(0x1a1)]();return _0x1e99fe;},'blockSize':0x10,'_createHelper':function(_0x532dd2){return function(_0xbef7fc,_0x3c367a){var _0x2c515f=_0x181e;return new _0x532dd2['init'](_0x3c367a)[_0x2c515f(0x2cd)](_0xbef7fc);};},'_createHmacHelper':function(_0x3aded6){return function(_0x4fa352,_0x5bec37){var _0x12e8f6=_0x181e;return new _0x303b10['HMAC'][(_0x12e8f6(0x26e))](_0x3aded6,_0x5bec37)['finalize'](_0x4fa352);};}});var _0x303b10=_0x25a541['algo']={};return _0x25a541;}(Math);return _0x40e479;}));}(Ve)),Ve['exports'];}var We={'exports':{}},Ur=We[_0x424696(0x180)],Zt;function Di(){return Zt||(Zt=0x1,function(_0x28c710,_0x5eb348){(function(_0x29b3f4,_0xecd04b){_0x28c710['exports']=_0xecd04b(ie());}(Ur,function(_0x5866d8){var _0x1614b9=_0x181e;return(function(){var _0x361833=_0x181e,_0x4723e2=_0x5866d8,_0x1087e1=_0x4723e2[_0x361833(0x233)],_0x4440a9=_0x1087e1[_0x361833(0x322)],_0x152bd2=_0x4723e2[_0x361833(0x1b7)];_0x152bd2[_0x361833(0x3cc)]={'stringify':function(_0x15d894){var _0x4e69a3=_0x361833,_0x1b4210=_0x15d894['words'],_0x48f1b=_0x15d894[_0x4e69a3(0x19d)],_0x46596c=this[_0x4e69a3(0x18f)];_0x15d894[_0x4e69a3(0x394)]();for(var _0x3d6423=[],_0x5aa05e=0x0;_0x5aa05e<_0x48f1b;_0x5aa05e+=0x3)for(var _0x4c309a=_0x1b4210[_0x5aa05e>>>0x2]>>>0x18-_0x5aa05e%0x4*0x8&0xff,_0x2a8b37=_0x1b4210[_0x5aa05e+0x1>>>0x2]>>>0x18-(_0x5aa05e+0x1)%0x4*0x8&0xff,_0x472059=_0x1b4210[_0x5aa05e+0x2>>>0x2]>>>0x18-(_0x5aa05e+0x2)%0x4*0x8&0xff,_0x2c9775=_0x4c309a<<0x10|_0x2a8b37<<0x8|_0x472059,_0x14c78f=0x0;_0x14c78f<0x4&&_0x5aa05e+_0x14c78f*0.75<_0x48f1b;_0x14c78f++)_0x3d6423[_0x4e69a3(0x232)](_0x46596c['charAt'](_0x2c9775>>>0x6*(0x3-_0x14c78f)&0x3f));var _0x5ee179=_0x46596c['charAt'](0x40);if(_0x5ee179){for(;_0x3d6423[_0x4e69a3(0x314)]%0x4;)_0x3d6423[_0x4e69a3(0x232)](_0x5ee179);}return _0x3d6423[_0x4e69a3(0x2db)]('');},'parse':function(_0x1055fe){var _0x156025=_0x361833,_0x1ac3ac=_0x1055fe[_0x156025(0x314)],_0x5bd173=this[_0x156025(0x18f)],_0x33cdc2=this[_0x156025(0x1ff)];if(!_0x33cdc2){_0x33cdc2=this[_0x156025(0x1ff)]=[];for(var _0x4d8b36=0x0;_0x4d8b36<_0x5bd173[_0x156025(0x314)];_0x4d8b36++)_0x33cdc2[_0x5bd173[_0x156025(0x377)](_0x4d8b36)]=_0x4d8b36;}var _0x57bbbf=_0x5bd173[_0x156025(0x2a3)](0x40);if(_0x57bbbf){var _0x5dc17f=_0x1055fe['indexOf'](_0x57bbbf);_0x5dc17f!==-0x1&&(_0x1ac3ac=_0x5dc17f);}return _0x47ddcb(_0x1055fe,_0x1ac3ac,_0x33cdc2);},'_map':_0x361833(0x3ce)};function _0x47ddcb(_0x17a1b6,_0x33712c,_0x2e2e3f){var _0x356953=_0x361833;for(var _0x4d6a2e=[],_0x29cfa2=0x0,_0x5b11cf=0x0;_0x5b11cf<_0x33712c;_0x5b11cf++)if(_0x5b11cf%0x4){var _0x2c7cbc=_0x2e2e3f[_0x17a1b6['charCodeAt'](_0x5b11cf-0x1)]<<_0x5b11cf%0x4*0x2,_0x7b6610=_0x2e2e3f[_0x17a1b6['charCodeAt'](_0x5b11cf)]>>>0x6-_0x5b11cf%0x4*0x2,_0x1c87d4=_0x2c7cbc|_0x7b6610;_0x4d6a2e[_0x29cfa2>>>0x2]|=_0x1c87d4<<0x18-_0x29cfa2%0x4*0x8,_0x29cfa2++;}return _0x4440a9[_0x356953(0x39e)](_0x4d6a2e,_0x29cfa2);}}()),_0x5866d8[_0x1614b9(0x1b7)][_0x1614b9(0x3cc)];}));}(We)),We['exports'];}var Ke={'exports':{}},Ar=Ke[_0x424696(0x180)],Qt;function xr(){var _0x5eb346=_0x424696;return Qt||(Qt=0x1,function(_0x50263c,_0x1c560c){(function(_0x18efa8,_0x1262b2){var _0x3531aa=_0x181e;_0x50263c[_0x3531aa(0x180)]=_0x1262b2(ie());}(Ar,function(_0x41dc80){var _0x4e452f=_0x181e;return function(_0xa9d063){var _0x270278=_0x181e,_0x30a85f=_0x41dc80,_0x1fa186=_0x30a85f['lib'],_0x416d1c=_0x1fa186[_0x270278(0x322)],_0x52d5a5=_0x1fa186[_0x270278(0x167)],_0x92a45d=_0x30a85f[_0x270278(0x2a4)],_0x23f640=[];(function(){var _0x5c5ae4=_0x270278;for(var _0x5b1184=0x0;_0x5b1184<0x40;_0x5b1184++)_0x23f640[_0x5b1184]=_0xa9d063[_0x5c5ae4(0x159)](_0xa9d063['sin'](_0x5b1184+0x1))*0x100000000|0x0;}());var _0x140c9e=_0x92a45d['MD5']=_0x52d5a5[_0x270278(0x2c5)]({'_doReset':function(){var _0x3be154=_0x270278;this[_0x3be154(0x37e)]=new _0x416d1c['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x53e672,_0x211f00){var _0x35f7a1=_0x270278;for(var _0x32e805=0x0;_0x32e805<0x10;_0x32e805++){var _0x84c6c2=_0x211f00+_0x32e805,_0x18d5ad=_0x53e672[_0x84c6c2];_0x53e672[_0x84c6c2]=(_0x18d5ad<<0x8|_0x18d5ad>>>0x18)&0xff00ff|(_0x18d5ad<<0x18|_0x18d5ad>>>0x8)&0xff00ff00;}var _0x516247=this[_0x35f7a1(0x37e)]['words'],_0x1f55f4=_0x53e672[_0x211f00+0x0],_0x264d85=_0x53e672[_0x211f00+0x1],_0x2d81b9=_0x53e672[_0x211f00+0x2],_0x20c6a6=_0x53e672[_0x211f00+0x3],_0x299599=_0x53e672[_0x211f00+0x4],_0x414566=_0x53e672[_0x211f00+0x5],_0xc4a146=_0x53e672[_0x211f00+0x6],_0x5d7c4f=_0x53e672[_0x211f00+0x7],_0x21a28d=_0x53e672[_0x211f00+0x8],_0x26c288=_0x53e672[_0x211f00+0x9],_0x765fc9=_0x53e672[_0x211f00+0xa],_0x4c4839=_0x53e672[_0x211f00+0xb],_0xd43127=_0x53e672[_0x211f00+0xc],_0x5089fb=_0x53e672[_0x211f00+0xd],_0x35c794=_0x53e672[_0x211f00+0xe],_0x215e2d=_0x53e672[_0x211f00+0xf],_0x5b7a74=_0x516247[0x0],_0x56e32d=_0x516247[0x1],_0x23cc5c=_0x516247[0x2],_0x5a0fbb=_0x516247[0x3];_0x5b7a74=_0x511071(_0x5b7a74,_0x56e32d,_0x23cc5c,_0x5a0fbb,_0x1f55f4,0x7,_0x23f640[0x0]),_0x5a0fbb=_0x511071(_0x5a0fbb,_0x5b7a74,_0x56e32d,_0x23cc5c,_0x264d85,0xc,_0x23f640[0x1]),_0x23cc5c=_0x511071(_0x23cc5c,_0x5a0fbb,_0x5b7a74,_0x56e32d,_0x2d81b9,0x11,_0x23f640[0x2]),_0x56e32d=_0x511071(_0x56e32d,_0x23cc5c,_0x5a0fbb,_0x5b7a74,_0x20c6a6,0x16,_0x23f640[0x3]),_0x5b7a74=_0x511071(_0x5b7a74,_0x56e32d,_0x23cc5c,_0x5a0fbb,_0x299599,0x7,_0x23f640[0x4]),_0x5a0fbb=_0x511071(_0x5a0fbb,_0x5b7a74,_0x56e32d,_0x23cc5c,_0x414566,0xc,_0x23f640[0x5]),_0x23cc5c=_0x511071(_0x23cc5c,_0x5a0fbb,_0x5b7a74,_0x56e32d,_0xc4a146,0x11,_0x23f640[0x6]),_0x56e32d=_0x511071(_0x56e32d,_0x23cc5c,_0x5a0fbb,_0x5b7a74,_0x5d7c4f,0x16,_0x23f640[0x7]),_0x5b7a74=_0x511071(_0x5b7a74,_0x56e32d,_0x23cc5c,_0x5a0fbb,_0x21a28d,0x7,_0x23f640[0x8]),_0x5a0fbb=_0x511071(_0x5a0fbb,_0x5b7a74,_0x56e32d,_0x23cc5c,_0x26c288,0xc,_0x23f640[0x9]),_0x23cc5c=_0x511071(_0x23cc5c,_0x5a0fbb,_0x5b7a74,_0x56e32d,_0x765fc9,0x11,_0x23f640[0xa]),_0x56e32d=_0x511071(_0x56e32d,_0x23cc5c,_0x5a0fbb,_0x5b7a74,_0x4c4839,0x16,_0x23f640[0xb]),_0x5b7a74=_0x511071(_0x5b7a74,_0x56e32d,_0x23cc5c,_0x5a0fbb,_0xd43127,0x7,_0x23f640[0xc]),_0x5a0fbb=_0x511071(_0x5a0fbb,_0x5b7a74,_0x56e32d,_0x23cc5c,_0x5089fb,0xc,_0x23f640[0xd]),_0x23cc5c=_0x511071(_0x23cc5c,_0x5a0fbb,_0x5b7a74,_0x56e32d,_0x35c794,0x11,_0x23f640[0xe]),_0x56e32d=_0x511071(_0x56e32d,_0x23cc5c,_0x5a0fbb,_0x5b7a74,_0x215e2d,0x16,_0x23f640[0xf]),_0x5b7a74=_0x58230c(_0x5b7a74,_0x56e32d,_0x23cc5c,_0x5a0fbb,_0x264d85,0x5,_0x23f640[0x10]),_0x5a0fbb=_0x58230c(_0x5a0fbb,_0x5b7a74,_0x56e32d,_0x23cc5c,_0xc4a146,0x9,_0x23f640[0x11]),_0x23cc5c=_0x58230c(_0x23cc5c,_0x5a0fbb,_0x5b7a74,_0x56e32d,_0x4c4839,0xe,_0x23f640[0x12]),_0x56e32d=_0x58230c(_0x56e32d,_0x23cc5c,_0x5a0fbb,_0x5b7a74,_0x1f55f4,0x14,_0x23f640[0x13]),_0x5b7a74=_0x58230c(_0x5b7a74,_0x56e32d,_0x23cc5c,_0x5a0fbb,_0x414566,0x5,_0x23f640[0x14]),_0x5a0fbb=_0x58230c(_0x5a0fbb,_0x5b7a74,_0x56e32d,_0x23cc5c,_0x765fc9,0x9,_0x23f640[0x15]),_0x23cc5c=_0x58230c(_0x23cc5c,_0x5a0fbb,_0x5b7a74,_0x56e32d,_0x215e2d,0xe,_0x23f640[0x16]),_0x56e32d=_0x58230c(_0x56e32d,_0x23cc5c,_0x5a0fbb,_0x5b7a74,_0x299599,0x14,_0x23f640[0x17]),_0x5b7a74=_0x58230c(_0x5b7a74,_0x56e32d,_0x23cc5c,_0x5a0fbb,_0x26c288,0x5,_0x23f640[0x18]),_0x5a0fbb=_0x58230c(_0x5a0fbb,_0x5b7a74,_0x56e32d,_0x23cc5c,_0x35c794,0x9,_0x23f640[0x19]),_0x23cc5c=_0x58230c(_0x23cc5c,_0x5a0fbb,_0x5b7a74,_0x56e32d,_0x20c6a6,0xe,_0x23f640[0x1a]),_0x56e32d=_0x58230c(_0x56e32d,_0x23cc5c,_0x5a0fbb,_0x5b7a74,_0x21a28d,0x14,_0x23f640[0x1b]),_0x5b7a74=_0x58230c(_0x5b7a74,_0x56e32d,_0x23cc5c,_0x5a0fbb,_0x5089fb,0x5,_0x23f640[0x1c]),_0x5a0fbb=_0x58230c(_0x5a0fbb,_0x5b7a74,_0x56e32d,_0x23cc5c,_0x2d81b9,0x9,_0x23f640[0x1d]),_0x23cc5c=_0x58230c(_0x23cc5c,_0x5a0fbb,_0x5b7a74,_0x56e32d,_0x5d7c4f,0xe,_0x23f640[0x1e]),_0x56e32d=_0x58230c(_0x56e32d,_0x23cc5c,_0x5a0fbb,_0x5b7a74,_0xd43127,0x14,_0x23f640[0x1f]),_0x5b7a74=_0x4be6d0(_0x5b7a74,_0x56e32d,_0x23cc5c,_0x5a0fbb,_0x414566,0x4,_0x23f640[0x20]),_0x5a0fbb=_0x4be6d0(_0x5a0fbb,_0x5b7a74,_0x56e32d,_0x23cc5c,_0x21a28d,0xb,_0x23f640[0x21]),_0x23cc5c=_0x4be6d0(_0x23cc5c,_0x5a0fbb,_0x5b7a74,_0x56e32d,_0x4c4839,0x10,_0x23f640[0x22]),_0x56e32d=_0x4be6d0(_0x56e32d,_0x23cc5c,_0x5a0fbb,_0x5b7a74,_0x35c794,0x17,_0x23f640[0x23]),_0x5b7a74=_0x4be6d0(_0x5b7a74,_0x56e32d,_0x23cc5c,_0x5a0fbb,_0x264d85,0x4,_0x23f640[0x24]),_0x5a0fbb=_0x4be6d0(_0x5a0fbb,_0x5b7a74,_0x56e32d,_0x23cc5c,_0x299599,0xb,_0x23f640[0x25]),_0x23cc5c=_0x4be6d0(_0x23cc5c,_0x5a0fbb,_0x5b7a74,_0x56e32d,_0x5d7c4f,0x10,_0x23f640[0x26]),_0x56e32d=_0x4be6d0(_0x56e32d,_0x23cc5c,_0x5a0fbb,_0x5b7a74,_0x765fc9,0x17,_0x23f640[0x27]),_0x5b7a74=_0x4be6d0(_0x5b7a74,_0x56e32d,_0x23cc5c,_0x5a0fbb,_0x5089fb,0x4,_0x23f640[0x28]),_0x5a0fbb=_0x4be6d0(_0x5a0fbb,_0x5b7a74,_0x56e32d,_0x23cc5c,_0x1f55f4,0xb,_0x23f640[0x29]),_0x23cc5c=_0x4be6d0(_0x23cc5c,_0x5a0fbb,_0x5b7a74,_0x56e32d,_0x20c6a6,0x10,_0x23f640[0x2a]),_0x56e32d=_0x4be6d0(_0x56e32d,_0x23cc5c,_0x5a0fbb,_0x5b7a74,_0xc4a146,0x17,_0x23f640[0x2b]),_0x5b7a74=_0x4be6d0(_0x5b7a74,_0x56e32d,_0x23cc5c,_0x5a0fbb,_0x26c288,0x4,_0x23f640[0x2c]),_0x5a0fbb=_0x4be6d0(_0x5a0fbb,_0x5b7a74,_0x56e32d,_0x23cc5c,_0xd43127,0xb,_0x23f640[0x2d]),_0x23cc5c=_0x4be6d0(_0x23cc5c,_0x5a0fbb,_0x5b7a74,_0x56e32d,_0x215e2d,0x10,_0x23f640[0x2e]),_0x56e32d=_0x4be6d0(_0x56e32d,_0x23cc5c,_0x5a0fbb,_0x5b7a74,_0x2d81b9,0x17,_0x23f640[0x2f]),_0x5b7a74=_0x376a1b(_0x5b7a74,_0x56e32d,_0x23cc5c,_0x5a0fbb,_0x1f55f4,0x6,_0x23f640[0x30]),_0x5a0fbb=_0x376a1b(_0x5a0fbb,_0x5b7a74,_0x56e32d,_0x23cc5c,_0x5d7c4f,0xa,_0x23f640[0x31]),_0x23cc5c=_0x376a1b(_0x23cc5c,_0x5a0fbb,_0x5b7a74,_0x56e32d,_0x35c794,0xf,_0x23f640[0x32]),_0x56e32d=_0x376a1b(_0x56e32d,_0x23cc5c,_0x5a0fbb,_0x5b7a74,_0x414566,0x15,_0x23f640[0x33]),_0x5b7a74=_0x376a1b(_0x5b7a74,_0x56e32d,_0x23cc5c,_0x5a0fbb,_0xd43127,0x6,_0x23f640[0x34]),_0x5a0fbb=_0x376a1b(_0x5a0fbb,_0x5b7a74,_0x56e32d,_0x23cc5c,_0x20c6a6,0xa,_0x23f640[0x35]),_0x23cc5c=_0x376a1b(_0x23cc5c,_0x5a0fbb,_0x5b7a74,_0x56e32d,_0x765fc9,0xf,_0x23f640[0x36]),_0x56e32d=_0x376a1b(_0x56e32d,_0x23cc5c,_0x5a0fbb,_0x5b7a74,_0x264d85,0x15,_0x23f640[0x37]),_0x5b7a74=_0x376a1b(_0x5b7a74,_0x56e32d,_0x23cc5c,_0x5a0fbb,_0x21a28d,0x6,_0x23f640[0x38]),_0x5a0fbb=_0x376a1b(_0x5a0fbb,_0x5b7a74,_0x56e32d,_0x23cc5c,_0x215e2d,0xa,_0x23f640[0x39]),_0x23cc5c=_0x376a1b(_0x23cc5c,_0x5a0fbb,_0x5b7a74,_0x56e32d,_0xc4a146,0xf,_0x23f640[0x3a]),_0x56e32d=_0x376a1b(_0x56e32d,_0x23cc5c,_0x5a0fbb,_0x5b7a74,_0x5089fb,0x15,_0x23f640[0x3b]),_0x5b7a74=_0x376a1b(_0x5b7a74,_0x56e32d,_0x23cc5c,_0x5a0fbb,_0x299599,0x6,_0x23f640[0x3c]),_0x5a0fbb=_0x376a1b(_0x5a0fbb,_0x5b7a74,_0x56e32d,_0x23cc5c,_0x4c4839,0xa,_0x23f640[0x3d]),_0x23cc5c=_0x376a1b(_0x23cc5c,_0x5a0fbb,_0x5b7a74,_0x56e32d,_0x2d81b9,0xf,_0x23f640[0x3e]),_0x56e32d=_0x376a1b(_0x56e32d,_0x23cc5c,_0x5a0fbb,_0x5b7a74,_0x26c288,0x15,_0x23f640[0x3f]),_0x516247[0x0]=_0x516247[0x0]+_0x5b7a74|0x0,_0x516247[0x1]=_0x516247[0x1]+_0x56e32d|0x0,_0x516247[0x2]=_0x516247[0x2]+_0x23cc5c|0x0,_0x516247[0x3]=_0x516247[0x3]+_0x5a0fbb|0x0;},'_doFinalize':function(){var _0xf3d6b4=_0x270278,_0x247af5=this['_data'],_0x51f87=_0x247af5[_0xf3d6b4(0x338)],_0x16bf35=this[_0xf3d6b4(0x3f7)]*0x8,_0x1f2767=_0x247af5[_0xf3d6b4(0x19d)]*0x8;_0x51f87[_0x1f2767>>>0x5]|=0x80<<0x18-_0x1f2767%0x20;var _0x1ec22a=_0xa9d063['floor'](_0x16bf35/0x100000000),_0x226dae=_0x16bf35;_0x51f87[(_0x1f2767+0x40>>>0x9<<0x4)+0xf]=(_0x1ec22a<<0x8|_0x1ec22a>>>0x18)&0xff00ff|(_0x1ec22a<<0x18|_0x1ec22a>>>0x8)&0xff00ff00,_0x51f87[(_0x1f2767+0x40>>>0x9<<0x4)+0xe]=(_0x226dae<<0x8|_0x226dae>>>0x18)&0xff00ff|(_0x226dae<<0x18|_0x226dae>>>0x8)&0xff00ff00,_0x247af5[_0xf3d6b4(0x19d)]=(_0x51f87['length']+0x1)*0x4,this[_0xf3d6b4(0x2a6)]();for(var _0x4072ad=this['_hash'],_0x134d13=_0x4072ad['words'],_0x2c13d0=0x0;_0x2c13d0<0x4;_0x2c13d0++){var _0x22bac7=_0x134d13[_0x2c13d0];_0x134d13[_0x2c13d0]=(_0x22bac7<<0x8|_0x22bac7>>>0x18)&0xff00ff|(_0x22bac7<<0x18|_0x22bac7>>>0x8)&0xff00ff00;}return _0x4072ad;},'clone':function(){var _0x5ac835=_0x270278,_0x4848de=_0x52d5a5['clone']['call'](this);return _0x4848de[_0x5ac835(0x37e)]=this['_hash'][_0x5ac835(0x284)](),_0x4848de;}});function _0x511071(_0x48faaa,_0x37dffe,_0x39778b,_0x32c8a1,_0x361a10,_0x24426f,_0x45891c){var _0x578900=_0x48faaa+(_0x37dffe&_0x39778b|~_0x37dffe&_0x32c8a1)+_0x361a10+_0x45891c;return(_0x578900<<_0x24426f|_0x578900>>>0x20-_0x24426f)+_0x37dffe;}function _0x58230c(_0x52f05b,_0x58c155,_0x4baf4d,_0x386228,_0x2bfae5,_0x588212,_0x3c3e4c){var _0x2a50bd=_0x52f05b+(_0x58c155&_0x386228|_0x4baf4d&~_0x386228)+_0x2bfae5+_0x3c3e4c;return(_0x2a50bd<<_0x588212|_0x2a50bd>>>0x20-_0x588212)+_0x58c155;}function _0x4be6d0(_0x184ae0,_0x2b2081,_0x5caab5,_0x5a2eb0,_0x3160ed,_0x113299,_0x11bb04){var _0x40181a=_0x184ae0+(_0x2b2081^_0x5caab5^_0x5a2eb0)+_0x3160ed+_0x11bb04;return(_0x40181a<<_0x113299|_0x40181a>>>0x20-_0x113299)+_0x2b2081;}function _0x376a1b(_0x32731a,_0x31f619,_0x173acc,_0xa643aa,_0x2f1ada,_0x320c90,_0x45edfd){var _0x4adc84=_0x32731a+(_0x173acc^(_0x31f619|~_0xa643aa))+_0x2f1ada+_0x45edfd;return(_0x4adc84<<_0x320c90|_0x4adc84>>>0x20-_0x320c90)+_0x31f619;}_0x30a85f['MD5']=_0x52d5a5[_0x270278(0x2f0)](_0x140c9e),_0x30a85f[_0x270278(0x212)]=_0x52d5a5[_0x270278(0x13d)](_0x140c9e);}(Math),_0x41dc80[_0x4e452f(0x13b)];}));}(Ke)),Ke[_0x5eb346(0x180)];}var Ye={'exports':{}},qe={'exports':{}},Lr=qe['exports'],ei;function Mr(){var _0x397900=_0x424696;return ei||(ei=0x1,function(_0x12fdd2,_0x42e544){(function(_0x30d8a6,_0x491b61){var _0x25fcf0=_0x181e;_0x12fdd2[_0x25fcf0(0x180)]=_0x491b61(ie());}(Lr,function(_0x9cb893){var _0x2554bd=_0x181e;return(function(){var _0xa3253b=_0x181e,_0x5ead5c=_0x9cb893,_0xdc0a9=_0x5ead5c[_0xa3253b(0x233)],_0x32b372=_0xdc0a9[_0xa3253b(0x322)],_0x362425=_0xdc0a9[_0xa3253b(0x167)],_0x2379d5=_0x5ead5c[_0xa3253b(0x2a4)],_0x4c20fa=[],_0xe4ac01=_0x2379d5[_0xa3253b(0x31b)]=_0x362425['extend']({'_doReset':function(){var _0x121d66=_0xa3253b;this[_0x121d66(0x37e)]=new _0x32b372['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x47eca4,_0x2dbaa2){var _0x111d4c=_0xa3253b;for(var _0x31bc8c=this[_0x111d4c(0x37e)]['words'],_0x392718=_0x31bc8c[0x0],_0x185cbb=_0x31bc8c[0x1],_0x4f91fe=_0x31bc8c[0x2],_0xdd1a8a=_0x31bc8c[0x3],_0x2493e9=_0x31bc8c[0x4],_0x3f6260=0x0;_0x3f6260<0x50;_0x3f6260++){if(_0x3f6260<0x10)_0x4c20fa[_0x3f6260]=_0x47eca4[_0x2dbaa2+_0x3f6260]|0x0;else{var _0x124b9b=_0x4c20fa[_0x3f6260-0x3]^_0x4c20fa[_0x3f6260-0x8]^_0x4c20fa[_0x3f6260-0xe]^_0x4c20fa[_0x3f6260-0x10];_0x4c20fa[_0x3f6260]=_0x124b9b<<0x1|_0x124b9b>>>0x1f;}var _0x15e0c3=(_0x392718<<0x5|_0x392718>>>0x1b)+_0x2493e9+_0x4c20fa[_0x3f6260];_0x3f6260<0x14?_0x15e0c3+=(_0x185cbb&_0x4f91fe|~_0x185cbb&_0xdd1a8a)+0x5a827999:_0x3f6260<0x28?_0x15e0c3+=(_0x185cbb^_0x4f91fe^_0xdd1a8a)+0x6ed9eba1:_0x3f6260<0x3c?_0x15e0c3+=(_0x185cbb&_0x4f91fe|_0x185cbb&_0xdd1a8a|_0x4f91fe&_0xdd1a8a)-0x70e44324:_0x15e0c3+=(_0x185cbb^_0x4f91fe^_0xdd1a8a)-0x359d3e2a,_0x2493e9=_0xdd1a8a,_0xdd1a8a=_0x4f91fe,_0x4f91fe=_0x185cbb<<0x1e|_0x185cbb>>>0x2,_0x185cbb=_0x392718,_0x392718=_0x15e0c3;}_0x31bc8c[0x0]=_0x31bc8c[0x0]+_0x392718|0x0,_0x31bc8c[0x1]=_0x31bc8c[0x1]+_0x185cbb|0x0,_0x31bc8c[0x2]=_0x31bc8c[0x2]+_0x4f91fe|0x0,_0x31bc8c[0x3]=_0x31bc8c[0x3]+_0xdd1a8a|0x0,_0x31bc8c[0x4]=_0x31bc8c[0x4]+_0x2493e9|0x0;},'_doFinalize':function(){var _0x1f1078=_0xa3253b,_0x64524f=this[_0x1f1078(0x289)],_0x548d99=_0x64524f[_0x1f1078(0x338)],_0x3042e2=this[_0x1f1078(0x3f7)]*0x8,_0x45169d=_0x64524f[_0x1f1078(0x19d)]*0x8;return _0x548d99[_0x45169d>>>0x5]|=0x80<<0x18-_0x45169d%0x20,_0x548d99[(_0x45169d+0x40>>>0x9<<0x4)+0xe]=Math[_0x1f1078(0x2dd)](_0x3042e2/0x100000000),_0x548d99[(_0x45169d+0x40>>>0x9<<0x4)+0xf]=_0x3042e2,_0x64524f[_0x1f1078(0x19d)]=_0x548d99[_0x1f1078(0x314)]*0x4,this[_0x1f1078(0x2a6)](),this['_hash'];},'clone':function(){var _0x29335e=_0xa3253b,_0x2f5b3e=_0x362425[_0x29335e(0x284)][_0x29335e(0x22e)](this);return _0x2f5b3e[_0x29335e(0x37e)]=this[_0x29335e(0x37e)][_0x29335e(0x284)](),_0x2f5b3e;}});_0x5ead5c['SHA1']=_0x362425[_0xa3253b(0x2f0)](_0xe4ac01),_0x5ead5c[_0xa3253b(0x404)]=_0x362425[_0xa3253b(0x13d)](_0xe4ac01);}()),_0x9cb893[_0x2554bd(0x31b)];}));}(qe)),qe[_0x397900(0x180)];}var ze={'exports':{}},$r=ze[_0x424696(0x180)],ti;function Hr(){var _0x32e9b6=_0x424696;return ti||(ti=0x1,function(_0x473102,_0x2b57b5){(function(_0x8e2284,_0x79f601){var _0x36e630=_0x181e;_0x473102[_0x36e630(0x180)]=_0x79f601(ie());}($r,function(_0x38f7a9){(function(){var _0x249611=_0x181e,_0xea25f2=_0x38f7a9,_0x298807=_0xea25f2[_0x249611(0x233)],_0xd0608a=_0x298807[_0x249611(0x37b)],_0x220603=_0xea25f2[_0x249611(0x1b7)],_0x2a0acd=_0x220603[_0x249611(0x3d8)],_0x5b1217=_0xea25f2['algo'];_0x5b1217['HMAC']=_0xd0608a[_0x249611(0x2c5)]({'init':function(_0x4af5a0,_0x11aff6){var _0x420931=_0x249611;_0x4af5a0=this[_0x420931(0x14f)]=new _0x4af5a0['init'](),typeof _0x11aff6==_0x420931(0x22f)&&(_0x11aff6=_0x2a0acd[_0x420931(0x33e)](_0x11aff6));var _0xebd68e=_0x4af5a0['blockSize'],_0x314549=_0xebd68e*0x4;_0x11aff6[_0x420931(0x19d)]>_0x314549&&(_0x11aff6=_0x4af5a0[_0x420931(0x2cd)](_0x11aff6)),_0x11aff6[_0x420931(0x394)]();for(var _0xc7e7bc=this[_0x420931(0x3ea)]=_0x11aff6[_0x420931(0x284)](),_0x1d1fbb=this['_iKey']=_0x11aff6[_0x420931(0x284)](),_0x334f27=_0xc7e7bc[_0x420931(0x338)],_0x136c87=_0x1d1fbb[_0x420931(0x338)],_0x330b0d=0x0;_0x330b0d<_0xebd68e;_0x330b0d++)_0x334f27[_0x330b0d]^=0x5c5c5c5c,_0x136c87[_0x330b0d]^=0x36363636;_0xc7e7bc[_0x420931(0x19d)]=_0x1d1fbb['sigBytes']=_0x314549,this[_0x420931(0x351)]();},'reset':function(){var _0x28b829=_0x249611,_0x5b2aad=this['_hasher'];_0x5b2aad[_0x28b829(0x351)](),_0x5b2aad[_0x28b829(0x321)](this[_0x28b829(0x39d)]);},'update':function(_0x5a36d2){var _0x81330a=_0x249611;return this['_hasher'][_0x81330a(0x321)](_0x5a36d2),this;},'finalize':function(_0x1aa9d5){var _0x584629=_0x249611,_0x4ea358=this[_0x584629(0x14f)],_0x26e4c2=_0x4ea358[_0x584629(0x2cd)](_0x1aa9d5);_0x4ea358['reset']();var _0x54eb09=_0x4ea358[_0x584629(0x2cd)](this['_oKey'][_0x584629(0x284)]()[_0x584629(0x150)](_0x26e4c2));return _0x54eb09;}});}());}));}(ze)),ze[_0x32e9b6(0x180)];}var kr=Ye[_0x424696(0x180)],ii;function Pi(){var _0x1edcf1=_0x424696;return ii||(ii=0x1,function(_0x319c3e,_0x1a533f){(function(_0x49458f,_0x450c3a,_0x5669c6){var _0x43e9d1=_0x181e;_0x319c3e[_0x43e9d1(0x180)]=_0x450c3a(ie(),Mr(),Hr());}(kr,function(_0x2d4555){return(function(){var _0x25a129=_0x181e,_0x101d3e=_0x2d4555,_0x2a03e3=_0x101d3e[_0x25a129(0x233)],_0x334f1d=_0x2a03e3['Base'],_0x4b4f6c=_0x2a03e3[_0x25a129(0x322)],_0x17c1db=_0x101d3e[_0x25a129(0x2a4)],_0x4159de=_0x17c1db[_0x25a129(0x13b)],_0x29f91b=_0x17c1db['EvpKDF']=_0x334f1d[_0x25a129(0x2c5)]({'cfg':_0x334f1d[_0x25a129(0x2c5)]({'keySize':0x80/0x20,'hasher':_0x4159de,'iterations':0x1}),'init':function(_0x4f2fb5){var _0x5b28fa=_0x25a129;this[_0x5b28fa(0x1ef)]=this[_0x5b28fa(0x1ef)][_0x5b28fa(0x2c5)](_0x4f2fb5);},'compute':function(_0x26d40d,_0x524207){var _0x5526fb=_0x25a129;for(var _0x56f588,_0x601cbc=this[_0x5526fb(0x1ef)],_0x17bf63=_0x601cbc['hasher'][_0x5526fb(0x39e)](),_0x467624=_0x4b4f6c[_0x5526fb(0x39e)](),_0x2dbcac=_0x467624['words'],_0x58f335=_0x601cbc[_0x5526fb(0x31c)],_0x15199e=_0x601cbc[_0x5526fb(0x36b)];_0x2dbcac[_0x5526fb(0x314)]<_0x58f335;){_0x56f588&&_0x17bf63[_0x5526fb(0x321)](_0x56f588),_0x56f588=_0x17bf63[_0x5526fb(0x321)](_0x26d40d)[_0x5526fb(0x2cd)](_0x524207),_0x17bf63['reset']();for(var _0x367b10=0x1;_0x367b10<_0x15199e;_0x367b10++)_0x56f588=_0x17bf63[_0x5526fb(0x2cd)](_0x56f588),_0x17bf63[_0x5526fb(0x351)]();_0x467624[_0x5526fb(0x150)](_0x56f588);}return _0x467624[_0x5526fb(0x19d)]=_0x58f335*0x4,_0x467624;}});_0x101d3e['EvpKDF']=function(_0x326399,_0x35bf47,_0x1e5721){return _0x29f91b['create'](_0x1e5721)['compute'](_0x326399,_0x35bf47);};}()),_0x2d4555['EvpKDF'];}));}(Ye)),Ye[_0x1edcf1(0x180)];}var Je={'exports':{}},jr=Je[_0x424696(0x180)],ni;function wi(){return ni||(ni=0x1,function(_0x334c57,_0x575766){(function(_0x1fd18b,_0x171a3f,_0x4a097e){_0x334c57['exports']=_0x171a3f(ie(),Pi());}(jr,function(_0x21ac39){_0x21ac39['lib']['Cipher']||function(_0xc6ac27){var _0x592e77=_0x181e,_0x3094d5=_0x21ac39,_0x3579ca=_0x3094d5[_0x592e77(0x233)],_0x4acc52=_0x3579ca['Base'],_0x46c868=_0x3579ca[_0x592e77(0x322)],_0xbbfbf1=_0x3579ca[_0x592e77(0x327)],_0x376117=_0x3094d5[_0x592e77(0x1b7)];_0x376117[_0x592e77(0x3d8)];var _0x2051fe=_0x376117[_0x592e77(0x3cc)],_0x3ed731=_0x3094d5['algo'],_0x661384=_0x3ed731[_0x592e77(0x3b9)],_0x4b70e3=_0x3579ca['Cipher']=_0xbbfbf1['extend']({'cfg':_0x4acc52[_0x592e77(0x2c5)](),'createEncryptor':function(_0x8315bc,_0x455e07){var _0x476cbf=_0x592e77;return this[_0x476cbf(0x39e)](this[_0x476cbf(0x2d0)],_0x8315bc,_0x455e07);},'createDecryptor':function(_0x533213,_0x44ce17){var _0x1e9e0a=_0x592e77;return this['create'](this[_0x1e9e0a(0x2aa)],_0x533213,_0x44ce17);},'init':function(_0x46c9bd,_0x4cc9fa,_0x223028){var _0x1f5858=_0x592e77;this[_0x1f5858(0x1ef)]=this[_0x1f5858(0x1ef)]['extend'](_0x223028),this[_0x1f5858(0x2fe)]=_0x46c9bd,this[_0x1f5858(0x436)]=_0x4cc9fa,this['reset']();},'reset':function(){var _0x2fe227=_0x592e77;_0xbbfbf1[_0x2fe227(0x351)][_0x2fe227(0x22e)](this),this[_0x2fe227(0x1b8)]();},'process':function(_0x3f7518){var _0x33c8bb=_0x592e77;return this[_0x33c8bb(0x2f8)](_0x3f7518),this[_0x33c8bb(0x2a6)]();},'finalize':function(_0x1d3012){var _0x578aa1=_0x592e77;_0x1d3012&&this[_0x578aa1(0x2f8)](_0x1d3012);var _0x5e4a23=this[_0x578aa1(0x1a1)]();return _0x5e4a23;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x2970ce(_0x134f2f){return typeof _0x134f2f=='string'?_0x105d6e:_0x1973c6;}return function(_0x20ee9b){return{'encrypt':function(_0x30b033,_0x5437ac,_0x53aa1b){var _0x31dd9e=_0x181e;return _0x2970ce(_0x5437ac)[_0x31dd9e(0x2af)](_0x20ee9b,_0x30b033,_0x5437ac,_0x53aa1b);},'decrypt':function(_0x36ef68,_0x483ff6,_0x2a362a){return _0x2970ce(_0x483ff6)['decrypt'](_0x20ee9b,_0x36ef68,_0x483ff6,_0x2a362a);}};};}())});_0x3579ca['StreamCipher']=_0x4b70e3['extend']({'_doFinalize':function(){var _0x4257d5=_0x592e77,_0x664132=this[_0x4257d5(0x2a6)](!0x0);return _0x664132;},'blockSize':0x1});var _0xfd091=_0x3094d5[_0x592e77(0x339)]={},_0x410e5e=_0x3579ca[_0x592e77(0x384)]=_0x4acc52[_0x592e77(0x2c5)]({'createEncryptor':function(_0x17a459,_0x29b874){var _0x11a00e=_0x592e77;return this[_0x11a00e(0x18c)]['create'](_0x17a459,_0x29b874);},'createDecryptor':function(_0x450ad3,_0x556645){var _0x1799ba=_0x592e77;return this[_0x1799ba(0x19b)][_0x1799ba(0x39e)](_0x450ad3,_0x556645);},'init':function(_0x5bd305,_0x10af86){var _0x20b3df=_0x592e77;this['_cipher']=_0x5bd305,this[_0x20b3df(0x198)]=_0x10af86;}}),_0x43322e=_0xfd091[_0x592e77(0x3fe)]=(function(){var _0xe728e=_0x592e77,_0x5eb839=_0x410e5e[_0xe728e(0x2c5)]();_0x5eb839['Encryptor']=_0x5eb839[_0xe728e(0x2c5)]({'processBlock':function(_0x2b2944,_0x82d363){var _0x5d831c=_0xe728e,_0x5ad0bc=this[_0x5d831c(0x24b)],_0x2688ae=_0x5ad0bc['blockSize'];_0x50fe2[_0x5d831c(0x22e)](this,_0x2b2944,_0x82d363,_0x2688ae),_0x5ad0bc['encryptBlock'](_0x2b2944,_0x82d363),this[_0x5d831c(0x40d)]=_0x2b2944[_0x5d831c(0x2f9)](_0x82d363,_0x82d363+_0x2688ae);}}),_0x5eb839[_0xe728e(0x19b)]=_0x5eb839[_0xe728e(0x2c5)]({'processBlock':function(_0x2479c4,_0x441340){var _0x4f3b01=_0xe728e,_0x29e607=this['_cipher'],_0x361ca2=_0x29e607[_0x4f3b01(0x308)],_0x48538a=_0x2479c4[_0x4f3b01(0x2f9)](_0x441340,_0x441340+_0x361ca2);_0x29e607['decryptBlock'](_0x2479c4,_0x441340),_0x50fe2['call'](this,_0x2479c4,_0x441340,_0x361ca2),this['_prevBlock']=_0x48538a;}});function _0x50fe2(_0x333c3f,_0x2f495b,_0x2a6894){var _0x7d3b3c=_0xe728e,_0x199d86,_0x2fc10c=this[_0x7d3b3c(0x198)];_0x2fc10c?(_0x199d86=_0x2fc10c,this[_0x7d3b3c(0x198)]=_0xc6ac27):_0x199d86=this[_0x7d3b3c(0x40d)];for(var _0x3d60af=0x0;_0x3d60af<_0x2a6894;_0x3d60af++)_0x333c3f[_0x2f495b+_0x3d60af]^=_0x199d86[_0x3d60af];}return _0x5eb839;}()),_0x593488=_0x3094d5[_0x592e77(0x1c6)]={},_0x35a24d=_0x593488[_0x592e77(0x152)]={'pad':function(_0xfc976b,_0x45a530){var _0x4a3fb9=_0x592e77;for(var _0x30da1a=_0x45a530*0x4,_0x431e33=_0x30da1a-_0xfc976b[_0x4a3fb9(0x19d)]%_0x30da1a,_0x62410b=_0x431e33<<0x18|_0x431e33<<0x10|_0x431e33<<0x8|_0x431e33,_0x489c5d=[],_0x2257e4=0x0;_0x2257e4<_0x431e33;_0x2257e4+=0x4)_0x489c5d[_0x4a3fb9(0x232)](_0x62410b);var _0x2af298=_0x46c868[_0x4a3fb9(0x39e)](_0x489c5d,_0x431e33);_0xfc976b[_0x4a3fb9(0x150)](_0x2af298);},'unpad':function(_0x1bfd3c){var _0x3a3563=_0x592e77,_0x941ec2=_0x1bfd3c['words'][_0x1bfd3c[_0x3a3563(0x19d)]-0x1>>>0x2]&0xff;_0x1bfd3c[_0x3a3563(0x19d)]-=_0x941ec2;}};_0x3579ca[_0x592e77(0x265)]=_0x4b70e3['extend']({'cfg':_0x4b70e3['cfg']['extend']({'mode':_0x43322e,'padding':_0x35a24d}),'reset':function(){var _0xa5b060=_0x592e77,_0x346979;_0x4b70e3[_0xa5b060(0x351)][_0xa5b060(0x22e)](this);var _0x21e64f=this['cfg'],_0x3568d9=_0x21e64f['iv'],_0x534dc3=_0x21e64f['mode'];this[_0xa5b060(0x2fe)]==this[_0xa5b060(0x2d0)]?_0x346979=_0x534dc3[_0xa5b060(0x390)]:(_0x346979=_0x534dc3[_0xa5b060(0x1d2)],this['_minBufferSize']=0x1),this[_0xa5b060(0x3bd)]&&this[_0xa5b060(0x3bd)]['__creator']==_0x346979?this[_0xa5b060(0x3bd)][_0xa5b060(0x26e)](this,_0x3568d9&&_0x3568d9[_0xa5b060(0x338)]):(this[_0xa5b060(0x3bd)]=_0x346979[_0xa5b060(0x22e)](_0x534dc3,this,_0x3568d9&&_0x3568d9[_0xa5b060(0x338)]),this['_mode'][_0xa5b060(0x416)]=_0x346979);},'_doProcessBlock':function(_0xd50f92,_0x521be5){this['_mode']['processBlock'](_0xd50f92,_0x521be5);},'_doFinalize':function(){var _0x265ee2=_0x592e77,_0x252436,_0x1669b4=this[_0x265ee2(0x1ef)]['padding'];return this[_0x265ee2(0x2fe)]==this['_ENC_XFORM_MODE']?(_0x1669b4['pad'](this[_0x265ee2(0x289)],this['blockSize']),_0x252436=this[_0x265ee2(0x2a6)](!0x0)):(_0x252436=this['_process'](!0x0),_0x1669b4[_0x265ee2(0x1f4)](_0x252436)),_0x252436;},'blockSize':0x80/0x20});var _0x169e7e=_0x3579ca[_0x592e77(0x177)]=_0x4acc52[_0x592e77(0x2c5)]({'init':function(_0x64d16e){this['mixIn'](_0x64d16e);},'toString':function(_0xf651ef){var _0x2ebfee=_0x592e77;return(_0xf651ef||this[_0x2ebfee(0x258)])[_0x2ebfee(0x397)](this);}}),_0x52c356=_0x3094d5[_0x592e77(0x164)]={},_0x57ee1f=_0x52c356[_0x592e77(0x25b)]={'stringify':function(_0x46303d){var _0x58e667=_0x592e77,_0x16dfb8,_0x230e44=_0x46303d[_0x58e667(0x214)],_0x259467=_0x46303d[_0x58e667(0x316)];return _0x259467?_0x16dfb8=_0x46c868[_0x58e667(0x39e)]([0x53616c74,0x65645f5f])['concat'](_0x259467)[_0x58e667(0x150)](_0x230e44):_0x16dfb8=_0x230e44,_0x16dfb8[_0x58e667(0x328)](_0x2051fe);},'parse':function(_0x3a61b5){var _0x1484db=_0x592e77,_0x212985,_0x1fb6f4=_0x2051fe[_0x1484db(0x33e)](_0x3a61b5),_0x4c4b5f=_0x1fb6f4['words'];return _0x4c4b5f[0x0]==0x53616c74&&_0x4c4b5f[0x1]==0x65645f5f&&(_0x212985=_0x46c868[_0x1484db(0x39e)](_0x4c4b5f[_0x1484db(0x2f9)](0x2,0x4)),_0x4c4b5f[_0x1484db(0x2ed)](0x0,0x4),_0x1fb6f4['sigBytes']-=0x10),_0x169e7e[_0x1484db(0x39e)]({'ciphertext':_0x1fb6f4,'salt':_0x212985});}},_0x1973c6=_0x3579ca[_0x592e77(0x2fd)]=_0x4acc52[_0x592e77(0x2c5)]({'cfg':_0x4acc52[_0x592e77(0x2c5)]({'format':_0x57ee1f}),'encrypt':function(_0x4c196e,_0x1d2531,_0x58b504,_0x5c9392){var _0x36b2df=_0x592e77;_0x5c9392=this['cfg'][_0x36b2df(0x2c5)](_0x5c9392);var _0x4e66f8=_0x4c196e['createEncryptor'](_0x58b504,_0x5c9392),_0x39b73e=_0x4e66f8[_0x36b2df(0x2cd)](_0x1d2531),_0x378d27=_0x4e66f8[_0x36b2df(0x1ef)];return _0x169e7e[_0x36b2df(0x39e)]({'ciphertext':_0x39b73e,'key':_0x58b504,'iv':_0x378d27['iv'],'algorithm':_0x4c196e,'mode':_0x378d27[_0x36b2df(0x339)],'padding':_0x378d27[_0x36b2df(0x261)],'blockSize':_0x4c196e['blockSize'],'formatter':_0x5c9392[_0x36b2df(0x164)]});},'decrypt':function(_0xa0b5d9,_0x92f1df,_0x560dd7,_0x16a12e){var _0x5e3c8f=_0x592e77;_0x16a12e=this[_0x5e3c8f(0x1ef)][_0x5e3c8f(0x2c5)](_0x16a12e),_0x92f1df=this[_0x5e3c8f(0x24d)](_0x92f1df,_0x16a12e[_0x5e3c8f(0x164)]);var _0x5735fa=_0xa0b5d9['createDecryptor'](_0x560dd7,_0x16a12e)[_0x5e3c8f(0x2cd)](_0x92f1df['ciphertext']);return _0x5735fa;},'_parse':function(_0x6a8d0d,_0x28fdf3){return typeof _0x6a8d0d=='string'?_0x28fdf3['parse'](_0x6a8d0d,this):_0x6a8d0d;}}),_0x523520=_0x3094d5[_0x592e77(0x3d6)]={},_0x4f5cc8=_0x523520[_0x592e77(0x25b)]={'execute':function(_0x8e5104,_0x3a90b1,_0x5bd275,_0x12b46d,_0x1411fe){var _0x324e96=_0x592e77;if(_0x12b46d||(_0x12b46d=_0x46c868[_0x324e96(0x174)](0x40/0x8)),_0x1411fe)var _0x569936=_0x661384[_0x324e96(0x39e)]({'keySize':_0x3a90b1+_0x5bd275,'hasher':_0x1411fe})[_0x324e96(0x3ae)](_0x8e5104,_0x12b46d);else var _0x569936=_0x661384[_0x324e96(0x39e)]({'keySize':_0x3a90b1+_0x5bd275})[_0x324e96(0x3ae)](_0x8e5104,_0x12b46d);var _0x178881=_0x46c868[_0x324e96(0x39e)](_0x569936[_0x324e96(0x338)][_0x324e96(0x2f9)](_0x3a90b1),_0x5bd275*0x4);return _0x569936['sigBytes']=_0x3a90b1*0x4,_0x169e7e['create']({'key':_0x569936,'iv':_0x178881,'salt':_0x12b46d});}},_0x105d6e=_0x3579ca[_0x592e77(0x27c)]=_0x1973c6[_0x592e77(0x2c5)]({'cfg':_0x1973c6[_0x592e77(0x1ef)][_0x592e77(0x2c5)]({'kdf':_0x4f5cc8}),'encrypt':function(_0x930188,_0x18ad9f,_0x7253cf,_0x1b7030){var _0x1b44c2=_0x592e77;_0x1b7030=this[_0x1b44c2(0x1ef)]['extend'](_0x1b7030);var _0x53b709=_0x1b7030[_0x1b44c2(0x3d6)]['execute'](_0x7253cf,_0x930188[_0x1b44c2(0x31c)],_0x930188['ivSize'],_0x1b7030[_0x1b44c2(0x316)],_0x1b7030['hasher']);_0x1b7030['iv']=_0x53b709['iv'];var _0x5c4fe9=_0x1973c6[_0x1b44c2(0x2af)][_0x1b44c2(0x22e)](this,_0x930188,_0x18ad9f,_0x53b709[_0x1b44c2(0x319)],_0x1b7030);return _0x5c4fe9[_0x1b44c2(0x238)](_0x53b709),_0x5c4fe9;},'decrypt':function(_0x13b094,_0x2a9f27,_0x450504,_0x52979e){var _0x13ef7d=_0x592e77;_0x52979e=this[_0x13ef7d(0x1ef)][_0x13ef7d(0x2c5)](_0x52979e),_0x2a9f27=this[_0x13ef7d(0x24d)](_0x2a9f27,_0x52979e[_0x13ef7d(0x164)]);var _0xe7c781=_0x52979e[_0x13ef7d(0x3d6)]['execute'](_0x450504,_0x13b094[_0x13ef7d(0x31c)],_0x13b094[_0x13ef7d(0x33f)],_0x2a9f27[_0x13ef7d(0x316)],_0x52979e['hasher']);_0x52979e['iv']=_0xe7c781['iv'];var _0x5b00f4=_0x1973c6[_0x13ef7d(0x210)]['call'](this,_0x13b094,_0x2a9f27,_0xe7c781['key'],_0x52979e);return _0x5b00f4;}});}();}));}(Je)),Je['exports'];}var Br=Ge[_0x424696(0x180)],ri;function Fr(){return ri||(ri=0x1,function(_0x3c8715,_0x5b7d1d){(function(_0x17f7b5,_0x21234d,_0x3b5c42){_0x3c8715['exports']=_0x21234d(ie(),Di(),xr(),Pi(),wi());}(Br,function(_0x47484d){var _0x2f2573=_0x181e;return(function(){var _0x4014ab=_0x181e,_0x3b3655=_0x47484d,_0x4394b8=_0x3b3655[_0x4014ab(0x233)],_0x48fc77=_0x4394b8['BlockCipher'],_0xb45b16=_0x3b3655[_0x4014ab(0x2a4)],_0x51d81c=[],_0x3f49e8=[],_0xa42e67=[],_0x244dc9=[],_0x3e27d4=[],_0x4f46b3=[],_0x5df750=[],_0x494152=[],_0xf236bb=[],_0x4d59f2=[];(function(){for(var _0x4b48d3=[],_0x400bd4=0x0;_0x400bd4<0x100;_0x400bd4++)_0x400bd4<0x80?_0x4b48d3[_0x400bd4]=_0x400bd4<<0x1:_0x4b48d3[_0x400bd4]=_0x400bd4<<0x1^0x11b;for(var _0x45a3b5=0x0,_0x5d3af7=0x0,_0x400bd4=0x0;_0x400bd4<0x100;_0x400bd4++){var _0x1c3813=_0x5d3af7^_0x5d3af7<<0x1^_0x5d3af7<<0x2^_0x5d3af7<<0x3^_0x5d3af7<<0x4;_0x1c3813=_0x1c3813>>>0x8^_0x1c3813&0xff^0x63,_0x51d81c[_0x45a3b5]=_0x1c3813,_0x3f49e8[_0x1c3813]=_0x45a3b5;var _0x703503=_0x4b48d3[_0x45a3b5],_0x504859=_0x4b48d3[_0x703503],_0x535382=_0x4b48d3[_0x504859],_0xb03b5=_0x4b48d3[_0x1c3813]*0x101^_0x1c3813*0x1010100;_0xa42e67[_0x45a3b5]=_0xb03b5<<0x18|_0xb03b5>>>0x8,_0x244dc9[_0x45a3b5]=_0xb03b5<<0x10|_0xb03b5>>>0x10,_0x3e27d4[_0x45a3b5]=_0xb03b5<<0x8|_0xb03b5>>>0x18,_0x4f46b3[_0x45a3b5]=_0xb03b5;var _0xb03b5=_0x535382*0x1010101^_0x504859*0x10001^_0x703503*0x101^_0x45a3b5*0x1010100;_0x5df750[_0x1c3813]=_0xb03b5<<0x18|_0xb03b5>>>0x8,_0x494152[_0x1c3813]=_0xb03b5<<0x10|_0xb03b5>>>0x10,_0xf236bb[_0x1c3813]=_0xb03b5<<0x8|_0xb03b5>>>0x18,_0x4d59f2[_0x1c3813]=_0xb03b5,_0x45a3b5?(_0x45a3b5=_0x703503^_0x4b48d3[_0x4b48d3[_0x4b48d3[_0x535382^_0x703503]]],_0x5d3af7^=_0x4b48d3[_0x4b48d3[_0x5d3af7]]):_0x45a3b5=_0x5d3af7=0x1;}}());var _0x3c7582=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x16ce73=_0xb45b16[_0x4014ab(0x430)]=_0x48fc77['extend']({'_doReset':function(){var _0x1bd781=_0x4014ab,_0x4e3fd4;if(!(this[_0x1bd781(0x3e8)]&&this[_0x1bd781(0x2f3)]===this[_0x1bd781(0x436)])){for(var _0x4990a0=this['_keyPriorReset']=this[_0x1bd781(0x436)],_0x5cac12=_0x4990a0[_0x1bd781(0x338)],_0xba274d=_0x4990a0[_0x1bd781(0x19d)]/0x4,_0x3401f8=this[_0x1bd781(0x3e8)]=_0xba274d+0x6,_0x478d17=(_0x3401f8+0x1)*0x4,_0x3ebc5e=this['_keySchedule']=[],_0x21cff3=0x0;_0x21cff3<_0x478d17;_0x21cff3++)_0x21cff3<_0xba274d?_0x3ebc5e[_0x21cff3]=_0x5cac12[_0x21cff3]:(_0x4e3fd4=_0x3ebc5e[_0x21cff3-0x1],_0x21cff3%_0xba274d?_0xba274d>0x6&&_0x21cff3%_0xba274d==0x4&&(_0x4e3fd4=_0x51d81c[_0x4e3fd4>>>0x18]<<0x18|_0x51d81c[_0x4e3fd4>>>0x10&0xff]<<0x10|_0x51d81c[_0x4e3fd4>>>0x8&0xff]<<0x8|_0x51d81c[_0x4e3fd4&0xff]):(_0x4e3fd4=_0x4e3fd4<<0x8|_0x4e3fd4>>>0x18,_0x4e3fd4=_0x51d81c[_0x4e3fd4>>>0x18]<<0x18|_0x51d81c[_0x4e3fd4>>>0x10&0xff]<<0x10|_0x51d81c[_0x4e3fd4>>>0x8&0xff]<<0x8|_0x51d81c[_0x4e3fd4&0xff],_0x4e3fd4^=_0x3c7582[_0x21cff3/_0xba274d|0x0]<<0x18),_0x3ebc5e[_0x21cff3]=_0x3ebc5e[_0x21cff3-_0xba274d]^_0x4e3fd4);for(var _0x43d56c=this['_invKeySchedule']=[],_0x156e85=0x0;_0x156e85<_0x478d17;_0x156e85++){var _0x21cff3=_0x478d17-_0x156e85;if(_0x156e85%0x4)var _0x4e3fd4=_0x3ebc5e[_0x21cff3];else var _0x4e3fd4=_0x3ebc5e[_0x21cff3-0x4];_0x156e85<0x4||_0x21cff3<=0x4?_0x43d56c[_0x156e85]=_0x4e3fd4:_0x43d56c[_0x156e85]=_0x5df750[_0x51d81c[_0x4e3fd4>>>0x18]]^_0x494152[_0x51d81c[_0x4e3fd4>>>0x10&0xff]]^_0xf236bb[_0x51d81c[_0x4e3fd4>>>0x8&0xff]]^_0x4d59f2[_0x51d81c[_0x4e3fd4&0xff]];}}},'encryptBlock':function(_0x21f70c,_0x3841a9){this['_doCryptBlock'](_0x21f70c,_0x3841a9,this['_keySchedule'],_0xa42e67,_0x244dc9,_0x3e27d4,_0x4f46b3,_0x51d81c);},'decryptBlock':function(_0x55a25c,_0x3f037a){var _0x4972ad=_0x4014ab,_0x19df3c=_0x55a25c[_0x3f037a+0x1];_0x55a25c[_0x3f037a+0x1]=_0x55a25c[_0x3f037a+0x3],_0x55a25c[_0x3f037a+0x3]=_0x19df3c,this[_0x4972ad(0x1b9)](_0x55a25c,_0x3f037a,this[_0x4972ad(0x2ba)],_0x5df750,_0x494152,_0xf236bb,_0x4d59f2,_0x3f49e8);var _0x19df3c=_0x55a25c[_0x3f037a+0x1];_0x55a25c[_0x3f037a+0x1]=_0x55a25c[_0x3f037a+0x3],_0x55a25c[_0x3f037a+0x3]=_0x19df3c;},'_doCryptBlock':function(_0x147b78,_0x25d28b,_0x4ef176,_0x552fff,_0xb8fac,_0x5913e1,_0x4495e8,_0x987ca8){var _0x553086=_0x4014ab;for(var _0x4af72f=this[_0x553086(0x3e8)],_0x24e94f=_0x147b78[_0x25d28b]^_0x4ef176[0x0],_0x4406f7=_0x147b78[_0x25d28b+0x1]^_0x4ef176[0x1],_0x26e110=_0x147b78[_0x25d28b+0x2]^_0x4ef176[0x2],_0x42d878=_0x147b78[_0x25d28b+0x3]^_0x4ef176[0x3],_0x31663e=0x4,_0x4ff9c4=0x1;_0x4ff9c4<_0x4af72f;_0x4ff9c4++){var _0x607bc2=_0x552fff[_0x24e94f>>>0x18]^_0xb8fac[_0x4406f7>>>0x10&0xff]^_0x5913e1[_0x26e110>>>0x8&0xff]^_0x4495e8[_0x42d878&0xff]^_0x4ef176[_0x31663e++],_0x5cb1a0=_0x552fff[_0x4406f7>>>0x18]^_0xb8fac[_0x26e110>>>0x10&0xff]^_0x5913e1[_0x42d878>>>0x8&0xff]^_0x4495e8[_0x24e94f&0xff]^_0x4ef176[_0x31663e++],_0x3ca283=_0x552fff[_0x26e110>>>0x18]^_0xb8fac[_0x42d878>>>0x10&0xff]^_0x5913e1[_0x24e94f>>>0x8&0xff]^_0x4495e8[_0x4406f7&0xff]^_0x4ef176[_0x31663e++],_0x13a25c=_0x552fff[_0x42d878>>>0x18]^_0xb8fac[_0x24e94f>>>0x10&0xff]^_0x5913e1[_0x4406f7>>>0x8&0xff]^_0x4495e8[_0x26e110&0xff]^_0x4ef176[_0x31663e++];_0x24e94f=_0x607bc2,_0x4406f7=_0x5cb1a0,_0x26e110=_0x3ca283,_0x42d878=_0x13a25c;}var _0x607bc2=(_0x987ca8[_0x24e94f>>>0x18]<<0x18|_0x987ca8[_0x4406f7>>>0x10&0xff]<<0x10|_0x987ca8[_0x26e110>>>0x8&0xff]<<0x8|_0x987ca8[_0x42d878&0xff])^_0x4ef176[_0x31663e++],_0x5cb1a0=(_0x987ca8[_0x4406f7>>>0x18]<<0x18|_0x987ca8[_0x26e110>>>0x10&0xff]<<0x10|_0x987ca8[_0x42d878>>>0x8&0xff]<<0x8|_0x987ca8[_0x24e94f&0xff])^_0x4ef176[_0x31663e++],_0x3ca283=(_0x987ca8[_0x26e110>>>0x18]<<0x18|_0x987ca8[_0x42d878>>>0x10&0xff]<<0x10|_0x987ca8[_0x24e94f>>>0x8&0xff]<<0x8|_0x987ca8[_0x4406f7&0xff])^_0x4ef176[_0x31663e++],_0x13a25c=(_0x987ca8[_0x42d878>>>0x18]<<0x18|_0x987ca8[_0x24e94f>>>0x10&0xff]<<0x10|_0x987ca8[_0x4406f7>>>0x8&0xff]<<0x8|_0x987ca8[_0x26e110&0xff])^_0x4ef176[_0x31663e++];_0x147b78[_0x25d28b]=_0x607bc2,_0x147b78[_0x25d28b+0x1]=_0x5cb1a0,_0x147b78[_0x25d28b+0x2]=_0x3ca283,_0x147b78[_0x25d28b+0x3]=_0x13a25c;},'keySize':0x100/0x20});_0x3b3655[_0x4014ab(0x430)]=_0x48fc77[_0x4014ab(0x2f0)](_0x16ce73);}()),_0x47484d[_0x2f2573(0x430)];}));}(Ge)),Ge['exports'];}var Gr=Fr();const Vr=ke(Gr);var Wr=Di();const si=ke(Wr);var Xe={'exports':{}},Kr=Xe['exports'],oi;function Yr(){var _0x32628c=_0x424696;return oi||(oi=0x1,function(_0x373001,_0x3186ce){(function(_0xbf4ba1,_0x133569){_0x373001['exports']=_0x133569(ie());}(Kr,function(_0x4c4c19){var _0x166620=_0x181e;return _0x4c4c19[_0x166620(0x1b7)]['Utf8'];}));}(Xe)),Xe[_0x32628c(0x180)];}var qr=Yr();const zr=ke(qr);var Ze={'exports':{}},Jr=Ze[_0x424696(0x180)],ai;function Xr(){var _0x365931=_0x424696;return ai||(ai=0x1,function(_0x443c7b,_0x4309c8){(function(_0x5adf6f,_0x3173ff){var _0x368faf=_0x181e;_0x443c7b[_0x368faf(0x180)]=_0x3173ff(ie());}(Jr,function(_0x16e1e1){var _0x2b82db=_0x181e;return(function(){var _0x33bb45=_0x181e;if(typeof ArrayBuffer==_0x33bb45(0x3b4)){var _0x2d1c4c=_0x16e1e1,_0x3aab20=_0x2d1c4c['lib'],_0x567925=_0x3aab20['WordArray'],_0x2bbedd=_0x567925['init'],_0x24e9b8=_0x567925[_0x33bb45(0x26e)]=function(_0x5b6e1f){var _0x24cf97=_0x33bb45;if(_0x5b6e1f instanceof ArrayBuffer&&(_0x5b6e1f=new Uint8Array(_0x5b6e1f)),(_0x5b6e1f instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x5b6e1f instanceof Uint8ClampedArray||_0x5b6e1f instanceof Int16Array||_0x5b6e1f instanceof Uint16Array||_0x5b6e1f instanceof Int32Array||_0x5b6e1f instanceof Uint32Array||_0x5b6e1f instanceof Float32Array||_0x5b6e1f instanceof Float64Array)&&(_0x5b6e1f=new Uint8Array(_0x5b6e1f['buffer'],_0x5b6e1f[_0x24cf97(0x300)],_0x5b6e1f['byteLength'])),_0x5b6e1f instanceof Uint8Array){for(var _0x5255d2=_0x5b6e1f[_0x24cf97(0x27b)],_0x2a1ad5=[],_0x5bf0fa=0x0;_0x5bf0fa<_0x5255d2;_0x5bf0fa++)_0x2a1ad5[_0x5bf0fa>>>0x2]|=_0x5b6e1f[_0x5bf0fa]<<0x18-_0x5bf0fa%0x4*0x8;_0x2bbedd[_0x24cf97(0x22e)](this,_0x2a1ad5,_0x5255d2);}else _0x2bbedd[_0x24cf97(0x1df)](this,arguments);};_0x24e9b8[_0x33bb45(0x341)]=_0x567925;}}()),_0x16e1e1[_0x2b82db(0x233)][_0x2b82db(0x322)];}));}(Ze)),Ze[_0x365931(0x180)];}var Zr=Xr();const Qr=ke(Zr);var Qe={'exports':{}},es=Qe['exports'],ci;function ts(){return ci||(ci=0x1,function(_0x2adc25,_0x5b3206){(function(_0x2c56fd,_0x19c229,_0x46a3b4){var _0x35a377=_0x181e;_0x2adc25[_0x35a377(0x180)]=_0x19c229(ie(),wi());}(es,function(_0x5a5510){var _0x19e5e8=_0x181e;return _0x5a5510[_0x19e5e8(0x1c6)][_0x19e5e8(0x401)]={'pad':function(){},'unpad':function(){}},_0x5a5510['pad'][_0x19e5e8(0x401)];}));}(Qe)),Qe['exports'];}var is=ts();const ns=ke(is);function rs(_0x42e0cc,_0x431d17){var _0x4de375=_0x424696;const _0xadf2c2=_0x431d17-_0x42e0cc[_0x4de375(0x314)]%_0x431d17,_0x59a381=String[_0x4de375(0x3b8)](_0xadf2c2)[_0x4de375(0x2fa)](_0xadf2c2);return _0x42e0cc+_0x59a381;}function ss(_0x531cdf,_0x4f7637){var _0x44c782=_0x424696;const _0x50d7e8=Qr['random'](0x10),_0x39d6a5=rs(_0x531cdf,0x10),_0x29b7c7=Vr[_0x44c782(0x2af)](zr[_0x44c782(0x33e)](_0x39d6a5),si[_0x44c782(0x33e)](_0x4f7637),{'iv':_0x50d7e8,'padding':ns});return _0x50d7e8['concat'](_0x29b7c7[_0x44c782(0x214)])[_0x44c782(0x328)](si);}function os(){var _0x2cc69b=_0x424696;const _0x1e4353=_0x129d6d()[_0x2cc69b(0x3a3)];if(_0x1e4353){const _0x42ceae={'time':Math[_0x2cc69b(0x2dd)](Date[_0x2cc69b(0x3e5)]()/0x3e8),'domain':location['hostname']};return ss(JSON['stringify'](_0x42ceae),_0x1e4353);}}var as=Object['defineProperty'],cs=Object[_0x424696(0x275)],hs=(_0x2f8e4e,_0x44d359,_0x487b52,_0xaac2cd)=>{var _0x5300b4=_0x424696;for(var _0x394542=_0xaac2cd>0x1?void 0x0:_0xaac2cd?cs(_0x44d359,_0x487b52):_0x44d359,_0x1468fc=_0x2f8e4e[_0x5300b4(0x314)]-0x1,_0x24583e;_0x1468fc>=0x0;_0x1468fc--)(_0x24583e=_0x2f8e4e[_0x1468fc])&&(_0x394542=(_0xaac2cd?_0x24583e(_0x44d359,_0x487b52,_0x394542):_0x24583e(_0x394542))||_0x394542);return _0xaac2cd&&_0x394542&&as(_0x44d359,_0x487b52,_0x394542),_0x394542;},_s=(_0x4a5eba,_0x12c1b4)=>(_0x3728a,_0x1ba501)=>_0x12c1b4(_0x3728a,_0x1ba501,_0x4a5eba);let ot=class{constructor(_0x28929c){var _0x2c5c18=_0x424696;this['_httpService']=_0x28929c,this[_0x2c5c18(0x2c9)]();}['_initRequestHeader'](){var _0x38100a=_0x424696;this[_0x38100a(0x3e2)][_0x38100a(0x254)]({'interceptor':(_0x5beb7c,_0xefccf7)=>{var _0x224fc6=_0x38100a;const _0x24cc5d=_0x5beb7c[_0x224fc6(0x29d)],_0x3d1c38=os();return _0x3d1c38&&_0x24cc5d[_0x224fc6(0x31f)](_0x224fc6(0x3c7),_0x3d1c38),_0xefccf7(_0x5beb7c);}});}};ot=hs([_s(0x0,_0x186d60(_0x16a7d6))],ot);var ls=Object[_0x424696(0x311)],us=Object[_0x424696(0x275)],ds=(_0x14f5f0,_0x3f318d,_0x3adf40,_0x4e4c18)=>{var _0xd5cf82=_0x424696;for(var _0x553264=_0x4e4c18>0x1?void 0x0:_0x4e4c18?us(_0x3f318d,_0x3adf40):_0x3f318d,_0x2f3eeb=_0x14f5f0[_0xd5cf82(0x314)]-0x1,_0x234dc4;_0x2f3eeb>=0x0;_0x2f3eeb--)(_0x234dc4=_0x14f5f0[_0x2f3eeb])&&(_0x553264=(_0x4e4c18?_0x234dc4(_0x3f318d,_0x3adf40,_0x553264):_0x234dc4(_0x553264))||_0x553264);return _0x4e4c18&&_0x553264&&ls(_0x3f318d,_0x3adf40,_0x553264),_0x553264;},mt=(_0x1fea43,_0x35e121)=>(_0x3eabab,_0x4265d0)=>_0x35e121(_0x3eabab,_0x4265d0,_0x1fea43);let Rt=class extends _0x38323d{constructor(_0x270ce3,_0x59ddba,_0x2cf217){var _0x551269=_0x424696;super(),N(this,_0x551269(0x204),new _0x43ba24(null)),N(this,_0x551269(0x23e),this[_0x551269(0x204)][_0x551269(0x2a5)]()),(this[_0x551269(0x389)]=_0x270ce3,this['_snapshotService']=_0x59ddba,this['_localCacheService']=_0x2cf217);}async[_0x424696(0x374)](_0x56eacf,_0x4600f1,_0x422c86){var _0x208f0b=_0x424696;this[_0x208f0b(0x204)][_0x208f0b(0x3f2)]({'unitId':_0x56eacf,'type':_0x4600f1,'subUnitId':_0x422c86});let _0xe6b5da=null;switch(_0x4600f1){case Q[_0x208f0b(0x28c)]:{_0xe6b5da=await this[_0x208f0b(0x3bc)](_0x56eacf);break;}case Q[_0x208f0b(0x240)]:{_0xe6b5da=await this[_0x208f0b(0x28a)](_0x56eacf);break;}default:{this['_logService'][_0x208f0b(0x20f)]('[DataLoaderService]',_0x208f0b(0x17b));break;}}return _0xe6b5da;}async[_0x424696(0x3bc)](_0x1780bd){var _0x2b8edb=_0x424696,_0x44175a;let _0x58ced1=0x0;const _0x55d61c=await((_0x44175a=this[_0x2b8edb(0x354)])==null?void 0x0:_0x44175a[_0x2b8edb(0x3ad)](_0x1780bd));return _0x55d61c&&(_0x55d61c[_0x2b8edb(0x278)]||_0x55d61c[_0x2b8edb(0x230)][_0x2b8edb(0x314)]!==0x0)&&(_0x58ced1=_0x55d61c['rev']),_0x58ced1===0x0&&this[_0x2b8edb(0x389)][_0x2b8edb(0x169)](_0x2b8edb(0x287),_0x2b8edb(0x2d6)),this['_snapshotService'][_0x2b8edb(0x2bb)](_0x1780bd,_0x58ced1);}async[_0x424696(0x28a)](_0x3f4f95){var _0x3f670b=_0x424696,_0x3b7a2e;let _0x4e8444=0x0;const _0x1c8494=await((_0x3b7a2e=this[_0x3f670b(0x354)])==null?void 0x0:_0x3b7a2e['loadOfflineData'](_0x3f4f95));return _0x1c8494&&(_0x1c8494[_0x3f670b(0x278)]||_0x1c8494[_0x3f670b(0x230)][_0x3f670b(0x314)]!==0x0)&&(_0x4e8444=_0x1c8494[_0x3f670b(0x387)]),_0x4e8444===0x0&&this[_0x3f670b(0x389)][_0x3f670b(0x169)](_0x3f670b(0x287),_0x3f670b(0x2d6)),this[_0x3f670b(0x2fb)][_0x3f670b(0x13c)](_0x3f4f95,_0x4e8444);}};Rt=ds([mt(0x0,_0x4d59d7),mt(0x1,_0x186d60(_0x1e2019)),mt(0x2,_0x39d318(J))],Rt);var fs=Object['defineProperty'],vs=Object[_0x424696(0x275)],ps=(_0x52793b,_0x409379,_0xd13be9,_0x1367ef)=>{var _0x2fb2e4=_0x424696;for(var _0x2c5d0b=_0x1367ef>0x1?void 0x0:_0x1367ef?vs(_0x409379,_0xd13be9):_0x409379,_0x4609da=_0x52793b[_0x2fb2e4(0x314)]-0x1,_0x2bb7c0;_0x4609da>=0x0;_0x4609da--)(_0x2bb7c0=_0x52793b[_0x4609da])&&(_0x2c5d0b=(_0x1367ef?_0x2bb7c0(_0x409379,_0xd13be9,_0x2c5d0b):_0x2bb7c0(_0x2c5d0b))||_0x2c5d0b);return _0x1367ef&&_0x2c5d0b&&fs(_0x409379,_0xd13be9,_0x2c5d0b),_0x2c5d0b;},gt=(_0x587d49,_0x177162)=>(_0x21fd40,_0x2a0a1a)=>_0x177162(_0x21fd40,_0x2a0a1a,_0x587d49);const ms=[_0x424696(0x2ca),_0x424696(0x255),_0x424696(0x42e),_0x424696(0x34e),_0x424696(0x2e2)],gs=0x5*0x400*0x400,Ss=_0x424696(0x419),Es=_0x424696(0x431),Is=_0x424696(0x27d),Ts=_0x424696(0x2b9);let Ot=class{constructor(_0x1234fc,_0x3b0480,_0x400dff){var _0xaca3=_0x424696;N(this,_0xaca3(0x2f7),0x0),N(this,_0xaca3(0x398),new _0xdedd08()),N(this,_0xaca3(0x34c),this[_0xaca3(0x398)]),N(this,_0xaca3(0x1c1),new Map()),(this['_httpService']=_0x1234fc,this[_0xaca3(0x15e)]=_0x3b0480,this[_0xaca3(0x270)]=_0x400dff);}[_0x424696(0x32d)](_0x1e3d74){var _0xa1257f=_0x424696;this[_0xa1257f(0x2f7)]=_0x1e3d74,this[_0xa1257f(0x398)][_0xa1257f(0x3f2)](_0x1e3d74);}['getImageSourceCache'](_0xfb35d7,_0xa1de18){var _0x55a2b7=_0x424696;if(_0xa1de18===_0xfa6755[_0x55a2b7(0x13f)]){const _0x335219=new Image();return _0x335219[_0x55a2b7(0x3e1)]=_0xfb35d7,_0x335219;}return this[_0x55a2b7(0x1c1)][_0x55a2b7(0x396)](_0xfb35d7);}['addImageSourceCache'](_0x3e998b,_0x20f16e,_0x18bfa2){var _0x1f088a=_0x424696;_0x20f16e===_0xfa6755[_0x1f088a(0x13f)]||_0x18bfa2==null||this[_0x1f088a(0x1c1)][_0x1f088a(0x31f)](_0x3e998b,_0x18bfa2);}async[_0x424696(0x32f)](_0x3d82e7){var _0x189cce=_0x424696;try{const _0x37bc78=this[_0x189cce(0x243)](this[_0x189cce(0x1d0)](),''+_0x3d82e7),_0x1e5a21=(await this[_0x189cce(0x3e2)][_0x189cce(0x396)](_0x37bc78))['body'];if(_0x1e5a21[_0x189cce(0x20f)]&&_0x1e5a21[_0x189cce(0x20f)]['code']===Si['OK']){const _0x4d55dd=new URL(_0x1e5a21[_0x189cce(0x3a5)],this[_0x189cce(0x1fa)]())[_0x189cce(0x328)]();return Promise[_0x189cce(0x1f6)](_0x4d55dd);}return Promise[_0x189cce(0x26c)](_0x1e5a21[_0x189cce(0x20f)]);}catch(_0x452c9e){return Promise[_0x189cce(0x26c)](_0x452c9e);}}async[_0x424696(0x3d1)](_0x169802){var _0x65d196=_0x424696;let _0x3bab2a='';if(!ms['includes'](_0x169802[_0x65d196(0x1d7)]))return this[_0x65d196(0x346)](),Promise[_0x65d196(0x26c)](new Error(_0x4734a7['ERROR_IMAGE_TYPE']));if(_0x169802[_0x65d196(0x23a)]>gs)return this[_0x65d196(0x346)](),Promise['reject'](new Error(_0x4734a7[_0x65d196(0x37d)]));try{const _0x340103=new FormData();_0x340103[_0x65d196(0x3ac)]('file',_0x169802);const _0x529f80=this[_0x65d196(0x270)]['getFocusedUnit'](),_0xe75332=_0x529f80==null?void 0x0:_0x529f80[_0x65d196(0x17c)]();if(!_0xe75332)throw new Error('unitId\x20is\x20not\x20found');const _0x591f85=this[_0x65d196(0x348)]()+_0x65d196(0x242)+_0x169802[_0x65d196(0x23a)][_0x65d196(0x328)]()+_0x65d196(0x304)+Ei[_0x65d196(0x222)]+_0x65d196(0x241)+encodeURIComponent(_0xe75332),_0x1b6fc4=await(await fetch(_0x591f85,{'method':_0x65d196(0x2a7),'body':_0x340103}))[_0x65d196(0x364)]();if(typeof _0x1b6fc4[_0x65d196(0x3e4)]!=_0x65d196(0x22f))return this[_0x65d196(0x346)](),Promise[_0x65d196(0x26c)](new Error(_0x4734a7['ERROR_IMAGE']));_0x3bab2a=_0x1b6fc4[_0x65d196(0x3e4)];}catch{return this[_0x65d196(0x346)](),Promise[_0x65d196(0x26c)](new Error(_0x4734a7['ERROR_IMAGE']));}return new Promise((_0x1dc3c4,_0xb21ac6)=>{var _0x68bd3f=_0x65d196;const _0x2862d9=new FileReader();_0x2862d9[_0x68bd3f(0x298)](_0x169802),_0x2862d9[_0x68bd3f(0x196)]=_0x5a72c0=>{var _0x1c402d=_0x68bd3f,_0x44b171;const _0x47a76f=(_0x44b171=_0x5a72c0[_0x1c402d(0x1bc)])==null?void 0x0:_0x44b171['result'];if(_0x47a76f==null){this[_0x1c402d(0x346)](),_0xb21ac6(new Error(_0x4734a7[_0x1c402d(0x336)]));return;}const _0x26bb79=_0x12cf24[_0x1c402d(0x34f)](0x6);_0x1dc3c4({'imageId':_0x26bb79,'imageSourceType':_0xfa6755[_0x1c402d(0x303)],'source':_0x3bab2a,'base64Cache':_0x47a76f,'status':_0x4734a7['SUCCUSS']}),this[_0x1c402d(0x346)]();};});}[_0x424696(0x348)](){var _0x1a27fd=_0x424696,_0x4d2a22,_0x5be651;const _0x445410=this[_0x1a27fd(0x15e)][_0x1a27fd(0x2c0)](Ss),_0xdde307=this['_configService'][_0x1a27fd(0x2c0)](q);return(_0x5be651=(_0x4d2a22=_0xdde307==null?void 0x0:_0xdde307['uploadFileServerUrl'])!=null?_0x4d2a22:_0x445410)!=null?_0x5be651:Es;}[_0x424696(0x1d0)](){var _0x3d05d0=_0x424696,_0x4ca902,_0x4fbee5;const _0x1446a5=this[_0x3d05d0(0x15e)][_0x3d05d0(0x2c0)](Is),_0x218447=this[_0x3d05d0(0x15e)]['getConfig'](q);return(_0x4fbee5=(_0x4ca902=_0x218447==null?void 0x0:_0x218447[_0x3d05d0(0x302)])!=null?_0x4ca902:_0x1446a5)!=null?_0x4fbee5:Ts;}[_0x424696(0x1fa)](){var _0x3c28a5=_0x424696,_0x270335;const _0x3beb10=this[_0x3c28a5(0x15e)]['getConfig'](q);return(_0x270335=_0x3beb10==null?void 0x0:_0x3beb10[_0x3c28a5(0x3aa)])!=null?_0x270335:location[_0x3c28a5(0x332)];}[_0x424696(0x243)](_0x27c369,_0x4ec99f){var _0x5957aa=_0x424696;return _0x27c369[_0x5957aa(0x239)](_0x5957aa(0x337),_0x4ec99f);}[_0x424696(0x346)](){var _0x419aa1=_0x424696;this['_waitCount']-=0x1,this[_0x419aa1(0x398)][_0x419aa1(0x3f2)](this['_waitCount']);}};Ot=ps([gt(0x0,_0x186d60(_0x16a7d6)),gt(0x1,_0x257d37),gt(0x2,_0x186d60(_0x5238c4))],Ot);var Cs=Object['defineProperty'],bs=Object['getOwnPropertyDescriptor'],Rs=(_0x35c51a,_0x3a1d58,_0x20dd88,_0x2d0eb6)=>{var _0x465557=_0x424696;for(var _0x5a22e9=_0x2d0eb6>0x1?void 0x0:_0x2d0eb6?bs(_0x3a1d58,_0x20dd88):_0x3a1d58,_0xcb8fcf=_0x35c51a[_0x465557(0x314)]-0x1,_0x5da8ce;_0xcb8fcf>=0x0;_0xcb8fcf--)(_0x5da8ce=_0x35c51a[_0xcb8fcf])&&(_0x5a22e9=(_0x2d0eb6?_0x5da8ce(_0x3a1d58,_0x20dd88,_0x5a22e9):_0x5da8ce(_0x5a22e9))||_0x5a22e9);return _0x2d0eb6&&_0x5a22e9&&Cs(_0x3a1d58,_0x20dd88,_0x5a22e9),_0x5a22e9;},hi=(_0x19ddbf,_0x32788e)=>(_0x10561d,_0x1c4b32)=>_0x32788e(_0x10561d,_0x1c4b32,_0x19ddbf);const Os=_0x424696(0x2bd);let yt=class{constructor(_0x107093,_0x54189d){this['_configService']=_0x107093,this['_HTTPService']=_0x54189d;}['_getAPIPrefixPath'](){var _0x9ee017=_0x424696,_0x33639c,_0x29b7e3;const _0x506e21=this[_0x9ee017(0x15e)][_0x9ee017(0x2c0)](Ni),_0x59a0c3=this['_configService']['getConfig'](q);return(_0x29b7e3=(_0x33639c=_0x59a0c3==null?void 0x0:_0x59a0c3[_0x9ee017(0x3d5)])!=null?_0x33639c:_0x506e21)!=null?_0x29b7e3:Os;}async[_0x424696(0x1d9)](_0xd3a6){var _0x9f23ac=_0x424696;const _0x2849ff=this[_0x9f23ac(0x405)]()+_0x9f23ac(0x40e);return{'list':[{'title':'People','mentions':(await this[_0x9f23ac(0x16f)]['get'](_0x2849ff,{'params':{'objectID':_0xd3a6[_0x9f23ac(0x3e3)],'unitID':_0xd3a6[_0x9f23ac(0x3e3)]}}))[_0x9f23ac(0x21e)]['collaborators'][_0x9f23ac(0x3c5)](_0x2cee28=>({'objectId':_0x2cee28['id'],'name':_0x2cee28[_0x9f23ac(0x3da)][_0x9f23ac(0x15a)],'metadata':{'icon':_0x2cee28['subject'][_0x9f23ac(0x248)]},'label':_0x2cee28[_0x9f23ac(0x3da)][_0x9f23ac(0x15a)],'objectType':_0x397eac[_0x9f23ac(0x1b0)]})),'metadata':{},'type':_0x397eac[_0x9f23ac(0x1b0)]}]};}};yt=Rs([hi(0x0,_0x186d60(_0x257d37)),hi(0x1,_0x186d60(_0x16a7d6))],yt);var ys=Object['defineProperty'],Ns=Object[_0x424696(0x275)],Ds=(_0x4f136d,_0x57e998,_0x5190c0,_0x366f33)=>{var _0xda253b=_0x424696;for(var _0x562070=_0x366f33>0x1?void 0x0:_0x366f33?Ns(_0x57e998,_0x5190c0):_0x57e998,_0x5f13bc=_0x4f136d[_0xda253b(0x314)]-0x1,_0x48e1e1;_0x5f13bc>=0x0;_0x5f13bc--)(_0x48e1e1=_0x4f136d[_0x5f13bc])&&(_0x562070=(_0x366f33?_0x48e1e1(_0x57e998,_0x5190c0,_0x562070):_0x48e1e1(_0x562070))||_0x562070);return _0x366f33&&_0x562070&&ys(_0x57e998,_0x5190c0,_0x562070),_0x562070;},Ue=(_0x55aede,_0x22c1e1)=>(_0x504440,_0x2833dc)=>_0x22c1e1(_0x504440,_0x2833dc,_0x55aede);let at=class extends _0x38323d{constructor(_0x5da5c8,_0x18f077,_0xc0d331,_0x58e85c,_0x285daa){var _0x2e150a=_0x424696;super(),this['_injector']=_0x5da5c8,this['_univerInstanceService']=_0x18f077,this[_0x2e150a(0x24a)]=_0xc0d331,this['_collaborationSessionService']=_0x58e85c,this['_collaborationUIEventService']=_0x285daa,this[_0x2e150a(0x29b)](),this['_initCloseConn']();}['_initCloseConn'](){var _0x514a04=_0x424696;const _0x2c629d=async _0x3c3153=>{var _0xd8399a=_0x181e;(await this[_0xd8399a(0x1f3)][_0xd8399a(0x1f1)](_0x3c3153))[_0xd8399a(0x224)][_0xd8399a(0x1fb)](_0x2a5648(_0x163033=>_0x163033[_0xd8399a(0x30c)]===_0x14e6e4['SHOULD_CLOSE_CONN']),_0x2c6c66(this['dispose$']))[_0xd8399a(0x3cd)](_0x25cc4a=>{var _0x4a8077=_0xd8399a;const _0x1de338=_0x25cc4a,{reason:_0x502278}=_0x1de338[_0x4a8077(0x2b4)];this['_collaborationUIEventService'][_0x4a8077(0x342)]({'id':se[_0x4a8077(0x23c)],'data':_0x502278}),this[_0x4a8077(0x24a)]['updatePermissionPoint'](new _0x508a1c(_0x3c3153)['id'],!0x1),this[_0x4a8077(0x1f3)]['closeSession'](_0x3c3153);});};_0x4a6b1e(this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x6bba17[_0x514a04(0x28c)]),this[_0x514a04(0x270)][_0x514a04(0x36d)](_0x6bba17['UNIVER_DOC']))[_0x514a04(0x1fb)](_0x496697(_0x115338=>_0x115338[_0x514a04(0x17c)]()),_0x2a5648(_0x139101=>!_0x3f120e(_0x139101)),_0x2c6c66(this[_0x514a04(0x1ad)]))[_0x514a04(0x3cd)](_0x1947cb=>{_0x2c629d(_0x1947cb);});}[_0x424696(0x29b)](){var _0x3d42f3=_0x424696;const _0x25ebbb=async _0xd82dec=>{var _0x1d5baf=_0x181e;const _0x1029b6=await this[_0x1d5baf(0x1f3)][_0x1d5baf(0x1f1)](_0xd82dec),_0xd19f0b=this['_injector'][_0x1d5baf(0x396)](_0x5e55d9);_0x1029b6[_0x1d5baf(0x224)][_0x1d5baf(0x1fb)](_0x2a5648(_0x49642a=>_0x49642a[_0x1d5baf(0x30c)]===_0x14e6e4['UPDATE_PERMISSION_OBJ']),_0x2c6c66(this[_0x1d5baf(0x1ad)]))[_0x1d5baf(0x3cd)](_0x4b528f=>{var _0x1e4cea=_0x1d5baf;const _0x568162=_0x4b528f,{objectId:_0x26fb8b}=_0x568162[_0x1e4cea(0x2b4)];_0x26fb8b===_0xd82dec?_0xd19f0b[_0x1e4cea(0x35a)](_0xd82dec):_0xd19f0b[_0x1e4cea(0x28f)](_0xd82dec,_0x26fb8b);});};_0x4a6b1e(this[_0x3d42f3(0x270)][_0x3d42f3(0x36d)](_0x6bba17['UNIVER_SHEET']))[_0x3d42f3(0x1fb)](_0x496697(_0x52c55a=>_0x52c55a[_0x3d42f3(0x17c)]()),_0x2a5648(_0xa2b640=>!_0x3f120e(_0xa2b640)),_0x2c6c66(this[_0x3d42f3(0x1ad)]))[_0x3d42f3(0x3cd)](_0x514e8a=>{_0x25ebbb(_0x514e8a);});}};at=Ds([Ue(0x0,_0x186d60(_0x2d62be)),Ue(0x1,_0x5238c4),Ue(0x2,_0xe332cb),Ue(0x3,_0x186d60(Le)),Ue(0x4,_0x186d60(pe))],at);var Ps=Object[_0x424696(0x311)],ws=Object[_0x424696(0x275)],Us=(_0x3f772e,_0x51213e,_0x1663a,_0x15e2d5)=>{var _0x2fb6c7=_0x424696;for(var _0x90e64c=_0x15e2d5>0x1?void 0x0:_0x15e2d5?ws(_0x51213e,_0x1663a):_0x51213e,_0x2e0459=_0x3f772e[_0x2fb6c7(0x314)]-0x1,_0x4be3f2;_0x2e0459>=0x0;_0x2e0459--)(_0x4be3f2=_0x3f772e[_0x2e0459])&&(_0x90e64c=(_0x15e2d5?_0x4be3f2(_0x51213e,_0x1663a,_0x90e64c):_0x4be3f2(_0x90e64c))||_0x90e64c);return _0x15e2d5&&_0x90e64c&&Ps(_0x51213e,_0x1663a,_0x90e64c),_0x90e64c;},_i=(_0x36a500,_0x3d4ae4)=>(_0x33f8e6,_0x5336c7)=>_0x3d4ae4(_0x33f8e6,_0x5336c7,_0x36a500);let Nt=class{constructor(_0x924dcd,_0x286eb3){this['_configService']=_0x924dcd,this['_httpService']=_0x286eb3;}async[_0x424696(0x349)](_0x2d1264,_0x192218){var _0x337035=_0x424696,_0x5c5574;const {unitID:_0x57dcea,type:_0x2bf1c9,revision:_0x39b72e=0x0}=_0x192218,_0x31b0f0=this['getSnapshotAPIPath']()+'/'+_0x2bf1c9+_0x337035(0x213)+_0x57dcea+_0x337035(0x220)+_0x39b72e,_0x3ed338=(await this[_0x337035(0x3e2)][_0x337035(0x396)](_0x31b0f0))['body'],_0x4bdf98=(_0x5c5574=_0x3ed338[_0x337035(0x2b1)])==null?void 0x0:_0x5c5574[_0x337035(0x1af)];if(_0x4bdf98){const _0x53a77e=_0x4bdf98==null?void 0x0:_0x4bdf98[_0x337035(0x368)],_0x2b13e1=_0x4fb5a6[_0x337035(0x2df)](_0x276531(_0x53a77e));_0x4bdf98[_0x337035(0x368)]=_0x2b13e1,Object[_0x337035(0x3bb)](_0x4bdf98['sheets'])[_0x337035(0x409)](([,_0x27b728])=>{var _0x355567=_0x337035;const _0x44b226=_0x27b728[_0x355567(0x368)],_0x1b2d4f=_0x4fb5a6[_0x355567(0x2df)](_0x276531(_0x44b226));_0x27b728[_0x355567(0x368)]=_0x1b2d4f;});}return _0x3ed338;}async[_0x424696(0x2d1)](_0x34d881,_0x53a266){var _0x13cebb=_0x424696;const {unitID:_0x417929,type:_0x246f75,blockID:_0xd24469}=_0x53a266,_0x4457a7=this[_0x13cebb(0x217)]()+'/'+_0x246f75+_0x13cebb(0x213)+_0x417929+_0x13cebb(0x2d4)+_0xd24469;return(await this['_httpService']['get'](_0x4457a7))[_0x13cebb(0x21e)];}async[_0x424696(0x290)](_0xcb6985,_0x15aca6){var _0x53e771=_0x424696;const {unitID:_0x1928d7,type:_0x30b542,blockID:_0x12a0ba}=_0x15aca6,_0x150e36=this[_0x53e771(0x217)]()+_0x53e771(0x2d4)+_0x30b542+_0x53e771(0x213)+_0x1928d7+_0x53e771(0x2d4)+_0x12a0ba;return(await this[_0x53e771(0x3e2)]['get'](_0x150e36))['body'];}async[_0x424696(0x2ad)](_0xcf3134,_0x270ee2){var _0x4cc6ad=_0x424696;const {unitID:_0x2a4e1d,type:_0x365e21,from:_0x5dfb39,to:_0x5d7559}=_0x270ee2,_0xca64c7=this['_getAPIPrefix']()+'/'+_0x365e21+_0x4cc6ad(0x213)+_0x2a4e1d+_0x4cc6ad(0x2e8)+_0x5dfb39+_0x4cc6ad(0x1ce)+_0x5d7559;return(await this['_httpService'][_0x4cc6ad(0x396)](_0xca64c7))[_0x4cc6ad(0x21e)];}[_0x424696(0x326)](){var _0x9ded65=_0x424696,_0x8d112;return(_0x8d112=this['_configService'][_0x9ded65(0x2c0)](En))!=null?_0x8d112:this[_0x9ded65(0x217)]();}[_0x424696(0x217)](){var _0x434e43=_0x424696,_0x323f4d,_0x4e649f;const _0x41f2b3=this[_0x434e43(0x15e)]['getConfig'](gn),_0x33d25a=this[_0x434e43(0x15e)]['getConfig'](q);return(_0x4e649f=(_0x323f4d=_0x33d25a==null?void 0x0:_0x33d25a[_0x434e43(0x2eb)])!=null?_0x323f4d:_0x41f2b3)!=null?_0x4e649f:Sn;}async[_0x424696(0x171)](_0x486ef5,_0x485bf6){var _0x50cc21=_0x424696;const _0x535bb3=_0x50cc21(0x2be)+_0x485bf6[_0x50cc21(0x1d7)]+_0x50cc21(0x213)+_0x485bf6[_0x50cc21(0x161)]+_0x50cc21(0x236);return(await this['_httpService'][_0x50cc21(0x396)](_0x535bb3,{'params':{'resourceId':JSON[_0x50cc21(0x397)](_0x485bf6[_0x50cc21(0x301)])}}))[_0x50cc21(0x21e)];}[_0x424696(0x350)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x424696(0x399)](){var _0x570fb4=_0x424696;throw new Error(_0x570fb4(0x41e));}[_0x424696(0x331)](){var _0x540c90=_0x424696;throw new Error(_0x540c90(0x41e));}[_0x424696(0x42d)](){var _0x3d671d=_0x424696;throw new Error(_0x3d671d(0x41e));}[_0x424696(0x285)](){var _0x29ace7=_0x424696;throw new Error(_0x29ace7(0x41e));}};Nt=Us([_i(0x0,_0x257d37),_i(0x1,_0x186d60(_0x16a7d6))],Nt);var As=Object[_0x424696(0x311)],xs=Object['getOwnPropertyDescriptor'],Ls=(_0x5c77e2,_0x23c13f,_0x3e6812,_0x2fd838)=>{for(var _0x2554e0=_0x2fd838>0x1?void 0x0:_0x2fd838?xs(_0x23c13f,_0x3e6812):_0x23c13f,_0x3181cd=_0x5c77e2['length']-0x1,_0xaf42f6;_0x3181cd>=0x0;_0x3181cd--)(_0xaf42f6=_0x5c77e2[_0x3181cd])&&(_0x2554e0=(_0x2fd838?_0xaf42f6(_0x23c13f,_0x3e6812,_0x2554e0):_0xaf42f6(_0x2554e0))||_0x2554e0);return _0x2fd838&&_0x2554e0&&As(_0x23c13f,_0x3e6812,_0x2554e0),_0x2554e0;},Ae=(_0x200e14,_0x41f89c)=>(_0x5382b9,_0x1edd03)=>_0x41f89c(_0x5382b9,_0x1edd03,_0x200e14);let Dt=class extends _0x30ef02{constructor(_0x5175f4,_0x14b7e6,_0xa822e0,_0x206500,_0xd70044){var _0x29f7fc=_0x424696;super(_0x5175f4,_0x14b7e6,_0xa822e0),this[_0x29f7fc(0x219)]=_0x206500,this[_0x29f7fc(0x389)]=_0xd70044;}[_0x424696(0x2e4)](_0x118c9e,_0x55765e){var _0x222d9d=_0x424696;const _0x31f5c4=this[_0x222d9d(0x223)](_0x118c9e);if(_0x31f5c4)try{const _0x25e714=this[_0x222d9d(0x148)](_0x31f5c4,_0x55765e);this[_0x222d9d(0x369)](_0x118c9e,_0x25e714);}catch(_0x3d1ad6){this[_0x222d9d(0x389)][_0x222d9d(0x20f)](_0x222d9d(0x299),_0x3d1ad6),this[_0x222d9d(0x1d1)](_0x118c9e);}const _0x5230eb=this[_0x222d9d(0x262)](_0x118c9e);if(_0x5230eb)try{const _0x3d2379=this['_transformStack'](_0x5230eb,_0x55765e);this[_0x222d9d(0x42a)](_0x118c9e,_0x3d2379);}catch(_0x320fff){this[_0x222d9d(0x389)][_0x222d9d(0x20f)](_0x320fff),this[_0x222d9d(0x296)](_0x118c9e);}}[_0x424696(0x1d1)](_0x171198){var _0x522ca2=_0x424696;const _0x57c190=this[_0x522ca2(0x223)](_0x171198);_0x57c190&&(_0x57c190['length']=0x0,this[_0x522ca2(0x14c)]());}['_clearRedo'](_0x33eddf){var _0x470864=_0x424696;const _0x185c15=this[_0x470864(0x262)](_0x33eddf);_0x185c15&&(_0x185c15[_0x470864(0x314)]=0x0,this[_0x470864(0x14c)]());}[_0x424696(0x369)](_0xfb9070,_0x1178c4){var _0x379caa=_0x424696;this[_0x379caa(0x175)][_0x379caa(0x31f)](_0xfb9070,_0x1178c4),this['_updateStatus']();}[_0x424696(0x42a)](_0x139fa4,_0x560ac7){var _0x42cff1=_0x424696;this[_0x42cff1(0x408)][_0x42cff1(0x31f)](_0x139fa4,_0x560ac7),this['_updateStatus']();}['_transformStack'](_0x55b660,_0x3e830d){var _0x5327f3=_0x424696;const _0x15722c=[];let _0x29b81c=_0x3e830d,_0x19d79f=_0x3e830d;for(let _0xefe7f8=_0x55b660['length']-0x1;_0xefe7f8>=0x0;_0xefe7f8--){const {unitID:_0x2fbe87,undoMutations:_0x2010f8,redoMutations:_0x345951}=_0x55b660[_0xefe7f8],_0x30c64e=this['_transformService'][_0x5327f3(0x268)](_0x29b81c,_0x2010f8),_0x5a5c01=this[_0x5327f3(0x219)][_0x5327f3(0x268)](_0x19d79f,_0x345951);if(_0x81aea2(_0x30c64e)||_0x81aea2(_0x5a5c01)){this[_0x5327f3(0x389)]['error'](_0x5327f3(0x299),_0x5327f3(0x211),_0x30c64e,_0x5a5c01);break;}_0x29b81c=_0x30c64e[_0x5327f3(0x2d9)],_0x19d79f=_0x5a5c01[_0x5327f3(0x2d9)],_0x15722c[_0x5327f3(0x232)]({'unitID':_0x2fbe87,'undoMutations':_0x30c64e[_0x5327f3(0x3b7)],'redoMutations':_0x5a5c01[_0x5327f3(0x3b7)]});}return _0x15722c[_0x5327f3(0x380)]();}};Dt=Ls([Ae(0x0,_0x5238c4),Ae(0x1,_0xe2c354),Ae(0x2,_0x153884),Ae(0x3,_0xfa424c),Ae(0x4,_0x4d59d7)],Dt);var Ui=Object[_0x424696(0x311)],Ms=Object['getOwnPropertyDescriptor'],$s=(_0x7f301,_0x43de0f,_0x172ec3)=>_0x43de0f in _0x7f301?Ui(_0x7f301,_0x43de0f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x172ec3}):_0x7f301[_0x43de0f]=_0x172ec3,Hs=(_0xbe4b4,_0x56f06c,_0x262101,_0x34d57e)=>{var _0x4b50d7=_0x424696;for(var _0x2503a0=_0x34d57e>0x1?void 0x0:_0x34d57e?Ms(_0x56f06c,_0x262101):_0x56f06c,_0x4c9e78=_0xbe4b4[_0x4b50d7(0x314)]-0x1,_0xe9eaa6;_0x4c9e78>=0x0;_0x4c9e78--)(_0xe9eaa6=_0xbe4b4[_0x4c9e78])&&(_0x2503a0=(_0x34d57e?_0xe9eaa6(_0x56f06c,_0x262101,_0x2503a0):_0xe9eaa6(_0x2503a0))||_0x2503a0);return _0x34d57e&&_0x2503a0&&Ui(_0x56f06c,_0x262101,_0x2503a0),_0x2503a0;},St=(_0x5657ef,_0x30b405)=>(_0x46da4,_0x5090f2)=>_0x30b405(_0x46da4,_0x5090f2,_0x5657ef),ks=(_0x59925d,_0xd7a494,_0x59865e)=>$s(_0x59925d,_0xd7a494+'',_0x59865e);const js='UNIVER_COLLABORATION_CLIENT_PLUGIN';let Pt=class extends _0x1c9c9b{constructor(_0x57e922,_0x3efa2f,_0xb313,_0x1d907b){var _0x426756=_0x424696;super(),N(this,'_config'),(this[_0x426756(0x389)]=_0x3efa2f,this[_0x426756(0x21b)]=_0xb313,this[_0x426756(0x15e)]=_0x1d907b);const {..._0x30e5c3}=_0x11ae4a({},An,_0x57e922);if(!_0x30e5c3[_0x426756(0x189)])throw new Error(_0x426756(0x2a9));this['_config']=_0x30e5c3,this[_0x426756(0x15e)][_0x426756(0x3ef)](q,_0x30e5c3);}[_0x424696(0x27f)](){var _0x1aaf7c=_0x424696;this[_0x1aaf7c(0x39c)](),this['_initDependencies']();}[_0x424696(0x39c)](){var _0x3cc95f=_0x424696,_0x27b60e,_0x5a0a04;this['_injector'][_0x3cc95f(0x3d3)](_0x4f2b06)&&this[_0x3cc95f(0x389)]['error'](_0x3cc95f(0x2a1),_0x3cc95f(0x42f));const _0x1026ac=_0x4a4db9([[_0x4f2b06,{'useClass':Dt}],[Le],[xe],[it],[st],[ot],[Ti],[at],[pe],[Rt],[Ii,{'useClass':this[_0x3cc95f(0x1fd)][_0x3cc95f(0x189)]}],[_0x62c53e,{'useClass':Nt}],[_0x2928a1,{'useClass':bt}],[_0x2e2108,{'useClass':Ot}],[_0x434831,{'useClass':yt}],[rt],[Ct]],(_0x27b60e=this[_0x3cc95f(0x1fd)])==null?void 0x0:_0x27b60e[_0x3cc95f(0x141)]);if(!((_0x5a0a04=this[_0x3cc95f(0x1fd)])!=null&&_0x5a0a04['enableSingleActiveInstanceLock'])){const _0x481906=_0x1026ac['findIndex'](([_0x4d452e])=>_0x4d452e===ht);_0x481906!==-0x1&&_0x1026ac[_0x3cc95f(0x2ed)](_0x481906,0x1);}_0x20fda7(this['_injector'],_0x1026ac);}['_initDependencies'](){var _0x1be5d1=_0x424696,_0x157367,_0x338f1a,_0x50cca8;this[_0x1be5d1(0x21b)]['get'](_0x16a7d6)[_0x1be5d1(0x254)]({'priority':0x14,'interceptor':_0x1e11c4({'maxParallel':0x6})}),(_0x157367=this[_0x1be5d1(0x1fd)])!=null&&_0x157367[_0x1be5d1(0x2a8)]||(_0x338f1a=this[_0x1be5d1(0x21b)][_0x1be5d1(0x396)](J,_0x1cfcc2[_0x1be5d1(0x3a4)]))==null||_0x338f1a[_0x1be5d1(0x2b8)](),(_0x50cca8=this[_0x1be5d1(0x1fd)])!=null&&_0x50cca8[_0x1be5d1(0x309)]&&_0x53afbf(this[_0x1be5d1(0x21b)],[[st]]),_0x53afbf(this[_0x1be5d1(0x21b)],[[ot],[rt],[at]]);}};ks(Pt,_0x424696(0x260),js),Pt=Hs([_0x5c12b6(_0x3310d8,_0x51bd22),St(0x1,_0x4d59d7),St(0x2,_0x186d60(_0x2d62be)),St(0x3,_0x257d37)],Pt);export{Ni as AUTHZ_URL_KEY,bt as AuthzIoHttpService,le as AwaitingState,ae as AwaitingWithPendingState,q as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,Dn as COLLAB_SUBMIT_CHANGESET_URL_KEY,Tn as COLLAB_WEB_SOCKET_URL_KEY,rt as CollaborationController,nt as CollaborationEntity,Ot as CollaborationImageIoService,Et as CollaborationSession,Le as CollaborationSessionService,Vt as CollaborationSocketService,Ri as CollaborationStatus,se as CollaborationUIEventId,pe as CollaborationUIEventService,Dt as CollaborativeUndoRedoService,Ti as CommentService,ue as ConflictState,Cn as DEFAULT_COLLAB_WEB_SOCKET_URL,no as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,Qs as DEFAULT_WS_SESSION_TICKET_URL,Rt as DataLoaderService,It as DocCollaborationEntity,ee as FetchingMissState,bn as HEARTBEAT_INTERVAL_KEY,mi as HEARTBEAT_TIMEOUT_KEY,Ii as ICollaborationSocketService,J as ILocalCacheService,xn as INetworkConditionService,ht as ISingleActiveUnitService,to as LOCAL_CACHE_INTERVAL,eo as LOCAL_CACHE_INTERVAL_KEY,wn as LOGIN_URL_KEY,xe as MemberService,yt as MentionIoHttpService,de as OfflineState,oe as PendingState,io as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,yn as RETRY_CONNECTING_MAX_COUNT_KEY,Zs as SEND_CHANGESET_TIMEOUT_KEY,gn as SNAPSHOT_SERVER_URL_KEY,En as SNAPSHOT_URL_KEY,Ee as SessionStatus,Tt as SheetCollaborationEntity,it as SheetTransformSelectionsService,Nt as SnapshotServerOverHTTPService,Ne as SyncedState,Ci as UnitStatus,Pt as UniverCollaborationClientPlugin,Ln as deserializeToCombResponse,ro as getLocalCacheKey,Mn as serializeCombRequest};