@univerjs-pro/collaboration-client 0.6.10-nightly.202504121606 → 0.6.10-nightly.202504131606
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +9 -9
package/lib/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
var _0x3f2c0d=_0x5a2d;(function(_0x159e10,_0x5dfff3){var _0x16aedf=_0x5a2d,_0x1d7478=_0x159e10();while(!![]){try{var _0x1e779c=parseInt(_0x16aedf(0x271))/0x1*(-parseInt(_0x16aedf(0x319))/0x2)+parseInt(_0x16aedf(0x95))/0x3+-parseInt(_0x16aedf(0x275))/0x4+parseInt(_0x16aedf(0x16f))/0x5*(parseInt(_0x16aedf(0x35d))/0x6)+-parseInt(_0x16aedf(0x11e))/0x7*(-parseInt(_0x16aedf(0x26b))/0x8)+parseInt(_0x16aedf(0x239))/0x9+parseInt(_0x16aedf(0x2a7))/0xa*(parseInt(_0x16aedf(0x1cb))/0xb);if(_0x1e779c===_0x5dfff3)break;else _0x1d7478['push'](_0x1d7478['shift']());}catch(_0x248b77){_0x1d7478['push'](_0x1d7478['shift']());}}}(_0x24df,0x9a289));var wi=Object[_0x3f2c0d(0x333)],Pi=(_0xafb782,_0x57e347,_0x3626f9)=>_0x57e347 in _0xafb782?wi(_0xafb782,_0x57e347,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3626f9}):_0xafb782[_0x57e347]=_0x3626f9,N=(_0x3860bc,_0x507873,_0x203e00)=>Pi(_0x3860bc,typeof _0x507873!='symbol'?_0x507873+'':_0x507873,_0x203e00);import{createIdentifier as _0x140674,Inject as _0x267554,Injector as _0x56056f,IConfigService as _0x3686af,ILogService as _0x1160a0,Disposable as _0x5f4fc9,DisposableCollection as _0x502c5c,toDisposable as _0x4d59da,IUniverInstanceService as _0x4031a5,UserManagerService as _0x38eb5f,UniverInstanceType as _0x2eecc2,LocaleService as _0x71645e,Optional as _0x309f63,RxDisposable as _0x15cca1,Tools as _0x4a9a03,Rectangle as _0x4679f6,ICommandService as _0x2a3321,JSONX as _0x5e970c,CommandType as _0x4d1941,IUndoRedoService as _0x422b82,IPermissionService as _0x25cfc2,sequenceExecute as _0x3eb387,Workbook as _0x8d712e,MentionType as _0x28f9bc,isInternalEditorID as _0x2d25e0,LocalUndoRedoService as _0x2e6de6,IContextService as _0x242e26,DependentOn as _0x21729d,Plugin as _0x331e5f,merge as _0x53a795,mergeOverrideWithDependencies as _0x5b4f67,IAuthzIoService as _0x46f910,IMentionIOService as _0x1dcd9c,registerDependencies as _0x5496cb,Quantity as _0x3c1291,touchDependencies as _0x209585}from'@univerjs/core';import{Subject as _0x2edf1f,merge as _0x5eb4be,of as _0x1fe4c2,BehaviorSubject as _0x3aeaa6,takeUntil as _0x2bd1de,ReplaySubject as _0x4b9eeb,take as _0x43e130,map as _0x28c4e9,shareReplay as _0x1c5137,firstValueFrom as _0x56a2eb,concatMap as _0x34eebd}from'rxjs';import{map as _0x3c5472,take as _0x34f39a,filter as _0x44758b,delay as _0x54bf73,takeUntil as _0x11083c}from'rxjs/operators';import{CollaborationEvent as _0x2d6633,ISnapshotServerService as _0x1213dc,parseChangesetToProtocol as _0x512ef5,ITransformService as _0x271d49,isTransformMutationsWithChangesetSuccess as _0x472d6a,mapDocumentTypeToUniverType as _0x49695a,RevisionService as _0x52f995,isTransformChangesetsSuccess as _0x3cdfc0,CompressMutationService as _0x44953a,parseProtocolChangeset as _0x2eb0ab,SnapshotService as _0x3a352d,textEncoder as _0x20451f,b64DecodeUnicode as _0x5ac162,isTransformMutationsWithChangesetFailure as _0x3c0055,UniverCollaborationPlugin as _0x6af092}from'@univerjs-pro/collaboration';import{HTTPService as _0x4204c3,ISocketService as _0x3be9f8,MergeInterceptorFactory as _0x5a7f35,HTTPRequest as _0x30fffc,UniverNetworkPlugin as _0x5ad722,ThresholdInterceptorFactory as _0x515150}from'@univerjs/network';import{ITelemetryService as _0x2695c1}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x5cc59b}from'@univerjs/docs';import{SheetsSelectionsService as _0x346ccf,SetSelectionsOperation as _0x500a96,InsertSheetMutation as _0x3615ce,EmptyMutation as _0x2b11b5,WorkbookEditablePermission as _0x14081c,SheetPermissionInitController as _0x262bcb}from'@univerjs/sheets';import{ImageSourceType as _0xa0dd32,ImageUploadStatusType as _0x178db1,IImageIoService as _0x1354a0}from'@univerjs/drawing';import{getGlobalObject as _0x179bd1}from'@univerjs-pro/license';function _0x24df(){var _0x3f1be7=['mode','range','function','UNIVER_SHEET','onMissedChangesetFetched','_members','dispose','_localCacheService','_waitCount','MSG_FOR_ERROR','executeCommand','members','Error\x20on\x20receiving\x20event','enc','_key','updateOfflineData','put','uniscriptRunEvent','_sendHeartbeatTimer','getOwnPropertyDescriptor','_timeoutTimer','_change$','UPDATE_PERMISSION_OBJ','collaboration-client.config','UNRECOGNIZED','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','sigBytes','roomInfos','_sheetTransformSelectionsService','waitForRoom$','_getCurrentRevision','FileId','WECHAT_HAS_BEEN_BOUND','_unlockTransition','replace','UNIVER_SLIDE','?url=','padding','/-/object/list','fromCharCode','_sendHeartbeat','next','actions','YUUMI_RATE_OVER_LIMIT','override','onTransformState','_lockTransition','AUTHZ_URL_KEY','onSendChangeset','[CollaborationSession]','words','key','_createHelper','NOT_COLLAB','MOBILE_HAS_BEEN_BOUND','_process','resolve','_resendWithTimeout','_transformStateCache','hasOwnProperty','_createHandler','has','/object/','_logService','_hasher','pad','LIVESHARE_TERMINATE','save\x20fail\x20reason\x20is\x20','c1Prime','abs','_socket$','_substituteUndoStack','ERROR_EXCEED_SIZE','reverse','image/jpg','focused$','send','_doCryptBlock','INVALID_ARGUMENT','setShowComponents','_onUserJoin','Undefined','getSheetId','sendChangesetTimeout','_doReset','emitEvent','INVALID_INVITE_CODE','getRoom','_initDependencies','LIVESHARE_REQUEST_HOST','signUrlServerUrl','_socket','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','getValue','getUnit','_commentUpdate$','_socketMessageSubscription','interceptor','pending','_instanceService','1447542ZsYIRp','transformUndoRedo','create','csRejEvent','[PendingState]:\x20received\x20rejection.','_awaitingChangeset','telemetry\x20info\x20is\x20not\x20initialized','kdf','_collaborationUIEventService','getUnitStatus$','sessionStatus','getTime','length','HEARTBEAT_TIMEOUT','eventID','conflict','batchAllowed','x-univer-host','update','image/jpeg','PSEUDO_FETCH_MISSING_RESULT','_memberService','call','_stopTelemetryCollaborationNewChangeset','_append','session.room-permission-denied','_clearRedo','duration','from','reqId','univer-pro.collaboration-client-socket-service','filter','SUBMIT_CHANGESET','_changesetReqId','OTHER_CLIENT_EDITING','isArray','SOCKET_FAILED','clone','updateMember','JOINING','collaboration-client.local-cache-service','SHOULD_CLOSE_CONN','closeSession','HELLO','_initMergeInterceptor','resend','_transformRemoteChangesetByStateCache','getCurrentUser','_mode','Failed\x20to\x20update\x20permission\x20point','7704prmzWh','result','_createSocket','_createInitialState','blockSize','append','23UjGNHf','SUBMIT_CHANGESET_TIMEOUT','stringify','getInterceptPoints','4294820AFFreu','getCollabEntity$','editingUnit','byteOffset','addImageSourceCache','_revisionService','incrementRevOfUnit','FETCH_MISSING','getLatestCsReqIdBySid','ivSize','shouldCloseConn','loadOfflineData','EvpKDF','[CollaborationSessionService]:\x20socket\x20error','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_retryCount','deepClone','rev','UNIVER_UNKNOWN','src','UUID','_onRecvEvent','lib','Pkcs7','onRemoteAck','collaborators','_telemetryInfo','randomBytes','_handlerCallback','unitInfo$','COMMENT_UPDATE','target','status','_getCtorByUniverType','init','_resendTimer','_loadSheet','_acknowledgedAwaitingChangeset','_localeService','_startTelemetryCollaborationNewChangeset','bind','type','_showConflictNotification','APPLY_PERMISSION_DENIED','[OfflineState]:\x20received\x20rejection.','MD5','onSyncEditingCollabCursor','YUUMI_UNABLE_LOAD_URL','_getUploadFileURL','_tryEnsureSocket','5745000kSmipW','/collaborator','_transformIMECache','status$','LOCAL_CACHE_INTERVAL','image/bmp','join','/unit/','infoRsp','editing\x20status\x20changed\x20to','_entities','_networkConditionService','charCodeAt','leaveEvent','name','_replayCachedMutations','_clearTimeoutTimer','__creator','_clearUndo','_invKeySchedule','encodeURIComponent','_throwTelemetryCollaborationNewChangeset','FAIL','size','_xformMode','initWorkbookPermissionChange','every','createEncryptor','revision','collaMsg','complete','uploadFileServerUrl','JOIN_ROOM_FULL','ONLINE','entries','__esModule','onRemoteChangeset','commentUpdate$','unknown','then','HmacMD5','substr','asObservable','getUnitType','state','_joinRoom','_nRounds','_schedule','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','_onCombEvent','createDecryptor','reset','_initUnitPermissionChange','compose','change$','csShouldRetryEvent','RECV','apply','Decryptor','LICENSE_EXPORT_SIZE_EXCEEDED','LICENSE_DISTRO_REJECTED','&to=','onMissingChangesets','fetchMiss','fetchThroughInterceptors','CHANGESET_SHOULD_RETRY','_candidateSocket','generateRandomId','Encryptor','values','_executeRemoteChangeset','getImageSourceCache','_permissionService','random','PasswordBasedCipher','message$','_eventService','onRemoteRetry','location','_checkMissing','SNAPSHOT_HAS_BEEN_REMOVED','params','_startCollaboration','_incrementRevisionNumber','INTERNAL_ERROR','close$','post','APPLY_DUPLICATED','min','&source=','_entityInit$','LICENSE_MAX_UNITS_EXCEEDED','SHA1','awaitingChangeset','IDLE','mixIn','OpenSSL','Latin1','parse','reduce','_unitInfo$','ceil','UNDEFINED','_retryConnectingTimer','_roomCreated$','close','_onLocalMutation','_resendTimeout','session','pauseCollaboration','toLowerCase','JOIN_ROOM_NOT_EXISTS','hostname','avatar','33806fLjHFH','GLOBAL_ROOMS_CNT_EXCEEDS','auth.needGotoLoginAlert','updateCollaborator','objectID','SUCCUSS','_keySchedule','unit-cache-','_state$','EMAIL_HAS_BEEN_BOUND','_cipher','_disableEditing','_socketService','createInstance','_DEC_XFORM_MODE','Hasher','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','patch','_socketReady','debug','/-/object/-/batch_allowed','setWaitCount','online$','removeMember','encode','_onConflict','defineProperty','newCsEvent','getTypeOfUnitDisposed$','session.room-full','_onRemoteACK','OFFLINE','_onJoinRoomEvent','textRanges','onRemoteRej','_singleActiveUnitService','prototype','_onUserLeave','Hex','OTHER_CLIENTS_EDITING','[OfflineState]:\x20received\x20changeset.','requestParams','INVITE_CODE_ALREADY_BOUND','_changesetSessionId','_transformStack','getFocusedUnit','JOIN','localeService','[CollaborationUndoRedoService]','_updateLocalCache','$super','error','_removeRoom','unitId','retryConnectingInterval','CHANGESET_ACK','_ENC_XFORM_MODE','getResourcesRequest','pipe','onCommentUpdate','_rescheduleHeartbeat','awaiting_with_pending','connection\x20error','csAckEvent','_waitForHeartbeatResponse','onTransformSelections','url','LICENSE_IMPORT_SIZE_EXCEEDED','42852BRlATo','_tryReconnect','indexOf','onTransformRemoteChangesetByIMECache','loadSheet','_sessionStatus$','splice','objects','UPDATE_CURSOR','toggleOnline','onload','/allowed','transformStack\x20failed!','[DataLoaderService]','/fetchmissing?from=','_getAPIPrefix','_hash','_map','_status$','file','_transitionLocked','_onOffline','_registerDependencies','__Key__','_data','_remoteChangesetQueue','BufferedBlockAlgorithm','submit\x20changeset\x20error!','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','set','_transformSelections','algo','unsubscribe','ERROR_IMAGE','getRandomValues','BASE64','_collaborationTimeoutTimer','[OfflineState]:\x20received\x20acknowledgement.','forEach','_updateState','fetching\x20missing\x20changesets\x20from\x20','APPLY_NON_SEQUENTIAL_REVISION','CONFLICT','getActiveSheet','_onConnectionFailed','commentUpdateEvent','AWAITING','NEW_CHANGESETS','Base','socket\x20open.','extend','_snapshotService','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','YUUMI_URL_COL_OUT_OF_RANGE','NOT_FOUND','method','CLOSE_ROOM','USERS_LEAVE','1873824dnVacf','_clearCollaborationTimeoutTimer','session.join-failed','UNIVER_DOC','cfg','_pendingMutations','?size=','/universer-api/authz','UserProfileImg','reject','subUnitId','\x20in\x20_schedule.','updatePermissionObjEvent','LOGIN_URL_KEY','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','cmd','SOCKET_FAILED_RETRY','href','hasher','_httpService','COMPLETION_FINISHED','createCollaborator','FETCH_MISS','[UniverCollaborationClientPlugin]','_handler','loadDoc','NoPadding','crypto','setCurrentUser','now','BlockCipherMode','_HTTPService','CHANGESET_REVISION_CONFILICT','_getSendChangesetTimeout','refreshPermission','routeKey','[CollaborationEntity]','_clearRetryConnectingTimer','_onRemoteChangeset','confirm','_exhaustRemoteChangesetQueue','allowed','keySize','resourceIDs','reconnect','_fetchMissChangesets','USER_NOT_INVITED_CODE','UNKNOWN_CODE','_loadDoc','_onRemoteRetry','INVITE_CODE_HAS_BEEN_UES','_nDataBytes','/new_changes','_sendingTimer','ws://127.0.0.1:8000/universer-api/comb/connect','subscribe','\x0aAfter:\x20','charAt','registerHTTPInterceptor','string','dispose$','_emitMembers','pluginName','_clearLocalCache','_injector','People','unpad','Cipher','_keyPriorReset','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','socketService','_sender','getImage','COLLAB_SUBMIT_CHANGESET_URL','readyForCollab','_snapshotServerService','selections','[CollaborationSessionService]','max','_syncEditingCollabCursor','UNISCRIPT_RUN','SNAPSHOT_INVALID_SNAPSHOT','/universer-api/stream/file/upload','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','LIVESHARE_OPERATION','_init','event$','includes','transformSelections','randomUUID','_collaborationSessionService','onTransformIME','/resources','getUnitId','Base64','_applyRemoteChangeset','TOO_MANY_REQUESTS','onlyLocal','appendMutation','compute','_compressMutationService','startsWith','getCollabEntity','_oKey','sheets','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_collaborationPaused','subject','fromCollab','_minBufferSize','_iv','\x20-\x20','[PendingState]:\x20received\x20acknowledgement.','ciphertext','_getDownloadEndpointURL','CHANGESET_REJ','_redoStacks','_decreaseWaiting','mutations','startTime','_members$','execute','_event$','baseRev','offline','requireSession','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_type','_getLoginPath','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','collaboratorID','saveChangeset','clear','LEAVE','memberID','getSnapshotAPIPath','action','4193jucjLg','createSocket','WordArray','_reverseMap','concat','APPLY_REJECT','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','updateCursorEvent','add','_getRedoStack','entityInit$','saveSnapshot','get','getSheetBlock','code','_collabSessionService','SYNCED','POST','_clearHeartbeatTimer','_univerInstanceService','transformChangesets','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','/universer-api/snapshot','_iKey','_initCloseConn','liveShareNewHost','/universer-api/snapshot/','finalize','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','localCacheService','push','not_collab','/universer-api/user/session-ticket','HEARTBEAT','MUTATION','data','_imageSourceCache','_config','m2Prime','PERMISSION_REJ','UnitEmbedded','_commandService','toggleOffline','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','format','updatePermissionPoint','ALREADY_EXISTS','headers','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','\x20to\x20','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','LIVESHARE_NEW_HOST','OPTIONAL','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','onCommandExecuted','Random\x20bytes\x20length\x20must\x20be\x20>=\x2016','USERS_ENTER','AES','Utf8','StreamCipher','onStarting','PERSON','getCurrentRevOfUnit','[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.','setConfig','snapshotServerUrl','getMemberID','error$','_telemetryService','_scheduleCompleteTimestamp','_updateStatus','UNAUTHENTICATED','_sessions','_getAPIPrefixPath','_roomMembers','_listenToNetworkCondition','transformMutationsWithChangeset','_createInitialStateImpl','/block/','APPLY_REVISION_CONFILICT','_onFetchMissResult','110MclFch','userID','catch','getConfig','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','originalMeta','members$','HttpExport','session.room-cnt-exceeds','_onConnectionOpen','toString','&assign=','unitID','PERMISSION_DENIED','collabWebSocketUrl','floor','getMember','c2Prime','list','LOGIN_FAILED','_shouldReportTelemetry','HmacSHA1','_initRequestHeader','readInt32LE','map','_clearScheduledTask','_getUndoStack','_toggleOffline','_parse','onLocalMutation','ERROR_IMAGE_TYPE','copyFileMeta','INVITE_CODE_REQUIRED','_transformService','HEARTBEAT_INTERVAL','UNIVER_PROJECT','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','isPermissionRej','getCurrentSelections','clamp','fetchMissingChangesets','JOIN_ROOM_FAILED','state$','INGEST','_prevBlock','univer-pro.collaboration-client.network-condition.service','UNKNOWN_CMD','sessionStatus$','[CollaborationState]:\x20apply\x20error!','_queuedRemoteChangesets','iterations','LIVESHARE_FETCH_OPERATIONS','COMPRESS_MUTATION_SEND','slice','default','listCollaborators','_isPermissionRej','_doProcessBlock','RETRY_CONNECTING_MAX_COUNT','CONNECTOR_DATA_TOO_LARGE','awaiting','fetch_missing','_replaceFileID','_scheduleCollaborationTimeoutTimer','_doCreateSocket','image/gif','exports','_toggleOnline','BlockCipher','encrypt','authzUrl','Univer','body','_commentService','sid','NO_OTHER_CLIENTS_EDITING','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','Malformed\x20UTF-8\x20data','_state','_configService','PY_RUNTIME_SCRIPT_ERROR','withCredentials','_userManagerService','findIndex','byteLength','_onRemoteRejected','disposeWithMe','msCrypto','equals','UnitSnapshot','JOIN_ROOM_PERMISSION_DENIED','getAllMembers','11wNlKII','COMPRESS_MUTATION_APPLY','onTransformRemoteChangesetByStateCache','delete','getDeserializedSheetBlock','synced','objectType','getTypeOfUnitAdded$','_unitID'];_0x24df=function(){return _0x3f1be7;};return _0x24df();}const mn='SNAPSHOT_SERVER_URL_KEY',gn=_0x3f2c0d(0x134),Sn='SNAPSHOT_URL_KEY',Lr='SEND_CHANGESET_TIMEOUT',En=0x7d0,In='COLLAB_WEB_SOCKET_URL',Tn=_0x3f2c0d(0xcb),xr=_0x3f2c0d(0x13e),Cn=_0x3f2c0d(0x191),Rn=0x7530,mi=_0x3f2c0d(0x246),gi=0x4e20,bn=0x4e20,yn=_0x3f2c0d(0x1a9),On=0x3,Mr=_0x3f2c0d(0x2ab),kr=0x3e8,Nn=_0x3f2c0d(0xde),Dn='/universer-api/comb',Un=_0x3f2c0d(0xa2),An='/universer-api/oidc/authpage',$r=_0x3f2c0d(0xfe),Hr='/universer-api/uniscript';var Si=(_0x7e41b4=>(_0x7e41b4[_0x7e41b4[_0x3f2c0d(0x30d)]=0x0]=_0x3f2c0d(0x30d),_0x7e41b4[_0x7e41b4['OK']=0x1]='OK',_0x7e41b4[_0x7e41b4[_0x3f2c0d(0x2fb)]=0x2]=_0x3f2c0d(0x2fb),_0x7e41b4[_0x7e41b4['PERMISSION_DENIED']=0x3]=_0x3f2c0d(0x17c),_0x7e41b4[_0x7e41b4[_0x3f2c0d(0x393)]=0x4]=_0x3f2c0d(0x393),_0x7e41b4[_0x7e41b4[_0x3f2c0d(0x165)]=0x5]='UNAUTHENTICATED',_0x7e41b4[_0x7e41b4[_0x3f2c0d(0x14c)]=0x6]='ALREADY_EXISTS',_0x7e41b4[_0x7e41b4['INVALID_ARGUMENT']=0x7]=_0x3f2c0d(0x223),_0x7e41b4[_0x7e41b4[_0x3f2c0d(0xf5)]=0x8]=_0x3f2c0d(0xf5),_0x7e41b4[_0x7e41b4['COMPLETION_FINISHED']=0x9]=_0x3f2c0d(0xa9),_0x7e41b4[_0x7e41b4['LOGIN_FAILED']=0xa]=_0x3f2c0d(0x182),_0x7e41b4[_0x7e41b4[_0x3f2c0d(0xb5)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x7e41b4[_0x7e41b4[_0x3f2c0d(0xe6)]=0x1771]=_0x3f2c0d(0xe6),_0x7e41b4[_0x7e41b4[_0x3f2c0d(0x2f7)]=0x1772]=_0x3f2c0d(0x2f7),_0x7e41b4[_0x7e41b4['ENSURE_SNAPSHOT_EXECUTION']=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x7e41b4[_0x7e41b4[_0x3f2c0d(0x123)]=0x1b59]=_0x3f2c0d(0x123),_0x7e41b4[_0x7e41b4['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x3f2c0d(0x386),_0x7e41b4[_0x7e41b4[_0x3f2c0d(0x16d)]=0x1b5b]=_0x3f2c0d(0x16d),_0x7e41b4[_0x7e41b4[_0x3f2c0d(0x2a0)]=0x1b5c]=_0x3f2c0d(0x2a0),_0x7e41b4[_0x7e41b4[_0x3f2c0d(0x2fe)]=0x1b5d]=_0x3f2c0d(0x2fe),_0x7e41b4[_0x7e41b4[_0x3f2c0d(0x1aa)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x7e41b4[_0x7e41b4[_0x3f2c0d(0x302)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x7e41b4[_0x7e41b4[_0x3f2c0d(0x113)]=0x232a]=_0x3f2c0d(0x113),_0x7e41b4[_0x7e41b4[_0x3f2c0d(0x35c)]=0x232b]=_0x3f2c0d(0x35c),_0x7e41b4[_0x7e41b4['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x3f2c0d(0x2e2),_0x7e41b4[_0x7e41b4[_0x3f2c0d(0x2e3)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x7e41b4[_0x7e41b4[_0x3f2c0d(0x2a4)]=0x2711]=_0x3f2c0d(0x2a4),_0x7e41b4[_0x7e41b4[_0x3f2c0d(0x392)]=0x2712]=_0x3f2c0d(0x392),_0x7e41b4[_0x7e41b4['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x3f2c0d(0x200),_0x7e41b4[_0x7e41b4['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x7e41b4[_0x7e41b4[_0x3f2c0d(0x1bf)]=0x2af9]=_0x3f2c0d(0x1bf),_0x7e41b4[_0x7e41b4['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x3f2c0d(0xc7),_0x7e41b4[_0x7e41b4[_0x3f2c0d(0x22b)]=0x2ee2]=_0x3f2c0d(0x22b),_0x7e41b4[_0x7e41b4[_0x3f2c0d(0x18f)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x7e41b4[_0x7e41b4[_0x3f2c0d(0xc3)]=0x2ee4]=_0x3f2c0d(0xc3),_0x7e41b4[_0x7e41b4[_0x3f2c0d(0x343)]=0x2ee5]=_0x3f2c0d(0x343),_0x7e41b4[_0x7e41b4[_0x3f2c0d(0x1f5)]=0x32c9]=_0x3f2c0d(0x1f5),_0x7e41b4[_0x7e41b4[_0x3f2c0d(0x20b)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x7e41b4[_0x7e41b4[_0x3f2c0d(0x322)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x7e41b4[_0x7e41b4['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x7e41b4))(Si||{}),Q=(_0x19f2f0=>(_0x19f2f0[_0x19f2f0[_0x3f2c0d(0x287)]=0x0]=_0x3f2c0d(0x287),_0x19f2f0[_0x19f2f0[_0x3f2c0d(0x98)]=0x1]=_0x3f2c0d(0x98),_0x19f2f0[_0x19f2f0[_0x3f2c0d(0x1d7)]=0x2]=_0x3f2c0d(0x1d7),_0x19f2f0[_0x19f2f0[_0x3f2c0d(0x1f8)]=0x3]=_0x3f2c0d(0x1f8),_0x19f2f0[_0x19f2f0[_0x3f2c0d(0x192)]=0x4]=_0x3f2c0d(0x192),_0x19f2f0[_0x19f2f0['UNRECOGNIZED']=-0x1]=_0x3f2c0d(0x1ec),_0x19f2f0))(Q||{}),F=(_0x5c745c=>(_0x5c745c[_0x5c745c[_0x3f2c0d(0x19d)]=0x0]=_0x3f2c0d(0x19d),_0x5c745c[_0x5c745c[_0x3f2c0d(0x264)]=0x1]=_0x3f2c0d(0x264),_0x5c745c[_0x5c745c[_0x3f2c0d(0x347)]=0x2]=_0x3f2c0d(0x347),_0x5c745c[_0x5c745c['LEAVE']=0x3]=_0x3f2c0d(0x11a),_0x5c745c[_0x5c745c[_0x3f2c0d(0x19a)]=0x4]='INGEST',_0x5c745c[_0x5c745c[_0x3f2c0d(0x13f)]=0x5]=_0x3f2c0d(0x13f),_0x5c745c[_0x5c745c[_0x3f2c0d(0x2df)]=0x6]=_0x3f2c0d(0x2df),_0x5c745c[_0x5c745c['UNRECOGNIZED']=-0x1]=_0x3f2c0d(0x1ec),_0x5c745c))(F||{}),ge=(_0x527ac1=>(_0x527ac1[_0x527ac1[_0x3f2c0d(0xc4)]=0x0]='UNKNOWN_CODE',_0x527ac1[_0x527ac1['OK']=0x1]='OK',_0x527ac1[_0x527ac1[_0x3f2c0d(0x2bd)]=0x2]=_0x3f2c0d(0x2bd),_0x527ac1[_0x527ac1[_0x3f2c0d(0x2c7)]=0x3e9]=_0x3f2c0d(0x2c7),_0x527ac1[_0x527ac1[_0x3f2c0d(0x316)]=0x3ea]=_0x3f2c0d(0x316),_0x527ac1[_0x527ac1[_0x3f2c0d(0x1c9)]=0x3eb]=_0x3f2c0d(0x1c9),_0x527ac1[_0x527ac1[_0x3f2c0d(0x31a)]=0x3ec]=_0x3f2c0d(0x31a),_0x527ac1[_0x527ac1[_0x3f2c0d(0x1ec)]=-0x1]=_0x3f2c0d(0x1ec),_0x527ac1))(ge||{}),Ei=(_0x4a7962=>(_0x4a7962[_0x4a7962[_0x3f2c0d(0x226)]=0x0]='Undefined',_0x4a7962[_0x4a7962['HttpImport']=0x1]='HttpImport',_0x4a7962[_0x4a7962[_0x3f2c0d(0x176)]=0x2]=_0x3f2c0d(0x176),_0x4a7962[_0x4a7962[_0x3f2c0d(0x146)]=0x3]=_0x3f2c0d(0x146),_0x4a7962[_0x4a7962[_0x3f2c0d(0x1c8)]=0x4]=_0x3f2c0d(0x1c8),_0x4a7962[_0x4a7962['UserProfileImg']=0x5]=_0x3f2c0d(0x9d),_0x4a7962[_0x4a7962[_0x3f2c0d(0x1ec)]=-0x1]=_0x3f2c0d(0x1ec),_0x4a7962))(Ei||{});const q=_0x3f2c0d(0x1eb),wn={};var re=(_0x10c03b=>(_0x10c03b['OTHER_CLIENT_EDITING']=_0x3f2c0d(0x25b),_0x10c03b[_0x3f2c0d(0x17c)]=_0x3f2c0d(0x17c),_0x10c03b[_0x3f2c0d(0x387)]=_0x3f2c0d(0x387),_0x10c03b[_0x3f2c0d(0x93)]=_0x3f2c0d(0x93),_0x10c03b[_0x3f2c0d(0x198)]='JOIN_ROOM_FAILED',_0x10c03b[_0x3f2c0d(0xa5)]='SOCKET_FAILED_RETRY',_0x10c03b[_0x3f2c0d(0x25d)]='SOCKET_FAILED',_0x10c03b[_0x3f2c0d(0x272)]=_0x3f2c0d(0x272),_0x10c03b))(re||{});class pe{constructor(){var _0x47f423=_0x3f2c0d;N(this,_0x47f423(0x10f),new _0x2edf1f()),N(this,_0x47f423(0xeb),this[_0x47f423(0x10f)][_0x47f423(0x2d1)]());}[_0x3f2c0d(0x22a)](_0x1900a6){var _0x2ebb9f=_0x3f2c0d;this[_0x2ebb9f(0x10f)][_0x2ebb9f(0x1fe)](_0x1900a6);}}const Pn=_0x140674(_0x3f2c0d(0x19c));function Ln(_0x21799d){var _0x46836a=_0x3f2c0d,_0x43fba8,_0x1c4f66,_0x11dfd2,_0x18745a,_0x1e3529;const _0x2886f2=_0x21799d[_0x46836a(0x141)],_0x22ce22=JSON[_0x46836a(0x309)](_0x2886f2);switch(_0x22ce22['cmd']){case F['HEARTBEAT']:case F[_0x46836a(0x264)]:{const _0x25ea68=_0x22ce22[_0x46836a(0x2af)];return{..._0x22ce22,'data':_0x25ea68,'cmd':_0x22ce22['cmd']};}case F[_0x46836a(0x347)]:{const _0x3f3918=_0x22ce22['joinRsp'];return{..._0x22ce22,'data':_0x3f3918,'cmd':_0x22ce22[_0x46836a(0xa4)]};}case F[_0x46836a(0x2df)]:{const _0x3410b1=_0x22ce22[_0x46836a(0x2c4)];switch(_0x3410b1['eventID']){case _0x2d6633[_0x46836a(0x145)]:return{..._0x22ce22,'data':{..._0x3410b1,'data':(_0x43fba8=_0x3410b1['permissionRejEvent'])==null?void 0x0:_0x43fba8['cs']},'cmd':_0x22ce22[_0x46836a(0xa4)]};case _0x2d6633[_0x46836a(0x350)]:return{..._0x22ce22,'data':{..._0x3410b1,'data':(_0x1c4f66=_0x3410b1[_0x46836a(0x358)])==null?void 0x0:_0x1c4f66['cs']},'cmd':_0x22ce22[_0x46836a(0xa4)]};case _0x2d6633[_0x46836a(0x38c)]:return{..._0x22ce22,'data':{..._0x3410b1,'data':(_0x11dfd2=_0x3410b1[_0x46836a(0x334)])==null?void 0x0:_0x11dfd2['cs']},'cmd':_0x22ce22[_0x46836a(0xa4)]};case _0x2d6633[_0x46836a(0x108)]:return{..._0x22ce22,'data':{..._0x3410b1,'data':(_0x18745a=_0x3410b1[_0x46836a(0x23c)])==null?void 0x0:_0x18745a['cs']},'cmd':_0x22ce22[_0x46836a(0xa4)]};case _0x2d6633[_0x46836a(0x2e8)]:return{..._0x22ce22,'data':{..._0x3410b1,'data':(_0x1e3529=_0x3410b1[_0x46836a(0x2de)])==null?void 0x0:_0x1e3529['cs']},'cmd':_0x22ce22[_0x46836a(0xa4)]};case _0x2d6633[_0x46836a(0x365)]:return{..._0x22ce22,'data':{..._0x3410b1,'data':_0x3410b1[_0x46836a(0x125)]},'cmd':_0x22ce22['cmd']};case _0x2d6633[_0x46836a(0x156)]:return{..._0x22ce22,'data':{..._0x3410b1,'data':_0x3410b1['joinEvent']},'cmd':_0x22ce22[_0x46836a(0xa4)]};case _0x2d6633[_0x46836a(0x94)]:return{..._0x22ce22,'data':{..._0x3410b1,'data':_0x3410b1[_0x46836a(0x2b4)]},'cmd':_0x22ce22['cmd']};case _0x2d6633[_0x46836a(0x151)]:return{..._0x22ce22,'data':{..._0x3410b1,'data':_0x3410b1[_0x46836a(0x137)]},'cmd':_0x22ce22['cmd']};case _0x2d6633[_0x46836a(0x1a2)]:case _0x2d6633[_0x46836a(0xe9)]:return{..._0x22ce22,'data':{..._0x3410b1,'data':_0x3410b1['liveShareOperation']},'cmd':_0x22ce22[_0x46836a(0xa4)]};case _0x2d6633['LIVESHARE_TERMINATE']:return{..._0x22ce22,'data':{..._0x3410b1,'data':_0x3410b1[_0x46836a(0x137)]},'cmd':_0x22ce22[_0x46836a(0xa4)]};case _0x2d6633['MSG_FOR_ERROR']:return{..._0x22ce22,'data':_0x3410b1,'cmd':_0x22ce22[_0x46836a(0xa4)]};case _0x2d6633[_0x46836a(0x293)]:return{..._0x22ce22,'data':{..._0x3410b1,'data':_0x3410b1[_0x46836a(0x38a)]},'cmd':_0x22ce22['cmd']};case _0x2d6633[_0x46836a(0x1ea)]:return{..._0x22ce22,'data':{..._0x3410b1,'data':_0x3410b1[_0x46836a(0xa1)]},'cmd':_0x22ce22[_0x46836a(0xa4)]};case _0x2d6633[_0x46836a(0x262)]:return{..._0x22ce22,'data':{..._0x3410b1,'data':_0x3410b1[_0x46836a(0x27f)]},'cmd':_0x22ce22[_0x46836a(0xa4)]};case _0x2d6633[_0x46836a(0xe5)]:return{..._0x22ce22,'data':{..._0x3410b1,'data':_0x3410b1[_0x46836a(0x1e5)]},'cmd':_0x22ce22[_0x46836a(0xa4)]};default:return _0x22ce22;}}default:return _0x22ce22;}}function xn(_0xa1e20d){var _0x16c4f0=_0x3f2c0d;switch(_0xa1e20d[_0x16c4f0(0xa4)]){case F[_0x16c4f0(0x13f)]:case F[_0x16c4f0(0x264)]:return JSON[_0x16c4f0(0x273)]({'cmd':_0xa1e20d[_0x16c4f0(0xa4)],'routeKey':_0xa1e20d['routeKey']});case F[_0x16c4f0(0x19a)]:{let _0x3bc89f;switch(_0xa1e20d[_0x16c4f0(0x141)]['eventID']){case _0x2d6633[_0x16c4f0(0x365)]:{_0x3bc89f={'eventID':_0x2d6633[_0x16c4f0(0x365)],'updateCursorEvent':_0xa1e20d[_0x16c4f0(0x141)][_0x16c4f0(0x141)]};break;}case _0x2d6633[_0x16c4f0(0x94)]:{_0x3bc89f={'eventID':_0x2d6633[_0x16c4f0(0x94)],'leaveEvent':_0xa1e20d[_0x16c4f0(0x141)]['data']};break;}case _0x2d6633[_0x16c4f0(0x156)]:{_0x3bc89f={'eventID':_0x2d6633[_0x16c4f0(0x156)],'joinEvent':_0xa1e20d['data'][_0x16c4f0(0x141)]};break;}case _0x2d6633[_0x16c4f0(0x151)]:{_0x3bc89f={'eventID':_0x2d6633[_0x16c4f0(0x151)],'liveShareNewHost':_0xa1e20d[_0x16c4f0(0x141)][_0x16c4f0(0x141)]};break;}case _0x2d6633[_0x16c4f0(0xe9)]:{_0x3bc89f={'eventID':_0x2d6633[_0x16c4f0(0xe9)],'liveShareOperation':_0xa1e20d[_0x16c4f0(0x141)][_0x16c4f0(0x141)]};break;}case _0x2d6633['LIVESHARE_TERMINATE']:{_0x3bc89f={'eventID':_0x2d6633[_0x16c4f0(0x217)],'liveShareTerminate':_0xa1e20d[_0x16c4f0(0x141)][_0x16c4f0(0x141)]};break;}case _0x2d6633[_0x16c4f0(0x22e)]:{_0x3bc89f={'eventID':_0x2d6633['LIVESHARE_REQUEST_HOST'],'liveShareRequestHost':_0xa1e20d[_0x16c4f0(0x141)][_0x16c4f0(0x141)]};break;}case _0x2d6633[_0x16c4f0(0x1a2)]:{_0x3bc89f={'eventID':_0x2d6633['LIVESHARE_FETCH_OPERATIONS']};break;}default:_0x3bc89f={'eventID':_0xa1e20d[_0x16c4f0(0x141)]['eventID']};}return JSON['stringify']({'cmd':_0xa1e20d['cmd'],'routeKey':_0xa1e20d[_0x16c4f0(0xb8)],'collaMsg':_0x3bc89f});}case F[_0x16c4f0(0x347)]:return JSON['stringify']({'cmd':_0xa1e20d[_0x16c4f0(0xa4)],'routeKey':_0xa1e20d[_0x16c4f0(0xb8)],'joinReq':_0xa1e20d[_0x16c4f0(0x141)]});case F['LEAVE']:return JSON[_0x16c4f0(0x273)]({'cmd':_0xa1e20d[_0x16c4f0(0xa4)],'routeKey':_0xa1e20d[_0x16c4f0(0xb8)],'leaveReq':_0xa1e20d[_0x16c4f0(0x141)]});default:throw new Error('[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!');}}var Mn=Object['getOwnPropertyDescriptor'],kn=(_0x139cac,_0x510ea8,_0x57a935,_0x2529bc)=>{for(var _0x242f8c=_0x2529bc>0x1?void 0x0:_0x2529bc?Mn(_0x510ea8,_0x57a935):_0x510ea8,_0x3d1f2b=_0x139cac['length']-0x1,_0x5d0aec;_0x3d1f2b>=0x0;_0x3d1f2b--)(_0x5d0aec=_0x139cac[_0x3d1f2b])&&(_0x242f8c=_0x5d0aec(_0x242f8c)||_0x242f8c);return _0x242f8c;},Ae=(_0x1c0f42,_0x1425c7)=>(_0xa14dfc,_0x367f57)=>_0x1425c7(_0xa14dfc,_0x367f57,_0x1c0f42);const Ii=_0x140674(_0x3f2c0d(0x257));function $n(_0xb0f848,_0x5bdfc0,_0x53b9ce){var _0x3c8324=_0x3f2c0d;return _0xb0f848+'/'+_0x5bdfc0+'/unit/'+_0x53b9ce+_0x3c8324(0xc9);}let Gt=class extends _0x5f4fc9{constructor(_0x3d1409,_0xa67410,_0x5d3030,_0x594592,_0x5386ba){var _0x274e5e=_0x3f2c0d;super(),this[_0x274e5e(0xd5)]=_0x3d1409,this[_0x274e5e(0xa8)]=_0xa67410,this[_0x274e5e(0x1be)]=_0x5d3030,this[_0x274e5e(0x214)]=_0x594592,this[_0x274e5e(0xe0)]=_0x5386ba;}[_0x3f2c0d(0x1af)](_0x566560){var _0x6275fb=_0x3f2c0d;const _0x5ea318=this[_0x6275fb(0xd5)][_0x6275fb(0x12a)](_0x3be9f8);if(!_0x5ea318)throw new Error(_0x6275fb(0x231));const _0x32ad3d=_0x5ea318[_0x6275fb(0x11f)](_0x566560);if(!_0x32ad3d)throw new Error(_0x6275fb(0xa3));const _0x136140=new _0x502c5c(),_0x210642=new _0x2edf1f();_0x136140['add'](_0x32ad3d[_0x6275fb(0x2fc)][_0x6275fb(0xcc)](_0x5dfd53=>_0x210642['next'](_0x5dfd53))),_0x136140[_0x6275fb(0x126)](_0x4d59da(()=>_0x210642[_0x6275fb(0x2c5)]()));const _0x167b2e=new _0x2edf1f();_0x136140[_0x6275fb(0x126)](_0x32ad3d[_0x6275fb(0x161)]['subscribe'](_0x39567f=>_0x167b2e[_0x6275fb(0x1fe)](_0x39567f))),_0x136140[_0x6275fb(0x126)](_0x4d59da(()=>_0x167b2e['complete']()));const _0x2beaa8=new _0x2edf1f();_0x136140['add'](_0x32ad3d[_0x6275fb(0x2f2)]['subscribe'](_0x38a963=>{var _0x91705d=_0x6275fb;const _0x30566a=Ln(_0x38a963);_0x2beaa8[_0x91705d(0x1fe)](_0x30566a);})),_0x136140[_0x6275fb(0x126)](_0x4d59da(()=>_0x2beaa8[_0x6275fb(0x2c5)]()));let _0x264f0a;const _0xc15ece=()=>{var _0x98040=_0x6275fb;_0x167b2e['next'](new Event('connection\x20error')),_0x210642['next'](new Event(_0x98040(0x357))),_0x264f0a[_0x98040(0x310)]();};return _0x264f0a={'memberID':'','close$':_0x210642[_0x6275fb(0x2d1)](),'error$':_0x167b2e[_0x6275fb(0x2d1)](),'open$':_0x32ad3d['open$'],'message$':_0x2beaa8[_0x6275fb(0x2d1)](),'send':_0x48cdba=>{var _0x4b4c35=_0x6275fb;if(_0x48cdba[_0x4b4c35(0xa4)]===F[_0x4b4c35(0x19a)]){if(_0x48cdba['data']['eventID']===_0x2d6633[_0x4b4c35(0x259)]){this['_submitChangeset'](_0x264f0a,_0x48cdba[_0x4b4c35(0x141)])['catch'](_0x446d8e=>{var _0x384078=_0x4b4c35;this[_0x384078(0x214)][_0x384078(0x34c)](_0x446d8e),_0xc15ece();});return;}if(_0x48cdba[_0x4b4c35(0x141)]['eventID']===_0x2d6633[_0x4b4c35(0x27c)]){const _0x3e80c4=_0x48cdba[_0x4b4c35(0x141)];this[_0x4b4c35(0xc2)](_0x3e80c4)[_0x4b4c35(0x2ce)](_0x2f6925=>{var _0xbc4626=_0x4b4c35;_0x2beaa8[_0xbc4626(0x1fe)]({'cmd':F[_0xbc4626(0x2df)],'code':ge['OK'],'routeKey':_0x3e80c4['data'][_0xbc4626(0x17b)],'routeType':'','data':{'eventID':_0x2d6633[_0xbc4626(0x24d)],'data':{'changesets':_0x2f6925}}});})[_0x4b4c35(0x171)](_0x5ba9ef=>{var _0x17dd3f=_0x4b4c35;this[_0x17dd3f(0x214)][_0x17dd3f(0x34c)](_0x5ba9ef),_0xc15ece();});return;}}_0x32ad3d['send'](xn(_0x48cdba));},'close':()=>{_0x32ad3d['close'](),_0x136140['dispose']();}},_0x264f0a;}async['_submitChangeset'](_0xa27157,_0x2114ca){var _0x5a76cf=_0x3f2c0d,_0x19ae32,_0x12c658;const {unitType:_0x203b5b,unitID:_0x21a7f1,changeset:_0x314d03}=_0x2114ca[_0x5a76cf(0x141)],_0x3255d7={'unitID':_0x21a7f1,'memberID':_0xa27157[_0x5a76cf(0x11b)],'type':_0x203b5b,'changeset':_0x512ef5(_0x314d03)},_0x14005d=this['_configService'][_0x5a76cf(0x172)](Nn),_0x1856d9=this[_0x5a76cf(0x1be)]['getConfig'](q),_0x15de11=$n((_0x12c658=(_0x19ae32=_0x1856d9==null?void 0x0:_0x1856d9['collabSubmitChangesetUrl'])!=null?_0x19ae32:_0x14005d)!=null?_0x12c658:Dn,_0x203b5b,_0x21a7f1);try{await this[_0x5a76cf(0xa8)][_0x5a76cf(0x2fd)](_0x15de11,{'body':_0x3255d7});}catch(_0x15ba1e){throw this['_logService']['error'](_0x5a76cf(0x206),_0x5a76cf(0x378)),_0x15ba1e;}}async[_0x3f2c0d(0xc2)](_0x473e99){var _0x5db9f6=_0x3f2c0d;const {unitID:_0x4affb9,from:_0x51ef43,to:_0x26b1e9,unitType:_0x2cc3a0}=_0x473e99[_0x5db9f6(0x141)];return(await this[_0x5db9f6(0xe0)][_0x5db9f6(0x197)]({'metadata':void 0x0},{'unitID':_0x4affb9,'type':_0x2cc3a0,'from':_0x51ef43,'to':_0x26b1e9}))['changesets'];}};Gt=kn([Ae(0x0,_0x267554(_0x56056f)),Ae(0x1,_0x267554(_0x4204c3)),Ae(0x2,_0x3686af),Ae(0x3,_0x1160a0),Ae(0x4,_0x1213dc)],Gt);const Hn='collaboration_new_changeset';function Bn(_0x270f3f){var _0x4c1711=_0x3f2c0d;return JSON[_0x4c1711(0x273)](_0x270f3f)[_0x4c1711(0x245)];}class Ti{constructor(){var _0x19aef3=_0x3f2c0d;N(this,_0x19aef3(0x234),new _0x2edf1f()),N(this,_0x19aef3(0x2cc),this[_0x19aef3(0x234)]['asObservable']());}[_0x3f2c0d(0x354)](_0x3a25be){var _0x32c676=_0x3f2c0d;this[_0x32c676(0x234)][_0x32c676(0x1fe)](_0x3a25be);}}var jn=Object[_0x3f2c0d(0x1e7)],Fn=(_0x3678a5,_0x261fcc,_0x362e73,_0x40e4fd)=>{var _0xb789cd=_0x3f2c0d;for(var _0x2b7e0b=_0x40e4fd>0x1?void 0x0:_0x40e4fd?jn(_0x261fcc,_0x362e73):_0x261fcc,_0x956833=_0x3678a5[_0xb789cd(0x245)]-0x1,_0x196922;_0x956833>=0x0;_0x956833--)(_0x196922=_0x3678a5[_0x956833])&&(_0x2b7e0b=_0x196922(_0x2b7e0b)||_0x2b7e0b);return _0x2b7e0b;},Wt=(_0x2f5f78,_0x143817)=>(_0x3d213c,_0x8144c7)=>_0x143817(_0x3d213c,_0x8144c7,_0x2f5f78);let Le=class extends _0x5f4fc9{constructor(_0x1831ad,_0xaeb1db){var _0x4c482b=_0x3f2c0d;super(),N(this,_0x4c482b(0x168),new Map()),N(this,_0x4c482b(0x30f),new _0x2edf1f()),(this[_0x4c482b(0x131)]=_0x1831ad,this['_userManagerService']=_0xaeb1db,this[_0x4c482b(0x1c5)](_0x5eb4be(this[_0x4c482b(0x131)][_0x4c482b(0x335)](_0x2eecc2['UNIVER_SHEET'])[_0x4c482b(0x353)](_0x3c5472(_0x266077=>_0x266077[_0x4c482b(0xf2)]())),this[_0x4c482b(0x131)][_0x4c482b(0x335)](_0x2eecc2[_0x4c482b(0x98)])[_0x4c482b(0x353)](_0x3c5472(_0x809c0f=>_0x809c0f['getUnitId']())),this[_0x4c482b(0x131)][_0x4c482b(0x335)](_0x2eecc2[_0x4c482b(0x1f8)])[_0x4c482b(0x353)](_0x3c5472(_0x30051d=>_0x30051d[_0x4c482b(0xf2)]())))[_0x4c482b(0xcc)](_0x47d462=>this[_0x4c482b(0x34d)](_0x47d462))));}[_0x3f2c0d(0x1f2)](_0x253c93){var _0x5db711=_0x3f2c0d;return this[_0x5db711(0x168)][_0x5db711(0x212)](_0x253c93)?_0x1fe4c2(this[_0x5db711(0x168)][_0x5db711(0x12a)](_0x253c93)):this[_0x5db711(0x30f)]['pipe'](_0x3c5472(_0x495cd1=>{var _0x1c85f9=_0x5db711;if(_0x495cd1===_0x253c93)return this[_0x1c85f9(0x168)][_0x1c85f9(0x12a)](_0x495cd1);}));}[_0x3f2c0d(0xb1)](_0x246903){var _0x5143bf=_0x3f2c0d;this['_userManagerService'][_0x5143bf(0xb1)](_0x246903);}[_0x3f2c0d(0x268)](){var _0x37b72f=_0x3f2c0d;return this[_0x37b72f(0x1c1)][_0x37b72f(0x268)]();}[_0x3f2c0d(0x25f)](_0x3ea170,_0x556110){var _0x423fd4=_0x3f2c0d;let _0x3ac7ad=this[_0x423fd4(0x168)]['get'](_0x3ea170);_0x3ac7ad||(_0x3ac7ad=new Vn(),this[_0x423fd4(0x168)]['set'](_0x3ea170,_0x3ac7ad),this['_roomCreated$'][_0x423fd4(0x1fe)](_0x3ea170)),_0x3ac7ad[_0x423fd4(0x25f)](_0x556110);}[_0x3f2c0d(0x330)](_0x19e2ab,_0x10041e){var _0x34faba=_0x3f2c0d;const _0x3f66a6=this[_0x34faba(0x168)][_0x34faba(0x12a)](_0x19e2ab);_0x3f66a6&&_0x3f66a6[_0x34faba(0x330)](_0x10041e);}[_0x3f2c0d(0x22c)](_0x5274bd){var _0x4dd688=_0x3f2c0d;return this[_0x4dd688(0x168)][_0x4dd688(0x12a)](_0x5274bd);}['getMember'](_0x2a21a7,_0x3e97d5){var _0x4b3a6a=_0x3f2c0d;const _0x49a56d=this[_0x4b3a6a(0x168)]['get'](_0x2a21a7);if(_0x49a56d)return _0x49a56d[_0x4b3a6a(0x17f)](_0x3e97d5);}[_0x3f2c0d(0x34d)](_0x1e65ba){var _0x260f54=_0x3f2c0d;const _0x8693d0=this[_0x260f54(0x168)][_0x260f54(0x12a)](_0x1e65ba);_0x8693d0&&(_0x8693d0[_0x260f54(0x1da)](),this[_0x260f54(0x168)]['delete'](_0x1e65ba));}[_0x3f2c0d(0x1da)](){var _0x2eeee=_0x3f2c0d;this[_0x2eeee(0x168)][_0x2eeee(0x383)](_0x1edc28=>_0x1edc28[_0x2eeee(0x1da)]()),this[_0x2eeee(0x168)][_0x2eeee(0x119)](),this[_0x2eeee(0x30f)][_0x2eeee(0x2c5)]();}};Le=Fn([Wt(0x0,_0x4031a5),Wt(0x1,_0x267554(_0x38eb5f))],Le);class Vn extends _0x5f4fc9{constructor(){var _0x4193a8=_0x3f2c0d;super(...arguments),N(this,_0x4193a8(0x1d9),new Map()),N(this,_0x4193a8(0x10d),new _0x3aeaa6(this[_0x4193a8(0x1d9)])),N(this,_0x4193a8(0x175),this[_0x4193a8(0x10d)][_0x4193a8(0x2d1)]());}[_0x3f2c0d(0x1da)](){var _0x5b9104=_0x3f2c0d;this[_0x5b9104(0x1d9)][_0x5b9104(0x119)]();}[_0x3f2c0d(0x25f)](_0x550fb5){var _0x3655e0=_0x3f2c0d;this['_members'][_0x3655e0(0x37a)](_0x550fb5[_0x3655e0(0x11b)],_0x550fb5),this[_0x3655e0(0xd2)]();}['removeMember'](_0x5085f0){var _0x369831=_0x3f2c0d;this['_members'][_0x369831(0x1ce)](_0x5085f0);}[_0x3f2c0d(0x17f)](_0x74784a){var _0x131c35=_0x3f2c0d;return this[_0x131c35(0x1d9)]['get'](_0x74784a);}[_0x3f2c0d(0x1ca)](){var _0x5dc257=_0x3f2c0d;return Array[_0x5dc257(0x255)](this[_0x5dc257(0x1d9)][_0x5dc257(0x2ec)]());}[_0x3f2c0d(0xd2)](){var _0x2b13e4=_0x3f2c0d;this[_0x2b13e4(0x10d)][_0x2b13e4(0x1fe)](this[_0x2b13e4(0x1d9)]);}}var Gn=Object['getOwnPropertyDescriptor'],Wn=(_0x4711d5,_0x511224,_0x42bce1,_0x4aa00d)=>{var _0x572724=_0x3f2c0d;for(var _0x1c11dd=_0x4aa00d>0x1?void 0x0:_0x4aa00d?Gn(_0x511224,_0x42bce1):_0x511224,_0x450c5c=_0x4711d5[_0x572724(0x245)]-0x1,_0x1eef49;_0x450c5c>=0x0;_0x450c5c--)(_0x1eef49=_0x4711d5[_0x450c5c])&&(_0x1c11dd=_0x1eef49(_0x1c11dd)||_0x1c11dd);return _0x1c11dd;},me=(_0x357002,_0x8a5781)=>(_0x5c0892,_0x3bdbad)=>_0x8a5781(_0x5c0892,_0x3bdbad,_0x357002),Ee=(_0x4dbe2c=>(_0x4dbe2c[_0x4dbe2c[_0x3f2c0d(0x305)]=0x0]=_0x3f2c0d(0x305),_0x4dbe2c[_0x4dbe2c[_0x3f2c0d(0x260)]=0x1]=_0x3f2c0d(0x260),_0x4dbe2c[_0x4dbe2c[_0x3f2c0d(0x338)]=0x2]=_0x3f2c0d(0x338),_0x4dbe2c[_0x4dbe2c['ONLINE']=0x3]=_0x3f2c0d(0x2c8),_0x4dbe2c))(Ee||{});const Kt={[ge[_0x3f2c0d(0x2bd)]]:_0x3f2c0d(0x97),[ge[_0x3f2c0d(0x2c7)]]:_0x3f2c0d(0x336),[ge[_0x3f2c0d(0x316)]]:'session.room-not-exists',[ge[_0x3f2c0d(0x1c9)]]:_0x3f2c0d(0x252),[ge[_0x3f2c0d(0x31a)]]:_0x3f2c0d(0x177)};let Et=class extends _0x15cca1{constructor(_0x2e2be1,_0x146333,_0x6b0e0c,_0xa7b7cd,_0x961cf4,_0x3da076,_0xae7d49,_0xcc28ac,_0x37fb16){var _0x3760d4=_0x3f2c0d;super(),N(this,_0x3760d4(0x362),new _0x3aeaa6(0x0)),N(this,_0x3760d4(0x19e),this[_0x3760d4(0x362)][_0x3760d4(0x2d1)]()),N(this,_0x3760d4(0x10f),new _0x2edf1f()),N(this,_0x3760d4(0xeb),this[_0x3760d4(0x10f)][_0x3760d4(0x2d1)]()),N(this,_0x3760d4(0x230)),N(this,_0x3760d4(0x235)),N(this,_0x3760d4(0x381)),N(this,_0x3760d4(0x183),!0x1),N(this,_0x3760d4(0x28f),null),(this['_unitID']=_0x2e2be1,this['_logService']=_0x6b0e0c,this[_0x3760d4(0x1be)]=_0xa7b7cd,this[_0x3760d4(0x29b)]=_0x961cf4,this[_0x3760d4(0x24e)]=_0x3da076,this[_0x3760d4(0x1b8)]=_0xae7d49,this[_0x3760d4(0x241)]=_0xcc28ac,this[_0x3760d4(0x162)]=_0x37fb16,this['_shouldReportTelemetry']=!!this[_0x3760d4(0x162)],_0x146333[_0x3760d4(0x353)](_0x2bd1de(this['dispose$']))[_0x3760d4(0xcc)](_0x5b38fe=>{var _0x4b69c3=_0x3760d4,_0x2533ca;typeof _0x5b38fe>'u'||(this[_0x4b69c3(0x230)]=_0x5b38fe,_0x5b38fe?(this[_0x4b69c3(0x2d4)](_0x5b38fe),this['_socketMessageSubscription']=_0x5b38fe[_0x4b69c3(0x2f2)]['subscribe'](_0x300a50=>{var _0xa57913=_0x4b69c3;_0x300a50[_0xa57913(0xb8)]===this['_unitID']&&this[_0xa57913(0x2d8)](_0x300a50);})):(this[_0x4b69c3(0x2bc)](),this[_0x4b69c3(0x362)]['next'](0x2),(_0x2533ca=this[_0x4b69c3(0x235)])==null||_0x2533ca[_0x4b69c3(0x37d)](),this[_0x4b69c3(0x235)]=null));}));}get[_0x3f2c0d(0x243)](){var _0x1cce12=_0x3f2c0d;return this[_0x1cce12(0x362)][_0x1cce12(0x232)]();}[_0x3f2c0d(0x160)](){var _0x41cba7=_0x3f2c0d,_0x27ca41,_0x288667;return(_0x288667=(_0x27ca41=this[_0x41cba7(0x230)])==null?void 0x0:_0x27ca41['memberID'])!=null?_0x288667:null;}[_0x3f2c0d(0x1da)](){var _0x38eca0=_0x3f2c0d;super[_0x38eca0(0x1da)](),this['dispose$'][_0x38eca0(0x1fe)](),this[_0x38eca0(0xd1)][_0x38eca0(0x2c5)]();}['close'](){var _0x4d100f=_0x3f2c0d,_0x55d268,_0x2037a5;this[_0x4d100f(0x2bc)](),(_0x55d268=this[_0x4d100f(0x230)])==null||_0x55d268[_0x4d100f(0x221)]({'cmd':F['LEAVE'],'data':{'roomID':this[_0x4d100f(0x1d3)]}}),(_0x2037a5=this[_0x4d100f(0x230)])==null||_0x2037a5[_0x4d100f(0x310)](),this[_0x4d100f(0x10f)][_0x4d100f(0x2c5)](),this[_0x4d100f(0x362)][_0x4d100f(0x2c5)](),this[_0x4d100f(0x1da)]();}[_0x3f2c0d(0x2d8)](_0x5ace3c){var _0x3236fc=_0x3f2c0d;_0x5ace3c[_0x3236fc(0xa4)]===F[_0x3236fc(0x347)]?this[_0x3236fc(0x339)](_0x5ace3c):_0x5ace3c[_0x3236fc(0xa4)]===F[_0x3236fc(0x2df)]&&this[_0x3236fc(0x28a)](_0x5ace3c);}[_0x3f2c0d(0x2d4)](_0x4e90ff){var _0x309156=_0x3f2c0d;this[_0x309156(0x362)][_0x309156(0x1fe)](0x1),_0x4e90ff['send']({'cmd':F['JOIN'],'routeKey':this['_unitID'],'routeType':'','data':{'rooms':[{'roomID':this[_0x309156(0x1d3)]}]}});}[_0x3f2c0d(0x339)](_0x19205f){var _0x4668c8=_0x3f2c0d,_0x13d71c;if(_0x19205f[_0x4668c8(0x12c)]in Kt){this[_0x4668c8(0x241)][_0x4668c8(0x22a)]({'id':re[_0x4668c8(0x198)],'data':Kt[_0x19205f[_0x4668c8(0x12c)]]}),this[_0x4668c8(0x362)][_0x4668c8(0x1fe)](0x2);return;}this[_0x4668c8(0x362)][_0x4668c8(0x1fe)](0x3);const _0x55478e=(_0x13d71c=_0x19205f['data'][_0x4668c8(0x1f0)][this[_0x4668c8(0x1d3)]])==null?void 0x0:_0x13d71c[_0x4668c8(0x1df)];_0x55478e&&_0x55478e[_0x4668c8(0x383)](_0x15ce1f=>this[_0x4668c8(0x24e)][_0x4668c8(0x25f)](this[_0x4668c8(0x1d3)],_0x15ce1f));}['_onRecvEvent'](_0x987764){var _0x4bfbe9=_0x3f2c0d;try{const _0x311af1=_0x987764['data'];switch(_0x311af1[_0x4bfbe9(0x247)]){case _0x2d6633[_0x4bfbe9(0x156)]:this[_0x4bfbe9(0x225)](_0x311af1),this[_0x4bfbe9(0x10f)][_0x4bfbe9(0x1fe)](_0x311af1);break;case _0x2d6633[_0x4bfbe9(0x94)]:this[_0x4bfbe9(0x33e)](_0x311af1),this[_0x4bfbe9(0x10f)][_0x4bfbe9(0x1fe)](_0x311af1);break;case _0x2d6633[_0x4bfbe9(0x350)]:case _0x2d6633[_0x4bfbe9(0x2e8)]:this[_0x4bfbe9(0x250)](),this[_0x4bfbe9(0x96)](),this[_0x4bfbe9(0x10f)][_0x4bfbe9(0x1fe)](_0x311af1);break;case _0x2d6633[_0x4bfbe9(0x1dd)]:this['_logService'][_0x4bfbe9(0x34c)](_0x4bfbe9(0x218)+JSON[_0x4bfbe9(0x273)](_0x311af1)),this['_event$']['next'](_0x311af1);break;case _0x2d6633[_0x4bfbe9(0x293)]:this[_0x4bfbe9(0x1b8)]['onCommentUpdate'](_0x311af1['data']),this[_0x4bfbe9(0x10f)][_0x4bfbe9(0x1fe)](_0x311af1);break;default:this[_0x4bfbe9(0x10f)][_0x4bfbe9(0x1fe)](_0x311af1);}}catch(_0x5eea61){this['_logService']['error'](_0x5eea61,_0x987764);}}['_onUserJoin'](_0xb9665d){var _0x33ba89=_0x3f2c0d;this[_0x33ba89(0x24e)][_0x33ba89(0x25f)](this[_0x33ba89(0x1d3)],_0xb9665d[_0x33ba89(0x141)]);}[_0x3f2c0d(0x33e)](_0x314fc8){var _0x598906=_0x3f2c0d;this[_0x598906(0x24e)]['removeMember'](this[_0x598906(0x1d3)],_0x314fc8[_0x598906(0x141)][_0x598906(0x11b)]);}async[_0x3f2c0d(0x221)](_0x29a898,_0x2de954){var _0x7dfb11=_0x3f2c0d;if(this[_0x7dfb11(0x243)]!==0x3||!this[_0x7dfb11(0x230)])throw new Error(_0x7dfb11(0x173));try{_0x29a898['eventID']===_0x2d6633['SUBMIT_CHANGESET']&&(this[_0x7dfb11(0x1ae)](),this[_0x7dfb11(0x29c)](_0x29a898)),this['_socket'][_0x7dfb11(0x221)]({'cmd':F[_0x7dfb11(0x19a)],'routeKey':_0x2de954,'routeType':'','data':_0x29a898});}catch(_0x1e7a2b){this['_logService'][_0x7dfb11(0x34c)](_0x1e7a2b);}}[_0x3f2c0d(0x1ae)](){var _0x19911e=_0x3f2c0d,_0x2063bf;this[_0x19911e(0x381)]=setTimeout(()=>{var _0x58ccf1=_0x19911e;this[_0x58ccf1(0x381)]=null,this['_collaborationUIEventService'][_0x58ccf1(0x22a)]({'id':re[_0x58ccf1(0x272)]});},(_0x2063bf=this[_0x19911e(0x1be)][_0x19911e(0x172)](mi))!=null?_0x2063bf:gi);}['_clearCollaborationTimeoutTimer'](){var _0x500868=_0x3f2c0d;this[_0x500868(0x381)]&&(clearTimeout(this[_0x500868(0x381)]),this[_0x500868(0x381)]=null);}[_0x3f2c0d(0x29c)](_0x27cea1){var _0x1d4032=_0x3f2c0d;if(!this['_shouldReportTelemetry'])return;const {data:_0x57ed77}=_0x27cea1,{unitID:_0x31891b,changeset:_0x256080}=_0x57ed77,{mutations:_0x6ca12e,type:_0x4aaf25}=_0x256080;this[_0x1d4032(0x28f)]={'unitId':_0x31891b,'type':_0x4aaf25,'startTime':performance[_0x1d4032(0xb2)](),'stopTime':0x0,'duration':0x0,'size':Bn(_0x6ca12e)};}[_0x3f2c0d(0x250)](){var _0x1d3476=_0x3f2c0d;if(this[_0x1d3476(0x183)]){if(!this[_0x1d3476(0x28f)]){this['_logService'][_0x1d3476(0x34c)](_0x1d3476(0x206),_0x1d3476(0x23f));return;}this['_telemetryInfo']['stopTime']=performance['now'](),this[_0x1d3476(0x28f)][_0x1d3476(0x254)]=this[_0x1d3476(0x28f)]['stopTime']-this['_telemetryInfo'][_0x1d3476(0x10c)],this['_telemetryService']['capture'](Hn,this['_telemetryInfo']),this[_0x1d3476(0x28f)]=null;}}['_throwTelemetryCollaborationNewChangeset'](){var _0x31750a=_0x3f2c0d;this[_0x31750a(0x28f)]=null;}};Et=Wn([me(0x2,_0x1160a0),me(0x3,_0x3686af),me(0x4,_0x267554(_0x71645e)),me(0x5,_0x267554(Le)),me(0x6,_0x267554(Ti)),me(0x7,_0x267554(pe)),me(0x8,_0x309f63(_0x2695c1))],Et);var Kn=Object[_0x3f2c0d(0x1e7)],Yn=(_0x1db7dd,_0x448beb,_0x21667a,_0x3f0160)=>{for(var _0x4e3a50=_0x3f0160>0x1?void 0x0:_0x3f0160?Kn(_0x448beb,_0x21667a):_0x448beb,_0x512ca0=_0x1db7dd['length']-0x1,_0x15bb83;_0x512ca0>=0x0;_0x512ca0--)(_0x15bb83=_0x1db7dd[_0x512ca0])&&(_0x4e3a50=_0x15bb83(_0x4e3a50)||_0x4e3a50);return _0x4e3a50;},be=(_0x12b69c,_0x1cb4df)=>(_0x32c3f1,_0x551887)=>_0x1cb4df(_0x32c3f1,_0x551887,_0x12b69c);let xe=class extends _0x5f4fc9{constructor(_0x18e121,_0xf7868d,_0x5ca6c8,_0x51277c,_0x3ff3f9,_0x50cbb6){var _0x5781eb=_0x3f2c0d;super(),N(this,_0x5781eb(0x21b),new _0x3aeaa6(void 0x0)),N(this,'socket$',this[_0x5781eb(0x21b)][_0x5781eb(0x2d1)]()),N(this,'_candidateSocket',null),N(this,'_sessions',new Map()),N(this,'_status$',new _0x3aeaa6(Ee[_0x5781eb(0x305)])),N(this,_0x5781eb(0x2aa),this[_0x5781eb(0x36f)][_0x5781eb(0x2d1)]()),N(this,_0x5781eb(0x32b),!0x1),N(this,_0x5781eb(0x30e)),N(this,_0x5781eb(0x284),0x0),N(this,_0x5781eb(0x1e6)),N(this,_0x5781eb(0x1e8)),(this[_0x5781eb(0xd5)]=_0x18e121,this[_0x5781eb(0x214)]=_0xf7868d,this[_0x5781eb(0x1be)]=_0x5ca6c8,this[_0x5781eb(0x325)]=_0x51277c,this[_0x5781eb(0x241)]=_0x3ff3f9,this[_0x5781eb(0x2b2)]=_0x50cbb6,this[_0x5781eb(0x169)]());}get['_socket'](){var _0x2b098c=_0x3f2c0d;return this[_0x2b098c(0x21b)][_0x2b098c(0x232)]();}['_listenToNetworkCondition'](){var _0x5a2433=_0x3f2c0d;this[_0x5a2433(0x2b2)]&&this[_0x5a2433(0x1c5)](this[_0x5a2433(0x2b2)][_0x5a2433(0x32f)][_0x5a2433(0xcc)](_0x589f77=>{var _0x51284e=_0x5a2433;_0x589f77&&!this[_0x51284e(0x230)]&&this[_0x51284e(0xc1)](),_0x589f77||this[_0x51284e(0x372)]();}));}[_0x3f2c0d(0x1da)](){var _0x4cbfdf=_0x3f2c0d;super[_0x4cbfdf(0x1da)](),this[_0x4cbfdf(0xba)](),this['_clearTimeoutTimer'](),this['_clearHeartbeatTimer'](),this['_sessions'][_0x4cbfdf(0x383)](_0x3c4b2e=>_0x3c4b2e[_0x4cbfdf(0x1da)]()),this[_0x4cbfdf(0x166)][_0x4cbfdf(0x119)](),this[_0x4cbfdf(0x36f)]['complete']();}async[_0x3f2c0d(0x112)](_0x39906b){var _0x225bc4=_0x3f2c0d;if(this['_sessions'][_0x225bc4(0x212)](_0x39906b))return this['_sessions'][_0x225bc4(0x12a)](_0x39906b);this[_0x225bc4(0x2a6)]();const _0x342cce=this[_0x225bc4(0xd5)][_0x225bc4(0x326)](Et,_0x39906b,this['_socket$']['asObservable']());return this[_0x225bc4(0x166)][_0x225bc4(0x37a)](_0x39906b,_0x342cce),_0x342cce;}[_0x3f2c0d(0x263)](_0x4e52e1){var _0x16d180=_0x3f2c0d,_0x21d167;const _0x403861=this['_sessions'][_0x16d180(0x12a)](_0x4e52e1);_0x403861&&(this['_sessions'][_0x16d180(0x1ce)](_0x4e52e1),_0x403861[_0x16d180(0x310)]()),this[_0x16d180(0x166)][_0x16d180(0x2be)]||(_0x21d167=this[_0x16d180(0x230)])==null||_0x21d167['close']();}[_0x3f2c0d(0xc1)](){var _0x37a83d=_0x3f2c0d;this[_0x37a83d(0x284)]=0x0,this[_0x37a83d(0xba)](),this[_0x37a83d(0x35e)]();}[_0x3f2c0d(0xba)](){var _0x411407=_0x3f2c0d;this[_0x411407(0x30e)]!=null&&(clearTimeout(this[_0x411407(0x30e)]),this['_retryConnectingTimer']=null);}async[_0x3f2c0d(0x26d)](){var _0x711e08=_0x3f2c0d,_0x29bc04,_0x3c3e03;const _0x5e3bf8=this[_0x711e08(0x1be)][_0x711e08(0x172)](In),_0x2f3583=this[_0x711e08(0x1be)][_0x711e08(0x172)](q),_0x2076a9=(_0x3c3e03=(_0x29bc04=_0x2f3583==null?void 0x0:_0x2f3583[_0x711e08(0x17d)])!=null?_0x29bc04:_0x5e3bf8)!=null?_0x3c3e03:Tn,_0x3af46e=await this[_0x711e08(0x325)]['createSocket'](_0x2076a9);return this[_0x711e08(0x2e9)]=_0x3af46e,_0x3af46e;}async[_0x3f2c0d(0x2a6)](){var _0x448bde=_0x3f2c0d,_0x372bc5,_0xf9caf7;try{const _0x1419e5=(_0xf9caf7=(_0x372bc5=this[_0x448bde(0x230)])!=null?_0x372bc5:this['_candidateSocket'])!=null?_0xf9caf7:await this[_0x448bde(0x26d)]();if(_0x1419e5){const _0x3c2be4=_0x1419e5['send'];_0x1419e5['send']=_0x2aadaf=>(this[_0x448bde(0x355)](),_0x3c2be4['apply'](_0x1419e5,[_0x2aadaf])),_0x1419e5[_0x448bde(0x2f2)]['subscribe'](_0x134c7f=>this['_onMessage'](_0x1419e5,_0x134c7f)),_0x1419e5[_0x448bde(0x161)][_0x448bde(0x353)](_0x34f39a(0x1))[_0x448bde(0xcc)](_0x4b8096=>this[_0x448bde(0x214)][_0x448bde(0x34c)](_0x448bde(0x282),_0x4b8096)),_0x1419e5['open$'][_0x448bde(0x353)](_0x34f39a(0x1))['subscribe'](()=>{this['_onConnectionOpen'](_0x1419e5);}),_0x1419e5[_0x448bde(0x2fc)]['pipe'](_0x34f39a(0x1))[_0x448bde(0xcc)](_0x509291=>{var _0xe3c361=_0x448bde;this[_0xe3c361(0x214)][_0xe3c361(0x32c)](_0xe3c361(0xe2),'socket\x20close',_0x509291),this[_0xe3c361(0x389)]();});}}catch(_0x47f66a){this[_0x448bde(0x214)][_0x448bde(0x34c)](_0x47f66a),this[_0x448bde(0x389)]();}}[_0x3f2c0d(0x178)](_0x2e5276){var _0x1f2125=_0x3f2c0d;this[_0x1f2125(0x214)][_0x1f2125(0x32c)](_0x1f2125(0xe2),_0x1f2125(0x38e)),_0x2e5276['send']({'cmd':F[_0x1f2125(0x264)]}),this[_0x1f2125(0x355)]();}['_onOffline'](){var _0x3575ca=_0x3f2c0d;this[_0x3575ca(0x32b)]=!0x1,this[_0x3575ca(0x2e9)]=null,this[_0x3575ca(0x36f)]['next'](Ee[_0x3575ca(0x338)]),this[_0x3575ca(0x21b)]['next'](null),this['_clearTimeoutTimer'](),this[_0x3575ca(0x130)]();}[_0x3f2c0d(0x389)](){var _0x5ecff0=_0x3f2c0d,_0x484364;this['_onOffline'](),this['_retryCount']<((_0x484364=this['_configService'][_0x5ecff0(0x172)](yn))!=null?_0x484364:On)?(this[_0x5ecff0(0x241)][_0x5ecff0(0x22a)]({'id':re[_0x5ecff0(0xa5)]}),this['_tryReconnect']()):this[_0x5ecff0(0x241)][_0x5ecff0(0x22a)]({'id':re['SOCKET_FAILED']});}['_tryReconnect'](){var _0x138778=_0x3f2c0d,_0x58da03;const _0x3c35fd=this[_0x138778(0x284)],_0xe2f25d=this['_configService'][_0x138778(0x172)](q),_0x53166b=_0x3c35fd===0x0?0x0:((_0x58da03=_0xe2f25d==null?void 0x0:_0xe2f25d[_0x138778(0x34f)])!=null?_0x58da03:bn)*0x2**_0x3c35fd;this[_0x138778(0x30e)]=setTimeout(()=>{var _0x163d74=_0x138778;clearTimeout(this[_0x163d74(0x30e)]),this['_retryConnectingTimer']=null,this[_0x163d74(0x2a6)]();},_0x53166b),this[_0x138778(0x284)]+=0x1;}['_onMessage'](_0xa0df2f,_0x26dbcd){var _0x15a3db=_0x3f2c0d;const {cmd:_0x1fb0bf}=_0x26dbcd;_0x1fb0bf===F[_0x15a3db(0x264)]&&!this[_0x15a3db(0x32b)]&&(_0xa0df2f[_0x15a3db(0x11b)]=_0x26dbcd[_0x15a3db(0x141)][_0x15a3db(0x11b)],this[_0x15a3db(0x21b)][_0x15a3db(0x1fe)](_0xa0df2f),this[_0x15a3db(0x36f)][_0x15a3db(0x1fe)](Ee[_0x15a3db(0x2c8)]),this['_socketReady']=!0x0,this['_candidateSocket']=null),_0x1fb0bf===F[_0x15a3db(0x13f)]&&this[_0x15a3db(0x2b7)](),this['_rescheduleHeartbeat']();}[_0x3f2c0d(0x355)](){var _0x4a17e0=_0x3f2c0d,_0x5543b8;this[_0x4a17e0(0x130)](),this['_sendHeartbeatTimer']=setTimeout(()=>this[_0x4a17e0(0x1fd)](),(_0x5543b8=this['_configService'][_0x4a17e0(0x172)](Cn))!=null?_0x5543b8:Rn);}[_0x3f2c0d(0x1fd)](){var _0x42e9eb=_0x3f2c0d;this[_0x42e9eb(0x230)][_0x42e9eb(0x221)]({'cmd':F['HEARTBEAT']}),this[_0x42e9eb(0x359)]();}[_0x3f2c0d(0x359)](){var _0x5a7a7b=_0x3f2c0d,_0x2eaeaf;this['_timeoutTimer']=setTimeout(()=>this['_onConnectionFailed'](),(_0x2eaeaf=this[_0x5a7a7b(0x1be)][_0x5a7a7b(0x172)](mi))!=null?_0x2eaeaf:gi);}[_0x3f2c0d(0x130)](){var _0x271ca7=_0x3f2c0d;this['_sendHeartbeatTimer']!=null&&(clearTimeout(this['_sendHeartbeatTimer']),this[_0x271ca7(0x1e6)]=null);}[_0x3f2c0d(0x2b7)](){var _0x42f772=_0x3f2c0d;this[_0x42f772(0x1e8)]!=null&&(clearTimeout(this['_timeoutTimer']),this[_0x42f772(0x1e8)]=null);}};xe=Yn([be(0x0,_0x267554(_0x56056f)),be(0x1,_0x1160a0),be(0x2,_0x3686af),be(0x3,Ii),be(0x4,_0x267554(pe)),be(0x5,_0x309f63(Pn))],xe);const V=[];for(let t=0x0;t<0x100;++t)V['push']((t+0x100)[_0x3f2c0d(0x179)](0x10)[_0x3f2c0d(0x1a4)](0x1));function qn(_0x41b116,_0x1156cc=0x0){var _0x1e563f=_0x3f2c0d;return(V[_0x41b116[_0x1156cc+0x0]]+V[_0x41b116[_0x1156cc+0x1]]+V[_0x41b116[_0x1156cc+0x2]]+V[_0x41b116[_0x1156cc+0x3]]+'-'+V[_0x41b116[_0x1156cc+0x4]]+V[_0x41b116[_0x1156cc+0x5]]+'-'+V[_0x41b116[_0x1156cc+0x6]]+V[_0x41b116[_0x1156cc+0x7]]+'-'+V[_0x41b116[_0x1156cc+0x8]]+V[_0x41b116[_0x1156cc+0x9]]+'-'+V[_0x41b116[_0x1156cc+0xa]]+V[_0x41b116[_0x1156cc+0xb]]+V[_0x41b116[_0x1156cc+0xc]]+V[_0x41b116[_0x1156cc+0xd]]+V[_0x41b116[_0x1156cc+0xe]]+V[_0x41b116[_0x1156cc+0xf]])[_0x1e563f(0x315)]();}let ut;const zn=new Uint8Array(0x10);function Jn(){var _0x121eda=_0x3f2c0d;if(!ut){if(typeof crypto>'u'||!crypto['getRandomValues'])throw new Error(_0x121eda(0x153));ut=crypto[_0x121eda(0x37f)][_0x121eda(0x29d)](crypto);}return ut(zn);}const Xn=typeof crypto<'u'&&crypto[_0x3f2c0d(0xee)]&&crypto[_0x3f2c0d(0xee)][_0x3f2c0d(0x29d)](crypto),Yt={'randomUUID':Xn};function Zn(_0x4f60e0,_0x31efe3,_0x4a5e83){var _0x49c805=_0x3f2c0d,_0x44cbdd,_0x283713,_0x511e9f;if(Yt[_0x49c805(0xee)]&&!_0x4f60e0)return Yt[_0x49c805(0xee)]();_0x4f60e0=_0x4f60e0||{};const _0x5028ea=(_0x511e9f=(_0x283713=_0x4f60e0[_0x49c805(0x2f0)])!=null?_0x283713:(_0x44cbdd=_0x4f60e0['rng'])==null?void 0x0:_0x44cbdd[_0x49c805(0x24f)](_0x4f60e0))!=null?_0x511e9f:Jn();if(_0x5028ea[_0x49c805(0x245)]<0x10)throw new Error(_0x49c805(0x155));return _0x5028ea[0x6]=_0x5028ea[0x6]&0xf|0x40,_0x5028ea[0x8]=_0x5028ea[0x8]&0x3f|0x80,qn(_0x5028ea);}const J=_0x140674(_0x3f2c0d(0x261));function Br(_0x257364){var _0x1f70f7=_0x3f2c0d;return _0x1f70f7(0x320)+_0x257364;}var Qn=Object[_0x3f2c0d(0x1e7)],es=(_0x1d2ead,_0x25546f,_0x39962e,_0x56f7aa)=>{var _0x1fabd7=_0x3f2c0d;for(var _0x22c1b5=_0x56f7aa>0x1?void 0x0:_0x56f7aa?Qn(_0x25546f,_0x39962e):_0x25546f,_0x55c729=_0x1d2ead[_0x1fabd7(0x245)]-0x1,_0x191b88;_0x55c729>=0x0;_0x55c729--)(_0x191b88=_0x1d2ead[_0x55c729])&&(_0x22c1b5=_0x191b88(_0x22c1b5)||_0x22c1b5);return _0x22c1b5;},dt=(_0x7d4357,_0x5d93af)=>(_0x4edbbe,_0x1ee442)=>_0x5d93af(_0x4edbbe,_0x1ee442,_0x7d4357);function ts(_0x13c421){var _0x59e6=_0x3f2c0d;const {unitID:_0x21f52d,mutations:_0x2f1fa8}=_0x13c421;return{'unitId':_0x21f52d,'subUnitId':_0x2f1fa8[0x0][_0x59e6(0x2f8)][_0x59e6(0x9f)]};}let it=class{constructor(_0x54d8f9,_0x3a52c3,_0x2688aa){var _0x3ef36b=_0x3f2c0d;this[_0x3ef36b(0xd5)]=_0x54d8f9,this[_0x3ef36b(0x190)]=_0x3a52c3,this['_instanceService']=_0x2688aa;}[_0x3f2c0d(0xed)](_0x471bc0){var _0x441589=_0x3f2c0d,_0x245052,_0x4fd08c,_0x590d7f,_0x25ac92;const _0x32f43f=this[_0x441589(0xd5)]['get'](_0x346ccf),{unitId:_0x4c2538,subUnitId:_0x4853ba}=ts(_0x471bc0),_0x328d75=_0x32f43f==null?void 0x0:_0x32f43f['getWorkbookSelections'](_0x4c2538)[_0x441589(0x195)](),_0x4b6f7e=(_0x4fd08c=(_0x245052=this[_0x441589(0x238)][_0x441589(0x233)](_0x4c2538))==null?void 0x0:_0x245052[_0x441589(0x388)]())==null?void 0x0:_0x4fd08c[_0x441589(0x227)]();if(_0x328d75[_0x441589(0x245)]===0x0||!_0x4c2538||!_0x4853ba)return;const _0x456df1=[{'id':_0x500a96['id'],'params':{'unitId':_0x4c2538,'subUnitId':_0x4b6f7e,'selections':_0x4a9a03[_0x441589(0x285)](_0x328d75)}}],_0x5e6750=this[_0x441589(0x190)][_0x441589(0x16a)](_0x471bc0,_0x456df1);if(!_0x472d6a(_0x5e6750))throw _0x5e6750['error'];const _0x451655=(_0x25ac92=(_0x590d7f=_0x5e6750[_0x441589(0x144)][0x0])==null?void 0x0:_0x590d7f[_0x441589(0x2f8)])==null?void 0x0:_0x25ac92[_0x441589(0xe1)];if(Array[_0x441589(0x25c)](_0x451655)&&_0x451655[_0x441589(0x245)]){if(_0x451655[_0x441589(0x245)]===_0x456df1[0x0][_0x441589(0x2f8)][_0x441589(0xe1)]['length']&&_0x451655[_0x441589(0x2c1)]((_0xfcf027,_0x5a140d)=>_0x4679f6[_0x441589(0x1c7)](_0xfcf027[_0x441589(0x1d5)],_0x456df1[0x0][_0x441589(0x2f8)][_0x441589(0xe1)][_0x5a140d][_0x441589(0x1d5)])))return;this[_0x441589(0xd5)]['get'](_0x2a3321)['executeCommand'](_0x500a96['id'],{'unitId':_0x4c2538,'subUnitId':_0x4b6f7e,'selections':_0x451655});}}};it=es([dt(0x0,_0x267554(_0x56056f)),dt(0x1,_0x271d49),dt(0x2,_0x4031a5)],it);const ht=_0x140674('univer-pro.collaboration-client.single-active-unit-service');var Ci=(_0x5e7287=>(_0x5e7287[_0x5e7287[_0x3f2c0d(0x1ba)]=0x0]=_0x3f2c0d(0x1ba),_0x5e7287[_0x5e7287[_0x3f2c0d(0x340)]=0x1]='OTHER_CLIENTS_EDITING',_0x5e7287))(Ci||{});const is=new Set([_0x3615ce['id']]);function qt(_0x1514d2,_0x5512d6,_0x3ecd41,_0x5a51c6,_0x3b7915){var _0x26921a=_0x3f2c0d,_0x24943f,_0x2a2c99,_0x5841f9,_0xbd792e;const _0x109c2a=[];for(const _0x1d9d29 of _0x1514d2)if(is[_0x26921a(0x212)](_0x1d9d29['id'])){if(_0x109c2a[_0x26921a(0x245)]>0x0)break;_0x109c2a[_0x26921a(0x13c)](_0x1d9d29);break;}else _0x109c2a['push'](_0x1d9d29);const _0x75b6b6=(_0x2a2c99=(_0x24943f=_0x3b7915[_0x26921a(0x268)]())==null?void 0x0:_0x24943f[_0x26921a(0x170)])!=null?_0x2a2c99:_0x26921a(0x2cd),_0x44e69c=(_0xbd792e=(_0x5841f9=_0x3b7915[_0x26921a(0x268)]())==null?void 0x0:_0x5841f9[_0x26921a(0x11b)])!=null?_0xbd792e:'unknown';return{'changeset':{'unitID':_0x5512d6,'type':_0x49695a(_0x3ecd41[_0x26921a(0x2d2)](_0x5512d6)),'baseRev':_0x5a51c6[_0x26921a(0x15c)](_0x5512d6),'revision':0x0,'userID':_0x75b6b6,'memberID':_0x44e69c,'mutations':_0x109c2a},'pendingMutations':_0x1514d2[_0x26921a(0x1a4)](_0x109c2a[_0x26921a(0x245)])};}function ns(_0x43accc,_0x527df2,_0x45201c,_0x5b933a,_0xee6ad2){var _0x3de0d1=_0x3f2c0d,_0x8ae630,_0x3175da,_0x9202bc,_0x3620f6;const _0x5090c1=[_0x43accc[_0x3de0d1(0x30a)]((_0x267cb5,_0x546efe)=>{var _0x6afde7=_0x3de0d1,_0x14b0ee;const {id:_0x31be8d}=_0x267cb5,{id:_0x28e6b5,type:_0x3f6f0a}=_0x546efe,_0x12498d=(_0x14b0ee=_0x267cb5[_0x6afde7(0x2f8)])!=null?_0x14b0ee:{'actions':null},_0x4774d2=_0x546efe[_0x6afde7(0x2f8)];if(_0x31be8d&&_0x31be8d!==_0x28e6b5)throw new Error(_0x6afde7(0x116)+_0x31be8d+_0x6afde7(0x104)+_0x28e6b5+'.');return{..._0x267cb5,'id':_0x28e6b5,'type':_0x3f6f0a,'params':{'unitId':_0x4774d2['unitId'],'textRanges':_0x4774d2[_0x6afde7(0x33a)],'actions':_0x5e970c[_0x6afde7(0x2dc)](_0x12498d[_0x6afde7(0x1ff)],_0x4774d2[_0x6afde7(0x1ff)])}};},{})],_0x58da6b=(_0x3175da=(_0x8ae630=_0xee6ad2[_0x3de0d1(0x268)]())==null?void 0x0:_0x8ae630[_0x3de0d1(0x170)])!=null?_0x3175da:_0x3de0d1(0x2cd),_0x3d4383=(_0x3620f6=(_0x9202bc=_0xee6ad2['getCurrentUser']())==null?void 0x0:_0x9202bc['memberID'])!=null?_0x3620f6:_0x3de0d1(0x2cd);return{'changeset':{'unitID':_0x527df2,'type':_0x49695a(_0x45201c[_0x3de0d1(0x2d2)](_0x527df2)),'baseRev':_0x5b933a[_0x3de0d1(0x15c)](_0x527df2),'revision':0x0,'userID':_0x58da6b,'memberID':_0x3d4383,'mutations':_0x5090c1},'pendingMutations':[]};}function _0x5a2d(_0xb44286,_0xcbeec9){var _0x24dfa2=_0x24df();return _0x5a2d=function(_0x5a2dd4,_0x390584){_0x5a2dd4=_0x5a2dd4-0x93;var _0x1b764d=_0x24dfa2[_0x5a2dd4];return _0x1b764d;},_0x5a2d(_0xb44286,_0xcbeec9);}function Ri(_0x338de4,_0x37ee7f){var _0x2ea566=_0x3f2c0d;const _0xf15083=new _0x4b9eeb(0x1);return setTimeout(()=>_0xf15083['next'](_0x37ee7f),_0x338de4),_0xf15083[_0x2ea566(0x2d1)]()['pipe'](_0x43e130(0x1));}const ss={'id':_0x2b11b5['id'],'type':_0x4d1941['MUTATION'],'params':{}};var rs=Object['getOwnPropertyDescriptor'],Te=(_0xa23570,_0x8a210d,_0x4f74c5,_0x371bea)=>{var _0x11e637=_0x3f2c0d;for(var _0x30db29=_0x371bea>0x1?void 0x0:_0x371bea?rs(_0x8a210d,_0x4f74c5):_0x8a210d,_0x12cda9=_0xa23570[_0x11e637(0x245)]-0x1,_0x38de87;_0x12cda9>=0x0;_0x12cda9--)(_0x38de87=_0xa23570[_0x12cda9])&&(_0x30db29=_0x38de87(_0x30db29)||_0x30db29);return _0x30db29;},P=(_0xe6e567,_0x237443)=>(_0x259a11,_0x246937)=>_0x237443(_0x259a11,_0x246937,_0xe6e567),bi=(_0x1d6c05=>(_0x1d6c05[_0x3f2c0d(0x20a)]=_0x3f2c0d(0x13d),_0x1d6c05[_0x3f2c0d(0x12e)]='synced',_0x1d6c05['PENDING']=_0x3f2c0d(0x237),_0x1d6c05[_0x3f2c0d(0x38b)]=_0x3f2c0d(0x1ab),_0x1d6c05['AWAITING_WITH_PENDING']=_0x3f2c0d(0x356),_0x1d6c05[_0x3f2c0d(0xab)]=_0x3f2c0d(0x1ac),_0x1d6c05['CONFLICT']=_0x3f2c0d(0x248),_0x1d6c05[_0x3f2c0d(0x338)]=_0x3f2c0d(0x111),_0x1d6c05))(bi||{});const yi=0xea60;class Ce{constructor(_0x1e4cd7,_0x5baad2,_0x14b1dc,_0x29e398,_0x18f611,_0x44ab6c,_0x947f3c,_0x45ae79,_0x4eed29){var _0x27a00c=_0x3f2c0d;N(this,'_awaitingChangeset',null),N(this,_0x27a00c(0x9a),[]),(this[_0x27a00c(0x17b)]=_0x1e4cd7,this[_0x27a00c(0x29e)]=_0x5baad2,this[_0x27a00c(0xad)]=_0x18f611,this[_0x27a00c(0x147)]=_0x44ab6c,this['_undoRedoService']=_0x947f3c,this[_0x27a00c(0x27a)]=_0x45ae79,this[_0x27a00c(0x1db)]=_0x4eed29,this[_0x27a00c(0x23e)]=_0x14b1dc,this[_0x27a00c(0x9a)]=_0x29e398);}[_0x3f2c0d(0x2f6)](_0x5265ad){var _0x2c3d9a=_0x3f2c0d;const _0x2b637a=this[_0x2c3d9a(0x27a)][_0x2c3d9a(0x15c)](this[_0x2c3d9a(0x17b)]);return _0x5265ad[_0x2c3d9a(0x2c3)]>_0x2b637a+0x1?(this[_0x2c3d9a(0xad)][_0x2c3d9a(0x2e5)]({'from':_0x2b637a,'to':_0x5265ad[_0x2c3d9a(0x2c3)]-0x1}),!0x0):!0x1;}['_transformUndoredo'](_0x259af0){var _0x207828=_0x3f2c0d;this['_undoRedoService']['transformUndoRedo'](this[_0x207828(0x17b)],_0x259af0);}[_0x3f2c0d(0x37b)](_0x468e66){var _0x59f1a1=_0x3f2c0d,_0x59cb03,_0x3657d6;(_0x3657d6=(_0x59cb03=this[_0x59f1a1(0xad)])[_0x59f1a1(0x35a)])==null||_0x3657d6[_0x59f1a1(0x24f)](_0x59cb03,_0x468e66);}[_0x3f2c0d(0x2a9)](_0x43378c){var _0x5b9884=_0x3f2c0d,_0xed9843,_0x2fd993;return(_0x2fd993=(_0xed9843=this[_0x5b9884(0xad)])[_0x5b9884(0xf0)])==null?void 0x0:_0x2fd993[_0x5b9884(0x24f)](_0xed9843,_0x43378c);}[_0x3f2c0d(0x20f)](_0x26a740){var _0x29c6ed=_0x3f2c0d,_0x3fac7d,_0x21edc7;return(_0x21edc7=(_0x3fac7d=this[_0x29c6ed(0xad)])[_0x29c6ed(0x202)])==null?void 0x0:_0x21edc7[_0x29c6ed(0x24f)](_0x3fac7d,_0x26a740);}['_transformRemoteChangesetByIMECache'](_0x46ed06){var _0x5d5c60=_0x3f2c0d,_0x386414,_0x1e5840,_0xc4ebd4;return(_0xc4ebd4=(_0x1e5840=(_0x386414=this[_0x5d5c60(0xad)])[_0x5d5c60(0x360)])==null?void 0x0:_0x1e5840[_0x5d5c60(0x24f)](_0x386414,_0x46ed06))!=null?_0xc4ebd4:_0x46ed06;}[_0x3f2c0d(0x267)](_0x4223ef){var _0x4be1ec=_0x3f2c0d,_0xf282bb,_0x2b90b6,_0xb0800d;return(_0xb0800d=(_0x2b90b6=(_0xf282bb=this[_0x4be1ec(0xad)])[_0x4be1ec(0x1cd)])==null?void 0x0:_0x2b90b6[_0x4be1ec(0x24f)](_0xf282bb,_0x4223ef))!=null?_0xb0800d:_0x4223ef;}[_0x3f2c0d(0xe4)](_0x455697){var _0x365cc0=_0x3f2c0d,_0x458782,_0x53d40b;if(this[_0x365cc0(0x29e)]===Q['UNIVER_DOC']){const {unitID:_0x2b1758,mutations:_0x34575a,memberID:_0x13d5af}=_0x455697,_0xe2a5a4=_0x34575a[0x0][_0x365cc0(0x2f8)][_0x365cc0(0x33a)];Array['isArray'](_0xe2a5a4)&&_0xe2a5a4[_0x365cc0(0x245)]>0x0&&((_0x53d40b=(_0x458782=this[_0x365cc0(0xad)])['onSyncEditingCollabCursor'])==null||_0x53d40b['call'](_0x458782,{'unitID':_0x2b1758,'memberID':_0x13d5af,'textRanges':_0xe2a5a4}));}}[_0x3f2c0d(0x34a)](){var _0x2b493d=_0x3f2c0d,_0x359f42;(_0x359f42=this[_0x2b493d(0x1db)])==null||_0x359f42[_0x2b493d(0x1e3)](this['unitID'],this[_0x2b493d(0x29e)],this[_0x2b493d(0x23e)],this[_0x2b493d(0x9a)]);}[_0x3f2c0d(0x1f3)](){var _0x5babea=_0x3f2c0d;return this['_revisionService'][_0x5babea(0x15c)](this[_0x5babea(0x17b)]);}['_incrementRevisionNumber'](){var _0x398742=_0x3f2c0d;this['_revisionService'][_0x398742(0x27b)](this['unitID']);}[_0x3f2c0d(0x2ed)](_0x51418d){var _0x370ff8=_0x3f2c0d,_0x400bfc;let _0x4d2776=this['_transformRemoteChangesetByIMECache'](_0x51418d);_0x4d2776=this[_0x370ff8(0x267)](_0x4d2776);const _0x24fc1a=_0x3eb387(_0x4d2776[_0x370ff8(0x10b)],this[_0x370ff8(0x147)],{'fromCollab':!0x0});if(!_0x24fc1a[_0x370ff8(0x26c)])throw _0x24fc1a[_0x370ff8(0x34c)]instanceof Error?_0x24fc1a['error']:new Error((_0x400bfc=_0x24fc1a['error'])!=null?_0x400bfc:_0x370ff8(0x19f));this[_0x370ff8(0x2a9)](_0x4d2776),this['_transformStateCache'](_0x4d2776),this['_transformUndoredo'](_0x51418d),this[_0x370ff8(0x37b)](_0x4d2776),this[_0x370ff8(0xe4)](_0x4d2776),this[_0x370ff8(0x2fa)]();}}let Ne=class extends Ce{constructor(_0x4e1651,_0x336e04,_0x5d3c04,_0xada556,_0x12a953,_0x58a512,_0x2f11a2,_0x3db81,_0x152a37,_0x10a235){var _0x4fc210=_0x3f2c0d;super(_0x4e1651,_0x336e04,null,[],_0x5d3c04,_0x2f11a2,_0x58a512,_0xada556,_0x10a235),N(this,_0x4fc210(0x295),_0x4fc210(0x1d0)),(this[_0x4fc210(0xd5)]=_0x12a953,this[_0x4fc210(0x214)]=_0x3db81,this[_0x4fc210(0x190)]=_0x152a37,this[_0x4fc210(0x13b)]=_0x10a235);}[_0x3f2c0d(0xf7)](_0x5e7b66){var _0x332ea5=_0x3f2c0d;const _0x50a8c8=this[_0x332ea5(0xd5)][_0x332ea5(0x326)](ae,this[_0x332ea5(0x17b)],this[_0x332ea5(0x29e)],[_0x5e7b66],this[_0x332ea5(0xad)]);return _0x50a8c8[_0x332ea5(0x2d6)](),_0x50a8c8[_0x332ea5(0x34a)](),_0x50a8c8;}[_0x3f2c0d(0x2cb)](_0x19d3c4){var _0x5e6d93=_0x3f2c0d;if(this[_0x5e6d93(0x2f6)](_0x19d3c4))return this[_0x5e6d93(0xd5)][_0x5e6d93(0x326)](ee,this['unitID'],this['type'],null,[],null,[_0x19d3c4],this['_handler']);try{const _0x1925fe=this[_0x5e6d93(0x190)][_0x5e6d93(0x16a)](_0x19d3c4,[ss]);if(_0x472d6a(_0x1925fe)){const {c1Prime:_0x6723bc}=_0x1925fe;return this[_0x5e6d93(0x2ed)](_0x6723bc),this;}throw _0x1925fe['error'];}catch(_0x428ccd){return this[_0x5e6d93(0x214)][_0x5e6d93(0x34c)](_0x428ccd),this['_onConflict'](!0x1);}}[_0x3f2c0d(0x332)](_0xd2e9da){var _0x4fbb9b=_0x3f2c0d;return this['_injector'][_0x4fbb9b(0x326)](ue,this['unitID'],this[_0x4fbb9b(0x29e)],null,[],this[_0x4fbb9b(0xad)],_0xd2e9da);}[_0x3f2c0d(0x28d)](){throw new Error('[SyncedState]:\x20received\x20acknowledgement.');}[_0x3f2c0d(0x33b)](){throw new Error('[SyncedState]:\x20received\x20rejection.');}[_0x3f2c0d(0x2f4)](){return this;}[_0x3f2c0d(0x148)](){var _0x20de00=_0x3f2c0d;return this[_0x20de00(0xd5)][_0x20de00(0x326)](de,this[_0x20de00(0x17b)],this['type'],null,[],this[_0x20de00(0xad)]);}['toggleOnline'](){return this;}[_0x3f2c0d(0x266)](){var _0x152d38=_0x3f2c0d;throw new Error(_0x152d38(0x2d7));}[_0x3f2c0d(0x2e6)](){var _0x3815ef=_0x3f2c0d;const _0x3683fd=this[_0x3815ef(0x27a)]['getCurrentRevOfUnit'](this[_0x3815ef(0x17b)]);return this[_0x3815ef(0xad)][_0x3815ef(0x2e5)]({'from':_0x3683fd,'to':0x0}),this[_0x3815ef(0xd5)][_0x3815ef(0x326)](ee,this[_0x3815ef(0x17b)],this['type'],null,[],null,[],this[_0x3815ef(0xad)]);}};Ne=Te([P(0x3,_0x267554(_0x52f995)),P(0x4,_0x267554(_0x56056f)),P(0x5,_0x422b82),P(0x6,_0x2a3321),P(0x7,_0x1160a0),P(0x8,_0x271d49),P(0x9,_0x309f63(J))],Ne);let ae=class extends Ce{constructor(_0x3136ef,_0x36684f,_0xe9aad0,_0x1b450b,_0x248d57,_0x48785a,_0x3f3ae2,_0x53e6ed,_0x55ef54,_0x93fd70,_0x335809,_0x2a417c,_0x80dc3b,_0xf66f56){var _0x1af92b=_0x3f2c0d;super(_0x3136ef,_0x36684f,null,_0xe9aad0,_0x1b450b,_0x55ef54,_0x80dc3b,_0x48785a,_0xf66f56),N(this,'status',_0x1af92b(0x237)),N(this,_0x1af92b(0x163),null),N(this,_0x1af92b(0xca),null),(this[_0x1af92b(0xd5)]=_0x248d57,this[_0x1af92b(0x24e)]=_0x3f3ae2,this[_0x1af92b(0x214)]=_0x53e6ed,this['_configService']=_0x93fd70,this['_transformService']=_0x335809,this['_univerInstanceService']=_0x2a417c);}[_0x3f2c0d(0xf7)](_0x54a617){var _0x5528d5=_0x3f2c0d;return this[_0x5528d5(0x9a)][_0x5528d5(0x13c)](_0x54a617),this['_updateLocalCache'](),this;}[_0x3f2c0d(0x2cb)](_0x44bc4b){var _0x74d7af=_0x3f2c0d;if(this[_0x74d7af(0x2f6)](_0x44bc4b))return this['_clearScheduledTask'](),this[_0x74d7af(0xd5)][_0x74d7af(0x326)](ee,this['unitID'],this[_0x74d7af(0x29e)],null,this['_pendingMutations'],null,[_0x44bc4b],this[_0x74d7af(0xad)]);try{const _0x40b0ec=this[_0x74d7af(0x190)]['transformMutationsWithChangeset'](_0x44bc4b,this[_0x74d7af(0x9a)]);if(_0x472d6a(_0x40b0ec)){const {c1Prime:_0x5b2d57,m2Prime:_0x49bb99}=_0x40b0ec;this[_0x74d7af(0x2ed)](_0x5b2d57);const _0x3094c2=this['_injector']['createInstance'](ae,this[_0x74d7af(0x17b)],this[_0x74d7af(0x29e)],_0x49bb99,this[_0x74d7af(0xad)]);this[_0x74d7af(0x188)]();const _0x1024c5=new Date()['getTime'](),_0x4bbaa1=this[_0x74d7af(0x163)]?Math[_0x74d7af(0xe3)](this[_0x74d7af(0x163)]-_0x1024c5,0x0):this[_0x74d7af(0xb6)]();return _0x3094c2[_0x74d7af(0x2d6)](_0x4bbaa1),_0x3094c2;}throw _0x40b0ec[_0x74d7af(0x34c)];}catch(_0x4606fc){return this['_logService'][_0x74d7af(0x34c)](_0x4606fc),this[_0x74d7af(0x332)](!0x1);}}[_0x3f2c0d(0x28d)](){var _0x38cf4b=_0x3f2c0d;throw new Error(_0x38cf4b(0x105));}['onRemoteRej'](){var _0x1a4e2c=_0x3f2c0d;throw new Error(_0x1a4e2c(0x23d));}[_0x3f2c0d(0x2f4)](){return this;}[_0x3f2c0d(0x148)](){var _0x4086a1=_0x3f2c0d;return this[_0x4086a1(0x188)](),this['_injector'][_0x4086a1(0x326)](de,this[_0x4086a1(0x17b)],this[_0x4086a1(0x29e)],null,this[_0x4086a1(0x9a)],this[_0x4086a1(0xad)]);}['toggleOnline'](){return this;}['_schedule'](_0x5aba44){var _0x2d9088=_0x3f2c0d;const _0x38264f=_0x5aba44!=null?_0x5aba44:this['_getSendChangesetTimeout']();this['_scheduleCompleteTimestamp']=new Date()[_0x2d9088(0x244)]()+_0x38264f,this[_0x2d9088(0xca)]=setTimeout(()=>{var _0x5838b5=_0x2d9088;this[_0x5838b5(0x188)]();let _0x803c1=null;switch(this[_0x5838b5(0x29e)]){case Q[_0x5838b5(0x1d7)]:{_0x803c1=qt(this[_0x5838b5(0x9a)],this['unitID'],this[_0x5838b5(0x131)],this[_0x5838b5(0x27a)],this[_0x5838b5(0x24e)]);break;}case Q['UNIVER_DOC']:{this['_pendingMutations'][_0x5838b5(0x2c1)](_0x27fdd1=>_0x27fdd1['id']===_0x5cc59b['id'])?_0x803c1=ns(this[_0x5838b5(0x9a)],this[_0x5838b5(0x17b)],this[_0x5838b5(0x131)],this[_0x5838b5(0x27a)],this[_0x5838b5(0x24e)]):_0x803c1=qt(this[_0x5838b5(0x9a)],this[_0x5838b5(0x17b)],this[_0x5838b5(0x131)],this[_0x5838b5(0x27a)],this[_0x5838b5(0x24e)]);break;}default:throw new Error('[PendingState]:\x20unhandled\x20univer\x20type:\x20'+this[_0x5838b5(0x29e)]+_0x5838b5(0xa0));}const {changeset:_0x2461dd,pendingMutations:_0x43405c}=_0x803c1;this['_handler'][_0x5838b5(0x205)](_0x2461dd);const _0x484e03=_0x43405c['length']?this['_injector'][_0x5838b5(0x326)](oe,this['unitID'],this['type'],_0x2461dd,_0x43405c,this[_0x5838b5(0xad)],void 0x0):this[_0x5838b5(0xd5)][_0x5838b5(0x326)](le,this[_0x5838b5(0x17b)],this[_0x5838b5(0x29e)],_0x2461dd,this[_0x5838b5(0xad)]);_0x484e03[_0x5838b5(0x34a)](),this[_0x5838b5(0xad)]['onStateChange'](this,_0x484e03);},_0x38264f);}[_0x3f2c0d(0xb6)](){var _0x57496c=_0x3f2c0d,_0x357363;const _0x4ddabd=this[_0x57496c(0x1be)][_0x57496c(0x172)](q);return(_0x357363=_0x4ddabd==null?void 0x0:_0x4ddabd[_0x57496c(0x228)])!=null?_0x357363:En;}[_0x3f2c0d(0x266)](){throw new Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x3f2c0d(0x188)](){var _0x4e79e0=_0x3f2c0d;this[_0x4e79e0(0xca)]!=null&&(clearTimeout(this[_0x4e79e0(0xca)]),this[_0x4e79e0(0xca)]=null);}[_0x3f2c0d(0x332)](_0x4d7deb){var _0x3adf7f=_0x3f2c0d;return this['_clearScheduledTask'](),this[_0x3adf7f(0xd5)][_0x3adf7f(0x326)](ue,this[_0x3adf7f(0x17b)],this[_0x3adf7f(0x29e)],null,this['_pendingMutations'],this[_0x3adf7f(0xad)],_0x4d7deb);}};ae=Te([P(0x4,_0x267554(_0x56056f)),P(0x5,_0x267554(_0x52f995)),P(0x6,_0x267554(Le)),P(0x7,_0x1160a0),P(0x8,_0x2a3321),P(0x9,_0x3686af),P(0xa,_0x271d49),P(0xb,_0x4031a5),P(0xc,_0x422b82),P(0xd,_0x309f63(J))],ae);let le=class extends Ce{constructor(_0x4f46da,_0x18d4d6,_0x2bce1f,_0x2a2edf,_0x573705,_0x12ffb2,_0x4f78b3,_0x4effc3,_0x3917fe,_0x1d2292,_0x177762){var _0x32b356=_0x3f2c0d;super(_0x4f46da,_0x18d4d6,_0x2bce1f,[],_0x2a2edf,_0x4f78b3,_0x1d2292,_0x12ffb2,_0x177762),N(this,_0x32b356(0x295),'awaiting'),N(this,_0x32b356(0x312),0x0),N(this,'_resendTimer'),N(this,_0x32b356(0xdc)),(this['_injector']=_0x573705,this['_logService']=_0x4effc3,this[_0x32b356(0x190)]=_0x3917fe);}['appendMutation'](_0xeb70a0){var _0x440a1d=_0x3f2c0d;this[_0x440a1d(0x188)]();const _0x310c78=this['_injector'][_0x440a1d(0x326)](oe,this[_0x440a1d(0x17b)],this[_0x440a1d(0x29e)],this[_0x440a1d(0x23e)],[_0xeb70a0],this['_handler'],this[_0x440a1d(0x298)]);return _0x310c78['_updateLocalCache'](),_0x310c78;}[_0x3f2c0d(0x2cb)](_0x363d1c){var _0x9c26e8=_0x3f2c0d;if(this[_0x9c26e8(0x2f6)](_0x363d1c))return this[_0x9c26e8(0x188)](),this['_injector'][_0x9c26e8(0x326)](ee,this[_0x9c26e8(0x17b)],this['type'],this[_0x9c26e8(0x23e)],[],null,[_0x363d1c],this['_handler']);try{const _0x53a047=this['_transformService'][_0x9c26e8(0x132)]([_0x363d1c],[this[_0x9c26e8(0x23e)]],!0x1);if(_0x3cdfc0(_0x53a047)){const {c1Prime:_0x3610ca,c2Prime:_0x211da7}=_0x53a047;this[_0x9c26e8(0x2ed)](_0x3610ca[0x0]),_0x211da7[0x0][_0x9c26e8(0x110)]=this[_0x9c26e8(0x1f3)](),this[_0x9c26e8(0x188)]();const _0x5348e0=this[_0x9c26e8(0xd5)][_0x9c26e8(0x326)](le,this[_0x9c26e8(0x17b)],this[_0x9c26e8(0x29e)],_0x211da7[0x0],this[_0x9c26e8(0xad)]);return _0x5348e0['_updateLocalCache'](),_0x5348e0;}return this[_0x9c26e8(0x332)](!0x1);}catch(_0x3e68c4){return this[_0x9c26e8(0x214)][_0x9c26e8(0x34c)](_0x3e68c4),this[_0x9c26e8(0x332)](!0x1);}}[_0x3f2c0d(0x28d)](_0x10791f){var _0x485d55=_0x3f2c0d;this[_0x485d55(0x188)]();const _0x726ed6=this['_revisionService'][_0x485d55(0x15c)](this[_0x485d55(0x17b)]);if(_0x10791f[_0x485d55(0x2c3)]<_0x726ed6-0x1)return this;if(this['_checkMissing'](_0x10791f))return this['_injector'][_0x485d55(0x326)](ee,this[_0x485d55(0x17b)],this[_0x485d55(0x29e)],null,[],this[_0x485d55(0x23e)],[],this['_handler']);this[_0x485d55(0x2fa)]();const _0x677a9f=this[_0x485d55(0xd5)][_0x485d55(0x326)](Ne,this['unitID'],this[_0x485d55(0x29e)],this[_0x485d55(0xad)]);return _0x677a9f[_0x485d55(0x34a)](),_0x677a9f;}['onRemoteRej'](_0x2de463){var _0x56282a=_0x3f2c0d;return this[_0x56282a(0x332)](!!(_0x2de463!=null&&_0x2de463['isPermissionRej']));}[_0x3f2c0d(0x2f4)](_0x1ad693){var _0x1039ba=_0x3f2c0d;return this[_0x1039ba(0x312)]>yi?this[_0x1039ba(0x148)]():(this[_0x1039ba(0x298)]=Ri(this[_0x1039ba(0x312)],{'timeout':this['_resendTimeout'],'reqId':_0x1ad693[_0x1039ba(0x256)]}),this[_0x1039ba(0xdc)]=this[_0x1039ba(0x298)][_0x1039ba(0xcc)](({reqId:_0x1cbd25,timeout:_0x3a1f67})=>{var _0x3a5123=_0x1039ba;this[_0x3a5123(0x20e)](_0x1cbd25,_0x3a1f67);}),this);}[_0x3f2c0d(0x148)](){var _0x2fe9b9=_0x3f2c0d;return this[_0x2fe9b9(0x188)](),this[_0x2fe9b9(0xd5)][_0x2fe9b9(0x326)](de,this[_0x2fe9b9(0x17b)],this['type'],this['_awaitingChangeset'],[],this[_0x2fe9b9(0xad)]);}[_0x3f2c0d(0x366)](){return this;}[_0x3f2c0d(0x266)](){var _0x19d546=_0x3f2c0d;this[_0x19d546(0xad)][_0x19d546(0x205)](this[_0x19d546(0x23e)]);}['_onConflict'](_0x589572){var _0x529f53=_0x3f2c0d;return this[_0x529f53(0x188)](),this[_0x529f53(0xd5)][_0x529f53(0x326)](ue,this['unitID'],this[_0x529f53(0x29e)],this[_0x529f53(0x23e)],[],this[_0x529f53(0xad)],_0x589572);}[_0x3f2c0d(0x20e)](_0x3057e0,_0x55941f){var _0x3b30b5=_0x3f2c0d,_0x385e21;_0x3057e0===((_0x385e21=this[_0x3b30b5(0x23e)])==null?void 0x0:_0x385e21[_0x3b30b5(0x256)])&&(this[_0x3b30b5(0x266)](),this[_0x3b30b5(0x312)]=_0x55941f===0x0?0x3e8:_0x55941f*0x2);}[_0x3f2c0d(0x188)](){var _0x3e7aed=_0x3f2c0d,_0x570ecf;(_0x570ecf=this[_0x3e7aed(0xdc)])==null||_0x570ecf[_0x3e7aed(0x37d)](),this[_0x3e7aed(0x312)]=0x0;}};le=Te([P(0x4,_0x267554(_0x56056f)),P(0x5,_0x267554(_0x52f995)),P(0x6,_0x2a3321),P(0x7,_0x1160a0),P(0x8,_0x271d49),P(0x9,_0x422b82),P(0xa,_0x309f63(J))],le);let oe=class extends Ce{constructor(_0x31066c,_0x17ecf1,_0xc5e9ac,_0x308208,_0x57ed19,_0xab58c1,_0x4749d8,_0x2bce28,_0x40972f,_0x4273bc,_0x5ab120,_0x14cd63,_0x2125bd){var _0x625a22=_0x3f2c0d;super(_0x31066c,_0x17ecf1,_0xc5e9ac,_0x308208,_0x57ed19,_0x40972f,_0x14cd63,_0x2bce28,_0x2125bd),N(this,_0x625a22(0x295),_0x625a22(0x356)),N(this,_0x625a22(0x312),0x0),N(this,'_resendTimer'),N(this,_0x625a22(0xdc)),(this['_injector']=_0x4749d8,this[_0x625a22(0x214)]=_0x4273bc,this[_0x625a22(0x190)]=_0x5ab120,this[_0x625a22(0x13b)]=_0x2125bd,_0xab58c1&&(this[_0x625a22(0x298)]=_0xab58c1,this[_0x625a22(0xdc)]=this[_0x625a22(0x298)][_0x625a22(0xcc)](({reqId:_0x2e0d89,timeout:_0x3084c7})=>{var _0x3483da=_0x625a22;this[_0x3483da(0x20e)](_0x2e0d89,_0x3084c7);})));}[_0x3f2c0d(0xf7)](_0x2e4c3a){var _0x41ce43=_0x3f2c0d;return this[_0x41ce43(0x9a)][_0x41ce43(0x13c)](_0x2e4c3a),this;}[_0x3f2c0d(0x2cb)](_0x3d5ceb){var _0x4164ca=_0x3f2c0d;if(this[_0x4164ca(0x2f6)](_0x3d5ceb))return this[_0x4164ca(0x188)](),this[_0x4164ca(0xd5)]['createInstance'](ee,this[_0x4164ca(0x17b)],this[_0x4164ca(0x29e)],this[_0x4164ca(0x23e)],this[_0x4164ca(0x9a)],null,[_0x3d5ceb],this[_0x4164ca(0xad)]);try{const _0x14e1bd=this[_0x4164ca(0x190)][_0x4164ca(0x132)]([_0x3d5ceb],[this[_0x4164ca(0x23e)]],!0x1);if(_0x3cdfc0(_0x14e1bd)){const {c1Prime:_0x89376a,c2Prime:_0x11636a}=_0x14e1bd,_0x4c7272=this[_0x4164ca(0x190)]['transformMutationsWithChangeset'](_0x89376a[0x0],this[_0x4164ca(0x9a)]);if(_0x472d6a(_0x4c7272)){const {c1Prime:_0x5e2c43,m2Prime:_0x53b1f8}=_0x4c7272;return this[_0x4164ca(0x2ed)](_0x5e2c43),_0x11636a[0x0]['baseRev']=this[_0x4164ca(0x1f3)](),this[_0x4164ca(0x188)](),this[_0x4164ca(0xd5)][_0x4164ca(0x326)](oe,this[_0x4164ca(0x17b)],this[_0x4164ca(0x29e)],_0x11636a[0x0],_0x53b1f8,this['_handler'],void 0x0);}throw _0x4c7272[_0x4164ca(0x34c)];}throw _0x14e1bd[_0x4164ca(0x34c)];}catch(_0x4f4444){return this[_0x4164ca(0x214)]['error'](_0x4f4444),this['_onConflict'](!0x1);}}['onRemoteAck'](_0x1601fc){var _0x5c2729=_0x3f2c0d;if(this['_clearScheduledTask'](),this['_checkMissing'](_0x1601fc))return this[_0x5c2729(0xd5)][_0x5c2729(0x326)](ee,this[_0x5c2729(0x17b)],this['type'],null,this[_0x5c2729(0x9a)],this[_0x5c2729(0x23e)],[],this[_0x5c2729(0xad)]);this['_incrementRevisionNumber']();const _0x4cb523=this[_0x5c2729(0xd5)][_0x5c2729(0x326)](ae,this[_0x5c2729(0x17b)],this[_0x5c2729(0x29e)],this[_0x5c2729(0x9a)],this[_0x5c2729(0xad)]);return _0x4cb523[_0x5c2729(0x2d6)](),_0x4cb523[_0x5c2729(0x34a)](),_0x4cb523;}[_0x3f2c0d(0x33b)](_0x1607ac){var _0x487b6d=_0x3f2c0d;return this[_0x487b6d(0x332)](!!(_0x1607ac!=null&&_0x1607ac[_0x487b6d(0x194)]));}[_0x3f2c0d(0x2f4)](_0xd86d31){var _0x4d5eb8=_0x3f2c0d;return this[_0x4d5eb8(0x312)]>yi?this[_0x4d5eb8(0x148)]():(this[_0x4d5eb8(0x298)]=Ri(this[_0x4d5eb8(0x312)],{'timeout':this[_0x4d5eb8(0x312)],'reqId':_0xd86d31['reqId']}),this[_0x4d5eb8(0xdc)]=this[_0x4d5eb8(0x298)][_0x4d5eb8(0xcc)](({reqId:_0xf9f2f,timeout:_0x1ccf3a})=>{this['_resendWithTimeout'](_0xf9f2f,_0x1ccf3a);}),this);}[_0x3f2c0d(0x148)](){var _0xa1e6cd=_0x3f2c0d;return this[_0xa1e6cd(0x188)](),this[_0xa1e6cd(0xd5)][_0xa1e6cd(0x326)](de,this[_0xa1e6cd(0x17b)],this[_0xa1e6cd(0x29e)],this['_awaitingChangeset'],this[_0xa1e6cd(0x9a)],this[_0xa1e6cd(0xad)]);}['toggleOnline'](){return this;}[_0x3f2c0d(0x266)](){var _0x396f18=_0x3f2c0d;this[_0x396f18(0xad)][_0x396f18(0x205)](this['_awaitingChangeset']);}['_onConflict'](_0x26dd18){var _0x2da307=_0x3f2c0d;return this[_0x2da307(0x188)](),this[_0x2da307(0xd5)][_0x2da307(0x326)](ue,this['unitID'],this[_0x2da307(0x29e)],null,this[_0x2da307(0x9a)],this[_0x2da307(0xad)],_0x26dd18);}['_resendWithTimeout'](_0x37f73e,_0x33efee){var _0xbe341a=_0x3f2c0d,_0x1e55bf;_0x37f73e===((_0x1e55bf=this[_0xbe341a(0x23e)])==null?void 0x0:_0x1e55bf[_0xbe341a(0x256)])&&(this['resend'](),this[_0xbe341a(0x312)]=_0x33efee===0x0?0x3e8:_0x33efee*0x2);}[_0x3f2c0d(0x188)](){var _0x4ea69c=_0x3f2c0d,_0x4eaf2c;(_0x4eaf2c=this['_sender'])==null||_0x4eaf2c[_0x4ea69c(0x37d)](),this['_resendTimeout']=0x0;}};oe=Te([P(0x6,_0x267554(_0x56056f)),P(0x7,_0x267554(_0x52f995)),P(0x8,_0x2a3321),P(0x9,_0x1160a0),P(0xa,_0x271d49),P(0xb,_0x422b82),P(0xc,_0x309f63(J))],oe);let ue=class extends Ce{constructor(_0x3de383,_0x2ae1db,_0x5a5db8,_0x310d6d,_0x33468f,_0xde7b92=!0x1,_0x2eb927,_0x2516e9,_0x459628,_0x41e4ae,_0x4a233f,_0x53f8c8,_0x1d1a36){var _0x18f5e9=_0x3f2c0d;super(_0x3de383,_0x2ae1db,_0x5a5db8,_0x310d6d,_0x33468f,_0x2516e9,_0x459628,_0x41e4ae,_0x1d1a36),N(this,_0x18f5e9(0x295),_0x18f5e9(0x248)),(this[_0x18f5e9(0x1a7)]=_0xde7b92,this[_0x18f5e9(0x2ef)]=_0x2eb927,this[_0x18f5e9(0x29b)]=_0x4a233f,this[_0x18f5e9(0x241)]=_0x53f8c8,this['localCacheService']=_0x1d1a36,this[_0x18f5e9(0x29f)](),this[_0x18f5e9(0xd4)](),this[_0x18f5e9(0x324)]());}['appendMutation'](){return this;}[_0x3f2c0d(0x2cb)](){return this;}[_0x3f2c0d(0x28d)](){return this;}[_0x3f2c0d(0x33b)](){return this;}['onRemoteRetry'](){return this;}['toggleOffline'](){return this;}[_0x3f2c0d(0x366)](){return this;}['resend'](){var _0x2af4cd=_0x3f2c0d;throw new Error(_0x2af4cd(0x13a));}[_0x3f2c0d(0xd4)](){var _0x3d1dc7=_0x3f2c0d,_0x457d31;(_0x457d31=this[_0x3d1dc7(0x1db)])==null||_0x457d31[_0x3d1dc7(0x1e3)](this[_0x3d1dc7(0x17b)],this[_0x3d1dc7(0x29e)],null,[]);}[_0x3f2c0d(0x29f)](){var _0xf4c066=_0x3f2c0d;this[_0xf4c066(0x1a7)]?this['_collaborationUIEventService'][_0xf4c066(0x22a)]({'id':re[_0xf4c066(0x17c)]}):this[_0xf4c066(0x241)][_0xf4c066(0x22a)]({'id':re[_0xf4c066(0x387)]});}['_disableEditing'](){var _0x35d490=_0x3f2c0d;this[_0x35d490(0x2ef)][_0x35d490(0x14b)](new _0x14081c(this[_0x35d490(0x17b)])['id'],!0x1);}};ue=Te([P(0x6,_0x267554(_0x25cfc2)),P(0x7,_0x2a3321),P(0x8,_0x422b82),P(0x9,_0x267554(_0x52f995)),P(0xa,_0x267554(_0x71645e)),P(0xb,_0x267554(pe)),P(0xc,_0x309f63(J))],ue);let de=class extends Ce{constructor(_0x5357cd,_0x1bd72b,_0x7a66a4,_0x25decd,_0x45cade,_0x5f39ae,_0x462d89,_0x54eca2,_0xaf7726,_0x7d2acc){var _0x54e016=_0x3f2c0d;super(_0x5357cd,_0x1bd72b,_0x7a66a4,_0x25decd,_0x45cade,_0x54eca2,_0xaf7726,_0x462d89,_0x7d2acc),N(this,_0x54e016(0x295),_0x54e016(0x111)),this['_injector']=_0x5f39ae;}[_0x3f2c0d(0xf7)](_0x286d77){var _0x25ac03=_0x3f2c0d;return this[_0x25ac03(0x9a)]['push'](_0x286d77),this[_0x25ac03(0x34a)](),this;}[_0x3f2c0d(0x2cb)](_0x3484ce){var _0x53a780=_0x3f2c0d;throw new Error(_0x53a780(0x341));}['onRemoteAck'](){var _0x57ac16=_0x3f2c0d;throw new Error(_0x57ac16(0x382));}[_0x3f2c0d(0x33b)](){var _0x13f9b0=_0x3f2c0d;throw new Error(_0x13f9b0(0x2a1));}[_0x3f2c0d(0x2f4)](){return this;}[_0x3f2c0d(0x148)](){return this;}['toggleOnline'](){var _0x24093c=_0x3f2c0d;const {_injector:_0x3d9aba,_pendingMutations:_0x497c40,_awaitingChangeset:_0x4ef03b,unitID:_0x47f312,_handler:_0x39fc0f,type:_0x32324d}=this,_0x4c76c=Oi(_0x3d9aba,_0x47f312,_0x32324d,_0x4ef03b,_0x497c40,_0x39fc0f);return _0x4c76c instanceof ae?_0x4c76c[_0x24093c(0x2d6)]():(_0x4c76c instanceof oe||_0x4c76c instanceof le)&&_0x4c76c[_0x24093c(0x266)](),_0x4c76c;}[_0x3f2c0d(0x266)](){throw new Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}};de=Te([P(0x5,_0x267554(_0x56056f)),P(0x6,_0x267554(_0x52f995)),P(0x7,_0x2a3321),P(0x8,_0x422b82),P(0x9,_0x309f63(J))],de);let ee=class extends Ce{constructor(_0x143a1e,_0x23721f,_0xf5b434,_0x4a9ed5,_0x453112,_0x34c4cb,_0xac3c20,_0x3fd612,_0x50ef90,_0x1f272e,_0x318ce6,_0x2e7a11,_0x43d8f4,_0x42fc88){var _0x4c4ed1=_0x3f2c0d;super(_0x143a1e,_0x23721f,_0xf5b434,_0x4a9ed5,_0xac3c20,_0x318ce6,_0x2e7a11,_0x50ef90,_0x42fc88),N(this,'status',_0x4c4ed1(0x1ac)),(this['_acknowledgedAwaitingChangeset']=_0x453112,this[_0x4c4ed1(0x1a0)]=_0x34c4cb,this[_0x4c4ed1(0xd5)]=_0x3fd612,this[_0x4c4ed1(0x214)]=_0x1f272e,this['_transformService']=_0x43d8f4,this['localCacheService']=_0x42fc88);}[_0x3f2c0d(0x1d8)](_0x3fe6d9){var _0x2f64c9=_0x3f2c0d;try{const _0x56c0fd=[..._0x3fe6d9,...this[_0x2f64c9(0x1a0)]],_0x585c4e=[this['_awaitingChangeset']||this[_0x2f64c9(0x29a)]][_0x2f64c9(0x258)](_0x31864c=>!!_0x31864c);let _0x44a811,_0x444853;if(_0x585c4e[_0x2f64c9(0x245)]){const _0x4f3c1c=this[_0x2f64c9(0x190)]['transformChangesets'](_0x56c0fd,_0x585c4e,!0x1);if(!_0x3cdfc0(_0x4f3c1c))throw _0x4f3c1c[_0x2f64c9(0x34c)];_0x44a811=_0x4f3c1c['c1Prime'],_0x444853=_0x4f3c1c[_0x2f64c9(0x180)];}else _0x44a811=_0x56c0fd,_0x444853=[];let _0x2e6cbb=this[_0x2f64c9(0x9a)];_0x44a811[_0x2f64c9(0x383)](_0x5afbd2=>{var _0x4bab29=_0x2f64c9;let _0x3095c1;if(_0x2e6cbb[_0x4bab29(0x245)]){const _0xba8265=this['_transformService']['transformMutationsWithChangeset'](_0x5afbd2,_0x2e6cbb);if(!_0x472d6a(_0xba8265))throw _0xba8265['error'];_0x3095c1=_0xba8265[_0x4bab29(0x219)],_0x2e6cbb=_0xba8265['m2Prime'];}else _0x3095c1=_0x5afbd2;this[_0x4bab29(0x2ed)](_0x3095c1);}),this['_acknowledgedAwaitingChangeset']&&this[_0x2f64c9(0x2fa)](),this['_awaitingChangeset']&&_0x444853['length']&&(_0x444853[0x0][_0x2f64c9(0x110)]=this[_0x2f64c9(0x1f3)]());let _0x852c22;if(this[_0x2f64c9(0x23e)]&&_0x2e6cbb[_0x2f64c9(0x245)]!==0x0)_0x852c22=this['_injector'][_0x2f64c9(0x326)](oe,this[_0x2f64c9(0x17b)],this['type'],_0x444853[0x0],_0x2e6cbb,this[_0x2f64c9(0xad)],void 0x0);else{if(this['_awaitingChangeset']&&_0x2e6cbb[_0x2f64c9(0x245)]===0x0)_0x444853[0x0][_0x2f64c9(0x110)]=this[_0x2f64c9(0x1f3)](),_0x852c22=this['_injector'][_0x2f64c9(0x326)](le,this[_0x2f64c9(0x17b)],this[_0x2f64c9(0x29e)],_0x444853[0x0],this['_handler']);else{if(_0x2e6cbb[_0x2f64c9(0x245)]!==0x0){const _0x561f67=this[_0x2f64c9(0xd5)][_0x2f64c9(0x326)](ae,this['unitID'],this[_0x2f64c9(0x29e)],_0x2e6cbb,this[_0x2f64c9(0xad)]);_0x561f67['_schedule'](),_0x852c22=_0x561f67;}else _0x852c22=this['_injector'][_0x2f64c9(0x326)](Ne,this['unitID'],this[_0x2f64c9(0x29e)],this[_0x2f64c9(0xad)]);}}return _0x852c22[_0x2f64c9(0x34a)](),_0x852c22;}catch(_0x3a7bd9){return this[_0x2f64c9(0x214)]['error']('[FetchMissState]','failed\x20to\x20apply\x20missed\x20changesets!',_0x3a7bd9),this['_injector'][_0x2f64c9(0x326)](ue,this[_0x2f64c9(0x17b)],this[_0x2f64c9(0x29e)],this['_awaitingChangeset'],this[_0x2f64c9(0x9a)],this['_handler'],!0x1);}}['resend'](){var _0x49a7e6=_0x3f2c0d;throw new Error(_0x49a7e6(0x150));}[_0x3f2c0d(0xf7)](_0x59df1c){var _0x2e9f14=_0x3f2c0d;return this[_0x2e9f14(0x9a)][_0x2e9f14(0x13c)](_0x59df1c),this;}['onRemoteChangeset'](_0x5300d7){var _0x4cde85=_0x3f2c0d;return this[_0x4cde85(0x1a0)][_0x4cde85(0x13c)](_0x5300d7),this;}[_0x3f2c0d(0x28d)](_0x4d79eb){var _0x13e6f3=_0x3f2c0d;if(this[_0x13e6f3(0x23e)])return this[_0x13e6f3(0x29a)]=this[_0x13e6f3(0x23e)],this[_0x13e6f3(0x23e)]=null,this;throw new Error(_0x13e6f3(0x124));}[_0x3f2c0d(0x33b)](_0x235ad0){var _0x2969f7=_0x3f2c0d;return this['_onConflict'](!!(_0x235ad0!=null&&_0x235ad0[_0x2969f7(0x194)]));}[_0x3f2c0d(0x2f4)](){return this;}[_0x3f2c0d(0x148)](){var _0xe2d7e=_0x3f2c0d;return this[_0xe2d7e(0xd5)]['createInstance'](de,this[_0xe2d7e(0x17b)],this[_0xe2d7e(0x29e)],this[_0xe2d7e(0x23e)],this[_0xe2d7e(0x9a)],this[_0xe2d7e(0xad)]);}[_0x3f2c0d(0x366)](){return this;}['_onConflict'](_0x59b984){var _0x362f02=_0x3f2c0d;return this[_0x362f02(0xd5)][_0x362f02(0x326)](ue,this['unitID'],this[_0x362f02(0x29e)],this[_0x362f02(0x23e)],this[_0x362f02(0x9a)],this['_handler'],_0x59b984);}};ee=Te([P(0x7,_0x267554(_0x56056f)),P(0x8,_0x267554(_0x52f995)),P(0x9,_0x1160a0),P(0xa,_0x2a3321),P(0xb,_0x422b82),P(0xc,_0x271d49),P(0xd,_0x309f63(J))],ee);function Oi(_0x569b11,_0xecdc92,_0x53fe7b,_0x2bf66d,_0xe8589e,_0x31459e){var _0x1d6941=_0x3f2c0d;return _0x2bf66d&&_0xe8589e[_0x1d6941(0x245)]?_0x569b11[_0x1d6941(0x326)](oe,_0xecdc92,_0x53fe7b,_0x2bf66d,_0xe8589e,_0x31459e,void 0x0):_0x2bf66d?_0x569b11[_0x1d6941(0x326)](le,_0xecdc92,_0x53fe7b,_0x2bf66d,_0x31459e):_0xe8589e[_0x1d6941(0x245)]?_0x569b11[_0x1d6941(0x326)](ae,_0xecdc92,_0x53fe7b,_0xe8589e,_0x31459e):_0x569b11[_0x1d6941(0x326)](Ne,_0xecdc92,_0x53fe7b,_0x31459e);}var as=Object[_0x3f2c0d(0x1e7)],Lt=(_0x2220a2,_0x2c4c42,_0x59a4c3,_0x24313e)=>{var _0x116f20=_0x3f2c0d;for(var _0x19ee4b=_0x24313e>0x1?void 0x0:_0x24313e?as(_0x2c4c42,_0x59a4c3):_0x2c4c42,_0x229d6a=_0x2220a2[_0x116f20(0x245)]-0x1,_0x1c77b4;_0x229d6a>=0x0;_0x229d6a--)(_0x1c77b4=_0x2220a2[_0x229d6a])&&(_0x19ee4b=_0x1c77b4(_0x19ee4b)||_0x19ee4b);return _0x19ee4b;},H=(_0x27f51c,_0x4b69f0)=>(_0x2a7661,_0x19b39d)=>_0x4b69f0(_0x2a7661,_0x19b39d,_0x27f51c);let nt=class extends _0x15cca1{constructor(_0x44ad28,_0x3cae5d,_0x3fbeec,_0x70582e,_0x22bc7d,_0x3e10bd,_0x51230e,_0x4fd99e,_0x51bd95,_0x4b91bb,_0x16069d,_0x3d4c61,_0x38b478){var _0x2374a1=_0x3f2c0d;super(),N(this,'_state$',new _0x3aeaa6(null)),N(this,_0x2374a1(0x199),this[_0x2374a1(0x321)]['asObservable']()),N(this,_0x2374a1(0x1bd)),N(this,'_collaborationPaused',!0x1),N(this,_0x2374a1(0x344),''),N(this,_0x2374a1(0x25a),0x0),N(this,_0x2374a1(0x2aa),this[_0x2374a1(0x199)][_0x2374a1(0x353)](_0x28c4e9(_0x378356=>_0x378356?_0x378356[_0x2374a1(0x295)]:bi[_0x2374a1(0x338)]),_0x1c5137(0x1))),N(this,_0x2374a1(0x371),!0x1),N(this,'_remoteChangesetQueue',[]),(this['unitID']=_0x44ad28,this[_0x2374a1(0x313)]=_0x3cae5d,this[_0x2374a1(0x114)]=_0x3fbeec,this[_0x2374a1(0xd5)]=_0x70582e,this[_0x2374a1(0xf9)]=_0x22bc7d,this[_0x2374a1(0x29b)]=_0x3e10bd,this[_0x2374a1(0x27a)]=_0x51230e,this[_0x2374a1(0x2f3)]=_0x4fd99e,this[_0x2374a1(0x214)]=_0x51bd95,this['_commandService']=_0x4b91bb,this[_0x2374a1(0x2ef)]=_0x16069d,this[_0x2374a1(0x33c)]=_0x3d4c61,this['_localCacheService']=_0x38b478);}get[_0x3f2c0d(0x2d3)](){var _0x479664=_0x3f2c0d;return this[_0x479664(0x1bd)];}async[_0x3f2c0d(0x297)](){var _0x276ff2=_0x3f2c0d;if(this['state'])throw new Error(_0x276ff2(0xda));await this[_0x276ff2(0xea)]();}[_0x3f2c0d(0x314)](){return this['_collaborationPaused']=!0x0,_0x4d59da(()=>{var _0x4bf1e3=_0x5a2d;this[_0x4bf1e3(0xff)]=!0x1,this[_0x4bf1e3(0xbd)]();});}[_0x3f2c0d(0x18c)](_0x2a60b5){this['_onLocalMutation'](_0x2a60b5);}['_updateState'](_0x4fad18){var _0x2f0c00=_0x3f2c0d;this[_0x2f0c00(0x1bd)]=_0x4fad18,this[_0x2f0c00(0x321)][_0x2f0c00(0x1fe)](_0x4fad18);}async['_init'](){var _0x379aa7=_0x3f2c0d,_0x3f9668;this['_updateState'](await this[_0x379aa7(0x26e)]()),this[_0x379aa7(0x33c)]&&((_0x3f9668=this[_0x379aa7(0x33c)])==null||_0x3f9668[_0x379aa7(0x277)](this[_0x379aa7(0x17b)]),this[_0x379aa7(0x1c5)](this[_0x379aa7(0x33c)][_0x379aa7(0x242)](this['unitID'])[_0x379aa7(0xcc)](_0x4086cc=>{var _0x2a6078=_0x379aa7;this[_0x2a6078(0x214)][_0x2a6078(0x32c)](_0x2a6078(0xb9),_0x2a6078(0x2b0),_0x4086cc),_0x4086cc===Ci['OTHER_CLIENTS_EDITING']?(this[_0x2a6078(0x2f3)]['emitEvent']({'id':re[_0x2a6078(0x25b)]}),this[_0x2a6078(0x2ef)]['updatePermissionPoint'](new _0x14081c(this[_0x2a6078(0x17b)])['id'],!0x1),this[_0x2a6078(0x2ef)][_0x2a6078(0x224)](!0x1)):(this[_0x2a6078(0x2ef)][_0x2a6078(0x14b)](new _0x14081c(this['unitID'])['id'],!0x0),this[_0x2a6078(0x2ef)][_0x2a6078(0x224)](!0x0));})));let _0x394f4d=!0x1;return this['disposeWithMe'](this[_0x379aa7(0x313)][_0x379aa7(0x19e)][_0x379aa7(0xcc)](_0x2c7456=>{var _0x4a5744=_0x379aa7;_0x2c7456===Ee[_0x4a5744(0x2c8)]?this['_toggleOnline'](_0x394f4d):_0x2c7456===Ee['OFFLINE']&&(_0x394f4d=!0x0,this['_toggleOffline']());})),this[_0x379aa7(0x1c5)](this[_0x379aa7(0x313)][_0x379aa7(0xeb)][_0x379aa7(0xcc)](_0x3d2f06=>{var _0x3b5bdd=_0x379aa7;try{switch(_0x3d2f06[_0x3b5bdd(0x247)]){case _0x2d6633[_0x3b5bdd(0x38c)]:{this[_0x3b5bdd(0xbb)](_0x2eb0ab(_0x3d2f06[_0x3b5bdd(0x141)]));break;}case _0x2d6633[_0x3b5bdd(0x350)]:{this[_0x3b5bdd(0x337)](_0x3d2f06[_0x3b5bdd(0x141)]);break;}case _0x2d6633['CHANGESET_REJ']:{this[_0x3b5bdd(0x1c4)]();break;}case _0x2d6633[_0x3b5bdd(0x2e8)]:{this[_0x3b5bdd(0xc6)](_0x3d2f06[_0x3b5bdd(0x141)]);break;}case _0x2d6633[_0x3b5bdd(0x24d)]:{this[_0x3b5bdd(0x16e)](_0x3d2f06[_0x3b5bdd(0x141)]['changesets'][_0x3b5bdd(0x187)](_0x151e0c=>_0x2eb0ab(_0x151e0c)));break;}case _0x2d6633[_0x3b5bdd(0x145)]:{this[_0x3b5bdd(0x1c4)]({'isPermissionRej':!0x0});break;}case _0x2d6633[_0x3b5bdd(0xe5)]:break;}}catch(_0xa192fb){throw console['error'](_0x3b5bdd(0x1e0),_0xa192fb),_0xa192fb;}})),this[_0x379aa7(0x1bd)];}[_0x3f2c0d(0x1f6)](){var _0x1557a9=_0x3f2c0d;this[_0x1557a9(0x371)]=!0x1;}[_0x3f2c0d(0x203)](){var _0x3ba3a5=_0x3f2c0d;if(this[_0x3ba3a5(0x371)])throw new Error(_0x3ba3a5(0x15d));this[_0x3ba3a5(0x371)]=!0x0;}[_0x3f2c0d(0x311)](_0x263fbc){var _0x2c30eb=_0x3f2c0d;this['_lockTransition'](),this[_0x2c30eb(0x384)](this[_0x2c30eb(0x1bd)][_0x2c30eb(0xf7)](_0x263fbc)),this[_0x2c30eb(0x1f6)]();}[_0x3f2c0d(0xbb)](_0x4c4747){var _0x466a35=_0x3f2c0d;if(!(_0x4c4747[_0x466a35(0x2c3)]<=this[_0x466a35(0x27a)][_0x466a35(0x15c)](this[_0x466a35(0x17b)]))){if(this[_0x466a35(0xff)]){this['_remoteChangesetQueue'][_0x466a35(0x13c)](_0x4c4747);return;}this[_0x466a35(0xf4)](_0x4c4747);}}['_exhaustRemoteChangesetQueue'](){var _0x43f59c=_0x3f2c0d;this[_0x43f59c(0x376)]['forEach'](_0x104a06=>this[_0x43f59c(0xf4)](_0x104a06)),this['_remoteChangesetQueue']=[];}[_0x3f2c0d(0xf4)](_0x59f186){var _0x363506=_0x3f2c0d;const _0x3f4082=this[_0x363506(0xf9)]['interceptor'][_0x363506(0x2e7)](this[_0x363506(0xf9)][_0x363506(0x236)]['getInterceptPoints']()[_0x363506(0x1cc)])(_0x59f186['mutations'],null)||_0x59f186['mutations'],_0x57fa92={..._0x59f186,'mutations':_0x3f4082};this[_0x363506(0x203)](),this[_0x363506(0x384)](this[_0x363506(0x1bd)][_0x363506(0x2cb)](_0x57fa92)),this[_0x363506(0x1f6)]();}[_0x3f2c0d(0x337)](_0x20c7ee){var _0x336a92=_0x3f2c0d;this[_0x336a92(0x203)](),this['_updateState'](this['_state']['onRemoteAck'](_0x20c7ee)),this['_unlockTransition']();}[_0x3f2c0d(0x1c4)](_0x3da559){var _0xadf149=_0x3f2c0d;this['_lockTransition'](),this[_0xadf149(0x384)](this[_0xadf149(0x1bd)][_0xadf149(0x33b)](_0x3da559)),this[_0xadf149(0x1f6)]();}[_0x3f2c0d(0xc6)](_0x419b55){var _0x39d752=_0x3f2c0d;this[_0x39d752(0x203)](),this['_updateState'](this[_0x39d752(0x1bd)][_0x39d752(0x2f4)](_0x419b55)),this[_0x39d752(0x1f6)]();}[_0x3f2c0d(0x16e)](_0x4005fa){var _0x2b1fa8=_0x3f2c0d;if(!(this[_0x2b1fa8(0x1bd)]instanceof ee))throw new TypeError(_0x2b1fa8(0x391));const _0x1f9167=_0x4005fa[_0x2b1fa8(0x187)](_0x1808a9=>{var _0x220954=_0x2b1fa8;const _0x19ddb0=this['_compressMutationService'][_0x220954(0x236)]['fetchThroughInterceptors'](this[_0x220954(0xf9)][_0x220954(0x236)][_0x220954(0x274)]()[_0x220954(0x1cc)])(_0x1808a9[_0x220954(0x10b)],null)||_0x1808a9[_0x220954(0x10b)];return{..._0x1808a9,'mutations':_0x19ddb0};});this[_0x2b1fa8(0x203)](),this['_updateState'](this['_state'][_0x2b1fa8(0x1d8)](_0x1f9167)),this['_unlockTransition']();}[_0x3f2c0d(0x18a)](){var _0xcf7152=_0x3f2c0d;this[_0xcf7152(0x203)](),this[_0xcf7152(0x384)](this['_state']['toggleOffline']()),this['_unlockTransition']();}[_0x3f2c0d(0x1b2)](_0x5de659=!0x1){var _0x2131eb=_0x3f2c0d;this[_0x2131eb(0x203)](),this[_0x2131eb(0x384)](this['_state'][_0x2131eb(0x366)]()),this['_unlockTransition']();const _0x361d7e=this['_state'];_0x5de659&&_0x361d7e instanceof Ne&&(this[_0x2131eb(0x203)](),this[_0x2131eb(0x384)](_0x361d7e[_0x2131eb(0x2e6)]()),this['_unlockTransition']());}async[_0x3f2c0d(0x26e)](){return new Promise(_0x4b661f=>{var _0x525f4f=_0x5a2d;this[_0x525f4f(0x313)][_0x525f4f(0x19e)][_0x525f4f(0x353)](_0x43e130(0x1))[_0x525f4f(0xcc)](async _0x137a54=>{var _0x4b446a=_0x525f4f;_0x4b661f(await this[_0x4b446a(0x16b)](_0x137a54===Ee[_0x4b446a(0x2c8)]));});});}[_0x3f2c0d(0x211)](){var _0x4b7c2b=_0x3f2c0d;const _0x25b7b5=this[_0x4b7c2b(0x17b)];return{'onStateChange':(_0x34d867,_0x42f595)=>{var _0x3bca22=_0x4b7c2b;if(_0x34d867!==this['_state'])throw new Error(_0x3bca22(0x379)+_0x34d867['status']+_0x3bca22(0xcd)+_0x42f595[_0x3bca22(0x295)]+'\x0aCurrent:\x20'+this[_0x3bca22(0x1bd)][_0x3bca22(0x295)]);this[_0x3bca22(0x384)](_0x42f595);},'onSendChangeset':_0x2ca3e6=>{var _0x524c6c=_0x4b7c2b;_0x2ca3e6['sid']||(_0x2ca3e6[_0x524c6c(0x1b9)]=this[_0x524c6c(0x344)],_0x2ca3e6['reqId']=++this[_0x524c6c(0x25a)]);const _0x5629bf={'eventID':_0x2d6633[_0x524c6c(0x259)],'data':{'unitID':_0x2ca3e6[_0x524c6c(0x17b)],'unitType':this['_type'],'changeset':_0x2ca3e6,'memberID':this[_0x524c6c(0x313)]['getMemberID']()}};this[_0x524c6c(0x313)][_0x524c6c(0x221)](_0x5629bf,this[_0x524c6c(0x17b)]);},'onMissingChangesets':({from:_0x198792,to:_0x22d9b0})=>{var _0x31c5f5=_0x4b7c2b;this[_0x31c5f5(0x214)][_0x31c5f5(0x32c)](_0x31c5f5(0xb9),_0x31c5f5(0x385)+_0x198792+_0x31c5f5(0x14f)+_0x22d9b0);const _0x51ac56={'eventID':_0x2d6633[_0x31c5f5(0x27c)],'data':{'unitID':_0x25b7b5,'unitType':this[_0x31c5f5(0x114)],'from':_0x198792,'to':_0x22d9b0}};this['session'][_0x31c5f5(0x221)](_0x51ac56,this[_0x31c5f5(0x17b)]);}};}async['_createInitialStateImpl'](_0x378498){var _0x5692e8=_0x3f2c0d,_0x3fd1f0,_0x17e6e7,_0xa1502c;const _0x324902=await((_0x3fd1f0=this[_0x5692e8(0x1db)])==null?void 0x0:_0x3fd1f0[_0x5692e8(0x280)](this['unitID'])),_0x1d2c3e=(_0x17e6e7=_0x324902==null?void 0x0:_0x324902[_0x5692e8(0x10b)])!=null?_0x17e6e7:[],_0x3ce3cb=(_0xa1502c=_0x324902==null?void 0x0:_0x324902[_0x5692e8(0x304)])!=null?_0xa1502c:null,_0x63c7fc=!!(_0x3ce3cb!=null&&_0x3ce3cb[_0x5692e8(0x1b9)])&&!!(_0x3ce3cb!=null&&_0x3ce3cb['reqId']);this[_0x5692e8(0x344)]=_0x63c7fc?_0x3ce3cb[_0x5692e8(0x1b9)]:Zn(),this[_0x5692e8(0x25a)]=_0x63c7fc?_0x3ce3cb[_0x5692e8(0x256)]:0x0;const _0x6fb48=this[_0x5692e8(0x17b)];try{this[_0x5692e8(0x2b6)](_0x3ce3cb,_0x1d2c3e);}catch(_0x3d7669){this[_0x5692e8(0x214)][_0x5692e8(0x34c)](_0x3d7669);}const _0x4a25df=this[_0x5692e8(0x211)]();if(_0x378498){const _0x5b0240=Oi(this[_0x5692e8(0xd5)],_0x6fb48,this[_0x5692e8(0x114)],_0x3ce3cb,_0x1d2c3e,_0x4a25df);return _0x5b0240 instanceof ae?_0x5b0240[_0x5692e8(0x2d6)]():(_0x5b0240 instanceof oe||_0x5b0240 instanceof le)&&_0x5b0240[_0x5692e8(0x266)](),_0x5b0240;}return this['_injector'][_0x5692e8(0x326)](de,_0x6fb48,this[_0x5692e8(0x114)],_0x3ce3cb,_0x1d2c3e,_0x4a25df);}[_0x3f2c0d(0x2b6)](_0x2923a4,_0x6ab3b){var _0x3b1926=_0x3f2c0d,_0x365547,_0x4c44f2;const _0x598218=this['_compressMutationService'][_0x3b1926(0x236)][_0x3b1926(0x2e7)](this[_0x3b1926(0xf9)][_0x3b1926(0x236)][_0x3b1926(0x274)]()[_0x3b1926(0x1cc)]);(_0x365547=_0x598218((_0x2923a4==null?void 0x0:_0x2923a4[_0x3b1926(0x10b)])||[],null))==null||_0x365547[_0x3b1926(0x383)](_0x18e59d=>this['_commandService'][_0x3b1926(0x1de)](_0x18e59d['id'],_0x18e59d[_0x3b1926(0x2f8)])),(_0x4c44f2=_0x598218(_0x6ab3b||[],null))==null||_0x4c44f2[_0x3b1926(0x383)](_0x3d1e3b=>this[_0x3b1926(0x147)][_0x3b1926(0x1de)](_0x3d1e3b['id'],_0x3d1e3b[_0x3b1926(0x2f8)]));}};nt=Lt([H(0x3,_0x267554(_0x56056f)),H(0x4,_0x267554(_0x44953a)),H(0x5,_0x267554(_0x71645e)),H(0x6,_0x267554(_0x52f995)),H(0x7,_0x267554(pe)),H(0x8,_0x1160a0),H(0x9,_0x2a3321),H(0xa,_0x25cfc2),H(0xb,_0x309f63(ht)),H(0xc,_0x309f63(J))],nt);let It=class extends nt{constructor(_0x3d9ba7,_0x109798,_0x2384a7,_0x158c3f,_0x47552d,_0x242672,_0x10b251,_0x3b364b,_0x211f53,_0x4f81ae,_0x411c75,_0x4c09ac,_0x2a78ea){var _0x5caec9=_0x3f2c0d;super(_0x3d9ba7,_0x2384a7,_0x109798,_0x158c3f,_0x47552d,_0x242672,_0x10b251,_0x3b364b,_0x211f53,_0x4f81ae,_0x411c75,_0x4c09ac,_0x2a78ea),N(this,_0x5caec9(0x291),null),(this[_0x5caec9(0x17b)]=_0x3d9ba7,this[_0x5caec9(0x29e)]=_0x109798);}['addHandlerCallback'](_0x1070bd){var _0x5602c0=_0x3f2c0d;this[_0x5602c0(0x291)]=_0x1070bd;}[_0x3f2c0d(0x1da)](){this['_handlerCallback']=null,super['dispose']();}[_0x3f2c0d(0x211)](){var _0xd09e91=_0x3f2c0d;const _0x3cb5bc=super[_0xd09e91(0x211)]();return _0x3cb5bc[_0xd09e91(0xf0)]=_0xa47260=>{var _0x2aec35=_0xd09e91,_0x46ec45,_0x5ec35d;return(_0x5ec35d=(_0x46ec45=this[_0x2aec35(0x291)])==null?void 0x0:_0x46ec45['onTransformIME'])==null?void 0x0:_0x5ec35d['call'](_0x46ec45,_0xa47260);},_0x3cb5bc[_0xd09e91(0x202)]=_0x2750c8=>{var _0x1c6fcf=_0xd09e91,_0x19a0db,_0x33bd8e;return(_0x33bd8e=(_0x19a0db=this[_0x1c6fcf(0x291)])==null?void 0x0:_0x19a0db[_0x1c6fcf(0x202)])==null?void 0x0:_0x33bd8e[_0x1c6fcf(0x24f)](_0x19a0db,_0x2750c8);},_0x3cb5bc[_0xd09e91(0x35a)]=_0x3323b4=>{var _0x365651=_0xd09e91,_0x5afd20,_0xb5ad2c;return(_0xb5ad2c=(_0x5afd20=this[_0x365651(0x291)])==null?void 0x0:_0x5afd20[_0x365651(0x35a)])==null?void 0x0:_0xb5ad2c[_0x365651(0x24f)](_0x5afd20,_0x3323b4);},_0x3cb5bc[_0xd09e91(0x2a3)]=_0x2b8dae=>{var _0x28c523=_0xd09e91,_0x251d18,_0x21befa;return(_0x21befa=(_0x251d18=this[_0x28c523(0x291)])==null?void 0x0:_0x251d18[_0x28c523(0x2a3)])==null?void 0x0:_0x21befa[_0x28c523(0x24f)](_0x251d18,_0x2b8dae);},_0x3cb5bc[_0xd09e91(0x360)]=_0x122fd6=>{var _0x10ee46=_0xd09e91,_0x59eeb7,_0x23ccb3,_0x4d50d6;if(!((_0x59eeb7=this[_0x10ee46(0x291)])!=null&&_0x59eeb7[_0x10ee46(0x360)]))throw new Error('onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x4d50d6=(_0x23ccb3=this['_handlerCallback'])==null?void 0x0:_0x23ccb3[_0x10ee46(0x360)])==null?void 0x0:_0x4d50d6[_0x10ee46(0x24f)](_0x23ccb3,_0x122fd6);},_0x3cb5bc[_0xd09e91(0x1cd)]=_0x475b5c=>{var _0x10dbea=_0xd09e91,_0x65c602,_0x517d78,_0x30d079;if(!((_0x65c602=this[_0x10dbea(0x291)])!=null&&_0x65c602['onTransformRemoteChangesetByStateCache']))throw new Error('onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x30d079=(_0x517d78=this[_0x10dbea(0x291)])==null?void 0x0:_0x517d78['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x30d079[_0x10dbea(0x24f)](_0x517d78,_0x475b5c);},_0x3cb5bc;}async[_0x3f2c0d(0xea)](){var _0x41650f=_0x3f2c0d;const _0x76c90b=await super['_init']();return this[_0x41650f(0x1c5)](this['_commandService'][_0x41650f(0x154)]((_0x45e45a,_0xf5fbb6)=>{var _0x124753=_0x41650f;if(_0x45e45a[_0x124753(0x29e)]!==_0x4d1941[_0x124753(0x140)]||_0xf5fbb6!=null&&_0xf5fbb6[_0x124753(0x101)]||_0xf5fbb6!=null&&_0xf5fbb6[_0x124753(0xf6)]||_0x45e45a['id']===_0x5cc59b['id'])return;const _0x313793=_0x45e45a[_0x124753(0x2f8)];if((_0x313793==null?void 0x0:_0x313793[_0x124753(0x34e)])!==this['unitID'])return;const _0x4a2300=_0x45e45a,_0x2bc1fe=this[_0x124753(0xf9)]['interceptor'][_0x124753(0x2e7)](this[_0x124753(0xf9)]['interceptor'][_0x124753(0x274)]()['COMPRESS_MUTATION_SEND'])([_0x4a2300],null)||[_0x4a2300];this['_onLocalMutation'](_0x2bc1fe[0x0]);})),_0x76c90b;}};It=Lt([H(0x3,_0x267554(_0x56056f)),H(0x4,_0x267554(_0x44953a)),H(0x5,_0x267554(_0x71645e)),H(0x6,_0x267554(_0x52f995)),H(0x7,_0x267554(pe)),H(0x8,_0x1160a0),H(0x9,_0x2a3321),H(0xa,_0x25cfc2),H(0xb,_0x309f63(ht)),H(0xc,_0x309f63(J))],It);let Tt=class extends nt{constructor(_0x47bb09,_0x15ba6c,_0x15e1bf,_0x21f229,_0x2a5ba3,_0x27ecc6,_0xd556a8,_0x5f30ba,_0xdb5045,_0x2d370f,_0x40c52c,_0x301628,_0x439714,_0x54d2ea){var _0x4766ae=_0x3f2c0d;super(_0x47bb09,_0x15e1bf,_0x15ba6c,_0x21f229,_0x2a5ba3,_0x27ecc6,_0xd556a8,_0xdb5045,_0x2d370f,_0x40c52c,_0x301628,_0x439714,_0x54d2ea),this['unitID']=_0x47bb09,this['type']=_0x15ba6c,this[_0x4766ae(0x1f1)]=_0x5f30ba;}[_0x3f2c0d(0x211)](){var _0x36849f=_0x3f2c0d;const _0x341708=super[_0x36849f(0x211)]();return _0x341708[_0x36849f(0x35a)]=_0x5da1dd=>this[_0x36849f(0x1f1)][_0x36849f(0xed)](_0x5da1dd),_0x341708;}async[_0x3f2c0d(0xea)](){var _0x41cfa6=_0x3f2c0d;const _0x2d7de9=await super[_0x41cfa6(0xea)]();return this[_0x41cfa6(0x1c5)](this['_commandService']['onCommandExecuted']((_0x543507,_0x3ecb5b)=>{var _0x12c6ba=_0x41cfa6;if(_0x543507['type']!==_0x4d1941['MUTATION']||_0x3ecb5b!=null&&_0x3ecb5b[_0x12c6ba(0x101)]||_0x3ecb5b!=null&&_0x3ecb5b['onlyLocal'])return;const _0x4c19d0=_0x543507[_0x12c6ba(0x2f8)];if((_0x4c19d0==null?void 0x0:_0x4c19d0['unitId'])!==this[_0x12c6ba(0x17b)])return;const _0x56a502=_0x543507,_0x4779f7=this[_0x12c6ba(0xf9)][_0x12c6ba(0x236)][_0x12c6ba(0x2e7)](this[_0x12c6ba(0xf9)][_0x12c6ba(0x236)][_0x12c6ba(0x274)]()[_0x12c6ba(0x1a3)])([_0x56a502],null)||[_0x56a502];this[_0x12c6ba(0x311)](_0x4779f7[0x0]);})),_0x2d7de9;}};Tt=Lt([H(0x3,_0x267554(_0x56056f)),H(0x4,_0x267554(_0x44953a)),H(0x5,_0x267554(_0x71645e)),H(0x6,_0x267554(_0x52f995)),H(0x7,_0x267554(it)),H(0x8,_0x267554(pe)),H(0x9,_0x1160a0),H(0xa,_0x2a3321),H(0xb,_0x25cfc2),H(0xc,_0x309f63(ht)),H(0xd,_0x309f63(J))],Tt);var os=Object['getOwnPropertyDescriptor'],cs=(_0x5033fb,_0x4b2369,_0x1d6b46,_0x11190d)=>{var _0x11499e=_0x3f2c0d;for(var _0x147f8b=_0x11190d>0x1?void 0x0:_0x11190d?os(_0x4b2369,_0x1d6b46):_0x4b2369,_0x32bcf7=_0x5033fb[_0x11499e(0x245)]-0x1,_0x3be979;_0x32bcf7>=0x0;_0x32bcf7--)(_0x3be979=_0x5033fb[_0x32bcf7])&&(_0x147f8b=_0x3be979(_0x147f8b)||_0x147f8b);return _0x147f8b;},ft=(_0x3e0c91,_0x340d3a)=>(_0x3b92c9,_0x3b0be0)=>_0x340d3a(_0x3b92c9,_0x3b0be0,_0x3e0c91);let st=class extends _0x15cca1{constructor(_0x349ddd,_0x428a4e,_0x31af11){var _0x3bcef6=_0x3f2c0d;super(),N(this,_0x3bcef6(0x2b1),new Map()),N(this,_0x3bcef6(0x301),new _0x2edf1f()),N(this,_0x3bcef6(0x128),this[_0x3bcef6(0x301)][_0x3bcef6(0x2d1)]()),(this[_0x3bcef6(0xd5)]=_0x349ddd,this[_0x3bcef6(0x12d)]=_0x428a4e,this[_0x3bcef6(0x131)]=_0x31af11,this[_0x3bcef6(0xea)]());}['dispose'](){var _0x33f4e8=_0x3f2c0d;super[_0x33f4e8(0x1da)](),this[_0x33f4e8(0x2b1)]['forEach'](_0x2c41ce=>_0x2c41ce['dispose']()),this[_0x33f4e8(0x2b1)][_0x33f4e8(0x119)]();}[_0x3f2c0d(0xfb)](_0x20accd){var _0x2da6de=_0x3f2c0d,_0x115874;return(_0x115874=this['_entities'][_0x2da6de(0x12a)](_0x20accd))!=null?_0x115874:null;}[_0x3f2c0d(0x276)](_0x5af4ac){var _0x36f070=_0x3f2c0d;const _0x3f5b08=this[_0x36f070(0xfb)](_0x5af4ac);return _0x3f5b08?_0x1fe4c2(_0x3f5b08):this[_0x36f070(0x301)][_0x36f070(0x353)](_0x44758b(_0x3733a1=>_0x3733a1['unitID']===_0x5af4ac));}[_0x3f2c0d(0xdf)](_0x2fcc11){var _0x31cd08=_0x3f2c0d;return _0x56a2eb(this[_0x31cd08(0x276)](_0x2fcc11)[_0x31cd08(0x353)](_0x3c5472(()=>{})));}['_init'](){var _0x4e760e=_0x3f2c0d;this[_0x4e760e(0x131)]['getTypeOfUnitAdded$'](_0x2eecc2[_0x4e760e(0x1d7)])[_0x4e760e(0x353)](_0x2bd1de(this[_0x4e760e(0xd1)]),_0x54bf73(0x10))[_0x4e760e(0xcc)](async _0x2962fb=>{var _0x306bc7=_0x4e760e;const _0x7e9d1f=_0x2962fb[_0x306bc7(0xf2)](),_0x57e464=await this[_0x306bc7(0x2f9)](_0x7e9d1f,Q['UNIVER_SHEET']);this[_0x306bc7(0x2b1)]['set'](_0x7e9d1f,_0x57e464);}),this[_0x4e760e(0x131)][_0x4e760e(0x1d2)](_0x2eecc2[_0x4e760e(0x98)])[_0x4e760e(0x353)](_0x2bd1de(this['dispose$']),_0x54bf73(0x10))[_0x4e760e(0x353)](_0x44758b(_0x17e017=>!_0x17e017['getUnitId']()[_0x4e760e(0xfa)]('__')))['subscribe'](async _0x143f85=>{var _0x8cefb2=_0x4e760e;const _0x5116db=_0x143f85['getUnitId'](),_0x30328c=await this[_0x8cefb2(0x2f9)](_0x5116db,Q[_0x8cefb2(0x98)]);this[_0x8cefb2(0x2b1)][_0x8cefb2(0x37a)](_0x5116db,_0x30328c);}),_0x5eb4be(this['_univerInstanceService'][_0x4e760e(0x335)](_0x2eecc2[_0x4e760e(0x1d7)]),this[_0x4e760e(0x131)][_0x4e760e(0x335)](_0x2eecc2['UNIVER_DOC']))['pipe'](_0x2bd1de(this[_0x4e760e(0xd1)]))[_0x4e760e(0xcc)](_0x3b07a6=>{var _0x4a82f3=_0x4e760e;const _0x4608f0=_0x3b07a6[_0x4a82f3(0xf2)](),_0x47bed0=this['_entities'][_0x4a82f3(0x12a)](_0x4608f0);_0x47bed0&&(_0x47bed0[_0x4a82f3(0x1da)](),this[_0x4a82f3(0x2b1)][_0x4a82f3(0x1ce)](_0x4608f0));});}async['_startCollaboration'](_0x3aa222,_0x5d5915){var _0x119a19=_0x3f2c0d;const _0x893948=await this[_0x119a19(0x12d)][_0x119a19(0x112)](_0x3aa222),_0x1266ef=this[_0x119a19(0xd5)][_0x119a19(0x326)](this[_0x119a19(0x296)](_0x5d5915),_0x3aa222,_0x5d5915,_0x893948);return await _0x1266ef[_0x119a19(0x297)](),this[_0x119a19(0x301)][_0x119a19(0x1fe)](_0x1266ef),_0x1266ef;}[_0x3f2c0d(0x296)](_0x120676){var _0xbb5a81=_0x3f2c0d;switch(_0x120676){case Q[_0xbb5a81(0x98)]:return It;case Q['UNIVER_SHEET']:return Tt;default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0x120676);}}};st=cs([ft(0x0,_0x267554(_0x56056f)),ft(0x1,_0x267554(xe)),ft(0x2,_0x4031a5)],st);var hs=Object[_0x3f2c0d(0x1e7)],_s=(_0x41b897,_0x52fab5,_0x25531f,_0xf56858)=>{var _0x2cdbc9=_0x3f2c0d;for(var _0x1c5b37=_0xf56858>0x1?void 0x0:_0xf56858?hs(_0x52fab5,_0x25531f):_0x52fab5,_0x3a7809=_0x41b897[_0x2cdbc9(0x245)]-0x1,_0x2bf960;_0x3a7809>=0x0;_0x3a7809--)(_0x2bf960=_0x41b897[_0x3a7809])&&(_0x1c5b37=_0x2bf960(_0x1c5b37)||_0x1c5b37);return _0x1c5b37;},zt=(_0x569fac,_0x51eb26)=>(_0x32b269,_0x1bd6bf)=>_0x51eb26(_0x32b269,_0x1bd6bf,_0x569fac);const ls='DEFAULT_FILE_NAME',us=_0x3f2c0d(0x1b6);let Ct=class extends _0x5f4fc9{constructor(_0x3246da,_0x5a3e26){var _0x2f80df=_0x3f2c0d;super(),this[_0x2f80df(0x131)]=_0x3246da,this[_0x2f80df(0x1be)]=_0x5a3e26,this['_init']();}['_init'](){var _0x28fcac=_0x3f2c0d;this[_0x28fcac(0x1c5)](this['_univerInstanceService'][_0x28fcac(0x220)]['subscribe'](()=>{var _0xdfe905=_0x28fcac,_0x491dbc;const _0x591875=this[_0xdfe905(0x131)][_0xdfe905(0x346)]();let _0x478748=(_0x491dbc=this[_0xdfe905(0x1be)][_0xdfe905(0x172)](ls))!=null?_0x491dbc:us;_0x591875 instanceof _0x8d712e&&(_0x478748=_0x591875[_0xdfe905(0x2b5)]),document['title']=_0x478748;}));}};Ct=_s([zt(0x0,_0x4031a5),zt(0x1,_0x3686af)],Ct);var ds=Object[_0x3f2c0d(0x1e7)],fs=(_0x137333,_0xa7ff86,_0x274958,_0x1723af)=>{var _0x346037=_0x3f2c0d;for(var _0x189a30=_0x1723af>0x1?void 0x0:_0x1723af?ds(_0xa7ff86,_0x274958):_0xa7ff86,_0xfae71=_0x137333[_0x346037(0x245)]-0x1,_0x450aa1;_0xfae71>=0x0;_0xfae71--)(_0x450aa1=_0x137333[_0xfae71])&&(_0x189a30=_0x450aa1(_0x189a30)||_0x189a30);return _0x189a30;},vt=(_0x2e131c,_0x56f374)=>(_0x375f10,_0x24fdf7)=>_0x56f374(_0x375f10,_0x24fdf7,_0x2e131c);let rt=class{constructor(_0x4fefba,_0x283ea4,_0x1bfa04){var _0x344c15=_0x3f2c0d;this[_0x344c15(0x1be)]=_0x4fefba,this[_0x344c15(0xa8)]=_0x283ea4,this['localeService']=_0x1bfa04,this['init']();}['init'](){var _0x36d698=_0x3f2c0d;this['_httpService'][_0x36d698(0xcf)]({'priority':0x1,'interceptor':(_0x2e71c4,_0x57ecd2)=>_0x57ecd2(_0x2e71c4)[_0x36d698(0x353)](_0x34eebd(async _0x24ec40=>{var _0x5511ff=_0x36d698;const _0x5d014d=_0x24ec40;if(_0x5d014d[_0x5511ff(0x295)]===0x191){if(typeof window>'u')throw new Error(_0x5511ff(0x193));if(window[_0x5511ff(0xbc)](this[_0x5511ff(0x348)]['t'](_0x5511ff(0x31b)))){const _0x190275=window[_0x5511ff(0x2bb)](window[_0x5511ff(0x2f5)][_0x5511ff(0xa6)]);window[_0x5511ff(0x2f5)][_0x5511ff(0xa6)]=this[_0x5511ff(0x115)]()+_0x5511ff(0x1f9)+_0x190275;}}return _0x5d014d;}))});}['_getLoginPath'](){var _0x1cbbdf=_0x3f2c0d,_0x19b039,_0x6c1f8;const _0x223f26=this[_0x1cbbdf(0x1be)][_0x1cbbdf(0x172)](Un),_0x365230=this['_configService']['getConfig'](q);return(_0x6c1f8=(_0x19b039=_0x365230==null?void 0x0:_0x365230['loginUrlKey'])!=null?_0x19b039:_0x223f26)!=null?_0x6c1f8:An;}};rt=fs([vt(0x0,_0x3686af),vt(0x1,_0x267554(_0x4204c3)),vt(0x2,_0x267554(_0x71645e))],rt);var vs=Object[_0x3f2c0d(0x1e7)],ps=(_0x2d166a,_0x181e0c,_0x1c7b61,_0x5dd931)=>{var _0x3eb2fd=_0x3f2c0d;for(var _0x4c035d=_0x5dd931>0x1?void 0x0:_0x5dd931?vs(_0x181e0c,_0x1c7b61):_0x181e0c,_0x525c32=_0x2d166a[_0x3eb2fd(0x245)]-0x1,_0x3e740e;_0x525c32>=0x0;_0x525c32--)(_0x3e740e=_0x2d166a[_0x525c32])&&(_0x4c035d=_0x3e740e(_0x4c035d)||_0x4c035d);return _0x4c035d;},Jt=(_0x319f7e,_0x42fdc5)=>(_0x1d4cef,_0x120f29)=>_0x42fdc5(_0x1d4cef,_0x120f29,_0x319f7e);const Ni=_0x3f2c0d(0x204),ms=_0x3f2c0d(0x9c);let Rt=class extends _0x5f4fc9{constructor(_0x25b781,_0x58449f){var _0x23048d=_0x3f2c0d;super(),this[_0x23048d(0xb4)]=_0x25b781,this[_0x23048d(0x1be)]=_0x58449f,this[_0x23048d(0x265)]();}[_0x3f2c0d(0x265)](){var _0x189340=_0x3f2c0d;const _0x5121b5=this;this[_0x189340(0x1c5)](this['_HTTPService']['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':_0x5a7f35({'isMatch'(_0x2c15b6){var _0x189aae=_0x189340,_0x3e5ca7;if(_0x2c15b6[_0x189aae(0x394)]===_0x189aae(0x12f)&&((_0x3e5ca7=_0x2c15b6[_0x189aae(0x342)])!=null&&_0x3e5ca7[_0x189aae(0x1b7)])){const {objectID:_0x317295,objectType:_0x3832c8}=_0x2c15b6[_0x189aae(0x342)][_0x189aae(0x1b7)]||{};if(!_0x317295||_0x3832c8===void 0x0)return!0x1;const _0x6d0c16=_0x5121b5['_getAPIPrefixPath']()+'/'+_0x3832c8+_0x189aae(0x213)+_0x317295+_0x189aae(0x368);if(_0x2c15b6[_0x189aae(0x35b)]===_0x6d0c16)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x16fa86){var _0x968a9f=_0x189340,_0x32e526;return(_0x32e526=_0x16fa86[_0x968a9f(0x342)])==null?void 0x0:_0x32e526[_0x968a9f(0x1b7)];},'mergeParamsToRequest'(_0x5c05b6,_0x39b5d1){var _0x3b52e7=_0x189340;const _0x8efc17=_0x5121b5[_0x3b52e7(0x167)]()+_0x3b52e7(0x32d),_0x4601f3=_0x5c05b6[_0x3b52e7(0x30a)]((_0x1402ba,_0x479c91)=>{var _0x3ead7a=_0x3b52e7;const {unitID:_0x31c205,objectID:_0x27162b,objectType:_0x59ea93,actions:_0x4bb6fb}=_0x479c91;return _0x1402ba[_0x31c205]||(_0x1402ba[_0x31c205]={}),_0x1402ba[_0x31c205][_0x27162b]||(_0x1402ba[_0x31c205][_0x27162b]={'objectID':_0x27162b,'objectType':_0x59ea93,'actions':[]}),_0x1402ba[_0x31c205][_0x27162b][_0x3ead7a(0x1ff)][_0x3ead7a(0x13c)](..._0x4bb6fb),_0x1402ba;},{}),_0x19605f=[];for(const _0x47e9d7 in _0x4601f3)for(const _0x2d953c in _0x4601f3[_0x47e9d7]){const {actions:_0x2278a8,objectType:_0x851189}=_0x4601f3[_0x47e9d7][_0x2d953c],_0xdb6458=[...new Set(_0x2278a8)];_0x19605f[_0x3b52e7(0x13c)]({'unitID':_0x47e9d7,'objectID':_0x2d953c,'objectType':_0x851189,'actions':_0xdb6458});}return new _0x30fffc('POST',_0x8efc17,{'headers':_0x39b5d1[_0x3b52e7(0x14d)],'withCredentials':_0x39b5d1[_0x3b52e7(0x1c0)],'responseType':_0x39b5d1['responseType'],'body':{'requests':_0x19605f}});}},{'distributeResult'(_0x56b55b,_0x467a17){var _0x400c16=_0x189340;const {objectActions:_0x340d61}=_0x56b55b;return _0x467a17[_0x400c16(0x187)](_0x2884a7=>{var _0x351e6a=_0x400c16;const {unitID:_0x2a615e,objectID:_0x41aaf1,actions:_0x5b8eeb}=_0x2884a7,_0x40b01a=_0x340d61['find'](_0xab436f=>_0xab436f[_0x351e6a(0x17b)]===_0x2a615e&&_0xab436f['objectID']===_0x41aaf1),_0xc322a1=_0x5b8eeb['map'](_0x547461=>_0x40b01a==null?void 0x0:_0x40b01a['actions']['find'](_0x2d8c03=>_0x2d8c03[_0x351e6a(0x11d)]===_0x547461))[_0x351e6a(0x258)](_0x5d89f9=>!!_0x5d89f9);return{'config':_0x2884a7,'result':{'actions':_0xc322a1,'error':_0x56b55b[_0x351e6a(0x34c)]}};});}})}));}[_0x3f2c0d(0x167)](){var _0x25cc39=_0x3f2c0d,_0x352061,_0x4c0270;const _0x5a03b5=this[_0x25cc39(0x1be)]['getConfig'](Ni),_0x3ef390=this[_0x25cc39(0x1be)][_0x25cc39(0x172)](q);return(_0x4c0270=(_0x352061=_0x3ef390==null?void 0x0:_0x3ef390[_0x25cc39(0x1b5)])!=null?_0x352061:_0x5a03b5)!=null?_0x4c0270:ms;}async['create'](_0x46f72b){var _0x4ae8e5=_0x3f2c0d;const _0x2e1e97=this[_0x4ae8e5(0x167)]()+'/'+_0x46f72b[_0x4ae8e5(0x1d1)]+'/object';return(await this[_0x4ae8e5(0xb4)][_0x4ae8e5(0x2fd)](_0x2e1e97,{'body':_0x46f72b}))[_0x4ae8e5(0x1b7)][_0x4ae8e5(0x31d)]||'';}async[_0x3f2c0d(0x181)](_0x3ddce6){var _0x2855f6=_0x3f2c0d;const _0xf98bd7=this[_0x2855f6(0x167)]()+_0x2855f6(0x1fb);return(await this['_HTTPService'][_0x2855f6(0x2fd)](_0xf98bd7,{'body':_0x3ddce6}))[_0x2855f6(0x1b7)][_0x2855f6(0x364)];}async['update'](_0x1e2619){var _0x358be6=_0x3f2c0d,_0x3f1eab,_0x5f7b1d;const _0x3279c1=this['_getAPIPrefixPath']()+'/'+_0x1e2619[_0x358be6(0x1d1)]+_0x358be6(0x213)+_0x1e2619['objectID'],_0x1f31ac=await this[_0x358be6(0xb4)][_0x358be6(0x1e4)](_0x3279c1,{'body':_0x1e2619});if(((_0x5f7b1d=(_0x3f1eab=_0x1f31ac==null?void 0x0:_0x1f31ac[_0x358be6(0x1b7)])==null?void 0x0:_0x3f1eab[_0x358be6(0x34c)])==null?void 0x0:_0x5f7b1d['code'])!==0x1)throw new Error(_0x358be6(0x26a));}async[_0x3f2c0d(0xbe)](_0x434519){var _0x4560b8=_0x3f2c0d;const _0x449558=this[_0x4560b8(0x167)]()+'/'+_0x434519[_0x4560b8(0x1d1)]+'/object/'+_0x434519[_0x4560b8(0x31d)]+_0x4560b8(0x368);return(await this[_0x4560b8(0xb4)]['post'](_0x449558,{'body':_0x434519}))['body'][_0x4560b8(0x1ff)];}async[_0x3f2c0d(0x249)](_0x460ebc){var _0x42c40d=_0x3f2c0d;const _0x1e4455=this[_0x42c40d(0x167)]()+'/-/object/-/batch_allowed';return(await this[_0x42c40d(0xb4)]['post'](_0x1e4455,{'body':{'requests':_0x460ebc}}))[_0x42c40d(0x1b7)]['objectActions'];}async['listRoles'](_0x3528a0){var _0x30b861=_0x3f2c0d;const _0x2b68c7=this[_0x30b861(0x167)]()+'/'+_0x3528a0['objectType']+'/role',_0x16819=await this['_HTTPService'][_0x30b861(0x2fd)](_0x2b68c7,{'body':_0x3528a0});return{'roles':_0x16819[_0x30b861(0x1b7)]['roles'],'actions':_0x16819[_0x30b861(0x1b7)][_0x30b861(0x1ff)]};}async['deleteCollaborator'](_0x3255c4){var _0x4f486f=_0x3f2c0d;const _0x42050f=this['_getAPIPrefixPath']()+_0x4f486f(0x2a8);await this[_0x4f486f(0xb4)][_0x4f486f(0x1ce)](_0x42050f,{'params':{'collaboratorID':_0x3255c4[_0x4f486f(0x117)],'objectID':_0x3255c4['objectID'],'unitID':_0x3255c4[_0x4f486f(0x17b)]}});}async[_0x3f2c0d(0x31c)](_0xb12c05){var _0x4d098e=_0x3f2c0d;const _0x192f27=this[_0x4d098e(0x167)]()+_0x4d098e(0x2a8);await this['_HTTPService'][_0x4d098e(0x32a)](_0x192f27,{'body':_0xb12c05});}async[_0x3f2c0d(0xaa)](_0x3a7c01){var _0xdaa908=_0x3f2c0d;const _0x44cdee=this[_0xdaa908(0x167)]()+_0xdaa908(0x2a8);await this[_0xdaa908(0xb4)][_0xdaa908(0x2fd)](_0x44cdee,{'body':_0x3a7c01});}async[_0x3f2c0d(0x1a6)](_0x26d228){var _0xe5060f=_0x3f2c0d;const _0x3ab1be=this['_getAPIPrefixPath']()+_0xe5060f(0x2a8);return(await this[_0xe5060f(0xb4)][_0xe5060f(0x12a)](_0x3ab1be,{'params':{'objectID':_0x26d228[_0xe5060f(0x31d)],'unitID':_0x26d228[_0xe5060f(0x17b)]}}))[_0xe5060f(0x1b7)]['collaborators'];}async['putCollaborators'](_0x2a6d26){var _0x5a8487=_0x3f2c0d;const _0x548bb2=this['_getAPIPrefixPath']()+_0x5a8487(0x2a8);await this[_0x5a8487(0xb4)][_0x5a8487(0x1e4)](_0x548bb2,{'body':_0x2a6d26});}};Rt=ps([Jt(0x0,_0x267554(_0x4204c3)),Jt(0x1,_0x267554(_0x3686af))],Rt);var pt=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function He(_0xd74056){var _0x877555=_0x3f2c0d;return _0xd74056&&_0xd74056[_0x877555(0x2ca)]&&Object[_0x877555(0x33d)][_0x877555(0x210)][_0x877555(0x24f)](_0xd74056,_0x877555(0x1a5))?_0xd74056[_0x877555(0x1a5)]:_0xd74056;}var Ve={'exports':{}};function gs(_0x26cb9f){var _0x3f6d62=_0x3f2c0d;throw new Error('Could\x20not\x20dynamically\x20require\x20\x22'+_0x26cb9f+_0x3f6d62(0x1ee));}var Ge={'exports':{}},Ss=Ge[_0x3f2c0d(0x1b1)],Xt;function ie(){var _0x729fac=_0x3f2c0d;return Xt||(Xt=0x1,function(_0x1a975c,_0x4cf323){(function(_0x2f8269,_0x20331e){var _0x124864=_0x5a2d;_0x1a975c[_0x124864(0x1b1)]=_0x20331e();}(Ss,function(){var _0x592393=_0x592393||function(_0x118fda,_0x4bdddb){var _0x681117=_0x5a2d,_0xf39068;if(typeof window<'u'&&window[_0x681117(0xb0)]&&(_0xf39068=window[_0x681117(0xb0)]),typeof self<'u'&&self[_0x681117(0xb0)]&&(_0xf39068=self[_0x681117(0xb0)]),typeof globalThis<'u'&&globalThis[_0x681117(0xb0)]&&(_0xf39068=globalThis[_0x681117(0xb0)]),!_0xf39068&&typeof window<'u'&&window[_0x681117(0x1c6)]&&(_0xf39068=window[_0x681117(0x1c6)]),!_0xf39068&&typeof pt<'u'&&pt[_0x681117(0xb0)]&&(_0xf39068=pt[_0x681117(0xb0)]),!_0xf39068&&typeof gs=='function')try{_0xf39068=require('crypto');}catch{}var _0xfcda8d=function(){var _0x2c5863=_0x681117;if(_0xf39068){if(typeof _0xf39068['getRandomValues']==_0x2c5863(0x1d6))try{return _0xf39068[_0x2c5863(0x37f)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0xf39068['randomBytes']==_0x2c5863(0x1d6))try{return _0xf39068[_0x2c5863(0x290)](0x4)[_0x2c5863(0x186)]();}catch{}}throw new Error(_0x2c5863(0xe8));},_0x31a842=Object[_0x681117(0x23b)]||(function(){function _0x4ace11(){}return function(_0x5bf718){var _0x58b4cd=_0x5a2d,_0x41b44b;return _0x4ace11[_0x58b4cd(0x33d)]=_0x5bf718,_0x41b44b=new _0x4ace11(),_0x4ace11['prototype']=null,_0x41b44b;};}()),_0x353ef6={},_0x54ad7a=_0x353ef6['lib']={},_0x1dee9b=_0x54ad7a['Base']=(function(){return{'extend':function(_0x1e39c5){var _0x121dd8=_0x5a2d,_0xe7fd3d=_0x31a842(this);return _0x1e39c5&&_0xe7fd3d['mixIn'](_0x1e39c5),(!_0xe7fd3d[_0x121dd8(0x210)](_0x121dd8(0x297))||this[_0x121dd8(0x297)]===_0xe7fd3d[_0x121dd8(0x297)])&&(_0xe7fd3d[_0x121dd8(0x297)]=function(){var _0x354a13=_0x121dd8;_0xe7fd3d[_0x354a13(0x34b)][_0x354a13(0x297)]['apply'](this,arguments);}),_0xe7fd3d[_0x121dd8(0x297)]['prototype']=_0xe7fd3d,_0xe7fd3d[_0x121dd8(0x34b)]=this,_0xe7fd3d;},'create':function(){var _0xf35c3f=_0x5a2d,_0x562495=this[_0xf35c3f(0x38f)]();return _0x562495[_0xf35c3f(0x297)][_0xf35c3f(0x2e0)](_0x562495,arguments),_0x562495;},'init':function(){},'mixIn':function(_0x60affd){var _0x141984=_0x5a2d;for(var _0x3c03c1 in _0x60affd)_0x60affd[_0x141984(0x210)](_0x3c03c1)&&(this[_0x3c03c1]=_0x60affd[_0x3c03c1]);_0x60affd[_0x141984(0x210)](_0x141984(0x179))&&(this[_0x141984(0x179)]=_0x60affd[_0x141984(0x179)]);},'clone':function(){var _0x5e90ed=_0x5a2d;return this['init'][_0x5e90ed(0x33d)][_0x5e90ed(0x38f)](this);}};}()),_0x2065c8=_0x54ad7a[_0x681117(0x120)]=_0x1dee9b[_0x681117(0x38f)]({'init':function(_0xe5ae6a,_0xb20571){var _0x5b7b06=_0x681117;_0xe5ae6a=this[_0x5b7b06(0x207)]=_0xe5ae6a||[],_0xb20571!=_0x4bdddb?this['sigBytes']=_0xb20571:this[_0x5b7b06(0x1ef)]=_0xe5ae6a['length']*0x4;},'toString':function(_0x3e7fe0){var _0x58e967=_0x681117;return(_0x3e7fe0||_0xaa0286)[_0x58e967(0x273)](this);},'concat':function(_0xccab4d){var _0xd6c841=_0x681117,_0x18a96f=this[_0xd6c841(0x207)],_0x6fdda9=_0xccab4d[_0xd6c841(0x207)],_0x5dbacd=this[_0xd6c841(0x1ef)],_0x2fe6cd=_0xccab4d[_0xd6c841(0x1ef)];if(this[_0xd6c841(0x196)](),_0x5dbacd%0x4)for(var _0x2c39f2=0x0;_0x2c39f2<_0x2fe6cd;_0x2c39f2++){var _0x4cc5dc=_0x6fdda9[_0x2c39f2>>>0x2]>>>0x18-_0x2c39f2%0x4*0x8&0xff;_0x18a96f[_0x5dbacd+_0x2c39f2>>>0x2]|=_0x4cc5dc<<0x18-(_0x5dbacd+_0x2c39f2)%0x4*0x8;}else{for(var _0x4798b7=0x0;_0x4798b7<_0x2fe6cd;_0x4798b7+=0x4)_0x18a96f[_0x5dbacd+_0x4798b7>>>0x2]=_0x6fdda9[_0x4798b7>>>0x2];}return this[_0xd6c841(0x1ef)]+=_0x2fe6cd,this;},'clamp':function(){var _0x4418ab=_0x681117,_0x5ef341=this['words'],_0x6828c6=this[_0x4418ab(0x1ef)];_0x5ef341[_0x6828c6>>>0x2]&=0xffffffff<<0x20-_0x6828c6%0x4*0x8,_0x5ef341[_0x4418ab(0x245)]=_0x118fda['ceil'](_0x6828c6/0x4);},'clone':function(){var _0x664a47=_0x681117,_0x27f757=_0x1dee9b['clone'][_0x664a47(0x24f)](this);return _0x27f757[_0x664a47(0x207)]=this[_0x664a47(0x207)][_0x664a47(0x1a4)](0x0),_0x27f757;},'random':function(_0x54d536){for(var _0x6fd45d=[],_0x5bfc80=0x0;_0x5bfc80<_0x54d536;_0x5bfc80+=0x4)_0x6fd45d['push'](_0xfcda8d());return new _0x2065c8['init'](_0x6fd45d,_0x54d536);}}),_0x261d8a=_0x353ef6[_0x681117(0x1e1)]={},_0xaa0286=_0x261d8a[_0x681117(0x33f)]={'stringify':function(_0x64abf7){var _0x5be455=_0x681117;for(var _0x4941fd=_0x64abf7[_0x5be455(0x207)],_0x3a9cf9=_0x64abf7['sigBytes'],_0xe7663d=[],_0x15a126=0x0;_0x15a126<_0x3a9cf9;_0x15a126++){var _0x44d8df=_0x4941fd[_0x15a126>>>0x2]>>>0x18-_0x15a126%0x4*0x8&0xff;_0xe7663d[_0x5be455(0x13c)]((_0x44d8df>>>0x4)[_0x5be455(0x179)](0x10)),_0xe7663d[_0x5be455(0x13c)]((_0x44d8df&0xf)[_0x5be455(0x179)](0x10));}return _0xe7663d[_0x5be455(0x2ad)]('');},'parse':function(_0x2cfc2f){var _0xb73758=_0x681117;for(var _0x5ab08f=_0x2cfc2f['length'],_0x3f2c0c=[],_0xb1bc1c=0x0;_0xb1bc1c<_0x5ab08f;_0xb1bc1c+=0x2)_0x3f2c0c[_0xb1bc1c>>>0x3]|=parseInt(_0x2cfc2f[_0xb73758(0x2d0)](_0xb1bc1c,0x2),0x10)<<0x18-_0xb1bc1c%0x8*0x4;return new _0x2065c8[(_0xb73758(0x297))](_0x3f2c0c,_0x5ab08f/0x2);}},_0x50a83b=_0x261d8a[_0x681117(0x308)]={'stringify':function(_0xb5176d){var _0x373d53=_0x681117;for(var _0xe0fd9c=_0xb5176d[_0x373d53(0x207)],_0x1fffe7=_0xb5176d[_0x373d53(0x1ef)],_0x144bb8=[],_0x502f16=0x0;_0x502f16<_0x1fffe7;_0x502f16++){var _0x13ce34=_0xe0fd9c[_0x502f16>>>0x2]>>>0x18-_0x502f16%0x4*0x8&0xff;_0x144bb8['push'](String[_0x373d53(0x1fc)](_0x13ce34));}return _0x144bb8[_0x373d53(0x2ad)]('');},'parse':function(_0x379022){var _0x58d5c2=_0x681117;for(var _0x291f2a=_0x379022[_0x58d5c2(0x245)],_0x5cf524=[],_0x55d5fe=0x0;_0x55d5fe<_0x291f2a;_0x55d5fe++)_0x5cf524[_0x55d5fe>>>0x2]|=(_0x379022[_0x58d5c2(0x2b3)](_0x55d5fe)&0xff)<<0x18-_0x55d5fe%0x4*0x8;return new _0x2065c8[(_0x58d5c2(0x297))](_0x5cf524,_0x291f2a);}},_0x690b51=_0x261d8a[_0x681117(0x158)]={'stringify':function(_0x52b149){var _0x45d593=_0x681117;try{return decodeURIComponent(escape(_0x50a83b['stringify'](_0x52b149)));}catch{throw new Error(_0x45d593(0x1bc));}},'parse':function(_0x4050db){return _0x50a83b['parse'](unescape(encodeURIComponent(_0x4050db)));}},_0x2f215f=_0x54ad7a['BufferedBlockAlgorithm']=_0x1dee9b[_0x681117(0x38f)]({'reset':function(){var _0x4efd56=_0x681117;this[_0x4efd56(0x375)]=new _0x2065c8[(_0x4efd56(0x297))](),this['_nDataBytes']=0x0;},'_append':function(_0x5e0a61){var _0x79dea0=_0x681117;typeof _0x5e0a61==_0x79dea0(0xd0)&&(_0x5e0a61=_0x690b51[_0x79dea0(0x309)](_0x5e0a61)),this[_0x79dea0(0x375)][_0x79dea0(0x122)](_0x5e0a61),this[_0x79dea0(0xc8)]+=_0x5e0a61['sigBytes'];},'_process':function(_0x353719){var _0x28b18f=_0x681117,_0x5d188d,_0x303a18=this[_0x28b18f(0x375)],_0x34c306=_0x303a18[_0x28b18f(0x207)],_0x102f7c=_0x303a18[_0x28b18f(0x1ef)],_0x576f15=this[_0x28b18f(0x26f)],_0x22102e=_0x576f15*0x4,_0x37b3d6=_0x102f7c/_0x22102e;_0x353719?_0x37b3d6=_0x118fda[_0x28b18f(0x30c)](_0x37b3d6):_0x37b3d6=_0x118fda[_0x28b18f(0xe3)]((_0x37b3d6|0x0)-this[_0x28b18f(0x102)],0x0);var _0x17175d=_0x37b3d6*_0x576f15,_0x416f8f=_0x118fda[_0x28b18f(0x2ff)](_0x17175d*0x4,_0x102f7c);if(_0x17175d){for(var _0x171485=0x0;_0x171485<_0x17175d;_0x171485+=_0x576f15)this[_0x28b18f(0x1a8)](_0x34c306,_0x171485);_0x5d188d=_0x34c306[_0x28b18f(0x363)](0x0,_0x17175d),_0x303a18[_0x28b18f(0x1ef)]-=_0x416f8f;}return new _0x2065c8[(_0x28b18f(0x297))](_0x5d188d,_0x416f8f);},'clone':function(){var _0x40235f=_0x681117,_0xdd80b4=_0x1dee9b[_0x40235f(0x25e)]['call'](this);return _0xdd80b4[_0x40235f(0x375)]=this[_0x40235f(0x375)]['clone'](),_0xdd80b4;},'_minBufferSize':0x0});_0x54ad7a['Hasher']=_0x2f215f[_0x681117(0x38f)]({'cfg':_0x1dee9b['extend'](),'init':function(_0x39f264){var _0x5c7327=_0x681117;this['cfg']=this[_0x5c7327(0x99)][_0x5c7327(0x38f)](_0x39f264),this[_0x5c7327(0x2da)]();},'reset':function(){var _0x2d7057=_0x681117;_0x2f215f[_0x2d7057(0x2da)]['call'](this),this[_0x2d7057(0x229)]();},'update':function(_0x45e689){var _0x154367=_0x681117;return this[_0x154367(0x251)](_0x45e689),this['_process'](),this;},'finalize':function(_0x27f7e9){var _0x2d1ec6=_0x681117;_0x27f7e9&&this[_0x2d1ec6(0x251)](_0x27f7e9);var _0x50d669=this['_doFinalize']();return _0x50d669;},'blockSize':0x10,'_createHelper':function(_0x171a98){return function(_0x4f70bf,_0x85ad5){var _0x394b75=_0x5a2d;return new _0x171a98[(_0x394b75(0x297))](_0x85ad5)[_0x394b75(0x139)](_0x4f70bf);};},'_createHmacHelper':function(_0x21431f){return function(_0x47fb6b,_0x3471d6){var _0x2ccc44=_0x5a2d;return new _0x2ddd93['HMAC'][(_0x2ccc44(0x297))](_0x21431f,_0x3471d6)[_0x2ccc44(0x139)](_0x47fb6b);};}});var _0x2ddd93=_0x353ef6[_0x681117(0x37c)]={};return _0x353ef6;}(Math);return _0x592393;}));}(Ge)),Ge[_0x729fac(0x1b1)];}var We={'exports':{}},Es=We[_0x3f2c0d(0x1b1)],Zt;function Di(){var _0x394094=_0x3f2c0d;return Zt||(Zt=0x1,function(_0x462783,_0x423c57){(function(_0x27731d,_0x17efc5){var _0x5e684e=_0x5a2d;_0x462783[_0x5e684e(0x1b1)]=_0x17efc5(ie());}(Es,function(_0x14645b){var _0x4b671e=_0x5a2d;return(function(){var _0x273a06=_0x5a2d,_0x501c3e=_0x14645b,_0x1fc015=_0x501c3e[_0x273a06(0x28b)],_0x4c5876=_0x1fc015[_0x273a06(0x120)],_0x2bb82c=_0x501c3e[_0x273a06(0x1e1)];_0x2bb82c[_0x273a06(0xf3)]={'stringify':function(_0x50a3f3){var _0x38a979=_0x273a06,_0x12833b=_0x50a3f3[_0x38a979(0x207)],_0x3a9a71=_0x50a3f3[_0x38a979(0x1ef)],_0x1f6988=this['_map'];_0x50a3f3[_0x38a979(0x196)]();for(var _0x1a5a14=[],_0x560a74=0x0;_0x560a74<_0x3a9a71;_0x560a74+=0x3)for(var _0x400fb5=_0x12833b[_0x560a74>>>0x2]>>>0x18-_0x560a74%0x4*0x8&0xff,_0x4fc38a=_0x12833b[_0x560a74+0x1>>>0x2]>>>0x18-(_0x560a74+0x1)%0x4*0x8&0xff,_0x103196=_0x12833b[_0x560a74+0x2>>>0x2]>>>0x18-(_0x560a74+0x2)%0x4*0x8&0xff,_0x5b4ea8=_0x400fb5<<0x10|_0x4fc38a<<0x8|_0x103196,_0x435403=0x0;_0x435403<0x4&&_0x560a74+_0x435403*0.75<_0x3a9a71;_0x435403++)_0x1a5a14[_0x38a979(0x13c)](_0x1f6988['charAt'](_0x5b4ea8>>>0x6*(0x3-_0x435403)&0x3f));var _0x8ce409=_0x1f6988[_0x38a979(0xce)](0x40);if(_0x8ce409){for(;_0x1a5a14[_0x38a979(0x245)]%0x4;)_0x1a5a14[_0x38a979(0x13c)](_0x8ce409);}return _0x1a5a14[_0x38a979(0x2ad)]('');},'parse':function(_0x55564c){var _0x55dd92=_0x273a06,_0x3e2abd=_0x55564c[_0x55dd92(0x245)],_0x2bf847=this[_0x55dd92(0x36e)],_0x2a15fb=this[_0x55dd92(0x121)];if(!_0x2a15fb){_0x2a15fb=this[_0x55dd92(0x121)]=[];for(var _0x45f46d=0x0;_0x45f46d<_0x2bf847[_0x55dd92(0x245)];_0x45f46d++)_0x2a15fb[_0x2bf847['charCodeAt'](_0x45f46d)]=_0x45f46d;}var _0x3526c4=_0x2bf847['charAt'](0x40);if(_0x3526c4){var _0x16915b=_0x55564c[_0x55dd92(0x35f)](_0x3526c4);_0x16915b!==-0x1&&(_0x3e2abd=_0x16915b);}return _0x1741ce(_0x55564c,_0x3e2abd,_0x2a15fb);},'_map':_0x273a06(0x149)};function _0x1741ce(_0x309e12,_0x7ae5a8,_0x231902){var _0x2c8cfd=_0x273a06;for(var _0x322425=[],_0x19b52f=0x0,_0x19880c=0x0;_0x19880c<_0x7ae5a8;_0x19880c++)if(_0x19880c%0x4){var _0x8c0384=_0x231902[_0x309e12[_0x2c8cfd(0x2b3)](_0x19880c-0x1)]<<_0x19880c%0x4*0x2,_0x5f2205=_0x231902[_0x309e12[_0x2c8cfd(0x2b3)](_0x19880c)]>>>0x6-_0x19880c%0x4*0x2,_0x5ee7d6=_0x8c0384|_0x5f2205;_0x322425[_0x19b52f>>>0x2]|=_0x5ee7d6<<0x18-_0x19b52f%0x4*0x8,_0x19b52f++;}return _0x4c5876['create'](_0x322425,_0x19b52f);}}()),_0x14645b[_0x4b671e(0x1e1)][_0x4b671e(0xf3)];}));}(We)),We[_0x394094(0x1b1)];}var Ke={'exports':{}},Is=Ke['exports'],Qt;function Ts(){var _0x40433c=_0x3f2c0d;return Qt||(Qt=0x1,function(_0x3362c1,_0x57a56e){(function(_0x2292b2,_0x16967c){_0x3362c1['exports']=_0x16967c(ie());}(Is,function(_0x19462d){var _0x1cf0b7=_0x5a2d;return function(_0x49789e){var _0x19a57d=_0x5a2d,_0x2229e9=_0x19462d,_0x2ce663=_0x2229e9['lib'],_0x40f855=_0x2ce663['WordArray'],_0xc78784=_0x2ce663['Hasher'],_0x140fe7=_0x2229e9[_0x19a57d(0x37c)],_0x150861=[];(function(){var _0x3e728b=_0x19a57d;for(var _0x376d0b=0x0;_0x376d0b<0x40;_0x376d0b++)_0x150861[_0x376d0b]=_0x49789e[_0x3e728b(0x21a)](_0x49789e['sin'](_0x376d0b+0x1))*0x100000000|0x0;}());var _0x3649f9=_0x140fe7['MD5']=_0xc78784[_0x19a57d(0x38f)]({'_doReset':function(){this['_hash']=new _0x40f855['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x47e06a,_0x5c651f){var _0x236fcc=_0x19a57d;for(var _0x2dcda1=0x0;_0x2dcda1<0x10;_0x2dcda1++){var _0x4607e5=_0x5c651f+_0x2dcda1,_0x58aacd=_0x47e06a[_0x4607e5];_0x47e06a[_0x4607e5]=(_0x58aacd<<0x8|_0x58aacd>>>0x18)&0xff00ff|(_0x58aacd<<0x18|_0x58aacd>>>0x8)&0xff00ff00;}var _0x142280=this[_0x236fcc(0x36d)][_0x236fcc(0x207)],_0x23ae9b=_0x47e06a[_0x5c651f+0x0],_0x398fc7=_0x47e06a[_0x5c651f+0x1],_0x3cd796=_0x47e06a[_0x5c651f+0x2],_0x3a60e7=_0x47e06a[_0x5c651f+0x3],_0x54b886=_0x47e06a[_0x5c651f+0x4],_0x238d57=_0x47e06a[_0x5c651f+0x5],_0x128fcf=_0x47e06a[_0x5c651f+0x6],_0x3742ef=_0x47e06a[_0x5c651f+0x7],_0x442d71=_0x47e06a[_0x5c651f+0x8],_0x1a4e97=_0x47e06a[_0x5c651f+0x9],_0x6ca97b=_0x47e06a[_0x5c651f+0xa],_0x305508=_0x47e06a[_0x5c651f+0xb],_0x15aa85=_0x47e06a[_0x5c651f+0xc],_0xc3f038=_0x47e06a[_0x5c651f+0xd],_0x3a20c6=_0x47e06a[_0x5c651f+0xe],_0x2c27bc=_0x47e06a[_0x5c651f+0xf],_0xf9e29b=_0x142280[0x0],_0x2a69c5=_0x142280[0x1],_0x136918=_0x142280[0x2],_0x5eeed9=_0x142280[0x3];_0xf9e29b=_0x365960(_0xf9e29b,_0x2a69c5,_0x136918,_0x5eeed9,_0x23ae9b,0x7,_0x150861[0x0]),_0x5eeed9=_0x365960(_0x5eeed9,_0xf9e29b,_0x2a69c5,_0x136918,_0x398fc7,0xc,_0x150861[0x1]),_0x136918=_0x365960(_0x136918,_0x5eeed9,_0xf9e29b,_0x2a69c5,_0x3cd796,0x11,_0x150861[0x2]),_0x2a69c5=_0x365960(_0x2a69c5,_0x136918,_0x5eeed9,_0xf9e29b,_0x3a60e7,0x16,_0x150861[0x3]),_0xf9e29b=_0x365960(_0xf9e29b,_0x2a69c5,_0x136918,_0x5eeed9,_0x54b886,0x7,_0x150861[0x4]),_0x5eeed9=_0x365960(_0x5eeed9,_0xf9e29b,_0x2a69c5,_0x136918,_0x238d57,0xc,_0x150861[0x5]),_0x136918=_0x365960(_0x136918,_0x5eeed9,_0xf9e29b,_0x2a69c5,_0x128fcf,0x11,_0x150861[0x6]),_0x2a69c5=_0x365960(_0x2a69c5,_0x136918,_0x5eeed9,_0xf9e29b,_0x3742ef,0x16,_0x150861[0x7]),_0xf9e29b=_0x365960(_0xf9e29b,_0x2a69c5,_0x136918,_0x5eeed9,_0x442d71,0x7,_0x150861[0x8]),_0x5eeed9=_0x365960(_0x5eeed9,_0xf9e29b,_0x2a69c5,_0x136918,_0x1a4e97,0xc,_0x150861[0x9]),_0x136918=_0x365960(_0x136918,_0x5eeed9,_0xf9e29b,_0x2a69c5,_0x6ca97b,0x11,_0x150861[0xa]),_0x2a69c5=_0x365960(_0x2a69c5,_0x136918,_0x5eeed9,_0xf9e29b,_0x305508,0x16,_0x150861[0xb]),_0xf9e29b=_0x365960(_0xf9e29b,_0x2a69c5,_0x136918,_0x5eeed9,_0x15aa85,0x7,_0x150861[0xc]),_0x5eeed9=_0x365960(_0x5eeed9,_0xf9e29b,_0x2a69c5,_0x136918,_0xc3f038,0xc,_0x150861[0xd]),_0x136918=_0x365960(_0x136918,_0x5eeed9,_0xf9e29b,_0x2a69c5,_0x3a20c6,0x11,_0x150861[0xe]),_0x2a69c5=_0x365960(_0x2a69c5,_0x136918,_0x5eeed9,_0xf9e29b,_0x2c27bc,0x16,_0x150861[0xf]),_0xf9e29b=_0x1d8a51(_0xf9e29b,_0x2a69c5,_0x136918,_0x5eeed9,_0x398fc7,0x5,_0x150861[0x10]),_0x5eeed9=_0x1d8a51(_0x5eeed9,_0xf9e29b,_0x2a69c5,_0x136918,_0x128fcf,0x9,_0x150861[0x11]),_0x136918=_0x1d8a51(_0x136918,_0x5eeed9,_0xf9e29b,_0x2a69c5,_0x305508,0xe,_0x150861[0x12]),_0x2a69c5=_0x1d8a51(_0x2a69c5,_0x136918,_0x5eeed9,_0xf9e29b,_0x23ae9b,0x14,_0x150861[0x13]),_0xf9e29b=_0x1d8a51(_0xf9e29b,_0x2a69c5,_0x136918,_0x5eeed9,_0x238d57,0x5,_0x150861[0x14]),_0x5eeed9=_0x1d8a51(_0x5eeed9,_0xf9e29b,_0x2a69c5,_0x136918,_0x6ca97b,0x9,_0x150861[0x15]),_0x136918=_0x1d8a51(_0x136918,_0x5eeed9,_0xf9e29b,_0x2a69c5,_0x2c27bc,0xe,_0x150861[0x16]),_0x2a69c5=_0x1d8a51(_0x2a69c5,_0x136918,_0x5eeed9,_0xf9e29b,_0x54b886,0x14,_0x150861[0x17]),_0xf9e29b=_0x1d8a51(_0xf9e29b,_0x2a69c5,_0x136918,_0x5eeed9,_0x1a4e97,0x5,_0x150861[0x18]),_0x5eeed9=_0x1d8a51(_0x5eeed9,_0xf9e29b,_0x2a69c5,_0x136918,_0x3a20c6,0x9,_0x150861[0x19]),_0x136918=_0x1d8a51(_0x136918,_0x5eeed9,_0xf9e29b,_0x2a69c5,_0x3a60e7,0xe,_0x150861[0x1a]),_0x2a69c5=_0x1d8a51(_0x2a69c5,_0x136918,_0x5eeed9,_0xf9e29b,_0x442d71,0x14,_0x150861[0x1b]),_0xf9e29b=_0x1d8a51(_0xf9e29b,_0x2a69c5,_0x136918,_0x5eeed9,_0xc3f038,0x5,_0x150861[0x1c]),_0x5eeed9=_0x1d8a51(_0x5eeed9,_0xf9e29b,_0x2a69c5,_0x136918,_0x3cd796,0x9,_0x150861[0x1d]),_0x136918=_0x1d8a51(_0x136918,_0x5eeed9,_0xf9e29b,_0x2a69c5,_0x3742ef,0xe,_0x150861[0x1e]),_0x2a69c5=_0x1d8a51(_0x2a69c5,_0x136918,_0x5eeed9,_0xf9e29b,_0x15aa85,0x14,_0x150861[0x1f]),_0xf9e29b=_0x30aae9(_0xf9e29b,_0x2a69c5,_0x136918,_0x5eeed9,_0x238d57,0x4,_0x150861[0x20]),_0x5eeed9=_0x30aae9(_0x5eeed9,_0xf9e29b,_0x2a69c5,_0x136918,_0x442d71,0xb,_0x150861[0x21]),_0x136918=_0x30aae9(_0x136918,_0x5eeed9,_0xf9e29b,_0x2a69c5,_0x305508,0x10,_0x150861[0x22]),_0x2a69c5=_0x30aae9(_0x2a69c5,_0x136918,_0x5eeed9,_0xf9e29b,_0x3a20c6,0x17,_0x150861[0x23]),_0xf9e29b=_0x30aae9(_0xf9e29b,_0x2a69c5,_0x136918,_0x5eeed9,_0x398fc7,0x4,_0x150861[0x24]),_0x5eeed9=_0x30aae9(_0x5eeed9,_0xf9e29b,_0x2a69c5,_0x136918,_0x54b886,0xb,_0x150861[0x25]),_0x136918=_0x30aae9(_0x136918,_0x5eeed9,_0xf9e29b,_0x2a69c5,_0x3742ef,0x10,_0x150861[0x26]),_0x2a69c5=_0x30aae9(_0x2a69c5,_0x136918,_0x5eeed9,_0xf9e29b,_0x6ca97b,0x17,_0x150861[0x27]),_0xf9e29b=_0x30aae9(_0xf9e29b,_0x2a69c5,_0x136918,_0x5eeed9,_0xc3f038,0x4,_0x150861[0x28]),_0x5eeed9=_0x30aae9(_0x5eeed9,_0xf9e29b,_0x2a69c5,_0x136918,_0x23ae9b,0xb,_0x150861[0x29]),_0x136918=_0x30aae9(_0x136918,_0x5eeed9,_0xf9e29b,_0x2a69c5,_0x3a60e7,0x10,_0x150861[0x2a]),_0x2a69c5=_0x30aae9(_0x2a69c5,_0x136918,_0x5eeed9,_0xf9e29b,_0x128fcf,0x17,_0x150861[0x2b]),_0xf9e29b=_0x30aae9(_0xf9e29b,_0x2a69c5,_0x136918,_0x5eeed9,_0x1a4e97,0x4,_0x150861[0x2c]),_0x5eeed9=_0x30aae9(_0x5eeed9,_0xf9e29b,_0x2a69c5,_0x136918,_0x15aa85,0xb,_0x150861[0x2d]),_0x136918=_0x30aae9(_0x136918,_0x5eeed9,_0xf9e29b,_0x2a69c5,_0x2c27bc,0x10,_0x150861[0x2e]),_0x2a69c5=_0x30aae9(_0x2a69c5,_0x136918,_0x5eeed9,_0xf9e29b,_0x3cd796,0x17,_0x150861[0x2f]),_0xf9e29b=_0x5ba5f3(_0xf9e29b,_0x2a69c5,_0x136918,_0x5eeed9,_0x23ae9b,0x6,_0x150861[0x30]),_0x5eeed9=_0x5ba5f3(_0x5eeed9,_0xf9e29b,_0x2a69c5,_0x136918,_0x3742ef,0xa,_0x150861[0x31]),_0x136918=_0x5ba5f3(_0x136918,_0x5eeed9,_0xf9e29b,_0x2a69c5,_0x3a20c6,0xf,_0x150861[0x32]),_0x2a69c5=_0x5ba5f3(_0x2a69c5,_0x136918,_0x5eeed9,_0xf9e29b,_0x238d57,0x15,_0x150861[0x33]),_0xf9e29b=_0x5ba5f3(_0xf9e29b,_0x2a69c5,_0x136918,_0x5eeed9,_0x15aa85,0x6,_0x150861[0x34]),_0x5eeed9=_0x5ba5f3(_0x5eeed9,_0xf9e29b,_0x2a69c5,_0x136918,_0x3a60e7,0xa,_0x150861[0x35]),_0x136918=_0x5ba5f3(_0x136918,_0x5eeed9,_0xf9e29b,_0x2a69c5,_0x6ca97b,0xf,_0x150861[0x36]),_0x2a69c5=_0x5ba5f3(_0x2a69c5,_0x136918,_0x5eeed9,_0xf9e29b,_0x398fc7,0x15,_0x150861[0x37]),_0xf9e29b=_0x5ba5f3(_0xf9e29b,_0x2a69c5,_0x136918,_0x5eeed9,_0x442d71,0x6,_0x150861[0x38]),_0x5eeed9=_0x5ba5f3(_0x5eeed9,_0xf9e29b,_0x2a69c5,_0x136918,_0x2c27bc,0xa,_0x150861[0x39]),_0x136918=_0x5ba5f3(_0x136918,_0x5eeed9,_0xf9e29b,_0x2a69c5,_0x128fcf,0xf,_0x150861[0x3a]),_0x2a69c5=_0x5ba5f3(_0x2a69c5,_0x136918,_0x5eeed9,_0xf9e29b,_0xc3f038,0x15,_0x150861[0x3b]),_0xf9e29b=_0x5ba5f3(_0xf9e29b,_0x2a69c5,_0x136918,_0x5eeed9,_0x54b886,0x6,_0x150861[0x3c]),_0x5eeed9=_0x5ba5f3(_0x5eeed9,_0xf9e29b,_0x2a69c5,_0x136918,_0x305508,0xa,_0x150861[0x3d]),_0x136918=_0x5ba5f3(_0x136918,_0x5eeed9,_0xf9e29b,_0x2a69c5,_0x3cd796,0xf,_0x150861[0x3e]),_0x2a69c5=_0x5ba5f3(_0x2a69c5,_0x136918,_0x5eeed9,_0xf9e29b,_0x1a4e97,0x15,_0x150861[0x3f]),_0x142280[0x0]=_0x142280[0x0]+_0xf9e29b|0x0,_0x142280[0x1]=_0x142280[0x1]+_0x2a69c5|0x0,_0x142280[0x2]=_0x142280[0x2]+_0x136918|0x0,_0x142280[0x3]=_0x142280[0x3]+_0x5eeed9|0x0;},'_doFinalize':function(){var _0x229708=_0x19a57d,_0x592304=this['_data'],_0x20de83=_0x592304[_0x229708(0x207)],_0x2eb29c=this[_0x229708(0xc8)]*0x8,_0x36648c=_0x592304['sigBytes']*0x8;_0x20de83[_0x36648c>>>0x5]|=0x80<<0x18-_0x36648c%0x20;var _0x310f2f=_0x49789e['floor'](_0x2eb29c/0x100000000),_0x1660e4=_0x2eb29c;_0x20de83[(_0x36648c+0x40>>>0x9<<0x4)+0xf]=(_0x310f2f<<0x8|_0x310f2f>>>0x18)&0xff00ff|(_0x310f2f<<0x18|_0x310f2f>>>0x8)&0xff00ff00,_0x20de83[(_0x36648c+0x40>>>0x9<<0x4)+0xe]=(_0x1660e4<<0x8|_0x1660e4>>>0x18)&0xff00ff|(_0x1660e4<<0x18|_0x1660e4>>>0x8)&0xff00ff00,_0x592304['sigBytes']=(_0x20de83[_0x229708(0x245)]+0x1)*0x4,this[_0x229708(0x20c)]();for(var _0x9ffa16=this[_0x229708(0x36d)],_0x59123b=_0x9ffa16[_0x229708(0x207)],_0x588e4b=0x0;_0x588e4b<0x4;_0x588e4b++){var _0x1839aa=_0x59123b[_0x588e4b];_0x59123b[_0x588e4b]=(_0x1839aa<<0x8|_0x1839aa>>>0x18)&0xff00ff|(_0x1839aa<<0x18|_0x1839aa>>>0x8)&0xff00ff00;}return _0x9ffa16;},'clone':function(){var _0x36ce19=_0x19a57d,_0x4fed77=_0xc78784[_0x36ce19(0x25e)][_0x36ce19(0x24f)](this);return _0x4fed77['_hash']=this[_0x36ce19(0x36d)][_0x36ce19(0x25e)](),_0x4fed77;}});function _0x365960(_0x59183f,_0x157a7d,_0x4ad71a,_0x289756,_0x45784b,_0x391d24,_0x58f8f5){var _0x3f20c9=_0x59183f+(_0x157a7d&_0x4ad71a|~_0x157a7d&_0x289756)+_0x45784b+_0x58f8f5;return(_0x3f20c9<<_0x391d24|_0x3f20c9>>>0x20-_0x391d24)+_0x157a7d;}function _0x1d8a51(_0x2f34a8,_0x2c93cc,_0x56d737,_0x22a430,_0xda6e04,_0xb03dec,_0x5254a5){var _0x182f37=_0x2f34a8+(_0x2c93cc&_0x22a430|_0x56d737&~_0x22a430)+_0xda6e04+_0x5254a5;return(_0x182f37<<_0xb03dec|_0x182f37>>>0x20-_0xb03dec)+_0x2c93cc;}function _0x30aae9(_0x764022,_0x12dd87,_0x4c28e8,_0x23dd9d,_0x530f5a,_0x19a4aa,_0x1dfdb9){var _0x52f28d=_0x764022+(_0x12dd87^_0x4c28e8^_0x23dd9d)+_0x530f5a+_0x1dfdb9;return(_0x52f28d<<_0x19a4aa|_0x52f28d>>>0x20-_0x19a4aa)+_0x12dd87;}function _0x5ba5f3(_0x248675,_0x5f0697,_0x17ad49,_0x946971,_0x38f01c,_0x36004b,_0x44f897){var _0xb85521=_0x248675+(_0x17ad49^(_0x5f0697|~_0x946971))+_0x38f01c+_0x44f897;return(_0xb85521<<_0x36004b|_0xb85521>>>0x20-_0x36004b)+_0x5f0697;}_0x2229e9[_0x19a57d(0x2a2)]=_0xc78784['_createHelper'](_0x3649f9),_0x2229e9[_0x19a57d(0x2cf)]=_0xc78784['_createHmacHelper'](_0x3649f9);}(Math),_0x19462d[_0x1cf0b7(0x2a2)];}));}(Ke)),Ke[_0x40433c(0x1b1)];}var Ye={'exports':{}},qe={'exports':{}},Cs=qe[_0x3f2c0d(0x1b1)],ei;function Rs(){var _0x1ed8fb=_0x3f2c0d;return ei||(ei=0x1,function(_0x1922b1,_0x14c065){(function(_0x505df3,_0x4afef1){var _0x4b51b9=_0x5a2d;_0x1922b1[_0x4b51b9(0x1b1)]=_0x4afef1(ie());}(Cs,function(_0x5a9a4e){var _0x1a15a1=_0x5a2d;return(function(){var _0x390127=_0x5a2d,_0xb73cbf=_0x5a9a4e,_0x1a71a3=_0xb73cbf[_0x390127(0x28b)],_0x3859ff=_0x1a71a3[_0x390127(0x120)],_0x852c72=_0x1a71a3[_0x390127(0x328)],_0x3184a4=_0xb73cbf[_0x390127(0x37c)],_0x15f9a5=[],_0x3881af=_0x3184a4['SHA1']=_0x852c72[_0x390127(0x38f)]({'_doReset':function(){var _0x562ac7=_0x390127;this[_0x562ac7(0x36d)]=new _0x3859ff[(_0x562ac7(0x297))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x8e8583,_0x22c33b){var _0x236f13=_0x390127;for(var _0x2fb47c=this[_0x236f13(0x36d)][_0x236f13(0x207)],_0x500085=_0x2fb47c[0x0],_0x2db8c5=_0x2fb47c[0x1],_0x5bf690=_0x2fb47c[0x2],_0x18025a=_0x2fb47c[0x3],_0x104de6=_0x2fb47c[0x4],_0x50d009=0x0;_0x50d009<0x50;_0x50d009++){if(_0x50d009<0x10)_0x15f9a5[_0x50d009]=_0x8e8583[_0x22c33b+_0x50d009]|0x0;else{var _0x4abf59=_0x15f9a5[_0x50d009-0x3]^_0x15f9a5[_0x50d009-0x8]^_0x15f9a5[_0x50d009-0xe]^_0x15f9a5[_0x50d009-0x10];_0x15f9a5[_0x50d009]=_0x4abf59<<0x1|_0x4abf59>>>0x1f;}var _0x5c9cc0=(_0x500085<<0x5|_0x500085>>>0x1b)+_0x104de6+_0x15f9a5[_0x50d009];_0x50d009<0x14?_0x5c9cc0+=(_0x2db8c5&_0x5bf690|~_0x2db8c5&_0x18025a)+0x5a827999:_0x50d009<0x28?_0x5c9cc0+=(_0x2db8c5^_0x5bf690^_0x18025a)+0x6ed9eba1:_0x50d009<0x3c?_0x5c9cc0+=(_0x2db8c5&_0x5bf690|_0x2db8c5&_0x18025a|_0x5bf690&_0x18025a)-0x70e44324:_0x5c9cc0+=(_0x2db8c5^_0x5bf690^_0x18025a)-0x359d3e2a,_0x104de6=_0x18025a,_0x18025a=_0x5bf690,_0x5bf690=_0x2db8c5<<0x1e|_0x2db8c5>>>0x2,_0x2db8c5=_0x500085,_0x500085=_0x5c9cc0;}_0x2fb47c[0x0]=_0x2fb47c[0x0]+_0x500085|0x0,_0x2fb47c[0x1]=_0x2fb47c[0x1]+_0x2db8c5|0x0,_0x2fb47c[0x2]=_0x2fb47c[0x2]+_0x5bf690|0x0,_0x2fb47c[0x3]=_0x2fb47c[0x3]+_0x18025a|0x0,_0x2fb47c[0x4]=_0x2fb47c[0x4]+_0x104de6|0x0;},'_doFinalize':function(){var _0x718cbc=_0x390127,_0x4eb0cb=this[_0x718cbc(0x375)],_0x4a9c75=_0x4eb0cb[_0x718cbc(0x207)],_0x411a7b=this['_nDataBytes']*0x8,_0x13a93d=_0x4eb0cb[_0x718cbc(0x1ef)]*0x8;return _0x4a9c75[_0x13a93d>>>0x5]|=0x80<<0x18-_0x13a93d%0x20,_0x4a9c75[(_0x13a93d+0x40>>>0x9<<0x4)+0xe]=Math[_0x718cbc(0x17e)](_0x411a7b/0x100000000),_0x4a9c75[(_0x13a93d+0x40>>>0x9<<0x4)+0xf]=_0x411a7b,_0x4eb0cb[_0x718cbc(0x1ef)]=_0x4a9c75['length']*0x4,this[_0x718cbc(0x20c)](),this[_0x718cbc(0x36d)];},'clone':function(){var _0x1457ff=_0x390127,_0x302edf=_0x852c72[_0x1457ff(0x25e)][_0x1457ff(0x24f)](this);return _0x302edf[_0x1457ff(0x36d)]=this[_0x1457ff(0x36d)][_0x1457ff(0x25e)](),_0x302edf;}});_0xb73cbf[_0x390127(0x303)]=_0x852c72[_0x390127(0x209)](_0x3881af),_0xb73cbf[_0x390127(0x184)]=_0x852c72['_createHmacHelper'](_0x3881af);}()),_0x5a9a4e[_0x1a15a1(0x303)];}));}(qe)),qe[_0x1ed8fb(0x1b1)];}var ze={'exports':{}},bs=ze['exports'],ti;function ys(){var _0x24f00b=_0x3f2c0d;return ti||(ti=0x1,function(_0x6be8f,_0x38cf8f){(function(_0x3ee9e5,_0x293805){_0x6be8f['exports']=_0x293805(ie());}(bs,function(_0x79f3a3){(function(){var _0x4a1e5f=_0x5a2d,_0x413868=_0x79f3a3,_0x11d891=_0x413868['lib'],_0x185a39=_0x11d891[_0x4a1e5f(0x38d)],_0x29e48a=_0x413868[_0x4a1e5f(0x1e1)],_0x3bddda=_0x29e48a[_0x4a1e5f(0x158)],_0x515127=_0x413868[_0x4a1e5f(0x37c)];_0x515127['HMAC']=_0x185a39[_0x4a1e5f(0x38f)]({'init':function(_0x330e0b,_0x56da47){var _0x15a77b=_0x4a1e5f;_0x330e0b=this['_hasher']=new _0x330e0b[(_0x15a77b(0x297))](),typeof _0x56da47==_0x15a77b(0xd0)&&(_0x56da47=_0x3bddda[_0x15a77b(0x309)](_0x56da47));var _0xd13bab=_0x330e0b[_0x15a77b(0x26f)],_0xacf8da=_0xd13bab*0x4;_0x56da47[_0x15a77b(0x1ef)]>_0xacf8da&&(_0x56da47=_0x330e0b[_0x15a77b(0x139)](_0x56da47)),_0x56da47[_0x15a77b(0x196)]();for(var _0x281b42=this[_0x15a77b(0xfc)]=_0x56da47[_0x15a77b(0x25e)](),_0x44c538=this[_0x15a77b(0x135)]=_0x56da47['clone'](),_0x1bdc5a=_0x281b42['words'],_0x36af1a=_0x44c538[_0x15a77b(0x207)],_0xa2527b=0x0;_0xa2527b<_0xd13bab;_0xa2527b++)_0x1bdc5a[_0xa2527b]^=0x5c5c5c5c,_0x36af1a[_0xa2527b]^=0x36363636;_0x281b42[_0x15a77b(0x1ef)]=_0x44c538[_0x15a77b(0x1ef)]=_0xacf8da,this[_0x15a77b(0x2da)]();},'reset':function(){var _0x1dbe2d=_0x4a1e5f,_0x42119f=this[_0x1dbe2d(0x215)];_0x42119f[_0x1dbe2d(0x2da)](),_0x42119f['update'](this['_iKey']);},'update':function(_0x45cfa7){var _0x32190c=_0x4a1e5f;return this[_0x32190c(0x215)][_0x32190c(0x24b)](_0x45cfa7),this;},'finalize':function(_0x2b90ab){var _0x277ec3=_0x4a1e5f,_0x422a61=this[_0x277ec3(0x215)],_0x39795e=_0x422a61[_0x277ec3(0x139)](_0x2b90ab);_0x422a61[_0x277ec3(0x2da)]();var _0x54c788=_0x422a61[_0x277ec3(0x139)](this[_0x277ec3(0xfc)][_0x277ec3(0x25e)]()[_0x277ec3(0x122)](_0x39795e));return _0x54c788;}});}());}));}(ze)),ze[_0x24f00b(0x1b1)];}var Os=Ye[_0x3f2c0d(0x1b1)],ii;function Ui(){return ii||(ii=0x1,function(_0xa66fb0,_0x39a7e1){(function(_0x2ae2d2,_0x285ba6,_0x3062fe){var _0x12630c=_0x5a2d;_0xa66fb0[_0x12630c(0x1b1)]=_0x285ba6(ie(),Rs(),ys());}(Os,function(_0x162425){var _0xe24763=_0x5a2d;return(function(){var _0x39caa1=_0x5a2d,_0x4e42f3=_0x162425,_0x31bf9b=_0x4e42f3[_0x39caa1(0x28b)],_0x4212e0=_0x31bf9b['Base'],_0x35c051=_0x31bf9b[_0x39caa1(0x120)],_0x2ff510=_0x4e42f3[_0x39caa1(0x37c)],_0x594f15=_0x2ff510[_0x39caa1(0x2a2)],_0x5950f5=_0x2ff510['EvpKDF']=_0x4212e0[_0x39caa1(0x38f)]({'cfg':_0x4212e0['extend']({'keySize':0x80/0x20,'hasher':_0x594f15,'iterations':0x1}),'init':function(_0x123c38){var _0x8d853b=_0x39caa1;this[_0x8d853b(0x99)]=this[_0x8d853b(0x99)][_0x8d853b(0x38f)](_0x123c38);},'compute':function(_0x3479e2,_0x1c5e73){var _0x7d73c8=_0x39caa1;for(var _0x1d8ec2,_0x395678=this['cfg'],_0x4b5dd1=_0x395678[_0x7d73c8(0xa7)]['create'](),_0x55b946=_0x35c051['create'](),_0x30535c=_0x55b946['words'],_0x1f8196=_0x395678['keySize'],_0x51efca=_0x395678[_0x7d73c8(0x1a1)];_0x30535c[_0x7d73c8(0x245)]<_0x1f8196;){_0x1d8ec2&&_0x4b5dd1['update'](_0x1d8ec2),_0x1d8ec2=_0x4b5dd1[_0x7d73c8(0x24b)](_0x3479e2)[_0x7d73c8(0x139)](_0x1c5e73),_0x4b5dd1[_0x7d73c8(0x2da)]();for(var _0x3d67a7=0x1;_0x3d67a7<_0x51efca;_0x3d67a7++)_0x1d8ec2=_0x4b5dd1[_0x7d73c8(0x139)](_0x1d8ec2),_0x4b5dd1[_0x7d73c8(0x2da)]();_0x55b946[_0x7d73c8(0x122)](_0x1d8ec2);}return _0x55b946[_0x7d73c8(0x1ef)]=_0x1f8196*0x4,_0x55b946;}});_0x4e42f3[_0x39caa1(0x281)]=function(_0x16d1e1,_0xc8b6a,_0x4235ee){return _0x5950f5['create'](_0x4235ee)['compute'](_0x16d1e1,_0xc8b6a);};}()),_0x162425[_0xe24763(0x281)];}));}(Ye)),Ye['exports'];}var Je={'exports':{}},Ns=Je[_0x3f2c0d(0x1b1)],ni;function Ai(){var _0x2dcfc1=_0x3f2c0d;return ni||(ni=0x1,function(_0x12a110,_0x377f41){(function(_0x5008d9,_0x4bbbab,_0xad27f4){var _0x34b285=_0x5a2d;_0x12a110[_0x34b285(0x1b1)]=_0x4bbbab(ie(),Ui());}(Ns,function(_0x4d0b43){var _0x5be550=_0x5a2d;_0x4d0b43['lib'][_0x5be550(0xd8)]||function(_0x30e26b){var _0x4d2df8=_0x5be550,_0x32f280=_0x4d0b43,_0x20ab07=_0x32f280[_0x4d2df8(0x28b)],_0x4f4b61=_0x20ab07[_0x4d2df8(0x38d)],_0x7271bc=_0x20ab07[_0x4d2df8(0x120)],_0x32ca26=_0x20ab07[_0x4d2df8(0x377)],_0x54d570=_0x32f280[_0x4d2df8(0x1e1)];_0x54d570[_0x4d2df8(0x158)];var _0x642bc=_0x54d570['Base64'],_0xb97b05=_0x32f280['algo'],_0x51cdd6=_0xb97b05[_0x4d2df8(0x281)],_0x5348f3=_0x20ab07[_0x4d2df8(0xd8)]=_0x32ca26[_0x4d2df8(0x38f)]({'cfg':_0x4f4b61['extend'](),'createEncryptor':function(_0x26a500,_0x43f75d){var _0x107caf=_0x4d2df8;return this[_0x107caf(0x23b)](this['_ENC_XFORM_MODE'],_0x26a500,_0x43f75d);},'createDecryptor':function(_0xdaa8e,_0x1bea28){var _0x5a3cfe=_0x4d2df8;return this[_0x5a3cfe(0x23b)](this[_0x5a3cfe(0x327)],_0xdaa8e,_0x1bea28);},'init':function(_0x533ce,_0x418b43,_0x328101){var _0x497cff=_0x4d2df8;this['cfg']=this[_0x497cff(0x99)][_0x497cff(0x38f)](_0x328101),this[_0x497cff(0x2bf)]=_0x533ce,this['_key']=_0x418b43,this[_0x497cff(0x2da)]();},'reset':function(){var _0xba392b=_0x4d2df8;_0x32ca26[_0xba392b(0x2da)][_0xba392b(0x24f)](this),this[_0xba392b(0x229)]();},'process':function(_0x1d7efb){var _0x5b4396=_0x4d2df8;return this[_0x5b4396(0x251)](_0x1d7efb),this[_0x5b4396(0x20c)]();},'finalize':function(_0x406881){var _0x983cd7=_0x4d2df8;_0x406881&&this[_0x983cd7(0x251)](_0x406881);var _0x13b94d=this['_doFinalize']();return _0x13b94d;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x40b186(_0x522737){var _0x168065=_0x5a2d;return typeof _0x522737==_0x168065(0xd0)?_0x45c3b6:_0xa9a6a;}return function(_0x3abcc3){return{'encrypt':function(_0x5b3577,_0x4eefad,_0x4c1b17){return _0x40b186(_0x4eefad)['encrypt'](_0x3abcc3,_0x5b3577,_0x4eefad,_0x4c1b17);},'decrypt':function(_0x1a813e,_0x5a242a,_0x471976){return _0x40b186(_0x5a242a)['decrypt'](_0x3abcc3,_0x1a813e,_0x5a242a,_0x471976);}};};}())});_0x20ab07[_0x4d2df8(0x159)]=_0x5348f3['extend']({'_doFinalize':function(){var _0x4a984f=this['_process'](!0x0);return _0x4a984f;},'blockSize':0x1});var _0x79fda4=_0x32f280['mode']={},_0xc0867a=_0x20ab07[_0x4d2df8(0xb3)]=_0x4f4b61['extend']({'createEncryptor':function(_0x3de8aa,_0x4b3a30){var _0x46fcef=_0x4d2df8;return this[_0x46fcef(0x2eb)]['create'](_0x3de8aa,_0x4b3a30);},'createDecryptor':function(_0x3f6f25,_0x15928e){var _0x175f5f=_0x4d2df8;return this[_0x175f5f(0x2e1)]['create'](_0x3f6f25,_0x15928e);},'init':function(_0x39660b,_0x4cf8bc){var _0x225dd1=_0x4d2df8;this[_0x225dd1(0x323)]=_0x39660b,this['_iv']=_0x4cf8bc;}}),_0x335327=_0x79fda4['CBC']=(function(){var _0x232c48=_0x4d2df8,_0x3b1e87=_0xc0867a[_0x232c48(0x38f)]();_0x3b1e87['Encryptor']=_0x3b1e87[_0x232c48(0x38f)]({'processBlock':function(_0x5ba674,_0x4908a4){var _0xfa203e=_0x232c48,_0x1c5fc3=this[_0xfa203e(0x323)],_0x3dba89=_0x1c5fc3[_0xfa203e(0x26f)];_0x25b9dd[_0xfa203e(0x24f)](this,_0x5ba674,_0x4908a4,_0x3dba89),_0x1c5fc3['encryptBlock'](_0x5ba674,_0x4908a4),this[_0xfa203e(0x19b)]=_0x5ba674[_0xfa203e(0x1a4)](_0x4908a4,_0x4908a4+_0x3dba89);}}),_0x3b1e87[_0x232c48(0x2e1)]=_0x3b1e87[_0x232c48(0x38f)]({'processBlock':function(_0x579961,_0x882319){var _0x409960=_0x232c48,_0x53874c=this[_0x409960(0x323)],_0x34dc66=_0x53874c[_0x409960(0x26f)],_0x194c1b=_0x579961['slice'](_0x882319,_0x882319+_0x34dc66);_0x53874c['decryptBlock'](_0x579961,_0x882319),_0x25b9dd[_0x409960(0x24f)](this,_0x579961,_0x882319,_0x34dc66),this[_0x409960(0x19b)]=_0x194c1b;}});function _0x25b9dd(_0x438d22,_0x12ac7c,_0x424b68){var _0x4606ae=_0x232c48,_0x2411ad,_0x4c905b=this[_0x4606ae(0x103)];_0x4c905b?(_0x2411ad=_0x4c905b,this[_0x4606ae(0x103)]=_0x30e26b):_0x2411ad=this['_prevBlock'];for(var _0x5ae61c=0x0;_0x5ae61c<_0x424b68;_0x5ae61c++)_0x438d22[_0x12ac7c+_0x5ae61c]^=_0x2411ad[_0x5ae61c];}return _0x3b1e87;}()),_0x185a78=_0x32f280[_0x4d2df8(0x216)]={},_0xa29f9f=_0x185a78[_0x4d2df8(0x28c)]={'pad':function(_0x29d62f,_0x45d1e8){var _0x14cc74=_0x4d2df8;for(var _0xde3394=_0x45d1e8*0x4,_0x34d934=_0xde3394-_0x29d62f[_0x14cc74(0x1ef)]%_0xde3394,_0x3dc935=_0x34d934<<0x18|_0x34d934<<0x10|_0x34d934<<0x8|_0x34d934,_0xe7a230=[],_0x2cdacc=0x0;_0x2cdacc<_0x34d934;_0x2cdacc+=0x4)_0xe7a230[_0x14cc74(0x13c)](_0x3dc935);var _0x5c3913=_0x7271bc[_0x14cc74(0x23b)](_0xe7a230,_0x34d934);_0x29d62f['concat'](_0x5c3913);},'unpad':function(_0x4a3e43){var _0x221b16=_0x4d2df8,_0x10f5a2=_0x4a3e43[_0x221b16(0x207)][_0x4a3e43[_0x221b16(0x1ef)]-0x1>>>0x2]&0xff;_0x4a3e43[_0x221b16(0x1ef)]-=_0x10f5a2;}};_0x20ab07[_0x4d2df8(0x1b3)]=_0x5348f3[_0x4d2df8(0x38f)]({'cfg':_0x5348f3[_0x4d2df8(0x99)]['extend']({'mode':_0x335327,'padding':_0xa29f9f}),'reset':function(){var _0x70f5de=_0x4d2df8,_0x154180;_0x5348f3[_0x70f5de(0x2da)][_0x70f5de(0x24f)](this);var _0x2c0db2=this[_0x70f5de(0x99)],_0x125d02=_0x2c0db2['iv'],_0x4d0fd6=_0x2c0db2[_0x70f5de(0x1d4)];this[_0x70f5de(0x2bf)]==this[_0x70f5de(0x351)]?_0x154180=_0x4d0fd6[_0x70f5de(0x2c2)]:(_0x154180=_0x4d0fd6[_0x70f5de(0x2d9)],this[_0x70f5de(0x102)]=0x1),this[_0x70f5de(0x269)]&&this[_0x70f5de(0x269)][_0x70f5de(0x2b8)]==_0x154180?this['_mode'][_0x70f5de(0x297)](this,_0x125d02&&_0x125d02[_0x70f5de(0x207)]):(this[_0x70f5de(0x269)]=_0x154180['call'](_0x4d0fd6,this,_0x125d02&&_0x125d02[_0x70f5de(0x207)]),this[_0x70f5de(0x269)]['__creator']=_0x154180);},'_doProcessBlock':function(_0x3527e3,_0x428866){this['_mode']['processBlock'](_0x3527e3,_0x428866);},'_doFinalize':function(){var _0x2ac2f1=_0x4d2df8,_0x31521d,_0x4e7107=this[_0x2ac2f1(0x99)][_0x2ac2f1(0x1fa)];return this['_xformMode']==this[_0x2ac2f1(0x351)]?(_0x4e7107[_0x2ac2f1(0x216)](this[_0x2ac2f1(0x375)],this[_0x2ac2f1(0x26f)]),_0x31521d=this[_0x2ac2f1(0x20c)](!0x0)):(_0x31521d=this[_0x2ac2f1(0x20c)](!0x0),_0x4e7107[_0x2ac2f1(0xd7)](_0x31521d)),_0x31521d;},'blockSize':0x80/0x20});var _0x12c5ae=_0x20ab07['CipherParams']=_0x4f4b61[_0x4d2df8(0x38f)]({'init':function(_0x4a8ddb){var _0x56bf86=_0x4d2df8;this[_0x56bf86(0x306)](_0x4a8ddb);},'toString':function(_0x1e3cea){return(_0x1e3cea||this['formatter'])['stringify'](this);}}),_0xd3b1d=_0x32f280['format']={},_0x5529d0=_0xd3b1d[_0x4d2df8(0x307)]={'stringify':function(_0x16454e){var _0xf43304=_0x4d2df8,_0x256a8a,_0x3ed6f2=_0x16454e[_0xf43304(0x106)],_0x986a0b=_0x16454e['salt'];return _0x986a0b?_0x256a8a=_0x7271bc['create']([0x53616c74,0x65645f5f])[_0xf43304(0x122)](_0x986a0b)['concat'](_0x3ed6f2):_0x256a8a=_0x3ed6f2,_0x256a8a['toString'](_0x642bc);},'parse':function(_0x3c32e7){var _0x416821=_0x4d2df8,_0x4edfb6,_0x2d717f=_0x642bc[_0x416821(0x309)](_0x3c32e7),_0x183867=_0x2d717f[_0x416821(0x207)];return _0x183867[0x0]==0x53616c74&&_0x183867[0x1]==0x65645f5f&&(_0x4edfb6=_0x7271bc['create'](_0x183867['slice'](0x2,0x4)),_0x183867['splice'](0x0,0x4),_0x2d717f[_0x416821(0x1ef)]-=0x10),_0x12c5ae['create']({'ciphertext':_0x2d717f,'salt':_0x4edfb6});}},_0xa9a6a=_0x20ab07['SerializableCipher']=_0x4f4b61[_0x4d2df8(0x38f)]({'cfg':_0x4f4b61['extend']({'format':_0x5529d0}),'encrypt':function(_0x57de31,_0x4d50d0,_0x22a3da,_0x3b7599){var _0x4ee913=_0x4d2df8;_0x3b7599=this[_0x4ee913(0x99)][_0x4ee913(0x38f)](_0x3b7599);var _0xcbbb49=_0x57de31['createEncryptor'](_0x22a3da,_0x3b7599),_0x28854d=_0xcbbb49[_0x4ee913(0x139)](_0x4d50d0),_0x34cff1=_0xcbbb49[_0x4ee913(0x99)];return _0x12c5ae[_0x4ee913(0x23b)]({'ciphertext':_0x28854d,'key':_0x22a3da,'iv':_0x34cff1['iv'],'algorithm':_0x57de31,'mode':_0x34cff1[_0x4ee913(0x1d4)],'padding':_0x34cff1[_0x4ee913(0x1fa)],'blockSize':_0x57de31[_0x4ee913(0x26f)],'formatter':_0x3b7599['format']});},'decrypt':function(_0x562ca8,_0x20b08d,_0x4656be,_0x750937){var _0x571efa=_0x4d2df8;_0x750937=this[_0x571efa(0x99)][_0x571efa(0x38f)](_0x750937),_0x20b08d=this['_parse'](_0x20b08d,_0x750937[_0x571efa(0x14a)]);var _0x2461f6=_0x562ca8['createDecryptor'](_0x4656be,_0x750937)[_0x571efa(0x139)](_0x20b08d[_0x571efa(0x106)]);return _0x2461f6;},'_parse':function(_0x447188,_0x2d11ef){var _0x59a3e4=_0x4d2df8;return typeof _0x447188==_0x59a3e4(0xd0)?_0x2d11ef[_0x59a3e4(0x309)](_0x447188,this):_0x447188;}}),_0x2f9181=_0x32f280[_0x4d2df8(0x240)]={},_0x3b4fe5=_0x2f9181[_0x4d2df8(0x307)]={'execute':function(_0x3be288,_0x310839,_0xa1415e,_0x37c629,_0xde6942){var _0xef2e8=_0x4d2df8;if(_0x37c629||(_0x37c629=_0x7271bc[_0xef2e8(0x2f0)](0x40/0x8)),_0xde6942)var _0x79ebd7=_0x51cdd6[_0xef2e8(0x23b)]({'keySize':_0x310839+_0xa1415e,'hasher':_0xde6942})[_0xef2e8(0xf8)](_0x3be288,_0x37c629);else var _0x79ebd7=_0x51cdd6['create']({'keySize':_0x310839+_0xa1415e})['compute'](_0x3be288,_0x37c629);var _0x4f4094=_0x7271bc['create'](_0x79ebd7[_0xef2e8(0x207)]['slice'](_0x310839),_0xa1415e*0x4);return _0x79ebd7[_0xef2e8(0x1ef)]=_0x310839*0x4,_0x12c5ae['create']({'key':_0x79ebd7,'iv':_0x4f4094,'salt':_0x37c629});}},_0x45c3b6=_0x20ab07[_0x4d2df8(0x2f1)]=_0xa9a6a[_0x4d2df8(0x38f)]({'cfg':_0xa9a6a[_0x4d2df8(0x99)][_0x4d2df8(0x38f)]({'kdf':_0x3b4fe5}),'encrypt':function(_0x9e4842,_0x464690,_0x4afee4,_0x515ade){var _0x55f932=_0x4d2df8;_0x515ade=this[_0x55f932(0x99)][_0x55f932(0x38f)](_0x515ade);var _0x515ad3=_0x515ade[_0x55f932(0x240)]['execute'](_0x4afee4,_0x9e4842[_0x55f932(0xbf)],_0x9e4842[_0x55f932(0x27e)],_0x515ade['salt'],_0x515ade[_0x55f932(0xa7)]);_0x515ade['iv']=_0x515ad3['iv'];var _0x155064=_0xa9a6a['encrypt']['call'](this,_0x9e4842,_0x464690,_0x515ad3[_0x55f932(0x208)],_0x515ade);return _0x155064['mixIn'](_0x515ad3),_0x155064;},'decrypt':function(_0x1f7b31,_0x162dd8,_0x776963,_0x45d26a){var _0x29a2c5=_0x4d2df8;_0x45d26a=this[_0x29a2c5(0x99)]['extend'](_0x45d26a),_0x162dd8=this[_0x29a2c5(0x18b)](_0x162dd8,_0x45d26a['format']);var _0x50fbec=_0x45d26a['kdf'][_0x29a2c5(0x10e)](_0x776963,_0x1f7b31[_0x29a2c5(0xbf)],_0x1f7b31['ivSize'],_0x162dd8['salt'],_0x45d26a[_0x29a2c5(0xa7)]);_0x45d26a['iv']=_0x50fbec['iv'];var _0x52810f=_0xa9a6a['decrypt'][_0x29a2c5(0x24f)](this,_0x1f7b31,_0x162dd8,_0x50fbec['key'],_0x45d26a);return _0x52810f;}});}();}));}(Je)),Je[_0x2dcfc1(0x1b1)];}var Ds=Ve[_0x3f2c0d(0x1b1)],si;function Us(){return si||(si=0x1,function(_0x302f7e,_0x1aa591){(function(_0x9abfe1,_0xf7b99e,_0x4a2aad){_0x302f7e['exports']=_0xf7b99e(ie(),Di(),Ts(),Ui(),Ai());}(Ds,function(_0x3d39df){var _0x2a8bd5=_0x5a2d;return(function(){var _0x52fa31=_0x5a2d,_0x217952=_0x3d39df,_0x556fa0=_0x217952[_0x52fa31(0x28b)],_0x5b6ef0=_0x556fa0['BlockCipher'],_0x2c934b=_0x217952[_0x52fa31(0x37c)],_0x341b0a=[],_0x554d04=[],_0x5f44ba=[],_0x35a0c9=[],_0x566016=[],_0x575f88=[],_0x551b77=[],_0x11af43=[],_0x2c8a60=[],_0xcd6cb2=[];(function(){for(var _0x23c6bc=[],_0xe08711=0x0;_0xe08711<0x100;_0xe08711++)_0xe08711<0x80?_0x23c6bc[_0xe08711]=_0xe08711<<0x1:_0x23c6bc[_0xe08711]=_0xe08711<<0x1^0x11b;for(var _0x50d2d3=0x0,_0x5ce221=0x0,_0xe08711=0x0;_0xe08711<0x100;_0xe08711++){var _0x2b7513=_0x5ce221^_0x5ce221<<0x1^_0x5ce221<<0x2^_0x5ce221<<0x3^_0x5ce221<<0x4;_0x2b7513=_0x2b7513>>>0x8^_0x2b7513&0xff^0x63,_0x341b0a[_0x50d2d3]=_0x2b7513,_0x554d04[_0x2b7513]=_0x50d2d3;var _0x55861b=_0x23c6bc[_0x50d2d3],_0x58be21=_0x23c6bc[_0x55861b],_0x15eb82=_0x23c6bc[_0x58be21],_0x2e82ca=_0x23c6bc[_0x2b7513]*0x101^_0x2b7513*0x1010100;_0x5f44ba[_0x50d2d3]=_0x2e82ca<<0x18|_0x2e82ca>>>0x8,_0x35a0c9[_0x50d2d3]=_0x2e82ca<<0x10|_0x2e82ca>>>0x10,_0x566016[_0x50d2d3]=_0x2e82ca<<0x8|_0x2e82ca>>>0x18,_0x575f88[_0x50d2d3]=_0x2e82ca;var _0x2e82ca=_0x15eb82*0x1010101^_0x58be21*0x10001^_0x55861b*0x101^_0x50d2d3*0x1010100;_0x551b77[_0x2b7513]=_0x2e82ca<<0x18|_0x2e82ca>>>0x8,_0x11af43[_0x2b7513]=_0x2e82ca<<0x10|_0x2e82ca>>>0x10,_0x2c8a60[_0x2b7513]=_0x2e82ca<<0x8|_0x2e82ca>>>0x18,_0xcd6cb2[_0x2b7513]=_0x2e82ca,_0x50d2d3?(_0x50d2d3=_0x55861b^_0x23c6bc[_0x23c6bc[_0x23c6bc[_0x15eb82^_0x55861b]]],_0x5ce221^=_0x23c6bc[_0x23c6bc[_0x5ce221]]):_0x50d2d3=_0x5ce221=0x1;}}());var _0x3bb48e=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x2bf742=_0x2c934b[_0x52fa31(0x157)]=_0x5b6ef0['extend']({'_doReset':function(){var _0xbd4000=_0x52fa31,_0x2bbde7;if(!(this[_0xbd4000(0x2d5)]&&this[_0xbd4000(0xd9)]===this[_0xbd4000(0x1e2)])){for(var _0x75a219=this[_0xbd4000(0xd9)]=this[_0xbd4000(0x1e2)],_0x49f8e5=_0x75a219[_0xbd4000(0x207)],_0x21c74c=_0x75a219[_0xbd4000(0x1ef)]/0x4,_0x5b3d79=this[_0xbd4000(0x2d5)]=_0x21c74c+0x6,_0xb2a44d=(_0x5b3d79+0x1)*0x4,_0x580fff=this[_0xbd4000(0x31f)]=[],_0x3fda5c=0x0;_0x3fda5c<_0xb2a44d;_0x3fda5c++)_0x3fda5c<_0x21c74c?_0x580fff[_0x3fda5c]=_0x49f8e5[_0x3fda5c]:(_0x2bbde7=_0x580fff[_0x3fda5c-0x1],_0x3fda5c%_0x21c74c?_0x21c74c>0x6&&_0x3fda5c%_0x21c74c==0x4&&(_0x2bbde7=_0x341b0a[_0x2bbde7>>>0x18]<<0x18|_0x341b0a[_0x2bbde7>>>0x10&0xff]<<0x10|_0x341b0a[_0x2bbde7>>>0x8&0xff]<<0x8|_0x341b0a[_0x2bbde7&0xff]):(_0x2bbde7=_0x2bbde7<<0x8|_0x2bbde7>>>0x18,_0x2bbde7=_0x341b0a[_0x2bbde7>>>0x18]<<0x18|_0x341b0a[_0x2bbde7>>>0x10&0xff]<<0x10|_0x341b0a[_0x2bbde7>>>0x8&0xff]<<0x8|_0x341b0a[_0x2bbde7&0xff],_0x2bbde7^=_0x3bb48e[_0x3fda5c/_0x21c74c|0x0]<<0x18),_0x580fff[_0x3fda5c]=_0x580fff[_0x3fda5c-_0x21c74c]^_0x2bbde7);for(var _0x564ab0=this[_0xbd4000(0x2ba)]=[],_0x28bc1e=0x0;_0x28bc1e<_0xb2a44d;_0x28bc1e++){var _0x3fda5c=_0xb2a44d-_0x28bc1e;if(_0x28bc1e%0x4)var _0x2bbde7=_0x580fff[_0x3fda5c];else var _0x2bbde7=_0x580fff[_0x3fda5c-0x4];_0x28bc1e<0x4||_0x3fda5c<=0x4?_0x564ab0[_0x28bc1e]=_0x2bbde7:_0x564ab0[_0x28bc1e]=_0x551b77[_0x341b0a[_0x2bbde7>>>0x18]]^_0x11af43[_0x341b0a[_0x2bbde7>>>0x10&0xff]]^_0x2c8a60[_0x341b0a[_0x2bbde7>>>0x8&0xff]]^_0xcd6cb2[_0x341b0a[_0x2bbde7&0xff]];}}},'encryptBlock':function(_0x3e2d23,_0x14767e){var _0x49e092=_0x52fa31;this[_0x49e092(0x222)](_0x3e2d23,_0x14767e,this[_0x49e092(0x31f)],_0x5f44ba,_0x35a0c9,_0x566016,_0x575f88,_0x341b0a);},'decryptBlock':function(_0x4d1d64,_0x354f0a){var _0x4ef77a=_0x52fa31,_0x4550e8=_0x4d1d64[_0x354f0a+0x1];_0x4d1d64[_0x354f0a+0x1]=_0x4d1d64[_0x354f0a+0x3],_0x4d1d64[_0x354f0a+0x3]=_0x4550e8,this['_doCryptBlock'](_0x4d1d64,_0x354f0a,this[_0x4ef77a(0x2ba)],_0x551b77,_0x11af43,_0x2c8a60,_0xcd6cb2,_0x554d04);var _0x4550e8=_0x4d1d64[_0x354f0a+0x1];_0x4d1d64[_0x354f0a+0x1]=_0x4d1d64[_0x354f0a+0x3],_0x4d1d64[_0x354f0a+0x3]=_0x4550e8;},'_doCryptBlock':function(_0x565372,_0x47e6ad,_0x53b9e2,_0x13fe56,_0x28c07d,_0x3f8a75,_0x27342f,_0x368da7){var _0x145fae=_0x52fa31;for(var _0x367026=this[_0x145fae(0x2d5)],_0x48c47d=_0x565372[_0x47e6ad]^_0x53b9e2[0x0],_0x18fa3a=_0x565372[_0x47e6ad+0x1]^_0x53b9e2[0x1],_0x114532=_0x565372[_0x47e6ad+0x2]^_0x53b9e2[0x2],_0x3e4ed1=_0x565372[_0x47e6ad+0x3]^_0x53b9e2[0x3],_0x44ab07=0x4,_0x1eb654=0x1;_0x1eb654<_0x367026;_0x1eb654++){var _0x2c43f3=_0x13fe56[_0x48c47d>>>0x18]^_0x28c07d[_0x18fa3a>>>0x10&0xff]^_0x3f8a75[_0x114532>>>0x8&0xff]^_0x27342f[_0x3e4ed1&0xff]^_0x53b9e2[_0x44ab07++],_0x2cd427=_0x13fe56[_0x18fa3a>>>0x18]^_0x28c07d[_0x114532>>>0x10&0xff]^_0x3f8a75[_0x3e4ed1>>>0x8&0xff]^_0x27342f[_0x48c47d&0xff]^_0x53b9e2[_0x44ab07++],_0x387175=_0x13fe56[_0x114532>>>0x18]^_0x28c07d[_0x3e4ed1>>>0x10&0xff]^_0x3f8a75[_0x48c47d>>>0x8&0xff]^_0x27342f[_0x18fa3a&0xff]^_0x53b9e2[_0x44ab07++],_0xe992a7=_0x13fe56[_0x3e4ed1>>>0x18]^_0x28c07d[_0x48c47d>>>0x10&0xff]^_0x3f8a75[_0x18fa3a>>>0x8&0xff]^_0x27342f[_0x114532&0xff]^_0x53b9e2[_0x44ab07++];_0x48c47d=_0x2c43f3,_0x18fa3a=_0x2cd427,_0x114532=_0x387175,_0x3e4ed1=_0xe992a7;}var _0x2c43f3=(_0x368da7[_0x48c47d>>>0x18]<<0x18|_0x368da7[_0x18fa3a>>>0x10&0xff]<<0x10|_0x368da7[_0x114532>>>0x8&0xff]<<0x8|_0x368da7[_0x3e4ed1&0xff])^_0x53b9e2[_0x44ab07++],_0x2cd427=(_0x368da7[_0x18fa3a>>>0x18]<<0x18|_0x368da7[_0x114532>>>0x10&0xff]<<0x10|_0x368da7[_0x3e4ed1>>>0x8&0xff]<<0x8|_0x368da7[_0x48c47d&0xff])^_0x53b9e2[_0x44ab07++],_0x387175=(_0x368da7[_0x114532>>>0x18]<<0x18|_0x368da7[_0x3e4ed1>>>0x10&0xff]<<0x10|_0x368da7[_0x48c47d>>>0x8&0xff]<<0x8|_0x368da7[_0x18fa3a&0xff])^_0x53b9e2[_0x44ab07++],_0xe992a7=(_0x368da7[_0x3e4ed1>>>0x18]<<0x18|_0x368da7[_0x48c47d>>>0x10&0xff]<<0x10|_0x368da7[_0x18fa3a>>>0x8&0xff]<<0x8|_0x368da7[_0x114532&0xff])^_0x53b9e2[_0x44ab07++];_0x565372[_0x47e6ad]=_0x2c43f3,_0x565372[_0x47e6ad+0x1]=_0x2cd427,_0x565372[_0x47e6ad+0x2]=_0x387175,_0x565372[_0x47e6ad+0x3]=_0xe992a7;},'keySize':0x100/0x20});_0x217952['AES']=_0x5b6ef0[_0x52fa31(0x209)](_0x2bf742);}()),_0x3d39df[_0x2a8bd5(0x157)];}));}(Ve)),Ve['exports'];}var As=Us();const ws=He(As);var Ps=Di();const ri=He(Ps);var Xe={'exports':{}},Ls=Xe[_0x3f2c0d(0x1b1)],ai;function xs(){return ai||(ai=0x1,function(_0x52f403,_0x1ca125){(function(_0x27f887,_0x27d5b3){var _0x3df198=_0x5a2d;_0x52f403[_0x3df198(0x1b1)]=_0x27d5b3(ie());}(Ls,function(_0x178f44){return _0x178f44['enc']['Utf8'];}));}(Xe)),Xe['exports'];}var Ms=xs();const ks=He(Ms);var Ze={'exports':{}},$s=Ze[_0x3f2c0d(0x1b1)],oi;function Hs(){return oi||(oi=0x1,function(_0x3e60ac,_0x14b6c9){(function(_0x4e4dca,_0x3e2398){var _0x3b30fc=_0x5a2d;_0x3e60ac[_0x3b30fc(0x1b1)]=_0x3e2398(ie());}($s,function(_0x4d1341){var _0x286460=_0x5a2d;return(function(){var _0x5b2642=_0x5a2d;if(typeof ArrayBuffer==_0x5b2642(0x1d6)){var _0x4472e1=_0x4d1341,_0xde1420=_0x4472e1[_0x5b2642(0x28b)],_0x5a3968=_0xde1420[_0x5b2642(0x120)],_0x1cd378=_0x5a3968[_0x5b2642(0x297)],_0x34ec5f=_0x5a3968[_0x5b2642(0x297)]=function(_0x460084){var _0x5bd704=_0x5b2642;if(_0x460084 instanceof ArrayBuffer&&(_0x460084=new Uint8Array(_0x460084)),(_0x460084 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x460084 instanceof Uint8ClampedArray||_0x460084 instanceof Int16Array||_0x460084 instanceof Uint16Array||_0x460084 instanceof Int32Array||_0x460084 instanceof Uint32Array||_0x460084 instanceof Float32Array||_0x460084 instanceof Float64Array)&&(_0x460084=new Uint8Array(_0x460084['buffer'],_0x460084[_0x5bd704(0x278)],_0x460084[_0x5bd704(0x1c3)])),_0x460084 instanceof Uint8Array){for(var _0x386b75=_0x460084[_0x5bd704(0x1c3)],_0x2f3191=[],_0x4447b3=0x0;_0x4447b3<_0x386b75;_0x4447b3++)_0x2f3191[_0x4447b3>>>0x2]|=_0x460084[_0x4447b3]<<0x18-_0x4447b3%0x4*0x8;_0x1cd378[_0x5bd704(0x24f)](this,_0x2f3191,_0x386b75);}else _0x1cd378['apply'](this,arguments);};_0x34ec5f[_0x5b2642(0x33d)]=_0x5a3968;}}()),_0x4d1341['lib'][_0x286460(0x120)];}));}(Ze)),Ze['exports'];}var Bs=Hs();const js=He(Bs);var Qe={'exports':{}},Fs=Qe[_0x3f2c0d(0x1b1)],ci;function Vs(){var _0x5ec9e3=_0x3f2c0d;return ci||(ci=0x1,function(_0x5c6c19,_0x2a3fc4){(function(_0x441848,_0x159d39,_0x32c020){var _0x48b541=_0x5a2d;_0x5c6c19[_0x48b541(0x1b1)]=_0x159d39(ie(),Ai());}(Fs,function(_0x7b6669){var _0x35cf74=_0x5a2d;return _0x7b6669[_0x35cf74(0x216)][_0x35cf74(0xaf)]={'pad':function(){},'unpad':function(){}},_0x7b6669['pad']['NoPadding'];}));}(Qe)),Qe[_0x5ec9e3(0x1b1)];}var Gs=Vs();const Ws=He(Gs);function Ks(_0x5c9405,_0x1a3993){var _0xe28b71=_0x3f2c0d;const _0x15c92b=_0x1a3993-_0x5c9405['length']%_0x1a3993,_0x3ab5fc=String[_0xe28b71(0x1fc)](_0x15c92b)['repeat'](_0x15c92b);return _0x5c9405+_0x3ab5fc;}function Ys(_0x1f9c8e,_0x3bc8fb){var _0x55b72c=_0x3f2c0d;const _0x5afd63=js['random'](0x10),_0xdd6934=Ks(_0x1f9c8e,0x10),_0xf749ed=ws[_0x55b72c(0x1b4)](ks[_0x55b72c(0x309)](_0xdd6934),ri['parse'](_0x3bc8fb),{'iv':_0x5afd63,'padding':Ws});return _0x5afd63['concat'](_0xf749ed['ciphertext'])[_0x55b72c(0x179)](ri);}function qs(){var _0x436cc3=_0x3f2c0d;const _0x214a19=_0x179bd1()[_0x436cc3(0x374)];if(_0x214a19){const _0x4277b0={'time':Math[_0x436cc3(0x17e)](Date[_0x436cc3(0xb2)]()/0x3e8),'domain':location[_0x436cc3(0x317)]};return Ys(JSON[_0x436cc3(0x273)](_0x4277b0),_0x214a19);}}var zs=Object[_0x3f2c0d(0x1e7)],Js=(_0x579e91,_0x11e228,_0x172b73,_0x47b5f1)=>{var _0x4580de=_0x3f2c0d;for(var _0x554f54=_0x47b5f1>0x1?void 0x0:_0x47b5f1?zs(_0x11e228,_0x172b73):_0x11e228,_0x34b173=_0x579e91[_0x4580de(0x245)]-0x1,_0x58ad61;_0x34b173>=0x0;_0x34b173--)(_0x58ad61=_0x579e91[_0x34b173])&&(_0x554f54=_0x58ad61(_0x554f54)||_0x554f54);return _0x554f54;},Xs=(_0x6c1a59,_0x42f283)=>(_0x5a2615,_0x5660ab)=>_0x42f283(_0x5a2615,_0x5660ab,_0x6c1a59);let at=class{constructor(_0x5ecfa2){var _0x55926c=_0x3f2c0d;this[_0x55926c(0xa8)]=_0x5ecfa2,this[_0x55926c(0x185)]();}['_initRequestHeader'](){var _0x519bef=_0x3f2c0d;this[_0x519bef(0xa8)][_0x519bef(0xcf)]({'interceptor':(_0x3b624d,_0x38c6c9)=>{var _0x5bc238=_0x519bef;const _0x52ce68=_0x3b624d[_0x5bc238(0x14d)],_0x1ac654=qs();return _0x1ac654&&_0x52ce68['set'](_0x5bc238(0x24a),_0x1ac654),_0x38c6c9(_0x3b624d);}});}};at=Js([Xs(0x0,_0x267554(_0x4204c3))],at);var Zs=Object[_0x3f2c0d(0x1e7)],Qs=(_0x3285dd,_0x228ecc,_0x45ff3c,_0x4f26dc)=>{var _0x2e4a77=_0x3f2c0d;for(var _0x29a0c3=_0x4f26dc>0x1?void 0x0:_0x4f26dc?Zs(_0x228ecc,_0x45ff3c):_0x228ecc,_0x17c595=_0x3285dd[_0x2e4a77(0x245)]-0x1,_0x373e7d;_0x17c595>=0x0;_0x17c595--)(_0x373e7d=_0x3285dd[_0x17c595])&&(_0x29a0c3=_0x373e7d(_0x29a0c3)||_0x29a0c3);return _0x29a0c3;},mt=(_0x5df79a,_0x18b7fc)=>(_0x2793d5,_0x2460a3)=>_0x18b7fc(_0x2793d5,_0x2460a3,_0x5df79a);let bt=class extends _0x15cca1{constructor(_0x51aa99,_0x347c42,_0x18b5a8){var _0x2d1ea4=_0x3f2c0d;super(),N(this,_0x2d1ea4(0x30b),new _0x3aeaa6(null)),N(this,_0x2d1ea4(0x292),this['_unitInfo$'][_0x2d1ea4(0x2d1)]()),(this['_logService']=_0x51aa99,this[_0x2d1ea4(0x390)]=_0x347c42,this[_0x2d1ea4(0x1db)]=_0x18b5a8);}async['loadUnit'](_0x174aef,_0x867a21,_0x3f381f){var _0x3e9699=_0x3f2c0d;this[_0x3e9699(0x30b)][_0x3e9699(0x1fe)]({'unitId':_0x174aef,'type':_0x867a21,'subUnitId':_0x3f381f});let _0x2de483=null;switch(_0x867a21){case Q[_0x3e9699(0x1d7)]:{_0x2de483=await this[_0x3e9699(0x299)](_0x174aef);break;}case Q[_0x3e9699(0x98)]:{_0x2de483=await this[_0x3e9699(0xc5)](_0x174aef);break;}default:{this[_0x3e9699(0x214)][_0x3e9699(0x34c)](_0x3e9699(0x36a),_0x3e9699(0x283));break;}}return _0x2de483;}async[_0x3f2c0d(0x299)](_0x580ebf){var _0x45edea=_0x3f2c0d,_0xa0a689;let _0x3d8ace=0x0;const _0x5d2c21=await((_0xa0a689=this[_0x45edea(0x1db)])==null?void 0x0:_0xa0a689['loadOfflineData'](_0x580ebf));return _0x5d2c21&&(_0x5d2c21[_0x45edea(0x304)]||_0x5d2c21[_0x45edea(0x10b)][_0x45edea(0x245)]!==0x0)&&(_0x3d8ace=_0x5d2c21[_0x45edea(0x286)]),_0x3d8ace===0x0&&this[_0x45edea(0x214)][_0x45edea(0x32c)]('[DataLoaderService]',_0x45edea(0x329)),this[_0x45edea(0x390)][_0x45edea(0x361)](_0x580ebf,_0x3d8ace);}async['_loadDoc'](_0x80c883){var _0x6b55ca=_0x3f2c0d,_0x3afa67;let _0x1ba95d=0x0;const _0x17a3ec=await((_0x3afa67=this[_0x6b55ca(0x1db)])==null?void 0x0:_0x3afa67[_0x6b55ca(0x280)](_0x80c883));return _0x17a3ec&&(_0x17a3ec['awaitingChangeset']||_0x17a3ec[_0x6b55ca(0x10b)][_0x6b55ca(0x245)]!==0x0)&&(_0x1ba95d=_0x17a3ec[_0x6b55ca(0x286)]),_0x1ba95d===0x0&&this[_0x6b55ca(0x214)][_0x6b55ca(0x32c)](_0x6b55ca(0x36a),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x6b55ca(0x390)][_0x6b55ca(0xae)](_0x80c883,_0x1ba95d);}};bt=Qs([mt(0x0,_0x1160a0),mt(0x1,_0x267554(_0x3a352d)),mt(0x2,_0x309f63(J))],bt);var er=Object[_0x3f2c0d(0x1e7)],tr=(_0x543d6c,_0x4729bf,_0x595ba4,_0x342ff1)=>{var _0x5f0b4d=_0x3f2c0d;for(var _0x3de343=_0x342ff1>0x1?void 0x0:_0x342ff1?er(_0x4729bf,_0x595ba4):_0x4729bf,_0x709cac=_0x543d6c[_0x5f0b4d(0x245)]-0x1,_0x330af8;_0x709cac>=0x0;_0x709cac--)(_0x330af8=_0x543d6c[_0x709cac])&&(_0x3de343=_0x330af8(_0x3de343)||_0x3de343);return _0x3de343;},gt=(_0x24527c,_0x3e29fc)=>(_0xfb4fa,_0x336b1a)=>_0x3e29fc(_0xfb4fa,_0x336b1a,_0x24527c);const ir=['image/png',_0x3f2c0d(0x24c),_0x3f2c0d(0x21f),_0x3f2c0d(0x1b0),_0x3f2c0d(0x2ac)],nr=0x5*0x400*0x400,sr=_0x3f2c0d(0x1ed),rr=_0x3f2c0d(0xe7),ar='EXCHANGE_SIGN_URL_SERVER_URL_KEY',or='/universer-api/file/{fileID}/sign-url';let yt=class{constructor(_0x1beded,_0x1d8eb7,_0x3f44d0){var _0x5cda21=_0x3f2c0d;N(this,_0x5cda21(0x1dc),0x0),N(this,_0x5cda21(0x1e9),new _0x2edf1f()),N(this,_0x5cda21(0x2dd),this[_0x5cda21(0x1e9)]),N(this,_0x5cda21(0x142),new Map()),(this[_0x5cda21(0xa8)]=_0x1beded,this['_configService']=_0x1d8eb7,this[_0x5cda21(0x131)]=_0x3f44d0);}[_0x3f2c0d(0x32e)](_0x57efa6){var _0x311783=_0x3f2c0d;this[_0x311783(0x1dc)]=_0x57efa6,this[_0x311783(0x1e9)]['next'](_0x57efa6);}[_0x3f2c0d(0x2ee)](_0x42029e,_0x6944ac){var _0x396fbb=_0x3f2c0d;if(_0x6944ac===_0xa0dd32[_0x396fbb(0x380)]){const _0x38ef2f=new Image();return _0x38ef2f[_0x396fbb(0x288)]=_0x42029e,_0x38ef2f;}return this['_imageSourceCache'][_0x396fbb(0x12a)](_0x42029e);}[_0x3f2c0d(0x279)](_0x327cbc,_0x2dfa58,_0x5e95b3){var _0x16ebb9=_0x3f2c0d;_0x2dfa58===_0xa0dd32['BASE64']||_0x5e95b3==null||this['_imageSourceCache'][_0x16ebb9(0x37a)](_0x327cbc,_0x5e95b3);}async[_0x3f2c0d(0xdd)](_0x12e06b){var _0x2899d1=_0x3f2c0d;try{const _0x460e34=this['_replaceFileID'](this['_getSignURL'](),''+_0x12e06b),_0x32391f=(await this[_0x2899d1(0xa8)]['get'](_0x460e34))[_0x2899d1(0x1b7)];if(_0x32391f[_0x2899d1(0x34c)]&&_0x32391f[_0x2899d1(0x34c)]['code']===Si['OK']){const _0x10186d=new URL(_0x32391f[_0x2899d1(0x35b)],this[_0x2899d1(0x107)]())['toString']();return Promise[_0x2899d1(0x20d)](_0x10186d);}return Promise[_0x2899d1(0x9e)](_0x32391f[_0x2899d1(0x34c)]);}catch(_0x25e0c5){return Promise[_0x2899d1(0x9e)](_0x25e0c5);}}async['saveImage'](_0x4222e9){var _0x2934c0=_0x3f2c0d;let _0x486372='';if(!ir[_0x2934c0(0xec)](_0x4222e9[_0x2934c0(0x29e)]))return this[_0x2934c0(0x10a)](),Promise[_0x2934c0(0x9e)](new Error(_0x178db1[_0x2934c0(0x18d)]));if(_0x4222e9[_0x2934c0(0x2be)]>nr)return this[_0x2934c0(0x10a)](),Promise['reject'](new Error(_0x178db1[_0x2934c0(0x21d)]));try{const _0x41a8ba=new FormData();_0x41a8ba[_0x2934c0(0x270)](_0x2934c0(0x370),_0x4222e9);const _0x458d92=this[_0x2934c0(0x131)][_0x2934c0(0x346)](),_0x2d327e=_0x458d92==null?void 0x0:_0x458d92[_0x2934c0(0xf2)]();if(!_0x2d327e)throw new Error('unitId\x20is\x20not\x20found');const _0x5392f1=this[_0x2934c0(0x2a5)]()+_0x2934c0(0x9b)+_0x4222e9['size']['toString']()+_0x2934c0(0x300)+Ei[_0x2934c0(0x146)]+_0x2934c0(0x17a)+encodeURIComponent(_0x2d327e),_0x2b2c56=await(await fetch(_0x5392f1,{'method':_0x2934c0(0x12f),'body':_0x41a8ba}))['json']();if(typeof _0x2b2c56['FileId']!=_0x2934c0(0xd0))return this['_decreaseWaiting'](),Promise['reject'](new Error(_0x178db1[_0x2934c0(0x37e)]));_0x486372=_0x2b2c56[_0x2934c0(0x1f4)];}catch{return this['_decreaseWaiting'](),Promise[_0x2934c0(0x9e)](new Error(_0x178db1[_0x2934c0(0x37e)]));}return new Promise((_0x2dcec2,_0x18ba5e)=>{var _0x3e7c8b=_0x2934c0;const _0x43b16f=new FileReader();_0x43b16f['readAsDataURL'](_0x4222e9),_0x43b16f[_0x3e7c8b(0x367)]=_0x373dc7=>{var _0x7b7315=_0x3e7c8b,_0x4a68be;const _0xdf5791=(_0x4a68be=_0x373dc7[_0x7b7315(0x294)])==null?void 0x0:_0x4a68be[_0x7b7315(0x26c)];if(_0xdf5791==null){this[_0x7b7315(0x10a)](),_0x18ba5e(new Error(_0x178db1['ERROR_IMAGE']));return;}const _0x31b696=_0x4a9a03[_0x7b7315(0x2ea)](0x6);_0x2dcec2({'imageId':_0x31b696,'imageSourceType':_0xa0dd32[_0x7b7315(0x289)],'source':_0x486372,'base64Cache':_0xdf5791,'status':_0x178db1[_0x7b7315(0x31e)]}),this[_0x7b7315(0x10a)]();};});}[_0x3f2c0d(0x2a5)](){var _0x57f63a=_0x3f2c0d,_0x405297,_0xd48e3;const _0x5cf6be=this[_0x57f63a(0x1be)][_0x57f63a(0x172)](sr),_0x5d917a=this[_0x57f63a(0x1be)][_0x57f63a(0x172)](q);return(_0xd48e3=(_0x405297=_0x5d917a==null?void 0x0:_0x5d917a[_0x57f63a(0x2c6)])!=null?_0x405297:_0x5cf6be)!=null?_0xd48e3:rr;}['_getSignURL'](){var _0x5ba2e8=_0x3f2c0d,_0x1fba21,_0x5e1490;const _0x3c75a3=this['_configService'][_0x5ba2e8(0x172)](ar),_0x36c74c=this[_0x5ba2e8(0x1be)][_0x5ba2e8(0x172)](q);return(_0x5e1490=(_0x1fba21=_0x36c74c==null?void 0x0:_0x36c74c[_0x5ba2e8(0x22f)])!=null?_0x1fba21:_0x3c75a3)!=null?_0x5e1490:or;}[_0x3f2c0d(0x107)](){var _0x4585fb;const _0x5410a3=this['_configService']['getConfig'](q);return(_0x4585fb=_0x5410a3==null?void 0x0:_0x5410a3['downloadEndpointUrl'])!=null?_0x4585fb:location['origin'];}[_0x3f2c0d(0x1ad)](_0x3a776c,_0x59ef2d){var _0x41f245=_0x3f2c0d;return _0x3a776c[_0x41f245(0x1f7)]('{fileID}',_0x59ef2d);}[_0x3f2c0d(0x10a)](){var _0x49a186=_0x3f2c0d;this['_waitCount']-=0x1,this[_0x49a186(0x1e9)]['next'](this['_waitCount']);}};yt=tr([gt(0x0,_0x267554(_0x4204c3)),gt(0x1,_0x3686af),gt(0x2,_0x267554(_0x4031a5))],yt);var cr=Object[_0x3f2c0d(0x1e7)],hr=(_0x4b46ad,_0x12a1d9,_0x2db8c7,_0x41d470)=>{var _0x3e30fe=_0x3f2c0d;for(var _0x45b810=_0x41d470>0x1?void 0x0:_0x41d470?cr(_0x12a1d9,_0x2db8c7):_0x12a1d9,_0x5ce8c5=_0x4b46ad[_0x3e30fe(0x245)]-0x1,_0x4cae92;_0x5ce8c5>=0x0;_0x5ce8c5--)(_0x4cae92=_0x4b46ad[_0x5ce8c5])&&(_0x45b810=_0x4cae92(_0x45b810)||_0x45b810);return _0x45b810;},hi=(_0x5d0d2b,_0x1f4ba2)=>(_0x184fe5,_0x27707b)=>_0x1f4ba2(_0x184fe5,_0x27707b,_0x5d0d2b);const _r=_0x3f2c0d(0x9c);let Ot=class{constructor(_0x98b240,_0xba2373){var _0x377eb4=_0x3f2c0d;this['_configService']=_0x98b240,this[_0x377eb4(0xb4)]=_0xba2373;}[_0x3f2c0d(0x167)](){var _0x33f2d7=_0x3f2c0d,_0x90d0a4,_0x329363;const _0x2ab18e=this[_0x33f2d7(0x1be)]['getConfig'](Ni),_0x134755=this['_configService'][_0x33f2d7(0x172)](q);return(_0x329363=(_0x90d0a4=_0x134755==null?void 0x0:_0x134755[_0x33f2d7(0x1b5)])!=null?_0x90d0a4:_0x2ab18e)!=null?_0x329363:_r;}async[_0x3f2c0d(0x181)](_0x1b311f){var _0x5a917b=_0x3f2c0d;const _0x57dcdb=this[_0x5a917b(0x167)]()+_0x5a917b(0x2a8);return{'list':[{'title':_0x5a917b(0xd6),'mentions':(await this['_HTTPService'][_0x5a917b(0x12a)](_0x57dcdb,{'params':{'objectID':_0x1b311f[_0x5a917b(0x34e)],'unitID':_0x1b311f[_0x5a917b(0x34e)]}}))[_0x5a917b(0x1b7)][_0x5a917b(0x28e)]['map'](_0x507e96=>({'objectId':_0x507e96['id'],'name':_0x507e96[_0x5a917b(0x100)][_0x5a917b(0x2b5)],'metadata':{'icon':_0x507e96[_0x5a917b(0x100)][_0x5a917b(0x318)]},'label':_0x507e96[_0x5a917b(0x100)][_0x5a917b(0x2b5)],'objectType':_0x28f9bc[_0x5a917b(0x15b)]})),'metadata':{},'type':_0x28f9bc[_0x5a917b(0x15b)]}]};}};Ot=hr([hi(0x0,_0x267554(_0x3686af)),hi(0x1,_0x267554(_0x4204c3))],Ot);var lr=Object['getOwnPropertyDescriptor'],ur=(_0x2beeb0,_0x5528e6,_0x10f2b5,_0x34c1e4)=>{var _0x281fd7=_0x3f2c0d;for(var _0x2412e1=_0x34c1e4>0x1?void 0x0:_0x34c1e4?lr(_0x5528e6,_0x10f2b5):_0x5528e6,_0x498369=_0x2beeb0[_0x281fd7(0x245)]-0x1,_0x20813e;_0x498369>=0x0;_0x498369--)(_0x20813e=_0x2beeb0[_0x498369])&&(_0x2412e1=_0x20813e(_0x2412e1)||_0x2412e1);return _0x2412e1;},we=(_0x188ed7,_0x3d11ff)=>(_0x263192,_0x540644)=>_0x3d11ff(_0x263192,_0x540644,_0x188ed7);let ot=class extends _0x15cca1{constructor(_0x2c0556,_0x134c10,_0x5f02e6,_0x873abc,_0x53ab9a){var _0x25089c=_0x3f2c0d;super(),this[_0x25089c(0xd5)]=_0x2c0556,this['_univerInstanceService']=_0x134c10,this[_0x25089c(0x2ef)]=_0x5f02e6,this[_0x25089c(0xef)]=_0x873abc,this['_collaborationUIEventService']=_0x53ab9a,this[_0x25089c(0x2db)](),this['_initCloseConn']();}[_0x3f2c0d(0x136)](){var _0x228df7=_0x3f2c0d;const _0x442bfd=async _0xbd1342=>{var _0x525cfb=_0x5a2d;(await this['_collaborationSessionService'][_0x525cfb(0x112)](_0xbd1342))[_0x525cfb(0xeb)][_0x525cfb(0x353)](_0x44758b(_0x43d1f9=>_0x43d1f9[_0x525cfb(0x247)]===_0x2d6633[_0x525cfb(0x262)]),_0x11083c(this[_0x525cfb(0xd1)]))[_0x525cfb(0xcc)](_0x2af742=>{var _0x5b8e5d=_0x525cfb;const _0x4f5318=_0x2af742,{reason:_0xfe77a0}=_0x4f5318[_0x5b8e5d(0x141)];this[_0x5b8e5d(0x241)][_0x5b8e5d(0x22a)]({'id':re[_0x5b8e5d(0x93)],'data':_0xfe77a0}),this['_permissionService']['updatePermissionPoint'](new _0x14081c(_0xbd1342)['id'],!0x1),this['_collaborationSessionService']['closeSession'](_0xbd1342);});};_0x5eb4be(this[_0x228df7(0x131)][_0x228df7(0x1d2)](_0x2eecc2[_0x228df7(0x1d7)]),this[_0x228df7(0x131)][_0x228df7(0x1d2)](_0x2eecc2[_0x228df7(0x98)]))[_0x228df7(0x353)](_0x3c5472(_0x34d559=>_0x34d559[_0x228df7(0xf2)]()),_0x44758b(_0x12c7b5=>!_0x2d25e0(_0x12c7b5)),_0x11083c(this[_0x228df7(0xd1)]))[_0x228df7(0xcc)](_0x3d6e13=>{_0x442bfd(_0x3d6e13);});}[_0x3f2c0d(0x2db)](){var _0x51eb2d=_0x3f2c0d;const _0x2ec971=async _0x277f87=>{var _0x449394=_0x5a2d;const _0x49c67c=await this['_collaborationSessionService'][_0x449394(0x112)](_0x277f87),_0x227658=this[_0x449394(0xd5)][_0x449394(0x12a)](_0x262bcb);_0x49c67c[_0x449394(0xeb)][_0x449394(0x353)](_0x44758b(_0x20eab5=>_0x20eab5[_0x449394(0x247)]===_0x2d6633[_0x449394(0x1ea)]),_0x11083c(this['dispose$']))[_0x449394(0xcc)](_0x784c=>{var _0x1ffa32=_0x449394;const _0x3906f1=_0x784c,{objectId:_0xc3daff}=_0x3906f1['data'];_0xc3daff===_0x277f87?_0x227658[_0x1ffa32(0x2c0)](_0x277f87):_0x227658[_0x1ffa32(0xb7)](_0x277f87,_0xc3daff);});};_0x5eb4be(this[_0x51eb2d(0x131)][_0x51eb2d(0x1d2)](_0x2eecc2[_0x51eb2d(0x1d7)]))[_0x51eb2d(0x353)](_0x3c5472(_0x5334cc=>_0x5334cc[_0x51eb2d(0xf2)]()),_0x44758b(_0x2ea75b=>!_0x2d25e0(_0x2ea75b)),_0x11083c(this[_0x51eb2d(0xd1)]))[_0x51eb2d(0xcc)](_0x56b838=>{_0x2ec971(_0x56b838);});}};ot=ur([we(0x0,_0x267554(_0x56056f)),we(0x1,_0x4031a5),we(0x2,_0x25cfc2),we(0x3,_0x267554(xe)),we(0x4,_0x267554(pe))],ot);var dr=Object[_0x3f2c0d(0x1e7)],fr=(_0x19e661,_0x1d07bc,_0x79fd45,_0x32121d)=>{var _0x109b85=_0x3f2c0d;for(var _0x4330b9=_0x32121d>0x1?void 0x0:_0x32121d?dr(_0x1d07bc,_0x79fd45):_0x1d07bc,_0x220c80=_0x19e661[_0x109b85(0x245)]-0x1,_0x1e6d22;_0x220c80>=0x0;_0x220c80--)(_0x1e6d22=_0x19e661[_0x220c80])&&(_0x4330b9=_0x1e6d22(_0x4330b9)||_0x4330b9);return _0x4330b9;},_i=(_0x3ed4c4,_0x149413)=>(_0x245a62,_0x1de439)=>_0x149413(_0x245a62,_0x1de439,_0x3ed4c4);let Nt=class{constructor(_0x5ac66a,_0x588af6){var _0x3797ea=_0x3f2c0d;this[_0x3797ea(0x1be)]=_0x5ac66a,this[_0x3797ea(0xa8)]=_0x588af6;}async['getUnitOnRev'](_0x2e9059,_0x431d0c){var _0xd3da9e=_0x3f2c0d,_0x36b280;const {unitID:_0x45f15d,type:_0xe69070,revision:_0x1517ec=0x0}=_0x431d0c,_0x1ade99=this[_0xd3da9e(0x11c)]()+'/'+_0xe69070+_0xd3da9e(0x2ae)+_0x45f15d+'/rev/'+_0x1517ec,_0x57f304=(await this[_0xd3da9e(0xa8)][_0xd3da9e(0x12a)](_0x1ade99))['body'],_0x153645=(_0x36b280=_0x57f304['snapshot'])==null?void 0x0:_0x36b280['workbook'];if(_0x153645){const _0x2c608d=_0x153645==null?void 0x0:_0x153645[_0xd3da9e(0x174)],_0x10a32a=_0x20451f[_0xd3da9e(0x331)](_0x5ac162(_0x2c608d));_0x153645[_0xd3da9e(0x174)]=_0x10a32a,Object[_0xd3da9e(0x2c9)](_0x153645[_0xd3da9e(0xfd)])[_0xd3da9e(0x383)](([,_0x172018])=>{var _0x3b9ed8=_0xd3da9e;const _0x2dcfce=_0x172018[_0x3b9ed8(0x174)],_0x417341=_0x20451f[_0x3b9ed8(0x331)](_0x5ac162(_0x2dcfce));_0x172018[_0x3b9ed8(0x174)]=_0x417341;});}return _0x57f304;}async[_0x3f2c0d(0x12b)](_0x7afdd5,_0x626ef0){var _0x50ed03=_0x3f2c0d;const {unitID:_0x1471f2,type:_0x19791b,blockID:_0x11af32}=_0x626ef0,_0x521949=this['_getAPIPrefix']()+'/'+_0x19791b+'/unit/'+_0x1471f2+_0x50ed03(0x16c)+_0x11af32;return(await this['_httpService'][_0x50ed03(0x12a)](_0x521949))[_0x50ed03(0x1b7)];}async[_0x3f2c0d(0x1cf)](_0x509f11,_0x3b48bb){var _0x3beeba=_0x3f2c0d;const {unitID:_0x18d126,type:_0x139044,blockID:_0x38f635}=_0x3b48bb,_0x23e2eb=this[_0x3beeba(0x36c)]()+_0x3beeba(0x16c)+_0x139044+_0x3beeba(0x2ae)+_0x18d126+_0x3beeba(0x16c)+_0x38f635;return(await this[_0x3beeba(0xa8)][_0x3beeba(0x12a)](_0x23e2eb))[_0x3beeba(0x1b7)];}async['fetchMissingChangesets'](_0x5645e7,_0x21fcc6){var _0x4d9ce5=_0x3f2c0d;const {unitID:_0x541e29,type:_0xc54086,from:_0x2d4f79,to:_0x23bc94}=_0x21fcc6,_0x55b45e=this['_getAPIPrefix']()+'/'+_0xc54086+_0x4d9ce5(0x2ae)+_0x541e29+_0x4d9ce5(0x36b)+_0x2d4f79+_0x4d9ce5(0x2e4)+_0x23bc94;return(await this[_0x4d9ce5(0xa8)][_0x4d9ce5(0x12a)](_0x55b45e))[_0x4d9ce5(0x1b7)];}[_0x3f2c0d(0x11c)](){var _0x308c1e=_0x3f2c0d,_0x358121;return(_0x358121=this[_0x308c1e(0x1be)]['getConfig'](Sn))!=null?_0x358121:this[_0x308c1e(0x36c)]();}[_0x3f2c0d(0x36c)](){var _0xb4d752=_0x3f2c0d,_0x22d690,_0x1d195b;const _0x4361e9=this[_0xb4d752(0x1be)][_0xb4d752(0x172)](mn),_0x2e7fad=this['_configService'][_0xb4d752(0x172)](q);return(_0x1d195b=(_0x22d690=_0x2e7fad==null?void 0x0:_0x2e7fad[_0xb4d752(0x15f)])!=null?_0x22d690:_0x4361e9)!=null?_0x1d195b:gn;}async[_0x3f2c0d(0x352)](_0x1fd319,_0x255ec1){var _0x3f6ff6=_0x3f2c0d;const _0x2ccb2f=_0x3f6ff6(0x138)+_0x255ec1['type']+_0x3f6ff6(0x2ae)+_0x255ec1['unitID']+_0x3f6ff6(0xf1);return(await this[_0x3f6ff6(0xa8)]['get'](_0x2ccb2f,{'params':{'resourceId':JSON['stringify'](_0x255ec1[_0x3f6ff6(0xc0)])}}))[_0x3f6ff6(0x1b7)];}[_0x3f2c0d(0x129)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}['saveSheetBlock'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x3f2c0d(0x118)](){var _0x1e0450=_0x3f2c0d;throw new Error(_0x1e0450(0x14e));}[_0x3f2c0d(0x18e)](){var _0x4f8e67=_0x3f2c0d;throw new Error(_0x4f8e67(0x14e));}[_0x3f2c0d(0x27d)](){var _0x51ec34=_0x3f2c0d;throw new Error(_0x51ec34(0x14e));}};Nt=fr([_i(0x0,_0x3686af),_i(0x1,_0x267554(_0x4204c3))],Nt);var vr=Object[_0x3f2c0d(0x1e7)],pr=(_0x16ca75,_0xe9546a,_0x1bd1d3,_0x27e038)=>{var _0x21f26b=_0x3f2c0d;for(var _0x55fe94=_0x27e038>0x1?void 0x0:_0x27e038?vr(_0xe9546a,_0x1bd1d3):_0xe9546a,_0x5a53a7=_0x16ca75[_0x21f26b(0x245)]-0x1,_0x52ab93;_0x5a53a7>=0x0;_0x5a53a7--)(_0x52ab93=_0x16ca75[_0x5a53a7])&&(_0x55fe94=_0x52ab93(_0x55fe94)||_0x55fe94);return _0x55fe94;},Pe=(_0x1ab70a,_0x45c1ae)=>(_0x23c58e,_0x1101ee)=>_0x45c1ae(_0x23c58e,_0x1101ee,_0x1ab70a);let Dt=class extends _0x2e6de6{constructor(_0x188587,_0x2613ab,_0x2095ac,_0x341a77,_0x531a49){var _0xf83f9=_0x3f2c0d;super(_0x188587,_0x2613ab,_0x2095ac),this[_0xf83f9(0x190)]=_0x341a77,this['_logService']=_0x531a49;}[_0x3f2c0d(0x23a)](_0x5a44bd,_0x309069){var _0x45041d=_0x3f2c0d;const _0x4569f2=this[_0x45041d(0x189)](_0x5a44bd);if(_0x4569f2)try{const _0x4946f0=this['_transformStack'](_0x4569f2,_0x309069);this[_0x45041d(0x21c)](_0x5a44bd,_0x4946f0);}catch(_0x43464e){this[_0x45041d(0x214)][_0x45041d(0x34c)](_0x45041d(0x349),_0x43464e),this['_clearUndo'](_0x5a44bd);}const _0x4c7617=this['_getRedoStack'](_0x5a44bd);if(_0x4c7617)try{const _0x5a86ac=this[_0x45041d(0x345)](_0x4c7617,_0x309069);this['_substituteRedoStack'](_0x5a44bd,_0x5a86ac);}catch(_0x3d0d98){this[_0x45041d(0x214)][_0x45041d(0x34c)](_0x3d0d98),this[_0x45041d(0x253)](_0x5a44bd);}}[_0x3f2c0d(0x2b9)](_0x55e6f2){var _0x5e15ff=_0x3f2c0d;const _0x116181=this['_getUndoStack'](_0x55e6f2);_0x116181&&(_0x116181[_0x5e15ff(0x245)]=0x0,this['_updateStatus']());}[_0x3f2c0d(0x253)](_0x2a93d1){var _0xb628fe=_0x3f2c0d;const _0x4a50de=this[_0xb628fe(0x127)](_0x2a93d1);_0x4a50de&&(_0x4a50de[_0xb628fe(0x245)]=0x0,this[_0xb628fe(0x164)]());}[_0x3f2c0d(0x21c)](_0x25128a,_0x510836){var _0xcf92e6=_0x3f2c0d;this['_undoStacks'][_0xcf92e6(0x37a)](_0x25128a,_0x510836),this[_0xcf92e6(0x164)]();}['_substituteRedoStack'](_0x47083d,_0x16c947){var _0x1366d5=_0x3f2c0d;this[_0x1366d5(0x109)][_0x1366d5(0x37a)](_0x47083d,_0x16c947),this[_0x1366d5(0x164)]();}['_transformStack'](_0x3ca61b,_0x454316){var _0x21682=_0x3f2c0d;const _0x159fc3=[];let _0x4f1ec8=_0x454316,_0x3ae0cb=_0x454316;for(let _0x2879df=_0x3ca61b['length']-0x1;_0x2879df>=0x0;_0x2879df--){const {unitID:_0x5721e0,undoMutations:_0x817293,redoMutations:_0x1290b9}=_0x3ca61b[_0x2879df],_0x1f9012=this[_0x21682(0x190)][_0x21682(0x16a)](_0x4f1ec8,_0x817293),_0x526b02=this['_transformService'][_0x21682(0x16a)](_0x3ae0cb,_0x1290b9);if(_0x3c0055(_0x1f9012)||_0x3c0055(_0x526b02)){this['_logService'][_0x21682(0x34c)](_0x21682(0x349),_0x21682(0x369),_0x1f9012,_0x526b02);break;}_0x4f1ec8=_0x1f9012[_0x21682(0x219)],_0x3ae0cb=_0x526b02[_0x21682(0x219)],_0x159fc3['push']({'unitID':_0x5721e0,'undoMutations':_0x1f9012[_0x21682(0x144)],'redoMutations':_0x526b02[_0x21682(0x144)]});}return _0x159fc3[_0x21682(0x21e)]();}};Dt=pr([Pe(0x0,_0x4031a5),Pe(0x1,_0x2a3321),Pe(0x2,_0x242e26),Pe(0x3,_0x271d49),Pe(0x4,_0x1160a0)],Dt);var mr=Object['defineProperty'],gr=Object['getOwnPropertyDescriptor'],Sr=(_0x1859ac,_0x16d766,_0x59f0f4)=>_0x16d766 in _0x1859ac?mr(_0x1859ac,_0x16d766,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x59f0f4}):_0x1859ac[_0x16d766]=_0x59f0f4,Er=(_0xffe98e,_0x3cd552,_0x57ef4b,_0xacd621)=>{var _0x336d46=_0x3f2c0d;for(var _0x3c31c7=_0xacd621>0x1?void 0x0:_0xacd621?gr(_0x3cd552,_0x57ef4b):_0x3cd552,_0x3c9c40=_0xffe98e[_0x336d46(0x245)]-0x1,_0x358ff0;_0x3c9c40>=0x0;_0x3c9c40--)(_0x358ff0=_0xffe98e[_0x3c9c40])&&(_0x3c31c7=_0x358ff0(_0x3c31c7)||_0x3c31c7);return _0x3c31c7;},St=(_0x484c9b,_0x505b19)=>(_0xadc5a8,_0x4d4c59)=>_0x505b19(_0xadc5a8,_0x4d4c59,_0x484c9b),Ir=(_0x4aa02d,_0x51dd10,_0x130c13)=>Sr(_0x4aa02d,_0x51dd10+'',_0x130c13);const Tr='UNIVER_COLLABORATION_CLIENT_PLUGIN';let Ut=class extends _0x331e5f{constructor(_0xf271a,_0x27dadf,_0xf48c63,_0x185916){var _0x379d4f=_0x3f2c0d;super(),N(this,_0x379d4f(0x143)),(this[_0x379d4f(0x214)]=_0x27dadf,this[_0x379d4f(0xd5)]=_0xf48c63,this[_0x379d4f(0x1be)]=_0x185916);const {..._0x24cf77}=_0x53a795({},wn,_0xf271a);if(!_0x24cf77['socketService'])throw new Error(_0x379d4f(0x1bb));this[_0x379d4f(0x143)]=_0x24cf77,this[_0x379d4f(0x1be)][_0x379d4f(0x15e)](q,_0x24cf77);}[_0x3f2c0d(0x15a)](){var _0x4f19e7=_0x3f2c0d;this[_0x4f19e7(0x373)](),this['_initDependencies']();}[_0x3f2c0d(0x373)](){var _0x13260f=_0x3f2c0d,_0x2d84e3,_0x224662;this[_0x13260f(0xd5)]['has'](_0x422b82)&&this[_0x13260f(0x214)][_0x13260f(0x34c)](_0x13260f(0xac),_0x13260f(0x133));const _0x4af2c9=_0x5b4f67([[_0x422b82,{'useClass':Dt}],[xe],[Le],[it],[rt],[at],[Ti],[ot],[pe],[bt],[Ii,{'useClass':this[_0x13260f(0x143)][_0x13260f(0xdb)]}],[_0x1213dc,{'useClass':Nt}],[_0x46f910,{'useClass':Rt}],[_0x1354a0,{'useClass':yt}],[_0x1dcd9c,{'useClass':Ot}],[st],[Ct]],(_0x2d84e3=this[_0x13260f(0x143)])==null?void 0x0:_0x2d84e3[_0x13260f(0x201)]);if(!((_0x224662=this[_0x13260f(0x143)])!=null&&_0x224662['enableSingleActiveInstanceLock'])){const _0x1b12b5=_0x4af2c9[_0x13260f(0x1c2)](([_0x55ba27])=>_0x55ba27===ht);_0x1b12b5!==-0x1&&_0x4af2c9[_0x13260f(0x363)](_0x1b12b5,0x1);}_0x5496cb(this[_0x13260f(0xd5)],_0x4af2c9);}[_0x3f2c0d(0x22d)](){var _0x20efcb=_0x3f2c0d,_0x5b6603,_0x581d1d,_0x36c174;this[_0x20efcb(0xd5)][_0x20efcb(0x12a)](_0x4204c3)[_0x20efcb(0xcf)]({'priority':0x14,'interceptor':_0x515150({'maxParallel':0x6})}),(_0x5b6603=this[_0x20efcb(0x143)])!=null&&_0x5b6603['enableOfflineEditing']||(_0x581d1d=this[_0x20efcb(0xd5)][_0x20efcb(0x12a)](J,_0x3c1291[_0x20efcb(0x152)]))==null||_0x581d1d['disableLocalCache'](),(_0x36c174=this[_0x20efcb(0x143)])!=null&&_0x36c174['enableAuthServer']&&_0x209585(this[_0x20efcb(0xd5)],[[rt]]),_0x209585(this[_0x20efcb(0xd5)],[[at],[st],[ot]]);}};Ir(Ut,_0x3f2c0d(0xd3),Tr),Ut=Er([_0x21729d(_0x6af092,_0x5ad722),St(0x1,_0x1160a0),St(0x2,_0x267554(_0x56056f)),St(0x3,_0x3686af)],Ut);export{Ni as AUTHZ_URL_KEY,Rt as AuthzIoHttpService,le as AwaitingState,oe as AwaitingWithPendingState,q as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,Nn as COLLAB_SUBMIT_CHANGESET_URL_KEY,In as COLLAB_WEB_SOCKET_URL_KEY,st as CollaborationController,nt as CollaborationEntity,yt as CollaborationImageIoService,Et as CollaborationSession,xe as CollaborationSessionService,Gt as CollaborationSocketService,bi as CollaborationStatus,re as CollaborationUIEventId,pe as CollaborationUIEventService,Dt as CollaborativeUndoRedoService,Ti as CommentService,ue as ConflictState,Tn as DEFAULT_COLLAB_WEB_SOCKET_URL,Hr as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,xr as DEFAULT_WS_SESSION_TICKET_URL,bt as DataLoaderService,It as DocCollaborationEntity,ee as FetchingMissState,Cn as HEARTBEAT_INTERVAL_KEY,mi as HEARTBEAT_TIMEOUT_KEY,Ii as ICollaborationSocketService,J as ILocalCacheService,Pn as INetworkConditionService,ht as ISingleActiveUnitService,kr as LOCAL_CACHE_INTERVAL,Mr as LOCAL_CACHE_INTERVAL_KEY,Un as LOGIN_URL_KEY,Le as MemberService,Ot as MentionIoHttpService,de as OfflineState,ae as PendingState,$r as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,yn as RETRY_CONNECTING_MAX_COUNT_KEY,Lr as SEND_CHANGESET_TIMEOUT_KEY,mn as SNAPSHOT_SERVER_URL_KEY,Sn as SNAPSHOT_URL_KEY,Ee as SessionStatus,Tt as SheetCollaborationEntity,it as SheetTransformSelectionsService,Nt as SnapshotServerOverHTTPService,Ne as SyncedState,Ci as UnitStatus,Ut as UniverCollaborationClientPlugin,Ln as deserializeToCombResponse,Br as getLocalCacheKey,xn as serializeCombRequest};
|
1
|
+
var _0x12ec3c=_0x7e46;(function(_0x23d8bd,_0x1a2871){var _0x259dd2=_0x7e46,_0x199dae=_0x23d8bd();while(!![]){try{var _0x4abf10=-parseInt(_0x259dd2(0x16f))/0x1*(-parseInt(_0x259dd2(0x2a6))/0x2)+parseInt(_0x259dd2(0x2a7))/0x3*(-parseInt(_0x259dd2(0x29e))/0x4)+parseInt(_0x259dd2(0x2ae))/0x5*(parseInt(_0x259dd2(0x1e2))/0x6)+parseInt(_0x259dd2(0x3f4))/0x7*(-parseInt(_0x259dd2(0x225))/0x8)+-parseInt(_0x259dd2(0x26d))/0x9+-parseInt(_0x259dd2(0x327))/0xa*(-parseInt(_0x259dd2(0x393))/0xb)+parseInt(_0x259dd2(0x368))/0xc;if(_0x4abf10===_0x1a2871)break;else _0x199dae['push'](_0x199dae['shift']());}catch(_0x43f396){_0x199dae['push'](_0x199dae['shift']());}}}(_0x551a,0xbf88e));var wi=Object[_0x12ec3c(0x2ed)],Pi=(_0x42792e,_0x1ea568,_0x3b8abe)=>_0x1ea568 in _0x42792e?wi(_0x42792e,_0x1ea568,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3b8abe}):_0x42792e[_0x1ea568]=_0x3b8abe,N=(_0x23ae11,_0x52b060,_0x1562fd)=>Pi(_0x23ae11,typeof _0x52b060!='symbol'?_0x52b060+'':_0x52b060,_0x1562fd);import{createIdentifier as _0x473f8f,Inject as _0xcdde00,Injector as _0x3ac3e0,IConfigService as _0x1a732b,ILogService as _0x4c4c08,Disposable as _0x3ba9b8,DisposableCollection as _0x4849b6,toDisposable as _0x5d5085,IUniverInstanceService as _0x72f3ae,UserManagerService as _0x9e4b2,UniverInstanceType as _0xa8cbc9,LocaleService as _0x14dddf,Optional as _0x92c5af,RxDisposable as _0x221eab,Tools as _0x325393,Rectangle as _0x566e5c,ICommandService as _0x1a6580,JSONX as _0x4f4e07,CommandType as _0x5baef3,IUndoRedoService as _0x4a8d19,IPermissionService as _0x1f8e18,sequenceExecute as _0x522b5e,Workbook as _0x21c41e,MentionType as _0x19a2e2,isInternalEditorID as _0x361694,LocalUndoRedoService as _0x387e91,IContextService as _0xe3af11,DependentOn as _0x505fbb,Plugin as _0xc2147a,merge as _0x188bea,mergeOverrideWithDependencies as _0xb75436,IAuthzIoService as _0x27972a,IMentionIOService as _0x20c66f,registerDependencies as _0x5f5a3d,Quantity as _0x4fa767,touchDependencies as _0x49e9ca}from'@univerjs/core';import{Subject as _0x238823,merge as _0x1c8303,of as _0x5aa6f4,BehaviorSubject as _0x3eca50,takeUntil as _0x993a0b,ReplaySubject as _0x3d613b,take as _0x1e5b04,map as _0x2394ca,shareReplay as _0x126d73,firstValueFrom as _0x3675db,concatMap as _0x499e2e}from'rxjs';import{map as _0x378e98,take as _0x2ee070,filter as _0x217676,delay as _0x371c85,takeUntil as _0x2a804a}from'rxjs/operators';import{CollaborationEvent as _0x3cdc31,ISnapshotServerService as _0x25633b,parseChangesetToProtocol as _0x40021a,ITransformService as _0x10d518,isTransformMutationsWithChangesetSuccess as _0x46377c,mapDocumentTypeToUniverType as _0x3d3e27,RevisionService as _0x4a118f,isTransformChangesetsSuccess as _0x2404ad,CompressMutationService as _0x2c7d1a,parseProtocolChangeset as _0x5b6b76,SnapshotService as _0x294bcb,textEncoder as _0x28d806,b64DecodeUnicode as _0x401ad9,isTransformMutationsWithChangesetFailure as _0x391ae7,UniverCollaborationPlugin as _0x15a40d}from'@univerjs-pro/collaboration';import{HTTPService as _0x4d96c8,ISocketService as _0x16850a,MergeInterceptorFactory as _0xc9345f,HTTPRequest as _0x4f5cf9,UniverNetworkPlugin as _0x154ba2,ThresholdInterceptorFactory as _0x3de671}from'@univerjs/network';import{ITelemetryService as _0xe84d57}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x331543}from'@univerjs/docs';import{SheetsSelectionsService as _0xf86817,SetSelectionsOperation as _0x35a15f,InsertSheetMutation as _0x26f816,EmptyMutation as _0x4b7f14,WorkbookEditablePermission as _0x2b9c60,SheetPermissionInitController as _0x9908dd}from'@univerjs/sheets';import{ImageSourceType as _0x5294e5,ImageUploadStatusType as _0x1b2ce7,IImageIoService as _0x553cca}from'@univerjs/drawing';import{getGlobalObject as _0x4bd7c5}from'@univerjs-pro/license';const mn=_0x12ec3c(0x37d),gn='/universer-api/snapshot',Sn=_0x12ec3c(0x39f),Lr='SEND_CHANGESET_TIMEOUT',En=0x7d0,In=_0x12ec3c(0x42c),Tn='ws://127.0.0.1:8000/universer-api/comb/connect',xr=_0x12ec3c(0x176),Cn=_0x12ec3c(0x2ee),Rn=0x7530,mi=_0x12ec3c(0x2cf),gi=0x4e20,bn=0x4e20,yn=_0x12ec3c(0x3f9),On=0x3,Mr='LOCAL_CACHE_INTERVAL',kr=0x3e8,Nn='COLLAB_SUBMIT_CHANGESET_URL',Dn=_0x12ec3c(0x16b),Un=_0x12ec3c(0x1a7),An=_0x12ec3c(0x17c),$r='REMOTE_UNISCRIPT_EXECUTION_ENDPOINT',Hr=_0x12ec3c(0x191);var Si=(_0x3acff4=>(_0x3acff4[_0x3acff4[_0x12ec3c(0x43c)]=0x0]=_0x12ec3c(0x43c),_0x3acff4[_0x3acff4['OK']=0x1]='OK',_0x3acff4[_0x3acff4[_0x12ec3c(0x2c7)]=0x2]=_0x12ec3c(0x2c7),_0x3acff4[_0x3acff4[_0x12ec3c(0x43d)]=0x3]=_0x12ec3c(0x43d),_0x3acff4[_0x3acff4[_0x12ec3c(0x1b5)]=0x4]=_0x12ec3c(0x1b5),_0x3acff4[_0x3acff4[_0x12ec3c(0x20f)]=0x5]='UNAUTHENTICATED',_0x3acff4[_0x3acff4[_0x12ec3c(0x1d5)]=0x6]=_0x12ec3c(0x1d5),_0x3acff4[_0x3acff4['INVALID_ARGUMENT']=0x7]='INVALID_ARGUMENT',_0x3acff4[_0x3acff4[_0x12ec3c(0x389)]=0x8]=_0x12ec3c(0x389),_0x3acff4[_0x3acff4[_0x12ec3c(0x276)]=0x9]='COMPLETION_FINISHED',_0x3acff4[_0x3acff4[_0x12ec3c(0x34a)]=0xa]='LOGIN_FAILED',_0x3acff4[_0x3acff4[_0x12ec3c(0x283)]=0x1389]=_0x12ec3c(0x283),_0x3acff4[_0x3acff4[_0x12ec3c(0x377)]=0x1771]=_0x12ec3c(0x377),_0x3acff4[_0x3acff4[_0x12ec3c(0x1af)]=0x1772]=_0x12ec3c(0x1af),_0x3acff4[_0x3acff4['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x12ec3c(0x33b),_0x3acff4[_0x3acff4[_0x12ec3c(0x260)]=0x1b59]=_0x12ec3c(0x260),_0x3acff4[_0x3acff4[_0x12ec3c(0x39b)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x3acff4[_0x3acff4['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x12ec3c(0x301),_0x3acff4[_0x3acff4[_0x12ec3c(0x295)]=0x1b5c]=_0x12ec3c(0x295),_0x3acff4[_0x3acff4[_0x12ec3c(0x220)]=0x1b5d]=_0x12ec3c(0x220),_0x3acff4[_0x3acff4[_0x12ec3c(0x293)]=0x1f41]=_0x12ec3c(0x293),_0x3acff4[_0x3acff4[_0x12ec3c(0x1c2)]=0x2329]=_0x12ec3c(0x1c2),_0x3acff4[_0x3acff4[_0x12ec3c(0x259)]=0x232a]=_0x12ec3c(0x259),_0x3acff4[_0x3acff4[_0x12ec3c(0x357)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x3acff4[_0x3acff4[_0x12ec3c(0x31e)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x3acff4[_0x3acff4[_0x12ec3c(0x3bb)]=0x232d]=_0x12ec3c(0x3bb),_0x3acff4[_0x3acff4['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x12ec3c(0x32d),_0x3acff4[_0x3acff4[_0x12ec3c(0x161)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x3acff4[_0x3acff4[_0x12ec3c(0x3d0)]=0x2713]=_0x12ec3c(0x3d0),_0x3acff4[_0x3acff4[_0x12ec3c(0x24d)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x3acff4[_0x3acff4[_0x12ec3c(0x3bc)]=0x2af9]=_0x12ec3c(0x3bc),_0x3acff4[_0x3acff4[_0x12ec3c(0x224)]=0x2ee1]=_0x12ec3c(0x224),_0x3acff4[_0x3acff4['INVALID_INVITE_CODE']=0x2ee2]=_0x12ec3c(0x378),_0x3acff4[_0x3acff4['INVITE_CODE_REQUIRED']=0x2ee3]=_0x12ec3c(0x2fd),_0x3acff4[_0x3acff4['USER_NOT_INVITED_CODE']=0x2ee4]='USER_NOT_INVITED_CODE',_0x3acff4[_0x3acff4['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x12ec3c(0x26e),_0x3acff4[_0x3acff4[_0x12ec3c(0x2fe)]=0x32c9]=_0x12ec3c(0x2fe),_0x3acff4[_0x3acff4[_0x12ec3c(0x261)]=0x32ca]=_0x12ec3c(0x261),_0x3acff4[_0x3acff4[_0x12ec3c(0x3b5)]=0x32cb]=_0x12ec3c(0x3b5),_0x3acff4[_0x3acff4[_0x12ec3c(0x37c)]=-0x1]=_0x12ec3c(0x37c),_0x3acff4))(Si||{}),Q=(_0x2b1a84=>(_0x2b1a84[_0x2b1a84[_0x12ec3c(0x2c9)]=0x0]='UNIVER_UNKNOWN',_0x2b1a84[_0x2b1a84['UNIVER_DOC']=0x1]=_0x12ec3c(0x374),_0x2b1a84[_0x2b1a84[_0x12ec3c(0x397)]=0x2]=_0x12ec3c(0x397),_0x2b1a84[_0x2b1a84[_0x12ec3c(0x1f4)]=0x3]=_0x12ec3c(0x1f4),_0x2b1a84[_0x2b1a84['UNIVER_PROJECT']=0x4]=_0x12ec3c(0x165),_0x2b1a84[_0x2b1a84[_0x12ec3c(0x37c)]=-0x1]=_0x12ec3c(0x37c),_0x2b1a84))(Q||{}),F=(_0xd180f5=>(_0xd180f5[_0xd180f5[_0x12ec3c(0x287)]=0x0]=_0x12ec3c(0x287),_0xd180f5[_0xd180f5[_0x12ec3c(0x1e7)]=0x1]=_0x12ec3c(0x1e7),_0xd180f5[_0xd180f5[_0x12ec3c(0x2fa)]=0x2]=_0x12ec3c(0x2fa),_0xd180f5[_0xd180f5[_0x12ec3c(0x23f)]=0x3]='LEAVE',_0xd180f5[_0xd180f5['INGEST']=0x4]=_0x12ec3c(0x35f),_0xd180f5[_0xd180f5[_0x12ec3c(0x253)]=0x5]='HEARTBEAT',_0xd180f5[_0xd180f5[_0x12ec3c(0x2f4)]=0x6]=_0x12ec3c(0x2f4),_0xd180f5[_0xd180f5['UNRECOGNIZED']=-0x1]=_0x12ec3c(0x37c),_0xd180f5))(F||{}),ge=(_0x5d84c4=>(_0x5d84c4[_0x5d84c4[_0x12ec3c(0x410)]=0x0]=_0x12ec3c(0x410),_0x5d84c4[_0x5d84c4['OK']=0x1]='OK',_0x5d84c4[_0x5d84c4[_0x12ec3c(0x285)]=0x2]=_0x12ec3c(0x285),_0x5d84c4[_0x5d84c4[_0x12ec3c(0x23b)]=0x3e9]=_0x12ec3c(0x23b),_0x5d84c4[_0x5d84c4[_0x12ec3c(0x379)]=0x3ea]=_0x12ec3c(0x379),_0x5d84c4[_0x5d84c4['JOIN_ROOM_PERMISSION_DENIED']=0x3eb]=_0x12ec3c(0x308),_0x5d84c4[_0x5d84c4['GLOBAL_ROOMS_CNT_EXCEEDS']=0x3ec]='GLOBAL_ROOMS_CNT_EXCEEDS',_0x5d84c4[_0x5d84c4[_0x12ec3c(0x37c)]=-0x1]=_0x12ec3c(0x37c),_0x5d84c4))(ge||{}),Ei=(_0x4ff3af=>(_0x4ff3af[_0x4ff3af[_0x12ec3c(0x1bc)]=0x0]=_0x12ec3c(0x1bc),_0x4ff3af[_0x4ff3af[_0x12ec3c(0x1b8)]=0x1]=_0x12ec3c(0x1b8),_0x4ff3af[_0x4ff3af[_0x12ec3c(0x274)]=0x2]=_0x12ec3c(0x274),_0x4ff3af[_0x4ff3af[_0x12ec3c(0x200)]=0x3]='UnitEmbedded',_0x4ff3af[_0x4ff3af[_0x12ec3c(0x211)]=0x4]=_0x12ec3c(0x211),_0x4ff3af[_0x4ff3af['UserProfileImg']=0x5]=_0x12ec3c(0x39c),_0x4ff3af[_0x4ff3af[_0x12ec3c(0x37c)]=-0x1]='UNRECOGNIZED',_0x4ff3af))(Ei||{});const q=_0x12ec3c(0x311),wn={};var re=(_0xa37066=>(_0xa37066[_0x12ec3c(0x222)]=_0x12ec3c(0x222),_0xa37066[_0x12ec3c(0x43d)]=_0x12ec3c(0x43d),_0xa37066['CONFLICT']=_0x12ec3c(0x2b3),_0xa37066[_0x12ec3c(0x3c9)]=_0x12ec3c(0x3c9),_0xa37066[_0x12ec3c(0x3e6)]='JOIN_ROOM_FAILED',_0xa37066['SOCKET_FAILED_RETRY']='SOCKET_FAILED_RETRY',_0xa37066[_0x12ec3c(0x332)]=_0x12ec3c(0x332),_0xa37066[_0x12ec3c(0x30e)]=_0x12ec3c(0x30e),_0xa37066))(re||{});class pe{constructor(){var _0x549d74=_0x12ec3c;N(this,_0x549d74(0x369),new _0x238823()),N(this,_0x549d74(0x360),this[_0x549d74(0x369)]['asObservable']());}[_0x12ec3c(0x2ea)](_0xdcf77c){var _0xb433a5=_0x12ec3c;this[_0xb433a5(0x369)]['next'](_0xdcf77c);}}const Pn=_0x473f8f(_0x12ec3c(0x364));function Ln(_0x22390b){var _0x2627a4=_0x12ec3c,_0x24bbd9,_0xedebbf,_0x2428b9,_0x19c0e9,_0x43dc71;const _0x57f0af=_0x22390b[_0x2627a4(0x25e)],_0xc7aacc=JSON['parse'](_0x57f0af);switch(_0xc7aacc[_0x2627a4(0x1aa)]){case F[_0x2627a4(0x253)]:case F['HELLO']:{const _0x50745a=_0xc7aacc[_0x2627a4(0x325)];return{..._0xc7aacc,'data':_0x50745a,'cmd':_0xc7aacc[_0x2627a4(0x1aa)]};}case F[_0x2627a4(0x2fa)]:{const _0x442cae=_0xc7aacc['joinRsp'];return{..._0xc7aacc,'data':_0x442cae,'cmd':_0xc7aacc['cmd']};}case F[_0x2627a4(0x2f4)]:{const _0x317c2e=_0xc7aacc['collaMsg'];switch(_0x317c2e[_0x2627a4(0x244)]){case _0x3cdc31[_0x2627a4(0x1d7)]:return{..._0xc7aacc,'data':{..._0x317c2e,'data':(_0x24bbd9=_0x317c2e[_0x2627a4(0x2a0)])==null?void 0x0:_0x24bbd9['cs']},'cmd':_0xc7aacc[_0x2627a4(0x1aa)]};case _0x3cdc31[_0x2627a4(0x22b)]:return{..._0xc7aacc,'data':{..._0x317c2e,'data':(_0xedebbf=_0x317c2e[_0x2627a4(0x384)])==null?void 0x0:_0xedebbf['cs']},'cmd':_0xc7aacc[_0x2627a4(0x1aa)]};case _0x3cdc31[_0x2627a4(0x15d)]:return{..._0xc7aacc,'data':{..._0x317c2e,'data':(_0x2428b9=_0x317c2e['newCsEvent'])==null?void 0x0:_0x2428b9['cs']},'cmd':_0xc7aacc['cmd']};case _0x3cdc31[_0x2627a4(0x409)]:return{..._0xc7aacc,'data':{..._0x317c2e,'data':(_0x19c0e9=_0x317c2e[_0x2627a4(0x18a)])==null?void 0x0:_0x19c0e9['cs']},'cmd':_0xc7aacc[_0x2627a4(0x1aa)]};case _0x3cdc31['CHANGESET_SHOULD_RETRY']:return{..._0xc7aacc,'data':{..._0x317c2e,'data':(_0x43dc71=_0x317c2e[_0x2627a4(0x402)])==null?void 0x0:_0x43dc71['cs']},'cmd':_0xc7aacc[_0x2627a4(0x1aa)]};case _0x3cdc31[_0x2627a4(0x229)]:return{..._0xc7aacc,'data':{..._0x317c2e,'data':_0x317c2e[_0x2627a4(0x2f2)]},'cmd':_0xc7aacc[_0x2627a4(0x1aa)]};case _0x3cdc31[_0x2627a4(0x2b7)]:return{..._0xc7aacc,'data':{..._0x317c2e,'data':_0x317c2e[_0x2627a4(0x20c)]},'cmd':_0xc7aacc['cmd']};case _0x3cdc31[_0x2627a4(0x430)]:return{..._0xc7aacc,'data':{..._0x317c2e,'data':_0x317c2e[_0x2627a4(0x19b)]},'cmd':_0xc7aacc['cmd']};case _0x3cdc31['LIVESHARE_NEW_HOST']:return{..._0xc7aacc,'data':{..._0x317c2e,'data':_0x317c2e[_0x2627a4(0x366)]},'cmd':_0xc7aacc[_0x2627a4(0x1aa)]};case _0x3cdc31[_0x2627a4(0x388)]:case _0x3cdc31[_0x2627a4(0x3d1)]:return{..._0xc7aacc,'data':{..._0x317c2e,'data':_0x317c2e['liveShareOperation']},'cmd':_0xc7aacc[_0x2627a4(0x1aa)]};case _0x3cdc31[_0x2627a4(0x34c)]:return{..._0xc7aacc,'data':{..._0x317c2e,'data':_0x317c2e[_0x2627a4(0x366)]},'cmd':_0xc7aacc[_0x2627a4(0x1aa)]};case _0x3cdc31['MSG_FOR_ERROR']:return{..._0xc7aacc,'data':_0x317c2e,'cmd':_0xc7aacc['cmd']};case _0x3cdc31['COMMENT_UPDATE']:return{..._0xc7aacc,'data':{..._0x317c2e,'data':_0x317c2e[_0x2627a4(0x1bd)]},'cmd':_0xc7aacc[_0x2627a4(0x1aa)]};case _0x3cdc31['UPDATE_PERMISSION_OBJ']:return{..._0xc7aacc,'data':{..._0x317c2e,'data':_0x317c2e[_0x2627a4(0x1b9)]},'cmd':_0xc7aacc['cmd']};case _0x3cdc31['SHOULD_CLOSE_CONN']:return{..._0xc7aacc,'data':{..._0x317c2e,'data':_0x317c2e[_0x2627a4(0x442)]},'cmd':_0xc7aacc[_0x2627a4(0x1aa)]};case _0x3cdc31[_0x2627a4(0x1f1)]:return{..._0xc7aacc,'data':{..._0x317c2e,'data':_0x317c2e[_0x2627a4(0x335)]},'cmd':_0xc7aacc[_0x2627a4(0x1aa)]};default:return _0xc7aacc;}}default:return _0xc7aacc;}}function xn(_0x5cb045){var _0x45f65a=_0x12ec3c;switch(_0x5cb045[_0x45f65a(0x1aa)]){case F['HEARTBEAT']:case F[_0x45f65a(0x1e7)]:return JSON[_0x45f65a(0x32c)]({'cmd':_0x5cb045[_0x45f65a(0x1aa)],'routeKey':_0x5cb045[_0x45f65a(0x35c)]});case F['INGEST']:{let _0x54d302;switch(_0x5cb045[_0x45f65a(0x25e)][_0x45f65a(0x244)]){case _0x3cdc31[_0x45f65a(0x229)]:{_0x54d302={'eventID':_0x3cdc31[_0x45f65a(0x229)],'updateCursorEvent':_0x5cb045[_0x45f65a(0x25e)][_0x45f65a(0x25e)]};break;}case _0x3cdc31['USERS_LEAVE']:{_0x54d302={'eventID':_0x3cdc31[_0x45f65a(0x430)],'leaveEvent':_0x5cb045[_0x45f65a(0x25e)][_0x45f65a(0x25e)]};break;}case _0x3cdc31[_0x45f65a(0x2b7)]:{_0x54d302={'eventID':_0x3cdc31[_0x45f65a(0x2b7)],'joinEvent':_0x5cb045[_0x45f65a(0x25e)][_0x45f65a(0x25e)]};break;}case _0x3cdc31[_0x45f65a(0x317)]:{_0x54d302={'eventID':_0x3cdc31[_0x45f65a(0x317)],'liveShareNewHost':_0x5cb045[_0x45f65a(0x25e)][_0x45f65a(0x25e)]};break;}case _0x3cdc31[_0x45f65a(0x3d1)]:{_0x54d302={'eventID':_0x3cdc31[_0x45f65a(0x3d1)],'liveShareOperation':_0x5cb045['data'][_0x45f65a(0x25e)]};break;}case _0x3cdc31[_0x45f65a(0x34c)]:{_0x54d302={'eventID':_0x3cdc31[_0x45f65a(0x34c)],'liveShareTerminate':_0x5cb045[_0x45f65a(0x25e)][_0x45f65a(0x25e)]};break;}case _0x3cdc31[_0x45f65a(0x445)]:{_0x54d302={'eventID':_0x3cdc31['LIVESHARE_REQUEST_HOST'],'liveShareRequestHost':_0x5cb045[_0x45f65a(0x25e)][_0x45f65a(0x25e)]};break;}case _0x3cdc31[_0x45f65a(0x388)]:{_0x54d302={'eventID':_0x3cdc31[_0x45f65a(0x388)]};break;}default:_0x54d302={'eventID':_0x5cb045[_0x45f65a(0x25e)][_0x45f65a(0x244)]};}return JSON[_0x45f65a(0x32c)]({'cmd':_0x5cb045[_0x45f65a(0x1aa)],'routeKey':_0x5cb045[_0x45f65a(0x35c)],'collaMsg':_0x54d302});}case F[_0x45f65a(0x2fa)]:return JSON[_0x45f65a(0x32c)]({'cmd':_0x5cb045[_0x45f65a(0x1aa)],'routeKey':_0x5cb045[_0x45f65a(0x35c)],'joinReq':_0x5cb045['data']});case F[_0x45f65a(0x23f)]:return JSON['stringify']({'cmd':_0x5cb045['cmd'],'routeKey':_0x5cb045[_0x45f65a(0x35c)],'leaveReq':_0x5cb045[_0x45f65a(0x25e)]});default:throw new Error(_0x45f65a(0x25b));}}var Mn=Object[_0x12ec3c(0x1d4)],kn=(_0x594b62,_0x420442,_0x1646d0,_0x1e63a6)=>{var _0x4a1465=_0x12ec3c;for(var _0x4ebe08=_0x1e63a6>0x1?void 0x0:_0x1e63a6?Mn(_0x420442,_0x1646d0):_0x420442,_0x9b65bb=_0x594b62[_0x4a1465(0x3e1)]-0x1,_0x31478e;_0x9b65bb>=0x0;_0x9b65bb--)(_0x31478e=_0x594b62[_0x9b65bb])&&(_0x4ebe08=_0x31478e(_0x4ebe08)||_0x4ebe08);return _0x4ebe08;},Ae=(_0x591020,_0x5d1029)=>(_0x2ed5c9,_0x3417a6)=>_0x5d1029(_0x2ed5c9,_0x3417a6,_0x591020);const Ii=_0x473f8f('univer-pro.collaboration-client-socket-service');function $n(_0x5c7079,_0x28b1c5,_0x42e163){var _0x12f0ed=_0x12ec3c;return _0x5c7079+'/'+_0x28b1c5+_0x12f0ed(0x187)+_0x42e163+_0x12f0ed(0x42a);}let Gt=class extends _0x3ba9b8{constructor(_0x158123,_0x2d4e45,_0xac5079,_0x462043,_0xaf6475){var _0x191a93=_0x12ec3c;super(),this['_injector']=_0x158123,this[_0x191a93(0x303)]=_0x2d4e45,this['_configService']=_0xac5079,this['_logService']=_0x462043,this['_snapshotServerService']=_0xaf6475;}[_0x12ec3c(0x18d)](_0x2d4ec9){var _0x3ec56b=_0x12ec3c;const _0x180da5=this['_injector'][_0x3ec56b(0x2e0)](_0x16850a);if(!_0x180da5)throw new Error(_0x3ec56b(0x3fc));const _0x4e986c=_0x180da5[_0x3ec56b(0x153)](_0x2d4ec9);if(!_0x4e986c)throw new Error(_0x3ec56b(0x258));const _0x505d99=new _0x4849b6(),_0x387018=new _0x238823();_0x505d99[_0x3ec56b(0x446)](_0x4e986c[_0x3ec56b(0x24f)][_0x3ec56b(0x209)](_0x1d8068=>_0x387018[_0x3ec56b(0x1fa)](_0x1d8068))),_0x505d99[_0x3ec56b(0x446)](_0x5d5085(()=>_0x387018['complete']()));const _0xab2ad2=new _0x238823();_0x505d99[_0x3ec56b(0x446)](_0x4e986c[_0x3ec56b(0x318)][_0x3ec56b(0x209)](_0x2053d6=>_0xab2ad2['next'](_0x2053d6))),_0x505d99[_0x3ec56b(0x446)](_0x5d5085(()=>_0xab2ad2[_0x3ec56b(0x188)]()));const _0x25674c=new _0x238823();_0x505d99['add'](_0x4e986c['message$'][_0x3ec56b(0x209)](_0x5c0ca2=>{const _0x5b9590=Ln(_0x5c0ca2);_0x25674c['next'](_0x5b9590);})),_0x505d99['add'](_0x5d5085(()=>_0x25674c[_0x3ec56b(0x188)]()));let _0x208001;const _0x6bab2e=()=>{var _0x1989fd=_0x3ec56b;_0xab2ad2[_0x1989fd(0x1fa)](new Event(_0x1989fd(0x221))),_0x387018[_0x1989fd(0x1fa)](new Event(_0x1989fd(0x221))),_0x208001[_0x1989fd(0x1dd)]();};return _0x208001={'memberID':'','close$':_0x387018[_0x3ec56b(0x3e5)](),'error$':_0xab2ad2[_0x3ec56b(0x3e5)](),'open$':_0x4e986c[_0x3ec56b(0x1c0)],'message$':_0x25674c[_0x3ec56b(0x3e5)](),'send':_0xe13ea7=>{var _0x4a2174=_0x3ec56b;if(_0xe13ea7[_0x4a2174(0x1aa)]===F[_0x4a2174(0x35f)]){if(_0xe13ea7[_0x4a2174(0x25e)][_0x4a2174(0x244)]===_0x3cdc31['SUBMIT_CHANGESET']){this[_0x4a2174(0x3c1)](_0x208001,_0xe13ea7[_0x4a2174(0x25e)])[_0x4a2174(0x1b6)](_0x3db6c9=>{var _0xc4777d=_0x4a2174;this[_0xc4777d(0x218)][_0xc4777d(0x1e8)](_0x3db6c9),_0x6bab2e();});return;}if(_0xe13ea7[_0x4a2174(0x25e)]['eventID']===_0x3cdc31[_0x4a2174(0x3a7)]){const _0x5f1ebd=_0xe13ea7[_0x4a2174(0x25e)];this[_0x4a2174(0x184)](_0x5f1ebd)[_0x4a2174(0x247)](_0x50a0d1=>{var _0x1dffc4=_0x4a2174;_0x25674c['next']({'cmd':F[_0x1dffc4(0x2f4)],'code':ge['OK'],'routeKey':_0x5f1ebd[_0x1dffc4(0x25e)][_0x1dffc4(0x214)],'routeType':'','data':{'eventID':_0x3cdc31['PSEUDO_FETCH_MISSING_RESULT'],'data':{'changesets':_0x50a0d1}}});})[_0x4a2174(0x1b6)](_0x2ede30=>{var _0xcb022=_0x4a2174;this[_0xcb022(0x218)]['error'](_0x2ede30),_0x6bab2e();});return;}}_0x4e986c['send'](xn(_0xe13ea7));},'close':()=>{var _0x613476=_0x3ec56b;_0x4e986c[_0x613476(0x1dd)](),_0x505d99['dispose']();}},_0x208001;}async[_0x12ec3c(0x3c1)](_0x23cf2e,_0x3155fe){var _0x57fd81=_0x12ec3c,_0x1fb47f,_0x2d6d87;const {unitType:_0x197a53,unitID:_0x4c1b06,changeset:_0x4d2a6a}=_0x3155fe['data'],_0x4a13a1={'unitID':_0x4c1b06,'memberID':_0x23cf2e[_0x57fd81(0x3bf)],'type':_0x197a53,'changeset':_0x40021a(_0x4d2a6a)},_0x26d35b=this[_0x57fd81(0x2bf)]['getConfig'](Nn),_0x3cdd29=this['_configService']['getConfig'](q),_0x5c0c61=$n((_0x2d6d87=(_0x1fb47f=_0x3cdd29==null?void 0x0:_0x3cdd29[_0x57fd81(0x1f7)])!=null?_0x1fb47f:_0x26d35b)!=null?_0x2d6d87:Dn,_0x197a53,_0x4c1b06);try{await this['_httpService'][_0x57fd81(0x3fd)](_0x5c0c61,{'body':_0x4a13a1});}catch(_0x427a57){throw this[_0x57fd81(0x218)][_0x57fd81(0x1e8)]('[CollaborationSession]','submit\x20changeset\x20error!'),_0x427a57;}}async[_0x12ec3c(0x184)](_0x510f01){var _0x104e97=_0x12ec3c;const {unitID:_0x24300c,from:_0x2ef06a,to:_0x178f9d,unitType:_0x6e9b97}=_0x510f01[_0x104e97(0x25e)];return(await this[_0x104e97(0x2d6)]['fetchMissingChangesets']({'metadata':void 0x0},{'unitID':_0x24300c,'type':_0x6e9b97,'from':_0x2ef06a,'to':_0x178f9d}))[_0x104e97(0x396)];}};Gt=kn([Ae(0x0,_0xcdde00(_0x3ac3e0)),Ae(0x1,_0xcdde00(_0x4d96c8)),Ae(0x2,_0x1a732b),Ae(0x3,_0x4c4c08),Ae(0x4,_0x25633b)],Gt);const Hn='collaboration_new_changeset';function Bn(_0x40a7db){var _0x177fa6=_0x12ec3c;return JSON[_0x177fa6(0x32c)](_0x40a7db)[_0x177fa6(0x3e1)];}class Ti{constructor(){var _0x25c469=_0x12ec3c;N(this,'_commentUpdate$',new _0x238823()),N(this,_0x25c469(0x2e1),this[_0x25c469(0x3ce)][_0x25c469(0x3e5)]());}[_0x12ec3c(0x1e5)](_0x5bae51){this['_commentUpdate$']['next'](_0x5bae51);}}var jn=Object[_0x12ec3c(0x1d4)],Fn=(_0x3051f3,_0x58c11a,_0x2c6d84,_0x482a9e)=>{var _0x417d0b=_0x12ec3c;for(var _0x36fc8c=_0x482a9e>0x1?void 0x0:_0x482a9e?jn(_0x58c11a,_0x2c6d84):_0x58c11a,_0x298cb7=_0x3051f3[_0x417d0b(0x3e1)]-0x1,_0x1e4b1b;_0x298cb7>=0x0;_0x298cb7--)(_0x1e4b1b=_0x3051f3[_0x298cb7])&&(_0x36fc8c=_0x1e4b1b(_0x36fc8c)||_0x36fc8c);return _0x36fc8c;},Wt=(_0x12f3c3,_0x157fc7)=>(_0x5df3e3,_0x5064c0)=>_0x157fc7(_0x5df3e3,_0x5064c0,_0x12f3c3);let Le=class extends _0x3ba9b8{constructor(_0x3e1268,_0x35192c){var _0xbd7208=_0x12ec3c;super(),N(this,_0xbd7208(0x386),new Map()),N(this,_0xbd7208(0x22f),new _0x238823()),(this[_0xbd7208(0x248)]=_0x3e1268,this['_userManagerService']=_0x35192c,this['disposeWithMe'](_0x1c8303(this[_0xbd7208(0x248)]['getTypeOfUnitDisposed$'](_0xa8cbc9['UNIVER_SHEET'])[_0xbd7208(0x275)](_0x378e98(_0x4b65ce=>_0x4b65ce['getUnitId']())),this[_0xbd7208(0x248)]['getTypeOfUnitDisposed$'](_0xa8cbc9['UNIVER_DOC'])[_0xbd7208(0x275)](_0x378e98(_0x4e9dca=>_0x4e9dca[_0xbd7208(0x3f7)]())),this[_0xbd7208(0x248)]['getTypeOfUnitDisposed$'](_0xa8cbc9[_0xbd7208(0x1f4)])[_0xbd7208(0x275)](_0x378e98(_0x4fa2c4=>_0x4fa2c4[_0xbd7208(0x3f7)]())))[_0xbd7208(0x209)](_0x350c4d=>this['_removeRoom'](_0x350c4d))));}[_0x12ec3c(0x392)](_0x4719a9){var _0x4626c2=_0x12ec3c;return this[_0x4626c2(0x386)][_0x4626c2(0x2ec)](_0x4719a9)?_0x5aa6f4(this['_roomMembers'][_0x4626c2(0x2e0)](_0x4719a9)):this[_0x4626c2(0x22f)]['pipe'](_0x378e98(_0x7a7ff3=>{var _0x5f26c0=_0x4626c2;if(_0x7a7ff3===_0x4719a9)return this['_roomMembers'][_0x5f26c0(0x2e0)](_0x7a7ff3);}));}[_0x12ec3c(0x27b)](_0x25073b){var _0x22a067=_0x12ec3c;this[_0x22a067(0x326)][_0x22a067(0x27b)](_0x25073b);}[_0x12ec3c(0x215)](){var _0x265a32=_0x12ec3c;return this[_0x265a32(0x326)]['getCurrentUser']();}[_0x12ec3c(0x1ad)](_0x1da801,_0x4810fa){var _0x5e064b=_0x12ec3c;let _0x353f5f=this[_0x5e064b(0x386)][_0x5e064b(0x2e0)](_0x1da801);_0x353f5f||(_0x353f5f=new Vn(),this[_0x5e064b(0x386)][_0x5e064b(0x2f7)](_0x1da801,_0x353f5f),this[_0x5e064b(0x22f)]['next'](_0x1da801)),_0x353f5f[_0x5e064b(0x1ad)](_0x4810fa);}['removeMember'](_0x220430,_0x17ea67){var _0x20a709=_0x12ec3c;const _0x207609=this[_0x20a709(0x386)][_0x20a709(0x2e0)](_0x220430);_0x207609&&_0x207609[_0x20a709(0x256)](_0x17ea67);}[_0x12ec3c(0x44d)](_0x2c4757){var _0x355e3e=_0x12ec3c;return this[_0x355e3e(0x386)][_0x355e3e(0x2e0)](_0x2c4757);}[_0x12ec3c(0x2cb)](_0x352902,_0x10a07c){var _0x4e1703=_0x12ec3c;const _0x720d3e=this[_0x4e1703(0x386)][_0x4e1703(0x2e0)](_0x352902);if(_0x720d3e)return _0x720d3e[_0x4e1703(0x2cb)](_0x10a07c);}['_removeRoom'](_0x51bcaf){var _0x2295ca=_0x12ec3c;const _0x45982c=this[_0x2295ca(0x386)][_0x2295ca(0x2e0)](_0x51bcaf);_0x45982c&&(_0x45982c[_0x2295ca(0x202)](),this[_0x2295ca(0x386)][_0x2295ca(0x194)](_0x51bcaf));}[_0x12ec3c(0x202)](){var _0x178750=_0x12ec3c;this[_0x178750(0x386)]['forEach'](_0x1caa8=>_0x1caa8[_0x178750(0x202)]()),this[_0x178750(0x386)][_0x178750(0x24e)](),this['_roomCreated$'][_0x178750(0x188)]();}};Le=Fn([Wt(0x0,_0x72f3ae),Wt(0x1,_0xcdde00(_0x9e4b2))],Le);class Vn extends _0x3ba9b8{constructor(){var _0xd97b2b=_0x12ec3c;super(...arguments),N(this,_0xd97b2b(0x376),new Map()),N(this,_0xd97b2b(0x20e),new _0x3eca50(this['_members'])),N(this,_0xd97b2b(0x2dd),this[_0xd97b2b(0x20e)]['asObservable']());}['dispose'](){var _0x515a70=_0x12ec3c;this[_0x515a70(0x376)]['clear']();}[_0x12ec3c(0x1ad)](_0x10f142){var _0x36a16e=_0x12ec3c;this[_0x36a16e(0x376)][_0x36a16e(0x2f7)](_0x10f142[_0x36a16e(0x3bf)],_0x10f142),this[_0x36a16e(0x167)]();}[_0x12ec3c(0x256)](_0x30b774){var _0x2d2df0=_0x12ec3c;this[_0x2d2df0(0x376)][_0x2d2df0(0x194)](_0x30b774);}['getMember'](_0x3e3932){var _0x322a1d=_0x12ec3c;return this[_0x322a1d(0x376)][_0x322a1d(0x2e0)](_0x3e3932);}[_0x12ec3c(0x1a3)](){var _0x2e0479=_0x12ec3c;return Array[_0x2e0479(0x3b6)](this['_members'][_0x2e0479(0x367)]());}[_0x12ec3c(0x167)](){var _0x55589b=_0x12ec3c;this['_members$'][_0x55589b(0x1fa)](this['_members']);}}var Gn=Object[_0x12ec3c(0x1d4)],Wn=(_0x16f962,_0x2fae7a,_0x3232fe,_0x10ae70)=>{for(var _0x2a01b3=_0x10ae70>0x1?void 0x0:_0x10ae70?Gn(_0x2fae7a,_0x3232fe):_0x2fae7a,_0x5df4b1=_0x16f962['length']-0x1,_0x43af66;_0x5df4b1>=0x0;_0x5df4b1--)(_0x43af66=_0x16f962[_0x5df4b1])&&(_0x2a01b3=_0x43af66(_0x2a01b3)||_0x2a01b3);return _0x2a01b3;},me=(_0x580e75,_0x4335e9)=>(_0x561a91,_0x5877d7)=>_0x4335e9(_0x561a91,_0x5877d7,_0x580e75),Ee=(_0x80a734=>(_0x80a734[_0x80a734[_0x12ec3c(0x1f5)]=0x0]=_0x12ec3c(0x1f5),_0x80a734[_0x80a734[_0x12ec3c(0x204)]=0x1]=_0x12ec3c(0x204),_0x80a734[_0x80a734[_0x12ec3c(0x2a1)]=0x2]=_0x12ec3c(0x2a1),_0x80a734[_0x80a734[_0x12ec3c(0x38f)]=0x3]=_0x12ec3c(0x38f),_0x80a734))(Ee||{});const Kt={[ge[_0x12ec3c(0x285)]]:_0x12ec3c(0x232),[ge[_0x12ec3c(0x23b)]]:_0x12ec3c(0x241),[ge['JOIN_ROOM_NOT_EXISTS']]:'session.room-not-exists',[ge[_0x12ec3c(0x308)]]:_0x12ec3c(0x302),[ge[_0x12ec3c(0x329)]]:_0x12ec3c(0x21e)};let Et=class extends _0x221eab{constructor(_0x5df7a9,_0x5a4f56,_0x19e552,_0x4f68e3,_0x504e55,_0x89597,_0x24209a,_0x2acaf6,_0x4717bd){var _0x30402a=_0x12ec3c;super(),N(this,'_sessionStatus$',new _0x3eca50(0x0)),N(this,'sessionStatus$',this[_0x30402a(0x3ef)][_0x30402a(0x3e5)]()),N(this,_0x30402a(0x369),new _0x238823()),N(this,_0x30402a(0x360),this[_0x30402a(0x369)][_0x30402a(0x3e5)]()),N(this,_0x30402a(0x1d1)),N(this,_0x30402a(0x155)),N(this,_0x30402a(0x3d6)),N(this,_0x30402a(0x226),!0x1),N(this,_0x30402a(0x1f2),null),(this[_0x30402a(0x3fa)]=_0x5df7a9,this[_0x30402a(0x218)]=_0x19e552,this['_configService']=_0x4f68e3,this[_0x30402a(0x269)]=_0x504e55,this[_0x30402a(0x37f)]=_0x89597,this[_0x30402a(0x3cf)]=_0x24209a,this[_0x30402a(0x355)]=_0x2acaf6,this[_0x30402a(0x41b)]=_0x4717bd,this['_shouldReportTelemetry']=!!this[_0x30402a(0x41b)],_0x5a4f56[_0x30402a(0x275)](_0x993a0b(this[_0x30402a(0x41e)]))[_0x30402a(0x209)](_0x32522f=>{var _0x48e608=_0x30402a,_0x35c619;typeof _0x32522f>'u'||(this[_0x48e608(0x1d1)]=_0x32522f,_0x32522f?(this[_0x48e608(0x29b)](_0x32522f),this[_0x48e608(0x155)]=_0x32522f[_0x48e608(0x44e)][_0x48e608(0x209)](_0x2c75ff=>{var _0x3dd5d5=_0x48e608;_0x2c75ff['routeKey']===this[_0x3dd5d5(0x3fa)]&&this[_0x3dd5d5(0x158)](_0x2c75ff);})):(this['_throwTelemetryCollaborationNewChangeset'](),this[_0x48e608(0x3ef)][_0x48e608(0x1fa)](0x2),(_0x35c619=this[_0x48e608(0x155)])==null||_0x35c619[_0x48e608(0x1de)](),this[_0x48e608(0x155)]=null));}));}get[_0x12ec3c(0x270)](){var _0x19735e=_0x12ec3c;return this[_0x19735e(0x3ef)][_0x19735e(0x40a)]();}[_0x12ec3c(0x38a)](){var _0x4e6abf=_0x12ec3c,_0x39d434,_0x12ad4c;return(_0x12ad4c=(_0x39d434=this['_socket'])==null?void 0x0:_0x39d434[_0x4e6abf(0x3bf)])!=null?_0x12ad4c:null;}[_0x12ec3c(0x202)](){var _0x4ce814=_0x12ec3c;super[_0x4ce814(0x202)](),this['dispose$']['next'](),this[_0x4ce814(0x41e)][_0x4ce814(0x188)]();}[_0x12ec3c(0x1dd)](){var _0x18e67a=_0x12ec3c,_0x156ab0,_0x32e1dd;this[_0x18e67a(0x371)](),(_0x156ab0=this[_0x18e67a(0x1d1)])==null||_0x156ab0[_0x18e67a(0x1b4)]({'cmd':F['LEAVE'],'data':{'roomID':this['_unitID']}}),(_0x32e1dd=this[_0x18e67a(0x1d1)])==null||_0x32e1dd[_0x18e67a(0x1dd)](),this[_0x18e67a(0x369)][_0x18e67a(0x188)](),this[_0x18e67a(0x3ef)]['complete'](),this[_0x18e67a(0x202)]();}[_0x12ec3c(0x158)](_0x3848ac){var _0x3381cc=_0x12ec3c;_0x3848ac[_0x3381cc(0x1aa)]===F[_0x3381cc(0x2fa)]?this[_0x3381cc(0x2bc)](_0x3848ac):_0x3848ac[_0x3381cc(0x1aa)]===F[_0x3381cc(0x2f4)]&&this['_onRecvEvent'](_0x3848ac);}[_0x12ec3c(0x29b)](_0x6f166d){var _0x5158fc=_0x12ec3c;this[_0x5158fc(0x3ef)]['next'](0x1),_0x6f166d[_0x5158fc(0x1b4)]({'cmd':F[_0x5158fc(0x2fa)],'routeKey':this[_0x5158fc(0x3fa)],'routeType':'','data':{'rooms':[{'roomID':this[_0x5158fc(0x3fa)]}]}});}['_onJoinRoomEvent'](_0x38872c){var _0x34c361=_0x12ec3c,_0x5e4b86;if(_0x38872c[_0x34c361(0x268)]in Kt){this[_0x34c361(0x355)][_0x34c361(0x2ea)]({'id':re['JOIN_ROOM_FAILED'],'data':Kt[_0x38872c[_0x34c361(0x268)]]}),this['_sessionStatus$'][_0x34c361(0x1fa)](0x2);return;}this['_sessionStatus$']['next'](0x3);const _0x57a7fe=(_0x5e4b86=_0x38872c[_0x34c361(0x25e)][_0x34c361(0x42b)][this[_0x34c361(0x3fa)]])==null?void 0x0:_0x5e4b86[_0x34c361(0x3c2)];_0x57a7fe&&_0x57a7fe[_0x34c361(0x3eb)](_0xe3d11=>this['_memberService']['updateMember'](this['_unitID'],_0xe3d11));}[_0x12ec3c(0x3a1)](_0x42ea0c){var _0x178d9f=_0x12ec3c;try{const _0x4bd868=_0x42ea0c[_0x178d9f(0x25e)];switch(_0x4bd868[_0x178d9f(0x244)]){case _0x3cdc31[_0x178d9f(0x2b7)]:this['_onUserJoin'](_0x4bd868),this[_0x178d9f(0x369)][_0x178d9f(0x1fa)](_0x4bd868);break;case _0x3cdc31[_0x178d9f(0x430)]:this[_0x178d9f(0x33f)](_0x4bd868),this[_0x178d9f(0x369)]['next'](_0x4bd868);break;case _0x3cdc31['CHANGESET_ACK']:case _0x3cdc31[_0x178d9f(0x3ee)]:this[_0x178d9f(0x3ff)](),this[_0x178d9f(0x2f9)](),this[_0x178d9f(0x369)]['next'](_0x4bd868);break;case _0x3cdc31[_0x178d9f(0x3fe)]:this[_0x178d9f(0x218)][_0x178d9f(0x1e8)]('save\x20fail\x20reason\x20is\x20'+JSON[_0x178d9f(0x32c)](_0x4bd868)),this[_0x178d9f(0x369)][_0x178d9f(0x1fa)](_0x4bd868);break;case _0x3cdc31['COMMENT_UPDATE']:this['_commentService'][_0x178d9f(0x1e5)](_0x4bd868[_0x178d9f(0x25e)]),this['_event$'][_0x178d9f(0x1fa)](_0x4bd868);break;default:this['_event$']['next'](_0x4bd868);}}catch(_0x3e5c10){this['_logService'][_0x178d9f(0x1e8)](_0x3e5c10,_0x42ea0c);}}['_onUserJoin'](_0x4ca6b6){var _0x29fae2=_0x12ec3c;this[_0x29fae2(0x37f)][_0x29fae2(0x1ad)](this[_0x29fae2(0x3fa)],_0x4ca6b6[_0x29fae2(0x25e)]);}[_0x12ec3c(0x33f)](_0x5b0f5c){var _0x396aae=_0x12ec3c;this[_0x396aae(0x37f)][_0x396aae(0x256)](this[_0x396aae(0x3fa)],_0x5b0f5c[_0x396aae(0x25e)]['memberID']);}async[_0x12ec3c(0x1b4)](_0x3852b4,_0x15c85e){var _0x267a98=_0x12ec3c;if(this[_0x267a98(0x270)]!==0x3||!this[_0x267a98(0x1d1)])throw new Error(_0x267a98(0x3ca));try{_0x3852b4['eventID']===_0x3cdc31[_0x267a98(0x439)]&&(this['_scheduleCollaborationTimeoutTimer'](),this['_startTelemetryCollaborationNewChangeset'](_0x3852b4)),this[_0x267a98(0x1d1)]['send']({'cmd':F[_0x267a98(0x35f)],'routeKey':_0x15c85e,'routeType':'','data':_0x3852b4});}catch(_0x505d40){this[_0x267a98(0x218)][_0x267a98(0x1e8)](_0x505d40);}}[_0x12ec3c(0x365)](){var _0x2d61a1;this['_collaborationTimeoutTimer']=setTimeout(()=>{var _0x47386f=_0x7e46;this[_0x47386f(0x3d6)]=null,this[_0x47386f(0x355)]['emitEvent']({'id':re[_0x47386f(0x30e)]});},(_0x2d61a1=this['_configService']['getConfig'](mi))!=null?_0x2d61a1:gi);}[_0x12ec3c(0x2f9)](){var _0x4aad40=_0x12ec3c;this[_0x4aad40(0x3d6)]&&(clearTimeout(this[_0x4aad40(0x3d6)]),this[_0x4aad40(0x3d6)]=null);}[_0x12ec3c(0x340)](_0x4142ce){var _0x4067ac=_0x12ec3c;if(!this[_0x4067ac(0x226)])return;const {data:_0xa931d1}=_0x4142ce,{unitID:_0x9faaa5,changeset:_0x4b877e}=_0xa931d1,{mutations:_0x48806d,type:_0x136966}=_0x4b877e;this[_0x4067ac(0x1f2)]={'unitId':_0x9faaa5,'type':_0x136966,'startTime':performance[_0x4067ac(0x28f)](),'stopTime':0x0,'duration':0x0,'size':Bn(_0x48806d)};}[_0x12ec3c(0x3ff)](){var _0x55673b=_0x12ec3c;if(this[_0x55673b(0x226)]){if(!this[_0x55673b(0x1f2)]){this[_0x55673b(0x218)]['error'](_0x55673b(0x353),_0x55673b(0x434));return;}this[_0x55673b(0x1f2)][_0x55673b(0x228)]=performance[_0x55673b(0x28f)](),this[_0x55673b(0x1f2)][_0x55673b(0x198)]=this[_0x55673b(0x1f2)]['stopTime']-this['_telemetryInfo']['startTime'],this['_telemetryService'][_0x55673b(0x23c)](Hn,this['_telemetryInfo']),this[_0x55673b(0x1f2)]=null;}}[_0x12ec3c(0x371)](){var _0x2d1fda=_0x12ec3c;this[_0x2d1fda(0x1f2)]=null;}};Et=Wn([me(0x2,_0x4c4c08),me(0x3,_0x1a732b),me(0x4,_0xcdde00(_0x14dddf)),me(0x5,_0xcdde00(Le)),me(0x6,_0xcdde00(Ti)),me(0x7,_0xcdde00(pe)),me(0x8,_0x92c5af(_0xe84d57))],Et);var Kn=Object[_0x12ec3c(0x1d4)],Yn=(_0x29ade0,_0x49e563,_0x5445a6,_0xee3d0e)=>{for(var _0x4e931b=_0xee3d0e>0x1?void 0x0:_0xee3d0e?Kn(_0x49e563,_0x5445a6):_0x49e563,_0x37ea88=_0x29ade0['length']-0x1,_0x5d905c;_0x37ea88>=0x0;_0x37ea88--)(_0x5d905c=_0x29ade0[_0x37ea88])&&(_0x4e931b=_0x5d905c(_0x4e931b)||_0x4e931b);return _0x4e931b;},be=(_0xc75af8,_0x5b2bba)=>(_0x482fe5,_0x46036b)=>_0x5b2bba(_0x482fe5,_0x46036b,_0xc75af8);let xe=class extends _0x3ba9b8{constructor(_0x432832,_0x42c57f,_0x3892d0,_0x59f6b5,_0x3ac4c5,_0x5a6be3){var _0x109c92=_0x12ec3c;super(),N(this,_0x109c92(0x44a),new _0x3eca50(void 0x0)),N(this,_0x109c92(0x2d4),this['_socket$']['asObservable']()),N(this,_0x109c92(0x159),null),N(this,'_sessions',new Map()),N(this,_0x109c92(0x43f),new _0x3eca50(Ee[_0x109c92(0x1f5)])),N(this,_0x109c92(0x2d0),this[_0x109c92(0x43f)][_0x109c92(0x3e5)]()),N(this,'_socketReady',!0x1),N(this,_0x109c92(0x310)),N(this,_0x109c92(0x206),0x0),N(this,_0x109c92(0x1ea)),N(this,_0x109c92(0x420)),(this[_0x109c92(0x1d0)]=_0x432832,this[_0x109c92(0x218)]=_0x42c57f,this[_0x109c92(0x2bf)]=_0x3892d0,this['_socketService']=_0x59f6b5,this[_0x109c92(0x355)]=_0x3ac4c5,this[_0x109c92(0x164)]=_0x5a6be3,this[_0x109c92(0x447)]());}get[_0x12ec3c(0x1d1)](){var _0x292b66=_0x12ec3c;return this['_socket$'][_0x292b66(0x40a)]();}[_0x12ec3c(0x447)](){var _0x2d4de1=_0x12ec3c;this[_0x2d4de1(0x164)]&&this[_0x2d4de1(0x219)](this[_0x2d4de1(0x164)][_0x2d4de1(0x40e)][_0x2d4de1(0x209)](_0x487012=>{var _0x3f0989=_0x2d4de1;_0x487012&&!this[_0x3f0989(0x1d1)]&&this[_0x3f0989(0x192)](),_0x487012||this[_0x3f0989(0x349)]();}));}[_0x12ec3c(0x202)](){var _0x502e90=_0x12ec3c;super['dispose'](),this['_clearRetryConnectingTimer'](),this[_0x502e90(0x441)](),this[_0x502e90(0x19c)](),this[_0x502e90(0x321)]['forEach'](_0x4e1bd4=>_0x4e1bd4[_0x502e90(0x202)]()),this['_sessions'][_0x502e90(0x24e)](),this[_0x502e90(0x43f)][_0x502e90(0x188)]();}async[_0x12ec3c(0x1bf)](_0x3e2583){var _0x18f5df=_0x12ec3c;if(this[_0x18f5df(0x321)][_0x18f5df(0x2ec)](_0x3e2583))return this[_0x18f5df(0x321)][_0x18f5df(0x2e0)](_0x3e2583);this[_0x18f5df(0x22e)]();const _0x5aaf18=this['_injector'][_0x18f5df(0x1a8)](Et,_0x3e2583,this[_0x18f5df(0x44a)][_0x18f5df(0x3e5)]());return this[_0x18f5df(0x321)][_0x18f5df(0x2f7)](_0x3e2583,_0x5aaf18),_0x5aaf18;}[_0x12ec3c(0x263)](_0x71ba31){var _0x4c0707=_0x12ec3c,_0x396e81;const _0x5a8ba6=this['_sessions'][_0x4c0707(0x2e0)](_0x71ba31);_0x5a8ba6&&(this[_0x4c0707(0x321)][_0x4c0707(0x194)](_0x71ba31),_0x5a8ba6['close']()),this[_0x4c0707(0x321)]['size']||(_0x396e81=this[_0x4c0707(0x1d1)])==null||_0x396e81[_0x4c0707(0x1dd)]();}[_0x12ec3c(0x192)](){var _0x9664a7=_0x12ec3c;this[_0x9664a7(0x206)]=0x0,this[_0x9664a7(0x382)](),this[_0x9664a7(0x3b0)]();}[_0x12ec3c(0x382)](){var _0x3eeffb=_0x12ec3c;this[_0x3eeffb(0x310)]!=null&&(clearTimeout(this['_retryConnectingTimer']),this[_0x3eeffb(0x310)]=null);}async['_createSocket'](){var _0x522cde=_0x12ec3c,_0x1c5a31,_0x3b89e2;const _0x446495=this[_0x522cde(0x2bf)][_0x522cde(0x235)](In),_0x1c0737=this[_0x522cde(0x2bf)][_0x522cde(0x235)](q),_0x439238=(_0x3b89e2=(_0x1c5a31=_0x1c0737==null?void 0x0:_0x1c0737['collabWebSocketUrl'])!=null?_0x1c5a31:_0x446495)!=null?_0x3b89e2:Tn,_0x173595=await this[_0x522cde(0x405)][_0x522cde(0x153)](_0x439238);return this['_candidateSocket']=_0x173595,_0x173595;}async['_tryEnsureSocket'](){var _0x31b570=_0x12ec3c,_0x347f25,_0x4cfc23;try{const _0x5dc47d=(_0x4cfc23=(_0x347f25=this[_0x31b570(0x1d1)])!=null?_0x347f25:this[_0x31b570(0x159)])!=null?_0x4cfc23:await this[_0x31b570(0x154)]();if(_0x5dc47d){const _0x472b47=_0x5dc47d[_0x31b570(0x1b4)];_0x5dc47d['send']=_0x4580c9=>(this[_0x31b570(0x41c)](),_0x472b47['apply'](_0x5dc47d,[_0x4580c9])),_0x5dc47d[_0x31b570(0x44e)][_0x31b570(0x209)](_0x54ea26=>this['_onMessage'](_0x5dc47d,_0x54ea26)),_0x5dc47d[_0x31b570(0x318)][_0x31b570(0x275)](_0x2ee070(0x1))['subscribe'](_0x5b014d=>this['_logService'][_0x31b570(0x1e8)](_0x31b570(0x1eb),_0x5b014d)),_0x5dc47d['open$'][_0x31b570(0x275)](_0x2ee070(0x1))[_0x31b570(0x209)](()=>{this['_onConnectionOpen'](_0x5dc47d);}),_0x5dc47d['close$'][_0x31b570(0x275)](_0x2ee070(0x1))[_0x31b570(0x209)](_0x246c50=>{var _0x1f666b=_0x31b570;this['_logService']['debug'](_0x1f666b(0x201),'socket\x20close',_0x246c50),this[_0x1f666b(0x33a)]();});}}catch(_0x244a3c){this['_logService'][_0x31b570(0x1e8)](_0x244a3c),this[_0x31b570(0x33a)]();}}[_0x12ec3c(0x43b)](_0x5dc76e){var _0x25f8a4=_0x12ec3c;this[_0x25f8a4(0x218)]['debug']('[CollaborationSessionService]',_0x25f8a4(0x183)),_0x5dc76e[_0x25f8a4(0x1b4)]({'cmd':F[_0x25f8a4(0x1e7)]}),this[_0x25f8a4(0x41c)]();}[_0x12ec3c(0x349)](){var _0x50c895=_0x12ec3c;this[_0x50c895(0x2c4)]=!0x1,this[_0x50c895(0x159)]=null,this[_0x50c895(0x43f)]['next'](Ee[_0x50c895(0x2a1)]),this['_socket$']['next'](null),this[_0x50c895(0x441)](),this['_clearHeartbeatTimer']();}[_0x12ec3c(0x33a)](){var _0x28cee7=_0x12ec3c,_0x3cc652;this['_onOffline'](),this[_0x28cee7(0x206)]<((_0x3cc652=this[_0x28cee7(0x2bf)][_0x28cee7(0x235)](yn))!=null?_0x3cc652:On)?(this[_0x28cee7(0x355)]['emitEvent']({'id':re[_0x28cee7(0x3db)]}),this['_tryReconnect']()):this[_0x28cee7(0x355)][_0x28cee7(0x2ea)]({'id':re['SOCKET_FAILED']});}[_0x12ec3c(0x3b0)](){var _0xc1a4b3=_0x12ec3c,_0x5499bf;const _0x53f84a=this[_0xc1a4b3(0x206)],_0x337c97=this[_0xc1a4b3(0x2bf)][_0xc1a4b3(0x235)](q),_0x22efcc=_0x53f84a===0x0?0x0:((_0x5499bf=_0x337c97==null?void 0x0:_0x337c97['retryConnectingInterval'])!=null?_0x5499bf:bn)*0x2**_0x53f84a;this[_0xc1a4b3(0x310)]=setTimeout(()=>{var _0x51669f=_0xc1a4b3;clearTimeout(this[_0x51669f(0x310)]),this['_retryConnectingTimer']=null,this[_0x51669f(0x22e)]();},_0x22efcc),this[_0xc1a4b3(0x206)]+=0x1;}[_0x12ec3c(0x2b9)](_0x5f2e52,_0x393536){var _0x40165d=_0x12ec3c;const {cmd:_0x3f888c}=_0x393536;_0x3f888c===F[_0x40165d(0x1e7)]&&!this[_0x40165d(0x2c4)]&&(_0x5f2e52[_0x40165d(0x3bf)]=_0x393536[_0x40165d(0x25e)][_0x40165d(0x3bf)],this[_0x40165d(0x44a)][_0x40165d(0x1fa)](_0x5f2e52),this[_0x40165d(0x43f)][_0x40165d(0x1fa)](Ee[_0x40165d(0x38f)]),this[_0x40165d(0x2c4)]=!0x0,this[_0x40165d(0x159)]=null),_0x3f888c===F[_0x40165d(0x253)]&&this[_0x40165d(0x441)](),this[_0x40165d(0x41c)]();}[_0x12ec3c(0x41c)](){var _0x2bdbed=_0x12ec3c,_0xd248b2;this[_0x2bdbed(0x19c)](),this[_0x2bdbed(0x1ea)]=setTimeout(()=>this[_0x2bdbed(0x3cb)](),(_0xd248b2=this['_configService'][_0x2bdbed(0x235)](Cn))!=null?_0xd248b2:Rn);}[_0x12ec3c(0x3cb)](){var _0x55b843=_0x12ec3c;this[_0x55b843(0x1d1)][_0x55b843(0x1b4)]({'cmd':F[_0x55b843(0x253)]}),this[_0x55b843(0x1ed)]();}[_0x12ec3c(0x1ed)](){var _0x35b4b5=_0x12ec3c,_0x2a2b1c;this[_0x35b4b5(0x420)]=setTimeout(()=>this['_onConnectionFailed'](),(_0x2a2b1c=this['_configService'][_0x35b4b5(0x235)](mi))!=null?_0x2a2b1c:gi);}['_clearHeartbeatTimer'](){this['_sendHeartbeatTimer']!=null&&(clearTimeout(this['_sendHeartbeatTimer']),this['_sendHeartbeatTimer']=null);}[_0x12ec3c(0x441)](){var _0x1a8e97=_0x12ec3c;this[_0x1a8e97(0x420)]!=null&&(clearTimeout(this['_timeoutTimer']),this['_timeoutTimer']=null);}};xe=Yn([be(0x0,_0xcdde00(_0x3ac3e0)),be(0x1,_0x4c4c08),be(0x2,_0x1a732b),be(0x3,Ii),be(0x4,_0xcdde00(pe)),be(0x5,_0x92c5af(Pn))],xe);const V=[];function _0x7e46(_0x26d816,_0x453e47){var _0x551a0c=_0x551a();return _0x7e46=function(_0x7e4639,_0x146c18){_0x7e4639=_0x7e4639-0x153;var _0x4b8cf8=_0x551a0c[_0x7e4639];return _0x4b8cf8;},_0x7e46(_0x26d816,_0x453e47);}for(let t=0x0;t<0x100;++t)V[_0x12ec3c(0x404)]((t+0x100)[_0x12ec3c(0x433)](0x10)[_0x12ec3c(0x3e9)](0x1));function qn(_0x1a2c8d,_0x36eb19=0x0){return(V[_0x1a2c8d[_0x36eb19+0x0]]+V[_0x1a2c8d[_0x36eb19+0x1]]+V[_0x1a2c8d[_0x36eb19+0x2]]+V[_0x1a2c8d[_0x36eb19+0x3]]+'-'+V[_0x1a2c8d[_0x36eb19+0x4]]+V[_0x1a2c8d[_0x36eb19+0x5]]+'-'+V[_0x1a2c8d[_0x36eb19+0x6]]+V[_0x1a2c8d[_0x36eb19+0x7]]+'-'+V[_0x1a2c8d[_0x36eb19+0x8]]+V[_0x1a2c8d[_0x36eb19+0x9]]+'-'+V[_0x1a2c8d[_0x36eb19+0xa]]+V[_0x1a2c8d[_0x36eb19+0xb]]+V[_0x1a2c8d[_0x36eb19+0xc]]+V[_0x1a2c8d[_0x36eb19+0xd]]+V[_0x1a2c8d[_0x36eb19+0xe]]+V[_0x1a2c8d[_0x36eb19+0xf]])['toLowerCase']();}let ut;const zn=new Uint8Array(0x10);function Jn(){var _0x14f7bb=_0x12ec3c;if(!ut){if(typeof crypto>'u'||!crypto[_0x14f7bb(0x414)])throw new Error(_0x14f7bb(0x1c8));ut=crypto[_0x14f7bb(0x414)][_0x14f7bb(0x3c7)](crypto);}return ut(zn);}const Xn=typeof crypto<'u'&&crypto[_0x12ec3c(0x1f0)]&&crypto[_0x12ec3c(0x1f0)][_0x12ec3c(0x3c7)](crypto),Yt={'randomUUID':Xn};function Zn(_0x1eeb39,_0x26a89d,_0x1c3b6d){var _0x4629b0=_0x12ec3c,_0x271e5b,_0x2c7e3b,_0x16796d;if(Yt[_0x4629b0(0x1f0)]&&!_0x1eeb39)return Yt[_0x4629b0(0x1f0)]();_0x1eeb39=_0x1eeb39||{};const _0x372277=(_0x16796d=(_0x2c7e3b=_0x1eeb39['random'])!=null?_0x2c7e3b:(_0x271e5b=_0x1eeb39[_0x4629b0(0x3f3)])==null?void 0x0:_0x271e5b['call'](_0x1eeb39))!=null?_0x16796d:Jn();if(_0x372277[_0x4629b0(0x3e1)]<0x10)throw new Error(_0x4629b0(0x1a0));return _0x372277[0x6]=_0x372277[0x6]&0xf|0x40,_0x372277[0x8]=_0x372277[0x8]&0x3f|0x80,qn(_0x372277);}const J=_0x473f8f(_0x12ec3c(0x21f));function Br(_0x5eb602){var _0x2c3aa0=_0x12ec3c;return _0x2c3aa0(0x339)+_0x5eb602;}var Qn=Object['getOwnPropertyDescriptor'],es=(_0x3409f6,_0x1f663c,_0x19e0f4,_0x2610e1)=>{var _0x49cc83=_0x12ec3c;for(var _0x2e11a9=_0x2610e1>0x1?void 0x0:_0x2610e1?Qn(_0x1f663c,_0x19e0f4):_0x1f663c,_0x3b86cf=_0x3409f6[_0x49cc83(0x3e1)]-0x1,_0x227b1b;_0x3b86cf>=0x0;_0x3b86cf--)(_0x227b1b=_0x3409f6[_0x3b86cf])&&(_0x2e11a9=_0x227b1b(_0x2e11a9)||_0x2e11a9);return _0x2e11a9;},dt=(_0x12474c,_0x1a77d5)=>(_0xb4cd61,_0x1475a3)=>_0x1a77d5(_0xb4cd61,_0x1475a3,_0x12474c);function ts(_0x4a2ab7){const {unitID:_0x5d8938,mutations:_0x61fe09}=_0x4a2ab7;return{'unitId':_0x5d8938,'subUnitId':_0x61fe09[0x0]['params']['subUnitId']};}let it=class{constructor(_0x2662ba,_0x1196a9,_0x25c30){var _0x253213=_0x12ec3c;this[_0x253213(0x1d0)]=_0x2662ba,this['_transformService']=_0x1196a9,this[_0x253213(0x44f)]=_0x25c30;}[_0x12ec3c(0x39d)](_0x3e8855){var _0x5aeb3a=_0x12ec3c,_0x43ba1f,_0xbaa786,_0x3ffe24,_0x448317;const _0x63902c=this[_0x5aeb3a(0x1d0)][_0x5aeb3a(0x2e0)](_0xf86817),{unitId:_0x7d4582,subUnitId:_0x5b0a85}=ts(_0x3e8855),_0x169af1=_0x63902c==null?void 0x0:_0x63902c['getWorkbookSelections'](_0x7d4582)[_0x5aeb3a(0x40d)](),_0x3678bc=(_0xbaa786=(_0x43ba1f=this['_instanceService'][_0x5aeb3a(0x412)](_0x7d4582))==null?void 0x0:_0x43ba1f[_0x5aeb3a(0x363)]())==null?void 0x0:_0xbaa786[_0x5aeb3a(0x1a9)]();if(_0x169af1[_0x5aeb3a(0x3e1)]===0x0||!_0x7d4582||!_0x5b0a85)return;const _0x152500=[{'id':_0x35a15f['id'],'params':{'unitId':_0x7d4582,'subUnitId':_0x3678bc,'selections':_0x325393[_0x5aeb3a(0x266)](_0x169af1)}}],_0x117e80=this['_transformService'][_0x5aeb3a(0x449)](_0x3e8855,_0x152500);if(!_0x46377c(_0x117e80))throw _0x117e80['error'];const _0x17b2e0=(_0x448317=(_0x3ffe24=_0x117e80[_0x5aeb3a(0x44b)][0x0])==null?void 0x0:_0x3ffe24['params'])==null?void 0x0:_0x448317['selections'];if(Array[_0x5aeb3a(0x3b7)](_0x17b2e0)&&_0x17b2e0[_0x5aeb3a(0x3e1)]){if(_0x17b2e0[_0x5aeb3a(0x3e1)]===_0x152500[0x0][_0x5aeb3a(0x35e)][_0x5aeb3a(0x30a)][_0x5aeb3a(0x3e1)]&&_0x17b2e0['every']((_0x251550,_0x51b3f8)=>_0x566e5c[_0x5aeb3a(0x408)](_0x251550[_0x5aeb3a(0x207)],_0x152500[0x0][_0x5aeb3a(0x35e)][_0x5aeb3a(0x30a)][_0x51b3f8]['range'])))return;this[_0x5aeb3a(0x1d0)][_0x5aeb3a(0x2e0)](_0x1a6580)[_0x5aeb3a(0x1ec)](_0x35a15f['id'],{'unitId':_0x7d4582,'subUnitId':_0x3678bc,'selections':_0x17b2e0});}}};it=es([dt(0x0,_0xcdde00(_0x3ac3e0)),dt(0x1,_0x10d518),dt(0x2,_0x72f3ae)],it);const ht=_0x473f8f(_0x12ec3c(0x2ab));var Ci=(_0x1769a7=>(_0x1769a7[_0x1769a7[_0x12ec3c(0x1ff)]=0x0]=_0x12ec3c(0x1ff),_0x1769a7[_0x1769a7[_0x12ec3c(0x3d3)]=0x1]=_0x12ec3c(0x3d3),_0x1769a7))(Ci||{});const is=new Set([_0x26f816['id']]);function qt(_0x5dc220,_0x12846a,_0x292c29,_0x52d618,_0x36bdab){var _0x230983=_0x12ec3c,_0x508848,_0x162949,_0x2fa18f,_0x59dfba;const _0x5f52ca=[];for(const _0x32d1ee of _0x5dc220)if(is[_0x230983(0x2ec)](_0x32d1ee['id'])){if(_0x5f52ca[_0x230983(0x3e1)]>0x0)break;_0x5f52ca['push'](_0x32d1ee);break;}else _0x5f52ca[_0x230983(0x404)](_0x32d1ee);const _0x2bab00=(_0x162949=(_0x508848=_0x36bdab[_0x230983(0x215)]())==null?void 0x0:_0x508848[_0x230983(0x351)])!=null?_0x162949:'unknown',_0xe5409=(_0x59dfba=(_0x2fa18f=_0x36bdab[_0x230983(0x215)]())==null?void 0x0:_0x2fa18f['memberID'])!=null?_0x59dfba:_0x230983(0x3dc);return{'changeset':{'unitID':_0x12846a,'type':_0x3d3e27(_0x292c29[_0x230983(0x27d)](_0x12846a)),'baseRev':_0x52d618['getCurrentRevOfUnit'](_0x12846a),'revision':0x0,'userID':_0x2bab00,'memberID':_0xe5409,'mutations':_0x5f52ca},'pendingMutations':_0x5dc220['slice'](_0x5f52ca[_0x230983(0x3e1)])};}function ns(_0xc6ad89,_0xd6da61,_0x333b89,_0x216120,_0x3e51db){var _0x244d99=_0x12ec3c,_0xf68e1a,_0xa4ed18,_0x128c17,_0x1fa94a;const _0x59fd32=[_0xc6ad89['reduce']((_0x19152a,_0x1bb7c4)=>{var _0x4b2db9=_0x7e46,_0x1cadcb;const {id:_0x4f4960}=_0x19152a,{id:_0x1e5a56,type:_0x49208d}=_0x1bb7c4,_0x3b933b=(_0x1cadcb=_0x19152a[_0x4b2db9(0x35e)])!=null?_0x1cadcb:{'actions':null},_0xc8812d=_0x1bb7c4['params'];if(_0x4f4960&&_0x4f4960!==_0x1e5a56)throw new Error(_0x4b2db9(0x2b5)+_0x4f4960+'\x20-\x20'+_0x1e5a56+'.');return{..._0x19152a,'id':_0x1e5a56,'type':_0x49208d,'params':{'unitId':_0xc8812d[_0x4b2db9(0x41d)],'textRanges':_0xc8812d[_0x4b2db9(0x19f)],'actions':_0x4f4e07['compose'](_0x3b933b['actions'],_0xc8812d[_0x4b2db9(0x3d8)])}};},{})],_0x3fc9be=(_0xa4ed18=(_0xf68e1a=_0x3e51db[_0x244d99(0x215)]())==null?void 0x0:_0xf68e1a[_0x244d99(0x351)])!=null?_0xa4ed18:_0x244d99(0x3dc),_0x401910=(_0x1fa94a=(_0x128c17=_0x3e51db[_0x244d99(0x215)]())==null?void 0x0:_0x128c17[_0x244d99(0x3bf)])!=null?_0x1fa94a:_0x244d99(0x3dc);return{'changeset':{'unitID':_0xd6da61,'type':_0x3d3e27(_0x333b89[_0x244d99(0x27d)](_0xd6da61)),'baseRev':_0x216120[_0x244d99(0x2fc)](_0xd6da61),'revision':0x0,'userID':_0x3fc9be,'memberID':_0x401910,'mutations':_0x59fd32},'pendingMutations':[]};}function Ri(_0x11c3ac,_0x4289a3){var _0x3701a6=_0x12ec3c;const _0x7b7b23=new _0x3d613b(0x1);return setTimeout(()=>_0x7b7b23[_0x3701a6(0x1fa)](_0x4289a3),_0x11c3ac),_0x7b7b23[_0x3701a6(0x3e5)]()[_0x3701a6(0x275)](_0x1e5b04(0x1));}const ss={'id':_0x4b7f14['id'],'type':_0x5baef3[_0x12ec3c(0x21a)],'params':{}};var rs=Object['getOwnPropertyDescriptor'],Te=(_0x4776be,_0x5c57c3,_0xb315ba,_0x576dc9)=>{var _0x687419=_0x12ec3c;for(var _0x16ba7c=_0x576dc9>0x1?void 0x0:_0x576dc9?rs(_0x5c57c3,_0xb315ba):_0x5c57c3,_0x526aa8=_0x4776be[_0x687419(0x3e1)]-0x1,_0x39375f;_0x526aa8>=0x0;_0x526aa8--)(_0x39375f=_0x4776be[_0x526aa8])&&(_0x16ba7c=_0x39375f(_0x16ba7c)||_0x16ba7c);return _0x16ba7c;},P=(_0x322b2c,_0x4136bd)=>(_0x361ef6,_0x56c210)=>_0x4136bd(_0x361ef6,_0x56c210,_0x322b2c),bi=(_0x469a62=>(_0x469a62['NOT_COLLAB']='not_collab',_0x469a62[_0x12ec3c(0x3a2)]=_0x12ec3c(0x17d),_0x469a62[_0x12ec3c(0x2d3)]='pending',_0x469a62[_0x12ec3c(0x3a3)]=_0x12ec3c(0x352),_0x469a62[_0x12ec3c(0x3c6)]=_0x12ec3c(0x2d9),_0x469a62[_0x12ec3c(0x29f)]=_0x12ec3c(0x2d8),_0x469a62[_0x12ec3c(0x2b3)]=_0x12ec3c(0x199),_0x469a62[_0x12ec3c(0x2a1)]=_0x12ec3c(0x39a),_0x469a62))(bi||{});const yi=0xea60;class Ce{constructor(_0x21fae4,_0xcf0968,_0x160afb,_0x1397e5,_0x24c61e,_0x26eb31,_0x4f7774,_0x2a09e3,_0xf98bb){var _0x248d6c=_0x12ec3c;N(this,_0x248d6c(0x3d5),null),N(this,_0x248d6c(0x3e8),[]),(this['unitID']=_0x21fae4,this[_0x248d6c(0x237)]=_0xcf0968,this['_handler']=_0x24c61e,this['_commandService']=_0x26eb31,this['_undoRedoService']=_0x4f7774,this[_0x248d6c(0x163)]=_0x2a09e3,this[_0x248d6c(0x1f9)]=_0xf98bb,this[_0x248d6c(0x3d5)]=_0x160afb,this[_0x248d6c(0x3e8)]=_0x1397e5);}['_checkMissing'](_0x550200){var _0x50ced0=_0x12ec3c;const _0x30d06f=this[_0x50ced0(0x163)]['getCurrentRevOfUnit'](this[_0x50ced0(0x214)]);return _0x550200[_0x50ced0(0x1fb)]>_0x30d06f+0x1?(this['_handler']['onMissingChangesets']({'from':_0x30d06f,'to':_0x550200[_0x50ced0(0x1fb)]-0x1}),!0x0):!0x1;}[_0x12ec3c(0x40c)](_0x24f9f3){var _0x970370=_0x12ec3c;this[_0x970370(0x3ae)][_0x970370(0x42e)](this[_0x970370(0x214)],_0x24f9f3);}[_0x12ec3c(0x395)](_0x2da5b8){var _0xe27ac2=_0x12ec3c,_0x2a102c,_0x36f831;(_0x36f831=(_0x2a102c=this['_handler'])[_0xe27ac2(0x1cb)])==null||_0x36f831['call'](_0x2a102c,_0x2da5b8);}[_0x12ec3c(0x38c)](_0x31d509){var _0x4f23c1=_0x12ec3c,_0x57632c,_0x3f0bb3;return(_0x3f0bb3=(_0x57632c=this[_0x4f23c1(0x2d2)])['onTransformIME'])==null?void 0x0:_0x3f0bb3[_0x4f23c1(0x288)](_0x57632c,_0x31d509);}[_0x12ec3c(0x334)](_0x165788){var _0x482581=_0x12ec3c,_0x3e1233,_0x580f1f;return(_0x580f1f=(_0x3e1233=this[_0x482581(0x2d2)])[_0x482581(0x251)])==null?void 0x0:_0x580f1f[_0x482581(0x288)](_0x3e1233,_0x165788);}[_0x12ec3c(0x257)](_0x4afd3d){var _0x4930c0=_0x12ec3c,_0x1b2842,_0x1ee3f8,_0x5d518b;return(_0x5d518b=(_0x1ee3f8=(_0x1b2842=this[_0x4930c0(0x2d2)])[_0x4930c0(0x1ef)])==null?void 0x0:_0x1ee3f8[_0x4930c0(0x288)](_0x1b2842,_0x4afd3d))!=null?_0x5d518b:_0x4afd3d;}[_0x12ec3c(0x29c)](_0x1e286c){var _0x51ad20=_0x12ec3c,_0x5f0ef4,_0xc2b75c,_0x2a81de;return(_0x2a81de=(_0xc2b75c=(_0x5f0ef4=this['_handler'])[_0x51ad20(0x312)])==null?void 0x0:_0xc2b75c['call'](_0x5f0ef4,_0x1e286c))!=null?_0x2a81de:_0x1e286c;}['_syncEditingCollabCursor'](_0x5bd85c){var _0x37b516=_0x12ec3c,_0x37e427,_0x1dce6a;if(this['type']===Q[_0x37b516(0x374)]){const {unitID:_0x39eacf,mutations:_0x25dcbc,memberID:_0x128331}=_0x5bd85c,_0xa6b717=_0x25dcbc[0x0]['params'][_0x37b516(0x19f)];Array[_0x37b516(0x3b7)](_0xa6b717)&&_0xa6b717[_0x37b516(0x3e1)]>0x0&&((_0x1dce6a=(_0x37e427=this['_handler'])[_0x37b516(0x18c)])==null||_0x1dce6a[_0x37b516(0x288)](_0x37e427,{'unitID':_0x39eacf,'memberID':_0x128331,'textRanges':_0xa6b717}));}}['_updateLocalCache'](){var _0x555ce8=_0x12ec3c,_0x1c6e26;(_0x1c6e26=this[_0x555ce8(0x1f9)])==null||_0x1c6e26['updateOfflineData'](this[_0x555ce8(0x214)],this[_0x555ce8(0x237)],this[_0x555ce8(0x3d5)],this['_pendingMutations']);}['_getCurrentRevision'](){var _0x3e9ac1=_0x12ec3c;return this[_0x3e9ac1(0x163)][_0x3e9ac1(0x2fc)](this['unitID']);}[_0x12ec3c(0x217)](){var _0x396656=_0x12ec3c;this[_0x396656(0x163)][_0x396656(0x1ee)](this['unitID']);}['_executeRemoteChangeset'](_0x5e9080){var _0x41d66b=_0x12ec3c,_0xe66276;let _0x153c68=this[_0x41d66b(0x257)](_0x5e9080);_0x153c68=this[_0x41d66b(0x29c)](_0x153c68);const _0xc073b7=_0x522b5e(_0x153c68['mutations'],this['_commandService'],{'fromCollab':!0x0});if(!_0xc073b7[_0x41d66b(0x383)])throw _0xc073b7['error']instanceof Error?_0xc073b7['error']:new Error((_0xe66276=_0xc073b7[_0x41d66b(0x1e8)])!=null?_0xe66276:_0x41d66b(0x390));this[_0x41d66b(0x38c)](_0x153c68),this[_0x41d66b(0x334)](_0x153c68),this[_0x41d66b(0x40c)](_0x5e9080),this['_transformSelections'](_0x153c68),this[_0x41d66b(0x347)](_0x153c68),this['_incrementRevisionNumber']();}}let Ne=class extends Ce{constructor(_0x4961f3,_0xb13284,_0x10920b,_0x4df97f,_0x55fbc7,_0x5b8c91,_0x12c783,_0x326c8b,_0x4b4496,_0x24fba4){var _0x2d7080=_0x12ec3c;super(_0x4961f3,_0xb13284,null,[],_0x10920b,_0x12c783,_0x5b8c91,_0x4df97f,_0x24fba4),N(this,_0x2d7080(0x319),_0x2d7080(0x17d)),(this[_0x2d7080(0x1d0)]=_0x55fbc7,this[_0x2d7080(0x218)]=_0x326c8b,this['_transformService']=_0x4b4496,this[_0x2d7080(0x333)]=_0x24fba4);}['appendMutation'](_0x4684a3){var _0x42ef7a=_0x12ec3c;const _0x22b4a4=this[_0x42ef7a(0x1d0)][_0x42ef7a(0x1a8)](ae,this['unitID'],this[_0x42ef7a(0x237)],[_0x4684a3],this[_0x42ef7a(0x2d2)]);return _0x22b4a4[_0x42ef7a(0x171)](),_0x22b4a4[_0x42ef7a(0x212)](),_0x22b4a4;}[_0x12ec3c(0x3f1)](_0x2d3201){var _0x891637=_0x12ec3c;if(this[_0x891637(0x3ad)](_0x2d3201))return this[_0x891637(0x1d0)][_0x891637(0x1a8)](ee,this[_0x891637(0x214)],this[_0x891637(0x237)],null,[],null,[_0x2d3201],this[_0x891637(0x2d2)]);try{const _0x500f00=this[_0x891637(0x3d2)][_0x891637(0x449)](_0x2d3201,[ss]);if(_0x46377c(_0x500f00)){const {c1Prime:_0x146138}=_0x500f00;return this[_0x891637(0x297)](_0x146138),this;}throw _0x500f00[_0x891637(0x1e8)];}catch(_0x52f4f5){return this['_logService'][_0x891637(0x1e8)](_0x52f4f5),this[_0x891637(0x2cc)](!0x1);}}[_0x12ec3c(0x2cc)](_0x5da4c7){var _0x2a31ed=_0x12ec3c;return this[_0x2a31ed(0x1d0)][_0x2a31ed(0x1a8)](ue,this[_0x2a31ed(0x214)],this['type'],null,[],this['_handler'],_0x5da4c7);}['onRemoteAck'](){throw new Error('[SyncedState]:\x20received\x20acknowledgement.');}['onRemoteRej'](){var _0x19c49b=_0x12ec3c;throw new Error(_0x19c49b(0x421));}[_0x12ec3c(0x213)](){return this;}[_0x12ec3c(0x2fb)](){var _0x39f731=_0x12ec3c;return this[_0x39f731(0x1d0)]['createInstance'](de,this[_0x39f731(0x214)],this['type'],null,[],this[_0x39f731(0x2d2)]);}[_0x12ec3c(0x29a)](){return this;}[_0x12ec3c(0x252)](){throw new Error('[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x12ec3c(0x3b8)](){var _0x38a9db=_0x12ec3c;const _0x4fb62c=this[_0x38a9db(0x163)]['getCurrentRevOfUnit'](this['unitID']);return this['_handler'][_0x38a9db(0x177)]({'from':_0x4fb62c,'to':0x0}),this[_0x38a9db(0x1d0)]['createInstance'](ee,this[_0x38a9db(0x214)],this[_0x38a9db(0x237)],null,[],null,[],this[_0x38a9db(0x2d2)]);}};Ne=Te([P(0x3,_0xcdde00(_0x4a118f)),P(0x4,_0xcdde00(_0x3ac3e0)),P(0x5,_0x4a8d19),P(0x6,_0x1a6580),P(0x7,_0x4c4c08),P(0x8,_0x10d518),P(0x9,_0x92c5af(J))],Ne);let ae=class extends Ce{constructor(_0x520daa,_0x46191a,_0x482397,_0x302a56,_0x3c7e35,_0x3064fb,_0x4b1315,_0x308222,_0x41ea36,_0x42f56c,_0x53ec14,_0x51c5ad,_0x1879be,_0x2bc655){var _0x475ac7=_0x12ec3c;super(_0x520daa,_0x46191a,null,_0x482397,_0x302a56,_0x41ea36,_0x1879be,_0x3064fb,_0x2bc655),N(this,_0x475ac7(0x319),'pending'),N(this,_0x475ac7(0x380),null),N(this,_0x475ac7(0x216),null),(this[_0x475ac7(0x1d0)]=_0x3c7e35,this[_0x475ac7(0x37f)]=_0x4b1315,this[_0x475ac7(0x218)]=_0x308222,this[_0x475ac7(0x2bf)]=_0x42f56c,this[_0x475ac7(0x3d2)]=_0x53ec14,this[_0x475ac7(0x248)]=_0x51c5ad);}[_0x12ec3c(0x3c5)](_0x3b2819){var _0x1efc47=_0x12ec3c;return this[_0x1efc47(0x3e8)]['push'](_0x3b2819),this[_0x1efc47(0x212)](),this;}['onRemoteChangeset'](_0x359071){var _0x1d66f4=_0x12ec3c;if(this[_0x1d66f4(0x3ad)](_0x359071))return this[_0x1d66f4(0x2da)](),this[_0x1d66f4(0x1d0)][_0x1d66f4(0x1a8)](ee,this[_0x1d66f4(0x214)],this['type'],null,this['_pendingMutations'],null,[_0x359071],this[_0x1d66f4(0x2d2)]);try{const _0x4ff1a9=this[_0x1d66f4(0x3d2)][_0x1d66f4(0x449)](_0x359071,this['_pendingMutations']);if(_0x46377c(_0x4ff1a9)){const {c1Prime:_0xc00334,m2Prime:_0x59e8a9}=_0x4ff1a9;this[_0x1d66f4(0x297)](_0xc00334);const _0x428fcb=this['_injector'][_0x1d66f4(0x1a8)](ae,this[_0x1d66f4(0x214)],this[_0x1d66f4(0x237)],_0x59e8a9,this[_0x1d66f4(0x2d2)]);this[_0x1d66f4(0x2da)]();const _0xc7f230=new Date()[_0x1d66f4(0x32e)](),_0x2fae51=this[_0x1d66f4(0x380)]?Math['max'](this['_scheduleCompleteTimestamp']-_0xc7f230,0x0):this[_0x1d66f4(0x166)]();return _0x428fcb[_0x1d66f4(0x171)](_0x2fae51),_0x428fcb;}throw _0x4ff1a9[_0x1d66f4(0x1e8)];}catch(_0x3a1639){return this[_0x1d66f4(0x218)]['error'](_0x3a1639),this[_0x1d66f4(0x2cc)](!0x1);}}['onRemoteAck'](){var _0x26044b=_0x12ec3c;throw new Error(_0x26044b(0x168));}[_0x12ec3c(0x3e3)](){var _0x3af8e8=_0x12ec3c;throw new Error(_0x3af8e8(0x38e));}['onRemoteRetry'](){return this;}['toggleOffline'](){var _0x4e2a23=_0x12ec3c;return this[_0x4e2a23(0x2da)](),this[_0x4e2a23(0x1d0)][_0x4e2a23(0x1a8)](de,this[_0x4e2a23(0x214)],this['type'],null,this['_pendingMutations'],this[_0x4e2a23(0x2d2)]);}['toggleOnline'](){return this;}[_0x12ec3c(0x171)](_0x1f01cc){var _0x506bfe=_0x12ec3c;const _0x20b566=_0x1f01cc!=null?_0x1f01cc:this[_0x506bfe(0x166)]();this['_scheduleCompleteTimestamp']=new Date()[_0x506bfe(0x32e)]()+_0x20b566,this[_0x506bfe(0x216)]=setTimeout(()=>{var _0x497cb6=_0x506bfe;this['_clearScheduledTask']();let _0x17521d=null;switch(this[_0x497cb6(0x237)]){case Q['UNIVER_SHEET']:{_0x17521d=qt(this[_0x497cb6(0x3e8)],this[_0x497cb6(0x214)],this[_0x497cb6(0x248)],this[_0x497cb6(0x163)],this[_0x497cb6(0x37f)]);break;}case Q[_0x497cb6(0x374)]:{this[_0x497cb6(0x3e8)]['every'](_0x272375=>_0x272375['id']===_0x331543['id'])?_0x17521d=ns(this[_0x497cb6(0x3e8)],this[_0x497cb6(0x214)],this[_0x497cb6(0x248)],this['_revisionService'],this[_0x497cb6(0x37f)]):_0x17521d=qt(this[_0x497cb6(0x3e8)],this[_0x497cb6(0x214)],this[_0x497cb6(0x248)],this[_0x497cb6(0x163)],this['_memberService']);break;}default:throw new Error(_0x497cb6(0x18e)+this['type']+_0x497cb6(0x307));}const {changeset:_0x3c3069,pendingMutations:_0x59f653}=_0x17521d;this[_0x497cb6(0x2d2)][_0x497cb6(0x300)](_0x3c3069);const _0x49106d=_0x59f653[_0x497cb6(0x3e1)]?this[_0x497cb6(0x1d0)][_0x497cb6(0x1a8)](oe,this[_0x497cb6(0x214)],this[_0x497cb6(0x237)],_0x3c3069,_0x59f653,this['_handler'],void 0x0):this[_0x497cb6(0x1d0)][_0x497cb6(0x1a8)](le,this[_0x497cb6(0x214)],this[_0x497cb6(0x237)],_0x3c3069,this[_0x497cb6(0x2d2)]);_0x49106d[_0x497cb6(0x212)](),this[_0x497cb6(0x2d2)][_0x497cb6(0x2b8)](this,_0x49106d);},_0x20b566);}['_getSendChangesetTimeout'](){var _0x553036=_0x12ec3c,_0x303682;const _0x24a555=this[_0x553036(0x2bf)][_0x553036(0x235)](q);return(_0x303682=_0x24a555==null?void 0x0:_0x24a555['sendChangesetTimeout'])!=null?_0x303682:En;}[_0x12ec3c(0x252)](){throw new Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x12ec3c(0x2da)](){var _0x18a8cd=_0x12ec3c;this[_0x18a8cd(0x216)]!=null&&(clearTimeout(this[_0x18a8cd(0x216)]),this[_0x18a8cd(0x216)]=null);}[_0x12ec3c(0x2cc)](_0x14ad4a){var _0x2b6ed1=_0x12ec3c;return this['_clearScheduledTask'](),this[_0x2b6ed1(0x1d0)][_0x2b6ed1(0x1a8)](ue,this[_0x2b6ed1(0x214)],this[_0x2b6ed1(0x237)],null,this[_0x2b6ed1(0x3e8)],this[_0x2b6ed1(0x2d2)],_0x14ad4a);}};ae=Te([P(0x4,_0xcdde00(_0x3ac3e0)),P(0x5,_0xcdde00(_0x4a118f)),P(0x6,_0xcdde00(Le)),P(0x7,_0x4c4c08),P(0x8,_0x1a6580),P(0x9,_0x1a732b),P(0xa,_0x10d518),P(0xb,_0x72f3ae),P(0xc,_0x4a8d19),P(0xd,_0x92c5af(J))],ae);let le=class extends Ce{constructor(_0x25ab52,_0xf611d7,_0x13f9d1,_0x40cf9e,_0x26fd2b,_0x3e09fa,_0x2d82a3,_0x51eee3,_0x40fc8a,_0xb1384d,_0x11fcc1){var _0x2016b3=_0x12ec3c;super(_0x25ab52,_0xf611d7,_0x13f9d1,[],_0x40cf9e,_0x2d82a3,_0xb1384d,_0x3e09fa,_0x11fcc1),N(this,_0x2016b3(0x319),_0x2016b3(0x352)),N(this,_0x2016b3(0x3ac),0x0),N(this,_0x2016b3(0x273)),N(this,_0x2016b3(0x435)),(this[_0x2016b3(0x1d0)]=_0x26fd2b,this[_0x2016b3(0x218)]=_0x51eee3,this['_transformService']=_0x40fc8a);}[_0x12ec3c(0x3c5)](_0x269a30){var _0x5f3728=_0x12ec3c;this['_clearScheduledTask']();const _0x2a457f=this['_injector'][_0x5f3728(0x1a8)](oe,this[_0x5f3728(0x214)],this[_0x5f3728(0x237)],this[_0x5f3728(0x3d5)],[_0x269a30],this['_handler'],this[_0x5f3728(0x273)]);return _0x2a457f['_updateLocalCache'](),_0x2a457f;}[_0x12ec3c(0x3f1)](_0x16c307){var _0x25c483=_0x12ec3c;if(this[_0x25c483(0x3ad)](_0x16c307))return this['_clearScheduledTask'](),this[_0x25c483(0x1d0)][_0x25c483(0x1a8)](ee,this[_0x25c483(0x214)],this[_0x25c483(0x237)],this[_0x25c483(0x3d5)],[],null,[_0x16c307],this[_0x25c483(0x2d2)]);try{const _0x5efb33=this[_0x25c483(0x3d2)][_0x25c483(0x2d5)]([_0x16c307],[this[_0x25c483(0x3d5)]],!0x1);if(_0x2404ad(_0x5efb33)){const {c1Prime:_0x33f0f1,c2Prime:_0x4cbf06}=_0x5efb33;this[_0x25c483(0x297)](_0x33f0f1[0x0]),_0x4cbf06[0x0][_0x25c483(0x337)]=this[_0x25c483(0x255)](),this[_0x25c483(0x2da)]();const _0x1039d6=this['_injector'][_0x25c483(0x1a8)](le,this[_0x25c483(0x214)],this[_0x25c483(0x237)],_0x4cbf06[0x0],this[_0x25c483(0x2d2)]);return _0x1039d6['_updateLocalCache'](),_0x1039d6;}return this[_0x25c483(0x2cc)](!0x1);}catch(_0x16da4b){return this[_0x25c483(0x218)][_0x25c483(0x1e8)](_0x16da4b),this[_0x25c483(0x2cc)](!0x1);}}[_0x12ec3c(0x2be)](_0x583135){var _0x139da5=_0x12ec3c;this['_clearScheduledTask']();const _0x51f0b5=this['_revisionService'][_0x139da5(0x2fc)](this['unitID']);if(_0x583135[_0x139da5(0x1fb)]<_0x51f0b5-0x1)return this;if(this[_0x139da5(0x3ad)](_0x583135))return this[_0x139da5(0x1d0)][_0x139da5(0x1a8)](ee,this[_0x139da5(0x214)],this[_0x139da5(0x237)],null,[],this[_0x139da5(0x3d5)],[],this[_0x139da5(0x2d2)]);this['_incrementRevisionNumber']();const _0x220524=this['_injector'][_0x139da5(0x1a8)](Ne,this['unitID'],this['type'],this[_0x139da5(0x2d2)]);return _0x220524[_0x139da5(0x212)](),_0x220524;}['onRemoteRej'](_0x38dbff){var _0x19ede9=_0x12ec3c;return this[_0x19ede9(0x2cc)](!!(_0x38dbff!=null&&_0x38dbff[_0x19ede9(0x320)]));}[_0x12ec3c(0x213)](_0x4dfe78){var _0x489945=_0x12ec3c;return this[_0x489945(0x3ac)]>yi?this[_0x489945(0x2fb)]():(this[_0x489945(0x273)]=Ri(this[_0x489945(0x3ac)],{'timeout':this[_0x489945(0x3ac)],'reqId':_0x4dfe78['reqId']}),this['_sender']=this[_0x489945(0x273)][_0x489945(0x209)](({reqId:_0x4c96c7,timeout:_0x2634a1})=>{var _0x13c7f2=_0x489945;this[_0x13c7f2(0x358)](_0x4c96c7,_0x2634a1);}),this);}[_0x12ec3c(0x2fb)](){var _0x542d1a=_0x12ec3c;return this['_clearScheduledTask'](),this[_0x542d1a(0x1d0)][_0x542d1a(0x1a8)](de,this[_0x542d1a(0x214)],this[_0x542d1a(0x237)],this[_0x542d1a(0x3d5)],[],this[_0x542d1a(0x2d2)]);}[_0x12ec3c(0x29a)](){return this;}[_0x12ec3c(0x252)](){var _0x5186e3=_0x12ec3c;this[_0x5186e3(0x2d2)][_0x5186e3(0x300)](this[_0x5186e3(0x3d5)]);}[_0x12ec3c(0x2cc)](_0xf0b8b1){var _0xff3968=_0x12ec3c;return this[_0xff3968(0x2da)](),this[_0xff3968(0x1d0)][_0xff3968(0x1a8)](ue,this[_0xff3968(0x214)],this[_0xff3968(0x237)],this[_0xff3968(0x3d5)],[],this[_0xff3968(0x2d2)],_0xf0b8b1);}[_0x12ec3c(0x358)](_0x3a2672,_0x523a4e){var _0x4778c8=_0x12ec3c,_0x29ec9c;_0x3a2672===((_0x29ec9c=this[_0x4778c8(0x3d5)])==null?void 0x0:_0x29ec9c[_0x4778c8(0x3e7)])&&(this[_0x4778c8(0x252)](),this[_0x4778c8(0x3ac)]=_0x523a4e===0x0?0x3e8:_0x523a4e*0x2);}[_0x12ec3c(0x2da)](){var _0x5d5880=_0x12ec3c,_0x1c0a67;(_0x1c0a67=this[_0x5d5880(0x435)])==null||_0x1c0a67['unsubscribe'](),this[_0x5d5880(0x3ac)]=0x0;}};le=Te([P(0x4,_0xcdde00(_0x3ac3e0)),P(0x5,_0xcdde00(_0x4a118f)),P(0x6,_0x1a6580),P(0x7,_0x4c4c08),P(0x8,_0x10d518),P(0x9,_0x4a8d19),P(0xa,_0x92c5af(J))],le);let oe=class extends Ce{constructor(_0x470f36,_0x52dcb7,_0xb95a49,_0x3887fd,_0x2dc55b,_0x281dae,_0x4f6581,_0x2904b0,_0x303dcc,_0x260888,_0x57bc79,_0x1756ea,_0x1f79c0){var _0x56122f=_0x12ec3c;super(_0x470f36,_0x52dcb7,_0xb95a49,_0x3887fd,_0x2dc55b,_0x303dcc,_0x1756ea,_0x2904b0,_0x1f79c0),N(this,_0x56122f(0x319),_0x56122f(0x2d9)),N(this,'_resendTimeout',0x0),N(this,_0x56122f(0x273)),N(this,_0x56122f(0x435)),(this['_injector']=_0x4f6581,this[_0x56122f(0x218)]=_0x260888,this[_0x56122f(0x3d2)]=_0x57bc79,this[_0x56122f(0x333)]=_0x1f79c0,_0x281dae&&(this[_0x56122f(0x273)]=_0x281dae,this['_sender']=this[_0x56122f(0x273)][_0x56122f(0x209)](({reqId:_0x2bcbcf,timeout:_0x8a8d78})=>{this['_resendWithTimeout'](_0x2bcbcf,_0x8a8d78);})));}['appendMutation'](_0x5f1b66){var _0x4a9282=_0x12ec3c;return this[_0x4a9282(0x3e8)][_0x4a9282(0x404)](_0x5f1b66),this;}[_0x12ec3c(0x3f1)](_0x1bf6d8){var _0x5926bc=_0x12ec3c;if(this[_0x5926bc(0x3ad)](_0x1bf6d8))return this[_0x5926bc(0x2da)](),this[_0x5926bc(0x1d0)]['createInstance'](ee,this[_0x5926bc(0x214)],this['type'],this['_awaitingChangeset'],this[_0x5926bc(0x3e8)],null,[_0x1bf6d8],this[_0x5926bc(0x2d2)]);try{const _0x591a6f=this[_0x5926bc(0x3d2)][_0x5926bc(0x2d5)]([_0x1bf6d8],[this[_0x5926bc(0x3d5)]],!0x1);if(_0x2404ad(_0x591a6f)){const {c1Prime:_0x3d803e,c2Prime:_0x4ee5fd}=_0x591a6f,_0x5dd3b3=this[_0x5926bc(0x3d2)]['transformMutationsWithChangeset'](_0x3d803e[0x0],this[_0x5926bc(0x3e8)]);if(_0x46377c(_0x5dd3b3)){const {c1Prime:_0x1a4d66,m2Prime:_0x12c8d6}=_0x5dd3b3;return this['_executeRemoteChangeset'](_0x1a4d66),_0x4ee5fd[0x0][_0x5926bc(0x337)]=this[_0x5926bc(0x255)](),this['_clearScheduledTask'](),this[_0x5926bc(0x1d0)]['createInstance'](oe,this[_0x5926bc(0x214)],this[_0x5926bc(0x237)],_0x4ee5fd[0x0],_0x12c8d6,this[_0x5926bc(0x2d2)],void 0x0);}throw _0x5dd3b3['error'];}throw _0x591a6f[_0x5926bc(0x1e8)];}catch(_0x21330b){return this[_0x5926bc(0x218)][_0x5926bc(0x1e8)](_0x21330b),this[_0x5926bc(0x2cc)](!0x1);}}[_0x12ec3c(0x2be)](_0xe40e05){var _0x2d924f=_0x12ec3c;if(this[_0x2d924f(0x2da)](),this['_checkMissing'](_0xe40e05))return this[_0x2d924f(0x1d0)]['createInstance'](ee,this['unitID'],this[_0x2d924f(0x237)],null,this[_0x2d924f(0x3e8)],this[_0x2d924f(0x3d5)],[],this[_0x2d924f(0x2d2)]);this[_0x2d924f(0x217)]();const _0x5cc533=this[_0x2d924f(0x1d0)][_0x2d924f(0x1a8)](ae,this['unitID'],this[_0x2d924f(0x237)],this['_pendingMutations'],this[_0x2d924f(0x2d2)]);return _0x5cc533[_0x2d924f(0x171)](),_0x5cc533[_0x2d924f(0x212)](),_0x5cc533;}['onRemoteRej'](_0x483382){var _0x2209ee=_0x12ec3c;return this[_0x2209ee(0x2cc)](!!(_0x483382!=null&&_0x483382[_0x2209ee(0x320)]));}[_0x12ec3c(0x213)](_0x4b2d20){var _0x477f23=_0x12ec3c;return this[_0x477f23(0x3ac)]>yi?this[_0x477f23(0x2fb)]():(this[_0x477f23(0x273)]=Ri(this['_resendTimeout'],{'timeout':this[_0x477f23(0x3ac)],'reqId':_0x4b2d20[_0x477f23(0x3e7)]}),this['_sender']=this[_0x477f23(0x273)]['subscribe'](({reqId:_0x1000ec,timeout:_0x512fc6})=>{var _0xa451ec=_0x477f23;this[_0xa451ec(0x358)](_0x1000ec,_0x512fc6);}),this);}[_0x12ec3c(0x2fb)](){var _0x4552b9=_0x12ec3c;return this[_0x4552b9(0x2da)](),this[_0x4552b9(0x1d0)][_0x4552b9(0x1a8)](de,this[_0x4552b9(0x214)],this[_0x4552b9(0x237)],this[_0x4552b9(0x3d5)],this[_0x4552b9(0x3e8)],this['_handler']);}[_0x12ec3c(0x29a)](){return this;}['resend'](){var _0x4d42fc=_0x12ec3c;this[_0x4d42fc(0x2d2)]['onSendChangeset'](this[_0x4d42fc(0x3d5)]);}['_onConflict'](_0x29d1f8){var _0x553a59=_0x12ec3c;return this['_clearScheduledTask'](),this['_injector'][_0x553a59(0x1a8)](ue,this[_0x553a59(0x214)],this['type'],null,this[_0x553a59(0x3e8)],this[_0x553a59(0x2d2)],_0x29d1f8);}[_0x12ec3c(0x358)](_0x9f5a8c,_0x3d9fd2){var _0x287e8a=_0x12ec3c,_0x30eae1;_0x9f5a8c===((_0x30eae1=this['_awaitingChangeset'])==null?void 0x0:_0x30eae1[_0x287e8a(0x3e7)])&&(this[_0x287e8a(0x252)](),this['_resendTimeout']=_0x3d9fd2===0x0?0x3e8:_0x3d9fd2*0x2);}[_0x12ec3c(0x2da)](){var _0x1769e1=_0x12ec3c,_0xdf85b7;(_0xdf85b7=this[_0x1769e1(0x435)])==null||_0xdf85b7[_0x1769e1(0x1de)](),this['_resendTimeout']=0x0;}};oe=Te([P(0x6,_0xcdde00(_0x3ac3e0)),P(0x7,_0xcdde00(_0x4a118f)),P(0x8,_0x1a6580),P(0x9,_0x4c4c08),P(0xa,_0x10d518),P(0xb,_0x4a8d19),P(0xc,_0x92c5af(J))],oe);let ue=class extends Ce{constructor(_0x4e7ddf,_0x400ac,_0x4c80cb,_0x471948,_0x4bb444,_0x16d628=!0x1,_0xb7fbb7,_0x18aedb,_0x3f473f,_0x4539fb,_0x324d33,_0x4d6d94,_0x1c3b0f){var _0x41957e=_0x12ec3c;super(_0x4e7ddf,_0x400ac,_0x4c80cb,_0x471948,_0x4bb444,_0x18aedb,_0x3f473f,_0x4539fb,_0x1c3b0f),N(this,_0x41957e(0x319),_0x41957e(0x199)),(this[_0x41957e(0x32a)]=_0x16d628,this[_0x41957e(0x16d)]=_0xb7fbb7,this[_0x41957e(0x269)]=_0x324d33,this[_0x41957e(0x355)]=_0x4d6d94,this[_0x41957e(0x333)]=_0x1c3b0f,this[_0x41957e(0x3a8)](),this['_clearLocalCache'](),this[_0x41957e(0x2eb)]());}[_0x12ec3c(0x3c5)](){return this;}[_0x12ec3c(0x3f1)](){return this;}[_0x12ec3c(0x2be)](){return this;}['onRemoteRej'](){return this;}[_0x12ec3c(0x213)](){return this;}[_0x12ec3c(0x2fb)](){return this;}[_0x12ec3c(0x29a)](){return this;}['resend'](){var _0x10807a=_0x12ec3c;throw new Error(_0x10807a(0x425));}[_0x12ec3c(0x18b)](){var _0x4eaed3=_0x12ec3c,_0x4501a0;(_0x4501a0=this[_0x4eaed3(0x1f9)])==null||_0x4501a0['updateOfflineData'](this[_0x4eaed3(0x214)],this[_0x4eaed3(0x237)],null,[]);}[_0x12ec3c(0x3a8)](){var _0x6b6350=_0x12ec3c;this[_0x6b6350(0x32a)]?this[_0x6b6350(0x355)][_0x6b6350(0x2ea)]({'id':re[_0x6b6350(0x43d)]}):this[_0x6b6350(0x355)][_0x6b6350(0x2ea)]({'id':re[_0x6b6350(0x2b3)]});}['_disableEditing'](){var _0x5c824f=_0x12ec3c;this[_0x5c824f(0x16d)][_0x5c824f(0x415)](new _0x2b9c60(this['unitID'])['id'],!0x1);}};ue=Te([P(0x6,_0xcdde00(_0x1f8e18)),P(0x7,_0x1a6580),P(0x8,_0x4a8d19),P(0x9,_0xcdde00(_0x4a118f)),P(0xa,_0xcdde00(_0x14dddf)),P(0xb,_0xcdde00(pe)),P(0xc,_0x92c5af(J))],ue);let de=class extends Ce{constructor(_0x51441e,_0x3ce04c,_0x3e267e,_0xd74840,_0xed8423,_0x593181,_0x261c39,_0x32a6cb,_0x54894d,_0x48f0fd){super(_0x51441e,_0x3ce04c,_0x3e267e,_0xd74840,_0xed8423,_0x32a6cb,_0x54894d,_0x261c39,_0x48f0fd),N(this,'status','offline'),this['_injector']=_0x593181;}[_0x12ec3c(0x3c5)](_0x3177ef){var _0xc71b9=_0x12ec3c;return this['_pendingMutations'][_0xc71b9(0x404)](_0x3177ef),this[_0xc71b9(0x212)](),this;}[_0x12ec3c(0x3f1)](_0x4ed877){throw new Error('[OfflineState]:\x20received\x20changeset.');}[_0x12ec3c(0x2be)](){throw new Error('[OfflineState]:\x20received\x20acknowledgement.');}[_0x12ec3c(0x3e3)](){var _0x3655ad=_0x12ec3c;throw new Error(_0x3655ad(0x3ba));}['onRemoteRetry'](){return this;}[_0x12ec3c(0x2fb)](){return this;}['toggleOnline'](){var _0x23eb5f=_0x12ec3c;const {_injector:_0x3fd2f2,_pendingMutations:_0x1188fe,_awaitingChangeset:_0x22cef5,unitID:_0x1b2dda,_handler:_0x219c95,type:_0x272efa}=this,_0x99af3a=Oi(_0x3fd2f2,_0x1b2dda,_0x272efa,_0x22cef5,_0x1188fe,_0x219c95);return _0x99af3a instanceof ae?_0x99af3a[_0x23eb5f(0x171)]():(_0x99af3a instanceof oe||_0x99af3a instanceof le)&&_0x99af3a[_0x23eb5f(0x252)](),_0x99af3a;}['resend'](){var _0x31ef9c=_0x12ec3c;throw new Error(_0x31ef9c(0x210));}};de=Te([P(0x5,_0xcdde00(_0x3ac3e0)),P(0x6,_0xcdde00(_0x4a118f)),P(0x7,_0x1a6580),P(0x8,_0x4a8d19),P(0x9,_0x92c5af(J))],de);let ee=class extends Ce{constructor(_0x4a1916,_0x3e8473,_0x3b5bf9,_0x4adcd5,_0x13cf3b,_0x2f6b47,_0x410fb6,_0x2fa0e9,_0x1de8d3,_0x5d5037,_0x24038e,_0x253757,_0x4a2652,_0x4812ff){var _0x5d517b=_0x12ec3c;super(_0x4a1916,_0x3e8473,_0x3b5bf9,_0x4adcd5,_0x410fb6,_0x24038e,_0x253757,_0x1de8d3,_0x4812ff),N(this,_0x5d517b(0x319),_0x5d517b(0x2d8)),(this['_acknowledgedAwaitingChangeset']=_0x13cf3b,this[_0x5d517b(0x35b)]=_0x2f6b47,this[_0x5d517b(0x1d0)]=_0x2fa0e9,this[_0x5d517b(0x218)]=_0x5d5037,this['_transformService']=_0x4a2652,this['localCacheService']=_0x4812ff);}[_0x12ec3c(0x1a6)](_0x16619a){var _0x3070ad=_0x12ec3c;try{const _0x5e92f2=[..._0x16619a,...this[_0x3070ad(0x35b)]],_0x389800=[this[_0x3070ad(0x3d5)]||this[_0x3070ad(0x38b)]][_0x3070ad(0x2c8)](_0x4f68e9=>!!_0x4f68e9);let _0x283bf7,_0x50a861;if(_0x389800[_0x3070ad(0x3e1)]){const _0x19393d=this[_0x3070ad(0x3d2)]['transformChangesets'](_0x5e92f2,_0x389800,!0x1);if(!_0x2404ad(_0x19393d))throw _0x19393d[_0x3070ad(0x1e8)];_0x283bf7=_0x19393d[_0x3070ad(0x29d)],_0x50a861=_0x19393d[_0x3070ad(0x40b)];}else _0x283bf7=_0x5e92f2,_0x50a861=[];let _0x58441f=this[_0x3070ad(0x3e8)];_0x283bf7[_0x3070ad(0x3eb)](_0x2875fa=>{var _0x1c2efb=_0x3070ad;let _0x336f1c;if(_0x58441f[_0x1c2efb(0x3e1)]){const _0x19e223=this['_transformService'][_0x1c2efb(0x449)](_0x2875fa,_0x58441f);if(!_0x46377c(_0x19e223))throw _0x19e223[_0x1c2efb(0x1e8)];_0x336f1c=_0x19e223[_0x1c2efb(0x29d)],_0x58441f=_0x19e223[_0x1c2efb(0x44b)];}else _0x336f1c=_0x2875fa;this[_0x1c2efb(0x297)](_0x336f1c);}),this[_0x3070ad(0x38b)]&&this[_0x3070ad(0x217)](),this[_0x3070ad(0x3d5)]&&_0x50a861[_0x3070ad(0x3e1)]&&(_0x50a861[0x0][_0x3070ad(0x337)]=this[_0x3070ad(0x255)]());let _0x2427e7;if(this[_0x3070ad(0x3d5)]&&_0x58441f[_0x3070ad(0x3e1)]!==0x0)_0x2427e7=this['_injector'][_0x3070ad(0x1a8)](oe,this[_0x3070ad(0x214)],this[_0x3070ad(0x237)],_0x50a861[0x0],_0x58441f,this[_0x3070ad(0x2d2)],void 0x0);else{if(this['_awaitingChangeset']&&_0x58441f[_0x3070ad(0x3e1)]===0x0)_0x50a861[0x0][_0x3070ad(0x337)]=this[_0x3070ad(0x255)](),_0x2427e7=this[_0x3070ad(0x1d0)][_0x3070ad(0x1a8)](le,this['unitID'],this['type'],_0x50a861[0x0],this[_0x3070ad(0x2d2)]);else{if(_0x58441f[_0x3070ad(0x3e1)]!==0x0){const _0x51ed4c=this[_0x3070ad(0x1d0)]['createInstance'](ae,this['unitID'],this[_0x3070ad(0x237)],_0x58441f,this[_0x3070ad(0x2d2)]);_0x51ed4c['_schedule'](),_0x2427e7=_0x51ed4c;}else _0x2427e7=this['_injector'][_0x3070ad(0x1a8)](Ne,this[_0x3070ad(0x214)],this[_0x3070ad(0x237)],this[_0x3070ad(0x2d2)]);}}return _0x2427e7[_0x3070ad(0x212)](),_0x2427e7;}catch(_0xe706dc){return this[_0x3070ad(0x218)][_0x3070ad(0x1e8)](_0x3070ad(0x31d),'failed\x20to\x20apply\x20missed\x20changesets!',_0xe706dc),this['_injector'][_0x3070ad(0x1a8)](ue,this['unitID'],this[_0x3070ad(0x237)],this[_0x3070ad(0x3d5)],this[_0x3070ad(0x3e8)],this[_0x3070ad(0x2d2)],!0x1);}}['resend'](){var _0x483300=_0x12ec3c;throw new Error(_0x483300(0x403));}[_0x12ec3c(0x3c5)](_0xef79f1){var _0x26a2f7=_0x12ec3c;return this[_0x26a2f7(0x3e8)]['push'](_0xef79f1),this;}['onRemoteChangeset'](_0x4a2c56){var _0x41df0d=_0x12ec3c;return this[_0x41df0d(0x35b)][_0x41df0d(0x404)](_0x4a2c56),this;}['onRemoteAck'](_0x2d61ee){var _0x30cc11=_0x12ec3c;if(this[_0x30cc11(0x3d5)])return this[_0x30cc11(0x38b)]=this[_0x30cc11(0x3d5)],this[_0x30cc11(0x3d5)]=null,this;throw new Error(_0x30cc11(0x20b));}[_0x12ec3c(0x3e3)](_0x57b2c1){var _0x3669ed=_0x12ec3c;return this[_0x3669ed(0x2cc)](!!(_0x57b2c1!=null&&_0x57b2c1[_0x3669ed(0x320)]));}[_0x12ec3c(0x213)](){return this;}['toggleOffline'](){var _0x4834c2=_0x12ec3c;return this[_0x4834c2(0x1d0)][_0x4834c2(0x1a8)](de,this[_0x4834c2(0x214)],this[_0x4834c2(0x237)],this[_0x4834c2(0x3d5)],this[_0x4834c2(0x3e8)],this[_0x4834c2(0x2d2)]);}[_0x12ec3c(0x29a)](){return this;}['_onConflict'](_0x38b60f){var _0x99895b=_0x12ec3c;return this[_0x99895b(0x1d0)]['createInstance'](ue,this[_0x99895b(0x214)],this[_0x99895b(0x237)],this['_awaitingChangeset'],this[_0x99895b(0x3e8)],this[_0x99895b(0x2d2)],_0x38b60f);}};ee=Te([P(0x7,_0xcdde00(_0x3ac3e0)),P(0x8,_0xcdde00(_0x4a118f)),P(0x9,_0x4c4c08),P(0xa,_0x1a6580),P(0xb,_0x4a8d19),P(0xc,_0x10d518),P(0xd,_0x92c5af(J))],ee);function Oi(_0x3f97fc,_0x211ea9,_0x38ff80,_0x429863,_0xafeb27,_0x5b73ec){var _0x5f4a42=_0x12ec3c;return _0x429863&&_0xafeb27[_0x5f4a42(0x3e1)]?_0x3f97fc[_0x5f4a42(0x1a8)](oe,_0x211ea9,_0x38ff80,_0x429863,_0xafeb27,_0x5b73ec,void 0x0):_0x429863?_0x3f97fc[_0x5f4a42(0x1a8)](le,_0x211ea9,_0x38ff80,_0x429863,_0x5b73ec):_0xafeb27['length']?_0x3f97fc['createInstance'](ae,_0x211ea9,_0x38ff80,_0xafeb27,_0x5b73ec):_0x3f97fc[_0x5f4a42(0x1a8)](Ne,_0x211ea9,_0x38ff80,_0x5b73ec);}var as=Object['getOwnPropertyDescriptor'],Lt=(_0x124a34,_0x5d141e,_0x58cf41,_0x2a29b5)=>{var _0x2b708a=_0x12ec3c;for(var _0x5a049f=_0x2a29b5>0x1?void 0x0:_0x2a29b5?as(_0x5d141e,_0x58cf41):_0x5d141e,_0x19a717=_0x124a34[_0x2b708a(0x3e1)]-0x1,_0x2bf66f;_0x19a717>=0x0;_0x19a717--)(_0x2bf66f=_0x124a34[_0x19a717])&&(_0x5a049f=_0x2bf66f(_0x5a049f)||_0x5a049f);return _0x5a049f;},H=(_0xebe234,_0x4e9ce1)=>(_0x536a35,_0x4f2b14)=>_0x4e9ce1(_0x536a35,_0x4f2b14,_0xebe234);let nt=class extends _0x221eab{constructor(_0x528f58,_0x2ad5e8,_0x515f8a,_0x121ed9,_0x27422e,_0x2e06de,_0x1a145b,_0x33fe23,_0x1a2804,_0x25d853,_0xbffd32,_0x13c36f,_0x13ec9d){var _0x567a6f=_0x12ec3c;super(),N(this,_0x567a6f(0x416),new _0x3eca50(null)),N(this,_0x567a6f(0x3cd),this[_0x567a6f(0x416)][_0x567a6f(0x3e5)]()),N(this,_0x567a6f(0x2c3)),N(this,'_collaborationPaused',!0x1),N(this,_0x567a6f(0x40f),''),N(this,_0x567a6f(0x37e),0x0),N(this,_0x567a6f(0x2d0),this[_0x567a6f(0x3cd)]['pipe'](_0x2394ca(_0x1cc445=>_0x1cc445?_0x1cc445[_0x567a6f(0x319)]:bi['OFFLINE']),_0x126d73(0x1))),N(this,_0x567a6f(0x345),!0x1),N(this,_0x567a6f(0x2a5),[]),(this[_0x567a6f(0x214)]=_0x528f58,this[_0x567a6f(0x264)]=_0x2ad5e8,this[_0x567a6f(0x1e3)]=_0x515f8a,this[_0x567a6f(0x1d0)]=_0x121ed9,this['_compressMutationService']=_0x27422e,this[_0x567a6f(0x269)]=_0x2e06de,this[_0x567a6f(0x163)]=_0x1a145b,this[_0x567a6f(0x284)]=_0x33fe23,this[_0x567a6f(0x218)]=_0x1a2804,this[_0x567a6f(0x2e4)]=_0x25d853,this['_permissionService']=_0xbffd32,this[_0x567a6f(0x239)]=_0x13c36f,this[_0x567a6f(0x1f9)]=_0x13ec9d);}get[_0x12ec3c(0x27a)](){var _0x2438a9=_0x12ec3c;return this[_0x2438a9(0x2c3)];}async['init'](){var _0x547d72=_0x12ec3c;if(this[_0x547d72(0x27a)])throw new Error('[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.');await this['_init']();}['pauseCollaboration'](){var _0x87426e=_0x12ec3c;return this[_0x87426e(0x286)]=!0x0,_0x5d5085(()=>{var _0x37dd9d=_0x87426e;this['_collaborationPaused']=!0x1,this[_0x37dd9d(0x28d)]();});}[_0x12ec3c(0x281)](_0x585856){var _0x3ced61=_0x12ec3c;this[_0x3ced61(0x15f)](_0x585856);}[_0x12ec3c(0x16e)](_0xade07b){var _0xfc239c=_0x12ec3c;this[_0xfc239c(0x2c3)]=_0xade07b,this[_0xfc239c(0x416)]['next'](_0xade07b);}async[_0x12ec3c(0x2ac)](){var _0x5284c9=_0x12ec3c,_0x4173ac;this[_0x5284c9(0x16e)](await this[_0x5284c9(0x356)]()),this[_0x5284c9(0x239)]&&((_0x4173ac=this[_0x5284c9(0x239)])==null||_0x4173ac[_0x5284c9(0x1bb)](this[_0x5284c9(0x214)]),this[_0x5284c9(0x219)](this['_singleActiveUnitService'][_0x5284c9(0x282)](this[_0x5284c9(0x214)])['subscribe'](_0x5251ce=>{var _0x312dc8=_0x5284c9;this['_logService'][_0x312dc8(0x2aa)]('[CollaborationEntity]','editing\x20status\x20changed\x20to',_0x5251ce),_0x5251ce===Ci['OTHER_CLIENTS_EDITING']?(this[_0x312dc8(0x284)]['emitEvent']({'id':re['OTHER_CLIENT_EDITING']}),this[_0x312dc8(0x16d)][_0x312dc8(0x415)](new _0x2b9c60(this[_0x312dc8(0x214)])['id'],!0x1),this[_0x312dc8(0x16d)]['setShowComponents'](!0x1)):(this[_0x312dc8(0x16d)][_0x312dc8(0x415)](new _0x2b9c60(this[_0x312dc8(0x214)])['id'],!0x0),this[_0x312dc8(0x16d)][_0x312dc8(0x1c3)](!0x0));})));let _0x1c215a=!0x1;return this[_0x5284c9(0x219)](this[_0x5284c9(0x264)][_0x5284c9(0x1fd)][_0x5284c9(0x209)](_0x137d26=>{var _0x171c31=_0x5284c9;_0x137d26===Ee[_0x171c31(0x38f)]?this['_toggleOnline'](_0x1c215a):_0x137d26===Ee[_0x171c31(0x2a1)]&&(_0x1c215a=!0x0,this['_toggleOffline']());})),this[_0x5284c9(0x219)](this[_0x5284c9(0x264)][_0x5284c9(0x360)][_0x5284c9(0x209)](_0x482a87=>{var _0x5070da=_0x5284c9;try{switch(_0x482a87[_0x5070da(0x244)]){case _0x3cdc31['NEW_CHANGESETS']:{this[_0x5070da(0x15a)](_0x5b6b76(_0x482a87[_0x5070da(0x25e)]));break;}case _0x3cdc31[_0x5070da(0x22b)]:{this[_0x5070da(0x2bb)](_0x482a87[_0x5070da(0x25e)]);break;}case _0x3cdc31[_0x5070da(0x409)]:{this[_0x5070da(0x1e1)]();break;}case _0x3cdc31[_0x5070da(0x3ee)]:{this['_onRemoteRetry'](_0x482a87['data']);break;}case _0x3cdc31[_0x5070da(0x2a9)]:{this[_0x5070da(0x2e9)](_0x482a87['data']['changesets'][_0x5070da(0x413)](_0x2218a2=>_0x5b6b76(_0x2218a2)));break;}case _0x3cdc31[_0x5070da(0x1d7)]:{this[_0x5070da(0x1e1)]({'isPermissionRej':!0x0});break;}case _0x3cdc31[_0x5070da(0x1f1)]:break;}}catch(_0x2e4b56){throw console[_0x5070da(0x1e8)]('Error\x20on\x20receiving\x20event',_0x2e4b56),_0x2e4b56;}})),this[_0x5284c9(0x2c3)];}[_0x12ec3c(0x1c5)](){this['_transitionLocked']=!0x1;}[_0x12ec3c(0x1fe)](){var _0x1dc7a8=_0x12ec3c;if(this[_0x1dc7a8(0x345)])throw new Error(_0x1dc7a8(0x1da));this['_transitionLocked']=!0x0;}['_onLocalMutation'](_0x5a39ba){var _0x76f09d=_0x12ec3c;this[_0x76f09d(0x1fe)](),this[_0x76f09d(0x16e)](this['_state'][_0x76f09d(0x3c5)](_0x5a39ba)),this[_0x76f09d(0x1c5)]();}[_0x12ec3c(0x15a)](_0x1d8e97){var _0x2a2fba=_0x12ec3c;if(!(_0x1d8e97['revision']<=this[_0x2a2fba(0x163)][_0x2a2fba(0x2fc)](this['unitID']))){if(this[_0x2a2fba(0x286)]){this[_0x2a2fba(0x2a5)]['push'](_0x1d8e97);return;}this[_0x2a2fba(0x25f)](_0x1d8e97);}}[_0x12ec3c(0x28d)](){var _0x52f58c=_0x12ec3c;this[_0x52f58c(0x2a5)]['forEach'](_0x234e08=>this[_0x52f58c(0x25f)](_0x234e08)),this['_remoteChangesetQueue']=[];}['_applyRemoteChangeset'](_0x29ac93){var _0x211758=_0x12ec3c;const _0x2040ff=this[_0x211758(0x28e)][_0x211758(0x17a)][_0x211758(0x26f)](this[_0x211758(0x28e)][_0x211758(0x17a)][_0x211758(0x1b1)]()[_0x211758(0x322)])(_0x29ac93[_0x211758(0x328)],null)||_0x29ac93[_0x211758(0x328)],_0x30dad4={..._0x29ac93,'mutations':_0x2040ff};this[_0x211758(0x1fe)](),this['_updateState'](this[_0x211758(0x2c3)][_0x211758(0x3f1)](_0x30dad4)),this[_0x211758(0x1c5)]();}[_0x12ec3c(0x2bb)](_0x375f5f){var _0x384d11=_0x12ec3c;this[_0x384d11(0x1fe)](),this[_0x384d11(0x16e)](this[_0x384d11(0x2c3)][_0x384d11(0x2be)](_0x375f5f)),this[_0x384d11(0x1c5)]();}[_0x12ec3c(0x1e1)](_0x5ce18d){var _0x50882f=_0x12ec3c;this['_lockTransition'](),this[_0x50882f(0x16e)](this[_0x50882f(0x2c3)][_0x50882f(0x3e3)](_0x5ce18d)),this['_unlockTransition']();}['_onRemoteRetry'](_0xb9cf67){var _0x43bb5b=_0x12ec3c;this[_0x43bb5b(0x1fe)](),this[_0x43bb5b(0x16e)](this[_0x43bb5b(0x2c3)][_0x43bb5b(0x213)](_0xb9cf67)),this[_0x43bb5b(0x1c5)]();}[_0x12ec3c(0x2e9)](_0x17576c){var _0x173e78=_0x12ec3c;if(!(this[_0x173e78(0x2c3)]instanceof ee))throw new TypeError('[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!');const _0x276f49=_0x17576c[_0x173e78(0x413)](_0x4e9906=>{var _0xaf7560=_0x173e78;const _0x4962e6=this[_0xaf7560(0x28e)]['interceptor'][_0xaf7560(0x26f)](this[_0xaf7560(0x28e)][_0xaf7560(0x17a)]['getInterceptPoints']()[_0xaf7560(0x322)])(_0x4e9906[_0xaf7560(0x328)],null)||_0x4e9906['mutations'];return{..._0x4e9906,'mutations':_0x4962e6};});this[_0x173e78(0x1fe)](),this[_0x173e78(0x16e)](this[_0x173e78(0x2c3)][_0x173e78(0x1a6)](_0x276f49)),this[_0x173e78(0x1c5)]();}[_0x12ec3c(0x3de)](){var _0x238e2e=_0x12ec3c;this[_0x238e2e(0x1fe)](),this['_updateState'](this['_state'][_0x238e2e(0x2fb)]()),this[_0x238e2e(0x1c5)]();}['_toggleOnline'](_0x57cde1=!0x1){var _0x48cfe2=_0x12ec3c;this[_0x48cfe2(0x1fe)](),this[_0x48cfe2(0x16e)](this['_state'][_0x48cfe2(0x29a)]()),this['_unlockTransition']();const _0x1e50f8=this[_0x48cfe2(0x2c3)];_0x57cde1&&_0x1e50f8 instanceof Ne&&(this[_0x48cfe2(0x1fe)](),this[_0x48cfe2(0x16e)](_0x1e50f8['fetchMiss']()),this[_0x48cfe2(0x1c5)]());}async[_0x12ec3c(0x356)](){return new Promise(_0x197e73=>{var _0x1a4922=_0x7e46;this[_0x1a4922(0x264)][_0x1a4922(0x1fd)][_0x1a4922(0x275)](_0x1e5b04(0x1))['subscribe'](async _0x211ef0=>{var _0x4a05b0=_0x1a4922;_0x197e73(await this['_createInitialStateImpl'](_0x211ef0===Ee[_0x4a05b0(0x38f)]));});});}['_createHandler'](){var _0x2dca1b=_0x12ec3c;const _0x41f819=this[_0x2dca1b(0x214)];return{'onStateChange':(_0x1c74f5,_0x2dd1ee)=>{var _0x4ad1af=_0x2dca1b;if(_0x1c74f5!==this['_state'])throw new Error(_0x4ad1af(0x1ab)+_0x1c74f5[_0x4ad1af(0x319)]+_0x4ad1af(0x1a5)+_0x2dd1ee[_0x4ad1af(0x319)]+_0x4ad1af(0x336)+this[_0x4ad1af(0x2c3)][_0x4ad1af(0x319)]);this[_0x4ad1af(0x16e)](_0x2dd1ee);},'onSendChangeset':_0x1e3e60=>{var _0x4f8329=_0x2dca1b;_0x1e3e60[_0x4f8329(0x15c)]||(_0x1e3e60[_0x4f8329(0x15c)]=this[_0x4f8329(0x40f)],_0x1e3e60[_0x4f8329(0x3e7)]=++this[_0x4f8329(0x37e)]);const _0x31e61e={'eventID':_0x3cdc31['SUBMIT_CHANGESET'],'data':{'unitID':_0x1e3e60['unitID'],'unitType':this[_0x4f8329(0x1e3)],'changeset':_0x1e3e60,'memberID':this[_0x4f8329(0x264)]['getMemberID']()}};this[_0x4f8329(0x264)]['send'](_0x31e61e,this[_0x4f8329(0x214)]);},'onMissingChangesets':({from:_0x2bf2cb,to:_0xad2dde})=>{var _0x243119=_0x2dca1b;this[_0x243119(0x218)][_0x243119(0x2aa)]('[CollaborationEntity]',_0x243119(0x27e)+_0x2bf2cb+_0x243119(0x2ff)+_0xad2dde);const _0x4b53ee={'eventID':_0x3cdc31['FETCH_MISSING'],'data':{'unitID':_0x41f819,'unitType':this[_0x243119(0x1e3)],'from':_0x2bf2cb,'to':_0xad2dde}};this[_0x243119(0x264)][_0x243119(0x1b4)](_0x4b53ee,this[_0x243119(0x214)]);}};}async[_0x12ec3c(0x296)](_0x419337){var _0x27c4be=_0x12ec3c,_0x2e12cd,_0x2698af,_0x3d9b89;const _0x5f2727=await((_0x2e12cd=this[_0x27c4be(0x1f9)])==null?void 0x0:_0x2e12cd[_0x27c4be(0x427)](this['unitID'])),_0x5b09a2=(_0x2698af=_0x5f2727==null?void 0x0:_0x5f2727[_0x27c4be(0x328)])!=null?_0x2698af:[],_0xd038b6=(_0x3d9b89=_0x5f2727==null?void 0x0:_0x5f2727['awaitingChangeset'])!=null?_0x3d9b89:null,_0x50b691=!!(_0xd038b6!=null&&_0xd038b6['sid'])&&!!(_0xd038b6!=null&&_0xd038b6[_0x27c4be(0x3e7)]);this[_0x27c4be(0x40f)]=_0x50b691?_0xd038b6[_0x27c4be(0x15c)]:Zn(),this[_0x27c4be(0x37e)]=_0x50b691?_0xd038b6[_0x27c4be(0x3e7)]:0x0;const _0x5a0507=this[_0x27c4be(0x214)];try{this['_replayCachedMutations'](_0xd038b6,_0x5b09a2);}catch(_0x2993f2){this['_logService']['error'](_0x2993f2);}const _0x4cf911=this[_0x27c4be(0x16a)]();if(_0x419337){const _0x792db4=Oi(this[_0x27c4be(0x1d0)],_0x5a0507,this[_0x27c4be(0x1e3)],_0xd038b6,_0x5b09a2,_0x4cf911);return _0x792db4 instanceof ae?_0x792db4[_0x27c4be(0x171)]():(_0x792db4 instanceof oe||_0x792db4 instanceof le)&&_0x792db4[_0x27c4be(0x252)](),_0x792db4;}return this[_0x27c4be(0x1d0)][_0x27c4be(0x1a8)](de,_0x5a0507,this[_0x27c4be(0x1e3)],_0xd038b6,_0x5b09a2,_0x4cf911);}['_replayCachedMutations'](_0x670baa,_0x5af439){var _0x1461af=_0x12ec3c,_0x4032ae,_0xd28732;const _0x200c30=this[_0x1461af(0x28e)][_0x1461af(0x17a)][_0x1461af(0x26f)](this[_0x1461af(0x28e)][_0x1461af(0x17a)][_0x1461af(0x1b1)]()[_0x1461af(0x322)]);(_0x4032ae=_0x200c30((_0x670baa==null?void 0x0:_0x670baa[_0x1461af(0x328)])||[],null))==null||_0x4032ae[_0x1461af(0x3eb)](_0xd60ea1=>this['_commandService'][_0x1461af(0x1ec)](_0xd60ea1['id'],_0xd60ea1[_0x1461af(0x35e)])),(_0xd28732=_0x200c30(_0x5af439||[],null))==null||_0xd28732[_0x1461af(0x3eb)](_0x5ed1de=>this[_0x1461af(0x2e4)]['executeCommand'](_0x5ed1de['id'],_0x5ed1de['params']));}};nt=Lt([H(0x3,_0xcdde00(_0x3ac3e0)),H(0x4,_0xcdde00(_0x2c7d1a)),H(0x5,_0xcdde00(_0x14dddf)),H(0x6,_0xcdde00(_0x4a118f)),H(0x7,_0xcdde00(pe)),H(0x8,_0x4c4c08),H(0x9,_0x1a6580),H(0xa,_0x1f8e18),H(0xb,_0x92c5af(ht)),H(0xc,_0x92c5af(J))],nt);let It=class extends nt{constructor(_0x143f02,_0x27c73d,_0x2afdf5,_0x5bbf95,_0x5c1d6,_0x134f03,_0x58c2e3,_0x3e3814,_0x158733,_0x2db508,_0x29ee79,_0x4995d9,_0x2c6487){var _0x32c23b=_0x12ec3c;super(_0x143f02,_0x2afdf5,_0x27c73d,_0x5bbf95,_0x5c1d6,_0x134f03,_0x58c2e3,_0x3e3814,_0x158733,_0x2db508,_0x29ee79,_0x4995d9,_0x2c6487),N(this,_0x32c23b(0x227),null),(this[_0x32c23b(0x214)]=_0x143f02,this[_0x32c23b(0x237)]=_0x27c73d);}['addHandlerCallback'](_0x11cefb){var _0x13de7b=_0x12ec3c;this[_0x13de7b(0x227)]=_0x11cefb;}['dispose'](){var _0x3e2487=_0x12ec3c;this[_0x3e2487(0x227)]=null,super[_0x3e2487(0x202)]();}[_0x12ec3c(0x16a)](){var _0x13a4bb=_0x12ec3c;const _0xc3503=super['_createHandler']();return _0xc3503[_0x13a4bb(0x17b)]=_0x529c35=>{var _0x43fcf0=_0x13a4bb,_0x3c76d3,_0x16bfaa;return(_0x16bfaa=(_0x3c76d3=this['_handlerCallback'])==null?void 0x0:_0x3c76d3[_0x43fcf0(0x17b)])==null?void 0x0:_0x16bfaa['call'](_0x3c76d3,_0x529c35);},_0xc3503[_0x13a4bb(0x251)]=_0x51085e=>{var _0x2d4e4b=_0x13a4bb,_0x4a0bb9,_0x187303;return(_0x187303=(_0x4a0bb9=this[_0x2d4e4b(0x227)])==null?void 0x0:_0x4a0bb9[_0x2d4e4b(0x251)])==null?void 0x0:_0x187303['call'](_0x4a0bb9,_0x51085e);},_0xc3503[_0x13a4bb(0x1cb)]=_0x12970e=>{var _0x5e1939=_0x13a4bb,_0x389979,_0x11d6b7;return(_0x11d6b7=(_0x389979=this[_0x5e1939(0x227)])==null?void 0x0:_0x389979[_0x5e1939(0x1cb)])==null?void 0x0:_0x11d6b7[_0x5e1939(0x288)](_0x389979,_0x12970e);},_0xc3503['onSyncEditingCollabCursor']=_0x490fcc=>{var _0x24b810=_0x13a4bb,_0x3ca787,_0x2587ae;return(_0x2587ae=(_0x3ca787=this[_0x24b810(0x227)])==null?void 0x0:_0x3ca787[_0x24b810(0x18c)])==null?void 0x0:_0x2587ae[_0x24b810(0x288)](_0x3ca787,_0x490fcc);},_0xc3503[_0x13a4bb(0x1ef)]=_0x5b9178=>{var _0x295a0d=_0x13a4bb,_0x3f2e79,_0x3b07a3,_0x2fbc11;if(!((_0x3f2e79=this[_0x295a0d(0x227)])!=null&&_0x3f2e79['onTransformRemoteChangesetByIMECache']))throw new Error(_0x295a0d(0x193));return(_0x2fbc11=(_0x3b07a3=this[_0x295a0d(0x227)])==null?void 0x0:_0x3b07a3[_0x295a0d(0x1ef)])==null?void 0x0:_0x2fbc11[_0x295a0d(0x288)](_0x3b07a3,_0x5b9178);},_0xc3503[_0x13a4bb(0x312)]=_0xf34b5f=>{var _0x46a49e=_0x13a4bb,_0x4d1722,_0x5ace3b,_0x344261;if(!((_0x4d1722=this['_handlerCallback'])!=null&&_0x4d1722[_0x46a49e(0x312)]))throw new Error(_0x46a49e(0x223));return(_0x344261=(_0x5ace3b=this[_0x46a49e(0x227)])==null?void 0x0:_0x5ace3b[_0x46a49e(0x312)])==null?void 0x0:_0x344261[_0x46a49e(0x288)](_0x5ace3b,_0xf34b5f);},_0xc3503;}async['_init'](){var _0x5ed9cc=_0x12ec3c;const _0x4c3864=await super[_0x5ed9cc(0x2ac)]();return this[_0x5ed9cc(0x219)](this[_0x5ed9cc(0x2e4)][_0x5ed9cc(0x180)]((_0x432f0b,_0x47cb51)=>{var _0x8569be=_0x5ed9cc;if(_0x432f0b['type']!==_0x5baef3[_0x8569be(0x21a)]||_0x47cb51!=null&&_0x47cb51[_0x8569be(0x23e)]||_0x47cb51!=null&&_0x47cb51[_0x8569be(0x418)]||_0x432f0b['id']===_0x331543['id'])return;const _0x1c45d8=_0x432f0b[_0x8569be(0x35e)];if((_0x1c45d8==null?void 0x0:_0x1c45d8[_0x8569be(0x41d)])!==this['unitID'])return;const _0x29f5e7=_0x432f0b,_0x1b862d=this[_0x8569be(0x28e)][_0x8569be(0x17a)][_0x8569be(0x26f)](this['_compressMutationService'][_0x8569be(0x17a)][_0x8569be(0x1b1)]()['COMPRESS_MUTATION_SEND'])([_0x29f5e7],null)||[_0x29f5e7];this[_0x8569be(0x15f)](_0x1b862d[0x0]);})),_0x4c3864;}};It=Lt([H(0x3,_0xcdde00(_0x3ac3e0)),H(0x4,_0xcdde00(_0x2c7d1a)),H(0x5,_0xcdde00(_0x14dddf)),H(0x6,_0xcdde00(_0x4a118f)),H(0x7,_0xcdde00(pe)),H(0x8,_0x4c4c08),H(0x9,_0x1a6580),H(0xa,_0x1f8e18),H(0xb,_0x92c5af(ht)),H(0xc,_0x92c5af(J))],It);let Tt=class extends nt{constructor(_0x292723,_0x59f309,_0x56a740,_0x1ad2f6,_0x1f2987,_0x3c1344,_0xf5bd41,_0x478033,_0x3ece91,_0x4957f3,_0x14eda9,_0x550a4c,_0x2a6fad,_0x48060c){var _0x3d564a=_0x12ec3c;super(_0x292723,_0x56a740,_0x59f309,_0x1ad2f6,_0x1f2987,_0x3c1344,_0xf5bd41,_0x3ece91,_0x4957f3,_0x14eda9,_0x550a4c,_0x2a6fad,_0x48060c),this[_0x3d564a(0x214)]=_0x292723,this[_0x3d564a(0x237)]=_0x59f309,this[_0x3d564a(0x401)]=_0x478033;}[_0x12ec3c(0x16a)](){var _0x1219fc=_0x12ec3c;const _0x190a82=super[_0x1219fc(0x16a)]();return _0x190a82[_0x1219fc(0x1cb)]=_0x2d5898=>this[_0x1219fc(0x401)][_0x1219fc(0x39d)](_0x2d5898),_0x190a82;}async[_0x12ec3c(0x2ac)](){var _0x5b693f=_0x12ec3c;const _0x59a941=await super[_0x5b693f(0x2ac)]();return this[_0x5b693f(0x219)](this[_0x5b693f(0x2e4)]['onCommandExecuted']((_0x77e908,_0x796943)=>{var _0x49d502=_0x5b693f;if(_0x77e908[_0x49d502(0x237)]!==_0x5baef3[_0x49d502(0x21a)]||_0x796943!=null&&_0x796943[_0x49d502(0x23e)]||_0x796943!=null&&_0x796943[_0x49d502(0x418)])return;const _0x133fd4=_0x77e908[_0x49d502(0x35e)];if((_0x133fd4==null?void 0x0:_0x133fd4['unitId'])!==this['unitID'])return;const _0x3bace1=_0x77e908,_0x1c21d4=this[_0x49d502(0x28e)]['interceptor'][_0x49d502(0x26f)](this[_0x49d502(0x28e)][_0x49d502(0x17a)][_0x49d502(0x1b1)]()[_0x49d502(0x2df)])([_0x3bace1],null)||[_0x3bace1];this[_0x49d502(0x15f)](_0x1c21d4[0x0]);})),_0x59a941;}};Tt=Lt([H(0x3,_0xcdde00(_0x3ac3e0)),H(0x4,_0xcdde00(_0x2c7d1a)),H(0x5,_0xcdde00(_0x14dddf)),H(0x6,_0xcdde00(_0x4a118f)),H(0x7,_0xcdde00(it)),H(0x8,_0xcdde00(pe)),H(0x9,_0x4c4c08),H(0xa,_0x1a6580),H(0xb,_0x1f8e18),H(0xc,_0x92c5af(ht)),H(0xd,_0x92c5af(J))],Tt);var os=Object['getOwnPropertyDescriptor'],cs=(_0x4749ce,_0x5e02cf,_0x4d5ca1,_0x121550)=>{for(var _0xcacf31=_0x121550>0x1?void 0x0:_0x121550?os(_0x5e02cf,_0x4d5ca1):_0x5e02cf,_0x40be4c=_0x4749ce['length']-0x1,_0x1699b0;_0x40be4c>=0x0;_0x40be4c--)(_0x1699b0=_0x4749ce[_0x40be4c])&&(_0xcacf31=_0x1699b0(_0xcacf31)||_0xcacf31);return _0xcacf31;},ft=(_0x5eea9f,_0x21067e)=>(_0x356433,_0x59cd32)=>_0x21067e(_0x356433,_0x59cd32,_0x5eea9f);let st=class extends _0x221eab{constructor(_0x1a16b3,_0x443412,_0x35a0e8){var _0x547fca=_0x12ec3c;super(),N(this,_0x547fca(0x298),new Map()),N(this,_0x547fca(0x36d),new _0x238823()),N(this,_0x547fca(0x1c7),this[_0x547fca(0x36d)][_0x547fca(0x3e5)]()),(this[_0x547fca(0x1d0)]=_0x1a16b3,this['_collabSessionService']=_0x443412,this['_univerInstanceService']=_0x35a0e8,this[_0x547fca(0x2ac)]());}[_0x12ec3c(0x202)](){var _0x5e6e1b=_0x12ec3c;super[_0x5e6e1b(0x202)](),this['_entities']['forEach'](_0x55bbd0=>_0x55bbd0[_0x5e6e1b(0x202)]()),this['_entities'][_0x5e6e1b(0x24e)]();}[_0x12ec3c(0x1c6)](_0x23d561){var _0x168f76=_0x12ec3c,_0x937283;return(_0x937283=this[_0x168f76(0x298)][_0x168f76(0x2e0)](_0x23d561))!=null?_0x937283:null;}[_0x12ec3c(0x1fc)](_0xa4f6ee){var _0x589be5=_0x12ec3c;const _0x212597=this[_0x589be5(0x1c6)](_0xa4f6ee);return _0x212597?_0x5aa6f4(_0x212597):this[_0x589be5(0x36d)][_0x589be5(0x275)](_0x217676(_0x1b20c7=>_0x1b20c7[_0x589be5(0x214)]===_0xa4f6ee));}[_0x12ec3c(0x173)](_0x540711){var _0x45eebf=_0x12ec3c;return _0x3675db(this[_0x45eebf(0x1fc)](_0x540711)[_0x45eebf(0x275)](_0x378e98(()=>{})));}['_init'](){var _0x4f388e=_0x12ec3c;this[_0x4f388e(0x248)][_0x4f388e(0x31a)](_0xa8cbc9['UNIVER_SHEET'])['pipe'](_0x993a0b(this[_0x4f388e(0x41e)]),_0x371c85(0x10))['subscribe'](async _0x40def9=>{var _0xf2b51=_0x4f388e;const _0x1446d0=_0x40def9['getUnitId'](),_0x54c05a=await this['_startCollaboration'](_0x1446d0,Q[_0xf2b51(0x397)]);this[_0xf2b51(0x298)][_0xf2b51(0x2f7)](_0x1446d0,_0x54c05a);}),this[_0x4f388e(0x248)]['getTypeOfUnitAdded$'](_0xa8cbc9[_0x4f388e(0x374)])[_0x4f388e(0x275)](_0x993a0b(this['dispose$']),_0x371c85(0x10))[_0x4f388e(0x275)](_0x217676(_0x4478e2=>!_0x4478e2[_0x4f388e(0x3f7)]()['startsWith']('__')))['subscribe'](async _0x193e3e=>{var _0x263e4b=_0x4f388e;const _0x1e93bf=_0x193e3e['getUnitId'](),_0x67dda5=await this[_0x263e4b(0x2a8)](_0x1e93bf,Q[_0x263e4b(0x374)]);this['_entities'][_0x263e4b(0x2f7)](_0x1e93bf,_0x67dda5);}),_0x1c8303(this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0xa8cbc9[_0x4f388e(0x397)]),this['_univerInstanceService'][_0x4f388e(0x36f)](_0xa8cbc9['UNIVER_DOC']))['pipe'](_0x993a0b(this[_0x4f388e(0x41e)]))[_0x4f388e(0x209)](_0x5235b9=>{var _0x37164f=_0x4f388e;const _0x1cfe4e=_0x5235b9[_0x37164f(0x3f7)](),_0x271f29=this['_entities'][_0x37164f(0x2e0)](_0x1cfe4e);_0x271f29&&(_0x271f29['dispose'](),this[_0x37164f(0x298)][_0x37164f(0x194)](_0x1cfe4e));});}async[_0x12ec3c(0x2a8)](_0x594696,_0x1ad898){var _0x13cb35=_0x12ec3c;const _0xb1dfbc=await this[_0x13cb35(0x437)]['requireSession'](_0x594696),_0x5d48b0=this[_0x13cb35(0x1d0)]['createInstance'](this[_0x13cb35(0x2ad)](_0x1ad898),_0x594696,_0x1ad898,_0xb1dfbc);return await _0x5d48b0[_0x13cb35(0x2b6)](),this[_0x13cb35(0x36d)][_0x13cb35(0x1fa)](_0x5d48b0),_0x5d48b0;}[_0x12ec3c(0x2ad)](_0x4a7045){var _0x307207=_0x12ec3c;switch(_0x4a7045){case Q[_0x307207(0x374)]:return It;case Q[_0x307207(0x397)]:return Tt;default:throw new Error(_0x307207(0x3e0)+_0x4a7045);}}};st=cs([ft(0x0,_0xcdde00(_0x3ac3e0)),ft(0x1,_0xcdde00(xe)),ft(0x2,_0x72f3ae)],st);var hs=Object[_0x12ec3c(0x1d4)],_s=(_0x495227,_0x363d87,_0x4830d7,_0x2d519a)=>{var _0xe67c1e=_0x12ec3c;for(var _0x96ee42=_0x2d519a>0x1?void 0x0:_0x2d519a?hs(_0x363d87,_0x4830d7):_0x363d87,_0x2beb18=_0x495227[_0xe67c1e(0x3e1)]-0x1,_0xdb089b;_0x2beb18>=0x0;_0x2beb18--)(_0xdb089b=_0x495227[_0x2beb18])&&(_0x96ee42=_0xdb089b(_0x96ee42)||_0x96ee42);return _0x96ee42;},zt=(_0x5a34cf,_0x4c095e)=>(_0x27753e,_0x2ee094)=>_0x4c095e(_0x27753e,_0x2ee094,_0x5a34cf);const ls=_0x12ec3c(0x182),us=_0x12ec3c(0x424);let Ct=class extends _0x3ba9b8{constructor(_0xb6ea6c,_0x488cc1){var _0xd50f49=_0x12ec3c;super(),this[_0xd50f49(0x248)]=_0xb6ea6c,this[_0xd50f49(0x2bf)]=_0x488cc1,this['_init']();}[_0x12ec3c(0x2ac)](){var _0x3a17c4=_0x12ec3c;this[_0x3a17c4(0x219)](this[_0x3a17c4(0x248)][_0x3a17c4(0x236)]['subscribe'](()=>{var _0x51886f=_0x3a17c4,_0xb008fb;const _0x355f30=this['_univerInstanceService'][_0x51886f(0x381)]();let _0x9eb7fc=(_0xb008fb=this[_0x51886f(0x2bf)]['getConfig'](ls))!=null?_0xb008fb:us;_0x355f30 instanceof _0x21c41e&&(_0x9eb7fc=_0x355f30[_0x51886f(0x1f6)]),document[_0x51886f(0x18f)]=_0x9eb7fc;}));}};Ct=_s([zt(0x0,_0x72f3ae),zt(0x1,_0x1a732b)],Ct);var ds=Object[_0x12ec3c(0x1d4)],fs=(_0x442795,_0x1a5110,_0x57cb75,_0x899756)=>{var _0x4ed9d2=_0x12ec3c;for(var _0x4f8061=_0x899756>0x1?void 0x0:_0x899756?ds(_0x1a5110,_0x57cb75):_0x1a5110,_0x3e2f2e=_0x442795[_0x4ed9d2(0x3e1)]-0x1,_0x2f9caf;_0x3e2f2e>=0x0;_0x3e2f2e--)(_0x2f9caf=_0x442795[_0x3e2f2e])&&(_0x4f8061=_0x2f9caf(_0x4f8061)||_0x4f8061);return _0x4f8061;},vt=(_0x5ca8df,_0x2a5d67)=>(_0x5899cf,_0x1a16af)=>_0x2a5d67(_0x5899cf,_0x1a16af,_0x5ca8df);let rt=class{constructor(_0x228acd,_0x257435,_0x126dd8){var _0x4c7a26=_0x12ec3c;this[_0x4c7a26(0x2bf)]=_0x228acd,this['_httpService']=_0x257435,this[_0x4c7a26(0x1dc)]=_0x126dd8,this[_0x4c7a26(0x2b6)]();}[_0x12ec3c(0x2b6)](){var _0xba35d=_0x12ec3c;this[_0xba35d(0x303)][_0xba35d(0x423)]({'priority':0x1,'interceptor':(_0x8661f9,_0x5e5863)=>_0x5e5863(_0x8661f9)[_0xba35d(0x275)](_0x499e2e(async _0x550000=>{var _0x2f538c=_0xba35d;const _0x1e8478=_0x550000;if(_0x1e8478['status']===0x191){if(typeof window>'u')throw new Error(_0x2f538c(0x323));if(window[_0x2f538c(0x3af)](this[_0x2f538c(0x1dc)]['t'](_0x2f538c(0x1e4)))){const _0x5de52d=window[_0x2f538c(0x1ac)](window[_0x2f538c(0x292)][_0x2f538c(0x2ca)]);window['location'][_0x2f538c(0x2ca)]=this['_getLoginPath']()+_0x2f538c(0x3cc)+_0x5de52d;}}return _0x1e8478;}))});}['_getLoginPath'](){var _0x899a36=_0x12ec3c,_0x1e2575,_0x4e1b27;const _0x2d8aca=this[_0x899a36(0x2bf)][_0x899a36(0x235)](Un),_0x20a644=this[_0x899a36(0x2bf)][_0x899a36(0x235)](q);return(_0x4e1b27=(_0x1e2575=_0x20a644==null?void 0x0:_0x20a644['loginUrlKey'])!=null?_0x1e2575:_0x2d8aca)!=null?_0x4e1b27:An;}};rt=fs([vt(0x0,_0x1a732b),vt(0x1,_0xcdde00(_0x4d96c8)),vt(0x2,_0xcdde00(_0x14dddf))],rt);var vs=Object['getOwnPropertyDescriptor'],ps=(_0x516494,_0x21a5a0,_0x3b3ad5,_0x37b8de)=>{var _0x153998=_0x12ec3c;for(var _0x510a3c=_0x37b8de>0x1?void 0x0:_0x37b8de?vs(_0x21a5a0,_0x3b3ad5):_0x21a5a0,_0x477e16=_0x516494[_0x153998(0x3e1)]-0x1,_0x1e5bb8;_0x477e16>=0x0;_0x477e16--)(_0x1e5bb8=_0x516494[_0x477e16])&&(_0x510a3c=_0x1e5bb8(_0x510a3c)||_0x510a3c);return _0x510a3c;},Jt=(_0x267d3a,_0x3ceb07)=>(_0x3341f0,_0x5e08b9)=>_0x3ceb07(_0x3341f0,_0x5e08b9,_0x267d3a);const Ni=_0x12ec3c(0x3a0),ms='/universer-api/authz';let Rt=class extends _0x3ba9b8{constructor(_0x31727e,_0x505fb2){var _0x83b7db=_0x12ec3c;super(),this[_0x83b7db(0x33c)]=_0x31727e,this[_0x83b7db(0x2bf)]=_0x505fb2,this[_0x83b7db(0x35d)]();}[_0x12ec3c(0x35d)](){const _0x2030cd=this;this['disposeWithMe'](this['_HTTPService']['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':_0xc9345f({'isMatch'(_0x2fe4e0){var _0x4bce0d=_0x7e46,_0x53d2f6;if(_0x2fe4e0['method']==='POST'&&((_0x53d2f6=_0x2fe4e0[_0x4bce0d(0x375)])!=null&&_0x53d2f6[_0x4bce0d(0x411)])){const {objectID:_0x1c1b1a,objectType:_0x13b58e}=_0x2fe4e0[_0x4bce0d(0x375)][_0x4bce0d(0x411)]||{};if(!_0x1c1b1a||_0x13b58e===void 0x0)return!0x1;const _0x3de2b7=_0x2030cd[_0x4bce0d(0x36c)]()+'/'+_0x13b58e+_0x4bce0d(0x3f0)+_0x1c1b1a+'/allowed';if(_0x2fe4e0[_0x4bce0d(0x3a9)]===_0x3de2b7)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x4827d8){var _0x157ba9=_0x7e46,_0x250be6;return(_0x250be6=_0x4827d8[_0x157ba9(0x375)])==null?void 0x0:_0x250be6[_0x157ba9(0x411)];},'mergeParamsToRequest'(_0x340a52,_0xde38dc){var _0x9172ea=_0x7e46;const _0x207763=_0x2030cd[_0x9172ea(0x36c)]()+'/-/object/-/batch_allowed',_0x4a396a=_0x340a52[_0x9172ea(0x3ab)]((_0xf8d5a3,_0x54cead)=>{var _0x10b9fc=_0x9172ea;const {unitID:_0x5c8ed4,objectID:_0x774496,objectType:_0x5c3c6e,actions:_0x2c1290}=_0x54cead;return _0xf8d5a3[_0x5c8ed4]||(_0xf8d5a3[_0x5c8ed4]={}),_0xf8d5a3[_0x5c8ed4][_0x774496]||(_0xf8d5a3[_0x5c8ed4][_0x774496]={'objectID':_0x774496,'objectType':_0x5c3c6e,'actions':[]}),_0xf8d5a3[_0x5c8ed4][_0x774496][_0x10b9fc(0x3d8)][_0x10b9fc(0x404)](..._0x2c1290),_0xf8d5a3;},{}),_0x31dc34=[];for(const _0x3373f0 in _0x4a396a)for(const _0xfcdb70 in _0x4a396a[_0x3373f0]){const {actions:_0x1d57b4,objectType:_0x3244ea}=_0x4a396a[_0x3373f0][_0xfcdb70],_0xbdf8cc=[...new Set(_0x1d57b4)];_0x31dc34['push']({'unitID':_0x3373f0,'objectID':_0xfcdb70,'objectType':_0x3244ea,'actions':_0xbdf8cc});}return new _0x4f5cf9('POST',_0x207763,{'headers':_0xde38dc[_0x9172ea(0x344)],'withCredentials':_0xde38dc[_0x9172ea(0x1c1)],'responseType':_0xde38dc[_0x9172ea(0x242)],'body':{'requests':_0x31dc34}});}},{'distributeResult'(_0x2ee15d,_0x3e877e){var _0x229e15=_0x7e46;const {objectActions:_0x155f86}=_0x2ee15d;return _0x3e877e[_0x229e15(0x413)](_0xd2ae15=>{var _0x477a5d=_0x229e15;const {unitID:_0x4600ce,objectID:_0x5bc719,actions:_0x498c7f}=_0xd2ae15,_0x4db901=_0x155f86[_0x477a5d(0x314)](_0x24705a=>_0x24705a['unitID']===_0x4600ce&&_0x24705a['objectID']===_0x5bc719),_0x2acd61=_0x498c7f['map'](_0x372469=>_0x4db901==null?void 0x0:_0x4db901[_0x477a5d(0x3d8)][_0x477a5d(0x314)](_0x37a852=>_0x37a852['action']===_0x372469))['filter'](_0x302407=>!!_0x302407);return{'config':_0xd2ae15,'result':{'actions':_0x2acd61,'error':_0x2ee15d['error']}};});}})}));}[_0x12ec3c(0x36c)](){var _0x20ddea=_0x12ec3c,_0x4bf81c,_0x4926de;const _0x40072a=this[_0x20ddea(0x2bf)][_0x20ddea(0x235)](Ni),_0x30bbfe=this[_0x20ddea(0x2bf)]['getConfig'](q);return(_0x4926de=(_0x4bf81c=_0x30bbfe==null?void 0x0:_0x30bbfe[_0x20ddea(0x306)])!=null?_0x4bf81c:_0x40072a)!=null?_0x4926de:ms;}async['create'](_0x5b1da6){var _0xba60c6=_0x12ec3c;const _0x1aa09f=this[_0xba60c6(0x36c)]()+'/'+_0x5b1da6[_0xba60c6(0x3b3)]+_0xba60c6(0x24b);return(await this[_0xba60c6(0x33c)][_0xba60c6(0x3fd)](_0x1aa09f,{'body':_0x5b1da6}))['body'][_0xba60c6(0x19e)]||'';}async[_0x12ec3c(0x1a4)](_0x21c705){var _0x50783c=_0x12ec3c;const _0x347a95=this['_getAPIPrefixPath']()+_0x50783c(0x1cc);return(await this['_HTTPService'][_0x50783c(0x3fd)](_0x347a95,{'body':_0x21c705}))[_0x50783c(0x411)]['objects'];}async[_0x12ec3c(0x2c1)](_0x1ec1be){var _0x54c926=_0x12ec3c,_0x1a5674,_0x38261e;const _0x451d8c=this[_0x54c926(0x36c)]()+'/'+_0x1ec1be[_0x54c926(0x3b3)]+_0x54c926(0x3f0)+_0x1ec1be['objectID'],_0x2c0aa9=await this['_HTTPService']['put'](_0x451d8c,{'body':_0x1ec1be});if(((_0x38261e=(_0x1a5674=_0x2c0aa9==null?void 0x0:_0x2c0aa9[_0x54c926(0x411)])==null?void 0x0:_0x1a5674[_0x54c926(0x1e8)])==null?void 0x0:_0x38261e[_0x54c926(0x268)])!==0x1)throw new Error('Failed\x20to\x20update\x20permission\x20point');}async[_0x12ec3c(0x37a)](_0x1aa5d6){var _0x30d4b1=_0x12ec3c;const _0x1ab626=this['_getAPIPrefixPath']()+'/'+_0x1aa5d6[_0x30d4b1(0x3b3)]+'/object/'+_0x1aa5d6['objectID']+_0x30d4b1(0x208);return(await this[_0x30d4b1(0x33c)][_0x30d4b1(0x3fd)](_0x1ab626,{'body':_0x1aa5d6}))['body'][_0x30d4b1(0x3d8)];}async['batchAllowed'](_0x2f3c15){var _0x522970=_0x12ec3c;const _0x113539=this[_0x522970(0x36c)]()+'/-/object/-/batch_allowed';return(await this['_HTTPService'][_0x522970(0x3fd)](_0x113539,{'body':{'requests':_0x2f3c15}}))[_0x522970(0x411)][_0x522970(0x27f)];}async[_0x12ec3c(0x432)](_0x102fbe){var _0xd00b84=_0x12ec3c;const _0x4a7c8e=this[_0xd00b84(0x36c)]()+'/'+_0x102fbe['objectType']+_0xd00b84(0x35a),_0x3a3420=await this['_HTTPService'][_0xd00b84(0x3fd)](_0x4a7c8e,{'body':_0x102fbe});return{'roles':_0x3a3420[_0xd00b84(0x411)]['roles'],'actions':_0x3a3420['body'][_0xd00b84(0x3d8)]};}async[_0x12ec3c(0x3d9)](_0x284f47){var _0x5a68ff=_0x12ec3c;const _0x1f17ef=this[_0x5a68ff(0x36c)]()+'/collaborator';await this[_0x5a68ff(0x33c)][_0x5a68ff(0x194)](_0x1f17ef,{'params':{'collaboratorID':_0x284f47['collaboratorID'],'objectID':_0x284f47[_0x5a68ff(0x19e)],'unitID':_0x284f47[_0x5a68ff(0x214)]}});}async[_0x12ec3c(0x3a5)](_0x187c6a){var _0x5ac296=_0x12ec3c;const _0x3461d2=this[_0x5ac296(0x36c)]()+'/collaborator';await this[_0x5ac296(0x33c)][_0x5ac296(0x185)](_0x3461d2,{'body':_0x187c6a});}async[_0x12ec3c(0x3b9)](_0x3a7336){var _0x52ea04=_0x12ec3c;const _0x8af361=this[_0x52ea04(0x36c)]()+_0x52ea04(0x245);await this['_HTTPService'][_0x52ea04(0x3fd)](_0x8af361,{'body':_0x3a7336});}async[_0x12ec3c(0x1ca)](_0x109209){var _0x39789=_0x12ec3c;const _0x2b0d07=this[_0x39789(0x36c)]()+_0x39789(0x245);return(await this['_HTTPService'][_0x39789(0x2e0)](_0x2b0d07,{'params':{'objectID':_0x109209[_0x39789(0x19e)],'unitID':_0x109209[_0x39789(0x214)]}}))['body'][_0x39789(0x1df)];}async['putCollaborators'](_0xee1f02){var _0x537c57=_0x12ec3c;const _0x2a1a66=this[_0x537c57(0x36c)]()+_0x537c57(0x245);await this[_0x537c57(0x33c)][_0x537c57(0x3bd)](_0x2a1a66,{'body':_0xee1f02});}};Rt=ps([Jt(0x0,_0xcdde00(_0x4d96c8)),Jt(0x1,_0xcdde00(_0x1a732b))],Rt);var pt=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function He(_0x3446d1){var _0x34f19e=_0x12ec3c;return _0x3446d1&&_0x3446d1[_0x34f19e(0x42f)]&&Object[_0x34f19e(0x291)]['hasOwnProperty'][_0x34f19e(0x288)](_0x3446d1,'default')?_0x3446d1[_0x34f19e(0x16c)]:_0x3446d1;}function _0x551a(){var _0x4c1114=['words','infoRsp','_userManagerService','1310HUcLYG','mutations','GLOBAL_ROOMS_CNT_EXCEEDS','_isPermissionRej','enableAuthServer','stringify','YUUMI_UNABLE_LOAD_URL','getTime','iterations','repeat','_redoStacks','SOCKET_FAILED','localCacheService','_transformStateCache','uniscriptRunEvent','\x0aCurrent:\x20','baseRev','FileId','unit-cache-','_onConnectionFailed','ENSURE_SNAPSHOT_EXECUTION','_HTTPService','_process','[CollaborationUndoRedoService]','_onUserLeave','_startTelemetryCollaborationNewChangeset','parse','_replaceFileID','_initCloseConn','headers','_transitionLocked','_waitCount','_syncEditingCollabCursor','reverse','_onOffline','LOGIN_FAILED','&source=','LIVESHARE_TERMINATE','_iv','Encryptor','getUnitOnRev','_getSignURL','userID','awaiting','[CollaborationSession]','loadDoc','_collaborationUIEventService','_createInitialState','LICENSE_IMPORT_SIZE_EXCEEDED','_resendWithTimeout','concat','/role','_queuedRemoteChangesets','routeKey','_initMergeInterceptor','params','INGEST','event$','_doFinalize','__creator','getActiveSheet','univer-pro.collaboration-client.network-condition.service','_scheduleCollaborationTimeoutTimer','liveShareNewHost','values','40041780LnouVs','_event$','floor','_reverseMap','_getAPIPrefixPath','_entityInit$','_clearRedo','getTypeOfUnitDisposed$','copyFileMeta','_throwTelemetryCollaborationNewChangeset','POST','_doProcessBlock','UNIVER_DOC','requestParams','_members','SNAPSHOT_INVALID_SNAPSHOT','INVALID_INVITE_CODE','JOIN_ROOM_NOT_EXISTS','allowed','MD5','UNRECOGNIZED','SNAPSHOT_SERVER_URL_KEY','_changesetReqId','_memberService','_scheduleCompleteTimestamp','getFocusedUnit','_clearRetryConnectingTimer','result','csAckEvent','hasher','_roomMembers','ERROR_EXCEED_SIZE','LIVESHARE_FETCH_OPERATIONS','TOO_MANY_REQUESTS','getMemberID','_acknowledgedAwaitingChangeset','_transformIMECache','generateRandomId','[PendingState]:\x20received\x20rejection.','ONLINE','[CollaborationState]:\x20apply\x20error!','HmacMD5','waitForRoom$','1925iDShJf','apply','_transformSelections','changesets','UNIVER_SHEET','__Key__','Hasher','offline','APPLY_NON_SEQUENTIAL_REVISION','UserProfileImg','transformSelections','ceil','SNAPSHOT_URL_KEY','AUTHZ_URL_KEY','_onRecvEvent','SYNCED','AWAITING','_ENC_XFORM_MODE','updateCollaborator','kdf','FETCH_MISSING','_showConflictNotification','url','x-univer-host','reduce','_resendTimeout','_checkMissing','_undoRedoService','confirm','_tryReconnect','OPTIONAL','awaitingChangeset','objectType','unitId\x20is\x20not\x20found','EMAIL_HAS_BEEN_BOUND','from','isArray','fetchMiss','createCollaborator','[OfflineState]:\x20received\x20rejection.','LICENSE_DISTRO_REJECTED','PY_RUNTIME_SCRIPT_ERROR','put','_keySchedule','memberID','SerializableCipher','_submitChangeset','members','findIndex','target','appendMutation','AWAITING_WITH_PENDING','bind','/universer-api/snapshot/','CLOSE_ROOM','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','_sendHeartbeat','?url=','state$','_commentUpdate$','_commentService','YUUMI_RATE_OVER_LIMIT','LIVESHARE_OPERATION','_transformService','OTHER_CLIENTS_EDITING','random','_awaitingChangeset','_collaborationTimeoutTimer','Pkcs7','actions','deleteCollaborator','/universer-api/stream/file/upload','SOCKET_FAILED_RETRY','unknown','saveSnapshot','_toggleOffline','$super','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','length','_decreaseWaiting','onRemoteRej','reject','asObservable','JOIN_ROOM_FAILED','reqId','_pendingMutations','slice','_getAPIPrefix','forEach','clone','key','CHANGESET_SHOULD_RETRY','_sessionStatus$','/object/','onRemoteChangeset','/universer-api/authz','rng','10360szPGCo','PasswordBasedCipher','_getRedoStack','getUnitId','charAt','RETRY_CONNECTING_MAX_COUNT','_unitID','BASE64','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','post','MSG_FOR_ERROR','_stopTelemetryCollaborationNewChangeset','saveImage','_sheetTransformSelectionsService','csShouldRetryEvent','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','push','_socketService','buffer','_hasher','equals','CHANGESET_REJ','getValue','c2Prime','_transformUndoredo','getCurrentSelections','online$','_changesetSessionId','UNKNOWN_CODE','body','getUnit','map','getRandomValues','updatePermissionPoint','_state$','image/jpeg','onlyLocal','byteLength','_initUnitPermissionChange','_telemetryService','_rescheduleHeartbeat','unitId','dispose$','getSheetBlock','_timeoutTimer','[SyncedState]:\x20received\x20rejection.','_map','registerHTTPInterceptor','Univer','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','_change$','loadOfflineData','abs','_keyPriorReset','/new_changes','roomInfos','COLLAB_WEB_SOCKET_URL','splice','transformUndoRedo','__esModule','USERS_LEAVE','&to=','listRoles','toString','telemetry\x20info\x20is\x20not\x20initialized','_sender','finalize','_collabSessionService','ERROR_IMAGE','SUBMIT_CHANGESET','EvpKDF','_onConnectionOpen','UNDEFINED','PERMISSION_DENIED','Base','_status$','signUrlServerUrl','_clearTimeoutTimer','shouldCloseConn','pluginName','&assign=','LIVESHARE_REQUEST_HOST','add','_listenToNetworkCondition','indexOf','transformMutationsWithChangeset','_socket$','m2Prime','join','getRoom','message$','_instanceService','createSocket','_createSocket','_socketMessageSubscription','_prevBlock','originalMeta','_onCombEvent','_candidateSocket','_onRemoteChangeset','cfg','sid','NEW_CHANGESETS','compute','_onLocalMutation','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','YUUMI_URL_COL_OUT_OF_RANGE','blockSize','_revisionService','_networkConditionService','UNIVER_PROJECT','_getSendChangesetTimeout','_emitMembers','[PendingState]:\x20received\x20acknowledgement.','_imageSourceCache','_createHandler','/universer-api/comb','default','_permissionService','_updateState','239XwZtGJ','_loadDoc','_schedule','setWaitCount','readyForCollab','readInt32LE','disableLocalCache','/universer-api/user/session-ticket','onMissingChangesets','ivSize','Hex','interceptor','onTransformIME','/universer-api/oidc/authpage','synced','padding','decryptBlock','onCommandExecuted','randomBytes','DEFAULT_FILE_NAME','socket\x20open.','_fetchMissChangesets','patch','image/bmp','/unit/','complete','_updateStatus','csRejEvent','_clearLocalCache','onSyncEditingCollabCursor','_doCreateSocket','[PendingState]:\x20unhandled\x20univer\x20type:\x20','title','processBlock','/universer-api/uniscript','reconnect','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','delete','Cipher','createDecryptor','reset','duration','conflict','transformStack\x20failed!','leaveEvent','_clearHeartbeatTimer','CipherParams','objectID','textRanges','Random\x20bytes\x20length\x20must\x20be\x20>=\x2016','create','Could\x20not\x20dynamically\x20require\x20\x22','getAllMembers','list','\x0aAfter:\x20','onMissedChangesetFetched','LOGIN_URL_KEY','createInstance','getSheetId','cmd','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','encodeURIComponent','updateMember','BlockCipherMode','SNAPSHOT_HAS_BEEN_REMOVED','ciphertext','getInterceptPoints','_xformMode','mode','send','NOT_FOUND','catch','/resources','HttpImport','updatePermissionObjEvent','_unitInfo$','editingUnit','Undefined','commentUpdateEvent','_DEC_XFORM_MODE','requireSession','open$','withCredentials','LICENSE_MAX_UNITS_EXCEEDED','setShowComponents','WordArray','_unlockTransition','getCollabEntity','entityInit$','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','decrypt','listCollaborators','onTransformSelections','/-/object/list','image/png','_config','rev','_injector','_socket','createEncryptor','getResourcesRequest','getOwnPropertyDescriptor','ALREADY_EXISTS','_collaborationSessionService','PERMISSION_REJ','_getDownloadEndpointURL','exports','[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.','onStarting','localeService','close','unsubscribe','collaborators','NoPadding','_onRemoteRejected','6coQcVS','_type','auth.needGotoLoginAlert','onCommentUpdate','includes','HELLO','error','execute','_sendHeartbeatTimer','[CollaborationSessionService]:\x20socket\x20error','executeCommand','_waitForHeartbeatResponse','incrementRevOfUnit','onTransformRemoteChangesetByIMECache','randomUUID','UNISCRIPT_RUN','_telemetryInfo','_minBufferSize','UNIVER_SLIDE','IDLE','name','collabSubmitChangesetUrl','_parse','_localCacheService','next','revision','getCollabEntity$','sessionStatus$','_lockTransition','NO_OTHER_CLIENTS_EDITING','UnitEmbedded','[CollaborationSessionService]','dispose','fromCharCode','JOINING','_iKey','_retryCount','range','/allowed','subscribe','string','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','joinEvent','_nDataBytes','_members$','UNAUTHENTICATED','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','UnitSnapshot','_updateLocalCache','onRemoteRetry','unitID','getCurrentUser','_sendingTimer','_incrementRevisionNumber','_logService','disposeWithMe','MUTATION','BufferedBlockAlgorithm','encode','Decryptor','session.room-cnt-exceeds','collaboration-client.local-cache-service','APPLY_DUPLICATED','connection\x20error','OTHER_CLIENT_EDITING','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','INVITE_CODE_HAS_BEEN_UES','7880rwEUgo','_shouldReportTelemetry','_handlerCallback','stopTime','UPDATE_CURSOR','keySize','CHANGESET_ACK','_clearUndo','clamp','_tryEnsureSocket','_roomCreated$','min','SHA1','session.join-failed','_mode','snapshot','getConfig','focused$','type','crypto','_singleActiveUnitService','mixIn','JOIN_ROOM_FULL','capture','loadSheet','fromCollab','LEAVE','socketService','session.room-full','responseType','substr','eventID','/collaborator','Base64','then','_univerInstanceService','hostname','_doReset','/object','sigBytes','YUUMI_SUBSCRIPTION_NOT_FOUND','clear','close$','saveChangeset','onTransformState','resend','HEARTBEAT','formatter','_getCurrentRevision','removeMember','_transformRemoteChangesetByIMECache','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','BlockCipher','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','_append','_initRequestHeader','data','_applyRemoteChangeset','APPLY_REJECT','MOBILE_HAS_BEEN_BOUND','max','closeSession','session','_hash','deepClone','encryptBlock','code','_localeService','_doCryptBlock','initWorkbookPermissionChange','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','6774858RhhMor','INVITE_CODE_ALREADY_BOUND','fetchThroughInterceptors','sessionStatus','_createHelper','EXCHANGE_SIGN_URL_SERVER_URL_KEY','_resendTimer','HttpExport','pipe','COMPLETION_FINISHED','_data','HmacSHA1','downloadEndpointUrl','state','setCurrentUser','msCrypto','getUnitType','fetching\x20missing\x20changesets\x20from\x20','objectActions','PERSON','onLocalMutation','getUnitStatus$','CHANGESET_REVISION_CONFILICT','_eventService','FAIL','_collaborationPaused','UNKNOWN_CMD','call','_getUndoStack','src','_createHmacHelper','origin','_exhaustRemoteChangesetQueue','_compressMutationService','now','CBC','prototype','location','CONNECTOR_DATA_TOO_LARGE','pad','APPLY_PERMISSION_DENIED','_createInitialStateImpl','_executeRemoteChangeset','_entities','_cipher','toggleOnline','_joinRoom','_transformRemoteChangesetByStateCache','c1Prime','564204QMbAJh','FETCH_MISS','permissionRejEvent','OFFLINE','getSnapshotAPIPath','algo','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','_remoteChangesetQueue','2954viYvBE','21bXcQgn','_startCollaboration','PSEUDO_FETCH_MISSING_RESULT','debug','univer-pro.collaboration-client.single-active-unit-service','_init','_getCtorByUniverType','1348510JEMRDP','StreamCipher','Latin1','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','CONFLICT','function','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','init','USERS_ENTER','onStateChange','_onMessage','enc','_onRemoteACK','_onJoinRoomEvent','[DataLoaderService]','onRemoteAck','_configService','_key','update','subject','_state','_socketReady','byteOffset','size','INTERNAL_ERROR','filter','UNIVER_UNKNOWN','href','getMember','_onConflict','_substituteRedoStack','Utf8','HEARTBEAT_TIMEOUT','status$','change$','_handler','PENDING','socket$','transformChangesets','_snapshotServerService','_nRounds','fetch_missing','awaiting_with_pending','_clearScheduledTask','encrypt','{fileID}','members$','/block/','COMPRESS_MUTATION_SEND','get','commentUpdate$','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','extend','_commandService','_transformStack','salt','_loadSheet','_getUploadFileURL','_onFetchMissResult','emitEvent','_disableEditing','has','defineProperty','HEARTBEAT_INTERVAL','_undoStacks','file','People','updateCursorEvent','refreshPermission','RECV','_substituteUndoStack','UNIVER_COLLABORATION_CLIENT_PLUGIN','set','AES','_clearCollaborationTimeoutTimer','JOIN','toggleOffline','getCurrentRevOfUnit','INVITE_CODE_REQUIRED','WECHAT_HAS_BEEN_BOUND','\x20to\x20','onSendChangeset','APPLY_REVISION_CONFILICT','session.room-permission-denied','_httpService','_initDependencies','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','authzUrl','\x20in\x20_schedule.','JOIN_ROOM_PERMISSION_DENIED','HMAC','selections','fetchMissingChangesets','avatar','OpenSSL','SUBMIT_CHANGESET_TIMEOUT','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','_retryConnectingTimer','collaboration-client.config','onTransformRemoteChangesetByStateCache','lib','find','_registerDependencies','format','LIVESHARE_NEW_HOST','error$','status','getTypeOfUnitAdded$','/rev/','_snapshotService','[FetchMissState]','LICENSE_EXPORT_SIZE_EXCEEDED','setConfig','isPermissionRej','_sessions','COMPRESS_MUTATION_APPLY','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.'];_0x551a=function(){return _0x4c1114;};return _0x551a();}var Ve={'exports':{}};function gs(_0x3011e0){var _0x2e214b=_0x12ec3c;throw new Error(_0x2e214b(0x1a2)+_0x3011e0+_0x2e214b(0x2a4));}var Ge={'exports':{}},Ss=Ge[_0x12ec3c(0x1d9)],Xt;function ie(){var _0x2c1cd2=_0x12ec3c;return Xt||(Xt=0x1,function(_0x19b3f6,_0x2019f1){(function(_0x1e5845,_0x5ac89c){var _0xf531ec=_0x7e46;_0x19b3f6[_0xf531ec(0x1d9)]=_0x5ac89c();}(Ss,function(){var _0x4431df=_0x4431df||function(_0x21a977,_0x4144f4){var _0x29550c=_0x7e46,_0x2719e5;if(typeof window<'u'&&window[_0x29550c(0x238)]&&(_0x2719e5=window['crypto']),typeof self<'u'&&self[_0x29550c(0x238)]&&(_0x2719e5=self[_0x29550c(0x238)]),typeof globalThis<'u'&&globalThis[_0x29550c(0x238)]&&(_0x2719e5=globalThis[_0x29550c(0x238)]),!_0x2719e5&&typeof window<'u'&&window[_0x29550c(0x27c)]&&(_0x2719e5=window[_0x29550c(0x27c)]),!_0x2719e5&&typeof pt<'u'&&pt[_0x29550c(0x238)]&&(_0x2719e5=pt[_0x29550c(0x238)]),!_0x2719e5&&typeof gs=='function')try{_0x2719e5=require(_0x29550c(0x238));}catch{}var _0x38055f=function(){var _0x3a1f40=_0x29550c;if(_0x2719e5){if(typeof _0x2719e5['getRandomValues']==_0x3a1f40(0x2b4))try{return _0x2719e5[_0x3a1f40(0x414)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x2719e5[_0x3a1f40(0x181)]==_0x3a1f40(0x2b4))try{return _0x2719e5[_0x3a1f40(0x181)](0x4)[_0x3a1f40(0x174)]();}catch{}}throw new Error(_0x3a1f40(0x2b2));},_0xcc629f=Object['create']||(function(){function _0x4fcd0f(){}return function(_0x7e55fe){var _0x36c8f9=_0x7e46,_0x1b1984;return _0x4fcd0f[_0x36c8f9(0x291)]=_0x7e55fe,_0x1b1984=new _0x4fcd0f(),_0x4fcd0f[_0x36c8f9(0x291)]=null,_0x1b1984;};}()),_0x39d42e={},_0x40eff3=_0x39d42e[_0x29550c(0x313)]={},_0x5167f9=_0x40eff3[_0x29550c(0x43e)]=(function(){return{'extend':function(_0x28fe15){var _0x460b21=_0x7e46,_0x237292=_0xcc629f(this);return _0x28fe15&&_0x237292['mixIn'](_0x28fe15),(!_0x237292['hasOwnProperty']('init')||this['init']===_0x237292[_0x460b21(0x2b6)])&&(_0x237292[_0x460b21(0x2b6)]=function(){var _0x446791=_0x460b21;_0x237292[_0x446791(0x3df)][_0x446791(0x2b6)][_0x446791(0x394)](this,arguments);}),_0x237292[_0x460b21(0x2b6)][_0x460b21(0x291)]=_0x237292,_0x237292[_0x460b21(0x3df)]=this,_0x237292;},'create':function(){var _0x46fb6e=_0x7e46,_0x10ad68=this[_0x46fb6e(0x2e3)]();return _0x10ad68[_0x46fb6e(0x2b6)][_0x46fb6e(0x394)](_0x10ad68,arguments),_0x10ad68;},'init':function(){},'mixIn':function(_0xa7d58f){var _0x27c4e0=_0x7e46;for(var _0x45899d in _0xa7d58f)_0xa7d58f['hasOwnProperty'](_0x45899d)&&(this[_0x45899d]=_0xa7d58f[_0x45899d]);_0xa7d58f['hasOwnProperty'](_0x27c4e0(0x433))&&(this['toString']=_0xa7d58f[_0x27c4e0(0x433)]);},'clone':function(){var _0x29b8d2=_0x7e46;return this['init']['prototype'][_0x29b8d2(0x2e3)](this);}};}()),_0x48936e=_0x40eff3[_0x29550c(0x1c4)]=_0x5167f9[_0x29550c(0x2e3)]({'init':function(_0x3e2a6f,_0x2f2ab0){var _0x4e406e=_0x29550c;_0x3e2a6f=this[_0x4e406e(0x324)]=_0x3e2a6f||[],_0x2f2ab0!=_0x4144f4?this[_0x4e406e(0x24c)]=_0x2f2ab0:this[_0x4e406e(0x24c)]=_0x3e2a6f['length']*0x4;},'toString':function(_0x283d6f){return(_0x283d6f||_0x4c5ba1)['stringify'](this);},'concat':function(_0x4850d7){var _0x36c46d=_0x29550c,_0x5f28e5=this[_0x36c46d(0x324)],_0x3990df=_0x4850d7[_0x36c46d(0x324)],_0x4b0b79=this['sigBytes'],_0x579b85=_0x4850d7[_0x36c46d(0x24c)];if(this[_0x36c46d(0x22d)](),_0x4b0b79%0x4)for(var _0x436b88=0x0;_0x436b88<_0x579b85;_0x436b88++){var _0x4c7fa7=_0x3990df[_0x436b88>>>0x2]>>>0x18-_0x436b88%0x4*0x8&0xff;_0x5f28e5[_0x4b0b79+_0x436b88>>>0x2]|=_0x4c7fa7<<0x18-(_0x4b0b79+_0x436b88)%0x4*0x8;}else{for(var _0x4c602d=0x0;_0x4c602d<_0x579b85;_0x4c602d+=0x4)_0x5f28e5[_0x4b0b79+_0x4c602d>>>0x2]=_0x3990df[_0x4c602d>>>0x2];}return this['sigBytes']+=_0x579b85,this;},'clamp':function(){var _0x52507e=_0x29550c,_0x587371=this[_0x52507e(0x324)],_0x181c8d=this[_0x52507e(0x24c)];_0x587371[_0x181c8d>>>0x2]&=0xffffffff<<0x20-_0x181c8d%0x4*0x8,_0x587371[_0x52507e(0x3e1)]=_0x21a977[_0x52507e(0x39e)](_0x181c8d/0x4);},'clone':function(){var _0x53c8f6=_0x29550c,_0x44a159=_0x5167f9['clone']['call'](this);return _0x44a159['words']=this[_0x53c8f6(0x324)][_0x53c8f6(0x3e9)](0x0),_0x44a159;},'random':function(_0x19ca50){var _0x2dcfab=_0x29550c;for(var _0xadfc1d=[],_0x4ba2ef=0x0;_0x4ba2ef<_0x19ca50;_0x4ba2ef+=0x4)_0xadfc1d[_0x2dcfab(0x404)](_0x38055f());return new _0x48936e['init'](_0xadfc1d,_0x19ca50);}}),_0x316233=_0x39d42e['enc']={},_0x4c5ba1=_0x316233[_0x29550c(0x179)]={'stringify':function(_0x2e88bf){var _0x3014ba=_0x29550c;for(var _0x4f9de1=_0x2e88bf[_0x3014ba(0x324)],_0x2eb679=_0x2e88bf[_0x3014ba(0x24c)],_0x2cb654=[],_0x54a16b=0x0;_0x54a16b<_0x2eb679;_0x54a16b++){var _0x46b882=_0x4f9de1[_0x54a16b>>>0x2]>>>0x18-_0x54a16b%0x4*0x8&0xff;_0x2cb654[_0x3014ba(0x404)]((_0x46b882>>>0x4)[_0x3014ba(0x433)](0x10)),_0x2cb654[_0x3014ba(0x404)]((_0x46b882&0xf)[_0x3014ba(0x433)](0x10));}return _0x2cb654[_0x3014ba(0x44c)]('');},'parse':function(_0x141af9){var _0x1576d7=_0x29550c;for(var _0x45b924=_0x141af9[_0x1576d7(0x3e1)],_0x23caf1=[],_0x320501=0x0;_0x320501<_0x45b924;_0x320501+=0x2)_0x23caf1[_0x320501>>>0x3]|=parseInt(_0x141af9[_0x1576d7(0x243)](_0x320501,0x2),0x10)<<0x18-_0x320501%0x8*0x4;return new _0x48936e['init'](_0x23caf1,_0x45b924/0x2);}},_0x32f642=_0x316233[_0x29550c(0x2b0)]={'stringify':function(_0x3c74fb){var _0x2ef03d=_0x29550c;for(var _0x1dad6b=_0x3c74fb[_0x2ef03d(0x324)],_0x5742c6=_0x3c74fb[_0x2ef03d(0x24c)],_0x2d26d7=[],_0x47dcb8=0x0;_0x47dcb8<_0x5742c6;_0x47dcb8++){var _0x348d0f=_0x1dad6b[_0x47dcb8>>>0x2]>>>0x18-_0x47dcb8%0x4*0x8&0xff;_0x2d26d7[_0x2ef03d(0x404)](String[_0x2ef03d(0x203)](_0x348d0f));}return _0x2d26d7[_0x2ef03d(0x44c)]('');},'parse':function(_0x7fec0f){var _0x16e8f7=_0x29550c;for(var _0x406b33=_0x7fec0f[_0x16e8f7(0x3e1)],_0x552fc2=[],_0x3d343b=0x0;_0x3d343b<_0x406b33;_0x3d343b++)_0x552fc2[_0x3d343b>>>0x2]|=(_0x7fec0f['charCodeAt'](_0x3d343b)&0xff)<<0x18-_0x3d343b%0x4*0x8;return new _0x48936e[(_0x16e8f7(0x2b6))](_0x552fc2,_0x406b33);}},_0x5789a4=_0x316233[_0x29550c(0x2ce)]={'stringify':function(_0x54347f){var _0xf34dc5=_0x29550c;try{return decodeURIComponent(escape(_0x32f642[_0xf34dc5(0x32c)](_0x54347f)));}catch{throw new Error('Malformed\x20UTF-8\x20data');}},'parse':function(_0x4aa555){return _0x32f642['parse'](unescape(encodeURIComponent(_0x4aa555)));}},_0x1103fd=_0x40eff3[_0x29550c(0x21b)]=_0x5167f9[_0x29550c(0x2e3)]({'reset':function(){var _0x284161=_0x29550c;this[_0x284161(0x277)]=new _0x48936e[(_0x284161(0x2b6))](),this['_nDataBytes']=0x0;},'_append':function(_0x468765){var _0x345521=_0x29550c;typeof _0x468765==_0x345521(0x20a)&&(_0x468765=_0x5789a4[_0x345521(0x341)](_0x468765)),this['_data'][_0x345521(0x359)](_0x468765),this[_0x345521(0x20d)]+=_0x468765['sigBytes'];},'_process':function(_0x3d6c58){var _0x50fc1b=_0x29550c,_0x58b6d3,_0x3faf1d=this[_0x50fc1b(0x277)],_0x494c6b=_0x3faf1d['words'],_0x7d2f92=_0x3faf1d['sigBytes'],_0x54aa01=this['blockSize'],_0x5e8fb3=_0x54aa01*0x4,_0x254e17=_0x7d2f92/_0x5e8fb3;_0x3d6c58?_0x254e17=_0x21a977[_0x50fc1b(0x39e)](_0x254e17):_0x254e17=_0x21a977[_0x50fc1b(0x262)]((_0x254e17|0x0)-this['_minBufferSize'],0x0);var _0x221a82=_0x254e17*_0x54aa01,_0x3d3097=_0x21a977[_0x50fc1b(0x230)](_0x221a82*0x4,_0x7d2f92);if(_0x221a82){for(var _0x23ffcb=0x0;_0x23ffcb<_0x221a82;_0x23ffcb+=_0x54aa01)this[_0x50fc1b(0x373)](_0x494c6b,_0x23ffcb);_0x58b6d3=_0x494c6b[_0x50fc1b(0x42d)](0x0,_0x221a82),_0x3faf1d[_0x50fc1b(0x24c)]-=_0x3d3097;}return new _0x48936e['init'](_0x58b6d3,_0x3d3097);},'clone':function(){var _0x504a17=_0x29550c,_0x5da9ac=_0x5167f9['clone'][_0x504a17(0x288)](this);return _0x5da9ac[_0x504a17(0x277)]=this[_0x504a17(0x277)]['clone'](),_0x5da9ac;},'_minBufferSize':0x0});_0x40eff3['Hasher']=_0x1103fd['extend']({'cfg':_0x5167f9[_0x29550c(0x2e3)](),'init':function(_0x29ea2c){var _0x556877=_0x29550c;this[_0x556877(0x15b)]=this[_0x556877(0x15b)][_0x556877(0x2e3)](_0x29ea2c),this[_0x556877(0x197)]();},'reset':function(){var _0x52a8e5=_0x29550c;_0x1103fd[_0x52a8e5(0x197)]['call'](this),this[_0x52a8e5(0x24a)]();},'update':function(_0x243b37){var _0x10a0e5=_0x29550c;return this[_0x10a0e5(0x25c)](_0x243b37),this['_process'](),this;},'finalize':function(_0x16370b){var _0x4b2cbb=_0x29550c;_0x16370b&&this[_0x4b2cbb(0x25c)](_0x16370b);var _0x24f66c=this['_doFinalize']();return _0x24f66c;},'blockSize':0x10,'_createHelper':function(_0xabf51f){return function(_0x13fe97,_0x92412e){var _0x534ed6=_0x7e46;return new _0xabf51f[(_0x534ed6(0x2b6))](_0x92412e)[_0x534ed6(0x436)](_0x13fe97);};},'_createHmacHelper':function(_0x55477e){return function(_0x5a0147,_0x506827){return new _0x3f60e8['HMAC']['init'](_0x55477e,_0x506827)['finalize'](_0x5a0147);};}});var _0x3f60e8=_0x39d42e['algo']={};return _0x39d42e;}(Math);return _0x4431df;}));}(Ge)),Ge[_0x2c1cd2(0x1d9)];}var We={'exports':{}},Es=We[_0x12ec3c(0x1d9)],Zt;function Di(){var _0x1ce2df=_0x12ec3c;return Zt||(Zt=0x1,function(_0x100d43,_0x387a6c){(function(_0x53fe5f,_0x2cc003){var _0x263957=_0x7e46;_0x100d43[_0x263957(0x1d9)]=_0x2cc003(ie());}(Es,function(_0x213283){var _0x460cd6=_0x7e46;return(function(){var _0x159a1d=_0x7e46,_0x3a82bf=_0x213283,_0x4e6e9b=_0x3a82bf[_0x159a1d(0x313)],_0x44fe2f=_0x4e6e9b['WordArray'],_0x5211cb=_0x3a82bf[_0x159a1d(0x2ba)];_0x5211cb['Base64']={'stringify':function(_0x2b0fec){var _0x3e45d0=_0x159a1d,_0x32ec8c=_0x2b0fec[_0x3e45d0(0x324)],_0x244d3c=_0x2b0fec[_0x3e45d0(0x24c)],_0x382a5c=this[_0x3e45d0(0x422)];_0x2b0fec[_0x3e45d0(0x22d)]();for(var _0x4e579a=[],_0x59e2cd=0x0;_0x59e2cd<_0x244d3c;_0x59e2cd+=0x3)for(var _0x40e079=_0x32ec8c[_0x59e2cd>>>0x2]>>>0x18-_0x59e2cd%0x4*0x8&0xff,_0x2629a4=_0x32ec8c[_0x59e2cd+0x1>>>0x2]>>>0x18-(_0x59e2cd+0x1)%0x4*0x8&0xff,_0x33cde1=_0x32ec8c[_0x59e2cd+0x2>>>0x2]>>>0x18-(_0x59e2cd+0x2)%0x4*0x8&0xff,_0x487a61=_0x40e079<<0x10|_0x2629a4<<0x8|_0x33cde1,_0x40fa7d=0x0;_0x40fa7d<0x4&&_0x59e2cd+_0x40fa7d*0.75<_0x244d3c;_0x40fa7d++)_0x4e579a[_0x3e45d0(0x404)](_0x382a5c[_0x3e45d0(0x3f8)](_0x487a61>>>0x6*(0x3-_0x40fa7d)&0x3f));var _0x2e583b=_0x382a5c[_0x3e45d0(0x3f8)](0x40);if(_0x2e583b){for(;_0x4e579a[_0x3e45d0(0x3e1)]%0x4;)_0x4e579a[_0x3e45d0(0x404)](_0x2e583b);}return _0x4e579a[_0x3e45d0(0x44c)]('');},'parse':function(_0x4076d9){var _0xbc5fdc=_0x159a1d,_0x558f6b=_0x4076d9[_0xbc5fdc(0x3e1)],_0x27ba6c=this[_0xbc5fdc(0x422)],_0x3ebecc=this[_0xbc5fdc(0x36b)];if(!_0x3ebecc){_0x3ebecc=this[_0xbc5fdc(0x36b)]=[];for(var _0x187929=0x0;_0x187929<_0x27ba6c['length'];_0x187929++)_0x3ebecc[_0x27ba6c['charCodeAt'](_0x187929)]=_0x187929;}var _0x447cc8=_0x27ba6c[_0xbc5fdc(0x3f8)](0x40);if(_0x447cc8){var _0x54f6cf=_0x4076d9[_0xbc5fdc(0x448)](_0x447cc8);_0x54f6cf!==-0x1&&(_0x558f6b=_0x54f6cf);}return _0xc73f1d(_0x4076d9,_0x558f6b,_0x3ebecc);},'_map':_0x159a1d(0x2b1)};function _0xc73f1d(_0x374ec9,_0x3ed57b,_0x273ec4){var _0x56f372=_0x159a1d;for(var _0x5b8ad1=[],_0x359519=0x0,_0x241239=0x0;_0x241239<_0x3ed57b;_0x241239++)if(_0x241239%0x4){var _0x3d388d=_0x273ec4[_0x374ec9['charCodeAt'](_0x241239-0x1)]<<_0x241239%0x4*0x2,_0x2f8022=_0x273ec4[_0x374ec9['charCodeAt'](_0x241239)]>>>0x6-_0x241239%0x4*0x2,_0x4ed9b6=_0x3d388d|_0x2f8022;_0x5b8ad1[_0x359519>>>0x2]|=_0x4ed9b6<<0x18-_0x359519%0x4*0x8,_0x359519++;}return _0x44fe2f[_0x56f372(0x1a1)](_0x5b8ad1,_0x359519);}}()),_0x213283[_0x460cd6(0x2ba)][_0x460cd6(0x246)];}));}(We)),We[_0x1ce2df(0x1d9)];}var Ke={'exports':{}},Is=Ke[_0x12ec3c(0x1d9)],Qt;function Ts(){return Qt||(Qt=0x1,function(_0x115f7b,_0x1aecf5){(function(_0x2e84d3,_0x44febd){var _0x49f9d5=_0x7e46;_0x115f7b[_0x49f9d5(0x1d9)]=_0x44febd(ie());}(Is,function(_0x2fb2d9){return function(_0x49f8d7){var _0x3ab5b2=_0x7e46,_0x7b0981=_0x2fb2d9,_0x4d6d30=_0x7b0981[_0x3ab5b2(0x313)],_0x1be78d=_0x4d6d30[_0x3ab5b2(0x1c4)],_0x3363be=_0x4d6d30[_0x3ab5b2(0x399)],_0x404683=_0x7b0981[_0x3ab5b2(0x2a3)],_0x3c5d78=[];(function(){var _0x51c2a7=_0x3ab5b2;for(var _0x7c4951=0x0;_0x7c4951<0x40;_0x7c4951++)_0x3c5d78[_0x7c4951]=_0x49f8d7[_0x51c2a7(0x428)](_0x49f8d7['sin'](_0x7c4951+0x1))*0x100000000|0x0;}());var _0x53b03f=_0x404683[_0x3ab5b2(0x37b)]=_0x3363be['extend']({'_doReset':function(){var _0x3a9423=_0x3ab5b2;this[_0x3a9423(0x265)]=new _0x1be78d['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x526a10,_0x426d60){var _0xe98bf1=_0x3ab5b2;for(var _0x52e7ab=0x0;_0x52e7ab<0x10;_0x52e7ab++){var _0x7b2ae6=_0x426d60+_0x52e7ab,_0x49c417=_0x526a10[_0x7b2ae6];_0x526a10[_0x7b2ae6]=(_0x49c417<<0x8|_0x49c417>>>0x18)&0xff00ff|(_0x49c417<<0x18|_0x49c417>>>0x8)&0xff00ff00;}var _0x74f1f8=this[_0xe98bf1(0x265)][_0xe98bf1(0x324)],_0x12328c=_0x526a10[_0x426d60+0x0],_0x2c512f=_0x526a10[_0x426d60+0x1],_0x3204dd=_0x526a10[_0x426d60+0x2],_0x55b27c=_0x526a10[_0x426d60+0x3],_0x3bca23=_0x526a10[_0x426d60+0x4],_0x536ec9=_0x526a10[_0x426d60+0x5],_0x5648a9=_0x526a10[_0x426d60+0x6],_0x5ee73e=_0x526a10[_0x426d60+0x7],_0x1f01d3=_0x526a10[_0x426d60+0x8],_0x4df510=_0x526a10[_0x426d60+0x9],_0x1bd724=_0x526a10[_0x426d60+0xa],_0x427de5=_0x526a10[_0x426d60+0xb],_0x258fdc=_0x526a10[_0x426d60+0xc],_0x415a4b=_0x526a10[_0x426d60+0xd],_0xe745d2=_0x526a10[_0x426d60+0xe],_0x458be1=_0x526a10[_0x426d60+0xf],_0xdf74a9=_0x74f1f8[0x0],_0x51fe81=_0x74f1f8[0x1],_0x5031d0=_0x74f1f8[0x2],_0x4e384c=_0x74f1f8[0x3];_0xdf74a9=_0x1fd237(_0xdf74a9,_0x51fe81,_0x5031d0,_0x4e384c,_0x12328c,0x7,_0x3c5d78[0x0]),_0x4e384c=_0x1fd237(_0x4e384c,_0xdf74a9,_0x51fe81,_0x5031d0,_0x2c512f,0xc,_0x3c5d78[0x1]),_0x5031d0=_0x1fd237(_0x5031d0,_0x4e384c,_0xdf74a9,_0x51fe81,_0x3204dd,0x11,_0x3c5d78[0x2]),_0x51fe81=_0x1fd237(_0x51fe81,_0x5031d0,_0x4e384c,_0xdf74a9,_0x55b27c,0x16,_0x3c5d78[0x3]),_0xdf74a9=_0x1fd237(_0xdf74a9,_0x51fe81,_0x5031d0,_0x4e384c,_0x3bca23,0x7,_0x3c5d78[0x4]),_0x4e384c=_0x1fd237(_0x4e384c,_0xdf74a9,_0x51fe81,_0x5031d0,_0x536ec9,0xc,_0x3c5d78[0x5]),_0x5031d0=_0x1fd237(_0x5031d0,_0x4e384c,_0xdf74a9,_0x51fe81,_0x5648a9,0x11,_0x3c5d78[0x6]),_0x51fe81=_0x1fd237(_0x51fe81,_0x5031d0,_0x4e384c,_0xdf74a9,_0x5ee73e,0x16,_0x3c5d78[0x7]),_0xdf74a9=_0x1fd237(_0xdf74a9,_0x51fe81,_0x5031d0,_0x4e384c,_0x1f01d3,0x7,_0x3c5d78[0x8]),_0x4e384c=_0x1fd237(_0x4e384c,_0xdf74a9,_0x51fe81,_0x5031d0,_0x4df510,0xc,_0x3c5d78[0x9]),_0x5031d0=_0x1fd237(_0x5031d0,_0x4e384c,_0xdf74a9,_0x51fe81,_0x1bd724,0x11,_0x3c5d78[0xa]),_0x51fe81=_0x1fd237(_0x51fe81,_0x5031d0,_0x4e384c,_0xdf74a9,_0x427de5,0x16,_0x3c5d78[0xb]),_0xdf74a9=_0x1fd237(_0xdf74a9,_0x51fe81,_0x5031d0,_0x4e384c,_0x258fdc,0x7,_0x3c5d78[0xc]),_0x4e384c=_0x1fd237(_0x4e384c,_0xdf74a9,_0x51fe81,_0x5031d0,_0x415a4b,0xc,_0x3c5d78[0xd]),_0x5031d0=_0x1fd237(_0x5031d0,_0x4e384c,_0xdf74a9,_0x51fe81,_0xe745d2,0x11,_0x3c5d78[0xe]),_0x51fe81=_0x1fd237(_0x51fe81,_0x5031d0,_0x4e384c,_0xdf74a9,_0x458be1,0x16,_0x3c5d78[0xf]),_0xdf74a9=_0x50d274(_0xdf74a9,_0x51fe81,_0x5031d0,_0x4e384c,_0x2c512f,0x5,_0x3c5d78[0x10]),_0x4e384c=_0x50d274(_0x4e384c,_0xdf74a9,_0x51fe81,_0x5031d0,_0x5648a9,0x9,_0x3c5d78[0x11]),_0x5031d0=_0x50d274(_0x5031d0,_0x4e384c,_0xdf74a9,_0x51fe81,_0x427de5,0xe,_0x3c5d78[0x12]),_0x51fe81=_0x50d274(_0x51fe81,_0x5031d0,_0x4e384c,_0xdf74a9,_0x12328c,0x14,_0x3c5d78[0x13]),_0xdf74a9=_0x50d274(_0xdf74a9,_0x51fe81,_0x5031d0,_0x4e384c,_0x536ec9,0x5,_0x3c5d78[0x14]),_0x4e384c=_0x50d274(_0x4e384c,_0xdf74a9,_0x51fe81,_0x5031d0,_0x1bd724,0x9,_0x3c5d78[0x15]),_0x5031d0=_0x50d274(_0x5031d0,_0x4e384c,_0xdf74a9,_0x51fe81,_0x458be1,0xe,_0x3c5d78[0x16]),_0x51fe81=_0x50d274(_0x51fe81,_0x5031d0,_0x4e384c,_0xdf74a9,_0x3bca23,0x14,_0x3c5d78[0x17]),_0xdf74a9=_0x50d274(_0xdf74a9,_0x51fe81,_0x5031d0,_0x4e384c,_0x4df510,0x5,_0x3c5d78[0x18]),_0x4e384c=_0x50d274(_0x4e384c,_0xdf74a9,_0x51fe81,_0x5031d0,_0xe745d2,0x9,_0x3c5d78[0x19]),_0x5031d0=_0x50d274(_0x5031d0,_0x4e384c,_0xdf74a9,_0x51fe81,_0x55b27c,0xe,_0x3c5d78[0x1a]),_0x51fe81=_0x50d274(_0x51fe81,_0x5031d0,_0x4e384c,_0xdf74a9,_0x1f01d3,0x14,_0x3c5d78[0x1b]),_0xdf74a9=_0x50d274(_0xdf74a9,_0x51fe81,_0x5031d0,_0x4e384c,_0x415a4b,0x5,_0x3c5d78[0x1c]),_0x4e384c=_0x50d274(_0x4e384c,_0xdf74a9,_0x51fe81,_0x5031d0,_0x3204dd,0x9,_0x3c5d78[0x1d]),_0x5031d0=_0x50d274(_0x5031d0,_0x4e384c,_0xdf74a9,_0x51fe81,_0x5ee73e,0xe,_0x3c5d78[0x1e]),_0x51fe81=_0x50d274(_0x51fe81,_0x5031d0,_0x4e384c,_0xdf74a9,_0x258fdc,0x14,_0x3c5d78[0x1f]),_0xdf74a9=_0x1fb129(_0xdf74a9,_0x51fe81,_0x5031d0,_0x4e384c,_0x536ec9,0x4,_0x3c5d78[0x20]),_0x4e384c=_0x1fb129(_0x4e384c,_0xdf74a9,_0x51fe81,_0x5031d0,_0x1f01d3,0xb,_0x3c5d78[0x21]),_0x5031d0=_0x1fb129(_0x5031d0,_0x4e384c,_0xdf74a9,_0x51fe81,_0x427de5,0x10,_0x3c5d78[0x22]),_0x51fe81=_0x1fb129(_0x51fe81,_0x5031d0,_0x4e384c,_0xdf74a9,_0xe745d2,0x17,_0x3c5d78[0x23]),_0xdf74a9=_0x1fb129(_0xdf74a9,_0x51fe81,_0x5031d0,_0x4e384c,_0x2c512f,0x4,_0x3c5d78[0x24]),_0x4e384c=_0x1fb129(_0x4e384c,_0xdf74a9,_0x51fe81,_0x5031d0,_0x3bca23,0xb,_0x3c5d78[0x25]),_0x5031d0=_0x1fb129(_0x5031d0,_0x4e384c,_0xdf74a9,_0x51fe81,_0x5ee73e,0x10,_0x3c5d78[0x26]),_0x51fe81=_0x1fb129(_0x51fe81,_0x5031d0,_0x4e384c,_0xdf74a9,_0x1bd724,0x17,_0x3c5d78[0x27]),_0xdf74a9=_0x1fb129(_0xdf74a9,_0x51fe81,_0x5031d0,_0x4e384c,_0x415a4b,0x4,_0x3c5d78[0x28]),_0x4e384c=_0x1fb129(_0x4e384c,_0xdf74a9,_0x51fe81,_0x5031d0,_0x12328c,0xb,_0x3c5d78[0x29]),_0x5031d0=_0x1fb129(_0x5031d0,_0x4e384c,_0xdf74a9,_0x51fe81,_0x55b27c,0x10,_0x3c5d78[0x2a]),_0x51fe81=_0x1fb129(_0x51fe81,_0x5031d0,_0x4e384c,_0xdf74a9,_0x5648a9,0x17,_0x3c5d78[0x2b]),_0xdf74a9=_0x1fb129(_0xdf74a9,_0x51fe81,_0x5031d0,_0x4e384c,_0x4df510,0x4,_0x3c5d78[0x2c]),_0x4e384c=_0x1fb129(_0x4e384c,_0xdf74a9,_0x51fe81,_0x5031d0,_0x258fdc,0xb,_0x3c5d78[0x2d]),_0x5031d0=_0x1fb129(_0x5031d0,_0x4e384c,_0xdf74a9,_0x51fe81,_0x458be1,0x10,_0x3c5d78[0x2e]),_0x51fe81=_0x1fb129(_0x51fe81,_0x5031d0,_0x4e384c,_0xdf74a9,_0x3204dd,0x17,_0x3c5d78[0x2f]),_0xdf74a9=_0x21e323(_0xdf74a9,_0x51fe81,_0x5031d0,_0x4e384c,_0x12328c,0x6,_0x3c5d78[0x30]),_0x4e384c=_0x21e323(_0x4e384c,_0xdf74a9,_0x51fe81,_0x5031d0,_0x5ee73e,0xa,_0x3c5d78[0x31]),_0x5031d0=_0x21e323(_0x5031d0,_0x4e384c,_0xdf74a9,_0x51fe81,_0xe745d2,0xf,_0x3c5d78[0x32]),_0x51fe81=_0x21e323(_0x51fe81,_0x5031d0,_0x4e384c,_0xdf74a9,_0x536ec9,0x15,_0x3c5d78[0x33]),_0xdf74a9=_0x21e323(_0xdf74a9,_0x51fe81,_0x5031d0,_0x4e384c,_0x258fdc,0x6,_0x3c5d78[0x34]),_0x4e384c=_0x21e323(_0x4e384c,_0xdf74a9,_0x51fe81,_0x5031d0,_0x55b27c,0xa,_0x3c5d78[0x35]),_0x5031d0=_0x21e323(_0x5031d0,_0x4e384c,_0xdf74a9,_0x51fe81,_0x1bd724,0xf,_0x3c5d78[0x36]),_0x51fe81=_0x21e323(_0x51fe81,_0x5031d0,_0x4e384c,_0xdf74a9,_0x2c512f,0x15,_0x3c5d78[0x37]),_0xdf74a9=_0x21e323(_0xdf74a9,_0x51fe81,_0x5031d0,_0x4e384c,_0x1f01d3,0x6,_0x3c5d78[0x38]),_0x4e384c=_0x21e323(_0x4e384c,_0xdf74a9,_0x51fe81,_0x5031d0,_0x458be1,0xa,_0x3c5d78[0x39]),_0x5031d0=_0x21e323(_0x5031d0,_0x4e384c,_0xdf74a9,_0x51fe81,_0x5648a9,0xf,_0x3c5d78[0x3a]),_0x51fe81=_0x21e323(_0x51fe81,_0x5031d0,_0x4e384c,_0xdf74a9,_0x415a4b,0x15,_0x3c5d78[0x3b]),_0xdf74a9=_0x21e323(_0xdf74a9,_0x51fe81,_0x5031d0,_0x4e384c,_0x3bca23,0x6,_0x3c5d78[0x3c]),_0x4e384c=_0x21e323(_0x4e384c,_0xdf74a9,_0x51fe81,_0x5031d0,_0x427de5,0xa,_0x3c5d78[0x3d]),_0x5031d0=_0x21e323(_0x5031d0,_0x4e384c,_0xdf74a9,_0x51fe81,_0x3204dd,0xf,_0x3c5d78[0x3e]),_0x51fe81=_0x21e323(_0x51fe81,_0x5031d0,_0x4e384c,_0xdf74a9,_0x4df510,0x15,_0x3c5d78[0x3f]),_0x74f1f8[0x0]=_0x74f1f8[0x0]+_0xdf74a9|0x0,_0x74f1f8[0x1]=_0x74f1f8[0x1]+_0x51fe81|0x0,_0x74f1f8[0x2]=_0x74f1f8[0x2]+_0x5031d0|0x0,_0x74f1f8[0x3]=_0x74f1f8[0x3]+_0x4e384c|0x0;},'_doFinalize':function(){var _0x136db4=_0x3ab5b2,_0x257480=this[_0x136db4(0x277)],_0x4ec247=_0x257480[_0x136db4(0x324)],_0x104edf=this['_nDataBytes']*0x8,_0xa14892=_0x257480[_0x136db4(0x24c)]*0x8;_0x4ec247[_0xa14892>>>0x5]|=0x80<<0x18-_0xa14892%0x20;var _0x233540=_0x49f8d7[_0x136db4(0x36a)](_0x104edf/0x100000000),_0x31dbcb=_0x104edf;_0x4ec247[(_0xa14892+0x40>>>0x9<<0x4)+0xf]=(_0x233540<<0x8|_0x233540>>>0x18)&0xff00ff|(_0x233540<<0x18|_0x233540>>>0x8)&0xff00ff00,_0x4ec247[(_0xa14892+0x40>>>0x9<<0x4)+0xe]=(_0x31dbcb<<0x8|_0x31dbcb>>>0x18)&0xff00ff|(_0x31dbcb<<0x18|_0x31dbcb>>>0x8)&0xff00ff00,_0x257480['sigBytes']=(_0x4ec247['length']+0x1)*0x4,this[_0x136db4(0x33d)]();for(var _0x403412=this[_0x136db4(0x265)],_0x27934e=_0x403412['words'],_0x5030d4=0x0;_0x5030d4<0x4;_0x5030d4++){var _0x4f238d=_0x27934e[_0x5030d4];_0x27934e[_0x5030d4]=(_0x4f238d<<0x8|_0x4f238d>>>0x18)&0xff00ff|(_0x4f238d<<0x18|_0x4f238d>>>0x8)&0xff00ff00;}return _0x403412;},'clone':function(){var _0xa27f3a=_0x3ab5b2,_0x315aef=_0x3363be[_0xa27f3a(0x3ec)][_0xa27f3a(0x288)](this);return _0x315aef[_0xa27f3a(0x265)]=this[_0xa27f3a(0x265)]['clone'](),_0x315aef;}});function _0x1fd237(_0x492193,_0x3bdaf8,_0x52a771,_0x39f116,_0x29e420,_0x1a139c,_0x537d75){var _0x2b75cf=_0x492193+(_0x3bdaf8&_0x52a771|~_0x3bdaf8&_0x39f116)+_0x29e420+_0x537d75;return(_0x2b75cf<<_0x1a139c|_0x2b75cf>>>0x20-_0x1a139c)+_0x3bdaf8;}function _0x50d274(_0x1b9b06,_0x2059c6,_0x396cce,_0x3293e4,_0x3e927c,_0x478f7b,_0x1747c8){var _0x14212b=_0x1b9b06+(_0x2059c6&_0x3293e4|_0x396cce&~_0x3293e4)+_0x3e927c+_0x1747c8;return(_0x14212b<<_0x478f7b|_0x14212b>>>0x20-_0x478f7b)+_0x2059c6;}function _0x1fb129(_0xfea0b,_0x2515b1,_0x4e8e3e,_0x25bcae,_0x4ec03e,_0x15276c,_0x5afc2e){var _0x3dec0c=_0xfea0b+(_0x2515b1^_0x4e8e3e^_0x25bcae)+_0x4ec03e+_0x5afc2e;return(_0x3dec0c<<_0x15276c|_0x3dec0c>>>0x20-_0x15276c)+_0x2515b1;}function _0x21e323(_0x322603,_0x148754,_0x294bcf,_0x8c6b36,_0x24a371,_0x64e0b2,_0x33e540){var _0x926bf6=_0x322603+(_0x294bcf^(_0x148754|~_0x8c6b36))+_0x24a371+_0x33e540;return(_0x926bf6<<_0x64e0b2|_0x926bf6>>>0x20-_0x64e0b2)+_0x148754;}_0x7b0981['MD5']=_0x3363be[_0x3ab5b2(0x271)](_0x53b03f),_0x7b0981[_0x3ab5b2(0x391)]=_0x3363be['_createHmacHelper'](_0x53b03f);}(Math),_0x2fb2d9['MD5'];}));}(Ke)),Ke['exports'];}var Ye={'exports':{}},qe={'exports':{}},Cs=qe[_0x12ec3c(0x1d9)],ei;function Rs(){return ei||(ei=0x1,function(_0x1f704a,_0x3c037b){(function(_0x12e58d,_0x3cd7e0){var _0xfdd7b=_0x7e46;_0x1f704a[_0xfdd7b(0x1d9)]=_0x3cd7e0(ie());}(Cs,function(_0x178615){var _0x3d1f44=_0x7e46;return(function(){var _0x57bcbf=_0x7e46,_0x4e1dc2=_0x178615,_0x325d42=_0x4e1dc2['lib'],_0x978b01=_0x325d42[_0x57bcbf(0x1c4)],_0x3692dd=_0x325d42[_0x57bcbf(0x399)],_0x172e45=_0x4e1dc2['algo'],_0x253f81=[],_0x24925f=_0x172e45[_0x57bcbf(0x231)]=_0x3692dd[_0x57bcbf(0x2e3)]({'_doReset':function(){var _0x121f32=_0x57bcbf;this[_0x121f32(0x265)]=new _0x978b01[(_0x121f32(0x2b6))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x4dc4ec,_0x1973b2){var _0x40d0a8=_0x57bcbf;for(var _0xa6cc23=this[_0x40d0a8(0x265)][_0x40d0a8(0x324)],_0x1d0d16=_0xa6cc23[0x0],_0x3d8c8a=_0xa6cc23[0x1],_0x1dfa3b=_0xa6cc23[0x2],_0x25aef1=_0xa6cc23[0x3],_0x4f164c=_0xa6cc23[0x4],_0x5a1a7b=0x0;_0x5a1a7b<0x50;_0x5a1a7b++){if(_0x5a1a7b<0x10)_0x253f81[_0x5a1a7b]=_0x4dc4ec[_0x1973b2+_0x5a1a7b]|0x0;else{var _0x367826=_0x253f81[_0x5a1a7b-0x3]^_0x253f81[_0x5a1a7b-0x8]^_0x253f81[_0x5a1a7b-0xe]^_0x253f81[_0x5a1a7b-0x10];_0x253f81[_0x5a1a7b]=_0x367826<<0x1|_0x367826>>>0x1f;}var _0x3ab2da=(_0x1d0d16<<0x5|_0x1d0d16>>>0x1b)+_0x4f164c+_0x253f81[_0x5a1a7b];_0x5a1a7b<0x14?_0x3ab2da+=(_0x3d8c8a&_0x1dfa3b|~_0x3d8c8a&_0x25aef1)+0x5a827999:_0x5a1a7b<0x28?_0x3ab2da+=(_0x3d8c8a^_0x1dfa3b^_0x25aef1)+0x6ed9eba1:_0x5a1a7b<0x3c?_0x3ab2da+=(_0x3d8c8a&_0x1dfa3b|_0x3d8c8a&_0x25aef1|_0x1dfa3b&_0x25aef1)-0x70e44324:_0x3ab2da+=(_0x3d8c8a^_0x1dfa3b^_0x25aef1)-0x359d3e2a,_0x4f164c=_0x25aef1,_0x25aef1=_0x1dfa3b,_0x1dfa3b=_0x3d8c8a<<0x1e|_0x3d8c8a>>>0x2,_0x3d8c8a=_0x1d0d16,_0x1d0d16=_0x3ab2da;}_0xa6cc23[0x0]=_0xa6cc23[0x0]+_0x1d0d16|0x0,_0xa6cc23[0x1]=_0xa6cc23[0x1]+_0x3d8c8a|0x0,_0xa6cc23[0x2]=_0xa6cc23[0x2]+_0x1dfa3b|0x0,_0xa6cc23[0x3]=_0xa6cc23[0x3]+_0x25aef1|0x0,_0xa6cc23[0x4]=_0xa6cc23[0x4]+_0x4f164c|0x0;},'_doFinalize':function(){var _0x5931f1=_0x57bcbf,_0x505721=this['_data'],_0x206098=_0x505721[_0x5931f1(0x324)],_0x13715f=this[_0x5931f1(0x20d)]*0x8,_0xa1a763=_0x505721['sigBytes']*0x8;return _0x206098[_0xa1a763>>>0x5]|=0x80<<0x18-_0xa1a763%0x20,_0x206098[(_0xa1a763+0x40>>>0x9<<0x4)+0xe]=Math[_0x5931f1(0x36a)](_0x13715f/0x100000000),_0x206098[(_0xa1a763+0x40>>>0x9<<0x4)+0xf]=_0x13715f,_0x505721[_0x5931f1(0x24c)]=_0x206098[_0x5931f1(0x3e1)]*0x4,this['_process'](),this[_0x5931f1(0x265)];},'clone':function(){var _0x5d7df3=_0x57bcbf,_0x1b161f=_0x3692dd[_0x5d7df3(0x3ec)][_0x5d7df3(0x288)](this);return _0x1b161f[_0x5d7df3(0x265)]=this['_hash'][_0x5d7df3(0x3ec)](),_0x1b161f;}});_0x4e1dc2[_0x57bcbf(0x231)]=_0x3692dd[_0x57bcbf(0x271)](_0x24925f),_0x4e1dc2[_0x57bcbf(0x278)]=_0x3692dd[_0x57bcbf(0x28b)](_0x24925f);}()),_0x178615[_0x3d1f44(0x231)];}));}(qe)),qe['exports'];}var ze={'exports':{}},bs=ze[_0x12ec3c(0x1d9)],ti;function ys(){var _0x54f7b4=_0x12ec3c;return ti||(ti=0x1,function(_0x4bb9cd,_0xcf654a){(function(_0x4b1bf1,_0x5177f3){var _0xa7bab1=_0x7e46;_0x4bb9cd[_0xa7bab1(0x1d9)]=_0x5177f3(ie());}(bs,function(_0x2ba694){(function(){var _0x475bc8=_0x7e46,_0x45fc7b=_0x2ba694,_0x2e004f=_0x45fc7b[_0x475bc8(0x313)],_0x494e44=_0x2e004f[_0x475bc8(0x43e)],_0x30aeb8=_0x45fc7b[_0x475bc8(0x2ba)],_0x4a2ab6=_0x30aeb8[_0x475bc8(0x2ce)],_0x4227dc=_0x45fc7b['algo'];_0x4227dc[_0x475bc8(0x309)]=_0x494e44['extend']({'init':function(_0x36b74b,_0x5aef60){var _0x3e3be6=_0x475bc8;_0x36b74b=this[_0x3e3be6(0x407)]=new _0x36b74b[(_0x3e3be6(0x2b6))](),typeof _0x5aef60==_0x3e3be6(0x20a)&&(_0x5aef60=_0x4a2ab6['parse'](_0x5aef60));var _0x38804d=_0x36b74b['blockSize'],_0x86a270=_0x38804d*0x4;_0x5aef60[_0x3e3be6(0x24c)]>_0x86a270&&(_0x5aef60=_0x36b74b[_0x3e3be6(0x436)](_0x5aef60)),_0x5aef60[_0x3e3be6(0x22d)]();for(var _0x5c33e9=this['_oKey']=_0x5aef60[_0x3e3be6(0x3ec)](),_0x275301=this[_0x3e3be6(0x205)]=_0x5aef60[_0x3e3be6(0x3ec)](),_0x43a6d2=_0x5c33e9[_0x3e3be6(0x324)],_0x385ae2=_0x275301[_0x3e3be6(0x324)],_0x428dbd=0x0;_0x428dbd<_0x38804d;_0x428dbd++)_0x43a6d2[_0x428dbd]^=0x5c5c5c5c,_0x385ae2[_0x428dbd]^=0x36363636;_0x5c33e9[_0x3e3be6(0x24c)]=_0x275301['sigBytes']=_0x86a270,this['reset']();},'reset':function(){var _0x359523=_0x475bc8,_0x471dd2=this[_0x359523(0x407)];_0x471dd2[_0x359523(0x197)](),_0x471dd2[_0x359523(0x2c1)](this[_0x359523(0x205)]);},'update':function(_0x3cf6d2){var _0x2756ee=_0x475bc8;return this[_0x2756ee(0x407)][_0x2756ee(0x2c1)](_0x3cf6d2),this;},'finalize':function(_0x1aa83c){var _0x42289a=_0x475bc8,_0x1fbc14=this[_0x42289a(0x407)],_0x23ef8a=_0x1fbc14[_0x42289a(0x436)](_0x1aa83c);_0x1fbc14[_0x42289a(0x197)]();var _0x27d387=_0x1fbc14['finalize'](this['_oKey'][_0x42289a(0x3ec)]()[_0x42289a(0x359)](_0x23ef8a));return _0x27d387;}});}());}));}(ze)),ze[_0x54f7b4(0x1d9)];}var Os=Ye[_0x12ec3c(0x1d9)],ii;function Ui(){var _0x17d80d=_0x12ec3c;return ii||(ii=0x1,function(_0x11b970,_0x394c34){(function(_0xca4a60,_0x323ca2,_0x49bb78){var _0x577a20=_0x7e46;_0x11b970[_0x577a20(0x1d9)]=_0x323ca2(ie(),Rs(),ys());}(Os,function(_0x44666b){var _0x45fc19=_0x7e46;return(function(){var _0x197e3=_0x7e46,_0x16e3de=_0x44666b,_0x4ac207=_0x16e3de['lib'],_0x2e02f7=_0x4ac207[_0x197e3(0x43e)],_0x3e76b7=_0x4ac207['WordArray'],_0x37da1a=_0x16e3de['algo'],_0x1e6efe=_0x37da1a['MD5'],_0x5871f4=_0x37da1a[_0x197e3(0x43a)]=_0x2e02f7[_0x197e3(0x2e3)]({'cfg':_0x2e02f7[_0x197e3(0x2e3)]({'keySize':0x80/0x20,'hasher':_0x1e6efe,'iterations':0x1}),'init':function(_0x140306){var _0x75431e=_0x197e3;this[_0x75431e(0x15b)]=this[_0x75431e(0x15b)][_0x75431e(0x2e3)](_0x140306);},'compute':function(_0x5e44fa,_0x3dd939){var _0x2b2e7f=_0x197e3;for(var _0x15721f,_0x4c9b4b=this[_0x2b2e7f(0x15b)],_0x31e12f=_0x4c9b4b[_0x2b2e7f(0x385)]['create'](),_0x4b0806=_0x3e76b7[_0x2b2e7f(0x1a1)](),_0x5295d5=_0x4b0806[_0x2b2e7f(0x324)],_0x125c13=_0x4c9b4b['keySize'],_0x16d142=_0x4c9b4b[_0x2b2e7f(0x32f)];_0x5295d5[_0x2b2e7f(0x3e1)]<_0x125c13;){_0x15721f&&_0x31e12f['update'](_0x15721f),_0x15721f=_0x31e12f[_0x2b2e7f(0x2c1)](_0x5e44fa)[_0x2b2e7f(0x436)](_0x3dd939),_0x31e12f[_0x2b2e7f(0x197)]();for(var _0x942cc3=0x1;_0x942cc3<_0x16d142;_0x942cc3++)_0x15721f=_0x31e12f['finalize'](_0x15721f),_0x31e12f[_0x2b2e7f(0x197)]();_0x4b0806[_0x2b2e7f(0x359)](_0x15721f);}return _0x4b0806[_0x2b2e7f(0x24c)]=_0x125c13*0x4,_0x4b0806;}});_0x16e3de[_0x197e3(0x43a)]=function(_0x25f571,_0x1f0af0,_0x35973){var _0x2ade9e=_0x197e3;return _0x5871f4[_0x2ade9e(0x1a1)](_0x35973)[_0x2ade9e(0x15e)](_0x25f571,_0x1f0af0);};}()),_0x44666b[_0x45fc19(0x43a)];}));}(Ye)),Ye[_0x17d80d(0x1d9)];}var Je={'exports':{}},Ns=Je[_0x12ec3c(0x1d9)],ni;function Ai(){return ni||(ni=0x1,function(_0x37035d,_0x20eb68){(function(_0x4c0a66,_0x42e76f,_0x36c278){_0x37035d['exports']=_0x42e76f(ie(),Ui());}(Ns,function(_0x24de18){var _0x114b7b=_0x7e46;_0x24de18[_0x114b7b(0x313)][_0x114b7b(0x195)]||function(_0x29e2ea){var _0x5f5aa0=_0x114b7b,_0x3e1f20=_0x24de18,_0x513248=_0x3e1f20[_0x5f5aa0(0x313)],_0x1b96ea=_0x513248[_0x5f5aa0(0x43e)],_0x774da1=_0x513248[_0x5f5aa0(0x1c4)],_0x3f264b=_0x513248[_0x5f5aa0(0x21b)],_0x4622d7=_0x3e1f20['enc'];_0x4622d7['Utf8'];var _0x1561cd=_0x4622d7['Base64'],_0x42d62a=_0x3e1f20[_0x5f5aa0(0x2a3)],_0x20dd16=_0x42d62a['EvpKDF'],_0x51aece=_0x513248[_0x5f5aa0(0x195)]=_0x3f264b[_0x5f5aa0(0x2e3)]({'cfg':_0x1b96ea[_0x5f5aa0(0x2e3)](),'createEncryptor':function(_0x1a622c,_0x1569b6){var _0x4b2dcf=_0x5f5aa0;return this[_0x4b2dcf(0x1a1)](this[_0x4b2dcf(0x3a4)],_0x1a622c,_0x1569b6);},'createDecryptor':function(_0x4207bf,_0x5780ee){var _0x344b4=_0x5f5aa0;return this[_0x344b4(0x1a1)](this[_0x344b4(0x1be)],_0x4207bf,_0x5780ee);},'init':function(_0x4d2ca2,_0x111ed7,_0x47c107){var _0xd242ea=_0x5f5aa0;this['cfg']=this[_0xd242ea(0x15b)][_0xd242ea(0x2e3)](_0x47c107),this[_0xd242ea(0x1b2)]=_0x4d2ca2,this[_0xd242ea(0x2c0)]=_0x111ed7,this[_0xd242ea(0x197)]();},'reset':function(){var _0x3cb7e8=_0x5f5aa0;_0x3f264b[_0x3cb7e8(0x197)][_0x3cb7e8(0x288)](this),this[_0x3cb7e8(0x24a)]();},'process':function(_0x31aede){var _0x15b706=_0x5f5aa0;return this['_append'](_0x31aede),this[_0x15b706(0x33d)]();},'finalize':function(_0x485164){var _0x32c0e7=_0x5f5aa0;_0x485164&&this['_append'](_0x485164);var _0x24d408=this[_0x32c0e7(0x361)]();return _0x24d408;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x6b86b1(_0x5e303f){var _0x24651f=_0x7e46;return typeof _0x5e303f==_0x24651f(0x20a)?_0x51f7aa:_0x439e8e;}return function(_0x56aec1){return{'encrypt':function(_0x7bd37d,_0x6cb739,_0x4db39e){var _0x21f6f2=_0x7e46;return _0x6b86b1(_0x6cb739)[_0x21f6f2(0x2db)](_0x56aec1,_0x7bd37d,_0x6cb739,_0x4db39e);},'decrypt':function(_0x3ed01d,_0x242aad,_0x2e5a4d){var _0x3d2ace=_0x7e46;return _0x6b86b1(_0x242aad)[_0x3d2ace(0x1c9)](_0x56aec1,_0x3ed01d,_0x242aad,_0x2e5a4d);}};};}())});_0x513248[_0x5f5aa0(0x2af)]=_0x51aece[_0x5f5aa0(0x2e3)]({'_doFinalize':function(){var _0x374115=_0x5f5aa0,_0x42dc17=this[_0x374115(0x33d)](!0x0);return _0x42dc17;},'blockSize':0x1});var _0x32a7a8=_0x3e1f20[_0x5f5aa0(0x1b3)]={},_0x3b6749=_0x513248[_0x5f5aa0(0x1ae)]=_0x1b96ea[_0x5f5aa0(0x2e3)]({'createEncryptor':function(_0x5647ad,_0x1f4bb0){var _0x396e45=_0x5f5aa0;return this[_0x396e45(0x34e)][_0x396e45(0x1a1)](_0x5647ad,_0x1f4bb0);},'createDecryptor':function(_0x5eff15,_0x1b7858){var _0x52f08d=_0x5f5aa0;return this[_0x52f08d(0x21d)][_0x52f08d(0x1a1)](_0x5eff15,_0x1b7858);},'init':function(_0x145a6f,_0xedb420){var _0xeec224=_0x5f5aa0;this['_cipher']=_0x145a6f,this[_0xeec224(0x34d)]=_0xedb420;}}),_0x26b6f0=_0x32a7a8[_0x5f5aa0(0x290)]=(function(){var _0x438068=_0x5f5aa0,_0x3395cb=_0x3b6749[_0x438068(0x2e3)]();_0x3395cb[_0x438068(0x34e)]=_0x3395cb[_0x438068(0x2e3)]({'processBlock':function(_0xd99077,_0x5d7213){var _0x243ca1=_0x438068,_0x1c715e=this[_0x243ca1(0x299)],_0x40dfce=_0x1c715e[_0x243ca1(0x162)];_0x41c436[_0x243ca1(0x288)](this,_0xd99077,_0x5d7213,_0x40dfce),_0x1c715e[_0x243ca1(0x267)](_0xd99077,_0x5d7213),this[_0x243ca1(0x156)]=_0xd99077['slice'](_0x5d7213,_0x5d7213+_0x40dfce);}}),_0x3395cb[_0x438068(0x21d)]=_0x3395cb['extend']({'processBlock':function(_0x5810be,_0xf93bca){var _0x15f792=_0x438068,_0x31a8a8=this['_cipher'],_0xc992b1=_0x31a8a8[_0x15f792(0x162)],_0x1efafa=_0x5810be[_0x15f792(0x3e9)](_0xf93bca,_0xf93bca+_0xc992b1);_0x31a8a8[_0x15f792(0x17f)](_0x5810be,_0xf93bca),_0x41c436[_0x15f792(0x288)](this,_0x5810be,_0xf93bca,_0xc992b1),this[_0x15f792(0x156)]=_0x1efafa;}});function _0x41c436(_0x4d46fd,_0x411d9d,_0x178cfc){var _0x533020=_0x438068,_0x56a36f,_0xb94579=this[_0x533020(0x34d)];_0xb94579?(_0x56a36f=_0xb94579,this[_0x533020(0x34d)]=_0x29e2ea):_0x56a36f=this[_0x533020(0x156)];for(var _0x48ed3a=0x0;_0x48ed3a<_0x178cfc;_0x48ed3a++)_0x4d46fd[_0x411d9d+_0x48ed3a]^=_0x56a36f[_0x48ed3a];}return _0x3395cb;}()),_0x3f2424=_0x3e1f20[_0x5f5aa0(0x294)]={},_0x1eb029=_0x3f2424[_0x5f5aa0(0x3d7)]={'pad':function(_0x6666b3,_0x262ba0){var _0x2a7f23=_0x5f5aa0;for(var _0x1a9e02=_0x262ba0*0x4,_0x12e230=_0x1a9e02-_0x6666b3[_0x2a7f23(0x24c)]%_0x1a9e02,_0x5c6dde=_0x12e230<<0x18|_0x12e230<<0x10|_0x12e230<<0x8|_0x12e230,_0xa417b=[],_0x2355be=0x0;_0x2355be<_0x12e230;_0x2355be+=0x4)_0xa417b['push'](_0x5c6dde);var _0x5d499f=_0x774da1[_0x2a7f23(0x1a1)](_0xa417b,_0x12e230);_0x6666b3[_0x2a7f23(0x359)](_0x5d499f);},'unpad':function(_0x1ca21d){var _0x3118b2=_0x5f5aa0,_0x12bd10=_0x1ca21d[_0x3118b2(0x324)][_0x1ca21d[_0x3118b2(0x24c)]-0x1>>>0x2]&0xff;_0x1ca21d['sigBytes']-=_0x12bd10;}};_0x513248[_0x5f5aa0(0x25a)]=_0x51aece['extend']({'cfg':_0x51aece[_0x5f5aa0(0x15b)][_0x5f5aa0(0x2e3)]({'mode':_0x26b6f0,'padding':_0x1eb029}),'reset':function(){var _0x328c0f=_0x5f5aa0,_0x4c45ad;_0x51aece[_0x328c0f(0x197)][_0x328c0f(0x288)](this);var _0x3aa52f=this[_0x328c0f(0x15b)],_0x255893=_0x3aa52f['iv'],_0x45881d=_0x3aa52f['mode'];this['_xformMode']==this[_0x328c0f(0x3a4)]?_0x4c45ad=_0x45881d['createEncryptor']:(_0x4c45ad=_0x45881d[_0x328c0f(0x196)],this[_0x328c0f(0x1f3)]=0x1),this['_mode']&&this['_mode'][_0x328c0f(0x362)]==_0x4c45ad?this[_0x328c0f(0x233)][_0x328c0f(0x2b6)](this,_0x255893&&_0x255893['words']):(this[_0x328c0f(0x233)]=_0x4c45ad[_0x328c0f(0x288)](_0x45881d,this,_0x255893&&_0x255893[_0x328c0f(0x324)]),this[_0x328c0f(0x233)][_0x328c0f(0x362)]=_0x4c45ad);},'_doProcessBlock':function(_0x16feba,_0x3f344a){var _0x3065a2=_0x5f5aa0;this[_0x3065a2(0x233)][_0x3065a2(0x190)](_0x16feba,_0x3f344a);},'_doFinalize':function(){var _0x3e5f96=_0x5f5aa0,_0x5b0999,_0x5226c8=this[_0x3e5f96(0x15b)][_0x3e5f96(0x17e)];return this[_0x3e5f96(0x1b2)]==this['_ENC_XFORM_MODE']?(_0x5226c8[_0x3e5f96(0x294)](this['_data'],this[_0x3e5f96(0x162)]),_0x5b0999=this['_process'](!0x0)):(_0x5b0999=this[_0x3e5f96(0x33d)](!0x0),_0x5226c8['unpad'](_0x5b0999)),_0x5b0999;},'blockSize':0x80/0x20});var _0x54ebef=_0x513248[_0x5f5aa0(0x19d)]=_0x1b96ea[_0x5f5aa0(0x2e3)]({'init':function(_0x4eeaf2){var _0x4cf845=_0x5f5aa0;this[_0x4cf845(0x23a)](_0x4eeaf2);},'toString':function(_0x13bafe){var _0x6b5a92=_0x5f5aa0;return(_0x13bafe||this[_0x6b5a92(0x254)])[_0x6b5a92(0x32c)](this);}}),_0x2b406a=_0x3e1f20['format']={},_0xa8947c=_0x2b406a[_0x5f5aa0(0x30d)]={'stringify':function(_0x18306a){var _0x935188=_0x5f5aa0,_0x16815f,_0x560e09=_0x18306a[_0x935188(0x1b0)],_0x5cc7f2=_0x18306a[_0x935188(0x2e6)];return _0x5cc7f2?_0x16815f=_0x774da1['create']([0x53616c74,0x65645f5f])[_0x935188(0x359)](_0x5cc7f2)['concat'](_0x560e09):_0x16815f=_0x560e09,_0x16815f[_0x935188(0x433)](_0x1561cd);},'parse':function(_0x23327e){var _0x179bf8=_0x5f5aa0,_0x526bd5,_0x30165b=_0x1561cd[_0x179bf8(0x341)](_0x23327e),_0x27b971=_0x30165b[_0x179bf8(0x324)];return _0x27b971[0x0]==0x53616c74&&_0x27b971[0x1]==0x65645f5f&&(_0x526bd5=_0x774da1[_0x179bf8(0x1a1)](_0x27b971[_0x179bf8(0x3e9)](0x2,0x4)),_0x27b971['splice'](0x0,0x4),_0x30165b[_0x179bf8(0x24c)]-=0x10),_0x54ebef[_0x179bf8(0x1a1)]({'ciphertext':_0x30165b,'salt':_0x526bd5});}},_0x439e8e=_0x513248[_0x5f5aa0(0x3c0)]=_0x1b96ea[_0x5f5aa0(0x2e3)]({'cfg':_0x1b96ea[_0x5f5aa0(0x2e3)]({'format':_0xa8947c}),'encrypt':function(_0xef1944,_0x13dd56,_0x203612,_0x35a368){var _0x1c5d8b=_0x5f5aa0;_0x35a368=this['cfg']['extend'](_0x35a368);var _0x4f3157=_0xef1944[_0x1c5d8b(0x1d2)](_0x203612,_0x35a368),_0x569520=_0x4f3157[_0x1c5d8b(0x436)](_0x13dd56),_0x4c591d=_0x4f3157[_0x1c5d8b(0x15b)];return _0x54ebef[_0x1c5d8b(0x1a1)]({'ciphertext':_0x569520,'key':_0x203612,'iv':_0x4c591d['iv'],'algorithm':_0xef1944,'mode':_0x4c591d['mode'],'padding':_0x4c591d[_0x1c5d8b(0x17e)],'blockSize':_0xef1944[_0x1c5d8b(0x162)],'formatter':_0x35a368[_0x1c5d8b(0x316)]});},'decrypt':function(_0x5e1b85,_0x2152f7,_0xf59ea7,_0x30682d){var _0x2ddc22=_0x5f5aa0;_0x30682d=this[_0x2ddc22(0x15b)][_0x2ddc22(0x2e3)](_0x30682d),_0x2152f7=this['_parse'](_0x2152f7,_0x30682d[_0x2ddc22(0x316)]);var _0x227efb=_0x5e1b85[_0x2ddc22(0x196)](_0xf59ea7,_0x30682d)[_0x2ddc22(0x436)](_0x2152f7[_0x2ddc22(0x1b0)]);return _0x227efb;},'_parse':function(_0x3eebb1,_0x3666b9){return typeof _0x3eebb1=='string'?_0x3666b9['parse'](_0x3eebb1,this):_0x3eebb1;}}),_0x1f7a18=_0x3e1f20[_0x5f5aa0(0x3a6)]={},_0x50cf8a=_0x1f7a18['OpenSSL']={'execute':function(_0x23c5d0,_0x4d7ac2,_0x4e1f0b,_0x1c5e0d,_0x2dcd36){var _0x47b11d=_0x5f5aa0;if(_0x1c5e0d||(_0x1c5e0d=_0x774da1[_0x47b11d(0x3d4)](0x40/0x8)),_0x2dcd36)var _0x1d281e=_0x20dd16['create']({'keySize':_0x4d7ac2+_0x4e1f0b,'hasher':_0x2dcd36})['compute'](_0x23c5d0,_0x1c5e0d);else var _0x1d281e=_0x20dd16[_0x47b11d(0x1a1)]({'keySize':_0x4d7ac2+_0x4e1f0b})[_0x47b11d(0x15e)](_0x23c5d0,_0x1c5e0d);var _0x11e50c=_0x774da1[_0x47b11d(0x1a1)](_0x1d281e[_0x47b11d(0x324)][_0x47b11d(0x3e9)](_0x4d7ac2),_0x4e1f0b*0x4);return _0x1d281e[_0x47b11d(0x24c)]=_0x4d7ac2*0x4,_0x54ebef[_0x47b11d(0x1a1)]({'key':_0x1d281e,'iv':_0x11e50c,'salt':_0x1c5e0d});}},_0x51f7aa=_0x513248[_0x5f5aa0(0x3f5)]=_0x439e8e[_0x5f5aa0(0x2e3)]({'cfg':_0x439e8e['cfg'][_0x5f5aa0(0x2e3)]({'kdf':_0x50cf8a}),'encrypt':function(_0x1b09b1,_0x25b40a,_0x2f9cbd,_0x3fa475){var _0x2b07d6=_0x5f5aa0;_0x3fa475=this[_0x2b07d6(0x15b)][_0x2b07d6(0x2e3)](_0x3fa475);var _0x4a5cec=_0x3fa475[_0x2b07d6(0x3a6)][_0x2b07d6(0x1e9)](_0x2f9cbd,_0x1b09b1[_0x2b07d6(0x22a)],_0x1b09b1[_0x2b07d6(0x178)],_0x3fa475[_0x2b07d6(0x2e6)],_0x3fa475[_0x2b07d6(0x385)]);_0x3fa475['iv']=_0x4a5cec['iv'];var _0xe8bbc4=_0x439e8e[_0x2b07d6(0x2db)][_0x2b07d6(0x288)](this,_0x1b09b1,_0x25b40a,_0x4a5cec['key'],_0x3fa475);return _0xe8bbc4['mixIn'](_0x4a5cec),_0xe8bbc4;},'decrypt':function(_0x1dc75c,_0xeb4079,_0x5a50e0,_0x12998a){var _0x1482b8=_0x5f5aa0;_0x12998a=this[_0x1482b8(0x15b)]['extend'](_0x12998a),_0xeb4079=this[_0x1482b8(0x1f8)](_0xeb4079,_0x12998a[_0x1482b8(0x316)]);var _0x3e7a5e=_0x12998a[_0x1482b8(0x3a6)][_0x1482b8(0x1e9)](_0x5a50e0,_0x1dc75c[_0x1482b8(0x22a)],_0x1dc75c[_0x1482b8(0x178)],_0xeb4079['salt'],_0x12998a['hasher']);_0x12998a['iv']=_0x3e7a5e['iv'];var _0x3591e2=_0x439e8e[_0x1482b8(0x1c9)]['call'](this,_0x1dc75c,_0xeb4079,_0x3e7a5e[_0x1482b8(0x3ed)],_0x12998a);return _0x3591e2;}});}();}));}(Je)),Je['exports'];}var Ds=Ve[_0x12ec3c(0x1d9)],si;function Us(){var _0x2a2d2f=_0x12ec3c;return si||(si=0x1,function(_0x1fab60,_0x4f47d8){(function(_0x3ea9cf,_0x1c38bf,_0x557101){var _0x324998=_0x7e46;_0x1fab60[_0x324998(0x1d9)]=_0x1c38bf(ie(),Di(),Ts(),Ui(),Ai());}(Ds,function(_0x91392f){var _0xb17a6f=_0x7e46;return(function(){var _0xe85fb4=_0x7e46,_0x51df58=_0x91392f,_0x35924a=_0x51df58[_0xe85fb4(0x313)],_0x45b321=_0x35924a[_0xe85fb4(0x25a)],_0x106041=_0x51df58[_0xe85fb4(0x2a3)],_0x131926=[],_0x715a5f=[],_0x227385=[],_0x291111=[],_0x5de7f8=[],_0x57b7b9=[],_0x2b59cc=[],_0x3a8bf4=[],_0x4e45a1=[],_0x5c1aee=[];(function(){for(var _0x53ccd9=[],_0x178093=0x0;_0x178093<0x100;_0x178093++)_0x178093<0x80?_0x53ccd9[_0x178093]=_0x178093<<0x1:_0x53ccd9[_0x178093]=_0x178093<<0x1^0x11b;for(var _0x8e6c54=0x0,_0x2b41a4=0x0,_0x178093=0x0;_0x178093<0x100;_0x178093++){var _0x2a72c6=_0x2b41a4^_0x2b41a4<<0x1^_0x2b41a4<<0x2^_0x2b41a4<<0x3^_0x2b41a4<<0x4;_0x2a72c6=_0x2a72c6>>>0x8^_0x2a72c6&0xff^0x63,_0x131926[_0x8e6c54]=_0x2a72c6,_0x715a5f[_0x2a72c6]=_0x8e6c54;var _0x4ab4f0=_0x53ccd9[_0x8e6c54],_0x4af9aa=_0x53ccd9[_0x4ab4f0],_0x4553a2=_0x53ccd9[_0x4af9aa],_0x1ce70d=_0x53ccd9[_0x2a72c6]*0x101^_0x2a72c6*0x1010100;_0x227385[_0x8e6c54]=_0x1ce70d<<0x18|_0x1ce70d>>>0x8,_0x291111[_0x8e6c54]=_0x1ce70d<<0x10|_0x1ce70d>>>0x10,_0x5de7f8[_0x8e6c54]=_0x1ce70d<<0x8|_0x1ce70d>>>0x18,_0x57b7b9[_0x8e6c54]=_0x1ce70d;var _0x1ce70d=_0x4553a2*0x1010101^_0x4af9aa*0x10001^_0x4ab4f0*0x101^_0x8e6c54*0x1010100;_0x2b59cc[_0x2a72c6]=_0x1ce70d<<0x18|_0x1ce70d>>>0x8,_0x3a8bf4[_0x2a72c6]=_0x1ce70d<<0x10|_0x1ce70d>>>0x10,_0x4e45a1[_0x2a72c6]=_0x1ce70d<<0x8|_0x1ce70d>>>0x18,_0x5c1aee[_0x2a72c6]=_0x1ce70d,_0x8e6c54?(_0x8e6c54=_0x4ab4f0^_0x53ccd9[_0x53ccd9[_0x53ccd9[_0x4553a2^_0x4ab4f0]]],_0x2b41a4^=_0x53ccd9[_0x53ccd9[_0x2b41a4]]):_0x8e6c54=_0x2b41a4=0x1;}}());var _0x28b4cf=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x261ff9=_0x106041['AES']=_0x45b321[_0xe85fb4(0x2e3)]({'_doReset':function(){var _0x501b9a=_0xe85fb4,_0x3d71a0;if(!(this[_0x501b9a(0x2d7)]&&this[_0x501b9a(0x429)]===this[_0x501b9a(0x2c0)])){for(var _0x344d21=this[_0x501b9a(0x429)]=this[_0x501b9a(0x2c0)],_0x497bc5=_0x344d21[_0x501b9a(0x324)],_0x362051=_0x344d21[_0x501b9a(0x24c)]/0x4,_0x2cc95c=this[_0x501b9a(0x2d7)]=_0x362051+0x6,_0x5d0dfe=(_0x2cc95c+0x1)*0x4,_0x2c3419=this[_0x501b9a(0x3be)]=[],_0xf2d7a1=0x0;_0xf2d7a1<_0x5d0dfe;_0xf2d7a1++)_0xf2d7a1<_0x362051?_0x2c3419[_0xf2d7a1]=_0x497bc5[_0xf2d7a1]:(_0x3d71a0=_0x2c3419[_0xf2d7a1-0x1],_0xf2d7a1%_0x362051?_0x362051>0x6&&_0xf2d7a1%_0x362051==0x4&&(_0x3d71a0=_0x131926[_0x3d71a0>>>0x18]<<0x18|_0x131926[_0x3d71a0>>>0x10&0xff]<<0x10|_0x131926[_0x3d71a0>>>0x8&0xff]<<0x8|_0x131926[_0x3d71a0&0xff]):(_0x3d71a0=_0x3d71a0<<0x8|_0x3d71a0>>>0x18,_0x3d71a0=_0x131926[_0x3d71a0>>>0x18]<<0x18|_0x131926[_0x3d71a0>>>0x10&0xff]<<0x10|_0x131926[_0x3d71a0>>>0x8&0xff]<<0x8|_0x131926[_0x3d71a0&0xff],_0x3d71a0^=_0x28b4cf[_0xf2d7a1/_0x362051|0x0]<<0x18),_0x2c3419[_0xf2d7a1]=_0x2c3419[_0xf2d7a1-_0x362051]^_0x3d71a0);for(var _0x28ab66=this['_invKeySchedule']=[],_0x4c9fc7=0x0;_0x4c9fc7<_0x5d0dfe;_0x4c9fc7++){var _0xf2d7a1=_0x5d0dfe-_0x4c9fc7;if(_0x4c9fc7%0x4)var _0x3d71a0=_0x2c3419[_0xf2d7a1];else var _0x3d71a0=_0x2c3419[_0xf2d7a1-0x4];_0x4c9fc7<0x4||_0xf2d7a1<=0x4?_0x28ab66[_0x4c9fc7]=_0x3d71a0:_0x28ab66[_0x4c9fc7]=_0x2b59cc[_0x131926[_0x3d71a0>>>0x18]]^_0x3a8bf4[_0x131926[_0x3d71a0>>>0x10&0xff]]^_0x4e45a1[_0x131926[_0x3d71a0>>>0x8&0xff]]^_0x5c1aee[_0x131926[_0x3d71a0&0xff]];}}},'encryptBlock':function(_0x1602eb,_0x468bb4){var _0x475415=_0xe85fb4;this[_0x475415(0x26a)](_0x1602eb,_0x468bb4,this[_0x475415(0x3be)],_0x227385,_0x291111,_0x5de7f8,_0x57b7b9,_0x131926);},'decryptBlock':function(_0x1fa4f,_0x15fec4){var _0x5d757a=_0xe85fb4,_0x9eeb94=_0x1fa4f[_0x15fec4+0x1];_0x1fa4f[_0x15fec4+0x1]=_0x1fa4f[_0x15fec4+0x3],_0x1fa4f[_0x15fec4+0x3]=_0x9eeb94,this[_0x5d757a(0x26a)](_0x1fa4f,_0x15fec4,this['_invKeySchedule'],_0x2b59cc,_0x3a8bf4,_0x4e45a1,_0x5c1aee,_0x715a5f);var _0x9eeb94=_0x1fa4f[_0x15fec4+0x1];_0x1fa4f[_0x15fec4+0x1]=_0x1fa4f[_0x15fec4+0x3],_0x1fa4f[_0x15fec4+0x3]=_0x9eeb94;},'_doCryptBlock':function(_0x11e8ed,_0x305ff8,_0xcce435,_0xcdc0e3,_0x20c228,_0xae11af,_0x27d9d8,_0x31b453){var _0x1c3925=_0xe85fb4;for(var _0x279805=this[_0x1c3925(0x2d7)],_0x46121c=_0x11e8ed[_0x305ff8]^_0xcce435[0x0],_0x3318c6=_0x11e8ed[_0x305ff8+0x1]^_0xcce435[0x1],_0x19309a=_0x11e8ed[_0x305ff8+0x2]^_0xcce435[0x2],_0x222e04=_0x11e8ed[_0x305ff8+0x3]^_0xcce435[0x3],_0x1549d0=0x4,_0x562c10=0x1;_0x562c10<_0x279805;_0x562c10++){var _0x166e46=_0xcdc0e3[_0x46121c>>>0x18]^_0x20c228[_0x3318c6>>>0x10&0xff]^_0xae11af[_0x19309a>>>0x8&0xff]^_0x27d9d8[_0x222e04&0xff]^_0xcce435[_0x1549d0++],_0xe27a40=_0xcdc0e3[_0x3318c6>>>0x18]^_0x20c228[_0x19309a>>>0x10&0xff]^_0xae11af[_0x222e04>>>0x8&0xff]^_0x27d9d8[_0x46121c&0xff]^_0xcce435[_0x1549d0++],_0x353da8=_0xcdc0e3[_0x19309a>>>0x18]^_0x20c228[_0x222e04>>>0x10&0xff]^_0xae11af[_0x46121c>>>0x8&0xff]^_0x27d9d8[_0x3318c6&0xff]^_0xcce435[_0x1549d0++],_0x2dc5be=_0xcdc0e3[_0x222e04>>>0x18]^_0x20c228[_0x46121c>>>0x10&0xff]^_0xae11af[_0x3318c6>>>0x8&0xff]^_0x27d9d8[_0x19309a&0xff]^_0xcce435[_0x1549d0++];_0x46121c=_0x166e46,_0x3318c6=_0xe27a40,_0x19309a=_0x353da8,_0x222e04=_0x2dc5be;}var _0x166e46=(_0x31b453[_0x46121c>>>0x18]<<0x18|_0x31b453[_0x3318c6>>>0x10&0xff]<<0x10|_0x31b453[_0x19309a>>>0x8&0xff]<<0x8|_0x31b453[_0x222e04&0xff])^_0xcce435[_0x1549d0++],_0xe27a40=(_0x31b453[_0x3318c6>>>0x18]<<0x18|_0x31b453[_0x19309a>>>0x10&0xff]<<0x10|_0x31b453[_0x222e04>>>0x8&0xff]<<0x8|_0x31b453[_0x46121c&0xff])^_0xcce435[_0x1549d0++],_0x353da8=(_0x31b453[_0x19309a>>>0x18]<<0x18|_0x31b453[_0x222e04>>>0x10&0xff]<<0x10|_0x31b453[_0x46121c>>>0x8&0xff]<<0x8|_0x31b453[_0x3318c6&0xff])^_0xcce435[_0x1549d0++],_0x2dc5be=(_0x31b453[_0x222e04>>>0x18]<<0x18|_0x31b453[_0x46121c>>>0x10&0xff]<<0x10|_0x31b453[_0x3318c6>>>0x8&0xff]<<0x8|_0x31b453[_0x19309a&0xff])^_0xcce435[_0x1549d0++];_0x11e8ed[_0x305ff8]=_0x166e46,_0x11e8ed[_0x305ff8+0x1]=_0xe27a40,_0x11e8ed[_0x305ff8+0x2]=_0x353da8,_0x11e8ed[_0x305ff8+0x3]=_0x2dc5be;},'keySize':0x100/0x20});_0x51df58[_0xe85fb4(0x2f8)]=_0x45b321[_0xe85fb4(0x271)](_0x261ff9);}()),_0x91392f[_0xb17a6f(0x2f8)];}));}(Ve)),Ve[_0x2a2d2f(0x1d9)];}var As=Us();const ws=He(As);var Ps=Di();const ri=He(Ps);var Xe={'exports':{}},Ls=Xe[_0x12ec3c(0x1d9)],ai;function xs(){var _0x153107=_0x12ec3c;return ai||(ai=0x1,function(_0x2277a4,_0x182274){(function(_0x5322e2,_0x340136){var _0x27187f=_0x7e46;_0x2277a4[_0x27187f(0x1d9)]=_0x340136(ie());}(Ls,function(_0x548082){var _0x5eee5e=_0x7e46;return _0x548082[_0x5eee5e(0x2ba)][_0x5eee5e(0x2ce)];}));}(Xe)),Xe[_0x153107(0x1d9)];}var Ms=xs();const ks=He(Ms);var Ze={'exports':{}},$s=Ze[_0x12ec3c(0x1d9)],oi;function Hs(){return oi||(oi=0x1,function(_0x5ab60b,_0x4f97b3){(function(_0x2acf7b,_0xbd6909){var _0x4ca901=_0x7e46;_0x5ab60b[_0x4ca901(0x1d9)]=_0xbd6909(ie());}($s,function(_0x226b81){var _0x46eafd=_0x7e46;return(function(){var _0x560a11=_0x7e46;if(typeof ArrayBuffer=='function'){var _0x56bb28=_0x226b81,_0x3d8d50=_0x56bb28[_0x560a11(0x313)],_0x37eb13=_0x3d8d50[_0x560a11(0x1c4)],_0xcfcf6c=_0x37eb13['init'],_0x1f80e7=_0x37eb13[_0x560a11(0x2b6)]=function(_0x1ffb76){var _0x2d4f5c=_0x560a11;if(_0x1ffb76 instanceof ArrayBuffer&&(_0x1ffb76=new Uint8Array(_0x1ffb76)),(_0x1ffb76 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x1ffb76 instanceof Uint8ClampedArray||_0x1ffb76 instanceof Int16Array||_0x1ffb76 instanceof Uint16Array||_0x1ffb76 instanceof Int32Array||_0x1ffb76 instanceof Uint32Array||_0x1ffb76 instanceof Float32Array||_0x1ffb76 instanceof Float64Array)&&(_0x1ffb76=new Uint8Array(_0x1ffb76[_0x2d4f5c(0x406)],_0x1ffb76[_0x2d4f5c(0x2c5)],_0x1ffb76[_0x2d4f5c(0x419)])),_0x1ffb76 instanceof Uint8Array){for(var _0x440ffb=_0x1ffb76['byteLength'],_0xa7563=[],_0x3e2b5d=0x0;_0x3e2b5d<_0x440ffb;_0x3e2b5d++)_0xa7563[_0x3e2b5d>>>0x2]|=_0x1ffb76[_0x3e2b5d]<<0x18-_0x3e2b5d%0x4*0x8;_0xcfcf6c[_0x2d4f5c(0x288)](this,_0xa7563,_0x440ffb);}else _0xcfcf6c['apply'](this,arguments);};_0x1f80e7[_0x560a11(0x291)]=_0x37eb13;}}()),_0x226b81[_0x46eafd(0x313)][_0x46eafd(0x1c4)];}));}(Ze)),Ze['exports'];}var Bs=Hs();const js=He(Bs);var Qe={'exports':{}},Fs=Qe[_0x12ec3c(0x1d9)],ci;function Vs(){return ci||(ci=0x1,function(_0x437e43,_0x2446bb){(function(_0x4765c9,_0x27758a,_0x1b8d91){var _0x493560=_0x7e46;_0x437e43[_0x493560(0x1d9)]=_0x27758a(ie(),Ai());}(Fs,function(_0x258395){var _0x5177e9=_0x7e46;return _0x258395['pad'][_0x5177e9(0x1e0)]={'pad':function(){},'unpad':function(){}},_0x258395[_0x5177e9(0x294)]['NoPadding'];}));}(Qe)),Qe['exports'];}var Gs=Vs();const Ws=He(Gs);function Ks(_0x332f45,_0x1631ba){var _0xc1d2b4=_0x12ec3c;const _0x40d991=_0x1631ba-_0x332f45['length']%_0x1631ba,_0x5270a0=String['fromCharCode'](_0x40d991)[_0xc1d2b4(0x330)](_0x40d991);return _0x332f45+_0x5270a0;}function Ys(_0xe0b28d,_0x6f7257){var _0x431e1e=_0x12ec3c;const _0x295c18=js[_0x431e1e(0x3d4)](0x10),_0xf12674=Ks(_0xe0b28d,0x10),_0x1371d2=ws[_0x431e1e(0x2db)](ks[_0x431e1e(0x341)](_0xf12674),ri[_0x431e1e(0x341)](_0x6f7257),{'iv':_0x295c18,'padding':Ws});return _0x295c18[_0x431e1e(0x359)](_0x1371d2['ciphertext'])[_0x431e1e(0x433)](ri);}function qs(){var _0x46d72b=_0x12ec3c;const _0x22e9d6=_0x4bd7c5()[_0x46d72b(0x398)];if(_0x22e9d6){const _0x51cad0={'time':Math[_0x46d72b(0x36a)](Date['now']()/0x3e8),'domain':location[_0x46d72b(0x249)]};return Ys(JSON[_0x46d72b(0x32c)](_0x51cad0),_0x22e9d6);}}var zs=Object[_0x12ec3c(0x1d4)],Js=(_0x561591,_0x140c00,_0x71b3be,_0x554b90)=>{var _0x1cbe7e=_0x12ec3c;for(var _0x196466=_0x554b90>0x1?void 0x0:_0x554b90?zs(_0x140c00,_0x71b3be):_0x140c00,_0xe3bb3d=_0x561591[_0x1cbe7e(0x3e1)]-0x1,_0x331c2d;_0xe3bb3d>=0x0;_0xe3bb3d--)(_0x331c2d=_0x561591[_0xe3bb3d])&&(_0x196466=_0x331c2d(_0x196466)||_0x196466);return _0x196466;},Xs=(_0xd22d1,_0x302645)=>(_0x5e316b,_0x22ba49)=>_0x302645(_0x5e316b,_0x22ba49,_0xd22d1);let at=class{constructor(_0x321877){var _0x467db8=_0x12ec3c;this[_0x467db8(0x303)]=_0x321877,this[_0x467db8(0x25d)]();}['_initRequestHeader'](){var _0x287314=_0x12ec3c;this[_0x287314(0x303)][_0x287314(0x423)]({'interceptor':(_0x58cf7f,_0x927c90)=>{var _0x499c6b=_0x287314;const _0x3cb228=_0x58cf7f[_0x499c6b(0x344)],_0x572c37=qs();return _0x572c37&&_0x3cb228['set'](_0x499c6b(0x3aa),_0x572c37),_0x927c90(_0x58cf7f);}});}};at=Js([Xs(0x0,_0xcdde00(_0x4d96c8))],at);var Zs=Object[_0x12ec3c(0x1d4)],Qs=(_0x55973e,_0x5113df,_0x27cb69,_0x8e4af3)=>{var _0x2b4782=_0x12ec3c;for(var _0x3df293=_0x8e4af3>0x1?void 0x0:_0x8e4af3?Zs(_0x5113df,_0x27cb69):_0x5113df,_0x4841d3=_0x55973e[_0x2b4782(0x3e1)]-0x1,_0x164a09;_0x4841d3>=0x0;_0x4841d3--)(_0x164a09=_0x55973e[_0x4841d3])&&(_0x3df293=_0x164a09(_0x3df293)||_0x3df293);return _0x3df293;},mt=(_0x26841b,_0x62cdad)=>(_0x171104,_0x258f74)=>_0x62cdad(_0x171104,_0x258f74,_0x26841b);let bt=class extends _0x221eab{constructor(_0xd272c2,_0x49af0e,_0x2bde4b){var _0x21dcbc=_0x12ec3c;super(),N(this,_0x21dcbc(0x1ba),new _0x3eca50(null)),N(this,'unitInfo$',this[_0x21dcbc(0x1ba)][_0x21dcbc(0x3e5)]()),(this[_0x21dcbc(0x218)]=_0xd272c2,this[_0x21dcbc(0x31c)]=_0x49af0e,this[_0x21dcbc(0x1f9)]=_0x2bde4b);}async['loadUnit'](_0x28efd6,_0x552d3e,_0x4b304c){var _0x381242=_0x12ec3c;this[_0x381242(0x1ba)][_0x381242(0x1fa)]({'unitId':_0x28efd6,'type':_0x552d3e,'subUnitId':_0x4b304c});let _0x5c03fd=null;switch(_0x552d3e){case Q[_0x381242(0x397)]:{_0x5c03fd=await this['_loadSheet'](_0x28efd6);break;}case Q[_0x381242(0x374)]:{_0x5c03fd=await this[_0x381242(0x170)](_0x28efd6);break;}default:{this['_logService']['error'](_0x381242(0x2bd),_0x381242(0x26c));break;}}return _0x5c03fd;}async[_0x12ec3c(0x2e7)](_0x31c219){var _0x42dda9=_0x12ec3c,_0x3c4bfe;let _0x4c3b9b=0x0;const _0x3c9a07=await((_0x3c4bfe=this['_localCacheService'])==null?void 0x0:_0x3c4bfe[_0x42dda9(0x427)](_0x31c219));return _0x3c9a07&&(_0x3c9a07['awaitingChangeset']||_0x3c9a07[_0x42dda9(0x328)][_0x42dda9(0x3e1)]!==0x0)&&(_0x4c3b9b=_0x3c9a07[_0x42dda9(0x1cf)]),_0x4c3b9b===0x0&&this[_0x42dda9(0x218)][_0x42dda9(0x2aa)](_0x42dda9(0x2bd),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this['_snapshotService'][_0x42dda9(0x23d)](_0x31c219,_0x4c3b9b);}async[_0x12ec3c(0x170)](_0x50dfa5){var _0x150f70=_0x12ec3c,_0x454500;let _0x544d02=0x0;const _0x4fb130=await((_0x454500=this[_0x150f70(0x1f9)])==null?void 0x0:_0x454500[_0x150f70(0x427)](_0x50dfa5));return _0x4fb130&&(_0x4fb130[_0x150f70(0x3b2)]||_0x4fb130[_0x150f70(0x328)][_0x150f70(0x3e1)]!==0x0)&&(_0x544d02=_0x4fb130['rev']),_0x544d02===0x0&&this[_0x150f70(0x218)][_0x150f70(0x2aa)](_0x150f70(0x2bd),_0x150f70(0x2e2)),this[_0x150f70(0x31c)][_0x150f70(0x354)](_0x50dfa5,_0x544d02);}};bt=Qs([mt(0x0,_0x4c4c08),mt(0x1,_0xcdde00(_0x294bcb)),mt(0x2,_0x92c5af(J))],bt);var er=Object[_0x12ec3c(0x1d4)],tr=(_0x5460f0,_0x86f88e,_0x58e61a,_0x3997a8)=>{for(var _0x163f07=_0x3997a8>0x1?void 0x0:_0x3997a8?er(_0x86f88e,_0x58e61a):_0x86f88e,_0xb6d35c=_0x5460f0['length']-0x1,_0x3b06f7;_0xb6d35c>=0x0;_0xb6d35c--)(_0x3b06f7=_0x5460f0[_0xb6d35c])&&(_0x163f07=_0x3b06f7(_0x163f07)||_0x163f07);return _0x163f07;},gt=(_0x7e699f,_0x3d9029)=>(_0x38a760,_0x5e9123)=>_0x3d9029(_0x38a760,_0x5e9123,_0x7e699f);const ir=[_0x12ec3c(0x1cd),_0x12ec3c(0x417),'image/jpg','image/gif',_0x12ec3c(0x186)],nr=0x5*0x400*0x400,sr=_0x12ec3c(0x305),rr=_0x12ec3c(0x3da),ar=_0x12ec3c(0x272),or='/universer-api/file/{fileID}/sign-url';let yt=class{constructor(_0x48a9e2,_0x9e3950,_0x2598a4){var _0x1a31ab=_0x12ec3c;N(this,'_waitCount',0x0),N(this,_0x1a31ab(0x426),new _0x238823()),N(this,_0x1a31ab(0x2d1),this[_0x1a31ab(0x426)]),N(this,'_imageSourceCache',new Map()),(this[_0x1a31ab(0x303)]=_0x48a9e2,this[_0x1a31ab(0x2bf)]=_0x9e3950,this['_univerInstanceService']=_0x2598a4);}[_0x12ec3c(0x172)](_0x5b2243){var _0x3d523d=_0x12ec3c;this[_0x3d523d(0x346)]=_0x5b2243,this[_0x3d523d(0x426)][_0x3d523d(0x1fa)](_0x5b2243);}['getImageSourceCache'](_0x11b4fd,_0x2c9da4){var _0x5cae02=_0x12ec3c;if(_0x2c9da4===_0x5294e5['BASE64']){const _0x5c3b18=new Image();return _0x5c3b18[_0x5cae02(0x28a)]=_0x11b4fd,_0x5c3b18;}return this[_0x5cae02(0x169)]['get'](_0x11b4fd);}['addImageSourceCache'](_0x519adb,_0x4c8039,_0x4b2ed7){var _0x18a827=_0x12ec3c;_0x4c8039===_0x5294e5[_0x18a827(0x3fb)]||_0x4b2ed7==null||this[_0x18a827(0x169)][_0x18a827(0x2f7)](_0x519adb,_0x4b2ed7);}async['getImage'](_0x5d4e1d){var _0x2a1c97=_0x12ec3c;try{const _0x5eb5df=this[_0x2a1c97(0x342)](this[_0x2a1c97(0x350)](),''+_0x5d4e1d),_0x4761c5=(await this[_0x2a1c97(0x303)][_0x2a1c97(0x2e0)](_0x5eb5df))[_0x2a1c97(0x411)];if(_0x4761c5[_0x2a1c97(0x1e8)]&&_0x4761c5['error']['code']===Si['OK']){const _0x43c7a0=new URL(_0x4761c5[_0x2a1c97(0x3a9)],this[_0x2a1c97(0x1d8)]())['toString']();return Promise['resolve'](_0x43c7a0);}return Promise['reject'](_0x4761c5['error']);}catch(_0x194abb){return Promise[_0x2a1c97(0x3e4)](_0x194abb);}}async[_0x12ec3c(0x400)](_0x4305a9){var _0x27ed22=_0x12ec3c;let _0x1407ad='';if(!ir[_0x27ed22(0x1e6)](_0x4305a9[_0x27ed22(0x237)]))return this['_decreaseWaiting'](),Promise[_0x27ed22(0x3e4)](new Error(_0x1b2ce7['ERROR_IMAGE_TYPE']));if(_0x4305a9['size']>nr)return this[_0x27ed22(0x3e2)](),Promise[_0x27ed22(0x3e4)](new Error(_0x1b2ce7[_0x27ed22(0x387)]));try{const _0x12f355=new FormData();_0x12f355['append'](_0x27ed22(0x2f0),_0x4305a9);const _0x1687da=this[_0x27ed22(0x248)][_0x27ed22(0x381)](),_0x22da92=_0x1687da==null?void 0x0:_0x1687da['getUnitId']();if(!_0x22da92)throw new Error(_0x27ed22(0x3b4));const _0x32d23a=this[_0x27ed22(0x2e8)]()+'?size='+_0x4305a9[_0x27ed22(0x2c6)]['toString']()+_0x27ed22(0x34b)+Ei[_0x27ed22(0x200)]+_0x27ed22(0x444)+encodeURIComponent(_0x22da92),_0x1a52d8=await(await fetch(_0x32d23a,{'method':_0x27ed22(0x372),'body':_0x12f355}))['json']();if(typeof _0x1a52d8[_0x27ed22(0x338)]!='string')return this[_0x27ed22(0x3e2)](),Promise[_0x27ed22(0x3e4)](new Error(_0x1b2ce7[_0x27ed22(0x438)]));_0x1407ad=_0x1a52d8[_0x27ed22(0x338)];}catch{return this['_decreaseWaiting'](),Promise['reject'](new Error(_0x1b2ce7[_0x27ed22(0x438)]));}return new Promise((_0x2c2be5,_0x5a7fed)=>{const _0x5f5403=new FileReader();_0x5f5403['readAsDataURL'](_0x4305a9),_0x5f5403['onload']=_0xe17f46=>{var _0xb2a3b9=_0x7e46,_0x4c3163;const _0x4d894d=(_0x4c3163=_0xe17f46[_0xb2a3b9(0x3c4)])==null?void 0x0:_0x4c3163[_0xb2a3b9(0x383)];if(_0x4d894d==null){this[_0xb2a3b9(0x3e2)](),_0x5a7fed(new Error(_0x1b2ce7[_0xb2a3b9(0x438)]));return;}const _0x1f6e86=_0x325393[_0xb2a3b9(0x38d)](0x6);_0x2c2be5({'imageId':_0x1f6e86,'imageSourceType':_0x5294e5['UUID'],'source':_0x1407ad,'base64Cache':_0x4d894d,'status':_0x1b2ce7['SUCCUSS']}),this['_decreaseWaiting']();};});}['_getUploadFileURL'](){var _0x35305b=_0x12ec3c,_0x4ed702,_0x4b9c0b;const _0x4855a1=this[_0x35305b(0x2bf)][_0x35305b(0x235)](sr),_0x3cc581=this[_0x35305b(0x2bf)][_0x35305b(0x235)](q);return(_0x4b9c0b=(_0x4ed702=_0x3cc581==null?void 0x0:_0x3cc581['uploadFileServerUrl'])!=null?_0x4ed702:_0x4855a1)!=null?_0x4b9c0b:rr;}[_0x12ec3c(0x350)](){var _0x35a6ef=_0x12ec3c,_0x989bd,_0x1a79fe;const _0x13c29b=this[_0x35a6ef(0x2bf)]['getConfig'](ar),_0x1a01b5=this[_0x35a6ef(0x2bf)][_0x35a6ef(0x235)](q);return(_0x1a79fe=(_0x989bd=_0x1a01b5==null?void 0x0:_0x1a01b5[_0x35a6ef(0x440)])!=null?_0x989bd:_0x13c29b)!=null?_0x1a79fe:or;}[_0x12ec3c(0x1d8)](){var _0x4b5b0b=_0x12ec3c,_0x10db5b;const _0x3e7000=this[_0x4b5b0b(0x2bf)][_0x4b5b0b(0x235)](q);return(_0x10db5b=_0x3e7000==null?void 0x0:_0x3e7000[_0x4b5b0b(0x279)])!=null?_0x10db5b:location[_0x4b5b0b(0x28c)];}[_0x12ec3c(0x342)](_0x4bb5d3,_0x14be6e){var _0x1d82d8=_0x12ec3c;return _0x4bb5d3['replace'](_0x1d82d8(0x2dc),_0x14be6e);}[_0x12ec3c(0x3e2)](){var _0x5ee858=_0x12ec3c;this[_0x5ee858(0x346)]-=0x1,this[_0x5ee858(0x426)][_0x5ee858(0x1fa)](this[_0x5ee858(0x346)]);}};yt=tr([gt(0x0,_0xcdde00(_0x4d96c8)),gt(0x1,_0x1a732b),gt(0x2,_0xcdde00(_0x72f3ae))],yt);var cr=Object['getOwnPropertyDescriptor'],hr=(_0x32d207,_0x42bd7e,_0x5459e1,_0x5c6d6e)=>{var _0x124a84=_0x12ec3c;for(var _0x10179f=_0x5c6d6e>0x1?void 0x0:_0x5c6d6e?cr(_0x42bd7e,_0x5459e1):_0x42bd7e,_0x22f06b=_0x32d207[_0x124a84(0x3e1)]-0x1,_0x49c261;_0x22f06b>=0x0;_0x22f06b--)(_0x49c261=_0x32d207[_0x22f06b])&&(_0x10179f=_0x49c261(_0x10179f)||_0x10179f);return _0x10179f;},hi=(_0x5e0965,_0x5c2532)=>(_0x49fd00,_0x2591d9)=>_0x5c2532(_0x49fd00,_0x2591d9,_0x5e0965);const _r=_0x12ec3c(0x3f2);let Ot=class{constructor(_0x13b131,_0x1d254d){var _0x463962=_0x12ec3c;this['_configService']=_0x13b131,this[_0x463962(0x33c)]=_0x1d254d;}['_getAPIPrefixPath'](){var _0x4ca25f=_0x12ec3c,_0x4944bd,_0x30e9b6;const _0x5111c8=this[_0x4ca25f(0x2bf)][_0x4ca25f(0x235)](Ni),_0x2b2fd1=this[_0x4ca25f(0x2bf)][_0x4ca25f(0x235)](q);return(_0x30e9b6=(_0x4944bd=_0x2b2fd1==null?void 0x0:_0x2b2fd1[_0x4ca25f(0x306)])!=null?_0x4944bd:_0x5111c8)!=null?_0x30e9b6:_r;}async[_0x12ec3c(0x1a4)](_0x351c67){var _0x109f54=_0x12ec3c;const _0x2e8c12=this[_0x109f54(0x36c)]()+_0x109f54(0x245);return{'list':[{'title':_0x109f54(0x2f1),'mentions':(await this['_HTTPService'][_0x109f54(0x2e0)](_0x2e8c12,{'params':{'objectID':_0x351c67['unitId'],'unitID':_0x351c67['unitId']}}))['body'][_0x109f54(0x1df)][_0x109f54(0x413)](_0x58717b=>({'objectId':_0x58717b['id'],'name':_0x58717b['subject'][_0x109f54(0x1f6)],'metadata':{'icon':_0x58717b[_0x109f54(0x2c2)][_0x109f54(0x30c)]},'label':_0x58717b[_0x109f54(0x2c2)][_0x109f54(0x1f6)],'objectType':_0x19a2e2[_0x109f54(0x280)]})),'metadata':{},'type':_0x19a2e2[_0x109f54(0x280)]}]};}};Ot=hr([hi(0x0,_0xcdde00(_0x1a732b)),hi(0x1,_0xcdde00(_0x4d96c8))],Ot);var lr=Object['getOwnPropertyDescriptor'],ur=(_0x2c8e17,_0x36d23c,_0xa98e50,_0x40b514)=>{var _0x238e9c=_0x12ec3c;for(var _0x1bc1d6=_0x40b514>0x1?void 0x0:_0x40b514?lr(_0x36d23c,_0xa98e50):_0x36d23c,_0x3a94a6=_0x2c8e17[_0x238e9c(0x3e1)]-0x1,_0x3cdcf8;_0x3a94a6>=0x0;_0x3a94a6--)(_0x3cdcf8=_0x2c8e17[_0x3a94a6])&&(_0x1bc1d6=_0x3cdcf8(_0x1bc1d6)||_0x1bc1d6);return _0x1bc1d6;},we=(_0x487d88,_0x4e7465)=>(_0x3f8edd,_0x7b5363)=>_0x4e7465(_0x3f8edd,_0x7b5363,_0x487d88);let ot=class extends _0x221eab{constructor(_0x4a7879,_0x55ef88,_0x79420d,_0x3df470,_0x23ec7d){var _0x39b293=_0x12ec3c;super(),this[_0x39b293(0x1d0)]=_0x4a7879,this[_0x39b293(0x248)]=_0x55ef88,this[_0x39b293(0x16d)]=_0x79420d,this[_0x39b293(0x1d6)]=_0x3df470,this[_0x39b293(0x355)]=_0x23ec7d,this[_0x39b293(0x41a)](),this[_0x39b293(0x343)]();}['_initCloseConn'](){var _0x1fc04f=_0x12ec3c;const _0x2c9647=async _0x26656a=>{var _0x316116=_0x7e46;(await this[_0x316116(0x1d6)]['requireSession'](_0x26656a))[_0x316116(0x360)]['pipe'](_0x217676(_0x2ae994=>_0x2ae994[_0x316116(0x244)]===_0x3cdc31['SHOULD_CLOSE_CONN']),_0x2a804a(this['dispose$']))['subscribe'](_0x332a0d=>{var _0x55ad4b=_0x316116;const _0x10eac6=_0x332a0d,{reason:_0x2da1d8}=_0x10eac6[_0x55ad4b(0x25e)];this[_0x55ad4b(0x355)][_0x55ad4b(0x2ea)]({'id':re[_0x55ad4b(0x3c9)],'data':_0x2da1d8}),this[_0x55ad4b(0x16d)]['updatePermissionPoint'](new _0x2b9c60(_0x26656a)['id'],!0x1),this[_0x55ad4b(0x1d6)]['closeSession'](_0x26656a);});};_0x1c8303(this[_0x1fc04f(0x248)]['getTypeOfUnitAdded$'](_0xa8cbc9['UNIVER_SHEET']),this[_0x1fc04f(0x248)]['getTypeOfUnitAdded$'](_0xa8cbc9[_0x1fc04f(0x374)]))[_0x1fc04f(0x275)](_0x378e98(_0x22b7d6=>_0x22b7d6[_0x1fc04f(0x3f7)]()),_0x217676(_0x400e43=>!_0x361694(_0x400e43)),_0x2a804a(this[_0x1fc04f(0x41e)]))['subscribe'](_0x542019=>{_0x2c9647(_0x542019);});}[_0x12ec3c(0x41a)](){var _0x11b520=_0x12ec3c;const _0x424e0d=async _0x28f95c=>{var _0x7ddc7=_0x7e46;const _0xc41e86=await this[_0x7ddc7(0x1d6)][_0x7ddc7(0x1bf)](_0x28f95c),_0x50de3c=this[_0x7ddc7(0x1d0)][_0x7ddc7(0x2e0)](_0x9908dd);_0xc41e86[_0x7ddc7(0x360)][_0x7ddc7(0x275)](_0x217676(_0x37f6c7=>_0x37f6c7[_0x7ddc7(0x244)]===_0x3cdc31['UPDATE_PERMISSION_OBJ']),_0x2a804a(this[_0x7ddc7(0x41e)]))[_0x7ddc7(0x209)](_0xd6361f=>{var _0x573ea6=_0x7ddc7;const _0x51f28c=_0xd6361f,{objectId:_0x172e06}=_0x51f28c[_0x573ea6(0x25e)];_0x172e06===_0x28f95c?_0x50de3c[_0x573ea6(0x26b)](_0x28f95c):_0x50de3c[_0x573ea6(0x2f3)](_0x28f95c,_0x172e06);});};_0x1c8303(this[_0x11b520(0x248)][_0x11b520(0x31a)](_0xa8cbc9[_0x11b520(0x397)]))['pipe'](_0x378e98(_0x519cc0=>_0x519cc0[_0x11b520(0x3f7)]()),_0x217676(_0x3c0874=>!_0x361694(_0x3c0874)),_0x2a804a(this[_0x11b520(0x41e)]))['subscribe'](_0x28516c=>{_0x424e0d(_0x28516c);});}};ot=ur([we(0x0,_0xcdde00(_0x3ac3e0)),we(0x1,_0x72f3ae),we(0x2,_0x1f8e18),we(0x3,_0xcdde00(xe)),we(0x4,_0xcdde00(pe))],ot);var dr=Object[_0x12ec3c(0x1d4)],fr=(_0x8a5c78,_0x4c2222,_0x4deb11,_0x135260)=>{var _0x3040f2=_0x12ec3c;for(var _0x217cca=_0x135260>0x1?void 0x0:_0x135260?dr(_0x4c2222,_0x4deb11):_0x4c2222,_0x1fb694=_0x8a5c78[_0x3040f2(0x3e1)]-0x1,_0x4cac0d;_0x1fb694>=0x0;_0x1fb694--)(_0x4cac0d=_0x8a5c78[_0x1fb694])&&(_0x217cca=_0x4cac0d(_0x217cca)||_0x217cca);return _0x217cca;},_i=(_0x1beb01,_0x3729c3)=>(_0x2290c5,_0x4eb1d3)=>_0x3729c3(_0x2290c5,_0x4eb1d3,_0x1beb01);let Nt=class{constructor(_0x4b0ab7,_0x327757){var _0x1d29fa=_0x12ec3c;this[_0x1d29fa(0x2bf)]=_0x4b0ab7,this[_0x1d29fa(0x303)]=_0x327757;}async[_0x12ec3c(0x34f)](_0x1daeb2,_0x48a3c7){var _0x154b42=_0x12ec3c,_0x1b84d8;const {unitID:_0x7c9542,type:_0x306d55,revision:_0x3559d4=0x0}=_0x48a3c7,_0x25ca11=this['getSnapshotAPIPath']()+'/'+_0x306d55+'/unit/'+_0x7c9542+_0x154b42(0x31b)+_0x3559d4,_0x4c6c58=(await this[_0x154b42(0x303)]['get'](_0x25ca11))['body'],_0x267989=(_0x1b84d8=_0x4c6c58[_0x154b42(0x234)])==null?void 0x0:_0x1b84d8['workbook'];if(_0x267989){const _0x421046=_0x267989==null?void 0x0:_0x267989[_0x154b42(0x157)],_0x34d062=_0x28d806[_0x154b42(0x21c)](_0x401ad9(_0x421046));_0x267989['originalMeta']=_0x34d062,Object['entries'](_0x267989['sheets'])[_0x154b42(0x3eb)](([,_0x315937])=>{const _0x54ff1e=_0x315937['originalMeta'],_0x2f7434=_0x28d806['encode'](_0x401ad9(_0x54ff1e));_0x315937['originalMeta']=_0x2f7434;});}return _0x4c6c58;}async[_0x12ec3c(0x41f)](_0xfc5d09,_0x192601){var _0x446652=_0x12ec3c;const {unitID:_0x498045,type:_0x38eacb,blockID:_0x2009dc}=_0x192601,_0x27310e=this[_0x446652(0x3ea)]()+'/'+_0x38eacb+_0x446652(0x187)+_0x498045+'/block/'+_0x2009dc;return(await this['_httpService'][_0x446652(0x2e0)](_0x27310e))['body'];}async['getDeserializedSheetBlock'](_0x189435,_0x5f2d91){var _0x301640=_0x12ec3c;const {unitID:_0x47b410,type:_0x58c30e,blockID:_0x67ed36}=_0x5f2d91,_0x24e7db=this[_0x301640(0x3ea)]()+_0x301640(0x2de)+_0x58c30e+_0x301640(0x187)+_0x47b410+_0x301640(0x2de)+_0x67ed36;return(await this['_httpService'][_0x301640(0x2e0)](_0x24e7db))[_0x301640(0x411)];}async[_0x12ec3c(0x30b)](_0x30ce3f,_0x4a8419){var _0x5aa83c=_0x12ec3c;const {unitID:_0x7223a7,type:_0x4dc96f,from:_0x158e2a,to:_0x819e83}=_0x4a8419,_0x49dacf=this['_getAPIPrefix']()+'/'+_0x4dc96f+'/unit/'+_0x7223a7+'/fetchmissing?from='+_0x158e2a+_0x5aa83c(0x431)+_0x819e83;return(await this[_0x5aa83c(0x303)]['get'](_0x49dacf))[_0x5aa83c(0x411)];}[_0x12ec3c(0x2a2)](){var _0x1753ed=_0x12ec3c,_0x23507f;return(_0x23507f=this[_0x1753ed(0x2bf)][_0x1753ed(0x235)](Sn))!=null?_0x23507f:this['_getAPIPrefix']();}[_0x12ec3c(0x3ea)](){var _0x403aea=_0x12ec3c,_0x4053f5,_0x29043d;const _0xf80dc7=this[_0x403aea(0x2bf)][_0x403aea(0x235)](mn),_0x57c45f=this[_0x403aea(0x2bf)][_0x403aea(0x235)](q);return(_0x29043d=(_0x4053f5=_0x57c45f==null?void 0x0:_0x57c45f['snapshotServerUrl'])!=null?_0x4053f5:_0xf80dc7)!=null?_0x29043d:gn;}async[_0x12ec3c(0x1d3)](_0x661d29,_0x1b3c48){var _0x31fb66=_0x12ec3c;const _0x3f30dc=_0x31fb66(0x3c8)+_0x1b3c48[_0x31fb66(0x237)]+'/unit/'+_0x1b3c48[_0x31fb66(0x214)]+_0x31fb66(0x1b7);return(await this[_0x31fb66(0x303)][_0x31fb66(0x2e0)](_0x3f30dc,{'params':{'resourceId':JSON[_0x31fb66(0x32c)](_0x1b3c48['resourceIDs'])}}))[_0x31fb66(0x411)];}[_0x12ec3c(0x3dd)](){var _0x408361=_0x12ec3c;throw new Error(_0x408361(0x30f));}['saveSheetBlock'](){var _0x31111f=_0x12ec3c;throw new Error(_0x31111f(0x30f));}[_0x12ec3c(0x250)](){var _0x21c0f2=_0x12ec3c;throw new Error(_0x21c0f2(0x30f));}[_0x12ec3c(0x370)](){var _0x18b751=_0x12ec3c;throw new Error(_0x18b751(0x30f));}['getLatestCsReqIdBySid'](){var _0x2c0d61=_0x12ec3c;throw new Error(_0x2c0d61(0x30f));}};Nt=fr([_i(0x0,_0x1a732b),_i(0x1,_0xcdde00(_0x4d96c8))],Nt);var vr=Object['getOwnPropertyDescriptor'],pr=(_0x35ac55,_0x5e24bd,_0xf1e882,_0xa4a699)=>{for(var _0x450407=_0xa4a699>0x1?void 0x0:_0xa4a699?vr(_0x5e24bd,_0xf1e882):_0x5e24bd,_0x39bf1f=_0x35ac55['length']-0x1,_0x271f17;_0x39bf1f>=0x0;_0x39bf1f--)(_0x271f17=_0x35ac55[_0x39bf1f])&&(_0x450407=_0x271f17(_0x450407)||_0x450407);return _0x450407;},Pe=(_0x2101b9,_0x11e241)=>(_0x1db91d,_0x1f7f74)=>_0x11e241(_0x1db91d,_0x1f7f74,_0x2101b9);let Dt=class extends _0x387e91{constructor(_0x1f13d8,_0x469a46,_0x2f3ed8,_0x48487f,_0x257f81){var _0x2b6367=_0x12ec3c;super(_0x1f13d8,_0x469a46,_0x2f3ed8),this[_0x2b6367(0x3d2)]=_0x48487f,this['_logService']=_0x257f81;}['transformUndoRedo'](_0x34244c,_0x472a58){var _0x118b22=_0x12ec3c;const _0x4073f8=this[_0x118b22(0x289)](_0x34244c);if(_0x4073f8)try{const _0x3627f9=this[_0x118b22(0x2e5)](_0x4073f8,_0x472a58);this[_0x118b22(0x2f5)](_0x34244c,_0x3627f9);}catch(_0x4bfd8a){this['_logService'][_0x118b22(0x1e8)]('[CollaborationUndoRedoService]',_0x4bfd8a),this[_0x118b22(0x22c)](_0x34244c);}const _0x39d491=this[_0x118b22(0x3f6)](_0x34244c);if(_0x39d491)try{const _0x3c57d0=this[_0x118b22(0x2e5)](_0x39d491,_0x472a58);this['_substituteRedoStack'](_0x34244c,_0x3c57d0);}catch(_0x2a278c){this[_0x118b22(0x218)][_0x118b22(0x1e8)](_0x2a278c),this[_0x118b22(0x36e)](_0x34244c);}}[_0x12ec3c(0x22c)](_0x5a6dc3){var _0xa306b3=_0x12ec3c;const _0x469df5=this[_0xa306b3(0x289)](_0x5a6dc3);_0x469df5&&(_0x469df5[_0xa306b3(0x3e1)]=0x0,this[_0xa306b3(0x189)]());}[_0x12ec3c(0x36e)](_0xb0fedf){var _0x28a768=_0x12ec3c;const _0x49bb48=this[_0x28a768(0x3f6)](_0xb0fedf);_0x49bb48&&(_0x49bb48[_0x28a768(0x3e1)]=0x0,this[_0x28a768(0x189)]());}[_0x12ec3c(0x2f5)](_0x145af7,_0x1a4939){var _0x53e4f9=_0x12ec3c;this[_0x53e4f9(0x2ef)][_0x53e4f9(0x2f7)](_0x145af7,_0x1a4939),this[_0x53e4f9(0x189)]();}[_0x12ec3c(0x2cd)](_0x22e92d,_0xe77e7d){var _0x5c95ff=_0x12ec3c;this[_0x5c95ff(0x331)]['set'](_0x22e92d,_0xe77e7d),this['_updateStatus']();}[_0x12ec3c(0x2e5)](_0x5949a4,_0x2df164){var _0x27ea1f=_0x12ec3c;const _0x29dc1c=[];let _0x307599=_0x2df164,_0x5032b1=_0x2df164;for(let _0x555f87=_0x5949a4[_0x27ea1f(0x3e1)]-0x1;_0x555f87>=0x0;_0x555f87--){const {unitID:_0x5a84de,undoMutations:_0x572650,redoMutations:_0x218e5c}=_0x5949a4[_0x555f87],_0x4eb93d=this[_0x27ea1f(0x3d2)][_0x27ea1f(0x449)](_0x307599,_0x572650),_0xa202d6=this[_0x27ea1f(0x3d2)]['transformMutationsWithChangeset'](_0x5032b1,_0x218e5c);if(_0x391ae7(_0x4eb93d)||_0x391ae7(_0xa202d6)){this['_logService'][_0x27ea1f(0x1e8)](_0x27ea1f(0x33e),_0x27ea1f(0x19a),_0x4eb93d,_0xa202d6);break;}_0x307599=_0x4eb93d[_0x27ea1f(0x29d)],_0x5032b1=_0xa202d6[_0x27ea1f(0x29d)],_0x29dc1c[_0x27ea1f(0x404)]({'unitID':_0x5a84de,'undoMutations':_0x4eb93d['m2Prime'],'redoMutations':_0xa202d6[_0x27ea1f(0x44b)]});}return _0x29dc1c[_0x27ea1f(0x348)]();}};Dt=pr([Pe(0x0,_0x72f3ae),Pe(0x1,_0x1a6580),Pe(0x2,_0xe3af11),Pe(0x3,_0x10d518),Pe(0x4,_0x4c4c08)],Dt);var mr=Object[_0x12ec3c(0x2ed)],gr=Object[_0x12ec3c(0x1d4)],Sr=(_0x40b179,_0xdbf5e1,_0x3837e6)=>_0xdbf5e1 in _0x40b179?mr(_0x40b179,_0xdbf5e1,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3837e6}):_0x40b179[_0xdbf5e1]=_0x3837e6,Er=(_0x4732fd,_0x4fa2bf,_0xbbe73a,_0x1de21e)=>{var _0x461b5f=_0x12ec3c;for(var _0x12ad36=_0x1de21e>0x1?void 0x0:_0x1de21e?gr(_0x4fa2bf,_0xbbe73a):_0x4fa2bf,_0x5e32cc=_0x4732fd[_0x461b5f(0x3e1)]-0x1,_0x359845;_0x5e32cc>=0x0;_0x5e32cc--)(_0x359845=_0x4732fd[_0x5e32cc])&&(_0x12ad36=_0x359845(_0x12ad36)||_0x12ad36);return _0x12ad36;},St=(_0x44329b,_0xe1ce39)=>(_0x213d7d,_0x423639)=>_0xe1ce39(_0x213d7d,_0x423639,_0x44329b),Ir=(_0x10df5a,_0x1e0c12,_0x1d4dad)=>Sr(_0x10df5a,_0x1e0c12+'',_0x1d4dad);const Tr=_0x12ec3c(0x2f6);let Ut=class extends _0xc2147a{constructor(_0x1fdd84,_0xd38ba4,_0x2f5767,_0x1fc3bc){var _0x36f1fc=_0x12ec3c;super(),N(this,_0x36f1fc(0x1ce)),(this[_0x36f1fc(0x218)]=_0xd38ba4,this['_injector']=_0x2f5767,this[_0x36f1fc(0x2bf)]=_0x1fc3bc);const {..._0x5a58cb}=_0x188bea({},wn,_0x1fdd84);if(!_0x5a58cb[_0x36f1fc(0x240)])throw new Error(_0x36f1fc(0x160));this[_0x36f1fc(0x1ce)]=_0x5a58cb,this[_0x36f1fc(0x2bf)][_0x36f1fc(0x31f)](q,_0x5a58cb);}[_0x12ec3c(0x1db)](){this['_registerDependencies'](),this['_initDependencies']();}[_0x12ec3c(0x315)](){var _0x21f8e1=_0x12ec3c,_0x527878,_0x3b7878;this[_0x21f8e1(0x1d0)][_0x21f8e1(0x2ec)](_0x4a8d19)&&this[_0x21f8e1(0x218)][_0x21f8e1(0x1e8)]('[UniverCollaborationClientPlugin]','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!');const _0x5a1ac0=_0xb75436([[_0x4a8d19,{'useClass':Dt}],[xe],[Le],[it],[rt],[at],[Ti],[ot],[pe],[bt],[Ii,{'useClass':this[_0x21f8e1(0x1ce)][_0x21f8e1(0x240)]}],[_0x25633b,{'useClass':Nt}],[_0x27972a,{'useClass':Rt}],[_0x553cca,{'useClass':yt}],[_0x20c66f,{'useClass':Ot}],[st],[Ct]],(_0x527878=this[_0x21f8e1(0x1ce)])==null?void 0x0:_0x527878['override']);if(!((_0x3b7878=this[_0x21f8e1(0x1ce)])!=null&&_0x3b7878['enableSingleActiveInstanceLock'])){const _0x430987=_0x5a1ac0[_0x21f8e1(0x3c3)](([_0x347850])=>_0x347850===ht);_0x430987!==-0x1&&_0x5a1ac0[_0x21f8e1(0x42d)](_0x430987,0x1);}_0x5f5a3d(this[_0x21f8e1(0x1d0)],_0x5a1ac0);}[_0x12ec3c(0x304)](){var _0x5297c8=_0x12ec3c,_0x27431f,_0x588217,_0x2150b9;this[_0x5297c8(0x1d0)][_0x5297c8(0x2e0)](_0x4d96c8)[_0x5297c8(0x423)]({'priority':0x14,'interceptor':_0x3de671({'maxParallel':0x6})}),(_0x27431f=this[_0x5297c8(0x1ce)])!=null&&_0x27431f['enableOfflineEditing']||(_0x588217=this[_0x5297c8(0x1d0)][_0x5297c8(0x2e0)](J,_0x4fa767[_0x5297c8(0x3b1)]))==null||_0x588217[_0x5297c8(0x175)](),(_0x2150b9=this['_config'])!=null&&_0x2150b9[_0x5297c8(0x32b)]&&_0x49e9ca(this[_0x5297c8(0x1d0)],[[rt]]),_0x49e9ca(this[_0x5297c8(0x1d0)],[[at],[st],[ot]]);}};Ir(Ut,_0x12ec3c(0x443),Tr),Ut=Er([_0x505fbb(_0x15a40d,_0x154ba2),St(0x1,_0x4c4c08),St(0x2,_0xcdde00(_0x3ac3e0)),St(0x3,_0x1a732b)],Ut);export{Ni as AUTHZ_URL_KEY,Rt as AuthzIoHttpService,le as AwaitingState,oe as AwaitingWithPendingState,q as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,Nn as COLLAB_SUBMIT_CHANGESET_URL_KEY,In as COLLAB_WEB_SOCKET_URL_KEY,st as CollaborationController,nt as CollaborationEntity,yt as CollaborationImageIoService,Et as CollaborationSession,xe as CollaborationSessionService,Gt as CollaborationSocketService,bi as CollaborationStatus,re as CollaborationUIEventId,pe as CollaborationUIEventService,Dt as CollaborativeUndoRedoService,Ti as CommentService,ue as ConflictState,Tn as DEFAULT_COLLAB_WEB_SOCKET_URL,Hr as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,xr as DEFAULT_WS_SESSION_TICKET_URL,bt as DataLoaderService,It as DocCollaborationEntity,ee as FetchingMissState,Cn as HEARTBEAT_INTERVAL_KEY,mi as HEARTBEAT_TIMEOUT_KEY,Ii as ICollaborationSocketService,J as ILocalCacheService,Pn as INetworkConditionService,ht as ISingleActiveUnitService,kr as LOCAL_CACHE_INTERVAL,Mr as LOCAL_CACHE_INTERVAL_KEY,Un as LOGIN_URL_KEY,Le as MemberService,Ot as MentionIoHttpService,de as OfflineState,ae as PendingState,$r as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,yn as RETRY_CONNECTING_MAX_COUNT_KEY,Lr as SEND_CHANGESET_TIMEOUT_KEY,mn as SNAPSHOT_SERVER_URL_KEY,Sn as SNAPSHOT_URL_KEY,Ee as SessionStatus,Tt as SheetCollaborationEntity,it as SheetTransformSelectionsService,Nt as SnapshotServerOverHTTPService,Ne as SyncedState,Ci as UnitStatus,Ut as UniverCollaborationClientPlugin,Ln as deserializeToCombResponse,Br as getLocalCacheKey,xn as serializeCombRequest};
|