@univerjs/preset-docs-collaboration 0.13.0-insiders.20251218-2062647 → 0.14.0
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/umd/index.js +4 -4
- package/lib/umd/locales/ca-ES.js +2 -2
- package/lib/umd/locales/en-US.js +2 -2
- package/lib/umd/locales/es-ES.js +2 -2
- package/lib/umd/locales/fa-IR.js +2 -2
- package/lib/umd/locales/fr-FR.js +2 -2
- package/lib/umd/locales/ja-JP.js +2 -2
- package/lib/umd/locales/ko-KR.js +2 -2
- package/lib/umd/locales/ru-RU.js +2 -2
- package/lib/umd/locales/vi-VN.js +2 -2
- package/lib/umd/locales/zh-CN.js +2 -2
- package/lib/umd/locales/zh-TW.js +2 -2
- package/package.json +6 -6
package/lib/umd/index.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
// @univerjs-pro/collaboration-client/index
|
|
2
|
-
function _0x3800(_0x4d9b2e,_0x5a6ac0){_0x4d9b2e=_0x4d9b2e-0xa4;var _0x53bad0=_0x53ba();var _0x3800fc=_0x53bad0[_0x4d9b2e];return _0x3800fc;}function _0x53ba(){var _0x422fca=['apply','getMember','COMPRESS_MUTATION_APPLY','USERS_ENTER','originalMeta','OFFLINE','loadDoc','\x20in\x20_schedule.','retryConnectingInterval','UNKNOWN_CMD','ENTITLE_REPORT_LIMIT_EXCEED','_toggleOffline','_getUndoStack','_socketService','changesets','SetSelectionsOperation','BlockCipherMode','getTime','_sheetTransformSelectionsService','_onLocalMutation','Optional','_doProcessBlock','reject','updateMember','asObservable','unpad','fetchThroughInterceptors','HELLO','JOINING','_startCollaboration','fetching\x20missing\x20changesets\x20from\x20','createSocket','loadUnit','disposeWithMe','_disableEditing','interceptor','randomBytes','Quantity','_commandService','_config','SNAPSHOT_URL_KEY','_getCurrentRevision','_sendHeartbeatTimer','LOGIN_TOKEN_PROCESSING_FAILED','members$','_entities','_transformService','copyFileMeta','keySize','unitId','csAckEvent','ENTITLE_COUPON_EXPIRED','USER_IS_ANONYMOUS','RECV','RevisionService','enableSingleActiveInstanceLock','SheetTransformSelectionsService','BufferedBlockAlgorithm','getRandomValues','PendingState','startsWith','_initMergeInterceptor','sid','_onMessage','registerDependencies','CONFLICT','_state$','listCollaborators','USER_NOT_INVITED_CODE','awaiting','isPermissionRej','?url=','/object/','deleteCollaborator','enc','IPermissionService','_clearTimeoutTimer','ciphertext','APPLY_REVISION_CONFILICT','_awaitingChangeset','onRemoteRej','_replaceFileID','[CollaborationSessionService]','\x0aAfter:\x20','_getSendChangesetTimeout','/universer-api/stream/file/upload','_resendWithTimeout','IImageIoService','Cipher','Tools','_type','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','UNIVER_PROJECT','_updateState','csRejEvent','NOT_COLLAB','awaitingChangeset','not_collab','/rev/','ENTITLE_COUPON_USED_UP','roles','readAsDataURL','BlockCipher','_members$','_showConflictNotification','_onUserLeave','_transformStack','location','size','SHA1','[CollaborationState]:\x20apply\x20error!','Could\x20not\x20dynamically\x20require\x20\x22','AuthzIoHttpService','RichTextEditingMutation','SYNCED','message$','requestParams','LIVESHARE_REQUEST_HOST','getSnapshotAPIPath','_prevBlock','title','IDLE','localCacheService','rev','_snapshotServerService','reconnect','_clearRetryConnectingTimer','INGEST','onMissingChangesets','LICENSE_MAX_UNITS_EXCEEDED','LEAVE','joinRsp','sessionStatus$','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','amd','toString','repeat','\x20-\x20','ICommandService','DataLoaderService','CONNECTOR_DATA_TOO_LARGE','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','PERMISSION_REJ','Utf8','COMPLETION_FINISHED','byteOffset','_mode','key','HttpExport','saveImage','connection\x20error','addImageSourceCache','[DataLoaderService]','WorkbookEditablePermission','PERMISSION_DENIED','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','_transformRemoteChangesetByIMECache','LICENSE_DISTRO_REJECTED','MemberService','state','compute','error','[PendingState]:\x20received\x20rejection.','salt','status','href','createDecryptor','downloadEndpointUrl','updateCursorEvent','YUUMI_NO_CUBOID_FOR_QUESTION','HEARTBEAT_TIMEOUT','AES','LocalUndoRedoService','Workbook','abs','RETRY_CONNECTING_MAX_COUNT_KEY','splice','_iKey','[PendingState]:\x20unhandled\x20univer\x20type:\x20','getAllMembers','Inject','pad','getUnitStatus$','__Key__','HEARTBEAT_INTERVAL','_acknowledgedAwaitingChangeset','_getDownloadEndpointURL','random','subUnitId','__creator','_createHmacHelper','_waitForHeartbeatResponse','lib','CLOSE_ROOM','UserProfileImg','delete','signUrlServerUrl','isTransformChangesetsSuccess','SheetPermissionInitController','OfflineState','focused$','LIVESHARE_TERMINATE','loadOfflineData','socket$','x-univer-host','_process','stopTime','RETRY_CONNECTING_MAX_COUNT','min','UserManagerService','saveSheetBlock','Malformed\x20UTF-8\x20data','UNIVER_SLIDE','includes','_schedule','compose','YUUMI_ASYNCIO_CANCELLED','_eventService','default','c2Prime','_sendHeartbeat','range','unknown','socketService','UniverTelemetry','_queuedRemoteChangesets','_userManagerService','_iv','_rescheduleHeartbeat','snapshotServerUrl','SessionStatus','LOCAL_CACHE_INTERVAL_KEY','/-/object/list','withCredentials','_socketReady','fromCollab','[SyncedState]:\x20received\x20rejection.','_scheduleCompleteTimestamp','session.room-cnt-exceeds','_singleActiveUnitService','close','IContextService','10838052Blyzeu','_emitMembers','objectID','&to=','INVITE_CODE_REQUIRED','length','sequenceExecute','_collabSessionService','collaboration-client.config','_transformUndoredo','decrypt','Error\x20on\x20receiving\x20event','_retryConnectingTimer','stringify','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','$super','_onRecvEvent','baseRev','2AyNUbz','_state','debug','params','_applyRemoteChangeset','_transformStateCache','initWorkbookPermissionChange','responseType','getTypeOfUnitAdded$','_collaborationPaused','submit\x20changeset\x20error!','CHANGESET_ACK','ISnapshotServerService','SOCKET_FAILED','_oKey','_registerDependencies','SyncedState','getUnitOnRev','format','[CollaborationSessionService]:\x20socket\x20error','getConfig','ALREADY_EXISTS','WECHAT_HAS_BEEN_BOUND','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','HEARTBEAT','_undoRedoService','liveShareNewHost','encode','DATA_SOURCE_TOO_LARGE','HEARTBEAT_INTERVAL_KEY','[CollaborationUndoRedoService]','eventID','[OfflineState]:\x20received\x20rejection.','_syncEditingCollabCursor','OTHER_CLIENT_EDITING','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','pauseCollaboration','updateOfflineData','_createHelper','_change$','_status$','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','infoRsp','setShowComponents','batchAllowed','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','PERSON','DEFAULT_WS_SESSION_TICKET_URL','authzUrl','function','_tryEnsureSocket','_handler','reqId','?size=','/universer-api/uniscript','workbook','cmd','ImageUploadStatusType','readyForCollab','crypto','image/bmp','_onJoinRoomEvent','_listenToNetworkCondition','_incrementRevisionNumber','getUnitType','collabSubmitChangesetUrl','@univerjs-pro/collaboration','REDEMPTION_INVALID_CODE','/collaborator','subject','_roomCreated$','shareReplay','_nDataBytes','mode','ERROR_IMAGE','_onConnectionFailed','_onOffline','COMPRESS_MUTATION_SEND','_initCloseConn','/-/object/-/batch_allowed','_clearCollaborationTimeoutTimer','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','unsubscribe','[OfflineState]:\x20received\x20changeset.','_HTTPService','CURRENT_STATUS_CANNOT_OPERATE','allowed','ThresholdInterceptorFactory','REDEMPTION_USER_NOT_ELIGIBLE','hasOwnProperty','catch','createEncryptor','_commentService','YUUMI_SUBSCRIPTION_NOT_FOUND','editingUnit','getWorkbookSelections','APPLY_NON_SEQUENTIAL_REVISION','APPLY_PERMISSION_DENIED','values','onTransformState','IConfigService','UNIVER_UNKNOWN','WordArray','4800boiAAD','selections','onload','joinEvent','_createSocket','take','_lockTransition','_unitInfo$','offline','onSendChangeset','_socket','JSONX','data','_sessionStatus$','HTTPRequest','set','1830fAmnCh','UNRECOGNIZED','code','_entityInit$','HmacSHA1','_getCtorByUniverType','indexOf','Hasher','PY_RUNTIME_SCRIPT_ERROR','_getAPIPrefixPath','transformUndoRedo','reduce','_exhaustRemoteChangesetQueue','from','slice','LIVESHARE_NEW_HOST','CipherParams','UniverInstanceType','_revisionService','capture','__splitChunk__','name','setCurrentUser','CollaborationEvent','getCollabEntity$','CollaborationUIEventService','getValue','max','_onRemoteACK','removeMember','_sender','exports','_changesetReqId','/universer-api/authz','unitInfo$','REDEMPTION_CODE_NOT_STARTED','finalize','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','_createInitialState','createInstance','INetworkConditionService','UNDEFINED','onMutationExecutedForCollab','loadUnitOfRevision','onlyLocal','/universer-api/snapshot','_candidateSocket','_doCreateSocket','EMAIL_VERIFY_CODE_MISMATCH','Injector','_getSignURL','symbol','UniverCollaborationClientPlugin','_removeRoom','_resendTimer','_stopTelemetryCollaborationNewChangeset','createIdentifier','AUTHORIZE_CODE_ILLEGAL','status$','_localeService','_cipher','src','_decreaseWaiting','INTERNAL_ERROR','SNAPSHOT_HAS_BEEN_REMOVED','parseProtocolChangeset','members','LICENSE_IMPORT_SIZE_EXCEEDED','transformMutationsWithChangeset','_pendingMutations','InsertSheetMutation','auth.needGotoLoginAlert','IUndoRedoService','object','ClipsheetFragments','_doCryptBlock','Plugin','_univerInstanceService','getGlobalObject','entityInit$','session.room-not-exists','&assign=','_startTelemetryCollaborationNewChangeset','onTransformRemoteChangesetByIMECache','deserializeToCombResponse','map','mixIn','_updateStatus','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','fromCharCode','_collaborationSessionService','REDEMPTION_CODE_HAS_BEEN_CREATED','FETCH_MISSING','close$','_transformSelections','algo','collaboration_new_changeset','[UniverCollaborationClientPlugin]','AWAITING','kdf','_retryCount','HTTPService','_getAPIPrefix','collaboratorID','actions','setConfig','OTHER_CLIENTS_EDITING','_createHandler','_clearLocalCache','LOCAL_CACHE_INTERVAL','INVALID_INVITE_CODE','UniverNetwork','session','getFocusedUnit','_clearScheduledTask','init','PENDING','Subject','dispose$','MD5','c1Prime','DisposableCollection','SnapshotServerOverHTTPService','CollaborationImageIoService','ENTITLE_NEED_BILLING_ADDRESS','open$','Failed\x20to\x20update\x20permission\x20point','JOIN_ROOM_FAILED','_configService','MOBILE_HAS_BEEN_BOUND','_key','charAt','MOBILE_VERIFY_CODE_MISMATCH','_commentUpdate$','then','CompressMutationService','UniverCore','objectType','_socketMessageSubscription','transformStack\x20failed!','AwaitingState','complete','@univerjs/sheets','YUUMI_URL_COL_OUT_OF_RANGE','sendChangesetTimeout','Decryptor','_timeoutTimer','@univerjs/telemetry','PSEUDO_FETCH_MISSING_RESULT','FileId','HttpImport','_scheduleCollaborationTimeoutTimer','/unit/','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','CollaborativeUndoRedoService','CollaborationSocketService','_append','/universer-api/user/session-ticket','_tryReconnect','_onRemoteRejected','put','isTransformMutationsWithChangesetFailure','_joinRoom','OpenSSL','DependentOn','add','MSG_FOR_ERROR','UnitEmbedded','UniverProCollaborationClient','_getUploadFileURL','_createInitialStateImpl','_clearHeartbeatTimer','CollaborationEntity','blockSize','BASE64','_throwTelemetryCollaborationNewChangeset','_onFetchMissResult','INVITE_CODE_HAS_BEEN_UES','ONLINE','JOIN','ivSize','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','m2Prime','join','words','@univerjs/docs','_telemetryService','21565YayDPz','UnitSnapshot','getImageSourceCache','onStarting','msCrypto','onRemoteChangeset','objectActions','_initDependencies','_checkMissing','People','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','type','_resendTimeout','_socket$','onRemoteAck','permissionRejEvent','setWaitCount','ConflictState','enableAuthServer','ENTITLE_CAN_NOT_BUY_LOWER_OTP','cfg','ENSURE_SNAPSHOT_EXECUTION','_toggleOnline','/block/','revision','delay','getResourcesRequest','_event$','transformSelections','toDisposable','commentUpdateEvent','refreshPermission','YUUMI_ALL_TABLES_IS_INVALID','getTypeOfUnitDisposed$','getCurrentRevOfUnit','toggleOnline','subscribe','JOIN_ROOM_NOT_EXISTS','onCommentUpdate','getInterceptPoints','_undoStacks','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','objects','TOO_MANY_REQUESTS','PasswordBasedCipher','isInternalEditorID','USER_NOT_FOUND','Latin1','_compressMutationService','JOIN_ROOM_PERMISSION_DENIED','update','_roomMembers','liveShareOperation','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','state$','ITelemetryService','rxjs','updatePermissionPoint','session.join-failed','parse','deepClone','_transitionLocked','_networkConditionService','defineProperty','_telemetryInfo','_invKeySchedule','_init','MentionType','findIndex','NOT_FOUND','JOIN_ROOM_FULL','localeService','CHANGESET_SHOULD_RETRY','touchDependencies','socket\x20close','getLocalCacheKey','/resources','clamp','requireSession','textRanges','uploadFileServerUrl','ENTITLE_CHAT_LIMIT_EXCEED','telemetry\x20info\x20is\x20not\x20initialized','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','roomInfos','result','NEW_CHANGESETS','toggleOffline','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_logService','collaMsg','reset','ws://127.0.0.1:8000/universer-api/comb/connect','EvpKDF','[PendingState]:\x20received\x20acknowledgement.','session.room-permission-denied','post','_hasher','_changesetSessionId','getSheetId','ERROR_AGAIN','onTransformIME','_unlockTransition','UniverDrawing','UniverProLicense','send','REDEMPTION_CODE_FULLY_REDEEMED','CommentService','\x0aCurrent:\x20','_collaborationUIEventService','_waitCount','{fileID}','filter','image/png','LOGIN_FAILED','body','CHANGESET_REVISION_CONFILICT','getLatestCsReqIdBySid','saveSnapshot','_replayCachedMutations','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','memberID','forEach','b64DecodeUnicode','_fetchMissChangesets','snapshot','onTransformSelections','ISingleActiveUnitService','getDeserializedSheetBlock','CollaborationSession','sigBytes','saveChangeset','[CollaborationSession]','next','SUBMIT_CHANGESET_TIMEOUT','SerializableCipher','_handlerCallback','appendMutation','_httpService','parseChangesetToProtocol','_clearRedo','isTransformMutationsWithChangesetSuccess','264004uJPqpJ','APPLY_DUPLICATED','url','_substituteRedoStack','_parse','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','NoPadding','createCollaborator','FAIL','pending','_collaborationTimeoutTimer','_isPermissionRej','onStateChange','_keySchedule','CollaborationSessionService','/universer-api/comb','MUTATION','_maxTotalRetryTimeout','collaboration-client.local-cache-service','FETCH_MISS','_ENC_XFORM_MODE','mergeOverrideWithDependencies','getRoom','getMemberID','newCsEvent','hasher','string','COMMENT_UPDATE','UUID','Base64','executeCommand','byteLength','_imageSourceCache','getCurrentUser','REDEMPTION_CODE_INACTIVE','clone','_instanceService','_onRemoteRetry','conflict','ILogService','concat','_memberService','pipe','now','LICENSE_EXPORT_SIZE_EXCEEDED','getUnitId','event$','hostname','resend','FetchingMissState','ICollaborationSocketService','IUniverInstanceService','_doFinalize','Disposable','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','enableOfflineEditing','encrypt','transformChangesets','NO_OTHER_CLIENTS_EDITING','unit-cache-','create','prototype','textEncoder','1864980FHsvel','call','_onRemoteChangeset','onSyncEditingCollabCursor','13447KBBIap','fetch_missing','_sendingTimer','CHANGESET_REJ','save\x20fail\x20reason\x20is\x20','patch','Rectangle','EmptyMutationInfo','image/jpg','get','SUBMIT_CHANGESET','shouldCloseConn','encryptBlock','ImageSourceType','getCollabEntity','error$','Univer','firstValueFrom','_onCombEvent','YUUMI_RATE_OVER_LIMIT','[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.','commentUpdate$','buffer','_keyPriorReset','_permissionService','RxDisposable','/new_changes','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','HEARTBEAT_TIMEOUT_KEY','MentionIoHttpService','_injector','every','replace','Hex','leaveEvent','onTransformRemoteChangesetByStateCache','onRemoteRetry','UNISCRIPT_RUN','_sessions','mutations','ceil','getUnit','charCodeAt','emitEvent','Encryptor','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','PAYMENT_CHANNEL_NOT_SUPPORT','origin','collaborators','_onUserJoin','ENTITLE_INSUFFICIENT_QUOTA','Base','_clearUndo','_transformIMECache','padding','UNIVER_SHEET','closeSession','_getRedoStack','sin','sheets','SHOULD_CLOSE_CONN','socket\x20open.','LocaleService','has','ILocalCacheService','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','ENTITLE_USE_COUPON_NOT_1ST_TRADE','_members','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','_initRequestHeader','_snapshotService','synced','sessionStatus','EMAIL_HAS_BEEN_BOUND','DocCollaborationEntity','push','clear','19164240ainJtx','_remoteChangesetQueue','_redoStacks','YUUMI_CONNECTOR_URL_NOT_FOUND','_reverseMap','_map','extend','LIVESHARE_FETCH_OPERATIONS','Pkcs7','_data','updateSnapshot','CollaborationController','onLocalMutation','fetchMissingChangesets','SheetCollaborationEntity','takeUntil','INVITE_CODE_ALREADY_BOUND','_nRounds','/allowed','ENTITLE_DUP_SUBSCRIPTION','_updateLocalCache','784766zSHtak','SUCCUSS','ITransformService','APPLY_REJECT','_minBufferSize','_initUnitPermissionChange','_unitID','getOwnPropertyDescriptor','/universer-api/oidc/authpage','LIVESHARE_OPERATION','UPDATE_CURSOR','INVALID_ARGUMENT','UniverSheets','encodeURIComponent','BehaviorSubject','merge','_executeRemoteChangeset','_onConflict','_transformRemoteChangesetByStateCache','dispose','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','AwaitingWithPendingState','_substituteUndoStack','univer-pro.collaboration-client.single-active-unit-service','floor','UNKNOWN_CODE','unitID','OPTIONAL','/object','routeKey','execute','GLOBAL_ROOMS_CNT_EXCEEDS','userID','decryptBlock','change$','_hash','listRoles','_onConnectionOpen','confirm','Undefined','_shouldReportTelemetry','_localCacheService','[CollaborationEntity]','getImage','UNIVER_DOC','_submitChangeset','_xformMode','UNAUTHENTICATED','YUUMI_UNABLE_LOAD_URL','&source=','method','registerHTTPInterceptor','USERS_LEAVE','fetchMiss'];_0x53ba=function(){return _0x422fca;};return _0x53ba();}(function(_0x2a99c3,_0x5c1a46){var _0xcb7bbb=_0x3800,_0x31aab5=_0x2a99c3();while(!![]){try{var _0xcec53a=-parseInt(_0xcb7bbb(0x23f))/0x1*(-parseInt(_0xcb7bbb(0x379))/0x2)+parseInt(_0xcb7bbb(0x1d9))/0x3+-parseInt(_0xcb7bbb(0x19a))/0x4+parseInt(_0xcb7bbb(0x10b))/0x5*(parseInt(_0xcb7bbb(0x3f0))/0x6)+parseInt(_0xcb7bbb(0x1dd))/0x7*(parseInt(_0xcb7bbb(0x3e0))/0x8)+-parseInt(_0xcb7bbb(0x367))/0x9+-parseInt(_0xcb7bbb(0x22a))/0xa;if(_0xcec53a===_0x5c1a46)break;else _0x31aab5['push'](_0x31aab5['shift']());}catch(_0xb52ef0){_0x31aab5['push'](_0x31aab5['shift']());}}}(_0x53ba,0xa7ede),function(_0x524030,_0x52c684){var _0x56091c=_0x3800;typeof exports==_0x56091c(0x439)&&typeof module<'u'?_0x52c684(exports,require('@univerjs-pro/collaboration'),require('@univerjs/core'),require('@univerjs/docs'),require('@univerjs/sheets'),require('rxjs'),require('@univerjs/telemetry'),require('rxjs/operators'),require('@univerjs/network'),require('@univerjs/drawing'),require('@univerjs-pro/license')):typeof define=='function'&&define[_0x56091c(0x2fb)]?define([_0x56091c(0x40f),_0x56091c(0x3bb),'@univerjs/core',_0x56091c(0x109),_0x56091c(0xde),_0x56091c(0x143),_0x56091c(0xe3),'rxjs/operators','@univerjs/network','@univerjs/drawing','@univerjs-pro/license'],_0x52c684):(_0x524030=typeof globalThis<'u'?globalThis:_0x524030||self,_0x52c684(_0x524030[_0x56091c(0xf8)]={},_0x524030['UniverProCollaboration'],_0x524030[_0x56091c(0xd8)],_0x524030['UniverDocs'],_0x524030[_0x56091c(0x24b)],_0x524030[_0x56091c(0x143)],_0x524030[_0x56091c(0x355)],_0x524030[_0x56091c(0x143)]['operators'],_0x524030[_0x56091c(0xbf)],_0x524030[_0x56091c(0x173)],_0x524030[_0x56091c(0x174)]));}(this,function(_0x427316,_0x2e372d,_0x3392b5,_0x2b0001,_0x5d6cc8,_0x2c1c73,_0x15185f,_0x1f6813,_0x48a077,_0x550b7d,_0x488317){'use strict';var _0x4f3d5a=_0x3800;var _0x1fbfc9=Object[_0x4f3d5a(0x14a)],_0x37f05c=(_0x5f23ea,_0x571ceb,_0x13546d)=>_0x571ceb in _0x5f23ea?_0x1fbfc9(_0x5f23ea,_0x571ceb,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x13546d}):_0x5f23ea[_0x571ceb]=_0x13546d,_0x2cd3a0=(_0xad5a96,_0x483e27,_0x3fa749)=>_0x37f05c(_0xad5a96,typeof _0x483e27!=_0x4f3d5a(0x423)?_0x483e27+'':_0x483e27,_0x3fa749);const _0x36155e=_0x4f3d5a(0x41d),_0x5b4571=_0x4f3d5a(0x29d),_0x390407=_0x4f3d5a(0x168),_0x3e8642=_0x4f3d5a(0xed),_0x5ac1cf=_0x4f3d5a(0x32d),_0x1324fc=_0x4f3d5a(0x31f),_0x394647=_0x4f3d5a(0x344),_0x280b98=_0x4f3d5a(0xbd),_0x26b037=_0x4f3d5a(0x1a9),_0x1911dc=_0x4f3d5a(0x247),_0x32a0eb=_0x4f3d5a(0x302),_0x374860=_0x4f3d5a(0x3af);var _0x30de26=(_0x57f5c9=>(_0x57f5c9[_0x57f5c9[_0x4f3d5a(0x419)]=0x0]='UNDEFINED',_0x57f5c9[_0x57f5c9['OK']=0x1]='OK',_0x57f5c9[_0x57f5c9[_0x4f3d5a(0x42f)]=0x2]=_0x4f3d5a(0x42f),_0x57f5c9[_0x57f5c9[_0x4f3d5a(0x30f)]=0x3]=_0x4f3d5a(0x30f),_0x57f5c9[_0x57f5c9[_0x4f3d5a(0x150)]=0x4]=_0x4f3d5a(0x150),_0x57f5c9[_0x57f5c9['UNAUTHENTICATED']=0x5]=_0x4f3d5a(0x26e),_0x57f5c9[_0x57f5c9[_0x4f3d5a(0x38e)]=0x6]=_0x4f3d5a(0x38e),_0x57f5c9[_0x57f5c9[_0x4f3d5a(0x24a)]=0x7]=_0x4f3d5a(0x24a),_0x57f5c9[_0x57f5c9[_0x4f3d5a(0x136)]=0x8]='TOO_MANY_REQUESTS',_0x57f5c9[_0x57f5c9[_0x4f3d5a(0x305)]=0x9]='COMPLETION_FINISHED',_0x57f5c9[_0x57f5c9[_0x4f3d5a(0x17e)]=0xa]=_0x4f3d5a(0x17e),_0x57f5c9[_0x57f5c9[_0x4f3d5a(0xd4)]=0xb]=_0x4f3d5a(0xd4),_0x57f5c9[_0x57f5c9[_0x4f3d5a(0x253)]=0xc]=_0x4f3d5a(0x253),_0x57f5c9[_0x57f5c9[_0x4f3d5a(0x420)]=0xd]=_0x4f3d5a(0x420),_0x57f5c9[_0x57f5c9['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]='EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x57f5c9[_0x57f5c9[_0x4f3d5a(0x429)]=0xf]=_0x4f3d5a(0x429),_0x57f5c9[_0x57f5c9[_0x4f3d5a(0x2a0)]=0x10]='LOGIN_TOKEN_PROCESSING_FAILED',_0x57f5c9[_0x57f5c9[_0x4f3d5a(0x3ce)]=0x64]=_0x4f3d5a(0x3ce),_0x57f5c9[_0x57f5c9[_0x4f3d5a(0x170)]=0x65]='ERROR_AGAIN',_0x57f5c9[_0x57f5c9[_0x4f3d5a(0x139)]=0xc9]=_0x4f3d5a(0x139),_0x57f5c9[_0x57f5c9[_0x4f3d5a(0x2a9)]=0xca]='USER_IS_ANONYMOUS',_0x57f5c9[_0x57f5c9[_0x4f3d5a(0x180)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x57f5c9[_0x57f5c9['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x57f5c9[_0x57f5c9[_0x4f3d5a(0x430)]=0x1772]=_0x4f3d5a(0x430),_0x57f5c9[_0x57f5c9[_0x4f3d5a(0x120)]=0x1773]=_0x4f3d5a(0x120),_0x57f5c9[_0x57f5c9[_0x4f3d5a(0x242)]=0x1b59]=_0x4f3d5a(0x242),_0x57f5c9[_0x57f5c9[_0x4f3d5a(0x3d9)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x57f5c9[_0x57f5c9[_0x4f3d5a(0x2c3)]=0x1b5b]=_0x4f3d5a(0x2c3),_0x57f5c9[_0x57f5c9['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x4f3d5a(0x3da),_0x57f5c9[_0x57f5c9[_0x4f3d5a(0x19b)]=0x1b5d]='APPLY_DUPLICATED',_0x57f5c9[_0x57f5c9[_0x4f3d5a(0x301)]=0x1f41]=_0x4f3d5a(0x301),_0x57f5c9[_0x57f5c9[_0x4f3d5a(0x2f6)]=0x2329]=_0x4f3d5a(0x2f6),_0x57f5c9[_0x57f5c9[_0x4f3d5a(0x164)]=0x232a]=_0x4f3d5a(0x164),_0x57f5c9[_0x57f5c9[_0x4f3d5a(0x433)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x57f5c9[_0x57f5c9[_0x4f3d5a(0x1c6)]=0x232c]=_0x4f3d5a(0x1c6),_0x57f5c9[_0x57f5c9[_0x4f3d5a(0x312)]=0x232d]=_0x4f3d5a(0x312),_0x57f5c9[_0x57f5c9[_0x4f3d5a(0x26f)]=0x2711]=_0x4f3d5a(0x26f),_0x57f5c9[_0x57f5c9[_0x4f3d5a(0xdf)]=0x2712]=_0x4f3d5a(0xdf),_0x57f5c9[_0x57f5c9[_0x4f3d5a(0x1f0)]=0x2713]=_0x4f3d5a(0x1f0),_0x57f5c9[_0x57f5c9[_0x4f3d5a(0x3d6)]=0x2714]=_0x4f3d5a(0x3d6),_0x57f5c9[_0x57f5c9[_0x4f3d5a(0x31e)]=0x271a]=_0x4f3d5a(0x31e),_0x57f5c9[_0x57f5c9[_0x4f3d5a(0x34d)]=0x271b]=_0x4f3d5a(0x34d),_0x57f5c9[_0x57f5c9['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x57f5c9[_0x57f5c9['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]=_0x4f3d5a(0x12b),_0x57f5c9[_0x57f5c9['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x57f5c9[_0x57f5c9['YUUMI_AI_RUN_FAILED']=0x271f]='YUUMI_AI_RUN_FAILED',_0x57f5c9[_0x57f5c9['YUUMI_CONNECTOR_URL_NOT_FOUND']=0x2720]=_0x4f3d5a(0x22d),_0x57f5c9[_0x57f5c9[_0x4f3d5a(0x3f8)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x57f5c9[_0x57f5c9[_0x4f3d5a(0x101)]=0x2ee1]=_0x4f3d5a(0x101),_0x57f5c9[_0x57f5c9[_0x4f3d5a(0xbe)]=0x2ee2]='INVALID_INVITE_CODE',_0x57f5c9[_0x57f5c9[_0x4f3d5a(0x36b)]=0x2ee3]=_0x4f3d5a(0x36b),_0x57f5c9[_0x57f5c9[_0x4f3d5a(0x2b9)]=0x2ee4]=_0x4f3d5a(0x2b9),_0x57f5c9[_0x57f5c9['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x4f3d5a(0x23a),_0x57f5c9[_0x57f5c9[_0x4f3d5a(0x38f)]=0x32c9]=_0x4f3d5a(0x38f),_0x57f5c9[_0x57f5c9[_0x4f3d5a(0xd1)]=0x32ca]=_0x4f3d5a(0xd1),_0x57f5c9[_0x57f5c9[_0x4f3d5a(0x226)]=0x32cb]=_0x4f3d5a(0x226),_0x57f5c9[_0x57f5c9[_0x4f3d5a(0x11e)]=0x36b1]=_0x4f3d5a(0x11e),_0x57f5c9[_0x57f5c9['ENTITLE_UPDOWN_GRADE_NOT_SUPPORT']=0x36b2]=_0x4f3d5a(0x221),_0x57f5c9[_0x57f5c9[_0x4f3d5a(0x23d)]=0x36b3]=_0x4f3d5a(0x23d),_0x57f5c9[_0x57f5c9[_0x4f3d5a(0x20b)]=0x36b4]=_0x4f3d5a(0x20b),_0x57f5c9[_0x57f5c9['ENTITLE_INVALID_COUPON_CODE']=0x36b5]='ENTITLE_INVALID_COUPON_CODE',_0x57f5c9[_0x57f5c9[_0x4f3d5a(0x2a8)]=0x36b6]=_0x4f3d5a(0x2a8),_0x57f5c9[_0x57f5c9['ENTITLE_COUPON_USED_UP']=0x36b7]=_0x4f3d5a(0x2d8),_0x57f5c9[_0x57f5c9[_0x4f3d5a(0x21f)]=0x36b8]='ENTITLE_USE_COUPON_NOT_1ST_TRADE',_0x57f5c9[_0x57f5c9['ENTITLE_CHAT_LIMIT_EXCEED']=0x3715]=_0x4f3d5a(0x15c),_0x57f5c9[_0x57f5c9[_0x4f3d5a(0x27f)]=0x3716]=_0x4f3d5a(0x27f),_0x57f5c9[_0x57f5c9[_0x4f3d5a(0x20f)]=0x3717]=_0x4f3d5a(0x20f),_0x57f5c9[_0x57f5c9[_0x4f3d5a(0xcc)]=0x37dd]=_0x4f3d5a(0xcc),_0x57f5c9[_0x57f5c9['REDEMPTION_INVALID_CODE']=0x3a99]=_0x4f3d5a(0x3bc),_0x57f5c9[_0x57f5c9[_0x4f3d5a(0x1bc)]=0x3a9a]=_0x4f3d5a(0x1bc),_0x57f5c9[_0x57f5c9[_0x4f3d5a(0x176)]=0x3a9b]=_0x4f3d5a(0x176),_0x57f5c9[_0x57f5c9[_0x4f3d5a(0x413)]=0x3a9c]='REDEMPTION_CODE_NOT_STARTED',_0x57f5c9[_0x57f5c9[_0x4f3d5a(0x3d1)]=0x3a9d]=_0x4f3d5a(0x3d1),_0x57f5c9[_0x57f5c9['REDEMPTION_USER_REDEEM_TIMES_EXCEED']=0x3a9e]='REDEMPTION_USER_REDEEM_TIMES_EXCEED',_0x57f5c9[_0x57f5c9[_0x4f3d5a(0xab)]=0x3a9f]=_0x4f3d5a(0xab),_0x57f5c9[_0x57f5c9[_0x4f3d5a(0x395)]=0x3e81]=_0x4f3d5a(0x395),_0x57f5c9[_0x57f5c9['UNRECOGNIZED']=-0x1]=_0x4f3d5a(0x3f1),_0x57f5c9))(_0x30de26||{}),_0x2f4b9b=(_0x5b19ef=>(_0x5b19ef[_0x5b19ef[_0x4f3d5a(0x3de)]=0x0]=_0x4f3d5a(0x3de),_0x5b19ef[_0x5b19ef[_0x4f3d5a(0x26b)]=0x1]=_0x4f3d5a(0x26b),_0x5b19ef[_0x5b19ef[_0x4f3d5a(0x214)]=0x2]=_0x4f3d5a(0x214),_0x5b19ef[_0x5b19ef['UNIVER_SLIDE']=0x3]=_0x4f3d5a(0x349),_0x5b19ef[_0x5b19ef[_0x4f3d5a(0x2d1)]=0x4]=_0x4f3d5a(0x2d1),_0x5b19ef[_0x5b19ef[_0x4f3d5a(0x3f1)]=-0x1]=_0x4f3d5a(0x3f1),_0x5b19ef))(_0x2f4b9b||{}),_0x270d19=(_0x19289b=>(_0x19289b[_0x19289b[_0x4f3d5a(0x27e)]=0x0]=_0x4f3d5a(0x27e),_0x19289b[_0x19289b[_0x4f3d5a(0x290)]=0x1]=_0x4f3d5a(0x290),_0x19289b[_0x19289b[_0x4f3d5a(0x103)]=0x2]=_0x4f3d5a(0x103),_0x19289b[_0x19289b[_0x4f3d5a(0x2f7)]=0x3]='LEAVE',_0x19289b[_0x19289b[_0x4f3d5a(0x2f4)]=0x4]=_0x4f3d5a(0x2f4),_0x19289b[_0x19289b[_0x4f3d5a(0x391)]=0x5]=_0x4f3d5a(0x391),_0x19289b[_0x19289b['RECV']=0x6]='RECV',_0x19289b[_0x19289b['UNRECOGNIZED']=-0x1]=_0x4f3d5a(0x3f1),_0x19289b))(_0x270d19||{}),_0xfcdf32=(_0xc4ea58=>(_0xc4ea58[_0xc4ea58['UNKNOWN_CODE']=0x0]=_0x4f3d5a(0x258),_0xc4ea58[_0xc4ea58['OK']=0x1]='OK',_0xc4ea58[_0xc4ea58[_0x4f3d5a(0x1a2)]=0x2]='FAIL',_0xc4ea58[_0xc4ea58['JOIN_ROOM_FULL']=0x3e9]=_0x4f3d5a(0x151),_0xc4ea58[_0xc4ea58[_0x4f3d5a(0x130)]=0x3ea]=_0x4f3d5a(0x130),_0xc4ea58[_0xc4ea58[_0x4f3d5a(0x13c)]=0x3eb]='JOIN_ROOM_PERMISSION_DENIED',_0xc4ea58[_0xc4ea58[_0x4f3d5a(0x25e)]=0x3ec]='GLOBAL_ROOMS_CNT_EXCEEDS',_0xc4ea58[_0xc4ea58[_0x4f3d5a(0x3f1)]=-0x1]=_0x4f3d5a(0x3f1),_0xc4ea58))(_0xfcdf32||{}),_0x1ac2eb=(_0x16885d=>(_0x16885d[_0x16885d[_0x4f3d5a(0x266)]=0x0]=_0x4f3d5a(0x266),_0x16885d[_0x16885d[_0x4f3d5a(0xe6)]=0x1]=_0x4f3d5a(0xe6),_0x16885d[_0x16885d[_0x4f3d5a(0x309)]=0x2]=_0x4f3d5a(0x309),_0x16885d[_0x16885d['UnitEmbedded']=0x3]=_0x4f3d5a(0xf7),_0x16885d[_0x16885d['UnitSnapshot']=0x4]=_0x4f3d5a(0x10c),_0x16885d[_0x16885d[_0x4f3d5a(0x337)]=0x5]='UserProfileImg',_0x16885d[_0x16885d[_0x4f3d5a(0x43a)]=0x6]=_0x4f3d5a(0x43a),_0x16885d[_0x16885d[_0x4f3d5a(0x3f1)]=-0x1]=_0x4f3d5a(0x3f1),_0x16885d))(_0x1ac2eb||{});const _0x47d658=_0x4f3d5a(0xb0);function _0x294c3d(_0x117fb2){var _0x483496=_0x4f3d5a;return JSON[_0x483496(0x374)](_0x117fb2)[_0x483496(0x36c)];}var _0x2f98ef=(_0x2b6284=>(_0x2b6284[_0x4f3d5a(0x39b)]=_0x4f3d5a(0x39b),_0x2b6284['PERMISSION_DENIED']='PERMISSION_DENIED',_0x2b6284['CONFLICT']=_0x4f3d5a(0x2b6),_0x2b6284[_0x4f3d5a(0x336)]=_0x4f3d5a(0x336),_0x2b6284[_0x4f3d5a(0xcf)]=_0x4f3d5a(0xcf),_0x2b6284['SOCKET_FAILED_RETRY']='SOCKET_FAILED_RETRY',_0x2b6284[_0x4f3d5a(0x386)]=_0x4f3d5a(0x386),_0x2b6284[_0x4f3d5a(0x192)]=_0x4f3d5a(0x192),_0x2b6284))(_0x2f98ef||{});class _0x5d354c{constructor(){var _0x2d19ae=_0x4f3d5a;_0x2cd3a0(this,_0x2d19ae(0x126),new _0x2c1c73[(_0x2d19ae(0xc5))]()),_0x2cd3a0(this,_0x2d19ae(0x1c8),this[_0x2d19ae(0x126)][_0x2d19ae(0x28d)]());}['emitEvent'](_0x20ad2c){var _0x91575c=_0x4f3d5a;this[_0x91575c(0x126)]['next'](_0x20ad2c);}}class _0x279e44{constructor(){var _0x594a11=_0x4f3d5a;_0x2cd3a0(this,_0x594a11(0xd5),new _0x2c1c73[(_0x594a11(0xc5))]()),_0x2cd3a0(this,_0x594a11(0x1f2),this[_0x594a11(0xd5)][_0x594a11(0x28d)]());}[_0x4f3d5a(0x131)](_0x2f6f33){var _0x43a05d=_0x4f3d5a;this['_commentUpdate$'][_0x43a05d(0x191)](_0x2f6f33);}}var _0x34137d=Object['getOwnPropertyDescriptor'],_0x1fd485=(_0x2accd9,_0x52518a,_0x354717,_0x37b29b)=>{var _0x2d36a2=_0x4f3d5a;for(var _0x55f111=_0x37b29b>0x1?void 0x0:_0x37b29b?_0x34137d(_0x52518a,_0x354717):_0x52518a,_0x1d4595=_0x2accd9[_0x2d36a2(0x36c)]-0x1,_0x5c2ca5;_0x1d4595>=0x0;_0x1d4595--)(_0x5c2ca5=_0x2accd9[_0x1d4595])&&(_0x55f111=_0x5c2ca5(_0x55f111)||_0x55f111);return _0x55f111;},_0x58ae70=(_0xc1ce12,_0x17b8c2)=>(_0x47b072,_0x1129cc)=>_0x17b8c2(_0x47b072,_0x1129cc,_0xc1ce12);_0x427316[_0x4f3d5a(0x313)]=class extends _0x3392b5[_0x4f3d5a(0x1cf)]{constructor(_0x23f91f,_0x494230){var _0x19e273=_0x4f3d5a;super(),_0x2cd3a0(this,'_roomMembers',new Map()),_0x2cd3a0(this,'_roomCreated$',new _0x2c1c73['Subject']()),(this[_0x19e273(0x43d)]=_0x23f91f,this[_0x19e273(0x357)]=_0x494230,this['disposeWithMe'](_0x2c1c73[_0x19e273(0x24e)](this[_0x19e273(0x43d)]['getTypeOfUnitDisposed$'](_0x3392b5[_0x19e273(0x401)][_0x19e273(0x214)])[_0x19e273(0x1c4)](_0x1f6813[_0x19e273(0xa5)](_0x320885=>_0x320885[_0x19e273(0x1c7)]())),this['_univerInstanceService'][_0x19e273(0x12c)](_0x3392b5[_0x19e273(0x401)]['UNIVER_DOC'])[_0x19e273(0x1c4)](_0x1f6813[_0x19e273(0xa5)](_0x189a85=>_0x189a85[_0x19e273(0x1c7)]())),this[_0x19e273(0x43d)]['getTypeOfUnitDisposed$'](_0x3392b5[_0x19e273(0x401)][_0x19e273(0x349)])[_0x19e273(0x1c4)](_0x1f6813['map'](_0x136a08=>_0x136a08['getUnitId']())))[_0x19e273(0x12f)](_0x54d3a3=>this[_0x19e273(0x425)](_0x54d3a3))));}['waitForRoom$'](_0x46a923){var _0x11cd7c=_0x4f3d5a;return this[_0x11cd7c(0x13e)][_0x11cd7c(0x21c)](_0x46a923)?_0x2c1c73['of'](this[_0x11cd7c(0x13e)]['get'](_0x46a923)):this[_0x11cd7c(0x3bf)][_0x11cd7c(0x1c4)](_0x1f6813[_0x11cd7c(0xa5)](_0xfdb8a6=>{var _0x2d3202=_0x11cd7c;if(_0xfdb8a6===_0x46a923)return this[_0x2d3202(0x13e)][_0x2d3202(0x1e6)](_0xfdb8a6);}));}[_0x4f3d5a(0x406)](_0x5df5c5){var _0x289ba1=_0x4f3d5a;this[_0x289ba1(0x357)][_0x289ba1(0x406)](_0x5df5c5);}['getCurrentUser'](){var _0x160ea6=_0x4f3d5a;return this['_userManagerService'][_0x160ea6(0x1bb)]();}['updateMember'](_0x40e29e,_0x30c6ca){var _0x4fe19f=_0x4f3d5a;let _0x19fadf=this[_0x4fe19f(0x13e)]['get'](_0x40e29e);_0x19fadf||(_0x19fadf=new _0x589964(),this[_0x4fe19f(0x13e)][_0x4fe19f(0x3ef)](_0x40e29e,_0x19fadf),this[_0x4fe19f(0x3bf)][_0x4fe19f(0x191)](_0x40e29e)),_0x19fadf[_0x4fe19f(0x28c)](_0x30c6ca);}['removeMember'](_0x47851f,_0x3573c3){var _0x156115=_0x4f3d5a;const _0x2a78d7=this[_0x156115(0x13e)][_0x156115(0x1e6)](_0x47851f);_0x2a78d7&&_0x2a78d7[_0x156115(0x40d)](_0x3573c3);}[_0x4f3d5a(0x1b0)](_0x483aa5){var _0x2b6c17=_0x4f3d5a;return this[_0x2b6c17(0x13e)][_0x2b6c17(0x1e6)](_0x483aa5);}[_0x4f3d5a(0x276)](_0x4679f4,_0x49eba9){var _0xb1c68c=_0x4f3d5a;const _0x26ab80=this[_0xb1c68c(0x13e)][_0xb1c68c(0x1e6)](_0x4679f4);if(_0x26ab80)return _0x26ab80[_0xb1c68c(0x276)](_0x49eba9);}[_0x4f3d5a(0x425)](_0x256781){var _0x46cfe7=_0x4f3d5a;const _0x1ac26d=this[_0x46cfe7(0x13e)][_0x46cfe7(0x1e6)](_0x256781);_0x1ac26d&&(_0x1ac26d[_0x46cfe7(0x252)](),this[_0x46cfe7(0x13e)]['delete'](_0x256781));}[_0x4f3d5a(0x252)](){var _0x30ad01=_0x4f3d5a;this[_0x30ad01(0x13e)][_0x30ad01(0x186)](_0x5c40f0=>_0x5c40f0[_0x30ad01(0x252)]()),this['_roomMembers']['clear'](),this[_0x30ad01(0x3bf)][_0x30ad01(0xdd)]();}},_0x427316[_0x4f3d5a(0x313)]=_0x1fd485([_0x58ae70(0x0,_0x3392b5[_0x4f3d5a(0x1cd)]),_0x58ae70(0x1,_0x3392b5[_0x4f3d5a(0x329)](_0x3392b5[_0x4f3d5a(0x346)]))],_0x427316['MemberService']);class _0x589964 extends _0x3392b5['Disposable']{constructor(){var _0x558e36=_0x4f3d5a;super(...arguments),_0x2cd3a0(this,_0x558e36(0x220),new Map()),_0x2cd3a0(this,'_members$',new _0x2c1c73[(_0x558e36(0x24d))](this[_0x558e36(0x220)])),_0x2cd3a0(this,_0x558e36(0x2a1),this[_0x558e36(0x2dc)][_0x558e36(0x28d)]());}[_0x4f3d5a(0x252)](){var _0x5c0f96=_0x4f3d5a;this[_0x5c0f96(0x220)][_0x5c0f96(0x229)]();}[_0x4f3d5a(0x28c)](_0x9efbf1){var _0x1ebc9d=_0x4f3d5a;this[_0x1ebc9d(0x220)][_0x1ebc9d(0x3ef)](_0x9efbf1[_0x1ebc9d(0x185)],_0x9efbf1),this[_0x1ebc9d(0x368)]();}[_0x4f3d5a(0x40d)](_0x39d74b){var _0x446ce9=_0x4f3d5a;this[_0x446ce9(0x220)]['delete'](_0x39d74b);}['getMember'](_0x20948a){var _0x23612b=_0x4f3d5a;return this[_0x23612b(0x220)][_0x23612b(0x1e6)](_0x20948a);}[_0x4f3d5a(0x328)](){var _0x5aa308=_0x4f3d5a;return Array[_0x5aa308(0x3fd)](this[_0x5aa308(0x220)][_0x5aa308(0x3db)]());}[_0x4f3d5a(0x368)](){var _0x5901a8=_0x4f3d5a;this['_members$']['next'](this[_0x5901a8(0x220)]);}}var _0x5a20cf=Object[_0x4f3d5a(0x246)],_0x4f0f96=(_0x2981db,_0x353e4d,_0xfbe87c,_0x383847)=>{for(var _0x1bab22=_0x383847>0x1?void 0x0:_0x383847?_0x5a20cf(_0x353e4d,_0xfbe87c):_0x353e4d,_0x4014e7=_0x2981db['length']-0x1,_0x240f12;_0x4014e7>=0x0;_0x4014e7--)(_0x240f12=_0x2981db[_0x4014e7])&&(_0x1bab22=_0x240f12(_0x1bab22)||_0x1bab22);return _0x1bab22;},_0x244344=(_0x61f187,_0x136e4)=>(_0x23a4ae,_0x1ff4ab)=>_0x136e4(_0x23a4ae,_0x1ff4ab,_0x61f187),_0x45134b=(_0x6c45d8=>(_0x6c45d8[_0x6c45d8[_0x4f3d5a(0x2ee)]=0x0]=_0x4f3d5a(0x2ee),_0x6c45d8[_0x6c45d8[_0x4f3d5a(0x291)]=0x1]=_0x4f3d5a(0x291),_0x6c45d8[_0x6c45d8['OFFLINE']=0x2]=_0x4f3d5a(0x27a),_0x6c45d8[_0x6c45d8['ONLINE']=0x3]=_0x4f3d5a(0x102),_0x6c45d8))(_0x45134b||{});const _0xd9daec={[_0xfcdf32[_0x4f3d5a(0x1a2)]]:_0x4f3d5a(0x145),[_0xfcdf32[_0x4f3d5a(0x151)]]:'session.room-full',[_0xfcdf32['JOIN_ROOM_NOT_EXISTS']]:_0x4f3d5a(0x440),[_0xfcdf32[_0x4f3d5a(0x13c)]]:_0x4f3d5a(0x16b),[_0xfcdf32[_0x4f3d5a(0x25e)]]:_0x4f3d5a(0x363)};_0x427316[_0x4f3d5a(0x18d)]=class extends _0x3392b5['RxDisposable']{constructor(_0x1b998a,_0x1a94a6,_0x349879,_0x2b7d5f,_0x5d6f36,_0x51789e,_0x5e021d,_0x4ab287){var _0x59a2e2=_0x4f3d5a;super(),_0x2cd3a0(this,_0x59a2e2(0x3ed),new _0x2c1c73[(_0x59a2e2(0x24d))](0x0)),_0x2cd3a0(this,_0x59a2e2(0x2f9),this['_sessionStatus$'][_0x59a2e2(0x28d)]()),_0x2cd3a0(this,'_event$',new _0x2c1c73[(_0x59a2e2(0xc5))]()),_0x2cd3a0(this,_0x59a2e2(0x1c8),this['_event$'][_0x59a2e2(0x28d)]()),_0x2cd3a0(this,'_socket'),_0x2cd3a0(this,'_socketMessageSubscription'),_0x2cd3a0(this,'_collaborationTimeoutTimer'),_0x2cd3a0(this,_0x59a2e2(0x267),!0x1),_0x2cd3a0(this,_0x59a2e2(0x14b),null),(this[_0x59a2e2(0x245)]=_0x1b998a,this['_logService']=_0x349879,this[_0x59a2e2(0xd0)]=_0x2b7d5f,this[_0x59a2e2(0x1c3)]=_0x5d6f36,this['_commentService']=_0x51789e,this[_0x59a2e2(0x179)]=_0x5e021d,this[_0x59a2e2(0x10a)]=_0x4ab287,this[_0x59a2e2(0x267)]=!!this[_0x59a2e2(0x10a)],_0x1a94a6[_0x59a2e2(0x1c4)](_0x2c1c73['takeUntil'](this['dispose$']))[_0x59a2e2(0x12f)](_0x1f5e09=>{var _0x56f983=_0x59a2e2,_0x21ab4c;typeof _0x1f5e09>'u'||(this[_0x56f983(0x3ea)]=_0x1f5e09,_0x1f5e09?(this[_0x56f983(0xf2)](_0x1f5e09),this[_0x56f983(0xda)]=_0x1f5e09[_0x56f983(0x2e8)][_0x56f983(0x12f)](_0x40ced0=>{var _0x237d90=_0x56f983;_0x40ced0[_0x237d90(0x25c)]===this['_unitID']&&this[_0x237d90(0x1ef)](_0x40ced0);})):(this[_0x56f983(0xff)](),this['_sessionStatus$'][_0x56f983(0x191)](0x2),(_0x21ab4c=this[_0x56f983(0xda)])==null||_0x21ab4c[_0x56f983(0x3cb)](),this[_0x56f983(0xda)]=null));}));}get[_0x4f3d5a(0x225)](){var _0x1a16ac=_0x4f3d5a;return this['_sessionStatus$'][_0x1a16ac(0x40a)]();}[_0x4f3d5a(0x1b1)](){var _0x4c3c21=_0x4f3d5a,_0x20f754,_0x5626a0;return(_0x5626a0=(_0x20f754=this[_0x4c3c21(0x3ea)])==null?void 0x0:_0x20f754[_0x4c3c21(0x185)])!=null?_0x5626a0:null;}[_0x4f3d5a(0x252)](){var _0x24b260=_0x4f3d5a;super[_0x24b260(0x252)](),this['dispose$'][_0x24b260(0x191)](),this['dispose$']['complete']();}[_0x4f3d5a(0x365)](){var _0x13004a=_0x4f3d5a,_0x24c8e9,_0x5e6dde;this[_0x13004a(0xff)](),(_0x24c8e9=this[_0x13004a(0x3ea)])==null||_0x24c8e9[_0x13004a(0x175)]({'cmd':_0x270d19[_0x13004a(0x2f7)],'data':{'roomID':this[_0x13004a(0x245)]}}),(_0x5e6dde=this['_socket'])==null||_0x5e6dde[_0x13004a(0x365)](),this[_0x13004a(0x126)][_0x13004a(0xdd)](),this['_sessionStatus$'][_0x13004a(0xdd)](),this['dispose']();}['_onCombEvent'](_0x5b65b7){var _0x532a3b=_0x4f3d5a;_0x5b65b7[_0x532a3b(0x3b1)]===_0x270d19['JOIN']?this[_0x532a3b(0x3b6)](_0x5b65b7):_0x5b65b7[_0x532a3b(0x3b1)]===_0x270d19[_0x532a3b(0x2aa)]&&this[_0x532a3b(0x377)](_0x5b65b7);}[_0x4f3d5a(0xf2)](_0xb814da){var _0x5dc2c7=_0x4f3d5a;this[_0x5dc2c7(0x3ed)]['next'](0x1),_0xb814da['send']({'cmd':_0x270d19['JOIN'],'routeKey':this[_0x5dc2c7(0x245)],'routeType':'','data':{'rooms':[{'roomID':this[_0x5dc2c7(0x245)]}]}});}[_0x4f3d5a(0x3b6)](_0x26cee6){var _0x20d7fe=_0x4f3d5a,_0x43ff27;if(_0x26cee6[_0x20d7fe(0x3f2)]in _0xd9daec){this[_0x20d7fe(0x179)][_0x20d7fe(0x208)]({'id':_0x2f98ef['JOIN_ROOM_FAILED'],'data':_0xd9daec[_0x26cee6[_0x20d7fe(0x3f2)]]}),this[_0x20d7fe(0x3ed)][_0x20d7fe(0x191)](0x2);return;}this[_0x20d7fe(0x3ed)][_0x20d7fe(0x191)](0x3);const _0x381db7=(_0x43ff27=_0x26cee6[_0x20d7fe(0x3ec)][_0x20d7fe(0x160)][this[_0x20d7fe(0x245)]])==null?void 0x0:_0x43ff27[_0x20d7fe(0x432)];_0x381db7&&_0x381db7[_0x20d7fe(0x186)](_0x512187=>this[_0x20d7fe(0x1c3)]['updateMember'](this[_0x20d7fe(0x245)],_0x512187));}[_0x4f3d5a(0x377)](_0x1c2553){var _0x3a2545=_0x4f3d5a;try{const _0x473679=_0x1c2553[_0x3a2545(0x3ec)];switch(_0x473679[_0x3a2545(0x398)]){case _0x2e372d[_0x3a2545(0x407)][_0x3a2545(0x278)]:this['_onUserJoin'](_0x473679),this[_0x3a2545(0x126)][_0x3a2545(0x191)](_0x473679);break;case _0x2e372d['CollaborationEvent'][_0x3a2545(0x273)]:this[_0x3a2545(0x2de)](_0x473679),this[_0x3a2545(0x126)][_0x3a2545(0x191)](_0x473679);break;case _0x2e372d[_0x3a2545(0x407)][_0x3a2545(0x384)]:case _0x2e372d[_0x3a2545(0x407)][_0x3a2545(0x153)]:this[_0x3a2545(0x427)](),this[_0x3a2545(0x3c9)](),this[_0x3a2545(0x126)][_0x3a2545(0x191)](_0x473679);break;case _0x2e372d['CollaborationEvent'][_0x3a2545(0xf6)]:this[_0x3a2545(0x165)]['error'](_0x3a2545(0x1e1)+JSON[_0x3a2545(0x374)](_0x473679)),this[_0x3a2545(0x126)][_0x3a2545(0x191)](_0x473679);break;case _0x2e372d[_0x3a2545(0x407)]['COMMENT_UPDATE']:this[_0x3a2545(0x3d5)][_0x3a2545(0x131)](_0x473679[_0x3a2545(0x3ec)]),this[_0x3a2545(0x126)][_0x3a2545(0x191)](_0x473679);break;default:this['_event$'][_0x3a2545(0x191)](_0x473679);}}catch(_0x3f7af3){this[_0x3a2545(0x165)][_0x3a2545(0x316)](_0x3f7af3,_0x1c2553);}}[_0x4f3d5a(0x20e)](_0x2eb42b){var _0x4cb3bc=_0x4f3d5a;this['_memberService'][_0x4cb3bc(0x28c)](this['_unitID'],_0x2eb42b[_0x4cb3bc(0x3ec)]);}[_0x4f3d5a(0x2de)](_0x2051e8){var _0x89dfcc=_0x4f3d5a;this[_0x89dfcc(0x1c3)][_0x89dfcc(0x40d)](this['_unitID'],_0x2051e8[_0x89dfcc(0x3ec)][_0x89dfcc(0x185)]);}async[_0x4f3d5a(0x175)](_0x39a4ef,_0x3a0803){var _0x32a816=_0x4f3d5a;if(this[_0x32a816(0x225)]!==0x3||!this[_0x32a816(0x3ea)])throw new Error(_0x32a816(0x15e));try{_0x39a4ef[_0x32a816(0x398)]===_0x2e372d['CollaborationEvent'][_0x32a816(0x1e7)]&&(this[_0x32a816(0xe7)](),this[_0x32a816(0x442)](_0x39a4ef)),this[_0x32a816(0x3ea)][_0x32a816(0x175)]({'cmd':_0x270d19[_0x32a816(0x2f4)],'routeKey':_0x3a0803,'routeType':'','data':_0x39a4ef});}catch(_0x31de60){this['_logService'][_0x32a816(0x316)](_0x31de60);}}[_0x4f3d5a(0xe7)](){var _0x44c358=_0x4f3d5a,_0x2cb7cf;this[_0x44c358(0x1a4)]=setTimeout(()=>{var _0x11bc4e=_0x44c358;this[_0x11bc4e(0x1a4)]=null,this['_collaborationUIEventService'][_0x11bc4e(0x208)]({'id':_0x2f98ef['SUBMIT_CHANGESET_TIMEOUT']});},(_0x2cb7cf=this[_0x44c358(0xd0)]['getConfig'](_0x1324fc))!=null?_0x2cb7cf:0x4e20);}[_0x4f3d5a(0x3c9)](){var _0x43a1dc=_0x4f3d5a;this[_0x43a1dc(0x1a4)]&&(clearTimeout(this['_collaborationTimeoutTimer']),this['_collaborationTimeoutTimer']=null);}['_startTelemetryCollaborationNewChangeset'](_0x2d6e02){var _0x4b270=_0x4f3d5a;if(!this[_0x4b270(0x267)])return;const {data:_0x5a7d72}=_0x2d6e02,{unitID:_0x4a2fcc,changeset:_0x2a0f50}=_0x5a7d72,{mutations:_0x3b4947,type:_0x3d80f5}=_0x2a0f50;this[_0x4b270(0x14b)]={'unitId':_0x4a2fcc,'type':_0x3d80f5,'startTime':performance[_0x4b270(0x1c5)](),'stopTime':0x0,'duration':0x0,'size':_0x294c3d(_0x3b4947)};}[_0x4f3d5a(0x427)](){var _0x381cf4=_0x4f3d5a;if(this['_shouldReportTelemetry']){if(!this['_telemetryInfo']){this[_0x381cf4(0x165)][_0x381cf4(0x316)](_0x381cf4(0x190),_0x381cf4(0x15d));return;}this[_0x381cf4(0x14b)][_0x381cf4(0x343)]=performance['now'](),this[_0x381cf4(0x14b)]['duration']=this['_telemetryInfo'][_0x381cf4(0x343)]-this[_0x381cf4(0x14b)]['startTime'],this[_0x381cf4(0x10a)][_0x381cf4(0x403)](_0x47d658,this['_telemetryInfo']),this[_0x381cf4(0x14b)]=null;}}[_0x4f3d5a(0xff)](){this['_telemetryInfo']=null;}},_0x427316[_0x4f3d5a(0x18d)]=_0x4f0f96([_0x244344(0x2,_0x3392b5['ILogService']),_0x244344(0x3,_0x3392b5[_0x4f3d5a(0x3dd)]),_0x244344(0x4,_0x3392b5[_0x4f3d5a(0x329)](_0x427316[_0x4f3d5a(0x313)])),_0x244344(0x5,_0x3392b5['Inject'](_0x279e44)),_0x244344(0x6,_0x3392b5[_0x4f3d5a(0x329)](_0x5d354c)),_0x244344(0x7,_0x3392b5[_0x4f3d5a(0x289)](_0x15185f[_0x4f3d5a(0x142)]))],_0x427316['CollaborationSession']);const _0x4597c5=_0x3392b5[_0x4f3d5a(0x428)](_0x4f3d5a(0x1ac));function _0x3fd395(_0x523465){var _0x5c9891=_0x4f3d5a;return _0x5c9891(0x1d5)+_0x523465;}var _0x3ed9f2=Object['getOwnPropertyDescriptor'],_0x5c20ad=(_0x40e1bc,_0x227211,_0x5ea0b3,_0x1dc7af)=>{var _0x2a9d5d=_0x4f3d5a;for(var _0x110385=_0x1dc7af>0x1?void 0x0:_0x1dc7af?_0x3ed9f2(_0x227211,_0x5ea0b3):_0x227211,_0x5392e2=_0x40e1bc[_0x2a9d5d(0x36c)]-0x1,_0x358a9b;_0x5392e2>=0x0;_0x5392e2--)(_0x358a9b=_0x40e1bc[_0x5392e2])&&(_0x110385=_0x358a9b(_0x110385)||_0x110385);return _0x110385;},_0x11c0e1=(_0x2e8a47,_0xa8ba06)=>(_0x42bd12,_0x4ee1a7)=>_0xa8ba06(_0x42bd12,_0x4ee1a7,_0x2e8a47);function _0x23eac8(_0x1fa903){var _0x1f47a5=_0x4f3d5a;const {unitID:_0x171e00,mutations:_0x190d47}=_0x1fa903;return{'unitId':_0x171e00,'subUnitId':_0x190d47['length']>0x0?_0x190d47[0x0][_0x1f47a5(0x37c)][_0x1f47a5(0x331)]:null};}_0x427316['SheetTransformSelectionsService']=class{constructor(_0x4ac86f,_0x1771db,_0x145f32){var _0x582f0d=_0x4f3d5a;this[_0x582f0d(0x1fb)]=_0x4ac86f,this[_0x582f0d(0x2a3)]=_0x1771db,this[_0x582f0d(0x1be)]=_0x145f32;}[_0x4f3d5a(0x127)](_0x48d8bd){var _0x30ada6=_0x4f3d5a,_0x840340,_0x2e18fb,_0x19598b,_0x1eed50;const _0x32d606=this[_0x30ada6(0x1fb)]['get'](_0x5d6cc8['SheetsSelectionsService']),{unitId:_0x4b4221,subUnitId:_0x43e1f7}=_0x23eac8(_0x48d8bd),_0x5522f2=_0x32d606==null?void 0x0:_0x32d606[_0x30ada6(0x3d8)](_0x4b4221)['getCurrentSelections'](),_0x16ac3e=(_0x2e18fb=(_0x840340=this[_0x30ada6(0x1be)][_0x30ada6(0x206)](_0x4b4221))==null?void 0x0:_0x840340['getActiveSheet']())==null?void 0x0:_0x2e18fb[_0x30ada6(0x16f)]();if(_0x5522f2[_0x30ada6(0x36c)]===0x0||!_0x4b4221||!_0x43e1f7)return;const _0x302f72=[{'id':_0x5d6cc8['SetSelectionsOperation']['id'],'params':{'unitId':_0x4b4221,'subUnitId':_0x16ac3e,'selections':_0x3392b5[_0x30ada6(0x2ce)][_0x30ada6(0x147)](_0x5522f2)}}],_0x2aab66=this[_0x30ada6(0x2a3)][_0x30ada6(0x434)](_0x48d8bd,_0x302f72);if(!_0x2e372d['isTransformMutationsWithChangesetSuccess'](_0x2aab66))throw _0x2aab66[_0x30ada6(0x316)];const _0x32768a=(_0x1eed50=(_0x19598b=_0x2aab66[_0x30ada6(0x106)][0x0])==null?void 0x0:_0x19598b[_0x30ada6(0x37c)])==null?void 0x0:_0x1eed50[_0x30ada6(0x3e1)];if(Array['isArray'](_0x32768a)&&_0x32768a[_0x30ada6(0x36c)]){if(_0x32768a[_0x30ada6(0x36c)]===_0x302f72[0x0][_0x30ada6(0x37c)][_0x30ada6(0x3e1)]['length']&&_0x32768a[_0x30ada6(0x1fc)]((_0x1d9869,_0x51e17d)=>_0x3392b5[_0x30ada6(0x1e3)]['equals'](_0x1d9869[_0x30ada6(0x352)],_0x302f72[0x0]['params'][_0x30ada6(0x3e1)][_0x51e17d][_0x30ada6(0x352)])))return;this[_0x30ada6(0x1fb)][_0x30ada6(0x1e6)](_0x3392b5[_0x30ada6(0x2ff)])[_0x30ada6(0x1b8)](_0x5d6cc8[_0x30ada6(0x284)]['id'],{'unitId':_0x4b4221,'subUnitId':_0x16ac3e,'selections':_0x32768a});}}},_0x427316[_0x4f3d5a(0x2ad)]=_0x5c20ad([_0x11c0e1(0x0,_0x3392b5['Inject'](_0x3392b5[_0x4f3d5a(0x421)])),_0x11c0e1(0x1,_0x2e372d[_0x4f3d5a(0x241)]),_0x11c0e1(0x2,_0x3392b5[_0x4f3d5a(0x1cd)])],_0x427316[_0x4f3d5a(0x2ad)]);const _0x5066c3=_0x3392b5[_0x4f3d5a(0x428)](_0x4f3d5a(0x256));var _0x10fa35=(_0x55c04f=>(_0x55c04f[_0x55c04f['NO_OTHER_CLIENTS_EDITING']=0x0]=_0x4f3d5a(0x1d4),_0x55c04f[_0x55c04f[_0x4f3d5a(0xba)]=0x1]=_0x4f3d5a(0xba),_0x55c04f))(_0x10fa35||{});const _0x5dafb3=_0x4f3d5a(0x36f),_0x332a83={};function _0x41e0d1(_0x5026e2){var _0x5855bd=_0x4f3d5a,_0xa9946b;return!!((_0xa9946b=_0x5026e2[_0x5855bd(0x37c)])!=null&&_0xa9946b[_0x5855bd(0x404)]);}const _0x44eb66=new Set([_0x5d6cc8[_0x4f3d5a(0x436)]['id']]);function _0x38a3b5(_0x216bce,_0x324b30,_0x334d2e,_0x3b05e0,_0x578795){var _0x56f202=_0x4f3d5a,_0x3847f8,_0x1b05e6,_0x2be358,_0x184a34;const _0x11e742=[];for(const _0x482099 of _0x216bce){if(_0x44eb66[_0x56f202(0x21c)](_0x482099['id'])){if(_0x11e742['length']>0x0)break;_0x11e742[_0x56f202(0x228)](_0x482099);break;}if(_0x41e0d1(_0x482099)){if(_0x11e742[_0x56f202(0x36c)]>0x0)break;_0x11e742['push'](_0x482099);break;}_0x11e742[_0x56f202(0x228)](_0x482099);}const _0x5e673a=(_0x1b05e6=(_0x3847f8=_0x578795[_0x56f202(0x1bb)]())==null?void 0x0:_0x3847f8[_0x56f202(0x25f)])!=null?_0x1b05e6:_0x56f202(0x353),_0x1cceab=(_0x184a34=(_0x2be358=_0x578795['getCurrentUser']())==null?void 0x0:_0x2be358[_0x56f202(0x185)])!=null?_0x184a34:_0x56f202(0x353);return{'changeset':{'unitID':_0x324b30,'type':_0x2e372d['mapDocumentTypeToUniverType'](_0x334d2e[_0x56f202(0x3b9)](_0x324b30)),'baseRev':_0x3b05e0[_0x56f202(0x12d)](_0x324b30),'revision':0x0,'userID':_0x5e673a,'memberID':_0x1cceab,'mutations':_0x11e742},'pendingMutations':_0x216bce[_0x56f202(0x3fe)](_0x11e742['length'])};}function _0xad5e0e(_0x450e4e,_0x335a27,_0x26d134,_0x5deb2e,_0x4251f1){var _0xfe569b=_0x4f3d5a,_0x5e15bd,_0x581aa7,_0x174f79,_0x19f94e;const _0x4fce45=[_0x450e4e[_0xfe569b(0x3fb)]((_0x56f4ed,_0x4d7e7e)=>{var _0xa038cc=_0xfe569b,_0x3f53b1;const {id:_0x523aab}=_0x56f4ed,{id:_0x2804c3,type:_0x458815}=_0x4d7e7e,_0x403125=(_0x3f53b1=_0x56f4ed['params'])!=null?_0x3f53b1:{'actions':null},_0x27ea2c=_0x4d7e7e[_0xa038cc(0x37c)];if(_0x523aab&&_0x523aab!==_0x2804c3)throw new Error(_0xa038cc(0x19f)+_0x523aab+_0xa038cc(0x2fe)+_0x2804c3+'.');return{..._0x56f4ed,'id':_0x2804c3,'type':_0x458815,'params':{'unitId':_0x27ea2c[_0xa038cc(0x2a6)],'textRanges':_0x27ea2c[_0xa038cc(0x15a)],'actions':_0x3392b5[_0xa038cc(0x3eb)][_0xa038cc(0x34c)](_0x403125['actions'],_0x27ea2c[_0xa038cc(0xb8)])}};},{})],_0x5d4a22=(_0x581aa7=(_0x5e15bd=_0x4251f1[_0xfe569b(0x1bb)]())==null?void 0x0:_0x5e15bd[_0xfe569b(0x25f)])!=null?_0x581aa7:'unknown',_0x173593=(_0x19f94e=(_0x174f79=_0x4251f1['getCurrentUser']())==null?void 0x0:_0x174f79[_0xfe569b(0x185)])!=null?_0x19f94e:_0xfe569b(0x353);return{'changeset':{'unitID':_0x335a27,'type':_0x2e372d['mapDocumentTypeToUniverType'](_0x26d134[_0xfe569b(0x3b9)](_0x335a27)),'baseRev':_0x5deb2e[_0xfe569b(0x12d)](_0x335a27),'revision':0x0,'userID':_0x5d4a22,'memberID':_0x173593,'mutations':_0x4fce45},'pendingMutations':[]};}function _0x162f53(_0x5d2cea,_0x33aadd){var _0x5df35d=_0x4f3d5a;const _0x44b383=new _0x2c1c73['ReplaySubject'](0x1);return setTimeout(()=>_0x44b383['next'](_0x33aadd),_0x5d2cea),_0x44b383[_0x5df35d(0x28d)]()[_0x5df35d(0x1c4)](_0x2c1c73[_0x5df35d(0x3e5)](0x1));}var _0x5ad3a8=Object['getOwnPropertyDescriptor'],_0xe1621a=(_0x5ac6fe,_0x595843,_0x1bd487,_0x310054)=>{for(var _0xf4020d=_0x310054>0x1?void 0x0:_0x310054?_0x5ad3a8(_0x595843,_0x1bd487):_0x595843,_0x4f8c63=_0x5ac6fe['length']-0x1,_0x105404;_0x4f8c63>=0x0;_0x4f8c63--)(_0x105404=_0x5ac6fe[_0x4f8c63])&&(_0xf4020d=_0x105404(_0xf4020d)||_0xf4020d);return _0xf4020d;},_0x558211=(_0x3a1055,_0x307477)=>(_0x165e0c,_0x5a546d)=>_0x307477(_0x165e0c,_0x5a546d,_0x3a1055),_0x544502=(_0xd647bc=>(_0xd647bc[_0x4f3d5a(0x2d4)]=_0x4f3d5a(0x2d6),_0xd647bc[_0x4f3d5a(0x2e7)]=_0x4f3d5a(0x224),_0xd647bc[_0x4f3d5a(0xc4)]=_0x4f3d5a(0x1a3),_0xd647bc[_0x4f3d5a(0xb2)]=_0x4f3d5a(0x2ba),_0xd647bc['AWAITING_WITH_PENDING']='awaiting_with_pending',_0xd647bc[_0x4f3d5a(0x1ad)]='fetch_missing',_0xd647bc[_0x4f3d5a(0x2b6)]=_0x4f3d5a(0x1c0),_0xd647bc[_0x4f3d5a(0x27a)]='offline',_0xd647bc))(_0x544502||{});const _0x31105b=0x4e20,_0x54bef6=0x2bf20;class _0x2448c4{constructor(_0x434284,_0x49f9db,_0x21dec9,_0x4162be,_0x598fd8,_0x26d2df,_0x5b4db8,_0x24e324,_0x373222){var _0xf2a49b=_0x4f3d5a;_0x2cd3a0(this,_0xf2a49b(0x2c4),null),_0x2cd3a0(this,_0xf2a49b(0x435),[]),(this[_0xf2a49b(0x259)]=_0x434284,this[_0xf2a49b(0x116)]=_0x49f9db,this[_0xf2a49b(0x3ac)]=_0x598fd8,this[_0xf2a49b(0x29b)]=_0x26d2df,this[_0xf2a49b(0x392)]=_0x5b4db8,this[_0xf2a49b(0x402)]=_0x24e324,this['_localCacheService']=_0x373222,this['_awaitingChangeset']=_0x21dec9,this['_pendingMutations']=_0x4162be);}[_0x4f3d5a(0x113)](_0x3439fb){var _0x446b1b=_0x4f3d5a;const _0x107a2c=this[_0x446b1b(0x402)][_0x446b1b(0x12d)](this[_0x446b1b(0x259)]);return _0x3439fb[_0x446b1b(0x123)]>_0x107a2c+0x1?(this['_handler'][_0x446b1b(0x2f5)]({'from':_0x107a2c,'to':_0x3439fb[_0x446b1b(0x123)]-0x1}),!0x0):!0x1;}['_transformUndoredo'](_0x1e10f4){var _0x3f7c8b=_0x4f3d5a;this['_undoRedoService'][_0x3f7c8b(0x3fa)](this[_0x3f7c8b(0x259)],_0x1e10f4);}[_0x4f3d5a(0xae)](_0x3aad75){var _0x4a395c=_0x4f3d5a,_0x430406,_0x124cd0;(_0x124cd0=(_0x430406=this['_handler'])[_0x4a395c(0x18a)])==null||_0x124cd0['call'](_0x430406,_0x3aad75);}[_0x4f3d5a(0x212)](_0x2b4d1b){var _0x14e4dc=_0x4f3d5a,_0xbed10f,_0x42c791;return(_0x42c791=(_0xbed10f=this[_0x14e4dc(0x3ac)])[_0x14e4dc(0x171)])==null?void 0x0:_0x42c791[_0x14e4dc(0x1da)](_0xbed10f,_0x2b4d1b);}[_0x4f3d5a(0x37e)](_0x59fd01){var _0x1236cc=_0x4f3d5a,_0x775e79,_0x201a4b;return(_0x201a4b=(_0x775e79=this['_handler'])[_0x1236cc(0x3dc)])==null?void 0x0:_0x201a4b['call'](_0x775e79,_0x59fd01);}['_transformRemoteChangesetByIMECache'](_0x1ffba4){var _0x53b36b=_0x4f3d5a,_0x156246,_0x3220d1,_0x5593cf;return(_0x5593cf=(_0x3220d1=(_0x156246=this[_0x53b36b(0x3ac)])[_0x53b36b(0x443)])==null?void 0x0:_0x3220d1[_0x53b36b(0x1da)](_0x156246,_0x1ffba4))!=null?_0x5593cf:_0x1ffba4;}[_0x4f3d5a(0x251)](_0x16f6d8){var _0x39cfad=_0x4f3d5a,_0x4d713d,_0xce8311,_0x130f03;return(_0x130f03=(_0xce8311=(_0x4d713d=this[_0x39cfad(0x3ac)])[_0x39cfad(0x200)])==null?void 0x0:_0xce8311['call'](_0x4d713d,_0x16f6d8))!=null?_0x130f03:_0x16f6d8;}['_syncEditingCollabCursor'](_0x451b55){var _0x2f232d=_0x4f3d5a,_0x4cb0a7,_0x3b5ec7;if(this[_0x2f232d(0x116)]===_0x2f4b9b['UNIVER_DOC']){const {unitID:_0x3ab57d,mutations:_0xe837eb,memberID:_0x1a022f}=_0x451b55,_0x494afa=_0xe837eb[_0x2f232d(0x36c)]>0x0?_0xe837eb[0x0]['params'][_0x2f232d(0x15a)]:[];Array['isArray'](_0x494afa)&&_0x494afa['length']>0x0&&((_0x3b5ec7=(_0x4cb0a7=this[_0x2f232d(0x3ac)])['onSyncEditingCollabCursor'])==null||_0x3b5ec7[_0x2f232d(0x1da)](_0x4cb0a7,{'unitID':_0x3ab57d,'memberID':_0x1a022f,'textRanges':_0x494afa}));}}['_updateLocalCache'](){var _0x204eb3=_0x4f3d5a,_0x32152a;(_0x32152a=this['_localCacheService'])==null||_0x32152a[_0x204eb3(0x39e)](this['unitID'],this[_0x204eb3(0x116)],this[_0x204eb3(0x2c4)],this['_pendingMutations']);}[_0x4f3d5a(0x29e)](){var _0x5f5ad9=_0x4f3d5a;return this[_0x5f5ad9(0x402)][_0x5f5ad9(0x12d)](this['unitID']);}[_0x4f3d5a(0x3b8)](){var _0x454b20=_0x4f3d5a;this[_0x454b20(0x402)]['incrementRevOfUnit'](this[_0x454b20(0x259)]);}['_executeRemoteChangeset'](_0xe8d51d){var _0x249e31=_0x4f3d5a,_0x21758f;let _0x56d154=this[_0x249e31(0x311)](_0xe8d51d);_0x56d154=this[_0x249e31(0x251)](_0x56d154);const _0x1dce83=_0x3392b5[_0x249e31(0x36d)](_0x56d154[_0x249e31(0x204)],this[_0x249e31(0x29b)],{'fromCollab':!0x0});if(!_0x1dce83[_0x249e31(0x161)])throw _0x1dce83[_0x249e31(0x316)]instanceof Error?_0x1dce83[_0x249e31(0x316)]:new Error((_0x21758f=_0x1dce83[_0x249e31(0x316)])!=null?_0x21758f:_0x249e31(0x2e3));this[_0x249e31(0x212)](_0x56d154),this[_0x249e31(0x37e)](_0x56d154),this[_0x249e31(0x370)](_0xe8d51d),this[_0x249e31(0xae)](_0x56d154),this[_0x249e31(0x39a)](_0x56d154),this['_incrementRevisionNumber']();}}_0x427316[_0x4f3d5a(0x389)]=class extends _0x2448c4{constructor(_0x27720c,_0x40923b,_0x140dbc,_0x211e95,_0x114ff4,_0x67eec,_0x2dd972,_0x11242d,_0x5ac3bf,_0xd054d6){var _0x51fc93=_0x4f3d5a;super(_0x27720c,_0x40923b,null,[],_0x140dbc,_0x2dd972,_0x67eec,_0x211e95,_0xd054d6),_0x2cd3a0(this,_0x51fc93(0x319),_0x51fc93(0x224)),(this[_0x51fc93(0x1fb)]=_0x114ff4,this[_0x51fc93(0x165)]=_0x11242d,this['_transformService']=_0x5ac3bf,this[_0x51fc93(0x2ef)]=_0xd054d6);}[_0x4f3d5a(0x195)](_0x17eb9b){var _0x274f89=_0x4f3d5a;const _0x2e51b6=this[_0x274f89(0x1fb)][_0x274f89(0x417)](_0x427316[_0x274f89(0x2b0)],this[_0x274f89(0x259)],this[_0x274f89(0x116)],[_0x17eb9b],this[_0x274f89(0x3ac)]);return _0x2e51b6['_schedule'](),_0x2e51b6['_updateLocalCache'](),_0x2e51b6;}[_0x4f3d5a(0x110)](_0x10cc41){var _0x1dec5b=_0x4f3d5a;if(this[_0x1dec5b(0x113)](_0x10cc41))return this[_0x1dec5b(0x1fb)]['createInstance'](_0x427316[_0x1dec5b(0x1cb)],this['unitID'],this[_0x1dec5b(0x116)],null,[],null,[_0x10cc41],this['_handler']);try{const _0xe13773=this['_transformService'][_0x1dec5b(0x434)](_0x10cc41,[_0x2e372d[_0x1dec5b(0x1e4)]]);if(_0x2e372d[_0x1dec5b(0x199)](_0xe13773)){const {c1Prime:_0x107af9}=_0xe13773;return this[_0x1dec5b(0x24f)](_0x107af9),this;}throw _0xe13773[_0x1dec5b(0x316)];}catch(_0x4afbec){return this[_0x1dec5b(0x165)]['error'](_0x4afbec),this['_onConflict'](!0x1);}}[_0x4f3d5a(0x250)](_0x3bdab2){var _0x1599fa=_0x4f3d5a;return this[_0x1599fa(0x1fb)][_0x1599fa(0x417)](_0x427316[_0x1599fa(0x11c)],this['unitID'],this[_0x1599fa(0x116)],null,[],this['_handler'],_0x3bdab2);}['onRemoteAck'](){throw new Error('[SyncedState]:\x20received\x20acknowledgement.');}[_0x4f3d5a(0x2c5)](){var _0x4865b1=_0x4f3d5a;throw new Error(_0x4865b1(0x361));}[_0x4f3d5a(0x201)](){return this;}[_0x4f3d5a(0x163)](){var _0x4f3cc4=_0x4f3d5a;return this[_0x4f3cc4(0x1fb)]['createInstance'](_0x427316['OfflineState'],this[_0x4f3cc4(0x259)],this[_0x4f3cc4(0x116)],null,[],this[_0x4f3cc4(0x3ac)]);}[_0x4f3d5a(0x12e)](){return this;}[_0x4f3d5a(0x1ca)](){var _0x3fe507=_0x4f3d5a;throw new Error(_0x3fe507(0x3ca));}[_0x4f3d5a(0x274)](){var _0x260228=_0x4f3d5a;const _0xe50d1c=this[_0x260228(0x402)][_0x260228(0x12d)](this[_0x260228(0x259)]);return this[_0x260228(0x3ac)][_0x260228(0x2f5)]({'from':_0xe50d1c,'to':0x0}),this[_0x260228(0x1fb)][_0x260228(0x417)](_0x427316[_0x260228(0x1cb)],this[_0x260228(0x259)],this[_0x260228(0x116)],null,[],null,[],this['_handler']);}},_0x427316['SyncedState']=_0xe1621a([_0x558211(0x3,_0x3392b5['Inject'](_0x2e372d[_0x4f3d5a(0x2ab)])),_0x558211(0x4,_0x3392b5[_0x4f3d5a(0x329)](_0x3392b5[_0x4f3d5a(0x421)])),_0x558211(0x5,_0x3392b5[_0x4f3d5a(0x438)]),_0x558211(0x6,_0x3392b5[_0x4f3d5a(0x2ff)]),_0x558211(0x7,_0x3392b5[_0x4f3d5a(0x1c1)]),_0x558211(0x8,_0x2e372d['ITransformService']),_0x558211(0x9,_0x3392b5['Optional'](_0x4597c5))],_0x427316[_0x4f3d5a(0x389)]),_0x427316[_0x4f3d5a(0x2b0)]=class extends _0x2448c4{constructor(_0x1802a8,_0x34b70b,_0x1feda8,_0x17190c,_0x2b2755,_0x594a88,_0x9b4bd1,_0x27ac66,_0x430d93,_0x215e52,_0x382f3e,_0xaac94a,_0x46be05,_0x3f497e){var _0x160479=_0x4f3d5a;super(_0x1802a8,_0x34b70b,null,_0x1feda8,_0x17190c,_0x430d93,_0x46be05,_0x594a88,_0x3f497e),_0x2cd3a0(this,_0x160479(0x319),_0x160479(0x1a3)),_0x2cd3a0(this,'_scheduleCompleteTimestamp',null),_0x2cd3a0(this,_0x160479(0x1df),null),(this[_0x160479(0x1fb)]=_0x2b2755,this[_0x160479(0x1c3)]=_0x9b4bd1,this[_0x160479(0x165)]=_0x27ac66,this[_0x160479(0xd0)]=_0x215e52,this[_0x160479(0x2a3)]=_0x382f3e,this['_univerInstanceService']=_0xaac94a);}[_0x4f3d5a(0x195)](_0x300b2c){var _0x3459ff=_0x4f3d5a;return this[_0x3459ff(0x435)][_0x3459ff(0x228)](_0x300b2c),this[_0x3459ff(0x23e)](),this;}[_0x4f3d5a(0x110)](_0x275547){var _0x408c70=_0x4f3d5a;if(this[_0x408c70(0x113)](_0x275547))return this['_clearScheduledTask'](),this[_0x408c70(0x1fb)][_0x408c70(0x417)](_0x427316[_0x408c70(0x1cb)],this[_0x408c70(0x259)],this[_0x408c70(0x116)],null,this[_0x408c70(0x435)],null,[_0x275547],this[_0x408c70(0x3ac)]);try{const _0x62f2ce=this[_0x408c70(0x2a3)]['transformMutationsWithChangeset'](_0x275547,this[_0x408c70(0x435)]);if(_0x2e372d[_0x408c70(0x199)](_0x62f2ce)){const {c1Prime:_0x10e653,m2Prime:_0x2944a7}=_0x62f2ce;this['_executeRemoteChangeset'](_0x10e653);const _0x477914=this[_0x408c70(0x1fb)][_0x408c70(0x417)](_0x427316[_0x408c70(0x2b0)],this[_0x408c70(0x259)],this[_0x408c70(0x116)],_0x2944a7,this['_handler']);this[_0x408c70(0xc2)]();const _0x13e1a8=new Date()[_0x408c70(0x286)](),_0x3e8283=this[_0x408c70(0x362)]?Math[_0x408c70(0x40b)](this[_0x408c70(0x362)]-_0x13e1a8,0x0):this[_0x408c70(0x2c9)]();return _0x477914[_0x408c70(0x34b)](_0x3e8283),_0x477914;}throw _0x62f2ce[_0x408c70(0x316)];}catch(_0x45be74){return this[_0x408c70(0x165)][_0x408c70(0x316)](_0x45be74),this[_0x408c70(0x250)](!0x1);}}[_0x4f3d5a(0x119)](){var _0x4fbe91=_0x4f3d5a;throw new Error(_0x4fbe91(0x16a));}['onRemoteRej'](){var _0x10c193=_0x4f3d5a;throw new Error(_0x10c193(0x317));}[_0x4f3d5a(0x201)](){return this;}['toggleOffline'](){var _0x18399c=_0x4f3d5a;return this[_0x18399c(0xc2)](),this[_0x18399c(0x1fb)][_0x18399c(0x417)](_0x427316[_0x18399c(0x33c)],this['unitID'],this[_0x18399c(0x116)],null,this[_0x18399c(0x435)],this[_0x18399c(0x3ac)]);}['toggleOnline'](){return this;}[_0x4f3d5a(0x34b)](_0x5a1d7b){var _0x563a40=_0x4f3d5a;const _0x314b4c=_0x5a1d7b!=null?_0x5a1d7b:this[_0x563a40(0x2c9)]();this[_0x563a40(0x362)]=new Date()[_0x563a40(0x286)]()+_0x314b4c,this[_0x563a40(0x1df)]=setTimeout(()=>{var _0x28608d=_0x563a40;this[_0x28608d(0xc2)]();let _0x138697=null;switch(this['type']){case _0x2f4b9b[_0x28608d(0x214)]:{_0x138697=_0x38a3b5(this[_0x28608d(0x435)],this[_0x28608d(0x259)],this['_univerInstanceService'],this[_0x28608d(0x402)],this[_0x28608d(0x1c3)]);break;}case _0x2f4b9b[_0x28608d(0x26b)]:{this[_0x28608d(0x435)]['every'](_0x5a9512=>_0x5a9512['id']===_0x2b0001[_0x28608d(0x2e6)]['id'])?_0x138697=_0xad5e0e(this[_0x28608d(0x435)],this[_0x28608d(0x259)],this[_0x28608d(0x43d)],this['_revisionService'],this[_0x28608d(0x1c3)]):_0x138697=_0x38a3b5(this[_0x28608d(0x435)],this[_0x28608d(0x259)],this[_0x28608d(0x43d)],this[_0x28608d(0x402)],this['_memberService']);break;}default:throw new Error(_0x28608d(0x327)+this['type']+_0x28608d(0x27c));}const {changeset:_0x46d24f,pendingMutations:_0x44b3fb}=_0x138697;this[_0x28608d(0x3ac)][_0x28608d(0x3e9)](_0x46d24f);const _0x43160d=_0x44b3fb[_0x28608d(0x36c)]?this['_injector'][_0x28608d(0x417)](_0x427316['AwaitingWithPendingState'],this['unitID'],this['type'],_0x46d24f,_0x44b3fb,this['_handler'],void 0x0):this[_0x28608d(0x1fb)][_0x28608d(0x417)](_0x427316[_0x28608d(0xdc)],this[_0x28608d(0x259)],this[_0x28608d(0x116)],_0x46d24f,this[_0x28608d(0x3ac)]);_0x43160d['_updateLocalCache'](),this[_0x28608d(0x3ac)][_0x28608d(0x1a6)](this,_0x43160d);},_0x314b4c);}['_getSendChangesetTimeout'](){var _0x597acd=_0x4f3d5a,_0x5adfd7;const _0x5c7989=this[_0x597acd(0xd0)][_0x597acd(0x38d)](_0x5dafb3);return(_0x5adfd7=_0x5c7989==null?void 0x0:_0x5c7989[_0x597acd(0xe0)])!=null?_0x5adfd7:0x7d0;}[_0x4f3d5a(0x1ca)](){var _0x21172a=_0x4f3d5a;throw new Error(_0x21172a(0x2d0));}[_0x4f3d5a(0xc2)](){var _0x6ada44=_0x4f3d5a;this[_0x6ada44(0x1df)]!=null&&(clearTimeout(this[_0x6ada44(0x1df)]),this[_0x6ada44(0x1df)]=null);}[_0x4f3d5a(0x250)](_0x53bba3){var _0x254e42=_0x4f3d5a;return this[_0x254e42(0xc2)](),this['_injector'][_0x254e42(0x417)](_0x427316[_0x254e42(0x11c)],this[_0x254e42(0x259)],this['type'],null,this[_0x254e42(0x435)],this[_0x254e42(0x3ac)],_0x53bba3);}},_0x427316[_0x4f3d5a(0x2b0)]=_0xe1621a([_0x558211(0x4,_0x3392b5[_0x4f3d5a(0x329)](_0x3392b5[_0x4f3d5a(0x421)])),_0x558211(0x5,_0x3392b5[_0x4f3d5a(0x329)](_0x2e372d[_0x4f3d5a(0x2ab)])),_0x558211(0x6,_0x3392b5[_0x4f3d5a(0x329)](_0x427316['MemberService'])),_0x558211(0x7,_0x3392b5[_0x4f3d5a(0x1c1)]),_0x558211(0x8,_0x3392b5['ICommandService']),_0x558211(0x9,_0x3392b5[_0x4f3d5a(0x3dd)]),_0x558211(0xa,_0x2e372d[_0x4f3d5a(0x241)]),_0x558211(0xb,_0x3392b5['IUniverInstanceService']),_0x558211(0xc,_0x3392b5['IUndoRedoService']),_0x558211(0xd,_0x3392b5[_0x4f3d5a(0x289)](_0x4597c5))],_0x427316[_0x4f3d5a(0x2b0)]),_0x427316['AwaitingState']=class extends _0x2448c4{constructor(_0x1cd64a,_0xb5b606,_0x3d6bf1,_0x345781,_0x5c4294,_0x587d5c,_0xdf7f68,_0x3a53da,_0x22572d,_0x319a37,_0x52d565){var _0x24fa02=_0x4f3d5a;super(_0x1cd64a,_0xb5b606,_0x3d6bf1,[],_0x345781,_0xdf7f68,_0x319a37,_0x587d5c,_0x52d565),_0x2cd3a0(this,_0x24fa02(0x319),'awaiting'),_0x2cd3a0(this,_0x24fa02(0x117),0x0),_0x2cd3a0(this,_0x24fa02(0x1ab),0x0),_0x2cd3a0(this,_0x24fa02(0x426)),_0x2cd3a0(this,_0x24fa02(0x40e)),(this['_injector']=_0x5c4294,this[_0x24fa02(0x165)]=_0x3a53da,this[_0x24fa02(0x2a3)]=_0x22572d);}[_0x4f3d5a(0x195)](_0x2fd610){var _0x40f47c=_0x4f3d5a;this['_clearScheduledTask']();const _0x12de03=this[_0x40f47c(0x1fb)][_0x40f47c(0x417)](_0x427316[_0x40f47c(0x254)],this[_0x40f47c(0x259)],this[_0x40f47c(0x116)],this[_0x40f47c(0x2c4)],[_0x2fd610],this[_0x40f47c(0x3ac)],this['_resendTimer']);return _0x12de03[_0x40f47c(0x23e)](),_0x12de03;}[_0x4f3d5a(0x110)](_0x25ea3d){var _0x3a9ffb=_0x4f3d5a;if(this[_0x3a9ffb(0x113)](_0x25ea3d))return this[_0x3a9ffb(0xc2)](),this[_0x3a9ffb(0x1fb)][_0x3a9ffb(0x417)](_0x427316[_0x3a9ffb(0x1cb)],this[_0x3a9ffb(0x259)],this['type'],this[_0x3a9ffb(0x2c4)],[],null,[_0x25ea3d],this[_0x3a9ffb(0x3ac)]);try{const _0x5c6a9b=this[_0x3a9ffb(0x2a3)]['transformChangesets']([_0x25ea3d],[this[_0x3a9ffb(0x2c4)]],!0x1);if(_0x2e372d['isTransformChangesetsSuccess'](_0x5c6a9b)){const {c1Prime:_0x249235,c2Prime:_0x13151e}=_0x5c6a9b;this[_0x3a9ffb(0x24f)](_0x249235[0x0]),_0x13151e[0x0][_0x3a9ffb(0x378)]=this[_0x3a9ffb(0x29e)](),this['_clearScheduledTask']();const _0x412114=this[_0x3a9ffb(0x1fb)][_0x3a9ffb(0x417)](_0x427316[_0x3a9ffb(0xdc)],this[_0x3a9ffb(0x259)],this[_0x3a9ffb(0x116)],_0x13151e[0x0],this[_0x3a9ffb(0x3ac)]);return _0x412114[_0x3a9ffb(0x23e)](),_0x412114;}return this[_0x3a9ffb(0x250)](!0x1);}catch(_0x195f98){return this[_0x3a9ffb(0x165)]['error'](_0x195f98),this[_0x3a9ffb(0x250)](!0x1);}}[_0x4f3d5a(0x119)](_0x27bb56){var _0x42680a=_0x4f3d5a;this[_0x42680a(0xc2)]();const _0x23b8ef=this[_0x42680a(0x402)]['getCurrentRevOfUnit'](this[_0x42680a(0x259)]);if(_0x27bb56[_0x42680a(0x123)]<_0x23b8ef-0x1)return this;if(this[_0x42680a(0x113)](_0x27bb56))return this[_0x42680a(0x1fb)][_0x42680a(0x417)](_0x427316[_0x42680a(0x1cb)],this[_0x42680a(0x259)],this['type'],null,[],this[_0x42680a(0x2c4)],[],this['_handler']);this[_0x42680a(0x3b8)]();const _0x494768=this[_0x42680a(0x1fb)][_0x42680a(0x417)](_0x427316[_0x42680a(0x389)],this['unitID'],this[_0x42680a(0x116)],this[_0x42680a(0x3ac)]);return _0x494768['_updateLocalCache'](),_0x494768;}[_0x4f3d5a(0x2c5)](_0x1a3cb3){var _0x441e34=_0x4f3d5a;return this[_0x441e34(0x250)](!!(_0x1a3cb3!=null&&_0x1a3cb3[_0x441e34(0x2bb)]));}[_0x4f3d5a(0x201)](_0x3cc002){var _0xe4ecf7=_0x4f3d5a;return this[_0xe4ecf7(0x1ab)]>_0x54bef6?this['toggleOffline']():(this[_0xe4ecf7(0x426)]=_0x162f53(this[_0xe4ecf7(0x117)],{'timeout':this[_0xe4ecf7(0x117)],'reqId':_0x3cc002['reqId']}),this['_sender']=this[_0xe4ecf7(0x426)][_0xe4ecf7(0x12f)](({reqId:_0x33af65,timeout:_0xcec685})=>{var _0x1e3209=_0xe4ecf7;this[_0x1e3209(0x2cb)](_0x33af65,_0xcec685);}),this);}['toggleOffline'](){var _0x3625e7=_0x4f3d5a;return this['_clearScheduledTask'](),this[_0x3625e7(0x1fb)][_0x3625e7(0x417)](_0x427316[_0x3625e7(0x33c)],this[_0x3625e7(0x259)],this['type'],this[_0x3625e7(0x2c4)],[],this['_handler']);}[_0x4f3d5a(0x12e)](){return this;}['resend'](){var _0x36e76e=_0x4f3d5a;this[_0x36e76e(0x3ac)][_0x36e76e(0x3e9)](this[_0x36e76e(0x2c4)]);}[_0x4f3d5a(0x250)](_0x17c441){var _0x3e8735=_0x4f3d5a;return this[_0x3e8735(0xc2)](),this[_0x3e8735(0x1fb)][_0x3e8735(0x417)](_0x427316[_0x3e8735(0x11c)],this['unitID'],this[_0x3e8735(0x116)],this[_0x3e8735(0x2c4)],[],this[_0x3e8735(0x3ac)],_0x17c441);}[_0x4f3d5a(0x2cb)](_0x7304c8,_0x18a8ac){var _0x421126=_0x4f3d5a,_0x3504fb;_0x7304c8===((_0x3504fb=this[_0x421126(0x2c4)])==null?void 0x0:_0x3504fb[_0x421126(0x3ad)])&&(this[_0x421126(0x1ca)](),this[_0x421126(0x117)]=_0x18a8ac===0x0?0x3e8:Math[_0x421126(0x345)](_0x18a8ac*0x2,_0x31105b),this[_0x421126(0x1ab)]+=this[_0x421126(0x117)]);}[_0x4f3d5a(0xc2)](){var _0x2fcdf6=_0x4f3d5a,_0x47de73;(_0x47de73=this[_0x2fcdf6(0x40e)])==null||_0x47de73['unsubscribe'](),this[_0x2fcdf6(0x117)]=0x0,this[_0x2fcdf6(0x1ab)]=0x0;}},_0x427316['AwaitingState']=_0xe1621a([_0x558211(0x4,_0x3392b5[_0x4f3d5a(0x329)](_0x3392b5[_0x4f3d5a(0x421)])),_0x558211(0x5,_0x3392b5['Inject'](_0x2e372d[_0x4f3d5a(0x2ab)])),_0x558211(0x6,_0x3392b5[_0x4f3d5a(0x2ff)]),_0x558211(0x7,_0x3392b5[_0x4f3d5a(0x1c1)]),_0x558211(0x8,_0x2e372d[_0x4f3d5a(0x241)]),_0x558211(0x9,_0x3392b5[_0x4f3d5a(0x438)]),_0x558211(0xa,_0x3392b5[_0x4f3d5a(0x289)](_0x4597c5))],_0x427316[_0x4f3d5a(0xdc)]),_0x427316[_0x4f3d5a(0x254)]=class extends _0x2448c4{constructor(_0x581763,_0x4ec52d,_0x4f010d,_0x5883b7,_0x542f28,_0x4b1d13,_0x13e2ed,_0x5ca93f,_0x183293,_0x331a49,_0x22d35d,_0x39e352,_0x6dd78d){var _0x56312a=_0x4f3d5a;super(_0x581763,_0x4ec52d,_0x4f010d,_0x5883b7,_0x542f28,_0x183293,_0x39e352,_0x5ca93f,_0x6dd78d),_0x2cd3a0(this,'status','awaiting_with_pending'),_0x2cd3a0(this,'_resendTimeout',0x0),_0x2cd3a0(this,_0x56312a(0x1ab),0x0),_0x2cd3a0(this,_0x56312a(0x426)),_0x2cd3a0(this,_0x56312a(0x40e)),(this[_0x56312a(0x1fb)]=_0x13e2ed,this['_logService']=_0x331a49,this['_transformService']=_0x22d35d,this['localCacheService']=_0x6dd78d,_0x4b1d13&&(this[_0x56312a(0x426)]=_0x4b1d13,this[_0x56312a(0x40e)]=this[_0x56312a(0x426)]['subscribe'](({reqId:_0x4c74f9,timeout:_0x36a4a8})=>{var _0x22d434=_0x56312a;this[_0x22d434(0x2cb)](_0x4c74f9,_0x36a4a8);})));}['appendMutation'](_0x2dabf9){var _0x7d8b2e=_0x4f3d5a;return this['_pendingMutations'][_0x7d8b2e(0x228)](_0x2dabf9),this;}[_0x4f3d5a(0x110)](_0x3bfb40){var _0x56ccb7=_0x4f3d5a;if(this[_0x56ccb7(0x113)](_0x3bfb40))return this['_clearScheduledTask'](),this[_0x56ccb7(0x1fb)][_0x56ccb7(0x417)](_0x427316[_0x56ccb7(0x1cb)],this[_0x56ccb7(0x259)],this[_0x56ccb7(0x116)],this['_awaitingChangeset'],this[_0x56ccb7(0x435)],null,[_0x3bfb40],this[_0x56ccb7(0x3ac)]);try{const _0x7ab73f=this[_0x56ccb7(0x2a3)][_0x56ccb7(0x1d3)]([_0x3bfb40],[this[_0x56ccb7(0x2c4)]],!0x1);if(_0x2e372d['isTransformChangesetsSuccess'](_0x7ab73f)){const {c1Prime:_0x28f1c5,c2Prime:_0x2d61cb}=_0x7ab73f,_0x4ff5f8=this['_transformService']['transformMutationsWithChangeset'](_0x28f1c5[0x0],this[_0x56ccb7(0x435)]);if(_0x2e372d[_0x56ccb7(0x199)](_0x4ff5f8)){const {c1Prime:_0x335e5f,m2Prime:_0x48abf1}=_0x4ff5f8;return this[_0x56ccb7(0x24f)](_0x335e5f),_0x2d61cb[0x0]['baseRev']=this[_0x56ccb7(0x29e)](),this['_clearScheduledTask'](),this[_0x56ccb7(0x1fb)][_0x56ccb7(0x417)](_0x427316[_0x56ccb7(0x254)],this[_0x56ccb7(0x259)],this[_0x56ccb7(0x116)],_0x2d61cb[0x0],_0x48abf1,this['_handler'],void 0x0);}throw _0x4ff5f8[_0x56ccb7(0x316)];}throw _0x7ab73f['error'];}catch(_0x1e0991){return this[_0x56ccb7(0x165)][_0x56ccb7(0x316)](_0x1e0991),this[_0x56ccb7(0x250)](!0x1);}}[_0x4f3d5a(0x119)](_0x28b10b){var _0x14f469=_0x4f3d5a;if(this[_0x14f469(0xc2)](),this[_0x14f469(0x113)](_0x28b10b))return this[_0x14f469(0x1fb)]['createInstance'](_0x427316[_0x14f469(0x1cb)],this[_0x14f469(0x259)],this[_0x14f469(0x116)],null,this[_0x14f469(0x435)],this['_awaitingChangeset'],[],this[_0x14f469(0x3ac)]);this[_0x14f469(0x3b8)]();const _0x3232e0=this[_0x14f469(0x1fb)][_0x14f469(0x417)](_0x427316['PendingState'],this[_0x14f469(0x259)],this[_0x14f469(0x116)],this[_0x14f469(0x435)],this[_0x14f469(0x3ac)]);return _0x3232e0[_0x14f469(0x34b)](),_0x3232e0[_0x14f469(0x23e)](),_0x3232e0;}[_0x4f3d5a(0x2c5)](_0xaed517){var _0x3df2a6=_0x4f3d5a;return this[_0x3df2a6(0x250)](!!(_0xaed517!=null&&_0xaed517['isPermissionRej']));}[_0x4f3d5a(0x201)](_0x17cdd4){var _0x342d4e=_0x4f3d5a;return this['_maxTotalRetryTimeout']>_0x54bef6?this[_0x342d4e(0x163)]():(this['_resendTimer']=_0x162f53(this[_0x342d4e(0x117)],{'timeout':this[_0x342d4e(0x117)],'reqId':_0x17cdd4[_0x342d4e(0x3ad)]}),this[_0x342d4e(0x40e)]=this[_0x342d4e(0x426)][_0x342d4e(0x12f)](({reqId:_0x4051ac,timeout:_0x55533b})=>{var _0x5999fc=_0x342d4e;this[_0x5999fc(0x2cb)](_0x4051ac,_0x55533b);}),this);}[_0x4f3d5a(0x163)](){var _0x4a9df8=_0x4f3d5a;return this['_clearScheduledTask'](),this[_0x4a9df8(0x1fb)][_0x4a9df8(0x417)](_0x427316[_0x4a9df8(0x33c)],this[_0x4a9df8(0x259)],this[_0x4a9df8(0x116)],this[_0x4a9df8(0x2c4)],this[_0x4a9df8(0x435)],this[_0x4a9df8(0x3ac)]);}['toggleOnline'](){return this;}[_0x4f3d5a(0x1ca)](){var _0x5bed68=_0x4f3d5a;this[_0x5bed68(0x3ac)]['onSendChangeset'](this[_0x5bed68(0x2c4)]);}[_0x4f3d5a(0x250)](_0x32ddb0){var _0x12ff7c=_0x4f3d5a;return this[_0x12ff7c(0xc2)](),this[_0x12ff7c(0x1fb)][_0x12ff7c(0x417)](_0x427316[_0x12ff7c(0x11c)],this['unitID'],this[_0x12ff7c(0x116)],null,this[_0x12ff7c(0x435)],this['_handler'],_0x32ddb0);}[_0x4f3d5a(0x2cb)](_0x5c4098,_0x228b38){var _0x3266f3=_0x4f3d5a,_0x2c0af2;_0x5c4098===((_0x2c0af2=this[_0x3266f3(0x2c4)])==null?void 0x0:_0x2c0af2[_0x3266f3(0x3ad)])&&(this['resend'](),this[_0x3266f3(0x117)]=_0x228b38===0x0?0x3e8:Math[_0x3266f3(0x345)](_0x228b38*0x2,_0x31105b),this[_0x3266f3(0x1ab)]+=this['_resendTimeout']);}[_0x4f3d5a(0xc2)](){var _0x151300=_0x4f3d5a,_0x38d694;(_0x38d694=this[_0x151300(0x40e)])==null||_0x38d694['unsubscribe'](),this[_0x151300(0x117)]=0x0,this[_0x151300(0x1ab)]=0x0;}},_0x427316['AwaitingWithPendingState']=_0xe1621a([_0x558211(0x6,_0x3392b5[_0x4f3d5a(0x329)](_0x3392b5[_0x4f3d5a(0x421)])),_0x558211(0x7,_0x3392b5[_0x4f3d5a(0x329)](_0x2e372d[_0x4f3d5a(0x2ab)])),_0x558211(0x8,_0x3392b5[_0x4f3d5a(0x2ff)]),_0x558211(0x9,_0x3392b5['ILogService']),_0x558211(0xa,_0x2e372d[_0x4f3d5a(0x241)]),_0x558211(0xb,_0x3392b5[_0x4f3d5a(0x438)]),_0x558211(0xc,_0x3392b5['Optional'](_0x4597c5))],_0x427316[_0x4f3d5a(0x254)]),_0x427316[_0x4f3d5a(0x11c)]=class extends _0x2448c4{constructor(_0x1a88ee,_0x51e737,_0x12b566,_0x2a848f,_0x4dc012,_0x4dae39=!0x1,_0x3be1ba,_0x55cf10,_0x474b78,_0x2c0f39,_0x10653c,_0x2c545c,_0x1d501c){var _0x36d944=_0x4f3d5a;super(_0x1a88ee,_0x51e737,_0x12b566,_0x2a848f,_0x4dc012,_0x55cf10,_0x474b78,_0x2c0f39,_0x1d501c),_0x2cd3a0(this,_0x36d944(0x319),_0x36d944(0x1c0)),(this['_isPermissionRej']=_0x4dae39,this[_0x36d944(0x1f5)]=_0x3be1ba,this[_0x36d944(0x42b)]=_0x10653c,this[_0x36d944(0x179)]=_0x2c545c,this[_0x36d944(0x2ef)]=_0x1d501c,this[_0x36d944(0x2dd)](),this[_0x36d944(0xbc)](),this[_0x36d944(0x297)]());}[_0x4f3d5a(0x195)](){return this;}[_0x4f3d5a(0x110)](){return this;}['onRemoteAck'](){return this;}[_0x4f3d5a(0x2c5)](){return this;}[_0x4f3d5a(0x201)](){return this;}['toggleOffline'](){return this;}[_0x4f3d5a(0x12e)](){return this;}[_0x4f3d5a(0x1ca)](){throw new Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x4f3d5a(0xbc)](){var _0x15be3e=_0x4f3d5a,_0x2b0e52;(_0x2b0e52=this['_localCacheService'])==null||_0x2b0e52['updateOfflineData'](this[_0x15be3e(0x259)],this[_0x15be3e(0x116)],null,[]);}[_0x4f3d5a(0x2dd)](){var _0xfc54d0=_0x4f3d5a;this[_0xfc54d0(0x1a5)]?this[_0xfc54d0(0x179)]['emitEvent']({'id':_0x2f98ef[_0xfc54d0(0x30f)]}):this['_collaborationUIEventService'][_0xfc54d0(0x208)]({'id':_0x2f98ef[_0xfc54d0(0x2b6)]});}[_0x4f3d5a(0x297)](){var _0x4492c5=_0x4f3d5a;this[_0x4492c5(0x1f5)]['updatePermissionPoint'](new _0x5d6cc8[(_0x4492c5(0x30e))](this[_0x4492c5(0x259)])['id'],!0x1);}},_0x427316[_0x4f3d5a(0x11c)]=_0xe1621a([_0x558211(0x6,_0x3392b5[_0x4f3d5a(0x329)](_0x3392b5[_0x4f3d5a(0x2c0)])),_0x558211(0x7,_0x3392b5['ICommandService']),_0x558211(0x8,_0x3392b5[_0x4f3d5a(0x438)]),_0x558211(0x9,_0x3392b5['Inject'](_0x2e372d[_0x4f3d5a(0x2ab)])),_0x558211(0xa,_0x3392b5[_0x4f3d5a(0x329)](_0x3392b5['LocaleService'])),_0x558211(0xb,_0x3392b5[_0x4f3d5a(0x329)](_0x5d354c)),_0x558211(0xc,_0x3392b5[_0x4f3d5a(0x289)](_0x4597c5))],_0x427316[_0x4f3d5a(0x11c)]),_0x427316[_0x4f3d5a(0x33c)]=class extends _0x2448c4{constructor(_0x59b2c8,_0x380b6e,_0x1891f0,_0x467d8b,_0x542d25,_0x466186,_0x1b6236,_0xe40252,_0x2ca723,_0xd40a0){var _0x750104=_0x4f3d5a;super(_0x59b2c8,_0x380b6e,_0x1891f0,_0x467d8b,_0x542d25,_0xe40252,_0x2ca723,_0x1b6236,_0xd40a0),_0x2cd3a0(this,_0x750104(0x319),_0x750104(0x3e8)),this['_injector']=_0x466186;}['appendMutation'](_0x22e980){var _0x45283c=_0x4f3d5a;return this['_pendingMutations']['push'](_0x22e980),this[_0x45283c(0x23e)](),this;}[_0x4f3d5a(0x110)](_0x203c55){var _0x28f14c=_0x4f3d5a;throw new Error(_0x28f14c(0x3cc));}['onRemoteAck'](){throw new Error('[OfflineState]:\x20received\x20acknowledgement.');}[_0x4f3d5a(0x2c5)](){var _0x813708=_0x4f3d5a;throw new Error(_0x813708(0x399));}[_0x4f3d5a(0x201)](){return this;}[_0x4f3d5a(0x163)](){return this;}['toggleOnline'](){var _0x42950c=_0x4f3d5a;const {_injector:_0x391414,_pendingMutations:_0x487bbd,_awaitingChangeset:_0x368366,unitID:_0x1421d2,_handler:_0x23c4ca,type:_0x42d325}=this,_0x529fa0=_0x1b4f55(_0x391414,_0x1421d2,_0x42d325,_0x368366,_0x487bbd,_0x23c4ca);return _0x529fa0 instanceof _0x427316[_0x42950c(0x2b0)]?_0x529fa0[_0x42950c(0x34b)]():(_0x529fa0 instanceof _0x427316['AwaitingWithPendingState']||_0x529fa0 instanceof _0x427316[_0x42950c(0xdc)])&&_0x529fa0[_0x42950c(0x1ca)](),_0x529fa0;}['resend'](){throw new Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}},_0x427316[_0x4f3d5a(0x33c)]=_0xe1621a([_0x558211(0x5,_0x3392b5[_0x4f3d5a(0x329)](_0x3392b5['Injector'])),_0x558211(0x6,_0x3392b5[_0x4f3d5a(0x329)](_0x2e372d['RevisionService'])),_0x558211(0x7,_0x3392b5[_0x4f3d5a(0x2ff)]),_0x558211(0x8,_0x3392b5[_0x4f3d5a(0x438)]),_0x558211(0x9,_0x3392b5[_0x4f3d5a(0x289)](_0x4597c5))],_0x427316[_0x4f3d5a(0x33c)]),_0x427316['FetchingMissState']=class extends _0x2448c4{constructor(_0x473f62,_0x37401f,_0x3fefd5,_0x418f29,_0xe23719,_0x2fbf02,_0x3bbc18,_0x201675,_0x2cad82,_0x2de673,_0x1da0f6,_0x3099d4,_0x33ae38,_0x1d6ce1){var _0x588572=_0x4f3d5a;super(_0x473f62,_0x37401f,_0x3fefd5,_0x418f29,_0x3bbc18,_0x1da0f6,_0x3099d4,_0x2cad82,_0x1d6ce1),_0x2cd3a0(this,_0x588572(0x319),_0x588572(0x1de)),(this[_0x588572(0x32e)]=_0xe23719,this[_0x588572(0x356)]=_0x2fbf02,this[_0x588572(0x1fb)]=_0x201675,this['_logService']=_0x2de673,this[_0x588572(0x2a3)]=_0x33ae38,this[_0x588572(0x2ef)]=_0x1d6ce1);}['onMissedChangesetFetched'](_0x239490){var _0x1a3ac3=_0x4f3d5a;try{const _0x549424=[..._0x239490,...this[_0x1a3ac3(0x356)]],_0x43141c=[this[_0x1a3ac3(0x2c4)]||this[_0x1a3ac3(0x32e)]][_0x1a3ac3(0x17c)](_0x1f1078=>!!_0x1f1078);let _0x1bd895,_0x5a5267;if(_0x43141c['length']){const _0x425a57=this[_0x1a3ac3(0x2a3)]['transformChangesets'](_0x549424,_0x43141c,!0x1);if(!_0x2e372d[_0x1a3ac3(0x33a)](_0x425a57))throw _0x425a57['error'];_0x1bd895=_0x425a57[_0x1a3ac3(0xc8)],_0x5a5267=_0x425a57[_0x1a3ac3(0x350)];}else _0x1bd895=_0x549424,_0x5a5267=[];let _0x459fd6=this[_0x1a3ac3(0x435)];_0x1bd895[_0x1a3ac3(0x186)](_0x443bde=>{var _0x454fc6=_0x1a3ac3;let _0x4174be;if(_0x459fd6[_0x454fc6(0x36c)]){const _0x3869df=this[_0x454fc6(0x2a3)][_0x454fc6(0x434)](_0x443bde,_0x459fd6);if(!_0x2e372d[_0x454fc6(0x199)](_0x3869df))throw _0x3869df[_0x454fc6(0x316)];_0x4174be=_0x3869df[_0x454fc6(0xc8)],_0x459fd6=_0x3869df[_0x454fc6(0x106)];}else _0x4174be=_0x443bde;this['_executeRemoteChangeset'](_0x4174be);}),this['_acknowledgedAwaitingChangeset']&&this[_0x1a3ac3(0x3b8)](),this[_0x1a3ac3(0x2c4)]&&_0x5a5267[_0x1a3ac3(0x36c)]&&(_0x5a5267[0x0][_0x1a3ac3(0x378)]=this[_0x1a3ac3(0x29e)]());let _0x26a731;if(this[_0x1a3ac3(0x2c4)]&&_0x459fd6['length']!==0x0)_0x26a731=this[_0x1a3ac3(0x1fb)][_0x1a3ac3(0x417)](_0x427316[_0x1a3ac3(0x254)],this[_0x1a3ac3(0x259)],this[_0x1a3ac3(0x116)],_0x5a5267[0x0],_0x459fd6,this[_0x1a3ac3(0x3ac)],void 0x0);else{if(this[_0x1a3ac3(0x2c4)]&&_0x459fd6[_0x1a3ac3(0x36c)]===0x0)_0x5a5267[0x0][_0x1a3ac3(0x378)]=this[_0x1a3ac3(0x29e)](),_0x26a731=this[_0x1a3ac3(0x1fb)]['createInstance'](_0x427316['AwaitingState'],this[_0x1a3ac3(0x259)],this[_0x1a3ac3(0x116)],_0x5a5267[0x0],this[_0x1a3ac3(0x3ac)]);else{if(_0x459fd6[_0x1a3ac3(0x36c)]!==0x0){const _0x70c6a6=this['_injector'][_0x1a3ac3(0x417)](_0x427316[_0x1a3ac3(0x2b0)],this[_0x1a3ac3(0x259)],this[_0x1a3ac3(0x116)],_0x459fd6,this[_0x1a3ac3(0x3ac)]);_0x70c6a6[_0x1a3ac3(0x34b)](),_0x26a731=_0x70c6a6;}else _0x26a731=this[_0x1a3ac3(0x1fb)][_0x1a3ac3(0x417)](_0x427316['SyncedState'],this[_0x1a3ac3(0x259)],this[_0x1a3ac3(0x116)],this[_0x1a3ac3(0x3ac)]);}}return _0x26a731[_0x1a3ac3(0x23e)](),_0x26a731;}catch(_0x5355d4){return this[_0x1a3ac3(0x165)]['error']('[FetchMissState]','failed\x20to\x20apply\x20missed\x20changesets!',_0x5355d4),this['_injector'][_0x1a3ac3(0x417)](_0x427316[_0x1a3ac3(0x11c)],this[_0x1a3ac3(0x259)],this[_0x1a3ac3(0x116)],this['_awaitingChangeset'],this[_0x1a3ac3(0x435)],this[_0x1a3ac3(0x3ac)],!0x1);}}[_0x4f3d5a(0x1ca)](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}['appendMutation'](_0x5b98fb){var _0x2b07e6=_0x4f3d5a;return this[_0x2b07e6(0x435)][_0x2b07e6(0x228)](_0x5b98fb),this;}[_0x4f3d5a(0x110)](_0x506695){var _0x1940ad=_0x4f3d5a;return this[_0x1940ad(0x356)][_0x1940ad(0x228)](_0x506695),this;}[_0x4f3d5a(0x119)](_0x47cecc){var _0xb67378=_0x4f3d5a;if(this[_0xb67378(0x2c4)])return this[_0xb67378(0x32e)]=this[_0xb67378(0x2c4)],this[_0xb67378(0x2c4)]=null,this;throw new Error(_0xb67378(0xe9));}[_0x4f3d5a(0x2c5)](_0x2822a0){var _0x4fe01c=_0x4f3d5a;return this[_0x4fe01c(0x250)](!!(_0x2822a0!=null&&_0x2822a0[_0x4fe01c(0x2bb)]));}[_0x4f3d5a(0x201)](){return this;}[_0x4f3d5a(0x163)](){var _0x4783cf=_0x4f3d5a;return this[_0x4783cf(0x1fb)][_0x4783cf(0x417)](_0x427316[_0x4783cf(0x33c)],this[_0x4783cf(0x259)],this[_0x4783cf(0x116)],this[_0x4783cf(0x2c4)],this['_pendingMutations'],this[_0x4783cf(0x3ac)]);}[_0x4f3d5a(0x12e)](){return this;}[_0x4f3d5a(0x250)](_0x32bd11){var _0x5ac59c=_0x4f3d5a;return this[_0x5ac59c(0x1fb)]['createInstance'](_0x427316[_0x5ac59c(0x11c)],this[_0x5ac59c(0x259)],this[_0x5ac59c(0x116)],this[_0x5ac59c(0x2c4)],this[_0x5ac59c(0x435)],this[_0x5ac59c(0x3ac)],_0x32bd11);}},_0x427316[_0x4f3d5a(0x1cb)]=_0xe1621a([_0x558211(0x7,_0x3392b5['Inject'](_0x3392b5[_0x4f3d5a(0x421)])),_0x558211(0x8,_0x3392b5[_0x4f3d5a(0x329)](_0x2e372d[_0x4f3d5a(0x2ab)])),_0x558211(0x9,_0x3392b5['ILogService']),_0x558211(0xa,_0x3392b5[_0x4f3d5a(0x2ff)]),_0x558211(0xb,_0x3392b5[_0x4f3d5a(0x438)]),_0x558211(0xc,_0x2e372d[_0x4f3d5a(0x241)]),_0x558211(0xd,_0x3392b5['Optional'](_0x4597c5))],_0x427316['FetchingMissState']);function _0x1b4f55(_0x5511d3,_0x2e5749,_0x87ab34,_0xfd960d,_0x3b19ce,_0x15cbf4){var _0x3ce6=_0x4f3d5a;return _0xfd960d&&_0x3b19ce[_0x3ce6(0x36c)]?_0x5511d3['createInstance'](_0x427316['AwaitingWithPendingState'],_0x2e5749,_0x87ab34,_0xfd960d,_0x3b19ce,_0x15cbf4,void 0x0):_0xfd960d?_0x5511d3[_0x3ce6(0x417)](_0x427316['AwaitingState'],_0x2e5749,_0x87ab34,_0xfd960d,_0x15cbf4):_0x3b19ce[_0x3ce6(0x36c)]?_0x5511d3[_0x3ce6(0x417)](_0x427316[_0x3ce6(0x2b0)],_0x2e5749,_0x87ab34,_0x3b19ce,_0x15cbf4):_0x5511d3[_0x3ce6(0x417)](_0x427316[_0x3ce6(0x389)],_0x2e5749,_0x87ab34,_0x15cbf4);}var _0x374994=Object[_0x4f3d5a(0x246)],_0x3cec99=(_0x4e157f,_0x15aee0,_0x487b27,_0x5ab0b4)=>{var _0x14c4cb=_0x4f3d5a;for(var _0x2fc470=_0x5ab0b4>0x1?void 0x0:_0x5ab0b4?_0x374994(_0x15aee0,_0x487b27):_0x15aee0,_0x34cbee=_0x4e157f[_0x14c4cb(0x36c)]-0x1,_0x3cdb02;_0x34cbee>=0x0;_0x34cbee--)(_0x3cdb02=_0x4e157f[_0x34cbee])&&(_0x2fc470=_0x3cdb02(_0x2fc470)||_0x2fc470);return _0x2fc470;},_0x551821=(_0x39355a,_0x3f4b80)=>(_0x1aa86a,_0x3a1d1a)=>_0x3f4b80(_0x1aa86a,_0x3a1d1a,_0x39355a);_0x427316[_0x4f3d5a(0xfc)]=class extends _0x3392b5['RxDisposable']{constructor(_0x3b0bb7,_0xd0f372,_0x429a26,_0x3e9b89,_0x4f85c7,_0x422537,_0x2e8f0d,_0x2122f5,_0x5a007d,_0x4b1f14,_0x1af182,_0x58b6cf,_0x5d6448,_0x31378c){var _0x81f5c=_0x4f3d5a;super(),_0x2cd3a0(this,_0x81f5c(0x2b7),new _0x2c1c73['BehaviorSubject'](null)),_0x2cd3a0(this,_0x81f5c(0x141),this[_0x81f5c(0x2b7)][_0x81f5c(0x28d)]()),_0x2cd3a0(this,'_state'),_0x2cd3a0(this,_0x81f5c(0x382),!0x1),_0x2cd3a0(this,_0x81f5c(0x16e),''),_0x2cd3a0(this,_0x81f5c(0x410),0x0),_0x2cd3a0(this,_0x81f5c(0x42a),this[_0x81f5c(0x141)][_0x81f5c(0x1c4)](_0x2c1c73[_0x81f5c(0xa5)](_0x4fe15a=>_0x4fe15a?_0x4fe15a[_0x81f5c(0x319)]:_0x544502[_0x81f5c(0x27a)]),_0x2c1c73[_0x81f5c(0x3c0)](0x1))),_0x2cd3a0(this,'_transitionLocked',!0x1),_0x2cd3a0(this,_0x81f5c(0x22b),[]),(this[_0x81f5c(0x259)]=_0x3b0bb7,this[_0x81f5c(0xc0)]=_0xd0f372,this[_0x81f5c(0x2cf)]=_0x429a26,this[_0x81f5c(0x1fb)]=_0x3e9b89,this['_compressMutationService']=_0x4f85c7,this[_0x81f5c(0x42b)]=_0x422537,this[_0x81f5c(0x402)]=_0x2e8f0d,this[_0x81f5c(0x34e)]=_0x2122f5,this[_0x81f5c(0x43d)]=_0x5a007d,this[_0x81f5c(0x165)]=_0x4b1f14,this[_0x81f5c(0x29b)]=_0x1af182,this[_0x81f5c(0x1f5)]=_0x58b6cf,this['_singleActiveUnitService']=_0x5d6448,this['_localCacheService']=_0x31378c);}get[_0x4f3d5a(0x314)](){var _0x2ae902=_0x4f3d5a;return this[_0x2ae902(0x37a)];}async[_0x4f3d5a(0xc3)](){var _0x5d40b7=_0x4f3d5a;if(this[_0x5d40b7(0x314)])throw new Error(_0x5d40b7(0x15f));await this[_0x5d40b7(0x14d)]();}[_0x4f3d5a(0x39d)](){var _0x2a8fae=_0x4f3d5a;return this['_collaborationPaused']=!0x0,_0x3392b5[_0x2a8fae(0x128)](()=>{var _0x40e4eb=_0x2a8fae;this[_0x40e4eb(0x382)]=!0x1,this['_exhaustRemoteChangesetQueue']();});}[_0x4f3d5a(0x236)](_0x183582){var _0x2be89c=_0x4f3d5a;this[_0x2be89c(0x288)](_0x183582);}['_updateState'](_0x3bfe8d){var _0x10ea3c=_0x4f3d5a;this[_0x10ea3c(0x37a)]=_0x3bfe8d,this['_state$'][_0x10ea3c(0x191)](_0x3bfe8d);}async[_0x4f3d5a(0x14d)](){var _0x114ac0=_0x4f3d5a,_0x11d41b;this['_updateState'](await this['_createInitialState']()),this['_singleActiveUnitService']&&((_0x11d41b=this[_0x114ac0(0x364)])==null||_0x11d41b[_0x114ac0(0x3d7)](this[_0x114ac0(0x259)]),this['disposeWithMe'](this[_0x114ac0(0x364)][_0x114ac0(0x32b)](this[_0x114ac0(0x259)])[_0x114ac0(0x12f)](_0x25425=>{var _0x4606e1=_0x114ac0;this[_0x4606e1(0x165)]['debug'](_0x4606e1(0x269),'editing\x20status\x20changed\x20to',_0x25425),_0x25425===_0x10fa35['OTHER_CLIENTS_EDITING']?(this[_0x4606e1(0x34e)]['emitEvent']({'id':_0x2f98ef[_0x4606e1(0x39b)]}),this['_permissionService'][_0x4606e1(0x144)](new _0x5d6cc8[(_0x4606e1(0x30e))](this[_0x4606e1(0x259)])['id'],!0x1),this[_0x4606e1(0x1f5)][_0x4606e1(0x3a4)](!0x1)):(this['_permissionService'][_0x4606e1(0x144)](new _0x5d6cc8['WorkbookEditablePermission'](this[_0x4606e1(0x259)])['id'],!0x0),this[_0x4606e1(0x1f5)]['setShowComponents'](!0x0));})));let _0x518bcf=!0x1;return this['disposeWithMe'](this[_0x114ac0(0xc0)]['sessionStatus$'][_0x114ac0(0x12f)](_0x5d9f39=>{var _0x2a9b22=_0x114ac0;_0x5d9f39===_0x45134b['ONLINE']?this[_0x2a9b22(0x121)](_0x518bcf):_0x5d9f39===_0x45134b['OFFLINE']&&(_0x518bcf=!0x0,this[_0x2a9b22(0x280)]());})),this[_0x114ac0(0x296)](this[_0x114ac0(0xc0)][_0x114ac0(0x1c8)]['subscribe'](_0x31ba3e=>{var _0x5e1a57=_0x114ac0;try{switch(_0x31ba3e[_0x5e1a57(0x398)]){case _0x2e372d[_0x5e1a57(0x407)][_0x5e1a57(0x162)]:{this[_0x5e1a57(0x1db)](_0x2e372d[_0x5e1a57(0x431)](_0x31ba3e[_0x5e1a57(0x3ec)]));break;}case _0x2e372d[_0x5e1a57(0x407)][_0x5e1a57(0x384)]:{this[_0x5e1a57(0x40c)](_0x31ba3e[_0x5e1a57(0x3ec)]);break;}case _0x2e372d[_0x5e1a57(0x407)][_0x5e1a57(0x1e0)]:{this['_onRemoteRejected']();break;}case _0x2e372d['CollaborationEvent'][_0x5e1a57(0x153)]:{this[_0x5e1a57(0x1bf)](_0x31ba3e[_0x5e1a57(0x3ec)]);break;}case _0x2e372d['CollaborationEvent']['PSEUDO_FETCH_MISSING_RESULT']:{this['_onFetchMissResult'](_0x31ba3e[_0x5e1a57(0x3ec)][_0x5e1a57(0x283)][_0x5e1a57(0xa5)](_0x5c3309=>_0x2e372d[_0x5e1a57(0x431)](_0x5c3309)));break;}case _0x2e372d[_0x5e1a57(0x407)]['PERMISSION_REJ']:{this['_onRemoteRejected']({'isPermissionRej':!0x0});break;}case _0x2e372d['CollaborationEvent'][_0x5e1a57(0x202)]:break;}}catch(_0x2a4d41){throw console['error'](_0x5e1a57(0x372),_0x2a4d41),_0x2a4d41;}})),this[_0x114ac0(0x37a)];}['_unlockTransition'](){var _0xcfa35c=_0x4f3d5a;this[_0xcfa35c(0x148)]=!0x1;}[_0x4f3d5a(0x3e6)](){var _0x5620ec=_0x4f3d5a;if(this['_transitionLocked'])throw new Error(_0x5620ec(0x1f1));this[_0x5620ec(0x148)]=!0x0;}[_0x4f3d5a(0x288)](_0x5c3d77){var _0x130343=_0x4f3d5a;this[_0x130343(0x3e6)](),this[_0x130343(0x2d2)](this[_0x130343(0x37a)]['appendMutation'](_0x5c3d77)),this['_unlockTransition']();}[_0x4f3d5a(0x1db)](_0x4e2385){var _0x5a72e0=_0x4f3d5a;if(!(_0x4e2385[_0x5a72e0(0x123)]<=this['_revisionService'][_0x5a72e0(0x12d)](this[_0x5a72e0(0x259)]))){if(this[_0x5a72e0(0x382)]){this['_remoteChangesetQueue']['push'](_0x4e2385);return;}this[_0x5a72e0(0x37d)](_0x4e2385);}}[_0x4f3d5a(0x3fc)](){var _0x1ee13d=_0x4f3d5a;this[_0x1ee13d(0x22b)][_0x1ee13d(0x186)](_0x3966a5=>this[_0x1ee13d(0x37d)](_0x3966a5)),this[_0x1ee13d(0x22b)]=[];}[_0x4f3d5a(0x37d)](_0x33b19c){var _0x4846a2=_0x4f3d5a;const _0x17ad20=this[_0x4846a2(0x13b)]['interceptor'][_0x4846a2(0x28f)](this[_0x4846a2(0x13b)]['interceptor'][_0x4846a2(0x132)]()[_0x4846a2(0x277)])(_0x33b19c['mutations'],null)||_0x33b19c[_0x4846a2(0x204)],_0x5a4cf7={..._0x33b19c,'mutations':_0x17ad20};this[_0x4846a2(0x3e6)](),this['_updateState'](this[_0x4846a2(0x37a)]['onRemoteChangeset'](_0x5a4cf7)),this[_0x4846a2(0x172)]();}[_0x4f3d5a(0x40c)](_0x48ff78){var _0x421a30=_0x4f3d5a;this['_lockTransition'](),this[_0x421a30(0x2d2)](this[_0x421a30(0x37a)][_0x421a30(0x119)](_0x48ff78)),this[_0x421a30(0x172)]();}[_0x4f3d5a(0xef)](_0x19ae64){var _0x385231=_0x4f3d5a;this[_0x385231(0x3e6)](),this[_0x385231(0x2d2)](this['_state']['onRemoteRej'](_0x19ae64)),this[_0x385231(0x172)]();}[_0x4f3d5a(0x1bf)](_0x448c81){var _0x53db76=_0x4f3d5a;this[_0x53db76(0x3e6)](),this[_0x53db76(0x2d2)](this['_state'][_0x53db76(0x201)](_0x448c81)),this[_0x53db76(0x172)]();}[_0x4f3d5a(0x100)](_0x581afb){var _0x579dcf=_0x4f3d5a;if(!(this['_state']instanceof _0x427316[_0x579dcf(0x1cb)]))throw new TypeError(_0x579dcf(0x184));const _0x5657e0=_0x581afb[_0x579dcf(0xa5)](_0x14dee=>{var _0x379de5=_0x579dcf;const _0x2b143b=this[_0x379de5(0x13b)]['interceptor'][_0x379de5(0x28f)](this[_0x379de5(0x13b)][_0x379de5(0x298)][_0x379de5(0x132)]()[_0x379de5(0x277)])(_0x14dee['mutations'],null)||_0x14dee[_0x379de5(0x204)];return{..._0x14dee,'mutations':_0x2b143b};});this[_0x579dcf(0x3e6)](),this['_updateState'](this[_0x579dcf(0x37a)]['onMissedChangesetFetched'](_0x5657e0)),this[_0x579dcf(0x172)]();}[_0x4f3d5a(0x280)](){var _0x188f7c=_0x4f3d5a;this[_0x188f7c(0x3e6)](),this[_0x188f7c(0x2d2)](this[_0x188f7c(0x37a)][_0x188f7c(0x163)]()),this['_unlockTransition']();}[_0x4f3d5a(0x121)](_0xaf8bf=!0x1){var _0x1f1ec2=_0x4f3d5a;this['_lockTransition'](),this[_0x1f1ec2(0x2d2)](this['_state']['toggleOnline']()),this[_0x1f1ec2(0x172)]();const _0x478dd8=this[_0x1f1ec2(0x37a)];_0xaf8bf&&_0x478dd8 instanceof _0x427316[_0x1f1ec2(0x389)]&&(this[_0x1f1ec2(0x3e6)](),this[_0x1f1ec2(0x2d2)](_0x478dd8[_0x1f1ec2(0x274)]()),this['_unlockTransition']());}async[_0x4f3d5a(0x416)](){return new Promise(_0x36bc6d=>{var _0x23cfea=_0x3800;this[_0x23cfea(0xc0)][_0x23cfea(0x2f9)]['pipe'](_0x2c1c73[_0x23cfea(0x3e5)](0x1))[_0x23cfea(0x12f)](async _0x1eec42=>{var _0x463fc1=_0x23cfea;_0x36bc6d(await this[_0x463fc1(0xfa)](_0x1eec42===_0x45134b[_0x463fc1(0x102)]));});});}[_0x4f3d5a(0xbb)](){var _0x3ebc8a=_0x4f3d5a;const _0x26dce4=this[_0x3ebc8a(0x259)];return{'onStateChange':(_0x575f92,_0x2696b4)=>{var _0x246678=_0x3ebc8a;if(_0x575f92!==this['_state'])throw new Error(_0x246678(0x115)+_0x575f92['status']+_0x246678(0x2c8)+_0x2696b4[_0x246678(0x319)]+_0x246678(0x178)+this['_state'][_0x246678(0x319)]);this['_updateState'](_0x2696b4);},'onSendChangeset':_0x15ea69=>{var _0x32f776=_0x3ebc8a;_0x15ea69[_0x32f776(0x2b3)]||(_0x15ea69[_0x32f776(0x2b3)]=this[_0x32f776(0x16e)],_0x15ea69[_0x32f776(0x3ad)]=++this[_0x32f776(0x410)]);const _0x463f50={'eventID':_0x2e372d[_0x32f776(0x407)]['SUBMIT_CHANGESET'],'data':{'unitID':_0x15ea69[_0x32f776(0x259)],'unitType':this[_0x32f776(0x2cf)],'changeset':_0x15ea69,'memberID':this[_0x32f776(0xc0)][_0x32f776(0x1b1)]()}};this[_0x32f776(0xc0)][_0x32f776(0x175)](_0x463f50,this[_0x32f776(0x259)]);},'onMissingChangesets':({from:_0x10b315,to:_0x5d1fcf})=>{var _0xbb52b4=_0x3ebc8a;this[_0xbb52b4(0x165)][_0xbb52b4(0x37b)](_0xbb52b4(0x269),_0xbb52b4(0x293)+_0x10b315+'\x20to\x20'+_0x5d1fcf);const _0x5a1dbb={'eventID':_0x2e372d[_0xbb52b4(0x407)][_0xbb52b4(0xac)],'data':{'unitID':_0x26dce4,'unitType':this[_0xbb52b4(0x2cf)],'from':_0x10b315,'to':_0x5d1fcf}};this[_0xbb52b4(0xc0)][_0xbb52b4(0x175)](_0x5a1dbb,this[_0xbb52b4(0x259)]);}};}async['_createInitialStateImpl'](_0x53afcf){var _0x44d4c1=_0x4f3d5a,_0x545139,_0x1f7312,_0x5484e5;const _0x283acf=await((_0x545139=this[_0x44d4c1(0x268)])==null?void 0x0:_0x545139['loadOfflineData'](this['unitID'])),_0x5c3134=(_0x1f7312=_0x283acf==null?void 0x0:_0x283acf[_0x44d4c1(0x204)])!=null?_0x1f7312:[],_0x315a10=(_0x5484e5=_0x283acf==null?void 0x0:_0x283acf[_0x44d4c1(0x2d5)])!=null?_0x5484e5:null,_0x5cd7b3=!!(_0x315a10!=null&&_0x315a10[_0x44d4c1(0x2b3)])&&!!(_0x315a10!=null&&_0x315a10[_0x44d4c1(0x3ad)]);this[_0x44d4c1(0x16e)]=_0x5cd7b3?_0x315a10['sid']:_0x2e372d['uuidv4'](),this['_changesetReqId']=_0x5cd7b3?_0x315a10['reqId']:0x0;const _0x33a21f=this[_0x44d4c1(0x259)];try{this[_0x44d4c1(0x183)](_0x315a10,_0x5c3134);}catch(_0x10bdd1){this[_0x44d4c1(0x165)][_0x44d4c1(0x316)](_0x10bdd1);}const _0x175d38=this[_0x44d4c1(0xbb)]();if(_0x53afcf){const _0x50c329=_0x1b4f55(this[_0x44d4c1(0x1fb)],_0x33a21f,this['_type'],_0x315a10,_0x5c3134,_0x175d38);return _0x50c329 instanceof _0x427316[_0x44d4c1(0x2b0)]?_0x50c329['_schedule']():(_0x50c329 instanceof _0x427316['AwaitingWithPendingState']||_0x50c329 instanceof _0x427316['AwaitingState'])&&_0x50c329['resend'](),_0x50c329;}return this[_0x44d4c1(0x1fb)]['createInstance'](_0x427316[_0x44d4c1(0x33c)],_0x33a21f,this[_0x44d4c1(0x2cf)],_0x315a10,_0x5c3134,_0x175d38);}[_0x4f3d5a(0x183)](_0x177638,_0xe92dd2){var _0x17441c=_0x4f3d5a,_0x274cb3,_0x12be58;const _0x358f08=this[_0x17441c(0x13b)][_0x17441c(0x298)][_0x17441c(0x28f)](this[_0x17441c(0x13b)][_0x17441c(0x298)]['getInterceptPoints']()[_0x17441c(0x277)]);(_0x274cb3=_0x358f08((_0x177638==null?void 0x0:_0x177638[_0x17441c(0x204)])||[],null))==null||_0x274cb3['forEach'](_0x21e5d5=>this['_commandService'][_0x17441c(0x1b8)](_0x21e5d5['id'],_0x21e5d5['params'])),(_0x12be58=_0x358f08(_0xe92dd2||[],null))==null||_0x12be58['forEach'](_0x31a80a=>this['_commandService']['executeCommand'](_0x31a80a['id'],_0x31a80a[_0x17441c(0x37c)]));}},_0x427316['CollaborationEntity']=_0x3cec99([_0x551821(0x3,_0x3392b5['Inject'](_0x3392b5[_0x4f3d5a(0x421)])),_0x551821(0x4,_0x3392b5['Inject'](_0x2e372d[_0x4f3d5a(0xd7)])),_0x551821(0x5,_0x3392b5[_0x4f3d5a(0x329)](_0x3392b5['LocaleService'])),_0x551821(0x6,_0x3392b5[_0x4f3d5a(0x329)](_0x2e372d[_0x4f3d5a(0x2ab)])),_0x551821(0x7,_0x3392b5[_0x4f3d5a(0x329)](_0x5d354c)),_0x551821(0x8,_0x3392b5[_0x4f3d5a(0x1cd)]),_0x551821(0x9,_0x3392b5[_0x4f3d5a(0x1c1)]),_0x551821(0xa,_0x3392b5['ICommandService']),_0x551821(0xb,_0x3392b5[_0x4f3d5a(0x2c0)]),_0x551821(0xc,_0x3392b5['Optional'](_0x5066c3)),_0x551821(0xd,_0x3392b5[_0x4f3d5a(0x289)](_0x4597c5))],_0x427316[_0x4f3d5a(0xfc)]),_0x427316[_0x4f3d5a(0x227)]=class extends _0x427316['CollaborationEntity']{constructor(_0x36fef1,_0x1443de,_0x457233,_0x2e3571,_0x4d0b12,_0x51f98c,_0x365fe8,_0x51c042,_0x1a1c06,_0xb9d30f,_0x5aca6a,_0x54b6fd,_0x2d948a,_0x1a8dd8){var _0x37be8b=_0x4f3d5a;super(_0x36fef1,_0x457233,_0x1443de,_0x2e3571,_0x4d0b12,_0x51f98c,_0x365fe8,_0x51c042,_0x1a1c06,_0xb9d30f,_0x5aca6a,_0x54b6fd,_0x2d948a,_0x1a8dd8),_0x2cd3a0(this,_0x37be8b(0x194),null),(this[_0x37be8b(0x259)]=_0x36fef1,this[_0x37be8b(0x116)]=_0x1443de);}['addHandlerCallback'](_0x2be4a0){this['_handlerCallback']=_0x2be4a0;}['dispose'](){var _0x1aa502=_0x4f3d5a;this[_0x1aa502(0x194)]=null,super[_0x1aa502(0x252)]();}['_createHandler'](){var _0x1d34e8=_0x4f3d5a;const _0x3df201=super[_0x1d34e8(0xbb)]();return _0x3df201['onTransformIME']=_0x367ec9=>{var _0x2284d1=_0x1d34e8,_0x36d13c,_0x2fac1f;return(_0x2fac1f=(_0x36d13c=this[_0x2284d1(0x194)])==null?void 0x0:_0x36d13c[_0x2284d1(0x171)])==null?void 0x0:_0x2fac1f['call'](_0x36d13c,_0x367ec9);},_0x3df201[_0x1d34e8(0x3dc)]=_0x17c82f=>{var _0x58ec70=_0x1d34e8,_0x474f10,_0x1bddec;return(_0x1bddec=(_0x474f10=this['_handlerCallback'])==null?void 0x0:_0x474f10[_0x58ec70(0x3dc)])==null?void 0x0:_0x1bddec[_0x58ec70(0x1da)](_0x474f10,_0x17c82f);},_0x3df201[_0x1d34e8(0x18a)]=_0xb4f05a=>{var _0x1ee26a,_0x4c9af2;return(_0x4c9af2=(_0x1ee26a=this['_handlerCallback'])==null?void 0x0:_0x1ee26a['onTransformSelections'])==null?void 0x0:_0x4c9af2['call'](_0x1ee26a,_0xb4f05a);},_0x3df201[_0x1d34e8(0x1dc)]=_0x5216f0=>{var _0x54b711=_0x1d34e8,_0x31db89,_0x5a867d;return(_0x5a867d=(_0x31db89=this['_handlerCallback'])==null?void 0x0:_0x31db89['onSyncEditingCollabCursor'])==null?void 0x0:_0x5a867d[_0x54b711(0x1da)](_0x31db89,_0x5216f0);},_0x3df201[_0x1d34e8(0x443)]=_0x71b819=>{var _0x37e304=_0x1d34e8,_0x19ccdc,_0x580464,_0x51998a;if(!((_0x19ccdc=this['_handlerCallback'])!=null&&_0x19ccdc[_0x37e304(0x443)]))throw new Error(_0x37e304(0x3a2));return(_0x51998a=(_0x580464=this[_0x37e304(0x194)])==null?void 0x0:_0x580464[_0x37e304(0x443)])==null?void 0x0:_0x51998a['call'](_0x580464,_0x71b819);},_0x3df201[_0x1d34e8(0x200)]=_0x59c0bf=>{var _0x2fc180=_0x1d34e8,_0x4f8b9c,_0x18b619,_0x44a1b0;if(!((_0x4f8b9c=this['_handlerCallback'])!=null&&_0x4f8b9c['onTransformRemoteChangesetByStateCache']))throw new Error(_0x2fc180(0x140));return(_0x44a1b0=(_0x18b619=this[_0x2fc180(0x194)])==null?void 0x0:_0x18b619[_0x2fc180(0x200)])==null?void 0x0:_0x44a1b0[_0x2fc180(0x1da)](_0x18b619,_0x59c0bf);},_0x3df201;}async['_init'](){var _0x1a134a=_0x4f3d5a;const _0x1859b9=await super[_0x1a134a(0x14d)]();return this[_0x1a134a(0x296)](this[_0x1a134a(0x29b)][_0x1a134a(0x41a)]((_0xba7879,_0x175d8c)=>{var _0x28c33a=_0x1a134a;if(_0xba7879['type']!==_0x3392b5['CommandType'][_0x28c33a(0x1aa)]||_0x175d8c!=null&&_0x175d8c[_0x28c33a(0x360)]||_0x175d8c!=null&&_0x175d8c[_0x28c33a(0x41c)]||_0xba7879['id']===_0x2b0001[_0x28c33a(0x2e6)]['id'])return;const _0x1e7310=_0xba7879[_0x28c33a(0x37c)];if((_0x1e7310==null?void 0x0:_0x1e7310[_0x28c33a(0x2a6)])!==this[_0x28c33a(0x259)])return;const _0x51aa07=_0xba7879,_0x5299a1=this['_compressMutationService'][_0x28c33a(0x298)][_0x28c33a(0x28f)](this[_0x28c33a(0x13b)][_0x28c33a(0x298)]['getInterceptPoints']()[_0x28c33a(0x3c6)])([_0x51aa07],this['_univerInstanceService'])||[_0x51aa07];this[_0x28c33a(0x288)](_0x5299a1[0x0]);})),_0x1859b9;}},_0x427316['DocCollaborationEntity']=_0x3cec99([_0x551821(0x3,_0x3392b5[_0x4f3d5a(0x329)](_0x3392b5[_0x4f3d5a(0x421)])),_0x551821(0x4,_0x3392b5[_0x4f3d5a(0x329)](_0x2e372d[_0x4f3d5a(0xd7)])),_0x551821(0x5,_0x3392b5['Inject'](_0x3392b5[_0x4f3d5a(0x21b)])),_0x551821(0x6,_0x3392b5[_0x4f3d5a(0x329)](_0x2e372d[_0x4f3d5a(0x2ab)])),_0x551821(0x7,_0x3392b5['Inject'](_0x5d354c)),_0x551821(0x8,_0x3392b5[_0x4f3d5a(0x1cd)]),_0x551821(0x9,_0x3392b5[_0x4f3d5a(0x1c1)]),_0x551821(0xa,_0x3392b5['ICommandService']),_0x551821(0xb,_0x3392b5['IPermissionService']),_0x551821(0xc,_0x3392b5[_0x4f3d5a(0x289)](_0x5066c3)),_0x551821(0xd,_0x3392b5[_0x4f3d5a(0x289)](_0x4597c5))],_0x427316[_0x4f3d5a(0x227)]),_0x427316[_0x4f3d5a(0x238)]=class extends _0x427316[_0x4f3d5a(0xfc)]{constructor(_0x5bd0de,_0x4e2091,_0x3e3837,_0x43a2df,_0x559d09,_0x1cd399,_0x949480,_0x14593b,_0x5b441a,_0x5d5a84,_0x4772d1,_0x450437,_0x403c59,_0x15fc4f,_0x155385){var _0x2f2455=_0x4f3d5a;super(_0x5bd0de,_0x3e3837,_0x4e2091,_0x43a2df,_0x559d09,_0x1cd399,_0x949480,_0x5b441a,_0x5d5a84,_0x4772d1,_0x450437,_0x403c59,_0x15fc4f,_0x155385),this[_0x2f2455(0x259)]=_0x5bd0de,this['type']=_0x4e2091,this[_0x2f2455(0x287)]=_0x14593b;}[_0x4f3d5a(0xbb)](){var _0x52eeaa=_0x4f3d5a;const _0x518edf=super[_0x52eeaa(0xbb)]();return _0x518edf[_0x52eeaa(0x18a)]=_0x4eac24=>this[_0x52eeaa(0x287)][_0x52eeaa(0x127)](_0x4eac24),_0x518edf;}async[_0x4f3d5a(0x14d)](){var _0x56d757=_0x4f3d5a;const _0x122d15=await super['_init']();return this[_0x56d757(0x296)](this[_0x56d757(0x29b)][_0x56d757(0x41a)]((_0x1c1eec,_0xf65116)=>{var _0x6137e3=_0x56d757;if(_0x1c1eec[_0x6137e3(0x116)]!==_0x3392b5['CommandType'][_0x6137e3(0x1aa)]||_0xf65116!=null&&_0xf65116[_0x6137e3(0x360)]||_0xf65116!=null&&_0xf65116[_0x6137e3(0x41c)])return;const _0x2f2f7d=_0x1c1eec[_0x6137e3(0x37c)];if((_0x2f2f7d==null?void 0x0:_0x2f2f7d[_0x6137e3(0x2a6)])!==this[_0x6137e3(0x259)])return;const _0x56974c=_0x1c1eec,_0x234f8e=this[_0x6137e3(0x13b)][_0x6137e3(0x298)]['fetchThroughInterceptors'](this[_0x6137e3(0x13b)]['interceptor'][_0x6137e3(0x132)]()['COMPRESS_MUTATION_SEND'])([_0x56974c],this[_0x6137e3(0x43d)])||[_0x56974c];this[_0x6137e3(0x288)](_0x234f8e[0x0]);})),_0x122d15;}},_0x427316[_0x4f3d5a(0x238)]=_0x3cec99([_0x551821(0x3,_0x3392b5[_0x4f3d5a(0x329)](_0x3392b5[_0x4f3d5a(0x421)])),_0x551821(0x4,_0x3392b5['Inject'](_0x2e372d[_0x4f3d5a(0xd7)])),_0x551821(0x5,_0x3392b5[_0x4f3d5a(0x329)](_0x3392b5[_0x4f3d5a(0x21b)])),_0x551821(0x6,_0x3392b5['Inject'](_0x2e372d[_0x4f3d5a(0x2ab)])),_0x551821(0x7,_0x3392b5['Inject'](_0x427316['SheetTransformSelectionsService'])),_0x551821(0x8,_0x3392b5[_0x4f3d5a(0x329)](_0x5d354c)),_0x551821(0x9,_0x3392b5[_0x4f3d5a(0x1cd)]),_0x551821(0xa,_0x3392b5['ILogService']),_0x551821(0xb,_0x3392b5[_0x4f3d5a(0x2ff)]),_0x551821(0xc,_0x3392b5['IPermissionService']),_0x551821(0xd,_0x3392b5[_0x4f3d5a(0x289)](_0x5066c3)),_0x551821(0xe,_0x3392b5['Optional'](_0x4597c5))],_0x427316[_0x4f3d5a(0x238)]);const _0x357e84=_0x3392b5[_0x4f3d5a(0x428)]('univer-pro.collaboration-client.network-condition.service');function _0x384d7c(_0x2b4bf1){var _0x98cf6=_0x4f3d5a,_0x6f6ebc,_0x4a1a68,_0xb5d9f1,_0x43b762,_0x3b7ae1;const _0xbeb97a=_0x2b4bf1[_0x98cf6(0x3ec)],_0x3fd773=JSON[_0x98cf6(0x146)](_0xbeb97a);switch(_0x3fd773[_0x98cf6(0x3b1)]){case _0x270d19[_0x98cf6(0x391)]:case _0x270d19[_0x98cf6(0x290)]:{const _0x54c3e0=_0x3fd773[_0x98cf6(0x3a3)];return{..._0x3fd773,'data':_0x54c3e0,'cmd':_0x3fd773[_0x98cf6(0x3b1)]};}case _0x270d19[_0x98cf6(0x103)]:{const _0x13e1d7=_0x3fd773[_0x98cf6(0x2f8)];return{..._0x3fd773,'data':_0x13e1d7,'cmd':_0x3fd773[_0x98cf6(0x3b1)]};}case _0x270d19[_0x98cf6(0x2aa)]:{const _0x1b168f=_0x3fd773[_0x98cf6(0x166)];switch(_0x1b168f[_0x98cf6(0x398)]){case _0x2e372d[_0x98cf6(0x407)][_0x98cf6(0x303)]:return{..._0x3fd773,'data':{..._0x1b168f,'data':(_0x6f6ebc=_0x1b168f[_0x98cf6(0x11a)])==null?void 0x0:_0x6f6ebc['cs']},'cmd':_0x3fd773[_0x98cf6(0x3b1)]};case _0x2e372d[_0x98cf6(0x407)][_0x98cf6(0x384)]:return{..._0x3fd773,'data':{..._0x1b168f,'data':(_0x4a1a68=_0x1b168f[_0x98cf6(0x2a7)])==null?void 0x0:_0x4a1a68['cs']},'cmd':_0x3fd773[_0x98cf6(0x3b1)]};case _0x2e372d[_0x98cf6(0x407)]['NEW_CHANGESETS']:return{..._0x3fd773,'data':{..._0x1b168f,'data':(_0xb5d9f1=_0x1b168f[_0x98cf6(0x1b2)])==null?void 0x0:_0xb5d9f1['cs']},'cmd':_0x3fd773[_0x98cf6(0x3b1)]};case _0x2e372d[_0x98cf6(0x407)][_0x98cf6(0x1e0)]:return{..._0x3fd773,'data':{..._0x1b168f,'data':(_0x43b762=_0x1b168f[_0x98cf6(0x2d3)])==null?void 0x0:_0x43b762['cs']},'cmd':_0x3fd773[_0x98cf6(0x3b1)]};case _0x2e372d[_0x98cf6(0x407)][_0x98cf6(0x153)]:return{..._0x3fd773,'data':{..._0x1b168f,'data':(_0x3b7ae1=_0x1b168f['csShouldRetryEvent'])==null?void 0x0:_0x3b7ae1['cs']},'cmd':_0x3fd773[_0x98cf6(0x3b1)]};case _0x2e372d[_0x98cf6(0x407)]['UPDATE_CURSOR']:return{..._0x3fd773,'data':{..._0x1b168f,'data':_0x1b168f[_0x98cf6(0x31d)]},'cmd':_0x3fd773[_0x98cf6(0x3b1)]};case _0x2e372d['CollaborationEvent']['USERS_ENTER']:return{..._0x3fd773,'data':{..._0x1b168f,'data':_0x1b168f[_0x98cf6(0x3e3)]},'cmd':_0x3fd773[_0x98cf6(0x3b1)]};case _0x2e372d['CollaborationEvent']['USERS_LEAVE']:return{..._0x3fd773,'data':{..._0x1b168f,'data':_0x1b168f[_0x98cf6(0x1ff)]},'cmd':_0x3fd773[_0x98cf6(0x3b1)]};case _0x2e372d['CollaborationEvent']['LIVESHARE_NEW_HOST']:return{..._0x3fd773,'data':{..._0x1b168f,'data':_0x1b168f['liveShareNewHost']},'cmd':_0x3fd773[_0x98cf6(0x3b1)]};case _0x2e372d['CollaborationEvent']['LIVESHARE_FETCH_OPERATIONS']:case _0x2e372d[_0x98cf6(0x407)][_0x98cf6(0x248)]:return{..._0x3fd773,'data':{..._0x1b168f,'data':_0x1b168f[_0x98cf6(0x13f)]},'cmd':_0x3fd773[_0x98cf6(0x3b1)]};case _0x2e372d['CollaborationEvent'][_0x98cf6(0x33e)]:return{..._0x3fd773,'data':{..._0x1b168f,'data':_0x1b168f[_0x98cf6(0x393)]},'cmd':_0x3fd773[_0x98cf6(0x3b1)]};case _0x2e372d[_0x98cf6(0x407)][_0x98cf6(0xf6)]:return{..._0x3fd773,'data':_0x1b168f,'cmd':_0x3fd773[_0x98cf6(0x3b1)]};case _0x2e372d[_0x98cf6(0x407)][_0x98cf6(0x1b5)]:return{..._0x3fd773,'data':{..._0x1b168f,'data':_0x1b168f[_0x98cf6(0x129)]},'cmd':_0x3fd773[_0x98cf6(0x3b1)]};case _0x2e372d['CollaborationEvent']['UPDATE_PERMISSION_OBJ']:return{..._0x3fd773,'data':{..._0x1b168f,'data':_0x1b168f['updatePermissionObjEvent']},'cmd':_0x3fd773[_0x98cf6(0x3b1)]};case _0x2e372d[_0x98cf6(0x407)]['SHOULD_CLOSE_CONN']:return{..._0x3fd773,'data':{..._0x1b168f,'data':_0x1b168f[_0x98cf6(0x1e8)]},'cmd':_0x3fd773[_0x98cf6(0x3b1)]};case _0x2e372d[_0x98cf6(0x407)][_0x98cf6(0x202)]:return{..._0x3fd773,'data':{..._0x1b168f,'data':_0x1b168f['uniscriptRunEvent']},'cmd':_0x3fd773[_0x98cf6(0x3b1)]};default:return _0x3fd773;}}default:return _0x3fd773;}}function _0x2357d8(_0x52ffe2){var _0x1b0d14=_0x4f3d5a;switch(_0x52ffe2[_0x1b0d14(0x3b1)]){case _0x270d19['HEARTBEAT']:case _0x270d19[_0x1b0d14(0x290)]:return JSON[_0x1b0d14(0x374)]({'cmd':_0x52ffe2[_0x1b0d14(0x3b1)],'routeKey':_0x52ffe2[_0x1b0d14(0x25c)]});case _0x270d19['INGEST']:{let _0x181b94;switch(_0x52ffe2[_0x1b0d14(0x3ec)]['eventID']){case _0x2e372d[_0x1b0d14(0x407)][_0x1b0d14(0x249)]:{_0x181b94={'eventID':_0x2e372d[_0x1b0d14(0x407)]['UPDATE_CURSOR'],'updateCursorEvent':_0x52ffe2[_0x1b0d14(0x3ec)][_0x1b0d14(0x3ec)]};break;}case _0x2e372d['CollaborationEvent'][_0x1b0d14(0x273)]:{_0x181b94={'eventID':_0x2e372d['CollaborationEvent'][_0x1b0d14(0x273)],'leaveEvent':_0x52ffe2[_0x1b0d14(0x3ec)][_0x1b0d14(0x3ec)]};break;}case _0x2e372d[_0x1b0d14(0x407)]['USERS_ENTER']:{_0x181b94={'eventID':_0x2e372d[_0x1b0d14(0x407)][_0x1b0d14(0x278)],'joinEvent':_0x52ffe2[_0x1b0d14(0x3ec)]['data']};break;}case _0x2e372d[_0x1b0d14(0x407)][_0x1b0d14(0x3ff)]:{_0x181b94={'eventID':_0x2e372d[_0x1b0d14(0x407)]['LIVESHARE_NEW_HOST'],'liveShareNewHost':_0x52ffe2[_0x1b0d14(0x3ec)]['data']};break;}case _0x2e372d['CollaborationEvent'][_0x1b0d14(0x248)]:{_0x181b94={'eventID':_0x2e372d['CollaborationEvent'][_0x1b0d14(0x248)],'liveShareOperation':_0x52ffe2['data'][_0x1b0d14(0x3ec)]};break;}case _0x2e372d[_0x1b0d14(0x407)][_0x1b0d14(0x33e)]:{_0x181b94={'eventID':_0x2e372d[_0x1b0d14(0x407)][_0x1b0d14(0x33e)],'liveShareTerminate':_0x52ffe2[_0x1b0d14(0x3ec)][_0x1b0d14(0x3ec)]};break;}case _0x2e372d['CollaborationEvent'][_0x1b0d14(0x2ea)]:{_0x181b94={'eventID':_0x2e372d[_0x1b0d14(0x407)]['LIVESHARE_REQUEST_HOST'],'liveShareRequestHost':_0x52ffe2[_0x1b0d14(0x3ec)][_0x1b0d14(0x3ec)]};break;}case _0x2e372d[_0x1b0d14(0x407)][_0x1b0d14(0x231)]:{_0x181b94={'eventID':_0x2e372d['CollaborationEvent'][_0x1b0d14(0x231)]};break;}default:_0x181b94={'eventID':_0x52ffe2[_0x1b0d14(0x3ec)][_0x1b0d14(0x398)]};}return JSON[_0x1b0d14(0x374)]({'cmd':_0x52ffe2['cmd'],'routeKey':_0x52ffe2[_0x1b0d14(0x25c)],'collaMsg':_0x181b94});}case _0x270d19['JOIN']:return JSON[_0x1b0d14(0x374)]({'cmd':_0x52ffe2[_0x1b0d14(0x3b1)],'routeKey':_0x52ffe2['routeKey'],'joinReq':_0x52ffe2['data']});case _0x270d19[_0x1b0d14(0x2f7)]:return JSON[_0x1b0d14(0x374)]({'cmd':_0x52ffe2[_0x1b0d14(0x3b1)],'routeKey':_0x52ffe2[_0x1b0d14(0x25c)],'leaveReq':_0x52ffe2['data']});default:throw new Error(_0x1b0d14(0xa8));}}var _0x2eff3b=Object[_0x4f3d5a(0x246)],_0x4e07a2=(_0x4ef1d3,_0x160a6f,_0x232d04,_0x264fcd)=>{var _0x46ab3f=_0x4f3d5a;for(var _0x38870b=_0x264fcd>0x1?void 0x0:_0x264fcd?_0x2eff3b(_0x160a6f,_0x232d04):_0x160a6f,_0x3cd45e=_0x4ef1d3[_0x46ab3f(0x36c)]-0x1,_0x232184;_0x3cd45e>=0x0;_0x3cd45e--)(_0x232184=_0x4ef1d3[_0x3cd45e])&&(_0x38870b=_0x232184(_0x38870b)||_0x38870b);return _0x38870b;},_0x10f43c=(_0x507a39,_0x6ef6cb)=>(_0x1d772c,_0x139557)=>_0x6ef6cb(_0x1d772c,_0x139557,_0x507a39);const _0x4be32f=_0x3392b5[_0x4f3d5a(0x428)]('univer-pro.collaboration-client-socket-service');function _0x226ab0(_0x5252f8,_0x5ddefc,_0x3a9ef3){var _0x535676=_0x4f3d5a;return _0x5252f8+'/'+_0x5ddefc+_0x535676(0xe8)+_0x3a9ef3+_0x535676(0x1f7);}_0x427316[_0x4f3d5a(0xeb)]=class extends _0x3392b5[_0x4f3d5a(0x1cf)]{constructor(_0x4dce4a,_0x5bc9a3,_0x56d199,_0x197e01,_0x505e3b){var _0xa3893c=_0x4f3d5a;super(),this[_0xa3893c(0x1fb)]=_0x4dce4a,this['_httpService']=_0x5bc9a3,this[_0xa3893c(0xd0)]=_0x56d199,this[_0xa3893c(0x165)]=_0x197e01,this[_0xa3893c(0x2f1)]=_0x505e3b;}[_0x4f3d5a(0x41f)](_0x32ea30){var _0x5d774a=_0x4f3d5a;const _0x4400ef=this[_0x5d774a(0x1fb)][_0x5d774a(0x1e6)](_0x48a077['ISocketService']);if(!_0x4400ef)throw new Error(_0x5d774a(0x1d0));const _0x474bc3=_0x4400ef[_0x5d774a(0x294)](_0x32ea30);if(!_0x474bc3)throw new Error(_0x5d774a(0x105));const _0x2f1f1c=new _0x3392b5[(_0x5d774a(0xc9))](),_0x5dd66d=new _0x2c1c73[(_0x5d774a(0xc5))]();_0x2f1f1c[_0x5d774a(0xf5)](_0x474bc3[_0x5d774a(0xad)][_0x5d774a(0x12f)](_0x3f757a=>_0x5dd66d[_0x5d774a(0x191)](_0x3f757a))),_0x2f1f1c[_0x5d774a(0xf5)](_0x3392b5[_0x5d774a(0x128)](()=>_0x5dd66d[_0x5d774a(0xdd)]()));const _0x38b73e=new _0x2c1c73['Subject']();_0x2f1f1c[_0x5d774a(0xf5)](_0x474bc3[_0x5d774a(0x1ec)][_0x5d774a(0x12f)](_0x2f8640=>_0x38b73e[_0x5d774a(0x191)](_0x2f8640))),_0x2f1f1c[_0x5d774a(0xf5)](_0x3392b5[_0x5d774a(0x128)](()=>_0x38b73e['complete']()));const _0x596bfb=new _0x2c1c73[(_0x5d774a(0xc5))]();_0x2f1f1c[_0x5d774a(0xf5)](_0x474bc3[_0x5d774a(0x2e8)]['subscribe'](_0x34cfb2=>{var _0x1b4cea=_0x5d774a;const _0x26b404=_0x384d7c(_0x34cfb2);_0x596bfb[_0x1b4cea(0x191)](_0x26b404);})),_0x2f1f1c['add'](_0x3392b5[_0x5d774a(0x128)](()=>_0x596bfb[_0x5d774a(0xdd)]()));let _0x378c16;const _0x434305=()=>{var _0x256726=_0x5d774a;_0x38b73e[_0x256726(0x191)](new Event(_0x256726(0x30b))),_0x5dd66d[_0x256726(0x191)](new Event('connection\x20error')),_0x378c16[_0x256726(0x365)]();};return _0x378c16={'memberID':'','close$':_0x5dd66d[_0x5d774a(0x28d)](),'error$':_0x38b73e[_0x5d774a(0x28d)](),'open$':_0x474bc3[_0x5d774a(0xcd)],'message$':_0x596bfb[_0x5d774a(0x28d)](),'send':_0x201a7a=>{var _0x4daaa3=_0x5d774a;if(_0x201a7a[_0x4daaa3(0x3b1)]===_0x270d19[_0x4daaa3(0x2f4)]){if(_0x201a7a[_0x4daaa3(0x3ec)][_0x4daaa3(0x398)]===_0x2e372d[_0x4daaa3(0x407)][_0x4daaa3(0x1e7)]){this[_0x4daaa3(0x26c)](_0x378c16,_0x201a7a[_0x4daaa3(0x3ec)])['catch'](_0x2f00db=>{var _0x16a690=_0x4daaa3;this['_logService'][_0x16a690(0x316)](_0x2f00db),_0x434305();});return;}if(_0x201a7a[_0x4daaa3(0x3ec)][_0x4daaa3(0x398)]===_0x2e372d[_0x4daaa3(0x407)]['FETCH_MISSING']){const _0x12e057=_0x201a7a[_0x4daaa3(0x3ec)];this[_0x4daaa3(0x188)](_0x12e057)[_0x4daaa3(0xd6)](_0x44fa60=>{var _0x5a60cd=_0x4daaa3;_0x596bfb[_0x5a60cd(0x191)]({'cmd':_0x270d19['RECV'],'code':_0xfcdf32['OK'],'routeKey':_0x12e057[_0x5a60cd(0x3ec)][_0x5a60cd(0x259)],'routeType':'','data':{'eventID':_0x2e372d[_0x5a60cd(0x407)][_0x5a60cd(0xe4)],'data':{'changesets':_0x44fa60}}});})[_0x4daaa3(0x3d3)](_0xada85d=>{var _0xdc970e=_0x4daaa3;this[_0xdc970e(0x165)][_0xdc970e(0x316)](_0xada85d),_0x434305();});return;}}_0x474bc3[_0x4daaa3(0x175)](_0x2357d8(_0x201a7a));},'close':()=>{var _0x309391=_0x5d774a;_0x474bc3[_0x309391(0x365)](),_0x2f1f1c[_0x309391(0x252)]();}},_0x378c16;}async[_0x4f3d5a(0x26c)](_0x207876,_0x36b738){var _0x1e67a7=_0x4f3d5a,_0xfdc206;const {unitType:_0x4f7239,unitID:_0x3ad60b,changeset:_0x28732d}=_0x36b738[_0x1e67a7(0x3ec)],_0xaf892f={'unitID':_0x3ad60b,'memberID':_0x207876[_0x1e67a7(0x185)],'type':_0x4f7239,'changeset':_0x2e372d[_0x1e67a7(0x197)](_0x28732d)},_0x2a25f1=this[_0x1e67a7(0xd0)][_0x1e67a7(0x38d)](_0x5dafb3),_0x3971e5=_0x226ab0((_0xfdc206=_0x2a25f1==null?void 0x0:_0x2a25f1[_0x1e67a7(0x3ba)])!=null?_0xfdc206:_0x26b037,_0x4f7239,_0x3ad60b);try{await this[_0x1e67a7(0x196)][_0x1e67a7(0x16c)](_0x3971e5,{'body':_0xaf892f});}catch(_0x58cb17){throw this[_0x1e67a7(0x165)][_0x1e67a7(0x316)](_0x1e67a7(0x190),_0x1e67a7(0x383)),_0x58cb17;}}async['_fetchMissChangesets'](_0x48fcc6){var _0x273bce=_0x4f3d5a;const {unitID:_0x56a867,from:_0xe92277,to:_0x115cdc,unitType:_0x521e88}=_0x48fcc6[_0x273bce(0x3ec)];return(await this['_snapshotServerService'][_0x273bce(0x237)]({'metadata':void 0x0},{'unitID':_0x56a867,'type':_0x521e88,'from':_0xe92277,'to':_0x115cdc}))[_0x273bce(0x283)][_0x273bce(0xa5)](_0x5e8399=>((_0x5e8399[_0x273bce(0x204)]===null||_0x5e8399[_0x273bce(0x204)]===void 0x0)&&(_0x5e8399[_0x273bce(0x204)]=[]),_0x5e8399));}},_0x427316['CollaborationSocketService']=_0x4e07a2([_0x10f43c(0x0,_0x3392b5['Inject'](_0x3392b5[_0x4f3d5a(0x421)])),_0x10f43c(0x1,_0x3392b5[_0x4f3d5a(0x329)](_0x48a077[_0x4f3d5a(0xb5)])),_0x10f43c(0x2,_0x3392b5['IConfigService']),_0x10f43c(0x3,_0x3392b5[_0x4f3d5a(0x1c1)]),_0x10f43c(0x4,_0x2e372d[_0x4f3d5a(0x385)])],_0x427316[_0x4f3d5a(0xeb)]);var _0x266318=Object['getOwnPropertyDescriptor'],_0x27247a=(_0x365390,_0x2a7304,_0x2acfff,_0x40a1d4)=>{var _0x258fae=_0x4f3d5a;for(var _0x685562=_0x40a1d4>0x1?void 0x0:_0x40a1d4?_0x266318(_0x2a7304,_0x2acfff):_0x2a7304,_0x58a7bf=_0x365390[_0x258fae(0x36c)]-0x1,_0x35f3ab;_0x58a7bf>=0x0;_0x58a7bf--)(_0x35f3ab=_0x365390[_0x58a7bf])&&(_0x685562=_0x35f3ab(_0x685562)||_0x685562);return _0x685562;},_0x59a936=(_0x2d1f56,_0x43f8f1)=>(_0x5b34bc,_0x477592)=>_0x43f8f1(_0x5b34bc,_0x477592,_0x2d1f56);_0x427316[_0x4f3d5a(0x1a8)]=class extends _0x3392b5[_0x4f3d5a(0x1cf)]{constructor(_0x4fd71a,_0x17b685,_0x239065,_0x219998,_0x479881,_0x45af11){var _0x1a28ee=_0x4f3d5a;super(),_0x2cd3a0(this,_0x1a28ee(0x118),new _0x2c1c73[(_0x1a28ee(0x24d))](void 0x0)),_0x2cd3a0(this,_0x1a28ee(0x340),this[_0x1a28ee(0x118)]['asObservable']()),_0x2cd3a0(this,_0x1a28ee(0x41e),null),_0x2cd3a0(this,_0x1a28ee(0x203),new Map()),_0x2cd3a0(this,_0x1a28ee(0x3a1),new _0x2c1c73[(_0x1a28ee(0x24d))](_0x45134b[_0x1a28ee(0x2ee)])),_0x2cd3a0(this,_0x1a28ee(0x42a),this['_status$']['asObservable']()),_0x2cd3a0(this,_0x1a28ee(0x35f),!0x1),_0x2cd3a0(this,_0x1a28ee(0x373)),_0x2cd3a0(this,_0x1a28ee(0xb4),0x0),_0x2cd3a0(this,'_sendHeartbeatTimer'),_0x2cd3a0(this,_0x1a28ee(0xe2)),(this['_injector']=_0x4fd71a,this['_logService']=_0x17b685,this[_0x1a28ee(0xd0)]=_0x239065,this[_0x1a28ee(0x282)]=_0x219998,this[_0x1a28ee(0x179)]=_0x479881,this[_0x1a28ee(0x149)]=_0x45af11,this['_listenToNetworkCondition']());}get[_0x4f3d5a(0x3ea)](){var _0x53855b=_0x4f3d5a;return this[_0x53855b(0x118)]['getValue']();}[_0x4f3d5a(0x3b7)](){var _0x287e91=_0x4f3d5a;this[_0x287e91(0x149)]&&this[_0x287e91(0x296)](this[_0x287e91(0x149)]['online$'][_0x287e91(0x12f)](_0x140dcf=>{var _0x5d787d=_0x287e91;_0x140dcf&&!this[_0x5d787d(0x3ea)]&&this[_0x5d787d(0x2f2)](),_0x140dcf||this[_0x5d787d(0x3c5)]();}));}[_0x4f3d5a(0x252)](){var _0x4d3904=_0x4f3d5a;super[_0x4d3904(0x252)](),this['_clearRetryConnectingTimer'](),this['_clearTimeoutTimer'](),this[_0x4d3904(0xfb)](),this[_0x4d3904(0x203)][_0x4d3904(0x186)](_0x21515f=>_0x21515f['dispose']()),this[_0x4d3904(0x203)]['clear'](),this[_0x4d3904(0x3a1)]['complete']();}async['requireSession'](_0x38d6ad){var _0x4da929=_0x4f3d5a;if(this[_0x4da929(0x203)][_0x4da929(0x21c)](_0x38d6ad))return this[_0x4da929(0x203)][_0x4da929(0x1e6)](_0x38d6ad);this[_0x4da929(0x3ab)]();const _0xbe47e8=this[_0x4da929(0x1fb)][_0x4da929(0x417)](_0x427316[_0x4da929(0x18d)],_0x38d6ad,this[_0x4da929(0x118)][_0x4da929(0x28d)]());return this[_0x4da929(0x203)]['set'](_0x38d6ad,_0xbe47e8),_0xbe47e8;}[_0x4f3d5a(0x215)](_0x34472a){var _0x50b49e=_0x4f3d5a,_0x7bd938;const _0x43d55d=this[_0x50b49e(0x203)][_0x50b49e(0x1e6)](_0x34472a);_0x43d55d&&(this[_0x50b49e(0x203)][_0x50b49e(0x338)](_0x34472a),_0x43d55d[_0x50b49e(0x365)]()),this[_0x50b49e(0x203)][_0x50b49e(0x2e1)]||(_0x7bd938=this['_socket'])==null||_0x7bd938['close']();}[_0x4f3d5a(0x2f2)](){var _0x398a93=_0x4f3d5a;this[_0x398a93(0xb4)]=0x0,this[_0x398a93(0x2f3)](),this[_0x398a93(0xee)]();}[_0x4f3d5a(0x2f3)](){var _0x1c62d2=_0x4f3d5a;this[_0x1c62d2(0x373)]!=null&&(clearTimeout(this[_0x1c62d2(0x373)]),this[_0x1c62d2(0x373)]=null);}async['_createSocket'](){var _0x5af559=_0x4f3d5a,_0x4d0a37;const _0x772c72=this[_0x5af559(0xd0)][_0x5af559(0x38d)](_0x5dafb3),_0x329410=(_0x4d0a37=_0x772c72==null?void 0x0:_0x772c72['collabWebSocketUrl'])!=null?_0x4d0a37:_0x390407,_0x40cbc1=await this[_0x5af559(0x282)][_0x5af559(0x294)](_0x329410);return this[_0x5af559(0x41e)]=_0x40cbc1,_0x40cbc1;}async[_0x4f3d5a(0x3ab)](){var _0x4a4f64=_0x4f3d5a,_0x30131e,_0x5207ed;try{const _0x25ee85=(_0x5207ed=(_0x30131e=this[_0x4a4f64(0x3ea)])!=null?_0x30131e:this[_0x4a4f64(0x41e)])!=null?_0x5207ed:await this[_0x4a4f64(0x3e4)]();if(_0x25ee85){const _0x3d3c11=_0x25ee85[_0x4a4f64(0x175)];_0x25ee85[_0x4a4f64(0x175)]=_0x18cbe8=>(this[_0x4a4f64(0x359)](),_0x3d3c11[_0x4a4f64(0x275)](_0x25ee85,[_0x18cbe8])),_0x25ee85[_0x4a4f64(0x2e8)][_0x4a4f64(0x12f)](_0x20466e=>this[_0x4a4f64(0x2b4)](_0x25ee85,_0x20466e)),_0x25ee85[_0x4a4f64(0x1ec)][_0x4a4f64(0x1c4)](_0x1f6813[_0x4a4f64(0x3e5)](0x1))['subscribe'](_0x14529d=>this[_0x4a4f64(0x165)][_0x4a4f64(0x316)](_0x4a4f64(0x38c),_0x14529d)),_0x25ee85[_0x4a4f64(0xcd)][_0x4a4f64(0x1c4)](_0x1f6813[_0x4a4f64(0x3e5)](0x1))[_0x4a4f64(0x12f)](()=>{var _0x244657=_0x4a4f64;this[_0x244657(0x264)](_0x25ee85);}),_0x25ee85[_0x4a4f64(0xad)][_0x4a4f64(0x1c4)](_0x1f6813[_0x4a4f64(0x3e5)](0x1))[_0x4a4f64(0x12f)](_0xdab315=>{var _0x2cd14b=_0x4a4f64;this['_logService'][_0x2cd14b(0x37b)](_0x2cd14b(0x2c7),_0x2cd14b(0x155),_0xdab315),this['_onConnectionFailed']();});}}catch(_0x57611b){this[_0x4a4f64(0x165)][_0x4a4f64(0x316)](_0x57611b),this[_0x4a4f64(0x3c4)]();}}[_0x4f3d5a(0x264)](_0x1e78f6){var _0x102294=_0x4f3d5a;this['_logService'][_0x102294(0x37b)](_0x102294(0x2c7),_0x102294(0x21a)),_0x1e78f6[_0x102294(0x175)]({'cmd':_0x270d19[_0x102294(0x290)]}),this[_0x102294(0x359)]();}['_onOffline'](){var _0x2f723b=_0x4f3d5a;this['_socketReady']=!0x1,this['_candidateSocket']=null,this[_0x2f723b(0x3a1)]['next'](_0x45134b[_0x2f723b(0x27a)]),this[_0x2f723b(0x118)][_0x2f723b(0x191)](null),this[_0x2f723b(0x2c1)](),this[_0x2f723b(0xfb)]();}[_0x4f3d5a(0x3c4)](){var _0x2a8021=_0x4f3d5a,_0x4899c7;this[_0x2a8021(0x3c5)](),this[_0x2a8021(0xb4)]<((_0x4899c7=this[_0x2a8021(0xd0)][_0x2a8021(0x38d)](_0x394647))!=null?_0x4899c7:0x3)?(this[_0x2a8021(0x179)][_0x2a8021(0x208)]({'id':_0x2f98ef['SOCKET_FAILED_RETRY']}),this[_0x2a8021(0xee)]()):this[_0x2a8021(0x179)][_0x2a8021(0x208)]({'id':_0x2f98ef[_0x2a8021(0x386)]});}['_tryReconnect'](){var _0x1fec28=_0x4f3d5a,_0x4e030d;const _0xd89060=this[_0x1fec28(0xb4)],_0x3e706e=this[_0x1fec28(0xd0)][_0x1fec28(0x38d)](_0x5dafb3),_0xdffef2=_0xd89060===0x0?0x0:((_0x4e030d=_0x3e706e==null?void 0x0:_0x3e706e[_0x1fec28(0x27d)])!=null?_0x4e030d:0x4e20)*0x2**_0xd89060;this[_0x1fec28(0x373)]=setTimeout(()=>{var _0x47cea3=_0x1fec28;clearTimeout(this[_0x47cea3(0x373)]),this['_retryConnectingTimer']=null,this['_tryEnsureSocket']();},_0xdffef2),this[_0x1fec28(0xb4)]+=0x1;}[_0x4f3d5a(0x2b4)](_0x4164d7,_0x159134){var _0x5318a2=_0x4f3d5a;const {cmd:_0x4f8294}=_0x159134;_0x4f8294===_0x270d19[_0x5318a2(0x290)]&&!this[_0x5318a2(0x35f)]&&(_0x4164d7[_0x5318a2(0x185)]=_0x159134[_0x5318a2(0x3ec)][_0x5318a2(0x185)],this[_0x5318a2(0x118)]['next'](_0x4164d7),this['_status$'][_0x5318a2(0x191)](_0x45134b[_0x5318a2(0x102)]),this['_socketReady']=!0x0,this[_0x5318a2(0x41e)]=null),_0x4f8294===_0x270d19[_0x5318a2(0x391)]&&this[_0x5318a2(0x2c1)](),this[_0x5318a2(0x359)]();}[_0x4f3d5a(0x359)](){var _0x611f69=_0x4f3d5a,_0x26ad9c;this['_clearHeartbeatTimer'](),this[_0x611f69(0x29f)]=setTimeout(()=>this[_0x611f69(0x351)](),(_0x26ad9c=this[_0x611f69(0xd0)][_0x611f69(0x38d)](_0x5ac1cf))!=null?_0x26ad9c:0x7530);}[_0x4f3d5a(0x351)](){var _0x589748=_0x4f3d5a;this[_0x589748(0x3ea)][_0x589748(0x175)]({'cmd':_0x270d19['HEARTBEAT']}),this[_0x589748(0x334)]();}[_0x4f3d5a(0x334)](){var _0x2fc364=_0x4f3d5a,_0x8472e0;this['_timeoutTimer']=setTimeout(()=>this['_onConnectionFailed'](),(_0x8472e0=this['_configService'][_0x2fc364(0x38d)](_0x1324fc))!=null?_0x8472e0:0x4e20);}[_0x4f3d5a(0xfb)](){var _0x50779b=_0x4f3d5a;this[_0x50779b(0x29f)]!=null&&(clearTimeout(this[_0x50779b(0x29f)]),this[_0x50779b(0x29f)]=null);}['_clearTimeoutTimer'](){var _0x4d667f=_0x4f3d5a;this[_0x4d667f(0xe2)]!=null&&(clearTimeout(this['_timeoutTimer']),this[_0x4d667f(0xe2)]=null);}},_0x427316[_0x4f3d5a(0x1a8)]=_0x27247a([_0x59a936(0x0,_0x3392b5[_0x4f3d5a(0x329)](_0x3392b5[_0x4f3d5a(0x421)])),_0x59a936(0x1,_0x3392b5[_0x4f3d5a(0x1c1)]),_0x59a936(0x2,_0x3392b5['IConfigService']),_0x59a936(0x3,_0x4be32f),_0x59a936(0x4,_0x3392b5[_0x4f3d5a(0x329)](_0x5d354c)),_0x59a936(0x5,_0x3392b5[_0x4f3d5a(0x289)](_0x357e84))],_0x427316[_0x4f3d5a(0x1a8)]);var _0x3c3ab4=Object['getOwnPropertyDescriptor'],_0x1039af=(_0x12e82a,_0x25d091,_0x1f66e4,_0x57a0c6)=>{var _0x187cd8=_0x4f3d5a;for(var _0x23d230=_0x57a0c6>0x1?void 0x0:_0x57a0c6?_0x3c3ab4(_0x25d091,_0x1f66e4):_0x25d091,_0x535f11=_0x12e82a[_0x187cd8(0x36c)]-0x1,_0x5e8c0c;_0x535f11>=0x0;_0x535f11--)(_0x5e8c0c=_0x12e82a[_0x535f11])&&(_0x23d230=_0x5e8c0c(_0x23d230)||_0x23d230);return _0x23d230;},_0x365956=(_0x13bbe5,_0x5cca81)=>(_0x28b42d,_0x8b6320)=>_0x5cca81(_0x28b42d,_0x8b6320,_0x13bbe5);_0x427316[_0x4f3d5a(0x235)]=class extends _0x3392b5['RxDisposable']{constructor(_0x4503e6,_0x135d94,_0x160e60,_0x462a07){var _0x128b1d=_0x4f3d5a,_0x32b93b;super(),_0x2cd3a0(this,_0x128b1d(0x2a2),new Map()),_0x2cd3a0(this,'_entityInit$',new _0x2c1c73[(_0x128b1d(0xc5))]()),_0x2cd3a0(this,_0x128b1d(0x43f),this[_0x128b1d(0x3f3)]['asObservable']()),(this[_0x128b1d(0x1fb)]=_0x4503e6,this[_0x128b1d(0x36e)]=_0x135d94,this[_0x128b1d(0xd0)]=_0x160e60,this[_0x128b1d(0x43d)]=_0x462a07,((_0x32b93b=this[_0x128b1d(0xd0)][_0x128b1d(0x38d)](_0x5dafb3))==null?void 0x0:_0x32b93b['enableCollaboration'])!==!0x1&&this[_0x128b1d(0x14d)]());}[_0x4f3d5a(0x252)](){var _0x201632=_0x4f3d5a;super['dispose'](),this['_entities'][_0x201632(0x186)](_0x1e23b2=>_0x1e23b2[_0x201632(0x252)]()),this['_entities'][_0x201632(0x229)]();}[_0x4f3d5a(0x1eb)](_0x35340c){var _0x30e9be=_0x4f3d5a,_0x49b49b;return(_0x49b49b=this[_0x30e9be(0x2a2)][_0x30e9be(0x1e6)](_0x35340c))!=null?_0x49b49b:null;}[_0x4f3d5a(0x408)](_0x7b1dc7){var _0xc0d39a=_0x4f3d5a;const _0x3794eb=this[_0xc0d39a(0x1eb)](_0x7b1dc7);return _0x3794eb?_0x2c1c73['of'](_0x3794eb):this['_entityInit$'][_0xc0d39a(0x1c4)](_0x1f6813['filter'](_0x18e660=>_0x18e660[_0xc0d39a(0x259)]===_0x7b1dc7));}[_0x4f3d5a(0x3b3)](_0x237b69){var _0x351575=_0x4f3d5a;return _0x2c1c73[_0x351575(0x1ee)](this[_0x351575(0x408)](_0x237b69)[_0x351575(0x1c4)](_0x1f6813['map'](()=>{})));}[_0x4f3d5a(0x14d)](){var _0x388ed5=_0x4f3d5a;this[_0x388ed5(0x43d)][_0x388ed5(0x381)](_0x3392b5[_0x388ed5(0x401)]['UNIVER_SHEET'])[_0x388ed5(0x1c4)](_0x2c1c73[_0x388ed5(0x239)](this[_0x388ed5(0xc6)]),_0x1f6813[_0x388ed5(0x124)](0x10))['subscribe'](async _0x5169e2=>{var _0x1e42c4=_0x388ed5;const _0x5792ae=_0x5169e2[_0x1e42c4(0x1c7)](),_0x55fc16=await this[_0x1e42c4(0x292)](_0x5792ae,_0x2f4b9b[_0x1e42c4(0x214)]);this[_0x1e42c4(0x2a2)][_0x1e42c4(0x3ef)](_0x5792ae,_0x55fc16);}),this[_0x388ed5(0x43d)][_0x388ed5(0x381)](_0x3392b5[_0x388ed5(0x401)][_0x388ed5(0x26b)])[_0x388ed5(0x1c4)](_0x2c1c73[_0x388ed5(0x239)](this['dispose$']),_0x1f6813[_0x388ed5(0x124)](0x10))['pipe'](_0x1f6813[_0x388ed5(0x17c)](_0x39b81b=>!_0x39b81b['getUnitId']()[_0x388ed5(0x2b1)]('__')))[_0x388ed5(0x12f)](async _0x3ce609=>{var _0x3e103e=_0x388ed5;const _0x168d80=_0x3ce609[_0x3e103e(0x1c7)](),_0x565764=await this[_0x3e103e(0x292)](_0x168d80,_0x2f4b9b[_0x3e103e(0x26b)]);this[_0x3e103e(0x2a2)]['set'](_0x168d80,_0x565764);}),_0x2c1c73['merge'](this['_univerInstanceService'][_0x388ed5(0x12c)](_0x3392b5[_0x388ed5(0x401)][_0x388ed5(0x214)]),this[_0x388ed5(0x43d)][_0x388ed5(0x12c)](_0x3392b5[_0x388ed5(0x401)][_0x388ed5(0x26b)]))[_0x388ed5(0x1c4)](_0x2c1c73[_0x388ed5(0x239)](this[_0x388ed5(0xc6)]))['subscribe'](_0x2ab3b8=>{var _0xca6e39=_0x388ed5;const _0x4f1916=_0x2ab3b8[_0xca6e39(0x1c7)](),_0x582344=this[_0xca6e39(0x2a2)][_0xca6e39(0x1e6)](_0x4f1916);_0x582344&&(_0x582344[_0xca6e39(0x252)](),this[_0xca6e39(0x2a2)]['delete'](_0x4f1916));});}async[_0x4f3d5a(0x292)](_0x5a7afc,_0x552914){var _0x2e5998=_0x4f3d5a;const _0x52d00b=await this[_0x2e5998(0x36e)][_0x2e5998(0x159)](_0x5a7afc),_0x22b114=this['_injector'][_0x2e5998(0x417)](this[_0x2e5998(0x3f5)](_0x552914),_0x5a7afc,_0x552914,_0x52d00b);return await _0x22b114[_0x2e5998(0xc3)](),this[_0x2e5998(0x3f3)][_0x2e5998(0x191)](_0x22b114),_0x22b114;}[_0x4f3d5a(0x3f5)](_0x2fb830){var _0x2e6c86=_0x4f3d5a;switch(_0x2fb830){case _0x2f4b9b[_0x2e6c86(0x26b)]:return _0x427316[_0x2e6c86(0x227)];case _0x2f4b9b[_0x2e6c86(0x214)]:return _0x427316[_0x2e6c86(0x238)];default:throw new Error(_0x2e6c86(0x3a6)+_0x2fb830);}}},_0x427316[_0x4f3d5a(0x235)]=_0x1039af([_0x365956(0x0,_0x3392b5[_0x4f3d5a(0x329)](_0x3392b5[_0x4f3d5a(0x421)])),_0x365956(0x1,_0x3392b5['Inject'](_0x427316['CollaborationSessionService'])),_0x365956(0x2,_0x3392b5[_0x4f3d5a(0x3dd)]),_0x365956(0x3,_0x3392b5[_0x4f3d5a(0x1cd)])],_0x427316['CollaborationController']);var _0x383474=Object[_0x4f3d5a(0x246)],_0x1fdc12=(_0x229966,_0x263370,_0x32665c,_0x5a1f8f)=>{var _0x4fe861=_0x4f3d5a;for(var _0x425a91=_0x5a1f8f>0x1?void 0x0:_0x5a1f8f?_0x383474(_0x263370,_0x32665c):_0x263370,_0x437ffe=_0x229966[_0x4fe861(0x36c)]-0x1,_0x4e0ba5;_0x437ffe>=0x0;_0x437ffe--)(_0x4e0ba5=_0x229966[_0x437ffe])&&(_0x425a91=_0x4e0ba5(_0x425a91)||_0x425a91);return _0x425a91;},_0x1fc2aa=(_0x5b1ebb,_0x3e4dad)=>(_0x544202,_0x78155c)=>_0x3e4dad(_0x544202,_0x78155c,_0x5b1ebb);const _0x4a7017='DEFAULT_FILE_NAME',_0x4da647=_0x4f3d5a(0x1ed);let _0x64f94e=class extends _0x3392b5[_0x4f3d5a(0x1cf)]{constructor(_0x1a9b22,_0x4f1f47){var _0x30fc46=_0x4f3d5a;super(),this[_0x30fc46(0x43d)]=_0x1a9b22,this[_0x30fc46(0xd0)]=_0x4f1f47,this['_init']();}[_0x4f3d5a(0x14d)](){var _0x167d03=_0x4f3d5a;this[_0x167d03(0x296)](this[_0x167d03(0x43d)][_0x167d03(0x33d)][_0x167d03(0x12f)](()=>{var _0x55a8e2=_0x167d03,_0x1a9884;const _0x1c2b05=this[_0x55a8e2(0x43d)][_0x55a8e2(0xc1)]();let _0x49e725=(_0x1a9884=this[_0x55a8e2(0xd0)]['getConfig'](_0x4a7017))!=null?_0x1a9884:_0x4da647;_0x1c2b05 instanceof _0x3392b5[_0x55a8e2(0x322)]&&(_0x49e725=_0x1c2b05[_0x55a8e2(0x405)]),document[_0x55a8e2(0x2ed)]=_0x49e725;}));}};_0x64f94e=_0x1fdc12([_0x1fc2aa(0x0,_0x3392b5[_0x4f3d5a(0x1cd)]),_0x1fc2aa(0x1,_0x3392b5[_0x4f3d5a(0x3dd)])],_0x64f94e);var _0x4d8f52=Object[_0x4f3d5a(0x246)],_0x444450=(_0x3b25ad,_0xfcf81a,_0x47a0bd,_0x30dde4)=>{var _0x54d887=_0x4f3d5a;for(var _0x19cf1e=_0x30dde4>0x1?void 0x0:_0x30dde4?_0x4d8f52(_0xfcf81a,_0x47a0bd):_0xfcf81a,_0x8d93ac=_0x3b25ad[_0x54d887(0x36c)]-0x1,_0x19da59;_0x8d93ac>=0x0;_0x8d93ac--)(_0x19da59=_0x3b25ad[_0x8d93ac])&&(_0x19cf1e=_0x19da59(_0x19cf1e)||_0x19cf1e);return _0x19cf1e;},_0x574090=(_0xc1e1f0,_0x43b057)=>(_0x11327e,_0x14491a)=>_0x43b057(_0x11327e,_0x14491a,_0xc1e1f0);let _0x81a0c9=class{constructor(_0x5584f1,_0x3e3476,_0xf47888){var _0x521a2c=_0x4f3d5a;this['_configService']=_0x5584f1,this[_0x521a2c(0x196)]=_0x3e3476,this[_0x521a2c(0x152)]=_0xf47888,this[_0x521a2c(0xc3)]();}[_0x4f3d5a(0xc3)](){var _0x428801=_0x4f3d5a;this['_httpService']['registerHTTPInterceptor']({'priority':0x1,'interceptor':(_0x28d64d,_0x1d139a)=>_0x1d139a(_0x28d64d)[_0x428801(0x1c4)](_0x2c1c73['concatMap'](async _0x313477=>{var _0x1beb21=_0x428801;const _0x96b983=_0x313477;if(_0x96b983[_0x1beb21(0x319)]===0x191){if(typeof window>'u')throw new Error(_0x1beb21(0x2fa));if(window[_0x1beb21(0x265)](this['localeService']['t'](_0x1beb21(0x437)))){const _0xcc69e1=window[_0x1beb21(0x24c)](window[_0x1beb21(0x2e0)][_0x1beb21(0x31a)]);window['location'][_0x1beb21(0x31a)]=this['_getLoginPath']()+_0x1beb21(0x2bc)+_0xcc69e1;}}return _0x96b983;}))});}['_getLoginPath'](){var _0x311536=_0x4f3d5a,_0x29d737;const _0x422848=this[_0x311536(0xd0)][_0x311536(0x38d)](_0x5dafb3);return(_0x29d737=_0x422848==null?void 0x0:_0x422848['loginUrlKey'])!=null?_0x29d737:_0x1911dc;}};_0x81a0c9=_0x444450([_0x574090(0x0,_0x3392b5[_0x4f3d5a(0x3dd)]),_0x574090(0x1,_0x3392b5[_0x4f3d5a(0x329)](_0x48a077[_0x4f3d5a(0xb5)])),_0x574090(0x2,_0x3392b5[_0x4f3d5a(0x329)](_0x3392b5['LocaleService']))],_0x81a0c9);var _0x369812=Object[_0x4f3d5a(0x246)],_0x58a783=(_0x4e9909,_0xe26097,_0x21f2d6,_0x39fdd7)=>{var _0x7f3bc8=_0x4f3d5a;for(var _0x1b18e9=_0x39fdd7>0x1?void 0x0:_0x39fdd7?_0x369812(_0xe26097,_0x21f2d6):_0xe26097,_0x47d3eb=_0x4e9909[_0x7f3bc8(0x36c)]-0x1,_0xffcc86;_0x47d3eb>=0x0;_0x47d3eb--)(_0xffcc86=_0x4e9909[_0x47d3eb])&&(_0x1b18e9=_0xffcc86(_0x1b18e9)||_0x1b18e9);return _0x1b18e9;},_0x2145d3=(_0x54f59b,_0x5bd4f9)=>(_0x36b1f0,_0x4a531e)=>_0x5bd4f9(_0x36b1f0,_0x4a531e,_0x54f59b);const _0xdaf2f4=_0x4f3d5a(0x411);_0x427316['AuthzIoHttpService']=class extends _0x3392b5[_0x4f3d5a(0x1cf)]{constructor(_0x1691ac,_0x2034ec){var _0x265ff8=_0x4f3d5a;super(),this[_0x265ff8(0x3cd)]=_0x1691ac,this[_0x265ff8(0xd0)]=_0x2034ec,this[_0x265ff8(0x2b2)]();}[_0x4f3d5a(0x2b2)](){var _0xb56045=_0x4f3d5a;const _0x427beb=this;this[_0xb56045(0x296)](this['_HTTPService']['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':_0x48a077['MergeInterceptorFactory']({'isMatch'(_0x30d7a1){var _0x291071=_0xb56045,_0xb18885;if(_0x30d7a1[_0x291071(0x271)]==='POST'&&((_0xb18885=_0x30d7a1[_0x291071(0x2e9)])!=null&&_0xb18885['body'])){const {objectID:_0x9211e,objectType:_0x38575c}=_0x30d7a1['requestParams'][_0x291071(0x17f)]||{};if(!_0x9211e||_0x38575c===void 0x0)return!0x1;const _0x569148=_0x427beb[_0x291071(0x3f9)]()+'/'+_0x38575c+_0x291071(0x2bd)+_0x9211e+_0x291071(0x23c);if(_0x30d7a1['url']===_0x569148)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x30efc0){var _0x3dbceb=_0xb56045,_0x1a7535;return(_0x1a7535=_0x30efc0[_0x3dbceb(0x2e9)])==null?void 0x0:_0x1a7535['body'];},'mergeParamsToRequest'(_0x46316e,_0x3fc489){var _0xa34416=_0xb56045;const _0x3bf339=_0x427beb['_getAPIPrefixPath']()+_0xa34416(0x3c8),_0x301803=_0x46316e[_0xa34416(0x3fb)]((_0x6a52a4,_0x3d42ec)=>{var _0x84d67c=_0xa34416;const {unitID:_0x26d813,objectID:_0x416ce2,objectType:_0x28edd1,actions:_0x5b2b4a}=_0x3d42ec;return _0x6a52a4[_0x26d813]||(_0x6a52a4[_0x26d813]={}),_0x6a52a4[_0x26d813][_0x416ce2]||(_0x6a52a4[_0x26d813][_0x416ce2]={'objectID':_0x416ce2,'objectType':_0x28edd1,'actions':[]}),_0x6a52a4[_0x26d813][_0x416ce2][_0x84d67c(0xb8)][_0x84d67c(0x228)](..._0x5b2b4a),_0x6a52a4;},{}),_0x10a841=[];for(const _0x9b85ed in _0x301803)for(const _0x4b0d69 in _0x301803[_0x9b85ed]){const {actions:_0x2e47dd,objectType:_0x885b41}=_0x301803[_0x9b85ed][_0x4b0d69],_0x22fbe9=[...new Set(_0x2e47dd)];_0x10a841[_0xa34416(0x228)]({'unitID':_0x9b85ed,'objectID':_0x4b0d69,'objectType':_0x885b41,'actions':_0x22fbe9});}return new _0x48a077[(_0xa34416(0x3ee))]('POST',_0x3bf339,{'headers':_0x3fc489['headers'],'withCredentials':_0x3fc489[_0xa34416(0x35e)],'responseType':_0x3fc489[_0xa34416(0x380)],'body':{'requests':_0x10a841}});}},{'distributeResult'(_0x4ff2f5,_0x581495){const {objectActions:_0x276abe}=_0x4ff2f5;return _0x581495['map'](_0x108073=>{var _0x38738b=_0x3800;const {unitID:_0x5d38c2,objectID:_0x8cc755,actions:_0xbec207}=_0x108073,_0x7a5e7c=_0x276abe['find'](_0x50d64b=>_0x50d64b[_0x38738b(0x259)]===_0x5d38c2&&_0x50d64b[_0x38738b(0x369)]===_0x8cc755),_0x4f6cec=_0xbec207[_0x38738b(0xa5)](_0x492bc3=>_0x7a5e7c==null?void 0x0:_0x7a5e7c[_0x38738b(0xb8)]['find'](_0xbe223a=>_0xbe223a['action']===_0x492bc3))[_0x38738b(0x17c)](_0x194b11=>!!_0x194b11);return{'config':_0x108073,'result':{'actions':_0x4f6cec,'error':_0x4ff2f5['error']}};});}})}));}[_0x4f3d5a(0x3f9)](){var _0xf58db9=_0x4f3d5a,_0x1fd702;const _0x135fb5=this[_0xf58db9(0xd0)]['getConfig'](_0x5dafb3);return(_0x1fd702=_0x135fb5==null?void 0x0:_0x135fb5[_0xf58db9(0x3a9)])!=null?_0x1fd702:_0xdaf2f4;}async[_0x4f3d5a(0x1d6)](_0x541cd9){var _0x5b259f=_0x4f3d5a;const _0x5e392d=this[_0x5b259f(0x3f9)]()+'/'+_0x541cd9['objectType']+_0x5b259f(0x25b);return(await this[_0x5b259f(0x3cd)][_0x5b259f(0x16c)](_0x5e392d,{'body':_0x541cd9}))[_0x5b259f(0x17f)]['objectID']||'';}async['list'](_0xdab64f){var _0x10ce6b=_0x4f3d5a;const _0xdcb4c3=this[_0x10ce6b(0x3f9)]()+_0x10ce6b(0x35d);return(await this[_0x10ce6b(0x3cd)][_0x10ce6b(0x16c)](_0xdcb4c3,{'body':_0xdab64f}))['body'][_0x10ce6b(0x135)];}async['update'](_0x47fe56){var _0x149d35=_0x4f3d5a,_0x3d4283,_0x31839e;const _0x1482f7=this[_0x149d35(0x3f9)]()+'/'+_0x47fe56[_0x149d35(0xd9)]+_0x149d35(0x2bd)+_0x47fe56[_0x149d35(0x369)],_0x202d13=await this[_0x149d35(0x3cd)][_0x149d35(0xf0)](_0x1482f7,{'body':_0x47fe56});if(((_0x31839e=(_0x3d4283=_0x202d13==null?void 0x0:_0x202d13[_0x149d35(0x17f)])==null?void 0x0:_0x3d4283[_0x149d35(0x316)])==null?void 0x0:_0x31839e['code'])!==0x1)throw new Error(_0x149d35(0xce));}async[_0x4f3d5a(0x3cf)](_0x54ee6a){var _0x111ee1=_0x4f3d5a;const _0x2c67af=this[_0x111ee1(0x3f9)]()+'/'+_0x54ee6a['objectType']+_0x111ee1(0x2bd)+_0x54ee6a['objectID']+_0x111ee1(0x23c);return(await this[_0x111ee1(0x3cd)][_0x111ee1(0x16c)](_0x2c67af,{'body':_0x54ee6a}))[_0x111ee1(0x17f)][_0x111ee1(0xb8)];}async[_0x4f3d5a(0x3a5)](_0x161f4b){var _0x57461e=_0x4f3d5a;const _0x11cffa=this[_0x57461e(0x3f9)]()+_0x57461e(0x3c8);return(await this[_0x57461e(0x3cd)][_0x57461e(0x16c)](_0x11cffa,{'body':{'requests':_0x161f4b}}))[_0x57461e(0x17f)][_0x57461e(0x111)];}async[_0x4f3d5a(0x263)](_0x1ae7fa){var _0xf01835=_0x4f3d5a;const _0x46ae89=this[_0xf01835(0x3f9)]()+'/'+_0x1ae7fa[_0xf01835(0xd9)]+'/role',_0x4b672a=await this[_0xf01835(0x3cd)][_0xf01835(0x16c)](_0x46ae89,{'body':_0x1ae7fa});return{'roles':_0x4b672a[_0xf01835(0x17f)][_0xf01835(0x2d9)],'actions':_0x4b672a[_0xf01835(0x17f)][_0xf01835(0xb8)]};}async[_0x4f3d5a(0x2be)](_0x4bc155){var _0x2a1094=_0x4f3d5a;const _0x63469=this[_0x2a1094(0x3f9)]()+'/collaborator';await this['_HTTPService'][_0x2a1094(0x338)](_0x63469,{'params':{'collaboratorID':_0x4bc155[_0x2a1094(0xb7)],'objectID':_0x4bc155[_0x2a1094(0x369)],'unitID':_0x4bc155[_0x2a1094(0x259)]}});}async['updateCollaborator'](_0x11db5f){var _0x45d203=_0x4f3d5a;const _0x4ff00a=this['_getAPIPrefixPath']()+_0x45d203(0x3bd);await this[_0x45d203(0x3cd)][_0x45d203(0x1e2)](_0x4ff00a,{'body':_0x11db5f});}async[_0x4f3d5a(0x1a1)](_0x1fe4a8){var _0x470d3c=_0x4f3d5a;const _0x14ac03=this[_0x470d3c(0x3f9)]()+_0x470d3c(0x3bd);await this[_0x470d3c(0x3cd)][_0x470d3c(0x16c)](_0x14ac03,{'body':_0x1fe4a8});}async[_0x4f3d5a(0x2b8)](_0x4f6f2d){var _0x1b3254=_0x4f3d5a;const _0x524a4f=this[_0x1b3254(0x3f9)]()+_0x1b3254(0x3bd);return(await this['_HTTPService'][_0x1b3254(0x1e6)](_0x524a4f,{'params':{'objectID':_0x4f6f2d[_0x1b3254(0x369)],'unitID':_0x4f6f2d['unitID']}}))[_0x1b3254(0x17f)][_0x1b3254(0x20d)];}async['putCollaborators'](_0x52b420){var _0x3ca4e6=_0x4f3d5a;const _0x3cb149=this[_0x3ca4e6(0x3f9)]()+_0x3ca4e6(0x3bd);await this[_0x3ca4e6(0x3cd)][_0x3ca4e6(0xf0)](_0x3cb149,{'body':_0x52b420});}},_0x427316[_0x4f3d5a(0x2e5)]=_0x58a783([_0x2145d3(0x0,_0x3392b5[_0x4f3d5a(0x329)](_0x48a077[_0x4f3d5a(0xb5)])),_0x2145d3(0x1,_0x3392b5[_0x4f3d5a(0x329)](_0x3392b5[_0x4f3d5a(0x3dd)]))],_0x427316[_0x4f3d5a(0x2e5)]);var _0x55adf1=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function _0x4edaab(_0x129c5b){var _0x4cc109=_0x4f3d5a;return _0x129c5b&&_0x129c5b['__esModule']&&Object[_0x4cc109(0x1d7)][_0x4cc109(0x3d2)][_0x4cc109(0x1da)](_0x129c5b,_0x4cc109(0x34f))?_0x129c5b[_0x4cc109(0x34f)]:_0x129c5b;}var _0x5b399d={'exports':{}};function _0x492d11(_0x1e6169){var _0x39031e=_0x4f3d5a;throw new Error(_0x39031e(0x2e4)+_0x1e6169+'\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.');}var _0x40df66={'exports':{}},_0x3699cd=_0x40df66[_0x4f3d5a(0x40f)],_0x500fca;function _0x42e50c(){return _0x500fca||(_0x500fca=0x1,function(_0x569b3f,_0x280430){(function(_0x35bb3e,_0x3c269b){_0x569b3f['exports']=_0x3c269b();}(_0x3699cd,function(){var _0x1a590b=_0x1a590b||function(_0x41bdc3,_0x2e15e0){var _0x51e291=_0x3800,_0x3f8060;if(typeof window<'u'&&window[_0x51e291(0x3b4)]&&(_0x3f8060=window[_0x51e291(0x3b4)]),typeof self<'u'&&self[_0x51e291(0x3b4)]&&(_0x3f8060=self['crypto']),typeof globalThis<'u'&&globalThis['crypto']&&(_0x3f8060=globalThis[_0x51e291(0x3b4)]),!_0x3f8060&&typeof window<'u'&&window['msCrypto']&&(_0x3f8060=window[_0x51e291(0x10f)]),!_0x3f8060&&typeof _0x55adf1<'u'&&_0x55adf1[_0x51e291(0x3b4)]&&(_0x3f8060=_0x55adf1['crypto']),!_0x3f8060&&typeof _0x492d11=='function')try{_0x3f8060=require('crypto');}catch{}var _0x268cf3=function(){var _0x5c84e7=_0x51e291;if(_0x3f8060){if(typeof _0x3f8060[_0x5c84e7(0x2af)]=='function')try{return _0x3f8060[_0x5c84e7(0x2af)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x3f8060[_0x5c84e7(0x299)]=='function')try{return _0x3f8060[_0x5c84e7(0x299)](0x4)['readInt32LE']();}catch{}}throw new Error(_0x5c84e7(0x134));},_0x5d4b3d=Object[_0x51e291(0x1d6)]||(function(){function _0x11b26f(){}return function(_0x4b1f5d){var _0x3d1f2a=_0x3800,_0x1eecc0;return _0x11b26f[_0x3d1f2a(0x1d7)]=_0x4b1f5d,_0x1eecc0=new _0x11b26f(),_0x11b26f['prototype']=null,_0x1eecc0;};}()),_0x510c3e={},_0x4800f8=_0x510c3e[_0x51e291(0x335)]={},_0x1b99d8=_0x4800f8[_0x51e291(0x210)]=(function(){return{'extend':function(_0x57f723){var _0x32a535=_0x3800,_0x335fed=_0x5d4b3d(this);return _0x57f723&&_0x335fed[_0x32a535(0xa6)](_0x57f723),(!_0x335fed[_0x32a535(0x3d2)](_0x32a535(0xc3))||this[_0x32a535(0xc3)]===_0x335fed[_0x32a535(0xc3)])&&(_0x335fed[_0x32a535(0xc3)]=function(){var _0x504e38=_0x32a535;_0x335fed['$super'][_0x504e38(0xc3)][_0x504e38(0x275)](this,arguments);}),_0x335fed['init']['prototype']=_0x335fed,_0x335fed[_0x32a535(0x376)]=this,_0x335fed;},'create':function(){var _0x6853d5=_0x3800,_0x112b0f=this[_0x6853d5(0x230)]();return _0x112b0f[_0x6853d5(0xc3)][_0x6853d5(0x275)](_0x112b0f,arguments),_0x112b0f;},'init':function(){},'mixIn':function(_0x1c641e){var _0x46c36a=_0x3800;for(var _0x177a70 in _0x1c641e)_0x1c641e['hasOwnProperty'](_0x177a70)&&(this[_0x177a70]=_0x1c641e[_0x177a70]);_0x1c641e[_0x46c36a(0x3d2)]('toString')&&(this['toString']=_0x1c641e[_0x46c36a(0x2fc)]);},'clone':function(){var _0xf41a21=_0x3800;return this[_0xf41a21(0xc3)]['prototype'][_0xf41a21(0x230)](this);}};}()),_0x5060c2=_0x4800f8[_0x51e291(0x3df)]=_0x1b99d8[_0x51e291(0x230)]({'init':function(_0xe1dd2b,_0x206e29){var _0x119e55=_0x51e291;_0xe1dd2b=this[_0x119e55(0x108)]=_0xe1dd2b||[],_0x206e29!=_0x2e15e0?this[_0x119e55(0x18e)]=_0x206e29:this[_0x119e55(0x18e)]=_0xe1dd2b[_0x119e55(0x36c)]*0x4;},'toString':function(_0x50b243){var _0xbcb3a8=_0x51e291;return(_0x50b243||_0x269e1c)[_0xbcb3a8(0x374)](this);},'concat':function(_0x3478c7){var _0x4c222e=_0x51e291,_0x97ad01=this['words'],_0x3cc8e7=_0x3478c7[_0x4c222e(0x108)],_0x483b1f=this[_0x4c222e(0x18e)],_0x5e27ca=_0x3478c7['sigBytes'];if(this[_0x4c222e(0x158)](),_0x483b1f%0x4)for(var _0x457b33=0x0;_0x457b33<_0x5e27ca;_0x457b33++){var _0x5b3996=_0x3cc8e7[_0x457b33>>>0x2]>>>0x18-_0x457b33%0x4*0x8&0xff;_0x97ad01[_0x483b1f+_0x457b33>>>0x2]|=_0x5b3996<<0x18-(_0x483b1f+_0x457b33)%0x4*0x8;}else{for(var _0x1d5d72=0x0;_0x1d5d72<_0x5e27ca;_0x1d5d72+=0x4)_0x97ad01[_0x483b1f+_0x1d5d72>>>0x2]=_0x3cc8e7[_0x1d5d72>>>0x2];}return this['sigBytes']+=_0x5e27ca,this;},'clamp':function(){var _0x2d0b66=_0x51e291,_0x2e4a06=this[_0x2d0b66(0x108)],_0x3c04a9=this['sigBytes'];_0x2e4a06[_0x3c04a9>>>0x2]&=0xffffffff<<0x20-_0x3c04a9%0x4*0x8,_0x2e4a06[_0x2d0b66(0x36c)]=_0x41bdc3['ceil'](_0x3c04a9/0x4);},'clone':function(){var _0x303008=_0x51e291,_0x18dd09=_0x1b99d8[_0x303008(0x1bd)][_0x303008(0x1da)](this);return _0x18dd09[_0x303008(0x108)]=this[_0x303008(0x108)][_0x303008(0x3fe)](0x0),_0x18dd09;},'random':function(_0xe6915){var _0x61fe94=_0x51e291;for(var _0x546bfc=[],_0x32bb8e=0x0;_0x32bb8e<_0xe6915;_0x32bb8e+=0x4)_0x546bfc[_0x61fe94(0x228)](_0x268cf3());return new _0x5060c2[(_0x61fe94(0xc3))](_0x546bfc,_0xe6915);}}),_0x47aee3=_0x510c3e['enc']={},_0x269e1c=_0x47aee3[_0x51e291(0x1fe)]={'stringify':function(_0x226e8e){var _0x34b761=_0x51e291;for(var _0x5c042f=_0x226e8e[_0x34b761(0x108)],_0x3bbe10=_0x226e8e[_0x34b761(0x18e)],_0x595f7c=[],_0x352b96=0x0;_0x352b96<_0x3bbe10;_0x352b96++){var _0x4074fa=_0x5c042f[_0x352b96>>>0x2]>>>0x18-_0x352b96%0x4*0x8&0xff;_0x595f7c['push']((_0x4074fa>>>0x4)[_0x34b761(0x2fc)](0x10)),_0x595f7c[_0x34b761(0x228)]((_0x4074fa&0xf)['toString'](0x10));}return _0x595f7c[_0x34b761(0x107)]('');},'parse':function(_0x2f9cf5){var _0x45ff82=_0x51e291;for(var _0x16da14=_0x2f9cf5[_0x45ff82(0x36c)],_0x4a8073=[],_0x50bff4=0x0;_0x50bff4<_0x16da14;_0x50bff4+=0x2)_0x4a8073[_0x50bff4>>>0x3]|=parseInt(_0x2f9cf5['substr'](_0x50bff4,0x2),0x10)<<0x18-_0x50bff4%0x8*0x4;return new _0x5060c2[(_0x45ff82(0xc3))](_0x4a8073,_0x16da14/0x2);}},_0x5e2be7=_0x47aee3[_0x51e291(0x13a)]={'stringify':function(_0x45dfb2){var _0x250f3a=_0x51e291;for(var _0xf6f680=_0x45dfb2[_0x250f3a(0x108)],_0x2dbb71=_0x45dfb2[_0x250f3a(0x18e)],_0x2bf71b=[],_0x10f731=0x0;_0x10f731<_0x2dbb71;_0x10f731++){var _0x5ed62a=_0xf6f680[_0x10f731>>>0x2]>>>0x18-_0x10f731%0x4*0x8&0xff;_0x2bf71b[_0x250f3a(0x228)](String[_0x250f3a(0xa9)](_0x5ed62a));}return _0x2bf71b['join']('');},'parse':function(_0x56716b){var _0x152157=_0x51e291;for(var _0x2a0be5=_0x56716b[_0x152157(0x36c)],_0x3e9309=[],_0x263ab1=0x0;_0x263ab1<_0x2a0be5;_0x263ab1++)_0x3e9309[_0x263ab1>>>0x2]|=(_0x56716b[_0x152157(0x207)](_0x263ab1)&0xff)<<0x18-_0x263ab1%0x4*0x8;return new _0x5060c2['init'](_0x3e9309,_0x2a0be5);}},_0x4d8253=_0x47aee3[_0x51e291(0x304)]={'stringify':function(_0x3c9845){var _0x5f0fc1=_0x51e291;try{return decodeURIComponent(escape(_0x5e2be7[_0x5f0fc1(0x374)](_0x3c9845)));}catch{throw new Error(_0x5f0fc1(0x348));}},'parse':function(_0x5aab8b){var _0x47d9fb=_0x51e291;return _0x5e2be7[_0x47d9fb(0x146)](unescape(encodeURIComponent(_0x5aab8b)));}},_0x128dc2=_0x4800f8[_0x51e291(0x2ae)]=_0x1b99d8[_0x51e291(0x230)]({'reset':function(){var _0x239482=_0x51e291;this[_0x239482(0x233)]=new _0x5060c2[(_0x239482(0xc3))](),this[_0x239482(0x3c1)]=0x0;},'_append':function(_0x2c3094){var _0x51c9fc=_0x51e291;typeof _0x2c3094=='string'&&(_0x2c3094=_0x4d8253[_0x51c9fc(0x146)](_0x2c3094)),this[_0x51c9fc(0x233)][_0x51c9fc(0x1c2)](_0x2c3094),this[_0x51c9fc(0x3c1)]+=_0x2c3094['sigBytes'];},'_process':function(_0x4ec920){var _0x5e6290=_0x51e291,_0x2e1b4d,_0x4a47ac=this[_0x5e6290(0x233)],_0x4fb963=_0x4a47ac['words'],_0x46791e=_0x4a47ac[_0x5e6290(0x18e)],_0x5e26c6=this['blockSize'],_0x568db6=_0x5e26c6*0x4,_0x557054=_0x46791e/_0x568db6;_0x4ec920?_0x557054=_0x41bdc3[_0x5e6290(0x205)](_0x557054):_0x557054=_0x41bdc3[_0x5e6290(0x40b)]((_0x557054|0x0)-this[_0x5e6290(0x243)],0x0);var _0x24fac5=_0x557054*_0x5e26c6,_0x5c8c30=_0x41bdc3[_0x5e6290(0x345)](_0x24fac5*0x4,_0x46791e);if(_0x24fac5){for(var _0x17470b=0x0;_0x17470b<_0x24fac5;_0x17470b+=_0x5e26c6)this[_0x5e6290(0x28a)](_0x4fb963,_0x17470b);_0x2e1b4d=_0x4fb963['splice'](0x0,_0x24fac5),_0x4a47ac[_0x5e6290(0x18e)]-=_0x5c8c30;}return new _0x5060c2[(_0x5e6290(0xc3))](_0x2e1b4d,_0x5c8c30);},'clone':function(){var _0x3684ce=_0x51e291,_0x310df7=_0x1b99d8['clone'][_0x3684ce(0x1da)](this);return _0x310df7[_0x3684ce(0x233)]=this[_0x3684ce(0x233)]['clone'](),_0x310df7;},'_minBufferSize':0x0});_0x4800f8[_0x51e291(0x3f7)]=_0x128dc2[_0x51e291(0x230)]({'cfg':_0x1b99d8['extend'](),'init':function(_0x4928ef){var _0x2d27b0=_0x51e291;this[_0x2d27b0(0x11f)]=this[_0x2d27b0(0x11f)]['extend'](_0x4928ef),this[_0x2d27b0(0x167)]();},'reset':function(){var _0x30630c=_0x51e291;_0x128dc2[_0x30630c(0x167)][_0x30630c(0x1da)](this),this['_doReset']();},'update':function(_0x3bb3f0){var _0x21a0bc=_0x51e291;return this[_0x21a0bc(0xec)](_0x3bb3f0),this['_process'](),this;},'finalize':function(_0x40c545){var _0x3788b6=_0x51e291;_0x40c545&&this[_0x3788b6(0xec)](_0x40c545);var _0x57e0f4=this[_0x3788b6(0x1ce)]();return _0x57e0f4;},'blockSize':0x10,'_createHelper':function(_0x24a27b){return function(_0x1977ec,_0xa0b3d2){var _0x24a75d=_0x3800;return new _0x24a27b[(_0x24a75d(0xc3))](_0xa0b3d2)[_0x24a75d(0x414)](_0x1977ec);};},'_createHmacHelper':function(_0x1b327a){return function(_0x16cc0b,_0x2aef19){var _0x3b2e7c=_0x3800;return new _0x4491fa['HMAC'][(_0x3b2e7c(0xc3))](_0x1b327a,_0x2aef19)['finalize'](_0x16cc0b);};}});var _0x4491fa=_0x510c3e[_0x51e291(0xaf)]={};return _0x510c3e;}(Math);return _0x1a590b;}));}(_0x40df66)),_0x40df66['exports'];}var _0x56bb47={'exports':{}},_0x226533=_0x56bb47[_0x4f3d5a(0x40f)],_0x12c4e3;function _0x3e61e9(){var _0x14873b=_0x4f3d5a;return _0x12c4e3||(_0x12c4e3=0x1,function(_0x35576f,_0x44d591){(function(_0xd7f724,_0x20adcf){var _0x3de8f8=_0x3800;_0x35576f[_0x3de8f8(0x40f)]=_0x20adcf(_0x42e50c());}(_0x226533,function(_0x2cb82c){var _0x313529=_0x3800;return(function(){var _0xffde8b=_0x3800,_0x20e726=_0x2cb82c,_0x21903b=_0x20e726[_0xffde8b(0x335)],_0x2c2ec6=_0x21903b[_0xffde8b(0x3df)],_0xf9de4=_0x20e726[_0xffde8b(0x2bf)];_0xf9de4[_0xffde8b(0x1b7)]={'stringify':function(_0x54a042){var _0x4ea558=_0xffde8b,_0x2bac57=_0x54a042[_0x4ea558(0x108)],_0x482a11=_0x54a042['sigBytes'],_0xb9be5c=this[_0x4ea558(0x22f)];_0x54a042['clamp']();for(var _0x11e9cb=[],_0x39952a=0x0;_0x39952a<_0x482a11;_0x39952a+=0x3)for(var _0x2742b5=_0x2bac57[_0x39952a>>>0x2]>>>0x18-_0x39952a%0x4*0x8&0xff,_0x17dc3e=_0x2bac57[_0x39952a+0x1>>>0x2]>>>0x18-(_0x39952a+0x1)%0x4*0x8&0xff,_0x5d6957=_0x2bac57[_0x39952a+0x2>>>0x2]>>>0x18-(_0x39952a+0x2)%0x4*0x8&0xff,_0x136511=_0x2742b5<<0x10|_0x17dc3e<<0x8|_0x5d6957,_0x10b2fe=0x0;_0x10b2fe<0x4&&_0x39952a+_0x10b2fe*0.75<_0x482a11;_0x10b2fe++)_0x11e9cb[_0x4ea558(0x228)](_0xb9be5c[_0x4ea558(0xd3)](_0x136511>>>0x6*(0x3-_0x10b2fe)&0x3f));var _0x19cbd6=_0xb9be5c['charAt'](0x40);if(_0x19cbd6){for(;_0x11e9cb[_0x4ea558(0x36c)]%0x4;)_0x11e9cb[_0x4ea558(0x228)](_0x19cbd6);}return _0x11e9cb[_0x4ea558(0x107)]('');},'parse':function(_0x41940e){var _0x5b5e98=_0xffde8b,_0x1c169e=_0x41940e['length'],_0x4373a2=this[_0x5b5e98(0x22f)],_0x11a61e=this[_0x5b5e98(0x22e)];if(!_0x11a61e){_0x11a61e=this[_0x5b5e98(0x22e)]=[];for(var _0x270738=0x0;_0x270738<_0x4373a2[_0x5b5e98(0x36c)];_0x270738++)_0x11a61e[_0x4373a2[_0x5b5e98(0x207)](_0x270738)]=_0x270738;}var _0x158beb=_0x4373a2['charAt'](0x40);if(_0x158beb){var _0x158ea9=_0x41940e[_0x5b5e98(0x3f6)](_0x158beb);_0x158ea9!==-0x1&&(_0x1c169e=_0x158ea9);}return _0x332cbd(_0x41940e,_0x1c169e,_0x11a61e);},'_map':_0xffde8b(0x390)};function _0x332cbd(_0x32a191,_0x1bb4c3,_0x480cc0){var _0x4dce34=_0xffde8b;for(var _0x441159=[],_0x33c4da=0x0,_0x2dbc14=0x0;_0x2dbc14<_0x1bb4c3;_0x2dbc14++)if(_0x2dbc14%0x4){var _0x204cc2=_0x480cc0[_0x32a191['charCodeAt'](_0x2dbc14-0x1)]<<_0x2dbc14%0x4*0x2,_0x1367cc=_0x480cc0[_0x32a191[_0x4dce34(0x207)](_0x2dbc14)]>>>0x6-_0x2dbc14%0x4*0x2,_0x2c3672=_0x204cc2|_0x1367cc;_0x441159[_0x33c4da>>>0x2]|=_0x2c3672<<0x18-_0x33c4da%0x4*0x8,_0x33c4da++;}return _0x2c2ec6[_0x4dce34(0x1d6)](_0x441159,_0x33c4da);}}()),_0x2cb82c['enc'][_0x313529(0x1b7)];}));}(_0x56bb47)),_0x56bb47[_0x14873b(0x40f)];}var _0x4fd2bc={'exports':{}},_0x74d7e2=_0x4fd2bc[_0x4f3d5a(0x40f)],_0x4e7d9b;function _0x55f54f(){var _0x1aa726=_0x4f3d5a;return _0x4e7d9b||(_0x4e7d9b=0x1,function(_0x3dfb07,_0x3a6497){(function(_0xe6605e,_0x3342de){var _0x160e13=_0x3800;_0x3dfb07[_0x160e13(0x40f)]=_0x3342de(_0x42e50c());}(_0x74d7e2,function(_0x517d87){var _0x3d4eea=_0x3800;return function(_0xcb5097){var _0x4f9563=_0x3800,_0x26b563=_0x517d87,_0xf4af8a=_0x26b563['lib'],_0x5173e4=_0xf4af8a['WordArray'],_0x861244=_0xf4af8a[_0x4f9563(0x3f7)],_0x4b0d6e=_0x26b563[_0x4f9563(0xaf)],_0x493691=[];(function(){var _0x46cb12=_0x4f9563;for(var _0x2706e5=0x0;_0x2706e5<0x40;_0x2706e5++)_0x493691[_0x2706e5]=_0xcb5097[_0x46cb12(0x323)](_0xcb5097[_0x46cb12(0x217)](_0x2706e5+0x1))*0x100000000|0x0;}());var _0x2049db=_0x4b0d6e[_0x4f9563(0xc7)]=_0x861244['extend']({'_doReset':function(){this['_hash']=new _0x5173e4['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x46a4ba,_0x4c59ba){var _0x3ea5bf=_0x4f9563;for(var _0x37436c=0x0;_0x37436c<0x10;_0x37436c++){var _0x2bcb67=_0x4c59ba+_0x37436c,_0x23e79d=_0x46a4ba[_0x2bcb67];_0x46a4ba[_0x2bcb67]=(_0x23e79d<<0x8|_0x23e79d>>>0x18)&0xff00ff|(_0x23e79d<<0x18|_0x23e79d>>>0x8)&0xff00ff00;}var _0x112c7e=this[_0x3ea5bf(0x262)][_0x3ea5bf(0x108)],_0x529c75=_0x46a4ba[_0x4c59ba+0x0],_0x2d436c=_0x46a4ba[_0x4c59ba+0x1],_0x43ade3=_0x46a4ba[_0x4c59ba+0x2],_0xc38ebf=_0x46a4ba[_0x4c59ba+0x3],_0x2f6152=_0x46a4ba[_0x4c59ba+0x4],_0x1f7b69=_0x46a4ba[_0x4c59ba+0x5],_0x4aaaf4=_0x46a4ba[_0x4c59ba+0x6],_0x16dbe8=_0x46a4ba[_0x4c59ba+0x7],_0x422f74=_0x46a4ba[_0x4c59ba+0x8],_0x2c5f44=_0x46a4ba[_0x4c59ba+0x9],_0x2f2f95=_0x46a4ba[_0x4c59ba+0xa],_0x530015=_0x46a4ba[_0x4c59ba+0xb],_0x130d9a=_0x46a4ba[_0x4c59ba+0xc],_0x553657=_0x46a4ba[_0x4c59ba+0xd],_0x5de253=_0x46a4ba[_0x4c59ba+0xe],_0x36421a=_0x46a4ba[_0x4c59ba+0xf],_0x515ca4=_0x112c7e[0x0],_0x39d9be=_0x112c7e[0x1],_0x29575e=_0x112c7e[0x2],_0x528473=_0x112c7e[0x3];_0x515ca4=_0x494fc8(_0x515ca4,_0x39d9be,_0x29575e,_0x528473,_0x529c75,0x7,_0x493691[0x0]),_0x528473=_0x494fc8(_0x528473,_0x515ca4,_0x39d9be,_0x29575e,_0x2d436c,0xc,_0x493691[0x1]),_0x29575e=_0x494fc8(_0x29575e,_0x528473,_0x515ca4,_0x39d9be,_0x43ade3,0x11,_0x493691[0x2]),_0x39d9be=_0x494fc8(_0x39d9be,_0x29575e,_0x528473,_0x515ca4,_0xc38ebf,0x16,_0x493691[0x3]),_0x515ca4=_0x494fc8(_0x515ca4,_0x39d9be,_0x29575e,_0x528473,_0x2f6152,0x7,_0x493691[0x4]),_0x528473=_0x494fc8(_0x528473,_0x515ca4,_0x39d9be,_0x29575e,_0x1f7b69,0xc,_0x493691[0x5]),_0x29575e=_0x494fc8(_0x29575e,_0x528473,_0x515ca4,_0x39d9be,_0x4aaaf4,0x11,_0x493691[0x6]),_0x39d9be=_0x494fc8(_0x39d9be,_0x29575e,_0x528473,_0x515ca4,_0x16dbe8,0x16,_0x493691[0x7]),_0x515ca4=_0x494fc8(_0x515ca4,_0x39d9be,_0x29575e,_0x528473,_0x422f74,0x7,_0x493691[0x8]),_0x528473=_0x494fc8(_0x528473,_0x515ca4,_0x39d9be,_0x29575e,_0x2c5f44,0xc,_0x493691[0x9]),_0x29575e=_0x494fc8(_0x29575e,_0x528473,_0x515ca4,_0x39d9be,_0x2f2f95,0x11,_0x493691[0xa]),_0x39d9be=_0x494fc8(_0x39d9be,_0x29575e,_0x528473,_0x515ca4,_0x530015,0x16,_0x493691[0xb]),_0x515ca4=_0x494fc8(_0x515ca4,_0x39d9be,_0x29575e,_0x528473,_0x130d9a,0x7,_0x493691[0xc]),_0x528473=_0x494fc8(_0x528473,_0x515ca4,_0x39d9be,_0x29575e,_0x553657,0xc,_0x493691[0xd]),_0x29575e=_0x494fc8(_0x29575e,_0x528473,_0x515ca4,_0x39d9be,_0x5de253,0x11,_0x493691[0xe]),_0x39d9be=_0x494fc8(_0x39d9be,_0x29575e,_0x528473,_0x515ca4,_0x36421a,0x16,_0x493691[0xf]),_0x515ca4=_0x3f2309(_0x515ca4,_0x39d9be,_0x29575e,_0x528473,_0x2d436c,0x5,_0x493691[0x10]),_0x528473=_0x3f2309(_0x528473,_0x515ca4,_0x39d9be,_0x29575e,_0x4aaaf4,0x9,_0x493691[0x11]),_0x29575e=_0x3f2309(_0x29575e,_0x528473,_0x515ca4,_0x39d9be,_0x530015,0xe,_0x493691[0x12]),_0x39d9be=_0x3f2309(_0x39d9be,_0x29575e,_0x528473,_0x515ca4,_0x529c75,0x14,_0x493691[0x13]),_0x515ca4=_0x3f2309(_0x515ca4,_0x39d9be,_0x29575e,_0x528473,_0x1f7b69,0x5,_0x493691[0x14]),_0x528473=_0x3f2309(_0x528473,_0x515ca4,_0x39d9be,_0x29575e,_0x2f2f95,0x9,_0x493691[0x15]),_0x29575e=_0x3f2309(_0x29575e,_0x528473,_0x515ca4,_0x39d9be,_0x36421a,0xe,_0x493691[0x16]),_0x39d9be=_0x3f2309(_0x39d9be,_0x29575e,_0x528473,_0x515ca4,_0x2f6152,0x14,_0x493691[0x17]),_0x515ca4=_0x3f2309(_0x515ca4,_0x39d9be,_0x29575e,_0x528473,_0x2c5f44,0x5,_0x493691[0x18]),_0x528473=_0x3f2309(_0x528473,_0x515ca4,_0x39d9be,_0x29575e,_0x5de253,0x9,_0x493691[0x19]),_0x29575e=_0x3f2309(_0x29575e,_0x528473,_0x515ca4,_0x39d9be,_0xc38ebf,0xe,_0x493691[0x1a]),_0x39d9be=_0x3f2309(_0x39d9be,_0x29575e,_0x528473,_0x515ca4,_0x422f74,0x14,_0x493691[0x1b]),_0x515ca4=_0x3f2309(_0x515ca4,_0x39d9be,_0x29575e,_0x528473,_0x553657,0x5,_0x493691[0x1c]),_0x528473=_0x3f2309(_0x528473,_0x515ca4,_0x39d9be,_0x29575e,_0x43ade3,0x9,_0x493691[0x1d]),_0x29575e=_0x3f2309(_0x29575e,_0x528473,_0x515ca4,_0x39d9be,_0x16dbe8,0xe,_0x493691[0x1e]),_0x39d9be=_0x3f2309(_0x39d9be,_0x29575e,_0x528473,_0x515ca4,_0x130d9a,0x14,_0x493691[0x1f]),_0x515ca4=_0x2acc62(_0x515ca4,_0x39d9be,_0x29575e,_0x528473,_0x1f7b69,0x4,_0x493691[0x20]),_0x528473=_0x2acc62(_0x528473,_0x515ca4,_0x39d9be,_0x29575e,_0x422f74,0xb,_0x493691[0x21]),_0x29575e=_0x2acc62(_0x29575e,_0x528473,_0x515ca4,_0x39d9be,_0x530015,0x10,_0x493691[0x22]),_0x39d9be=_0x2acc62(_0x39d9be,_0x29575e,_0x528473,_0x515ca4,_0x5de253,0x17,_0x493691[0x23]),_0x515ca4=_0x2acc62(_0x515ca4,_0x39d9be,_0x29575e,_0x528473,_0x2d436c,0x4,_0x493691[0x24]),_0x528473=_0x2acc62(_0x528473,_0x515ca4,_0x39d9be,_0x29575e,_0x2f6152,0xb,_0x493691[0x25]),_0x29575e=_0x2acc62(_0x29575e,_0x528473,_0x515ca4,_0x39d9be,_0x16dbe8,0x10,_0x493691[0x26]),_0x39d9be=_0x2acc62(_0x39d9be,_0x29575e,_0x528473,_0x515ca4,_0x2f2f95,0x17,_0x493691[0x27]),_0x515ca4=_0x2acc62(_0x515ca4,_0x39d9be,_0x29575e,_0x528473,_0x553657,0x4,_0x493691[0x28]),_0x528473=_0x2acc62(_0x528473,_0x515ca4,_0x39d9be,_0x29575e,_0x529c75,0xb,_0x493691[0x29]),_0x29575e=_0x2acc62(_0x29575e,_0x528473,_0x515ca4,_0x39d9be,_0xc38ebf,0x10,_0x493691[0x2a]),_0x39d9be=_0x2acc62(_0x39d9be,_0x29575e,_0x528473,_0x515ca4,_0x4aaaf4,0x17,_0x493691[0x2b]),_0x515ca4=_0x2acc62(_0x515ca4,_0x39d9be,_0x29575e,_0x528473,_0x2c5f44,0x4,_0x493691[0x2c]),_0x528473=_0x2acc62(_0x528473,_0x515ca4,_0x39d9be,_0x29575e,_0x130d9a,0xb,_0x493691[0x2d]),_0x29575e=_0x2acc62(_0x29575e,_0x528473,_0x515ca4,_0x39d9be,_0x36421a,0x10,_0x493691[0x2e]),_0x39d9be=_0x2acc62(_0x39d9be,_0x29575e,_0x528473,_0x515ca4,_0x43ade3,0x17,_0x493691[0x2f]),_0x515ca4=_0x52daa0(_0x515ca4,_0x39d9be,_0x29575e,_0x528473,_0x529c75,0x6,_0x493691[0x30]),_0x528473=_0x52daa0(_0x528473,_0x515ca4,_0x39d9be,_0x29575e,_0x16dbe8,0xa,_0x493691[0x31]),_0x29575e=_0x52daa0(_0x29575e,_0x528473,_0x515ca4,_0x39d9be,_0x5de253,0xf,_0x493691[0x32]),_0x39d9be=_0x52daa0(_0x39d9be,_0x29575e,_0x528473,_0x515ca4,_0x1f7b69,0x15,_0x493691[0x33]),_0x515ca4=_0x52daa0(_0x515ca4,_0x39d9be,_0x29575e,_0x528473,_0x130d9a,0x6,_0x493691[0x34]),_0x528473=_0x52daa0(_0x528473,_0x515ca4,_0x39d9be,_0x29575e,_0xc38ebf,0xa,_0x493691[0x35]),_0x29575e=_0x52daa0(_0x29575e,_0x528473,_0x515ca4,_0x39d9be,_0x2f2f95,0xf,_0x493691[0x36]),_0x39d9be=_0x52daa0(_0x39d9be,_0x29575e,_0x528473,_0x515ca4,_0x2d436c,0x15,_0x493691[0x37]),_0x515ca4=_0x52daa0(_0x515ca4,_0x39d9be,_0x29575e,_0x528473,_0x422f74,0x6,_0x493691[0x38]),_0x528473=_0x52daa0(_0x528473,_0x515ca4,_0x39d9be,_0x29575e,_0x36421a,0xa,_0x493691[0x39]),_0x29575e=_0x52daa0(_0x29575e,_0x528473,_0x515ca4,_0x39d9be,_0x4aaaf4,0xf,_0x493691[0x3a]),_0x39d9be=_0x52daa0(_0x39d9be,_0x29575e,_0x528473,_0x515ca4,_0x553657,0x15,_0x493691[0x3b]),_0x515ca4=_0x52daa0(_0x515ca4,_0x39d9be,_0x29575e,_0x528473,_0x2f6152,0x6,_0x493691[0x3c]),_0x528473=_0x52daa0(_0x528473,_0x515ca4,_0x39d9be,_0x29575e,_0x530015,0xa,_0x493691[0x3d]),_0x29575e=_0x52daa0(_0x29575e,_0x528473,_0x515ca4,_0x39d9be,_0x43ade3,0xf,_0x493691[0x3e]),_0x39d9be=_0x52daa0(_0x39d9be,_0x29575e,_0x528473,_0x515ca4,_0x2c5f44,0x15,_0x493691[0x3f]),_0x112c7e[0x0]=_0x112c7e[0x0]+_0x515ca4|0x0,_0x112c7e[0x1]=_0x112c7e[0x1]+_0x39d9be|0x0,_0x112c7e[0x2]=_0x112c7e[0x2]+_0x29575e|0x0,_0x112c7e[0x3]=_0x112c7e[0x3]+_0x528473|0x0;},'_doFinalize':function(){var _0x34b4f9=_0x4f9563,_0x21b14a=this[_0x34b4f9(0x233)],_0x46813a=_0x21b14a[_0x34b4f9(0x108)],_0x331f6c=this[_0x34b4f9(0x3c1)]*0x8,_0x3835d0=_0x21b14a['sigBytes']*0x8;_0x46813a[_0x3835d0>>>0x5]|=0x80<<0x18-_0x3835d0%0x20;var _0x616869=_0xcb5097[_0x34b4f9(0x257)](_0x331f6c/0x100000000),_0x587ea3=_0x331f6c;_0x46813a[(_0x3835d0+0x40>>>0x9<<0x4)+0xf]=(_0x616869<<0x8|_0x616869>>>0x18)&0xff00ff|(_0x616869<<0x18|_0x616869>>>0x8)&0xff00ff00,_0x46813a[(_0x3835d0+0x40>>>0x9<<0x4)+0xe]=(_0x587ea3<<0x8|_0x587ea3>>>0x18)&0xff00ff|(_0x587ea3<<0x18|_0x587ea3>>>0x8)&0xff00ff00,_0x21b14a[_0x34b4f9(0x18e)]=(_0x46813a[_0x34b4f9(0x36c)]+0x1)*0x4,this[_0x34b4f9(0x342)]();for(var _0x2a2b60=this[_0x34b4f9(0x262)],_0x3489c1=_0x2a2b60[_0x34b4f9(0x108)],_0x2099f8=0x0;_0x2099f8<0x4;_0x2099f8++){var _0x2c60a6=_0x3489c1[_0x2099f8];_0x3489c1[_0x2099f8]=(_0x2c60a6<<0x8|_0x2c60a6>>>0x18)&0xff00ff|(_0x2c60a6<<0x18|_0x2c60a6>>>0x8)&0xff00ff00;}return _0x2a2b60;},'clone':function(){var _0x9fc03a=_0x4f9563,_0x3fbb5b=_0x861244['clone'][_0x9fc03a(0x1da)](this);return _0x3fbb5b[_0x9fc03a(0x262)]=this[_0x9fc03a(0x262)][_0x9fc03a(0x1bd)](),_0x3fbb5b;}});function _0x494fc8(_0x515172,_0x481797,_0x8b9317,_0x2ff6cf,_0x14135b,_0x586ed6,_0x822746){var _0x14b53d=_0x515172+(_0x481797&_0x8b9317|~_0x481797&_0x2ff6cf)+_0x14135b+_0x822746;return(_0x14b53d<<_0x586ed6|_0x14b53d>>>0x20-_0x586ed6)+_0x481797;}function _0x3f2309(_0x49aaab,_0x3c58c4,_0x33636e,_0xff5141,_0x3d3679,_0xa9654e,_0xf0cbc7){var _0x4c4356=_0x49aaab+(_0x3c58c4&_0xff5141|_0x33636e&~_0xff5141)+_0x3d3679+_0xf0cbc7;return(_0x4c4356<<_0xa9654e|_0x4c4356>>>0x20-_0xa9654e)+_0x3c58c4;}function _0x2acc62(_0x2a8526,_0x8ccf46,_0x33568b,_0x39e92b,_0x530c48,_0xe808a9,_0x1c03fc){var _0x582631=_0x2a8526+(_0x8ccf46^_0x33568b^_0x39e92b)+_0x530c48+_0x1c03fc;return(_0x582631<<_0xe808a9|_0x582631>>>0x20-_0xe808a9)+_0x8ccf46;}function _0x52daa0(_0x2bcced,_0x1dfb91,_0x2de94f,_0xe58041,_0x494b08,_0x2601b6,_0x3a8f89){var _0x4e534a=_0x2bcced+(_0x2de94f^(_0x1dfb91|~_0xe58041))+_0x494b08+_0x3a8f89;return(_0x4e534a<<_0x2601b6|_0x4e534a>>>0x20-_0x2601b6)+_0x1dfb91;}_0x26b563[_0x4f9563(0xc7)]=_0x861244[_0x4f9563(0x39f)](_0x2049db),_0x26b563['HmacMD5']=_0x861244[_0x4f9563(0x333)](_0x2049db);}(Math),_0x517d87[_0x3d4eea(0xc7)];}));}(_0x4fd2bc)),_0x4fd2bc[_0x1aa726(0x40f)];}var _0x430cbf={'exports':{}},_0x15993e={'exports':{}},_0x4820e1=_0x15993e['exports'],_0x2eb33d;function _0x3b383e(){var _0x18c0d6=_0x4f3d5a;return _0x2eb33d||(_0x2eb33d=0x1,function(_0x107756,_0x120a34){(function(_0x282b0f,_0x34db07){var _0x5c80c3=_0x3800;_0x107756[_0x5c80c3(0x40f)]=_0x34db07(_0x42e50c());}(_0x4820e1,function(_0x6f9c07){var _0xde8dd7=_0x3800;return(function(){var _0x16763e=_0x3800,_0x484e45=_0x6f9c07,_0x3e3858=_0x484e45['lib'],_0x534bfa=_0x3e3858['WordArray'],_0x170b91=_0x3e3858[_0x16763e(0x3f7)],_0x2cda5b=_0x484e45[_0x16763e(0xaf)],_0x188eae=[],_0x2e801a=_0x2cda5b[_0x16763e(0x2e2)]=_0x170b91[_0x16763e(0x230)]({'_doReset':function(){var _0x52c331=_0x16763e;this[_0x52c331(0x262)]=new _0x534bfa['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x20f67e,_0x3b040b){var _0x59afac=_0x16763e;for(var _0x15f408=this[_0x59afac(0x262)][_0x59afac(0x108)],_0x9a9960=_0x15f408[0x0],_0x4777bb=_0x15f408[0x1],_0x26165b=_0x15f408[0x2],_0xadddbf=_0x15f408[0x3],_0x456e6b=_0x15f408[0x4],_0x56b6e5=0x0;_0x56b6e5<0x50;_0x56b6e5++){if(_0x56b6e5<0x10)_0x188eae[_0x56b6e5]=_0x20f67e[_0x3b040b+_0x56b6e5]|0x0;else{var _0x5828c7=_0x188eae[_0x56b6e5-0x3]^_0x188eae[_0x56b6e5-0x8]^_0x188eae[_0x56b6e5-0xe]^_0x188eae[_0x56b6e5-0x10];_0x188eae[_0x56b6e5]=_0x5828c7<<0x1|_0x5828c7>>>0x1f;}var _0x182a07=(_0x9a9960<<0x5|_0x9a9960>>>0x1b)+_0x456e6b+_0x188eae[_0x56b6e5];_0x56b6e5<0x14?_0x182a07+=(_0x4777bb&_0x26165b|~_0x4777bb&_0xadddbf)+0x5a827999:_0x56b6e5<0x28?_0x182a07+=(_0x4777bb^_0x26165b^_0xadddbf)+0x6ed9eba1:_0x56b6e5<0x3c?_0x182a07+=(_0x4777bb&_0x26165b|_0x4777bb&_0xadddbf|_0x26165b&_0xadddbf)-0x70e44324:_0x182a07+=(_0x4777bb^_0x26165b^_0xadddbf)-0x359d3e2a,_0x456e6b=_0xadddbf,_0xadddbf=_0x26165b,_0x26165b=_0x4777bb<<0x1e|_0x4777bb>>>0x2,_0x4777bb=_0x9a9960,_0x9a9960=_0x182a07;}_0x15f408[0x0]=_0x15f408[0x0]+_0x9a9960|0x0,_0x15f408[0x1]=_0x15f408[0x1]+_0x4777bb|0x0,_0x15f408[0x2]=_0x15f408[0x2]+_0x26165b|0x0,_0x15f408[0x3]=_0x15f408[0x3]+_0xadddbf|0x0,_0x15f408[0x4]=_0x15f408[0x4]+_0x456e6b|0x0;},'_doFinalize':function(){var _0x43b964=_0x16763e,_0x4a045b=this[_0x43b964(0x233)],_0xedd753=_0x4a045b[_0x43b964(0x108)],_0x2d7d7c=this[_0x43b964(0x3c1)]*0x8,_0x3e73cc=_0x4a045b[_0x43b964(0x18e)]*0x8;return _0xedd753[_0x3e73cc>>>0x5]|=0x80<<0x18-_0x3e73cc%0x20,_0xedd753[(_0x3e73cc+0x40>>>0x9<<0x4)+0xe]=Math[_0x43b964(0x257)](_0x2d7d7c/0x100000000),_0xedd753[(_0x3e73cc+0x40>>>0x9<<0x4)+0xf]=_0x2d7d7c,_0x4a045b[_0x43b964(0x18e)]=_0xedd753[_0x43b964(0x36c)]*0x4,this[_0x43b964(0x342)](),this['_hash'];},'clone':function(){var _0x3f998e=_0x16763e,_0x3cf72d=_0x170b91[_0x3f998e(0x1bd)][_0x3f998e(0x1da)](this);return _0x3cf72d[_0x3f998e(0x262)]=this[_0x3f998e(0x262)][_0x3f998e(0x1bd)](),_0x3cf72d;}});_0x484e45[_0x16763e(0x2e2)]=_0x170b91[_0x16763e(0x39f)](_0x2e801a),_0x484e45[_0x16763e(0x3f4)]=_0x170b91[_0x16763e(0x333)](_0x2e801a);}()),_0x6f9c07[_0xde8dd7(0x2e2)];}));}(_0x15993e)),_0x15993e[_0x18c0d6(0x40f)];}var _0x5b08c8={'exports':{}},_0x28364f=_0x5b08c8[_0x4f3d5a(0x40f)],_0x4bb3a0;function _0x3c9538(){var _0x25f70f=_0x4f3d5a;return _0x4bb3a0||(_0x4bb3a0=0x1,function(_0x1aa16a,_0x31b758){(function(_0x319493,_0x5db757){var _0x1acd2f=_0x3800;_0x1aa16a[_0x1acd2f(0x40f)]=_0x5db757(_0x42e50c());}(_0x28364f,function(_0x4390bf){(function(){var _0xcb28b4=_0x3800,_0x321b32=_0x4390bf,_0x29176a=_0x321b32['lib'],_0x9411ac=_0x29176a[_0xcb28b4(0x210)],_0x491be1=_0x321b32[_0xcb28b4(0x2bf)],_0x35393b=_0x491be1[_0xcb28b4(0x304)],_0x5e9855=_0x321b32[_0xcb28b4(0xaf)];_0x5e9855['HMAC']=_0x9411ac[_0xcb28b4(0x230)]({'init':function(_0x314503,_0x2ee271){var _0x3f895d=_0xcb28b4;_0x314503=this[_0x3f895d(0x16d)]=new _0x314503[(_0x3f895d(0xc3))](),typeof _0x2ee271==_0x3f895d(0x1b4)&&(_0x2ee271=_0x35393b[_0x3f895d(0x146)](_0x2ee271));var _0x534206=_0x314503[_0x3f895d(0xfd)],_0x23717b=_0x534206*0x4;_0x2ee271['sigBytes']>_0x23717b&&(_0x2ee271=_0x314503[_0x3f895d(0x414)](_0x2ee271)),_0x2ee271[_0x3f895d(0x158)]();for(var _0x49518a=this[_0x3f895d(0x387)]=_0x2ee271[_0x3f895d(0x1bd)](),_0x58a642=this[_0x3f895d(0x326)]=_0x2ee271[_0x3f895d(0x1bd)](),_0x5969c3=_0x49518a[_0x3f895d(0x108)],_0x5a8607=_0x58a642[_0x3f895d(0x108)],_0x2ac944=0x0;_0x2ac944<_0x534206;_0x2ac944++)_0x5969c3[_0x2ac944]^=0x5c5c5c5c,_0x5a8607[_0x2ac944]^=0x36363636;_0x49518a['sigBytes']=_0x58a642[_0x3f895d(0x18e)]=_0x23717b,this[_0x3f895d(0x167)]();},'reset':function(){var _0x19253a=_0xcb28b4,_0x586be7=this[_0x19253a(0x16d)];_0x586be7[_0x19253a(0x167)](),_0x586be7[_0x19253a(0x13d)](this['_iKey']);},'update':function(_0x5db293){var _0x54e891=_0xcb28b4;return this[_0x54e891(0x16d)]['update'](_0x5db293),this;},'finalize':function(_0x1f5d13){var _0x52f8b9=_0xcb28b4,_0x1c2e40=this['_hasher'],_0x194944=_0x1c2e40[_0x52f8b9(0x414)](_0x1f5d13);_0x1c2e40['reset']();var _0x1b724b=_0x1c2e40[_0x52f8b9(0x414)](this[_0x52f8b9(0x387)][_0x52f8b9(0x1bd)]()['concat'](_0x194944));return _0x1b724b;}});}());}));}(_0x5b08c8)),_0x5b08c8[_0x25f70f(0x40f)];}var _0x28e598=_0x430cbf[_0x4f3d5a(0x40f)],_0x4c8f47;function _0x43eb61(){var _0x2a1ab8=_0x4f3d5a;return _0x4c8f47||(_0x4c8f47=0x1,function(_0x5727fe,_0x4cad23){(function(_0x1a2616,_0x14ab2e,_0x2558c9){var _0x423732=_0x3800;_0x5727fe[_0x423732(0x40f)]=_0x14ab2e(_0x42e50c(),_0x3b383e(),_0x3c9538());}(_0x28e598,function(_0x1e633d){return(function(){var _0x40dfe3=_0x3800,_0xa03820=_0x1e633d,_0x2245a4=_0xa03820['lib'],_0x1bf020=_0x2245a4[_0x40dfe3(0x210)],_0x146a40=_0x2245a4[_0x40dfe3(0x3df)],_0xb87b28=_0xa03820['algo'],_0x1ceaba=_0xb87b28[_0x40dfe3(0xc7)],_0x41736e=_0xb87b28[_0x40dfe3(0x169)]=_0x1bf020['extend']({'cfg':_0x1bf020['extend']({'keySize':0x80/0x20,'hasher':_0x1ceaba,'iterations':0x1}),'init':function(_0x13b591){var _0x5f54ef=_0x40dfe3;this[_0x5f54ef(0x11f)]=this[_0x5f54ef(0x11f)][_0x5f54ef(0x230)](_0x13b591);},'compute':function(_0x1b2dd0,_0x2f5214){var _0xa00f2c=_0x40dfe3;for(var _0x4af06f,_0x2e3488=this['cfg'],_0x43e5f8=_0x2e3488[_0xa00f2c(0x1b3)]['create'](),_0x318c47=_0x146a40[_0xa00f2c(0x1d6)](),_0x351804=_0x318c47[_0xa00f2c(0x108)],_0x1de74a=_0x2e3488[_0xa00f2c(0x2a5)],_0x19b5a5=_0x2e3488['iterations'];_0x351804[_0xa00f2c(0x36c)]<_0x1de74a;){_0x4af06f&&_0x43e5f8[_0xa00f2c(0x13d)](_0x4af06f),_0x4af06f=_0x43e5f8[_0xa00f2c(0x13d)](_0x1b2dd0)[_0xa00f2c(0x414)](_0x2f5214),_0x43e5f8['reset']();for(var _0x2b48b0=0x1;_0x2b48b0<_0x19b5a5;_0x2b48b0++)_0x4af06f=_0x43e5f8['finalize'](_0x4af06f),_0x43e5f8['reset']();_0x318c47[_0xa00f2c(0x1c2)](_0x4af06f);}return _0x318c47[_0xa00f2c(0x18e)]=_0x1de74a*0x4,_0x318c47;}});_0xa03820[_0x40dfe3(0x169)]=function(_0x447827,_0x1d51a2,_0x2bcea6){var _0xcb1120=_0x40dfe3;return _0x41736e[_0xcb1120(0x1d6)](_0x2bcea6)[_0xcb1120(0x315)](_0x447827,_0x1d51a2);};}()),_0x1e633d['EvpKDF'];}));}(_0x430cbf)),_0x430cbf[_0x2a1ab8(0x40f)];}var _0x5d8f9e={'exports':{}},_0x37c8a7=_0x5d8f9e['exports'],_0x50ec02;function _0x3fb074(){var _0x5127b4=_0x4f3d5a;return _0x50ec02||(_0x50ec02=0x1,function(_0x4d4ef0,_0x375699){(function(_0x1bf7aa,_0x582b89,_0xa9b88f){var _0x3dae5a=_0x3800;_0x4d4ef0[_0x3dae5a(0x40f)]=_0x582b89(_0x42e50c(),_0x43eb61());}(_0x37c8a7,function(_0x18ff12){var _0x56a7b2=_0x3800;_0x18ff12[_0x56a7b2(0x335)]['Cipher']||function(_0x54f75b){var _0x4abcbd=_0x56a7b2,_0x570ec3=_0x18ff12,_0x901225=_0x570ec3['lib'],_0x3da2db=_0x901225['Base'],_0x1988d4=_0x901225[_0x4abcbd(0x3df)],_0x3b2503=_0x901225[_0x4abcbd(0x2ae)],_0x3cbf26=_0x570ec3[_0x4abcbd(0x2bf)];_0x3cbf26['Utf8'];var _0x23f56f=_0x3cbf26[_0x4abcbd(0x1b7)],_0x5de349=_0x570ec3['algo'],_0x1b0585=_0x5de349[_0x4abcbd(0x169)],_0x265bbf=_0x901225[_0x4abcbd(0x2cd)]=_0x3b2503[_0x4abcbd(0x230)]({'cfg':_0x3da2db[_0x4abcbd(0x230)](),'createEncryptor':function(_0x3719ef,_0x42eaf4){var _0x3c4fe4=_0x4abcbd;return this[_0x3c4fe4(0x1d6)](this[_0x3c4fe4(0x1ae)],_0x3719ef,_0x42eaf4);},'createDecryptor':function(_0x12edfd,_0x166f27){var _0x40b1aa=_0x4abcbd;return this[_0x40b1aa(0x1d6)](this['_DEC_XFORM_MODE'],_0x12edfd,_0x166f27);},'init':function(_0x14e93f,_0x12f052,_0x1e6d6a){var _0x411ca8=_0x4abcbd;this['cfg']=this[_0x411ca8(0x11f)][_0x411ca8(0x230)](_0x1e6d6a),this[_0x411ca8(0x26d)]=_0x14e93f,this[_0x411ca8(0xd2)]=_0x12f052,this['reset']();},'reset':function(){var _0x59a633=_0x4abcbd;_0x3b2503[_0x59a633(0x167)][_0x59a633(0x1da)](this),this['_doReset']();},'process':function(_0x59c486){var _0x2db8ec=_0x4abcbd;return this[_0x2db8ec(0xec)](_0x59c486),this[_0x2db8ec(0x342)]();},'finalize':function(_0x62a31b){_0x62a31b&&this['_append'](_0x62a31b);var _0x8b3fa7=this['_doFinalize']();return _0x8b3fa7;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x43e065(_0x1f2184){var _0x26c2e5=_0x3800;return typeof _0x1f2184==_0x26c2e5(0x1b4)?_0x215007:_0x4b19c4;}return function(_0x4089a1){return{'encrypt':function(_0x1573e2,_0x37246b,_0x512df7){var _0x32a091=_0x3800;return _0x43e065(_0x37246b)[_0x32a091(0x1d2)](_0x4089a1,_0x1573e2,_0x37246b,_0x512df7);},'decrypt':function(_0xa6326a,_0x417ce,_0x2f6b8f){var _0x4b7ead=_0x3800;return _0x43e065(_0x417ce)[_0x4b7ead(0x371)](_0x4089a1,_0xa6326a,_0x417ce,_0x2f6b8f);}};};}())});_0x901225['StreamCipher']=_0x265bbf['extend']({'_doFinalize':function(){var _0x3cb016=_0x4abcbd,_0x2205fd=this[_0x3cb016(0x342)](!0x0);return _0x2205fd;},'blockSize':0x1});var _0x169fcf=_0x570ec3[_0x4abcbd(0x3c2)]={},_0x2e9fba=_0x901225[_0x4abcbd(0x285)]=_0x3da2db['extend']({'createEncryptor':function(_0x494010,_0x9cc12c){var _0x5cd56c=_0x4abcbd;return this[_0x5cd56c(0x209)]['create'](_0x494010,_0x9cc12c);},'createDecryptor':function(_0x241929,_0x17d6d9){var _0x377a28=_0x4abcbd;return this[_0x377a28(0xe1)][_0x377a28(0x1d6)](_0x241929,_0x17d6d9);},'init':function(_0x39c0fa,_0x301e00){var _0x48ca67=_0x4abcbd;this[_0x48ca67(0x42c)]=_0x39c0fa,this[_0x48ca67(0x358)]=_0x301e00;}}),_0x12edd2=_0x169fcf['CBC']=(function(){var _0x2a264a=_0x4abcbd,_0x1576a9=_0x2e9fba[_0x2a264a(0x230)]();_0x1576a9[_0x2a264a(0x209)]=_0x1576a9[_0x2a264a(0x230)]({'processBlock':function(_0x3ac3b1,_0x15de94){var _0x1428c2=_0x2a264a,_0x2b78a1=this['_cipher'],_0x5d25e6=_0x2b78a1[_0x1428c2(0xfd)];_0x5b631b['call'](this,_0x3ac3b1,_0x15de94,_0x5d25e6),_0x2b78a1[_0x1428c2(0x1e9)](_0x3ac3b1,_0x15de94),this['_prevBlock']=_0x3ac3b1['slice'](_0x15de94,_0x15de94+_0x5d25e6);}}),_0x1576a9['Decryptor']=_0x1576a9[_0x2a264a(0x230)]({'processBlock':function(_0x58bfeb,_0x4ec7d6){var _0x4546c6=_0x2a264a,_0x152382=this[_0x4546c6(0x42c)],_0x10e9aa=_0x152382['blockSize'],_0x27496e=_0x58bfeb[_0x4546c6(0x3fe)](_0x4ec7d6,_0x4ec7d6+_0x10e9aa);_0x152382[_0x4546c6(0x260)](_0x58bfeb,_0x4ec7d6),_0x5b631b['call'](this,_0x58bfeb,_0x4ec7d6,_0x10e9aa),this[_0x4546c6(0x2ec)]=_0x27496e;}});function _0x5b631b(_0x2fc3d7,_0x4d0f44,_0x5baf3e){var _0x5a9218=_0x2a264a,_0x5e369e,_0xa55d86=this[_0x5a9218(0x358)];_0xa55d86?(_0x5e369e=_0xa55d86,this[_0x5a9218(0x358)]=_0x54f75b):_0x5e369e=this[_0x5a9218(0x2ec)];for(var _0x18d7ef=0x0;_0x18d7ef<_0x5baf3e;_0x18d7ef++)_0x2fc3d7[_0x4d0f44+_0x18d7ef]^=_0x5e369e[_0x18d7ef];}return _0x1576a9;}()),_0x5ce682=_0x570ec3[_0x4abcbd(0x32a)]={},_0x3b3f06=_0x5ce682[_0x4abcbd(0x232)]={'pad':function(_0x39ed96,_0x55a9bb){var _0xdc5330=_0x4abcbd;for(var _0x4f1bc6=_0x55a9bb*0x4,_0x3d92f0=_0x4f1bc6-_0x39ed96[_0xdc5330(0x18e)]%_0x4f1bc6,_0x417380=_0x3d92f0<<0x18|_0x3d92f0<<0x10|_0x3d92f0<<0x8|_0x3d92f0,_0x409543=[],_0x537b95=0x0;_0x537b95<_0x3d92f0;_0x537b95+=0x4)_0x409543[_0xdc5330(0x228)](_0x417380);var _0x34230a=_0x1988d4[_0xdc5330(0x1d6)](_0x409543,_0x3d92f0);_0x39ed96[_0xdc5330(0x1c2)](_0x34230a);},'unpad':function(_0x4bc72c){var _0x5b9bf1=_0x4abcbd,_0x1f21e1=_0x4bc72c[_0x5b9bf1(0x108)][_0x4bc72c[_0x5b9bf1(0x18e)]-0x1>>>0x2]&0xff;_0x4bc72c['sigBytes']-=_0x1f21e1;}};_0x901225[_0x4abcbd(0x2db)]=_0x265bbf[_0x4abcbd(0x230)]({'cfg':_0x265bbf['cfg'][_0x4abcbd(0x230)]({'mode':_0x12edd2,'padding':_0x3b3f06}),'reset':function(){var _0x11a452=_0x4abcbd,_0x41f0c0;_0x265bbf[_0x11a452(0x167)][_0x11a452(0x1da)](this);var _0x1eb7ec=this[_0x11a452(0x11f)],_0x27f324=_0x1eb7ec['iv'],_0x5ac5d5=_0x1eb7ec[_0x11a452(0x3c2)];this['_xformMode']==this[_0x11a452(0x1ae)]?_0x41f0c0=_0x5ac5d5[_0x11a452(0x3d4)]:(_0x41f0c0=_0x5ac5d5[_0x11a452(0x31b)],this[_0x11a452(0x243)]=0x1),this[_0x11a452(0x307)]&&this['_mode'][_0x11a452(0x332)]==_0x41f0c0?this['_mode'][_0x11a452(0xc3)](this,_0x27f324&&_0x27f324['words']):(this[_0x11a452(0x307)]=_0x41f0c0['call'](_0x5ac5d5,this,_0x27f324&&_0x27f324[_0x11a452(0x108)]),this[_0x11a452(0x307)][_0x11a452(0x332)]=_0x41f0c0);},'_doProcessBlock':function(_0x4d35fe,_0xcf3d7b){var _0x5a5b09=_0x4abcbd;this[_0x5a5b09(0x307)]['processBlock'](_0x4d35fe,_0xcf3d7b);},'_doFinalize':function(){var _0x1dcd25=_0x4abcbd,_0x4a4ad8,_0xe11b8c=this[_0x1dcd25(0x11f)][_0x1dcd25(0x213)];return this[_0x1dcd25(0x26d)]==this[_0x1dcd25(0x1ae)]?(_0xe11b8c[_0x1dcd25(0x32a)](this['_data'],this[_0x1dcd25(0xfd)]),_0x4a4ad8=this[_0x1dcd25(0x342)](!0x0)):(_0x4a4ad8=this[_0x1dcd25(0x342)](!0x0),_0xe11b8c[_0x1dcd25(0x28e)](_0x4a4ad8)),_0x4a4ad8;},'blockSize':0x80/0x20});var _0x329c66=_0x901225[_0x4abcbd(0x400)]=_0x3da2db[_0x4abcbd(0x230)]({'init':function(_0x3a4d53){this['mixIn'](_0x3a4d53);},'toString':function(_0x820c61){var _0x15a02b=_0x4abcbd;return(_0x820c61||this['formatter'])[_0x15a02b(0x374)](this);}}),_0x2cf807=_0x570ec3[_0x4abcbd(0x38b)]={},_0x5eeaf7=_0x2cf807[_0x4abcbd(0xf3)]={'stringify':function(_0x5617de){var _0x20945f=_0x4abcbd,_0x5106a9,_0x2fe82f=_0x5617de[_0x20945f(0x2c2)],_0x1d7f3d=_0x5617de[_0x20945f(0x318)];return _0x1d7f3d?_0x5106a9=_0x1988d4[_0x20945f(0x1d6)]([0x53616c74,0x65645f5f])['concat'](_0x1d7f3d)[_0x20945f(0x1c2)](_0x2fe82f):_0x5106a9=_0x2fe82f,_0x5106a9[_0x20945f(0x2fc)](_0x23f56f);},'parse':function(_0x370c6d){var _0x25d69c=_0x4abcbd,_0x5e6fb6,_0x58669e=_0x23f56f[_0x25d69c(0x146)](_0x370c6d),_0x35e638=_0x58669e[_0x25d69c(0x108)];return _0x35e638[0x0]==0x53616c74&&_0x35e638[0x1]==0x65645f5f&&(_0x5e6fb6=_0x1988d4[_0x25d69c(0x1d6)](_0x35e638[_0x25d69c(0x3fe)](0x2,0x4)),_0x35e638[_0x25d69c(0x325)](0x0,0x4),_0x58669e['sigBytes']-=0x10),_0x329c66[_0x25d69c(0x1d6)]({'ciphertext':_0x58669e,'salt':_0x5e6fb6});}},_0x4b19c4=_0x901225[_0x4abcbd(0x193)]=_0x3da2db[_0x4abcbd(0x230)]({'cfg':_0x3da2db[_0x4abcbd(0x230)]({'format':_0x5eeaf7}),'encrypt':function(_0x19d43f,_0x549aa5,_0x54c2c3,_0x486295){var _0x50646c=_0x4abcbd;_0x486295=this[_0x50646c(0x11f)]['extend'](_0x486295);var _0x555814=_0x19d43f[_0x50646c(0x3d4)](_0x54c2c3,_0x486295),_0x2fb197=_0x555814['finalize'](_0x549aa5),_0x2c4ad9=_0x555814['cfg'];return _0x329c66[_0x50646c(0x1d6)]({'ciphertext':_0x2fb197,'key':_0x54c2c3,'iv':_0x2c4ad9['iv'],'algorithm':_0x19d43f,'mode':_0x2c4ad9[_0x50646c(0x3c2)],'padding':_0x2c4ad9[_0x50646c(0x213)],'blockSize':_0x19d43f[_0x50646c(0xfd)],'formatter':_0x486295['format']});},'decrypt':function(_0x6f2802,_0x482e9f,_0x31bd14,_0x44dd62){var _0x58062c=_0x4abcbd;_0x44dd62=this[_0x58062c(0x11f)]['extend'](_0x44dd62),_0x482e9f=this[_0x58062c(0x19e)](_0x482e9f,_0x44dd62[_0x58062c(0x38b)]);var _0x2db184=_0x6f2802[_0x58062c(0x31b)](_0x31bd14,_0x44dd62)[_0x58062c(0x414)](_0x482e9f['ciphertext']);return _0x2db184;},'_parse':function(_0x291199,_0x3dfd74){var _0x4b2dd3=_0x4abcbd;return typeof _0x291199==_0x4b2dd3(0x1b4)?_0x3dfd74[_0x4b2dd3(0x146)](_0x291199,this):_0x291199;}}),_0x230361=_0x570ec3['kdf']={},_0x26b937=_0x230361[_0x4abcbd(0xf3)]={'execute':function(_0x541d10,_0x238fc7,_0x21c7f6,_0x365237,_0x2d6491){var _0x25ddb1=_0x4abcbd;if(_0x365237||(_0x365237=_0x1988d4['random'](0x40/0x8)),_0x2d6491)var _0x45cbde=_0x1b0585[_0x25ddb1(0x1d6)]({'keySize':_0x238fc7+_0x21c7f6,'hasher':_0x2d6491})[_0x25ddb1(0x315)](_0x541d10,_0x365237);else var _0x45cbde=_0x1b0585[_0x25ddb1(0x1d6)]({'keySize':_0x238fc7+_0x21c7f6})[_0x25ddb1(0x315)](_0x541d10,_0x365237);var _0x25ddd5=_0x1988d4[_0x25ddb1(0x1d6)](_0x45cbde['words']['slice'](_0x238fc7),_0x21c7f6*0x4);return _0x45cbde['sigBytes']=_0x238fc7*0x4,_0x329c66[_0x25ddb1(0x1d6)]({'key':_0x45cbde,'iv':_0x25ddd5,'salt':_0x365237});}},_0x215007=_0x901225[_0x4abcbd(0x137)]=_0x4b19c4[_0x4abcbd(0x230)]({'cfg':_0x4b19c4[_0x4abcbd(0x11f)][_0x4abcbd(0x230)]({'kdf':_0x26b937}),'encrypt':function(_0x22b95a,_0x42abb8,_0x49f2d9,_0x5a1686){var _0x134357=_0x4abcbd;_0x5a1686=this[_0x134357(0x11f)][_0x134357(0x230)](_0x5a1686);var _0x589447=_0x5a1686[_0x134357(0xb3)][_0x134357(0x25d)](_0x49f2d9,_0x22b95a['keySize'],_0x22b95a[_0x134357(0x104)],_0x5a1686[_0x134357(0x318)],_0x5a1686['hasher']);_0x5a1686['iv']=_0x589447['iv'];var _0x15a916=_0x4b19c4['encrypt']['call'](this,_0x22b95a,_0x42abb8,_0x589447[_0x134357(0x308)],_0x5a1686);return _0x15a916[_0x134357(0xa6)](_0x589447),_0x15a916;},'decrypt':function(_0x8a2604,_0xbe6779,_0x3bbfc6,_0x4d5c9b){var _0xbd1ca0=_0x4abcbd;_0x4d5c9b=this['cfg']['extend'](_0x4d5c9b),_0xbe6779=this[_0xbd1ca0(0x19e)](_0xbe6779,_0x4d5c9b[_0xbd1ca0(0x38b)]);var _0x31bfca=_0x4d5c9b[_0xbd1ca0(0xb3)][_0xbd1ca0(0x25d)](_0x3bbfc6,_0x8a2604['keySize'],_0x8a2604['ivSize'],_0xbe6779[_0xbd1ca0(0x318)],_0x4d5c9b[_0xbd1ca0(0x1b3)]);_0x4d5c9b['iv']=_0x31bfca['iv'];var _0x1b8235=_0x4b19c4[_0xbd1ca0(0x371)]['call'](this,_0x8a2604,_0xbe6779,_0x31bfca['key'],_0x4d5c9b);return _0x1b8235;}});}();}));}(_0x5d8f9e)),_0x5d8f9e[_0x5127b4(0x40f)];}var _0x3994b6=_0x5b399d[_0x4f3d5a(0x40f)],_0x18559a;function _0x32eb73(){return _0x18559a||(_0x18559a=0x1,function(_0x1a4115,_0x1f890b){(function(_0x532b6e,_0x5c9b58,_0x3ff721){var _0x556ab4=_0x3800;_0x1a4115[_0x556ab4(0x40f)]=_0x5c9b58(_0x42e50c(),_0x3e61e9(),_0x55f54f(),_0x43eb61(),_0x3fb074());}(_0x3994b6,function(_0xb16c3b){return(function(){var _0x4fbd55=_0x3800,_0x4f0758=_0xb16c3b,_0x44af75=_0x4f0758[_0x4fbd55(0x335)],_0x510f86=_0x44af75[_0x4fbd55(0x2db)],_0x97a7c=_0x4f0758['algo'],_0x24dd36=[],_0x35b5c0=[],_0x54a013=[],_0x2d19c7=[],_0x57f845=[],_0x14f976=[],_0x1d024c=[],_0x913867=[],_0x1a2af9=[],_0x1c8483=[];(function(){for(var _0xc23b38=[],_0x2920cb=0x0;_0x2920cb<0x100;_0x2920cb++)_0x2920cb<0x80?_0xc23b38[_0x2920cb]=_0x2920cb<<0x1:_0xc23b38[_0x2920cb]=_0x2920cb<<0x1^0x11b;for(var _0x44120b=0x0,_0x41f173=0x0,_0x2920cb=0x0;_0x2920cb<0x100;_0x2920cb++){var _0x4495dd=_0x41f173^_0x41f173<<0x1^_0x41f173<<0x2^_0x41f173<<0x3^_0x41f173<<0x4;_0x4495dd=_0x4495dd>>>0x8^_0x4495dd&0xff^0x63,_0x24dd36[_0x44120b]=_0x4495dd,_0x35b5c0[_0x4495dd]=_0x44120b;var _0x567d44=_0xc23b38[_0x44120b],_0x380e93=_0xc23b38[_0x567d44],_0xdfb421=_0xc23b38[_0x380e93],_0x138d47=_0xc23b38[_0x4495dd]*0x101^_0x4495dd*0x1010100;_0x54a013[_0x44120b]=_0x138d47<<0x18|_0x138d47>>>0x8,_0x2d19c7[_0x44120b]=_0x138d47<<0x10|_0x138d47>>>0x10,_0x57f845[_0x44120b]=_0x138d47<<0x8|_0x138d47>>>0x18,_0x14f976[_0x44120b]=_0x138d47;var _0x138d47=_0xdfb421*0x1010101^_0x380e93*0x10001^_0x567d44*0x101^_0x44120b*0x1010100;_0x1d024c[_0x4495dd]=_0x138d47<<0x18|_0x138d47>>>0x8,_0x913867[_0x4495dd]=_0x138d47<<0x10|_0x138d47>>>0x10,_0x1a2af9[_0x4495dd]=_0x138d47<<0x8|_0x138d47>>>0x18,_0x1c8483[_0x4495dd]=_0x138d47,_0x44120b?(_0x44120b=_0x567d44^_0xc23b38[_0xc23b38[_0xc23b38[_0xdfb421^_0x567d44]]],_0x41f173^=_0xc23b38[_0xc23b38[_0x41f173]]):_0x44120b=_0x41f173=0x1;}}());var _0x5bd155=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x7a8f94=_0x97a7c[_0x4fbd55(0x320)]=_0x510f86[_0x4fbd55(0x230)]({'_doReset':function(){var _0x83d87b=_0x4fbd55,_0x158209;if(!(this[_0x83d87b(0x23b)]&&this[_0x83d87b(0x1f4)]===this[_0x83d87b(0xd2)])){for(var _0x5845b8=this['_keyPriorReset']=this[_0x83d87b(0xd2)],_0x4f6b0e=_0x5845b8[_0x83d87b(0x108)],_0x2b22fb=_0x5845b8[_0x83d87b(0x18e)]/0x4,_0x522290=this[_0x83d87b(0x23b)]=_0x2b22fb+0x6,_0xc27985=(_0x522290+0x1)*0x4,_0x1c4f84=this[_0x83d87b(0x1a7)]=[],_0x40bb5e=0x0;_0x40bb5e<_0xc27985;_0x40bb5e++)_0x40bb5e<_0x2b22fb?_0x1c4f84[_0x40bb5e]=_0x4f6b0e[_0x40bb5e]:(_0x158209=_0x1c4f84[_0x40bb5e-0x1],_0x40bb5e%_0x2b22fb?_0x2b22fb>0x6&&_0x40bb5e%_0x2b22fb==0x4&&(_0x158209=_0x24dd36[_0x158209>>>0x18]<<0x18|_0x24dd36[_0x158209>>>0x10&0xff]<<0x10|_0x24dd36[_0x158209>>>0x8&0xff]<<0x8|_0x24dd36[_0x158209&0xff]):(_0x158209=_0x158209<<0x8|_0x158209>>>0x18,_0x158209=_0x24dd36[_0x158209>>>0x18]<<0x18|_0x24dd36[_0x158209>>>0x10&0xff]<<0x10|_0x24dd36[_0x158209>>>0x8&0xff]<<0x8|_0x24dd36[_0x158209&0xff],_0x158209^=_0x5bd155[_0x40bb5e/_0x2b22fb|0x0]<<0x18),_0x1c4f84[_0x40bb5e]=_0x1c4f84[_0x40bb5e-_0x2b22fb]^_0x158209);for(var _0x37451=this[_0x83d87b(0x14c)]=[],_0x3ba983=0x0;_0x3ba983<_0xc27985;_0x3ba983++){var _0x40bb5e=_0xc27985-_0x3ba983;if(_0x3ba983%0x4)var _0x158209=_0x1c4f84[_0x40bb5e];else var _0x158209=_0x1c4f84[_0x40bb5e-0x4];_0x3ba983<0x4||_0x40bb5e<=0x4?_0x37451[_0x3ba983]=_0x158209:_0x37451[_0x3ba983]=_0x1d024c[_0x24dd36[_0x158209>>>0x18]]^_0x913867[_0x24dd36[_0x158209>>>0x10&0xff]]^_0x1a2af9[_0x24dd36[_0x158209>>>0x8&0xff]]^_0x1c8483[_0x24dd36[_0x158209&0xff]];}}},'encryptBlock':function(_0x4d18c0,_0x3c346b){var _0x10e2fe=_0x4fbd55;this[_0x10e2fe(0x43b)](_0x4d18c0,_0x3c346b,this[_0x10e2fe(0x1a7)],_0x54a013,_0x2d19c7,_0x57f845,_0x14f976,_0x24dd36);},'decryptBlock':function(_0xe8e6d4,_0x3b22fa){var _0x43c25e=_0x4fbd55,_0x3c0971=_0xe8e6d4[_0x3b22fa+0x1];_0xe8e6d4[_0x3b22fa+0x1]=_0xe8e6d4[_0x3b22fa+0x3],_0xe8e6d4[_0x3b22fa+0x3]=_0x3c0971,this[_0x43c25e(0x43b)](_0xe8e6d4,_0x3b22fa,this[_0x43c25e(0x14c)],_0x1d024c,_0x913867,_0x1a2af9,_0x1c8483,_0x35b5c0);var _0x3c0971=_0xe8e6d4[_0x3b22fa+0x1];_0xe8e6d4[_0x3b22fa+0x1]=_0xe8e6d4[_0x3b22fa+0x3],_0xe8e6d4[_0x3b22fa+0x3]=_0x3c0971;},'_doCryptBlock':function(_0x4e37f7,_0x321383,_0x1750ce,_0x389c47,_0x3daae4,_0x43e5c9,_0x21712d,_0x417de6){for(var _0xfadb2b=this['_nRounds'],_0x51b87a=_0x4e37f7[_0x321383]^_0x1750ce[0x0],_0x496ea5=_0x4e37f7[_0x321383+0x1]^_0x1750ce[0x1],_0x5269a7=_0x4e37f7[_0x321383+0x2]^_0x1750ce[0x2],_0x2c10c2=_0x4e37f7[_0x321383+0x3]^_0x1750ce[0x3],_0x38ab8f=0x4,_0x5a8e7d=0x1;_0x5a8e7d<_0xfadb2b;_0x5a8e7d++){var _0x436b91=_0x389c47[_0x51b87a>>>0x18]^_0x3daae4[_0x496ea5>>>0x10&0xff]^_0x43e5c9[_0x5269a7>>>0x8&0xff]^_0x21712d[_0x2c10c2&0xff]^_0x1750ce[_0x38ab8f++],_0x353985=_0x389c47[_0x496ea5>>>0x18]^_0x3daae4[_0x5269a7>>>0x10&0xff]^_0x43e5c9[_0x2c10c2>>>0x8&0xff]^_0x21712d[_0x51b87a&0xff]^_0x1750ce[_0x38ab8f++],_0x2413f0=_0x389c47[_0x5269a7>>>0x18]^_0x3daae4[_0x2c10c2>>>0x10&0xff]^_0x43e5c9[_0x51b87a>>>0x8&0xff]^_0x21712d[_0x496ea5&0xff]^_0x1750ce[_0x38ab8f++],_0x4ef79f=_0x389c47[_0x2c10c2>>>0x18]^_0x3daae4[_0x51b87a>>>0x10&0xff]^_0x43e5c9[_0x496ea5>>>0x8&0xff]^_0x21712d[_0x5269a7&0xff]^_0x1750ce[_0x38ab8f++];_0x51b87a=_0x436b91,_0x496ea5=_0x353985,_0x5269a7=_0x2413f0,_0x2c10c2=_0x4ef79f;}var _0x436b91=(_0x417de6[_0x51b87a>>>0x18]<<0x18|_0x417de6[_0x496ea5>>>0x10&0xff]<<0x10|_0x417de6[_0x5269a7>>>0x8&0xff]<<0x8|_0x417de6[_0x2c10c2&0xff])^_0x1750ce[_0x38ab8f++],_0x353985=(_0x417de6[_0x496ea5>>>0x18]<<0x18|_0x417de6[_0x5269a7>>>0x10&0xff]<<0x10|_0x417de6[_0x2c10c2>>>0x8&0xff]<<0x8|_0x417de6[_0x51b87a&0xff])^_0x1750ce[_0x38ab8f++],_0x2413f0=(_0x417de6[_0x5269a7>>>0x18]<<0x18|_0x417de6[_0x2c10c2>>>0x10&0xff]<<0x10|_0x417de6[_0x51b87a>>>0x8&0xff]<<0x8|_0x417de6[_0x496ea5&0xff])^_0x1750ce[_0x38ab8f++],_0x4ef79f=(_0x417de6[_0x2c10c2>>>0x18]<<0x18|_0x417de6[_0x51b87a>>>0x10&0xff]<<0x10|_0x417de6[_0x496ea5>>>0x8&0xff]<<0x8|_0x417de6[_0x5269a7&0xff])^_0x1750ce[_0x38ab8f++];_0x4e37f7[_0x321383]=_0x436b91,_0x4e37f7[_0x321383+0x1]=_0x353985,_0x4e37f7[_0x321383+0x2]=_0x2413f0,_0x4e37f7[_0x321383+0x3]=_0x4ef79f;},'keySize':0x100/0x20});_0x4f0758['AES']=_0x510f86['_createHelper'](_0x7a8f94);}()),_0xb16c3b['AES'];}));}(_0x5b399d)),_0x5b399d['exports'];}var _0x451152=_0x32eb73();const _0x3cfb4c=_0x4edaab(_0x451152);var _0xaddc3e=_0x3e61e9();const _0x50749c=_0x4edaab(_0xaddc3e);var _0x580568={'exports':{}},_0xa3165a=_0x580568[_0x4f3d5a(0x40f)],_0x9c2715;function _0x3d7f2c(){var _0xb5e567=_0x4f3d5a;return _0x9c2715||(_0x9c2715=0x1,function(_0x5ec659,_0x501102){(function(_0x184e49,_0xcc772a){_0x5ec659['exports']=_0xcc772a(_0x42e50c());}(_0xa3165a,function(_0x334f1a){var _0x39eacb=_0x3800;return _0x334f1a[_0x39eacb(0x2bf)][_0x39eacb(0x304)];}));}(_0x580568)),_0x580568[_0xb5e567(0x40f)];}var _0xc209b3=_0x3d7f2c();const _0x6a76e0=_0x4edaab(_0xc209b3);var _0x59e8b2={'exports':{}},_0x345d78=_0x59e8b2[_0x4f3d5a(0x40f)],_0x283de4;function _0x5a1a57(){return _0x283de4||(_0x283de4=0x1,function(_0x184126,_0x336325){(function(_0x562b28,_0x448aba){var _0x172988=_0x3800;_0x184126[_0x172988(0x40f)]=_0x448aba(_0x42e50c());}(_0x345d78,function(_0x4eb3d8){var _0x5229a=_0x3800;return(function(){var _0x4d1969=_0x3800;if(typeof ArrayBuffer==_0x4d1969(0x3aa)){var _0x204121=_0x4eb3d8,_0x2b9919=_0x204121[_0x4d1969(0x335)],_0x4d0658=_0x2b9919['WordArray'],_0x26466b=_0x4d0658[_0x4d1969(0xc3)],_0x326227=_0x4d0658[_0x4d1969(0xc3)]=function(_0x211652){var _0x46e673=_0x4d1969;if(_0x211652 instanceof ArrayBuffer&&(_0x211652=new Uint8Array(_0x211652)),(_0x211652 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x211652 instanceof Uint8ClampedArray||_0x211652 instanceof Int16Array||_0x211652 instanceof Uint16Array||_0x211652 instanceof Int32Array||_0x211652 instanceof Uint32Array||_0x211652 instanceof Float32Array||_0x211652 instanceof Float64Array)&&(_0x211652=new Uint8Array(_0x211652[_0x46e673(0x1f3)],_0x211652[_0x46e673(0x306)],_0x211652[_0x46e673(0x1b9)])),_0x211652 instanceof Uint8Array){for(var _0x27df4d=_0x211652[_0x46e673(0x1b9)],_0x67e168=[],_0x4cbd15=0x0;_0x4cbd15<_0x27df4d;_0x4cbd15++)_0x67e168[_0x4cbd15>>>0x2]|=_0x211652[_0x4cbd15]<<0x18-_0x4cbd15%0x4*0x8;_0x26466b[_0x46e673(0x1da)](this,_0x67e168,_0x27df4d);}else _0x26466b[_0x46e673(0x275)](this,arguments);};_0x326227[_0x4d1969(0x1d7)]=_0x4d0658;}}()),_0x4eb3d8['lib'][_0x5229a(0x3df)];}));}(_0x59e8b2)),_0x59e8b2['exports'];}var _0x60d0bd=_0x5a1a57();const _0xf1b002=_0x4edaab(_0x60d0bd);var _0x2dd080={'exports':{}},_0x421e53=_0x2dd080['exports'],_0x23f521;function _0x3a9c19(){var _0x5ba1d6=_0x4f3d5a;return _0x23f521||(_0x23f521=0x1,function(_0x3ec785,_0x5f236f){(function(_0x5b4019,_0x783add,_0x2c61ac){var _0x3771f1=_0x3800;_0x3ec785[_0x3771f1(0x40f)]=_0x783add(_0x42e50c(),_0x3fb074());}(_0x421e53,function(_0x21e9a8){var _0x4cb6a1=_0x3800;return _0x21e9a8['pad'][_0x4cb6a1(0x1a0)]={'pad':function(){},'unpad':function(){}},_0x21e9a8['pad'][_0x4cb6a1(0x1a0)];}));}(_0x2dd080)),_0x2dd080[_0x5ba1d6(0x40f)];}var _0x547fd1=_0x3a9c19();const _0x217d61=_0x4edaab(_0x547fd1);function _0x2cf88e(_0x48862d,_0x30cc3d){var _0x47a2ae=_0x4f3d5a;const _0x14a9cc=_0x30cc3d-_0x48862d[_0x47a2ae(0x36c)]%_0x30cc3d,_0x55d2eb=String[_0x47a2ae(0xa9)](_0x14a9cc)[_0x47a2ae(0x2fd)](_0x14a9cc);return _0x48862d+_0x55d2eb;}function _0x12c563(_0x2c680c,_0x2eace0){var _0xd0a774=_0x4f3d5a;const _0x1fef88=_0xf1b002[_0xd0a774(0x330)](0x10),_0x25278c=_0x2cf88e(_0x2c680c,0x10),_0x1e380f=_0x3cfb4c['encrypt'](_0x6a76e0[_0xd0a774(0x146)](_0x25278c),_0x50749c[_0xd0a774(0x146)](_0x2eace0),{'iv':_0x1fef88,'padding':_0x217d61});return _0x1fef88['concat'](_0x1e380f[_0xd0a774(0x2c2)])[_0xd0a774(0x2fc)](_0x50749c);}function _0x18229a(){var _0x246f30=_0x4f3d5a;const _0x1c1d71=_0x488317[_0x246f30(0x43e)]()[_0x246f30(0x32c)];if(_0x1c1d71){const _0x328815={'time':Math['floor'](Date['now']()/0x3e8),'domain':location[_0x246f30(0x1c9)]};return _0x12c563(JSON[_0x246f30(0x374)](_0x328815),_0x1c1d71);}}var _0x55e8d1=Object[_0x4f3d5a(0x246)],_0x507e89=(_0x119a87,_0x2e5c6b,_0x322a0b,_0x43c1e4)=>{var _0x4ff758=_0x4f3d5a;for(var _0x40d099=_0x43c1e4>0x1?void 0x0:_0x43c1e4?_0x55e8d1(_0x2e5c6b,_0x322a0b):_0x2e5c6b,_0x16fca0=_0x119a87[_0x4ff758(0x36c)]-0x1,_0xd6a3b2;_0x16fca0>=0x0;_0x16fca0--)(_0xd6a3b2=_0x119a87[_0x16fca0])&&(_0x40d099=_0xd6a3b2(_0x40d099)||_0x40d099);return _0x40d099;},_0x402152=(_0x4126c0,_0x1cf27a)=>(_0x218744,_0x18b35c)=>_0x1cf27a(_0x218744,_0x18b35c,_0x4126c0);let _0x32d21b=class{constructor(_0x2caeb3){var _0x39b910=_0x4f3d5a;this[_0x39b910(0x196)]=_0x2caeb3,this[_0x39b910(0x222)]();}[_0x4f3d5a(0x222)](){var _0x6c5ddd=_0x4f3d5a;this[_0x6c5ddd(0x196)][_0x6c5ddd(0x272)]({'interceptor':(_0x38f20d,_0x28103e)=>{var _0x26b31b=_0x6c5ddd;const _0x47d061=_0x38f20d['headers'],_0x291c49=_0x18229a();return _0x291c49&&_0x47d061['set'](_0x26b31b(0x341),_0x291c49),_0x28103e(_0x38f20d);}});}};_0x32d21b=_0x507e89([_0x402152(0x0,_0x3392b5['Inject'](_0x48a077[_0x4f3d5a(0xb5)]))],_0x32d21b);var _0x17190d=Object['getOwnPropertyDescriptor'],_0x5f4054=(_0x484627,_0x559d02,_0x3fc16d,_0x2dfb42)=>{var _0x30d09f=_0x4f3d5a;for(var _0x214fa1=_0x2dfb42>0x1?void 0x0:_0x2dfb42?_0x17190d(_0x559d02,_0x3fc16d):_0x559d02,_0x2ea12c=_0x484627[_0x30d09f(0x36c)]-0x1,_0x1e4d01;_0x2ea12c>=0x0;_0x2ea12c--)(_0x1e4d01=_0x484627[_0x2ea12c])&&(_0x214fa1=_0x1e4d01(_0x214fa1)||_0x214fa1);return _0x214fa1;},_0x4df0ec=(_0x4154dd,_0x43b7a6)=>(_0x30a475,_0x332eb9)=>_0x43b7a6(_0x30a475,_0x332eb9,_0x4154dd);_0x427316['DataLoaderService']=class extends _0x3392b5[_0x4f3d5a(0x1f6)]{constructor(_0x2f7791,_0x269824,_0x57a167){var _0xd331b3=_0x4f3d5a;super(),_0x2cd3a0(this,_0xd331b3(0x3e7),new _0x2c1c73[(_0xd331b3(0x24d))](null)),_0x2cd3a0(this,_0xd331b3(0x412),this[_0xd331b3(0x3e7)][_0xd331b3(0x28d)]()),(this[_0xd331b3(0x165)]=_0x2f7791,this[_0xd331b3(0x223)]=_0x269824,this[_0xd331b3(0x268)]=_0x57a167);}async['loadUnitOfRevision'](_0x633da3,_0x35d6f3,_0x47f261){var _0x39541c=_0x4f3d5a;this[_0x39541c(0x3e7)]['next']({'unitId':_0x633da3,'type':_0x35d6f3});let _0xf1452b=null;switch(_0x35d6f3){case _0x2f4b9b[_0x39541c(0x214)]:{_0xf1452b=await this[_0x39541c(0x223)]['loadSheet'](_0x633da3,_0x47f261);break;}case _0x2f4b9b['UNIVER_DOC']:{_0xf1452b=await this[_0x39541c(0x223)][_0x39541c(0x27b)](_0x633da3,_0x47f261);break;}default:{this[_0x39541c(0x165)][_0x39541c(0x316)](_0x39541c(0x30d),'Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');break;}}return _0xf1452b;}async[_0x4f3d5a(0x295)](_0x210572,_0xd64580,_0x12453d){var _0x332ade=_0x4f3d5a,_0x2f1710;this[_0x332ade(0x3e7)][_0x332ade(0x191)]({'unitId':_0x210572,'type':_0xd64580,'subUnitId':_0x12453d});let _0x47e255=0x0;const _0x28f7ed=await((_0x2f1710=this[_0x332ade(0x268)])==null?void 0x0:_0x2f1710[_0x332ade(0x33f)](_0x210572));return _0x28f7ed&&(_0x28f7ed[_0x332ade(0x2d5)]||_0x28f7ed[_0x332ade(0x204)][_0x332ade(0x36c)]!==0x0)&&(_0x47e255=_0x28f7ed[_0x332ade(0x2f0)]),_0x47e255===0x0&&this[_0x332ade(0x165)][_0x332ade(0x37b)](_0x332ade(0x30d),_0x332ade(0x375)),this[_0x332ade(0x41b)](_0x210572,_0xd64580,_0x47e255);}},_0x427316[_0x4f3d5a(0x300)]=_0x5f4054([_0x4df0ec(0x0,_0x3392b5[_0x4f3d5a(0x1c1)]),_0x4df0ec(0x1,_0x3392b5[_0x4f3d5a(0x329)](_0x2e372d['SnapshotService'])),_0x4df0ec(0x2,_0x3392b5[_0x4f3d5a(0x289)](_0x4597c5))],_0x427316['DataLoaderService']);var _0x117955=Object[_0x4f3d5a(0x246)],_0x372787=(_0x5a71f9,_0x1051d0,_0x431726,_0x55fedc)=>{var _0xe084c2=_0x4f3d5a;for(var _0x1bb716=_0x55fedc>0x1?void 0x0:_0x55fedc?_0x117955(_0x1051d0,_0x431726):_0x1051d0,_0x485ada=_0x5a71f9[_0xe084c2(0x36c)]-0x1,_0x42bad9;_0x485ada>=0x0;_0x485ada--)(_0x42bad9=_0x5a71f9[_0x485ada])&&(_0x1bb716=_0x42bad9(_0x1bb716)||_0x1bb716);return _0x1bb716;},_0x286d0e=(_0x3d8562,_0x4f44fd)=>(_0x54c907,_0xa8edfe)=>_0x4f44fd(_0x54c907,_0xa8edfe,_0x3d8562);const _0x113c97=[_0x4f3d5a(0x17d),'image/jpeg',_0x4f3d5a(0x1e5),'image/gif',_0x4f3d5a(0x3b5)],_0x2b2b96=0x5*0x400*0x400,_0x17741e=_0x4f3d5a(0x2ca),_0x3cdb8e='/universer-api/file/{fileID}/sign-url';_0x427316['CollaborationImageIoService']=class{constructor(_0x2010f5,_0x47f367,_0x760996){var _0x2c5c18=_0x4f3d5a;_0x2cd3a0(this,_0x2c5c18(0x17a),0x0),_0x2cd3a0(this,'_change$',new _0x2c1c73[(_0x2c5c18(0xc5))]()),_0x2cd3a0(this,_0x2c5c18(0x261),this[_0x2c5c18(0x3a0)]),_0x2cd3a0(this,'_imageSourceCache',new Map()),(this[_0x2c5c18(0x196)]=_0x2010f5,this[_0x2c5c18(0xd0)]=_0x47f367,this[_0x2c5c18(0x43d)]=_0x760996);}[_0x4f3d5a(0x11b)](_0x3fc453){var _0x4f0ea5=_0x4f3d5a;this[_0x4f0ea5(0x17a)]=_0x3fc453,this['_change$'][_0x4f0ea5(0x191)](_0x3fc453);}[_0x4f3d5a(0x10d)](_0x27bbe9,_0x51a27c){var _0x1f60db=_0x4f3d5a;if(_0x51a27c===_0x550b7d[_0x1f60db(0x1ea)][_0x1f60db(0xfe)]){const _0x1144f6=new Image();return _0x1144f6[_0x1f60db(0x42d)]=_0x27bbe9,_0x1144f6;}return this[_0x1f60db(0x1ba)][_0x1f60db(0x1e6)](_0x27bbe9);}[_0x4f3d5a(0x30c)](_0x4faa68,_0x5cbb07,_0x2b14f6){var _0x1a5381=_0x4f3d5a;_0x5cbb07===_0x550b7d['ImageSourceType']['BASE64']||_0x2b14f6==null||this['_imageSourceCache'][_0x1a5381(0x3ef)](_0x4faa68,_0x2b14f6);}async[_0x4f3d5a(0x26a)](_0x5580ec){var _0x50219e=_0x4f3d5a;try{const _0x1d8110=this['_replaceFileID'](this[_0x50219e(0x422)](),''+_0x5580ec),_0x3e9f4c=(await this[_0x50219e(0x196)][_0x50219e(0x1e6)](_0x1d8110))[_0x50219e(0x17f)];if(_0x3e9f4c[_0x50219e(0x316)]&&_0x3e9f4c['error']['code']===_0x30de26['OK']){const _0x5ac292=new URL(_0x3e9f4c[_0x50219e(0x19c)],this[_0x50219e(0x32f)]())[_0x50219e(0x2fc)]();return Promise['resolve'](_0x5ac292);}return Promise[_0x50219e(0x28b)](_0x3e9f4c[_0x50219e(0x316)]);}catch(_0x41bb52){return Promise[_0x50219e(0x28b)](_0x41bb52);}}async[_0x4f3d5a(0x30a)](_0x36b186){var _0x461ff8=_0x4f3d5a;let _0x518824='';if(!_0x113c97[_0x461ff8(0x34a)](_0x36b186[_0x461ff8(0x116)]))return this[_0x461ff8(0x42e)](),Promise[_0x461ff8(0x28b)](new Error(_0x550b7d[_0x461ff8(0x3b2)]['ERROR_IMAGE_TYPE']));if(_0x36b186[_0x461ff8(0x2e1)]>_0x2b2b96)return this[_0x461ff8(0x42e)](),Promise['reject'](new Error(_0x550b7d[_0x461ff8(0x3b2)]['ERROR_EXCEED_SIZE']));try{const _0x35e807=new FormData();_0x35e807['append']('file',_0x36b186);const _0x30d269=this['_univerInstanceService'][_0x461ff8(0xc1)](),_0x4eaa03=_0x30d269==null?void 0x0:_0x30d269[_0x461ff8(0x1c7)]();if(!_0x4eaa03)throw new Error('unitId\x20is\x20not\x20found');const _0x566b69=this[_0x461ff8(0xf9)]()+_0x461ff8(0x3ae)+_0x36b186[_0x461ff8(0x2e1)][_0x461ff8(0x2fc)]()+_0x461ff8(0x270)+_0x1ac2eb[_0x461ff8(0xf7)]+_0x461ff8(0x441)+encodeURIComponent(_0x4eaa03),_0xdc0cbe={'body':_0x35e807},_0x46d81a=(await this[_0x461ff8(0x196)]['post'](_0x566b69,_0xdc0cbe))['body'];if(typeof _0x46d81a[_0x461ff8(0xe5)]!=_0x461ff8(0x1b4))return this[_0x461ff8(0x42e)](),Promise['reject'](new Error(_0x550b7d[_0x461ff8(0x3b2)][_0x461ff8(0x3c3)]));_0x518824=_0x46d81a['FileId'];}catch{return this[_0x461ff8(0x42e)](),Promise[_0x461ff8(0x28b)](new Error(_0x550b7d['ImageUploadStatusType'][_0x461ff8(0x3c3)]));}return new Promise((_0x1fbfdf,_0x89465f)=>{var _0x2af400=_0x461ff8;const _0x266d6f=new FileReader();_0x266d6f[_0x2af400(0x2da)](_0x36b186),_0x266d6f[_0x2af400(0x3e2)]=_0x1afa01=>{var _0xec9032=_0x2af400,_0x12fddd;const _0x106fb0=(_0x12fddd=_0x1afa01['target'])==null?void 0x0:_0x12fddd[_0xec9032(0x161)];if(_0x106fb0==null){this['_decreaseWaiting'](),_0x89465f(new Error(_0x550b7d[_0xec9032(0x3b2)][_0xec9032(0x3c3)]));return;}const _0x1a839e=_0x3392b5['generateRandomId'](0x6);_0x1fbfdf({'imageId':_0x1a839e,'imageSourceType':_0x550b7d['ImageSourceType'][_0xec9032(0x1b6)],'source':_0x518824,'base64Cache':_0x106fb0,'status':_0x550b7d[_0xec9032(0x3b2)][_0xec9032(0x240)]}),this[_0xec9032(0x42e)]();};});}[_0x4f3d5a(0xf9)](){var _0x473f9c=_0x4f3d5a,_0x510a39;const _0x9d91ca=this['_configService'][_0x473f9c(0x38d)](_0x5dafb3);return(_0x510a39=_0x9d91ca==null?void 0x0:_0x9d91ca[_0x473f9c(0x15b)])!=null?_0x510a39:_0x17741e;}['_getSignURL'](){var _0x92322f=_0x4f3d5a,_0x44d957;const _0x118bdf=this[_0x92322f(0xd0)][_0x92322f(0x38d)](_0x5dafb3);return(_0x44d957=_0x118bdf==null?void 0x0:_0x118bdf[_0x92322f(0x339)])!=null?_0x44d957:_0x3cdb8e;}[_0x4f3d5a(0x32f)](){var _0x2b3afc=_0x4f3d5a,_0x4fc491;const _0x60634a=this[_0x2b3afc(0xd0)][_0x2b3afc(0x38d)](_0x5dafb3);return(_0x4fc491=_0x60634a==null?void 0x0:_0x60634a[_0x2b3afc(0x31c)])!=null?_0x4fc491:location[_0x2b3afc(0x20c)];}[_0x4f3d5a(0x2c6)](_0x2df617,_0x5dff99){var _0x523f29=_0x4f3d5a;return _0x2df617[_0x523f29(0x1fd)](_0x523f29(0x17b),_0x5dff99);}[_0x4f3d5a(0x42e)](){var _0x5417fa=_0x4f3d5a;this['_waitCount']-=0x1,this[_0x5417fa(0x3a0)][_0x5417fa(0x191)](this['_waitCount']);}},_0x427316[_0x4f3d5a(0xcb)]=_0x372787([_0x286d0e(0x0,_0x3392b5[_0x4f3d5a(0x329)](_0x48a077[_0x4f3d5a(0xb5)])),_0x286d0e(0x1,_0x3392b5[_0x4f3d5a(0x3dd)]),_0x286d0e(0x2,_0x3392b5['Inject'](_0x3392b5[_0x4f3d5a(0x1cd)]))],_0x427316[_0x4f3d5a(0xcb)]);var _0x6ba6c6=Object[_0x4f3d5a(0x246)],_0x6646e3=(_0x315d4b,_0x3f7f6d,_0x20d806,_0x93cc48)=>{var _0x1fc516=_0x4f3d5a;for(var _0x50877c=_0x93cc48>0x1?void 0x0:_0x93cc48?_0x6ba6c6(_0x3f7f6d,_0x20d806):_0x3f7f6d,_0x35391a=_0x315d4b[_0x1fc516(0x36c)]-0x1,_0xc7ec8e;_0x35391a>=0x0;_0x35391a--)(_0xc7ec8e=_0x315d4b[_0x35391a])&&(_0x50877c=_0xc7ec8e(_0x50877c)||_0x50877c);return _0x50877c;},_0x290ea3=(_0x469245,_0x3b46a5)=>(_0x54d499,_0x3831fb)=>_0x3b46a5(_0x54d499,_0x3831fb,_0x469245);const _0x5b7e9d=_0x4f3d5a(0x411);_0x427316[_0x4f3d5a(0x1fa)]=class{constructor(_0x52c6dc,_0x40965c){var _0x1615be=_0x4f3d5a;this[_0x1615be(0xd0)]=_0x52c6dc,this[_0x1615be(0x3cd)]=_0x40965c;}[_0x4f3d5a(0x3f9)](){var _0xb74e14=_0x4f3d5a,_0x28abfa;const _0x4f6197=this[_0xb74e14(0xd0)]['getConfig'](_0x5dafb3);return(_0x28abfa=_0x4f6197==null?void 0x0:_0x4f6197[_0xb74e14(0x3a9)])!=null?_0x28abfa:_0x5b7e9d;}async['list'](_0x325f7b){var _0x13b4e1=_0x4f3d5a;const _0x42b8d2=this[_0x13b4e1(0x3f9)]()+_0x13b4e1(0x3bd);return{'list':[{'title':_0x13b4e1(0x114),'mentions':(await this[_0x13b4e1(0x3cd)][_0x13b4e1(0x1e6)](_0x42b8d2,{'params':{'objectID':_0x325f7b[_0x13b4e1(0x2a6)],'unitID':_0x325f7b['unitId']}}))[_0x13b4e1(0x17f)][_0x13b4e1(0x20d)][_0x13b4e1(0xa5)](_0x5511cb=>({'objectId':_0x5511cb['id'],'name':_0x5511cb['subject'][_0x13b4e1(0x405)],'metadata':{'icon':_0x5511cb[_0x13b4e1(0x3be)]['avatar']},'label':_0x5511cb[_0x13b4e1(0x3be)][_0x13b4e1(0x405)],'objectType':_0x3392b5[_0x13b4e1(0x14e)][_0x13b4e1(0x3a7)]})),'metadata':{},'type':_0x3392b5[_0x13b4e1(0x14e)][_0x13b4e1(0x3a7)]}]};}},_0x427316[_0x4f3d5a(0x1fa)]=_0x6646e3([_0x290ea3(0x0,_0x3392b5[_0x4f3d5a(0x329)](_0x3392b5[_0x4f3d5a(0x3dd)])),_0x290ea3(0x1,_0x3392b5[_0x4f3d5a(0x329)](_0x48a077[_0x4f3d5a(0xb5)]))],_0x427316['MentionIoHttpService']);var _0x73313c=Object['getOwnPropertyDescriptor'],_0x1910dd=(_0x5422e2,_0x5303ad,_0x24a85f,_0x46de0e)=>{var _0x55b781=_0x4f3d5a;for(var _0x4c557b=_0x46de0e>0x1?void 0x0:_0x46de0e?_0x73313c(_0x5303ad,_0x24a85f):_0x5303ad,_0x1530ee=_0x5422e2[_0x55b781(0x36c)]-0x1,_0xf1e26d;_0x1530ee>=0x0;_0x1530ee--)(_0xf1e26d=_0x5422e2[_0x1530ee])&&(_0x4c557b=_0xf1e26d(_0x4c557b)||_0x4c557b);return _0x4c557b;},_0x42b8ef=(_0x4f4fee,_0x1bff33)=>(_0xa43752,_0x3c6600)=>_0x1bff33(_0xa43752,_0x3c6600,_0x4f4fee);let _0x34fa01=class extends _0x3392b5['RxDisposable']{constructor(_0x382567,_0x3487b8,_0x56ebc4,_0x253817,_0x4f025d){var _0x5cc4fa=_0x4f3d5a;super(),this[_0x5cc4fa(0x1fb)]=_0x382567,this[_0x5cc4fa(0x43d)]=_0x3487b8,this[_0x5cc4fa(0x1f5)]=_0x56ebc4,this[_0x5cc4fa(0xaa)]=_0x253817,this[_0x5cc4fa(0x179)]=_0x4f025d,this['_initUnitPermissionChange'](),this[_0x5cc4fa(0x3c7)]();}['_initCloseConn'](){var _0x1914a7=_0x4f3d5a;const _0x15c835=async _0x59324d=>{var _0x41299d=_0x3800;(await this[_0x41299d(0xaa)][_0x41299d(0x159)](_0x59324d))[_0x41299d(0x1c8)][_0x41299d(0x1c4)](_0x1f6813['filter'](_0x521317=>_0x521317[_0x41299d(0x398)]===_0x2e372d[_0x41299d(0x407)][_0x41299d(0x219)]),_0x1f6813[_0x41299d(0x239)](this[_0x41299d(0xc6)]))[_0x41299d(0x12f)](_0x1daecd=>{var _0x43110e=_0x41299d;const _0xaa3a9=_0x1daecd,{reason:_0x41d5c6}=_0xaa3a9['data'];this[_0x43110e(0x179)][_0x43110e(0x208)]({'id':_0x2f98ef[_0x43110e(0x336)],'data':_0x41d5c6}),this['_permissionService'][_0x43110e(0x144)](new _0x5d6cc8['WorkbookEditablePermission'](_0x59324d)['id'],!0x1),this[_0x43110e(0xaa)][_0x43110e(0x215)](_0x59324d);});};_0x2c1c73[_0x1914a7(0x24e)](this[_0x1914a7(0x43d)][_0x1914a7(0x381)](_0x3392b5[_0x1914a7(0x401)][_0x1914a7(0x214)]),this[_0x1914a7(0x43d)][_0x1914a7(0x381)](_0x3392b5[_0x1914a7(0x401)][_0x1914a7(0x26b)]))[_0x1914a7(0x1c4)](_0x1f6813['map'](_0x2e1417=>_0x2e1417[_0x1914a7(0x1c7)]()),_0x1f6813['filter'](_0x76d5a2=>!_0x3392b5[_0x1914a7(0x138)](_0x76d5a2)),_0x1f6813[_0x1914a7(0x239)](this['dispose$']))['subscribe'](_0x53f4a3=>{_0x15c835(_0x53f4a3);});}[_0x4f3d5a(0x244)](){var _0x195ad9=_0x4f3d5a;const _0x3812c6=async _0x464ee1=>{var _0x52dbd2=_0x3800;const _0x186fa9=await this[_0x52dbd2(0xaa)][_0x52dbd2(0x159)](_0x464ee1),_0x45c07e=this[_0x52dbd2(0x1fb)][_0x52dbd2(0x1e6)](_0x5d6cc8[_0x52dbd2(0x33b)]);_0x186fa9[_0x52dbd2(0x1c8)]['pipe'](_0x1f6813['filter'](_0x34883f=>_0x34883f[_0x52dbd2(0x398)]===_0x2e372d['CollaborationEvent']['UPDATE_PERMISSION_OBJ']),_0x1f6813[_0x52dbd2(0x239)](this[_0x52dbd2(0xc6)]))[_0x52dbd2(0x12f)](_0x5d5d07=>{var _0x331f15=_0x52dbd2;const _0x2d6900=_0x5d5d07,{objectId:_0x28ebb2}=_0x2d6900[_0x331f15(0x3ec)];_0x28ebb2===_0x464ee1?_0x45c07e[_0x331f15(0x37f)](_0x464ee1):_0x45c07e[_0x331f15(0x12a)](_0x464ee1,_0x28ebb2);});};_0x2c1c73[_0x195ad9(0x24e)](this[_0x195ad9(0x43d)]['getTypeOfUnitAdded$'](_0x3392b5[_0x195ad9(0x401)][_0x195ad9(0x214)]))[_0x195ad9(0x1c4)](_0x1f6813[_0x195ad9(0xa5)](_0x12b90d=>_0x12b90d[_0x195ad9(0x1c7)]()),_0x1f6813['filter'](_0x5350e5=>!_0x3392b5[_0x195ad9(0x138)](_0x5350e5)),_0x1f6813[_0x195ad9(0x239)](this[_0x195ad9(0xc6)]))[_0x195ad9(0x12f)](_0x442fc8=>{_0x3812c6(_0x442fc8);});}};_0x34fa01=_0x1910dd([_0x42b8ef(0x0,_0x3392b5['Inject'](_0x3392b5[_0x4f3d5a(0x421)])),_0x42b8ef(0x1,_0x3392b5[_0x4f3d5a(0x1cd)]),_0x42b8ef(0x2,_0x3392b5[_0x4f3d5a(0x2c0)]),_0x42b8ef(0x3,_0x3392b5[_0x4f3d5a(0x329)](_0x427316[_0x4f3d5a(0x1a8)])),_0x42b8ef(0x4,_0x3392b5['Inject'](_0x5d354c))],_0x34fa01);var _0x576d79=Object[_0x4f3d5a(0x246)],_0x37063a=(_0x9e1d2b,_0x3cbb7b,_0x35fdda,_0x22d5f0)=>{var _0x120797=_0x4f3d5a;for(var _0x18baad=_0x22d5f0>0x1?void 0x0:_0x22d5f0?_0x576d79(_0x3cbb7b,_0x35fdda):_0x3cbb7b,_0x381061=_0x9e1d2b[_0x120797(0x36c)]-0x1,_0x1e66e4;_0x381061>=0x0;_0x381061--)(_0x1e66e4=_0x9e1d2b[_0x381061])&&(_0x18baad=_0x1e66e4(_0x18baad)||_0x18baad);return _0x18baad;},_0x3f6fb1=(_0x272a4f,_0x35343b)=>(_0x463558,_0x3e813c)=>_0x35343b(_0x463558,_0x3e813c,_0x272a4f);_0x427316[_0x4f3d5a(0xca)]=class{constructor(_0x16fda5,_0x3c5a45){var _0x5178d6=_0x4f3d5a;this[_0x5178d6(0xd0)]=_0x16fda5,this['_httpService']=_0x3c5a45;}async[_0x4f3d5a(0x38a)](_0x57caa9,_0x41f5f9){var _0x568082=_0x4f3d5a,_0x295ffa;const {unitID:_0x32b2a6,type:_0x1b5407,revision:_0x21ed8d=0x0}=_0x41f5f9,_0x245d40=this[_0x568082(0x2eb)]()+'/'+_0x1b5407+_0x568082(0xe8)+_0x32b2a6+_0x568082(0x2d7)+_0x21ed8d,_0x4f7cc2=(await this['_httpService'][_0x568082(0x1e6)](_0x245d40))['body'],_0x35afe0=(_0x295ffa=_0x4f7cc2[_0x568082(0x189)])==null?void 0x0:_0x295ffa[_0x568082(0x3b0)];if(_0x35afe0){const _0x5d73ec=_0x35afe0==null?void 0x0:_0x35afe0[_0x568082(0x279)],_0x39a519=_0x2e372d[_0x568082(0x1d8)][_0x568082(0x394)](_0x2e372d[_0x568082(0x187)](_0x5d73ec));_0x35afe0[_0x568082(0x279)]=_0x39a519,Object['entries'](_0x35afe0[_0x568082(0x218)])[_0x568082(0x186)](([,_0x5c3549])=>{var _0x27c9e5=_0x568082;const _0x3d1454=_0x5c3549[_0x27c9e5(0x279)],_0x1dfe98=_0x2e372d[_0x27c9e5(0x1d8)]['encode'](_0x2e372d[_0x27c9e5(0x187)](_0x3d1454));_0x5c3549[_0x27c9e5(0x279)]=_0x1dfe98;});}return _0x4f7cc2;}async['getSheetBlock'](_0xfc655,_0x188059){var _0x25f8ce=_0x4f3d5a;const {unitID:_0x4c3401,type:_0x2f3ed9,blockID:_0x54d394}=_0x188059,_0x563120=this[_0x25f8ce(0xb6)]()+'/'+_0x2f3ed9+'/unit/'+_0x4c3401+_0x25f8ce(0x122)+_0x54d394;return(await this[_0x25f8ce(0x196)][_0x25f8ce(0x1e6)](_0x563120))['body'];}async[_0x4f3d5a(0x18c)](_0x1dced0,_0x3e0bb7){var _0x440fd7=_0x4f3d5a;const {unitID:_0x4b3c40,type:_0x4da71f,blockID:_0xcab73f}=_0x3e0bb7,_0x49283b=this[_0x440fd7(0xb6)]()+_0x440fd7(0x122)+_0x4da71f+'/unit/'+_0x4b3c40+_0x440fd7(0x122)+_0xcab73f;return(await this[_0x440fd7(0x196)]['get'](_0x49283b))['body'];}async['fetchMissingChangesets'](_0x532dd3,_0x555bf9){var _0x3db525=_0x4f3d5a;const {unitID:_0x4743e7,type:_0x3d5265,from:_0x3a71f3,to:_0x1cf15f}=_0x555bf9,_0x43e745=this[_0x3db525(0xb6)]()+'/'+_0x3d5265+'/unit/'+_0x4743e7+'/fetchmissing?from='+_0x3a71f3+_0x3db525(0x36a)+_0x1cf15f;return(await this[_0x3db525(0x196)][_0x3db525(0x1e6)](_0x43e745))[_0x3db525(0x17f)];}[_0x4f3d5a(0x2eb)](){var _0x4bbcfc=_0x4f3d5a,_0x56e178;return(_0x56e178=this['_configService'][_0x4bbcfc(0x38d)](_0x5b4571))!=null?_0x56e178:this[_0x4bbcfc(0xb6)]();}[_0x4f3d5a(0xb6)](){var _0x533699=_0x4f3d5a,_0x5e0ea8;const _0x43c1ed=this[_0x533699(0xd0)][_0x533699(0x38d)](_0x5dafb3);return(_0x5e0ea8=_0x43c1ed==null?void 0x0:_0x43c1ed[_0x533699(0x35a)])!=null?_0x5e0ea8:_0x36155e;}async[_0x4f3d5a(0x125)](_0x49da33,_0x5b3d58){var _0x175bae=_0x4f3d5a;const _0xb8cafa='/universer-api/snapshot/'+_0x5b3d58[_0x175bae(0x116)]+_0x175bae(0xe8)+_0x5b3d58[_0x175bae(0x259)]+_0x175bae(0x157);return(await this[_0x175bae(0x196)][_0x175bae(0x1e6)](_0xb8cafa,{'params':{'resourceId':JSON['stringify'](_0x5b3d58['resourceIDs'])}}))['body'];}[_0x4f3d5a(0x182)](){var _0x47f39d=_0x4f3d5a;throw new Error(_0x47f39d(0x415));}[_0x4f3d5a(0x234)](){var _0x317d7a=_0x4f3d5a;throw new Error(_0x317d7a(0x415));}[_0x4f3d5a(0x347)](){var _0x260f53=_0x4f3d5a;throw new Error(_0x260f53(0x415));}[_0x4f3d5a(0x18f)](){var _0x4365d7=_0x4f3d5a;throw new Error(_0x4365d7(0x415));}[_0x4f3d5a(0x2a4)](){var _0x49d913=_0x4f3d5a;throw new Error(_0x49d913(0x415));}[_0x4f3d5a(0x181)](){var _0x78c67e=_0x4f3d5a;throw new Error(_0x78c67e(0x415));}},_0x427316[_0x4f3d5a(0xca)]=_0x37063a([_0x3f6fb1(0x0,_0x3392b5[_0x4f3d5a(0x3dd)]),_0x3f6fb1(0x1,_0x3392b5[_0x4f3d5a(0x329)](_0x48a077[_0x4f3d5a(0xb5)]))],_0x427316[_0x4f3d5a(0xca)]);var _0x5b2709=Object[_0x4f3d5a(0x246)],_0x2e3167=(_0x25ba03,_0x30aba5,_0x54d5ab,_0x31c1bb)=>{var _0x102762=_0x4f3d5a;for(var _0x20a0aa=_0x31c1bb>0x1?void 0x0:_0x31c1bb?_0x5b2709(_0x30aba5,_0x54d5ab):_0x30aba5,_0x3dbd75=_0x25ba03[_0x102762(0x36c)]-0x1,_0x55515c;_0x3dbd75>=0x0;_0x3dbd75--)(_0x55515c=_0x25ba03[_0x3dbd75])&&(_0x20a0aa=_0x55515c(_0x20a0aa)||_0x20a0aa);return _0x20a0aa;},_0x39eff2=(_0x5d4204,_0x444556)=>(_0x3a9bdc,_0x548041)=>_0x444556(_0x3a9bdc,_0x548041,_0x5d4204);_0x427316[_0x4f3d5a(0xea)]=class extends _0x3392b5[_0x4f3d5a(0x321)]{constructor(_0x3f01cf,_0x1911f0,_0x275752,_0x507bcb,_0x183759){var _0x31d642=_0x4f3d5a;super(_0x3f01cf,_0x1911f0,_0x275752),this[_0x31d642(0x2a3)]=_0x507bcb,this[_0x31d642(0x165)]=_0x183759;}[_0x4f3d5a(0x3fa)](_0x163053,_0x58ff83){var _0x46a577=_0x4f3d5a;const _0x263798=this[_0x46a577(0x281)](_0x163053);if(_0x263798)try{const _0x2cebe9=this[_0x46a577(0x2df)](_0x263798,_0x58ff83);this[_0x46a577(0x255)](_0x163053,_0x2cebe9);}catch(_0x59e4e4){this[_0x46a577(0x165)][_0x46a577(0x316)](_0x46a577(0x397),_0x59e4e4),this[_0x46a577(0x211)](_0x163053);}const _0x31d2f7=this[_0x46a577(0x216)](_0x163053);if(_0x31d2f7)try{const _0x19da49=this[_0x46a577(0x2df)](_0x31d2f7,_0x58ff83);this[_0x46a577(0x19d)](_0x163053,_0x19da49);}catch(_0xd43273){this[_0x46a577(0x165)][_0x46a577(0x316)](_0xd43273),this['_clearRedo'](_0x163053);}}['_clearUndo'](_0x4c3418){var _0x110959=_0x4f3d5a;const _0x4c1d6a=this[_0x110959(0x281)](_0x4c3418);_0x4c1d6a&&(_0x4c1d6a[_0x110959(0x36c)]=0x0,this[_0x110959(0xa7)]());}[_0x4f3d5a(0x198)](_0x34700e){var _0x34a275=_0x4f3d5a;const _0x1a2ae6=this[_0x34a275(0x216)](_0x34700e);_0x1a2ae6&&(_0x1a2ae6[_0x34a275(0x36c)]=0x0,this[_0x34a275(0xa7)]());}[_0x4f3d5a(0x255)](_0x4d9f9c,_0x1b101b){var _0x40df9c=_0x4f3d5a;this[_0x40df9c(0x133)][_0x40df9c(0x3ef)](_0x4d9f9c,_0x1b101b),this[_0x40df9c(0xa7)]();}[_0x4f3d5a(0x19d)](_0x1817df,_0x4d686c){var _0x59d692=_0x4f3d5a;this[_0x59d692(0x22c)]['set'](_0x1817df,_0x4d686c),this['_updateStatus']();}[_0x4f3d5a(0x2df)](_0x4d21c0,_0x359f8b){var _0x34dff0=_0x4f3d5a;const _0x2dd00a=[];let _0x170a6e=_0x359f8b,_0xfb45cc=_0x359f8b;for(let _0x1cae5d=_0x4d21c0['length']-0x1;_0x1cae5d>=0x0;_0x1cae5d--){const {unitID:_0x25652b,undoMutations:_0x112316,redoMutations:_0x20f192}=_0x4d21c0[_0x1cae5d],_0x2af88e=this[_0x34dff0(0x2a3)][_0x34dff0(0x434)](_0x170a6e,_0x112316),_0x40a4c0=this[_0x34dff0(0x2a3)][_0x34dff0(0x434)](_0xfb45cc,_0x20f192);if(_0x2e372d[_0x34dff0(0xf1)](_0x2af88e)||_0x2e372d[_0x34dff0(0xf1)](_0x40a4c0)){this[_0x34dff0(0x165)][_0x34dff0(0x316)](_0x34dff0(0x397),_0x34dff0(0xdb),_0x2af88e,_0x40a4c0);break;}_0x170a6e=_0x2af88e[_0x34dff0(0xc8)],_0xfb45cc=_0x40a4c0['c1Prime'],_0x2dd00a[_0x34dff0(0x228)]({'unitID':_0x25652b,'undoMutations':_0x2af88e[_0x34dff0(0x106)],'redoMutations':_0x40a4c0[_0x34dff0(0x106)]});}return _0x2dd00a['reverse']();}},_0x427316[_0x4f3d5a(0xea)]=_0x2e3167([_0x39eff2(0x0,_0x3392b5['IUniverInstanceService']),_0x39eff2(0x1,_0x3392b5[_0x4f3d5a(0x2ff)]),_0x39eff2(0x2,_0x3392b5[_0x4f3d5a(0x366)]),_0x39eff2(0x3,_0x2e372d[_0x4f3d5a(0x241)]),_0x39eff2(0x4,_0x3392b5[_0x4f3d5a(0x1c1)])],_0x427316[_0x4f3d5a(0xea)]);var _0x29e3a1=Object[_0x4f3d5a(0x14a)],_0x2664ea=Object['getOwnPropertyDescriptor'],_0xa92fba=(_0x2e3d8f,_0x45a8b2,_0x88a05b)=>_0x45a8b2 in _0x2e3d8f?_0x29e3a1(_0x2e3d8f,_0x45a8b2,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x88a05b}):_0x2e3d8f[_0x45a8b2]=_0x88a05b,_0x5d8eb4=(_0x197f4e,_0x58f964,_0x18854f,_0x158111)=>{var _0x1c64f9=_0x4f3d5a;for(var _0x2036f4=_0x158111>0x1?void 0x0:_0x158111?_0x2664ea(_0x58f964,_0x18854f):_0x58f964,_0x4aa14a=_0x197f4e[_0x1c64f9(0x36c)]-0x1,_0x1305be;_0x4aa14a>=0x0;_0x4aa14a--)(_0x1305be=_0x197f4e[_0x4aa14a])&&(_0x2036f4=_0x1305be(_0x2036f4)||_0x2036f4);return _0x2036f4;},_0x4c89d5=(_0x859c47,_0xc5bae0)=>(_0x94444a,_0x590461)=>_0xc5bae0(_0x94444a,_0x590461,_0x859c47),_0x3bb45f=(_0x538971,_0x184bfd,_0x199c53)=>_0xa92fba(_0x538971,_0x184bfd+'',_0x199c53);const _0x1021ee='UNIVER_COLLABORATION_CLIENT_PLUGIN';_0x427316[_0x4f3d5a(0x424)]=class extends _0x3392b5[_0x4f3d5a(0x43c)]{constructor(_0x5cd7c2,_0x1ec3f3,_0x33b158,_0x42a10f){var _0x11dc39=_0x4f3d5a;super(),_0x2cd3a0(this,_0x11dc39(0x29c)),(this[_0x11dc39(0x165)]=_0x1ec3f3,this['_injector']=_0x33b158,this['_configService']=_0x42a10f);const {..._0x4f6f32}=_0x3392b5[_0x11dc39(0x24e)]({},_0x332a83,_0x5cd7c2);if(!_0x4f6f32[_0x11dc39(0x354)])throw new Error(_0x11dc39(0x21e));this[_0x11dc39(0x29c)]=_0x4f6f32,this[_0x11dc39(0xd0)][_0x11dc39(0xb9)](_0x5dafb3,_0x4f6f32);}[_0x4f3d5a(0x10e)](){var _0x39712d=_0x4f3d5a;this[_0x39712d(0x388)](),this[_0x39712d(0x112)]();}[_0x4f3d5a(0x388)](){var _0x5d99bd=_0x4f3d5a,_0x44fce9,_0x57879e;this[_0x5d99bd(0x1fb)][_0x5d99bd(0x21c)](_0x3392b5[_0x5d99bd(0x438)])&&this[_0x5d99bd(0x165)][_0x5d99bd(0x316)](_0x5d99bd(0xb1),_0x5d99bd(0x1f8));const _0x15bf9c=_0x3392b5[_0x5d99bd(0x1af)]([[_0x3392b5['IUndoRedoService'],{'useClass':_0x427316[_0x5d99bd(0xea)]}],[_0x427316['CollaborationSessionService']],[_0x427316[_0x5d99bd(0x313)]],[_0x427316[_0x5d99bd(0x2ad)]],[_0x81a0c9],[_0x32d21b],[_0x279e44],[_0x34fa01],[_0x5d354c],[_0x427316[_0x5d99bd(0x300)]],[_0x4be32f,{'useClass':this[_0x5d99bd(0x29c)][_0x5d99bd(0x354)]}],[_0x2e372d[_0x5d99bd(0x385)],{'useClass':_0x427316[_0x5d99bd(0xca)]}],[_0x3392b5['IAuthzIoService'],{'useClass':_0x427316[_0x5d99bd(0x2e5)]}],[_0x550b7d[_0x5d99bd(0x2cc)],{'useClass':_0x427316['CollaborationImageIoService']}],[_0x3392b5['IMentionIOService'],{'useClass':_0x427316[_0x5d99bd(0x1fa)]}],[_0x427316[_0x5d99bd(0x235)]],[_0x64f94e]],(_0x44fce9=this[_0x5d99bd(0x29c)])==null?void 0x0:_0x44fce9['override']);if(!((_0x57879e=this[_0x5d99bd(0x29c)])!=null&&_0x57879e[_0x5d99bd(0x2ac)])){const _0x4d6052=_0x15bf9c[_0x5d99bd(0x14f)](([_0xd70edf])=>_0xd70edf===_0x5066c3);_0x4d6052!==-0x1&&_0x15bf9c[_0x5d99bd(0x325)](_0x4d6052,0x1);}_0x3392b5[_0x5d99bd(0x2b5)](this[_0x5d99bd(0x1fb)],_0x15bf9c);}[_0x4f3d5a(0x112)](){var _0xf5caf5=_0x4f3d5a,_0x2fca91,_0x1622e6,_0x19c351;this['_injector']['get'](_0x48a077[_0xf5caf5(0xb5)])['registerHTTPInterceptor']({'priority':0x14,'interceptor':_0x48a077[_0xf5caf5(0x3d0)]({'maxParallel':0x6})}),(_0x2fca91=this[_0xf5caf5(0x29c)])!=null&&_0x2fca91[_0xf5caf5(0x1d1)]||(_0x1622e6=this[_0xf5caf5(0x1fb)][_0xf5caf5(0x1e6)](_0x4597c5,_0x3392b5[_0xf5caf5(0x29a)][_0xf5caf5(0x25a)]))==null||_0x1622e6['disableLocalCache'](),(_0x19c351=this[_0xf5caf5(0x29c)])!=null&&_0x19c351[_0xf5caf5(0x11d)]&&_0x3392b5[_0xf5caf5(0x154)](this['_injector'],[[_0x81a0c9]]),_0x3392b5[_0xf5caf5(0x154)](this[_0xf5caf5(0x1fb)],[[_0x32d21b],[_0x427316['CollaborationController']],[_0x34fa01]]);}},_0x3bb45f(_0x427316[_0x4f3d5a(0x424)],'pluginName',_0x1021ee),_0x427316[_0x4f3d5a(0x424)]=_0x5d8eb4([_0x3392b5[_0x4f3d5a(0xf4)](_0x2e372d['UniverCollaborationPlugin'],_0x48a077['UniverNetworkPlugin']),_0x4c89d5(0x1,_0x3392b5[_0x4f3d5a(0x1c1)]),_0x4c89d5(0x2,_0x3392b5[_0x4f3d5a(0x329)](_0x3392b5[_0x4f3d5a(0x421)])),_0x4c89d5(0x3,_0x3392b5[_0x4f3d5a(0x3dd)])],_0x427316[_0x4f3d5a(0x424)]),_0x427316[_0x4f3d5a(0x20a)]=_0x5dafb3,_0x427316['CollaborationStatus']=_0x544502,_0x427316['CollaborationUIEventId']=_0x2f98ef,_0x427316[_0x4f3d5a(0x409)]=_0x5d354c,_0x427316[_0x4f3d5a(0x177)]=_0x279e44,_0x427316['DEFAULT_COLLAB_WEB_SOCKET_URL']=_0x390407,_0x427316[_0x4f3d5a(0x39c)]=_0x374860,_0x427316[_0x4f3d5a(0x3a8)]=_0x3e8642,_0x427316[_0x4f3d5a(0x396)]=_0x5ac1cf,_0x427316[_0x4f3d5a(0x1f9)]=_0x1324fc,_0x427316[_0x4f3d5a(0x1cc)]=_0x4be32f,_0x427316[_0x4f3d5a(0x21d)]=_0x4597c5,_0x427316[_0x4f3d5a(0x418)]=_0x357e84,_0x427316[_0x4f3d5a(0x18b)]=_0x5066c3,_0x427316[_0x4f3d5a(0xbd)]=0x3e8,_0x427316[_0x4f3d5a(0x35c)]=_0x280b98,_0x427316[_0x4f3d5a(0x310)]=_0x32a0eb,_0x427316[_0x4f3d5a(0x324)]=_0x394647,_0x427316[_0x4f3d5a(0x35b)]=_0x45134b,_0x427316['UnitStatus']=_0x10fa35,_0x427316[_0x4f3d5a(0xa4)]=_0x384d7c,_0x427316[_0x4f3d5a(0x156)]=_0x3fd395,_0x427316['serializeCombRequest']=_0x2357d8,Object[_0x4f3d5a(0x14a)](_0x427316,Symbol['toStringTag'],{'value':'Module'});}));
|
|
2
|
+
function _0x4d6f(_0xba1a21,_0x1726db){_0xba1a21=_0xba1a21-0x1c5;var _0x452af7=_0x452a();var _0x4d6f1d=_0x452af7[_0xba1a21];return _0x4d6f1d;}function _0x452a(){var _0xba2c2f=['_transformService','Error\x20on\x20receiving\x20event','IConfigService','_localCacheService','has','[CollaborationSessionService]','actions','location','_collaborationPaused','_change$','submit\x20changeset\x20error!','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','_entityInit$','getConfig','transformUndoRedo','_type','_sessions','setCurrentUser','leaveEvent','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','SessionStatus','sequenceExecute','sendChangesetTimeout','/new_changes','_unitInfo$','PAYMENT_CHANNEL_NOT_SUPPORT','_initDependencies','b64DecodeUnicode','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','UNISCRIPT_RUN','HELLO','_incrementRevisionNumber','update','SOCKET_FAILED','_getLoginPath','BlockCipherMode','PERSON','uuidv4','append','_commentService','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','loadUnitOfRevision','[PendingState]:\x20received\x20acknowledgement.','dispose$','OpenSSL','ERROR_IMAGE','_getUndoStack','DATA_SOURCE_TOO_LARGE','8GoKJPa','_collaborationTimeoutTimer','replace','deserializeToCombResponse','UserProfileImg','parseProtocolChangeset','YUUMI_TABLE_NOT_FOUND_IN_UNIT','ENTITLE_NEED_BILLING_ADDRESS','[DataLoaderService]','pipe','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','data','_socketMessageSubscription','UUID','CipherParams','_startCollaboration','Malformed\x20UTF-8\x20data','UniverCollaborationClientPlugin','_executeRemoteChangeset','mutations','@univerjs/telemetry','_networkConditionService','SyncedState','LEAVE','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_handlerCallback','YUUMI_RATE_OVER_LIMIT','INVITE_CODE_HAS_BEEN_UES','_clearHeartbeatTimer','_state','@univerjs/drawing','name','getCurrentRevOfUnit','type','_onLocalMutation','_createHmacHelper','CompressMutationService','mapDocumentTypeToUniverType','getResourcesRequest','now','573520yYUVFr','NO_OTHER_CLIENTS_EDITING','substr','/-/object/-/batch_allowed','_collaborationSessionService','clone','next','Undefined','image/jpeg','_eventService','_lockTransition','CONNECTOR_DATA_TOO_LARGE','updateMember','IPermissionService','_userManagerService','image/gif','ILocalCacheService','CollaborationSessionService','hostname','enableAuthServer','ISnapshotServerService','SUBMIT_CHANGESET','toggleOffline','key','ILogService','_onRemoteACK','isTransformMutationsWithChangesetFailure','url','_tryEnsureSocket','_roomCreated$','_process','setWaitCount','__splitChunk__','session','retryConnectingInterval','_onUserLeave','_tryReconnect','session.room-not-exists','awaiting_with_pending','_changesetReqId','Disposable','/universer-api/uniscript','univer-pro.collaboration-client.network-condition.service','2033592uXHFIF','getUnit','HmacMD5','editingUnit','NEW_CHANGESETS','parse','registerHTTPInterceptor','encode','onTransformRemoteChangesetByStateCache','DataLoaderService','LIVESHARE_FETCH_OPERATIONS','mode','sigBytes','UNDEFINED','_clearLocalCache','image/bmp','take','UniverProCollaborationClient','[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.','_timeoutTimer','getRoom','CONFLICT','error$','enableSingleActiveInstanceLock','EvpKDF','SnapshotService','ENTITLE_USE_COUPON_NOT_1ST_TRADE','JOIN_ROOM_FULL','AWAITING_WITH_PENDING','_transformStateCache','createEncryptor','add','JOIN_ROOM_PERMISSION_DENIED','_stopTelemetryCollaborationNewChangeset','JOIN','_resendTimer','_logService','csShouldRetryEvent','INetworkConditionService','_handler','image/png','body','reconnect','_startTelemetryCollaborationNewChangeset','roomInfos','_onFetchMissResult','_iv','_clearUndo','Failed\x20to\x20update\x20permission\x20point','_sender','parseChangesetToProtocol','list','auth.needGotoLoginAlert','result','_snapshotServerService','RevisionService','_xformMode','getTime','waitForRoom$','readAsDataURL','UNIVER_COLLABORATION_CLIENT_PLUGIN','POST','FileId','interceptor','getCurrentUser','_joinRoom','getUnitStatus$','_socket','collaboration_new_changeset','ImageSourceType','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','SUCCUSS','_checkMissing','_commentUpdate$','transformChangesets','_memberService','HEARTBEAT_INTERVAL_KEY','transformSelections','pending','action','getSheetBlock','commentUpdateEvent','sessionStatus','_permissionService','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','_createInitialState','_parse','ENTITLE_CAN_NOT_BUY_LOWER_OTP','shouldCloseConn','onCommentUpdate','focused$','setShowComponents','ICommandService','_disableEditing','SnapshotServerOverHTTPService','find','loginUrlKey','lib','loadDoc','href','_queuedRemoteChangesets','CollaborationController','HEARTBEAT_TIMEOUT_KEY','change$','_telemetryService','getUnitId','BASE64','includes','[CollaborationSession]','_sendHeartbeat','/object/','UniverProLicense','unsubscribe','blockSize','entries','originalMeta','serializeCombRequest','joinRsp','People','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','rxjs','_onOffline','subUnitId','_telemetryInfo','UPDATE_CURSOR','_configService','95277FOyuMn','compose','Rectangle','CollaborationUIEventService','UNIVER_PROJECT','OTHER_CLIENT_EDITING','DEFAULT_COLLAB_WEB_SOCKET_URL','encrypt','_transformUndoredo','Injector','confirm','RxDisposable','asObservable','UniverNetworkPlugin','SNAPSHOT_INVALID_SNAPSHOT','Tools','ENTITLE_REPORT_LIMIT_EXCEED','ALREADY_EXISTS','call','session.room-cnt-exceeds','CLOSE_ROOM','_getAPIPrefixPath','format','SUBMIT_CHANGESET_TIMEOUT','LIVESHARE_NEW_HOST','startTime','state$','capture','close$','getImageSourceCache','SetSelectionsOperation','CHANGESET_ACK','getDeserializedSheetBlock','_univerInstanceService','NOT_FOUND','listRoles','addImageSourceCache','USERS_ENTER','_exhaustRemoteChangesetQueue','_hasher','APPLY_DUPLICATED','_getCtorByUniverType','_oKey','_schedule','_undoRedoService','TOO_MANY_REQUESTS','_onRecvEvent','_localeService','YUUMI_ALL_TABLES_IS_INVALID','members$','collabSubmitChangesetUrl','onRemoteAck','[CollaborationEntity]','send','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','ENTITLE_INSUFFICIENT_QUOTA','INVALID_ARGUMENT','PY_RUNTIME_SCRIPT_ERROR','_scheduleCollaborationTimeoutTimer','/universer-api/user/session-ticket','MentionIoHttpService','_onMessage','map','_initUnitPermissionChange','Hex','FetchingMissState','telemetry\x20info\x20is\x20not\x20initialized','_transformRemoteChangesetByStateCache','_changesetSessionId','univer-pro.collaboration-client.single-active-unit-service','3VCGTJj','AWAITING','UniverProCollaboration','getMember','[CollaborationUndoRedoService]','sessionStatus$','_onRemoteChangeset','floor','/universer-api/file/{fileID}/sign-url','_unlockTransition','ENTITLE_DUP_SUBSCRIPTION','_getRedoStack','awaitingChangeset','_isPermissionRej','headers','/rev/','CollaborationImageIoService','symbol','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','UNAUTHENTICATED','_members','merge','18978970LfQKhT','LIVESHARE_REQUEST_HOST','_onRemoteRejected','_getUploadFileURL','byteOffset','_acknowledgedAwaitingChangeset','members','AUTHORIZE_CODE_ILLEGAL','REDEMPTION_CODE_HAS_BEEN_CREATED','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','ivSize','YUUMI_CONNECTOR_URL_NOT_FOUND','COMPRESS_MUTATION_SEND','UniverDrawing','_doCryptBlock','HttpImport','session.join-failed','_members$','connection\x20error','init','getTypeOfUnitAdded$','_resendTimeout','stopTime','socket\x20close','_imageSourceCache','size','ISocketService','CollaborationEntity','UNKNOWN_CMD','/universer-api/oidc/authpage','requireSession','enableCollaboration','AuthzIoHttpService','ITransformService','_socketService','ENTITLE_COUPON_EXPIRED','getCollabEntity$','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','hasOwnProperty','keySize','UnitSnapshot','UNIVER_SHEET','fromCollab','clamp','[SyncedState]:\x20received\x20acknowledgement.','resend','onRemoteRetry','AES','toDisposable','&assign=','enableOfflineEditing','reqId','GLOBAL_ROOMS_CNT_EXCEEDS','COMMENT_UPDATE','SNAPSHOT_HAS_BEEN_REMOVED','duration','rxjs/operators','subscribe','USER_NOT_INVITED_CODE','INVITE_CODE_ALREADY_BOUND','_removeRoom','socket$','\x20in\x20_schedule.','_toggleOffline','_keyPriorReset','REDEMPTION_USER_NOT_ELIGIBLE','?url=','m2Prime','deleteCollaborator','_throwTelemetryCollaborationNewChangeset','INVITE_CODE_REQUIRED','conflict','_ENC_XFORM_MODE','UnitEmbedded','signUrlServerUrl','\x20-\x20','UniverDocs','ONLINE','_unitID','APPLY_NON_SEQUENTIAL_REVISION','reverse','_commandService','REDEMPTION_INVALID_CODE','appendMutation','Decryptor','Utf8','enc','[OfflineState]:\x20received\x20rejection.','/universer-api/snapshot/','_sendingTimer','Pkcs7','onTransformSelections','\x20to\x20','_data','reduce','PERMISSION_DENIED','entityInit$','Inject','createIdentifier','INGEST','JSONX','BufferedBlockAlgorithm','Optional','_iKey','/fetchmissing?from=','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','COMPLETION_FINISHED','unitInfo$','_candidateSocket','MD5','MSG_FOR_ERROR','_listenToNetworkCondition','unit-cache-','push','UNKNOWN_CODE','params','22JVukjq','LIVESHARE_TERMINATE','updateCursorEvent','onMissedChangesetFetched','/unit/','state','method','_cipher','deepClone','ConflictState','APPLY_REJECT','responseType','loadSheet','/allowed','ISingleActiveUnitService','_sheetTransformSelectionsService','DEFAULT_FILE_NAME','decrypt','join','rev','CHANGESET_SHOULD_RETRY','prototype','getActiveSheet','filter','hasher','_showConflictNotification','_doReset','onMutationExecutedForCollab','loadOfflineData','{fileID}','_rescheduleHeartbeat','CollaborationEvent','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','BehaviorSubject','IUniverInstanceService','_transformIMECache','initWorkbookPermissionChange','formatter','_doFinalize','snapshotServerUrl','_key','localCacheService','_collaborationUIEventService','LOCAL_CACHE_INTERVAL_KEY','resolve','event$','UniverCore','getAllMembers','_event$','cmd','CollaborativeUndoRedoService','csAckEvent','updateSnapshot','sid','getFocusedUnit','MemberService','UniverTelemetry','_state$','crypto','getCollabEntity','ENSURE_SNAPSHOT_EXECUTION','words','OfflineState','1150352DesSIa','status$','_onUserJoin','slice','_onConflict','Subject','/collaborator','ERROR_EXCEED_SIZE','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','SHOULD_CLOSE_CONN','random','_remoteChangesetQueue','YUUMI_ASYNCIO_CANCELLED','univer-pro.collaboration-client-socket-service','x-univer-host','_substituteRedoStack','_submitChangeset','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','WordArray','dispose','findIndex','socket\x20open.','FETCH_MISS','SOCKET_FAILED_RETRY','SheetsSelectionsService','takeUntil','Base64','_sessionStatus$','isTransformMutationsWithChangesetSuccess','SerializableCipher','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','REDEMPTION_CODE_FULLY_REDEEMED','Base','mixIn','isTransformChangesetsSuccess','onRemoteChangeset','_hash','onSendChangeset','_clearTimeoutTimer','finalize','YUUMI_SUBSCRIPTION_NOT_FOUND','Workbook','MUTATION','_onConnectionOpen','_maxTotalRetryTimeout','onRemoteRej','then','_clearRedo','_snapshotService','listCollaborators','onlyLocal','_shouldReportTelemetry','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','_keySchedule','socketService','RETRY_CONNECTING_MAX_COUNT','synced','ReplaySubject','Encryptor','ICollaborationSocketService','getRandomValues','concat','extend','_transformRemoteChangesetByIMECache','USERS_LEAVE','firstValueFrom','isPermissionRej','RECV','UNRECOGNIZED','toString','objectID','CollaborationStatus','_append','OFFLINE','_initCloseConn','_scheduleCompleteTimestamp','max','defineProperty','permissionRejEvent','_httpService','not_collab','_initMergeInterceptor','USER_IS_ANONYMOUS','processBlock','_toggleOnline','default','reset','objectType','432mSuPgW','onload','_transformSelections','_invKeySchedule','[OfflineState]:\x20received\x20changeset.','debug','_doCreateSocket','byteLength','_waitForHeartbeatResponse','_socket$','length','updatePermissionPoint','apply','routeKey','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','toggleOnline','exports','JOIN_ROOM_NOT_EXISTS','HTTPRequest','_injector','getSnapshotAPIPath','copyFileMeta','_createInitialStateImpl','/universer-api/comb','@univerjs/network','awaiting','_onRemoteRetry','readInt32LE','set','_emitMembers','incrementRevOfUnit','_mode','onSyncEditingCollabCursor','_status$','revision','removeMember','liveShareNewHost','_singleActiveUnitService','_transitionLocked','touchDependencies','EMAIL_HAS_BEEN_BOUND','HmacSHA1','_roomMembers','workbook','charCodeAt','createInstance','code','updateCollaborator','roles','_updateStatus','IUndoRedoService','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','onTransformRemoteChangesetByIMECache','fetchMissingChangesets','disableLocalCache','CBC','amd','origin','_init','_clearScheduledTask','close','reject','_nDataBytes','onTransformState','unitId','CollaborationSocketService','_getSignURL','_waitCount','getUnitType','transformStack\x20failed!','LICENSE_MAX_UNITS_EXCEEDED','FAIL','_applyRemoteChangeset','session.room-full','createCollaborator','UNIVER_SLIDE','[UniverCollaborationClientPlugin]','getValue','_map','fromCharCode','YUUMI_URL_COL_OUT_OF_RANGE','unitID','encryptBlock','_transformStack','HttpExport','PENDING','patch','eventID','LICENSE_EXPORT_SIZE_EXCEEDED','commentUpdate$','LOGIN_TOKEN_PROCESSING_FAILED','OTHER_CLIENTS_EDITING','abs','open$','joinEvent','post','closeSession','downloadEndpointUrl','randomBytes','_prevBlock','MOBILE_HAS_BEEN_BOUND','_config','Cipher','14719311xwmqac','IDLE','__Key__','function','WorkbookEditablePermission','RETRY_CONNECTING_MAX_COUNT_KEY','_getCurrentRevision','isArray','EmptyMutationInfo','RichTextEditingMutation','NoPadding','_registerDependencies','ClipsheetFragments','HEARTBEAT','createSocket','createDecryptor','range','CollaborationUIEventId','JOIN_ROOM_FAILED','executeCommand','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','AwaitingWithPendingState','SHA1','operators','UNIVER_DOC','_getAPIPrefix','[PendingState]:\x20received\x20rejection.','_resendWithTimeout','REDEMPTION_CODE_NOT_STARTED','getCurrentSelections','_substituteUndoStack','fetchMiss','selections','_clearRetryConnectingTimer','YUUMI_AI_RUN_FAILED','CHANGESET_REVISION_CONFILICT','addHandlerCallback','[OfflineState]:\x20received\x20acknowledgement.','sin','delay','_instanceService','_nRounds','@univerjs/docs','REDEMPTION_USER_REDEEM_TIMES_EXCEED','fetch_missing','title','Hasher','message$','changesets','YUUMI_NO_CUBOID_FOR_QUESTION','_getDownloadEndpointURL','YUUMI_UNABLE_LOAD_URL','_onCombEvent','PendingState','/role','ENTITLE_COUPON_USED_UP','_HTTPService','JOINING','pad','APPLY_REVISION_CONFILICT','textEncoder','__creator','Could\x20not\x20dynamically\x20require\x20\x22','emitEvent','PasswordBasedCipher','DisposableCollection','salt','WECHAT_HAS_BEEN_BOUND','online$','LocaleService','HTTPService','_createSocket','_onConnectionFailed','collabWebSocketUrl','object','ImageUploadStatusType','_getSendChangesetTimeout','[SyncedState]:\x20received\x20rejection.','LICENSE_IMPORT_SIZE_EXCEEDED','error','Latin1','_revisionService','CollaborationSession','charAt','_doProcessBlock','status','_replayCachedMutations','ws://127.0.0.1:8000/universer-api/comb/connect','delete','saveSnapshot','_clearCollaborationTimeoutTimer','REDEMPTION_CODE_INACTIVE','_createHandler','StreamCipher','kdf','SNAPSHOT_URL_KEY','min','getSheetId','saveImage','c2Prime','baseRev','requestParams','objectActions','isInternalEditorID','cfg','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','_undoStacks','every','memberID','_updateLocalCache','ERROR_IMAGE_TYPE','authzUrl','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','[CollaborationState]:\x20apply\x20error!','clear','UniverInstanceType','EMAIL_VERIFY_CODE_MISMATCH','onMissingChangesets','_minBufferSize','get','HEARTBEAT_TIMEOUT','/block/','CommandType','forEach','SheetTransformSelectionsService','HMAC','OPTIONAL','_pendingMutations','saveChangeset','_compressMutationService','_socketReady','_awaitingChangeset','_createHelper','save\x20fail\x20reason\x20is\x20','iterations','MOBILE_VERIFY_CODE_MISMATCH','_decreaseWaiting','userID','unknown','UPDATE_PERMISSION_OBJ','fetchThroughInterceptors','execute','SheetCollaborationEntity','_updateState','onTransformIME','padding','ENTITLE_INVALID_COUPON_CODE','_collabSessionService','stringify','Quantity','infoRsp','complete','@univerjs/core','COMPRESS_MUTATION_APPLY','string','CURRENT_STATUS_CANNOT_OPERATE','session.room-permission-denied','BlockCipher','localeService','609380ZCccPr','algo','_reverseMap','UNIVER_UNKNOWN','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','decryptBlock','fetching\x20missing\x20changesets\x20from\x20','[PendingState]:\x20unhandled\x20univer\x20type:\x20','DocCollaborationEntity','uploadFileServerUrl','_replaceFileID','AwaitingState','getOwnPropertyDescriptor','refreshPermission','LIVESHARE_OPERATION','USER_NOT_FOUND','[CollaborationSessionService]:\x20socket\x20error','IAuthzIoService','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','ENTITLE_CHAT_LIMIT_EXCEED','getTypeOfUnitDisposed$','disposeWithMe','ERROR_AGAIN','__esModule','indexOf','c1Prime','_sendHeartbeatTimer','$super','create','splice','getInterceptPoints','[FetchMissState]','updateOfflineData','_entities','collaborators','withCredentials','/object','collaboration-client.local-cache-service','_fetchMissChangesets','transformMutationsWithChangeset','values','HEARTBEAT_INTERVAL','ceil','textRanges','ciphertext','_initRequestHeader','_retryCount','_retryConnectingTimer'];_0x452a=function(){return _0xba2c2f;};return _0x452a();}(function(_0x4ffe7f,_0x51c02e){var _0x328087=_0x4d6f,_0x4f5306=_0x4ffe7f();while(!![]){try{var _0xf48e8=parseInt(_0x328087(0x52e))/0x1+-parseInt(_0x328087(0x559))/0x2+-parseInt(_0x328087(0x27f))/0x3*(-parseInt(_0x328087(0x348))/0x4)+-parseInt(_0x328087(0x4a6))/0x5+parseInt(_0x328087(0x3a0))/0x6*(-parseInt(_0x328087(0x239))/0x7)+parseInt(_0x328087(0x506))/0x8*(-parseInt(_0x328087(0x407))/0x9)+parseInt(_0x328087(0x295))/0xa*(parseInt(_0x328087(0x309))/0xb);if(_0xf48e8===_0x51c02e)break;else _0x4f5306['push'](_0x4f5306['shift']());}catch(_0x2635c8){_0x4f5306['push'](_0x4f5306['shift']());}}}(_0x452a,0xdc667),function(_0x38154d,_0x2f2f31){var _0x5736ea=_0x4d6f;typeof exports==_0x5736ea(0x451)&&typeof module<'u'?_0x2f2f31(exports,require('@univerjs-pro/collaboration'),require('@univerjs/core'),require('@univerjs/docs'),require('@univerjs/sheets'),require('rxjs'),require('@univerjs/telemetry'),require('rxjs/operators'),require('@univerjs/network'),require('@univerjs/drawing'),require('@univerjs-pro/license')):typeof define==_0x5736ea(0x40a)&&define[_0x5736ea(0x3d8)]?define([_0x5736ea(0x3b0),'@univerjs-pro/collaboration',_0x5736ea(0x49f),_0x5736ea(0x431),'@univerjs/sheets','rxjs',_0x5736ea(0x51a),_0x5736ea(0x2cd),_0x5736ea(0x3b8),_0x5736ea(0x524),'@univerjs-pro/license'],_0x2f2f31):(_0x38154d=typeof globalThis<'u'?globalThis:_0x38154d||self,_0x2f2f31(_0x38154d[_0x5736ea(0x1cc)]={},_0x38154d[_0x5736ea(0x281)],_0x38154d[_0x5736ea(0x337)],_0x38154d[_0x5736ea(0x2e1)],_0x38154d['UniverSheets'],_0x38154d[_0x5736ea(0x233)],_0x38154d[_0x5736ea(0x341)],_0x38154d[_0x5736ea(0x233)][_0x5736ea(0x41e)],_0x38154d['UniverNetwork'],_0x38154d[_0x5736ea(0x2a2)],_0x38154d[_0x5736ea(0x22a)]));}(this,function(_0x2c717a,_0x9d3528,_0x5a87f6,_0x48d960,_0x2dec7c,_0x49c451,_0x2518fe,_0xf159a2,_0x3f793f,_0x5dfc2e,_0xc549e7){'use strict';var _0x4ef07c=_0x4d6f;var _0x20da00=Object[_0x4ef07c(0x395)],_0x5b51cc=(_0x4933bb,_0x46b72a,_0x22dd56)=>_0x46b72a in _0x4933bb?_0x20da00(_0x4933bb,_0x46b72a,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x22dd56}):_0x4933bb[_0x46b72a]=_0x22dd56,_0x27ebba=(_0x7d56aa,_0x3051d2,_0x270e3a)=>_0x5b51cc(_0x7d56aa,typeof _0x3051d2!=_0x4ef07c(0x290)?_0x3051d2+'':_0x3051d2,_0x270e3a);const _0x3565d7='/universer-api/snapshot',_0x7cc834=_0x4ef07c(0x466),_0x3de4fd=_0x4ef07c(0x45e),_0x2e1070=_0x4ef07c(0x274),_0xe56939=_0x4ef07c(0x4cf),_0x2c4727=_0x4ef07c(0x47f),_0x426cb4=_0x4ef07c(0x37f),_0x1dd524='LOCAL_CACHE_INTERVAL',_0x12cea0=_0x4ef07c(0x3b7),_0x565a47=_0x4ef07c(0x2b2),_0x5d93ab='REMOTE_UNISCRIPT_EXECUTION_ENDPOINT',_0x33b475=_0x4ef07c(0x557);var _0x4c3020=(_0x163d0a=>(_0x163d0a[_0x163d0a[_0x4ef07c(0x1c8)]=0x0]=_0x4ef07c(0x1c8),_0x163d0a[_0x163d0a['OK']=0x1]='OK',_0x163d0a[_0x163d0a['INTERNAL_ERROR']=0x2]='INTERNAL_ERROR',_0x163d0a[_0x163d0a[_0x4ef07c(0x2f4)]=0x3]=_0x4ef07c(0x2f4),_0x163d0a[_0x163d0a['NOT_FOUND']=0x4]=_0x4ef07c(0x25b),_0x163d0a[_0x163d0a[_0x4ef07c(0x292)]=0x5]='UNAUTHENTICATED',_0x163d0a[_0x163d0a[_0x4ef07c(0x24a)]=0x6]=_0x4ef07c(0x24a),_0x163d0a[_0x163d0a[_0x4ef07c(0x271)]=0x7]='INVALID_ARGUMENT',_0x163d0a[_0x163d0a[_0x4ef07c(0x266)]=0x8]=_0x4ef07c(0x266),_0x163d0a[_0x163d0a[_0x4ef07c(0x2ff)]=0x9]=_0x4ef07c(0x2ff),_0x163d0a[_0x163d0a['LOGIN_FAILED']=0xa]='LOGIN_FAILED',_0x163d0a[_0x163d0a[_0x4ef07c(0x48e)]=0xb]=_0x4ef07c(0x48e),_0x163d0a[_0x163d0a[_0x4ef07c(0x41b)]=0xc]=_0x4ef07c(0x41b),_0x163d0a[_0x163d0a[_0x4ef07c(0x47b)]=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0x163d0a[_0x163d0a['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]=_0x4ef07c(0x29e),_0x163d0a[_0x163d0a[_0x4ef07c(0x29c)]=0xf]=_0x4ef07c(0x29c),_0x163d0a[_0x163d0a[_0x4ef07c(0x3fa)]=0x10]=_0x4ef07c(0x3fa),_0x163d0a[_0x163d0a[_0x4ef07c(0x4a2)]=0x64]=_0x4ef07c(0x4a2),_0x163d0a[_0x163d0a[_0x4ef07c(0x4bc)]=0x65]=_0x4ef07c(0x4bc),_0x163d0a[_0x163d0a[_0x4ef07c(0x4b5)]=0xc9]=_0x4ef07c(0x4b5),_0x163d0a[_0x163d0a[_0x4ef07c(0x39a)]=0xca]=_0x4ef07c(0x39a),_0x163d0a[_0x163d0a[_0x4ef07c(0x42a)]=0x1389]=_0x4ef07c(0x42a),_0x163d0a[_0x163d0a['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x4ef07c(0x247),_0x163d0a[_0x163d0a[_0x4ef07c(0x2cb)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x163d0a[_0x163d0a[_0x4ef07c(0x345)]=0x1773]=_0x4ef07c(0x345),_0x163d0a[_0x163d0a[_0x4ef07c(0x313)]=0x1b59]=_0x4ef07c(0x313),_0x163d0a[_0x163d0a[_0x4ef07c(0x2e4)]=0x1b5a]=_0x4ef07c(0x2e4),_0x163d0a[_0x163d0a[_0x4ef07c(0x442)]=0x1b5b]=_0x4ef07c(0x442),_0x163d0a[_0x163d0a['APPLY_PERMISSION_DENIED']=0x1b5c]='APPLY_PERMISSION_DENIED',_0x163d0a[_0x163d0a['APPLY_DUPLICATED']=0x1b5d]=_0x4ef07c(0x261),_0x163d0a[_0x163d0a[_0x4ef07c(0x539)]=0x1f41]=_0x4ef07c(0x539),_0x163d0a[_0x163d0a[_0x4ef07c(0x3e6)]=0x2329]=_0x4ef07c(0x3e6),_0x163d0a[_0x163d0a['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x4ef07c(0x329),_0x163d0a[_0x163d0a[_0x4ef07c(0x455)]=0x232b]=_0x4ef07c(0x455),_0x163d0a[_0x163d0a[_0x4ef07c(0x3f8)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x163d0a[_0x163d0a['LICENSE_DISTRO_REJECTED']=0x232d]='LICENSE_DISTRO_REJECTED',_0x163d0a[_0x163d0a[_0x4ef07c(0x43a)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x163d0a[_0x163d0a[_0x4ef07c(0x3f0)]=0x2712]=_0x4ef07c(0x3f0),_0x163d0a[_0x163d0a[_0x4ef07c(0x520)]=0x2713]=_0x4ef07c(0x520),_0x163d0a[_0x163d0a[_0x4ef07c(0x370)]=0x2714]=_0x4ef07c(0x370),_0x163d0a[_0x163d0a[_0x4ef07c(0x438)]=0x271a]=_0x4ef07c(0x438),_0x163d0a[_0x163d0a[_0x4ef07c(0x354)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x163d0a[_0x163d0a[_0x4ef07c(0x50c)]=0x271c]=_0x4ef07c(0x50c),_0x163d0a[_0x163d0a['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]=_0x4ef07c(0x269),_0x163d0a[_0x163d0a[_0x4ef07c(0x4aa)]=0x271e]=_0x4ef07c(0x4aa),_0x163d0a[_0x163d0a['YUUMI_AI_RUN_FAILED']=0x271f]=_0x4ef07c(0x429),_0x163d0a[_0x163d0a[_0x4ef07c(0x2a0)]=0x2720]=_0x4ef07c(0x2a0),_0x163d0a[_0x163d0a[_0x4ef07c(0x272)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x163d0a[_0x163d0a[_0x4ef07c(0x521)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x163d0a[_0x163d0a['INVALID_INVITE_CODE']=0x2ee2]='INVALID_INVITE_CODE',_0x163d0a[_0x163d0a['INVITE_CODE_REQUIRED']=0x2ee3]=_0x4ef07c(0x2db),_0x163d0a[_0x163d0a[_0x4ef07c(0x2cf)]=0x2ee4]=_0x4ef07c(0x2cf),_0x163d0a[_0x163d0a[_0x4ef07c(0x2d0)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x163d0a[_0x163d0a[_0x4ef07c(0x44a)]=0x32c9]=_0x4ef07c(0x44a),_0x163d0a[_0x163d0a[_0x4ef07c(0x404)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x163d0a[_0x163d0a[_0x4ef07c(0x3c8)]=0x32cb]=_0x4ef07c(0x3c8),_0x163d0a[_0x163d0a[_0x4ef07c(0x212)]=0x36b1]=_0x4ef07c(0x212),_0x163d0a[_0x163d0a[_0x4ef07c(0x26f)]=0x36b2]=_0x4ef07c(0x26f),_0x163d0a[_0x163d0a[_0x4ef07c(0x289)]=0x36b3]=_0x4ef07c(0x289),_0x163d0a[_0x163d0a['PAYMENT_CHANNEL_NOT_SUPPORT']=0x36b4]=_0x4ef07c(0x4ef),_0x163d0a[_0x163d0a[_0x4ef07c(0x499)]=0x36b5]=_0x4ef07c(0x499),_0x163d0a[_0x163d0a[_0x4ef07c(0x2b8)]=0x36b6]=_0x4ef07c(0x2b8),_0x163d0a[_0x163d0a[_0x4ef07c(0x43e)]=0x36b7]='ENTITLE_COUPON_USED_UP',_0x163d0a[_0x163d0a[_0x4ef07c(0x1d5)]=0x36b8]=_0x4ef07c(0x1d5),_0x163d0a[_0x163d0a[_0x4ef07c(0x4b9)]=0x3715]=_0x4ef07c(0x4b9),_0x163d0a[_0x163d0a[_0x4ef07c(0x249)]=0x3716]=_0x4ef07c(0x249),_0x163d0a[_0x163d0a[_0x4ef07c(0x270)]=0x3717]=_0x4ef07c(0x270),_0x163d0a[_0x163d0a[_0x4ef07c(0x50d)]=0x37dd]=_0x4ef07c(0x50d),_0x163d0a[_0x163d0a[_0x4ef07c(0x2e7)]=0x3a99]=_0x4ef07c(0x2e7),_0x163d0a[_0x163d0a[_0x4ef07c(0x462)]=0x3a9a]='REDEMPTION_CODE_INACTIVE',_0x163d0a[_0x163d0a[_0x4ef07c(0x367)]=0x3a9b]=_0x4ef07c(0x367),_0x163d0a[_0x163d0a[_0x4ef07c(0x423)]=0x3a9c]=_0x4ef07c(0x423),_0x163d0a[_0x163d0a[_0x4ef07c(0x2d6)]=0x3a9d]='REDEMPTION_USER_NOT_ELIGIBLE',_0x163d0a[_0x163d0a['REDEMPTION_USER_REDEEM_TIMES_EXCEED']=0x3a9e]=_0x4ef07c(0x432),_0x163d0a[_0x163d0a[_0x4ef07c(0x29d)]=0x3a9f]='REDEMPTION_CODE_HAS_BEEN_CREATED',_0x163d0a[_0x163d0a[_0x4ef07c(0x505)]=0x3e81]='DATA_SOURCE_TOO_LARGE',_0x163d0a[_0x163d0a['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x163d0a))(_0x4c3020||{}),_0x1ac378=(_0x3d356a=>(_0x3d356a[_0x3d356a[_0x4ef07c(0x4a9)]=0x0]='UNIVER_UNKNOWN',_0x3d356a[_0x3d356a[_0x4ef07c(0x41f)]=0x1]='UNIVER_DOC',_0x3d356a[_0x3d356a[_0x4ef07c(0x2be)]=0x2]='UNIVER_SHEET',_0x3d356a[_0x3d356a[_0x4ef07c(0x3eb)]=0x3]=_0x4ef07c(0x3eb),_0x3d356a[_0x3d356a[_0x4ef07c(0x23d)]=0x4]=_0x4ef07c(0x23d),_0x3d356a[_0x3d356a['UNRECOGNIZED']=-0x1]=_0x4ef07c(0x38c),_0x3d356a))(_0x1ac378||{}),_0x529cbe=(_0x5738b8=>(_0x5738b8[_0x5738b8[_0x4ef07c(0x2b1)]=0x0]=_0x4ef07c(0x2b1),_0x5738b8[_0x5738b8[_0x4ef07c(0x4f4)]=0x1]=_0x4ef07c(0x4f4),_0x5738b8[_0x5738b8['JOIN']=0x2]=_0x4ef07c(0x1dd),_0x5738b8[_0x5738b8['LEAVE']=0x3]=_0x4ef07c(0x51d),_0x5738b8[_0x5738b8[_0x4ef07c(0x2f8)]=0x4]=_0x4ef07c(0x2f8),_0x5738b8[_0x5738b8[_0x4ef07c(0x414)]=0x5]='HEARTBEAT',_0x5738b8[_0x5738b8['RECV']=0x6]=_0x4ef07c(0x38b),_0x5738b8[_0x5738b8['UNRECOGNIZED']=-0x1]=_0x4ef07c(0x38c),_0x5738b8))(_0x529cbe||{}),_0x488bd0=(_0x705cf7=>(_0x705cf7[_0x705cf7[_0x4ef07c(0x307)]=0x0]=_0x4ef07c(0x307),_0x705cf7[_0x705cf7['OK']=0x1]='OK',_0x705cf7[_0x705cf7[_0x4ef07c(0x3e7)]=0x2]=_0x4ef07c(0x3e7),_0x705cf7[_0x705cf7[_0x4ef07c(0x1d6)]=0x3e9]=_0x4ef07c(0x1d6),_0x705cf7[_0x705cf7[_0x4ef07c(0x3b1)]=0x3ea]=_0x4ef07c(0x3b1),_0x705cf7[_0x705cf7[_0x4ef07c(0x1db)]=0x3eb]=_0x4ef07c(0x1db),_0x705cf7[_0x705cf7[_0x4ef07c(0x2c9)]=0x3ec]=_0x4ef07c(0x2c9),_0x705cf7[_0x705cf7[_0x4ef07c(0x38c)]=-0x1]='UNRECOGNIZED',_0x705cf7))(_0x488bd0||{}),_0x522cad=(_0x4d2748=>(_0x4d2748[_0x4d2748['Undefined']=0x0]=_0x4ef07c(0x535),_0x4d2748[_0x4d2748[_0x4ef07c(0x2a4)]=0x1]=_0x4ef07c(0x2a4),_0x4d2748[_0x4d2748[_0x4ef07c(0x3f4)]=0x2]=_0x4ef07c(0x3f4),_0x4d2748[_0x4d2748[_0x4ef07c(0x2de)]=0x3]=_0x4ef07c(0x2de),_0x4d2748[_0x4d2748['UnitSnapshot']=0x4]=_0x4ef07c(0x2bd),_0x4d2748[_0x4d2748[_0x4ef07c(0x50a)]=0x5]='UserProfileImg',_0x4d2748[_0x4d2748[_0x4ef07c(0x413)]=0x6]=_0x4ef07c(0x413),_0x4d2748[_0x4d2748[_0x4ef07c(0x38c)]=-0x1]=_0x4ef07c(0x38c),_0x4d2748))(_0x522cad||{});const _0x5739b1=_0x4ef07c(0x1ff);function _0x21a9ab(_0x1dfb32){var _0x1efaa8=_0x4ef07c;return JSON[_0x1efaa8(0x49b)](_0x1dfb32)[_0x1efaa8(0x3aa)];}var _0x28846f=(_0x534e4d=>(_0x534e4d[_0x4ef07c(0x23e)]=_0x4ef07c(0x23e),_0x534e4d[_0x4ef07c(0x2f4)]=_0x4ef07c(0x2f4),_0x534e4d[_0x4ef07c(0x1d0)]=_0x4ef07c(0x1d0),_0x534e4d[_0x4ef07c(0x24d)]='CLOSE_ROOM',_0x534e4d[_0x4ef07c(0x419)]=_0x4ef07c(0x419),_0x534e4d[_0x4ef07c(0x35f)]=_0x4ef07c(0x35f),_0x534e4d[_0x4ef07c(0x4f7)]=_0x4ef07c(0x4f7),_0x534e4d['SUBMIT_CHANGESET_TIMEOUT']='SUBMIT_CHANGESET_TIMEOUT',_0x534e4d))(_0x28846f||{});class _0x596edb{constructor(){var _0x334e92=_0x4ef07c;_0x27ebba(this,_0x334e92(0x339),new _0x49c451[(_0x334e92(0x34d))]()),_0x27ebba(this,_0x334e92(0x336),this[_0x334e92(0x339)]['asObservable']());}[_0x4ef07c(0x446)](_0x17640d){this['_event$']['next'](_0x17640d);}}class _0x46eb06{constructor(){var _0x1c3aaa=_0x4ef07c;_0x27ebba(this,'_commentUpdate$',new _0x49c451[(_0x1c3aaa(0x34d))]()),_0x27ebba(this,_0x1c3aaa(0x3f9),this[_0x1c3aaa(0x204)][_0x1c3aaa(0x245)]());}['onCommentUpdate'](_0x4b1b68){var _0x11dc92=_0x4ef07c;this[_0x11dc92(0x204)][_0x11dc92(0x534)](_0x4b1b68);}}var _0x2e7c4d=Object[_0x4ef07c(0x4b2)],_0x579363=(_0x2103de,_0x147c85,_0x408265,_0x2a821a)=>{var _0x11a4da=_0x4ef07c;for(var _0x378e74=_0x2a821a>0x1?void 0x0:_0x2a821a?_0x2e7c4d(_0x147c85,_0x408265):_0x147c85,_0x330358=_0x2103de[_0x11a4da(0x3aa)]-0x1,_0x1e0fa4;_0x330358>=0x0;_0x330358--)(_0x1e0fa4=_0x2103de[_0x330358])&&(_0x378e74=_0x1e0fa4(_0x378e74)||_0x378e74);return _0x378e74;},_0x4a58a4=(_0x5b4660,_0x37c288)=>(_0x4d0748,_0x183f59)=>_0x37c288(_0x4d0748,_0x183f59,_0x5b4660);_0x2c717a['MemberService']=class extends _0x5a87f6[_0x4ef07c(0x556)]{constructor(_0x43d66e,_0x3d54ab){var _0x22fdee=_0x4ef07c;super(),_0x27ebba(this,_0x22fdee(0x3ca),new Map()),_0x27ebba(this,_0x22fdee(0x54b),new _0x49c451[(_0x22fdee(0x34d))]()),(this[_0x22fdee(0x25a)]=_0x43d66e,this['_userManagerService']=_0x3d54ab,this['disposeWithMe'](_0x49c451[_0x22fdee(0x294)](this[_0x22fdee(0x25a)][_0x22fdee(0x4ba)](_0x5a87f6[_0x22fdee(0x47a)][_0x22fdee(0x2be)])[_0x22fdee(0x50f)](_0xf159a2[_0x22fdee(0x277)](_0x3f4a76=>_0x3f4a76[_0x22fdee(0x224)]())),this[_0x22fdee(0x25a)][_0x22fdee(0x4ba)](_0x5a87f6[_0x22fdee(0x47a)]['UNIVER_DOC'])[_0x22fdee(0x50f)](_0xf159a2[_0x22fdee(0x277)](_0x2dd83e=>_0x2dd83e[_0x22fdee(0x224)]())),this[_0x22fdee(0x25a)][_0x22fdee(0x4ba)](_0x5a87f6[_0x22fdee(0x47a)][_0x22fdee(0x3eb)])[_0x22fdee(0x50f)](_0xf159a2[_0x22fdee(0x277)](_0x6c0ff0=>_0x6c0ff0['getUnitId']())))[_0x22fdee(0x2ce)](_0xad92ba=>this[_0x22fdee(0x2d1)](_0xad92ba))));}[_0x4ef07c(0x1f5)](_0x2d30f0){var _0x482b15=_0x4ef07c;return this[_0x482b15(0x3ca)][_0x482b15(0x4da)](_0x2d30f0)?_0x49c451['of'](this[_0x482b15(0x3ca)][_0x482b15(0x47e)](_0x2d30f0)):this['_roomCreated$']['pipe'](_0xf159a2['map'](_0x12b633=>{var _0x26088e=_0x482b15;if(_0x12b633===_0x2d30f0)return this[_0x26088e(0x3ca)]['get'](_0x12b633);}));}[_0x4ef07c(0x4e7)](_0x4a481e){var _0x41188c=_0x4ef07c;this['_userManagerService'][_0x41188c(0x4e7)](_0x4a481e);}[_0x4ef07c(0x1fb)](){var _0x29d47d=_0x4ef07c;return this[_0x29d47d(0x53c)][_0x29d47d(0x1fb)]();}[_0x4ef07c(0x53a)](_0x2a2f63,_0x3ecf11){var _0x545555=_0x4ef07c;let _0x1c2dae=this['_roomMembers']['get'](_0x2a2f63);_0x1c2dae||(_0x1c2dae=new _0x3a9e2b(),this[_0x545555(0x3ca)][_0x545555(0x3bc)](_0x2a2f63,_0x1c2dae),this[_0x545555(0x54b)][_0x545555(0x534)](_0x2a2f63)),_0x1c2dae[_0x545555(0x53a)](_0x3ecf11);}[_0x4ef07c(0x3c3)](_0x5d2cbc,_0x446c0d){var _0x40b87e=_0x4ef07c;const _0x172002=this[_0x40b87e(0x3ca)][_0x40b87e(0x47e)](_0x5d2cbc);_0x172002&&_0x172002['removeMember'](_0x446c0d);}[_0x4ef07c(0x1cf)](_0x18b1a6){var _0x4ac015=_0x4ef07c;return this['_roomMembers'][_0x4ac015(0x47e)](_0x18b1a6);}[_0x4ef07c(0x282)](_0x535b0e,_0x34c549){var _0x50bcfa=_0x4ef07c;const _0x6517d7=this[_0x50bcfa(0x3ca)]['get'](_0x535b0e);if(_0x6517d7)return _0x6517d7['getMember'](_0x34c549);}[_0x4ef07c(0x2d1)](_0x4f0f6f){var _0x196104=_0x4ef07c;const _0x4c43dc=this[_0x196104(0x3ca)][_0x196104(0x47e)](_0x4f0f6f);_0x4c43dc&&(_0x4c43dc[_0x196104(0x35b)](),this[_0x196104(0x3ca)][_0x196104(0x45f)](_0x4f0f6f));}['dispose'](){var _0x445822=_0x4ef07c;this[_0x445822(0x3ca)][_0x445822(0x482)](_0x447c29=>_0x447c29[_0x445822(0x35b)]()),this[_0x445822(0x3ca)][_0x445822(0x479)](),this['_roomCreated$'][_0x445822(0x49e)]();}},_0x2c717a[_0x4ef07c(0x340)]=_0x579363([_0x4a58a4(0x0,_0x5a87f6[_0x4ef07c(0x32b)]),_0x4a58a4(0x1,_0x5a87f6['Inject'](_0x5a87f6['UserManagerService']))],_0x2c717a[_0x4ef07c(0x340)]);class _0x3a9e2b extends _0x5a87f6[_0x4ef07c(0x556)]{constructor(){var _0x398414=_0x4ef07c;super(...arguments),_0x27ebba(this,'_members',new Map()),_0x27ebba(this,'_members$',new _0x49c451['BehaviorSubject'](this['_members'])),_0x27ebba(this,_0x398414(0x26a),this[_0x398414(0x2a6)]['asObservable']());}[_0x4ef07c(0x35b)](){var _0x4b9e3a=_0x4ef07c;this[_0x4b9e3a(0x293)][_0x4b9e3a(0x479)]();}['updateMember'](_0x34b2b7){var _0xebd72e=_0x4ef07c;this[_0xebd72e(0x293)][_0xebd72e(0x3bc)](_0x34b2b7[_0xebd72e(0x473)],_0x34b2b7),this['_emitMembers']();}[_0x4ef07c(0x3c3)](_0x4748cb){this['_members']['delete'](_0x4748cb);}['getMember'](_0x13e548){var _0x41531f=_0x4ef07c;return this[_0x41531f(0x293)][_0x41531f(0x47e)](_0x13e548);}[_0x4ef07c(0x338)](){var _0x503965=_0x4ef07c;return Array['from'](this[_0x503965(0x293)][_0x503965(0x4ce)]());}[_0x4ef07c(0x3bd)](){var _0x222aa1=_0x4ef07c;this[_0x222aa1(0x2a6)][_0x222aa1(0x534)](this['_members']);}}var _0x20cfdd=Object['getOwnPropertyDescriptor'],_0x26b22f=(_0x2f77eb,_0x5a7518,_0x314b47,_0x3685e7)=>{for(var _0x2f5dc0=_0x3685e7>0x1?void 0x0:_0x3685e7?_0x20cfdd(_0x5a7518,_0x314b47):_0x5a7518,_0x210b89=_0x2f77eb['length']-0x1,_0x2d7bfb;_0x210b89>=0x0;_0x210b89--)(_0x2d7bfb=_0x2f77eb[_0x210b89])&&(_0x2f5dc0=_0x2d7bfb(_0x2f5dc0)||_0x2f5dc0);return _0x2f5dc0;},_0x8d2cf5=(_0x1d1d0d,_0x4d67f6)=>(_0x4e0cea,_0x1fdbd3)=>_0x4d67f6(_0x4e0cea,_0x1fdbd3,_0x1d1d0d),_0x14cf5c=(_0x207c1e=>(_0x207c1e[_0x207c1e[_0x4ef07c(0x408)]=0x0]=_0x4ef07c(0x408),_0x207c1e[_0x207c1e[_0x4ef07c(0x440)]=0x1]='JOINING',_0x207c1e[_0x207c1e[_0x4ef07c(0x391)]=0x2]=_0x4ef07c(0x391),_0x207c1e[_0x207c1e['ONLINE']=0x3]=_0x4ef07c(0x2e2),_0x207c1e))(_0x14cf5c||{});const _0x38ead9={[_0x488bd0['FAIL']]:_0x4ef07c(0x2a5),[_0x488bd0[_0x4ef07c(0x1d6)]]:_0x4ef07c(0x3e9),[_0x488bd0[_0x4ef07c(0x3b1)]]:_0x4ef07c(0x553),[_0x488bd0['JOIN_ROOM_PERMISSION_DENIED']]:_0x4ef07c(0x4a3),[_0x488bd0[_0x4ef07c(0x2c9)]]:_0x4ef07c(0x24c)};_0x2c717a[_0x4ef07c(0x459)]=class extends _0x5a87f6[_0x4ef07c(0x244)]{constructor(_0x515f92,_0xf24fd7,_0x28cf73,_0x16223b,_0x390118,_0x5b7d3f,_0x30e1a3,_0x4e1070){var _0x3fd6fb=_0x4ef07c;super(),_0x27ebba(this,'_sessionStatus$',new _0x49c451[(_0x3fd6fb(0x32a))](0x0)),_0x27ebba(this,_0x3fd6fb(0x284),this[_0x3fd6fb(0x363)]['asObservable']()),_0x27ebba(this,_0x3fd6fb(0x339),new _0x49c451[(_0x3fd6fb(0x34d))]()),_0x27ebba(this,_0x3fd6fb(0x336),this[_0x3fd6fb(0x339)][_0x3fd6fb(0x245)]()),_0x27ebba(this,'_socket'),_0x27ebba(this,_0x3fd6fb(0x512)),_0x27ebba(this,'_collaborationTimeoutTimer'),_0x27ebba(this,'_shouldReportTelemetry',!0x1),_0x27ebba(this,_0x3fd6fb(0x236),null),(this[_0x3fd6fb(0x2e3)]=_0x515f92,this[_0x3fd6fb(0x1df)]=_0x28cf73,this[_0x3fd6fb(0x238)]=_0x16223b,this['_memberService']=_0x390118,this[_0x3fd6fb(0x4fd)]=_0x5b7d3f,this[_0x3fd6fb(0x333)]=_0x30e1a3,this[_0x3fd6fb(0x223)]=_0x4e1070,this[_0x3fd6fb(0x37b)]=!!this[_0x3fd6fb(0x223)],_0xf24fd7['pipe'](_0x49c451[_0x3fd6fb(0x361)](this['dispose$']))[_0x3fd6fb(0x2ce)](_0x379bf4=>{var _0x404829=_0x3fd6fb,_0x4845a4;typeof _0x379bf4>'u'||(this['_socket']=_0x379bf4,_0x379bf4?(this['_joinRoom'](_0x379bf4),this[_0x404829(0x512)]=_0x379bf4['message$'][_0x404829(0x2ce)](_0x3070f4=>{var _0x374398=_0x404829;_0x3070f4['routeKey']===this[_0x374398(0x2e3)]&&this[_0x374398(0x43b)](_0x3070f4);})):(this[_0x404829(0x2da)](),this[_0x404829(0x363)][_0x404829(0x534)](0x2),(_0x4845a4=this[_0x404829(0x512)])==null||_0x4845a4[_0x404829(0x22b)](),this['_socketMessageSubscription']=null));}));}get[_0x4ef07c(0x20d)](){var _0x520b6c=_0x4ef07c;return this[_0x520b6c(0x363)][_0x520b6c(0x3ed)]();}['getMemberID'](){var _0x572a31=_0x4ef07c,_0x1c3f02,_0x5dd1e0;return(_0x5dd1e0=(_0x1c3f02=this[_0x572a31(0x1fe)])==null?void 0x0:_0x1c3f02[_0x572a31(0x473)])!=null?_0x5dd1e0:null;}['dispose'](){var _0x255046=_0x4ef07c;super['dispose'](),this['dispose$'][_0x255046(0x534)](),this['dispose$']['complete']();}[_0x4ef07c(0x3dc)](){var _0x241ba5=_0x4ef07c,_0x50d2c4,_0x5e9576;this[_0x241ba5(0x2da)](),(_0x50d2c4=this[_0x241ba5(0x1fe)])==null||_0x50d2c4[_0x241ba5(0x26e)]({'cmd':_0x529cbe['LEAVE'],'data':{'roomID':this[_0x241ba5(0x2e3)]}}),(_0x5e9576=this[_0x241ba5(0x1fe)])==null||_0x5e9576['close'](),this[_0x241ba5(0x339)][_0x241ba5(0x49e)](),this[_0x241ba5(0x363)]['complete'](),this[_0x241ba5(0x35b)]();}[_0x4ef07c(0x43b)](_0x43b07d){var _0x12b79b=_0x4ef07c;_0x43b07d['cmd']===_0x529cbe['JOIN']?this['_onJoinRoomEvent'](_0x43b07d):_0x43b07d['cmd']===_0x529cbe['RECV']&&this[_0x12b79b(0x267)](_0x43b07d);}[_0x4ef07c(0x1fc)](_0x5d95d4){var _0x2d54e1=_0x4ef07c;this[_0x2d54e1(0x363)]['next'](0x1),_0x5d95d4['send']({'cmd':_0x529cbe[_0x2d54e1(0x1dd)],'routeKey':this[_0x2d54e1(0x2e3)],'routeType':'','data':{'rooms':[{'roomID':this[_0x2d54e1(0x2e3)]}]}});}['_onJoinRoomEvent'](_0x23efa0){var _0x4ce5d7=_0x4ef07c,_0x4ac154;if(_0x23efa0[_0x4ce5d7(0x3ce)]in _0x38ead9){this['_collaborationUIEventService'][_0x4ce5d7(0x446)]({'id':_0x28846f[_0x4ce5d7(0x419)],'data':_0x38ead9[_0x23efa0['code']]}),this[_0x4ce5d7(0x363)]['next'](0x2);return;}this[_0x4ce5d7(0x363)][_0x4ce5d7(0x534)](0x3);const _0x17b867=(_0x4ac154=_0x23efa0[_0x4ce5d7(0x511)][_0x4ce5d7(0x1e7)][this['_unitID']])==null?void 0x0:_0x4ac154[_0x4ce5d7(0x29b)];_0x17b867&&_0x17b867[_0x4ce5d7(0x482)](_0x4669f8=>this[_0x4ce5d7(0x206)][_0x4ce5d7(0x53a)](this['_unitID'],_0x4669f8));}[_0x4ef07c(0x267)](_0x5584ae){var _0x343713=_0x4ef07c;try{const _0x124bd5=_0x5584ae[_0x343713(0x511)];switch(_0x124bd5[_0x343713(0x3f7)]){case _0x9d3528[_0x343713(0x328)][_0x343713(0x25e)]:this[_0x343713(0x34a)](_0x124bd5),this[_0x343713(0x339)]['next'](_0x124bd5);break;case _0x9d3528[_0x343713(0x328)][_0x343713(0x388)]:this[_0x343713(0x551)](_0x124bd5),this[_0x343713(0x339)][_0x343713(0x534)](_0x124bd5);break;case _0x9d3528[_0x343713(0x328)][_0x343713(0x258)]:case _0x9d3528[_0x343713(0x328)]['CHANGESET_SHOULD_RETRY']:this[_0x343713(0x1dc)](),this[_0x343713(0x461)](),this['_event$'][_0x343713(0x534)](_0x124bd5);break;case _0x9d3528[_0x343713(0x328)][_0x343713(0x303)]:this['_logService'][_0x343713(0x456)](_0x343713(0x48c)+JSON[_0x343713(0x49b)](_0x124bd5)),this[_0x343713(0x339)][_0x343713(0x534)](_0x124bd5);break;case _0x9d3528[_0x343713(0x328)]['COMMENT_UPDATE']:this[_0x343713(0x4fd)][_0x343713(0x214)](_0x124bd5['data']),this[_0x343713(0x339)]['next'](_0x124bd5);break;default:this[_0x343713(0x339)][_0x343713(0x534)](_0x124bd5);}}catch(_0x280ff6){this[_0x343713(0x1df)][_0x343713(0x456)](_0x280ff6,_0x5584ae);}}[_0x4ef07c(0x34a)](_0x3ecdd0){var _0x1d95a8=_0x4ef07c;this[_0x1d95a8(0x206)]['updateMember'](this[_0x1d95a8(0x2e3)],_0x3ecdd0[_0x1d95a8(0x511)]);}[_0x4ef07c(0x551)](_0x591132){var _0xdedddf=_0x4ef07c;this['_memberService']['removeMember'](this[_0xdedddf(0x2e3)],_0x591132[_0xdedddf(0x511)][_0xdedddf(0x473)]);}async[_0x4ef07c(0x26e)](_0x376580,_0x5585ce){var _0x3de0c7=_0x4ef07c;if(this['sessionStatus']!==0x3||!this[_0x3de0c7(0x1fe)])throw new Error(_0x3de0c7(0x3ae));try{_0x376580[_0x3de0c7(0x3f7)]===_0x9d3528['CollaborationEvent'][_0x3de0c7(0x543)]&&(this[_0x3de0c7(0x273)](),this[_0x3de0c7(0x1e6)](_0x376580)),this['_socket'][_0x3de0c7(0x26e)]({'cmd':_0x529cbe[_0x3de0c7(0x2f8)],'routeKey':_0x5585ce,'routeType':'','data':_0x376580});}catch(_0x2250b1){this[_0x3de0c7(0x1df)]['error'](_0x2250b1);}}['_scheduleCollaborationTimeoutTimer'](){var _0x51ba5d=_0x4ef07c,_0x32bad4;this['_collaborationTimeoutTimer']=setTimeout(()=>{var _0x91284e=_0x4d6f;this[_0x91284e(0x507)]=null,this[_0x91284e(0x333)]['emitEvent']({'id':_0x28846f[_0x91284e(0x250)]});},(_0x32bad4=this[_0x51ba5d(0x238)]['getConfig'](_0x2c4727))!=null?_0x32bad4:0x4e20);}[_0x4ef07c(0x461)](){var _0x21cf75=_0x4ef07c;this[_0x21cf75(0x507)]&&(clearTimeout(this[_0x21cf75(0x507)]),this[_0x21cf75(0x507)]=null);}[_0x4ef07c(0x1e6)](_0x51d5f5){var _0x3071e6=_0x4ef07c;if(!this[_0x3071e6(0x37b)])return;const {data:_0x3e6f83}=_0x51d5f5,{unitID:_0x3f5bc4,changeset:_0x3fd09d}=_0x3e6f83,{mutations:_0x12ed6f,type:_0x4d26c1}=_0x3fd09d;this['_telemetryInfo']={'unitId':_0x3f5bc4,'type':_0x4d26c1,'startTime':performance['now'](),'stopTime':0x0,'duration':0x0,'size':_0x21a9ab(_0x12ed6f)};}['_stopTelemetryCollaborationNewChangeset'](){var _0x51c23f=_0x4ef07c;if(this[_0x51c23f(0x37b)]){if(!this[_0x51c23f(0x236)]){this[_0x51c23f(0x1df)][_0x51c23f(0x456)]('[CollaborationSession]',_0x51c23f(0x27b));return;}this['_telemetryInfo'][_0x51c23f(0x2ab)]=performance[_0x51c23f(0x52d)](),this[_0x51c23f(0x236)][_0x51c23f(0x2cc)]=this[_0x51c23f(0x236)][_0x51c23f(0x2ab)]-this['_telemetryInfo'][_0x51c23f(0x252)],this['_telemetryService'][_0x51c23f(0x254)](_0x5739b1,this[_0x51c23f(0x236)]),this['_telemetryInfo']=null;}}['_throwTelemetryCollaborationNewChangeset'](){var _0x342d47=_0x4ef07c;this[_0x342d47(0x236)]=null;}},_0x2c717a[_0x4ef07c(0x459)]=_0x26b22f([_0x8d2cf5(0x2,_0x5a87f6[_0x4ef07c(0x546)]),_0x8d2cf5(0x3,_0x5a87f6['IConfigService']),_0x8d2cf5(0x4,_0x5a87f6[_0x4ef07c(0x2f6)](_0x2c717a[_0x4ef07c(0x340)])),_0x8d2cf5(0x5,_0x5a87f6[_0x4ef07c(0x2f6)](_0x46eb06)),_0x8d2cf5(0x6,_0x5a87f6['Inject'](_0x596edb)),_0x8d2cf5(0x7,_0x5a87f6[_0x4ef07c(0x2fb)](_0x2518fe['ITelemetryService']))],_0x2c717a[_0x4ef07c(0x459)]);const _0x11ccb1=_0x5a87f6[_0x4ef07c(0x2f7)](_0x4ef07c(0x4cb));function _0x11afa6(_0x341960){var _0x4967f9=_0x4ef07c;return _0x4967f9(0x305)+_0x341960;}var _0x3384b4=Object[_0x4ef07c(0x4b2)],_0x38f562=(_0x5469dd,_0x4e9e9e,_0x2f6cb3,_0xd5084e)=>{var _0x38b940=_0x4ef07c;for(var _0x5ef401=_0xd5084e>0x1?void 0x0:_0xd5084e?_0x3384b4(_0x4e9e9e,_0x2f6cb3):_0x4e9e9e,_0x467410=_0x5469dd[_0x38b940(0x3aa)]-0x1,_0x628f0c;_0x467410>=0x0;_0x467410--)(_0x628f0c=_0x5469dd[_0x467410])&&(_0x5ef401=_0x628f0c(_0x5ef401)||_0x5ef401);return _0x5ef401;},_0x184fa5=(_0x2682ee,_0x5a3848)=>(_0x27e913,_0x3c6c20)=>_0x5a3848(_0x27e913,_0x3c6c20,_0x2682ee);function _0xea93f0(_0x575db1){var _0x3c36f6=_0x4ef07c;const {unitID:_0x5c14b9,mutations:_0x2e8b04}=_0x575db1;return{'unitId':_0x5c14b9,'subUnitId':_0x2e8b04['length']>0x0?_0x2e8b04[0x0][_0x3c36f6(0x308)][_0x3c36f6(0x235)]:null};}_0x2c717a[_0x4ef07c(0x483)]=class{constructor(_0x8853a2,_0x23eb35,_0x474069){var _0x288e3e=_0x4ef07c;this['_injector']=_0x8853a2,this[_0x288e3e(0x4d6)]=_0x23eb35,this[_0x288e3e(0x42f)]=_0x474069;}[_0x4ef07c(0x208)](_0x36956d){var _0x47551d=_0x4ef07c,_0x58263e,_0x1d19fa,_0x1b1c7a,_0x5dbecb;const _0x2d8b90=this[_0x47551d(0x3b3)]['get'](_0x2dec7c[_0x47551d(0x360)]),{unitId:_0xc54919,subUnitId:_0x2ff688}=_0xea93f0(_0x36956d),_0x219f7c=_0x2d8b90==null?void 0x0:_0x2d8b90['getWorkbookSelections'](_0xc54919)[_0x47551d(0x424)](),_0x389c0c=(_0x1d19fa=(_0x58263e=this[_0x47551d(0x42f)][_0x47551d(0x55a)](_0xc54919))==null?void 0x0:_0x58263e[_0x47551d(0x31f)]())==null?void 0x0:_0x1d19fa[_0x47551d(0x468)]();if(_0x219f7c[_0x47551d(0x3aa)]===0x0||!_0xc54919||!_0x2ff688)return;const _0xd46a06=[{'id':_0x2dec7c[_0x47551d(0x257)]['id'],'params':{'unitId':_0xc54919,'subUnitId':_0x389c0c,'selections':_0x5a87f6[_0x47551d(0x248)][_0x47551d(0x311)](_0x219f7c)}}],_0x59f520=this[_0x47551d(0x4d6)]['transformMutationsWithChangeset'](_0x36956d,_0xd46a06);if(!_0x9d3528[_0x47551d(0x364)](_0x59f520))throw _0x59f520[_0x47551d(0x456)];const _0x2e0e7c=(_0x5dbecb=(_0x1b1c7a=_0x59f520[_0x47551d(0x2d8)][0x0])==null?void 0x0:_0x1b1c7a[_0x47551d(0x308)])==null?void 0x0:_0x5dbecb[_0x47551d(0x427)];if(Array[_0x47551d(0x40e)](_0x2e0e7c)&&_0x2e0e7c[_0x47551d(0x3aa)]){if(_0x2e0e7c[_0x47551d(0x3aa)]===_0xd46a06[0x0][_0x47551d(0x308)][_0x47551d(0x427)][_0x47551d(0x3aa)]&&_0x2e0e7c['every']((_0x4c58b7,_0x23aab8)=>_0x5a87f6[_0x47551d(0x23b)]['equals'](_0x4c58b7['range'],_0xd46a06[0x0][_0x47551d(0x308)][_0x47551d(0x427)][_0x23aab8][_0x47551d(0x417)])))return;this[_0x47551d(0x3b3)][_0x47551d(0x47e)](_0x5a87f6['ICommandService'])['executeCommand'](_0x2dec7c[_0x47551d(0x257)]['id'],{'unitId':_0xc54919,'subUnitId':_0x389c0c,'selections':_0x2e0e7c});}}},_0x2c717a[_0x4ef07c(0x483)]=_0x38f562([_0x184fa5(0x0,_0x5a87f6['Inject'](_0x5a87f6['Injector'])),_0x184fa5(0x1,_0x9d3528[_0x4ef07c(0x2b6)]),_0x184fa5(0x2,_0x5a87f6[_0x4ef07c(0x32b)])],_0x2c717a['SheetTransformSelectionsService']);const _0x53cb33=_0x5a87f6[_0x4ef07c(0x2f7)](_0x4ef07c(0x27e));var _0x11b621=(_0x3391ce=>(_0x3391ce[_0x3391ce[_0x4ef07c(0x52f)]=0x0]=_0x4ef07c(0x52f),_0x3391ce[_0x3391ce[_0x4ef07c(0x3fb)]=0x1]=_0x4ef07c(0x3fb),_0x3391ce))(_0x11b621||{});const _0x50bbc4='collaboration-client.config',_0x5a3a37={};function _0x7faaaa(_0x5a15a0){var _0x3cc35f=_0x4ef07c,_0x400e47;return!!((_0x400e47=_0x5a15a0[_0x3cc35f(0x308)])!=null&&_0x400e47[_0x3cc35f(0x54e)]);}const _0x5e7697=new Set([_0x2dec7c['InsertSheetMutation']['id']]);function _0x2064b5(_0x244c1c,_0x5535bb,_0x24f875,_0x56bdcd,_0x1928f2){var _0xb59aba=_0x4ef07c,_0xd6e71d,_0x2150aa,_0xd9d92f,_0x30f644;const _0x4a8e08=[];for(const _0x225b64 of _0x244c1c){if(_0x5e7697[_0xb59aba(0x4da)](_0x225b64['id'])){if(_0x4a8e08['length']>0x0)break;_0x4a8e08['push'](_0x225b64);break;}if(_0x7faaaa(_0x225b64)){if(_0x4a8e08[_0xb59aba(0x3aa)]>0x0)break;_0x4a8e08[_0xb59aba(0x306)](_0x225b64);break;}_0x4a8e08[_0xb59aba(0x306)](_0x225b64);}const _0x19166c=(_0x2150aa=(_0xd6e71d=_0x1928f2[_0xb59aba(0x1fb)]())==null?void 0x0:_0xd6e71d['userID'])!=null?_0x2150aa:_0xb59aba(0x491),_0x1191eb=(_0x30f644=(_0xd9d92f=_0x1928f2[_0xb59aba(0x1fb)]())==null?void 0x0:_0xd9d92f[_0xb59aba(0x473)])!=null?_0x30f644:_0xb59aba(0x491);return{'changeset':{'unitID':_0x5535bb,'type':_0x9d3528[_0xb59aba(0x52b)](_0x24f875[_0xb59aba(0x3e4)](_0x5535bb)),'baseRev':_0x56bdcd['getCurrentRevOfUnit'](_0x5535bb),'revision':0x0,'userID':_0x19166c,'memberID':_0x1191eb,'mutations':_0x4a8e08},'pendingMutations':_0x244c1c[_0xb59aba(0x34b)](_0x4a8e08['length'])};}function _0x2858ca(_0x5dc581,_0x492bb2,_0x502851,_0x53746c,_0x42a519){var _0x377937=_0x4ef07c,_0x21895f,_0xdd4f61,_0x17b9ea,_0x1eeee5;const _0x169b55=[_0x5dc581[_0x377937(0x2f3)]((_0x266a07,_0x1ac2c3)=>{var _0x534e4e=_0x377937,_0x347488;const {id:_0x553efd}=_0x266a07,{id:_0x5cb72a,type:_0x7fad65}=_0x1ac2c3,_0x468022=(_0x347488=_0x266a07[_0x534e4e(0x308)])!=null?_0x347488:{'actions':null},_0x4c1cc9=_0x1ac2c3['params'];if(_0x553efd&&_0x553efd!==_0x5cb72a)throw new Error(_0x534e4e(0x510)+_0x553efd+_0x534e4e(0x2e0)+_0x5cb72a+'.');return{..._0x266a07,'id':_0x5cb72a,'type':_0x7fad65,'params':{'unitId':_0x4c1cc9[_0x534e4e(0x3e0)],'textRanges':_0x4c1cc9[_0x534e4e(0x4d1)],'actions':_0x5a87f6[_0x534e4e(0x2f9)][_0x534e4e(0x23a)](_0x468022[_0x534e4e(0x4dc)],_0x4c1cc9[_0x534e4e(0x4dc)])}};},{})],_0x167e11=(_0xdd4f61=(_0x21895f=_0x42a519[_0x377937(0x1fb)]())==null?void 0x0:_0x21895f[_0x377937(0x490)])!=null?_0xdd4f61:'unknown',_0x49367c=(_0x1eeee5=(_0x17b9ea=_0x42a519[_0x377937(0x1fb)]())==null?void 0x0:_0x17b9ea['memberID'])!=null?_0x1eeee5:_0x377937(0x491);return{'changeset':{'unitID':_0x492bb2,'type':_0x9d3528[_0x377937(0x52b)](_0x502851[_0x377937(0x3e4)](_0x492bb2)),'baseRev':_0x53746c[_0x377937(0x526)](_0x492bb2),'revision':0x0,'userID':_0x167e11,'memberID':_0x49367c,'mutations':_0x169b55},'pendingMutations':[]};}function _0x260427(_0x579418,_0x565ad6){var _0x2a0c42=_0x4ef07c;const _0x1e7b14=new _0x49c451[(_0x2a0c42(0x381))](0x1);return setTimeout(()=>_0x1e7b14['next'](_0x565ad6),_0x579418),_0x1e7b14[_0x2a0c42(0x245)]()['pipe'](_0x49c451[_0x2a0c42(0x1cb)](0x1));}var _0x66d30f=Object[_0x4ef07c(0x4b2)],_0x1b743b=(_0x8c705f,_0x2be0fb,_0x4ec8b8,_0xe7becb)=>{var _0x13e8cd=_0x4ef07c;for(var _0x27efa3=_0xe7becb>0x1?void 0x0:_0xe7becb?_0x66d30f(_0x2be0fb,_0x4ec8b8):_0x2be0fb,_0x3f164d=_0x8c705f[_0x13e8cd(0x3aa)]-0x1,_0x209236;_0x3f164d>=0x0;_0x3f164d--)(_0x209236=_0x8c705f[_0x3f164d])&&(_0x27efa3=_0x209236(_0x27efa3)||_0x27efa3);return _0x27efa3;},_0x2ed7f1=(_0x47ac24,_0x603494)=>(_0x102dab,_0x37b759)=>_0x603494(_0x102dab,_0x37b759,_0x47ac24),_0x12c0ef=(_0x3e892d=>(_0x3e892d['NOT_COLLAB']=_0x4ef07c(0x398),_0x3e892d['SYNCED']='synced',_0x3e892d[_0x4ef07c(0x3f5)]=_0x4ef07c(0x209),_0x3e892d[_0x4ef07c(0x280)]=_0x4ef07c(0x3b9),_0x3e892d[_0x4ef07c(0x1d7)]='awaiting_with_pending',_0x3e892d[_0x4ef07c(0x35e)]=_0x4ef07c(0x433),_0x3e892d['CONFLICT']='conflict',_0x3e892d['OFFLINE']='offline',_0x3e892d))(_0x12c0ef||{});const _0x377f2d=0x4e20,_0x152f5d=0x2bf20;class _0x4f4aaa{constructor(_0x326184,_0x1395e1,_0x48c282,_0x5a58b4,_0x4503a5,_0x1fdf84,_0x2a2b32,_0x43af01,_0x291235){var _0x362be4=_0x4ef07c;_0x27ebba(this,_0x362be4(0x48a),null),_0x27ebba(this,'_pendingMutations',[]),(this[_0x362be4(0x3f1)]=_0x326184,this['type']=_0x1395e1,this[_0x362be4(0x1e2)]=_0x4503a5,this[_0x362be4(0x2e6)]=_0x1fdf84,this['_undoRedoService']=_0x2a2b32,this['_revisionService']=_0x43af01,this[_0x362be4(0x4d9)]=_0x291235,this['_awaitingChangeset']=_0x48c282,this['_pendingMutations']=_0x5a58b4);}[_0x4ef07c(0x203)](_0x139707){var _0xb316e3=_0x4ef07c;const _0x5d45df=this[_0xb316e3(0x458)][_0xb316e3(0x526)](this[_0xb316e3(0x3f1)]);return _0x139707[_0xb316e3(0x3c2)]>_0x5d45df+0x1?(this[_0xb316e3(0x1e2)]['onMissingChangesets']({'from':_0x5d45df,'to':_0x139707[_0xb316e3(0x3c2)]-0x1}),!0x0):!0x1;}[_0x4ef07c(0x241)](_0x5f93bc){var _0x2909d3=_0x4ef07c;this[_0x2909d3(0x265)][_0x2909d3(0x4e4)](this[_0x2909d3(0x3f1)],_0x5f93bc);}[_0x4ef07c(0x3a2)](_0x5a8019){var _0x457280=_0x4ef07c,_0xb3417c,_0x986be6;(_0x986be6=(_0xb3417c=this['_handler'])[_0x457280(0x2f0)])==null||_0x986be6[_0x457280(0x24b)](_0xb3417c,_0x5a8019);}[_0x4ef07c(0x32c)](_0x230b8a){var _0x2a5fa9=_0x4ef07c,_0x56f8a6,_0x536ecd;return(_0x536ecd=(_0x56f8a6=this[_0x2a5fa9(0x1e2)])[_0x2a5fa9(0x497)])==null?void 0x0:_0x536ecd[_0x2a5fa9(0x24b)](_0x56f8a6,_0x230b8a);}[_0x4ef07c(0x1d8)](_0xdaa4c){var _0x3c00a0=_0x4ef07c,_0x23ae84,_0x57c73d;return(_0x57c73d=(_0x23ae84=this['_handler'])[_0x3c00a0(0x3df)])==null?void 0x0:_0x57c73d['call'](_0x23ae84,_0xdaa4c);}[_0x4ef07c(0x387)](_0x5eaf18){var _0x11a516=_0x4ef07c,_0x203bbd,_0x373aad,_0x453934;return(_0x453934=(_0x373aad=(_0x203bbd=this['_handler'])['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x373aad[_0x11a516(0x24b)](_0x203bbd,_0x5eaf18))!=null?_0x453934:_0x5eaf18;}[_0x4ef07c(0x27c)](_0x37a89c){var _0x49322c=_0x4ef07c,_0x171db8,_0x1644d4,_0x4a4d07;return(_0x4a4d07=(_0x1644d4=(_0x171db8=this[_0x49322c(0x1e2)])[_0x49322c(0x561)])==null?void 0x0:_0x1644d4['call'](_0x171db8,_0x37a89c))!=null?_0x4a4d07:_0x37a89c;}['_syncEditingCollabCursor'](_0x2ca8fd){var _0x10b749=_0x4ef07c,_0x1d86ef,_0x8e8b43;if(this[_0x10b749(0x527)]===_0x1ac378[_0x10b749(0x41f)]){const {unitID:_0x31cc80,mutations:_0x54b185,memberID:_0x3db23d}=_0x2ca8fd,_0x276e8e=_0x54b185[_0x10b749(0x3aa)]>0x0?_0x54b185[0x0]['params'][_0x10b749(0x4d1)]:[];Array[_0x10b749(0x40e)](_0x276e8e)&&_0x276e8e[_0x10b749(0x3aa)]>0x0&&((_0x8e8b43=(_0x1d86ef=this[_0x10b749(0x1e2)])[_0x10b749(0x3c0)])==null||_0x8e8b43[_0x10b749(0x24b)](_0x1d86ef,{'unitID':_0x31cc80,'memberID':_0x3db23d,'textRanges':_0x276e8e}));}}[_0x4ef07c(0x474)](){var _0x4168ba=_0x4ef07c,_0xa478f0;(_0xa478f0=this[_0x4168ba(0x4d9)])==null||_0xa478f0[_0x4168ba(0x4c6)](this[_0x4168ba(0x3f1)],this[_0x4168ba(0x527)],this['_awaitingChangeset'],this[_0x4168ba(0x486)]);}['_getCurrentRevision'](){var _0x3dde2f=_0x4ef07c;return this[_0x3dde2f(0x458)][_0x3dde2f(0x526)](this[_0x3dde2f(0x3f1)]);}[_0x4ef07c(0x4f5)](){var _0x3fd002=_0x4ef07c;this[_0x3fd002(0x458)][_0x3fd002(0x3be)](this[_0x3fd002(0x3f1)]);}['_executeRemoteChangeset'](_0x47d632){var _0x279558=_0x4ef07c,_0x25b0a6;let _0x4ac9f4=this[_0x279558(0x387)](_0x47d632);_0x4ac9f4=this[_0x279558(0x27c)](_0x4ac9f4);const _0x2431d7=_0x5a87f6[_0x279558(0x4eb)](_0x4ac9f4[_0x279558(0x519)],this[_0x279558(0x2e6)],{'fromCollab':!0x0});if(!_0x2431d7[_0x279558(0x1f0)])throw _0x2431d7[_0x279558(0x456)]instanceof Error?_0x2431d7['error']:new Error((_0x25b0a6=_0x2431d7[_0x279558(0x456)])!=null?_0x25b0a6:_0x279558(0x478));this[_0x279558(0x32c)](_0x4ac9f4),this[_0x279558(0x1d8)](_0x4ac9f4),this[_0x279558(0x241)](_0x47d632),this['_transformSelections'](_0x4ac9f4),this['_syncEditingCollabCursor'](_0x4ac9f4),this[_0x279558(0x4f5)]();}}_0x2c717a[_0x4ef07c(0x51c)]=class extends _0x4f4aaa{constructor(_0x485b60,_0x1a6861,_0x4fe247,_0x296f3c,_0x2ee2a3,_0x259bff,_0x10797f,_0xb51c1d,_0x18e4a7,_0x58024c){var _0x33599d=_0x4ef07c;super(_0x485b60,_0x1a6861,null,[],_0x4fe247,_0x10797f,_0x259bff,_0x296f3c,_0x58024c),_0x27ebba(this,'status',_0x33599d(0x380)),(this['_injector']=_0x2ee2a3,this[_0x33599d(0x1df)]=_0xb51c1d,this['_transformService']=_0x18e4a7,this[_0x33599d(0x332)]=_0x58024c);}[_0x4ef07c(0x2e8)](_0x26bb3f){var _0x11dc76=_0x4ef07c;const _0x151feb=this[_0x11dc76(0x3b3)][_0x11dc76(0x3cd)](_0x2c717a[_0x11dc76(0x43c)],this[_0x11dc76(0x3f1)],this[_0x11dc76(0x527)],[_0x26bb3f],this['_handler']);return _0x151feb['_schedule'](),_0x151feb[_0x11dc76(0x474)](),_0x151feb;}[_0x4ef07c(0x36b)](_0x242e3b){var _0x232fcc=_0x4ef07c;if(this[_0x232fcc(0x203)](_0x242e3b))return this[_0x232fcc(0x3b3)][_0x232fcc(0x3cd)](_0x2c717a[_0x232fcc(0x27a)],this[_0x232fcc(0x3f1)],this[_0x232fcc(0x527)],null,[],null,[_0x242e3b],this[_0x232fcc(0x1e2)]);try{const _0x28b157=this[_0x232fcc(0x4d6)]['transformMutationsWithChangeset'](_0x242e3b,[_0x9d3528[_0x232fcc(0x40f)]]);if(_0x9d3528[_0x232fcc(0x364)](_0x28b157)){const {c1Prime:_0x4a257e}=_0x28b157;return this[_0x232fcc(0x518)](_0x4a257e),this;}throw _0x28b157[_0x232fcc(0x456)];}catch(_0x4663bd){return this[_0x232fcc(0x1df)][_0x232fcc(0x456)](_0x4663bd),this[_0x232fcc(0x34c)](!0x1);}}['_onConflict'](_0x12443e){var _0x119342=_0x4ef07c;return this[_0x119342(0x3b3)]['createInstance'](_0x2c717a[_0x119342(0x312)],this[_0x119342(0x3f1)],this[_0x119342(0x527)],null,[],this['_handler'],_0x12443e);}[_0x4ef07c(0x26c)](){var _0x9075c8=_0x4ef07c;throw new Error(_0x9075c8(0x2c1));}['onRemoteRej'](){var _0x597c64=_0x4ef07c;throw new Error(_0x597c64(0x454));}[_0x4ef07c(0x2c3)](){return this;}['toggleOffline'](){var _0x3f0186=_0x4ef07c;return this[_0x3f0186(0x3b3)]['createInstance'](_0x2c717a[_0x3f0186(0x347)],this['unitID'],this['type'],null,[],this[_0x3f0186(0x1e2)]);}[_0x4ef07c(0x3af)](){return this;}['resend'](){var _0x41a7a8=_0x4ef07c;throw new Error(_0x41a7a8(0x3d3));}[_0x4ef07c(0x426)](){var _0x5cc425=_0x4ef07c;const _0x558d37=this[_0x5cc425(0x458)][_0x5cc425(0x526)](this[_0x5cc425(0x3f1)]);return this[_0x5cc425(0x1e2)][_0x5cc425(0x47c)]({'from':_0x558d37,'to':0x0}),this[_0x5cc425(0x3b3)][_0x5cc425(0x3cd)](_0x2c717a[_0x5cc425(0x27a)],this[_0x5cc425(0x3f1)],this['type'],null,[],null,[],this['_handler']);}},_0x2c717a[_0x4ef07c(0x51c)]=_0x1b743b([_0x2ed7f1(0x3,_0x5a87f6[_0x4ef07c(0x2f6)](_0x9d3528[_0x4ef07c(0x1f2)])),_0x2ed7f1(0x4,_0x5a87f6[_0x4ef07c(0x2f6)](_0x5a87f6[_0x4ef07c(0x242)])),_0x2ed7f1(0x5,_0x5a87f6['IUndoRedoService']),_0x2ed7f1(0x6,_0x5a87f6[_0x4ef07c(0x217)]),_0x2ed7f1(0x7,_0x5a87f6[_0x4ef07c(0x546)]),_0x2ed7f1(0x8,_0x9d3528['ITransformService']),_0x2ed7f1(0x9,_0x5a87f6[_0x4ef07c(0x2fb)](_0x11ccb1))],_0x2c717a[_0x4ef07c(0x51c)]),_0x2c717a[_0x4ef07c(0x43c)]=class extends _0x4f4aaa{constructor(_0x3cd5aa,_0x48eb6e,_0x53e06a,_0x1c6bb1,_0x2e222b,_0x4b7cad,_0x275153,_0x35b16a,_0x568974,_0x249f48,_0x2eac68,_0x269b21,_0xb2437d,_0x56a1b4){var _0x24c481=_0x4ef07c;super(_0x3cd5aa,_0x48eb6e,null,_0x53e06a,_0x1c6bb1,_0x568974,_0xb2437d,_0x4b7cad,_0x56a1b4),_0x27ebba(this,_0x24c481(0x45c),'pending'),_0x27ebba(this,_0x24c481(0x393),null),_0x27ebba(this,'_sendingTimer',null),(this[_0x24c481(0x3b3)]=_0x2e222b,this[_0x24c481(0x206)]=_0x275153,this[_0x24c481(0x1df)]=_0x35b16a,this['_configService']=_0x249f48,this[_0x24c481(0x4d6)]=_0x2eac68,this[_0x24c481(0x25a)]=_0x269b21);}['appendMutation'](_0x10dfcd){var _0x324991=_0x4ef07c;return this[_0x324991(0x486)][_0x324991(0x306)](_0x10dfcd),this['_updateLocalCache'](),this;}[_0x4ef07c(0x36b)](_0x333799){var _0xfbfd4e=_0x4ef07c;if(this[_0xfbfd4e(0x203)](_0x333799))return this[_0xfbfd4e(0x3db)](),this[_0xfbfd4e(0x3b3)][_0xfbfd4e(0x3cd)](_0x2c717a[_0xfbfd4e(0x27a)],this[_0xfbfd4e(0x3f1)],this[_0xfbfd4e(0x527)],null,this[_0xfbfd4e(0x486)],null,[_0x333799],this[_0xfbfd4e(0x1e2)]);try{const _0x58e6af=this[_0xfbfd4e(0x4d6)][_0xfbfd4e(0x4cd)](_0x333799,this[_0xfbfd4e(0x486)]);if(_0x9d3528[_0xfbfd4e(0x364)](_0x58e6af)){const {c1Prime:_0xcbc1d8,m2Prime:_0x347c0e}=_0x58e6af;this[_0xfbfd4e(0x518)](_0xcbc1d8);const _0x53f956=this[_0xfbfd4e(0x3b3)]['createInstance'](_0x2c717a[_0xfbfd4e(0x43c)],this[_0xfbfd4e(0x3f1)],this[_0xfbfd4e(0x527)],_0x347c0e,this['_handler']);this[_0xfbfd4e(0x3db)]();const _0x35712c=new Date()[_0xfbfd4e(0x1f4)](),_0x31e3a2=this['_scheduleCompleteTimestamp']?Math[_0xfbfd4e(0x394)](this[_0xfbfd4e(0x393)]-_0x35712c,0x0):this['_getSendChangesetTimeout']();return _0x53f956['_schedule'](_0x31e3a2),_0x53f956;}throw _0x58e6af['error'];}catch(_0xaff6f5){return this['_logService'][_0xfbfd4e(0x456)](_0xaff6f5),this[_0xfbfd4e(0x34c)](!0x1);}}[_0x4ef07c(0x26c)](){var _0x5deefd=_0x4ef07c;throw new Error(_0x5deefd(0x500));}['onRemoteRej'](){var _0xea059e=_0x4ef07c;throw new Error(_0xea059e(0x421));}[_0x4ef07c(0x2c3)](){return this;}[_0x4ef07c(0x544)](){var _0x1834c1=_0x4ef07c;return this[_0x1834c1(0x3db)](),this['_injector'][_0x1834c1(0x3cd)](_0x2c717a[_0x1834c1(0x347)],this['unitID'],this[_0x1834c1(0x527)],null,this[_0x1834c1(0x486)],this[_0x1834c1(0x1e2)]);}['toggleOnline'](){return this;}[_0x4ef07c(0x264)](_0x3d1bc7){var _0x4c816b=_0x4ef07c;const _0x152516=_0x3d1bc7!=null?_0x3d1bc7:this[_0x4c816b(0x453)]();this[_0x4c816b(0x393)]=new Date()[_0x4c816b(0x1f4)]()+_0x152516,this['_sendingTimer']=setTimeout(()=>{var _0x54cce2=_0x4c816b;this[_0x54cce2(0x3db)]();let _0x178095=null;switch(this['type']){case _0x1ac378[_0x54cce2(0x2be)]:{_0x178095=_0x2064b5(this[_0x54cce2(0x486)],this[_0x54cce2(0x3f1)],this['_univerInstanceService'],this[_0x54cce2(0x458)],this[_0x54cce2(0x206)]);break;}case _0x1ac378[_0x54cce2(0x41f)]:{this['_pendingMutations'][_0x54cce2(0x472)](_0x54efc5=>_0x54efc5['id']===_0x48d960[_0x54cce2(0x410)]['id'])?_0x178095=_0x2858ca(this['_pendingMutations'],this[_0x54cce2(0x3f1)],this[_0x54cce2(0x25a)],this[_0x54cce2(0x458)],this[_0x54cce2(0x206)]):_0x178095=_0x2064b5(this[_0x54cce2(0x486)],this[_0x54cce2(0x3f1)],this[_0x54cce2(0x25a)],this[_0x54cce2(0x458)],this[_0x54cce2(0x206)]);break;}default:throw new Error(_0x54cce2(0x4ad)+this[_0x54cce2(0x527)]+_0x54cce2(0x2d3));}const {changeset:_0x2486dc,pendingMutations:_0xee9a6a}=_0x178095;this['_handler'][_0x54cce2(0x36d)](_0x2486dc);const _0x3ff9e2=_0xee9a6a[_0x54cce2(0x3aa)]?this['_injector'][_0x54cce2(0x3cd)](_0x2c717a[_0x54cce2(0x41c)],this['unitID'],this[_0x54cce2(0x527)],_0x2486dc,_0xee9a6a,this[_0x54cce2(0x1e2)],void 0x0):this[_0x54cce2(0x3b3)]['createInstance'](_0x2c717a[_0x54cce2(0x4b1)],this['unitID'],this[_0x54cce2(0x527)],_0x2486dc,this['_handler']);_0x3ff9e2[_0x54cce2(0x474)](),this['_handler']['onStateChange'](this,_0x3ff9e2);},_0x152516);}[_0x4ef07c(0x453)](){var _0x3fbbee=_0x4ef07c,_0x230f8b;const _0x22f9b2=this[_0x3fbbee(0x238)][_0x3fbbee(0x4e3)](_0x50bbc4);return(_0x230f8b=_0x22f9b2==null?void 0x0:_0x22f9b2[_0x3fbbee(0x4ec)])!=null?_0x230f8b:0x7d0;}[_0x4ef07c(0x2c2)](){var _0x68580a=_0x4ef07c;throw new Error(_0x68580a(0x4fe));}[_0x4ef07c(0x3db)](){var _0x19b00c=_0x4ef07c;this[_0x19b00c(0x2ee)]!=null&&(clearTimeout(this[_0x19b00c(0x2ee)]),this[_0x19b00c(0x2ee)]=null);}['_onConflict'](_0x2fd84d){var _0x1e3929=_0x4ef07c;return this[_0x1e3929(0x3db)](),this[_0x1e3929(0x3b3)][_0x1e3929(0x3cd)](_0x2c717a['ConflictState'],this[_0x1e3929(0x3f1)],this['type'],null,this['_pendingMutations'],this[_0x1e3929(0x1e2)],_0x2fd84d);}},_0x2c717a['PendingState']=_0x1b743b([_0x2ed7f1(0x4,_0x5a87f6[_0x4ef07c(0x2f6)](_0x5a87f6[_0x4ef07c(0x242)])),_0x2ed7f1(0x5,_0x5a87f6['Inject'](_0x9d3528[_0x4ef07c(0x1f2)])),_0x2ed7f1(0x6,_0x5a87f6[_0x4ef07c(0x2f6)](_0x2c717a['MemberService'])),_0x2ed7f1(0x7,_0x5a87f6[_0x4ef07c(0x546)]),_0x2ed7f1(0x8,_0x5a87f6[_0x4ef07c(0x217)]),_0x2ed7f1(0x9,_0x5a87f6[_0x4ef07c(0x4d8)]),_0x2ed7f1(0xa,_0x9d3528[_0x4ef07c(0x2b6)]),_0x2ed7f1(0xb,_0x5a87f6[_0x4ef07c(0x32b)]),_0x2ed7f1(0xc,_0x5a87f6[_0x4ef07c(0x3d2)]),_0x2ed7f1(0xd,_0x5a87f6[_0x4ef07c(0x2fb)](_0x11ccb1))],_0x2c717a[_0x4ef07c(0x43c)]),_0x2c717a[_0x4ef07c(0x4b1)]=class extends _0x4f4aaa{constructor(_0x213f02,_0x18df35,_0x3223b8,_0x652182,_0x2115ec,_0xe9fd42,_0x4a8e7c,_0x12cfc5,_0x2e300e,_0x5721f1,_0x403223){var _0x7cd6a5=_0x4ef07c;super(_0x213f02,_0x18df35,_0x3223b8,[],_0x652182,_0x4a8e7c,_0x5721f1,_0xe9fd42,_0x403223),_0x27ebba(this,_0x7cd6a5(0x45c),_0x7cd6a5(0x3b9)),_0x27ebba(this,_0x7cd6a5(0x2aa),0x0),_0x27ebba(this,'_maxTotalRetryTimeout',0x0),_0x27ebba(this,'_resendTimer'),_0x27ebba(this,_0x7cd6a5(0x1ec)),(this['_injector']=_0x2115ec,this['_logService']=_0x12cfc5,this['_transformService']=_0x2e300e);}[_0x4ef07c(0x2e8)](_0x30d63c){var _0xfd40bf=_0x4ef07c;this[_0xfd40bf(0x3db)]();const _0x3aad84=this[_0xfd40bf(0x3b3)]['createInstance'](_0x2c717a[_0xfd40bf(0x41c)],this[_0xfd40bf(0x3f1)],this[_0xfd40bf(0x527)],this[_0xfd40bf(0x48a)],[_0x30d63c],this[_0xfd40bf(0x1e2)],this['_resendTimer']);return _0x3aad84[_0xfd40bf(0x474)](),_0x3aad84;}['onRemoteChangeset'](_0x34bb73){var _0x33dff6=_0x4ef07c;if(this[_0x33dff6(0x203)](_0x34bb73))return this[_0x33dff6(0x3db)](),this[_0x33dff6(0x3b3)][_0x33dff6(0x3cd)](_0x2c717a[_0x33dff6(0x27a)],this['unitID'],this[_0x33dff6(0x527)],this['_awaitingChangeset'],[],null,[_0x34bb73],this[_0x33dff6(0x1e2)]);try{const _0x1d6958=this[_0x33dff6(0x4d6)][_0x33dff6(0x205)]([_0x34bb73],[this[_0x33dff6(0x48a)]],!0x1);if(_0x9d3528[_0x33dff6(0x36a)](_0x1d6958)){const {c1Prime:_0x5377ec,c2Prime:_0x1bddb4}=_0x1d6958;this[_0x33dff6(0x518)](_0x5377ec[0x0]),_0x1bddb4[0x0]['baseRev']=this['_getCurrentRevision'](),this[_0x33dff6(0x3db)]();const _0x4d0170=this[_0x33dff6(0x3b3)][_0x33dff6(0x3cd)](_0x2c717a[_0x33dff6(0x4b1)],this[_0x33dff6(0x3f1)],this['type'],_0x1bddb4[0x0],this[_0x33dff6(0x1e2)]);return _0x4d0170[_0x33dff6(0x474)](),_0x4d0170;}return this[_0x33dff6(0x34c)](!0x1);}catch(_0x44404){return this[_0x33dff6(0x1df)][_0x33dff6(0x456)](_0x44404),this[_0x33dff6(0x34c)](!0x1);}}[_0x4ef07c(0x26c)](_0x15c877){var _0x5b483a=_0x4ef07c;this[_0x5b483a(0x3db)]();const _0x3a3e14=this[_0x5b483a(0x458)][_0x5b483a(0x526)](this[_0x5b483a(0x3f1)]);if(_0x15c877[_0x5b483a(0x3c2)]<_0x3a3e14-0x1)return this;if(this[_0x5b483a(0x203)](_0x15c877))return this['_injector'][_0x5b483a(0x3cd)](_0x2c717a['FetchingMissState'],this[_0x5b483a(0x3f1)],this[_0x5b483a(0x527)],null,[],this[_0x5b483a(0x48a)],[],this[_0x5b483a(0x1e2)]);this['_incrementRevisionNumber']();const _0x25cbe1=this['_injector'][_0x5b483a(0x3cd)](_0x2c717a[_0x5b483a(0x51c)],this[_0x5b483a(0x3f1)],this[_0x5b483a(0x527)],this[_0x5b483a(0x1e2)]);return _0x25cbe1[_0x5b483a(0x474)](),_0x25cbe1;}[_0x4ef07c(0x375)](_0x36bac5){var _0x4a5d41=_0x4ef07c;return this[_0x4a5d41(0x34c)](!!(_0x36bac5!=null&&_0x36bac5[_0x4a5d41(0x38a)]));}[_0x4ef07c(0x2c3)](_0x1ca52d){var _0xa336e3=_0x4ef07c;return this['_maxTotalRetryTimeout']>_0x152f5d?this[_0xa336e3(0x544)]():(this[_0xa336e3(0x1de)]=_0x260427(this[_0xa336e3(0x2aa)],{'timeout':this['_resendTimeout'],'reqId':_0x1ca52d[_0xa336e3(0x2c8)]}),this[_0xa336e3(0x1ec)]=this['_resendTimer'][_0xa336e3(0x2ce)](({reqId:_0x570974,timeout:_0x5704eb})=>{var _0x450699=_0xa336e3;this[_0x450699(0x422)](_0x570974,_0x5704eb);}),this);}[_0x4ef07c(0x544)](){var _0xe6fcf8=_0x4ef07c;return this[_0xe6fcf8(0x3db)](),this[_0xe6fcf8(0x3b3)][_0xe6fcf8(0x3cd)](_0x2c717a['OfflineState'],this['unitID'],this[_0xe6fcf8(0x527)],this[_0xe6fcf8(0x48a)],[],this[_0xe6fcf8(0x1e2)]);}[_0x4ef07c(0x3af)](){return this;}['resend'](){var _0x1509a7=_0x4ef07c;this[_0x1509a7(0x1e2)][_0x1509a7(0x36d)](this[_0x1509a7(0x48a)]);}[_0x4ef07c(0x34c)](_0x323f58){var _0x22ad1c=_0x4ef07c;return this[_0x22ad1c(0x3db)](),this['_injector']['createInstance'](_0x2c717a[_0x22ad1c(0x312)],this['unitID'],this[_0x22ad1c(0x527)],this[_0x22ad1c(0x48a)],[],this[_0x22ad1c(0x1e2)],_0x323f58);}['_resendWithTimeout'](_0x41376d,_0xc17870){var _0x529656=_0x4ef07c,_0x4e1090;_0x41376d===((_0x4e1090=this[_0x529656(0x48a)])==null?void 0x0:_0x4e1090[_0x529656(0x2c8)])&&(this[_0x529656(0x2c2)](),this['_resendTimeout']=_0xc17870===0x0?0x3e8:Math[_0x529656(0x467)](_0xc17870*0x2,_0x377f2d),this['_maxTotalRetryTimeout']+=this[_0x529656(0x2aa)]);}[_0x4ef07c(0x3db)](){var _0x597dcc=_0x4ef07c,_0x1c58df;(_0x1c58df=this[_0x597dcc(0x1ec)])==null||_0x1c58df[_0x597dcc(0x22b)](),this['_resendTimeout']=0x0,this[_0x597dcc(0x374)]=0x0;}},_0x2c717a[_0x4ef07c(0x4b1)]=_0x1b743b([_0x2ed7f1(0x4,_0x5a87f6['Inject'](_0x5a87f6[_0x4ef07c(0x242)])),_0x2ed7f1(0x5,_0x5a87f6['Inject'](_0x9d3528[_0x4ef07c(0x1f2)])),_0x2ed7f1(0x6,_0x5a87f6['ICommandService']),_0x2ed7f1(0x7,_0x5a87f6[_0x4ef07c(0x546)]),_0x2ed7f1(0x8,_0x9d3528[_0x4ef07c(0x2b6)]),_0x2ed7f1(0x9,_0x5a87f6[_0x4ef07c(0x3d2)]),_0x2ed7f1(0xa,_0x5a87f6[_0x4ef07c(0x2fb)](_0x11ccb1))],_0x2c717a['AwaitingState']),_0x2c717a['AwaitingWithPendingState']=class extends _0x4f4aaa{constructor(_0x442da4,_0x47c147,_0x37c7c0,_0xd51701,_0x277a35,_0x23c57d,_0x2c5f94,_0x40edf4,_0x5ab1d2,_0x1af432,_0x42f569,_0x2d76e4,_0x198393){var _0x1b0041=_0x4ef07c;super(_0x442da4,_0x47c147,_0x37c7c0,_0xd51701,_0x277a35,_0x5ab1d2,_0x2d76e4,_0x40edf4,_0x198393),_0x27ebba(this,_0x1b0041(0x45c),_0x1b0041(0x554)),_0x27ebba(this,_0x1b0041(0x2aa),0x0),_0x27ebba(this,_0x1b0041(0x374),0x0),_0x27ebba(this,_0x1b0041(0x1de)),_0x27ebba(this,'_sender'),(this[_0x1b0041(0x3b3)]=_0x2c5f94,this[_0x1b0041(0x1df)]=_0x1af432,this[_0x1b0041(0x4d6)]=_0x42f569,this[_0x1b0041(0x332)]=_0x198393,_0x23c57d&&(this[_0x1b0041(0x1de)]=_0x23c57d,this[_0x1b0041(0x1ec)]=this[_0x1b0041(0x1de)][_0x1b0041(0x2ce)](({reqId:_0x256125,timeout:_0x490a26})=>{var _0x2163a1=_0x1b0041;this[_0x2163a1(0x422)](_0x256125,_0x490a26);})));}[_0x4ef07c(0x2e8)](_0x19a5bc){var _0x543889=_0x4ef07c;return this[_0x543889(0x486)][_0x543889(0x306)](_0x19a5bc),this;}['onRemoteChangeset'](_0x339cfa){var _0x2f0c88=_0x4ef07c;if(this['_checkMissing'](_0x339cfa))return this[_0x2f0c88(0x3db)](),this[_0x2f0c88(0x3b3)]['createInstance'](_0x2c717a[_0x2f0c88(0x27a)],this['unitID'],this[_0x2f0c88(0x527)],this['_awaitingChangeset'],this[_0x2f0c88(0x486)],null,[_0x339cfa],this[_0x2f0c88(0x1e2)]);try{const _0x369004=this[_0x2f0c88(0x4d6)][_0x2f0c88(0x205)]([_0x339cfa],[this['_awaitingChangeset']],!0x1);if(_0x9d3528['isTransformChangesetsSuccess'](_0x369004)){const {c1Prime:_0x225815,c2Prime:_0x56b1e1}=_0x369004,_0x3125e7=this['_transformService'][_0x2f0c88(0x4cd)](_0x225815[0x0],this[_0x2f0c88(0x486)]);if(_0x9d3528[_0x2f0c88(0x364)](_0x3125e7)){const {c1Prime:_0x1837b5,m2Prime:_0x36f82c}=_0x3125e7;return this['_executeRemoteChangeset'](_0x1837b5),_0x56b1e1[0x0]['baseRev']=this[_0x2f0c88(0x40d)](),this['_clearScheduledTask'](),this[_0x2f0c88(0x3b3)][_0x2f0c88(0x3cd)](_0x2c717a['AwaitingWithPendingState'],this[_0x2f0c88(0x3f1)],this[_0x2f0c88(0x527)],_0x56b1e1[0x0],_0x36f82c,this['_handler'],void 0x0);}throw _0x3125e7[_0x2f0c88(0x456)];}throw _0x369004[_0x2f0c88(0x456)];}catch(_0x505962){return this[_0x2f0c88(0x1df)]['error'](_0x505962),this[_0x2f0c88(0x34c)](!0x1);}}['onRemoteAck'](_0x43c0fa){var _0x34d769=_0x4ef07c;if(this[_0x34d769(0x3db)](),this[_0x34d769(0x203)](_0x43c0fa))return this[_0x34d769(0x3b3)][_0x34d769(0x3cd)](_0x2c717a[_0x34d769(0x27a)],this[_0x34d769(0x3f1)],this['type'],null,this[_0x34d769(0x486)],this[_0x34d769(0x48a)],[],this[_0x34d769(0x1e2)]);this[_0x34d769(0x4f5)]();const _0x5339fb=this[_0x34d769(0x3b3)]['createInstance'](_0x2c717a[_0x34d769(0x43c)],this['unitID'],this[_0x34d769(0x527)],this[_0x34d769(0x486)],this[_0x34d769(0x1e2)]);return _0x5339fb[_0x34d769(0x264)](),_0x5339fb[_0x34d769(0x474)](),_0x5339fb;}[_0x4ef07c(0x375)](_0x4f7582){var _0x31b41f=_0x4ef07c;return this[_0x31b41f(0x34c)](!!(_0x4f7582!=null&&_0x4f7582[_0x31b41f(0x38a)]));}[_0x4ef07c(0x2c3)](_0x4cb77a){var _0x922944=_0x4ef07c;return this['_maxTotalRetryTimeout']>_0x152f5d?this[_0x922944(0x544)]():(this[_0x922944(0x1de)]=_0x260427(this['_resendTimeout'],{'timeout':this[_0x922944(0x2aa)],'reqId':_0x4cb77a[_0x922944(0x2c8)]}),this['_sender']=this[_0x922944(0x1de)]['subscribe'](({reqId:_0x22e351,timeout:_0x1a4fc7})=>{var _0x30bae3=_0x922944;this[_0x30bae3(0x422)](_0x22e351,_0x1a4fc7);}),this);}['toggleOffline'](){var _0x311f60=_0x4ef07c;return this[_0x311f60(0x3db)](),this[_0x311f60(0x3b3)]['createInstance'](_0x2c717a['OfflineState'],this[_0x311f60(0x3f1)],this[_0x311f60(0x527)],this[_0x311f60(0x48a)],this[_0x311f60(0x486)],this[_0x311f60(0x1e2)]);}[_0x4ef07c(0x3af)](){return this;}[_0x4ef07c(0x2c2)](){var _0xcece28=_0x4ef07c;this[_0xcece28(0x1e2)][_0xcece28(0x36d)](this['_awaitingChangeset']);}[_0x4ef07c(0x34c)](_0x18df1d){var _0x186724=_0x4ef07c;return this[_0x186724(0x3db)](),this[_0x186724(0x3b3)][_0x186724(0x3cd)](_0x2c717a['ConflictState'],this[_0x186724(0x3f1)],this['type'],null,this[_0x186724(0x486)],this[_0x186724(0x1e2)],_0x18df1d);}[_0x4ef07c(0x422)](_0x51b38a,_0x55291f){var _0x558538=_0x4ef07c,_0x266e5b;_0x51b38a===((_0x266e5b=this[_0x558538(0x48a)])==null?void 0x0:_0x266e5b[_0x558538(0x2c8)])&&(this[_0x558538(0x2c2)](),this[_0x558538(0x2aa)]=_0x55291f===0x0?0x3e8:Math[_0x558538(0x467)](_0x55291f*0x2,_0x377f2d),this[_0x558538(0x374)]+=this[_0x558538(0x2aa)]);}[_0x4ef07c(0x3db)](){var _0x5f8986=_0x4ef07c,_0x48b1cf;(_0x48b1cf=this[_0x5f8986(0x1ec)])==null||_0x48b1cf[_0x5f8986(0x22b)](),this['_resendTimeout']=0x0,this[_0x5f8986(0x374)]=0x0;}},_0x2c717a[_0x4ef07c(0x41c)]=_0x1b743b([_0x2ed7f1(0x6,_0x5a87f6[_0x4ef07c(0x2f6)](_0x5a87f6['Injector'])),_0x2ed7f1(0x7,_0x5a87f6[_0x4ef07c(0x2f6)](_0x9d3528[_0x4ef07c(0x1f2)])),_0x2ed7f1(0x8,_0x5a87f6['ICommandService']),_0x2ed7f1(0x9,_0x5a87f6[_0x4ef07c(0x546)]),_0x2ed7f1(0xa,_0x9d3528['ITransformService']),_0x2ed7f1(0xb,_0x5a87f6[_0x4ef07c(0x3d2)]),_0x2ed7f1(0xc,_0x5a87f6[_0x4ef07c(0x2fb)](_0x11ccb1))],_0x2c717a[_0x4ef07c(0x41c)]),_0x2c717a[_0x4ef07c(0x312)]=class extends _0x4f4aaa{constructor(_0x37d800,_0x1c3d46,_0xbc411a,_0x362abf,_0x4f7279,_0x2c4eee=!0x1,_0x4fce6f,_0x3e4b9a,_0x8a43f3,_0x28217b,_0x3d46fe,_0x527c4e,_0x18fc18){var _0x3dbe4d=_0x4ef07c;super(_0x37d800,_0x1c3d46,_0xbc411a,_0x362abf,_0x4f7279,_0x3e4b9a,_0x8a43f3,_0x28217b,_0x18fc18),_0x27ebba(this,_0x3dbe4d(0x45c),_0x3dbe4d(0x2dc)),(this['_isPermissionRej']=_0x2c4eee,this['_permissionService']=_0x4fce6f,this['_localeService']=_0x3d46fe,this[_0x3dbe4d(0x333)]=_0x527c4e,this[_0x3dbe4d(0x332)]=_0x18fc18,this[_0x3dbe4d(0x322)](),this[_0x3dbe4d(0x1c9)](),this[_0x3dbe4d(0x218)]());}[_0x4ef07c(0x2e8)](){return this;}[_0x4ef07c(0x36b)](){return this;}[_0x4ef07c(0x26c)](){return this;}[_0x4ef07c(0x375)](){return this;}[_0x4ef07c(0x2c3)](){return this;}[_0x4ef07c(0x544)](){return this;}[_0x4ef07c(0x3af)](){return this;}[_0x4ef07c(0x2c2)](){var _0x45ba00=_0x4ef07c;throw new Error(_0x45ba00(0x2ba));}[_0x4ef07c(0x1c9)](){var _0x22cb89=_0x4ef07c,_0xb5009f;(_0xb5009f=this[_0x22cb89(0x4d9)])==null||_0xb5009f[_0x22cb89(0x4c6)](this[_0x22cb89(0x3f1)],this[_0x22cb89(0x527)],null,[]);}[_0x4ef07c(0x322)](){var _0x169ef6=_0x4ef07c;this[_0x169ef6(0x28c)]?this[_0x169ef6(0x333)]['emitEvent']({'id':_0x28846f[_0x169ef6(0x2f4)]}):this[_0x169ef6(0x333)][_0x169ef6(0x446)]({'id':_0x28846f[_0x169ef6(0x1d0)]});}[_0x4ef07c(0x218)](){var _0x244008=_0x4ef07c;this[_0x244008(0x20e)][_0x244008(0x3ab)](new _0x2dec7c['WorkbookEditablePermission'](this[_0x244008(0x3f1)])['id'],!0x1);}},_0x2c717a['ConflictState']=_0x1b743b([_0x2ed7f1(0x6,_0x5a87f6[_0x4ef07c(0x2f6)](_0x5a87f6[_0x4ef07c(0x53b)])),_0x2ed7f1(0x7,_0x5a87f6[_0x4ef07c(0x217)]),_0x2ed7f1(0x8,_0x5a87f6[_0x4ef07c(0x3d2)]),_0x2ed7f1(0x9,_0x5a87f6['Inject'](_0x9d3528[_0x4ef07c(0x1f2)])),_0x2ed7f1(0xa,_0x5a87f6[_0x4ef07c(0x2f6)](_0x5a87f6[_0x4ef07c(0x44c)])),_0x2ed7f1(0xb,_0x5a87f6[_0x4ef07c(0x2f6)](_0x596edb)),_0x2ed7f1(0xc,_0x5a87f6[_0x4ef07c(0x2fb)](_0x11ccb1))],_0x2c717a[_0x4ef07c(0x312)]),_0x2c717a[_0x4ef07c(0x347)]=class extends _0x4f4aaa{constructor(_0x3713c0,_0x5199bc,_0x3985ce,_0x2dcdc7,_0x4674be,_0x2a3af7,_0x66bf14,_0x371fb6,_0x391298,_0x1de195){var _0xc36b4b=_0x4ef07c;super(_0x3713c0,_0x5199bc,_0x3985ce,_0x2dcdc7,_0x4674be,_0x371fb6,_0x391298,_0x66bf14,_0x1de195),_0x27ebba(this,_0xc36b4b(0x45c),'offline'),this['_injector']=_0x2a3af7;}[_0x4ef07c(0x2e8)](_0x4be880){var _0x5db3f4=_0x4ef07c;return this[_0x5db3f4(0x486)][_0x5db3f4(0x306)](_0x4be880),this[_0x5db3f4(0x474)](),this;}[_0x4ef07c(0x36b)](_0x49076c){var _0x25ee73=_0x4ef07c;throw new Error(_0x25ee73(0x3a4));}[_0x4ef07c(0x26c)](){var _0x152126=_0x4ef07c;throw new Error(_0x152126(0x42c));}[_0x4ef07c(0x375)](){var _0x5b1d44=_0x4ef07c;throw new Error(_0x5b1d44(0x2ec));}[_0x4ef07c(0x2c3)](){return this;}[_0x4ef07c(0x544)](){return this;}[_0x4ef07c(0x3af)](){var _0x238e02=_0x4ef07c;const {_injector:_0x52dd7d,_pendingMutations:_0x1a52d2,_awaitingChangeset:_0x55e715,unitID:_0x546252,_handler:_0x64be04,type:_0x16f5b2}=this,_0xca5256=_0x107772(_0x52dd7d,_0x546252,_0x16f5b2,_0x55e715,_0x1a52d2,_0x64be04);return _0xca5256 instanceof _0x2c717a['PendingState']?_0xca5256[_0x238e02(0x264)]():(_0xca5256 instanceof _0x2c717a['AwaitingWithPendingState']||_0xca5256 instanceof _0x2c717a[_0x238e02(0x4b1)])&&_0xca5256['resend'](),_0xca5256;}[_0x4ef07c(0x2c2)](){var _0x3811e4=_0x4ef07c;throw new Error(_0x3811e4(0x37c));}},_0x2c717a[_0x4ef07c(0x347)]=_0x1b743b([_0x2ed7f1(0x5,_0x5a87f6[_0x4ef07c(0x2f6)](_0x5a87f6[_0x4ef07c(0x242)])),_0x2ed7f1(0x6,_0x5a87f6[_0x4ef07c(0x2f6)](_0x9d3528[_0x4ef07c(0x1f2)])),_0x2ed7f1(0x7,_0x5a87f6[_0x4ef07c(0x217)]),_0x2ed7f1(0x8,_0x5a87f6['IUndoRedoService']),_0x2ed7f1(0x9,_0x5a87f6[_0x4ef07c(0x2fb)](_0x11ccb1))],_0x2c717a[_0x4ef07c(0x347)]),_0x2c717a[_0x4ef07c(0x27a)]=class extends _0x4f4aaa{constructor(_0x20c22e,_0x21c033,_0x2c3f89,_0x113f22,_0x174e70,_0x4f61f6,_0x148252,_0x454823,_0xca03da,_0x3dbc79,_0x1ad411,_0xa349f,_0x15b6b1,_0x4680e9){var _0x52857e=_0x4ef07c;super(_0x20c22e,_0x21c033,_0x2c3f89,_0x113f22,_0x148252,_0x1ad411,_0xa349f,_0xca03da,_0x4680e9),_0x27ebba(this,_0x52857e(0x45c),'fetch_missing'),(this['_acknowledgedAwaitingChangeset']=_0x174e70,this[_0x52857e(0x21f)]=_0x4f61f6,this['_injector']=_0x454823,this[_0x52857e(0x1df)]=_0x3dbc79,this[_0x52857e(0x4d6)]=_0x15b6b1,this[_0x52857e(0x332)]=_0x4680e9);}[_0x4ef07c(0x30c)](_0x5e9f7d){var _0x469b52=_0x4ef07c;try{const _0x28679e=[..._0x5e9f7d,...this[_0x469b52(0x21f)]],_0x376690=[this[_0x469b52(0x48a)]||this['_acknowledgedAwaitingChangeset']][_0x469b52(0x320)](_0x593039=>!!_0x593039);let _0x67f333,_0x40e2d7;if(_0x376690[_0x469b52(0x3aa)]){const _0x28fee5=this['_transformService'][_0x469b52(0x205)](_0x28679e,_0x376690,!0x1);if(!_0x9d3528['isTransformChangesetsSuccess'](_0x28fee5))throw _0x28fee5['error'];_0x67f333=_0x28fee5['c1Prime'],_0x40e2d7=_0x28fee5[_0x469b52(0x46a)];}else _0x67f333=_0x28679e,_0x40e2d7=[];let _0x13d006=this['_pendingMutations'];_0x67f333[_0x469b52(0x482)](_0x42e2d9=>{var _0x367472=_0x469b52;let _0x5e5637;if(_0x13d006[_0x367472(0x3aa)]){const _0x364e21=this['_transformService'][_0x367472(0x4cd)](_0x42e2d9,_0x13d006);if(!_0x9d3528[_0x367472(0x364)](_0x364e21))throw _0x364e21['error'];_0x5e5637=_0x364e21[_0x367472(0x4bf)],_0x13d006=_0x364e21[_0x367472(0x2d8)];}else _0x5e5637=_0x42e2d9;this[_0x367472(0x518)](_0x5e5637);}),this['_acknowledgedAwaitingChangeset']&&this[_0x469b52(0x4f5)](),this[_0x469b52(0x48a)]&&_0x40e2d7[_0x469b52(0x3aa)]&&(_0x40e2d7[0x0][_0x469b52(0x46b)]=this[_0x469b52(0x40d)]());let _0x181746;if(this[_0x469b52(0x48a)]&&_0x13d006[_0x469b52(0x3aa)]!==0x0)_0x181746=this[_0x469b52(0x3b3)][_0x469b52(0x3cd)](_0x2c717a[_0x469b52(0x41c)],this['unitID'],this[_0x469b52(0x527)],_0x40e2d7[0x0],_0x13d006,this[_0x469b52(0x1e2)],void 0x0);else{if(this[_0x469b52(0x48a)]&&_0x13d006[_0x469b52(0x3aa)]===0x0)_0x40e2d7[0x0]['baseRev']=this['_getCurrentRevision'](),_0x181746=this[_0x469b52(0x3b3)]['createInstance'](_0x2c717a[_0x469b52(0x4b1)],this[_0x469b52(0x3f1)],this[_0x469b52(0x527)],_0x40e2d7[0x0],this[_0x469b52(0x1e2)]);else{if(_0x13d006[_0x469b52(0x3aa)]!==0x0){const _0x28107e=this['_injector'][_0x469b52(0x3cd)](_0x2c717a[_0x469b52(0x43c)],this['unitID'],this['type'],_0x13d006,this[_0x469b52(0x1e2)]);_0x28107e['_schedule'](),_0x181746=_0x28107e;}else _0x181746=this[_0x469b52(0x3b3)][_0x469b52(0x3cd)](_0x2c717a[_0x469b52(0x51c)],this[_0x469b52(0x3f1)],this[_0x469b52(0x527)],this['_handler']);}}return _0x181746[_0x469b52(0x474)](),_0x181746;}catch(_0x153cd8){return this[_0x469b52(0x1df)][_0x469b52(0x456)](_0x469b52(0x4c5),'failed\x20to\x20apply\x20missed\x20changesets!',_0x153cd8),this[_0x469b52(0x3b3)]['createInstance'](_0x2c717a[_0x469b52(0x312)],this[_0x469b52(0x3f1)],this['type'],this[_0x469b52(0x48a)],this[_0x469b52(0x486)],this[_0x469b52(0x1e2)],!0x1);}}[_0x4ef07c(0x2c2)](){var _0x167cf4=_0x4ef07c;throw new Error(_0x167cf4(0x350));}[_0x4ef07c(0x2e8)](_0x346e47){var _0x3cc023=_0x4ef07c;return this[_0x3cc023(0x486)]['push'](_0x346e47),this;}[_0x4ef07c(0x36b)](_0x51f825){var _0x983db5=_0x4ef07c;return this[_0x983db5(0x21f)][_0x983db5(0x306)](_0x51f825),this;}[_0x4ef07c(0x26c)](_0xe67d33){var _0x45f244=_0x4ef07c;if(this[_0x45f244(0x48a)])return this[_0x45f244(0x29a)]=this[_0x45f244(0x48a)],this[_0x45f244(0x48a)]=null,this;throw new Error(_0x45f244(0x2fe));}[_0x4ef07c(0x375)](_0x276d2f){var _0xc482a7=_0x4ef07c;return this['_onConflict'](!!(_0x276d2f!=null&&_0x276d2f[_0xc482a7(0x38a)]));}[_0x4ef07c(0x2c3)](){return this;}['toggleOffline'](){var _0x3a8316=_0x4ef07c;return this[_0x3a8316(0x3b3)][_0x3a8316(0x3cd)](_0x2c717a['OfflineState'],this['unitID'],this[_0x3a8316(0x527)],this[_0x3a8316(0x48a)],this[_0x3a8316(0x486)],this['_handler']);}[_0x4ef07c(0x3af)](){return this;}['_onConflict'](_0x38bca0){var _0x150078=_0x4ef07c;return this[_0x150078(0x3b3)]['createInstance'](_0x2c717a['ConflictState'],this['unitID'],this[_0x150078(0x527)],this['_awaitingChangeset'],this[_0x150078(0x486)],this[_0x150078(0x1e2)],_0x38bca0);}},_0x2c717a[_0x4ef07c(0x27a)]=_0x1b743b([_0x2ed7f1(0x7,_0x5a87f6[_0x4ef07c(0x2f6)](_0x5a87f6[_0x4ef07c(0x242)])),_0x2ed7f1(0x8,_0x5a87f6[_0x4ef07c(0x2f6)](_0x9d3528['RevisionService'])),_0x2ed7f1(0x9,_0x5a87f6[_0x4ef07c(0x546)]),_0x2ed7f1(0xa,_0x5a87f6['ICommandService']),_0x2ed7f1(0xb,_0x5a87f6['IUndoRedoService']),_0x2ed7f1(0xc,_0x9d3528[_0x4ef07c(0x2b6)]),_0x2ed7f1(0xd,_0x5a87f6[_0x4ef07c(0x2fb)](_0x11ccb1))],_0x2c717a[_0x4ef07c(0x27a)]);function _0x107772(_0x308391,_0x1365fc,_0x4ca2ca,_0x318258,_0x2dd51e,_0x3653da){var _0x4823e7=_0x4ef07c;return _0x318258&&_0x2dd51e[_0x4823e7(0x3aa)]?_0x308391[_0x4823e7(0x3cd)](_0x2c717a[_0x4823e7(0x41c)],_0x1365fc,_0x4ca2ca,_0x318258,_0x2dd51e,_0x3653da,void 0x0):_0x318258?_0x308391['createInstance'](_0x2c717a[_0x4823e7(0x4b1)],_0x1365fc,_0x4ca2ca,_0x318258,_0x3653da):_0x2dd51e[_0x4823e7(0x3aa)]?_0x308391[_0x4823e7(0x3cd)](_0x2c717a[_0x4823e7(0x43c)],_0x1365fc,_0x4ca2ca,_0x2dd51e,_0x3653da):_0x308391[_0x4823e7(0x3cd)](_0x2c717a[_0x4823e7(0x51c)],_0x1365fc,_0x4ca2ca,_0x3653da);}var _0x1ded19=Object['getOwnPropertyDescriptor'],_0xcc55ce=(_0x49ee11,_0x5ef584,_0x26e51c,_0x5a967e)=>{var _0x2c1af5=_0x4ef07c;for(var _0x19366e=_0x5a967e>0x1?void 0x0:_0x5a967e?_0x1ded19(_0x5ef584,_0x26e51c):_0x5ef584,_0x566240=_0x49ee11[_0x2c1af5(0x3aa)]-0x1,_0x4f8804;_0x566240>=0x0;_0x566240--)(_0x4f8804=_0x49ee11[_0x566240])&&(_0x19366e=_0x4f8804(_0x19366e)||_0x19366e);return _0x19366e;},_0x748969=(_0x3cfa8d,_0x3a690d)=>(_0x463b7b,_0x43eb6e)=>_0x3a690d(_0x463b7b,_0x43eb6e,_0x3cfa8d);_0x2c717a[_0x4ef07c(0x2b0)]=class extends _0x5a87f6[_0x4ef07c(0x244)]{constructor(_0x13d69b,_0xc96c5e,_0x48ee34,_0x10c686,_0x22324c,_0x3b38a0,_0x470e02,_0x28b9ba,_0xc080dd,_0x52f2e4,_0x5d0f27,_0x1805a5,_0x8d8c23,_0x43b0b2){var _0x592ab5=_0x4ef07c;super(),_0x27ebba(this,_0x592ab5(0x342),new _0x49c451[(_0x592ab5(0x32a))](null)),_0x27ebba(this,_0x592ab5(0x253),this[_0x592ab5(0x342)]['asObservable']()),_0x27ebba(this,'_state'),_0x27ebba(this,_0x592ab5(0x4de),!0x1),_0x27ebba(this,_0x592ab5(0x27d),''),_0x27ebba(this,_0x592ab5(0x555),0x0),_0x27ebba(this,_0x592ab5(0x349),this[_0x592ab5(0x253)][_0x592ab5(0x50f)](_0x49c451[_0x592ab5(0x277)](_0x2f8260=>_0x2f8260?_0x2f8260[_0x592ab5(0x45c)]:_0x12c0ef[_0x592ab5(0x391)]),_0x49c451['shareReplay'](0x1))),_0x27ebba(this,'_transitionLocked',!0x1),_0x27ebba(this,'_remoteChangesetQueue',[]),(this[_0x592ab5(0x3f1)]=_0x13d69b,this['session']=_0xc96c5e,this[_0x592ab5(0x4e5)]=_0x48ee34,this[_0x592ab5(0x3b3)]=_0x10c686,this[_0x592ab5(0x488)]=_0x22324c,this[_0x592ab5(0x268)]=_0x3b38a0,this[_0x592ab5(0x458)]=_0x470e02,this[_0x592ab5(0x537)]=_0x28b9ba,this[_0x592ab5(0x25a)]=_0xc080dd,this[_0x592ab5(0x1df)]=_0x52f2e4,this[_0x592ab5(0x2e6)]=_0x5d0f27,this[_0x592ab5(0x20e)]=_0x1805a5,this[_0x592ab5(0x3c5)]=_0x8d8c23,this[_0x592ab5(0x4d9)]=_0x43b0b2);}get[_0x4ef07c(0x30e)](){var _0x4fb77b=_0x4ef07c;return this[_0x4fb77b(0x523)];}async[_0x4ef07c(0x2a8)](){var _0x48929d=_0x4ef07c;if(this[_0x48929d(0x30e)])throw new Error(_0x48929d(0x20f));await this['_init']();}['pauseCollaboration'](){var _0x27c71f=_0x4ef07c;return this[_0x27c71f(0x4de)]=!0x0,_0x5a87f6[_0x27c71f(0x2c5)](()=>{var _0x235d2a=_0x27c71f;this[_0x235d2a(0x4de)]=!0x1,this[_0x235d2a(0x25f)]();});}['onLocalMutation'](_0x395c9f){var _0x3215b4=_0x4ef07c;this[_0x3215b4(0x528)](_0x395c9f);}[_0x4ef07c(0x496)](_0x59b3f2){var _0x45f5e1=_0x4ef07c;this[_0x45f5e1(0x523)]=_0x59b3f2,this['_state$'][_0x45f5e1(0x534)](_0x59b3f2);}async[_0x4ef07c(0x3da)](){var _0x3e7f64=_0x4ef07c,_0x4c048e;this[_0x3e7f64(0x496)](await this[_0x3e7f64(0x210)]()),this['_singleActiveUnitService']&&((_0x4c048e=this[_0x3e7f64(0x3c5)])==null||_0x4c048e[_0x3e7f64(0x55c)](this[_0x3e7f64(0x3f1)]),this[_0x3e7f64(0x4bb)](this[_0x3e7f64(0x3c5)][_0x3e7f64(0x1fd)](this[_0x3e7f64(0x3f1)])[_0x3e7f64(0x2ce)](_0x320dd2=>{var _0x47c1b1=_0x3e7f64;this[_0x47c1b1(0x1df)][_0x47c1b1(0x3a5)](_0x47c1b1(0x26d),'editing\x20status\x20changed\x20to',_0x320dd2),_0x320dd2===_0x11b621['OTHER_CLIENTS_EDITING']?(this[_0x47c1b1(0x537)][_0x47c1b1(0x446)]({'id':_0x28846f[_0x47c1b1(0x23e)]}),this['_permissionService'][_0x47c1b1(0x3ab)](new _0x2dec7c[(_0x47c1b1(0x40b))](this[_0x47c1b1(0x3f1)])['id'],!0x1),this[_0x47c1b1(0x20e)]['setShowComponents'](!0x1)):(this[_0x47c1b1(0x20e)]['updatePermissionPoint'](new _0x2dec7c[(_0x47c1b1(0x40b))](this[_0x47c1b1(0x3f1)])['id'],!0x0),this['_permissionService'][_0x47c1b1(0x216)](!0x0));})));let _0x2a1471=!0x1;return this['disposeWithMe'](this[_0x3e7f64(0x54f)][_0x3e7f64(0x284)]['subscribe'](_0x449ba1=>{var _0xad2550=_0x3e7f64;_0x449ba1===_0x14cf5c[_0xad2550(0x2e2)]?this[_0xad2550(0x39c)](_0x2a1471):_0x449ba1===_0x14cf5c[_0xad2550(0x391)]&&(_0x2a1471=!0x0,this[_0xad2550(0x2d4)]());})),this[_0x3e7f64(0x4bb)](this[_0x3e7f64(0x54f)]['event$'][_0x3e7f64(0x2ce)](_0xa99ee8=>{var _0xe54fba=_0x3e7f64;try{switch(_0xa99ee8[_0xe54fba(0x3f7)]){case _0x9d3528[_0xe54fba(0x328)]['NEW_CHANGESETS']:{this[_0xe54fba(0x285)](_0x9d3528[_0xe54fba(0x50b)](_0xa99ee8[_0xe54fba(0x511)]));break;}case _0x9d3528['CollaborationEvent'][_0xe54fba(0x258)]:{this['_onRemoteACK'](_0xa99ee8[_0xe54fba(0x511)]);break;}case _0x9d3528[_0xe54fba(0x328)]['CHANGESET_REJ']:{this[_0xe54fba(0x297)]();break;}case _0x9d3528['CollaborationEvent'][_0xe54fba(0x31d)]:{this[_0xe54fba(0x3ba)](_0xa99ee8['data']);break;}case _0x9d3528[_0xe54fba(0x328)]['PSEUDO_FETCH_MISSING_RESULT']:{this['_onFetchMissResult'](_0xa99ee8[_0xe54fba(0x511)][_0xe54fba(0x437)]['map'](_0x39d4e6=>_0x9d3528['parseProtocolChangeset'](_0x39d4e6)));break;}case _0x9d3528[_0xe54fba(0x328)]['PERMISSION_REJ']:{this[_0xe54fba(0x297)]({'isPermissionRej':!0x0});break;}case _0x9d3528[_0xe54fba(0x328)][_0xe54fba(0x4f3)]:break;}}catch(_0xa9ba6b){throw console[_0xe54fba(0x456)](_0xe54fba(0x4d7),_0xa9ba6b),_0xa9ba6b;}})),this[_0x3e7f64(0x523)];}[_0x4ef07c(0x288)](){var _0x1da848=_0x4ef07c;this[_0x1da848(0x3c6)]=!0x1;}[_0x4ef07c(0x538)](){var _0x44bb03=_0x4ef07c;if(this[_0x44bb03(0x3c6)])throw new Error(_0x44bb03(0x1cd));this['_transitionLocked']=!0x0;}['_onLocalMutation'](_0x461841){var _0x376082=_0x4ef07c;this[_0x376082(0x538)](),this[_0x376082(0x496)](this['_state']['appendMutation'](_0x461841)),this[_0x376082(0x288)]();}[_0x4ef07c(0x285)](_0x1925fa){var _0x3999ac=_0x4ef07c;if(!(_0x1925fa[_0x3999ac(0x3c2)]<=this[_0x3999ac(0x458)][_0x3999ac(0x526)](this['unitID']))){if(this[_0x3999ac(0x4de)]){this[_0x3999ac(0x353)]['push'](_0x1925fa);return;}this[_0x3999ac(0x3e8)](_0x1925fa);}}[_0x4ef07c(0x25f)](){var _0x17e343=_0x4ef07c;this[_0x17e343(0x353)][_0x17e343(0x482)](_0x3e1877=>this[_0x17e343(0x3e8)](_0x3e1877)),this[_0x17e343(0x353)]=[];}[_0x4ef07c(0x3e8)](_0x125de3){var _0x6c5f8a=_0x4ef07c;const _0x49272f=this['_compressMutationService']['interceptor'][_0x6c5f8a(0x493)](this['_compressMutationService']['interceptor']['getInterceptPoints']()[_0x6c5f8a(0x4a0)])(_0x125de3[_0x6c5f8a(0x519)],null)||_0x125de3[_0x6c5f8a(0x519)],_0x3bec3c={..._0x125de3,'mutations':_0x49272f};this[_0x6c5f8a(0x538)](),this[_0x6c5f8a(0x496)](this['_state'][_0x6c5f8a(0x36b)](_0x3bec3c)),this['_unlockTransition']();}[_0x4ef07c(0x547)](_0x1f1ce6){var _0x11351c=_0x4ef07c;this[_0x11351c(0x538)](),this[_0x11351c(0x496)](this[_0x11351c(0x523)]['onRemoteAck'](_0x1f1ce6)),this[_0x11351c(0x288)]();}['_onRemoteRejected'](_0x1e549a){var _0x2ed8de=_0x4ef07c;this[_0x2ed8de(0x538)](),this[_0x2ed8de(0x496)](this[_0x2ed8de(0x523)]['onRemoteRej'](_0x1e549a)),this[_0x2ed8de(0x288)]();}[_0x4ef07c(0x3ba)](_0xb9bed6){var _0x378043=_0x4ef07c;this[_0x378043(0x538)](),this[_0x378043(0x496)](this['_state'][_0x378043(0x2c3)](_0xb9bed6)),this[_0x378043(0x288)]();}[_0x4ef07c(0x1e8)](_0x2fb49b){var _0x1278b6=_0x4ef07c;if(!(this[_0x1278b6(0x523)]instanceof _0x2c717a[_0x1278b6(0x27a)]))throw new TypeError('[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!');const _0x57cd1b=_0x2fb49b['map'](_0x5a8740=>{var _0x54848f=_0x1278b6;const _0x3f1b05=this['_compressMutationService'][_0x54848f(0x1fa)][_0x54848f(0x493)](this['_compressMutationService'][_0x54848f(0x1fa)]['getInterceptPoints']()['COMPRESS_MUTATION_APPLY'])(_0x5a8740[_0x54848f(0x519)],null)||_0x5a8740[_0x54848f(0x519)];return{..._0x5a8740,'mutations':_0x3f1b05};});this[_0x1278b6(0x538)](),this[_0x1278b6(0x496)](this[_0x1278b6(0x523)]['onMissedChangesetFetched'](_0x57cd1b)),this['_unlockTransition']();}[_0x4ef07c(0x2d4)](){var _0x207177=_0x4ef07c;this[_0x207177(0x538)](),this[_0x207177(0x496)](this['_state'][_0x207177(0x544)]()),this[_0x207177(0x288)]();}[_0x4ef07c(0x39c)](_0x5e2039=!0x1){var _0x23f39e=_0x4ef07c;this[_0x23f39e(0x538)](),this[_0x23f39e(0x496)](this[_0x23f39e(0x523)][_0x23f39e(0x3af)]()),this[_0x23f39e(0x288)]();const _0x93ddbf=this[_0x23f39e(0x523)];_0x5e2039&&_0x93ddbf instanceof _0x2c717a['SyncedState']&&(this['_lockTransition'](),this[_0x23f39e(0x496)](_0x93ddbf['fetchMiss']()),this[_0x23f39e(0x288)]());}async[_0x4ef07c(0x210)](){return new Promise(_0x62a308=>{var _0x499fef=_0x4d6f;this[_0x499fef(0x54f)]['sessionStatus$'][_0x499fef(0x50f)](_0x49c451['take'](0x1))['subscribe'](async _0x3125bc=>{_0x62a308(await this['_createInitialStateImpl'](_0x3125bc===_0x14cf5c['ONLINE']));});});}[_0x4ef07c(0x463)](){const _0x3311b2=this['unitID'];return{'onStateChange':(_0xc3bbdb,_0x5146b9)=>{var _0xb576ae=_0x4d6f;if(_0xc3bbdb!==this[_0xb576ae(0x523)])throw new Error(_0xb576ae(0x366)+_0xc3bbdb[_0xb576ae(0x45c)]+'\x0aAfter:\x20'+_0x5146b9[_0xb576ae(0x45c)]+'\x0aCurrent:\x20'+this[_0xb576ae(0x523)][_0xb576ae(0x45c)]);this['_updateState'](_0x5146b9);},'onSendChangeset':_0x3dc618=>{var _0x37e30c=_0x4d6f;_0x3dc618[_0x37e30c(0x33e)]||(_0x3dc618[_0x37e30c(0x33e)]=this[_0x37e30c(0x27d)],_0x3dc618['reqId']=++this[_0x37e30c(0x555)]);const _0x3c0c2a={'eventID':_0x9d3528['CollaborationEvent'][_0x37e30c(0x543)],'data':{'unitID':_0x3dc618[_0x37e30c(0x3f1)],'unitType':this[_0x37e30c(0x4e5)],'changeset':_0x3dc618,'memberID':this[_0x37e30c(0x54f)]['getMemberID']()}};this[_0x37e30c(0x54f)]['send'](_0x3c0c2a,this['unitID']);},'onMissingChangesets':({from:_0x2a11f4,to:_0x1aa286})=>{var _0xb18f06=_0x4d6f;this['_logService'][_0xb18f06(0x3a5)](_0xb18f06(0x26d),_0xb18f06(0x4ac)+_0x2a11f4+_0xb18f06(0x2f1)+_0x1aa286);const _0x23a09f={'eventID':_0x9d3528[_0xb18f06(0x328)]['FETCH_MISSING'],'data':{'unitID':_0x3311b2,'unitType':this[_0xb18f06(0x4e5)],'from':_0x2a11f4,'to':_0x1aa286}};this[_0xb18f06(0x54f)][_0xb18f06(0x26e)](_0x23a09f,this['unitID']);}};}async[_0x4ef07c(0x3b6)](_0x3eb9a3){var _0x28b4c0=_0x4ef07c,_0x49ab65,_0x4640b6,_0x2648f2;const _0x1ef185=await((_0x49ab65=this[_0x28b4c0(0x4d9)])==null?void 0x0:_0x49ab65[_0x28b4c0(0x325)](this['unitID'])),_0x5a5cc2=(_0x4640b6=_0x1ef185==null?void 0x0:_0x1ef185[_0x28b4c0(0x519)])!=null?_0x4640b6:[],_0x31a60c=(_0x2648f2=_0x1ef185==null?void 0x0:_0x1ef185[_0x28b4c0(0x28b)])!=null?_0x2648f2:null,_0x2f8826=!!(_0x31a60c!=null&&_0x31a60c[_0x28b4c0(0x33e)])&&!!(_0x31a60c!=null&&_0x31a60c[_0x28b4c0(0x2c8)]);this[_0x28b4c0(0x27d)]=_0x2f8826?_0x31a60c[_0x28b4c0(0x33e)]:_0x9d3528[_0x28b4c0(0x4fb)](),this[_0x28b4c0(0x555)]=_0x2f8826?_0x31a60c[_0x28b4c0(0x2c8)]:0x0;const _0x546cd0=this[_0x28b4c0(0x3f1)];try{this[_0x28b4c0(0x45d)](_0x31a60c,_0x5a5cc2);}catch(_0x2af8a4){this[_0x28b4c0(0x1df)]['error'](_0x2af8a4);}const _0x5ac864=this[_0x28b4c0(0x463)]();if(_0x3eb9a3){const _0x2b236b=_0x107772(this[_0x28b4c0(0x3b3)],_0x546cd0,this[_0x28b4c0(0x4e5)],_0x31a60c,_0x5a5cc2,_0x5ac864);return _0x2b236b instanceof _0x2c717a[_0x28b4c0(0x43c)]?_0x2b236b[_0x28b4c0(0x264)]():(_0x2b236b instanceof _0x2c717a['AwaitingWithPendingState']||_0x2b236b instanceof _0x2c717a[_0x28b4c0(0x4b1)])&&_0x2b236b[_0x28b4c0(0x2c2)](),_0x2b236b;}return this['_injector'][_0x28b4c0(0x3cd)](_0x2c717a['OfflineState'],_0x546cd0,this[_0x28b4c0(0x4e5)],_0x31a60c,_0x5a5cc2,_0x5ac864);}['_replayCachedMutations'](_0x4f848f,_0x418489){var _0x4cfaa3=_0x4ef07c,_0x50f213,_0x1dcfbf;const _0x17efc1=this[_0x4cfaa3(0x488)][_0x4cfaa3(0x1fa)][_0x4cfaa3(0x493)](this['_compressMutationService'][_0x4cfaa3(0x1fa)][_0x4cfaa3(0x4c4)]()[_0x4cfaa3(0x4a0)]);(_0x50f213=_0x17efc1((_0x4f848f==null?void 0x0:_0x4f848f[_0x4cfaa3(0x519)])||[],null))==null||_0x50f213[_0x4cfaa3(0x482)](_0x4172f1=>this[_0x4cfaa3(0x2e6)][_0x4cfaa3(0x41a)](_0x4172f1['id'],_0x4172f1[_0x4cfaa3(0x308)])),(_0x1dcfbf=_0x17efc1(_0x418489||[],null))==null||_0x1dcfbf[_0x4cfaa3(0x482)](_0x181f09=>this[_0x4cfaa3(0x2e6)][_0x4cfaa3(0x41a)](_0x181f09['id'],_0x181f09['params']));}},_0x2c717a[_0x4ef07c(0x2b0)]=_0xcc55ce([_0x748969(0x3,_0x5a87f6[_0x4ef07c(0x2f6)](_0x5a87f6[_0x4ef07c(0x242)])),_0x748969(0x4,_0x5a87f6['Inject'](_0x9d3528[_0x4ef07c(0x52a)])),_0x748969(0x5,_0x5a87f6['Inject'](_0x5a87f6['LocaleService'])),_0x748969(0x6,_0x5a87f6[_0x4ef07c(0x2f6)](_0x9d3528[_0x4ef07c(0x1f2)])),_0x748969(0x7,_0x5a87f6['Inject'](_0x596edb)),_0x748969(0x8,_0x5a87f6[_0x4ef07c(0x32b)]),_0x748969(0x9,_0x5a87f6[_0x4ef07c(0x546)]),_0x748969(0xa,_0x5a87f6[_0x4ef07c(0x217)]),_0x748969(0xb,_0x5a87f6[_0x4ef07c(0x53b)]),_0x748969(0xc,_0x5a87f6[_0x4ef07c(0x2fb)](_0x53cb33)),_0x748969(0xd,_0x5a87f6['Optional'](_0x11ccb1))],_0x2c717a[_0x4ef07c(0x2b0)]),_0x2c717a[_0x4ef07c(0x4ae)]=class extends _0x2c717a[_0x4ef07c(0x2b0)]{constructor(_0xc08884,_0xa0c65c,_0x4d92f4,_0x91ff85,_0x2b57e8,_0x2b9eef,_0x40002f,_0x3a6eec,_0x258c1b,_0x1ace60,_0x42083b,_0x40dedd,_0x2372a5,_0x58392d){var _0x358ab0=_0x4ef07c;super(_0xc08884,_0x4d92f4,_0xa0c65c,_0x91ff85,_0x2b57e8,_0x2b9eef,_0x40002f,_0x3a6eec,_0x258c1b,_0x1ace60,_0x42083b,_0x40dedd,_0x2372a5,_0x58392d),_0x27ebba(this,_0x358ab0(0x51f),null),(this['unitID']=_0xc08884,this[_0x358ab0(0x527)]=_0xa0c65c);}[_0x4ef07c(0x42b)](_0x2c03b4){var _0x2c4303=_0x4ef07c;this[_0x2c4303(0x51f)]=_0x2c03b4;}['dispose'](){var _0x49505d=_0x4ef07c;this[_0x49505d(0x51f)]=null,super[_0x49505d(0x35b)]();}[_0x4ef07c(0x463)](){var _0x286313=_0x4ef07c;const _0x6d552=super['_createHandler']();return _0x6d552[_0x286313(0x497)]=_0x233a4b=>{var _0x3d6dc6=_0x286313,_0x3ee7d6,_0xdab0ca;return(_0xdab0ca=(_0x3ee7d6=this[_0x3d6dc6(0x51f)])==null?void 0x0:_0x3ee7d6[_0x3d6dc6(0x497)])==null?void 0x0:_0xdab0ca[_0x3d6dc6(0x24b)](_0x3ee7d6,_0x233a4b);},_0x6d552[_0x286313(0x3df)]=_0x29add5=>{var _0x3e12a2=_0x286313,_0x55dd7f,_0x4eb9e0;return(_0x4eb9e0=(_0x55dd7f=this[_0x3e12a2(0x51f)])==null?void 0x0:_0x55dd7f[_0x3e12a2(0x3df)])==null?void 0x0:_0x4eb9e0[_0x3e12a2(0x24b)](_0x55dd7f,_0x29add5);},_0x6d552[_0x286313(0x2f0)]=_0x2260e7=>{var _0x3aac43=_0x286313,_0xdb7fc1,_0x34fc9e;return(_0x34fc9e=(_0xdb7fc1=this[_0x3aac43(0x51f)])==null?void 0x0:_0xdb7fc1['onTransformSelections'])==null?void 0x0:_0x34fc9e[_0x3aac43(0x24b)](_0xdb7fc1,_0x2260e7);},_0x6d552[_0x286313(0x3c0)]=_0x46e3a1=>{var _0x164078=_0x286313,_0x1a2c40,_0x34777d;return(_0x34777d=(_0x1a2c40=this['_handlerCallback'])==null?void 0x0:_0x1a2c40[_0x164078(0x3c0)])==null?void 0x0:_0x34777d[_0x164078(0x24b)](_0x1a2c40,_0x46e3a1);},_0x6d552[_0x286313(0x3d4)]=_0x40ed0a=>{var _0x19c96d=_0x286313,_0x539257,_0x494bf9,_0x3966d2;if(!((_0x539257=this[_0x19c96d(0x51f)])!=null&&_0x539257[_0x19c96d(0x3d4)]))throw new Error(_0x19c96d(0x201));return(_0x3966d2=(_0x494bf9=this[_0x19c96d(0x51f)])==null?void 0x0:_0x494bf9[_0x19c96d(0x3d4)])==null?void 0x0:_0x3966d2[_0x19c96d(0x24b)](_0x494bf9,_0x40ed0a);},_0x6d552[_0x286313(0x561)]=_0x3ff5cd=>{var _0x43e4a6=_0x286313,_0xd87f2c,_0x53e78b,_0x580199;if(!((_0xd87f2c=this[_0x43e4a6(0x51f)])!=null&&_0xd87f2c['onTransformRemoteChangesetByStateCache']))throw new Error(_0x43e4a6(0x477));return(_0x580199=(_0x53e78b=this[_0x43e4a6(0x51f)])==null?void 0x0:_0x53e78b[_0x43e4a6(0x561)])==null?void 0x0:_0x580199['call'](_0x53e78b,_0x3ff5cd);},_0x6d552;}async[_0x4ef07c(0x3da)](){var _0x489484=_0x4ef07c;const _0x307a45=await super[_0x489484(0x3da)]();return this[_0x489484(0x4bb)](this['_commandService'][_0x489484(0x324)]((_0x189a76,_0x833ab9)=>{var _0x53d7f7=_0x489484;if(_0x189a76[_0x53d7f7(0x527)]!==_0x5a87f6['CommandType'][_0x53d7f7(0x372)]||_0x833ab9!=null&&_0x833ab9[_0x53d7f7(0x2bf)]||_0x833ab9!=null&&_0x833ab9[_0x53d7f7(0x37a)]||_0x189a76['id']===_0x48d960[_0x53d7f7(0x410)]['id'])return;const _0xbf7220=_0x189a76['params'];if((_0xbf7220==null?void 0x0:_0xbf7220[_0x53d7f7(0x3e0)])!==this[_0x53d7f7(0x3f1)])return;const _0x1e69c1=_0x189a76,_0xfee00c=this[_0x53d7f7(0x488)][_0x53d7f7(0x1fa)]['fetchThroughInterceptors'](this['_compressMutationService']['interceptor'][_0x53d7f7(0x4c4)]()['COMPRESS_MUTATION_SEND'])([_0x1e69c1],this[_0x53d7f7(0x25a)])||[_0x1e69c1];this['_onLocalMutation'](_0xfee00c[0x0]);})),_0x307a45;}},_0x2c717a[_0x4ef07c(0x4ae)]=_0xcc55ce([_0x748969(0x3,_0x5a87f6[_0x4ef07c(0x2f6)](_0x5a87f6[_0x4ef07c(0x242)])),_0x748969(0x4,_0x5a87f6['Inject'](_0x9d3528['CompressMutationService'])),_0x748969(0x5,_0x5a87f6[_0x4ef07c(0x2f6)](_0x5a87f6[_0x4ef07c(0x44c)])),_0x748969(0x6,_0x5a87f6[_0x4ef07c(0x2f6)](_0x9d3528[_0x4ef07c(0x1f2)])),_0x748969(0x7,_0x5a87f6['Inject'](_0x596edb)),_0x748969(0x8,_0x5a87f6['IUniverInstanceService']),_0x748969(0x9,_0x5a87f6[_0x4ef07c(0x546)]),_0x748969(0xa,_0x5a87f6[_0x4ef07c(0x217)]),_0x748969(0xb,_0x5a87f6[_0x4ef07c(0x53b)]),_0x748969(0xc,_0x5a87f6[_0x4ef07c(0x2fb)](_0x53cb33)),_0x748969(0xd,_0x5a87f6['Optional'](_0x11ccb1))],_0x2c717a[_0x4ef07c(0x4ae)]),_0x2c717a[_0x4ef07c(0x495)]=class extends _0x2c717a[_0x4ef07c(0x2b0)]{constructor(_0x213d7a,_0x33849f,_0x3be4e0,_0xac582f,_0x199b12,_0x3af272,_0x1dd5ec,_0x34f5a3,_0x13dc21,_0x300f93,_0x2b99a3,_0x2f0646,_0x4cf845,_0x1d6359,_0x45eab0){var _0x42ab80=_0x4ef07c;super(_0x213d7a,_0x3be4e0,_0x33849f,_0xac582f,_0x199b12,_0x3af272,_0x1dd5ec,_0x13dc21,_0x300f93,_0x2b99a3,_0x2f0646,_0x4cf845,_0x1d6359,_0x45eab0),this['unitID']=_0x213d7a,this['type']=_0x33849f,this[_0x42ab80(0x318)]=_0x34f5a3;}['_createHandler'](){var _0x2a13c1=_0x4ef07c;const _0x23e241=super[_0x2a13c1(0x463)]();return _0x23e241[_0x2a13c1(0x2f0)]=_0x2b26ce=>this[_0x2a13c1(0x318)][_0x2a13c1(0x208)](_0x2b26ce),_0x23e241;}async['_init'](){var _0x4e95e1=_0x4ef07c;const _0x40f540=await super[_0x4e95e1(0x3da)]();return this[_0x4e95e1(0x4bb)](this[_0x4e95e1(0x2e6)]['onMutationExecutedForCollab']((_0x250462,_0xf2d35a)=>{var _0x1ffe87=_0x4e95e1;if(_0x250462[_0x1ffe87(0x527)]!==_0x5a87f6[_0x1ffe87(0x481)][_0x1ffe87(0x372)]||_0xf2d35a!=null&&_0xf2d35a[_0x1ffe87(0x2bf)]||_0xf2d35a!=null&&_0xf2d35a[_0x1ffe87(0x37a)])return;const _0x4f695e=_0x250462[_0x1ffe87(0x308)];if((_0x4f695e==null?void 0x0:_0x4f695e['unitId'])!==this[_0x1ffe87(0x3f1)])return;const _0x4818d4=_0x250462,_0x1c11c8=this[_0x1ffe87(0x488)][_0x1ffe87(0x1fa)][_0x1ffe87(0x493)](this[_0x1ffe87(0x488)][_0x1ffe87(0x1fa)][_0x1ffe87(0x4c4)]()[_0x1ffe87(0x2a1)])([_0x4818d4],this[_0x1ffe87(0x25a)])||[_0x4818d4];this[_0x1ffe87(0x528)](_0x1c11c8[0x0]);})),_0x40f540;}},_0x2c717a[_0x4ef07c(0x495)]=_0xcc55ce([_0x748969(0x3,_0x5a87f6[_0x4ef07c(0x2f6)](_0x5a87f6[_0x4ef07c(0x242)])),_0x748969(0x4,_0x5a87f6[_0x4ef07c(0x2f6)](_0x9d3528[_0x4ef07c(0x52a)])),_0x748969(0x5,_0x5a87f6['Inject'](_0x5a87f6[_0x4ef07c(0x44c)])),_0x748969(0x6,_0x5a87f6[_0x4ef07c(0x2f6)](_0x9d3528[_0x4ef07c(0x1f2)])),_0x748969(0x7,_0x5a87f6[_0x4ef07c(0x2f6)](_0x2c717a[_0x4ef07c(0x483)])),_0x748969(0x8,_0x5a87f6[_0x4ef07c(0x2f6)](_0x596edb)),_0x748969(0x9,_0x5a87f6[_0x4ef07c(0x32b)]),_0x748969(0xa,_0x5a87f6[_0x4ef07c(0x546)]),_0x748969(0xb,_0x5a87f6[_0x4ef07c(0x217)]),_0x748969(0xc,_0x5a87f6['IPermissionService']),_0x748969(0xd,_0x5a87f6[_0x4ef07c(0x2fb)](_0x53cb33)),_0x748969(0xe,_0x5a87f6['Optional'](_0x11ccb1))],_0x2c717a[_0x4ef07c(0x495)]);const _0x369ad3=_0x5a87f6[_0x4ef07c(0x2f7)](_0x4ef07c(0x558));function _0x3e784f(_0x77aab9){var _0x578c62=_0x4ef07c,_0xd007ad,_0x34148f,_0x37657d,_0x19fde9,_0x4db7b0;const _0x1ffd8d=_0x77aab9[_0x578c62(0x511)],_0x126968=JSON[_0x578c62(0x55e)](_0x1ffd8d);switch(_0x126968['cmd']){case _0x529cbe['HEARTBEAT']:case _0x529cbe['HELLO']:{const _0x126926=_0x126968[_0x578c62(0x49d)];return{..._0x126968,'data':_0x126926,'cmd':_0x126968[_0x578c62(0x33a)]};}case _0x529cbe[_0x578c62(0x1dd)]:{const _0x19b008=_0x126968[_0x578c62(0x230)];return{..._0x126968,'data':_0x19b008,'cmd':_0x126968[_0x578c62(0x33a)]};}case _0x529cbe[_0x578c62(0x38b)]:{const _0x2f14ff=_0x126968['collaMsg'];switch(_0x2f14ff['eventID']){case _0x9d3528[_0x578c62(0x328)]['PERMISSION_REJ']:return{..._0x126968,'data':{..._0x2f14ff,'data':(_0xd007ad=_0x2f14ff[_0x578c62(0x396)])==null?void 0x0:_0xd007ad['cs']},'cmd':_0x126968['cmd']};case _0x9d3528[_0x578c62(0x328)][_0x578c62(0x258)]:return{..._0x126968,'data':{..._0x2f14ff,'data':(_0x34148f=_0x2f14ff[_0x578c62(0x33c)])==null?void 0x0:_0x34148f['cs']},'cmd':_0x126968['cmd']};case _0x9d3528[_0x578c62(0x328)][_0x578c62(0x55d)]:return{..._0x126968,'data':{..._0x2f14ff,'data':(_0x37657d=_0x2f14ff['newCsEvent'])==null?void 0x0:_0x37657d['cs']},'cmd':_0x126968[_0x578c62(0x33a)]};case _0x9d3528[_0x578c62(0x328)]['CHANGESET_REJ']:return{..._0x126968,'data':{..._0x2f14ff,'data':(_0x19fde9=_0x2f14ff['csRejEvent'])==null?void 0x0:_0x19fde9['cs']},'cmd':_0x126968[_0x578c62(0x33a)]};case _0x9d3528[_0x578c62(0x328)][_0x578c62(0x31d)]:return{..._0x126968,'data':{..._0x2f14ff,'data':(_0x4db7b0=_0x2f14ff[_0x578c62(0x1e0)])==null?void 0x0:_0x4db7b0['cs']},'cmd':_0x126968[_0x578c62(0x33a)]};case _0x9d3528[_0x578c62(0x328)][_0x578c62(0x237)]:return{..._0x126968,'data':{..._0x2f14ff,'data':_0x2f14ff[_0x578c62(0x30b)]},'cmd':_0x126968['cmd']};case _0x9d3528[_0x578c62(0x328)][_0x578c62(0x25e)]:return{..._0x126968,'data':{..._0x2f14ff,'data':_0x2f14ff[_0x578c62(0x3fe)]},'cmd':_0x126968[_0x578c62(0x33a)]};case _0x9d3528[_0x578c62(0x328)][_0x578c62(0x388)]:return{..._0x126968,'data':{..._0x2f14ff,'data':_0x2f14ff[_0x578c62(0x4e8)]},'cmd':_0x126968[_0x578c62(0x33a)]};case _0x9d3528['CollaborationEvent'][_0x578c62(0x251)]:return{..._0x126968,'data':{..._0x2f14ff,'data':_0x2f14ff[_0x578c62(0x3c4)]},'cmd':_0x126968[_0x578c62(0x33a)]};case _0x9d3528['CollaborationEvent'][_0x578c62(0x1c5)]:case _0x9d3528[_0x578c62(0x328)][_0x578c62(0x4b4)]:return{..._0x126968,'data':{..._0x2f14ff,'data':_0x2f14ff['liveShareOperation']},'cmd':_0x126968['cmd']};case _0x9d3528['CollaborationEvent']['LIVESHARE_TERMINATE']:return{..._0x126968,'data':{..._0x2f14ff,'data':_0x2f14ff[_0x578c62(0x3c4)]},'cmd':_0x126968[_0x578c62(0x33a)]};case _0x9d3528[_0x578c62(0x328)][_0x578c62(0x303)]:return{..._0x126968,'data':_0x2f14ff,'cmd':_0x126968[_0x578c62(0x33a)]};case _0x9d3528[_0x578c62(0x328)][_0x578c62(0x2ca)]:return{..._0x126968,'data':{..._0x2f14ff,'data':_0x2f14ff[_0x578c62(0x20c)]},'cmd':_0x126968['cmd']};case _0x9d3528[_0x578c62(0x328)][_0x578c62(0x492)]:return{..._0x126968,'data':{..._0x2f14ff,'data':_0x2f14ff['updatePermissionObjEvent']},'cmd':_0x126968[_0x578c62(0x33a)]};case _0x9d3528[_0x578c62(0x328)][_0x578c62(0x351)]:return{..._0x126968,'data':{..._0x2f14ff,'data':_0x2f14ff[_0x578c62(0x213)]},'cmd':_0x126968[_0x578c62(0x33a)]};case _0x9d3528[_0x578c62(0x328)]['UNISCRIPT_RUN']:return{..._0x126968,'data':{..._0x2f14ff,'data':_0x2f14ff['uniscriptRunEvent']},'cmd':_0x126968[_0x578c62(0x33a)]};default:return _0x126968;}}default:return _0x126968;}}function _0xd1ca62(_0x2407c2){var _0x3d1a8f=_0x4ef07c;switch(_0x2407c2[_0x3d1a8f(0x33a)]){case _0x529cbe[_0x3d1a8f(0x414)]:case _0x529cbe[_0x3d1a8f(0x4f4)]:return JSON[_0x3d1a8f(0x49b)]({'cmd':_0x2407c2[_0x3d1a8f(0x33a)],'routeKey':_0x2407c2[_0x3d1a8f(0x3ad)]});case _0x529cbe[_0x3d1a8f(0x2f8)]:{let _0x5512d3;switch(_0x2407c2[_0x3d1a8f(0x511)]['eventID']){case _0x9d3528['CollaborationEvent'][_0x3d1a8f(0x237)]:{_0x5512d3={'eventID':_0x9d3528[_0x3d1a8f(0x328)][_0x3d1a8f(0x237)],'updateCursorEvent':_0x2407c2[_0x3d1a8f(0x511)]['data']};break;}case _0x9d3528[_0x3d1a8f(0x328)][_0x3d1a8f(0x388)]:{_0x5512d3={'eventID':_0x9d3528[_0x3d1a8f(0x328)]['USERS_LEAVE'],'leaveEvent':_0x2407c2[_0x3d1a8f(0x511)][_0x3d1a8f(0x511)]};break;}case _0x9d3528['CollaborationEvent'][_0x3d1a8f(0x25e)]:{_0x5512d3={'eventID':_0x9d3528[_0x3d1a8f(0x328)][_0x3d1a8f(0x25e)],'joinEvent':_0x2407c2[_0x3d1a8f(0x511)]['data']};break;}case _0x9d3528[_0x3d1a8f(0x328)][_0x3d1a8f(0x251)]:{_0x5512d3={'eventID':_0x9d3528[_0x3d1a8f(0x328)][_0x3d1a8f(0x251)],'liveShareNewHost':_0x2407c2[_0x3d1a8f(0x511)]['data']};break;}case _0x9d3528[_0x3d1a8f(0x328)][_0x3d1a8f(0x4b4)]:{_0x5512d3={'eventID':_0x9d3528['CollaborationEvent'][_0x3d1a8f(0x4b4)],'liveShareOperation':_0x2407c2[_0x3d1a8f(0x511)][_0x3d1a8f(0x511)]};break;}case _0x9d3528[_0x3d1a8f(0x328)][_0x3d1a8f(0x30a)]:{_0x5512d3={'eventID':_0x9d3528['CollaborationEvent'][_0x3d1a8f(0x30a)],'liveShareTerminate':_0x2407c2[_0x3d1a8f(0x511)][_0x3d1a8f(0x511)]};break;}case _0x9d3528[_0x3d1a8f(0x328)][_0x3d1a8f(0x296)]:{_0x5512d3={'eventID':_0x9d3528[_0x3d1a8f(0x328)]['LIVESHARE_REQUEST_HOST'],'liveShareRequestHost':_0x2407c2[_0x3d1a8f(0x511)][_0x3d1a8f(0x511)]};break;}case _0x9d3528['CollaborationEvent']['LIVESHARE_FETCH_OPERATIONS']:{_0x5512d3={'eventID':_0x9d3528['CollaborationEvent'][_0x3d1a8f(0x1c5)]};break;}default:_0x5512d3={'eventID':_0x2407c2[_0x3d1a8f(0x511)]['eventID']};}return JSON[_0x3d1a8f(0x49b)]({'cmd':_0x2407c2['cmd'],'routeKey':_0x2407c2['routeKey'],'collaMsg':_0x5512d3});}case _0x529cbe['JOIN']:return JSON[_0x3d1a8f(0x49b)]({'cmd':_0x2407c2[_0x3d1a8f(0x33a)],'routeKey':_0x2407c2[_0x3d1a8f(0x3ad)],'joinReq':_0x2407c2[_0x3d1a8f(0x511)]});case _0x529cbe[_0x3d1a8f(0x51d)]:return JSON[_0x3d1a8f(0x49b)]({'cmd':_0x2407c2[_0x3d1a8f(0x33a)],'routeKey':_0x2407c2[_0x3d1a8f(0x3ad)],'leaveReq':_0x2407c2['data']});default:throw new Error(_0x3d1a8f(0x470));}}var _0x52355b=Object[_0x4ef07c(0x4b2)],_0x5f3dc5=(_0x1232c7,_0x942d3e,_0xccc4c6,_0x4c0a3b)=>{var _0x1982b4=_0x4ef07c;for(var _0x15dda0=_0x4c0a3b>0x1?void 0x0:_0x4c0a3b?_0x52355b(_0x942d3e,_0xccc4c6):_0x942d3e,_0x392465=_0x1232c7[_0x1982b4(0x3aa)]-0x1,_0x295a63;_0x392465>=0x0;_0x392465--)(_0x295a63=_0x1232c7[_0x392465])&&(_0x15dda0=_0x295a63(_0x15dda0)||_0x15dda0);return _0x15dda0;},_0x38e5be=(_0x3a71cb,_0x44e22e)=>(_0x3efb57,_0x2eb4df)=>_0x44e22e(_0x3efb57,_0x2eb4df,_0x3a71cb);const _0x2ab6d6=_0x5a87f6[_0x4ef07c(0x2f7)](_0x4ef07c(0x355));function _0x3ea35d(_0x21a9e5,_0x37df22,_0x9eec8a){var _0x1c527a=_0x4ef07c;return _0x21a9e5+'/'+_0x37df22+_0x1c527a(0x30d)+_0x9eec8a+_0x1c527a(0x4ed);}_0x2c717a[_0x4ef07c(0x3e1)]=class extends _0x5a87f6['Disposable']{constructor(_0xa666c1,_0x310462,_0x36a570,_0x16a73a,_0x20c3c5){var _0xbfae07=_0x4ef07c;super(),this['_injector']=_0xa666c1,this[_0xbfae07(0x397)]=_0x310462,this[_0xbfae07(0x238)]=_0x36a570,this['_logService']=_0x16a73a,this[_0xbfae07(0x1f1)]=_0x20c3c5;}[_0x4ef07c(0x3a6)](_0x25bc22){var _0x2f46f8=_0x4ef07c;const _0x9acaee=this[_0x2f46f8(0x3b3)][_0x2f46f8(0x47e)](_0x3f793f[_0x2f46f8(0x2af)]);if(!_0x9acaee)throw new Error(_0x2f46f8(0x4f2));const _0x29e938=_0x9acaee[_0x2f46f8(0x415)](_0x25bc22);if(!_0x29e938)throw new Error(_0x2f46f8(0x359));const _0x4386d1=new _0x5a87f6[(_0x2f46f8(0x448))](),_0x44bf69=new _0x49c451['Subject']();_0x4386d1[_0x2f46f8(0x1da)](_0x29e938[_0x2f46f8(0x255)][_0x2f46f8(0x2ce)](_0x5b2662=>_0x44bf69[_0x2f46f8(0x534)](_0x5b2662))),_0x4386d1['add'](_0x5a87f6[_0x2f46f8(0x2c5)](()=>_0x44bf69[_0x2f46f8(0x49e)]()));const _0x31879c=new _0x49c451[(_0x2f46f8(0x34d))]();_0x4386d1[_0x2f46f8(0x1da)](_0x29e938[_0x2f46f8(0x1d1)]['subscribe'](_0x662551=>_0x31879c[_0x2f46f8(0x534)](_0x662551))),_0x4386d1[_0x2f46f8(0x1da)](_0x5a87f6[_0x2f46f8(0x2c5)](()=>_0x31879c[_0x2f46f8(0x49e)]()));const _0x584981=new _0x49c451['Subject']();_0x4386d1[_0x2f46f8(0x1da)](_0x29e938['message$'][_0x2f46f8(0x2ce)](_0x20dc07=>{const _0x2123d9=_0x3e784f(_0x20dc07);_0x584981['next'](_0x2123d9);})),_0x4386d1[_0x2f46f8(0x1da)](_0x5a87f6[_0x2f46f8(0x2c5)](()=>_0x584981['complete']()));let _0x3f4138;const _0x4db3db=()=>{var _0x4b27d0=_0x2f46f8;_0x31879c[_0x4b27d0(0x534)](new Event(_0x4b27d0(0x2a7))),_0x44bf69[_0x4b27d0(0x534)](new Event(_0x4b27d0(0x2a7))),_0x3f4138['close']();};return _0x3f4138={'memberID':'','close$':_0x44bf69[_0x2f46f8(0x245)](),'error$':_0x31879c[_0x2f46f8(0x245)](),'open$':_0x29e938[_0x2f46f8(0x3fd)],'message$':_0x584981[_0x2f46f8(0x245)](),'send':_0x2c39ea=>{var _0xaa42bc=_0x2f46f8;if(_0x2c39ea[_0xaa42bc(0x33a)]===_0x529cbe[_0xaa42bc(0x2f8)]){if(_0x2c39ea[_0xaa42bc(0x511)][_0xaa42bc(0x3f7)]===_0x9d3528[_0xaa42bc(0x328)][_0xaa42bc(0x543)]){this[_0xaa42bc(0x358)](_0x3f4138,_0x2c39ea[_0xaa42bc(0x511)])['catch'](_0x2ff0ea=>{var _0x4628a0=_0xaa42bc;this['_logService'][_0x4628a0(0x456)](_0x2ff0ea),_0x4db3db();});return;}if(_0x2c39ea[_0xaa42bc(0x511)][_0xaa42bc(0x3f7)]===_0x9d3528['CollaborationEvent']['FETCH_MISSING']){const _0x1734d7=_0x2c39ea['data'];this[_0xaa42bc(0x4cc)](_0x1734d7)[_0xaa42bc(0x376)](_0x5ee351=>{var _0x39cf9d=_0xaa42bc;_0x584981[_0x39cf9d(0x534)]({'cmd':_0x529cbe[_0x39cf9d(0x38b)],'code':_0x488bd0['OK'],'routeKey':_0x1734d7[_0x39cf9d(0x511)][_0x39cf9d(0x3f1)],'routeType':'','data':{'eventID':_0x9d3528[_0x39cf9d(0x328)]['PSEUDO_FETCH_MISSING_RESULT'],'data':{'changesets':_0x5ee351}}});})['catch'](_0x419afe=>{var _0x21f44e=_0xaa42bc;this['_logService'][_0x21f44e(0x456)](_0x419afe),_0x4db3db();});return;}}_0x29e938['send'](_0xd1ca62(_0x2c39ea));},'close':()=>{var _0x1bee9b=_0x2f46f8;_0x29e938[_0x1bee9b(0x3dc)](),_0x4386d1[_0x1bee9b(0x35b)]();}},_0x3f4138;}async[_0x4ef07c(0x358)](_0x1c3aa5,_0x514b03){var _0x85a3b6=_0x4ef07c,_0x26081d;const {unitType:_0x4d0a79,unitID:_0x3de201,changeset:_0x413c8a}=_0x514b03[_0x85a3b6(0x511)],_0x40cb34={'unitID':_0x3de201,'memberID':_0x1c3aa5['memberID'],'type':_0x4d0a79,'changeset':_0x9d3528[_0x85a3b6(0x1ed)](_0x413c8a)},_0x2cd70b=this['_configService'][_0x85a3b6(0x4e3)](_0x50bbc4),_0xfe7886=_0x3ea35d((_0x26081d=_0x2cd70b==null?void 0x0:_0x2cd70b[_0x85a3b6(0x26b)])!=null?_0x26081d:_0x12cea0,_0x4d0a79,_0x3de201);try{await this['_httpService']['post'](_0xfe7886,{'body':_0x40cb34});}catch(_0x4d96e0){throw this[_0x85a3b6(0x1df)]['error'](_0x85a3b6(0x227),_0x85a3b6(0x4e0)),_0x4d96e0;}}async[_0x4ef07c(0x4cc)](_0x3b6728){var _0x45ee8c=_0x4ef07c;const {unitID:_0x1518d2,from:_0x5d03e3,to:_0x1d9d21,unitType:_0x199d16}=_0x3b6728[_0x45ee8c(0x511)];return(await this[_0x45ee8c(0x1f1)][_0x45ee8c(0x3d5)]({'metadata':void 0x0},{'unitID':_0x1518d2,'type':_0x199d16,'from':_0x5d03e3,'to':_0x1d9d21}))[_0x45ee8c(0x437)][_0x45ee8c(0x277)](_0x4734b3=>((_0x4734b3[_0x45ee8c(0x519)]===null||_0x4734b3[_0x45ee8c(0x519)]===void 0x0)&&(_0x4734b3[_0x45ee8c(0x519)]=[]),_0x4734b3));}},_0x2c717a[_0x4ef07c(0x3e1)]=_0x5f3dc5([_0x38e5be(0x0,_0x5a87f6[_0x4ef07c(0x2f6)](_0x5a87f6[_0x4ef07c(0x242)])),_0x38e5be(0x1,_0x5a87f6[_0x4ef07c(0x2f6)](_0x3f793f['HTTPService'])),_0x38e5be(0x2,_0x5a87f6[_0x4ef07c(0x4d8)]),_0x38e5be(0x3,_0x5a87f6['ILogService']),_0x38e5be(0x4,_0x9d3528[_0x4ef07c(0x542)])],_0x2c717a[_0x4ef07c(0x3e1)]);var _0x420b9a=Object[_0x4ef07c(0x4b2)],_0x1193c6=(_0x23d7d2,_0x1a9b0f,_0xaf65af,_0x440ff5)=>{for(var _0x6fcb16=_0x440ff5>0x1?void 0x0:_0x440ff5?_0x420b9a(_0x1a9b0f,_0xaf65af):_0x1a9b0f,_0x20296e=_0x23d7d2['length']-0x1,_0x2ba561;_0x20296e>=0x0;_0x20296e--)(_0x2ba561=_0x23d7d2[_0x20296e])&&(_0x6fcb16=_0x2ba561(_0x6fcb16)||_0x6fcb16);return _0x6fcb16;},_0x11846a=(_0x5b99d7,_0x53d250)=>(_0x135087,_0x17eada)=>_0x53d250(_0x135087,_0x17eada,_0x5b99d7);_0x2c717a['CollaborationSessionService']=class extends _0x5a87f6[_0x4ef07c(0x556)]{constructor(_0x190446,_0x36d42f,_0x10f57c,_0x2bbc19,_0x450942,_0x42eca3){var _0x34ee5c=_0x4ef07c;super(),_0x27ebba(this,_0x34ee5c(0x3a9),new _0x49c451[(_0x34ee5c(0x32a))](void 0x0)),_0x27ebba(this,_0x34ee5c(0x2d2),this[_0x34ee5c(0x3a9)][_0x34ee5c(0x245)]()),_0x27ebba(this,'_candidateSocket',null),_0x27ebba(this,_0x34ee5c(0x4e6),new Map()),_0x27ebba(this,_0x34ee5c(0x3c1),new _0x49c451[(_0x34ee5c(0x32a))](_0x14cf5c[_0x34ee5c(0x408)])),_0x27ebba(this,_0x34ee5c(0x349),this[_0x34ee5c(0x3c1)][_0x34ee5c(0x245)]()),_0x27ebba(this,_0x34ee5c(0x489),!0x1),_0x27ebba(this,'_retryConnectingTimer'),_0x27ebba(this,'_retryCount',0x0),_0x27ebba(this,'_sendHeartbeatTimer'),_0x27ebba(this,'_timeoutTimer'),(this[_0x34ee5c(0x3b3)]=_0x190446,this[_0x34ee5c(0x1df)]=_0x36d42f,this['_configService']=_0x10f57c,this[_0x34ee5c(0x2b7)]=_0x2bbc19,this['_collaborationUIEventService']=_0x450942,this[_0x34ee5c(0x51b)]=_0x42eca3,this['_listenToNetworkCondition']());}get['_socket'](){return this['_socket$']['getValue']();}[_0x4ef07c(0x304)](){var _0x348b52=_0x4ef07c;this['_networkConditionService']&&this[_0x348b52(0x4bb)](this['_networkConditionService'][_0x348b52(0x44b)]['subscribe'](_0x4d1909=>{var _0xae4bde=_0x348b52;_0x4d1909&&!this[_0xae4bde(0x1fe)]&&this[_0xae4bde(0x1e5)](),_0x4d1909||this[_0xae4bde(0x234)]();}));}['dispose'](){var _0x488905=_0x4ef07c;super[_0x488905(0x35b)](),this['_clearRetryConnectingTimer'](),this[_0x488905(0x36e)](),this['_clearHeartbeatTimer'](),this[_0x488905(0x4e6)][_0x488905(0x482)](_0x1345a2=>_0x1345a2[_0x488905(0x35b)]()),this['_sessions']['clear'](),this[_0x488905(0x3c1)][_0x488905(0x49e)]();}async[_0x4ef07c(0x2b3)](_0x221bc7){var _0x5a4868=_0x4ef07c;if(this['_sessions']['has'](_0x221bc7))return this['_sessions']['get'](_0x221bc7);this['_tryEnsureSocket']();const _0x57e254=this[_0x5a4868(0x3b3)][_0x5a4868(0x3cd)](_0x2c717a[_0x5a4868(0x459)],_0x221bc7,this['_socket$'][_0x5a4868(0x245)]());return this['_sessions'][_0x5a4868(0x3bc)](_0x221bc7,_0x57e254),_0x57e254;}['closeSession'](_0x2cb74e){var _0x2a4326=_0x4ef07c,_0x4b27e1;const _0x5e0cc8=this[_0x2a4326(0x4e6)]['get'](_0x2cb74e);_0x5e0cc8&&(this[_0x2a4326(0x4e6)]['delete'](_0x2cb74e),_0x5e0cc8[_0x2a4326(0x3dc)]()),this['_sessions'][_0x2a4326(0x2ae)]||(_0x4b27e1=this['_socket'])==null||_0x4b27e1['close']();}[_0x4ef07c(0x1e5)](){var _0x54d9a4=_0x4ef07c;this[_0x54d9a4(0x4d4)]=0x0,this['_clearRetryConnectingTimer'](),this[_0x54d9a4(0x552)]();}[_0x4ef07c(0x428)](){var _0x449cb0=_0x4ef07c;this[_0x449cb0(0x4d5)]!=null&&(clearTimeout(this[_0x449cb0(0x4d5)]),this[_0x449cb0(0x4d5)]=null);}async['_createSocket'](){var _0x37f0ea=_0x4ef07c,_0x4d9b97;const _0x10d765=this['_configService'][_0x37f0ea(0x4e3)](_0x50bbc4),_0x59c37b=(_0x4d9b97=_0x10d765==null?void 0x0:_0x10d765[_0x37f0ea(0x450)])!=null?_0x4d9b97:_0x3de4fd,_0x351343=await this[_0x37f0ea(0x2b7)][_0x37f0ea(0x415)](_0x59c37b);return this[_0x37f0ea(0x301)]=_0x351343,_0x351343;}async[_0x4ef07c(0x54a)](){var _0x323fb1=_0x4ef07c,_0x5ee4cd,_0x234423;try{const _0x595c9c=(_0x234423=(_0x5ee4cd=this[_0x323fb1(0x1fe)])!=null?_0x5ee4cd:this[_0x323fb1(0x301)])!=null?_0x234423:await this[_0x323fb1(0x44e)]();if(_0x595c9c){const _0x4b31fb=_0x595c9c[_0x323fb1(0x26e)];_0x595c9c[_0x323fb1(0x26e)]=_0x146c00=>(this[_0x323fb1(0x327)](),_0x4b31fb[_0x323fb1(0x3ac)](_0x595c9c,[_0x146c00])),_0x595c9c[_0x323fb1(0x436)][_0x323fb1(0x2ce)](_0x3552a0=>this[_0x323fb1(0x276)](_0x595c9c,_0x3552a0)),_0x595c9c[_0x323fb1(0x1d1)][_0x323fb1(0x50f)](_0xf159a2[_0x323fb1(0x1cb)](0x1))[_0x323fb1(0x2ce)](_0x501dce=>this['_logService'][_0x323fb1(0x456)](_0x323fb1(0x4b6),_0x501dce)),_0x595c9c[_0x323fb1(0x3fd)]['pipe'](_0xf159a2[_0x323fb1(0x1cb)](0x1))[_0x323fb1(0x2ce)](()=>{var _0x523122=_0x323fb1;this[_0x523122(0x373)](_0x595c9c);}),_0x595c9c[_0x323fb1(0x255)][_0x323fb1(0x50f)](_0xf159a2[_0x323fb1(0x1cb)](0x1))[_0x323fb1(0x2ce)](_0x4ea434=>{var _0x1c5f6d=_0x323fb1;this[_0x1c5f6d(0x1df)]['debug'](_0x1c5f6d(0x4db),_0x1c5f6d(0x2ac),_0x4ea434),this[_0x1c5f6d(0x44f)]();});}}catch(_0x2b7441){this[_0x323fb1(0x1df)][_0x323fb1(0x456)](_0x2b7441),this[_0x323fb1(0x44f)]();}}['_onConnectionOpen'](_0xfc54fb){var _0x5553d8=_0x4ef07c;this[_0x5553d8(0x1df)][_0x5553d8(0x3a5)](_0x5553d8(0x4db),_0x5553d8(0x35d)),_0xfc54fb['send']({'cmd':_0x529cbe[_0x5553d8(0x4f4)]}),this['_rescheduleHeartbeat']();}[_0x4ef07c(0x234)](){var _0x5c84a4=_0x4ef07c;this[_0x5c84a4(0x489)]=!0x1,this[_0x5c84a4(0x301)]=null,this[_0x5c84a4(0x3c1)]['next'](_0x14cf5c[_0x5c84a4(0x391)]),this['_socket$'][_0x5c84a4(0x534)](null),this[_0x5c84a4(0x36e)](),this[_0x5c84a4(0x522)]();}[_0x4ef07c(0x44f)](){var _0x195fae=_0x4ef07c,_0x3ad4d8;this['_onOffline'](),this[_0x195fae(0x4d4)]<((_0x3ad4d8=this[_0x195fae(0x238)][_0x195fae(0x4e3)](_0x426cb4))!=null?_0x3ad4d8:0x3)?(this[_0x195fae(0x333)][_0x195fae(0x446)]({'id':_0x28846f[_0x195fae(0x35f)]}),this[_0x195fae(0x552)]()):this[_0x195fae(0x333)][_0x195fae(0x446)]({'id':_0x28846f[_0x195fae(0x4f7)]});}['_tryReconnect'](){var _0x2bd097=_0x4ef07c,_0x3eebea;const _0x178f4d=this[_0x2bd097(0x4d4)],_0x42d938=this[_0x2bd097(0x238)][_0x2bd097(0x4e3)](_0x50bbc4),_0x44303e=_0x178f4d===0x0?0x0:((_0x3eebea=_0x42d938==null?void 0x0:_0x42d938[_0x2bd097(0x550)])!=null?_0x3eebea:0x4e20)*0x2**_0x178f4d;this[_0x2bd097(0x4d5)]=setTimeout(()=>{var _0x902455=_0x2bd097;clearTimeout(this[_0x902455(0x4d5)]),this[_0x902455(0x4d5)]=null,this[_0x902455(0x54a)]();},_0x44303e),this[_0x2bd097(0x4d4)]+=0x1;}[_0x4ef07c(0x276)](_0x295b98,_0x4527df){var _0x19ae3f=_0x4ef07c;const {cmd:_0xe04942}=_0x4527df;_0xe04942===_0x529cbe[_0x19ae3f(0x4f4)]&&!this[_0x19ae3f(0x489)]&&(_0x295b98[_0x19ae3f(0x473)]=_0x4527df['data'][_0x19ae3f(0x473)],this[_0x19ae3f(0x3a9)][_0x19ae3f(0x534)](_0x295b98),this['_status$']['next'](_0x14cf5c['ONLINE']),this[_0x19ae3f(0x489)]=!0x0,this[_0x19ae3f(0x301)]=null),_0xe04942===_0x529cbe[_0x19ae3f(0x414)]&&this[_0x19ae3f(0x36e)](),this[_0x19ae3f(0x327)]();}[_0x4ef07c(0x327)](){var _0xf33271=_0x4ef07c,_0x317a21;this[_0xf33271(0x522)](),this[_0xf33271(0x4c0)]=setTimeout(()=>this[_0xf33271(0x228)](),(_0x317a21=this['_configService'][_0xf33271(0x4e3)](_0xe56939))!=null?_0x317a21:0x7530);}[_0x4ef07c(0x228)](){var _0x5afbd3=_0x4ef07c;this[_0x5afbd3(0x1fe)]['send']({'cmd':_0x529cbe[_0x5afbd3(0x414)]}),this[_0x5afbd3(0x3a8)]();}[_0x4ef07c(0x3a8)](){var _0x2186f3=_0x4ef07c,_0x4d5858;this[_0x2186f3(0x1ce)]=setTimeout(()=>this[_0x2186f3(0x44f)](),(_0x4d5858=this['_configService'][_0x2186f3(0x4e3)](_0x2c4727))!=null?_0x4d5858:0x4e20);}[_0x4ef07c(0x522)](){var _0x16a0d6=_0x4ef07c;this['_sendHeartbeatTimer']!=null&&(clearTimeout(this[_0x16a0d6(0x4c0)]),this[_0x16a0d6(0x4c0)]=null);}[_0x4ef07c(0x36e)](){var _0x29a6f9=_0x4ef07c;this[_0x29a6f9(0x1ce)]!=null&&(clearTimeout(this['_timeoutTimer']),this[_0x29a6f9(0x1ce)]=null);}},_0x2c717a[_0x4ef07c(0x53f)]=_0x1193c6([_0x11846a(0x0,_0x5a87f6[_0x4ef07c(0x2f6)](_0x5a87f6[_0x4ef07c(0x242)])),_0x11846a(0x1,_0x5a87f6[_0x4ef07c(0x546)]),_0x11846a(0x2,_0x5a87f6[_0x4ef07c(0x4d8)]),_0x11846a(0x3,_0x2ab6d6),_0x11846a(0x4,_0x5a87f6['Inject'](_0x596edb)),_0x11846a(0x5,_0x5a87f6[_0x4ef07c(0x2fb)](_0x369ad3))],_0x2c717a[_0x4ef07c(0x53f)]);var _0x4319ac=Object[_0x4ef07c(0x4b2)],_0x36173b=(_0x2ce8ba,_0x4e3496,_0x32db85,_0x1a114e)=>{for(var _0x384f2e=_0x1a114e>0x1?void 0x0:_0x1a114e?_0x4319ac(_0x4e3496,_0x32db85):_0x4e3496,_0x73f7a=_0x2ce8ba['length']-0x1,_0x199ede;_0x73f7a>=0x0;_0x73f7a--)(_0x199ede=_0x2ce8ba[_0x73f7a])&&(_0x384f2e=_0x199ede(_0x384f2e)||_0x384f2e);return _0x384f2e;},_0x3cb26a=(_0x3e8249,_0x426311)=>(_0x45400b,_0x4233b5)=>_0x426311(_0x45400b,_0x4233b5,_0x3e8249);_0x2c717a[_0x4ef07c(0x220)]=class extends _0x5a87f6['RxDisposable']{constructor(_0x23516e,_0x187413,_0x49fce1,_0x332438){var _0x1f2af6=_0x4ef07c,_0x35d98f;super(),_0x27ebba(this,_0x1f2af6(0x4c7),new Map()),_0x27ebba(this,_0x1f2af6(0x4e2),new _0x49c451[(_0x1f2af6(0x34d))]()),_0x27ebba(this,_0x1f2af6(0x2f5),this[_0x1f2af6(0x4e2)]['asObservable']()),(this[_0x1f2af6(0x3b3)]=_0x23516e,this['_collabSessionService']=_0x187413,this['_configService']=_0x49fce1,this['_univerInstanceService']=_0x332438,((_0x35d98f=this['_configService'][_0x1f2af6(0x4e3)](_0x50bbc4))==null?void 0x0:_0x35d98f[_0x1f2af6(0x2b4)])!==!0x1&&this[_0x1f2af6(0x3da)]());}['dispose'](){var _0x43de51=_0x4ef07c;super[_0x43de51(0x35b)](),this['_entities'][_0x43de51(0x482)](_0x12204c=>_0x12204c[_0x43de51(0x35b)]()),this['_entities'][_0x43de51(0x479)]();}[_0x4ef07c(0x344)](_0x5d6390){var _0x59bf7a=_0x4ef07c,_0x57d111;return(_0x57d111=this[_0x59bf7a(0x4c7)][_0x59bf7a(0x47e)](_0x5d6390))!=null?_0x57d111:null;}[_0x4ef07c(0x2b9)](_0x25b354){var _0x4b3a73=_0x4ef07c;const _0x564d68=this[_0x4b3a73(0x344)](_0x25b354);return _0x564d68?_0x49c451['of'](_0x564d68):this['_entityInit$'][_0x4b3a73(0x50f)](_0xf159a2[_0x4b3a73(0x320)](_0x418ad5=>_0x418ad5[_0x4b3a73(0x3f1)]===_0x25b354));}['readyForCollab'](_0x3b8a01){var _0x2e1e1e=_0x4ef07c;return _0x49c451[_0x2e1e1e(0x389)](this[_0x2e1e1e(0x2b9)](_0x3b8a01)[_0x2e1e1e(0x50f)](_0xf159a2['map'](()=>{})));}[_0x4ef07c(0x3da)](){var _0x41a58f=_0x4ef07c;this[_0x41a58f(0x25a)][_0x41a58f(0x2a9)](_0x5a87f6[_0x41a58f(0x47a)]['UNIVER_SHEET'])[_0x41a58f(0x50f)](_0x49c451[_0x41a58f(0x361)](this[_0x41a58f(0x501)]),_0xf159a2[_0x41a58f(0x42e)](0x10))[_0x41a58f(0x2ce)](async _0x129be6=>{var _0xb2faed=_0x41a58f;const _0x29539d=_0x129be6['getUnitId'](),_0x537e49=await this[_0xb2faed(0x515)](_0x29539d,_0x1ac378[_0xb2faed(0x2be)]);this[_0xb2faed(0x4c7)]['set'](_0x29539d,_0x537e49);}),this[_0x41a58f(0x25a)]['getTypeOfUnitAdded$'](_0x5a87f6['UniverInstanceType'][_0x41a58f(0x41f)])[_0x41a58f(0x50f)](_0x49c451[_0x41a58f(0x361)](this[_0x41a58f(0x501)]),_0xf159a2['delay'](0x10))[_0x41a58f(0x50f)](_0xf159a2['filter'](_0x4658ea=>!_0x4658ea[_0x41a58f(0x224)]()['startsWith']('__')))[_0x41a58f(0x2ce)](async _0xcebd2f=>{var _0x535fe6=_0x41a58f;const _0x513303=_0xcebd2f['getUnitId'](),_0x201493=await this[_0x535fe6(0x515)](_0x513303,_0x1ac378[_0x535fe6(0x41f)]);this['_entities'][_0x535fe6(0x3bc)](_0x513303,_0x201493);}),_0x49c451[_0x41a58f(0x294)](this[_0x41a58f(0x25a)][_0x41a58f(0x4ba)](_0x5a87f6[_0x41a58f(0x47a)]['UNIVER_SHEET']),this[_0x41a58f(0x25a)][_0x41a58f(0x4ba)](_0x5a87f6['UniverInstanceType'][_0x41a58f(0x41f)]))[_0x41a58f(0x50f)](_0x49c451[_0x41a58f(0x361)](this['dispose$']))[_0x41a58f(0x2ce)](_0x13f9c4=>{var _0x45dbac=_0x41a58f;const _0x4fc7b0=_0x13f9c4[_0x45dbac(0x224)](),_0x45f16b=this[_0x45dbac(0x4c7)][_0x45dbac(0x47e)](_0x4fc7b0);_0x45f16b&&(_0x45f16b[_0x45dbac(0x35b)](),this['_entities'][_0x45dbac(0x45f)](_0x4fc7b0));});}async['_startCollaboration'](_0xc9990f,_0x427f3d){var _0x414715=_0x4ef07c;const _0x19375b=await this[_0x414715(0x49a)][_0x414715(0x2b3)](_0xc9990f),_0x1b6a46=this[_0x414715(0x3b3)]['createInstance'](this[_0x414715(0x262)](_0x427f3d),_0xc9990f,_0x427f3d,_0x19375b);return await _0x1b6a46[_0x414715(0x2a8)](),this[_0x414715(0x4e2)][_0x414715(0x534)](_0x1b6a46),_0x1b6a46;}[_0x4ef07c(0x262)](_0x50eb0e){var _0x3019de=_0x4ef07c;switch(_0x50eb0e){case _0x1ac378[_0x3019de(0x41f)]:return _0x2c717a['DocCollaborationEntity'];case _0x1ac378[_0x3019de(0x2be)]:return _0x2c717a['SheetCollaborationEntity'];default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0x50eb0e);}}},_0x2c717a[_0x4ef07c(0x220)]=_0x36173b([_0x3cb26a(0x0,_0x5a87f6['Inject'](_0x5a87f6[_0x4ef07c(0x242)])),_0x3cb26a(0x1,_0x5a87f6[_0x4ef07c(0x2f6)](_0x2c717a[_0x4ef07c(0x53f)])),_0x3cb26a(0x2,_0x5a87f6[_0x4ef07c(0x4d8)]),_0x3cb26a(0x3,_0x5a87f6[_0x4ef07c(0x32b)])],_0x2c717a[_0x4ef07c(0x220)]);var _0x1ddbb4=Object['getOwnPropertyDescriptor'],_0x381579=(_0x3972db,_0x41d513,_0x1aa892,_0x1809dc)=>{var _0x3c2a14=_0x4ef07c;for(var _0xbb298d=_0x1809dc>0x1?void 0x0:_0x1809dc?_0x1ddbb4(_0x41d513,_0x1aa892):_0x41d513,_0x4e1e38=_0x3972db[_0x3c2a14(0x3aa)]-0x1,_0x2b2829;_0x4e1e38>=0x0;_0x4e1e38--)(_0x2b2829=_0x3972db[_0x4e1e38])&&(_0xbb298d=_0x2b2829(_0xbb298d)||_0xbb298d);return _0xbb298d;},_0x5f2ab4=(_0x3794b0,_0x186d26)=>(_0x7a1fc3,_0x1d5f9c)=>_0x186d26(_0x7a1fc3,_0x1d5f9c,_0x3794b0);const _0x38417c=_0x4ef07c(0x319),_0x1cb4bf='Univer';let _0x401217=class extends _0x5a87f6[_0x4ef07c(0x556)]{constructor(_0x6d339a,_0x47f614){var _0x26b048=_0x4ef07c;super(),this[_0x26b048(0x25a)]=_0x6d339a,this[_0x26b048(0x238)]=_0x47f614,this[_0x26b048(0x3da)]();}['_init'](){var _0xfebbcf=_0x4ef07c;this[_0xfebbcf(0x4bb)](this[_0xfebbcf(0x25a)][_0xfebbcf(0x215)][_0xfebbcf(0x2ce)](()=>{var _0x3eaf93=_0xfebbcf,_0x3a26da;const _0x237d81=this[_0x3eaf93(0x25a)][_0x3eaf93(0x33f)]();let _0x1b96b4=(_0x3a26da=this[_0x3eaf93(0x238)][_0x3eaf93(0x4e3)](_0x38417c))!=null?_0x3a26da:_0x1cb4bf;_0x237d81 instanceof _0x5a87f6[_0x3eaf93(0x371)]&&(_0x1b96b4=_0x237d81['name']),document[_0x3eaf93(0x434)]=_0x1b96b4;}));}};_0x401217=_0x381579([_0x5f2ab4(0x0,_0x5a87f6['IUniverInstanceService']),_0x5f2ab4(0x1,_0x5a87f6[_0x4ef07c(0x4d8)])],_0x401217);var _0x5b59c7=Object[_0x4ef07c(0x4b2)],_0x4c2709=(_0x147805,_0x3bd37b,_0x5db1c9,_0x3fe45f)=>{var _0x333f61=_0x4ef07c;for(var _0x268fab=_0x3fe45f>0x1?void 0x0:_0x3fe45f?_0x5b59c7(_0x3bd37b,_0x5db1c9):_0x3bd37b,_0x490e21=_0x147805[_0x333f61(0x3aa)]-0x1,_0x3fc6e3;_0x490e21>=0x0;_0x490e21--)(_0x3fc6e3=_0x147805[_0x490e21])&&(_0x268fab=_0x3fc6e3(_0x268fab)||_0x268fab);return _0x268fab;},_0x18752b=(_0xd45707,_0x14c299)=>(_0x3a7ca9,_0x82f394)=>_0x14c299(_0x3a7ca9,_0x82f394,_0xd45707);let _0x4d2a45=class{constructor(_0x50075f,_0x326b8f,_0x765129){var _0x50e207=_0x4ef07c;this[_0x50e207(0x238)]=_0x50075f,this[_0x50e207(0x397)]=_0x326b8f,this[_0x50e207(0x4a5)]=_0x765129,this[_0x50e207(0x2a8)]();}[_0x4ef07c(0x2a8)](){var _0x36dca1=_0x4ef07c;this[_0x36dca1(0x397)]['registerHTTPInterceptor']({'priority':0x1,'interceptor':(_0x5eca5e,_0x4f2aea)=>_0x4f2aea(_0x5eca5e)[_0x36dca1(0x50f)](_0x49c451['concatMap'](async _0x4a6c8a=>{var _0x3adb1c=_0x36dca1;const _0x3f0a64=_0x4a6c8a;if(_0x3f0a64[_0x3adb1c(0x45c)]===0x191){if(typeof window>'u')throw new Error(_0x3adb1c(0x232));if(window[_0x3adb1c(0x243)](this['localeService']['t'](_0x3adb1c(0x1ef)))){const _0x48bf87=window['encodeURIComponent'](window[_0x3adb1c(0x4dd)]['href']);window[_0x3adb1c(0x4dd)][_0x3adb1c(0x21e)]=this['_getLoginPath']()+_0x3adb1c(0x2d7)+_0x48bf87;}}return _0x3f0a64;}))});}[_0x4ef07c(0x4f8)](){var _0x28783c=_0x4ef07c,_0x4663ec;const _0x2770c8=this[_0x28783c(0x238)][_0x28783c(0x4e3)](_0x50bbc4);return(_0x4663ec=_0x2770c8==null?void 0x0:_0x2770c8[_0x28783c(0x21b)])!=null?_0x4663ec:_0x565a47;}};_0x4d2a45=_0x4c2709([_0x18752b(0x0,_0x5a87f6[_0x4ef07c(0x4d8)]),_0x18752b(0x1,_0x5a87f6[_0x4ef07c(0x2f6)](_0x3f793f[_0x4ef07c(0x44d)])),_0x18752b(0x2,_0x5a87f6[_0x4ef07c(0x2f6)](_0x5a87f6[_0x4ef07c(0x44c)]))],_0x4d2a45);var _0x54a8c8=Object[_0x4ef07c(0x4b2)],_0x2acfd3=(_0x148504,_0x2550b7,_0x46236a,_0x3177a8)=>{for(var _0x334a98=_0x3177a8>0x1?void 0x0:_0x3177a8?_0x54a8c8(_0x2550b7,_0x46236a):_0x2550b7,_0x52edcc=_0x148504['length']-0x1,_0x56c327;_0x52edcc>=0x0;_0x52edcc--)(_0x56c327=_0x148504[_0x52edcc])&&(_0x334a98=_0x56c327(_0x334a98)||_0x334a98);return _0x334a98;},_0xbee90c=(_0x3456fa,_0x28e8b8)=>(_0x45211c,_0x585356)=>_0x28e8b8(_0x45211c,_0x585356,_0x3456fa);const _0x260280='/universer-api/authz';_0x2c717a[_0x4ef07c(0x2b5)]=class extends _0x5a87f6[_0x4ef07c(0x556)]{constructor(_0x5b7936,_0x2edfdb){var _0x48097b=_0x4ef07c;super(),this[_0x48097b(0x43f)]=_0x5b7936,this['_configService']=_0x2edfdb,this[_0x48097b(0x399)]();}[_0x4ef07c(0x399)](){var _0x3009f9=_0x4ef07c;const _0x36d687=this;this['disposeWithMe'](this['_HTTPService'][_0x3009f9(0x55f)]({'priority':0x3e7,'interceptor':_0x3f793f['MergeInterceptorFactory']({'isMatch'(_0x376f58){var _0x407fbb=_0x3009f9,_0x3fa6c9;if(_0x376f58[_0x407fbb(0x30f)]===_0x407fbb(0x1f8)&&((_0x3fa6c9=_0x376f58[_0x407fbb(0x46c)])!=null&&_0x3fa6c9[_0x407fbb(0x1e4)])){const {objectID:_0x5625a2,objectType:_0x14069e}=_0x376f58[_0x407fbb(0x46c)][_0x407fbb(0x1e4)]||{};if(!_0x5625a2||_0x14069e===void 0x0)return!0x1;const _0x5b9dd9=_0x36d687[_0x407fbb(0x24e)]()+'/'+_0x14069e+'/object/'+_0x5625a2+_0x407fbb(0x316);if(_0x376f58[_0x407fbb(0x549)]===_0x5b9dd9)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x205bf2){var _0x265146=_0x3009f9,_0x5288f0;return(_0x5288f0=_0x205bf2[_0x265146(0x46c)])==null?void 0x0:_0x5288f0[_0x265146(0x1e4)];},'mergeParamsToRequest'(_0x780707,_0x5e73eb){var _0x280070=_0x3009f9;const _0x34a9cb=_0x36d687[_0x280070(0x24e)]()+_0x280070(0x531),_0x35091e=_0x780707[_0x280070(0x2f3)]((_0x5e6bd2,_0x4ef864)=>{var _0x217a5d=_0x280070;const {unitID:_0x3480c4,objectID:_0x24a57c,objectType:_0x43c03d,actions:_0x46b34a}=_0x4ef864;return _0x5e6bd2[_0x3480c4]||(_0x5e6bd2[_0x3480c4]={}),_0x5e6bd2[_0x3480c4][_0x24a57c]||(_0x5e6bd2[_0x3480c4][_0x24a57c]={'objectID':_0x24a57c,'objectType':_0x43c03d,'actions':[]}),_0x5e6bd2[_0x3480c4][_0x24a57c][_0x217a5d(0x4dc)][_0x217a5d(0x306)](..._0x46b34a),_0x5e6bd2;},{}),_0x496a1c=[];for(const _0x31ab9d in _0x35091e)for(const _0x1f0264 in _0x35091e[_0x31ab9d]){const {actions:_0x33305c,objectType:_0x2cce06}=_0x35091e[_0x31ab9d][_0x1f0264],_0x54202e=[...new Set(_0x33305c)];_0x496a1c['push']({'unitID':_0x31ab9d,'objectID':_0x1f0264,'objectType':_0x2cce06,'actions':_0x54202e});}return new _0x3f793f[(_0x280070(0x3b2))](_0x280070(0x1f8),_0x34a9cb,{'headers':_0x5e73eb[_0x280070(0x28d)],'withCredentials':_0x5e73eb[_0x280070(0x4c9)],'responseType':_0x5e73eb[_0x280070(0x314)],'body':{'requests':_0x496a1c}});}},{'distributeResult'(_0x10341a,_0x295de4){var _0x25d563=_0x3009f9;const {objectActions:_0x47beb4}=_0x10341a;return _0x295de4[_0x25d563(0x277)](_0xe54574=>{var _0x4d33a4=_0x25d563;const {unitID:_0x3d6164,objectID:_0x1b5d09,actions:_0x35d6ab}=_0xe54574,_0x482a3c=_0x47beb4[_0x4d33a4(0x21a)](_0x266305=>_0x266305[_0x4d33a4(0x3f1)]===_0x3d6164&&_0x266305[_0x4d33a4(0x38e)]===_0x1b5d09),_0xd18b0d=_0x35d6ab[_0x4d33a4(0x277)](_0x134340=>_0x482a3c==null?void 0x0:_0x482a3c[_0x4d33a4(0x4dc)][_0x4d33a4(0x21a)](_0x2ab294=>_0x2ab294[_0x4d33a4(0x20a)]===_0x134340))['filter'](_0x4c0213=>!!_0x4c0213);return{'config':_0xe54574,'result':{'actions':_0xd18b0d,'error':_0x10341a[_0x4d33a4(0x456)]}};});}})}));}[_0x4ef07c(0x24e)](){var _0x4785a3=_0x4ef07c,_0x3976ae;const _0x14f02a=this['_configService'][_0x4785a3(0x4e3)](_0x50bbc4);return(_0x3976ae=_0x14f02a==null?void 0x0:_0x14f02a[_0x4785a3(0x476)])!=null?_0x3976ae:_0x260280;}async[_0x4ef07c(0x4c2)](_0x48bfcc){var _0x2ef57a=_0x4ef07c;const _0x5ddf73=this[_0x2ef57a(0x24e)]()+'/'+_0x48bfcc[_0x2ef57a(0x39f)]+_0x2ef57a(0x4ca);return(await this[_0x2ef57a(0x43f)][_0x2ef57a(0x3ff)](_0x5ddf73,{'body':_0x48bfcc}))['body']['objectID']||'';}async[_0x4ef07c(0x1ee)](_0x49141f){var _0x298f0d=_0x4ef07c;const _0x4f4feb=this[_0x298f0d(0x24e)]()+'/-/object/list';return(await this[_0x298f0d(0x43f)][_0x298f0d(0x3ff)](_0x4f4feb,{'body':_0x49141f}))[_0x298f0d(0x1e4)]['objects'];}async[_0x4ef07c(0x4f6)](_0x1ff4ae){var _0xf4a5dc=_0x4ef07c,_0x404cc1,_0x389324;const _0x3a192d=this[_0xf4a5dc(0x24e)]()+'/'+_0x1ff4ae[_0xf4a5dc(0x39f)]+'/object/'+_0x1ff4ae[_0xf4a5dc(0x38e)],_0x1d99ce=await this[_0xf4a5dc(0x43f)]['put'](_0x3a192d,{'body':_0x1ff4ae});if(((_0x389324=(_0x404cc1=_0x1d99ce==null?void 0x0:_0x1d99ce[_0xf4a5dc(0x1e4)])==null?void 0x0:_0x404cc1[_0xf4a5dc(0x456)])==null?void 0x0:_0x389324[_0xf4a5dc(0x3ce)])!==0x1)throw new Error(_0xf4a5dc(0x1eb));}async['allowed'](_0x4d3d6a){var _0x335e63=_0x4ef07c;const _0x20dd68=this[_0x335e63(0x24e)]()+'/'+_0x4d3d6a['objectType']+_0x335e63(0x229)+_0x4d3d6a['objectID']+_0x335e63(0x316);return(await this[_0x335e63(0x43f)][_0x335e63(0x3ff)](_0x20dd68,{'body':_0x4d3d6a}))['body'][_0x335e63(0x4dc)];}async['batchAllowed'](_0x1ee4a6){var _0x131404=_0x4ef07c;const _0x1be68b=this['_getAPIPrefixPath']()+_0x131404(0x531);return(await this[_0x131404(0x43f)][_0x131404(0x3ff)](_0x1be68b,{'body':{'requests':_0x1ee4a6}}))[_0x131404(0x1e4)][_0x131404(0x46d)];}async[_0x4ef07c(0x25c)](_0x4585ff){var _0x126b77=_0x4ef07c;const _0x2d7aa9=this['_getAPIPrefixPath']()+'/'+_0x4585ff['objectType']+_0x126b77(0x43d),_0x2fd946=await this[_0x126b77(0x43f)][_0x126b77(0x3ff)](_0x2d7aa9,{'body':_0x4585ff});return{'roles':_0x2fd946[_0x126b77(0x1e4)][_0x126b77(0x3d0)],'actions':_0x2fd946[_0x126b77(0x1e4)][_0x126b77(0x4dc)]};}async[_0x4ef07c(0x2d9)](_0x3d9e07){var _0x1bf028=_0x4ef07c;const _0x53b867=this['_getAPIPrefixPath']()+_0x1bf028(0x34e);await this[_0x1bf028(0x43f)][_0x1bf028(0x45f)](_0x53b867,{'params':{'collaboratorID':_0x3d9e07['collaboratorID'],'objectID':_0x3d9e07[_0x1bf028(0x38e)],'unitID':_0x3d9e07[_0x1bf028(0x3f1)]}});}async[_0x4ef07c(0x3cf)](_0xa493cb){var _0x4c8fff=_0x4ef07c;const _0x1109a9=this[_0x4c8fff(0x24e)]()+'/collaborator';await this[_0x4c8fff(0x43f)][_0x4c8fff(0x3f6)](_0x1109a9,{'body':_0xa493cb});}async[_0x4ef07c(0x3ea)](_0x4abf78){var _0x4f3858=_0x4ef07c;const _0x330cd2=this[_0x4f3858(0x24e)]()+_0x4f3858(0x34e);await this[_0x4f3858(0x43f)][_0x4f3858(0x3ff)](_0x330cd2,{'body':_0x4abf78});}async[_0x4ef07c(0x379)](_0x41e35e){var _0x51da78=_0x4ef07c;const _0x5c197f=this[_0x51da78(0x24e)]()+_0x51da78(0x34e);return(await this[_0x51da78(0x43f)][_0x51da78(0x47e)](_0x5c197f,{'params':{'objectID':_0x41e35e[_0x51da78(0x38e)],'unitID':_0x41e35e[_0x51da78(0x3f1)]}}))['body'][_0x51da78(0x4c8)];}async['putCollaborators'](_0xebc0a7){var _0x3ceff7=_0x4ef07c;const _0x37377d=this[_0x3ceff7(0x24e)]()+'/collaborator';await this[_0x3ceff7(0x43f)]['put'](_0x37377d,{'body':_0xebc0a7});}},_0x2c717a['AuthzIoHttpService']=_0x2acfd3([_0xbee90c(0x0,_0x5a87f6[_0x4ef07c(0x2f6)](_0x3f793f[_0x4ef07c(0x44d)])),_0xbee90c(0x1,_0x5a87f6['Inject'](_0x5a87f6['IConfigService']))],_0x2c717a['AuthzIoHttpService']);var _0x1f65ef=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function _0xabc530(_0x34955a){var _0x319897=_0x4ef07c;return _0x34955a&&_0x34955a[_0x319897(0x4bd)]&&Object['prototype']['hasOwnProperty'][_0x319897(0x24b)](_0x34955a,_0x319897(0x39d))?_0x34955a['default']:_0x34955a;}var _0x265397={'exports':{}};function _0x34ba27(_0x45d2a5){var _0x11dea2=_0x4ef07c;throw new Error(_0x11dea2(0x445)+_0x45d2a5+_0x11dea2(0x4b8));}var _0x454222={'exports':{}},_0x568b8f=_0x454222[_0x4ef07c(0x3b0)],_0x346d8f;function _0x3d7c88(){var _0x566990=_0x4ef07c;return _0x346d8f||(_0x346d8f=0x1,function(_0x36511b,_0x5e6a38){(function(_0x39fb72,_0x300139){var _0x37d22c=_0x4d6f;_0x36511b[_0x37d22c(0x3b0)]=_0x300139();}(_0x568b8f,function(){var _0x3d53f3=_0x3d53f3||function(_0x425a99,_0xeeea19){var _0x55c295=_0x4d6f,_0xd14c3f;if(typeof window<'u'&&window['crypto']&&(_0xd14c3f=window['crypto']),typeof self<'u'&&self['crypto']&&(_0xd14c3f=self['crypto']),typeof globalThis<'u'&&globalThis[_0x55c295(0x343)]&&(_0xd14c3f=globalThis[_0x55c295(0x343)]),!_0xd14c3f&&typeof window<'u'&&window['msCrypto']&&(_0xd14c3f=window['msCrypto']),!_0xd14c3f&&typeof _0x1f65ef<'u'&&_0x1f65ef['crypto']&&(_0xd14c3f=_0x1f65ef[_0x55c295(0x343)]),!_0xd14c3f&&typeof _0x34ba27==_0x55c295(0x40a))try{_0xd14c3f=require('crypto');}catch{}var _0x230f52=function(){var _0x237bf3=_0x55c295;if(_0xd14c3f){if(typeof _0xd14c3f['getRandomValues']==_0x237bf3(0x40a))try{return _0xd14c3f[_0x237bf3(0x384)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0xd14c3f['randomBytes']==_0x237bf3(0x40a))try{return _0xd14c3f[_0x237bf3(0x402)](0x4)[_0x237bf3(0x3bb)]();}catch{}}throw new Error(_0x237bf3(0x291));},_0x40920e=Object[_0x55c295(0x4c2)]||(function(){function _0x2e7a65(){}return function(_0x3edbb5){var _0x38fa8f=_0x4d6f,_0x4f2275;return _0x2e7a65[_0x38fa8f(0x31e)]=_0x3edbb5,_0x4f2275=new _0x2e7a65(),_0x2e7a65[_0x38fa8f(0x31e)]=null,_0x4f2275;};}()),_0x1b8266={},_0x297104=_0x1b8266[_0x55c295(0x21c)]={},_0x1e8773=_0x297104[_0x55c295(0x368)]=(function(){return{'extend':function(_0x193a08){var _0x3d3a29=_0x4d6f,_0x1daf18=_0x40920e(this);return _0x193a08&&_0x1daf18[_0x3d3a29(0x369)](_0x193a08),(!_0x1daf18['hasOwnProperty'](_0x3d3a29(0x2a8))||this[_0x3d3a29(0x2a8)]===_0x1daf18[_0x3d3a29(0x2a8)])&&(_0x1daf18[_0x3d3a29(0x2a8)]=function(){var _0x1613a0=_0x3d3a29;_0x1daf18['$super'][_0x1613a0(0x2a8)]['apply'](this,arguments);}),_0x1daf18[_0x3d3a29(0x2a8)]['prototype']=_0x1daf18,_0x1daf18[_0x3d3a29(0x4c1)]=this,_0x1daf18;},'create':function(){var _0x21e1b1=_0x4d6f,_0x15bd31=this[_0x21e1b1(0x386)]();return _0x15bd31[_0x21e1b1(0x2a8)][_0x21e1b1(0x3ac)](_0x15bd31,arguments),_0x15bd31;},'init':function(){},'mixIn':function(_0x4f9ef1){var _0x25f478=_0x4d6f;for(var _0x167705 in _0x4f9ef1)_0x4f9ef1[_0x25f478(0x2bb)](_0x167705)&&(this[_0x167705]=_0x4f9ef1[_0x167705]);_0x4f9ef1[_0x25f478(0x2bb)](_0x25f478(0x38d))&&(this[_0x25f478(0x38d)]=_0x4f9ef1[_0x25f478(0x38d)]);},'clone':function(){var _0x3bbb89=_0x4d6f;return this['init'][_0x3bbb89(0x31e)]['extend'](this);}};}()),_0x4218f1=_0x297104[_0x55c295(0x35a)]=_0x1e8773[_0x55c295(0x386)]({'init':function(_0x5a2190,_0x4bbf9f){var _0x4c54dc=_0x55c295;_0x5a2190=this['words']=_0x5a2190||[],_0x4bbf9f!=_0xeeea19?this[_0x4c54dc(0x1c7)]=_0x4bbf9f:this[_0x4c54dc(0x1c7)]=_0x5a2190['length']*0x4;},'toString':function(_0x12d795){var _0x134a9c=_0x55c295;return(_0x12d795||_0x3364da)[_0x134a9c(0x49b)](this);},'concat':function(_0x16fe92){var _0x14026e=_0x55c295,_0x123e28=this[_0x14026e(0x346)],_0x170237=_0x16fe92[_0x14026e(0x346)],_0x232332=this[_0x14026e(0x1c7)],_0x4b3f84=_0x16fe92[_0x14026e(0x1c7)];if(this['clamp'](),_0x232332%0x4)for(var _0x584b5c=0x0;_0x584b5c<_0x4b3f84;_0x584b5c++){var _0x29809=_0x170237[_0x584b5c>>>0x2]>>>0x18-_0x584b5c%0x4*0x8&0xff;_0x123e28[_0x232332+_0x584b5c>>>0x2]|=_0x29809<<0x18-(_0x232332+_0x584b5c)%0x4*0x8;}else{for(var _0x16f51f=0x0;_0x16f51f<_0x4b3f84;_0x16f51f+=0x4)_0x123e28[_0x232332+_0x16f51f>>>0x2]=_0x170237[_0x16f51f>>>0x2];}return this[_0x14026e(0x1c7)]+=_0x4b3f84,this;},'clamp':function(){var _0x46b907=_0x55c295,_0xc4312c=this[_0x46b907(0x346)],_0x51b2f2=this['sigBytes'];_0xc4312c[_0x51b2f2>>>0x2]&=0xffffffff<<0x20-_0x51b2f2%0x4*0x8,_0xc4312c[_0x46b907(0x3aa)]=_0x425a99['ceil'](_0x51b2f2/0x4);},'clone':function(){var _0x2663e2=_0x55c295,_0x323a8d=_0x1e8773['clone'][_0x2663e2(0x24b)](this);return _0x323a8d[_0x2663e2(0x346)]=this['words'][_0x2663e2(0x34b)](0x0),_0x323a8d;},'random':function(_0x4ef4f3){var _0x26225e=_0x55c295;for(var _0x5cf492=[],_0x86f660=0x0;_0x86f660<_0x4ef4f3;_0x86f660+=0x4)_0x5cf492[_0x26225e(0x306)](_0x230f52());return new _0x4218f1[(_0x26225e(0x2a8))](_0x5cf492,_0x4ef4f3);}}),_0x3f252a=_0x1b8266[_0x55c295(0x2eb)]={},_0x3364da=_0x3f252a[_0x55c295(0x279)]={'stringify':function(_0x12d517){var _0x459ad1=_0x55c295;for(var _0x4809e7=_0x12d517[_0x459ad1(0x346)],_0x1be89d=_0x12d517[_0x459ad1(0x1c7)],_0x179e56=[],_0x350eb2=0x0;_0x350eb2<_0x1be89d;_0x350eb2++){var _0x2021fe=_0x4809e7[_0x350eb2>>>0x2]>>>0x18-_0x350eb2%0x4*0x8&0xff;_0x179e56[_0x459ad1(0x306)]((_0x2021fe>>>0x4)['toString'](0x10)),_0x179e56['push']((_0x2021fe&0xf)[_0x459ad1(0x38d)](0x10));}return _0x179e56[_0x459ad1(0x31b)]('');},'parse':function(_0xf8ce69){var _0x533daf=_0x55c295;for(var _0x1b3294=_0xf8ce69['length'],_0x2768b7=[],_0x23658d=0x0;_0x23658d<_0x1b3294;_0x23658d+=0x2)_0x2768b7[_0x23658d>>>0x3]|=parseInt(_0xf8ce69[_0x533daf(0x530)](_0x23658d,0x2),0x10)<<0x18-_0x23658d%0x8*0x4;return new _0x4218f1[(_0x533daf(0x2a8))](_0x2768b7,_0x1b3294/0x2);}},_0x170739=_0x3f252a[_0x55c295(0x457)]={'stringify':function(_0x450e24){var _0x3accb9=_0x55c295;for(var _0x336b8a=_0x450e24['words'],_0x161969=_0x450e24['sigBytes'],_0x15ccc9=[],_0x413ef4=0x0;_0x413ef4<_0x161969;_0x413ef4++){var _0x171f03=_0x336b8a[_0x413ef4>>>0x2]>>>0x18-_0x413ef4%0x4*0x8&0xff;_0x15ccc9[_0x3accb9(0x306)](String[_0x3accb9(0x3ef)](_0x171f03));}return _0x15ccc9[_0x3accb9(0x31b)]('');},'parse':function(_0x5bcc4c){var _0x57dbe6=_0x55c295;for(var _0x115aa6=_0x5bcc4c[_0x57dbe6(0x3aa)],_0x2420c5=[],_0x4e9af9=0x0;_0x4e9af9<_0x115aa6;_0x4e9af9++)_0x2420c5[_0x4e9af9>>>0x2]|=(_0x5bcc4c[_0x57dbe6(0x3cc)](_0x4e9af9)&0xff)<<0x18-_0x4e9af9%0x4*0x8;return new _0x4218f1[(_0x57dbe6(0x2a8))](_0x2420c5,_0x115aa6);}},_0x3660a2=_0x3f252a['Utf8']={'stringify':function(_0x511bb9){var _0x306969=_0x55c295;try{return decodeURIComponent(escape(_0x170739[_0x306969(0x49b)](_0x511bb9)));}catch{throw new Error(_0x306969(0x516));}},'parse':function(_0x59b2d1){var _0x4bdea6=_0x55c295;return _0x170739[_0x4bdea6(0x55e)](unescape(encodeURIComponent(_0x59b2d1)));}},_0x3fc16a=_0x297104[_0x55c295(0x2fa)]=_0x1e8773[_0x55c295(0x386)]({'reset':function(){var _0x27d7ab=_0x55c295;this[_0x27d7ab(0x2f2)]=new _0x4218f1['init'](),this[_0x27d7ab(0x3de)]=0x0;},'_append':function(_0x41a552){var _0x98c524=_0x55c295;typeof _0x41a552==_0x98c524(0x4a1)&&(_0x41a552=_0x3660a2[_0x98c524(0x55e)](_0x41a552)),this['_data'][_0x98c524(0x385)](_0x41a552),this[_0x98c524(0x3de)]+=_0x41a552[_0x98c524(0x1c7)];},'_process':function(_0x27505a){var _0x39c4e5=_0x55c295,_0x1ceda9,_0x293900=this[_0x39c4e5(0x2f2)],_0x517a81=_0x293900[_0x39c4e5(0x346)],_0x2fc3b7=_0x293900[_0x39c4e5(0x1c7)],_0x7a3ba4=this[_0x39c4e5(0x22c)],_0x199420=_0x7a3ba4*0x4,_0x721571=_0x2fc3b7/_0x199420;_0x27505a?_0x721571=_0x425a99[_0x39c4e5(0x4d0)](_0x721571):_0x721571=_0x425a99[_0x39c4e5(0x394)]((_0x721571|0x0)-this[_0x39c4e5(0x47d)],0x0);var _0x3a9eb1=_0x721571*_0x7a3ba4,_0x1a8a94=_0x425a99[_0x39c4e5(0x467)](_0x3a9eb1*0x4,_0x2fc3b7);if(_0x3a9eb1){for(var _0x3a4849=0x0;_0x3a4849<_0x3a9eb1;_0x3a4849+=_0x7a3ba4)this[_0x39c4e5(0x45b)](_0x517a81,_0x3a4849);_0x1ceda9=_0x517a81[_0x39c4e5(0x4c3)](0x0,_0x3a9eb1),_0x293900[_0x39c4e5(0x1c7)]-=_0x1a8a94;}return new _0x4218f1[(_0x39c4e5(0x2a8))](_0x1ceda9,_0x1a8a94);},'clone':function(){var _0x169f65=_0x55c295,_0x586988=_0x1e8773[_0x169f65(0x533)][_0x169f65(0x24b)](this);return _0x586988[_0x169f65(0x2f2)]=this[_0x169f65(0x2f2)]['clone'](),_0x586988;},'_minBufferSize':0x0});_0x297104[_0x55c295(0x435)]=_0x3fc16a[_0x55c295(0x386)]({'cfg':_0x1e8773[_0x55c295(0x386)](),'init':function(_0x458748){var _0x40f717=_0x55c295;this['cfg']=this[_0x40f717(0x46f)][_0x40f717(0x386)](_0x458748),this['reset']();},'reset':function(){var _0x5d01cc=_0x55c295;_0x3fc16a[_0x5d01cc(0x39e)][_0x5d01cc(0x24b)](this),this[_0x5d01cc(0x323)]();},'update':function(_0x5c9097){var _0x4b60ae=_0x55c295;return this[_0x4b60ae(0x390)](_0x5c9097),this[_0x4b60ae(0x54c)](),this;},'finalize':function(_0x28bbe5){var _0x4bdce7=_0x55c295;_0x28bbe5&&this[_0x4bdce7(0x390)](_0x28bbe5);var _0x4c2f0a=this[_0x4bdce7(0x32f)]();return _0x4c2f0a;},'blockSize':0x10,'_createHelper':function(_0x1ae202){return function(_0x11f011,_0x564685){var _0x54c5c6=_0x4d6f;return new _0x1ae202['init'](_0x564685)[_0x54c5c6(0x36f)](_0x11f011);};},'_createHmacHelper':function(_0xbfda98){return function(_0x160187,_0x373843){var _0x5a0104=_0x4d6f;return new _0x510d8e[(_0x5a0104(0x484))][(_0x5a0104(0x2a8))](_0xbfda98,_0x373843)[_0x5a0104(0x36f)](_0x160187);};}});var _0x510d8e=_0x1b8266[_0x55c295(0x4a7)]={};return _0x1b8266;}(Math);return _0x3d53f3;}));}(_0x454222)),_0x454222[_0x566990(0x3b0)];}var _0x429ba4={'exports':{}},_0x348e37=_0x429ba4[_0x4ef07c(0x3b0)],_0x25a878;function _0x3a11d6(){var _0x2e4b6b=_0x4ef07c;return _0x25a878||(_0x25a878=0x1,function(_0x5be6b8,_0x1dff3a){(function(_0x28c563,_0x3c216b){_0x5be6b8['exports']=_0x3c216b(_0x3d7c88());}(_0x348e37,function(_0x33223d){var _0x1faae4=_0x4d6f;return(function(){var _0x1a013c=_0x4d6f,_0x314d6f=_0x33223d,_0x38cc90=_0x314d6f[_0x1a013c(0x21c)],_0x425d58=_0x38cc90[_0x1a013c(0x35a)],_0x3916c6=_0x314d6f[_0x1a013c(0x2eb)];_0x3916c6[_0x1a013c(0x362)]={'stringify':function(_0x1035d2){var _0x5bdce3=_0x1a013c,_0x56f551=_0x1035d2['words'],_0x102a45=_0x1035d2['sigBytes'],_0x3df21a=this[_0x5bdce3(0x3ee)];_0x1035d2['clamp']();for(var _0x1a008c=[],_0x10c27e=0x0;_0x10c27e<_0x102a45;_0x10c27e+=0x3)for(var _0x455ecb=_0x56f551[_0x10c27e>>>0x2]>>>0x18-_0x10c27e%0x4*0x8&0xff,_0x464221=_0x56f551[_0x10c27e+0x1>>>0x2]>>>0x18-(_0x10c27e+0x1)%0x4*0x8&0xff,_0x3eef9b=_0x56f551[_0x10c27e+0x2>>>0x2]>>>0x18-(_0x10c27e+0x2)%0x4*0x8&0xff,_0x3a978e=_0x455ecb<<0x10|_0x464221<<0x8|_0x3eef9b,_0x23f4b8=0x0;_0x23f4b8<0x4&&_0x10c27e+_0x23f4b8*0.75<_0x102a45;_0x23f4b8++)_0x1a008c[_0x5bdce3(0x306)](_0x3df21a[_0x5bdce3(0x45a)](_0x3a978e>>>0x6*(0x3-_0x23f4b8)&0x3f));var _0x1f276f=_0x3df21a[_0x5bdce3(0x45a)](0x40);if(_0x1f276f){for(;_0x1a008c[_0x5bdce3(0x3aa)]%0x4;)_0x1a008c['push'](_0x1f276f);}return _0x1a008c[_0x5bdce3(0x31b)]('');},'parse':function(_0x24cb0e){var _0x469927=_0x1a013c,_0x5ea9d9=_0x24cb0e[_0x469927(0x3aa)],_0x4cf908=this[_0x469927(0x3ee)],_0x1ab386=this[_0x469927(0x4a8)];if(!_0x1ab386){_0x1ab386=this[_0x469927(0x4a8)]=[];for(var _0x5e6ecc=0x0;_0x5e6ecc<_0x4cf908['length'];_0x5e6ecc++)_0x1ab386[_0x4cf908[_0x469927(0x3cc)](_0x5e6ecc)]=_0x5e6ecc;}var _0x1ec6b6=_0x4cf908[_0x469927(0x45a)](0x40);if(_0x1ec6b6){var _0x4b7ee4=_0x24cb0e[_0x469927(0x4be)](_0x1ec6b6);_0x4b7ee4!==-0x1&&(_0x5ea9d9=_0x4b7ee4);}return _0x48029c(_0x24cb0e,_0x5ea9d9,_0x1ab386);},'_map':'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/='};function _0x48029c(_0x14c574,_0x46373a,_0x110f40){var _0x38cc51=_0x1a013c;for(var _0x178a40=[],_0x424882=0x0,_0x3f1604=0x0;_0x3f1604<_0x46373a;_0x3f1604++)if(_0x3f1604%0x4){var _0x5c73d2=_0x110f40[_0x14c574[_0x38cc51(0x3cc)](_0x3f1604-0x1)]<<_0x3f1604%0x4*0x2,_0x7a20c4=_0x110f40[_0x14c574[_0x38cc51(0x3cc)](_0x3f1604)]>>>0x6-_0x3f1604%0x4*0x2,_0x4ba219=_0x5c73d2|_0x7a20c4;_0x178a40[_0x424882>>>0x2]|=_0x4ba219<<0x18-_0x424882%0x4*0x8,_0x424882++;}return _0x425d58[_0x38cc51(0x4c2)](_0x178a40,_0x424882);}}()),_0x33223d[_0x1faae4(0x2eb)]['Base64'];}));}(_0x429ba4)),_0x429ba4[_0x2e4b6b(0x3b0)];}var _0x3b124a={'exports':{}},_0x4f6195=_0x3b124a[_0x4ef07c(0x3b0)],_0x49b47b;function _0x1c8a85(){return _0x49b47b||(_0x49b47b=0x1,function(_0x46ec46,_0x23369b){(function(_0x1e0a80,_0x5a3ad7){var _0xfbf8e6=_0x4d6f;_0x46ec46[_0xfbf8e6(0x3b0)]=_0x5a3ad7(_0x3d7c88());}(_0x4f6195,function(_0x54b217){var _0x344073=_0x4d6f;return function(_0x45b490){var _0x80f2fd=_0x4d6f,_0x18c9e6=_0x54b217,_0x22bb4b=_0x18c9e6[_0x80f2fd(0x21c)],_0x5c5093=_0x22bb4b[_0x80f2fd(0x35a)],_0x51b7ad=_0x22bb4b['Hasher'],_0x41933d=_0x18c9e6[_0x80f2fd(0x4a7)],_0x31eb9d=[];(function(){var _0x24b64e=_0x80f2fd;for(var _0x39d7b4=0x0;_0x39d7b4<0x40;_0x39d7b4++)_0x31eb9d[_0x39d7b4]=_0x45b490[_0x24b64e(0x3fc)](_0x45b490[_0x24b64e(0x42d)](_0x39d7b4+0x1))*0x100000000|0x0;}());var _0x244e7a=_0x41933d[_0x80f2fd(0x302)]=_0x51b7ad[_0x80f2fd(0x386)]({'_doReset':function(){var _0x48d7df=_0x80f2fd;this['_hash']=new _0x5c5093[(_0x48d7df(0x2a8))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0xf91714,_0x115071){var _0x496536=_0x80f2fd;for(var _0x37fbb0=0x0;_0x37fbb0<0x10;_0x37fbb0++){var _0x5d29c9=_0x115071+_0x37fbb0,_0x37c758=_0xf91714[_0x5d29c9];_0xf91714[_0x5d29c9]=(_0x37c758<<0x8|_0x37c758>>>0x18)&0xff00ff|(_0x37c758<<0x18|_0x37c758>>>0x8)&0xff00ff00;}var _0x8cc5a9=this[_0x496536(0x36c)][_0x496536(0x346)],_0x18a417=_0xf91714[_0x115071+0x0],_0x651013=_0xf91714[_0x115071+0x1],_0xc13f28=_0xf91714[_0x115071+0x2],_0x35c19e=_0xf91714[_0x115071+0x3],_0x3c3131=_0xf91714[_0x115071+0x4],_0x50eb77=_0xf91714[_0x115071+0x5],_0x54988e=_0xf91714[_0x115071+0x6],_0x5d4075=_0xf91714[_0x115071+0x7],_0x5d9729=_0xf91714[_0x115071+0x8],_0x1dc24b=_0xf91714[_0x115071+0x9],_0x80f0f4=_0xf91714[_0x115071+0xa],_0x55d411=_0xf91714[_0x115071+0xb],_0x284cb4=_0xf91714[_0x115071+0xc],_0x4d771b=_0xf91714[_0x115071+0xd],_0xa28c1a=_0xf91714[_0x115071+0xe],_0x1f68da=_0xf91714[_0x115071+0xf],_0x456ff5=_0x8cc5a9[0x0],_0xe2569f=_0x8cc5a9[0x1],_0x103d88=_0x8cc5a9[0x2],_0x1d8c06=_0x8cc5a9[0x3];_0x456ff5=_0x174f56(_0x456ff5,_0xe2569f,_0x103d88,_0x1d8c06,_0x18a417,0x7,_0x31eb9d[0x0]),_0x1d8c06=_0x174f56(_0x1d8c06,_0x456ff5,_0xe2569f,_0x103d88,_0x651013,0xc,_0x31eb9d[0x1]),_0x103d88=_0x174f56(_0x103d88,_0x1d8c06,_0x456ff5,_0xe2569f,_0xc13f28,0x11,_0x31eb9d[0x2]),_0xe2569f=_0x174f56(_0xe2569f,_0x103d88,_0x1d8c06,_0x456ff5,_0x35c19e,0x16,_0x31eb9d[0x3]),_0x456ff5=_0x174f56(_0x456ff5,_0xe2569f,_0x103d88,_0x1d8c06,_0x3c3131,0x7,_0x31eb9d[0x4]),_0x1d8c06=_0x174f56(_0x1d8c06,_0x456ff5,_0xe2569f,_0x103d88,_0x50eb77,0xc,_0x31eb9d[0x5]),_0x103d88=_0x174f56(_0x103d88,_0x1d8c06,_0x456ff5,_0xe2569f,_0x54988e,0x11,_0x31eb9d[0x6]),_0xe2569f=_0x174f56(_0xe2569f,_0x103d88,_0x1d8c06,_0x456ff5,_0x5d4075,0x16,_0x31eb9d[0x7]),_0x456ff5=_0x174f56(_0x456ff5,_0xe2569f,_0x103d88,_0x1d8c06,_0x5d9729,0x7,_0x31eb9d[0x8]),_0x1d8c06=_0x174f56(_0x1d8c06,_0x456ff5,_0xe2569f,_0x103d88,_0x1dc24b,0xc,_0x31eb9d[0x9]),_0x103d88=_0x174f56(_0x103d88,_0x1d8c06,_0x456ff5,_0xe2569f,_0x80f0f4,0x11,_0x31eb9d[0xa]),_0xe2569f=_0x174f56(_0xe2569f,_0x103d88,_0x1d8c06,_0x456ff5,_0x55d411,0x16,_0x31eb9d[0xb]),_0x456ff5=_0x174f56(_0x456ff5,_0xe2569f,_0x103d88,_0x1d8c06,_0x284cb4,0x7,_0x31eb9d[0xc]),_0x1d8c06=_0x174f56(_0x1d8c06,_0x456ff5,_0xe2569f,_0x103d88,_0x4d771b,0xc,_0x31eb9d[0xd]),_0x103d88=_0x174f56(_0x103d88,_0x1d8c06,_0x456ff5,_0xe2569f,_0xa28c1a,0x11,_0x31eb9d[0xe]),_0xe2569f=_0x174f56(_0xe2569f,_0x103d88,_0x1d8c06,_0x456ff5,_0x1f68da,0x16,_0x31eb9d[0xf]),_0x456ff5=_0x14db85(_0x456ff5,_0xe2569f,_0x103d88,_0x1d8c06,_0x651013,0x5,_0x31eb9d[0x10]),_0x1d8c06=_0x14db85(_0x1d8c06,_0x456ff5,_0xe2569f,_0x103d88,_0x54988e,0x9,_0x31eb9d[0x11]),_0x103d88=_0x14db85(_0x103d88,_0x1d8c06,_0x456ff5,_0xe2569f,_0x55d411,0xe,_0x31eb9d[0x12]),_0xe2569f=_0x14db85(_0xe2569f,_0x103d88,_0x1d8c06,_0x456ff5,_0x18a417,0x14,_0x31eb9d[0x13]),_0x456ff5=_0x14db85(_0x456ff5,_0xe2569f,_0x103d88,_0x1d8c06,_0x50eb77,0x5,_0x31eb9d[0x14]),_0x1d8c06=_0x14db85(_0x1d8c06,_0x456ff5,_0xe2569f,_0x103d88,_0x80f0f4,0x9,_0x31eb9d[0x15]),_0x103d88=_0x14db85(_0x103d88,_0x1d8c06,_0x456ff5,_0xe2569f,_0x1f68da,0xe,_0x31eb9d[0x16]),_0xe2569f=_0x14db85(_0xe2569f,_0x103d88,_0x1d8c06,_0x456ff5,_0x3c3131,0x14,_0x31eb9d[0x17]),_0x456ff5=_0x14db85(_0x456ff5,_0xe2569f,_0x103d88,_0x1d8c06,_0x1dc24b,0x5,_0x31eb9d[0x18]),_0x1d8c06=_0x14db85(_0x1d8c06,_0x456ff5,_0xe2569f,_0x103d88,_0xa28c1a,0x9,_0x31eb9d[0x19]),_0x103d88=_0x14db85(_0x103d88,_0x1d8c06,_0x456ff5,_0xe2569f,_0x35c19e,0xe,_0x31eb9d[0x1a]),_0xe2569f=_0x14db85(_0xe2569f,_0x103d88,_0x1d8c06,_0x456ff5,_0x5d9729,0x14,_0x31eb9d[0x1b]),_0x456ff5=_0x14db85(_0x456ff5,_0xe2569f,_0x103d88,_0x1d8c06,_0x4d771b,0x5,_0x31eb9d[0x1c]),_0x1d8c06=_0x14db85(_0x1d8c06,_0x456ff5,_0xe2569f,_0x103d88,_0xc13f28,0x9,_0x31eb9d[0x1d]),_0x103d88=_0x14db85(_0x103d88,_0x1d8c06,_0x456ff5,_0xe2569f,_0x5d4075,0xe,_0x31eb9d[0x1e]),_0xe2569f=_0x14db85(_0xe2569f,_0x103d88,_0x1d8c06,_0x456ff5,_0x284cb4,0x14,_0x31eb9d[0x1f]),_0x456ff5=_0x27658d(_0x456ff5,_0xe2569f,_0x103d88,_0x1d8c06,_0x50eb77,0x4,_0x31eb9d[0x20]),_0x1d8c06=_0x27658d(_0x1d8c06,_0x456ff5,_0xe2569f,_0x103d88,_0x5d9729,0xb,_0x31eb9d[0x21]),_0x103d88=_0x27658d(_0x103d88,_0x1d8c06,_0x456ff5,_0xe2569f,_0x55d411,0x10,_0x31eb9d[0x22]),_0xe2569f=_0x27658d(_0xe2569f,_0x103d88,_0x1d8c06,_0x456ff5,_0xa28c1a,0x17,_0x31eb9d[0x23]),_0x456ff5=_0x27658d(_0x456ff5,_0xe2569f,_0x103d88,_0x1d8c06,_0x651013,0x4,_0x31eb9d[0x24]),_0x1d8c06=_0x27658d(_0x1d8c06,_0x456ff5,_0xe2569f,_0x103d88,_0x3c3131,0xb,_0x31eb9d[0x25]),_0x103d88=_0x27658d(_0x103d88,_0x1d8c06,_0x456ff5,_0xe2569f,_0x5d4075,0x10,_0x31eb9d[0x26]),_0xe2569f=_0x27658d(_0xe2569f,_0x103d88,_0x1d8c06,_0x456ff5,_0x80f0f4,0x17,_0x31eb9d[0x27]),_0x456ff5=_0x27658d(_0x456ff5,_0xe2569f,_0x103d88,_0x1d8c06,_0x4d771b,0x4,_0x31eb9d[0x28]),_0x1d8c06=_0x27658d(_0x1d8c06,_0x456ff5,_0xe2569f,_0x103d88,_0x18a417,0xb,_0x31eb9d[0x29]),_0x103d88=_0x27658d(_0x103d88,_0x1d8c06,_0x456ff5,_0xe2569f,_0x35c19e,0x10,_0x31eb9d[0x2a]),_0xe2569f=_0x27658d(_0xe2569f,_0x103d88,_0x1d8c06,_0x456ff5,_0x54988e,0x17,_0x31eb9d[0x2b]),_0x456ff5=_0x27658d(_0x456ff5,_0xe2569f,_0x103d88,_0x1d8c06,_0x1dc24b,0x4,_0x31eb9d[0x2c]),_0x1d8c06=_0x27658d(_0x1d8c06,_0x456ff5,_0xe2569f,_0x103d88,_0x284cb4,0xb,_0x31eb9d[0x2d]),_0x103d88=_0x27658d(_0x103d88,_0x1d8c06,_0x456ff5,_0xe2569f,_0x1f68da,0x10,_0x31eb9d[0x2e]),_0xe2569f=_0x27658d(_0xe2569f,_0x103d88,_0x1d8c06,_0x456ff5,_0xc13f28,0x17,_0x31eb9d[0x2f]),_0x456ff5=_0x512cb9(_0x456ff5,_0xe2569f,_0x103d88,_0x1d8c06,_0x18a417,0x6,_0x31eb9d[0x30]),_0x1d8c06=_0x512cb9(_0x1d8c06,_0x456ff5,_0xe2569f,_0x103d88,_0x5d4075,0xa,_0x31eb9d[0x31]),_0x103d88=_0x512cb9(_0x103d88,_0x1d8c06,_0x456ff5,_0xe2569f,_0xa28c1a,0xf,_0x31eb9d[0x32]),_0xe2569f=_0x512cb9(_0xe2569f,_0x103d88,_0x1d8c06,_0x456ff5,_0x50eb77,0x15,_0x31eb9d[0x33]),_0x456ff5=_0x512cb9(_0x456ff5,_0xe2569f,_0x103d88,_0x1d8c06,_0x284cb4,0x6,_0x31eb9d[0x34]),_0x1d8c06=_0x512cb9(_0x1d8c06,_0x456ff5,_0xe2569f,_0x103d88,_0x35c19e,0xa,_0x31eb9d[0x35]),_0x103d88=_0x512cb9(_0x103d88,_0x1d8c06,_0x456ff5,_0xe2569f,_0x80f0f4,0xf,_0x31eb9d[0x36]),_0xe2569f=_0x512cb9(_0xe2569f,_0x103d88,_0x1d8c06,_0x456ff5,_0x651013,0x15,_0x31eb9d[0x37]),_0x456ff5=_0x512cb9(_0x456ff5,_0xe2569f,_0x103d88,_0x1d8c06,_0x5d9729,0x6,_0x31eb9d[0x38]),_0x1d8c06=_0x512cb9(_0x1d8c06,_0x456ff5,_0xe2569f,_0x103d88,_0x1f68da,0xa,_0x31eb9d[0x39]),_0x103d88=_0x512cb9(_0x103d88,_0x1d8c06,_0x456ff5,_0xe2569f,_0x54988e,0xf,_0x31eb9d[0x3a]),_0xe2569f=_0x512cb9(_0xe2569f,_0x103d88,_0x1d8c06,_0x456ff5,_0x4d771b,0x15,_0x31eb9d[0x3b]),_0x456ff5=_0x512cb9(_0x456ff5,_0xe2569f,_0x103d88,_0x1d8c06,_0x3c3131,0x6,_0x31eb9d[0x3c]),_0x1d8c06=_0x512cb9(_0x1d8c06,_0x456ff5,_0xe2569f,_0x103d88,_0x55d411,0xa,_0x31eb9d[0x3d]),_0x103d88=_0x512cb9(_0x103d88,_0x1d8c06,_0x456ff5,_0xe2569f,_0xc13f28,0xf,_0x31eb9d[0x3e]),_0xe2569f=_0x512cb9(_0xe2569f,_0x103d88,_0x1d8c06,_0x456ff5,_0x1dc24b,0x15,_0x31eb9d[0x3f]),_0x8cc5a9[0x0]=_0x8cc5a9[0x0]+_0x456ff5|0x0,_0x8cc5a9[0x1]=_0x8cc5a9[0x1]+_0xe2569f|0x0,_0x8cc5a9[0x2]=_0x8cc5a9[0x2]+_0x103d88|0x0,_0x8cc5a9[0x3]=_0x8cc5a9[0x3]+_0x1d8c06|0x0;},'_doFinalize':function(){var _0x27cbf2=_0x80f2fd,_0x260996=this[_0x27cbf2(0x2f2)],_0x56ff89=_0x260996['words'],_0x2ce0d4=this['_nDataBytes']*0x8,_0x3a5493=_0x260996['sigBytes']*0x8;_0x56ff89[_0x3a5493>>>0x5]|=0x80<<0x18-_0x3a5493%0x20;var _0x5718c0=_0x45b490[_0x27cbf2(0x286)](_0x2ce0d4/0x100000000),_0x4bad21=_0x2ce0d4;_0x56ff89[(_0x3a5493+0x40>>>0x9<<0x4)+0xf]=(_0x5718c0<<0x8|_0x5718c0>>>0x18)&0xff00ff|(_0x5718c0<<0x18|_0x5718c0>>>0x8)&0xff00ff00,_0x56ff89[(_0x3a5493+0x40>>>0x9<<0x4)+0xe]=(_0x4bad21<<0x8|_0x4bad21>>>0x18)&0xff00ff|(_0x4bad21<<0x18|_0x4bad21>>>0x8)&0xff00ff00,_0x260996[_0x27cbf2(0x1c7)]=(_0x56ff89[_0x27cbf2(0x3aa)]+0x1)*0x4,this['_process']();for(var _0x7f4009=this['_hash'],_0x4a72b4=_0x7f4009['words'],_0x270187=0x0;_0x270187<0x4;_0x270187++){var _0x49a9d1=_0x4a72b4[_0x270187];_0x4a72b4[_0x270187]=(_0x49a9d1<<0x8|_0x49a9d1>>>0x18)&0xff00ff|(_0x49a9d1<<0x18|_0x49a9d1>>>0x8)&0xff00ff00;}return _0x7f4009;},'clone':function(){var _0xa4d876=_0x80f2fd,_0x2b9c19=_0x51b7ad[_0xa4d876(0x533)][_0xa4d876(0x24b)](this);return _0x2b9c19[_0xa4d876(0x36c)]=this[_0xa4d876(0x36c)][_0xa4d876(0x533)](),_0x2b9c19;}});function _0x174f56(_0x2e8b15,_0x32a8c2,_0x54884a,_0x2933ec,_0x418b1e,_0x201cd9,_0x3f5734){var _0x22d6b0=_0x2e8b15+(_0x32a8c2&_0x54884a|~_0x32a8c2&_0x2933ec)+_0x418b1e+_0x3f5734;return(_0x22d6b0<<_0x201cd9|_0x22d6b0>>>0x20-_0x201cd9)+_0x32a8c2;}function _0x14db85(_0xac2793,_0x17095b,_0x241fe5,_0x4e96ca,_0x24da75,_0x899db9,_0x3fa745){var _0x347d7b=_0xac2793+(_0x17095b&_0x4e96ca|_0x241fe5&~_0x4e96ca)+_0x24da75+_0x3fa745;return(_0x347d7b<<_0x899db9|_0x347d7b>>>0x20-_0x899db9)+_0x17095b;}function _0x27658d(_0x4f0073,_0x150ee5,_0x308986,_0x59850d,_0x2d46f9,_0x1f667a,_0x551aff){var _0x5f4beb=_0x4f0073+(_0x150ee5^_0x308986^_0x59850d)+_0x2d46f9+_0x551aff;return(_0x5f4beb<<_0x1f667a|_0x5f4beb>>>0x20-_0x1f667a)+_0x150ee5;}function _0x512cb9(_0x41005a,_0x46e772,_0x426165,_0x4a3b54,_0x2e9457,_0x260cdd,_0x56ad73){var _0xe7dbbd=_0x41005a+(_0x426165^(_0x46e772|~_0x4a3b54))+_0x2e9457+_0x56ad73;return(_0xe7dbbd<<_0x260cdd|_0xe7dbbd>>>0x20-_0x260cdd)+_0x46e772;}_0x18c9e6[_0x80f2fd(0x302)]=_0x51b7ad['_createHelper'](_0x244e7a),_0x18c9e6[_0x80f2fd(0x55b)]=_0x51b7ad['_createHmacHelper'](_0x244e7a);}(Math),_0x54b217[_0x344073(0x302)];}));}(_0x3b124a)),_0x3b124a['exports'];}var _0xac6be7={'exports':{}},_0x51cd40={'exports':{}},_0x41a8ca=_0x51cd40['exports'],_0x47384a;function _0x12cbba(){var _0x345576=_0x4ef07c;return _0x47384a||(_0x47384a=0x1,function(_0xd9d5ac,_0x1f27ef){(function(_0xc43042,_0x5eb5bd){var _0x5eb251=_0x4d6f;_0xd9d5ac[_0x5eb251(0x3b0)]=_0x5eb5bd(_0x3d7c88());}(_0x41a8ca,function(_0x539659){var _0xc7c286=_0x4d6f;return(function(){var _0x161048=_0x4d6f,_0x5cff81=_0x539659,_0x1bfadb=_0x5cff81[_0x161048(0x21c)],_0x103ad9=_0x1bfadb[_0x161048(0x35a)],_0x250dae=_0x1bfadb[_0x161048(0x435)],_0x3f946b=_0x5cff81[_0x161048(0x4a7)],_0x48f8d4=[],_0x44e1fe=_0x3f946b['SHA1']=_0x250dae[_0x161048(0x386)]({'_doReset':function(){var _0x5016fa=_0x161048;this[_0x5016fa(0x36c)]=new _0x103ad9['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x195cbf,_0x3357f0){var _0x2b7a4e=_0x161048;for(var _0x4b575b=this[_0x2b7a4e(0x36c)][_0x2b7a4e(0x346)],_0x446dbc=_0x4b575b[0x0],_0x1ea74e=_0x4b575b[0x1],_0x1d6e5b=_0x4b575b[0x2],_0xbb956=_0x4b575b[0x3],_0x3198e0=_0x4b575b[0x4],_0x34fe77=0x0;_0x34fe77<0x50;_0x34fe77++){if(_0x34fe77<0x10)_0x48f8d4[_0x34fe77]=_0x195cbf[_0x3357f0+_0x34fe77]|0x0;else{var _0x4bc7c7=_0x48f8d4[_0x34fe77-0x3]^_0x48f8d4[_0x34fe77-0x8]^_0x48f8d4[_0x34fe77-0xe]^_0x48f8d4[_0x34fe77-0x10];_0x48f8d4[_0x34fe77]=_0x4bc7c7<<0x1|_0x4bc7c7>>>0x1f;}var _0x30852c=(_0x446dbc<<0x5|_0x446dbc>>>0x1b)+_0x3198e0+_0x48f8d4[_0x34fe77];_0x34fe77<0x14?_0x30852c+=(_0x1ea74e&_0x1d6e5b|~_0x1ea74e&_0xbb956)+0x5a827999:_0x34fe77<0x28?_0x30852c+=(_0x1ea74e^_0x1d6e5b^_0xbb956)+0x6ed9eba1:_0x34fe77<0x3c?_0x30852c+=(_0x1ea74e&_0x1d6e5b|_0x1ea74e&_0xbb956|_0x1d6e5b&_0xbb956)-0x70e44324:_0x30852c+=(_0x1ea74e^_0x1d6e5b^_0xbb956)-0x359d3e2a,_0x3198e0=_0xbb956,_0xbb956=_0x1d6e5b,_0x1d6e5b=_0x1ea74e<<0x1e|_0x1ea74e>>>0x2,_0x1ea74e=_0x446dbc,_0x446dbc=_0x30852c;}_0x4b575b[0x0]=_0x4b575b[0x0]+_0x446dbc|0x0,_0x4b575b[0x1]=_0x4b575b[0x1]+_0x1ea74e|0x0,_0x4b575b[0x2]=_0x4b575b[0x2]+_0x1d6e5b|0x0,_0x4b575b[0x3]=_0x4b575b[0x3]+_0xbb956|0x0,_0x4b575b[0x4]=_0x4b575b[0x4]+_0x3198e0|0x0;},'_doFinalize':function(){var _0xab7b3b=_0x161048,_0x475308=this[_0xab7b3b(0x2f2)],_0x5c42ef=_0x475308['words'],_0x487b22=this[_0xab7b3b(0x3de)]*0x8,_0x533945=_0x475308[_0xab7b3b(0x1c7)]*0x8;return _0x5c42ef[_0x533945>>>0x5]|=0x80<<0x18-_0x533945%0x20,_0x5c42ef[(_0x533945+0x40>>>0x9<<0x4)+0xe]=Math[_0xab7b3b(0x286)](_0x487b22/0x100000000),_0x5c42ef[(_0x533945+0x40>>>0x9<<0x4)+0xf]=_0x487b22,_0x475308['sigBytes']=_0x5c42ef['length']*0x4,this[_0xab7b3b(0x54c)](),this[_0xab7b3b(0x36c)];},'clone':function(){var _0x3a64cf=_0x161048,_0x3f10eb=_0x250dae[_0x3a64cf(0x533)]['call'](this);return _0x3f10eb[_0x3a64cf(0x36c)]=this[_0x3a64cf(0x36c)][_0x3a64cf(0x533)](),_0x3f10eb;}});_0x5cff81['SHA1']=_0x250dae[_0x161048(0x48b)](_0x44e1fe),_0x5cff81[_0x161048(0x3c9)]=_0x250dae[_0x161048(0x529)](_0x44e1fe);}()),_0x539659[_0xc7c286(0x41d)];}));}(_0x51cd40)),_0x51cd40[_0x345576(0x3b0)];}var _0x6dfef7={'exports':{}},_0x560853=_0x6dfef7[_0x4ef07c(0x3b0)],_0x1865fc;function _0x308a7c(){var _0x252ed8=_0x4ef07c;return _0x1865fc||(_0x1865fc=0x1,function(_0x53fa11,_0x4cfc28){(function(_0x470582,_0x2b5a06){_0x53fa11['exports']=_0x2b5a06(_0x3d7c88());}(_0x560853,function(_0xafd659){(function(){var _0x121954=_0x4d6f,_0x354a4f=_0xafd659,_0x265526=_0x354a4f[_0x121954(0x21c)],_0x33bc84=_0x265526[_0x121954(0x368)],_0x51d6a1=_0x354a4f[_0x121954(0x2eb)],_0x2aca88=_0x51d6a1[_0x121954(0x2ea)],_0x35ffca=_0x354a4f[_0x121954(0x4a7)];_0x35ffca['HMAC']=_0x33bc84[_0x121954(0x386)]({'init':function(_0x5c2200,_0x23dc47){var _0x370fcb=_0x121954;_0x5c2200=this[_0x370fcb(0x260)]=new _0x5c2200[(_0x370fcb(0x2a8))](),typeof _0x23dc47==_0x370fcb(0x4a1)&&(_0x23dc47=_0x2aca88[_0x370fcb(0x55e)](_0x23dc47));var _0x49463e=_0x5c2200['blockSize'],_0x3bbc04=_0x49463e*0x4;_0x23dc47[_0x370fcb(0x1c7)]>_0x3bbc04&&(_0x23dc47=_0x5c2200[_0x370fcb(0x36f)](_0x23dc47)),_0x23dc47[_0x370fcb(0x2c0)]();for(var _0x488264=this[_0x370fcb(0x263)]=_0x23dc47['clone'](),_0x202c3e=this[_0x370fcb(0x2fc)]=_0x23dc47['clone'](),_0x517b47=_0x488264['words'],_0x43457d=_0x202c3e['words'],_0x390429=0x0;_0x390429<_0x49463e;_0x390429++)_0x517b47[_0x390429]^=0x5c5c5c5c,_0x43457d[_0x390429]^=0x36363636;_0x488264[_0x370fcb(0x1c7)]=_0x202c3e[_0x370fcb(0x1c7)]=_0x3bbc04,this[_0x370fcb(0x39e)]();},'reset':function(){var _0x4e4e86=_0x121954,_0x157c79=this[_0x4e4e86(0x260)];_0x157c79['reset'](),_0x157c79[_0x4e4e86(0x4f6)](this[_0x4e4e86(0x2fc)]);},'update':function(_0x57538d){var _0x5bbaa4=_0x121954;return this[_0x5bbaa4(0x260)][_0x5bbaa4(0x4f6)](_0x57538d),this;},'finalize':function(_0x3e8331){var _0x5ad1da=_0x121954,_0x2e0676=this[_0x5ad1da(0x260)],_0x496109=_0x2e0676['finalize'](_0x3e8331);_0x2e0676[_0x5ad1da(0x39e)]();var _0x64e6a=_0x2e0676[_0x5ad1da(0x36f)](this[_0x5ad1da(0x263)][_0x5ad1da(0x533)]()[_0x5ad1da(0x385)](_0x496109));return _0x64e6a;}});}());}));}(_0x6dfef7)),_0x6dfef7[_0x252ed8(0x3b0)];}var _0x3f4033=_0xac6be7[_0x4ef07c(0x3b0)],_0x5020ff;function _0x344cef(){var _0x331596=_0x4ef07c;return _0x5020ff||(_0x5020ff=0x1,function(_0x24940d,_0x29e639){(function(_0x4bc243,_0x19a22e,_0x1d8f00){_0x24940d['exports']=_0x19a22e(_0x3d7c88(),_0x12cbba(),_0x308a7c());}(_0x3f4033,function(_0x1aff17){var _0x319ca8=_0x4d6f;return(function(){var _0x3e8acf=_0x4d6f,_0x11b655=_0x1aff17,_0x170252=_0x11b655['lib'],_0x4dd43a=_0x170252[_0x3e8acf(0x368)],_0x456466=_0x170252[_0x3e8acf(0x35a)],_0x57ce73=_0x11b655[_0x3e8acf(0x4a7)],_0xda71d1=_0x57ce73['MD5'],_0x49ff27=_0x57ce73[_0x3e8acf(0x1d3)]=_0x4dd43a[_0x3e8acf(0x386)]({'cfg':_0x4dd43a['extend']({'keySize':0x80/0x20,'hasher':_0xda71d1,'iterations':0x1}),'init':function(_0x87bb89){var _0x493abf=_0x3e8acf;this[_0x493abf(0x46f)]=this[_0x493abf(0x46f)][_0x493abf(0x386)](_0x87bb89);},'compute':function(_0x5c86e1,_0x4b1b4c){var _0x206604=_0x3e8acf;for(var _0x2f8553,_0x358e2e=this[_0x206604(0x46f)],_0xc464ed=_0x358e2e[_0x206604(0x321)][_0x206604(0x4c2)](),_0x396aa4=_0x456466['create'](),_0x510606=_0x396aa4['words'],_0xc4a3e4=_0x358e2e[_0x206604(0x2bc)],_0x21898c=_0x358e2e[_0x206604(0x48d)];_0x510606['length']<_0xc4a3e4;){_0x2f8553&&_0xc464ed[_0x206604(0x4f6)](_0x2f8553),_0x2f8553=_0xc464ed[_0x206604(0x4f6)](_0x5c86e1)[_0x206604(0x36f)](_0x4b1b4c),_0xc464ed[_0x206604(0x39e)]();for(var _0x27db2f=0x1;_0x27db2f<_0x21898c;_0x27db2f++)_0x2f8553=_0xc464ed['finalize'](_0x2f8553),_0xc464ed[_0x206604(0x39e)]();_0x396aa4[_0x206604(0x385)](_0x2f8553);}return _0x396aa4['sigBytes']=_0xc4a3e4*0x4,_0x396aa4;}});_0x11b655[_0x3e8acf(0x1d3)]=function(_0x2c17bf,_0x36c19d,_0x203479){return _0x49ff27['create'](_0x203479)['compute'](_0x2c17bf,_0x36c19d);};}()),_0x1aff17[_0x319ca8(0x1d3)];}));}(_0xac6be7)),_0xac6be7[_0x331596(0x3b0)];}var _0x16de91={'exports':{}},_0x5e2e32=_0x16de91[_0x4ef07c(0x3b0)],_0x21202b;function _0x494c1f(){var _0x5ac9fe=_0x4ef07c;return _0x21202b||(_0x21202b=0x1,function(_0x3af63c,_0x16b648){(function(_0x45e5ff,_0x4d9384,_0x55b44e){_0x3af63c['exports']=_0x4d9384(_0x3d7c88(),_0x344cef());}(_0x5e2e32,function(_0x47f445){var _0x3a337c=_0x4d6f;_0x47f445['lib'][_0x3a337c(0x406)]||function(_0x559dfe){var _0x51d10c=_0x3a337c,_0xeb5676=_0x47f445,_0x2513fc=_0xeb5676[_0x51d10c(0x21c)],_0x4cb5fa=_0x2513fc[_0x51d10c(0x368)],_0x468ff7=_0x2513fc[_0x51d10c(0x35a)],_0x753968=_0x2513fc[_0x51d10c(0x2fa)],_0x17b4fd=_0xeb5676[_0x51d10c(0x2eb)];_0x17b4fd[_0x51d10c(0x2ea)];var _0x4b80f4=_0x17b4fd[_0x51d10c(0x362)],_0x3c8275=_0xeb5676['algo'],_0x1dd631=_0x3c8275[_0x51d10c(0x1d3)],_0xbe692f=_0x2513fc[_0x51d10c(0x406)]=_0x753968[_0x51d10c(0x386)]({'cfg':_0x4cb5fa[_0x51d10c(0x386)](),'createEncryptor':function(_0x503c2f,_0x1c58f2){var _0x1f23f7=_0x51d10c;return this['create'](this[_0x1f23f7(0x2dd)],_0x503c2f,_0x1c58f2);},'createDecryptor':function(_0x1ddca6,_0xe3b0b){var _0x56b4f9=_0x51d10c;return this[_0x56b4f9(0x4c2)](this['_DEC_XFORM_MODE'],_0x1ddca6,_0xe3b0b);},'init':function(_0x129c2a,_0x51c6b4,_0x349deb){var _0x335b4e=_0x51d10c;this[_0x335b4e(0x46f)]=this[_0x335b4e(0x46f)][_0x335b4e(0x386)](_0x349deb),this['_xformMode']=_0x129c2a,this['_key']=_0x51c6b4,this[_0x335b4e(0x39e)]();},'reset':function(){var _0x410c83=_0x51d10c;_0x753968['reset'][_0x410c83(0x24b)](this),this[_0x410c83(0x323)]();},'process':function(_0x4ab212){var _0x1d50d9=_0x51d10c;return this[_0x1d50d9(0x390)](_0x4ab212),this[_0x1d50d9(0x54c)]();},'finalize':function(_0x13ab09){var _0x4ecdff=_0x51d10c;_0x13ab09&&this[_0x4ecdff(0x390)](_0x13ab09);var _0x5be1c1=this[_0x4ecdff(0x32f)]();return _0x5be1c1;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x436c73(_0x1eb6df){var _0x562d8b=_0x4d6f;return typeof _0x1eb6df==_0x562d8b(0x4a1)?_0x2a3497:_0x6a5d20;}return function(_0x1b22df){return{'encrypt':function(_0x1f3efe,_0x1e0c43,_0x969dc2){var _0x2825f5=_0x4d6f;return _0x436c73(_0x1e0c43)[_0x2825f5(0x240)](_0x1b22df,_0x1f3efe,_0x1e0c43,_0x969dc2);},'decrypt':function(_0x49493b,_0x30a92d,_0x54d2e3){var _0x5da6f7=_0x4d6f;return _0x436c73(_0x30a92d)[_0x5da6f7(0x31a)](_0x1b22df,_0x49493b,_0x30a92d,_0x54d2e3);}};};}())});_0x2513fc[_0x51d10c(0x464)]=_0xbe692f['extend']({'_doFinalize':function(){var _0xd50d2a=_0x51d10c,_0x528b11=this[_0xd50d2a(0x54c)](!0x0);return _0x528b11;},'blockSize':0x1});var _0x30f10d=_0xeb5676[_0x51d10c(0x1c6)]={},_0x3bb8d0=_0x2513fc[_0x51d10c(0x4f9)]=_0x4cb5fa[_0x51d10c(0x386)]({'createEncryptor':function(_0x3c49ce,_0x1826fd){var _0x549f4a=_0x51d10c;return this[_0x549f4a(0x382)]['create'](_0x3c49ce,_0x1826fd);},'createDecryptor':function(_0x3a2ff4,_0x19c7d4){var _0x39f209=_0x51d10c;return this[_0x39f209(0x2e9)][_0x39f209(0x4c2)](_0x3a2ff4,_0x19c7d4);},'init':function(_0x2e0983,_0x4ef771){var _0x2159e4=_0x51d10c;this['_cipher']=_0x2e0983,this[_0x2159e4(0x1e9)]=_0x4ef771;}}),_0x11bed5=_0x30f10d[_0x51d10c(0x3d7)]=(function(){var _0x158b94=_0x51d10c,_0x408c7b=_0x3bb8d0[_0x158b94(0x386)]();_0x408c7b[_0x158b94(0x382)]=_0x408c7b['extend']({'processBlock':function(_0x455cc2,_0x45494a){var _0x2d2a96=_0x158b94,_0x2ef347=this['_cipher'],_0x4d83f5=_0x2ef347[_0x2d2a96(0x22c)];_0x576b82[_0x2d2a96(0x24b)](this,_0x455cc2,_0x45494a,_0x4d83f5),_0x2ef347[_0x2d2a96(0x3f2)](_0x455cc2,_0x45494a),this['_prevBlock']=_0x455cc2[_0x2d2a96(0x34b)](_0x45494a,_0x45494a+_0x4d83f5);}}),_0x408c7b[_0x158b94(0x2e9)]=_0x408c7b[_0x158b94(0x386)]({'processBlock':function(_0x4e5e23,_0x13924a){var _0x5686dd=_0x158b94,_0x3d8064=this[_0x5686dd(0x310)],_0x5e2c4a=_0x3d8064[_0x5686dd(0x22c)],_0x37b34d=_0x4e5e23[_0x5686dd(0x34b)](_0x13924a,_0x13924a+_0x5e2c4a);_0x3d8064[_0x5686dd(0x4ab)](_0x4e5e23,_0x13924a),_0x576b82['call'](this,_0x4e5e23,_0x13924a,_0x5e2c4a),this[_0x5686dd(0x403)]=_0x37b34d;}});function _0x576b82(_0x584443,_0x5a3eb8,_0x47da48){var _0x57685f=_0x158b94,_0x3b985d,_0x4a6322=this[_0x57685f(0x1e9)];_0x4a6322?(_0x3b985d=_0x4a6322,this[_0x57685f(0x1e9)]=_0x559dfe):_0x3b985d=this[_0x57685f(0x403)];for(var _0x32d86b=0x0;_0x32d86b<_0x47da48;_0x32d86b++)_0x584443[_0x5a3eb8+_0x32d86b]^=_0x3b985d[_0x32d86b];}return _0x408c7b;}()),_0x32dc4a=_0xeb5676['pad']={},_0x5864f5=_0x32dc4a[_0x51d10c(0x2ef)]={'pad':function(_0x48b4dc,_0xf8bc38){var _0x476a82=_0x51d10c;for(var _0x1d8827=_0xf8bc38*0x4,_0x3d166f=_0x1d8827-_0x48b4dc[_0x476a82(0x1c7)]%_0x1d8827,_0x1120f8=_0x3d166f<<0x18|_0x3d166f<<0x10|_0x3d166f<<0x8|_0x3d166f,_0x4fe473=[],_0x88b206=0x0;_0x88b206<_0x3d166f;_0x88b206+=0x4)_0x4fe473['push'](_0x1120f8);var _0x3e95a5=_0x468ff7[_0x476a82(0x4c2)](_0x4fe473,_0x3d166f);_0x48b4dc[_0x476a82(0x385)](_0x3e95a5);},'unpad':function(_0x585ea4){var _0x2dc592=_0x51d10c,_0x37810e=_0x585ea4[_0x2dc592(0x346)][_0x585ea4[_0x2dc592(0x1c7)]-0x1>>>0x2]&0xff;_0x585ea4[_0x2dc592(0x1c7)]-=_0x37810e;}};_0x2513fc[_0x51d10c(0x4a4)]=_0xbe692f[_0x51d10c(0x386)]({'cfg':_0xbe692f[_0x51d10c(0x46f)][_0x51d10c(0x386)]({'mode':_0x11bed5,'padding':_0x5864f5}),'reset':function(){var _0x1896d5=_0x51d10c,_0x58fc2b;_0xbe692f['reset'][_0x1896d5(0x24b)](this);var _0x51a01e=this[_0x1896d5(0x46f)],_0x2b2752=_0x51a01e['iv'],_0x118d37=_0x51a01e[_0x1896d5(0x1c6)];this[_0x1896d5(0x1f3)]==this[_0x1896d5(0x2dd)]?_0x58fc2b=_0x118d37[_0x1896d5(0x1d9)]:(_0x58fc2b=_0x118d37[_0x1896d5(0x416)],this['_minBufferSize']=0x1),this[_0x1896d5(0x3bf)]&&this[_0x1896d5(0x3bf)][_0x1896d5(0x444)]==_0x58fc2b?this['_mode'][_0x1896d5(0x2a8)](this,_0x2b2752&&_0x2b2752[_0x1896d5(0x346)]):(this[_0x1896d5(0x3bf)]=_0x58fc2b['call'](_0x118d37,this,_0x2b2752&&_0x2b2752[_0x1896d5(0x346)]),this[_0x1896d5(0x3bf)][_0x1896d5(0x444)]=_0x58fc2b);},'_doProcessBlock':function(_0x33e512,_0x158c65){var _0x1bcb42=_0x51d10c;this[_0x1bcb42(0x3bf)][_0x1bcb42(0x39b)](_0x33e512,_0x158c65);},'_doFinalize':function(){var _0x451e3f=_0x51d10c,_0x528265,_0x4d9a94=this[_0x451e3f(0x46f)][_0x451e3f(0x498)];return this[_0x451e3f(0x1f3)]==this['_ENC_XFORM_MODE']?(_0x4d9a94['pad'](this['_data'],this[_0x451e3f(0x22c)]),_0x528265=this[_0x451e3f(0x54c)](!0x0)):(_0x528265=this[_0x451e3f(0x54c)](!0x0),_0x4d9a94['unpad'](_0x528265)),_0x528265;},'blockSize':0x80/0x20});var _0xb76301=_0x2513fc[_0x51d10c(0x514)]=_0x4cb5fa['extend']({'init':function(_0x1d3866){var _0x2d622b=_0x51d10c;this[_0x2d622b(0x369)](_0x1d3866);},'toString':function(_0x5aec72){var _0xc2016d=_0x51d10c;return(_0x5aec72||this[_0xc2016d(0x32e)])[_0xc2016d(0x49b)](this);}}),_0x1d9b1f=_0xeb5676['format']={},_0x113473=_0x1d9b1f[_0x51d10c(0x502)]={'stringify':function(_0x51d719){var _0x1235ab=_0x51d10c,_0x596b1a,_0x534429=_0x51d719[_0x1235ab(0x4d2)],_0x2fb16f=_0x51d719[_0x1235ab(0x449)];return _0x2fb16f?_0x596b1a=_0x468ff7[_0x1235ab(0x4c2)]([0x53616c74,0x65645f5f])[_0x1235ab(0x385)](_0x2fb16f)[_0x1235ab(0x385)](_0x534429):_0x596b1a=_0x534429,_0x596b1a['toString'](_0x4b80f4);},'parse':function(_0x4303f6){var _0x4d7d7f=_0x51d10c,_0x32fb2e,_0x10d5b4=_0x4b80f4['parse'](_0x4303f6),_0x157699=_0x10d5b4[_0x4d7d7f(0x346)];return _0x157699[0x0]==0x53616c74&&_0x157699[0x1]==0x65645f5f&&(_0x32fb2e=_0x468ff7[_0x4d7d7f(0x4c2)](_0x157699[_0x4d7d7f(0x34b)](0x2,0x4)),_0x157699[_0x4d7d7f(0x4c3)](0x0,0x4),_0x10d5b4['sigBytes']-=0x10),_0xb76301['create']({'ciphertext':_0x10d5b4,'salt':_0x32fb2e});}},_0x6a5d20=_0x2513fc[_0x51d10c(0x365)]=_0x4cb5fa['extend']({'cfg':_0x4cb5fa[_0x51d10c(0x386)]({'format':_0x113473}),'encrypt':function(_0x2f966d,_0xadda79,_0x1d621d,_0x266703){var _0x3d6940=_0x51d10c;_0x266703=this[_0x3d6940(0x46f)]['extend'](_0x266703);var _0xc6ad79=_0x2f966d[_0x3d6940(0x1d9)](_0x1d621d,_0x266703),_0x2d6f86=_0xc6ad79['finalize'](_0xadda79),_0x136b06=_0xc6ad79[_0x3d6940(0x46f)];return _0xb76301[_0x3d6940(0x4c2)]({'ciphertext':_0x2d6f86,'key':_0x1d621d,'iv':_0x136b06['iv'],'algorithm':_0x2f966d,'mode':_0x136b06[_0x3d6940(0x1c6)],'padding':_0x136b06[_0x3d6940(0x498)],'blockSize':_0x2f966d[_0x3d6940(0x22c)],'formatter':_0x266703['format']});},'decrypt':function(_0x70e907,_0x241cef,_0x150a31,_0x3e2720){var _0x3bb35f=_0x51d10c;_0x3e2720=this[_0x3bb35f(0x46f)]['extend'](_0x3e2720),_0x241cef=this[_0x3bb35f(0x211)](_0x241cef,_0x3e2720[_0x3bb35f(0x24f)]);var _0x400cd7=_0x70e907[_0x3bb35f(0x416)](_0x150a31,_0x3e2720)[_0x3bb35f(0x36f)](_0x241cef[_0x3bb35f(0x4d2)]);return _0x400cd7;},'_parse':function(_0x5f1e16,_0xf6f699){return typeof _0x5f1e16=='string'?_0xf6f699['parse'](_0x5f1e16,this):_0x5f1e16;}}),_0xa2c723=_0xeb5676[_0x51d10c(0x465)]={},_0x4b491b=_0xa2c723['OpenSSL']={'execute':function(_0x11da4f,_0x5a842f,_0x43be0,_0x94347,_0x4ee28c){var _0x1f4bcc=_0x51d10c;if(_0x94347||(_0x94347=_0x468ff7['random'](0x40/0x8)),_0x4ee28c)var _0x46799e=_0x1dd631[_0x1f4bcc(0x4c2)]({'keySize':_0x5a842f+_0x43be0,'hasher':_0x4ee28c})['compute'](_0x11da4f,_0x94347);else var _0x46799e=_0x1dd631[_0x1f4bcc(0x4c2)]({'keySize':_0x5a842f+_0x43be0})['compute'](_0x11da4f,_0x94347);var _0xf837e6=_0x468ff7[_0x1f4bcc(0x4c2)](_0x46799e[_0x1f4bcc(0x346)][_0x1f4bcc(0x34b)](_0x5a842f),_0x43be0*0x4);return _0x46799e['sigBytes']=_0x5a842f*0x4,_0xb76301['create']({'key':_0x46799e,'iv':_0xf837e6,'salt':_0x94347});}},_0x2a3497=_0x2513fc[_0x51d10c(0x447)]=_0x6a5d20[_0x51d10c(0x386)]({'cfg':_0x6a5d20[_0x51d10c(0x46f)]['extend']({'kdf':_0x4b491b}),'encrypt':function(_0x4b2c97,_0xef08c6,_0x319612,_0x5539fc){var _0x3b08e7=_0x51d10c;_0x5539fc=this[_0x3b08e7(0x46f)][_0x3b08e7(0x386)](_0x5539fc);var _0x1b9840=_0x5539fc['kdf']['execute'](_0x319612,_0x4b2c97[_0x3b08e7(0x2bc)],_0x4b2c97[_0x3b08e7(0x29f)],_0x5539fc[_0x3b08e7(0x449)],_0x5539fc[_0x3b08e7(0x321)]);_0x5539fc['iv']=_0x1b9840['iv'];var _0x59c7a1=_0x6a5d20['encrypt'][_0x3b08e7(0x24b)](this,_0x4b2c97,_0xef08c6,_0x1b9840[_0x3b08e7(0x545)],_0x5539fc);return _0x59c7a1[_0x3b08e7(0x369)](_0x1b9840),_0x59c7a1;},'decrypt':function(_0x31c3ff,_0x553919,_0xdcf871,_0x4c6ef2){var _0x19eb3c=_0x51d10c;_0x4c6ef2=this[_0x19eb3c(0x46f)][_0x19eb3c(0x386)](_0x4c6ef2),_0x553919=this[_0x19eb3c(0x211)](_0x553919,_0x4c6ef2[_0x19eb3c(0x24f)]);var _0x2aa8be=_0x4c6ef2['kdf'][_0x19eb3c(0x494)](_0xdcf871,_0x31c3ff['keySize'],_0x31c3ff[_0x19eb3c(0x29f)],_0x553919[_0x19eb3c(0x449)],_0x4c6ef2[_0x19eb3c(0x321)]);_0x4c6ef2['iv']=_0x2aa8be['iv'];var _0x1e58e5=_0x6a5d20['decrypt'][_0x19eb3c(0x24b)](this,_0x31c3ff,_0x553919,_0x2aa8be[_0x19eb3c(0x545)],_0x4c6ef2);return _0x1e58e5;}});}();}));}(_0x16de91)),_0x16de91[_0x5ac9fe(0x3b0)];}var _0x2ab463=_0x265397[_0x4ef07c(0x3b0)],_0x343eaa;function _0x40c9f0(){var _0x709737=_0x4ef07c;return _0x343eaa||(_0x343eaa=0x1,function(_0x4f5246,_0x38e566){(function(_0x2390e2,_0x3a2bdf,_0x25315e){var _0x114c80=_0x4d6f;_0x4f5246[_0x114c80(0x3b0)]=_0x3a2bdf(_0x3d7c88(),_0x3a11d6(),_0x1c8a85(),_0x344cef(),_0x494c1f());}(_0x2ab463,function(_0x51490c){return(function(){var _0x41b849=_0x4d6f,_0x4c138d=_0x51490c,_0x19be8c=_0x4c138d['lib'],_0x18c35b=_0x19be8c['BlockCipher'],_0x343c87=_0x4c138d[_0x41b849(0x4a7)],_0x43b480=[],_0xbb9a27=[],_0x2d11e3=[],_0x50dbdd=[],_0x258fb6=[],_0x25f64c=[],_0x10b729=[],_0x279215=[],_0x2cc9b1=[],_0x2d145a=[];(function(){for(var _0x9da1bf=[],_0x1d16e1=0x0;_0x1d16e1<0x100;_0x1d16e1++)_0x1d16e1<0x80?_0x9da1bf[_0x1d16e1]=_0x1d16e1<<0x1:_0x9da1bf[_0x1d16e1]=_0x1d16e1<<0x1^0x11b;for(var _0x199ac2=0x0,_0x59ccad=0x0,_0x1d16e1=0x0;_0x1d16e1<0x100;_0x1d16e1++){var _0x48eb69=_0x59ccad^_0x59ccad<<0x1^_0x59ccad<<0x2^_0x59ccad<<0x3^_0x59ccad<<0x4;_0x48eb69=_0x48eb69>>>0x8^_0x48eb69&0xff^0x63,_0x43b480[_0x199ac2]=_0x48eb69,_0xbb9a27[_0x48eb69]=_0x199ac2;var _0x1448d9=_0x9da1bf[_0x199ac2],_0x30efed=_0x9da1bf[_0x1448d9],_0x17ea5e=_0x9da1bf[_0x30efed],_0x2f35f7=_0x9da1bf[_0x48eb69]*0x101^_0x48eb69*0x1010100;_0x2d11e3[_0x199ac2]=_0x2f35f7<<0x18|_0x2f35f7>>>0x8,_0x50dbdd[_0x199ac2]=_0x2f35f7<<0x10|_0x2f35f7>>>0x10,_0x258fb6[_0x199ac2]=_0x2f35f7<<0x8|_0x2f35f7>>>0x18,_0x25f64c[_0x199ac2]=_0x2f35f7;var _0x2f35f7=_0x17ea5e*0x1010101^_0x30efed*0x10001^_0x1448d9*0x101^_0x199ac2*0x1010100;_0x10b729[_0x48eb69]=_0x2f35f7<<0x18|_0x2f35f7>>>0x8,_0x279215[_0x48eb69]=_0x2f35f7<<0x10|_0x2f35f7>>>0x10,_0x2cc9b1[_0x48eb69]=_0x2f35f7<<0x8|_0x2f35f7>>>0x18,_0x2d145a[_0x48eb69]=_0x2f35f7,_0x199ac2?(_0x199ac2=_0x1448d9^_0x9da1bf[_0x9da1bf[_0x9da1bf[_0x17ea5e^_0x1448d9]]],_0x59ccad^=_0x9da1bf[_0x9da1bf[_0x59ccad]]):_0x199ac2=_0x59ccad=0x1;}}());var _0x4c137a=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x2c4181=_0x343c87[_0x41b849(0x2c4)]=_0x18c35b[_0x41b849(0x386)]({'_doReset':function(){var _0x20aec9=_0x41b849,_0x4260e8;if(!(this[_0x20aec9(0x430)]&&this[_0x20aec9(0x2d5)]===this[_0x20aec9(0x331)])){for(var _0x292020=this['_keyPriorReset']=this[_0x20aec9(0x331)],_0x58f8b1=_0x292020[_0x20aec9(0x346)],_0x5d451f=_0x292020['sigBytes']/0x4,_0x543491=this[_0x20aec9(0x430)]=_0x5d451f+0x6,_0x137026=(_0x543491+0x1)*0x4,_0x82d743=this[_0x20aec9(0x37d)]=[],_0x10c654=0x0;_0x10c654<_0x137026;_0x10c654++)_0x10c654<_0x5d451f?_0x82d743[_0x10c654]=_0x58f8b1[_0x10c654]:(_0x4260e8=_0x82d743[_0x10c654-0x1],_0x10c654%_0x5d451f?_0x5d451f>0x6&&_0x10c654%_0x5d451f==0x4&&(_0x4260e8=_0x43b480[_0x4260e8>>>0x18]<<0x18|_0x43b480[_0x4260e8>>>0x10&0xff]<<0x10|_0x43b480[_0x4260e8>>>0x8&0xff]<<0x8|_0x43b480[_0x4260e8&0xff]):(_0x4260e8=_0x4260e8<<0x8|_0x4260e8>>>0x18,_0x4260e8=_0x43b480[_0x4260e8>>>0x18]<<0x18|_0x43b480[_0x4260e8>>>0x10&0xff]<<0x10|_0x43b480[_0x4260e8>>>0x8&0xff]<<0x8|_0x43b480[_0x4260e8&0xff],_0x4260e8^=_0x4c137a[_0x10c654/_0x5d451f|0x0]<<0x18),_0x82d743[_0x10c654]=_0x82d743[_0x10c654-_0x5d451f]^_0x4260e8);for(var _0x204914=this[_0x20aec9(0x3a3)]=[],_0xd23818=0x0;_0xd23818<_0x137026;_0xd23818++){var _0x10c654=_0x137026-_0xd23818;if(_0xd23818%0x4)var _0x4260e8=_0x82d743[_0x10c654];else var _0x4260e8=_0x82d743[_0x10c654-0x4];_0xd23818<0x4||_0x10c654<=0x4?_0x204914[_0xd23818]=_0x4260e8:_0x204914[_0xd23818]=_0x10b729[_0x43b480[_0x4260e8>>>0x18]]^_0x279215[_0x43b480[_0x4260e8>>>0x10&0xff]]^_0x2cc9b1[_0x43b480[_0x4260e8>>>0x8&0xff]]^_0x2d145a[_0x43b480[_0x4260e8&0xff]];}}},'encryptBlock':function(_0x433fe5,_0x52149e){var _0x21c25a=_0x41b849;this[_0x21c25a(0x2a3)](_0x433fe5,_0x52149e,this[_0x21c25a(0x37d)],_0x2d11e3,_0x50dbdd,_0x258fb6,_0x25f64c,_0x43b480);},'decryptBlock':function(_0xedf78c,_0x56b1b4){var _0x563876=_0x41b849,_0x1bae2c=_0xedf78c[_0x56b1b4+0x1];_0xedf78c[_0x56b1b4+0x1]=_0xedf78c[_0x56b1b4+0x3],_0xedf78c[_0x56b1b4+0x3]=_0x1bae2c,this[_0x563876(0x2a3)](_0xedf78c,_0x56b1b4,this[_0x563876(0x3a3)],_0x10b729,_0x279215,_0x2cc9b1,_0x2d145a,_0xbb9a27);var _0x1bae2c=_0xedf78c[_0x56b1b4+0x1];_0xedf78c[_0x56b1b4+0x1]=_0xedf78c[_0x56b1b4+0x3],_0xedf78c[_0x56b1b4+0x3]=_0x1bae2c;},'_doCryptBlock':function(_0x65e743,_0x54ac62,_0x30fabb,_0x3d43e2,_0x4ac852,_0x2d99cd,_0x2826a2,_0x16a887){var _0x5e3e4c=_0x41b849;for(var _0x2786a4=this[_0x5e3e4c(0x430)],_0x15e6e4=_0x65e743[_0x54ac62]^_0x30fabb[0x0],_0x12a03c=_0x65e743[_0x54ac62+0x1]^_0x30fabb[0x1],_0x3107f4=_0x65e743[_0x54ac62+0x2]^_0x30fabb[0x2],_0x1b6b26=_0x65e743[_0x54ac62+0x3]^_0x30fabb[0x3],_0x1d0c2d=0x4,_0xb8ae00=0x1;_0xb8ae00<_0x2786a4;_0xb8ae00++){var _0x18c77d=_0x3d43e2[_0x15e6e4>>>0x18]^_0x4ac852[_0x12a03c>>>0x10&0xff]^_0x2d99cd[_0x3107f4>>>0x8&0xff]^_0x2826a2[_0x1b6b26&0xff]^_0x30fabb[_0x1d0c2d++],_0x24aa36=_0x3d43e2[_0x12a03c>>>0x18]^_0x4ac852[_0x3107f4>>>0x10&0xff]^_0x2d99cd[_0x1b6b26>>>0x8&0xff]^_0x2826a2[_0x15e6e4&0xff]^_0x30fabb[_0x1d0c2d++],_0x30af4c=_0x3d43e2[_0x3107f4>>>0x18]^_0x4ac852[_0x1b6b26>>>0x10&0xff]^_0x2d99cd[_0x15e6e4>>>0x8&0xff]^_0x2826a2[_0x12a03c&0xff]^_0x30fabb[_0x1d0c2d++],_0x10b3ed=_0x3d43e2[_0x1b6b26>>>0x18]^_0x4ac852[_0x15e6e4>>>0x10&0xff]^_0x2d99cd[_0x12a03c>>>0x8&0xff]^_0x2826a2[_0x3107f4&0xff]^_0x30fabb[_0x1d0c2d++];_0x15e6e4=_0x18c77d,_0x12a03c=_0x24aa36,_0x3107f4=_0x30af4c,_0x1b6b26=_0x10b3ed;}var _0x18c77d=(_0x16a887[_0x15e6e4>>>0x18]<<0x18|_0x16a887[_0x12a03c>>>0x10&0xff]<<0x10|_0x16a887[_0x3107f4>>>0x8&0xff]<<0x8|_0x16a887[_0x1b6b26&0xff])^_0x30fabb[_0x1d0c2d++],_0x24aa36=(_0x16a887[_0x12a03c>>>0x18]<<0x18|_0x16a887[_0x3107f4>>>0x10&0xff]<<0x10|_0x16a887[_0x1b6b26>>>0x8&0xff]<<0x8|_0x16a887[_0x15e6e4&0xff])^_0x30fabb[_0x1d0c2d++],_0x30af4c=(_0x16a887[_0x3107f4>>>0x18]<<0x18|_0x16a887[_0x1b6b26>>>0x10&0xff]<<0x10|_0x16a887[_0x15e6e4>>>0x8&0xff]<<0x8|_0x16a887[_0x12a03c&0xff])^_0x30fabb[_0x1d0c2d++],_0x10b3ed=(_0x16a887[_0x1b6b26>>>0x18]<<0x18|_0x16a887[_0x15e6e4>>>0x10&0xff]<<0x10|_0x16a887[_0x12a03c>>>0x8&0xff]<<0x8|_0x16a887[_0x3107f4&0xff])^_0x30fabb[_0x1d0c2d++];_0x65e743[_0x54ac62]=_0x18c77d,_0x65e743[_0x54ac62+0x1]=_0x24aa36,_0x65e743[_0x54ac62+0x2]=_0x30af4c,_0x65e743[_0x54ac62+0x3]=_0x10b3ed;},'keySize':0x100/0x20});_0x4c138d['AES']=_0x18c35b[_0x41b849(0x48b)](_0x2c4181);}()),_0x51490c['AES'];}));}(_0x265397)),_0x265397[_0x709737(0x3b0)];}var _0x9f3fd8=_0x40c9f0();const _0xff0e20=_0xabc530(_0x9f3fd8);var _0x5f4c46=_0x3a11d6();const _0x160dee=_0xabc530(_0x5f4c46);var _0x1b1381={'exports':{}},_0xf4dac3=_0x1b1381['exports'],_0x28d9a4;function _0x1b7136(){return _0x28d9a4||(_0x28d9a4=0x1,function(_0x28dd5a,_0x1e5628){(function(_0x13eec2,_0x3e3b87){_0x28dd5a['exports']=_0x3e3b87(_0x3d7c88());}(_0xf4dac3,function(_0x30c63b){var _0x107c6e=_0x4d6f;return _0x30c63b[_0x107c6e(0x2eb)]['Utf8'];}));}(_0x1b1381)),_0x1b1381['exports'];}var _0x1b9e3e=_0x1b7136();const _0x3ee8d3=_0xabc530(_0x1b9e3e);var _0x59f28e={'exports':{}},_0x24ec4b=_0x59f28e[_0x4ef07c(0x3b0)],_0x3592ed;function _0x5c3bd9(){var _0x2110e2=_0x4ef07c;return _0x3592ed||(_0x3592ed=0x1,function(_0x52b2d6,_0x59a41d){(function(_0x399bff,_0x45bddf){var _0x271e5c=_0x4d6f;_0x52b2d6[_0x271e5c(0x3b0)]=_0x45bddf(_0x3d7c88());}(_0x24ec4b,function(_0x3cf682){var _0x4c2f1f=_0x4d6f;return(function(){var _0x3b819e=_0x4d6f;if(typeof ArrayBuffer==_0x3b819e(0x40a)){var _0x2448ed=_0x3cf682,_0x14dc71=_0x2448ed[_0x3b819e(0x21c)],_0x56ac2d=_0x14dc71['WordArray'],_0x1b7abe=_0x56ac2d[_0x3b819e(0x2a8)],_0x3e238e=_0x56ac2d[_0x3b819e(0x2a8)]=function(_0x2c2724){var _0x4545da=_0x3b819e;if(_0x2c2724 instanceof ArrayBuffer&&(_0x2c2724=new Uint8Array(_0x2c2724)),(_0x2c2724 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x2c2724 instanceof Uint8ClampedArray||_0x2c2724 instanceof Int16Array||_0x2c2724 instanceof Uint16Array||_0x2c2724 instanceof Int32Array||_0x2c2724 instanceof Uint32Array||_0x2c2724 instanceof Float32Array||_0x2c2724 instanceof Float64Array)&&(_0x2c2724=new Uint8Array(_0x2c2724['buffer'],_0x2c2724[_0x4545da(0x299)],_0x2c2724[_0x4545da(0x3a7)])),_0x2c2724 instanceof Uint8Array){for(var _0x90926d=_0x2c2724['byteLength'],_0x22d852=[],_0x288ddb=0x0;_0x288ddb<_0x90926d;_0x288ddb++)_0x22d852[_0x288ddb>>>0x2]|=_0x2c2724[_0x288ddb]<<0x18-_0x288ddb%0x4*0x8;_0x1b7abe[_0x4545da(0x24b)](this,_0x22d852,_0x90926d);}else _0x1b7abe[_0x4545da(0x3ac)](this,arguments);};_0x3e238e[_0x3b819e(0x31e)]=_0x56ac2d;}}()),_0x3cf682[_0x4c2f1f(0x21c)][_0x4c2f1f(0x35a)];}));}(_0x59f28e)),_0x59f28e[_0x2110e2(0x3b0)];}var _0x2fbe6e=_0x5c3bd9();const _0x42681c=_0xabc530(_0x2fbe6e);var _0x448547={'exports':{}},_0x14cc8a=_0x448547[_0x4ef07c(0x3b0)],_0x3eb44b;function _0x3dc9bf(){return _0x3eb44b||(_0x3eb44b=0x1,function(_0x3bf967,_0x327176){(function(_0x4d396c,_0xdd498a,_0x3e18a4){var _0x1ea753=_0x4d6f;_0x3bf967[_0x1ea753(0x3b0)]=_0xdd498a(_0x3d7c88(),_0x494c1f());}(_0x14cc8a,function(_0x39ece8){var _0x278af1=_0x4d6f;return _0x39ece8[_0x278af1(0x441)][_0x278af1(0x411)]={'pad':function(){},'unpad':function(){}},_0x39ece8[_0x278af1(0x441)][_0x278af1(0x411)];}));}(_0x448547)),_0x448547['exports'];}var _0x31a7c4=_0x3dc9bf();const _0x33c0ce=_0xabc530(_0x31a7c4);function _0x4d93ab(_0x4793ca,_0x14853b){var _0x5d5e0c=_0x4ef07c;const _0x2500c9=_0x14853b-_0x4793ca[_0x5d5e0c(0x3aa)]%_0x14853b,_0x109216=String[_0x5d5e0c(0x3ef)](_0x2500c9)['repeat'](_0x2500c9);return _0x4793ca+_0x109216;}function _0x28e2de(_0x2062f3,_0x5ed615){var _0x26a56e=_0x4ef07c;const _0x198459=_0x42681c[_0x26a56e(0x352)](0x10),_0xa8cafa=_0x4d93ab(_0x2062f3,0x10),_0x324278=_0xff0e20[_0x26a56e(0x240)](_0x3ee8d3['parse'](_0xa8cafa),_0x160dee[_0x26a56e(0x55e)](_0x5ed615),{'iv':_0x198459,'padding':_0x33c0ce});return _0x198459[_0x26a56e(0x385)](_0x324278[_0x26a56e(0x4d2)])['toString'](_0x160dee);}function _0x22f91a(){var _0x1ffc0a=_0x4ef07c;const _0xf78226=_0xc549e7['getGlobalObject']()[_0x1ffc0a(0x409)];if(_0xf78226){const _0x1a3a33={'time':Math[_0x1ffc0a(0x286)](Date[_0x1ffc0a(0x52d)]()/0x3e8),'domain':location[_0x1ffc0a(0x540)]};return _0x28e2de(JSON[_0x1ffc0a(0x49b)](_0x1a3a33),_0xf78226);}}var _0x1b9753=Object[_0x4ef07c(0x4b2)],_0x435622=(_0x8d6ac7,_0x16eae9,_0x4470db,_0xbb3c6e)=>{var _0x3055b8=_0x4ef07c;for(var _0x2f5232=_0xbb3c6e>0x1?void 0x0:_0xbb3c6e?_0x1b9753(_0x16eae9,_0x4470db):_0x16eae9,_0x5a3f4d=_0x8d6ac7[_0x3055b8(0x3aa)]-0x1,_0x4a5aed;_0x5a3f4d>=0x0;_0x5a3f4d--)(_0x4a5aed=_0x8d6ac7[_0x5a3f4d])&&(_0x2f5232=_0x4a5aed(_0x2f5232)||_0x2f5232);return _0x2f5232;},_0x1a829e=(_0xd9fdba,_0x57f268)=>(_0x4b9f09,_0x38047b)=>_0x57f268(_0x4b9f09,_0x38047b,_0xd9fdba);let _0x1cddb0=class{constructor(_0x1ee038){var _0x7cf247=_0x4ef07c;this['_httpService']=_0x1ee038,this[_0x7cf247(0x4d3)]();}[_0x4ef07c(0x4d3)](){var _0x2fba64=_0x4ef07c;this[_0x2fba64(0x397)]['registerHTTPInterceptor']({'interceptor':(_0x28d270,_0xd60034)=>{var _0x5909b4=_0x2fba64;const _0x127b6a=_0x28d270[_0x5909b4(0x28d)],_0x1c1446=_0x22f91a();return _0x1c1446&&_0x127b6a[_0x5909b4(0x3bc)](_0x5909b4(0x356),_0x1c1446),_0xd60034(_0x28d270);}});}};_0x1cddb0=_0x435622([_0x1a829e(0x0,_0x5a87f6[_0x4ef07c(0x2f6)](_0x3f793f['HTTPService']))],_0x1cddb0);var _0x487409=Object['getOwnPropertyDescriptor'],_0x35c806=(_0x27c8c0,_0x132fe2,_0x3c3394,_0xb99ea6)=>{var _0x6f8de5=_0x4ef07c;for(var _0x27328f=_0xb99ea6>0x1?void 0x0:_0xb99ea6?_0x487409(_0x132fe2,_0x3c3394):_0x132fe2,_0x26d378=_0x27c8c0[_0x6f8de5(0x3aa)]-0x1,_0x3fb3e9;_0x26d378>=0x0;_0x26d378--)(_0x3fb3e9=_0x27c8c0[_0x26d378])&&(_0x27328f=_0x3fb3e9(_0x27328f)||_0x27328f);return _0x27328f;},_0xcd352d=(_0x52b8e6,_0x5cbb8d)=>(_0x3763b6,_0x212321)=>_0x5cbb8d(_0x3763b6,_0x212321,_0x52b8e6);_0x2c717a[_0x4ef07c(0x562)]=class extends _0x5a87f6[_0x4ef07c(0x244)]{constructor(_0x274781,_0x3ca909,_0x2c285f){var _0x1e4a74=_0x4ef07c;super(),_0x27ebba(this,_0x1e4a74(0x4ee),new _0x49c451[(_0x1e4a74(0x32a))](null)),_0x27ebba(this,_0x1e4a74(0x300),this[_0x1e4a74(0x4ee)][_0x1e4a74(0x245)]()),(this[_0x1e4a74(0x1df)]=_0x274781,this['_snapshotService']=_0x3ca909,this[_0x1e4a74(0x4d9)]=_0x2c285f);}async[_0x4ef07c(0x4ff)](_0x52f355,_0x2f5a56,_0x35a874){var _0x20b751=_0x4ef07c;this[_0x20b751(0x4ee)][_0x20b751(0x534)]({'unitId':_0x52f355,'type':_0x2f5a56});let _0xca774e=null;switch(_0x2f5a56){case _0x1ac378[_0x20b751(0x2be)]:{_0xca774e=await this[_0x20b751(0x378)][_0x20b751(0x315)](_0x52f355,_0x35a874);break;}case _0x1ac378[_0x20b751(0x41f)]:{_0xca774e=await this['_snapshotService'][_0x20b751(0x21d)](_0x52f355,_0x35a874);break;}default:{this[_0x20b751(0x1df)][_0x20b751(0x456)](_0x20b751(0x50e),_0x20b751(0x51e));break;}}return _0xca774e;}async['loadUnit'](_0x268436,_0x3383d5,_0x2bde3c){var _0x1917f1=_0x4ef07c,_0x232915;this[_0x1917f1(0x4ee)][_0x1917f1(0x534)]({'unitId':_0x268436,'type':_0x3383d5,'subUnitId':_0x2bde3c});let _0x2d5f83=0x0;const _0x2f86ff=await((_0x232915=this['_localCacheService'])==null?void 0x0:_0x232915['loadOfflineData'](_0x268436));return _0x2f86ff&&(_0x2f86ff['awaitingChangeset']||_0x2f86ff['mutations'][_0x1917f1(0x3aa)]!==0x0)&&(_0x2d5f83=_0x2f86ff[_0x1917f1(0x31c)]),_0x2d5f83===0x0&&this[_0x1917f1(0x1df)][_0x1917f1(0x3a5)]('[DataLoaderService]','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x1917f1(0x4ff)](_0x268436,_0x3383d5,_0x2d5f83);}},_0x2c717a[_0x4ef07c(0x562)]=_0x35c806([_0xcd352d(0x0,_0x5a87f6[_0x4ef07c(0x546)]),_0xcd352d(0x1,_0x5a87f6[_0x4ef07c(0x2f6)](_0x9d3528[_0x4ef07c(0x1d4)])),_0xcd352d(0x2,_0x5a87f6['Optional'](_0x11ccb1))],_0x2c717a['DataLoaderService']);var _0x2cca87=Object['getOwnPropertyDescriptor'],_0x5c1c69=(_0x4eb316,_0x3931d2,_0x46e9eb,_0x1f3317)=>{for(var _0x13c880=_0x1f3317>0x1?void 0x0:_0x1f3317?_0x2cca87(_0x3931d2,_0x46e9eb):_0x3931d2,_0x17614a=_0x4eb316['length']-0x1,_0x4e3a30;_0x17614a>=0x0;_0x17614a--)(_0x4e3a30=_0x4eb316[_0x17614a])&&(_0x13c880=_0x4e3a30(_0x13c880)||_0x13c880);return _0x13c880;},_0x2baa08=(_0x3da6ae,_0x1d8a88)=>(_0x5d2e62,_0x4a46a8)=>_0x1d8a88(_0x5d2e62,_0x4a46a8,_0x3da6ae);const _0x2c5f4c=[_0x4ef07c(0x1e3),_0x4ef07c(0x536),'image/jpg',_0x4ef07c(0x53d),_0x4ef07c(0x1ca)],_0x246851=0x5*0x400*0x400,_0x288ea1='/universer-api/stream/file/upload',_0x38d368=_0x4ef07c(0x287);_0x2c717a[_0x4ef07c(0x28f)]=class{constructor(_0x1bff5c,_0x48f529,_0x474af2){var _0x4bba72=_0x4ef07c;_0x27ebba(this,_0x4bba72(0x3e3),0x0),_0x27ebba(this,_0x4bba72(0x4df),new _0x49c451[(_0x4bba72(0x34d))]()),_0x27ebba(this,_0x4bba72(0x222),this[_0x4bba72(0x4df)]),_0x27ebba(this,_0x4bba72(0x2ad),new Map()),(this['_httpService']=_0x1bff5c,this[_0x4bba72(0x238)]=_0x48f529,this[_0x4bba72(0x25a)]=_0x474af2);}[_0x4ef07c(0x54d)](_0x32b2bf){var _0x2fc27a=_0x4ef07c;this[_0x2fc27a(0x3e3)]=_0x32b2bf,this[_0x2fc27a(0x4df)][_0x2fc27a(0x534)](_0x32b2bf);}[_0x4ef07c(0x256)](_0xfca4b,_0x3e2da2){var _0x5aef43=_0x4ef07c;if(_0x3e2da2===_0x5dfc2e[_0x5aef43(0x200)][_0x5aef43(0x225)]){const _0x523868=new Image();return _0x523868['src']=_0xfca4b,_0x523868;}return this[_0x5aef43(0x2ad)][_0x5aef43(0x47e)](_0xfca4b);}[_0x4ef07c(0x25d)](_0x20b189,_0x1e815b,_0x3ae483){var _0x2817e0=_0x4ef07c;_0x1e815b===_0x5dfc2e[_0x2817e0(0x200)][_0x2817e0(0x225)]||_0x3ae483==null||this[_0x2817e0(0x2ad)][_0x2817e0(0x3bc)](_0x20b189,_0x3ae483);}async['getImage'](_0x1c5866){var _0x3cb0e3=_0x4ef07c;try{const _0x344177=this[_0x3cb0e3(0x4b0)](this['_getSignURL'](),''+_0x1c5866),_0x55d952=(await this[_0x3cb0e3(0x397)][_0x3cb0e3(0x47e)](_0x344177))[_0x3cb0e3(0x1e4)];if(_0x55d952[_0x3cb0e3(0x456)]&&_0x55d952['error'][_0x3cb0e3(0x3ce)]===_0x4c3020['OK']){const _0x340d02=new URL(_0x55d952[_0x3cb0e3(0x549)],this['_getDownloadEndpointURL']())[_0x3cb0e3(0x38d)]();return Promise[_0x3cb0e3(0x335)](_0x340d02);}return Promise[_0x3cb0e3(0x3dd)](_0x55d952[_0x3cb0e3(0x456)]);}catch(_0x5bb32f){return Promise['reject'](_0x5bb32f);}}async[_0x4ef07c(0x469)](_0x2393fe){var _0x4e2819=_0x4ef07c;let _0x15a81a='';if(!_0x2c5f4c[_0x4e2819(0x226)](_0x2393fe[_0x4e2819(0x527)]))return this['_decreaseWaiting'](),Promise[_0x4e2819(0x3dd)](new Error(_0x5dfc2e[_0x4e2819(0x452)][_0x4e2819(0x475)]));if(_0x2393fe[_0x4e2819(0x2ae)]>_0x246851)return this[_0x4e2819(0x48f)](),Promise[_0x4e2819(0x3dd)](new Error(_0x5dfc2e[_0x4e2819(0x452)][_0x4e2819(0x34f)]));try{const _0xb034a3=new FormData();_0xb034a3[_0x4e2819(0x4fc)]('file',_0x2393fe);const _0x2d0ea2=this[_0x4e2819(0x25a)][_0x4e2819(0x33f)](),_0x53ea8a=_0x2d0ea2==null?void 0x0:_0x2d0ea2[_0x4e2819(0x224)]();if(!_0x53ea8a)throw new Error('unitId\x20is\x20not\x20found');const _0x321329=this[_0x4e2819(0x298)]()+'?size='+_0x2393fe[_0x4e2819(0x2ae)][_0x4e2819(0x38d)]()+'&source='+_0x522cad[_0x4e2819(0x2de)]+_0x4e2819(0x2c6)+encodeURIComponent(_0x53ea8a),_0x4c9228={'body':_0xb034a3},_0x59808b=(await this[_0x4e2819(0x397)][_0x4e2819(0x3ff)](_0x321329,_0x4c9228))['body'];if(typeof _0x59808b[_0x4e2819(0x1f9)]!='string')return this[_0x4e2819(0x48f)](),Promise[_0x4e2819(0x3dd)](new Error(_0x5dfc2e[_0x4e2819(0x452)][_0x4e2819(0x503)]));_0x15a81a=_0x59808b[_0x4e2819(0x1f9)];}catch{return this[_0x4e2819(0x48f)](),Promise[_0x4e2819(0x3dd)](new Error(_0x5dfc2e['ImageUploadStatusType']['ERROR_IMAGE']));}return new Promise((_0x531f25,_0x54d832)=>{var _0x287d88=_0x4e2819;const _0x31c4e5=new FileReader();_0x31c4e5[_0x287d88(0x1f6)](_0x2393fe),_0x31c4e5[_0x287d88(0x3a1)]=_0x12400f=>{var _0x1f8dd6=_0x287d88,_0x432a4a;const _0x156e65=(_0x432a4a=_0x12400f['target'])==null?void 0x0:_0x432a4a['result'];if(_0x156e65==null){this[_0x1f8dd6(0x48f)](),_0x54d832(new Error(_0x5dfc2e[_0x1f8dd6(0x452)]['ERROR_IMAGE']));return;}const _0x5aeded=_0x5a87f6['generateRandomId'](0x6);_0x531f25({'imageId':_0x5aeded,'imageSourceType':_0x5dfc2e[_0x1f8dd6(0x200)][_0x1f8dd6(0x513)],'source':_0x15a81a,'base64Cache':_0x156e65,'status':_0x5dfc2e[_0x1f8dd6(0x452)][_0x1f8dd6(0x202)]}),this[_0x1f8dd6(0x48f)]();};});}[_0x4ef07c(0x298)](){var _0x25b263=_0x4ef07c,_0x6f0603;const _0x4babee=this[_0x25b263(0x238)][_0x25b263(0x4e3)](_0x50bbc4);return(_0x6f0603=_0x4babee==null?void 0x0:_0x4babee[_0x25b263(0x4af)])!=null?_0x6f0603:_0x288ea1;}[_0x4ef07c(0x3e2)](){var _0x4040d4=_0x4ef07c,_0x3e99c8;const _0x5e17d8=this['_configService']['getConfig'](_0x50bbc4);return(_0x3e99c8=_0x5e17d8==null?void 0x0:_0x5e17d8[_0x4040d4(0x2df)])!=null?_0x3e99c8:_0x38d368;}[_0x4ef07c(0x439)](){var _0x1e82ab=_0x4ef07c,_0x1661c3;const _0xfa0be1=this[_0x1e82ab(0x238)]['getConfig'](_0x50bbc4);return(_0x1661c3=_0xfa0be1==null?void 0x0:_0xfa0be1[_0x1e82ab(0x401)])!=null?_0x1661c3:location[_0x1e82ab(0x3d9)];}[_0x4ef07c(0x4b0)](_0x3e3844,_0x465fa4){var _0xfa4b8e=_0x4ef07c;return _0x3e3844[_0xfa4b8e(0x508)](_0xfa4b8e(0x326),_0x465fa4);}[_0x4ef07c(0x48f)](){var _0x179bf9=_0x4ef07c;this[_0x179bf9(0x3e3)]-=0x1,this[_0x179bf9(0x4df)][_0x179bf9(0x534)](this['_waitCount']);}},_0x2c717a[_0x4ef07c(0x28f)]=_0x5c1c69([_0x2baa08(0x0,_0x5a87f6['Inject'](_0x3f793f[_0x4ef07c(0x44d)])),_0x2baa08(0x1,_0x5a87f6[_0x4ef07c(0x4d8)]),_0x2baa08(0x2,_0x5a87f6[_0x4ef07c(0x2f6)](_0x5a87f6[_0x4ef07c(0x32b)]))],_0x2c717a[_0x4ef07c(0x28f)]);var _0x3aa5be=Object[_0x4ef07c(0x4b2)],_0x85e66a=(_0x154d73,_0x1e6dc4,_0x209f7c,_0x40ccbf)=>{var _0x296ec1=_0x4ef07c;for(var _0x2582af=_0x40ccbf>0x1?void 0x0:_0x40ccbf?_0x3aa5be(_0x1e6dc4,_0x209f7c):_0x1e6dc4,_0x36e190=_0x154d73[_0x296ec1(0x3aa)]-0x1,_0xfab228;_0x36e190>=0x0;_0x36e190--)(_0xfab228=_0x154d73[_0x36e190])&&(_0x2582af=_0xfab228(_0x2582af)||_0x2582af);return _0x2582af;},_0x15c104=(_0x371f70,_0x4a18e4)=>(_0x2a4de0,_0x585f50)=>_0x4a18e4(_0x2a4de0,_0x585f50,_0x371f70);const _0x90f445='/universer-api/authz';_0x2c717a[_0x4ef07c(0x275)]=class{constructor(_0x6f498d,_0x412b9f){this['_configService']=_0x6f498d,this['_HTTPService']=_0x412b9f;}[_0x4ef07c(0x24e)](){var _0x56adda=_0x4ef07c,_0x1d6c9a;const _0x3932eb=this['_configService'][_0x56adda(0x4e3)](_0x50bbc4);return(_0x1d6c9a=_0x3932eb==null?void 0x0:_0x3932eb[_0x56adda(0x476)])!=null?_0x1d6c9a:_0x90f445;}async[_0x4ef07c(0x1ee)](_0x3004b6){var _0x5d53ec=_0x4ef07c;const _0x43302f=this[_0x5d53ec(0x24e)]()+_0x5d53ec(0x34e);return{'list':[{'title':_0x5d53ec(0x231),'mentions':(await this[_0x5d53ec(0x43f)]['get'](_0x43302f,{'params':{'objectID':_0x3004b6[_0x5d53ec(0x3e0)],'unitID':_0x3004b6[_0x5d53ec(0x3e0)]}}))[_0x5d53ec(0x1e4)]['collaborators'][_0x5d53ec(0x277)](_0x48e7b0=>({'objectId':_0x48e7b0['id'],'name':_0x48e7b0['subject'][_0x5d53ec(0x525)],'metadata':{'icon':_0x48e7b0['subject']['avatar']},'label':_0x48e7b0['subject'][_0x5d53ec(0x525)],'objectType':_0x5a87f6['MentionType'][_0x5d53ec(0x4fa)]})),'metadata':{},'type':_0x5a87f6['MentionType'][_0x5d53ec(0x4fa)]}]};}},_0x2c717a[_0x4ef07c(0x275)]=_0x85e66a([_0x15c104(0x0,_0x5a87f6[_0x4ef07c(0x2f6)](_0x5a87f6[_0x4ef07c(0x4d8)])),_0x15c104(0x1,_0x5a87f6[_0x4ef07c(0x2f6)](_0x3f793f[_0x4ef07c(0x44d)]))],_0x2c717a[_0x4ef07c(0x275)]);var _0x170ff8=Object['getOwnPropertyDescriptor'],_0x441c33=(_0x20c0b0,_0x5d9376,_0x2d7e4c,_0x3995b1)=>{var _0x1097e0=_0x4ef07c;for(var _0x269f10=_0x3995b1>0x1?void 0x0:_0x3995b1?_0x170ff8(_0x5d9376,_0x2d7e4c):_0x5d9376,_0x1c3483=_0x20c0b0[_0x1097e0(0x3aa)]-0x1,_0x1853e1;_0x1c3483>=0x0;_0x1c3483--)(_0x1853e1=_0x20c0b0[_0x1c3483])&&(_0x269f10=_0x1853e1(_0x269f10)||_0x269f10);return _0x269f10;},_0x14b8f3=(_0xd5e46,_0x36c56c)=>(_0x1d90f2,_0x2dd1f6)=>_0x36c56c(_0x1d90f2,_0x2dd1f6,_0xd5e46);let _0x1c167c=class extends _0x5a87f6[_0x4ef07c(0x244)]{constructor(_0x468ae3,_0x62722c,_0x373211,_0x3e2feb,_0x195d0c){var _0x495f23=_0x4ef07c;super(),this['_injector']=_0x468ae3,this['_univerInstanceService']=_0x62722c,this[_0x495f23(0x20e)]=_0x373211,this[_0x495f23(0x532)]=_0x3e2feb,this[_0x495f23(0x333)]=_0x195d0c,this['_initUnitPermissionChange'](),this['_initCloseConn']();}[_0x4ef07c(0x392)](){var _0x3dd440=_0x4ef07c;const _0x5011b5=async _0x2010e3=>{var _0x36ebd8=_0x4d6f;(await this['_collaborationSessionService'][_0x36ebd8(0x2b3)](_0x2010e3))[_0x36ebd8(0x336)][_0x36ebd8(0x50f)](_0xf159a2[_0x36ebd8(0x320)](_0x2b0ea2=>_0x2b0ea2[_0x36ebd8(0x3f7)]===_0x9d3528['CollaborationEvent'][_0x36ebd8(0x351)]),_0xf159a2[_0x36ebd8(0x361)](this['dispose$']))['subscribe'](_0x12c611=>{var _0x5575c6=_0x36ebd8;const _0x277e33=_0x12c611,{reason:_0x189bd3}=_0x277e33[_0x5575c6(0x511)];this['_collaborationUIEventService'][_0x5575c6(0x446)]({'id':_0x28846f[_0x5575c6(0x24d)],'data':_0x189bd3}),this[_0x5575c6(0x20e)][_0x5575c6(0x3ab)](new _0x2dec7c[(_0x5575c6(0x40b))](_0x2010e3)['id'],!0x1),this[_0x5575c6(0x532)][_0x5575c6(0x400)](_0x2010e3);});};_0x49c451['merge'](this['_univerInstanceService'][_0x3dd440(0x2a9)](_0x5a87f6[_0x3dd440(0x47a)][_0x3dd440(0x2be)]),this[_0x3dd440(0x25a)][_0x3dd440(0x2a9)](_0x5a87f6[_0x3dd440(0x47a)]['UNIVER_DOC']))[_0x3dd440(0x50f)](_0xf159a2[_0x3dd440(0x277)](_0x3ce9a0=>_0x3ce9a0[_0x3dd440(0x224)]()),_0xf159a2[_0x3dd440(0x320)](_0x2f5b1a=>!_0x5a87f6[_0x3dd440(0x46e)](_0x2f5b1a)),_0xf159a2[_0x3dd440(0x361)](this[_0x3dd440(0x501)]))['subscribe'](_0x5e8d5c=>{_0x5011b5(_0x5e8d5c);});}[_0x4ef07c(0x278)](){var _0x149169=_0x4ef07c;const _0x4eb9b2=async _0x13d306=>{var _0x2cf5d3=_0x4d6f;const _0xde0292=await this[_0x2cf5d3(0x532)][_0x2cf5d3(0x2b3)](_0x13d306),_0x28c08b=this[_0x2cf5d3(0x3b3)]['get'](_0x2dec7c['SheetPermissionInitController']);_0xde0292[_0x2cf5d3(0x336)][_0x2cf5d3(0x50f)](_0xf159a2['filter'](_0x57ae03=>_0x57ae03[_0x2cf5d3(0x3f7)]===_0x9d3528[_0x2cf5d3(0x328)][_0x2cf5d3(0x492)]),_0xf159a2[_0x2cf5d3(0x361)](this[_0x2cf5d3(0x501)]))[_0x2cf5d3(0x2ce)](_0x51c6fb=>{var _0x3442e9=_0x2cf5d3;const _0x13214f=_0x51c6fb,{objectId:_0xf82f75}=_0x13214f[_0x3442e9(0x511)];_0xf82f75===_0x13d306?_0x28c08b[_0x3442e9(0x32d)](_0x13d306):_0x28c08b[_0x3442e9(0x4b3)](_0x13d306,_0xf82f75);});};_0x49c451[_0x149169(0x294)](this[_0x149169(0x25a)][_0x149169(0x2a9)](_0x5a87f6[_0x149169(0x47a)][_0x149169(0x2be)]))['pipe'](_0xf159a2['map'](_0x36752c=>_0x36752c['getUnitId']()),_0xf159a2['filter'](_0xe9b886=>!_0x5a87f6[_0x149169(0x46e)](_0xe9b886)),_0xf159a2[_0x149169(0x361)](this[_0x149169(0x501)]))[_0x149169(0x2ce)](_0x2e352=>{_0x4eb9b2(_0x2e352);});}};_0x1c167c=_0x441c33([_0x14b8f3(0x0,_0x5a87f6[_0x4ef07c(0x2f6)](_0x5a87f6[_0x4ef07c(0x242)])),_0x14b8f3(0x1,_0x5a87f6[_0x4ef07c(0x32b)]),_0x14b8f3(0x2,_0x5a87f6['IPermissionService']),_0x14b8f3(0x3,_0x5a87f6[_0x4ef07c(0x2f6)](_0x2c717a['CollaborationSessionService'])),_0x14b8f3(0x4,_0x5a87f6['Inject'](_0x596edb))],_0x1c167c);var _0x41cc07=Object[_0x4ef07c(0x4b2)],_0x582248=(_0x3c0c99,_0x28c05f,_0x1f9c53,_0x228e4a)=>{for(var _0x514663=_0x228e4a>0x1?void 0x0:_0x228e4a?_0x41cc07(_0x28c05f,_0x1f9c53):_0x28c05f,_0x44d032=_0x3c0c99['length']-0x1,_0x501707;_0x44d032>=0x0;_0x44d032--)(_0x501707=_0x3c0c99[_0x44d032])&&(_0x514663=_0x501707(_0x514663)||_0x514663);return _0x514663;},_0x80ca0c=(_0x146315,_0x54a231)=>(_0x5afaf4,_0x2ac270)=>_0x54a231(_0x5afaf4,_0x2ac270,_0x146315);_0x2c717a[_0x4ef07c(0x219)]=class{constructor(_0x52a386,_0x208a16){var _0x1a2495=_0x4ef07c;this[_0x1a2495(0x238)]=_0x52a386,this[_0x1a2495(0x397)]=_0x208a16;}async['getUnitOnRev'](_0x591994,_0x50d40b){var _0x45cbc7=_0x4ef07c,_0x4bbef8;const {unitID:_0x223dc2,type:_0x2b14c7,revision:_0x419544=0x0}=_0x50d40b,_0x15750e=this[_0x45cbc7(0x3b4)]()+'/'+_0x2b14c7+_0x45cbc7(0x30d)+_0x223dc2+_0x45cbc7(0x28e)+_0x419544,_0x5ccc48=(await this[_0x45cbc7(0x397)][_0x45cbc7(0x47e)](_0x15750e))[_0x45cbc7(0x1e4)],_0x2f2507=(_0x4bbef8=_0x5ccc48['snapshot'])==null?void 0x0:_0x4bbef8[_0x45cbc7(0x3cb)];if(_0x2f2507){const _0xf9d373=_0x2f2507==null?void 0x0:_0x2f2507[_0x45cbc7(0x22e)],_0x5f2598=_0x9d3528[_0x45cbc7(0x443)][_0x45cbc7(0x560)](_0x9d3528[_0x45cbc7(0x4f1)](_0xf9d373));_0x2f2507[_0x45cbc7(0x22e)]=_0x5f2598,Object[_0x45cbc7(0x22d)](_0x2f2507['sheets'])[_0x45cbc7(0x482)](([,_0x595110])=>{var _0x8f7489=_0x45cbc7;const _0x242059=_0x595110[_0x8f7489(0x22e)],_0x1b089d=_0x9d3528[_0x8f7489(0x443)]['encode'](_0x9d3528[_0x8f7489(0x4f1)](_0x242059));_0x595110[_0x8f7489(0x22e)]=_0x1b089d;});}return _0x5ccc48;}async[_0x4ef07c(0x20b)](_0x410c92,_0x529aa4){var _0x5ddf81=_0x4ef07c;const {unitID:_0x8434e0,type:_0x9a776c,blockID:_0x3501fc}=_0x529aa4,_0x28f975=this[_0x5ddf81(0x420)]()+'/'+_0x9a776c+_0x5ddf81(0x30d)+_0x8434e0+_0x5ddf81(0x480)+_0x3501fc;return(await this[_0x5ddf81(0x397)][_0x5ddf81(0x47e)](_0x28f975))[_0x5ddf81(0x1e4)];}async[_0x4ef07c(0x259)](_0x22fc49,_0x289ea2){var _0x16b95f=_0x4ef07c;const {unitID:_0x102f55,type:_0x1961d4,blockID:_0x5a04cf}=_0x289ea2,_0x1096f2=this[_0x16b95f(0x420)]()+_0x16b95f(0x480)+_0x1961d4+'/unit/'+_0x102f55+_0x16b95f(0x480)+_0x5a04cf;return(await this[_0x16b95f(0x397)][_0x16b95f(0x47e)](_0x1096f2))[_0x16b95f(0x1e4)];}async['fetchMissingChangesets'](_0x376b67,_0x2e43b0){var _0xf377fd=_0x4ef07c;const {unitID:_0x4ee453,type:_0xc32422,from:_0x35f274,to:_0xb842ff}=_0x2e43b0,_0x298b28=this[_0xf377fd(0x420)]()+'/'+_0xc32422+_0xf377fd(0x30d)+_0x4ee453+_0xf377fd(0x2fd)+_0x35f274+'&to='+_0xb842ff;return(await this[_0xf377fd(0x397)][_0xf377fd(0x47e)](_0x298b28))[_0xf377fd(0x1e4)];}[_0x4ef07c(0x3b4)](){var _0x3494f2=_0x4ef07c,_0x23db82;return(_0x23db82=this[_0x3494f2(0x238)][_0x3494f2(0x4e3)](_0x7cc834))!=null?_0x23db82:this['_getAPIPrefix']();}[_0x4ef07c(0x420)](){var _0x3d0372=_0x4ef07c,_0x1c6ff1;const _0xf4168c=this[_0x3d0372(0x238)]['getConfig'](_0x50bbc4);return(_0x1c6ff1=_0xf4168c==null?void 0x0:_0xf4168c[_0x3d0372(0x330)])!=null?_0x1c6ff1:_0x3565d7;}async[_0x4ef07c(0x52c)](_0xd39113,_0x3e4e74){var _0x5a2689=_0x4ef07c;const _0x1eabaf=_0x5a2689(0x2ed)+_0x3e4e74[_0x5a2689(0x527)]+_0x5a2689(0x30d)+_0x3e4e74[_0x5a2689(0x3f1)]+'/resources';return(await this['_httpService']['get'](_0x1eabaf,{'params':{'resourceId':JSON['stringify'](_0x3e4e74['resourceIDs'])}}))[_0x5a2689(0x1e4)];}[_0x4ef07c(0x460)](){var _0x48df94=_0x4ef07c;throw new Error(_0x48df94(0x4e1));}[_0x4ef07c(0x33d)](){var _0x361f6c=_0x4ef07c;throw new Error(_0x361f6c(0x4e1));}['saveSheetBlock'](){var _0xd278bc=_0x4ef07c;throw new Error(_0xd278bc(0x4e1));}[_0x4ef07c(0x487)](){var _0x29e20b=_0x4ef07c;throw new Error(_0x29e20b(0x4e1));}[_0x4ef07c(0x3b5)](){var _0x29160f=_0x4ef07c;throw new Error(_0x29160f(0x4e1));}['getLatestCsReqIdBySid'](){var _0xc51f8b=_0x4ef07c;throw new Error(_0xc51f8b(0x4e1));}},_0x2c717a[_0x4ef07c(0x219)]=_0x582248([_0x80ca0c(0x0,_0x5a87f6['IConfigService']),_0x80ca0c(0x1,_0x5a87f6[_0x4ef07c(0x2f6)](_0x3f793f[_0x4ef07c(0x44d)]))],_0x2c717a['SnapshotServerOverHTTPService']);var _0x12b5f6=Object[_0x4ef07c(0x4b2)],_0x2eb471=(_0x4f732c,_0x268255,_0x491560,_0x2d12a3)=>{for(var _0x204851=_0x2d12a3>0x1?void 0x0:_0x2d12a3?_0x12b5f6(_0x268255,_0x491560):_0x268255,_0x795349=_0x4f732c['length']-0x1,_0x5e414c;_0x795349>=0x0;_0x795349--)(_0x5e414c=_0x4f732c[_0x795349])&&(_0x204851=_0x5e414c(_0x204851)||_0x204851);return _0x204851;},_0x25982e=(_0x293230,_0x5a85b9)=>(_0x5531d0,_0x9fe1f1)=>_0x5a85b9(_0x5531d0,_0x9fe1f1,_0x293230);_0x2c717a['CollaborativeUndoRedoService']=class extends _0x5a87f6['LocalUndoRedoService']{constructor(_0x1d6015,_0x541f8a,_0x2bbc97,_0xb46b9a,_0x58b6e7){var _0x1c33b1=_0x4ef07c;super(_0x1d6015,_0x541f8a,_0x2bbc97),this[_0x1c33b1(0x4d6)]=_0xb46b9a,this['_logService']=_0x58b6e7;}[_0x4ef07c(0x4e4)](_0x4fa5e9,_0x445e34){var _0x2822c1=_0x4ef07c;const _0x403360=this[_0x2822c1(0x504)](_0x4fa5e9);if(_0x403360)try{const _0x17dbc6=this[_0x2822c1(0x3f3)](_0x403360,_0x445e34);this[_0x2822c1(0x425)](_0x4fa5e9,_0x17dbc6);}catch(_0x5824d5){this[_0x2822c1(0x1df)][_0x2822c1(0x456)](_0x2822c1(0x283),_0x5824d5),this[_0x2822c1(0x1ea)](_0x4fa5e9);}const _0x17292d=this[_0x2822c1(0x28a)](_0x4fa5e9);if(_0x17292d)try{const _0x35f76b=this[_0x2822c1(0x3f3)](_0x17292d,_0x445e34);this[_0x2822c1(0x357)](_0x4fa5e9,_0x35f76b);}catch(_0x50ac74){this[_0x2822c1(0x1df)][_0x2822c1(0x456)](_0x50ac74),this[_0x2822c1(0x377)](_0x4fa5e9);}}[_0x4ef07c(0x1ea)](_0x30b751){var _0x2512cc=_0x4ef07c;const _0x15a7ad=this[_0x2512cc(0x504)](_0x30b751);_0x15a7ad&&(_0x15a7ad[_0x2512cc(0x3aa)]=0x0,this[_0x2512cc(0x3d1)]());}[_0x4ef07c(0x377)](_0x3c07d3){var _0x110b09=_0x4ef07c;const _0x409a6d=this[_0x110b09(0x28a)](_0x3c07d3);_0x409a6d&&(_0x409a6d[_0x110b09(0x3aa)]=0x0,this[_0x110b09(0x3d1)]());}[_0x4ef07c(0x425)](_0x32d88a,_0x49ec07){var _0x245a45=_0x4ef07c;this[_0x245a45(0x471)][_0x245a45(0x3bc)](_0x32d88a,_0x49ec07),this[_0x245a45(0x3d1)]();}[_0x4ef07c(0x357)](_0x483a31,_0x5af07c){var _0x39191d=_0x4ef07c;this['_redoStacks'][_0x39191d(0x3bc)](_0x483a31,_0x5af07c),this[_0x39191d(0x3d1)]();}[_0x4ef07c(0x3f3)](_0xda1c14,_0x14933d){var _0xbccd27=_0x4ef07c;const _0x1bfd5e=[];let _0xa22f01=_0x14933d,_0x5d36d7=_0x14933d;for(let _0x5f514a=_0xda1c14[_0xbccd27(0x3aa)]-0x1;_0x5f514a>=0x0;_0x5f514a--){const {unitID:_0x3d72a7,undoMutations:_0x155cdc,redoMutations:_0x4e0a06}=_0xda1c14[_0x5f514a],_0x1d842c=this[_0xbccd27(0x4d6)][_0xbccd27(0x4cd)](_0xa22f01,_0x155cdc),_0x266a20=this[_0xbccd27(0x4d6)][_0xbccd27(0x4cd)](_0x5d36d7,_0x4e0a06);if(_0x9d3528[_0xbccd27(0x548)](_0x1d842c)||_0x9d3528[_0xbccd27(0x548)](_0x266a20)){this[_0xbccd27(0x1df)][_0xbccd27(0x456)](_0xbccd27(0x283),_0xbccd27(0x3e5),_0x1d842c,_0x266a20);break;}_0xa22f01=_0x1d842c['c1Prime'],_0x5d36d7=_0x266a20[_0xbccd27(0x4bf)],_0x1bfd5e[_0xbccd27(0x306)]({'unitID':_0x3d72a7,'undoMutations':_0x1d842c[_0xbccd27(0x2d8)],'redoMutations':_0x266a20['m2Prime']});}return _0x1bfd5e[_0xbccd27(0x2e5)]();}},_0x2c717a[_0x4ef07c(0x33b)]=_0x2eb471([_0x25982e(0x0,_0x5a87f6['IUniverInstanceService']),_0x25982e(0x1,_0x5a87f6['ICommandService']),_0x25982e(0x2,_0x5a87f6['IContextService']),_0x25982e(0x3,_0x9d3528[_0x4ef07c(0x2b6)]),_0x25982e(0x4,_0x5a87f6[_0x4ef07c(0x546)])],_0x2c717a[_0x4ef07c(0x33b)]);var _0x5acacd=Object[_0x4ef07c(0x395)],_0x44bc04=Object[_0x4ef07c(0x4b2)],_0x25c517=(_0x78635,_0x396b6b,_0x35e3ae)=>_0x396b6b in _0x78635?_0x5acacd(_0x78635,_0x396b6b,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x35e3ae}):_0x78635[_0x396b6b]=_0x35e3ae,_0x17401d=(_0x11d2c8,_0x3c3a71,_0x5b7a09,_0x3abbf1)=>{var _0x49aebb=_0x4ef07c;for(var _0x5f4698=_0x3abbf1>0x1?void 0x0:_0x3abbf1?_0x44bc04(_0x3c3a71,_0x5b7a09):_0x3c3a71,_0x11eca8=_0x11d2c8[_0x49aebb(0x3aa)]-0x1,_0x3380be;_0x11eca8>=0x0;_0x11eca8--)(_0x3380be=_0x11d2c8[_0x11eca8])&&(_0x5f4698=_0x3380be(_0x5f4698)||_0x5f4698);return _0x5f4698;},_0x571dc1=(_0x4b9637,_0x21df57)=>(_0x1aef8c,_0xa6ba26)=>_0x21df57(_0x1aef8c,_0xa6ba26,_0x4b9637),_0x3c69d1=(_0x3abc51,_0x476d20,_0x5b631f)=>_0x25c517(_0x3abc51,_0x476d20+'',_0x5b631f);const _0x5e1f74=_0x4ef07c(0x1f7);_0x2c717a[_0x4ef07c(0x517)]=class extends _0x5a87f6['Plugin']{constructor(_0x103d2d,_0x5d9b30,_0x1e6103,_0x375889){var _0x3e5451=_0x4ef07c;super(),_0x27ebba(this,'_config'),(this[_0x3e5451(0x1df)]=_0x5d9b30,this[_0x3e5451(0x3b3)]=_0x1e6103,this[_0x3e5451(0x238)]=_0x375889);const {..._0x5cd8b2}=_0x5a87f6['merge']({},_0x5a3a37,_0x103d2d);if(!_0x5cd8b2['socketService'])throw new Error('[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!');this['_config']=_0x5cd8b2,this[_0x3e5451(0x238)]['setConfig'](_0x50bbc4,_0x5cd8b2);}['onStarting'](){var _0x4b6f12=_0x4ef07c;this[_0x4b6f12(0x412)](),this[_0x4b6f12(0x4f0)]();}[_0x4ef07c(0x412)](){var _0x55c51a=_0x4ef07c,_0x2c4809,_0x50f850;this['_injector'][_0x55c51a(0x4da)](_0x5a87f6[_0x55c51a(0x3d2)])&&this[_0x55c51a(0x1df)][_0x55c51a(0x456)](_0x55c51a(0x3ec),'you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!');const _0x29a183=_0x5a87f6['mergeOverrideWithDependencies']([[_0x5a87f6['IUndoRedoService'],{'useClass':_0x2c717a[_0x55c51a(0x33b)]}],[_0x2c717a[_0x55c51a(0x53f)]],[_0x2c717a['MemberService']],[_0x2c717a['SheetTransformSelectionsService']],[_0x4d2a45],[_0x1cddb0],[_0x46eb06],[_0x1c167c],[_0x596edb],[_0x2c717a[_0x55c51a(0x562)]],[_0x2ab6d6,{'useClass':this[_0x55c51a(0x405)][_0x55c51a(0x37e)]}],[_0x9d3528[_0x55c51a(0x542)],{'useClass':_0x2c717a[_0x55c51a(0x219)]}],[_0x5a87f6[_0x55c51a(0x4b7)],{'useClass':_0x2c717a['AuthzIoHttpService']}],[_0x5dfc2e['IImageIoService'],{'useClass':_0x2c717a[_0x55c51a(0x28f)]}],[_0x5a87f6['IMentionIOService'],{'useClass':_0x2c717a[_0x55c51a(0x275)]}],[_0x2c717a[_0x55c51a(0x220)]],[_0x401217]],(_0x2c4809=this['_config'])==null?void 0x0:_0x2c4809['override']);if(!((_0x50f850=this['_config'])!=null&&_0x50f850[_0x55c51a(0x1d2)])){const _0x592288=_0x29a183[_0x55c51a(0x35c)](([_0x703d77])=>_0x703d77===_0x53cb33);_0x592288!==-0x1&&_0x29a183['splice'](_0x592288,0x1);}_0x5a87f6['registerDependencies'](this[_0x55c51a(0x3b3)],_0x29a183);}[_0x4ef07c(0x4f0)](){var _0x5f2a11=_0x4ef07c,_0x31ebdf,_0x4d1bec,_0x11eb4e;this[_0x5f2a11(0x3b3)][_0x5f2a11(0x47e)](_0x3f793f[_0x5f2a11(0x44d)])[_0x5f2a11(0x55f)]({'priority':0x14,'interceptor':_0x3f793f['ThresholdInterceptorFactory']({'maxParallel':0x6})}),(_0x31ebdf=this[_0x5f2a11(0x405)])!=null&&_0x31ebdf[_0x5f2a11(0x2c7)]||(_0x4d1bec=this[_0x5f2a11(0x3b3)][_0x5f2a11(0x47e)](_0x11ccb1,_0x5a87f6[_0x5f2a11(0x49c)][_0x5f2a11(0x485)]))==null||_0x4d1bec[_0x5f2a11(0x3d6)](),(_0x11eb4e=this['_config'])!=null&&_0x11eb4e[_0x5f2a11(0x541)]&&_0x5a87f6['touchDependencies'](this[_0x5f2a11(0x3b3)],[[_0x4d2a45]]),_0x5a87f6[_0x5f2a11(0x3c7)](this[_0x5f2a11(0x3b3)],[[_0x1cddb0],[_0x2c717a[_0x5f2a11(0x220)]],[_0x1c167c]]);}},_0x3c69d1(_0x2c717a[_0x4ef07c(0x517)],'pluginName',_0x5e1f74),_0x2c717a[_0x4ef07c(0x517)]=_0x17401d([_0x5a87f6['DependentOn'](_0x9d3528['UniverCollaborationPlugin'],_0x3f793f[_0x4ef07c(0x246)]),_0x571dc1(0x1,_0x5a87f6['ILogService']),_0x571dc1(0x2,_0x5a87f6[_0x4ef07c(0x2f6)](_0x5a87f6['Injector'])),_0x571dc1(0x3,_0x5a87f6[_0x4ef07c(0x4d8)])],_0x2c717a[_0x4ef07c(0x517)]),_0x2c717a['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']=_0x50bbc4,_0x2c717a[_0x4ef07c(0x38f)]=_0x12c0ef,_0x2c717a[_0x4ef07c(0x418)]=_0x28846f,_0x2c717a[_0x4ef07c(0x23c)]=_0x596edb,_0x2c717a['CommentService']=_0x46eb06,_0x2c717a[_0x4ef07c(0x23f)]=_0x3de4fd,_0x2c717a['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT']=_0x33b475,_0x2c717a['DEFAULT_WS_SESSION_TICKET_URL']=_0x2e1070,_0x2c717a[_0x4ef07c(0x207)]=_0xe56939,_0x2c717a[_0x4ef07c(0x221)]=_0x2c4727,_0x2c717a[_0x4ef07c(0x383)]=_0x2ab6d6,_0x2c717a[_0x4ef07c(0x53e)]=_0x11ccb1,_0x2c717a[_0x4ef07c(0x1e1)]=_0x369ad3,_0x2c717a[_0x4ef07c(0x317)]=_0x53cb33,_0x2c717a['LOCAL_CACHE_INTERVAL']=0x3e8,_0x2c717a[_0x4ef07c(0x334)]=_0x1dd524,_0x2c717a[_0x4ef07c(0x4e9)]=_0x5d93ab,_0x2c717a[_0x4ef07c(0x40c)]=_0x426cb4,_0x2c717a[_0x4ef07c(0x4ea)]=_0x14cf5c,_0x2c717a['UnitStatus']=_0x11b621,_0x2c717a[_0x4ef07c(0x509)]=_0x3e784f,_0x2c717a['getLocalCacheKey']=_0x11afa6,_0x2c717a[_0x4ef07c(0x22f)]=_0xd1ca62,Object[_0x4ef07c(0x395)](_0x2c717a,Symbol['toStringTag'],{'value':'Module'});}));
|
|
3
3
|
|
|
4
4
|
// @univerjs-pro/collaboration-client/facade
|
|
5
|
-
(function(
|
|
5
|
+
function _0x8fda(_0x43a3fe,_0x2a90bc){_0x43a3fe=_0x43a3fe-0x1aa;const _0x571bc5=_0x571b();let _0x8fdac0=_0x571bc5[_0x43a3fe];return _0x8fdac0;}(function(_0x24727d,_0x5efaaf){const _0x515351=_0x8fda,_0x54e19c=_0x24727d();while(!![]){try{const _0x26de93=-parseInt(_0x515351(0x1ca))/0x1+-parseInt(_0x515351(0x1e5))/0x2*(parseInt(_0x515351(0x1cf))/0x3)+parseInt(_0x515351(0x1c6))/0x4+parseInt(_0x515351(0x1df))/0x5*(-parseInt(_0x515351(0x1bd))/0x6)+-parseInt(_0x515351(0x1d3))/0x7+parseInt(_0x515351(0x1d2))/0x8*(-parseInt(_0x515351(0x1aa))/0x9)+parseInt(_0x515351(0x1e9))/0xa;if(_0x26de93===_0x5efaaf)break;else _0x54e19c['push'](_0x54e19c['shift']());}catch(_0x552ef9){_0x54e19c['push'](_0x54e19c['shift']());}}}(_0x571b,0x67d2c),function(_0x4e5363,_0x1e6c5c){const _0x5a1074=_0x8fda;typeof exports==_0x5a1074(0x1ce)&&typeof module<'u'?_0x1e6c5c(exports,require('@univerjs-pro/collaboration-client'),require('@univerjs/core/facade'),require('@univerjs-pro/collaboration'),require('@univerjs/core'),require('rxjs')):typeof define==_0x5a1074(0x1e1)&&define[_0x5a1074(0x1ab)]?define([_0x5a1074(0x1b3),_0x5a1074(0x1b7),'@univerjs/core/facade',_0x5a1074(0x1cc),_0x5a1074(0x1d1),'rxjs'],_0x1e6c5c):(_0x4e5363=typeof globalThis<'u'?globalThis:_0x4e5363||self,_0x1e6c5c(_0x4e5363['UniverProCollaborationClientFacade']={},_0x4e5363['UniverProCollaborationClient'],_0x4e5363[_0x5a1074(0x1c0)],_0x4e5363[_0x5a1074(0x1d6)],_0x4e5363[_0x5a1074(0x1bf)],_0x4e5363[_0x5a1074(0x1db)]));}(this,function(_0x4933e5,_0x3aa101,_0x407d34,_0x246c95,_0x3ae71a,_0x93025b){'use strict';const _0x3ab9f2=_0x8fda;class _0x5c73be extends _0x407d34['FEnum']{get[_0x3ab9f2(0x1e6)](){const _0x59d95a=_0x3ab9f2;return _0x3aa101[_0x59d95a(0x1e6)];}}_0x407d34[_0x3ab9f2(0x1b8)]['extend'](_0x5c73be);var _0xcfb388=Object['getOwnPropertyDescriptor'],_0x23b784=(_0x414c01,_0x133c3f,_0x5457c2,_0x12edae)=>{const _0x424bc9=_0x3ab9f2;for(var _0x5210b4=_0x12edae>0x1?void 0x0:_0x12edae?_0xcfb388(_0x133c3f,_0x5457c2):_0x133c3f,_0x31462a=_0x414c01[_0x424bc9(0x1d4)]-0x1,_0x41dbbf;_0x31462a>=0x0;_0x31462a--)(_0x41dbbf=_0x414c01[_0x31462a])&&(_0x5210b4=_0x41dbbf(_0x5210b4)||_0x5210b4);return _0x5210b4;},_0x3fef48=(_0x75ad93,_0xaf12c1)=>(_0x25c033,_0x60921e)=>_0xaf12c1(_0x25c033,_0x60921e,_0x75ad93);_0x4933e5[_0x3ab9f2(0x1b0)]=class extends _0x407d34[_0x3ab9f2(0x1c2)]{constructor(_0x5644cc,_0x2e8196,_0x253178,_0x59ffb5,_0x42fcb0){const _0x125671=_0x3ab9f2;super(),this[_0x125671(0x1dc)]=_0x5644cc,this[_0x125671(0x1c4)]=_0x2e8196,this[_0x125671(0x1bc)]=_0x253178,this[_0x125671(0x1e2)]=_0x59ffb5,this[_0x125671(0x1c9)]=_0x42fcb0;}async[_0x3ab9f2(0x1b5)](){const _0x242648=_0x3ab9f2;return this[_0x242648(0x1cd)]();}async[_0x3ab9f2(0x1cd)](){const _0x886277=_0x3ab9f2;throw new Error(_0x886277(0x1c5));}async['loadSheet'](_0x3eec63){const _0x490f39=_0x3ab9f2;return this[_0x490f39(0x1ac)](_0x3eec63);}async[_0x3ab9f2(0x1ac)](_0x15fa1a,_0x4bd3f7){const _0x2c580a=_0x3ab9f2;return await this[_0x2c580a(0x1e2)][_0x2c580a(0x1be)](_0x15fa1a,0x0,_0x4bd3f7)?(await this[_0x2c580a(0x1c9)][_0x2c580a(0x1af)](_0x15fa1a),this[_0x2c580a(0x1dc)][_0x2c580a(0x1ae)](_0x15fa1a)):null;}['subscribeCollaborators'](_0x487831,_0xa8fa97){const _0x164d9c=_0x3ab9f2,_0x52d993=this[_0x164d9c(0x1c4)][_0x164d9c(0x1b9)](_0x3aa101[_0x164d9c(0x1b4)])[_0x164d9c(0x1ad)](_0x487831)[_0x164d9c(0x1e0)](_0x93025b['switchMap'](_0x511276=>_0x511276[_0x164d9c(0x1e4)]))[_0x164d9c(0x1c7)](_0xd3dd19=>_0xa8fa97(Array['from'](_0xd3dd19[_0x164d9c(0x1d5)]())));return _0x3ae71a[_0x164d9c(0x1d9)](_0x52d993);}['getCollaborationStatus'](){const _0xb726ac=_0x3ab9f2,_0x5ac623=this['_univerInstanceService']['getFocusedUnit']();if(!_0x5ac623)return _0x3aa101[_0xb726ac(0x1e6)][_0xb726ac(0x1d7)];const _0x4ab2d5=this[_0xb726ac(0x1c9)][_0xb726ac(0x1dd)](_0x5ac623[_0xb726ac(0x1d0)]());return _0x4ab2d5?_0x4ab2d5[_0xb726ac(0x1cb)][_0xb726ac(0x1bb)]:_0x3aa101['CollaborationStatus'][_0xb726ac(0x1d7)];}},_0x4933e5[_0x3ab9f2(0x1b0)]=_0x23b784([_0x3fef48(0x1,_0x3ae71a[_0x3ab9f2(0x1c8)](_0x3ae71a['Injector'])),_0x3fef48(0x2,_0x3ae71a['IUniverInstanceService']),_0x3fef48(0x3,_0x3ae71a['Inject'](_0x246c95[_0x3ab9f2(0x1ba)])),_0x3fef48(0x4,_0x3ae71a[_0x3ab9f2(0x1c8)](_0x3aa101[_0x3ab9f2(0x1de)]))],_0x4933e5[_0x3ab9f2(0x1b0)]);class _0x48cb5f extends _0x407d34[_0x3ab9f2(0x1c3)]{[_0x3ab9f2(0x1e8)](){const _0x160fbc=_0x3ab9f2;return this[_0x160fbc(0x1c4)][_0x160fbc(0x1d8)](_0x4933e5['FCollaboration'],{'getUniverSheet':_0x531bce=>this['getUniverSheet'](_0x531bce)});}[_0x3ab9f2(0x1e3)](_0x3651b3,_0x16ef04,_0x2199f6){const _0x56e7d3=_0x3ab9f2;return this['_injector'][_0x56e7d3(0x1b9)](_0x3aa101['DataLoaderService'])[_0x56e7d3(0x1c1)](_0x3651b3,_0x16ef04,_0x2199f6);}[_0x3ab9f2(0x1ea)](_0x4883c8,_0x32d71f,_0x1297b4){const _0x40f0cb=_0x3ab9f2;return this[_0x40f0cb(0x1c4)]['get'](_0x3aa101[_0x40f0cb(0x1e7)])[_0x40f0cb(0x1b6)](_0x4883c8,_0x32d71f,_0x1297b4);}}_0x407d34[_0x3ab9f2(0x1c3)][_0x3ab9f2(0x1da)](_0x48cb5f),Object['defineProperty'](_0x4933e5,Symbol[_0x3ab9f2(0x1b2)],{'value':_0x3ab9f2(0x1b1)});}));function _0x571b(){const _0x996431=['2gNWDcD','CollaborationStatus','DataLoaderService','getCollaboration','19813100FPYXWq','loadServerUnitOfRevision','9POtygD','amd','loadSheetAsync','waitForRoom$','getUniverSheet','readyForCollab','FCollaboration','Module','toStringTag','exports','MemberService','loadActiveSheet','loadUnitOfRevision','@univerjs-pro/collaboration-client','FEnum','get','SnapshotService','status','_univerInstanceService','18UkDDGm','loadSheet','UniverCore','UniverCoreFacade','loadUnit','FBase','FUniver','_injector','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','133032EfUFXq','subscribe','Inject','_collaborationController','185516tQYYJC','state','@univerjs-pro/collaboration','loadActiveSheetAsync','object','208959hJurwN','getUnitId','@univerjs/core','5181168qcurMp','187698zScTBZ','length','values','UniverProCollaboration','NOT_COLLAB','createInstance','toDisposable','extend','rxjs','_handler','getCollabEntity','CollaborationController','1099465ShVZUd','pipe','function','_snapshotService','loadServerUnit','members$'];_0x571b=function(){return _0x996431;};return _0x571b();}
|
|
6
6
|
|
|
7
7
|
// @univerjs-pro/collaboration-client-ui/index
|
|
8
|
-
function _0x1e97(_0x3f05b8,_0x598ef3){_0x3f05b8=_0x3f05b8-0xce;const _0x17969e=_0x1796();let _0x1e97df=_0x17969e[_0x3f05b8];return _0x1e97df;}function _0x1796(){const _0x4000cb=['getLocalCacheKey','CollaborationDataLoaderController','override','dispose$','xlink:href','_docTransformStateCacheService','engine','imageSourceType','USER_NOT_INVITED_CODE','_unitOnClients','getFocusedUnit','object','369766nIPzgf','@univerjs/design','CollaborationStatus','source','permission.title','_initDependencies','ticket','getUndoRedoMutationParamsCache','COMPLETION_FINISHED','url(#$1','invokeId','DataLoaderService','/universer-api/license/formula/limit/status','endRow','getCollabCursors$','search','dispose','SetTextSelectionsOperation','createElement','height','storage','resize','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','off-line-icon_clip0_910_343','roomMembers$','Tools','handleInsertRow','Unknown\x20user','TRANSFORM_CHANGE_OBSERVABLE_TYPE','getUnitId','idSuffix','ONLINE','svg','assignAColorForMemberID','setAlpha','_toggleOnline','useCallback','size','FromArray','_httpService','measureText','REDEMPTION_CODE_HAS_BEEN_CREATED','_disabled','@univerjs/drawing','_roomMembers$','@univerjs/network','socket$','path','_initStatusListener','values','COLORS','_commandService','isArray','eventID','clipPath','shareReplay','fromEventSubject','[LogService\x20Error]:\x20','MOBILE_VERIFY_CODE_MISMATCH','editingUnit','DisposableCollection','_colorIndex','PERMISSION_DENIED','LOGIN_TOKEN_PROCESSING_FAILED','univerjs-icon\x20univerjs-icon-','@univerjs/sheets','SOCKET_FAILED_RETRY','focused$','_logService','_getMergeRange','_docTransformSelectionsService','ranges','_releaseCalculationLimit','_onCursorDelete','_handleHover','m2Prime','init','isFormulaId','FormulaExecuteStageType','_drawAnchor','_scheduleSaving','#FFF','DocStateChangeManagerService','stageInfo','_onCursorUpdate','VIEW_MAIN','undoState','post','USERS_LEAVE','deepClone','_taskIds','Optional','SUCCESS','MessageType','exhaustSavingTask','handleInsertRangeMoveRight','takeUntil','error','TEXT','NOT_FOUND','8011638ZkysBU','PY_RUNTIME_SCRIPT_ERROR','tag','_collabSessionService','_initUnhandledRejectionListener','AWAITING_WITH_PENDING','IRenderManagerService','removeEventListener','RemoveColCommandId','_clearOtherTimers','use','delete','_heartbeatTimer','endColumn','_cursorInfo$','_textBubble','REDEMPTION_INVALID_CODE','getCoordByCell','PENDING','_createSocketURL','_initCommandInterceptor','sessionStatus$','Loading','EffectRefRangId','INotificationService','getUnit','_clearPolling','REDEMPTION_USER_NOT_ELIGIBLE','_docSkeletonManagerService','children','YUUMI_ASYNCIO_CANCELLED','UniverDocsUi','ENTITLE_USE_COUPON_NOT_1ST_TRADE','@univerjs/engine-formula','_injector','APPLY_NON_SEQUENTIAL_REVISION','attrs','...','CONNECTOR_DATA_TOO_LARGE','isFormulaString','ENTITLE_CAN_NOT_BUY_LOWER_OTP','UniverRpc','WebURLService','mapTo','APPLY_REVISION_CONFILICT','session.connection-failed','row','M0\x200H16V16H0z','getTypeOfUnitAdded$','_dataLoaderService','SetSelectionsOperation','ILocalStorageService','YUUMI_TABLE_NOT_FOUND_IN_UNIT','transformMutation','has','currentColor','SOCKET_FAILED','roomMembers','distinctUntilChanged','isTransformMutationFailure','InsertRowCommandId','_docClipboardService','DocSkeletonManagerService','_getSheetObject','onCommandExecuted','set','_render','_cursor','setTimeout','@univerjs-pro/collaboration','YUUMI_AI_RUN_FAILED','_labelPosition','_showGuardMessage','colno','text','ACTIVE_UNIT_EVENT_CHANNEL','_transformUndoRedoStack','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','_removeClearOtherTimer','OFFLINE','setUndoRedoMutationParamsCache','string','sessionTicket','getColorFromTheme','UniverSheets','collabStatus.fetchMiss','_initResize','_univerInstanceService','RECT','transformMutationsWithChangeset','_renderManagerService','push','cursorInfo$','makeDirty','UniverEngineRender','formula.calculation.unable','_themeService','exports','textRanges','totalFormulasToCalculate','collabStatus.conflict','Rectangle','Error','InsertRangeMoveDownCommandId','REDEMPTION_CODE_INACTIVE','with','isEditing','_instanceService','_cursorShapes','pipe','_onRefRangeChange','_maxFormulaLimit','none','UNDEFINED','DependentOn','WebSocketService','location','CLOSE_ROOM','status$','_memberID','MUTATION','color','parseInt','onPointerLeave$','fill','_getAnchorBounding','CURRENT_STATUS_CANNOT_OPERATE','USER_NOT_FOUND','actions','popstate','_initStatusComponent','body','BuiltInUIPart','collabCursorState$','IImageIoService','[CollaborationDataLoaderController]','unitID','ILogService','filter','UniverCollaborationClientUIPlugin','throttleTime','CollaborationSocketService','operators','ThemeService','_setupSubUnitSync','getRelativeToViewportCoord','_selfUnitIDs','PAYMENT_CHANNEL_NOT_SUPPORT','column','collab-text-anchor-','getSheetId','CollaborationEvent','_handleEvent','whenReady','length','getOffsetConfig','INVITE_CODE_HAS_BEEN_UES','disposeWithMe','replaceState','getSheetObject','_scheduleHeartbeat','clearTimeout','LICENSE_MAX_UNITS_EXCEEDED','forwardRef','event$','SheetCollabCursorShape','_draw','REDEMPTION_CODE_FULLY_REDEEMED','INTERNAL_ERROR','limitInfo','_getSaveTimeout','/universer-api/license/formula/limit/done','getCurrentRevOfUnit','_eventUnsubscribe','_registerDependencies','collaboration-client-ui.config','SetDocZoomRatioOperation','UniverNetwork','collaboration.offline-data-not-saved','disableLocalCache','_pollingInterval','IURLService','Inject','range','arc','handleInsertRangeMoveDown','_id','history','_collabCursorState$','RevisionService','setInterval','UNAUTHENTICATED','getCurrentUnitForType','functionsExecutedState','now','merge','SheetSkeletonManagerService','@univerjs/core','stack','_registerRenderDependencies','entityInit$','CollaborationUIEventService','collaboration.closeRoom','ENTITLE_REPORT_LIMIT_EXCEED','SNAPSHOT_HAS_BEEN_REMOVED','_urlService','flatMap','on-line-icon_clip0_910_349','CollaborationController','MoveRangeCommandId','_hasFormulaInDirtyRanges','getformulaLimitStatusUrl','registerRefRange','_cachedData','_entities','saveImage','UNIVER_SHEET','getColor','session.collaboration-timeout','getVpScrollXYInfoByPosToVp','UniverInstanceType','_getFormulaLimitStatus','_collabCursorController','IConfigService','hovered','ILocalCacheService','_uploadLog','OffLineIcon','APPLY_DUPLICATED','RegularPolygon','loadUnit','BrowserCollaborationSocketService','univer-flex\x20univer-items-center','runOnServer','YUUMI_RATE_OVER_LIMIT','INVITE_CODE_REQUIRED','UniverIcon','subUnitId','top','OTHER_CLIENTS_EDITING','params','_refreshCollabCursors','save','loadOfflineData','removeParam','LOCAL_CACHE_INTERVAL','maxFormulaLimit','@univerjs/docs-ui','_localStorageService','colorChannel1','ISocketService','href','YUUMI_CONNECTOR_URL_NOT_FOUND','UniverEngineFormula','CONFLICT','CollaborationUIEventId','addObject','getSkeleton','symbol','Rect','@univerjs/ui','_beforeCloseService','_updateSubUnitFromURLParams','_lastResponseTimestamp','/universer-api/license/formula/limit/start','DeleteRangeMoveLeftCommandId','SHEET_VIEWPORT_KEY','then','_initEvent','_hideTimer','registerComponent','Injector','ENTITLE_INSUFFICIENT_QUOTA','_hovered','add','Warning','ENTITLE_COUPON_EXPIRED','onStarting','UNIVER_DOC','mutations','NodePositionConvertToRectRange','_collaborationSessionService','send','executionId','_updateLocalCursor','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_online','find','REDEMPTION_CODE_NOT_STARTED','Module','24269rWNrGi','unsubscribe','FETCH_MISS','/run/','url(#off-line-icon_clip0_910_343)','addHandlerCallback','EMAIL_HAS_BEEN_BOUND','NO_OTHER_CLIENTS_EDITING','handleMoveRange','getConfig','searchParams','onLocalMutation','CanceledError','startFormulaLimitUrl','_localeService','_setFormulaLimitStatus','getMergeData','next','TEXT_RANGE_LAYER_INDEX','DOC_RANGE_TYPE','debounceTime','_assignedColors','_initWindowErrorListener','SetFormulaCalculationStartMutation','SNAPSHOT_INVALID_SNAPSHOT','CHANGESET_REVISION_CONFILICT','_send','substring','map','cursorInfo','jsxs','_transformService','uni.network.url-service','mask','origin','type','name','RxDisposable','registerDependencies','_unitStatus','680076bXjpyt','INVITE_CODE_ALREADY_BOUND','getUniverSheetInstance','SessionStatus','unhandledrejection','data','collabStatus.synced','_color','RemoveRowCommandId','RefRangeService','getSheetBySheetId','Vector2','_memberService','shift','bottom','rgba(255,\x20255,\x20255,\x200.01)','YUUMI_NO_CUBOID_FOR_QUESTION','RemoteUniscriptService','off-line-icon','getRenderById','_sheetSkeletonManagerService','collabStatus.notCollab','USER_IS_ANONYMOUS','useRef','ENSURE_SNAPSHOT_EXECUTION','_refRangeService','url(#on-line-icon_clip0_910_349)','getRangePointData','syncEditingCollabCursor','TOO_MANY_REQUESTS','ColorKit','hide','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','getCollabEntity$','translate(.97)','_range','selection','2054799Mszpfw','/universer-api/frontend/logs','closePath','transformStateCache','fillText','debug','drawWith','restore','M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','message','UniverDocs','Success','NOT_COLLAB','_context','_initCommandExecutedListener','onPointerMove$','DocCollaborationEntity','_scheduleClearOtherTimer','backgroundColor','complete','some','IUniverInstanceService','handleIRemoveRow','findNodePositionByCharIndex','pushState','_saveCache','HTTPService','DesktopCollaborationStatusDisplayController','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','clearInterval','assign','rxjs','green.600','toStringTag','_revisionService','m1Prime','_uiPartsService','debounce','getDocRanges','UniverProCollaborationClientUi','UniverProCollaboration','_toggleOffline','displayName','UniverUi','RichTextEditingMutation','_setupBeforeClosingHandler','function','redoState','110YfRWZa','replaceDocRanges','MOBILE_HAS_BEEN_BOUND','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','ITransformService','MemberService','_handleLeaveEvent','red.300','transformByState','UniverProCollaborationClient','registerBeforeClose','application/json','startsWith','_checkAndWaitForCalculationPermission','jsx','UniverDrawing','LICENSE_IMPORT_SIZE_EXCEEDED','Disposable','sheetID','ENTITLE_DUP_SUBSCRIPTION','CommandType','_updateCollabCursors','transformSelections','toString','_initUserListener','subunit','_saveTaskMap','connectInjector','saveOfflineData','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','subscribeEvent','wsSessionTicketUrl','AUTHORIZE_CODE_ILLEGAL','YUUMI_ALL_TABLES_IS_INVALID','getTypeOfUnitDisposed$','react','lineno','CollaborationSessionService','createInstance','FormulaExecutedStateType','onTransformChange$','setStateCache','getCellPositionByOffset','currentSkeleton$','defineProperty','@univerjs/docs','OTHER_CLIENT_EDITING','2120JwhQcW','getUnhiddenWorksheets','ENTITLE_COUPON_USED_UP','getActiveSheet','Workbook','sheetId','41632vaiHTh','_currentUsage','ERROR_AGAIN','[Window\x20Error]:\x20','0\x200\x2016\x2016','_initEntityListener','getAncestorScale','_docTransformIMECacheService','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','REDEMPTION_USER_REDEEM_TIMES_EXCEED','_cursors','getParam','@univerjs/rpc','InsertColCommandId','DocIMEInputManagerService','_docStateChangeManagerService','_removeCollabCursors','beforeCommandExecuted','show','replace','_configService','SetWorksheetActivateCommand','setParam','UnitStatus','_messageService','_docSkeleton','registerRenderModule','YUUMI_URL_COL_OUT_OF_RANGE','_backgroundColor','_transformPreviousActiveRange','_drawRectRange','blue.400','unit','saveTaskMap','unshift','stringify','_getSessionTicket','DocSelectionManagerService','selections','handleDeleteRangeMoveLeft','INVALID_INVITE_CODE','toRgbString','_name','onPointerEnter$','_checkCalculationAvailable','transformIMECache','_transformHistoryAndStateStack','subscribe','ISnapshotServerService','handleInsertCol','SYNCED','entries','_anchorDot','ENTITLE_INVALID_COUPON_CODE','setShapeProps','fromEvent','disposeUnit','APPLY_PERMISSION_DENIED','_status$','UNRECOGNIZED','getOwnPropertyDescriptor','beginPath','onMouseMove','dirtyRanges','_session','fillStyle','_init','ICommandService','_scene','Plugin','labelPosition','IDocClipboardService','addObjects','from','permission.content','requireSession','collabStatus.offline','_getScale','runId','div','UPDATE_CURSOR','EMAIL_VERIFY_CODE_MISMATCH','IRemoteInstanceService','getValue','_syncEditingCollabCursorService','unitId','width','getViewport','updateOfflineData','clsx','key','_docSyncEditingCollabCursorService','pluginName','join','_anchor','@univerjs/sheets-ui','getItem','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','evenodd','asObservable','_lastPointer','rxjs/operators','parse','code','formula.calculation.started','0\x200\x2017\x2016','useDependency','startColumn','_startCalculationLimit','_colorAssignService','getCurrentSelections','lineTo','doc.mutation.rich-text-editing','LICENSE_DISTRO_REJECTED','createIdentifier','addEventListener','black','IBeforeCloseService','SetFormulaCalculationNotificationMutation','_imageIoService','round','_handleJoinEvent','runRefRangeMutations','isTransformMutationsWithChangesetSuccess','_startDocCollabCursor','get','UniverSheetsUi','Shape','addClipboardHook','enableFrontendLog','Failed','_collaborationUIEventService','_startSheetCollabCursor','LocaleService','newValue','ALREADY_EXISTS','DATA_SOURCE_TOO_LARGE','currentTheme$','stage','_hover','useObservable','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_updateURLWithCurrentState','startRow','_localCacheService','_config','forEach','_document','currentUsage','_shapes','setItem','generateRandomId','trim','transformRemoteChangeset','purple.300','combineLatest','_handleHeartbeatEvent','white','split','YUUMI_SUBSCRIPTION_NOT_FOUND','serializeRangeWithSheet','_entityInit$','yellow.400','SheetsSelectionsService','defs','getCurrent','_ensureSubject','BehaviorSubject','amd','[RemoteUniscriptService]:\x20no\x20focused\x20unit','collab-text-range-','memberID','_notificationService','1em','catch','skeleton','bind','LOCAL_CACHE_INTERVAL_KEY','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','result','executeCommand','_drawTextRange','IMessageService','http://www.w3.org/2000/svg','handleDeleteRangeMoveUp','font','getMemberID','_monkeyPatchLogService','switchMap','UniverDesign','APPLY_REJECT','1133592fbckmr','ENTITLE_NEED_BILLING_ADDRESS','_applyCommand'];_0x1796=function(){return _0x4000cb;};return _0x1796();}(function(_0x5082e3,_0x53d6b4){const _0x285812=_0x1e97,_0x32367b=_0x5082e3();while(!![]){try{const _0x5ba9bf=-parseInt(_0x285812(0x35e))/0x1+-parseInt(_0x285812(0x36d))/0x2+-parseInt(_0x285812(0x215))/0x3+-parseInt(_0x285812(0x29f))/0x4*(parseInt(_0x285812(0x26a))/0x5)+parseInt(_0x285812(0x3d1))/0x6+parseInt(_0x285812(0x1ed))/0x7*(parseInt(_0x285812(0x299))/0x8)+parseInt(_0x285812(0x23a))/0x9;if(_0x5ba9bf===_0x53d6b4)break;else _0x32367b['push'](_0x32367b['shift']());}catch(_0x15e089){_0x32367b['push'](_0x32367b['shift']());}}}(_0x1796,0xace64),function(_0x4ac64d,_0x3fa0f4){const _0x1ebeb7=_0x1e97;typeof exports==_0x1ebeb7(0x36c)&&typeof module<'u'?_0x3fa0f4(exports,require('react/jsx-runtime'),require('@univerjs-pro/collaboration-client'),require('@univerjs/core'),require('@univerjs/ui'),require('rxjs'),require('@univerjs/design'),require('react'),require('@univerjs/rpc'),require('@univerjs/sheets'),require('@univerjs/engine-render'),require('@univerjs/network'),require('@univerjs/docs-ui'),require('@univerjs/drawing'),require('@univerjs-pro/collaboration'),require('@univerjs/docs'),require('@univerjs/engine-formula'),require('rxjs/operators'),require('@univerjs/sheets-ui')):typeof define==_0x1ebeb7(0x268)&&define[_0x1ebeb7(0x347)]?define([_0x1ebeb7(0x12c),'react/jsx-runtime','@univerjs-pro/collaboration-client',_0x1ebeb7(0x190),_0x1ebeb7(0x1cf),_0x1ebeb7(0x259),_0x1ebeb7(0x36e),_0x1ebeb7(0x28d),_0x1ebeb7(0x2ab),_0x1ebeb7(0x3ae),'@univerjs/engine-render',_0x1ebeb7(0x39a),_0x1ebeb7(0x1c2),_0x1ebeb7(0x398),_0x1ebeb7(0x110),_0x1ebeb7(0x297),_0x1ebeb7(0xec),_0x1ebeb7(0x304),_0x1ebeb7(0x2fe)],_0x3fa0f4):(_0x4ac64d=typeof globalThis<'u'?globalThis:_0x4ac64d||self,_0x3fa0f4(_0x4ac64d[_0x1ebeb7(0x261)]={},_0x4ac64d['React'],_0x4ac64d[_0x1ebeb7(0x273)],_0x4ac64d['UniverCore'],_0x4ac64d[_0x1ebeb7(0x265)],_0x4ac64d[_0x1ebeb7(0x259)],_0x4ac64d[_0x1ebeb7(0x35c)],_0x4ac64d['React'],_0x4ac64d[_0x1ebeb7(0xf4)],_0x4ac64d[_0x1ebeb7(0x11f)],_0x4ac64d[_0x1ebeb7(0x129)],_0x4ac64d[_0x1ebeb7(0x17c)],_0x4ac64d[_0x1ebeb7(0xea)],_0x4ac64d[_0x1ebeb7(0x279)],_0x4ac64d[_0x1ebeb7(0x262)],_0x4ac64d[_0x1ebeb7(0x244)],_0x4ac64d[_0x1ebeb7(0x1c8)],_0x4ac64d['rxjs'][_0x1ebeb7(0x159)],_0x4ac64d[_0x1ebeb7(0x31d)]));}(this,function(_0x42b8f3,_0x36c173,_0x115633,_0x5721e1,_0xa1d841,_0x3c46fe,_0x31d403,_0x2f3b23,_0x2abba2,_0x52d373,_0x585793,_0x45e398,_0x45f825,_0x36f61a,_0x195720,_0x9d8fba,_0x26196d,_0x3951af,_0x131e0d){'use strict';const _0x3db800=_0x1e97;var _0x1b06f4=Object['defineProperty'],_0x53c8bc=(_0x2dd5c6,_0x2c698d,_0x1ccce8)=>_0x2c698d in _0x2dd5c6?_0x1b06f4(_0x2dd5c6,_0x2c698d,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1ccce8}):_0x2dd5c6[_0x2c698d]=_0x1ccce8,_0x11fc09=(_0x1c238c,_0x1047d5,_0x3846b8)=>_0x53c8bc(_0x1c238c,typeof _0x1047d5!=_0x3db800(0x1cd)?_0x1047d5+'':_0x1047d5,_0x3846b8);function _0x53852e({ref:_0x5a622c,..._0x254239}){const _0x4864c5=_0x3db800,{icon:_0x4d3409,id:_0x4baf37,className:_0x4b08df,extend:_0x431025,..._0x4dea7a}=_0x254239,_0x2bd6ea=(_0x4864c5(0x3ad)+_0x4baf37+'\x20'+(_0x4b08df||''))[_0x4864c5(0x337)](),_0x177064=_0x2f3b23[_0x4864c5(0x22c)]('_'+_0x178212());return _0x5a6ff2(_0x4d3409,''+_0x4baf37,{'defIds':_0x4d3409['defIds'],'idSuffix':_0x177064['current']},{'ref':_0x5a622c,'className':_0x2bd6ea,..._0x4dea7a},_0x431025);}function _0x5a6ff2(_0x21ac2b,_0xde4061,_0xf9ad22,_0x3c1ef3,_0x352370){const _0x1e4ee5=_0x3db800;return _0x2f3b23[_0x1e4ee5(0x37f)](_0x21ac2b[_0x1e4ee5(0x3d3)],{'key':_0xde4061,..._0x55e06a(_0x21ac2b,_0xf9ad22,_0x352370),..._0x3c1ef3},(_0x3862dd(_0x21ac2b,_0xf9ad22)[_0x1e4ee5(0xe8)]||[])[_0x1e4ee5(0x209)]((_0x894fa1,_0x474f9d)=>_0x5a6ff2(_0x894fa1,_0xde4061+'-'+_0x21ac2b['tag']+'-'+_0x474f9d,_0xf9ad22,void 0x0,_0x352370)));}function _0x55e06a(_0x35594d,_0x4efa96,_0x22fc24){const _0x1af7fa=_0x3db800,_0x376c0b={..._0x35594d[_0x1af7fa(0xef)]};_0x22fc24!=null&&_0x22fc24['colorChannel1']&&_0x376c0b[_0x1af7fa(0x147)]===_0x1af7fa(0x1c4)&&(_0x376c0b[_0x1af7fa(0x147)]=_0x22fc24[_0x1af7fa(0x1c4)]),_0x35594d[_0x1af7fa(0x3d3)]==='mask'&&_0x376c0b['id']&&(_0x376c0b['id']=_0x376c0b['id']+_0x4efa96[_0x1af7fa(0x38b)]),Object[_0x1af7fa(0x2d2)](_0x376c0b)['forEach'](([_0x28cebb,_0x4fd706])=>{const _0x2a7cba=_0x1af7fa;_0x28cebb===_0x2a7cba(0x20e)&&typeof _0x4fd706==_0x2a7cba(0x11c)&&(_0x376c0b[_0x28cebb]=_0x4fd706[_0x2a7cba(0x2b2)](/url\(#(.*)\)/,_0x2a7cba(0x376)+_0x4efa96['idSuffix']+')'));});const {defIds:_0x77e525}=_0x4efa96;return!_0x77e525||_0x77e525['length']===0x0||(_0x35594d[_0x1af7fa(0x3d3)]===_0x1af7fa(0xd5)&&_0x376c0b[_0x1af7fa(0x365)]&&(_0x376c0b[_0x1af7fa(0x365)]=_0x376c0b[_0x1af7fa(0x365)]+_0x4efa96[_0x1af7fa(0x38b)]),Object[_0x1af7fa(0x2d2)](_0x376c0b)[_0x1af7fa(0x331)](([_0x4fd073,_0x2127de])=>{const _0x30546b=_0x1af7fa;typeof _0x2127de=='string'&&(_0x376c0b[_0x4fd073]=_0x2127de[_0x30546b(0x2b2)](/url\(#(.*)\)/,'url(#$1'+_0x4efa96['idSuffix']+')'));})),_0x376c0b;}function _0x3862dd(_0x10a768,_0x5cbc68){const _0x1ee966=_0x3db800;var _0x787224;const {defIds:_0x4fbecb}=_0x5cbc68;return!_0x4fbecb||_0x4fbecb[_0x1ee966(0x165)]===0x0?_0x10a768:_0x10a768['tag']===_0x1ee966(0x343)&&((_0x787224=_0x10a768['children'])!=null&&_0x787224['length'])?{..._0x10a768,'children':_0x10a768[_0x1ee966(0xe8)]['map'](_0xa2952e=>typeof _0xa2952e[_0x1ee966(0xef)]['id']==_0x1ee966(0x11c)&&_0x4fbecb&&_0x4fbecb['includes'](_0xa2952e[_0x1ee966(0xef)]['id'])?{..._0xa2952e,'attrs':{..._0xa2952e[_0x1ee966(0xef)],'id':_0xa2952e[_0x1ee966(0xef)]['id']+_0x5cbc68[_0x1ee966(0x38b)]}}:_0xa2952e)}:_0x10a768;}function _0x178212(){const _0x19ae3e=_0x3db800;return Math['random']()[_0x19ae3e(0x281)](0x24)[_0x19ae3e(0x208)](0x2,0x8);}_0x53852e[_0x3db800(0x264)]=_0x3db800(0x1b7);const _0x11986a={'tag':_0x3db800(0x38d),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':'none','viewBox':_0x3db800(0x2a3),'width':'1em','height':_0x3db800(0x34c)},'children':[{'tag':'g','attrs':{'clipPath':_0x3db800(0x1f1)},'children':[{'tag':_0x3db800(0x39c),'attrs':{'stroke':_0x3db800(0x102),'d':'M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','strokeLinecap':_0x3db800(0x317),'strokeLinejoin':_0x3db800(0x317),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x3db800(0x384)},'children':[{'tag':_0x3db800(0x39c),'attrs':{'fill':'white','d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x3db800(0x384)]},_0x1855f4=_0x2f3b23[_0x3db800(0x16e)](function(_0x4ad28d,_0x1854cb){const _0x4e5cc6=_0x3db800;return _0x2f3b23['createElement'](_0x53852e,Object['assign']({},_0x4ad28d,{'id':_0x4e5cc6(0x227),'ref':_0x1854cb,'icon':_0x11986a}));});_0x1855f4[_0x3db800(0x264)]=_0x3db800(0x1ae);const _0x689c8a={'tag':_0x3db800(0x38d),'attrs':{'xmlns':_0x3db800(0x356),'fill':_0x3db800(0x13b),'viewBox':_0x3db800(0x308),'width':_0x3db800(0x34c),'height':_0x3db800(0x34c)},'children':[{'tag':'g','attrs':{'clipPath':_0x3db800(0x22f)},'children':[{'tag':_0x3db800(0x39c),'attrs':{'stroke':_0x3db800(0x102),'d':_0x3db800(0x242),'strokeLinecap':_0x3db800(0x317),'strokeLinejoin':_0x3db800(0x317),'strokeWidth':1.2}}]},{'tag':_0x3db800(0x343),'attrs':{},'children':[{'tag':_0x3db800(0x3a3),'attrs':{'id':_0x3db800(0x19a)},'children':[{'tag':_0x3db800(0x39c),'attrs':{'fill':_0x3db800(0x33c),'d':_0x3db800(0xfa),'transform':_0x3db800(0x237)}}]}]}],'defIds':['on-line-icon_clip0_910_349']},_0x544b9b=_0x2f3b23['forwardRef'](function(_0x514393,_0x562375){const _0x21003b=_0x3db800;return _0x2f3b23[_0x21003b(0x37f)](_0x53852e,Object[_0x21003b(0x258)]({},_0x514393,{'id':'on-line-icon','ref':_0x562375,'icon':_0x689c8a}));});_0x544b9b[_0x3db800(0x264)]='OnLineIcon';function _0x4a053d(_0x15b61d){const _0xde42a5=_0x3db800;switch(_0x15b61d){case _0x115633[_0xde42a5(0x36f)][_0xde42a5(0x11a)]:return _0xde42a5(0x2eb);case _0x115633[_0xde42a5(0x36f)][_0xde42a5(0x1c9)]:return _0xde42a5(0x12f);case _0x115633[_0xde42a5(0x36f)][_0xde42a5(0x1ef)]:return _0xde42a5(0x120);case _0x115633[_0xde42a5(0x36f)][_0xde42a5(0x246)]:return _0xde42a5(0x22a);case _0x115633[_0xde42a5(0x36f)]['AWAITING']:case _0x115633[_0xde42a5(0x36f)][_0xde42a5(0xd0)]:return'collabStatus.syncing';case _0x115633['CollaborationStatus'][_0xde42a5(0x2d1)]:case _0x115633['CollaborationStatus'][_0xde42a5(0xdd)]:return _0xde42a5(0x21b);}}function _0x3aa57c(_0x24bc59){const _0x40bfa2=_0x3db800,{status$:_0x237a0a}=_0x24bc59,_0x42f0d8=_0xa1d841[_0x40bfa2(0x32b)](_0x237a0a,_0x115633[_0x40bfa2(0x36f)][_0x40bfa2(0x246)]),_0x390864=_0xa1d841['useDependency'](_0x5721e1[_0x40bfa2(0x324)]),_0x37bce8=_0xa1d841[_0x40bfa2(0x309)](_0x115633['CollaborationSessionService']),_0xa345d4=_0x42f0d8!==_0x115633[_0x40bfa2(0x36f)][_0x40bfa2(0x11a)],_0x3eaa8c=_0x390864['t'](_0x4a053d(_0x42f0d8)),_0x502f4e=_0xa345d4?_0x36c173['jsx'](_0x544b9b,{}):_0x36c173['jsx'](_0x1855f4,{}),_0xd37df7=_0x2f3b23[_0x40bfa2(0x391)](()=>{_0xa345d4||_0x37bce8['reconnect']();},[_0xa345d4,_0x37bce8]);function _0x48bb28(){const _0x528c3f=_0x40bfa2;return _0x36c173[_0x528c3f(0x20b)](_0x528c3f(0x2ee),{'className':_0x528c3f(0x1b3),'onClick':_0xd37df7,'children':[_0x36c173['jsx'](_0x528c3f(0x2ee),{'className':_0x31d403[_0x528c3f(0x2f8)]('univer-mr-2\x20univer-flex\x20univer-text-xl',{'univer-text-green-500':_0xa345d4,'univer-text-red-500':!_0xa345d4}),'children':_0x502f4e}),_0x36c173['jsx'](_0x528c3f(0x2ee),{'className':_0x528c3f(0x383),'children':_0x3eaa8c})]});}return _0xa345d4?_0x48bb28():_0x36c173[_0x40bfa2(0x278)](_0x31d403['Tooltip'],{'title':_0x390864['t']('collab-client.tooltip.reconnect'),'children':_0x48bb28()});}var _0x196195=Object['getOwnPropertyDescriptor'],_0x23b43a=(_0x420d27,_0x386441,_0x4d794f,_0x358b3d)=>{for(var _0x17a068=_0x358b3d>0x1?void 0x0:_0x358b3d?_0x196195(_0x386441,_0x4d794f):_0x386441,_0xa3e734=_0x420d27['length']-0x1,_0x10b6e5;_0xa3e734>=0x0;_0xa3e734--)(_0x10b6e5=_0x420d27[_0xa3e734])&&(_0x17a068=_0x10b6e5(_0x17a068)||_0x17a068);return _0x17a068;},_0x388c8e=(_0x2e7108,_0x536862)=>(_0x5a4799,_0x20faf9)=>_0x536862(_0x5a4799,_0x20faf9,_0x2e7108);_0x42b8f3[_0x3db800(0x255)]=class extends _0x5721e1[_0x3db800(0x27b)]{constructor(_0x5b560a,_0x5985f2,_0x464340,_0x490cd7){const _0xeaa123=_0x3db800;super(),_0x11fc09(this,_0xeaa123(0x2d9),new _0x3c46fe[(_0xeaa123(0x346))](_0x115633[_0xeaa123(0x36f)][_0xeaa123(0x246)])),(this[_0xeaa123(0x122)]=_0x5b560a,this[_0xeaa123(0xed)]=_0x5985f2,this['_collaborationController']=_0x464340,this[_0xeaa123(0x25e)]=_0x490cd7,this[_0xeaa123(0x14d)](),this[_0xeaa123(0x39d)]());}[_0x3db800(0x39d)](){const _0x275499=_0x3db800;this[_0x275499(0x168)](this[_0x275499(0x122)][_0x275499(0x3b0)][_0x275499(0x138)](_0x3c46fe[_0x275499(0x35b)](()=>{const _0x40327c=_0x275499,_0x12fe20=this[_0x40327c(0x122)]['getFocusedUnit']();return _0x12fe20?this['_collaborationController'][_0x40327c(0x236)](_0x12fe20[_0x40327c(0x38a)]()):_0x3c46fe['of'](null);}),_0x3c46fe[_0x275499(0x35b)](_0x4a3133=>_0x4a3133?_0x4a3133[_0x275499(0x141)]:_0x3c46fe['of'](_0x115633[_0x275499(0x36f)][_0x275499(0x246)])))['subscribe'](_0x4bcd45=>{const _0x462406=_0x275499;this[_0x462406(0x2d9)][_0x462406(0x1fe)](_0x4bcd45);}));}[_0x3db800(0x14d)](){const _0x2cec2b=_0x3db800;this[_0x2cec2b(0x168)](this[_0x2cec2b(0x25e)][_0x2cec2b(0x1d9)](_0xa1d841[_0x2cec2b(0x14f)]['HEADER_MENU'],()=>_0xa1d841[_0x2cec2b(0x285)](_0x1f300e({'status$':this[_0x2cec2b(0x2d9)][_0x2cec2b(0x302)]()}),this[_0x2cec2b(0xed)])));}},_0x42b8f3[_0x3db800(0x255)]=_0x23b43a([_0x388c8e(0x0,_0x5721e1['IUniverInstanceService']),_0x388c8e(0x1,_0x5721e1[_0x3db800(0x181)](_0x5721e1['Injector'])),_0x388c8e(0x2,_0x5721e1[_0x3db800(0x181)](_0x115633[_0x3db800(0x19b)])),_0x388c8e(0x3,_0xa1d841['IUIPartsService'])],_0x42b8f3[_0x3db800(0x255)]);function _0x1f300e(_0x29395a){const {status$:_0x1a84c0}=_0x29395a;return function(){const _0x3b40c7=_0x1e97;return _0x36c173[_0x3b40c7(0x278)](_0x3aa57c,{'status$':_0x1a84c0});};}const _0x4a64fb=_0x5721e1[_0x3db800(0x311)](_0x3db800(0x20d));var _0x216a13=Object[_0x3db800(0x2db)],_0x23d8c4=(_0x436ea3,_0x4e28f2,_0x3a6432,_0x2c680c)=>{for(var _0x3ae693=_0x2c680c>0x1?void 0x0:_0x2c680c?_0x216a13(_0x4e28f2,_0x3a6432):_0x4e28f2,_0x3067e4=_0x436ea3['length']-0x1,_0x1ce6d9;_0x3067e4>=0x0;_0x3067e4--)(_0x1ce6d9=_0x436ea3[_0x3067e4])&&(_0x3ae693=_0x1ce6d9(_0x3ae693)||_0x3ae693);return _0x3ae693;},_0x21170e=(_0x623d9,_0x17bbed)=>(_0x5b8b80,_0x353416)=>_0x17bbed(_0x5b8b80,_0x353416,_0x623d9);_0x42b8f3['CollaborationDataLoaderController']=class extends _0x5721e1[_0x3db800(0x212)]{constructor(_0x1577da,_0x2e8de7,_0x239609,_0x424cea,_0x516f02){const _0x5bc516=_0x3db800;super(),this['_urlService']=_0x1577da,this[_0x5bc516(0x3b1)]=_0x2e8de7,this[_0x5bc516(0x3a0)]=_0x239609,this['_dataLoaderService']=_0x424cea,_0x516f02?_0x516f02==null||_0x516f02[_0x5bc516(0x164)]()[_0x5bc516(0x1d6)](()=>this['_init']()):(this[_0x5bc516(0x3b1)][_0x5bc516(0x23f)](_0x5bc516(0x152),_0x5bc516(0x287)),this[_0x5bc516(0x2e1)]());}async['_init'](){const _0x229856=_0x3db800,_0x184361=this[_0x229856(0x198)][_0x229856(0x2aa)](_0x229856(0x2bf)),_0x326ebd=this['_urlService']['getParam'](_0x229856(0x210)),_0x25f61e=this[_0x229856(0x198)][_0x229856(0x2aa)](_0x229856(0x283));if(!_0x184361||!_0x326ebd){this[_0x229856(0x3b1)][_0x229856(0x23f)](_0x229856(0x152),_0x229856(0x32c));return;}const _0x192b0a=await this[_0x229856(0xfc)][_0x229856(0x1b1)](_0x184361,Number(_0x326ebd),_0x25f61e);_0x192b0a&&_0x192b0a instanceof _0x5721e1[_0x229856(0x29d)]&&this[_0x229856(0x15b)](_0x192b0a);}async[_0x3db800(0x15b)](_0x5c1dc4){const _0x1493c1=_0x3db800;await this['_updateSubUnitFromURLParams'](_0x5c1dc4),_0x5c1dc4['activeSheet$']['pipe'](_0x3c46fe[_0x1493c1(0x3cd)](this[_0x1493c1(0x364)]))['subscribe'](_0x1d7b59=>{const _0x2e0bd9=_0x1493c1;_0x1d7b59&&this[_0x2e0bd9(0x32d)](_0x1d7b59);}),this[_0x1493c1(0x198)]['urlChange$'][_0x1493c1(0x138)](_0x3c46fe[_0x1493c1(0x3cd)](this[_0x1493c1(0x364)]))[_0x1493c1(0x2ce)](()=>this[_0x1493c1(0x1d1)](_0x5c1dc4));}[_0x3db800(0x32d)](_0x229408,_0x374f92=!0x1){const _0x3ab46e=_0x3db800,_0x30208d=this[_0x3ab46e(0x198)][_0x3ab46e(0x2aa)](_0x3ab46e(0x283));_0x229408[_0x3ab46e(0x161)]()!==_0x30208d&&this[_0x3ab46e(0x198)][_0x3ab46e(0x2b5)](_0x3ab46e(0x283),_0x229408[_0x3ab46e(0x161)](),_0x374f92);}async[_0x3db800(0x1d1)](_0x3cd83f){const _0x13aa18=_0x3db800;var _0x14ad3a;const _0x20d5f7=this[_0x13aa18(0x198)]['getParam'](_0x13aa18(0x283));if(!_0x20d5f7||!_0x3cd83f[_0x13aa18(0x21f)](_0x20d5f7)){const _0xea92b5=_0x3cd83f[_0x13aa18(0x29a)]()[0x0],_0x5c057c=_0x3cd83f[_0x13aa18(0x21f)](_0xea92b5);if(!_0x5c057c)return;this[_0x13aa18(0x32d)](_0x5c057c,!0x0),await this[_0x13aa18(0x3a0)][_0x13aa18(0x353)](_0x52d373[_0x13aa18(0x2b4)]['id'],{'unitId':_0x3cd83f[_0x13aa18(0x38a)](),'subUnitId':_0xea92b5});return;}((_0x14ad3a=_0x3cd83f[_0x13aa18(0x29c)]())==null?void 0x0:_0x14ad3a['getSheetId']())!==_0x20d5f7&&await this[_0x13aa18(0x3a0)][_0x13aa18(0x353)](_0x52d373[_0x13aa18(0x2b4)]['id'],{'unitId':_0x3cd83f[_0x13aa18(0x38a)](),'subUnitId':_0x20d5f7});}},_0x42b8f3[_0x3db800(0x362)]=_0x23d8c4([_0x21170e(0x0,_0x4a64fb),_0x21170e(0x1,_0x5721e1[_0x3db800(0x154)]),_0x21170e(0x2,_0x5721e1[_0x3db800(0x2e2)]),_0x21170e(0x3,_0x5721e1[_0x3db800(0x181)](_0x115633[_0x3db800(0x378)])),_0x21170e(0x4,_0x5721e1[_0x3db800(0x3c8)](_0x2abba2[_0x3db800(0x2f1)]))],_0x42b8f3[_0x3db800(0x362)]);var _0x2c3c88=Object[_0x3db800(0x2db)],_0xc78629=(_0xc796a8,_0x48da8a,_0x4345a4,_0x5ad260)=>{const _0x26483a=_0x3db800;for(var _0x1ad83d=_0x5ad260>0x1?void 0x0:_0x5ad260?_0x2c3c88(_0x48da8a,_0x4345a4):_0x48da8a,_0x2a63e2=_0xc796a8[_0x26483a(0x165)]-0x1,_0x26bf2b;_0x2a63e2>=0x0;_0x2a63e2--)(_0x26bf2b=_0xc796a8[_0x2a63e2])&&(_0x1ad83d=_0x26bf2b(_0x1ad83d)||_0x1ad83d);return _0x1ad83d;},_0x5ee442=(_0x5abc60,_0x28152d)=>(_0x28e680,_0x1568e2)=>_0x28152d(_0x28e680,_0x1568e2,_0x5abc60);let _0x3ae7cf=class extends _0x5721e1[_0x3db800(0x212)]{constructor(_0x3b8bb9,_0x474b3a){const _0x17cf58=_0x3db800;super(),this['_docClipboardService']=_0x3b8bb9,this[_0x17cf58(0x316)]=_0x474b3a,this[_0x17cf58(0x2e1)]();}[_0x3db800(0x2e1)](){const _0x504bf4=_0x3db800,_0x401b0b=this;this[_0x504bf4(0x168)](this[_0x504bf4(0x108)][_0x504bf4(0x31f)]({'onBeforePasteImage':async _0x3c497e=>{const _0x3249dd=_0x504bf4,_0x529058=await _0x401b0b[_0x3249dd(0x316)][_0x3249dd(0x1a2)](_0x3c497e);return _0x529058?{'source':_0x529058[_0x3249dd(0x370)],'imageSourceType':_0x529058[_0x3249dd(0x368)]}:null;}}));}};_0x3ae7cf=_0xc78629([_0x5ee442(0x0,_0x45f825[_0x3db800(0x2e6)]),_0x5ee442(0x1,_0x36f61a[_0x3db800(0x151)])],_0x3ae7cf);const _0x50ff74=[_0x3db800(0x339),'jiqing.500',_0x3db800(0x25a),_0x3db800(0x271),_0x3db800(0x2be),_0x3db800(0x341)];class _0x2ab1f4 extends _0x5721e1['Disposable']{constructor(){const _0x231fbb=_0x3db800;super(...arguments),_0x11fc09(this,'_assignedColors',new Map()),_0x11fc09(this,_0x231fbb(0x3aa),0x0);}['assignAColorForMemberID'](_0x431b1a){const _0x168df5=_0x3db800;if(this[_0x168df5(0x202)][_0x168df5(0x101)](_0x431b1a))return this[_0x168df5(0x202)][_0x168df5(0x31c)](_0x431b1a);const _0x1aeba8=_0x50ff74[this[_0x168df5(0x3aa)]];return this[_0x168df5(0x3aa)]=(this[_0x168df5(0x3aa)]+0x1)%_0x50ff74[_0x168df5(0x165)],this[_0x168df5(0x202)][_0x168df5(0x10c)](_0x431b1a,_0x1aeba8),_0x1aeba8;}}function _0x20d37b(_0x300053){const _0x40095b=_0x3db800;let _0x367e2b='';for(const _0xd89894 of _0x300053){const {startOffset:_0x1ba17e,endOffset:_0x271dbf,isActive:_0x378116,rangeType:_0x391da7,segmentId:_0x595f5e,segmentPage:_0x3062bc}=_0xd89894;_0x367e2b[_0x40095b(0x165)]&&(_0x367e2b+=','),_0x367e2b+=_0x1ba17e+':'+_0x271dbf+':'+(_0x378116?'1':'0')+':'+_0x391da7+':'+_0x595f5e+':'+_0x3062bc;}return _0x367e2b;}function _0x347a9b(_0x15bd58){const _0xb6acd7=_0x3db800,_0x2bf27a=_0x15bd58[_0xb6acd7(0x33d)](','),_0x2bf429=[];for(const _0x6504cc of _0x2bf27a){const [_0x12e156,_0xb3f59,_0x11bd95,_0x24632c,_0x2b706a,_0x256dcd]=_0x6504cc[_0xb6acd7(0x33d)](':');_0x2bf429[_0xb6acd7(0x126)]({'startOffset':Number(_0x12e156),'endOffset':Number(_0xb3f59),'collapsed':_0x12e156===_0xb3f59,'isActive':_0x11bd95==='1','rangeType':_0x24632c===_0x5721e1[_0xb6acd7(0x200)][_0xb6acd7(0x3cf)]?_0x5721e1[_0xb6acd7(0x200)]['TEXT']:_0x5721e1[_0xb6acd7(0x200)][_0xb6acd7(0x123)],'segmentId':typeof _0x2b706a==_0xb6acd7(0x11c)?String(_0x2b706a):'','segmentPage':Number(_0x256dcd!=null?_0x256dcd:-0x1)});}return _0x2bf429[_0xb6acd7(0x24e)](_0x32e51c=>_0x32e51c['isActive'])||(_0x2bf429[0x0]['isActive']=!0x0),_0x2bf429;}class _0x41a578 extends _0x5721e1['RxDisposable']{constructor(){const _0x49227b=_0x3db800;super(...arguments),_0x11fc09(this,_0x49227b(0x187),new _0x3c46fe[(_0x49227b(0x346))](null)),_0x11fc09(this,_0x49227b(0x150),this[_0x49227b(0x187)]['asObservable']());}[_0x3db800(0x231)](_0x5e83e3){const _0x39fd30=_0x3db800,{unitID:_0xb66b53,memberID:_0x489582,textRanges:_0x4aa8d0}=_0x5e83e3,_0x47aeaf=_0x20d37b(_0x4aa8d0);if(_0x47aeaf==='')return;const _0x59bdc0={'unitID':_0xb66b53,'memberID':_0x489582,'selection':_0x47aeaf};this[_0x39fd30(0x187)][_0x39fd30(0x1fe)](_0x59bdc0);}}var _0x20d8c6=Object[_0x3db800(0x2db)],_0x4dd272=(_0x279e49,_0x5e9209,_0x3b89e6,_0x5900a5)=>{const _0x2653b0=_0x3db800;for(var _0x36d70e=_0x5900a5>0x1?void 0x0:_0x5900a5?_0x20d8c6(_0x5e9209,_0x3b89e6):_0x5e9209,_0x1de32e=_0x279e49[_0x2653b0(0x165)]-0x1,_0x53b543;_0x1de32e>=0x0;_0x1de32e--)(_0x53b543=_0x279e49[_0x1de32e])&&(_0x36d70e=_0x53b543(_0x36d70e)||_0x36d70e);return _0x36d70e;},_0x1da84f=(_0x1a8ded,_0x25f24f)=>(_0x29a0e8,_0x37c431)=>_0x25f24f(_0x29a0e8,_0x37c431,_0x1a8ded);const _0x2712e3=0x12c,_0x4d5815=0x64;let _0x17b314=class extends _0x5721e1[_0x3db800(0x212)]{constructor(_0x1dbc43,_0x520d0e,_0x19c591,_0x3dca9b,_0x40f48d,_0x440676,_0x3e4663,_0x1bf068,_0x53bbde){const _0x2a9e7f=_0x3db800;super(),_0x11fc09(this,'_online',!0x1),_0x11fc09(this,_0x2a9e7f(0x2e1),!0x1),_0x11fc09(this,_0x2a9e7f(0xd9),new _0x3c46fe['BehaviorSubject'](new Map())),_0x11fc09(this,_0x2a9e7f(0x127),this[_0x2a9e7f(0xd9)][_0x2a9e7f(0x302)]()),_0x11fc09(this,_0x2a9e7f(0x399),new _0x3c46fe[(_0x2a9e7f(0x346))]([])),_0x11fc09(this,_0x2a9e7f(0x385),this[_0x2a9e7f(0x399)][_0x2a9e7f(0x138)](_0x3c46fe['debounceTime'](_0x2712e3))),_0x11fc09(this,'_updateLocalCursor',_0x5721e1[_0x2a9e7f(0x25f)](_0x59a847=>{const _0x4f424c=_0x2a9e7f,_0x5a4566={'eventID':_0x195720[_0x4f424c(0x162)]['UPDATE_CURSOR'],'data':{'unitID':this[_0x4f424c(0x153)],'memberID':this[_0x4f424c(0x2df)][_0x4f424c(0x359)](),'selection':_0x20d37b(_0x59a847)}};this[_0x4f424c(0x2df)][_0x4f424c(0x1e5)](_0x5a4566,this[_0x4f424c(0x153)]);},_0x4d5815)),(this['unitID']=_0x1dbc43,this[_0x2a9e7f(0x2df)]=_0x520d0e,this['_injector']=_0x19c591,this[_0x2a9e7f(0x30c)]=_0x3dca9b,this['_memberService']=_0x40f48d,this[_0x2a9e7f(0x2f3)]=_0x440676,this[_0x2a9e7f(0x20c)]=_0x3e4663,this[_0x2a9e7f(0x122)]=_0x1bf068,this[_0x2a9e7f(0x3a0)]=_0x53bbde);}get['cursorInfo'](){const _0x5803ea=_0x3db800;return this[_0x5803ea(0xd9)]['getValue']();}get['roomMembers'](){const _0x370e00=_0x3db800;return this[_0x370e00(0x399)]['getValue']();}[_0x3db800(0x37d)](){const _0x25613b=_0x3db800;super[_0x25613b(0x37d)](),this[_0x25613b(0xd9)][_0x25613b(0x1fe)](new Map()),this['_cursorInfo$'][_0x25613b(0x24d)](),this[_0x25613b(0x399)][_0x25613b(0x1fe)]([]),this[_0x25613b(0x399)]['complete']();}['init'](){const _0x59c0c9=_0x3db800;this[_0x59c0c9(0x2e1)]||(this['_init']=!0x0,this[_0x59c0c9(0x2df)]['sessionStatus$'][_0x59c0c9(0x138)](_0x3c46fe[_0x59c0c9(0x3cd)](this['dispose$']))[_0x59c0c9(0x2ce)](_0x149b37=>{const _0x38a2cf=_0x59c0c9;_0x149b37===_0x115633[_0x38a2cf(0x218)][_0x38a2cf(0x38c)]?this[_0x38a2cf(0x390)]():this[_0x38a2cf(0x263)]();}),this[_0x59c0c9(0x2df)][_0x59c0c9(0x16f)][_0x59c0c9(0x138)](_0x3c46fe[_0x59c0c9(0x3cd)](this[_0x59c0c9(0x364)]))['subscribe'](_0x5a7766=>{const _0x5a32ad=_0x59c0c9,_0x5d6f46=_0x5a7766[_0x5a32ad(0x3a2)];_0x5d6f46===_0x195720[_0x5a32ad(0x162)][_0x5a32ad(0x2ef)]&&this[_0x5a32ad(0x3c1)](_0x5a7766),_0x5d6f46===_0x195720[_0x5a32ad(0x162)]['USERS_LEAVE']&&this[_0x5a32ad(0x3b6)](_0x5a7766);}),this['disposeWithMe'](this['_commandService'][_0x59c0c9(0x10b)](_0xd377e7=>{const _0x289969=_0x59c0c9,_0x574eff=_0xd377e7[_0x289969(0x1bb)];_0x574eff!=null&&this[_0x289969(0x1e9)]&&_0xd377e7['id']===_0x9d8fba[_0x289969(0x37e)]['id']&&_0x574eff[_0x289969(0x2f4)]===this[_0x289969(0x153)]&&_0x574eff[_0x289969(0x135)]===!0x1&&_0x574eff['ranges']['length']>0x0&&this[_0x289969(0x1e7)](_0x574eff[_0x289969(0x3b4)]);})),this[_0x59c0c9(0x2f3)][_0x59c0c9(0x150)][_0x59c0c9(0x138)](_0x3c46fe['takeUntil'](this[_0x59c0c9(0x364)]))['subscribe'](_0x3fa278=>{const _0x4d9805=_0x59c0c9;if((_0x3fa278==null?void 0x0:_0x3fa278[_0x4d9805(0x153)])!==this[_0x4d9805(0x153)])return;const _0x2899d5={'eventID':_0x195720[_0x4d9805(0x162)][_0x4d9805(0x2ef)],'data':_0x3fa278};this[_0x4d9805(0x3c1)](_0x2899d5);}),this[_0x59c0c9(0x168)](this['_commandService'][_0x59c0c9(0x10b)](_0x2a5c5b=>{const _0x275ad4=_0x59c0c9;if(_0x2a5c5b['params']==null)return;const _0x35d9c1=_0x2a5c5b[_0x275ad4(0x1bb)];if(_0x2a5c5b['id']!==_0x9d8fba[_0x275ad4(0x266)]['id']||_0x35d9c1[_0x275ad4(0x2f4)]!==this[_0x275ad4(0x153)])return;const _0x14ef4e={'id':_0x275ad4(0x30f),'params':_0x35d9c1},_0x4c13d1=this[_0x275ad4(0x20a)];for(const [_0x82c31f,_0xcd60a3]of _0x4c13d1){const _0x25ab41={'id':_0x275ad4(0x30f),'params':{'unitId':this[_0x275ad4(0x153)],'actions':null,'textRanges':_0xcd60a3[_0x275ad4(0x3b4)]}},_0x2a45a4=this[_0x275ad4(0x20c)]['transformMutation'](_0x14ef4e,_0x25ab41,!0x1);if(_0x195720['isTransformMutationFailure'](_0x2a45a4))throw _0x2a45a4['error'];_0x4c13d1['set'](_0x82c31f,{..._0xcd60a3,'ranges':_0x2a45a4[_0x275ad4(0x3b8)]['params'][_0x275ad4(0x12d)]});}queueMicrotask(()=>{const _0x312981=_0x275ad4;this[_0x312981(0xd9)][_0x312981(0x1fe)](_0x4c13d1);});})));}[_0x3db800(0x3c1)](_0x292520){const _0x1b300e=_0x3db800;var _0x1f92fa,_0x31eed0;const {memberID:_0x2b7e8f,selection:_0x42d366}=_0x292520[_0x1b300e(0x21a)],_0x943610=_0x347a9b(_0x42d366),_0x4bcfdb=(_0x31eed0=(_0x1f92fa=this[_0x1b300e(0x221)]['getMember'](this[_0x1b300e(0x153)],_0x2b7e8f))==null?void 0x0:_0x1f92fa[_0x1b300e(0x211)])!=null?_0x31eed0:_0x1b300e(0x388),_0x5db8d6={'color':this['_colorAssignService'][_0x1b300e(0x38e)](_0x2b7e8f),'name':_0x4bcfdb,'ranges':_0x943610},_0x3e4485=this[_0x1b300e(0x20a)];_0x3e4485[_0x1b300e(0x10c)](_0x2b7e8f,_0x5db8d6),this[_0x1b300e(0xd9)][_0x1b300e(0x1fe)](_0x3e4485);}[_0x3db800(0x3b6)](_0x1f7056){const _0x38347e=_0x3db800,{memberID:_0x4472cd}=_0x1f7056['data'],_0x4356f0=this['cursorInfo'];_0x4356f0[_0x38347e(0xd6)](_0x4472cd),this[_0x38347e(0xd9)][_0x38347e(0x1fe)](_0x4356f0);}[_0x3db800(0x390)](){const _0x64bec9=_0x3db800;var _0x10ece4;if(this[_0x64bec9(0x1e9)]=!0x0,((_0x10ece4=this['_univerInstanceService'][_0x64bec9(0x36b)]())==null?void 0x0:_0x10ece4['getUnitId']())!==this['unitID'])return;const _0x12000a=this[_0x64bec9(0xed)][_0x64bec9(0x31c)](_0x9d8fba['DocSelectionManagerService'])[_0x64bec9(0x260)]();Array[_0x64bec9(0x3a1)](_0x12000a)&&_0x12000a[_0x64bec9(0x165)]>0x0&&this[_0x64bec9(0x1e7)](_0x12000a);}['_toggleOffline'](){const _0x1bfce3=_0x3db800;this[_0x1bfce3(0x1e9)]=!0x1;}};_0x17b314=_0x4dd272([_0x1da84f(0x2,_0x5721e1[_0x3db800(0x181)](_0x5721e1[_0x3db800(0x1da)])),_0x1da84f(0x3,_0x5721e1[_0x3db800(0x181)](_0x2ab1f4)),_0x1da84f(0x4,_0x5721e1[_0x3db800(0x181)](_0x115633[_0x3db800(0x26f)])),_0x1da84f(0x5,_0x5721e1[_0x3db800(0x181)](_0x41a578)),_0x1da84f(0x6,_0x195720[_0x3db800(0x26e)]),_0x1da84f(0x7,_0x5721e1[_0x3db800(0x24f)]),_0x1da84f(0x8,_0x5721e1[_0x3db800(0x2e2)])],_0x17b314);var _0x1d6df8=Object[_0x3db800(0x2db)],_0x2c074e=(_0x58f69d,_0x4d0cc5,_0x453f0d,_0x2aa576)=>{const _0x35d1ff=_0x3db800;for(var _0xba4039=_0x2aa576>0x1?void 0x0:_0x2aa576?_0x1d6df8(_0x4d0cc5,_0x453f0d):_0x4d0cc5,_0x3b8060=_0x58f69d[_0x35d1ff(0x165)]-0x1,_0x5b3b84;_0x3b8060>=0x0;_0x3b8060--)(_0x5b3b84=_0x58f69d[_0x3b8060])&&(_0xba4039=_0x5b3b84(_0xba4039)||_0xba4039);return _0xba4039;},_0x5593a9=(_0x357e3a,_0x36081a)=>(_0x5ebfe9,_0x29297e)=>_0x36081a(_0x5ebfe9,_0x29297e,_0x357e3a);const _0x25eac8=0x12c,_0x11dea0=0x64,_0x1581da=()=>{let _0x483138=[],_0x29fe04=!0x1;return _0x328234=>{const _0x2070af=_0x1e97;_0x483138[_0x2070af(0x126)](_0x328234),_0x29fe04||(_0x29fe04=!0x0,setTimeout(()=>{const _0x58043d=_0x2070af;_0x483138[_0x58043d(0x331)](_0x106c6b=>_0x106c6b()),_0x483138=[],_0x29fe04=!0x1;}));};};let _0x1975a9=class extends _0x5721e1[_0x3db800(0x212)]{constructor(_0x1704c9,_0x16d174,_0x4334e7,_0x18fced,_0x1e7bef,_0x4f97c1,_0x39b515,_0xa5c83a){const _0x313839=_0x3db800;super(),_0x11fc09(this,_0x313839(0x1e9),!0x1),_0x11fc09(this,_0x313839(0x2e1),!0x1),_0x11fc09(this,_0x313839(0xd9),new _0x3c46fe['BehaviorSubject'](new Map())),_0x11fc09(this,_0x313839(0x127),this[_0x313839(0xd9)][_0x313839(0x302)]()),_0x11fc09(this,'_roomMembers$',new _0x3c46fe[(_0x313839(0x346))]([])),_0x11fc09(this,_0x313839(0x385),this['_roomMembers$'][_0x313839(0x138)](_0x3c46fe[_0x313839(0x201)](_0x25eac8))),_0x11fc09(this,_0x313839(0x1e7),_0x5721e1[_0x313839(0x25f)]((_0x42b357,_0x148293)=>{const _0x2e52a7=_0x313839,_0x4c3583={'eventID':_0x195720['CollaborationEvent'][_0x2e52a7(0x2ef)],'data':{'unitID':this[_0x2e52a7(0x153)],'memberID':this[_0x2e52a7(0x2df)][_0x2e52a7(0x359)](),'selection':_0x26196d[_0x2e52a7(0x33f)](_0x42b357,_0x148293[_0x2e52a7(0x182)])}};this[_0x2e52a7(0x2df)][_0x2e52a7(0x1e5)](_0x4c3583,this[_0x2e52a7(0x153)]);},_0x11dea0)),(this['unitID']=_0x1704c9,this[_0x313839(0x2df)]=_0x16d174,this[_0x313839(0xed)]=_0x4334e7,this[_0x313839(0x30c)]=_0x18fced,this[_0x313839(0x221)]=_0x1e7bef,this['_univerInstanceService']=_0x4f97c1,this[_0x313839(0x3a0)]=_0x39b515,this[_0x313839(0x22e)]=_0xa5c83a);}get['cursorInfo'](){const _0x565bbc=_0x3db800;return this[_0x565bbc(0xd9)]['getValue']();}get[_0x3db800(0x104)](){const _0x1cf5da=_0x3db800;return this['_roomMembers$'][_0x1cf5da(0x2f2)]();}[_0x3db800(0x37d)](){const _0x2d86e5=_0x3db800;super[_0x2d86e5(0x37d)](),this[_0x2d86e5(0xd9)][_0x2d86e5(0x1fe)](new Map()),this['_cursorInfo$'][_0x2d86e5(0x24d)](),this['_roomMembers$'][_0x2d86e5(0x1fe)]([]),this[_0x2d86e5(0x399)][_0x2d86e5(0x24d)]();}[_0x3db800(0x3b9)](){const _0x2a3755=_0x3db800;this['_init']||(this[_0x2a3755(0x2e1)]=!0x0,this[_0x2a3755(0x2df)][_0x2a3755(0xe0)][_0x2a3755(0x138)](_0x3c46fe[_0x2a3755(0x3cd)](this[_0x2a3755(0x364)]))['subscribe'](_0x43cbe8=>{const _0x2c33e1=_0x2a3755;_0x43cbe8===_0x115633[_0x2c33e1(0x218)][_0x2c33e1(0x38c)]?this[_0x2c33e1(0x390)]():this['_toggleOffline']();}),this[_0x2a3755(0x2df)]['event$'][_0x2a3755(0x138)](_0x3c46fe[_0x2a3755(0x3cd)](this[_0x2a3755(0x364)]))[_0x2a3755(0x2ce)](_0xd8d314=>{const _0x478eca=_0x2a3755,_0xb8408=_0xd8d314[_0x478eca(0x3a2)];_0xb8408===_0x195720[_0x478eca(0x162)][_0x478eca(0x2ef)]&&this[_0x478eca(0x3c1)](_0xd8d314),_0xb8408===_0x195720[_0x478eca(0x162)][_0x478eca(0x3c5)]&&this[_0x478eca(0x3b6)](_0xd8d314);}),this[_0x2a3755(0x139)](),this[_0x2a3755(0x168)](this[_0x2a3755(0x3a0)][_0x2a3755(0x10b)](_0x41a371=>{const _0x5d2cc8=_0x2a3755;if(this['_online']&&_0x41a371['id']===_0x52d373[_0x5d2cc8(0xfd)]['id']&&_0x41a371['params']['unitId']===this['unitID']){const _0x4742af=_0x41a371[_0x5d2cc8(0x1bb)];this[_0x5d2cc8(0x1e7)](_0x4742af[_0x5d2cc8(0x1b8)],_0x4742af[_0x5d2cc8(0x2c5)][0x0]);}})));}[_0x3db800(0x3c1)](_0x36ed03){const _0x48515d=_0x3db800;var _0x2480ef,_0x2c1fa9;const {memberID:_0x3d8f7b,selection:_0x42f84a}=_0x36ed03['data'],{sheetName:_0x5c399f,range:_0x21c26f}=_0x26196d['deserializeRangeWithSheet'](_0x42f84a),_0x31cd5a={'name':(_0x2c1fa9=(_0x2480ef=this[_0x48515d(0x221)]['getMember'](this['unitID'],_0x3d8f7b))==null?void 0x0:_0x2480ef[_0x48515d(0x211)])!=null?_0x2c1fa9:_0x48515d(0x388),'range':this[_0x48515d(0x3b2)](_0x5c399f,_0x21c26f),'sheetID':_0x5c399f,'color':this[_0x48515d(0x30c)][_0x48515d(0x38e)](_0x3d8f7b),'selection':_0x42f84a},_0x2bc08b=this[_0x48515d(0x20a)];_0x2bc08b['set'](_0x3d8f7b,_0x31cd5a),this[_0x48515d(0xd9)]['next'](_0x2bc08b);}['_onCursorDelete'](_0x5ea511){const _0x576158=_0x3db800,{memberID:_0x2ad3e6}=_0x5ea511[_0x576158(0x21a)],_0x2435fa=this[_0x576158(0x20a)];_0x2435fa[_0x576158(0xd6)](_0x2ad3e6),this[_0x576158(0xd9)]['next'](_0x2435fa);}['_getMergeRange'](_0x2cdeb4,_0x547add){const _0x3cb62c=_0x3db800;var _0x50c01a,_0x144c5f;const _0x3de154=(_0x144c5f=(_0x50c01a=this[_0x3cb62c(0x122)][_0x3cb62c(0x217)](this[_0x3cb62c(0x153)]))==null?void 0x0:_0x50c01a[_0x3cb62c(0x21f)](_0x2cdeb4))==null?void 0x0:_0x144c5f[_0x3cb62c(0x1fd)]();return(_0x3de154==null?void 0x0:_0x3de154[_0x3cb62c(0x1ea)](_0x5d2a83=>_0x5721e1[_0x3cb62c(0x130)]['contains'](_0x5d2a83,_0x547add)))||_0x547add;}['_onRefRangeChange'](){const _0xb632b4=_0x3db800,_0x5adf1d=new _0x5721e1[(_0xb632b4(0x3a9))](),_0xeb78db=_0x1581da(),_0x3566d4=()=>{const _0x5ecb96=_0xb632b4;_0x5adf1d['dispose']();const _0x47e6e5=(_0x3f20a3,_0x5c4742,_0x46847f,_0xa348cb)=>{const _0x3cb0ac=_0x1e97;let _0x454b18=[];switch(_0x3f20a3['id']){case _0x52d373[_0x3cb0ac(0xe2)][_0x3cb0ac(0x1d4)]:{_0x454b18=_0x52d373[_0x3cb0ac(0x2c6)](_0x3f20a3,_0xa348cb);break;}case _0x52d373[_0x3cb0ac(0xe2)]['DeleteRangeMoveUpCommandId']:{_0x454b18=_0x52d373[_0x3cb0ac(0x357)](_0x3f20a3,_0xa348cb);break;}case _0x52d373['EffectRefRangId'][_0x3cb0ac(0x2ac)]:{_0x454b18=_0x52d373[_0x3cb0ac(0x2d0)](_0x3f20a3,_0xa348cb);break;}case _0x52d373['EffectRefRangId'][_0x3cb0ac(0x132)]:{_0x454b18=_0x52d373[_0x3cb0ac(0x184)](_0x3f20a3,_0xa348cb);break;}case _0x52d373[_0x3cb0ac(0xe2)]['InsertRangeMoveRightCommandId']:{_0x454b18=_0x52d373[_0x3cb0ac(0x3cc)](_0x3f20a3,_0xa348cb);break;}case _0x52d373[_0x3cb0ac(0xe2)][_0x3cb0ac(0x107)]:{_0x454b18=_0x52d373[_0x3cb0ac(0x387)](_0x3f20a3,_0xa348cb);break;}case _0x52d373[_0x3cb0ac(0xe2)][_0x3cb0ac(0x19c)]:{_0x454b18=_0x52d373[_0x3cb0ac(0x1f5)](_0x3f20a3,_0xa348cb);break;}case _0x52d373[_0x3cb0ac(0xe2)][_0x3cb0ac(0xd3)]:{_0x454b18=_0x52d373['handleIRemoveCol'](_0x3f20a3,_0xa348cb);break;}case _0x52d373[_0x3cb0ac(0xe2)][_0x3cb0ac(0x21d)]:{_0x454b18=_0x52d373[_0x3cb0ac(0x250)](_0x3f20a3,_0xa348cb);break;}}const _0x1a9628=_0x52d373[_0x3cb0ac(0x319)](_0x454b18,_0xa348cb),_0x3d6e4c=this[_0x3cb0ac(0x20a)][_0x3cb0ac(0x31c)](_0x5c4742);if(_0x3d6e4c&&_0x1a9628){const _0x4d2425={..._0x3d6e4c,'range':_0x1a9628};this[_0x3cb0ac(0x20a)][_0x3cb0ac(0x10c)](_0x5c4742,_0x4d2425),_0xeb78db(()=>{const _0x1c3e34=_0x3cb0ac,_0x327e97=this[_0x1c3e34(0x22e)]['registerRefRange'](_0x1a9628,_0x4f174b=>(_0x327e97[_0x1c3e34(0x37d)](),_0x47e6e5(_0x4f174b,_0x5c4742,_0x46847f,_0x1a9628)));_0x5adf1d[_0x1c3e34(0x1dd)](_0x327e97);});}return{'redos':[],'undos':[]};};this[_0x5ecb96(0x20a)]['forEach']((_0x2865a4,_0x2ce038)=>{const _0x327f29=_0x5ecb96,{range:_0x7eb60b,sheetID:_0x363ec8}=_0x2865a4,_0x3b78d0=this[_0x327f29(0x22e)][_0x327f29(0x19f)](_0x7eb60b,_0x15f1ca=>(_0x3b78d0[_0x327f29(0x37d)](),_0x47e6e5(_0x15f1ca,_0x2ce038,_0x363ec8,_0x7eb60b)));_0x5adf1d[_0x327f29(0x1dd)](_0x3b78d0);});};this[_0xb632b4(0x168)](_0x5721e1['toDisposable'](this['_cursorInfo$'][_0xb632b4(0x2ce)](()=>{_0x3566d4();})));}['_toggleOnline'](){const _0x312b54=_0x3db800;var _0x4bc1e7,_0x1a04ea;if(this[_0x312b54(0x1e9)]=!0x0,((_0x4bc1e7=this[_0x312b54(0x122)]['getFocusedUnit']())==null?void 0x0:_0x4bc1e7['getUnitId']())!==this['unitID'])return;const _0x210c05=(_0x1a04ea=this['_injector'][_0x312b54(0x31c)](_0x52d373[_0x312b54(0x342)])[_0x312b54(0x30d)]())==null?void 0x0:_0x1a04ea[0x0],_0x2cc825=this[_0x312b54(0x122)][_0x312b54(0x18b)](_0x5721e1[_0x312b54(0x1a7)][_0x312b54(0x1a3)])[_0x312b54(0x29c)]();_0x210c05&&_0x2cc825&&this[_0x312b54(0x1e7)](_0x2cc825[_0x312b54(0x161)](),_0x210c05);}[_0x3db800(0x263)](){const _0x1bbb0d=_0x3db800;this[_0x1bbb0d(0x1e9)]=!0x1;}};_0x1975a9=_0x2c074e([_0x5593a9(0x2,_0x5721e1[_0x3db800(0x181)](_0x5721e1[_0x3db800(0x1da)])),_0x5593a9(0x3,_0x5721e1[_0x3db800(0x181)](_0x2ab1f4)),_0x5593a9(0x4,_0x5721e1['Inject'](_0x115633[_0x3db800(0x26f)])),_0x5593a9(0x5,_0x5721e1[_0x3db800(0x24f)]),_0x5593a9(0x6,_0x5721e1[_0x3db800(0x2e2)]),_0x5593a9(0x7,_0x5721e1[_0x3db800(0x181)](_0x52d373[_0x3db800(0x21e)]))],_0x1975a9);var _0x184d02=Object[_0x3db800(0x2db)],_0x344c9c=(_0x4d6c88,_0x3a76ca,_0x1e17d9,_0x565b7f)=>{for(var _0x22af3e=_0x565b7f>0x1?void 0x0:_0x565b7f?_0x184d02(_0x3a76ca,_0x1e17d9):_0x3a76ca,_0x16c446=_0x4d6c88['length']-0x1,_0x51cda2;_0x16c446>=0x0;_0x16c446--)(_0x51cda2=_0x4d6c88[_0x16c446])&&(_0x22af3e=_0x51cda2(_0x22af3e)||_0x22af3e);return _0x22af3e;},_0x2efdf3=(_0x1a54bb,_0x562bb7)=>(_0x4d7788,_0x14adf1)=>_0x562bb7(_0x4d7788,_0x14adf1,_0x1a54bb);let _0x192c77=class extends _0x5721e1[_0x3db800(0x212)]{constructor(_0x1cb8c9,_0x1acfa0,_0x2ab708){const _0x272f38=_0x3db800;super(),_0x11fc09(this,_0x272f38(0x1a1),new Map()),_0x11fc09(this,'_entityInit$',new _0x3c46fe['Subject']()),(this[_0x272f38(0x122)]=_0x1cb8c9,this[_0x272f38(0xed)]=_0x1acfa0,this[_0x272f38(0xce)]=_0x2ab708,this[_0x272f38(0x2e1)]());}[_0x3db800(0x37d)](){const _0x5c16a0=_0x3db800;super[_0x5c16a0(0x37d)](),this[_0x5c16a0(0x340)][_0x5c16a0(0x24d)](),this[_0x5c16a0(0x1a1)][_0x5c16a0(0x331)](_0x274cdd=>_0x274cdd['dispose']());}[_0x3db800(0x37b)](_0x2f74f1){const _0x4520f4=_0x3db800;return this['_entities'][_0x4520f4(0x101)](_0x2f74f1)?this['_entities'][_0x4520f4(0x31c)](_0x2f74f1)[_0x4520f4(0x127)]:this[_0x4520f4(0x340)][_0x4520f4(0x138)](_0x3c46fe[_0x4520f4(0x155)](_0x2204d1=>_0x2204d1[_0x4520f4(0x153)]===_0x2f74f1),_0x3c46fe[_0x4520f4(0x35b)](_0x12ba5e=>_0x12ba5e[_0x4520f4(0x127)]));}['_init'](){const _0x5da905=_0x3db800;this[_0x5da905(0x122)][_0x5da905(0xfb)](_0x5721e1[_0x5da905(0x1a7)][_0x5da905(0x1a3)])[_0x5da905(0x138)](_0x3c46fe[_0x5da905(0x3cd)](this[_0x5da905(0x364)]))[_0x5da905(0x2ce)](async _0xd4405e=>{const _0x1ce0d3=_0x5da905,_0x19fbe0=_0xd4405e[_0x1ce0d3(0x38a)](),_0x1a4535=await this[_0x1ce0d3(0x323)](_0x19fbe0);this['_entityInit$'][_0x1ce0d3(0x1fe)](_0x1a4535),this['_entities'][_0x1ce0d3(0x10c)](_0x19fbe0,_0x1a4535);}),this[_0x5da905(0x122)][_0x5da905(0xfb)](_0x5721e1[_0x5da905(0x1a7)]['UNIVER_DOC'])[_0x5da905(0x138)](_0x3c46fe['takeUntil'](this['dispose$']))['pipe'](_0x3c46fe[_0x5da905(0x155)](_0x5b6590=>!_0x5b6590[_0x5da905(0x38a)]()[_0x5da905(0x276)]('__')))[_0x5da905(0x2ce)](async _0x274cee=>{const _0x2fd37a=_0x5da905,_0x58cbc2=_0x274cee[_0x2fd37a(0x38a)](),_0x33f3ac=await this[_0x2fd37a(0x31b)](_0x58cbc2);this[_0x2fd37a(0x340)][_0x2fd37a(0x1fe)](_0x33f3ac),this['_entities'][_0x2fd37a(0x10c)](_0x58cbc2,_0x33f3ac);}),_0x3c46fe[_0x5da905(0x18e)](this[_0x5da905(0x122)]['getTypeOfUnitDisposed$'](_0x5721e1[_0x5da905(0x1a7)]['UNIVER_DOC']),this[_0x5da905(0x122)][_0x5da905(0x28c)](_0x5721e1[_0x5da905(0x1a7)]['UNIVER_SHEET']))['pipe'](_0x3c46fe['takeUntil'](this[_0x5da905(0x364)]))[_0x5da905(0x2ce)](_0x4e948f=>{const _0x4ad75f=_0x5da905,_0x54c0f0=_0x4e948f[_0x4ad75f(0x38a)](),_0x4f875d=this[_0x4ad75f(0x1a1)]['get'](_0x54c0f0);_0x4f875d&&(_0x4f875d['dispose'](),this[_0x4ad75f(0x1a1)]['delete'](_0x54c0f0));});}async[_0x3db800(0x323)](_0x225641){const _0x4e466d=_0x3db800,_0x5a8548=await this[_0x4e466d(0xce)][_0x4e466d(0x2ea)](_0x225641),_0x5821c4=this[_0x4e466d(0xed)]['createInstance'](_0x1975a9,_0x225641,_0x5a8548);return _0x5821c4[_0x4e466d(0x3b9)](),_0x5821c4;}async[_0x3db800(0x31b)](_0x348379){const _0x34e7cf=_0x3db800,_0x1325d2=await this[_0x34e7cf(0xce)][_0x34e7cf(0x2ea)](_0x348379),_0x2382f4=this[_0x34e7cf(0xed)][_0x34e7cf(0x290)](_0x17b314,_0x348379,_0x1325d2);return _0x2382f4[_0x34e7cf(0x3b9)](),_0x2382f4;}};_0x192c77=_0x344c9c([_0x2efdf3(0x0,_0x5721e1[_0x3db800(0x24f)]),_0x2efdf3(0x1,_0x5721e1[_0x3db800(0x181)](_0x5721e1[_0x3db800(0x1da)])),_0x2efdf3(0x2,_0x5721e1[_0x3db800(0x181)](_0x115633[_0x3db800(0x28f)]))],_0x192c77);const _0x13bbfe=0x14,_0x23b09f=0xc8,_0x1c8404=0x4,_0x2238da=0x5;function _0x23c7c3(_0x21d869,_0x3ef75c){const _0x46849a=_0x3db800;let {radius:_0x2a2c70,width:_0x3e190f,height:_0x25aa87}=_0x3ef75c;_0x2a2c70=_0x2a2c70!=null?_0x2a2c70:0x0,_0x3e190f=_0x3e190f!=null?_0x3e190f:0x1e,_0x25aa87=_0x25aa87!=null?_0x25aa87:0x1e;let _0x104fe8=0x0,_0x28d464=0x0,_0x3978e2=0x0;_0x104fe8=_0x28d464=_0x3978e2=Math['min'](_0x2a2c70,_0x3e190f/0x2,_0x25aa87/0x2),_0x21d869[_0x46849a(0x2dc)](),_0x21d869['moveTo'](_0x104fe8,0x0),_0x21d869['lineTo'](_0x3e190f-_0x28d464,0x0),_0x21d869['arc'](_0x3e190f-_0x28d464,_0x28d464,_0x28d464,Math['PI']*0x3/0x2,0x0,!0x1),_0x21d869[_0x46849a(0x30e)](_0x3e190f,_0x25aa87-_0x3978e2),_0x21d869[_0x46849a(0x183)](_0x3e190f-_0x3978e2,_0x25aa87-_0x3978e2,_0x3978e2,0x0,Math['PI']/0x2,!0x1),_0x21d869[_0x46849a(0x30e)](0x0,_0x25aa87),_0x21d869[_0x46849a(0x30e)](0x0,_0x104fe8),_0x21d869[_0x46849a(0x183)](_0x104fe8,_0x104fe8,_0x104fe8,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x21d869[_0x46849a(0x23c)](),_0x3ef75c[_0x46849a(0x147)]&&(_0x21d869[_0x46849a(0x1bd)](),_0x21d869[_0x46849a(0x2e0)]=_0x3ef75c[_0x46849a(0x147)],_0x3ef75c['fillRule']===_0x46849a(0x301)?_0x21d869['fill'](_0x46849a(0x301)):_0x21d869['fill'](),_0x21d869[_0x46849a(0x241)]());}class _0x2ecb3f extends _0x585793[_0x3db800(0x31e)]{constructor(_0x2755a9,_0x5818fa){const _0x2598b7=_0x3db800;super(_0x2755a9,_0x5818fa),_0x11fc09(this,'color'),_0x11fc09(this,_0x2598b7(0x115)),(this['color']=_0x5818fa==null?void 0x0:_0x5818fa[_0x2598b7(0x144)],this[_0x2598b7(0x115)]=_0x5818fa==null?void 0x0:_0x5818fa['text']);}static[_0x3db800(0x240)](_0x4bf4f1,_0x16a2c2){const _0x409f64=_0x3db800,{text:_0x31b684,color:_0x1dc66b}=_0x16a2c2;_0x4bf4f1['save'](),_0x4bf4f1[_0x409f64(0x358)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x90ce90=_0x4bf4f1[_0x409f64(0x395)](_0x31b684)[_0x409f64(0x2f5)],_0x454d41=Math['min'](_0x90ce90+0x2*_0x1c8404,_0x23b09f);_0x23c7c3(_0x4bf4f1,{'height':_0x13bbfe,'radius':0x4,'width':_0x454d41,'fill':_0x1dc66b}),_0x4bf4f1[_0x409f64(0x2e0)]=_0x409f64(0x3be);const _0x163cf2=_0x1c8404,_0xb4aa32=_0x13bbfe-_0x2238da,_0x4c0ed1=_0x23b09f-0x2*_0x1c8404;if(_0x90ce90>_0x4c0ed1){let _0x148f10='',_0x563813=0x0;for(const _0x1dd8ec of _0x31b684){const _0x37ea9a=_0x4bf4f1['measureText'](_0x1dd8ec)[_0x409f64(0x2f5)];if(_0x563813+_0x37ea9a<=_0x4c0ed1-_0x4bf4f1[_0x409f64(0x395)](_0x409f64(0xf0))[_0x409f64(0x2f5)])_0x148f10+=_0x1dd8ec,_0x563813+=_0x37ea9a;else{_0x148f10+=_0x409f64(0xf0);break;}}_0x4bf4f1[_0x409f64(0x23e)](_0x148f10,_0x163cf2,_0xb4aa32);}else _0x4bf4f1[_0x409f64(0x23e)](_0x31b684,_0x163cf2,_0xb4aa32);_0x4bf4f1[_0x409f64(0x241)]();}[_0x3db800(0x171)](_0xd1c756){const _0x196a01=_0x3db800;_0x2ecb3f[_0x196a01(0x240)](_0xd1c756,this);}}const _0x56390a=_0x3db800(0x160),_0x2e46c4=_0x3db800(0x349),_0x2d0d28='collab-rect-range-',_0x5e81ff=0x6,_0x208e40=1.5,_0x3d2216=0x4,_0x3ab1fc=1.5,_0x4964d8=_0x3db800(0x224);class _0x4e8ee4{constructor(_0x4c4dca,_0x5b6e92,_0x20997a,_0x50f51c){const _0x4a970f=_0x3db800;_0x11fc09(this,_0x4a970f(0x334),[]),_0x11fc09(this,_0x4a970f(0x2fd),null),_0x11fc09(this,_0x4a970f(0xda),null),_0x11fc09(this,'_anchorDot',null),_0x11fc09(this,_0x4a970f(0x1d8),null),_0x11fc09(this,_0x4a970f(0x178),null),(this[_0x4a970f(0x10e)]=_0x4c4dca,this[_0x4a970f(0x2e3)]=_0x5b6e92,this[_0x4a970f(0x2b8)]=_0x20997a,this[_0x4a970f(0x332)]=_0x50f51c,this['_render']());}set[_0x3db800(0x32a)](_0x5d3fa3){const _0x5024e0=_0x3db800;_0x5d3fa3?(this[_0x5024e0(0x2d3)]&&this['_anchorDot'][_0x5024e0(0x234)](),this['_textBubble']&&this[_0x5024e0(0xda)]['show']()):(this[_0x5024e0(0x2d3)]&&this[_0x5024e0(0x2d3)][_0x5024e0(0x2b1)](),this[_0x5024e0(0xda)]&&this[_0x5024e0(0xda)]['hide']());}['dispose'](){const _0x3465ab=_0x3db800;for(const _0x447c78 of this[_0x3465ab(0x334)])_0x447c78['dispose']();this[_0x3465ab(0xda)]&&this[_0x3465ab(0xda)]['dispose'](),this['_anchorDot']&&this[_0x3465ab(0x2d3)][_0x3465ab(0x37d)](),this[_0x3465ab(0x2fd)]&&this[_0x3465ab(0x2fd)][_0x3465ab(0x37d)](),this[_0x3465ab(0x178)]&&this[_0x3465ab(0x178)]();}[_0x3db800(0x10d)](){const _0x34d012=_0x3db800;var _0x5b6cbb;const {_docSkeleton:_0xe60411,_document:_0x18710e}=this,{color:_0x2f44b1,name:_0x4561f4,ranges:_0x255ad1}=this[_0x34d012(0x10e)],_0x37472e=_0x18710e[_0x34d012(0x166)](),{docsLeft:_0x15611a,docsTop:_0x12f0fa}=_0x37472e,_0x5508c4=new _0x45f825['NodePositionConvertToCursor'](_0x37472e,_0xe60411);for(const {startOffset:_0x5a9c6e,endOffset:_0x481f76,rangeType:_0x4da681,segmentId:_0x1b4349,segmentPage:_0x5f2905,collapsed:_0x3b9bd9,isActive:_0x565fd4}of _0x255ad1){const _0x3be57d=_0xe60411[_0x34d012(0x251)](_0x5a9c6e,!0x0,_0x1b4349,_0x5f2905);let _0x1673c7=_0xe60411[_0x34d012(0x251)](_0x481f76,!0x0,_0x1b4349,_0x5f2905);if(_0x1673c7==null&&(_0x1673c7=_0xe60411['findNodePositionByCharIndex'](_0x481f76-0x1,!0x1,_0x1b4349,_0x5f2905)),_0x565fd4){const {contentBoxPointGroup:_0x58eca2}=_0x5508c4[_0x34d012(0x230)](_0x1673c7,_0x1673c7);if(_0x58eca2['length']===0x0)continue;this[_0x34d012(0x3bc)](_0x2f44b1,_0x58eca2,_0x15611a,_0x12f0fa,_0x4561f4),this[_0x34d012(0x178)]=this[_0x34d012(0x3b7)]();}if(_0x3be57d&&_0x1673c7){if(_0x4da681===_0x5721e1['DOC_RANGE_TYPE'][_0x34d012(0x123)]){const _0x3aec58=new _0x45f825[(_0x34d012(0x1e3))](_0x37472e,_0xe60411),{pointGroup:_0xc48a1a}=(_0x5b6cbb=_0x3aec58[_0x34d012(0x230)](_0x3be57d,_0x1673c7))!=null?_0x5b6cbb:{};if(_0xc48a1a==null||_0xc48a1a['length']===0x0)continue;this[_0x34d012(0x2bd)](_0x2f44b1,_0xc48a1a,_0x15611a,_0x12f0fa);}else{if(!_0x3b9bd9){const {borderBoxPointGroup:_0x5d2306}=_0x5508c4[_0x34d012(0x230)](_0x3be57d,_0x1673c7);if(_0x5d2306[_0x34d012(0x165)]===0x0)continue;this[_0x34d012(0x354)](_0x2f44b1,_0x5d2306,_0x15611a,_0x12f0fa);}}}}}[_0x3db800(0x3bc)](_0x46c0e0,_0x45cf13,_0x2aed44,_0x5bcfef,_0x175192){const _0x1200b0=_0x3db800,_0xfea043=this['_getAnchorBounding'](_0x45cf13),{left:_0x11cda9,top:_0x38d9b0,height:_0x1fc44a}=_0xfea043,_0x25f85a=this[_0x1200b0(0x2ec)](),_0x1bbe84=_0x3ab1fc/_0x25f85a,_0x36d459=new _0x585793[(_0x1200b0(0x1ce))](_0x56390a+_0x5721e1[_0x1200b0(0x336)](_0x5e81ff),{'left':_0x11cda9+_0x2aed44-_0x1bbe84,'top':_0x38d9b0+_0x5bcfef,'height':_0x1fc44a,'width':_0x208e40,'fill':_0x46c0e0||_0x585793[_0x1200b0(0x1a4)](_0x5721e1[_0x1200b0(0x39f)][_0x1200b0(0x313)],0x0),'strokeWidth':_0x1bbe84,'stroke':_0x4964d8,'evented':!0x0});this[_0x1200b0(0x2fd)]=_0x36d459,this[_0x1200b0(0x2e3)][_0x1200b0(0x1cb)](_0x36d459,_0x45f825[_0x1200b0(0x1ff)]);const _0x635cb2=new _0x585793[(_0x1200b0(0x1ce))](_0x56390a+_0x5721e1[_0x1200b0(0x336)](_0x5e81ff),{'left':_0x11cda9+_0x2aed44-_0x1bbe84,'top':_0x38d9b0+_0x5bcfef-_0x3d2216/0x2,'height':_0x3d2216,'width':_0x3d2216,'fill':_0x46c0e0||_0x585793[_0x1200b0(0x1a4)](_0x5721e1[_0x1200b0(0x39f)]['black'],0x0),'strokeWidth':0x0,'stroke':_0x46c0e0||_0x585793['getColor'](_0x5721e1[_0x1200b0(0x39f)]['black'],0x0),'evented':!0x1});this[_0x1200b0(0x2d3)]=_0x635cb2,this['_scene'][_0x1200b0(0x1cb)](_0x635cb2,_0x45f825[_0x1200b0(0x1ff)]);const _0x3b5636=new _0x2ecb3f(_0x56390a+_0x5721e1['generateRandomId'](_0x5e81ff),{'left':_0x11cda9+_0x2aed44-_0x1bbe84,'top':_0x38d9b0+_0x5bcfef-_0x13bbfe,'text':_0x175192,'color':_0x46c0e0});this[_0x1200b0(0xda)]=_0x3b5636,this['_scene'][_0x1200b0(0x1cb)](_0x3b5636,_0x45f825[_0x1200b0(0x1ff)]),this['_hover']=!0x1;}['_handleHover'](){const _0xbeee69=_0x3db800,_0x166c05=this[_0xbeee69(0x2fd)][_0xbeee69(0x2ca)][_0xbeee69(0x288)](()=>{const _0x1506db=_0xbeee69;this[_0x1506db(0x32a)]=!0x0;}),_0x4d039f=this[_0xbeee69(0x2fd)][_0xbeee69(0x146)][_0xbeee69(0x288)](()=>{const _0x174f89=_0xbeee69;this['_hideTimer']&&clearTimeout(this['_hideTimer']),this[_0x174f89(0x1d8)]=setTimeout(()=>{const _0x5e7c7c=_0x174f89;this[_0x5e7c7c(0x32a)]=!0x1;},0x7d0);});return()=>{const _0x3492b3=_0xbeee69;_0x166c05[_0x3492b3(0x1ee)](),_0x4d039f[_0x3492b3(0x1ee)]();};}[_0x3db800(0x354)](_0x3d2a6c,_0x36e702,_0xec3806,_0x4e6873){const _0x1fcce3=_0x3db800,_0x7bd8b3=new _0x5721e1[(_0x1fcce3(0x233))](_0x3d2a6c)[_0x1fcce3(0x38f)](0.2)[_0x1fcce3(0x2c8)](),_0x57cc10=new _0x585793[(_0x1fcce3(0x1b0))](_0x2e46c4+_0x5721e1[_0x1fcce3(0x336)](_0x5e81ff),{'pointsGroup':_0x36e702,'fill':_0x7bd8b3||_0x585793[_0x1fcce3(0x1a4)](_0x5721e1['COLORS']['black'],0.2),'left':_0xec3806,'top':_0x4e6873,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x1fcce3(0x334)][_0x1fcce3(0x126)](_0x57cc10),this[_0x1fcce3(0x2e3)][_0x1fcce3(0x1cb)](_0x57cc10,_0x45f825[_0x1fcce3(0x1ff)]);}[_0x3db800(0x2bd)](_0x4e66ae,_0x1ef41e,_0x327e99,_0x1154b8){const _0x22a547=_0x3db800,_0x27bdba=new _0x5721e1[(_0x22a547(0x233))](_0x4e66ae)[_0x22a547(0x38f)](0.2)[_0x22a547(0x2c8)](),_0x4ad661=new _0x585793[(_0x22a547(0x1b0))](_0x2d0d28+_0x5721e1[_0x22a547(0x336)](_0x5e81ff),{'pointsGroup':_0x1ef41e,'fill':_0x27bdba||_0x585793[_0x22a547(0x1a4)](_0x5721e1[_0x22a547(0x39f)][_0x22a547(0x313)],0.2),'left':_0x327e99,'top':_0x1154b8,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x22a547(0x334)]['push'](_0x4ad661),this[_0x22a547(0x2e3)][_0x22a547(0x1cb)](_0x4ad661,_0x45f825[_0x22a547(0x1ff)]);}[_0x3db800(0x148)](_0x51a384){const _0x103db7=_0x51a384[0x0],_0xbd9f5d=_0x103db7[0x0],_0x134770=_0x103db7[0x2],{x:_0x44a4a1,y:_0x44eaa8}=_0xbd9f5d,{x:_0x1572bf,y:_0x16a5e1}=_0x134770;return{'left':_0x44a4a1,'top':_0x44eaa8,'width':_0x1572bf-_0x44a4a1,'height':_0x16a5e1-_0x44eaa8};}[_0x3db800(0x2ec)](){const _0x597141=_0x3db800,{scaleX:_0x4300b5,scaleY:_0x4d5f97}=this['_scene'][_0x597141(0x2a5)]();return Math['max'](_0x4300b5,_0x4d5f97);}}var _0x50487b=Object[_0x3db800(0x2db)],_0x318f0b=(_0x49c5ad,_0x4c29b9,_0x4933be,_0x3c0b46)=>{const _0x5797d1=_0x3db800;for(var _0x27c55c=_0x3c0b46>0x1?void 0x0:_0x3c0b46?_0x50487b(_0x4c29b9,_0x4933be):_0x4c29b9,_0x3b3a9a=_0x49c5ad[_0x5797d1(0x165)]-0x1,_0x1c3733;_0x3b3a9a>=0x0;_0x3b3a9a--)(_0x1c3733=_0x49c5ad[_0x3b3a9a])&&(_0x27c55c=_0x1c3733(_0x27c55c)||_0x27c55c);return _0x27c55c;},_0x29441e=(_0x634ee5,_0x4b7aa7)=>(_0x4efbc9,_0x273293)=>_0x4b7aa7(_0x4efbc9,_0x273293,_0x634ee5);let _0x1be4c4=class extends _0x5721e1['RxDisposable']{constructor(_0x1ee370,_0x4fc7b3,_0x54bf45,_0x45e642,_0x56904d){const _0x20e06f=_0x3db800;super(),_0x11fc09(this,_0x20e06f(0x137),[]),_0x11fc09(this,_0x20e06f(0x2a9),[]),(this[_0x20e06f(0x247)]=_0x1ee370,this[_0x20e06f(0xe7)]=_0x4fc7b3,this[_0x20e06f(0x1a9)]=_0x54bf45,this[_0x20e06f(0x3a0)]=_0x45e642,this[_0x20e06f(0x12b)]=_0x56904d,this[_0x20e06f(0x2e1)]());}[_0x3db800(0x2e1)](){const _0x54cb7d=_0x3db800,_0x55d3b8=this[_0x54cb7d(0x247)][_0x54cb7d(0x2f4)],_0x55d4af=this[_0x54cb7d(0xe7)];this[_0x54cb7d(0x168)](_0x3c46fe['combineLatest']([this[_0x54cb7d(0x1a9)][_0x54cb7d(0x37b)](_0x55d3b8),this[_0x54cb7d(0x12b)][_0x54cb7d(0x328)]])[_0x54cb7d(0x138)](_0x3951af[_0x54cb7d(0x209)](([_0x5bc271,_0x3376e6])=>({'skeleton':_0x55d4af[_0x54cb7d(0x1cc)](),'cursors':[..._0x5bc271[_0x54cb7d(0x39e)]()][_0x54cb7d(0x199)](_0x33ad4d=>({..._0x33ad4d,'color':this[_0x54cb7d(0x12b)][_0x54cb7d(0x11e)](_0x33ad4d[_0x54cb7d(0x144)])}))})))[_0x54cb7d(0x2ce)](_0x45a66b=>{const _0x311237=_0x54cb7d;if(this[_0x311237(0x2af)](),_0x45a66b){const {skeleton:_0x33a19c,cursors:_0x10114f}=_0x45a66b;this[_0x311237(0x27f)](_0x33a19c,_0x10114f);}})),this[_0x54cb7d(0x121)](),this[_0x54cb7d(0x248)]();}[_0x3db800(0x27f)](_0x35a2b5,_0x1926ab){const _0x1a3402=_0x3db800,{scene:_0x407c03,mainComponent:_0x531260}=this[_0x1a3402(0x247)],_0x2e32a9=_0x1926ab[_0x1a3402(0x209)](_0x59c8da=>new _0x4e8ee4(_0x59c8da,_0x407c03,_0x35a2b5,_0x531260));this[_0x1a3402(0x137)]=_0x2e32a9,this[_0x1a3402(0x2a9)]=_0x1926ab;}[_0x3db800(0x1bc)](){const _0x528b78=_0x3db800;this[_0x528b78(0x2af)]();const {scene:_0x25dd6c,mainComponent:_0x28261f}=this[_0x528b78(0x247)],_0x48b8fb=this[_0x528b78(0xe7)][_0x528b78(0x1cc)](),_0x16e96a=this['_cursors'][_0x528b78(0x209)](_0x29c9bc=>new _0x4e8ee4(_0x29c9bc,_0x25dd6c,_0x48b8fb,_0x28261f));this[_0x528b78(0x137)]=_0x16e96a;}[_0x3db800(0x2af)](){const _0x51c834=_0x3db800;this[_0x51c834(0x137)][_0x51c834(0x331)](_0x16369d=>_0x16369d[_0x51c834(0x37d)]()),this[_0x51c834(0x137)]=[];}[_0x3db800(0x248)](){const _0x1e4a03=_0x3db800,_0x2b0d42=[_0x45f825[_0x1e4a03(0x17b)]['id']];this[_0x1e4a03(0x168)](this[_0x1e4a03(0x3a0)][_0x1e4a03(0x10b)](_0x3cd02f=>{const _0x37f90f=_0x1e4a03;_0x2b0d42['includes'](_0x3cd02f['id'])&&_0x3cd02f['params'][_0x37f90f(0x2f4)]===this[_0x37f90f(0x247)][_0x37f90f(0x2f4)]&&this['_refreshCollabCursors']();}));}['_initResize'](){const _0x5d631b=_0x3db800;this['disposeWithMe'](_0x5721e1[_0x5d631b(0x3a5)](this['_context'][_0x5d631b(0x367)][_0x5d631b(0x292)])[_0x5d631b(0x138)](_0x3951af[_0x5d631b(0x155)](_0x19a786=>_0x19a786[_0x5d631b(0x210)]===_0x585793[_0x5d631b(0x389)][_0x5d631b(0x382)]),_0x3951af[_0x5d631b(0x157)](0x10))[_0x5d631b(0x2ce)](()=>{const _0xd8dcbf=_0x5d631b;this[_0xd8dcbf(0x1bc)]();}));}};_0x1be4c4=_0x318f0b([_0x29441e(0x1,_0x5721e1[_0x3db800(0x181)](_0x9d8fba[_0x3db800(0x109)])),_0x29441e(0x2,_0x5721e1['Inject'](_0x192c77)),_0x29441e(0x3,_0x5721e1[_0x3db800(0x2e2)]),_0x29441e(0x4,_0x5721e1[_0x3db800(0x181)](_0x5721e1[_0x3db800(0x15a)]))],_0x1be4c4);const _0x145431=0x1,_0x543250=1.5;class _0x3d98fb extends _0x585793[_0x3db800(0x31e)]{constructor(_0x572efa,_0x330ed5){const _0x2844f7=_0x3db800;super(_0x572efa,_0x330ed5),_0x11fc09(this,_0x2844f7(0x21c)),_0x11fc09(this,_0x2844f7(0x1dc),!0x1),_0x11fc09(this,_0x2844f7(0x238)),_0x11fc09(this,'_name',''),_0x11fc09(this,_0x2844f7(0x112),_0x2844f7(0x1b9)),_0x11fc09(this,_0x2844f7(0x2bb)),(_0x330ed5&&this['setShapeProps'](_0x330ed5),this[_0x2844f7(0x2ca)]['subscribeEvent'](()=>this[_0x2844f7(0x2d5)]({'hovered':!0x0})),this[_0x2844f7(0x146)][_0x2844f7(0x288)](()=>this[_0x2844f7(0x2d5)]({'hovered':!0x1})));}[_0x3db800(0x2d5)](_0x57cc4e){const _0x4093fd=_0x3db800;var _0x48cf40,_0x45a4df,_0x205dd0,_0x1ddd3d,_0x262d46,_0x271c4a;this[_0x4093fd(0x21c)]=(_0x48cf40=_0x57cc4e['color'])!=null?_0x48cf40:this['_color'],this['_hovered']=(_0x45a4df=_0x57cc4e[_0x4093fd(0x1ab)])!=null?_0x45a4df:this['_hovered'],this[_0x4093fd(0x238)]=(_0x205dd0=_0x57cc4e[_0x4093fd(0x182)])!=null?_0x205dd0:this[_0x4093fd(0x238)],this[_0x4093fd(0x2c9)]=(_0x1ddd3d=_0x57cc4e[_0x4093fd(0x211)])!=null?_0x1ddd3d:this[_0x4093fd(0x2c9)],this[_0x4093fd(0x112)]=(_0x262d46=_0x57cc4e[_0x4093fd(0x2e5)])!=null?_0x262d46:this[_0x4093fd(0x112)],this[_0x4093fd(0x2bb)]=(_0x271c4a=_0x57cc4e[_0x4093fd(0x24c)])!=null?_0x271c4a:this[_0x4093fd(0x2bb)],this[_0x4093fd(0x272)]({'width':_0x57cc4e[_0x4093fd(0x2f5)],'height':_0x57cc4e[_0x4093fd(0x380)]});}['onMouseMove'](_0x28b86a){const _0x385ff5=_0x3db800,{row:_0x32019e,column:_0x31b2af}=_0x28b86a;if(_0x32019e>=this[_0x385ff5(0x238)][_0x385ff5(0x32e)]&&_0x32019e<=this['_range']['endRow']&&_0x31b2af>=this[_0x385ff5(0x238)][_0x385ff5(0x30a)]&&_0x31b2af<=this['_range']['endColumn']){this[_0x385ff5(0x2d5)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}['triggerDblclick'](_0x4efe4e){return!0x1;}[_0x3db800(0x171)](_0x1345f2){const _0x358da0=_0x3db800;_0x585793[_0x358da0(0x1ce)][_0x358da0(0x240)](_0x1345f2,{'width':this[_0x358da0(0x2f5)],'height':this['height'],'strokeWidth':_0x543250,'stroke':this['_color'],'evented':!0x1,'fill':this[_0x358da0(0x2bb)]}),this['_hovered']&&(_0x1345f2['save'](),_0x1345f2['transform'](0x1,0x0,0x0,0x1,this[_0x358da0(0x2f5)],this[_0x358da0(0x112)]==='bottom'?0x0:-_0x13bbfe),_0x2ecb3f[_0x358da0(0x240)](_0x1345f2,{'text':this[_0x358da0(0x2c9)],'color':this[_0x358da0(0x21c)]}),_0x1345f2[_0x358da0(0x241)]());}}var _0x5693f2=Object['getOwnPropertyDescriptor'],_0x260d7b=(_0x4592a9,_0x3df972,_0x388ecd,_0x406caf)=>{const _0x471933=_0x3db800;for(var _0x2b7840=_0x406caf>0x1?void 0x0:_0x406caf?_0x5693f2(_0x3df972,_0x388ecd):_0x3df972,_0x53c7d2=_0x4592a9[_0x471933(0x165)]-0x1,_0x45b011;_0x53c7d2>=0x0;_0x53c7d2--)(_0x45b011=_0x4592a9[_0x53c7d2])&&(_0x2b7840=_0x45b011(_0x2b7840)||_0x2b7840);return _0x2b7840;},_0x48fe8b=(_0x33a411,_0x4f9888)=>(_0x4e74cf,_0x83782b)=>_0x4f9888(_0x4e74cf,_0x83782b,_0x33a411);const _0x8b30c2=0x1389;let _0x3eec6b=class extends _0x5721e1[_0x3db800(0x212)]{constructor(_0x5d7eb6,_0x50e818,_0x2d738b,_0x2fb1bb){const _0x345803=_0x3db800;super(),_0x11fc09(this,'_cursors',new Set()),_0x11fc09(this,_0x345803(0x303),null),(this['_context']=_0x5d7eb6,this[_0x345803(0x229)]=_0x50e818,this[_0x345803(0x1a9)]=_0x2d738b,this[_0x345803(0x12b)]=_0x2fb1bb,this[_0x345803(0x2e1)]());}[_0x3db800(0x2e1)](){const _0x19f2d1=_0x3db800;this['_sheetSkeletonManagerService']['currentSkeleton$'][_0x19f2d1(0x138)](_0x3951af['takeUntil'](this['dispose$']),_0x3951af[_0x19f2d1(0x35b)](_0x350ea2=>{const _0x5136ac=_0x19f2d1;if(_0x350ea2){const _0x530ada=_0x350ea2[_0x5136ac(0x29e)];return _0x3c46fe[_0x5136ac(0x33a)](this['_collabCursorController'][_0x5136ac(0x37b)](this[_0x5136ac(0x247)][_0x5136ac(0x2f4)]),this[_0x5136ac(0x12b)][_0x5136ac(0x328)])['pipe'](_0x3951af['map'](([_0x59e06c,_0x44d223])=>{const _0x325d74=_0x5136ac,_0x45b4ae=new Map();return _0x59e06c[_0x325d74(0x331)]((_0x6e7b35,_0x52d75d)=>{const _0x59a09e=_0x325d74;if(_0x6e7b35[_0x59a09e(0x27c)]===_0x530ada){const _0x5d0cce={..._0x6e7b35};_0x5d0cce[_0x59a09e(0x144)]=this['_themeService'][_0x59a09e(0x11e)](_0x6e7b35[_0x59a09e(0x144)]),_0x45b4ae[_0x59a09e(0x10c)](_0x52d75d,_0x5d0cce);}}),{'skeleton':_0x350ea2,'cursors':_0x45b4ae};}));}return _0x3c46fe['of']({'skeleton':null,'cursors':new Map()});}))[_0x19f2d1(0x2ce)](({skeleton:_0x3fd764,cursors:_0x50883b})=>{const _0x4265a0=_0x19f2d1;this['_removeCollabCursors'](),_0x3fd764&&this[_0x4265a0(0x27f)](_0x3fd764,_0x50883b);}),this[_0x19f2d1(0x229)][_0x19f2d1(0x295)][_0x19f2d1(0x2ce)](_0x1db9ce=>{const _0x1103e3=_0x19f2d1;if(_0x1db9ce==null)return;const {skeleton:_0x14a2dc}=_0x1db9ce,{scene:_0x4de2d8}=this[_0x1103e3(0x247)];_0x4de2d8[_0x1103e3(0x249)][_0x1103e3(0x288)](_0x5721e1[_0x1103e3(0x25f)](_0x302b8d=>{const _0x5c5f7f=_0x1103e3;var _0x2ff501,_0x2a69ec;const {offsetX:_0x1cd6ca,offsetY:_0x397048}=_0x302b8d,{x:_0x27bfd7,y:_0xe43a29}=_0x4de2d8[_0x5c5f7f(0x15c)](_0x585793[_0x5c5f7f(0x220)][_0x5c5f7f(0x393)]([_0x1cd6ca,_0x397048])),{scaleX:_0x1ed462,scaleY:_0x5afb83}=_0x4de2d8['getAncestorScale'](),_0xe1e24d=_0x4de2d8[_0x5c5f7f(0x2f6)](_0x585793[_0x5c5f7f(0x1d5)][_0x5c5f7f(0x3c2)]),_0x25f4c6=_0x4de2d8[_0x5c5f7f(0x1a6)](_0x585793[_0x5c5f7f(0x220)][_0x5c5f7f(0x393)]([_0x27bfd7,_0xe43a29]),_0xe1e24d),_0x12328c=_0x14a2dc[_0x5c5f7f(0x294)](_0x1cd6ca,_0x397048,_0x1ed462,_0x5afb83,_0x25f4c6);((_0x2ff501=this['_lastPointer'])==null?void 0x0:_0x2ff501[_0x5c5f7f(0x15f)])===_0x12328c[_0x5c5f7f(0x15f)]&&((_0x2a69ec=this[_0x5c5f7f(0x303)])==null?void 0x0:_0x2a69ec['row'])===_0x12328c[_0x5c5f7f(0xf9)]||this['_cursors'][_0x5c5f7f(0x331)](_0x3eaf4b=>{const _0x588b94=_0x5c5f7f;_0x3eaf4b[_0x588b94(0x2dd)](_0x12328c);});},0x64));});}['_updateCollabCursors'](_0x375e99,_0x23d07a){const _0x62fdef=_0x3db800;var _0x511a08;const _0x4f1686=(_0x511a08=this['_sheetSkeletonManagerService'][_0x62fdef(0x344)]())==null?void 0x0:_0x511a08[_0x62fdef(0x34e)];if(!_0x4f1686)return;const _0x1c2e84=this[_0x62fdef(0x10a)]();if(!_0x1c2e84)return;this[_0x62fdef(0x2a9)][_0x62fdef(0x331)](_0x3dfb21=>{const _0x1074a4=_0x62fdef;_0x3dfb21[_0x1074a4(0x128)]();});const {scene:_0x439973}=_0x1c2e84,_0x4809d0=_0x1d1dfe(Array[_0x62fdef(0x2e8)](_0x23d07a[_0x62fdef(0x39e)]()))['map'](_0x49b377=>{const _0xcdf3d0=_0x62fdef,{color:_0x35a2fb,range:_0x424f11,name:_0x3d0001,selection:_0x28d3bb,sheetID:_0x3e9052}=_0x49b377,{startColumn:_0x1a0b7c,startRow:_0x5eda4a,endColumn:_0x34a4f2,endRow:_0xe983f2}=_0x424f11,_0x374d5f=_0x131e0d[_0xcdf3d0(0xdc)](_0x5eda4a,_0x1a0b7c,_0x439973,_0x4f1686),_0x45717a=_0x131e0d['getCoordByCell'](_0xe983f2,_0x34a4f2,_0x439973,_0x4f1686),{columnHeaderHeightAndMarginTop:_0x5b36de}=_0x4f1686,{startX:_0x318b6f,startY:_0x411df9}=_0x374d5f,{endX:_0x598fb4,endY:_0x10e42a}=_0x45717a,_0x56b36c=_0x598fb4-_0x318b6f,_0x429e40=_0x10e42a-_0x411df9,_0x3f0fbb={'labelPosition':_0x411df9-_0x5b36de>=_0x13bbfe?'top':_0xcdf3d0(0x223),'sheetID':_0x3e9052,'range':_0x424f11,'color':_0x35a2fb,'name':_0x3d0001,'selection':_0x28d3bb,'left':_0x318b6f,'top':_0x411df9,'width':_0x56b36c,'height':_0x429e40,'evented':!0x1,'zIndex':_0x8b30c2};return new _0x3d98fb(_0x3d0001,_0x3f0fbb);});_0x439973[_0x62fdef(0x2e7)](_0x4809d0,_0x145431),this[_0x62fdef(0x2a9)]=new Set(_0x4809d0);}[_0x3db800(0x2af)](){const _0x21ad7c=_0x3db800;var _0x24afdb;(_0x24afdb=this[_0x21ad7c(0x2a9)])==null||_0x24afdb[_0x21ad7c(0x331)](_0x2a1672=>_0x2a1672['dispose']());}['_getSheetObject'](){const _0x4f457d=_0x3db800;return _0x131e0d[_0x4f457d(0x16a)](this[_0x4f457d(0x247)]['unit'],this[_0x4f457d(0x247)]);}};_0x3eec6b=_0x260d7b([_0x48fe8b(0x1,_0x5721e1[_0x3db800(0x181)](_0x131e0d[_0x3db800(0x18f)])),_0x48fe8b(0x2,_0x5721e1[_0x3db800(0x181)](_0x192c77)),_0x48fe8b(0x3,_0x5721e1[_0x3db800(0x181)](_0x5721e1['ThemeService']))],_0x3eec6b);function _0x1d1dfe(_0xf5099e){const _0x3b2277=_0x3db800,_0x5a7d8e=new Map();return _0xf5099e[_0x3b2277(0x331)](_0x1b823c=>{const _0x1d8b92=_0x3b2277;if(_0x5a7d8e[_0x1d8b92(0x101)](_0x1b823c[_0x1d8b92(0x239)])){const _0x50ff82=_0x5a7d8e[_0x1d8b92(0x31c)](_0x1b823c[_0x1d8b92(0x239)]);_0x50ff82[_0x1d8b92(0x211)]+=',\x20'+_0x1b823c[_0x1d8b92(0x211)];}else _0x5a7d8e[_0x1d8b92(0x10c)](_0x1b823c[_0x1d8b92(0x239)],_0x1b823c);}),Array[_0x3b2277(0x2e8)](_0x5a7d8e[_0x3b2277(0x39e)]());}var _0x3e2b75=Object[_0x3db800(0x2db)],_0x391214=(_0xfaabad,_0x7fa4c4,_0x46e4b8,_0x3df677)=>{for(var _0x5852ed=_0x3df677>0x1?void 0x0:_0x3df677?_0x3e2b75(_0x7fa4c4,_0x46e4b8):_0x7fa4c4,_0x7bf749=_0xfaabad['length']-0x1,_0x5dbb44;_0x7bf749>=0x0;_0x7bf749--)(_0x5dbb44=_0xfaabad[_0x7bf749])&&(_0x5852ed=_0x5dbb44(_0x5852ed)||_0x5852ed);return _0x5852ed;},_0x51286c=(_0xe55239,_0xf578ca)=>(_0x162986,_0x231bac)=>_0xf578ca(_0x162986,_0x231bac,_0xe55239);let _0xa84181=class extends _0x5721e1[_0x3db800(0x27b)]{constructor(_0x4b31c9,_0x593446,_0x4edfdf,_0x56b9c4,_0x449c4f,_0xaf6ada){const _0x554840=_0x3db800;super(),this['_beforeCloseService']=_0x4b31c9,this[_0x554840(0x32f)]=_0x593446,this[_0x554840(0x322)]=_0x4edfdf,this[_0x554840(0x2b7)]=_0x56b9c4,this[_0x554840(0x34b)]=_0x449c4f,this['_localeService']=_0xaf6ada,this[_0x554840(0x267)](),this['_initEvent']();}['_setupBeforeClosingHandler'](){const _0xa1bc25=_0x3db800;this[_0xa1bc25(0x168)](this[_0xa1bc25(0x1d0)][_0xa1bc25(0x274)](()=>{const _0x1f6192=_0xa1bc25;if(this[_0x1f6192(0x32f)][_0x1f6192(0x2c0)][_0x1f6192(0x392)])return this[_0x1f6192(0x1fb)]['t'](_0x1f6192(0x17d));}));}[_0x3db800(0x1d7)](){const _0x1d7af3=_0x3db800;this[_0x1d7af3(0x168)](this['_collaborationUIEventService']['event$']['subscribe'](_0xd89c0d=>{const _0x49dc5b=_0x1d7af3;_0xd89c0d['id']===_0x115633[_0x49dc5b(0x1ca)][_0x49dc5b(0x298)]&&this[_0x49dc5b(0x2b7)][_0x49dc5b(0x2b1)]({'type':_0x31d403[_0x49dc5b(0x3ca)][_0x49dc5b(0x1de)],'content':this[_0x49dc5b(0x1fb)]['t']('collaboration.single-unit.warning')}),_0xd89c0d['id']===_0x115633[_0x49dc5b(0x1ca)][_0x49dc5b(0x140)]&&this['_messageService'][_0x49dc5b(0x2b1)]({'type':_0x31d403[_0x49dc5b(0x3ca)]['Warning'],'content':this[_0x49dc5b(0x1fb)]['t'](_0x49dc5b(0x195))}),_0xd89c0d['id']===_0x115633[_0x49dc5b(0x1ca)][_0x49dc5b(0x3ab)]&&this[_0x49dc5b(0x34b)][_0x49dc5b(0x2b1)]({'title':this[_0x49dc5b(0x1fb)]['t'](_0x49dc5b(0x371)),'content':this[_0x49dc5b(0x1fb)]['t'](_0x49dc5b(0x2e9)),'type':_0x49dc5b(0x3ce),'duration':0x0}),_0xd89c0d['id']===_0x115633[_0x49dc5b(0x1ca)][_0x49dc5b(0x1c9)]&&this[_0x49dc5b(0x2b7)]['show']({'type':_0x31d403['MessageType']['Error'],'content':this['_localeService']['t']('collaboration.closeRoom')+'('+_0xd89c0d['data']+')'}),_0xd89c0d['id']===_0x115633[_0x49dc5b(0x1ca)]['JOIN_ROOM_FAILED']&&this[_0x49dc5b(0x2b7)][_0x49dc5b(0x2b1)]({'type':_0x31d403['MessageType']['Warning'],'content':this[_0x49dc5b(0x1fb)]['t'](_0xd89c0d[_0x49dc5b(0x21a)]||'')}),_0xd89c0d['id']===_0x115633[_0x49dc5b(0x1ca)][_0x49dc5b(0x3af)]&&this[_0x49dc5b(0x2b7)][_0x49dc5b(0x2b1)]({'type':_0x31d403[_0x49dc5b(0x3ca)]['Warning'],'content':this[_0x49dc5b(0x1fb)]['t']('session.will-retry')}),_0xd89c0d['id']===_0x115633['CollaborationUIEventId'][_0x49dc5b(0x103)]&&this['_messageService'][_0x49dc5b(0x2b1)]({'type':_0x31d403[_0x49dc5b(0x3ca)]['Error'],'content':this[_0x49dc5b(0x1fb)]['t'](_0x49dc5b(0xf8))}),_0xd89c0d['id']===_0x115633[_0x49dc5b(0x1ca)]['SUBMIT_CHANGESET_TIMEOUT']&&this[_0x49dc5b(0x2b7)][_0x49dc5b(0x2b1)]({'type':_0x31d403[_0x49dc5b(0x3ca)]['Error'],'content':this[_0x49dc5b(0x1fb)]['t'](_0x49dc5b(0x1a5))});}));}};_0xa84181=_0x391214([_0x51286c(0x0,_0xa1d841[_0x3db800(0x314)]),_0x51286c(0x1,_0x115633[_0x3db800(0x1ac)]),_0x51286c(0x2,_0x5721e1[_0x3db800(0x181)](_0x115633[_0x3db800(0x194)])),_0x51286c(0x3,_0xa1d841[_0x3db800(0x355)]),_0x51286c(0x4,_0xa1d841[_0x3db800(0xe3)]),_0x51286c(0x5,_0x5721e1[_0x3db800(0x181)](_0x5721e1[_0x3db800(0x324)]))],_0xa84181);var _0x5296c7=Object[_0x3db800(0x2db)],_0x2dd4ea=(_0x21cad2,_0x38cf9a,_0x2695d2,_0x39f827)=>{const _0x414d9f=_0x3db800;for(var _0x91a5f4=_0x39f827>0x1?void 0x0:_0x39f827?_0x5296c7(_0x38cf9a,_0x2695d2):_0x38cf9a,_0x420ec9=_0x21cad2[_0x414d9f(0x165)]-0x1,_0x3832ce;_0x420ec9>=0x0;_0x420ec9--)(_0x3832ce=_0x21cad2[_0x420ec9])&&(_0x91a5f4=_0x3832ce(_0x91a5f4)||_0x91a5f4);return _0x91a5f4;},_0x44dad0=(_0x13416a,_0x524a1f)=>(_0x511494,_0x58d2bc)=>_0x524a1f(_0x511494,_0x58d2bc,_0x13416a);let _0x2c4f22=class extends _0x5721e1[_0x3db800(0x27b)]{constructor(_0x3856b9,_0x99831b,_0x4843ec,_0x3dc545){const _0x243f75=_0x3db800;super(),_0x11fc09(this,_0x243f75(0x142)),(this['_injector']=_0x3856b9,this[_0x243f75(0x394)]=_0x99831b,this['_logService']=_0x4843ec,this['_collaborationSessionService']=_0x3dc545,this[_0x243f75(0x2e1)]());}[_0x3db800(0x2e1)](){const _0x195704=_0x3db800;this['_initWindowErrorListener'](),this['_initUnhandledRejectionListener'](),this['_monkeyPatchLogService'](),this[_0x195704(0x282)]();}[_0x3db800(0x282)](){const _0x50bb24=_0x3db800;this[_0x50bb24(0x168)](this[_0x50bb24(0x1e4)][_0x50bb24(0x39b)][_0x50bb24(0x2ce)](_0x2837eb=>{const _0x5d2f6e=_0x50bb24;this[_0x5d2f6e(0x142)]=_0x2837eb==null?void 0x0:_0x2837eb[_0x5d2f6e(0x34a)];}));}[_0x3db800(0x203)](){const _0x555523=_0x3db800,_0x5e2838=_0x3d4c16=>{const _0x297e5b=_0x1e97;var _0x28fdc9;this[_0x297e5b(0x1ad)]('error',_0x297e5b(0x2a2)+_0x3d4c16['message']+'\x20at\x20'+_0x3d4c16['filename']+':'+_0x3d4c16[_0x297e5b(0x28e)]+':'+_0x3d4c16[_0x297e5b(0x114)]+'\x0a'+(((_0x28fdc9=_0x3d4c16[_0x297e5b(0x3ce)])==null?void 0x0:_0x28fdc9[_0x297e5b(0x191)])||''));};window[_0x555523(0x312)](_0x555523(0x3ce),_0x5e2838),this['disposeWithMe'](()=>{const _0x26f2ed=_0x555523;window[_0x26f2ed(0xd2)]('error',_0x5e2838);});}[_0x3db800(0xcf)](){const _0x44b4cc=_0x3db800,_0x2d5b32=_0x572cba=>{const _0x7d09ec=_0x1e97;this[_0x7d09ec(0x1ad)](_0x7d09ec(0x3ce),'[Unhandled\x20Rejection]:\x20'+_0x572cba['reason']);};window[_0x44b4cc(0x312)](_0x44b4cc(0x219),_0x2d5b32),this[_0x44b4cc(0x168)](()=>{const _0x33ee80=_0x44b4cc;window[_0x33ee80(0xd2)](_0x33ee80(0x219),_0x2d5b32);});}[_0x3db800(0x35a)](){const _0x500c4f=_0x3db800,_0x276fa3=this[_0x500c4f(0x3b1)][_0x500c4f(0x3ce)][_0x500c4f(0x34f)](this[_0x500c4f(0x3b1)]);this[_0x500c4f(0x3b1)][_0x500c4f(0x3ce)]=(..._0x1a22af)=>{const _0x2ef675=_0x500c4f,_0x314364=_0x1a22af[_0x2ef675(0x209)](_0x2db0b0=>_0x2db0b0 instanceof Error?_0x2db0b0[_0x2ef675(0x243)]+'\x0a'+_0x2db0b0[_0x2ef675(0x191)]:String(_0x2db0b0))[_0x2ef675(0x2fc)]('\x20');this[_0x2ef675(0x1ad)](_0x2ef675(0x3ce),_0x2ef675(0x3a6)+_0x314364),_0x276fa3(..._0x1a22af);},this[_0x500c4f(0x168)](()=>{const _0x15c8c0=_0x500c4f;this['_logService'][_0x15c8c0(0x3ce)]=_0x276fa3;});}['_uploadLog'](_0x163a38,_0x73b23f){const _0x10b33b=_0x3db800;try{const _0x2f65e4={'userId':this['_memberID'],'logLabel':_0x163a38,'content':_0x73b23f};this[_0x10b33b(0x394)][_0x10b33b(0x3c4)](_0x10b33b(0x23b),{'body':_0x2f65e4})[_0x10b33b(0x34d)](()=>{});}catch{}}};_0x2c4f22=_0x2dd4ea([_0x44dad0(0x0,_0x5721e1[_0x3db800(0x181)](_0x5721e1[_0x3db800(0x1da)])),_0x44dad0(0x1,_0x5721e1[_0x3db800(0x181)](_0x45e398[_0x3db800(0x254)])),_0x44dad0(0x2,_0x5721e1[_0x3db800(0x154)]),_0x44dad0(0x3,_0x5721e1[_0x3db800(0x181)](_0x115633[_0x3db800(0x28f)]))],_0x2c4f22);const _0x214486=_0x3db800(0x17a),_0x3b0f99={};var _0xbe2fdc=Object['getOwnPropertyDescriptor'],_0x4c288a=(_0x1538c8,_0x464c42,_0x52001c,_0x1d317b)=>{const _0x37fe3b=_0x3db800;for(var _0x2f2629=_0x1d317b>0x1?void 0x0:_0x1d317b?_0xbe2fdc(_0x464c42,_0x52001c):_0x464c42,_0x29370a=_0x1538c8[_0x37fe3b(0x165)]-0x1,_0x3bb265;_0x29370a>=0x0;_0x29370a--)(_0x3bb265=_0x1538c8[_0x29370a])&&(_0x2f2629=_0x3bb265(_0x2f2629)||_0x2f2629);return _0x2f2629;},_0x5458da=(_0x72f013,_0x56ea74)=>(_0x3a96a7,_0x23a592)=>_0x56ea74(_0x3a96a7,_0x23a592,_0x72f013);let _0x28b209=class{constructor(_0x3b4159,_0x1cbf23){const _0xa26181=_0x3db800;this[_0xa26181(0x20c)]=_0x3b4159,this['_renderManagerService']=_0x1cbf23;}[_0x3db800(0x2cc)](_0x2cb103){const _0x4c9b79=_0x3db800;this[_0x4c9b79(0x117)](_0x2cb103),this[_0x4c9b79(0x2bc)](_0x2cb103);}[_0x3db800(0x338)](_0x1b5bf6){const _0x508b4e=_0x3db800,{unitID:_0x4ae41f}=_0x1b5bf6,_0x12c5d2=this[_0x508b4e(0x125)][_0x508b4e(0x228)](_0x4ae41f)[_0x508b4e(0x134)](_0x45f825[_0x508b4e(0x2ad)]),{redoCache:_0x2445eb}=_0x12c5d2[_0x508b4e(0x374)]();if(_0x2445eb[_0x508b4e(0x165)]===0x0)return _0x1b5bf6;let _0x592973=_0x5721e1[_0x508b4e(0x386)][_0x508b4e(0x3c6)](_0x1b5bf6[_0x508b4e(0x1e2)][0x0]);for(let _0x1a8573=0x0;_0x1a8573<_0x2445eb[_0x508b4e(0x165)];_0x1a8573++){const _0x206f39={'id':_0x508b4e(0x30f),'params':{..._0x2445eb[_0x1a8573]}},_0x2c8435=this[_0x508b4e(0x20c)][_0x508b4e(0x100)](_0x592973,_0x206f39,!0x1);if(_0x195720['isTransformMutationFailure'](_0x2c8435))throw _0x2c8435[_0x508b4e(0x3ce)];_0x592973=_0x2c8435[_0x508b4e(0x25d)];}return{..._0x5721e1['Tools'][_0x508b4e(0x3c6)](_0x1b5bf6),'mutations':[_0x592973]};}[_0x3db800(0x117)](_0xe0dbab){const _0x1d2dcb=_0x3db800,{unitID:_0x64e31e}=_0xe0dbab,_0x2fe021=this['_renderManagerService']['getRenderById'](_0x64e31e)[_0x1d2dcb(0x134)](_0x45f825[_0x1d2dcb(0x2ad)]),{undoCache:_0x39017d,redoCache:_0x4da363}=_0x2fe021['getUndoRedoMutationParamsCache']();if(_0x39017d[_0x1d2dcb(0x165)]===0x0||_0x4da363[_0x1d2dcb(0x165)]===0x0)return;const _0x1cba50=[],_0x26dcea=[];let _0x3b368a=_0x5721e1[_0x1d2dcb(0x386)][_0x1d2dcb(0x3c6)](_0xe0dbab[_0x1d2dcb(0x1e2)][0x0]),_0x2c68ae=_0x5721e1['Tools'][_0x1d2dcb(0x3c6)](_0xe0dbab[_0x1d2dcb(0x1e2)][0x0]);for(let _0xa6745a=_0x39017d['length']-0x1;_0xa6745a>=0x0;_0xa6745a--){const _0x297531={'id':_0x1d2dcb(0x30f),'params':{..._0x39017d[_0xa6745a]}},_0x2b8782={'id':_0x1d2dcb(0x30f),'params':{..._0x4da363[_0xa6745a]}},_0x539110=this[_0x1d2dcb(0x20c)][_0x1d2dcb(0x100)](_0x3b368a,_0x297531,!0x1),_0x376eb3=this[_0x1d2dcb(0x20c)][_0x1d2dcb(0x100)](_0x2c68ae,_0x2b8782,!0x1);if(_0x195720['isTransformMutationFailure'](_0x539110))throw _0x539110['error'];if(_0x195720['isTransformMutationFailure'](_0x376eb3))throw _0x376eb3[_0x1d2dcb(0x3ce)];_0x1cba50[_0x1d2dcb(0x2c1)](_0x539110[_0x1d2dcb(0x3b8)][_0x1d2dcb(0x1bb)]),_0x26dcea[_0x1d2dcb(0x2c1)](_0x376eb3[_0x1d2dcb(0x3b8)]['params']),_0x3b368a=_0x539110[_0x1d2dcb(0x25d)],_0x2c68ae=_0x376eb3[_0x1d2dcb(0x25d)];}_0x2fe021[_0x1d2dcb(0x11b)]({'undoCache':_0x1cba50,'redoCache':_0x26dcea});}[_0x3db800(0x2bc)](_0xf36918){const _0x2ccdd2=_0x3db800,{unitID:_0x39d191}=_0xf36918,_0x1f4f59=this[_0x2ccdd2(0x125)][_0x2ccdd2(0x228)](_0x39d191)[_0x2ccdd2(0x134)](_0x45f825[_0x2ccdd2(0x2ad)]),_0x263ec9=_0x1f4f59['getActiveRange']();if(_0x263ec9==null)return;const _0x52bc01=[{'id':_0x2ccdd2(0x30f),'params':{'unitId':_0xf36918[_0x2ccdd2(0x153)],'actions':null,'textRanges':[_0x263ec9]}}],_0x189f9f=this[_0x2ccdd2(0x20c)][_0x2ccdd2(0x124)](_0xf36918,_0x52bc01);if(!_0x195720['isTransformMutationsWithChangesetSuccess'](_0x189f9f))throw _0x189f9f[_0x2ccdd2(0x3ce)];const _0x1c2b99=_0x189f9f[_0x2ccdd2(0x3b8)][0x0][_0x2ccdd2(0x1bb)][_0x2ccdd2(0x12d)];Array[_0x2ccdd2(0x3a1)](_0x1c2b99)&&_0x1c2b99['length']&&_0x1f4f59['setActiveRange'](_0x1c2b99[0x0]);}};_0x28b209=_0x4c288a([_0x5458da(0x0,_0x195720[_0x3db800(0x26e)]),_0x5458da(0x1,_0x585793['IRenderManagerService'])],_0x28b209);var _0x2cada1=Object[_0x3db800(0x2db)],_0x1a8553=(_0x5f3450,_0x32566a,_0x7a4d72,_0x106f91)=>{const _0x5085a8=_0x3db800;for(var _0x4bee19=_0x106f91>0x1?void 0x0:_0x106f91?_0x2cada1(_0x32566a,_0x7a4d72):_0x32566a,_0x34d60=_0x5f3450[_0x5085a8(0x165)]-0x1,_0x4bdc0f;_0x34d60>=0x0;_0x34d60--)(_0x4bdc0f=_0x5f3450[_0x34d60])&&(_0x4bee19=_0x4bdc0f(_0x4bee19)||_0x4bee19);return _0x4bee19;},_0x101d0b=(_0x1ab420,_0x317bd7)=>(_0x5e9e04,_0xe7c443)=>_0x317bd7(_0x5e9e04,_0xe7c443,_0x1ab420);let _0x13e633=class{constructor(_0x4ae166,_0x30638f,_0x371282){const _0x4613aa=_0x3db800;this[_0x4613aa(0xed)]=_0x4ae166,this[_0x4613aa(0x20c)]=_0x30638f,this[_0x4613aa(0x2ae)]=_0x371282;}['transformStateCache'](_0x4a3b69){const _0x1dc81a=_0x3db800;this[_0x1dc81a(0x2cd)](_0x4a3b69);}[_0x3db800(0x338)](_0xd535e9){const _0x582f53=_0x3db800,{unitID:_0x3f5f9d}=_0xd535e9,{collaboration:_0xa6e3b8}=this['_docStateChangeManagerService']['getStateCache'](_0x3f5f9d);if(_0xa6e3b8[_0x582f53(0x165)]===0x0)return _0xd535e9;let _0xb2161c=_0x5721e1[_0x582f53(0x386)][_0x582f53(0x3c6)](_0xd535e9[_0x582f53(0x1e2)][0x0]);for(let _0x10ac1f=0x0;_0x10ac1f<_0xa6e3b8[_0x582f53(0x165)];_0x10ac1f++){const _0x1420aa={'id':_0x582f53(0x30f),'params':{'unitId':_0xa6e3b8[_0x10ac1f][_0x582f53(0x2f4)],..._0xa6e3b8[_0x10ac1f][_0x582f53(0x269)]}},_0x718cd3=this[_0x582f53(0x20c)]['transformMutation'](_0xb2161c,_0x1420aa,!0x1);if(_0x195720[_0x582f53(0x106)](_0x718cd3))throw _0x718cd3['error'];_0xb2161c=_0x718cd3[_0x582f53(0x25d)];}return{..._0x5721e1[_0x582f53(0x386)][_0x582f53(0x3c6)](_0xd535e9),'mutations':[_0xb2161c]};}['_transformHistoryAndStateStack'](_0x2a3054){const _0x5cab57=_0x3db800,{unitID:_0x4c67ea}=_0x2a3054,{history:_0x351aa5,collaboration:_0x4d1466}=this[_0x5cab57(0x2ae)]['getStateCache'](_0x4c67ea);if(_0x351aa5[_0x5cab57(0x165)]===0x0&&_0x4d1466['length']===0x0)return;const _0x185f5d=[],_0x17ec51=[];let _0x4bce24=_0x5721e1[_0x5cab57(0x386)][_0x5cab57(0x3c6)](_0x2a3054[_0x5cab57(0x1e2)][0x0]),_0x66ae64=_0x5721e1['Tools'][_0x5cab57(0x3c6)](_0x2a3054[_0x5cab57(0x1e2)][0x0]);for(let _0x370574=_0x351aa5[_0x5cab57(0x165)]-0x1;_0x370574>=0x0;_0x370574--){const _0x502acd={'id':_0x5cab57(0x30f),'params':{'unitId':_0x351aa5[_0x370574]['unitId'],..._0x351aa5[_0x370574]['undoState']}},_0x2d0bb5={'id':_0x5cab57(0x30f),'params':{'unitId':_0x351aa5[_0x370574][_0x5cab57(0x2f4)],..._0x351aa5[_0x370574][_0x5cab57(0x269)]}},_0x11b234=this[_0x5cab57(0x20c)][_0x5cab57(0x100)](_0x4bce24,_0x502acd,!0x1),_0x40b33c=this[_0x5cab57(0x20c)][_0x5cab57(0x100)](_0x66ae64,_0x2d0bb5,!0x1);if(_0x195720[_0x5cab57(0x106)](_0x11b234))throw _0x11b234['error'];if(_0x195720[_0x5cab57(0x106)](_0x40b33c))throw _0x40b33c[_0x5cab57(0x3ce)];_0x185f5d['unshift']({..._0x351aa5[_0x370574],'undoState':_0x11b234[_0x5cab57(0x3b8)][_0x5cab57(0x1bb)],'redoState':_0x40b33c[_0x5cab57(0x3b8)][_0x5cab57(0x1bb)]}),_0x4bce24=_0x11b234['m1Prime'],_0x66ae64=_0x40b33c['m1Prime'];}_0x4bce24=_0x5721e1[_0x5cab57(0x386)][_0x5cab57(0x3c6)](_0x2a3054[_0x5cab57(0x1e2)][0x0]),_0x66ae64=_0x5721e1[_0x5cab57(0x386)][_0x5cab57(0x3c6)](_0x2a3054[_0x5cab57(0x1e2)][0x0]);for(let _0x4c6218=_0x4d1466[_0x5cab57(0x165)]-0x1;_0x4c6218>=0x0;_0x4c6218--){const _0x4636f3={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x4d1466[_0x4c6218][_0x5cab57(0x2f4)],..._0x4d1466[_0x4c6218][_0x5cab57(0x3c3)]}},_0x374a15={'id':_0x5cab57(0x30f),'params':{'unitId':_0x4d1466[_0x4c6218][_0x5cab57(0x2f4)],..._0x4d1466[_0x4c6218]['redoState']}},_0x54678e=this[_0x5cab57(0x20c)]['transformMutation'](_0x4bce24,_0x4636f3,!0x1),_0x63e0bd=this['_transformService'][_0x5cab57(0x100)](_0x66ae64,_0x374a15,!0x1);if(_0x195720[_0x5cab57(0x106)](_0x54678e))throw _0x54678e[_0x5cab57(0x3ce)];if(_0x195720[_0x5cab57(0x106)](_0x63e0bd))throw _0x63e0bd[_0x5cab57(0x3ce)];_0x17ec51['unshift']({..._0x4d1466[_0x4c6218],'undoState':_0x54678e['m2Prime'][_0x5cab57(0x1bb)],'redoState':_0x63e0bd[_0x5cab57(0x3b8)][_0x5cab57(0x1bb)]}),_0x4bce24=_0x54678e[_0x5cab57(0x25d)],_0x66ae64=_0x63e0bd[_0x5cab57(0x25d)];}this[_0x5cab57(0x2ae)][_0x5cab57(0x293)](_0x4c67ea,{'history':_0x185f5d,'collaboration':_0x17ec51});}};_0x13e633=_0x1a8553([_0x101d0b(0x0,_0x5721e1[_0x3db800(0x181)](_0x5721e1[_0x3db800(0x1da)])),_0x101d0b(0x1,_0x195720[_0x3db800(0x26e)]),_0x101d0b(0x2,_0x5721e1[_0x3db800(0x181)](_0x45f825[_0x3db800(0x3bf)]))],_0x13e633);var _0x1275bc=Object[_0x3db800(0x2db)],_0x5219ca=(_0x3f206d,_0x5c2e7b,_0x519949,_0x27fece)=>{const _0x1f17b8=_0x3db800;for(var _0x523b03=_0x27fece>0x1?void 0x0:_0x27fece?_0x1275bc(_0x5c2e7b,_0x519949):_0x5c2e7b,_0x3552fb=_0x3f206d[_0x1f17b8(0x165)]-0x1,_0x419d8e;_0x3552fb>=0x0;_0x3552fb--)(_0x419d8e=_0x3f206d[_0x3552fb])&&(_0x523b03=_0x419d8e(_0x523b03)||_0x523b03);return _0x523b03;},_0x17b0e5=(_0x1d6a7f,_0x28c58c)=>(_0x374364,_0xd45bbe)=>_0x28c58c(_0x374364,_0xd45bbe,_0x1d6a7f);let _0x129f97=class{constructor(_0xcf8206,_0x1595b3){const _0x4bef07=_0x3db800;this[_0x4bef07(0xed)]=_0xcf8206,this['_transformService']=_0x1595b3;}[_0x3db800(0x280)](_0x301ed9){const _0x27313e=_0x3db800;var _0x10ea41;const _0x54f0bc=this[_0x27313e(0xed)]['get'](_0x9d8fba[_0x27313e(0x2c4)]),_0x4d0532=(_0x10ea41=_0x54f0bc[_0x27313e(0x260)]())!=null?_0x10ea41:[];if(_0x4d0532[_0x27313e(0x165)]===0x0)return;const _0x43327a=_0x301ed9[_0x27313e(0x153)],_0x43143b=[{'id':_0x27313e(0x30f),'params':{'unitId':_0x43327a,'actions':null,'textRanges':_0x4d0532}}],_0x173a74=this[_0x27313e(0x20c)][_0x27313e(0x124)](_0x301ed9,_0x43143b);if(!_0x195720[_0x27313e(0x31a)](_0x173a74))throw _0x173a74[_0x27313e(0x3ce)];const _0xd46133=_0x173a74[_0x27313e(0x3b8)][0x0][_0x27313e(0x1bb)][_0x27313e(0x12d)];Array[_0x27313e(0x3a1)](_0xd46133)&&_0xd46133[_0x27313e(0x165)]&&_0x54f0bc[_0x27313e(0x26b)](_0xd46133,{'unitId':_0x43327a,'subUnitId':_0x43327a},!0x1);}};_0x129f97=_0x5219ca([_0x17b0e5(0x0,_0x5721e1[_0x3db800(0x181)](_0x5721e1['Injector'])),_0x17b0e5(0x1,_0x195720[_0x3db800(0x26e)])],_0x129f97);var _0xbcf06e=Object[_0x3db800(0x2db)],_0x1741b5=(_0x274d15,_0x896981,_0x3bdce3,_0x26ffa3)=>{for(var _0x3a14ef=_0x26ffa3>0x1?void 0x0:_0x26ffa3?_0xbcf06e(_0x896981,_0x3bdce3):_0x896981,_0x27d6a=_0x274d15['length']-0x1,_0x48c472;_0x27d6a>=0x0;_0x27d6a--)(_0x48c472=_0x274d15[_0x27d6a])&&(_0x3a14ef=_0x48c472(_0x3a14ef)||_0x3a14ef);return _0x3a14ef;},_0x2068e7=(_0xe33c87,_0x5755b6)=>(_0x33a03a,_0x40a0a4)=>_0x5755b6(_0x33a03a,_0x40a0a4,_0xe33c87);let _0xc6cb38=class extends _0x5721e1[_0x3db800(0x27b)]{constructor(_0x2c34be,_0x84ea2a,_0x1cab77,_0x4e3566,_0x28252c,_0x5da297,_0x4a4553,_0x31178c){const _0x218c40=_0x3db800;super(),_0x11fc09(this,'_status$',new _0x3c46fe[(_0x218c40(0x346))](_0x115633[_0x218c40(0x36f)][_0x218c40(0x246)])),(this[_0x218c40(0x2ae)]=_0x2c34be,this['_collaborationController']=_0x84ea2a,this[_0x218c40(0x2a6)]=_0x1cab77,this[_0x218c40(0x366)]=_0x4e3566,this[_0x218c40(0x3b3)]=_0x28252c,this['_docSyncEditingCollabCursorService']=_0x5da297,this[_0x218c40(0x2b7)]=_0x4a4553,this[_0x218c40(0x1fb)]=_0x31178c,this[_0x218c40(0x2a4)]());}[_0x3db800(0x2a4)](){const _0x4b8cbd=_0x3db800;this[_0x4b8cbd(0x168)](this['_collaborationController'][_0x4b8cbd(0x193)][_0x4b8cbd(0x2ce)](_0x1b60d2=>{const _0x1027d8=_0x4b8cbd,_0x123027=this[_0x1027d8(0x2ae)]['docStateChange$'][_0x1027d8(0x2ce)](_0x356699=>{const _0x21f510=_0x1027d8;if(_0x356699==null)return;const {unitId:_0x1a7aa5,redoState:_0x48c2c1,commandId:_0x43e2b4}=_0x356699;if(_0x1a7aa5!==_0x1b60d2['unitID'])return;const _0x198cec={'id':_0x43e2b4,'type':_0x5721e1[_0x21f510(0x27e)][_0x21f510(0x143)],'params':{'unitId':_0x1a7aa5,'actions':_0x48c2c1[_0x21f510(0x14b)],'textRanges':null}};_0x1b60d2[_0x21f510(0x1f8)](_0x198cec);});if(_0x1b60d2['disposeWithMe'](_0x123027),_0x1b60d2 instanceof _0x115633[_0x1027d8(0x24a)]){const _0x377d36={'onTransformIME':_0x4afe35=>this[_0x1027d8(0x2a6)][_0x1027d8(0x2cc)](_0x4afe35),'onTransformState':_0x483671=>this[_0x1027d8(0x366)][_0x1027d8(0x23d)](_0x483671),'onTransformSelections':_0x2bccc4=>this[_0x1027d8(0x3b3)][_0x1027d8(0x280)](_0x2bccc4),'onSyncEditingCollabCursor':_0x2dfcfa=>this[_0x1027d8(0x2fa)][_0x1027d8(0x231)](_0x2dfcfa),'onTransformRemoteChangesetByIMECache':_0x467f0a=>this['_docTransformIMECacheService'][_0x1027d8(0x338)](_0x467f0a),'onTransformRemoteChangesetByStateCache':_0x419913=>this['_docTransformStateCacheService'][_0x1027d8(0x338)](_0x419913)};_0x1b60d2[_0x1027d8(0x1f2)](_0x377d36);}}));}};_0xc6cb38=_0x1741b5([_0x2068e7(0x0,_0x5721e1['Inject'](_0x45f825[_0x3db800(0x3bf)])),_0x2068e7(0x1,_0x5721e1[_0x3db800(0x181)](_0x115633['CollaborationController'])),_0x2068e7(0x2,_0x5721e1[_0x3db800(0x181)](_0x28b209)),_0x2068e7(0x3,_0x5721e1[_0x3db800(0x181)](_0x13e633)),_0x2068e7(0x4,_0x5721e1['Inject'](_0x129f97)),_0x2068e7(0x5,_0x5721e1[_0x3db800(0x181)](_0x41a578)),_0x2068e7(0x6,_0xa1d841[_0x3db800(0x355)]),_0x2068e7(0x7,_0x5721e1[_0x3db800(0x181)](_0x5721e1[_0x3db800(0x324)]))],_0xc6cb38);var _0xb66710=(_0x422ec8=>(_0x422ec8[_0x422ec8[_0x3db800(0x13c)]=0x0]=_0x3db800(0x13c),_0x422ec8[_0x422ec8['OK']=0x1]='OK',_0x422ec8[_0x422ec8[_0x3db800(0x173)]=0x2]=_0x3db800(0x173),_0x422ec8[_0x422ec8['PERMISSION_DENIED']=0x3]='PERMISSION_DENIED',_0x422ec8[_0x422ec8[_0x3db800(0x3d0)]=0x4]=_0x3db800(0x3d0),_0x422ec8[_0x422ec8[_0x3db800(0x18a)]=0x5]='UNAUTHENTICATED',_0x422ec8[_0x422ec8[_0x3db800(0x326)]=0x6]=_0x3db800(0x326),_0x422ec8[_0x422ec8['INVALID_ARGUMENT']=0x7]='INVALID_ARGUMENT',_0x422ec8[_0x422ec8[_0x3db800(0x232)]=0x8]='TOO_MANY_REQUESTS',_0x422ec8[_0x422ec8['COMPLETION_FINISHED']=0x9]=_0x3db800(0x375),_0x422ec8[_0x422ec8['LOGIN_FAILED']=0xa]='LOGIN_FAILED',_0x422ec8[_0x422ec8[_0x3db800(0x3a7)]=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x422ec8[_0x422ec8[_0x3db800(0x1e8)]=0xc]='MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x422ec8[_0x422ec8[_0x3db800(0x2f0)]=0xd]=_0x3db800(0x2f0),_0x422ec8[_0x422ec8[_0x3db800(0x235)]=0xe]=_0x3db800(0x235),_0x422ec8[_0x422ec8[_0x3db800(0x28a)]=0xf]=_0x3db800(0x28a),_0x422ec8[_0x422ec8[_0x3db800(0x3ac)]=0x10]=_0x3db800(0x3ac),_0x422ec8[_0x422ec8[_0x3db800(0x149)]=0x64]=_0x3db800(0x149),_0x422ec8[_0x422ec8[_0x3db800(0x2a1)]=0x65]=_0x3db800(0x2a1),_0x422ec8[_0x422ec8[_0x3db800(0x14a)]=0xc9]=_0x3db800(0x14a),_0x422ec8[_0x422ec8[_0x3db800(0x22b)]=0xca]=_0x3db800(0x22b),_0x422ec8[_0x422ec8[_0x3db800(0x206)]=0x1389]=_0x3db800(0x206),_0x422ec8[_0x422ec8['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x3db800(0x205),_0x422ec8[_0x422ec8[_0x3db800(0x197)]=0x1772]=_0x3db800(0x197),_0x422ec8[_0x422ec8['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x3db800(0x22d),_0x422ec8[_0x422ec8[_0x3db800(0x35d)]=0x1b59]='APPLY_REJECT',_0x422ec8[_0x422ec8['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x3db800(0xee),_0x422ec8[_0x422ec8[_0x3db800(0xf7)]=0x1b5b]=_0x3db800(0xf7),_0x422ec8[_0x422ec8[_0x3db800(0x2d8)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x422ec8[_0x422ec8[_0x3db800(0x1af)]=0x1b5d]='APPLY_DUPLICATED',_0x422ec8[_0x422ec8['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x3db800(0xf1),_0x422ec8[_0x422ec8[_0x3db800(0x16d)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x422ec8[_0x422ec8[_0x3db800(0x256)]=0x232a]=_0x3db800(0x256),_0x422ec8[_0x422ec8[_0x3db800(0x27a)]=0x232b]=_0x3db800(0x27a),_0x422ec8[_0x422ec8['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x422ec8[_0x422ec8['LICENSE_DISTRO_REJECTED']=0x232d]=_0x3db800(0x310),_0x422ec8[_0x422ec8['YUUMI_UNABLE_LOAD_URL']=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x422ec8[_0x422ec8[_0x3db800(0x2ba)]=0x2712]=_0x3db800(0x2ba),_0x422ec8[_0x422ec8[_0x3db800(0x1b5)]=0x2713]=_0x3db800(0x1b5),_0x422ec8[_0x422ec8[_0x3db800(0x33e)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x422ec8[_0x422ec8[_0x3db800(0x225)]=0x271a]=_0x3db800(0x225),_0x422ec8[_0x422ec8[_0x3db800(0xe9)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x422ec8[_0x422ec8[_0x3db800(0xff)]=0x271c]=_0x3db800(0xff),_0x422ec8[_0x422ec8[_0x3db800(0x28b)]=0x271d]=_0x3db800(0x28b),_0x422ec8[_0x422ec8['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]=_0x3db800(0x26d),_0x422ec8[_0x422ec8[_0x3db800(0x111)]=0x271f]='YUUMI_AI_RUN_FAILED',_0x422ec8[_0x422ec8['YUUMI_CONNECTOR_URL_NOT_FOUND']=0x2720]=_0x3db800(0x1c7),_0x422ec8[_0x422ec8[_0x3db800(0x3d2)]=0x2af9]=_0x3db800(0x3d2),_0x422ec8[_0x422ec8[_0x3db800(0x167)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x422ec8[_0x422ec8['INVALID_INVITE_CODE']=0x2ee2]=_0x3db800(0x2c7),_0x422ec8[_0x422ec8['INVITE_CODE_REQUIRED']=0x2ee3]=_0x3db800(0x1b6),_0x422ec8[_0x422ec8[_0x3db800(0x369)]=0x2ee4]=_0x3db800(0x369),_0x422ec8[_0x422ec8[_0x3db800(0x216)]=0x2ee5]=_0x3db800(0x216),_0x422ec8[_0x422ec8['WECHAT_HAS_BEEN_BOUND']=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x422ec8[_0x422ec8[_0x3db800(0x26c)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x422ec8[_0x422ec8['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x3db800(0x1f3),_0x422ec8[_0x422ec8['ENTITLE_CAN_NOT_BUY_LOWER_OTP']=0x36b1]=_0x3db800(0xf3),_0x422ec8[_0x422ec8[_0x3db800(0x300)]=0x36b2]=_0x3db800(0x300),_0x422ec8[_0x422ec8[_0x3db800(0x27d)]=0x36b3]='ENTITLE_DUP_SUBSCRIPTION',_0x422ec8[_0x422ec8[_0x3db800(0x15e)]=0x36b4]=_0x3db800(0x15e),_0x422ec8[_0x422ec8[_0x3db800(0x2d4)]=0x36b5]=_0x3db800(0x2d4),_0x422ec8[_0x422ec8[_0x3db800(0x1df)]=0x36b6]='ENTITLE_COUPON_EXPIRED',_0x422ec8[_0x422ec8[_0x3db800(0x29b)]=0x36b7]=_0x3db800(0x29b),_0x422ec8[_0x422ec8['ENTITLE_USE_COUPON_NOT_1ST_TRADE']=0x36b8]=_0x3db800(0xeb),_0x422ec8[_0x422ec8['ENTITLE_CHAT_LIMIT_EXCEED']=0x3715]='ENTITLE_CHAT_LIMIT_EXCEED',_0x422ec8[_0x422ec8[_0x3db800(0x196)]=0x3716]=_0x3db800(0x196),_0x422ec8[_0x422ec8['ENTITLE_INSUFFICIENT_QUOTA']=0x3717]=_0x3db800(0x1db),_0x422ec8[_0x422ec8[_0x3db800(0x35f)]=0x37dd]=_0x3db800(0x35f),_0x422ec8[_0x422ec8[_0x3db800(0xdb)]=0x3a99]=_0x3db800(0xdb),_0x422ec8[_0x422ec8[_0x3db800(0x133)]=0x3a9a]=_0x3db800(0x133),_0x422ec8[_0x422ec8[_0x3db800(0x172)]=0x3a9b]=_0x3db800(0x172),_0x422ec8[_0x422ec8[_0x3db800(0x1eb)]=0x3a9c]=_0x3db800(0x1eb),_0x422ec8[_0x422ec8[_0x3db800(0xe6)]=0x3a9d]='REDEMPTION_USER_NOT_ELIGIBLE',_0x422ec8[_0x422ec8[_0x3db800(0x2a8)]=0x3a9e]=_0x3db800(0x2a8),_0x422ec8[_0x422ec8[_0x3db800(0x396)]=0x3a9f]=_0x3db800(0x396),_0x422ec8[_0x422ec8[_0x3db800(0x327)]=0x3e81]=_0x3db800(0x327),_0x422ec8[_0x422ec8[_0x3db800(0x2da)]=-0x1]=_0x3db800(0x2da),_0x422ec8))(_0xb66710||{});function _0x34b9a7(_0x47efd1){const _0x580e78=_0x3db800;var _0x42d23e,_0x4ecbb0;const _0x27e846=(_0x42d23e=_0x47efd1[_0x580e78(0x3c0)])==null?void 0x0:_0x42d23e[_0x580e78(0x329)],_0x805d6f=((_0x4ecbb0=_0x47efd1[_0x580e78(0x3c0)])==null?void 0x0:_0x4ecbb0[_0x580e78(0x12e)])||0x0;return _0x27e846===_0x26196d[_0x580e78(0x3bb)]['START_CALCULATION']&&_0x805d6f>0x0;}function _0x6800d9(_0x22c524){const _0x55e0d9=_0x3db800;return _0x22c524[_0x55e0d9(0x18c)]===_0x26196d[_0x55e0d9(0x291)][_0x55e0d9(0x3c9)];}var _0x208271=Object['getOwnPropertyDescriptor'],_0x408852=(_0x1d1394,_0x575a87,_0x14ddb4,_0x56e504)=>{for(var _0x2c302f=_0x56e504>0x1?void 0x0:_0x56e504?_0x208271(_0x575a87,_0x14ddb4):_0x575a87,_0x12a2bc=_0x1d1394['length']-0x1,_0x4b29b3;_0x12a2bc>=0x0;_0x12a2bc--)(_0x4b29b3=_0x1d1394[_0x12a2bc])&&(_0x2c302f=_0x4b29b3(_0x2c302f)||_0x2c302f);return _0x2c302f;},_0x387b6a=(_0x21acf3,_0xcc1699)=>(_0x2569b3,_0x48955c)=>_0xcc1699(_0x2569b3,_0x48955c,_0x21acf3);const _0x3a939f=_0x3db800(0x379),_0x95a99a=_0x3db800(0x1d3),_0x268bfd=_0x3db800(0x176);let _0x474fa3=class extends _0x5721e1[_0x3db800(0x27b)]{constructor(_0x4d2d5e,_0x402dd2,_0x30e7c8,_0x4b9b3d,_0xe222a1,_0x2cbf29,_0x38e331){const _0x4d2fb4=_0x3db800;super(),_0x11fc09(this,_0x4d2fb4(0x17f),null),_0x11fc09(this,_0x4d2fb4(0x13a),0x0),_0x11fc09(this,'_currentUsage',0x0),_0x11fc09(this,_0x4d2fb4(0x3c7),[]),_0x11fc09(this,_0x4d2fb4(0x1d2),0x0),(this[_0x4d2fb4(0x2b7)]=_0x4d2d5e,this[_0x4d2fb4(0x3a0)]=_0x402dd2,this['_configService']=_0x30e7c8,this[_0x4d2fb4(0x394)]=_0x4b9b3d,this[_0x4d2fb4(0x122)]=_0xe222a1,this['_logService']=_0x2cbf29,this['_localeService']=_0x38e331,this[_0x4d2fb4(0xdf)]());}[_0x3db800(0xdf)](){const _0x49be53=_0x3db800;this[_0x49be53(0x168)](this[_0x49be53(0x3a0)][_0x49be53(0x2b0)]((_0x49a95d,_0x2254f4)=>{const _0x26e752=_0x49be53;var _0x829b9f;if(_0x49a95d['id']!==_0x26196d[_0x26e752(0x204)]['id'])return;const _0x334320=_0x49a95d[_0x26e752(0x1bb)];if(!this[_0x26e752(0x19d)]((_0x829b9f=_0x334320[_0x26e752(0x2de)])!=null?_0x829b9f:[]))return;if(!this[_0x26e752(0x2cb)]())throw this[_0x26e752(0x277)](_0x49a95d,_0x2254f4),this[_0x26e752(0x113)](),new _0x5721e1[(_0x26e752(0x1f9))]();})),this[_0x49be53(0x168)](this['_commandService'][_0x49be53(0x10b)]((_0xfe79d5,_0x2ed63d)=>{const _0x1b6aa4=_0x49be53;if(_0xfe79d5['id']!==_0x26196d[_0x1b6aa4(0x315)]['id'])return;const _0x37dab6=_0xfe79d5[_0x1b6aa4(0x1bb)];if(_0x34b9a7(_0x37dab6)){const _0x52154c=_0x5721e1[_0x1b6aa4(0x336)]();this[_0x1b6aa4(0x3c7)]['push'](_0x52154c),this[_0x1b6aa4(0x30b)](_0x52154c);}else{if(_0x6800d9(_0x37dab6)&&this[_0x1b6aa4(0x3c7)]['length']>0x0){const _0x49a46b=this[_0x1b6aa4(0x3c7)][_0x1b6aa4(0x222)]();this[_0x1b6aa4(0x3b5)](_0x49a46b);}}}));}['dispose'](){const _0x5d0ff4=_0x3db800;super['dispose'](),this[_0x5d0ff4(0xe5)](),this['_taskIds']=[],this['_currentUsage']=0x0,this[_0x5d0ff4(0x13a)]=0x0,this['_lastResponseTimestamp']=0x0;}async[_0x3db800(0x277)](_0x54e661,_0x31251f){const _0x421474=_0x3db800;for(let _0x4dfff0=0x0;_0x4dfff0<0x1e;_0x4dfff0++)try{if(await this['_getFormulaLimitStatus'](),this[_0x421474(0x2cb)]()){this['_applyCommand'](_0x54e661,_0x31251f),this[_0x421474(0x2b7)][_0x421474(0x2b1)]({'content':this[_0x421474(0x1fb)]['t'](_0x421474(0x307)),'type':_0x31d403[_0x421474(0x3ca)][_0x421474(0x245)]});return;}await new Promise(_0x20e8d5=>{const _0x8cfb31=_0x421474;this[_0x8cfb31(0x17f)]=window[_0x8cfb31(0x10f)](_0x20e8d5,0x3e8);});}catch(_0x424d3f){this[_0x421474(0x3b1)][_0x421474(0x3ce)](_0x424d3f);}this[_0x421474(0x2b7)][_0x421474(0x2b1)]({'content':this['_localeService']['t'](_0x421474(0x12a)),'type':_0x31d403[_0x421474(0x3ca)][_0x421474(0x131)]});}[_0x3db800(0x360)](_0x310c92,_0x7bb10a){const _0x288f2b=_0x3db800;try{this[_0x288f2b(0x3a0)]['executeCommand'](_0x310c92['id'],_0x310c92[_0x288f2b(0x1bb)],_0x7bb10a);}catch(_0x54e018){this[_0x288f2b(0x3b1)][_0x288f2b(0x3ce)](_0x54e018);}}[_0x3db800(0x1fc)](_0x1e7132,_0x1399af){const _0x1c6ef4=_0x3db800;_0x1399af<this[_0x1c6ef4(0x1d2)]||(this['_lastResponseTimestamp']=_0x1399af,this['_maxFormulaLimit']=Number[_0x1c6ef4(0x145)](_0x1e7132[_0x1c6ef4(0x1c1)]),this[_0x1c6ef4(0x2a0)]=Number[_0x1c6ef4(0x145)](_0x1e7132[_0x1c6ef4(0x333)]));}async[_0x3db800(0x30b)](_0x56f928){const _0x1cd39b=_0x3db800;var _0x4452e1,_0x52c50a;const _0x161d2b=Date[_0x1cd39b(0x18d)]();try{const _0x31436d=((_0x4452e1=this[_0x1cd39b(0x2b3)][_0x1cd39b(0x1f6)](_0x115633[_0x1cd39b(0x351)]))==null?void 0x0:_0x4452e1[_0x1cd39b(0x1fa)])||_0x95a99a,_0x143e4d=(await this['_httpService']['post'](_0x31436d,{'body':JSON[_0x1cd39b(0x2c2)]({'taskId':_0x56f928})}))['body'];if(((_0x52c50a=_0x143e4d[_0x1cd39b(0x3ce)])==null?void 0x0:_0x52c50a[_0x1cd39b(0x306)])!==_0xb66710['OK'])return;this[_0x1cd39b(0x1fc)](_0x143e4d[_0x1cd39b(0x174)],_0x161d2b);}catch(_0x449258){this[_0x1cd39b(0x3b1)][_0x1cd39b(0x3ce)](_0x449258);}}async[_0x3db800(0x1a8)](_0x347348){const _0x967097=_0x3db800;var _0x1483a0,_0x57205d;const _0x1c619f=Date[_0x967097(0x18d)]();try{const _0x3db7a8=((_0x1483a0=this[_0x967097(0x2b3)]['getConfig'](_0x115633[_0x967097(0x351)]))==null?void 0x0:_0x1483a0[_0x967097(0x19e)])||_0x3a939f,_0x3e2a2a=_0x347348?_0x3db7a8+'?taskId='+encodeURIComponent(_0x347348):_0x3db7a8,_0xde02a5=(await this[_0x967097(0x394)][_0x967097(0x31c)](_0x3e2a2a))[_0x967097(0x14e)];if(((_0x57205d=_0xde02a5[_0x967097(0x3ce)])==null?void 0x0:_0x57205d[_0x967097(0x306)])!==_0xb66710['OK'])return;this[_0x967097(0x1fc)](_0xde02a5['limitInfo'],_0x1c619f);}catch(_0x20cd7d){this[_0x967097(0x3b1)][_0x967097(0x3ce)](_0x20cd7d);}}async[_0x3db800(0x3b5)](_0xfb1547){const _0x3498bc=_0x3db800;var _0x56e93e,_0x3dff1c;const _0x529102=Date[_0x3498bc(0x18d)]();try{const _0x5c700c=((_0x56e93e=this[_0x3498bc(0x2b3)][_0x3498bc(0x1f6)](_0x115633[_0x3498bc(0x351)]))==null?void 0x0:_0x56e93e['releaseFormulaLimitUrl'])||_0x268bfd,_0x29b517=(await this[_0x3498bc(0x394)]['post'](_0x5c700c,{'body':JSON[_0x3498bc(0x2c2)]({'taskId':_0xfb1547})}))[_0x3498bc(0x14e)];if(((_0x3dff1c=_0x29b517[_0x3498bc(0x3ce)])==null?void 0x0:_0x3dff1c['code'])!==_0xb66710['OK'])return;this[_0x3498bc(0x1fc)](_0x29b517['limitInfo'],_0x529102);}catch(_0x34368a){this[_0x3498bc(0x3b1)]['error'](_0x34368a);}}[_0x3db800(0x2cb)](){const _0x583711=_0x3db800;return this[_0x583711(0x13a)]===0x0?!0x0:this['_maxFormulaLimit']-this['_currentUsage']>0x0;}['_clearPolling'](){const _0xe5d54f=_0x3db800;this[_0xe5d54f(0x17f)]&&(clearTimeout(this['_pollingInterval']),this[_0xe5d54f(0x17f)]=null);}[_0x3db800(0x113)](){const _0x1e4dea=_0x3db800;this[_0x1e4dea(0x2b7)]['show']({'content':this[_0x1e4dea(0x1fb)]['t']('formula.calculation.waiting'),'type':_0x31d403[_0x1e4dea(0x3ca)][_0x1e4dea(0xe1)]});}[_0x3db800(0x19d)](_0x14cfeb){const _0x5c19b8=_0x3db800;for(const _0x359290 of _0x14cfeb){const {unitId:_0x105acf,sheetId:_0x5d098b,range:_0x506216}=_0x359290,_0x3072b1=this[_0x5c19b8(0x122)][_0x5c19b8(0xe4)](_0x105acf);if(!_0x3072b1)continue;const _0x72aa3c=_0x3072b1['getSheetBySheetId'](_0x5d098b);if(!_0x72aa3c)continue;const _0x5e3426=_0x72aa3c['getCellMatrix']();for(let _0x48cb31=_0x506216[_0x5c19b8(0x32e)];_0x48cb31<=_0x506216[_0x5c19b8(0x37a)];_0x48cb31++)for(let _0x318aa3=_0x506216[_0x5c19b8(0x30a)];_0x318aa3<=_0x506216[_0x5c19b8(0xd8)];_0x318aa3++){const _0x190b07=_0x5e3426[_0x5c19b8(0x2f2)](_0x48cb31,_0x318aa3);if(_0x190b07&&(_0x5721e1[_0x5c19b8(0xf2)](_0x190b07['f'])||_0x5721e1[_0x5c19b8(0x3ba)](_0x190b07['si'])))return!0x0;}}return!0x1;}};_0x474fa3=_0x408852([_0x387b6a(0x0,_0x5721e1[_0x3db800(0x181)](_0xa1d841[_0x3db800(0x355)])),_0x387b6a(0x1,_0x5721e1[_0x3db800(0x2e2)]),_0x387b6a(0x2,_0x5721e1['IConfigService']),_0x387b6a(0x3,_0x5721e1[_0x3db800(0x181)](_0x45e398[_0x3db800(0x254)])),_0x387b6a(0x4,_0x5721e1[_0x3db800(0x24f)]),_0x387b6a(0x5,_0x5721e1[_0x3db800(0x154)]),_0x387b6a(0x6,_0x5721e1[_0x3db800(0x181)](_0x5721e1[_0x3db800(0x324)]))],_0x474fa3);var _0x57f33c=Object[_0x3db800(0x2db)],_0x26c888=(_0x635945,_0x97aa1a,_0x17bf7a,_0x4fd7e1)=>{const _0x3f8654=_0x3db800;for(var _0x488590=_0x4fd7e1>0x1?void 0x0:_0x4fd7e1?_0x57f33c(_0x97aa1a,_0x17bf7a):_0x97aa1a,_0xba986a=_0x635945[_0x3f8654(0x165)]-0x1,_0x3bfc67;_0xba986a>=0x0;_0xba986a--)(_0x3bfc67=_0x635945[_0xba986a])&&(_0x488590=_0x3bfc67(_0x488590)||_0x488590);return _0x488590;},_0x3bad10=(_0x2f0dcf,_0x1d0373)=>(_0x443e7c,_0x23e7e4)=>_0x1d0373(_0x443e7c,_0x23e7e4,_0x2f0dcf);let _0x87e2af=class extends _0x5721e1[_0x3db800(0x27b)]{constructor(_0x211a7f,_0x1f113e,_0x2b3218){const _0x9e7c9e=_0x3db800;super(),_0x11fc09(this,'_cachedData',new Map()),_0x11fc09(this,_0x9e7c9e(0x284),new Map()),_0x11fc09(this,'_disabled',!0x1),(this['_configService']=_0x211a7f,this[_0x9e7c9e(0x1c3)]=_0x1f113e,this['_revisionService']=_0x2b3218);}[_0x3db800(0x17e)](){const _0x2446c6=_0x3db800;this[_0x2446c6(0x397)]=!0x0;}['enableLocalCache'](){this['_disabled']=!0x1;}get[_0x3db800(0x2c0)](){return this['_saveTaskMap'];}['dispose'](){const _0x3e8ee9=_0x3db800;this[_0x3e8ee9(0x3cb)]()[_0x3e8ee9(0x1d6)](()=>super[_0x3e8ee9(0x37d)]());}async[_0x3db800(0x1be)](_0x114387){const _0x30f9ed=_0x3db800;return this['_disabled']?null:this['_localStorageService'][_0x30f9ed(0x2ff)](_0x115633['getLocalCacheKey'](_0x114387));}async[_0x3db800(0x286)](_0x6b7b04,_0x4062fa){const _0x225fa4=_0x3db800;return!!this[_0x225fa4(0x1c3)][_0x225fa4(0x335)](_0x6b7b04,_0x4062fa);}[_0x3db800(0x2f7)](_0x3fcc15,_0x14022d,_0x11389f,_0x565761){const _0x518366=_0x3db800,_0x14efd5=this[_0x518366(0x25c)][_0x518366(0x177)](_0x3fcc15);this[_0x518366(0x1a0)][_0x518366(0x10c)](_0x3fcc15,{'unitID':_0x3fcc15,'type':_0x14022d,'awaitingChangeset':_0x11389f,'mutations':_0x565761,'rev':_0x14efd5}),this[_0x518366(0x284)][_0x518366(0x101)](_0x3fcc15)||this[_0x518366(0x3bd)](_0x3fcc15);}[_0x3db800(0x3bd)](_0xa701a){const _0x47d102=_0x3db800,_0x169dc9=this['_getSaveTimeout']();_0x169dc9===0x0?this[_0x47d102(0x253)](_0xa701a):this[_0x47d102(0x284)][_0x47d102(0x10c)](_0xa701a,setTimeout(()=>this['_saveCache'](_0xa701a),_0x169dc9));}[_0x3db800(0x175)](){const _0x5e5efe=_0x3db800;var _0x2fba4e;return(_0x2fba4e=this['_configService'][_0x5e5efe(0x1f6)](_0x115633[_0x5e5efe(0x350)]))!=null?_0x2fba4e:_0x115633[_0x5e5efe(0x1c0)];}[_0x3db800(0x253)](_0x3080a3){const _0x39496b=_0x3db800,_0x670ebe=this[_0x39496b(0x284)][_0x39496b(0x31c)](_0x3080a3);return _0x670ebe!==void 0x0&&window[_0x39496b(0x16c)](_0x670ebe),this[_0x39496b(0x1c3)]['setItem'](_0x115633[_0x39496b(0x361)](_0x3080a3),this[_0x39496b(0x1a0)]['get'](_0x3080a3))['then'](()=>this[_0x39496b(0x284)][_0x39496b(0xd6)](_0x3080a3));}async[_0x3db800(0x3cb)](){const _0x5bb2f7=_0x3db800,_0xd8ee99=[];this[_0x5bb2f7(0x284)]['forEach']((_0x5051a7,_0x29ca62)=>{const _0xa2ec32=_0x5bb2f7;window[_0xa2ec32(0x16c)](_0x5051a7),_0xd8ee99[_0xa2ec32(0x126)](this[_0xa2ec32(0x253)](_0x29ca62)[_0xa2ec32(0x1d6)](()=>{const _0x21870f=_0xa2ec32;this[_0x21870f(0x284)][_0x21870f(0xd6)](_0x29ca62);}));}),await Promise['all'](_0xd8ee99);}};_0x87e2af=_0x26c888([_0x3bad10(0x0,_0x5721e1[_0x3db800(0x1aa)]),_0x3bad10(0x1,_0x5721e1[_0x3db800(0xfe)]),_0x3bad10(0x2,_0x5721e1['Inject'](_0x195720[_0x3db800(0x188)]))],_0x87e2af);class _0x752a44 extends _0x5721e1['RxDisposable']{constructor(){const _0x26b41e=_0x3db800;super(),_0x11fc09(this,'urlChange$'),this['urlChange$']=_0x3c46fe[_0x26b41e(0x2d6)](window,_0x26b41e(0x14c))[_0x26b41e(0x138)](_0x3c46fe[_0x26b41e(0x3cd)](this['dispose$']),_0x3c46fe[_0x26b41e(0x3a4)](0x1),_0x3c46fe[_0x26b41e(0xf6)](void 0x0));}[_0x3db800(0x2b5)](_0x322df6,_0x41b940,_0x3552d3=!0x1){const _0x29c812=_0x3db800,_0x202c9e=new URL(window[_0x29c812(0x13f)][_0x29c812(0x1c6)]);_0x202c9e[_0x29c812(0x1f7)][_0x29c812(0x10c)](_0x322df6,_0x41b940),_0x3552d3?window[_0x29c812(0x186)][_0x29c812(0x169)]('','',_0x202c9e['toString']()):window[_0x29c812(0x186)][_0x29c812(0x252)]('','',_0x202c9e[_0x29c812(0x281)]());}[_0x3db800(0x1bf)](_0x4df193,_0x587108=!0x1){const _0xbfab82=_0x3db800,_0x4d7e2d=new URL(window[_0xbfab82(0x13f)][_0xbfab82(0x1c6)]);_0x4d7e2d['searchParams'][_0xbfab82(0xd6)](_0x4df193),_0x587108?window[_0xbfab82(0x186)][_0xbfab82(0x169)]('','',_0x4d7e2d['toString']()):window[_0xbfab82(0x186)][_0xbfab82(0x252)]('','',_0x4d7e2d['toString']());}[_0x3db800(0x2aa)](_0x148fda){const _0x117df1=_0x3db800;var _0x4eb045;return(_0x4eb045=new URL(window[_0x117df1(0x13f)][_0x117df1(0x1c6)])[_0x117df1(0x1f7)][_0x117df1(0x31c)](_0x148fda))!=null?_0x4eb045:void 0x0;}}var _0x21fc30=Object[_0x3db800(0x296)],_0x29440e=Object[_0x3db800(0x2db)],_0x4cebd7=(_0x4277fe,_0xc7399d,_0x4d7161)=>_0xc7399d in _0x4277fe?_0x21fc30(_0x4277fe,_0xc7399d,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4d7161}):_0x4277fe[_0xc7399d]=_0x4d7161,_0x3d7ba0=(_0x24fced,_0x57a530,_0x23f789,_0x2caaf0)=>{const _0x2ea1de=_0x3db800;for(var _0x5e2759=_0x2caaf0>0x1?void 0x0:_0x2caaf0?_0x29440e(_0x57a530,_0x23f789):_0x57a530,_0x4cf22a=_0x24fced[_0x2ea1de(0x165)]-0x1,_0x5ec81b;_0x4cf22a>=0x0;_0x4cf22a--)(_0x5ec81b=_0x24fced[_0x4cf22a])&&(_0x5e2759=_0x5ec81b(_0x5e2759)||_0x5e2759);return _0x5e2759;},_0x46567e=(_0x5c9d5e,_0x2bc009)=>(_0x3408d9,_0x49e675)=>_0x2bc009(_0x3408d9,_0x49e675,_0x5c9d5e),_0x5353ff=(_0x5d2567,_0x304cda,_0xe1863c)=>_0x4cebd7(_0x5d2567,_0x304cda+'',_0xe1863c);const _0x168152=_0x3db800(0x2a7);_0x42b8f3[_0x3db800(0x156)]=class extends _0x5721e1[_0x3db800(0x2e4)]{constructor(_0x39a2be=_0x3b0f99,_0x2ed978,_0xdff2bf,_0x31dd19){const _0x1424db=_0x3db800;super(),this[_0x1424db(0x330)]=_0x39a2be,this[_0x1424db(0x125)]=_0x2ed978,this[_0x1424db(0xed)]=_0xdff2bf,this['_configService']=_0x31dd19;const {..._0x4074de}=_0x5721e1[_0x1424db(0x18e)]({},_0x3b0f99,this[_0x1424db(0x330)]);this[_0x1424db(0x2b3)]['setConfig'](_0x214486,_0x4074de);}[_0x3db800(0x1e0)](){const _0x3f0d13=_0x3db800;this[_0x3f0d13(0x179)](),this[_0x3f0d13(0x372)]();}['onRendered'](){const _0x1f8bd3=_0x3db800;this[_0x1f8bd3(0x192)]();}[_0x3db800(0x179)](){const _0xadb298=_0x3db800;var _0x2545c6;const _0x5484eb=[[_0x2ab1f4],[_0x474fa3],[_0x129f97],[_0x28b209],[_0x13e633],[_0x41a578],[_0x4a64fb,{'useClass':_0x752a44}],[_0x45e398[_0xadb298(0x1c5)],{'useClass':_0x45e398[_0xadb298(0x13e)]}],[_0x115633[_0xadb298(0x1ac)],{'useClass':_0x87e2af}],[_0x42b8f3[_0xadb298(0x255)]],[_0xc6cb38],[_0xa84181],[_0x192c77],[_0x3ae7cf],[_0x42b8f3[_0xadb298(0x362)]]];this[_0xadb298(0x330)][_0xadb298(0x320)]&&_0x5484eb[_0xadb298(0x126)]([_0x2c4f22]),_0x5721e1[_0xadb298(0x213)](this[_0xadb298(0xed)],_0x5721e1['mergeOverrideWithDependencies'](_0x5484eb,(_0x2545c6=this[_0xadb298(0x330)])==null?void 0x0:_0x2545c6[_0xadb298(0x363)]));}[_0x3db800(0x192)](){const _0x5535a8=_0x3db800;this['disposeWithMe'](this[_0x5535a8(0x125)]['registerRenderModule'](_0x5721e1['UniverInstanceType'][_0x5535a8(0x1e1)],[_0x1be4c4])),this[_0x5535a8(0x168)](this['_renderManagerService'][_0x5535a8(0x2b9)](_0x5721e1[_0x5535a8(0x1a7)][_0x5535a8(0x1a3)],[_0x3eec6b]));}[_0x3db800(0x372)](){const _0x2f5bc5=_0x3db800;_0x5721e1['touchDependencies'](this['_injector'],[[_0x192c77],[_0x42b8f3[_0x2f5bc5(0x255)]],[_0xc6cb38],[_0xa84181],[_0x42b8f3[_0x2f5bc5(0x362)]],[_0x474fa3]]),this[_0x2f5bc5(0x330)]['enableFrontendLog']&&_0x5721e1['touchDependencies'](this['_injector'],[[_0x2c4f22]]);}},_0x5353ff(_0x42b8f3[_0x3db800(0x156)],_0x3db800(0x2fb),_0x168152),_0x42b8f3['UniverCollaborationClientUIPlugin']=_0x3d7ba0([_0x5721e1[_0x3db800(0x13d)](_0x115633['UniverCollaborationClientPlugin']),_0x46567e(0x1,_0x585793[_0x3db800(0xd1)]),_0x46567e(0x2,_0x5721e1[_0x3db800(0x181)](_0x5721e1[_0x3db800(0x1da)])),_0x46567e(0x3,_0x5721e1[_0x3db800(0x1aa)])],_0x42b8f3[_0x3db800(0x156)]);var _0x4d4599=Object[_0x3db800(0x2db)],_0x4800b8=(_0x5043ce,_0x11bc3d,_0x24223a,_0x107ac1)=>{const _0x4bd6dc=_0x3db800;for(var _0x265a70=_0x107ac1>0x1?void 0x0:_0x107ac1?_0x4d4599(_0x11bc3d,_0x24223a):_0x11bc3d,_0x1e47fa=_0x5043ce[_0x4bd6dc(0x165)]-0x1,_0x33aafa;_0x1e47fa>=0x0;_0x1e47fa--)(_0x33aafa=_0x5043ce[_0x1e47fa])&&(_0x265a70=_0x33aafa(_0x265a70)||_0x265a70);return _0x265a70;},_0x1bda34=(_0xa7db08,_0x4001b9)=>(_0x3bdc88,_0x5186d4)=>_0x4001b9(_0x3bdc88,_0x5186d4,_0xa7db08);_0x42b8f3[_0x3db800(0x1b2)]=class extends _0x115633[_0x3db800(0x158)]{constructor(_0x46afd1,_0x30d545,_0x1eed2a,_0x420e32,_0x1c1d97){super(_0x46afd1,_0x30d545,_0x1eed2a,_0x420e32,_0x1c1d97);}async['createSocket'](_0x550457){const _0x56f029=_0x3db800,_0x4c3599=await this[_0x56f029(0x2c3)](),_0xa216a=this[_0x56f029(0xde)](_0x550457,_0x4c3599);return this['_doCreateSocket'](_0xa216a);}[_0x3db800(0xde)](_0x4fa260,_0x285c5a){const _0x981df0=_0x3db800,_0x2abf30=typeof window>'u'?new URL(_0x4fa260):new URL(_0x4fa260,window[_0x981df0(0x13f)][_0x981df0(0x20f)]);_0x2abf30[_0x981df0(0x1f7)][_0x981df0(0x10c)](_0x981df0(0x11d),_0x285c5a);const _0x1a7791=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x981df0(0x13f)][_0x981df0(0x37c)]);return _0x1a7791['get'](_0x981df0(0x2ed))&&_0x2abf30['searchParams'][_0x981df0(0x10c)](_0x981df0(0x2ed),_0x1a7791[_0x981df0(0x31c)]('runId')),_0x2abf30[_0x981df0(0x281)]();}async[_0x3db800(0x2c3)](){const _0xccf088=_0x3db800;var _0x4ff492,_0x50c6d8,_0x41e349;const _0x20f849=this[_0xccf088(0x2b3)][_0xccf088(0x1f6)](_0x115633[_0xccf088(0x351)]),_0x4f22ea=(_0x4ff492=_0x20f849==null?void 0x0:_0x20f849[_0xccf088(0x289)])!=null?_0x4ff492:_0x115633['DEFAULT_WS_SESSION_TICKET_URL'];return(_0x41e349=(_0x50c6d8=(await this[_0xccf088(0x394)][_0xccf088(0x31c)](_0x4f22ea,{'headers':{'Content-Type':_0xccf088(0x275)}}))[_0xccf088(0x14e)])==null?void 0x0:_0x50c6d8[_0xccf088(0x373)])!=null?_0x41e349:'';}},_0x42b8f3[_0x3db800(0x1b2)]=_0x4800b8([_0x1bda34(0x0,_0x5721e1[_0x3db800(0x181)](_0x5721e1[_0x3db800(0x1da)])),_0x1bda34(0x1,_0x5721e1[_0x3db800(0x181)](_0x45e398[_0x3db800(0x254)])),_0x1bda34(0x2,_0x5721e1[_0x3db800(0x1aa)]),_0x1bda34(0x3,_0x5721e1['ILogService']),_0x1bda34(0x4,_0x195720[_0x3db800(0x2cf)])],_0x42b8f3['BrowserCollaborationSocketService']);var _0x1bc577=Object[_0x3db800(0x2db)],_0x27f349=(_0x3e8c03,_0x4f1788,_0x3e2be8,_0x5126c5)=>{const _0x241944=_0x3db800;for(var _0x52cdb8=_0x5126c5>0x1?void 0x0:_0x5126c5?_0x1bc577(_0x4f1788,_0x3e2be8):_0x4f1788,_0x19685c=_0x3e8c03[_0x241944(0x165)]-0x1,_0x29200b;_0x19685c>=0x0;_0x19685c--)(_0x29200b=_0x3e8c03[_0x19685c])&&(_0x52cdb8=_0x29200b(_0x52cdb8)||_0x52cdb8);return _0x52cdb8;},_0x2d77c4=(_0x3434d4,_0x1ac160)=>(_0x329f5f,_0x16b571)=>_0x1ac160(_0x329f5f,_0x16b571,_0x3434d4);_0x42b8f3[_0x3db800(0x226)]=class extends _0x5721e1[_0x3db800(0x27b)]{constructor(_0x5ea8be,_0x3fbf1a,_0x49c70e){const _0x75ec3d=_0x3db800;super(),this[_0x75ec3d(0x136)]=_0x5ea8be,this[_0x75ec3d(0x394)]=_0x3fbf1a,this[_0x75ec3d(0x2b3)]=_0x49c70e;}async[_0x3db800(0x1b4)](_0x5aed12,_0x149f0f,_0x5531c2,..._0x3faf1b){const _0x49f31f=_0x3db800;var _0x381560,_0x4e6c43,_0x1eaaf3,_0x35d0ff;const _0x4d2e75=this['_instanceService'][_0x49f31f(0x36b)]();if(!_0x4d2e75)throw new Error(_0x49f31f(0x348));const _0x4993d2=((_0x381560=this[_0x49f31f(0x2b3)]['getConfig'](_0x115633[_0x49f31f(0x118)]))!=null?_0x381560:_0x115633['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT'])+'/'+_0x5aed12+_0x49f31f(0x1f0)+_0x149f0f,_0x298a63=new URL(window['location'][_0x49f31f(0x1c6)]),_0x15c116={'scriptId':_0x5aed12,'runId':(_0x4e6c43=_0x298a63[_0x49f31f(0x1f7)]['get'](_0x49f31f(0x2ed)))!=null?_0x4e6c43:'','function':_0x149f0f,'unitId':_0x4d2e75['getUnitId'](),'argsOfFunction':JSON['stringify'](_0x3faf1b),'invokeId':(_0x1eaaf3=_0x5531c2[_0x49f31f(0x377)])!=null?_0x1eaaf3:'','executionId':(_0x35d0ff=_0x5531c2[_0x49f31f(0x1e6)])!=null?_0x35d0ff:''};try{const _0x5c459f=await this['_httpService'][_0x49f31f(0x3c4)](_0x4993d2,{'body':_0x15c116});return _0x5c459f['body'][_0x49f31f(0x3ce)]&&_0x5c459f['body'][_0x49f31f(0x3ce)][_0x49f31f(0x306)]!==_0xb66710['OK']?_0x49f31f(0x321):_0x5c459f[_0x49f31f(0x14e)][_0x49f31f(0x352)];}catch{return _0x49f31f(0x321);}}},_0x42b8f3[_0x3db800(0x226)]=_0x27f349([_0x2d77c4(0x0,_0x5721e1[_0x3db800(0x24f)]),_0x2d77c4(0x1,_0x5721e1[_0x3db800(0x181)](_0x45e398[_0x3db800(0x254)])),_0x2d77c4(0x2,_0x5721e1['IConfigService'])],_0x42b8f3[_0x3db800(0x226)]);const _0x4ff4cd=0x7530,_0x3e9c9c=_0x3db800(0x116);class _0x5994ca extends _0x5721e1[_0x3db800(0x27b)]{constructor(){const _0x1f5e52=_0x3db800;super(),_0x11fc09(this,'_id',_0x5721e1[_0x1f5e52(0x336)]()),_0x11fc09(this,_0x1f5e52(0x15d),new Set()),_0x11fc09(this,_0x1f5e52(0x36a),new Map()),_0x11fc09(this,_0x1f5e52(0xd7),null),_0x11fc09(this,'_clearOtherTimers',new Map()),_0x11fc09(this,_0x1f5e52(0x214),new Map()),this[_0x1f5e52(0x2e1)]();}[_0x3db800(0x37d)](){const _0x203955=_0x3db800;super[_0x203955(0x37d)](),this[_0x203955(0xd4)]['forEach']((_0x3ea94b,_0x42d77c)=>this['_removeClearOtherTimer'](_0x42d77c)),this[_0x203955(0xd7)]&&window[_0x203955(0x257)](this[_0x203955(0xd7)]);}['getUnitStatus$'](_0x2cbd1a){const _0x108ea0=_0x3db800;return this['_ensureSubject'](_0x2cbd1a)[_0x108ea0(0x138)](_0x3c46fe[_0x108ea0(0x105)]());}[_0x3db800(0x3a8)](_0x3f3574){const _0x238c0c=_0x3db800;this[_0x238c0c(0x15d)][_0x238c0c(0x392)]===0x0&&this[_0x238c0c(0x16b)](),this[_0x238c0c(0x15d)][_0x238c0c(0x1dd)](_0x3f3574),this[_0x238c0c(0x207)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x3f3574],'isForwarded':!0x1});}[_0x3db800(0x2d7)](_0x5ce691){const _0x3d47a8=_0x3db800;this[_0x3d47a8(0x15d)]['delete'](_0x5ce691),this[_0x3d47a8(0x15d)][_0x3d47a8(0x392)]===0x0&&this[_0x3d47a8(0xd7)]&&window[_0x3d47a8(0x257)](this[_0x3d47a8(0xd7)]);}[_0x3db800(0x2e1)](){const _0x56e54b=_0x3db800;this[_0x56e54b(0x168)](_0x5721e1['toDisposable'](_0x3c46fe[_0x56e54b(0x2d6)](window,_0x56e54b(0x381))[_0x56e54b(0x2ce)](_0x18e33f=>{const _0x2a134f=_0x56e54b;if(_0x18e33f[_0x2a134f(0x2f9)]!==_0x3e9c9c||!_0x18e33f[_0x2a134f(0x325)])return;const _0x3e08cc=JSON[_0x2a134f(0x305)](_0x18e33f[_0x2a134f(0x325)]);this[_0x2a134f(0x163)](_0x3e08cc);}))),window['addEventListener']('unload',()=>this['_send']({'type':0x1,'memberID':this[_0x56e54b(0x185)],'unitIDs':Array[_0x56e54b(0x2e8)](this[_0x56e54b(0x15d)])}));}['_handleEvent'](_0x50cfa7){const _0x55469c=_0x3db800;switch(_0x50cfa7['type']){case 0x0:this[_0x55469c(0x318)](_0x50cfa7);break;case 0x1:this[_0x55469c(0x270)](_0x50cfa7);break;case 0x2:this[_0x55469c(0x33b)](_0x50cfa7);break;}}['_handleJoinEvent'](_0x11006c){const _0x3df2c1=_0x3db800,{unitIDs:_0x4c2d20,memberID:_0x470f15,isForwarded:_0x5b4891}=_0x11006c;_0x4c2d20[_0x3df2c1(0x331)](_0x4afb5d=>{const _0x5e2624=_0x3df2c1;if(!_0x5b4891&&this[_0x5e2624(0x36a)][_0x5e2624(0x101)](_0x4afb5d)&&this[_0x5e2624(0x345)](_0x4afb5d)['next'](_0x115633[_0x5e2624(0x2b6)][_0x5e2624(0x1ba)]),!this[_0x5e2624(0x36a)][_0x5e2624(0x101)](_0x4afb5d)||!this['_unitOnClients'][_0x5e2624(0x31c)](_0x4afb5d)[_0x5e2624(0x101)](_0x470f15)){const _0x1b71a8=this[_0x5e2624(0x36a)][_0x5e2624(0x31c)](_0x4afb5d)||new Set();_0x1b71a8[_0x5e2624(0x1dd)](_0x470f15),this[_0x5e2624(0x36a)]['set'](_0x4afb5d,_0x1b71a8),this[_0x5e2624(0x24b)](_0x470f15);}}),_0x5b4891||this['_send']({'type':0x0,'memberID':this[_0x3df2c1(0x185)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x3db800(0x24b)](_0x68dae5){const _0x40d8ca=_0x3db800;this[_0x40d8ca(0x119)](_0x68dae5);const _0x3112c3=window[_0x40d8ca(0x10f)](()=>{const _0x1f180a=_0x40d8ca;this[_0x1f180a(0x36a)][_0x1f180a(0x331)](_0x1eb257=>{_0x1eb257['delete'](_0x68dae5);});},_0x4ff4cd*0x2);this[_0x40d8ca(0xd4)]['set'](_0x68dae5,_0x3112c3);}[_0x3db800(0x119)](_0x4f8459){const _0x4bf9e1=_0x3db800;if(this['_clearOtherTimers']['has'](_0x4f8459)){const _0x37595d=this['_clearOtherTimers'][_0x4bf9e1(0x31c)](_0x4f8459);_0x37595d&&window['clearTimeout'](_0x37595d),this[_0x4bf9e1(0xd4)][_0x4bf9e1(0x10c)](_0x4f8459,null);}}[_0x3db800(0x270)](_0x4a4d05){const _0xb09a31=_0x3db800,{memberID:_0x2dd141,unitIDs:_0x4aad77}=_0x4a4d05;_0x4aad77[_0xb09a31(0x331)](_0x290f57=>{const _0x6073ca=_0xb09a31;var _0x44be9a;const _0x53dfe9=this[_0x6073ca(0x36a)][_0x6073ca(0x31c)](_0x290f57);_0x53dfe9&&(_0x53dfe9[_0x6073ca(0xd6)](_0x2dd141),(_0x44be9a=this[_0x6073ca(0x345)](_0x290f57))==null||_0x44be9a[_0x6073ca(0x1fe)](_0x53dfe9[_0x6073ca(0x392)]===0x0?_0x115633[_0x6073ca(0x2b6)][_0x6073ca(0x1f4)]:_0x115633['UnitStatus']['OTHER_CLIENTS_EDITING']));}),this[_0xb09a31(0x119)](_0x2dd141);}[_0x3db800(0x33b)](_0x5c84c6){const _0x59ca80=_0x3db800;this[_0x59ca80(0x24b)](_0x5c84c6[_0x59ca80(0x34a)]);}[_0x3db800(0x207)](_0x1904b2){const _0x1a5b73=_0x3db800;localStorage[_0x1a5b73(0x335)](_0x3e9c9c,JSON[_0x1a5b73(0x2c2)](_0x1904b2));}[_0x3db800(0x16b)](){const _0xff547f=_0x3db800;this['_heartbeatTimer']=window[_0xff547f(0x189)](()=>{const _0x85ed16=_0xff547f;this[_0x85ed16(0x207)]({'type':0x2,'memberID':this['_id']});},_0x4ff4cd);}[_0x3db800(0x345)](_0x58a17a){const _0x4b469f=_0x3db800;return this[_0x4b469f(0x214)][_0x4b469f(0x101)](_0x58a17a)||this[_0x4b469f(0x214)][_0x4b469f(0x10c)](_0x58a17a,new _0x3c46fe[(_0x4b469f(0x346))](_0x115633[_0x4b469f(0x2b6)]['NO_OTHER_CLIENTS_EDITING'])),this[_0x4b469f(0x214)][_0x4b469f(0x31c)](_0x58a17a);}}_0x42b8f3[_0x3db800(0x180)]=_0x4a64fb,_0x42b8f3[_0x3db800(0x170)]=_0x3d98fb,_0x42b8f3['WebBrowserSingleActiveUnitService']=_0x5994ca,_0x42b8f3[_0x3db800(0xf5)]=_0x752a44,Object[_0x3db800(0x296)](_0x42b8f3,Symbol[_0x3db800(0x25b)],{'value':_0x3db800(0x1ec)});}));
|
|
8
|
+
function _0x3baa(){const _0x33e136=['_assignedColors','M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','exports','_maxFormulaLimit','href','_initEvent','maxFormulaLimit','YUUMI_SUBSCRIPTION_NOT_FOUND','ENTITLE_DUP_SUBSCRIPTION','RegularPolygon','@univerjs-pro/collaboration-client','trim','ENTITLE_COUPON_EXPIRED','BrowserCollaborationSocketService','Module','endRow','FETCH_MISS','_scheduleClearOtherTimer','getItem','runRefRangeMutations','MoveRangeCommandId','@univerjs/network','height','beforeCommandExecuted','getUnhiddenWorksheets','CONFLICT','@univerjs/engine-formula','CollaborationStatus','handleDeleteRangeMoveUp','collab-text-anchor-','/universer-api/license/formula/limit/status','saveOfflineData','UniverDocsUi','YUUMI_RATE_OVER_LIMIT','color','getCellPositionByOffset','name','_clearPolling','234EPQghN','_scheduleHeartbeat','find','length','_docTransformStateCacheService','endColumn','executeCommand','_roomMembers$','LOCAL_CACHE_INTERVAL_KEY','getTypeOfUnitDisposed$','UniverEngineRender','ENSURE_SNAPSHOT_EXECUTION','on-line-icon','lineno','cursorInfo','ENTITLE_USE_COUPON_NOT_1ST_TRADE','setStateCache','combineLatest','_updateCollabCursors','YUUMI_UNABLE_LOAD_URL','updateOfflineData','width','defIds','clearTimeout','CollaborationUIEventService','_createSocketURL','_collaborationController','onRendered','394008qzlndj','ALREADY_EXISTS','UniverProCollaboration','DEFAULT_WS_SESSION_TICKET_URL','skeleton','registerBeforeClose','stageInfo','registerRenderModule','history','DocStateChangeManagerService','_toggleOffline','SessionStatus','on-line-icon_clip0_910_349','setInterval','UniverSheets','CollaborationDataLoaderController','application/json','CONNECTOR_DATA_TOO_LARGE','_handleJoinEvent','UniverCollaborationClientUIPlugin','_renderManagerService','unsubscribe','_shapes','DocIMEInputManagerService','InsertRangeMoveDownCommandId','collaboration-client-ui.config','_saveTaskMap','REDEMPTION_INVALID_CODE','displayName','Shape','replaceDocRanges','DOC_RANGE_TYPE','_setupSubUnitSync','onLocalMutation','evenodd','RemoteUniscriptService','catch','getUndoRedoMutationParamsCache','measureText','UniverCollaborationClientPlugin','@univerjs/docs','getRangePointData','_initCommandExecutedListener','moveTo','UniverProCollaborationClientUi','_collaborationUIEventService','RevisionService','_range','memberID','getCurrentSelections','SetTextSelectionsOperation','_drawTextRange','_colorAssignService','isArray','PENDING','transformRemoteChangeset','_textBubble','_currentUsage','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','ACTIVE_UNIT_EVENT_CHANNEL','EffectRefRangId','_session','roomMembers','CHANGESET_REVISION_CONFILICT','_transformService','runId','UniverDesign','ThemeService','dirtyRanges','runOnServer','hovered','some','startColumn','deserializeRangeWithSheet','ENTITLE_REPORT_LIMIT_EXCEED','1757WpuzEb','UniverRpc','APPLY_DUPLICATED','rxjs/operators','ONLINE','_anchorDot','popstate','switchMap','getOwnPropertyDescriptor','_unitOnClients','RemoveColCommandId','REDEMPTION_CODE_FULLY_REDEEMED','rgba(255,\x20255,\x20255,\x200.01)','IConfigService','toRgbString','setUndoRedoMutationParamsCache','YUUMI_TABLE_NOT_FOUND_IN_UNIT','colno','_checkCalculationAvailable','isTransformMutationsWithChangesetSuccess','SetFormulaCalculationStartMutation','distinctUntilChanged','_updateSubUnitFromURLParams','row','transformByState','complete','add','get','_localeService','Vector2','values','subscribeEvent','LICENSE_MAX_UNITS_EXCEEDED','_notificationService','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','init','svg','WebBrowserSingleActiveUnitService','Injector','REDEMPTION_CODE_INACTIVE','onPointerLeave$','createInstance','SheetSkeletonManagerService','filename','[RemoteUniscriptService]:\x20no\x20focused\x20unit','m2Prime','session.collaboration-timeout','cursorInfo$','[Window\x20Error]:\x20','beginPath','getSheetBySheetId','_initResize','addObjects','_status$','symbol','ranges','_id','APPLY_PERMISSION_DENIED','stack','TOO_MANY_REQUESTS','fromEvent','_onCursorDelete','getUnitId','_collabCursorController','addClipboardHook','_initStatusListener','univer-flex\x20univer-items-center','onMouseMove','_document','[CollaborationDataLoaderController]','5SvUGuZ','top','set','UnitStatus','unit','TEXT_RANGE_LAYER_INDEX','currentSkeleton$','selections','CollaborationSocketService','CollaborationUIEventId','YUUMI_URL_COL_OUT_OF_RANGE','mask','black','merge','_eventUnsubscribe','delete','override','formula.calculation.started','MessageType','getFocusedUnit','REDEMPTION_CODE_HAS_BEEN_CREATED','APPLY_NON_SEQUENTIAL_REVISION','BehaviorSubject','disposeWithMe','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','labelPosition','_transformUndoRedoStack','HTTPService','UNIVER_SHEET','_releaseCalculationLimit','_cachedData','_refreshCollabCursors','unitID','SOCKET_FAILED','mapTo','rxjs','event$','push','reason','handleDeleteRangeMoveLeft','isTransformMutationFailure','_scheduleSaving','isFormulaString','fillText','AUTHORIZE_CODE_ILLEGAL','_online','_uiPartsService','setTimeout','IRenderManagerService','_urlService','object','UniverDrawing','transform','onPointerEnter$','DeleteRangeMoveLeftCommandId','_drawAnchor','random','getUnit','ILocalStorageService','takeUntil','_hideTimer','_getScale','DisposableCollection','176DQwJBR','_hasFormulaInDirtyRanges','setActiveRange','IBeforeCloseService','_lastPointer','getRenderById','univer-mr-2\x20univer-flex\x20univer-text-xl','post','_docSkeletonManagerService','TEXT','backgroundColor','ITransformService','_selfUnitIDs','map','permission.content','MUTATION','getMergeData','IUniverInstanceService','handleInsertCol','clsx','_imageIoService','next','_localCacheService','UNDEFINED','_ensureSubject','collabStatus.conflict','OTHER_CLIENTS_EDITING','deepClone','_collabSessionService','currentTheme$','focused$','body','generateRandomId','subscribe','_initCommandInterceptor','UniverUi','Tools','setItem','_initDependencies','fill','shareReplay','@univerjs/ui','_updateURLWithCurrentState','/universer-api/frontend/logs','Success','WECHAT_HAS_BEEN_BOUND','toString','getTypeOfUnitAdded$','_docTransformSelectionsService','_unitStatus','getSheetId','eventID','getMemberID','jiqing.500','contains','getRelativeToViewportCoord','SOCKET_FAILED_RETRY','?taskId=','SetSelectionsOperation','min','ISocketService','createIdentifier','onCommandExecuted','univerjs-icon\x20univerjs-icon-','saveTaskMap','START_CALCULATION','INTERNAL_ERROR','onStarting','hide','disableLocalCache','CollaborationController','div','getAncestorScale','permission.title','_revisionService','yellow.400','unshift','IMessageService','url(#$1','startRow','collab-rect-range-','then','_memberID','error','setParam','PY_RUNTIME_SCRIPT_ERROR','transformMutationsWithChangeset','ENTITLE_INVALID_COUPON_CODE','ENTITLE_INSUFFICIENT_QUOTA','pushState','show','Disposable','getOffsetConfig','formula.calculation.waiting','RefRangeService','0\x200\x2016\x2016','ENTITLE_CHAT_LIMIT_EXCEED','font','ENTITLE_COUPON_USED_UP','_showGuardMessage','_initEntityListener','handleMoveRange','createElement','textRanges','CollaborationSessionService','defs','off-line-icon','isActive','jsxs','syncEditingCollabCursor','subUnitId','filter','currentUsage','onPointerMove$','message','SetWorksheetActivateCommand','saveImage','CURRENT_STATUS_CANNOT_OPERATE','getActiveSheet','WebURLService','OnLineIcon','getLocalCacheKey','UniverDocs','fromEventSubject','NodePositionConvertToCursor','removeParam','BuiltInUIPart','_entities','USER_IS_ANONYMOUS','addHandlerCallback','REDEMPTION_USER_REDEEM_TIMES_EXCEED','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','[Unhandled\x20Rejection]:\x20','setAlpha','redoState','RxDisposable','YUUMI_ALL_TABLES_IS_INVALID','[LogService\x20Error]:\x20','getCurrent','OTHER_CLIENT_EDITING','InsertRowCommandId','_setupBeforeClosingHandler','IRemoteInstanceService','exhaustSavingTask','UNAUTHENTICATED','0\x200\x2017\x2016','@univerjs/sheets','now','UniverSheetsUi','IDocClipboardService','UniverInstanceType','newValue','_injector','RECT','key','actions','DocSkeletonManagerService','fillRule','_docSkeleton','limitInfo','getStateCache','enableLocalCache','getUniverSheetInstance','reconnect','435726RSjJsp','bottom','throttleTime','_color','_name','location','SHEET_VIEWPORT_KEY','all','1mKyGWx','undoState','arc','doc.mutation.rich-text-editing','lineTo','_initStatusComponent','EMAIL_VERIFY_CODE_MISMATCH','UPDATE_CURSOR','INVALID_INVITE_CODE','DocCollaborationEntity','entries','INVITE_CODE_ALREADY_BOUND','code','_docTransformIMECacheService','setConfig','isEditing','USER_NOT_FOUND','children','_cursors','DeleteRangeMoveUpCommandId','ILocalCacheService','NOT_COLLAB','_httpService','stringify','_cursorInfo$','_commandService','@univerjs/rpc','formula.calculation.unable','flatMap','USERS_LEAVE','collabStatus.notCollab','translate(.97)','_initWindowErrorListener','M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','/run/','_logService','DesktopCollaborationStatusDisplayController','handleInsertRow','uni.network.url-service','disposeUnit','Loading','ENTITLE_NEED_BILLING_ADDRESS','_collaborationSessionService','clipPath','_onRefRangeChange','LocaleService','FromArray','toDisposable','with','red.300','@univerjs/core','includes','ENTITLE_CAN_NOT_BUY_LOWER_OTP','UNRECOGNIZED','string','MOBILE_VERIFY_CODE_MISMATCH','_initUnhandledRejectionListener','loadUnit','idSuffix','getColor','Optional','debounce','Rect','ColorKit','22998chPQdI','CommandType','LICENSE_DISTRO_REJECTED','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','5332820BalGrM','NO_OTHER_CLIENTS_EDITING','handleInsertRangeMoveRight','ERROR_AGAIN','_updateLocalCursor','INVITE_CODE_HAS_BEEN_UES','getColorFromTheme','off-line-icon_clip0_910_343','activeSheet$','103826ACCKBP','useDependency','_sheetSkeletonManagerService','_lastResponseTimestamp','_docSyncEditingCollabCursorService','WebSocketService','socket$','Error','transformMutation','COLORS','SheetCollabCursorShape','InsertRangeMoveRightCommandId','3263574xxiJhW','from','text','registerDependencies','findNodePositionByCharIndex','Workbook','dispose$','13832meqmNH','@univerjs/engine-render','_docStateChangeManagerService','asObservable','pluginName','_uploadLog','CollaborationEvent','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','resize','type','YUUMI_ASYNCIO_CANCELLED','params','parseInt','_docClipboardService','_syncEditingCollabCursorService','SUBMIT_CHANGESET_TIMEOUT','_handleHover','_monkeyPatchLogService','getCoordByCell','getCellMatrix','sessionStatus$','_config','path','setShapeProps','UniverIcon','_entityInit$','DATA_SOURCE_TOO_LARGE','getVpScrollXYInfoByPosToVp','_context','_messageService','onTransformChange$','mergeOverrideWithDependencies','getCollabCursors$','LOGIN_TOKEN_PROCESSING_FAILED','_draw','_themeService','serializeRangeWithSheet','11dalQKp','_saveCache','substring','_heartbeatTimer','Failed','_transformHistoryAndStateStack','defineProperty','clearInterval','split','colorChannel1','_initUserListener','_getMergeRange','ILogService','status$','drawWith','INVITE_CODE_REQUIRED','attrs','JOIN_ROOM_FAILED','getValue','debug','SheetsSelectionsService','_getSessionTicket','CLOSE_ROOM','startsWith','dispose','_startDocCollabCursor','_univerInstanceService','react','none','docStateChange$','loadOfflineData','_render','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','m1Prime','parse','EMAIL_HAS_BEEN_BOUND','_onCursorUpdate','1em','NOT_FOUND','LOGIN_FAILED','_beforeCloseService','_labelPosition','_clearOtherTimers','APPLY_REVISION_CONFILICT','INVALID_ARGUMENT','whenReady','collab-text-range-','tag','http://www.w3.org/2000/svg','TRANSFORM_CHANGE_OBSERVABLE_TYPE','INotificationService','removeEventListener','ticket','React','range','InsertColCommandId','_backgroundColor','assignAColorForMemberID','assign','_getSheetObject','Warning','addObject','#FFF','roomMembers$','white','collab-client.tooltip.reconnect','xlink:href','getformulaLimitStatusUrl','useObservable','YUUMI_CONNECTOR_URL_NOT_FOUND','has','Plugin','...','useRef','_applyCommand','collabStatus.offline','_cursorShapes','PERMISSION_DENIED','_memberService','pipe','bind','stage','urlChange$','touchDependencies','SNAPSHOT_INVALID_SNAPSHOT','addEventListener','forEach','_hover','NodePositionConvertToRectRange','closePath','COMPLETION_FINISHED','result','_setFormulaLimitStatus','MOBILE_HAS_BEEN_BOUND','_hovered','AWAITING_WITH_PENDING','getCurrentRevOfUnit','collabStatus.synced','collaboration.closeRoom','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','enableFrontendLog','selection','SNAPSHOT_HAS_BEEN_REMOVED','_transformPreviousActiveRange','ICommandService','join','Unknown\x20user','_collabCursorState$','Inject','PAYMENT_CHANNEL_NOT_SUPPORT','_registerDependencies','executionId','collaboration.single-unit.warning','isFormulaId','_instanceService','requireSession','_getSaveTimeout','_colorIndex','jsx','_getAnchorBounding','replace','UNIVER_DOC','SYNCED','_handleEvent','wsSessionTicketUrl','_registerRenderDependencies','_init','Subject','_removeCollabCursors','getConfig','_anchor','APPLY_REJECT','_handleLeaveEvent','storage','_scene','_localStorageService','searchParams','collabCursorState$','_cursor','_checkAndWaitForCalculationPermission','data','restore','YUUMI_NO_CUBOID_FOR_QUESTION','SetFormulaCalculationNotificationMutation','source','_send','round','_removeClearOtherTimer','useCallback','mutations','handleIRemoveCol','OFFLINE','createSocket','@univerjs/design','_pollingInterval','_startSheetCollabCursor','_configService','transformSelections','transformIMECache','editingUnit','UniverNetwork','_dataLoaderService','MemberService','getViewport','registerRefRange','shift','M0\x200H16V16H0z','_toggleOnline','USER_NOT_INVITED_CODE','getMember','fillStyle','_taskIds','column','REDEMPTION_CODE_NOT_STARTED','send','toStringTag','subunit','getDocRanges','OffLineIcon','_getFormulaLimitStatus','AWAITING','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','blue.400','_disabled','size','replaceState','REDEMPTION_USER_NOT_ELIGIBLE','triggerDblclick','save','getParam','\x20at\x20','unitId','currentColor'];_0x3baa=function(){return _0x33e136;};return _0x3baa();}function _0x2541(_0x344a2e,_0x497b87){_0x344a2e=_0x344a2e-0x156;const _0x3baa6f=_0x3baa();let _0x254186=_0x3baa6f[_0x344a2e];return _0x254186;}(function(_0x2fdc2f,_0x25ab8e){const _0x266791=_0x2541,_0x127cc9=_0x2fdc2f();while(!![]){try{const _0x2fc396=-parseInt(_0x266791(0x20a))/0x1*(-parseInt(_0x266791(0x257))/0x2)+parseInt(_0x266791(0x24a))/0x3*(parseInt(_0x266791(0x15e))/0x4)+parseInt(_0x266791(0x425))/0x5*(-parseInt(_0x266791(0x263))/0x6)+parseInt(_0x266791(0x3df))/0x7*(parseInt(_0x266791(0x26a))/0x8)+-parseInt(_0x266791(0x202))/0x9+parseInt(_0x266791(0x24e))/0xa*(-parseInt(_0x266791(0x28f))/0xb)+-parseInt(_0x266791(0x394))/0xc*(-parseInt(_0x266791(0x378))/0xd);if(_0x2fc396===_0x25ab8e)break;else _0x127cc9['push'](_0x127cc9['shift']());}catch(_0x4dae59){_0x127cc9['push'](_0x127cc9['shift']());}}}(_0x3baa,0x46747),function(_0x5ce6d5,_0x4b07c7){const _0x427c7a=_0x2541;typeof exports==_0x427c7a(0x457)&&typeof module<'u'?_0x4b07c7(exports,require('react/jsx-runtime'),require('@univerjs-pro/collaboration-client'),require('@univerjs/core'),require('@univerjs/ui'),require('rxjs'),require('@univerjs/design'),require('react'),require('@univerjs/rpc'),require('@univerjs/sheets'),require('@univerjs/engine-render'),require('@univerjs/network'),require('@univerjs/docs-ui'),require('@univerjs/drawing'),require('@univerjs-pro/collaboration'),require('@univerjs/docs'),require('@univerjs/engine-formula'),require('rxjs/operators'),require('@univerjs/sheets-ui')):typeof define=='function'&&define['amd']?define([_0x427c7a(0x354),'react/jsx-runtime',_0x427c7a(0x35c),_0x427c7a(0x23c),_0x427c7a(0x187),'rxjs',_0x427c7a(0x328),_0x427c7a(0x2aa),_0x427c7a(0x224),_0x427c7a(0x1f0),_0x427c7a(0x26b),_0x427c7a(0x367),'@univerjs/docs-ui','@univerjs/drawing','@univerjs-pro/collaboration',_0x427c7a(0x3bc),_0x427c7a(0x36c),_0x427c7a(0x3e2),'@univerjs/sheets-ui'],_0x4b07c7):(_0x5ce6d5=typeof globalThis<'u'?globalThis:_0x5ce6d5||self,_0x4b07c7(_0x5ce6d5[_0x427c7a(0x3c0)]={},_0x5ce6d5[_0x427c7a(0x2c4)],_0x5ce6d5['UniverProCollaborationClient'],_0x5ce6d5['UniverCore'],_0x5ce6d5[_0x427c7a(0x181)],_0x5ce6d5['rxjs'],_0x5ce6d5[_0x427c7a(0x3d6)],_0x5ce6d5['React'],_0x5ce6d5[_0x427c7a(0x3e0)],_0x5ce6d5[_0x427c7a(0x3a2)],_0x5ce6d5[_0x427c7a(0x382)],_0x5ce6d5[_0x427c7a(0x32f)],_0x5ce6d5[_0x427c7a(0x372)],_0x5ce6d5[_0x427c7a(0x458)],_0x5ce6d5[_0x427c7a(0x396)],_0x5ce6d5[_0x427c7a(0x1d8)],_0x5ce6d5['UniverEngineFormula'],_0x5ce6d5[_0x427c7a(0x448)]['operators'],_0x5ce6d5[_0x427c7a(0x1f2)]));}(this,function(_0x38ae7f,_0x570dfc,_0x2cb61c,_0x295c8f,_0x189b11,_0x58c226,_0x599761,_0x1da277,_0x7417fd,_0x11cdbd,_0x8db91b,_0x17ac2f,_0x442538,_0x4b8ddd,_0x143a87,_0x400651,_0x218d3f,_0x2157b5,_0x2cd116){'use strict';const _0xce3cd0=_0x2541;var _0x1c3367=Object[_0xce3cd0(0x295)],_0x5b410a=(_0x2f6180,_0x2530f0,_0x178bb9)=>_0x2530f0 in _0x2f6180?_0x1c3367(_0x2f6180,_0x2530f0,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x178bb9}):_0x2f6180[_0x2530f0]=_0x178bb9,_0xef452e=(_0x258610,_0x196e84,_0x7a3c5a)=>_0x5b410a(_0x258610,typeof _0x196e84!=_0xce3cd0(0x415)?_0x196e84+'':_0x196e84,_0x7a3c5a);function _0x560a56({ref:_0x3b1c20,..._0x39b95c}){const _0x18fe57=_0xce3cd0,{icon:_0x1f5bfa,id:_0x3654eb,className:_0x43f195,extend:_0x38fb1c,..._0x513c63}=_0x39b95c,_0x12704a=(_0x18fe57(0x19d)+_0x3654eb+'\x20'+(_0x43f195||''))[_0x18fe57(0x35d)](),_0x4c875d=_0x1da277[_0x18fe57(0x2d8)]('_'+_0x25432b());return _0x311bbf(_0x1f5bfa,''+_0x3654eb,{'defIds':_0x1f5bfa[_0x18fe57(0x38e)],'idSuffix':_0x4c875d['current']},{'ref':_0x3b1c20,'className':_0x12704a,..._0x513c63},_0x38fb1c);}function _0x311bbf(_0xe8b092,_0x79142f,_0x5020b5,_0x4a9745,_0x26b3bf){const _0x5729a0=_0xce3cd0;return _0x1da277['createElement'](_0xe8b092[_0x5729a0(0x2be)],{'key':_0x79142f,..._0x4634b7(_0xe8b092,_0x5020b5,_0x26b3bf),..._0x4a9745},(_0x1c1334(_0xe8b092,_0x5020b5)['children']||[])[_0x5729a0(0x16b)]((_0x115a84,_0x3d96b0)=>_0x311bbf(_0x115a84,_0x79142f+'-'+_0xe8b092[_0x5729a0(0x2be)]+'-'+_0x3d96b0,_0x5020b5,void 0x0,_0x26b3bf)));}function _0x4634b7(_0x992174,_0x48ef73,_0x4c4972){const _0x1765f2=_0xce3cd0,_0x48c989={..._0x992174['attrs']};_0x4c4972!=null&&_0x4c4972[_0x1765f2(0x298)]&&_0x48c989[_0x1765f2(0x185)]===_0x1765f2(0x298)&&(_0x48c989[_0x1765f2(0x185)]=_0x4c4972['colorChannel1']),_0x992174['tag']==='mask'&&_0x48c989['id']&&(_0x48c989['id']=_0x48c989['id']+_0x48ef73['idSuffix']),Object[_0x1765f2(0x214)](_0x48c989)['forEach'](([_0x543204,_0x514cfc])=>{const _0x343ffe=_0x1765f2;_0x543204===_0x343ffe(0x430)&&typeof _0x514cfc==_0x343ffe(0x240)&&(_0x48c989[_0x543204]=_0x514cfc[_0x343ffe(0x307)](/url\(#(.*)\)/,_0x343ffe(0x1ac)+_0x48ef73[_0x343ffe(0x244)]+')'));});const {defIds:_0x264fdb}=_0x48ef73;return!_0x264fdb||_0x264fdb['length']===0x0||(_0x992174[_0x1765f2(0x2be)]==='use'&&_0x48c989['xlink:href']&&(_0x48c989[_0x1765f2(0x2d1)]=_0x48c989[_0x1765f2(0x2d1)]+_0x48ef73['idSuffix']),Object['entries'](_0x48c989)[_0x1765f2(0x2e5)](([_0x1f9d62,_0x1db705])=>{const _0x1e6781=_0x1765f2;typeof _0x1db705==_0x1e6781(0x240)&&(_0x48c989[_0x1f9d62]=_0x1db705[_0x1e6781(0x307)](/url\(#(.*)\)/,_0x1e6781(0x1ac)+_0x48ef73[_0x1e6781(0x244)]+')'));})),_0x48c989;}function _0x1c1334(_0x1c1131,_0x5efee3){const _0x1dd976=_0xce3cd0;var _0x4a6777;const {defIds:_0x6e0810}=_0x5efee3;return!_0x6e0810||_0x6e0810[_0x1dd976(0x37b)]===0x0?_0x1c1131:_0x1c1131[_0x1dd976(0x2be)]===_0x1dd976(0x1c7)&&((_0x4a6777=_0x1c1131[_0x1dd976(0x21b)])!=null&&_0x4a6777[_0x1dd976(0x37b)])?{..._0x1c1131,'children':_0x1c1131['children'][_0x1dd976(0x16b)](_0x1969ad=>typeof _0x1969ad[_0x1dd976(0x29f)]['id']==_0x1dd976(0x240)&&_0x6e0810&&_0x6e0810[_0x1dd976(0x23d)](_0x1969ad['attrs']['id'])?{..._0x1969ad,'attrs':{..._0x1969ad[_0x1dd976(0x29f)],'id':_0x1969ad[_0x1dd976(0x29f)]['id']+_0x5efee3[_0x1dd976(0x244)]}}:_0x1969ad)}:_0x1c1131;}function _0x25432b(){const _0x4e4452=_0xce3cd0;return Math[_0x4e4452(0x157)]()[_0x4e4452(0x18c)](0x24)[_0x4e4452(0x291)](0x2,0x8);}_0x560a56['displayName']=_0xce3cd0(0x282);const _0x5cf04b={'tag':'svg','attrs':{'xmlns':_0xce3cd0(0x2bf),'fill':'none','viewBox':_0xce3cd0(0x1bd),'width':_0xce3cd0(0x2b4),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-icon_clip0_910_343)'},'children':[{'tag':'path','attrs':{'stroke':'currentColor','d':_0xce3cd0(0x352),'strokeLinecap':_0xce3cd0(0x321),'strokeLinejoin':_0xce3cd0(0x321),'strokeWidth':1.2}}]},{'tag':_0xce3cd0(0x1c7),'attrs':{},'children':[{'tag':_0xce3cd0(0x235),'attrs':{'id':_0xce3cd0(0x255)},'children':[{'tag':_0xce3cd0(0x280),'attrs':{'fill':_0xce3cd0(0x2cf),'d':_0xce3cd0(0x335)}}]}]}],'defIds':[_0xce3cd0(0x255)]},_0x3442da=_0x1da277['forwardRef'](function(_0x1d0ccd,_0x3f4f9f){const _0x3a408f=_0xce3cd0;return _0x1da277[_0x3a408f(0x1c4)](_0x560a56,Object[_0x3a408f(0x2c9)]({},_0x1d0ccd,{'id':_0x3a408f(0x1c8),'ref':_0x3f4f9f,'icon':_0x5cf04b}));});_0x3442da[_0xce3cd0(0x3b0)]=_0xce3cd0(0x341);const _0x229194={'tag':_0xce3cd0(0x403),'attrs':{'xmlns':_0xce3cd0(0x2bf),'fill':_0xce3cd0(0x2ab),'viewBox':_0xce3cd0(0x1ef),'width':_0xce3cd0(0x2b4),'height':_0xce3cd0(0x2b4)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':_0xce3cd0(0x280),'attrs':{'stroke':_0xce3cd0(0x350),'d':_0xce3cd0(0x22b),'strokeLinecap':'round','strokeLinejoin':_0xce3cd0(0x321),'strokeWidth':1.2}}]},{'tag':_0xce3cd0(0x1c7),'attrs':{},'children':[{'tag':_0xce3cd0(0x235),'attrs':{'id':'on-line-icon_clip0_910_349'},'children':[{'tag':'path','attrs':{'fill':_0xce3cd0(0x2cf),'d':_0xce3cd0(0x335),'transform':_0xce3cd0(0x229)}}]}]}],'defIds':[_0xce3cd0(0x3a0)]},_0x15f857=_0x1da277['forwardRef'](function(_0x3f113f,_0x29ce2d){const _0x4b5b69=_0xce3cd0;return _0x1da277[_0x4b5b69(0x1c4)](_0x560a56,Object['assign']({},_0x3f113f,{'id':_0x4b5b69(0x384),'ref':_0x29ce2d,'icon':_0x229194}));});_0x15f857['displayName']=_0xce3cd0(0x1d6);function _0x47a3ee(_0x32a102){const _0x28b2d6=_0xce3cd0;switch(_0x32a102){case _0x2cb61c[_0x28b2d6(0x36d)]['OFFLINE']:return _0x28b2d6(0x2da);case _0x2cb61c[_0x28b2d6(0x36d)][_0x28b2d6(0x36b)]:return _0x28b2d6(0x177);case _0x2cb61c[_0x28b2d6(0x36d)][_0x28b2d6(0x362)]:return'collabStatus.fetchMiss';case _0x2cb61c['CollaborationStatus'][_0x28b2d6(0x21f)]:return _0x28b2d6(0x228);case _0x2cb61c[_0x28b2d6(0x36d)][_0x28b2d6(0x343)]:case _0x2cb61c[_0x28b2d6(0x36d)][_0x28b2d6(0x2ee)]:return'collabStatus.syncing';case _0x2cb61c[_0x28b2d6(0x36d)][_0x28b2d6(0x309)]:case _0x2cb61c[_0x28b2d6(0x36d)][_0x28b2d6(0x3ca)]:return _0x28b2d6(0x2f0);}}function _0x4d60d6(_0x23147d){const _0x1098d2=_0xce3cd0,{status$:_0x2c7db2}=_0x23147d,_0x21de82=_0x189b11[_0x1098d2(0x2d3)](_0x2c7db2,_0x2cb61c['CollaborationStatus']['NOT_COLLAB']),_0x457364=_0x189b11[_0x1098d2(0x258)](_0x295c8f[_0x1098d2(0x237)]),_0x51237f=_0x189b11[_0x1098d2(0x258)](_0x2cb61c['CollaborationSessionService']),_0x258b5a=_0x21de82!==_0x2cb61c['CollaborationStatus'][_0x1098d2(0x326)],_0x72a7a3=_0x457364['t'](_0x47a3ee(_0x21de82)),_0x39c5b2=_0x258b5a?_0x570dfc[_0x1098d2(0x305)](_0x15f857,{}):_0x570dfc['jsx'](_0x3442da,{}),_0x5d80c2=_0x1da277[_0x1098d2(0x323)](()=>{const _0x35866b=_0x1098d2;_0x258b5a||_0x51237f[_0x35866b(0x201)]();},[_0x258b5a,_0x51237f]);function _0x338f51(){const _0x36fa44=_0x1098d2;return _0x570dfc[_0x36fa44(0x1ca)](_0x36fa44(0x1a5),{'className':_0x36fa44(0x421),'onClick':_0x5d80c2,'children':[_0x570dfc[_0x36fa44(0x305)](_0x36fa44(0x1a5),{'className':_0x599761[_0x36fa44(0x171)](_0x36fa44(0x164),{'univer-text-green-500':_0x258b5a,'univer-text-red-500':!_0x258b5a}),'children':_0x39c5b2}),_0x570dfc['jsx']('div',{'className':_0x36fa44(0x2f2),'children':_0x72a7a3})]});}return _0x258b5a?_0x338f51():_0x570dfc[_0x1098d2(0x305)](_0x599761['Tooltip'],{'title':_0x457364['t'](_0x1098d2(0x2d0)),'children':_0x338f51()});}var _0x2bf1d4=Object['getOwnPropertyDescriptor'],_0x2f4e5a=(_0x51df83,_0xff25b7,_0x4dc27e,_0x519b05)=>{const _0x2a74e3=_0xce3cd0;for(var _0x873441=_0x519b05>0x1?void 0x0:_0x519b05?_0x2bf1d4(_0xff25b7,_0x4dc27e):_0xff25b7,_0x4d2eeb=_0x51df83[_0x2a74e3(0x37b)]-0x1,_0x6ce820;_0x4d2eeb>=0x0;_0x4d2eeb--)(_0x6ce820=_0x51df83[_0x4d2eeb])&&(_0x873441=_0x6ce820(_0x873441)||_0x873441);return _0x873441;},_0xb60812=(_0x541ffe,_0x46e1d8)=>(_0x35e9ee,_0x50d82d)=>_0x46e1d8(_0x35e9ee,_0x50d82d,_0x541ffe);_0x38ae7f[_0xce3cd0(0x22e)]=class extends _0x295c8f[_0xce3cd0(0x1b9)]{constructor(_0x4d1e10,_0x22aab9,_0x290282,_0x515c91){const _0x48b9d5=_0xce3cd0;super(),_0xef452e(this,_0x48b9d5(0x414),new _0x58c226[(_0x48b9d5(0x43b))](_0x2cb61c[_0x48b9d5(0x36d)][_0x48b9d5(0x21f)])),(this['_univerInstanceService']=_0x4d1e10,this['_injector']=_0x22aab9,this[_0x48b9d5(0x392)]=_0x290282,this['_uiPartsService']=_0x515c91,this[_0x48b9d5(0x20f)](),this[_0x48b9d5(0x420)]());}['_initStatusListener'](){const _0x21fe57=_0xce3cd0;this[_0x21fe57(0x43c)](this[_0x21fe57(0x2a9)][_0x21fe57(0x17c)][_0x21fe57(0x2de)](_0x58c226[_0x21fe57(0x3e6)](()=>{const _0x286078=_0x21fe57,_0x518cd8=this[_0x286078(0x2a9)][_0x286078(0x438)]();return _0x518cd8?this[_0x286078(0x392)]['getCollabEntity$'](_0x518cd8['getUnitId']()):_0x58c226['of'](null);}),_0x58c226['switchMap'](_0x494e26=>_0x494e26?_0x494e26[_0x21fe57(0x29c)]:_0x58c226['of'](_0x2cb61c[_0x21fe57(0x36d)]['NOT_COLLAB'])))[_0x21fe57(0x17f)](_0x401801=>{const _0x5aa6ca=_0x21fe57;this[_0x5aa6ca(0x414)][_0x5aa6ca(0x173)](_0x401801);}));}['_initStatusComponent'](){const _0x377740=_0xce3cd0;this[_0x377740(0x43c)](this[_0x377740(0x453)]['registerComponent'](_0x189b11[_0x377740(0x1dc)]['HEADER_MENU'],()=>_0x189b11['connectInjector'](_0x108cd4({'status$':this[_0x377740(0x414)][_0x377740(0x26d)]()}),this[_0x377740(0x1f6)])));}},_0x38ae7f['DesktopCollaborationStatusDisplayController']=_0x2f4e5a([_0xb60812(0x0,_0x295c8f[_0xce3cd0(0x16f)]),_0xb60812(0x1,_0x295c8f[_0xce3cd0(0x2fb)](_0x295c8f[_0xce3cd0(0x405)])),_0xb60812(0x2,_0x295c8f[_0xce3cd0(0x2fb)](_0x2cb61c[_0xce3cd0(0x1a4)])),_0xb60812(0x3,_0x189b11['IUIPartsService'])],_0x38ae7f[_0xce3cd0(0x22e)]);function _0x108cd4(_0x580c6c){const {status$:_0x3a8352}=_0x580c6c;return function(){return _0x570dfc['jsx'](_0x4d60d6,{'status$':_0x3a8352});};}const _0x4d5ea0=_0x295c8f[_0xce3cd0(0x19b)](_0xce3cd0(0x230));var _0x3b67c1=Object[_0xce3cd0(0x3e7)],_0x384cd0=(_0x1ca008,_0x486cd4,_0xd4ff55,_0x506de4)=>{for(var _0x5ac656=_0x506de4>0x1?void 0x0:_0x506de4?_0x3b67c1(_0x486cd4,_0xd4ff55):_0x486cd4,_0x460ef0=_0x1ca008['length']-0x1,_0x180d62;_0x460ef0>=0x0;_0x460ef0--)(_0x180d62=_0x1ca008[_0x460ef0])&&(_0x5ac656=_0x180d62(_0x5ac656)||_0x5ac656);return _0x5ac656;},_0x27661a=(_0x185e58,_0x2b0249)=>(_0xfb613b,_0xacbd9b)=>_0x2b0249(_0xfb613b,_0xacbd9b,_0x185e58);_0x38ae7f[_0xce3cd0(0x3a3)]=class extends _0x295c8f[_0xce3cd0(0x1e5)]{constructor(_0xa0ce4f,_0x87f400,_0x4dd0ed,_0x44f84a,_0x4731d6){const _0xb482b5=_0xce3cd0;super(),this[_0xb482b5(0x456)]=_0xa0ce4f,this['_logService']=_0x87f400,this[_0xb482b5(0x223)]=_0x4dd0ed,this[_0xb482b5(0x330)]=_0x44f84a,_0x4731d6?_0x4731d6==null||_0x4731d6[_0xb482b5(0x2bc)]()['then'](()=>this[_0xb482b5(0x30d)]()):(this[_0xb482b5(0x22d)][_0xb482b5(0x2a2)](_0xb482b5(0x424),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this['_init']());}async[_0xce3cd0(0x30d)](){const _0x4cf117=_0xce3cd0,_0x411d4f=this['_urlService']['getParam'](_0x4cf117(0x429)),_0x7c6cdb=this[_0x4cf117(0x456)][_0x4cf117(0x34d)](_0x4cf117(0x273)),_0x53852f=this[_0x4cf117(0x456)][_0x4cf117(0x34d)](_0x4cf117(0x33f));if(!_0x411d4f||!_0x7c6cdb){this[_0x4cf117(0x22d)][_0x4cf117(0x2a2)](_0x4cf117(0x424),_0x4cf117(0x43d));return;}const _0x3ab63a=await this[_0x4cf117(0x330)][_0x4cf117(0x243)](_0x411d4f,Number(_0x7c6cdb),_0x53852f);_0x3ab63a&&_0x3ab63a instanceof _0x295c8f[_0x4cf117(0x268)]&&this['_setupSubUnitSync'](_0x3ab63a);}async[_0xce3cd0(0x3b4)](_0xa8dc5b){const _0xf05fd9=_0xce3cd0;await this[_0xf05fd9(0x3f5)](_0xa8dc5b),_0xa8dc5b[_0xf05fd9(0x256)][_0xf05fd9(0x2de)](_0x58c226[_0xf05fd9(0x15a)](this[_0xf05fd9(0x269)]))[_0xf05fd9(0x17f)](_0x4fa9ab=>{const _0x2574cb=_0xf05fd9;_0x4fa9ab&&this[_0x2574cb(0x188)](_0x4fa9ab);}),this[_0xf05fd9(0x456)][_0xf05fd9(0x2e1)][_0xf05fd9(0x2de)](_0x58c226[_0xf05fd9(0x15a)](this[_0xf05fd9(0x269)]))[_0xf05fd9(0x17f)](()=>this['_updateSubUnitFromURLParams'](_0xa8dc5b));}[_0xce3cd0(0x188)](_0x4ae39f,_0x39726d=!0x1){const _0x24706b=_0xce3cd0,_0x4e2c71=this[_0x24706b(0x456)][_0x24706b(0x34d)](_0x24706b(0x33f));_0x4ae39f[_0x24706b(0x190)]()!==_0x4e2c71&&this['_urlService'][_0x24706b(0x1b2)]('subunit',_0x4ae39f[_0x24706b(0x190)](),_0x39726d);}async[_0xce3cd0(0x3f5)](_0x35d3a5){const _0x500e28=_0xce3cd0;var _0x546259;const _0x29a19f=this['_urlService'][_0x500e28(0x34d)](_0x500e28(0x33f));if(!_0x29a19f||!_0x35d3a5[_0x500e28(0x411)](_0x29a19f)){const _0x26c149=_0x35d3a5[_0x500e28(0x36a)]()[0x0],_0x4d501c=_0x35d3a5['getSheetBySheetId'](_0x26c149);if(!_0x4d501c)return;this[_0x500e28(0x188)](_0x4d501c,!0x0),await this[_0x500e28(0x223)][_0x500e28(0x37e)](_0x11cdbd[_0x500e28(0x1d1)]['id'],{'unitId':_0x35d3a5[_0x500e28(0x41d)](),'subUnitId':_0x26c149});return;}((_0x546259=_0x35d3a5[_0x500e28(0x1d4)]())==null?void 0x0:_0x546259[_0x500e28(0x190)]())!==_0x29a19f&&await this['_commandService'][_0x500e28(0x37e)](_0x11cdbd[_0x500e28(0x1d1)]['id'],{'unitId':_0x35d3a5['getUnitId'](),'subUnitId':_0x29a19f});}},_0x38ae7f['CollaborationDataLoaderController']=_0x384cd0([_0x27661a(0x0,_0x4d5ea0),_0x27661a(0x1,_0x295c8f['ILogService']),_0x27661a(0x2,_0x295c8f[_0xce3cd0(0x2f7)]),_0x27661a(0x3,_0x295c8f[_0xce3cd0(0x2fb)](_0x2cb61c['DataLoaderService'])),_0x27661a(0x4,_0x295c8f[_0xce3cd0(0x246)](_0x7417fd[_0xce3cd0(0x1ec)]))],_0x38ae7f[_0xce3cd0(0x3a3)]);var _0x4160b3=Object[_0xce3cd0(0x3e7)],_0x2cddee=(_0x287b73,_0x4f6173,_0x48b3bc,_0x262c78)=>{const _0x3248dc=_0xce3cd0;for(var _0x58e23a=_0x262c78>0x1?void 0x0:_0x262c78?_0x4160b3(_0x4f6173,_0x48b3bc):_0x4f6173,_0x16d628=_0x287b73[_0x3248dc(0x37b)]-0x1,_0x15793d;_0x16d628>=0x0;_0x16d628--)(_0x15793d=_0x287b73[_0x16d628])&&(_0x58e23a=_0x15793d(_0x58e23a)||_0x58e23a);return _0x58e23a;},_0x4d8e59=(_0x701ee4,_0x1fa068)=>(_0x5ca488,_0x54efbc)=>_0x1fa068(_0x5ca488,_0x54efbc,_0x701ee4);let _0x2605d0=class extends _0x295c8f[_0xce3cd0(0x1e5)]{constructor(_0x39f5bb,_0x4ffb92){const _0x10fd28=_0xce3cd0;super(),this[_0x10fd28(0x277)]=_0x39f5bb,this[_0x10fd28(0x172)]=_0x4ffb92,this['_init']();}[_0xce3cd0(0x30d)](){const _0x52db43=_0xce3cd0,_0x42a989=this;this[_0x52db43(0x43c)](this[_0x52db43(0x277)][_0x52db43(0x41f)]({'onBeforePasteImage':async _0x35389a=>{const _0x30d229=_0x52db43,_0x5e629a=await _0x42a989[_0x30d229(0x172)][_0x30d229(0x1d2)](_0x35389a);return _0x5e629a?{'source':_0x5e629a[_0x30d229(0x31f)],'imageSourceType':_0x5e629a['imageSourceType']}:null;}}));}};_0x2605d0=_0x2cddee([_0x4d8e59(0x0,_0x442538[_0xce3cd0(0x1f3)]),_0x4d8e59(0x1,_0x4b8ddd['IImageIoService'])],_0x2605d0);const _0x26d105=['purple.300',_0xce3cd0(0x193),'green.600',_0xce3cd0(0x23b),_0xce3cd0(0x346),_0xce3cd0(0x1a9)];class _0x12f6f6 extends _0x295c8f[_0xce3cd0(0x1b9)]{constructor(){const _0x2c32aa=_0xce3cd0;super(...arguments),_0xef452e(this,_0x2c32aa(0x351),new Map()),_0xef452e(this,'_colorIndex',0x0);}['assignAColorForMemberID'](_0x31656d){const _0x51630d=_0xce3cd0;if(this[_0x51630d(0x351)]['has'](_0x31656d))return this[_0x51630d(0x351)][_0x51630d(0x3fa)](_0x31656d);const _0x9e8588=_0x26d105[this['_colorIndex']];return this[_0x51630d(0x304)]=(this[_0x51630d(0x304)]+0x1)%_0x26d105[_0x51630d(0x37b)],this[_0x51630d(0x351)][_0x51630d(0x427)](_0x31656d,_0x9e8588),_0x9e8588;}}function _0x301d3e(_0x2a7732){const _0x47ba29=_0xce3cd0;let _0xa87218='';for(const _0x25d0e0 of _0x2a7732){const {startOffset:_0x3c17ae,endOffset:_0x33cdea,isActive:_0xbe2799,rangeType:_0x11584d,segmentId:_0x2b3d10,segmentPage:_0x5dd8d7}=_0x25d0e0;_0xa87218[_0x47ba29(0x37b)]&&(_0xa87218+=','),_0xa87218+=_0x3c17ae+':'+_0x33cdea+':'+(_0xbe2799?'1':'0')+':'+_0x11584d+':'+_0x2b3d10+':'+_0x5dd8d7;}return _0xa87218;}function _0x1cba71(_0x34de07){const _0xed982c=_0xce3cd0,_0xea47b8=_0x34de07[_0xed982c(0x297)](','),_0x32baa9=[];for(const _0x1c9e4b of _0xea47b8){const [_0x2e637b,_0x29ec4a,_0x1e76dd,_0x220286,_0x5e945b,_0xdb14be]=_0x1c9e4b[_0xed982c(0x297)](':');_0x32baa9['push']({'startOffset':Number(_0x2e637b),'endOffset':Number(_0x29ec4a),'collapsed':_0x2e637b===_0x29ec4a,'isActive':_0x1e76dd==='1','rangeType':_0x220286===_0x295c8f[_0xed982c(0x3b3)][_0xed982c(0x167)]?_0x295c8f[_0xed982c(0x3b3)]['TEXT']:_0x295c8f[_0xed982c(0x3b3)][_0xed982c(0x1f7)],'segmentId':typeof _0x5e945b==_0xed982c(0x240)?String(_0x5e945b):'','segmentPage':Number(_0xdb14be!=null?_0xdb14be:-0x1)});}return _0x32baa9[_0xed982c(0x3db)](_0x7e5f22=>_0x7e5f22['isActive'])||(_0x32baa9[0x0][_0xed982c(0x1c9)]=!0x0),_0x32baa9;}class _0x109a2a extends _0x295c8f[_0xce3cd0(0x1e5)]{constructor(){const _0x5b5dfb=_0xce3cd0;super(...arguments),_0xef452e(this,_0x5b5dfb(0x2fa),new _0x58c226[(_0x5b5dfb(0x43b))](null)),_0xef452e(this,_0x5b5dfb(0x318),this['_collabCursorState$']['asObservable']());}[_0xce3cd0(0x1cb)](_0x1d9841){const _0x3b6f57=_0xce3cd0,{unitID:_0x2f7729,memberID:_0x378cc9,textRanges:_0x77624d}=_0x1d9841,_0x551550=_0x301d3e(_0x77624d);if(_0x551550==='')return;const _0x8dc6b7={'unitID':_0x2f7729,'memberID':_0x378cc9,'selection':_0x551550};this[_0x3b6f57(0x2fa)][_0x3b6f57(0x173)](_0x8dc6b7);}}var _0x1217a1=Object['getOwnPropertyDescriptor'],_0x17d20c=(_0x1b0406,_0x1ba3d1,_0x15e698,_0x3b0887)=>{const _0x48d89f=_0xce3cd0;for(var _0x629fc0=_0x3b0887>0x1?void 0x0:_0x3b0887?_0x1217a1(_0x1ba3d1,_0x15e698):_0x1ba3d1,_0x4f8ed5=_0x1b0406[_0x48d89f(0x37b)]-0x1,_0x39c88f;_0x4f8ed5>=0x0;_0x4f8ed5--)(_0x39c88f=_0x1b0406[_0x4f8ed5])&&(_0x629fc0=_0x39c88f(_0x629fc0)||_0x629fc0);return _0x629fc0;},_0x2aea2f=(_0x23c91b,_0x57ba93)=>(_0x34969c,_0x2da253)=>_0x57ba93(_0x34969c,_0x2da253,_0x23c91b);const _0x25d219=0x12c,_0x37b944=0x64;let _0x26931f=class extends _0x295c8f[_0xce3cd0(0x1e5)]{constructor(_0x28613b,_0x253918,_0x4a49c4,_0x7cec1d,_0x17315a,_0x53e097,_0x272aca,_0x1f6afa,_0x3b0f0b){const _0x12baa6=_0xce3cd0;super(),_0xef452e(this,_0x12baa6(0x452),!0x1),_0xef452e(this,_0x12baa6(0x30d),!0x1),_0xef452e(this,'_cursorInfo$',new _0x58c226[(_0x12baa6(0x43b))](new Map())),_0xef452e(this,'cursorInfo$',this[_0x12baa6(0x222)]['asObservable']()),_0xef452e(this,_0x12baa6(0x37f),new _0x58c226['BehaviorSubject']([])),_0xef452e(this,_0x12baa6(0x2ce),this[_0x12baa6(0x37f)][_0x12baa6(0x2de)](_0x58c226['debounceTime'](_0x25d219))),_0xef452e(this,'_updateLocalCursor',_0x295c8f['debounce'](_0x376dfb=>{const _0x3132e1=_0x12baa6,_0xc36cba={'eventID':_0x143a87[_0x3132e1(0x270)][_0x3132e1(0x211)],'data':{'unitID':this[_0x3132e1(0x445)],'memberID':this['_session'][_0x3132e1(0x192)](),'selection':_0x301d3e(_0x376dfb)}};this[_0x3132e1(0x3d1)]['send'](_0xc36cba,this[_0x3132e1(0x445)]);},_0x37b944)),(this[_0x12baa6(0x445)]=_0x28613b,this[_0x12baa6(0x3d1)]=_0x253918,this['_injector']=_0x4a49c4,this[_0x12baa6(0x3c8)]=_0x7cec1d,this[_0x12baa6(0x2dd)]=_0x17315a,this[_0x12baa6(0x278)]=_0x53e097,this[_0x12baa6(0x3d4)]=_0x272aca,this[_0x12baa6(0x2a9)]=_0x1f6afa,this[_0x12baa6(0x223)]=_0x3b0f0b);}get['cursorInfo'](){const _0x207a68=_0xce3cd0;return this[_0x207a68(0x222)][_0x207a68(0x2a1)]();}get[_0xce3cd0(0x3d2)](){const _0x41a265=_0xce3cd0;return this[_0x41a265(0x37f)]['getValue']();}[_0xce3cd0(0x2a7)](){const _0x4dc6f3=_0xce3cd0;super['dispose'](),this[_0x4dc6f3(0x222)][_0x4dc6f3(0x173)](new Map()),this['_cursorInfo$'][_0x4dc6f3(0x3f8)](),this['_roomMembers$'][_0x4dc6f3(0x173)]([]),this[_0x4dc6f3(0x37f)][_0x4dc6f3(0x3f8)]();}[_0xce3cd0(0x402)](){const _0x389281=_0xce3cd0;this[_0x389281(0x30d)]||(this[_0x389281(0x30d)]=!0x0,this[_0x389281(0x3d1)][_0x389281(0x27e)][_0x389281(0x2de)](_0x58c226[_0x389281(0x15a)](this[_0x389281(0x269)]))[_0x389281(0x17f)](_0xd2abc8=>{const _0x452aa0=_0x389281;_0xd2abc8===_0x2cb61c[_0x452aa0(0x39f)][_0x452aa0(0x3e3)]?this[_0x452aa0(0x336)]():this['_toggleOffline']();}),this[_0x389281(0x3d1)][_0x389281(0x449)][_0x389281(0x2de)](_0x58c226[_0x389281(0x15a)](this['dispose$']))[_0x389281(0x17f)](_0x1a1bd6=>{const _0x1d3061=_0x389281,_0x169643=_0x1a1bd6[_0x1d3061(0x191)];_0x169643===_0x143a87[_0x1d3061(0x270)]['UPDATE_CURSOR']&&this[_0x1d3061(0x2b3)](_0x1a1bd6),_0x169643===_0x143a87[_0x1d3061(0x270)][_0x1d3061(0x227)]&&this[_0x1d3061(0x41c)](_0x1a1bd6);}),this['disposeWithMe'](this[_0x389281(0x223)]['onCommandExecuted'](_0x4cc502=>{const _0x336d7e=_0x389281,_0x391e47=_0x4cc502[_0x336d7e(0x275)];_0x391e47!=null&&this['_online']&&_0x4cc502['id']===_0x400651[_0x336d7e(0x3c6)]['id']&&_0x391e47[_0x336d7e(0x34f)]===this[_0x336d7e(0x445)]&&_0x391e47[_0x336d7e(0x219)]===!0x1&&_0x391e47[_0x336d7e(0x416)]['length']>0x0&&this['_updateLocalCursor'](_0x391e47[_0x336d7e(0x416)]);})),this[_0x389281(0x278)]['collabCursorState$'][_0x389281(0x2de)](_0x58c226[_0x389281(0x15a)](this[_0x389281(0x269)]))[_0x389281(0x17f)](_0x5cfe4a=>{const _0xbb4229=_0x389281;if((_0x5cfe4a==null?void 0x0:_0x5cfe4a['unitID'])!==this[_0xbb4229(0x445)])return;const _0x55800a={'eventID':_0x143a87[_0xbb4229(0x270)][_0xbb4229(0x211)],'data':_0x5cfe4a};this[_0xbb4229(0x2b3)](_0x55800a);}),this[_0x389281(0x43c)](this['_commandService']['onCommandExecuted'](_0xd1e073=>{const _0x34db72=_0x389281;if(_0xd1e073[_0x34db72(0x275)]==null)return;const _0x88da28=_0xd1e073[_0x34db72(0x275)];if(_0xd1e073['id']!==_0x400651['RichTextEditingMutation']['id']||_0x88da28[_0x34db72(0x34f)]!==this[_0x34db72(0x445)])return;const _0x5d772e={'id':_0x34db72(0x20d),'params':_0x88da28},_0xa7a6bc=this[_0x34db72(0x386)];for(const [_0x509664,_0x5b37b4]of _0xa7a6bc){const _0x4cba2c={'id':_0x34db72(0x20d),'params':{'unitId':this[_0x34db72(0x445)],'actions':null,'textRanges':_0x5b37b4[_0x34db72(0x416)]}},_0x1efc27=this[_0x34db72(0x3d4)][_0x34db72(0x25f)](_0x5d772e,_0x4cba2c,!0x1);if(_0x143a87[_0x34db72(0x44d)](_0x1efc27))throw _0x1efc27[_0x34db72(0x1b1)];_0xa7a6bc[_0x34db72(0x427)](_0x509664,{..._0x5b37b4,'ranges':_0x1efc27[_0x34db72(0x40c)][_0x34db72(0x275)][_0x34db72(0x1c5)]});}queueMicrotask(()=>{const _0x3cc0c0=_0x34db72;this[_0x3cc0c0(0x222)][_0x3cc0c0(0x173)](_0xa7a6bc);});})));}['_onCursorUpdate'](_0x206e92){const _0x205c61=_0xce3cd0;var _0x47183e,_0x3a8537;const {memberID:_0x457677,selection:_0x29d696}=_0x206e92[_0x205c61(0x31b)],_0x2acb2b=_0x1cba71(_0x29d696),_0x599991=(_0x3a8537=(_0x47183e=this['_memberService']['getMember'](this[_0x205c61(0x445)],_0x457677))==null?void 0x0:_0x47183e['name'])!=null?_0x3a8537:_0x205c61(0x2f9),_0x5ef8da={'color':this[_0x205c61(0x3c8)][_0x205c61(0x2c8)](_0x457677),'name':_0x599991,'ranges':_0x2acb2b},_0x528bac=this[_0x205c61(0x386)];_0x528bac[_0x205c61(0x427)](_0x457677,_0x5ef8da),this[_0x205c61(0x222)][_0x205c61(0x173)](_0x528bac);}['_onCursorDelete'](_0x1a4157){const _0x1f7265=_0xce3cd0,{memberID:_0x4cbf3f}=_0x1a4157['data'],_0x474a8d=this[_0x1f7265(0x386)];_0x474a8d[_0x1f7265(0x434)](_0x4cbf3f),this[_0x1f7265(0x222)]['next'](_0x474a8d);}[_0xce3cd0(0x336)](){const _0x526272=_0xce3cd0;var _0x372550;if(this[_0x526272(0x452)]=!0x0,((_0x372550=this[_0x526272(0x2a9)][_0x526272(0x438)]())==null?void 0x0:_0x372550[_0x526272(0x41d)]())!==this[_0x526272(0x445)])return;const _0x37966f=this['_injector'][_0x526272(0x3fa)](_0x400651['DocSelectionManagerService'])[_0x526272(0x340)]();Array['isArray'](_0x37966f)&&_0x37966f[_0x526272(0x37b)]>0x0&&this[_0x526272(0x252)](_0x37966f);}[_0xce3cd0(0x39e)](){const _0x3da4f8=_0xce3cd0;this[_0x3da4f8(0x452)]=!0x1;}};_0x26931f=_0x17d20c([_0x2aea2f(0x2,_0x295c8f[_0xce3cd0(0x2fb)](_0x295c8f[_0xce3cd0(0x405)])),_0x2aea2f(0x3,_0x295c8f['Inject'](_0x12f6f6)),_0x2aea2f(0x4,_0x295c8f['Inject'](_0x2cb61c[_0xce3cd0(0x331)])),_0x2aea2f(0x5,_0x295c8f['Inject'](_0x109a2a)),_0x2aea2f(0x6,_0x143a87[_0xce3cd0(0x169)]),_0x2aea2f(0x7,_0x295c8f[_0xce3cd0(0x16f)]),_0x2aea2f(0x8,_0x295c8f[_0xce3cd0(0x2f7)])],_0x26931f);var _0x17682e=Object['getOwnPropertyDescriptor'],_0x40f581=(_0x6d8f40,_0xa7d637,_0x34ceed,_0x4c200c)=>{const _0x5c22c0=_0xce3cd0;for(var _0x3c7cbe=_0x4c200c>0x1?void 0x0:_0x4c200c?_0x17682e(_0xa7d637,_0x34ceed):_0xa7d637,_0x1a8a6b=_0x6d8f40[_0x5c22c0(0x37b)]-0x1,_0x18ee78;_0x1a8a6b>=0x0;_0x1a8a6b--)(_0x18ee78=_0x6d8f40[_0x1a8a6b])&&(_0x3c7cbe=_0x18ee78(_0x3c7cbe)||_0x3c7cbe);return _0x3c7cbe;},_0x5047af=(_0x379322,_0x1f9535)=>(_0x4647d8,_0x475866)=>_0x1f9535(_0x4647d8,_0x475866,_0x379322);const _0x33a122=0x12c,_0x734b93=0x64,_0x46878f=()=>{let _0x24b056=[],_0x33feea=!0x1;return _0x3cc91b=>{const _0x7e9f02=_0x2541;_0x24b056[_0x7e9f02(0x44a)](_0x3cc91b),_0x33feea||(_0x33feea=!0x0,setTimeout(()=>{const _0x515b56=_0x7e9f02;_0x24b056[_0x515b56(0x2e5)](_0x4932c2=>_0x4932c2()),_0x24b056=[],_0x33feea=!0x1;}));};};let _0x58f9eb=class extends _0x295c8f[_0xce3cd0(0x1e5)]{constructor(_0x2c82b5,_0x6a652f,_0x49f4ff,_0x45c455,_0x271ca5,_0x3472fe,_0x4b8662,_0x2ff415){const _0x5c7c92=_0xce3cd0;super(),_0xef452e(this,_0x5c7c92(0x452),!0x1),_0xef452e(this,_0x5c7c92(0x30d),!0x1),_0xef452e(this,_0x5c7c92(0x222),new _0x58c226['BehaviorSubject'](new Map())),_0xef452e(this,_0x5c7c92(0x40e),this[_0x5c7c92(0x222)][_0x5c7c92(0x26d)]()),_0xef452e(this,_0x5c7c92(0x37f),new _0x58c226[(_0x5c7c92(0x43b))]([])),_0xef452e(this,_0x5c7c92(0x2ce),this[_0x5c7c92(0x37f)][_0x5c7c92(0x2de)](_0x58c226['debounceTime'](_0x33a122))),_0xef452e(this,_0x5c7c92(0x252),_0x295c8f[_0x5c7c92(0x247)]((_0x295c2f,_0xbdbb48)=>{const _0x33a7b9=_0x5c7c92,_0x30c2b5={'eventID':_0x143a87[_0x33a7b9(0x270)]['UPDATE_CURSOR'],'data':{'unitID':this[_0x33a7b9(0x445)],'memberID':this[_0x33a7b9(0x3d1)][_0x33a7b9(0x192)](),'selection':_0x218d3f[_0x33a7b9(0x28e)](_0x295c2f,_0xbdbb48['range'])}};this[_0x33a7b9(0x3d1)][_0x33a7b9(0x33d)](_0x30c2b5,this[_0x33a7b9(0x445)]);},_0x734b93)),(this['unitID']=_0x2c82b5,this[_0x5c7c92(0x3d1)]=_0x6a652f,this[_0x5c7c92(0x1f6)]=_0x49f4ff,this[_0x5c7c92(0x3c8)]=_0x45c455,this[_0x5c7c92(0x2dd)]=_0x271ca5,this['_univerInstanceService']=_0x3472fe,this[_0x5c7c92(0x223)]=_0x4b8662,this['_refRangeService']=_0x2ff415);}get[_0xce3cd0(0x386)](){const _0x42525b=_0xce3cd0;return this[_0x42525b(0x222)][_0x42525b(0x2a1)]();}get['roomMembers'](){const _0x4cabff=_0xce3cd0;return this['_roomMembers$'][_0x4cabff(0x2a1)]();}[_0xce3cd0(0x2a7)](){const _0x17588c=_0xce3cd0;super[_0x17588c(0x2a7)](),this['_cursorInfo$'][_0x17588c(0x173)](new Map()),this[_0x17588c(0x222)][_0x17588c(0x3f8)](),this[_0x17588c(0x37f)][_0x17588c(0x173)]([]),this['_roomMembers$'][_0x17588c(0x3f8)]();}[_0xce3cd0(0x402)](){const _0x5f5c54=_0xce3cd0;this['_init']||(this[_0x5f5c54(0x30d)]=!0x0,this['_session'][_0x5f5c54(0x27e)][_0x5f5c54(0x2de)](_0x58c226['takeUntil'](this[_0x5f5c54(0x269)]))['subscribe'](_0x21564e=>{const _0x18fe22=_0x5f5c54;_0x21564e===_0x2cb61c[_0x18fe22(0x39f)][_0x18fe22(0x3e3)]?this[_0x18fe22(0x336)]():this[_0x18fe22(0x39e)]();}),this[_0x5f5c54(0x3d1)][_0x5f5c54(0x449)][_0x5f5c54(0x2de)](_0x58c226[_0x5f5c54(0x15a)](this['dispose$']))[_0x5f5c54(0x17f)](_0x56419f=>{const _0x3c1e30=_0x5f5c54,_0x563f6c=_0x56419f[_0x3c1e30(0x191)];_0x563f6c===_0x143a87['CollaborationEvent'][_0x3c1e30(0x211)]&&this[_0x3c1e30(0x2b3)](_0x56419f),_0x563f6c===_0x143a87['CollaborationEvent'][_0x3c1e30(0x227)]&&this['_onCursorDelete'](_0x56419f);}),this[_0x5f5c54(0x236)](),this[_0x5f5c54(0x43c)](this[_0x5f5c54(0x223)][_0x5f5c54(0x19c)](_0x89f39=>{const _0x1c318f=_0x5f5c54;if(this[_0x1c318f(0x452)]&&_0x89f39['id']===_0x11cdbd[_0x1c318f(0x198)]['id']&&_0x89f39[_0x1c318f(0x275)][_0x1c318f(0x34f)]===this[_0x1c318f(0x445)]){const _0xc3c75d=_0x89f39[_0x1c318f(0x275)];this[_0x1c318f(0x252)](_0xc3c75d[_0x1c318f(0x1cc)],_0xc3c75d[_0x1c318f(0x42c)][0x0]);}})));}[_0xce3cd0(0x2b3)](_0x5a419c){const _0x451e42=_0xce3cd0;var _0x435364,_0x37b1a8;const {memberID:_0x553906,selection:_0x66a661}=_0x5a419c[_0x451e42(0x31b)],{sheetName:_0x497c51,range:_0x157e4f}=_0x218d3f[_0x451e42(0x3dd)](_0x66a661),_0x233076={'name':(_0x37b1a8=(_0x435364=this[_0x451e42(0x2dd)][_0x451e42(0x338)](this[_0x451e42(0x445)],_0x553906))==null?void 0x0:_0x435364['name'])!=null?_0x37b1a8:_0x451e42(0x2f9),'range':this[_0x451e42(0x29a)](_0x497c51,_0x157e4f),'sheetID':_0x497c51,'color':this['_colorAssignService'][_0x451e42(0x2c8)](_0x553906),'selection':_0x66a661},_0x1fee27=this[_0x451e42(0x386)];_0x1fee27[_0x451e42(0x427)](_0x553906,_0x233076),this[_0x451e42(0x222)]['next'](_0x1fee27);}[_0xce3cd0(0x41c)](_0x450873){const _0x35468d=_0xce3cd0,{memberID:_0x8d9b2e}=_0x450873[_0x35468d(0x31b)],_0x40d7db=this[_0x35468d(0x386)];_0x40d7db[_0x35468d(0x434)](_0x8d9b2e),this[_0x35468d(0x222)]['next'](_0x40d7db);}[_0xce3cd0(0x29a)](_0x190af2,_0x1bd7a4){const _0x56f3da=_0xce3cd0;var _0x596afc,_0x2dd375;const _0x2aac4a=(_0x2dd375=(_0x596afc=this[_0x56f3da(0x2a9)][_0x56f3da(0x200)](this[_0x56f3da(0x445)]))==null?void 0x0:_0x596afc[_0x56f3da(0x411)](_0x190af2))==null?void 0x0:_0x2dd375[_0x56f3da(0x16e)]();return(_0x2aac4a==null?void 0x0:_0x2aac4a[_0x56f3da(0x37a)](_0x290a26=>_0x295c8f['Rectangle'][_0x56f3da(0x194)](_0x290a26,_0x1bd7a4)))||_0x1bd7a4;}[_0xce3cd0(0x236)](){const _0x217e82=_0xce3cd0,_0x2e654b=new _0x295c8f[(_0x217e82(0x15d))](),_0x228761=_0x46878f(),_0x295167=()=>{const _0x4993c5=_0x217e82;_0x2e654b[_0x4993c5(0x2a7)]();const _0x3149c1=(_0x1e33db,_0x326240,_0x1fb120,_0x37c7e4)=>{const _0x4c980=_0x4993c5;let _0x4630a4=[];switch(_0x1e33db['id']){case _0x11cdbd['EffectRefRangId'][_0x4c980(0x45b)]:{_0x4630a4=_0x11cdbd[_0x4c980(0x44c)](_0x1e33db,_0x37c7e4);break;}case _0x11cdbd[_0x4c980(0x3d0)][_0x4c980(0x21d)]:{_0x4630a4=_0x11cdbd[_0x4c980(0x36e)](_0x1e33db,_0x37c7e4);break;}case _0x11cdbd[_0x4c980(0x3d0)][_0x4c980(0x2c6)]:{_0x4630a4=_0x11cdbd[_0x4c980(0x170)](_0x1e33db,_0x37c7e4);break;}case _0x11cdbd[_0x4c980(0x3d0)][_0x4c980(0x3ac)]:{_0x4630a4=_0x11cdbd['handleInsertRangeMoveDown'](_0x1e33db,_0x37c7e4);break;}case _0x11cdbd['EffectRefRangId'][_0x4c980(0x262)]:{_0x4630a4=_0x11cdbd[_0x4c980(0x250)](_0x1e33db,_0x37c7e4);break;}case _0x11cdbd['EffectRefRangId'][_0x4c980(0x1ea)]:{_0x4630a4=_0x11cdbd[_0x4c980(0x22f)](_0x1e33db,_0x37c7e4);break;}case _0x11cdbd['EffectRefRangId'][_0x4c980(0x366)]:{_0x4630a4=_0x11cdbd[_0x4c980(0x1c3)](_0x1e33db,_0x37c7e4);break;}case _0x11cdbd[_0x4c980(0x3d0)][_0x4c980(0x3e9)]:{_0x4630a4=_0x11cdbd[_0x4c980(0x325)](_0x1e33db,_0x37c7e4);break;}case _0x11cdbd[_0x4c980(0x3d0)]['RemoveRowCommandId']:{_0x4630a4=_0x11cdbd['handleIRemoveRow'](_0x1e33db,_0x37c7e4);break;}}const _0x594535=_0x11cdbd[_0x4c980(0x365)](_0x4630a4,_0x37c7e4),_0x14b879=this['cursorInfo']['get'](_0x326240);if(_0x14b879&&_0x594535){const _0x4ff172={..._0x14b879,'range':_0x594535};this[_0x4c980(0x386)]['set'](_0x326240,_0x4ff172),_0x228761(()=>{const _0x34977b=_0x4c980,_0x3ade97=this['_refRangeService'][_0x34977b(0x333)](_0x594535,_0x28a63c=>(_0x3ade97[_0x34977b(0x2a7)](),_0x3149c1(_0x28a63c,_0x326240,_0x1fb120,_0x594535)));_0x2e654b[_0x34977b(0x3f9)](_0x3ade97);});}return{'redos':[],'undos':[]};};this[_0x4993c5(0x386)][_0x4993c5(0x2e5)]((_0x17ea93,_0x1083fb)=>{const _0x234952=_0x4993c5,{range:_0x56e4a9,sheetID:_0x26ae98}=_0x17ea93,_0x573a02=this['_refRangeService']['registerRefRange'](_0x56e4a9,_0xac5e1b=>(_0x573a02[_0x234952(0x2a7)](),_0x3149c1(_0xac5e1b,_0x1083fb,_0x26ae98,_0x56e4a9)));_0x2e654b['add'](_0x573a02);});};this['disposeWithMe'](_0x295c8f[_0x217e82(0x239)](this[_0x217e82(0x222)][_0x217e82(0x17f)](()=>{_0x295167();})));}[_0xce3cd0(0x336)](){const _0x3f39a8=_0xce3cd0;var _0x4573d1,_0x2b47f2;if(this[_0x3f39a8(0x452)]=!0x0,((_0x4573d1=this[_0x3f39a8(0x2a9)][_0x3f39a8(0x438)]())==null?void 0x0:_0x4573d1[_0x3f39a8(0x41d)]())!==this[_0x3f39a8(0x445)])return;const _0x1d90d3=(_0x2b47f2=this[_0x3f39a8(0x1f6)][_0x3f39a8(0x3fa)](_0x11cdbd[_0x3f39a8(0x2a3)])[_0x3f39a8(0x3c5)]())==null?void 0x0:_0x2b47f2[0x0],_0x3dbe0e=this[_0x3f39a8(0x2a9)]['getCurrentUnitForType'](_0x295c8f[_0x3f39a8(0x1f4)][_0x3f39a8(0x441)])[_0x3f39a8(0x1d4)]();_0x1d90d3&&_0x3dbe0e&&this['_updateLocalCursor'](_0x3dbe0e[_0x3f39a8(0x190)](),_0x1d90d3);}[_0xce3cd0(0x39e)](){const _0x1064ad=_0xce3cd0;this[_0x1064ad(0x452)]=!0x1;}};_0x58f9eb=_0x40f581([_0x5047af(0x2,_0x295c8f[_0xce3cd0(0x2fb)](_0x295c8f['Injector'])),_0x5047af(0x3,_0x295c8f[_0xce3cd0(0x2fb)](_0x12f6f6)),_0x5047af(0x4,_0x295c8f[_0xce3cd0(0x2fb)](_0x2cb61c[_0xce3cd0(0x331)])),_0x5047af(0x5,_0x295c8f['IUniverInstanceService']),_0x5047af(0x6,_0x295c8f[_0xce3cd0(0x2f7)]),_0x5047af(0x7,_0x295c8f[_0xce3cd0(0x2fb)](_0x11cdbd[_0xce3cd0(0x1bc)]))],_0x58f9eb);var _0x5bc8cd=Object[_0xce3cd0(0x3e7)],_0x7c9f56=(_0xd44b82,_0x193b53,_0x942e3c,_0x429a3f)=>{const _0x1dfbd7=_0xce3cd0;for(var _0x1293c5=_0x429a3f>0x1?void 0x0:_0x429a3f?_0x5bc8cd(_0x193b53,_0x942e3c):_0x193b53,_0x156725=_0xd44b82[_0x1dfbd7(0x37b)]-0x1,_0xae86ad;_0x156725>=0x0;_0x156725--)(_0xae86ad=_0xd44b82[_0x156725])&&(_0x1293c5=_0xae86ad(_0x1293c5)||_0x1293c5);return _0x1293c5;},_0x46612d=(_0x45fd7f,_0x103ce9)=>(_0x30baf1,_0x1d52d0)=>_0x103ce9(_0x30baf1,_0x1d52d0,_0x45fd7f);let _0x150b36=class extends _0x295c8f[_0xce3cd0(0x1e5)]{constructor(_0x10353b,_0x43f11a,_0x47083c){const _0xe8e7f4=_0xce3cd0;super(),_0xef452e(this,_0xe8e7f4(0x1dd),new Map()),_0xef452e(this,_0xe8e7f4(0x283),new _0x58c226[(_0xe8e7f4(0x30e))]()),(this[_0xe8e7f4(0x2a9)]=_0x10353b,this[_0xe8e7f4(0x1f6)]=_0x43f11a,this[_0xe8e7f4(0x17a)]=_0x47083c,this[_0xe8e7f4(0x30d)]());}[_0xce3cd0(0x2a7)](){const _0x40697a=_0xce3cd0;super[_0x40697a(0x2a7)](),this['_entityInit$']['complete'](),this[_0x40697a(0x1dd)][_0x40697a(0x2e5)](_0x48f977=>_0x48f977['dispose']());}[_0xce3cd0(0x28a)](_0x1cd312){const _0x50f225=_0xce3cd0;return this[_0x50f225(0x1dd)][_0x50f225(0x2d5)](_0x1cd312)?this['_entities'][_0x50f225(0x3fa)](_0x1cd312)[_0x50f225(0x40e)]:this[_0x50f225(0x283)][_0x50f225(0x2de)](_0x58c226['filter'](_0x46a17e=>_0x46a17e['unitID']===_0x1cd312),_0x58c226['switchMap'](_0x32dcc1=>_0x32dcc1[_0x50f225(0x40e)]));}[_0xce3cd0(0x30d)](){const _0xcfb988=_0xce3cd0;this['_univerInstanceService'][_0xcfb988(0x18d)](_0x295c8f[_0xcfb988(0x1f4)]['UNIVER_SHEET'])['pipe'](_0x58c226[_0xcfb988(0x15a)](this[_0xcfb988(0x269)]))[_0xcfb988(0x17f)](async _0x33769b=>{const _0x515370=_0xcfb988,_0x2cdc21=_0x33769b[_0x515370(0x41d)](),_0x4394eb=await this[_0x515370(0x32a)](_0x2cdc21);this[_0x515370(0x283)][_0x515370(0x173)](_0x4394eb),this[_0x515370(0x1dd)]['set'](_0x2cdc21,_0x4394eb);}),this[_0xcfb988(0x2a9)]['getTypeOfUnitAdded$'](_0x295c8f[_0xcfb988(0x1f4)][_0xcfb988(0x308)])[_0xcfb988(0x2de)](_0x58c226[_0xcfb988(0x15a)](this['dispose$']))[_0xcfb988(0x2de)](_0x58c226[_0xcfb988(0x1cd)](_0x1d6322=>!_0x1d6322[_0xcfb988(0x41d)]()[_0xcfb988(0x2a6)]('__')))[_0xcfb988(0x17f)](async _0x2d8413=>{const _0x3b3dae=_0xcfb988,_0x11c07b=_0x2d8413[_0x3b3dae(0x41d)](),_0x39efda=await this[_0x3b3dae(0x2a8)](_0x11c07b);this[_0x3b3dae(0x283)][_0x3b3dae(0x173)](_0x39efda),this[_0x3b3dae(0x1dd)]['set'](_0x11c07b,_0x39efda);}),_0x58c226[_0xcfb988(0x432)](this[_0xcfb988(0x2a9)][_0xcfb988(0x381)](_0x295c8f[_0xcfb988(0x1f4)][_0xcfb988(0x308)]),this['_univerInstanceService'][_0xcfb988(0x381)](_0x295c8f['UniverInstanceType'][_0xcfb988(0x441)]))['pipe'](_0x58c226[_0xcfb988(0x15a)](this['dispose$']))[_0xcfb988(0x17f)](_0x17b99a=>{const _0x22780f=_0xcfb988,_0x4da580=_0x17b99a[_0x22780f(0x41d)](),_0x327fd1=this[_0x22780f(0x1dd)][_0x22780f(0x3fa)](_0x4da580);_0x327fd1&&(_0x327fd1[_0x22780f(0x2a7)](),this[_0x22780f(0x1dd)]['delete'](_0x4da580));});}async[_0xce3cd0(0x32a)](_0x488c43){const _0x41b422=_0xce3cd0,_0x12c415=await this['_collabSessionService'][_0x41b422(0x302)](_0x488c43),_0x12d132=this[_0x41b422(0x1f6)][_0x41b422(0x408)](_0x58f9eb,_0x488c43,_0x12c415);return _0x12d132[_0x41b422(0x402)](),_0x12d132;}async['_startDocCollabCursor'](_0x22328f){const _0x3d6ebe=_0xce3cd0,_0xea72e7=await this[_0x3d6ebe(0x17a)][_0x3d6ebe(0x302)](_0x22328f),_0x506556=this[_0x3d6ebe(0x1f6)][_0x3d6ebe(0x408)](_0x26931f,_0x22328f,_0xea72e7);return _0x506556['init'](),_0x506556;}};_0x150b36=_0x7c9f56([_0x46612d(0x0,_0x295c8f[_0xce3cd0(0x16f)]),_0x46612d(0x1,_0x295c8f[_0xce3cd0(0x2fb)](_0x295c8f['Injector'])),_0x46612d(0x2,_0x295c8f['Inject'](_0x2cb61c[_0xce3cd0(0x1c6)]))],_0x150b36);const _0x490e44=0x14,_0x25b1d6=0xc8,_0x150591=0x4,_0x5dba56=0x5;function _0x1b2ab7(_0x244c95,_0x3ff72b){const _0x4fbf7e=_0xce3cd0;let {radius:_0x3b9e50,width:_0x48e155,height:_0x295e22}=_0x3ff72b;_0x3b9e50=_0x3b9e50!=null?_0x3b9e50:0x0,_0x48e155=_0x48e155!=null?_0x48e155:0x1e,_0x295e22=_0x295e22!=null?_0x295e22:0x1e;let _0x3d7294=0x0,_0xfdbfa7=0x0,_0x1f1ad0=0x0;_0x3d7294=_0xfdbfa7=_0x1f1ad0=Math[_0x4fbf7e(0x199)](_0x3b9e50,_0x48e155/0x2,_0x295e22/0x2),_0x244c95[_0x4fbf7e(0x410)](),_0x244c95[_0x4fbf7e(0x3bf)](_0x3d7294,0x0),_0x244c95[_0x4fbf7e(0x20e)](_0x48e155-_0xfdbfa7,0x0),_0x244c95[_0x4fbf7e(0x20c)](_0x48e155-_0xfdbfa7,_0xfdbfa7,_0xfdbfa7,Math['PI']*0x3/0x2,0x0,!0x1),_0x244c95[_0x4fbf7e(0x20e)](_0x48e155,_0x295e22-_0x1f1ad0),_0x244c95[_0x4fbf7e(0x20c)](_0x48e155-_0x1f1ad0,_0x295e22-_0x1f1ad0,_0x1f1ad0,0x0,Math['PI']/0x2,!0x1),_0x244c95[_0x4fbf7e(0x20e)](0x0,_0x295e22),_0x244c95[_0x4fbf7e(0x20e)](0x0,_0x3d7294),_0x244c95['arc'](_0x3d7294,_0x3d7294,_0x3d7294,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x244c95[_0x4fbf7e(0x2e8)](),_0x3ff72b[_0x4fbf7e(0x185)]&&(_0x244c95[_0x4fbf7e(0x34c)](),_0x244c95[_0x4fbf7e(0x339)]=_0x3ff72b[_0x4fbf7e(0x185)],_0x3ff72b[_0x4fbf7e(0x1fb)]===_0x4fbf7e(0x3b6)?_0x244c95[_0x4fbf7e(0x185)](_0x4fbf7e(0x3b6)):_0x244c95[_0x4fbf7e(0x185)](),_0x244c95[_0x4fbf7e(0x31c)]());}class _0x2dd573 extends _0x8db91b['Shape']{constructor(_0x1c68fa,_0x2bf2a6){const _0x97656a=_0xce3cd0;super(_0x1c68fa,_0x2bf2a6),_0xef452e(this,_0x97656a(0x374)),_0xef452e(this,_0x97656a(0x265)),(this[_0x97656a(0x374)]=_0x2bf2a6==null?void 0x0:_0x2bf2a6[_0x97656a(0x374)],this[_0x97656a(0x265)]=_0x2bf2a6==null?void 0x0:_0x2bf2a6['text']);}static[_0xce3cd0(0x29d)](_0x2841b6,_0xb9e197){const _0x3e07cf=_0xce3cd0,{text:_0x33c895,color:_0x396e98}=_0xb9e197;_0x2841b6[_0x3e07cf(0x34c)](),_0x2841b6[_0x3e07cf(0x1bf)]=_0x3e07cf(0x3ce);const _0x4b5c09=_0x2841b6[_0x3e07cf(0x3ba)](_0x33c895)['width'],_0x1b21e0=Math[_0x3e07cf(0x199)](_0x4b5c09+0x2*_0x150591,_0x25b1d6);_0x1b2ab7(_0x2841b6,{'height':_0x490e44,'radius':0x4,'width':_0x1b21e0,'fill':_0x396e98}),_0x2841b6[_0x3e07cf(0x339)]=_0x3e07cf(0x2cd);const _0x235960=_0x150591,_0x33e57b=_0x490e44-_0x5dba56,_0x554d1e=_0x25b1d6-0x2*_0x150591;if(_0x4b5c09>_0x554d1e){let _0x4b09f4='',_0x38d242=0x0;for(const _0xd90b25 of _0x33c895){const _0x29f9f8=_0x2841b6[_0x3e07cf(0x3ba)](_0xd90b25)[_0x3e07cf(0x38d)];if(_0x38d242+_0x29f9f8<=_0x554d1e-_0x2841b6['measureText'](_0x3e07cf(0x2d7))['width'])_0x4b09f4+=_0xd90b25,_0x38d242+=_0x29f9f8;else{_0x4b09f4+=_0x3e07cf(0x2d7);break;}}_0x2841b6['fillText'](_0x4b09f4,_0x235960,_0x33e57b);}else _0x2841b6[_0x3e07cf(0x450)](_0x33c895,_0x235960,_0x33e57b);_0x2841b6['restore']();}[_0xce3cd0(0x28c)](_0x51a6ae){_0x2dd573['drawWith'](_0x51a6ae,this);}}const _0x6c73a0=_0xce3cd0(0x36f),_0x5d38c5=_0xce3cd0(0x2bd),_0x37de86=_0xce3cd0(0x1ae),_0xe7008e=0x6,_0x293e22=1.5,_0x2fac45=0x4,_0x4b7a68=1.5,_0x3bd6ea=_0xce3cd0(0x3eb);class _0x2211fb{constructor(_0x300ef8,_0x177cbd,_0xacbd90,_0x57c31a){const _0x4af898=_0xce3cd0;_0xef452e(this,_0x4af898(0x3aa),[]),_0xef452e(this,_0x4af898(0x311),null),_0xef452e(this,_0x4af898(0x3cc),null),_0xef452e(this,_0x4af898(0x3e4),null),_0xef452e(this,'_hideTimer',null),_0xef452e(this,_0x4af898(0x433),null),(this[_0x4af898(0x319)]=_0x300ef8,this[_0x4af898(0x315)]=_0x177cbd,this[_0x4af898(0x1fc)]=_0xacbd90,this[_0x4af898(0x423)]=_0x57c31a,this[_0x4af898(0x2ae)]());}set[_0xce3cd0(0x2e6)](_0x1417fc){const _0x12956d=_0xce3cd0;_0x1417fc?(this[_0x12956d(0x3e4)]&&this[_0x12956d(0x3e4)][_0x12956d(0x1a2)](),this[_0x12956d(0x3cc)]&&this[_0x12956d(0x3cc)][_0x12956d(0x1b8)]()):(this['_anchorDot']&&this[_0x12956d(0x3e4)][_0x12956d(0x1b8)](),this[_0x12956d(0x3cc)]&&this['_textBubble'][_0x12956d(0x1a2)]());}['dispose'](){const _0xd9a3cd=_0xce3cd0;for(const _0x4c9a08 of this['_shapes'])_0x4c9a08[_0xd9a3cd(0x2a7)]();this[_0xd9a3cd(0x3cc)]&&this['_textBubble'][_0xd9a3cd(0x2a7)](),this['_anchorDot']&&this[_0xd9a3cd(0x3e4)][_0xd9a3cd(0x2a7)](),this[_0xd9a3cd(0x311)]&&this[_0xd9a3cd(0x311)][_0xd9a3cd(0x2a7)](),this['_eventUnsubscribe']&&this[_0xd9a3cd(0x433)]();}[_0xce3cd0(0x2ae)](){const _0x485f62=_0xce3cd0;var _0x45f003;const {_docSkeleton:_0x58ee39,_document:_0xb134cf}=this,{color:_0x5d3cde,name:_0x53af7c,ranges:_0x28d16a}=this['_cursor'],_0x1d52a8=_0xb134cf[_0x485f62(0x1ba)](),{docsLeft:_0x3e05ea,docsTop:_0x25c36c}=_0x1d52a8,_0x5882fc=new _0x442538[(_0x485f62(0x1da))](_0x1d52a8,_0x58ee39);for(const {startOffset:_0x22188c,endOffset:_0x127fe3,rangeType:_0x28847f,segmentId:_0x195d93,segmentPage:_0x4ee0c1,collapsed:_0x70d9f8,isActive:_0x365e93}of _0x28d16a){const _0x67323=_0x58ee39[_0x485f62(0x267)](_0x22188c,!0x0,_0x195d93,_0x4ee0c1);let _0x1c9849=_0x58ee39[_0x485f62(0x267)](_0x127fe3,!0x0,_0x195d93,_0x4ee0c1);if(_0x1c9849==null&&(_0x1c9849=_0x58ee39[_0x485f62(0x267)](_0x127fe3-0x1,!0x1,_0x195d93,_0x4ee0c1)),_0x365e93){const {contentBoxPointGroup:_0x32ac23}=_0x5882fc[_0x485f62(0x3bd)](_0x1c9849,_0x1c9849);if(_0x32ac23[_0x485f62(0x37b)]===0x0)continue;this[_0x485f62(0x156)](_0x5d3cde,_0x32ac23,_0x3e05ea,_0x25c36c,_0x53af7c),this[_0x485f62(0x433)]=this['_handleHover']();}if(_0x67323&&_0x1c9849){if(_0x28847f===_0x295c8f[_0x485f62(0x3b3)][_0x485f62(0x1f7)]){const _0x298ff0=new _0x442538[(_0x485f62(0x2e7))](_0x1d52a8,_0x58ee39),{pointGroup:_0xedadbc}=(_0x45f003=_0x298ff0[_0x485f62(0x3bd)](_0x67323,_0x1c9849))!=null?_0x45f003:{};if(_0xedadbc==null||_0xedadbc[_0x485f62(0x37b)]===0x0)continue;this['_drawRectRange'](_0x5d3cde,_0xedadbc,_0x3e05ea,_0x25c36c);}else{if(!_0x70d9f8){const {borderBoxPointGroup:_0x217065}=_0x5882fc[_0x485f62(0x3bd)](_0x67323,_0x1c9849);if(_0x217065[_0x485f62(0x37b)]===0x0)continue;this[_0x485f62(0x3c7)](_0x5d3cde,_0x217065,_0x3e05ea,_0x25c36c);}}}}}[_0xce3cd0(0x156)](_0x56137a,_0x766f19,_0x270203,_0x5dbe96,_0x56f925){const _0x7f629e=_0xce3cd0,_0x23ab50=this[_0x7f629e(0x306)](_0x766f19),{left:_0x103df4,top:_0x4f1edc,height:_0xf61bb9}=_0x23ab50,_0x2c2ae5=this[_0x7f629e(0x15c)](),_0x3aa39c=_0x4b7a68/_0x2c2ae5,_0x36215d=new _0x8db91b[(_0x7f629e(0x248))](_0x6c73a0+_0x295c8f[_0x7f629e(0x17e)](_0xe7008e),{'left':_0x103df4+_0x270203-_0x3aa39c,'top':_0x4f1edc+_0x5dbe96,'height':_0xf61bb9,'width':_0x293e22,'fill':_0x56137a||_0x8db91b[_0x7f629e(0x245)](_0x295c8f[_0x7f629e(0x260)]['black'],0x0),'strokeWidth':_0x3aa39c,'stroke':_0x3bd6ea,'evented':!0x0});this[_0x7f629e(0x311)]=_0x36215d,this[_0x7f629e(0x315)][_0x7f629e(0x2cc)](_0x36215d,_0x442538[_0x7f629e(0x42a)]);const _0x2814be=new _0x8db91b[(_0x7f629e(0x248))](_0x6c73a0+_0x295c8f[_0x7f629e(0x17e)](_0xe7008e),{'left':_0x103df4+_0x270203-_0x3aa39c,'top':_0x4f1edc+_0x5dbe96-_0x2fac45/0x2,'height':_0x2fac45,'width':_0x2fac45,'fill':_0x56137a||_0x8db91b[_0x7f629e(0x245)](_0x295c8f[_0x7f629e(0x260)]['black'],0x0),'strokeWidth':0x0,'stroke':_0x56137a||_0x8db91b['getColor'](_0x295c8f[_0x7f629e(0x260)]['black'],0x0),'evented':!0x1});this['_anchorDot']=_0x2814be,this[_0x7f629e(0x315)][_0x7f629e(0x2cc)](_0x2814be,_0x442538['TEXT_RANGE_LAYER_INDEX']);const _0x2143bf=new _0x2dd573(_0x6c73a0+_0x295c8f['generateRandomId'](_0xe7008e),{'left':_0x103df4+_0x270203-_0x3aa39c,'top':_0x4f1edc+_0x5dbe96-_0x490e44,'text':_0x56f925,'color':_0x56137a});this[_0x7f629e(0x3cc)]=_0x2143bf,this['_scene'][_0x7f629e(0x2cc)](_0x2143bf,_0x442538[_0x7f629e(0x42a)]),this[_0x7f629e(0x2e6)]=!0x1;}[_0xce3cd0(0x27a)](){const _0x1cb507=_0xce3cd0,_0x65c968=this[_0x1cb507(0x311)]['onPointerEnter$'][_0x1cb507(0x3fe)](()=>{const _0x51f5f0=_0x1cb507;this[_0x51f5f0(0x2e6)]=!0x0;}),_0xfb059f=this[_0x1cb507(0x311)][_0x1cb507(0x407)][_0x1cb507(0x3fe)](()=>{const _0x3b07f1=_0x1cb507;this[_0x3b07f1(0x15b)]&&clearTimeout(this[_0x3b07f1(0x15b)]),this[_0x3b07f1(0x15b)]=setTimeout(()=>{const _0x337e5a=_0x3b07f1;this[_0x337e5a(0x2e6)]=!0x1;},0x7d0);});return()=>{const _0x37eb9d=_0x1cb507;_0x65c968[_0x37eb9d(0x3a9)](),_0xfb059f[_0x37eb9d(0x3a9)]();};}[_0xce3cd0(0x3c7)](_0x157ccf,_0xbeafae,_0x21f046,_0x2ca3a6){const _0x24de1f=_0xce3cd0,_0xa67d1c=new _0x295c8f[(_0x24de1f(0x249))](_0x157ccf)[_0x24de1f(0x1e3)](0.2)['toRgbString'](),_0x1eaf1=new _0x8db91b[(_0x24de1f(0x35b))](_0x5d38c5+_0x295c8f['generateRandomId'](_0xe7008e),{'pointsGroup':_0xbeafae,'fill':_0xa67d1c||_0x8db91b[_0x24de1f(0x245)](_0x295c8f[_0x24de1f(0x260)][_0x24de1f(0x431)],0.2),'left':_0x21f046,'top':_0x2ca3a6,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x24de1f(0x3aa)][_0x24de1f(0x44a)](_0x1eaf1),this[_0x24de1f(0x315)][_0x24de1f(0x2cc)](_0x1eaf1,_0x442538['TEXT_RANGE_LAYER_INDEX']);}['_drawRectRange'](_0x2f921a,_0x3d3a3a,_0x31ab52,_0x2ca5cc){const _0x1869b9=_0xce3cd0,_0x1424fc=new _0x295c8f[(_0x1869b9(0x249))](_0x2f921a)[_0x1869b9(0x1e3)](0.2)[_0x1869b9(0x3ed)](),_0x527570=new _0x8db91b[(_0x1869b9(0x35b))](_0x37de86+_0x295c8f['generateRandomId'](_0xe7008e),{'pointsGroup':_0x3d3a3a,'fill':_0x1424fc||_0x8db91b['getColor'](_0x295c8f[_0x1869b9(0x260)][_0x1869b9(0x431)],0.2),'left':_0x31ab52,'top':_0x2ca5cc,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x1869b9(0x3aa)][_0x1869b9(0x44a)](_0x527570),this[_0x1869b9(0x315)][_0x1869b9(0x2cc)](_0x527570,_0x442538[_0x1869b9(0x42a)]);}['_getAnchorBounding'](_0x524321){const _0x233ae1=_0x524321[0x0],_0x58df60=_0x233ae1[0x0],_0x1a79a7=_0x233ae1[0x2],{x:_0x4cb847,y:_0x17927b}=_0x58df60,{x:_0x2b0192,y:_0x2413e6}=_0x1a79a7;return{'left':_0x4cb847,'top':_0x17927b,'width':_0x2b0192-_0x4cb847,'height':_0x2413e6-_0x17927b};}['_getScale'](){const _0x486e0f=_0xce3cd0,{scaleX:_0x548e42,scaleY:_0x3f316f}=this[_0x486e0f(0x315)][_0x486e0f(0x1a6)]();return Math['max'](_0x548e42,_0x3f316f);}}var _0x5d2f4d=Object[_0xce3cd0(0x3e7)],_0x388174=(_0x1bb3da,_0x55bca0,_0x107e3d,_0x26d9c4)=>{const _0x2d7aad=_0xce3cd0;for(var _0x5b4cbf=_0x26d9c4>0x1?void 0x0:_0x26d9c4?_0x5d2f4d(_0x55bca0,_0x107e3d):_0x55bca0,_0x289f1b=_0x1bb3da[_0x2d7aad(0x37b)]-0x1,_0x313db3;_0x289f1b>=0x0;_0x289f1b--)(_0x313db3=_0x1bb3da[_0x289f1b])&&(_0x5b4cbf=_0x313db3(_0x5b4cbf)||_0x5b4cbf);return _0x5b4cbf;},_0x551f39=(_0x7af354,_0x34fece)=>(_0x5589ff,_0x39c91a)=>_0x34fece(_0x5589ff,_0x39c91a,_0x7af354);let _0x53604e=class extends _0x295c8f[_0xce3cd0(0x1e5)]{constructor(_0x250a98,_0x4ae5ba,_0x1ec54e,_0x2e52fb,_0x4a6fa8){const _0x4273cd=_0xce3cd0;super(),_0xef452e(this,_0x4273cd(0x2db),[]),_0xef452e(this,_0x4273cd(0x21c),[]),(this[_0x4273cd(0x286)]=_0x250a98,this[_0x4273cd(0x166)]=_0x4ae5ba,this[_0x4273cd(0x41e)]=_0x1ec54e,this[_0x4273cd(0x223)]=_0x2e52fb,this[_0x4273cd(0x28d)]=_0x4a6fa8,this[_0x4273cd(0x30d)]());}[_0xce3cd0(0x30d)](){const _0x162295=_0xce3cd0,_0x3df23a=this[_0x162295(0x286)][_0x162295(0x34f)],_0x2096dc=this[_0x162295(0x166)];this['disposeWithMe'](_0x58c226[_0x162295(0x389)]([this[_0x162295(0x41e)]['getCollabCursors$'](_0x3df23a),this[_0x162295(0x28d)]['currentTheme$']])[_0x162295(0x2de)](_0x2157b5[_0x162295(0x16b)](([_0x2d1dbe,_0x391809])=>({'skeleton':_0x2096dc['getSkeleton'](),'cursors':[..._0x2d1dbe[_0x162295(0x3fd)]()][_0x162295(0x226)](_0x301d69=>({..._0x301d69,'color':this[_0x162295(0x28d)][_0x162295(0x254)](_0x301d69[_0x162295(0x374)])}))})))['subscribe'](_0x4dd2e3=>{const _0x2bec5c=_0x162295;if(this['_removeCollabCursors'](),_0x4dd2e3){const {skeleton:_0x1cba0e,cursors:_0x1f10ee}=_0x4dd2e3;this[_0x2bec5c(0x38a)](_0x1cba0e,_0x1f10ee);}})),this['_initResize'](),this[_0x162295(0x3be)]();}[_0xce3cd0(0x38a)](_0x2731ec,_0x172ccb){const _0x580b5f=_0xce3cd0,{scene:_0x3a8fa6,mainComponent:_0x25fb1a}=this[_0x580b5f(0x286)],_0x5080ff=_0x172ccb[_0x580b5f(0x16b)](_0x6a7229=>new _0x2211fb(_0x6a7229,_0x3a8fa6,_0x2731ec,_0x25fb1a));this['_cursorShapes']=_0x5080ff,this['_cursors']=_0x172ccb;}[_0xce3cd0(0x444)](){const _0x4a015e=_0xce3cd0;this['_removeCollabCursors']();const {scene:_0x42fb9b,mainComponent:_0x55dede}=this[_0x4a015e(0x286)],_0x55c702=this[_0x4a015e(0x166)]['getSkeleton'](),_0x459a00=this[_0x4a015e(0x21c)][_0x4a015e(0x16b)](_0x530069=>new _0x2211fb(_0x530069,_0x42fb9b,_0x55c702,_0x55dede));this[_0x4a015e(0x2db)]=_0x459a00;}[_0xce3cd0(0x30f)](){const _0x1e2786=_0xce3cd0;this[_0x1e2786(0x2db)][_0x1e2786(0x2e5)](_0x4dd3bd=>_0x4dd3bd['dispose']()),this[_0x1e2786(0x2db)]=[];}[_0xce3cd0(0x3be)](){const _0x9d0b32=_0xce3cd0,_0x9b1576=[_0x442538['SetDocZoomRatioOperation']['id']];this[_0x9d0b32(0x43c)](this['_commandService'][_0x9d0b32(0x19c)](_0x49d4a1=>{const _0x5538b5=_0x9d0b32;_0x9b1576['includes'](_0x49d4a1['id'])&&_0x49d4a1[_0x5538b5(0x275)][_0x5538b5(0x34f)]===this[_0x5538b5(0x286)][_0x5538b5(0x34f)]&&this['_refreshCollabCursors']();}));}[_0xce3cd0(0x412)](){const _0x35ab36=_0xce3cd0;this['disposeWithMe'](_0x295c8f[_0x35ab36(0x1d9)](this[_0x35ab36(0x286)]['engine'][_0x35ab36(0x288)])[_0x35ab36(0x2de)](_0x2157b5[_0x35ab36(0x1cd)](_0x995510=>_0x995510[_0x35ab36(0x273)]===_0x8db91b[_0x35ab36(0x2c0)][_0x35ab36(0x272)]),_0x2157b5[_0x35ab36(0x204)](0x10))[_0x35ab36(0x17f)](()=>{const _0x396d35=_0x35ab36;this[_0x396d35(0x444)]();}));}};_0x53604e=_0x388174([_0x551f39(0x1,_0x295c8f[_0xce3cd0(0x2fb)](_0x400651[_0xce3cd0(0x1fa)])),_0x551f39(0x2,_0x295c8f[_0xce3cd0(0x2fb)](_0x150b36)),_0x551f39(0x3,_0x295c8f[_0xce3cd0(0x2f7)]),_0x551f39(0x4,_0x295c8f[_0xce3cd0(0x2fb)](_0x295c8f[_0xce3cd0(0x3d7)]))],_0x53604e);const _0x38ee4b=0x1,_0x3f2c49=1.5;class _0x3ee6ec extends _0x8db91b[_0xce3cd0(0x3b1)]{constructor(_0x3198f5,_0x1d3343){const _0x3bef64=_0xce3cd0;super(_0x3198f5,_0x1d3343),_0xef452e(this,_0x3bef64(0x205)),_0xef452e(this,_0x3bef64(0x2ed),!0x1),_0xef452e(this,_0x3bef64(0x3c3)),_0xef452e(this,_0x3bef64(0x206),''),_0xef452e(this,'_labelPosition',_0x3bef64(0x426)),_0xef452e(this,_0x3bef64(0x2c7)),(_0x1d3343&&this['setShapeProps'](_0x1d3343),this[_0x3bef64(0x45a)][_0x3bef64(0x3fe)](()=>this[_0x3bef64(0x281)]({'hovered':!0x0})),this[_0x3bef64(0x407)][_0x3bef64(0x3fe)](()=>this['setShapeProps']({'hovered':!0x1})));}[_0xce3cd0(0x281)](_0x455bda){const _0x37b43f=_0xce3cd0;var _0x436fc1,_0xcc7095,_0x17e2f3,_0x4e673f,_0x58d159,_0x1214f6;this[_0x37b43f(0x205)]=(_0x436fc1=_0x455bda[_0x37b43f(0x374)])!=null?_0x436fc1:this[_0x37b43f(0x205)],this[_0x37b43f(0x2ed)]=(_0xcc7095=_0x455bda[_0x37b43f(0x3da)])!=null?_0xcc7095:this[_0x37b43f(0x2ed)],this['_range']=(_0x17e2f3=_0x455bda[_0x37b43f(0x2c5)])!=null?_0x17e2f3:this[_0x37b43f(0x3c3)],this[_0x37b43f(0x206)]=(_0x4e673f=_0x455bda[_0x37b43f(0x376)])!=null?_0x4e673f:this[_0x37b43f(0x206)],this['_labelPosition']=(_0x58d159=_0x455bda[_0x37b43f(0x43e)])!=null?_0x58d159:this[_0x37b43f(0x2b8)],this[_0x37b43f(0x2c7)]=(_0x1214f6=_0x455bda[_0x37b43f(0x168)])!=null?_0x1214f6:this['_backgroundColor'],this[_0x37b43f(0x3f7)]({'width':_0x455bda['width'],'height':_0x455bda['height']});}[_0xce3cd0(0x422)](_0x339fe2){const _0x45b391=_0xce3cd0,{row:_0x6c7a2b,column:_0x24c286}=_0x339fe2;if(_0x6c7a2b>=this[_0x45b391(0x3c3)][_0x45b391(0x1ad)]&&_0x6c7a2b<=this[_0x45b391(0x3c3)][_0x45b391(0x361)]&&_0x24c286>=this['_range'][_0x45b391(0x3dc)]&&_0x24c286<=this['_range'][_0x45b391(0x37d)]){this[_0x45b391(0x281)]({'hovered':!0x0});return;}this[_0x45b391(0x281)]({'hovered':!0x1});}[_0xce3cd0(0x34b)](_0x5da6e4){return!0x1;}[_0xce3cd0(0x28c)](_0x9bb715){const _0x58410a=_0xce3cd0;_0x8db91b[_0x58410a(0x248)][_0x58410a(0x29d)](_0x9bb715,{'width':this[_0x58410a(0x38d)],'height':this[_0x58410a(0x368)],'strokeWidth':_0x3f2c49,'stroke':this[_0x58410a(0x205)],'evented':!0x1,'fill':this[_0x58410a(0x2c7)]}),this[_0x58410a(0x2ed)]&&(_0x9bb715[_0x58410a(0x34c)](),_0x9bb715[_0x58410a(0x459)](0x1,0x0,0x0,0x1,this[_0x58410a(0x38d)],this[_0x58410a(0x2b8)]===_0x58410a(0x203)?0x0:-_0x490e44),_0x2dd573[_0x58410a(0x29d)](_0x9bb715,{'text':this[_0x58410a(0x206)],'color':this['_color']}),_0x9bb715[_0x58410a(0x31c)]());}}var _0x59211f=Object['getOwnPropertyDescriptor'],_0x42ffe9=(_0x438719,_0x4d8444,_0x2296fe,_0xe568fb)=>{const _0x387800=_0xce3cd0;for(var _0x49e7cb=_0xe568fb>0x1?void 0x0:_0xe568fb?_0x59211f(_0x4d8444,_0x2296fe):_0x4d8444,_0x48af74=_0x438719[_0x387800(0x37b)]-0x1,_0x5769;_0x48af74>=0x0;_0x48af74--)(_0x5769=_0x438719[_0x48af74])&&(_0x49e7cb=_0x5769(_0x49e7cb)||_0x49e7cb);return _0x49e7cb;},_0x58959c=(_0x50a1d7,_0xfce1fe)=>(_0x5d6369,_0x2c87fe)=>_0xfce1fe(_0x5d6369,_0x2c87fe,_0x50a1d7);const _0x2a0525=0x1389;let _0x883637=class extends _0x295c8f[_0xce3cd0(0x1e5)]{constructor(_0x1bcd56,_0x8632f9,_0xe705bb,_0x3f64df){const _0xd3c35d=_0xce3cd0;super(),_0xef452e(this,_0xd3c35d(0x21c),new Set()),_0xef452e(this,_0xd3c35d(0x162),null),(this[_0xd3c35d(0x286)]=_0x1bcd56,this[_0xd3c35d(0x259)]=_0x8632f9,this[_0xd3c35d(0x41e)]=_0xe705bb,this[_0xd3c35d(0x28d)]=_0x3f64df,this[_0xd3c35d(0x30d)]());}['_init'](){const _0xfa8b37=_0xce3cd0;this[_0xfa8b37(0x259)]['currentSkeleton$'][_0xfa8b37(0x2de)](_0x2157b5[_0xfa8b37(0x15a)](this['dispose$']),_0x2157b5[_0xfa8b37(0x3e6)](_0x35c243=>{const _0x4cbb17=_0xfa8b37;if(_0x35c243){const _0xd2bf85=_0x35c243['sheetId'];return _0x58c226[_0x4cbb17(0x389)](this[_0x4cbb17(0x41e)]['getCollabCursors$'](this['_context'][_0x4cbb17(0x34f)]),this[_0x4cbb17(0x28d)][_0x4cbb17(0x17b)])[_0x4cbb17(0x2de)](_0x2157b5[_0x4cbb17(0x16b)](([_0x5818fc,_0x752ddf])=>{const _0x5a3fd7=_0x4cbb17,_0x47f63c=new Map();return _0x5818fc[_0x5a3fd7(0x2e5)]((_0x4406c5,_0xa0d95c)=>{const _0x4d2c0d=_0x5a3fd7;if(_0x4406c5['sheetID']===_0xd2bf85){const _0x849496={..._0x4406c5};_0x849496[_0x4d2c0d(0x374)]=this['_themeService'][_0x4d2c0d(0x254)](_0x4406c5[_0x4d2c0d(0x374)]),_0x47f63c[_0x4d2c0d(0x427)](_0xa0d95c,_0x849496);}}),{'skeleton':_0x35c243,'cursors':_0x47f63c};}));}return _0x58c226['of']({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x430843,cursors:_0x4b34e4})=>{const _0x5d22fe=_0xfa8b37;this[_0x5d22fe(0x30f)](),_0x430843&&this['_updateCollabCursors'](_0x430843,_0x4b34e4);}),this[_0xfa8b37(0x259)][_0xfa8b37(0x42b)][_0xfa8b37(0x17f)](_0x73b8f4=>{const _0x5c0ef7=_0xfa8b37;if(_0x73b8f4==null)return;const {skeleton:_0x4cbd85}=_0x73b8f4,{scene:_0x5147cd}=this['_context'];_0x5147cd[_0x5c0ef7(0x1cf)][_0x5c0ef7(0x3fe)](_0x295c8f[_0x5c0ef7(0x247)](_0xf65b37=>{const _0x4eb4e2=_0x5c0ef7;var _0x1326ac,_0x58aec9;const {offsetX:_0x20c533,offsetY:_0x26de81}=_0xf65b37,{x:_0x55412c,y:_0x1a6882}=_0x5147cd[_0x4eb4e2(0x195)](_0x8db91b[_0x4eb4e2(0x3fc)]['FromArray']([_0x20c533,_0x26de81])),{scaleX:_0x55fdf0,scaleY:_0x36ca01}=_0x5147cd[_0x4eb4e2(0x1a6)](),_0x276322=_0x5147cd[_0x4eb4e2(0x332)](_0x8db91b[_0x4eb4e2(0x208)]['VIEW_MAIN']),_0xd2a96a=_0x5147cd[_0x4eb4e2(0x285)](_0x8db91b[_0x4eb4e2(0x3fc)][_0x4eb4e2(0x238)]([_0x55412c,_0x1a6882]),_0x276322),_0x4210ae=_0x4cbd85[_0x4eb4e2(0x375)](_0x20c533,_0x26de81,_0x55fdf0,_0x36ca01,_0xd2a96a);((_0x1326ac=this[_0x4eb4e2(0x162)])==null?void 0x0:_0x1326ac[_0x4eb4e2(0x33b)])===_0x4210ae[_0x4eb4e2(0x33b)]&&((_0x58aec9=this['_lastPointer'])==null?void 0x0:_0x58aec9[_0x4eb4e2(0x3f6)])===_0x4210ae['row']||this[_0x4eb4e2(0x21c)][_0x4eb4e2(0x2e5)](_0x1aa356=>{const _0x585003=_0x4eb4e2;_0x1aa356[_0x585003(0x422)](_0x4210ae);});},0x64));});}[_0xce3cd0(0x38a)](_0x3b7dcf,_0x106207){const _0x4bd86f=_0xce3cd0;var _0x4988f6;const _0x142d4e=(_0x4988f6=this['_sheetSkeletonManagerService'][_0x4bd86f(0x1e8)]())==null?void 0x0:_0x4988f6[_0x4bd86f(0x398)];if(!_0x142d4e)return;const _0x17436f=this[_0x4bd86f(0x2ca)]();if(!_0x17436f)return;this['_cursors'][_0x4bd86f(0x2e5)](_0x31d6b3=>{_0x31d6b3['makeDirty']();});const {scene:_0x1cdb2d}=_0x17436f,_0x1361e4=_0x347dd5(Array[_0x4bd86f(0x264)](_0x106207['values']()))[_0x4bd86f(0x16b)](_0x366c54=>{const _0x324d9f=_0x4bd86f,{color:_0x834ddd,range:_0x15b71d,name:_0x28b834,selection:_0x29fee3,sheetID:_0x1a192b}=_0x366c54,{startColumn:_0x23f4e7,startRow:_0x590de5,endColumn:_0x2f224a,endRow:_0xa46712}=_0x15b71d,_0x3f4722=_0x2cd116[_0x324d9f(0x27c)](_0x590de5,_0x23f4e7,_0x1cdb2d,_0x142d4e),_0x2f67ea=_0x2cd116[_0x324d9f(0x27c)](_0xa46712,_0x2f224a,_0x1cdb2d,_0x142d4e),{columnHeaderHeightAndMarginTop:_0x4197ee}=_0x142d4e,{startX:_0xc038cc,startY:_0x28131b}=_0x3f4722,{endX:_0x573abf,endY:_0x363c26}=_0x2f67ea,_0x18ed1e=_0x573abf-_0xc038cc,_0x31928c=_0x363c26-_0x28131b,_0x30e1e1={'labelPosition':_0x28131b-_0x4197ee>=_0x490e44?_0x324d9f(0x426):'bottom','sheetID':_0x1a192b,'range':_0x15b71d,'color':_0x834ddd,'name':_0x28b834,'selection':_0x29fee3,'left':_0xc038cc,'top':_0x28131b,'width':_0x18ed1e,'height':_0x31928c,'evented':!0x1,'zIndex':_0x2a0525};return new _0x3ee6ec(_0x28b834,_0x30e1e1);});_0x1cdb2d[_0x4bd86f(0x413)](_0x1361e4,_0x38ee4b),this[_0x4bd86f(0x21c)]=new Set(_0x1361e4);}['_removeCollabCursors'](){const _0xc48981=_0xce3cd0;var _0x559d9d;(_0x559d9d=this[_0xc48981(0x21c)])==null||_0x559d9d[_0xc48981(0x2e5)](_0x15f5f9=>_0x15f5f9[_0xc48981(0x2a7)]());}[_0xce3cd0(0x2ca)](){const _0x4c5647=_0xce3cd0;return _0x2cd116['getSheetObject'](this[_0x4c5647(0x286)][_0x4c5647(0x429)],this[_0x4c5647(0x286)]);}};_0x883637=_0x42ffe9([_0x58959c(0x1,_0x295c8f['Inject'](_0x2cd116[_0xce3cd0(0x409)])),_0x58959c(0x2,_0x295c8f[_0xce3cd0(0x2fb)](_0x150b36)),_0x58959c(0x3,_0x295c8f[_0xce3cd0(0x2fb)](_0x295c8f[_0xce3cd0(0x3d7)]))],_0x883637);function _0x347dd5(_0x46160f){const _0x3d739c=_0xce3cd0,_0x5f24d5=new Map();return _0x46160f[_0x3d739c(0x2e5)](_0x2c36e4=>{const _0x19fc9e=_0x3d739c;if(_0x5f24d5[_0x19fc9e(0x2d5)](_0x2c36e4['selection'])){const _0x599691=_0x5f24d5[_0x19fc9e(0x3fa)](_0x2c36e4['selection']);_0x599691[_0x19fc9e(0x376)]+=',\x20'+_0x2c36e4[_0x19fc9e(0x376)];}else _0x5f24d5[_0x19fc9e(0x427)](_0x2c36e4[_0x19fc9e(0x2f4)],_0x2c36e4);}),Array[_0x3d739c(0x264)](_0x5f24d5['values']());}var _0x1775c4=Object['getOwnPropertyDescriptor'],_0x589178=(_0x1aa343,_0x4d126c,_0x2d46b4,_0xca28ed)=>{const _0xa5cf59=_0xce3cd0;for(var _0x10997a=_0xca28ed>0x1?void 0x0:_0xca28ed?_0x1775c4(_0x4d126c,_0x2d46b4):_0x4d126c,_0x1ea8ce=_0x1aa343[_0xa5cf59(0x37b)]-0x1,_0x4262f1;_0x1ea8ce>=0x0;_0x1ea8ce--)(_0x4262f1=_0x1aa343[_0x1ea8ce])&&(_0x10997a=_0x4262f1(_0x10997a)||_0x10997a);return _0x10997a;},_0xb875d8=(_0x714d89,_0x217691)=>(_0x3cab9c,_0x5bdeec)=>_0x217691(_0x3cab9c,_0x5bdeec,_0x714d89);let _0x220b52=class extends _0x295c8f['Disposable']{constructor(_0x538168,_0x27041c,_0xbdf5ac,_0x55bc07,_0x1132fa,_0x1779ee){const _0x43287c=_0xce3cd0;super(),this[_0x43287c(0x2b7)]=_0x538168,this[_0x43287c(0x174)]=_0x27041c,this[_0x43287c(0x3c1)]=_0xbdf5ac,this[_0x43287c(0x287)]=_0x55bc07,this['_notificationService']=_0x1132fa,this[_0x43287c(0x3fb)]=_0x1779ee,this[_0x43287c(0x1eb)](),this[_0x43287c(0x357)]();}[_0xce3cd0(0x1eb)](){const _0xc05b4c=_0xce3cd0;this[_0xc05b4c(0x43c)](this[_0xc05b4c(0x2b7)][_0xc05b4c(0x399)](()=>{const _0x15100c=_0xc05b4c;if(this[_0x15100c(0x174)][_0x15100c(0x19e)][_0x15100c(0x348)])return this[_0x15100c(0x3fb)]['t']('collaboration.offline-data-not-saved');}));}[_0xce3cd0(0x357)](){const _0x1518c1=_0xce3cd0;this[_0x1518c1(0x43c)](this[_0x1518c1(0x3c1)][_0x1518c1(0x449)][_0x1518c1(0x17f)](_0x14bc74=>{const _0x4a0f56=_0x1518c1;_0x14bc74['id']===_0x2cb61c[_0x4a0f56(0x42e)][_0x4a0f56(0x1e9)]&&this[_0x4a0f56(0x287)]['show']({'type':_0x599761[_0x4a0f56(0x437)]['Warning'],'content':this[_0x4a0f56(0x3fb)]['t'](_0x4a0f56(0x2ff))}),_0x14bc74['id']===_0x2cb61c['CollaborationUIEventId'][_0x4a0f56(0x2a5)]&&this[_0x4a0f56(0x287)][_0x4a0f56(0x1b8)]({'type':_0x599761[_0x4a0f56(0x437)][_0x4a0f56(0x2cb)],'content':this[_0x4a0f56(0x3fb)]['t'](_0x4a0f56(0x2f1))}),_0x14bc74['id']===_0x2cb61c[_0x4a0f56(0x42e)][_0x4a0f56(0x2dc)]&&this[_0x4a0f56(0x400)][_0x4a0f56(0x1b8)]({'title':this[_0x4a0f56(0x3fb)]['t'](_0x4a0f56(0x1a7)),'content':this[_0x4a0f56(0x3fb)]['t'](_0x4a0f56(0x16c)),'type':_0x4a0f56(0x1b1),'duration':0x0}),_0x14bc74['id']===_0x2cb61c[_0x4a0f56(0x42e)][_0x4a0f56(0x36b)]&&this[_0x4a0f56(0x287)]['show']({'type':_0x599761[_0x4a0f56(0x437)][_0x4a0f56(0x25e)],'content':this['_localeService']['t']('collaboration.closeRoom')+'('+_0x14bc74[_0x4a0f56(0x31b)]+')'}),_0x14bc74['id']===_0x2cb61c[_0x4a0f56(0x42e)][_0x4a0f56(0x2a0)]&&this[_0x4a0f56(0x287)][_0x4a0f56(0x1b8)]({'type':_0x599761['MessageType'][_0x4a0f56(0x2cb)],'content':this['_localeService']['t'](_0x14bc74[_0x4a0f56(0x31b)]||'')}),_0x14bc74['id']===_0x2cb61c[_0x4a0f56(0x42e)][_0x4a0f56(0x196)]&&this[_0x4a0f56(0x287)][_0x4a0f56(0x1b8)]({'type':_0x599761['MessageType'][_0x4a0f56(0x2cb)],'content':this[_0x4a0f56(0x3fb)]['t']('session.will-retry')}),_0x14bc74['id']===_0x2cb61c[_0x4a0f56(0x42e)][_0x4a0f56(0x446)]&&this[_0x4a0f56(0x287)][_0x4a0f56(0x1b8)]({'type':_0x599761[_0x4a0f56(0x437)]['Error'],'content':this[_0x4a0f56(0x3fb)]['t']('session.connection-failed')}),_0x14bc74['id']===_0x2cb61c[_0x4a0f56(0x42e)][_0x4a0f56(0x279)]&&this[_0x4a0f56(0x287)]['show']({'type':_0x599761[_0x4a0f56(0x437)][_0x4a0f56(0x25e)],'content':this[_0x4a0f56(0x3fb)]['t'](_0x4a0f56(0x40d))});}));}};_0x220b52=_0x589178([_0xb875d8(0x0,_0x189b11[_0xce3cd0(0x161)]),_0xb875d8(0x1,_0x2cb61c['ILocalCacheService']),_0xb875d8(0x2,_0x295c8f['Inject'](_0x2cb61c[_0xce3cd0(0x390)])),_0xb875d8(0x3,_0x189b11[_0xce3cd0(0x1ab)]),_0xb875d8(0x4,_0x189b11[_0xce3cd0(0x2c1)]),_0xb875d8(0x5,_0x295c8f[_0xce3cd0(0x2fb)](_0x295c8f['LocaleService']))],_0x220b52);var _0x57b5b8=Object['getOwnPropertyDescriptor'],_0x41a65c=(_0x4d9ca7,_0x2acc7d,_0x6dea33,_0x4f3679)=>{const _0x20e84c=_0xce3cd0;for(var _0x42b3b8=_0x4f3679>0x1?void 0x0:_0x4f3679?_0x57b5b8(_0x2acc7d,_0x6dea33):_0x2acc7d,_0x571d6d=_0x4d9ca7[_0x20e84c(0x37b)]-0x1,_0x264da0;_0x571d6d>=0x0;_0x571d6d--)(_0x264da0=_0x4d9ca7[_0x571d6d])&&(_0x42b3b8=_0x264da0(_0x42b3b8)||_0x42b3b8);return _0x42b3b8;},_0x217677=(_0x4d7a58,_0x3b10e0)=>(_0xa37ad0,_0x452ff7)=>_0x3b10e0(_0xa37ad0,_0x452ff7,_0x4d7a58);let _0x39c89f=class extends _0x295c8f['Disposable']{constructor(_0x13de19,_0x49f9e0,_0x585522,_0x2bdc27){const _0xe8d1c8=_0xce3cd0;super(),_0xef452e(this,_0xe8d1c8(0x1b0)),(this[_0xe8d1c8(0x1f6)]=_0x13de19,this[_0xe8d1c8(0x220)]=_0x49f9e0,this[_0xe8d1c8(0x22d)]=_0x585522,this['_collaborationSessionService']=_0x2bdc27,this['_init']());}['_init'](){const _0x49cc39=_0xce3cd0;this[_0x49cc39(0x22a)](),this[_0x49cc39(0x242)](),this['_monkeyPatchLogService'](),this[_0x49cc39(0x299)]();}['_initUserListener'](){const _0x47a730=_0xce3cd0;this[_0x47a730(0x43c)](this[_0x47a730(0x234)][_0x47a730(0x25d)][_0x47a730(0x17f)](_0x40b096=>{const _0x406080=_0x47a730;this[_0x406080(0x1b0)]=_0x40b096==null?void 0x0:_0x40b096[_0x406080(0x3c4)];}));}[_0xce3cd0(0x22a)](){const _0xab63a=_0xce3cd0,_0x28e40e=_0x26b90f=>{const _0x582a79=_0x2541;var _0x53a79b;this[_0x582a79(0x26f)]('error',_0x582a79(0x40f)+_0x26b90f[_0x582a79(0x1d0)]+_0x582a79(0x34e)+_0x26b90f[_0x582a79(0x40a)]+':'+_0x26b90f[_0x582a79(0x385)]+':'+_0x26b90f[_0x582a79(0x3f0)]+'\x0a'+(((_0x53a79b=_0x26b90f[_0x582a79(0x1b1)])==null?void 0x0:_0x53a79b[_0x582a79(0x419)])||''));};window[_0xab63a(0x2e4)]('error',_0x28e40e),this[_0xab63a(0x43c)](()=>{const _0x33e7d7=_0xab63a;window[_0x33e7d7(0x2c2)](_0x33e7d7(0x1b1),_0x28e40e);});}[_0xce3cd0(0x242)](){const _0x40b5be=_0xce3cd0,_0x51de5b=_0x3f79b8=>{const _0x13c050=_0x2541;this[_0x13c050(0x26f)]('error',_0x13c050(0x1e2)+_0x3f79b8[_0x13c050(0x44b)]);};window[_0x40b5be(0x2e4)]('unhandledrejection',_0x51de5b),this[_0x40b5be(0x43c)](()=>{window['removeEventListener']('unhandledrejection',_0x51de5b);});}[_0xce3cd0(0x27b)](){const _0x12ac2b=_0xce3cd0,_0x1e9849=this[_0x12ac2b(0x22d)][_0x12ac2b(0x1b1)][_0x12ac2b(0x2df)](this[_0x12ac2b(0x22d)]);this[_0x12ac2b(0x22d)][_0x12ac2b(0x1b1)]=(..._0x1532ad)=>{const _0x7165a7=_0x12ac2b,_0xfbd7c6=_0x1532ad[_0x7165a7(0x16b)](_0x3b1fb1=>_0x3b1fb1 instanceof Error?_0x3b1fb1['message']+'\x0a'+_0x3b1fb1[_0x7165a7(0x419)]:String(_0x3b1fb1))[_0x7165a7(0x2f8)]('\x20');this[_0x7165a7(0x26f)]('error',_0x7165a7(0x1e7)+_0xfbd7c6),_0x1e9849(..._0x1532ad);},this[_0x12ac2b(0x43c)](()=>{const _0x3ff5a6=_0x12ac2b;this[_0x3ff5a6(0x22d)][_0x3ff5a6(0x1b1)]=_0x1e9849;});}[_0xce3cd0(0x26f)](_0x51f0b5,_0x19bc2f){const _0x5fb86=_0xce3cd0;try{const _0x4d76bd={'userId':this[_0x5fb86(0x1b0)],'logLabel':_0x51f0b5,'content':_0x19bc2f};this[_0x5fb86(0x220)][_0x5fb86(0x165)](_0x5fb86(0x189),{'body':_0x4d76bd})[_0x5fb86(0x3b8)](()=>{});}catch{}}};_0x39c89f=_0x41a65c([_0x217677(0x0,_0x295c8f[_0xce3cd0(0x2fb)](_0x295c8f['Injector'])),_0x217677(0x1,_0x295c8f[_0xce3cd0(0x2fb)](_0x17ac2f[_0xce3cd0(0x440)])),_0x217677(0x2,_0x295c8f[_0xce3cd0(0x29b)]),_0x217677(0x3,_0x295c8f[_0xce3cd0(0x2fb)](_0x2cb61c[_0xce3cd0(0x1c6)]))],_0x39c89f);const _0x1e1ed6=_0xce3cd0(0x3ad),_0xf2bce4={};var _0x51b493=Object[_0xce3cd0(0x3e7)],_0x28f25b=(_0x329664,_0x39570b,_0x1c4916,_0x58adcd)=>{const _0x341369=_0xce3cd0;for(var _0x112339=_0x58adcd>0x1?void 0x0:_0x58adcd?_0x51b493(_0x39570b,_0x1c4916):_0x39570b,_0x297f23=_0x329664[_0x341369(0x37b)]-0x1,_0x62da15;_0x297f23>=0x0;_0x297f23--)(_0x62da15=_0x329664[_0x297f23])&&(_0x112339=_0x62da15(_0x112339)||_0x112339);return _0x112339;},_0x4d91ef=(_0x27f01e,_0x41bb9f)=>(_0x21c315,_0x4ccde5)=>_0x41bb9f(_0x21c315,_0x4ccde5,_0x27f01e);let _0x13d4ed=class{constructor(_0x574a33,_0x31d1d3){const _0x2c39da=_0xce3cd0;this[_0x2c39da(0x3d4)]=_0x574a33,this[_0x2c39da(0x3a8)]=_0x31d1d3;}[_0xce3cd0(0x32d)](_0x271eb5){const _0x57e082=_0xce3cd0;this['_transformUndoRedoStack'](_0x271eb5),this[_0x57e082(0x2f6)](_0x271eb5);}['transformRemoteChangeset'](_0x426ea4){const _0x4f0998=_0xce3cd0,{unitID:_0x4429ae}=_0x426ea4,_0x54809e=this[_0x4f0998(0x3a8)][_0x4f0998(0x163)](_0x4429ae)[_0x4f0998(0x23a)](_0x442538[_0x4f0998(0x3ab)]),{redoCache:_0x329ecd}=_0x54809e[_0x4f0998(0x3b9)]();if(_0x329ecd['length']===0x0)return _0x426ea4;let _0x38ddfa=_0x295c8f[_0x4f0998(0x182)][_0x4f0998(0x179)](_0x426ea4[_0x4f0998(0x324)][0x0]);for(let _0x5edd61=0x0;_0x5edd61<_0x329ecd[_0x4f0998(0x37b)];_0x5edd61++){const _0x2af366={'id':_0x4f0998(0x20d),'params':{..._0x329ecd[_0x5edd61]}},_0x5e2bc8=this[_0x4f0998(0x3d4)][_0x4f0998(0x25f)](_0x38ddfa,_0x2af366,!0x1);if(_0x143a87[_0x4f0998(0x44d)](_0x5e2bc8))throw _0x5e2bc8[_0x4f0998(0x1b1)];_0x38ddfa=_0x5e2bc8[_0x4f0998(0x2b0)];}return{..._0x295c8f[_0x4f0998(0x182)][_0x4f0998(0x179)](_0x426ea4),'mutations':[_0x38ddfa]};}[_0xce3cd0(0x43f)](_0x109a8c){const _0x1e0735=_0xce3cd0,{unitID:_0x1a5bd4}=_0x109a8c,_0x214a2f=this[_0x1e0735(0x3a8)]['getRenderById'](_0x1a5bd4)[_0x1e0735(0x23a)](_0x442538[_0x1e0735(0x3ab)]),{undoCache:_0x158838,redoCache:_0x4000c3}=_0x214a2f[_0x1e0735(0x3b9)]();if(_0x158838[_0x1e0735(0x37b)]===0x0||_0x4000c3[_0x1e0735(0x37b)]===0x0)return;const _0x4db19b=[],_0x441c93=[];let _0x5e2c61=_0x295c8f[_0x1e0735(0x182)][_0x1e0735(0x179)](_0x109a8c[_0x1e0735(0x324)][0x0]),_0x45c7fd=_0x295c8f[_0x1e0735(0x182)]['deepClone'](_0x109a8c[_0x1e0735(0x324)][0x0]);for(let _0x53b0f7=_0x158838['length']-0x1;_0x53b0f7>=0x0;_0x53b0f7--){const _0x46a239={'id':'doc.mutation.rich-text-editing','params':{..._0x158838[_0x53b0f7]}},_0x3881b2={'id':_0x1e0735(0x20d),'params':{..._0x4000c3[_0x53b0f7]}},_0x10db8d=this[_0x1e0735(0x3d4)]['transformMutation'](_0x5e2c61,_0x46a239,!0x1),_0x2f0001=this[_0x1e0735(0x3d4)]['transformMutation'](_0x45c7fd,_0x3881b2,!0x1);if(_0x143a87[_0x1e0735(0x44d)](_0x10db8d))throw _0x10db8d['error'];if(_0x143a87[_0x1e0735(0x44d)](_0x2f0001))throw _0x2f0001['error'];_0x4db19b[_0x1e0735(0x1aa)](_0x10db8d[_0x1e0735(0x40c)][_0x1e0735(0x275)]),_0x441c93[_0x1e0735(0x1aa)](_0x2f0001[_0x1e0735(0x40c)]['params']),_0x5e2c61=_0x10db8d[_0x1e0735(0x2b0)],_0x45c7fd=_0x2f0001[_0x1e0735(0x2b0)];}_0x214a2f[_0x1e0735(0x3ee)]({'undoCache':_0x4db19b,'redoCache':_0x441c93});}['_transformPreviousActiveRange'](_0x31866e){const _0x4fb713=_0xce3cd0,{unitID:_0x559294}=_0x31866e,_0x198d07=this[_0x4fb713(0x3a8)]['getRenderById'](_0x559294)[_0x4fb713(0x23a)](_0x442538[_0x4fb713(0x3ab)]),_0x479c61=_0x198d07['getActiveRange']();if(_0x479c61==null)return;const _0x243288=[{'id':_0x4fb713(0x20d),'params':{'unitId':_0x31866e[_0x4fb713(0x445)],'actions':null,'textRanges':[_0x479c61]}}],_0x2e852c=this['_transformService'][_0x4fb713(0x1b4)](_0x31866e,_0x243288);if(!_0x143a87[_0x4fb713(0x3f2)](_0x2e852c))throw _0x2e852c[_0x4fb713(0x1b1)];const _0x108e64=_0x2e852c[_0x4fb713(0x40c)][0x0][_0x4fb713(0x275)][_0x4fb713(0x1c5)];Array[_0x4fb713(0x3c9)](_0x108e64)&&_0x108e64['length']&&_0x198d07[_0x4fb713(0x160)](_0x108e64[0x0]);}};_0x13d4ed=_0x28f25b([_0x4d91ef(0x0,_0x143a87[_0xce3cd0(0x169)]),_0x4d91ef(0x1,_0x8db91b[_0xce3cd0(0x455)])],_0x13d4ed);var _0x26a255=Object[_0xce3cd0(0x3e7)],_0x179deb=(_0x31cbf2,_0x4704b8,_0x16b595,_0x4f709c)=>{const _0x37575a=_0xce3cd0;for(var _0x19aca4=_0x4f709c>0x1?void 0x0:_0x4f709c?_0x26a255(_0x4704b8,_0x16b595):_0x4704b8,_0x19114c=_0x31cbf2[_0x37575a(0x37b)]-0x1,_0x377069;_0x19114c>=0x0;_0x19114c--)(_0x377069=_0x31cbf2[_0x19114c])&&(_0x19aca4=_0x377069(_0x19aca4)||_0x19aca4);return _0x19aca4;},_0x5cc411=(_0xce6db,_0x4f33f6)=>(_0x2304b6,_0x42e043)=>_0x4f33f6(_0x2304b6,_0x42e043,_0xce6db);let _0x214e70=class{constructor(_0x4eb52b,_0x1f2976,_0x4e34dd){const _0x2695a2=_0xce3cd0;this['_injector']=_0x4eb52b,this[_0x2695a2(0x3d4)]=_0x1f2976,this[_0x2695a2(0x26c)]=_0x4e34dd;}['transformStateCache'](_0x5d27c3){const _0x2b34c6=_0xce3cd0;this[_0x2b34c6(0x294)](_0x5d27c3);}[_0xce3cd0(0x3cb)](_0x2e6a11){const _0x4f281c=_0xce3cd0,{unitID:_0x551745}=_0x2e6a11,{collaboration:_0x4fb24a}=this['_docStateChangeManagerService'][_0x4f281c(0x1fe)](_0x551745);if(_0x4fb24a[_0x4f281c(0x37b)]===0x0)return _0x2e6a11;let _0x1ff504=_0x295c8f[_0x4f281c(0x182)][_0x4f281c(0x179)](_0x2e6a11[_0x4f281c(0x324)][0x0]);for(let _0x342b8c=0x0;_0x342b8c<_0x4fb24a['length'];_0x342b8c++){const _0x3ffb6a={'id':_0x4f281c(0x20d),'params':{'unitId':_0x4fb24a[_0x342b8c][_0x4f281c(0x34f)],..._0x4fb24a[_0x342b8c][_0x4f281c(0x1e4)]}},_0x214e07=this[_0x4f281c(0x3d4)][_0x4f281c(0x25f)](_0x1ff504,_0x3ffb6a,!0x1);if(_0x143a87[_0x4f281c(0x44d)](_0x214e07))throw _0x214e07['error'];_0x1ff504=_0x214e07[_0x4f281c(0x2b0)];}return{..._0x295c8f[_0x4f281c(0x182)][_0x4f281c(0x179)](_0x2e6a11),'mutations':[_0x1ff504]};}[_0xce3cd0(0x294)](_0x56ce2d){const _0x446302=_0xce3cd0,{unitID:_0x25ffc5}=_0x56ce2d,{history:_0x4b4b8f,collaboration:_0x1de16b}=this[_0x446302(0x26c)][_0x446302(0x1fe)](_0x25ffc5);if(_0x4b4b8f[_0x446302(0x37b)]===0x0&&_0x1de16b['length']===0x0)return;const _0x2f5b13=[],_0x4cd511=[];let _0x4c2a45=_0x295c8f[_0x446302(0x182)][_0x446302(0x179)](_0x56ce2d[_0x446302(0x324)][0x0]),_0x35c105=_0x295c8f[_0x446302(0x182)]['deepClone'](_0x56ce2d[_0x446302(0x324)][0x0]);for(let _0x5315d1=_0x4b4b8f[_0x446302(0x37b)]-0x1;_0x5315d1>=0x0;_0x5315d1--){const _0x1e3614={'id':_0x446302(0x20d),'params':{'unitId':_0x4b4b8f[_0x5315d1][_0x446302(0x34f)],..._0x4b4b8f[_0x5315d1][_0x446302(0x20b)]}},_0x5d6e41={'id':_0x446302(0x20d),'params':{'unitId':_0x4b4b8f[_0x5315d1][_0x446302(0x34f)],..._0x4b4b8f[_0x5315d1][_0x446302(0x1e4)]}},_0x255bbb=this[_0x446302(0x3d4)]['transformMutation'](_0x4c2a45,_0x1e3614,!0x1),_0x4e1d0b=this[_0x446302(0x3d4)][_0x446302(0x25f)](_0x35c105,_0x5d6e41,!0x1);if(_0x143a87[_0x446302(0x44d)](_0x255bbb))throw _0x255bbb[_0x446302(0x1b1)];if(_0x143a87[_0x446302(0x44d)](_0x4e1d0b))throw _0x4e1d0b[_0x446302(0x1b1)];_0x2f5b13[_0x446302(0x1aa)]({..._0x4b4b8f[_0x5315d1],'undoState':_0x255bbb[_0x446302(0x40c)][_0x446302(0x275)],'redoState':_0x4e1d0b[_0x446302(0x40c)][_0x446302(0x275)]}),_0x4c2a45=_0x255bbb['m1Prime'],_0x35c105=_0x4e1d0b['m1Prime'];}_0x4c2a45=_0x295c8f[_0x446302(0x182)][_0x446302(0x179)](_0x56ce2d[_0x446302(0x324)][0x0]),_0x35c105=_0x295c8f['Tools'][_0x446302(0x179)](_0x56ce2d['mutations'][0x0]);for(let _0x37451b=_0x1de16b['length']-0x1;_0x37451b>=0x0;_0x37451b--){const _0xa21d82={'id':_0x446302(0x20d),'params':{'unitId':_0x1de16b[_0x37451b][_0x446302(0x34f)],..._0x1de16b[_0x37451b]['undoState']}},_0x1b1533={'id':_0x446302(0x20d),'params':{'unitId':_0x1de16b[_0x37451b][_0x446302(0x34f)],..._0x1de16b[_0x37451b][_0x446302(0x1e4)]}},_0x3e02f5=this[_0x446302(0x3d4)][_0x446302(0x25f)](_0x4c2a45,_0xa21d82,!0x1),_0x50444f=this[_0x446302(0x3d4)]['transformMutation'](_0x35c105,_0x1b1533,!0x1);if(_0x143a87['isTransformMutationFailure'](_0x3e02f5))throw _0x3e02f5[_0x446302(0x1b1)];if(_0x143a87[_0x446302(0x44d)](_0x50444f))throw _0x50444f[_0x446302(0x1b1)];_0x4cd511[_0x446302(0x1aa)]({..._0x1de16b[_0x37451b],'undoState':_0x3e02f5[_0x446302(0x40c)][_0x446302(0x275)],'redoState':_0x50444f[_0x446302(0x40c)]['params']}),_0x4c2a45=_0x3e02f5[_0x446302(0x2b0)],_0x35c105=_0x50444f[_0x446302(0x2b0)];}this[_0x446302(0x26c)][_0x446302(0x388)](_0x25ffc5,{'history':_0x2f5b13,'collaboration':_0x4cd511});}};_0x214e70=_0x179deb([_0x5cc411(0x0,_0x295c8f['Inject'](_0x295c8f[_0xce3cd0(0x405)])),_0x5cc411(0x1,_0x143a87[_0xce3cd0(0x169)]),_0x5cc411(0x2,_0x295c8f[_0xce3cd0(0x2fb)](_0x442538[_0xce3cd0(0x39d)]))],_0x214e70);var _0x4a01dd=Object['getOwnPropertyDescriptor'],_0x5064aa=(_0x3bae9a,_0x3ae7e0,_0x16c60e,_0x55491e)=>{for(var _0x3acf49=_0x55491e>0x1?void 0x0:_0x55491e?_0x4a01dd(_0x3ae7e0,_0x16c60e):_0x3ae7e0,_0x1b272b=_0x3bae9a['length']-0x1,_0xda022d;_0x1b272b>=0x0;_0x1b272b--)(_0xda022d=_0x3bae9a[_0x1b272b])&&(_0x3acf49=_0xda022d(_0x3acf49)||_0x3acf49);return _0x3acf49;},_0x357df1=(_0x13b52d,_0x59fe2f)=>(_0x44f928,_0x1539e3)=>_0x59fe2f(_0x44f928,_0x1539e3,_0x13b52d);let _0x5af825=class{constructor(_0x3e4c27,_0xb58c0a){const _0x225452=_0xce3cd0;this[_0x225452(0x1f6)]=_0x3e4c27,this['_transformService']=_0xb58c0a;}[_0xce3cd0(0x32c)](_0x1a6a46){const _0x4d9771=_0xce3cd0;var _0xbdb5a1;const _0x381c57=this[_0x4d9771(0x1f6)][_0x4d9771(0x3fa)](_0x400651['DocSelectionManagerService']),_0x194aa2=(_0xbdb5a1=_0x381c57[_0x4d9771(0x340)]())!=null?_0xbdb5a1:[];if(_0x194aa2[_0x4d9771(0x37b)]===0x0)return;const _0xe3e57f=_0x1a6a46['unitID'],_0xe017f3=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0xe3e57f,'actions':null,'textRanges':_0x194aa2}}],_0x1aa92f=this[_0x4d9771(0x3d4)]['transformMutationsWithChangeset'](_0x1a6a46,_0xe017f3);if(!_0x143a87[_0x4d9771(0x3f2)](_0x1aa92f))throw _0x1aa92f[_0x4d9771(0x1b1)];const _0x4d8ebd=_0x1aa92f[_0x4d9771(0x40c)][0x0]['params'][_0x4d9771(0x1c5)];Array[_0x4d9771(0x3c9)](_0x4d8ebd)&&_0x4d8ebd['length']&&_0x381c57[_0x4d9771(0x3b2)](_0x4d8ebd,{'unitId':_0xe3e57f,'subUnitId':_0xe3e57f},!0x1);}};_0x5af825=_0x5064aa([_0x357df1(0x0,_0x295c8f['Inject'](_0x295c8f[_0xce3cd0(0x405)])),_0x357df1(0x1,_0x143a87[_0xce3cd0(0x169)])],_0x5af825);var _0x1e0e59=Object[_0xce3cd0(0x3e7)],_0x1b682=(_0x4744a8,_0x1695d9,_0x2ae70d,_0x101fd0)=>{const _0xf5f6ea=_0xce3cd0;for(var _0x10533d=_0x101fd0>0x1?void 0x0:_0x101fd0?_0x1e0e59(_0x1695d9,_0x2ae70d):_0x1695d9,_0xc2e0bd=_0x4744a8[_0xf5f6ea(0x37b)]-0x1,_0x3cf109;_0xc2e0bd>=0x0;_0xc2e0bd--)(_0x3cf109=_0x4744a8[_0xc2e0bd])&&(_0x10533d=_0x3cf109(_0x10533d)||_0x10533d);return _0x10533d;},_0x5815dd=(_0x3bffad,_0x57d194)=>(_0x388530,_0x51a730)=>_0x57d194(_0x388530,_0x51a730,_0x3bffad);let _0x9f9f49=class extends _0x295c8f[_0xce3cd0(0x1b9)]{constructor(_0x5b1c88,_0x1adae2,_0xb26174,_0x1b08d4,_0x2bb4ac,_0x321581,_0x3ca2fe,_0xba85df){const _0x29c28f=_0xce3cd0;super(),_0xef452e(this,_0x29c28f(0x414),new _0x58c226[(_0x29c28f(0x43b))](_0x2cb61c[_0x29c28f(0x36d)][_0x29c28f(0x21f)])),(this[_0x29c28f(0x26c)]=_0x5b1c88,this[_0x29c28f(0x392)]=_0x1adae2,this['_docTransformIMECacheService']=_0xb26174,this[_0x29c28f(0x37c)]=_0x1b08d4,this['_docTransformSelectionsService']=_0x2bb4ac,this[_0x29c28f(0x25b)]=_0x321581,this[_0x29c28f(0x287)]=_0x3ca2fe,this[_0x29c28f(0x3fb)]=_0xba85df,this[_0x29c28f(0x1c2)]());}[_0xce3cd0(0x1c2)](){const _0xf5bfe3=_0xce3cd0;this[_0xf5bfe3(0x43c)](this[_0xf5bfe3(0x392)]['entityInit$'][_0xf5bfe3(0x17f)](_0xe00a4f=>{const _0x2b44d3=_0xf5bfe3,_0x347fdf=this[_0x2b44d3(0x26c)][_0x2b44d3(0x2ac)][_0x2b44d3(0x17f)](_0x4da6cf=>{const _0x235b1e=_0x2b44d3;if(_0x4da6cf==null)return;const {unitId:_0x86b15f,redoState:_0x2214be,commandId:_0x1db534}=_0x4da6cf;if(_0x86b15f!==_0xe00a4f[_0x235b1e(0x445)])return;const _0x50145b={'id':_0x1db534,'type':_0x295c8f[_0x235b1e(0x24b)][_0x235b1e(0x16d)],'params':{'unitId':_0x86b15f,'actions':_0x2214be[_0x235b1e(0x1f9)],'textRanges':null}};_0xe00a4f[_0x235b1e(0x3b5)](_0x50145b);});if(_0xe00a4f['disposeWithMe'](_0x347fdf),_0xe00a4f instanceof _0x2cb61c[_0x2b44d3(0x213)]){const _0xc3055={'onTransformIME':_0x5ae32b=>this[_0x2b44d3(0x217)][_0x2b44d3(0x32d)](_0x5ae32b),'onTransformState':_0x2f9fdc=>this['_docTransformStateCacheService']['transformStateCache'](_0x2f9fdc),'onTransformSelections':_0x13bcbf=>this[_0x2b44d3(0x18e)]['transformSelections'](_0x13bcbf),'onSyncEditingCollabCursor':_0x42d093=>this['_docSyncEditingCollabCursorService'][_0x2b44d3(0x1cb)](_0x42d093),'onTransformRemoteChangesetByIMECache':_0x540ea2=>this[_0x2b44d3(0x217)][_0x2b44d3(0x3cb)](_0x540ea2),'onTransformRemoteChangesetByStateCache':_0x32fc37=>this['_docTransformStateCacheService'][_0x2b44d3(0x3cb)](_0x32fc37)};_0xe00a4f[_0x2b44d3(0x1df)](_0xc3055);}}));}};_0x9f9f49=_0x1b682([_0x5815dd(0x0,_0x295c8f['Inject'](_0x442538['DocStateChangeManagerService'])),_0x5815dd(0x1,_0x295c8f[_0xce3cd0(0x2fb)](_0x2cb61c['CollaborationController'])),_0x5815dd(0x2,_0x295c8f['Inject'](_0x13d4ed)),_0x5815dd(0x3,_0x295c8f['Inject'](_0x214e70)),_0x5815dd(0x4,_0x295c8f[_0xce3cd0(0x2fb)](_0x5af825)),_0x5815dd(0x5,_0x295c8f[_0xce3cd0(0x2fb)](_0x109a2a)),_0x5815dd(0x6,_0x189b11['IMessageService']),_0x5815dd(0x7,_0x295c8f['Inject'](_0x295c8f[_0xce3cd0(0x237)]))],_0x9f9f49);var _0x3f8266=(_0xcd04ae=>(_0xcd04ae[_0xcd04ae[_0xce3cd0(0x175)]=0x0]='UNDEFINED',_0xcd04ae[_0xcd04ae['OK']=0x1]='OK',_0xcd04ae[_0xcd04ae[_0xce3cd0(0x1a0)]=0x2]=_0xce3cd0(0x1a0),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x2dc)]=0x3]=_0xce3cd0(0x2dc),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x2b5)]=0x4]=_0xce3cd0(0x2b5),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x1ee)]=0x5]='UNAUTHENTICATED',_0xcd04ae[_0xcd04ae[_0xce3cd0(0x395)]=0x6]=_0xce3cd0(0x395),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x2bb)]=0x7]=_0xce3cd0(0x2bb),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x41a)]=0x8]='TOO_MANY_REQUESTS',_0xcd04ae[_0xcd04ae['COMPLETION_FINISHED']=0x9]=_0xce3cd0(0x2e9),_0xcd04ae[_0xcd04ae['LOGIN_FAILED']=0xa]=_0xce3cd0(0x2b6),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x241)]=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0xcd04ae[_0xcd04ae[_0xce3cd0(0x1e1)]=0xc]=_0xce3cd0(0x1e1),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x210)]=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0xcd04ae[_0xcd04ae['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]=_0xce3cd0(0x353),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x451)]=0xf]=_0xce3cd0(0x451),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x28b)]=0x10]=_0xce3cd0(0x28b),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x1d3)]=0x64]=_0xce3cd0(0x1d3),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x251)]=0x65]=_0xce3cd0(0x251),_0xcd04ae[_0xcd04ae['USER_NOT_FOUND']=0xc9]=_0xce3cd0(0x21a),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x1de)]=0xca]=_0xce3cd0(0x1de),_0xcd04ae[_0xcd04ae['CHANGESET_REVISION_CONFILICT']=0x1389]=_0xce3cd0(0x3d3),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x2e3)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0xcd04ae[_0xcd04ae[_0xce3cd0(0x2f5)]=0x1772]=_0xce3cd0(0x2f5),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x383)]=0x1773]=_0xce3cd0(0x383),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x312)]=0x1b59]=_0xce3cd0(0x312),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x43a)]=0x1b5a]=_0xce3cd0(0x43a),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x2ba)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0xcd04ae[_0xcd04ae['APPLY_PERMISSION_DENIED']=0x1b5c]=_0xce3cd0(0x418),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x3e1)]=0x1b5d]=_0xce3cd0(0x3e1),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x3a5)]=0x1f41]=_0xce3cd0(0x3a5),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x3ff)]=0x2329]=_0xce3cd0(0x3ff),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x24d)]=0x232a]=_0xce3cd0(0x24d),_0xcd04ae[_0xcd04ae['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0xcd04ae[_0xcd04ae['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0xcd04ae[_0xcd04ae[_0xce3cd0(0x24c)]=0x232d]=_0xce3cd0(0x24c),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x38b)]=0x2711]=_0xce3cd0(0x38b),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x42f)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0xcd04ae[_0xcd04ae[_0xce3cd0(0x373)]=0x2713]=_0xce3cd0(0x373),_0xcd04ae[_0xcd04ae['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0xce3cd0(0x359),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x31d)]=0x271a]=_0xce3cd0(0x31d),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x274)]=0x271b]=_0xce3cd0(0x274),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x3ef)]=0x271c]=_0xce3cd0(0x3ef),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x1e6)]=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0xcd04ae[_0xcd04ae[_0xce3cd0(0x401)]=0x271e]=_0xce3cd0(0x401),_0xcd04ae[_0xcd04ae['YUUMI_AI_RUN_FAILED']=0x271f]='YUUMI_AI_RUN_FAILED',_0xcd04ae[_0xcd04ae[_0xce3cd0(0x2d4)]=0x2720]=_0xce3cd0(0x2d4),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x1b3)]=0x2af9]=_0xce3cd0(0x1b3),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x253)]=0x2ee1]=_0xce3cd0(0x253),_0xcd04ae[_0xcd04ae['INVALID_INVITE_CODE']=0x2ee2]=_0xce3cd0(0x212),_0xcd04ae[_0xcd04ae['INVITE_CODE_REQUIRED']=0x2ee3]=_0xce3cd0(0x29e),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x337)]=0x2ee4]=_0xce3cd0(0x337),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x215)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0xcd04ae[_0xcd04ae[_0xce3cd0(0x18b)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0xcd04ae[_0xcd04ae[_0xce3cd0(0x2ec)]=0x32ca]=_0xce3cd0(0x2ec),_0xcd04ae[_0xcd04ae['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0xce3cd0(0x2b2),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x23e)]=0x36b1]=_0xce3cd0(0x23e),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x345)]=0x36b2]=_0xce3cd0(0x345),_0xcd04ae[_0xcd04ae['ENTITLE_DUP_SUBSCRIPTION']=0x36b3]=_0xce3cd0(0x35a),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x2fc)]=0x36b4]='PAYMENT_CHANNEL_NOT_SUPPORT',_0xcd04ae[_0xcd04ae[_0xce3cd0(0x1b5)]=0x36b5]=_0xce3cd0(0x1b5),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x35e)]=0x36b6]='ENTITLE_COUPON_EXPIRED',_0xcd04ae[_0xcd04ae['ENTITLE_COUPON_USED_UP']=0x36b7]=_0xce3cd0(0x1c0),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x387)]=0x36b8]='ENTITLE_USE_COUPON_NOT_1ST_TRADE',_0xcd04ae[_0xcd04ae[_0xce3cd0(0x1be)]=0x3715]=_0xce3cd0(0x1be),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x3de)]=0x3716]='ENTITLE_REPORT_LIMIT_EXCEED',_0xcd04ae[_0xcd04ae[_0xce3cd0(0x1b6)]=0x3717]='ENTITLE_INSUFFICIENT_QUOTA',_0xcd04ae[_0xcd04ae[_0xce3cd0(0x233)]=0x37dd]=_0xce3cd0(0x233),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x3af)]=0x3a99]=_0xce3cd0(0x3af),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x406)]=0x3a9a]=_0xce3cd0(0x406),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x3ea)]=0x3a9b]=_0xce3cd0(0x3ea),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x33c)]=0x3a9c]='REDEMPTION_CODE_NOT_STARTED',_0xcd04ae[_0xcd04ae[_0xce3cd0(0x34a)]=0x3a9d]=_0xce3cd0(0x34a),_0xcd04ae[_0xcd04ae['REDEMPTION_USER_REDEEM_TIMES_EXCEED']=0x3a9e]=_0xce3cd0(0x1e0),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x439)]=0x3a9f]=_0xce3cd0(0x439),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x284)]=0x3e81]=_0xce3cd0(0x284),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x23f)]=-0x1]=_0xce3cd0(0x23f),_0xcd04ae))(_0x3f8266||{});function _0x59df2d(_0x1413d7){const _0x1b374e=_0xce3cd0;var _0x28dd71,_0x467043;const _0x104e51=(_0x28dd71=_0x1413d7['stageInfo'])==null?void 0x0:_0x28dd71[_0x1b374e(0x2e0)],_0x3d0813=((_0x467043=_0x1413d7[_0x1b374e(0x39a)])==null?void 0x0:_0x467043['totalFormulasToCalculate'])||0x0;return _0x104e51===_0x218d3f['FormulaExecuteStageType'][_0x1b374e(0x19f)]&&_0x3d0813>0x0;}function _0x4562a9(_0x5e1f5d){return _0x5e1f5d['functionsExecutedState']===_0x218d3f['FormulaExecutedStateType']['SUCCESS'];}var _0x2f01f2=Object[_0xce3cd0(0x3e7)],_0x1206dd=(_0x1b6e39,_0x4c10a5,_0x481fc5,_0x4faf39)=>{for(var _0xa60039=_0x4faf39>0x1?void 0x0:_0x4faf39?_0x2f01f2(_0x4c10a5,_0x481fc5):_0x4c10a5,_0x3fe4d1=_0x1b6e39['length']-0x1,_0x8918b2;_0x3fe4d1>=0x0;_0x3fe4d1--)(_0x8918b2=_0x1b6e39[_0x3fe4d1])&&(_0xa60039=_0x8918b2(_0xa60039)||_0xa60039);return _0xa60039;},_0x4181cf=(_0x3810b0,_0x366bbd)=>(_0xcf69cd,_0x25793b)=>_0x366bbd(_0xcf69cd,_0x25793b,_0x3810b0);const _0x5a8e9d=_0xce3cd0(0x370),_0x3d3bba='/universer-api/license/formula/limit/start',_0x3266f8='/universer-api/license/formula/limit/done';let _0x42b753=class extends _0x295c8f['Disposable']{constructor(_0x4d6edc,_0x3ef51c,_0x2ee521,_0x390c71,_0x150785,_0x51bec2,_0x446f6f){const _0x58903d=_0xce3cd0;super(),_0xef452e(this,_0x58903d(0x329),null),_0xef452e(this,'_maxFormulaLimit',0x0),_0xef452e(this,_0x58903d(0x3cd),0x0),_0xef452e(this,_0x58903d(0x33a),[]),_0xef452e(this,_0x58903d(0x25a),0x0),(this[_0x58903d(0x287)]=_0x4d6edc,this[_0x58903d(0x223)]=_0x3ef51c,this[_0x58903d(0x32b)]=_0x2ee521,this[_0x58903d(0x220)]=_0x390c71,this[_0x58903d(0x2a9)]=_0x150785,this[_0x58903d(0x22d)]=_0x51bec2,this[_0x58903d(0x3fb)]=_0x446f6f,this[_0x58903d(0x180)]());}['_initCommandInterceptor'](){const _0x317791=_0xce3cd0;this[_0x317791(0x43c)](this['_commandService'][_0x317791(0x369)]((_0x4cdb31,_0x18e888)=>{const _0x580803=_0x317791;var _0x4598af;if(_0x4cdb31['id']!==_0x218d3f[_0x580803(0x3f3)]['id'])return;const _0x414df5=_0x4cdb31[_0x580803(0x275)];if(!this['_hasFormulaInDirtyRanges']((_0x4598af=_0x414df5[_0x580803(0x3d8)])!=null?_0x4598af:[]))return;if(!this[_0x580803(0x3f1)]())throw this[_0x580803(0x31a)](_0x4cdb31,_0x18e888),this['_showGuardMessage'](),new _0x295c8f['CanceledError']();})),this['disposeWithMe'](this['_commandService'][_0x317791(0x19c)]((_0x159950,_0x499416)=>{const _0x341be3=_0x317791;if(_0x159950['id']!==_0x218d3f[_0x341be3(0x31e)]['id'])return;const _0x1d7f4d=_0x159950[_0x341be3(0x275)];if(_0x59df2d(_0x1d7f4d)){const _0x126e32=_0x295c8f[_0x341be3(0x17e)]();this[_0x341be3(0x33a)]['push'](_0x126e32),this['_startCalculationLimit'](_0x126e32);}else{if(_0x4562a9(_0x1d7f4d)&&this[_0x341be3(0x33a)]['length']>0x0){const _0x2fc38e=this[_0x341be3(0x33a)][_0x341be3(0x334)]();this[_0x341be3(0x442)](_0x2fc38e);}}}));}[_0xce3cd0(0x2a7)](){const _0x1000d6=_0xce3cd0;super[_0x1000d6(0x2a7)](),this[_0x1000d6(0x377)](),this['_taskIds']=[],this[_0x1000d6(0x3cd)]=0x0,this[_0x1000d6(0x355)]=0x0,this[_0x1000d6(0x25a)]=0x0;}async[_0xce3cd0(0x31a)](_0x367882,_0x3c7e48){const _0x1183ad=_0xce3cd0;for(let _0x249b74=0x0;_0x249b74<0x1e;_0x249b74++)try{if(await this[_0x1183ad(0x342)](),this[_0x1183ad(0x3f1)]()){this[_0x1183ad(0x2d9)](_0x367882,_0x3c7e48),this[_0x1183ad(0x287)]['show']({'content':this['_localeService']['t'](_0x1183ad(0x436)),'type':_0x599761[_0x1183ad(0x437)][_0x1183ad(0x18a)]});return;}await new Promise(_0x512d99=>{const _0x439bca=_0x1183ad;this[_0x439bca(0x329)]=window[_0x439bca(0x454)](_0x512d99,0x3e8);});}catch(_0x1edee7){this[_0x1183ad(0x22d)][_0x1183ad(0x1b1)](_0x1edee7);}this[_0x1183ad(0x287)][_0x1183ad(0x1b8)]({'content':this[_0x1183ad(0x3fb)]['t'](_0x1183ad(0x225)),'type':_0x599761[_0x1183ad(0x437)][_0x1183ad(0x25e)]});}['_applyCommand'](_0x259872,_0x1fd9f1){const _0x46dbb7=_0xce3cd0;try{this[_0x46dbb7(0x223)][_0x46dbb7(0x37e)](_0x259872['id'],_0x259872[_0x46dbb7(0x275)],_0x1fd9f1);}catch(_0x3df58c){this[_0x46dbb7(0x22d)][_0x46dbb7(0x1b1)](_0x3df58c);}}[_0xce3cd0(0x2eb)](_0x1651a7,_0x12bd71){const _0x2a9eb4=_0xce3cd0;_0x12bd71<this['_lastResponseTimestamp']||(this['_lastResponseTimestamp']=_0x12bd71,this[_0x2a9eb4(0x355)]=Number[_0x2a9eb4(0x276)](_0x1651a7[_0x2a9eb4(0x358)]),this['_currentUsage']=Number[_0x2a9eb4(0x276)](_0x1651a7[_0x2a9eb4(0x1ce)]));}async['_startCalculationLimit'](_0x579af2){const _0x32484d=_0xce3cd0;var _0x5bc4eb,_0x4c9c37;const _0x2d784f=Date[_0x32484d(0x1f1)]();try{const _0x23c881=((_0x5bc4eb=this[_0x32484d(0x32b)][_0x32484d(0x310)](_0x2cb61c[_0x32484d(0x271)]))==null?void 0x0:_0x5bc4eb['startFormulaLimitUrl'])||_0x3d3bba,_0xedc653=(await this['_httpService'][_0x32484d(0x165)](_0x23c881,{'body':JSON[_0x32484d(0x221)]({'taskId':_0x579af2})}))['body'];if(((_0x4c9c37=_0xedc653[_0x32484d(0x1b1)])==null?void 0x0:_0x4c9c37['code'])!==_0x3f8266['OK'])return;this[_0x32484d(0x2eb)](_0xedc653[_0x32484d(0x1fd)],_0x2d784f);}catch(_0x2dc7b2){this[_0x32484d(0x22d)][_0x32484d(0x1b1)](_0x2dc7b2);}}async[_0xce3cd0(0x342)](_0x4a5adf){const _0x3fd688=_0xce3cd0;var _0x1515c4,_0x1a8834;const _0x23c77c=Date[_0x3fd688(0x1f1)]();try{const _0x3a716e=((_0x1515c4=this[_0x3fd688(0x32b)][_0x3fd688(0x310)](_0x2cb61c[_0x3fd688(0x271)]))==null?void 0x0:_0x1515c4[_0x3fd688(0x2d2)])||_0x5a8e9d,_0x2da31d=_0x4a5adf?_0x3a716e+_0x3fd688(0x197)+encodeURIComponent(_0x4a5adf):_0x3a716e,_0x409876=(await this[_0x3fd688(0x220)][_0x3fd688(0x3fa)](_0x2da31d))['body'];if(((_0x1a8834=_0x409876[_0x3fd688(0x1b1)])==null?void 0x0:_0x1a8834[_0x3fd688(0x216)])!==_0x3f8266['OK'])return;this[_0x3fd688(0x2eb)](_0x409876['limitInfo'],_0x23c77c);}catch(_0x6b797a){this[_0x3fd688(0x22d)][_0x3fd688(0x1b1)](_0x6b797a);}}async[_0xce3cd0(0x442)](_0x3c0ea4){const _0x3fb985=_0xce3cd0;var _0x3289a2,_0x3d9a8b;const _0x37ced9=Date[_0x3fb985(0x1f1)]();try{const _0x54822f=((_0x3289a2=this['_configService'][_0x3fb985(0x310)](_0x2cb61c[_0x3fb985(0x271)]))==null?void 0x0:_0x3289a2['releaseFormulaLimitUrl'])||_0x3266f8,_0x11d6c8=(await this['_httpService']['post'](_0x54822f,{'body':JSON['stringify']({'taskId':_0x3c0ea4})}))[_0x3fb985(0x17d)];if(((_0x3d9a8b=_0x11d6c8[_0x3fb985(0x1b1)])==null?void 0x0:_0x3d9a8b[_0x3fb985(0x216)])!==_0x3f8266['OK'])return;this[_0x3fb985(0x2eb)](_0x11d6c8['limitInfo'],_0x37ced9);}catch(_0x54af2b){this[_0x3fb985(0x22d)]['error'](_0x54af2b);}}['_checkCalculationAvailable'](){const _0x239e14=_0xce3cd0;return this[_0x239e14(0x355)]===0x0?!0x0:this[_0x239e14(0x355)]-this[_0x239e14(0x3cd)]>0x0;}['_clearPolling'](){const _0x127c00=_0xce3cd0;this['_pollingInterval']&&(clearTimeout(this['_pollingInterval']),this[_0x127c00(0x329)]=null);}[_0xce3cd0(0x1c1)](){const _0x1d1640=_0xce3cd0;this[_0x1d1640(0x287)][_0x1d1640(0x1b8)]({'content':this[_0x1d1640(0x3fb)]['t'](_0x1d1640(0x1bb)),'type':_0x599761[_0x1d1640(0x437)][_0x1d1640(0x232)]});}[_0xce3cd0(0x15f)](_0x19a84d){const _0x51e345=_0xce3cd0;for(const _0xc45b9c of _0x19a84d){const {unitId:_0x394a30,sheetId:_0x3c2205,range:_0x5d661d}=_0xc45b9c,_0x546d5d=this['_univerInstanceService'][_0x51e345(0x158)](_0x394a30);if(!_0x546d5d)continue;const _0x13e930=_0x546d5d[_0x51e345(0x411)](_0x3c2205);if(!_0x13e930)continue;const _0x24a26a=_0x13e930[_0x51e345(0x27d)]();for(let _0x35cf53=_0x5d661d[_0x51e345(0x1ad)];_0x35cf53<=_0x5d661d[_0x51e345(0x361)];_0x35cf53++)for(let _0x19f6a4=_0x5d661d['startColumn'];_0x19f6a4<=_0x5d661d['endColumn'];_0x19f6a4++){const _0x57873e=_0x24a26a[_0x51e345(0x2a1)](_0x35cf53,_0x19f6a4);if(_0x57873e&&(_0x295c8f[_0x51e345(0x44f)](_0x57873e['f'])||_0x295c8f[_0x51e345(0x300)](_0x57873e['si'])))return!0x0;}}return!0x1;}};_0x42b753=_0x1206dd([_0x4181cf(0x0,_0x295c8f[_0xce3cd0(0x2fb)](_0x189b11[_0xce3cd0(0x1ab)])),_0x4181cf(0x1,_0x295c8f[_0xce3cd0(0x2f7)]),_0x4181cf(0x2,_0x295c8f[_0xce3cd0(0x3ec)]),_0x4181cf(0x3,_0x295c8f[_0xce3cd0(0x2fb)](_0x17ac2f[_0xce3cd0(0x440)])),_0x4181cf(0x4,_0x295c8f['IUniverInstanceService']),_0x4181cf(0x5,_0x295c8f[_0xce3cd0(0x29b)]),_0x4181cf(0x6,_0x295c8f['Inject'](_0x295c8f[_0xce3cd0(0x237)]))],_0x42b753);var _0x7e89c6=Object[_0xce3cd0(0x3e7)],_0x33ad81=(_0x3caf23,_0x81fbfc,_0x20def8,_0x41f4b1)=>{for(var _0x16ab70=_0x41f4b1>0x1?void 0x0:_0x41f4b1?_0x7e89c6(_0x81fbfc,_0x20def8):_0x81fbfc,_0x26b1cc=_0x3caf23['length']-0x1,_0x393cc3;_0x26b1cc>=0x0;_0x26b1cc--)(_0x393cc3=_0x3caf23[_0x26b1cc])&&(_0x16ab70=_0x393cc3(_0x16ab70)||_0x16ab70);return _0x16ab70;},_0x531a52=(_0xe47081,_0x5f1c39)=>(_0x3aa668,_0x2d29b6)=>_0x5f1c39(_0x3aa668,_0x2d29b6,_0xe47081);let _0x449712=class extends _0x295c8f[_0xce3cd0(0x1b9)]{constructor(_0x112f8f,_0x44a68f,_0x130e14){const _0x4955b9=_0xce3cd0;super(),_0xef452e(this,_0x4955b9(0x443),new Map()),_0xef452e(this,_0x4955b9(0x3ae),new Map()),_0xef452e(this,_0x4955b9(0x347),!0x1),(this['_configService']=_0x112f8f,this[_0x4955b9(0x316)]=_0x44a68f,this[_0x4955b9(0x1a8)]=_0x130e14);}[_0xce3cd0(0x1a3)](){const _0x1ae716=_0xce3cd0;this[_0x1ae716(0x347)]=!0x0;}[_0xce3cd0(0x1ff)](){const _0x58a060=_0xce3cd0;this[_0x58a060(0x347)]=!0x1;}get[_0xce3cd0(0x19e)](){const _0x46d760=_0xce3cd0;return this[_0x46d760(0x3ae)];}['dispose'](){const _0x3ee0ce=_0xce3cd0;this[_0x3ee0ce(0x1ed)]()[_0x3ee0ce(0x1af)](()=>super[_0x3ee0ce(0x2a7)]());}async[_0xce3cd0(0x2ad)](_0x1fb55f){const _0x335511=_0xce3cd0;return this['_disabled']?null:this[_0x335511(0x316)][_0x335511(0x364)](_0x2cb61c[_0x335511(0x1d7)](_0x1fb55f));}async[_0xce3cd0(0x371)](_0x28e6dd,_0x6941c0){const _0x1319c1=_0xce3cd0;return!!this[_0x1319c1(0x316)][_0x1319c1(0x183)](_0x28e6dd,_0x6941c0);}[_0xce3cd0(0x38c)](_0x8afd5f,_0x3404a5,_0x10e1ad,_0x127577){const _0x49c8d2=_0xce3cd0,_0x3a5876=this[_0x49c8d2(0x1a8)][_0x49c8d2(0x2ef)](_0x8afd5f);this['_cachedData'][_0x49c8d2(0x427)](_0x8afd5f,{'unitID':_0x8afd5f,'type':_0x3404a5,'awaitingChangeset':_0x10e1ad,'mutations':_0x127577,'rev':_0x3a5876}),this[_0x49c8d2(0x3ae)][_0x49c8d2(0x2d5)](_0x8afd5f)||this[_0x49c8d2(0x44e)](_0x8afd5f);}[_0xce3cd0(0x44e)](_0x26fc77){const _0xbe3366=_0xce3cd0,_0x1dd918=this[_0xbe3366(0x303)]();_0x1dd918===0x0?this[_0xbe3366(0x290)](_0x26fc77):this['_saveTaskMap']['set'](_0x26fc77,setTimeout(()=>this[_0xbe3366(0x290)](_0x26fc77),_0x1dd918));}[_0xce3cd0(0x303)](){const _0x1bc32b=_0xce3cd0;var _0x33cf27;return(_0x33cf27=this[_0x1bc32b(0x32b)][_0x1bc32b(0x310)](_0x2cb61c[_0x1bc32b(0x380)]))!=null?_0x33cf27:_0x2cb61c['LOCAL_CACHE_INTERVAL'];}[_0xce3cd0(0x290)](_0xe285cf){const _0x5dbc30=_0xce3cd0,_0x2c6ada=this[_0x5dbc30(0x3ae)][_0x5dbc30(0x3fa)](_0xe285cf);return _0x2c6ada!==void 0x0&&window[_0x5dbc30(0x38f)](_0x2c6ada),this[_0x5dbc30(0x316)][_0x5dbc30(0x183)](_0x2cb61c['getLocalCacheKey'](_0xe285cf),this[_0x5dbc30(0x443)][_0x5dbc30(0x3fa)](_0xe285cf))[_0x5dbc30(0x1af)](()=>this[_0x5dbc30(0x3ae)][_0x5dbc30(0x434)](_0xe285cf));}async[_0xce3cd0(0x1ed)](){const _0x3a6b6b=_0xce3cd0,_0x584c54=[];this[_0x3a6b6b(0x3ae)]['forEach']((_0x425559,_0x7d6dfd)=>{const _0x379969=_0x3a6b6b;window[_0x379969(0x38f)](_0x425559),_0x584c54[_0x379969(0x44a)](this[_0x379969(0x290)](_0x7d6dfd)['then'](()=>{const _0x47b30d=_0x379969;this['_saveTaskMap'][_0x47b30d(0x434)](_0x7d6dfd);}));}),await Promise[_0x3a6b6b(0x209)](_0x584c54);}};_0x449712=_0x33ad81([_0x531a52(0x0,_0x295c8f[_0xce3cd0(0x3ec)]),_0x531a52(0x1,_0x295c8f[_0xce3cd0(0x159)]),_0x531a52(0x2,_0x295c8f[_0xce3cd0(0x2fb)](_0x143a87[_0xce3cd0(0x3c2)]))],_0x449712);class _0x342226 extends _0x295c8f[_0xce3cd0(0x1e5)]{constructor(){const _0x5f5660=_0xce3cd0;super(),_0xef452e(this,_0x5f5660(0x2e1)),this[_0x5f5660(0x2e1)]=_0x58c226[_0x5f5660(0x41b)](window,_0x5f5660(0x3e5))[_0x5f5660(0x2de)](_0x58c226['takeUntil'](this[_0x5f5660(0x269)]),_0x58c226[_0x5f5660(0x186)](0x1),_0x58c226[_0x5f5660(0x447)](void 0x0));}['setParam'](_0x20ca5f,_0x3e2cfc,_0x42d436=!0x1){const _0x4231df=_0xce3cd0,_0xe6e819=new URL(window[_0x4231df(0x207)][_0x4231df(0x356)]);_0xe6e819['searchParams'][_0x4231df(0x427)](_0x20ca5f,_0x3e2cfc),_0x42d436?window[_0x4231df(0x39c)][_0x4231df(0x349)]('','',_0xe6e819[_0x4231df(0x18c)]()):window[_0x4231df(0x39c)][_0x4231df(0x1b7)]('','',_0xe6e819[_0x4231df(0x18c)]());}[_0xce3cd0(0x1db)](_0x20243e,_0x343be1=!0x1){const _0x383f60=_0xce3cd0,_0x123858=new URL(window[_0x383f60(0x207)][_0x383f60(0x356)]);_0x123858[_0x383f60(0x317)]['delete'](_0x20243e),_0x343be1?window[_0x383f60(0x39c)]['replaceState']('','',_0x123858[_0x383f60(0x18c)]()):window[_0x383f60(0x39c)]['pushState']('','',_0x123858[_0x383f60(0x18c)]());}[_0xce3cd0(0x34d)](_0x1e15c3){const _0x38597e=_0xce3cd0;var _0x375c73;return(_0x375c73=new URL(window[_0x38597e(0x207)][_0x38597e(0x356)])['searchParams']['get'](_0x1e15c3))!=null?_0x375c73:void 0x0;}}var _0x189c15=Object[_0xce3cd0(0x295)],_0x210107=Object['getOwnPropertyDescriptor'],_0x504ae8=(_0x17a1bd,_0x4cba49,_0x263704)=>_0x4cba49 in _0x17a1bd?_0x189c15(_0x17a1bd,_0x4cba49,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x263704}):_0x17a1bd[_0x4cba49]=_0x263704,_0x1841ca=(_0x4a148f,_0x482303,_0x4a86a5,_0x38ab40)=>{const _0x4e818a=_0xce3cd0;for(var _0x4d0c9b=_0x38ab40>0x1?void 0x0:_0x38ab40?_0x210107(_0x482303,_0x4a86a5):_0x482303,_0x373c1d=_0x4a148f[_0x4e818a(0x37b)]-0x1,_0x5ab742;_0x373c1d>=0x0;_0x373c1d--)(_0x5ab742=_0x4a148f[_0x373c1d])&&(_0x4d0c9b=_0x5ab742(_0x4d0c9b)||_0x4d0c9b);return _0x4d0c9b;},_0x5e9c2e=(_0x114ea8,_0x571179)=>(_0x77567a,_0x53906d)=>_0x571179(_0x77567a,_0x53906d,_0x114ea8),_0x170801=(_0x54e9a0,_0x3b3456,_0x36ecfb)=>_0x504ae8(_0x54e9a0,_0x3b3456+'',_0x36ecfb);const _0x473e0c=_0xce3cd0(0x344);_0x38ae7f['UniverCollaborationClientUIPlugin']=class extends _0x295c8f[_0xce3cd0(0x2d6)]{constructor(_0x32b2e4=_0xf2bce4,_0x14adb1,_0x2c859a,_0x5ee614){const _0x41d5cc=_0xce3cd0;super(),this[_0x41d5cc(0x27f)]=_0x32b2e4,this[_0x41d5cc(0x3a8)]=_0x14adb1,this[_0x41d5cc(0x1f6)]=_0x2c859a,this[_0x41d5cc(0x32b)]=_0x5ee614;const {..._0x546e01}=_0x295c8f['merge']({},_0xf2bce4,this[_0x41d5cc(0x27f)]);this['_configService'][_0x41d5cc(0x218)](_0x1e1ed6,_0x546e01);}[_0xce3cd0(0x1a1)](){const _0x39fc6a=_0xce3cd0;this[_0x39fc6a(0x2fd)](),this[_0x39fc6a(0x184)]();}[_0xce3cd0(0x393)](){const _0xacd3ba=_0xce3cd0;this[_0xacd3ba(0x30c)]();}[_0xce3cd0(0x2fd)](){const _0x4646ff=_0xce3cd0;var _0x514729;const _0x2dbdc2=[[_0x12f6f6],[_0x42b753],[_0x5af825],[_0x13d4ed],[_0x214e70],[_0x109a2a],[_0x4d5ea0,{'useClass':_0x342226}],[_0x17ac2f[_0x4646ff(0x19a)],{'useClass':_0x17ac2f[_0x4646ff(0x25c)]}],[_0x2cb61c[_0x4646ff(0x21e)],{'useClass':_0x449712}],[_0x38ae7f[_0x4646ff(0x22e)]],[_0x9f9f49],[_0x220b52],[_0x150b36],[_0x2605d0],[_0x38ae7f[_0x4646ff(0x3a3)]]];this[_0x4646ff(0x27f)][_0x4646ff(0x2f3)]&&_0x2dbdc2[_0x4646ff(0x44a)]([_0x39c89f]),_0x295c8f[_0x4646ff(0x266)](this[_0x4646ff(0x1f6)],_0x295c8f[_0x4646ff(0x289)](_0x2dbdc2,(_0x514729=this['_config'])==null?void 0x0:_0x514729[_0x4646ff(0x435)]));}['_registerRenderDependencies'](){const _0x927a76=_0xce3cd0;this[_0x927a76(0x43c)](this['_renderManagerService'][_0x927a76(0x39b)](_0x295c8f[_0x927a76(0x1f4)][_0x927a76(0x308)],[_0x53604e])),this[_0x927a76(0x43c)](this[_0x927a76(0x3a8)][_0x927a76(0x39b)](_0x295c8f[_0x927a76(0x1f4)][_0x927a76(0x441)],[_0x883637]));}[_0xce3cd0(0x184)](){const _0x3b99a2=_0xce3cd0;_0x295c8f[_0x3b99a2(0x2e2)](this[_0x3b99a2(0x1f6)],[[_0x150b36],[_0x38ae7f[_0x3b99a2(0x22e)]],[_0x9f9f49],[_0x220b52],[_0x38ae7f[_0x3b99a2(0x3a3)]],[_0x42b753]]),this[_0x3b99a2(0x27f)][_0x3b99a2(0x2f3)]&&_0x295c8f['touchDependencies'](this[_0x3b99a2(0x1f6)],[[_0x39c89f]]);}},_0x170801(_0x38ae7f['UniverCollaborationClientUIPlugin'],_0xce3cd0(0x26e),_0x473e0c),_0x38ae7f[_0xce3cd0(0x3a7)]=_0x1841ca([_0x295c8f['DependentOn'](_0x2cb61c[_0xce3cd0(0x3bb)]),_0x5e9c2e(0x1,_0x8db91b[_0xce3cd0(0x455)]),_0x5e9c2e(0x2,_0x295c8f[_0xce3cd0(0x2fb)](_0x295c8f[_0xce3cd0(0x405)])),_0x5e9c2e(0x3,_0x295c8f[_0xce3cd0(0x3ec)])],_0x38ae7f['UniverCollaborationClientUIPlugin']);var _0x5c5821=Object[_0xce3cd0(0x3e7)],_0x262b3a=(_0x570aa9,_0x12130f,_0x35cdde,_0xe8f31c)=>{const _0x3847fa=_0xce3cd0;for(var _0x16b390=_0xe8f31c>0x1?void 0x0:_0xe8f31c?_0x5c5821(_0x12130f,_0x35cdde):_0x12130f,_0x154dab=_0x570aa9[_0x3847fa(0x37b)]-0x1,_0x40e0fd;_0x154dab>=0x0;_0x154dab--)(_0x40e0fd=_0x570aa9[_0x154dab])&&(_0x16b390=_0x40e0fd(_0x16b390)||_0x16b390);return _0x16b390;},_0x442ea6=(_0x35899d,_0x1cf839)=>(_0x4d72c4,_0x325fe8)=>_0x1cf839(_0x4d72c4,_0x325fe8,_0x35899d);_0x38ae7f[_0xce3cd0(0x35f)]=class extends _0x2cb61c[_0xce3cd0(0x42d)]{constructor(_0x189a3e,_0x4d61be,_0x959c4e,_0x1ddb9a,_0x1cb8de){super(_0x189a3e,_0x4d61be,_0x959c4e,_0x1ddb9a,_0x1cb8de);}async[_0xce3cd0(0x327)](_0x2690cd){const _0x9c3ad=_0xce3cd0,_0x15e648=await this[_0x9c3ad(0x2a4)](),_0x3178c6=this[_0x9c3ad(0x391)](_0x2690cd,_0x15e648);return this['_doCreateSocket'](_0x3178c6);}[_0xce3cd0(0x391)](_0x149f97,_0x234495){const _0x4bae79=_0xce3cd0,_0x3eef9c=typeof window>'u'?new URL(_0x149f97):new URL(_0x149f97,window['location']['origin']);_0x3eef9c[_0x4bae79(0x317)][_0x4bae79(0x427)]('sessionTicket',_0x234495);const _0x2796ab=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x4bae79(0x207)]['search']);return _0x2796ab['get'](_0x4bae79(0x3d5))&&_0x3eef9c[_0x4bae79(0x317)]['set'](_0x4bae79(0x3d5),_0x2796ab[_0x4bae79(0x3fa)](_0x4bae79(0x3d5))),_0x3eef9c[_0x4bae79(0x18c)]();}async[_0xce3cd0(0x2a4)](){const _0x1ffeba=_0xce3cd0;var _0x5437e9,_0x92557d,_0x30e5ad;const _0x4b26e8=this[_0x1ffeba(0x32b)][_0x1ffeba(0x310)](_0x2cb61c[_0x1ffeba(0x271)]),_0x1aef92=(_0x5437e9=_0x4b26e8==null?void 0x0:_0x4b26e8[_0x1ffeba(0x30b)])!=null?_0x5437e9:_0x2cb61c[_0x1ffeba(0x397)];return(_0x30e5ad=(_0x92557d=(await this[_0x1ffeba(0x220)][_0x1ffeba(0x3fa)](_0x1aef92,{'headers':{'Content-Type':_0x1ffeba(0x3a4)}}))['body'])==null?void 0x0:_0x92557d[_0x1ffeba(0x2c3)])!=null?_0x30e5ad:'';}},_0x38ae7f[_0xce3cd0(0x35f)]=_0x262b3a([_0x442ea6(0x0,_0x295c8f['Inject'](_0x295c8f['Injector'])),_0x442ea6(0x1,_0x295c8f[_0xce3cd0(0x2fb)](_0x17ac2f[_0xce3cd0(0x440)])),_0x442ea6(0x2,_0x295c8f[_0xce3cd0(0x3ec)]),_0x442ea6(0x3,_0x295c8f['ILogService']),_0x442ea6(0x4,_0x143a87['ISnapshotServerService'])],_0x38ae7f[_0xce3cd0(0x35f)]);var _0x159f39=Object[_0xce3cd0(0x3e7)],_0x23e401=(_0x1ee8d6,_0x139138,_0x5451ab,_0x3e5aba)=>{for(var _0x197aa=_0x3e5aba>0x1?void 0x0:_0x3e5aba?_0x159f39(_0x139138,_0x5451ab):_0x139138,_0x56013e=_0x1ee8d6['length']-0x1,_0x3dc2d6;_0x56013e>=0x0;_0x56013e--)(_0x3dc2d6=_0x1ee8d6[_0x56013e])&&(_0x197aa=_0x3dc2d6(_0x197aa)||_0x197aa);return _0x197aa;},_0x46d7ee=(_0x5499eb,_0x53c92b)=>(_0x2f6f53,_0x383e1f)=>_0x53c92b(_0x2f6f53,_0x383e1f,_0x5499eb);_0x38ae7f[_0xce3cd0(0x3b7)]=class extends _0x295c8f['Disposable']{constructor(_0xdc00b3,_0x5e2e57,_0x57bd4f){super(),this['_instanceService']=_0xdc00b3,this['_httpService']=_0x5e2e57,this['_configService']=_0x57bd4f;}async[_0xce3cd0(0x3d9)](_0x5cce66,_0x5b4cf9,_0x35e7a2,..._0x208282){const _0x3ee3a1=_0xce3cd0;var _0x1f6d14,_0x63d543,_0x116cfa,_0x45ecee;const _0x3ae3b2=this[_0x3ee3a1(0x301)][_0x3ee3a1(0x438)]();if(!_0x3ae3b2)throw new Error(_0x3ee3a1(0x40b));const _0x4af05d=((_0x1f6d14=this[_0x3ee3a1(0x32b)][_0x3ee3a1(0x310)](_0x2cb61c[_0x3ee3a1(0x2af)]))!=null?_0x1f6d14:_0x2cb61c['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT'])+'/'+_0x5cce66+_0x3ee3a1(0x22c)+_0x5b4cf9,_0x516992=new URL(window[_0x3ee3a1(0x207)][_0x3ee3a1(0x356)]),_0x1b1413={'scriptId':_0x5cce66,'runId':(_0x63d543=_0x516992[_0x3ee3a1(0x317)][_0x3ee3a1(0x3fa)](_0x3ee3a1(0x3d5)))!=null?_0x63d543:'','function':_0x5b4cf9,'unitId':_0x3ae3b2[_0x3ee3a1(0x41d)](),'argsOfFunction':JSON[_0x3ee3a1(0x221)](_0x208282),'invokeId':(_0x116cfa=_0x35e7a2['invokeId'])!=null?_0x116cfa:'','executionId':(_0x45ecee=_0x35e7a2[_0x3ee3a1(0x2fe)])!=null?_0x45ecee:''};try{const _0x174a48=await this[_0x3ee3a1(0x220)][_0x3ee3a1(0x165)](_0x4af05d,{'body':_0x1b1413});return _0x174a48[_0x3ee3a1(0x17d)][_0x3ee3a1(0x1b1)]&&_0x174a48[_0x3ee3a1(0x17d)]['error'][_0x3ee3a1(0x216)]!==_0x3f8266['OK']?_0x3ee3a1(0x293):_0x174a48[_0x3ee3a1(0x17d)][_0x3ee3a1(0x2ea)];}catch{return _0x3ee3a1(0x293);}}},_0x38ae7f['RemoteUniscriptService']=_0x23e401([_0x46d7ee(0x0,_0x295c8f[_0xce3cd0(0x16f)]),_0x46d7ee(0x1,_0x295c8f[_0xce3cd0(0x2fb)](_0x17ac2f[_0xce3cd0(0x440)])),_0x46d7ee(0x2,_0x295c8f['IConfigService'])],_0x38ae7f['RemoteUniscriptService']);const _0x10d2cb=0x7530,_0x1c9a75=_0xce3cd0(0x3cf);class _0x370626 extends _0x295c8f['Disposable']{constructor(){const _0x22375a=_0xce3cd0;super(),_0xef452e(this,_0x22375a(0x417),_0x295c8f[_0x22375a(0x17e)]()),_0xef452e(this,'_selfUnitIDs',new Set()),_0xef452e(this,_0x22375a(0x3e8),new Map()),_0xef452e(this,_0x22375a(0x292),null),_0xef452e(this,'_clearOtherTimers',new Map()),_0xef452e(this,_0x22375a(0x18f),new Map()),this[_0x22375a(0x30d)]();}[_0xce3cd0(0x2a7)](){const _0xa3b1db=_0xce3cd0;super[_0xa3b1db(0x2a7)](),this[_0xa3b1db(0x2b9)][_0xa3b1db(0x2e5)]((_0x106254,_0x790c78)=>this[_0xa3b1db(0x322)](_0x790c78)),this[_0xa3b1db(0x292)]&&window[_0xa3b1db(0x296)](this[_0xa3b1db(0x292)]);}['getUnitStatus$'](_0x1cbc68){const _0x67c42b=_0xce3cd0;return this['_ensureSubject'](_0x1cbc68)['pipe'](_0x58c226[_0x67c42b(0x3f4)]());}[_0xce3cd0(0x32e)](_0x3f9cc1){const _0x5220dd=_0xce3cd0;this[_0x5220dd(0x16a)][_0x5220dd(0x348)]===0x0&&this[_0x5220dd(0x379)](),this[_0x5220dd(0x16a)][_0x5220dd(0x3f9)](_0x3f9cc1),this['_send']({'type':0x0,'memberID':this[_0x5220dd(0x417)],'unitIDs':[_0x3f9cc1],'isForwarded':!0x1});}[_0xce3cd0(0x231)](_0x22044b){const _0x25ed5a=_0xce3cd0;this[_0x25ed5a(0x16a)][_0x25ed5a(0x434)](_0x22044b),this['_selfUnitIDs'][_0x25ed5a(0x348)]===0x0&&this['_heartbeatTimer']&&window[_0x25ed5a(0x296)](this['_heartbeatTimer']);}[_0xce3cd0(0x30d)](){const _0x57d4b6=_0xce3cd0;this[_0x57d4b6(0x43c)](_0x295c8f[_0x57d4b6(0x239)](_0x58c226[_0x57d4b6(0x41b)](window,_0x57d4b6(0x314))[_0x57d4b6(0x17f)](_0x1bac1f=>{const _0x3d8c1c=_0x57d4b6;if(_0x1bac1f[_0x3d8c1c(0x1f8)]!==_0x1c9a75||!_0x1bac1f[_0x3d8c1c(0x1f5)])return;const _0x5d45ae=JSON[_0x3d8c1c(0x2b1)](_0x1bac1f[_0x3d8c1c(0x1f5)]);this[_0x3d8c1c(0x30a)](_0x5d45ae);}))),window[_0x57d4b6(0x2e4)]('unload',()=>this['_send']({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0x57d4b6(0x264)](this[_0x57d4b6(0x16a)])}));}['_handleEvent'](_0x953116){const _0x16934e=_0xce3cd0;switch(_0x953116[_0x16934e(0x273)]){case 0x0:this['_handleJoinEvent'](_0x953116);break;case 0x1:this[_0x16934e(0x313)](_0x953116);break;case 0x2:this['_handleHeartbeatEvent'](_0x953116);break;}}[_0xce3cd0(0x3a6)](_0x251d69){const _0x1cd04f=_0xce3cd0,{unitIDs:_0x44f337,memberID:_0x1c5232,isForwarded:_0x3fdcca}=_0x251d69;_0x44f337[_0x1cd04f(0x2e5)](_0x1a5556=>{const _0x313f64=_0x1cd04f;if(!_0x3fdcca&&this['_unitOnClients'][_0x313f64(0x2d5)](_0x1a5556)&&this[_0x313f64(0x176)](_0x1a5556)[_0x313f64(0x173)](_0x2cb61c['UnitStatus'][_0x313f64(0x178)]),!this[_0x313f64(0x3e8)]['has'](_0x1a5556)||!this['_unitOnClients'][_0x313f64(0x3fa)](_0x1a5556)['has'](_0x1c5232)){const _0x4d1467=this[_0x313f64(0x3e8)][_0x313f64(0x3fa)](_0x1a5556)||new Set();_0x4d1467[_0x313f64(0x3f9)](_0x1c5232),this[_0x313f64(0x3e8)][_0x313f64(0x427)](_0x1a5556,_0x4d1467),this[_0x313f64(0x363)](_0x1c5232);}}),_0x3fdcca||this[_0x1cd04f(0x320)]({'type':0x0,'memberID':this[_0x1cd04f(0x417)],'unitIDs':[...this[_0x1cd04f(0x16a)]],'isForwarded':!0x0});}[_0xce3cd0(0x363)](_0xfd213f){const _0x275ac2=_0xce3cd0;this[_0x275ac2(0x322)](_0xfd213f);const _0x5a6294=window[_0x275ac2(0x454)](()=>{const _0x55bfa8=_0x275ac2;this[_0x55bfa8(0x3e8)][_0x55bfa8(0x2e5)](_0x3ef0e5=>{const _0x1f9854=_0x55bfa8;_0x3ef0e5[_0x1f9854(0x434)](_0xfd213f);});},_0x10d2cb*0x2);this[_0x275ac2(0x2b9)][_0x275ac2(0x427)](_0xfd213f,_0x5a6294);}[_0xce3cd0(0x322)](_0xb1a272){const _0x501b7d=_0xce3cd0;if(this[_0x501b7d(0x2b9)]['has'](_0xb1a272)){const _0x2f6e92=this['_clearOtherTimers'][_0x501b7d(0x3fa)](_0xb1a272);_0x2f6e92&&window['clearTimeout'](_0x2f6e92),this[_0x501b7d(0x2b9)][_0x501b7d(0x427)](_0xb1a272,null);}}[_0xce3cd0(0x313)](_0x453a8d){const _0x621650=_0xce3cd0,{memberID:_0x3824be,unitIDs:_0x223c24}=_0x453a8d;_0x223c24['forEach'](_0x4767e6=>{const _0x32d60b=_0x2541;var _0x93098c;const _0x491db2=this['_unitOnClients']['get'](_0x4767e6);_0x491db2&&(_0x491db2['delete'](_0x3824be),(_0x93098c=this[_0x32d60b(0x176)](_0x4767e6))==null||_0x93098c[_0x32d60b(0x173)](_0x491db2[_0x32d60b(0x348)]===0x0?_0x2cb61c[_0x32d60b(0x428)][_0x32d60b(0x24f)]:_0x2cb61c['UnitStatus'][_0x32d60b(0x178)]));}),this[_0x621650(0x322)](_0x3824be);}['_handleHeartbeatEvent'](_0x37d3e4){const _0xe1748c=_0xce3cd0;this[_0xe1748c(0x363)](_0x37d3e4[_0xe1748c(0x3c4)]);}[_0xce3cd0(0x320)](_0x39772b){const _0x2d168b=_0xce3cd0;localStorage[_0x2d168b(0x183)](_0x1c9a75,JSON[_0x2d168b(0x221)](_0x39772b));}[_0xce3cd0(0x379)](){const _0xc58489=_0xce3cd0;this[_0xc58489(0x292)]=window[_0xc58489(0x3a1)](()=>{const _0x1977e4=_0xc58489;this[_0x1977e4(0x320)]({'type':0x2,'memberID':this['_id']});},_0x10d2cb);}['_ensureSubject'](_0x35d8b4){const _0x2f4aeb=_0xce3cd0;return this[_0x2f4aeb(0x18f)][_0x2f4aeb(0x2d5)](_0x35d8b4)||this[_0x2f4aeb(0x18f)][_0x2f4aeb(0x427)](_0x35d8b4,new _0x58c226[(_0x2f4aeb(0x43b))](_0x2cb61c['UnitStatus'][_0x2f4aeb(0x24f)])),this['_unitStatus'][_0x2f4aeb(0x3fa)](_0x35d8b4);}}_0x38ae7f['IURLService']=_0x4d5ea0,_0x38ae7f[_0xce3cd0(0x261)]=_0x3ee6ec,_0x38ae7f[_0xce3cd0(0x404)]=_0x370626,_0x38ae7f[_0xce3cd0(0x1d5)]=_0x342226,Object[_0xce3cd0(0x295)](_0x38ae7f,Symbol[_0xce3cd0(0x33e)],{'value':_0xce3cd0(0x360)});}));
|
|
9
9
|
|
|
10
10
|
// @univerjs-pro/collaboration-client-ui/facade
|
|
11
|
-
(function(
|
|
11
|
+
function _0x2706(_0x49ec72,_0x5a9a3c){_0x49ec72=_0x49ec72-0x1ef;var _0x57522c=_0x5752();var _0x2706fc=_0x57522c[_0x49ec72];return _0x2706fc;}(function(_0x5203ca,_0x4d4467){var _0x25febe=_0x2706,_0x352fe3=_0x5203ca();while(!![]){try{var _0x58b8da=-parseInt(_0x25febe(0x1ef))/0x1+parseInt(_0x25febe(0x1f0))/0x2+-parseInt(_0x25febe(0x1f6))/0x3*(parseInt(_0x25febe(0x1f1))/0x4)+-parseInt(_0x25febe(0x1f9))/0x5+parseInt(_0x25febe(0x1fb))/0x6+-parseInt(_0x25febe(0x1fd))/0x7*(parseInt(_0x25febe(0x1f3))/0x8)+parseInt(_0x25febe(0x1f7))/0x9*(parseInt(_0x25febe(0x200))/0xa);if(_0x58b8da===_0x4d4467)break;else _0x352fe3['push'](_0x352fe3['shift']());}catch(_0x155c16){_0x352fe3['push'](_0x352fe3['shift']());}}}(_0x5752,0x8c439),function(_0x4398c8,_0xe039bf){var _0x1ac0b1=_0x2706;typeof exports==_0x1ac0b1(0x1f2)&&typeof module<'u'?_0xe039bf(require('@univerjs-pro/collaboration-client-ui'),require('@univerjs/core/facade')):typeof define==_0x1ac0b1(0x1fa)&&define[_0x1ac0b1(0x201)]?define(['@univerjs-pro/collaboration-client-ui','@univerjs/core/facade'],_0xe039bf):(_0x4398c8=typeof globalThis<'u'?globalThis:_0x4398c8||self,_0xe039bf(_0x4398c8[_0x1ac0b1(0x1ff)],_0x4398c8[_0x1ac0b1(0x1fe)]));}(this,function(_0x5cbc94,_0x5256cf){'use strict';class _0x48cc17 extends _0x5256cf['FUniver']{['runOnServer'](_0x12f2d5,_0x13c2ab,..._0x32b7f7){var _0x349979=_0x2706;return this[_0x349979(0x1fc)][_0x349979(0x1f5)](_0x5cbc94[_0x349979(0x1f8)])[_0x349979(0x1f4)](_0x12f2d5,_0x13c2ab,{},..._0x32b7f7);}}_0x5256cf['FUniver']['extend'](_0x48cc17);}));function _0x5752(){var _0x2e168c=['function','5066298uObqgY','_injector','7idAUVg','UniverCoreFacade','UniverProCollaborationClientUi','11497130zRNyLT','amd','587075MSPOQE','435786IcjQhV','4VjCFJe','object','6765832kYfGor','runOnServer','get','148794dKwKPg','9fykQNz','RemoteUniscriptService','775330nVIqCv'];_0x5752=function(){return _0x2e168c;};return _0x5752();}
|
|
12
12
|
|
|
13
13
|
// index
|
|
14
14
|
(function(e,i){typeof exports=="object"&&typeof module<"u"?i(exports,require("@univerjs-pro/collaboration"),require("@univerjs-pro/collaboration-client"),require("@univerjs-pro/collaboration-client-ui"),require("@univerjs-pro/collaboration-client/lib/facade")):typeof define=="function"&&define.amd?define(["exports","@univerjs-pro/collaboration","@univerjs-pro/collaboration-client","@univerjs-pro/collaboration-client-ui","@univerjs-pro/collaboration-client/lib/facade"],i):(e=typeof globalThis<"u"?globalThis:e||self,i(e.UniverPresetDocsCollaboration={},e.UniverProCollaboration,e.UniverProCollaborationClient,e.UniverProCollaborationClientUi))})(this,(function(e,i,l,t){"use strict";function a(n){const r=new URL(n,window.location.origin);switch(r.protocol){case"https:":r.protocol="wss:";break;case"http:":r.protocol="ws:";break}return r.toString()}function s(n={}){const{universerEndpoint:r}=n,o=r!=null?r:`${window.location.protocol}//${window.location.host}`;return{plugins:[i.UniverCollaborationPlugin,[l.UniverCollaborationClientPlugin,{socketService:t.BrowserCollaborationSocketService,enableOfflineEditing:!0,enableSingleActiveInstanceLock:!0,enableAuthServer:!0,authzUrl:`${o}/universer-api/authz`,snapshotServerUrl:`${o}/universer-api/snapshot`,collabSubmitChangesetUrl:`${o}/universer-api/comb`,collabWebSocketUrl:a(`${o}/universer-api/comb/connect`),loginUrlKey:`${o}/universer-api/oidc/authpage`,uploadFileServerUrl:`${o}/universer-api/stream/file/upload`,signUrlServerUrl:`${o}/universer-api/file/{fileID}/sign-url`,downloadEndpointUrl:`${o}/`,wsSessionTicketUrl:`${o}/universer-api/user/session-ticket`,sendChangesetTimeout:200}],t.UniverCollaborationClientUIPlugin]}}e.UniverDocsCollaborationPreset=s,Object.defineProperty(e,Symbol.toStringTag,{value:"Module"})}));
|