@univerjs-pro/collaboration-client 0.7.0-nightly.202505111606 → 0.7.0-nightly.202505131607
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +10 -10
package/lib/es/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
var _0x4bf5f3=_0x4b93;function _0x45e3(){var _0x40dc1e=['_onOffline','csShouldRetryEvent','_status$','Pkcs7','stringify','min','COMPRESS_MUTATION_SEND','ALREADY_EXISTS','BlockCipher','_snapshotService','\x20in\x20_schedule.','collabSubmitChangesetUrl','_createHmacHelper','reconnect','getImage','open$','_waitCount','_onRemoteACK','msCrypto','_collaborationTimeoutTimer','YUUMI_ASYNCIO_CANCELLED','/universer-api/uniscript','AES','_fetchMissChangesets','getUnitOnRev','2964456CGafzC','UNRECOGNIZED','_getAPIPrefixPath','WECHAT_HAS_BEEN_BOUND','_doCryptBlock','uniscriptRunEvent','POST','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','COMPRESS_MUTATION_APPLY','padding','[OfflineState]:\x20received\x20changeset.','encryptBlock','HttpExport','UNKNOWN_CMD','capture','_getCurrentRevision','_nRounds','APPLY_REVISION_CONFILICT','SOCKET_FAILED_RETRY','_onRemoteChangeset','_updateStatus','sheets','_localeService','FAIL','memberID','reverse','_transformStack','FileId','LOGIN_FAILED','reset','name','_transitionLocked','pipe','_getUndoStack','LIVESHARE_OPERATION','USERS_LEAVE','HEARTBEAT_TIMEOUT','getWorkbookSelections','_incrementRevisionNumber','_configService','_updateLocalCache','_event$','m2Prime','state','collaboration-client.config','clone','/allowed','getCurrentUser','fetching\x20missing\x20changesets\x20from\x20','_doReset','_pendingMutations','mutations','collaMsg','emitEvent','userID','addImageSourceCache','[CollaborationSessionService]','FETCH_MISS','GLOBAL_ROOMS_CNT_EXCEEDS','_startCollaboration','EXCHANGE_SIGN_URL_SERVER_URL_KEY','[CollaborationEntity]','getDeserializedSheetBlock','headers','_data','decrypt','reduce','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','init','transformUndoRedo','$super','parse','MSG_FOR_ERROR','selections','INVALID_INVITE_CODE','BufferedBlockAlgorithm','EvpKDF','_checkMissing','[CollaborationState]:\x20apply\x20error!','_getSignURL','_HTTPService','range','collaborators','routeKey','APPLY_PERMISSION_DENIED','push','error$','confirm','CONNECTOR_DATA_TOO_LARGE','/universer-api/stream/file/upload','_emitMembers','synced','JOIN','unitInfo$','/universer-api/file/{fileID}/sign-url','/universer-api/comb','charAt','Failed\x20to\x20update\x20permission\x20point','/universer-api/snapshot/','INVALID_ARGUMENT','UNIVER_PROJECT','awaitingChangeset','toggleOnline','Undefined','isArray','NOT_FOUND','/object/','refreshPermission','x-univer-host','csRejEvent','_singleActiveUnitService','_throwTelemetryCollaborationNewChangeset','blockSize','LOCAL_CACHE_INTERVAL','PERSON','_telemetryService','getAllMembers','pauseCollaboration','COLLAB_WEB_SOCKET_URL','socketService','members','SHA1','update','localCacheService','_sendingTimer','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','_joinRoom','set','unitId\x20is\x20not\x20found','encodeURIComponent','_createHandler','commentUpdateEvent','_clearHeartbeatTimer','_scheduleCompleteTimestamp','getTypeOfUnitDisposed$','readyForCollab','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','randomBytes','116305koTEgc','extend','_initDependencies','rev','generateRandomId','{fileID}','[OfflineState]:\x20received\x20rejection.','_syncEditingCollabCursor','[CollaborationSession]','concat','_transformStateCache','ENSURE_SNAPSHOT_EXECUTION','OpenSSL','Could\x20not\x20dynamically\x20require\x20\x22','loadDoc','compute','_roomCreated$','\x20-\x20','lib','_isPermissionRej','Decryptor','listRoles','getMemberID','fetchMiss','USERS_ENTER','_hash','_instanceService','NoPadding','_substituteRedoStack','_showConflictNotification','HELLO','_networkConditionService','editingUnit','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','/-/object/list','result','_onConflict','_getRedoStack','_resendWithTimeout','target','&to=','liveShareNewHost','Hasher','onSendChangeset','LEAVE','status','_retryConnectingTimer','_keyPriorReset','putCollaborators','onMissingChangesets','?url=','data','AWAITING','title','[OfflineState]:\x20received\x20acknowledgement.','Univer','createSocket','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','unpad','_hasher','[FetchMissState]','/-/object/-/batch_allowed','onTransformState','members$','equals','ivSize','WordArray','every','override','PERMISSION_DENIED','isPermissionRej','[SyncedState]:\x20received\x20rejection.','INGEST','_onConnectionFailed','objectType','_httpService','UnitSnapshot','state$','snapshot','startTime','[PendingState]:\x20received\x20rejection.','_executeRemoteChangeset','Malformed\x20UTF-8\x20data','_entities','action','origin','_sendHeartbeatTimer','href','CONFLICT','_startTelemetryCollaborationNewChangeset','APPLY_DUPLICATED','submit\x20changeset\x20error!','_changesetSessionId','/unit/','fetchMissingChangesets','_change$','YUUMI_AI_RUN_FAILED','createDecryptor','originalMeta','crypto','_queuedRemoteChangesets','LOGIN_URL_KEY','delete','/object','_tryReconnect','_resendTimer','_loadDoc','UNIVER_COLLABORATION_CLIENT_PLUGIN','_doFinalize','_snapshotServerService','collaboration_new_changeset','/role','disposeWithMe','execute','catch','_transformIMECache','default','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','_scheduleCollaborationTimeoutTimer','find','YUUMI_TABLE_NOT_FOUND_IN_UNIT','OFFLINE','_doCreateSocket','univer-pro.collaboration-client.network-condition.service','_handler','algo','getCurrentRevOfUnit','location','_members','randomUUID','&source=','pad','RETRY_CONNECTING_MAX_COUNT','_handlerCallback','requireSession','UNKNOWN_CODE','JOIN_ROOM_FAILED','commentUpdate$','subUnitId','roomInfos','finalize','getMember','getUnitId','/new_changes','getUnit','loadSheet','_commandService','loadOfflineData','UnitEmbedded','_rescheduleHeartbeat','APPLY_REJECT','onRemoteRej','28341giNIVm','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','_config','subject','/universer-api/user/session-ticket','updatePermissionPoint','mixIn','stopTime','LICENSE_EXPORT_SIZE_EXCEEDED','responseType','awaiting','BlockCipherMode','BASE64','_onFetchMissResult','replace','_iv','encode','_decreaseWaiting','localeService','_roomMembers','patch','Latin1','YUUMI_RATE_OVER_LIMIT','_getAPIPrefix','CipherParams','1124svdcQZ','_members$','sid','getCollabEntity$','enc','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','message$','sigBytes','debug','onCommandExecuted','offline','_removeRoom','_commentUpdate$','withCredentials','connection\x20error','awaiting_with_pending','_iKey','session.room-permission-denied','Random\x20bytes\x20length\x20must\x20be\x20>=\x2016','call','processBlock','_createSocket','onRemoteRetry','createCollaborator','_univerInstanceService','_state$','file','join','UNAUTHENTICATED','_mode','PY_RUNTIME_SCRIPT_ERROR','append','INVITE_CODE_ALREADY_BOUND','SNAPSHOT_HAS_BEEN_REMOVED','fromCollab','actions','_parse','copyFileMeta','_unitID','YUUMI_ALL_TABLES_IS_INVALID','SOCKET_FAILED','string','__creator','duration','reject','_initMergeInterceptor','_lockTransition','SHOULD_CLOSE_CONN','byteLength','/resources','_undoStacks','HmacSHA1','SUBMIT_CHANGESET_TIMEOUT','_createInitialState','c1Prime','[CollaborationUndoRedoService]','PENDING','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','_collaborationPaused','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','from','close','getUnitStatus$','[DataLoaderService]','pending','clamp','CLOSE_ROOM','transformStack\x20failed!','PSEUDO_FETCH_MISSING_RESULT','onMissedChangesetFetched','CHANGESET_ACK','params','IDLE','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','toggleOffline','random','LIVESHARE_REQUEST_HOST','APPLY_NON_SEQUENTIAL_REVISION','add','unitId','HttpImport','put','_compressMutationService','getFocusedUnit','getUnitType','now','saveSnapshot','RECV','allowed','url','_eventService','_clearRetryConnectingTimer','setCurrentUser','splice','_sheetTransformSelectionsService','session.room-cnt-exceeds','cmd','format','getImageSourceCache','enableSingleActiveInstanceLock','UPDATE_PERMISSION_OBJ','hasher','PERMISSION_REJ','1496904ywIpkz','save\x20fail\x20reason\x20is\x20','_undoRedoService','conflict','_logService','getSnapshotAPIPath','src','failed\x20to\x20apply\x20missed\x20changesets!','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','deleteCollaborator','OTHER_CLIENTS_EDITING','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','permissionRejEvent','LICENSE_IMPORT_SIZE_EXCEEDED','TOO_MANY_REQUESTS','CHANGESET_REVISION_CONFILICT','ciphertext','_socketService','includes','_telemetryInfo','_cipher','_onCombEvent','getTypeOfUnitAdded$','eventID','batchAllowed','editing\x20status\x20changed\x20to','SNAPSHOT_SERVER_URL_KEY','bind','createEncryptor','_userManagerService','_replaceFileID','onLocalMutation','/block/','words','image/jpeg','univer-pro.collaboration-client-socket-service','status$','appendMutation','unitID','_redoStacks','_changesetReqId','_clearLocalCache','length','function','objectActions','FETCH_MISSING','updateCursorEvent','USER_NOT_INVITED_CODE','createInstance','complete','encrypt','updateMember','unknown','_clearUndo','People','max','UNIVER_DOC','OTHER_CLIENT_EDITING','Hex','_onUserJoin','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','_ENC_XFORM_MODE','registerHTTPInterceptor','NO_OTHER_CLIENTS_EDITING','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','UserProfileImg','_unlockTransition','UNIVER_SHEET','_map','_socket','_remoteChangesetQueue','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','_sessionStatus$','_socketReady','focused$','MD5','sessionStatus$','_retryCount','_unitInfo$','snapshotServerUrl','_append','size','incrementRevOfUnit','session.room-not-exists','saveSheetBlock','getOwnPropertyDescriptor','/universer-api/oidc/authpage','c2Prime','repeat','_tryEnsureSocket','LIVESHARE_NEW_HOST','objectID','LIVESHARE_TERMINATE','_sessions','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','startsWith','_prevBlock','_invKeySchedule','transformSelections','_clearRedo','UNDEFINED','_clearCollaborationTimeoutTimer','formatter','toLowerCase','INTERNAL_ERROR','3sMbubC','_listenToNetworkCondition','shouldCloseConn','_DEC_XFORM_MODE','SUBMIT_CHANGESET','pluginName','event$','SNAPSHOT_INVALID_SNAPSHOT','_disableEditing','dispose$','authzUrl','charCodeAt','JOINING','removeMember','kdf','NOT_COLLAB','cfg','SNAPSHOT_URL_KEY','resend','univer-pro.collaboration-client.single-active-unit-service','byteOffset','executeCommand','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','_collaborationSessionService','textRanges','code','dispose','_loadSheet','_transformService','auth.needGotoLoginAlert','mode','online$','_submitChangeset','_socket$','apply','updateOfflineData','_transformRemoteChangesetByIMECache','_substituteUndoStack','image/jpg','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','interceptor','_clearScheduledTask','retryConnectingInterval','UNIVER_SLIDE','onRemoteAck','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','NEW_CHANGESETS','462mnGlPT','_memberService','_reverseMap','ONLINE','CBC','_candidateSocket','transformMutationsWithChangeset','getConfig','_imageSourceCache','HEARTBEAT','_initCloseConn','values','has','defineProperty','_xformMode','187PKAICq','_onLocalMutation','floor','saveImage','JOIN_ROOM_NOT_EXISTS','_sendHeartbeat','_getSendChangesetTimeout','fetch_missing','getInterceptPoints','joinRsp','_shouldReportTelemetry','_state','body','fetchThroughInterceptors','onSyncEditingCollabCursor','collabWebSocketUrl','_createHelper','not_collab','error','YUUMI_UNABLE_LOAD_URL','revision','image/gif','_stopTelemetryCollaborationNewChangeset','1894602JrcRMe','post','CHANGESET_SHOULD_RETRY','socket$','forEach','_collabSessionService','subscribe','getValue','_initRequestHeader','joinEvent','changesets','onlyLocal','__Key__','[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.','_clearTimeoutTimer','send','_waitForHeartbeatResponse','_socketMessageSubscription','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','rng','UNIVER_UNKNOWN','[SyncedState]:\x20received\x20acknowledgement.','_nDataBytes','_init','onTransformRemoteChangesetByIMECache','MOBILE_HAS_BEEN_BOUND','getLatestCsReqIdBySid','YUUMI_SUBSCRIPTION_NOT_FOUND','avatar','LICENSE_DISTRO_REJECTED','[UniverCollaborationClientPlugin]','onTransformRemoteChangesetByStateCache','_revisionService','reqId','get','UNISCRIPT_RUN','_collaborationUIEventService','_exhaustRemoteChangesetQueue','INVITE_CODE_HAS_BEEN_UES','/collaborator','exports','map','_permissionService','_getCtorByUniverType','UPDATE_CURSOR','_oKey','getSheetId','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','transformChangesets','JOIN_ROOM_FULL','\x0aAfter:\x20','getRoom','closeSession','setShowComponents','hasOwnProperty','/universer-api/authz','onTransformSelections','_sender','_key','list','_applyRemoteChangeset','_getUploadFileURL','_initUnitPermissionChange','COMMENT_UPDATE','fromCharCode','decryptBlock','next','socket\x20close','LICENSE_MAX_UNITS_EXCEEDED','\x20to\x20','_keySchedule','salt','loginUrlKey','_onRemoteRejected','_getDownloadEndpointURL','_minBufferSize','_injector','_timeoutTimer','_transformRemoteChangesetByStateCache','_type','getCollabEntity','_schedule','getRandomValues','asObservable','onStarting','prototype','keySize','enableAuthServer','unsubscribe','entries','_registerDependencies','_getLoginPath','telemetry\x20info\x20is\x20not\x20initialized','13365ySOxMh','LIVESHARE_FETCH_OPERATIONS','session.join-failed','toString','type','_localCacheService','_entityInit$','_onRemoteRetry','INVITE_CODE_REQUIRED','YUUMI_URL_COL_OUT_OF_RANGE','image/bmp','COMPLETION_FINISHED','_updateState','YUUMI_NO_CUBOID_FOR_QUESTION','baseRev','_onMessage','loadUnit','getTime','session','AWAITING_WITH_PENDING','_resendTimeout','JOIN_ROOM_PERMISSION_DENIED','_replayCachedMutations','_toggleOnline','leaveEvent','getSheetBlock','infoRsp','then','710bySAHB','readAsDataURL','MUTATION','CHANGESET_REJ','Utf8','_createInitialStateImpl','_commentService','slice','signUrlServerUrl','_process','Base64','_onUserLeave','__esModule','_awaitingChangeset','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','ERROR_IMAGE','Base','onRemoteChangeset','filter','_onRecvEvent','downloadEndpointUrl','_acknowledgedAwaitingChangeset','2082012rLJWzA','sessionStatus','socket\x20open.','key','addHandlerCallback','create','Encryptor','onTransformIME','clear','ERROR_IMAGE_TYPE'];_0x45e3=function(){return _0x40dc1e;};return _0x45e3();}(function(_0x1d8c57,_0x3e59eb){var _0x3967a9=_0x4b93,_0x572170=_0x1d8c57();while(!![]){try{var _0x5e7798=-parseInt(_0x3967a9(0x1a4))/0x1+parseInt(_0x3967a9(0x262))/0x2*(parseInt(_0x3967a9(0x20d))/0x3)+-parseInt(_0x3967a9(0x13d))/0x4*(parseInt(_0x3967a9(0x2bf))/0x5)+parseInt(_0x3967a9(0x23c))/0x6*(-parseInt(_0x3967a9(0x39e))/0x7)+parseInt(_0x3967a9(0x314))/0x8+parseInt(_0x3967a9(0x436))/0x9*(parseInt(_0x3967a9(0x2db))/0xa)+parseInt(_0x3967a9(0x24b))/0xb*(parseInt(_0x3967a9(0x2f1))/0xc);if(_0x5e7798===_0x3e59eb)break;else _0x572170['push'](_0x572170['shift']());}catch(_0x4987a8){_0x572170['push'](_0x572170['shift']());}}}(_0x45e3,0xeb3fe));var wi=Object[_0x4bf5f3(0x249)],Pi=(_0x4d2003,_0x5cbcb5,_0x18cc8e)=>_0x5cbcb5 in _0x4d2003?wi(_0x4d2003,_0x5cbcb5,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x18cc8e}):_0x4d2003[_0x5cbcb5]=_0x18cc8e,N=(_0x4b3169,_0x1f7cf8,_0x2ea56d)=>Pi(_0x4b3169,typeof _0x1f7cf8!='symbol'?_0x1f7cf8+'':_0x1f7cf8,_0x2ea56d);import{createIdentifier as _0x15bd17,Inject as _0x34c223,Injector as _0x4bf894,IConfigService as _0x40de2c,ILogService as _0x15891c,Disposable as _0x323681,DisposableCollection as _0x51cdc0,toDisposable as _0x2e73a8,IUniverInstanceService as _0x224a4c,UserManagerService as _0x1b7411,UniverInstanceType as _0x4c2c15,LocaleService as _0x27fab3,Optional as _0x4af427,RxDisposable as _0x358cae,Tools as _0x1a9c04,Rectangle as _0x500b01,ICommandService as _0x2fcd18,JSONX as _0x2025e0,CommandType as _0x4a5cee,IUndoRedoService as _0x46d797,IPermissionService as _0x5c3493,sequenceExecute as _0x25b8aa,Workbook as _0xf1c1f5,MentionType as _0x310988,isInternalEditorID as _0x4d1454,LocalUndoRedoService as _0x10afaa,IContextService as _0x444a12,DependentOn as _0x539f2d,Plugin as _0x1cae86,merge as _0x3c31d5,mergeOverrideWithDependencies as _0x51a582,IAuthzIoService as _0x4b86b6,IMentionIOService as _0x1c75c4,registerDependencies as _0xd39a3f,Quantity as _0x1623cf,touchDependencies as _0x8bb584}from'@univerjs/core';import{Subject as _0x59dfe1,merge as _0xee77e5,of as _0x38b3d7,BehaviorSubject as _0x25b128,takeUntil as _0x40fcdc,ReplaySubject as _0xf9db45,take as _0x78bb0e,map as _0x3ba469,shareReplay as _0x2658d9,firstValueFrom as _0x3cff11,concatMap as _0xd686b}from'rxjs';import{map as _0x4cb1f4,take as _0x296aaa,filter as _0x5622b8,delay as _0x20f6eb,takeUntil as _0x4b36fe}from'rxjs/operators';import{CollaborationEvent as _0x165352,ISnapshotServerService as _0x521343,parseChangesetToProtocol as _0x2a6a7d,ITransformService as _0x358e5a,isTransformMutationsWithChangesetSuccess as _0xe482d,mapDocumentTypeToUniverType as _0x3e7512,RevisionService as _0x3dfaaa,isTransformChangesetsSuccess as _0x3eb120,CompressMutationService as _0x543b4e,parseProtocolChangeset as _0x3fe07b,SnapshotService as _0x2c4377,textEncoder as _0xc61b18,b64DecodeUnicode as _0x4bd3cf,isTransformMutationsWithChangesetFailure as _0x544cc2,UniverCollaborationPlugin as _0x2b00c3}from'@univerjs-pro/collaboration';import{HTTPService as _0xdae5b,ISocketService as _0xc1eb78,MergeInterceptorFactory as _0x3fa212,HTTPRequest as _0x3c3e28,UniverNetworkPlugin as _0x15a4cc,ThresholdInterceptorFactory as _0x1f4159}from'@univerjs/network';import{ITelemetryService as _0x38ceda}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x1877b5}from'@univerjs/docs';import{SheetsSelectionsService as _0x4904e7,SetSelectionsOperation as _0x5c7cb1,InsertSheetMutation as _0x1f0253,EmptyMutation as _0x49686c,WorkbookEditablePermission as _0x5ec505,SheetPermissionInitController as _0x424bba}from'@univerjs/sheets';import{ImageSourceType as _0x616b73,ImageUploadStatusType as _0x585bd9,IImageIoService as _0x289bd1}from'@univerjs/drawing';import{getGlobalObject as _0x4e2d16}from'@univerjs-pro/license';const mn=_0x4bf5f3(0x1be),gn='/universer-api/snapshot',Sn=_0x4bf5f3(0x21e),Lr='SEND_CHANGESET_TIMEOUT',En=0x7d0,In=_0x4bf5f3(0x38a),Tn='ws://127.0.0.1:8000/universer-api/comb/connect',Mr=_0x4bf5f3(0x43a),Cn='HEARTBEAT_INTERVAL',Rn=0x7530,mi=_0x4bf5f3(0x338),gi=0x4e20,bn=0x4e20,On=_0x4bf5f3(0x422),yn=0x3,xr=_0x4bf5f3(0x385),kr=0x3e8,Nn='COLLAB_SUBMIT_CHANGESET_URL',Dn=_0x4bf5f3(0x373),Un=_0x4bf5f3(0x403),An=_0x4bf5f3(0x1fa),$r=_0x4bf5f3(0x186),Hr=_0x4bf5f3(0x310);var Si=(_0x647301=>(_0x647301[_0x647301['UNDEFINED']=0x0]=_0x4bf5f3(0x208),_0x647301[_0x647301['OK']=0x1]='OK',_0x647301[_0x647301['INTERNAL_ERROR']=0x2]=_0x4bf5f3(0x20c),_0x647301[_0x647301[_0x4bf5f3(0x3e3)]=0x3]=_0x4bf5f3(0x3e3),_0x647301[_0x647301[_0x4bf5f3(0x37d)]=0x4]='NOT_FOUND',_0x647301[_0x647301[_0x4bf5f3(0x159)]=0x5]=_0x4bf5f3(0x159),_0x647301[_0x647301[_0x4bf5f3(0x302)]=0x6]=_0x4bf5f3(0x302),_0x647301[_0x647301[_0x4bf5f3(0x377)]=0x7]=_0x4bf5f3(0x377),_0x647301[_0x647301[_0x4bf5f3(0x1b2)]=0x8]=_0x4bf5f3(0x1b2),_0x647301[_0x647301['COMPLETION_FINISHED']=0x9]=_0x4bf5f3(0x2ca),_0x647301[_0x647301['LOGIN_FAILED']=0xa]=_0x4bf5f3(0x330),_0x647301[_0x647301[_0x4bf5f3(0x1b3)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x647301[_0x647301[_0x4bf5f3(0x214)]=0x1771]=_0x4bf5f3(0x214),_0x647301[_0x647301[_0x4bf5f3(0x15e)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x647301[_0x647301[_0x4bf5f3(0x3a9)]=0x1773]=_0x4bf5f3(0x3a9),_0x647301[_0x647301[_0x4bf5f3(0x434)]=0x1b59]='APPLY_REJECT',_0x647301[_0x647301['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x4bf5f3(0x18a),_0x647301[_0x647301[_0x4bf5f3(0x325)]=0x1b5b]=_0x4bf5f3(0x325),_0x647301[_0x647301[_0x4bf5f3(0x368)]=0x1b5c]=_0x4bf5f3(0x368),_0x647301[_0x647301[_0x4bf5f3(0x3f8)]=0x1b5d]='APPLY_DUPLICATED',_0x647301[_0x647301[_0x4bf5f3(0x36c)]=0x1f41]=_0x4bf5f3(0x36c),_0x647301[_0x647301[_0x4bf5f3(0x2a6)]=0x2329]=_0x4bf5f3(0x2a6),_0x647301[_0x647301[_0x4bf5f3(0x3d7)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x647301[_0x647301[_0x4bf5f3(0x1b1)]=0x232b]=_0x4bf5f3(0x1b1),_0x647301[_0x647301[_0x4bf5f3(0x43e)]=0x232c]=_0x4bf5f3(0x43e),_0x647301[_0x647301[_0x4bf5f3(0x27f)]=0x232d]=_0x4bf5f3(0x27f),_0x647301[_0x647301[_0x4bf5f3(0x25e)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x647301[_0x647301['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x4bf5f3(0x2c8),_0x647301[_0x647301['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x4bf5f3(0x13a),_0x647301[_0x647301[_0x4bf5f3(0x27d)]=0x2714]=_0x4bf5f3(0x27d),_0x647301[_0x647301[_0x4bf5f3(0x2cc)]=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x647301[_0x647301[_0x4bf5f3(0x30f)]=0x271b]=_0x4bf5f3(0x30f),_0x647301[_0x647301[_0x4bf5f3(0x416)]=0x271c]=_0x4bf5f3(0x416),_0x647301[_0x647301[_0x4bf5f3(0x164)]=0x271d]=_0x4bf5f3(0x164),_0x647301[_0x647301[_0x4bf5f3(0x2e9)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x647301[_0x647301['YUUMI_AI_RUN_FAILED']=0x271f]=_0x4bf5f3(0x3fe),_0x647301[_0x647301[_0x4bf5f3(0x15b)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x647301[_0x647301['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x4bf5f3(0x288),_0x647301[_0x647301['INVALID_INVITE_CODE']=0x2ee2]=_0x4bf5f3(0x35e),_0x647301[_0x647301[_0x4bf5f3(0x2c7)]=0x2ee3]=_0x4bf5f3(0x2c7),_0x647301[_0x647301[_0x4bf5f3(0x1d3)]=0x2ee4]=_0x4bf5f3(0x1d3),_0x647301[_0x647301[_0x4bf5f3(0x15d)]=0x2ee5]=_0x4bf5f3(0x15d),_0x647301[_0x647301[_0x4bf5f3(0x317)]=0x32c9]=_0x4bf5f3(0x317),_0x647301[_0x647301[_0x4bf5f3(0x27b)]=0x32ca]=_0x4bf5f3(0x27b),_0x647301[_0x647301['EMAIL_HAS_BEEN_BOUND']=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x647301[_0x647301[_0x4bf5f3(0x315)]=-0x1]=_0x4bf5f3(0x315),_0x647301))(Si||{}),Q=(_0x265737=>(_0x265737[_0x265737[_0x4bf5f3(0x276)]=0x0]=_0x4bf5f3(0x276),_0x265737[_0x265737[_0x4bf5f3(0x1dc)]=0x1]=_0x4bf5f3(0x1dc),_0x265737[_0x265737['UNIVER_SHEET']=0x2]=_0x4bf5f3(0x1e7),_0x265737[_0x265737[_0x4bf5f3(0x238)]=0x3]='UNIVER_SLIDE',_0x265737[_0x265737[_0x4bf5f3(0x378)]=0x4]=_0x4bf5f3(0x378),_0x265737[_0x265737[_0x4bf5f3(0x315)]=-0x1]=_0x4bf5f3(0x315),_0x265737))(Q||{}),F=(_0x39833=>(_0x39833[_0x39833['UNKNOWN_CMD']=0x0]=_0x4bf5f3(0x321),_0x39833[_0x39833[_0x4bf5f3(0x3bc)]=0x1]=_0x4bf5f3(0x3bc),_0x39833[_0x39833[_0x4bf5f3(0x370)]=0x2]=_0x4bf5f3(0x370),_0x39833[_0x39833['LEAVE']=0x3]=_0x4bf5f3(0x3ca),_0x39833[_0x39833[_0x4bf5f3(0x3e6)]=0x4]=_0x4bf5f3(0x3e6),_0x39833[_0x39833[_0x4bf5f3(0x245)]=0x5]=_0x4bf5f3(0x245),_0x39833[_0x39833['RECV']=0x6]=_0x4bf5f3(0x194),_0x39833[_0x39833[_0x4bf5f3(0x315)]=-0x1]=_0x4bf5f3(0x315),_0x39833))(F||{}),ge=(_0x4a6327=>(_0x4a6327[_0x4a6327[_0x4bf5f3(0x425)]=0x0]=_0x4bf5f3(0x425),_0x4a6327[_0x4a6327['OK']=0x1]='OK',_0x4a6327[_0x4a6327[_0x4bf5f3(0x32b)]=0x2]=_0x4bf5f3(0x32b),_0x4a6327[_0x4a6327[_0x4bf5f3(0x293)]=0x3e9]=_0x4bf5f3(0x293),_0x4a6327[_0x4a6327[_0x4bf5f3(0x24f)]=0x3ea]='JOIN_ROOM_NOT_EXISTS',_0x4a6327[_0x4a6327[_0x4bf5f3(0x2d4)]=0x3eb]='JOIN_ROOM_PERMISSION_DENIED',_0x4a6327[_0x4a6327['GLOBAL_ROOMS_CNT_EXCEEDS']=0x3ec]='GLOBAL_ROOMS_CNT_EXCEEDS',_0x4a6327[_0x4a6327[_0x4bf5f3(0x315)]=-0x1]=_0x4bf5f3(0x315),_0x4a6327))(ge||{}),Ei=(_0x1ebef5=>(_0x1ebef5[_0x1ebef5[_0x4bf5f3(0x37b)]=0x0]=_0x4bf5f3(0x37b),_0x1ebef5[_0x1ebef5[_0x4bf5f3(0x18d)]=0x1]='HttpImport',_0x1ebef5[_0x1ebef5[_0x4bf5f3(0x320)]=0x2]=_0x4bf5f3(0x320),_0x1ebef5[_0x1ebef5[_0x4bf5f3(0x432)]=0x3]='UnitEmbedded',_0x1ebef5[_0x1ebef5[_0x4bf5f3(0x3ea)]=0x4]=_0x4bf5f3(0x3ea),_0x1ebef5[_0x1ebef5[_0x4bf5f3(0x1e5)]=0x5]=_0x4bf5f3(0x1e5),_0x1ebef5[_0x1ebef5[_0x4bf5f3(0x315)]=-0x1]=_0x4bf5f3(0x315),_0x1ebef5))(Ei||{});const q=_0x4bf5f3(0x340),wn={};var re=(_0x16d065=>(_0x16d065[_0x4bf5f3(0x1dd)]=_0x4bf5f3(0x1dd),_0x16d065['PERMISSION_DENIED']='PERMISSION_DENIED',_0x16d065[_0x4bf5f3(0x3f6)]=_0x4bf5f3(0x3f6),_0x16d065[_0x4bf5f3(0x17f)]=_0x4bf5f3(0x17f),_0x16d065[_0x4bf5f3(0x426)]='JOIN_ROOM_FAILED',_0x16d065[_0x4bf5f3(0x326)]=_0x4bf5f3(0x326),_0x16d065[_0x4bf5f3(0x165)]='SOCKET_FAILED',_0x16d065[_0x4bf5f3(0x171)]=_0x4bf5f3(0x171),_0x16d065))(re||{});class pe{constructor(){var _0x2ac995=_0x4bf5f3;N(this,_0x2ac995(0x33d),new _0x59dfe1()),N(this,_0x2ac995(0x213),this[_0x2ac995(0x33d)][_0x2ac995(0x2b5)]());}[_0x4bf5f3(0x349)](_0x5c0c38){var _0xe2caab=_0x4bf5f3;this[_0xe2caab(0x33d)][_0xe2caab(0x2a4)](_0x5c0c38);}}const Pn=_0x15bd17(_0x4bf5f3(0x419));function Ln(_0x4c0ed2){var _0xe51d26=_0x4bf5f3,_0x5e40be,_0x3c8d5c,_0x339215,_0x1e034a,_0x5bba38;const _0xa22e02=_0x4c0ed2[_0xe51d26(0x3d1)],_0x47473c=JSON['parse'](_0xa22e02);switch(_0x47473c['cmd']){case F[_0xe51d26(0x245)]:case F[_0xe51d26(0x3bc)]:{const _0x5c6a44=_0x47473c[_0xe51d26(0x2d9)];return{..._0x47473c,'data':_0x5c6a44,'cmd':_0x47473c[_0xe51d26(0x19d)]};}case F[_0xe51d26(0x370)]:{const _0x159e66=_0x47473c[_0xe51d26(0x254)];return{..._0x47473c,'data':_0x159e66,'cmd':_0x47473c[_0xe51d26(0x19d)]};}case F[_0xe51d26(0x194)]:{const _0x427cd9=_0x47473c[_0xe51d26(0x348)];switch(_0x427cd9[_0xe51d26(0x1bb)]){case _0x165352[_0xe51d26(0x1a3)]:return{..._0x47473c,'data':{..._0x427cd9,'data':(_0x5e40be=_0x427cd9[_0xe51d26(0x1b0)])==null?void 0x0:_0x5e40be['cs']},'cmd':_0x47473c[_0xe51d26(0x19d)]};case _0x165352[_0xe51d26(0x183)]:return{..._0x47473c,'data':{..._0x427cd9,'data':(_0x3c8d5c=_0x427cd9['csAckEvent'])==null?void 0x0:_0x3c8d5c['cs']},'cmd':_0x47473c[_0xe51d26(0x19d)]};case _0x165352[_0xe51d26(0x23b)]:return{..._0x47473c,'data':{..._0x427cd9,'data':(_0x339215=_0x427cd9['newCsEvent'])==null?void 0x0:_0x339215['cs']},'cmd':_0x47473c[_0xe51d26(0x19d)]};case _0x165352[_0xe51d26(0x2de)]:return{..._0x47473c,'data':{..._0x427cd9,'data':(_0x1e034a=_0x427cd9[_0xe51d26(0x381)])==null?void 0x0:_0x1e034a['cs']},'cmd':_0x47473c[_0xe51d26(0x19d)]};case _0x165352[_0xe51d26(0x264)]:return{..._0x47473c,'data':{..._0x427cd9,'data':(_0x5bba38=_0x427cd9[_0xe51d26(0x2fc)])==null?void 0x0:_0x5bba38['cs']},'cmd':_0x47473c[_0xe51d26(0x19d)]};case _0x165352[_0xe51d26(0x28e)]:return{..._0x47473c,'data':{..._0x427cd9,'data':_0x427cd9[_0xe51d26(0x1d2)]},'cmd':_0x47473c[_0xe51d26(0x19d)]};case _0x165352[_0xe51d26(0x3b6)]:return{..._0x47473c,'data':{..._0x427cd9,'data':_0x427cd9[_0xe51d26(0x26b)]},'cmd':_0x47473c[_0xe51d26(0x19d)]};case _0x165352[_0xe51d26(0x337)]:return{..._0x47473c,'data':{..._0x427cd9,'data':_0x427cd9[_0xe51d26(0x2d7)]},'cmd':_0x47473c[_0xe51d26(0x19d)]};case _0x165352[_0xe51d26(0x1fe)]:return{..._0x47473c,'data':{..._0x427cd9,'data':_0x427cd9[_0xe51d26(0x3c7)]},'cmd':_0x47473c[_0xe51d26(0x19d)]};case _0x165352[_0xe51d26(0x2c0)]:case _0x165352[_0xe51d26(0x336)]:return{..._0x47473c,'data':{..._0x427cd9,'data':_0x427cd9['liveShareOperation']},'cmd':_0x47473c[_0xe51d26(0x19d)]};case _0x165352[_0xe51d26(0x200)]:return{..._0x47473c,'data':{..._0x427cd9,'data':_0x427cd9[_0xe51d26(0x3c7)]},'cmd':_0x47473c['cmd']};case _0x165352['MSG_FOR_ERROR']:return{..._0x47473c,'data':_0x427cd9,'cmd':_0x47473c[_0xe51d26(0x19d)]};case _0x165352[_0xe51d26(0x2a1)]:return{..._0x47473c,'data':{..._0x427cd9,'data':_0x427cd9[_0xe51d26(0x397)]},'cmd':_0x47473c[_0xe51d26(0x19d)]};case _0x165352[_0xe51d26(0x1a1)]:return{..._0x47473c,'data':{..._0x427cd9,'data':_0x427cd9['updatePermissionObjEvent']},'cmd':_0x47473c[_0xe51d26(0x19d)]};case _0x165352[_0xe51d26(0x16c)]:return{..._0x47473c,'data':{..._0x427cd9,'data':_0x427cd9[_0xe51d26(0x20f)]},'cmd':_0x47473c[_0xe51d26(0x19d)]};case _0x165352['UNISCRIPT_RUN']:return{..._0x47473c,'data':{..._0x427cd9,'data':_0x427cd9[_0xe51d26(0x319)]},'cmd':_0x47473c[_0xe51d26(0x19d)]};default:return _0x47473c;}}default:return _0x47473c;}}function Mn(_0x15a88e){var _0xebdba9=_0x4bf5f3;switch(_0x15a88e[_0xebdba9(0x19d)]){case F[_0xebdba9(0x245)]:case F[_0xebdba9(0x3bc)]:return JSON[_0xebdba9(0x2ff)]({'cmd':_0x15a88e[_0xebdba9(0x19d)],'routeKey':_0x15a88e[_0xebdba9(0x367)]});case F[_0xebdba9(0x3e6)]:{let _0x13941e;switch(_0x15a88e['data'][_0xebdba9(0x1bb)]){case _0x165352['UPDATE_CURSOR']:{_0x13941e={'eventID':_0x165352[_0xebdba9(0x28e)],'updateCursorEvent':_0x15a88e[_0xebdba9(0x3d1)][_0xebdba9(0x3d1)]};break;}case _0x165352['USERS_LEAVE']:{_0x13941e={'eventID':_0x165352['USERS_LEAVE'],'leaveEvent':_0x15a88e['data'][_0xebdba9(0x3d1)]};break;}case _0x165352[_0xebdba9(0x3b6)]:{_0x13941e={'eventID':_0x165352[_0xebdba9(0x3b6)],'joinEvent':_0x15a88e[_0xebdba9(0x3d1)][_0xebdba9(0x3d1)]};break;}case _0x165352[_0xebdba9(0x1fe)]:{_0x13941e={'eventID':_0x165352['LIVESHARE_NEW_HOST'],'liveShareNewHost':_0x15a88e['data']['data']};break;}case _0x165352[_0xebdba9(0x336)]:{_0x13941e={'eventID':_0x165352[_0xebdba9(0x336)],'liveShareOperation':_0x15a88e[_0xebdba9(0x3d1)][_0xebdba9(0x3d1)]};break;}case _0x165352['LIVESHARE_TERMINATE']:{_0x13941e={'eventID':_0x165352[_0xebdba9(0x200)],'liveShareTerminate':_0x15a88e['data'][_0xebdba9(0x3d1)]};break;}case _0x165352[_0xebdba9(0x189)]:{_0x13941e={'eventID':_0x165352[_0xebdba9(0x189)],'liveShareRequestHost':_0x15a88e[_0xebdba9(0x3d1)][_0xebdba9(0x3d1)]};break;}case _0x165352[_0xebdba9(0x2c0)]:{_0x13941e={'eventID':_0x165352[_0xebdba9(0x2c0)]};break;}default:_0x13941e={'eventID':_0x15a88e['data'][_0xebdba9(0x1bb)]};}return JSON[_0xebdba9(0x2ff)]({'cmd':_0x15a88e[_0xebdba9(0x19d)],'routeKey':_0x15a88e[_0xebdba9(0x367)],'collaMsg':_0x13941e});}case F[_0xebdba9(0x370)]:return JSON[_0xebdba9(0x2ff)]({'cmd':_0x15a88e['cmd'],'routeKey':_0x15a88e[_0xebdba9(0x367)],'joinReq':_0x15a88e[_0xebdba9(0x3d1)]});case F[_0xebdba9(0x3ca)]:return JSON[_0xebdba9(0x2ff)]({'cmd':_0x15a88e[_0xebdba9(0x19d)],'routeKey':_0x15a88e['routeKey'],'leaveReq':_0x15a88e['data']});default:throw new Error('[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!');}}var xn=Object[_0x4bf5f3(0x1f9)],kn=(_0x75686e,_0x5136cb,_0x53886f,_0x4db32a)=>{var _0x3a5be4=_0x4bf5f3;for(var _0x19a5f9=_0x4db32a>0x1?void 0x0:_0x4db32a?xn(_0x5136cb,_0x53886f):_0x5136cb,_0x4b1572=_0x75686e[_0x3a5be4(0x1ce)]-0x1,_0x52f9d9;_0x4b1572>=0x0;_0x4b1572--)(_0x52f9d9=_0x75686e[_0x4b1572])&&(_0x19a5f9=_0x52f9d9(_0x19a5f9)||_0x19a5f9);return _0x19a5f9;},Ae=(_0x306897,_0x442c59)=>(_0xdcf59e,_0x253f48)=>_0x442c59(_0xdcf59e,_0x253f48,_0x306897);const Ii=_0x15bd17(_0x4bf5f3(0x1c7));function _0x4b93(_0x3b7732,_0x79fd7a){var _0x45e3f2=_0x45e3();return _0x4b93=function(_0x4b93bf,_0x21488f){_0x4b93bf=_0x4b93bf-0x12f;var _0x54430b=_0x45e3f2[_0x4b93bf];return _0x54430b;},_0x4b93(_0x3b7732,_0x79fd7a);}function $n(_0x572447,_0x1bfa83,_0x3042f7){var _0x2da900=_0x4bf5f3;return _0x572447+'/'+_0x1bfa83+'/unit/'+_0x3042f7+_0x2da900(0x42d);}let Gt=class extends _0x323681{constructor(_0x2b61a4,_0x4a72f2,_0x4f8387,_0xc1e47f,_0x1ec877){var _0x950ecf=_0x4bf5f3;super(),this[_0x950ecf(0x2ae)]=_0x2b61a4,this[_0x950ecf(0x3e9)]=_0x4a72f2,this[_0x950ecf(0x33b)]=_0x4f8387,this[_0x950ecf(0x1a8)]=_0xc1e47f,this[_0x950ecf(0x40b)]=_0x1ec877;}[_0x4bf5f3(0x418)](_0x1873ac){var _0x3934b3=_0x4bf5f3;const _0x2fc1a4=this[_0x3934b3(0x2ae)][_0x3934b3(0x284)](_0xc1eb78);if(!_0x2fc1a4)throw new Error(_0x3934b3(0x202));const _0x79e79f=_0x2fc1a4[_0x3934b3(0x3d6)](_0x1873ac);if(!_0x79e79f)throw new Error(_0x3934b3(0x39c));const _0x4b25de=new _0x51cdc0(),_0x449915=new _0x59dfe1();_0x4b25de[_0x3934b3(0x18b)](_0x79e79f['close$'][_0x3934b3(0x268)](_0x2f300b=>_0x449915[_0x3934b3(0x2a4)](_0x2f300b))),_0x4b25de[_0x3934b3(0x18b)](_0x2e73a8(()=>_0x449915[_0x3934b3(0x1d5)]()));const _0x25acb2=new _0x59dfe1();_0x4b25de[_0x3934b3(0x18b)](_0x79e79f['error$']['subscribe'](_0x3d6837=>_0x25acb2[_0x3934b3(0x2a4)](_0x3d6837))),_0x4b25de[_0x3934b3(0x18b)](_0x2e73a8(()=>_0x25acb2[_0x3934b3(0x1d5)]()));const _0x1133e1=new _0x59dfe1();_0x4b25de[_0x3934b3(0x18b)](_0x79e79f[_0x3934b3(0x143)][_0x3934b3(0x268)](_0x42a575=>{var _0x52926d=_0x3934b3;const _0x492450=Ln(_0x42a575);_0x1133e1[_0x52926d(0x2a4)](_0x492450);})),_0x4b25de[_0x3934b3(0x18b)](_0x2e73a8(()=>_0x1133e1[_0x3934b3(0x1d5)]()));let _0x5968eb;const _0x4a9642=()=>{var _0x4cdad5=_0x3934b3;_0x25acb2['next'](new Event(_0x4cdad5(0x14b))),_0x449915[_0x4cdad5(0x2a4)](new Event(_0x4cdad5(0x14b))),_0x5968eb[_0x4cdad5(0x17a)]();};return _0x5968eb={'memberID':'','close$':_0x449915[_0x3934b3(0x2b5)](),'error$':_0x25acb2[_0x3934b3(0x2b5)](),'open$':_0x79e79f[_0x3934b3(0x30a)],'message$':_0x1133e1['asObservable'](),'send':_0x73602=>{var _0x4eece6=_0x3934b3;if(_0x73602[_0x4eece6(0x19d)]===F[_0x4eece6(0x3e6)]){if(_0x73602[_0x4eece6(0x3d1)][_0x4eece6(0x1bb)]===_0x165352[_0x4eece6(0x211)]){this[_0x4eece6(0x22d)](_0x5968eb,_0x73602[_0x4eece6(0x3d1)])[_0x4eece6(0x410)](_0x480b04=>{var _0xddbdef=_0x4eece6;this['_logService'][_0xddbdef(0x25d)](_0x480b04),_0x4a9642();});return;}if(_0x73602['data']['eventID']===_0x165352['FETCH_MISSING']){const _0x6b96bf=_0x73602[_0x4eece6(0x3d1)];this[_0x4eece6(0x312)](_0x6b96bf)[_0x4eece6(0x2da)](_0x4154b6=>{var _0x339ece=_0x4eece6;_0x1133e1[_0x339ece(0x2a4)]({'cmd':F['RECV'],'code':ge['OK'],'routeKey':_0x6b96bf['data'][_0x339ece(0x1ca)],'routeType':'','data':{'eventID':_0x165352['PSEUDO_FETCH_MISSING_RESULT'],'data':{'changesets':_0x4154b6}}});})[_0x4eece6(0x410)](_0x53ab16=>{this['_logService']['error'](_0x53ab16),_0x4a9642();});return;}}_0x79e79f[_0x4eece6(0x271)](Mn(_0x73602));},'close':()=>{var _0x59bf3e=_0x3934b3;_0x79e79f['close'](),_0x4b25de[_0x59bf3e(0x227)]();}},_0x5968eb;}async[_0x4bf5f3(0x22d)](_0x456bce,_0x328bc8){var _0x148d30=_0x4bf5f3,_0x34067b,_0x5ddb8f;const {unitType:_0x1a4d1c,unitID:_0xedd90b,changeset:_0x50f6d2}=_0x328bc8[_0x148d30(0x3d1)],_0x3cead1={'unitID':_0xedd90b,'memberID':_0x456bce[_0x148d30(0x32c)],'type':_0x1a4d1c,'changeset':_0x2a6a7d(_0x50f6d2)},_0x1d9417=this[_0x148d30(0x33b)][_0x148d30(0x243)](Nn),_0x1516f8=this['_configService'][_0x148d30(0x243)](q),_0x446044=$n((_0x5ddb8f=(_0x34067b=_0x1516f8==null?void 0x0:_0x1516f8[_0x148d30(0x306)])!=null?_0x34067b:_0x1d9417)!=null?_0x5ddb8f:Dn,_0x1a4d1c,_0xedd90b);try{await this[_0x148d30(0x3e9)][_0x148d30(0x263)](_0x446044,{'body':_0x3cead1});}catch(_0xc9183d){throw this[_0x148d30(0x1a8)][_0x148d30(0x25d)](_0x148d30(0x3a6),_0x148d30(0x3f9)),_0xc9183d;}}async[_0x4bf5f3(0x312)](_0x36cf0d){var _0x39345a=_0x4bf5f3;const {unitID:_0x4f667e,from:_0x4c8d16,to:_0x278399,unitType:_0x1d986a}=_0x36cf0d[_0x39345a(0x3d1)];return(await this[_0x39345a(0x40b)][_0x39345a(0x3fc)]({'metadata':void 0x0},{'unitID':_0x4f667e,'type':_0x1d986a,'from':_0x4c8d16,'to':_0x278399}))['changesets'];}};Gt=kn([Ae(0x0,_0x34c223(_0x4bf894)),Ae(0x1,_0x34c223(_0xdae5b)),Ae(0x2,_0x40de2c),Ae(0x3,_0x15891c),Ae(0x4,_0x521343)],Gt);const Hn=_0x4bf5f3(0x40c);function Bn(_0x492e57){var _0x2a6a66=_0x4bf5f3;return JSON[_0x2a6a66(0x2ff)](_0x492e57)[_0x2a6a66(0x1ce)];}class Ti{constructor(){var _0x43610b=_0x4bf5f3;N(this,_0x43610b(0x149),new _0x59dfe1()),N(this,_0x43610b(0x427),this[_0x43610b(0x149)][_0x43610b(0x2b5)]());}['onCommentUpdate'](_0x1ac65e){var _0x2389b9=_0x4bf5f3;this[_0x2389b9(0x149)][_0x2389b9(0x2a4)](_0x1ac65e);}}var jn=Object['getOwnPropertyDescriptor'],Fn=(_0x1c3429,_0xf45b4c,_0x3163f2,_0x4ce12a)=>{var _0xa406d9=_0x4bf5f3;for(var _0x1e4515=_0x4ce12a>0x1?void 0x0:_0x4ce12a?jn(_0xf45b4c,_0x3163f2):_0xf45b4c,_0xcb9bac=_0x1c3429[_0xa406d9(0x1ce)]-0x1,_0x45b5ec;_0xcb9bac>=0x0;_0xcb9bac--)(_0x45b5ec=_0x1c3429[_0xcb9bac])&&(_0x1e4515=_0x45b5ec(_0x1e4515)||_0x1e4515);return _0x1e4515;},Wt=(_0x3ebd7b,_0x91e1)=>(_0x233268,_0x9f078e)=>_0x91e1(_0x233268,_0x9f078e,_0x3ebd7b);let Le=class extends _0x323681{constructor(_0xb4cf49,_0x1e0b6e){var _0x33f2ce=_0x4bf5f3;super(),N(this,_0x33f2ce(0x137),new Map()),N(this,_0x33f2ce(0x3ae),new _0x59dfe1()),(this['_univerInstanceService']=_0xb4cf49,this[_0x33f2ce(0x1c1)]=_0x1e0b6e,this[_0x33f2ce(0x40e)](_0xee77e5(this[_0x33f2ce(0x155)][_0x33f2ce(0x39a)](_0x4c2c15[_0x33f2ce(0x1e7)])[_0x33f2ce(0x334)](_0x4cb1f4(_0x3c6cdf=>_0x3c6cdf['getUnitId']())),this[_0x33f2ce(0x155)][_0x33f2ce(0x39a)](_0x4c2c15[_0x33f2ce(0x1dc)])[_0x33f2ce(0x334)](_0x4cb1f4(_0x4344da=>_0x4344da['getUnitId']())),this['_univerInstanceService'][_0x33f2ce(0x39a)](_0x4c2c15[_0x33f2ce(0x238)])[_0x33f2ce(0x334)](_0x4cb1f4(_0x31ad3c=>_0x31ad3c[_0x33f2ce(0x42c)]())))['subscribe'](_0x2548a8=>this[_0x33f2ce(0x148)](_0x2548a8))));}['waitForRoom$'](_0x3605a4){var _0x39d04b=_0x4bf5f3;return this[_0x39d04b(0x137)]['has'](_0x3605a4)?_0x38b3d7(this[_0x39d04b(0x137)]['get'](_0x3605a4)):this['_roomCreated$'][_0x39d04b(0x334)](_0x4cb1f4(_0x3aab7a=>{var _0x2436f0=_0x39d04b;if(_0x3aab7a===_0x3605a4)return this[_0x2436f0(0x137)][_0x2436f0(0x284)](_0x3aab7a);}));}['setCurrentUser'](_0x679fd1){var _0x268e54=_0x4bf5f3;this['_userManagerService'][_0x268e54(0x199)](_0x679fd1);}[_0x4bf5f3(0x343)](){var _0x4ea2da=_0x4bf5f3;return this[_0x4ea2da(0x1c1)][_0x4ea2da(0x343)]();}[_0x4bf5f3(0x1d7)](_0x4fbac9,_0x3c5980){var _0x10be1b=_0x4bf5f3;let _0x528a56=this[_0x10be1b(0x137)]['get'](_0x4fbac9);_0x528a56||(_0x528a56=new Vn(),this[_0x10be1b(0x137)][_0x10be1b(0x393)](_0x4fbac9,_0x528a56),this['_roomCreated$'][_0x10be1b(0x2a4)](_0x4fbac9)),_0x528a56[_0x10be1b(0x1d7)](_0x3c5980);}[_0x4bf5f3(0x21a)](_0x372437,_0x17f233){var _0x2dfb43=_0x4bf5f3;const _0x3eab02=this[_0x2dfb43(0x137)][_0x2dfb43(0x284)](_0x372437);_0x3eab02&&_0x3eab02[_0x2dfb43(0x21a)](_0x17f233);}[_0x4bf5f3(0x295)](_0xf982b1){var _0x21ecfb=_0x4bf5f3;return this[_0x21ecfb(0x137)][_0x21ecfb(0x284)](_0xf982b1);}[_0x4bf5f3(0x42b)](_0x591af8,_0x560062){var _0x194aed=_0x4bf5f3;const _0x78fac2=this[_0x194aed(0x137)]['get'](_0x591af8);if(_0x78fac2)return _0x78fac2[_0x194aed(0x42b)](_0x560062);}[_0x4bf5f3(0x148)](_0x30a0f9){var _0x13ea0e=_0x4bf5f3;const _0x1bfa73=this[_0x13ea0e(0x137)]['get'](_0x30a0f9);_0x1bfa73&&(_0x1bfa73[_0x13ea0e(0x227)](),this[_0x13ea0e(0x137)][_0x13ea0e(0x404)](_0x30a0f9));}[_0x4bf5f3(0x227)](){var _0x151965=_0x4bf5f3;this['_roomMembers'][_0x151965(0x266)](_0x4cf14e=>_0x4cf14e[_0x151965(0x227)]()),this[_0x151965(0x137)][_0x151965(0x2f9)](),this[_0x151965(0x3ae)][_0x151965(0x1d5)]();}};Le=Fn([Wt(0x0,_0x224a4c),Wt(0x1,_0x34c223(_0x1b7411))],Le);class Vn extends _0x323681{constructor(){var _0x5b1b6e=_0x4bf5f3;super(...arguments),N(this,_0x5b1b6e(0x41e),new Map()),N(this,_0x5b1b6e(0x13e),new _0x25b128(this[_0x5b1b6e(0x41e)])),N(this,_0x5b1b6e(0x3dd),this[_0x5b1b6e(0x13e)]['asObservable']());}['dispose'](){var _0x263e3c=_0x4bf5f3;this[_0x263e3c(0x41e)][_0x263e3c(0x2f9)]();}[_0x4bf5f3(0x1d7)](_0x405d93){var _0x364e38=_0x4bf5f3;this[_0x364e38(0x41e)][_0x364e38(0x393)](_0x405d93[_0x364e38(0x32c)],_0x405d93),this[_0x364e38(0x36e)]();}[_0x4bf5f3(0x21a)](_0x149153){var _0x25e670=_0x4bf5f3;this['_members'][_0x25e670(0x404)](_0x149153);}[_0x4bf5f3(0x42b)](_0x1877e3){var _0x83612d=_0x4bf5f3;return this[_0x83612d(0x41e)][_0x83612d(0x284)](_0x1877e3);}[_0x4bf5f3(0x388)](){var _0x559f32=_0x4bf5f3;return Array[_0x559f32(0x179)](this[_0x559f32(0x41e)][_0x559f32(0x247)]());}['_emitMembers'](){var _0x4e4e36=_0x4bf5f3;this['_members$'][_0x4e4e36(0x2a4)](this[_0x4e4e36(0x41e)]);}}var Gn=Object['getOwnPropertyDescriptor'],Wn=(_0x1bc912,_0x1cec64,_0x4ded23,_0x1fb1df)=>{var _0xc25c3f=_0x4bf5f3;for(var _0x1b30f6=_0x1fb1df>0x1?void 0x0:_0x1fb1df?Gn(_0x1cec64,_0x4ded23):_0x1cec64,_0x4bfec5=_0x1bc912[_0xc25c3f(0x1ce)]-0x1,_0x228715;_0x4bfec5>=0x0;_0x4bfec5--)(_0x228715=_0x1bc912[_0x4bfec5])&&(_0x1b30f6=_0x228715(_0x1b30f6)||_0x1b30f6);return _0x1b30f6;},me=(_0xc0476f,_0x4e543f)=>(_0x12cec1,_0x386eaf)=>_0x4e543f(_0x12cec1,_0x386eaf,_0xc0476f),Ee=(_0x3eb989=>(_0x3eb989[_0x3eb989['IDLE']=0x0]=_0x4bf5f3(0x185),_0x3eb989[_0x3eb989[_0x4bf5f3(0x219)]=0x1]=_0x4bf5f3(0x219),_0x3eb989[_0x3eb989[_0x4bf5f3(0x417)]=0x2]='OFFLINE',_0x3eb989[_0x3eb989[_0x4bf5f3(0x23f)]=0x3]='ONLINE',_0x3eb989))(Ee||{});const Yt={[ge['FAIL']]:_0x4bf5f3(0x2c1),[ge[_0x4bf5f3(0x293)]]:'session.room-full',[ge[_0x4bf5f3(0x24f)]]:_0x4bf5f3(0x1f7),[ge[_0x4bf5f3(0x2d4)]]:_0x4bf5f3(0x14e),[ge[_0x4bf5f3(0x34e)]]:_0x4bf5f3(0x19c)};let Et=class extends _0x358cae{constructor(_0x4a7685,_0x196656,_0x4437f6,_0x52de49,_0x52024c,_0x549348,_0x43cc48,_0x3e3d20,_0x2a15f3){var _0x394820=_0x4bf5f3;super(),N(this,_0x394820(0x1ec),new _0x25b128(0x0)),N(this,_0x394820(0x1f0),this[_0x394820(0x1ec)][_0x394820(0x2b5)]()),N(this,_0x394820(0x33d),new _0x59dfe1()),N(this,_0x394820(0x213),this[_0x394820(0x33d)]['asObservable']()),N(this,'_socket'),N(this,'_socketMessageSubscription'),N(this,_0x394820(0x30e)),N(this,_0x394820(0x255),!0x1),N(this,_0x394820(0x1b7),null),(this[_0x394820(0x163)]=_0x4a7685,this[_0x394820(0x1a8)]=_0x4437f6,this[_0x394820(0x33b)]=_0x52de49,this[_0x394820(0x32a)]=_0x52024c,this[_0x394820(0x23d)]=_0x549348,this[_0x394820(0x2e1)]=_0x43cc48,this[_0x394820(0x286)]=_0x3e3d20,this[_0x394820(0x387)]=_0x2a15f3,this[_0x394820(0x255)]=!!this[_0x394820(0x387)],_0x196656[_0x394820(0x334)](_0x40fcdc(this[_0x394820(0x216)]))[_0x394820(0x268)](_0x33bfb4=>{var _0x1c58dd=_0x394820,_0x52c172;typeof _0x33bfb4>'u'||(this[_0x1c58dd(0x1e9)]=_0x33bfb4,_0x33bfb4?(this[_0x1c58dd(0x392)](_0x33bfb4),this[_0x1c58dd(0x273)]=_0x33bfb4['message$'][_0x1c58dd(0x268)](_0xcb51ae=>{var _0x43c3aa=_0x1c58dd;_0xcb51ae[_0x43c3aa(0x367)]===this['_unitID']&&this[_0x43c3aa(0x1b9)](_0xcb51ae);})):(this[_0x1c58dd(0x383)](),this[_0x1c58dd(0x1ec)][_0x1c58dd(0x2a4)](0x2),(_0x52c172=this[_0x1c58dd(0x273)])==null||_0x52c172[_0x1c58dd(0x2ba)](),this[_0x1c58dd(0x273)]=null));}));}get[_0x4bf5f3(0x2f2)](){var _0x107801=_0x4bf5f3;return this[_0x107801(0x1ec)][_0x107801(0x269)]();}[_0x4bf5f3(0x3b4)](){var _0x492369=_0x4bf5f3,_0x30be4e,_0x51731d;return(_0x51731d=(_0x30be4e=this['_socket'])==null?void 0x0:_0x30be4e[_0x492369(0x32c)])!=null?_0x51731d:null;}[_0x4bf5f3(0x227)](){var _0x31a648=_0x4bf5f3;super[_0x31a648(0x227)](),this[_0x31a648(0x216)][_0x31a648(0x2a4)](),this[_0x31a648(0x216)]['complete']();}['close'](){var _0x54e5dc=_0x4bf5f3,_0x22c42b,_0x324ade;this[_0x54e5dc(0x383)](),(_0x22c42b=this[_0x54e5dc(0x1e9)])==null||_0x22c42b[_0x54e5dc(0x271)]({'cmd':F['LEAVE'],'data':{'roomID':this[_0x54e5dc(0x163)]}}),(_0x324ade=this[_0x54e5dc(0x1e9)])==null||_0x324ade[_0x54e5dc(0x17a)](),this[_0x54e5dc(0x33d)][_0x54e5dc(0x1d5)](),this[_0x54e5dc(0x1ec)][_0x54e5dc(0x1d5)](),this[_0x54e5dc(0x227)]();}['_onCombEvent'](_0x5ab6a8){var _0x1e5472=_0x4bf5f3;_0x5ab6a8[_0x1e5472(0x19d)]===F[_0x1e5472(0x370)]?this['_onJoinRoomEvent'](_0x5ab6a8):_0x5ab6a8[_0x1e5472(0x19d)]===F[_0x1e5472(0x194)]&&this[_0x1e5472(0x2ee)](_0x5ab6a8);}[_0x4bf5f3(0x392)](_0x3fa3c2){var _0x755ded=_0x4bf5f3;this[_0x755ded(0x1ec)]['next'](0x1),_0x3fa3c2[_0x755ded(0x271)]({'cmd':F[_0x755ded(0x370)],'routeKey':this['_unitID'],'routeType':'','data':{'rooms':[{'roomID':this[_0x755ded(0x163)]}]}});}['_onJoinRoomEvent'](_0x1d3e91){var _0x3030d7=_0x4bf5f3,_0x51c4da;if(_0x1d3e91[_0x3030d7(0x226)]in Yt){this['_collaborationUIEventService'][_0x3030d7(0x349)]({'id':re[_0x3030d7(0x426)],'data':Yt[_0x1d3e91[_0x3030d7(0x226)]]}),this['_sessionStatus$'][_0x3030d7(0x2a4)](0x2);return;}this[_0x3030d7(0x1ec)][_0x3030d7(0x2a4)](0x3);const _0x3c2a6a=(_0x51c4da=_0x1d3e91[_0x3030d7(0x3d1)][_0x3030d7(0x429)][this[_0x3030d7(0x163)]])==null?void 0x0:_0x51c4da[_0x3030d7(0x38c)];_0x3c2a6a&&_0x3c2a6a[_0x3030d7(0x266)](_0x217a4c=>this[_0x3030d7(0x23d)][_0x3030d7(0x1d7)](this[_0x3030d7(0x163)],_0x217a4c));}[_0x4bf5f3(0x2ee)](_0x34c82f){var _0x2e0507=_0x4bf5f3;try{const _0x3a2f9e=_0x34c82f['data'];switch(_0x3a2f9e[_0x2e0507(0x1bb)]){case _0x165352['USERS_ENTER']:this[_0x2e0507(0x1df)](_0x3a2f9e),this[_0x2e0507(0x33d)][_0x2e0507(0x2a4)](_0x3a2f9e);break;case _0x165352[_0x2e0507(0x337)]:this[_0x2e0507(0x2e6)](_0x3a2f9e),this[_0x2e0507(0x33d)][_0x2e0507(0x2a4)](_0x3a2f9e);break;case _0x165352[_0x2e0507(0x183)]:case _0x165352[_0x2e0507(0x264)]:this[_0x2e0507(0x261)](),this[_0x2e0507(0x209)](),this[_0x2e0507(0x33d)][_0x2e0507(0x2a4)](_0x3a2f9e);break;case _0x165352[_0x2e0507(0x35c)]:this[_0x2e0507(0x1a8)]['error'](_0x2e0507(0x1a5)+JSON[_0x2e0507(0x2ff)](_0x3a2f9e)),this[_0x2e0507(0x33d)]['next'](_0x3a2f9e);break;case _0x165352[_0x2e0507(0x2a1)]:this[_0x2e0507(0x2e1)]['onCommentUpdate'](_0x3a2f9e[_0x2e0507(0x3d1)]),this['_event$'][_0x2e0507(0x2a4)](_0x3a2f9e);break;default:this['_event$']['next'](_0x3a2f9e);}}catch(_0x2c023f){this[_0x2e0507(0x1a8)][_0x2e0507(0x25d)](_0x2c023f,_0x34c82f);}}[_0x4bf5f3(0x1df)](_0x132dcb){var _0x2ffa55=_0x4bf5f3;this['_memberService']['updateMember'](this[_0x2ffa55(0x163)],_0x132dcb['data']);}[_0x4bf5f3(0x2e6)](_0x2e9b90){var _0x5299a7=_0x4bf5f3;this[_0x5299a7(0x23d)]['removeMember'](this[_0x5299a7(0x163)],_0x2e9b90[_0x5299a7(0x3d1)][_0x5299a7(0x32c)]);}async['send'](_0x33ee32,_0x43ad60){var _0x9ed6e8=_0x4bf5f3;if(this['sessionStatus']!==0x3||!this['_socket'])throw new Error(_0x9ed6e8(0x142));try{_0x33ee32[_0x9ed6e8(0x1bb)]===_0x165352['SUBMIT_CHANGESET']&&(this[_0x9ed6e8(0x414)](),this[_0x9ed6e8(0x3f7)](_0x33ee32)),this['_socket']['send']({'cmd':F['INGEST'],'routeKey':_0x43ad60,'routeType':'','data':_0x33ee32});}catch(_0x27d80c){this[_0x9ed6e8(0x1a8)][_0x9ed6e8(0x25d)](_0x27d80c);}}[_0x4bf5f3(0x414)](){var _0x5701cc=_0x4bf5f3,_0x5e254d;this['_collaborationTimeoutTimer']=setTimeout(()=>{var _0x119ce4=_0x4b93;this['_collaborationTimeoutTimer']=null,this['_collaborationUIEventService'][_0x119ce4(0x349)]({'id':re[_0x119ce4(0x171)]});},(_0x5e254d=this[_0x5701cc(0x33b)][_0x5701cc(0x243)](mi))!=null?_0x5e254d:gi);}[_0x4bf5f3(0x209)](){var _0x6e04b1=_0x4bf5f3;this[_0x6e04b1(0x30e)]&&(clearTimeout(this[_0x6e04b1(0x30e)]),this[_0x6e04b1(0x30e)]=null);}[_0x4bf5f3(0x3f7)](_0xcba805){var _0x183d2f=_0x4bf5f3;if(!this[_0x183d2f(0x255)])return;const {data:_0x556df8}=_0xcba805,{unitID:_0x3cb648,changeset:_0x2d87f7}=_0x556df8,{mutations:_0x567a5d,type:_0x5c5045}=_0x2d87f7;this[_0x183d2f(0x1b7)]={'unitId':_0x3cb648,'type':_0x5c5045,'startTime':performance[_0x183d2f(0x192)](),'stopTime':0x0,'duration':0x0,'size':Bn(_0x567a5d)};}[_0x4bf5f3(0x261)](){var _0x425d45=_0x4bf5f3;if(this[_0x425d45(0x255)]){if(!this[_0x425d45(0x1b7)]){this['_logService']['error'](_0x425d45(0x3a6),_0x425d45(0x2be));return;}this[_0x425d45(0x1b7)][_0x425d45(0x43d)]=performance['now'](),this[_0x425d45(0x1b7)][_0x425d45(0x168)]=this[_0x425d45(0x1b7)][_0x425d45(0x43d)]-this['_telemetryInfo'][_0x425d45(0x3ed)],this[_0x425d45(0x387)][_0x425d45(0x322)](Hn,this['_telemetryInfo']),this[_0x425d45(0x1b7)]=null;}}[_0x4bf5f3(0x383)](){var _0x47e5ae=_0x4bf5f3;this[_0x47e5ae(0x1b7)]=null;}};Et=Wn([me(0x2,_0x15891c),me(0x3,_0x40de2c),me(0x4,_0x34c223(_0x27fab3)),me(0x5,_0x34c223(Le)),me(0x6,_0x34c223(Ti)),me(0x7,_0x34c223(pe)),me(0x8,_0x4af427(_0x38ceda))],Et);var Yn=Object['getOwnPropertyDescriptor'],Kn=(_0x306327,_0xe1bda4,_0x4ee35d,_0x71e16a)=>{var _0x28a2ad=_0x4bf5f3;for(var _0x1dcc2c=_0x71e16a>0x1?void 0x0:_0x71e16a?Yn(_0xe1bda4,_0x4ee35d):_0xe1bda4,_0x112196=_0x306327[_0x28a2ad(0x1ce)]-0x1,_0x1e670c;_0x112196>=0x0;_0x112196--)(_0x1e670c=_0x306327[_0x112196])&&(_0x1dcc2c=_0x1e670c(_0x1dcc2c)||_0x1dcc2c);return _0x1dcc2c;},be=(_0x4539cf,_0x1fdcec)=>(_0x1e06f8,_0x32d7cd)=>_0x1fdcec(_0x1e06f8,_0x32d7cd,_0x4539cf);let Me=class extends _0x323681{constructor(_0x1dd1a7,_0x5af8cf,_0x3596a8,_0x59ef06,_0x3e39a4,_0x4468e7){var _0x164400=_0x4bf5f3;super(),N(this,_0x164400(0x22e),new _0x25b128(void 0x0)),N(this,_0x164400(0x265),this['_socket$'][_0x164400(0x2b5)]()),N(this,'_candidateSocket',null),N(this,_0x164400(0x201),new Map()),N(this,_0x164400(0x2fd),new _0x25b128(Ee[_0x164400(0x185)])),N(this,_0x164400(0x1c8),this[_0x164400(0x2fd)][_0x164400(0x2b5)]()),N(this,_0x164400(0x1ed),!0x1),N(this,_0x164400(0x3cc)),N(this,_0x164400(0x1f1),0x0),N(this,'_sendHeartbeatTimer'),N(this,'_timeoutTimer'),(this['_injector']=_0x1dd1a7,this['_logService']=_0x5af8cf,this[_0x164400(0x33b)]=_0x3596a8,this[_0x164400(0x1b5)]=_0x59ef06,this['_collaborationUIEventService']=_0x3e39a4,this[_0x164400(0x3bd)]=_0x4468e7,this[_0x164400(0x20e)]());}get[_0x4bf5f3(0x1e9)](){var _0x1e1f04=_0x4bf5f3;return this[_0x1e1f04(0x22e)][_0x1e1f04(0x269)]();}[_0x4bf5f3(0x20e)](){var _0x168a7b=_0x4bf5f3;this[_0x168a7b(0x3bd)]&&this['disposeWithMe'](this[_0x168a7b(0x3bd)][_0x168a7b(0x22c)][_0x168a7b(0x268)](_0x1b0adc=>{var _0x1b779c=_0x168a7b;_0x1b0adc&&!this['_socket']&&this[_0x1b779c(0x308)](),_0x1b0adc||this['_onOffline']();}));}['dispose'](){var _0x51b11c=_0x4bf5f3;super['dispose'](),this['_clearRetryConnectingTimer'](),this[_0x51b11c(0x270)](),this['_clearHeartbeatTimer'](),this[_0x51b11c(0x201)][_0x51b11c(0x266)](_0x108b73=>_0x108b73[_0x51b11c(0x227)]()),this[_0x51b11c(0x201)][_0x51b11c(0x2f9)](),this[_0x51b11c(0x2fd)][_0x51b11c(0x1d5)]();}async[_0x4bf5f3(0x424)](_0x3a4529){var _0x43bd3d=_0x4bf5f3;if(this[_0x43bd3d(0x201)][_0x43bd3d(0x248)](_0x3a4529))return this['_sessions'][_0x43bd3d(0x284)](_0x3a4529);this[_0x43bd3d(0x1fd)]();const _0x53368f=this[_0x43bd3d(0x2ae)]['createInstance'](Et,_0x3a4529,this[_0x43bd3d(0x22e)][_0x43bd3d(0x2b5)]());return this[_0x43bd3d(0x201)]['set'](_0x3a4529,_0x53368f),_0x53368f;}[_0x4bf5f3(0x296)](_0x54368d){var _0x4ca127=_0x4bf5f3,_0x2a9203;const _0x6995fc=this[_0x4ca127(0x201)][_0x4ca127(0x284)](_0x54368d);_0x6995fc&&(this[_0x4ca127(0x201)][_0x4ca127(0x404)](_0x54368d),_0x6995fc[_0x4ca127(0x17a)]()),this['_sessions'][_0x4ca127(0x1f5)]||(_0x2a9203=this['_socket'])==null||_0x2a9203[_0x4ca127(0x17a)]();}['reconnect'](){var _0x44dfea=_0x4bf5f3;this[_0x44dfea(0x1f1)]=0x0,this['_clearRetryConnectingTimer'](),this[_0x44dfea(0x406)]();}[_0x4bf5f3(0x198)](){var _0x2b5680=_0x4bf5f3;this['_retryConnectingTimer']!=null&&(clearTimeout(this[_0x2b5680(0x3cc)]),this[_0x2b5680(0x3cc)]=null);}async[_0x4bf5f3(0x152)](){var _0xf63efb=_0x4bf5f3,_0x5a9e20,_0x1ad49d;const _0x18bfe5=this[_0xf63efb(0x33b)][_0xf63efb(0x243)](In),_0xa20361=this[_0xf63efb(0x33b)][_0xf63efb(0x243)](q),_0x1c3f29=(_0x1ad49d=(_0x5a9e20=_0xa20361==null?void 0x0:_0xa20361[_0xf63efb(0x25a)])!=null?_0x5a9e20:_0x18bfe5)!=null?_0x1ad49d:Tn,_0x1c0214=await this[_0xf63efb(0x1b5)][_0xf63efb(0x3d6)](_0x1c3f29);return this[_0xf63efb(0x241)]=_0x1c0214,_0x1c0214;}async[_0x4bf5f3(0x1fd)](){var _0x4d2572=_0x4bf5f3,_0x120b4e,_0x526941;try{const _0x52d436=(_0x526941=(_0x120b4e=this[_0x4d2572(0x1e9)])!=null?_0x120b4e:this[_0x4d2572(0x241)])!=null?_0x526941:await this[_0x4d2572(0x152)]();if(_0x52d436){const _0x201929=_0x52d436['send'];_0x52d436['send']=_0x533526=>(this[_0x4d2572(0x433)](),_0x201929['apply'](_0x52d436,[_0x533526])),_0x52d436[_0x4d2572(0x143)]['subscribe'](_0x528fdc=>this[_0x4d2572(0x2ce)](_0x52d436,_0x528fdc)),_0x52d436[_0x4d2572(0x36a)][_0x4d2572(0x334)](_0x296aaa(0x1))[_0x4d2572(0x268)](_0x98f570=>this['_logService']['error']('[CollaborationSessionService]:\x20socket\x20error',_0x98f570)),_0x52d436[_0x4d2572(0x30a)][_0x4d2572(0x334)](_0x296aaa(0x1))[_0x4d2572(0x268)](()=>{this['_onConnectionOpen'](_0x52d436);}),_0x52d436['close$'][_0x4d2572(0x334)](_0x296aaa(0x1))[_0x4d2572(0x268)](_0x15202e=>{var _0x5d98f2=_0x4d2572;this[_0x5d98f2(0x1a8)][_0x5d98f2(0x145)]('[CollaborationSessionService]',_0x5d98f2(0x2a5),_0x15202e),this[_0x5d98f2(0x3e7)]();});}}catch(_0x31f499){this['_logService']['error'](_0x31f499),this[_0x4d2572(0x3e7)]();}}['_onConnectionOpen'](_0x3f257e){var _0x5852a1=_0x4bf5f3;this['_logService'][_0x5852a1(0x145)](_0x5852a1(0x34c),_0x5852a1(0x2f3)),_0x3f257e['send']({'cmd':F[_0x5852a1(0x3bc)]}),this[_0x5852a1(0x433)]();}[_0x4bf5f3(0x2fb)](){var _0x3119ca=_0x4bf5f3;this[_0x3119ca(0x1ed)]=!0x1,this[_0x3119ca(0x241)]=null,this[_0x3119ca(0x2fd)]['next'](Ee[_0x3119ca(0x417)]),this['_socket$'][_0x3119ca(0x2a4)](null),this[_0x3119ca(0x270)](),this[_0x3119ca(0x398)]();}[_0x4bf5f3(0x3e7)](){var _0x591715=_0x4bf5f3,_0x4dc804;this[_0x591715(0x2fb)](),this[_0x591715(0x1f1)]<((_0x4dc804=this[_0x591715(0x33b)][_0x591715(0x243)](On))!=null?_0x4dc804:yn)?(this[_0x591715(0x286)][_0x591715(0x349)]({'id':re[_0x591715(0x326)]}),this[_0x591715(0x406)]()):this[_0x591715(0x286)][_0x591715(0x349)]({'id':re['SOCKET_FAILED']});}[_0x4bf5f3(0x406)](){var _0x5f05b0=_0x4bf5f3,_0x7ef3a6;const _0xe8a908=this[_0x5f05b0(0x1f1)],_0x2a66a1=this[_0x5f05b0(0x33b)][_0x5f05b0(0x243)](q),_0x294a3f=_0xe8a908===0x0?0x0:((_0x7ef3a6=_0x2a66a1==null?void 0x0:_0x2a66a1[_0x5f05b0(0x237)])!=null?_0x7ef3a6:bn)*0x2**_0xe8a908;this[_0x5f05b0(0x3cc)]=setTimeout(()=>{var _0x418e00=_0x5f05b0;clearTimeout(this[_0x418e00(0x3cc)]),this[_0x418e00(0x3cc)]=null,this[_0x418e00(0x1fd)]();},_0x294a3f),this[_0x5f05b0(0x1f1)]+=0x1;}[_0x4bf5f3(0x2ce)](_0x1a34bf,_0x37fdd5){var _0x14f00b=_0x4bf5f3;const {cmd:_0x5d882e}=_0x37fdd5;_0x5d882e===F[_0x14f00b(0x3bc)]&&!this[_0x14f00b(0x1ed)]&&(_0x1a34bf[_0x14f00b(0x32c)]=_0x37fdd5['data'][_0x14f00b(0x32c)],this[_0x14f00b(0x22e)][_0x14f00b(0x2a4)](_0x1a34bf),this[_0x14f00b(0x2fd)][_0x14f00b(0x2a4)](Ee[_0x14f00b(0x23f)]),this[_0x14f00b(0x1ed)]=!0x0,this[_0x14f00b(0x241)]=null),_0x5d882e===F[_0x14f00b(0x245)]&&this['_clearTimeoutTimer'](),this[_0x14f00b(0x433)]();}[_0x4bf5f3(0x433)](){var _0x1509c0=_0x4bf5f3,_0x4ba19e;this[_0x1509c0(0x398)](),this[_0x1509c0(0x3f4)]=setTimeout(()=>this[_0x1509c0(0x250)](),(_0x4ba19e=this[_0x1509c0(0x33b)][_0x1509c0(0x243)](Cn))!=null?_0x4ba19e:Rn);}['_sendHeartbeat'](){var _0x438460=_0x4bf5f3;this[_0x438460(0x1e9)]['send']({'cmd':F[_0x438460(0x245)]}),this[_0x438460(0x272)]();}['_waitForHeartbeatResponse'](){var _0x3db671=_0x4bf5f3,_0x443f9d;this[_0x3db671(0x2af)]=setTimeout(()=>this[_0x3db671(0x3e7)](),(_0x443f9d=this[_0x3db671(0x33b)]['getConfig'](mi))!=null?_0x443f9d:gi);}[_0x4bf5f3(0x398)](){var _0x5e9184=_0x4bf5f3;this[_0x5e9184(0x3f4)]!=null&&(clearTimeout(this[_0x5e9184(0x3f4)]),this[_0x5e9184(0x3f4)]=null);}[_0x4bf5f3(0x270)](){var _0x44d222=_0x4bf5f3;this[_0x44d222(0x2af)]!=null&&(clearTimeout(this['_timeoutTimer']),this['_timeoutTimer']=null);}};Me=Kn([be(0x0,_0x34c223(_0x4bf894)),be(0x1,_0x15891c),be(0x2,_0x40de2c),be(0x3,Ii),be(0x4,_0x34c223(pe)),be(0x5,_0x4af427(Pn))],Me);const V=[];for(let t=0x0;t<0x100;++t)V[_0x4bf5f3(0x369)]((t+0x100)[_0x4bf5f3(0x2c2)](0x10)[_0x4bf5f3(0x2e2)](0x1));function qn(_0xf676f4,_0x4dd054=0x0){var _0x25a05d=_0x4bf5f3;return(V[_0xf676f4[_0x4dd054+0x0]]+V[_0xf676f4[_0x4dd054+0x1]]+V[_0xf676f4[_0x4dd054+0x2]]+V[_0xf676f4[_0x4dd054+0x3]]+'-'+V[_0xf676f4[_0x4dd054+0x4]]+V[_0xf676f4[_0x4dd054+0x5]]+'-'+V[_0xf676f4[_0x4dd054+0x6]]+V[_0xf676f4[_0x4dd054+0x7]]+'-'+V[_0xf676f4[_0x4dd054+0x8]]+V[_0xf676f4[_0x4dd054+0x9]]+'-'+V[_0xf676f4[_0x4dd054+0xa]]+V[_0xf676f4[_0x4dd054+0xb]]+V[_0xf676f4[_0x4dd054+0xc]]+V[_0xf676f4[_0x4dd054+0xd]]+V[_0xf676f4[_0x4dd054+0xe]]+V[_0xf676f4[_0x4dd054+0xf]])[_0x25a05d(0x20b)]();}let ut;const zn=new Uint8Array(0x10);function Jn(){var _0x36a235=_0x4bf5f3;if(!ut){if(typeof crypto>'u'||!crypto['getRandomValues'])throw new Error('crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported');ut=crypto[_0x36a235(0x2b4)][_0x36a235(0x1bf)](crypto);}return ut(zn);}const Xn=typeof crypto<'u'&&crypto['randomUUID']&&crypto[_0x4bf5f3(0x41f)][_0x4bf5f3(0x1bf)](crypto),Kt={'randomUUID':Xn};function Zn(_0x209459,_0xd3dfd9,_0x1c8682){var _0x2c5ed0=_0x4bf5f3,_0x54d5f0,_0x86dbd5,_0x182e73;if(Kt[_0x2c5ed0(0x41f)]&&!_0x209459)return Kt[_0x2c5ed0(0x41f)]();_0x209459=_0x209459||{};const _0x4c3e18=(_0x182e73=(_0x86dbd5=_0x209459[_0x2c5ed0(0x188)])!=null?_0x86dbd5:(_0x54d5f0=_0x209459[_0x2c5ed0(0x275)])==null?void 0x0:_0x54d5f0[_0x2c5ed0(0x150)](_0x209459))!=null?_0x182e73:Jn();if(_0x4c3e18['length']<0x10)throw new Error(_0x2c5ed0(0x14f));return _0x4c3e18[0x6]=_0x4c3e18[0x6]&0xf|0x40,_0x4c3e18[0x8]=_0x4c3e18[0x8]&0x3f|0x80,qn(_0x4c3e18);}const J=_0x15bd17('collaboration-client.local-cache-service');function Br(_0xfd2abf){return'unit-cache-'+_0xfd2abf;}var Qn=Object[_0x4bf5f3(0x1f9)],es=(_0x52f706,_0x101f6f,_0x450a39,_0x57a819)=>{var _0x3d26eb=_0x4bf5f3;for(var _0x1b80c9=_0x57a819>0x1?void 0x0:_0x57a819?Qn(_0x101f6f,_0x450a39):_0x101f6f,_0x17ef21=_0x52f706[_0x3d26eb(0x1ce)]-0x1,_0x1e161c;_0x17ef21>=0x0;_0x17ef21--)(_0x1e161c=_0x52f706[_0x17ef21])&&(_0x1b80c9=_0x1e161c(_0x1b80c9)||_0x1b80c9);return _0x1b80c9;},dt=(_0x578742,_0x20758a)=>(_0x2980b2,_0x47097a)=>_0x20758a(_0x2980b2,_0x47097a,_0x578742);function ts(_0xccfa83){var _0x4b42e3=_0x4bf5f3;const {unitID:_0x24add8,mutations:_0x525e6d}=_0xccfa83;return{'unitId':_0x24add8,'subUnitId':_0x525e6d[0x0][_0x4b42e3(0x184)][_0x4b42e3(0x428)]};}let it=class{constructor(_0x3313a1,_0x156a9c,_0x2cd1dc){var _0x15e8bd=_0x4bf5f3;this[_0x15e8bd(0x2ae)]=_0x3313a1,this['_transformService']=_0x156a9c,this[_0x15e8bd(0x3b8)]=_0x2cd1dc;}[_0x4bf5f3(0x206)](_0x5d6347){var _0xfbb655=_0x4bf5f3,_0x5ee6fe,_0x4943c8,_0x234f2b,_0x21c1ed;const _0x124d0c=this[_0xfbb655(0x2ae)]['get'](_0x4904e7),{unitId:_0x34fbf6,subUnitId:_0x492ecd}=ts(_0x5d6347),_0x504f9f=_0x124d0c==null?void 0x0:_0x124d0c[_0xfbb655(0x339)](_0x34fbf6)['getCurrentSelections'](),_0x4c3f81=(_0x4943c8=(_0x5ee6fe=this[_0xfbb655(0x3b8)][_0xfbb655(0x42e)](_0x34fbf6))==null?void 0x0:_0x5ee6fe['getActiveSheet']())==null?void 0x0:_0x4943c8[_0xfbb655(0x290)]();if(_0x504f9f[_0xfbb655(0x1ce)]===0x0||!_0x34fbf6||!_0x492ecd)return;const _0x188b58=[{'id':_0x5c7cb1['id'],'params':{'unitId':_0x34fbf6,'subUnitId':_0x4c3f81,'selections':_0x1a9c04['deepClone'](_0x504f9f)}}],_0x5781ed=this[_0xfbb655(0x229)][_0xfbb655(0x242)](_0x5d6347,_0x188b58);if(!_0xe482d(_0x5781ed))throw _0x5781ed['error'];const _0x247732=(_0x21c1ed=(_0x234f2b=_0x5781ed['m2Prime'][0x0])==null?void 0x0:_0x234f2b[_0xfbb655(0x184)])==null?void 0x0:_0x21c1ed[_0xfbb655(0x35d)];if(Array[_0xfbb655(0x37c)](_0x247732)&&_0x247732[_0xfbb655(0x1ce)]){if(_0x247732[_0xfbb655(0x1ce)]===_0x188b58[0x0][_0xfbb655(0x184)]['selections'][_0xfbb655(0x1ce)]&&_0x247732[_0xfbb655(0x3e1)]((_0x3d2f05,_0x5f165a)=>_0x500b01[_0xfbb655(0x3de)](_0x3d2f05[_0xfbb655(0x365)],_0x188b58[0x0][_0xfbb655(0x184)][_0xfbb655(0x35d)][_0x5f165a]['range'])))return;this[_0xfbb655(0x2ae)]['get'](_0x2fcd18)['executeCommand'](_0x5c7cb1['id'],{'unitId':_0x34fbf6,'subUnitId':_0x4c3f81,'selections':_0x247732});}}};it=es([dt(0x0,_0x34c223(_0x4bf894)),dt(0x1,_0x358e5a),dt(0x2,_0x224a4c)],it);const ht=_0x15bd17(_0x4bf5f3(0x220));var Ci=(_0x25e474=>(_0x25e474[_0x25e474['NO_OTHER_CLIENTS_EDITING']=0x0]=_0x4bf5f3(0x1e3),_0x25e474[_0x25e474['OTHER_CLIENTS_EDITING']=0x1]='OTHER_CLIENTS_EDITING',_0x25e474))(Ci||{});const is=new Set([_0x1f0253['id']]);function qt(_0x2d55e3,_0x24c28b,_0xffe2b3,_0x8df3aa,_0x105dba){var _0x41f2ae=_0x4bf5f3,_0x440e0b,_0x2f5c00,_0x20ea96,_0x1ac51e;const _0x4fc673=[];for(const _0x455441 of _0x2d55e3)if(is[_0x41f2ae(0x248)](_0x455441['id'])){if(_0x4fc673['length']>0x0)break;_0x4fc673['push'](_0x455441);break;}else _0x4fc673[_0x41f2ae(0x369)](_0x455441);const _0x2fe460=(_0x2f5c00=(_0x440e0b=_0x105dba[_0x41f2ae(0x343)]())==null?void 0x0:_0x440e0b[_0x41f2ae(0x34a)])!=null?_0x2f5c00:'unknown',_0x4baa06=(_0x1ac51e=(_0x20ea96=_0x105dba[_0x41f2ae(0x343)]())==null?void 0x0:_0x20ea96[_0x41f2ae(0x32c)])!=null?_0x1ac51e:_0x41f2ae(0x1d8);return{'changeset':{'unitID':_0x24c28b,'type':_0x3e7512(_0xffe2b3[_0x41f2ae(0x191)](_0x24c28b)),'baseRev':_0x8df3aa[_0x41f2ae(0x41c)](_0x24c28b),'revision':0x0,'userID':_0x2fe460,'memberID':_0x4baa06,'mutations':_0x4fc673},'pendingMutations':_0x2d55e3['slice'](_0x4fc673['length'])};}function ns(_0x14a7af,_0x4992e3,_0x4ea59a,_0x3050ac,_0x372ff5){var _0x38a937=_0x4bf5f3,_0x5bde53,_0x20f24a,_0xe930c4,_0x27315d;const _0x42e6f8=[_0x14a7af[_0x38a937(0x356)]((_0x589af7,_0x43ac4c)=>{var _0xad8c49=_0x38a937,_0x3dc8d9;const {id:_0x5cdbac}=_0x589af7,{id:_0x105ecf,type:_0x2e1d3b}=_0x43ac4c,_0x171b84=(_0x3dc8d9=_0x589af7[_0xad8c49(0x184)])!=null?_0x3dc8d9:{'actions':null},_0x56c3ca=_0x43ac4c[_0xad8c49(0x184)];if(_0x5cdbac&&_0x5cdbac!==_0x105ecf)throw new Error('Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20'+_0x5cdbac+_0xad8c49(0x3af)+_0x105ecf+'.');return{..._0x589af7,'id':_0x105ecf,'type':_0x2e1d3b,'params':{'unitId':_0x56c3ca[_0xad8c49(0x18c)],'textRanges':_0x56c3ca['textRanges'],'actions':_0x2025e0['compose'](_0x171b84[_0xad8c49(0x160)],_0x56c3ca[_0xad8c49(0x160)])}};},{})],_0x234ad9=(_0x20f24a=(_0x5bde53=_0x372ff5['getCurrentUser']())==null?void 0x0:_0x5bde53[_0x38a937(0x34a)])!=null?_0x20f24a:_0x38a937(0x1d8),_0x4a9320=(_0x27315d=(_0xe930c4=_0x372ff5[_0x38a937(0x343)]())==null?void 0x0:_0xe930c4[_0x38a937(0x32c)])!=null?_0x27315d:_0x38a937(0x1d8);return{'changeset':{'unitID':_0x4992e3,'type':_0x3e7512(_0x4ea59a[_0x38a937(0x191)](_0x4992e3)),'baseRev':_0x3050ac['getCurrentRevOfUnit'](_0x4992e3),'revision':0x0,'userID':_0x234ad9,'memberID':_0x4a9320,'mutations':_0x42e6f8},'pendingMutations':[]};}function Ri(_0x455691,_0x4ac1e1){var _0x130eeb=_0x4bf5f3;const _0x1f149d=new _0xf9db45(0x1);return setTimeout(()=>_0x1f149d[_0x130eeb(0x2a4)](_0x4ac1e1),_0x455691),_0x1f149d['asObservable']()[_0x130eeb(0x334)](_0x78bb0e(0x1));}const ss={'id':_0x49686c['id'],'type':_0x4a5cee[_0x4bf5f3(0x2dd)],'params':{}};var rs=Object['getOwnPropertyDescriptor'],Te=(_0x209240,_0x55460a,_0x2cc938,_0x5d3250)=>{for(var _0xaebeef=_0x5d3250>0x1?void 0x0:_0x5d3250?rs(_0x55460a,_0x2cc938):_0x55460a,_0x59e4d0=_0x209240['length']-0x1,_0x2e13a2;_0x59e4d0>=0x0;_0x59e4d0--)(_0x2e13a2=_0x209240[_0x59e4d0])&&(_0xaebeef=_0x2e13a2(_0xaebeef)||_0xaebeef);return _0xaebeef;},P=(_0x524e3d,_0x5e7a05)=>(_0x548f29,_0x4853d3)=>_0x5e7a05(_0x548f29,_0x4853d3,_0x524e3d),bi=(_0x27b83a=>(_0x27b83a[_0x4bf5f3(0x21c)]=_0x4bf5f3(0x25c),_0x27b83a['SYNCED']=_0x4bf5f3(0x36f),_0x27b83a[_0x4bf5f3(0x175)]='pending',_0x27b83a[_0x4bf5f3(0x3d2)]=_0x4bf5f3(0x440),_0x27b83a[_0x4bf5f3(0x2d2)]=_0x4bf5f3(0x14c),_0x27b83a[_0x4bf5f3(0x34d)]='fetch_missing',_0x27b83a[_0x4bf5f3(0x3f6)]=_0x4bf5f3(0x1a7),_0x27b83a['OFFLINE']=_0x4bf5f3(0x147),_0x27b83a))(bi||{});const Oi=0xea60;class Ce{constructor(_0x123a45,_0xad6ba8,_0x17da02,_0x10ca04,_0x1015c2,_0x5b494b,_0x47d8fb,_0x2bdc80,_0x4478bb){var _0x1ebd22=_0x4bf5f3;N(this,_0x1ebd22(0x2e8),null),N(this,_0x1ebd22(0x346),[]),(this[_0x1ebd22(0x1ca)]=_0x123a45,this['type']=_0xad6ba8,this[_0x1ebd22(0x41a)]=_0x1015c2,this[_0x1ebd22(0x430)]=_0x5b494b,this[_0x1ebd22(0x1a6)]=_0x47d8fb,this['_revisionService']=_0x2bdc80,this['_localCacheService']=_0x4478bb,this[_0x1ebd22(0x2e8)]=_0x17da02,this['_pendingMutations']=_0x10ca04);}['_checkMissing'](_0x4286b1){var _0x53bd37=_0x4bf5f3;const _0x4255e9=this[_0x53bd37(0x282)][_0x53bd37(0x41c)](this['unitID']);return _0x4286b1[_0x53bd37(0x25f)]>_0x4255e9+0x1?(this[_0x53bd37(0x41a)]['onMissingChangesets']({'from':_0x4255e9,'to':_0x4286b1[_0x53bd37(0x25f)]-0x1}),!0x0):!0x1;}['_transformUndoredo'](_0x54e421){var _0x5464e7=_0x4bf5f3;this[_0x5464e7(0x1a6)][_0x5464e7(0x359)](this[_0x5464e7(0x1ca)],_0x54e421);}['_transformSelections'](_0x1bac61){var _0x13fbc9=_0x4bf5f3,_0x32dbf7,_0x10edfc;(_0x10edfc=(_0x32dbf7=this['_handler'])[_0x13fbc9(0x29a)])==null||_0x10edfc['call'](_0x32dbf7,_0x1bac61);}[_0x4bf5f3(0x411)](_0x4447e0){var _0x11212e=_0x4bf5f3,_0x27186c,_0x2b534b;return(_0x2b534b=(_0x27186c=this[_0x11212e(0x41a)])[_0x11212e(0x2f8)])==null?void 0x0:_0x2b534b[_0x11212e(0x150)](_0x27186c,_0x4447e0);}[_0x4bf5f3(0x3a8)](_0x4981fd){var _0x163a58=_0x4bf5f3,_0x578607,_0x4b0521;return(_0x4b0521=(_0x578607=this[_0x163a58(0x41a)])[_0x163a58(0x3dc)])==null?void 0x0:_0x4b0521[_0x163a58(0x150)](_0x578607,_0x4981fd);}[_0x4bf5f3(0x231)](_0x7264ff){var _0x52df97=_0x4bf5f3,_0x76a81f,_0x384b8f,_0x566454;return(_0x566454=(_0x384b8f=(_0x76a81f=this[_0x52df97(0x41a)])[_0x52df97(0x27a)])==null?void 0x0:_0x384b8f[_0x52df97(0x150)](_0x76a81f,_0x7264ff))!=null?_0x566454:_0x7264ff;}[_0x4bf5f3(0x2b0)](_0x2818ed){var _0x5cf034=_0x4bf5f3,_0x5e1c3c,_0x507edb,_0x500d4f;return(_0x500d4f=(_0x507edb=(_0x5e1c3c=this[_0x5cf034(0x41a)])[_0x5cf034(0x281)])==null?void 0x0:_0x507edb[_0x5cf034(0x150)](_0x5e1c3c,_0x2818ed))!=null?_0x500d4f:_0x2818ed;}['_syncEditingCollabCursor'](_0x4e582b){var _0x51f1e8=_0x4bf5f3,_0x1ad128,_0x49e504;if(this[_0x51f1e8(0x2c3)]===Q[_0x51f1e8(0x1dc)]){const {unitID:_0x1d8612,mutations:_0x3c970b,memberID:_0x2bba38}=_0x4e582b,_0x100598=_0x3c970b[0x0]['params'][_0x51f1e8(0x225)];Array[_0x51f1e8(0x37c)](_0x100598)&&_0x100598['length']>0x0&&((_0x49e504=(_0x1ad128=this[_0x51f1e8(0x41a)])['onSyncEditingCollabCursor'])==null||_0x49e504[_0x51f1e8(0x150)](_0x1ad128,{'unitID':_0x1d8612,'memberID':_0x2bba38,'textRanges':_0x100598}));}}[_0x4bf5f3(0x33c)](){var _0x4116f2=_0x4bf5f3,_0x5ce72d;(_0x5ce72d=this[_0x4116f2(0x2c4)])==null||_0x5ce72d[_0x4116f2(0x230)](this['unitID'],this['type'],this[_0x4116f2(0x2e8)],this[_0x4116f2(0x346)]);}['_getCurrentRevision'](){var _0x4d10ec=_0x4bf5f3;return this['_revisionService'][_0x4d10ec(0x41c)](this[_0x4d10ec(0x1ca)]);}[_0x4bf5f3(0x33a)](){var _0x289b7b=_0x4bf5f3;this[_0x289b7b(0x282)][_0x289b7b(0x1f6)](this[_0x289b7b(0x1ca)]);}[_0x4bf5f3(0x3ef)](_0x277a4e){var _0xf9534e=_0x4bf5f3,_0x49ba98;let _0x510fa9=this[_0xf9534e(0x231)](_0x277a4e);_0x510fa9=this[_0xf9534e(0x2b0)](_0x510fa9);const _0x30cfde=_0x25b8aa(_0x510fa9[_0xf9534e(0x347)],this[_0xf9534e(0x430)],{'fromCollab':!0x0});if(!_0x30cfde[_0xf9534e(0x3c1)])throw _0x30cfde['error']instanceof Error?_0x30cfde['error']:new Error((_0x49ba98=_0x30cfde[_0xf9534e(0x25d)])!=null?_0x49ba98:_0xf9534e(0x362));this['_transformIMECache'](_0x510fa9),this['_transformStateCache'](_0x510fa9),this['_transformUndoredo'](_0x277a4e),this['_transformSelections'](_0x510fa9),this[_0xf9534e(0x3a5)](_0x510fa9),this['_incrementRevisionNumber']();}}let Ne=class extends Ce{constructor(_0x114130,_0x8142b4,_0xfe4cda,_0x102779,_0x4bb1a7,_0x1db419,_0x722b04,_0x492ff3,_0x1f1276,_0x57683c){var _0x2bb4ee=_0x4bf5f3;super(_0x114130,_0x8142b4,null,[],_0xfe4cda,_0x722b04,_0x1db419,_0x102779,_0x57683c),N(this,_0x2bb4ee(0x3cb),_0x2bb4ee(0x36f)),(this[_0x2bb4ee(0x2ae)]=_0x4bb1a7,this['_logService']=_0x492ff3,this['_transformService']=_0x1f1276,this[_0x2bb4ee(0x38f)]=_0x57683c);}[_0x4bf5f3(0x1c9)](_0x912fdc){var _0x5c4f45=_0x4bf5f3;const _0x5859ab=this[_0x5c4f45(0x2ae)][_0x5c4f45(0x1d4)](ae,this[_0x5c4f45(0x1ca)],this[_0x5c4f45(0x2c3)],[_0x912fdc],this[_0x5c4f45(0x41a)]);return _0x5859ab['_schedule'](),_0x5859ab[_0x5c4f45(0x33c)](),_0x5859ab;}[_0x4bf5f3(0x2ec)](_0x3bccff){var _0x46851f=_0x4bf5f3;if(this[_0x46851f(0x361)](_0x3bccff))return this[_0x46851f(0x2ae)]['createInstance'](ee,this[_0x46851f(0x1ca)],this['type'],null,[],null,[_0x3bccff],this[_0x46851f(0x41a)]);try{const _0x75e643=this[_0x46851f(0x229)][_0x46851f(0x242)](_0x3bccff,[ss]);if(_0xe482d(_0x75e643)){const {c1Prime:_0x3405d7}=_0x75e643;return this['_executeRemoteChangeset'](_0x3405d7),this;}throw _0x75e643['error'];}catch(_0x3f89d4){return this[_0x46851f(0x1a8)][_0x46851f(0x25d)](_0x3f89d4),this[_0x46851f(0x3c2)](!0x1);}}[_0x4bf5f3(0x3c2)](_0x2e8eaa){var _0x4371d1=_0x4bf5f3;return this['_injector'][_0x4371d1(0x1d4)](ue,this[_0x4371d1(0x1ca)],this['type'],null,[],this[_0x4371d1(0x41a)],_0x2e8eaa);}[_0x4bf5f3(0x239)](){var _0x55879c=_0x4bf5f3;throw new Error(_0x55879c(0x277));}[_0x4bf5f3(0x435)](){var _0x57439e=_0x4bf5f3;throw new Error(_0x57439e(0x3e5));}['onRemoteRetry'](){return this;}['toggleOffline'](){var _0x1f0288=_0x4bf5f3;return this['_injector'][_0x1f0288(0x1d4)](de,this[_0x1f0288(0x1ca)],this[_0x1f0288(0x2c3)],null,[],this[_0x1f0288(0x41a)]);}[_0x4bf5f3(0x37a)](){return this;}['resend'](){var _0x3354ec=_0x4bf5f3;throw new Error(_0x3354ec(0x357));}['fetchMiss'](){var _0x1c182d=_0x4bf5f3;const _0x51e630=this[_0x1c182d(0x282)][_0x1c182d(0x41c)](this[_0x1c182d(0x1ca)]);return this[_0x1c182d(0x41a)][_0x1c182d(0x3cf)]({'from':_0x51e630,'to':0x0}),this[_0x1c182d(0x2ae)][_0x1c182d(0x1d4)](ee,this[_0x1c182d(0x1ca)],this['type'],null,[],null,[],this[_0x1c182d(0x41a)]);}};Ne=Te([P(0x3,_0x34c223(_0x3dfaaa)),P(0x4,_0x34c223(_0x4bf894)),P(0x5,_0x46d797),P(0x6,_0x2fcd18),P(0x7,_0x15891c),P(0x8,_0x358e5a),P(0x9,_0x4af427(J))],Ne);let ae=class extends Ce{constructor(_0x3eb80b,_0x23e98d,_0x10a8fc,_0x1542cf,_0x4dbed7,_0x28d20b,_0x350f00,_0x49fc88,_0x3a4aa7,_0x29a80b,_0x5959b1,_0x432799,_0x147ae1,_0x10b7d3){var _0x2148a4=_0x4bf5f3;super(_0x3eb80b,_0x23e98d,null,_0x10a8fc,_0x1542cf,_0x3a4aa7,_0x147ae1,_0x28d20b,_0x10b7d3),N(this,_0x2148a4(0x3cb),_0x2148a4(0x17d)),N(this,_0x2148a4(0x399),null),N(this,'_sendingTimer',null),(this[_0x2148a4(0x2ae)]=_0x4dbed7,this['_memberService']=_0x350f00,this[_0x2148a4(0x1a8)]=_0x49fc88,this[_0x2148a4(0x33b)]=_0x29a80b,this[_0x2148a4(0x229)]=_0x5959b1,this[_0x2148a4(0x155)]=_0x432799);}[_0x4bf5f3(0x1c9)](_0x204e4a){var _0x50c304=_0x4bf5f3;return this[_0x50c304(0x346)][_0x50c304(0x369)](_0x204e4a),this[_0x50c304(0x33c)](),this;}[_0x4bf5f3(0x2ec)](_0x3b0ad2){var _0x36c2a7=_0x4bf5f3;if(this[_0x36c2a7(0x361)](_0x3b0ad2))return this['_clearScheduledTask'](),this[_0x36c2a7(0x2ae)][_0x36c2a7(0x1d4)](ee,this[_0x36c2a7(0x1ca)],this['type'],null,this[_0x36c2a7(0x346)],null,[_0x3b0ad2],this[_0x36c2a7(0x41a)]);try{const _0x228914=this['_transformService'][_0x36c2a7(0x242)](_0x3b0ad2,this[_0x36c2a7(0x346)]);if(_0xe482d(_0x228914)){const {c1Prime:_0x4886f3,m2Prime:_0x38d554}=_0x228914;this[_0x36c2a7(0x3ef)](_0x4886f3);const _0x5bc9d5=this['_injector'][_0x36c2a7(0x1d4)](ae,this['unitID'],this[_0x36c2a7(0x2c3)],_0x38d554,this[_0x36c2a7(0x41a)]);this[_0x36c2a7(0x236)]();const _0x8b83e9=new Date()[_0x36c2a7(0x2d0)](),_0x4fbeae=this['_scheduleCompleteTimestamp']?Math[_0x36c2a7(0x1db)](this[_0x36c2a7(0x399)]-_0x8b83e9,0x0):this[_0x36c2a7(0x251)]();return _0x5bc9d5[_0x36c2a7(0x2b3)](_0x4fbeae),_0x5bc9d5;}throw _0x228914['error'];}catch(_0x351376){return this[_0x36c2a7(0x1a8)]['error'](_0x351376),this[_0x36c2a7(0x3c2)](!0x1);}}[_0x4bf5f3(0x239)](){throw new Error('[PendingState]:\x20received\x20acknowledgement.');}[_0x4bf5f3(0x435)](){var _0x16237f=_0x4bf5f3;throw new Error(_0x16237f(0x3ee));}[_0x4bf5f3(0x153)](){return this;}[_0x4bf5f3(0x187)](){var _0x58aa10=_0x4bf5f3;return this['_clearScheduledTask'](),this[_0x58aa10(0x2ae)][_0x58aa10(0x1d4)](de,this[_0x58aa10(0x1ca)],this[_0x58aa10(0x2c3)],null,this[_0x58aa10(0x346)],this[_0x58aa10(0x41a)]);}[_0x4bf5f3(0x37a)](){return this;}[_0x4bf5f3(0x2b3)](_0x29e626){var _0x17eb18=_0x4bf5f3;const _0x3b708e=_0x29e626!=null?_0x29e626:this[_0x17eb18(0x251)]();this['_scheduleCompleteTimestamp']=new Date()[_0x17eb18(0x2d0)]()+_0x3b708e,this[_0x17eb18(0x390)]=setTimeout(()=>{var _0x10d677=_0x17eb18;this['_clearScheduledTask']();let _0x50b3e4=null;switch(this[_0x10d677(0x2c3)]){case Q[_0x10d677(0x1e7)]:{_0x50b3e4=qt(this[_0x10d677(0x346)],this[_0x10d677(0x1ca)],this[_0x10d677(0x155)],this[_0x10d677(0x282)],this['_memberService']);break;}case Q[_0x10d677(0x1dc)]:{this[_0x10d677(0x346)][_0x10d677(0x3e1)](_0x4e3771=>_0x4e3771['id']===_0x1877b5['id'])?_0x50b3e4=ns(this[_0x10d677(0x346)],this['unitID'],this[_0x10d677(0x155)],this[_0x10d677(0x282)],this['_memberService']):_0x50b3e4=qt(this[_0x10d677(0x346)],this['unitID'],this[_0x10d677(0x155)],this['_revisionService'],this[_0x10d677(0x23d)]);break;}default:throw new Error('[PendingState]:\x20unhandled\x20univer\x20type:\x20'+this[_0x10d677(0x2c3)]+_0x10d677(0x305));}const {changeset:_0x26d225,pendingMutations:_0x52cb08}=_0x50b3e4;this[_0x10d677(0x41a)][_0x10d677(0x3c9)](_0x26d225);const _0x554744=_0x52cb08['length']?this[_0x10d677(0x2ae)][_0x10d677(0x1d4)](oe,this[_0x10d677(0x1ca)],this[_0x10d677(0x2c3)],_0x26d225,_0x52cb08,this[_0x10d677(0x41a)],void 0x0):this[_0x10d677(0x2ae)][_0x10d677(0x1d4)](le,this['unitID'],this['type'],_0x26d225,this['_handler']);_0x554744[_0x10d677(0x33c)](),this[_0x10d677(0x41a)]['onStateChange'](this,_0x554744);},_0x3b708e);}[_0x4bf5f3(0x251)](){var _0x570f04=_0x4bf5f3,_0x4d2533;const _0x10d1e3=this['_configService'][_0x570f04(0x243)](q);return(_0x4d2533=_0x10d1e3==null?void 0x0:_0x10d1e3['sendChangesetTimeout'])!=null?_0x4d2533:En;}['resend'](){var _0x2b1f05=_0x4bf5f3;throw new Error(_0x2b1f05(0x1eb));}['_clearScheduledTask'](){var _0x39d34c=_0x4bf5f3;this[_0x39d34c(0x390)]!=null&&(clearTimeout(this['_sendingTimer']),this[_0x39d34c(0x390)]=null);}[_0x4bf5f3(0x3c2)](_0x259f34){var _0x56dcc3=_0x4bf5f3;return this['_clearScheduledTask'](),this[_0x56dcc3(0x2ae)][_0x56dcc3(0x1d4)](ue,this[_0x56dcc3(0x1ca)],this['type'],null,this[_0x56dcc3(0x346)],this[_0x56dcc3(0x41a)],_0x259f34);}};ae=Te([P(0x4,_0x34c223(_0x4bf894)),P(0x5,_0x34c223(_0x3dfaaa)),P(0x6,_0x34c223(Le)),P(0x7,_0x15891c),P(0x8,_0x2fcd18),P(0x9,_0x40de2c),P(0xa,_0x358e5a),P(0xb,_0x224a4c),P(0xc,_0x46d797),P(0xd,_0x4af427(J))],ae);let le=class extends Ce{constructor(_0x2d4b8e,_0x3dbebe,_0x42fe7b,_0x2de8df,_0x3ca121,_0x2c45ef,_0x5e2715,_0x34efbc,_0x32b7a2,_0x5a27e7,_0x5ec7bb){var _0x7e19a2=_0x4bf5f3;super(_0x2d4b8e,_0x3dbebe,_0x42fe7b,[],_0x2de8df,_0x5e2715,_0x5a27e7,_0x2c45ef,_0x5ec7bb),N(this,'status',_0x7e19a2(0x440)),N(this,_0x7e19a2(0x2d3),0x0),N(this,_0x7e19a2(0x407)),N(this,_0x7e19a2(0x29b)),(this['_injector']=_0x3ca121,this[_0x7e19a2(0x1a8)]=_0x34efbc,this[_0x7e19a2(0x229)]=_0x32b7a2);}['appendMutation'](_0xe2bd3b){var _0x23d717=_0x4bf5f3;this['_clearScheduledTask']();const _0x20b5ba=this[_0x23d717(0x2ae)][_0x23d717(0x1d4)](oe,this[_0x23d717(0x1ca)],this['type'],this[_0x23d717(0x2e8)],[_0xe2bd3b],this['_handler'],this[_0x23d717(0x407)]);return _0x20b5ba[_0x23d717(0x33c)](),_0x20b5ba;}[_0x4bf5f3(0x2ec)](_0x1dc528){var _0x45c52b=_0x4bf5f3;if(this[_0x45c52b(0x361)](_0x1dc528))return this['_clearScheduledTask'](),this[_0x45c52b(0x2ae)]['createInstance'](ee,this['unitID'],this['type'],this['_awaitingChangeset'],[],null,[_0x1dc528],this[_0x45c52b(0x41a)]);try{const _0x3998f4=this[_0x45c52b(0x229)]['transformChangesets']([_0x1dc528],[this[_0x45c52b(0x2e8)]],!0x1);if(_0x3eb120(_0x3998f4)){const {c1Prime:_0x40e494,c2Prime:_0x169a25}=_0x3998f4;this[_0x45c52b(0x3ef)](_0x40e494[0x0]),_0x169a25[0x0][_0x45c52b(0x2cd)]=this[_0x45c52b(0x323)](),this['_clearScheduledTask']();const _0x5f596d=this['_injector']['createInstance'](le,this[_0x45c52b(0x1ca)],this[_0x45c52b(0x2c3)],_0x169a25[0x0],this[_0x45c52b(0x41a)]);return _0x5f596d[_0x45c52b(0x33c)](),_0x5f596d;}return this[_0x45c52b(0x3c2)](!0x1);}catch(_0x48e525){return this[_0x45c52b(0x1a8)][_0x45c52b(0x25d)](_0x48e525),this['_onConflict'](!0x1);}}[_0x4bf5f3(0x239)](_0x472a70){var _0x472de9=_0x4bf5f3;this['_clearScheduledTask']();const _0x42cfe7=this['_revisionService'][_0x472de9(0x41c)](this[_0x472de9(0x1ca)]);if(_0x472a70['revision']<_0x42cfe7-0x1)return this;if(this['_checkMissing'](_0x472a70))return this[_0x472de9(0x2ae)][_0x472de9(0x1d4)](ee,this[_0x472de9(0x1ca)],this[_0x472de9(0x2c3)],null,[],this[_0x472de9(0x2e8)],[],this[_0x472de9(0x41a)]);this['_incrementRevisionNumber']();const _0x3c1a6a=this['_injector'][_0x472de9(0x1d4)](Ne,this['unitID'],this[_0x472de9(0x2c3)],this['_handler']);return _0x3c1a6a['_updateLocalCache'](),_0x3c1a6a;}[_0x4bf5f3(0x435)](_0x2c5219){var _0x2e09a9=_0x4bf5f3;return this['_onConflict'](!!(_0x2c5219!=null&&_0x2c5219[_0x2e09a9(0x3e4)]));}[_0x4bf5f3(0x153)](_0x30f7bc){var _0x593638=_0x4bf5f3;return this[_0x593638(0x2d3)]>Oi?this[_0x593638(0x187)]():(this[_0x593638(0x407)]=Ri(this[_0x593638(0x2d3)],{'timeout':this[_0x593638(0x2d3)],'reqId':_0x30f7bc[_0x593638(0x283)]}),this[_0x593638(0x29b)]=this[_0x593638(0x407)]['subscribe'](({reqId:_0x10d419,timeout:_0x2ed5b7})=>{var _0x182b20=_0x593638;this[_0x182b20(0x3c4)](_0x10d419,_0x2ed5b7);}),this);}[_0x4bf5f3(0x187)](){var _0x1e9d4c=_0x4bf5f3;return this[_0x1e9d4c(0x236)](),this['_injector']['createInstance'](de,this['unitID'],this[_0x1e9d4c(0x2c3)],this[_0x1e9d4c(0x2e8)],[],this['_handler']);}['toggleOnline'](){return this;}[_0x4bf5f3(0x21f)](){var _0x2d1f67=_0x4bf5f3;this[_0x2d1f67(0x41a)][_0x2d1f67(0x3c9)](this[_0x2d1f67(0x2e8)]);}['_onConflict'](_0x31a599){var _0x5224d5=_0x4bf5f3;return this[_0x5224d5(0x236)](),this[_0x5224d5(0x2ae)]['createInstance'](ue,this[_0x5224d5(0x1ca)],this[_0x5224d5(0x2c3)],this[_0x5224d5(0x2e8)],[],this[_0x5224d5(0x41a)],_0x31a599);}[_0x4bf5f3(0x3c4)](_0x235a9c,_0x48e65a){var _0x72171a=_0x4bf5f3,_0x44453d;_0x235a9c===((_0x44453d=this[_0x72171a(0x2e8)])==null?void 0x0:_0x44453d[_0x72171a(0x283)])&&(this[_0x72171a(0x21f)](),this['_resendTimeout']=_0x48e65a===0x0?0x3e8:_0x48e65a*0x2);}[_0x4bf5f3(0x236)](){var _0x3a7c6f=_0x4bf5f3,_0x42f62d;(_0x42f62d=this[_0x3a7c6f(0x29b)])==null||_0x42f62d[_0x3a7c6f(0x2ba)](),this['_resendTimeout']=0x0;}};le=Te([P(0x4,_0x34c223(_0x4bf894)),P(0x5,_0x34c223(_0x3dfaaa)),P(0x6,_0x2fcd18),P(0x7,_0x15891c),P(0x8,_0x358e5a),P(0x9,_0x46d797),P(0xa,_0x4af427(J))],le);let oe=class extends Ce{constructor(_0x3c02e2,_0x3540c6,_0x4ccd23,_0xeb617,_0x43a90c,_0x3b9d1c,_0x5a96f9,_0x183634,_0x15b7e1,_0xbf39c3,_0x2bd4fd,_0xe1a33c,_0x39d8b8){var _0x24402a=_0x4bf5f3;super(_0x3c02e2,_0x3540c6,_0x4ccd23,_0xeb617,_0x43a90c,_0x15b7e1,_0xe1a33c,_0x183634,_0x39d8b8),N(this,_0x24402a(0x3cb),_0x24402a(0x14c)),N(this,_0x24402a(0x2d3),0x0),N(this,'_resendTimer'),N(this,'_sender'),(this[_0x24402a(0x2ae)]=_0x5a96f9,this[_0x24402a(0x1a8)]=_0xbf39c3,this[_0x24402a(0x229)]=_0x2bd4fd,this[_0x24402a(0x38f)]=_0x39d8b8,_0x3b9d1c&&(this[_0x24402a(0x407)]=_0x3b9d1c,this[_0x24402a(0x29b)]=this[_0x24402a(0x407)][_0x24402a(0x268)](({reqId:_0x246b05,timeout:_0x62c537})=>{var _0x31ff68=_0x24402a;this[_0x31ff68(0x3c4)](_0x246b05,_0x62c537);})));}['appendMutation'](_0x10d144){var _0x8b34c5=_0x4bf5f3;return this['_pendingMutations'][_0x8b34c5(0x369)](_0x10d144),this;}['onRemoteChangeset'](_0x298559){var _0xdc87a5=_0x4bf5f3;if(this[_0xdc87a5(0x361)](_0x298559))return this['_clearScheduledTask'](),this[_0xdc87a5(0x2ae)]['createInstance'](ee,this[_0xdc87a5(0x1ca)],this[_0xdc87a5(0x2c3)],this[_0xdc87a5(0x2e8)],this[_0xdc87a5(0x346)],null,[_0x298559],this[_0xdc87a5(0x41a)]);try{const _0x4822b8=this[_0xdc87a5(0x229)]['transformChangesets']([_0x298559],[this[_0xdc87a5(0x2e8)]],!0x1);if(_0x3eb120(_0x4822b8)){const {c1Prime:_0x447331,c2Prime:_0x3be131}=_0x4822b8,_0x19ffaa=this['_transformService'][_0xdc87a5(0x242)](_0x447331[0x0],this[_0xdc87a5(0x346)]);if(_0xe482d(_0x19ffaa)){const {c1Prime:_0x50c134,m2Prime:_0xf9ffdb}=_0x19ffaa;return this[_0xdc87a5(0x3ef)](_0x50c134),_0x3be131[0x0][_0xdc87a5(0x2cd)]=this[_0xdc87a5(0x323)](),this[_0xdc87a5(0x236)](),this[_0xdc87a5(0x2ae)][_0xdc87a5(0x1d4)](oe,this[_0xdc87a5(0x1ca)],this[_0xdc87a5(0x2c3)],_0x3be131[0x0],_0xf9ffdb,this[_0xdc87a5(0x41a)],void 0x0);}throw _0x19ffaa[_0xdc87a5(0x25d)];}throw _0x4822b8['error'];}catch(_0x5e33dd){return this[_0xdc87a5(0x1a8)][_0xdc87a5(0x25d)](_0x5e33dd),this[_0xdc87a5(0x3c2)](!0x1);}}[_0x4bf5f3(0x239)](_0xbf5c08){var _0xcf800c=_0x4bf5f3;if(this[_0xcf800c(0x236)](),this[_0xcf800c(0x361)](_0xbf5c08))return this[_0xcf800c(0x2ae)][_0xcf800c(0x1d4)](ee,this[_0xcf800c(0x1ca)],this[_0xcf800c(0x2c3)],null,this[_0xcf800c(0x346)],this[_0xcf800c(0x2e8)],[],this[_0xcf800c(0x41a)]);this['_incrementRevisionNumber']();const _0x56358e=this['_injector'][_0xcf800c(0x1d4)](ae,this[_0xcf800c(0x1ca)],this[_0xcf800c(0x2c3)],this[_0xcf800c(0x346)],this[_0xcf800c(0x41a)]);return _0x56358e[_0xcf800c(0x2b3)](),_0x56358e['_updateLocalCache'](),_0x56358e;}['onRemoteRej'](_0x5cd48b){var _0x5434f3=_0x4bf5f3;return this[_0x5434f3(0x3c2)](!!(_0x5cd48b!=null&&_0x5cd48b[_0x5434f3(0x3e4)]));}[_0x4bf5f3(0x153)](_0x174b26){var _0x2c78c9=_0x4bf5f3;return this[_0x2c78c9(0x2d3)]>Oi?this[_0x2c78c9(0x187)]():(this[_0x2c78c9(0x407)]=Ri(this[_0x2c78c9(0x2d3)],{'timeout':this[_0x2c78c9(0x2d3)],'reqId':_0x174b26[_0x2c78c9(0x283)]}),this['_sender']=this[_0x2c78c9(0x407)][_0x2c78c9(0x268)](({reqId:_0x57593d,timeout:_0x5703c2})=>{var _0x34a91f=_0x2c78c9;this[_0x34a91f(0x3c4)](_0x57593d,_0x5703c2);}),this);}['toggleOffline'](){var _0x53df70=_0x4bf5f3;return this[_0x53df70(0x236)](),this[_0x53df70(0x2ae)][_0x53df70(0x1d4)](de,this[_0x53df70(0x1ca)],this[_0x53df70(0x2c3)],this[_0x53df70(0x2e8)],this[_0x53df70(0x346)],this[_0x53df70(0x41a)]);}[_0x4bf5f3(0x37a)](){return this;}['resend'](){var _0x276012=_0x4bf5f3;this[_0x276012(0x41a)]['onSendChangeset'](this[_0x276012(0x2e8)]);}[_0x4bf5f3(0x3c2)](_0x41657c){var _0x44df65=_0x4bf5f3;return this[_0x44df65(0x236)](),this[_0x44df65(0x2ae)][_0x44df65(0x1d4)](ue,this[_0x44df65(0x1ca)],this[_0x44df65(0x2c3)],null,this[_0x44df65(0x346)],this[_0x44df65(0x41a)],_0x41657c);}[_0x4bf5f3(0x3c4)](_0x4b70f3,_0x53fdb4){var _0x362244=_0x4bf5f3,_0x2afd31;_0x4b70f3===((_0x2afd31=this[_0x362244(0x2e8)])==null?void 0x0:_0x2afd31[_0x362244(0x283)])&&(this['resend'](),this[_0x362244(0x2d3)]=_0x53fdb4===0x0?0x3e8:_0x53fdb4*0x2);}[_0x4bf5f3(0x236)](){var _0x1a706b=_0x4bf5f3,_0x2ac5db;(_0x2ac5db=this[_0x1a706b(0x29b)])==null||_0x2ac5db[_0x1a706b(0x2ba)](),this[_0x1a706b(0x2d3)]=0x0;}};oe=Te([P(0x6,_0x34c223(_0x4bf894)),P(0x7,_0x34c223(_0x3dfaaa)),P(0x8,_0x2fcd18),P(0x9,_0x15891c),P(0xa,_0x358e5a),P(0xb,_0x46d797),P(0xc,_0x4af427(J))],oe);let ue=class extends Ce{constructor(_0x3c1d7b,_0x59c3ec,_0x2b3ac6,_0x4366a7,_0x30aff3,_0x142388=!0x1,_0x8d816e,_0x5b5223,_0x1227a4,_0x58d5f0,_0x5b99b1,_0x5cd3f7,_0x2e9e83){var _0x203d4d=_0x4bf5f3;super(_0x3c1d7b,_0x59c3ec,_0x2b3ac6,_0x4366a7,_0x30aff3,_0x5b5223,_0x1227a4,_0x58d5f0,_0x2e9e83),N(this,_0x203d4d(0x3cb),_0x203d4d(0x1a7)),(this[_0x203d4d(0x3b1)]=_0x142388,this[_0x203d4d(0x28c)]=_0x8d816e,this[_0x203d4d(0x32a)]=_0x5b99b1,this['_collaborationUIEventService']=_0x5cd3f7,this[_0x203d4d(0x38f)]=_0x2e9e83,this[_0x203d4d(0x3bb)](),this[_0x203d4d(0x1cd)](),this[_0x203d4d(0x215)]());}['appendMutation'](){return this;}['onRemoteChangeset'](){return this;}[_0x4bf5f3(0x239)](){return this;}['onRemoteRej'](){return this;}[_0x4bf5f3(0x153)](){return this;}[_0x4bf5f3(0x187)](){return this;}['toggleOnline'](){return this;}[_0x4bf5f3(0x21f)](){var _0x931cab=_0x4bf5f3;throw new Error(_0x931cab(0x274));}[_0x4bf5f3(0x1cd)](){var _0x11fe4b=_0x4bf5f3,_0xd1d047;(_0xd1d047=this[_0x11fe4b(0x2c4)])==null||_0xd1d047[_0x11fe4b(0x230)](this[_0x11fe4b(0x1ca)],this['type'],null,[]);}['_showConflictNotification'](){var _0x19a5c5=_0x4bf5f3;this[_0x19a5c5(0x3b1)]?this[_0x19a5c5(0x286)][_0x19a5c5(0x349)]({'id':re['PERMISSION_DENIED']}):this[_0x19a5c5(0x286)]['emitEvent']({'id':re['CONFLICT']});}[_0x4bf5f3(0x215)](){var _0x50af71=_0x4bf5f3;this['_permissionService'][_0x50af71(0x43b)](new _0x5ec505(this[_0x50af71(0x1ca)])['id'],!0x1);}};ue=Te([P(0x6,_0x34c223(_0x5c3493)),P(0x7,_0x2fcd18),P(0x8,_0x46d797),P(0x9,_0x34c223(_0x3dfaaa)),P(0xa,_0x34c223(_0x27fab3)),P(0xb,_0x34c223(pe)),P(0xc,_0x4af427(J))],ue);let de=class extends Ce{constructor(_0x95d052,_0x39852b,_0x130aed,_0x1b0813,_0x166ba9,_0x2a4370,_0x2c1207,_0x5a0dd2,_0x1411b8,_0x5bad66){var _0x302f7a=_0x4bf5f3;super(_0x95d052,_0x39852b,_0x130aed,_0x1b0813,_0x166ba9,_0x5a0dd2,_0x1411b8,_0x2c1207,_0x5bad66),N(this,_0x302f7a(0x3cb),_0x302f7a(0x147)),this['_injector']=_0x2a4370;}['appendMutation'](_0x1ce06c){var _0x326749=_0x4bf5f3;return this[_0x326749(0x346)][_0x326749(0x369)](_0x1ce06c),this['_updateLocalCache'](),this;}[_0x4bf5f3(0x2ec)](_0x11566b){var _0x38eff5=_0x4bf5f3;throw new Error(_0x38eff5(0x31e));}[_0x4bf5f3(0x239)](){var _0xf58d2c=_0x4bf5f3;throw new Error(_0xf58d2c(0x3d4));}['onRemoteRej'](){var _0x3b215f=_0x4bf5f3;throw new Error(_0x3b215f(0x3a4));}[_0x4bf5f3(0x153)](){return this;}[_0x4bf5f3(0x187)](){return this;}['toggleOnline'](){var _0x206e8f=_0x4bf5f3;const {_injector:_0x2bf885,_pendingMutations:_0x5910bb,_awaitingChangeset:_0x5c12ae,unitID:_0x487133,_handler:_0x353672,type:_0x24bbdf}=this,_0x4aeb7c=yi(_0x2bf885,_0x487133,_0x24bbdf,_0x5c12ae,_0x5910bb,_0x353672);return _0x4aeb7c instanceof ae?_0x4aeb7c['_schedule']():(_0x4aeb7c instanceof oe||_0x4aeb7c instanceof le)&&_0x4aeb7c[_0x206e8f(0x21f)](),_0x4aeb7c;}[_0x4bf5f3(0x21f)](){var _0x5b1158=_0x4bf5f3;throw new Error(_0x5b1158(0x1af));}};de=Te([P(0x5,_0x34c223(_0x4bf894)),P(0x6,_0x34c223(_0x3dfaaa)),P(0x7,_0x2fcd18),P(0x8,_0x46d797),P(0x9,_0x4af427(J))],de);let ee=class extends Ce{constructor(_0x269963,_0x40ec88,_0x19fcc1,_0x2066fc,_0x32c472,_0x2118e1,_0x12375c,_0x571e6f,_0x226ded,_0x201bf3,_0x1f5102,_0x532bd6,_0x25ed31,_0x1ef083){var _0x40fd36=_0x4bf5f3;super(_0x269963,_0x40ec88,_0x19fcc1,_0x2066fc,_0x12375c,_0x1f5102,_0x532bd6,_0x226ded,_0x1ef083),N(this,_0x40fd36(0x3cb),_0x40fd36(0x252)),(this[_0x40fd36(0x2f0)]=_0x32c472,this['_queuedRemoteChangesets']=_0x2118e1,this[_0x40fd36(0x2ae)]=_0x571e6f,this[_0x40fd36(0x1a8)]=_0x201bf3,this[_0x40fd36(0x229)]=_0x25ed31,this[_0x40fd36(0x38f)]=_0x1ef083);}[_0x4bf5f3(0x182)](_0x2caba2){var _0x17cd65=_0x4bf5f3;try{const _0x3794fa=[..._0x2caba2,...this[_0x17cd65(0x402)]],_0x35c394=[this['_awaitingChangeset']||this[_0x17cd65(0x2f0)]][_0x17cd65(0x2ed)](_0x56082a=>!!_0x56082a);let _0x61e185,_0xc1a4de;if(_0x35c394['length']){const _0x3a2ab4=this[_0x17cd65(0x229)][_0x17cd65(0x292)](_0x3794fa,_0x35c394,!0x1);if(!_0x3eb120(_0x3a2ab4))throw _0x3a2ab4['error'];_0x61e185=_0x3a2ab4['c1Prime'],_0xc1a4de=_0x3a2ab4[_0x17cd65(0x1fb)];}else _0x61e185=_0x3794fa,_0xc1a4de=[];let _0x596f42=this['_pendingMutations'];_0x61e185[_0x17cd65(0x266)](_0x44b2fe=>{var _0x4cb2fd=_0x17cd65;let _0x5080b6;if(_0x596f42[_0x4cb2fd(0x1ce)]){const _0x2a85c6=this['_transformService'][_0x4cb2fd(0x242)](_0x44b2fe,_0x596f42);if(!_0xe482d(_0x2a85c6))throw _0x2a85c6[_0x4cb2fd(0x25d)];_0x5080b6=_0x2a85c6[_0x4cb2fd(0x173)],_0x596f42=_0x2a85c6['m2Prime'];}else _0x5080b6=_0x44b2fe;this['_executeRemoteChangeset'](_0x5080b6);}),this[_0x17cd65(0x2f0)]&&this[_0x17cd65(0x33a)](),this[_0x17cd65(0x2e8)]&&_0xc1a4de[_0x17cd65(0x1ce)]&&(_0xc1a4de[0x0]['baseRev']=this[_0x17cd65(0x323)]());let _0x305d9f;if(this[_0x17cd65(0x2e8)]&&_0x596f42[_0x17cd65(0x1ce)]!==0x0)_0x305d9f=this[_0x17cd65(0x2ae)][_0x17cd65(0x1d4)](oe,this[_0x17cd65(0x1ca)],this[_0x17cd65(0x2c3)],_0xc1a4de[0x0],_0x596f42,this[_0x17cd65(0x41a)],void 0x0);else{if(this[_0x17cd65(0x2e8)]&&_0x596f42[_0x17cd65(0x1ce)]===0x0)_0xc1a4de[0x0][_0x17cd65(0x2cd)]=this[_0x17cd65(0x323)](),_0x305d9f=this['_injector'][_0x17cd65(0x1d4)](le,this[_0x17cd65(0x1ca)],this[_0x17cd65(0x2c3)],_0xc1a4de[0x0],this[_0x17cd65(0x41a)]);else{if(_0x596f42['length']!==0x0){const _0x4139f6=this['_injector'][_0x17cd65(0x1d4)](ae,this['unitID'],this[_0x17cd65(0x2c3)],_0x596f42,this[_0x17cd65(0x41a)]);_0x4139f6[_0x17cd65(0x2b3)](),_0x305d9f=_0x4139f6;}else _0x305d9f=this[_0x17cd65(0x2ae)][_0x17cd65(0x1d4)](Ne,this[_0x17cd65(0x1ca)],this[_0x17cd65(0x2c3)],this[_0x17cd65(0x41a)]);}}return _0x305d9f[_0x17cd65(0x33c)](),_0x305d9f;}catch(_0x1e255e){return this[_0x17cd65(0x1a8)][_0x17cd65(0x25d)](_0x17cd65(0x3da),_0x17cd65(0x1ab),_0x1e255e),this[_0x17cd65(0x2ae)][_0x17cd65(0x1d4)](ue,this[_0x17cd65(0x1ca)],this[_0x17cd65(0x2c3)],this[_0x17cd65(0x2e8)],this[_0x17cd65(0x346)],this[_0x17cd65(0x41a)],!0x1);}}[_0x4bf5f3(0x21f)](){var _0x3a0361=_0x4bf5f3;throw new Error(_0x3a0361(0x1e0));}[_0x4bf5f3(0x1c9)](_0x3d7a23){var _0x878b84=_0x4bf5f3;return this[_0x878b84(0x346)][_0x878b84(0x369)](_0x3d7a23),this;}[_0x4bf5f3(0x2ec)](_0x1fde01){var _0x38ef63=_0x4bf5f3;return this['_queuedRemoteChangesets'][_0x38ef63(0x369)](_0x1fde01),this;}['onRemoteAck'](_0x21bb32){var _0x5223b5=_0x4bf5f3;if(this['_awaitingChangeset'])return this['_acknowledgedAwaitingChangeset']=this[_0x5223b5(0x2e8)],this[_0x5223b5(0x2e8)]=null,this;throw new Error(_0x5223b5(0x391));}[_0x4bf5f3(0x435)](_0x5b43b5){var _0x16901c=_0x4bf5f3;return this[_0x16901c(0x3c2)](!!(_0x5b43b5!=null&&_0x5b43b5[_0x16901c(0x3e4)]));}['onRemoteRetry'](){return this;}[_0x4bf5f3(0x187)](){var _0xfeaf79=_0x4bf5f3;return this['_injector'][_0xfeaf79(0x1d4)](de,this[_0xfeaf79(0x1ca)],this[_0xfeaf79(0x2c3)],this['_awaitingChangeset'],this['_pendingMutations'],this['_handler']);}[_0x4bf5f3(0x37a)](){return this;}[_0x4bf5f3(0x3c2)](_0x491600){var _0x39a877=_0x4bf5f3;return this[_0x39a877(0x2ae)][_0x39a877(0x1d4)](ue,this['unitID'],this[_0x39a877(0x2c3)],this[_0x39a877(0x2e8)],this[_0x39a877(0x346)],this[_0x39a877(0x41a)],_0x491600);}};ee=Te([P(0x7,_0x34c223(_0x4bf894)),P(0x8,_0x34c223(_0x3dfaaa)),P(0x9,_0x15891c),P(0xa,_0x2fcd18),P(0xb,_0x46d797),P(0xc,_0x358e5a),P(0xd,_0x4af427(J))],ee);function yi(_0x2032eb,_0x42f738,_0x115a2d,_0x2f8774,_0x32ba1c,_0x5a7193){var _0x3127d5=_0x4bf5f3;return _0x2f8774&&_0x32ba1c[_0x3127d5(0x1ce)]?_0x2032eb[_0x3127d5(0x1d4)](oe,_0x42f738,_0x115a2d,_0x2f8774,_0x32ba1c,_0x5a7193,void 0x0):_0x2f8774?_0x2032eb['createInstance'](le,_0x42f738,_0x115a2d,_0x2f8774,_0x5a7193):_0x32ba1c['length']?_0x2032eb['createInstance'](ae,_0x42f738,_0x115a2d,_0x32ba1c,_0x5a7193):_0x2032eb[_0x3127d5(0x1d4)](Ne,_0x42f738,_0x115a2d,_0x5a7193);}var as=Object[_0x4bf5f3(0x1f9)],Lt=(_0x2f89fb,_0x472419,_0x51cf04,_0x2cfbdc)=>{var _0x22d158=_0x4bf5f3;for(var _0x2aa2f7=_0x2cfbdc>0x1?void 0x0:_0x2cfbdc?as(_0x472419,_0x51cf04):_0x472419,_0x44ed31=_0x2f89fb[_0x22d158(0x1ce)]-0x1,_0x3d206b;_0x44ed31>=0x0;_0x44ed31--)(_0x3d206b=_0x2f89fb[_0x44ed31])&&(_0x2aa2f7=_0x3d206b(_0x2aa2f7)||_0x2aa2f7);return _0x2aa2f7;},H=(_0x596899,_0x1fc471)=>(_0x3513f8,_0x51a9d6)=>_0x1fc471(_0x3513f8,_0x51a9d6,_0x596899);let nt=class extends _0x358cae{constructor(_0x49b606,_0x5a16e7,_0x3599e8,_0x5cd2c0,_0x2a69c4,_0x96fecf,_0x237483,_0x1d28dc,_0x3b8046,_0x51cdf9,_0x2bd1f7,_0x4b9eb7,_0x5885a4){var _0x51cb0d=_0x4bf5f3;super(),N(this,'_state$',new _0x25b128(null)),N(this,_0x51cb0d(0x3eb),this[_0x51cb0d(0x156)][_0x51cb0d(0x2b5)]()),N(this,_0x51cb0d(0x256)),N(this,_0x51cb0d(0x177),!0x1),N(this,'_changesetSessionId',''),N(this,_0x51cb0d(0x1cc),0x0),N(this,_0x51cb0d(0x1c8),this[_0x51cb0d(0x3eb)][_0x51cb0d(0x334)](_0x3ba469(_0x35798f=>_0x35798f?_0x35798f[_0x51cb0d(0x3cb)]:bi[_0x51cb0d(0x417)]),_0x2658d9(0x1))),N(this,_0x51cb0d(0x333),!0x1),N(this,_0x51cb0d(0x1ea),[]),(this[_0x51cb0d(0x1ca)]=_0x49b606,this[_0x51cb0d(0x2d1)]=_0x5a16e7,this[_0x51cb0d(0x2b1)]=_0x3599e8,this['_injector']=_0x5cd2c0,this[_0x51cb0d(0x18f)]=_0x2a69c4,this[_0x51cb0d(0x32a)]=_0x96fecf,this[_0x51cb0d(0x282)]=_0x237483,this[_0x51cb0d(0x197)]=_0x1d28dc,this[_0x51cb0d(0x1a8)]=_0x3b8046,this[_0x51cb0d(0x430)]=_0x51cdf9,this[_0x51cb0d(0x28c)]=_0x2bd1f7,this[_0x51cb0d(0x382)]=_0x4b9eb7,this[_0x51cb0d(0x2c4)]=_0x5885a4);}get[_0x4bf5f3(0x33f)](){return this['_state'];}async[_0x4bf5f3(0x358)](){var _0x56aabb=_0x4bf5f3;if(this[_0x56aabb(0x33f)])throw new Error('[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.');await this[_0x56aabb(0x279)]();}[_0x4bf5f3(0x389)](){return this['_collaborationPaused']=!0x0,_0x2e73a8(()=>{var _0x4301d5=_0x4b93;this[_0x4301d5(0x177)]=!0x1,this[_0x4301d5(0x287)]();});}[_0x4bf5f3(0x1c3)](_0x52bf34){var _0x25add9=_0x4bf5f3;this[_0x25add9(0x24c)](_0x52bf34);}[_0x4bf5f3(0x2cb)](_0x2f817f){var _0x176b3d=_0x4bf5f3;this[_0x176b3d(0x256)]=_0x2f817f,this[_0x176b3d(0x156)]['next'](_0x2f817f);}async['_init'](){var _0x5e50fc=_0x4bf5f3,_0x428259;this['_updateState'](await this[_0x5e50fc(0x172)]()),this[_0x5e50fc(0x382)]&&((_0x428259=this['_singleActiveUnitService'])==null||_0x428259[_0x5e50fc(0x3be)](this['unitID']),this[_0x5e50fc(0x40e)](this['_singleActiveUnitService'][_0x5e50fc(0x17b)](this[_0x5e50fc(0x1ca)])[_0x5e50fc(0x268)](_0x100645=>{var _0x362827=_0x5e50fc;this[_0x362827(0x1a8)][_0x362827(0x145)](_0x362827(0x351),_0x362827(0x1bd),_0x100645),_0x100645===Ci[_0x362827(0x1ae)]?(this[_0x362827(0x197)][_0x362827(0x349)]({'id':re[_0x362827(0x1dd)]}),this['_permissionService'][_0x362827(0x43b)](new _0x5ec505(this[_0x362827(0x1ca)])['id'],!0x1),this[_0x362827(0x28c)][_0x362827(0x297)](!0x1)):(this[_0x362827(0x28c)][_0x362827(0x43b)](new _0x5ec505(this[_0x362827(0x1ca)])['id'],!0x0),this[_0x362827(0x28c)][_0x362827(0x297)](!0x0));})));let _0x1b6fa9=!0x1;return this[_0x5e50fc(0x40e)](this[_0x5e50fc(0x2d1)]['sessionStatus$'][_0x5e50fc(0x268)](_0x209c06=>{var _0x51f2ba=_0x5e50fc;_0x209c06===Ee[_0x51f2ba(0x23f)]?this[_0x51f2ba(0x2d6)](_0x1b6fa9):_0x209c06===Ee[_0x51f2ba(0x417)]&&(_0x1b6fa9=!0x0,this['_toggleOffline']());})),this['disposeWithMe'](this[_0x5e50fc(0x2d1)][_0x5e50fc(0x213)][_0x5e50fc(0x268)](_0x7a80c2=>{var _0x4bcbbc=_0x5e50fc;try{switch(_0x7a80c2['eventID']){case _0x165352[_0x4bcbbc(0x23b)]:{this['_onRemoteChangeset'](_0x3fe07b(_0x7a80c2[_0x4bcbbc(0x3d1)]));break;}case _0x165352[_0x4bcbbc(0x183)]:{this[_0x4bcbbc(0x30c)](_0x7a80c2[_0x4bcbbc(0x3d1)]);break;}case _0x165352[_0x4bcbbc(0x2de)]:{this[_0x4bcbbc(0x2ab)]();break;}case _0x165352['CHANGESET_SHOULD_RETRY']:{this[_0x4bcbbc(0x2c6)](_0x7a80c2[_0x4bcbbc(0x3d1)]);break;}case _0x165352[_0x4bcbbc(0x181)]:{this[_0x4bcbbc(0x131)](_0x7a80c2['data'][_0x4bcbbc(0x26c)][_0x4bcbbc(0x28b)](_0x368a86=>_0x3fe07b(_0x368a86)));break;}case _0x165352['PERMISSION_REJ']:{this[_0x4bcbbc(0x2ab)]({'isPermissionRej':!0x0});break;}case _0x165352[_0x4bcbbc(0x285)]:break;}}catch(_0x45f695){throw console['error']('Error\x20on\x20receiving\x20event',_0x45f695),_0x45f695;}})),this[_0x5e50fc(0x256)];}['_unlockTransition'](){var _0x4e5f77=_0x4bf5f3;this[_0x4e5f77(0x333)]=!0x1;}[_0x4bf5f3(0x16b)](){var _0x24d4ce=_0x4bf5f3;if(this[_0x24d4ce(0x333)])throw new Error(_0x24d4ce(0x26f));this['_transitionLocked']=!0x0;}['_onLocalMutation'](_0x3e0401){var _0x3daa06=_0x4bf5f3;this['_lockTransition'](),this[_0x3daa06(0x2cb)](this[_0x3daa06(0x256)][_0x3daa06(0x1c9)](_0x3e0401)),this[_0x3daa06(0x1e6)]();}[_0x4bf5f3(0x327)](_0x2def7a){var _0x36f2b8=_0x4bf5f3;if(!(_0x2def7a[_0x36f2b8(0x25f)]<=this[_0x36f2b8(0x282)][_0x36f2b8(0x41c)](this[_0x36f2b8(0x1ca)]))){if(this[_0x36f2b8(0x177)]){this[_0x36f2b8(0x1ea)]['push'](_0x2def7a);return;}this[_0x36f2b8(0x29e)](_0x2def7a);}}[_0x4bf5f3(0x287)](){var _0x5373d9=_0x4bf5f3;this[_0x5373d9(0x1ea)][_0x5373d9(0x266)](_0x277b68=>this['_applyRemoteChangeset'](_0x277b68)),this[_0x5373d9(0x1ea)]=[];}['_applyRemoteChangeset'](_0x27eb55){var _0x42bb5c=_0x4bf5f3;const _0x5d6e30=this[_0x42bb5c(0x18f)][_0x42bb5c(0x235)][_0x42bb5c(0x258)](this['_compressMutationService'][_0x42bb5c(0x235)][_0x42bb5c(0x253)]()[_0x42bb5c(0x31c)])(_0x27eb55[_0x42bb5c(0x347)],null)||_0x27eb55[_0x42bb5c(0x347)],_0x373d2f={..._0x27eb55,'mutations':_0x5d6e30};this[_0x42bb5c(0x16b)](),this[_0x42bb5c(0x2cb)](this['_state'][_0x42bb5c(0x2ec)](_0x373d2f)),this[_0x42bb5c(0x1e6)]();}[_0x4bf5f3(0x30c)](_0x2fc2dc){var _0xd59cf7=_0x4bf5f3;this[_0xd59cf7(0x16b)](),this['_updateState'](this[_0xd59cf7(0x256)][_0xd59cf7(0x239)](_0x2fc2dc)),this['_unlockTransition']();}['_onRemoteRejected'](_0xd06e1a){var _0xe1549b=_0x4bf5f3;this[_0xe1549b(0x16b)](),this['_updateState'](this['_state'][_0xe1549b(0x435)](_0xd06e1a)),this[_0xe1549b(0x1e6)]();}[_0x4bf5f3(0x2c6)](_0x3743d8){var _0x3a1c29=_0x4bf5f3;this[_0x3a1c29(0x16b)](),this[_0x3a1c29(0x2cb)](this[_0x3a1c29(0x256)][_0x3a1c29(0x153)](_0x3743d8)),this[_0x3a1c29(0x1e6)]();}['_onFetchMissResult'](_0x587002){var _0x45395e=_0x4bf5f3;if(!(this[_0x45395e(0x256)]instanceof ee))throw new TypeError(_0x45395e(0x178));const _0x145902=_0x587002[_0x45395e(0x28b)](_0x512671=>{var _0x1e07e6=_0x45395e;const _0x4169b7=this[_0x1e07e6(0x18f)]['interceptor'][_0x1e07e6(0x258)](this[_0x1e07e6(0x18f)]['interceptor'][_0x1e07e6(0x253)]()[_0x1e07e6(0x31c)])(_0x512671[_0x1e07e6(0x347)],null)||_0x512671[_0x1e07e6(0x347)];return{..._0x512671,'mutations':_0x4169b7};});this[_0x45395e(0x16b)](),this[_0x45395e(0x2cb)](this[_0x45395e(0x256)][_0x45395e(0x182)](_0x145902)),this[_0x45395e(0x1e6)]();}['_toggleOffline'](){var _0x104f47=_0x4bf5f3;this['_lockTransition'](),this['_updateState'](this[_0x104f47(0x256)][_0x104f47(0x187)]()),this['_unlockTransition']();}[_0x4bf5f3(0x2d6)](_0x2bc180=!0x1){var _0x4d2c23=_0x4bf5f3;this[_0x4d2c23(0x16b)](),this[_0x4d2c23(0x2cb)](this[_0x4d2c23(0x256)][_0x4d2c23(0x37a)]()),this['_unlockTransition']();const _0x310e93=this[_0x4d2c23(0x256)];_0x2bc180&&_0x310e93 instanceof Ne&&(this[_0x4d2c23(0x16b)](),this['_updateState'](_0x310e93[_0x4d2c23(0x3b5)]()),this[_0x4d2c23(0x1e6)]());}async['_createInitialState'](){return new Promise(_0x5d7da0=>{var _0x35eede=_0x4b93;this[_0x35eede(0x2d1)]['sessionStatus$'][_0x35eede(0x334)](_0x78bb0e(0x1))['subscribe'](async _0x1b69a3=>{var _0x3b9afb=_0x35eede;_0x5d7da0(await this['_createInitialStateImpl'](_0x1b69a3===Ee[_0x3b9afb(0x23f)]));});});}[_0x4bf5f3(0x396)](){var _0x3d39e1=_0x4bf5f3;const _0x284dfd=this[_0x3d39e1(0x1ca)];return{'onStateChange':(_0x4e8c7a,_0x1b5b5c)=>{var _0x1b17d2=_0x3d39e1;if(_0x4e8c7a!==this[_0x1b17d2(0x256)])throw new Error('[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20'+_0x4e8c7a['status']+_0x1b17d2(0x294)+_0x1b5b5c['status']+'\x0aCurrent:\x20'+this['_state'][_0x1b17d2(0x3cb)]);this[_0x1b17d2(0x2cb)](_0x1b5b5c);},'onSendChangeset':_0x5f249e=>{var _0x38c0f2=_0x3d39e1;_0x5f249e['sid']||(_0x5f249e[_0x38c0f2(0x13f)]=this['_changesetSessionId'],_0x5f249e['reqId']=++this[_0x38c0f2(0x1cc)]);const _0x2a4cdd={'eventID':_0x165352[_0x38c0f2(0x211)],'data':{'unitID':_0x5f249e[_0x38c0f2(0x1ca)],'unitType':this[_0x38c0f2(0x2b1)],'changeset':_0x5f249e,'memberID':this[_0x38c0f2(0x2d1)][_0x38c0f2(0x3b4)]()}};this[_0x38c0f2(0x2d1)][_0x38c0f2(0x271)](_0x2a4cdd,this[_0x38c0f2(0x1ca)]);},'onMissingChangesets':({from:_0x399b85,to:_0x1680fc})=>{var _0x5676a1=_0x3d39e1;this[_0x5676a1(0x1a8)][_0x5676a1(0x145)](_0x5676a1(0x351),_0x5676a1(0x344)+_0x399b85+_0x5676a1(0x2a7)+_0x1680fc);const _0x35b373={'eventID':_0x165352[_0x5676a1(0x1d1)],'data':{'unitID':_0x284dfd,'unitType':this[_0x5676a1(0x2b1)],'from':_0x399b85,'to':_0x1680fc}};this[_0x5676a1(0x2d1)][_0x5676a1(0x271)](_0x35b373,this[_0x5676a1(0x1ca)]);}};}async[_0x4bf5f3(0x2e0)](_0xc42612){var _0xf36599=_0x4bf5f3,_0x356bf2,_0x3a1196,_0x2d1ecf;const _0x9f98e5=await((_0x356bf2=this[_0xf36599(0x2c4)])==null?void 0x0:_0x356bf2[_0xf36599(0x431)](this[_0xf36599(0x1ca)])),_0xb2cbba=(_0x3a1196=_0x9f98e5==null?void 0x0:_0x9f98e5['mutations'])!=null?_0x3a1196:[],_0x17e60e=(_0x2d1ecf=_0x9f98e5==null?void 0x0:_0x9f98e5['awaitingChangeset'])!=null?_0x2d1ecf:null,_0x138e54=!!(_0x17e60e!=null&&_0x17e60e[_0xf36599(0x13f)])&&!!(_0x17e60e!=null&&_0x17e60e['reqId']);this[_0xf36599(0x3fa)]=_0x138e54?_0x17e60e[_0xf36599(0x13f)]:Zn(),this['_changesetReqId']=_0x138e54?_0x17e60e['reqId']:0x0;const _0x460cb0=this[_0xf36599(0x1ca)];try{this['_replayCachedMutations'](_0x17e60e,_0xb2cbba);}catch(_0x17183b){this[_0xf36599(0x1a8)][_0xf36599(0x25d)](_0x17183b);}const _0x3e4447=this['_createHandler']();if(_0xc42612){const _0x29a4bb=yi(this[_0xf36599(0x2ae)],_0x460cb0,this[_0xf36599(0x2b1)],_0x17e60e,_0xb2cbba,_0x3e4447);return _0x29a4bb instanceof ae?_0x29a4bb[_0xf36599(0x2b3)]():(_0x29a4bb instanceof oe||_0x29a4bb instanceof le)&&_0x29a4bb[_0xf36599(0x21f)](),_0x29a4bb;}return this['_injector'][_0xf36599(0x1d4)](de,_0x460cb0,this[_0xf36599(0x2b1)],_0x17e60e,_0xb2cbba,_0x3e4447);}[_0x4bf5f3(0x2d5)](_0x9226c3,_0x3ccfdf){var _0x475a98=_0x4bf5f3,_0x4d89a4,_0x476be4;const _0x411a27=this[_0x475a98(0x18f)]['interceptor'][_0x475a98(0x258)](this[_0x475a98(0x18f)][_0x475a98(0x235)][_0x475a98(0x253)]()[_0x475a98(0x31c)]);(_0x4d89a4=_0x411a27((_0x9226c3==null?void 0x0:_0x9226c3[_0x475a98(0x347)])||[],null))==null||_0x4d89a4[_0x475a98(0x266)](_0x5c3790=>this[_0x475a98(0x430)][_0x475a98(0x222)](_0x5c3790['id'],_0x5c3790[_0x475a98(0x184)])),(_0x476be4=_0x411a27(_0x3ccfdf||[],null))==null||_0x476be4['forEach'](_0x26e304=>this[_0x475a98(0x430)][_0x475a98(0x222)](_0x26e304['id'],_0x26e304[_0x475a98(0x184)]));}};nt=Lt([H(0x3,_0x34c223(_0x4bf894)),H(0x4,_0x34c223(_0x543b4e)),H(0x5,_0x34c223(_0x27fab3)),H(0x6,_0x34c223(_0x3dfaaa)),H(0x7,_0x34c223(pe)),H(0x8,_0x15891c),H(0x9,_0x2fcd18),H(0xa,_0x5c3493),H(0xb,_0x4af427(ht)),H(0xc,_0x4af427(J))],nt);let It=class extends nt{constructor(_0xbc8ecb,_0x4bd0ed,_0x3efdec,_0x4eb16d,_0xccc02d,_0x415a2a,_0x396423,_0x3a09c8,_0x4225bf,_0x31009c,_0x373331,_0x4647d8,_0x4b1d14){var _0x174944=_0x4bf5f3;super(_0xbc8ecb,_0x3efdec,_0x4bd0ed,_0x4eb16d,_0xccc02d,_0x415a2a,_0x396423,_0x3a09c8,_0x4225bf,_0x31009c,_0x373331,_0x4647d8,_0x4b1d14),N(this,_0x174944(0x423),null),(this[_0x174944(0x1ca)]=_0xbc8ecb,this[_0x174944(0x2c3)]=_0x4bd0ed);}[_0x4bf5f3(0x2f5)](_0x3f55dc){var _0x3732b7=_0x4bf5f3;this[_0x3732b7(0x423)]=_0x3f55dc;}['dispose'](){this['_handlerCallback']=null,super['dispose']();}['_createHandler'](){var _0x2e7d11=_0x4bf5f3;const _0x57da80=super[_0x2e7d11(0x396)]();return _0x57da80[_0x2e7d11(0x2f8)]=_0x2e5170=>{var _0x3f1154=_0x2e7d11,_0x205f5b,_0x1b2274;return(_0x1b2274=(_0x205f5b=this[_0x3f1154(0x423)])==null?void 0x0:_0x205f5b['onTransformIME'])==null?void 0x0:_0x1b2274[_0x3f1154(0x150)](_0x205f5b,_0x2e5170);},_0x57da80[_0x2e7d11(0x3dc)]=_0x9d0c75=>{var _0x19a7fb=_0x2e7d11,_0x592057,_0x2783d3;return(_0x2783d3=(_0x592057=this['_handlerCallback'])==null?void 0x0:_0x592057['onTransformState'])==null?void 0x0:_0x2783d3[_0x19a7fb(0x150)](_0x592057,_0x9d0c75);},_0x57da80['onTransformSelections']=_0x487ffa=>{var _0x4a1a5b=_0x2e7d11,_0x371799,_0x3b9f20;return(_0x3b9f20=(_0x371799=this[_0x4a1a5b(0x423)])==null?void 0x0:_0x371799['onTransformSelections'])==null?void 0x0:_0x3b9f20[_0x4a1a5b(0x150)](_0x371799,_0x487ffa);},_0x57da80[_0x2e7d11(0x259)]=_0x25aa7c=>{var _0x38c481=_0x2e7d11,_0x222d48,_0x50eaa4;return(_0x50eaa4=(_0x222d48=this[_0x38c481(0x423)])==null?void 0x0:_0x222d48[_0x38c481(0x259)])==null?void 0x0:_0x50eaa4['call'](_0x222d48,_0x25aa7c);},_0x57da80[_0x2e7d11(0x27a)]=_0x2f43b3=>{var _0x3f9fbb=_0x2e7d11,_0x587088,_0x40c900,_0x1f62ff;if(!((_0x587088=this['_handlerCallback'])!=null&&_0x587088[_0x3f9fbb(0x27a)]))throw new Error(_0x3f9fbb(0x1ac));return(_0x1f62ff=(_0x40c900=this[_0x3f9fbb(0x423)])==null?void 0x0:_0x40c900[_0x3f9fbb(0x27a)])==null?void 0x0:_0x1f62ff['call'](_0x40c900,_0x2f43b3);},_0x57da80[_0x2e7d11(0x281)]=_0x1aefc8=>{var _0x59ece7=_0x2e7d11,_0x2faf98,_0x19dc46,_0x13849f;if(!((_0x2faf98=this['_handlerCallback'])!=null&&_0x2faf98['onTransformRemoteChangesetByStateCache']))throw new Error(_0x59ece7(0x176));return(_0x13849f=(_0x19dc46=this[_0x59ece7(0x423)])==null?void 0x0:_0x19dc46['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x13849f['call'](_0x19dc46,_0x1aefc8);},_0x57da80;}async[_0x4bf5f3(0x279)](){var _0x426edb=_0x4bf5f3;const _0x1766b5=await super[_0x426edb(0x279)]();return this[_0x426edb(0x40e)](this['_commandService'][_0x426edb(0x146)]((_0x354b89,_0x7b5712)=>{var _0x2d87d5=_0x426edb;if(_0x354b89[_0x2d87d5(0x2c3)]!==_0x4a5cee[_0x2d87d5(0x2dd)]||_0x7b5712!=null&&_0x7b5712['fromCollab']||_0x7b5712!=null&&_0x7b5712[_0x2d87d5(0x26d)]||_0x354b89['id']===_0x1877b5['id'])return;const _0x5c42d1=_0x354b89[_0x2d87d5(0x184)];if((_0x5c42d1==null?void 0x0:_0x5c42d1[_0x2d87d5(0x18c)])!==this['unitID'])return;const _0x1cdc61=_0x354b89,_0x5194ee=this[_0x2d87d5(0x18f)][_0x2d87d5(0x235)][_0x2d87d5(0x258)](this['_compressMutationService'][_0x2d87d5(0x235)][_0x2d87d5(0x253)]()['COMPRESS_MUTATION_SEND'])([_0x1cdc61],null)||[_0x1cdc61];this[_0x2d87d5(0x24c)](_0x5194ee[0x0]);})),_0x1766b5;}};It=Lt([H(0x3,_0x34c223(_0x4bf894)),H(0x4,_0x34c223(_0x543b4e)),H(0x5,_0x34c223(_0x27fab3)),H(0x6,_0x34c223(_0x3dfaaa)),H(0x7,_0x34c223(pe)),H(0x8,_0x15891c),H(0x9,_0x2fcd18),H(0xa,_0x5c3493),H(0xb,_0x4af427(ht)),H(0xc,_0x4af427(J))],It);let Tt=class extends nt{constructor(_0xa43ee6,_0x24b223,_0x16f58f,_0x4a2369,_0x559ea7,_0xe37825,_0x2467ba,_0x497083,_0x9e7fb2,_0x3c5aed,_0x4a8e8f,_0x5194f4,_0x53d2b9,_0x4a428c){var _0x4cc668=_0x4bf5f3;super(_0xa43ee6,_0x16f58f,_0x24b223,_0x4a2369,_0x559ea7,_0xe37825,_0x2467ba,_0x9e7fb2,_0x3c5aed,_0x4a8e8f,_0x5194f4,_0x53d2b9,_0x4a428c),this[_0x4cc668(0x1ca)]=_0xa43ee6,this['type']=_0x24b223,this[_0x4cc668(0x19b)]=_0x497083;}[_0x4bf5f3(0x396)](){var _0x2eaf99=_0x4bf5f3;const _0x5e8d77=super[_0x2eaf99(0x396)]();return _0x5e8d77[_0x2eaf99(0x29a)]=_0x167a8f=>this[_0x2eaf99(0x19b)]['transformSelections'](_0x167a8f),_0x5e8d77;}async['_init'](){var _0x5f3ade=_0x4bf5f3;const _0x193ad5=await super[_0x5f3ade(0x279)]();return this['disposeWithMe'](this[_0x5f3ade(0x430)][_0x5f3ade(0x146)]((_0x377190,_0x1fe2b1)=>{var _0x93b9ed=_0x5f3ade;if(_0x377190['type']!==_0x4a5cee[_0x93b9ed(0x2dd)]||_0x1fe2b1!=null&&_0x1fe2b1[_0x93b9ed(0x15f)]||_0x1fe2b1!=null&&_0x1fe2b1['onlyLocal'])return;const _0x5b88a5=_0x377190[_0x93b9ed(0x184)];if((_0x5b88a5==null?void 0x0:_0x5b88a5[_0x93b9ed(0x18c)])!==this[_0x93b9ed(0x1ca)])return;const _0x3dda1e=_0x377190,_0x7ff1f6=this[_0x93b9ed(0x18f)][_0x93b9ed(0x235)][_0x93b9ed(0x258)](this[_0x93b9ed(0x18f)]['interceptor'][_0x93b9ed(0x253)]()[_0x93b9ed(0x301)])([_0x3dda1e],null)||[_0x3dda1e];this[_0x93b9ed(0x24c)](_0x7ff1f6[0x0]);})),_0x193ad5;}};Tt=Lt([H(0x3,_0x34c223(_0x4bf894)),H(0x4,_0x34c223(_0x543b4e)),H(0x5,_0x34c223(_0x27fab3)),H(0x6,_0x34c223(_0x3dfaaa)),H(0x7,_0x34c223(it)),H(0x8,_0x34c223(pe)),H(0x9,_0x15891c),H(0xa,_0x2fcd18),H(0xb,_0x5c3493),H(0xc,_0x4af427(ht)),H(0xd,_0x4af427(J))],Tt);var os=Object[_0x4bf5f3(0x1f9)],cs=(_0x4df605,_0x3c3be9,_0x567698,_0x46098a)=>{var _0x11ab2e=_0x4bf5f3;for(var _0xa9ec90=_0x46098a>0x1?void 0x0:_0x46098a?os(_0x3c3be9,_0x567698):_0x3c3be9,_0xc56c19=_0x4df605[_0x11ab2e(0x1ce)]-0x1,_0x35e3da;_0xc56c19>=0x0;_0xc56c19--)(_0x35e3da=_0x4df605[_0xc56c19])&&(_0xa9ec90=_0x35e3da(_0xa9ec90)||_0xa9ec90);return _0xa9ec90;},ft=(_0x5260a4,_0x2fc6c8)=>(_0x39c42e,_0xd9f402)=>_0x2fc6c8(_0x39c42e,_0xd9f402,_0x5260a4);let st=class extends _0x358cae{constructor(_0x5af9be,_0x27f678,_0x4c151c){var _0x2da076=_0x4bf5f3;super(),N(this,_0x2da076(0x3f1),new Map()),N(this,'_entityInit$',new _0x59dfe1()),N(this,'entityInit$',this[_0x2da076(0x2c5)][_0x2da076(0x2b5)]()),(this['_injector']=_0x5af9be,this[_0x2da076(0x267)]=_0x27f678,this['_univerInstanceService']=_0x4c151c,this[_0x2da076(0x279)]());}[_0x4bf5f3(0x227)](){var _0x59e422=_0x4bf5f3;super[_0x59e422(0x227)](),this[_0x59e422(0x3f1)][_0x59e422(0x266)](_0x25a473=>_0x25a473[_0x59e422(0x227)]()),this[_0x59e422(0x3f1)][_0x59e422(0x2f9)]();}[_0x4bf5f3(0x2b2)](_0x400687){var _0x3ef6ba=_0x4bf5f3,_0x37ae40;return(_0x37ae40=this[_0x3ef6ba(0x3f1)][_0x3ef6ba(0x284)](_0x400687))!=null?_0x37ae40:null;}[_0x4bf5f3(0x140)](_0x10f20c){var _0x380cbb=_0x4bf5f3;const _0xac2526=this[_0x380cbb(0x2b2)](_0x10f20c);return _0xac2526?_0x38b3d7(_0xac2526):this[_0x380cbb(0x2c5)][_0x380cbb(0x334)](_0x5622b8(_0x3fdac1=>_0x3fdac1[_0x380cbb(0x1ca)]===_0x10f20c));}[_0x4bf5f3(0x39b)](_0x528486){var _0x36f6d5=_0x4bf5f3;return _0x3cff11(this[_0x36f6d5(0x140)](_0x528486)[_0x36f6d5(0x334)](_0x4cb1f4(()=>{})));}[_0x4bf5f3(0x279)](){var _0x461a88=_0x4bf5f3;this[_0x461a88(0x155)][_0x461a88(0x1ba)](_0x4c2c15[_0x461a88(0x1e7)])[_0x461a88(0x334)](_0x40fcdc(this[_0x461a88(0x216)]),_0x20f6eb(0x10))[_0x461a88(0x268)](async _0x446fd9=>{var _0x2e9a6b=_0x461a88;const _0x3f0460=_0x446fd9[_0x2e9a6b(0x42c)](),_0x2ef589=await this[_0x2e9a6b(0x34f)](_0x3f0460,Q[_0x2e9a6b(0x1e7)]);this['_entities']['set'](_0x3f0460,_0x2ef589);}),this[_0x461a88(0x155)][_0x461a88(0x1ba)](_0x4c2c15[_0x461a88(0x1dc)])[_0x461a88(0x334)](_0x40fcdc(this[_0x461a88(0x216)]),_0x20f6eb(0x10))[_0x461a88(0x334)](_0x5622b8(_0x52be37=>!_0x52be37[_0x461a88(0x42c)]()[_0x461a88(0x203)]('__')))[_0x461a88(0x268)](async _0x497e5e=>{var _0x264092=_0x461a88;const _0x565e42=_0x497e5e[_0x264092(0x42c)](),_0x401ff3=await this['_startCollaboration'](_0x565e42,Q[_0x264092(0x1dc)]);this['_entities'][_0x264092(0x393)](_0x565e42,_0x401ff3);}),_0xee77e5(this[_0x461a88(0x155)][_0x461a88(0x39a)](_0x4c2c15[_0x461a88(0x1e7)]),this[_0x461a88(0x155)][_0x461a88(0x39a)](_0x4c2c15[_0x461a88(0x1dc)]))[_0x461a88(0x334)](_0x40fcdc(this['dispose$']))[_0x461a88(0x268)](_0x120892=>{var _0x4dc7ea=_0x461a88;const _0x58fd41=_0x120892[_0x4dc7ea(0x42c)](),_0x47021b=this[_0x4dc7ea(0x3f1)][_0x4dc7ea(0x284)](_0x58fd41);_0x47021b&&(_0x47021b['dispose'](),this[_0x4dc7ea(0x3f1)][_0x4dc7ea(0x404)](_0x58fd41));});}async[_0x4bf5f3(0x34f)](_0x3cab6f,_0x2808ea){var _0x209239=_0x4bf5f3;const _0x3ea1fe=await this[_0x209239(0x267)][_0x209239(0x424)](_0x3cab6f),_0x94b11a=this[_0x209239(0x2ae)][_0x209239(0x1d4)](this['_getCtorByUniverType'](_0x2808ea),_0x3cab6f,_0x2808ea,_0x3ea1fe);return await _0x94b11a[_0x209239(0x358)](),this['_entityInit$'][_0x209239(0x2a4)](_0x94b11a),_0x94b11a;}[_0x4bf5f3(0x28d)](_0x426589){var _0x444ebd=_0x4bf5f3;switch(_0x426589){case Q[_0x444ebd(0x1dc)]:return It;case Q[_0x444ebd(0x1e7)]:return Tt;default:throw new Error(_0x444ebd(0x234)+_0x426589);}}};st=cs([ft(0x0,_0x34c223(_0x4bf894)),ft(0x1,_0x34c223(Me)),ft(0x2,_0x224a4c)],st);var hs=Object[_0x4bf5f3(0x1f9)],_s=(_0x4f55f5,_0xccce26,_0x5962db,_0x591bdc)=>{var _0x434b3d=_0x4bf5f3;for(var _0x41ba9d=_0x591bdc>0x1?void 0x0:_0x591bdc?hs(_0xccce26,_0x5962db):_0xccce26,_0x70e93=_0x4f55f5[_0x434b3d(0x1ce)]-0x1,_0xb7c5f;_0x70e93>=0x0;_0x70e93--)(_0xb7c5f=_0x4f55f5[_0x70e93])&&(_0x41ba9d=_0xb7c5f(_0x41ba9d)||_0x41ba9d);return _0x41ba9d;},zt=(_0xae1354,_0xb9c652)=>(_0x40a588,_0x5237b6)=>_0xb9c652(_0x40a588,_0x5237b6,_0xae1354);const ls='DEFAULT_FILE_NAME',us=_0x4bf5f3(0x3d5);let Ct=class extends _0x323681{constructor(_0x1b3295,_0x3c9ba6){var _0xd1ec2f=_0x4bf5f3;super(),this[_0xd1ec2f(0x155)]=_0x1b3295,this[_0xd1ec2f(0x33b)]=_0x3c9ba6,this[_0xd1ec2f(0x279)]();}[_0x4bf5f3(0x279)](){var _0x18bd14=_0x4bf5f3;this[_0x18bd14(0x40e)](this[_0x18bd14(0x155)][_0x18bd14(0x1ee)][_0x18bd14(0x268)](()=>{var _0x28bde7=_0x18bd14,_0x218b26;const _0x4027d2=this[_0x28bde7(0x155)][_0x28bde7(0x190)]();let _0x3d5f35=(_0x218b26=this[_0x28bde7(0x33b)][_0x28bde7(0x243)](ls))!=null?_0x218b26:us;_0x4027d2 instanceof _0xf1c1f5&&(_0x3d5f35=_0x4027d2[_0x28bde7(0x332)]),document[_0x28bde7(0x3d3)]=_0x3d5f35;}));}};Ct=_s([zt(0x0,_0x224a4c),zt(0x1,_0x40de2c)],Ct);var ds=Object[_0x4bf5f3(0x1f9)],fs=(_0x2fc2f4,_0x281b94,_0x4bb165,_0x3d14f1)=>{var _0x249d93=_0x4bf5f3;for(var _0x40ea2f=_0x3d14f1>0x1?void 0x0:_0x3d14f1?ds(_0x281b94,_0x4bb165):_0x281b94,_0x195a94=_0x2fc2f4[_0x249d93(0x1ce)]-0x1,_0x10df22;_0x195a94>=0x0;_0x195a94--)(_0x10df22=_0x2fc2f4[_0x195a94])&&(_0x40ea2f=_0x10df22(_0x40ea2f)||_0x40ea2f);return _0x40ea2f;},vt=(_0x5057d8,_0x1c221c)=>(_0x114b11,_0x4b6fba)=>_0x1c221c(_0x114b11,_0x4b6fba,_0x5057d8);let rt=class{constructor(_0x1a338a,_0x2f7d8c,_0x291e5f){var _0x1e5bb2=_0x4bf5f3;this[_0x1e5bb2(0x33b)]=_0x1a338a,this[_0x1e5bb2(0x3e9)]=_0x2f7d8c,this[_0x1e5bb2(0x136)]=_0x291e5f,this['init']();}[_0x4bf5f3(0x358)](){var _0x30427b=_0x4bf5f3;this[_0x30427b(0x3e9)][_0x30427b(0x1e2)]({'priority':0x1,'interceptor':(_0x2e5651,_0x24ffd3)=>_0x24ffd3(_0x2e5651)['pipe'](_0xd686b(async _0x2efbe2=>{var _0x50bbdf=_0x30427b;const _0x3daa53=_0x2efbe2;if(_0x3daa53[_0x50bbdf(0x3cb)]===0x191){if(typeof window>'u')throw new Error(_0x50bbdf(0x31b));if(window[_0x50bbdf(0x36b)](this[_0x50bbdf(0x136)]['t'](_0x50bbdf(0x22a)))){const _0x2dc99b=window[_0x50bbdf(0x395)](window[_0x50bbdf(0x41d)][_0x50bbdf(0x3f5)]);window[_0x50bbdf(0x41d)][_0x50bbdf(0x3f5)]=this[_0x50bbdf(0x2bd)]()+_0x50bbdf(0x3d0)+_0x2dc99b;}}return _0x3daa53;}))});}[_0x4bf5f3(0x2bd)](){var _0x7deafb=_0x4bf5f3,_0x5a1745,_0x5843a0;const _0x272e48=this[_0x7deafb(0x33b)][_0x7deafb(0x243)](Un),_0x15a9e1=this[_0x7deafb(0x33b)][_0x7deafb(0x243)](q);return(_0x5843a0=(_0x5a1745=_0x15a9e1==null?void 0x0:_0x15a9e1[_0x7deafb(0x2aa)])!=null?_0x5a1745:_0x272e48)!=null?_0x5843a0:An;}};rt=fs([vt(0x0,_0x40de2c),vt(0x1,_0x34c223(_0xdae5b)),vt(0x2,_0x34c223(_0x27fab3))],rt);var vs=Object['getOwnPropertyDescriptor'],ps=(_0x2a3e02,_0x5a0796,_0x43f2bf,_0x3232e2)=>{var _0x1a61ed=_0x4bf5f3;for(var _0x57e92e=_0x3232e2>0x1?void 0x0:_0x3232e2?vs(_0x5a0796,_0x43f2bf):_0x5a0796,_0x19c82a=_0x2a3e02[_0x1a61ed(0x1ce)]-0x1,_0x2d5080;_0x19c82a>=0x0;_0x19c82a--)(_0x2d5080=_0x2a3e02[_0x19c82a])&&(_0x57e92e=_0x2d5080(_0x57e92e)||_0x57e92e);return _0x57e92e;},Jt=(_0xe378b8,_0xee9ebe)=>(_0x3b0191,_0x40f2ed)=>_0xee9ebe(_0x3b0191,_0x40f2ed,_0xe378b8);const Ni='AUTHZ_URL_KEY',ms=_0x4bf5f3(0x299);let Rt=class extends _0x323681{constructor(_0x38247f,_0x213d87){var _0x2ec5c7=_0x4bf5f3;super(),this['_HTTPService']=_0x38247f,this[_0x2ec5c7(0x33b)]=_0x213d87,this[_0x2ec5c7(0x16a)]();}[_0x4bf5f3(0x16a)](){var _0x229b9f=_0x4bf5f3;const _0x1064c0=this;this[_0x229b9f(0x40e)](this[_0x229b9f(0x364)][_0x229b9f(0x1e2)]({'priority':0x3e7,'interceptor':_0x3fa212({'isMatch'(_0x2e3ffc){var _0x322c4e=_0x229b9f,_0x26ac2;if(_0x2e3ffc['method']===_0x322c4e(0x31a)&&((_0x26ac2=_0x2e3ffc['requestParams'])!=null&&_0x26ac2[_0x322c4e(0x257)])){const {objectID:_0x2ccd29,objectType:_0x263caf}=_0x2e3ffc['requestParams']['body']||{};if(!_0x2ccd29||_0x263caf===void 0x0)return!0x1;const _0x905db5=_0x1064c0[_0x322c4e(0x316)]()+'/'+_0x263caf+_0x322c4e(0x37e)+_0x2ccd29+_0x322c4e(0x342);if(_0x2e3ffc[_0x322c4e(0x196)]===_0x905db5)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x39ef44){var _0x56b513=_0x229b9f,_0x135eb2;return(_0x135eb2=_0x39ef44['requestParams'])==null?void 0x0:_0x135eb2[_0x56b513(0x257)];},'mergeParamsToRequest'(_0x5bb247,_0x592f78){var _0x29fd08=_0x229b9f;const _0x28f446=_0x1064c0[_0x29fd08(0x316)]()+_0x29fd08(0x3db),_0x11d325=_0x5bb247[_0x29fd08(0x356)]((_0xcec146,_0x29cfec)=>{var _0x56dc11=_0x29fd08;const {unitID:_0x556833,objectID:_0xc69ec4,objectType:_0x27b438,actions:_0x1a16e}=_0x29cfec;return _0xcec146[_0x556833]||(_0xcec146[_0x556833]={}),_0xcec146[_0x556833][_0xc69ec4]||(_0xcec146[_0x556833][_0xc69ec4]={'objectID':_0xc69ec4,'objectType':_0x27b438,'actions':[]}),_0xcec146[_0x556833][_0xc69ec4][_0x56dc11(0x160)]['push'](..._0x1a16e),_0xcec146;},{}),_0x8c3171=[];for(const _0x3b5b11 in _0x11d325)for(const _0x2cda62 in _0x11d325[_0x3b5b11]){const {actions:_0x5867d7,objectType:_0x3dedfa}=_0x11d325[_0x3b5b11][_0x2cda62],_0x4f008f=[...new Set(_0x5867d7)];_0x8c3171['push']({'unitID':_0x3b5b11,'objectID':_0x2cda62,'objectType':_0x3dedfa,'actions':_0x4f008f});}return new _0x3c3e28(_0x29fd08(0x31a),_0x28f446,{'headers':_0x592f78[_0x29fd08(0x353)],'withCredentials':_0x592f78[_0x29fd08(0x14a)],'responseType':_0x592f78[_0x29fd08(0x43f)],'body':{'requests':_0x8c3171}});}},{'distributeResult'(_0x51bb05,_0x809591){var _0x579003=_0x229b9f;const {objectActions:_0x32f241}=_0x51bb05;return _0x809591[_0x579003(0x28b)](_0x44f5c7=>{var _0x566924=_0x579003;const {unitID:_0x351b23,objectID:_0x1881eb,actions:_0x31c5a8}=_0x44f5c7,_0x440ab3=_0x32f241[_0x566924(0x415)](_0xa97a05=>_0xa97a05['unitID']===_0x351b23&&_0xa97a05[_0x566924(0x1ff)]===_0x1881eb),_0x528dbd=_0x31c5a8[_0x566924(0x28b)](_0x492ed6=>_0x440ab3==null?void 0x0:_0x440ab3[_0x566924(0x160)][_0x566924(0x415)](_0x54018e=>_0x54018e[_0x566924(0x3f2)]===_0x492ed6))['filter'](_0x4f2960=>!!_0x4f2960);return{'config':_0x44f5c7,'result':{'actions':_0x528dbd,'error':_0x51bb05[_0x566924(0x25d)]}};});}})}));}[_0x4bf5f3(0x316)](){var _0x1bd3ea=_0x4bf5f3,_0x412f14,_0x4c516d;const _0xcb8391=this[_0x1bd3ea(0x33b)][_0x1bd3ea(0x243)](Ni),_0x52a86f=this[_0x1bd3ea(0x33b)][_0x1bd3ea(0x243)](q);return(_0x4c516d=(_0x412f14=_0x52a86f==null?void 0x0:_0x52a86f[_0x1bd3ea(0x217)])!=null?_0x412f14:_0xcb8391)!=null?_0x4c516d:ms;}async[_0x4bf5f3(0x2f6)](_0x21728f){var _0x1771c7=_0x4bf5f3;const _0x5e1c74=this['_getAPIPrefixPath']()+'/'+_0x21728f[_0x1771c7(0x3e8)]+_0x1771c7(0x405);return(await this['_HTTPService'][_0x1771c7(0x263)](_0x5e1c74,{'body':_0x21728f}))['body'][_0x1771c7(0x1ff)]||'';}async[_0x4bf5f3(0x29d)](_0x15aa46){var _0x2ecae0=_0x4bf5f3;const _0x4f50b2=this[_0x2ecae0(0x316)]()+_0x2ecae0(0x3c0);return(await this['_HTTPService'][_0x2ecae0(0x263)](_0x4f50b2,{'body':_0x15aa46}))[_0x2ecae0(0x257)]['objects'];}async['update'](_0x2e397d){var _0x79675=_0x4bf5f3,_0x2a3244,_0x192ac2;const _0x4c35bf=this[_0x79675(0x316)]()+'/'+_0x2e397d[_0x79675(0x3e8)]+_0x79675(0x37e)+_0x2e397d[_0x79675(0x1ff)],_0x4ec5fb=await this[_0x79675(0x364)][_0x79675(0x18e)](_0x4c35bf,{'body':_0x2e397d});if(((_0x192ac2=(_0x2a3244=_0x4ec5fb==null?void 0x0:_0x4ec5fb[_0x79675(0x257)])==null?void 0x0:_0x2a3244['error'])==null?void 0x0:_0x192ac2['code'])!==0x1)throw new Error(_0x79675(0x375));}async[_0x4bf5f3(0x195)](_0x43ef1e){var _0x56eae0=_0x4bf5f3;const _0x58af5f=this[_0x56eae0(0x316)]()+'/'+_0x43ef1e[_0x56eae0(0x3e8)]+_0x56eae0(0x37e)+_0x43ef1e[_0x56eae0(0x1ff)]+_0x56eae0(0x342);return(await this[_0x56eae0(0x364)][_0x56eae0(0x263)](_0x58af5f,{'body':_0x43ef1e}))[_0x56eae0(0x257)][_0x56eae0(0x160)];}async[_0x4bf5f3(0x1bc)](_0x476c6a){var _0x2ba063=_0x4bf5f3;const _0x2026c1=this[_0x2ba063(0x316)]()+_0x2ba063(0x3db);return(await this[_0x2ba063(0x364)][_0x2ba063(0x263)](_0x2026c1,{'body':{'requests':_0x476c6a}}))['body'][_0x2ba063(0x1d0)];}async[_0x4bf5f3(0x3b3)](_0x396e0d){var _0x4a326e=_0x4bf5f3;const _0x52b7ba=this[_0x4a326e(0x316)]()+'/'+_0x396e0d[_0x4a326e(0x3e8)]+_0x4a326e(0x40d),_0xb4d423=await this[_0x4a326e(0x364)][_0x4a326e(0x263)](_0x52b7ba,{'body':_0x396e0d});return{'roles':_0xb4d423[_0x4a326e(0x257)]['roles'],'actions':_0xb4d423[_0x4a326e(0x257)]['actions']};}async[_0x4bf5f3(0x1ad)](_0x7e8a1c){var _0xb435d6=_0x4bf5f3;const _0x5674c5=this[_0xb435d6(0x316)]()+_0xb435d6(0x289);await this[_0xb435d6(0x364)][_0xb435d6(0x404)](_0x5674c5,{'params':{'collaboratorID':_0x7e8a1c['collaboratorID'],'objectID':_0x7e8a1c[_0xb435d6(0x1ff)],'unitID':_0x7e8a1c[_0xb435d6(0x1ca)]}});}async['updateCollaborator'](_0x321597){var _0x25fb4e=_0x4bf5f3;const _0x3ae1fd=this['_getAPIPrefixPath']()+_0x25fb4e(0x289);await this[_0x25fb4e(0x364)][_0x25fb4e(0x138)](_0x3ae1fd,{'body':_0x321597});}async[_0x4bf5f3(0x154)](_0x4eb6de){var _0x2e64f8=_0x4bf5f3;const _0x9cc35b=this['_getAPIPrefixPath']()+_0x2e64f8(0x289);await this[_0x2e64f8(0x364)][_0x2e64f8(0x263)](_0x9cc35b,{'body':_0x4eb6de});}async['listCollaborators'](_0x19b031){var _0x5168f8=_0x4bf5f3;const _0x3c6766=this['_getAPIPrefixPath']()+_0x5168f8(0x289);return(await this[_0x5168f8(0x364)][_0x5168f8(0x284)](_0x3c6766,{'params':{'objectID':_0x19b031[_0x5168f8(0x1ff)],'unitID':_0x19b031[_0x5168f8(0x1ca)]}}))[_0x5168f8(0x257)][_0x5168f8(0x366)];}async[_0x4bf5f3(0x3ce)](_0x5db7ff){var _0x37b2d9=_0x4bf5f3;const _0x2b12b1=this[_0x37b2d9(0x316)]()+_0x37b2d9(0x289);await this[_0x37b2d9(0x364)][_0x37b2d9(0x18e)](_0x2b12b1,{'body':_0x5db7ff});}};Rt=ps([Jt(0x0,_0x34c223(_0xdae5b)),Jt(0x1,_0x34c223(_0x40de2c))],Rt);var pt=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function He(_0x104b6f){var _0x21f72d=_0x4bf5f3;return _0x104b6f&&_0x104b6f[_0x21f72d(0x2e7)]&&Object[_0x21f72d(0x2b7)][_0x21f72d(0x298)][_0x21f72d(0x150)](_0x104b6f,'default')?_0x104b6f[_0x21f72d(0x412)]:_0x104b6f;}var Ve={'exports':{}};function gs(_0x4f42a5){var _0x14bf36=_0x4bf5f3;throw new Error(_0x14bf36(0x3ab)+_0x4f42a5+_0x14bf36(0x413));}var Ge={'exports':{}},Ss=Ge[_0x4bf5f3(0x28a)],Xt;function ie(){return Xt||(Xt=0x1,function(_0x21dbce,_0x153f76){(function(_0x2f0c4d,_0xa4b6fa){var _0x887fe2=_0x4b93;_0x21dbce[_0x887fe2(0x28a)]=_0xa4b6fa();}(Ss,function(){var _0x15c85f=_0x15c85f||function(_0xfc2bad,_0x2d9677){var _0x1f26ab=_0x4b93,_0xd6bbcd;if(typeof window<'u'&&window[_0x1f26ab(0x401)]&&(_0xd6bbcd=window[_0x1f26ab(0x401)]),typeof self<'u'&&self[_0x1f26ab(0x401)]&&(_0xd6bbcd=self[_0x1f26ab(0x401)]),typeof globalThis<'u'&&globalThis[_0x1f26ab(0x401)]&&(_0xd6bbcd=globalThis[_0x1f26ab(0x401)]),!_0xd6bbcd&&typeof window<'u'&&window[_0x1f26ab(0x30d)]&&(_0xd6bbcd=window[_0x1f26ab(0x30d)]),!_0xd6bbcd&&typeof pt<'u'&&pt[_0x1f26ab(0x401)]&&(_0xd6bbcd=pt[_0x1f26ab(0x401)]),!_0xd6bbcd&&typeof gs=='function')try{_0xd6bbcd=require(_0x1f26ab(0x401));}catch{}var _0x519764=function(){var _0xa4d414=_0x1f26ab;if(_0xd6bbcd){if(typeof _0xd6bbcd[_0xa4d414(0x2b4)]==_0xa4d414(0x1cf))try{return _0xd6bbcd[_0xa4d414(0x2b4)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0xd6bbcd[_0xa4d414(0x39d)]==_0xa4d414(0x1cf))try{return _0xd6bbcd[_0xa4d414(0x39d)](0x4)['readInt32LE']();}catch{}}throw new Error(_0xa4d414(0x1e4));},_0x441eb5=Object[_0x1f26ab(0x2f6)]||(function(){function _0x4e7724(){}return function(_0x2e271c){var _0x5641e6=_0x4b93,_0x59f753;return _0x4e7724[_0x5641e6(0x2b7)]=_0x2e271c,_0x59f753=new _0x4e7724(),_0x4e7724[_0x5641e6(0x2b7)]=null,_0x59f753;};}()),_0xbe7abd={},_0x5862b9=_0xbe7abd[_0x1f26ab(0x3b0)]={},_0x171408=_0x5862b9[_0x1f26ab(0x2eb)]=(function(){return{'extend':function(_0x34b0da){var _0x8c41de=_0x4b93,_0x4758cb=_0x441eb5(this);return _0x34b0da&&_0x4758cb[_0x8c41de(0x43c)](_0x34b0da),(!_0x4758cb['hasOwnProperty']('init')||this[_0x8c41de(0x358)]===_0x4758cb['init'])&&(_0x4758cb['init']=function(){var _0x28163e=_0x8c41de;_0x4758cb[_0x28163e(0x35a)][_0x28163e(0x358)][_0x28163e(0x22f)](this,arguments);}),_0x4758cb[_0x8c41de(0x358)][_0x8c41de(0x2b7)]=_0x4758cb,_0x4758cb[_0x8c41de(0x35a)]=this,_0x4758cb;},'create':function(){var _0x4362ed=_0x4b93,_0xa53e4d=this[_0x4362ed(0x39f)]();return _0xa53e4d[_0x4362ed(0x358)][_0x4362ed(0x22f)](_0xa53e4d,arguments),_0xa53e4d;},'init':function(){},'mixIn':function(_0x3234fa){var _0x5ca400=_0x4b93;for(var _0x232438 in _0x3234fa)_0x3234fa[_0x5ca400(0x298)](_0x232438)&&(this[_0x232438]=_0x3234fa[_0x232438]);_0x3234fa['hasOwnProperty'](_0x5ca400(0x2c2))&&(this[_0x5ca400(0x2c2)]=_0x3234fa['toString']);},'clone':function(){var _0x22e50c=_0x4b93;return this[_0x22e50c(0x358)]['prototype'][_0x22e50c(0x39f)](this);}};}()),_0x3343ab=_0x5862b9[_0x1f26ab(0x3e0)]=_0x171408[_0x1f26ab(0x39f)]({'init':function(_0x38c420,_0x159771){var _0x4084ca=_0x1f26ab;_0x38c420=this[_0x4084ca(0x1c5)]=_0x38c420||[],_0x159771!=_0x2d9677?this['sigBytes']=_0x159771:this[_0x4084ca(0x144)]=_0x38c420[_0x4084ca(0x1ce)]*0x4;},'toString':function(_0x508c9f){var _0x3a0725=_0x1f26ab;return(_0x508c9f||_0x153a93)[_0x3a0725(0x2ff)](this);},'concat':function(_0x18508a){var _0x45c0e8=_0x1f26ab,_0x17bf43=this[_0x45c0e8(0x1c5)],_0x36cb13=_0x18508a['words'],_0xd0f6c5=this[_0x45c0e8(0x144)],_0x423294=_0x18508a[_0x45c0e8(0x144)];if(this[_0x45c0e8(0x17e)](),_0xd0f6c5%0x4)for(var _0x44f12e=0x0;_0x44f12e<_0x423294;_0x44f12e++){var _0x5a331c=_0x36cb13[_0x44f12e>>>0x2]>>>0x18-_0x44f12e%0x4*0x8&0xff;_0x17bf43[_0xd0f6c5+_0x44f12e>>>0x2]|=_0x5a331c<<0x18-(_0xd0f6c5+_0x44f12e)%0x4*0x8;}else{for(var _0x12271b=0x0;_0x12271b<_0x423294;_0x12271b+=0x4)_0x17bf43[_0xd0f6c5+_0x12271b>>>0x2]=_0x36cb13[_0x12271b>>>0x2];}return this[_0x45c0e8(0x144)]+=_0x423294,this;},'clamp':function(){var _0x5e1944=_0x1f26ab,_0x2afa4e=this[_0x5e1944(0x1c5)],_0x7622dc=this[_0x5e1944(0x144)];_0x2afa4e[_0x7622dc>>>0x2]&=0xffffffff<<0x20-_0x7622dc%0x4*0x8,_0x2afa4e[_0x5e1944(0x1ce)]=_0xfc2bad['ceil'](_0x7622dc/0x4);},'clone':function(){var _0x39f6a4=_0x1f26ab,_0x27e25f=_0x171408[_0x39f6a4(0x341)][_0x39f6a4(0x150)](this);return _0x27e25f['words']=this['words'][_0x39f6a4(0x2e2)](0x0),_0x27e25f;},'random':function(_0x4d5cae){for(var _0x4bd2f3=[],_0x49b3ec=0x0;_0x49b3ec<_0x4d5cae;_0x49b3ec+=0x4)_0x4bd2f3['push'](_0x519764());return new _0x3343ab['init'](_0x4bd2f3,_0x4d5cae);}}),_0xa211f5=_0xbe7abd[_0x1f26ab(0x141)]={},_0x153a93=_0xa211f5[_0x1f26ab(0x1de)]={'stringify':function(_0x4fe499){var _0x325d4c=_0x1f26ab;for(var _0x4fc18f=_0x4fe499[_0x325d4c(0x1c5)],_0xcca21b=_0x4fe499[_0x325d4c(0x144)],_0xf1c786=[],_0x3b8054=0x0;_0x3b8054<_0xcca21b;_0x3b8054++){var _0x27ffd7=_0x4fc18f[_0x3b8054>>>0x2]>>>0x18-_0x3b8054%0x4*0x8&0xff;_0xf1c786['push']((_0x27ffd7>>>0x4)['toString'](0x10)),_0xf1c786[_0x325d4c(0x369)]((_0x27ffd7&0xf)[_0x325d4c(0x2c2)](0x10));}return _0xf1c786[_0x325d4c(0x158)]('');},'parse':function(_0x1b5d53){for(var _0x250522=_0x1b5d53['length'],_0x5175bc=[],_0x53b9eb=0x0;_0x53b9eb<_0x250522;_0x53b9eb+=0x2)_0x5175bc[_0x53b9eb>>>0x3]|=parseInt(_0x1b5d53['substr'](_0x53b9eb,0x2),0x10)<<0x18-_0x53b9eb%0x8*0x4;return new _0x3343ab['init'](_0x5175bc,_0x250522/0x2);}},_0x26a095=_0xa211f5[_0x1f26ab(0x139)]={'stringify':function(_0x9ed47c){var _0x1ddb33=_0x1f26ab;for(var _0x16a5df=_0x9ed47c[_0x1ddb33(0x1c5)],_0xf1e965=_0x9ed47c[_0x1ddb33(0x144)],_0x921203=[],_0x74ceeb=0x0;_0x74ceeb<_0xf1e965;_0x74ceeb++){var _0x4cb608=_0x16a5df[_0x74ceeb>>>0x2]>>>0x18-_0x74ceeb%0x4*0x8&0xff;_0x921203[_0x1ddb33(0x369)](String[_0x1ddb33(0x2a2)](_0x4cb608));}return _0x921203['join']('');},'parse':function(_0x4640e1){var _0x13928b=_0x1f26ab;for(var _0x28aef9=_0x4640e1[_0x13928b(0x1ce)],_0x55942b=[],_0x4898fc=0x0;_0x4898fc<_0x28aef9;_0x4898fc++)_0x55942b[_0x4898fc>>>0x2]|=(_0x4640e1['charCodeAt'](_0x4898fc)&0xff)<<0x18-_0x4898fc%0x4*0x8;return new _0x3343ab[(_0x13928b(0x358))](_0x55942b,_0x28aef9);}},_0x3c47d9=_0xa211f5[_0x1f26ab(0x2df)]={'stringify':function(_0x290ad0){var _0x348c62=_0x1f26ab;try{return decodeURIComponent(escape(_0x26a095[_0x348c62(0x2ff)](_0x290ad0)));}catch{throw new Error(_0x348c62(0x3f0));}},'parse':function(_0x58d15c){var _0x5abd50=_0x1f26ab;return _0x26a095[_0x5abd50(0x35b)](unescape(encodeURIComponent(_0x58d15c)));}},_0x18aaa5=_0x5862b9[_0x1f26ab(0x35f)]=_0x171408[_0x1f26ab(0x39f)]({'reset':function(){var _0x24cb4e=_0x1f26ab;this[_0x24cb4e(0x354)]=new _0x3343ab['init'](),this[_0x24cb4e(0x278)]=0x0;},'_append':function(_0x224481){var _0x40f2fb=_0x1f26ab;typeof _0x224481=='string'&&(_0x224481=_0x3c47d9[_0x40f2fb(0x35b)](_0x224481)),this[_0x40f2fb(0x354)][_0x40f2fb(0x3a7)](_0x224481),this[_0x40f2fb(0x278)]+=_0x224481['sigBytes'];},'_process':function(_0x5f1ee9){var _0x45dfd7=_0x1f26ab,_0x820aaa,_0x4ded65=this[_0x45dfd7(0x354)],_0x4f93b4=_0x4ded65[_0x45dfd7(0x1c5)],_0xd39099=_0x4ded65[_0x45dfd7(0x144)],_0x4878c1=this[_0x45dfd7(0x384)],_0x47c630=_0x4878c1*0x4,_0x215668=_0xd39099/_0x47c630;_0x5f1ee9?_0x215668=_0xfc2bad['ceil'](_0x215668):_0x215668=_0xfc2bad['max']((_0x215668|0x0)-this[_0x45dfd7(0x2ad)],0x0);var _0x795b8d=_0x215668*_0x4878c1,_0x1b0a64=_0xfc2bad[_0x45dfd7(0x300)](_0x795b8d*0x4,_0xd39099);if(_0x795b8d){for(var _0x578666=0x0;_0x578666<_0x795b8d;_0x578666+=_0x4878c1)this['_doProcessBlock'](_0x4f93b4,_0x578666);_0x820aaa=_0x4f93b4[_0x45dfd7(0x19a)](0x0,_0x795b8d),_0x4ded65['sigBytes']-=_0x1b0a64;}return new _0x3343ab[(_0x45dfd7(0x358))](_0x820aaa,_0x1b0a64);},'clone':function(){var _0x4898b7=_0x1f26ab,_0x4fc8bd=_0x171408[_0x4898b7(0x341)][_0x4898b7(0x150)](this);return _0x4fc8bd[_0x4898b7(0x354)]=this[_0x4898b7(0x354)][_0x4898b7(0x341)](),_0x4fc8bd;},'_minBufferSize':0x0});_0x5862b9['Hasher']=_0x18aaa5[_0x1f26ab(0x39f)]({'cfg':_0x171408[_0x1f26ab(0x39f)](),'init':function(_0x2bf25c){var _0x39d6db=_0x1f26ab;this['cfg']=this[_0x39d6db(0x21d)][_0x39d6db(0x39f)](_0x2bf25c),this['reset']();},'reset':function(){var _0x7a54b2=_0x1f26ab;_0x18aaa5[_0x7a54b2(0x331)][_0x7a54b2(0x150)](this),this[_0x7a54b2(0x345)]();},'update':function(_0x58c8e5){var _0x47e089=_0x1f26ab;return this[_0x47e089(0x1f4)](_0x58c8e5),this[_0x47e089(0x2e4)](),this;},'finalize':function(_0x4eb8d3){var _0x1aa725=_0x1f26ab;_0x4eb8d3&&this[_0x1aa725(0x1f4)](_0x4eb8d3);var _0x5698ed=this[_0x1aa725(0x40a)]();return _0x5698ed;},'blockSize':0x10,'_createHelper':function(_0x243f6b){return function(_0x215c1e,_0x3aa098){var _0x30058a=_0x4b93;return new _0x243f6b[(_0x30058a(0x358))](_0x3aa098)[_0x30058a(0x42a)](_0x215c1e);};},'_createHmacHelper':function(_0x3b7021){return function(_0x4e5740,_0x33ae1b){var _0x1c0698=_0x4b93;return new _0x24c5c1['HMAC'][(_0x1c0698(0x358))](_0x3b7021,_0x33ae1b)[_0x1c0698(0x42a)](_0x4e5740);};}});var _0x24c5c1=_0xbe7abd['algo']={};return _0xbe7abd;}(Math);return _0x15c85f;}));}(Ge)),Ge['exports'];}var We={'exports':{}},Es=We[_0x4bf5f3(0x28a)],Zt;function Di(){var _0x3d1cce=_0x4bf5f3;return Zt||(Zt=0x1,function(_0x51d8bc,_0x4ea914){(function(_0x35ea2d,_0xa34e01){_0x51d8bc['exports']=_0xa34e01(ie());}(Es,function(_0x211260){var _0x4cdfeb=_0x4b93;return(function(){var _0x2852cc=_0x4b93,_0x2587b0=_0x211260,_0x46f841=_0x2587b0[_0x2852cc(0x3b0)],_0x4eb6d5=_0x46f841[_0x2852cc(0x3e0)],_0x559714=_0x2587b0['enc'];_0x559714[_0x2852cc(0x2e5)]={'stringify':function(_0x2ac703){var _0xdd7c74=_0x2852cc,_0xa7a58c=_0x2ac703[_0xdd7c74(0x1c5)],_0x4fe004=_0x2ac703[_0xdd7c74(0x144)],_0x2e212c=this[_0xdd7c74(0x1e8)];_0x2ac703['clamp']();for(var _0x79d33c=[],_0x2fe442=0x0;_0x2fe442<_0x4fe004;_0x2fe442+=0x3)for(var _0x5e398b=_0xa7a58c[_0x2fe442>>>0x2]>>>0x18-_0x2fe442%0x4*0x8&0xff,_0x58d6fb=_0xa7a58c[_0x2fe442+0x1>>>0x2]>>>0x18-(_0x2fe442+0x1)%0x4*0x8&0xff,_0x5c4aa6=_0xa7a58c[_0x2fe442+0x2>>>0x2]>>>0x18-(_0x2fe442+0x2)%0x4*0x8&0xff,_0x259b8e=_0x5e398b<<0x10|_0x58d6fb<<0x8|_0x5c4aa6,_0x11aecf=0x0;_0x11aecf<0x4&&_0x2fe442+_0x11aecf*0.75<_0x4fe004;_0x11aecf++)_0x79d33c[_0xdd7c74(0x369)](_0x2e212c['charAt'](_0x259b8e>>>0x6*(0x3-_0x11aecf)&0x3f));var _0x4cb9af=_0x2e212c[_0xdd7c74(0x374)](0x40);if(_0x4cb9af){for(;_0x79d33c['length']%0x4;)_0x79d33c[_0xdd7c74(0x369)](_0x4cb9af);}return _0x79d33c[_0xdd7c74(0x158)]('');},'parse':function(_0x5052e2){var _0x280673=_0x2852cc,_0x5380d5=_0x5052e2['length'],_0x3ada8d=this[_0x280673(0x1e8)],_0x5c462b=this[_0x280673(0x23e)];if(!_0x5c462b){_0x5c462b=this[_0x280673(0x23e)]=[];for(var _0x3ba9d3=0x0;_0x3ba9d3<_0x3ada8d[_0x280673(0x1ce)];_0x3ba9d3++)_0x5c462b[_0x3ada8d['charCodeAt'](_0x3ba9d3)]=_0x3ba9d3;}var _0x25f929=_0x3ada8d[_0x280673(0x374)](0x40);if(_0x25f929){var _0x6924a2=_0x5052e2['indexOf'](_0x25f929);_0x6924a2!==-0x1&&(_0x5380d5=_0x6924a2);}return _0x44fd0c(_0x5052e2,_0x5380d5,_0x5c462b);},'_map':'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/='};function _0x44fd0c(_0x2e4bce,_0x3b8a65,_0x38bed9){var _0x5847be=_0x2852cc;for(var _0x3ab45d=[],_0x3ea0c7=0x0,_0x12d095=0x0;_0x12d095<_0x3b8a65;_0x12d095++)if(_0x12d095%0x4){var _0x1cd338=_0x38bed9[_0x2e4bce[_0x5847be(0x218)](_0x12d095-0x1)]<<_0x12d095%0x4*0x2,_0x228730=_0x38bed9[_0x2e4bce[_0x5847be(0x218)](_0x12d095)]>>>0x6-_0x12d095%0x4*0x2,_0x38e75c=_0x1cd338|_0x228730;_0x3ab45d[_0x3ea0c7>>>0x2]|=_0x38e75c<<0x18-_0x3ea0c7%0x4*0x8,_0x3ea0c7++;}return _0x4eb6d5[_0x5847be(0x2f6)](_0x3ab45d,_0x3ea0c7);}}()),_0x211260['enc'][_0x4cdfeb(0x2e5)];}));}(We)),We[_0x3d1cce(0x28a)];}var Ye={'exports':{}},Is=Ye['exports'],Qt;function Ts(){var _0x1f28a=_0x4bf5f3;return Qt||(Qt=0x1,function(_0x19be01,_0x9f621){(function(_0x1ee7a1,_0x142b04){var _0x2b9e27=_0x4b93;_0x19be01[_0x2b9e27(0x28a)]=_0x142b04(ie());}(Is,function(_0x3b93e0){var _0x4c378e=_0x4b93;return function(_0x412ba8){var _0x25cce8=_0x4b93,_0x531f3f=_0x3b93e0,_0x1c6393=_0x531f3f['lib'],_0x46d376=_0x1c6393[_0x25cce8(0x3e0)],_0x357ea0=_0x1c6393[_0x25cce8(0x3c8)],_0x1b69b0=_0x531f3f[_0x25cce8(0x41b)],_0x3f14af=[];(function(){for(var _0xb0f200=0x0;_0xb0f200<0x40;_0xb0f200++)_0x3f14af[_0xb0f200]=_0x412ba8['abs'](_0x412ba8['sin'](_0xb0f200+0x1))*0x100000000|0x0;}());var _0x3704d2=_0x1b69b0['MD5']=_0x357ea0[_0x25cce8(0x39f)]({'_doReset':function(){var _0x4c5214=_0x25cce8;this[_0x4c5214(0x3b7)]=new _0x46d376[(_0x4c5214(0x358))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x26e9b7,_0x4c483a){var _0x118dee=_0x25cce8;for(var _0x3c7d19=0x0;_0x3c7d19<0x10;_0x3c7d19++){var _0x227ba6=_0x4c483a+_0x3c7d19,_0x101c2a=_0x26e9b7[_0x227ba6];_0x26e9b7[_0x227ba6]=(_0x101c2a<<0x8|_0x101c2a>>>0x18)&0xff00ff|(_0x101c2a<<0x18|_0x101c2a>>>0x8)&0xff00ff00;}var _0x1f82bc=this['_hash'][_0x118dee(0x1c5)],_0x2c2357=_0x26e9b7[_0x4c483a+0x0],_0x426a1e=_0x26e9b7[_0x4c483a+0x1],_0x4f75f9=_0x26e9b7[_0x4c483a+0x2],_0x48f853=_0x26e9b7[_0x4c483a+0x3],_0x4dc6ab=_0x26e9b7[_0x4c483a+0x4],_0x19e302=_0x26e9b7[_0x4c483a+0x5],_0x17f6cd=_0x26e9b7[_0x4c483a+0x6],_0x4a9074=_0x26e9b7[_0x4c483a+0x7],_0x42abed=_0x26e9b7[_0x4c483a+0x8],_0xfd26cd=_0x26e9b7[_0x4c483a+0x9],_0x1e68e3=_0x26e9b7[_0x4c483a+0xa],_0x547174=_0x26e9b7[_0x4c483a+0xb],_0xb9003c=_0x26e9b7[_0x4c483a+0xc],_0x39f74d=_0x26e9b7[_0x4c483a+0xd],_0x2f621f=_0x26e9b7[_0x4c483a+0xe],_0xfe29f4=_0x26e9b7[_0x4c483a+0xf],_0x27ac4a=_0x1f82bc[0x0],_0xcc7ea6=_0x1f82bc[0x1],_0x8f4885=_0x1f82bc[0x2],_0x278775=_0x1f82bc[0x3];_0x27ac4a=_0x23a3aa(_0x27ac4a,_0xcc7ea6,_0x8f4885,_0x278775,_0x2c2357,0x7,_0x3f14af[0x0]),_0x278775=_0x23a3aa(_0x278775,_0x27ac4a,_0xcc7ea6,_0x8f4885,_0x426a1e,0xc,_0x3f14af[0x1]),_0x8f4885=_0x23a3aa(_0x8f4885,_0x278775,_0x27ac4a,_0xcc7ea6,_0x4f75f9,0x11,_0x3f14af[0x2]),_0xcc7ea6=_0x23a3aa(_0xcc7ea6,_0x8f4885,_0x278775,_0x27ac4a,_0x48f853,0x16,_0x3f14af[0x3]),_0x27ac4a=_0x23a3aa(_0x27ac4a,_0xcc7ea6,_0x8f4885,_0x278775,_0x4dc6ab,0x7,_0x3f14af[0x4]),_0x278775=_0x23a3aa(_0x278775,_0x27ac4a,_0xcc7ea6,_0x8f4885,_0x19e302,0xc,_0x3f14af[0x5]),_0x8f4885=_0x23a3aa(_0x8f4885,_0x278775,_0x27ac4a,_0xcc7ea6,_0x17f6cd,0x11,_0x3f14af[0x6]),_0xcc7ea6=_0x23a3aa(_0xcc7ea6,_0x8f4885,_0x278775,_0x27ac4a,_0x4a9074,0x16,_0x3f14af[0x7]),_0x27ac4a=_0x23a3aa(_0x27ac4a,_0xcc7ea6,_0x8f4885,_0x278775,_0x42abed,0x7,_0x3f14af[0x8]),_0x278775=_0x23a3aa(_0x278775,_0x27ac4a,_0xcc7ea6,_0x8f4885,_0xfd26cd,0xc,_0x3f14af[0x9]),_0x8f4885=_0x23a3aa(_0x8f4885,_0x278775,_0x27ac4a,_0xcc7ea6,_0x1e68e3,0x11,_0x3f14af[0xa]),_0xcc7ea6=_0x23a3aa(_0xcc7ea6,_0x8f4885,_0x278775,_0x27ac4a,_0x547174,0x16,_0x3f14af[0xb]),_0x27ac4a=_0x23a3aa(_0x27ac4a,_0xcc7ea6,_0x8f4885,_0x278775,_0xb9003c,0x7,_0x3f14af[0xc]),_0x278775=_0x23a3aa(_0x278775,_0x27ac4a,_0xcc7ea6,_0x8f4885,_0x39f74d,0xc,_0x3f14af[0xd]),_0x8f4885=_0x23a3aa(_0x8f4885,_0x278775,_0x27ac4a,_0xcc7ea6,_0x2f621f,0x11,_0x3f14af[0xe]),_0xcc7ea6=_0x23a3aa(_0xcc7ea6,_0x8f4885,_0x278775,_0x27ac4a,_0xfe29f4,0x16,_0x3f14af[0xf]),_0x27ac4a=_0x42dc7a(_0x27ac4a,_0xcc7ea6,_0x8f4885,_0x278775,_0x426a1e,0x5,_0x3f14af[0x10]),_0x278775=_0x42dc7a(_0x278775,_0x27ac4a,_0xcc7ea6,_0x8f4885,_0x17f6cd,0x9,_0x3f14af[0x11]),_0x8f4885=_0x42dc7a(_0x8f4885,_0x278775,_0x27ac4a,_0xcc7ea6,_0x547174,0xe,_0x3f14af[0x12]),_0xcc7ea6=_0x42dc7a(_0xcc7ea6,_0x8f4885,_0x278775,_0x27ac4a,_0x2c2357,0x14,_0x3f14af[0x13]),_0x27ac4a=_0x42dc7a(_0x27ac4a,_0xcc7ea6,_0x8f4885,_0x278775,_0x19e302,0x5,_0x3f14af[0x14]),_0x278775=_0x42dc7a(_0x278775,_0x27ac4a,_0xcc7ea6,_0x8f4885,_0x1e68e3,0x9,_0x3f14af[0x15]),_0x8f4885=_0x42dc7a(_0x8f4885,_0x278775,_0x27ac4a,_0xcc7ea6,_0xfe29f4,0xe,_0x3f14af[0x16]),_0xcc7ea6=_0x42dc7a(_0xcc7ea6,_0x8f4885,_0x278775,_0x27ac4a,_0x4dc6ab,0x14,_0x3f14af[0x17]),_0x27ac4a=_0x42dc7a(_0x27ac4a,_0xcc7ea6,_0x8f4885,_0x278775,_0xfd26cd,0x5,_0x3f14af[0x18]),_0x278775=_0x42dc7a(_0x278775,_0x27ac4a,_0xcc7ea6,_0x8f4885,_0x2f621f,0x9,_0x3f14af[0x19]),_0x8f4885=_0x42dc7a(_0x8f4885,_0x278775,_0x27ac4a,_0xcc7ea6,_0x48f853,0xe,_0x3f14af[0x1a]),_0xcc7ea6=_0x42dc7a(_0xcc7ea6,_0x8f4885,_0x278775,_0x27ac4a,_0x42abed,0x14,_0x3f14af[0x1b]),_0x27ac4a=_0x42dc7a(_0x27ac4a,_0xcc7ea6,_0x8f4885,_0x278775,_0x39f74d,0x5,_0x3f14af[0x1c]),_0x278775=_0x42dc7a(_0x278775,_0x27ac4a,_0xcc7ea6,_0x8f4885,_0x4f75f9,0x9,_0x3f14af[0x1d]),_0x8f4885=_0x42dc7a(_0x8f4885,_0x278775,_0x27ac4a,_0xcc7ea6,_0x4a9074,0xe,_0x3f14af[0x1e]),_0xcc7ea6=_0x42dc7a(_0xcc7ea6,_0x8f4885,_0x278775,_0x27ac4a,_0xb9003c,0x14,_0x3f14af[0x1f]),_0x27ac4a=_0x246388(_0x27ac4a,_0xcc7ea6,_0x8f4885,_0x278775,_0x19e302,0x4,_0x3f14af[0x20]),_0x278775=_0x246388(_0x278775,_0x27ac4a,_0xcc7ea6,_0x8f4885,_0x42abed,0xb,_0x3f14af[0x21]),_0x8f4885=_0x246388(_0x8f4885,_0x278775,_0x27ac4a,_0xcc7ea6,_0x547174,0x10,_0x3f14af[0x22]),_0xcc7ea6=_0x246388(_0xcc7ea6,_0x8f4885,_0x278775,_0x27ac4a,_0x2f621f,0x17,_0x3f14af[0x23]),_0x27ac4a=_0x246388(_0x27ac4a,_0xcc7ea6,_0x8f4885,_0x278775,_0x426a1e,0x4,_0x3f14af[0x24]),_0x278775=_0x246388(_0x278775,_0x27ac4a,_0xcc7ea6,_0x8f4885,_0x4dc6ab,0xb,_0x3f14af[0x25]),_0x8f4885=_0x246388(_0x8f4885,_0x278775,_0x27ac4a,_0xcc7ea6,_0x4a9074,0x10,_0x3f14af[0x26]),_0xcc7ea6=_0x246388(_0xcc7ea6,_0x8f4885,_0x278775,_0x27ac4a,_0x1e68e3,0x17,_0x3f14af[0x27]),_0x27ac4a=_0x246388(_0x27ac4a,_0xcc7ea6,_0x8f4885,_0x278775,_0x39f74d,0x4,_0x3f14af[0x28]),_0x278775=_0x246388(_0x278775,_0x27ac4a,_0xcc7ea6,_0x8f4885,_0x2c2357,0xb,_0x3f14af[0x29]),_0x8f4885=_0x246388(_0x8f4885,_0x278775,_0x27ac4a,_0xcc7ea6,_0x48f853,0x10,_0x3f14af[0x2a]),_0xcc7ea6=_0x246388(_0xcc7ea6,_0x8f4885,_0x278775,_0x27ac4a,_0x17f6cd,0x17,_0x3f14af[0x2b]),_0x27ac4a=_0x246388(_0x27ac4a,_0xcc7ea6,_0x8f4885,_0x278775,_0xfd26cd,0x4,_0x3f14af[0x2c]),_0x278775=_0x246388(_0x278775,_0x27ac4a,_0xcc7ea6,_0x8f4885,_0xb9003c,0xb,_0x3f14af[0x2d]),_0x8f4885=_0x246388(_0x8f4885,_0x278775,_0x27ac4a,_0xcc7ea6,_0xfe29f4,0x10,_0x3f14af[0x2e]),_0xcc7ea6=_0x246388(_0xcc7ea6,_0x8f4885,_0x278775,_0x27ac4a,_0x4f75f9,0x17,_0x3f14af[0x2f]),_0x27ac4a=_0x1227e6(_0x27ac4a,_0xcc7ea6,_0x8f4885,_0x278775,_0x2c2357,0x6,_0x3f14af[0x30]),_0x278775=_0x1227e6(_0x278775,_0x27ac4a,_0xcc7ea6,_0x8f4885,_0x4a9074,0xa,_0x3f14af[0x31]),_0x8f4885=_0x1227e6(_0x8f4885,_0x278775,_0x27ac4a,_0xcc7ea6,_0x2f621f,0xf,_0x3f14af[0x32]),_0xcc7ea6=_0x1227e6(_0xcc7ea6,_0x8f4885,_0x278775,_0x27ac4a,_0x19e302,0x15,_0x3f14af[0x33]),_0x27ac4a=_0x1227e6(_0x27ac4a,_0xcc7ea6,_0x8f4885,_0x278775,_0xb9003c,0x6,_0x3f14af[0x34]),_0x278775=_0x1227e6(_0x278775,_0x27ac4a,_0xcc7ea6,_0x8f4885,_0x48f853,0xa,_0x3f14af[0x35]),_0x8f4885=_0x1227e6(_0x8f4885,_0x278775,_0x27ac4a,_0xcc7ea6,_0x1e68e3,0xf,_0x3f14af[0x36]),_0xcc7ea6=_0x1227e6(_0xcc7ea6,_0x8f4885,_0x278775,_0x27ac4a,_0x426a1e,0x15,_0x3f14af[0x37]),_0x27ac4a=_0x1227e6(_0x27ac4a,_0xcc7ea6,_0x8f4885,_0x278775,_0x42abed,0x6,_0x3f14af[0x38]),_0x278775=_0x1227e6(_0x278775,_0x27ac4a,_0xcc7ea6,_0x8f4885,_0xfe29f4,0xa,_0x3f14af[0x39]),_0x8f4885=_0x1227e6(_0x8f4885,_0x278775,_0x27ac4a,_0xcc7ea6,_0x17f6cd,0xf,_0x3f14af[0x3a]),_0xcc7ea6=_0x1227e6(_0xcc7ea6,_0x8f4885,_0x278775,_0x27ac4a,_0x39f74d,0x15,_0x3f14af[0x3b]),_0x27ac4a=_0x1227e6(_0x27ac4a,_0xcc7ea6,_0x8f4885,_0x278775,_0x4dc6ab,0x6,_0x3f14af[0x3c]),_0x278775=_0x1227e6(_0x278775,_0x27ac4a,_0xcc7ea6,_0x8f4885,_0x547174,0xa,_0x3f14af[0x3d]),_0x8f4885=_0x1227e6(_0x8f4885,_0x278775,_0x27ac4a,_0xcc7ea6,_0x4f75f9,0xf,_0x3f14af[0x3e]),_0xcc7ea6=_0x1227e6(_0xcc7ea6,_0x8f4885,_0x278775,_0x27ac4a,_0xfd26cd,0x15,_0x3f14af[0x3f]),_0x1f82bc[0x0]=_0x1f82bc[0x0]+_0x27ac4a|0x0,_0x1f82bc[0x1]=_0x1f82bc[0x1]+_0xcc7ea6|0x0,_0x1f82bc[0x2]=_0x1f82bc[0x2]+_0x8f4885|0x0,_0x1f82bc[0x3]=_0x1f82bc[0x3]+_0x278775|0x0;},'_doFinalize':function(){var _0x4a422=_0x25cce8,_0x350589=this[_0x4a422(0x354)],_0x5f2869=_0x350589[_0x4a422(0x1c5)],_0x262371=this[_0x4a422(0x278)]*0x8,_0x53ece4=_0x350589['sigBytes']*0x8;_0x5f2869[_0x53ece4>>>0x5]|=0x80<<0x18-_0x53ece4%0x20;var _0xe131e0=_0x412ba8['floor'](_0x262371/0x100000000),_0x45fbb6=_0x262371;_0x5f2869[(_0x53ece4+0x40>>>0x9<<0x4)+0xf]=(_0xe131e0<<0x8|_0xe131e0>>>0x18)&0xff00ff|(_0xe131e0<<0x18|_0xe131e0>>>0x8)&0xff00ff00,_0x5f2869[(_0x53ece4+0x40>>>0x9<<0x4)+0xe]=(_0x45fbb6<<0x8|_0x45fbb6>>>0x18)&0xff00ff|(_0x45fbb6<<0x18|_0x45fbb6>>>0x8)&0xff00ff00,_0x350589[_0x4a422(0x144)]=(_0x5f2869[_0x4a422(0x1ce)]+0x1)*0x4,this[_0x4a422(0x2e4)]();for(var _0x8b5073=this[_0x4a422(0x3b7)],_0x3a5edc=_0x8b5073[_0x4a422(0x1c5)],_0x55a127=0x0;_0x55a127<0x4;_0x55a127++){var _0x352c70=_0x3a5edc[_0x55a127];_0x3a5edc[_0x55a127]=(_0x352c70<<0x8|_0x352c70>>>0x18)&0xff00ff|(_0x352c70<<0x18|_0x352c70>>>0x8)&0xff00ff00;}return _0x8b5073;},'clone':function(){var _0x38b809=_0x25cce8,_0x3443c2=_0x357ea0['clone'][_0x38b809(0x150)](this);return _0x3443c2[_0x38b809(0x3b7)]=this[_0x38b809(0x3b7)][_0x38b809(0x341)](),_0x3443c2;}});function _0x23a3aa(_0x12e582,_0x510a4a,_0x35b02f,_0x55d75f,_0x2baae6,_0x1dc578,_0x59a551){var _0x481d93=_0x12e582+(_0x510a4a&_0x35b02f|~_0x510a4a&_0x55d75f)+_0x2baae6+_0x59a551;return(_0x481d93<<_0x1dc578|_0x481d93>>>0x20-_0x1dc578)+_0x510a4a;}function _0x42dc7a(_0x2f38b9,_0x235561,_0x4bf9c8,_0x120c92,_0x4cbbff,_0x1f987b,_0x4d2707){var _0x2aef84=_0x2f38b9+(_0x235561&_0x120c92|_0x4bf9c8&~_0x120c92)+_0x4cbbff+_0x4d2707;return(_0x2aef84<<_0x1f987b|_0x2aef84>>>0x20-_0x1f987b)+_0x235561;}function _0x246388(_0x2fa9d8,_0x22529f,_0x5056bf,_0x30c006,_0x4b35c9,_0x6abc97,_0x320fb4){var _0x34c3a7=_0x2fa9d8+(_0x22529f^_0x5056bf^_0x30c006)+_0x4b35c9+_0x320fb4;return(_0x34c3a7<<_0x6abc97|_0x34c3a7>>>0x20-_0x6abc97)+_0x22529f;}function _0x1227e6(_0x31a40b,_0x67f59d,_0x1668db,_0x5019a4,_0x281f2f,_0x43ec08,_0x3aa881){var _0x43474c=_0x31a40b+(_0x1668db^(_0x67f59d|~_0x5019a4))+_0x281f2f+_0x3aa881;return(_0x43474c<<_0x43ec08|_0x43474c>>>0x20-_0x43ec08)+_0x67f59d;}_0x531f3f[_0x25cce8(0x1ef)]=_0x357ea0[_0x25cce8(0x25b)](_0x3704d2),_0x531f3f['HmacMD5']=_0x357ea0['_createHmacHelper'](_0x3704d2);}(Math),_0x3b93e0[_0x4c378e(0x1ef)];}));}(Ye)),Ye[_0x1f28a(0x28a)];}var Ke={'exports':{}},qe={'exports':{}},Cs=qe['exports'],ei;function Rs(){return ei||(ei=0x1,function(_0x40577b,_0x412b74){(function(_0x568dbd,_0x566b79){_0x40577b['exports']=_0x566b79(ie());}(Cs,function(_0x286431){var _0x1d40e0=_0x4b93;return(function(){var _0x4c9a3c=_0x4b93,_0x3d4588=_0x286431,_0x34dac9=_0x3d4588[_0x4c9a3c(0x3b0)],_0x40e58f=_0x34dac9[_0x4c9a3c(0x3e0)],_0x4345d1=_0x34dac9['Hasher'],_0xb737d9=_0x3d4588[_0x4c9a3c(0x41b)],_0x3d51be=[],_0x15dabd=_0xb737d9['SHA1']=_0x4345d1[_0x4c9a3c(0x39f)]({'_doReset':function(){var _0x18cb55=_0x4c9a3c;this[_0x18cb55(0x3b7)]=new _0x40e58f[(_0x18cb55(0x358))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x32d395,_0x24288e){var _0x50fefd=_0x4c9a3c;for(var _0x2dcee6=this[_0x50fefd(0x3b7)]['words'],_0x386d85=_0x2dcee6[0x0],_0x391a6b=_0x2dcee6[0x1],_0x5909bc=_0x2dcee6[0x2],_0x47d703=_0x2dcee6[0x3],_0x4d3aab=_0x2dcee6[0x4],_0xa0bb5b=0x0;_0xa0bb5b<0x50;_0xa0bb5b++){if(_0xa0bb5b<0x10)_0x3d51be[_0xa0bb5b]=_0x32d395[_0x24288e+_0xa0bb5b]|0x0;else{var _0x257547=_0x3d51be[_0xa0bb5b-0x3]^_0x3d51be[_0xa0bb5b-0x8]^_0x3d51be[_0xa0bb5b-0xe]^_0x3d51be[_0xa0bb5b-0x10];_0x3d51be[_0xa0bb5b]=_0x257547<<0x1|_0x257547>>>0x1f;}var _0x1bd4bf=(_0x386d85<<0x5|_0x386d85>>>0x1b)+_0x4d3aab+_0x3d51be[_0xa0bb5b];_0xa0bb5b<0x14?_0x1bd4bf+=(_0x391a6b&_0x5909bc|~_0x391a6b&_0x47d703)+0x5a827999:_0xa0bb5b<0x28?_0x1bd4bf+=(_0x391a6b^_0x5909bc^_0x47d703)+0x6ed9eba1:_0xa0bb5b<0x3c?_0x1bd4bf+=(_0x391a6b&_0x5909bc|_0x391a6b&_0x47d703|_0x5909bc&_0x47d703)-0x70e44324:_0x1bd4bf+=(_0x391a6b^_0x5909bc^_0x47d703)-0x359d3e2a,_0x4d3aab=_0x47d703,_0x47d703=_0x5909bc,_0x5909bc=_0x391a6b<<0x1e|_0x391a6b>>>0x2,_0x391a6b=_0x386d85,_0x386d85=_0x1bd4bf;}_0x2dcee6[0x0]=_0x2dcee6[0x0]+_0x386d85|0x0,_0x2dcee6[0x1]=_0x2dcee6[0x1]+_0x391a6b|0x0,_0x2dcee6[0x2]=_0x2dcee6[0x2]+_0x5909bc|0x0,_0x2dcee6[0x3]=_0x2dcee6[0x3]+_0x47d703|0x0,_0x2dcee6[0x4]=_0x2dcee6[0x4]+_0x4d3aab|0x0;},'_doFinalize':function(){var _0x4bbc6c=_0x4c9a3c,_0x3bf69d=this['_data'],_0x2db763=_0x3bf69d[_0x4bbc6c(0x1c5)],_0x3b101e=this[_0x4bbc6c(0x278)]*0x8,_0x432fb4=_0x3bf69d['sigBytes']*0x8;return _0x2db763[_0x432fb4>>>0x5]|=0x80<<0x18-_0x432fb4%0x20,_0x2db763[(_0x432fb4+0x40>>>0x9<<0x4)+0xe]=Math[_0x4bbc6c(0x24d)](_0x3b101e/0x100000000),_0x2db763[(_0x432fb4+0x40>>>0x9<<0x4)+0xf]=_0x3b101e,_0x3bf69d[_0x4bbc6c(0x144)]=_0x2db763[_0x4bbc6c(0x1ce)]*0x4,this[_0x4bbc6c(0x2e4)](),this['_hash'];},'clone':function(){var _0x4f5c07=_0x4c9a3c,_0x508efd=_0x4345d1[_0x4f5c07(0x341)][_0x4f5c07(0x150)](this);return _0x508efd[_0x4f5c07(0x3b7)]=this[_0x4f5c07(0x3b7)][_0x4f5c07(0x341)](),_0x508efd;}});_0x3d4588[_0x4c9a3c(0x38d)]=_0x4345d1[_0x4c9a3c(0x25b)](_0x15dabd),_0x3d4588[_0x4c9a3c(0x170)]=_0x4345d1[_0x4c9a3c(0x307)](_0x15dabd);}()),_0x286431[_0x1d40e0(0x38d)];}));}(qe)),qe['exports'];}var ze={'exports':{}},bs=ze[_0x4bf5f3(0x28a)],ti;function Os(){var _0xc8cce2=_0x4bf5f3;return ti||(ti=0x1,function(_0x1d2ded,_0x4476af){(function(_0x1c7e72,_0x45cbaf){var _0x3280f7=_0x4b93;_0x1d2ded[_0x3280f7(0x28a)]=_0x45cbaf(ie());}(bs,function(_0x2ce4fe){(function(){var _0x3df9bd=_0x4b93,_0x441c65=_0x2ce4fe,_0x11e64c=_0x441c65[_0x3df9bd(0x3b0)],_0x260bb8=_0x11e64c[_0x3df9bd(0x2eb)],_0x18498e=_0x441c65[_0x3df9bd(0x141)],_0x5c4301=_0x18498e[_0x3df9bd(0x2df)],_0x375314=_0x441c65[_0x3df9bd(0x41b)];_0x375314['HMAC']=_0x260bb8[_0x3df9bd(0x39f)]({'init':function(_0x246173,_0x494153){var _0x4eb406=_0x3df9bd;_0x246173=this[_0x4eb406(0x3d9)]=new _0x246173['init'](),typeof _0x494153==_0x4eb406(0x166)&&(_0x494153=_0x5c4301[_0x4eb406(0x35b)](_0x494153));var _0x14a41c=_0x246173[_0x4eb406(0x384)],_0x51a7e4=_0x14a41c*0x4;_0x494153[_0x4eb406(0x144)]>_0x51a7e4&&(_0x494153=_0x246173[_0x4eb406(0x42a)](_0x494153)),_0x494153[_0x4eb406(0x17e)]();for(var _0x5bebd2=this[_0x4eb406(0x28f)]=_0x494153[_0x4eb406(0x341)](),_0x1613e6=this[_0x4eb406(0x14d)]=_0x494153[_0x4eb406(0x341)](),_0x9bf85e=_0x5bebd2[_0x4eb406(0x1c5)],_0x2df602=_0x1613e6['words'],_0x1afa7f=0x0;_0x1afa7f<_0x14a41c;_0x1afa7f++)_0x9bf85e[_0x1afa7f]^=0x5c5c5c5c,_0x2df602[_0x1afa7f]^=0x36363636;_0x5bebd2[_0x4eb406(0x144)]=_0x1613e6[_0x4eb406(0x144)]=_0x51a7e4,this[_0x4eb406(0x331)]();},'reset':function(){var _0x2f8e3c=_0x3df9bd,_0x2cc514=this['_hasher'];_0x2cc514[_0x2f8e3c(0x331)](),_0x2cc514[_0x2f8e3c(0x38e)](this[_0x2f8e3c(0x14d)]);},'update':function(_0x984d){var _0x486144=_0x3df9bd;return this[_0x486144(0x3d9)]['update'](_0x984d),this;},'finalize':function(_0x413fc6){var _0x230e7e=_0x3df9bd,_0x52ac5f=this[_0x230e7e(0x3d9)],_0x15d2f6=_0x52ac5f[_0x230e7e(0x42a)](_0x413fc6);_0x52ac5f[_0x230e7e(0x331)]();var _0x2d61b9=_0x52ac5f[_0x230e7e(0x42a)](this[_0x230e7e(0x28f)]['clone']()['concat'](_0x15d2f6));return _0x2d61b9;}});}());}));}(ze)),ze[_0xc8cce2(0x28a)];}var ys=Ke[_0x4bf5f3(0x28a)],ii;function Ui(){var _0x15f447=_0x4bf5f3;return ii||(ii=0x1,function(_0x5e8ea1,_0x5f40f0){(function(_0x142c5e,_0x3497d3,_0xddb996){var _0x293a73=_0x4b93;_0x5e8ea1[_0x293a73(0x28a)]=_0x3497d3(ie(),Rs(),Os());}(ys,function(_0x3594fe){var _0x3ae5e3=_0x4b93;return(function(){var _0xcfb265=_0x4b93,_0x315472=_0x3594fe,_0x387fe3=_0x315472[_0xcfb265(0x3b0)],_0x196317=_0x387fe3[_0xcfb265(0x2eb)],_0x35cc7a=_0x387fe3[_0xcfb265(0x3e0)],_0x2d7cab=_0x315472['algo'],_0x1f4eb3=_0x2d7cab[_0xcfb265(0x1ef)],_0x518c68=_0x2d7cab[_0xcfb265(0x360)]=_0x196317[_0xcfb265(0x39f)]({'cfg':_0x196317[_0xcfb265(0x39f)]({'keySize':0x80/0x20,'hasher':_0x1f4eb3,'iterations':0x1}),'init':function(_0x6e836){var _0x574781=_0xcfb265;this[_0x574781(0x21d)]=this['cfg'][_0x574781(0x39f)](_0x6e836);},'compute':function(_0x39b412,_0x100ab5){var _0xbf9570=_0xcfb265;for(var _0x54d284,_0x3f68ce=this['cfg'],_0x4cc78b=_0x3f68ce['hasher'][_0xbf9570(0x2f6)](),_0x7fb490=_0x35cc7a[_0xbf9570(0x2f6)](),_0x3f815b=_0x7fb490[_0xbf9570(0x1c5)],_0x578ba1=_0x3f68ce[_0xbf9570(0x2b8)],_0x5cf1d3=_0x3f68ce['iterations'];_0x3f815b[_0xbf9570(0x1ce)]<_0x578ba1;){_0x54d284&&_0x4cc78b[_0xbf9570(0x38e)](_0x54d284),_0x54d284=_0x4cc78b[_0xbf9570(0x38e)](_0x39b412)[_0xbf9570(0x42a)](_0x100ab5),_0x4cc78b[_0xbf9570(0x331)]();for(var _0x908009=0x1;_0x908009<_0x5cf1d3;_0x908009++)_0x54d284=_0x4cc78b['finalize'](_0x54d284),_0x4cc78b[_0xbf9570(0x331)]();_0x7fb490[_0xbf9570(0x3a7)](_0x54d284);}return _0x7fb490[_0xbf9570(0x144)]=_0x578ba1*0x4,_0x7fb490;}});_0x315472[_0xcfb265(0x360)]=function(_0x3e62c5,_0x598a75,_0x23f832){var _0xadd3b1=_0xcfb265;return _0x518c68[_0xadd3b1(0x2f6)](_0x23f832)[_0xadd3b1(0x3ad)](_0x3e62c5,_0x598a75);};}()),_0x3594fe[_0x3ae5e3(0x360)];}));}(Ke)),Ke[_0x15f447(0x28a)];}var Je={'exports':{}},Ns=Je['exports'],ni;function Ai(){var _0x4229d6=_0x4bf5f3;return ni||(ni=0x1,function(_0x2c3031,_0x3737ac){(function(_0x3b9020,_0x1b385d,_0x192009){var _0x54993d=_0x4b93;_0x2c3031[_0x54993d(0x28a)]=_0x1b385d(ie(),Ui());}(Ns,function(_0x366949){_0x366949['lib']['Cipher']||function(_0x41e478){var _0x208ce8=_0x4b93,_0x3d6472=_0x366949,_0x357c5f=_0x3d6472['lib'],_0x41f3cc=_0x357c5f[_0x208ce8(0x2eb)],_0x58a9bd=_0x357c5f[_0x208ce8(0x3e0)],_0xb56383=_0x357c5f['BufferedBlockAlgorithm'],_0x2b52e6=_0x3d6472[_0x208ce8(0x141)];_0x2b52e6[_0x208ce8(0x2df)];var _0x1198c9=_0x2b52e6[_0x208ce8(0x2e5)],_0x2e1a66=_0x3d6472[_0x208ce8(0x41b)],_0x40ed65=_0x2e1a66[_0x208ce8(0x360)],_0x283137=_0x357c5f['Cipher']=_0xb56383[_0x208ce8(0x39f)]({'cfg':_0x41f3cc[_0x208ce8(0x39f)](),'createEncryptor':function(_0x1fb3e6,_0x53dc6a){var _0x594f77=_0x208ce8;return this[_0x594f77(0x2f6)](this[_0x594f77(0x1e1)],_0x1fb3e6,_0x53dc6a);},'createDecryptor':function(_0x4c3540,_0x2dfe5c){var _0x1f4215=_0x208ce8;return this['create'](this[_0x1f4215(0x210)],_0x4c3540,_0x2dfe5c);},'init':function(_0x47d99c,_0x1d4977,_0x524e18){var _0xaf5296=_0x208ce8;this[_0xaf5296(0x21d)]=this[_0xaf5296(0x21d)][_0xaf5296(0x39f)](_0x524e18),this['_xformMode']=_0x47d99c,this[_0xaf5296(0x29c)]=_0x1d4977,this[_0xaf5296(0x331)]();},'reset':function(){var _0x14f0f9=_0x208ce8;_0xb56383['reset'][_0x14f0f9(0x150)](this),this[_0x14f0f9(0x345)]();},'process':function(_0x159a87){var _0x5e3163=_0x208ce8;return this[_0x5e3163(0x1f4)](_0x159a87),this['_process']();},'finalize':function(_0x5c3ef4){var _0x3043c0=_0x208ce8;_0x5c3ef4&&this[_0x3043c0(0x1f4)](_0x5c3ef4);var _0x1a9c95=this[_0x3043c0(0x40a)]();return _0x1a9c95;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x2e3173(_0x197788){var _0x3c969e=_0x4b93;return typeof _0x197788==_0x3c969e(0x166)?_0x1f7b6b:_0xd0615b;}return function(_0x2f875c){return{'encrypt':function(_0x26703e,_0x1becfc,_0x59d17f){var _0x3b37c1=_0x4b93;return _0x2e3173(_0x1becfc)[_0x3b37c1(0x1d6)](_0x2f875c,_0x26703e,_0x1becfc,_0x59d17f);},'decrypt':function(_0x40b39f,_0xa8bd6a,_0x3ec12a){var _0x8b80a4=_0x4b93;return _0x2e3173(_0xa8bd6a)[_0x8b80a4(0x355)](_0x2f875c,_0x40b39f,_0xa8bd6a,_0x3ec12a);}};};}())});_0x357c5f['StreamCipher']=_0x283137[_0x208ce8(0x39f)]({'_doFinalize':function(){var _0x157e5a=_0x208ce8,_0x19e38d=this[_0x157e5a(0x2e4)](!0x0);return _0x19e38d;},'blockSize':0x1});var _0x48d97b=_0x3d6472[_0x208ce8(0x22b)]={},_0x40ef3f=_0x357c5f[_0x208ce8(0x12f)]=_0x41f3cc[_0x208ce8(0x39f)]({'createEncryptor':function(_0x107756,_0x640fff){var _0x2f4e34=_0x208ce8;return this[_0x2f4e34(0x2f7)]['create'](_0x107756,_0x640fff);},'createDecryptor':function(_0x207519,_0x14e41b){var _0x3b992e=_0x208ce8;return this[_0x3b992e(0x3b2)]['create'](_0x207519,_0x14e41b);},'init':function(_0x3f40f6,_0x38cc04){var _0x53050e=_0x208ce8;this['_cipher']=_0x3f40f6,this[_0x53050e(0x133)]=_0x38cc04;}}),_0x15b059=_0x48d97b[_0x208ce8(0x240)]=(function(){var _0xe22b74=_0x208ce8,_0x49e00e=_0x40ef3f[_0xe22b74(0x39f)]();_0x49e00e[_0xe22b74(0x2f7)]=_0x49e00e['extend']({'processBlock':function(_0x58c87b,_0x173f38){var _0x313273=_0xe22b74,_0x50c701=this[_0x313273(0x1b8)],_0x7822c6=_0x50c701[_0x313273(0x384)];_0x2791a6[_0x313273(0x150)](this,_0x58c87b,_0x173f38,_0x7822c6),_0x50c701[_0x313273(0x31f)](_0x58c87b,_0x173f38),this[_0x313273(0x204)]=_0x58c87b[_0x313273(0x2e2)](_0x173f38,_0x173f38+_0x7822c6);}}),_0x49e00e[_0xe22b74(0x3b2)]=_0x49e00e[_0xe22b74(0x39f)]({'processBlock':function(_0xfe8972,_0x3d595b){var _0xef5f8e=_0xe22b74,_0x45f7a5=this[_0xef5f8e(0x1b8)],_0x581481=_0x45f7a5[_0xef5f8e(0x384)],_0x1a72b6=_0xfe8972[_0xef5f8e(0x2e2)](_0x3d595b,_0x3d595b+_0x581481);_0x45f7a5[_0xef5f8e(0x2a3)](_0xfe8972,_0x3d595b),_0x2791a6[_0xef5f8e(0x150)](this,_0xfe8972,_0x3d595b,_0x581481),this[_0xef5f8e(0x204)]=_0x1a72b6;}});function _0x2791a6(_0x3ba72a,_0x1a30f9,_0x51ee75){var _0x25aaff=_0xe22b74,_0x43ee21,_0x21fff3=this[_0x25aaff(0x133)];_0x21fff3?(_0x43ee21=_0x21fff3,this[_0x25aaff(0x133)]=_0x41e478):_0x43ee21=this[_0x25aaff(0x204)];for(var _0x15ea08=0x0;_0x15ea08<_0x51ee75;_0x15ea08++)_0x3ba72a[_0x1a30f9+_0x15ea08]^=_0x43ee21[_0x15ea08];}return _0x49e00e;}()),_0x4d93eb=_0x3d6472[_0x208ce8(0x421)]={},_0x4e6c5d=_0x4d93eb[_0x208ce8(0x2fe)]={'pad':function(_0x100ad1,_0x412d89){var _0xb69136=_0x208ce8;for(var _0x4d0c4d=_0x412d89*0x4,_0x8011cb=_0x4d0c4d-_0x100ad1['sigBytes']%_0x4d0c4d,_0x13f36d=_0x8011cb<<0x18|_0x8011cb<<0x10|_0x8011cb<<0x8|_0x8011cb,_0x591aa1=[],_0x892d2b=0x0;_0x892d2b<_0x8011cb;_0x892d2b+=0x4)_0x591aa1[_0xb69136(0x369)](_0x13f36d);var _0x4dda7d=_0x58a9bd['create'](_0x591aa1,_0x8011cb);_0x100ad1[_0xb69136(0x3a7)](_0x4dda7d);},'unpad':function(_0xfe236){var _0x4df26f=_0x208ce8,_0x47bab9=_0xfe236[_0x4df26f(0x1c5)][_0xfe236[_0x4df26f(0x144)]-0x1>>>0x2]&0xff;_0xfe236['sigBytes']-=_0x47bab9;}};_0x357c5f[_0x208ce8(0x303)]=_0x283137[_0x208ce8(0x39f)]({'cfg':_0x283137[_0x208ce8(0x21d)][_0x208ce8(0x39f)]({'mode':_0x15b059,'padding':_0x4e6c5d}),'reset':function(){var _0x5ccd5a=_0x208ce8,_0x1d079c;_0x283137[_0x5ccd5a(0x331)][_0x5ccd5a(0x150)](this);var _0x9641c1=this[_0x5ccd5a(0x21d)],_0x600795=_0x9641c1['iv'],_0x251de0=_0x9641c1[_0x5ccd5a(0x22b)];this['_xformMode']==this[_0x5ccd5a(0x1e1)]?_0x1d079c=_0x251de0[_0x5ccd5a(0x1c0)]:(_0x1d079c=_0x251de0['createDecryptor'],this['_minBufferSize']=0x1),this[_0x5ccd5a(0x15a)]&&this[_0x5ccd5a(0x15a)][_0x5ccd5a(0x167)]==_0x1d079c?this[_0x5ccd5a(0x15a)]['init'](this,_0x600795&&_0x600795[_0x5ccd5a(0x1c5)]):(this[_0x5ccd5a(0x15a)]=_0x1d079c[_0x5ccd5a(0x150)](_0x251de0,this,_0x600795&&_0x600795[_0x5ccd5a(0x1c5)]),this[_0x5ccd5a(0x15a)][_0x5ccd5a(0x167)]=_0x1d079c);},'_doProcessBlock':function(_0x5315ca,_0x3d0e82){var _0x390331=_0x208ce8;this['_mode'][_0x390331(0x151)](_0x5315ca,_0x3d0e82);},'_doFinalize':function(){var _0x6db0f7=_0x208ce8,_0x21a647,_0x5e440f=this[_0x6db0f7(0x21d)][_0x6db0f7(0x31d)];return this[_0x6db0f7(0x24a)]==this[_0x6db0f7(0x1e1)]?(_0x5e440f[_0x6db0f7(0x421)](this[_0x6db0f7(0x354)],this[_0x6db0f7(0x384)]),_0x21a647=this[_0x6db0f7(0x2e4)](!0x0)):(_0x21a647=this[_0x6db0f7(0x2e4)](!0x0),_0x5e440f[_0x6db0f7(0x3d8)](_0x21a647)),_0x21a647;},'blockSize':0x80/0x20});var _0x3ac570=_0x357c5f[_0x208ce8(0x13c)]=_0x41f3cc[_0x208ce8(0x39f)]({'init':function(_0x427954){var _0x524e1d=_0x208ce8;this[_0x524e1d(0x43c)](_0x427954);},'toString':function(_0x278284){var _0x16ec2a=_0x208ce8;return(_0x278284||this[_0x16ec2a(0x20a)])[_0x16ec2a(0x2ff)](this);}}),_0x59cef4=_0x3d6472['format']={},_0x5011dd=_0x59cef4[_0x208ce8(0x3aa)]={'stringify':function(_0x13a755){var _0x16f537=_0x208ce8,_0x47528d,_0x2ef3f2=_0x13a755[_0x16f537(0x1b4)],_0x366703=_0x13a755[_0x16f537(0x2a9)];return _0x366703?_0x47528d=_0x58a9bd['create']([0x53616c74,0x65645f5f])[_0x16f537(0x3a7)](_0x366703)[_0x16f537(0x3a7)](_0x2ef3f2):_0x47528d=_0x2ef3f2,_0x47528d[_0x16f537(0x2c2)](_0x1198c9);},'parse':function(_0x440352){var _0xfce99e=_0x208ce8,_0x5be517,_0x285d32=_0x1198c9[_0xfce99e(0x35b)](_0x440352),_0x4621a3=_0x285d32['words'];return _0x4621a3[0x0]==0x53616c74&&_0x4621a3[0x1]==0x65645f5f&&(_0x5be517=_0x58a9bd[_0xfce99e(0x2f6)](_0x4621a3[_0xfce99e(0x2e2)](0x2,0x4)),_0x4621a3[_0xfce99e(0x19a)](0x0,0x4),_0x285d32[_0xfce99e(0x144)]-=0x10),_0x3ac570[_0xfce99e(0x2f6)]({'ciphertext':_0x285d32,'salt':_0x5be517});}},_0xd0615b=_0x357c5f['SerializableCipher']=_0x41f3cc[_0x208ce8(0x39f)]({'cfg':_0x41f3cc[_0x208ce8(0x39f)]({'format':_0x5011dd}),'encrypt':function(_0xe77d78,_0x4cf046,_0x52ee2b,_0x43092f){var _0x3949db=_0x208ce8;_0x43092f=this[_0x3949db(0x21d)][_0x3949db(0x39f)](_0x43092f);var _0x42618c=_0xe77d78[_0x3949db(0x1c0)](_0x52ee2b,_0x43092f),_0x14be41=_0x42618c['finalize'](_0x4cf046),_0x59f9b5=_0x42618c['cfg'];return _0x3ac570[_0x3949db(0x2f6)]({'ciphertext':_0x14be41,'key':_0x52ee2b,'iv':_0x59f9b5['iv'],'algorithm':_0xe77d78,'mode':_0x59f9b5[_0x3949db(0x22b)],'padding':_0x59f9b5[_0x3949db(0x31d)],'blockSize':_0xe77d78[_0x3949db(0x384)],'formatter':_0x43092f['format']});},'decrypt':function(_0x441dde,_0x451392,_0x2a9dae,_0x3eee4a){var _0x5bdd66=_0x208ce8;_0x3eee4a=this[_0x5bdd66(0x21d)]['extend'](_0x3eee4a),_0x451392=this[_0x5bdd66(0x161)](_0x451392,_0x3eee4a[_0x5bdd66(0x19e)]);var _0x163e3d=_0x441dde[_0x5bdd66(0x3ff)](_0x2a9dae,_0x3eee4a)[_0x5bdd66(0x42a)](_0x451392[_0x5bdd66(0x1b4)]);return _0x163e3d;},'_parse':function(_0x2afff8,_0x28abdf){return typeof _0x2afff8=='string'?_0x28abdf['parse'](_0x2afff8,this):_0x2afff8;}}),_0x572cc8=_0x3d6472['kdf']={},_0x2802f5=_0x572cc8[_0x208ce8(0x3aa)]={'execute':function(_0x194b8b,_0x292dc0,_0x395bb0,_0x21077e,_0x3874c7){var _0x4cfb02=_0x208ce8;if(_0x21077e||(_0x21077e=_0x58a9bd[_0x4cfb02(0x188)](0x40/0x8)),_0x3874c7)var _0x2479b3=_0x40ed65[_0x4cfb02(0x2f6)]({'keySize':_0x292dc0+_0x395bb0,'hasher':_0x3874c7})[_0x4cfb02(0x3ad)](_0x194b8b,_0x21077e);else var _0x2479b3=_0x40ed65['create']({'keySize':_0x292dc0+_0x395bb0})[_0x4cfb02(0x3ad)](_0x194b8b,_0x21077e);var _0x2baf82=_0x58a9bd['create'](_0x2479b3[_0x4cfb02(0x1c5)][_0x4cfb02(0x2e2)](_0x292dc0),_0x395bb0*0x4);return _0x2479b3[_0x4cfb02(0x144)]=_0x292dc0*0x4,_0x3ac570[_0x4cfb02(0x2f6)]({'key':_0x2479b3,'iv':_0x2baf82,'salt':_0x21077e});}},_0x1f7b6b=_0x357c5f['PasswordBasedCipher']=_0xd0615b[_0x208ce8(0x39f)]({'cfg':_0xd0615b['cfg']['extend']({'kdf':_0x2802f5}),'encrypt':function(_0x58ea1e,_0x7827f,_0x3aa74e,_0x4ab277){var _0x286f12=_0x208ce8;_0x4ab277=this['cfg'][_0x286f12(0x39f)](_0x4ab277);var _0x1c4df5=_0x4ab277[_0x286f12(0x21b)][_0x286f12(0x40f)](_0x3aa74e,_0x58ea1e[_0x286f12(0x2b8)],_0x58ea1e[_0x286f12(0x3df)],_0x4ab277[_0x286f12(0x2a9)],_0x4ab277[_0x286f12(0x1a2)]);_0x4ab277['iv']=_0x1c4df5['iv'];var _0x27a54e=_0xd0615b[_0x286f12(0x1d6)][_0x286f12(0x150)](this,_0x58ea1e,_0x7827f,_0x1c4df5[_0x286f12(0x2f4)],_0x4ab277);return _0x27a54e[_0x286f12(0x43c)](_0x1c4df5),_0x27a54e;},'decrypt':function(_0x7ed847,_0x476f10,_0x11df0a,_0x259bd0){var _0x598b0d=_0x208ce8;_0x259bd0=this[_0x598b0d(0x21d)][_0x598b0d(0x39f)](_0x259bd0),_0x476f10=this[_0x598b0d(0x161)](_0x476f10,_0x259bd0[_0x598b0d(0x19e)]);var _0x3019e0=_0x259bd0[_0x598b0d(0x21b)][_0x598b0d(0x40f)](_0x11df0a,_0x7ed847[_0x598b0d(0x2b8)],_0x7ed847[_0x598b0d(0x3df)],_0x476f10['salt'],_0x259bd0[_0x598b0d(0x1a2)]);_0x259bd0['iv']=_0x3019e0['iv'];var _0x1085b5=_0xd0615b['decrypt'][_0x598b0d(0x150)](this,_0x7ed847,_0x476f10,_0x3019e0['key'],_0x259bd0);return _0x1085b5;}});}();}));}(Je)),Je[_0x4229d6(0x28a)];}var Ds=Ve[_0x4bf5f3(0x28a)],si;function Us(){var _0xe064f3=_0x4bf5f3;return si||(si=0x1,function(_0x51efb3,_0x501f4f){(function(_0x4708a6,_0x26c40f,_0x223ca0){var _0x5b0321=_0x4b93;_0x51efb3[_0x5b0321(0x28a)]=_0x26c40f(ie(),Di(),Ts(),Ui(),Ai());}(Ds,function(_0xde54ae){var _0x8bcc5=_0x4b93;return(function(){var _0x291639=_0x4b93,_0x57d56f=_0xde54ae,_0x50236a=_0x57d56f[_0x291639(0x3b0)],_0x564ebf=_0x50236a[_0x291639(0x303)],_0x505c2b=_0x57d56f[_0x291639(0x41b)],_0x488834=[],_0x5c3c6d=[],_0x223af9=[],_0x16f021=[],_0x56bf53=[],_0x1c3258=[],_0x284560=[],_0x31d46c=[],_0x5cf108=[],_0x409893=[];(function(){for(var _0x4ea49a=[],_0x35ef75=0x0;_0x35ef75<0x100;_0x35ef75++)_0x35ef75<0x80?_0x4ea49a[_0x35ef75]=_0x35ef75<<0x1:_0x4ea49a[_0x35ef75]=_0x35ef75<<0x1^0x11b;for(var _0x439141=0x0,_0x12ef02=0x0,_0x35ef75=0x0;_0x35ef75<0x100;_0x35ef75++){var _0xa7a2ba=_0x12ef02^_0x12ef02<<0x1^_0x12ef02<<0x2^_0x12ef02<<0x3^_0x12ef02<<0x4;_0xa7a2ba=_0xa7a2ba>>>0x8^_0xa7a2ba&0xff^0x63,_0x488834[_0x439141]=_0xa7a2ba,_0x5c3c6d[_0xa7a2ba]=_0x439141;var _0x5be04e=_0x4ea49a[_0x439141],_0x5266d0=_0x4ea49a[_0x5be04e],_0x142f3c=_0x4ea49a[_0x5266d0],_0x33f6ee=_0x4ea49a[_0xa7a2ba]*0x101^_0xa7a2ba*0x1010100;_0x223af9[_0x439141]=_0x33f6ee<<0x18|_0x33f6ee>>>0x8,_0x16f021[_0x439141]=_0x33f6ee<<0x10|_0x33f6ee>>>0x10,_0x56bf53[_0x439141]=_0x33f6ee<<0x8|_0x33f6ee>>>0x18,_0x1c3258[_0x439141]=_0x33f6ee;var _0x33f6ee=_0x142f3c*0x1010101^_0x5266d0*0x10001^_0x5be04e*0x101^_0x439141*0x1010100;_0x284560[_0xa7a2ba]=_0x33f6ee<<0x18|_0x33f6ee>>>0x8,_0x31d46c[_0xa7a2ba]=_0x33f6ee<<0x10|_0x33f6ee>>>0x10,_0x5cf108[_0xa7a2ba]=_0x33f6ee<<0x8|_0x33f6ee>>>0x18,_0x409893[_0xa7a2ba]=_0x33f6ee,_0x439141?(_0x439141=_0x5be04e^_0x4ea49a[_0x4ea49a[_0x4ea49a[_0x142f3c^_0x5be04e]]],_0x12ef02^=_0x4ea49a[_0x4ea49a[_0x12ef02]]):_0x439141=_0x12ef02=0x1;}}());var _0x5cd9e6=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x3a2209=_0x505c2b[_0x291639(0x311)]=_0x564ebf[_0x291639(0x39f)]({'_doReset':function(){var _0x57ecfa=_0x291639,_0x537662;if(!(this[_0x57ecfa(0x324)]&&this[_0x57ecfa(0x3cd)]===this[_0x57ecfa(0x29c)])){for(var _0x5df0e6=this[_0x57ecfa(0x3cd)]=this[_0x57ecfa(0x29c)],_0x5cccd2=_0x5df0e6[_0x57ecfa(0x1c5)],_0x488833=_0x5df0e6[_0x57ecfa(0x144)]/0x4,_0x1ff8a7=this[_0x57ecfa(0x324)]=_0x488833+0x6,_0x2cfc3c=(_0x1ff8a7+0x1)*0x4,_0x4394c3=this[_0x57ecfa(0x2a8)]=[],_0x3596d0=0x0;_0x3596d0<_0x2cfc3c;_0x3596d0++)_0x3596d0<_0x488833?_0x4394c3[_0x3596d0]=_0x5cccd2[_0x3596d0]:(_0x537662=_0x4394c3[_0x3596d0-0x1],_0x3596d0%_0x488833?_0x488833>0x6&&_0x3596d0%_0x488833==0x4&&(_0x537662=_0x488834[_0x537662>>>0x18]<<0x18|_0x488834[_0x537662>>>0x10&0xff]<<0x10|_0x488834[_0x537662>>>0x8&0xff]<<0x8|_0x488834[_0x537662&0xff]):(_0x537662=_0x537662<<0x8|_0x537662>>>0x18,_0x537662=_0x488834[_0x537662>>>0x18]<<0x18|_0x488834[_0x537662>>>0x10&0xff]<<0x10|_0x488834[_0x537662>>>0x8&0xff]<<0x8|_0x488834[_0x537662&0xff],_0x537662^=_0x5cd9e6[_0x3596d0/_0x488833|0x0]<<0x18),_0x4394c3[_0x3596d0]=_0x4394c3[_0x3596d0-_0x488833]^_0x537662);for(var _0x298d61=this[_0x57ecfa(0x205)]=[],_0x12afb0=0x0;_0x12afb0<_0x2cfc3c;_0x12afb0++){var _0x3596d0=_0x2cfc3c-_0x12afb0;if(_0x12afb0%0x4)var _0x537662=_0x4394c3[_0x3596d0];else var _0x537662=_0x4394c3[_0x3596d0-0x4];_0x12afb0<0x4||_0x3596d0<=0x4?_0x298d61[_0x12afb0]=_0x537662:_0x298d61[_0x12afb0]=_0x284560[_0x488834[_0x537662>>>0x18]]^_0x31d46c[_0x488834[_0x537662>>>0x10&0xff]]^_0x5cf108[_0x488834[_0x537662>>>0x8&0xff]]^_0x409893[_0x488834[_0x537662&0xff]];}}},'encryptBlock':function(_0x258e77,_0x4ebb77){var _0x564c87=_0x291639;this[_0x564c87(0x318)](_0x258e77,_0x4ebb77,this[_0x564c87(0x2a8)],_0x223af9,_0x16f021,_0x56bf53,_0x1c3258,_0x488834);},'decryptBlock':function(_0x4d2674,_0x481ab6){var _0xdd5efd=_0x291639,_0x585920=_0x4d2674[_0x481ab6+0x1];_0x4d2674[_0x481ab6+0x1]=_0x4d2674[_0x481ab6+0x3],_0x4d2674[_0x481ab6+0x3]=_0x585920,this[_0xdd5efd(0x318)](_0x4d2674,_0x481ab6,this[_0xdd5efd(0x205)],_0x284560,_0x31d46c,_0x5cf108,_0x409893,_0x5c3c6d);var _0x585920=_0x4d2674[_0x481ab6+0x1];_0x4d2674[_0x481ab6+0x1]=_0x4d2674[_0x481ab6+0x3],_0x4d2674[_0x481ab6+0x3]=_0x585920;},'_doCryptBlock':function(_0x2ff3f6,_0x3cbc77,_0x47a807,_0x52185a,_0x522e9c,_0x152630,_0x5c6e5d,_0x137537){var _0x50b2a4=_0x291639;for(var _0x2e4448=this[_0x50b2a4(0x324)],_0x4f9d33=_0x2ff3f6[_0x3cbc77]^_0x47a807[0x0],_0x54e39e=_0x2ff3f6[_0x3cbc77+0x1]^_0x47a807[0x1],_0x3844ef=_0x2ff3f6[_0x3cbc77+0x2]^_0x47a807[0x2],_0x34c88b=_0x2ff3f6[_0x3cbc77+0x3]^_0x47a807[0x3],_0x5bba6a=0x4,_0x3facb1=0x1;_0x3facb1<_0x2e4448;_0x3facb1++){var _0x47fbee=_0x52185a[_0x4f9d33>>>0x18]^_0x522e9c[_0x54e39e>>>0x10&0xff]^_0x152630[_0x3844ef>>>0x8&0xff]^_0x5c6e5d[_0x34c88b&0xff]^_0x47a807[_0x5bba6a++],_0x3d352d=_0x52185a[_0x54e39e>>>0x18]^_0x522e9c[_0x3844ef>>>0x10&0xff]^_0x152630[_0x34c88b>>>0x8&0xff]^_0x5c6e5d[_0x4f9d33&0xff]^_0x47a807[_0x5bba6a++],_0x1271f4=_0x52185a[_0x3844ef>>>0x18]^_0x522e9c[_0x34c88b>>>0x10&0xff]^_0x152630[_0x4f9d33>>>0x8&0xff]^_0x5c6e5d[_0x54e39e&0xff]^_0x47a807[_0x5bba6a++],_0x133370=_0x52185a[_0x34c88b>>>0x18]^_0x522e9c[_0x4f9d33>>>0x10&0xff]^_0x152630[_0x54e39e>>>0x8&0xff]^_0x5c6e5d[_0x3844ef&0xff]^_0x47a807[_0x5bba6a++];_0x4f9d33=_0x47fbee,_0x54e39e=_0x3d352d,_0x3844ef=_0x1271f4,_0x34c88b=_0x133370;}var _0x47fbee=(_0x137537[_0x4f9d33>>>0x18]<<0x18|_0x137537[_0x54e39e>>>0x10&0xff]<<0x10|_0x137537[_0x3844ef>>>0x8&0xff]<<0x8|_0x137537[_0x34c88b&0xff])^_0x47a807[_0x5bba6a++],_0x3d352d=(_0x137537[_0x54e39e>>>0x18]<<0x18|_0x137537[_0x3844ef>>>0x10&0xff]<<0x10|_0x137537[_0x34c88b>>>0x8&0xff]<<0x8|_0x137537[_0x4f9d33&0xff])^_0x47a807[_0x5bba6a++],_0x1271f4=(_0x137537[_0x3844ef>>>0x18]<<0x18|_0x137537[_0x34c88b>>>0x10&0xff]<<0x10|_0x137537[_0x4f9d33>>>0x8&0xff]<<0x8|_0x137537[_0x54e39e&0xff])^_0x47a807[_0x5bba6a++],_0x133370=(_0x137537[_0x34c88b>>>0x18]<<0x18|_0x137537[_0x4f9d33>>>0x10&0xff]<<0x10|_0x137537[_0x54e39e>>>0x8&0xff]<<0x8|_0x137537[_0x3844ef&0xff])^_0x47a807[_0x5bba6a++];_0x2ff3f6[_0x3cbc77]=_0x47fbee,_0x2ff3f6[_0x3cbc77+0x1]=_0x3d352d,_0x2ff3f6[_0x3cbc77+0x2]=_0x1271f4,_0x2ff3f6[_0x3cbc77+0x3]=_0x133370;},'keySize':0x100/0x20});_0x57d56f[_0x291639(0x311)]=_0x564ebf[_0x291639(0x25b)](_0x3a2209);}()),_0xde54ae[_0x8bcc5(0x311)];}));}(Ve)),Ve[_0xe064f3(0x28a)];}var As=Us();const ws=He(As);var Ps=Di();const ri=He(Ps);var Xe={'exports':{}},Ls=Xe[_0x4bf5f3(0x28a)],ai;function Ms(){var _0x270bd2=_0x4bf5f3;return ai||(ai=0x1,function(_0x541221,_0x2a9061){(function(_0x279be6,_0x45232e){var _0xfa9955=_0x4b93;_0x541221[_0xfa9955(0x28a)]=_0x45232e(ie());}(Ls,function(_0x1b0271){var _0x3f1874=_0x4b93;return _0x1b0271['enc'][_0x3f1874(0x2df)];}));}(Xe)),Xe[_0x270bd2(0x28a)];}var xs=Ms();const ks=He(xs);var Ze={'exports':{}},$s=Ze[_0x4bf5f3(0x28a)],oi;function Hs(){var _0x2425f6=_0x4bf5f3;return oi||(oi=0x1,function(_0x35b61c,_0x2f9985){(function(_0x3b22f4,_0xcb3857){var _0x54988f=_0x4b93;_0x35b61c[_0x54988f(0x28a)]=_0xcb3857(ie());}($s,function(_0x1ff4ff){var _0xc8b472=_0x4b93;return(function(){var _0x299e2f=_0x4b93;if(typeof ArrayBuffer==_0x299e2f(0x1cf)){var _0x3fb246=_0x1ff4ff,_0x38ec63=_0x3fb246[_0x299e2f(0x3b0)],_0x5bc9d2=_0x38ec63[_0x299e2f(0x3e0)],_0x2415f5=_0x5bc9d2[_0x299e2f(0x358)],_0x5b61e0=_0x5bc9d2[_0x299e2f(0x358)]=function(_0x500135){var _0x3bbf45=_0x299e2f;if(_0x500135 instanceof ArrayBuffer&&(_0x500135=new Uint8Array(_0x500135)),(_0x500135 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x500135 instanceof Uint8ClampedArray||_0x500135 instanceof Int16Array||_0x500135 instanceof Uint16Array||_0x500135 instanceof Int32Array||_0x500135 instanceof Uint32Array||_0x500135 instanceof Float32Array||_0x500135 instanceof Float64Array)&&(_0x500135=new Uint8Array(_0x500135['buffer'],_0x500135[_0x3bbf45(0x221)],_0x500135[_0x3bbf45(0x16d)])),_0x500135 instanceof Uint8Array){for(var _0x43e162=_0x500135['byteLength'],_0x528dd5=[],_0x3935fc=0x0;_0x3935fc<_0x43e162;_0x3935fc++)_0x528dd5[_0x3935fc>>>0x2]|=_0x500135[_0x3935fc]<<0x18-_0x3935fc%0x4*0x8;_0x2415f5['call'](this,_0x528dd5,_0x43e162);}else _0x2415f5[_0x3bbf45(0x22f)](this,arguments);};_0x5b61e0[_0x299e2f(0x2b7)]=_0x5bc9d2;}}()),_0x1ff4ff[_0xc8b472(0x3b0)][_0xc8b472(0x3e0)];}));}(Ze)),Ze[_0x2425f6(0x28a)];}var Bs=Hs();const js=He(Bs);var Qe={'exports':{}},Fs=Qe[_0x4bf5f3(0x28a)],ci;function Vs(){return ci||(ci=0x1,function(_0x510120,_0x57693c){(function(_0x1e76a9,_0xca3648,_0x28d3d6){_0x510120['exports']=_0xca3648(ie(),Ai());}(Fs,function(_0x5399db){var _0x3296ae=_0x4b93;return _0x5399db['pad'][_0x3296ae(0x3b9)]={'pad':function(){},'unpad':function(){}},_0x5399db['pad'][_0x3296ae(0x3b9)];}));}(Qe)),Qe['exports'];}var Gs=Vs();const Ws=He(Gs);function Ys(_0x1b271e,_0x3257a0){var _0x399261=_0x4bf5f3;const _0x520b28=_0x3257a0-_0x1b271e[_0x399261(0x1ce)]%_0x3257a0,_0x3787a9=String['fromCharCode'](_0x520b28)[_0x399261(0x1fc)](_0x520b28);return _0x1b271e+_0x3787a9;}function Ks(_0x2e39fd,_0x57fd13){var _0xbe03ec=_0x4bf5f3;const _0x4b86a2=js[_0xbe03ec(0x188)](0x10),_0x100131=Ys(_0x2e39fd,0x10),_0x4f6812=ws['encrypt'](ks[_0xbe03ec(0x35b)](_0x100131),ri[_0xbe03ec(0x35b)](_0x57fd13),{'iv':_0x4b86a2,'padding':Ws});return _0x4b86a2[_0xbe03ec(0x3a7)](_0x4f6812[_0xbe03ec(0x1b4)])['toString'](ri);}function qs(){var _0x282f14=_0x4bf5f3;const _0x1e63b7=_0x4e2d16()[_0x282f14(0x26e)];if(_0x1e63b7){const _0x406531={'time':Math[_0x282f14(0x24d)](Date[_0x282f14(0x192)]()/0x3e8),'domain':location['hostname']};return Ks(JSON[_0x282f14(0x2ff)](_0x406531),_0x1e63b7);}}var zs=Object['getOwnPropertyDescriptor'],Js=(_0x1c33d7,_0x3f3d17,_0x2d29,_0x172d14)=>{var _0x14e2c5=_0x4bf5f3;for(var _0x363cf0=_0x172d14>0x1?void 0x0:_0x172d14?zs(_0x3f3d17,_0x2d29):_0x3f3d17,_0x37bbc7=_0x1c33d7[_0x14e2c5(0x1ce)]-0x1,_0x20c532;_0x37bbc7>=0x0;_0x37bbc7--)(_0x20c532=_0x1c33d7[_0x37bbc7])&&(_0x363cf0=_0x20c532(_0x363cf0)||_0x363cf0);return _0x363cf0;},Xs=(_0x384ba1,_0x4a1b68)=>(_0xca622b,_0x22c62b)=>_0x4a1b68(_0xca622b,_0x22c62b,_0x384ba1);let at=class{constructor(_0x3518e1){var _0x298c2a=_0x4bf5f3;this[_0x298c2a(0x3e9)]=_0x3518e1,this[_0x298c2a(0x26a)]();}[_0x4bf5f3(0x26a)](){var _0x2d00e9=_0x4bf5f3;this['_httpService'][_0x2d00e9(0x1e2)]({'interceptor':(_0x20bdbb,_0x4e61)=>{var _0x2ee157=_0x2d00e9;const _0x3df1d0=_0x20bdbb['headers'],_0x38b04f=qs();return _0x38b04f&&_0x3df1d0[_0x2ee157(0x393)](_0x2ee157(0x380),_0x38b04f),_0x4e61(_0x20bdbb);}});}};at=Js([Xs(0x0,_0x34c223(_0xdae5b))],at);var Zs=Object['getOwnPropertyDescriptor'],Qs=(_0x38c07b,_0x5e0541,_0x2febfa,_0x41e314)=>{for(var _0x44fb07=_0x41e314>0x1?void 0x0:_0x41e314?Zs(_0x5e0541,_0x2febfa):_0x5e0541,_0xb4b7ce=_0x38c07b['length']-0x1,_0xb6a450;_0xb4b7ce>=0x0;_0xb4b7ce--)(_0xb6a450=_0x38c07b[_0xb4b7ce])&&(_0x44fb07=_0xb6a450(_0x44fb07)||_0x44fb07);return _0x44fb07;},mt=(_0x1aadba,_0xe5c9a0)=>(_0x30fe39,_0x4d0676)=>_0xe5c9a0(_0x30fe39,_0x4d0676,_0x1aadba);let bt=class extends _0x358cae{constructor(_0x56549b,_0x200ead,_0x5e633c){var _0x45d040=_0x4bf5f3;super(),N(this,_0x45d040(0x1f2),new _0x25b128(null)),N(this,_0x45d040(0x371),this['_unitInfo$'][_0x45d040(0x2b5)]()),(this[_0x45d040(0x1a8)]=_0x56549b,this['_snapshotService']=_0x200ead,this[_0x45d040(0x2c4)]=_0x5e633c);}async[_0x4bf5f3(0x2cf)](_0x19292a,_0x4bf99f,_0x3c3c7b){var _0x16d7f4=_0x4bf5f3;this[_0x16d7f4(0x1f2)][_0x16d7f4(0x2a4)]({'unitId':_0x19292a,'type':_0x4bf99f,'subUnitId':_0x3c3c7b});let _0x3a5717=null;switch(_0x4bf99f){case Q[_0x16d7f4(0x1e7)]:{_0x3a5717=await this[_0x16d7f4(0x228)](_0x19292a);break;}case Q['UNIVER_DOC']:{_0x3a5717=await this['_loadDoc'](_0x19292a);break;}default:{this[_0x16d7f4(0x1a8)][_0x16d7f4(0x25d)](_0x16d7f4(0x17c),'Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');break;}}return _0x3a5717;}async['_loadSheet'](_0xe3d1e8){var _0x15e972=_0x4bf5f3,_0x12d8ee;let _0x2f4dfc=0x0;const _0x48a63d=await((_0x12d8ee=this[_0x15e972(0x2c4)])==null?void 0x0:_0x12d8ee['loadOfflineData'](_0xe3d1e8));return _0x48a63d&&(_0x48a63d[_0x15e972(0x379)]||_0x48a63d[_0x15e972(0x347)][_0x15e972(0x1ce)]!==0x0)&&(_0x2f4dfc=_0x48a63d[_0x15e972(0x3a1)]),_0x2f4dfc===0x0&&this[_0x15e972(0x1a8)][_0x15e972(0x145)]('[DataLoaderService]',_0x15e972(0x3bf)),this[_0x15e972(0x304)][_0x15e972(0x42f)](_0xe3d1e8,_0x2f4dfc);}async[_0x4bf5f3(0x408)](_0x4345bb){var _0x10fcc7=_0x4bf5f3,_0x53a469;let _0x1f0c60=0x0;const _0x5b41d6=await((_0x53a469=this[_0x10fcc7(0x2c4)])==null?void 0x0:_0x53a469[_0x10fcc7(0x431)](_0x4345bb));return _0x5b41d6&&(_0x5b41d6[_0x10fcc7(0x379)]||_0x5b41d6[_0x10fcc7(0x347)][_0x10fcc7(0x1ce)]!==0x0)&&(_0x1f0c60=_0x5b41d6['rev']),_0x1f0c60===0x0&&this['_logService'][_0x10fcc7(0x145)](_0x10fcc7(0x17c),_0x10fcc7(0x3bf)),this[_0x10fcc7(0x304)][_0x10fcc7(0x3ac)](_0x4345bb,_0x1f0c60);}};bt=Qs([mt(0x0,_0x15891c),mt(0x1,_0x34c223(_0x2c4377)),mt(0x2,_0x4af427(J))],bt);var er=Object[_0x4bf5f3(0x1f9)],tr=(_0x44d352,_0x4d5362,_0x490da2,_0x575047)=>{var _0x167c5b=_0x4bf5f3;for(var _0x3e401f=_0x575047>0x1?void 0x0:_0x575047?er(_0x4d5362,_0x490da2):_0x4d5362,_0xfd3d4=_0x44d352[_0x167c5b(0x1ce)]-0x1,_0x12eecd;_0xfd3d4>=0x0;_0xfd3d4--)(_0x12eecd=_0x44d352[_0xfd3d4])&&(_0x3e401f=_0x12eecd(_0x3e401f)||_0x3e401f);return _0x3e401f;},gt=(_0x46d3ca,_0x952801)=>(_0x535a2a,_0xadb346)=>_0x952801(_0x535a2a,_0xadb346,_0x46d3ca);const ir=['image/png',_0x4bf5f3(0x1c6),_0x4bf5f3(0x233),_0x4bf5f3(0x260),_0x4bf5f3(0x2c9)],nr=0x5*0x400*0x400,sr=_0x4bf5f3(0x23a),rr=_0x4bf5f3(0x36d),ar=_0x4bf5f3(0x350),or=_0x4bf5f3(0x372);let Ot=class{constructor(_0x49ffa4,_0x3c53c4,_0x1b5b42){var _0x57e2d5=_0x4bf5f3;N(this,_0x57e2d5(0x30b),0x0),N(this,_0x57e2d5(0x3fd),new _0x59dfe1()),N(this,'change$',this[_0x57e2d5(0x3fd)]),N(this,_0x57e2d5(0x244),new Map()),(this[_0x57e2d5(0x3e9)]=_0x49ffa4,this[_0x57e2d5(0x33b)]=_0x3c53c4,this[_0x57e2d5(0x155)]=_0x1b5b42);}['setWaitCount'](_0x34eb3b){var _0x50f004=_0x4bf5f3;this[_0x50f004(0x30b)]=_0x34eb3b,this[_0x50f004(0x3fd)]['next'](_0x34eb3b);}[_0x4bf5f3(0x19f)](_0x3b323f,_0x5ae370){var _0x53bd6e=_0x4bf5f3;if(_0x5ae370===_0x616b73[_0x53bd6e(0x130)]){const _0x14ddb4=new Image();return _0x14ddb4[_0x53bd6e(0x1aa)]=_0x3b323f,_0x14ddb4;}return this[_0x53bd6e(0x244)][_0x53bd6e(0x284)](_0x3b323f);}[_0x4bf5f3(0x34b)](_0xc676c1,_0x3a748e,_0x21e829){var _0x388c7b=_0x4bf5f3;_0x3a748e===_0x616b73['BASE64']||_0x21e829==null||this[_0x388c7b(0x244)][_0x388c7b(0x393)](_0xc676c1,_0x21e829);}async[_0x4bf5f3(0x309)](_0x2fa6c2){var _0x50d121=_0x4bf5f3;try{const _0x402685=this['_replaceFileID'](this[_0x50d121(0x363)](),''+_0x2fa6c2),_0x3a6f0f=(await this[_0x50d121(0x3e9)][_0x50d121(0x284)](_0x402685))[_0x50d121(0x257)];if(_0x3a6f0f[_0x50d121(0x25d)]&&_0x3a6f0f[_0x50d121(0x25d)][_0x50d121(0x226)]===Si['OK']){const _0x44fc32=new URL(_0x3a6f0f[_0x50d121(0x196)],this['_getDownloadEndpointURL']())[_0x50d121(0x2c2)]();return Promise['resolve'](_0x44fc32);}return Promise[_0x50d121(0x169)](_0x3a6f0f[_0x50d121(0x25d)]);}catch(_0x35e60b){return Promise['reject'](_0x35e60b);}}async[_0x4bf5f3(0x24e)](_0x1e6e81){var _0x3535e2=_0x4bf5f3;let _0x2b991d='';if(!ir[_0x3535e2(0x1b6)](_0x1e6e81[_0x3535e2(0x2c3)]))return this[_0x3535e2(0x135)](),Promise[_0x3535e2(0x169)](new Error(_0x585bd9[_0x3535e2(0x2fa)]));if(_0x1e6e81[_0x3535e2(0x1f5)]>nr)return this[_0x3535e2(0x135)](),Promise[_0x3535e2(0x169)](new Error(_0x585bd9['ERROR_EXCEED_SIZE']));try{const _0x221418=new FormData();_0x221418[_0x3535e2(0x15c)](_0x3535e2(0x157),_0x1e6e81);const _0x3cb3c5=this[_0x3535e2(0x155)][_0x3535e2(0x190)](),_0x2bfa14=_0x3cb3c5==null?void 0x0:_0x3cb3c5[_0x3535e2(0x42c)]();if(!_0x2bfa14)throw new Error(_0x3535e2(0x394));const _0x3adeb5=this[_0x3535e2(0x29f)]()+'?size='+_0x1e6e81[_0x3535e2(0x1f5)]['toString']()+_0x3535e2(0x420)+Ei['UnitEmbedded']+'&assign='+encodeURIComponent(_0x2bfa14),_0x11e1a5={'body':_0x221418},_0x56b8e9=(await this['_httpService'][_0x3535e2(0x263)](_0x3adeb5,_0x11e1a5))['body'];if(typeof _0x56b8e9[_0x3535e2(0x32f)]!='string')return this[_0x3535e2(0x135)](),Promise[_0x3535e2(0x169)](new Error(_0x585bd9[_0x3535e2(0x2ea)]));_0x2b991d=_0x56b8e9[_0x3535e2(0x32f)];}catch{return this[_0x3535e2(0x135)](),Promise[_0x3535e2(0x169)](new Error(_0x585bd9['ERROR_IMAGE']));}return new Promise((_0x9fafe3,_0x585844)=>{var _0x2abf3b=_0x3535e2;const _0x30d10a=new FileReader();_0x30d10a[_0x2abf3b(0x2dc)](_0x1e6e81),_0x30d10a['onload']=_0x32ab2f=>{var _0x5f15ee=_0x2abf3b,_0x18b044;const _0x9e4c0e=(_0x18b044=_0x32ab2f[_0x5f15ee(0x3c5)])==null?void 0x0:_0x18b044[_0x5f15ee(0x3c1)];if(_0x9e4c0e==null){this[_0x5f15ee(0x135)](),_0x585844(new Error(_0x585bd9['ERROR_IMAGE']));return;}const _0x28bcc4=_0x1a9c04[_0x5f15ee(0x3a2)](0x6);_0x9fafe3({'imageId':_0x28bcc4,'imageSourceType':_0x616b73['UUID'],'source':_0x2b991d,'base64Cache':_0x9e4c0e,'status':_0x585bd9['SUCCUSS']}),this[_0x5f15ee(0x135)]();};});}['_getUploadFileURL'](){var _0x51978c=_0x4bf5f3,_0x455c44,_0x86978;const _0x5adc52=this[_0x51978c(0x33b)][_0x51978c(0x243)](sr),_0x10f2f0=this[_0x51978c(0x33b)][_0x51978c(0x243)](q);return(_0x86978=(_0x455c44=_0x10f2f0==null?void 0x0:_0x10f2f0['uploadFileServerUrl'])!=null?_0x455c44:_0x5adc52)!=null?_0x86978:rr;}[_0x4bf5f3(0x363)](){var _0x3be51c=_0x4bf5f3,_0x39c6d9,_0x20cd3c;const _0x98fdb7=this[_0x3be51c(0x33b)]['getConfig'](ar),_0x53c664=this[_0x3be51c(0x33b)]['getConfig'](q);return(_0x20cd3c=(_0x39c6d9=_0x53c664==null?void 0x0:_0x53c664[_0x3be51c(0x2e3)])!=null?_0x39c6d9:_0x98fdb7)!=null?_0x20cd3c:or;}[_0x4bf5f3(0x2ac)](){var _0x89aea3=_0x4bf5f3,_0x17c3d1;const _0x28afc6=this[_0x89aea3(0x33b)][_0x89aea3(0x243)](q);return(_0x17c3d1=_0x28afc6==null?void 0x0:_0x28afc6[_0x89aea3(0x2ef)])!=null?_0x17c3d1:location[_0x89aea3(0x3f3)];}[_0x4bf5f3(0x1c2)](_0x574a0e,_0x2a27e7){var _0x444354=_0x4bf5f3;return _0x574a0e[_0x444354(0x132)](_0x444354(0x3a3),_0x2a27e7);}[_0x4bf5f3(0x135)](){var _0x422868=_0x4bf5f3;this[_0x422868(0x30b)]-=0x1,this[_0x422868(0x3fd)]['next'](this[_0x422868(0x30b)]);}};Ot=tr([gt(0x0,_0x34c223(_0xdae5b)),gt(0x1,_0x40de2c),gt(0x2,_0x34c223(_0x224a4c))],Ot);var cr=Object[_0x4bf5f3(0x1f9)],hr=(_0x475f53,_0x5e7c5f,_0x4fc950,_0x1a1c9e)=>{var _0x43b293=_0x4bf5f3;for(var _0x5683a7=_0x1a1c9e>0x1?void 0x0:_0x1a1c9e?cr(_0x5e7c5f,_0x4fc950):_0x5e7c5f,_0x26523c=_0x475f53[_0x43b293(0x1ce)]-0x1,_0x2f33fb;_0x26523c>=0x0;_0x26523c--)(_0x2f33fb=_0x475f53[_0x26523c])&&(_0x5683a7=_0x2f33fb(_0x5683a7)||_0x5683a7);return _0x5683a7;},hi=(_0x4e1c3d,_0x2917ad)=>(_0x1286fb,_0xfa47fa)=>_0x2917ad(_0x1286fb,_0xfa47fa,_0x4e1c3d);const _r=_0x4bf5f3(0x299);let yt=class{constructor(_0x46b080,_0xc02a0){var _0x15bd43=_0x4bf5f3;this[_0x15bd43(0x33b)]=_0x46b080,this[_0x15bd43(0x364)]=_0xc02a0;}[_0x4bf5f3(0x316)](){var _0x39f5d5=_0x4bf5f3,_0x92551,_0x5ecddf;const _0x287d8d=this[_0x39f5d5(0x33b)][_0x39f5d5(0x243)](Ni),_0x4d13d4=this[_0x39f5d5(0x33b)]['getConfig'](q);return(_0x5ecddf=(_0x92551=_0x4d13d4==null?void 0x0:_0x4d13d4[_0x39f5d5(0x217)])!=null?_0x92551:_0x287d8d)!=null?_0x5ecddf:_r;}async['list'](_0x6fb3a5){var _0xa329fd=_0x4bf5f3;const _0x1e004b=this[_0xa329fd(0x316)]()+_0xa329fd(0x289);return{'list':[{'title':_0xa329fd(0x1da),'mentions':(await this[_0xa329fd(0x364)][_0xa329fd(0x284)](_0x1e004b,{'params':{'objectID':_0x6fb3a5[_0xa329fd(0x18c)],'unitID':_0x6fb3a5[_0xa329fd(0x18c)]}}))[_0xa329fd(0x257)][_0xa329fd(0x366)][_0xa329fd(0x28b)](_0x595b88=>({'objectId':_0x595b88['id'],'name':_0x595b88['subject'][_0xa329fd(0x332)],'metadata':{'icon':_0x595b88[_0xa329fd(0x439)][_0xa329fd(0x27e)]},'label':_0x595b88[_0xa329fd(0x439)][_0xa329fd(0x332)],'objectType':_0x310988[_0xa329fd(0x386)]})),'metadata':{},'type':_0x310988[_0xa329fd(0x386)]}]};}};yt=hr([hi(0x0,_0x34c223(_0x40de2c)),hi(0x1,_0x34c223(_0xdae5b))],yt);var lr=Object[_0x4bf5f3(0x1f9)],ur=(_0x3fbc60,_0x4c0e9c,_0x23c224,_0x33307d)=>{var _0x485949=_0x4bf5f3;for(var _0x42dadc=_0x33307d>0x1?void 0x0:_0x33307d?lr(_0x4c0e9c,_0x23c224):_0x4c0e9c,_0x26923d=_0x3fbc60[_0x485949(0x1ce)]-0x1,_0x588324;_0x26923d>=0x0;_0x26923d--)(_0x588324=_0x3fbc60[_0x26923d])&&(_0x42dadc=_0x588324(_0x42dadc)||_0x42dadc);return _0x42dadc;},we=(_0x21a8e7,_0x1b1822)=>(_0x578c68,_0x55baa4)=>_0x1b1822(_0x578c68,_0x55baa4,_0x21a8e7);let ot=class extends _0x358cae{constructor(_0x3ce438,_0x291e02,_0x388e30,_0x280938,_0x5b882d){var _0x278ce6=_0x4bf5f3;super(),this[_0x278ce6(0x2ae)]=_0x3ce438,this[_0x278ce6(0x155)]=_0x291e02,this['_permissionService']=_0x388e30,this[_0x278ce6(0x224)]=_0x280938,this['_collaborationUIEventService']=_0x5b882d,this[_0x278ce6(0x2a0)](),this['_initCloseConn']();}[_0x4bf5f3(0x246)](){var _0x42b1f5=_0x4bf5f3;const _0x2a3cdd=async _0x127f62=>{var _0x29f255=_0x4b93;(await this[_0x29f255(0x224)][_0x29f255(0x424)](_0x127f62))[_0x29f255(0x213)][_0x29f255(0x334)](_0x5622b8(_0x532efd=>_0x532efd[_0x29f255(0x1bb)]===_0x165352[_0x29f255(0x16c)]),_0x4b36fe(this[_0x29f255(0x216)]))[_0x29f255(0x268)](_0x5a638d=>{var _0x23791c=_0x29f255;const _0x2e55e7=_0x5a638d,{reason:_0xd863dd}=_0x2e55e7[_0x23791c(0x3d1)];this['_collaborationUIEventService']['emitEvent']({'id':re[_0x23791c(0x17f)],'data':_0xd863dd}),this[_0x23791c(0x28c)][_0x23791c(0x43b)](new _0x5ec505(_0x127f62)['id'],!0x1),this['_collaborationSessionService'][_0x23791c(0x296)](_0x127f62);});};_0xee77e5(this[_0x42b1f5(0x155)][_0x42b1f5(0x1ba)](_0x4c2c15[_0x42b1f5(0x1e7)]),this[_0x42b1f5(0x155)][_0x42b1f5(0x1ba)](_0x4c2c15['UNIVER_DOC']))[_0x42b1f5(0x334)](_0x4cb1f4(_0x4a8ec4=>_0x4a8ec4[_0x42b1f5(0x42c)]()),_0x5622b8(_0xcd209d=>!_0x4d1454(_0xcd209d)),_0x4b36fe(this[_0x42b1f5(0x216)]))['subscribe'](_0x1944f9=>{_0x2a3cdd(_0x1944f9);});}[_0x4bf5f3(0x2a0)](){var _0x2b75ba=_0x4bf5f3;const _0x1e0847=async _0x5f4901=>{var _0x468980=_0x4b93;const _0x1b3f89=await this[_0x468980(0x224)][_0x468980(0x424)](_0x5f4901),_0x5b92c5=this['_injector'][_0x468980(0x284)](_0x424bba);_0x1b3f89[_0x468980(0x213)][_0x468980(0x334)](_0x5622b8(_0x48e158=>_0x48e158[_0x468980(0x1bb)]===_0x165352['UPDATE_PERMISSION_OBJ']),_0x4b36fe(this[_0x468980(0x216)]))[_0x468980(0x268)](_0x233adf=>{var _0x1e1766=_0x468980;const _0x354b9f=_0x233adf,{objectId:_0x484d7f}=_0x354b9f[_0x1e1766(0x3d1)];_0x484d7f===_0x5f4901?_0x5b92c5['initWorkbookPermissionChange'](_0x5f4901):_0x5b92c5[_0x1e1766(0x37f)](_0x5f4901,_0x484d7f);});};_0xee77e5(this[_0x2b75ba(0x155)][_0x2b75ba(0x1ba)](_0x4c2c15[_0x2b75ba(0x1e7)]))[_0x2b75ba(0x334)](_0x4cb1f4(_0x2b84df=>_0x2b84df[_0x2b75ba(0x42c)]()),_0x5622b8(_0x1203c6=>!_0x4d1454(_0x1203c6)),_0x4b36fe(this[_0x2b75ba(0x216)]))[_0x2b75ba(0x268)](_0x34abbf=>{_0x1e0847(_0x34abbf);});}};ot=ur([we(0x0,_0x34c223(_0x4bf894)),we(0x1,_0x224a4c),we(0x2,_0x5c3493),we(0x3,_0x34c223(Me)),we(0x4,_0x34c223(pe))],ot);var dr=Object[_0x4bf5f3(0x1f9)],fr=(_0x127db6,_0x450916,_0x1e4e58,_0x5c1748)=>{var _0x9aa800=_0x4bf5f3;for(var _0x3d2d75=_0x5c1748>0x1?void 0x0:_0x5c1748?dr(_0x450916,_0x1e4e58):_0x450916,_0x19b0d9=_0x127db6[_0x9aa800(0x1ce)]-0x1,_0x4e1fdb;_0x19b0d9>=0x0;_0x19b0d9--)(_0x4e1fdb=_0x127db6[_0x19b0d9])&&(_0x3d2d75=_0x4e1fdb(_0x3d2d75)||_0x3d2d75);return _0x3d2d75;},_i=(_0x4ecdb0,_0x2ba75c)=>(_0x330ccd,_0x380da2)=>_0x2ba75c(_0x330ccd,_0x380da2,_0x4ecdb0);let Nt=class{constructor(_0x2787b5,_0x183015){var _0x342795=_0x4bf5f3;this[_0x342795(0x33b)]=_0x2787b5,this[_0x342795(0x3e9)]=_0x183015;}async[_0x4bf5f3(0x313)](_0x309b10,_0x4b5055){var _0x453138=_0x4bf5f3,_0x53899f;const {unitID:_0x547e93,type:_0x160dd4,revision:_0xe01455=0x0}=_0x4b5055,_0x30f064=this[_0x453138(0x1a9)]()+'/'+_0x160dd4+'/unit/'+_0x547e93+'/rev/'+_0xe01455,_0x5c7b76=(await this['_httpService'][_0x453138(0x284)](_0x30f064))[_0x453138(0x257)],_0x10f523=(_0x53899f=_0x5c7b76[_0x453138(0x3ec)])==null?void 0x0:_0x53899f['workbook'];if(_0x10f523){const _0x1af0fa=_0x10f523==null?void 0x0:_0x10f523[_0x453138(0x400)],_0xf2a4da=_0xc61b18[_0x453138(0x134)](_0x4bd3cf(_0x1af0fa));_0x10f523['originalMeta']=_0xf2a4da,Object[_0x453138(0x2bb)](_0x10f523[_0x453138(0x329)])[_0x453138(0x266)](([,_0x3a70a7])=>{var _0x96715b=_0x453138;const _0x332dc0=_0x3a70a7['originalMeta'],_0x241d0c=_0xc61b18[_0x96715b(0x134)](_0x4bd3cf(_0x332dc0));_0x3a70a7['originalMeta']=_0x241d0c;});}return _0x5c7b76;}async[_0x4bf5f3(0x2d8)](_0x5e589f,_0x50f3cf){var _0x15c345=_0x4bf5f3;const {unitID:_0x18d43a,type:_0x248dbd,blockID:_0xd405fa}=_0x50f3cf,_0x415012=this[_0x15c345(0x13b)]()+'/'+_0x248dbd+'/unit/'+_0x18d43a+'/block/'+_0xd405fa;return(await this[_0x15c345(0x3e9)]['get'](_0x415012))[_0x15c345(0x257)];}async[_0x4bf5f3(0x352)](_0x5f5c89,_0x4c3229){var _0xd2faab=_0x4bf5f3;const {unitID:_0x411f27,type:_0x2fa23b,blockID:_0x2bfb6a}=_0x4c3229,_0x570baa=this[_0xd2faab(0x13b)]()+_0xd2faab(0x1c4)+_0x2fa23b+'/unit/'+_0x411f27+_0xd2faab(0x1c4)+_0x2bfb6a;return(await this['_httpService'][_0xd2faab(0x284)](_0x570baa))[_0xd2faab(0x257)];}async[_0x4bf5f3(0x3fc)](_0x2ede61,_0x3925f8){var _0x32abb5=_0x4bf5f3;const {unitID:_0x4aeb77,type:_0x2cc339,from:_0x41a2bf,to:_0x3fc5d4}=_0x3925f8,_0x492b48=this[_0x32abb5(0x13b)]()+'/'+_0x2cc339+_0x32abb5(0x3fb)+_0x4aeb77+'/fetchmissing?from='+_0x41a2bf+_0x32abb5(0x3c6)+_0x3fc5d4;return(await this['_httpService'][_0x32abb5(0x284)](_0x492b48))[_0x32abb5(0x257)];}[_0x4bf5f3(0x1a9)](){var _0x41c042=_0x4bf5f3,_0xbf54f5;return(_0xbf54f5=this[_0x41c042(0x33b)][_0x41c042(0x243)](Sn))!=null?_0xbf54f5:this['_getAPIPrefix']();}[_0x4bf5f3(0x13b)](){var _0x1d8332=_0x4bf5f3,_0x9c9fd6,_0x8f32be;const _0x44af55=this[_0x1d8332(0x33b)][_0x1d8332(0x243)](mn),_0x4a2497=this[_0x1d8332(0x33b)][_0x1d8332(0x243)](q);return(_0x8f32be=(_0x9c9fd6=_0x4a2497==null?void 0x0:_0x4a2497[_0x1d8332(0x1f3)])!=null?_0x9c9fd6:_0x44af55)!=null?_0x8f32be:gn;}async['getResourcesRequest'](_0x1954d8,_0xae9527){var _0x12509c=_0x4bf5f3;const _0x4be981=_0x12509c(0x376)+_0xae9527[_0x12509c(0x2c3)]+_0x12509c(0x3fb)+_0xae9527[_0x12509c(0x1ca)]+_0x12509c(0x16e);return(await this['_httpService']['get'](_0x4be981,{'params':{'resourceId':JSON[_0x12509c(0x2ff)](_0xae9527['resourceIDs'])}}))[_0x12509c(0x257)];}[_0x4bf5f3(0x193)](){var _0x13ba9b=_0x4bf5f3;throw new Error(_0x13ba9b(0x223));}[_0x4bf5f3(0x1f8)](){var _0x586ebf=_0x4bf5f3;throw new Error(_0x586ebf(0x223));}['saveChangeset'](){var _0x2a0c91=_0x4bf5f3;throw new Error(_0x2a0c91(0x223));}[_0x4bf5f3(0x162)](){var _0x425e1b=_0x4bf5f3;throw new Error(_0x425e1b(0x223));}[_0x4bf5f3(0x27c)](){var _0x5e837b=_0x4bf5f3;throw new Error(_0x5e837b(0x223));}};Nt=fr([_i(0x0,_0x40de2c),_i(0x1,_0x34c223(_0xdae5b))],Nt);var vr=Object[_0x4bf5f3(0x1f9)],pr=(_0x9c5e4b,_0x475d98,_0x2c9f39,_0x305fef)=>{var _0x48d15f=_0x4bf5f3;for(var _0x30e4c0=_0x305fef>0x1?void 0x0:_0x305fef?vr(_0x475d98,_0x2c9f39):_0x475d98,_0x4d48d2=_0x9c5e4b[_0x48d15f(0x1ce)]-0x1,_0x33bcda;_0x4d48d2>=0x0;_0x4d48d2--)(_0x33bcda=_0x9c5e4b[_0x4d48d2])&&(_0x30e4c0=_0x33bcda(_0x30e4c0)||_0x30e4c0);return _0x30e4c0;},Pe=(_0x2eba32,_0x365476)=>(_0x54ce22,_0x4bc9fc)=>_0x365476(_0x54ce22,_0x4bc9fc,_0x2eba32);let Dt=class extends _0x10afaa{constructor(_0x182e77,_0x5b404f,_0x4c178a,_0x4f5c6f,_0x187b2e){var _0x310600=_0x4bf5f3;super(_0x182e77,_0x5b404f,_0x4c178a),this[_0x310600(0x229)]=_0x4f5c6f,this[_0x310600(0x1a8)]=_0x187b2e;}[_0x4bf5f3(0x359)](_0x29e3c6,_0x9202f8){var _0x11d6f9=_0x4bf5f3;const _0x46f7fd=this[_0x11d6f9(0x335)](_0x29e3c6);if(_0x46f7fd)try{const _0x46f5ba=this[_0x11d6f9(0x32e)](_0x46f7fd,_0x9202f8);this['_substituteUndoStack'](_0x29e3c6,_0x46f5ba);}catch(_0xddccc3){this[_0x11d6f9(0x1a8)][_0x11d6f9(0x25d)](_0x11d6f9(0x174),_0xddccc3),this[_0x11d6f9(0x1d9)](_0x29e3c6);}const _0x242c1d=this[_0x11d6f9(0x3c3)](_0x29e3c6);if(_0x242c1d)try{const _0x22c9fc=this[_0x11d6f9(0x32e)](_0x242c1d,_0x9202f8);this[_0x11d6f9(0x3ba)](_0x29e3c6,_0x22c9fc);}catch(_0x3e2da9){this['_logService'][_0x11d6f9(0x25d)](_0x3e2da9),this[_0x11d6f9(0x207)](_0x29e3c6);}}[_0x4bf5f3(0x1d9)](_0x293e28){var _0x469d3a=_0x4bf5f3;const _0x2b55f6=this[_0x469d3a(0x335)](_0x293e28);_0x2b55f6&&(_0x2b55f6[_0x469d3a(0x1ce)]=0x0,this['_updateStatus']());}[_0x4bf5f3(0x207)](_0x38cbe8){var _0x3a5a8e=_0x4bf5f3;const _0x1398fe=this['_getRedoStack'](_0x38cbe8);_0x1398fe&&(_0x1398fe[_0x3a5a8e(0x1ce)]=0x0,this[_0x3a5a8e(0x328)]());}[_0x4bf5f3(0x232)](_0x4c39d6,_0x58a091){var _0x48e16a=_0x4bf5f3;this[_0x48e16a(0x16f)][_0x48e16a(0x393)](_0x4c39d6,_0x58a091),this[_0x48e16a(0x328)]();}[_0x4bf5f3(0x3ba)](_0x27ebb8,_0x2cd173){var _0x17675a=_0x4bf5f3;this[_0x17675a(0x1cb)]['set'](_0x27ebb8,_0x2cd173),this['_updateStatus']();}[_0x4bf5f3(0x32e)](_0x14f4e2,_0x112700){var _0x83b1d2=_0x4bf5f3;const _0x1ca21d=[];let _0x3c7750=_0x112700,_0x4fcdc4=_0x112700;for(let _0x94c2cd=_0x14f4e2[_0x83b1d2(0x1ce)]-0x1;_0x94c2cd>=0x0;_0x94c2cd--){const {unitID:_0x4ba1e2,undoMutations:_0x298fcc,redoMutations:_0x334f2c}=_0x14f4e2[_0x94c2cd],_0x3b2517=this['_transformService']['transformMutationsWithChangeset'](_0x3c7750,_0x298fcc),_0x1adb7e=this[_0x83b1d2(0x229)][_0x83b1d2(0x242)](_0x4fcdc4,_0x334f2c);if(_0x544cc2(_0x3b2517)||_0x544cc2(_0x1adb7e)){this[_0x83b1d2(0x1a8)]['error'](_0x83b1d2(0x174),_0x83b1d2(0x180),_0x3b2517,_0x1adb7e);break;}_0x3c7750=_0x3b2517[_0x83b1d2(0x173)],_0x4fcdc4=_0x1adb7e[_0x83b1d2(0x173)],_0x1ca21d[_0x83b1d2(0x369)]({'unitID':_0x4ba1e2,'undoMutations':_0x3b2517[_0x83b1d2(0x33e)],'redoMutations':_0x1adb7e[_0x83b1d2(0x33e)]});}return _0x1ca21d[_0x83b1d2(0x32d)]();}};Dt=pr([Pe(0x0,_0x224a4c),Pe(0x1,_0x2fcd18),Pe(0x2,_0x444a12),Pe(0x3,_0x358e5a),Pe(0x4,_0x15891c)],Dt);var mr=Object[_0x4bf5f3(0x249)],gr=Object[_0x4bf5f3(0x1f9)],Sr=(_0x540aa7,_0x1fb0a6,_0x46042a)=>_0x1fb0a6 in _0x540aa7?mr(_0x540aa7,_0x1fb0a6,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x46042a}):_0x540aa7[_0x1fb0a6]=_0x46042a,Er=(_0x3446c5,_0x4aaae4,_0x427988,_0x4df4cf)=>{var _0x3ae37e=_0x4bf5f3;for(var _0x1470bc=_0x4df4cf>0x1?void 0x0:_0x4df4cf?gr(_0x4aaae4,_0x427988):_0x4aaae4,_0x50ab9d=_0x3446c5[_0x3ae37e(0x1ce)]-0x1,_0x72ecbe;_0x50ab9d>=0x0;_0x50ab9d--)(_0x72ecbe=_0x3446c5[_0x50ab9d])&&(_0x1470bc=_0x72ecbe(_0x1470bc)||_0x1470bc);return _0x1470bc;},St=(_0xc38377,_0x31f73d)=>(_0x629801,_0x52e33b)=>_0x31f73d(_0x629801,_0x52e33b,_0xc38377),Ir=(_0x4523f2,_0x42ee23,_0x53b42f)=>Sr(_0x4523f2,_0x42ee23+'',_0x53b42f);const Tr=_0x4bf5f3(0x409);let Ut=class extends _0x1cae86{constructor(_0x4919e7,_0x2e4676,_0xed5e8b,_0x542eff){var _0x6d3368=_0x4bf5f3;super(),N(this,_0x6d3368(0x438)),(this[_0x6d3368(0x1a8)]=_0x2e4676,this[_0x6d3368(0x2ae)]=_0xed5e8b,this[_0x6d3368(0x33b)]=_0x542eff);const {..._0x2884e1}=_0x3c31d5({},wn,_0x4919e7);if(!_0x2884e1[_0x6d3368(0x38b)])throw new Error(_0x6d3368(0x291));this['_config']=_0x2884e1,this[_0x6d3368(0x33b)]['setConfig'](q,_0x2884e1);}[_0x4bf5f3(0x2b6)](){var _0x305ae5=_0x4bf5f3;this[_0x305ae5(0x2bc)](),this[_0x305ae5(0x3a0)]();}['_registerDependencies'](){var _0x2fc56d=_0x4bf5f3,_0x3b35ea,_0x4eeae2;this[_0x2fc56d(0x2ae)][_0x2fc56d(0x248)](_0x46d797)&&this['_logService'][_0x2fc56d(0x25d)](_0x2fc56d(0x280),_0x2fc56d(0x437));const _0x463cb7=_0x51a582([[_0x46d797,{'useClass':Dt}],[Me],[Le],[it],[rt],[at],[Ti],[ot],[pe],[bt],[Ii,{'useClass':this[_0x2fc56d(0x438)]['socketService']}],[_0x521343,{'useClass':Nt}],[_0x4b86b6,{'useClass':Rt}],[_0x289bd1,{'useClass':Ot}],[_0x1c75c4,{'useClass':yt}],[st],[Ct]],(_0x3b35ea=this[_0x2fc56d(0x438)])==null?void 0x0:_0x3b35ea[_0x2fc56d(0x3e2)]);if(!((_0x4eeae2=this[_0x2fc56d(0x438)])!=null&&_0x4eeae2[_0x2fc56d(0x1a0)])){const _0xbe0db2=_0x463cb7['findIndex'](([_0x1bc920])=>_0x1bc920===ht);_0xbe0db2!==-0x1&&_0x463cb7['splice'](_0xbe0db2,0x1);}_0xd39a3f(this['_injector'],_0x463cb7);}[_0x4bf5f3(0x3a0)](){var _0x15e369=_0x4bf5f3,_0x93b820,_0x2a936e,_0x35fedd;this['_injector'][_0x15e369(0x284)](_0xdae5b)[_0x15e369(0x1e2)]({'priority':0x14,'interceptor':_0x1f4159({'maxParallel':0x6})}),(_0x93b820=this[_0x15e369(0x438)])!=null&&_0x93b820['enableOfflineEditing']||(_0x2a936e=this['_injector'][_0x15e369(0x284)](J,_0x1623cf['OPTIONAL']))==null||_0x2a936e['disableLocalCache'](),(_0x35fedd=this[_0x15e369(0x438)])!=null&&_0x35fedd[_0x15e369(0x2b9)]&&_0x8bb584(this[_0x15e369(0x2ae)],[[rt]]),_0x8bb584(this[_0x15e369(0x2ae)],[[at],[st],[ot]]);}};Ir(Ut,_0x4bf5f3(0x212),Tr),Ut=Er([_0x539f2d(_0x2b00c3,_0x15a4cc),St(0x1,_0x15891c),St(0x2,_0x34c223(_0x4bf894)),St(0x3,_0x40de2c)],Ut);export{Ni as AUTHZ_URL_KEY,Rt as AuthzIoHttpService,le as AwaitingState,oe as AwaitingWithPendingState,q as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,Nn as COLLAB_SUBMIT_CHANGESET_URL_KEY,In as COLLAB_WEB_SOCKET_URL_KEY,st as CollaborationController,nt as CollaborationEntity,Ot as CollaborationImageIoService,Et as CollaborationSession,Me 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,Mr 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,xr as LOCAL_CACHE_INTERVAL_KEY,Un as LOGIN_URL_KEY,Le as MemberService,yt as MentionIoHttpService,de as OfflineState,ae as PendingState,$r as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,On as RETRY_CONNECTING_MAX_COUNT_KEY,Lr as SEND_CHANGESET_TIMEOUT_KEY,mn as SNAPSHOT_SERVER_URL_KEY,Sn as SNAPSHOT_URL_KEY,Ee as SessionStatus,Tt as SheetCollaborationEntity,it as SheetTransformSelectionsService,Nt as SnapshotServerOverHTTPService,Ne as SyncedState,Ci as UnitStatus,Ut as UniverCollaborationClientPlugin,Ln as deserializeToCombResponse,Br as getLocalCacheKey,Mn as serializeCombRequest};
|
1
|
+
var _0x122a43=_0x1002;(function(_0x464ea4,_0x2c0485){var _0xbb308e=_0x1002,_0x4b956b=_0x464ea4();while(!![]){try{var _0x122d45=-parseInt(_0xbb308e(0x1b8))/0x1+parseInt(_0xbb308e(0x1d0))/0x2*(-parseInt(_0xbb308e(0x400))/0x3)+-parseInt(_0xbb308e(0x212))/0x4+parseInt(_0xbb308e(0x25e))/0x5*(-parseInt(_0xbb308e(0x1ea))/0x6)+parseInt(_0xbb308e(0x3cb))/0x7*(-parseInt(_0xbb308e(0x393))/0x8)+-parseInt(_0xbb308e(0x3e4))/0x9*(-parseInt(_0xbb308e(0x236))/0xa)+parseInt(_0xbb308e(0x199))/0xb;if(_0x122d45===_0x2c0485)break;else _0x4b956b['push'](_0x4b956b['shift']());}catch(_0x3d44b6){_0x4b956b['push'](_0x4b956b['shift']());}}}(_0x2d3c,0x1fd3d));var wi=Object[_0x122a43(0x457)],Pi=(_0x4e51bb,_0x3750f0,_0x3ff5fe)=>_0x3750f0 in _0x4e51bb?wi(_0x4e51bb,_0x3750f0,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3ff5fe}):_0x4e51bb[_0x3750f0]=_0x3ff5fe,N=(_0x2298ed,_0x25fffa,_0xe14994)=>Pi(_0x2298ed,typeof _0x25fffa!=_0x122a43(0x3e0)?_0x25fffa+'':_0x25fffa,_0xe14994);import{createIdentifier as _0x479abf,Inject as _0xed7601,Injector as _0x4a4e75,IConfigService as _0x47e68f,ILogService as _0x10a457,Disposable as _0x15d6f2,DisposableCollection as _0x3443db,toDisposable as _0x583711,IUniverInstanceService as _0x286933,UserManagerService as _0x247b0c,UniverInstanceType as _0x56161c,LocaleService as _0x50b3d3,Optional as _0x5c24ee,RxDisposable as _0x4237d9,Tools as _0x23c90b,Rectangle as _0x5e5c28,ICommandService as _0x4f8580,JSONX as _0x214f14,CommandType as _0x111dc5,IUndoRedoService as _0x3776e6,IPermissionService as _0x4a395b,sequenceExecute as _0x47c77e,Workbook as _0xbcdf05,MentionType as _0x162f71,isInternalEditorID as _0x139dcb,LocalUndoRedoService as _0x10f0ba,IContextService as _0x1e8870,DependentOn as _0x40be72,Plugin as _0x3d910d,merge as _0x1b84ab,mergeOverrideWithDependencies as _0xd9e673,IAuthzIoService as _0x3a7644,IMentionIOService as _0x368e7c,registerDependencies as _0xc5d8ae,Quantity as _0x15675e,touchDependencies as _0x46a26f}from'@univerjs/core';import{Subject as _0x49ffbf,merge as _0x3a1ff0,of as _0x224870,BehaviorSubject as _0x5d5193,takeUntil as _0x595e25,ReplaySubject as _0x34d8ae,take as _0x32b636,map as _0x586b11,shareReplay as _0x9fbece,firstValueFrom as _0x2f684e,concatMap as _0x5eb990}from'rxjs';import{map as _0x3dbda7,take as _0x5a6182,filter as _0x269564,delay as _0x592fb8,takeUntil as _0x2308ab}from'rxjs/operators';import{CollaborationEvent as _0x798757,ISnapshotServerService as _0x54b3bc,parseChangesetToProtocol as _0xc6829e,ITransformService as _0x70853b,isTransformMutationsWithChangesetSuccess as _0xe153d7,mapDocumentTypeToUniverType as _0x3ca39a,RevisionService as _0x459bd5,isTransformChangesetsSuccess as _0x585044,CompressMutationService as _0xef6c1a,parseProtocolChangeset as _0x5d01aa,SnapshotService as _0x5378e5,textEncoder as _0x28e516,b64DecodeUnicode as _0x2b4668,isTransformMutationsWithChangesetFailure as _0x4a008b,UniverCollaborationPlugin as _0x933887}from'@univerjs-pro/collaboration';import{HTTPService as _0x5dce4f,ISocketService as _0x3518c6,MergeInterceptorFactory as _0x4d4c4c,HTTPRequest as _0x5dc3e4,UniverNetworkPlugin as _0x3ab90f,ThresholdInterceptorFactory as _0x54e632}from'@univerjs/network';import{ITelemetryService as _0x2ef224}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x55fe13}from'@univerjs/docs';import{SheetsSelectionsService as _0x11385a,SetSelectionsOperation as _0x1bc253,InsertSheetMutation as _0x2bb591,EmptyMutation as _0x97bcc1,WorkbookEditablePermission as _0x440c0c,SheetPermissionInitController as _0x40c45b}from'@univerjs/sheets';import{ImageSourceType as _0x31ccf6,ImageUploadStatusType as _0x29bf79,IImageIoService as _0x1b0d45}from'@univerjs/drawing';import{getGlobalObject as _0x561159}from'@univerjs-pro/license';const mn=_0x122a43(0x22a),gn=_0x122a43(0x189),Sn='SNAPSHOT_URL_KEY',Lr=_0x122a43(0x1c1),En=0x7d0,In=_0x122a43(0x26c),Tn=_0x122a43(0x28f),Mr='/universer-api/user/session-ticket',Cn=_0x122a43(0x3b6),Rn=0x7530,mi=_0x122a43(0x24d),gi=0x4e20,bn=0x4e20,On=_0x122a43(0x1ae),yn=0x3,xr=_0x122a43(0x305),kr=0x3e8,Nn=_0x122a43(0x2f8),Dn=_0x122a43(0x3f8),Un='LOGIN_URL_KEY',An=_0x122a43(0x1f8),$r=_0x122a43(0x44d),Hr=_0x122a43(0x296);var Si=(_0x25b681=>(_0x25b681[_0x25b681[_0x122a43(0x286)]=0x0]='UNDEFINED',_0x25b681[_0x25b681['OK']=0x1]='OK',_0x25b681[_0x25b681[_0x122a43(0x41a)]=0x2]=_0x122a43(0x41a),_0x25b681[_0x25b681[_0x122a43(0x3fb)]=0x3]=_0x122a43(0x3fb),_0x25b681[_0x25b681['NOT_FOUND']=0x4]='NOT_FOUND',_0x25b681[_0x25b681[_0x122a43(0x38b)]=0x5]=_0x122a43(0x38b),_0x25b681[_0x25b681[_0x122a43(0x1e0)]=0x6]='ALREADY_EXISTS',_0x25b681[_0x25b681[_0x122a43(0x1ba)]=0x7]=_0x122a43(0x1ba),_0x25b681[_0x25b681[_0x122a43(0x41d)]=0x8]=_0x122a43(0x41d),_0x25b681[_0x25b681[_0x122a43(0x3c5)]=0x9]='COMPLETION_FINISHED',_0x25b681[_0x25b681['LOGIN_FAILED']=0xa]=_0x122a43(0x301),_0x25b681[_0x25b681[_0x122a43(0x2d9)]=0x1389]=_0x122a43(0x2d9),_0x25b681[_0x25b681[_0x122a43(0x273)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x25b681[_0x25b681[_0x122a43(0x482)]=0x1772]=_0x122a43(0x482),_0x25b681[_0x25b681['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x122a43(0x2a8),_0x25b681[_0x25b681[_0x122a43(0x1fe)]=0x1b59]=_0x122a43(0x1fe),_0x25b681[_0x25b681[_0x122a43(0x35e)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x25b681[_0x25b681[_0x122a43(0x202)]=0x1b5b]=_0x122a43(0x202),_0x25b681[_0x25b681[_0x122a43(0x310)]=0x1b5c]=_0x122a43(0x310),_0x25b681[_0x25b681[_0x122a43(0x461)]=0x1b5d]='APPLY_DUPLICATED',_0x25b681[_0x25b681[_0x122a43(0x2cf)]=0x1f41]=_0x122a43(0x2cf),_0x25b681[_0x25b681[_0x122a43(0x285)]=0x2329]=_0x122a43(0x285),_0x25b681[_0x25b681['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x122a43(0x28d),_0x25b681[_0x25b681[_0x122a43(0x186)]=0x232b]=_0x122a43(0x186),_0x25b681[_0x25b681[_0x122a43(0x225)]=0x232c]=_0x122a43(0x225),_0x25b681[_0x25b681[_0x122a43(0x26b)]=0x232d]=_0x122a43(0x26b),_0x25b681[_0x25b681[_0x122a43(0x3d4)]=0x2711]=_0x122a43(0x3d4),_0x25b681[_0x25b681[_0x122a43(0x295)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x25b681[_0x25b681[_0x122a43(0x2ab)]=0x2713]=_0x122a43(0x2ab),_0x25b681[_0x25b681[_0x122a43(0x45d)]=0x2714]=_0x122a43(0x45d),_0x25b681[_0x25b681[_0x122a43(0x198)]=0x271a]=_0x122a43(0x198),_0x25b681[_0x25b681[_0x122a43(0x1c9)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x25b681[_0x25b681[_0x122a43(0x333)]=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x25b681[_0x25b681['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]=_0x122a43(0x36d),_0x25b681[_0x25b681[_0x122a43(0x462)]=0x271e]=_0x122a43(0x462),_0x25b681[_0x25b681[_0x122a43(0x230)]=0x271f]=_0x122a43(0x230),_0x25b681[_0x25b681[_0x122a43(0x290)]=0x2af9]=_0x122a43(0x290),_0x25b681[_0x25b681[_0x122a43(0x278)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x25b681[_0x25b681[_0x122a43(0x1d6)]=0x2ee2]='INVALID_INVITE_CODE',_0x25b681[_0x25b681['INVITE_CODE_REQUIRED']=0x2ee3]=_0x122a43(0x359),_0x25b681[_0x25b681['USER_NOT_INVITED_CODE']=0x2ee4]=_0x122a43(0x1bd),_0x25b681[_0x25b681[_0x122a43(0x3a3)]=0x2ee5]=_0x122a43(0x3a3),_0x25b681[_0x25b681[_0x122a43(0x387)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x25b681[_0x25b681[_0x122a43(0x398)]=0x32ca]=_0x122a43(0x398),_0x25b681[_0x25b681[_0x122a43(0x2f1)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x25b681[_0x25b681[_0x122a43(0x38e)]=-0x1]=_0x122a43(0x38e),_0x25b681))(Si||{}),Q=(_0x4026ca=>(_0x4026ca[_0x4026ca[_0x122a43(0x1a5)]=0x0]=_0x122a43(0x1a5),_0x4026ca[_0x4026ca['UNIVER_DOC']=0x1]=_0x122a43(0x29a),_0x4026ca[_0x4026ca[_0x122a43(0x36b)]=0x2]=_0x122a43(0x36b),_0x4026ca[_0x4026ca[_0x122a43(0x23d)]=0x3]=_0x122a43(0x23d),_0x4026ca[_0x4026ca['UNIVER_PROJECT']=0x4]=_0x122a43(0x266),_0x4026ca[_0x4026ca[_0x122a43(0x38e)]=-0x1]=_0x122a43(0x38e),_0x4026ca))(Q||{}),F=(_0x3b5558=>(_0x3b5558[_0x3b5558[_0x122a43(0x1a1)]=0x0]=_0x122a43(0x1a1),_0x3b5558[_0x3b5558['HELLO']=0x1]=_0x122a43(0x23c),_0x3b5558[_0x3b5558[_0x122a43(0x1ff)]=0x2]=_0x122a43(0x1ff),_0x3b5558[_0x3b5558['LEAVE']=0x3]=_0x122a43(0x323),_0x3b5558[_0x3b5558['INGEST']=0x4]=_0x122a43(0x391),_0x3b5558[_0x3b5558[_0x122a43(0x42e)]=0x5]=_0x122a43(0x42e),_0x3b5558[_0x3b5558[_0x122a43(0x34f)]=0x6]='RECV',_0x3b5558[_0x3b5558[_0x122a43(0x38e)]=-0x1]=_0x122a43(0x38e),_0x3b5558))(F||{}),ge=(_0x21a2f2=>(_0x21a2f2[_0x21a2f2[_0x122a43(0x2e2)]=0x0]='UNKNOWN_CODE',_0x21a2f2[_0x21a2f2['OK']=0x1]='OK',_0x21a2f2[_0x21a2f2['FAIL']=0x2]=_0x122a43(0x1b1),_0x21a2f2[_0x21a2f2[_0x122a43(0x3c1)]=0x3e9]=_0x122a43(0x3c1),_0x21a2f2[_0x21a2f2[_0x122a43(0x2b8)]=0x3ea]='JOIN_ROOM_NOT_EXISTS',_0x21a2f2[_0x21a2f2[_0x122a43(0x1e5)]=0x3eb]='JOIN_ROOM_PERMISSION_DENIED',_0x21a2f2[_0x21a2f2[_0x122a43(0x2c1)]=0x3ec]=_0x122a43(0x2c1),_0x21a2f2[_0x21a2f2[_0x122a43(0x38e)]=-0x1]='UNRECOGNIZED',_0x21a2f2))(ge||{}),Ei=(_0x5c1b7d=>(_0x5c1b7d[_0x5c1b7d['Undefined']=0x0]=_0x122a43(0x1cf),_0x5c1b7d[_0x5c1b7d[_0x122a43(0x46d)]=0x1]='HttpImport',_0x5c1b7d[_0x5c1b7d[_0x122a43(0x1f6)]=0x2]='HttpExport',_0x5c1b7d[_0x5c1b7d[_0x122a43(0x383)]=0x3]=_0x122a43(0x383),_0x5c1b7d[_0x5c1b7d['UnitSnapshot']=0x4]=_0x122a43(0x458),_0x5c1b7d[_0x5c1b7d['UserProfileImg']=0x5]=_0x122a43(0x438),_0x5c1b7d[_0x5c1b7d[_0x122a43(0x38e)]=-0x1]=_0x122a43(0x38e),_0x5c1b7d))(Ei||{});const q=_0x122a43(0x3f4),wn={};function _0x2d3c(){var _0x3a9893=['This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','OTHER_CLIENT_EDITING','_roomMembers','Malformed\x20UTF-8\x20data','/new_changes','/block/','[DataLoaderService]','override','extend','SOCKET_FAILED','algo','Encryptor','LEAVE','updateMember','POST','_getAPIPrefix','_reverseMap','[OfflineState]:\x20received\x20changeset.','executeCommand','clone','length','/allowed','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','_snapshotService','image/bmp','hasOwnProperty','entityInit$','_tryEnsureSocket','YUUMI_TABLE_NOT_FOUND_IN_UNIT','function','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','sigBytes','_waitForHeartbeatResponse','baseRev','_joinRoom','LIVESHARE_FETCH_OPERATIONS','_transitionLocked','_clearUndo','hostname','NEW_CHANGESETS','_clearRedo','OFFLINE','[CollaborationSessionService]','_collaborationTimeoutTimer','getSheetId','now','eventID','LIVESHARE_OPERATION','OTHER_CLIENTS_EDITING','Hasher','localCacheService','getCurrentRevOfUnit','_listenToNetworkCondition','_mode','loadOfflineData','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','RECV','getCollabEntity$','getCurrentSelections','session.room-cnt-exceeds','_clearTimeoutTimer','FileId','/fetchmissing?from=','getMember','\x20-\x20','_append','INVITE_CODE_REQUIRED','kdf','_revisionService','capture','_commandService','APPLY_NON_SEQUENTIAL_REVISION','?size=','_parse','_invKeySchedule','clear','_isPermissionRej','_emitMembers','EvpKDF','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','OpenSSL','debug','collaboratorID','then','UNIVER_SHEET','CONFLICT','YUUMI_ALL_TABLES_IS_INVALID','SerializableCipher','changesets','originalMeta','collaboration-client.local-cache-service','registerHTTPInterceptor','c2Prime','enableSingleActiveInstanceLock','onTransformRemoteChangesetByIMECache','reject','size','BufferedBlockAlgorithm','_userManagerService','_createHelper','action','_substituteUndoStack','_iv','withCredentials','Utf8','setShowComponents','CLOSE_ROOM','/resources','UnitEmbedded','sid','deleteCollaborator','keySize','WECHAT_HAS_BEEN_BOUND','_retryCount','_queuedRemoteChangesets','compose','UNAUTHENTICATED','createInstance','_singleActiveUnitService','UNRECOGNIZED','removeMember','map','INGEST','_nRounds','7592mmttUT','fetchThroughInterceptors','data','LIVESHARE_NEW_HOST','_onJoinRoomEvent','MOBILE_HAS_BEEN_BOUND','SHOULD_CLOSE_CONN','_applyRemoteChangeset','_incrementRevisionNumber','/universer-api/authz','charCodeAt','find','fromCollab','equals','_memberService','onRemoteRej','INVITE_CODE_ALREADY_BOUND','url','stringify','LIVESHARE_TERMINATE','subUnitId','splice','getLatestCsReqIdBySid','/universer-api/file/{fileID}/sign-url','fetching\x20missing\x20changesets\x20from\x20','join','saveImage','ERROR_EXCEED_SIZE','_hasher','_lockTransition','COMPRESS_MUTATION_SEND','exports','csAckEvent','Hex','_shouldReportTelemetry','HEARTBEAT_INTERVAL','FETCH_MISS','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','sessionStatus$','&source=','blockSize','_unitID','getOwnPropertyDescriptor','_pendingMutations','_removeRoom','parse','JOIN_ROOM_FULL','_updateStatus','getUnitType','_getLoginPath','COMPLETION_FINISHED','_roomCreated$','_transformService','_sessionStatus$','[OfflineState]:\x20received\x20acknowledgement.','/collaborator','539GZvNcj','filter','_transformStack','_socketMessageSubscription','HmacMD5','updateCursorEvent','&to=','snapshot','USERS_ENTER','YUUMI_UNABLE_LOAD_URL','_localeService','auth.needGotoLoginAlert','open$','createEncryptor','_members$','_checkMissing','fetch_missing','collabWebSocketUrl','format','[CollaborationState]:\x20apply\x20error!','online$','symbol','msCrypto','onCommentUpdate','_collabSessionService','9FPFpLh','_resendTimer','random','location','_keyPriorReset','SUBMIT_CHANGESET_TIMEOUT','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','USERS_LEAVE','_getDownloadEndpointURL','_onUserJoin','unitId','csShouldRetryEvent','transformMutationsWithChangeset','awaiting','getValue','_getUploadFileURL','collaboration-client.config','default','every','confirm','/universer-api/comb','ciphertext','origin','PERMISSION_DENIED','toggleOffline','_doCryptBlock','_onOffline','\x0aCurrent:\x20','448689blpLZE','_changesetSessionId','prototype','state$','People','collaborators','_instanceService','setConfig','PSEUDO_FETCH_MISSING_RESULT','onSyncEditingCollabCursor','objectID','getTime','_initDependencies','[SyncedState]:\x20received\x20rejection.','[CollaborationSession]','enableOfflineEditing','stopTime','_resendTimeout','_nDataBytes','_socket$','getTypeOfUnitDisposed$','from','floor','reverse','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','Error\x20on\x20receiving\x20event','INTERNAL_ERROR','post','uniscriptRunEvent','TOO_MANY_REQUESTS','lib','uploadFileServerUrl','add','session.room-not-exists','COMPRESS_MUTATION_APPLY','selections','[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.','__esModule','pending','PENDING','unsubscribe','transformChangesets','resolve','closeSession','_unitInfo$','PERMISSION_REJ','HEARTBEAT','_createHandler','reduce','key','_startTelemetryCollaborationNewChangeset','_onRemoteACK','Decryptor','isPermissionRej','_rescheduleHeartbeat','status$','UserProfileImg','_entities','_event$','_unlockTransition','_initRequestHeader','_changesetReqId','iterations','_getCurrentRevision','_localCacheService','_stopTelemetryCollaborationNewChangeset','[PendingState]:\x20unhandled\x20univer\x20type:\x20','onRemoteRetry','slice','listCollaborators','_imageSourceCache','encodeURIComponent','_data','_clearRetryConnectingTimer','_collaborationUIEventService','delete','UNISCRIPT_RUN','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_networkConditionService','COMMENT_UPDATE','UNIVER_COLLABORATION_CLIENT_PLUGIN','_commentService','_iKey','PERSON','code','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','downloadEndpointUrl','defineProperty','UnitSnapshot','transformSelections','onTransformIME','initWorkbookPermissionChange','commentUpdate$','YUUMI_SUBSCRIPTION_NOT_FOUND','editing\x20status\x20changed\x20to','_init','encrypt','APPLY_DUPLICATED','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','MSG_FOR_ERROR','min','NoPadding','responseType','/-/object/list','_remoteChangesetQueue','Failed\x20to\x20update\x20permission\x20point','signUrlServerUrl','get','apply','HttpImport','_config','refreshPermission','collaMsg','_sender','localeService','joinEvent','SUBMIT_CHANGESET','_clearCollaborationTimeoutTimer','_prevBlock','formatter','headers','session','forEach','concat','reconnect','_transformRemoteChangesetByStateCache','synced','state','next','onSendChangeset','SNAPSHOT_HAS_BEEN_REMOVED','_doProcessBlock','save\x20fail\x20reason\x20is\x20','_change$','_snapshotServerService','_injector','revision','readyForCollab','_onConnectionFailed','permissionRejEvent','LICENSE_IMPORT_SIZE_EXCEEDED','pad','_fetchMissChangesets','/universer-api/snapshot','_sendingTimer','roles','_commentUpdate$','_httpService','_registerDependencies','ERROR_IMAGE_TYPE','_clearScheduledTask','userID','duration','conflict','_getSignURL','mutations','_sendHeartbeatTimer','loadSheet','YUUMI_NO_CUBOID_FOR_QUESTION','9745406uMgRlP','[UniverCollaborationClientPlugin]','getUnitStatus$','fetchMiss','saveChangeset','saveSnapshot','_transformStateCache','_doFinalize','UNKNOWN_CMD','onTransformSelections','abs','copyFileMeta','UNIVER_UNKNOWN','Random\x20bytes\x20length\x20must\x20be\x20>=\x2016','_waitCount','_getAPIPrefixPath','_clearLocalCache','liveShareNewHost','byteLength','[OfflineState]:\x20received\x20rejection.','salt','RETRY_CONNECTING_MAX_COUNT','encryptBlock','connection\x20error','FAIL','_sheetTransformSelectionsService','getAllMembers','_toggleOnline','execute','_initUnitPermissionChange','JOINING','194481MNfHvq','resend','INVALID_ARGUMENT','/unit/','_HTTPService','USER_NOT_INVITED_CODE','mixIn','Pkcs7','_awaitingChangeset','SEND_CHANGESET_TIMEOUT','toString','disableLocalCache','/-/object/-/batch_allowed','getCollabEntity','_telemetryService','StreamCipher','resourceIDs','YUUMI_ASYNCIO_CANCELLED','cmd','_configService','Latin1','Base','_onRemoteChangeset','Undefined','2yXbaCJ','encode','range','shouldCloseConn','emitEvent','randomUUID','INVALID_INVITE_CODE','_handler','set','_onCombEvent','generateRandomId','setCurrentUser','_getRedoStack','onRemoteAck','repeat','_initCloseConn','ALREADY_EXISTS','_onConflict','dispose$','_undoRedoService','rev','JOIN_ROOM_PERMISSION_DENIED','_transformRemoteChangesetByIMECache','_getUndoStack','unitInfo$','ERROR_IMAGE','60474bajXzp','updatePermissionPoint','put','_submitChangeset','getTypeOfUnitAdded$','awaitingChangeset','_resendWithTimeout','_collaborationSessionService','_hash','SHA1','interceptor','result','HttpExport','entries','/universer-api/oidc/authpage','fromCharCode','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','onRemoteChangeset','[PendingState]:\x20received\x20rejection.','event$','APPLY_REJECT','JOIN','textRanges','reset','APPLY_REVISION_CONFILICT','onMissedChangesetFetched','mode','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','toLowerCase','onLocalMutation','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','ONLINE','batchAllowed','_redoStacks','_onRecvEvent','_createInitialState','routeKey','_socket','incrementRevOfUnit','NOT_COLLAB','423984rguQbK','unpad','has','_onMessage','/role','getCurrentUser','replace','_transformSelections','catch','AES','rng','_type','finalize','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','_syncEditingCollabCursor','bind','title','roomInfos','status','LICENSE_EXPORT_SIZE_EXCEEDED','_handlerCallback','startTime','[CollaborationUndoRedoService]','socket$','SNAPSHOT_SERVER_URL_KEY','dispose','onlyLocal','$super','_socketReady','__Key__','YUUMI_AI_RUN_FAILED','params','UPDATE_CURSOR','crypto','_sendHeartbeat','_DEC_XFORM_MODE','195070XlCBQg','indexOf','Could\x20not\x20dynamically\x20require\x20\x22','objectType','_updateState','ivSize','HELLO','UNIVER_SLIDE','_scheduleCompleteTimestamp','CHANGESET_ACK','_process','joinRsp','body','UPDATE_PERMISSION_OBJ','_onFetchMissResult','_getSendChangesetTimeout','_transformUndoredo','reqId','_decreaseWaiting','max','onTransformState','_minBufferSize','getFocusedUnit','HEARTBEAT_TIMEOUT','_socketService','_timeoutTimer','[FetchMissState]','append','list','method','session.room-permission-denied','_schedule','complete','FETCH_MISSING','Cipher','findIndex','image/jpeg','actions','clamp','compute','125CJCnNa','AUTHZ_URL_KEY','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','Base64','{fileID}','unitID','close$','decrypt','UNIVER_PROJECT','_updateLocalCache','getMemberID','_univerInstanceService','_acknowledgedAwaitingChangeset','LICENSE_DISTRO_REJECTED','COLLAB_WEB_SOCKET_URL','AWAITING_WITH_PENDING','getInterceptPoints','sin','collaboration_new_changeset','_loadSheet','updateOfflineData','SNAPSHOT_INVALID_SNAPSHOT','_cipher','appendMutation','/object/','_members','INVITE_CODE_HAS_BEEN_UES','_disableEditing','socketService','loadUnit','_doReset','[PendingState]:\x20received\x20acknowledgement.','error$','_retryConnectingTimer','MD5','_scheduleCollaborationTimeoutTimer','hasher','_entityInit$','_keySchedule','LICENSE_MAX_UNITS_EXCEEDED','UNDEFINED','fetchMissingChangesets','WordArray','transformStack\x20failed!','getResourcesRequest','_throwTelemetryCollaborationNewChangeset','_replayCachedMutations','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','IDLE','ws://127.0.0.1:8000/universer-api/comb/connect','PY_RUNTIME_SCRIPT_ERROR','requestParams','readAsDataURL','HmacSHA1','subscribe','YUUMI_URL_COL_OUT_OF_RANGE','/universer-api/uniscript','BASE64','c1Prime','socket\x20close','UNIVER_DOC','univer-pro.collaboration-client-socket-service','failed\x20to\x20apply\x20missed\x20changesets!','pluginName','_undoStacks','objectActions','onCommandExecuted','_onLocalMutation','getWorkbookSelections','_onConnectionOpen','retryConnectingInterval','toggleOnline','deepClone','push','ENSURE_SNAPSHOT_EXECUTION','close','sessionStatus','YUUMI_RATE_OVER_LIMIT','src','_executeRemoteChangeset','/universer-api/snapshot/','createDecryptor','isArray','getUnitId','liveShareOperation','Univer','target','_map','m2Prime','_tryReconnect','JOIN_ROOM_NOT_EXISTS','file','__creator','updatePermissionObjEvent','create','objects','BlockCipherMode','offline','JOIN_ROOM_FAILED','GLOBAL_ROOMS_CNT_EXCEEDS','subject','CipherParams','univer-pro.collaboration-client.network-condition.service','getSnapshotAPIPath','error','LIVESHARE_REQUEST_HOST','NO_OTHER_CLIENTS_EDITING','?url=','_startCollaboration','getSheetBlock','unknown','CHANGESET_SHOULD_RETRY','init','CONNECTOR_DATA_TOO_LARGE','_initMergeInterceptor','_state','image/png','_telemetryInfo','_permissionService','_key','_compressMutationService','pipe','string','CHANGESET_REVISION_CONFILICT','processBlock','/object','message$','asObservable','send','_clearHeartbeatTimer','_collaborationPaused','disposeWithMe','UNKNOWN_CODE','onTransformRemoteChangesetByStateCache','\x20to\x20','BlockCipher','awaiting_with_pending','padding','words','_status$','_candidateSocket','onStateChange','_loadDoc','getConfig','update','univer-pro.collaboration-client.single-active-unit-service','values','EMAIL_HAS_BEEN_BOUND','name','getRandomValues','_exhaustRemoteChangesetQueue','type','_onRemoteRejected','loadDoc','COLLAB_SUBMIT_CHANGESET_URL','MUTATION','SOCKET_FAILED_RETRY','charAt','_xformMode','_eventService','ceil','substr','OPTIONAL','LOGIN_FAILED','unitId\x20is\x20not\x20found','_state$','_createSocket','LOCAL_CACHE_INTERVAL','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','randomBytes','_doCreateSocket','_sessions','memberID','_logService','addHandlerCallback','call','_getCtorByUniverType','requireSession','APPLY_PERMISSION_DENIED','onStarting','_createInitialStateImpl','cfg','_onUserLeave','authzUrl','enc'];_0x2d3c=function(){return _0x3a9893;};return _0x2d3c();}var re=(_0x59cf51=>(_0x59cf51[_0x122a43(0x318)]=_0x122a43(0x318),_0x59cf51[_0x122a43(0x3fb)]=_0x122a43(0x3fb),_0x59cf51[_0x122a43(0x36c)]='CONFLICT',_0x59cf51[_0x122a43(0x381)]=_0x122a43(0x381),_0x59cf51[_0x122a43(0x2c0)]=_0x122a43(0x2c0),_0x59cf51['SOCKET_FAILED_RETRY']=_0x122a43(0x2fa),_0x59cf51['SOCKET_FAILED']=_0x122a43(0x320),_0x59cf51['SUBMIT_CHANGESET_TIMEOUT']=_0x122a43(0x3e9),_0x59cf51))(re||{});class pe{constructor(){var _0x554e7e=_0x122a43;N(this,_0x554e7e(0x43a),new _0x49ffbf()),N(this,_0x554e7e(0x1fd),this[_0x554e7e(0x43a)][_0x554e7e(0x2dd)]());}[_0x122a43(0x1d4)](_0x56bad0){var _0x225820=_0x122a43;this[_0x225820(0x43a)][_0x225820(0x480)](_0x56bad0);}}const Pn=_0x479abf(_0x122a43(0x2c4));function Ln(_0x3f3c9a){var _0x9ef7f4=_0x122a43,_0x258915,_0x2b5c27,_0x52ed22,_0x329f15,_0x53c2c5;const _0x4c6f35=_0x3f3c9a[_0x9ef7f4(0x395)],_0x253b93=JSON['parse'](_0x4c6f35);switch(_0x253b93['cmd']){case F['HEARTBEAT']:case F[_0x9ef7f4(0x23c)]:{const _0x1f25af=_0x253b93['infoRsp'];return{..._0x253b93,'data':_0x1f25af,'cmd':_0x253b93[_0x9ef7f4(0x1ca)]};}case F[_0x9ef7f4(0x1ff)]:{const _0x1b63d3=_0x253b93[_0x9ef7f4(0x241)];return{..._0x253b93,'data':_0x1b63d3,'cmd':_0x253b93[_0x9ef7f4(0x1ca)]};}case F['RECV']:{const _0x3e95f7=_0x253b93[_0x9ef7f4(0x470)];switch(_0x3e95f7[_0x9ef7f4(0x345)]){case _0x798757[_0x9ef7f4(0x42d)]:return{..._0x253b93,'data':{..._0x3e95f7,'data':(_0x258915=_0x3e95f7[_0x9ef7f4(0x185)])==null?void 0x0:_0x258915['cs']},'cmd':_0x253b93[_0x9ef7f4(0x1ca)]};case _0x798757[_0x9ef7f4(0x23f)]:return{..._0x253b93,'data':{..._0x3e95f7,'data':(_0x2b5c27=_0x3e95f7[_0x9ef7f4(0x3b3)])==null?void 0x0:_0x2b5c27['cs']},'cmd':_0x253b93[_0x9ef7f4(0x1ca)]};case _0x798757[_0x9ef7f4(0x33e)]:return{..._0x253b93,'data':{..._0x3e95f7,'data':(_0x52ed22=_0x3e95f7['newCsEvent'])==null?void 0x0:_0x52ed22['cs']},'cmd':_0x253b93['cmd']};case _0x798757['CHANGESET_REJ']:return{..._0x253b93,'data':{..._0x3e95f7,'data':(_0x329f15=_0x3e95f7['csRejEvent'])==null?void 0x0:_0x329f15['cs']},'cmd':_0x253b93['cmd']};case _0x798757[_0x9ef7f4(0x2cd)]:return{..._0x253b93,'data':{..._0x3e95f7,'data':(_0x53c2c5=_0x3e95f7[_0x9ef7f4(0x3ef)])==null?void 0x0:_0x53c2c5['cs']},'cmd':_0x253b93[_0x9ef7f4(0x1ca)]};case _0x798757[_0x9ef7f4(0x232)]:return{..._0x253b93,'data':{..._0x3e95f7,'data':_0x3e95f7[_0x9ef7f4(0x3d0)]},'cmd':_0x253b93['cmd']};case _0x798757[_0x9ef7f4(0x3d3)]:return{..._0x253b93,'data':{..._0x3e95f7,'data':_0x3e95f7[_0x9ef7f4(0x473)]},'cmd':_0x253b93[_0x9ef7f4(0x1ca)]};case _0x798757['USERS_LEAVE']:return{..._0x253b93,'data':{..._0x3e95f7,'data':_0x3e95f7['leaveEvent']},'cmd':_0x253b93[_0x9ef7f4(0x1ca)]};case _0x798757['LIVESHARE_NEW_HOST']:return{..._0x253b93,'data':{..._0x3e95f7,'data':_0x3e95f7['liveShareNewHost']},'cmd':_0x253b93[_0x9ef7f4(0x1ca)]};case _0x798757[_0x9ef7f4(0x33a)]:case _0x798757[_0x9ef7f4(0x346)]:return{..._0x253b93,'data':{..._0x3e95f7,'data':_0x3e95f7[_0x9ef7f4(0x2b2)]},'cmd':_0x253b93['cmd']};case _0x798757[_0x9ef7f4(0x3a6)]:return{..._0x253b93,'data':{..._0x3e95f7,'data':_0x3e95f7[_0x9ef7f4(0x1aa)]},'cmd':_0x253b93[_0x9ef7f4(0x1ca)]};case _0x798757[_0x9ef7f4(0x463)]:return{..._0x253b93,'data':_0x3e95f7,'cmd':_0x253b93[_0x9ef7f4(0x1ca)]};case _0x798757['COMMENT_UPDATE']:return{..._0x253b93,'data':{..._0x3e95f7,'data':_0x3e95f7['commentUpdateEvent']},'cmd':_0x253b93[_0x9ef7f4(0x1ca)]};case _0x798757[_0x9ef7f4(0x243)]:return{..._0x253b93,'data':{..._0x3e95f7,'data':_0x3e95f7[_0x9ef7f4(0x2bb)]},'cmd':_0x253b93[_0x9ef7f4(0x1ca)]};case _0x798757[_0x9ef7f4(0x399)]:return{..._0x253b93,'data':{..._0x3e95f7,'data':_0x3e95f7[_0x9ef7f4(0x1d3)]},'cmd':_0x253b93[_0x9ef7f4(0x1ca)]};case _0x798757[_0x9ef7f4(0x44c)]:return{..._0x253b93,'data':{..._0x3e95f7,'data':_0x3e95f7[_0x9ef7f4(0x41c)]},'cmd':_0x253b93['cmd']};default:return _0x253b93;}}default:return _0x253b93;}}function Mn(_0x2b5fda){var _0x5cf656=_0x122a43;switch(_0x2b5fda[_0x5cf656(0x1ca)]){case F[_0x5cf656(0x42e)]:case F[_0x5cf656(0x23c)]:return JSON[_0x5cf656(0x3a5)]({'cmd':_0x2b5fda[_0x5cf656(0x1ca)],'routeKey':_0x2b5fda[_0x5cf656(0x20e)]});case F[_0x5cf656(0x391)]:{let _0x3e2db7;switch(_0x2b5fda['data'][_0x5cf656(0x345)]){case _0x798757['UPDATE_CURSOR']:{_0x3e2db7={'eventID':_0x798757['UPDATE_CURSOR'],'updateCursorEvent':_0x2b5fda[_0x5cf656(0x395)][_0x5cf656(0x395)]};break;}case _0x798757[_0x5cf656(0x3eb)]:{_0x3e2db7={'eventID':_0x798757[_0x5cf656(0x3eb)],'leaveEvent':_0x2b5fda['data'][_0x5cf656(0x395)]};break;}case _0x798757[_0x5cf656(0x3d3)]:{_0x3e2db7={'eventID':_0x798757[_0x5cf656(0x3d3)],'joinEvent':_0x2b5fda[_0x5cf656(0x395)]['data']};break;}case _0x798757[_0x5cf656(0x396)]:{_0x3e2db7={'eventID':_0x798757['LIVESHARE_NEW_HOST'],'liveShareNewHost':_0x2b5fda[_0x5cf656(0x395)][_0x5cf656(0x395)]};break;}case _0x798757[_0x5cf656(0x346)]:{_0x3e2db7={'eventID':_0x798757[_0x5cf656(0x346)],'liveShareOperation':_0x2b5fda[_0x5cf656(0x395)][_0x5cf656(0x395)]};break;}case _0x798757[_0x5cf656(0x3a6)]:{_0x3e2db7={'eventID':_0x798757[_0x5cf656(0x3a6)],'liveShareTerminate':_0x2b5fda[_0x5cf656(0x395)][_0x5cf656(0x395)]};break;}case _0x798757[_0x5cf656(0x2c7)]:{_0x3e2db7={'eventID':_0x798757[_0x5cf656(0x2c7)],'liveShareRequestHost':_0x2b5fda['data']['data']};break;}case _0x798757[_0x5cf656(0x33a)]:{_0x3e2db7={'eventID':_0x798757['LIVESHARE_FETCH_OPERATIONS']};break;}default:_0x3e2db7={'eventID':_0x2b5fda[_0x5cf656(0x395)]['eventID']};}return JSON['stringify']({'cmd':_0x2b5fda[_0x5cf656(0x1ca)],'routeKey':_0x2b5fda[_0x5cf656(0x20e)],'collaMsg':_0x3e2db7});}case F[_0x5cf656(0x1ff)]:return JSON['stringify']({'cmd':_0x2b5fda[_0x5cf656(0x1ca)],'routeKey':_0x2b5fda['routeKey'],'joinReq':_0x2b5fda[_0x5cf656(0x395)]});case F[_0x5cf656(0x323)]:return JSON['stringify']({'cmd':_0x2b5fda[_0x5cf656(0x1ca)],'routeKey':_0x2b5fda[_0x5cf656(0x20e)],'leaveReq':_0x2b5fda[_0x5cf656(0x395)]});default:throw new Error('[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!');}}var xn=Object['getOwnPropertyDescriptor'],kn=(_0x532069,_0x159aac,_0x19c08d,_0x136e54)=>{for(var _0xb671f3=_0x136e54>0x1?void 0x0:_0x136e54?xn(_0x159aac,_0x19c08d):_0x159aac,_0x1fbebe=_0x532069['length']-0x1,_0x3e2752;_0x1fbebe>=0x0;_0x1fbebe--)(_0x3e2752=_0x532069[_0x1fbebe])&&(_0xb671f3=_0x3e2752(_0xb671f3)||_0xb671f3);return _0xb671f3;},Ae=(_0x2bf842,_0x1b8158)=>(_0x5eb761,_0x1b7f22)=>_0x1b8158(_0x5eb761,_0x1b7f22,_0x2bf842);const Ii=_0x479abf(_0x122a43(0x29b));function $n(_0x54e793,_0x22585c,_0xa44d9d){var _0x10ec9d=_0x122a43;return _0x54e793+'/'+_0x22585c+_0x10ec9d(0x1bb)+_0xa44d9d+_0x10ec9d(0x31b);}let Gt=class extends _0x15d6f2{constructor(_0x3222c7,_0x5c2ba6,_0x1c03f4,_0x10712f,_0x411046){var _0x511a1e=_0x122a43;super(),this[_0x511a1e(0x181)]=_0x3222c7,this[_0x511a1e(0x18d)]=_0x5c2ba6,this[_0x511a1e(0x1cb)]=_0x1c03f4,this[_0x511a1e(0x30b)]=_0x10712f,this[_0x511a1e(0x180)]=_0x411046;}[_0x122a43(0x308)](_0x13cc2f){var _0x48190a=_0x122a43;const _0x47a16f=this[_0x48190a(0x181)]['get'](_0x3518c6);if(!_0x47a16f)throw new Error(_0x48190a(0x34e));const _0x52c3db=_0x47a16f['createSocket'](_0x13cc2f);if(!_0x52c3db)throw new Error(_0x48190a(0x32d));const _0x2b0801=new _0x3443db(),_0x3b0503=new _0x49ffbf();_0x2b0801[_0x48190a(0x420)](_0x52c3db[_0x48190a(0x264)][_0x48190a(0x294)](_0x52e4ab=>_0x3b0503[_0x48190a(0x480)](_0x52e4ab))),_0x2b0801['add'](_0x583711(()=>_0x3b0503[_0x48190a(0x256)]()));const _0x519fe1=new _0x49ffbf();_0x2b0801[_0x48190a(0x420)](_0x52c3db[_0x48190a(0x27e)][_0x48190a(0x294)](_0x31e5b3=>_0x519fe1[_0x48190a(0x480)](_0x31e5b3))),_0x2b0801[_0x48190a(0x420)](_0x583711(()=>_0x519fe1[_0x48190a(0x256)]()));const _0x3a752c=new _0x49ffbf();_0x2b0801['add'](_0x52c3db[_0x48190a(0x2dc)][_0x48190a(0x294)](_0x302bea=>{var _0x3d1a5c=_0x48190a;const _0x55a9a2=Ln(_0x302bea);_0x3a752c[_0x3d1a5c(0x480)](_0x55a9a2);})),_0x2b0801[_0x48190a(0x420)](_0x583711(()=>_0x3a752c[_0x48190a(0x256)]()));let _0x4b35a9;const _0x3a90c7=()=>{var _0x33046a=_0x48190a;_0x519fe1[_0x33046a(0x480)](new Event(_0x33046a(0x1b0))),_0x3b0503['next'](new Event('connection\x20error')),_0x4b35a9[_0x33046a(0x2a9)]();};return _0x4b35a9={'memberID':'','close$':_0x3b0503[_0x48190a(0x2dd)](),'error$':_0x519fe1['asObservable'](),'open$':_0x52c3db[_0x48190a(0x3d7)],'message$':_0x3a752c[_0x48190a(0x2dd)](),'send':_0x138aa0=>{var _0x595401=_0x48190a;if(_0x138aa0[_0x595401(0x1ca)]===F[_0x595401(0x391)]){if(_0x138aa0[_0x595401(0x395)][_0x595401(0x345)]===_0x798757[_0x595401(0x474)]){this[_0x595401(0x1ed)](_0x4b35a9,_0x138aa0[_0x595401(0x395)])['catch'](_0x3ae06d=>{var _0x5f2479=_0x595401;this[_0x5f2479(0x30b)][_0x5f2479(0x2c6)](_0x3ae06d),_0x3a90c7();});return;}if(_0x138aa0[_0x595401(0x395)][_0x595401(0x345)]===_0x798757[_0x595401(0x257)]){const _0x10b7ed=_0x138aa0[_0x595401(0x395)];this[_0x595401(0x188)](_0x10b7ed)[_0x595401(0x36a)](_0xa39387=>{var _0x40d2ed=_0x595401;_0x3a752c[_0x40d2ed(0x480)]({'cmd':F[_0x40d2ed(0x34f)],'code':ge['OK'],'routeKey':_0x10b7ed[_0x40d2ed(0x395)][_0x40d2ed(0x263)],'routeType':'','data':{'eventID':_0x798757[_0x40d2ed(0x408)],'data':{'changesets':_0xa39387}}});})[_0x595401(0x21a)](_0xdef6fc=>{var _0x5f22b1=_0x595401;this['_logService'][_0x5f22b1(0x2c6)](_0xdef6fc),_0x3a90c7();});return;}}_0x52c3db[_0x595401(0x2de)](Mn(_0x138aa0));},'close':()=>{var _0x48e7a8=_0x48190a;_0x52c3db[_0x48e7a8(0x2a9)](),_0x2b0801[_0x48e7a8(0x22b)]();}},_0x4b35a9;}async[_0x122a43(0x1ed)](_0x5c7f7f,_0x23c35b){var _0x19798d=_0x122a43,_0x2e6a51,_0x2b5572;const {unitType:_0xc363c5,unitID:_0x59c7ac,changeset:_0x177e07}=_0x23c35b[_0x19798d(0x395)],_0x2cd09c={'unitID':_0x59c7ac,'memberID':_0x5c7f7f[_0x19798d(0x30a)],'type':_0xc363c5,'changeset':_0xc6829e(_0x177e07)},_0x592259=this['_configService']['getConfig'](Nn),_0x7160d=this[_0x19798d(0x1cb)]['getConfig'](q),_0x19963b=$n((_0x2b5572=(_0x2e6a51=_0x7160d==null?void 0x0:_0x7160d['collabSubmitChangesetUrl'])!=null?_0x2e6a51:_0x592259)!=null?_0x2b5572:Dn,_0xc363c5,_0x59c7ac);try{await this[_0x19798d(0x18d)][_0x19798d(0x41b)](_0x19963b,{'body':_0x2cd09c});}catch(_0x3b07da){throw this[_0x19798d(0x30b)][_0x19798d(0x2c6)](_0x19798d(0x40e),'submit\x20changeset\x20error!'),_0x3b07da;}}async[_0x122a43(0x188)](_0x4cc52e){var _0x1674fa=_0x122a43;const {unitID:_0xaa25a1,from:_0x292483,to:_0x4ceb2b,unitType:_0x3f5d6d}=_0x4cc52e[_0x1674fa(0x395)];return(await this[_0x1674fa(0x180)][_0x1674fa(0x287)]({'metadata':void 0x0},{'unitID':_0xaa25a1,'type':_0x3f5d6d,'from':_0x292483,'to':_0x4ceb2b}))[_0x1674fa(0x36f)];}};Gt=kn([Ae(0x0,_0xed7601(_0x4a4e75)),Ae(0x1,_0xed7601(_0x5dce4f)),Ae(0x2,_0x47e68f),Ae(0x3,_0x10a457),Ae(0x4,_0x54b3bc)],Gt);const Hn=_0x122a43(0x270);function Bn(_0x482aec){var _0x4be484=_0x122a43;return JSON['stringify'](_0x482aec)[_0x4be484(0x32b)];}class Ti{constructor(){var _0x133466=_0x122a43;N(this,_0x133466(0x18c),new _0x49ffbf()),N(this,_0x133466(0x45c),this[_0x133466(0x18c)]['asObservable']());}['onCommentUpdate'](_0x3f361c){var _0x348a97=_0x122a43;this[_0x348a97(0x18c)][_0x348a97(0x480)](_0x3f361c);}}var jn=Object[_0x122a43(0x3bd)],Fn=(_0x4786a3,_0x3716df,_0x4a241c,_0x1e51ee)=>{var _0x2e853e=_0x122a43;for(var _0x52ebe3=_0x1e51ee>0x1?void 0x0:_0x1e51ee?jn(_0x3716df,_0x4a241c):_0x3716df,_0x8c4313=_0x4786a3[_0x2e853e(0x32b)]-0x1,_0x11cb40;_0x8c4313>=0x0;_0x8c4313--)(_0x11cb40=_0x4786a3[_0x8c4313])&&(_0x52ebe3=_0x11cb40(_0x52ebe3)||_0x52ebe3);return _0x52ebe3;},Wt=(_0x39d13f,_0x9a164e)=>(_0x5e5863,_0x27e70a)=>_0x9a164e(_0x5e5863,_0x27e70a,_0x39d13f);let Le=class extends _0x15d6f2{constructor(_0x550f9b,_0x46d454){var _0x41ba86=_0x122a43;super(),N(this,'_roomMembers',new Map()),N(this,_0x41ba86(0x3c6),new _0x49ffbf()),(this['_univerInstanceService']=_0x550f9b,this[_0x41ba86(0x379)]=_0x46d454,this[_0x41ba86(0x2e1)](_0x3a1ff0(this[_0x41ba86(0x269)][_0x41ba86(0x414)](_0x56161c[_0x41ba86(0x36b)])['pipe'](_0x3dbda7(_0xd77bfb=>_0xd77bfb[_0x41ba86(0x2b1)]())),this[_0x41ba86(0x269)][_0x41ba86(0x414)](_0x56161c['UNIVER_DOC'])[_0x41ba86(0x2d7)](_0x3dbda7(_0x1b4356=>_0x1b4356[_0x41ba86(0x2b1)]())),this[_0x41ba86(0x269)]['getTypeOfUnitDisposed$'](_0x56161c[_0x41ba86(0x23d)])[_0x41ba86(0x2d7)](_0x3dbda7(_0x46e5c3=>_0x46e5c3[_0x41ba86(0x2b1)]())))[_0x41ba86(0x294)](_0x5b3f1f=>this[_0x41ba86(0x3bf)](_0x5b3f1f))));}['waitForRoom$'](_0x455666){var _0x1522c7=_0x122a43;return this[_0x1522c7(0x319)][_0x1522c7(0x214)](_0x455666)?_0x224870(this[_0x1522c7(0x319)]['get'](_0x455666)):this[_0x1522c7(0x3c6)]['pipe'](_0x3dbda7(_0x33cc23=>{var _0x36bb2c=_0x1522c7;if(_0x33cc23===_0x455666)return this[_0x36bb2c(0x319)][_0x36bb2c(0x46b)](_0x33cc23);}));}[_0x122a43(0x1db)](_0xe04f50){var _0x19dc64=_0x122a43;this[_0x19dc64(0x379)]['setCurrentUser'](_0xe04f50);}['getCurrentUser'](){var _0x2480e4=_0x122a43;return this[_0x2480e4(0x379)][_0x2480e4(0x217)]();}[_0x122a43(0x324)](_0x4830ce,_0x21aef9){var _0x101168=_0x122a43;let _0x4afe3f=this[_0x101168(0x319)][_0x101168(0x46b)](_0x4830ce);_0x4afe3f||(_0x4afe3f=new Vn(),this[_0x101168(0x319)]['set'](_0x4830ce,_0x4afe3f),this['_roomCreated$'][_0x101168(0x480)](_0x4830ce)),_0x4afe3f['updateMember'](_0x21aef9);}[_0x122a43(0x38f)](_0x17dffe,_0xf71886){var _0x3b551b=_0x122a43;const _0x3977ae=this[_0x3b551b(0x319)][_0x3b551b(0x46b)](_0x17dffe);_0x3977ae&&_0x3977ae[_0x3b551b(0x38f)](_0xf71886);}['getRoom'](_0x2d67cd){var _0x598108=_0x122a43;return this['_roomMembers'][_0x598108(0x46b)](_0x2d67cd);}['getMember'](_0x706a86,_0x35fa37){var _0x4a21bd=_0x122a43;const _0x4a7459=this['_roomMembers']['get'](_0x706a86);if(_0x4a7459)return _0x4a7459[_0x4a21bd(0x356)](_0x35fa37);}[_0x122a43(0x3bf)](_0x10ad5d){var _0x577fba=_0x122a43;const _0x230b7b=this[_0x577fba(0x319)][_0x577fba(0x46b)](_0x10ad5d);_0x230b7b&&(_0x230b7b[_0x577fba(0x22b)](),this[_0x577fba(0x319)][_0x577fba(0x44b)](_0x10ad5d));}[_0x122a43(0x22b)](){var _0x5a069c=_0x122a43;this[_0x5a069c(0x319)][_0x5a069c(0x47a)](_0x1ed0de=>_0x1ed0de[_0x5a069c(0x22b)]()),this[_0x5a069c(0x319)][_0x5a069c(0x362)](),this[_0x5a069c(0x3c6)][_0x5a069c(0x256)]();}};Le=Fn([Wt(0x0,_0x286933),Wt(0x1,_0xed7601(_0x247b0c))],Le);class Vn extends _0x15d6f2{constructor(){var _0x29d44a=_0x122a43;super(...arguments),N(this,_0x29d44a(0x277),new Map()),N(this,_0x29d44a(0x3d9),new _0x5d5193(this['_members'])),N(this,'members$',this[_0x29d44a(0x3d9)][_0x29d44a(0x2dd)]());}['dispose'](){var _0x4aba44=_0x122a43;this[_0x4aba44(0x277)][_0x4aba44(0x362)]();}[_0x122a43(0x324)](_0x30ebc0){var _0x14e77f=_0x122a43;this[_0x14e77f(0x277)][_0x14e77f(0x1d8)](_0x30ebc0[_0x14e77f(0x30a)],_0x30ebc0),this['_emitMembers']();}[_0x122a43(0x38f)](_0x1b7bd1){var _0x3301be=_0x122a43;this['_members'][_0x3301be(0x44b)](_0x1b7bd1);}[_0x122a43(0x356)](_0x3169a1){var _0x4b1e75=_0x122a43;return this[_0x4b1e75(0x277)][_0x4b1e75(0x46b)](_0x3169a1);}[_0x122a43(0x1b3)](){var _0xb6b4d8=_0x122a43;return Array[_0xb6b4d8(0x415)](this[_0xb6b4d8(0x277)][_0xb6b4d8(0x2f0)]());}[_0x122a43(0x364)](){var _0x2e1168=_0x122a43;this[_0x2e1168(0x3d9)][_0x2e1168(0x480)](this[_0x2e1168(0x277)]);}}var Gn=Object[_0x122a43(0x3bd)],Wn=(_0x54c9aa,_0x485d80,_0x25a7cd,_0x305ac6)=>{var _0x27d172=_0x122a43;for(var _0x46a365=_0x305ac6>0x1?void 0x0:_0x305ac6?Gn(_0x485d80,_0x25a7cd):_0x485d80,_0x5d6bd9=_0x54c9aa[_0x27d172(0x32b)]-0x1,_0x1f2b24;_0x5d6bd9>=0x0;_0x5d6bd9--)(_0x1f2b24=_0x54c9aa[_0x5d6bd9])&&(_0x46a365=_0x1f2b24(_0x46a365)||_0x46a365);return _0x46a365;},me=(_0x5b979c,_0x4baf26)=>(_0x273e54,_0xedbc6d)=>_0x4baf26(_0x273e54,_0xedbc6d,_0x5b979c),Ee=(_0x2e5a85=>(_0x2e5a85[_0x2e5a85[_0x122a43(0x28e)]=0x0]=_0x122a43(0x28e),_0x2e5a85[_0x2e5a85['JOINING']=0x1]=_0x122a43(0x1b7),_0x2e5a85[_0x2e5a85['OFFLINE']=0x2]=_0x122a43(0x340),_0x2e5a85[_0x2e5a85[_0x122a43(0x209)]=0x3]=_0x122a43(0x209),_0x2e5a85))(Ee||{});const Yt={[ge[_0x122a43(0x1b1)]]:'session.join-failed',[ge['JOIN_ROOM_FULL']]:'session.room-full',[ge[_0x122a43(0x2b8)]]:_0x122a43(0x421),[ge['JOIN_ROOM_PERMISSION_DENIED']]:_0x122a43(0x254),[ge[_0x122a43(0x2c1)]]:_0x122a43(0x352)};let Et=class extends _0x4237d9{constructor(_0x316196,_0x5b97e8,_0x5932e4,_0xec6ac8,_0x3edf0a,_0xf27cb0,_0x3ff219,_0x2323dd,_0xd831b3){var _0x5c8133=_0x122a43;super(),N(this,_0x5c8133(0x3c8),new _0x5d5193(0x0)),N(this,'sessionStatus$',this['_sessionStatus$'][_0x5c8133(0x2dd)]()),N(this,_0x5c8133(0x43a),new _0x49ffbf()),N(this,'event$',this[_0x5c8133(0x43a)][_0x5c8133(0x2dd)]()),N(this,'_socket'),N(this,_0x5c8133(0x3ce)),N(this,'_collaborationTimeoutTimer'),N(this,'_shouldReportTelemetry',!0x1),N(this,_0x5c8133(0x2d3),null),(this[_0x5c8133(0x3bc)]=_0x316196,this[_0x5c8133(0x30b)]=_0x5932e4,this[_0x5c8133(0x1cb)]=_0xec6ac8,this[_0x5c8133(0x3d5)]=_0x3edf0a,this[_0x5c8133(0x3a1)]=_0xf27cb0,this[_0x5c8133(0x451)]=_0x3ff219,this[_0x5c8133(0x44a)]=_0x2323dd,this[_0x5c8133(0x1c6)]=_0xd831b3,this[_0x5c8133(0x3b5)]=!!this[_0x5c8133(0x1c6)],_0x5b97e8[_0x5c8133(0x2d7)](_0x595e25(this[_0x5c8133(0x1e2)]))[_0x5c8133(0x294)](_0x2205fe=>{var _0x241c7d=_0x5c8133,_0x4e71c4;typeof _0x2205fe>'u'||(this[_0x241c7d(0x20f)]=_0x2205fe,_0x2205fe?(this[_0x241c7d(0x339)](_0x2205fe),this[_0x241c7d(0x3ce)]=_0x2205fe[_0x241c7d(0x2dc)][_0x241c7d(0x294)](_0x3c72dc=>{var _0x5e3961=_0x241c7d;_0x3c72dc[_0x5e3961(0x20e)]===this[_0x5e3961(0x3bc)]&&this[_0x5e3961(0x1d9)](_0x3c72dc);})):(this[_0x241c7d(0x28b)](),this[_0x241c7d(0x3c8)][_0x241c7d(0x480)](0x2),(_0x4e71c4=this[_0x241c7d(0x3ce)])==null||_0x4e71c4[_0x241c7d(0x428)](),this['_socketMessageSubscription']=null));}));}get['sessionStatus'](){var _0x75a45b=_0x122a43;return this[_0x75a45b(0x3c8)][_0x75a45b(0x3f2)]();}[_0x122a43(0x268)](){var _0x62e736=_0x122a43,_0x2ba2c9,_0x565958;return(_0x565958=(_0x2ba2c9=this['_socket'])==null?void 0x0:_0x2ba2c9[_0x62e736(0x30a)])!=null?_0x565958:null;}['dispose'](){var _0x1a5ecf=_0x122a43;super[_0x1a5ecf(0x22b)](),this[_0x1a5ecf(0x1e2)][_0x1a5ecf(0x480)](),this[_0x1a5ecf(0x1e2)][_0x1a5ecf(0x256)]();}[_0x122a43(0x2a9)](){var _0x18bedd=_0x122a43,_0x1ea54e,_0x1847e1;this['_throwTelemetryCollaborationNewChangeset'](),(_0x1ea54e=this[_0x18bedd(0x20f)])==null||_0x1ea54e['send']({'cmd':F[_0x18bedd(0x323)],'data':{'roomID':this[_0x18bedd(0x3bc)]}}),(_0x1847e1=this[_0x18bedd(0x20f)])==null||_0x1847e1[_0x18bedd(0x2a9)](),this[_0x18bedd(0x43a)]['complete'](),this[_0x18bedd(0x3c8)]['complete'](),this['dispose']();}['_onCombEvent'](_0x3791f0){var _0xd37860=_0x122a43;_0x3791f0[_0xd37860(0x1ca)]===F[_0xd37860(0x1ff)]?this[_0xd37860(0x397)](_0x3791f0):_0x3791f0[_0xd37860(0x1ca)]===F[_0xd37860(0x34f)]&&this[_0xd37860(0x20c)](_0x3791f0);}['_joinRoom'](_0x4a39de){var _0x56cd16=_0x122a43;this['_sessionStatus$']['next'](0x1),_0x4a39de[_0x56cd16(0x2de)]({'cmd':F[_0x56cd16(0x1ff)],'routeKey':this['_unitID'],'routeType':'','data':{'rooms':[{'roomID':this['_unitID']}]}});}['_onJoinRoomEvent'](_0x3ea4e3){var _0x5410be=_0x122a43,_0x40d3fa;if(_0x3ea4e3[_0x5410be(0x454)]in Yt){this[_0x5410be(0x44a)]['emitEvent']({'id':re[_0x5410be(0x2c0)],'data':Yt[_0x3ea4e3[_0x5410be(0x454)]]}),this[_0x5410be(0x3c8)][_0x5410be(0x480)](0x2);return;}this[_0x5410be(0x3c8)][_0x5410be(0x480)](0x3);const _0x3d1b0f=(_0x40d3fa=_0x3ea4e3[_0x5410be(0x395)][_0x5410be(0x223)][this['_unitID']])==null?void 0x0:_0x40d3fa['members'];_0x3d1b0f&&_0x3d1b0f['forEach'](_0x259032=>this[_0x5410be(0x3a1)][_0x5410be(0x324)](this['_unitID'],_0x259032));}[_0x122a43(0x20c)](_0x3ff029){var _0xecf4c9=_0x122a43;try{const _0x567477=_0x3ff029[_0xecf4c9(0x395)];switch(_0x567477[_0xecf4c9(0x345)]){case _0x798757[_0xecf4c9(0x3d3)]:this[_0xecf4c9(0x3ed)](_0x567477),this['_event$'][_0xecf4c9(0x480)](_0x567477);break;case _0x798757[_0xecf4c9(0x3eb)]:this[_0xecf4c9(0x314)](_0x567477),this[_0xecf4c9(0x43a)][_0xecf4c9(0x480)](_0x567477);break;case _0x798757[_0xecf4c9(0x23f)]:case _0x798757[_0xecf4c9(0x2cd)]:this[_0xecf4c9(0x441)](),this[_0xecf4c9(0x475)](),this[_0xecf4c9(0x43a)][_0xecf4c9(0x480)](_0x567477);break;case _0x798757[_0xecf4c9(0x463)]:this['_logService'][_0xecf4c9(0x2c6)](_0xecf4c9(0x484)+JSON[_0xecf4c9(0x3a5)](_0x567477)),this[_0xecf4c9(0x43a)]['next'](_0x567477);break;case _0x798757[_0xecf4c9(0x44f)]:this[_0xecf4c9(0x451)][_0xecf4c9(0x3e2)](_0x567477[_0xecf4c9(0x395)]),this[_0xecf4c9(0x43a)][_0xecf4c9(0x480)](_0x567477);break;default:this['_event$'][_0xecf4c9(0x480)](_0x567477);}}catch(_0x444854){this['_logService'][_0xecf4c9(0x2c6)](_0x444854,_0x3ff029);}}[_0x122a43(0x3ed)](_0x17f07e){var _0x36d5a3=_0x122a43;this['_memberService'][_0x36d5a3(0x324)](this['_unitID'],_0x17f07e[_0x36d5a3(0x395)]);}[_0x122a43(0x314)](_0x142a26){var _0x1f8b6f=_0x122a43;this[_0x1f8b6f(0x3a1)][_0x1f8b6f(0x38f)](this['_unitID'],_0x142a26[_0x1f8b6f(0x395)][_0x1f8b6f(0x30a)]);}async['send'](_0x70c4b5,_0x340186){var _0x23a83d=_0x122a43;if(this[_0x23a83d(0x2aa)]!==0x3||!this[_0x23a83d(0x20f)])throw new Error('[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!');try{_0x70c4b5[_0x23a83d(0x345)]===_0x798757[_0x23a83d(0x474)]&&(this[_0x23a83d(0x281)](),this[_0x23a83d(0x432)](_0x70c4b5)),this[_0x23a83d(0x20f)][_0x23a83d(0x2de)]({'cmd':F['INGEST'],'routeKey':_0x340186,'routeType':'','data':_0x70c4b5});}catch(_0x2d12f7){this['_logService'][_0x23a83d(0x2c6)](_0x2d12f7);}}[_0x122a43(0x281)](){var _0x24f3d0=_0x122a43,_0x51929a;this[_0x24f3d0(0x342)]=setTimeout(()=>{var _0x63d4b8=_0x24f3d0;this[_0x63d4b8(0x342)]=null,this[_0x63d4b8(0x44a)]['emitEvent']({'id':re[_0x63d4b8(0x3e9)]});},(_0x51929a=this[_0x24f3d0(0x1cb)][_0x24f3d0(0x2ed)](mi))!=null?_0x51929a:gi);}[_0x122a43(0x475)](){var _0x457e27=_0x122a43;this['_collaborationTimeoutTimer']&&(clearTimeout(this[_0x457e27(0x342)]),this[_0x457e27(0x342)]=null);}[_0x122a43(0x432)](_0x2283e0){var _0x144e03=_0x122a43;if(!this['_shouldReportTelemetry'])return;const {data:_0x4dc0a7}=_0x2283e0,{unitID:_0x2b6f91,changeset:_0x427c26}=_0x4dc0a7,{mutations:_0x121009,type:_0x4a16c5}=_0x427c26;this[_0x144e03(0x2d3)]={'unitId':_0x2b6f91,'type':_0x4a16c5,'startTime':performance[_0x144e03(0x344)](),'stopTime':0x0,'duration':0x0,'size':Bn(_0x121009)};}['_stopTelemetryCollaborationNewChangeset'](){var _0x540678=_0x122a43;if(this[_0x540678(0x3b5)]){if(!this['_telemetryInfo']){this[_0x540678(0x30b)]['error'](_0x540678(0x40e),'telemetry\x20info\x20is\x20not\x20initialized');return;}this[_0x540678(0x2d3)][_0x540678(0x410)]=performance[_0x540678(0x344)](),this[_0x540678(0x2d3)][_0x540678(0x192)]=this[_0x540678(0x2d3)]['stopTime']-this[_0x540678(0x2d3)][_0x540678(0x227)],this[_0x540678(0x1c6)][_0x540678(0x35c)](Hn,this['_telemetryInfo']),this[_0x540678(0x2d3)]=null;}}[_0x122a43(0x28b)](){var _0x4e8ffa=_0x122a43;this[_0x4e8ffa(0x2d3)]=null;}};Et=Wn([me(0x2,_0x10a457),me(0x3,_0x47e68f),me(0x4,_0xed7601(_0x50b3d3)),me(0x5,_0xed7601(Le)),me(0x6,_0xed7601(Ti)),me(0x7,_0xed7601(pe)),me(0x8,_0x5c24ee(_0x2ef224))],Et);var Yn=Object[_0x122a43(0x3bd)],Kn=(_0xac3434,_0x3026a7,_0x49b638,_0xcc3280)=>{var _0x19850e=_0x122a43;for(var _0x35e3ec=_0xcc3280>0x1?void 0x0:_0xcc3280?Yn(_0x3026a7,_0x49b638):_0x3026a7,_0x443a2e=_0xac3434[_0x19850e(0x32b)]-0x1,_0x1699e4;_0x443a2e>=0x0;_0x443a2e--)(_0x1699e4=_0xac3434[_0x443a2e])&&(_0x35e3ec=_0x1699e4(_0x35e3ec)||_0x35e3ec);return _0x35e3ec;},be=(_0x9b6177,_0x499adf)=>(_0x47b83d,_0x3b6a19)=>_0x499adf(_0x47b83d,_0x3b6a19,_0x9b6177);let Me=class extends _0x15d6f2{constructor(_0x3f78c9,_0x530e65,_0xab8501,_0x41603f,_0x2d7070,_0x9ecdc7){var _0x231e81=_0x122a43;super(),N(this,'_socket$',new _0x5d5193(void 0x0)),N(this,_0x231e81(0x229),this[_0x231e81(0x413)]['asObservable']()),N(this,_0x231e81(0x2ea),null),N(this,'_sessions',new Map()),N(this,_0x231e81(0x2e9),new _0x5d5193(Ee[_0x231e81(0x28e)])),N(this,'status$',this[_0x231e81(0x2e9)][_0x231e81(0x2dd)]()),N(this,_0x231e81(0x22e),!0x1),N(this,_0x231e81(0x27f)),N(this,'_retryCount',0x0),N(this,_0x231e81(0x196)),N(this,'_timeoutTimer'),(this['_injector']=_0x3f78c9,this[_0x231e81(0x30b)]=_0x530e65,this[_0x231e81(0x1cb)]=_0xab8501,this[_0x231e81(0x24e)]=_0x41603f,this['_collaborationUIEventService']=_0x2d7070,this[_0x231e81(0x44e)]=_0x9ecdc7,this[_0x231e81(0x34b)]());}get[_0x122a43(0x20f)](){var _0x25f9c4=_0x122a43;return this[_0x25f9c4(0x413)][_0x25f9c4(0x3f2)]();}[_0x122a43(0x34b)](){var _0x137870=_0x122a43;this[_0x137870(0x44e)]&&this[_0x137870(0x2e1)](this['_networkConditionService'][_0x137870(0x3df)][_0x137870(0x294)](_0x2454c7=>{var _0x1586b6=_0x137870;_0x2454c7&&!this[_0x1586b6(0x20f)]&&this[_0x1586b6(0x47c)](),_0x2454c7||this['_onOffline']();}));}[_0x122a43(0x22b)](){var _0x25cb66=_0x122a43;super[_0x25cb66(0x22b)](),this[_0x25cb66(0x449)](),this['_clearTimeoutTimer'](),this[_0x25cb66(0x2df)](),this[_0x25cb66(0x309)][_0x25cb66(0x47a)](_0x429d0=>_0x429d0[_0x25cb66(0x22b)]()),this['_sessions'][_0x25cb66(0x362)](),this[_0x25cb66(0x2e9)][_0x25cb66(0x256)]();}async[_0x122a43(0x30f)](_0x1b3f57){var _0x96f164=_0x122a43;if(this[_0x96f164(0x309)][_0x96f164(0x214)](_0x1b3f57))return this[_0x96f164(0x309)]['get'](_0x1b3f57);this[_0x96f164(0x332)]();const _0x545055=this[_0x96f164(0x181)][_0x96f164(0x38c)](Et,_0x1b3f57,this[_0x96f164(0x413)]['asObservable']());return this[_0x96f164(0x309)][_0x96f164(0x1d8)](_0x1b3f57,_0x545055),_0x545055;}[_0x122a43(0x42b)](_0x24c4a8){var _0x1459bf=_0x122a43,_0x5805c6;const _0x320ba3=this[_0x1459bf(0x309)][_0x1459bf(0x46b)](_0x24c4a8);_0x320ba3&&(this[_0x1459bf(0x309)][_0x1459bf(0x44b)](_0x24c4a8),_0x320ba3[_0x1459bf(0x2a9)]()),this[_0x1459bf(0x309)][_0x1459bf(0x377)]||(_0x5805c6=this[_0x1459bf(0x20f)])==null||_0x5805c6[_0x1459bf(0x2a9)]();}[_0x122a43(0x47c)](){var _0x50c80c=_0x122a43;this[_0x50c80c(0x388)]=0x0,this[_0x50c80c(0x449)](),this[_0x50c80c(0x2b7)]();}[_0x122a43(0x449)](){var _0xa9c0ae=_0x122a43;this['_retryConnectingTimer']!=null&&(clearTimeout(this[_0xa9c0ae(0x27f)]),this[_0xa9c0ae(0x27f)]=null);}async['_createSocket'](){var _0x15b808=_0x122a43,_0x1ba637,_0x15faa7;const _0x24d73d=this['_configService'][_0x15b808(0x2ed)](In),_0x6b51b4=this['_configService'][_0x15b808(0x2ed)](q),_0x136f7e=(_0x15faa7=(_0x1ba637=_0x6b51b4==null?void 0x0:_0x6b51b4[_0x15b808(0x3dc)])!=null?_0x1ba637:_0x24d73d)!=null?_0x15faa7:Tn,_0x39bf6f=await this['_socketService']['createSocket'](_0x136f7e);return this[_0x15b808(0x2ea)]=_0x39bf6f,_0x39bf6f;}async[_0x122a43(0x332)](){var _0x3686ab=_0x122a43,_0x3879c0,_0x3e20e0;try{const _0x1dd48a=(_0x3e20e0=(_0x3879c0=this[_0x3686ab(0x20f)])!=null?_0x3879c0:this[_0x3686ab(0x2ea)])!=null?_0x3e20e0:await this[_0x3686ab(0x304)]();if(_0x1dd48a){const _0x337fae=_0x1dd48a[_0x3686ab(0x2de)];_0x1dd48a[_0x3686ab(0x2de)]=_0x485905=>(this[_0x3686ab(0x436)](),_0x337fae['apply'](_0x1dd48a,[_0x485905])),_0x1dd48a['message$'][_0x3686ab(0x294)](_0x51c5c5=>this[_0x3686ab(0x215)](_0x1dd48a,_0x51c5c5)),_0x1dd48a[_0x3686ab(0x27e)][_0x3686ab(0x2d7)](_0x5a6182(0x1))[_0x3686ab(0x294)](_0x15983b=>this[_0x3686ab(0x30b)][_0x3686ab(0x2c6)]('[CollaborationSessionService]:\x20socket\x20error',_0x15983b)),_0x1dd48a['open$'][_0x3686ab(0x2d7)](_0x5a6182(0x1))[_0x3686ab(0x294)](()=>{this['_onConnectionOpen'](_0x1dd48a);}),_0x1dd48a['close$']['pipe'](_0x5a6182(0x1))[_0x3686ab(0x294)](_0x7667b4=>{var _0x56df66=_0x3686ab;this['_logService'][_0x56df66(0x368)](_0x56df66(0x341),_0x56df66(0x299),_0x7667b4),this[_0x56df66(0x184)]();});}}catch(_0x230033){this['_logService'][_0x3686ab(0x2c6)](_0x230033),this[_0x3686ab(0x184)]();}}[_0x122a43(0x2a3)](_0x37ec2e){var _0x339e21=_0x122a43;this[_0x339e21(0x30b)][_0x339e21(0x368)](_0x339e21(0x341),'socket\x20open.'),_0x37ec2e[_0x339e21(0x2de)]({'cmd':F['HELLO']}),this['_rescheduleHeartbeat']();}[_0x122a43(0x3fe)](){var _0x9bbfd5=_0x122a43;this['_socketReady']=!0x1,this[_0x9bbfd5(0x2ea)]=null,this[_0x9bbfd5(0x2e9)][_0x9bbfd5(0x480)](Ee[_0x9bbfd5(0x340)]),this[_0x9bbfd5(0x413)]['next'](null),this['_clearTimeoutTimer'](),this[_0x9bbfd5(0x2df)]();}[_0x122a43(0x184)](){var _0xcf5ef4=_0x122a43,_0x2262f4;this[_0xcf5ef4(0x3fe)](),this['_retryCount']<((_0x2262f4=this['_configService'][_0xcf5ef4(0x2ed)](On))!=null?_0x2262f4:yn)?(this[_0xcf5ef4(0x44a)][_0xcf5ef4(0x1d4)]({'id':re[_0xcf5ef4(0x2fa)]}),this[_0xcf5ef4(0x2b7)]()):this['_collaborationUIEventService']['emitEvent']({'id':re[_0xcf5ef4(0x320)]});}[_0x122a43(0x2b7)](){var _0x35e3fb=_0x122a43,_0x3ecc0c;const _0x3ee9f6=this[_0x35e3fb(0x388)],_0x4e0f52=this[_0x35e3fb(0x1cb)][_0x35e3fb(0x2ed)](q),_0x3ff68f=_0x3ee9f6===0x0?0x0:((_0x3ecc0c=_0x4e0f52==null?void 0x0:_0x4e0f52[_0x35e3fb(0x2a4)])!=null?_0x3ecc0c:bn)*0x2**_0x3ee9f6;this['_retryConnectingTimer']=setTimeout(()=>{var _0x3d4a22=_0x35e3fb;clearTimeout(this[_0x3d4a22(0x27f)]),this[_0x3d4a22(0x27f)]=null,this[_0x3d4a22(0x332)]();},_0x3ff68f),this[_0x35e3fb(0x388)]+=0x1;}[_0x122a43(0x215)](_0x206ae9,_0x35c16d){var _0x21b161=_0x122a43;const {cmd:_0x51c72c}=_0x35c16d;_0x51c72c===F[_0x21b161(0x23c)]&&!this['_socketReady']&&(_0x206ae9[_0x21b161(0x30a)]=_0x35c16d[_0x21b161(0x395)][_0x21b161(0x30a)],this[_0x21b161(0x413)][_0x21b161(0x480)](_0x206ae9),this[_0x21b161(0x2e9)][_0x21b161(0x480)](Ee[_0x21b161(0x209)]),this[_0x21b161(0x22e)]=!0x0,this[_0x21b161(0x2ea)]=null),_0x51c72c===F[_0x21b161(0x42e)]&&this[_0x21b161(0x353)](),this[_0x21b161(0x436)]();}[_0x122a43(0x436)](){var _0x426348=_0x122a43,_0x239168;this[_0x426348(0x2df)](),this[_0x426348(0x196)]=setTimeout(()=>this[_0x426348(0x234)](),(_0x239168=this['_configService'][_0x426348(0x2ed)](Cn))!=null?_0x239168:Rn);}[_0x122a43(0x234)](){var _0x5a0c84=_0x122a43;this[_0x5a0c84(0x20f)][_0x5a0c84(0x2de)]({'cmd':F[_0x5a0c84(0x42e)]}),this[_0x5a0c84(0x337)]();}[_0x122a43(0x337)](){var _0x4b7b1a=_0x122a43,_0x4b46d6;this['_timeoutTimer']=setTimeout(()=>this['_onConnectionFailed'](),(_0x4b46d6=this[_0x4b7b1a(0x1cb)][_0x4b7b1a(0x2ed)](mi))!=null?_0x4b46d6:gi);}[_0x122a43(0x2df)](){var _0x37963f=_0x122a43;this['_sendHeartbeatTimer']!=null&&(clearTimeout(this[_0x37963f(0x196)]),this['_sendHeartbeatTimer']=null);}[_0x122a43(0x353)](){var _0x38bf27=_0x122a43;this[_0x38bf27(0x24f)]!=null&&(clearTimeout(this['_timeoutTimer']),this[_0x38bf27(0x24f)]=null);}};Me=Kn([be(0x0,_0xed7601(_0x4a4e75)),be(0x1,_0x10a457),be(0x2,_0x47e68f),be(0x3,Ii),be(0x4,_0xed7601(pe)),be(0x5,_0x5c24ee(Pn))],Me);const V=[];for(let t=0x0;t<0x100;++t)V[_0x122a43(0x2a7)]((t+0x100)[_0x122a43(0x1c2)](0x10)[_0x122a43(0x444)](0x1));function qn(_0x5bc7e7,_0x4610e3=0x0){var _0x28398b=_0x122a43;return(V[_0x5bc7e7[_0x4610e3+0x0]]+V[_0x5bc7e7[_0x4610e3+0x1]]+V[_0x5bc7e7[_0x4610e3+0x2]]+V[_0x5bc7e7[_0x4610e3+0x3]]+'-'+V[_0x5bc7e7[_0x4610e3+0x4]]+V[_0x5bc7e7[_0x4610e3+0x5]]+'-'+V[_0x5bc7e7[_0x4610e3+0x6]]+V[_0x5bc7e7[_0x4610e3+0x7]]+'-'+V[_0x5bc7e7[_0x4610e3+0x8]]+V[_0x5bc7e7[_0x4610e3+0x9]]+'-'+V[_0x5bc7e7[_0x4610e3+0xa]]+V[_0x5bc7e7[_0x4610e3+0xb]]+V[_0x5bc7e7[_0x4610e3+0xc]]+V[_0x5bc7e7[_0x4610e3+0xd]]+V[_0x5bc7e7[_0x4610e3+0xe]]+V[_0x5bc7e7[_0x4610e3+0xf]])[_0x28398b(0x206)]();}let ut;const zn=new Uint8Array(0x10);function Jn(){var _0x4420e9=_0x122a43;if(!ut){if(typeof crypto>'u'||!crypto[_0x4420e9(0x2f3)])throw new Error('crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported');ut=crypto[_0x4420e9(0x2f3)]['bind'](crypto);}return ut(zn);}const Xn=typeof crypto<'u'&&crypto['randomUUID']&&crypto[_0x122a43(0x1d5)][_0x122a43(0x221)](crypto),Kt={'randomUUID':Xn};function Zn(_0x408ce5,_0x1268b7,_0x47e4b1){var _0x146abb=_0x122a43,_0x27f220,_0x6813c0,_0x43ce5c;if(Kt[_0x146abb(0x1d5)]&&!_0x408ce5)return Kt[_0x146abb(0x1d5)]();_0x408ce5=_0x408ce5||{};const _0x5efe96=(_0x43ce5c=(_0x6813c0=_0x408ce5[_0x146abb(0x3e6)])!=null?_0x6813c0:(_0x27f220=_0x408ce5[_0x146abb(0x21c)])==null?void 0x0:_0x27f220[_0x146abb(0x30d)](_0x408ce5))!=null?_0x43ce5c:Jn();if(_0x5efe96['length']<0x10)throw new Error(_0x146abb(0x1a6));return _0x5efe96[0x6]=_0x5efe96[0x6]&0xf|0x40,_0x5efe96[0x8]=_0x5efe96[0x8]&0x3f|0x80,qn(_0x5efe96);}const J=_0x479abf(_0x122a43(0x371));function Br(_0x51313e){return'unit-cache-'+_0x51313e;}var Qn=Object[_0x122a43(0x3bd)],es=(_0x277b0d,_0x2cf5c6,_0x42a233,_0x2ec798)=>{var _0x494f67=_0x122a43;for(var _0xf4d599=_0x2ec798>0x1?void 0x0:_0x2ec798?Qn(_0x2cf5c6,_0x42a233):_0x2cf5c6,_0x571478=_0x277b0d[_0x494f67(0x32b)]-0x1,_0x43559c;_0x571478>=0x0;_0x571478--)(_0x43559c=_0x277b0d[_0x571478])&&(_0xf4d599=_0x43559c(_0xf4d599)||_0xf4d599);return _0xf4d599;},dt=(_0x3be88c,_0x50cb4a)=>(_0x253b0e,_0x3154b0)=>_0x50cb4a(_0x253b0e,_0x3154b0,_0x3be88c);function ts(_0x361540){var _0x2dc7c8=_0x122a43;const {unitID:_0x461872,mutations:_0x231de0}=_0x361540;return{'unitId':_0x461872,'subUnitId':_0x231de0[0x0]['params'][_0x2dc7c8(0x3a7)]};}let it=class{constructor(_0x47f3bd,_0xb24e38,_0x2bdfe9){var _0x528a77=_0x122a43;this['_injector']=_0x47f3bd,this[_0x528a77(0x3c7)]=_0xb24e38,this[_0x528a77(0x406)]=_0x2bdfe9;}['transformSelections'](_0x24bd4a){var _0x302443=_0x122a43,_0x49739b,_0x27a83d,_0x267dd0,_0x81c971;const _0x37ded2=this[_0x302443(0x181)][_0x302443(0x46b)](_0x11385a),{unitId:_0x24e702,subUnitId:_0x56bc59}=ts(_0x24bd4a),_0x240fd6=_0x37ded2==null?void 0x0:_0x37ded2[_0x302443(0x2a2)](_0x24e702)[_0x302443(0x351)](),_0x4f229a=(_0x27a83d=(_0x49739b=this['_instanceService']['getUnit'](_0x24e702))==null?void 0x0:_0x49739b['getActiveSheet']())==null?void 0x0:_0x27a83d[_0x302443(0x343)]();if(_0x240fd6['length']===0x0||!_0x24e702||!_0x56bc59)return;const _0x50674e=[{'id':_0x1bc253['id'],'params':{'unitId':_0x24e702,'subUnitId':_0x4f229a,'selections':_0x23c90b[_0x302443(0x2a6)](_0x240fd6)}}],_0x5bcc0f=this[_0x302443(0x3c7)]['transformMutationsWithChangeset'](_0x24bd4a,_0x50674e);if(!_0xe153d7(_0x5bcc0f))throw _0x5bcc0f[_0x302443(0x2c6)];const _0x3043cc=(_0x81c971=(_0x267dd0=_0x5bcc0f[_0x302443(0x2b6)][0x0])==null?void 0x0:_0x267dd0[_0x302443(0x231)])==null?void 0x0:_0x81c971[_0x302443(0x423)];if(Array['isArray'](_0x3043cc)&&_0x3043cc[_0x302443(0x32b)]){if(_0x3043cc['length']===_0x50674e[0x0][_0x302443(0x231)][_0x302443(0x423)][_0x302443(0x32b)]&&_0x3043cc[_0x302443(0x3f6)]((_0x1ce2a0,_0x38f5f0)=>_0x5e5c28[_0x302443(0x3a0)](_0x1ce2a0[_0x302443(0x1d2)],_0x50674e[0x0]['params']['selections'][_0x38f5f0][_0x302443(0x1d2)])))return;this['_injector'][_0x302443(0x46b)](_0x4f8580)[_0x302443(0x329)](_0x1bc253['id'],{'unitId':_0x24e702,'subUnitId':_0x4f229a,'selections':_0x3043cc});}}};it=es([dt(0x0,_0xed7601(_0x4a4e75)),dt(0x1,_0x70853b),dt(0x2,_0x286933)],it);const ht=_0x479abf(_0x122a43(0x2ef));var Ci=(_0x1e4bd6=>(_0x1e4bd6[_0x1e4bd6['NO_OTHER_CLIENTS_EDITING']=0x0]=_0x122a43(0x2c8),_0x1e4bd6[_0x1e4bd6['OTHER_CLIENTS_EDITING']=0x1]=_0x122a43(0x347),_0x1e4bd6))(Ci||{});const is=new Set([_0x2bb591['id']]);function qt(_0x22b197,_0x21d49d,_0x5da506,_0x162a5f,_0x3c5082){var _0x49b174=_0x122a43,_0x2bd35b,_0x502b25,_0x33163c,_0x1611e3;const _0x546b39=[];for(const _0x4fb125 of _0x22b197)if(is[_0x49b174(0x214)](_0x4fb125['id'])){if(_0x546b39[_0x49b174(0x32b)]>0x0)break;_0x546b39[_0x49b174(0x2a7)](_0x4fb125);break;}else _0x546b39['push'](_0x4fb125);const _0x158864=(_0x502b25=(_0x2bd35b=_0x3c5082['getCurrentUser']())==null?void 0x0:_0x2bd35b['userID'])!=null?_0x502b25:_0x49b174(0x2cc),_0x59d2a2=(_0x1611e3=(_0x33163c=_0x3c5082[_0x49b174(0x217)]())==null?void 0x0:_0x33163c['memberID'])!=null?_0x1611e3:_0x49b174(0x2cc);return{'changeset':{'unitID':_0x21d49d,'type':_0x3ca39a(_0x5da506[_0x49b174(0x3c3)](_0x21d49d)),'baseRev':_0x162a5f[_0x49b174(0x34a)](_0x21d49d),'revision':0x0,'userID':_0x158864,'memberID':_0x59d2a2,'mutations':_0x546b39},'pendingMutations':_0x22b197[_0x49b174(0x444)](_0x546b39[_0x49b174(0x32b)])};}function ns(_0x11fa9c,_0x44e8c8,_0x55516b,_0x309d51,_0xc041f6){var _0x2fe6cf=_0x122a43,_0x3cbb9b,_0xd5f7ef,_0x12f8d0,_0x3780f6;const _0x321ab9=[_0x11fa9c['reduce']((_0x355038,_0xd0ed5a)=>{var _0xe40fa2=_0x1002,_0x530c7c;const {id:_0x5b5219}=_0x355038,{id:_0x2fe6de,type:_0xd9b161}=_0xd0ed5a,_0x5d5b9e=(_0x530c7c=_0x355038['params'])!=null?_0x530c7c:{'actions':null},_0x1da052=_0xd0ed5a[_0xe40fa2(0x231)];if(_0x5b5219&&_0x5b5219!==_0x2fe6de)throw new Error(_0xe40fa2(0x21f)+_0x5b5219+_0xe40fa2(0x357)+_0x2fe6de+'.');return{..._0x355038,'id':_0x2fe6de,'type':_0xd9b161,'params':{'unitId':_0x1da052[_0xe40fa2(0x3ee)],'textRanges':_0x1da052[_0xe40fa2(0x200)],'actions':_0x214f14[_0xe40fa2(0x38a)](_0x5d5b9e[_0xe40fa2(0x25b)],_0x1da052[_0xe40fa2(0x25b)])}};},{})],_0x4c8c74=(_0xd5f7ef=(_0x3cbb9b=_0xc041f6[_0x2fe6cf(0x217)]())==null?void 0x0:_0x3cbb9b[_0x2fe6cf(0x191)])!=null?_0xd5f7ef:_0x2fe6cf(0x2cc),_0x57253f=(_0x3780f6=(_0x12f8d0=_0xc041f6['getCurrentUser']())==null?void 0x0:_0x12f8d0['memberID'])!=null?_0x3780f6:_0x2fe6cf(0x2cc);return{'changeset':{'unitID':_0x44e8c8,'type':_0x3ca39a(_0x55516b[_0x2fe6cf(0x3c3)](_0x44e8c8)),'baseRev':_0x309d51[_0x2fe6cf(0x34a)](_0x44e8c8),'revision':0x0,'userID':_0x4c8c74,'memberID':_0x57253f,'mutations':_0x321ab9},'pendingMutations':[]};}function Ri(_0x3e39de,_0x44c703){var _0x3f97d9=_0x122a43;const _0x361575=new _0x34d8ae(0x1);return setTimeout(()=>_0x361575[_0x3f97d9(0x480)](_0x44c703),_0x3e39de),_0x361575[_0x3f97d9(0x2dd)]()[_0x3f97d9(0x2d7)](_0x32b636(0x1));}const ss={'id':_0x97bcc1['id'],'type':_0x111dc5[_0x122a43(0x2f9)],'params':{}};var rs=Object[_0x122a43(0x3bd)],Te=(_0x5e1ea8,_0x2da6fa,_0x13f8d7,_0x50e388)=>{var _0x45e7ee=_0x122a43;for(var _0x27c056=_0x50e388>0x1?void 0x0:_0x50e388?rs(_0x2da6fa,_0x13f8d7):_0x2da6fa,_0x287fcb=_0x5e1ea8[_0x45e7ee(0x32b)]-0x1,_0x8512d0;_0x287fcb>=0x0;_0x287fcb--)(_0x8512d0=_0x5e1ea8[_0x287fcb])&&(_0x27c056=_0x8512d0(_0x27c056)||_0x27c056);return _0x27c056;},P=(_0x8fa50,_0x3b5451)=>(_0x2258d4,_0x56615c)=>_0x3b5451(_0x2258d4,_0x56615c,_0x8fa50),bi=(_0x1c9a36=>(_0x1c9a36[_0x122a43(0x211)]='not_collab',_0x1c9a36['SYNCED']='synced',_0x1c9a36[_0x122a43(0x427)]=_0x122a43(0x426),_0x1c9a36['AWAITING']='awaiting',_0x1c9a36[_0x122a43(0x26d)]='awaiting_with_pending',_0x1c9a36[_0x122a43(0x3b7)]=_0x122a43(0x3db),_0x1c9a36['CONFLICT']='conflict',_0x1c9a36['OFFLINE']='offline',_0x1c9a36))(bi||{});const Oi=0xea60;class Ce{constructor(_0x2bc218,_0x27228a,_0x177602,_0x27d52a,_0x269cd3,_0x58280c,_0xc429ce,_0x5708c2,_0x21d98c){var _0x4d0798=_0x122a43;N(this,_0x4d0798(0x1c0),null),N(this,_0x4d0798(0x3be),[]),(this['unitID']=_0x2bc218,this[_0x4d0798(0x2f5)]=_0x27228a,this[_0x4d0798(0x1d7)]=_0x269cd3,this[_0x4d0798(0x35d)]=_0x58280c,this['_undoRedoService']=_0xc429ce,this[_0x4d0798(0x35b)]=_0x5708c2,this[_0x4d0798(0x440)]=_0x21d98c,this['_awaitingChangeset']=_0x177602,this['_pendingMutations']=_0x27d52a);}[_0x122a43(0x3da)](_0x283815){var _0xb12ff1=_0x122a43;const _0x22d38c=this['_revisionService']['getCurrentRevOfUnit'](this['unitID']);return _0x283815[_0xb12ff1(0x182)]>_0x22d38c+0x1?(this[_0xb12ff1(0x1d7)]['onMissingChangesets']({'from':_0x22d38c,'to':_0x283815['revision']-0x1}),!0x0):!0x1;}[_0x122a43(0x246)](_0x45ab8c){var _0x37c5e4=_0x122a43;this[_0x37c5e4(0x1e3)]['transformUndoRedo'](this[_0x37c5e4(0x263)],_0x45ab8c);}[_0x122a43(0x219)](_0x3d2d91){var _0x5cc74d=_0x122a43,_0x53ba28,_0x14f94f;(_0x14f94f=(_0x53ba28=this[_0x5cc74d(0x1d7)])[_0x5cc74d(0x1a2)])==null||_0x14f94f[_0x5cc74d(0x30d)](_0x53ba28,_0x3d2d91);}['_transformIMECache'](_0x7526d1){var _0xbcd1c6=_0x122a43,_0x2e6d28,_0x5f1d33;return(_0x5f1d33=(_0x2e6d28=this[_0xbcd1c6(0x1d7)])[_0xbcd1c6(0x45a)])==null?void 0x0:_0x5f1d33['call'](_0x2e6d28,_0x7526d1);}[_0x122a43(0x19f)](_0x1ba04d){var _0x3a3fab=_0x122a43,_0x438dea,_0x2cdff1;return(_0x2cdff1=(_0x438dea=this[_0x3a3fab(0x1d7)])[_0x3a3fab(0x24a)])==null?void 0x0:_0x2cdff1[_0x3a3fab(0x30d)](_0x438dea,_0x1ba04d);}[_0x122a43(0x1e6)](_0x4d9233){var _0x111e74=_0x122a43,_0x4abce5,_0x3bffd9,_0x24d300;return(_0x24d300=(_0x3bffd9=(_0x4abce5=this[_0x111e74(0x1d7)])['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x3bffd9[_0x111e74(0x30d)](_0x4abce5,_0x4d9233))!=null?_0x24d300:_0x4d9233;}[_0x122a43(0x47d)](_0x411e7c){var _0x1a137f=_0x122a43,_0x54af51,_0x29b9e0,_0x25cf60;return(_0x25cf60=(_0x29b9e0=(_0x54af51=this[_0x1a137f(0x1d7)])[_0x1a137f(0x2e3)])==null?void 0x0:_0x29b9e0[_0x1a137f(0x30d)](_0x54af51,_0x411e7c))!=null?_0x25cf60:_0x411e7c;}['_syncEditingCollabCursor'](_0x438229){var _0x3de317=_0x122a43,_0x59f042,_0x44f2b3;if(this[_0x3de317(0x2f5)]===Q['UNIVER_DOC']){const {unitID:_0xfee59d,mutations:_0x44f443,memberID:_0x5dee73}=_0x438229,_0x19951e=_0x44f443[0x0]['params'][_0x3de317(0x200)];Array[_0x3de317(0x2b0)](_0x19951e)&&_0x19951e[_0x3de317(0x32b)]>0x0&&((_0x44f2b3=(_0x59f042=this[_0x3de317(0x1d7)])[_0x3de317(0x409)])==null||_0x44f2b3[_0x3de317(0x30d)](_0x59f042,{'unitID':_0xfee59d,'memberID':_0x5dee73,'textRanges':_0x19951e}));}}['_updateLocalCache'](){var _0x57efd7=_0x122a43,_0x290b0f;(_0x290b0f=this[_0x57efd7(0x440)])==null||_0x290b0f['updateOfflineData'](this[_0x57efd7(0x263)],this[_0x57efd7(0x2f5)],this[_0x57efd7(0x1c0)],this[_0x57efd7(0x3be)]);}['_getCurrentRevision'](){var _0x965653=_0x122a43;return this[_0x965653(0x35b)][_0x965653(0x34a)](this[_0x965653(0x263)]);}[_0x122a43(0x39b)](){var _0x449e3b=_0x122a43;this[_0x449e3b(0x35b)][_0x449e3b(0x210)](this[_0x449e3b(0x263)]);}['_executeRemoteChangeset'](_0x399eff){var _0x2f1b35=_0x122a43,_0x9499f2;let _0x44427f=this[_0x2f1b35(0x1e6)](_0x399eff);_0x44427f=this[_0x2f1b35(0x47d)](_0x44427f);const _0x208d9e=_0x47c77e(_0x44427f[_0x2f1b35(0x195)],this[_0x2f1b35(0x35d)],{'fromCollab':!0x0});if(!_0x208d9e[_0x2f1b35(0x1f5)])throw _0x208d9e[_0x2f1b35(0x2c6)]instanceof Error?_0x208d9e[_0x2f1b35(0x2c6)]:new Error((_0x9499f2=_0x208d9e['error'])!=null?_0x9499f2:_0x2f1b35(0x3de));this['_transformIMECache'](_0x44427f),this['_transformStateCache'](_0x44427f),this[_0x2f1b35(0x246)](_0x399eff),this[_0x2f1b35(0x219)](_0x44427f),this[_0x2f1b35(0x220)](_0x44427f),this[_0x2f1b35(0x39b)]();}}let Ne=class extends Ce{constructor(_0x3c28cd,_0x46bbbc,_0x3234dd,_0x41470c,_0x3bd2be,_0x3d9104,_0x344fb3,_0x5e3041,_0x102437,_0x550328){var _0x5c4bb8=_0x122a43;super(_0x3c28cd,_0x46bbbc,null,[],_0x3234dd,_0x344fb3,_0x3d9104,_0x41470c,_0x550328),N(this,'status',_0x5c4bb8(0x47e)),(this[_0x5c4bb8(0x181)]=_0x3bd2be,this[_0x5c4bb8(0x30b)]=_0x5e3041,this[_0x5c4bb8(0x3c7)]=_0x102437,this[_0x5c4bb8(0x349)]=_0x550328);}[_0x122a43(0x275)](_0x51f56c){var _0x243409=_0x122a43;const _0x4085d8=this[_0x243409(0x181)][_0x243409(0x38c)](ae,this['unitID'],this['type'],[_0x51f56c],this[_0x243409(0x1d7)]);return _0x4085d8[_0x243409(0x255)](),_0x4085d8[_0x243409(0x267)](),_0x4085d8;}[_0x122a43(0x1fb)](_0x26e595){var _0x14c47c=_0x122a43;if(this[_0x14c47c(0x3da)](_0x26e595))return this[_0x14c47c(0x181)]['createInstance'](ee,this[_0x14c47c(0x263)],this[_0x14c47c(0x2f5)],null,[],null,[_0x26e595],this[_0x14c47c(0x1d7)]);try{const _0xae5cdb=this[_0x14c47c(0x3c7)][_0x14c47c(0x3f0)](_0x26e595,[ss]);if(_0xe153d7(_0xae5cdb)){const {c1Prime:_0x1631ee}=_0xae5cdb;return this[_0x14c47c(0x2ad)](_0x1631ee),this;}throw _0xae5cdb[_0x14c47c(0x2c6)];}catch(_0x25f9ec){return this['_logService'][_0x14c47c(0x2c6)](_0x25f9ec),this[_0x14c47c(0x1e1)](!0x1);}}[_0x122a43(0x1e1)](_0x29742e){var _0x471c6d=_0x122a43;return this[_0x471c6d(0x181)]['createInstance'](ue,this[_0x471c6d(0x263)],this['type'],null,[],this[_0x471c6d(0x1d7)],_0x29742e);}['onRemoteAck'](){throw new Error('[SyncedState]:\x20received\x20acknowledgement.');}[_0x122a43(0x3a2)](){var _0x825df=_0x122a43;throw new Error(_0x825df(0x40d));}['onRemoteRetry'](){return this;}[_0x122a43(0x3fc)](){var _0x2b927b=_0x122a43;return this[_0x2b927b(0x181)][_0x2b927b(0x38c)](de,this[_0x2b927b(0x263)],this['type'],null,[],this[_0x2b927b(0x1d7)]);}[_0x122a43(0x2a5)](){return this;}['resend'](){throw new Error('[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x122a43(0x19c)](){var _0x107bc3=_0x122a43;const _0x3aebbe=this[_0x107bc3(0x35b)][_0x107bc3(0x34a)](this['unitID']);return this[_0x107bc3(0x1d7)]['onMissingChangesets']({'from':_0x3aebbe,'to':0x0}),this[_0x107bc3(0x181)][_0x107bc3(0x38c)](ee,this[_0x107bc3(0x263)],this['type'],null,[],null,[],this[_0x107bc3(0x1d7)]);}};Ne=Te([P(0x3,_0xed7601(_0x459bd5)),P(0x4,_0xed7601(_0x4a4e75)),P(0x5,_0x3776e6),P(0x6,_0x4f8580),P(0x7,_0x10a457),P(0x8,_0x70853b),P(0x9,_0x5c24ee(J))],Ne);let ae=class extends Ce{constructor(_0x4bc639,_0x5f3f4d,_0x25ba8a,_0x478f5a,_0x2372f9,_0x5bcf8a,_0x235050,_0x58d206,_0x3f975f,_0x450950,_0x42ad1d,_0x2551c6,_0x260bb8,_0x11d2ba){var _0x117d1a=_0x122a43;super(_0x4bc639,_0x5f3f4d,null,_0x25ba8a,_0x478f5a,_0x3f975f,_0x260bb8,_0x5bcf8a,_0x11d2ba),N(this,'status','pending'),N(this,_0x117d1a(0x23e),null),N(this,_0x117d1a(0x18a),null),(this['_injector']=_0x2372f9,this[_0x117d1a(0x3a1)]=_0x235050,this[_0x117d1a(0x30b)]=_0x58d206,this[_0x117d1a(0x1cb)]=_0x450950,this['_transformService']=_0x42ad1d,this[_0x117d1a(0x269)]=_0x2551c6);}[_0x122a43(0x275)](_0x18ba62){var _0x18a96a=_0x122a43;return this[_0x18a96a(0x3be)][_0x18a96a(0x2a7)](_0x18ba62),this[_0x18a96a(0x267)](),this;}['onRemoteChangeset'](_0x472e28){var _0x3e9fa0=_0x122a43;if(this[_0x3e9fa0(0x3da)](_0x472e28))return this[_0x3e9fa0(0x190)](),this[_0x3e9fa0(0x181)][_0x3e9fa0(0x38c)](ee,this['unitID'],this['type'],null,this['_pendingMutations'],null,[_0x472e28],this['_handler']);try{const _0x57e025=this['_transformService'][_0x3e9fa0(0x3f0)](_0x472e28,this[_0x3e9fa0(0x3be)]);if(_0xe153d7(_0x57e025)){const {c1Prime:_0xeda093,m2Prime:_0x3af2bc}=_0x57e025;this[_0x3e9fa0(0x2ad)](_0xeda093);const _0x5cf8a8=this[_0x3e9fa0(0x181)][_0x3e9fa0(0x38c)](ae,this[_0x3e9fa0(0x263)],this[_0x3e9fa0(0x2f5)],_0x3af2bc,this[_0x3e9fa0(0x1d7)]);this['_clearScheduledTask']();const _0x4f517c=new Date()[_0x3e9fa0(0x40b)](),_0x41cce7=this[_0x3e9fa0(0x23e)]?Math[_0x3e9fa0(0x249)](this[_0x3e9fa0(0x23e)]-_0x4f517c,0x0):this[_0x3e9fa0(0x245)]();return _0x5cf8a8[_0x3e9fa0(0x255)](_0x41cce7),_0x5cf8a8;}throw _0x57e025[_0x3e9fa0(0x2c6)];}catch(_0x2d70b1){return this[_0x3e9fa0(0x30b)][_0x3e9fa0(0x2c6)](_0x2d70b1),this[_0x3e9fa0(0x1e1)](!0x1);}}['onRemoteAck'](){var _0x27a4b5=_0x122a43;throw new Error(_0x27a4b5(0x27d));}['onRemoteRej'](){var _0x24abe4=_0x122a43;throw new Error(_0x24abe4(0x1fc));}[_0x122a43(0x443)](){return this;}[_0x122a43(0x3fc)](){var _0x4304d5=_0x122a43;return this['_clearScheduledTask'](),this[_0x4304d5(0x181)][_0x4304d5(0x38c)](de,this[_0x4304d5(0x263)],this[_0x4304d5(0x2f5)],null,this[_0x4304d5(0x3be)],this[_0x4304d5(0x1d7)]);}['toggleOnline'](){return this;}[_0x122a43(0x255)](_0x5d4185){var _0x18fb5b=_0x122a43;const _0x5a7c16=_0x5d4185!=null?_0x5d4185:this[_0x18fb5b(0x245)]();this[_0x18fb5b(0x23e)]=new Date()[_0x18fb5b(0x40b)]()+_0x5a7c16,this[_0x18fb5b(0x18a)]=setTimeout(()=>{var _0x5d27c2=_0x18fb5b;this[_0x5d27c2(0x190)]();let _0x59bb03=null;switch(this[_0x5d27c2(0x2f5)]){case Q[_0x5d27c2(0x36b)]:{_0x59bb03=qt(this[_0x5d27c2(0x3be)],this[_0x5d27c2(0x263)],this[_0x5d27c2(0x269)],this[_0x5d27c2(0x35b)],this[_0x5d27c2(0x3a1)]);break;}case Q[_0x5d27c2(0x29a)]:{this['_pendingMutations'][_0x5d27c2(0x3f6)](_0x336625=>_0x336625['id']===_0x55fe13['id'])?_0x59bb03=ns(this[_0x5d27c2(0x3be)],this['unitID'],this[_0x5d27c2(0x269)],this['_revisionService'],this['_memberService']):_0x59bb03=qt(this[_0x5d27c2(0x3be)],this[_0x5d27c2(0x263)],this[_0x5d27c2(0x269)],this[_0x5d27c2(0x35b)],this['_memberService']);break;}default:throw new Error(_0x5d27c2(0x442)+this[_0x5d27c2(0x2f5)]+'\x20in\x20_schedule.');}const {changeset:_0x1a3b62,pendingMutations:_0x339543}=_0x59bb03;this[_0x5d27c2(0x1d7)][_0x5d27c2(0x481)](_0x1a3b62);const _0x156db8=_0x339543['length']?this['_injector'][_0x5d27c2(0x38c)](oe,this[_0x5d27c2(0x263)],this[_0x5d27c2(0x2f5)],_0x1a3b62,_0x339543,this['_handler'],void 0x0):this[_0x5d27c2(0x181)][_0x5d27c2(0x38c)](le,this[_0x5d27c2(0x263)],this[_0x5d27c2(0x2f5)],_0x1a3b62,this[_0x5d27c2(0x1d7)]);_0x156db8[_0x5d27c2(0x267)](),this['_handler'][_0x5d27c2(0x2eb)](this,_0x156db8);},_0x5a7c16);}['_getSendChangesetTimeout'](){var _0x674610=_0x122a43,_0x2c0501;const _0x34e6af=this[_0x674610(0x1cb)][_0x674610(0x2ed)](q);return(_0x2c0501=_0x34e6af==null?void 0x0:_0x34e6af['sendChangesetTimeout'])!=null?_0x2c0501:En;}[_0x122a43(0x1b9)](){throw new Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x122a43(0x190)](){var _0x21888e=_0x122a43;this[_0x21888e(0x18a)]!=null&&(clearTimeout(this[_0x21888e(0x18a)]),this[_0x21888e(0x18a)]=null);}[_0x122a43(0x1e1)](_0x5248a6){var _0x4613d2=_0x122a43;return this[_0x4613d2(0x190)](),this[_0x4613d2(0x181)]['createInstance'](ue,this[_0x4613d2(0x263)],this[_0x4613d2(0x2f5)],null,this[_0x4613d2(0x3be)],this[_0x4613d2(0x1d7)],_0x5248a6);}};ae=Te([P(0x4,_0xed7601(_0x4a4e75)),P(0x5,_0xed7601(_0x459bd5)),P(0x6,_0xed7601(Le)),P(0x7,_0x10a457),P(0x8,_0x4f8580),P(0x9,_0x47e68f),P(0xa,_0x70853b),P(0xb,_0x286933),P(0xc,_0x3776e6),P(0xd,_0x5c24ee(J))],ae);let le=class extends Ce{constructor(_0x2f8011,_0x48452f,_0xcbb252,_0x3819a4,_0x31651b,_0x3d0ff2,_0x49419b,_0x4169af,_0x9a9178,_0x2391f1,_0x4b8281){var _0x21a3b5=_0x122a43;super(_0x2f8011,_0x48452f,_0xcbb252,[],_0x3819a4,_0x49419b,_0x2391f1,_0x3d0ff2,_0x4b8281),N(this,_0x21a3b5(0x224),_0x21a3b5(0x3f1)),N(this,_0x21a3b5(0x411),0x0),N(this,_0x21a3b5(0x3e5)),N(this,'_sender'),(this[_0x21a3b5(0x181)]=_0x31651b,this[_0x21a3b5(0x30b)]=_0x4169af,this[_0x21a3b5(0x3c7)]=_0x9a9178);}[_0x122a43(0x275)](_0xe7d489){var _0x831e63=_0x122a43;this[_0x831e63(0x190)]();const _0x303122=this[_0x831e63(0x181)]['createInstance'](oe,this['unitID'],this[_0x831e63(0x2f5)],this['_awaitingChangeset'],[_0xe7d489],this[_0x831e63(0x1d7)],this[_0x831e63(0x3e5)]);return _0x303122[_0x831e63(0x267)](),_0x303122;}[_0x122a43(0x1fb)](_0x5a69ba){var _0x1d7ad9=_0x122a43;if(this['_checkMissing'](_0x5a69ba))return this[_0x1d7ad9(0x190)](),this['_injector'][_0x1d7ad9(0x38c)](ee,this[_0x1d7ad9(0x263)],this[_0x1d7ad9(0x2f5)],this['_awaitingChangeset'],[],null,[_0x5a69ba],this['_handler']);try{const _0x1d5e05=this[_0x1d7ad9(0x3c7)][_0x1d7ad9(0x429)]([_0x5a69ba],[this[_0x1d7ad9(0x1c0)]],!0x1);if(_0x585044(_0x1d5e05)){const {c1Prime:_0x2b5cb5,c2Prime:_0x2545d8}=_0x1d5e05;this['_executeRemoteChangeset'](_0x2b5cb5[0x0]),_0x2545d8[0x0][_0x1d7ad9(0x338)]=this['_getCurrentRevision'](),this[_0x1d7ad9(0x190)]();const _0x7def7b=this[_0x1d7ad9(0x181)][_0x1d7ad9(0x38c)](le,this[_0x1d7ad9(0x263)],this['type'],_0x2545d8[0x0],this[_0x1d7ad9(0x1d7)]);return _0x7def7b['_updateLocalCache'](),_0x7def7b;}return this[_0x1d7ad9(0x1e1)](!0x1);}catch(_0x5010ad){return this[_0x1d7ad9(0x30b)][_0x1d7ad9(0x2c6)](_0x5010ad),this[_0x1d7ad9(0x1e1)](!0x1);}}[_0x122a43(0x1dd)](_0x2c254d){var _0x57d186=_0x122a43;this[_0x57d186(0x190)]();const _0x43c4f8=this[_0x57d186(0x35b)][_0x57d186(0x34a)](this[_0x57d186(0x263)]);if(_0x2c254d[_0x57d186(0x182)]<_0x43c4f8-0x1)return this;if(this[_0x57d186(0x3da)](_0x2c254d))return this[_0x57d186(0x181)][_0x57d186(0x38c)](ee,this[_0x57d186(0x263)],this[_0x57d186(0x2f5)],null,[],this[_0x57d186(0x1c0)],[],this[_0x57d186(0x1d7)]);this['_incrementRevisionNumber']();const _0x268029=this[_0x57d186(0x181)]['createInstance'](Ne,this[_0x57d186(0x263)],this[_0x57d186(0x2f5)],this[_0x57d186(0x1d7)]);return _0x268029[_0x57d186(0x267)](),_0x268029;}['onRemoteRej'](_0x7fdf03){var _0x2bb365=_0x122a43;return this['_onConflict'](!!(_0x7fdf03!=null&&_0x7fdf03[_0x2bb365(0x435)]));}[_0x122a43(0x443)](_0x31f643){var _0x410917=_0x122a43;return this[_0x410917(0x411)]>Oi?this[_0x410917(0x3fc)]():(this[_0x410917(0x3e5)]=Ri(this['_resendTimeout'],{'timeout':this[_0x410917(0x411)],'reqId':_0x31f643[_0x410917(0x247)]}),this['_sender']=this['_resendTimer']['subscribe'](({reqId:_0x5685b3,timeout:_0x47587e})=>{var _0x1f8345=_0x410917;this[_0x1f8345(0x1f0)](_0x5685b3,_0x47587e);}),this);}[_0x122a43(0x3fc)](){var _0x2a3026=_0x122a43;return this[_0x2a3026(0x190)](),this[_0x2a3026(0x181)][_0x2a3026(0x38c)](de,this[_0x2a3026(0x263)],this[_0x2a3026(0x2f5)],this[_0x2a3026(0x1c0)],[],this[_0x2a3026(0x1d7)]);}[_0x122a43(0x2a5)](){return this;}[_0x122a43(0x1b9)](){var _0x2b436e=_0x122a43;this[_0x2b436e(0x1d7)][_0x2b436e(0x481)](this[_0x2b436e(0x1c0)]);}[_0x122a43(0x1e1)](_0x2b45d9){var _0x4a07b5=_0x122a43;return this[_0x4a07b5(0x190)](),this[_0x4a07b5(0x181)][_0x4a07b5(0x38c)](ue,this[_0x4a07b5(0x263)],this[_0x4a07b5(0x2f5)],this[_0x4a07b5(0x1c0)],[],this['_handler'],_0x2b45d9);}[_0x122a43(0x1f0)](_0x480cf2,_0x3ab2d3){var _0x433eb7=_0x122a43,_0x11a767;_0x480cf2===((_0x11a767=this['_awaitingChangeset'])==null?void 0x0:_0x11a767[_0x433eb7(0x247)])&&(this['resend'](),this['_resendTimeout']=_0x3ab2d3===0x0?0x3e8:_0x3ab2d3*0x2);}[_0x122a43(0x190)](){var _0x52988f=_0x122a43,_0x173aa7;(_0x173aa7=this['_sender'])==null||_0x173aa7[_0x52988f(0x428)](),this[_0x52988f(0x411)]=0x0;}};le=Te([P(0x4,_0xed7601(_0x4a4e75)),P(0x5,_0xed7601(_0x459bd5)),P(0x6,_0x4f8580),P(0x7,_0x10a457),P(0x8,_0x70853b),P(0x9,_0x3776e6),P(0xa,_0x5c24ee(J))],le);let oe=class extends Ce{constructor(_0x45de4f,_0x2d39f9,_0x24cfb5,_0x2ca6dc,_0xa3478a,_0x329306,_0xdbff71,_0x369c6b,_0x1b1692,_0xd6d0a2,_0x2ec2b0,_0x52d451,_0x4747a0){var _0x2253b6=_0x122a43;super(_0x45de4f,_0x2d39f9,_0x24cfb5,_0x2ca6dc,_0xa3478a,_0x1b1692,_0x52d451,_0x369c6b,_0x4747a0),N(this,'status',_0x2253b6(0x2e6)),N(this,'_resendTimeout',0x0),N(this,_0x2253b6(0x3e5)),N(this,'_sender'),(this[_0x2253b6(0x181)]=_0xdbff71,this['_logService']=_0xd6d0a2,this[_0x2253b6(0x3c7)]=_0x2ec2b0,this[_0x2253b6(0x349)]=_0x4747a0,_0x329306&&(this[_0x2253b6(0x3e5)]=_0x329306,this['_sender']=this[_0x2253b6(0x3e5)][_0x2253b6(0x294)](({reqId:_0x5e2356,timeout:_0x4e1726})=>{var _0x4fb0ea=_0x2253b6;this[_0x4fb0ea(0x1f0)](_0x5e2356,_0x4e1726);})));}[_0x122a43(0x275)](_0x3db173){var _0x52a736=_0x122a43;return this[_0x52a736(0x3be)]['push'](_0x3db173),this;}[_0x122a43(0x1fb)](_0xa252d){var _0x268713=_0x122a43;if(this[_0x268713(0x3da)](_0xa252d))return this['_clearScheduledTask'](),this['_injector'][_0x268713(0x38c)](ee,this[_0x268713(0x263)],this[_0x268713(0x2f5)],this[_0x268713(0x1c0)],this[_0x268713(0x3be)],null,[_0xa252d],this[_0x268713(0x1d7)]);try{const _0x1e3342=this['_transformService']['transformChangesets']([_0xa252d],[this[_0x268713(0x1c0)]],!0x1);if(_0x585044(_0x1e3342)){const {c1Prime:_0x461996,c2Prime:_0x5bc324}=_0x1e3342,_0x570742=this[_0x268713(0x3c7)]['transformMutationsWithChangeset'](_0x461996[0x0],this[_0x268713(0x3be)]);if(_0xe153d7(_0x570742)){const {c1Prime:_0x50b48e,m2Prime:_0x259fca}=_0x570742;return this[_0x268713(0x2ad)](_0x50b48e),_0x5bc324[0x0][_0x268713(0x338)]=this[_0x268713(0x43f)](),this['_clearScheduledTask'](),this[_0x268713(0x181)][_0x268713(0x38c)](oe,this['unitID'],this['type'],_0x5bc324[0x0],_0x259fca,this[_0x268713(0x1d7)],void 0x0);}throw _0x570742[_0x268713(0x2c6)];}throw _0x1e3342[_0x268713(0x2c6)];}catch(_0x42cd0e){return this[_0x268713(0x30b)]['error'](_0x42cd0e),this[_0x268713(0x1e1)](!0x1);}}['onRemoteAck'](_0x15cbcb){var _0x380ea0=_0x122a43;if(this[_0x380ea0(0x190)](),this[_0x380ea0(0x3da)](_0x15cbcb))return this[_0x380ea0(0x181)]['createInstance'](ee,this[_0x380ea0(0x263)],this[_0x380ea0(0x2f5)],null,this[_0x380ea0(0x3be)],this[_0x380ea0(0x1c0)],[],this[_0x380ea0(0x1d7)]);this[_0x380ea0(0x39b)]();const _0x13bc82=this['_injector'][_0x380ea0(0x38c)](ae,this[_0x380ea0(0x263)],this['type'],this[_0x380ea0(0x3be)],this[_0x380ea0(0x1d7)]);return _0x13bc82[_0x380ea0(0x255)](),_0x13bc82[_0x380ea0(0x267)](),_0x13bc82;}['onRemoteRej'](_0x3ae7c7){var _0x1c54e0=_0x122a43;return this[_0x1c54e0(0x1e1)](!!(_0x3ae7c7!=null&&_0x3ae7c7[_0x1c54e0(0x435)]));}[_0x122a43(0x443)](_0x38bcda){var _0x45f08c=_0x122a43;return this[_0x45f08c(0x411)]>Oi?this[_0x45f08c(0x3fc)]():(this[_0x45f08c(0x3e5)]=Ri(this[_0x45f08c(0x411)],{'timeout':this[_0x45f08c(0x411)],'reqId':_0x38bcda['reqId']}),this[_0x45f08c(0x471)]=this[_0x45f08c(0x3e5)]['subscribe'](({reqId:_0x3d94a8,timeout:_0x2b0974})=>{var _0x5e2276=_0x45f08c;this[_0x5e2276(0x1f0)](_0x3d94a8,_0x2b0974);}),this);}[_0x122a43(0x3fc)](){var _0x661a78=_0x122a43;return this[_0x661a78(0x190)](),this[_0x661a78(0x181)]['createInstance'](de,this[_0x661a78(0x263)],this['type'],this[_0x661a78(0x1c0)],this[_0x661a78(0x3be)],this[_0x661a78(0x1d7)]);}[_0x122a43(0x2a5)](){return this;}[_0x122a43(0x1b9)](){var _0x17d392=_0x122a43;this[_0x17d392(0x1d7)]['onSendChangeset'](this[_0x17d392(0x1c0)]);}[_0x122a43(0x1e1)](_0x5c31be){var _0x13d23d=_0x122a43;return this[_0x13d23d(0x190)](),this[_0x13d23d(0x181)][_0x13d23d(0x38c)](ue,this[_0x13d23d(0x263)],this['type'],null,this['_pendingMutations'],this['_handler'],_0x5c31be);}[_0x122a43(0x1f0)](_0x3c2dfc,_0x30308c){var _0x28c1c9=_0x122a43,_0x59ebe9;_0x3c2dfc===((_0x59ebe9=this[_0x28c1c9(0x1c0)])==null?void 0x0:_0x59ebe9[_0x28c1c9(0x247)])&&(this[_0x28c1c9(0x1b9)](),this[_0x28c1c9(0x411)]=_0x30308c===0x0?0x3e8:_0x30308c*0x2);}[_0x122a43(0x190)](){var _0x5b3aa0=_0x122a43,_0x1c5008;(_0x1c5008=this[_0x5b3aa0(0x471)])==null||_0x1c5008[_0x5b3aa0(0x428)](),this[_0x5b3aa0(0x411)]=0x0;}};oe=Te([P(0x6,_0xed7601(_0x4a4e75)),P(0x7,_0xed7601(_0x459bd5)),P(0x8,_0x4f8580),P(0x9,_0x10a457),P(0xa,_0x70853b),P(0xb,_0x3776e6),P(0xc,_0x5c24ee(J))],oe);let ue=class extends Ce{constructor(_0x2e3d1a,_0x2ccbe8,_0x1a551b,_0x46d0b5,_0x255e21,_0x1e524f=!0x1,_0x5e4757,_0x900b50,_0x16a54c,_0x1bf4c2,_0x2062f9,_0x39db7b,_0x2aedc3){var _0xc75f4d=_0x122a43;super(_0x2e3d1a,_0x2ccbe8,_0x1a551b,_0x46d0b5,_0x255e21,_0x900b50,_0x16a54c,_0x1bf4c2,_0x2aedc3),N(this,_0xc75f4d(0x224),_0xc75f4d(0x193)),(this[_0xc75f4d(0x363)]=_0x1e524f,this[_0xc75f4d(0x2d4)]=_0x5e4757,this[_0xc75f4d(0x3d5)]=_0x2062f9,this[_0xc75f4d(0x44a)]=_0x39db7b,this[_0xc75f4d(0x349)]=_0x2aedc3,this['_showConflictNotification'](),this[_0xc75f4d(0x1a9)](),this['_disableEditing']());}[_0x122a43(0x275)](){return this;}[_0x122a43(0x1fb)](){return this;}['onRemoteAck'](){return this;}[_0x122a43(0x3a2)](){return this;}[_0x122a43(0x443)](){return this;}[_0x122a43(0x3fc)](){return this;}[_0x122a43(0x2a5)](){return this;}['resend'](){throw new Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x122a43(0x1a9)](){var _0x5a1893=_0x122a43,_0x1aa1e0;(_0x1aa1e0=this['_localCacheService'])==null||_0x1aa1e0[_0x5a1893(0x272)](this[_0x5a1893(0x263)],this[_0x5a1893(0x2f5)],null,[]);}['_showConflictNotification'](){var _0x4c522d=_0x122a43;this[_0x4c522d(0x363)]?this[_0x4c522d(0x44a)]['emitEvent']({'id':re[_0x4c522d(0x3fb)]}):this['_collaborationUIEventService'][_0x4c522d(0x1d4)]({'id':re[_0x4c522d(0x36c)]});}[_0x122a43(0x279)](){var _0x520a46=_0x122a43;this[_0x520a46(0x2d4)][_0x520a46(0x1eb)](new _0x440c0c(this['unitID'])['id'],!0x1);}};ue=Te([P(0x6,_0xed7601(_0x4a395b)),P(0x7,_0x4f8580),P(0x8,_0x3776e6),P(0x9,_0xed7601(_0x459bd5)),P(0xa,_0xed7601(_0x50b3d3)),P(0xb,_0xed7601(pe)),P(0xc,_0x5c24ee(J))],ue);let de=class extends Ce{constructor(_0x400707,_0x4d374a,_0xba2ad5,_0x10278c,_0x3f48df,_0x29aa04,_0x5cfb23,_0x4d5e88,_0x5dac32,_0x557d16){var _0x2667d2=_0x122a43;super(_0x400707,_0x4d374a,_0xba2ad5,_0x10278c,_0x3f48df,_0x4d5e88,_0x5dac32,_0x5cfb23,_0x557d16),N(this,_0x2667d2(0x224),_0x2667d2(0x2bf)),this[_0x2667d2(0x181)]=_0x29aa04;}[_0x122a43(0x275)](_0x57c7a8){var _0x568778=_0x122a43;return this[_0x568778(0x3be)]['push'](_0x57c7a8),this[_0x568778(0x267)](),this;}[_0x122a43(0x1fb)](_0xc3cceb){var _0x1f2360=_0x122a43;throw new Error(_0x1f2360(0x328));}[_0x122a43(0x1dd)](){var _0x1ea944=_0x122a43;throw new Error(_0x1ea944(0x3c9));}['onRemoteRej'](){var _0x47d58c=_0x122a43;throw new Error(_0x47d58c(0x1ac));}[_0x122a43(0x443)](){return this;}[_0x122a43(0x3fc)](){return this;}['toggleOnline'](){var _0x176258=_0x122a43;const {_injector:_0x2133e6,_pendingMutations:_0x1b8a50,_awaitingChangeset:_0x168582,unitID:_0x2601ed,_handler:_0x4bdf1d,type:_0x32df84}=this,_0x4e8f72=yi(_0x2133e6,_0x2601ed,_0x32df84,_0x168582,_0x1b8a50,_0x4bdf1d);return _0x4e8f72 instanceof ae?_0x4e8f72[_0x176258(0x255)]():(_0x4e8f72 instanceof oe||_0x4e8f72 instanceof le)&&_0x4e8f72['resend'](),_0x4e8f72;}[_0x122a43(0x1b9)](){throw new Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}};de=Te([P(0x5,_0xed7601(_0x4a4e75)),P(0x6,_0xed7601(_0x459bd5)),P(0x7,_0x4f8580),P(0x8,_0x3776e6),P(0x9,_0x5c24ee(J))],de);let ee=class extends Ce{constructor(_0x48d7c6,_0x3a32bd,_0x324fd7,_0x4f73b3,_0x20a2a9,_0x2e5ac3,_0x31bc10,_0x2f5887,_0xe3fbc9,_0xf4972e,_0x1d13c1,_0x39aeca,_0x4b88f6,_0x3763ba){var _0xdecdc4=_0x122a43;super(_0x48d7c6,_0x3a32bd,_0x324fd7,_0x4f73b3,_0x31bc10,_0x1d13c1,_0x39aeca,_0xe3fbc9,_0x3763ba),N(this,_0xdecdc4(0x224),_0xdecdc4(0x3db)),(this[_0xdecdc4(0x26a)]=_0x20a2a9,this[_0xdecdc4(0x389)]=_0x2e5ac3,this['_injector']=_0x2f5887,this[_0xdecdc4(0x30b)]=_0xf4972e,this[_0xdecdc4(0x3c7)]=_0x4b88f6,this[_0xdecdc4(0x349)]=_0x3763ba);}[_0x122a43(0x203)](_0x44c3e4){var _0x5e217e=_0x122a43;try{const _0x4affa4=[..._0x44c3e4,...this[_0x5e217e(0x389)]],_0x45009b=[this[_0x5e217e(0x1c0)]||this[_0x5e217e(0x26a)]][_0x5e217e(0x3cc)](_0x2c4ca6=>!!_0x2c4ca6);let _0x4b24c1,_0x3d4982;if(_0x45009b[_0x5e217e(0x32b)]){const _0x61f87d=this[_0x5e217e(0x3c7)][_0x5e217e(0x429)](_0x4affa4,_0x45009b,!0x1);if(!_0x585044(_0x61f87d))throw _0x61f87d['error'];_0x4b24c1=_0x61f87d[_0x5e217e(0x298)],_0x3d4982=_0x61f87d[_0x5e217e(0x373)];}else _0x4b24c1=_0x4affa4,_0x3d4982=[];let _0x3d40f0=this['_pendingMutations'];_0x4b24c1[_0x5e217e(0x47a)](_0x4c11f6=>{var _0x3c3e26=_0x5e217e;let _0x5b3c68;if(_0x3d40f0['length']){const _0x398adc=this['_transformService']['transformMutationsWithChangeset'](_0x4c11f6,_0x3d40f0);if(!_0xe153d7(_0x398adc))throw _0x398adc['error'];_0x5b3c68=_0x398adc[_0x3c3e26(0x298)],_0x3d40f0=_0x398adc[_0x3c3e26(0x2b6)];}else _0x5b3c68=_0x4c11f6;this['_executeRemoteChangeset'](_0x5b3c68);}),this[_0x5e217e(0x26a)]&&this[_0x5e217e(0x39b)](),this[_0x5e217e(0x1c0)]&&_0x3d4982[_0x5e217e(0x32b)]&&(_0x3d4982[0x0]['baseRev']=this[_0x5e217e(0x43f)]());let _0x102e8e;if(this[_0x5e217e(0x1c0)]&&_0x3d40f0[_0x5e217e(0x32b)]!==0x0)_0x102e8e=this[_0x5e217e(0x181)][_0x5e217e(0x38c)](oe,this[_0x5e217e(0x263)],this[_0x5e217e(0x2f5)],_0x3d4982[0x0],_0x3d40f0,this['_handler'],void 0x0);else{if(this['_awaitingChangeset']&&_0x3d40f0[_0x5e217e(0x32b)]===0x0)_0x3d4982[0x0][_0x5e217e(0x338)]=this[_0x5e217e(0x43f)](),_0x102e8e=this[_0x5e217e(0x181)][_0x5e217e(0x38c)](le,this['unitID'],this[_0x5e217e(0x2f5)],_0x3d4982[0x0],this[_0x5e217e(0x1d7)]);else{if(_0x3d40f0[_0x5e217e(0x32b)]!==0x0){const _0x567b59=this[_0x5e217e(0x181)][_0x5e217e(0x38c)](ae,this[_0x5e217e(0x263)],this['type'],_0x3d40f0,this[_0x5e217e(0x1d7)]);_0x567b59['_schedule'](),_0x102e8e=_0x567b59;}else _0x102e8e=this['_injector'][_0x5e217e(0x38c)](Ne,this[_0x5e217e(0x263)],this[_0x5e217e(0x2f5)],this['_handler']);}}return _0x102e8e[_0x5e217e(0x267)](),_0x102e8e;}catch(_0x3dc5df){return this[_0x5e217e(0x30b)][_0x5e217e(0x2c6)](_0x5e217e(0x250),_0x5e217e(0x29c),_0x3dc5df),this[_0x5e217e(0x181)][_0x5e217e(0x38c)](ue,this[_0x5e217e(0x263)],this[_0x5e217e(0x2f5)],this[_0x5e217e(0x1c0)],this[_0x5e217e(0x3be)],this[_0x5e217e(0x1d7)],!0x1);}}[_0x122a43(0x1b9)](){var _0x39b9d3=_0x122a43;throw new Error(_0x39b9d3(0x306));}['appendMutation'](_0xd1f926){return this['_pendingMutations']['push'](_0xd1f926),this;}['onRemoteChangeset'](_0x54530e){var _0x31c144=_0x122a43;return this['_queuedRemoteChangesets'][_0x31c144(0x2a7)](_0x54530e),this;}['onRemoteAck'](_0x3a730b){var _0x504615=_0x122a43;if(this[_0x504615(0x1c0)])return this[_0x504615(0x26a)]=this[_0x504615(0x1c0)],this['_awaitingChangeset']=null,this;throw new Error(_0x504615(0x366));}[_0x122a43(0x3a2)](_0x115e03){var _0xc1ea0b=_0x122a43;return this[_0xc1ea0b(0x1e1)](!!(_0x115e03!=null&&_0x115e03[_0xc1ea0b(0x435)]));}[_0x122a43(0x443)](){return this;}[_0x122a43(0x3fc)](){var _0x3b36c1=_0x122a43;return this['_injector'][_0x3b36c1(0x38c)](de,this['unitID'],this[_0x3b36c1(0x2f5)],this[_0x3b36c1(0x1c0)],this[_0x3b36c1(0x3be)],this['_handler']);}[_0x122a43(0x2a5)](){return this;}[_0x122a43(0x1e1)](_0x1057e8){var _0x4a4b9c=_0x122a43;return this['_injector']['createInstance'](ue,this[_0x4a4b9c(0x263)],this[_0x4a4b9c(0x2f5)],this[_0x4a4b9c(0x1c0)],this[_0x4a4b9c(0x3be)],this['_handler'],_0x1057e8);}};ee=Te([P(0x7,_0xed7601(_0x4a4e75)),P(0x8,_0xed7601(_0x459bd5)),P(0x9,_0x10a457),P(0xa,_0x4f8580),P(0xb,_0x3776e6),P(0xc,_0x70853b),P(0xd,_0x5c24ee(J))],ee);function yi(_0x271bdd,_0x4ecd6b,_0x415251,_0x3e1c38,_0x833926,_0x47809e){var _0xc52873=_0x122a43;return _0x3e1c38&&_0x833926['length']?_0x271bdd['createInstance'](oe,_0x4ecd6b,_0x415251,_0x3e1c38,_0x833926,_0x47809e,void 0x0):_0x3e1c38?_0x271bdd[_0xc52873(0x38c)](le,_0x4ecd6b,_0x415251,_0x3e1c38,_0x47809e):_0x833926['length']?_0x271bdd['createInstance'](ae,_0x4ecd6b,_0x415251,_0x833926,_0x47809e):_0x271bdd[_0xc52873(0x38c)](Ne,_0x4ecd6b,_0x415251,_0x47809e);}var as=Object[_0x122a43(0x3bd)],Lt=(_0x55068b,_0x1cc78c,_0x2c1e6e,_0x181488)=>{var _0x372763=_0x122a43;for(var _0x5c8961=_0x181488>0x1?void 0x0:_0x181488?as(_0x1cc78c,_0x2c1e6e):_0x1cc78c,_0x239830=_0x55068b[_0x372763(0x32b)]-0x1,_0x46e6d4;_0x239830>=0x0;_0x239830--)(_0x46e6d4=_0x55068b[_0x239830])&&(_0x5c8961=_0x46e6d4(_0x5c8961)||_0x5c8961);return _0x5c8961;},H=(_0x2ba6bb,_0x5851a9)=>(_0x1a58a7,_0x2e20af)=>_0x5851a9(_0x1a58a7,_0x2e20af,_0x2ba6bb);let nt=class extends _0x4237d9{constructor(_0x5c3321,_0x3108db,_0x4b2afd,_0x4e1317,_0x292df0,_0x1ce164,_0x2bc934,_0x437ab8,_0x4e439f,_0x1c7e01,_0x3c050f,_0x2bf2c2,_0x42f25d){var _0x4d2bc8=_0x122a43;super(),N(this,_0x4d2bc8(0x303),new _0x5d5193(null)),N(this,_0x4d2bc8(0x403),this['_state$']['asObservable']()),N(this,'_state'),N(this,_0x4d2bc8(0x2e0),!0x1),N(this,'_changesetSessionId',''),N(this,_0x4d2bc8(0x43d),0x0),N(this,_0x4d2bc8(0x437),this[_0x4d2bc8(0x403)]['pipe'](_0x586b11(_0x4cc459=>_0x4cc459?_0x4cc459[_0x4d2bc8(0x224)]:bi['OFFLINE']),_0x9fbece(0x1))),N(this,_0x4d2bc8(0x33b),!0x1),N(this,_0x4d2bc8(0x468),[]),(this[_0x4d2bc8(0x263)]=_0x5c3321,this[_0x4d2bc8(0x479)]=_0x3108db,this['_type']=_0x4b2afd,this[_0x4d2bc8(0x181)]=_0x4e1317,this[_0x4d2bc8(0x2d6)]=_0x292df0,this[_0x4d2bc8(0x3d5)]=_0x1ce164,this[_0x4d2bc8(0x35b)]=_0x2bc934,this[_0x4d2bc8(0x2fd)]=_0x437ab8,this[_0x4d2bc8(0x30b)]=_0x4e439f,this[_0x4d2bc8(0x35d)]=_0x1c7e01,this[_0x4d2bc8(0x2d4)]=_0x3c050f,this['_singleActiveUnitService']=_0x2bf2c2,this[_0x4d2bc8(0x440)]=_0x42f25d);}get[_0x122a43(0x47f)](){var _0x2899dc=_0x122a43;return this[_0x2899dc(0x2d1)];}async['init'](){var _0x365800=_0x122a43;if(this['state'])throw new Error(_0x365800(0x3ea));await this[_0x365800(0x45f)]();}['pauseCollaboration'](){var _0x31152c=_0x122a43;return this[_0x31152c(0x2e0)]=!0x0,_0x583711(()=>{var _0x546608=_0x31152c;this['_collaborationPaused']=!0x1,this[_0x546608(0x2f4)]();});}[_0x122a43(0x207)](_0xc52ec9){var _0x4c7cca=_0x122a43;this[_0x4c7cca(0x2a1)](_0xc52ec9);}[_0x122a43(0x23a)](_0x4cb8c2){var _0x27c558=_0x122a43;this[_0x27c558(0x2d1)]=_0x4cb8c2,this[_0x27c558(0x303)][_0x27c558(0x480)](_0x4cb8c2);}async[_0x122a43(0x45f)](){var _0x29d440=_0x122a43,_0x19630a;this[_0x29d440(0x23a)](await this[_0x29d440(0x20d)]()),this['_singleActiveUnitService']&&((_0x19630a=this[_0x29d440(0x38d)])==null||_0x19630a['editingUnit'](this[_0x29d440(0x263)]),this[_0x29d440(0x2e1)](this[_0x29d440(0x38d)][_0x29d440(0x19b)](this[_0x29d440(0x263)])[_0x29d440(0x294)](_0x42c51a=>{var _0x56b284=_0x29d440;this[_0x56b284(0x30b)][_0x56b284(0x368)]('[CollaborationEntity]',_0x56b284(0x45e),_0x42c51a),_0x42c51a===Ci['OTHER_CLIENTS_EDITING']?(this['_eventService'][_0x56b284(0x1d4)]({'id':re[_0x56b284(0x318)]}),this[_0x56b284(0x2d4)]['updatePermissionPoint'](new _0x440c0c(this[_0x56b284(0x263)])['id'],!0x1),this[_0x56b284(0x2d4)][_0x56b284(0x380)](!0x1)):(this[_0x56b284(0x2d4)][_0x56b284(0x1eb)](new _0x440c0c(this['unitID'])['id'],!0x0),this[_0x56b284(0x2d4)]['setShowComponents'](!0x0));})));let _0x34fe49=!0x1;return this[_0x29d440(0x2e1)](this[_0x29d440(0x479)][_0x29d440(0x3b9)]['subscribe'](_0x13313f=>{var _0x38c699=_0x29d440;_0x13313f===Ee[_0x38c699(0x209)]?this[_0x38c699(0x1b4)](_0x34fe49):_0x13313f===Ee[_0x38c699(0x340)]&&(_0x34fe49=!0x0,this['_toggleOffline']());})),this[_0x29d440(0x2e1)](this['session'][_0x29d440(0x1fd)][_0x29d440(0x294)](_0x22b514=>{var _0x169fd9=_0x29d440;try{switch(_0x22b514[_0x169fd9(0x345)]){case _0x798757[_0x169fd9(0x33e)]:{this[_0x169fd9(0x1ce)](_0x5d01aa(_0x22b514['data']));break;}case _0x798757[_0x169fd9(0x23f)]:{this[_0x169fd9(0x433)](_0x22b514[_0x169fd9(0x395)]);break;}case _0x798757['CHANGESET_REJ']:{this[_0x169fd9(0x2f6)]();break;}case _0x798757[_0x169fd9(0x2cd)]:{this['_onRemoteRetry'](_0x22b514[_0x169fd9(0x395)]);break;}case _0x798757[_0x169fd9(0x408)]:{this[_0x169fd9(0x244)](_0x22b514[_0x169fd9(0x395)]['changesets']['map'](_0x5cd039=>_0x5d01aa(_0x5cd039)));break;}case _0x798757['PERMISSION_REJ']:{this[_0x169fd9(0x2f6)]({'isPermissionRej':!0x0});break;}case _0x798757[_0x169fd9(0x44c)]:break;}}catch(_0x2eee07){throw console[_0x169fd9(0x2c6)](_0x169fd9(0x419),_0x2eee07),_0x2eee07;}})),this[_0x29d440(0x2d1)];}[_0x122a43(0x43b)](){var _0x4e0808=_0x122a43;this[_0x4e0808(0x33b)]=!0x1;}[_0x122a43(0x3b0)](){var _0x2817a8=_0x122a43;if(this[_0x2817a8(0x33b)])throw new Error(_0x2817a8(0x424));this[_0x2817a8(0x33b)]=!0x0;}[_0x122a43(0x2a1)](_0x241465){var _0x47eec9=_0x122a43;this[_0x47eec9(0x3b0)](),this[_0x47eec9(0x23a)](this[_0x47eec9(0x2d1)][_0x47eec9(0x275)](_0x241465)),this[_0x47eec9(0x43b)]();}[_0x122a43(0x1ce)](_0x3dabb0){var _0x52ad52=_0x122a43;if(!(_0x3dabb0[_0x52ad52(0x182)]<=this[_0x52ad52(0x35b)]['getCurrentRevOfUnit'](this[_0x52ad52(0x263)]))){if(this[_0x52ad52(0x2e0)]){this[_0x52ad52(0x468)][_0x52ad52(0x2a7)](_0x3dabb0);return;}this[_0x52ad52(0x39a)](_0x3dabb0);}}[_0x122a43(0x2f4)](){var _0x401880=_0x122a43;this[_0x401880(0x468)][_0x401880(0x47a)](_0x106ced=>this[_0x401880(0x39a)](_0x106ced)),this[_0x401880(0x468)]=[];}[_0x122a43(0x39a)](_0x41a5bb){var _0x2dc4c=_0x122a43;const _0x3aaeae=this[_0x2dc4c(0x2d6)]['interceptor'][_0x2dc4c(0x394)](this[_0x2dc4c(0x2d6)][_0x2dc4c(0x1f4)][_0x2dc4c(0x26e)]()[_0x2dc4c(0x422)])(_0x41a5bb['mutations'],null)||_0x41a5bb[_0x2dc4c(0x195)],_0x4805d7={..._0x41a5bb,'mutations':_0x3aaeae};this[_0x2dc4c(0x3b0)](),this['_updateState'](this[_0x2dc4c(0x2d1)][_0x2dc4c(0x1fb)](_0x4805d7)),this[_0x2dc4c(0x43b)]();}['_onRemoteACK'](_0x338d11){var _0x359b5c=_0x122a43;this[_0x359b5c(0x3b0)](),this['_updateState'](this[_0x359b5c(0x2d1)]['onRemoteAck'](_0x338d11)),this[_0x359b5c(0x43b)]();}[_0x122a43(0x2f6)](_0x4c109e){var _0x39851d=_0x122a43;this['_lockTransition'](),this[_0x39851d(0x23a)](this[_0x39851d(0x2d1)]['onRemoteRej'](_0x4c109e)),this[_0x39851d(0x43b)]();}['_onRemoteRetry'](_0x16b622){var _0x13ddb5=_0x122a43;this['_lockTransition'](),this[_0x13ddb5(0x23a)](this['_state'][_0x13ddb5(0x443)](_0x16b622)),this[_0x13ddb5(0x43b)]();}[_0x122a43(0x244)](_0x5d6f40){var _0x1ad64c=_0x122a43;if(!(this[_0x1ad64c(0x2d1)]instanceof ee))throw new TypeError(_0x1ad64c(0x418));const _0x156b0d=_0x5d6f40[_0x1ad64c(0x390)](_0x1d3ea1=>{var _0x2d1798=_0x1ad64c;const _0x281749=this[_0x2d1798(0x2d6)][_0x2d1798(0x1f4)][_0x2d1798(0x394)](this[_0x2d1798(0x2d6)]['interceptor'][_0x2d1798(0x26e)]()[_0x2d1798(0x422)])(_0x1d3ea1[_0x2d1798(0x195)],null)||_0x1d3ea1['mutations'];return{..._0x1d3ea1,'mutations':_0x281749};});this[_0x1ad64c(0x3b0)](),this[_0x1ad64c(0x23a)](this[_0x1ad64c(0x2d1)][_0x1ad64c(0x203)](_0x156b0d)),this[_0x1ad64c(0x43b)]();}['_toggleOffline'](){var _0x353046=_0x122a43;this[_0x353046(0x3b0)](),this[_0x353046(0x23a)](this[_0x353046(0x2d1)][_0x353046(0x3fc)]()),this[_0x353046(0x43b)]();}[_0x122a43(0x1b4)](_0x2bcc79=!0x1){var _0x16f29f=_0x122a43;this[_0x16f29f(0x3b0)](),this[_0x16f29f(0x23a)](this[_0x16f29f(0x2d1)][_0x16f29f(0x2a5)]()),this['_unlockTransition']();const _0xd6d809=this[_0x16f29f(0x2d1)];_0x2bcc79&&_0xd6d809 instanceof Ne&&(this[_0x16f29f(0x3b0)](),this[_0x16f29f(0x23a)](_0xd6d809[_0x16f29f(0x19c)]()),this[_0x16f29f(0x43b)]());}async[_0x122a43(0x20d)](){return new Promise(_0x3c0910=>{var _0x122d55=_0x1002;this[_0x122d55(0x479)][_0x122d55(0x3b9)]['pipe'](_0x32b636(0x1))[_0x122d55(0x294)](async _0x1ac65e=>{var _0x1b796e=_0x122d55;_0x3c0910(await this[_0x1b796e(0x312)](_0x1ac65e===Ee[_0x1b796e(0x209)]));});});}[_0x122a43(0x42f)](){var _0x3da049=_0x122a43;const _0x1a99f0=this[_0x3da049(0x263)];return{'onStateChange':(_0x5ba03e,_0x438fb0)=>{var _0x2bc6c0=_0x3da049;if(_0x5ba03e!==this[_0x2bc6c0(0x2d1)])throw new Error('[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20'+_0x5ba03e[_0x2bc6c0(0x224)]+'\x0aAfter:\x20'+_0x438fb0[_0x2bc6c0(0x224)]+_0x2bc6c0(0x3ff)+this[_0x2bc6c0(0x2d1)][_0x2bc6c0(0x224)]);this[_0x2bc6c0(0x23a)](_0x438fb0);},'onSendChangeset':_0x47e654=>{var _0x2e50b8=_0x3da049;_0x47e654[_0x2e50b8(0x384)]||(_0x47e654[_0x2e50b8(0x384)]=this[_0x2e50b8(0x401)],_0x47e654[_0x2e50b8(0x247)]=++this['_changesetReqId']);const _0x175310={'eventID':_0x798757[_0x2e50b8(0x474)],'data':{'unitID':_0x47e654[_0x2e50b8(0x263)],'unitType':this[_0x2e50b8(0x21d)],'changeset':_0x47e654,'memberID':this[_0x2e50b8(0x479)]['getMemberID']()}};this['session']['send'](_0x175310,this[_0x2e50b8(0x263)]);},'onMissingChangesets':({from:_0xf6e4dd,to:_0x5c6f14})=>{var _0x43bca1=_0x3da049;this['_logService'][_0x43bca1(0x368)]('[CollaborationEntity]',_0x43bca1(0x3ab)+_0xf6e4dd+_0x43bca1(0x2e4)+_0x5c6f14);const _0x26a955={'eventID':_0x798757[_0x43bca1(0x257)],'data':{'unitID':_0x1a99f0,'unitType':this['_type'],'from':_0xf6e4dd,'to':_0x5c6f14}};this[_0x43bca1(0x479)]['send'](_0x26a955,this['unitID']);}};}async[_0x122a43(0x312)](_0x20052d){var _0x361d6f=_0x122a43,_0x36f609,_0x4fca49,_0x2455ba;const _0x594604=await((_0x36f609=this[_0x361d6f(0x440)])==null?void 0x0:_0x36f609[_0x361d6f(0x34d)](this[_0x361d6f(0x263)])),_0x4785c6=(_0x4fca49=_0x594604==null?void 0x0:_0x594604[_0x361d6f(0x195)])!=null?_0x4fca49:[],_0x858577=(_0x2455ba=_0x594604==null?void 0x0:_0x594604[_0x361d6f(0x1ef)])!=null?_0x2455ba:null,_0x3f5251=!!(_0x858577!=null&&_0x858577[_0x361d6f(0x384)])&&!!(_0x858577!=null&&_0x858577[_0x361d6f(0x247)]);this[_0x361d6f(0x401)]=_0x3f5251?_0x858577[_0x361d6f(0x384)]:Zn(),this[_0x361d6f(0x43d)]=_0x3f5251?_0x858577[_0x361d6f(0x247)]:0x0;const _0x43f1c3=this[_0x361d6f(0x263)];try{this[_0x361d6f(0x28c)](_0x858577,_0x4785c6);}catch(_0x14c38d){this[_0x361d6f(0x30b)][_0x361d6f(0x2c6)](_0x14c38d);}const _0x38933a=this[_0x361d6f(0x42f)]();if(_0x20052d){const _0x33446d=yi(this[_0x361d6f(0x181)],_0x43f1c3,this[_0x361d6f(0x21d)],_0x858577,_0x4785c6,_0x38933a);return _0x33446d instanceof ae?_0x33446d[_0x361d6f(0x255)]():(_0x33446d instanceof oe||_0x33446d instanceof le)&&_0x33446d[_0x361d6f(0x1b9)](),_0x33446d;}return this[_0x361d6f(0x181)][_0x361d6f(0x38c)](de,_0x43f1c3,this[_0x361d6f(0x21d)],_0x858577,_0x4785c6,_0x38933a);}['_replayCachedMutations'](_0x16a154,_0x4d6e26){var _0xc1540e=_0x122a43,_0x414959,_0x39d7fc;const _0x332244=this[_0xc1540e(0x2d6)]['interceptor'][_0xc1540e(0x394)](this['_compressMutationService'][_0xc1540e(0x1f4)][_0xc1540e(0x26e)]()[_0xc1540e(0x422)]);(_0x414959=_0x332244((_0x16a154==null?void 0x0:_0x16a154[_0xc1540e(0x195)])||[],null))==null||_0x414959[_0xc1540e(0x47a)](_0x4aa3d9=>this[_0xc1540e(0x35d)][_0xc1540e(0x329)](_0x4aa3d9['id'],_0x4aa3d9['params'])),(_0x39d7fc=_0x332244(_0x4d6e26||[],null))==null||_0x39d7fc[_0xc1540e(0x47a)](_0x301900=>this[_0xc1540e(0x35d)][_0xc1540e(0x329)](_0x301900['id'],_0x301900[_0xc1540e(0x231)]));}};nt=Lt([H(0x3,_0xed7601(_0x4a4e75)),H(0x4,_0xed7601(_0xef6c1a)),H(0x5,_0xed7601(_0x50b3d3)),H(0x6,_0xed7601(_0x459bd5)),H(0x7,_0xed7601(pe)),H(0x8,_0x10a457),H(0x9,_0x4f8580),H(0xa,_0x4a395b),H(0xb,_0x5c24ee(ht)),H(0xc,_0x5c24ee(J))],nt);let It=class extends nt{constructor(_0x583353,_0x5ecbde,_0x20b99a,_0x852654,_0x37e150,_0x26759f,_0x304205,_0x4c9cd4,_0x2d7329,_0x2adea9,_0x1bab32,_0x3bd447,_0xd8eb27){var _0x18ad55=_0x122a43;super(_0x583353,_0x20b99a,_0x5ecbde,_0x852654,_0x37e150,_0x26759f,_0x304205,_0x4c9cd4,_0x2d7329,_0x2adea9,_0x1bab32,_0x3bd447,_0xd8eb27),N(this,_0x18ad55(0x226),null),(this['unitID']=_0x583353,this['type']=_0x5ecbde);}[_0x122a43(0x30c)](_0x292ba1){this['_handlerCallback']=_0x292ba1;}[_0x122a43(0x22b)](){var _0x15efe0=_0x122a43;this[_0x15efe0(0x226)]=null,super[_0x15efe0(0x22b)]();}[_0x122a43(0x42f)](){var _0x54327f=_0x122a43;const _0x55bee6=super[_0x54327f(0x42f)]();return _0x55bee6[_0x54327f(0x45a)]=_0x335da3=>{var _0x2cb28e=_0x54327f,_0x227065,_0x1fd398;return(_0x1fd398=(_0x227065=this[_0x2cb28e(0x226)])==null?void 0x0:_0x227065[_0x2cb28e(0x45a)])==null?void 0x0:_0x1fd398['call'](_0x227065,_0x335da3);},_0x55bee6['onTransformState']=_0x16117c=>{var _0x2cb56f=_0x54327f,_0xffee11,_0x4eb3f6;return(_0x4eb3f6=(_0xffee11=this['_handlerCallback'])==null?void 0x0:_0xffee11[_0x2cb56f(0x24a)])==null?void 0x0:_0x4eb3f6[_0x2cb56f(0x30d)](_0xffee11,_0x16117c);},_0x55bee6[_0x54327f(0x1a2)]=_0x1142e5=>{var _0x17a9df=_0x54327f,_0x22bc1d,_0x2b54ee;return(_0x2b54ee=(_0x22bc1d=this[_0x17a9df(0x226)])==null?void 0x0:_0x22bc1d['onTransformSelections'])==null?void 0x0:_0x2b54ee[_0x17a9df(0x30d)](_0x22bc1d,_0x1142e5);},_0x55bee6['onSyncEditingCollabCursor']=_0x91af48=>{var _0x4ec5d4=_0x54327f,_0x180647,_0x55c600;return(_0x55c600=(_0x180647=this[_0x4ec5d4(0x226)])==null?void 0x0:_0x180647['onSyncEditingCollabCursor'])==null?void 0x0:_0x55c600['call'](_0x180647,_0x91af48);},_0x55bee6['onTransformRemoteChangesetByIMECache']=_0x167b93=>{var _0x3d033a=_0x54327f,_0x3c0e1c,_0x28c6c5,_0x58522b;if(!((_0x3c0e1c=this[_0x3d033a(0x226)])!=null&&_0x3c0e1c[_0x3d033a(0x375)]))throw new Error(_0x3d033a(0x3b8));return(_0x58522b=(_0x28c6c5=this[_0x3d033a(0x226)])==null?void 0x0:_0x28c6c5[_0x3d033a(0x375)])==null?void 0x0:_0x58522b['call'](_0x28c6c5,_0x167b93);},_0x55bee6[_0x54327f(0x2e3)]=_0x405fdd=>{var _0x3e0246=_0x54327f,_0xd0e4b,_0x3a6270,_0x594ed2;if(!((_0xd0e4b=this[_0x3e0246(0x226)])!=null&&_0xd0e4b['onTransformRemoteChangesetByStateCache']))throw new Error(_0x3e0246(0x1fa));return(_0x594ed2=(_0x3a6270=this[_0x3e0246(0x226)])==null?void 0x0:_0x3a6270[_0x3e0246(0x2e3)])==null?void 0x0:_0x594ed2[_0x3e0246(0x30d)](_0x3a6270,_0x405fdd);},_0x55bee6;}async[_0x122a43(0x45f)](){var _0x2e9a28=_0x122a43;const _0x4ae0ba=await super[_0x2e9a28(0x45f)]();return this[_0x2e9a28(0x2e1)](this[_0x2e9a28(0x35d)][_0x2e9a28(0x2a0)]((_0x1348e3,_0x30bbc1)=>{var _0x10f1e7=_0x2e9a28;if(_0x1348e3[_0x10f1e7(0x2f5)]!==_0x111dc5[_0x10f1e7(0x2f9)]||_0x30bbc1!=null&&_0x30bbc1[_0x10f1e7(0x39f)]||_0x30bbc1!=null&&_0x30bbc1[_0x10f1e7(0x22c)]||_0x1348e3['id']===_0x55fe13['id'])return;const _0x5e4c60=_0x1348e3[_0x10f1e7(0x231)];if((_0x5e4c60==null?void 0x0:_0x5e4c60[_0x10f1e7(0x3ee)])!==this[_0x10f1e7(0x263)])return;const _0x229382=_0x1348e3,_0xc5400c=this[_0x10f1e7(0x2d6)][_0x10f1e7(0x1f4)][_0x10f1e7(0x394)](this[_0x10f1e7(0x2d6)][_0x10f1e7(0x1f4)][_0x10f1e7(0x26e)]()['COMPRESS_MUTATION_SEND'])([_0x229382],null)||[_0x229382];this['_onLocalMutation'](_0xc5400c[0x0]);})),_0x4ae0ba;}};It=Lt([H(0x3,_0xed7601(_0x4a4e75)),H(0x4,_0xed7601(_0xef6c1a)),H(0x5,_0xed7601(_0x50b3d3)),H(0x6,_0xed7601(_0x459bd5)),H(0x7,_0xed7601(pe)),H(0x8,_0x10a457),H(0x9,_0x4f8580),H(0xa,_0x4a395b),H(0xb,_0x5c24ee(ht)),H(0xc,_0x5c24ee(J))],It);let Tt=class extends nt{constructor(_0x8b8fa3,_0x16478a,_0xcb757b,_0x4f2d96,_0x564292,_0x487fab,_0x574cc4,_0x241498,_0x535a34,_0xce9834,_0x187bb5,_0x20909e,_0x2bfcf2,_0x1f47da){var _0x51b1ea=_0x122a43;super(_0x8b8fa3,_0xcb757b,_0x16478a,_0x4f2d96,_0x564292,_0x487fab,_0x574cc4,_0x535a34,_0xce9834,_0x187bb5,_0x20909e,_0x2bfcf2,_0x1f47da),this[_0x51b1ea(0x263)]=_0x8b8fa3,this[_0x51b1ea(0x2f5)]=_0x16478a,this[_0x51b1ea(0x1b2)]=_0x241498;}[_0x122a43(0x42f)](){var _0x104d15=_0x122a43;const _0x479d89=super[_0x104d15(0x42f)]();return _0x479d89['onTransformSelections']=_0x367610=>this['_sheetTransformSelectionsService'][_0x104d15(0x459)](_0x367610),_0x479d89;}async['_init'](){var _0x4367de=_0x122a43;const _0x251a63=await super[_0x4367de(0x45f)]();return this[_0x4367de(0x2e1)](this[_0x4367de(0x35d)]['onCommandExecuted']((_0xff06ea,_0x166c42)=>{var _0x51c59b=_0x4367de;if(_0xff06ea[_0x51c59b(0x2f5)]!==_0x111dc5[_0x51c59b(0x2f9)]||_0x166c42!=null&&_0x166c42[_0x51c59b(0x39f)]||_0x166c42!=null&&_0x166c42[_0x51c59b(0x22c)])return;const _0x114cc3=_0xff06ea['params'];if((_0x114cc3==null?void 0x0:_0x114cc3['unitId'])!==this[_0x51c59b(0x263)])return;const _0x54e689=_0xff06ea,_0x41b137=this[_0x51c59b(0x2d6)][_0x51c59b(0x1f4)][_0x51c59b(0x394)](this[_0x51c59b(0x2d6)]['interceptor'][_0x51c59b(0x26e)]()[_0x51c59b(0x3b1)])([_0x54e689],null)||[_0x54e689];this['_onLocalMutation'](_0x41b137[0x0]);})),_0x251a63;}};Tt=Lt([H(0x3,_0xed7601(_0x4a4e75)),H(0x4,_0xed7601(_0xef6c1a)),H(0x5,_0xed7601(_0x50b3d3)),H(0x6,_0xed7601(_0x459bd5)),H(0x7,_0xed7601(it)),H(0x8,_0xed7601(pe)),H(0x9,_0x10a457),H(0xa,_0x4f8580),H(0xb,_0x4a395b),H(0xc,_0x5c24ee(ht)),H(0xd,_0x5c24ee(J))],Tt);var os=Object[_0x122a43(0x3bd)],cs=(_0x45a49d,_0x31b75c,_0x8a07f9,_0x72520e)=>{var _0x1196c7=_0x122a43;for(var _0x277f8f=_0x72520e>0x1?void 0x0:_0x72520e?os(_0x31b75c,_0x8a07f9):_0x31b75c,_0xe84dcc=_0x45a49d[_0x1196c7(0x32b)]-0x1,_0x269035;_0xe84dcc>=0x0;_0xe84dcc--)(_0x269035=_0x45a49d[_0xe84dcc])&&(_0x277f8f=_0x269035(_0x277f8f)||_0x277f8f);return _0x277f8f;},ft=(_0x338654,_0x446b10)=>(_0x35e30d,_0x123043)=>_0x446b10(_0x35e30d,_0x123043,_0x338654);let st=class extends _0x4237d9{constructor(_0x303a04,_0x3d1cf2,_0x5ea682){var _0x4495f8=_0x122a43;super(),N(this,_0x4495f8(0x439),new Map()),N(this,'_entityInit$',new _0x49ffbf()),N(this,_0x4495f8(0x331),this['_entityInit$'][_0x4495f8(0x2dd)]()),(this[_0x4495f8(0x181)]=_0x303a04,this[_0x4495f8(0x3e3)]=_0x3d1cf2,this['_univerInstanceService']=_0x5ea682,this[_0x4495f8(0x45f)]());}[_0x122a43(0x22b)](){var _0x5e1f9a=_0x122a43;super['dispose'](),this[_0x5e1f9a(0x439)]['forEach'](_0x547571=>_0x547571[_0x5e1f9a(0x22b)]()),this['_entities'][_0x5e1f9a(0x362)]();}['getCollabEntity'](_0x254573){var _0x493dea=_0x122a43,_0x319d19;return(_0x319d19=this['_entities'][_0x493dea(0x46b)](_0x254573))!=null?_0x319d19:null;}[_0x122a43(0x350)](_0x4c8380){var _0x1e665c=_0x122a43;const _0x5cc750=this[_0x1e665c(0x1c5)](_0x4c8380);return _0x5cc750?_0x224870(_0x5cc750):this[_0x1e665c(0x283)][_0x1e665c(0x2d7)](_0x269564(_0x415ea8=>_0x415ea8[_0x1e665c(0x263)]===_0x4c8380));}[_0x122a43(0x183)](_0x236138){var _0x36d2ad=_0x122a43;return _0x2f684e(this[_0x36d2ad(0x350)](_0x236138)['pipe'](_0x3dbda7(()=>{})));}['_init'](){var _0x62e4b4=_0x122a43;this[_0x62e4b4(0x269)]['getTypeOfUnitAdded$'](_0x56161c[_0x62e4b4(0x36b)])[_0x62e4b4(0x2d7)](_0x595e25(this['dispose$']),_0x592fb8(0x10))['subscribe'](async _0x51cb5f=>{var _0x13c415=_0x62e4b4;const _0x17b41b=_0x51cb5f[_0x13c415(0x2b1)](),_0x52167a=await this[_0x13c415(0x2ca)](_0x17b41b,Q[_0x13c415(0x36b)]);this['_entities'][_0x13c415(0x1d8)](_0x17b41b,_0x52167a);}),this[_0x62e4b4(0x269)][_0x62e4b4(0x1ee)](_0x56161c['UNIVER_DOC'])[_0x62e4b4(0x2d7)](_0x595e25(this[_0x62e4b4(0x1e2)]),_0x592fb8(0x10))[_0x62e4b4(0x2d7)](_0x269564(_0x4867fb=>!_0x4867fb[_0x62e4b4(0x2b1)]()['startsWith']('__')))[_0x62e4b4(0x294)](async _0x3c04db=>{var _0x4d6f17=_0x62e4b4;const _0x164be6=_0x3c04db[_0x4d6f17(0x2b1)](),_0x4ebe67=await this['_startCollaboration'](_0x164be6,Q[_0x4d6f17(0x29a)]);this[_0x4d6f17(0x439)][_0x4d6f17(0x1d8)](_0x164be6,_0x4ebe67);}),_0x3a1ff0(this[_0x62e4b4(0x269)][_0x62e4b4(0x414)](_0x56161c[_0x62e4b4(0x36b)]),this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x56161c['UNIVER_DOC']))['pipe'](_0x595e25(this[_0x62e4b4(0x1e2)]))[_0x62e4b4(0x294)](_0x414343=>{var _0x19af98=_0x62e4b4;const _0x409da2=_0x414343[_0x19af98(0x2b1)](),_0x3cbc46=this['_entities'][_0x19af98(0x46b)](_0x409da2);_0x3cbc46&&(_0x3cbc46[_0x19af98(0x22b)](),this[_0x19af98(0x439)][_0x19af98(0x44b)](_0x409da2));});}async[_0x122a43(0x2ca)](_0x2f6bb5,_0xefe192){var _0x1f9405=_0x122a43;const _0x318e4b=await this['_collabSessionService'][_0x1f9405(0x30f)](_0x2f6bb5),_0xb3676e=this[_0x1f9405(0x181)][_0x1f9405(0x38c)](this[_0x1f9405(0x30e)](_0xefe192),_0x2f6bb5,_0xefe192,_0x318e4b);return await _0xb3676e['init'](),this['_entityInit$'][_0x1f9405(0x480)](_0xb3676e),_0xb3676e;}[_0x122a43(0x30e)](_0x12bbd6){var _0x23248d=_0x122a43;switch(_0x12bbd6){case Q[_0x23248d(0x29a)]:return It;case Q[_0x23248d(0x36b)]:return Tt;default:throw new Error(_0x23248d(0x208)+_0x12bbd6);}}};st=cs([ft(0x0,_0xed7601(_0x4a4e75)),ft(0x1,_0xed7601(Me)),ft(0x2,_0x286933)],st);var hs=Object[_0x122a43(0x3bd)],_s=(_0x52e472,_0x4af275,_0x768538,_0x305ddf)=>{var _0x3fa79c=_0x122a43;for(var _0x5c4fb7=_0x305ddf>0x1?void 0x0:_0x305ddf?hs(_0x4af275,_0x768538):_0x4af275,_0x513266=_0x52e472[_0x3fa79c(0x32b)]-0x1,_0xaf56ec;_0x513266>=0x0;_0x513266--)(_0xaf56ec=_0x52e472[_0x513266])&&(_0x5c4fb7=_0xaf56ec(_0x5c4fb7)||_0x5c4fb7);return _0x5c4fb7;},zt=(_0x3062ed,_0x249f85)=>(_0x308892,_0x12674b)=>_0x249f85(_0x308892,_0x12674b,_0x3062ed);const ls='DEFAULT_FILE_NAME',us=_0x122a43(0x2b3);let Ct=class extends _0x15d6f2{constructor(_0x560960,_0x4a0201){var _0xdcb482=_0x122a43;super(),this[_0xdcb482(0x269)]=_0x560960,this[_0xdcb482(0x1cb)]=_0x4a0201,this[_0xdcb482(0x45f)]();}[_0x122a43(0x45f)](){var _0x172db6=_0x122a43;this[_0x172db6(0x2e1)](this[_0x172db6(0x269)]['focused$'][_0x172db6(0x294)](()=>{var _0x22a25d=_0x172db6,_0x39326a;const _0x2b87ea=this[_0x22a25d(0x269)][_0x22a25d(0x24c)]();let _0x1c5946=(_0x39326a=this[_0x22a25d(0x1cb)]['getConfig'](ls))!=null?_0x39326a:us;_0x2b87ea instanceof _0xbcdf05&&(_0x1c5946=_0x2b87ea['name']),document[_0x22a25d(0x222)]=_0x1c5946;}));}};Ct=_s([zt(0x0,_0x286933),zt(0x1,_0x47e68f)],Ct);var ds=Object[_0x122a43(0x3bd)],fs=(_0x17d2dc,_0x31cf65,_0x4d9494,_0x445d7a)=>{var _0x41a1f2=_0x122a43;for(var _0x7bf82e=_0x445d7a>0x1?void 0x0:_0x445d7a?ds(_0x31cf65,_0x4d9494):_0x31cf65,_0x32af89=_0x17d2dc[_0x41a1f2(0x32b)]-0x1,_0x4bf978;_0x32af89>=0x0;_0x32af89--)(_0x4bf978=_0x17d2dc[_0x32af89])&&(_0x7bf82e=_0x4bf978(_0x7bf82e)||_0x7bf82e);return _0x7bf82e;},vt=(_0x14c57d,_0x160182)=>(_0x489ba7,_0x5bc933)=>_0x160182(_0x489ba7,_0x5bc933,_0x14c57d);let rt=class{constructor(_0x3586ca,_0x46e861,_0x534c8f){var _0x1cb4d3=_0x122a43;this[_0x1cb4d3(0x1cb)]=_0x3586ca,this[_0x1cb4d3(0x18d)]=_0x46e861,this[_0x1cb4d3(0x472)]=_0x534c8f,this[_0x1cb4d3(0x2ce)]();}[_0x122a43(0x2ce)](){var _0x436935=_0x122a43;this[_0x436935(0x18d)][_0x436935(0x372)]({'priority':0x1,'interceptor':(_0x38b92e,_0x1a54b9)=>_0x1a54b9(_0x38b92e)[_0x436935(0x2d7)](_0x5eb990(async _0xe120d5=>{var _0x8f83db=_0x436935;const _0x2ed0aa=_0xe120d5;if(_0x2ed0aa['status']===0x191){if(typeof window>'u')throw new Error('[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.');if(window[_0x8f83db(0x3f7)](this[_0x8f83db(0x472)]['t'](_0x8f83db(0x3d6)))){const _0x1c5f3b=window[_0x8f83db(0x447)](window[_0x8f83db(0x3e7)]['href']);window[_0x8f83db(0x3e7)]['href']=this[_0x8f83db(0x3c4)]()+_0x8f83db(0x2c9)+_0x1c5f3b;}}return _0x2ed0aa;}))});}['_getLoginPath'](){var _0x5b6277=_0x122a43,_0x462060,_0x3448ba;const _0x560adc=this[_0x5b6277(0x1cb)][_0x5b6277(0x2ed)](Un),_0x3e6b34=this['_configService']['getConfig'](q);return(_0x3448ba=(_0x462060=_0x3e6b34==null?void 0x0:_0x3e6b34['loginUrlKey'])!=null?_0x462060:_0x560adc)!=null?_0x3448ba:An;}};rt=fs([vt(0x0,_0x47e68f),vt(0x1,_0xed7601(_0x5dce4f)),vt(0x2,_0xed7601(_0x50b3d3))],rt);var vs=Object[_0x122a43(0x3bd)],ps=(_0x5aad1d,_0x331747,_0x412a62,_0x4a4158)=>{var _0x3a7386=_0x122a43;for(var _0x41c41d=_0x4a4158>0x1?void 0x0:_0x4a4158?vs(_0x331747,_0x412a62):_0x331747,_0x207e94=_0x5aad1d[_0x3a7386(0x32b)]-0x1,_0x319951;_0x207e94>=0x0;_0x207e94--)(_0x319951=_0x5aad1d[_0x207e94])&&(_0x41c41d=_0x319951(_0x41c41d)||_0x41c41d);return _0x41c41d;},Jt=(_0x4715ae,_0x17c5c0)=>(_0x6cb8d9,_0x11afdf)=>_0x17c5c0(_0x6cb8d9,_0x11afdf,_0x4715ae);const Ni=_0x122a43(0x25f),ms=_0x122a43(0x39c);let Rt=class extends _0x15d6f2{constructor(_0xd04d18,_0x38a2f8){var _0x299154=_0x122a43;super(),this['_HTTPService']=_0xd04d18,this['_configService']=_0x38a2f8,this[_0x299154(0x2d0)]();}[_0x122a43(0x2d0)](){var _0x1b5353=_0x122a43;const _0x27a929=this;this[_0x1b5353(0x2e1)](this[_0x1b5353(0x1bc)][_0x1b5353(0x372)]({'priority':0x3e7,'interceptor':_0x4d4c4c({'isMatch'(_0x43eea0){var _0x3d70b7=_0x1b5353,_0xd85f4c;if(_0x43eea0[_0x3d70b7(0x253)]==='POST'&&((_0xd85f4c=_0x43eea0[_0x3d70b7(0x291)])!=null&&_0xd85f4c[_0x3d70b7(0x242)])){const {objectID:_0x1faa83,objectType:_0x5e0a08}=_0x43eea0[_0x3d70b7(0x291)][_0x3d70b7(0x242)]||{};if(!_0x1faa83||_0x5e0a08===void 0x0)return!0x1;const _0x2b1840=_0x27a929['_getAPIPrefixPath']()+'/'+_0x5e0a08+'/object/'+_0x1faa83+_0x3d70b7(0x32c);if(_0x43eea0[_0x3d70b7(0x3a4)]===_0x2b1840)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x25ccf3){var _0xd54dee=_0x1b5353,_0x3f6091;return(_0x3f6091=_0x25ccf3[_0xd54dee(0x291)])==null?void 0x0:_0x3f6091[_0xd54dee(0x242)];},'mergeParamsToRequest'(_0x155f69,_0xa49f08){var _0x130629=_0x1b5353;const _0x558dab=_0x27a929[_0x130629(0x1a8)]()+_0x130629(0x1c4),_0x13ee6b=_0x155f69[_0x130629(0x430)]((_0x461941,_0x302432)=>{var _0x422446=_0x130629;const {unitID:_0x17c6f9,objectID:_0x5287b8,objectType:_0x574053,actions:_0xefc7b0}=_0x302432;return _0x461941[_0x17c6f9]||(_0x461941[_0x17c6f9]={}),_0x461941[_0x17c6f9][_0x5287b8]||(_0x461941[_0x17c6f9][_0x5287b8]={'objectID':_0x5287b8,'objectType':_0x574053,'actions':[]}),_0x461941[_0x17c6f9][_0x5287b8]['actions'][_0x422446(0x2a7)](..._0xefc7b0),_0x461941;},{}),_0x449ad0=[];for(const _0x271592 in _0x13ee6b)for(const _0x4cb3be in _0x13ee6b[_0x271592]){const {actions:_0x970771,objectType:_0x5b935a}=_0x13ee6b[_0x271592][_0x4cb3be],_0x47ed28=[...new Set(_0x970771)];_0x449ad0['push']({'unitID':_0x271592,'objectID':_0x4cb3be,'objectType':_0x5b935a,'actions':_0x47ed28});}return new _0x5dc3e4(_0x130629(0x325),_0x558dab,{'headers':_0xa49f08[_0x130629(0x478)],'withCredentials':_0xa49f08[_0x130629(0x37e)],'responseType':_0xa49f08[_0x130629(0x466)],'body':{'requests':_0x449ad0}});}},{'distributeResult'(_0x3a80dd,_0x50cd15){var _0x20a2b3=_0x1b5353;const {objectActions:_0xacc24f}=_0x3a80dd;return _0x50cd15[_0x20a2b3(0x390)](_0x173f50=>{var _0x2b40f8=_0x20a2b3;const {unitID:_0x5b2f39,objectID:_0x9bc38,actions:_0x36784c}=_0x173f50,_0x3228c5=_0xacc24f[_0x2b40f8(0x39e)](_0x576240=>_0x576240[_0x2b40f8(0x263)]===_0x5b2f39&&_0x576240[_0x2b40f8(0x40a)]===_0x9bc38),_0x267b87=_0x36784c[_0x2b40f8(0x390)](_0x59546e=>_0x3228c5==null?void 0x0:_0x3228c5['actions'][_0x2b40f8(0x39e)](_0x223db0=>_0x223db0[_0x2b40f8(0x37b)]===_0x59546e))[_0x2b40f8(0x3cc)](_0x16a763=>!!_0x16a763);return{'config':_0x173f50,'result':{'actions':_0x267b87,'error':_0x3a80dd['error']}};});}})}));}[_0x122a43(0x1a8)](){var _0xd28719=_0x122a43,_0x19a648,_0x21a1f7;const _0x2b14a7=this['_configService']['getConfig'](Ni),_0x547be9=this['_configService'][_0xd28719(0x2ed)](q);return(_0x21a1f7=(_0x19a648=_0x547be9==null?void 0x0:_0x547be9[_0xd28719(0x315)])!=null?_0x19a648:_0x2b14a7)!=null?_0x21a1f7:ms;}async[_0x122a43(0x2bc)](_0x4d0907){var _0x3bf07d=_0x122a43;const _0x15374c=this[_0x3bf07d(0x1a8)]()+'/'+_0x4d0907['objectType']+_0x3bf07d(0x2db);return(await this[_0x3bf07d(0x1bc)]['post'](_0x15374c,{'body':_0x4d0907}))[_0x3bf07d(0x242)][_0x3bf07d(0x40a)]||'';}async[_0x122a43(0x252)](_0xcd42ea){var _0x2d2a68=_0x122a43;const _0x16d06b=this[_0x2d2a68(0x1a8)]()+_0x2d2a68(0x467);return(await this['_HTTPService'][_0x2d2a68(0x41b)](_0x16d06b,{'body':_0xcd42ea}))['body'][_0x2d2a68(0x2bd)];}async['update'](_0x2d8ccc){var _0x514dc0=_0x122a43,_0x4e2320,_0x3c59b3;const _0x1f934b=this['_getAPIPrefixPath']()+'/'+_0x2d8ccc['objectType']+_0x514dc0(0x276)+_0x2d8ccc['objectID'],_0x1935aa=await this['_HTTPService'][_0x514dc0(0x1ec)](_0x1f934b,{'body':_0x2d8ccc});if(((_0x3c59b3=(_0x4e2320=_0x1935aa==null?void 0x0:_0x1935aa['body'])==null?void 0x0:_0x4e2320[_0x514dc0(0x2c6)])==null?void 0x0:_0x3c59b3[_0x514dc0(0x454)])!==0x1)throw new Error(_0x514dc0(0x469));}async['allowed'](_0x5c5b63){var _0x460c7a=_0x122a43;const _0x370050=this[_0x460c7a(0x1a8)]()+'/'+_0x5c5b63['objectType']+'/object/'+_0x5c5b63['objectID']+_0x460c7a(0x32c);return(await this[_0x460c7a(0x1bc)][_0x460c7a(0x41b)](_0x370050,{'body':_0x5c5b63}))[_0x460c7a(0x242)][_0x460c7a(0x25b)];}async[_0x122a43(0x20a)](_0x3bd763){var _0x89bcdd=_0x122a43;const _0x1cafff=this['_getAPIPrefixPath']()+_0x89bcdd(0x1c4);return(await this[_0x89bcdd(0x1bc)][_0x89bcdd(0x41b)](_0x1cafff,{'body':{'requests':_0x3bd763}}))[_0x89bcdd(0x242)][_0x89bcdd(0x29f)];}async['listRoles'](_0xc30992){var _0x303c08=_0x122a43;const _0x3844ec=this[_0x303c08(0x1a8)]()+'/'+_0xc30992[_0x303c08(0x239)]+_0x303c08(0x216),_0x4097f7=await this[_0x303c08(0x1bc)][_0x303c08(0x41b)](_0x3844ec,{'body':_0xc30992});return{'roles':_0x4097f7[_0x303c08(0x242)][_0x303c08(0x18b)],'actions':_0x4097f7['body'][_0x303c08(0x25b)]};}async[_0x122a43(0x385)](_0x5006e4){var _0x45f0f4=_0x122a43;const _0x2059aa=this['_getAPIPrefixPath']()+_0x45f0f4(0x3ca);await this['_HTTPService'][_0x45f0f4(0x44b)](_0x2059aa,{'params':{'collaboratorID':_0x5006e4[_0x45f0f4(0x369)],'objectID':_0x5006e4[_0x45f0f4(0x40a)],'unitID':_0x5006e4[_0x45f0f4(0x263)]}});}async['updateCollaborator'](_0x209095){var _0x3dadc7=_0x122a43;const _0x5e1af4=this[_0x3dadc7(0x1a8)]()+_0x3dadc7(0x3ca);await this[_0x3dadc7(0x1bc)]['patch'](_0x5e1af4,{'body':_0x209095});}async['createCollaborator'](_0x7c92d7){var _0xe4b474=_0x122a43;const _0x4cb029=this['_getAPIPrefixPath']()+'/collaborator';await this[_0xe4b474(0x1bc)][_0xe4b474(0x41b)](_0x4cb029,{'body':_0x7c92d7});}async[_0x122a43(0x445)](_0x10d2fc){var _0x237af8=_0x122a43;const _0x306f8b=this[_0x237af8(0x1a8)]()+_0x237af8(0x3ca);return(await this[_0x237af8(0x1bc)]['get'](_0x306f8b,{'params':{'objectID':_0x10d2fc[_0x237af8(0x40a)],'unitID':_0x10d2fc[_0x237af8(0x263)]}}))['body'][_0x237af8(0x405)];}async['putCollaborators'](_0xdb0340){var _0x33c727=_0x122a43;const _0x1c44ac=this[_0x33c727(0x1a8)]()+_0x33c727(0x3ca);await this[_0x33c727(0x1bc)][_0x33c727(0x1ec)](_0x1c44ac,{'body':_0xdb0340});}};Rt=ps([Jt(0x0,_0xed7601(_0x5dce4f)),Jt(0x1,_0xed7601(_0x47e68f))],Rt);var pt=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function He(_0x4a929f){var _0x6a35e2=_0x122a43;return _0x4a929f&&_0x4a929f[_0x6a35e2(0x425)]&&Object[_0x6a35e2(0x402)][_0x6a35e2(0x330)][_0x6a35e2(0x30d)](_0x4a929f,'default')?_0x4a929f[_0x6a35e2(0x3f5)]:_0x4a929f;}var Ve={'exports':{}};function gs(_0x41da92){var _0x3b090b=_0x122a43;throw new Error(_0x3b090b(0x238)+_0x41da92+'\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.');}var Ge={'exports':{}},Ss=Ge[_0x122a43(0x3b2)],Xt;function ie(){var _0x57dd90=_0x122a43;return Xt||(Xt=0x1,function(_0x3bf317,_0xd7ecd1){(function(_0x40e3e6,_0x19fce9){_0x3bf317['exports']=_0x19fce9();}(Ss,function(){var _0x2e8d71=_0x2e8d71||function(_0x18b657,_0x355e62){var _0x15e68d=_0x1002,_0x42d7ac;if(typeof window<'u'&&window['crypto']&&(_0x42d7ac=window[_0x15e68d(0x233)]),typeof self<'u'&&self[_0x15e68d(0x233)]&&(_0x42d7ac=self[_0x15e68d(0x233)]),typeof globalThis<'u'&&globalThis[_0x15e68d(0x233)]&&(_0x42d7ac=globalThis[_0x15e68d(0x233)]),!_0x42d7ac&&typeof window<'u'&&window[_0x15e68d(0x3e1)]&&(_0x42d7ac=window[_0x15e68d(0x3e1)]),!_0x42d7ac&&typeof pt<'u'&&pt[_0x15e68d(0x233)]&&(_0x42d7ac=pt['crypto']),!_0x42d7ac&&typeof gs=='function')try{_0x42d7ac=require(_0x15e68d(0x233));}catch{}var _0x20a99a=function(){var _0x4b8467=_0x15e68d;if(_0x42d7ac){if(typeof _0x42d7ac['getRandomValues']=='function')try{return _0x42d7ac[_0x4b8467(0x2f3)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x42d7ac[_0x4b8467(0x307)]=='function')try{return _0x42d7ac[_0x4b8467(0x307)](0x4)['readInt32LE']();}catch{}}throw new Error(_0x4b8467(0x260));},_0xadbf21=Object[_0x15e68d(0x2bc)]||(function(){function _0x550843(){}return function(_0x2bffe0){var _0x329059;return _0x550843['prototype']=_0x2bffe0,_0x329059=new _0x550843(),_0x550843['prototype']=null,_0x329059;};}()),_0x176094={},_0x3ae3a5=_0x176094['lib']={},_0x105ddb=_0x3ae3a5[_0x15e68d(0x1cd)]=(function(){return{'extend':function(_0x417a24){var _0x3b68df=_0x1002,_0x9b624e=_0xadbf21(this);return _0x417a24&&_0x9b624e[_0x3b68df(0x1be)](_0x417a24),(!_0x9b624e['hasOwnProperty']('init')||this[_0x3b68df(0x2ce)]===_0x9b624e[_0x3b68df(0x2ce)])&&(_0x9b624e['init']=function(){var _0x1666b0=_0x3b68df;_0x9b624e[_0x1666b0(0x22d)][_0x1666b0(0x2ce)][_0x1666b0(0x46c)](this,arguments);}),_0x9b624e[_0x3b68df(0x2ce)][_0x3b68df(0x402)]=_0x9b624e,_0x9b624e['$super']=this,_0x9b624e;},'create':function(){var _0xdecd2a=_0x1002,_0x46adea=this[_0xdecd2a(0x31f)]();return _0x46adea[_0xdecd2a(0x2ce)][_0xdecd2a(0x46c)](_0x46adea,arguments),_0x46adea;},'init':function(){},'mixIn':function(_0x1f43d4){var _0x391e2e=_0x1002;for(var _0x556cff in _0x1f43d4)_0x1f43d4['hasOwnProperty'](_0x556cff)&&(this[_0x556cff]=_0x1f43d4[_0x556cff]);_0x1f43d4[_0x391e2e(0x330)]('toString')&&(this[_0x391e2e(0x1c2)]=_0x1f43d4[_0x391e2e(0x1c2)]);},'clone':function(){var _0x44c28d=_0x1002;return this[_0x44c28d(0x2ce)][_0x44c28d(0x402)][_0x44c28d(0x31f)](this);}};}()),_0x3a42c5=_0x3ae3a5[_0x15e68d(0x288)]=_0x105ddb[_0x15e68d(0x31f)]({'init':function(_0x5b22b0,_0x5c9584){var _0x550563=_0x15e68d;_0x5b22b0=this[_0x550563(0x2e8)]=_0x5b22b0||[],_0x5c9584!=_0x355e62?this['sigBytes']=_0x5c9584:this[_0x550563(0x336)]=_0x5b22b0[_0x550563(0x32b)]*0x4;},'toString':function(_0x24ebce){var _0x49d856=_0x15e68d;return(_0x24ebce||_0x25419a)[_0x49d856(0x3a5)](this);},'concat':function(_0x564b09){var _0x3cd6fa=_0x15e68d,_0x2c156b=this['words'],_0x256d80=_0x564b09[_0x3cd6fa(0x2e8)],_0x427633=this[_0x3cd6fa(0x336)],_0x243105=_0x564b09[_0x3cd6fa(0x336)];if(this['clamp'](),_0x427633%0x4)for(var _0x14f9c1=0x0;_0x14f9c1<_0x243105;_0x14f9c1++){var _0x2a75ab=_0x256d80[_0x14f9c1>>>0x2]>>>0x18-_0x14f9c1%0x4*0x8&0xff;_0x2c156b[_0x427633+_0x14f9c1>>>0x2]|=_0x2a75ab<<0x18-(_0x427633+_0x14f9c1)%0x4*0x8;}else{for(var _0x50234a=0x0;_0x50234a<_0x243105;_0x50234a+=0x4)_0x2c156b[_0x427633+_0x50234a>>>0x2]=_0x256d80[_0x50234a>>>0x2];}return this['sigBytes']+=_0x243105,this;},'clamp':function(){var _0x1fcaa9=_0x15e68d,_0x56829c=this[_0x1fcaa9(0x2e8)],_0x109280=this[_0x1fcaa9(0x336)];_0x56829c[_0x109280>>>0x2]&=0xffffffff<<0x20-_0x109280%0x4*0x8,_0x56829c[_0x1fcaa9(0x32b)]=_0x18b657[_0x1fcaa9(0x2fe)](_0x109280/0x4);},'clone':function(){var _0x43966d=_0x15e68d,_0x42d6dd=_0x105ddb[_0x43966d(0x32a)][_0x43966d(0x30d)](this);return _0x42d6dd[_0x43966d(0x2e8)]=this[_0x43966d(0x2e8)][_0x43966d(0x444)](0x0),_0x42d6dd;},'random':function(_0x4c8d15){var _0x322526=_0x15e68d;for(var _0x5b6e8e=[],_0x1396b1=0x0;_0x1396b1<_0x4c8d15;_0x1396b1+=0x4)_0x5b6e8e[_0x322526(0x2a7)](_0x20a99a());return new _0x3a42c5[(_0x322526(0x2ce))](_0x5b6e8e,_0x4c8d15);}}),_0x4237eb=_0x176094[_0x15e68d(0x316)]={},_0x25419a=_0x4237eb[_0x15e68d(0x3b4)]={'stringify':function(_0x1479db){var _0x5bb26c=_0x15e68d;for(var _0x1a6a35=_0x1479db[_0x5bb26c(0x2e8)],_0x59a6de=_0x1479db[_0x5bb26c(0x336)],_0x241825=[],_0x4313d1=0x0;_0x4313d1<_0x59a6de;_0x4313d1++){var _0x3d42a3=_0x1a6a35[_0x4313d1>>>0x2]>>>0x18-_0x4313d1%0x4*0x8&0xff;_0x241825[_0x5bb26c(0x2a7)]((_0x3d42a3>>>0x4)['toString'](0x10)),_0x241825[_0x5bb26c(0x2a7)]((_0x3d42a3&0xf)[_0x5bb26c(0x1c2)](0x10));}return _0x241825[_0x5bb26c(0x3ac)]('');},'parse':function(_0x49949c){var _0x5c3f2e=_0x15e68d;for(var _0xce18f2=_0x49949c['length'],_0x1f5c82=[],_0x267737=0x0;_0x267737<_0xce18f2;_0x267737+=0x2)_0x1f5c82[_0x267737>>>0x3]|=parseInt(_0x49949c[_0x5c3f2e(0x2ff)](_0x267737,0x2),0x10)<<0x18-_0x267737%0x8*0x4;return new _0x3a42c5[(_0x5c3f2e(0x2ce))](_0x1f5c82,_0xce18f2/0x2);}},_0x21f331=_0x4237eb[_0x15e68d(0x1cc)]={'stringify':function(_0x494412){var _0xfa95f7=_0x15e68d;for(var _0x29b217=_0x494412['words'],_0xecaac3=_0x494412[_0xfa95f7(0x336)],_0x577de7=[],_0x30584c=0x0;_0x30584c<_0xecaac3;_0x30584c++){var _0x96cedc=_0x29b217[_0x30584c>>>0x2]>>>0x18-_0x30584c%0x4*0x8&0xff;_0x577de7['push'](String[_0xfa95f7(0x1f9)](_0x96cedc));}return _0x577de7['join']('');},'parse':function(_0x96d4c9){var _0x13a7bd=_0x15e68d;for(var _0x3d952f=_0x96d4c9[_0x13a7bd(0x32b)],_0x44cf19=[],_0x50844e=0x0;_0x50844e<_0x3d952f;_0x50844e++)_0x44cf19[_0x50844e>>>0x2]|=(_0x96d4c9['charCodeAt'](_0x50844e)&0xff)<<0x18-_0x50844e%0x4*0x8;return new _0x3a42c5[(_0x13a7bd(0x2ce))](_0x44cf19,_0x3d952f);}},_0x3063f8=_0x4237eb[_0x15e68d(0x37f)]={'stringify':function(_0x52d554){var _0x1c7b52=_0x15e68d;try{return decodeURIComponent(escape(_0x21f331['stringify'](_0x52d554)));}catch{throw new Error(_0x1c7b52(0x31a));}},'parse':function(_0x38721d){var _0x3368b6=_0x15e68d;return _0x21f331[_0x3368b6(0x3c0)](unescape(encodeURIComponent(_0x38721d)));}},_0x476dc1=_0x3ae3a5[_0x15e68d(0x378)]=_0x105ddb[_0x15e68d(0x31f)]({'reset':function(){var _0x149e56=_0x15e68d;this[_0x149e56(0x448)]=new _0x3a42c5[(_0x149e56(0x2ce))](),this['_nDataBytes']=0x0;},'_append':function(_0x126c61){var _0x373183=_0x15e68d;typeof _0x126c61==_0x373183(0x2d8)&&(_0x126c61=_0x3063f8[_0x373183(0x3c0)](_0x126c61)),this[_0x373183(0x448)]['concat'](_0x126c61),this[_0x373183(0x412)]+=_0x126c61['sigBytes'];},'_process':function(_0x4540bd){var _0x15fa72=_0x15e68d,_0x24831c,_0x301148=this['_data'],_0x577d1d=_0x301148[_0x15fa72(0x2e8)],_0x2db9af=_0x301148['sigBytes'],_0x53b652=this['blockSize'],_0xeabf27=_0x53b652*0x4,_0x2d8cd8=_0x2db9af/_0xeabf27;_0x4540bd?_0x2d8cd8=_0x18b657[_0x15fa72(0x2fe)](_0x2d8cd8):_0x2d8cd8=_0x18b657[_0x15fa72(0x249)]((_0x2d8cd8|0x0)-this['_minBufferSize'],0x0);var _0x4ed5ea=_0x2d8cd8*_0x53b652,_0x35193d=_0x18b657[_0x15fa72(0x464)](_0x4ed5ea*0x4,_0x2db9af);if(_0x4ed5ea){for(var _0x1e35b2=0x0;_0x1e35b2<_0x4ed5ea;_0x1e35b2+=_0x53b652)this[_0x15fa72(0x483)](_0x577d1d,_0x1e35b2);_0x24831c=_0x577d1d[_0x15fa72(0x3a8)](0x0,_0x4ed5ea),_0x301148[_0x15fa72(0x336)]-=_0x35193d;}return new _0x3a42c5[(_0x15fa72(0x2ce))](_0x24831c,_0x35193d);},'clone':function(){var _0x192b20=_0x15e68d,_0x42808f=_0x105ddb['clone'][_0x192b20(0x30d)](this);return _0x42808f[_0x192b20(0x448)]=this[_0x192b20(0x448)]['clone'](),_0x42808f;},'_minBufferSize':0x0});_0x3ae3a5[_0x15e68d(0x348)]=_0x476dc1[_0x15e68d(0x31f)]({'cfg':_0x105ddb[_0x15e68d(0x31f)](),'init':function(_0x2eb283){var _0x14279d=_0x15e68d;this[_0x14279d(0x313)]=this[_0x14279d(0x313)][_0x14279d(0x31f)](_0x2eb283),this[_0x14279d(0x201)]();},'reset':function(){var _0x29ebcd=_0x15e68d;_0x476dc1[_0x29ebcd(0x201)][_0x29ebcd(0x30d)](this),this[_0x29ebcd(0x27c)]();},'update':function(_0x381443){var _0x2b797c=_0x15e68d;return this[_0x2b797c(0x358)](_0x381443),this[_0x2b797c(0x240)](),this;},'finalize':function(_0x548174){var _0x193e37=_0x15e68d;_0x548174&&this[_0x193e37(0x358)](_0x548174);var _0x11839c=this[_0x193e37(0x1a0)]();return _0x11839c;},'blockSize':0x10,'_createHelper':function(_0x5bb19f){return function(_0x219e5d,_0x317ed0){var _0x11e3d8=_0x1002;return new _0x5bb19f['init'](_0x317ed0)[_0x11e3d8(0x21e)](_0x219e5d);};},'_createHmacHelper':function(_0x4ad67d){return function(_0x1da21c,_0x47de48){return new _0x49e84a['HMAC']['init'](_0x4ad67d,_0x47de48)['finalize'](_0x1da21c);};}});var _0x49e84a=_0x176094[_0x15e68d(0x321)]={};return _0x176094;}(Math);return _0x2e8d71;}));}(Ge)),Ge[_0x57dd90(0x3b2)];}var We={'exports':{}},Es=We['exports'],Zt;function Di(){var _0x61233d=_0x122a43;return Zt||(Zt=0x1,function(_0x303f1c,_0x1ba954){(function(_0xea0ef4,_0x4d483b){var _0x125302=_0x1002;_0x303f1c[_0x125302(0x3b2)]=_0x4d483b(ie());}(Es,function(_0x21a6d8){var _0x587748=_0x1002;return(function(){var _0x25b5d6=_0x1002,_0xf57e73=_0x21a6d8,_0x2bdd80=_0xf57e73['lib'],_0x53e844=_0x2bdd80['WordArray'],_0x4d60e4=_0xf57e73['enc'];_0x4d60e4[_0x25b5d6(0x261)]={'stringify':function(_0x11ff8c){var _0x539199=_0x25b5d6,_0x38b22e=_0x11ff8c[_0x539199(0x2e8)],_0x3332e7=_0x11ff8c['sigBytes'],_0x148ebc=this[_0x539199(0x2b5)];_0x11ff8c[_0x539199(0x25c)]();for(var _0x30e12d=[],_0x41b099=0x0;_0x41b099<_0x3332e7;_0x41b099+=0x3)for(var _0x4fb933=_0x38b22e[_0x41b099>>>0x2]>>>0x18-_0x41b099%0x4*0x8&0xff,_0x3e469d=_0x38b22e[_0x41b099+0x1>>>0x2]>>>0x18-(_0x41b099+0x1)%0x4*0x8&0xff,_0x376927=_0x38b22e[_0x41b099+0x2>>>0x2]>>>0x18-(_0x41b099+0x2)%0x4*0x8&0xff,_0xf07fa5=_0x4fb933<<0x10|_0x3e469d<<0x8|_0x376927,_0x5bbc1c=0x0;_0x5bbc1c<0x4&&_0x41b099+_0x5bbc1c*0.75<_0x3332e7;_0x5bbc1c++)_0x30e12d[_0x539199(0x2a7)](_0x148ebc['charAt'](_0xf07fa5>>>0x6*(0x3-_0x5bbc1c)&0x3f));var _0x42adbd=_0x148ebc[_0x539199(0x2fb)](0x40);if(_0x42adbd){for(;_0x30e12d[_0x539199(0x32b)]%0x4;)_0x30e12d[_0x539199(0x2a7)](_0x42adbd);}return _0x30e12d['join']('');},'parse':function(_0x2cc423){var _0x46620f=_0x25b5d6,_0x3bfe33=_0x2cc423[_0x46620f(0x32b)],_0x1c0a99=this[_0x46620f(0x2b5)],_0x1068d7=this[_0x46620f(0x327)];if(!_0x1068d7){_0x1068d7=this[_0x46620f(0x327)]=[];for(var _0x4cb439=0x0;_0x4cb439<_0x1c0a99[_0x46620f(0x32b)];_0x4cb439++)_0x1068d7[_0x1c0a99[_0x46620f(0x39d)](_0x4cb439)]=_0x4cb439;}var _0x24ab60=_0x1c0a99[_0x46620f(0x2fb)](0x40);if(_0x24ab60){var _0x50ad97=_0x2cc423[_0x46620f(0x237)](_0x24ab60);_0x50ad97!==-0x1&&(_0x3bfe33=_0x50ad97);}return _0x2817a2(_0x2cc423,_0x3bfe33,_0x1068d7);},'_map':'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/='};function _0x2817a2(_0xa02f8b,_0x17dfe0,_0x4649b9){var _0x5b2b1b=_0x25b5d6;for(var _0x1dea4f=[],_0x466b42=0x0,_0x4bcfe5=0x0;_0x4bcfe5<_0x17dfe0;_0x4bcfe5++)if(_0x4bcfe5%0x4){var _0x4a7655=_0x4649b9[_0xa02f8b[_0x5b2b1b(0x39d)](_0x4bcfe5-0x1)]<<_0x4bcfe5%0x4*0x2,_0x4d84e9=_0x4649b9[_0xa02f8b[_0x5b2b1b(0x39d)](_0x4bcfe5)]>>>0x6-_0x4bcfe5%0x4*0x2,_0x3b5aaf=_0x4a7655|_0x4d84e9;_0x1dea4f[_0x466b42>>>0x2]|=_0x3b5aaf<<0x18-_0x466b42%0x4*0x8,_0x466b42++;}return _0x53e844['create'](_0x1dea4f,_0x466b42);}}()),_0x21a6d8[_0x587748(0x316)][_0x587748(0x261)];}));}(We)),We[_0x61233d(0x3b2)];}var Ye={'exports':{}},Is=Ye[_0x122a43(0x3b2)],Qt;function Ts(){return Qt||(Qt=0x1,function(_0x5d0012,_0x58a958){(function(_0x1c752d,_0x55a1b9){var _0x22c4de=_0x1002;_0x5d0012[_0x22c4de(0x3b2)]=_0x55a1b9(ie());}(Is,function(_0x1b2df6){var _0x1ec4f5=_0x1002;return function(_0x216cdf){var _0x3ea93f=_0x1002,_0x22491e=_0x1b2df6,_0x30e80c=_0x22491e[_0x3ea93f(0x41e)],_0x30901f=_0x30e80c[_0x3ea93f(0x288)],_0x4e061d=_0x30e80c[_0x3ea93f(0x348)],_0x2319aa=_0x22491e[_0x3ea93f(0x321)],_0x40b941=[];(function(){var _0x3c2db5=_0x3ea93f;for(var _0x94f844=0x0;_0x94f844<0x40;_0x94f844++)_0x40b941[_0x94f844]=_0x216cdf[_0x3c2db5(0x1a3)](_0x216cdf[_0x3c2db5(0x26f)](_0x94f844+0x1))*0x100000000|0x0;}());var _0x2c57a2=_0x2319aa[_0x3ea93f(0x280)]=_0x4e061d['extend']({'_doReset':function(){var _0x3cd040=_0x3ea93f;this[_0x3cd040(0x1f2)]=new _0x30901f[(_0x3cd040(0x2ce))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x5f1274,_0x3666e3){for(var _0x56f5b5=0x0;_0x56f5b5<0x10;_0x56f5b5++){var _0x3c1b26=_0x3666e3+_0x56f5b5,_0x22d709=_0x5f1274[_0x3c1b26];_0x5f1274[_0x3c1b26]=(_0x22d709<<0x8|_0x22d709>>>0x18)&0xff00ff|(_0x22d709<<0x18|_0x22d709>>>0x8)&0xff00ff00;}var _0x198de8=this['_hash']['words'],_0xb82f9f=_0x5f1274[_0x3666e3+0x0],_0x11f374=_0x5f1274[_0x3666e3+0x1],_0x4a5b78=_0x5f1274[_0x3666e3+0x2],_0x504ef8=_0x5f1274[_0x3666e3+0x3],_0x17eaee=_0x5f1274[_0x3666e3+0x4],_0xa35081=_0x5f1274[_0x3666e3+0x5],_0x1b4b23=_0x5f1274[_0x3666e3+0x6],_0x5e3119=_0x5f1274[_0x3666e3+0x7],_0x3d33a4=_0x5f1274[_0x3666e3+0x8],_0xbfef62=_0x5f1274[_0x3666e3+0x9],_0x26ffbc=_0x5f1274[_0x3666e3+0xa],_0x3859aa=_0x5f1274[_0x3666e3+0xb],_0x47cedb=_0x5f1274[_0x3666e3+0xc],_0x360cdc=_0x5f1274[_0x3666e3+0xd],_0x104662=_0x5f1274[_0x3666e3+0xe],_0x3f5ba6=_0x5f1274[_0x3666e3+0xf],_0x2fbbaf=_0x198de8[0x0],_0x463de1=_0x198de8[0x1],_0xeafd27=_0x198de8[0x2],_0x2c58b8=_0x198de8[0x3];_0x2fbbaf=_0x54cef5(_0x2fbbaf,_0x463de1,_0xeafd27,_0x2c58b8,_0xb82f9f,0x7,_0x40b941[0x0]),_0x2c58b8=_0x54cef5(_0x2c58b8,_0x2fbbaf,_0x463de1,_0xeafd27,_0x11f374,0xc,_0x40b941[0x1]),_0xeafd27=_0x54cef5(_0xeafd27,_0x2c58b8,_0x2fbbaf,_0x463de1,_0x4a5b78,0x11,_0x40b941[0x2]),_0x463de1=_0x54cef5(_0x463de1,_0xeafd27,_0x2c58b8,_0x2fbbaf,_0x504ef8,0x16,_0x40b941[0x3]),_0x2fbbaf=_0x54cef5(_0x2fbbaf,_0x463de1,_0xeafd27,_0x2c58b8,_0x17eaee,0x7,_0x40b941[0x4]),_0x2c58b8=_0x54cef5(_0x2c58b8,_0x2fbbaf,_0x463de1,_0xeafd27,_0xa35081,0xc,_0x40b941[0x5]),_0xeafd27=_0x54cef5(_0xeafd27,_0x2c58b8,_0x2fbbaf,_0x463de1,_0x1b4b23,0x11,_0x40b941[0x6]),_0x463de1=_0x54cef5(_0x463de1,_0xeafd27,_0x2c58b8,_0x2fbbaf,_0x5e3119,0x16,_0x40b941[0x7]),_0x2fbbaf=_0x54cef5(_0x2fbbaf,_0x463de1,_0xeafd27,_0x2c58b8,_0x3d33a4,0x7,_0x40b941[0x8]),_0x2c58b8=_0x54cef5(_0x2c58b8,_0x2fbbaf,_0x463de1,_0xeafd27,_0xbfef62,0xc,_0x40b941[0x9]),_0xeafd27=_0x54cef5(_0xeafd27,_0x2c58b8,_0x2fbbaf,_0x463de1,_0x26ffbc,0x11,_0x40b941[0xa]),_0x463de1=_0x54cef5(_0x463de1,_0xeafd27,_0x2c58b8,_0x2fbbaf,_0x3859aa,0x16,_0x40b941[0xb]),_0x2fbbaf=_0x54cef5(_0x2fbbaf,_0x463de1,_0xeafd27,_0x2c58b8,_0x47cedb,0x7,_0x40b941[0xc]),_0x2c58b8=_0x54cef5(_0x2c58b8,_0x2fbbaf,_0x463de1,_0xeafd27,_0x360cdc,0xc,_0x40b941[0xd]),_0xeafd27=_0x54cef5(_0xeafd27,_0x2c58b8,_0x2fbbaf,_0x463de1,_0x104662,0x11,_0x40b941[0xe]),_0x463de1=_0x54cef5(_0x463de1,_0xeafd27,_0x2c58b8,_0x2fbbaf,_0x3f5ba6,0x16,_0x40b941[0xf]),_0x2fbbaf=_0x225518(_0x2fbbaf,_0x463de1,_0xeafd27,_0x2c58b8,_0x11f374,0x5,_0x40b941[0x10]),_0x2c58b8=_0x225518(_0x2c58b8,_0x2fbbaf,_0x463de1,_0xeafd27,_0x1b4b23,0x9,_0x40b941[0x11]),_0xeafd27=_0x225518(_0xeafd27,_0x2c58b8,_0x2fbbaf,_0x463de1,_0x3859aa,0xe,_0x40b941[0x12]),_0x463de1=_0x225518(_0x463de1,_0xeafd27,_0x2c58b8,_0x2fbbaf,_0xb82f9f,0x14,_0x40b941[0x13]),_0x2fbbaf=_0x225518(_0x2fbbaf,_0x463de1,_0xeafd27,_0x2c58b8,_0xa35081,0x5,_0x40b941[0x14]),_0x2c58b8=_0x225518(_0x2c58b8,_0x2fbbaf,_0x463de1,_0xeafd27,_0x26ffbc,0x9,_0x40b941[0x15]),_0xeafd27=_0x225518(_0xeafd27,_0x2c58b8,_0x2fbbaf,_0x463de1,_0x3f5ba6,0xe,_0x40b941[0x16]),_0x463de1=_0x225518(_0x463de1,_0xeafd27,_0x2c58b8,_0x2fbbaf,_0x17eaee,0x14,_0x40b941[0x17]),_0x2fbbaf=_0x225518(_0x2fbbaf,_0x463de1,_0xeafd27,_0x2c58b8,_0xbfef62,0x5,_0x40b941[0x18]),_0x2c58b8=_0x225518(_0x2c58b8,_0x2fbbaf,_0x463de1,_0xeafd27,_0x104662,0x9,_0x40b941[0x19]),_0xeafd27=_0x225518(_0xeafd27,_0x2c58b8,_0x2fbbaf,_0x463de1,_0x504ef8,0xe,_0x40b941[0x1a]),_0x463de1=_0x225518(_0x463de1,_0xeafd27,_0x2c58b8,_0x2fbbaf,_0x3d33a4,0x14,_0x40b941[0x1b]),_0x2fbbaf=_0x225518(_0x2fbbaf,_0x463de1,_0xeafd27,_0x2c58b8,_0x360cdc,0x5,_0x40b941[0x1c]),_0x2c58b8=_0x225518(_0x2c58b8,_0x2fbbaf,_0x463de1,_0xeafd27,_0x4a5b78,0x9,_0x40b941[0x1d]),_0xeafd27=_0x225518(_0xeafd27,_0x2c58b8,_0x2fbbaf,_0x463de1,_0x5e3119,0xe,_0x40b941[0x1e]),_0x463de1=_0x225518(_0x463de1,_0xeafd27,_0x2c58b8,_0x2fbbaf,_0x47cedb,0x14,_0x40b941[0x1f]),_0x2fbbaf=_0x2227ea(_0x2fbbaf,_0x463de1,_0xeafd27,_0x2c58b8,_0xa35081,0x4,_0x40b941[0x20]),_0x2c58b8=_0x2227ea(_0x2c58b8,_0x2fbbaf,_0x463de1,_0xeafd27,_0x3d33a4,0xb,_0x40b941[0x21]),_0xeafd27=_0x2227ea(_0xeafd27,_0x2c58b8,_0x2fbbaf,_0x463de1,_0x3859aa,0x10,_0x40b941[0x22]),_0x463de1=_0x2227ea(_0x463de1,_0xeafd27,_0x2c58b8,_0x2fbbaf,_0x104662,0x17,_0x40b941[0x23]),_0x2fbbaf=_0x2227ea(_0x2fbbaf,_0x463de1,_0xeafd27,_0x2c58b8,_0x11f374,0x4,_0x40b941[0x24]),_0x2c58b8=_0x2227ea(_0x2c58b8,_0x2fbbaf,_0x463de1,_0xeafd27,_0x17eaee,0xb,_0x40b941[0x25]),_0xeafd27=_0x2227ea(_0xeafd27,_0x2c58b8,_0x2fbbaf,_0x463de1,_0x5e3119,0x10,_0x40b941[0x26]),_0x463de1=_0x2227ea(_0x463de1,_0xeafd27,_0x2c58b8,_0x2fbbaf,_0x26ffbc,0x17,_0x40b941[0x27]),_0x2fbbaf=_0x2227ea(_0x2fbbaf,_0x463de1,_0xeafd27,_0x2c58b8,_0x360cdc,0x4,_0x40b941[0x28]),_0x2c58b8=_0x2227ea(_0x2c58b8,_0x2fbbaf,_0x463de1,_0xeafd27,_0xb82f9f,0xb,_0x40b941[0x29]),_0xeafd27=_0x2227ea(_0xeafd27,_0x2c58b8,_0x2fbbaf,_0x463de1,_0x504ef8,0x10,_0x40b941[0x2a]),_0x463de1=_0x2227ea(_0x463de1,_0xeafd27,_0x2c58b8,_0x2fbbaf,_0x1b4b23,0x17,_0x40b941[0x2b]),_0x2fbbaf=_0x2227ea(_0x2fbbaf,_0x463de1,_0xeafd27,_0x2c58b8,_0xbfef62,0x4,_0x40b941[0x2c]),_0x2c58b8=_0x2227ea(_0x2c58b8,_0x2fbbaf,_0x463de1,_0xeafd27,_0x47cedb,0xb,_0x40b941[0x2d]),_0xeafd27=_0x2227ea(_0xeafd27,_0x2c58b8,_0x2fbbaf,_0x463de1,_0x3f5ba6,0x10,_0x40b941[0x2e]),_0x463de1=_0x2227ea(_0x463de1,_0xeafd27,_0x2c58b8,_0x2fbbaf,_0x4a5b78,0x17,_0x40b941[0x2f]),_0x2fbbaf=_0x291a27(_0x2fbbaf,_0x463de1,_0xeafd27,_0x2c58b8,_0xb82f9f,0x6,_0x40b941[0x30]),_0x2c58b8=_0x291a27(_0x2c58b8,_0x2fbbaf,_0x463de1,_0xeafd27,_0x5e3119,0xa,_0x40b941[0x31]),_0xeafd27=_0x291a27(_0xeafd27,_0x2c58b8,_0x2fbbaf,_0x463de1,_0x104662,0xf,_0x40b941[0x32]),_0x463de1=_0x291a27(_0x463de1,_0xeafd27,_0x2c58b8,_0x2fbbaf,_0xa35081,0x15,_0x40b941[0x33]),_0x2fbbaf=_0x291a27(_0x2fbbaf,_0x463de1,_0xeafd27,_0x2c58b8,_0x47cedb,0x6,_0x40b941[0x34]),_0x2c58b8=_0x291a27(_0x2c58b8,_0x2fbbaf,_0x463de1,_0xeafd27,_0x504ef8,0xa,_0x40b941[0x35]),_0xeafd27=_0x291a27(_0xeafd27,_0x2c58b8,_0x2fbbaf,_0x463de1,_0x26ffbc,0xf,_0x40b941[0x36]),_0x463de1=_0x291a27(_0x463de1,_0xeafd27,_0x2c58b8,_0x2fbbaf,_0x11f374,0x15,_0x40b941[0x37]),_0x2fbbaf=_0x291a27(_0x2fbbaf,_0x463de1,_0xeafd27,_0x2c58b8,_0x3d33a4,0x6,_0x40b941[0x38]),_0x2c58b8=_0x291a27(_0x2c58b8,_0x2fbbaf,_0x463de1,_0xeafd27,_0x3f5ba6,0xa,_0x40b941[0x39]),_0xeafd27=_0x291a27(_0xeafd27,_0x2c58b8,_0x2fbbaf,_0x463de1,_0x1b4b23,0xf,_0x40b941[0x3a]),_0x463de1=_0x291a27(_0x463de1,_0xeafd27,_0x2c58b8,_0x2fbbaf,_0x360cdc,0x15,_0x40b941[0x3b]),_0x2fbbaf=_0x291a27(_0x2fbbaf,_0x463de1,_0xeafd27,_0x2c58b8,_0x17eaee,0x6,_0x40b941[0x3c]),_0x2c58b8=_0x291a27(_0x2c58b8,_0x2fbbaf,_0x463de1,_0xeafd27,_0x3859aa,0xa,_0x40b941[0x3d]),_0xeafd27=_0x291a27(_0xeafd27,_0x2c58b8,_0x2fbbaf,_0x463de1,_0x4a5b78,0xf,_0x40b941[0x3e]),_0x463de1=_0x291a27(_0x463de1,_0xeafd27,_0x2c58b8,_0x2fbbaf,_0xbfef62,0x15,_0x40b941[0x3f]),_0x198de8[0x0]=_0x198de8[0x0]+_0x2fbbaf|0x0,_0x198de8[0x1]=_0x198de8[0x1]+_0x463de1|0x0,_0x198de8[0x2]=_0x198de8[0x2]+_0xeafd27|0x0,_0x198de8[0x3]=_0x198de8[0x3]+_0x2c58b8|0x0;},'_doFinalize':function(){var _0x23bc99=_0x3ea93f,_0x5c0387=this[_0x23bc99(0x448)],_0x5c4d97=_0x5c0387[_0x23bc99(0x2e8)],_0x149a1d=this[_0x23bc99(0x412)]*0x8,_0x763fe0=_0x5c0387['sigBytes']*0x8;_0x5c4d97[_0x763fe0>>>0x5]|=0x80<<0x18-_0x763fe0%0x20;var _0x3577f7=_0x216cdf[_0x23bc99(0x416)](_0x149a1d/0x100000000),_0xf0ec10=_0x149a1d;_0x5c4d97[(_0x763fe0+0x40>>>0x9<<0x4)+0xf]=(_0x3577f7<<0x8|_0x3577f7>>>0x18)&0xff00ff|(_0x3577f7<<0x18|_0x3577f7>>>0x8)&0xff00ff00,_0x5c4d97[(_0x763fe0+0x40>>>0x9<<0x4)+0xe]=(_0xf0ec10<<0x8|_0xf0ec10>>>0x18)&0xff00ff|(_0xf0ec10<<0x18|_0xf0ec10>>>0x8)&0xff00ff00,_0x5c0387[_0x23bc99(0x336)]=(_0x5c4d97['length']+0x1)*0x4,this[_0x23bc99(0x240)]();for(var _0x332a17=this['_hash'],_0x1ed945=_0x332a17[_0x23bc99(0x2e8)],_0x351002=0x0;_0x351002<0x4;_0x351002++){var _0xa8beb5=_0x1ed945[_0x351002];_0x1ed945[_0x351002]=(_0xa8beb5<<0x8|_0xa8beb5>>>0x18)&0xff00ff|(_0xa8beb5<<0x18|_0xa8beb5>>>0x8)&0xff00ff00;}return _0x332a17;},'clone':function(){var _0x212057=_0x3ea93f,_0x15888f=_0x4e061d[_0x212057(0x32a)][_0x212057(0x30d)](this);return _0x15888f[_0x212057(0x1f2)]=this[_0x212057(0x1f2)][_0x212057(0x32a)](),_0x15888f;}});function _0x54cef5(_0x1721fd,_0x143621,_0x2de1da,_0xf8c7e1,_0x4da483,_0x59103f,_0x29c7da){var _0x5ed74a=_0x1721fd+(_0x143621&_0x2de1da|~_0x143621&_0xf8c7e1)+_0x4da483+_0x29c7da;return(_0x5ed74a<<_0x59103f|_0x5ed74a>>>0x20-_0x59103f)+_0x143621;}function _0x225518(_0x4d9d81,_0x4e1a3e,_0xe80933,_0x114eb5,_0x2df767,_0x2219ca,_0x528c23){var _0x3d1d7a=_0x4d9d81+(_0x4e1a3e&_0x114eb5|_0xe80933&~_0x114eb5)+_0x2df767+_0x528c23;return(_0x3d1d7a<<_0x2219ca|_0x3d1d7a>>>0x20-_0x2219ca)+_0x4e1a3e;}function _0x2227ea(_0x1c9fd9,_0x2a5ac8,_0x18fee1,_0x1e1927,_0x3eaa3d,_0x551c5d,_0x30752a){var _0x19fce4=_0x1c9fd9+(_0x2a5ac8^_0x18fee1^_0x1e1927)+_0x3eaa3d+_0x30752a;return(_0x19fce4<<_0x551c5d|_0x19fce4>>>0x20-_0x551c5d)+_0x2a5ac8;}function _0x291a27(_0x2d5d9b,_0x2e5a94,_0x46a906,_0x457c5e,_0x38f8f9,_0x12a12c,_0x1ba4c6){var _0x6b28c7=_0x2d5d9b+(_0x46a906^(_0x2e5a94|~_0x457c5e))+_0x38f8f9+_0x1ba4c6;return(_0x6b28c7<<_0x12a12c|_0x6b28c7>>>0x20-_0x12a12c)+_0x2e5a94;}_0x22491e['MD5']=_0x4e061d[_0x3ea93f(0x37a)](_0x2c57a2),_0x22491e[_0x3ea93f(0x3cf)]=_0x4e061d['_createHmacHelper'](_0x2c57a2);}(Math),_0x1b2df6[_0x1ec4f5(0x280)];}));}(Ye)),Ye['exports'];}var Ke={'exports':{}},qe={'exports':{}},Cs=qe[_0x122a43(0x3b2)],ei;function Rs(){return ei||(ei=0x1,function(_0x39e2fb,_0x24e302){(function(_0x5dd5d8,_0x260bf8){_0x39e2fb['exports']=_0x260bf8(ie());}(Cs,function(_0x24c4e8){var _0x1936b5=_0x1002;return(function(){var _0x4b0bdc=_0x1002,_0x2fbd3f=_0x24c4e8,_0x2b73ee=_0x2fbd3f['lib'],_0xedcde2=_0x2b73ee['WordArray'],_0x36002e=_0x2b73ee['Hasher'],_0x368437=_0x2fbd3f['algo'],_0xcc135=[],_0x9caceb=_0x368437['SHA1']=_0x36002e[_0x4b0bdc(0x31f)]({'_doReset':function(){this['_hash']=new _0xedcde2['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x1efd2b,_0x47e66f){var _0x17d300=_0x4b0bdc;for(var _0x3f56e9=this['_hash'][_0x17d300(0x2e8)],_0x1952ee=_0x3f56e9[0x0],_0x55021c=_0x3f56e9[0x1],_0x2ca8b8=_0x3f56e9[0x2],_0x31b134=_0x3f56e9[0x3],_0x26102c=_0x3f56e9[0x4],_0x54f9de=0x0;_0x54f9de<0x50;_0x54f9de++){if(_0x54f9de<0x10)_0xcc135[_0x54f9de]=_0x1efd2b[_0x47e66f+_0x54f9de]|0x0;else{var _0x1e8478=_0xcc135[_0x54f9de-0x3]^_0xcc135[_0x54f9de-0x8]^_0xcc135[_0x54f9de-0xe]^_0xcc135[_0x54f9de-0x10];_0xcc135[_0x54f9de]=_0x1e8478<<0x1|_0x1e8478>>>0x1f;}var _0x5abdf4=(_0x1952ee<<0x5|_0x1952ee>>>0x1b)+_0x26102c+_0xcc135[_0x54f9de];_0x54f9de<0x14?_0x5abdf4+=(_0x55021c&_0x2ca8b8|~_0x55021c&_0x31b134)+0x5a827999:_0x54f9de<0x28?_0x5abdf4+=(_0x55021c^_0x2ca8b8^_0x31b134)+0x6ed9eba1:_0x54f9de<0x3c?_0x5abdf4+=(_0x55021c&_0x2ca8b8|_0x55021c&_0x31b134|_0x2ca8b8&_0x31b134)-0x70e44324:_0x5abdf4+=(_0x55021c^_0x2ca8b8^_0x31b134)-0x359d3e2a,_0x26102c=_0x31b134,_0x31b134=_0x2ca8b8,_0x2ca8b8=_0x55021c<<0x1e|_0x55021c>>>0x2,_0x55021c=_0x1952ee,_0x1952ee=_0x5abdf4;}_0x3f56e9[0x0]=_0x3f56e9[0x0]+_0x1952ee|0x0,_0x3f56e9[0x1]=_0x3f56e9[0x1]+_0x55021c|0x0,_0x3f56e9[0x2]=_0x3f56e9[0x2]+_0x2ca8b8|0x0,_0x3f56e9[0x3]=_0x3f56e9[0x3]+_0x31b134|0x0,_0x3f56e9[0x4]=_0x3f56e9[0x4]+_0x26102c|0x0;},'_doFinalize':function(){var _0x3c07f9=_0x4b0bdc,_0x5ca2c5=this[_0x3c07f9(0x448)],_0x10ac5d=_0x5ca2c5[_0x3c07f9(0x2e8)],_0x5864ab=this[_0x3c07f9(0x412)]*0x8,_0x371a1a=_0x5ca2c5['sigBytes']*0x8;return _0x10ac5d[_0x371a1a>>>0x5]|=0x80<<0x18-_0x371a1a%0x20,_0x10ac5d[(_0x371a1a+0x40>>>0x9<<0x4)+0xe]=Math[_0x3c07f9(0x416)](_0x5864ab/0x100000000),_0x10ac5d[(_0x371a1a+0x40>>>0x9<<0x4)+0xf]=_0x5864ab,_0x5ca2c5[_0x3c07f9(0x336)]=_0x10ac5d[_0x3c07f9(0x32b)]*0x4,this[_0x3c07f9(0x240)](),this[_0x3c07f9(0x1f2)];},'clone':function(){var _0x244e65=_0x4b0bdc,_0x1072a1=_0x36002e[_0x244e65(0x32a)][_0x244e65(0x30d)](this);return _0x1072a1[_0x244e65(0x1f2)]=this['_hash'][_0x244e65(0x32a)](),_0x1072a1;}});_0x2fbd3f[_0x4b0bdc(0x1f3)]=_0x36002e['_createHelper'](_0x9caceb),_0x2fbd3f[_0x4b0bdc(0x293)]=_0x36002e['_createHmacHelper'](_0x9caceb);}()),_0x24c4e8[_0x1936b5(0x1f3)];}));}(qe)),qe['exports'];}var ze={'exports':{}},bs=ze['exports'],ti;function Os(){var _0x789112=_0x122a43;return ti||(ti=0x1,function(_0x507ab4,_0x344c33){(function(_0x56405e,_0x58bfe6){var _0x2d06f9=_0x1002;_0x507ab4[_0x2d06f9(0x3b2)]=_0x58bfe6(ie());}(bs,function(_0x2dcb60){(function(){var _0x559eea=_0x1002,_0xfc5c26=_0x2dcb60,_0x2f3d71=_0xfc5c26[_0x559eea(0x41e)],_0x2a73f7=_0x2f3d71[_0x559eea(0x1cd)],_0x40bd3c=_0xfc5c26['enc'],_0x2053ea=_0x40bd3c['Utf8'],_0x453917=_0xfc5c26[_0x559eea(0x321)];_0x453917['HMAC']=_0x2a73f7[_0x559eea(0x31f)]({'init':function(_0x231d4b,_0xceb47a){var _0x5969ea=_0x559eea;_0x231d4b=this[_0x5969ea(0x3af)]=new _0x231d4b[(_0x5969ea(0x2ce))](),typeof _0xceb47a=='string'&&(_0xceb47a=_0x2053ea[_0x5969ea(0x3c0)](_0xceb47a));var _0x6b96e=_0x231d4b[_0x5969ea(0x3bb)],_0x3b6fa3=_0x6b96e*0x4;_0xceb47a[_0x5969ea(0x336)]>_0x3b6fa3&&(_0xceb47a=_0x231d4b[_0x5969ea(0x21e)](_0xceb47a)),_0xceb47a['clamp']();for(var _0x578a32=this['_oKey']=_0xceb47a[_0x5969ea(0x32a)](),_0x397ea8=this[_0x5969ea(0x452)]=_0xceb47a[_0x5969ea(0x32a)](),_0x5e89b7=_0x578a32[_0x5969ea(0x2e8)],_0x9322c=_0x397ea8[_0x5969ea(0x2e8)],_0x2a89d5=0x0;_0x2a89d5<_0x6b96e;_0x2a89d5++)_0x5e89b7[_0x2a89d5]^=0x5c5c5c5c,_0x9322c[_0x2a89d5]^=0x36363636;_0x578a32[_0x5969ea(0x336)]=_0x397ea8['sigBytes']=_0x3b6fa3,this[_0x5969ea(0x201)]();},'reset':function(){var _0x2a7708=_0x559eea,_0x8d8ef=this[_0x2a7708(0x3af)];_0x8d8ef[_0x2a7708(0x201)](),_0x8d8ef[_0x2a7708(0x2ee)](this['_iKey']);},'update':function(_0xc5aada){var _0xb90f6b=_0x559eea;return this[_0xb90f6b(0x3af)][_0xb90f6b(0x2ee)](_0xc5aada),this;},'finalize':function(_0x22c1f4){var _0x681ea8=_0x559eea,_0x314840=this[_0x681ea8(0x3af)],_0x1c8e3a=_0x314840[_0x681ea8(0x21e)](_0x22c1f4);_0x314840[_0x681ea8(0x201)]();var _0xad3cfa=_0x314840[_0x681ea8(0x21e)](this['_oKey'][_0x681ea8(0x32a)]()[_0x681ea8(0x47b)](_0x1c8e3a));return _0xad3cfa;}});}());}));}(ze)),ze[_0x789112(0x3b2)];}var ys=Ke['exports'],ii;function Ui(){return ii||(ii=0x1,function(_0x5d3f1d,_0x2016ab){(function(_0x278087,_0x11cf48,_0x333cb5){var _0x5549f0=_0x1002;_0x5d3f1d[_0x5549f0(0x3b2)]=_0x11cf48(ie(),Rs(),Os());}(ys,function(_0x375e17){var _0x26d88d=_0x1002;return(function(){var _0x3333d2=_0x1002,_0x32b2ed=_0x375e17,_0x1e4d6b=_0x32b2ed[_0x3333d2(0x41e)],_0x3775b0=_0x1e4d6b[_0x3333d2(0x1cd)],_0xe5a5af=_0x1e4d6b[_0x3333d2(0x288)],_0x1067cc=_0x32b2ed[_0x3333d2(0x321)],_0x38bf32=_0x1067cc[_0x3333d2(0x280)],_0x3b16c5=_0x1067cc[_0x3333d2(0x365)]=_0x3775b0[_0x3333d2(0x31f)]({'cfg':_0x3775b0[_0x3333d2(0x31f)]({'keySize':0x80/0x20,'hasher':_0x38bf32,'iterations':0x1}),'init':function(_0x2fc59a){var _0x362297=_0x3333d2;this[_0x362297(0x313)]=this['cfg']['extend'](_0x2fc59a);},'compute':function(_0x5dc3fd,_0x1b8352){var _0x2abd73=_0x3333d2;for(var _0x2b51a9,_0xd45df5=this['cfg'],_0x25f534=_0xd45df5[_0x2abd73(0x282)]['create'](),_0x186d8c=_0xe5a5af['create'](),_0x1d5ada=_0x186d8c[_0x2abd73(0x2e8)],_0x15b495=_0xd45df5[_0x2abd73(0x386)],_0x2f9bd3=_0xd45df5[_0x2abd73(0x43e)];_0x1d5ada[_0x2abd73(0x32b)]<_0x15b495;){_0x2b51a9&&_0x25f534[_0x2abd73(0x2ee)](_0x2b51a9),_0x2b51a9=_0x25f534[_0x2abd73(0x2ee)](_0x5dc3fd)[_0x2abd73(0x21e)](_0x1b8352),_0x25f534[_0x2abd73(0x201)]();for(var _0x40e353=0x1;_0x40e353<_0x2f9bd3;_0x40e353++)_0x2b51a9=_0x25f534[_0x2abd73(0x21e)](_0x2b51a9),_0x25f534[_0x2abd73(0x201)]();_0x186d8c['concat'](_0x2b51a9);}return _0x186d8c[_0x2abd73(0x336)]=_0x15b495*0x4,_0x186d8c;}});_0x32b2ed[_0x3333d2(0x365)]=function(_0x222a7b,_0x7667bf,_0x424e81){var _0x742c39=_0x3333d2;return _0x3b16c5[_0x742c39(0x2bc)](_0x424e81)[_0x742c39(0x25d)](_0x222a7b,_0x7667bf);};}()),_0x375e17[_0x26d88d(0x365)];}));}(Ke)),Ke['exports'];}var Je={'exports':{}},Ns=Je[_0x122a43(0x3b2)],ni;function Ai(){var _0x207e17=_0x122a43;return ni||(ni=0x1,function(_0x5923a6,_0x34df95){(function(_0x29c6d3,_0x17f7ae,_0xba33e2){var _0x237a58=_0x1002;_0x5923a6[_0x237a58(0x3b2)]=_0x17f7ae(ie(),Ui());}(Ns,function(_0x5eb432){var _0x2f9bb8=_0x1002;_0x5eb432[_0x2f9bb8(0x41e)][_0x2f9bb8(0x258)]||function(_0x482c8c){var _0x5a2fe4=_0x2f9bb8,_0x4ac3d5=_0x5eb432,_0x4e2b1f=_0x4ac3d5[_0x5a2fe4(0x41e)],_0x42618a=_0x4e2b1f[_0x5a2fe4(0x1cd)],_0x59926d=_0x4e2b1f['WordArray'],_0x42aaf8=_0x4e2b1f[_0x5a2fe4(0x378)],_0x23f2d3=_0x4ac3d5[_0x5a2fe4(0x316)];_0x23f2d3['Utf8'];var _0x564c89=_0x23f2d3[_0x5a2fe4(0x261)],_0x2a5439=_0x4ac3d5[_0x5a2fe4(0x321)],_0x13de5e=_0x2a5439[_0x5a2fe4(0x365)],_0x30636c=_0x4e2b1f['Cipher']=_0x42aaf8[_0x5a2fe4(0x31f)]({'cfg':_0x42618a[_0x5a2fe4(0x31f)](),'createEncryptor':function(_0xa5a1,_0x48df8b){var _0x1b3cf7=_0x5a2fe4;return this[_0x1b3cf7(0x2bc)](this['_ENC_XFORM_MODE'],_0xa5a1,_0x48df8b);},'createDecryptor':function(_0x54aba2,_0x42704f){var _0x530051=_0x5a2fe4;return this[_0x530051(0x2bc)](this[_0x530051(0x235)],_0x54aba2,_0x42704f);},'init':function(_0x41cab9,_0x43ed48,_0x2dd2e8){var _0x292bb3=_0x5a2fe4;this['cfg']=this['cfg'][_0x292bb3(0x31f)](_0x2dd2e8),this[_0x292bb3(0x2fc)]=_0x41cab9,this[_0x292bb3(0x2d5)]=_0x43ed48,this[_0x292bb3(0x201)]();},'reset':function(){var _0x20815d=_0x5a2fe4;_0x42aaf8[_0x20815d(0x201)][_0x20815d(0x30d)](this),this[_0x20815d(0x27c)]();},'process':function(_0xa805ce){var _0x7d9bb0=_0x5a2fe4;return this[_0x7d9bb0(0x358)](_0xa805ce),this[_0x7d9bb0(0x240)]();},'finalize':function(_0xae50a1){var _0x2bdafa=_0x5a2fe4;_0xae50a1&&this[_0x2bdafa(0x358)](_0xae50a1);var _0x51634c=this[_0x2bdafa(0x1a0)]();return _0x51634c;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x1b862b(_0xc18b8f){var _0x282292=_0x1002;return typeof _0xc18b8f==_0x282292(0x2d8)?_0x5bc834:_0xb127d3;}return function(_0x3c7025){return{'encrypt':function(_0x1d3451,_0x447231,_0x45a48b){var _0x594ff9=_0x1002;return _0x1b862b(_0x447231)[_0x594ff9(0x460)](_0x3c7025,_0x1d3451,_0x447231,_0x45a48b);},'decrypt':function(_0x5be414,_0x14cc16,_0x42f6d0){var _0x28f6dd=_0x1002;return _0x1b862b(_0x14cc16)[_0x28f6dd(0x265)](_0x3c7025,_0x5be414,_0x14cc16,_0x42f6d0);}};};}())});_0x4e2b1f[_0x5a2fe4(0x1c7)]=_0x30636c['extend']({'_doFinalize':function(){var _0x12d915=_0x5a2fe4,_0x56168a=this[_0x12d915(0x240)](!0x0);return _0x56168a;},'blockSize':0x1});var _0x26e53e=_0x4ac3d5[_0x5a2fe4(0x204)]={},_0x39b7dd=_0x4e2b1f[_0x5a2fe4(0x2be)]=_0x42618a[_0x5a2fe4(0x31f)]({'createEncryptor':function(_0x1e1094,_0x31dab0){var _0x1ab850=_0x5a2fe4;return this[_0x1ab850(0x322)]['create'](_0x1e1094,_0x31dab0);},'createDecryptor':function(_0x5dd6b6,_0x394119){var _0x5032eb=_0x5a2fe4;return this[_0x5032eb(0x434)][_0x5032eb(0x2bc)](_0x5dd6b6,_0x394119);},'init':function(_0x45fa13,_0x3e3ce4){var _0x4ff261=_0x5a2fe4;this['_cipher']=_0x45fa13,this[_0x4ff261(0x37d)]=_0x3e3ce4;}}),_0x48eb9e=_0x26e53e['CBC']=(function(){var _0x4ca198=_0x5a2fe4,_0x28046c=_0x39b7dd[_0x4ca198(0x31f)]();_0x28046c[_0x4ca198(0x322)]=_0x28046c[_0x4ca198(0x31f)]({'processBlock':function(_0xf35b08,_0x3bb001){var _0x289d2b=_0x4ca198,_0x205fef=this[_0x289d2b(0x274)],_0x124b2a=_0x205fef[_0x289d2b(0x3bb)];_0x120d70['call'](this,_0xf35b08,_0x3bb001,_0x124b2a),_0x205fef[_0x289d2b(0x1af)](_0xf35b08,_0x3bb001),this[_0x289d2b(0x476)]=_0xf35b08[_0x289d2b(0x444)](_0x3bb001,_0x3bb001+_0x124b2a);}}),_0x28046c[_0x4ca198(0x434)]=_0x28046c[_0x4ca198(0x31f)]({'processBlock':function(_0x2f71f1,_0x5de1fd){var _0xa0971e=_0x4ca198,_0x241e42=this[_0xa0971e(0x274)],_0xb08f0a=_0x241e42[_0xa0971e(0x3bb)],_0x1b6a8a=_0x2f71f1[_0xa0971e(0x444)](_0x5de1fd,_0x5de1fd+_0xb08f0a);_0x241e42['decryptBlock'](_0x2f71f1,_0x5de1fd),_0x120d70['call'](this,_0x2f71f1,_0x5de1fd,_0xb08f0a),this['_prevBlock']=_0x1b6a8a;}});function _0x120d70(_0x18c108,_0x5d8427,_0x311d62){var _0x3b852b=_0x4ca198,_0x2d3fad,_0x1c75fc=this[_0x3b852b(0x37d)];_0x1c75fc?(_0x2d3fad=_0x1c75fc,this[_0x3b852b(0x37d)]=_0x482c8c):_0x2d3fad=this['_prevBlock'];for(var _0x311ff3=0x0;_0x311ff3<_0x311d62;_0x311ff3++)_0x18c108[_0x5d8427+_0x311ff3]^=_0x2d3fad[_0x311ff3];}return _0x28046c;}()),_0x3bb6ff=_0x4ac3d5['pad']={},_0x2a55d8=_0x3bb6ff[_0x5a2fe4(0x1bf)]={'pad':function(_0x67a83e,_0x5396a3){var _0x1bb8e8=_0x5a2fe4;for(var _0x5efa1e=_0x5396a3*0x4,_0x28d9e3=_0x5efa1e-_0x67a83e['sigBytes']%_0x5efa1e,_0x1534fd=_0x28d9e3<<0x18|_0x28d9e3<<0x10|_0x28d9e3<<0x8|_0x28d9e3,_0xc94eed=[],_0x1e3eab=0x0;_0x1e3eab<_0x28d9e3;_0x1e3eab+=0x4)_0xc94eed[_0x1bb8e8(0x2a7)](_0x1534fd);var _0x294caa=_0x59926d[_0x1bb8e8(0x2bc)](_0xc94eed,_0x28d9e3);_0x67a83e[_0x1bb8e8(0x47b)](_0x294caa);},'unpad':function(_0xa5743a){var _0x2a884b=_0x5a2fe4,_0x45c64c=_0xa5743a[_0x2a884b(0x2e8)][_0xa5743a[_0x2a884b(0x336)]-0x1>>>0x2]&0xff;_0xa5743a[_0x2a884b(0x336)]-=_0x45c64c;}};_0x4e2b1f[_0x5a2fe4(0x2e5)]=_0x30636c[_0x5a2fe4(0x31f)]({'cfg':_0x30636c[_0x5a2fe4(0x313)][_0x5a2fe4(0x31f)]({'mode':_0x48eb9e,'padding':_0x2a55d8}),'reset':function(){var _0x58415d=_0x5a2fe4,_0x42cf0b;_0x30636c[_0x58415d(0x201)]['call'](this);var _0x1220ac=this['cfg'],_0x5a4a08=_0x1220ac['iv'],_0x59bc55=_0x1220ac['mode'];this['_xformMode']==this['_ENC_XFORM_MODE']?_0x42cf0b=_0x59bc55[_0x58415d(0x3d8)]:(_0x42cf0b=_0x59bc55[_0x58415d(0x2af)],this[_0x58415d(0x24b)]=0x1),this[_0x58415d(0x34c)]&&this[_0x58415d(0x34c)][_0x58415d(0x2ba)]==_0x42cf0b?this['_mode'][_0x58415d(0x2ce)](this,_0x5a4a08&&_0x5a4a08[_0x58415d(0x2e8)]):(this['_mode']=_0x42cf0b['call'](_0x59bc55,this,_0x5a4a08&&_0x5a4a08[_0x58415d(0x2e8)]),this[_0x58415d(0x34c)][_0x58415d(0x2ba)]=_0x42cf0b);},'_doProcessBlock':function(_0x141188,_0x5a45d0){var _0x2c5a9f=_0x5a2fe4;this[_0x2c5a9f(0x34c)][_0x2c5a9f(0x2da)](_0x141188,_0x5a45d0);},'_doFinalize':function(){var _0x359b6b=_0x5a2fe4,_0x23ecf9,_0xdbbaaf=this[_0x359b6b(0x313)]['padding'];return this['_xformMode']==this['_ENC_XFORM_MODE']?(_0xdbbaaf[_0x359b6b(0x187)](this[_0x359b6b(0x448)],this[_0x359b6b(0x3bb)]),_0x23ecf9=this[_0x359b6b(0x240)](!0x0)):(_0x23ecf9=this[_0x359b6b(0x240)](!0x0),_0xdbbaaf[_0x359b6b(0x213)](_0x23ecf9)),_0x23ecf9;},'blockSize':0x80/0x20});var _0xbf08d1=_0x4e2b1f[_0x5a2fe4(0x2c3)]=_0x42618a[_0x5a2fe4(0x31f)]({'init':function(_0xe48b80){var _0x5c1cac=_0x5a2fe4;this[_0x5c1cac(0x1be)](_0xe48b80);},'toString':function(_0x5453c5){var _0x229b59=_0x5a2fe4;return(_0x5453c5||this[_0x229b59(0x477)])[_0x229b59(0x3a5)](this);}}),_0x85ca56=_0x4ac3d5[_0x5a2fe4(0x3dd)]={},_0xaab452=_0x85ca56[_0x5a2fe4(0x367)]={'stringify':function(_0x30c665){var _0x4ea2bf=_0x5a2fe4,_0x40d03e,_0x302b08=_0x30c665['ciphertext'],_0x1d2cd2=_0x30c665[_0x4ea2bf(0x1ad)];return _0x1d2cd2?_0x40d03e=_0x59926d[_0x4ea2bf(0x2bc)]([0x53616c74,0x65645f5f])[_0x4ea2bf(0x47b)](_0x1d2cd2)[_0x4ea2bf(0x47b)](_0x302b08):_0x40d03e=_0x302b08,_0x40d03e[_0x4ea2bf(0x1c2)](_0x564c89);},'parse':function(_0x508981){var _0x5b4eb2=_0x5a2fe4,_0x4e9e9b,_0x9eb29e=_0x564c89[_0x5b4eb2(0x3c0)](_0x508981),_0x1e1274=_0x9eb29e[_0x5b4eb2(0x2e8)];return _0x1e1274[0x0]==0x53616c74&&_0x1e1274[0x1]==0x65645f5f&&(_0x4e9e9b=_0x59926d[_0x5b4eb2(0x2bc)](_0x1e1274[_0x5b4eb2(0x444)](0x2,0x4)),_0x1e1274['splice'](0x0,0x4),_0x9eb29e['sigBytes']-=0x10),_0xbf08d1['create']({'ciphertext':_0x9eb29e,'salt':_0x4e9e9b});}},_0xb127d3=_0x4e2b1f[_0x5a2fe4(0x36e)]=_0x42618a[_0x5a2fe4(0x31f)]({'cfg':_0x42618a[_0x5a2fe4(0x31f)]({'format':_0xaab452}),'encrypt':function(_0x23b9f5,_0x12201e,_0x2c33a9,_0x4da488){var _0x24c0ac=_0x5a2fe4;_0x4da488=this['cfg'][_0x24c0ac(0x31f)](_0x4da488);var _0x55a3fe=_0x23b9f5[_0x24c0ac(0x3d8)](_0x2c33a9,_0x4da488),_0x4b4694=_0x55a3fe[_0x24c0ac(0x21e)](_0x12201e),_0x1deecb=_0x55a3fe[_0x24c0ac(0x313)];return _0xbf08d1[_0x24c0ac(0x2bc)]({'ciphertext':_0x4b4694,'key':_0x2c33a9,'iv':_0x1deecb['iv'],'algorithm':_0x23b9f5,'mode':_0x1deecb[_0x24c0ac(0x204)],'padding':_0x1deecb[_0x24c0ac(0x2e7)],'blockSize':_0x23b9f5[_0x24c0ac(0x3bb)],'formatter':_0x4da488[_0x24c0ac(0x3dd)]});},'decrypt':function(_0x5e03ae,_0x1c3838,_0x44f6f2,_0x41b71a){var _0x2543f0=_0x5a2fe4;_0x41b71a=this[_0x2543f0(0x313)][_0x2543f0(0x31f)](_0x41b71a),_0x1c3838=this[_0x2543f0(0x360)](_0x1c3838,_0x41b71a[_0x2543f0(0x3dd)]);var _0x344ad9=_0x5e03ae[_0x2543f0(0x2af)](_0x44f6f2,_0x41b71a)[_0x2543f0(0x21e)](_0x1c3838['ciphertext']);return _0x344ad9;},'_parse':function(_0x2474b1,_0x4c3a68){var _0x28ef69=_0x5a2fe4;return typeof _0x2474b1==_0x28ef69(0x2d8)?_0x4c3a68[_0x28ef69(0x3c0)](_0x2474b1,this):_0x2474b1;}}),_0x166eef=_0x4ac3d5['kdf']={},_0xc3f94c=_0x166eef[_0x5a2fe4(0x367)]={'execute':function(_0x400878,_0x537ea4,_0x32bad3,_0x4f92be,_0x1468b7){var _0x3d47d1=_0x5a2fe4;if(_0x4f92be||(_0x4f92be=_0x59926d[_0x3d47d1(0x3e6)](0x40/0x8)),_0x1468b7)var _0x54e837=_0x13de5e[_0x3d47d1(0x2bc)]({'keySize':_0x537ea4+_0x32bad3,'hasher':_0x1468b7})['compute'](_0x400878,_0x4f92be);else var _0x54e837=_0x13de5e[_0x3d47d1(0x2bc)]({'keySize':_0x537ea4+_0x32bad3})[_0x3d47d1(0x25d)](_0x400878,_0x4f92be);var _0x51c6be=_0x59926d[_0x3d47d1(0x2bc)](_0x54e837[_0x3d47d1(0x2e8)][_0x3d47d1(0x444)](_0x537ea4),_0x32bad3*0x4);return _0x54e837['sigBytes']=_0x537ea4*0x4,_0xbf08d1['create']({'key':_0x54e837,'iv':_0x51c6be,'salt':_0x4f92be});}},_0x5bc834=_0x4e2b1f['PasswordBasedCipher']=_0xb127d3[_0x5a2fe4(0x31f)]({'cfg':_0xb127d3[_0x5a2fe4(0x313)]['extend']({'kdf':_0xc3f94c}),'encrypt':function(_0x332ff9,_0x3a10b0,_0x239aec,_0x51f307){var _0x400280=_0x5a2fe4;_0x51f307=this[_0x400280(0x313)][_0x400280(0x31f)](_0x51f307);var _0x17d427=_0x51f307[_0x400280(0x35a)][_0x400280(0x1b5)](_0x239aec,_0x332ff9[_0x400280(0x386)],_0x332ff9[_0x400280(0x23b)],_0x51f307['salt'],_0x51f307['hasher']);_0x51f307['iv']=_0x17d427['iv'];var _0x155bd6=_0xb127d3[_0x400280(0x460)][_0x400280(0x30d)](this,_0x332ff9,_0x3a10b0,_0x17d427[_0x400280(0x431)],_0x51f307);return _0x155bd6['mixIn'](_0x17d427),_0x155bd6;},'decrypt':function(_0x210193,_0x68fd5d,_0x489f52,_0x20a2a0){var _0x4407e8=_0x5a2fe4;_0x20a2a0=this[_0x4407e8(0x313)][_0x4407e8(0x31f)](_0x20a2a0),_0x68fd5d=this[_0x4407e8(0x360)](_0x68fd5d,_0x20a2a0[_0x4407e8(0x3dd)]);var _0x6f1dea=_0x20a2a0[_0x4407e8(0x35a)][_0x4407e8(0x1b5)](_0x489f52,_0x210193[_0x4407e8(0x386)],_0x210193[_0x4407e8(0x23b)],_0x68fd5d[_0x4407e8(0x1ad)],_0x20a2a0['hasher']);_0x20a2a0['iv']=_0x6f1dea['iv'];var _0x2b55e9=_0xb127d3[_0x4407e8(0x265)][_0x4407e8(0x30d)](this,_0x210193,_0x68fd5d,_0x6f1dea[_0x4407e8(0x431)],_0x20a2a0);return _0x2b55e9;}});}();}));}(Je)),Je[_0x207e17(0x3b2)];}var Ds=Ve[_0x122a43(0x3b2)],si;function Us(){var _0x597d12=_0x122a43;return si||(si=0x1,function(_0x5740ff,_0x3a6be7){(function(_0x329325,_0x497b4f,_0x942995){_0x5740ff['exports']=_0x497b4f(ie(),Di(),Ts(),Ui(),Ai());}(Ds,function(_0x448a0d){return(function(){var _0x390165=_0x1002,_0x2f912f=_0x448a0d,_0x402702=_0x2f912f[_0x390165(0x41e)],_0x2e03eb=_0x402702[_0x390165(0x2e5)],_0x45cc1b=_0x2f912f[_0x390165(0x321)],_0x5384a5=[],_0x39ad64=[],_0x213984=[],_0x571b8f=[],_0x315182=[],_0x388a10=[],_0x1fed85=[],_0x5bfadf=[],_0x1d88cb=[],_0x3c3164=[];(function(){for(var _0xf0fe89=[],_0x5d0111=0x0;_0x5d0111<0x100;_0x5d0111++)_0x5d0111<0x80?_0xf0fe89[_0x5d0111]=_0x5d0111<<0x1:_0xf0fe89[_0x5d0111]=_0x5d0111<<0x1^0x11b;for(var _0x40d3fe=0x0,_0x32ad8b=0x0,_0x5d0111=0x0;_0x5d0111<0x100;_0x5d0111++){var _0x3c5281=_0x32ad8b^_0x32ad8b<<0x1^_0x32ad8b<<0x2^_0x32ad8b<<0x3^_0x32ad8b<<0x4;_0x3c5281=_0x3c5281>>>0x8^_0x3c5281&0xff^0x63,_0x5384a5[_0x40d3fe]=_0x3c5281,_0x39ad64[_0x3c5281]=_0x40d3fe;var _0x8eff2d=_0xf0fe89[_0x40d3fe],_0x2b43de=_0xf0fe89[_0x8eff2d],_0x344d80=_0xf0fe89[_0x2b43de],_0x352b76=_0xf0fe89[_0x3c5281]*0x101^_0x3c5281*0x1010100;_0x213984[_0x40d3fe]=_0x352b76<<0x18|_0x352b76>>>0x8,_0x571b8f[_0x40d3fe]=_0x352b76<<0x10|_0x352b76>>>0x10,_0x315182[_0x40d3fe]=_0x352b76<<0x8|_0x352b76>>>0x18,_0x388a10[_0x40d3fe]=_0x352b76;var _0x352b76=_0x344d80*0x1010101^_0x2b43de*0x10001^_0x8eff2d*0x101^_0x40d3fe*0x1010100;_0x1fed85[_0x3c5281]=_0x352b76<<0x18|_0x352b76>>>0x8,_0x5bfadf[_0x3c5281]=_0x352b76<<0x10|_0x352b76>>>0x10,_0x1d88cb[_0x3c5281]=_0x352b76<<0x8|_0x352b76>>>0x18,_0x3c3164[_0x3c5281]=_0x352b76,_0x40d3fe?(_0x40d3fe=_0x8eff2d^_0xf0fe89[_0xf0fe89[_0xf0fe89[_0x344d80^_0x8eff2d]]],_0x32ad8b^=_0xf0fe89[_0xf0fe89[_0x32ad8b]]):_0x40d3fe=_0x32ad8b=0x1;}}());var _0x464fe7=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x4698d6=_0x45cc1b[_0x390165(0x21b)]=_0x2e03eb[_0x390165(0x31f)]({'_doReset':function(){var _0x3c4304=_0x390165,_0x1282f2;if(!(this[_0x3c4304(0x392)]&&this['_keyPriorReset']===this['_key'])){for(var _0x55f828=this[_0x3c4304(0x3e8)]=this[_0x3c4304(0x2d5)],_0x4c7fbc=_0x55f828[_0x3c4304(0x2e8)],_0x24bbfb=_0x55f828[_0x3c4304(0x336)]/0x4,_0x1a5661=this['_nRounds']=_0x24bbfb+0x6,_0x2db9d6=(_0x1a5661+0x1)*0x4,_0x2d0a89=this[_0x3c4304(0x284)]=[],_0x216381=0x0;_0x216381<_0x2db9d6;_0x216381++)_0x216381<_0x24bbfb?_0x2d0a89[_0x216381]=_0x4c7fbc[_0x216381]:(_0x1282f2=_0x2d0a89[_0x216381-0x1],_0x216381%_0x24bbfb?_0x24bbfb>0x6&&_0x216381%_0x24bbfb==0x4&&(_0x1282f2=_0x5384a5[_0x1282f2>>>0x18]<<0x18|_0x5384a5[_0x1282f2>>>0x10&0xff]<<0x10|_0x5384a5[_0x1282f2>>>0x8&0xff]<<0x8|_0x5384a5[_0x1282f2&0xff]):(_0x1282f2=_0x1282f2<<0x8|_0x1282f2>>>0x18,_0x1282f2=_0x5384a5[_0x1282f2>>>0x18]<<0x18|_0x5384a5[_0x1282f2>>>0x10&0xff]<<0x10|_0x5384a5[_0x1282f2>>>0x8&0xff]<<0x8|_0x5384a5[_0x1282f2&0xff],_0x1282f2^=_0x464fe7[_0x216381/_0x24bbfb|0x0]<<0x18),_0x2d0a89[_0x216381]=_0x2d0a89[_0x216381-_0x24bbfb]^_0x1282f2);for(var _0xf47289=this[_0x3c4304(0x361)]=[],_0x4d443b=0x0;_0x4d443b<_0x2db9d6;_0x4d443b++){var _0x216381=_0x2db9d6-_0x4d443b;if(_0x4d443b%0x4)var _0x1282f2=_0x2d0a89[_0x216381];else var _0x1282f2=_0x2d0a89[_0x216381-0x4];_0x4d443b<0x4||_0x216381<=0x4?_0xf47289[_0x4d443b]=_0x1282f2:_0xf47289[_0x4d443b]=_0x1fed85[_0x5384a5[_0x1282f2>>>0x18]]^_0x5bfadf[_0x5384a5[_0x1282f2>>>0x10&0xff]]^_0x1d88cb[_0x5384a5[_0x1282f2>>>0x8&0xff]]^_0x3c3164[_0x5384a5[_0x1282f2&0xff]];}}},'encryptBlock':function(_0x2930d4,_0x11225d){var _0x3520aa=_0x390165;this[_0x3520aa(0x3fd)](_0x2930d4,_0x11225d,this[_0x3520aa(0x284)],_0x213984,_0x571b8f,_0x315182,_0x388a10,_0x5384a5);},'decryptBlock':function(_0x39a773,_0x2dfc4b){var _0x33f4d0=_0x390165,_0x14c6b7=_0x39a773[_0x2dfc4b+0x1];_0x39a773[_0x2dfc4b+0x1]=_0x39a773[_0x2dfc4b+0x3],_0x39a773[_0x2dfc4b+0x3]=_0x14c6b7,this['_doCryptBlock'](_0x39a773,_0x2dfc4b,this[_0x33f4d0(0x361)],_0x1fed85,_0x5bfadf,_0x1d88cb,_0x3c3164,_0x39ad64);var _0x14c6b7=_0x39a773[_0x2dfc4b+0x1];_0x39a773[_0x2dfc4b+0x1]=_0x39a773[_0x2dfc4b+0x3],_0x39a773[_0x2dfc4b+0x3]=_0x14c6b7;},'_doCryptBlock':function(_0x28af75,_0x15bcaf,_0x5e9bdf,_0x8b318,_0x45333e,_0xb9ab38,_0x57096f,_0x445f80){var _0x2d1a34=_0x390165;for(var _0x47fc9c=this[_0x2d1a34(0x392)],_0x4b1f9c=_0x28af75[_0x15bcaf]^_0x5e9bdf[0x0],_0xb8807=_0x28af75[_0x15bcaf+0x1]^_0x5e9bdf[0x1],_0x11641b=_0x28af75[_0x15bcaf+0x2]^_0x5e9bdf[0x2],_0x405665=_0x28af75[_0x15bcaf+0x3]^_0x5e9bdf[0x3],_0x3f8be2=0x4,_0x4b8b0f=0x1;_0x4b8b0f<_0x47fc9c;_0x4b8b0f++){var _0x298c90=_0x8b318[_0x4b1f9c>>>0x18]^_0x45333e[_0xb8807>>>0x10&0xff]^_0xb9ab38[_0x11641b>>>0x8&0xff]^_0x57096f[_0x405665&0xff]^_0x5e9bdf[_0x3f8be2++],_0x33db8e=_0x8b318[_0xb8807>>>0x18]^_0x45333e[_0x11641b>>>0x10&0xff]^_0xb9ab38[_0x405665>>>0x8&0xff]^_0x57096f[_0x4b1f9c&0xff]^_0x5e9bdf[_0x3f8be2++],_0x139fab=_0x8b318[_0x11641b>>>0x18]^_0x45333e[_0x405665>>>0x10&0xff]^_0xb9ab38[_0x4b1f9c>>>0x8&0xff]^_0x57096f[_0xb8807&0xff]^_0x5e9bdf[_0x3f8be2++],_0x3cbe2b=_0x8b318[_0x405665>>>0x18]^_0x45333e[_0x4b1f9c>>>0x10&0xff]^_0xb9ab38[_0xb8807>>>0x8&0xff]^_0x57096f[_0x11641b&0xff]^_0x5e9bdf[_0x3f8be2++];_0x4b1f9c=_0x298c90,_0xb8807=_0x33db8e,_0x11641b=_0x139fab,_0x405665=_0x3cbe2b;}var _0x298c90=(_0x445f80[_0x4b1f9c>>>0x18]<<0x18|_0x445f80[_0xb8807>>>0x10&0xff]<<0x10|_0x445f80[_0x11641b>>>0x8&0xff]<<0x8|_0x445f80[_0x405665&0xff])^_0x5e9bdf[_0x3f8be2++],_0x33db8e=(_0x445f80[_0xb8807>>>0x18]<<0x18|_0x445f80[_0x11641b>>>0x10&0xff]<<0x10|_0x445f80[_0x405665>>>0x8&0xff]<<0x8|_0x445f80[_0x4b1f9c&0xff])^_0x5e9bdf[_0x3f8be2++],_0x139fab=(_0x445f80[_0x11641b>>>0x18]<<0x18|_0x445f80[_0x405665>>>0x10&0xff]<<0x10|_0x445f80[_0x4b1f9c>>>0x8&0xff]<<0x8|_0x445f80[_0xb8807&0xff])^_0x5e9bdf[_0x3f8be2++],_0x3cbe2b=(_0x445f80[_0x405665>>>0x18]<<0x18|_0x445f80[_0x4b1f9c>>>0x10&0xff]<<0x10|_0x445f80[_0xb8807>>>0x8&0xff]<<0x8|_0x445f80[_0x11641b&0xff])^_0x5e9bdf[_0x3f8be2++];_0x28af75[_0x15bcaf]=_0x298c90,_0x28af75[_0x15bcaf+0x1]=_0x33db8e,_0x28af75[_0x15bcaf+0x2]=_0x139fab,_0x28af75[_0x15bcaf+0x3]=_0x3cbe2b;},'keySize':0x100/0x20});_0x2f912f['AES']=_0x2e03eb[_0x390165(0x37a)](_0x4698d6);}()),_0x448a0d['AES'];}));}(Ve)),Ve[_0x597d12(0x3b2)];}var As=Us();const ws=He(As);var Ps=Di();const ri=He(Ps);var Xe={'exports':{}},Ls=Xe[_0x122a43(0x3b2)],ai;function Ms(){return ai||(ai=0x1,function(_0x42d4b7,_0x4aea46){(function(_0xffa031,_0x516ef8){var _0x266e5a=_0x1002;_0x42d4b7[_0x266e5a(0x3b2)]=_0x516ef8(ie());}(Ls,function(_0x42be82){var _0x2e463e=_0x1002;return _0x42be82[_0x2e463e(0x316)][_0x2e463e(0x37f)];}));}(Xe)),Xe['exports'];}var xs=Ms();const ks=He(xs);var Ze={'exports':{}},$s=Ze[_0x122a43(0x3b2)],oi;function Hs(){var _0x2ef8f9=_0x122a43;return oi||(oi=0x1,function(_0x449a3a,_0x46ac0b){(function(_0x5dc924,_0x2b2370){_0x449a3a['exports']=_0x2b2370(ie());}($s,function(_0x32c603){var _0x2bc31d=_0x1002;return(function(){var _0x519890=_0x1002;if(typeof ArrayBuffer==_0x519890(0x334)){var _0x5cd20b=_0x32c603,_0x20e246=_0x5cd20b[_0x519890(0x41e)],_0x128aa9=_0x20e246[_0x519890(0x288)],_0x132e87=_0x128aa9[_0x519890(0x2ce)],_0x4549b9=_0x128aa9[_0x519890(0x2ce)]=function(_0x5390b4){var _0x42b4cd=_0x519890;if(_0x5390b4 instanceof ArrayBuffer&&(_0x5390b4=new Uint8Array(_0x5390b4)),(_0x5390b4 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x5390b4 instanceof Uint8ClampedArray||_0x5390b4 instanceof Int16Array||_0x5390b4 instanceof Uint16Array||_0x5390b4 instanceof Int32Array||_0x5390b4 instanceof Uint32Array||_0x5390b4 instanceof Float32Array||_0x5390b4 instanceof Float64Array)&&(_0x5390b4=new Uint8Array(_0x5390b4['buffer'],_0x5390b4['byteOffset'],_0x5390b4[_0x42b4cd(0x1ab)])),_0x5390b4 instanceof Uint8Array){for(var _0x22e564=_0x5390b4[_0x42b4cd(0x1ab)],_0x13eae7=[],_0x1bfdfa=0x0;_0x1bfdfa<_0x22e564;_0x1bfdfa++)_0x13eae7[_0x1bfdfa>>>0x2]|=_0x5390b4[_0x1bfdfa]<<0x18-_0x1bfdfa%0x4*0x8;_0x132e87[_0x42b4cd(0x30d)](this,_0x13eae7,_0x22e564);}else _0x132e87[_0x42b4cd(0x46c)](this,arguments);};_0x4549b9[_0x519890(0x402)]=_0x128aa9;}}()),_0x32c603[_0x2bc31d(0x41e)][_0x2bc31d(0x288)];}));}(Ze)),Ze[_0x2ef8f9(0x3b2)];}var Bs=Hs();const js=He(Bs);var Qe={'exports':{}},Fs=Qe[_0x122a43(0x3b2)],ci;function Vs(){var _0x3648f1=_0x122a43;return ci||(ci=0x1,function(_0xa4c7e5,_0x16bf41){(function(_0x5835c6,_0x2a0d4a,_0x313904){var _0x250784=_0x1002;_0xa4c7e5[_0x250784(0x3b2)]=_0x2a0d4a(ie(),Ai());}(Fs,function(_0x4260da){var _0x55ca92=_0x1002;return _0x4260da[_0x55ca92(0x187)]['NoPadding']={'pad':function(){},'unpad':function(){}},_0x4260da[_0x55ca92(0x187)][_0x55ca92(0x465)];}));}(Qe)),Qe[_0x3648f1(0x3b2)];}var Gs=Vs();const Ws=He(Gs);function Ys(_0x386c09,_0x282e40){var _0x4218a2=_0x122a43;const _0x5db6f0=_0x282e40-_0x386c09[_0x4218a2(0x32b)]%_0x282e40,_0x43103a=String[_0x4218a2(0x1f9)](_0x5db6f0)[_0x4218a2(0x1de)](_0x5db6f0);return _0x386c09+_0x43103a;}function Ks(_0x52504b,_0x25ebd6){var _0x4eb610=_0x122a43;const _0x121ad8=js[_0x4eb610(0x3e6)](0x10),_0x39e24f=Ys(_0x52504b,0x10),_0x4f856d=ws[_0x4eb610(0x460)](ks['parse'](_0x39e24f),ri['parse'](_0x25ebd6),{'iv':_0x121ad8,'padding':Ws});return _0x121ad8[_0x4eb610(0x47b)](_0x4f856d[_0x4eb610(0x3f9)])['toString'](ri);}function qs(){var _0x4917c9=_0x122a43;const _0x12fa88=_0x561159()[_0x4917c9(0x22f)];if(_0x12fa88){const _0x2bfe10={'time':Math['floor'](Date['now']()/0x3e8),'domain':location[_0x4917c9(0x33d)]};return Ks(JSON['stringify'](_0x2bfe10),_0x12fa88);}}var zs=Object['getOwnPropertyDescriptor'],Js=(_0x50875f,_0x14be04,_0x4973b7,_0x1a44b6)=>{var _0x4f6010=_0x122a43;for(var _0x4eb8ba=_0x1a44b6>0x1?void 0x0:_0x1a44b6?zs(_0x14be04,_0x4973b7):_0x14be04,_0x184d60=_0x50875f[_0x4f6010(0x32b)]-0x1,_0x1242f1;_0x184d60>=0x0;_0x184d60--)(_0x1242f1=_0x50875f[_0x184d60])&&(_0x4eb8ba=_0x1242f1(_0x4eb8ba)||_0x4eb8ba);return _0x4eb8ba;},Xs=(_0x37c728,_0x7d32a0)=>(_0x3eca01,_0xc9df19)=>_0x7d32a0(_0x3eca01,_0xc9df19,_0x37c728);let at=class{constructor(_0x4071c9){var _0x26d254=_0x122a43;this[_0x26d254(0x18d)]=_0x4071c9,this[_0x26d254(0x43c)]();}[_0x122a43(0x43c)](){var _0x4e01e4=_0x122a43;this[_0x4e01e4(0x18d)][_0x4e01e4(0x372)]({'interceptor':(_0x4cbf03,_0x4a39d6)=>{var _0xb817b4=_0x4e01e4;const _0x36d25d=_0x4cbf03[_0xb817b4(0x478)],_0x43ca71=qs();return _0x43ca71&&_0x36d25d[_0xb817b4(0x1d8)]('x-univer-host',_0x43ca71),_0x4a39d6(_0x4cbf03);}});}};at=Js([Xs(0x0,_0xed7601(_0x5dce4f))],at);var Zs=Object[_0x122a43(0x3bd)],Qs=(_0x1c4cbc,_0x3a6274,_0x20209c,_0x1d2d03)=>{for(var _0xf91459=_0x1d2d03>0x1?void 0x0:_0x1d2d03?Zs(_0x3a6274,_0x20209c):_0x3a6274,_0x482f33=_0x1c4cbc['length']-0x1,_0x11109f;_0x482f33>=0x0;_0x482f33--)(_0x11109f=_0x1c4cbc[_0x482f33])&&(_0xf91459=_0x11109f(_0xf91459)||_0xf91459);return _0xf91459;},mt=(_0x502aa0,_0x9a4c8b)=>(_0x114ccd,_0x43093e)=>_0x9a4c8b(_0x114ccd,_0x43093e,_0x502aa0);let bt=class extends _0x4237d9{constructor(_0x3c7793,_0x41d0b3,_0x17bf68){var _0xfc5b6a=_0x122a43;super(),N(this,_0xfc5b6a(0x42c),new _0x5d5193(null)),N(this,_0xfc5b6a(0x1e8),this[_0xfc5b6a(0x42c)][_0xfc5b6a(0x2dd)]()),(this[_0xfc5b6a(0x30b)]=_0x3c7793,this[_0xfc5b6a(0x32e)]=_0x41d0b3,this[_0xfc5b6a(0x440)]=_0x17bf68);}async[_0x122a43(0x27b)](_0x4aa7b3,_0x4b5055,_0xda78d8){var _0x50230a=_0x122a43;this[_0x50230a(0x42c)]['next']({'unitId':_0x4aa7b3,'type':_0x4b5055,'subUnitId':_0xda78d8});let _0x247602=null;switch(_0x4b5055){case Q['UNIVER_SHEET']:{_0x247602=await this[_0x50230a(0x271)](_0x4aa7b3);break;}case Q['UNIVER_DOC']:{_0x247602=await this[_0x50230a(0x2ec)](_0x4aa7b3);break;}default:{this['_logService'][_0x50230a(0x2c6)]('[DataLoaderService]',_0x50230a(0x205));break;}}return _0x247602;}async['_loadSheet'](_0x620bf1){var _0x2820c6=_0x122a43,_0x8910c6;let _0x4b0da4=0x0;const _0x1ca1ad=await((_0x8910c6=this[_0x2820c6(0x440)])==null?void 0x0:_0x8910c6['loadOfflineData'](_0x620bf1));return _0x1ca1ad&&(_0x1ca1ad['awaitingChangeset']||_0x1ca1ad[_0x2820c6(0x195)][_0x2820c6(0x32b)]!==0x0)&&(_0x4b0da4=_0x1ca1ad[_0x2820c6(0x1e4)]),_0x4b0da4===0x0&&this[_0x2820c6(0x30b)][_0x2820c6(0x368)](_0x2820c6(0x31d),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this['_snapshotService'][_0x2820c6(0x197)](_0x620bf1,_0x4b0da4);}async[_0x122a43(0x2ec)](_0x56864c){var _0x5e46e9=_0x122a43,_0xa3ef36;let _0x1576d7=0x0;const _0x1a7601=await((_0xa3ef36=this[_0x5e46e9(0x440)])==null?void 0x0:_0xa3ef36[_0x5e46e9(0x34d)](_0x56864c));return _0x1a7601&&(_0x1a7601[_0x5e46e9(0x1ef)]||_0x1a7601[_0x5e46e9(0x195)][_0x5e46e9(0x32b)]!==0x0)&&(_0x1576d7=_0x1a7601[_0x5e46e9(0x1e4)]),_0x1576d7===0x0&&this[_0x5e46e9(0x30b)]['debug'](_0x5e46e9(0x31d),_0x5e46e9(0x335)),this[_0x5e46e9(0x32e)][_0x5e46e9(0x2f7)](_0x56864c,_0x1576d7);}};bt=Qs([mt(0x0,_0x10a457),mt(0x1,_0xed7601(_0x5378e5)),mt(0x2,_0x5c24ee(J))],bt);var er=Object[_0x122a43(0x3bd)],tr=(_0x16ac4e,_0x3a4526,_0x191199,_0x41e751)=>{for(var _0x46069b=_0x41e751>0x1?void 0x0:_0x41e751?er(_0x3a4526,_0x191199):_0x3a4526,_0x12ad49=_0x16ac4e['length']-0x1,_0x25330d;_0x12ad49>=0x0;_0x12ad49--)(_0x25330d=_0x16ac4e[_0x12ad49])&&(_0x46069b=_0x25330d(_0x46069b)||_0x46069b);return _0x46069b;},gt=(_0x19b848,_0x76372e)=>(_0x558beb,_0x1f8a94)=>_0x76372e(_0x558beb,_0x1f8a94,_0x19b848);const ir=[_0x122a43(0x2d2),_0x122a43(0x25a),'image/jpg','image/gif',_0x122a43(0x32f)],nr=0x5*0x400*0x400,sr='EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY',rr='/universer-api/stream/file/upload',ar='EXCHANGE_SIGN_URL_SERVER_URL_KEY',or=_0x122a43(0x3aa);function _0x1002(_0x1839c9,_0x37fe50){var _0x2d3c4e=_0x2d3c();return _0x1002=function(_0x100271,_0x34e820){_0x100271=_0x100271-0x17f;var _0x319820=_0x2d3c4e[_0x100271];return _0x319820;},_0x1002(_0x1839c9,_0x37fe50);}let Ot=class{constructor(_0x3b6caf,_0x20b519,_0xd11f98){var _0x2e8f8a=_0x122a43;N(this,_0x2e8f8a(0x1a7),0x0),N(this,'_change$',new _0x49ffbf()),N(this,'change$',this[_0x2e8f8a(0x17f)]),N(this,'_imageSourceCache',new Map()),(this['_httpService']=_0x3b6caf,this[_0x2e8f8a(0x1cb)]=_0x20b519,this[_0x2e8f8a(0x269)]=_0xd11f98);}['setWaitCount'](_0x164b9f){var _0x44800e=_0x122a43;this[_0x44800e(0x1a7)]=_0x164b9f,this[_0x44800e(0x17f)][_0x44800e(0x480)](_0x164b9f);}['getImageSourceCache'](_0x186155,_0x5a0452){var _0x24eaf7=_0x122a43;if(_0x5a0452===_0x31ccf6[_0x24eaf7(0x297)]){const _0x47af01=new Image();return _0x47af01[_0x24eaf7(0x2ac)]=_0x186155,_0x47af01;}return this[_0x24eaf7(0x446)][_0x24eaf7(0x46b)](_0x186155);}['addImageSourceCache'](_0x3e4229,_0x592b4a,_0x24f4c7){var _0x1cc812=_0x122a43;_0x592b4a===_0x31ccf6['BASE64']||_0x24f4c7==null||this[_0x1cc812(0x446)]['set'](_0x3e4229,_0x24f4c7);}async['getImage'](_0x33f86f){var _0x4f163d=_0x122a43;try{const _0x23add9=this['_replaceFileID'](this[_0x4f163d(0x194)](),''+_0x33f86f),_0x3ce1e3=(await this[_0x4f163d(0x18d)][_0x4f163d(0x46b)](_0x23add9))[_0x4f163d(0x242)];if(_0x3ce1e3[_0x4f163d(0x2c6)]&&_0x3ce1e3[_0x4f163d(0x2c6)][_0x4f163d(0x454)]===Si['OK']){const _0x4320c7=new URL(_0x3ce1e3[_0x4f163d(0x3a4)],this[_0x4f163d(0x3ec)]())[_0x4f163d(0x1c2)]();return Promise[_0x4f163d(0x42a)](_0x4320c7);}return Promise[_0x4f163d(0x376)](_0x3ce1e3[_0x4f163d(0x2c6)]);}catch(_0x1bc8aa){return Promise[_0x4f163d(0x376)](_0x1bc8aa);}}async[_0x122a43(0x3ad)](_0x58e5f1){var _0x31b5ff=_0x122a43;let _0x4534a0='';if(!ir['includes'](_0x58e5f1[_0x31b5ff(0x2f5)]))return this['_decreaseWaiting'](),Promise['reject'](new Error(_0x29bf79[_0x31b5ff(0x18f)]));if(_0x58e5f1['size']>nr)return this['_decreaseWaiting'](),Promise[_0x31b5ff(0x376)](new Error(_0x29bf79[_0x31b5ff(0x3ae)]));try{const _0x22757e=new FormData();_0x22757e[_0x31b5ff(0x251)](_0x31b5ff(0x2b9),_0x58e5f1);const _0x577e3f=this[_0x31b5ff(0x269)][_0x31b5ff(0x24c)](),_0x415060=_0x577e3f==null?void 0x0:_0x577e3f['getUnitId']();if(!_0x415060)throw new Error(_0x31b5ff(0x302));const _0x40a237=this[_0x31b5ff(0x3f3)]()+_0x31b5ff(0x35f)+_0x58e5f1[_0x31b5ff(0x377)]['toString']()+_0x31b5ff(0x3ba)+Ei[_0x31b5ff(0x383)]+'&assign='+encodeURIComponent(_0x415060),_0x27deed={'body':_0x22757e},_0x1b782d=(await this['_httpService'][_0x31b5ff(0x41b)](_0x40a237,_0x27deed))[_0x31b5ff(0x242)];if(typeof _0x1b782d[_0x31b5ff(0x354)]!=_0x31b5ff(0x2d8))return this[_0x31b5ff(0x248)](),Promise[_0x31b5ff(0x376)](new Error(_0x29bf79['ERROR_IMAGE']));_0x4534a0=_0x1b782d[_0x31b5ff(0x354)];}catch{return this[_0x31b5ff(0x248)](),Promise[_0x31b5ff(0x376)](new Error(_0x29bf79[_0x31b5ff(0x1e9)]));}return new Promise((_0x2fa350,_0x2f9fb7)=>{var _0x453286=_0x31b5ff;const _0x2bef77=new FileReader();_0x2bef77[_0x453286(0x292)](_0x58e5f1),_0x2bef77['onload']=_0x33fd95=>{var _0x29c91f=_0x453286,_0x434efe;const _0x51183a=(_0x434efe=_0x33fd95[_0x29c91f(0x2b4)])==null?void 0x0:_0x434efe[_0x29c91f(0x1f5)];if(_0x51183a==null){this['_decreaseWaiting'](),_0x2f9fb7(new Error(_0x29bf79[_0x29c91f(0x1e9)]));return;}const _0xf1797c=_0x23c90b[_0x29c91f(0x1da)](0x6);_0x2fa350({'imageId':_0xf1797c,'imageSourceType':_0x31ccf6['UUID'],'source':_0x4534a0,'base64Cache':_0x51183a,'status':_0x29bf79['SUCCUSS']}),this[_0x29c91f(0x248)]();};});}[_0x122a43(0x3f3)](){var _0x5cf106=_0x122a43,_0x55f44d,_0x20540b;const _0x11baf5=this[_0x5cf106(0x1cb)][_0x5cf106(0x2ed)](sr),_0xd4385c=this[_0x5cf106(0x1cb)][_0x5cf106(0x2ed)](q);return(_0x20540b=(_0x55f44d=_0xd4385c==null?void 0x0:_0xd4385c[_0x5cf106(0x41f)])!=null?_0x55f44d:_0x11baf5)!=null?_0x20540b:rr;}[_0x122a43(0x194)](){var _0x398cfd=_0x122a43,_0x41d951,_0x311ec8;const _0x1de980=this[_0x398cfd(0x1cb)][_0x398cfd(0x2ed)](ar),_0x414e56=this['_configService'][_0x398cfd(0x2ed)](q);return(_0x311ec8=(_0x41d951=_0x414e56==null?void 0x0:_0x414e56[_0x398cfd(0x46a)])!=null?_0x41d951:_0x1de980)!=null?_0x311ec8:or;}[_0x122a43(0x3ec)](){var _0x11ed8f=_0x122a43,_0x46cb61;const _0x278484=this[_0x11ed8f(0x1cb)][_0x11ed8f(0x2ed)](q);return(_0x46cb61=_0x278484==null?void 0x0:_0x278484[_0x11ed8f(0x456)])!=null?_0x46cb61:location[_0x11ed8f(0x3fa)];}['_replaceFileID'](_0x45b941,_0x2bf944){var _0x182ba1=_0x122a43;return _0x45b941[_0x182ba1(0x218)](_0x182ba1(0x262),_0x2bf944);}['_decreaseWaiting'](){var _0x13da6e=_0x122a43;this[_0x13da6e(0x1a7)]-=0x1,this[_0x13da6e(0x17f)][_0x13da6e(0x480)](this[_0x13da6e(0x1a7)]);}};Ot=tr([gt(0x0,_0xed7601(_0x5dce4f)),gt(0x1,_0x47e68f),gt(0x2,_0xed7601(_0x286933))],Ot);var cr=Object[_0x122a43(0x3bd)],hr=(_0x4e9401,_0x133d3f,_0x42ab32,_0x38c03c)=>{var _0x9405be=_0x122a43;for(var _0x48d74e=_0x38c03c>0x1?void 0x0:_0x38c03c?cr(_0x133d3f,_0x42ab32):_0x133d3f,_0x2c4514=_0x4e9401[_0x9405be(0x32b)]-0x1,_0x562cda;_0x2c4514>=0x0;_0x2c4514--)(_0x562cda=_0x4e9401[_0x2c4514])&&(_0x48d74e=_0x562cda(_0x48d74e)||_0x48d74e);return _0x48d74e;},hi=(_0x314515,_0x4a3ea7)=>(_0x4b9ab0,_0x1a6955)=>_0x4a3ea7(_0x4b9ab0,_0x1a6955,_0x314515);const _r=_0x122a43(0x39c);let yt=class{constructor(_0x249649,_0x43f14b){var _0x269de7=_0x122a43;this[_0x269de7(0x1cb)]=_0x249649,this[_0x269de7(0x1bc)]=_0x43f14b;}[_0x122a43(0x1a8)](){var _0x2ab849=_0x122a43,_0x2a6e50,_0x5a061f;const _0x13c826=this[_0x2ab849(0x1cb)][_0x2ab849(0x2ed)](Ni),_0x5cf342=this['_configService'][_0x2ab849(0x2ed)](q);return(_0x5a061f=(_0x2a6e50=_0x5cf342==null?void 0x0:_0x5cf342[_0x2ab849(0x315)])!=null?_0x2a6e50:_0x13c826)!=null?_0x5a061f:_r;}async[_0x122a43(0x252)](_0x4499ba){var _0x314c8a=_0x122a43;const _0xac5fff=this[_0x314c8a(0x1a8)]()+_0x314c8a(0x3ca);return{'list':[{'title':_0x314c8a(0x404),'mentions':(await this[_0x314c8a(0x1bc)][_0x314c8a(0x46b)](_0xac5fff,{'params':{'objectID':_0x4499ba[_0x314c8a(0x3ee)],'unitID':_0x4499ba[_0x314c8a(0x3ee)]}}))['body'][_0x314c8a(0x405)][_0x314c8a(0x390)](_0x2e54ae=>({'objectId':_0x2e54ae['id'],'name':_0x2e54ae[_0x314c8a(0x2c2)][_0x314c8a(0x2f2)],'metadata':{'icon':_0x2e54ae[_0x314c8a(0x2c2)]['avatar']},'label':_0x2e54ae['subject'][_0x314c8a(0x2f2)],'objectType':_0x162f71[_0x314c8a(0x453)]})),'metadata':{},'type':_0x162f71[_0x314c8a(0x453)]}]};}};yt=hr([hi(0x0,_0xed7601(_0x47e68f)),hi(0x1,_0xed7601(_0x5dce4f))],yt);var lr=Object['getOwnPropertyDescriptor'],ur=(_0x1d9fd3,_0x10f889,_0xf2b270,_0x5e8659)=>{var _0x1c592d=_0x122a43;for(var _0x3454aa=_0x5e8659>0x1?void 0x0:_0x5e8659?lr(_0x10f889,_0xf2b270):_0x10f889,_0x2cc3ad=_0x1d9fd3[_0x1c592d(0x32b)]-0x1,_0xd3c268;_0x2cc3ad>=0x0;_0x2cc3ad--)(_0xd3c268=_0x1d9fd3[_0x2cc3ad])&&(_0x3454aa=_0xd3c268(_0x3454aa)||_0x3454aa);return _0x3454aa;},we=(_0x13acab,_0x4c8ed4)=>(_0x219935,_0x5f4ad6)=>_0x4c8ed4(_0x219935,_0x5f4ad6,_0x13acab);let ot=class extends _0x4237d9{constructor(_0x11ff46,_0x5a518d,_0x2f9aef,_0x3bdd6c,_0x37344e){var _0x3db347=_0x122a43;super(),this['_injector']=_0x11ff46,this[_0x3db347(0x269)]=_0x5a518d,this[_0x3db347(0x2d4)]=_0x2f9aef,this['_collaborationSessionService']=_0x3bdd6c,this['_collaborationUIEventService']=_0x37344e,this[_0x3db347(0x1b6)](),this[_0x3db347(0x1df)]();}['_initCloseConn'](){var _0x2caa07=_0x122a43;const _0x4fd519=async _0x11b222=>{var _0x40ec2b=_0x1002;(await this[_0x40ec2b(0x1f1)][_0x40ec2b(0x30f)](_0x11b222))[_0x40ec2b(0x1fd)][_0x40ec2b(0x2d7)](_0x269564(_0x11aa8a=>_0x11aa8a[_0x40ec2b(0x345)]===_0x798757[_0x40ec2b(0x399)]),_0x2308ab(this[_0x40ec2b(0x1e2)]))[_0x40ec2b(0x294)](_0x4d4414=>{var _0x3c0ccd=_0x40ec2b;const _0x5b32d2=_0x4d4414,{reason:_0x43fb98}=_0x5b32d2['data'];this[_0x3c0ccd(0x44a)][_0x3c0ccd(0x1d4)]({'id':re[_0x3c0ccd(0x381)],'data':_0x43fb98}),this[_0x3c0ccd(0x2d4)][_0x3c0ccd(0x1eb)](new _0x440c0c(_0x11b222)['id'],!0x1),this[_0x3c0ccd(0x1f1)][_0x3c0ccd(0x42b)](_0x11b222);});};_0x3a1ff0(this[_0x2caa07(0x269)][_0x2caa07(0x1ee)](_0x56161c[_0x2caa07(0x36b)]),this['_univerInstanceService'][_0x2caa07(0x1ee)](_0x56161c['UNIVER_DOC']))['pipe'](_0x3dbda7(_0x2e8bbd=>_0x2e8bbd[_0x2caa07(0x2b1)]()),_0x269564(_0x5aa681=>!_0x139dcb(_0x5aa681)),_0x2308ab(this[_0x2caa07(0x1e2)]))[_0x2caa07(0x294)](_0x59e915=>{_0x4fd519(_0x59e915);});}[_0x122a43(0x1b6)](){var _0x5e311f=_0x122a43;const _0x5ae5e8=async _0x5bb728=>{var _0x44a1b4=_0x1002;const _0x24d081=await this[_0x44a1b4(0x1f1)]['requireSession'](_0x5bb728),_0x19005f=this[_0x44a1b4(0x181)]['get'](_0x40c45b);_0x24d081[_0x44a1b4(0x1fd)]['pipe'](_0x269564(_0x26d0d3=>_0x26d0d3[_0x44a1b4(0x345)]===_0x798757['UPDATE_PERMISSION_OBJ']),_0x2308ab(this[_0x44a1b4(0x1e2)]))[_0x44a1b4(0x294)](_0x292162=>{var _0x18ac2a=_0x44a1b4;const _0x3c77fe=_0x292162,{objectId:_0x177eba}=_0x3c77fe[_0x18ac2a(0x395)];_0x177eba===_0x5bb728?_0x19005f[_0x18ac2a(0x45b)](_0x5bb728):_0x19005f[_0x18ac2a(0x46f)](_0x5bb728,_0x177eba);});};_0x3a1ff0(this[_0x5e311f(0x269)][_0x5e311f(0x1ee)](_0x56161c['UNIVER_SHEET']))[_0x5e311f(0x2d7)](_0x3dbda7(_0x4abbd0=>_0x4abbd0[_0x5e311f(0x2b1)]()),_0x269564(_0x16ab75=>!_0x139dcb(_0x16ab75)),_0x2308ab(this[_0x5e311f(0x1e2)]))[_0x5e311f(0x294)](_0x3d28fe=>{_0x5ae5e8(_0x3d28fe);});}};ot=ur([we(0x0,_0xed7601(_0x4a4e75)),we(0x1,_0x286933),we(0x2,_0x4a395b),we(0x3,_0xed7601(Me)),we(0x4,_0xed7601(pe))],ot);var dr=Object['getOwnPropertyDescriptor'],fr=(_0x6ac425,_0x17edac,_0x568fb2,_0x2e6c2a)=>{for(var _0x54057c=_0x2e6c2a>0x1?void 0x0:_0x2e6c2a?dr(_0x17edac,_0x568fb2):_0x17edac,_0x11936c=_0x6ac425['length']-0x1,_0x683684;_0x11936c>=0x0;_0x11936c--)(_0x683684=_0x6ac425[_0x11936c])&&(_0x54057c=_0x683684(_0x54057c)||_0x54057c);return _0x54057c;},_i=(_0x14fa13,_0x33d43)=>(_0x56e95e,_0x1fb65b)=>_0x33d43(_0x56e95e,_0x1fb65b,_0x14fa13);let Nt=class{constructor(_0x3a4615,_0x2adaaa){var _0x14809b=_0x122a43;this[_0x14809b(0x1cb)]=_0x3a4615,this[_0x14809b(0x18d)]=_0x2adaaa;}async['getUnitOnRev'](_0x384f98,_0x178dda){var _0x17e291=_0x122a43,_0x38cb7c;const {unitID:_0x5c2df0,type:_0x498dad,revision:_0x5b6170=0x0}=_0x178dda,_0x251d39=this[_0x17e291(0x2c5)]()+'/'+_0x498dad+'/unit/'+_0x5c2df0+'/rev/'+_0x5b6170,_0x18c9f4=(await this['_httpService'][_0x17e291(0x46b)](_0x251d39))[_0x17e291(0x242)],_0x31c8ba=(_0x38cb7c=_0x18c9f4[_0x17e291(0x3d2)])==null?void 0x0:_0x38cb7c['workbook'];if(_0x31c8ba){const _0x5106c2=_0x31c8ba==null?void 0x0:_0x31c8ba[_0x17e291(0x370)],_0x3c22dd=_0x28e516[_0x17e291(0x1d1)](_0x2b4668(_0x5106c2));_0x31c8ba[_0x17e291(0x370)]=_0x3c22dd,Object[_0x17e291(0x1f7)](_0x31c8ba['sheets'])['forEach'](([,_0x563a18])=>{var _0x77cd80=_0x17e291;const _0x20fa46=_0x563a18[_0x77cd80(0x370)],_0x2994f6=_0x28e516[_0x77cd80(0x1d1)](_0x2b4668(_0x20fa46));_0x563a18[_0x77cd80(0x370)]=_0x2994f6;});}return _0x18c9f4;}async[_0x122a43(0x2cb)](_0x268047,_0x357249){var _0x50aee6=_0x122a43;const {unitID:_0x502626,type:_0x426ce9,blockID:_0x283a7f}=_0x357249,_0x2b2ce5=this['_getAPIPrefix']()+'/'+_0x426ce9+_0x50aee6(0x1bb)+_0x502626+_0x50aee6(0x31c)+_0x283a7f;return(await this['_httpService'][_0x50aee6(0x46b)](_0x2b2ce5))['body'];}async['getDeserializedSheetBlock'](_0x5ee863,_0x4ec44b){var _0x38e6af=_0x122a43;const {unitID:_0x5ed4f6,type:_0x39b54e,blockID:_0x21a161}=_0x4ec44b,_0x344426=this['_getAPIPrefix']()+'/block/'+_0x39b54e+_0x38e6af(0x1bb)+_0x5ed4f6+_0x38e6af(0x31c)+_0x21a161;return(await this['_httpService'][_0x38e6af(0x46b)](_0x344426))[_0x38e6af(0x242)];}async[_0x122a43(0x287)](_0xa05d13,_0x30fb08){var _0x40c43e=_0x122a43;const {unitID:_0x524811,type:_0x21ab26,from:_0x5221cd,to:_0x28dfef}=_0x30fb08,_0x4651d7=this[_0x40c43e(0x326)]()+'/'+_0x21ab26+_0x40c43e(0x1bb)+_0x524811+_0x40c43e(0x355)+_0x5221cd+_0x40c43e(0x3d1)+_0x28dfef;return(await this[_0x40c43e(0x18d)][_0x40c43e(0x46b)](_0x4651d7))[_0x40c43e(0x242)];}[_0x122a43(0x2c5)](){var _0x240450=_0x122a43,_0xbc9501;return(_0xbc9501=this[_0x240450(0x1cb)][_0x240450(0x2ed)](Sn))!=null?_0xbc9501:this[_0x240450(0x326)]();}[_0x122a43(0x326)](){var _0x1c23aa=_0x122a43,_0x47f885,_0x5a8532;const _0x30f2e1=this[_0x1c23aa(0x1cb)][_0x1c23aa(0x2ed)](mn),_0x31bf7d=this['_configService'][_0x1c23aa(0x2ed)](q);return(_0x5a8532=(_0x47f885=_0x31bf7d==null?void 0x0:_0x31bf7d['snapshotServerUrl'])!=null?_0x47f885:_0x30f2e1)!=null?_0x5a8532:gn;}async[_0x122a43(0x28a)](_0x389d55,_0x4ca7ee){var _0x1b57ba=_0x122a43;const _0x2b34f4=_0x1b57ba(0x2ae)+_0x4ca7ee['type']+_0x1b57ba(0x1bb)+_0x4ca7ee[_0x1b57ba(0x263)]+_0x1b57ba(0x382);return(await this['_httpService']['get'](_0x2b34f4,{'params':{'resourceId':JSON['stringify'](_0x4ca7ee[_0x1b57ba(0x1c8)])}}))[_0x1b57ba(0x242)];}[_0x122a43(0x19e)](){var _0x5dcfe4=_0x122a43;throw new Error(_0x5dcfe4(0x317));}['saveSheetBlock'](){var _0x41b4c0=_0x122a43;throw new Error(_0x41b4c0(0x317));}[_0x122a43(0x19d)](){var _0x5451e7=_0x122a43;throw new Error(_0x5451e7(0x317));}[_0x122a43(0x1a4)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x122a43(0x3a9)](){var _0x437d53=_0x122a43;throw new Error(_0x437d53(0x317));}};Nt=fr([_i(0x0,_0x47e68f),_i(0x1,_0xed7601(_0x5dce4f))],Nt);var vr=Object[_0x122a43(0x3bd)],pr=(_0x1db014,_0x46615f,_0x1e2a7b,_0x25a81e)=>{for(var _0x4ade43=_0x25a81e>0x1?void 0x0:_0x25a81e?vr(_0x46615f,_0x1e2a7b):_0x46615f,_0x4015c7=_0x1db014['length']-0x1,_0x846822;_0x4015c7>=0x0;_0x4015c7--)(_0x846822=_0x1db014[_0x4015c7])&&(_0x4ade43=_0x846822(_0x4ade43)||_0x4ade43);return _0x4ade43;},Pe=(_0x4559e8,_0x4bd378)=>(_0xe9eeef,_0x138a72)=>_0x4bd378(_0xe9eeef,_0x138a72,_0x4559e8);let Dt=class extends _0x10f0ba{constructor(_0x14003d,_0xa12a24,_0x29ef3f,_0x4d7924,_0x30946a){var _0xe06a30=_0x122a43;super(_0x14003d,_0xa12a24,_0x29ef3f),this['_transformService']=_0x4d7924,this[_0xe06a30(0x30b)]=_0x30946a;}['transformUndoRedo'](_0xfd786a,_0x27898f){var _0x663bd9=_0x122a43;const _0x4820e8=this[_0x663bd9(0x1e7)](_0xfd786a);if(_0x4820e8)try{const _0x529952=this[_0x663bd9(0x3cd)](_0x4820e8,_0x27898f);this[_0x663bd9(0x37c)](_0xfd786a,_0x529952);}catch(_0x2856d9){this[_0x663bd9(0x30b)][_0x663bd9(0x2c6)]('[CollaborationUndoRedoService]',_0x2856d9),this[_0x663bd9(0x33c)](_0xfd786a);}const _0x4e0a19=this[_0x663bd9(0x1dc)](_0xfd786a);if(_0x4e0a19)try{const _0x17594b=this[_0x663bd9(0x3cd)](_0x4e0a19,_0x27898f);this['_substituteRedoStack'](_0xfd786a,_0x17594b);}catch(_0x30b5ab){this[_0x663bd9(0x30b)]['error'](_0x30b5ab),this[_0x663bd9(0x33f)](_0xfd786a);}}[_0x122a43(0x33c)](_0x3e28af){var _0x1810b2=_0x122a43;const _0x1bbdc7=this[_0x1810b2(0x1e7)](_0x3e28af);_0x1bbdc7&&(_0x1bbdc7[_0x1810b2(0x32b)]=0x0,this[_0x1810b2(0x3c2)]());}[_0x122a43(0x33f)](_0x669b01){var _0xa9d6c9=_0x122a43;const _0x2df308=this['_getRedoStack'](_0x669b01);_0x2df308&&(_0x2df308[_0xa9d6c9(0x32b)]=0x0,this[_0xa9d6c9(0x3c2)]());}[_0x122a43(0x37c)](_0x4076f2,_0x53b013){var _0x355e7c=_0x122a43;this[_0x355e7c(0x29e)][_0x355e7c(0x1d8)](_0x4076f2,_0x53b013),this['_updateStatus']();}['_substituteRedoStack'](_0x1653dc,_0x595e8a){var _0x38d8cd=_0x122a43;this[_0x38d8cd(0x20b)][_0x38d8cd(0x1d8)](_0x1653dc,_0x595e8a),this[_0x38d8cd(0x3c2)]();}[_0x122a43(0x3cd)](_0x69561d,_0x231035){var _0x4e6ee8=_0x122a43;const _0x4ef8a8=[];let _0x3ec8e8=_0x231035,_0x9cd6f8=_0x231035;for(let _0x4bff04=_0x69561d[_0x4e6ee8(0x32b)]-0x1;_0x4bff04>=0x0;_0x4bff04--){const {unitID:_0x4f0e9c,undoMutations:_0x430dc4,redoMutations:_0x4ba078}=_0x69561d[_0x4bff04],_0x420bbb=this['_transformService']['transformMutationsWithChangeset'](_0x3ec8e8,_0x430dc4),_0x5367b1=this['_transformService'][_0x4e6ee8(0x3f0)](_0x9cd6f8,_0x4ba078);if(_0x4a008b(_0x420bbb)||_0x4a008b(_0x5367b1)){this['_logService'][_0x4e6ee8(0x2c6)](_0x4e6ee8(0x228),_0x4e6ee8(0x289),_0x420bbb,_0x5367b1);break;}_0x3ec8e8=_0x420bbb[_0x4e6ee8(0x298)],_0x9cd6f8=_0x5367b1[_0x4e6ee8(0x298)],_0x4ef8a8[_0x4e6ee8(0x2a7)]({'unitID':_0x4f0e9c,'undoMutations':_0x420bbb[_0x4e6ee8(0x2b6)],'redoMutations':_0x5367b1[_0x4e6ee8(0x2b6)]});}return _0x4ef8a8[_0x4e6ee8(0x417)]();}};Dt=pr([Pe(0x0,_0x286933),Pe(0x1,_0x4f8580),Pe(0x2,_0x1e8870),Pe(0x3,_0x70853b),Pe(0x4,_0x10a457)],Dt);var mr=Object[_0x122a43(0x457)],gr=Object[_0x122a43(0x3bd)],Sr=(_0x33ecd8,_0x33d053,_0x509c63)=>_0x33d053 in _0x33ecd8?mr(_0x33ecd8,_0x33d053,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x509c63}):_0x33ecd8[_0x33d053]=_0x509c63,Er=(_0x246f49,_0xa5eca9,_0x388757,_0x8fa7a1)=>{var _0x5f4be6=_0x122a43;for(var _0x32ea66=_0x8fa7a1>0x1?void 0x0:_0x8fa7a1?gr(_0xa5eca9,_0x388757):_0xa5eca9,_0x4a7909=_0x246f49[_0x5f4be6(0x32b)]-0x1,_0x2b11d1;_0x4a7909>=0x0;_0x4a7909--)(_0x2b11d1=_0x246f49[_0x4a7909])&&(_0x32ea66=_0x2b11d1(_0x32ea66)||_0x32ea66);return _0x32ea66;},St=(_0x2058af,_0x1ad1d8)=>(_0xb8aef,_0x335f3c)=>_0x1ad1d8(_0xb8aef,_0x335f3c,_0x2058af),Ir=(_0x4359fc,_0x387186,_0x18fe62)=>Sr(_0x4359fc,_0x387186+'',_0x18fe62);const Tr=_0x122a43(0x450);let Ut=class extends _0x3d910d{constructor(_0x3ddd6f,_0x23d54b,_0x273b5f,_0x3e7462){var _0x33252c=_0x122a43;super(),N(this,_0x33252c(0x46e)),(this['_logService']=_0x23d54b,this[_0x33252c(0x181)]=_0x273b5f,this[_0x33252c(0x1cb)]=_0x3e7462);const {..._0x5b63fd}=_0x1b84ab({},wn,_0x3ddd6f);if(!_0x5b63fd[_0x33252c(0x27a)])throw new Error('[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!');this['_config']=_0x5b63fd,this['_configService'][_0x33252c(0x407)](q,_0x5b63fd);}[_0x122a43(0x311)](){var _0x2cddf4=_0x122a43;this[_0x2cddf4(0x18e)](),this[_0x2cddf4(0x40c)]();}[_0x122a43(0x18e)](){var _0x5a27fe=_0x122a43,_0xbbe2ba,_0x185eef;this[_0x5a27fe(0x181)][_0x5a27fe(0x214)](_0x3776e6)&&this[_0x5a27fe(0x30b)][_0x5a27fe(0x2c6)](_0x5a27fe(0x19a),_0x5a27fe(0x455));const _0x27b593=_0xd9e673([[_0x3776e6,{'useClass':Dt}],[Me],[Le],[it],[rt],[at],[Ti],[ot],[pe],[bt],[Ii,{'useClass':this[_0x5a27fe(0x46e)][_0x5a27fe(0x27a)]}],[_0x54b3bc,{'useClass':Nt}],[_0x3a7644,{'useClass':Rt}],[_0x1b0d45,{'useClass':Ot}],[_0x368e7c,{'useClass':yt}],[st],[Ct]],(_0xbbe2ba=this[_0x5a27fe(0x46e)])==null?void 0x0:_0xbbe2ba[_0x5a27fe(0x31e)]);if(!((_0x185eef=this[_0x5a27fe(0x46e)])!=null&&_0x185eef[_0x5a27fe(0x374)])){const _0x1fb93a=_0x27b593[_0x5a27fe(0x259)](([_0x3012f0])=>_0x3012f0===ht);_0x1fb93a!==-0x1&&_0x27b593['splice'](_0x1fb93a,0x1);}_0xc5d8ae(this[_0x5a27fe(0x181)],_0x27b593);}[_0x122a43(0x40c)](){var _0x34dce4=_0x122a43,_0x22bb78,_0x51b531,_0x4006a4;this['_injector']['get'](_0x5dce4f)[_0x34dce4(0x372)]({'priority':0x14,'interceptor':_0x54e632({'maxParallel':0x6})}),(_0x22bb78=this[_0x34dce4(0x46e)])!=null&&_0x22bb78[_0x34dce4(0x40f)]||(_0x51b531=this[_0x34dce4(0x181)][_0x34dce4(0x46b)](J,_0x15675e[_0x34dce4(0x300)]))==null||_0x51b531[_0x34dce4(0x1c3)](),(_0x4006a4=this[_0x34dce4(0x46e)])!=null&&_0x4006a4['enableAuthServer']&&_0x46a26f(this[_0x34dce4(0x181)],[[rt]]),_0x46a26f(this['_injector'],[[at],[st],[ot]]);}};Ir(Ut,_0x122a43(0x29d),Tr),Ut=Er([_0x40be72(_0x933887,_0x3ab90f),St(0x1,_0x10a457),St(0x2,_0xed7601(_0x4a4e75)),St(0x3,_0x47e68f)],Ut);export{Ni as AUTHZ_URL_KEY,Rt as AuthzIoHttpService,le as AwaitingState,oe as AwaitingWithPendingState,q as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,Nn as COLLAB_SUBMIT_CHANGESET_URL_KEY,In as COLLAB_WEB_SOCKET_URL_KEY,st as CollaborationController,nt as CollaborationEntity,Ot as CollaborationImageIoService,Et as CollaborationSession,Me 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,Mr 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,xr as LOCAL_CACHE_INTERVAL_KEY,Un as LOGIN_URL_KEY,Le as MemberService,yt as MentionIoHttpService,de as OfflineState,ae as PendingState,$r as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,On as RETRY_CONNECTING_MAX_COUNT_KEY,Lr as SEND_CHANGESET_TIMEOUT_KEY,mn as SNAPSHOT_SERVER_URL_KEY,Sn as SNAPSHOT_URL_KEY,Ee as SessionStatus,Tt as SheetCollaborationEntity,it as SheetTransformSelectionsService,Nt as SnapshotServerOverHTTPService,Ne as SyncedState,Ci as UnitStatus,Ut as UniverCollaborationClientPlugin,Ln as deserializeToCombResponse,Br as getLocalCacheKey,Mn as serializeCombRequest};
|