@univerjs-pro/collaboration-client 0.4.2-nightly.202411011606 → 0.4.2-nightly.202411031606

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 CHANGED
@@ -1 +1 @@
1
- function _0x12e6(){const _0x5aa125=['conflict.title','getCurrentUser','algo','_onMessage','onStarting','DEFAULT_FILE_NAME','_toggleOffline','onRemoteAck','YUUMI_URL_COL_OUT_OF_RANGE','_revisionService','getUnitOnRev','format','SEND_CHANGESET_TIMEOUT','_showConflictNotification','_initCloseConn','UnitSnapshot','fetching\x20missing\x20changesets\x20from\x20','onlineStatus','/role','subUnitId','kdf','HEARTBEAT_INTERVAL_KEY','debug','_beforeCloseService','shareReplay','editing\x20status\x20changed\x20to','_retryCount','BuiltInUIPart','_redoStacks','onMissingChangesets','beginPath','624659JXNxCR','/allowed','awaiting_with_pending','next','unitID','show','SnapshotServerOverHTTPService','error$','_doCryptBlock','&assign=','startColumn','SYNCED','_resendWithTimeout','close','_candidateSocket','toggleOffline','_tryReconnect','RECT','EffectRefRangId','SNAPSHOT_HAS_BEEN_REMOVED','CollaborationSocketService','/rev/','interceptor','UniverCollaborationClient','getResourcesRequest','encryptBlock','_initStatusComponent','none','lineTo','0\x200\x2016\x2016','defaultProps','memberID','_doReset','fillRule','appendMutation','1957965jBsCOE','changesets','compute','text','Undefined','activeSheet$','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','updateOfflineData','_decreaseWaiting','measureText','_httpService','\x20in\x20_schedule.','subscribe','_lastPointer','updatePermissionObjEvent','get','_transformSelections','LIVESHARE_NEW_HOST','FileId','31819BxdpkH','_getCurrentRevision','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','CommentService','src','getSheetObject','Rect','_sendHeartbeat','action','ERROR_IMAGE','_initEventListeners','UNAUTHENTICATED','newCsEvent','_getDownloadEndpointURL','{fileID}','onSyncEditingCollabCursor','setCurrentUser','_heartbeatTimer','throttleTime','_initMergeInterceptor','RefRangeService','ImageUploadStatusType','cursorInfo','LOCAL_CACHE_INTERVAL_KEY','_onCombEvent','mapDocumentTypeToUniverType','initWorkbookPermissionChange','registerRenderModule','UniverRpc','unitId\x20is\x20not\x20found','send','children','_collabCursorState$','_map','div','duration','_nRounds','_initRequestHeader','_onRemoteRetry','_cursor','APPLY_NON_SEQUENTIAL_REVISION','handleInsertCol','_drawTextRange','CONFLICT','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','Plugin','exhaustSavingTask','_session','Pkcs7','SNAPSHOT_SERVER_URL_KEY','setTimeout','SheetPermissionInitController','stopTime','SetTextSelectionsOperation','_updateState','debounce','collab-rect-range-','_name','_onLocalMutation','1em','_onRemoteACK','with','currentSkeleton$','useRef','rng','put','_urlService','onPointerMove$','post','_substituteRedoStack','name','clone','[PendingState]:\x20received\x20rejection.','_sender','Cipher','__Key__','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','[SyncedState]:\x20received\x20rejection.','_createHelper','saveSheetBlock','_mode','_transformRemoteChangesetByStateCache','off-line-single','indexOf','_minBufferSize','_iv','_render','_onUserLeave','roomInfos','IAuthzIoService','IConfigService','arc','permission.title','@univerjs/sheets-ui','_memberService','rgba(255,\x20255,\x20255,\x200.01)','reset','UNRECOGNIZED','isTransformChangesetsSuccess','Univer','_doFinalize','getLatestCsReqIdBySid','_hash','LIVESHARE_TERMINATE','_createInitialStateImpl','_commentService','SerializableCipher','BehaviorSubject','CONNECTOR_DATA_TOO_LARGE','Base64','commentUpdateEvent','trim','workbook','onMouseMove','SNAPSHOT_INVALID_SNAPSHOT','_saveCache','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','newValue','collabStatus.syncing','parse','disableLocalCache','_sessions','shouldCloseConn','/object/','Encryptor','unit-cache-','_process','_notificationService','DesktopCollaborationStatusDisplayController','b64DecodeUnicode','_singleActiveUnitService','leaveEvent','exports','_backgroundColor','objectType','reconnect','@univerjs/docs','\x0aCurrent:\x20','_onConflict','transformSelections','/fetchmissing?from=','popstate','_transitionLocked','originalMeta','_resendTimer','_HTTPService','/unit/','registerDependencies','_logService','_range','change$','socket\x20open.','icon','getTime','socket\x20close','_change$','currentTheme$','delete','url(#on-line-single_clip0_910_349)','session','collaMsg','idSuffix','setItem','m2Prime','/universer-api/authz','listRoles','_unitID','getValue','_retryConnectingTimer','SHOULD_CLOSE_CONN','isEditing','setShowComponents','Utf8','_saveTaskMap','LEAVE','HTTPRequest','setAlpha','_handleHover','_color','open$','decrypt','BlockCipher','objects','equals','BufferedBlockAlgorithm','_throwTelemetryCollaborationNewChangeset','_textBubble','Shape','[CollaborationSession]','setInterval','_startSheetCollabCursor','IRemoteInstanceService','addEventListener','_docTransformStateCacheService','colorChannel1','isTransformMutationsWithChangesetSuccess','patch','AES','UNIVER_PROJECT','_getMergeRange','onTransformSelections','saveSnapshot','merge','on-line-single_clip0_910_349','string','fromEvent','collabStatus.fetchMiss','defIds','min','@univerjs/core','snapshot','collaboration-session-retry','status','getVpScrollXYInfoByPosToVp','_eventUnsubscribe','x-univer-host','UPDATE_PERMISSION_OBJ','hovered','Warning','YUUMI_RATE_OVER_LIMIT','LICENSE_MAX_UNITS_EXCEEDED','ThemeService','transformMutationsWithChangeset','_context','getTypeOfUnitDisposed$','visibilitychange','CollaborationStatusDisplay','width','InsertSheetMutation','_assignedColors','retryConnectingInterval','every','_waitCount','sequenceExecute','entries','_getUndoStack','size','cfg','create','COLLAB_SUBMIT_CHANGESET_URL','resend','SheetsSelectionsService','setWaitCount','EvpKDF','_updateLocalCache','UniverIcon','COMPRESS_MUTATION_APPLY','_ws','deepClone','unknown','UNIVER_UNKNOWN','font','urlChange$','assignAColorForMemberID','baseRev','fillText','defineProperty','_onCursorUpdate','_onRemoteChangeset','BASE64','enableOfflineEditing','_substituteUndoStack','touchDependencies','_scheduleHeartbeat','concatMap','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','PERMISSION_REJ','length','Latin1','SetSelectionsOperation','gold400','DocCollaborationEntity','_localeService','CHANGESET_SHOULD_RETRY','$super','max','IImageIoService','Optional','_cachedData','HttpImport','createCollaborator','image/bmp','#fff','includes','fillStyle','SUCCUSS','WebSocketService','@univerjs/sheets','pipe','_shouldReportTelemetry','serializeCombRequest','@univerjs-pro/collaboration','collaboration.single-unit.warning','status$','_append','/universer-api/file/{fileID}/sign-url','isActive','selections','pad','_online','socketService','getRenderById','_prevBlock','url','connection\x20error','_handleJoinEvent','ISnapshotServerService','14SBWcJE','handleMoveRange','_collabSessionService','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','_collaborationTimeoutTimer','stringify','startRow','triggerDblclick','onRendered','rev','image/jpg','ACTIVE_UNIT_EVENT_CHANNEL','registerRefRange','sheets','_docStateChangeManagerService','UnitEmbedded','getSkeleton','_syncEditingCollabCursorService','@univerjs/ui','distinctUntilChanged','Injector','_reverseMap','_transformHistoryAndStateStack','clearTimeout','CHANGESET_REVISION_CONFILICT','_updateLocalCursor','liveShareNewHost','top','ERROR_EXCEED_SIZE','OTHER_CLIENTS_EDITING','values','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','[CollaborationEntity]','params','visibilityState','save','_submitChangeset','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','[OfflineState]:\x20received\x20acknowledgement.','svg','_loadDoc','setStateCache','IRenderManagerService','forEach','dispose$','unitId','_setupBeforeClosingHandler','RETRY_CONNECTING_MAX_COUNT_KEY','setActiveRange','HEARTBEAT_TIMEOUT','PERMISSION_DENIED','ILogService','APPLY_DUPLICATED','black','_clearTimeoutTimer','StreamCipher','getParam','_state$','updatePermissionPoint','roomMembers','_getScale','InsertRangeMoveRightCommandId','CommandType','_iKey','_getSignURL','_hideTimer','focused$','UNIVER_SHEET','MSG_FOR_ERROR','_transformRemoteChangesetByIMECache','requestParams','useDependency','_updateCollabCursors','collaboration-client.offline-data-not-saved','_listenToOfflineEvent','floor','getDeserializedSheetBlock','react','find','_rescheduleHeartbeat','hidden','href','DocIMEInputManagerService','startTime','collab-text-anchor-','INGEST','tag','getCurrentSelections','handleInsertRangeMoveDown','UNKNOWN_CODE','JOIN','execute','[OfflineState]:\x20received\x20changeset.','_removeClearOtherTimer','revision','transformUndoRedo','confirm','deserializeRangeWithSheet','YUUMI_UNABLE_LOAD_URL','_collaborationController','_state','__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED','_init','InsertRowCommandId','/collaborator','onPointerEnter$','_snapshotService','INTERNAL_ERROR','_registerDependencies','OnLineSingle','_getSheetObject','_roomMembers','list','onSendChangeset','JOINING','_stopTelemetryCollaborationNewChangeset','Unknown\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_imageSourceCache','createSocket','collabStatus.synced','onCommandExecuted','commentUpdate$','json','_scheduleClearOtherTimer','_commandService','padding','registerHTTPInterceptor','_handleLeaveEvent','_onRecvEvent','useCallback','HTTPService','words','_config','_socketReady','_transformService','getCollabCursors$','take','HEARTBEAT','isArray','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','getUnit','_socketMessageSubscription','COLORS','1348460iUkkPt','IBeforeCloseService','NodePositionConvertToRectRange','_createSocket','rxjs','_checkMissing','_data','HttpExport','prototype','removeMember','LICENSE_DISTRO_REJECTED','DocStateChangeManagerService','_instanceService','/-/object/-/batch_allowed','generateRandomId','OFFLINE','engine','_updateSubUnitFromURLParams','sessionStatus','apply','conflict.content','delay','univer-online','@univerjs/rpc','docStateChange$','_handleHeartbeatEvent','@univerjs/telemetry','_scene','NOT_COLLAB','unshift','Tooltip','RETRY_CONNECTING_MAX_COUNT','deserializeToCombResponse','IUniverInstanceService','_univerInstanceService','function','asObservable','getUnitStatus$','Decryptor','createDecryptor','_toggleOnline','...','getUnitId','Hex','_initCommandExecutedListener','collabStatus.offline','_onCursorDelete','Unknown\x20user','collab-text-range-','roles','session.will-retry','_waitForHeartbeatResponse','Vector2','awaitingChangeset','history','assign','evenodd','_hover','storage','_loadSheet','@univerjs/design','_messageService','_onFetchMissResult','_cursorInfo$','byteLength','_ENC_XFORM_MODE','target','5827788NtqOki','UNIVER_SLIDE','session.connection-failed','conflict','_lockTransition','collabCursorState$','UUID','eventID','updateCursorEvent','enableSingleActiveInstanceLock','ICollaborationSocketService','charCodeAt','getColor','ReplaySubject','_colorIndex','_updateURLWithCurrentState','_collabCursorController','pauseCollaboration','extend','getOwnPropertyDescriptor','HELLO','handleInsertRow','ILocalStorageService','drawWith','blue400','sessionStatus$','@univerjs/docs-ui','TOO_MANY_REQUESTS','transformStack\x20failed!','Tools','append','UniverDocs','getActiveSheet','offline','univer-pro.collaboration-client-socket-service','join','SessionStatus','defs','0\x200\x2017\x2016','_themeService','univer-offline','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','getInterceptPoints','buffer','setUndoRedoMutationParamsCache','compose','add','OffLineSingle','Fragment','/universer-api/comb','Inject','CHANGESET_ACK','@univerjs/engine-formula','isInternalEditorID','MD5','[CollaborationState]:\x20apply\x20error!','handleDeleteRangeMoveUp','_entityInit$','takeUntil','_parse','RECV','Base','clear','collaboration-client.config','Malformed\x20UTF-8\x20data','authzUrl','bottom','ranges','byteOffset','filter','auth.needGotoLoginAlert','unsubscribe','signUrlServerUrl','_scheduleTimestamp','EmptyMutation','ALREADY_EXISTS','getStateCache','_initUnitPermissionChange','mutations','_shapes','reject','getOwnPropertySymbols','LIVESHARE_REQUEST_HOST','univer-pro.collaboration-client.single-active-unit-service','UPDATE_CURSOR','_tryEnsureSocket','repeat','getRelativeToViewportCoord','_applyRemoteChangeset','copyFileMeta','DocSkeletonManagerService','hasOwnProperty','registerBeforeClose','collaboration.closeRoom','translate(.97)','call','slice','onTransformRemoteChangesetByStateCache','SnapshotService','hide','onload','event$','getCollabEntity$','_type','_transformStack','_executeRemoteChangeset','round','LocaleService','resourceIDs','getSheetId','sin','CollaborationSession','propertyIsEnumerable','/resources','DataLoaderController','_ensureSubject','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','clipPath','fetchThroughInterceptors','reduce','current','_scheduleCollaborationTimeoutTimer','responseType','undoState','createElement','infoRsp','LOGIN_URL_KEY','finalize','_startTelemetryCollaborationNewChangeset','registerOnClose','UniverDocsUi','MemberService','has','Hasher','_anchor','_removeCollabCursors','restore','_transformUndoredo','keySize','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','saveChangeset','encrypt','AUTHZ_URL_KEY','/universer-api/snapshot','submit\x20changeset\x20error!','key','_getUploadFileURL','_clearScheduledTask','textRanges','transformRemoteChangeset','AWAITING','getAllMembers','_fetchMissChangesets','findNodePositionByCharIndex','toString','BlockCipherMode','getUndoRedoMutationParamsCache','onRemoteRetry','_colorAssignService','VIEW_MAIN','failed\x20to\x20apply\x20missed\x20changesets!','_localCacheService','deleteCollaborator','_transformPreviousActiveRange','onPointerLeave$','msCrypto','disposeUnit','requireSession','onCommentUpdate','InsertColCommandId','handleIRemoveCol','push','WorkbookEditablePermission','column','_transformStateCache','default','ICommandService','CBC','setShapeProps','ImageIoService','rxjs/operators','CollaborationStatus','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','_replayCachedMutations','_localStorageService','IPermissionService','_compressMutationService','PENDING','lib','image/gif','_sessionStatus$','_members','collabSubmitChangesetUrl','CollaborationController','_selfUnitIDs','ciphertext','UniverCollaboration','_telemetryInfo','getCoordByCell','_startCollaboration','_refRangeService','NO_OTHER_CLIENTS_EDITING','_drawRectRange','/object','fill','hasher','_initResize','UniverInstanceType','FETCH_MISS','_draw','OpenSSL','unpad','closeSession','getOffsetConfig','[PendingState]:\x20received\x20acknowledgement.','isTransformMutationsWithChangesetFailure','_drawAnchor','RemoveRowCommandId','message$','whenReady','_schedule','RevisionService','disposeWithMe','ceil','collaboration_new_changeset','toggleOnline','_createInitialState','reqId','getMergeData','_onOffline','APPLY_REJECT','row','debounceTime','map','dispose','_docSyncEditingCollabCursorService','FAIL','_http','updateCollaborator','jsxs','transformMutation','UniverSheets','transformStateCache','getUnhiddenWorksheets','getSheetBlock','result','override','UNDEFINED','csAckEvent','/new_changes','getConfig','subscribeEvent','_listenToOnlineEvent','_xformMode','online','LICENSE_EXPORT_SIZE_EXCEEDED','unit','closePath','CollaborationSessionService','[UniverCollaborationClientPlugin]','Error','ref','ImageSourceType','bind','_remoteChangesetQueue','sendChangesetTimeout','univer-online-status-title','processBlock','reverse','_onConnectionOpen','_getCtorByUniverType','createIdentifier','_clearHeartbeatTimer','_createHmacHelper','ITransformService','startsWith','on-line-single','[CollaborationSessionService]','/universer-api/stream/file/upload','_onConnectionFailed','_docTransformIMECacheService','Rectangle','_handler','blockSize','USERS_ENTER','ReactCurrentOwner','PSEUDO_FETCH_MISSING_RESULT','then','fromCollab','COLLAB_WEB_SOCKET_URL_KEY','split','_isPermissionRej','Module','onlineStatusIcon','moveTo','1690208tJgQdE','now','IMessageService','_getSaveTimeout','searchParams','mixIn','HEARTBEAT_INTERVAL','_joinRoom','redoState','jsx','setParam','cursorInfo$','_startDocCollabCursor','UniverCollaborationClientPlugin','c1Prime','_id','enc','onStateChange','connectInjector','skeleton','_undoRedoService','_event$','permission.content','handleInsertRangeMoveRight','_transformIMECache','_queuedRemoteChangesets','_exhaustRemoteChangesetQueue','getCurrentUnitForType','flatMap','_unitStatus','_docTransformSelectionsService','_configService','attrs','Disposable','RegularPolygon','react.fragment','ThresholdInterceptorFactory','path','concat','getCurrent','getCurrentRevOfUnit','handleIRemoveRow','_clearOtherTimers','_DEC_XFORM_MODE','data','WordArray','\x20-\x20','_docSkeletonManagerService','_commentUpdate$','xlink:href','session.room-full','Subject','_acknowledgedAwaitingChangeset','roomMembers$','MessageType','CollaborationEvent','editingUnit','setConfig','NoPadding','\x20to\x20','toStringTag','_anchorDot','DOC_RANGE_TYPE','_resendTimeout','UniverEngineFormula','objectActions','APPLY_PERMISSION_DENIED','collab-client.tooltip.reconnect','m1Prime','TEXT_RANGE_LAYER_INDEX','getItem','[PendingState]:\x20unhandled\x20univer\x20type:\x20','_socketService','IUndoRedoService','fetch_missing','executeCommand','_getAPIPrefixPath','doc.mutation.rich-text-editing','transformByState','_document','_send','LIVESHARE_FETCH_OPERATIONS','_onRemoteRejected','_labelPosition','INotificationService','_hovered','socket$','_removeRoom','UserManagerService','getRandomValues','COLLAB_SUBMIT_CHANGESET_URL_KEY','_refreshCollabCursors','random','AuthzIoHttpService','SetWorksheetActivateCommand','complete','30kcsbtD','/block/','hostname','/-/object/list','_scheduleSaving','_sendHeartbeatTimer','_onRefRangeChange','IDLE','loadOfflineData','_userManagerService','type','permissionRejEvent','saveOfflineData','enableAuthServer','ColorKit','splice','_hasher','onMissedChangesetFetched','LICENSE_IMPORT_SIZE_EXCEEDED','routeKey','substring','readInt32LE','[SyncedState]:\x20received\x20acknowledgement.','fromCharCode','toDisposable','isTransformMutationFailure','UNKNOWN_CMD','_awaitingChangeset','createInstance','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_cursors','COMPLETION_FINISHED','_createHandler','NOT_FOUND','onRemoteRej','from','ivSize','set','transformIMECache','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','getMemberID','ONLINE','_getAPIPrefix','red300','_entities','replaceState','error','_snapshotServerService','_setupSubUnitSync','code','_key','loginUrlKey','_getAnchorBounding','liveShareOperation','encode','currentColor','iterations','all','synced','_status$','forwardRef','getCollabEntity','catch','isPermissionRej','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','EXCHANGE_SIGN_URL_SERVER_URL_KEY','_cipher','_clearLocalCache','image/png','location','replaceTextRanges','ENSURE_SNAPSHOT_EXECUTION','univerjs-icon\x20univerjs-icon-','DeleteRangeMoveLeftCommandId','_socket$','awaiting','height','LIVESHARE_OPERATION','url(#$1','&source=','_timeoutTimer','DisposableCollection','_permissionService','&to=','_renderManagerService','_initStatusListener','replace','@univerjs/drawing','object','update','_cursorShapes','_changesetReqId','file','_disabled','RxDisposable','subunit','getUnitType','makeDirty','_initDependencies','_keyPriorReset','_invKeySchedule','joinRsp','body','_injector','fetchMissingChangesets','getMember','randomBytes','SheetCollabCursorShape','amd','mode','_getSendChangesetTimeout','_incrementRevisionNumber','_transformUndoRedoStack','updateMember','off-line-single_clip0_910_343','userID','addImageSourceCache','TRANSFORM_CHANGE_OBSERVABLE_TYPE','_getSnapshotAPIPrefix','SetDocZoomRatioOperation','react.element','unload','localeService','[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.','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','onlineStatusTitle','@univerjs/network','INVALID_ARGUMENT','method','[CollaborationSessionService]:\x20socket\x20error','enableLocalCache','_sendingTimer','_unlockTransition','_sheetSkeletonManagerService','univer-online-status-icon','_collaborationPaused','combineLatest','toRgbString','crypto','state$','YUUMI_SUBSCRIPTION_NOT_FOUND','putCollaborators','salt','displayName','[DataLoaderController]','addObjects','range','FromArray','uploadFileServerUrl','CompressMutationService','SUBMIT_CHANGESET','_pendingMutations','VIEWPORT_KEY','abs','registerComponent','clamp','@univerjs/engine-render','csShouldRetryEvent','APPLY_REVISION_CONFILICT','LocalCacheService','randomUUID','_registerRenderDependencies','getSheetBySheetId','M0\x200H16V16H0z','_updateStatus','_socket','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','parseProtocolChangeset','880962gCeiEK','sigBytes','UniverDesign','ws://127.0.0.1:8000/universer-api/comb/connect','SHA1','operators','LocalUndoRedoService','onRemoteChangeset','className','save\x20fail\x20reason\x20is\x20','_clearRedo','selection','telemetry\x20info\x20is\x20not\x20initialized','NEW_CHANGESETS','TEXT','charAt','collabWebSocketUrl','objectID','_getLoginPath','_syncEditingCollabCursor','handleDeleteRangeMoveLeft','switchMap','_roomMembers$','RemoveColCommandId','RichTextEditingMutation','syncEditingCollabCursor','capture','MUTATION','getRangePointData','transform','getActiveRange','FETCH_MISSING','getDocRanges','init','clearInterval','_unitOnClients','substr','endColumn','LOCAL_CACHE_INTERVAL','CollaborationEntity','onTransformRemoteChangesetByIMECache','pending','color','_onUserJoin','close$','HmacSHA1','origin','COMMENT_UPDATE','onTransformIME','_telemetryService','_collaborationSessionService','IUIPartsService','pushState','univer-online-status','headers','getRoom','_keySchedule','_clearCollaborationTimeoutTimer','sid','transformChangesets','HMAC','[CollaborationUndoRedoService]','useObservable','_nDataBytes','addObject','_clearUndo','_undoStacks','actions','SheetCollaborationEntity','_changesetSessionId','getTypeOfUnitAdded$','serializeRangeWithSheet','USERS_LEAVE','cmd','UNIVER_DOC'];_0x12e6=function(){return _0x5aa125;};return _0x12e6();}function _0x10db(_0xb99645,_0x341cea){const _0x12e694=_0x12e6();return _0x10db=function(_0x10db1f,_0x43cd04){_0x10db1f=_0x10db1f-0x1e9;let _0x474c23=_0x12e694[_0x10db1f];return _0x474c23;},_0x10db(_0xb99645,_0x341cea);}(function(_0x205527,_0x2fe16a){const _0x427cfd=_0x10db,_0x41ef00=_0x205527();while(!![]){try{const _0x537c24=parseInt(_0x427cfd(0x520))/0x1*(-parseInt(_0x427cfd(0x653))/0x2)+parseInt(_0x427cfd(0x480))/0x3+-parseInt(_0x427cfd(0x20e))/0x4+-parseInt(_0x427cfd(0x50d))/0x5+parseInt(_0x427cfd(0x3d8))/0x6*(parseInt(_0x427cfd(0x4ea))/0x7)+-parseInt(_0x427cfd(0x378))/0x8+parseInt(_0x427cfd(0x251))/0x9;if(_0x537c24===_0x2fe16a)break;else _0x41ef00['push'](_0x41ef00['shift']());}catch(_0x40ab2c){_0x41ef00['push'](_0x41ef00['shift']());}}}(_0x12e6,0x36d8e),function(_0x6b6bd3,_0x2d7ba2){const _0x585254=_0x10db;typeof exports==_0x585254(0x430)&&typeof module<'u'?_0x2d7ba2(exports,require(_0x585254(0x5f1)),require(_0x585254(0x212)),require(_0x585254(0x305)),require(_0x585254(0x24a)),require(_0x585254(0x665)),require(_0x585254(0x456)),require(_0x585254(0x643)),require(_0x585254(0x228)),require(_0x585254(0x26b)),require(_0x585254(0x63f)),require(_0x585254(0x474)),require(_0x585254(0x5a8)),require('@univerjs/drawing'),require(_0x585254(0x285)),require(_0x585254(0x57d)),require(_0x585254(0x6a0)),require(_0x585254(0x225))):typeof define==_0x585254(0x231)&&define[_0x585254(0x444)]?define([_0x585254(0x5a4),_0x585254(0x5f1),_0x585254(0x212),_0x585254(0x305),_0x585254(0x24a),_0x585254(0x665),'@univerjs/network',_0x585254(0x643),'@univerjs/telemetry','@univerjs/docs-ui',_0x585254(0x63f),_0x585254(0x474),_0x585254(0x5a8),_0x585254(0x42f),'@univerjs/engine-formula',_0x585254(0x57d),'react',_0x585254(0x225)],_0x2d7ba2):(_0x6b6bd3=typeof globalThis<'u'?globalThis:_0x6b6bd3||self,_0x2d7ba2(_0x6b6bd3[_0x585254(0x501)]={},_0x6b6bd3['UniverCore'],_0x6b6bd3[_0x585254(0x212)],_0x6b6bd3[_0x585254(0x212)][_0x585254(0x485)],_0x6b6bd3[_0x585254(0x482)],_0x6b6bd3['UniverUi'],_0x6b6bd3['UniverNetwork'],_0x6b6bd3[_0x585254(0x315)],_0x6b6bd3['UniverTelemetry'],_0x6b6bd3[_0x585254(0x2d3)],_0x6b6bd3[_0x585254(0x342)],_0x6b6bd3['UniverEngineRender'],_0x6b6bd3[_0x585254(0x270)],_0x6b6bd3['UniverDrawing'],_0x6b6bd3[_0x585254(0x3b8)],_0x6b6bd3['UniverSheetsUi'],_0x6b6bd3['React'],_0x6b6bd3[_0x585254(0x53c)]));}(this,function(_0x2ebd39,_0x170db9,_0x145930,_0x34e4e3,_0x3e1273,_0x332830,_0x2e400a,_0x294b4b,_0x51449e,_0x5a2d39,_0x292e35,_0x224b0f,_0x2bd9e1,_0x19d7a3,_0x342e73,_0x342006,_0x16c5c0,_0x3227e1){'use strict';const _0x139045=_0x10db;var _0x2fd9f9=Object[_0x139045(0x620)],_0x4a098f=(_0x535ce6,_0x18d3fb,_0x3b6c21)=>_0x18d3fb in _0x535ce6?_0x2fd9f9(_0x535ce6,_0x18d3fb,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3b6c21}):_0x535ce6[_0x18d3fb]=_0x3b6c21,_0xee5085=(_0x9def87,_0x5223b1,_0x171093)=>_0x4a098f(_0x9def87,typeof _0x5223b1!='symbol'?_0x5223b1+'':_0x5223b1,_0x171093);const _0x382152='SNAPSHOT_SERVER_URL_KEY',_0x4275b2=_0x139045(0x2e0),_0x23a416='SNAPSHOT_URL_KEY',_0x3c6183=_0x139045(0x4d7),_0x3e23b2='COLLAB_WEB_SOCKET_URL',_0x5760e3=_0x139045(0x483),_0x27ced4=_0x139045(0x37e),_0x5aed78=_0x139045(0x684),_0x394600=_0x139045(0x22d),_0x9789df=_0x139045(0x4a6),_0x33b525=_0x139045(0x60f),_0x1b5509=_0x139045(0x282),_0x3cb970=_0x139045(0x2cf),_0x421a0a='/universer-api/oidc/authpage';var _0x3d36da=(_0xaf1dbb=>(_0xaf1dbb[_0xaf1dbb[_0x139045(0x348)]=0x0]=_0x139045(0x348),_0xaf1dbb[_0xaf1dbb['OK']=0x1]='OK',_0xaf1dbb[_0xaf1dbb[_0x139045(0x1ea)]=0x2]='INTERNAL_ERROR',_0xaf1dbb[_0xaf1dbb[_0x139045(0x685)]=0x3]=_0x139045(0x685),_0xaf1dbb[_0xaf1dbb[_0x139045(0x3f9)]=0x4]=_0x139045(0x3f9),_0xaf1dbb[_0xaf1dbb[_0x139045(0x52b)]=0x5]=_0x139045(0x52b),_0xaf1dbb[_0xaf1dbb['ALREADY_EXISTS']=0x6]=_0x139045(0x29c),_0xaf1dbb[_0xaf1dbb[_0x139045(0x457)]=0x7]=_0x139045(0x457),_0xaf1dbb[_0xaf1dbb[_0x139045(0x26c)]=0x8]=_0x139045(0x26c),_0xaf1dbb[_0xaf1dbb[_0x139045(0x3f7)]=0x9]=_0x139045(0x3f7),_0xaf1dbb[_0xaf1dbb[_0x139045(0x66b)]=0x1389]=_0x139045(0x66b),_0xaf1dbb[_0xaf1dbb[_0x139045(0x592)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0xaf1dbb[_0xaf1dbb[_0x139045(0x4fd)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0xaf1dbb[_0xaf1dbb[_0x139045(0x41f)]=0x1773]=_0x139045(0x41f),_0xaf1dbb[_0xaf1dbb['APPLY_REJECT']=0x1b59]=_0x139045(0x337),_0xaf1dbb[_0xaf1dbb['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x139045(0x548),_0xaf1dbb[_0xaf1dbb['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x139045(0x476),_0xaf1dbb[_0xaf1dbb['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x139045(0x3ba),_0xaf1dbb[_0xaf1dbb[_0x139045(0x687)]=0x1b5d]='APPLY_DUPLICATED',_0xaf1dbb[_0xaf1dbb[_0x139045(0x58c)]=0x1f41]=_0x139045(0x58c),_0xaf1dbb[_0xaf1dbb['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x139045(0x5fc),_0xaf1dbb[_0xaf1dbb[_0x139045(0x3f5)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0xaf1dbb[_0xaf1dbb['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x139045(0x3ea),_0xaf1dbb[_0xaf1dbb[_0x139045(0x350)]=0x232c]=_0x139045(0x350),_0xaf1dbb[_0xaf1dbb['LICENSE_DISTRO_REJECTED']=0x232d]=_0x139045(0x218),_0xaf1dbb[_0xaf1dbb['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x139045(0x6b5),_0xaf1dbb[_0xaf1dbb[_0x139045(0x4d3)]=0x2712]=_0x139045(0x4d3),_0xaf1dbb[_0xaf1dbb[_0x139045(0x5fb)]=0x2713]=_0x139045(0x5fb),_0xaf1dbb[_0xaf1dbb[_0x139045(0x464)]=0x2714]=_0x139045(0x464),_0xaf1dbb[_0xaf1dbb['UNRECOGNIZED']=-0x1]=_0x139045(0x581),_0xaf1dbb))(_0x3d36da||{}),_0x5950ae=(_0x3240ac=>(_0x3240ac[_0x3240ac[_0x139045(0x61a)]=0x0]=_0x139045(0x61a),_0x3240ac[_0x3240ac[_0x139045(0x4ca)]=0x1]=_0x139045(0x4ca),_0x3240ac[_0x3240ac[_0x139045(0x696)]=0x2]=_0x139045(0x696),_0x3240ac[_0x3240ac[_0x139045(0x252)]=0x3]=_0x139045(0x252),_0x3240ac[_0x3240ac[_0x139045(0x5e6)]=0x4]=_0x139045(0x5e6),_0x3240ac[_0x3240ac[_0x139045(0x581)]=-0x1]=_0x139045(0x581),_0x3240ac))(_0x5950ae||{}),_0x474c88=(_0x41c11a=>(_0x41c11a[_0x41c11a[_0x139045(0x3f2)]=0x0]='UNKNOWN_CMD',_0x41c11a[_0x41c11a[_0x139045(0x265)]=0x1]=_0x139045(0x265),_0x41c11a[_0x41c11a['JOIN']=0x2]=_0x139045(0x6ad),_0x41c11a[_0x41c11a[_0x139045(0x5ce)]=0x3]=_0x139045(0x5ce),_0x41c11a[_0x41c11a[_0x139045(0x6a8)]=0x4]=_0x139045(0x6a8),_0x41c11a[_0x41c11a[_0x139045(0x208)]=0x5]=_0x139045(0x208),_0x41c11a[_0x41c11a[_0x139045(0x28d)]=0x6]='RECV',_0x41c11a[_0x41c11a[_0x139045(0x581)]=-0x1]=_0x139045(0x581),_0x41c11a))(_0x474c88||{}),_0x47dbb2=(_0x2bbe3=>(_0x2bbe3[_0x2bbe3[_0x139045(0x6ac)]=0x0]='UNKNOWN_CODE',_0x2bbe3[_0x2bbe3['OK']=0x1]='OK',_0x2bbe3[_0x2bbe3['FAIL']=0x2]='FAIL',_0x2bbe3[_0x2bbe3[_0x139045(0x581)]=-0x1]=_0x139045(0x581),_0x2bbe3))(_0x47dbb2||{}),_0x517db4=(_0x2451f9=>(_0x2451f9[_0x2451f9['Undefined']=0x0]=_0x139045(0x511),_0x2451f9[_0x2451f9[_0x139045(0x637)]=0x1]=_0x139045(0x637),_0x2451f9[_0x2451f9[_0x139045(0x215)]=0x2]=_0x139045(0x215),_0x2451f9[_0x2451f9[_0x139045(0x662)]=0x3]=_0x139045(0x662),_0x2451f9[_0x2451f9[_0x139045(0x4da)]=0x4]=_0x139045(0x4da),_0x2451f9[_0x2451f9[_0x139045(0x581)]=-0x1]=_0x139045(0x581),_0x2451f9))(_0x517db4||{});const _0x2cc87b=_0x139045(0x290),_0x3ae446={};function _0xb75512(_0x1db871){const _0x3f57c8=_0x139045;var _0x11fce8,_0x11ee45,_0x407732,_0x4604ac,_0x4a6109;const _0x24c9ae=_0x1db871[_0x3f57c8(0x3a4)],_0x5245a9=JSON[_0x3f57c8(0x597)](_0x24c9ae);switch(_0x5245a9[_0x3f57c8(0x4c9)]){case _0x474c88[_0x3f57c8(0x208)]:case _0x474c88[_0x3f57c8(0x265)]:{const _0x367775=_0x5245a9[_0x3f57c8(0x2ce)];return{..._0x5245a9,'data':_0x367775,'cmd':_0x5245a9[_0x3f57c8(0x4c9)]};}case _0x474c88['JOIN']:{const _0x422d1c=_0x5245a9[_0x3f57c8(0x43d)];return{..._0x5245a9,'data':_0x422d1c,'cmd':_0x5245a9['cmd']};}case _0x474c88['RECV']:{const _0x4575d9=_0x5245a9[_0x3f57c8(0x5c0)];switch(_0x4575d9[_0x3f57c8(0x258)]){case _0x294b4b[_0x3f57c8(0x3af)][_0x3f57c8(0x62a)]:return{..._0x5245a9,'data':{..._0x4575d9,'data':(_0x11fce8=_0x4575d9[_0x3f57c8(0x3e3)])==null?void 0x0:_0x11fce8['cs']},'cmd':_0x5245a9[_0x3f57c8(0x4c9)]};case _0x294b4b[_0x3f57c8(0x3af)][_0x3f57c8(0x284)]:return{..._0x5245a9,'data':{..._0x4575d9,'data':(_0x11ee45=_0x4575d9[_0x3f57c8(0x349)])==null?void 0x0:_0x11ee45['cs']},'cmd':_0x5245a9[_0x3f57c8(0x4c9)]};case _0x294b4b[_0x3f57c8(0x3af)]['NEW_CHANGESETS']:return{..._0x5245a9,'data':{..._0x4575d9,'data':(_0x407732=_0x4575d9[_0x3f57c8(0x52c)])==null?void 0x0:_0x407732['cs']},'cmd':_0x5245a9[_0x3f57c8(0x4c9)]};case _0x294b4b[_0x3f57c8(0x3af)]['CHANGESET_REJ']:return{..._0x5245a9,'data':{..._0x4575d9,'data':(_0x4604ac=_0x4575d9['csRejEvent'])==null?void 0x0:_0x4604ac['cs']},'cmd':_0x5245a9[_0x3f57c8(0x4c9)]};case _0x294b4b[_0x3f57c8(0x3af)][_0x3f57c8(0x631)]:return{..._0x5245a9,'data':{..._0x4575d9,'data':(_0x4a6109=_0x4575d9[_0x3f57c8(0x475)])==null?void 0x0:_0x4a6109['cs']},'cmd':_0x5245a9[_0x3f57c8(0x4c9)]};case _0x294b4b[_0x3f57c8(0x3af)][_0x3f57c8(0x2a5)]:return{..._0x5245a9,'data':{..._0x4575d9,'data':_0x4575d9[_0x3f57c8(0x259)]},'cmd':_0x5245a9[_0x3f57c8(0x4c9)]};case _0x294b4b['CollaborationEvent'][_0x3f57c8(0x36d)]:return{..._0x5245a9,'data':{..._0x4575d9,'data':_0x4575d9['joinEvent']},'cmd':_0x5245a9[_0x3f57c8(0x4c9)]};case _0x294b4b['CollaborationEvent'][_0x3f57c8(0x4c8)]:return{..._0x5245a9,'data':{..._0x4575d9,'data':_0x4575d9[_0x3f57c8(0x5a3)]},'cmd':_0x5245a9['cmd']};case _0x294b4b[_0x3f57c8(0x3af)]['LIVESHARE_NEW_HOST']:return{..._0x5245a9,'data':{..._0x4575d9,'data':_0x4575d9[_0x3f57c8(0x66d)]},'cmd':_0x5245a9['cmd']};case _0x294b4b[_0x3f57c8(0x3af)][_0x3f57c8(0x3c9)]:case _0x294b4b[_0x3f57c8(0x3af)][_0x3f57c8(0x425)]:return{..._0x5245a9,'data':{..._0x4575d9,'data':_0x4575d9[_0x3f57c8(0x40d)]},'cmd':_0x5245a9[_0x3f57c8(0x4c9)]};case _0x294b4b['CollaborationEvent'][_0x3f57c8(0x587)]:return{..._0x5245a9,'data':{..._0x4575d9,'data':_0x4575d9[_0x3f57c8(0x66d)]},'cmd':_0x5245a9[_0x3f57c8(0x4c9)]};case _0x294b4b[_0x3f57c8(0x3af)][_0x3f57c8(0x697)]:return{..._0x5245a9,'data':_0x4575d9,'cmd':_0x5245a9[_0x3f57c8(0x4c9)]};case _0x294b4b['CollaborationEvent'][_0x3f57c8(0x4af)]:return{..._0x5245a9,'data':{..._0x4575d9,'data':_0x4575d9[_0x3f57c8(0x58e)]},'cmd':_0x5245a9[_0x3f57c8(0x4c9)]};case _0x294b4b['CollaborationEvent'][_0x3f57c8(0x5f8)]:return{..._0x5245a9,'data':{..._0x4575d9,'data':_0x4575d9[_0x3f57c8(0x51b)]},'cmd':_0x5245a9[_0x3f57c8(0x4c9)]};case _0x294b4b[_0x3f57c8(0x3af)][_0x3f57c8(0x5c9)]:return{..._0x5245a9,'data':{..._0x4575d9,'data':_0x4575d9[_0x3f57c8(0x59a)]},'cmd':_0x5245a9[_0x3f57c8(0x4c9)]};default:return _0x5245a9;}}default:return _0x5245a9;}}function _0xb9a1c0(_0x9d38ac){const _0x218ed8=_0x139045;switch(_0x9d38ac['cmd']){case _0x474c88[_0x218ed8(0x208)]:case _0x474c88[_0x218ed8(0x265)]:return JSON[_0x218ed8(0x658)]({'cmd':_0x9d38ac[_0x218ed8(0x4c9)],'routeKey':_0x9d38ac[_0x218ed8(0x3eb)]});case _0x474c88[_0x218ed8(0x6a8)]:{let _0x49b922;switch(_0x9d38ac[_0x218ed8(0x3a4)]['eventID']){case _0x294b4b[_0x218ed8(0x3af)][_0x218ed8(0x2a5)]:{_0x49b922={'eventID':_0x294b4b['CollaborationEvent'][_0x218ed8(0x2a5)],'updateCursorEvent':_0x9d38ac[_0x218ed8(0x3a4)][_0x218ed8(0x3a4)]};break;}case _0x294b4b[_0x218ed8(0x3af)][_0x218ed8(0x4c8)]:{_0x49b922={'eventID':_0x294b4b[_0x218ed8(0x3af)][_0x218ed8(0x4c8)],'leaveEvent':_0x9d38ac['data'][_0x218ed8(0x3a4)]};break;}case _0x294b4b['CollaborationEvent']['USERS_ENTER']:{_0x49b922={'eventID':_0x294b4b[_0x218ed8(0x3af)][_0x218ed8(0x36d)],'joinEvent':_0x9d38ac['data'][_0x218ed8(0x3a4)]};break;}case _0x294b4b[_0x218ed8(0x3af)][_0x218ed8(0x51e)]:{_0x49b922={'eventID':_0x294b4b[_0x218ed8(0x3af)]['LIVESHARE_NEW_HOST'],'liveShareNewHost':_0x9d38ac[_0x218ed8(0x3a4)][_0x218ed8(0x3a4)]};break;}case _0x294b4b[_0x218ed8(0x3af)][_0x218ed8(0x425)]:{_0x49b922={'eventID':_0x294b4b['CollaborationEvent'][_0x218ed8(0x425)],'liveShareOperation':_0x9d38ac[_0x218ed8(0x3a4)][_0x218ed8(0x3a4)]};break;}case _0x294b4b['CollaborationEvent'][_0x218ed8(0x587)]:{_0x49b922={'eventID':_0x294b4b[_0x218ed8(0x3af)][_0x218ed8(0x587)],'liveShareTerminate':_0x9d38ac[_0x218ed8(0x3a4)][_0x218ed8(0x3a4)]};break;}case _0x294b4b[_0x218ed8(0x3af)][_0x218ed8(0x2a3)]:{_0x49b922={'eventID':_0x294b4b[_0x218ed8(0x3af)][_0x218ed8(0x2a3)],'liveShareRequestHost':_0x9d38ac[_0x218ed8(0x3a4)]['data']};break;}case _0x294b4b[_0x218ed8(0x3af)][_0x218ed8(0x3c9)]:{_0x49b922={'eventID':_0x294b4b[_0x218ed8(0x3af)][_0x218ed8(0x3c9)]};break;}default:_0x49b922={'eventID':_0x9d38ac['data'][_0x218ed8(0x258)]};}return JSON['stringify']({'cmd':_0x9d38ac[_0x218ed8(0x4c9)],'routeKey':_0x9d38ac['routeKey'],'collaMsg':_0x49b922});}case _0x474c88['JOIN']:return JSON[_0x218ed8(0x658)]({'cmd':_0x9d38ac[_0x218ed8(0x4c9)],'routeKey':_0x9d38ac[_0x218ed8(0x3eb)],'joinReq':_0x9d38ac['data']});case _0x474c88['LEAVE']:return JSON[_0x218ed8(0x658)]({'cmd':_0x9d38ac['cmd'],'routeKey':_0x9d38ac[_0x218ed8(0x3eb)],'leaveReq':_0x9d38ac[_0x218ed8(0x3a4)]});default:throw new Error(_0x218ed8(0x56c));}}var _0x2ae602=Object['defineProperty'],_0x19284b=Object[_0x139045(0x264)],_0x32a08f=(_0xbdf3fa,_0x225a3b,_0x52c6fd,_0x5f0253)=>{const _0x1a31d8=_0x139045;for(var _0x5773be=_0x5f0253>0x1?void 0x0:_0x5f0253?_0x19284b(_0x225a3b,_0x52c6fd):_0x225a3b,_0x476488=_0xbdf3fa[_0x1a31d8(0x62b)]-0x1,_0x5041f8;_0x476488>=0x0;_0x476488--)(_0x5041f8=_0xbdf3fa[_0x476488])&&(_0x5773be=(_0x5f0253?_0x5041f8(_0x225a3b,_0x52c6fd,_0x5773be):_0x5041f8(_0x5773be))||_0x5773be);return _0x5f0253&&_0x5773be&&_0x2ae602(_0x225a3b,_0x52c6fd,_0x5773be),_0x5773be;},_0x4706f1=(_0x21daf6,_0xde42dc)=>(_0x3a1459,_0x387ff8)=>_0xde42dc(_0x3a1459,_0x387ff8,_0x21daf6);const _0x54bec8=_0x170db9['createIdentifier'](_0x139045(0x273));function _0x3def99(_0xc802f3,_0x328272,_0x3bc16e){const _0x59b30d=_0x139045;return _0xc802f3+'/'+_0x328272+_0x59b30d(0x5b2)+_0x3bc16e+_0x59b30d(0x34a);}_0x2ebd39[_0x139045(0x4fe)]=class extends _0x170db9[_0x139045(0x399)]{constructor(_0x3ec43d,_0x187626,_0x2c5c79,_0x4ca1e0,_0x2c41c6){const _0x56756c=_0x139045;super(),this[_0x56756c(0x33e)]=_0x3ec43d,this['_ws']=_0x187626,this[_0x56756c(0x397)]=_0x2c5c79,this[_0x56756c(0x5b4)]=_0x4ca1e0,this[_0x56756c(0x407)]=_0x2c41c6;}['createSocket'](_0x339bf3){const _0x84f84d=_0x139045,_0x13625c=this[_0x84f84d(0x617)][_0x84f84d(0x1f5)](_0x339bf3);if(!_0x13625c)throw new Error(_0x84f84d(0x418));const _0x120a9e=new _0x170db9[(_0x84f84d(0x429))](),_0x549a9d=new _0x145930['Subject']();_0x120a9e['add'](_0x13625c[_0x84f84d(0x4ac)][_0x84f84d(0x519)](_0x5dbd1d=>_0x549a9d[_0x84f84d(0x4ed)](_0x5dbd1d))),_0x120a9e[_0x84f84d(0x27f)](_0x170db9[_0x84f84d(0x3f0)](()=>_0x549a9d[_0x84f84d(0x3d7)]()));const _0x3d73eb=new _0x145930['Subject']();_0x120a9e[_0x84f84d(0x27f)](_0x13625c[_0x84f84d(0x4f1)][_0x84f84d(0x519)](_0xc3310d=>_0x3d73eb[_0x84f84d(0x4ed)](_0xc3310d))),_0x120a9e['add'](_0x170db9[_0x84f84d(0x3f0)](()=>_0x3d73eb[_0x84f84d(0x3d7)]()));const _0x356f32=new _0x145930['Subject']();_0x120a9e['add'](_0x13625c['message$'][_0x84f84d(0x519)](_0x162568=>{const _0x27f0e3=_0x84f84d,_0x362ba5=_0xb75512(_0x162568);_0x356f32[_0x27f0e3(0x4ed)](_0x362ba5);})),_0x120a9e[_0x84f84d(0x27f)](_0x170db9['toDisposable'](()=>_0x356f32['complete']()));let _0x38e29c;const _0x1f859c=()=>{const _0x302fc2=_0x84f84d;_0x3d73eb[_0x302fc2(0x4ed)](new Event(_0x302fc2(0x650))),_0x549a9d[_0x302fc2(0x4ed)](new CloseEvent(_0x302fc2(0x650))),_0x38e29c['close']();};return _0x38e29c={'memberID':'','close$':_0x549a9d[_0x84f84d(0x232)](),'error$':_0x3d73eb[_0x84f84d(0x232)](),'open$':_0x13625c[_0x84f84d(0x5d3)],'message$':_0x356f32[_0x84f84d(0x232)](),'send':_0x4ee732=>{const _0x5acd2b=_0x84f84d;if(_0x4ee732[_0x5acd2b(0x4c9)]===_0x474c88[_0x5acd2b(0x6a8)]){if(_0x4ee732['data']['eventID']===_0x294b4b[_0x5acd2b(0x3af)][_0x5acd2b(0x46e)]){this[_0x5acd2b(0x677)](_0x38e29c,_0x4ee732[_0x5acd2b(0x3a4)])['catch'](_0x3985bf=>{const _0x5a54fe=_0x5acd2b;this[_0x5a54fe(0x5b4)]['error'](_0x3985bf),_0x1f859c();});return;}if(_0x4ee732[_0x5acd2b(0x3a4)][_0x5acd2b(0x258)]===_0x294b4b[_0x5acd2b(0x3af)][_0x5acd2b(0x49f)]){const _0x84cec4=_0x4ee732[_0x5acd2b(0x3a4)];this['_fetchMissChangesets'](_0x84cec4)['then'](_0x46a274=>{const _0x112ca8=_0x5acd2b;_0x356f32[_0x112ca8(0x4ed)]({'cmd':_0x474c88[_0x112ca8(0x28d)],'code':_0x47dbb2['OK'],'routeKey':_0x84cec4[_0x112ca8(0x3a4)][_0x112ca8(0x4ee)],'routeType':'','data':{'eventID':_0x294b4b['CollaborationEvent'][_0x112ca8(0x36f)],'data':{'changesets':_0x46a274}}});})[_0x5acd2b(0x416)](_0x388bf1=>{const _0x1d63dd=_0x5acd2b;this[_0x1d63dd(0x5b4)][_0x1d63dd(0x406)](_0x388bf1),_0x1f859c();});return;}}_0x13625c[_0x5acd2b(0x53e)](_0xb9a1c0(_0x4ee732));},'close':()=>{_0x13625c['close'](),_0x120a9e['dispose']();}},_0x38e29c;}async['_submitChangeset'](_0x5f1fa0,_0xdece90){const _0x1353e8=_0x139045;var _0x2fa3fe,_0x1d00f0;const {unitType:_0x136eb7,unitID:_0x51198f,changeset:_0x255040}=_0xdece90[_0x1353e8(0x3a4)],_0x191231={'unitID':_0x51198f,'memberID':_0x5f1fa0[_0x1353e8(0x509)],'type':_0x136eb7,'changeset':_0x294b4b['parseChangesetToProtocol'](_0x255040)},_0x59001a=this[_0x1353e8(0x397)][_0x1353e8(0x34b)](_0x33b525),_0x2948f5=this[_0x1353e8(0x397)][_0x1353e8(0x34b)](_0x2cc87b),_0x1bbcbd=_0x3def99((_0x1d00f0=(_0x2fa3fe=_0x2948f5==null?void 0x0:_0x2948f5[_0x1353e8(0x311)])!=null?_0x2fa3fe:_0x59001a)!=null?_0x1d00f0:_0x1b5509,_0x136eb7,_0x51198f);try{await this[_0x1353e8(0x33e)][_0x1353e8(0x564)](_0x1bbcbd,{'body':_0x191231});}catch(_0x519139){throw this['_logService'][_0x1353e8(0x406)](_0x1353e8(0x5dc),_0x1353e8(0x2e1)),_0x519139;}}async[_0x139045(0x2e9)](_0x1359ea){const _0x8d260d=_0x139045,{unitID:_0x4c8bf1,from:_0x13a0a7,to:_0x245124,unitType:_0x33c7f3}=_0x1359ea['data'];return(await this[_0x8d260d(0x407)][_0x8d260d(0x440)]({'metadata':void 0x0},{'unitID':_0x4c8bf1,'type':_0x33c7f3,'from':_0x13a0a7,'to':_0x245124}))[_0x8d260d(0x50e)];}},_0x2ebd39[_0x139045(0x4fe)]=_0x32a08f([_0x4706f1(0x0,_0x170db9[_0x139045(0x283)](_0x2e400a[_0x139045(0x201)])),_0x4706f1(0x1,_0x170db9[_0x139045(0x283)](_0x2e400a[_0x139045(0x63e)])),_0x4706f1(0x2,_0x170db9[_0x139045(0x57a)]),_0x4706f1(0x3,_0x170db9['ILogService']),_0x4706f1(0x4,_0x294b4b[_0x139045(0x652)])],_0x2ebd39[_0x139045(0x4fe)]);const _0x54d408=_0x139045(0x331);function _0x24a95e(_0x3f02dd){const _0x478c6d=_0x139045;return JSON[_0x478c6d(0x658)](_0x3f02dd)[_0x478c6d(0x62b)];}class _0x29434f{constructor(){const _0x3de977=_0x139045;_0xee5085(this,_0x3de977(0x3a8),new _0x145930[(_0x3de977(0x3ab))]()),_0xee5085(this,_0x3de977(0x1f8),this[_0x3de977(0x3a8)][_0x3de977(0x232)]());}[_0x139045(0x2f9)](_0x3375){const _0x56bd58=_0x139045;this[_0x56bd58(0x3a8)][_0x56bd58(0x4ed)](_0x3375);}}var _0x2f5f85=Object[_0x139045(0x620)],_0x4685ca=Object[_0x139045(0x264)],_0x79efcb=(_0xa32d71,_0x4422c0,_0x3f9f0e,_0x33b653)=>{const _0x2179a2=_0x139045;for(var _0x1e23fb=_0x33b653>0x1?void 0x0:_0x33b653?_0x4685ca(_0x4422c0,_0x3f9f0e):_0x4422c0,_0x67bb36=_0xa32d71[_0x2179a2(0x62b)]-0x1,_0x4ae07b;_0x67bb36>=0x0;_0x67bb36--)(_0x4ae07b=_0xa32d71[_0x67bb36])&&(_0x1e23fb=(_0x33b653?_0x4ae07b(_0x4422c0,_0x3f9f0e,_0x1e23fb):_0x4ae07b(_0x1e23fb))||_0x1e23fb);return _0x33b653&&_0x1e23fb&&_0x2f5f85(_0x4422c0,_0x3f9f0e,_0x1e23fb),_0x1e23fb;},_0x21c0ac=(_0x3d7823,_0x2f880d)=>(_0x260c0e,_0x7731e9)=>_0x2f880d(_0x260c0e,_0x7731e9,_0x3d7823);_0x2ebd39['MemberService']=class extends _0x170db9[_0x139045(0x399)]{constructor(_0x598afa,_0x1701af){const _0x45701b=_0x139045;super(),_0xee5085(this,'_roomMembers',new Map()),(this[_0x45701b(0x230)]=_0x598afa,this['_userManagerService']=_0x1701af,this[_0x45701b(0x32f)](_0x170db9[_0x45701b(0x3f0)](_0x145930[_0x45701b(0x5ea)](this['_univerInstanceService'][_0x45701b(0x600)](_0x170db9[_0x45701b(0x320)][_0x45701b(0x696)])[_0x45701b(0x640)](_0x34e4e3[_0x45701b(0x33a)](_0x157e70=>_0x157e70[_0x45701b(0x238)]())),this['_univerInstanceService'][_0x45701b(0x600)](_0x170db9['UniverInstanceType'][_0x45701b(0x4ca)])[_0x45701b(0x640)](_0x34e4e3[_0x45701b(0x33a)](_0x41d4de=>_0x41d4de[_0x45701b(0x238)]())),this['_univerInstanceService'][_0x45701b(0x600)](_0x170db9[_0x45701b(0x320)]['UNIVER_SLIDE'])[_0x45701b(0x640)](_0x34e4e3[_0x45701b(0x33a)](_0x2c1d03=>_0x2c1d03[_0x45701b(0x238)]())))[_0x45701b(0x519)](_0x2d4ba6=>this['_removeRoom'](_0x2d4ba6)))));}[_0x139045(0x530)](_0x42c951){const _0x16e967=_0x139045;this[_0x16e967(0x3e1)][_0x16e967(0x530)](_0x42c951);}[_0x139045(0x4cc)](){const _0x5bc423=_0x139045;return this[_0x5bc423(0x3e1)]['getCurrentUser']();}[_0x139045(0x449)](_0x432385,_0x1c4d07){const _0x4b4de3=_0x139045;let _0x4f6395=this[_0x4b4de3(0x1ee)][_0x4b4de3(0x51c)](_0x432385);_0x4f6395||(_0x4f6395=new _0x553cfa(),this[_0x4b4de3(0x1ee)][_0x4b4de3(0x3fd)](_0x432385,_0x4f6395)),_0x4f6395[_0x4b4de3(0x449)](_0x1c4d07);}[_0x139045(0x217)](_0x43b3b0,_0x4df718){const _0x410a51=_0x139045,_0x2e5e5a=this[_0x410a51(0x1ee)][_0x410a51(0x51c)](_0x43b3b0);_0x2e5e5a&&_0x2e5e5a[_0x410a51(0x217)](_0x4df718);}[_0x139045(0x4b7)](_0x3de2f4){const _0x3d4e1c=_0x139045;return this[_0x3d4e1c(0x1ee)][_0x3d4e1c(0x51c)](_0x3de2f4);}[_0x139045(0x441)](_0x355dbd,_0x586b7e){const _0xd9949e=_0x139045,_0x5a17dd=this['_roomMembers'][_0xd9949e(0x51c)](_0x355dbd);if(_0x5a17dd)return _0x5a17dd[_0xd9949e(0x441)](_0x586b7e);}[_0x139045(0x3cf)](_0x3b1f53){const _0x5309eb=_0x139045,_0x2dca4c=this[_0x5309eb(0x1ee)]['get'](_0x3b1f53);_0x2dca4c&&(_0x2dca4c[_0x5309eb(0x33b)](),this[_0x5309eb(0x1ee)][_0x5309eb(0x5bd)](_0x3b1f53));}[_0x139045(0x33b)](){const _0x3d11bd=_0x139045;this[_0x3d11bd(0x1ee)]['forEach'](_0x446b39=>_0x446b39[_0x3d11bd(0x33b)]()),this[_0x3d11bd(0x1ee)]['clear']();}},_0x2ebd39['MemberService']=_0x79efcb([_0x21c0ac(0x0,_0x170db9[_0x139045(0x22f)]),_0x21c0ac(0x1,_0x170db9[_0x139045(0x283)](_0x170db9[_0x139045(0x3d0)]))],_0x2ebd39[_0x139045(0x2d4)]);class _0x553cfa extends _0x170db9[_0x139045(0x399)]{constructor(){const _0x5ef16d=_0x139045;super(...arguments),_0xee5085(this,_0x5ef16d(0x310),new Map());}[_0x139045(0x33b)](){const _0x13f1cf=_0x139045;this[_0x13f1cf(0x310)][_0x13f1cf(0x28f)]();}[_0x139045(0x449)](_0x28ee17){const _0x28781d=_0x139045;this[_0x28781d(0x310)][_0x28781d(0x3fd)](_0x28ee17['memberID'],_0x28ee17);}['removeMember'](_0x1bb7f9){const _0x3e8eff=_0x139045;this[_0x3e8eff(0x310)][_0x3e8eff(0x5bd)](_0x1bb7f9);}[_0x139045(0x441)](_0x60f4c2){const _0x1afe96=_0x139045;return this[_0x1afe96(0x310)]['get'](_0x60f4c2);}[_0x139045(0x2e8)](){const _0x1e4ec1=_0x139045;return Array[_0x1e4ec1(0x3fb)](this['_members']['values']());}}var _0x254acf=Object['defineProperty'],_0x3162a4=Object[_0x139045(0x264)],_0x332e95=(_0x1fb49f,_0x3a3292,_0x437119,_0x50b134)=>{for(var _0x322f34=_0x50b134>0x1?void 0x0:_0x50b134?_0x3162a4(_0x3a3292,_0x437119):_0x3a3292,_0x22cb16=_0x1fb49f['length']-0x1,_0x59b975;_0x22cb16>=0x0;_0x22cb16--)(_0x59b975=_0x1fb49f[_0x22cb16])&&(_0x322f34=(_0x50b134?_0x59b975(_0x3a3292,_0x437119,_0x322f34):_0x59b975(_0x322f34))||_0x322f34);return _0x50b134&&_0x322f34&&_0x254acf(_0x3a3292,_0x437119,_0x322f34),_0x322f34;},_0x483d23=(_0x38b189,_0x5d0de4)=>(_0xe478df,_0x55d1cc)=>_0x5d0de4(_0xe478df,_0x55d1cc,_0x38b189),_0x3e6c83=(_0x5c73bd=>(_0x5c73bd[_0x5c73bd[_0x139045(0x3df)]=0x0]=_0x139045(0x3df),_0x5c73bd[_0x5c73bd[_0x139045(0x1f1)]=0x1]=_0x139045(0x1f1),_0x5c73bd[_0x5c73bd[_0x139045(0x21d)]=0x2]=_0x139045(0x21d),_0x5c73bd[_0x5c73bd['ONLINE']=0x3]=_0x139045(0x401),_0x5c73bd))(_0x3e6c83||{});_0x2ebd39['CollaborationSession']=class extends _0x170db9[_0x139045(0x436)]{constructor(_0x38d56c,_0x257b41,_0xe6a74,_0x173348,_0x1217b7,_0x547817,_0x29b991,_0xba3570,_0x47be3b,_0x186d46){const _0x3bc961=_0x139045;super(),_0xee5085(this,_0x3bc961(0x30f),new _0x145930[(_0x3bc961(0x58b))](0x0)),_0xee5085(this,'sessionStatus$',this[_0x3bc961(0x30f)][_0x3bc961(0x232)]()),_0xee5085(this,_0x3bc961(0x38d),new _0x145930[(_0x3bc961(0x3ab))]()),_0xee5085(this,_0x3bc961(0x2b6),this['_event$'][_0x3bc961(0x232)]()),_0xee5085(this,_0x3bc961(0x47d)),_0xee5085(this,_0x3bc961(0x20c)),_0xee5085(this,'_collaborationTimeoutTimer'),_0xee5085(this,_0x3bc961(0x641),!0x1),_0xee5085(this,'_telemetryInfo',null),(this[_0x3bc961(0x5c6)]=_0x38d56c,this[_0x3bc961(0x5b4)]=_0xe6a74,this[_0x3bc961(0x4e2)]=_0x173348,this[_0x3bc961(0x24b)]=_0x1217b7,this[_0x3bc961(0x397)]=_0x547817,this['_localeService']=_0x29b991,this[_0x3bc961(0x57e)]=_0xba3570,this[_0x3bc961(0x589)]=_0x47be3b,this[_0x3bc961(0x4b1)]=_0x186d46,this[_0x3bc961(0x641)]=!!this['_telemetryService'],_0x257b41['pipe'](_0x145930[_0x3bc961(0x28b)](this[_0x3bc961(0x67f)]))[_0x3bc961(0x519)](_0x5886bc=>{const _0x16fd08=_0x3bc961;var _0x1cc997;typeof _0x5886bc>'u'||(this[_0x16fd08(0x47d)]=_0x5886bc,_0x5886bc?(this[_0x16fd08(0x37f)](_0x5886bc),this[_0x16fd08(0x20c)]=_0x5886bc[_0x16fd08(0x32b)][_0x16fd08(0x519)](_0x213b4f=>{const _0x34f47c=_0x16fd08;_0x213b4f['routeKey']===this['_unitID']&&this[_0x34f47c(0x538)](_0x213b4f);})):(this[_0x16fd08(0x5d9)](),this['_sessionStatus$']['next'](0x2),(_0x1cc997=this['_socketMessageSubscription'])==null||_0x1cc997[_0x16fd08(0x298)](),this[_0x16fd08(0x20c)]=null));}),this[_0x3bc961(0x32f)](this[_0x3bc961(0x4e2)][_0x3bc961(0x2d2)](()=>{const _0x43131a=_0x3bc961;var _0x6812da;(_0x6812da=this[_0x43131a(0x47d)])==null||_0x6812da[_0x43131a(0x53e)]({'cmd':_0x474c88['LEAVE'],'data':{'roomID':this[_0x43131a(0x5c6)]}});})));}get[_0x139045(0x220)](){const _0x3eaaca=_0x139045;return this[_0x3eaaca(0x30f)]['getValue']();}[_0x139045(0x400)](){const _0x525807=_0x139045;var _0x57bc72,_0x31d9ec;return(_0x31d9ec=(_0x57bc72=this[_0x525807(0x47d)])==null?void 0x0:_0x57bc72[_0x525807(0x509)])!=null?_0x31d9ec:null;}[_0x139045(0x33b)](){const _0x31ab84=_0x139045;super[_0x31ab84(0x33b)](),this[_0x31ab84(0x67f)][_0x31ab84(0x4ed)](),this['dispose$'][_0x31ab84(0x3d7)]();}[_0x139045(0x4f7)](){const _0x3c713e=_0x139045;var _0x40d465,_0x4722ca;this[_0x3c713e(0x5d9)](),(_0x40d465=this['_socket'])==null||_0x40d465[_0x3c713e(0x53e)]({'cmd':_0x474c88[_0x3c713e(0x5ce)],'data':{'roomID':this[_0x3c713e(0x5c6)]}}),(_0x4722ca=this[_0x3c713e(0x47d)])==null||_0x4722ca[_0x3c713e(0x4f7)](),this['_event$']['complete'](),this['_sessionStatus$'][_0x3c713e(0x3d7)](),this[_0x3c713e(0x33b)]();}[_0x139045(0x538)](_0x2d90da){const _0x32dd9a=_0x139045;_0x2d90da[_0x32dd9a(0x4c9)]===_0x474c88[_0x32dd9a(0x6ad)]?this['_onJoinRoomEvent'](_0x2d90da):_0x2d90da['cmd']===_0x474c88[_0x32dd9a(0x28d)]&&this['_onRecvEvent'](_0x2d90da);}[_0x139045(0x37f)](_0x5bff9a){const _0x47546a=_0x139045;this[_0x47546a(0x30f)][_0x47546a(0x4ed)](0x1),_0x5bff9a[_0x47546a(0x53e)]({'cmd':_0x474c88[_0x47546a(0x6ad)],'routeKey':this[_0x47546a(0x5c6)],'routeType':'','data':{'rooms':[{'roomID':this['_unitID']}]}});}['_onJoinRoomEvent'](_0x2cb00c){const _0x977360=_0x139045;var _0xb31f41;if(_0x2cb00c[_0x977360(0x409)]===_0x47dbb2[_0x977360(0x33d)]){this[_0x977360(0x24b)][_0x977360(0x4ef)]({'type':_0x3e1273[_0x977360(0x3ae)][_0x977360(0x5fa)],'content':this[_0x977360(0x630)]['t'](_0x977360(0x3aa))}),this[_0x977360(0x30f)]['next'](0x2);return;}this[_0x977360(0x30f)][_0x977360(0x4ed)](0x3);const _0x19a991=(_0xb31f41=_0x2cb00c[_0x977360(0x3a4)][_0x977360(0x578)][this[_0x977360(0x5c6)]])==null?void 0x0:_0xb31f41['members'];_0x19a991&&_0x19a991['forEach'](_0x2c7c92=>this['_memberService'][_0x977360(0x449)](this['_unitID'],_0x2c7c92));}[_0x139045(0x1ff)](_0x16fbc4){const _0x41453d=_0x139045;try{const _0xec252=_0x16fbc4[_0x41453d(0x3a4)];switch(_0xec252[_0x41453d(0x258)]){case _0x294b4b[_0x41453d(0x3af)][_0x41453d(0x36d)]:this[_0x41453d(0x4ab)](_0xec252),this['_event$'][_0x41453d(0x4ed)](_0xec252);break;case _0x294b4b[_0x41453d(0x3af)][_0x41453d(0x4c8)]:this['_onUserLeave'](_0xec252),this['_event$'][_0x41453d(0x4ed)](_0xec252);break;case _0x294b4b['CollaborationEvent'][_0x41453d(0x284)]:case _0x294b4b[_0x41453d(0x3af)][_0x41453d(0x631)]:this[_0x41453d(0x1f2)](),this[_0x41453d(0x4b9)](),this[_0x41453d(0x38d)]['next'](_0xec252);break;case _0x294b4b[_0x41453d(0x3af)][_0x41453d(0x697)]:this[_0x41453d(0x5b4)][_0x41453d(0x406)](_0x41453d(0x489)+JSON['stringify'](_0xec252)),this[_0x41453d(0x38d)]['next'](_0xec252);break;case _0x294b4b[_0x41453d(0x3af)]['COMMENT_UPDATE']:this[_0x41453d(0x589)][_0x41453d(0x2f9)](_0xec252['data']),this['_event$'][_0x41453d(0x4ed)](_0xec252);break;default:this[_0x41453d(0x38d)][_0x41453d(0x4ed)](_0xec252);}}catch(_0x1c7f42){this['_logService']['error'](_0x1c7f42,_0x16fbc4);}}[_0x139045(0x4ab)](_0x127fcf){const _0x197e83=_0x139045;this[_0x197e83(0x57e)]['updateMember'](this[_0x197e83(0x5c6)],_0x127fcf[_0x197e83(0x3a4)]);}[_0x139045(0x577)](_0x554b0c){const _0x139c05=_0x139045;this[_0x139c05(0x57e)][_0x139c05(0x217)](this[_0x139c05(0x5c6)],_0x554b0c[_0x139c05(0x3a4)][_0x139c05(0x509)]);}async[_0x139045(0x53e)](_0x10dc85,_0x1635d8){const _0x571cfa=_0x139045;if(this['sessionStatus']!==0x3||!this['_socket'])throw new Error('[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!');try{_0x10dc85[_0x571cfa(0x258)]===_0x294b4b[_0x571cfa(0x3af)][_0x571cfa(0x46e)]&&(this[_0x571cfa(0x2ca)](),this[_0x571cfa(0x2d1)](_0x10dc85)),this['_socket']['send']({'cmd':_0x474c88[_0x571cfa(0x6a8)],'routeKey':_0x1635d8,'routeType':'','data':_0x10dc85});}catch(_0x54825c){this[_0x571cfa(0x5b4)][_0x571cfa(0x406)](_0x54825c);}}['_scheduleCollaborationTimeoutTimer'](){const _0x2235f8=_0x139045;var _0x13caa2;this[_0x2235f8(0x657)]=window['setTimeout'](()=>{const _0x25f6ec=_0x2235f8;this[_0x25f6ec(0x657)]=null,this[_0x25f6ec(0x24b)]['show']({'type':_0x3e1273[_0x25f6ec(0x3ae)][_0x25f6ec(0x355)],'content':this[_0x25f6ec(0x630)]['t']('session.collaboration-timeout')});},(_0x13caa2=this[_0x2235f8(0x397)][_0x2235f8(0x34b)](_0x5aed78))!=null?_0x13caa2:0x4e20);}[_0x139045(0x4b9)](){const _0x4435bd=_0x139045;this[_0x4435bd(0x657)]&&(clearTimeout(this[_0x4435bd(0x657)]),this[_0x4435bd(0x657)]=null);}['_startTelemetryCollaborationNewChangeset'](_0x609687){const _0x299ca8=_0x139045;if(!this[_0x299ca8(0x641)])return;const {data:_0x7d763f}=_0x609687,{unitID:_0x173d08,changeset:_0x461f68}=_0x7d763f,{mutations:_0x54e79b,type:_0x2e2dc5}=_0x461f68;this[_0x299ca8(0x316)]={'unitId':_0x173d08,'type':_0x2e2dc5,'startTime':performance[_0x299ca8(0x379)](),'stopTime':0x0,'duration':0x0,'size':_0x24a95e(_0x54e79b)};}['_stopTelemetryCollaborationNewChangeset'](){const _0x4a2f71=_0x139045;if(this[_0x4a2f71(0x641)]){if(!this[_0x4a2f71(0x316)]){this[_0x4a2f71(0x5b4)][_0x4a2f71(0x406)](_0x4a2f71(0x5dc),_0x4a2f71(0x48c));return;}this[_0x4a2f71(0x316)][_0x4a2f71(0x554)]=performance[_0x4a2f71(0x379)](),this[_0x4a2f71(0x316)][_0x4a2f71(0x543)]=this[_0x4a2f71(0x316)][_0x4a2f71(0x554)]-this[_0x4a2f71(0x316)][_0x4a2f71(0x6a6)],this[_0x4a2f71(0x4b1)][_0x4a2f71(0x49a)](_0x54d408,this[_0x4a2f71(0x316)]),this['_telemetryInfo']=null;}}['_throwTelemetryCollaborationNewChangeset'](){const _0x474b93=_0x139045;this[_0x474b93(0x316)]=null;}},_0x2ebd39[_0x139045(0x2c0)]=_0x332e95([_0x483d23(0x2,_0x170db9[_0x139045(0x686)]),_0x483d23(0x3,_0x332830[_0x139045(0x20f)]),_0x483d23(0x4,_0x332830[_0x139045(0x37a)]),_0x483d23(0x5,_0x170db9[_0x139045(0x57a)]),_0x483d23(0x6,_0x170db9['Inject'](_0x170db9[_0x139045(0x2bc)])),_0x483d23(0x7,_0x170db9[_0x139045(0x283)](_0x2ebd39['MemberService'])),_0x483d23(0x8,_0x170db9[_0x139045(0x283)](_0x29434f)),_0x483d23(0x9,_0x170db9[_0x139045(0x635)](_0x51449e['ITelemetryService']))],_0x2ebd39[_0x139045(0x2c0)]);var _0x52f1cf=Object[_0x139045(0x620)],_0x370a41=Object[_0x139045(0x264)],_0x5942a0=(_0x662c1a,_0x957947,_0x4170f5,_0x6abf78)=>{const _0xda7199=_0x139045;for(var _0x1d470b=_0x6abf78>0x1?void 0x0:_0x6abf78?_0x370a41(_0x957947,_0x4170f5):_0x957947,_0x54aa53=_0x662c1a[_0xda7199(0x62b)]-0x1,_0x5d64ed;_0x54aa53>=0x0;_0x54aa53--)(_0x5d64ed=_0x662c1a[_0x54aa53])&&(_0x1d470b=(_0x6abf78?_0x5d64ed(_0x957947,_0x4170f5,_0x1d470b):_0x5d64ed(_0x1d470b))||_0x1d470b);return _0x6abf78&&_0x1d470b&&_0x52f1cf(_0x957947,_0x4170f5,_0x1d470b),_0x1d470b;},_0x2fa21d=(_0x2ecd94,_0x142e15)=>(_0x4ae672,_0xcae6c1)=>_0x142e15(_0x4ae672,_0xcae6c1,_0x2ecd94);_0x2ebd39[_0x139045(0x353)]=class extends _0x170db9[_0x139045(0x399)]{constructor(_0xc3eec6,_0x4bc3f8,_0x1137d5,_0x50d9e3,_0x49a693,_0x4a7228){const _0x41abba=_0x139045;super(),_0xee5085(this,_0x41abba(0x422),new _0x145930[(_0x41abba(0x58b))](void 0x0)),_0xee5085(this,_0x41abba(0x3ce),this[_0x41abba(0x422)][_0x41abba(0x232)]()),_0xee5085(this,_0x41abba(0x4f8),null),_0xee5085(this,_0x41abba(0x599),new Map()),_0xee5085(this,_0x41abba(0x413),new _0x145930[(_0x41abba(0x58b))](_0x3e6c83[_0x41abba(0x3df)])),_0xee5085(this,_0x41abba(0x645),this[_0x41abba(0x413)][_0x41abba(0x232)]()),_0xee5085(this,_0x41abba(0x204),!0x1),_0xee5085(this,_0x41abba(0x5c8)),_0xee5085(this,_0x41abba(0x4e5),0x0),_0xee5085(this,_0x41abba(0x3dd)),_0xee5085(this,'_timeoutTimer'),(this['_injector']=_0xc3eec6,this[_0x41abba(0x630)]=_0x4bc3f8,this[_0x41abba(0x24b)]=_0x1137d5,this[_0x41abba(0x5b4)]=_0x50d9e3,this[_0x41abba(0x397)]=_0x49a693,this[_0x41abba(0x3c0)]=_0x4a7228,this[_0x41abba(0x52a)]());}get[_0x139045(0x47d)](){return this['_socket$']['getValue']();}[_0x139045(0x52a)](){const _0x240240=_0x139045;this[_0x240240(0x69d)](),this[_0x240240(0x34d)]();}[_0x139045(0x33b)](){const _0x538234=_0x139045;super[_0x538234(0x33b)](),this[_0x538234(0x599)]['forEach'](_0x19d63f=>_0x19d63f['dispose']()),this['_sessions']['clear'](),this[_0x538234(0x413)][_0x538234(0x3d7)]();}async['requireSession'](_0x1b7985){const _0xa5c155=_0x139045;if(this[_0xa5c155(0x599)][_0xa5c155(0x2d5)](_0x1b7985))return this[_0xa5c155(0x599)]['get'](_0x1b7985);this[_0xa5c155(0x2a6)]();const _0x47b14d=this[_0xa5c155(0x43f)][_0xa5c155(0x3f4)](_0x2ebd39[_0xa5c155(0x2c0)],_0x1b7985,this[_0xa5c155(0x422)][_0xa5c155(0x232)]());return this[_0xa5c155(0x599)][_0xa5c155(0x3fd)](_0x1b7985,_0x47b14d),_0x47b14d;}[_0x139045(0x325)](_0x26b1fd){const _0x1e66a1=_0x139045;var _0x314482;const _0x461591=this[_0x1e66a1(0x599)]['get'](_0x26b1fd);_0x461591&&(this[_0x1e66a1(0x599)]['delete'](_0x26b1fd),_0x461591[_0x1e66a1(0x4f7)]()),this[_0x1e66a1(0x599)][_0x1e66a1(0x60c)]||(_0x314482=this[_0x1e66a1(0x47d)])==null||_0x314482['close']();}[_0x139045(0x5a7)](){const _0x1e1f46=_0x139045;this[_0x1e1f46(0x4e5)]=0x0,this[_0x1e1f46(0x5c8)]!=null&&(clearTimeout(this['_retryConnectingTimer']),this[_0x1e1f46(0x5c8)]=null),this[_0x1e1f46(0x4fa)]();}['_createSocket'](){const _0x2f093b=_0x139045;var _0x20cc22,_0x31abc6;const _0x39d927=this[_0x2f093b(0x397)][_0x2f093b(0x34b)](_0x3e23b2),_0x5d5be1=this[_0x2f093b(0x397)][_0x2f093b(0x34b)](_0x2cc87b),_0x2382a2=(_0x31abc6=(_0x20cc22=_0x5d5be1==null?void 0x0:_0x5d5be1[_0x2f093b(0x490)])!=null?_0x20cc22:_0x39d927)!=null?_0x31abc6:_0x5760e3,_0x706977=this[_0x2f093b(0x3c0)][_0x2f093b(0x1f5)](_0x2382a2);return this[_0x2f093b(0x4f8)]=_0x706977,_0x706977;}[_0x139045(0x2a6)](){const _0x5d5b1e=_0x139045;var _0x4a39cc,_0x48be10;try{const _0x97b969=(_0x48be10=(_0x4a39cc=this[_0x5d5b1e(0x47d)])!=null?_0x4a39cc:this[_0x5d5b1e(0x4f8)])!=null?_0x48be10:this[_0x5d5b1e(0x211)]();if(_0x97b969){const _0x365c41=_0x97b969['send'];_0x97b969[_0x5d5b1e(0x53e)]=_0x489209=>(this[_0x5d5b1e(0x6a2)](),_0x365c41[_0x5d5b1e(0x221)](_0x97b969,[_0x489209])),_0x97b969[_0x5d5b1e(0x32b)][_0x5d5b1e(0x519)](_0x3e551a=>this['_onMessage'](_0x97b969,_0x3e551a)),_0x97b969[_0x5d5b1e(0x4f1)][_0x5d5b1e(0x640)](_0x34e4e3[_0x5d5b1e(0x207)](0x1))[_0x5d5b1e(0x519)](_0x52abd8=>this[_0x5d5b1e(0x5b4)][_0x5d5b1e(0x406)](_0x5d5b1e(0x459),_0x52abd8)),_0x97b969[_0x5d5b1e(0x5d3)][_0x5d5b1e(0x640)](_0x34e4e3[_0x5d5b1e(0x207)](0x1))[_0x5d5b1e(0x519)](()=>{this['_onConnectionOpen'](_0x97b969);}),_0x97b969[_0x5d5b1e(0x4ac)][_0x5d5b1e(0x640)](_0x34e4e3[_0x5d5b1e(0x207)](0x1))[_0x5d5b1e(0x519)](_0xf17f1c=>{const _0x327a1a=_0x5d5b1e;this[_0x327a1a(0x5b4)][_0x327a1a(0x4e1)](_0x327a1a(0x366),_0x327a1a(0x5ba),_0xf17f1c),this[_0x327a1a(0x368)]();});}}catch(_0x4e86b8){this[_0x5d5b1e(0x5b4)][_0x5d5b1e(0x406)](_0x4e86b8),this[_0x5d5b1e(0x368)]();}}[_0x139045(0x35e)](_0x48c89b){const _0x42e835=_0x139045;this[_0x42e835(0x5b4)][_0x42e835(0x4e1)]('[CollaborationSessionService]',_0x42e835(0x5b7)),_0x48c89b[_0x42e835(0x53e)]({'cmd':_0x474c88[_0x42e835(0x265)]}),this[_0x42e835(0x6a2)]();}['_listenToOfflineEvent'](){const _0x585c55=_0x139045;window[_0x585c55(0x5e0)](_0x585c55(0x272),()=>this['_onOffline']());}['_onOffline'](){const _0x2af16d=_0x139045;this[_0x2af16d(0x204)]=!0x1,this['_candidateSocket']=null,this[_0x2af16d(0x413)][_0x2af16d(0x4ed)](_0x3e6c83[_0x2af16d(0x21d)]),this[_0x2af16d(0x422)]['next'](null),this['_clearTimeoutTimer'](),this[_0x2af16d(0x361)]();}[_0x139045(0x368)](){const _0x3f1913=_0x139045;var _0x487b9c;this[_0x3f1913(0x336)](),this[_0x3f1913(0x4e5)]<((_0x487b9c=this[_0x3f1913(0x397)][_0x3f1913(0x34b)](_0x394600))!=null?_0x487b9c:0x3)?(this[_0x3f1913(0x24b)][_0x3f1913(0x4ef)]({'key':_0x3f1913(0x5f3),'type':_0x3e1273[_0x3f1913(0x3ae)][_0x3f1913(0x5fa)],'content':this[_0x3f1913(0x630)]['t'](_0x3f1913(0x240))}),this[_0x3f1913(0x4fa)]()):this[_0x3f1913(0x24b)][_0x3f1913(0x4ef)]({'key':_0x3f1913(0x5f3),'type':_0x3e1273[_0x3f1913(0x3ae)][_0x3f1913(0x355)],'content':this[_0x3f1913(0x630)]['t'](_0x3f1913(0x253))});}[_0x139045(0x34d)](){const _0x573efb=_0x139045,_0x2af52d=()=>{const _0x542d51=_0x10db;this['_socket']||this[_0x542d51(0x5a7)]();},_0x3aa961=()=>{const _0x30871b=_0x10db;this['_socket']||document[_0x30871b(0x675)]===_0x30871b(0x6a3)||this['reconnect']();};window[_0x573efb(0x5e0)](_0x573efb(0x34f),_0x2af52d),document[_0x573efb(0x5e0)](_0x573efb(0x601),_0x3aa961);}[_0x139045(0x4fa)](){const _0x17e5cf=_0x139045;var _0x42bb37;const _0x365875=this[_0x17e5cf(0x4e5)],_0x3da2fd=this[_0x17e5cf(0x397)][_0x17e5cf(0x34b)](_0x2cc87b),_0x370834=_0x365875===0x0?0x0:((_0x42bb37=_0x3da2fd==null?void 0x0:_0x3da2fd[_0x17e5cf(0x606)])!=null?_0x42bb37:0x4e20)*0x2**_0x365875;this[_0x17e5cf(0x5c8)]=window['setTimeout'](()=>{const _0xf69d11=_0x17e5cf;clearTimeout(this[_0xf69d11(0x5c8)]),this[_0xf69d11(0x5c8)]=null,this[_0xf69d11(0x2a6)]();},_0x370834),this[_0x17e5cf(0x4e5)]+=0x1;}[_0x139045(0x4ce)](_0x397471,_0x5d912a){const _0x5550bf=_0x139045,{cmd:_0x33ea28}=_0x5d912a;_0x33ea28===_0x474c88[_0x5550bf(0x265)]&&!this[_0x5550bf(0x204)]&&(_0x397471['memberID']=_0x5d912a['data'][_0x5550bf(0x509)],this[_0x5550bf(0x422)][_0x5550bf(0x4ed)](_0x397471),this[_0x5550bf(0x413)][_0x5550bf(0x4ed)](_0x3e6c83[_0x5550bf(0x401)]),this[_0x5550bf(0x204)]=!0x0,this['_candidateSocket']=null),_0x33ea28===_0x474c88[_0x5550bf(0x208)]&&this[_0x5550bf(0x689)](),this[_0x5550bf(0x6a2)]();}[_0x139045(0x6a2)](){const _0x8592e5=_0x139045;var _0x8ea31e;this[_0x8592e5(0x361)](),this[_0x8592e5(0x3dd)]=window[_0x8592e5(0x552)](()=>this[_0x8592e5(0x527)](),(_0x8ea31e=this[_0x8592e5(0x397)][_0x8592e5(0x34b)](_0x27ced4))!=null?_0x8ea31e:0x7530);}[_0x139045(0x527)](){const _0x3cad48=_0x139045;this['_socket'][_0x3cad48(0x53e)]({'cmd':_0x474c88[_0x3cad48(0x208)]}),this[_0x3cad48(0x241)]();}['_waitForHeartbeatResponse'](){const _0x5a1a02=_0x139045;var _0x1e2778;this[_0x5a1a02(0x428)]=window[_0x5a1a02(0x552)](()=>this[_0x5a1a02(0x368)](),(_0x1e2778=this['_configService']['getConfig'](_0x5aed78))!=null?_0x1e2778:0x4e20);}['_clearHeartbeatTimer'](){const _0x16132f=_0x139045;this[_0x16132f(0x3dd)]!=null&&(clearTimeout(this[_0x16132f(0x3dd)]),this[_0x16132f(0x3dd)]=null);}[_0x139045(0x689)](){const _0x325b0e=_0x139045;this[_0x325b0e(0x428)]!=null&&(clearTimeout(this[_0x325b0e(0x428)]),this['_timeoutTimer']=null);}},_0x2ebd39[_0x139045(0x353)]=_0x5942a0([_0x2fa21d(0x0,_0x170db9[_0x139045(0x283)](_0x170db9[_0x139045(0x667)])),_0x2fa21d(0x1,_0x170db9['Inject'](_0x170db9[_0x139045(0x2bc)])),_0x2fa21d(0x2,_0x332830[_0x139045(0x37a)]),_0x2fa21d(0x3,_0x170db9[_0x139045(0x686)]),_0x2fa21d(0x4,_0x170db9[_0x139045(0x57a)]),_0x2fa21d(0x5,_0x54bec8)],_0x2ebd39[_0x139045(0x353)]);for(var _0xfce3af=[],_0x3e02fa=0x0;_0x3e02fa<0x100;++_0x3e02fa)_0xfce3af['push']((_0x3e02fa+0x100)['toString'](0x10)['slice'](0x1));function _0x535961(_0x15814a,_0x5dd0d5=0x0){return(_0xfce3af[_0x15814a[_0x5dd0d5+0x0]]+_0xfce3af[_0x15814a[_0x5dd0d5+0x1]]+_0xfce3af[_0x15814a[_0x5dd0d5+0x2]]+_0xfce3af[_0x15814a[_0x5dd0d5+0x3]]+'-'+_0xfce3af[_0x15814a[_0x5dd0d5+0x4]]+_0xfce3af[_0x15814a[_0x5dd0d5+0x5]]+'-'+_0xfce3af[_0x15814a[_0x5dd0d5+0x6]]+_0xfce3af[_0x15814a[_0x5dd0d5+0x7]]+'-'+_0xfce3af[_0x15814a[_0x5dd0d5+0x8]]+_0xfce3af[_0x15814a[_0x5dd0d5+0x9]]+'-'+_0xfce3af[_0x15814a[_0x5dd0d5+0xa]]+_0xfce3af[_0x15814a[_0x5dd0d5+0xb]]+_0xfce3af[_0x15814a[_0x5dd0d5+0xc]]+_0xfce3af[_0x15814a[_0x5dd0d5+0xd]]+_0xfce3af[_0x15814a[_0x5dd0d5+0xe]]+_0xfce3af[_0x15814a[_0x5dd0d5+0xf]])['toLowerCase']();}var _0x2acae2,_0x122cf1=new Uint8Array(0x10);function _0x3f27cb(){const _0x4ecab9=_0x139045;if(!_0x2acae2&&(_0x2acae2=typeof crypto<'u'&&crypto[_0x4ecab9(0x3d1)]&&crypto[_0x4ecab9(0x3d1)][_0x4ecab9(0x358)](crypto),!_0x2acae2))throw new Error(_0x4ecab9(0x27a));return _0x2acae2(_0x122cf1);}var _0x469bb7=typeof crypto<'u'&&crypto[_0x139045(0x478)]&&crypto[_0x139045(0x478)][_0x139045(0x358)](crypto);const _0x3abfc3={'randomUUID':_0x469bb7};function _0x3e229c(_0x187df0,_0x14b27c,_0x14e74c){const _0x54e761=_0x139045;if(_0x3abfc3[_0x54e761(0x478)]&&!_0x14b27c&&!_0x187df0)return _0x3abfc3[_0x54e761(0x478)]();_0x187df0=_0x187df0||{};var _0x398f84=_0x187df0[_0x54e761(0x3d4)]||(_0x187df0[_0x54e761(0x560)]||_0x3f27cb)();return _0x398f84[0x6]=_0x398f84[0x6]&0xf|0x40,_0x398f84[0x8]=_0x398f84[0x8]&0x3f|0x80,_0x535961(_0x398f84);}var _0x3b49fd=Object[_0x139045(0x620)],_0x3f5593=Object[_0x139045(0x264)],_0x2bb216=(_0x5f3aaa,_0x4eae53,_0x5975e9,_0x18cf5a)=>{const _0x26682a=_0x139045;for(var _0x4fd1f1=_0x18cf5a>0x1?void 0x0:_0x18cf5a?_0x3f5593(_0x4eae53,_0x5975e9):_0x4eae53,_0x2fb5d7=_0x5f3aaa[_0x26682a(0x62b)]-0x1,_0xcb3b63;_0x2fb5d7>=0x0;_0x2fb5d7--)(_0xcb3b63=_0x5f3aaa[_0x2fb5d7])&&(_0x4fd1f1=(_0x18cf5a?_0xcb3b63(_0x4eae53,_0x5975e9,_0x4fd1f1):_0xcb3b63(_0x4fd1f1))||_0x4fd1f1);return _0x18cf5a&&_0x4fd1f1&&_0x3b49fd(_0x4eae53,_0x5975e9,_0x4fd1f1),_0x4fd1f1;},_0x5778d3=(_0x405dfc,_0x53d01e)=>(_0x54321d,_0x46fe6b)=>_0x53d01e(_0x54321d,_0x46fe6b,_0x405dfc);let _0x52392c=class{constructor(_0x96eb17,_0x5e3f8e,_0x4d2780){const _0x5e36fb=_0x139045;this[_0x5e36fb(0x43f)]=_0x96eb17,this[_0x5e36fb(0x205)]=_0x5e3f8e,this[_0x5e36fb(0x42c)]=_0x4d2780;}['transformIMECache'](_0x232fc6){const _0x4db950=_0x139045;this[_0x4db950(0x448)](_0x232fc6),this[_0x4db950(0x2f4)](_0x232fc6);}[_0x139045(0x2e6)](_0x3f0c61){const _0x258906=_0x139045,{unitID:_0x10f539}=_0x3f0c61,_0x324806=this[_0x258906(0x42c)][_0x258906(0x64d)](_0x10f539)['with'](_0x5a2d39[_0x258906(0x6a5)]),{redoCache:_0x173a92}=_0x324806[_0x258906(0x2ed)]();if(_0x173a92[_0x258906(0x62b)]===0x0)return _0x3f0c61;let _0x30b0e3=_0x170db9[_0x258906(0x26e)][_0x258906(0x618)](_0x3f0c61[_0x258906(0x29f)][0x0]);for(let _0x464c26=0x0;_0x464c26<_0x173a92[_0x258906(0x62b)];_0x464c26++){const _0x5b9aa1={'id':'doc.mutation.rich-text-editing','params':{..._0x173a92[_0x464c26]}},_0x38a8c9=this[_0x258906(0x205)][_0x258906(0x341)](_0x30b0e3,_0x5b9aa1,!0x1);if(_0x294b4b[_0x258906(0x3f1)](_0x38a8c9))throw _0x38a8c9[_0x258906(0x406)];_0x30b0e3=_0x38a8c9['m1Prime'];}return{..._0x170db9[_0x258906(0x26e)][_0x258906(0x618)](_0x3f0c61),'mutations':[_0x30b0e3]};}['_transformUndoRedoStack'](_0x5b88e1){const _0x2d716e=_0x139045,{unitID:_0x2d9a70}=_0x5b88e1,_0x2a948d=this[_0x2d716e(0x42c)][_0x2d716e(0x64d)](_0x2d9a70)[_0x2d716e(0x55d)](_0x5a2d39[_0x2d716e(0x6a5)]),{undoCache:_0x371b1a,redoCache:_0x32d1a5}=_0x2a948d[_0x2d716e(0x2ed)]();if(_0x371b1a[_0x2d716e(0x62b)]===0x0||_0x32d1a5['length']===0x0)return;const _0x8578f6=[],_0x37fc15=[];let _0x32743a=_0x170db9[_0x2d716e(0x26e)][_0x2d716e(0x618)](_0x5b88e1['mutations'][0x0]),_0x1043ed=_0x170db9['Tools'][_0x2d716e(0x618)](_0x5b88e1[_0x2d716e(0x29f)][0x0]);for(let _0x4af3e6=_0x371b1a[_0x2d716e(0x62b)]-0x1;_0x4af3e6>=0x0;_0x4af3e6--){const _0x4fa1ad={'id':'doc.mutation.rich-text-editing','params':{..._0x371b1a[_0x4af3e6]}},_0x32e0c8={'id':'doc.mutation.rich-text-editing','params':{..._0x32d1a5[_0x4af3e6]}},_0x8a96d7=this[_0x2d716e(0x205)][_0x2d716e(0x341)](_0x32743a,_0x4fa1ad,!0x1),_0x37b743=this[_0x2d716e(0x205)][_0x2d716e(0x341)](_0x1043ed,_0x32e0c8,!0x1);if(_0x294b4b[_0x2d716e(0x3f1)](_0x8a96d7))throw _0x8a96d7[_0x2d716e(0x406)];if(_0x294b4b['isTransformMutationFailure'](_0x37b743))throw _0x37b743[_0x2d716e(0x406)];_0x8578f6[_0x2d716e(0x22b)](_0x8a96d7['m2Prime'][_0x2d716e(0x674)]),_0x37fc15[_0x2d716e(0x22b)](_0x37b743[_0x2d716e(0x5c3)][_0x2d716e(0x674)]),_0x32743a=_0x8a96d7[_0x2d716e(0x3bc)],_0x1043ed=_0x37b743[_0x2d716e(0x3bc)];}_0x2a948d[_0x2d716e(0x27d)]({'undoCache':_0x8578f6,'redoCache':_0x37fc15});}['_transformPreviousActiveRange'](_0x54efdd){const _0x377291=_0x139045,{unitID:_0x12633e}=_0x54efdd,_0x165d02=this[_0x377291(0x42c)][_0x377291(0x64d)](_0x12633e)[_0x377291(0x55d)](_0x5a2d39[_0x377291(0x6a5)]),_0x59f12c=_0x165d02[_0x377291(0x49e)]();if(_0x59f12c==null)return;const _0x12cc62=[{'id':_0x377291(0x3c5),'params':{'unitId':_0x54efdd[_0x377291(0x4ee)],'actions':null,'textRanges':[_0x59f12c]}}],_0x488c89=this['_transformService'][_0x377291(0x5fe)](_0x54efdd,_0x12cc62);if(!_0x294b4b['isTransformMutationsWithChangesetSuccess'](_0x488c89))throw _0x488c89[_0x377291(0x406)];const _0x3d2c51=_0x488c89['m2Prime'][0x0]['params']['textRanges'];Array[_0x377291(0x209)](_0x3d2c51)&&_0x3d2c51[_0x377291(0x62b)]&&_0x165d02[_0x377291(0x683)](_0x3d2c51[0x0]);}};_0x52392c=_0x2bb216([_0x5778d3(0x0,_0x170db9['Inject'](_0x170db9[_0x139045(0x667)])),_0x5778d3(0x1,_0x294b4b['ITransformService']),_0x5778d3(0x2,_0x224b0f[_0x139045(0x67d)])],_0x52392c);var _0x3551e5=Object['defineProperty'],_0x377f95=Object['getOwnPropertyDescriptor'],_0x4accbf=(_0xa263d,_0xb7a24d,_0x4d1d3e,_0x2636fe)=>{const _0x28c00e=_0x139045;for(var _0x51b4d9=_0x2636fe>0x1?void 0x0:_0x2636fe?_0x377f95(_0xb7a24d,_0x4d1d3e):_0xb7a24d,_0x29c398=_0xa263d[_0x28c00e(0x62b)]-0x1,_0x32a5ec;_0x29c398>=0x0;_0x29c398--)(_0x32a5ec=_0xa263d[_0x29c398])&&(_0x51b4d9=(_0x2636fe?_0x32a5ec(_0xb7a24d,_0x4d1d3e,_0x51b4d9):_0x32a5ec(_0x51b4d9))||_0x51b4d9);return _0x2636fe&&_0x51b4d9&&_0x3551e5(_0xb7a24d,_0x4d1d3e,_0x51b4d9),_0x51b4d9;},_0x231631=(_0x4452c8,_0x16338d)=>(_0x8b3db5,_0x175708)=>_0x16338d(_0x8b3db5,_0x175708,_0x4452c8);_0x2ebd39['LocalCacheService']=class extends _0x170db9[_0x139045(0x399)]{constructor(_0x1b0e47,_0x4b07ed,_0x2a83c4,_0x5860f9,_0x20fbff){const _0xe5c9ef=_0x139045;super(),_0xee5085(this,'_cachedData',new Map()),_0xee5085(this,_0xe5c9ef(0x5cd),new Map()),_0xee5085(this,_0xe5c9ef(0x435),!0x1),(this[_0xe5c9ef(0x397)]=_0x1b0e47,this[_0xe5c9ef(0x309)]=_0x4b07ed,this[_0xe5c9ef(0x4e2)]=_0x2a83c4,this[_0xe5c9ef(0x630)]=_0x5860f9,this[_0xe5c9ef(0x4d4)]=_0x20fbff,this[_0xe5c9ef(0x681)]());}[_0x139045(0x598)](){const _0x5b3750=_0x139045;this[_0x5b3750(0x435)]=!0x0;}[_0x139045(0x45a)](){const _0x2462f0=_0x139045;this[_0x2462f0(0x435)]=!0x1;}[_0x139045(0x33b)](){const _0x158b9f=_0x139045;this[_0x158b9f(0x54e)]()[_0x158b9f(0x370)](()=>super['dispose']());}async['loadOfflineData'](_0xed304e){const _0x4c755e=_0x139045;return this['_disabled']?null:this['_localStorageService'][_0x4c755e(0x3be)](_0x373614(_0xed304e));}async[_0x139045(0x3e4)](_0x292781,_0x49645b){const _0x106aff=_0x139045;return!!this[_0x106aff(0x309)][_0x106aff(0x5c2)](_0x292781,_0x49645b);}[_0x139045(0x514)](_0xf4f547,_0x297365,_0x19d691,_0x52b140){const _0x2a6613=_0x139045,_0x37f448=this[_0x2a6613(0x4d4)][_0x2a6613(0x3a0)](_0xf4f547);this['_cachedData'][_0x2a6613(0x3fd)](_0xf4f547,{'unitID':_0xf4f547,'type':_0x297365,'awaitingChangeset':_0x19d691,'mutations':_0x52b140,'rev':_0x37f448}),this[_0x2a6613(0x5cd)][_0x2a6613(0x2d5)](_0xf4f547)||this[_0x2a6613(0x3dc)](_0xf4f547);}[_0x139045(0x3dc)](_0x54e3c6){const _0x14dfed=_0x139045,_0x43ba9b=this[_0x14dfed(0x37b)]();_0x43ba9b===0x0?this['_saveCache'](_0x54e3c6):this[_0x14dfed(0x5cd)][_0x14dfed(0x3fd)](_0x54e3c6,setTimeout(()=>this[_0x14dfed(0x593)](_0x54e3c6),_0x43ba9b));}[_0x139045(0x37b)](){const _0x445a86=_0x139045;var _0x52b12c;return(_0x52b12c=this[_0x445a86(0x397)][_0x445a86(0x34b)](_0x9789df))!=null?_0x52b12c:0x3e8;}[_0x139045(0x593)](_0x2abaed){const _0x2e9dcc=_0x139045,_0x56a256=this[_0x2e9dcc(0x5cd)]['get'](_0x2abaed);return _0x56a256!==void 0x0&&window[_0x2e9dcc(0x66a)](_0x56a256),this[_0x2e9dcc(0x309)][_0x2e9dcc(0x5c2)](_0x373614(_0x2abaed),this[_0x2e9dcc(0x636)][_0x2e9dcc(0x51c)](_0x2abaed))[_0x2e9dcc(0x370)](()=>this['_saveTaskMap'][_0x2e9dcc(0x5bd)](_0x2abaed));}async['exhaustSavingTask'](){const _0x3fb564=_0x139045,_0x2dc875=[];this['_saveTaskMap'][_0x3fb564(0x67e)]((_0x994247,_0x2edc9f)=>{const _0x4dfb80=_0x3fb564;window[_0x4dfb80(0x66a)](_0x994247),_0x2dc875[_0x4dfb80(0x2fc)](this[_0x4dfb80(0x593)](_0x2edc9f)[_0x4dfb80(0x370)](()=>{const _0x2eaf90=_0x4dfb80;this[_0x2eaf90(0x5cd)]['delete'](_0x2edc9f);}));}),await Promise[_0x3fb564(0x411)](_0x2dc875);}[_0x139045(0x681)](){const _0x92413f=_0x139045;this[_0x92413f(0x32f)](this[_0x92413f(0x4e2)][_0x92413f(0x2ad)](()=>{const _0x32f9ba=_0x92413f;if(this[_0x32f9ba(0x5cd)][_0x32f9ba(0x60c)])return this[_0x32f9ba(0x630)]['t'](_0x32f9ba(0x69c));}));}},_0x2ebd39[_0x139045(0x477)]=_0x4accbf([_0x231631(0x0,_0x170db9['IConfigService']),_0x231631(0x1,_0x170db9[_0x139045(0x267)]),_0x231631(0x2,_0x332830[_0x139045(0x20f)]),_0x231631(0x3,_0x170db9[_0x139045(0x283)](_0x170db9['LocaleService'])),_0x231631(0x4,_0x170db9['Inject'](_0x294b4b[_0x139045(0x32e)]))],_0x2ebd39['LocalCacheService']);function _0x373614(_0x5ce760){const _0x4917a9=_0x139045;return _0x4917a9(0x59d)+_0x5ce760;}var _0x2e139c=Object['defineProperty'],_0x3bacfd=Object[_0x139045(0x264)],_0x44a6c5=(_0x288621,_0x2fb7a1,_0x254721,_0x304f93)=>{const _0x4e4de2=_0x139045;for(var _0x5ab1ef=_0x304f93>0x1?void 0x0:_0x304f93?_0x3bacfd(_0x2fb7a1,_0x254721):_0x2fb7a1,_0x1cb0b0=_0x288621[_0x4e4de2(0x62b)]-0x1,_0x28d6aa;_0x1cb0b0>=0x0;_0x1cb0b0--)(_0x28d6aa=_0x288621[_0x1cb0b0])&&(_0x5ab1ef=(_0x304f93?_0x28d6aa(_0x2fb7a1,_0x254721,_0x5ab1ef):_0x28d6aa(_0x5ab1ef))||_0x5ab1ef);return _0x304f93&&_0x5ab1ef&&_0x2e139c(_0x2fb7a1,_0x254721,_0x5ab1ef),_0x5ab1ef;},_0x536945=(_0x142d1e,_0x1f4915)=>(_0xf3f1a9,_0x21920a)=>_0x1f4915(_0xf3f1a9,_0x21920a,_0x142d1e);function _0x5b64d3(_0x3efd1a){const _0x454336=_0x139045,{unitID:_0x150070,mutations:_0x3ac038}=_0x3efd1a;return{'unitId':_0x150070,'subUnitId':_0x3ac038[0x0][_0x454336(0x674)][_0x454336(0x4de)]};}let _0x910a13=class{constructor(_0x38b5f7,_0xe87f41,_0x1c8cac){const _0x36503d=_0x139045;this[_0x36503d(0x43f)]=_0x38b5f7,this[_0x36503d(0x205)]=_0xe87f41,this[_0x36503d(0x21a)]=_0x1c8cac;}[_0x139045(0x5ab)](_0x3cd114){const _0x3e67a9=_0x139045;var _0x21b2b8,_0xa4feed,_0x2f4e13,_0x48b691;const _0x49cc2e=this['_injector'][_0x3e67a9(0x51c)](_0x292e35[_0x3e67a9(0x611)]),{unitId:_0x4236fe,subUnitId:_0x1c2047}=_0x5b64d3(_0x3cd114),_0x446751=_0x49cc2e['getWorkbookSelections'](_0x4236fe)[_0x3e67a9(0x6aa)](),_0x4f56d3=(_0xa4feed=(_0x21b2b8=this[_0x3e67a9(0x21a)][_0x3e67a9(0x20b)](_0x4236fe))==null?void 0x0:_0x21b2b8['getActiveSheet']())==null?void 0x0:_0xa4feed['getSheetId']();if(_0x446751[_0x3e67a9(0x62b)]===0x0||!_0x4236fe||!_0x1c2047)return;const _0x30ca70=[{'id':_0x292e35[_0x3e67a9(0x62d)]['id'],'params':{'unitId':_0x4236fe,'subUnitId':_0x4f56d3,'selections':_0x170db9[_0x3e67a9(0x26e)][_0x3e67a9(0x618)](_0x446751)}}],_0x203da1=this[_0x3e67a9(0x205)][_0x3e67a9(0x5fe)](_0x3cd114,_0x30ca70);if(!_0x294b4b[_0x3e67a9(0x5e3)](_0x203da1))throw _0x203da1[_0x3e67a9(0x406)];const _0x2da580=(_0x48b691=(_0x2f4e13=_0x203da1[_0x3e67a9(0x5c3)][0x0])==null?void 0x0:_0x2f4e13[_0x3e67a9(0x674)])==null?void 0x0:_0x48b691[_0x3e67a9(0x649)];if(Array[_0x3e67a9(0x209)](_0x2da580)&&_0x2da580[_0x3e67a9(0x62b)]){if(_0x2da580[_0x3e67a9(0x62b)]===_0x30ca70[0x0][_0x3e67a9(0x674)][_0x3e67a9(0x649)]['length']&&_0x2da580['every']((_0x34f63f,_0x9e0ed7)=>_0x170db9[_0x3e67a9(0x36a)][_0x3e67a9(0x5d7)](_0x34f63f[_0x3e67a9(0x46a)],_0x30ca70[0x0]['params'][_0x3e67a9(0x649)][_0x9e0ed7]['range'])))return;this[_0x3e67a9(0x43f)][_0x3e67a9(0x51c)](_0x170db9['ICommandService'])[_0x3e67a9(0x3c3)](_0x292e35[_0x3e67a9(0x62d)]['id'],{'unitId':_0x4236fe,'subUnitId':_0x4f56d3,'selections':_0x2da580});}}};_0x910a13=_0x44a6c5([_0x536945(0x0,_0x170db9['Inject'](_0x170db9['Injector'])),_0x536945(0x1,_0x294b4b[_0x139045(0x363)]),_0x536945(0x2,_0x170db9[_0x139045(0x22f)])],_0x910a13);const _0x2410a4=_0x170db9[_0x139045(0x360)](_0x139045(0x2a4));var _0x3cc845=(_0x52976b=>(_0x52976b[_0x52976b['NO_OTHER_CLIENTS_EDITING']=0x0]=_0x139045(0x31a),_0x52976b[_0x52976b[_0x139045(0x670)]=0x1]=_0x139045(0x670),_0x52976b))(_0x3cc845||{});const _0xbca1e7=0x7530,_0x4f2d34=_0x139045(0x65e);class _0x7ab452 extends _0x170db9[_0x139045(0x399)]{constructor(){const _0x55e848=_0x139045;super(),_0xee5085(this,_0x55e848(0x387),_0x170db9[_0x55e848(0x26e)][_0x55e848(0x21c)]()),_0xee5085(this,_0x55e848(0x313),new Set()),_0xee5085(this,_0x55e848(0x4a3),new Map()),_0xee5085(this,_0x55e848(0x531),null),_0xee5085(this,_0x55e848(0x3a2),new Map()),_0xee5085(this,_0x55e848(0x395),new Map()),this['_init']();}[_0x139045(0x33b)](){const _0x1d5c30=_0x139045;super[_0x1d5c30(0x33b)](),this['_clearOtherTimers'][_0x1d5c30(0x67e)]((_0x1d921a,_0x5adcd8)=>this['_removeClearOtherTimer'](_0x5adcd8)),this[_0x1d5c30(0x531)]&&window[_0x1d5c30(0x4a2)](this[_0x1d5c30(0x531)]);}[_0x139045(0x233)](_0x1da4b8){const _0x38532f=_0x139045;return this[_0x38532f(0x2c4)](_0x1da4b8)[_0x38532f(0x640)](_0x145930[_0x38532f(0x666)]());}[_0x139045(0x3b0)](_0x585db6){const _0x140b6f=_0x139045;this['_selfUnitIDs'][_0x140b6f(0x60c)]===0x0&&this['_scheduleHeartbeat'](),this[_0x140b6f(0x313)][_0x140b6f(0x27f)](_0x585db6),this[_0x140b6f(0x3c8)]({'type':0x0,'memberID':this[_0x140b6f(0x387)],'unitIDs':[_0x585db6],'isForwarded':!0x1});}[_0x139045(0x2f7)](_0x37c301){const _0x133524=_0x139045;this[_0x133524(0x313)][_0x133524(0x5bd)](_0x37c301),this[_0x133524(0x313)][_0x133524(0x60c)]===0x0&&this[_0x133524(0x531)]&&window[_0x133524(0x4a2)](this[_0x133524(0x531)]);}[_0x139045(0x6b9)](){const _0x4d5198=_0x139045;this['disposeWithMe'](_0x170db9[_0x4d5198(0x3f0)](_0x145930[_0x4d5198(0x5ed)](window,_0x4d5198(0x248))[_0x4d5198(0x519)](_0x471d1b=>{const _0x2c19ec=_0x4d5198;if(_0x471d1b[_0x2c19ec(0x2e2)]!==_0x4f2d34||!_0x471d1b['newValue'])return;const _0x3f013c=JSON['parse'](_0x471d1b[_0x2c19ec(0x595)]);this['_handleEvent'](_0x3f013c);}))),window['addEventListener'](_0x4d5198(0x451),()=>this[_0x4d5198(0x3c8)]({'type':0x1,'memberID':this[_0x4d5198(0x387)],'unitIDs':Array['from'](this[_0x4d5198(0x313)])}));}['_handleEvent'](_0x362152){const _0x3a585a=_0x139045;switch(_0x362152[_0x3a585a(0x3e2)]){case 0x0:this[_0x3a585a(0x651)](_0x362152);break;case 0x1:this['_handleLeaveEvent'](_0x362152);break;case 0x2:this[_0x3a585a(0x227)](_0x362152);break;}}['_handleJoinEvent'](_0x5be0fa){const _0x379b3f=_0x139045,{unitIDs:_0x12c74f,memberID:_0xfdbb22,isForwarded:_0x1dd7df}=_0x5be0fa;_0x12c74f[_0x379b3f(0x67e)](_0x5a3f23=>{const _0x32ae8d=_0x379b3f;if(!_0x1dd7df&&this[_0x32ae8d(0x4a3)][_0x32ae8d(0x2d5)](_0x5a3f23)&&this['_ensureSubject'](_0x5a3f23)[_0x32ae8d(0x4ed)](0x1),!this[_0x32ae8d(0x4a3)][_0x32ae8d(0x2d5)](_0x5a3f23)||!this[_0x32ae8d(0x4a3)][_0x32ae8d(0x51c)](_0x5a3f23)[_0x32ae8d(0x2d5)](_0xfdbb22)){const _0x39e977=this[_0x32ae8d(0x4a3)][_0x32ae8d(0x51c)](_0x5a3f23)||new Set();_0x39e977['add'](_0xfdbb22),this[_0x32ae8d(0x4a3)][_0x32ae8d(0x3fd)](_0x5a3f23,_0x39e977),this[_0x32ae8d(0x1fa)](_0xfdbb22);}}),_0x1dd7df||this[_0x379b3f(0x3c8)]({'type':0x0,'memberID':this[_0x379b3f(0x387)],'unitIDs':[...this[_0x379b3f(0x313)]],'isForwarded':!0x0});}[_0x139045(0x1fa)](_0x240ee0){const _0x2b5742=_0x139045;this[_0x2b5742(0x6b0)](_0x240ee0);const _0x9d0db2=window[_0x2b5742(0x552)](()=>{const _0x1c60be=_0x2b5742;this['_unitOnClients'][_0x1c60be(0x67e)](_0x5424a3=>{_0x5424a3['delete'](_0x240ee0);});},_0xbca1e7*0x2);this['_clearOtherTimers'][_0x2b5742(0x3fd)](_0x240ee0,_0x9d0db2);}[_0x139045(0x6b0)](_0x46fa85){const _0x453f83=_0x139045;if(this[_0x453f83(0x3a2)]['has'](_0x46fa85)){const _0x43cfb8=this[_0x453f83(0x3a2)]['get'](_0x46fa85);_0x43cfb8&&window[_0x453f83(0x66a)](_0x43cfb8),this[_0x453f83(0x3a2)]['set'](_0x46fa85,null);}}[_0x139045(0x1fe)](_0x5552ef){const {memberID:_0x2dc15a,unitIDs:_0x599e51}=_0x5552ef;_0x599e51['forEach'](_0x280cc8=>{const _0x3cccda=_0x10db;var _0x3b7eff;const _0x1aa603=this[_0x3cccda(0x4a3)][_0x3cccda(0x51c)](_0x280cc8);_0x1aa603&&(_0x1aa603[_0x3cccda(0x5bd)](_0x2dc15a),(_0x3b7eff=this[_0x3cccda(0x2c4)](_0x280cc8))==null||_0x3b7eff['next'](_0x1aa603[_0x3cccda(0x60c)]===0x0?0x0:0x1));}),this['_removeClearOtherTimer'](_0x2dc15a);}[_0x139045(0x227)](_0x2e7695){const _0x5e1a74=_0x139045;this[_0x5e1a74(0x1fa)](_0x2e7695[_0x5e1a74(0x509)]);}[_0x139045(0x3c8)](_0x255fe5){const _0x2fd07a=_0x139045;localStorage['setItem'](_0x4f2d34,JSON[_0x2fd07a(0x658)](_0x255fe5));}[_0x139045(0x627)](){const _0x39b50b=_0x139045;this[_0x39b50b(0x531)]=window[_0x39b50b(0x5dd)](()=>{const _0x31f12a=_0x39b50b;this[_0x31f12a(0x3c8)]({'type':0x2,'memberID':this[_0x31f12a(0x387)]});},_0xbca1e7);}[_0x139045(0x2c4)](_0x2af151){const _0x3781af=_0x139045;return this[_0x3781af(0x395)]['has'](_0x2af151)||this[_0x3781af(0x395)][_0x3781af(0x3fd)](_0x2af151,new _0x145930[(_0x3781af(0x58b))](0x0)),this['_unitStatus'][_0x3781af(0x51c)](_0x2af151);}}var _0x1d2972=Object[_0x139045(0x620)],_0x33e440=Object['getOwnPropertyDescriptor'],_0x2bd9f3=(_0xa40ab2,_0x640341,_0x3d5bb3,_0x25e5ac)=>{const _0x48f64e=_0x139045;for(var _0x4209ff=_0x25e5ac>0x1?void 0x0:_0x25e5ac?_0x33e440(_0x640341,_0x3d5bb3):_0x640341,_0x1bbd98=_0xa40ab2[_0x48f64e(0x62b)]-0x1,_0x4daf9c;_0x1bbd98>=0x0;_0x1bbd98--)(_0x4daf9c=_0xa40ab2[_0x1bbd98])&&(_0x4209ff=(_0x25e5ac?_0x4daf9c(_0x640341,_0x3d5bb3,_0x4209ff):_0x4daf9c(_0x4209ff))||_0x4209ff);return _0x25e5ac&&_0x4209ff&&_0x1d2972(_0x640341,_0x3d5bb3,_0x4209ff),_0x4209ff;},_0x5ea28b=(_0x45f3e1,_0x31b4bf)=>(_0x4b837d,_0x1c1c6a)=>_0x31b4bf(_0x4b837d,_0x1c1c6a,_0x45f3e1);let _0x374887=class{constructor(_0x48d795,_0x280320,_0x4b42fe){const _0x40dae7=_0x139045;this[_0x40dae7(0x43f)]=_0x48d795,this[_0x40dae7(0x205)]=_0x280320,this[_0x40dae7(0x661)]=_0x4b42fe;}['transformStateCache'](_0x82cba0){const _0x304272=_0x139045;this[_0x304272(0x669)](_0x82cba0);}[_0x139045(0x2e6)](_0x3ac5bb){const _0x26b2bf=_0x139045,{unitID:_0x5ace8c}=_0x3ac5bb,{collaboration:_0xe4e7ea}=this[_0x26b2bf(0x661)]['getStateCache'](_0x5ace8c);if(_0xe4e7ea[_0x26b2bf(0x62b)]===0x0)return _0x3ac5bb;let _0x5b01ab=_0x170db9[_0x26b2bf(0x26e)]['deepClone'](_0x3ac5bb[_0x26b2bf(0x29f)][0x0]);for(let _0x4e89c6=0x0;_0x4e89c6<_0xe4e7ea[_0x26b2bf(0x62b)];_0x4e89c6++){const _0x4a6002={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0xe4e7ea[_0x4e89c6][_0x26b2bf(0x680)],..._0xe4e7ea[_0x4e89c6]['redoState']}},_0x556a5a=this[_0x26b2bf(0x205)][_0x26b2bf(0x341)](_0x5b01ab,_0x4a6002,!0x1);if(_0x294b4b[_0x26b2bf(0x3f1)](_0x556a5a))throw _0x556a5a[_0x26b2bf(0x406)];_0x5b01ab=_0x556a5a[_0x26b2bf(0x3bc)];}return{..._0x170db9['Tools'][_0x26b2bf(0x618)](_0x3ac5bb),'mutations':[_0x5b01ab]};}[_0x139045(0x669)](_0x11391a){const _0x161451=_0x139045,{unitID:_0x2a887b}=_0x11391a,{history:_0x3f0cab,collaboration:_0xd2cedd}=this[_0x161451(0x661)][_0x161451(0x29d)](_0x2a887b);if(_0x3f0cab[_0x161451(0x62b)]===0x0&&_0xd2cedd[_0x161451(0x62b)]===0x0)return;const _0x1476ed=[],_0x159133=[];let _0x2571bb=_0x170db9[_0x161451(0x26e)][_0x161451(0x618)](_0x11391a['mutations'][0x0]),_0x540c1d=_0x170db9[_0x161451(0x26e)][_0x161451(0x618)](_0x11391a[_0x161451(0x29f)][0x0]);for(let _0x2210e3=_0x3f0cab[_0x161451(0x62b)]-0x1;_0x2210e3>=0x0;_0x2210e3--){const _0x167eeb={'id':_0x161451(0x3c5),'params':{'unitId':_0x3f0cab[_0x2210e3][_0x161451(0x680)],..._0x3f0cab[_0x2210e3][_0x161451(0x2cc)]}},_0x48b4fd={'id':_0x161451(0x3c5),'params':{'unitId':_0x3f0cab[_0x2210e3]['unitId'],..._0x3f0cab[_0x2210e3]['redoState']}},_0x28c3c4=this['_transformService'][_0x161451(0x341)](_0x2571bb,_0x167eeb,!0x1),_0x5ccba6=this[_0x161451(0x205)]['transformMutation'](_0x540c1d,_0x48b4fd,!0x1);if(_0x294b4b[_0x161451(0x3f1)](_0x28c3c4))throw _0x28c3c4['error'];if(_0x294b4b[_0x161451(0x3f1)](_0x5ccba6))throw _0x5ccba6['error'];_0x1476ed[_0x161451(0x22b)]({..._0x3f0cab[_0x2210e3],'undoState':_0x28c3c4[_0x161451(0x5c3)][_0x161451(0x674)],'redoState':_0x5ccba6[_0x161451(0x5c3)]['params']}),_0x2571bb=_0x28c3c4[_0x161451(0x3bc)],_0x540c1d=_0x5ccba6[_0x161451(0x3bc)];}_0x2571bb=_0x170db9[_0x161451(0x26e)][_0x161451(0x618)](_0x11391a[_0x161451(0x29f)][0x0]),_0x540c1d=_0x170db9['Tools'][_0x161451(0x618)](_0x11391a['mutations'][0x0]);for(let _0x334668=_0xd2cedd[_0x161451(0x62b)]-0x1;_0x334668>=0x0;_0x334668--){const _0x2d787b={'id':_0x161451(0x3c5),'params':{'unitId':_0xd2cedd[_0x334668][_0x161451(0x680)],..._0xd2cedd[_0x334668]['undoState']}},_0x1aac68={'id':_0x161451(0x3c5),'params':{'unitId':_0xd2cedd[_0x334668][_0x161451(0x680)],..._0xd2cedd[_0x334668][_0x161451(0x380)]}},_0x56c0e8=this[_0x161451(0x205)][_0x161451(0x341)](_0x2571bb,_0x2d787b,!0x1),_0x5b3166=this[_0x161451(0x205)][_0x161451(0x341)](_0x540c1d,_0x1aac68,!0x1);if(_0x294b4b[_0x161451(0x3f1)](_0x56c0e8))throw _0x56c0e8[_0x161451(0x406)];if(_0x294b4b['isTransformMutationFailure'](_0x5b3166))throw _0x5b3166['error'];_0x159133[_0x161451(0x22b)]({..._0xd2cedd[_0x334668],'undoState':_0x56c0e8[_0x161451(0x5c3)][_0x161451(0x674)],'redoState':_0x5b3166['m2Prime'][_0x161451(0x674)]}),_0x2571bb=_0x56c0e8[_0x161451(0x3bc)],_0x540c1d=_0x5b3166[_0x161451(0x3bc)];}this[_0x161451(0x661)][_0x161451(0x67c)](_0x2a887b,{'history':_0x1476ed,'collaboration':_0x159133});}};_0x374887=_0x2bd9f3([_0x5ea28b(0x0,_0x170db9[_0x139045(0x283)](_0x170db9[_0x139045(0x667)])),_0x5ea28b(0x1,_0x294b4b[_0x139045(0x363)]),_0x5ea28b(0x2,_0x170db9[_0x139045(0x283)](_0x5a2d39[_0x139045(0x219)]))],_0x374887);function _0x33331f(_0x312bfa){const _0x24cf2a=_0x139045;let _0x1bcd0b='';for(const _0x3528e4 of _0x312bfa){const {startOffset:_0x5baf01,endOffset:_0x185296,isActive:_0x2f267c,rangeType:_0x12508,segmentId:_0x46c712,segmentPage:_0x17b7cd}=_0x3528e4;_0x1bcd0b[_0x24cf2a(0x62b)]&&(_0x1bcd0b+=','),_0x1bcd0b+=_0x5baf01+':'+_0x185296+':'+(_0x2f267c?'1':'0')+':'+_0x12508+':'+_0x46c712+':'+_0x17b7cd;}return _0x1bcd0b;}function _0x56179c(_0x23a5d5){const _0x4a4815=_0x139045,_0x510843=_0x23a5d5[_0x4a4815(0x373)](','),_0x11c563=[];for(const _0x122cc4 of _0x510843){const [_0x3d7116,_0x5a4a30,_0xfc4d57,_0x59cadf,_0x417477,_0x368a8b]=_0x122cc4[_0x4a4815(0x373)](':');_0x11c563[_0x4a4815(0x2fc)]({'startOffset':Number(_0x3d7116),'endOffset':Number(_0x5a4a30),'collapsed':_0x3d7116===_0x5a4a30,'isActive':_0xfc4d57==='1','rangeType':_0x59cadf===_0x170db9['DOC_RANGE_TYPE'][_0x4a4815(0x48e)]?_0x170db9['DOC_RANGE_TYPE'][_0x4a4815(0x48e)]:_0x170db9[_0x4a4815(0x3b6)][_0x4a4815(0x4fb)],'segmentId':typeof _0x417477==_0x4a4815(0x5ec)?String(_0x417477):'','segmentPage':Number(_0x368a8b!=null?_0x368a8b:-0x1)});}return _0x11c563['some'](_0x4fd123=>_0x4fd123['isActive'])||(_0x11c563[0x0][_0x4a4815(0x648)]=!0x0),_0x11c563;}class _0x4a72d6 extends _0x170db9[_0x139045(0x436)]{constructor(){const _0x11a1e4=_0x139045;super(...arguments),_0xee5085(this,_0x11a1e4(0x540),new _0x145930[(_0x11a1e4(0x58b))](null)),_0xee5085(this,_0x11a1e4(0x256),this[_0x11a1e4(0x540)][_0x11a1e4(0x232)]());}[_0x139045(0x499)](_0x344e32){const _0x97aea3=_0x139045,{unitID:_0x46aa05,memberID:_0x3d54e1,textRanges:_0x4db952}=_0x344e32,_0x5abe45=_0x33331f(_0x4db952);if(_0x5abe45==='')return;const _0x14eb25={'unitID':_0x46aa05,'memberID':_0x3d54e1,'selection':_0x5abe45};this['_collabCursorState$'][_0x97aea3(0x4ed)](_0x14eb25);}}var _0x15ca8d=Object[_0x139045(0x620)],_0x2b28c9=Object[_0x139045(0x264)],_0x1236f0=(_0x1acbfd,_0x2eef66,_0x555d79,_0x13be22)=>{for(var _0x22f5b7=_0x13be22>0x1?void 0x0:_0x13be22?_0x2b28c9(_0x2eef66,_0x555d79):_0x2eef66,_0x193801=_0x1acbfd['length']-0x1,_0x3267c7;_0x193801>=0x0;_0x193801--)(_0x3267c7=_0x1acbfd[_0x193801])&&(_0x22f5b7=(_0x13be22?_0x3267c7(_0x2eef66,_0x555d79,_0x22f5b7):_0x3267c7(_0x22f5b7))||_0x22f5b7);return _0x13be22&&_0x22f5b7&&_0x15ca8d(_0x2eef66,_0x555d79,_0x22f5b7),_0x22f5b7;},_0x4e7596=(_0x46a6d4,_0x1f68da)=>(_0x1c2198,_0x4f3c63)=>_0x1f68da(_0x1c2198,_0x4f3c63,_0x46a6d4);let _0x5009b3=class{constructor(_0x88b6f8,_0x16ae7e){const _0x1d2258=_0x139045;this['_injector']=_0x88b6f8,this[_0x1d2258(0x205)]=_0x16ae7e;}[_0x139045(0x5ab)](_0x26d831){const _0x5c3310=_0x139045;var _0x29b8c7;const _0x4db124=this[_0x5c3310(0x43f)]['get'](_0x2bd9e1['DocSelectionManagerService']),_0x5eb126=(_0x29b8c7=_0x4db124[_0x5c3310(0x4a0)]())!=null?_0x29b8c7:[];if(_0x5eb126['length']===0x0)return;const _0x42de0c=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x26d831[_0x5c3310(0x4ee)],'actions':null,'textRanges':_0x5eb126}}],_0x3f4bfb=this[_0x5c3310(0x205)][_0x5c3310(0x5fe)](_0x26d831,_0x42de0c);if(!_0x294b4b[_0x5c3310(0x5e3)](_0x3f4bfb))throw _0x3f4bfb['error'];const _0x2e1391=_0x3f4bfb['m2Prime'][0x0]['params'][_0x5c3310(0x2e5)];Array[_0x5c3310(0x209)](_0x2e1391)&&_0x2e1391[_0x5c3310(0x62b)]&&_0x4db124[_0x5c3310(0x41e)](_0x2e1391,!0x1);}};_0x5009b3=_0x1236f0([_0x4e7596(0x0,_0x170db9[_0x139045(0x283)](_0x170db9['Injector'])),_0x4e7596(0x1,_0x294b4b[_0x139045(0x363)])],_0x5009b3);const _0x778fa=new Set([_0x292e35[_0x139045(0x604)]['id']]);function _0x431d2e(_0x25383c,_0x4a95ab,_0x33faad,_0x44bd61,_0x3bf2db){const _0x1ba80a=_0x139045;var _0x58f8d1,_0x733838,_0x272a0d,_0x444797;const _0x2c518a=[];for(const _0x22004c of _0x25383c)if(_0x778fa[_0x1ba80a(0x2d5)](_0x22004c['id'])){if(_0x2c518a['length']>0x0)break;_0x2c518a[_0x1ba80a(0x2fc)](_0x22004c);break;}else _0x2c518a[_0x1ba80a(0x2fc)](_0x22004c);const _0x3083c3=(_0x733838=(_0x58f8d1=_0x3bf2db[_0x1ba80a(0x4cc)]())==null?void 0x0:_0x58f8d1['userID'])!=null?_0x733838:'unknown',_0x2b85a8=(_0x444797=(_0x272a0d=_0x3bf2db['getCurrentUser']())==null?void 0x0:_0x272a0d['memberID'])!=null?_0x444797:_0x1ba80a(0x619);return{'changeset':{'unitID':_0x4a95ab,'type':_0x294b4b[_0x1ba80a(0x539)](_0x33faad[_0x1ba80a(0x438)](_0x4a95ab)),'baseRev':_0x44bd61[_0x1ba80a(0x3a0)](_0x4a95ab),'revision':0x0,'userID':_0x3083c3,'memberID':_0x2b85a8,'mutations':_0x2c518a},'pendingMutations':_0x25383c[_0x1ba80a(0x2b1)](_0x2c518a['length'])};}function _0x5a7b8b(_0x56f42c,_0x43b58a,_0x192bb3,_0x4ddc16,_0xc85f8b){const _0x3939ef=_0x139045;var _0x12c3d1,_0x1cefeb,_0x593188,_0x573027;const _0x3f2719=[_0x56f42c[_0x3939ef(0x2c8)]((_0x3d9d4f,_0x101240)=>{const _0x52600f=_0x3939ef;var _0x3320a0;const {id:_0x4c3de0}=_0x3d9d4f,{id:_0x43cec3,type:_0x1c9923}=_0x101240,_0x5e3f91=(_0x3320a0=_0x3d9d4f[_0x52600f(0x674)])!=null?_0x3320a0:{'actions':null},_0x382001=_0x101240[_0x52600f(0x674)];if(_0x4c3de0&&_0x4c3de0!==_0x43cec3)throw new Error('Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20'+_0x4c3de0+_0x52600f(0x3a6)+_0x43cec3+'.');return{..._0x3d9d4f,'id':_0x43cec3,'type':_0x1c9923,'params':{'unitId':_0x382001['unitId'],'textRanges':_0x382001[_0x52600f(0x2e5)],'actions':_0x170db9['JSONX'][_0x52600f(0x27e)](_0x5e3f91[_0x52600f(0x4c3)],_0x382001[_0x52600f(0x4c3)])}};},{})],_0x3efbc0=(_0x1cefeb=(_0x12c3d1=_0xc85f8b[_0x3939ef(0x4cc)]())==null?void 0x0:_0x12c3d1[_0x3939ef(0x44b)])!=null?_0x1cefeb:_0x3939ef(0x619),_0xbfa996=(_0x573027=(_0x593188=_0xc85f8b[_0x3939ef(0x4cc)]())==null?void 0x0:_0x593188[_0x3939ef(0x509)])!=null?_0x573027:'unknown';return{'changeset':{'unitID':_0x43b58a,'type':_0x294b4b[_0x3939ef(0x539)](_0x192bb3['getUnitType'](_0x43b58a)),'baseRev':_0x4ddc16[_0x3939ef(0x3a0)](_0x43b58a),'revision':0x0,'userID':_0x3efbc0,'memberID':_0xbfa996,'mutations':_0x3f2719},'pendingMutations':[]};}function _0x336fbb(_0x5d4907,_0x11d486){const _0x121146=_0x139045,_0x5b5809=new _0x145930[(_0x121146(0x25e))](0x1);return setTimeout(()=>_0x5b5809[_0x121146(0x4ed)](_0x11d486),_0x5d4907),_0x5b5809[_0x121146(0x232)]()[_0x121146(0x640)](_0x145930[_0x121146(0x207)](0x1));}const _0x2af861={'id':_0x292e35[_0x139045(0x29b)]['id'],'type':_0x170db9['CommandType'][_0x139045(0x49b)],'params':{}};var _0x29558c=Object[_0x139045(0x620)],_0x3c9229=Object[_0x139045(0x264)],_0x4e2ae5=(_0x15ae88,_0x30e675,_0x14cb14,_0x319402)=>{for(var _0x15b343=_0x319402>0x1?void 0x0:_0x319402?_0x3c9229(_0x30e675,_0x14cb14):_0x30e675,_0x43253a=_0x15ae88['length']-0x1,_0x5b1d4f;_0x43253a>=0x0;_0x43253a--)(_0x5b1d4f=_0x15ae88[_0x43253a])&&(_0x15b343=(_0x319402?_0x5b1d4f(_0x30e675,_0x14cb14,_0x15b343):_0x5b1d4f(_0x15b343))||_0x15b343);return _0x319402&&_0x15b343&&_0x29558c(_0x30e675,_0x14cb14,_0x15b343),_0x15b343;},_0x5a1a66=(_0x2a78fd,_0x46e520)=>(_0x3ab656,_0x21a05c)=>_0x46e520(_0x3ab656,_0x21a05c,_0x2a78fd),_0xd10e72=(_0x59ed1e=>(_0x59ed1e[_0x139045(0x22a)]='not_collab',_0x59ed1e[_0x139045(0x4f5)]=_0x139045(0x412),_0x59ed1e[_0x139045(0x30c)]=_0x139045(0x4a9),_0x59ed1e[_0x139045(0x2e7)]=_0x139045(0x423),_0x59ed1e['AWAITING_WITH_PENDING']=_0x139045(0x4ec),_0x59ed1e[_0x139045(0x321)]=_0x139045(0x3c2),_0x59ed1e[_0x139045(0x54b)]=_0x139045(0x254),_0x59ed1e[_0x139045(0x21d)]=_0x139045(0x272),_0x59ed1e))(_0xd10e72||{});const _0x5283c4=0xea60;class _0x1a6bf6{constructor(_0x144ac0,_0x3dd5df,_0x494a41,_0x4ea2cd,_0x31717c,_0x201c33,_0x4bf50d,_0x4b2149,_0x26e54b){const _0x48431f=_0x139045;_0xee5085(this,_0x48431f(0x3f3),null),_0xee5085(this,'_pendingMutations',[]),(this[_0x48431f(0x4ee)]=_0x144ac0,this[_0x48431f(0x3e2)]=_0x3dd5df,this[_0x48431f(0x36b)]=_0x31717c,this['_commandService']=_0x201c33,this[_0x48431f(0x38c)]=_0x4bf50d,this[_0x48431f(0x4d4)]=_0x4b2149,this['_localCacheService']=_0x26e54b,this[_0x48431f(0x3f3)]=_0x494a41,this['_pendingMutations']=_0x4ea2cd);}[_0x139045(0x213)](_0x448d4f){const _0x4f5c0f=_0x139045,_0x2485c5=this[_0x4f5c0f(0x4d4)]['getCurrentRevOfUnit'](this[_0x4f5c0f(0x4ee)]);return _0x448d4f[_0x4f5c0f(0x6b1)]>_0x2485c5+0x1?(this[_0x4f5c0f(0x36b)][_0x4f5c0f(0x4e8)]({'from':_0x2485c5,'to':_0x448d4f[_0x4f5c0f(0x6b1)]-0x1}),!0x0):!0x1;}[_0x139045(0x2da)](_0x298a64){const _0x1fbddd=_0x139045;this['_undoRedoService'][_0x1fbddd(0x6b2)](this['unitID'],_0x298a64);}[_0x139045(0x51d)](_0x5e61b2){const _0x30bfe3=_0x139045;var _0x3a49ec,_0x5a8367;(_0x5a8367=(_0x3a49ec=this[_0x30bfe3(0x36b)])[_0x30bfe3(0x5e8)])==null||_0x5a8367[_0x30bfe3(0x2b0)](_0x3a49ec,_0x5e61b2);}[_0x139045(0x390)](_0x14179a){const _0x3ae00e=_0x139045;var _0x776d63,_0x29074d;return(_0x29074d=(_0x776d63=this[_0x3ae00e(0x36b)])['onTransformIME'])==null?void 0x0:_0x29074d[_0x3ae00e(0x2b0)](_0x776d63,_0x14179a);}[_0x139045(0x2ff)](_0x37e16a){const _0x8c5214=_0x139045;var _0x1a098c,_0x18e5fa;return(_0x18e5fa=(_0x1a098c=this[_0x8c5214(0x36b)])['onTransformState'])==null?void 0x0:_0x18e5fa[_0x8c5214(0x2b0)](_0x1a098c,_0x37e16a);}[_0x139045(0x698)](_0xc329c9){const _0x3ae600=_0x139045;var _0x4df681,_0x2aceba,_0x499d3d;return(_0x499d3d=(_0x2aceba=(_0x4df681=this[_0x3ae600(0x36b)])['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x2aceba[_0x3ae600(0x2b0)](_0x4df681,_0xc329c9))!=null?_0x499d3d:_0xc329c9;}['_transformRemoteChangesetByStateCache'](_0x13cbe8){const _0x16fa5e=_0x139045;var _0x24ef18,_0x2912dc,_0x55fa54;return(_0x55fa54=(_0x2912dc=(_0x24ef18=this[_0x16fa5e(0x36b)])[_0x16fa5e(0x2b2)])==null?void 0x0:_0x2912dc['call'](_0x24ef18,_0x13cbe8))!=null?_0x55fa54:_0x13cbe8;}[_0x139045(0x493)](_0x3ddccd){const _0x3e3e11=_0x139045;var _0x56ea26,_0x184d0a;if(this[_0x3e3e11(0x3e2)]===_0x5950ae[_0x3e3e11(0x4ca)]){const {unitID:_0xa35df2,mutations:_0x223ece,memberID:_0xf53c2c}=_0x3ddccd,_0x2da11e=_0x223ece[0x0]['params'][_0x3e3e11(0x2e5)];Array[_0x3e3e11(0x209)](_0x2da11e)&&_0x2da11e[_0x3e3e11(0x62b)]>0x0&&((_0x184d0a=(_0x56ea26=this[_0x3e3e11(0x36b)])[_0x3e3e11(0x52f)])==null||_0x184d0a['call'](_0x56ea26,{'unitID':_0xa35df2,'memberID':_0xf53c2c,'textRanges':_0x2da11e}));}}['_updateLocalCache'](){const _0x4f9dea=_0x139045;this['_localCacheService']['updateOfflineData'](this[_0x4f9dea(0x4ee)],this[_0x4f9dea(0x3e2)],this['_awaitingChangeset'],this[_0x4f9dea(0x46f)]);}['_getCurrentRevision'](){const _0x419c12=_0x139045;return this[_0x419c12(0x4d4)][_0x419c12(0x3a0)](this[_0x419c12(0x4ee)]);}['_incrementRevisionNumber'](){const _0x4dbb92=_0x139045;this[_0x4dbb92(0x4d4)]['incrementRevOfUnit'](this[_0x4dbb92(0x4ee)]);}[_0x139045(0x2ba)](_0x51b8e0){const _0x100380=_0x139045;var _0x5f25ed;let _0xb9384e=this[_0x100380(0x698)](_0x51b8e0);_0xb9384e=this[_0x100380(0x571)](_0xb9384e);const _0x5aac45=_0x170db9[_0x100380(0x609)](_0xb9384e[_0x100380(0x29f)],this[_0x100380(0x1fb)],{'fromCollab':!0x0});if(!_0x5aac45[_0x100380(0x346)])throw _0x5aac45[_0x100380(0x406)]instanceof Error?_0x5aac45[_0x100380(0x406)]:new Error((_0x5f25ed=_0x5aac45[_0x100380(0x406)])!=null?_0x5f25ed:_0x100380(0x288));this[_0x100380(0x390)](_0xb9384e),this['_transformStateCache'](_0xb9384e),this[_0x100380(0x2da)](_0x51b8e0),this['_transformSelections'](_0xb9384e),this[_0x100380(0x493)](_0xb9384e),this[_0x100380(0x447)]();}}let _0x2e5403=class extends _0x1a6bf6{constructor(_0x46bdb3,_0x1aefc2,_0x58c037,_0x9f46ba,_0x56e9fa,_0x24acff,_0x493180,_0x2eb386,_0x5918f6,_0x39f5e2){const _0x3cda1b=_0x139045;super(_0x46bdb3,_0x1aefc2,null,[],_0x58c037,_0x2eb386,_0x493180,_0x9f46ba,_0x56e9fa),_0xee5085(this,'status',_0x3cda1b(0x412)),(this[_0x3cda1b(0x43f)]=_0x24acff,this[_0x3cda1b(0x5b4)]=_0x5918f6,this[_0x3cda1b(0x205)]=_0x39f5e2);}[_0x139045(0x50c)](_0x15bbdc){const _0x543688=_0x139045,_0x48579e=this['_injector'][_0x543688(0x3f4)](_0x10407b,this[_0x543688(0x4ee)],this[_0x543688(0x3e2)],[_0x15bbdc],this[_0x543688(0x36b)]);return _0x48579e[_0x543688(0x32d)](),_0x48579e[_0x543688(0x614)](),_0x48579e;}[_0x139045(0x487)](_0x414569){const _0xf80575=_0x139045;if(this[_0xf80575(0x213)](_0x414569))return this[_0xf80575(0x43f)][_0xf80575(0x3f4)](_0x4a721f,this[_0xf80575(0x4ee)],this[_0xf80575(0x3e2)],null,[],null,[_0x414569],this[_0xf80575(0x36b)]);try{const _0x5bb69a=this[_0xf80575(0x205)][_0xf80575(0x5fe)](_0x414569,[_0x2af861]);if(_0x294b4b[_0xf80575(0x5e3)](_0x5bb69a)){const {c1Prime:_0x10066f}=_0x5bb69a;return this[_0xf80575(0x2ba)](_0x10066f),this;}throw _0x5bb69a['error'];}catch(_0x1cda33){return this[_0xf80575(0x5b4)][_0xf80575(0x406)](_0x1cda33),this[_0xf80575(0x5aa)](!0x1);}}[_0x139045(0x5aa)](_0x8e1d9f){const _0x213256=_0x139045;return this['_injector'][_0x213256(0x3f4)](_0x1b145a,this[_0x213256(0x4ee)],this[_0x213256(0x3e2)],null,[],this[_0x213256(0x36b)],_0x8e1d9f);}[_0x139045(0x4d2)](){const _0x32a6c9=_0x139045;throw new Error(_0x32a6c9(0x3ee));}[_0x139045(0x3fa)](){const _0x2e847b=_0x139045;throw new Error(_0x2e847b(0x56d));}[_0x139045(0x2ee)](){return this;}['toggleOffline'](){const _0x3467d3=_0x139045;return this['_injector'][_0x3467d3(0x3f4)](_0x2c1947,this[_0x3467d3(0x4ee)],this[_0x3467d3(0x3e2)],null,[],this[_0x3467d3(0x36b)]);}[_0x139045(0x332)](){return this;}[_0x139045(0x610)](){throw new Error('[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.');}['fetchMiss'](){const _0x1f1a2b=_0x139045,_0x2063e9=this['_revisionService'][_0x1f1a2b(0x3a0)](this['unitID']);return this[_0x1f1a2b(0x36b)][_0x1f1a2b(0x4e8)]({'from':_0x2063e9,'to':0x0}),this[_0x1f1a2b(0x43f)][_0x1f1a2b(0x3f4)](_0x4a721f,this['unitID'],this[_0x1f1a2b(0x3e2)],null,[],null,[],this[_0x1f1a2b(0x36b)]);}};_0x2e5403=_0x4e2ae5([_0x5a1a66(0x3,_0x170db9[_0x139045(0x283)](_0x294b4b[_0x139045(0x32e)])),_0x5a1a66(0x4,_0x170db9['Inject'](_0x2ebd39[_0x139045(0x477)])),_0x5a1a66(0x5,_0x170db9[_0x139045(0x283)](_0x170db9[_0x139045(0x667)])),_0x5a1a66(0x6,_0x170db9[_0x139045(0x3c1)]),_0x5a1a66(0x7,_0x170db9[_0x139045(0x301)]),_0x5a1a66(0x8,_0x170db9[_0x139045(0x686)]),_0x5a1a66(0x9,_0x294b4b[_0x139045(0x363)])],_0x2e5403);let _0x10407b=class extends _0x1a6bf6{constructor(_0x4c159d,_0x5dc274,_0x162520,_0x30bc37,_0x46af4c,_0x39544c,_0x3dd207,_0x1b56a9,_0x24f684,_0x5a1899,_0x19fbe4,_0x285fe2,_0x1432d5,_0x2d5670){const _0x11cfb4=_0x139045;super(_0x4c159d,_0x5dc274,null,_0x162520,_0x30bc37,_0x5a1899,_0x2d5670,_0x39544c,_0x3dd207),_0xee5085(this,'status',_0x11cfb4(0x4a9)),_0xee5085(this,_0x11cfb4(0x29a),null),_0xee5085(this,_0x11cfb4(0x45b),null),(this[_0x11cfb4(0x43f)]=_0x46af4c,this[_0x11cfb4(0x57e)]=_0x1b56a9,this['_logService']=_0x24f684,this[_0x11cfb4(0x397)]=_0x19fbe4,this['_transformService']=_0x285fe2,this[_0x11cfb4(0x230)]=_0x1432d5);}[_0x139045(0x50c)](_0x42f109){const _0x35d115=_0x139045;return this[_0x35d115(0x46f)][_0x35d115(0x2fc)](_0x42f109),this['_updateLocalCache'](),this;}['onRemoteChangeset'](_0x49d8a2){const _0x472f54=_0x139045;if(this[_0x472f54(0x213)](_0x49d8a2))return this[_0x472f54(0x2e4)](),this[_0x472f54(0x43f)][_0x472f54(0x3f4)](_0x4a721f,this[_0x472f54(0x4ee)],this[_0x472f54(0x3e2)],null,this[_0x472f54(0x46f)],null,[_0x49d8a2],this[_0x472f54(0x36b)]);try{const _0x4e877c=this['_transformService']['transformMutationsWithChangeset'](_0x49d8a2,this['_pendingMutations']);if(_0x294b4b['isTransformMutationsWithChangesetSuccess'](_0x4e877c)){const {c1Prime:_0x1420c3,m2Prime:_0x5877c0}=_0x4e877c;this[_0x472f54(0x2ba)](_0x1420c3);const _0x202a78=this[_0x472f54(0x43f)][_0x472f54(0x3f4)](_0x10407b,this[_0x472f54(0x4ee)],this['type'],_0x5877c0,this['_handler']);return this[_0x472f54(0x2e4)](),_0x202a78[_0x472f54(0x32d)](this[_0x472f54(0x29a)]?Math[_0x472f54(0x633)](0x0,new Date()[_0x472f54(0x5b9)]()-this[_0x472f54(0x29a)]):this['_getSendChangesetTimeout']()),_0x202a78;}throw _0x4e877c[_0x472f54(0x406)];}catch(_0x50c6bd){return this[_0x472f54(0x5b4)][_0x472f54(0x406)](_0x50c6bd),this['_onConflict'](!0x1);}}[_0x139045(0x4d2)](){const _0x3105c1=_0x139045;throw new Error(_0x3105c1(0x327));}[_0x139045(0x3fa)](){const _0x29e2c8=_0x139045;throw new Error(_0x29e2c8(0x568));}[_0x139045(0x2ee)](){return this;}['toggleOffline'](){const _0xb84bff=_0x139045;return this[_0xb84bff(0x2e4)](),this[_0xb84bff(0x43f)]['createInstance'](_0x2c1947,this[_0xb84bff(0x4ee)],this['type'],null,this[_0xb84bff(0x46f)],this[_0xb84bff(0x36b)]);}[_0x139045(0x332)](){return this;}[_0x139045(0x32d)](_0x3a4279){const _0x3b8a60=_0x139045,_0x49e10c=_0x3a4279!=null?_0x3a4279:this['_getSendChangesetTimeout']();this['_scheduleTimestamp']=new Date()['getTime'](),this['_sendingTimer']=window[_0x3b8a60(0x552)](()=>{const _0x5cfef1=_0x3b8a60;this[_0x5cfef1(0x2e4)]();let _0x44cd4a=null;switch(this[_0x5cfef1(0x3e2)]){case _0x5950ae[_0x5cfef1(0x696)]:{_0x44cd4a=_0x431d2e(this['_pendingMutations'],this[_0x5cfef1(0x4ee)],this[_0x5cfef1(0x230)],this[_0x5cfef1(0x4d4)],this[_0x5cfef1(0x57e)]);break;}case _0x5950ae[_0x5cfef1(0x4ca)]:{this['_pendingMutations'][_0x5cfef1(0x607)](_0x5c7851=>_0x5c7851['id']===_0x2bd9e1[_0x5cfef1(0x498)]['id'])?_0x44cd4a=_0x5a7b8b(this[_0x5cfef1(0x46f)],this[_0x5cfef1(0x4ee)],this[_0x5cfef1(0x230)],this[_0x5cfef1(0x4d4)],this['_memberService']):_0x44cd4a=_0x431d2e(this['_pendingMutations'],this[_0x5cfef1(0x4ee)],this[_0x5cfef1(0x230)],this[_0x5cfef1(0x4d4)],this[_0x5cfef1(0x57e)]);break;}default:throw new Error(_0x5cfef1(0x3bf)+this[_0x5cfef1(0x3e2)]+_0x5cfef1(0x518));}const {changeset:_0x20ba26,pendingMutations:_0x3c9ff5}=_0x44cd4a;this[_0x5cfef1(0x36b)][_0x5cfef1(0x1f0)](_0x20ba26);const _0x41588d=_0x3c9ff5[_0x5cfef1(0x62b)]?this[_0x5cfef1(0x43f)][_0x5cfef1(0x3f4)](_0x1a7cc4,this[_0x5cfef1(0x4ee)],this[_0x5cfef1(0x3e2)],_0x20ba26,_0x3c9ff5,this['_handler'],void 0x0):this[_0x5cfef1(0x43f)]['createInstance'](_0x2da86e,this[_0x5cfef1(0x4ee)],this[_0x5cfef1(0x3e2)],_0x20ba26,this[_0x5cfef1(0x36b)]);_0x41588d['_updateLocalCache'](),this['_handler'][_0x5cfef1(0x389)](this,_0x41588d);},_0x49e10c);}[_0x139045(0x446)](){const _0x5d2b9b=_0x139045;var _0x5c6663;const _0xdacf06=this[_0x5d2b9b(0x397)][_0x5d2b9b(0x34b)](_0x2cc87b);return(_0x5c6663=_0xdacf06==null?void 0x0:_0xdacf06[_0x5d2b9b(0x35a)])!=null?_0x5c6663:0x7d0;}[_0x139045(0x610)](){throw new Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}['_clearScheduledTask'](){const _0x3fb596=_0x139045;this[_0x3fb596(0x45b)]!=null&&(clearTimeout(this[_0x3fb596(0x45b)]),this[_0x3fb596(0x45b)]=null);}[_0x139045(0x5aa)](_0x4b66f2){const _0x12c4a2=_0x139045;return this[_0x12c4a2(0x2e4)](),this['_injector'][_0x12c4a2(0x3f4)](_0x1b145a,this[_0x12c4a2(0x4ee)],this['type'],null,this['_pendingMutations'],this[_0x12c4a2(0x36b)],_0x4b66f2);}};_0x10407b=_0x4e2ae5([_0x5a1a66(0x4,_0x170db9[_0x139045(0x283)](_0x170db9['Injector'])),_0x5a1a66(0x5,_0x170db9[_0x139045(0x283)](_0x294b4b[_0x139045(0x32e)])),_0x5a1a66(0x6,_0x170db9[_0x139045(0x283)](_0x2ebd39[_0x139045(0x477)])),_0x5a1a66(0x7,_0x170db9['Inject'](_0x2ebd39[_0x139045(0x2d4)])),_0x5a1a66(0x8,_0x170db9[_0x139045(0x686)]),_0x5a1a66(0x9,_0x170db9[_0x139045(0x301)]),_0x5a1a66(0xa,_0x170db9[_0x139045(0x57a)]),_0x5a1a66(0xb,_0x294b4b[_0x139045(0x363)]),_0x5a1a66(0xc,_0x170db9[_0x139045(0x22f)]),_0x5a1a66(0xd,_0x170db9['IUndoRedoService'])],_0x10407b);let _0x2da86e=class extends _0x1a6bf6{constructor(_0x148eb4,_0x16cfc1,_0x4d82b4,_0x1866f9,_0x203f4b,_0x362d4e,_0x225a2d,_0x1d3aab,_0x1573da,_0x357132,_0x5853a4){const _0x479761=_0x139045;super(_0x148eb4,_0x16cfc1,_0x4d82b4,[],_0x1866f9,_0x1d3aab,_0x5853a4,_0x362d4e,_0x225a2d),_0xee5085(this,_0x479761(0x5f4),_0x479761(0x423)),_0xee5085(this,_0x479761(0x3b7),0x0),_0xee5085(this,_0x479761(0x5b0)),_0xee5085(this,_0x479761(0x569)),(this[_0x479761(0x43f)]=_0x203f4b,this[_0x479761(0x5b4)]=_0x1573da,this['_transformService']=_0x357132);}[_0x139045(0x50c)](_0x6cd866){const _0x3899a6=_0x139045;this[_0x3899a6(0x2e4)]();const _0x13006e=this[_0x3899a6(0x43f)][_0x3899a6(0x3f4)](_0x1a7cc4,this['unitID'],this[_0x3899a6(0x3e2)],this[_0x3899a6(0x3f3)],[_0x6cd866],this[_0x3899a6(0x36b)],this[_0x3899a6(0x5b0)]);return _0x13006e[_0x3899a6(0x614)](),_0x13006e;}[_0x139045(0x487)](_0x278ed1){const _0x40d446=_0x139045;if(this['_checkMissing'](_0x278ed1))return this[_0x40d446(0x2e4)](),this[_0x40d446(0x43f)][_0x40d446(0x3f4)](_0x4a721f,this['unitID'],this[_0x40d446(0x3e2)],this[_0x40d446(0x3f3)],[],null,[_0x278ed1],this[_0x40d446(0x36b)]);try{const _0x22554f=this[_0x40d446(0x205)][_0x40d446(0x4bb)]([_0x278ed1],[this['_awaitingChangeset']],!0x1);if(_0x294b4b[_0x40d446(0x582)](_0x22554f)){const {c1Prime:_0x4176c1,c2Prime:_0x3a0a15}=_0x22554f;this[_0x40d446(0x2ba)](_0x4176c1[0x0]),_0x3a0a15[0x0]['baseRev']=this[_0x40d446(0x521)](),this[_0x40d446(0x2e4)]();const _0x1a0741=this[_0x40d446(0x43f)]['createInstance'](_0x2da86e,this[_0x40d446(0x4ee)],this[_0x40d446(0x3e2)],_0x3a0a15[0x0],this[_0x40d446(0x36b)]);return _0x1a0741[_0x40d446(0x614)](),_0x1a0741;}return this[_0x40d446(0x5aa)](!0x1);}catch(_0x51907a){return this[_0x40d446(0x5b4)][_0x40d446(0x406)](_0x51907a),this[_0x40d446(0x5aa)](!0x1);}}[_0x139045(0x4d2)](_0x252644){const _0x523992=_0x139045;this['_clearScheduledTask']();const _0x146757=this[_0x523992(0x4d4)][_0x523992(0x3a0)](this[_0x523992(0x4ee)]);if(_0x252644[_0x523992(0x6b1)]<_0x146757-0x1)return this;if(this[_0x523992(0x213)](_0x252644))return this[_0x523992(0x43f)]['createInstance'](_0x4a721f,this[_0x523992(0x4ee)],this[_0x523992(0x3e2)],null,[],this[_0x523992(0x3f3)],[],this[_0x523992(0x36b)]);this[_0x523992(0x447)]();const _0x5ef991=this[_0x523992(0x43f)]['createInstance'](_0x2e5403,this['unitID'],this[_0x523992(0x3e2)],this[_0x523992(0x36b)]);return _0x5ef991[_0x523992(0x614)](),_0x5ef991;}['onRemoteRej'](_0x191249){const _0x4b9bcc=_0x139045;return this[_0x4b9bcc(0x5aa)](!!(_0x191249!=null&&_0x191249[_0x4b9bcc(0x417)]));}[_0x139045(0x2ee)](_0x438982){const _0x32ad61=_0x139045;return this[_0x32ad61(0x3b7)]>_0x5283c4?this[_0x32ad61(0x4f9)]():(this[_0x32ad61(0x5b0)]=_0x336fbb(this[_0x32ad61(0x3b7)],{'timeout':this['_resendTimeout'],'reqId':_0x438982[_0x32ad61(0x334)]}),this[_0x32ad61(0x569)]=this[_0x32ad61(0x5b0)][_0x32ad61(0x519)](({reqId:_0x132881,timeout:_0x3be90e})=>{const _0x642cc9=_0x32ad61;this[_0x642cc9(0x4f6)](_0x132881,_0x3be90e);}),this);}[_0x139045(0x4f9)](){const _0x385120=_0x139045;return this[_0x385120(0x2e4)](),this[_0x385120(0x43f)][_0x385120(0x3f4)](_0x2c1947,this[_0x385120(0x4ee)],this['type'],this[_0x385120(0x3f3)],[],this['_handler']);}['toggleOnline'](){return this;}[_0x139045(0x610)](){const _0x6971fd=_0x139045;this['_handler']['onSendChangeset'](this[_0x6971fd(0x3f3)]);}[_0x139045(0x5aa)](_0xa1617b){const _0xa0de69=_0x139045;return this[_0xa0de69(0x2e4)](),this[_0xa0de69(0x43f)][_0xa0de69(0x3f4)](_0x1b145a,this['unitID'],this[_0xa0de69(0x3e2)],this['_awaitingChangeset'],[],this['_handler'],_0xa1617b);}[_0x139045(0x4f6)](_0x202a90,_0x4dd759){const _0x1de216=_0x139045;var _0x35bfd5;_0x202a90===((_0x35bfd5=this['_awaitingChangeset'])==null?void 0x0:_0x35bfd5[_0x1de216(0x334)])&&(this[_0x1de216(0x610)](),this['_resendTimeout']=_0x4dd759===0x0?0x3e8:_0x4dd759*0x2);}['_clearScheduledTask'](){const _0xa67429=_0x139045;var _0x14aab5;(_0x14aab5=this[_0xa67429(0x569)])==null||_0x14aab5['unsubscribe'](),this[_0xa67429(0x3b7)]=0x0;}};_0x2da86e=_0x4e2ae5([_0x5a1a66(0x4,_0x170db9['Inject'](_0x170db9[_0x139045(0x667)])),_0x5a1a66(0x5,_0x170db9[_0x139045(0x283)](_0x294b4b[_0x139045(0x32e)])),_0x5a1a66(0x6,_0x170db9['Inject'](_0x2ebd39[_0x139045(0x477)])),_0x5a1a66(0x7,_0x170db9[_0x139045(0x301)]),_0x5a1a66(0x8,_0x170db9[_0x139045(0x686)]),_0x5a1a66(0x9,_0x294b4b[_0x139045(0x363)]),_0x5a1a66(0xa,_0x170db9[_0x139045(0x3c1)])],_0x2da86e);let _0x1a7cc4=class extends _0x1a6bf6{constructor(_0x2cecae,_0x2dc190,_0x597092,_0x37d578,_0x28d7ed,_0x100bac,_0x1bd766,_0x2f5dec,_0x40e6a5,_0x454a45,_0x23a592,_0x2addf6,_0x4380e5){const _0x541a6b=_0x139045;super(_0x2cecae,_0x2dc190,_0x597092,_0x37d578,_0x28d7ed,_0x454a45,_0x4380e5,_0x2f5dec,_0x40e6a5),_0xee5085(this,_0x541a6b(0x5f4),_0x541a6b(0x4ec)),_0xee5085(this,'_resendTimeout',0x0),_0xee5085(this,_0x541a6b(0x5b0)),_0xee5085(this,_0x541a6b(0x569)),(this[_0x541a6b(0x43f)]=_0x1bd766,this['_logService']=_0x23a592,this[_0x541a6b(0x205)]=_0x2addf6,_0x100bac&&(this[_0x541a6b(0x5b0)]=_0x100bac,this[_0x541a6b(0x569)]=this[_0x541a6b(0x5b0)][_0x541a6b(0x519)](({reqId:_0x33b7f9,timeout:_0x11a8b9})=>{this['_resendWithTimeout'](_0x33b7f9,_0x11a8b9);})));}['appendMutation'](_0xd60529){const _0x1a4b39=_0x139045;return this['_pendingMutations'][_0x1a4b39(0x2fc)](_0xd60529),this;}[_0x139045(0x487)](_0x47cb68){const _0x1554d3=_0x139045;if(this[_0x1554d3(0x213)](_0x47cb68))return this[_0x1554d3(0x2e4)](),this[_0x1554d3(0x43f)][_0x1554d3(0x3f4)](_0x4a721f,this[_0x1554d3(0x4ee)],this['type'],this[_0x1554d3(0x3f3)],this[_0x1554d3(0x46f)],null,[_0x47cb68],this[_0x1554d3(0x36b)]);try{const _0x5a8f9e=this[_0x1554d3(0x205)][_0x1554d3(0x4bb)]([_0x47cb68],[this[_0x1554d3(0x3f3)]],!0x1);if(_0x294b4b[_0x1554d3(0x582)](_0x5a8f9e)){const {c1Prime:_0x1c5150,c2Prime:_0x594b2e}=_0x5a8f9e,_0x283ea4=this[_0x1554d3(0x205)][_0x1554d3(0x5fe)](_0x1c5150[0x0],this['_pendingMutations']);if(_0x294b4b['isTransformMutationsWithChangesetSuccess'](_0x283ea4)){const {c1Prime:_0x4fc96b,m2Prime:_0x5540da}=_0x283ea4;return this['_executeRemoteChangeset'](_0x4fc96b),_0x594b2e[0x0][_0x1554d3(0x61e)]=this[_0x1554d3(0x521)](),this['_clearScheduledTask'](),this['_injector'][_0x1554d3(0x3f4)](_0x1a7cc4,this[_0x1554d3(0x4ee)],this[_0x1554d3(0x3e2)],_0x594b2e[0x0],_0x5540da,this[_0x1554d3(0x36b)],void 0x0);}throw _0x283ea4[_0x1554d3(0x406)];}throw _0x5a8f9e[_0x1554d3(0x406)];}catch(_0x4f7e38){return this['_logService'][_0x1554d3(0x406)](_0x4f7e38),this[_0x1554d3(0x5aa)](!0x1);}}[_0x139045(0x4d2)](_0x5f1536){const _0x436637=_0x139045;if(this[_0x436637(0x2e4)](),this['_checkMissing'](_0x5f1536))return this['_injector'][_0x436637(0x3f4)](_0x4a721f,this[_0x436637(0x4ee)],this[_0x436637(0x3e2)],null,this['_pendingMutations'],this[_0x436637(0x3f3)],[],this[_0x436637(0x36b)]);this[_0x436637(0x447)]();const _0x4e0d14=this['_injector'][_0x436637(0x3f4)](_0x10407b,this[_0x436637(0x4ee)],this[_0x436637(0x3e2)],this[_0x436637(0x46f)],this[_0x436637(0x36b)]);return _0x4e0d14[_0x436637(0x32d)](),_0x4e0d14['_updateLocalCache'](),_0x4e0d14;}[_0x139045(0x3fa)](_0x1ac1c7){const _0x5b7fbd=_0x139045;return this[_0x5b7fbd(0x5aa)](!!(_0x1ac1c7!=null&&_0x1ac1c7[_0x5b7fbd(0x417)]));}[_0x139045(0x2ee)](_0x180391){const _0x3c82da=_0x139045;return this[_0x3c82da(0x3b7)]>_0x5283c4?this[_0x3c82da(0x4f9)]():(this[_0x3c82da(0x5b0)]=_0x336fbb(this['_resendTimeout'],{'timeout':this[_0x3c82da(0x3b7)],'reqId':_0x180391[_0x3c82da(0x334)]}),this['_sender']=this[_0x3c82da(0x5b0)][_0x3c82da(0x519)](({reqId:_0x542b6d,timeout:_0x550133})=>{this['_resendWithTimeout'](_0x542b6d,_0x550133);}),this);}[_0x139045(0x4f9)](){const _0xfa064c=_0x139045;return this[_0xfa064c(0x2e4)](),this[_0xfa064c(0x43f)][_0xfa064c(0x3f4)](_0x2c1947,this[_0xfa064c(0x4ee)],this[_0xfa064c(0x3e2)],this[_0xfa064c(0x3f3)],this[_0xfa064c(0x46f)],this[_0xfa064c(0x36b)]);}['toggleOnline'](){return this;}['resend'](){const _0x47f104=_0x139045;this[_0x47f104(0x36b)][_0x47f104(0x1f0)](this[_0x47f104(0x3f3)]);}[_0x139045(0x5aa)](_0x491d31){const _0x1c3706=_0x139045;return this['_clearScheduledTask'](),this[_0x1c3706(0x43f)][_0x1c3706(0x3f4)](_0x1b145a,this[_0x1c3706(0x4ee)],this[_0x1c3706(0x3e2)],null,this[_0x1c3706(0x46f)],this[_0x1c3706(0x36b)],_0x491d31);}['_resendWithTimeout'](_0x247ff8,_0x223fdb){const _0x1ac352=_0x139045;var _0x59864f;_0x247ff8===((_0x59864f=this[_0x1ac352(0x3f3)])==null?void 0x0:_0x59864f[_0x1ac352(0x334)])&&(this[_0x1ac352(0x610)](),this[_0x1ac352(0x3b7)]=_0x223fdb===0x0?0x3e8:_0x223fdb*0x2);}['_clearScheduledTask'](){const _0x423181=_0x139045;var _0x14164f;(_0x14164f=this[_0x423181(0x569)])==null||_0x14164f['unsubscribe'](),this['_resendTimeout']=0x0;}};_0x1a7cc4=_0x4e2ae5([_0x5a1a66(0x6,_0x170db9[_0x139045(0x283)](_0x170db9['Injector'])),_0x5a1a66(0x7,_0x170db9[_0x139045(0x283)](_0x294b4b[_0x139045(0x32e)])),_0x5a1a66(0x8,_0x170db9[_0x139045(0x283)](_0x2ebd39[_0x139045(0x477)])),_0x5a1a66(0x9,_0x170db9['ICommandService']),_0x5a1a66(0xa,_0x170db9[_0x139045(0x686)]),_0x5a1a66(0xb,_0x294b4b[_0x139045(0x363)]),_0x5a1a66(0xc,_0x170db9[_0x139045(0x3c1)])],_0x1a7cc4);let _0x1b145a=class extends _0x1a6bf6{constructor(_0x30d759,_0x382a79,_0x47fd49,_0x4edc9d,_0x432c98,_0x928e7f=!0x1,_0x2db98a,_0x19acea,_0x52a455,_0x41ecfe,_0x8eb56c,_0x2bf442,_0x529679){const _0x10ec16=_0x139045;super(_0x30d759,_0x382a79,_0x47fd49,_0x4edc9d,_0x432c98,_0x19acea,_0x52a455,_0x8eb56c,_0x41ecfe),_0xee5085(this,_0x10ec16(0x5f4),'conflict'),(this['_isPermissionRej']=_0x928e7f,this['_permissionService']=_0x2db98a,this[_0x10ec16(0x630)]=_0x2bf442,this[_0x10ec16(0x59f)]=_0x529679,this[_0x10ec16(0x4d8)](),this[_0x10ec16(0x41b)](),this['_disableEditing']());}[_0x139045(0x50c)](){return this;}['onRemoteChangeset'](){return this;}[_0x139045(0x4d2)](){return this;}[_0x139045(0x3fa)](){return this;}[_0x139045(0x2ee)](){return this;}[_0x139045(0x4f9)](){return this;}[_0x139045(0x332)](){return this;}[_0x139045(0x610)](){const _0x4f4260=_0x139045;throw new Error(_0x4f4260(0x20a));}[_0x139045(0x41b)](){const _0x518786=_0x139045;this[_0x518786(0x2f2)][_0x518786(0x514)](this['unitID'],this[_0x518786(0x3e2)],null,[]);}['_showConflictNotification'](){const _0x18c5f3=_0x139045;this[_0x18c5f3(0x374)]?this[_0x18c5f3(0x59f)][_0x18c5f3(0x4ef)]({'title':this['_localeService']['t'](_0x18c5f3(0x57c)),'content':this['_localeService']['t'](_0x18c5f3(0x38e)),'type':'error','duration':0x0}):this[_0x18c5f3(0x59f)][_0x18c5f3(0x4ef)]({'title':this[_0x18c5f3(0x630)]['t'](_0x18c5f3(0x4cb)),'content':this[_0x18c5f3(0x630)]['t'](_0x18c5f3(0x222)),'type':_0x18c5f3(0x406),'duration':0x0});}['_disableEditing'](){const _0x14d876=_0x139045;this[_0x14d876(0x42a)][_0x14d876(0x68d)](new _0x292e35[(_0x14d876(0x2fd))](this[_0x14d876(0x4ee)])['id'],!0x1);}};_0x1b145a=_0x4e2ae5([_0x5a1a66(0x6,_0x170db9[_0x139045(0x283)](_0x170db9[_0x139045(0x30a)])),_0x5a1a66(0x7,_0x170db9[_0x139045(0x301)]),_0x5a1a66(0x8,_0x170db9[_0x139045(0x3c1)]),_0x5a1a66(0x9,_0x170db9['Inject'](_0x2ebd39[_0x139045(0x477)])),_0x5a1a66(0xa,_0x170db9['Inject'](_0x294b4b[_0x139045(0x32e)])),_0x5a1a66(0xb,_0x170db9['Inject'](_0x170db9[_0x139045(0x2bc)])),_0x5a1a66(0xc,_0x332830[_0x139045(0x3cc)])],_0x1b145a);let _0x2c1947=class extends _0x1a6bf6{constructor(_0x20ba75,_0x30ee7b,_0xb674ae,_0x1b73cd,_0x5a33e6,_0x573171,_0x5bc65f,_0x38b302,_0x59dbc8,_0x52b33b){const _0x4c64b1=_0x139045;super(_0x20ba75,_0x30ee7b,_0xb674ae,_0x1b73cd,_0x5a33e6,_0x59dbc8,_0x52b33b,_0x5bc65f,_0x38b302),_0xee5085(this,_0x4c64b1(0x5f4),_0x4c64b1(0x272)),this['_injector']=_0x573171;}[_0x139045(0x50c)](_0x16c757){const _0x9dd633=_0x139045;return this['_pendingMutations']['push'](_0x16c757),this[_0x9dd633(0x614)](),this;}[_0x139045(0x487)](_0x20b0af){const _0x44fa29=_0x139045;throw new Error(_0x44fa29(0x6af));}[_0x139045(0x4d2)](){const _0x48ada8=_0x139045;throw new Error(_0x48ada8(0x679));}[_0x139045(0x3fa)](){throw new Error('[OfflineState]:\x20received\x20rejection.');}[_0x139045(0x2ee)](){return this;}[_0x139045(0x4f9)](){return this;}[_0x139045(0x332)](){const _0x167aa7=_0x139045,{_injector:_0x1dddfb,_pendingMutations:_0x5cd4a7,_awaitingChangeset:_0x2d9bde,unitID:_0x4bad3e,_handler:_0x35c4e5,type:_0x12449e}=this,_0x33703d=_0x11c69c(_0x1dddfb,_0x4bad3e,_0x12449e,_0x2d9bde,_0x5cd4a7,_0x35c4e5);return _0x33703d instanceof _0x10407b?_0x33703d[_0x167aa7(0x32d)]():(_0x33703d instanceof _0x1a7cc4||_0x33703d instanceof _0x2da86e)&&_0x33703d[_0x167aa7(0x610)](),_0x33703d;}[_0x139045(0x610)](){const _0x11a825=_0x139045;throw new Error(_0x11a825(0x47e));}};_0x2c1947=_0x4e2ae5([_0x5a1a66(0x5,_0x170db9[_0x139045(0x283)](_0x170db9[_0x139045(0x667)])),_0x5a1a66(0x6,_0x170db9[_0x139045(0x283)](_0x294b4b[_0x139045(0x32e)])),_0x5a1a66(0x7,_0x170db9[_0x139045(0x283)](_0x2ebd39[_0x139045(0x477)])),_0x5a1a66(0x8,_0x170db9['ICommandService']),_0x5a1a66(0x9,_0x170db9['IUndoRedoService'])],_0x2c1947);let _0x4a721f=class extends _0x1a6bf6{constructor(_0x39ae7b,_0x3c1545,_0x63b0cc,_0x49d208,_0x3a1b78,_0x48ff36,_0x5a3937,_0x38186c,_0x3c3862,_0x5f3e8c,_0x234486,_0x385eeb,_0x2d1e44,_0x16a0a2){const _0xf5046=_0x139045;super(_0x39ae7b,_0x3c1545,_0x63b0cc,_0x49d208,_0x5a3937,_0x385eeb,_0x2d1e44,_0x3c3862,_0x5f3e8c),_0xee5085(this,_0xf5046(0x5f4),'fetch_missing'),(this['_acknowledgedAwaitingChangeset']=_0x3a1b78,this[_0xf5046(0x391)]=_0x48ff36,this[_0xf5046(0x43f)]=_0x38186c,this[_0xf5046(0x5b4)]=_0x234486,this[_0xf5046(0x205)]=_0x16a0a2);}[_0x139045(0x3e9)](_0x1bd9d5){const _0x31549a=_0x139045;try{const _0x197086=[..._0x1bd9d5,...this[_0x31549a(0x391)]],_0x520cab=[this[_0x31549a(0x3f3)]||this[_0x31549a(0x3ac)]][_0x31549a(0x296)](_0x241c5c=>!!_0x241c5c);let _0x34f9fd,_0x594c4c;if(_0x520cab[_0x31549a(0x62b)]){const _0x240dbe=this[_0x31549a(0x205)][_0x31549a(0x4bb)](_0x197086,_0x520cab,!0x1);if(!_0x294b4b['isTransformChangesetsSuccess'](_0x240dbe))throw _0x240dbe[_0x31549a(0x406)];_0x34f9fd=_0x240dbe['c1Prime'],_0x594c4c=_0x240dbe['c2Prime'];}else _0x34f9fd=_0x197086,_0x594c4c=[];let _0x4bbd96=this['_pendingMutations'];_0x34f9fd[_0x31549a(0x67e)](_0x77cd15=>{const _0x1b9ba8=_0x31549a;let _0x2853f6;if(_0x4bbd96[_0x1b9ba8(0x62b)]){const _0x3bee66=this['_transformService']['transformMutationsWithChangeset'](_0x77cd15,_0x4bbd96);if(!_0x294b4b[_0x1b9ba8(0x5e3)](_0x3bee66))throw _0x3bee66[_0x1b9ba8(0x406)];_0x2853f6=_0x3bee66['c1Prime'],_0x4bbd96=_0x3bee66[_0x1b9ba8(0x5c3)];}else _0x2853f6=_0x77cd15;this[_0x1b9ba8(0x2ba)](_0x2853f6);}),this[_0x31549a(0x3ac)]&&this[_0x31549a(0x447)](),this['_awaitingChangeset']&&_0x594c4c[_0x31549a(0x62b)]&&(_0x594c4c[0x0][_0x31549a(0x61e)]=this[_0x31549a(0x521)]());let _0xef212f;if(this[_0x31549a(0x3f3)]&&_0x4bbd96[_0x31549a(0x62b)]!==0x0)_0xef212f=this[_0x31549a(0x43f)]['createInstance'](_0x1a7cc4,this['unitID'],this[_0x31549a(0x3e2)],_0x594c4c[0x0],_0x4bbd96,this['_handler'],void 0x0);else{if(this[_0x31549a(0x3f3)]&&_0x4bbd96[_0x31549a(0x62b)]===0x0)_0x594c4c[0x0][_0x31549a(0x61e)]=this['_getCurrentRevision'](),_0xef212f=this[_0x31549a(0x43f)][_0x31549a(0x3f4)](_0x2da86e,this[_0x31549a(0x4ee)],this[_0x31549a(0x3e2)],_0x594c4c[0x0],this[_0x31549a(0x36b)]);else{if(_0x4bbd96[_0x31549a(0x62b)]!==0x0){const _0x422220=this[_0x31549a(0x43f)][_0x31549a(0x3f4)](_0x10407b,this[_0x31549a(0x4ee)],this['type'],_0x4bbd96,this[_0x31549a(0x36b)]);_0x422220[_0x31549a(0x32d)](),_0xef212f=_0x422220;}else _0xef212f=this['_injector'][_0x31549a(0x3f4)](_0x2e5403,this[_0x31549a(0x4ee)],this[_0x31549a(0x3e2)],this[_0x31549a(0x36b)]);}}return _0xef212f[_0x31549a(0x614)](),_0xef212f;}catch(_0xd94f6c){return this[_0x31549a(0x5b4)][_0x31549a(0x406)]('[FetchMissState]',_0x31549a(0x2f1),_0xd94f6c),this[_0x31549a(0x43f)][_0x31549a(0x3f4)](_0x1b145a,this[_0x31549a(0x4ee)],this[_0x31549a(0x3e2)],this[_0x31549a(0x3f3)],this[_0x31549a(0x46f)],this[_0x31549a(0x36b)],!0x1);}}['resend'](){const _0x4595e6=_0x139045;throw new Error(_0x4595e6(0x2dc));}[_0x139045(0x50c)](_0x57b250){const _0xbd9c63=_0x139045;return this[_0xbd9c63(0x46f)]['push'](_0x57b250),this;}[_0x139045(0x487)](_0x306f41){const _0x12db50=_0x139045;return this[_0x12db50(0x391)][_0x12db50(0x2fc)](_0x306f41),this;}[_0x139045(0x4d2)](_0x356581){const _0x1f0a79=_0x139045;if(this[_0x1f0a79(0x3f3)])return this[_0x1f0a79(0x3ac)]=this[_0x1f0a79(0x3f3)],this['_awaitingChangeset']=null,this;throw new Error(_0x1f0a79(0x629));}[_0x139045(0x3fa)](_0x472698){const _0x26d8e2=_0x139045;return this[_0x26d8e2(0x5aa)](!!(_0x472698!=null&&_0x472698[_0x26d8e2(0x417)]));}[_0x139045(0x2ee)](){return this;}[_0x139045(0x4f9)](){const _0x20f161=_0x139045;return this[_0x20f161(0x43f)][_0x20f161(0x3f4)](_0x2c1947,this[_0x20f161(0x4ee)],this[_0x20f161(0x3e2)],this[_0x20f161(0x3f3)],this[_0x20f161(0x46f)],this[_0x20f161(0x36b)]);}[_0x139045(0x332)](){return this;}[_0x139045(0x5aa)](_0x52e97b){const _0xffc803=_0x139045;return this[_0xffc803(0x43f)][_0xffc803(0x3f4)](_0x1b145a,this[_0xffc803(0x4ee)],this[_0xffc803(0x3e2)],this[_0xffc803(0x3f3)],this['_pendingMutations'],this[_0xffc803(0x36b)],_0x52e97b);}};_0x4a721f=_0x4e2ae5([_0x5a1a66(0x7,_0x170db9[_0x139045(0x283)](_0x170db9['Injector'])),_0x5a1a66(0x8,_0x170db9[_0x139045(0x283)](_0x294b4b[_0x139045(0x32e)])),_0x5a1a66(0x9,_0x170db9[_0x139045(0x283)](_0x2ebd39['LocalCacheService'])),_0x5a1a66(0xa,_0x170db9[_0x139045(0x686)]),_0x5a1a66(0xb,_0x170db9[_0x139045(0x301)]),_0x5a1a66(0xc,_0x170db9[_0x139045(0x3c1)]),_0x5a1a66(0xd,_0x294b4b['ITransformService'])],_0x4a721f);function _0x11c69c(_0x37dc87,_0xd614e5,_0xf533e9,_0x41bc17,_0x1e62d4,_0x568ccc){const _0x24b184=_0x139045;return _0x41bc17&&_0x1e62d4['length']?_0x37dc87[_0x24b184(0x3f4)](_0x1a7cc4,_0xd614e5,_0xf533e9,_0x41bc17,_0x1e62d4,_0x568ccc,void 0x0):_0x41bc17?_0x37dc87['createInstance'](_0x2da86e,_0xd614e5,_0xf533e9,_0x41bc17,_0x568ccc):_0x1e62d4[_0x24b184(0x62b)]?_0x37dc87['createInstance'](_0x10407b,_0xd614e5,_0xf533e9,_0x1e62d4,_0x568ccc):_0x37dc87['createInstance'](_0x2e5403,_0xd614e5,_0xf533e9,_0x568ccc);}var _0x16f419=Object['defineProperty'],_0x3a8440=Object[_0x139045(0x264)],_0xbb6082=(_0x266f5b,_0xaff379,_0x222713,_0x3399f5)=>{for(var _0x17130a=_0x3399f5>0x1?void 0x0:_0x3399f5?_0x3a8440(_0xaff379,_0x222713):_0xaff379,_0x553abc=_0x266f5b['length']-0x1,_0x47219b;_0x553abc>=0x0;_0x553abc--)(_0x47219b=_0x266f5b[_0x553abc])&&(_0x17130a=(_0x3399f5?_0x47219b(_0xaff379,_0x222713,_0x17130a):_0x47219b(_0x17130a))||_0x17130a);return _0x3399f5&&_0x17130a&&_0x16f419(_0xaff379,_0x222713,_0x17130a),_0x17130a;},_0x40b905=(_0x4ccce0,_0x68560c)=>(_0x5754e6,_0x5c7711)=>_0x68560c(_0x5754e6,_0x5c7711,_0x4ccce0);_0x2ebd39['CollaborationEntity']=class extends _0x170db9[_0x139045(0x436)]{constructor(_0x201663,_0x1f1906,_0x1ff496,_0x4acad6,_0x19dc3c,_0x431d08,_0x22592d,_0x59d75c,_0x4d30aa,_0x4c54f7,_0xcb9a32,_0x3db61c,_0x99b9dd){const _0x88ff92=_0x139045;super(),_0xee5085(this,_0x88ff92(0x68c),new _0x145930[(_0x88ff92(0x58b))](null)),_0xee5085(this,_0x88ff92(0x463),this['_state$'][_0x88ff92(0x232)]()),_0xee5085(this,'_state'),_0xee5085(this,_0x88ff92(0x45f),!0x1),_0xee5085(this,_0x88ff92(0x4c5),''),_0xee5085(this,_0x88ff92(0x433),0x0),_0xee5085(this,_0x88ff92(0x645),this[_0x88ff92(0x463)][_0x88ff92(0x640)](_0x145930[_0x88ff92(0x33a)](_0xc9758f=>_0xc9758f?_0xc9758f['status']:_0xd10e72[_0x88ff92(0x21d)]),_0x145930[_0x88ff92(0x4e3)](0x1))),_0xee5085(this,_0x88ff92(0x5ae),!0x1),_0xee5085(this,'_remoteChangesetQueue',[]),(this[_0x88ff92(0x4ee)]=_0x201663,this[_0x88ff92(0x5bf)]=_0x1f1906,this[_0x88ff92(0x2b8)]=_0x1ff496,this[_0x88ff92(0x43f)]=_0x4acad6,this['_localCacheService']=_0x19dc3c,this['_compressMutationService']=_0x431d08,this[_0x88ff92(0x630)]=_0x22592d,this['_revisionService']=_0x59d75c,this['_logService']=_0x4d30aa,this[_0x88ff92(0x1fb)]=_0x4c54f7,this[_0x88ff92(0x24b)]=_0xcb9a32,this[_0x88ff92(0x42a)]=_0x3db61c,this[_0x88ff92(0x5a2)]=_0x99b9dd);}get['state'](){return this['_state'];}async[_0x139045(0x4a1)](){const _0x46c3e5=_0x139045;if(this['state'])throw new Error(_0x46c3e5(0x594));await this[_0x46c3e5(0x6b9)]();}[_0x139045(0x262)](){const _0x4f0333=_0x139045;return this['_collaborationPaused']=!0x0,_0x170db9[_0x4f0333(0x3f0)](()=>{const _0x501531=_0x4f0333;this[_0x501531(0x45f)]=!0x1,this[_0x501531(0x392)]();});}[_0x139045(0x556)](_0x5b7a02){const _0x33c13b=_0x139045;this[_0x33c13b(0x6b7)]=_0x5b7a02,this[_0x33c13b(0x68c)]['next'](_0x5b7a02);}async[_0x139045(0x6b9)](){const _0x52a44c=_0x139045;var _0x559882;this['_updateState'](await this[_0x52a44c(0x333)]()),this[_0x52a44c(0x5a2)]&&((_0x559882=this[_0x52a44c(0x5a2)])==null||_0x559882[_0x52a44c(0x3b0)](this[_0x52a44c(0x4ee)]),this[_0x52a44c(0x32f)](this[_0x52a44c(0x5a2)][_0x52a44c(0x233)](this[_0x52a44c(0x4ee)])[_0x52a44c(0x519)](_0x13a72a=>{const _0x282b4b=_0x52a44c;this[_0x282b4b(0x5b4)][_0x282b4b(0x4e1)](_0x282b4b(0x673),_0x282b4b(0x4e4),_0x13a72a),_0x13a72a===_0x3cc845[_0x282b4b(0x670)]?(this['_messageService'][_0x282b4b(0x4ef)]({'content':this[_0x282b4b(0x630)]['t'](_0x282b4b(0x644)),'type':_0x3e1273[_0x282b4b(0x3ae)][_0x282b4b(0x5fa)]}),this[_0x282b4b(0x42a)][_0x282b4b(0x68d)](new _0x292e35[(_0x282b4b(0x2fd))](this[_0x282b4b(0x4ee)])['id'],!0x1),this[_0x282b4b(0x42a)][_0x282b4b(0x5cb)](!0x1)):(this[_0x282b4b(0x42a)][_0x282b4b(0x68d)](new _0x292e35[(_0x282b4b(0x2fd))](this['unitID'])['id'],!0x0),this[_0x282b4b(0x42a)][_0x282b4b(0x5cb)](!0x0));})));let _0x177cab=!0x1;return this[_0x52a44c(0x32f)](this[_0x52a44c(0x5bf)][_0x52a44c(0x26a)][_0x52a44c(0x519)](_0x712918=>{const _0xadbffc=_0x52a44c;_0x712918===_0x3e6c83[_0xadbffc(0x401)]?this['_toggleOnline'](_0x177cab):_0x712918===_0x3e6c83[_0xadbffc(0x21d)]&&(_0x177cab=!0x0,this[_0xadbffc(0x4d1)]());})),this[_0x52a44c(0x32f)](this[_0x52a44c(0x5bf)][_0x52a44c(0x2b6)][_0x52a44c(0x519)](_0x29fe0a=>{const _0x549626=_0x52a44c;try{switch(_0x29fe0a[_0x549626(0x258)]){case _0x294b4b[_0x549626(0x3af)][_0x549626(0x48d)]:{this[_0x549626(0x622)](_0x294b4b[_0x549626(0x47f)](_0x29fe0a[_0x549626(0x3a4)]));break;}case _0x294b4b[_0x549626(0x3af)][_0x549626(0x284)]:{this[_0x549626(0x55c)](_0x29fe0a[_0x549626(0x3a4)]);break;}case _0x294b4b[_0x549626(0x3af)]['CHANGESET_REJ']:{this['_onRemoteRejected']();break;}case _0x294b4b[_0x549626(0x3af)][_0x549626(0x631)]:{this[_0x549626(0x546)](_0x29fe0a['data']);break;}case _0x294b4b['CollaborationEvent']['PSEUDO_FETCH_MISSING_RESULT']:{this[_0x549626(0x24c)](_0x29fe0a['data'][_0x549626(0x50e)][_0x549626(0x33a)](_0xadb344=>_0x294b4b[_0x549626(0x47f)](_0xadb344)));break;}case _0x294b4b[_0x549626(0x3af)][_0x549626(0x62a)]:this[_0x549626(0x3ca)]({'isPermissionRej':!0x0});}}catch(_0x34f4bb){throw console[_0x549626(0x406)]('Error\x20on\x20receiving\x20event',_0x34f4bb),_0x34f4bb;}})),this[_0x52a44c(0x6b7)];}['_unlockTransition'](){const _0x51818e=_0x139045;this[_0x51818e(0x5ae)]=!0x1;}[_0x139045(0x255)](){const _0xd287b6=_0x139045;if(this[_0xd287b6(0x5ae)])throw new Error(_0xd287b6(0x453));this[_0xd287b6(0x5ae)]=!0x0;}[_0x139045(0x55a)](_0x1c3c94){const _0x28386f=_0x139045;this[_0x28386f(0x255)](),this[_0x28386f(0x556)](this['_state']['appendMutation'](_0x1c3c94)),this['_unlockTransition']();}[_0x139045(0x622)](_0x3cd521){const _0x193aa4=_0x139045;if(!(_0x3cd521[_0x193aa4(0x6b1)]<=this[_0x193aa4(0x4d4)]['getCurrentRevOfUnit'](this['unitID']))){if(this[_0x193aa4(0x45f)]){this['_remoteChangesetQueue'][_0x193aa4(0x2fc)](_0x3cd521);return;}this[_0x193aa4(0x2a9)](_0x3cd521);}}[_0x139045(0x392)](){const _0x2d411c=_0x139045;this[_0x2d411c(0x359)]['forEach'](_0x2c35d4=>this[_0x2d411c(0x2a9)](_0x2c35d4)),this[_0x2d411c(0x359)]=[];}[_0x139045(0x2a9)](_0x3fb698){const _0x2c9d86=_0x139045,_0x4175c8=this[_0x2c9d86(0x30b)][_0x2c9d86(0x500)]['fetchThroughInterceptors'](this[_0x2c9d86(0x30b)][_0x2c9d86(0x500)]['getInterceptPoints']()[_0x2c9d86(0x616)])(_0x3fb698[_0x2c9d86(0x29f)],null)||_0x3fb698[_0x2c9d86(0x29f)],_0x3859d6={..._0x3fb698,'mutations':_0x4175c8};this[_0x2c9d86(0x255)](),this[_0x2c9d86(0x556)](this['_state']['onRemoteChangeset'](_0x3859d6)),this['_unlockTransition']();}[_0x139045(0x55c)](_0x4b06b4){const _0x33c92c=_0x139045;this['_lockTransition'](),this['_updateState'](this[_0x33c92c(0x6b7)]['onRemoteAck'](_0x4b06b4)),this['_unlockTransition']();}['_onRemoteRejected'](_0x3676cc){const _0x13e0fe=_0x139045;this['_lockTransition'](),this[_0x13e0fe(0x556)](this[_0x13e0fe(0x6b7)][_0x13e0fe(0x3fa)](_0x3676cc)),this[_0x13e0fe(0x45c)]();}[_0x139045(0x546)](_0x25b399){const _0x29e8a5=_0x139045;this[_0x29e8a5(0x255)](),this['_updateState'](this['_state'][_0x29e8a5(0x2ee)](_0x25b399)),this[_0x29e8a5(0x45c)]();}[_0x139045(0x24c)](_0x5d5cbd){const _0x2b3d77=_0x139045;if(!(this[_0x2b3d77(0x6b7)]instanceof _0x4a721f))throw new TypeError('[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!');const _0x24c0c6=_0x5d5cbd[_0x2b3d77(0x33a)](_0x365792=>{const _0xeea4f8=_0x2b3d77,_0x2d1f68=this['_compressMutationService'][_0xeea4f8(0x500)][_0xeea4f8(0x2c7)](this[_0xeea4f8(0x30b)][_0xeea4f8(0x500)][_0xeea4f8(0x27b)]()[_0xeea4f8(0x616)])(_0x365792[_0xeea4f8(0x29f)],null)||_0x365792[_0xeea4f8(0x29f)];return{..._0x365792,'mutations':_0x2d1f68};});this[_0x2b3d77(0x255)](),this['_updateState'](this['_state'][_0x2b3d77(0x3e9)](_0x24c0c6)),this['_unlockTransition']();}[_0x139045(0x4d1)](){const _0x5c3cf7=_0x139045;this[_0x5c3cf7(0x255)](),this['_updateState'](this['_state']['toggleOffline']()),this[_0x5c3cf7(0x45c)]();}[_0x139045(0x236)](_0x3758cb=!0x1){const _0x3b2f31=_0x139045;this['_lockTransition'](),this[_0x3b2f31(0x556)](this[_0x3b2f31(0x6b7)]['toggleOnline']()),this[_0x3b2f31(0x45c)]();const _0x5a97fc=this['_state'];_0x3758cb&&_0x5a97fc instanceof _0x2e5403&&(this[_0x3b2f31(0x255)](),this[_0x3b2f31(0x556)](_0x5a97fc['fetchMiss']()),this[_0x3b2f31(0x45c)]());}async['_createInitialState'](){return new Promise(_0x296aa8=>{const _0x29b9f1=_0x10db;this['session'][_0x29b9f1(0x26a)][_0x29b9f1(0x640)](_0x145930[_0x29b9f1(0x207)](0x1))[_0x29b9f1(0x519)](async _0x142c5e=>{const _0x13a2e0=_0x29b9f1;_0x296aa8(await this[_0x13a2e0(0x588)](_0x142c5e===_0x3e6c83[_0x13a2e0(0x401)]));});});}['_createHandler'](){const _0x556b4d=_0x139045,_0x11c0f0=this[_0x556b4d(0x4ee)];return{'onStateChange':(_0x294dc4,_0x21ee12)=>{const _0x19be29=_0x556b4d;if(_0x294dc4!==this['_state'])throw new Error('[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20'+_0x294dc4[_0x19be29(0x5f4)]+'\x0aAfter:\x20'+_0x21ee12[_0x19be29(0x5f4)]+_0x19be29(0x5a9)+this[_0x19be29(0x6b7)][_0x19be29(0x5f4)]);this['_updateState'](_0x21ee12);},'onSendChangeset':_0x47f906=>{const _0x7f0311=_0x556b4d;_0x47f906[_0x7f0311(0x4ba)]||(_0x47f906['sid']=this[_0x7f0311(0x4c5)],_0x47f906['reqId']=++this[_0x7f0311(0x433)]);const _0x1dfa95={'eventID':_0x294b4b[_0x7f0311(0x3af)][_0x7f0311(0x46e)],'data':{'unitID':_0x47f906[_0x7f0311(0x4ee)],'unitType':this[_0x7f0311(0x2b8)],'changeset':_0x47f906,'memberID':this[_0x7f0311(0x5bf)]['getMemberID']()}};this[_0x7f0311(0x5bf)][_0x7f0311(0x53e)](_0x1dfa95,this[_0x7f0311(0x4ee)]);},'onMissingChangesets':({from:_0x1f4471,to:_0x2b37f4})=>{const _0x59d091=_0x556b4d;this['_logService']['debug']('[CollaborationEntity]',_0x59d091(0x4db)+_0x1f4471+_0x59d091(0x3b3)+_0x2b37f4);const _0x504758={'eventID':_0x294b4b[_0x59d091(0x3af)]['FETCH_MISSING'],'data':{'unitID':_0x11c0f0,'unitType':this[_0x59d091(0x2b8)],'from':_0x1f4471,'to':_0x2b37f4}};this[_0x59d091(0x5bf)][_0x59d091(0x53e)](_0x504758,this[_0x59d091(0x4ee)]);}};}async[_0x139045(0x588)](_0x4aec26){const _0x205951=_0x139045;var _0x328de2,_0x464f1d;const _0x3fac10=await this[_0x205951(0x2f2)][_0x205951(0x3e0)](this[_0x205951(0x4ee)]),_0x1d33e1=(_0x328de2=_0x3fac10==null?void 0x0:_0x3fac10[_0x205951(0x29f)])!=null?_0x328de2:[],_0x3fd251=(_0x464f1d=_0x3fac10==null?void 0x0:_0x3fac10['awaitingChangeset'])!=null?_0x464f1d:null,_0x44a78f=!!(_0x3fd251!=null&&_0x3fd251[_0x205951(0x4ba)])&&!!(_0x3fd251!=null&&_0x3fd251[_0x205951(0x334)]);this['_changesetSessionId']=_0x44a78f?_0x3fd251[_0x205951(0x4ba)]:_0x3e229c(),this[_0x205951(0x433)]=_0x44a78f?_0x3fd251[_0x205951(0x334)]:0x0;const _0x2a2ffa=this[_0x205951(0x4ee)];try{this[_0x205951(0x308)](_0x3fd251,_0x1d33e1);}catch(_0x4b69e0){this[_0x205951(0x5b4)][_0x205951(0x406)](_0x4b69e0);}const _0x356a87=this['_createHandler']();if(_0x4aec26){const _0x1e40a8=_0x11c69c(this[_0x205951(0x43f)],_0x2a2ffa,this[_0x205951(0x2b8)],_0x3fd251,_0x1d33e1,_0x356a87);return _0x1e40a8 instanceof _0x10407b?_0x1e40a8['_schedule']():(_0x1e40a8 instanceof _0x1a7cc4||_0x1e40a8 instanceof _0x2da86e)&&_0x1e40a8[_0x205951(0x610)](),_0x1e40a8;}return this[_0x205951(0x43f)]['createInstance'](_0x2c1947,_0x2a2ffa,this['_type'],_0x3fd251,_0x1d33e1,_0x356a87);}[_0x139045(0x308)](_0xd3895f,_0x3383d3){const _0x42a5e1=_0x139045;var _0x565f3c,_0x27fa95;const _0x4f3c52=this[_0x42a5e1(0x30b)][_0x42a5e1(0x500)]['fetchThroughInterceptors'](this[_0x42a5e1(0x30b)][_0x42a5e1(0x500)]['getInterceptPoints']()['COMPRESS_MUTATION_APPLY']);(_0x565f3c=_0x4f3c52((_0xd3895f==null?void 0x0:_0xd3895f[_0x42a5e1(0x29f)])||[],null))==null||_0x565f3c[_0x42a5e1(0x67e)](_0x48c929=>this[_0x42a5e1(0x1fb)][_0x42a5e1(0x3c3)](_0x48c929['id'],_0x48c929[_0x42a5e1(0x674)])),(_0x27fa95=_0x4f3c52(_0x3383d3||[],null))==null||_0x27fa95[_0x42a5e1(0x67e)](_0xa6099e=>this[_0x42a5e1(0x1fb)][_0x42a5e1(0x3c3)](_0xa6099e['id'],_0xa6099e[_0x42a5e1(0x674)]));}},_0x2ebd39['CollaborationEntity']=_0xbb6082([_0x40b905(0x3,_0x170db9[_0x139045(0x283)](_0x170db9[_0x139045(0x667)])),_0x40b905(0x4,_0x170db9[_0x139045(0x283)](_0x2ebd39[_0x139045(0x477)])),_0x40b905(0x5,_0x170db9[_0x139045(0x283)](_0x294b4b[_0x139045(0x46d)])),_0x40b905(0x6,_0x170db9[_0x139045(0x283)](_0x170db9['LocaleService'])),_0x40b905(0x7,_0x170db9['Inject'](_0x294b4b['RevisionService'])),_0x40b905(0x8,_0x170db9[_0x139045(0x686)]),_0x40b905(0x9,_0x170db9[_0x139045(0x301)]),_0x40b905(0xa,_0x332830[_0x139045(0x37a)]),_0x40b905(0xb,_0x170db9[_0x139045(0x30a)]),_0x40b905(0xc,_0x170db9[_0x139045(0x635)](_0x2410a4))],_0x2ebd39['CollaborationEntity']),_0x2ebd39['DocCollaborationEntity']=class extends _0x2ebd39[_0x139045(0x4a7)]{constructor(_0x181277,_0x34bc03,_0x12cb3e,_0x59206b,_0x81ee23,_0x49870d,_0x3aeddb,_0x112d99,_0x2ac291,_0x37dd3b,_0x2e58db,_0x2cd054,_0x19e6b9,_0x2e45fd,_0x1f18ab,_0x29c80c,_0x12c0bb,_0xe780d5){const _0x85a719=_0x139045;super(_0x181277,_0x12cb3e,_0x34bc03,_0x59206b,_0x81ee23,_0x49870d,_0x3aeddb,_0x112d99,_0x2e45fd,_0x1f18ab,_0x29c80c,_0x12c0bb,_0xe780d5),this['unitID']=_0x181277,this[_0x85a719(0x3e2)]=_0x34bc03,this['_docStateChangeManagerService']=_0x2ac291,this['_docTransformIMECacheService']=_0x37dd3b,this[_0x85a719(0x5e1)]=_0x2e58db,this[_0x85a719(0x396)]=_0x2cd054,this[_0x85a719(0x33c)]=_0x19e6b9;}['_createHandler'](){const _0x24ab8c=_0x139045,_0x33b67f=super[_0x24ab8c(0x3f8)]();return _0x33b67f[_0x24ab8c(0x4b0)]=_0x15801e=>this['_docTransformIMECacheService'][_0x24ab8c(0x3fe)](_0x15801e),_0x33b67f['onTransformState']=_0xde34c0=>this[_0x24ab8c(0x5e1)][_0x24ab8c(0x343)](_0xde34c0),_0x33b67f['onTransformSelections']=_0x387594=>this[_0x24ab8c(0x396)]['transformSelections'](_0x387594),_0x33b67f[_0x24ab8c(0x52f)]=_0x467233=>this[_0x24ab8c(0x33c)][_0x24ab8c(0x499)](_0x467233),_0x33b67f[_0x24ab8c(0x4a8)]=_0x5e157d=>this[_0x24ab8c(0x369)][_0x24ab8c(0x2e6)](_0x5e157d),_0x33b67f['onTransformRemoteChangesetByStateCache']=_0x23550a=>this['_docTransformStateCacheService'][_0x24ab8c(0x2e6)](_0x23550a),_0x33b67f;}async[_0x139045(0x6b9)](){const _0x5a020e=_0x139045,_0x4b0f72=await super[_0x5a020e(0x6b9)]();return this['_docStateChangeManagerService'][_0x5a020e(0x226)][_0x5a020e(0x640)](_0x145930[_0x5a020e(0x28b)](this[_0x5a020e(0x67f)]))[_0x5a020e(0x519)](_0x984075=>{const _0x4a12b8=_0x5a020e;if(_0x984075==null)return;const {unitId:_0x2f7ac9,redoState:_0x26e839,commandId:_0xad639f}=_0x984075;if(_0x2f7ac9!==this[_0x4a12b8(0x4ee)])return;const _0x1ec88d={'id':_0xad639f,'type':_0x170db9[_0x4a12b8(0x691)][_0x4a12b8(0x49b)],'params':{'unitId':_0x2f7ac9,'actions':_0x26e839[_0x4a12b8(0x4c3)],'textRanges':null}};this['_onLocalMutation'](_0x1ec88d);}),_0x4b0f72;}},_0x2ebd39[_0x139045(0x62f)]=_0xbb6082([_0x40b905(0x3,_0x170db9[_0x139045(0x283)](_0x170db9[_0x139045(0x667)])),_0x40b905(0x4,_0x170db9[_0x139045(0x283)](_0x2ebd39[_0x139045(0x477)])),_0x40b905(0x5,_0x170db9['Inject'](_0x294b4b[_0x139045(0x46d)])),_0x40b905(0x6,_0x170db9[_0x139045(0x283)](_0x170db9[_0x139045(0x2bc)])),_0x40b905(0x7,_0x170db9['Inject'](_0x294b4b[_0x139045(0x32e)])),_0x40b905(0x8,_0x170db9[_0x139045(0x283)](_0x5a2d39[_0x139045(0x219)])),_0x40b905(0x9,_0x170db9['Inject'](_0x52392c)),_0x40b905(0xa,_0x170db9[_0x139045(0x283)](_0x374887)),_0x40b905(0xb,_0x170db9['Inject'](_0x5009b3)),_0x40b905(0xc,_0x170db9['Inject'](_0x4a72d6)),_0x40b905(0xd,_0x170db9[_0x139045(0x686)]),_0x40b905(0xe,_0x170db9['ICommandService']),_0x40b905(0xf,_0x332830[_0x139045(0x37a)]),_0x40b905(0x10,_0x170db9[_0x139045(0x30a)]),_0x40b905(0x11,_0x170db9['Optional'](_0x2410a4))],_0x2ebd39[_0x139045(0x62f)]),_0x2ebd39['SheetCollaborationEntity']=class extends _0x2ebd39[_0x139045(0x4a7)]{constructor(_0x8a5363,_0x11c894,_0x33004e,_0x5d0f21,_0x3ad5dc,_0x4c8c51,_0xc4f39a,_0x59a259,_0x1c20a7,_0xf3ace1,_0x4d05b0,_0xa77ee,_0x5a400f,_0x1941e3){const _0x33ee18=_0x139045;super(_0x8a5363,_0x33004e,_0x11c894,_0x5d0f21,_0x3ad5dc,_0x4c8c51,_0xc4f39a,_0x59a259,_0xf3ace1,_0x4d05b0,_0xa77ee,_0x5a400f,_0x1941e3),this['unitID']=_0x8a5363,this[_0x33ee18(0x3e2)]=_0x11c894,this['_sheetTransformSelectionsService']=_0x1c20a7;}['_createHandler'](){const _0x222533=_0x139045,_0x2d6a2a=super[_0x222533(0x3f8)]();return _0x2d6a2a['onTransformSelections']=_0xf2a285=>this['_sheetTransformSelectionsService'][_0x222533(0x5ab)](_0xf2a285),_0x2d6a2a;}async[_0x139045(0x6b9)](){const _0xbbdea5=_0x139045,_0x105f67=await super['_init']();return this['disposeWithMe'](this['_commandService'][_0xbbdea5(0x1f7)]((_0x3ddc89,_0x4bb789)=>{const _0x573721=_0xbbdea5;if(_0x3ddc89[_0x573721(0x3e2)]!==_0x170db9[_0x573721(0x691)]['MUTATION']||_0x4bb789!=null&&_0x4bb789[_0x573721(0x371)]||_0x4bb789!=null&&_0x4bb789['onlyLocal'])return;const _0x17c907=_0x3ddc89[_0x573721(0x674)];if((_0x17c907==null?void 0x0:_0x17c907[_0x573721(0x680)])!==this['unitID'])return;const _0x1b87f2=_0x3ddc89,_0x1e515b=this['_compressMutationService'][_0x573721(0x500)][_0x573721(0x2c7)](this[_0x573721(0x30b)][_0x573721(0x500)]['getInterceptPoints']()['COMPRESS_MUTATION_SEND'])([_0x1b87f2],null)||[_0x1b87f2];this[_0x573721(0x55a)](_0x1e515b[0x0]);})),_0x105f67;}},_0x2ebd39['SheetCollaborationEntity']=_0xbb6082([_0x40b905(0x3,_0x170db9['Inject'](_0x170db9[_0x139045(0x667)])),_0x40b905(0x4,_0x170db9[_0x139045(0x283)](_0x2ebd39['LocalCacheService'])),_0x40b905(0x5,_0x170db9['Inject'](_0x294b4b[_0x139045(0x46d)])),_0x40b905(0x6,_0x170db9['Inject'](_0x170db9[_0x139045(0x2bc)])),_0x40b905(0x7,_0x170db9[_0x139045(0x283)](_0x294b4b[_0x139045(0x32e)])),_0x40b905(0x8,_0x170db9['Inject'](_0x910a13)),_0x40b905(0x9,_0x170db9[_0x139045(0x686)]),_0x40b905(0xa,_0x170db9[_0x139045(0x301)]),_0x40b905(0xb,_0x332830[_0x139045(0x37a)]),_0x40b905(0xc,_0x170db9['IPermissionService']),_0x40b905(0xd,_0x170db9[_0x139045(0x635)](_0x2410a4))],_0x2ebd39['SheetCollaborationEntity']);var _0x291ea9=Object[_0x139045(0x620)],_0x3a97c9=Object['getOwnPropertyDescriptor'],_0x3a78ce=(_0x8470cc,_0x10e86d,_0x315b61,_0x4fe840)=>{const _0x6ae626=_0x139045;for(var _0x13eb14=_0x4fe840>0x1?void 0x0:_0x4fe840?_0x3a97c9(_0x10e86d,_0x315b61):_0x10e86d,_0xa78282=_0x8470cc[_0x6ae626(0x62b)]-0x1,_0x3c9fb8;_0xa78282>=0x0;_0xa78282--)(_0x3c9fb8=_0x8470cc[_0xa78282])&&(_0x13eb14=(_0x4fe840?_0x3c9fb8(_0x10e86d,_0x315b61,_0x13eb14):_0x3c9fb8(_0x13eb14))||_0x13eb14);return _0x4fe840&&_0x13eb14&&_0x291ea9(_0x10e86d,_0x315b61,_0x13eb14),_0x13eb14;},_0x523b02=(_0x16f41d,_0x4be544)=>(_0xd57959,_0x8b5733)=>_0x4be544(_0xd57959,_0x8b5733,_0x16f41d);_0x2ebd39[_0x139045(0x312)]=class extends _0x170db9[_0x139045(0x436)]{constructor(_0x302466,_0xa6c647,_0x1efbc4){const _0x1633aa=_0x139045;super(),_0xee5085(this,_0x1633aa(0x404),new Map()),_0xee5085(this,_0x1633aa(0x28a),new _0x145930[(_0x1633aa(0x3ab))]()),(this[_0x1633aa(0x43f)]=_0x302466,this['_collabSessionService']=_0xa6c647,this['_univerInstanceService']=_0x1efbc4,this[_0x1633aa(0x6b9)]());}[_0x139045(0x33b)](){const _0x408a4a=_0x139045;super[_0x408a4a(0x33b)](),this[_0x408a4a(0x404)][_0x408a4a(0x67e)](_0x15c53f=>_0x15c53f['dispose']()),this['_entities'][_0x408a4a(0x28f)]();}[_0x139045(0x415)](_0x285af3){const _0x54a58f=_0x139045;var _0x38206a;return(_0x38206a=this[_0x54a58f(0x404)][_0x54a58f(0x51c)](_0x285af3))!=null?_0x38206a:null;}[_0x139045(0x2b7)](_0x3cc66b){const _0x579103=_0x139045,_0x2c30f6=this[_0x579103(0x415)](_0x3cc66b);return _0x2c30f6?_0x145930['of'](_0x2c30f6):this[_0x579103(0x28a)][_0x579103(0x640)](_0x34e4e3['filter'](_0x46832a=>_0x46832a[_0x579103(0x4ee)]===_0x3cc66b));}[_0x139045(0x6b9)](){const _0xd0eb4a=_0x139045;this['_univerInstanceService'][_0xd0eb4a(0x4c6)](_0x170db9[_0xd0eb4a(0x320)]['UNIVER_SHEET'])[_0xd0eb4a(0x640)](_0x145930['takeUntil'](this[_0xd0eb4a(0x67f)]),_0x34e4e3[_0xd0eb4a(0x223)](0x10))[_0xd0eb4a(0x519)](async _0x3a09bd=>{const _0x1c2f4a=_0xd0eb4a,_0x3f677f=_0x3a09bd['getUnitId'](),_0x1dac56=await this[_0x1c2f4a(0x318)](_0x3f677f,_0x5950ae[_0x1c2f4a(0x696)]);this[_0x1c2f4a(0x404)][_0x1c2f4a(0x3fd)](_0x3f677f,_0x1dac56);}),this[_0xd0eb4a(0x230)]['getTypeOfUnitAdded$'](_0x170db9[_0xd0eb4a(0x320)][_0xd0eb4a(0x4ca)])['pipe'](_0x145930[_0xd0eb4a(0x28b)](this[_0xd0eb4a(0x67f)]),_0x34e4e3[_0xd0eb4a(0x223)](0x10))[_0xd0eb4a(0x640)](_0x34e4e3[_0xd0eb4a(0x296)](_0x21f42c=>!_0x21f42c[_0xd0eb4a(0x238)]()[_0xd0eb4a(0x364)]('__')))['subscribe'](async _0x2164f3=>{const _0x5eeeed=_0xd0eb4a,_0x475905=_0x2164f3[_0x5eeeed(0x238)](),_0x28c092=await this[_0x5eeeed(0x318)](_0x475905,_0x5950ae[_0x5eeeed(0x4ca)]);this[_0x5eeeed(0x404)][_0x5eeeed(0x3fd)](_0x475905,_0x28c092);}),_0x145930[_0xd0eb4a(0x5ea)](this[_0xd0eb4a(0x230)][_0xd0eb4a(0x600)](_0x170db9[_0xd0eb4a(0x320)][_0xd0eb4a(0x696)]),this[_0xd0eb4a(0x230)][_0xd0eb4a(0x600)](_0x170db9[_0xd0eb4a(0x320)][_0xd0eb4a(0x4ca)]))[_0xd0eb4a(0x640)](_0x145930[_0xd0eb4a(0x28b)](this[_0xd0eb4a(0x67f)]))[_0xd0eb4a(0x519)](_0x1496e9=>{const _0x12c542=_0xd0eb4a,_0x1dc5ca=_0x1496e9[_0x12c542(0x238)](),_0x436813=this[_0x12c542(0x404)][_0x12c542(0x51c)](_0x1dc5ca);_0x436813&&(_0x436813[_0x12c542(0x33b)](),this[_0x12c542(0x404)][_0x12c542(0x5bd)](_0x1dc5ca));});}async['_startCollaboration'](_0x30a5d4,_0x48c58d){const _0x33e99a=_0x139045,_0x26fa87=await this['_collabSessionService'][_0x33e99a(0x2f8)](_0x30a5d4),_0x368a0b=this[_0x33e99a(0x43f)][_0x33e99a(0x3f4)](this['_getCtorByUniverType'](_0x48c58d),_0x30a5d4,_0x48c58d,_0x26fa87);return await _0x368a0b[_0x33e99a(0x4a1)](),this[_0x33e99a(0x28a)][_0x33e99a(0x4ed)](_0x368a0b),_0x368a0b;}[_0x139045(0x35f)](_0x49bb95){const _0xd70007=_0x139045;switch(_0x49bb95){case _0x5950ae[_0xd70007(0x4ca)]:return _0x2ebd39['DocCollaborationEntity'];case _0x5950ae[_0xd70007(0x696)]:return _0x2ebd39[_0xd70007(0x4c4)];default:throw new Error(_0xd70007(0x54c)+_0x49bb95);}}},_0x2ebd39[_0x139045(0x312)]=_0x3a78ce([_0x523b02(0x0,_0x170db9[_0x139045(0x283)](_0x170db9[_0x139045(0x667)])),_0x523b02(0x1,_0x170db9[_0x139045(0x283)](_0x2ebd39['CollaborationSessionService'])),_0x523b02(0x2,_0x170db9[_0x139045(0x22f)])],_0x2ebd39[_0x139045(0x312)]);const _0x20c6e4=['purple300','jiqing500','verdancy600',_0x139045(0x403),_0x139045(0x269),_0x139045(0x62e)];class _0x14d354 extends _0x170db9[_0x139045(0x399)]{constructor(){super(...arguments),_0xee5085(this,'_assignedColors',new Map()),_0xee5085(this,'_colorIndex',0x0);}[_0x139045(0x61d)](_0x5d54d3){const _0x438d01=_0x139045;if(this['_assignedColors']['has'](_0x5d54d3))return this['_assignedColors'][_0x438d01(0x51c)](_0x5d54d3);const _0x588dc5=_0x20c6e4[this[_0x438d01(0x25f)]];return this[_0x438d01(0x25f)]=(this[_0x438d01(0x25f)]+0x1)%_0x20c6e4['length'],this[_0x438d01(0x605)][_0x438d01(0x3fd)](_0x5d54d3,_0x588dc5),_0x588dc5;}}var _0x4e27a0=Object[_0x139045(0x620)],_0x3a7022=Object[_0x139045(0x264)],_0x3d4b0d=(_0x2e1b7f,_0x1d8cc2,_0x597a92,_0x559632)=>{const _0x5e2773=_0x139045;for(var _0xd41fe0=_0x559632>0x1?void 0x0:_0x559632?_0x3a7022(_0x1d8cc2,_0x597a92):_0x1d8cc2,_0x242012=_0x2e1b7f[_0x5e2773(0x62b)]-0x1,_0x693c16;_0x242012>=0x0;_0x242012--)(_0x693c16=_0x2e1b7f[_0x242012])&&(_0xd41fe0=(_0x559632?_0x693c16(_0x1d8cc2,_0x597a92,_0xd41fe0):_0x693c16(_0xd41fe0))||_0xd41fe0);return _0x559632&&_0xd41fe0&&_0x4e27a0(_0x1d8cc2,_0x597a92,_0xd41fe0),_0xd41fe0;},_0x4f55d9=(_0x5e3cb9,_0xac2ade)=>(_0x22eb43,_0x2147b8)=>_0xac2ade(_0x22eb43,_0x2147b8,_0x5e3cb9);const _0x59e0cf=0x12c,_0x425eac=0x64;let _0x51c046=class extends _0x170db9[_0x139045(0x436)]{constructor(_0x5570f3,_0x15ec49,_0x4c7df6,_0x4fdd11,_0x51eea4,_0x28a49e,_0x416dff,_0x5aa59c,_0xa86ee4){const _0x451fdf=_0x139045;super(),_0xee5085(this,_0x451fdf(0x64b),!0x1),_0xee5085(this,_0x451fdf(0x6b9),!0x1),_0xee5085(this,_0x451fdf(0x24d),new _0x145930[(_0x451fdf(0x58b))](new Map())),_0xee5085(this,_0x451fdf(0x383),this[_0x451fdf(0x24d)][_0x451fdf(0x232)]()),_0xee5085(this,_0x451fdf(0x496),new _0x145930[(_0x451fdf(0x58b))]([])),_0xee5085(this,_0x451fdf(0x3ad),this[_0x451fdf(0x496)][_0x451fdf(0x640)](_0x145930['debounceTime'](_0x59e0cf))),_0xee5085(this,'_updateLocalCursor',_0x170db9[_0x451fdf(0x557)](_0x3cf153=>{const _0x2587d9=_0x451fdf,_0x47f2fa={'eventID':_0x294b4b[_0x2587d9(0x3af)][_0x2587d9(0x2a5)],'data':{'unitID':this[_0x2587d9(0x4ee)],'memberID':this[_0x2587d9(0x54f)]['getMemberID'](),'selection':_0x33331f(_0x3cf153)}};this[_0x2587d9(0x54f)][_0x2587d9(0x53e)](_0x47f2fa,this['unitID']);},_0x425eac)),(this[_0x451fdf(0x4ee)]=_0x5570f3,this[_0x451fdf(0x54f)]=_0x15ec49,this['_injector']=_0x4c7df6,this[_0x451fdf(0x2ef)]=_0x4fdd11,this[_0x451fdf(0x57e)]=_0x51eea4,this['_syncEditingCollabCursorService']=_0x28a49e,this[_0x451fdf(0x205)]=_0x416dff,this['_univerInstanceService']=_0x5aa59c,this['_commandService']=_0xa86ee4);}get[_0x139045(0x536)](){const _0x45741e=_0x139045;return this[_0x45741e(0x24d)][_0x45741e(0x5c7)]();}get[_0x139045(0x68e)](){const _0x2b6541=_0x139045;return this[_0x2b6541(0x496)]['getValue']();}['dispose'](){const _0x41fea0=_0x139045;super[_0x41fea0(0x33b)](),this[_0x41fea0(0x24d)][_0x41fea0(0x4ed)](new Map()),this[_0x41fea0(0x24d)][_0x41fea0(0x3d7)](),this[_0x41fea0(0x496)][_0x41fea0(0x4ed)]([]),this[_0x41fea0(0x496)][_0x41fea0(0x3d7)]();}['init'](){const _0x36593c=_0x139045;this['_init']||(this['_init']=!0x0,this[_0x36593c(0x54f)]['sessionStatus$'][_0x36593c(0x640)](_0x145930[_0x36593c(0x28b)](this[_0x36593c(0x67f)]))['subscribe'](_0xc4f56c=>{const _0x39459b=_0x36593c;_0xc4f56c===_0x3e6c83[_0x39459b(0x401)]?this[_0x39459b(0x236)]():this[_0x39459b(0x4d1)]();}),this[_0x36593c(0x54f)][_0x36593c(0x2b6)][_0x36593c(0x640)](_0x145930[_0x36593c(0x28b)](this[_0x36593c(0x67f)]))[_0x36593c(0x519)](_0x51044a=>{const _0xaded99=_0x36593c,_0x4a6ec6=_0x51044a['eventID'];_0x4a6ec6===_0x294b4b[_0xaded99(0x3af)][_0xaded99(0x2a5)]&&this[_0xaded99(0x621)](_0x51044a),_0x4a6ec6===_0x294b4b['CollaborationEvent'][_0xaded99(0x4c8)]&&this[_0xaded99(0x23c)](_0x51044a);}),this[_0x36593c(0x32f)](this[_0x36593c(0x1fb)][_0x36593c(0x1f7)](_0x3cc1c3=>{const _0x488bb7=_0x36593c,_0x3452de=_0x3cc1c3[_0x488bb7(0x674)];_0x3452de!=null&&this[_0x488bb7(0x64b)]&&_0x3cc1c3['id']===_0x2bd9e1[_0x488bb7(0x555)]['id']&&_0x3452de[_0x488bb7(0x680)]===this[_0x488bb7(0x4ee)]&&_0x3452de[_0x488bb7(0x5ca)]===!0x1&&_0x3452de[_0x488bb7(0x294)][_0x488bb7(0x62b)]>0x0&&this[_0x488bb7(0x66c)](_0x3452de[_0x488bb7(0x294)]);})),this[_0x36593c(0x664)][_0x36593c(0x256)][_0x36593c(0x640)](_0x145930[_0x36593c(0x28b)](this[_0x36593c(0x67f)]))[_0x36593c(0x519)](_0x54c65c=>{const _0x871ceb=_0x36593c;if((_0x54c65c==null?void 0x0:_0x54c65c[_0x871ceb(0x4ee)])!==this[_0x871ceb(0x4ee)])return;const _0x187ece={'eventID':_0x294b4b[_0x871ceb(0x3af)][_0x871ceb(0x2a5)],'data':_0x54c65c};this[_0x871ceb(0x621)](_0x187ece);}),this[_0x36593c(0x32f)](this[_0x36593c(0x1fb)]['onCommandExecuted'](_0x4850a2=>{const _0x5daa0b=_0x36593c;if(_0x4850a2[_0x5daa0b(0x674)]==null)return;const _0x9c3a67=_0x4850a2[_0x5daa0b(0x674)];if(_0x4850a2['id']!==_0x2bd9e1[_0x5daa0b(0x498)]['id']||_0x9c3a67[_0x5daa0b(0x680)]!==this[_0x5daa0b(0x4ee)])return;const _0x1cbab0={'id':_0x5daa0b(0x3c5),'params':_0x9c3a67},_0x24a005=this[_0x5daa0b(0x536)];for(const [_0x57b5e6,_0x118c76]of _0x24a005){const _0x467a8d={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0x5daa0b(0x4ee)],'actions':null,'textRanges':_0x118c76[_0x5daa0b(0x294)]}},_0x57053d=this[_0x5daa0b(0x205)][_0x5daa0b(0x341)](_0x1cbab0,_0x467a8d,!0x1);if(_0x294b4b[_0x5daa0b(0x3f1)](_0x57053d))throw _0x57053d[_0x5daa0b(0x406)];_0x24a005[_0x5daa0b(0x3fd)](_0x57b5e6,{..._0x118c76,'ranges':_0x57053d[_0x5daa0b(0x5c3)][_0x5daa0b(0x674)]['textRanges']});}queueMicrotask(()=>{const _0x31e07e=_0x5daa0b;this[_0x31e07e(0x24d)][_0x31e07e(0x4ed)](_0x24a005);});})));}['_onCursorUpdate'](_0x3fc571){const _0x39c62a=_0x139045;var _0x2bde19,_0x386e70;const {memberID:_0x4652c3,selection:_0x3e860b}=_0x3fc571['data'],_0x10eb73=_0x56179c(_0x3e860b),_0x1178cf=(_0x386e70=(_0x2bde19=this[_0x39c62a(0x57e)][_0x39c62a(0x441)](this[_0x39c62a(0x4ee)],_0x4652c3))==null?void 0x0:_0x2bde19[_0x39c62a(0x566)])!=null?_0x386e70:_0x39c62a(0x23d),_0xa1a75e={'color':this[_0x39c62a(0x2ef)][_0x39c62a(0x61d)](_0x4652c3),'name':_0x1178cf,'ranges':_0x10eb73},_0x216520=this[_0x39c62a(0x536)];_0x216520[_0x39c62a(0x3fd)](_0x4652c3,_0xa1a75e),this['_cursorInfo$'][_0x39c62a(0x4ed)](_0x216520);}[_0x139045(0x23c)](_0x1e2ca9){const _0x12eb87=_0x139045,{memberID:_0x1f4b5d}=_0x1e2ca9[_0x12eb87(0x3a4)],_0x43bcfa=this[_0x12eb87(0x536)];_0x43bcfa['delete'](_0x1f4b5d),this['_cursorInfo$'][_0x12eb87(0x4ed)](_0x43bcfa);}[_0x139045(0x236)](){const _0x1258c8=_0x139045;var _0x432c22;if(this[_0x1258c8(0x64b)]=!0x0,((_0x432c22=this[_0x1258c8(0x230)]['getFocusedUnit']())==null?void 0x0:_0x432c22[_0x1258c8(0x238)]())!==this[_0x1258c8(0x4ee)])return;const _0x1e5b94=this[_0x1258c8(0x43f)][_0x1258c8(0x51c)](_0x2bd9e1['DocSelectionManagerService'])[_0x1258c8(0x4a0)]();Array[_0x1258c8(0x209)](_0x1e5b94)&&_0x1e5b94[_0x1258c8(0x62b)]>0x0&&this[_0x1258c8(0x66c)](_0x1e5b94);}[_0x139045(0x4d1)](){const _0x35c689=_0x139045;this[_0x35c689(0x64b)]=!0x1;}};_0x51c046=_0x3d4b0d([_0x4f55d9(0x2,_0x170db9[_0x139045(0x283)](_0x170db9[_0x139045(0x667)])),_0x4f55d9(0x3,_0x170db9['Inject'](_0x14d354)),_0x4f55d9(0x4,_0x170db9[_0x139045(0x283)](_0x2ebd39[_0x139045(0x2d4)])),_0x4f55d9(0x5,_0x170db9[_0x139045(0x283)](_0x4a72d6)),_0x4f55d9(0x6,_0x294b4b[_0x139045(0x363)]),_0x4f55d9(0x7,_0x170db9[_0x139045(0x22f)]),_0x4f55d9(0x8,_0x170db9[_0x139045(0x301)])],_0x51c046);var _0x57060d=Object[_0x139045(0x620)],_0x4585c0=Object[_0x139045(0x264)],_0x51b410=(_0x2d8ec0,_0xf8f8f1,_0x2182ac,_0x34cf5b)=>{const _0x42289c=_0x139045;for(var _0x5da493=_0x34cf5b>0x1?void 0x0:_0x34cf5b?_0x4585c0(_0xf8f8f1,_0x2182ac):_0xf8f8f1,_0x356038=_0x2d8ec0[_0x42289c(0x62b)]-0x1,_0x1ef649;_0x356038>=0x0;_0x356038--)(_0x1ef649=_0x2d8ec0[_0x356038])&&(_0x5da493=(_0x34cf5b?_0x1ef649(_0xf8f8f1,_0x2182ac,_0x5da493):_0x1ef649(_0x5da493))||_0x5da493);return _0x34cf5b&&_0x5da493&&_0x57060d(_0xf8f8f1,_0x2182ac,_0x5da493),_0x5da493;},_0x419456=(_0x229fc1,_0x403bda)=>(_0x3969de,_0x10451f)=>_0x403bda(_0x3969de,_0x10451f,_0x229fc1);const _0x306076=0x12c,_0x25997d=0x64,_0x5acb6e=()=>{let _0x51564e=[],_0x19719f=!0x1;return _0x4603d0=>{_0x51564e['push'](_0x4603d0),_0x19719f||(_0x19719f=!0x0,setTimeout(()=>{_0x51564e['forEach'](_0x202456=>_0x202456()),_0x51564e=[],_0x19719f=!0x1;}));};};let _0x381533=class extends _0x170db9[_0x139045(0x436)]{constructor(_0xf65b7,_0x43b1d6,_0x330fa1,_0x1896af,_0x1ce12b,_0x47f8e1,_0x47d5bb,_0x64b33f){const _0x267939=_0x139045;super(),_0xee5085(this,_0x267939(0x64b),!0x1),_0xee5085(this,_0x267939(0x6b9),!0x1),_0xee5085(this,'_cursorInfo$',new _0x145930[(_0x267939(0x58b))](new Map())),_0xee5085(this,_0x267939(0x383),this[_0x267939(0x24d)][_0x267939(0x232)]()),_0xee5085(this,_0x267939(0x496),new _0x145930['BehaviorSubject']([])),_0xee5085(this,_0x267939(0x3ad),this[_0x267939(0x496)][_0x267939(0x640)](_0x145930[_0x267939(0x339)](_0x306076))),_0xee5085(this,_0x267939(0x66c),_0x170db9[_0x267939(0x557)]((_0xe59b75,_0x309e44)=>{const _0x322af1=_0x267939,_0x1b4b60={'eventID':_0x294b4b[_0x322af1(0x3af)][_0x322af1(0x2a5)],'data':{'unitID':this['unitID'],'memberID':this[_0x322af1(0x54f)][_0x322af1(0x400)](),'selection':_0x342e73[_0x322af1(0x4c7)](_0xe59b75,_0x309e44['range'])}};this['_session']['send'](_0x1b4b60,this[_0x322af1(0x4ee)]);},_0x25997d)),(this['unitID']=_0xf65b7,this['_session']=_0x43b1d6,this[_0x267939(0x43f)]=_0x330fa1,this['_colorAssignService']=_0x1896af,this[_0x267939(0x57e)]=_0x1ce12b,this['_univerInstanceService']=_0x47f8e1,this['_commandService']=_0x47d5bb,this['_refRangeService']=_0x64b33f);}get['cursorInfo'](){const _0x1892d8=_0x139045;return this[_0x1892d8(0x24d)]['getValue']();}get[_0x139045(0x68e)](){const _0x1dd447=_0x139045;return this['_roomMembers$'][_0x1dd447(0x5c7)]();}[_0x139045(0x33b)](){const _0x5411c9=_0x139045;super[_0x5411c9(0x33b)](),this['_cursorInfo$'][_0x5411c9(0x4ed)](new Map()),this[_0x5411c9(0x24d)][_0x5411c9(0x3d7)](),this[_0x5411c9(0x496)][_0x5411c9(0x4ed)]([]),this['_roomMembers$']['complete']();}[_0x139045(0x4a1)](){const _0x606f0e=_0x139045;this[_0x606f0e(0x6b9)]||(this[_0x606f0e(0x6b9)]=!0x0,this[_0x606f0e(0x54f)][_0x606f0e(0x26a)]['pipe'](_0x145930['takeUntil'](this[_0x606f0e(0x67f)]))[_0x606f0e(0x519)](_0x4c9c3b=>{const _0x3f8a5d=_0x606f0e;_0x4c9c3b===_0x3e6c83[_0x3f8a5d(0x401)]?this['_toggleOnline']():this[_0x3f8a5d(0x4d1)]();}),this[_0x606f0e(0x54f)][_0x606f0e(0x2b6)][_0x606f0e(0x640)](_0x145930[_0x606f0e(0x28b)](this[_0x606f0e(0x67f)]))[_0x606f0e(0x519)](_0x1ef18c=>{const _0x4bd447=_0x606f0e,_0x538a29=_0x1ef18c[_0x4bd447(0x258)];_0x538a29===_0x294b4b['CollaborationEvent']['UPDATE_CURSOR']&&this['_onCursorUpdate'](_0x1ef18c),_0x538a29===_0x294b4b['CollaborationEvent'][_0x4bd447(0x4c8)]&&this[_0x4bd447(0x23c)](_0x1ef18c);}),this[_0x606f0e(0x3de)](),this[_0x606f0e(0x32f)](this[_0x606f0e(0x1fb)]['onCommandExecuted'](_0x344fd1=>{const _0x36d25c=_0x606f0e;if(this['_online']&&_0x344fd1['id']===_0x292e35[_0x36d25c(0x62d)]['id']&&_0x344fd1[_0x36d25c(0x674)]['unitId']===this[_0x36d25c(0x4ee)]){const _0x37a4e0=_0x344fd1[_0x36d25c(0x674)];this[_0x36d25c(0x66c)](_0x37a4e0[_0x36d25c(0x4de)],_0x37a4e0[_0x36d25c(0x649)][0x0]);}})));}[_0x139045(0x621)](_0x24e1fd){const _0x354b74=_0x139045;var _0x3e381d,_0x20f5b1;const {memberID:_0x589ce0,selection:_0x719717}=_0x24e1fd[_0x354b74(0x3a4)],{sheetName:_0x55fc14,range:_0x3d3bdf}=_0x342e73[_0x354b74(0x6b4)](_0x719717),_0x396f18={'name':(_0x20f5b1=(_0x3e381d=this[_0x354b74(0x57e)][_0x354b74(0x441)](this[_0x354b74(0x4ee)],_0x589ce0))==null?void 0x0:_0x3e381d[_0x354b74(0x566)])!=null?_0x20f5b1:_0x354b74(0x23d),'range':this[_0x354b74(0x5e7)](_0x55fc14,_0x3d3bdf),'sheetID':_0x55fc14,'color':this[_0x354b74(0x2ef)][_0x354b74(0x61d)](_0x589ce0),'selection':_0x719717},_0x5260ad=this[_0x354b74(0x536)];_0x5260ad[_0x354b74(0x3fd)](_0x589ce0,_0x396f18),this[_0x354b74(0x24d)][_0x354b74(0x4ed)](_0x5260ad);}[_0x139045(0x23c)](_0x5bbe2a){const _0x1be139=_0x139045,{memberID:_0x130540}=_0x5bbe2a[_0x1be139(0x3a4)],_0x71a7e=this['cursorInfo'];_0x71a7e[_0x1be139(0x5bd)](_0x130540),this[_0x1be139(0x24d)][_0x1be139(0x4ed)](_0x71a7e);}[_0x139045(0x5e7)](_0x28fc3c,_0x512ca8){const _0x6614cc=_0x139045;var _0x397b27,_0x17d080;const _0xbe8629=(_0x17d080=(_0x397b27=this[_0x6614cc(0x230)]['getUniverSheetInstance'](this[_0x6614cc(0x4ee)]))==null?void 0x0:_0x397b27['getSheetBySheetId'](_0x28fc3c))==null?void 0x0:_0x17d080[_0x6614cc(0x335)]();return(_0xbe8629==null?void 0x0:_0xbe8629[_0x6614cc(0x6a1)](_0x1af119=>_0x170db9[_0x6614cc(0x36a)]['contains'](_0x1af119,_0x512ca8)))||_0x512ca8;}[_0x139045(0x3de)](){const _0x1fd43f=_0x139045,_0x2682ae=new _0x170db9[(_0x1fd43f(0x429))](),_0x36360a=_0x5acb6e(),_0x2f45d0=()=>{const _0xcd1eb6=_0x1fd43f;_0x2682ae[_0xcd1eb6(0x33b)]();const _0x18c6b5=(_0x359b62,_0x27452b,_0x1217e8,_0x3d8b0e)=>{const _0x2b240c=_0xcd1eb6;let _0x254ac2=[];switch(_0x359b62['id']){case _0x292e35['EffectRefRangId'][_0x2b240c(0x421)]:{_0x254ac2=_0x292e35[_0x2b240c(0x494)](_0x359b62,_0x3d8b0e);break;}case _0x292e35[_0x2b240c(0x4fc)]['DeleteRangeMoveUpCommandId']:{_0x254ac2=_0x292e35[_0x2b240c(0x289)](_0x359b62,_0x3d8b0e);break;}case _0x292e35[_0x2b240c(0x4fc)][_0x2b240c(0x2fa)]:{_0x254ac2=_0x292e35[_0x2b240c(0x549)](_0x359b62,_0x3d8b0e);break;}case _0x292e35[_0x2b240c(0x4fc)]['InsertRangeMoveDownCommandId']:{_0x254ac2=_0x292e35[_0x2b240c(0x6ab)](_0x359b62,_0x3d8b0e);break;}case _0x292e35[_0x2b240c(0x4fc)][_0x2b240c(0x690)]:{_0x254ac2=_0x292e35[_0x2b240c(0x38f)](_0x359b62,_0x3d8b0e);break;}case _0x292e35[_0x2b240c(0x4fc)][_0x2b240c(0x6ba)]:{_0x254ac2=_0x292e35[_0x2b240c(0x266)](_0x359b62,_0x3d8b0e);break;}case _0x292e35[_0x2b240c(0x4fc)]['MoveRangeCommandId']:{_0x254ac2=_0x292e35[_0x2b240c(0x654)](_0x359b62,_0x3d8b0e);break;}case _0x292e35['EffectRefRangId'][_0x2b240c(0x497)]:{_0x254ac2=_0x292e35[_0x2b240c(0x2fb)](_0x359b62,_0x3d8b0e);break;}case _0x292e35[_0x2b240c(0x4fc)][_0x2b240c(0x32a)]:{_0x254ac2=_0x292e35[_0x2b240c(0x3a1)](_0x359b62,_0x3d8b0e);break;}}const _0x150614=_0x292e35['runRefRangeMutations'](_0x254ac2,_0x3d8b0e),_0x22a5f9=this[_0x2b240c(0x536)][_0x2b240c(0x51c)](_0x27452b);if(_0x22a5f9&&_0x150614){const _0x407c1b={..._0x22a5f9,'range':_0x150614};this[_0x2b240c(0x536)][_0x2b240c(0x3fd)](_0x27452b,_0x407c1b),_0x36360a(()=>{const _0x4c270e=_0x2b240c,_0x2e4ce0=this[_0x4c270e(0x319)][_0x4c270e(0x65f)](_0x150614,_0x489b78=>(_0x2e4ce0[_0x4c270e(0x33b)](),_0x18c6b5(_0x489b78,_0x27452b,_0x1217e8,_0x150614)));_0x2682ae[_0x4c270e(0x27f)](_0x2e4ce0);});}return{'redos':[],'undos':[]};};this[_0xcd1eb6(0x536)][_0xcd1eb6(0x67e)]((_0x174ccd,_0x45db63)=>{const _0x2cf291=_0xcd1eb6,{range:_0x321886,sheetID:_0x5c20d5}=_0x174ccd,_0x34b1fe=this['_refRangeService']['registerRefRange'](_0x321886,_0x379225=>(_0x34b1fe['dispose'](),_0x18c6b5(_0x379225,_0x45db63,_0x5c20d5,_0x321886)));_0x2682ae[_0x2cf291(0x27f)](_0x34b1fe);});};this['disposeWithMe'](_0x170db9['toDisposable'](this[_0x1fd43f(0x24d)][_0x1fd43f(0x519)](()=>{_0x2f45d0();})));}[_0x139045(0x236)](){const _0x35487a=_0x139045;var _0x335d0a,_0x11d11c;if(this[_0x35487a(0x64b)]=!0x0,((_0x335d0a=this['_univerInstanceService']['getFocusedUnit']())==null?void 0x0:_0x335d0a[_0x35487a(0x238)]())!==this['unitID'])return;const _0x3cd024=(_0x11d11c=this[_0x35487a(0x43f)][_0x35487a(0x51c)](_0x292e35['SheetsSelectionsService'])['getCurrentSelections']())==null?void 0x0:_0x11d11c[0x0],_0x51e181=this[_0x35487a(0x230)][_0x35487a(0x393)](_0x170db9[_0x35487a(0x320)][_0x35487a(0x696)])[_0x35487a(0x271)]();_0x3cd024&&_0x51e181&&this['_updateLocalCursor'](_0x51e181[_0x35487a(0x2be)](),_0x3cd024);}['_toggleOffline'](){const _0x395508=_0x139045;this[_0x395508(0x64b)]=!0x1;}};_0x381533=_0x51b410([_0x419456(0x2,_0x170db9[_0x139045(0x283)](_0x170db9[_0x139045(0x667)])),_0x419456(0x3,_0x170db9[_0x139045(0x283)](_0x14d354)),_0x419456(0x4,_0x170db9[_0x139045(0x283)](_0x2ebd39['MemberService'])),_0x419456(0x5,_0x170db9[_0x139045(0x22f)]),_0x419456(0x6,_0x170db9['ICommandService']),_0x419456(0x7,_0x170db9[_0x139045(0x283)](_0x292e35[_0x139045(0x534)]))],_0x381533);var _0x5d0d6d=Object[_0x139045(0x620)],_0x5d61b7=Object['getOwnPropertyDescriptor'],_0x1a850c=(_0x78dd04,_0x21b81a,_0x3b671f,_0x2a9c55)=>{const _0x3b781c=_0x139045;for(var _0x1ddb39=_0x2a9c55>0x1?void 0x0:_0x2a9c55?_0x5d61b7(_0x21b81a,_0x3b671f):_0x21b81a,_0xebab0e=_0x78dd04[_0x3b781c(0x62b)]-0x1,_0x2bab5f;_0xebab0e>=0x0;_0xebab0e--)(_0x2bab5f=_0x78dd04[_0xebab0e])&&(_0x1ddb39=(_0x2a9c55?_0x2bab5f(_0x21b81a,_0x3b671f,_0x1ddb39):_0x2bab5f(_0x1ddb39))||_0x1ddb39);return _0x2a9c55&&_0x1ddb39&&_0x5d0d6d(_0x21b81a,_0x3b671f,_0x1ddb39),_0x1ddb39;},_0x14ec18=(_0x28140a,_0x2ce42c)=>(_0x363772,_0x17c78e)=>_0x2ce42c(_0x363772,_0x17c78e,_0x28140a);let _0x2ef012=class extends _0x170db9[_0x139045(0x436)]{constructor(_0x3a2041,_0x23dff1,_0x55bfc5){const _0x8e7a30=_0x139045;super(),_0xee5085(this,_0x8e7a30(0x404),new Map()),_0xee5085(this,_0x8e7a30(0x28a),new _0x145930[(_0x8e7a30(0x3ab))]()),(this[_0x8e7a30(0x230)]=_0x3a2041,this[_0x8e7a30(0x43f)]=_0x23dff1,this[_0x8e7a30(0x655)]=_0x55bfc5,this[_0x8e7a30(0x6b9)]());}[_0x139045(0x33b)](){const _0x36dee6=_0x139045;super[_0x36dee6(0x33b)](),this[_0x36dee6(0x28a)]['complete'](),this['_entities'][_0x36dee6(0x67e)](_0x180372=>_0x180372[_0x36dee6(0x33b)]());}[_0x139045(0x206)](_0x332bdb){const _0x640b36=_0x139045;return this[_0x640b36(0x404)][_0x640b36(0x2d5)](_0x332bdb)?this['_entities']['get'](_0x332bdb)[_0x640b36(0x383)]:this[_0x640b36(0x28a)]['pipe'](_0x145930[_0x640b36(0x296)](_0x47c304=>_0x47c304[_0x640b36(0x4ee)]===_0x332bdb),_0x145930[_0x640b36(0x495)](_0x49e510=>_0x49e510[_0x640b36(0x383)]));}[_0x139045(0x6b9)](){const _0x4adad5=_0x139045;this['_univerInstanceService'][_0x4adad5(0x4c6)](_0x170db9[_0x4adad5(0x320)][_0x4adad5(0x696)])[_0x4adad5(0x640)](_0x145930[_0x4adad5(0x28b)](this[_0x4adad5(0x67f)]))['subscribe'](async _0x5f3104=>{const _0x19bbd2=_0x4adad5,_0x16914a=_0x5f3104[_0x19bbd2(0x238)](),_0x40c509=await this[_0x19bbd2(0x5de)](_0x16914a);this[_0x19bbd2(0x28a)][_0x19bbd2(0x4ed)](_0x40c509),this[_0x19bbd2(0x404)][_0x19bbd2(0x3fd)](_0x16914a,_0x40c509);}),this[_0x4adad5(0x230)][_0x4adad5(0x4c6)](_0x170db9[_0x4adad5(0x320)]['UNIVER_DOC'])['pipe'](_0x145930[_0x4adad5(0x28b)](this[_0x4adad5(0x67f)]))[_0x4adad5(0x640)](_0x145930['filter'](_0x2da0d7=>!_0x2da0d7[_0x4adad5(0x238)]()['startsWith']('__')))['subscribe'](async _0x3d6e7d=>{const _0x329f80=_0x4adad5,_0x68cef1=_0x3d6e7d[_0x329f80(0x238)](),_0x5c2dfb=await this['_startDocCollabCursor'](_0x68cef1);this[_0x329f80(0x28a)][_0x329f80(0x4ed)](_0x5c2dfb),this[_0x329f80(0x404)][_0x329f80(0x3fd)](_0x68cef1,_0x5c2dfb);}),_0x145930['merge'](this[_0x4adad5(0x230)]['getTypeOfUnitDisposed$'](_0x170db9[_0x4adad5(0x320)][_0x4adad5(0x4ca)]),this[_0x4adad5(0x230)]['getTypeOfUnitDisposed$'](_0x170db9[_0x4adad5(0x320)][_0x4adad5(0x696)]))[_0x4adad5(0x640)](_0x145930['takeUntil'](this[_0x4adad5(0x67f)]))['subscribe'](_0x3230c8=>{const _0x54d7bb=_0x4adad5,_0x5706e4=_0x3230c8[_0x54d7bb(0x238)](),_0x453f61=this[_0x54d7bb(0x404)][_0x54d7bb(0x51c)](_0x5706e4);_0x453f61&&(_0x453f61[_0x54d7bb(0x33b)](),this[_0x54d7bb(0x404)]['delete'](_0x5706e4));});}async[_0x139045(0x5de)](_0x20f98d){const _0x19be86=_0x139045,_0x492ffa=await this[_0x19be86(0x655)][_0x19be86(0x2f8)](_0x20f98d),_0x525b89=this[_0x19be86(0x43f)][_0x19be86(0x3f4)](_0x381533,_0x20f98d,_0x492ffa);return _0x525b89[_0x19be86(0x4a1)](),_0x525b89;}async[_0x139045(0x384)](_0x4a65b7){const _0x1e2a3e=_0x139045,_0x2485eb=await this['_collabSessionService'][_0x1e2a3e(0x2f8)](_0x4a65b7),_0x3e3097=this[_0x1e2a3e(0x43f)][_0x1e2a3e(0x3f4)](_0x51c046,_0x4a65b7,_0x2485eb);return _0x3e3097[_0x1e2a3e(0x4a1)](),_0x3e3097;}};_0x2ef012=_0x1a850c([_0x14ec18(0x0,_0x170db9[_0x139045(0x22f)]),_0x14ec18(0x1,_0x170db9[_0x139045(0x283)](_0x170db9[_0x139045(0x667)])),_0x14ec18(0x2,_0x170db9['Inject'](_0x2ebd39['CollaborationSessionService']))],_0x2ef012);const _0x404904=0x14,_0xf72e14=0xc8,_0x379053=0x4,_0x23ff5b=0x5;function _0x5d7c37(_0x504722,_0x2c721a){const _0x3d3caa=_0x139045;let {radius:_0x840f15,width:_0x2cc4ad,height:_0x219e6c}=_0x2c721a;_0x840f15=_0x840f15!=null?_0x840f15:0x0,_0x2cc4ad=_0x2cc4ad!=null?_0x2cc4ad:0x1e,_0x219e6c=_0x219e6c!=null?_0x219e6c:0x1e;let _0x3da842=0x0,_0x4ee91e=0x0,_0x1d93b5=0x0;_0x3da842=_0x4ee91e=_0x1d93b5=Math[_0x3d3caa(0x5f0)](_0x840f15,_0x2cc4ad/0x2,_0x219e6c/0x2),_0x504722[_0x3d3caa(0x4e9)](),_0x504722[_0x3d3caa(0x377)](_0x3da842,0x0),_0x504722[_0x3d3caa(0x506)](_0x2cc4ad-_0x4ee91e,0x0),_0x504722[_0x3d3caa(0x57b)](_0x2cc4ad-_0x4ee91e,_0x4ee91e,_0x4ee91e,Math['PI']*0x3/0x2,0x0,!0x1),_0x504722[_0x3d3caa(0x506)](_0x2cc4ad,_0x219e6c-_0x1d93b5),_0x504722[_0x3d3caa(0x57b)](_0x2cc4ad-_0x1d93b5,_0x219e6c-_0x1d93b5,_0x1d93b5,0x0,Math['PI']/0x2,!0x1),_0x504722[_0x3d3caa(0x506)](0x0,_0x219e6c),_0x504722[_0x3d3caa(0x506)](0x0,_0x3da842),_0x504722[_0x3d3caa(0x57b)](_0x3da842,_0x3da842,_0x3da842,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x504722[_0x3d3caa(0x352)](),_0x2c721a[_0x3d3caa(0x31d)]&&(_0x504722[_0x3d3caa(0x676)](),_0x504722[_0x3d3caa(0x63c)]=_0x2c721a[_0x3d3caa(0x31d)],_0x2c721a[_0x3d3caa(0x50b)]===_0x3d3caa(0x246)?_0x504722[_0x3d3caa(0x31d)]('evenodd'):_0x504722[_0x3d3caa(0x31d)](),_0x504722[_0x3d3caa(0x2d9)]());}class _0x52e631 extends _0x224b0f[_0x139045(0x5db)]{constructor(_0x3dbeef,_0x1ed384){const _0x27f4cf=_0x139045;super(_0x3dbeef,_0x1ed384),_0xee5085(this,_0x27f4cf(0x4aa)),_0xee5085(this,_0x27f4cf(0x510)),(this[_0x27f4cf(0x4aa)]=_0x1ed384==null?void 0x0:_0x1ed384[_0x27f4cf(0x4aa)],this['text']=_0x1ed384==null?void 0x0:_0x1ed384[_0x27f4cf(0x510)]);}static[_0x139045(0x268)](_0x37a7d0,_0x542d83){const _0x11a973=_0x139045,{text:_0x4dab9a,color:_0x53c955}=_0x542d83;_0x37a7d0[_0x11a973(0x676)](),_0x37a7d0[_0x11a973(0x61b)]=_0x11a973(0x678);const _0x517639=_0x37a7d0['measureText'](_0x4dab9a)['width'],_0x5c1887=Math['min'](_0x517639+0x2*_0x379053,_0xf72e14);_0x5d7c37(_0x37a7d0,{'height':_0x404904,'radius':0x4,'width':_0x5c1887,'fill':_0x53c955,'evented':!0x1}),_0x37a7d0['fillStyle']='#FFF';const _0x5c5211=_0x379053,_0x13fc2a=_0x404904-_0x23ff5b,_0x582da7=_0xf72e14-0x2*_0x379053;if(_0x517639>_0x582da7){let _0x21ad0f='',_0x18d6c8=0x0;for(const _0x25a84a of _0x4dab9a){const _0x18cd07=_0x37a7d0[_0x11a973(0x516)](_0x25a84a)[_0x11a973(0x603)];if(_0x18d6c8+_0x18cd07<=_0x582da7-_0x37a7d0['measureText']('...')[_0x11a973(0x603)])_0x21ad0f+=_0x25a84a,_0x18d6c8+=_0x18cd07;else{_0x21ad0f+=_0x11a973(0x237);break;}}_0x37a7d0[_0x11a973(0x61f)](_0x21ad0f,_0x5c5211,_0x13fc2a);}else _0x37a7d0[_0x11a973(0x61f)](_0x4dab9a,_0x5c5211,_0x13fc2a);_0x37a7d0[_0x11a973(0x2d9)]();}[_0x139045(0x322)](_0x36ade1){const _0x126186=_0x139045;_0x52e631[_0x126186(0x268)](_0x36ade1,this);}}const _0x56c1ea=_0x139045(0x6a7),_0x5aea0b=_0x139045(0x23e),_0x4d6f16=_0x139045(0x558),_0x428ddc=0x6,_0x303333=1.5,_0x114c95=0x4,_0x13a263=1.5,_0x9e43ec=_0x139045(0x57f);class _0x997d34{constructor(_0xa91013,_0x66548,_0x58cae8,_0x2e370b){const _0x53bec2=_0x139045;_0xee5085(this,'_shapes',[]),_0xee5085(this,_0x53bec2(0x2d7),null),_0xee5085(this,_0x53bec2(0x5da),null),_0xee5085(this,'_anchorDot',null),_0xee5085(this,'_hideTimer',null),_0xee5085(this,_0x53bec2(0x5f6),null),(this[_0x53bec2(0x547)]=_0xa91013,this[_0x53bec2(0x229)]=_0x66548,this['_docSkeleton']=_0x58cae8,this[_0x53bec2(0x3c7)]=_0x2e370b,this[_0x53bec2(0x576)]());}set[_0x139045(0x247)](_0x2b7a07){const _0x488f0f=_0x139045;_0x2b7a07?(this[_0x488f0f(0x3b5)]&&this['_anchorDot']['hide'](),this[_0x488f0f(0x5da)]&&this[_0x488f0f(0x5da)][_0x488f0f(0x4ef)]()):(this[_0x488f0f(0x3b5)]&&this['_anchorDot']['show'](),this[_0x488f0f(0x5da)]&&this[_0x488f0f(0x5da)][_0x488f0f(0x2b4)]());}[_0x139045(0x33b)](){const _0x154e02=_0x139045;for(const _0x434c9f of this[_0x154e02(0x2a0)])_0x434c9f[_0x154e02(0x33b)]();this[_0x154e02(0x5da)]&&this[_0x154e02(0x5da)][_0x154e02(0x33b)](),this['_anchorDot']&&this[_0x154e02(0x3b5)][_0x154e02(0x33b)](),this[_0x154e02(0x2d7)]&&this[_0x154e02(0x2d7)]['dispose'](),this[_0x154e02(0x5f6)]&&this[_0x154e02(0x5f6)]();}[_0x139045(0x576)](){const _0x21c773=_0x139045;var _0x522489;const {_docSkeleton:_0x68738f,_document:_0x20d2a8}=this,{color:_0x3a0a00,name:_0x34e2fa,ranges:_0x3fe25f}=this[_0x21c773(0x547)],_0x29c995=_0x20d2a8[_0x21c773(0x326)](),{docsLeft:_0x1bf3bd,docsTop:_0x14da11}=_0x29c995,_0x320a8c=new _0x5a2d39['NodePositionConvertToCursor'](_0x29c995,_0x68738f);for(const {startOffset:_0x58c7b1,endOffset:_0xfcd582,rangeType:_0x12f205,segmentId:_0x5c11cb,segmentPage:_0x2c41e9,collapsed:_0x52ff91,isActive:_0x3ded89}of _0x3fe25f){const _0x9f9643=_0x68738f[_0x21c773(0x2ea)](_0x58c7b1,!0x0,_0x5c11cb,_0x2c41e9);let _0x3bc700=_0x68738f['findNodePositionByCharIndex'](_0xfcd582,!0x0,_0x5c11cb,_0x2c41e9);if(_0x3bc700==null&&(_0x3bc700=_0x68738f[_0x21c773(0x2ea)](_0xfcd582-0x1,!0x1,_0x5c11cb,_0x2c41e9)),_0x3ded89){const {contentBoxPointGroup:_0x333229}=_0x320a8c[_0x21c773(0x49c)](_0x3bc700,_0x3bc700);if(_0x333229[_0x21c773(0x62b)]===0x0)continue;this[_0x21c773(0x329)](_0x3a0a00,_0x333229,_0x1bf3bd,_0x14da11,_0x34e2fa),this['_eventUnsubscribe']=this['_handleHover']();}if(!_0x52ff91&&_0x9f9643&&_0x3bc700){if(_0x12f205===_0x170db9[_0x21c773(0x3b6)][_0x21c773(0x4fb)]){const _0x197dd=new _0x5a2d39[(_0x21c773(0x210))](_0x29c995,_0x68738f),{pointGroup:_0x5cdc60}=(_0x522489=_0x197dd[_0x21c773(0x49c)](_0x9f9643,_0x3bc700))!=null?_0x522489:{};if(_0x5cdc60==null||_0x5cdc60[_0x21c773(0x62b)]===0x0)continue;this[_0x21c773(0x31b)](_0x3a0a00,_0x5cdc60,_0x1bf3bd,_0x14da11);}else{const {borderBoxPointGroup:_0x32e320}=_0x320a8c['getRangePointData'](_0x9f9643,_0x3bc700);if(_0x32e320[_0x21c773(0x62b)]===0x0)continue;this['_drawTextRange'](_0x3a0a00,_0x32e320,_0x1bf3bd,_0x14da11);}}}}['_drawAnchor'](_0x5f0260,_0x4e6044,_0x171f78,_0x5c86b9,_0x135bb2){const _0x7ca241=_0x139045,_0x31eba0=this[_0x7ca241(0x40c)](_0x4e6044),{left:_0x1a22a7,top:_0x180476,height:_0x31d445}=_0x31eba0,_0x3db996=this['_getScale'](),_0x2f746e=_0x13a263/_0x3db996,_0x2de905=new _0x224b0f['Rect'](_0x56c1ea+_0x170db9[_0x7ca241(0x26e)][_0x7ca241(0x21c)](_0x428ddc),{'left':_0x1a22a7+_0x171f78-_0x2f746e,'top':_0x180476+_0x5c86b9,'height':_0x31d445,'width':_0x303333,'fill':_0x5f0260||_0x224b0f[_0x7ca241(0x25d)](_0x170db9['COLORS'][_0x7ca241(0x688)],0x0),'strokeWidth':_0x2f746e,'stroke':_0x9e43ec,'evented':!0x0});this[_0x7ca241(0x2d7)]=_0x2de905,this['_scene']['addObject'](_0x2de905,_0x5a2d39[_0x7ca241(0x3bd)]);const _0x44f570=new _0x224b0f[(_0x7ca241(0x526))](_0x56c1ea+_0x170db9[_0x7ca241(0x26e)]['generateRandomId'](_0x428ddc),{'left':_0x1a22a7+_0x171f78-_0x2f746e,'top':_0x180476+_0x5c86b9-_0x114c95/0x2,'height':_0x114c95,'width':_0x114c95,'fill':_0x5f0260||_0x224b0f[_0x7ca241(0x25d)](_0x170db9[_0x7ca241(0x20d)][_0x7ca241(0x688)],0x0),'strokeWidth':0x0,'stroke':_0x5f0260||_0x224b0f['getColor'](_0x170db9['COLORS'][_0x7ca241(0x688)],0x0),'evented':!0x1});this['_anchorDot']=_0x44f570,this['_scene'][_0x7ca241(0x4c0)](_0x44f570,_0x5a2d39[_0x7ca241(0x3bd)]);const _0x28ca75=new _0x52e631(_0x56c1ea+_0x170db9[_0x7ca241(0x26e)][_0x7ca241(0x21c)](_0x428ddc),{'left':_0x1a22a7+_0x171f78-_0x2f746e,'top':_0x180476+_0x5c86b9-_0x404904,'text':_0x135bb2,'color':_0x5f0260});this[_0x7ca241(0x5da)]=_0x28ca75,this[_0x7ca241(0x229)][_0x7ca241(0x4c0)](_0x28ca75,_0x5a2d39[_0x7ca241(0x3bd)]),this['_hover']=!0x1;}[_0x139045(0x5d1)](){const _0x21acb5=_0x139045,_0xc59899=this[_0x21acb5(0x2d7)][_0x21acb5(0x6bc)][_0x21acb5(0x34c)](()=>{const _0x554204=_0x21acb5;this[_0x554204(0x247)]=!0x0;}),_0x3ca0bc=this[_0x21acb5(0x2d7)][_0x21acb5(0x2f5)][_0x21acb5(0x34c)](()=>{const _0x977df4=_0x21acb5;this[_0x977df4(0x694)]&&clearTimeout(this[_0x977df4(0x694)]),this[_0x977df4(0x694)]=setTimeout(()=>{const _0x571119=_0x977df4;this[_0x571119(0x247)]=!0x1;},0x7d0);});return()=>{const _0x382d69=_0x21acb5;_0xc59899[_0x382d69(0x298)](),_0x3ca0bc[_0x382d69(0x298)]();};}[_0x139045(0x54a)](_0x5b02f9,_0x4435e1,_0x4827c0,_0xdb5627){const _0x598201=_0x139045,_0x5dcff0=new _0x170db9['ColorKit'](_0x5b02f9)[_0x598201(0x5d0)](0.2)[_0x598201(0x461)](),_0x502ba3=new _0x224b0f['RegularPolygon'](_0x5aea0b+_0x170db9[_0x598201(0x26e)]['generateRandomId'](_0x428ddc),{'pointsGroup':_0x4435e1,'fill':_0x5dcff0||_0x224b0f['getColor'](_0x170db9[_0x598201(0x20d)][_0x598201(0x688)],0.2),'left':_0x4827c0,'top':_0xdb5627,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x598201(0x2a0)][_0x598201(0x2fc)](_0x502ba3),this[_0x598201(0x229)][_0x598201(0x4c0)](_0x502ba3,_0x5a2d39[_0x598201(0x3bd)]);}[_0x139045(0x31b)](_0x424125,_0x33d2c4,_0x33fd6e,_0x556336){const _0x1adbd2=_0x139045,_0x2fd3bd=new _0x170db9[(_0x1adbd2(0x3e6))](_0x424125)[_0x1adbd2(0x5d0)](0.2)[_0x1adbd2(0x461)](),_0x13e112=new _0x224b0f[(_0x1adbd2(0x39a))](_0x4d6f16+_0x170db9[_0x1adbd2(0x26e)][_0x1adbd2(0x21c)](_0x428ddc),{'pointsGroup':_0x33d2c4,'fill':_0x2fd3bd||_0x224b0f[_0x1adbd2(0x25d)](_0x170db9[_0x1adbd2(0x20d)][_0x1adbd2(0x688)],0.2),'left':_0x33fd6e,'top':_0x556336,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x1adbd2(0x2a0)]['push'](_0x13e112),this['_scene'][_0x1adbd2(0x4c0)](_0x13e112,_0x5a2d39['TEXT_RANGE_LAYER_INDEX']);}[_0x139045(0x40c)](_0x395b0a){const _0x4de6c7=_0x395b0a[0x0],_0x5b7a47=_0x4de6c7[0x0],_0x17da04=_0x4de6c7[0x2],{x:_0x193d30,y:_0x279b3f}=_0x5b7a47,{x:_0x517213,y:_0xfb423a}=_0x17da04;return{'left':_0x193d30,'top':_0x279b3f,'width':_0x517213-_0x193d30,'height':_0xfb423a-_0x279b3f};}[_0x139045(0x68f)](){const _0x2cfdab=_0x139045,{scaleX:_0x373d10,scaleY:_0x3beb6f}=this[_0x2cfdab(0x229)]['getAncestorScale']();return Math['max'](_0x373d10,_0x3beb6f);}}var _0x548a4e=Object[_0x139045(0x620)],_0x223328=Object[_0x139045(0x264)],_0x254074=(_0x5dbb03,_0x23c6dc,_0x19053a,_0x1c1499)=>{const _0x1ece34=_0x139045;for(var _0x14a5cd=_0x1c1499>0x1?void 0x0:_0x1c1499?_0x223328(_0x23c6dc,_0x19053a):_0x23c6dc,_0x48d6b1=_0x5dbb03[_0x1ece34(0x62b)]-0x1,_0xa5312b;_0x48d6b1>=0x0;_0x48d6b1--)(_0xa5312b=_0x5dbb03[_0x48d6b1])&&(_0x14a5cd=(_0x1c1499?_0xa5312b(_0x23c6dc,_0x19053a,_0x14a5cd):_0xa5312b(_0x14a5cd))||_0x14a5cd);return _0x1c1499&&_0x14a5cd&&_0x548a4e(_0x23c6dc,_0x19053a,_0x14a5cd),_0x14a5cd;},_0x53017c=(_0x515238,_0x1d500d)=>(_0x36dcdf,_0x3b16a2)=>_0x1d500d(_0x36dcdf,_0x3b16a2,_0x515238);let _0x53d888=class extends _0x170db9[_0x139045(0x436)]{constructor(_0x37c035,_0x362ffb,_0x37ff64,_0x1d7953,_0xc2d28f){const _0x14165b=_0x139045;super(),_0xee5085(this,_0x14165b(0x432),[]),_0xee5085(this,_0x14165b(0x3f6),[]),(this['_context']=_0x37c035,this['_docSkeletonManagerService']=_0x362ffb,this['_collabCursorController']=_0x37ff64,this[_0x14165b(0x1fb)]=_0x1d7953,this['_themeService']=_0xc2d28f,this[_0x14165b(0x6b9)]());}[_0x139045(0x6b9)](){const _0x46225e=_0x139045,_0x48f42c=this[_0x46225e(0x5ff)][_0x46225e(0x680)],_0x42eef1=this[_0x46225e(0x3a7)];this[_0x46225e(0x32f)](_0x145930[_0x46225e(0x460)]([this['_collabCursorController'][_0x46225e(0x206)](_0x48f42c),this[_0x46225e(0x278)]['currentTheme$']])[_0x46225e(0x640)](_0x34e4e3[_0x46225e(0x33a)](([_0x15e958,_0x3c0074])=>({'skeleton':_0x42eef1[_0x46225e(0x663)](),'cursors':[..._0x15e958['values']()][_0x46225e(0x394)](_0x383dc6=>({..._0x383dc6,'color':_0x3c0074[_0x383dc6[_0x46225e(0x4aa)]]}))})))[_0x46225e(0x519)](_0x430b9f=>{const _0x4e9083=_0x46225e;if(this[_0x4e9083(0x2d8)](),_0x430b9f){const {skeleton:_0x496d75,cursors:_0x2df12f}=_0x430b9f;this[_0x4e9083(0x69b)](_0x496d75,_0x2df12f);}})),this[_0x46225e(0x31f)](),this[_0x46225e(0x23a)]();}[_0x139045(0x69b)](_0x1b0700,_0xded71){const _0x4d8ad6=_0x139045,{scene:_0x171d77,mainComponent:_0x3c3fbb}=this[_0x4d8ad6(0x5ff)],_0x5526bd=_0xded71[_0x4d8ad6(0x33a)](_0x5790fb=>new _0x997d34(_0x5790fb,_0x171d77,_0x1b0700,_0x3c3fbb));this[_0x4d8ad6(0x432)]=_0x5526bd,this[_0x4d8ad6(0x3f6)]=_0xded71;}[_0x139045(0x3d3)](){const _0x445296=_0x139045;this[_0x445296(0x2d8)]();const {scene:_0x4f1b84,mainComponent:_0x412277}=this['_context'],_0x226282=this[_0x445296(0x3a7)][_0x445296(0x663)](),_0x3be7ce=this[_0x445296(0x3f6)][_0x445296(0x33a)](_0x347189=>new _0x997d34(_0x347189,_0x4f1b84,_0x226282,_0x412277));this['_cursorShapes']=_0x3be7ce;}[_0x139045(0x2d8)](){const _0x466ef7=_0x139045;this[_0x466ef7(0x432)]['forEach'](_0x277174=>_0x277174[_0x466ef7(0x33b)]()),this['_cursorShapes']=[];}[_0x139045(0x23a)](){const _0x1d85d1=_0x139045,_0x268735=[_0x5a2d39[_0x1d85d1(0x44f)]['id']];this[_0x1d85d1(0x32f)](this[_0x1d85d1(0x1fb)][_0x1d85d1(0x1f7)](_0x4b9efd=>{const _0x1f426b=_0x1d85d1;_0x268735[_0x1f426b(0x63b)](_0x4b9efd['id'])&&_0x4b9efd[_0x1f426b(0x674)][_0x1f426b(0x680)]===this[_0x1f426b(0x5ff)][_0x1f426b(0x680)]&&this[_0x1f426b(0x3d3)]();}));}['_initResize'](){const _0x3f89b9=_0x139045;this[_0x3f89b9(0x32f)](_0x170db9['fromEventSubject'](this['_context'][_0x3f89b9(0x21e)]['onTransformChange$'])[_0x3f89b9(0x640)](_0x34e4e3[_0x3f89b9(0x296)](_0x174914=>_0x174914[_0x3f89b9(0x3e2)]===_0x224b0f[_0x3f89b9(0x44d)]['resize']),_0x34e4e3[_0x3f89b9(0x532)](0x10))[_0x3f89b9(0x519)](()=>{this['_refreshCollabCursors']();}));}};_0x53d888=_0x254074([_0x53017c(0x1,_0x170db9['Inject'](_0x2bd9e1[_0x139045(0x2ab)])),_0x53017c(0x2,_0x170db9['Inject'](_0x2ef012)),_0x53017c(0x3,_0x170db9[_0x139045(0x301)]),_0x53017c(0x4,_0x170db9[_0x139045(0x283)](_0x170db9[_0x139045(0x5fd)]))],_0x53d888);const _0x31a0e7=0x1,_0x11605d=1.5;class _0x1aa00 extends _0x224b0f[_0x139045(0x5db)]{constructor(_0x14895c,_0x443290){const _0x39cdc0=_0x139045;super(_0x14895c,_0x443290),_0xee5085(this,_0x39cdc0(0x5d2)),_0xee5085(this,_0x39cdc0(0x3cd),!0x1),_0xee5085(this,_0x39cdc0(0x5b5)),_0xee5085(this,'_name',''),_0xee5085(this,_0x39cdc0(0x3cb),_0x39cdc0(0x66e)),_0xee5085(this,'_backgroundColor'),(_0x443290&&this['setShapeProps'](_0x443290),this['onPointerEnter$']['subscribeEvent'](()=>this[_0x39cdc0(0x303)]({'hovered':!0x0})),this[_0x39cdc0(0x2f5)][_0x39cdc0(0x34c)](()=>this['setShapeProps']({'hovered':!0x1})));}[_0x139045(0x303)](_0x4c83b7){const _0x55c8bc=_0x139045;var _0x5cde48,_0x52020f,_0xc42148,_0x667fc9,_0x1e70b9,_0x3869fa;this[_0x55c8bc(0x5d2)]=(_0x5cde48=_0x4c83b7['color'])!=null?_0x5cde48:this[_0x55c8bc(0x5d2)],this[_0x55c8bc(0x3cd)]=(_0x52020f=_0x4c83b7[_0x55c8bc(0x5f9)])!=null?_0x52020f:this[_0x55c8bc(0x3cd)],this[_0x55c8bc(0x5b5)]=(_0xc42148=_0x4c83b7[_0x55c8bc(0x46a)])!=null?_0xc42148:this[_0x55c8bc(0x5b5)],this[_0x55c8bc(0x559)]=(_0x667fc9=_0x4c83b7[_0x55c8bc(0x566)])!=null?_0x667fc9:this[_0x55c8bc(0x559)],this[_0x55c8bc(0x3cb)]=(_0x1e70b9=_0x4c83b7['labelPosition'])!=null?_0x1e70b9:this[_0x55c8bc(0x3cb)],this[_0x55c8bc(0x5a5)]=(_0x3869fa=_0x4c83b7['backgroundColor'])!=null?_0x3869fa:this['_backgroundColor'],this[_0x55c8bc(0x3c6)]({'width':_0x4c83b7['width'],'height':_0x4c83b7[_0x55c8bc(0x424)]});}[_0x139045(0x591)](_0x3dc6fb){const _0x3acd46=_0x139045,{row:_0x1e72dc,column:_0x3f520f}=_0x3dc6fb;if(_0x1e72dc>=this['_range'][_0x3acd46(0x659)]&&_0x1e72dc<=this['_range']['endRow']&&_0x3f520f>=this[_0x3acd46(0x5b5)][_0x3acd46(0x4f4)]&&_0x3f520f<=this[_0x3acd46(0x5b5)][_0x3acd46(0x4a5)]){this[_0x3acd46(0x303)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}[_0x139045(0x65a)](_0x2e8039){return!0x1;}[_0x139045(0x322)](_0x47982e){const _0x39dde8=_0x139045;_0x224b0f[_0x39dde8(0x526)][_0x39dde8(0x268)](_0x47982e,{'width':this[_0x39dde8(0x603)],'height':this[_0x39dde8(0x424)],'strokeWidth':_0x11605d,'stroke':this[_0x39dde8(0x5d2)],'evented':!0x1,'fill':this[_0x39dde8(0x5a5)]}),this[_0x39dde8(0x3cd)]&&(_0x47982e[_0x39dde8(0x676)](),_0x47982e[_0x39dde8(0x49d)](0x1,0x0,0x0,0x1,this[_0x39dde8(0x603)],this[_0x39dde8(0x3cb)]===_0x39dde8(0x293)?0x0:-_0x404904),_0x52e631[_0x39dde8(0x268)](_0x47982e,{'text':this[_0x39dde8(0x559)],'color':this[_0x39dde8(0x5d2)]}),_0x47982e[_0x39dde8(0x2d9)]());}}var _0x4dcad0=Object[_0x139045(0x620)],_0x3600f1=Object[_0x139045(0x264)],_0x4c0194=(_0x433a9a,_0x18b8dd,_0x195e03,_0x4e17ff)=>{const _0x4e0434=_0x139045;for(var _0x3e3ef9=_0x4e17ff>0x1?void 0x0:_0x4e17ff?_0x3600f1(_0x18b8dd,_0x195e03):_0x18b8dd,_0x24034a=_0x433a9a[_0x4e0434(0x62b)]-0x1,_0x5bb9b4;_0x24034a>=0x0;_0x24034a--)(_0x5bb9b4=_0x433a9a[_0x24034a])&&(_0x3e3ef9=(_0x4e17ff?_0x5bb9b4(_0x18b8dd,_0x195e03,_0x3e3ef9):_0x5bb9b4(_0x3e3ef9))||_0x3e3ef9);return _0x4e17ff&&_0x3e3ef9&&_0x4dcad0(_0x18b8dd,_0x195e03,_0x3e3ef9),_0x3e3ef9;},_0x3829e7=(_0x226b30,_0x5d4d7d)=>(_0x2684dd,_0x413c77)=>_0x5d4d7d(_0x2684dd,_0x413c77,_0x226b30);const _0x321824=0x1389;let _0x52b222=class extends _0x170db9['RxDisposable']{constructor(_0x5153b8,_0x26c9ae,_0x12c8a9,_0x2f5e4c){const _0x378c9a=_0x139045;super(),_0xee5085(this,'_cursors',new Set()),_0xee5085(this,_0x378c9a(0x51a),null),(this[_0x378c9a(0x5ff)]=_0x5153b8,this[_0x378c9a(0x45d)]=_0x26c9ae,this[_0x378c9a(0x261)]=_0x12c8a9,this[_0x378c9a(0x278)]=_0x2f5e4c,this[_0x378c9a(0x6b9)]());}['_init'](){const _0x84c851=_0x139045;this[_0x84c851(0x45d)][_0x84c851(0x55e)][_0x84c851(0x640)](_0x34e4e3[_0x84c851(0x28b)](this[_0x84c851(0x67f)]),_0x34e4e3[_0x84c851(0x495)](_0x4ac3f3=>{const _0x218b10=_0x84c851;if(_0x4ac3f3){const _0x33be99=_0x4ac3f3['sheetId'];return _0x145930[_0x218b10(0x460)](this[_0x218b10(0x261)][_0x218b10(0x206)](this[_0x218b10(0x5ff)][_0x218b10(0x680)]),this[_0x218b10(0x278)][_0x218b10(0x5bc)])[_0x218b10(0x640)](_0x34e4e3[_0x218b10(0x33a)](([_0x36a912,_0x2cbc55])=>{const _0x31d9f5=_0x218b10,_0x28a2f5=new Map();return _0x36a912[_0x31d9f5(0x67e)]((_0x44bae0,_0x3f73b7)=>{const _0x25df3d=_0x31d9f5;if(_0x44bae0['sheetID']===_0x33be99){const _0x5d6b06={..._0x44bae0};_0x5d6b06[_0x25df3d(0x4aa)]=_0x2cbc55[_0x44bae0[_0x25df3d(0x4aa)]],_0x28a2f5[_0x25df3d(0x3fd)](_0x3f73b7,_0x5d6b06);}}),{'skeleton':_0x4ac3f3,'cursors':_0x28a2f5};}));}return _0x145930['of']({'skeleton':null,'cursors':new Map()});}))[_0x84c851(0x519)](({skeleton:_0x549045,cursors:_0x1779bd})=>{this['_removeCollabCursors'](),_0x549045&&this['_updateCollabCursors'](_0x549045,_0x1779bd);}),this['_sheetSkeletonManagerService'][_0x84c851(0x55e)][_0x84c851(0x519)](_0x5a9180=>{const _0x3014bf=_0x84c851;if(_0x5a9180==null)return;const {skeleton:_0x1f870d}=_0x5a9180,{scene:_0x43b932}=this[_0x3014bf(0x5ff)];_0x43b932[_0x3014bf(0x563)][_0x3014bf(0x34c)](_0x170db9[_0x3014bf(0x557)](_0x40c5e5=>{const _0x405678=_0x3014bf;var _0xf06999,_0x37618b;const {offsetX:_0x4dd369,offsetY:_0x3fad13}=_0x40c5e5,{x:_0x3d27d9,y:_0x5b653c}=_0x43b932[_0x405678(0x2a8)](_0x224b0f[_0x405678(0x242)][_0x405678(0x46b)]([_0x4dd369,_0x3fad13])),{scaleX:_0x5df469,scaleY:_0x592147}=_0x43b932['getAncestorScale'](),_0x949465=_0x43b932['getViewport'](_0x342006[_0x405678(0x470)][_0x405678(0x2f0)]),_0x2980ce=_0x43b932[_0x405678(0x5f5)](_0x224b0f['Vector2'][_0x405678(0x46b)]([_0x3d27d9,_0x5b653c]),_0x949465),_0x53b68c=_0x1f870d['getCellPositionByOffset'](_0x4dd369,_0x3fad13,_0x5df469,_0x592147,_0x2980ce);((_0xf06999=this[_0x405678(0x51a)])==null?void 0x0:_0xf06999['column'])===_0x53b68c[_0x405678(0x2fe)]&&((_0x37618b=this[_0x405678(0x51a)])==null?void 0x0:_0x37618b[_0x405678(0x338)])===_0x53b68c[_0x405678(0x338)]||this['_cursors'][_0x405678(0x67e)](_0x266e10=>{const _0x305a63=_0x405678;_0x266e10[_0x305a63(0x591)](_0x53b68c);});},0x64));});}['_updateCollabCursors'](_0x39d67d,_0x4b0e8a){const _0xea8247=_0x139045;var _0x4a79d9;const _0x3b3006=(_0x4a79d9=this[_0xea8247(0x45d)][_0xea8247(0x39f)]())==null?void 0x0:_0x4a79d9[_0xea8247(0x38b)];if(!_0x3b3006)return;const _0x452834=this['_getSheetObject']();if(!_0x452834)return;this[_0xea8247(0x3f6)]['forEach'](_0x2f8eb6=>{const _0x2af7fd=_0xea8247;_0x2f8eb6[_0x2af7fd(0x439)]();});const {scene:_0x5925c5}=_0x452834,_0x25404a=_0x1c99d2(Array[_0xea8247(0x3fb)](_0x4b0e8a[_0xea8247(0x671)]()))[_0xea8247(0x33a)](_0x88a57c=>{const _0x55f654=_0xea8247,{color:_0x5caf15,range:_0x490b5a,name:_0x54fde0,selection:_0x56cf94,sheetID:_0x38b77c}=_0x88a57c,{startColumn:_0x93a3f7,startRow:_0x9e10ef,endColumn:_0x13ebca,endRow:_0x20b1fa}=_0x490b5a,_0x564821=_0x342006['getCoordByCell'](_0x9e10ef,_0x93a3f7,_0x5925c5,_0x3b3006),_0x3c0719=_0x342006[_0x55f654(0x317)](_0x20b1fa,_0x13ebca,_0x5925c5,_0x3b3006),{columnHeaderHeightAndMarginTop:_0x1a97b8}=_0x3b3006,{startX:_0x10dd28,startY:_0x28eac4}=_0x564821,{endX:_0x14b95e,endY:_0x229db5}=_0x3c0719,_0x236d54=_0x14b95e-_0x10dd28,_0x2f2b45=_0x229db5-_0x28eac4,_0x14a274={'labelPosition':_0x28eac4-_0x1a97b8>=_0x404904?'top':_0x55f654(0x293),'sheetID':_0x38b77c,'range':_0x490b5a,'color':_0x5caf15,'name':_0x54fde0,'selection':_0x56cf94,'left':_0x10dd28,'top':_0x28eac4,'width':_0x236d54,'height':_0x2f2b45,'evented':!0x1,'zIndex':_0x321824};return new _0x1aa00(_0x54fde0,_0x14a274);});_0x5925c5[_0xea8247(0x469)](_0x25404a,_0x31a0e7),this[_0xea8247(0x3f6)]=new Set(_0x25404a);}['_removeCollabCursors'](){const _0x55fe80=_0x139045;var _0x1108a5;(_0x1108a5=this[_0x55fe80(0x3f6)])==null||_0x1108a5[_0x55fe80(0x67e)](_0x1b56e8=>_0x1b56e8['dispose']());}[_0x139045(0x1ed)](){const _0x3eec0d=_0x139045;return _0x342006[_0x3eec0d(0x525)](this[_0x3eec0d(0x5ff)][_0x3eec0d(0x351)],this[_0x3eec0d(0x5ff)]);}};_0x52b222=_0x4c0194([_0x3829e7(0x1,_0x170db9[_0x139045(0x283)](_0x342006['SheetSkeletonManagerService'])),_0x3829e7(0x2,_0x170db9[_0x139045(0x283)](_0x2ef012)),_0x3829e7(0x3,_0x170db9[_0x139045(0x283)](_0x170db9['ThemeService']))],_0x52b222);function _0x1c99d2(_0x1b0134){const _0x53b9d2=_0x139045,_0x3f3c0d=new Map();return _0x1b0134[_0x53b9d2(0x67e)](_0x51fb63=>{const _0x3766c7=_0x53b9d2;if(_0x3f3c0d[_0x3766c7(0x2d5)](_0x51fb63[_0x3766c7(0x48b)])){const _0x5acfe1=_0x3f3c0d[_0x3766c7(0x51c)](_0x51fb63['selection']);_0x5acfe1['name']+=',\x20'+_0x51fb63['name'];}else _0x3f3c0d['set'](_0x51fb63['selection'],_0x51fb63);}),Array[_0x53b9d2(0x3fb)](_0x3f3c0d['values']());}var _0x4dbd98=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function _0x1022fc(_0x4f818c){const _0x58325c=_0x139045;return _0x4f818c&&_0x4f818c['__esModule']&&Object['prototype'][_0x58325c(0x2ac)][_0x58325c(0x2b0)](_0x4f818c,_0x58325c(0x300))?_0x4f818c['default']:_0x4f818c;}var _0x3cae85={'exports':{}},_0x5c47d6={},_0x80414c=_0x16c5c0,_0x1bcfcf=Symbol['for'](_0x139045(0x450)),_0x4c16d5=Symbol['for'](_0x139045(0x39b)),_0x1fac83=Object['prototype']['hasOwnProperty'],_0xfec32a=_0x80414c[_0x139045(0x6b8)][_0x139045(0x36e)],_0x3876ae={'key':!0x0,'ref':!0x0,'__self':!0x0,'__source':!0x0};function _0x4d7bf7(_0x68b6e7,_0x5cd61b,_0x322686){const _0x117e7a=_0x139045;var _0x5911b3,_0x4e6c82={},_0x27198f=null,_0x322aa9=null;_0x322686!==void 0x0&&(_0x27198f=''+_0x322686),_0x5cd61b[_0x117e7a(0x2e2)]!==void 0x0&&(_0x27198f=''+_0x5cd61b[_0x117e7a(0x2e2)]),_0x5cd61b[_0x117e7a(0x356)]!==void 0x0&&(_0x322aa9=_0x5cd61b[_0x117e7a(0x356)]);for(_0x5911b3 in _0x5cd61b)_0x1fac83[_0x117e7a(0x2b0)](_0x5cd61b,_0x5911b3)&&!_0x3876ae[_0x117e7a(0x2ac)](_0x5911b3)&&(_0x4e6c82[_0x5911b3]=_0x5cd61b[_0x5911b3]);if(_0x68b6e7&&_0x68b6e7[_0x117e7a(0x508)]){for(_0x5911b3 in(_0x5cd61b=_0x68b6e7[_0x117e7a(0x508)],_0x5cd61b))_0x4e6c82[_0x5911b3]===void 0x0&&(_0x4e6c82[_0x5911b3]=_0x5cd61b[_0x5911b3]);}return{'$$typeof':_0x1bcfcf,'type':_0x68b6e7,'key':_0x27198f,'ref':_0x322aa9,'props':_0x4e6c82,'_owner':_0xfec32a['current']};}_0x5c47d6[_0x139045(0x281)]=_0x4c16d5,_0x5c47d6['jsx']=_0x4d7bf7,_0x5c47d6['jsxs']=_0x4d7bf7,_0x3cae85[_0x139045(0x5a4)]=_0x5c47d6;var _0x3b2d7d=_0x3cae85[_0x139045(0x5a4)],_0x5ae55f=function(){const _0xeba6ae=_0x139045;return _0x5ae55f=Object[_0xeba6ae(0x245)]||function(_0x35a39f){const _0x389b82=_0xeba6ae;for(var _0x5c9c4a,_0x16d380=0x1,_0x59ac7a=arguments['length'];_0x16d380<_0x59ac7a;_0x16d380++){_0x5c9c4a=arguments[_0x16d380];for(var _0x5c668c in _0x5c9c4a)Object[_0x389b82(0x216)]['hasOwnProperty'][_0x389b82(0x2b0)](_0x5c9c4a,_0x5c668c)&&(_0x35a39f[_0x5c668c]=_0x5c9c4a[_0x5c668c]);}return _0x35a39f;},_0x5ae55f[_0xeba6ae(0x221)](this,arguments);},_0x1ff679=function(_0x10fe45,_0x473022){const _0x58839a=_0x139045;var _0x293c17={};for(var _0x44438f in _0x10fe45)Object[_0x58839a(0x216)][_0x58839a(0x2ac)][_0x58839a(0x2b0)](_0x10fe45,_0x44438f)&&_0x473022['indexOf'](_0x44438f)<0x0&&(_0x293c17[_0x44438f]=_0x10fe45[_0x44438f]);if(_0x10fe45!=null&&typeof Object[_0x58839a(0x2a2)]==_0x58839a(0x231)){for(var _0x433049=0x0,_0x44438f=Object[_0x58839a(0x2a2)](_0x10fe45);_0x433049<_0x44438f['length'];_0x433049++)_0x473022[_0x58839a(0x573)](_0x44438f[_0x433049])<0x0&&Object['prototype'][_0x58839a(0x2c1)][_0x58839a(0x2b0)](_0x10fe45,_0x44438f[_0x433049])&&(_0x293c17[_0x44438f[_0x433049]]=_0x10fe45[_0x44438f[_0x433049]]);}return _0x293c17;},_0x263256=_0x16c5c0[_0x139045(0x414)](function(_0x48cdee,_0x560082){const _0x2a168b=_0x139045;var _0x2cb570=_0x48cdee[_0x2a168b(0x5b8)],_0x48ea32=_0x48cdee['id'],_0xdab6f9=_0x48cdee['className'],_0x327b94=_0x48cdee[_0x2a168b(0x263)],_0x5050e9=_0x1ff679(_0x48cdee,['icon','id',_0x2a168b(0x488),_0x2a168b(0x263)]),_0x212d1d=_0x2a168b(0x420)[_0x2a168b(0x39e)](_0x48ea32,'\x20')['concat'](_0xdab6f9||'')[_0x2a168b(0x58f)](),_0x2696a1=_0x16c5c0[_0x2a168b(0x55f)]('_'[_0x2a168b(0x39e)](_0x220c87()));return _0x191812(_0x2cb570,''[_0x2a168b(0x39e)](_0x48ea32),{'defIds':_0x2cb570[_0x2a168b(0x5ef)],'idSuffix':_0x2696a1[_0x2a168b(0x2c9)]},_0x5ae55f({'ref':_0x560082,'className':_0x212d1d},_0x5050e9),_0x327b94);});function _0x191812(_0x1d84d6,_0x376c5f,_0x477788,_0x5f5361,_0x46fbf){const _0x1c8670=_0x139045;return _0x16c5c0[_0x1c8670(0x2cd)](_0x1d84d6[_0x1c8670(0x6a9)],_0x5ae55f(_0x5ae55f({'key':_0x376c5f},_0x52857b(_0x1d84d6,_0x477788,_0x46fbf)),_0x5f5361),(_0x5159c0(_0x1d84d6,_0x477788)[_0x1c8670(0x53f)]||[])['map'](function(_0x2cc2b0,_0x2a1697){const _0x40a49c=_0x1c8670;return _0x191812(_0x2cc2b0,''[_0x40a49c(0x39e)](_0x376c5f,'-')[_0x40a49c(0x39e)](_0x1d84d6[_0x40a49c(0x6a9)],'-')[_0x40a49c(0x39e)](_0x2a1697),_0x477788,void 0x0,_0x46fbf);}));}function _0x52857b(_0x578ee9,_0x156306,_0x433916){const _0x329582=_0x139045;var _0x3dde6d=_0x5ae55f({},_0x578ee9[_0x329582(0x398)]);_0x433916!=null&&_0x433916[_0x329582(0x5e2)]&&_0x3dde6d[_0x329582(0x31d)]===_0x329582(0x5e2)&&(_0x3dde6d[_0x329582(0x31d)]=_0x433916['colorChannel1']);var _0x58f52f=_0x156306['defIds'];return!_0x58f52f||_0x58f52f['length']===0x0||(_0x578ee9[_0x329582(0x6a9)]==='use'&&_0x3dde6d['xlink:href']&&(_0x3dde6d['xlink:href']=_0x3dde6d[_0x329582(0x3a9)]+_0x156306[_0x329582(0x5c1)]),Object[_0x329582(0x60a)](_0x3dde6d)[_0x329582(0x67e)](function(_0x44c94b){const _0x41fc4f=_0x329582;var _0x148612=_0x44c94b[0x0],_0xd314b9=_0x44c94b[0x1];typeof _0xd314b9==_0x41fc4f(0x5ec)&&(_0x3dde6d[_0x148612]=_0xd314b9[_0x41fc4f(0x42e)](/url\(#(.*)\)/,_0x41fc4f(0x426)[_0x41fc4f(0x39e)](_0x156306[_0x41fc4f(0x5c1)],')')));})),_0x3dde6d;}function _0x5159c0(_0xa3276d,_0x1e12a0){const _0x541d8a=_0x139045;var _0x429b01,_0x4c5546=_0x1e12a0['defIds'];return!_0x4c5546||_0x4c5546[_0x541d8a(0x62b)]===0x0?_0xa3276d:_0xa3276d[_0x541d8a(0x6a9)]===_0x541d8a(0x276)&&(!((_0x429b01=_0xa3276d[_0x541d8a(0x53f)])===null||_0x429b01===void 0x0)&&_0x429b01[_0x541d8a(0x62b)])?_0x5ae55f(_0x5ae55f({},_0xa3276d),{'children':_0xa3276d[_0x541d8a(0x53f)]['map'](function(_0x5d7d8e){const _0x4b7b72=_0x541d8a;return typeof _0x5d7d8e['attrs']['id']==_0x4b7b72(0x5ec)&&_0x4c5546&&_0x4c5546[_0x4b7b72(0x573)](_0x5d7d8e[_0x4b7b72(0x398)]['id'])>-0x1?_0x5ae55f(_0x5ae55f({},_0x5d7d8e),{'attrs':_0x5ae55f(_0x5ae55f({},_0x5d7d8e['attrs']),{'id':_0x5d7d8e['attrs']['id']+_0x1e12a0['idSuffix']})}):_0x5d7d8e;})}):_0xa3276d;}function _0x220c87(){const _0x225a04=_0x139045;return Math[_0x225a04(0x3d4)]()[_0x225a04(0x2eb)](0x24)[_0x225a04(0x3ec)](0x2,0x8);}_0x263256[_0x139045(0x467)]=_0x139045(0x615);var _0x5bd4cb={'tag':_0x139045(0x67a),'attrs':{'fill':'none','viewBox':_0x139045(0x507),'width':_0x139045(0x55b),'height':_0x139045(0x55b)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-single_clip0_910_343)'},'children':[{'tag':_0x139045(0x39d),'attrs':{'stroke':_0x139045(0x40f),'d':_0x139045(0x522),'strokeLinecap':_0x139045(0x2bb),'strokeLinejoin':_0x139045(0x2bb),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x139045(0x2c6),'attrs':{'id':_0x139045(0x44a)},'children':[{'tag':_0x139045(0x39d),'attrs':{'fill':_0x139045(0x63a),'d':_0x139045(0x47b)}}]}]}],'defIds':[_0x139045(0x44a)]},_0x50a405=_0x16c5c0[_0x139045(0x414)](function(_0x3c2ac0,_0x3e78bd){const _0x469f18=_0x139045;return _0x16c5c0[_0x469f18(0x2cd)](_0x263256,Object[_0x469f18(0x245)]({},_0x3c2ac0,{'id':_0x469f18(0x572),'ref':_0x3e78bd,'icon':_0x5bd4cb}));});_0x50a405[_0x139045(0x467)]=_0x139045(0x280);var _0x529fc0={'tag':_0x139045(0x67a),'attrs':{'fill':_0x139045(0x505),'viewBox':_0x139045(0x277),'width':_0x139045(0x55b),'height':_0x139045(0x55b)},'children':[{'tag':'g','attrs':{'clipPath':_0x139045(0x5be)},'children':[{'tag':_0x139045(0x39d),'attrs':{'stroke':'currentColor','d':'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','strokeLinecap':_0x139045(0x2bb),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x139045(0x276),'attrs':{},'children':[{'tag':_0x139045(0x2c6),'attrs':{'id':_0x139045(0x5eb)},'children':[{'tag':_0x139045(0x39d),'attrs':{'fill':_0x139045(0x63a),'d':_0x139045(0x47b),'transform':_0x139045(0x2af)}}]}]}],'defIds':[_0x139045(0x5eb)]},_0x441a03=_0x16c5c0[_0x139045(0x414)](function(_0x5e6eb8,_0x510982){const _0x1c7d38=_0x139045;return _0x16c5c0[_0x1c7d38(0x2cd)](_0x263256,Object[_0x1c7d38(0x245)]({},_0x5e6eb8,{'id':_0x1c7d38(0x365),'ref':_0x510982,'icon':_0x529fc0}));});_0x441a03[_0x139045(0x467)]=_0x139045(0x1ec);function _0x4e2cc2(_0x41e1df){const _0x4f5eb6=_0x139045;var _0x18da62,_0x408101,_0x4a147c='';if(typeof _0x41e1df==_0x4f5eb6(0x5ec)||typeof _0x41e1df=='number')_0x4a147c+=_0x41e1df;else{if(typeof _0x41e1df==_0x4f5eb6(0x430)){if(Array['isArray'](_0x41e1df)){var _0x4c43cf=_0x41e1df['length'];for(_0x18da62=0x0;_0x18da62<_0x4c43cf;_0x18da62++)_0x41e1df[_0x18da62]&&(_0x408101=_0x4e2cc2(_0x41e1df[_0x18da62]))&&(_0x4a147c&&(_0x4a147c+='\x20'),_0x4a147c+=_0x408101);}else{for(_0x408101 in _0x41e1df)_0x41e1df[_0x408101]&&(_0x4a147c&&(_0x4a147c+='\x20'),_0x4a147c+=_0x408101);}}}return _0x4a147c;}function _0x1d00f2(){const _0x71adbb=_0x139045;for(var _0x20c644,_0x3dd8aa,_0x5b40eb=0x0,_0x166e73='',_0x557ac8=arguments[_0x71adbb(0x62b)];_0x5b40eb<_0x557ac8;_0x5b40eb++)(_0x20c644=arguments[_0x5b40eb])&&(_0x3dd8aa=_0x4e2cc2(_0x20c644))&&(_0x166e73&&(_0x166e73+='\x20'),_0x166e73+=_0x3dd8aa);return _0x166e73;}const _0x450aa9={'onlineStatusIcon':_0x139045(0x45e),'onlineStatusTitle':_0x139045(0x35b),'onlineStatus':_0x139045(0x4b5),'online':_0x139045(0x224),'offline':_0x139045(0x279)};function _0x29191e(_0x42436e){const _0x3f22b3=_0x139045;switch(_0x42436e){case _0xd10e72['OFFLINE']:return _0x3f22b3(0x23b);case _0xd10e72[_0x3f22b3(0x54b)]:return'collabStatus.conflict';case _0xd10e72[_0x3f22b3(0x321)]:return _0x3f22b3(0x5ee);case _0xd10e72['NOT_COLLAB']:return'collabStatus.notCollab';case _0xd10e72[_0x3f22b3(0x2e7)]:case _0xd10e72['AWAITING_WITH_PENDING']:return _0x3f22b3(0x596);case _0xd10e72['SYNCED']:case _0xd10e72['PENDING']:return _0x3f22b3(0x1f6);}}function _0x3294e8(_0x31149e){const _0x4dc868=_0x139045,{status$:_0xc9b94c}=_0x31149e,_0x37dbad=_0x332830[_0x4dc868(0x4be)](_0xc9b94c,_0xd10e72[_0x4dc868(0x22a)]),_0x438bfe=_0x170db9[_0x4dc868(0x69a)](_0x170db9[_0x4dc868(0x2bc)]),_0xd4fd3d=_0x170db9['useDependency'](_0x2ebd39[_0x4dc868(0x353)]),_0x4f7d45=_0x37dbad!==_0xd10e72[_0x4dc868(0x21d)],_0x231f56=_0x438bfe['t'](_0x29191e(_0x37dbad)),_0x3c7730=_0x1d00f2(_0x450aa9[_0x4dc868(0x4dc)],{[_0x450aa9[_0x4dc868(0x34f)]]:_0x4f7d45,[_0x450aa9[_0x4dc868(0x272)]]:!_0x4f7d45}),_0x485b6a=_0x4f7d45?_0x3b2d7d[_0x4dc868(0x381)](_0x441a03,{}):_0x3b2d7d['jsx'](_0x50a405,{}),_0x7cd182=_0x16c5c0[_0x4dc868(0x200)](()=>{const _0x481a35=_0x4dc868;_0x4f7d45||_0xd4fd3d[_0x481a35(0x5a7)]();},[_0x4f7d45,_0xd4fd3d]);function _0x5acd90(){const _0x33e42b=_0x4dc868;return _0x3b2d7d[_0x33e42b(0x340)](_0x33e42b(0x542),{'className':_0x3c7730,'onClick':_0x7cd182,'children':[_0x3b2d7d[_0x33e42b(0x381)](_0x33e42b(0x542),{'className':_0x450aa9[_0x33e42b(0x376)],'children':_0x485b6a}),_0x3b2d7d[_0x33e42b(0x381)](_0x33e42b(0x542),{'className':_0x450aa9[_0x33e42b(0x455)],'children':_0x231f56})]});}return _0x4f7d45?_0x5acd90():_0x3b2d7d[_0x4dc868(0x381)](_0x3e1273[_0x4dc868(0x22c)],{'title':_0x438bfe['t'](_0x4dc868(0x3bb)),'children':_0x5acd90()});}var _0x279627=Object[_0x139045(0x620)],_0x3ce642=Object[_0x139045(0x264)],_0x3bcda4=(_0x48c37c,_0x5ab45e,_0x19a3e8,_0x495f17)=>{const _0x2c46ea=_0x139045;for(var _0xef4936=_0x495f17>0x1?void 0x0:_0x495f17?_0x3ce642(_0x5ab45e,_0x19a3e8):_0x5ab45e,_0x1297ef=_0x48c37c[_0x2c46ea(0x62b)]-0x1,_0x4f3b45;_0x1297ef>=0x0;_0x1297ef--)(_0x4f3b45=_0x48c37c[_0x1297ef])&&(_0xef4936=(_0x495f17?_0x4f3b45(_0x5ab45e,_0x19a3e8,_0xef4936):_0x4f3b45(_0xef4936))||_0xef4936);return _0x495f17&&_0xef4936&&_0x279627(_0x5ab45e,_0x19a3e8,_0xef4936),_0xef4936;},_0x20ce52=(_0xdef45,_0x3288d6)=>(_0x5219f8,_0x2ee06f)=>_0x3288d6(_0x5219f8,_0x2ee06f,_0xdef45);_0x2ebd39[_0x139045(0x5a0)]=class extends _0x170db9[_0x139045(0x399)]{constructor(_0x22b8c7,_0x372874,_0x30d655,_0x5d9110){const _0x726fad=_0x139045;super(),_0xee5085(this,_0x726fad(0x413),new _0x145930[(_0x726fad(0x58b))](_0xd10e72[_0x726fad(0x22a)])),(this[_0x726fad(0x230)]=_0x22b8c7,this['_uiPartsService']=_0x372874,this[_0x726fad(0x43f)]=_0x30d655,this[_0x726fad(0x6b6)]=_0x5d9110,this[_0x726fad(0x504)](),this[_0x726fad(0x42d)]());}['_initStatusListener'](){const _0x4a5291=_0x139045;this[_0x4a5291(0x32f)](this[_0x4a5291(0x230)][_0x4a5291(0x695)]['pipe'](_0x145930[_0x4a5291(0x495)](()=>{const _0x5b37b3=_0x4a5291,_0x5ea438=this[_0x5b37b3(0x230)]['getFocusedUnit']();return _0x5ea438?this[_0x5b37b3(0x6b6)]['getCollabEntity$'](_0x5ea438[_0x5b37b3(0x238)]()):_0x145930['of'](null);}),_0x145930[_0x4a5291(0x495)](_0x38a652=>_0x38a652?_0x38a652['status$']:_0x145930['of'](_0xd10e72[_0x4a5291(0x22a)])))['subscribe'](_0x235f1d=>{const _0x19eee3=_0x4a5291;this['_status$'][_0x19eee3(0x4ed)](_0x235f1d);}));}[_0x139045(0x504)](){const _0x1f3a96=_0x139045;this[_0x1f3a96(0x32f)](this['_uiPartsService'][_0x1f3a96(0x472)](_0x332830[_0x1f3a96(0x4e6)]['HEADER_MENU'],()=>_0x170db9[_0x1f3a96(0x38a)](_0x5847d2({'status$':this[_0x1f3a96(0x413)]['asObservable']()}),this[_0x1f3a96(0x43f)])));}},_0x2ebd39['DesktopCollaborationStatusDisplayController']=_0x3bcda4([_0x20ce52(0x0,_0x170db9[_0x139045(0x22f)]),_0x20ce52(0x1,_0x332830[_0x139045(0x4b3)]),_0x20ce52(0x2,_0x170db9['Inject'](_0x170db9[_0x139045(0x667)])),_0x20ce52(0x3,_0x170db9['Inject'](_0x2ebd39['CollaborationController']))],_0x2ebd39[_0x139045(0x5a0)]);function _0x5847d2(_0x3e781a){const {status$:_0x25b2f3}=_0x3e781a;return function(){const _0x475485=_0x10db;return _0x3b2d7d[_0x475485(0x381)](_0x3294e8,{'status$':_0x25b2f3});};}const _0x395cfd=_0x170db9[_0x139045(0x360)]('uni.network.url-service');var _0x232f6e=Object[_0x139045(0x620)],_0x4bae6d=Object[_0x139045(0x264)],_0x40c34b=(_0x2b4b20,_0x13fa4b,_0x3b4952,_0x15df2c)=>{const _0x55167d=_0x139045;for(var _0x33c010=_0x15df2c>0x1?void 0x0:_0x15df2c?_0x4bae6d(_0x13fa4b,_0x3b4952):_0x13fa4b,_0x178ff0=_0x2b4b20[_0x55167d(0x62b)]-0x1,_0x3c1005;_0x178ff0>=0x0;_0x178ff0--)(_0x3c1005=_0x2b4b20[_0x178ff0])&&(_0x33c010=(_0x15df2c?_0x3c1005(_0x13fa4b,_0x3b4952,_0x33c010):_0x3c1005(_0x33c010))||_0x33c010);return _0x15df2c&&_0x33c010&&_0x232f6e(_0x13fa4b,_0x3b4952,_0x33c010),_0x33c010;},_0x336286=(_0x526719,_0x12e0f7)=>(_0x720bd4,_0x2013de)=>_0x12e0f7(_0x720bd4,_0x2013de,_0x526719);_0x2ebd39[_0x139045(0x2c3)]=class extends _0x170db9[_0x139045(0x436)]{constructor(_0x338339,_0x3622f9,_0x58ef85,_0x13217d,_0x5bd1e3,_0x3ec20c){const _0x1eab5c=_0x139045;super(),this['_urlService']=_0x338339,this[_0x1eab5c(0x5b4)]=_0x3622f9,this['_commandService']=_0x58ef85,this['_localCacheService']=_0x13217d,this[_0x1eab5c(0x1e9)]=_0x5bd1e3,_0x3ec20c?_0x3ec20c==null||_0x3ec20c[_0x1eab5c(0x32c)]()['then'](()=>this[_0x1eab5c(0x6b9)]()):(this['_logService'][_0x1eab5c(0x4e1)]('[DataLoaderController]',_0x1eab5c(0x3ff)),this[_0x1eab5c(0x6b9)]());}async[_0x139045(0x6b9)](){const _0x5a15a6=_0x139045,_0x8e2478=this[_0x5a15a6(0x562)][_0x5a15a6(0x68b)]('unit'),_0x1a8374=this[_0x5a15a6(0x562)][_0x5a15a6(0x68b)](_0x5a15a6(0x3e2));if(!_0x8e2478||!_0x1a8374){this['_logService']['debug']('[DataLoaderController]','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}switch(Number(_0x1a8374)){case _0x5950ae[_0x5a15a6(0x696)]:{const _0x3de9b6=await this[_0x5a15a6(0x249)](_0x8e2478);this[_0x5a15a6(0x408)](_0x3de9b6);break;}case _0x5950ae['UNIVER_DOC']:{await this[_0x5a15a6(0x67b)](_0x8e2478);break;}default:{this[_0x5a15a6(0x5b4)][_0x5a15a6(0x406)](_0x5a15a6(0x468),_0x5a15a6(0x1f3));break;}}}async[_0x139045(0x408)](_0x2c9185){const _0x2562ea=_0x139045;await this[_0x2562ea(0x21f)](_0x2c9185),_0x2c9185[_0x2562ea(0x512)][_0x2562ea(0x640)](_0x145930[_0x2562ea(0x28b)](this[_0x2562ea(0x67f)]))[_0x2562ea(0x519)](_0xbfbcc1=>{const _0x5a7033=_0x2562ea;_0xbfbcc1&&this[_0x5a7033(0x260)](_0xbfbcc1);}),this[_0x2562ea(0x562)][_0x2562ea(0x61c)][_0x2562ea(0x640)](_0x145930[_0x2562ea(0x28b)](this['dispose$']))[_0x2562ea(0x519)](()=>this[_0x2562ea(0x21f)](_0x2c9185));}[_0x139045(0x260)](_0x317a90,_0x16d556=!0x1){const _0x995f4e=_0x139045,_0x434731=this[_0x995f4e(0x562)][_0x995f4e(0x68b)]('subunit');_0x317a90['getSheetId']()!==_0x434731&&this['_urlService']['setParam'](_0x995f4e(0x437),_0x317a90[_0x995f4e(0x2be)](),_0x16d556);}async[_0x139045(0x21f)](_0x399041){const _0x21a482=_0x139045;var _0x3b0741;const _0x30c8ea=this['_urlService']['getParam'](_0x21a482(0x437));if(!_0x30c8ea||!_0x399041[_0x21a482(0x47a)](_0x30c8ea)){const _0x53558e=_0x399041[_0x21a482(0x344)]()[0x0],_0x1a1552=_0x399041['getSheetBySheetId'](_0x53558e);if(!_0x1a1552)return;this[_0x21a482(0x260)](_0x1a1552,!0x0),await this[_0x21a482(0x1fb)]['executeCommand'](_0x292e35['SetWorksheetActivateCommand']['id'],{'unitId':_0x399041['getUnitId'](),'subUnitId':_0x53558e});return;}((_0x3b0741=_0x399041['getActiveSheet']())==null?void 0x0:_0x3b0741[_0x21a482(0x2be)]())!==_0x30c8ea&&await this[_0x21a482(0x1fb)][_0x21a482(0x3c3)](_0x292e35[_0x21a482(0x3d6)]['id'],{'unitId':_0x399041[_0x21a482(0x238)](),'subUnitId':_0x30c8ea});}async[_0x139045(0x249)](_0x458d5e){const _0x5c5574=_0x139045;let _0x1bc7c8=0x0;const _0x58fed3=await this[_0x5c5574(0x2f2)]['loadOfflineData'](_0x458d5e);return _0x58fed3&&(_0x58fed3['awaitingChangeset']||_0x58fed3[_0x5c5574(0x29f)][_0x5c5574(0x62b)]!==0x0)&&(_0x1bc7c8=_0x58fed3[_0x5c5574(0x65c)]),_0x1bc7c8===0x0&&this[_0x5c5574(0x5b4)][_0x5c5574(0x4e1)]('[DataLoaderController]','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this['_snapshotService']['loadSheet'](_0x458d5e,_0x1bc7c8);}async[_0x139045(0x67b)](_0x56ea99){const _0x3ddd30=_0x139045;let _0x1fdeaf=0x0;const _0x5b60e6=await this[_0x3ddd30(0x2f2)][_0x3ddd30(0x3e0)](_0x56ea99);return _0x5b60e6&&(_0x5b60e6[_0x3ddd30(0x243)]||_0x5b60e6[_0x3ddd30(0x29f)][_0x3ddd30(0x62b)]!==0x0)&&(_0x1fdeaf=_0x5b60e6['rev']),_0x1fdeaf===0x0&&this[_0x3ddd30(0x5b4)][_0x3ddd30(0x4e1)](_0x3ddd30(0x468),_0x3ddd30(0x513)),this[_0x3ddd30(0x1e9)]['loadDoc'](_0x56ea99,_0x1fdeaf);}},_0x2ebd39['DataLoaderController']=_0x40c34b([_0x336286(0x0,_0x395cfd),_0x336286(0x1,_0x170db9[_0x139045(0x686)]),_0x336286(0x2,_0x170db9['ICommandService']),_0x336286(0x3,_0x170db9['Inject'](_0x2ebd39[_0x139045(0x477)])),_0x336286(0x4,_0x170db9[_0x139045(0x283)](_0x294b4b[_0x139045(0x2b3)])),_0x336286(0x5,_0x170db9[_0x139045(0x635)](_0x3227e1[_0x139045(0x5df)]))],_0x2ebd39[_0x139045(0x2c3)]);var _0x5b885e=Object['defineProperty'],_0x40c6d3=Object['getOwnPropertyDescriptor'],_0x176149=(_0x5d519d,_0x204ed0,_0x1bc4a0,_0x49b452)=>{const _0x154c30=_0x139045;for(var _0x27f359=_0x49b452>0x1?void 0x0:_0x49b452?_0x40c6d3(_0x204ed0,_0x1bc4a0):_0x204ed0,_0x419b78=_0x5d519d[_0x154c30(0x62b)]-0x1,_0x5ee773;_0x419b78>=0x0;_0x419b78--)(_0x5ee773=_0x5d519d[_0x419b78])&&(_0x27f359=(_0x49b452?_0x5ee773(_0x204ed0,_0x1bc4a0,_0x27f359):_0x5ee773(_0x27f359))||_0x27f359);return _0x49b452&&_0x27f359&&_0x5b885e(_0x204ed0,_0x1bc4a0,_0x27f359),_0x27f359;},_0x3f56f8=(_0x29d2d7,_0x55d0fc)=>(_0x10e401,_0xf5e74)=>_0x55d0fc(_0x10e401,_0xf5e74,_0x29d2d7);const _0x5b5166=_0x139045(0x4d0),_0x35a4c0=_0x139045(0x583);let _0x444c85=class extends _0x170db9[_0x139045(0x399)]{constructor(_0x20ee52,_0xbf6171){const _0x3dd505=_0x139045;super(),this[_0x3dd505(0x230)]=_0x20ee52,this[_0x3dd505(0x397)]=_0xbf6171,this[_0x3dd505(0x6b9)]();}[_0x139045(0x6b9)](){const _0x344642=_0x139045;this[_0x344642(0x32f)](this[_0x344642(0x230)]['focused$'][_0x344642(0x519)](()=>{const _0x5a908c=_0x344642;var _0x3c2ac6;const _0x1576d0=this[_0x5a908c(0x230)]['getFocusedUnit']();let _0x5b4929=(_0x3c2ac6=this[_0x5a908c(0x397)][_0x5a908c(0x34b)](_0x5b5166))!=null?_0x3c2ac6:_0x35a4c0;_0x1576d0 instanceof _0x170db9['Workbook']&&(_0x5b4929=_0x1576d0[_0x5a908c(0x566)]),document['title']=_0x5b4929;}));}};_0x444c85=_0x176149([_0x3f56f8(0x0,_0x170db9['IUniverInstanceService']),_0x3f56f8(0x1,_0x170db9[_0x139045(0x57a)])],_0x444c85);var _0x5f27c2=Object['defineProperty'],_0xee7c02=Object['getOwnPropertyDescriptor'],_0x458e42=(_0x305b45,_0x163459,_0x1e2ea3,_0x3f5710)=>{for(var _0x410713=_0x3f5710>0x1?void 0x0:_0x3f5710?_0xee7c02(_0x163459,_0x1e2ea3):_0x163459,_0x3aef98=_0x305b45['length']-0x1,_0x4ab1c1;_0x3aef98>=0x0;_0x3aef98--)(_0x4ab1c1=_0x305b45[_0x3aef98])&&(_0x410713=(_0x3f5710?_0x4ab1c1(_0x163459,_0x1e2ea3,_0x410713):_0x4ab1c1(_0x410713))||_0x410713);return _0x3f5710&&_0x410713&&_0x5f27c2(_0x163459,_0x1e2ea3,_0x410713),_0x410713;},_0x302ad6=(_0x50b3a3,_0x226e65)=>(_0xa7e6f4,_0x1e29b8)=>_0x226e65(_0xa7e6f4,_0x1e29b8,_0x50b3a3);let _0x16eff6=class{constructor(_0x505ff4,_0x1e7e4b,_0x466896){const _0x12db0e=_0x139045;this[_0x12db0e(0x397)]=_0x505ff4,this[_0x12db0e(0x517)]=_0x1e7e4b,this[_0x12db0e(0x452)]=_0x466896,this[_0x12db0e(0x4a1)]();}['init'](){const _0x3ead66=_0x139045;this['_httpService'][_0x3ead66(0x1fd)]({'priority':0x1,'interceptor':(_0x5027a6,_0x4a97df)=>_0x4a97df(_0x5027a6)[_0x3ead66(0x640)](_0x145930[_0x3ead66(0x628)](async _0x393f05=>{const _0x17c3bb=_0x3ead66,_0x42465e=_0x393f05;if(_0x42465e[_0x17c3bb(0x5f4)]===0x191&&window[_0x17c3bb(0x6b3)](this[_0x17c3bb(0x452)]['t'](_0x17c3bb(0x297)))){const _0x22750d=window['encodeURIComponent'](window[_0x17c3bb(0x41d)]['href']);window['location'][_0x17c3bb(0x6a4)]=this['_getLoginPath']()+'?url='+_0x22750d;}return _0x42465e;}))});}[_0x139045(0x492)](){const _0x5ef21b=_0x139045;var _0x3eaa9a,_0x50c201;const _0x3eb22a=this[_0x5ef21b(0x397)][_0x5ef21b(0x34b)](_0x3cb970),_0x5323f2=this[_0x5ef21b(0x397)][_0x5ef21b(0x34b)](_0x2cc87b);return(_0x50c201=(_0x3eaa9a=_0x5323f2==null?void 0x0:_0x5323f2[_0x5ef21b(0x40b)])!=null?_0x3eaa9a:_0x3eb22a)!=null?_0x50c201:_0x421a0a;}};_0x16eff6=_0x458e42([_0x302ad6(0x0,_0x170db9[_0x139045(0x57a)]),_0x302ad6(0x1,_0x170db9['Inject'](_0x2e400a[_0x139045(0x201)])),_0x302ad6(0x2,_0x170db9['Inject'](_0x170db9[_0x139045(0x2bc)]))],_0x16eff6);var _0x2e6123=Object[_0x139045(0x620)],_0x2962b7=Object['getOwnPropertyDescriptor'],_0xb04506=(_0x198ede,_0x5ef0e6,_0x5996ea,_0x25d9ae)=>{const _0x522c47=_0x139045;for(var _0x3e0319=_0x25d9ae>0x1?void 0x0:_0x25d9ae?_0x2962b7(_0x5ef0e6,_0x5996ea):_0x5ef0e6,_0x488d55=_0x198ede[_0x522c47(0x62b)]-0x1,_0x37cbb4;_0x488d55>=0x0;_0x488d55--)(_0x37cbb4=_0x198ede[_0x488d55])&&(_0x3e0319=(_0x25d9ae?_0x37cbb4(_0x5ef0e6,_0x5996ea,_0x3e0319):_0x37cbb4(_0x3e0319))||_0x3e0319);return _0x25d9ae&&_0x3e0319&&_0x2e6123(_0x5ef0e6,_0x5996ea,_0x3e0319),_0x3e0319;},_0x276f51=(_0x2ea835,_0x3619a6)=>(_0xdf8312,_0x3ce287)=>_0x3619a6(_0xdf8312,_0x3ce287,_0x2ea835);const _0xe9baf9='AUTHZ_URL_KEY',_0x215dc3=_0x139045(0x5c4);_0x2ebd39[_0x139045(0x3d5)]=class extends _0x170db9[_0x139045(0x399)]{constructor(_0x1c996a,_0x5cf74e){const _0x50aaa2=_0x139045;super(),this['_HTTPService']=_0x1c996a,this[_0x50aaa2(0x397)]=_0x5cf74e,this[_0x50aaa2(0x533)]();}['_initMergeInterceptor'](){const _0x25d510=_0x139045,_0x2f8cea=this;this[_0x25d510(0x32f)](this[_0x25d510(0x5b1)]['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':_0x2e400a['MergeInterceptorFactory']({'isMatch'(_0x353629){const _0x5972bf=_0x25d510;var _0x54ae4b;if(_0x353629[_0x5972bf(0x458)]==='POST'&&((_0x54ae4b=_0x353629[_0x5972bf(0x699)])!=null&&_0x54ae4b[_0x5972bf(0x43e)])){const {objectID:_0x5984b7,objectType:_0xa5e6c6}=_0x353629[_0x5972bf(0x699)][_0x5972bf(0x43e)]||{};if(!_0x5984b7||_0xa5e6c6===void 0x0)return!0x1;const _0x8f3bb8=_0x2f8cea[_0x5972bf(0x3c4)]()+'/'+_0xa5e6c6+'/object/'+_0x5984b7+_0x5972bf(0x4eb);if(_0x353629[_0x5972bf(0x64f)]===_0x8f3bb8)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x2b00b6){const _0x40a8eb=_0x25d510;var _0x233e20;return(_0x233e20=_0x2b00b6[_0x40a8eb(0x699)])==null?void 0x0:_0x233e20[_0x40a8eb(0x43e)];},'mergeParamsToRequest'(_0x3aadf8,_0x568aec){const _0x566543=_0x25d510,_0x55dabd=_0x2f8cea['_getAPIPrefixPath']()+'/-/object/-/batch_allowed',_0x3a41fb=_0x3aadf8[_0x566543(0x2c8)]((_0x541bc5,_0x4ad73c)=>{const _0xc634b8=_0x566543,{unitID:_0x248387,objectID:_0x16a004,objectType:_0x51453b,actions:_0x56ec8d}=_0x4ad73c;return _0x541bc5[_0x248387]||(_0x541bc5[_0x248387]={}),_0x541bc5[_0x248387][_0x16a004]||(_0x541bc5[_0x248387][_0x16a004]={'objectID':_0x16a004,'objectType':_0x51453b,'actions':[]}),_0x541bc5[_0x248387][_0x16a004][_0xc634b8(0x4c3)]['push'](..._0x56ec8d),_0x541bc5;},{}),_0x26db27=[];for(const _0x29ec37 in _0x3a41fb)for(const _0x1acbea in _0x3a41fb[_0x29ec37]){const {actions:_0x2cf14d,objectType:_0x108e0d}=_0x3a41fb[_0x29ec37][_0x1acbea],_0x323f5e=[...new Set(_0x2cf14d)];_0x26db27['push']({'unitID':_0x29ec37,'objectID':_0x1acbea,'objectType':_0x108e0d,'actions':_0x323f5e});}return new _0x2e400a[(_0x566543(0x5cf))]('POST',_0x55dabd,{'headers':_0x568aec[_0x566543(0x4b6)],'withCredentials':_0x568aec['withCredentials'],'responseType':_0x568aec[_0x566543(0x2cb)],'body':{'requests':_0x26db27}});}},{'distributeResult'(_0x1bf2b7,_0x4b1a30){const _0x56d145=_0x25d510,{objectActions:_0x229715}=_0x1bf2b7;return _0x4b1a30[_0x56d145(0x33a)](_0x2dce28=>{const _0x5788f4=_0x56d145,{unitID:_0x3d58ed,objectID:_0x150d79,actions:_0x1bb768}=_0x2dce28,_0x1cb728=_0x229715['find'](_0x1d89e6=>_0x1d89e6[_0x5788f4(0x4ee)]===_0x3d58ed&&_0x1d89e6['objectID']===_0x150d79),_0x5ac04d=_0x1bb768[_0x5788f4(0x33a)](_0x436f2d=>_0x1cb728==null?void 0x0:_0x1cb728[_0x5788f4(0x4c3)][_0x5788f4(0x6a1)](_0x234a96=>_0x234a96[_0x5788f4(0x528)]===_0x436f2d))[_0x5788f4(0x296)](_0x5a0c75=>!!_0x5a0c75);return{'config':_0x2dce28,'result':{'actions':_0x5ac04d,'error':_0x1bf2b7['error']}};});}})}));}['_getAPIPrefixPath'](){const _0x237e49=_0x139045;var _0x35d280,_0x854d15;const _0x23608d=this[_0x237e49(0x397)][_0x237e49(0x34b)](_0xe9baf9),_0x59e85e=this[_0x237e49(0x397)][_0x237e49(0x34b)](_0x2cc87b);return(_0x854d15=(_0x35d280=_0x59e85e==null?void 0x0:_0x59e85e[_0x237e49(0x292)])!=null?_0x35d280:_0x23608d)!=null?_0x854d15:_0x215dc3;}async['create'](_0x7ccd72){const _0x39017d=_0x139045,_0x4ae375=this[_0x39017d(0x3c4)]()+'/'+_0x7ccd72[_0x39017d(0x5a6)]+_0x39017d(0x31c);return(await this[_0x39017d(0x5b1)][_0x39017d(0x564)](_0x4ae375,{'body':_0x7ccd72}))[_0x39017d(0x43e)][_0x39017d(0x491)]||'';}async[_0x139045(0x1ef)](_0x154878){const _0x514252=_0x139045,_0x3af453=this[_0x514252(0x3c4)]()+_0x514252(0x3db);return(await this[_0x514252(0x5b1)]['post'](_0x3af453,{'body':_0x154878}))[_0x514252(0x43e)][_0x514252(0x5d6)];}async[_0x139045(0x431)](_0x17a81d){const _0xfe2030=_0x139045,_0x21647e=this[_0xfe2030(0x3c4)]()+'/'+_0x17a81d[_0xfe2030(0x5a6)]+_0xfe2030(0x59b)+_0x17a81d['objectID'];await this['_HTTPService'][_0xfe2030(0x561)](_0x21647e,{'body':_0x17a81d});}async['allowed'](_0x507134){const _0x52724d=_0x139045,_0x2122bc=this[_0x52724d(0x3c4)]()+'/'+_0x507134[_0x52724d(0x5a6)]+_0x52724d(0x59b)+_0x507134['objectID']+'/allowed';return(await this[_0x52724d(0x5b1)][_0x52724d(0x564)](_0x2122bc,{'body':_0x507134}))['body']['actions'];}async['batchAllowed'](_0x4e6430){const _0x4d3f7a=_0x139045,_0x50c874=this[_0x4d3f7a(0x3c4)]()+_0x4d3f7a(0x21b);return(await this[_0x4d3f7a(0x5b1)][_0x4d3f7a(0x564)](_0x50c874,{'body':{'requests':_0x4e6430}}))[_0x4d3f7a(0x43e)][_0x4d3f7a(0x3b9)];}async[_0x139045(0x5c5)](_0x4f100b){const _0x5980ee=_0x139045,_0x2a917d=this[_0x5980ee(0x3c4)]()+'/'+_0x4f100b[_0x5980ee(0x5a6)]+_0x5980ee(0x4dd),_0x1d30d8=await this['_HTTPService']['post'](_0x2a917d,{'body':_0x4f100b});return{'roles':_0x1d30d8[_0x5980ee(0x43e)][_0x5980ee(0x23f)],'actions':_0x1d30d8['body'][_0x5980ee(0x4c3)]};}async[_0x139045(0x2f3)](_0x3fce4b){const _0x3e5a01=_0x139045,_0x1d0460=this[_0x3e5a01(0x3c4)]()+_0x3e5a01(0x6bb);await this[_0x3e5a01(0x5b1)]['delete'](_0x1d0460,{'params':{'collaboratorID':_0x3fce4b['collaboratorID'],'objectID':_0x3fce4b[_0x3e5a01(0x491)],'unitID':_0x3fce4b[_0x3e5a01(0x4ee)]}});}async[_0x139045(0x33f)](_0x133f48){const _0x11cebe=_0x139045,_0xaf46fc=this[_0x11cebe(0x3c4)]()+_0x11cebe(0x6bb);await this[_0x11cebe(0x5b1)][_0x11cebe(0x5e4)](_0xaf46fc,{'body':_0x133f48});}async[_0x139045(0x638)](_0x149bcd){const _0x4a61da=_0x139045,_0x4beec6=this[_0x4a61da(0x3c4)]()+'/collaborator';await this['_HTTPService']['post'](_0x4beec6,{'body':_0x149bcd});}async['listCollaborators'](_0x38972){const _0x5a19df=_0x139045,_0x5a62b7=this[_0x5a19df(0x3c4)]()+_0x5a19df(0x6bb);return(await this[_0x5a19df(0x5b1)][_0x5a19df(0x51c)](_0x5a62b7,{'params':{'objectID':_0x38972['objectID'],'unitID':_0x38972[_0x5a19df(0x4ee)]}}))[_0x5a19df(0x43e)]['collaborators'];}async[_0x139045(0x465)](_0x406ec0){const _0x5e99eb=_0x139045,_0x3ae7c7=this[_0x5e99eb(0x3c4)]()+_0x5e99eb(0x6bb);await this[_0x5e99eb(0x5b1)][_0x5e99eb(0x561)](_0x3ae7c7,{'body':_0x406ec0});}},_0x2ebd39[_0x139045(0x3d5)]=_0xb04506([_0x276f51(0x0,_0x170db9[_0x139045(0x283)](_0x2e400a[_0x139045(0x201)])),_0x276f51(0x1,_0x170db9['Inject'](_0x170db9[_0x139045(0x57a)]))],_0x2ebd39[_0x139045(0x3d5)]);var _0x5668c1={'exports':{}};function _0x234a19(_0x59cf4d){const _0x10de30=_0x139045;throw new Error('Could\x20not\x20dynamically\x20require\x20\x22'+_0x59cf4d+_0x10de30(0x307));}var _0x37621c={'exports':{}},_0x5df769;function _0x4d115a(){const _0x5b95ce=_0x139045;return _0x5df769||(_0x5df769=0x1,function(_0x2a6407,_0x1eba48){(function(_0x23759c,_0x391ae5){const _0x57fe09=_0x10db;_0x2a6407[_0x57fe09(0x5a4)]=_0x391ae5();}(_0x4dbd98,function(){var _0x55425f=_0x55425f||function(_0x243700,_0x36232a){const _0x25b424=_0x10db;var _0xb13894;if(typeof window<'u'&&window['crypto']&&(_0xb13894=window['crypto']),typeof self<'u'&&self[_0x25b424(0x462)]&&(_0xb13894=self['crypto']),typeof globalThis<'u'&&globalThis[_0x25b424(0x462)]&&(_0xb13894=globalThis[_0x25b424(0x462)]),!_0xb13894&&typeof window<'u'&&window[_0x25b424(0x2f6)]&&(_0xb13894=window[_0x25b424(0x2f6)]),!_0xb13894&&typeof _0x4dbd98<'u'&&_0x4dbd98[_0x25b424(0x462)]&&(_0xb13894=_0x4dbd98[_0x25b424(0x462)]),!_0xb13894&&typeof _0x234a19==_0x25b424(0x231))try{_0xb13894=require(_0x25b424(0x462));}catch{}var _0x58afc7=function(){const _0x5762a1=_0x25b424;if(_0xb13894){if(typeof _0xb13894[_0x5762a1(0x3d1)]==_0x5762a1(0x231))try{return _0xb13894[_0x5762a1(0x3d1)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0xb13894['randomBytes']==_0x5762a1(0x231))try{return _0xb13894[_0x5762a1(0x442)](0x4)[_0x5762a1(0x3ed)]();}catch{}}throw new Error(_0x5762a1(0x672));},_0x159c3b=Object[_0x25b424(0x60e)]||(function(){function _0x1eacb6(){}return function(_0x53343c){const _0x4a659c=_0x10db;var _0x5bd70c;return _0x1eacb6[_0x4a659c(0x216)]=_0x53343c,_0x5bd70c=new _0x1eacb6(),_0x1eacb6[_0x4a659c(0x216)]=null,_0x5bd70c;};}()),_0x4ac477={},_0x47b23f=_0x4ac477[_0x25b424(0x30d)]={},_0x502727=_0x47b23f[_0x25b424(0x28e)]=(function(){return{'extend':function(_0x350c75){const _0x2eecad=_0x10db;var _0x51f0ea=_0x159c3b(this);return _0x350c75&&_0x51f0ea[_0x2eecad(0x37d)](_0x350c75),(!_0x51f0ea[_0x2eecad(0x2ac)](_0x2eecad(0x4a1))||this[_0x2eecad(0x4a1)]===_0x51f0ea[_0x2eecad(0x4a1)])&&(_0x51f0ea['init']=function(){const _0x5ad9b5=_0x2eecad;_0x51f0ea[_0x5ad9b5(0x632)][_0x5ad9b5(0x4a1)][_0x5ad9b5(0x221)](this,arguments);}),_0x51f0ea[_0x2eecad(0x4a1)][_0x2eecad(0x216)]=_0x51f0ea,_0x51f0ea[_0x2eecad(0x632)]=this,_0x51f0ea;},'create':function(){const _0x429efc=_0x10db;var _0xff717e=this[_0x429efc(0x263)]();return _0xff717e[_0x429efc(0x4a1)]['apply'](_0xff717e,arguments),_0xff717e;},'init':function(){},'mixIn':function(_0xc25525){const _0x39726b=_0x10db;for(var _0x27abfc in _0xc25525)_0xc25525[_0x39726b(0x2ac)](_0x27abfc)&&(this[_0x27abfc]=_0xc25525[_0x27abfc]);_0xc25525[_0x39726b(0x2ac)](_0x39726b(0x2eb))&&(this['toString']=_0xc25525[_0x39726b(0x2eb)]);},'clone':function(){const _0x25cdf6=_0x10db;return this[_0x25cdf6(0x4a1)][_0x25cdf6(0x216)][_0x25cdf6(0x263)](this);}};}()),_0x41fc09=_0x47b23f[_0x25b424(0x3a5)]=_0x502727[_0x25b424(0x263)]({'init':function(_0x5dc758,_0x22f7cb){const _0x225c5f=_0x25b424;_0x5dc758=this[_0x225c5f(0x202)]=_0x5dc758||[],_0x22f7cb!=_0x36232a?this[_0x225c5f(0x481)]=_0x22f7cb:this['sigBytes']=_0x5dc758[_0x225c5f(0x62b)]*0x4;},'toString':function(_0x821f15){return(_0x821f15||_0x22ade2)['stringify'](this);},'concat':function(_0x24e683){const _0x202715=_0x25b424;var _0x119ed3=this[_0x202715(0x202)],_0x1eed5a=_0x24e683[_0x202715(0x202)],_0x5e0bc6=this[_0x202715(0x481)],_0xde4ed5=_0x24e683[_0x202715(0x481)];if(this[_0x202715(0x473)](),_0x5e0bc6%0x4)for(var _0x468014=0x0;_0x468014<_0xde4ed5;_0x468014++){var _0x26e427=_0x1eed5a[_0x468014>>>0x2]>>>0x18-_0x468014%0x4*0x8&0xff;_0x119ed3[_0x5e0bc6+_0x468014>>>0x2]|=_0x26e427<<0x18-(_0x5e0bc6+_0x468014)%0x4*0x8;}else{for(var _0x235e94=0x0;_0x235e94<_0xde4ed5;_0x235e94+=0x4)_0x119ed3[_0x5e0bc6+_0x235e94>>>0x2]=_0x1eed5a[_0x235e94>>>0x2];}return this[_0x202715(0x481)]+=_0xde4ed5,this;},'clamp':function(){const _0x362b2c=_0x25b424;var _0x135f52=this[_0x362b2c(0x202)],_0x4f10a0=this[_0x362b2c(0x481)];_0x135f52[_0x4f10a0>>>0x2]&=0xffffffff<<0x20-_0x4f10a0%0x4*0x8,_0x135f52[_0x362b2c(0x62b)]=_0x243700[_0x362b2c(0x330)](_0x4f10a0/0x4);},'clone':function(){const _0x4e91ea=_0x25b424;var _0x1b6ad6=_0x502727['clone'][_0x4e91ea(0x2b0)](this);return _0x1b6ad6[_0x4e91ea(0x202)]=this['words'][_0x4e91ea(0x2b1)](0x0),_0x1b6ad6;},'random':function(_0x5305cb){const _0x1f1304=_0x25b424;for(var _0x7648a0=[],_0x1aefa9=0x0;_0x1aefa9<_0x5305cb;_0x1aefa9+=0x4)_0x7648a0['push'](_0x58afc7());return new _0x41fc09[(_0x1f1304(0x4a1))](_0x7648a0,_0x5305cb);}}),_0x148d7c=_0x4ac477[_0x25b424(0x388)]={},_0x22ade2=_0x148d7c[_0x25b424(0x239)]={'stringify':function(_0x6bf4ba){const _0x16f5b1=_0x25b424;for(var _0x13219c=_0x6bf4ba['words'],_0x2bd3dc=_0x6bf4ba[_0x16f5b1(0x481)],_0x5e25e9=[],_0x3a076a=0x0;_0x3a076a<_0x2bd3dc;_0x3a076a++){var _0x4acb9a=_0x13219c[_0x3a076a>>>0x2]>>>0x18-_0x3a076a%0x4*0x8&0xff;_0x5e25e9['push']((_0x4acb9a>>>0x4)[_0x16f5b1(0x2eb)](0x10)),_0x5e25e9['push']((_0x4acb9a&0xf)[_0x16f5b1(0x2eb)](0x10));}return _0x5e25e9[_0x16f5b1(0x274)]('');},'parse':function(_0x1d34ac){const _0x1e6b34=_0x25b424;for(var _0x12b430=_0x1d34ac[_0x1e6b34(0x62b)],_0xa73310=[],_0xf8b33d=0x0;_0xf8b33d<_0x12b430;_0xf8b33d+=0x2)_0xa73310[_0xf8b33d>>>0x3]|=parseInt(_0x1d34ac[_0x1e6b34(0x4a4)](_0xf8b33d,0x2),0x10)<<0x18-_0xf8b33d%0x8*0x4;return new _0x41fc09[(_0x1e6b34(0x4a1))](_0xa73310,_0x12b430/0x2);}},_0x2330bf=_0x148d7c[_0x25b424(0x62c)]={'stringify':function(_0xc5a729){const _0x295045=_0x25b424;for(var _0x3591c6=_0xc5a729[_0x295045(0x202)],_0xfe72ee=_0xc5a729['sigBytes'],_0x39a4aa=[],_0x595900=0x0;_0x595900<_0xfe72ee;_0x595900++){var _0x4bd867=_0x3591c6[_0x595900>>>0x2]>>>0x18-_0x595900%0x4*0x8&0xff;_0x39a4aa[_0x295045(0x2fc)](String[_0x295045(0x3ef)](_0x4bd867));}return _0x39a4aa['join']('');},'parse':function(_0x54bc46){const _0x3e0b21=_0x25b424;for(var _0xbafe9d=_0x54bc46[_0x3e0b21(0x62b)],_0x3c578b=[],_0x3006b2=0x0;_0x3006b2<_0xbafe9d;_0x3006b2++)_0x3c578b[_0x3006b2>>>0x2]|=(_0x54bc46[_0x3e0b21(0x25c)](_0x3006b2)&0xff)<<0x18-_0x3006b2%0x4*0x8;return new _0x41fc09[(_0x3e0b21(0x4a1))](_0x3c578b,_0xbafe9d);}},_0x4b5735=_0x148d7c[_0x25b424(0x5cc)]={'stringify':function(_0xb9c695){const _0x3edfce=_0x25b424;try{return decodeURIComponent(escape(_0x2330bf[_0x3edfce(0x658)](_0xb9c695)));}catch{throw new Error(_0x3edfce(0x291));}},'parse':function(_0x30b499){const _0x310e26=_0x25b424;return _0x2330bf[_0x310e26(0x597)](unescape(encodeURIComponent(_0x30b499)));}},_0x4d7f98=_0x47b23f[_0x25b424(0x5d8)]=_0x502727[_0x25b424(0x263)]({'reset':function(){const _0x34b81b=_0x25b424;this[_0x34b81b(0x214)]=new _0x41fc09['init'](),this[_0x34b81b(0x4bf)]=0x0;},'_append':function(_0x2be1e6){const _0x141665=_0x25b424;typeof _0x2be1e6=='string'&&(_0x2be1e6=_0x4b5735[_0x141665(0x597)](_0x2be1e6)),this[_0x141665(0x214)]['concat'](_0x2be1e6),this[_0x141665(0x4bf)]+=_0x2be1e6['sigBytes'];},'_process':function(_0x165f5a){const _0x45c981=_0x25b424;var _0x3e1235,_0x564901=this[_0x45c981(0x214)],_0x1eeb18=_0x564901[_0x45c981(0x202)],_0x37fddd=_0x564901[_0x45c981(0x481)],_0x5c7540=this[_0x45c981(0x36c)],_0x1839f2=_0x5c7540*0x4,_0x173dab=_0x37fddd/_0x1839f2;_0x165f5a?_0x173dab=_0x243700[_0x45c981(0x330)](_0x173dab):_0x173dab=_0x243700['max']((_0x173dab|0x0)-this[_0x45c981(0x574)],0x0);var _0x3d828d=_0x173dab*_0x5c7540,_0x11bd49=_0x243700[_0x45c981(0x5f0)](_0x3d828d*0x4,_0x37fddd);if(_0x3d828d){for(var _0x3c5a45=0x0;_0x3c5a45<_0x3d828d;_0x3c5a45+=_0x5c7540)this['_doProcessBlock'](_0x1eeb18,_0x3c5a45);_0x3e1235=_0x1eeb18[_0x45c981(0x3e7)](0x0,_0x3d828d),_0x564901[_0x45c981(0x481)]-=_0x11bd49;}return new _0x41fc09[(_0x45c981(0x4a1))](_0x3e1235,_0x11bd49);},'clone':function(){const _0x35ec36=_0x25b424;var _0x552f00=_0x502727[_0x35ec36(0x567)][_0x35ec36(0x2b0)](this);return _0x552f00[_0x35ec36(0x214)]=this[_0x35ec36(0x214)]['clone'](),_0x552f00;},'_minBufferSize':0x0});_0x47b23f['Hasher']=_0x4d7f98[_0x25b424(0x263)]({'cfg':_0x502727[_0x25b424(0x263)](),'init':function(_0x101252){const _0x4f8a86=_0x25b424;this[_0x4f8a86(0x60d)]=this[_0x4f8a86(0x60d)]['extend'](_0x101252),this[_0x4f8a86(0x580)]();},'reset':function(){const _0x880fc8=_0x25b424;_0x4d7f98['reset']['call'](this),this[_0x880fc8(0x50a)]();},'update':function(_0x177403){const _0x1e0b9f=_0x25b424;return this[_0x1e0b9f(0x646)](_0x177403),this[_0x1e0b9f(0x59e)](),this;},'finalize':function(_0x1bc948){const _0x26e95b=_0x25b424;_0x1bc948&&this[_0x26e95b(0x646)](_0x1bc948);var _0x51f894=this['_doFinalize']();return _0x51f894;},'blockSize':0x10,'_createHelper':function(_0x25154d){return function(_0x58e7d3,_0x6b434a){const _0x4146cb=_0x10db;return new _0x25154d[(_0x4146cb(0x4a1))](_0x6b434a)['finalize'](_0x58e7d3);};},'_createHmacHelper':function(_0x5ae89f){return function(_0x2c4fcc,_0xad4ccb){const _0x43053e=_0x10db;return new _0x9d7cf9[(_0x43053e(0x4bc))][(_0x43053e(0x4a1))](_0x5ae89f,_0xad4ccb)['finalize'](_0x2c4fcc);};}});var _0x9d7cf9=_0x4ac477[_0x25b424(0x4cd)]={};return _0x4ac477;}(Math);return _0x55425f;}));}(_0x37621c)),_0x37621c[_0x5b95ce(0x5a4)];}var _0x488471={'exports':{}},_0x5080b7;function _0x531993(){const _0xb13cfe=_0x139045;return _0x5080b7||(_0x5080b7=0x1,function(_0x333ef5,_0x2306ae){(function(_0x3360d0,_0x9c921e){_0x333ef5['exports']=_0x9c921e(_0x4d115a());}(_0x4dbd98,function(_0x50fbcc){const _0x5e86b8=_0x10db;return(function(){const _0x13e5dc=_0x10db;var _0x5a9038=_0x50fbcc,_0x2d63f1=_0x5a9038[_0x13e5dc(0x30d)],_0x3876a3=_0x2d63f1[_0x13e5dc(0x3a5)],_0xc79d1d=_0x5a9038[_0x13e5dc(0x388)];_0xc79d1d[_0x13e5dc(0x58d)]={'stringify':function(_0x4b1950){const _0x406ff5=_0x13e5dc;var _0x53d48f=_0x4b1950[_0x406ff5(0x202)],_0x26a674=_0x4b1950[_0x406ff5(0x481)],_0x35271e=this[_0x406ff5(0x541)];_0x4b1950[_0x406ff5(0x473)]();for(var _0x5c33dc=[],_0x286bc2=0x0;_0x286bc2<_0x26a674;_0x286bc2+=0x3)for(var _0x4320cc=_0x53d48f[_0x286bc2>>>0x2]>>>0x18-_0x286bc2%0x4*0x8&0xff,_0x2621a1=_0x53d48f[_0x286bc2+0x1>>>0x2]>>>0x18-(_0x286bc2+0x1)%0x4*0x8&0xff,_0x461725=_0x53d48f[_0x286bc2+0x2>>>0x2]>>>0x18-(_0x286bc2+0x2)%0x4*0x8&0xff,_0x4be2b1=_0x4320cc<<0x10|_0x2621a1<<0x8|_0x461725,_0x2d5e56=0x0;_0x2d5e56<0x4&&_0x286bc2+_0x2d5e56*0.75<_0x26a674;_0x2d5e56++)_0x5c33dc[_0x406ff5(0x2fc)](_0x35271e[_0x406ff5(0x48f)](_0x4be2b1>>>0x6*(0x3-_0x2d5e56)&0x3f));var _0x3d6ac5=_0x35271e[_0x406ff5(0x48f)](0x40);if(_0x3d6ac5){for(;_0x5c33dc[_0x406ff5(0x62b)]%0x4;)_0x5c33dc[_0x406ff5(0x2fc)](_0x3d6ac5);}return _0x5c33dc['join']('');},'parse':function(_0x386244){const _0x3ec48f=_0x13e5dc;var _0x3721b6=_0x386244[_0x3ec48f(0x62b)],_0x1f7ff9=this['_map'],_0x53a9f6=this[_0x3ec48f(0x668)];if(!_0x53a9f6){_0x53a9f6=this[_0x3ec48f(0x668)]=[];for(var _0x5e318a=0x0;_0x5e318a<_0x1f7ff9[_0x3ec48f(0x62b)];_0x5e318a++)_0x53a9f6[_0x1f7ff9['charCodeAt'](_0x5e318a)]=_0x5e318a;}var _0x5ae739=_0x1f7ff9[_0x3ec48f(0x48f)](0x40);if(_0x5ae739){var _0xd46b6f=_0x386244[_0x3ec48f(0x573)](_0x5ae739);_0xd46b6f!==-0x1&&(_0x3721b6=_0xd46b6f);}return _0x4c6cca(_0x386244,_0x3721b6,_0x53a9f6);},'_map':'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/='};function _0x4c6cca(_0x3268a0,_0x579c01,_0x3e3cb8){const _0xfd40b2=_0x13e5dc;for(var _0x46c425=[],_0x30df26=0x0,_0x4b41b5=0x0;_0x4b41b5<_0x579c01;_0x4b41b5++)if(_0x4b41b5%0x4){var _0x2b3eda=_0x3e3cb8[_0x3268a0[_0xfd40b2(0x25c)](_0x4b41b5-0x1)]<<_0x4b41b5%0x4*0x2,_0x57658f=_0x3e3cb8[_0x3268a0['charCodeAt'](_0x4b41b5)]>>>0x6-_0x4b41b5%0x4*0x2,_0xbc810e=_0x2b3eda|_0x57658f;_0x46c425[_0x30df26>>>0x2]|=_0xbc810e<<0x18-_0x30df26%0x4*0x8,_0x30df26++;}return _0x3876a3[_0xfd40b2(0x60e)](_0x46c425,_0x30df26);}}()),_0x50fbcc[_0x5e86b8(0x388)][_0x5e86b8(0x58d)];}));}(_0x488471)),_0x488471[_0xb13cfe(0x5a4)];}var _0x1ca78a={'exports':{}},_0x10b8d0;function _0x5043eb(){const _0x3a1114=_0x139045;return _0x10b8d0||(_0x10b8d0=0x1,function(_0x1df850,_0x22fdc6){(function(_0x1d7c84,_0x313040){_0x1df850['exports']=_0x313040(_0x4d115a());}(_0x4dbd98,function(_0x19416a){return function(_0x5ab720){const _0x4ea16f=_0x10db;var _0x48c6ea=_0x19416a,_0x5cc04b=_0x48c6ea['lib'],_0xd09c11=_0x5cc04b[_0x4ea16f(0x3a5)],_0x5ab4b5=_0x5cc04b[_0x4ea16f(0x2d6)],_0x5710fd=_0x48c6ea[_0x4ea16f(0x4cd)],_0x4589ee=[];(function(){const _0x460318=_0x4ea16f;for(var _0x486466=0x0;_0x486466<0x40;_0x486466++)_0x4589ee[_0x486466]=_0x5ab720[_0x460318(0x471)](_0x5ab720[_0x460318(0x2bf)](_0x486466+0x1))*0x100000000|0x0;}());var _0x275578=_0x5710fd[_0x4ea16f(0x287)]=_0x5ab4b5[_0x4ea16f(0x263)]({'_doReset':function(){const _0x30964a=_0x4ea16f;this[_0x30964a(0x586)]=new _0xd09c11[(_0x30964a(0x4a1))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x22c97d,_0x135b29){const _0x2818e7=_0x4ea16f;for(var _0x26079a=0x0;_0x26079a<0x10;_0x26079a++){var _0x131c83=_0x135b29+_0x26079a,_0x895601=_0x22c97d[_0x131c83];_0x22c97d[_0x131c83]=(_0x895601<<0x8|_0x895601>>>0x18)&0xff00ff|(_0x895601<<0x18|_0x895601>>>0x8)&0xff00ff00;}var _0x3de174=this[_0x2818e7(0x586)][_0x2818e7(0x202)],_0x176ea5=_0x22c97d[_0x135b29+0x0],_0x44b923=_0x22c97d[_0x135b29+0x1],_0x522cff=_0x22c97d[_0x135b29+0x2],_0x41d444=_0x22c97d[_0x135b29+0x3],_0x278612=_0x22c97d[_0x135b29+0x4],_0x459d50=_0x22c97d[_0x135b29+0x5],_0x1bc192=_0x22c97d[_0x135b29+0x6],_0x3898c6=_0x22c97d[_0x135b29+0x7],_0x3cedfb=_0x22c97d[_0x135b29+0x8],_0x5c0c63=_0x22c97d[_0x135b29+0x9],_0x21c89f=_0x22c97d[_0x135b29+0xa],_0x216dee=_0x22c97d[_0x135b29+0xb],_0x3af94c=_0x22c97d[_0x135b29+0xc],_0x1b2af9=_0x22c97d[_0x135b29+0xd],_0x13f8ff=_0x22c97d[_0x135b29+0xe],_0x48b0ac=_0x22c97d[_0x135b29+0xf],_0xa9104f=_0x3de174[0x0],_0x2bad7f=_0x3de174[0x1],_0xdf281c=_0x3de174[0x2],_0x51f5b7=_0x3de174[0x3];_0xa9104f=_0xc5ac1d(_0xa9104f,_0x2bad7f,_0xdf281c,_0x51f5b7,_0x176ea5,0x7,_0x4589ee[0x0]),_0x51f5b7=_0xc5ac1d(_0x51f5b7,_0xa9104f,_0x2bad7f,_0xdf281c,_0x44b923,0xc,_0x4589ee[0x1]),_0xdf281c=_0xc5ac1d(_0xdf281c,_0x51f5b7,_0xa9104f,_0x2bad7f,_0x522cff,0x11,_0x4589ee[0x2]),_0x2bad7f=_0xc5ac1d(_0x2bad7f,_0xdf281c,_0x51f5b7,_0xa9104f,_0x41d444,0x16,_0x4589ee[0x3]),_0xa9104f=_0xc5ac1d(_0xa9104f,_0x2bad7f,_0xdf281c,_0x51f5b7,_0x278612,0x7,_0x4589ee[0x4]),_0x51f5b7=_0xc5ac1d(_0x51f5b7,_0xa9104f,_0x2bad7f,_0xdf281c,_0x459d50,0xc,_0x4589ee[0x5]),_0xdf281c=_0xc5ac1d(_0xdf281c,_0x51f5b7,_0xa9104f,_0x2bad7f,_0x1bc192,0x11,_0x4589ee[0x6]),_0x2bad7f=_0xc5ac1d(_0x2bad7f,_0xdf281c,_0x51f5b7,_0xa9104f,_0x3898c6,0x16,_0x4589ee[0x7]),_0xa9104f=_0xc5ac1d(_0xa9104f,_0x2bad7f,_0xdf281c,_0x51f5b7,_0x3cedfb,0x7,_0x4589ee[0x8]),_0x51f5b7=_0xc5ac1d(_0x51f5b7,_0xa9104f,_0x2bad7f,_0xdf281c,_0x5c0c63,0xc,_0x4589ee[0x9]),_0xdf281c=_0xc5ac1d(_0xdf281c,_0x51f5b7,_0xa9104f,_0x2bad7f,_0x21c89f,0x11,_0x4589ee[0xa]),_0x2bad7f=_0xc5ac1d(_0x2bad7f,_0xdf281c,_0x51f5b7,_0xa9104f,_0x216dee,0x16,_0x4589ee[0xb]),_0xa9104f=_0xc5ac1d(_0xa9104f,_0x2bad7f,_0xdf281c,_0x51f5b7,_0x3af94c,0x7,_0x4589ee[0xc]),_0x51f5b7=_0xc5ac1d(_0x51f5b7,_0xa9104f,_0x2bad7f,_0xdf281c,_0x1b2af9,0xc,_0x4589ee[0xd]),_0xdf281c=_0xc5ac1d(_0xdf281c,_0x51f5b7,_0xa9104f,_0x2bad7f,_0x13f8ff,0x11,_0x4589ee[0xe]),_0x2bad7f=_0xc5ac1d(_0x2bad7f,_0xdf281c,_0x51f5b7,_0xa9104f,_0x48b0ac,0x16,_0x4589ee[0xf]),_0xa9104f=_0x5abd92(_0xa9104f,_0x2bad7f,_0xdf281c,_0x51f5b7,_0x44b923,0x5,_0x4589ee[0x10]),_0x51f5b7=_0x5abd92(_0x51f5b7,_0xa9104f,_0x2bad7f,_0xdf281c,_0x1bc192,0x9,_0x4589ee[0x11]),_0xdf281c=_0x5abd92(_0xdf281c,_0x51f5b7,_0xa9104f,_0x2bad7f,_0x216dee,0xe,_0x4589ee[0x12]),_0x2bad7f=_0x5abd92(_0x2bad7f,_0xdf281c,_0x51f5b7,_0xa9104f,_0x176ea5,0x14,_0x4589ee[0x13]),_0xa9104f=_0x5abd92(_0xa9104f,_0x2bad7f,_0xdf281c,_0x51f5b7,_0x459d50,0x5,_0x4589ee[0x14]),_0x51f5b7=_0x5abd92(_0x51f5b7,_0xa9104f,_0x2bad7f,_0xdf281c,_0x21c89f,0x9,_0x4589ee[0x15]),_0xdf281c=_0x5abd92(_0xdf281c,_0x51f5b7,_0xa9104f,_0x2bad7f,_0x48b0ac,0xe,_0x4589ee[0x16]),_0x2bad7f=_0x5abd92(_0x2bad7f,_0xdf281c,_0x51f5b7,_0xa9104f,_0x278612,0x14,_0x4589ee[0x17]),_0xa9104f=_0x5abd92(_0xa9104f,_0x2bad7f,_0xdf281c,_0x51f5b7,_0x5c0c63,0x5,_0x4589ee[0x18]),_0x51f5b7=_0x5abd92(_0x51f5b7,_0xa9104f,_0x2bad7f,_0xdf281c,_0x13f8ff,0x9,_0x4589ee[0x19]),_0xdf281c=_0x5abd92(_0xdf281c,_0x51f5b7,_0xa9104f,_0x2bad7f,_0x41d444,0xe,_0x4589ee[0x1a]),_0x2bad7f=_0x5abd92(_0x2bad7f,_0xdf281c,_0x51f5b7,_0xa9104f,_0x3cedfb,0x14,_0x4589ee[0x1b]),_0xa9104f=_0x5abd92(_0xa9104f,_0x2bad7f,_0xdf281c,_0x51f5b7,_0x1b2af9,0x5,_0x4589ee[0x1c]),_0x51f5b7=_0x5abd92(_0x51f5b7,_0xa9104f,_0x2bad7f,_0xdf281c,_0x522cff,0x9,_0x4589ee[0x1d]),_0xdf281c=_0x5abd92(_0xdf281c,_0x51f5b7,_0xa9104f,_0x2bad7f,_0x3898c6,0xe,_0x4589ee[0x1e]),_0x2bad7f=_0x5abd92(_0x2bad7f,_0xdf281c,_0x51f5b7,_0xa9104f,_0x3af94c,0x14,_0x4589ee[0x1f]),_0xa9104f=_0x57b9f2(_0xa9104f,_0x2bad7f,_0xdf281c,_0x51f5b7,_0x459d50,0x4,_0x4589ee[0x20]),_0x51f5b7=_0x57b9f2(_0x51f5b7,_0xa9104f,_0x2bad7f,_0xdf281c,_0x3cedfb,0xb,_0x4589ee[0x21]),_0xdf281c=_0x57b9f2(_0xdf281c,_0x51f5b7,_0xa9104f,_0x2bad7f,_0x216dee,0x10,_0x4589ee[0x22]),_0x2bad7f=_0x57b9f2(_0x2bad7f,_0xdf281c,_0x51f5b7,_0xa9104f,_0x13f8ff,0x17,_0x4589ee[0x23]),_0xa9104f=_0x57b9f2(_0xa9104f,_0x2bad7f,_0xdf281c,_0x51f5b7,_0x44b923,0x4,_0x4589ee[0x24]),_0x51f5b7=_0x57b9f2(_0x51f5b7,_0xa9104f,_0x2bad7f,_0xdf281c,_0x278612,0xb,_0x4589ee[0x25]),_0xdf281c=_0x57b9f2(_0xdf281c,_0x51f5b7,_0xa9104f,_0x2bad7f,_0x3898c6,0x10,_0x4589ee[0x26]),_0x2bad7f=_0x57b9f2(_0x2bad7f,_0xdf281c,_0x51f5b7,_0xa9104f,_0x21c89f,0x17,_0x4589ee[0x27]),_0xa9104f=_0x57b9f2(_0xa9104f,_0x2bad7f,_0xdf281c,_0x51f5b7,_0x1b2af9,0x4,_0x4589ee[0x28]),_0x51f5b7=_0x57b9f2(_0x51f5b7,_0xa9104f,_0x2bad7f,_0xdf281c,_0x176ea5,0xb,_0x4589ee[0x29]),_0xdf281c=_0x57b9f2(_0xdf281c,_0x51f5b7,_0xa9104f,_0x2bad7f,_0x41d444,0x10,_0x4589ee[0x2a]),_0x2bad7f=_0x57b9f2(_0x2bad7f,_0xdf281c,_0x51f5b7,_0xa9104f,_0x1bc192,0x17,_0x4589ee[0x2b]),_0xa9104f=_0x57b9f2(_0xa9104f,_0x2bad7f,_0xdf281c,_0x51f5b7,_0x5c0c63,0x4,_0x4589ee[0x2c]),_0x51f5b7=_0x57b9f2(_0x51f5b7,_0xa9104f,_0x2bad7f,_0xdf281c,_0x3af94c,0xb,_0x4589ee[0x2d]),_0xdf281c=_0x57b9f2(_0xdf281c,_0x51f5b7,_0xa9104f,_0x2bad7f,_0x48b0ac,0x10,_0x4589ee[0x2e]),_0x2bad7f=_0x57b9f2(_0x2bad7f,_0xdf281c,_0x51f5b7,_0xa9104f,_0x522cff,0x17,_0x4589ee[0x2f]),_0xa9104f=_0x251ff4(_0xa9104f,_0x2bad7f,_0xdf281c,_0x51f5b7,_0x176ea5,0x6,_0x4589ee[0x30]),_0x51f5b7=_0x251ff4(_0x51f5b7,_0xa9104f,_0x2bad7f,_0xdf281c,_0x3898c6,0xa,_0x4589ee[0x31]),_0xdf281c=_0x251ff4(_0xdf281c,_0x51f5b7,_0xa9104f,_0x2bad7f,_0x13f8ff,0xf,_0x4589ee[0x32]),_0x2bad7f=_0x251ff4(_0x2bad7f,_0xdf281c,_0x51f5b7,_0xa9104f,_0x459d50,0x15,_0x4589ee[0x33]),_0xa9104f=_0x251ff4(_0xa9104f,_0x2bad7f,_0xdf281c,_0x51f5b7,_0x3af94c,0x6,_0x4589ee[0x34]),_0x51f5b7=_0x251ff4(_0x51f5b7,_0xa9104f,_0x2bad7f,_0xdf281c,_0x41d444,0xa,_0x4589ee[0x35]),_0xdf281c=_0x251ff4(_0xdf281c,_0x51f5b7,_0xa9104f,_0x2bad7f,_0x21c89f,0xf,_0x4589ee[0x36]),_0x2bad7f=_0x251ff4(_0x2bad7f,_0xdf281c,_0x51f5b7,_0xa9104f,_0x44b923,0x15,_0x4589ee[0x37]),_0xa9104f=_0x251ff4(_0xa9104f,_0x2bad7f,_0xdf281c,_0x51f5b7,_0x3cedfb,0x6,_0x4589ee[0x38]),_0x51f5b7=_0x251ff4(_0x51f5b7,_0xa9104f,_0x2bad7f,_0xdf281c,_0x48b0ac,0xa,_0x4589ee[0x39]),_0xdf281c=_0x251ff4(_0xdf281c,_0x51f5b7,_0xa9104f,_0x2bad7f,_0x1bc192,0xf,_0x4589ee[0x3a]),_0x2bad7f=_0x251ff4(_0x2bad7f,_0xdf281c,_0x51f5b7,_0xa9104f,_0x1b2af9,0x15,_0x4589ee[0x3b]),_0xa9104f=_0x251ff4(_0xa9104f,_0x2bad7f,_0xdf281c,_0x51f5b7,_0x278612,0x6,_0x4589ee[0x3c]),_0x51f5b7=_0x251ff4(_0x51f5b7,_0xa9104f,_0x2bad7f,_0xdf281c,_0x216dee,0xa,_0x4589ee[0x3d]),_0xdf281c=_0x251ff4(_0xdf281c,_0x51f5b7,_0xa9104f,_0x2bad7f,_0x522cff,0xf,_0x4589ee[0x3e]),_0x2bad7f=_0x251ff4(_0x2bad7f,_0xdf281c,_0x51f5b7,_0xa9104f,_0x5c0c63,0x15,_0x4589ee[0x3f]),_0x3de174[0x0]=_0x3de174[0x0]+_0xa9104f|0x0,_0x3de174[0x1]=_0x3de174[0x1]+_0x2bad7f|0x0,_0x3de174[0x2]=_0x3de174[0x2]+_0xdf281c|0x0,_0x3de174[0x3]=_0x3de174[0x3]+_0x51f5b7|0x0;},'_doFinalize':function(){const _0x2079e7=_0x4ea16f;var _0x4735e=this[_0x2079e7(0x214)],_0x88b8d=_0x4735e['words'],_0x59928c=this['_nDataBytes']*0x8,_0x4b0bae=_0x4735e[_0x2079e7(0x481)]*0x8;_0x88b8d[_0x4b0bae>>>0x5]|=0x80<<0x18-_0x4b0bae%0x20;var _0x1b970a=_0x5ab720[_0x2079e7(0x69e)](_0x59928c/0x100000000),_0x42a0c5=_0x59928c;_0x88b8d[(_0x4b0bae+0x40>>>0x9<<0x4)+0xf]=(_0x1b970a<<0x8|_0x1b970a>>>0x18)&0xff00ff|(_0x1b970a<<0x18|_0x1b970a>>>0x8)&0xff00ff00,_0x88b8d[(_0x4b0bae+0x40>>>0x9<<0x4)+0xe]=(_0x42a0c5<<0x8|_0x42a0c5>>>0x18)&0xff00ff|(_0x42a0c5<<0x18|_0x42a0c5>>>0x8)&0xff00ff00,_0x4735e[_0x2079e7(0x481)]=(_0x88b8d[_0x2079e7(0x62b)]+0x1)*0x4,this[_0x2079e7(0x59e)]();for(var _0x2ff2d7=this[_0x2079e7(0x586)],_0xa3cea1=_0x2ff2d7[_0x2079e7(0x202)],_0x51b3d0=0x0;_0x51b3d0<0x4;_0x51b3d0++){var _0x513589=_0xa3cea1[_0x51b3d0];_0xa3cea1[_0x51b3d0]=(_0x513589<<0x8|_0x513589>>>0x18)&0xff00ff|(_0x513589<<0x18|_0x513589>>>0x8)&0xff00ff00;}return _0x2ff2d7;},'clone':function(){const _0x5d997f=_0x4ea16f;var _0x422bf4=_0x5ab4b5[_0x5d997f(0x567)]['call'](this);return _0x422bf4[_0x5d997f(0x586)]=this[_0x5d997f(0x586)][_0x5d997f(0x567)](),_0x422bf4;}});function _0xc5ac1d(_0x4659f5,_0x4d08b4,_0x239f86,_0x5ba3d,_0x53b677,_0x42af38,_0x12c791){var _0x4a793a=_0x4659f5+(_0x4d08b4&_0x239f86|~_0x4d08b4&_0x5ba3d)+_0x53b677+_0x12c791;return(_0x4a793a<<_0x42af38|_0x4a793a>>>0x20-_0x42af38)+_0x4d08b4;}function _0x5abd92(_0x17544f,_0x4ab05f,_0x470d6c,_0x53da0f,_0x424c5,_0x45516b,_0x1cdf35){var _0x417e52=_0x17544f+(_0x4ab05f&_0x53da0f|_0x470d6c&~_0x53da0f)+_0x424c5+_0x1cdf35;return(_0x417e52<<_0x45516b|_0x417e52>>>0x20-_0x45516b)+_0x4ab05f;}function _0x57b9f2(_0x5e5667,_0x7af6a3,_0x13ac40,_0x338d00,_0x5daa10,_0x41fe79,_0x48ff7e){var _0x1e34a0=_0x5e5667+(_0x7af6a3^_0x13ac40^_0x338d00)+_0x5daa10+_0x48ff7e;return(_0x1e34a0<<_0x41fe79|_0x1e34a0>>>0x20-_0x41fe79)+_0x7af6a3;}function _0x251ff4(_0x4a3722,_0x5bf281,_0x969f,_0x3e81f4,_0x4e088b,_0x3e1cd8,_0x501d4c){var _0x10075c=_0x4a3722+(_0x969f^(_0x5bf281|~_0x3e81f4))+_0x4e088b+_0x501d4c;return(_0x10075c<<_0x3e1cd8|_0x10075c>>>0x20-_0x3e1cd8)+_0x5bf281;}_0x48c6ea['MD5']=_0x5ab4b5[_0x4ea16f(0x56e)](_0x275578),_0x48c6ea['HmacMD5']=_0x5ab4b5[_0x4ea16f(0x362)](_0x275578);}(Math),_0x19416a['MD5'];}));}(_0x1ca78a)),_0x1ca78a[_0x3a1114(0x5a4)];}var _0x25827a={'exports':{}},_0x389f58={'exports':{}},_0xca17cb;function _0x2ea95d(){const _0x3c7516=_0x139045;return _0xca17cb||(_0xca17cb=0x1,function(_0x432a7b,_0x531757){(function(_0x2d527b,_0x3b8144){const _0x400285=_0x10db;_0x432a7b[_0x400285(0x5a4)]=_0x3b8144(_0x4d115a());}(_0x4dbd98,function(_0x30d13e){const _0x2626ff=_0x10db;return(function(){const _0x4003d2=_0x10db;var _0x8a5e73=_0x30d13e,_0x157ad3=_0x8a5e73[_0x4003d2(0x30d)],_0x150b6b=_0x157ad3[_0x4003d2(0x3a5)],_0x1febb2=_0x157ad3['Hasher'],_0x25bd68=_0x8a5e73['algo'],_0x34b272=[],_0x50c4ca=_0x25bd68['SHA1']=_0x1febb2[_0x4003d2(0x263)]({'_doReset':function(){const _0x48b3a3=_0x4003d2;this[_0x48b3a3(0x586)]=new _0x150b6b['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x54a1a0,_0x1b3981){const _0x449c57=_0x4003d2;for(var _0x5eef36=this[_0x449c57(0x586)]['words'],_0x616188=_0x5eef36[0x0],_0x306fba=_0x5eef36[0x1],_0x58c8f3=_0x5eef36[0x2],_0x2e36bf=_0x5eef36[0x3],_0x55db9b=_0x5eef36[0x4],_0x142271=0x0;_0x142271<0x50;_0x142271++){if(_0x142271<0x10)_0x34b272[_0x142271]=_0x54a1a0[_0x1b3981+_0x142271]|0x0;else{var _0x28141a=_0x34b272[_0x142271-0x3]^_0x34b272[_0x142271-0x8]^_0x34b272[_0x142271-0xe]^_0x34b272[_0x142271-0x10];_0x34b272[_0x142271]=_0x28141a<<0x1|_0x28141a>>>0x1f;}var _0x3997a7=(_0x616188<<0x5|_0x616188>>>0x1b)+_0x55db9b+_0x34b272[_0x142271];_0x142271<0x14?_0x3997a7+=(_0x306fba&_0x58c8f3|~_0x306fba&_0x2e36bf)+0x5a827999:_0x142271<0x28?_0x3997a7+=(_0x306fba^_0x58c8f3^_0x2e36bf)+0x6ed9eba1:_0x142271<0x3c?_0x3997a7+=(_0x306fba&_0x58c8f3|_0x306fba&_0x2e36bf|_0x58c8f3&_0x2e36bf)-0x70e44324:_0x3997a7+=(_0x306fba^_0x58c8f3^_0x2e36bf)-0x359d3e2a,_0x55db9b=_0x2e36bf,_0x2e36bf=_0x58c8f3,_0x58c8f3=_0x306fba<<0x1e|_0x306fba>>>0x2,_0x306fba=_0x616188,_0x616188=_0x3997a7;}_0x5eef36[0x0]=_0x5eef36[0x0]+_0x616188|0x0,_0x5eef36[0x1]=_0x5eef36[0x1]+_0x306fba|0x0,_0x5eef36[0x2]=_0x5eef36[0x2]+_0x58c8f3|0x0,_0x5eef36[0x3]=_0x5eef36[0x3]+_0x2e36bf|0x0,_0x5eef36[0x4]=_0x5eef36[0x4]+_0x55db9b|0x0;},'_doFinalize':function(){const _0x3c6e0b=_0x4003d2;var _0x4709e6=this[_0x3c6e0b(0x214)],_0x4ee56e=_0x4709e6['words'],_0xbea325=this[_0x3c6e0b(0x4bf)]*0x8,_0x51c391=_0x4709e6['sigBytes']*0x8;return _0x4ee56e[_0x51c391>>>0x5]|=0x80<<0x18-_0x51c391%0x20,_0x4ee56e[(_0x51c391+0x40>>>0x9<<0x4)+0xe]=Math[_0x3c6e0b(0x69e)](_0xbea325/0x100000000),_0x4ee56e[(_0x51c391+0x40>>>0x9<<0x4)+0xf]=_0xbea325,_0x4709e6[_0x3c6e0b(0x481)]=_0x4ee56e[_0x3c6e0b(0x62b)]*0x4,this['_process'](),this[_0x3c6e0b(0x586)];},'clone':function(){const _0x162f3a=_0x4003d2;var _0x5237f2=_0x1febb2[_0x162f3a(0x567)]['call'](this);return _0x5237f2['_hash']=this['_hash']['clone'](),_0x5237f2;}});_0x8a5e73['SHA1']=_0x1febb2['_createHelper'](_0x50c4ca),_0x8a5e73[_0x4003d2(0x4ad)]=_0x1febb2[_0x4003d2(0x362)](_0x50c4ca);}()),_0x30d13e[_0x2626ff(0x484)];}));}(_0x389f58)),_0x389f58[_0x3c7516(0x5a4)];}var _0x1d9af1={'exports':{}},_0x67b19a;function _0x7b201a(){const _0x236b41=_0x139045;return _0x67b19a||(_0x67b19a=0x1,function(_0x3de8ac,_0x3c84b9){(function(_0x24cc24,_0x48a7ad){const _0x39bf13=_0x10db;_0x3de8ac[_0x39bf13(0x5a4)]=_0x48a7ad(_0x4d115a());}(_0x4dbd98,function(_0x4c84ea){(function(){const _0x5e5cc6=_0x10db;var _0x2ffaa0=_0x4c84ea,_0x231198=_0x2ffaa0[_0x5e5cc6(0x30d)],_0x37e417=_0x231198[_0x5e5cc6(0x28e)],_0x471216=_0x2ffaa0[_0x5e5cc6(0x388)],_0x98528c=_0x471216['Utf8'],_0x19f837=_0x2ffaa0[_0x5e5cc6(0x4cd)];_0x19f837[_0x5e5cc6(0x4bc)]=_0x37e417[_0x5e5cc6(0x263)]({'init':function(_0x363249,_0x2349bc){const _0x174003=_0x5e5cc6;_0x363249=this[_0x174003(0x3e8)]=new _0x363249[(_0x174003(0x4a1))](),typeof _0x2349bc==_0x174003(0x5ec)&&(_0x2349bc=_0x98528c[_0x174003(0x597)](_0x2349bc));var _0xffd4c5=_0x363249[_0x174003(0x36c)],_0x1f0dbb=_0xffd4c5*0x4;_0x2349bc[_0x174003(0x481)]>_0x1f0dbb&&(_0x2349bc=_0x363249[_0x174003(0x2d0)](_0x2349bc)),_0x2349bc[_0x174003(0x473)]();for(var _0x58852a=this['_oKey']=_0x2349bc[_0x174003(0x567)](),_0x23c19a=this['_iKey']=_0x2349bc[_0x174003(0x567)](),_0x2a3e0b=_0x58852a['words'],_0x396628=_0x23c19a[_0x174003(0x202)],_0x254ab2=0x0;_0x254ab2<_0xffd4c5;_0x254ab2++)_0x2a3e0b[_0x254ab2]^=0x5c5c5c5c,_0x396628[_0x254ab2]^=0x36363636;_0x58852a['sigBytes']=_0x23c19a[_0x174003(0x481)]=_0x1f0dbb,this['reset']();},'reset':function(){const _0xf3310d=_0x5e5cc6;var _0xf995d2=this['_hasher'];_0xf995d2[_0xf3310d(0x580)](),_0xf995d2[_0xf3310d(0x431)](this[_0xf3310d(0x692)]);},'update':function(_0x221aa6){const _0x155a7d=_0x5e5cc6;return this[_0x155a7d(0x3e8)][_0x155a7d(0x431)](_0x221aa6),this;},'finalize':function(_0x5bac45){const _0x519dca=_0x5e5cc6;var _0x47856d=this[_0x519dca(0x3e8)],_0x2d3697=_0x47856d[_0x519dca(0x2d0)](_0x5bac45);_0x47856d[_0x519dca(0x580)]();var _0x1e27d8=_0x47856d[_0x519dca(0x2d0)](this['_oKey'][_0x519dca(0x567)]()[_0x519dca(0x39e)](_0x2d3697));return _0x1e27d8;}});}());}));}(_0x1d9af1)),_0x1d9af1[_0x236b41(0x5a4)];}var _0x3f62d4;function _0x2677e3(){const _0x34f6aa=_0x139045;return _0x3f62d4||(_0x3f62d4=0x1,function(_0xaebbef,_0x29423a){(function(_0x516ced,_0x16f67a,_0x2080cb){const _0x5be9e9=_0x10db;_0xaebbef[_0x5be9e9(0x5a4)]=_0x16f67a(_0x4d115a(),_0x2ea95d(),_0x7b201a());}(_0x4dbd98,function(_0x48f6ae){const _0x79f18a=_0x10db;return(function(){const _0x47d311=_0x10db;var _0x29a1cf=_0x48f6ae,_0x494c2c=_0x29a1cf[_0x47d311(0x30d)],_0x2b3aee=_0x494c2c['Base'],_0x4e4332=_0x494c2c[_0x47d311(0x3a5)],_0x7eab28=_0x29a1cf[_0x47d311(0x4cd)],_0x484280=_0x7eab28[_0x47d311(0x287)],_0x31ed24=_0x7eab28['EvpKDF']=_0x2b3aee['extend']({'cfg':_0x2b3aee[_0x47d311(0x263)]({'keySize':0x80/0x20,'hasher':_0x484280,'iterations':0x1}),'init':function(_0x57506a){const _0x5713a6=_0x47d311;this[_0x5713a6(0x60d)]=this[_0x5713a6(0x60d)]['extend'](_0x57506a);},'compute':function(_0x2d99e9,_0x20479c){const _0x4057d6=_0x47d311;for(var _0x55d201,_0x7ce6b8=this[_0x4057d6(0x60d)],_0x2a7af9=_0x7ce6b8[_0x4057d6(0x31e)][_0x4057d6(0x60e)](),_0x3dc599=_0x4e4332['create'](),_0x16375d=_0x3dc599['words'],_0x3f4ff9=_0x7ce6b8[_0x4057d6(0x2db)],_0x1513b7=_0x7ce6b8[_0x4057d6(0x410)];_0x16375d['length']<_0x3f4ff9;){_0x55d201&&_0x2a7af9['update'](_0x55d201),_0x55d201=_0x2a7af9[_0x4057d6(0x431)](_0x2d99e9)[_0x4057d6(0x2d0)](_0x20479c),_0x2a7af9[_0x4057d6(0x580)]();for(var _0x17a817=0x1;_0x17a817<_0x1513b7;_0x17a817++)_0x55d201=_0x2a7af9[_0x4057d6(0x2d0)](_0x55d201),_0x2a7af9[_0x4057d6(0x580)]();_0x3dc599[_0x4057d6(0x39e)](_0x55d201);}return _0x3dc599[_0x4057d6(0x481)]=_0x3f4ff9*0x4,_0x3dc599;}});_0x29a1cf['EvpKDF']=function(_0x1649bf,_0x56a030,_0x1cceea){const _0x3a76d1=_0x47d311;return _0x31ed24[_0x3a76d1(0x60e)](_0x1cceea)[_0x3a76d1(0x50f)](_0x1649bf,_0x56a030);};}()),_0x48f6ae[_0x79f18a(0x613)];}));}(_0x25827a)),_0x25827a[_0x34f6aa(0x5a4)];}var _0x3bbf20={'exports':{}},_0x3edb42;function _0x1f47b6(){const _0x503e3d=_0x139045;return _0x3edb42||(_0x3edb42=0x1,function(_0x280544,_0x202e75){(function(_0x5376c4,_0x1c6435,_0x33e881){const _0x4e970c=_0x10db;_0x280544[_0x4e970c(0x5a4)]=_0x1c6435(_0x4d115a(),_0x2677e3());}(_0x4dbd98,function(_0x3a01ba){const _0x5a22d2=_0x10db;_0x3a01ba[_0x5a22d2(0x30d)][_0x5a22d2(0x56a)]||function(_0x5ac79c){const _0x36f9b4=_0x5a22d2;var _0x4b25c8=_0x3a01ba,_0x1ce080=_0x4b25c8[_0x36f9b4(0x30d)],_0x3fb96c=_0x1ce080['Base'],_0x203a89=_0x1ce080[_0x36f9b4(0x3a5)],_0x380912=_0x1ce080[_0x36f9b4(0x5d8)],_0x7c16f3=_0x4b25c8[_0x36f9b4(0x388)];_0x7c16f3[_0x36f9b4(0x5cc)];var _0x3e81a5=_0x7c16f3[_0x36f9b4(0x58d)],_0x2e2c32=_0x4b25c8[_0x36f9b4(0x4cd)],_0x283ad5=_0x2e2c32[_0x36f9b4(0x613)],_0x40fe88=_0x1ce080[_0x36f9b4(0x56a)]=_0x380912['extend']({'cfg':_0x3fb96c[_0x36f9b4(0x263)](),'createEncryptor':function(_0x2fe879,_0x295434){const _0x35c451=_0x36f9b4;return this[_0x35c451(0x60e)](this[_0x35c451(0x24f)],_0x2fe879,_0x295434);},'createDecryptor':function(_0x39451d,_0x4091e6){const _0x3ca0e9=_0x36f9b4;return this['create'](this[_0x3ca0e9(0x3a3)],_0x39451d,_0x4091e6);},'init':function(_0x4ff68c,_0x5b492d,_0x4cb158){const _0x42bc65=_0x36f9b4;this[_0x42bc65(0x60d)]=this['cfg'][_0x42bc65(0x263)](_0x4cb158),this[_0x42bc65(0x34e)]=_0x4ff68c,this[_0x42bc65(0x40a)]=_0x5b492d,this['reset']();},'reset':function(){const _0x2a1893=_0x36f9b4;_0x380912[_0x2a1893(0x580)][_0x2a1893(0x2b0)](this),this['_doReset']();},'process':function(_0xf513dd){const _0x135e5c=_0x36f9b4;return this[_0x135e5c(0x646)](_0xf513dd),this[_0x135e5c(0x59e)]();},'finalize':function(_0x3a79c8){const _0x20e150=_0x36f9b4;_0x3a79c8&&this[_0x20e150(0x646)](_0x3a79c8);var _0x5d3cb3=this[_0x20e150(0x584)]();return _0x5d3cb3;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x3555fe(_0x22ae34){const _0x1f26d9=_0x10db;return typeof _0x22ae34==_0x1f26d9(0x5ec)?_0x4fe34d:_0x3098a9;}return function(_0x1d2930){return{'encrypt':function(_0x5d6220,_0x5eb9dd,_0x5dfebf){const _0x93ddaa=_0x10db;return _0x3555fe(_0x5eb9dd)[_0x93ddaa(0x2de)](_0x1d2930,_0x5d6220,_0x5eb9dd,_0x5dfebf);},'decrypt':function(_0x5b2c6b,_0x3a5ca8,_0x3f3e48){const _0x444a5f=_0x10db;return _0x3555fe(_0x3a5ca8)[_0x444a5f(0x5d4)](_0x1d2930,_0x5b2c6b,_0x3a5ca8,_0x3f3e48);}};};}())});_0x1ce080[_0x36f9b4(0x68a)]=_0x40fe88[_0x36f9b4(0x263)]({'_doFinalize':function(){const _0x250925=_0x36f9b4;var _0x4b7cad=this[_0x250925(0x59e)](!0x0);return _0x4b7cad;},'blockSize':0x1});var _0x5af75f=_0x4b25c8['mode']={},_0x144364=_0x1ce080[_0x36f9b4(0x2ec)]=_0x3fb96c[_0x36f9b4(0x263)]({'createEncryptor':function(_0x2eb262,_0x9ad906){const _0x579c39=_0x36f9b4;return this[_0x579c39(0x59c)]['create'](_0x2eb262,_0x9ad906);},'createDecryptor':function(_0x323781,_0x284e6e){const _0x3d420e=_0x36f9b4;return this['Decryptor'][_0x3d420e(0x60e)](_0x323781,_0x284e6e);},'init':function(_0x45f3ed,_0x36d85b){const _0x2d4d53=_0x36f9b4;this[_0x2d4d53(0x41a)]=_0x45f3ed,this[_0x2d4d53(0x575)]=_0x36d85b;}}),_0x1fa33e=_0x5af75f[_0x36f9b4(0x302)]=(function(){const _0x495a21=_0x36f9b4;var _0x489527=_0x144364[_0x495a21(0x263)]();_0x489527['Encryptor']=_0x489527[_0x495a21(0x263)]({'processBlock':function(_0x58a1b4,_0x51dcd4){const _0xda6080=_0x495a21;var _0x342b46=this[_0xda6080(0x41a)],_0x2cdfca=_0x342b46[_0xda6080(0x36c)];_0x10076d['call'](this,_0x58a1b4,_0x51dcd4,_0x2cdfca),_0x342b46[_0xda6080(0x503)](_0x58a1b4,_0x51dcd4),this['_prevBlock']=_0x58a1b4[_0xda6080(0x2b1)](_0x51dcd4,_0x51dcd4+_0x2cdfca);}}),_0x489527[_0x495a21(0x234)]=_0x489527[_0x495a21(0x263)]({'processBlock':function(_0x38181d,_0x2dcafb){const _0x175c0c=_0x495a21;var _0x3e8c9b=this[_0x175c0c(0x41a)],_0x5c0901=_0x3e8c9b[_0x175c0c(0x36c)],_0x47b198=_0x38181d[_0x175c0c(0x2b1)](_0x2dcafb,_0x2dcafb+_0x5c0901);_0x3e8c9b['decryptBlock'](_0x38181d,_0x2dcafb),_0x10076d['call'](this,_0x38181d,_0x2dcafb,_0x5c0901),this[_0x175c0c(0x64e)]=_0x47b198;}});function _0x10076d(_0x201b17,_0x5cb609,_0x1f7b76){const _0x3a0a03=_0x495a21;var _0x5a1fa7,_0x189222=this[_0x3a0a03(0x575)];_0x189222?(_0x5a1fa7=_0x189222,this[_0x3a0a03(0x575)]=_0x5ac79c):_0x5a1fa7=this[_0x3a0a03(0x64e)];for(var _0x35091e=0x0;_0x35091e<_0x1f7b76;_0x35091e++)_0x201b17[_0x5cb609+_0x35091e]^=_0x5a1fa7[_0x35091e];}return _0x489527;}()),_0x1f12bd=_0x4b25c8[_0x36f9b4(0x64a)]={},_0x7dc4b5=_0x1f12bd[_0x36f9b4(0x550)]={'pad':function(_0x434636,_0x4dd302){const _0x3da4e4=_0x36f9b4;for(var _0x1df1d8=_0x4dd302*0x4,_0x399240=_0x1df1d8-_0x434636['sigBytes']%_0x1df1d8,_0x28ed04=_0x399240<<0x18|_0x399240<<0x10|_0x399240<<0x8|_0x399240,_0x45ec2c=[],_0x4bbc2a=0x0;_0x4bbc2a<_0x399240;_0x4bbc2a+=0x4)_0x45ec2c['push'](_0x28ed04);var _0x49724f=_0x203a89['create'](_0x45ec2c,_0x399240);_0x434636[_0x3da4e4(0x39e)](_0x49724f);},'unpad':function(_0x5bc567){const _0x4797b5=_0x36f9b4;var _0x2f3654=_0x5bc567[_0x4797b5(0x202)][_0x5bc567['sigBytes']-0x1>>>0x2]&0xff;_0x5bc567[_0x4797b5(0x481)]-=_0x2f3654;}};_0x1ce080[_0x36f9b4(0x5d5)]=_0x40fe88['extend']({'cfg':_0x40fe88[_0x36f9b4(0x60d)][_0x36f9b4(0x263)]({'mode':_0x1fa33e,'padding':_0x7dc4b5}),'reset':function(){const _0x2c0598=_0x36f9b4;var _0x35b12e;_0x40fe88[_0x2c0598(0x580)][_0x2c0598(0x2b0)](this);var _0x3cb279=this['cfg'],_0x2618ed=_0x3cb279['iv'],_0x20f153=_0x3cb279[_0x2c0598(0x445)];this[_0x2c0598(0x34e)]==this[_0x2c0598(0x24f)]?_0x35b12e=_0x20f153['createEncryptor']:(_0x35b12e=_0x20f153[_0x2c0598(0x235)],this[_0x2c0598(0x574)]=0x1),this[_0x2c0598(0x570)]&&this['_mode']['__creator']==_0x35b12e?this[_0x2c0598(0x570)][_0x2c0598(0x4a1)](this,_0x2618ed&&_0x2618ed['words']):(this[_0x2c0598(0x570)]=_0x35b12e[_0x2c0598(0x2b0)](_0x20f153,this,_0x2618ed&&_0x2618ed[_0x2c0598(0x202)]),this[_0x2c0598(0x570)]['__creator']=_0x35b12e);},'_doProcessBlock':function(_0x323c3b,_0x3feaeb){const _0x11a67d=_0x36f9b4;this[_0x11a67d(0x570)][_0x11a67d(0x35c)](_0x323c3b,_0x3feaeb);},'_doFinalize':function(){const _0x180181=_0x36f9b4;var _0x20046b,_0x1244df=this[_0x180181(0x60d)][_0x180181(0x1fc)];return this[_0x180181(0x34e)]==this[_0x180181(0x24f)]?(_0x1244df[_0x180181(0x64a)](this[_0x180181(0x214)],this[_0x180181(0x36c)]),_0x20046b=this[_0x180181(0x59e)](!0x0)):(_0x20046b=this[_0x180181(0x59e)](!0x0),_0x1244df[_0x180181(0x324)](_0x20046b)),_0x20046b;},'blockSize':0x80/0x20});var _0x39decf=_0x1ce080['CipherParams']=_0x3fb96c['extend']({'init':function(_0x196557){const _0x39dc17=_0x36f9b4;this[_0x39dc17(0x37d)](_0x196557);},'toString':function(_0x4dfc32){const _0x108228=_0x36f9b4;return(_0x4dfc32||this['formatter'])[_0x108228(0x658)](this);}}),_0x782035=_0x4b25c8[_0x36f9b4(0x4d6)]={},_0x2f4833=_0x782035[_0x36f9b4(0x323)]={'stringify':function(_0x5f022f){const _0x168f01=_0x36f9b4;var _0x649ef0,_0x1f1de0=_0x5f022f[_0x168f01(0x314)],_0x1f516c=_0x5f022f[_0x168f01(0x466)];return _0x1f516c?_0x649ef0=_0x203a89[_0x168f01(0x60e)]([0x53616c74,0x65645f5f])[_0x168f01(0x39e)](_0x1f516c)[_0x168f01(0x39e)](_0x1f1de0):_0x649ef0=_0x1f1de0,_0x649ef0['toString'](_0x3e81a5);},'parse':function(_0x46603c){const _0x438f31=_0x36f9b4;var _0x53907b,_0x2df9e7=_0x3e81a5[_0x438f31(0x597)](_0x46603c),_0x303fe2=_0x2df9e7[_0x438f31(0x202)];return _0x303fe2[0x0]==0x53616c74&&_0x303fe2[0x1]==0x65645f5f&&(_0x53907b=_0x203a89[_0x438f31(0x60e)](_0x303fe2['slice'](0x2,0x4)),_0x303fe2['splice'](0x0,0x4),_0x2df9e7[_0x438f31(0x481)]-=0x10),_0x39decf[_0x438f31(0x60e)]({'ciphertext':_0x2df9e7,'salt':_0x53907b});}},_0x3098a9=_0x1ce080[_0x36f9b4(0x58a)]=_0x3fb96c['extend']({'cfg':_0x3fb96c[_0x36f9b4(0x263)]({'format':_0x2f4833}),'encrypt':function(_0x50f6fc,_0x485d4a,_0x42a164,_0x514fd1){const _0x305fa5=_0x36f9b4;_0x514fd1=this['cfg']['extend'](_0x514fd1);var _0x3fca2b=_0x50f6fc['createEncryptor'](_0x42a164,_0x514fd1),_0x58ba61=_0x3fca2b[_0x305fa5(0x2d0)](_0x485d4a),_0x55a39f=_0x3fca2b[_0x305fa5(0x60d)];return _0x39decf[_0x305fa5(0x60e)]({'ciphertext':_0x58ba61,'key':_0x42a164,'iv':_0x55a39f['iv'],'algorithm':_0x50f6fc,'mode':_0x55a39f[_0x305fa5(0x445)],'padding':_0x55a39f[_0x305fa5(0x1fc)],'blockSize':_0x50f6fc[_0x305fa5(0x36c)],'formatter':_0x514fd1[_0x305fa5(0x4d6)]});},'decrypt':function(_0x5246f4,_0x46f0cf,_0x2a97f1,_0x332f8b){const _0xcd68a1=_0x36f9b4;_0x332f8b=this[_0xcd68a1(0x60d)][_0xcd68a1(0x263)](_0x332f8b),_0x46f0cf=this[_0xcd68a1(0x28c)](_0x46f0cf,_0x332f8b[_0xcd68a1(0x4d6)]);var _0x2ad33f=_0x5246f4['createDecryptor'](_0x2a97f1,_0x332f8b)[_0xcd68a1(0x2d0)](_0x46f0cf[_0xcd68a1(0x314)]);return _0x2ad33f;},'_parse':function(_0x2ff9d4,_0x499a8f){const _0x50c5cc=_0x36f9b4;return typeof _0x2ff9d4=='string'?_0x499a8f[_0x50c5cc(0x597)](_0x2ff9d4,this):_0x2ff9d4;}}),_0x23d489=_0x4b25c8[_0x36f9b4(0x4df)]={},_0x421938=_0x23d489['OpenSSL']={'execute':function(_0x5bdaf0,_0xf91df8,_0x1137dc,_0xa82782,_0x3eb4da){const _0x40f932=_0x36f9b4;if(_0xa82782||(_0xa82782=_0x203a89[_0x40f932(0x3d4)](0x40/0x8)),_0x3eb4da)var _0x467331=_0x283ad5['create']({'keySize':_0xf91df8+_0x1137dc,'hasher':_0x3eb4da})[_0x40f932(0x50f)](_0x5bdaf0,_0xa82782);else var _0x467331=_0x283ad5[_0x40f932(0x60e)]({'keySize':_0xf91df8+_0x1137dc})[_0x40f932(0x50f)](_0x5bdaf0,_0xa82782);var _0x197721=_0x203a89[_0x40f932(0x60e)](_0x467331['words']['slice'](_0xf91df8),_0x1137dc*0x4);return _0x467331[_0x40f932(0x481)]=_0xf91df8*0x4,_0x39decf['create']({'key':_0x467331,'iv':_0x197721,'salt':_0xa82782});}},_0x4fe34d=_0x1ce080['PasswordBasedCipher']=_0x3098a9[_0x36f9b4(0x263)]({'cfg':_0x3098a9['cfg'][_0x36f9b4(0x263)]({'kdf':_0x421938}),'encrypt':function(_0x1dc9eb,_0x28a848,_0xefc4d3,_0x2c1d31){const _0x5ad3d3=_0x36f9b4;_0x2c1d31=this[_0x5ad3d3(0x60d)][_0x5ad3d3(0x263)](_0x2c1d31);var _0x1a4d6f=_0x2c1d31[_0x5ad3d3(0x4df)][_0x5ad3d3(0x6ae)](_0xefc4d3,_0x1dc9eb[_0x5ad3d3(0x2db)],_0x1dc9eb[_0x5ad3d3(0x3fc)],_0x2c1d31[_0x5ad3d3(0x466)],_0x2c1d31[_0x5ad3d3(0x31e)]);_0x2c1d31['iv']=_0x1a4d6f['iv'];var _0x4c7a6b=_0x3098a9[_0x5ad3d3(0x2de)][_0x5ad3d3(0x2b0)](this,_0x1dc9eb,_0x28a848,_0x1a4d6f[_0x5ad3d3(0x2e2)],_0x2c1d31);return _0x4c7a6b['mixIn'](_0x1a4d6f),_0x4c7a6b;},'decrypt':function(_0x4fb1a6,_0x3ea454,_0x9765e4,_0x46d0cb){const _0x1bd16f=_0x36f9b4;_0x46d0cb=this[_0x1bd16f(0x60d)][_0x1bd16f(0x263)](_0x46d0cb),_0x3ea454=this[_0x1bd16f(0x28c)](_0x3ea454,_0x46d0cb[_0x1bd16f(0x4d6)]);var _0xf29c8=_0x46d0cb[_0x1bd16f(0x4df)][_0x1bd16f(0x6ae)](_0x9765e4,_0x4fb1a6[_0x1bd16f(0x2db)],_0x4fb1a6[_0x1bd16f(0x3fc)],_0x3ea454[_0x1bd16f(0x466)],_0x46d0cb[_0x1bd16f(0x31e)]);_0x46d0cb['iv']=_0xf29c8['iv'];var _0x52a789=_0x3098a9[_0x1bd16f(0x5d4)][_0x1bd16f(0x2b0)](this,_0x4fb1a6,_0x3ea454,_0xf29c8[_0x1bd16f(0x2e2)],_0x46d0cb);return _0x52a789;}});}();}));}(_0x3bbf20)),_0x3bbf20[_0x503e3d(0x5a4)];}(function(_0x2c753d,_0x4dab0f){(function(_0xd248c7,_0x140d24,_0x519e5c){const _0x26aad5=_0x10db;_0x2c753d[_0x26aad5(0x5a4)]=_0x140d24(_0x4d115a(),_0x531993(),_0x5043eb(),_0x2677e3(),_0x1f47b6());}(_0x4dbd98,function(_0x282f83){return(function(){const _0x5b6685=_0x10db;var _0x1eb286=_0x282f83,_0x5916c4=_0x1eb286[_0x5b6685(0x30d)],_0x1b354d=_0x5916c4[_0x5b6685(0x5d5)],_0x4dca71=_0x1eb286[_0x5b6685(0x4cd)],_0x2d9d33=[],_0x4f5e92=[],_0x3342b7=[],_0x5dcca2=[],_0x4d77cd=[],_0x348636=[],_0x53446e=[],_0x58bd12=[],_0xb15637=[],_0x534267=[];(function(){for(var _0x209cc1=[],_0x5596d1=0x0;_0x5596d1<0x100;_0x5596d1++)_0x5596d1<0x80?_0x209cc1[_0x5596d1]=_0x5596d1<<0x1:_0x209cc1[_0x5596d1]=_0x5596d1<<0x1^0x11b;for(var _0x25ea49=0x0,_0x330af8=0x0,_0x5596d1=0x0;_0x5596d1<0x100;_0x5596d1++){var _0x14367e=_0x330af8^_0x330af8<<0x1^_0x330af8<<0x2^_0x330af8<<0x3^_0x330af8<<0x4;_0x14367e=_0x14367e>>>0x8^_0x14367e&0xff^0x63,_0x2d9d33[_0x25ea49]=_0x14367e,_0x4f5e92[_0x14367e]=_0x25ea49;var _0x4c8192=_0x209cc1[_0x25ea49],_0x25bec0=_0x209cc1[_0x4c8192],_0xc773d=_0x209cc1[_0x25bec0],_0x5c68a8=_0x209cc1[_0x14367e]*0x101^_0x14367e*0x1010100;_0x3342b7[_0x25ea49]=_0x5c68a8<<0x18|_0x5c68a8>>>0x8,_0x5dcca2[_0x25ea49]=_0x5c68a8<<0x10|_0x5c68a8>>>0x10,_0x4d77cd[_0x25ea49]=_0x5c68a8<<0x8|_0x5c68a8>>>0x18,_0x348636[_0x25ea49]=_0x5c68a8;var _0x5c68a8=_0xc773d*0x1010101^_0x25bec0*0x10001^_0x4c8192*0x101^_0x25ea49*0x1010100;_0x53446e[_0x14367e]=_0x5c68a8<<0x18|_0x5c68a8>>>0x8,_0x58bd12[_0x14367e]=_0x5c68a8<<0x10|_0x5c68a8>>>0x10,_0xb15637[_0x14367e]=_0x5c68a8<<0x8|_0x5c68a8>>>0x18,_0x534267[_0x14367e]=_0x5c68a8,_0x25ea49?(_0x25ea49=_0x4c8192^_0x209cc1[_0x209cc1[_0x209cc1[_0xc773d^_0x4c8192]]],_0x330af8^=_0x209cc1[_0x209cc1[_0x330af8]]):_0x25ea49=_0x330af8=0x1;}}());var _0x5b5241=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x30c683=_0x4dca71[_0x5b6685(0x5e5)]=_0x1b354d[_0x5b6685(0x263)]({'_doReset':function(){const _0x5d5e96=_0x5b6685;var _0x20fee7;if(!(this['_nRounds']&&this[_0x5d5e96(0x43b)]===this['_key'])){for(var _0x2b1f14=this[_0x5d5e96(0x43b)]=this['_key'],_0x4923c1=_0x2b1f14[_0x5d5e96(0x202)],_0x2d9b61=_0x2b1f14[_0x5d5e96(0x481)]/0x4,_0x3bb5de=this[_0x5d5e96(0x544)]=_0x2d9b61+0x6,_0x4a2d57=(_0x3bb5de+0x1)*0x4,_0x533c1e=this[_0x5d5e96(0x4b8)]=[],_0x2e268f=0x0;_0x2e268f<_0x4a2d57;_0x2e268f++)_0x2e268f<_0x2d9b61?_0x533c1e[_0x2e268f]=_0x4923c1[_0x2e268f]:(_0x20fee7=_0x533c1e[_0x2e268f-0x1],_0x2e268f%_0x2d9b61?_0x2d9b61>0x6&&_0x2e268f%_0x2d9b61==0x4&&(_0x20fee7=_0x2d9d33[_0x20fee7>>>0x18]<<0x18|_0x2d9d33[_0x20fee7>>>0x10&0xff]<<0x10|_0x2d9d33[_0x20fee7>>>0x8&0xff]<<0x8|_0x2d9d33[_0x20fee7&0xff]):(_0x20fee7=_0x20fee7<<0x8|_0x20fee7>>>0x18,_0x20fee7=_0x2d9d33[_0x20fee7>>>0x18]<<0x18|_0x2d9d33[_0x20fee7>>>0x10&0xff]<<0x10|_0x2d9d33[_0x20fee7>>>0x8&0xff]<<0x8|_0x2d9d33[_0x20fee7&0xff],_0x20fee7^=_0x5b5241[_0x2e268f/_0x2d9b61|0x0]<<0x18),_0x533c1e[_0x2e268f]=_0x533c1e[_0x2e268f-_0x2d9b61]^_0x20fee7);for(var _0x3b80fe=this['_invKeySchedule']=[],_0x1f8b75=0x0;_0x1f8b75<_0x4a2d57;_0x1f8b75++){var _0x2e268f=_0x4a2d57-_0x1f8b75;if(_0x1f8b75%0x4)var _0x20fee7=_0x533c1e[_0x2e268f];else var _0x20fee7=_0x533c1e[_0x2e268f-0x4];_0x1f8b75<0x4||_0x2e268f<=0x4?_0x3b80fe[_0x1f8b75]=_0x20fee7:_0x3b80fe[_0x1f8b75]=_0x53446e[_0x2d9d33[_0x20fee7>>>0x18]]^_0x58bd12[_0x2d9d33[_0x20fee7>>>0x10&0xff]]^_0xb15637[_0x2d9d33[_0x20fee7>>>0x8&0xff]]^_0x534267[_0x2d9d33[_0x20fee7&0xff]];}}},'encryptBlock':function(_0x4625c0,_0x3a8651){const _0x46ffb8=_0x5b6685;this[_0x46ffb8(0x4f2)](_0x4625c0,_0x3a8651,this[_0x46ffb8(0x4b8)],_0x3342b7,_0x5dcca2,_0x4d77cd,_0x348636,_0x2d9d33);},'decryptBlock':function(_0x186176,_0x4af5e6){const _0x23f232=_0x5b6685;var _0x513b07=_0x186176[_0x4af5e6+0x1];_0x186176[_0x4af5e6+0x1]=_0x186176[_0x4af5e6+0x3],_0x186176[_0x4af5e6+0x3]=_0x513b07,this[_0x23f232(0x4f2)](_0x186176,_0x4af5e6,this[_0x23f232(0x43c)],_0x53446e,_0x58bd12,_0xb15637,_0x534267,_0x4f5e92);var _0x513b07=_0x186176[_0x4af5e6+0x1];_0x186176[_0x4af5e6+0x1]=_0x186176[_0x4af5e6+0x3],_0x186176[_0x4af5e6+0x3]=_0x513b07;},'_doCryptBlock':function(_0x594706,_0x37b437,_0x39e6dd,_0x171d9f,_0x3cf364,_0xaeacac,_0x54f839,_0x93e749){const _0x2eeb9c=_0x5b6685;for(var _0x44e3ed=this[_0x2eeb9c(0x544)],_0x387c47=_0x594706[_0x37b437]^_0x39e6dd[0x0],_0x19d93f=_0x594706[_0x37b437+0x1]^_0x39e6dd[0x1],_0x3d69be=_0x594706[_0x37b437+0x2]^_0x39e6dd[0x2],_0x5faed=_0x594706[_0x37b437+0x3]^_0x39e6dd[0x3],_0x303623=0x4,_0x3bdc9d=0x1;_0x3bdc9d<_0x44e3ed;_0x3bdc9d++){var _0x47f411=_0x171d9f[_0x387c47>>>0x18]^_0x3cf364[_0x19d93f>>>0x10&0xff]^_0xaeacac[_0x3d69be>>>0x8&0xff]^_0x54f839[_0x5faed&0xff]^_0x39e6dd[_0x303623++],_0x1752ef=_0x171d9f[_0x19d93f>>>0x18]^_0x3cf364[_0x3d69be>>>0x10&0xff]^_0xaeacac[_0x5faed>>>0x8&0xff]^_0x54f839[_0x387c47&0xff]^_0x39e6dd[_0x303623++],_0x45b0ce=_0x171d9f[_0x3d69be>>>0x18]^_0x3cf364[_0x5faed>>>0x10&0xff]^_0xaeacac[_0x387c47>>>0x8&0xff]^_0x54f839[_0x19d93f&0xff]^_0x39e6dd[_0x303623++],_0x1177fb=_0x171d9f[_0x5faed>>>0x18]^_0x3cf364[_0x387c47>>>0x10&0xff]^_0xaeacac[_0x19d93f>>>0x8&0xff]^_0x54f839[_0x3d69be&0xff]^_0x39e6dd[_0x303623++];_0x387c47=_0x47f411,_0x19d93f=_0x1752ef,_0x3d69be=_0x45b0ce,_0x5faed=_0x1177fb;}var _0x47f411=(_0x93e749[_0x387c47>>>0x18]<<0x18|_0x93e749[_0x19d93f>>>0x10&0xff]<<0x10|_0x93e749[_0x3d69be>>>0x8&0xff]<<0x8|_0x93e749[_0x5faed&0xff])^_0x39e6dd[_0x303623++],_0x1752ef=(_0x93e749[_0x19d93f>>>0x18]<<0x18|_0x93e749[_0x3d69be>>>0x10&0xff]<<0x10|_0x93e749[_0x5faed>>>0x8&0xff]<<0x8|_0x93e749[_0x387c47&0xff])^_0x39e6dd[_0x303623++],_0x45b0ce=(_0x93e749[_0x3d69be>>>0x18]<<0x18|_0x93e749[_0x5faed>>>0x10&0xff]<<0x10|_0x93e749[_0x387c47>>>0x8&0xff]<<0x8|_0x93e749[_0x19d93f&0xff])^_0x39e6dd[_0x303623++],_0x1177fb=(_0x93e749[_0x5faed>>>0x18]<<0x18|_0x93e749[_0x387c47>>>0x10&0xff]<<0x10|_0x93e749[_0x19d93f>>>0x8&0xff]<<0x8|_0x93e749[_0x3d69be&0xff])^_0x39e6dd[_0x303623++];_0x594706[_0x37b437]=_0x47f411,_0x594706[_0x37b437+0x1]=_0x1752ef,_0x594706[_0x37b437+0x2]=_0x45b0ce,_0x594706[_0x37b437+0x3]=_0x1177fb;},'keySize':0x100/0x20});_0x1eb286[_0x5b6685(0x5e5)]=_0x1b354d[_0x5b6685(0x56e)](_0x30c683);}()),_0x282f83['AES'];}));}(_0x5668c1));var _0x4ac9e7=_0x5668c1['exports'];const _0x2d36d2=_0x1022fc(_0x4ac9e7);var _0x6bf7a8=_0x531993();const _0x4583ed=_0x1022fc(_0x6bf7a8);var _0x49d2eb={'exports':{}};(function(_0x3200b7,_0x156045){(function(_0xafc4e4,_0x1535c5){const _0x3cc669=_0x10db;_0x3200b7[_0x3cc669(0x5a4)]=_0x1535c5(_0x4d115a());}(_0x4dbd98,function(_0x811592){const _0x4b0781=_0x10db;return _0x811592['enc'][_0x4b0781(0x5cc)];}));}(_0x49d2eb));var _0x5376ad=_0x49d2eb[_0x139045(0x5a4)];const _0x3b2f6b=_0x1022fc(_0x5376ad);var _0x423326={'exports':{}};(function(_0x5402e2,_0x374fbe){(function(_0x4be80,_0xc56a0a){const _0x540c0b=_0x10db;_0x5402e2[_0x540c0b(0x5a4)]=_0xc56a0a(_0x4d115a());}(_0x4dbd98,function(_0xaa176b){const _0x59ec98=_0x10db;return(function(){const _0x5dad80=_0x10db;if(typeof ArrayBuffer==_0x5dad80(0x231)){var _0x1feca5=_0xaa176b,_0x3703b5=_0x1feca5[_0x5dad80(0x30d)],_0x14fd6d=_0x3703b5['WordArray'],_0x2faa74=_0x14fd6d[_0x5dad80(0x4a1)],_0x505c27=_0x14fd6d['init']=function(_0x301f74){const _0x2c8ac2=_0x5dad80;if(_0x301f74 instanceof ArrayBuffer&&(_0x301f74=new Uint8Array(_0x301f74)),(_0x301f74 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x301f74 instanceof Uint8ClampedArray||_0x301f74 instanceof Int16Array||_0x301f74 instanceof Uint16Array||_0x301f74 instanceof Int32Array||_0x301f74 instanceof Uint32Array||_0x301f74 instanceof Float32Array||_0x301f74 instanceof Float64Array)&&(_0x301f74=new Uint8Array(_0x301f74[_0x2c8ac2(0x27c)],_0x301f74[_0x2c8ac2(0x295)],_0x301f74[_0x2c8ac2(0x24e)])),_0x301f74 instanceof Uint8Array){for(var _0x33321a=_0x301f74[_0x2c8ac2(0x24e)],_0x45c3ba=[],_0x4ca4be=0x0;_0x4ca4be<_0x33321a;_0x4ca4be++)_0x45c3ba[_0x4ca4be>>>0x2]|=_0x301f74[_0x4ca4be]<<0x18-_0x4ca4be%0x4*0x8;_0x2faa74[_0x2c8ac2(0x2b0)](this,_0x45c3ba,_0x33321a);}else _0x2faa74[_0x2c8ac2(0x221)](this,arguments);};_0x505c27[_0x5dad80(0x216)]=_0x14fd6d;}}()),_0xaa176b[_0x59ec98(0x30d)][_0x59ec98(0x3a5)];}));}(_0x423326));var _0x512ccc=_0x423326['exports'];const _0x557d38=_0x1022fc(_0x512ccc);var _0x323602={'exports':{}};(function(_0x97a58,_0x39a260){(function(_0x77d9cf,_0x491662,_0x5030e5){const _0x155e0c=_0x10db;_0x97a58[_0x155e0c(0x5a4)]=_0x491662(_0x4d115a(),_0x1f47b6());}(_0x4dbd98,function(_0x1d5678){const _0x5d2a7d=_0x10db;return _0x1d5678[_0x5d2a7d(0x64a)]['NoPadding']={'pad':function(){},'unpad':function(){}},_0x1d5678[_0x5d2a7d(0x64a)][_0x5d2a7d(0x3b2)];}));}(_0x323602));var _0x248ec5=_0x323602['exports'];const _0x121585=_0x1022fc(_0x248ec5);function _0x5417fe(_0x4dc591,_0x562966){const _0x51f115=_0x139045,_0x423a9e=_0x562966-_0x4dc591['length']%_0x562966,_0x164bf5=String['fromCharCode'](_0x423a9e)[_0x51f115(0x2a7)](_0x423a9e);return _0x4dc591+_0x164bf5;}function _0x407874(_0x5e626a,_0x3ebf09){const _0x17cb5e=_0x139045,_0x1d3660=_0x557d38[_0x17cb5e(0x3d4)](0x10),_0x1c75a8=_0x5417fe(_0x5e626a,0x10),_0x1db3af=_0x2d36d2[_0x17cb5e(0x2de)](_0x3b2f6b['parse'](_0x1c75a8),_0x4583ed['parse'](_0x3ebf09),{'iv':_0x1d3660,'padding':_0x121585});return _0x1d3660[_0x17cb5e(0x39e)](_0x1db3af[_0x17cb5e(0x314)])[_0x17cb5e(0x2eb)](_0x4583ed);}function _0x36834a(){const _0x45496a=_0x139045,_0x7bccdb=(typeof WorkerGlobalScope<'u'&&self instanceof WorkerGlobalScope?self:window)[_0x45496a(0x56b)];if(_0x7bccdb){const _0x23f2d8={'time':Math[_0x45496a(0x69e)](Date[_0x45496a(0x379)]()/0x3e8),'domain':location[_0x45496a(0x3da)]};return _0x407874(JSON[_0x45496a(0x658)](_0x23f2d8),_0x7bccdb);}}var _0x3a1b46=Object[_0x139045(0x620)],_0x25d193=Object[_0x139045(0x264)],_0x2223ba=(_0x4947d7,_0x43f349,_0x2df7dd,_0x139f52)=>{const _0x4ecda0=_0x139045;for(var _0x3e4892=_0x139f52>0x1?void 0x0:_0x139f52?_0x25d193(_0x43f349,_0x2df7dd):_0x43f349,_0x494e82=_0x4947d7[_0x4ecda0(0x62b)]-0x1,_0x21bf0d;_0x494e82>=0x0;_0x494e82--)(_0x21bf0d=_0x4947d7[_0x494e82])&&(_0x3e4892=(_0x139f52?_0x21bf0d(_0x43f349,_0x2df7dd,_0x3e4892):_0x21bf0d(_0x3e4892))||_0x3e4892);return _0x139f52&&_0x3e4892&&_0x3a1b46(_0x43f349,_0x2df7dd,_0x3e4892),_0x3e4892;},_0x198d82=(_0xcce721,_0x477774)=>(_0x360dc4,_0x45cadd)=>_0x477774(_0x360dc4,_0x45cadd,_0xcce721);let _0x18935c=class{constructor(_0xe84e68){const _0x4027d9=_0x139045;this[_0x4027d9(0x517)]=_0xe84e68,this[_0x4027d9(0x545)]();}[_0x139045(0x545)](){const _0x443b9e=_0x139045;this[_0x443b9e(0x517)]['registerHTTPInterceptor']({'interceptor':(_0x28097b,_0x354457)=>{const _0x2f3409=_0x443b9e,_0x1d0c74=_0x28097b[_0x2f3409(0x4b6)],_0xc29121=_0x36834a();return _0xc29121&&_0x1d0c74[_0x2f3409(0x3fd)](_0x2f3409(0x5f7),_0xc29121),_0x354457(_0x28097b);}});}};_0x18935c=_0x2223ba([_0x198d82(0x0,_0x170db9[_0x139045(0x283)](_0x2e400a[_0x139045(0x201)]))],_0x18935c);var _0x164bd3=Object[_0x139045(0x620)],_0x49e8d8=Object[_0x139045(0x264)],_0x1b5567=(_0x3ab5a1,_0x30cee9,_0x303405,_0x51a65e)=>{const _0x54d1d6=_0x139045;for(var _0x33f0e8=_0x51a65e>0x1?void 0x0:_0x51a65e?_0x49e8d8(_0x30cee9,_0x303405):_0x30cee9,_0x5aad0f=_0x3ab5a1[_0x54d1d6(0x62b)]-0x1,_0x1748be;_0x5aad0f>=0x0;_0x5aad0f--)(_0x1748be=_0x3ab5a1[_0x5aad0f])&&(_0x33f0e8=(_0x51a65e?_0x1748be(_0x30cee9,_0x303405,_0x33f0e8):_0x1748be(_0x33f0e8))||_0x33f0e8);return _0x51a65e&&_0x33f0e8&&_0x164bd3(_0x30cee9,_0x303405,_0x33f0e8),_0x33f0e8;},_0x25094f=(_0x3d4ab2,_0x1c5d73)=>(_0x2006ad,_0x1dcdaa)=>_0x1c5d73(_0x2006ad,_0x1dcdaa,_0x3d4ab2);const _0x39a1bf=[_0x139045(0x41c),'image/jpeg',_0x139045(0x65d),_0x139045(0x30e),_0x139045(0x639)],_0x1629d2=0x5*0x400*0x400,_0x34a910=_0x139045(0x656),_0x232091=_0x139045(0x367),_0x3b848d=_0x139045(0x419),_0x4d230b=_0x139045(0x647);_0x2ebd39[_0x139045(0x304)]=class{constructor(_0x4ae54d,_0x34605e,_0x1597b9){const _0x454b8b=_0x139045;_0xee5085(this,_0x454b8b(0x608),0x0),_0xee5085(this,_0x454b8b(0x5bb),new _0x145930['Subject']()),_0xee5085(this,_0x454b8b(0x5b6),this[_0x454b8b(0x5bb)]),_0xee5085(this,_0x454b8b(0x1f4),new Map()),(this['_httpService']=_0x4ae54d,this[_0x454b8b(0x397)]=_0x34605e,this[_0x454b8b(0x230)]=_0x1597b9);}[_0x139045(0x612)](_0x5ee21a){this['_waitCount']=_0x5ee21a,this['_change$']['next'](_0x5ee21a);}['getImageSourceCache'](_0x2c0861,_0x543058){const _0x4578cc=_0x139045;if(_0x543058===_0x19d7a3[_0x4578cc(0x357)][_0x4578cc(0x623)]){const _0x43c275=new Image();return _0x43c275[_0x4578cc(0x524)]=_0x2c0861,_0x43c275;}return this[_0x4578cc(0x1f4)]['get'](_0x2c0861);}[_0x139045(0x44c)](_0x523467,_0x2d0f04,_0x599597){const _0x344562=_0x139045;_0x2d0f04===_0x19d7a3[_0x344562(0x357)][_0x344562(0x623)]||_0x599597==null||this[_0x344562(0x1f4)][_0x344562(0x3fd)](_0x523467,_0x599597);}async['getImage'](_0x336720){const _0x68b829=_0x139045;try{const _0x197e13=this['_replaceFileID'](this[_0x68b829(0x693)](),''+_0x336720),_0x260af8=(await this['_httpService']['get'](_0x197e13))['body'];if(_0x260af8['error']&&_0x260af8[_0x68b829(0x406)]['code']===_0x3d36da['OK']){const _0x37824c=new URL(_0x260af8[_0x68b829(0x64f)],this[_0x68b829(0x52d)]())[_0x68b829(0x2eb)]();return Promise['resolve'](_0x37824c);}return Promise[_0x68b829(0x2a1)](_0x260af8[_0x68b829(0x406)]);}catch(_0x4dfed2){return Promise['reject'](_0x4dfed2);}}async['saveImage'](_0x502c25){const _0x111435=_0x139045;let _0xde9c5b='';if(!_0x39a1bf[_0x111435(0x63b)](_0x502c25[_0x111435(0x3e2)]))return this[_0x111435(0x515)](),Promise['reject'](new Error(_0x19d7a3[_0x111435(0x535)]['ERROR_IMAGE_TYPE']));if(_0x502c25[_0x111435(0x60c)]>_0x1629d2)return this[_0x111435(0x515)](),Promise['reject'](new Error(_0x19d7a3['ImageUploadStatusType'][_0x111435(0x66f)]));try{const _0x4a36bb=new FormData();_0x4a36bb[_0x111435(0x26f)](_0x111435(0x434),_0x502c25);const _0x1092c4=this['_univerInstanceService']['getFocusedUnit'](),_0xe6b9a2=_0x1092c4==null?void 0x0:_0x1092c4[_0x111435(0x238)]();if(!_0xe6b9a2)throw new Error(_0x111435(0x53d));const _0x1af5fa=this[_0x111435(0x2e3)]()+'?size='+_0x502c25[_0x111435(0x60c)]['toString']()+_0x111435(0x427)+_0x517db4[_0x111435(0x662)]+_0x111435(0x4f3)+encodeURIComponent(_0xe6b9a2),_0x47f34e=await(await fetch(_0x1af5fa,{'method':'POST','body':_0x4a36bb}))[_0x111435(0x1f9)]();if(typeof _0x47f34e['FileId']!='string')return this['_decreaseWaiting'](),Promise[_0x111435(0x2a1)](new Error(_0x19d7a3[_0x111435(0x535)][_0x111435(0x529)]));_0xde9c5b=_0x47f34e[_0x111435(0x51f)];}catch{return this['_decreaseWaiting'](),Promise[_0x111435(0x2a1)](new Error(_0x19d7a3[_0x111435(0x535)][_0x111435(0x529)]));}return new Promise((_0x7eea3f,_0x5128ec)=>{const _0x3319db=_0x111435,_0x54be65=new FileReader();_0x54be65['readAsDataURL'](_0x502c25),_0x54be65[_0x3319db(0x2b5)]=_0xab714a=>{const _0x28b223=_0x3319db;var _0x1f08ae;const _0x10d585=(_0x1f08ae=_0xab714a[_0x28b223(0x250)])==null?void 0x0:_0x1f08ae[_0x28b223(0x346)];if(_0x10d585==null){this[_0x28b223(0x515)](),_0x5128ec(new Error(_0x19d7a3[_0x28b223(0x535)][_0x28b223(0x529)]));return;}const _0x1f724b=_0x170db9[_0x28b223(0x26e)]['generateRandomId'](0x6);_0x7eea3f({'imageId':_0x1f724b,'imageSourceType':_0x19d7a3[_0x28b223(0x357)][_0x28b223(0x257)],'source':_0xde9c5b,'base64Cache':_0x10d585,'status':_0x19d7a3[_0x28b223(0x535)][_0x28b223(0x63d)]}),this['_decreaseWaiting']();};});}[_0x139045(0x2e3)](){const _0x4f2074=_0x139045;var _0x51a18f,_0x3848a5;const _0x477daa=this[_0x4f2074(0x397)][_0x4f2074(0x34b)](_0x34a910),_0x3748aa=this[_0x4f2074(0x397)][_0x4f2074(0x34b)](_0x2cc87b);return(_0x3848a5=(_0x51a18f=_0x3748aa==null?void 0x0:_0x3748aa[_0x4f2074(0x46c)])!=null?_0x51a18f:_0x477daa)!=null?_0x3848a5:_0x232091;}[_0x139045(0x693)](){const _0x1af41a=_0x139045;var _0x2e9e23,_0x366dff;const _0x2676f5=this[_0x1af41a(0x397)][_0x1af41a(0x34b)](_0x3b848d),_0x204c18=this['_configService'][_0x1af41a(0x34b)](_0x2cc87b);return(_0x366dff=(_0x2e9e23=_0x204c18==null?void 0x0:_0x204c18[_0x1af41a(0x299)])!=null?_0x2e9e23:_0x2676f5)!=null?_0x366dff:_0x4d230b;}[_0x139045(0x52d)](){const _0x593ab9=_0x139045;var _0x558076;const _0x5b1362=this[_0x593ab9(0x397)][_0x593ab9(0x34b)](_0x2cc87b);return(_0x558076=_0x5b1362==null?void 0x0:_0x5b1362['downloadEndpointUrl'])!=null?_0x558076:location[_0x593ab9(0x4ae)];}['_replaceFileID'](_0x339f50,_0x528079){const _0x262827=_0x139045;return _0x339f50[_0x262827(0x42e)](_0x262827(0x52e),_0x528079);}[_0x139045(0x515)](){const _0x25721e=_0x139045;this[_0x25721e(0x608)]-=0x1,this[_0x25721e(0x5bb)][_0x25721e(0x4ed)](this['_waitCount']);}},_0x2ebd39[_0x139045(0x304)]=_0x1b5567([_0x25094f(0x0,_0x170db9[_0x139045(0x283)](_0x2e400a['HTTPService'])),_0x25094f(0x1,_0x170db9['IConfigService']),_0x25094f(0x2,_0x170db9[_0x139045(0x283)](_0x170db9['IUniverInstanceService']))],_0x2ebd39[_0x139045(0x304)]);var _0x132f3e=Object[_0x139045(0x620)],_0x4349c2=Object[_0x139045(0x264)],_0x4a2f17=(_0x21b765,_0x4fab7f,_0x759a84,_0x1e8f23)=>{const _0x3df514=_0x139045;for(var _0x29c141=_0x1e8f23>0x1?void 0x0:_0x1e8f23?_0x4349c2(_0x4fab7f,_0x759a84):_0x4fab7f,_0x11f975=_0x21b765[_0x3df514(0x62b)]-0x1,_0x1f6ca1;_0x11f975>=0x0;_0x11f975--)(_0x1f6ca1=_0x21b765[_0x11f975])&&(_0x29c141=(_0x1e8f23?_0x1f6ca1(_0x4fab7f,_0x759a84,_0x29c141):_0x1f6ca1(_0x29c141))||_0x29c141);return _0x1e8f23&&_0x29c141&&_0x132f3e(_0x4fab7f,_0x759a84,_0x29c141),_0x29c141;},_0x2c8d18=(_0xbefcdf,_0xe0ce0f)=>(_0x4d1469,_0x2ab4fa)=>_0xe0ce0f(_0x4d1469,_0x2ab4fa,_0xbefcdf);let _0x171ac9=class extends _0x170db9[_0x139045(0x436)]{constructor(_0x3223bb,_0x3a662f,_0x40b350,_0x344355,_0x1f61df){const _0x49c18e=_0x139045;super(),this[_0x49c18e(0x43f)]=_0x3223bb,this[_0x49c18e(0x230)]=_0x3a662f,this[_0x49c18e(0x42a)]=_0x40b350,this[_0x49c18e(0x4b2)]=_0x344355,this['_localeService']=_0x1f61df,this['_initUnitPermissionChange'](),this['_initCloseConn']();}[_0x139045(0x4d9)](){const _0x105c47=_0x139045,_0x209141=async _0x30aca0=>{const _0x16d866=_0x10db;(await this[_0x16d866(0x4b2)][_0x16d866(0x2f8)](_0x30aca0))[_0x16d866(0x2b6)][_0x16d866(0x640)](_0x34e4e3[_0x16d866(0x296)](_0x3d00f5=>_0x3d00f5['eventID']===_0x294b4b[_0x16d866(0x3af)][_0x16d866(0x5c9)]),_0x34e4e3[_0x16d866(0x28b)](this[_0x16d866(0x67f)]))[_0x16d866(0x519)](_0x1efbf2=>{const _0x15a607=_0x16d866,_0x4fc944=_0x1efbf2,{reason:_0x273dee}=_0x4fc944['data'];this['_injector'][_0x15a607(0x51c)](_0x332830['IMessageService'])[_0x15a607(0x4ef)]({'type':_0x3e1273['MessageType'][_0x15a607(0x355)],'content':this[_0x15a607(0x630)]['t'](_0x15a607(0x2ae))+'('+_0x273dee+')'}),this[_0x15a607(0x42a)]['updatePermissionPoint'](new _0x292e35['WorkbookEditablePermission'](_0x30aca0)['id'],!0x1),this[_0x15a607(0x4b2)][_0x15a607(0x325)](_0x30aca0);});};_0x145930[_0x105c47(0x5ea)](this[_0x105c47(0x230)][_0x105c47(0x4c6)](_0x170db9[_0x105c47(0x320)][_0x105c47(0x696)]),this[_0x105c47(0x230)][_0x105c47(0x4c6)](_0x170db9[_0x105c47(0x320)][_0x105c47(0x4ca)]))[_0x105c47(0x640)](_0x34e4e3[_0x105c47(0x33a)](_0x15b6b6=>_0x15b6b6['getUnitId']()),_0x34e4e3['filter'](_0x5f4b47=>!_0x170db9[_0x105c47(0x286)](_0x5f4b47)),_0x34e4e3['takeUntil'](this[_0x105c47(0x67f)]))[_0x105c47(0x519)](_0x4301d3=>{_0x209141(_0x4301d3);});}[_0x139045(0x29e)](){const _0x3ecd28=_0x139045,_0x550a92=async _0x1469a2=>{const _0x4d363c=_0x10db;(await this[_0x4d363c(0x4b2)]['requireSession'](_0x1469a2))[_0x4d363c(0x2b6)]['pipe'](_0x34e4e3[_0x4d363c(0x296)](_0x1e6aaa=>_0x1e6aaa[_0x4d363c(0x258)]===_0x294b4b['CollaborationEvent'][_0x4d363c(0x5f8)]),_0x34e4e3[_0x4d363c(0x28b)](this['dispose$']))['subscribe'](_0x203bc6=>{const _0x35f125=_0x4d363c,_0x260755=_0x203bc6,{objectId:_0x131e8d}=_0x260755[_0x35f125(0x3a4)],_0x4bb4be=this[_0x35f125(0x43f)]['get'](_0x342006[_0x35f125(0x553)]);_0x131e8d===_0x1469a2?_0x4bb4be[_0x35f125(0x53a)](_0x1469a2):_0x4bb4be['refreshPermission'](_0x1469a2,_0x131e8d);});};_0x145930[_0x3ecd28(0x5ea)](this[_0x3ecd28(0x230)][_0x3ecd28(0x4c6)](_0x170db9[_0x3ecd28(0x320)][_0x3ecd28(0x696)]),this[_0x3ecd28(0x230)]['getTypeOfUnitAdded$'](_0x170db9[_0x3ecd28(0x320)][_0x3ecd28(0x4ca)]))[_0x3ecd28(0x640)](_0x34e4e3[_0x3ecd28(0x33a)](_0x198a17=>_0x198a17['getUnitId']()),_0x34e4e3[_0x3ecd28(0x296)](_0x1a35f2=>!_0x170db9['isInternalEditorID'](_0x1a35f2)),_0x34e4e3[_0x3ecd28(0x28b)](this['dispose$']))['subscribe'](_0x46b3e2=>{_0x550a92(_0x46b3e2);});}};_0x171ac9=_0x4a2f17([_0x2c8d18(0x0,_0x170db9[_0x139045(0x283)](_0x170db9[_0x139045(0x667)])),_0x2c8d18(0x1,_0x170db9[_0x139045(0x22f)]),_0x2c8d18(0x2,_0x170db9['IPermissionService']),_0x2c8d18(0x3,_0x170db9[_0x139045(0x283)](_0x2ebd39[_0x139045(0x353)])),_0x2c8d18(0x4,_0x170db9['Inject'](_0x170db9[_0x139045(0x2bc)]))],_0x171ac9);var _0x4279c7=Object[_0x139045(0x620)],_0x565dda=Object[_0x139045(0x264)],_0x64e997=(_0x5fcd2e,_0x5c1fc9,_0x375e4d,_0x2e0433)=>{const _0x2f90b6=_0x139045;for(var _0x1e3fce=_0x2e0433>0x1?void 0x0:_0x2e0433?_0x565dda(_0x5c1fc9,_0x375e4d):_0x5c1fc9,_0x5accbf=_0x5fcd2e[_0x2f90b6(0x62b)]-0x1,_0x3f66f6;_0x5accbf>=0x0;_0x5accbf--)(_0x3f66f6=_0x5fcd2e[_0x5accbf])&&(_0x1e3fce=(_0x2e0433?_0x3f66f6(_0x5c1fc9,_0x375e4d,_0x1e3fce):_0x3f66f6(_0x1e3fce))||_0x1e3fce);return _0x2e0433&&_0x1e3fce&&_0x4279c7(_0x5c1fc9,_0x375e4d,_0x1e3fce),_0x1e3fce;},_0x317d6b=(_0x3343ba,_0x326710)=>(_0x4805cb,_0xfdb658)=>_0x326710(_0x4805cb,_0xfdb658,_0x3343ba);_0x2ebd39[_0x139045(0x4f0)]=class{constructor(_0x3936d5,_0x185a1a){const _0x18363f=_0x139045;this[_0x18363f(0x397)]=_0x3936d5,this['_httpService']=_0x185a1a;}async[_0x139045(0x4d5)](_0x358b25,_0xb41486){const _0x2bcfcd=_0x139045;var _0x2feff2;const {unitID:_0xbd59db,type:_0x31ab01,revision:_0x131c54=0x0}=_0xb41486,_0x8e2bb1=this[_0x2bcfcd(0x44e)]()+'/'+_0x31ab01+_0x2bcfcd(0x5b2)+_0xbd59db+_0x2bcfcd(0x4ff)+_0x131c54,_0x297b93=(await this[_0x2bcfcd(0x517)][_0x2bcfcd(0x51c)](_0x8e2bb1))[_0x2bcfcd(0x43e)],_0x417a2c=(_0x2feff2=_0x297b93[_0x2bcfcd(0x5f2)])==null?void 0x0:_0x2feff2[_0x2bcfcd(0x590)];if(_0x417a2c){const _0x59f269=_0x417a2c==null?void 0x0:_0x417a2c[_0x2bcfcd(0x5af)],_0x32de5f=_0x294b4b['textEncoder']['encode'](_0x294b4b[_0x2bcfcd(0x5a1)](_0x59f269));_0x417a2c[_0x2bcfcd(0x5af)]=_0x32de5f,Object['entries'](_0x417a2c[_0x2bcfcd(0x660)])['forEach'](([,_0x164ef0])=>{const _0x1f8d28=_0x2bcfcd,_0x909949=_0x164ef0['originalMeta'],_0x17c0e9=_0x294b4b['textEncoder'][_0x1f8d28(0x40e)](_0x294b4b[_0x1f8d28(0x5a1)](_0x909949));_0x164ef0[_0x1f8d28(0x5af)]=_0x17c0e9;});}return _0x297b93;}async[_0x139045(0x345)](_0x80559c,_0x2905b7){const _0x49f685=_0x139045,{unitID:_0x13f7a8,type:_0x5fd722,blockID:_0x4e50f6}=_0x2905b7,_0xe966e3=this['_getAPIPrefix']()+'/'+_0x5fd722+_0x49f685(0x5b2)+_0x13f7a8+_0x49f685(0x3d9)+_0x4e50f6;return(await this['_httpService'][_0x49f685(0x51c)](_0xe966e3))[_0x49f685(0x43e)];}async[_0x139045(0x69f)](_0x4117fe,_0x2280c6){const _0x775079=_0x139045,{unitID:_0x5c2553,type:_0x76ba3d,blockID:_0x536079}=_0x2280c6,_0x4007e6=this[_0x775079(0x402)]()+_0x775079(0x3d9)+_0x76ba3d+'/unit/'+_0x5c2553+_0x775079(0x3d9)+_0x536079;return(await this[_0x775079(0x517)][_0x775079(0x51c)](_0x4007e6))[_0x775079(0x43e)];}async[_0x139045(0x440)](_0x4fb517,_0x295901){const _0x21d5c0=_0x139045,{unitID:_0x905dc4,type:_0xb0595e,from:_0x459a58,to:_0x3374ab}=_0x295901,_0x4cfa93=this[_0x21d5c0(0x402)]()+'/'+_0xb0595e+_0x21d5c0(0x5b2)+_0x905dc4+_0x21d5c0(0x5ac)+_0x459a58+_0x21d5c0(0x42b)+_0x3374ab;return(await this[_0x21d5c0(0x517)]['get'](_0x4cfa93))[_0x21d5c0(0x43e)];}[_0x139045(0x44e)](){const _0x2f6fe6=_0x139045;var _0x2d5820;return(_0x2d5820=this[_0x2f6fe6(0x397)][_0x2f6fe6(0x34b)](_0x23a416))!=null?_0x2d5820:this[_0x2f6fe6(0x402)]();}[_0x139045(0x402)](){const _0x41807f=_0x139045;var _0x25305c,_0x49d393;const _0x327f81=this[_0x41807f(0x397)][_0x41807f(0x34b)](_0x382152),_0xa1354=this[_0x41807f(0x397)][_0x41807f(0x34b)](_0x2cc87b);return(_0x49d393=(_0x25305c=_0xa1354==null?void 0x0:_0xa1354['snapshotServerUrl'])!=null?_0x25305c:_0x327f81)!=null?_0x49d393:_0x4275b2;}async[_0x139045(0x502)](_0x40586b,_0x1752aa){const _0x2fd3fa=_0x139045,_0x5b30db='/universer-api/snapshot/'+_0x1752aa['type']+_0x2fd3fa(0x5b2)+_0x1752aa[_0x2fd3fa(0x4ee)]+_0x2fd3fa(0x2c2);return(await this['_httpService'][_0x2fd3fa(0x51c)](_0x5b30db,{'params':{'resourceId':JSON[_0x2fd3fa(0x658)](_0x1752aa[_0x2fd3fa(0x2bd)])}}))['body'];}[_0x139045(0x5e9)](){const _0x247c90=_0x139045;throw new Error(_0x247c90(0x2c5));}[_0x139045(0x56f)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x139045(0x2dd)](){const _0xd6b577=_0x139045;throw new Error(_0xd6b577(0x2c5));}[_0x139045(0x2aa)](){const _0x117418=_0x139045;throw new Error(_0x117418(0x2c5));}[_0x139045(0x585)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}},_0x2ebd39[_0x139045(0x4f0)]=_0x64e997([_0x317d6b(0x0,_0x170db9[_0x139045(0x57a)]),_0x317d6b(0x1,_0x170db9[_0x139045(0x283)](_0x2e400a[_0x139045(0x201)]))],_0x2ebd39[_0x139045(0x4f0)]);var _0x419d75=Object[_0x139045(0x620)],_0x505eca=Object[_0x139045(0x264)],_0x3966f0=(_0x432c48,_0x1434d8,_0x70d9bf,_0x660e1e)=>{const _0x392ede=_0x139045;for(var _0x4a330d=_0x660e1e>0x1?void 0x0:_0x660e1e?_0x505eca(_0x1434d8,_0x70d9bf):_0x1434d8,_0x47a906=_0x432c48[_0x392ede(0x62b)]-0x1,_0x431458;_0x47a906>=0x0;_0x47a906--)(_0x431458=_0x432c48[_0x47a906])&&(_0x4a330d=(_0x660e1e?_0x431458(_0x1434d8,_0x70d9bf,_0x4a330d):_0x431458(_0x4a330d))||_0x4a330d);return _0x660e1e&&_0x4a330d&&_0x419d75(_0x1434d8,_0x70d9bf,_0x4a330d),_0x4a330d;},_0x26bc83=(_0x4ae13e,_0x40645d)=>(_0x4493f4,_0x52361b)=>_0x40645d(_0x4493f4,_0x52361b,_0x4ae13e);let _0x1a66c0=class extends _0x170db9[_0x139045(0x486)]{constructor(_0x249595,_0x2d42c8,_0xf319,_0xb3084d,_0x281084){const _0x2a0df7=_0x139045;super(_0x249595,_0x2d42c8,_0xf319),this[_0x2a0df7(0x205)]=_0xb3084d,this[_0x2a0df7(0x5b4)]=_0x281084;}['transformUndoRedo'](_0x33dcf8,_0x5ad088){const _0x31596f=_0x139045,_0x210920=this[_0x31596f(0x60b)](_0x33dcf8);if(_0x210920)try{const _0x9b556a=this['_transformStack'](_0x210920,_0x5ad088);this['_substituteUndoStack'](_0x33dcf8,_0x9b556a);}catch(_0x1b761c){this[_0x31596f(0x5b4)][_0x31596f(0x406)](_0x31596f(0x4bd),_0x1b761c),this[_0x31596f(0x4c1)](_0x33dcf8);}const _0x35806c=this['_getRedoStack'](_0x33dcf8);if(_0x35806c)try{const _0x4f373d=this[_0x31596f(0x2b9)](_0x35806c,_0x5ad088);this[_0x31596f(0x565)](_0x33dcf8,_0x4f373d);}catch(_0x3bda15){this[_0x31596f(0x5b4)][_0x31596f(0x406)](_0x3bda15),this['_clearRedo'](_0x33dcf8);}}[_0x139045(0x4c1)](_0x4604d3){const _0x1130fe=_0x139045,_0x5a1eed=this[_0x1130fe(0x60b)](_0x4604d3);_0x5a1eed&&(_0x5a1eed[_0x1130fe(0x62b)]=0x0,this[_0x1130fe(0x47c)]());}[_0x139045(0x48a)](_0x520bac){const _0x337ab4=_0x139045,_0x3f9d67=this['_getRedoStack'](_0x520bac);_0x3f9d67&&(_0x3f9d67['length']=0x0,this[_0x337ab4(0x47c)]());}[_0x139045(0x625)](_0x28070c,_0x1f33d5){const _0x1ba6f3=_0x139045;this[_0x1ba6f3(0x4c2)][_0x1ba6f3(0x3fd)](_0x28070c,_0x1f33d5),this[_0x1ba6f3(0x47c)]();}[_0x139045(0x565)](_0x41a237,_0x847263){const _0x478a5e=_0x139045;this[_0x478a5e(0x4e7)][_0x478a5e(0x3fd)](_0x41a237,_0x847263),this['_updateStatus']();}[_0x139045(0x2b9)](_0x1daf0c,_0x439d72){const _0x2eafdb=_0x139045,_0x180959=[];let _0x58027f=_0x439d72,_0x2597dd=_0x439d72;for(let _0x1acaef=_0x1daf0c[_0x2eafdb(0x62b)]-0x1;_0x1acaef>=0x0;_0x1acaef--){const {unitID:_0x47e0ec,undoMutations:_0x2f5baa,redoMutations:_0x11792f}=_0x1daf0c[_0x1acaef],_0x557fb1=this['_transformService']['transformMutationsWithChangeset'](_0x58027f,_0x2f5baa),_0x50d916=this[_0x2eafdb(0x205)][_0x2eafdb(0x5fe)](_0x2597dd,_0x11792f);if(_0x294b4b[_0x2eafdb(0x328)](_0x557fb1)||_0x294b4b['isTransformMutationsWithChangesetFailure'](_0x50d916)){this[_0x2eafdb(0x5b4)][_0x2eafdb(0x406)](_0x2eafdb(0x4bd),_0x2eafdb(0x26d),_0x557fb1,_0x50d916);break;}_0x58027f=_0x557fb1[_0x2eafdb(0x386)],_0x2597dd=_0x50d916['c1Prime'],_0x180959['push']({'unitID':_0x47e0ec,'undoMutations':_0x557fb1['m2Prime'],'redoMutations':_0x50d916[_0x2eafdb(0x5c3)]});}return _0x180959[_0x2eafdb(0x35d)]();}};_0x1a66c0=_0x3966f0([_0x26bc83(0x0,_0x170db9[_0x139045(0x22f)]),_0x26bc83(0x1,_0x170db9['ICommandService']),_0x26bc83(0x2,_0x170db9['IContextService']),_0x26bc83(0x3,_0x294b4b[_0x139045(0x363)]),_0x26bc83(0x4,_0x170db9[_0x139045(0x686)])],_0x1a66c0);class _0x307fc6 extends _0x170db9[_0x139045(0x436)]{constructor(){const _0x2a3a5a=_0x139045;super(),_0xee5085(this,_0x2a3a5a(0x61c)),this[_0x2a3a5a(0x61c)]=_0x145930['fromEvent'](window,_0x2a3a5a(0x5ad))[_0x2a3a5a(0x640)](_0x145930['takeUntil'](this[_0x2a3a5a(0x67f)]),_0x145930['shareReplay'](0x1),_0x145930['mapTo'](void 0x0));}[_0x139045(0x382)](_0x3e4935,_0x46fcda,_0x1641b1=!0x1){const _0x549be2=_0x139045,_0xcca97d=new URL(window[_0x549be2(0x41d)][_0x549be2(0x6a4)]);_0xcca97d['searchParams'][_0x549be2(0x3fd)](_0x3e4935,_0x46fcda),_0x1641b1?window['history'][_0x549be2(0x405)]('','',_0xcca97d[_0x549be2(0x2eb)]()):window[_0x549be2(0x244)]['pushState']('','',_0xcca97d[_0x549be2(0x2eb)]());}['removeParam'](_0x22018f,_0x4ae684=!0x1){const _0x3a39b4=_0x139045,_0x2be6f5=new URL(window[_0x3a39b4(0x41d)][_0x3a39b4(0x6a4)]);_0x2be6f5[_0x3a39b4(0x37c)][_0x3a39b4(0x5bd)](_0x22018f),_0x4ae684?window[_0x3a39b4(0x244)]['replaceState']('','',_0x2be6f5[_0x3a39b4(0x2eb)]()):window['history'][_0x3a39b4(0x4b4)]('','',_0x2be6f5[_0x3a39b4(0x2eb)]());}[_0x139045(0x68b)](_0x3b6893){const _0x5856c5=_0x139045;var _0xa6537f;return(_0xa6537f=new URL(window[_0x5856c5(0x41d)][_0x5856c5(0x6a4)])[_0x5856c5(0x37c)][_0x5856c5(0x51c)](_0x3b6893))!=null?_0xa6537f:void 0x0;}}var _0x123b3c=Object['defineProperty'],_0x4bf7b4=Object[_0x139045(0x264)],_0x3df6ed=(_0x12664f,_0x5bc3f4,_0x2a03a3)=>_0x5bc3f4 in _0x12664f?_0x123b3c(_0x12664f,_0x5bc3f4,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2a03a3}):_0x12664f[_0x5bc3f4]=_0x2a03a3,_0x5db858=(_0xd9d4a1,_0x29f788,_0x433b2f,_0x19c98d)=>{const _0x2d2bd7=_0x139045;for(var _0xdeef2e=_0x19c98d>0x1?void 0x0:_0x19c98d?_0x4bf7b4(_0x29f788,_0x433b2f):_0x29f788,_0xd8af82=_0xd9d4a1[_0x2d2bd7(0x62b)]-0x1,_0x193299;_0xd8af82>=0x0;_0xd8af82--)(_0x193299=_0xd9d4a1[_0xd8af82])&&(_0xdeef2e=(_0x19c98d?_0x193299(_0x29f788,_0x433b2f,_0xdeef2e):_0x193299(_0xdeef2e))||_0xdeef2e);return _0x19c98d&&_0xdeef2e&&_0x123b3c(_0x29f788,_0x433b2f,_0xdeef2e),_0xdeef2e;},_0x2c47dc=(_0x53c7d3,_0x237c39)=>(_0x217fc7,_0x52b6ee)=>_0x237c39(_0x217fc7,_0x52b6ee,_0x53c7d3),_0x5eef3f=(_0x24a6c3,_0x108be8,_0x57c749)=>_0x3df6ed(_0x24a6c3,_0x108be8+'',_0x57c749);const _0x50a47c='UNIVER_COLLABORATION_CLIENT_PLUGIN';_0x2ebd39[_0x139045(0x385)]=class extends _0x170db9[_0x139045(0x54d)]{constructor(_0x54e728=_0x3ae446,_0x56b601,_0x103243,_0x2a029c,_0x1d8f77){const _0x4c2a3d=_0x139045;super(),this[_0x4c2a3d(0x203)]=_0x54e728,this[_0x4c2a3d(0x5b4)]=_0x56b601,this[_0x4c2a3d(0x42c)]=_0x103243,this['_injector']=_0x2a029c,this[_0x4c2a3d(0x397)]=_0x1d8f77;const {..._0x8801d1}=this[_0x4c2a3d(0x203)];this[_0x4c2a3d(0x397)][_0x4c2a3d(0x3b1)](_0x2cc87b,_0x8801d1);}[_0x139045(0x4cf)](){const _0x2798cf=_0x139045;this[_0x2798cf(0x1eb)](),this['_initDependencies']();}['onReady'](){const _0x443b89=_0x139045;_0x170db9[_0x443b89(0x626)](this[_0x443b89(0x43f)],[[_0x444c85]]);}[_0x139045(0x65b)](){const _0x556113=_0x139045;this[_0x556113(0x479)]();}[_0x139045(0x1eb)](){const _0x16164b=_0x139045;var _0x488714,_0xb2a765,_0x50b4ba,_0x3b0999;this['_injector']['has'](_0x170db9[_0x16164b(0x3c1)])&&this[_0x16164b(0x5b4)]['error'](_0x16164b(0x354),_0x16164b(0x454));const _0x59231e=[[_0x170db9[_0x16164b(0x3c1)],{'useClass':_0x1a66c0}],[_0x2ebd39[_0x16164b(0x353)]],[_0x14d354],[_0x395cfd,{'useClass':_0x307fc6}],[_0x2ebd39[_0x16164b(0x2d4)]],[_0x2ebd39['LocalCacheService']],[_0x2e400a[_0x16164b(0x63e)]],[_0x910a13],[_0x5009b3],[_0x52392c],[_0x374887],[_0x4a72d6],[_0x16eff6],[_0x18935c],[_0x29434f],[_0x171ac9],[_0x54bec8,{'useClass':(_0xb2a765=(_0x488714=this[_0x16164b(0x203)])==null?void 0x0:_0x488714[_0x16164b(0x64c)])!=null?_0xb2a765:_0x2ebd39[_0x16164b(0x4fe)]}],[_0x294b4b[_0x16164b(0x652)],{'useClass':_0x2ebd39[_0x16164b(0x4f0)]}],[_0x170db9[_0x16164b(0x579)],{'useClass':_0x2ebd39[_0x16164b(0x3d5)]}],[_0x19d7a3[_0x16164b(0x634)],{'useClass':_0x2ebd39['ImageIoService']}],[_0x2ebd39[_0x16164b(0x312)]],[_0x2ebd39[_0x16164b(0x2c3)]],[_0x2ebd39['DesktopCollaborationStatusDisplayController']],[_0x444c85],[_0x2ef012]];(_0x50b4ba=this['_config'])!=null&&_0x50b4ba[_0x16164b(0x25a)]&&_0x59231e['push']([_0x2410a4,{'useClass':_0x7ab452}]),_0x170db9[_0x16164b(0x5b3)](this[_0x16164b(0x43f)],_0x170db9['mergeOverrideWithDependencies'](_0x59231e,(_0x3b0999=this[_0x16164b(0x203)])==null?void 0x0:_0x3b0999[_0x16164b(0x347)]));}[_0x139045(0x479)](){const _0x4a6a4a=_0x139045;this[_0x4a6a4a(0x32f)](this['_renderManagerService'][_0x4a6a4a(0x53b)](_0x170db9['UniverInstanceType'][_0x4a6a4a(0x4ca)],[_0x53d888])),this['disposeWithMe'](this['_renderManagerService'][_0x4a6a4a(0x53b)](_0x170db9[_0x4a6a4a(0x320)]['UNIVER_SHEET'],[_0x52b222]));}[_0x139045(0x43a)](){const _0x53090b=_0x139045;var _0x387746,_0x44ddfd;this[_0x53090b(0x43f)]['get'](_0x2e400a[_0x53090b(0x201)])['registerHTTPInterceptor']({'priority':0x14,'interceptor':_0x2e400a[_0x53090b(0x39c)]({'maxParallel':0x6})}),(_0x387746=this[_0x53090b(0x203)])!=null&&_0x387746[_0x53090b(0x624)]||this[_0x53090b(0x43f)][_0x53090b(0x51c)](_0x2ebd39[_0x53090b(0x477)])[_0x53090b(0x598)](),(_0x44ddfd=this['_config'])!=null&&_0x44ddfd[_0x53090b(0x3e5)]&&_0x170db9['touchDependencies'](this[_0x53090b(0x43f)],[[_0x16eff6]]),_0x170db9[_0x53090b(0x626)](this['_injector'],[[_0x18935c],[_0x2ef012],[_0x2ebd39['DataLoaderController']],[_0x2ebd39[_0x53090b(0x312)]],[_0x2ebd39[_0x53090b(0x5a0)]],[_0x171ac9]]);}},_0x5eef3f(_0x2ebd39[_0x139045(0x385)],'pluginName',_0x50a47c),_0x2ebd39[_0x139045(0x385)]=_0x5db858([_0x170db9['DependentOn'](_0x294b4b['UniverCollaborationPlugin'],_0x2e400a['UniverNetworkPlugin']),_0x2c47dc(0x1,_0x170db9[_0x139045(0x686)]),_0x2c47dc(0x2,_0x224b0f['IRenderManagerService']),_0x2c47dc(0x3,_0x170db9[_0x139045(0x283)](_0x170db9[_0x139045(0x667)])),_0x2c47dc(0x4,_0x170db9[_0x139045(0x57a)])],_0x2ebd39[_0x139045(0x385)]),_0x2ebd39[_0x139045(0x2df)]=_0xe9baf9,_0x2ebd39[_0x139045(0x3d2)]=_0x33b525,_0x2ebd39[_0x139045(0x372)]=_0x3e23b2,_0x2ebd39[_0x139045(0x306)]=_0xd10e72,_0x2ebd39[_0x139045(0x602)]=_0x3294e8,_0x2ebd39[_0x139045(0x523)]=_0x29434f,_0x2ebd39[_0x139045(0x4e0)]=_0x27ced4,_0x2ebd39['HEARTBEAT_TIMEOUT_KEY']=_0x5aed78,_0x2ebd39[_0x139045(0x25b)]=_0x54bec8,_0x2ebd39['IURLService']=_0x395cfd,_0x2ebd39[_0x139045(0x537)]=_0x9789df,_0x2ebd39[_0x139045(0x2cf)]=_0x3cb970,_0x2ebd39[_0x139045(0x682)]=_0x394600,_0x2ebd39['SEND_CHANGESET_TIMEOUT_KEY']=_0x3c6183,_0x2ebd39[_0x139045(0x551)]=_0x382152,_0x2ebd39['SNAPSHOT_URL_KEY']=_0x23a416,_0x2ebd39[_0x139045(0x275)]=_0x3e6c83,_0x2ebd39[_0x139045(0x443)]=_0x1aa00,_0x2ebd39['WebURLService']=_0x307fc6,_0x2ebd39[_0x139045(0x22e)]=_0xb75512,_0x2ebd39[_0x139045(0x642)]=_0xb9a1c0,Object['defineProperty'](_0x2ebd39,Symbol[_0x139045(0x3b4)],{'value':_0x139045(0x375)});}));
1
+ function _0x50cf(_0x333e2d,_0x457086){const _0x54cd3c=_0x54cd();return _0x50cf=function(_0x50cf85,_0x3cec46){_0x50cf85=_0x50cf85-0x153;let _0x29b2d1=_0x54cd3c[_0x50cf85];return _0x29b2d1;},_0x50cf(_0x333e2d,_0x457086);}(function(_0x1f7023,_0xafe2bd){const _0x5f582b=_0x50cf,_0x56798=_0x1f7023();while(!![]){try{const _0x17cbdc=parseInt(_0x5f582b(0x4e4))/0x1+parseInt(_0x5f582b(0x20c))/0x2+parseInt(_0x5f582b(0x159))/0x3+-parseInt(_0x5f582b(0x326))/0x4*(-parseInt(_0x5f582b(0x402))/0x5)+parseInt(_0x5f582b(0x239))/0x6*(-parseInt(_0x5f582b(0x58d))/0x7)+parseInt(_0x5f582b(0x230))/0x8*(-parseInt(_0x5f582b(0x458))/0x9)+-parseInt(_0x5f582b(0x52c))/0xa;if(_0x17cbdc===_0xafe2bd)break;else _0x56798['push'](_0x56798['shift']());}catch(_0x4328c6){_0x56798['push'](_0x56798['shift']());}}}(_0x54cd,0xbf02d),function(_0x3ef2ce,_0x20d446){const _0x49aa03=_0x50cf;typeof exports==_0x49aa03(0x205)&&typeof module<'u'?_0x20d446(exports,require(_0x49aa03(0x416)),require(_0x49aa03(0x5c9)),require(_0x49aa03(0x5d3)),require(_0x49aa03(0x371)),require(_0x49aa03(0x324)),require('@univerjs/network'),require(_0x49aa03(0x17b)),require('@univerjs/telemetry'),require('@univerjs/docs-ui'),require(_0x49aa03(0x568)),require(_0x49aa03(0x4bb)),require(_0x49aa03(0x2ab)),require(_0x49aa03(0x486)),require('@univerjs/engine-formula'),require(_0x49aa03(0x5dc)),require(_0x49aa03(0x1cd)),require(_0x49aa03(0x28c))):typeof define==_0x49aa03(0x4c1)&&define['amd']?define([_0x49aa03(0x589),_0x49aa03(0x416),_0x49aa03(0x5c9),'rxjs/operators',_0x49aa03(0x371),_0x49aa03(0x324),_0x49aa03(0x1e4),_0x49aa03(0x17b),'@univerjs/telemetry',_0x49aa03(0x1af),_0x49aa03(0x568),_0x49aa03(0x4bb),_0x49aa03(0x2ab),_0x49aa03(0x486),'@univerjs/engine-formula','@univerjs/sheets-ui',_0x49aa03(0x1cd),_0x49aa03(0x28c)],_0x20d446):(_0x3ef2ce=typeof globalThis<'u'?globalThis:_0x3ef2ce||self,_0x20d446(_0x3ef2ce[_0x49aa03(0x211)]={},_0x3ef2ce[_0x49aa03(0x4b9)],_0x3ef2ce[_0x49aa03(0x5c9)],_0x3ef2ce[_0x49aa03(0x5c9)][_0x49aa03(0x322)],_0x3ef2ce[_0x49aa03(0x185)],_0x3ef2ce[_0x49aa03(0x594)],_0x3ef2ce[_0x49aa03(0x29f)],_0x3ef2ce[_0x49aa03(0x580)],_0x3ef2ce[_0x49aa03(0x28a)],_0x3ef2ce['UniverDocsUi'],_0x3ef2ce[_0x49aa03(0x34b)],_0x3ef2ce['UniverEngineRender'],_0x3ef2ce['UniverDocs'],_0x3ef2ce['UniverDrawing'],_0x3ef2ce[_0x49aa03(0x50e)],_0x3ef2ce[_0x49aa03(0x49d)],_0x3ef2ce[_0x49aa03(0x590)],_0x3ef2ce[_0x49aa03(0x313)]));}(this,function(_0x38d423,_0x5a20c3,_0x32bae4,_0x51e720,_0x989dfe,_0x33d470,_0x9ed4dd,_0x4d11e3,_0x2e1b9e,_0xe07534,_0x66e3f4,_0x5c31a6,_0x458230,_0x152c2e,_0x4faec2,_0x194a78,_0x5cb4c2,_0x40129e){'use strict';const _0x494bb3=_0x50cf;var _0x5d8ab9=Object[_0x494bb3(0x5f8)],_0xa1e6e0=(_0x198740,_0x2a0388,_0x2f31d8)=>_0x2a0388 in _0x198740?_0x5d8ab9(_0x198740,_0x2a0388,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2f31d8}):_0x198740[_0x2a0388]=_0x2f31d8,_0x3ed524=(_0x237165,_0x3f34f6,_0xcb51ab)=>_0xa1e6e0(_0x237165,typeof _0x3f34f6!=_0x494bb3(0x284)?_0x3f34f6+'':_0x3f34f6,_0xcb51ab);const _0x9ad7b4=_0x494bb3(0x178),_0x1974b1=_0x494bb3(0x5e0),_0xe41584=_0x494bb3(0x2d4),_0x2b47bd=_0x494bb3(0x53a),_0x4420d6='COLLAB_WEB_SOCKET_URL',_0x575f6c=_0x494bb3(0x357),_0x33903c=_0x494bb3(0x2b4),_0x1c1612=_0x494bb3(0x20f),_0x28861a='RETRY_CONNECTING_MAX_COUNT',_0x2a600b='LOCAL_CACHE_INTERVAL',_0x4abc67=_0x494bb3(0x53c),_0x5467a7=_0x494bb3(0x2eb),_0x5e43ba=_0x494bb3(0x1b3),_0x529e5c='/universer-api/oidc/authpage';var _0x37591c=(_0x1b5577=>(_0x1b5577[_0x1b5577['UNDEFINED']=0x0]='UNDEFINED',_0x1b5577[_0x1b5577['OK']=0x1]='OK',_0x1b5577[_0x1b5577[_0x494bb3(0x18f)]=0x2]=_0x494bb3(0x18f),_0x1b5577[_0x1b5577[_0x494bb3(0x2f3)]=0x3]=_0x494bb3(0x2f3),_0x1b5577[_0x1b5577[_0x494bb3(0x258)]=0x4]=_0x494bb3(0x258),_0x1b5577[_0x1b5577['UNAUTHENTICATED']=0x5]=_0x494bb3(0x25c),_0x1b5577[_0x1b5577[_0x494bb3(0x4ca)]=0x6]=_0x494bb3(0x4ca),_0x1b5577[_0x1b5577[_0x494bb3(0x3f3)]=0x7]=_0x494bb3(0x3f3),_0x1b5577[_0x1b5577[_0x494bb3(0x4ad)]=0x8]=_0x494bb3(0x4ad),_0x1b5577[_0x1b5577[_0x494bb3(0x5d0)]=0x9]=_0x494bb3(0x5d0),_0x1b5577[_0x1b5577[_0x494bb3(0x598)]=0x1389]=_0x494bb3(0x598),_0x1b5577[_0x1b5577[_0x494bb3(0x3ac)]=0x1771]=_0x494bb3(0x3ac),_0x1b5577[_0x1b5577['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x494bb3(0x473),_0x1b5577[_0x1b5577[_0x494bb3(0x1df)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x1b5577[_0x1b5577[_0x494bb3(0x519)]=0x1b59]=_0x494bb3(0x519),_0x1b5577[_0x1b5577[_0x494bb3(0x48d)]=0x1b5a]=_0x494bb3(0x48d),_0x1b5577[_0x1b5577[_0x494bb3(0x55e)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x1b5577[_0x1b5577[_0x494bb3(0x4d9)]=0x1b5c]=_0x494bb3(0x4d9),_0x1b5577[_0x1b5577[_0x494bb3(0x30f)]=0x1b5d]=_0x494bb3(0x30f),_0x1b5577[_0x1b5577[_0x494bb3(0x2e0)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x1b5577[_0x1b5577['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x1b5577[_0x1b5577['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x494bb3(0x5b9),_0x1b5577[_0x1b5577[_0x494bb3(0x1e6)]=0x232b]=_0x494bb3(0x1e6),_0x1b5577[_0x1b5577[_0x494bb3(0x2dd)]=0x232c]=_0x494bb3(0x2dd),_0x1b5577[_0x1b5577[_0x494bb3(0x40b)]=0x232d]=_0x494bb3(0x40b),_0x1b5577[_0x1b5577[_0x494bb3(0x5f5)]=0x2711]=_0x494bb3(0x5f5),_0x1b5577[_0x1b5577[_0x494bb3(0x503)]=0x2712]=_0x494bb3(0x503),_0x1b5577[_0x1b5577[_0x494bb3(0x524)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x1b5577[_0x1b5577['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x494bb3(0x2cf),_0x1b5577[_0x1b5577[_0x494bb3(0x5ab)]=-0x1]=_0x494bb3(0x5ab),_0x1b5577))(_0x37591c||{}),_0x9d8403=(_0x5a42f7=>(_0x5a42f7[_0x5a42f7[_0x494bb3(0x560)]=0x0]='UNIVER_UNKNOWN',_0x5a42f7[_0x5a42f7[_0x494bb3(0x512)]=0x1]=_0x494bb3(0x512),_0x5a42f7[_0x5a42f7[_0x494bb3(0x329)]=0x2]=_0x494bb3(0x329),_0x5a42f7[_0x5a42f7['UNIVER_SLIDE']=0x3]='UNIVER_SLIDE',_0x5a42f7[_0x5a42f7['UNIVER_PROJECT']=0x4]='UNIVER_PROJECT',_0x5a42f7[_0x5a42f7[_0x494bb3(0x5ab)]=-0x1]=_0x494bb3(0x5ab),_0x5a42f7))(_0x9d8403||{}),_0x58f514=(_0x4739e2=>(_0x4739e2[_0x4739e2['UNKNOWN_CMD']=0x0]=_0x494bb3(0x401),_0x4739e2[_0x4739e2[_0x494bb3(0x4fb)]=0x1]=_0x494bb3(0x4fb),_0x4739e2[_0x4739e2[_0x494bb3(0x46e)]=0x2]=_0x494bb3(0x46e),_0x4739e2[_0x4739e2[_0x494bb3(0x399)]=0x3]=_0x494bb3(0x399),_0x4739e2[_0x4739e2[_0x494bb3(0x450)]=0x4]=_0x494bb3(0x450),_0x4739e2[_0x4739e2[_0x494bb3(0x359)]=0x5]=_0x494bb3(0x359),_0x4739e2[_0x4739e2[_0x494bb3(0x299)]=0x6]=_0x494bb3(0x299),_0x4739e2[_0x4739e2[_0x494bb3(0x5ab)]=-0x1]=_0x494bb3(0x5ab),_0x4739e2))(_0x58f514||{}),_0x3f92ef=(_0x108a8d=>(_0x108a8d[_0x108a8d[_0x494bb3(0x4d1)]=0x0]='UNKNOWN_CODE',_0x108a8d[_0x108a8d['OK']=0x1]='OK',_0x108a8d[_0x108a8d[_0x494bb3(0x48a)]=0x2]='FAIL',_0x108a8d[_0x108a8d[_0x494bb3(0x5ab)]=-0x1]='UNRECOGNIZED',_0x108a8d))(_0x3f92ef||{}),_0x2aec2f=(_0x26eced=>(_0x26eced[_0x26eced[_0x494bb3(0x505)]=0x0]='Undefined',_0x26eced[_0x26eced[_0x494bb3(0x414)]=0x1]=_0x494bb3(0x414),_0x26eced[_0x26eced['HttpExport']=0x2]='HttpExport',_0x26eced[_0x26eced[_0x494bb3(0x157)]=0x3]=_0x494bb3(0x157),_0x26eced[_0x26eced[_0x494bb3(0x317)]=0x4]=_0x494bb3(0x317),_0x26eced[_0x26eced[_0x494bb3(0x5ab)]=-0x1]=_0x494bb3(0x5ab),_0x26eced))(_0x2aec2f||{});const _0x59eaf6=_0x494bb3(0x25d),_0x48bf3d={};function _0x2ef67b(_0x10e29c){const _0x45b33e=_0x494bb3;var _0x1f1cd4,_0x1a035f,_0x3495fe,_0x2d40f4,_0x2c5e2e;const _0x2232ce=_0x10e29c[_0x45b33e(0x5a3)],_0x1cdc5b=JSON[_0x45b33e(0x40c)](_0x2232ce);switch(_0x1cdc5b[_0x45b33e(0x515)]){case _0x58f514['HEARTBEAT']:case _0x58f514[_0x45b33e(0x4fb)]:{const _0x2f46eb=_0x1cdc5b[_0x45b33e(0x4ab)];return{..._0x1cdc5b,'data':_0x2f46eb,'cmd':_0x1cdc5b[_0x45b33e(0x515)]};}case _0x58f514[_0x45b33e(0x46e)]:{const _0x4b6934=_0x1cdc5b['joinRsp'];return{..._0x1cdc5b,'data':_0x4b6934,'cmd':_0x1cdc5b[_0x45b33e(0x515)]};}case _0x58f514[_0x45b33e(0x299)]:{const _0x536958=_0x1cdc5b[_0x45b33e(0x520)];switch(_0x536958['eventID']){case _0x4d11e3[_0x45b33e(0x213)][_0x45b33e(0x549)]:return{..._0x1cdc5b,'data':{..._0x536958,'data':(_0x1f1cd4=_0x536958['permissionRejEvent'])==null?void 0x0:_0x1f1cd4['cs']},'cmd':_0x1cdc5b['cmd']};case _0x4d11e3[_0x45b33e(0x213)][_0x45b33e(0x318)]:return{..._0x1cdc5b,'data':{..._0x536958,'data':(_0x1a035f=_0x536958['csAckEvent'])==null?void 0x0:_0x1a035f['cs']},'cmd':_0x1cdc5b['cmd']};case _0x4d11e3[_0x45b33e(0x213)][_0x45b33e(0x2f4)]:return{..._0x1cdc5b,'data':{..._0x536958,'data':(_0x3495fe=_0x536958[_0x45b33e(0x2a4)])==null?void 0x0:_0x3495fe['cs']},'cmd':_0x1cdc5b[_0x45b33e(0x515)]};case _0x4d11e3[_0x45b33e(0x213)][_0x45b33e(0x16f)]:return{..._0x1cdc5b,'data':{..._0x536958,'data':(_0x2d40f4=_0x536958[_0x45b33e(0x38b)])==null?void 0x0:_0x2d40f4['cs']},'cmd':_0x1cdc5b[_0x45b33e(0x515)]};case _0x4d11e3[_0x45b33e(0x213)][_0x45b33e(0x529)]:return{..._0x1cdc5b,'data':{..._0x536958,'data':(_0x2c5e2e=_0x536958[_0x45b33e(0x3d0)])==null?void 0x0:_0x2c5e2e['cs']},'cmd':_0x1cdc5b['cmd']};case _0x4d11e3[_0x45b33e(0x213)][_0x45b33e(0x1ef)]:return{..._0x1cdc5b,'data':{..._0x536958,'data':_0x536958[_0x45b33e(0x31a)]},'cmd':_0x1cdc5b['cmd']};case _0x4d11e3[_0x45b33e(0x213)][_0x45b33e(0x19c)]:return{..._0x1cdc5b,'data':{..._0x536958,'data':_0x536958['joinEvent']},'cmd':_0x1cdc5b[_0x45b33e(0x515)]};case _0x4d11e3['CollaborationEvent'][_0x45b33e(0x37b)]:return{..._0x1cdc5b,'data':{..._0x536958,'data':_0x536958[_0x45b33e(0x59b)]},'cmd':_0x1cdc5b['cmd']};case _0x4d11e3['CollaborationEvent'][_0x45b33e(0x545)]:return{..._0x1cdc5b,'data':{..._0x536958,'data':_0x536958[_0x45b33e(0x360)]},'cmd':_0x1cdc5b[_0x45b33e(0x515)]};case _0x4d11e3[_0x45b33e(0x213)][_0x45b33e(0x1f3)]:case _0x4d11e3['CollaborationEvent']['LIVESHARE_OPERATION']:return{..._0x1cdc5b,'data':{..._0x536958,'data':_0x536958[_0x45b33e(0x55d)]},'cmd':_0x1cdc5b[_0x45b33e(0x515)]};case _0x4d11e3[_0x45b33e(0x213)][_0x45b33e(0x5de)]:return{..._0x1cdc5b,'data':{..._0x536958,'data':_0x536958[_0x45b33e(0x360)]},'cmd':_0x1cdc5b[_0x45b33e(0x515)]};case _0x4d11e3['CollaborationEvent'][_0x45b33e(0x31f)]:return{..._0x1cdc5b,'data':_0x536958,'cmd':_0x1cdc5b['cmd']};case _0x4d11e3[_0x45b33e(0x213)]['COMMENT_UPDATE']:return{..._0x1cdc5b,'data':{..._0x536958,'data':_0x536958[_0x45b33e(0x57f)]},'cmd':_0x1cdc5b[_0x45b33e(0x515)]};case _0x4d11e3[_0x45b33e(0x213)][_0x45b33e(0x5ed)]:return{..._0x1cdc5b,'data':{..._0x536958,'data':_0x536958[_0x45b33e(0x5fc)]},'cmd':_0x1cdc5b[_0x45b33e(0x515)]};case _0x4d11e3[_0x45b33e(0x213)][_0x45b33e(0x46a)]:return{..._0x1cdc5b,'data':{..._0x536958,'data':_0x536958[_0x45b33e(0x5be)]},'cmd':_0x1cdc5b[_0x45b33e(0x515)]};default:return _0x1cdc5b;}}default:return _0x1cdc5b;}}function _0x3baba8(_0x4fe18e){const _0x41827a=_0x494bb3;switch(_0x4fe18e[_0x41827a(0x515)]){case _0x58f514['HEARTBEAT']:case _0x58f514[_0x41827a(0x4fb)]:return JSON['stringify']({'cmd':_0x4fe18e[_0x41827a(0x515)],'routeKey':_0x4fe18e[_0x41827a(0x2a7)]});case _0x58f514['INGEST']:{let _0xcbebf;switch(_0x4fe18e[_0x41827a(0x5a3)][_0x41827a(0x383)]){case _0x4d11e3['CollaborationEvent']['UPDATE_CURSOR']:{_0xcbebf={'eventID':_0x4d11e3[_0x41827a(0x213)][_0x41827a(0x1ef)],'updateCursorEvent':_0x4fe18e[_0x41827a(0x5a3)]['data']};break;}case _0x4d11e3[_0x41827a(0x213)][_0x41827a(0x37b)]:{_0xcbebf={'eventID':_0x4d11e3[_0x41827a(0x213)][_0x41827a(0x37b)],'leaveEvent':_0x4fe18e[_0x41827a(0x5a3)][_0x41827a(0x5a3)]};break;}case _0x4d11e3['CollaborationEvent'][_0x41827a(0x19c)]:{_0xcbebf={'eventID':_0x4d11e3[_0x41827a(0x213)][_0x41827a(0x19c)],'joinEvent':_0x4fe18e['data'][_0x41827a(0x5a3)]};break;}case _0x4d11e3['CollaborationEvent'][_0x41827a(0x545)]:{_0xcbebf={'eventID':_0x4d11e3[_0x41827a(0x213)][_0x41827a(0x545)],'liveShareNewHost':_0x4fe18e[_0x41827a(0x5a3)]['data']};break;}case _0x4d11e3[_0x41827a(0x213)][_0x41827a(0x2d1)]:{_0xcbebf={'eventID':_0x4d11e3[_0x41827a(0x213)]['LIVESHARE_OPERATION'],'liveShareOperation':_0x4fe18e[_0x41827a(0x5a3)][_0x41827a(0x5a3)]};break;}case _0x4d11e3[_0x41827a(0x213)][_0x41827a(0x5de)]:{_0xcbebf={'eventID':_0x4d11e3[_0x41827a(0x213)]['LIVESHARE_TERMINATE'],'liveShareTerminate':_0x4fe18e[_0x41827a(0x5a3)][_0x41827a(0x5a3)]};break;}case _0x4d11e3[_0x41827a(0x213)][_0x41827a(0x49a)]:{_0xcbebf={'eventID':_0x4d11e3[_0x41827a(0x213)][_0x41827a(0x49a)],'liveShareRequestHost':_0x4fe18e[_0x41827a(0x5a3)][_0x41827a(0x5a3)]};break;}case _0x4d11e3['CollaborationEvent']['LIVESHARE_FETCH_OPERATIONS']:{_0xcbebf={'eventID':_0x4d11e3[_0x41827a(0x213)]['LIVESHARE_FETCH_OPERATIONS']};break;}default:_0xcbebf={'eventID':_0x4fe18e[_0x41827a(0x5a3)]['eventID']};}return JSON[_0x41827a(0x58b)]({'cmd':_0x4fe18e['cmd'],'routeKey':_0x4fe18e['routeKey'],'collaMsg':_0xcbebf});}case _0x58f514[_0x41827a(0x46e)]:return JSON[_0x41827a(0x58b)]({'cmd':_0x4fe18e[_0x41827a(0x515)],'routeKey':_0x4fe18e[_0x41827a(0x2a7)],'joinReq':_0x4fe18e[_0x41827a(0x5a3)]});case _0x58f514[_0x41827a(0x399)]:return JSON['stringify']({'cmd':_0x4fe18e[_0x41827a(0x515)],'routeKey':_0x4fe18e[_0x41827a(0x2a7)],'leaveReq':_0x4fe18e[_0x41827a(0x5a3)]});default:throw new Error(_0x41827a(0x58f));}}var _0x5c51a2=Object[_0x494bb3(0x5f8)],_0x5fe780=Object[_0x494bb3(0x51e)],_0x1f709d=(_0x282df2,_0x4679be,_0x2bdf3e,_0x4bfb0c)=>{const _0x5df77f=_0x494bb3;for(var _0x4f9eb1=_0x4bfb0c>0x1?void 0x0:_0x4bfb0c?_0x5fe780(_0x4679be,_0x2bdf3e):_0x4679be,_0x26fc30=_0x282df2[_0x5df77f(0x5aa)]-0x1,_0x43e24d;_0x26fc30>=0x0;_0x26fc30--)(_0x43e24d=_0x282df2[_0x26fc30])&&(_0x4f9eb1=(_0x4bfb0c?_0x43e24d(_0x4679be,_0x2bdf3e,_0x4f9eb1):_0x43e24d(_0x4f9eb1))||_0x4f9eb1);return _0x4bfb0c&&_0x4f9eb1&&_0x5c51a2(_0x4679be,_0x2bdf3e,_0x4f9eb1),_0x4f9eb1;},_0x297a21=(_0x7efc8a,_0x2c3e38)=>(_0x82a823,_0x16481d)=>_0x2c3e38(_0x82a823,_0x16481d,_0x7efc8a);const _0x45677d=_0x5a20c3['createIdentifier'](_0x494bb3(0x5cc));function _0x1f8749(_0x1ff67e,_0x3fa0e8,_0x15e5a7){return _0x1ff67e+'/'+_0x3fa0e8+'/unit/'+_0x15e5a7+'/new_changes';}_0x38d423[_0x494bb3(0x3f6)]=class extends _0x5a20c3[_0x494bb3(0x1c9)]{constructor(_0x9990cf,_0x5be073,_0x5a502b,_0x34ff83,_0x3db614){const _0x44bf5c=_0x494bb3;super(),this[_0x44bf5c(0x4eb)]=_0x9990cf,this[_0x44bf5c(0x15e)]=_0x5be073,this[_0x44bf5c(0x1f1)]=_0x5a502b,this['_logService']=_0x34ff83,this[_0x44bf5c(0x39e)]=_0x3db614;}[_0x494bb3(0x265)](_0x5ba300){const _0x2d5902=_0x494bb3,_0x31bfdf=this[_0x2d5902(0x15e)]['createSocket'](_0x5ba300);if(!_0x31bfdf)throw new Error(_0x2d5902(0x586));const _0x3cd904=new _0x5a20c3['DisposableCollection'](),_0x4ad640=new _0x32bae4[(_0x2d5902(0x20b))]();_0x3cd904[_0x2d5902(0x492)](_0x31bfdf[_0x2d5902(0x180)][_0x2d5902(0x38d)](_0x3256c8=>_0x4ad640['next'](_0x3256c8))),_0x3cd904[_0x2d5902(0x492)](_0x5a20c3[_0x2d5902(0x1d8)](()=>_0x4ad640['complete']()));const _0x565fb5=new _0x32bae4[(_0x2d5902(0x20b))]();_0x3cd904[_0x2d5902(0x492)](_0x31bfdf[_0x2d5902(0x457)]['subscribe'](_0x4f2df9=>_0x565fb5[_0x2d5902(0x5dd)](_0x4f2df9))),_0x3cd904['add'](_0x5a20c3['toDisposable'](()=>_0x565fb5[_0x2d5902(0x548)]()));const _0x4c5937=new _0x32bae4['Subject']();_0x3cd904['add'](_0x31bfdf[_0x2d5902(0x608)][_0x2d5902(0x38d)](_0x32aa94=>{const _0x1adea7=_0x2d5902,_0x5a755e=_0x2ef67b(_0x32aa94);_0x4c5937[_0x1adea7(0x5dd)](_0x5a755e);})),_0x3cd904[_0x2d5902(0x492)](_0x5a20c3[_0x2d5902(0x1d8)](()=>_0x4c5937[_0x2d5902(0x548)]()));let _0x5de064;const _0x5818e3=()=>{const _0x259d59=_0x2d5902;_0x565fb5[_0x259d59(0x5dd)](new Event(_0x259d59(0x237))),_0x4ad640[_0x259d59(0x5dd)](new CloseEvent(_0x259d59(0x237))),_0x5de064[_0x259d59(0x1a0)]();};return _0x5de064={'memberID':'','close$':_0x4ad640['asObservable'](),'error$':_0x565fb5[_0x2d5902(0x4fe)](),'open$':_0x31bfdf[_0x2d5902(0x428)],'message$':_0x4c5937[_0x2d5902(0x4fe)](),'send':_0x5861c9=>{const _0x4702a5=_0x2d5902;if(_0x5861c9['cmd']===_0x58f514['INGEST']){if(_0x5861c9[_0x4702a5(0x5a3)]['eventID']===_0x4d11e3[_0x4702a5(0x213)][_0x4702a5(0x39d)]){this[_0x4702a5(0x4b0)](_0x5de064,_0x5861c9[_0x4702a5(0x5a3)])[_0x4702a5(0x304)](_0x3b299f=>{const _0x3373d8=_0x4702a5;this[_0x3373d8(0x3f5)][_0x3373d8(0x35a)](_0x3b299f),_0x5818e3();});return;}if(_0x5861c9[_0x4702a5(0x5a3)][_0x4702a5(0x383)]===_0x4d11e3[_0x4702a5(0x213)]['FETCH_MISSING']){const _0x3f8ac8=_0x5861c9[_0x4702a5(0x5a3)];this['_fetchMissChangesets'](_0x3f8ac8)[_0x4702a5(0x1ee)](_0x100588=>{const _0x53ab68=_0x4702a5;_0x4c5937[_0x53ab68(0x5dd)]({'cmd':_0x58f514[_0x53ab68(0x299)],'code':_0x3f92ef['OK'],'routeKey':_0x3f8ac8[_0x53ab68(0x5a3)][_0x53ab68(0x39f)],'routeType':'','data':{'eventID':_0x4d11e3[_0x53ab68(0x213)][_0x53ab68(0x388)],'data':{'changesets':_0x100588}}});})['catch'](_0x3f5d06=>{const _0x3bd332=_0x4702a5;this['_logService'][_0x3bd332(0x35a)](_0x3f5d06),_0x5818e3();});return;}}_0x31bfdf[_0x4702a5(0x424)](_0x3baba8(_0x5861c9));},'close':()=>{const _0x2f91a8=_0x2d5902;_0x31bfdf['close'](),_0x3cd904[_0x2f91a8(0x173)]();}},_0x5de064;}async[_0x494bb3(0x4b0)](_0x5324f8,_0x5f0bfe){const _0x4b62a2=_0x494bb3;var _0x5b21c5,_0x52b86b;const {unitType:_0x61699f,unitID:_0x588199,changeset:_0x1b9170}=_0x5f0bfe[_0x4b62a2(0x5a3)],_0x3f177c={'unitID':_0x588199,'memberID':_0x5324f8[_0x4b62a2(0x550)],'type':_0x61699f,'changeset':_0x4d11e3[_0x4b62a2(0x4e3)](_0x1b9170)},_0x4ffd34=this[_0x4b62a2(0x1f1)][_0x4b62a2(0x19a)](_0x4abc67),_0x3eca98=this[_0x4b62a2(0x1f1)][_0x4b62a2(0x19a)](_0x59eaf6),_0x5f0c5a=_0x1f8749((_0x52b86b=(_0x5b21c5=_0x3eca98==null?void 0x0:_0x3eca98[_0x4b62a2(0x4c8)])!=null?_0x5b21c5:_0x4ffd34)!=null?_0x52b86b:_0x5467a7,_0x61699f,_0x588199);try{await this[_0x4b62a2(0x4eb)][_0x4b62a2(0x20e)](_0x5f0c5a,{'body':_0x3f177c});}catch(_0x15053a){throw this['_logService']['error'](_0x4b62a2(0x2f2),_0x4b62a2(0x276)),_0x15053a;}}async[_0x494bb3(0x46c)](_0x1ea623){const _0x5cf3ea=_0x494bb3,{unitID:_0x2c7c61,from:_0x5df3cd,to:_0x51e793,unitType:_0x3d1078}=_0x1ea623[_0x5cf3ea(0x5a3)];return(await this[_0x5cf3ea(0x39e)][_0x5cf3ea(0x459)]({'metadata':void 0x0},{'unitID':_0x2c7c61,'type':_0x3d1078,'from':_0x5df3cd,'to':_0x51e793}))[_0x5cf3ea(0x54d)];}},_0x38d423['CollaborationSocketService']=_0x1f709d([_0x297a21(0x0,_0x5a20c3[_0x494bb3(0x57c)](_0x9ed4dd['HTTPService'])),_0x297a21(0x1,_0x5a20c3['Inject'](_0x9ed4dd[_0x494bb3(0x1ba)])),_0x297a21(0x2,_0x5a20c3[_0x494bb3(0x175)]),_0x297a21(0x3,_0x5a20c3['ILogService']),_0x297a21(0x4,_0x4d11e3[_0x494bb3(0x553)])],_0x38d423['CollaborationSocketService']);const _0x50ad6b='collaboration_new_changeset';function _0x23fb7d(_0x18ab9d){const _0x1d0013=_0x494bb3;return JSON[_0x1d0013(0x58b)](_0x18ab9d)[_0x1d0013(0x5aa)];}class _0x1cf212{constructor(){const _0x2e1960=_0x494bb3;_0x3ed524(this,_0x2e1960(0x200),new _0x32bae4[(_0x2e1960(0x20b))]()),_0x3ed524(this,_0x2e1960(0x3e0),this[_0x2e1960(0x200)][_0x2e1960(0x4fe)]());}[_0x494bb3(0x41c)](_0x1c3376){const _0x11ee0d=_0x494bb3;this[_0x11ee0d(0x200)][_0x11ee0d(0x5dd)](_0x1c3376);}}var _0x45fcc6=Object['defineProperty'],_0x592c88=Object[_0x494bb3(0x51e)],_0x5251c5=(_0x29e2e6,_0x4adfd3,_0x5974d6,_0x190382)=>{const _0x239029=_0x494bb3;for(var _0x285daf=_0x190382>0x1?void 0x0:_0x190382?_0x592c88(_0x4adfd3,_0x5974d6):_0x4adfd3,_0x450496=_0x29e2e6[_0x239029(0x5aa)]-0x1,_0xd4190f;_0x450496>=0x0;_0x450496--)(_0xd4190f=_0x29e2e6[_0x450496])&&(_0x285daf=(_0x190382?_0xd4190f(_0x4adfd3,_0x5974d6,_0x285daf):_0xd4190f(_0x285daf))||_0x285daf);return _0x190382&&_0x285daf&&_0x45fcc6(_0x4adfd3,_0x5974d6,_0x285daf),_0x285daf;},_0xa2a287=(_0x2966eb,_0x30e3f2)=>(_0x184d1e,_0x5f0a60)=>_0x30e3f2(_0x184d1e,_0x5f0a60,_0x2966eb);_0x38d423[_0x494bb3(0x30c)]=class extends _0x5a20c3[_0x494bb3(0x1c9)]{constructor(_0x367565,_0x114ec1){const _0x29b8f2=_0x494bb3;super(),_0x3ed524(this,'_roomMembers',new Map()),(this[_0x29b8f2(0x4a7)]=_0x367565,this[_0x29b8f2(0x496)]=_0x114ec1,this[_0x29b8f2(0x385)](_0x5a20c3[_0x29b8f2(0x1d8)](_0x32bae4['merge'](this[_0x29b8f2(0x4a7)][_0x29b8f2(0x5f4)](_0x5a20c3['UniverInstanceType'][_0x29b8f2(0x329)])['pipe'](_0x51e720[_0x29b8f2(0x48f)](_0x54ad97=>_0x54ad97[_0x29b8f2(0x4dc)]())),this[_0x29b8f2(0x4a7)]['getTypeOfUnitDisposed$'](_0x5a20c3[_0x29b8f2(0x4c5)][_0x29b8f2(0x512)])[_0x29b8f2(0x1d4)](_0x51e720['map'](_0x57f21b=>_0x57f21b[_0x29b8f2(0x4dc)]())),this[_0x29b8f2(0x4a7)]['getTypeOfUnitDisposed$'](_0x5a20c3[_0x29b8f2(0x4c5)][_0x29b8f2(0x315)])[_0x29b8f2(0x1d4)](_0x51e720[_0x29b8f2(0x48f)](_0x1c5f1f=>_0x1c5f1f[_0x29b8f2(0x4dc)]())))['subscribe'](_0x8e3822=>this[_0x29b8f2(0x2f0)](_0x8e3822)))));}[_0x494bb3(0x19d)](_0x453f6b){const _0x3f4435=_0x494bb3;this['_userManagerService'][_0x3f4435(0x19d)](_0x453f6b);}[_0x494bb3(0x606)](){return this['_userManagerService']['getCurrentUser']();}[_0x494bb3(0x507)](_0xd5131a,_0x5a25de){const _0x2ca001=_0x494bb3;let _0x286793=this['_roomMembers'][_0x2ca001(0x537)](_0xd5131a);_0x286793||(_0x286793=new _0x154ca9(),this[_0x2ca001(0x325)][_0x2ca001(0x33d)](_0xd5131a,_0x286793)),_0x286793[_0x2ca001(0x507)](_0x5a25de);}[_0x494bb3(0x218)](_0x2edf8f,_0x1cfbdf){const _0x23dc6f=_0x494bb3,_0x3eecd1=this[_0x23dc6f(0x325)][_0x23dc6f(0x537)](_0x2edf8f);_0x3eecd1&&_0x3eecd1[_0x23dc6f(0x218)](_0x1cfbdf);}['getRoom'](_0x5d4086){const _0x503171=_0x494bb3;return this[_0x503171(0x325)][_0x503171(0x537)](_0x5d4086);}[_0x494bb3(0x600)](_0x56e9a9,_0x1c543f){const _0x2c2db8=_0x494bb3,_0x47343f=this[_0x2c2db8(0x325)][_0x2c2db8(0x537)](_0x56e9a9);if(_0x47343f)return _0x47343f[_0x2c2db8(0x600)](_0x1c543f);}['_removeRoom'](_0x43e983){const _0x15d71b=_0x494bb3,_0x293cd3=this['_roomMembers'][_0x15d71b(0x537)](_0x43e983);_0x293cd3&&(_0x293cd3['dispose'](),this['_roomMembers'][_0x15d71b(0x43d)](_0x43e983));}['dispose'](){const _0x3cc9a5=_0x494bb3;this[_0x3cc9a5(0x325)][_0x3cc9a5(0x5e8)](_0x1f8fec=>_0x1f8fec[_0x3cc9a5(0x173)]()),this[_0x3cc9a5(0x325)]['clear']();}},_0x38d423[_0x494bb3(0x30c)]=_0x5251c5([_0xa2a287(0x0,_0x5a20c3[_0x494bb3(0x17e)]),_0xa2a287(0x1,_0x5a20c3[_0x494bb3(0x57c)](_0x5a20c3['UserManagerService']))],_0x38d423[_0x494bb3(0x30c)]);class _0x154ca9 extends _0x5a20c3[_0x494bb3(0x1c9)]{constructor(){const _0x3dbebb=_0x494bb3;super(...arguments),_0x3ed524(this,_0x3dbebb(0x437),new Map());}[_0x494bb3(0x173)](){const _0x4519fa=_0x494bb3;this['_members'][_0x4519fa(0x366)]();}[_0x494bb3(0x507)](_0x4862fc){const _0x244923=_0x494bb3;this['_members'][_0x244923(0x33d)](_0x4862fc[_0x244923(0x550)],_0x4862fc);}[_0x494bb3(0x218)](_0x1536fe){const _0x53e186=_0x494bb3;this[_0x53e186(0x437)][_0x53e186(0x43d)](_0x1536fe);}[_0x494bb3(0x600)](_0x164cbf){const _0x388d5e=_0x494bb3;return this[_0x388d5e(0x437)][_0x388d5e(0x537)](_0x164cbf);}[_0x494bb3(0x1b7)](){const _0x2e8047=_0x494bb3;return Array[_0x2e8047(0x2d5)](this[_0x2e8047(0x437)][_0x2e8047(0x4f0)]());}}var _0x43105b=Object[_0x494bb3(0x5f8)],_0x559196=Object['getOwnPropertyDescriptor'],_0x1604aa=(_0x459eac,_0x4eed71,_0x42094d,_0x503db7)=>{for(var _0x16ce4d=_0x503db7>0x1?void 0x0:_0x503db7?_0x559196(_0x4eed71,_0x42094d):_0x4eed71,_0x58ff48=_0x459eac['length']-0x1,_0x163a02;_0x58ff48>=0x0;_0x58ff48--)(_0x163a02=_0x459eac[_0x58ff48])&&(_0x16ce4d=(_0x503db7?_0x163a02(_0x4eed71,_0x42094d,_0x16ce4d):_0x163a02(_0x16ce4d))||_0x16ce4d);return _0x503db7&&_0x16ce4d&&_0x43105b(_0x4eed71,_0x42094d,_0x16ce4d),_0x16ce4d;},_0x4fc36a=(_0x5af5f2,_0x405e53)=>(_0x55f36a,_0x171cb3)=>_0x405e53(_0x55f36a,_0x171cb3,_0x5af5f2),_0x5f2a52=(_0x158601=>(_0x158601[_0x158601[_0x494bb3(0x177)]=0x0]='IDLE',_0x158601[_0x158601[_0x494bb3(0x405)]=0x1]='JOINING',_0x158601[_0x158601['OFFLINE']=0x2]=_0x494bb3(0x1de),_0x158601[_0x158601[_0x494bb3(0x5c1)]=0x3]=_0x494bb3(0x5c1),_0x158601))(_0x5f2a52||{});_0x38d423[_0x494bb3(0x3b1)]=class extends _0x5a20c3[_0x494bb3(0x3ed)]{constructor(_0x4cd880,_0x5acec6,_0x4fcbf9,_0x49e8a2,_0x29c732,_0x3f38c9,_0xefbd93,_0x1be423,_0x13c940,_0x2ac9d7){const _0x257f90=_0x494bb3;super(),_0x3ed524(this,_0x257f90(0x364),new _0x32bae4['BehaviorSubject'](0x0)),_0x3ed524(this,_0x257f90(0x398),this[_0x257f90(0x364)][_0x257f90(0x4fe)]()),_0x3ed524(this,'_event$',new _0x32bae4['Subject']()),_0x3ed524(this,_0x257f90(0x5f6),this['_event$'][_0x257f90(0x4fe)]()),_0x3ed524(this,_0x257f90(0x4e9)),_0x3ed524(this,_0x257f90(0x28b)),_0x3ed524(this,_0x257f90(0x261)),_0x3ed524(this,'_shouldReportTelemetry',!0x1),_0x3ed524(this,_0x257f90(0x3c2),null),(this[_0x257f90(0x42b)]=_0x4cd880,this['_logService']=_0x4fcbf9,this[_0x257f90(0x2e9)]=_0x49e8a2,this[_0x257f90(0x2cc)]=_0x29c732,this[_0x257f90(0x1f1)]=_0x3f38c9,this[_0x257f90(0x26e)]=_0xefbd93,this['_memberService']=_0x1be423,this[_0x257f90(0x25f)]=_0x13c940,this['_telemetryService']=_0x2ac9d7,this[_0x257f90(0x5b0)]=!!this[_0x257f90(0x417)],_0x5acec6[_0x257f90(0x1d4)](_0x32bae4['takeUntil'](this['dispose$']))[_0x257f90(0x38d)](_0x3f06c0=>{const _0x2adff2=_0x257f90;var _0x472a39;typeof _0x3f06c0>'u'||(this[_0x2adff2(0x4e9)]=_0x3f06c0,_0x3f06c0?(this[_0x2adff2(0x4a6)](_0x3f06c0),this['_socketMessageSubscription']=_0x3f06c0['message$'][_0x2adff2(0x38d)](_0x515520=>{const _0xeb7dcc=_0x2adff2;_0x515520[_0xeb7dcc(0x2a7)]===this['_unitID']&&this['_onCombEvent'](_0x515520);})):(this[_0x2adff2(0x2c0)](),this[_0x2adff2(0x364)][_0x2adff2(0x5dd)](0x2),(_0x472a39=this[_0x2adff2(0x28b)])==null||_0x472a39[_0x2adff2(0x365)](),this[_0x2adff2(0x28b)]=null));}),this[_0x257f90(0x385)](this['_beforeCloseService'][_0x257f90(0x1a2)](()=>{const _0x25532b=_0x257f90;var _0x4cec17;(_0x4cec17=this[_0x25532b(0x4e9)])==null||_0x4cec17[_0x25532b(0x424)]({'cmd':_0x58f514[_0x25532b(0x399)],'data':{'roomID':this[_0x25532b(0x42b)]}});})));}get[_0x494bb3(0x3c9)](){const _0x557f76=_0x494bb3;return this[_0x557f76(0x364)][_0x557f76(0x532)]();}[_0x494bb3(0x488)](){const _0x2bc634=_0x494bb3;var _0x565883,_0x27dd28;return(_0x27dd28=(_0x565883=this['_socket'])==null?void 0x0:_0x565883[_0x2bc634(0x550)])!=null?_0x27dd28:null;}['dispose'](){const _0x2e3d1b=_0x494bb3;super[_0x2e3d1b(0x173)](),this[_0x2e3d1b(0x5af)][_0x2e3d1b(0x5dd)](),this[_0x2e3d1b(0x5af)][_0x2e3d1b(0x548)]();}[_0x494bb3(0x1a0)](){const _0x4c522f=_0x494bb3;var _0x50f4d2,_0x63f11f;this[_0x4c522f(0x2c0)](),(_0x50f4d2=this['_socket'])==null||_0x50f4d2[_0x4c522f(0x424)]({'cmd':_0x58f514[_0x4c522f(0x399)],'data':{'roomID':this[_0x4c522f(0x42b)]}}),(_0x63f11f=this[_0x4c522f(0x4e9)])==null||_0x63f11f[_0x4c522f(0x1a0)](),this[_0x4c522f(0x395)][_0x4c522f(0x548)](),this[_0x4c522f(0x364)][_0x4c522f(0x548)](),this['dispose']();}['_onCombEvent'](_0x4fbf37){const _0x5cef62=_0x494bb3;_0x4fbf37['cmd']===_0x58f514[_0x5cef62(0x46e)]?this[_0x5cef62(0x15c)](_0x4fbf37):_0x4fbf37['cmd']===_0x58f514[_0x5cef62(0x299)]&&this[_0x5cef62(0x379)](_0x4fbf37);}[_0x494bb3(0x4a6)](_0x1b7609){const _0x464710=_0x494bb3;this[_0x464710(0x364)]['next'](0x1),_0x1b7609[_0x464710(0x424)]({'cmd':_0x58f514[_0x464710(0x46e)],'routeKey':this[_0x464710(0x42b)],'routeType':'','data':{'rooms':[{'roomID':this[_0x464710(0x42b)]}]}});}['_onJoinRoomEvent'](_0x1039da){const _0x2973b8=_0x494bb3;var _0x31e776;if(_0x1039da[_0x2973b8(0x3dd)]===_0x3f92ef[_0x2973b8(0x48a)]){this[_0x2973b8(0x2cc)]['show']({'type':_0x989dfe[_0x2973b8(0x5f0)][_0x2973b8(0x225)],'content':this[_0x2973b8(0x26e)]['t'](_0x2973b8(0x394))}),this[_0x2973b8(0x364)][_0x2973b8(0x5dd)](0x2);return;}this['_sessionStatus$']['next'](0x3);const _0x192a37=(_0x31e776=_0x1039da[_0x2973b8(0x5a3)][_0x2973b8(0x24d)][this[_0x2973b8(0x42b)]])==null?void 0x0:_0x31e776[_0x2973b8(0x3e9)];_0x192a37&&_0x192a37[_0x2973b8(0x5e8)](_0x3d3480=>this[_0x2973b8(0x32d)][_0x2973b8(0x507)](this[_0x2973b8(0x42b)],_0x3d3480));}['_onRecvEvent'](_0x1932d9){const _0x14ba12=_0x494bb3;try{const _0x2d39eb=_0x1932d9[_0x14ba12(0x5a3)];switch(_0x2d39eb['eventID']){case _0x4d11e3[_0x14ba12(0x213)][_0x14ba12(0x19c)]:this[_0x14ba12(0x5e1)](_0x2d39eb),this[_0x14ba12(0x395)][_0x14ba12(0x5dd)](_0x2d39eb);break;case _0x4d11e3[_0x14ba12(0x213)]['USERS_LEAVE']:this[_0x14ba12(0x1f6)](_0x2d39eb),this['_event$'][_0x14ba12(0x5dd)](_0x2d39eb);break;case _0x4d11e3[_0x14ba12(0x213)][_0x14ba12(0x318)]:case _0x4d11e3[_0x14ba12(0x213)][_0x14ba12(0x529)]:this[_0x14ba12(0x45b)](),this[_0x14ba12(0x564)](),this['_event$']['next'](_0x2d39eb);break;case _0x4d11e3[_0x14ba12(0x213)][_0x14ba12(0x31f)]:this[_0x14ba12(0x3f5)][_0x14ba12(0x35a)](_0x14ba12(0x28f)+JSON[_0x14ba12(0x58b)](_0x2d39eb)),this['_event$'][_0x14ba12(0x5dd)](_0x2d39eb);break;case _0x4d11e3[_0x14ba12(0x213)][_0x14ba12(0x4e7)]:this[_0x14ba12(0x25f)][_0x14ba12(0x41c)](_0x2d39eb[_0x14ba12(0x5a3)]),this[_0x14ba12(0x395)]['next'](_0x2d39eb);break;default:this[_0x14ba12(0x395)][_0x14ba12(0x5dd)](_0x2d39eb);}}catch(_0x19b8bb){this['_logService'][_0x14ba12(0x35a)](_0x19b8bb,_0x1932d9);}}[_0x494bb3(0x5e1)](_0x3bc893){const _0x31ebcb=_0x494bb3;this[_0x31ebcb(0x32d)]['updateMember'](this[_0x31ebcb(0x42b)],_0x3bc893[_0x31ebcb(0x5a3)]);}[_0x494bb3(0x1f6)](_0x3a5619){const _0x152ee4=_0x494bb3;this[_0x152ee4(0x32d)][_0x152ee4(0x218)](this['_unitID'],_0x3a5619[_0x152ee4(0x5a3)][_0x152ee4(0x550)]);}async[_0x494bb3(0x424)](_0x6d0633,_0x274748){const _0x4796bf=_0x494bb3;if(this['sessionStatus']!==0x3||!this[_0x4796bf(0x4e9)])throw new Error(_0x4796bf(0x328));try{_0x6d0633[_0x4796bf(0x383)]===_0x4d11e3['CollaborationEvent'][_0x4796bf(0x39d)]&&(this[_0x4796bf(0x1ec)](),this[_0x4796bf(0x575)](_0x6d0633)),this[_0x4796bf(0x4e9)][_0x4796bf(0x424)]({'cmd':_0x58f514[_0x4796bf(0x450)],'routeKey':_0x274748,'routeType':'','data':_0x6d0633});}catch(_0x3bfd5b){this[_0x4796bf(0x3f5)][_0x4796bf(0x35a)](_0x3bfd5b);}}['_scheduleCollaborationTimeoutTimer'](){const _0xde8d33=_0x494bb3;var _0x2b4323;this[_0xde8d33(0x261)]=window['setTimeout'](()=>{const _0x4ff260=_0xde8d33;this[_0x4ff260(0x261)]=null,this[_0x4ff260(0x2cc)][_0x4ff260(0x478)]({'type':_0x989dfe[_0x4ff260(0x5f0)]['Error'],'content':this[_0x4ff260(0x26e)]['t'](_0x4ff260(0x52d))});},(_0x2b4323=this['_configService'][_0xde8d33(0x19a)](_0x1c1612))!=null?_0x2b4323:0x4e20);}[_0x494bb3(0x564)](){const _0x642984=_0x494bb3;this[_0x642984(0x261)]&&(clearTimeout(this[_0x642984(0x261)]),this[_0x642984(0x261)]=null);}['_startTelemetryCollaborationNewChangeset'](_0x4b1d57){const _0x296c29=_0x494bb3;if(!this['_shouldReportTelemetry'])return;const {data:_0x43029a}=_0x4b1d57,{unitID:_0x3071da,changeset:_0xf2fedd}=_0x43029a,{mutations:_0x5da696,type:_0x462866}=_0xf2fedd;this[_0x296c29(0x3c2)]={'unitId':_0x3071da,'type':_0x462866,'startTime':performance[_0x296c29(0x280)](),'stopTime':0x0,'duration':0x0,'size':_0x23fb7d(_0x5da696)};}[_0x494bb3(0x45b)](){const _0x19900f=_0x494bb3;if(this['_shouldReportTelemetry']){if(!this[_0x19900f(0x3c2)]){this[_0x19900f(0x3f5)][_0x19900f(0x35a)](_0x19900f(0x2f2),_0x19900f(0x391));return;}this[_0x19900f(0x3c2)][_0x19900f(0x348)]=performance[_0x19900f(0x280)](),this[_0x19900f(0x3c2)][_0x19900f(0x34a)]=this[_0x19900f(0x3c2)]['stopTime']-this[_0x19900f(0x3c2)][_0x19900f(0x358)],this[_0x19900f(0x417)][_0x19900f(0x5b4)](_0x50ad6b,this[_0x19900f(0x3c2)]),this[_0x19900f(0x3c2)]=null;}}[_0x494bb3(0x2c0)](){const _0x511677=_0x494bb3;this[_0x511677(0x3c2)]=null;}},_0x38d423['CollaborationSession']=_0x1604aa([_0x4fc36a(0x2,_0x5a20c3[_0x494bb3(0x494)]),_0x4fc36a(0x3,_0x33d470[_0x494bb3(0x3e1)]),_0x4fc36a(0x4,_0x33d470[_0x494bb3(0x454)]),_0x4fc36a(0x5,_0x5a20c3['IConfigService']),_0x4fc36a(0x6,_0x5a20c3[_0x494bb3(0x57c)](_0x5a20c3[_0x494bb3(0x439)])),_0x4fc36a(0x7,_0x5a20c3[_0x494bb3(0x57c)](_0x38d423[_0x494bb3(0x30c)])),_0x4fc36a(0x8,_0x5a20c3[_0x494bb3(0x57c)](_0x1cf212)),_0x4fc36a(0x9,_0x5a20c3[_0x494bb3(0x59d)](_0x2e1b9e['ITelemetryService']))],_0x38d423[_0x494bb3(0x3b1)]);var _0x1d985d=Object[_0x494bb3(0x5f8)],_0xcd6206=Object[_0x494bb3(0x51e)],_0x2a3ea9=(_0x4a17c8,_0x39b2a5,_0x417659,_0x37b1a9)=>{const _0x55fc3a=_0x494bb3;for(var _0x43edc6=_0x37b1a9>0x1?void 0x0:_0x37b1a9?_0xcd6206(_0x39b2a5,_0x417659):_0x39b2a5,_0xd7755d=_0x4a17c8[_0x55fc3a(0x5aa)]-0x1,_0x38b24f;_0xd7755d>=0x0;_0xd7755d--)(_0x38b24f=_0x4a17c8[_0xd7755d])&&(_0x43edc6=(_0x37b1a9?_0x38b24f(_0x39b2a5,_0x417659,_0x43edc6):_0x38b24f(_0x43edc6))||_0x43edc6);return _0x37b1a9&&_0x43edc6&&_0x1d985d(_0x39b2a5,_0x417659,_0x43edc6),_0x43edc6;},_0x3f44e6=(_0x40efb8,_0xa24ef6)=>(_0x78ea44,_0x54ebdc)=>_0xa24ef6(_0x78ea44,_0x54ebdc,_0x40efb8);_0x38d423[_0x494bb3(0x1a9)]=class extends _0x5a20c3[_0x494bb3(0x1c9)]{constructor(_0x302936,_0x206269,_0x241d8d,_0xb59638,_0x43c81d,_0x922d70){const _0x3b96a7=_0x494bb3;super(),_0x3ed524(this,_0x3b96a7(0x3eb),new _0x32bae4[(_0x3b96a7(0x55c))](void 0x0)),_0x3ed524(this,'socket$',this[_0x3b96a7(0x3eb)][_0x3b96a7(0x4fe)]()),_0x3ed524(this,_0x3b96a7(0x2c9),null),_0x3ed524(this,_0x3b96a7(0x17f),new Map()),_0x3ed524(this,_0x3b96a7(0x447),new _0x32bae4[(_0x3b96a7(0x55c))](_0x5f2a52[_0x3b96a7(0x177)])),_0x3ed524(this,_0x3b96a7(0x5e2),this[_0x3b96a7(0x447)][_0x3b96a7(0x4fe)]()),_0x3ed524(this,_0x3b96a7(0x3ff),!0x1),_0x3ed524(this,_0x3b96a7(0x445)),_0x3ed524(this,_0x3b96a7(0x607),0x0),_0x3ed524(this,'_sendHeartbeatTimer'),_0x3ed524(this,_0x3b96a7(0x5ee)),(this[_0x3b96a7(0x221)]=_0x302936,this['_localeService']=_0x206269,this[_0x3b96a7(0x2cc)]=_0x241d8d,this['_logService']=_0xb59638,this[_0x3b96a7(0x1f1)]=_0x43c81d,this['_socketService']=_0x922d70,this[_0x3b96a7(0x4b6)]());}get['_socket'](){const _0x25b2b8=_0x494bb3;return this[_0x25b2b8(0x3eb)]['getValue']();}['_initEventListeners'](){const _0xe03831=_0x494bb3;this[_0xe03831(0x26f)](),this[_0xe03831(0x32f)]();}[_0x494bb3(0x173)](){const _0xde2d5a=_0x494bb3;super['dispose'](),this[_0xde2d5a(0x17f)][_0xde2d5a(0x5e8)](_0x54c9c0=>_0x54c9c0[_0xde2d5a(0x173)]()),this[_0xde2d5a(0x17f)][_0xde2d5a(0x366)](),this[_0xde2d5a(0x447)][_0xde2d5a(0x548)]();}async[_0x494bb3(0x3b7)](_0x3cf6a6){const _0x18f3f0=_0x494bb3;if(this[_0x18f3f0(0x17f)][_0x18f3f0(0x4a3)](_0x3cf6a6))return this[_0x18f3f0(0x17f)][_0x18f3f0(0x537)](_0x3cf6a6);this[_0x18f3f0(0x1e3)]();const _0x2ebe65=this[_0x18f3f0(0x221)][_0x18f3f0(0x566)](_0x38d423[_0x18f3f0(0x3b1)],_0x3cf6a6,this[_0x18f3f0(0x3eb)][_0x18f3f0(0x4fe)]());return this[_0x18f3f0(0x17f)][_0x18f3f0(0x33d)](_0x3cf6a6,_0x2ebe65),_0x2ebe65;}['closeSession'](_0x1ff613){const _0x50fa42=_0x494bb3;var _0x5684b2;const _0x39da7c=this['_sessions'][_0x50fa42(0x537)](_0x1ff613);_0x39da7c&&(this['_sessions']['delete'](_0x1ff613),_0x39da7c[_0x50fa42(0x1a0)]()),this[_0x50fa42(0x17f)][_0x50fa42(0x23e)]||(_0x5684b2=this[_0x50fa42(0x4e9)])==null||_0x5684b2[_0x50fa42(0x1a0)]();}[_0x494bb3(0x5bc)](){const _0x4f9d00=_0x494bb3;this[_0x4f9d00(0x607)]=0x0,this[_0x4f9d00(0x445)]!=null&&(clearTimeout(this[_0x4f9d00(0x445)]),this[_0x4f9d00(0x445)]=null),this[_0x4f9d00(0x27e)]();}[_0x494bb3(0x558)](){const _0x4e8644=_0x494bb3;var _0x32baba,_0x2f7a48;const _0x20ab09=this[_0x4e8644(0x1f1)][_0x4e8644(0x19a)](_0x4420d6),_0x164a14=this[_0x4e8644(0x1f1)][_0x4e8644(0x19a)](_0x59eaf6),_0x392933=(_0x2f7a48=(_0x32baba=_0x164a14==null?void 0x0:_0x164a14['collabWebSocketUrl'])!=null?_0x32baba:_0x20ab09)!=null?_0x2f7a48:_0x575f6c,_0x540a5a=this[_0x4e8644(0x1fe)]['createSocket'](_0x392933);return this[_0x4e8644(0x2c9)]=_0x540a5a,_0x540a5a;}['_tryEnsureSocket'](){const _0x2b0812=_0x494bb3;var _0x99d7fc,_0x55a001;try{const _0x35f96d=(_0x55a001=(_0x99d7fc=this[_0x2b0812(0x4e9)])!=null?_0x99d7fc:this[_0x2b0812(0x2c9)])!=null?_0x55a001:this[_0x2b0812(0x558)]();if(_0x35f96d){const _0x3dafd7=_0x35f96d['send'];_0x35f96d[_0x2b0812(0x424)]=_0x1fe96d=>(this['_rescheduleHeartbeat'](),_0x3dafd7['apply'](_0x35f96d,[_0x1fe96d])),_0x35f96d[_0x2b0812(0x608)][_0x2b0812(0x38d)](_0x21a646=>this[_0x2b0812(0x4f4)](_0x35f96d,_0x21a646)),_0x35f96d['error$'][_0x2b0812(0x1d4)](_0x51e720['take'](0x1))[_0x2b0812(0x38d)](_0x3d7195=>this[_0x2b0812(0x3f5)]['error']('[CollaborationSessionService]:\x20socket\x20error',_0x3d7195)),_0x35f96d[_0x2b0812(0x428)][_0x2b0812(0x1d4)](_0x51e720[_0x2b0812(0x5d8)](0x1))[_0x2b0812(0x38d)](()=>{const _0x4be68b=_0x2b0812;this[_0x4be68b(0x42d)](_0x35f96d);}),_0x35f96d[_0x2b0812(0x180)][_0x2b0812(0x1d4)](_0x51e720['take'](0x1))[_0x2b0812(0x38d)](_0x4ae39e=>{const _0x5c2aaa=_0x2b0812;this[_0x5c2aaa(0x3f5)][_0x5c2aaa(0x1b0)](_0x5c2aaa(0x240),_0x5c2aaa(0x339),_0x4ae39e),this[_0x5c2aaa(0x362)]();});}}catch(_0x5df5b2){this[_0x2b0812(0x3f5)][_0x2b0812(0x35a)](_0x5df5b2),this[_0x2b0812(0x362)]();}}[_0x494bb3(0x42d)](_0x23cf95){const _0x90d5c5=_0x494bb3;this[_0x90d5c5(0x3f5)][_0x90d5c5(0x1b0)](_0x90d5c5(0x240),_0x90d5c5(0x3f0)),_0x23cf95['send']({'cmd':_0x58f514[_0x90d5c5(0x4fb)]}),this['_rescheduleHeartbeat']();}[_0x494bb3(0x26f)](){const _0x106b8f=_0x494bb3;window[_0x106b8f(0x4e2)](_0x106b8f(0x333),()=>this['_onOffline']());}[_0x494bb3(0x16b)](){const _0x360b31=_0x494bb3;this['_socketReady']=!0x1,this[_0x360b31(0x2c9)]=null,this['_status$'][_0x360b31(0x5dd)](_0x5f2a52[_0x360b31(0x1de)]),this['_socket$']['next'](null),this['_clearTimeoutTimer'](),this[_0x360b31(0x24a)]();}['_onConnectionFailed'](){const _0x1b3c29=_0x494bb3;var _0x2f7357;this[_0x1b3c29(0x16b)](),this[_0x1b3c29(0x607)]<((_0x2f7357=this[_0x1b3c29(0x1f1)][_0x1b3c29(0x19a)](_0x28861a))!=null?_0x2f7357:0x3)?(this[_0x1b3c29(0x2cc)][_0x1b3c29(0x478)]({'key':_0x1b3c29(0x162),'type':_0x989dfe['MessageType'][_0x1b3c29(0x225)],'content':this[_0x1b3c29(0x26e)]['t'](_0x1b3c29(0x216))}),this[_0x1b3c29(0x27e)]()):this['_messageService']['show']({'key':_0x1b3c29(0x162),'type':_0x989dfe[_0x1b3c29(0x5f0)]['Error'],'content':this[_0x1b3c29(0x26e)]['t'](_0x1b3c29(0x342))});}['_listenToOnlineEvent'](){const _0x55d911=_0x494bb3,_0x2d6955=()=>{const _0xd72d6c=_0x50cf;this[_0xd72d6c(0x4e9)]||this[_0xd72d6c(0x5bc)]();},_0x4a8018=()=>{const _0x35890c=_0x50cf;this['_socket']||document[_0x35890c(0x3ab)]===_0x35890c(0x592)||this[_0x35890c(0x5bc)]();};window[_0x55d911(0x4e2)](_0x55d911(0x386),_0x2d6955),document[_0x55d911(0x4e2)](_0x55d911(0x370),_0x4a8018);}['_tryReconnect'](){const _0x47f49f=_0x494bb3;var _0x27806b;const _0x12eeac=this[_0x47f49f(0x607)],_0x3976c0=this['_configService'][_0x47f49f(0x19a)](_0x59eaf6),_0x15f884=_0x12eeac===0x0?0x0:((_0x27806b=_0x3976c0==null?void 0x0:_0x3976c0[_0x47f49f(0x208)])!=null?_0x27806b:0x4e20)*0x2**_0x12eeac;this[_0x47f49f(0x445)]=window[_0x47f49f(0x4c3)](()=>{const _0x5ae4ac=_0x47f49f;clearTimeout(this[_0x5ae4ac(0x445)]),this[_0x5ae4ac(0x445)]=null,this[_0x5ae4ac(0x1e3)]();},_0x15f884),this['_retryCount']+=0x1;}[_0x494bb3(0x4f4)](_0x9b5422,_0xf27e18){const _0x55d409=_0x494bb3,{cmd:_0x56c3b6}=_0xf27e18;_0x56c3b6===_0x58f514[_0x55d409(0x4fb)]&&!this[_0x55d409(0x3ff)]&&(_0x9b5422[_0x55d409(0x550)]=_0xf27e18[_0x55d409(0x5a3)]['memberID'],this[_0x55d409(0x3eb)]['next'](_0x9b5422),this[_0x55d409(0x447)]['next'](_0x5f2a52[_0x55d409(0x5c1)]),this['_socketReady']=!0x0,this[_0x55d409(0x2c9)]=null),_0x56c3b6===_0x58f514[_0x55d409(0x359)]&&this[_0x55d409(0x484)](),this['_rescheduleHeartbeat']();}['_rescheduleHeartbeat'](){const _0xbcc1a=_0x494bb3;var _0x4f034b;this['_clearHeartbeatTimer'](),this[_0xbcc1a(0x215)]=window[_0xbcc1a(0x4c3)](()=>this[_0xbcc1a(0x501)](),(_0x4f034b=this[_0xbcc1a(0x1f1)][_0xbcc1a(0x19a)](_0x33903c))!=null?_0x4f034b:0x7530);}[_0x494bb3(0x501)](){const _0xcda6c8=_0x494bb3;this['_socket'][_0xcda6c8(0x424)]({'cmd':_0x58f514[_0xcda6c8(0x359)]}),this[_0xcda6c8(0x2bd)]();}[_0x494bb3(0x2bd)](){const _0x53b3c3=_0x494bb3;var _0xc56304;this[_0x53b3c3(0x5ee)]=window['setTimeout'](()=>this['_onConnectionFailed'](),(_0xc56304=this[_0x53b3c3(0x1f1)]['getConfig'](_0x1c1612))!=null?_0xc56304:0x4e20);}[_0x494bb3(0x24a)](){const _0x512dd5=_0x494bb3;this[_0x512dd5(0x215)]!=null&&(clearTimeout(this[_0x512dd5(0x215)]),this[_0x512dd5(0x215)]=null);}[_0x494bb3(0x484)](){const _0x2b34a3=_0x494bb3;this[_0x2b34a3(0x5ee)]!=null&&(clearTimeout(this['_timeoutTimer']),this[_0x2b34a3(0x5ee)]=null);}},_0x38d423['CollaborationSessionService']=_0x2a3ea9([_0x3f44e6(0x0,_0x5a20c3['Inject'](_0x5a20c3[_0x494bb3(0x596)])),_0x3f44e6(0x1,_0x5a20c3[_0x494bb3(0x57c)](_0x5a20c3[_0x494bb3(0x439)])),_0x3f44e6(0x2,_0x33d470[_0x494bb3(0x454)]),_0x3f44e6(0x3,_0x5a20c3[_0x494bb3(0x494)]),_0x3f44e6(0x4,_0x5a20c3[_0x494bb3(0x175)]),_0x3f44e6(0x5,_0x45677d)],_0x38d423[_0x494bb3(0x1a9)]);for(var _0x4ee988=[],_0x5cddea=0x0;_0x5cddea<0x100;++_0x5cddea)_0x4ee988[_0x494bb3(0x196)]((_0x5cddea+0x100)[_0x494bb3(0x283)](0x10)[_0x494bb3(0x502)](0x1));function _0x298feb(_0x2d73b7,_0x12bec1=0x0){const _0x2e3767=_0x494bb3;return(_0x4ee988[_0x2d73b7[_0x12bec1+0x0]]+_0x4ee988[_0x2d73b7[_0x12bec1+0x1]]+_0x4ee988[_0x2d73b7[_0x12bec1+0x2]]+_0x4ee988[_0x2d73b7[_0x12bec1+0x3]]+'-'+_0x4ee988[_0x2d73b7[_0x12bec1+0x4]]+_0x4ee988[_0x2d73b7[_0x12bec1+0x5]]+'-'+_0x4ee988[_0x2d73b7[_0x12bec1+0x6]]+_0x4ee988[_0x2d73b7[_0x12bec1+0x7]]+'-'+_0x4ee988[_0x2d73b7[_0x12bec1+0x8]]+_0x4ee988[_0x2d73b7[_0x12bec1+0x9]]+'-'+_0x4ee988[_0x2d73b7[_0x12bec1+0xa]]+_0x4ee988[_0x2d73b7[_0x12bec1+0xb]]+_0x4ee988[_0x2d73b7[_0x12bec1+0xc]]+_0x4ee988[_0x2d73b7[_0x12bec1+0xd]]+_0x4ee988[_0x2d73b7[_0x12bec1+0xe]]+_0x4ee988[_0x2d73b7[_0x12bec1+0xf]])[_0x2e3767(0x2ec)]();}var _0x305028,_0x32d3da=new Uint8Array(0x10);function _0x51cc80(){const _0x2292e4=_0x494bb3;if(!_0x305028&&(_0x305028=typeof crypto<'u'&&crypto[_0x2292e4(0x289)]&&crypto[_0x2292e4(0x289)][_0x2292e4(0x2d8)](crypto),!_0x305028))throw new Error('crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported');return _0x305028(_0x32d3da);}var _0x1d8736=typeof crypto<'u'&&crypto[_0x494bb3(0x179)]&&crypto[_0x494bb3(0x179)][_0x494bb3(0x2d8)](crypto);const _0x2a1f68={'randomUUID':_0x1d8736};function _0x4c4aaa(_0x442b92,_0xcf416,_0x5b403c){const _0x487a0d=_0x494bb3;if(_0x2a1f68[_0x487a0d(0x179)]&&!_0xcf416&&!_0x442b92)return _0x2a1f68[_0x487a0d(0x179)]();_0x442b92=_0x442b92||{};var _0x3502c1=_0x442b92[_0x487a0d(0x182)]||(_0x442b92[_0x487a0d(0x587)]||_0x51cc80)();return _0x3502c1[0x6]=_0x3502c1[0x6]&0xf|0x40,_0x3502c1[0x8]=_0x3502c1[0x8]&0x3f|0x80,_0x298feb(_0x3502c1);}var _0x2916ba=Object[_0x494bb3(0x5f8)],_0x3bc5a7=Object[_0x494bb3(0x51e)],_0x33720f=(_0x17ab14,_0xb65179,_0x5670f4,_0x3a7782)=>{for(var _0x482f6b=_0x3a7782>0x1?void 0x0:_0x3a7782?_0x3bc5a7(_0xb65179,_0x5670f4):_0xb65179,_0xb6d1f4=_0x17ab14['length']-0x1,_0x13b59e;_0xb6d1f4>=0x0;_0xb6d1f4--)(_0x13b59e=_0x17ab14[_0xb6d1f4])&&(_0x482f6b=(_0x3a7782?_0x13b59e(_0xb65179,_0x5670f4,_0x482f6b):_0x13b59e(_0x482f6b))||_0x482f6b);return _0x3a7782&&_0x482f6b&&_0x2916ba(_0xb65179,_0x5670f4,_0x482f6b),_0x482f6b;},_0x3902a6=(_0x40652d,_0x3a8a19)=>(_0x4e7326,_0x110f79)=>_0x3a8a19(_0x4e7326,_0x110f79,_0x40652d);let _0x11a9c0=class{constructor(_0x2dc2d5,_0x3c2632,_0xec89e7){const _0x45c782=_0x494bb3;this[_0x45c782(0x221)]=_0x2dc2d5,this[_0x45c782(0x241)]=_0x3c2632,this[_0x45c782(0x257)]=_0xec89e7;}[_0x494bb3(0x5fb)](_0x29c0e7){const _0x1461a8=_0x494bb3;this[_0x1461a8(0x238)](_0x29c0e7),this['_transformPreviousActiveRange'](_0x29c0e7);}[_0x494bb3(0x460)](_0x32d0fe){const _0x316548=_0x494bb3,{unitID:_0x384a86}=_0x32d0fe,_0x30d13a=this[_0x316548(0x257)][_0x316548(0x5da)](_0x384a86)['with'](_0xe07534['DocIMEInputManagerService']),{redoCache:_0xfaa893}=_0x30d13a['getUndoRedoMutationParamsCache']();if(_0xfaa893[_0x316548(0x5aa)]===0x0)return _0x32d0fe;let _0x89a123=_0x5a20c3['Tools'][_0x316548(0x5e3)](_0x32d0fe[_0x316548(0x341)][0x0]);for(let _0x847f70=0x0;_0x847f70<_0xfaa893[_0x316548(0x5aa)];_0x847f70++){const _0x463fc0={'id':_0x316548(0x1b8),'params':{..._0xfaa893[_0x847f70]}},_0x5d7577=this[_0x316548(0x241)][_0x316548(0x5d4)](_0x89a123,_0x463fc0,!0x1);if(_0x4d11e3[_0x316548(0x40d)](_0x5d7577))throw _0x5d7577['error'];_0x89a123=_0x5d7577[_0x316548(0x5a9)];}return{..._0x5a20c3[_0x316548(0x5ad)]['deepClone'](_0x32d0fe),'mutations':[_0x89a123]};}[_0x494bb3(0x238)](_0xa3c84c){const _0x28d3f3=_0x494bb3,{unitID:_0x5394ac}=_0xa3c84c,_0x1ef618=this[_0x28d3f3(0x257)][_0x28d3f3(0x5da)](_0x5394ac)['with'](_0xe07534['DocIMEInputManagerService']),{undoCache:_0x3a0994,redoCache:_0x5bab01}=_0x1ef618['getUndoRedoMutationParamsCache']();if(_0x3a0994[_0x28d3f3(0x5aa)]===0x0||_0x5bab01[_0x28d3f3(0x5aa)]===0x0)return;const _0x54b300=[],_0x71677e=[];let _0x17d168=_0x5a20c3['Tools'][_0x28d3f3(0x5e3)](_0xa3c84c[_0x28d3f3(0x341)][0x0]),_0x272d9a=_0x5a20c3[_0x28d3f3(0x5ad)][_0x28d3f3(0x5e3)](_0xa3c84c[_0x28d3f3(0x341)][0x0]);for(let _0x343cda=_0x3a0994[_0x28d3f3(0x5aa)]-0x1;_0x343cda>=0x0;_0x343cda--){const _0x4552b1={'id':'doc.mutation.rich-text-editing','params':{..._0x3a0994[_0x343cda]}},_0x1420da={'id':_0x28d3f3(0x1b8),'params':{..._0x5bab01[_0x343cda]}},_0x29baee=this[_0x28d3f3(0x241)][_0x28d3f3(0x5d4)](_0x17d168,_0x4552b1,!0x1),_0x5dc6cc=this[_0x28d3f3(0x241)]['transformMutation'](_0x272d9a,_0x1420da,!0x1);if(_0x4d11e3[_0x28d3f3(0x40d)](_0x29baee))throw _0x29baee['error'];if(_0x4d11e3['isTransformMutationFailure'](_0x5dc6cc))throw _0x5dc6cc[_0x28d3f3(0x35a)];_0x54b300[_0x28d3f3(0x55a)](_0x29baee[_0x28d3f3(0x3fd)][_0x28d3f3(0x542)]),_0x71677e[_0x28d3f3(0x55a)](_0x5dc6cc[_0x28d3f3(0x3fd)][_0x28d3f3(0x542)]),_0x17d168=_0x29baee[_0x28d3f3(0x5a9)],_0x272d9a=_0x5dc6cc[_0x28d3f3(0x5a9)];}_0x1ef618[_0x28d3f3(0x42c)]({'undoCache':_0x54b300,'redoCache':_0x71677e});}[_0x494bb3(0x314)](_0xff2eb3){const _0x5c86b0=_0x494bb3,{unitID:_0x353545}=_0xff2eb3,_0x2b2fbd=this[_0x5c86b0(0x257)][_0x5c86b0(0x5da)](_0x353545)[_0x5c86b0(0x16d)](_0xe07534['DocIMEInputManagerService']),_0x12ae45=_0x2b2fbd[_0x5c86b0(0x2d3)]();if(_0x12ae45==null)return;const _0x419b64=[{'id':_0x5c86b0(0x1b8),'params':{'unitId':_0xff2eb3[_0x5c86b0(0x39f)],'actions':null,'textRanges':[_0x12ae45]}}],_0x32b0b7=this[_0x5c86b0(0x241)][_0x5c86b0(0x381)](_0xff2eb3,_0x419b64);if(!_0x4d11e3[_0x5c86b0(0x292)](_0x32b0b7))throw _0x32b0b7['error'];const _0x23183c=_0x32b0b7[_0x5c86b0(0x3fd)][0x0][_0x5c86b0(0x542)][_0x5c86b0(0x561)];Array[_0x5c86b0(0x557)](_0x23183c)&&_0x23183c[_0x5c86b0(0x5aa)]&&_0x2b2fbd[_0x5c86b0(0x387)](_0x23183c[0x0]);}};_0x11a9c0=_0x33720f([_0x3902a6(0x0,_0x5a20c3['Inject'](_0x5a20c3[_0x494bb3(0x596)])),_0x3902a6(0x1,_0x4d11e3[_0x494bb3(0x49f)]),_0x3902a6(0x2,_0x5c31a6[_0x494bb3(0x1fb)])],_0x11a9c0);var _0x5d0ea1=Object['defineProperty'],_0x105011=Object['getOwnPropertyDescriptor'],_0x112aa2=(_0x38bf4f,_0x452ac4,_0x3cb0cb,_0x38e531)=>{const _0x209c58=_0x494bb3;for(var _0x39b24f=_0x38e531>0x1?void 0x0:_0x38e531?_0x105011(_0x452ac4,_0x3cb0cb):_0x452ac4,_0x2ea979=_0x38bf4f[_0x209c58(0x5aa)]-0x1,_0x48cb7d;_0x2ea979>=0x0;_0x2ea979--)(_0x48cb7d=_0x38bf4f[_0x2ea979])&&(_0x39b24f=(_0x38e531?_0x48cb7d(_0x452ac4,_0x3cb0cb,_0x39b24f):_0x48cb7d(_0x39b24f))||_0x39b24f);return _0x38e531&&_0x39b24f&&_0x5d0ea1(_0x452ac4,_0x3cb0cb,_0x39b24f),_0x39b24f;},_0x45fa0a=(_0xc805f5,_0xcdc7c4)=>(_0x2ce282,_0x154581)=>_0xcdc7c4(_0x2ce282,_0x154581,_0xc805f5);_0x38d423['LocalCacheService']=class extends _0x5a20c3['Disposable']{constructor(_0x49268b,_0x844509,_0x10ea34,_0x44235b,_0x4623dd){const _0xad9014=_0x494bb3;super(),_0x3ed524(this,'_cachedData',new Map()),_0x3ed524(this,_0xad9014(0x43f),new Map()),_0x3ed524(this,_0xad9014(0x214),!0x1),(this[_0xad9014(0x1f1)]=_0x49268b,this[_0xad9014(0x243)]=_0x844509,this[_0xad9014(0x2e9)]=_0x10ea34,this[_0xad9014(0x26e)]=_0x44235b,this[_0xad9014(0x4bd)]=_0x4623dd,this[_0xad9014(0x2c1)]());}[_0x494bb3(0x35b)](){this['_disabled']=!0x0;}[_0x494bb3(0x4f2)](){const _0x4b9640=_0x494bb3;this[_0x4b9640(0x214)]=!0x1;}[_0x494bb3(0x173)](){const _0x5df05f=_0x494bb3;this[_0x5df05f(0x4cb)]()[_0x5df05f(0x1ee)](()=>super[_0x5df05f(0x173)]());}async[_0x494bb3(0x23d)](_0x2e8525){const _0x13308e=_0x494bb3;return this[_0x13308e(0x214)]?null:this[_0x13308e(0x243)][_0x13308e(0x5a4)](_0x13551c(_0x2e8525));}async[_0x494bb3(0x41f)](_0x4aa5d4,_0x1201d1){const _0x1564bc=_0x494bb3;return!!this[_0x1564bc(0x243)]['setItem'](_0x4aa5d4,_0x1201d1);}[_0x494bb3(0x3d9)](_0x30aafe,_0x16f357,_0x2a91b4,_0x2a4478){const _0x425389=_0x494bb3,_0x156a89=this['_revisionService'][_0x425389(0x21f)](_0x30aafe);this[_0x425389(0x2b6)][_0x425389(0x33d)](_0x30aafe,{'unitID':_0x30aafe,'type':_0x16f357,'awaitingChangeset':_0x2a91b4,'mutations':_0x2a4478,'rev':_0x156a89}),this['_saveTaskMap']['has'](_0x30aafe)||this['_scheduleSaving'](_0x30aafe);}[_0x494bb3(0x3a0)](_0xa77701){const _0x2cc9e9=_0x494bb3,_0x13092f=this[_0x2cc9e9(0x23c)]();_0x13092f===0x0?this['_saveCache'](_0xa77701):this[_0x2cc9e9(0x43f)][_0x2cc9e9(0x33d)](_0xa77701,setTimeout(()=>this[_0x2cc9e9(0x2fc)](_0xa77701),_0x13092f));}[_0x494bb3(0x23c)](){var _0x2a7188;return(_0x2a7188=this['_configService']['getConfig'](_0x2a600b))!=null?_0x2a7188:0x3e8;}['_saveCache'](_0x1d046b){const _0x462172=_0x494bb3,_0x361524=this[_0x462172(0x43f)][_0x462172(0x537)](_0x1d046b);return _0x361524!==void 0x0&&window[_0x462172(0x2e6)](_0x361524),this[_0x462172(0x243)][_0x462172(0x5a7)](_0x13551c(_0x1d046b),this[_0x462172(0x2b6)][_0x462172(0x537)](_0x1d046b))[_0x462172(0x1ee)](()=>this[_0x462172(0x43f)][_0x462172(0x43d)](_0x1d046b));}async[_0x494bb3(0x4cb)](){const _0x21a9f1=_0x494bb3,_0x3e7470=[];this[_0x21a9f1(0x43f)]['forEach']((_0x2cfb87,_0x2df78f)=>{const _0x3b399e=_0x21a9f1;window[_0x3b399e(0x2e6)](_0x2cfb87),_0x3e7470[_0x3b399e(0x196)](this[_0x3b399e(0x2fc)](_0x2df78f)['then'](()=>{const _0x1542e4=_0x3b399e;this[_0x1542e4(0x43f)][_0x1542e4(0x43d)](_0x2df78f);}));}),await Promise['all'](_0x3e7470);}[_0x494bb3(0x2c1)](){const _0x4ce775=_0x494bb3;this[_0x4ce775(0x385)](this[_0x4ce775(0x2e9)][_0x4ce775(0x26a)](()=>{const _0x196797=_0x4ce775;if(this[_0x196797(0x43f)][_0x196797(0x23e)])return this[_0x196797(0x26e)]['t']('collaboration-client.offline-data-not-saved');}));}},_0x38d423[_0x494bb3(0x1ca)]=_0x112aa2([_0x45fa0a(0x0,_0x5a20c3[_0x494bb3(0x175)]),_0x45fa0a(0x1,_0x5a20c3['ILocalStorageService']),_0x45fa0a(0x2,_0x33d470[_0x494bb3(0x3e1)]),_0x45fa0a(0x3,_0x5a20c3[_0x494bb3(0x57c)](_0x5a20c3[_0x494bb3(0x439)])),_0x45fa0a(0x4,_0x5a20c3['Inject'](_0x4d11e3[_0x494bb3(0x3ae)]))],_0x38d423[_0x494bb3(0x1ca)]);function _0x13551c(_0x5f5de4){const _0x342223=_0x494bb3;return _0x342223(0x25e)+_0x5f5de4;}var _0x321568=Object[_0x494bb3(0x5f8)],_0x5d6219=Object['getOwnPropertyDescriptor'],_0x3997b3=(_0x560352,_0x1bf15b,_0x3c7115,_0x423735)=>{const _0x20293f=_0x494bb3;for(var _0x5818e0=_0x423735>0x1?void 0x0:_0x423735?_0x5d6219(_0x1bf15b,_0x3c7115):_0x1bf15b,_0x375c28=_0x560352[_0x20293f(0x5aa)]-0x1,_0xfa469c;_0x375c28>=0x0;_0x375c28--)(_0xfa469c=_0x560352[_0x375c28])&&(_0x5818e0=(_0x423735?_0xfa469c(_0x1bf15b,_0x3c7115,_0x5818e0):_0xfa469c(_0x5818e0))||_0x5818e0);return _0x423735&&_0x5818e0&&_0x321568(_0x1bf15b,_0x3c7115,_0x5818e0),_0x5818e0;},_0x1e055e=(_0x4d079e,_0x41c5ed)=>(_0x317682,_0x484f18)=>_0x41c5ed(_0x317682,_0x484f18,_0x4d079e);function _0x1de637(_0x5b5413){const _0x4ab131=_0x494bb3,{unitID:_0xe03935,mutations:_0x20a31f}=_0x5b5413;return{'unitId':_0xe03935,'subUnitId':_0x20a31f[0x0][_0x4ab131(0x542)][_0x4ab131(0x3de)]};}let _0x47f26b=class{constructor(_0x57ea79,_0x25c953,_0x49f01c){const _0x5dbaa8=_0x494bb3;this[_0x5dbaa8(0x221)]=_0x57ea79,this[_0x5dbaa8(0x241)]=_0x25c953,this['_instanceService']=_0x49f01c;}[_0x494bb3(0x53d)](_0x1812fc){const _0x1fedfe=_0x494bb3;var _0x38aba6,_0x265ea9,_0x400960,_0x387b2;const _0x4e518e=this['_injector'][_0x1fedfe(0x537)](_0x66e3f4[_0x1fedfe(0x3d6)]),{unitId:_0x2a79ac,subUnitId:_0x588983}=_0x1de637(_0x1812fc),_0x516235=_0x4e518e[_0x1fedfe(0x57a)](_0x2a79ac)['getCurrentSelections'](),_0x2adb6a=(_0x265ea9=(_0x38aba6=this['_instanceService']['getUnit'](_0x2a79ac))==null?void 0x0:_0x38aba6['getActiveSheet']())==null?void 0x0:_0x265ea9['getSheetId']();if(_0x516235['length']===0x0||!_0x2a79ac||!_0x588983)return;const _0x360b36=[{'id':_0x66e3f4[_0x1fedfe(0x1b9)]['id'],'params':{'unitId':_0x2a79ac,'subUnitId':_0x2adb6a,'selections':_0x5a20c3[_0x1fedfe(0x5ad)][_0x1fedfe(0x5e3)](_0x516235)}}],_0x176dfb=this[_0x1fedfe(0x241)][_0x1fedfe(0x381)](_0x1812fc,_0x360b36);if(!_0x4d11e3[_0x1fedfe(0x292)](_0x176dfb))throw _0x176dfb['error'];const _0x24608c=(_0x387b2=(_0x400960=_0x176dfb[_0x1fedfe(0x3fd)][0x0])==null?void 0x0:_0x400960[_0x1fedfe(0x542)])==null?void 0x0:_0x387b2[_0x1fedfe(0x466)];if(Array['isArray'](_0x24608c)&&_0x24608c['length']){if(_0x24608c[_0x1fedfe(0x5aa)]===_0x360b36[0x0][_0x1fedfe(0x542)][_0x1fedfe(0x466)][_0x1fedfe(0x5aa)]&&_0x24608c[_0x1fedfe(0x1a4)]((_0x50052f,_0x5a2b1f)=>_0x5a20c3['Rectangle'][_0x1fedfe(0x1aa)](_0x50052f[_0x1fedfe(0x4a5)],_0x360b36[0x0][_0x1fedfe(0x542)][_0x1fedfe(0x466)][_0x5a2b1f][_0x1fedfe(0x4a5)])))return;this[_0x1fedfe(0x221)][_0x1fedfe(0x537)](_0x5a20c3[_0x1fedfe(0x39a)])[_0x1fedfe(0x482)](_0x66e3f4['SetSelectionsOperation']['id'],{'unitId':_0x2a79ac,'subUnitId':_0x2adb6a,'selections':_0x24608c});}}};_0x47f26b=_0x3997b3([_0x1e055e(0x0,_0x5a20c3['Inject'](_0x5a20c3[_0x494bb3(0x596)])),_0x1e055e(0x1,_0x4d11e3[_0x494bb3(0x49f)]),_0x1e055e(0x2,_0x5a20c3[_0x494bb3(0x17e)])],_0x47f26b);const _0x104336=_0x5a20c3[_0x494bb3(0x224)](_0x494bb3(0x5ef));var _0x110671=(_0x346a52=>(_0x346a52[_0x346a52['NO_OTHER_CLIENTS_EDITING']=0x0]=_0x494bb3(0x49e),_0x346a52[_0x346a52[_0x494bb3(0x18e)]=0x1]=_0x494bb3(0x18e),_0x346a52))(_0x110671||{});const _0x1b4e9b=0x7530,_0xb51205=_0x494bb3(0x4d7);class _0x1fe08a extends _0x5a20c3[_0x494bb3(0x1c9)]{constructor(){const _0x41eeb2=_0x494bb3;super(),_0x3ed524(this,_0x41eeb2(0x44e),_0x5a20c3['Tools'][_0x41eeb2(0x310)]()),_0x3ed524(this,_0x41eeb2(0x3ba),new Set()),_0x3ed524(this,_0x41eeb2(0x301),new Map()),_0x3ed524(this,_0x41eeb2(0x51a),null),_0x3ed524(this,_0x41eeb2(0x3b5),new Map()),_0x3ed524(this,'_unitStatus',new Map()),this[_0x41eeb2(0x298)]();}[_0x494bb3(0x173)](){const _0x10d550=_0x494bb3;super['dispose'](),this[_0x10d550(0x3b5)][_0x10d550(0x5e8)]((_0x19fe8b,_0x574247)=>this['_removeClearOtherTimer'](_0x574247)),this['_heartbeatTimer']&&window[_0x10d550(0x4e5)](this['_heartbeatTimer']);}['getUnitStatus$'](_0x20e861){const _0x33f8bf=_0x494bb3;return this[_0x33f8bf(0x38f)](_0x20e861)[_0x33f8bf(0x1d4)](_0x32bae4['distinctUntilChanged']());}[_0x494bb3(0x355)](_0x4fa331){const _0x151245=_0x494bb3;this[_0x151245(0x3ba)][_0x151245(0x23e)]===0x0&&this[_0x151245(0x3e4)](),this[_0x151245(0x3ba)]['add'](_0x4fa331),this[_0x151245(0x2ea)]({'type':0x0,'memberID':this[_0x151245(0x44e)],'unitIDs':[_0x4fa331],'isForwarded':!0x1});}[_0x494bb3(0x260)](_0x10ccb9){const _0x1c45a8=_0x494bb3;this['_selfUnitIDs'][_0x1c45a8(0x43d)](_0x10ccb9),this[_0x1c45a8(0x3ba)][_0x1c45a8(0x23e)]===0x0&&this['_heartbeatTimer']&&window[_0x1c45a8(0x4e5)](this['_heartbeatTimer']);}['_init'](){const _0x20f039=_0x494bb3;this[_0x20f039(0x385)](_0x5a20c3[_0x20f039(0x1d8)](_0x32bae4[_0x20f039(0x38e)](window,_0x20f039(0x420))['subscribe'](_0x4c1057=>{const _0x516b54=_0x20f039;if(_0x4c1057[_0x516b54(0x272)]!==_0xb51205||!_0x4c1057['newValue'])return;const _0x1dc721=JSON['parse'](_0x4c1057[_0x516b54(0x1b5)]);this['_handleEvent'](_0x1dc721);}))),window[_0x20f039(0x4e2)](_0x20f039(0x3e7),()=>this[_0x20f039(0x2ea)]({'type':0x1,'memberID':this[_0x20f039(0x44e)],'unitIDs':Array['from'](this[_0x20f039(0x3ba)])}));}[_0x494bb3(0x45e)](_0x1d73bc){const _0x4a704b=_0x494bb3;switch(_0x1d73bc['type']){case 0x0:this['_handleJoinEvent'](_0x1d73bc);break;case 0x1:this['_handleLeaveEvent'](_0x1d73bc);break;case 0x2:this[_0x4a704b(0x253)](_0x1d73bc);break;}}['_handleJoinEvent'](_0x2f9fc4){const _0x216b9e=_0x494bb3,{unitIDs:_0x6bffd,memberID:_0x31e1b8,isForwarded:_0x51bb58}=_0x2f9fc4;_0x6bffd[_0x216b9e(0x5e8)](_0x241a89=>{const _0x889c09=_0x216b9e;if(!_0x51bb58&&this[_0x889c09(0x301)][_0x889c09(0x4a3)](_0x241a89)&&this[_0x889c09(0x38f)](_0x241a89)[_0x889c09(0x5dd)](0x1),!this[_0x889c09(0x301)][_0x889c09(0x4a3)](_0x241a89)||!this[_0x889c09(0x301)][_0x889c09(0x537)](_0x241a89)['has'](_0x31e1b8)){const _0x1d1156=this[_0x889c09(0x301)][_0x889c09(0x537)](_0x241a89)||new Set();_0x1d1156[_0x889c09(0x492)](_0x31e1b8),this[_0x889c09(0x301)][_0x889c09(0x33d)](_0x241a89,_0x1d1156),this[_0x889c09(0x5fe)](_0x31e1b8);}}),_0x51bb58||this['_send']({'type':0x0,'memberID':this[_0x216b9e(0x44e)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x494bb3(0x5fe)](_0x858442){const _0x2b9357=_0x494bb3;this[_0x2b9357(0x236)](_0x858442);const _0x1eba5a=window[_0x2b9357(0x4c3)](()=>{const _0x1ad557=_0x2b9357;this[_0x1ad557(0x301)][_0x1ad557(0x5e8)](_0x103c3d=>{const _0x4b8bba=_0x1ad557;_0x103c3d[_0x4b8bba(0x43d)](_0x858442);});},_0x1b4e9b*0x2);this['_clearOtherTimers'][_0x2b9357(0x33d)](_0x858442,_0x1eba5a);}[_0x494bb3(0x236)](_0x1a0a2b){const _0xd81f08=_0x494bb3;if(this[_0xd81f08(0x3b5)][_0xd81f08(0x4a3)](_0x1a0a2b)){const _0x38c5e9=this[_0xd81f08(0x3b5)][_0xd81f08(0x537)](_0x1a0a2b);_0x38c5e9&&window[_0xd81f08(0x2e6)](_0x38c5e9),this['_clearOtherTimers'][_0xd81f08(0x33d)](_0x1a0a2b,null);}}['_handleLeaveEvent'](_0x5461fa){const _0x48a945=_0x494bb3,{memberID:_0x709cad,unitIDs:_0x50e54c}=_0x5461fa;_0x50e54c[_0x48a945(0x5e8)](_0x59a9fd=>{const _0x47119a=_0x48a945;var _0x50f8ad;const _0x1c6f99=this[_0x47119a(0x301)][_0x47119a(0x537)](_0x59a9fd);_0x1c6f99&&(_0x1c6f99[_0x47119a(0x43d)](_0x709cad),(_0x50f8ad=this[_0x47119a(0x38f)](_0x59a9fd))==null||_0x50f8ad[_0x47119a(0x5dd)](_0x1c6f99[_0x47119a(0x23e)]===0x0?0x0:0x1));}),this[_0x48a945(0x236)](_0x709cad);}[_0x494bb3(0x253)](_0x555f74){const _0x93e15a=_0x494bb3;this[_0x93e15a(0x5fe)](_0x555f74[_0x93e15a(0x550)]);}['_send'](_0x4bb3dc){const _0x5df39a=_0x494bb3;localStorage[_0x5df39a(0x5a7)](_0xb51205,JSON[_0x5df39a(0x58b)](_0x4bb3dc));}[_0x494bb3(0x3e4)](){const _0x28aa1c=_0x494bb3;this[_0x28aa1c(0x51a)]=window[_0x28aa1c(0x430)](()=>{const _0x491072=_0x28aa1c;this[_0x491072(0x2ea)]({'type':0x2,'memberID':this[_0x491072(0x44e)]});},_0x1b4e9b);}[_0x494bb3(0x38f)](_0x52a4c3){const _0x4e3f50=_0x494bb3;return this[_0x4e3f50(0x5d7)][_0x4e3f50(0x4a3)](_0x52a4c3)||this[_0x4e3f50(0x5d7)][_0x4e3f50(0x33d)](_0x52a4c3,new _0x32bae4[(_0x4e3f50(0x55c))](0x0)),this[_0x4e3f50(0x5d7)][_0x4e3f50(0x537)](_0x52a4c3);}}var _0x5418f0=Object['defineProperty'],_0x32883f=Object[_0x494bb3(0x51e)],_0xff5af9=(_0x3a6986,_0x4eeb93,_0x2a2821,_0x57f03a)=>{for(var _0x7b1950=_0x57f03a>0x1?void 0x0:_0x57f03a?_0x32883f(_0x4eeb93,_0x2a2821):_0x4eeb93,_0x1e7d99=_0x3a6986['length']-0x1,_0xa004ac;_0x1e7d99>=0x0;_0x1e7d99--)(_0xa004ac=_0x3a6986[_0x1e7d99])&&(_0x7b1950=(_0x57f03a?_0xa004ac(_0x4eeb93,_0x2a2821,_0x7b1950):_0xa004ac(_0x7b1950))||_0x7b1950);return _0x57f03a&&_0x7b1950&&_0x5418f0(_0x4eeb93,_0x2a2821,_0x7b1950),_0x7b1950;},_0x20f011=(_0x3555ae,_0x4d4b4a)=>(_0x44a6ee,_0x2e0757)=>_0x4d4b4a(_0x44a6ee,_0x2e0757,_0x3555ae);let _0x455c32=class{constructor(_0x28e0c7,_0x189d9c,_0x42e3cb){const _0x707509=_0x494bb3;this[_0x707509(0x221)]=_0x28e0c7,this['_transformService']=_0x189d9c,this[_0x707509(0x2de)]=_0x42e3cb;}[_0x494bb3(0x58c)](_0x29028c){const _0xc58d0f=_0x494bb3;this[_0xc58d0f(0x35f)](_0x29028c);}[_0x494bb3(0x460)](_0x711380){const _0x4a853f=_0x494bb3,{unitID:_0xc163b7}=_0x711380,{collaboration:_0x1904a8}=this['_docStateChangeManagerService']['getStateCache'](_0xc163b7);if(_0x1904a8[_0x4a853f(0x5aa)]===0x0)return _0x711380;let _0x4889d8=_0x5a20c3[_0x4a853f(0x5ad)]['deepClone'](_0x711380[_0x4a853f(0x341)][0x0]);for(let _0x5e7143=0x0;_0x5e7143<_0x1904a8[_0x4a853f(0x5aa)];_0x5e7143++){const _0x49c29c={'id':_0x4a853f(0x1b8),'params':{'unitId':_0x1904a8[_0x5e7143][_0x4a853f(0x3ef)],..._0x1904a8[_0x5e7143]['redoState']}},_0x4a7850=this[_0x4a853f(0x241)][_0x4a853f(0x5d4)](_0x4889d8,_0x49c29c,!0x1);if(_0x4d11e3[_0x4a853f(0x40d)](_0x4a7850))throw _0x4a7850[_0x4a853f(0x35a)];_0x4889d8=_0x4a7850[_0x4a853f(0x5a9)];}return{..._0x5a20c3[_0x4a853f(0x5ad)][_0x4a853f(0x5e3)](_0x711380),'mutations':[_0x4889d8]};}[_0x494bb3(0x35f)](_0x789f22){const _0x3a70a1=_0x494bb3,{unitID:_0x461188}=_0x789f22,{history:_0x22a132,collaboration:_0x967c72}=this[_0x3a70a1(0x2de)][_0x3a70a1(0x3d7)](_0x461188);if(_0x22a132[_0x3a70a1(0x5aa)]===0x0&&_0x967c72[_0x3a70a1(0x5aa)]===0x0)return;const _0x2d1719=[],_0x49881f=[];let _0x89bd0d=_0x5a20c3[_0x3a70a1(0x5ad)][_0x3a70a1(0x5e3)](_0x789f22[_0x3a70a1(0x341)][0x0]),_0x4a76e8=_0x5a20c3[_0x3a70a1(0x5ad)]['deepClone'](_0x789f22[_0x3a70a1(0x341)][0x0]);for(let _0x50c244=_0x22a132[_0x3a70a1(0x5aa)]-0x1;_0x50c244>=0x0;_0x50c244--){const _0x4e1837={'id':_0x3a70a1(0x1b8),'params':{'unitId':_0x22a132[_0x50c244][_0x3a70a1(0x3ef)],..._0x22a132[_0x50c244][_0x3a70a1(0x1f4)]}},_0x27ace9={'id':_0x3a70a1(0x1b8),'params':{'unitId':_0x22a132[_0x50c244][_0x3a70a1(0x3ef)],..._0x22a132[_0x50c244][_0x3a70a1(0x1a6)]}},_0x104618=this[_0x3a70a1(0x241)][_0x3a70a1(0x5d4)](_0x89bd0d,_0x4e1837,!0x1),_0x30bbb9=this['_transformService'][_0x3a70a1(0x5d4)](_0x4a76e8,_0x27ace9,!0x1);if(_0x4d11e3[_0x3a70a1(0x40d)](_0x104618))throw _0x104618['error'];if(_0x4d11e3['isTransformMutationFailure'](_0x30bbb9))throw _0x30bbb9['error'];_0x2d1719[_0x3a70a1(0x55a)]({..._0x22a132[_0x50c244],'undoState':_0x104618['m2Prime'][_0x3a70a1(0x542)],'redoState':_0x30bbb9[_0x3a70a1(0x3fd)]['params']}),_0x89bd0d=_0x104618['m1Prime'],_0x4a76e8=_0x30bbb9[_0x3a70a1(0x5a9)];}_0x89bd0d=_0x5a20c3[_0x3a70a1(0x5ad)][_0x3a70a1(0x5e3)](_0x789f22[_0x3a70a1(0x341)][0x0]),_0x4a76e8=_0x5a20c3[_0x3a70a1(0x5ad)]['deepClone'](_0x789f22[_0x3a70a1(0x341)][0x0]);for(let _0x18472e=_0x967c72[_0x3a70a1(0x5aa)]-0x1;_0x18472e>=0x0;_0x18472e--){const _0x36c4af={'id':_0x3a70a1(0x1b8),'params':{'unitId':_0x967c72[_0x18472e]['unitId'],..._0x967c72[_0x18472e]['undoState']}},_0xfa33b6={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x967c72[_0x18472e][_0x3a70a1(0x3ef)],..._0x967c72[_0x18472e][_0x3a70a1(0x1a6)]}},_0x4b42c9=this[_0x3a70a1(0x241)][_0x3a70a1(0x5d4)](_0x89bd0d,_0x36c4af,!0x1),_0x195bda=this[_0x3a70a1(0x241)][_0x3a70a1(0x5d4)](_0x4a76e8,_0xfa33b6,!0x1);if(_0x4d11e3[_0x3a70a1(0x40d)](_0x4b42c9))throw _0x4b42c9[_0x3a70a1(0x35a)];if(_0x4d11e3[_0x3a70a1(0x40d)](_0x195bda))throw _0x195bda[_0x3a70a1(0x35a)];_0x49881f[_0x3a70a1(0x55a)]({..._0x967c72[_0x18472e],'undoState':_0x4b42c9['m2Prime']['params'],'redoState':_0x195bda[_0x3a70a1(0x3fd)][_0x3a70a1(0x542)]}),_0x89bd0d=_0x4b42c9[_0x3a70a1(0x5a9)],_0x4a76e8=_0x195bda['m1Prime'];}this[_0x3a70a1(0x2de)][_0x3a70a1(0x3f1)](_0x461188,{'history':_0x2d1719,'collaboration':_0x49881f});}};_0x455c32=_0xff5af9([_0x20f011(0x0,_0x5a20c3[_0x494bb3(0x57c)](_0x5a20c3[_0x494bb3(0x596)])),_0x20f011(0x1,_0x4d11e3['ITransformService']),_0x20f011(0x2,_0x5a20c3[_0x494bb3(0x57c)](_0xe07534[_0x494bb3(0x18c)]))],_0x455c32);function _0x5ce948(_0x4a361a){const _0xb425d8=_0x494bb3;let _0x302bde='';for(const _0x34e529 of _0x4a361a){const {startOffset:_0xb5533e,endOffset:_0x35b557,isActive:_0x3935e7,rangeType:_0x135b7e,segmentId:_0x26e7fc,segmentPage:_0x4313b1}=_0x34e529;_0x302bde[_0xb425d8(0x5aa)]&&(_0x302bde+=','),_0x302bde+=_0xb5533e+':'+_0x35b557+':'+(_0x3935e7?'1':'0')+':'+_0x135b7e+':'+_0x26e7fc+':'+_0x4313b1;}return _0x302bde;}function _0x4d6025(_0x3041f0){const _0xd9c306=_0x494bb3,_0x3eb29a=_0x3041f0[_0xd9c306(0x3c6)](','),_0x57b2ae=[];for(const _0x4acd77 of _0x3eb29a){const [_0x3448cf,_0x4c91fa,_0x482a22,_0x43775c,_0x18524f,_0x35f47e]=_0x4acd77[_0xd9c306(0x3c6)](':');_0x57b2ae[_0xd9c306(0x196)]({'startOffset':Number(_0x3448cf),'endOffset':Number(_0x4c91fa),'collapsed':_0x3448cf===_0x4c91fa,'isActive':_0x482a22==='1','rangeType':_0x43775c===_0x5a20c3[_0xd9c306(0x244)][_0xd9c306(0x4ac)]?_0x5a20c3[_0xd9c306(0x244)]['TEXT']:_0x5a20c3['DOC_RANGE_TYPE'][_0xd9c306(0x1d5)],'segmentId':typeof _0x18524f==_0xd9c306(0x56d)?String(_0x18524f):'','segmentPage':Number(_0x35f47e!=null?_0x35f47e:-0x1)});}return _0x57b2ae['some'](_0x15bdef=>_0x15bdef['isActive'])||(_0x57b2ae[0x0][_0xd9c306(0x5b7)]=!0x0),_0x57b2ae;}class _0x171169 extends _0x5a20c3['RxDisposable']{constructor(){const _0xf40686=_0x494bb3;super(...arguments),_0x3ed524(this,'_collabCursorState$',new _0x32bae4[(_0xf40686(0x55c))](null)),_0x3ed524(this,'collabCursorState$',this['_collabCursorState$'][_0xf40686(0x4fe)]());}[_0x494bb3(0x3b0)](_0x186bc6){const _0x265bc6=_0x494bb3,{unitID:_0x5a0a79,memberID:_0x1348c9,textRanges:_0x43d9d8}=_0x186bc6,_0x2714b4=_0x5ce948(_0x43d9d8);if(_0x2714b4==='')return;const _0x2444d4={'unitID':_0x5a0a79,'memberID':_0x1348c9,'selection':_0x2714b4};this[_0x265bc6(0x413)][_0x265bc6(0x5dd)](_0x2444d4);}}var _0x2b3c06=Object[_0x494bb3(0x5f8)],_0x500c2a=Object[_0x494bb3(0x51e)],_0x5cbf36=(_0x28d189,_0xb4e6be,_0x557dd4,_0x5f50e2)=>{const _0x5eeb4e=_0x494bb3;for(var _0xbfe80a=_0x5f50e2>0x1?void 0x0:_0x5f50e2?_0x500c2a(_0xb4e6be,_0x557dd4):_0xb4e6be,_0x13ac0e=_0x28d189[_0x5eeb4e(0x5aa)]-0x1,_0x30d262;_0x13ac0e>=0x0;_0x13ac0e--)(_0x30d262=_0x28d189[_0x13ac0e])&&(_0xbfe80a=(_0x5f50e2?_0x30d262(_0xb4e6be,_0x557dd4,_0xbfe80a):_0x30d262(_0xbfe80a))||_0xbfe80a);return _0x5f50e2&&_0xbfe80a&&_0x2b3c06(_0xb4e6be,_0x557dd4,_0xbfe80a),_0xbfe80a;},_0x390f44=(_0x480d43,_0x492b2a)=>(_0x5471f2,_0x59e908)=>_0x492b2a(_0x5471f2,_0x59e908,_0x480d43);let _0x2c3f2f=class{constructor(_0x3805b5,_0x23a0ce){const _0x908cbc=_0x494bb3;this[_0x908cbc(0x221)]=_0x3805b5,this['_transformService']=_0x23a0ce;}[_0x494bb3(0x53d)](_0x1aa4fb){const _0x4710a3=_0x494bb3;var _0x5a8c1a;const _0x7e905b=this[_0x4710a3(0x221)][_0x4710a3(0x537)](_0x458230[_0x4710a3(0x36c)]),_0x356464=(_0x5a8c1a=_0x7e905b[_0x4710a3(0x33e)]())!=null?_0x5a8c1a:[];if(_0x356464[_0x4710a3(0x5aa)]===0x0)return;const _0x6134d0=[{'id':_0x4710a3(0x1b8),'params':{'unitId':_0x1aa4fb[_0x4710a3(0x39f)],'actions':null,'textRanges':_0x356464}}],_0x317b1f=this[_0x4710a3(0x241)][_0x4710a3(0x381)](_0x1aa4fb,_0x6134d0);if(!_0x4d11e3[_0x4710a3(0x292)](_0x317b1f))throw _0x317b1f['error'];const _0xa2e04f=_0x317b1f[_0x4710a3(0x3fd)][0x0][_0x4710a3(0x542)]['textRanges'];Array['isArray'](_0xa2e04f)&&_0xa2e04f[_0x4710a3(0x5aa)]&&_0x7e905b[_0x4710a3(0x2b7)](_0xa2e04f,!0x1);}};_0x2c3f2f=_0x5cbf36([_0x390f44(0x0,_0x5a20c3['Inject'](_0x5a20c3[_0x494bb3(0x596)])),_0x390f44(0x1,_0x4d11e3[_0x494bb3(0x49f)])],_0x2c3f2f);const _0x3dd84b=new Set([_0x66e3f4[_0x494bb3(0x3ad)]['id']]);function _0x5aede1(_0x13d067,_0x1b24e2,_0x27b498,_0x8dd519,_0x579c39){const _0x1a0626=_0x494bb3;var _0x53b518,_0x3ed6ec,_0x554ab0,_0x562a4b;const _0x2ceefb=[];for(const _0x139b3a of _0x13d067)if(_0x3dd84b[_0x1a0626(0x4a3)](_0x139b3a['id'])){if(_0x2ceefb[_0x1a0626(0x5aa)]>0x0)break;_0x2ceefb[_0x1a0626(0x196)](_0x139b3a);break;}else _0x2ceefb[_0x1a0626(0x196)](_0x139b3a);const _0x5d07a0=(_0x3ed6ec=(_0x53b518=_0x579c39[_0x1a0626(0x606)]())==null?void 0x0:_0x53b518[_0x1a0626(0x37c)])!=null?_0x3ed6ec:_0x1a0626(0x32c),_0x55f3ee=(_0x562a4b=(_0x554ab0=_0x579c39[_0x1a0626(0x606)]())==null?void 0x0:_0x554ab0[_0x1a0626(0x550)])!=null?_0x562a4b:'unknown';return{'changeset':{'unitID':_0x1b24e2,'type':_0x4d11e3[_0x1a0626(0x54a)](_0x27b498['getUnitType'](_0x1b24e2)),'baseRev':_0x8dd519[_0x1a0626(0x21f)](_0x1b24e2),'revision':0x0,'userID':_0x5d07a0,'memberID':_0x55f3ee,'mutations':_0x2ceefb},'pendingMutations':_0x13d067['slice'](_0x2ceefb[_0x1a0626(0x5aa)])};}function _0x4af5e8(_0x14eda4,_0x1ce271,_0x1597a2,_0x488792,_0xb66c25){const _0x193467=_0x494bb3;var _0x2ff9e9,_0x4542e2,_0x5bb9e2,_0x1ec70d;const _0x6742b0=[_0x14eda4[_0x193467(0x59a)]((_0x396ddc,_0xb30aa3)=>{const _0x4704e3=_0x193467;var _0x15b4e7;const {id:_0x4c95f8}=_0x396ddc,{id:_0x18b6f5,type:_0x492275}=_0xb30aa3,_0x2f3bd1=(_0x15b4e7=_0x396ddc[_0x4704e3(0x542)])!=null?_0x15b4e7:{'actions':null},_0x810f62=_0xb30aa3[_0x4704e3(0x542)];if(_0x4c95f8&&_0x4c95f8!==_0x18b6f5)throw new Error(_0x4704e3(0x582)+_0x4c95f8+'\x20-\x20'+_0x18b6f5+'.');return{..._0x396ddc,'id':_0x18b6f5,'type':_0x492275,'params':{'unitId':_0x810f62[_0x4704e3(0x3ef)],'textRanges':_0x810f62['textRanges'],'actions':_0x5a20c3[_0x4704e3(0x455)][_0x4704e3(0x4ef)](_0x2f3bd1[_0x4704e3(0x154)],_0x810f62[_0x4704e3(0x154)])}};},{})],_0x4d312e=(_0x4542e2=(_0x2ff9e9=_0xb66c25[_0x193467(0x606)]())==null?void 0x0:_0x2ff9e9['userID'])!=null?_0x4542e2:_0x193467(0x32c),_0x293f28=(_0x1ec70d=(_0x5bb9e2=_0xb66c25[_0x193467(0x606)]())==null?void 0x0:_0x5bb9e2[_0x193467(0x550)])!=null?_0x1ec70d:_0x193467(0x32c);return{'changeset':{'unitID':_0x1ce271,'type':_0x4d11e3[_0x193467(0x54a)](_0x1597a2[_0x193467(0x498)](_0x1ce271)),'baseRev':_0x488792[_0x193467(0x21f)](_0x1ce271),'revision':0x0,'userID':_0x4d312e,'memberID':_0x293f28,'mutations':_0x6742b0},'pendingMutations':[]};}function _0x49657e(_0x2be47e,_0x19392f){const _0x956898=_0x494bb3,_0x5b6e96=new _0x32bae4[(_0x956898(0x513))](0x1);return setTimeout(()=>_0x5b6e96[_0x956898(0x5dd)](_0x19392f),_0x2be47e),_0x5b6e96[_0x956898(0x4fe)]()[_0x956898(0x1d4)](_0x32bae4[_0x956898(0x5d8)](0x1));}const _0x2a25ba={'id':_0x66e3f4[_0x494bb3(0x5d1)]['id'],'type':_0x5a20c3[_0x494bb3(0x308)][_0x494bb3(0x54e)],'params':{}};var _0x864279=Object[_0x494bb3(0x5f8)],_0x3bcf2c=Object[_0x494bb3(0x51e)],_0x6d1023=(_0x4e125e,_0x2ac2e1,_0x4c6b87,_0x55e795)=>{const _0x3ca29a=_0x494bb3;for(var _0x56f7b8=_0x55e795>0x1?void 0x0:_0x55e795?_0x3bcf2c(_0x2ac2e1,_0x4c6b87):_0x2ac2e1,_0x11c403=_0x4e125e[_0x3ca29a(0x5aa)]-0x1,_0x17b2f6;_0x11c403>=0x0;_0x11c403--)(_0x17b2f6=_0x4e125e[_0x11c403])&&(_0x56f7b8=(_0x55e795?_0x17b2f6(_0x2ac2e1,_0x4c6b87,_0x56f7b8):_0x17b2f6(_0x56f7b8))||_0x56f7b8);return _0x55e795&&_0x56f7b8&&_0x864279(_0x2ac2e1,_0x4c6b87,_0x56f7b8),_0x56f7b8;},_0x3d0903=(_0x4b58d4,_0x366efd)=>(_0x2a11ea,_0x398eb0)=>_0x366efd(_0x2a11ea,_0x398eb0,_0x4b58d4),_0x5948fa=(_0x40dc4c=>(_0x40dc4c[_0x494bb3(0x375)]=_0x494bb3(0x544),_0x40dc4c[_0x494bb3(0x22f)]=_0x494bb3(0x2db),_0x40dc4c[_0x494bb3(0x452)]='pending',_0x40dc4c[_0x494bb3(0x319)]=_0x494bb3(0x487),_0x40dc4c[_0x494bb3(0x497)]='awaiting_with_pending',_0x40dc4c['FETCH_MISS']='fetch_missing',_0x40dc4c[_0x494bb3(0x296)]='conflict',_0x40dc4c[_0x494bb3(0x1de)]=_0x494bb3(0x333),_0x40dc4c))(_0x5948fa||{});const _0x2d3c5b=0xea60;class _0x5208db{constructor(_0x15527a,_0x3a29a8,_0x49f792,_0x31f92c,_0x161570,_0x54b17f,_0x2aa7d7,_0x41e624,_0x1ab37a){const _0x5df180=_0x494bb3;_0x3ed524(this,_0x5df180(0x194),null),_0x3ed524(this,_0x5df180(0x5e5),[]),(this['unitID']=_0x15527a,this['type']=_0x3a29a8,this[_0x5df180(0x2d2)]=_0x161570,this[_0x5df180(0x2e5)]=_0x54b17f,this[_0x5df180(0x2ac)]=_0x2aa7d7,this['_revisionService']=_0x41e624,this[_0x5df180(0x489)]=_0x1ab37a,this[_0x5df180(0x194)]=_0x49f792,this[_0x5df180(0x5e5)]=_0x31f92c);}[_0x494bb3(0x2f1)](_0x33bec9){const _0x3738eb=_0x494bb3,_0x4bb2d5=this[_0x3738eb(0x4bd)][_0x3738eb(0x21f)](this[_0x3738eb(0x39f)]);return _0x33bec9[_0x3738eb(0x2e8)]>_0x4bb2d5+0x1?(this[_0x3738eb(0x2d2)]['onMissingChangesets']({'from':_0x4bb2d5,'to':_0x33bec9[_0x3738eb(0x2e8)]-0x1}),!0x0):!0x1;}[_0x494bb3(0x2a3)](_0x1bf241){const _0x103d70=_0x494bb3;this['_undoRedoService'][_0x103d70(0x17d)](this[_0x103d70(0x39f)],_0x1bf241);}[_0x494bb3(0x563)](_0x25066c){const _0x39a026=_0x494bb3;var _0x5c0fab,_0xef1f2e;(_0xef1f2e=(_0x5c0fab=this[_0x39a026(0x2d2)])[_0x39a026(0x2c2)])==null||_0xef1f2e[_0x39a026(0x451)](_0x5c0fab,_0x25066c);}[_0x494bb3(0x250)](_0x1c4e30){const _0x5258cd=_0x494bb3;var _0x46b743,_0x30eac8;return(_0x30eac8=(_0x46b743=this[_0x5258cd(0x2d2)])[_0x5258cd(0x539)])==null?void 0x0:_0x30eac8[_0x5258cd(0x451)](_0x46b743,_0x1c4e30);}[_0x494bb3(0x1d9)](_0x280945){const _0xfea20f=_0x494bb3;var _0x23409a,_0x52c671;return(_0x52c671=(_0x23409a=this['_handler'])[_0xfea20f(0x57e)])==null?void 0x0:_0x52c671[_0xfea20f(0x451)](_0x23409a,_0x280945);}[_0x494bb3(0x516)](_0x114633){const _0x3b9ff2=_0x494bb3;var _0x4f1416,_0x4b4c07,_0x1a51e5;return(_0x1a51e5=(_0x4b4c07=(_0x4f1416=this[_0x3b9ff2(0x2d2)])[_0x3b9ff2(0x184)])==null?void 0x0:_0x4b4c07[_0x3b9ff2(0x451)](_0x4f1416,_0x114633))!=null?_0x1a51e5:_0x114633;}[_0x494bb3(0x521)](_0x1fdc29){const _0x104ebb=_0x494bb3;var _0x4564d0,_0x5cd35d,_0x376f0b;return(_0x376f0b=(_0x5cd35d=(_0x4564d0=this[_0x104ebb(0x2d2)])[_0x104ebb(0x228)])==null?void 0x0:_0x5cd35d[_0x104ebb(0x451)](_0x4564d0,_0x1fdc29))!=null?_0x376f0b:_0x1fdc29;}[_0x494bb3(0x1ed)](_0x5a9a8f){const _0x4e95fc=_0x494bb3;var _0x410774,_0x49dbc4;if(this['type']===_0x9d8403[_0x4e95fc(0x512)]){const {unitID:_0x4caa24,mutations:_0x584cd5,memberID:_0x1384c2}=_0x5a9a8f,_0x2da997=_0x584cd5[0x0][_0x4e95fc(0x542)][_0x4e95fc(0x561)];Array['isArray'](_0x2da997)&&_0x2da997['length']>0x0&&((_0x49dbc4=(_0x410774=this[_0x4e95fc(0x2d2)])[_0x4e95fc(0x3bf)])==null||_0x49dbc4[_0x4e95fc(0x451)](_0x410774,{'unitID':_0x4caa24,'memberID':_0x1384c2,'textRanges':_0x2da997}));}}[_0x494bb3(0x3b4)](){const _0x378c70=_0x494bb3;this[_0x378c70(0x489)][_0x378c70(0x3d9)](this[_0x378c70(0x39f)],this[_0x378c70(0x351)],this[_0x378c70(0x194)],this[_0x378c70(0x5e5)]);}['_getCurrentRevision'](){const _0x58d088=_0x494bb3;return this['_revisionService'][_0x58d088(0x21f)](this[_0x58d088(0x39f)]);}[_0x494bb3(0x3af)](){const _0x2651df=_0x494bb3;this[_0x2651df(0x4bd)][_0x2651df(0x500)](this['unitID']);}[_0x494bb3(0x1ce)](_0x1fef61){const _0x3294ae=_0x494bb3;var _0x378abb;let _0x5230f5=this[_0x3294ae(0x516)](_0x1fef61);_0x5230f5=this['_transformRemoteChangesetByStateCache'](_0x5230f5);const _0x1d836f=_0x5a20c3[_0x3294ae(0x2c8)](_0x5230f5[_0x3294ae(0x341)],this[_0x3294ae(0x2e5)],{'fromCollab':!0x0});if(!_0x1d836f[_0x3294ae(0x306)])throw _0x1d836f[_0x3294ae(0x35a)]instanceof Error?_0x1d836f[_0x3294ae(0x35a)]:new Error((_0x378abb=_0x1d836f['error'])!=null?_0x378abb:_0x3294ae(0x34e));this[_0x3294ae(0x250)](_0x5230f5),this['_transformStateCache'](_0x5230f5),this[_0x3294ae(0x2a3)](_0x1fef61),this[_0x3294ae(0x563)](_0x5230f5),this[_0x3294ae(0x1ed)](_0x5230f5),this[_0x3294ae(0x3af)]();}}let _0x20fa8f=class extends _0x5208db{constructor(_0x5f2364,_0x9faf3,_0x206888,_0x203dfb,_0x4c7b82,_0x3ed62f,_0x5c3b8f,_0x1e2398,_0x5d3f19,_0x32227e){const _0x3f9e19=_0x494bb3;super(_0x5f2364,_0x9faf3,null,[],_0x206888,_0x1e2398,_0x5c3b8f,_0x203dfb,_0x4c7b82),_0x3ed524(this,_0x3f9e19(0x601),_0x3f9e19(0x2db)),(this[_0x3f9e19(0x221)]=_0x3ed62f,this[_0x3f9e19(0x3f5)]=_0x5d3f19,this[_0x3f9e19(0x241)]=_0x32227e);}[_0x494bb3(0x3ca)](_0x510c27){const _0x4c8c3a=_0x494bb3,_0x2ba340=this[_0x4c8c3a(0x221)]['createInstance'](_0xa05536,this['unitID'],this[_0x4c8c3a(0x351)],[_0x510c27],this['_handler']);return _0x2ba340[_0x4c8c3a(0x36f)](),_0x2ba340[_0x4c8c3a(0x3b4)](),_0x2ba340;}[_0x494bb3(0x56c)](_0x88f9e0){const _0x70afb8=_0x494bb3;if(this[_0x70afb8(0x2f1)](_0x88f9e0))return this[_0x70afb8(0x221)][_0x70afb8(0x566)](_0x75b83f,this['unitID'],this[_0x70afb8(0x351)],null,[],null,[_0x88f9e0],this[_0x70afb8(0x2d2)]);try{const _0x3392b6=this[_0x70afb8(0x241)][_0x70afb8(0x381)](_0x88f9e0,[_0x2a25ba]);if(_0x4d11e3['isTransformMutationsWithChangesetSuccess'](_0x3392b6)){const {c1Prime:_0x567e07}=_0x3392b6;return this[_0x70afb8(0x1ce)](_0x567e07),this;}throw _0x3392b6[_0x70afb8(0x35a)];}catch(_0x3af3d0){return this[_0x70afb8(0x3f5)][_0x70afb8(0x35a)](_0x3af3d0),this[_0x70afb8(0x1ad)](!0x1);}}[_0x494bb3(0x1ad)](_0x2ae68c){const _0x5204f6=_0x494bb3;return this['_injector']['createInstance'](_0x382943,this[_0x5204f6(0x39f)],this[_0x5204f6(0x351)],null,[],this[_0x5204f6(0x2d2)],_0x2ae68c);}[_0x494bb3(0x1d3)](){const _0x2e9d01=_0x494bb3;throw new Error(_0x2e9d01(0x426));}[_0x494bb3(0x518)](){const _0x151111=_0x494bb3;throw new Error(_0x151111(0x382));}[_0x494bb3(0x17c)](){return this;}[_0x494bb3(0x3a5)](){const _0x2392dd=_0x494bb3;return this[_0x2392dd(0x221)][_0x2392dd(0x566)](_0x35de18,this[_0x2392dd(0x39f)],this[_0x2392dd(0x351)],null,[],this[_0x2392dd(0x2d2)]);}[_0x494bb3(0x312)](){return this;}[_0x494bb3(0x2b2)](){const _0x290da5=_0x494bb3;throw new Error(_0x290da5(0x4fd));}['fetchMiss'](){const _0xcb1539=_0x494bb3,_0x352ede=this[_0xcb1539(0x4bd)][_0xcb1539(0x21f)](this[_0xcb1539(0x39f)]);return this[_0xcb1539(0x2d2)]['onMissingChangesets']({'from':_0x352ede,'to':0x0}),this[_0xcb1539(0x221)][_0xcb1539(0x566)](_0x75b83f,this[_0xcb1539(0x39f)],this[_0xcb1539(0x351)],null,[],null,[],this[_0xcb1539(0x2d2)]);}};_0x20fa8f=_0x6d1023([_0x3d0903(0x3,_0x5a20c3[_0x494bb3(0x57c)](_0x4d11e3[_0x494bb3(0x3ae)])),_0x3d0903(0x4,_0x5a20c3[_0x494bb3(0x57c)](_0x38d423[_0x494bb3(0x1ca)])),_0x3d0903(0x5,_0x5a20c3[_0x494bb3(0x57c)](_0x5a20c3[_0x494bb3(0x596)])),_0x3d0903(0x6,_0x5a20c3['IUndoRedoService']),_0x3d0903(0x7,_0x5a20c3['ICommandService']),_0x3d0903(0x8,_0x5a20c3[_0x494bb3(0x494)]),_0x3d0903(0x9,_0x4d11e3[_0x494bb3(0x49f)])],_0x20fa8f);let _0xa05536=class extends _0x5208db{constructor(_0x5c8f1f,_0x2b48ec,_0x164e62,_0x4fd62a,_0x44aa15,_0x2d1fcf,_0x1ddd65,_0x3547c1,_0x2e5cee,_0x180b79,_0x269638,_0x2f39a8,_0x4ae186,_0x41cbde){const _0x567485=_0x494bb3;super(_0x5c8f1f,_0x2b48ec,null,_0x164e62,_0x4fd62a,_0x180b79,_0x41cbde,_0x2d1fcf,_0x1ddd65),_0x3ed524(this,'status',_0x567485(0x1c5)),_0x3ed524(this,_0x567485(0x581),null),_0x3ed524(this,'_sendingTimer',null),(this[_0x567485(0x221)]=_0x44aa15,this[_0x567485(0x32d)]=_0x3547c1,this[_0x567485(0x3f5)]=_0x2e5cee,this[_0x567485(0x1f1)]=_0x269638,this['_transformService']=_0x2f39a8,this[_0x567485(0x4a7)]=_0x4ae186);}['appendMutation'](_0x17b6fd){const _0x394ed9=_0x494bb3;return this[_0x394ed9(0x5e5)][_0x394ed9(0x196)](_0x17b6fd),this[_0x394ed9(0x3b4)](),this;}[_0x494bb3(0x56c)](_0xf4f69b){const _0x2e51ec=_0x494bb3;if(this[_0x2e51ec(0x2f1)](_0xf4f69b))return this['_clearScheduledTask'](),this[_0x2e51ec(0x221)]['createInstance'](_0x75b83f,this[_0x2e51ec(0x39f)],this[_0x2e51ec(0x351)],null,this[_0x2e51ec(0x5e5)],null,[_0xf4f69b],this[_0x2e51ec(0x2d2)]);try{const _0x58b537=this['_transformService'][_0x2e51ec(0x381)](_0xf4f69b,this['_pendingMutations']);if(_0x4d11e3['isTransformMutationsWithChangesetSuccess'](_0x58b537)){const {c1Prime:_0xbda31a,m2Prime:_0x5d813d}=_0x58b537;this[_0x2e51ec(0x1ce)](_0xbda31a);const _0x11dfdb=this[_0x2e51ec(0x221)][_0x2e51ec(0x566)](_0xa05536,this['unitID'],this['type'],_0x5d813d,this[_0x2e51ec(0x2d2)]);return this['_clearScheduledTask'](),_0x11dfdb['_schedule'](this[_0x2e51ec(0x581)]?Math['max'](0x0,new Date()['getTime']()-this[_0x2e51ec(0x581)]):this[_0x2e51ec(0x1c7)]()),_0x11dfdb;}throw _0x58b537[_0x2e51ec(0x35a)];}catch(_0x34960a){return this['_logService']['error'](_0x34960a),this[_0x2e51ec(0x1ad)](!0x1);}}[_0x494bb3(0x1d3)](){const _0x34ec0a=_0x494bb3;throw new Error(_0x34ec0a(0x57d));}[_0x494bb3(0x518)](){const _0x87e7c7=_0x494bb3;throw new Error(_0x87e7c7(0x277));}[_0x494bb3(0x17c)](){return this;}[_0x494bb3(0x3a5)](){const _0x3025af=_0x494bb3;return this['_clearScheduledTask'](),this['_injector']['createInstance'](_0x35de18,this[_0x3025af(0x39f)],this[_0x3025af(0x351)],null,this[_0x3025af(0x5e5)],this['_handler']);}['toggleOnline'](){return this;}[_0x494bb3(0x36f)](_0x1d2025){const _0x45b51f=_0x494bb3,_0x436adf=_0x1d2025!=null?_0x1d2025:this['_getSendChangesetTimeout']();this[_0x45b51f(0x581)]=new Date()[_0x45b51f(0x3a3)](),this[_0x45b51f(0x3da)]=window['setTimeout'](()=>{const _0x3341e7=_0x45b51f;this[_0x3341e7(0x19f)]();let _0x96da72=null;switch(this[_0x3341e7(0x351)]){case _0x9d8403[_0x3341e7(0x329)]:{_0x96da72=_0x5aede1(this[_0x3341e7(0x5e5)],this[_0x3341e7(0x39f)],this['_univerInstanceService'],this[_0x3341e7(0x4bd)],this[_0x3341e7(0x32d)]);break;}case _0x9d8403['UNIVER_DOC']:{this[_0x3341e7(0x5e5)][_0x3341e7(0x1a4)](_0x390191=>_0x390191['id']===_0x458230[_0x3341e7(0x368)]['id'])?_0x96da72=_0x4af5e8(this[_0x3341e7(0x5e5)],this[_0x3341e7(0x39f)],this['_univerInstanceService'],this['_revisionService'],this[_0x3341e7(0x32d)]):_0x96da72=_0x5aede1(this[_0x3341e7(0x5e5)],this[_0x3341e7(0x39f)],this['_univerInstanceService'],this[_0x3341e7(0x4bd)],this[_0x3341e7(0x32d)]);break;}default:throw new Error(_0x3341e7(0x378)+this[_0x3341e7(0x351)]+_0x3341e7(0x33c));}const {changeset:_0x2249dd,pendingMutations:_0x1f05a8}=_0x96da72;this[_0x3341e7(0x2d2)]['onSendChangeset'](_0x2249dd);const _0x50ce8c=_0x1f05a8[_0x3341e7(0x5aa)]?this['_injector'][_0x3341e7(0x566)](_0x4a639a,this[_0x3341e7(0x39f)],this[_0x3341e7(0x351)],_0x2249dd,_0x1f05a8,this[_0x3341e7(0x2d2)],void 0x0):this['_injector'][_0x3341e7(0x566)](_0x548e3e,this[_0x3341e7(0x39f)],this[_0x3341e7(0x351)],_0x2249dd,this[_0x3341e7(0x2d2)]);_0x50ce8c['_updateLocalCache'](),this[_0x3341e7(0x2d2)][_0x3341e7(0x54c)](this,_0x50ce8c);},_0x436adf);}[_0x494bb3(0x1c7)](){const _0xce4fca=_0x494bb3;var _0x219e44;const _0x4c9766=this['_configService'][_0xce4fca(0x19a)](_0x59eaf6);return(_0x219e44=_0x4c9766==null?void 0x0:_0x4c9766[_0xce4fca(0x30e)])!=null?_0x219e44:0x7d0;}[_0x494bb3(0x2b2)](){const _0x1dae54=_0x494bb3;throw new Error(_0x1dae54(0x448));}[_0x494bb3(0x19f)](){const _0x2f8170=_0x494bb3;this[_0x2f8170(0x3da)]!=null&&(clearTimeout(this[_0x2f8170(0x3da)]),this['_sendingTimer']=null);}[_0x494bb3(0x1ad)](_0x4b9df7){const _0x55c399=_0x494bb3;return this['_clearScheduledTask'](),this[_0x55c399(0x221)][_0x55c399(0x566)](_0x382943,this[_0x55c399(0x39f)],this[_0x55c399(0x351)],null,this[_0x55c399(0x5e5)],this[_0x55c399(0x2d2)],_0x4b9df7);}};_0xa05536=_0x6d1023([_0x3d0903(0x4,_0x5a20c3['Inject'](_0x5a20c3[_0x494bb3(0x596)])),_0x3d0903(0x5,_0x5a20c3[_0x494bb3(0x57c)](_0x4d11e3[_0x494bb3(0x3ae)])),_0x3d0903(0x6,_0x5a20c3[_0x494bb3(0x57c)](_0x38d423[_0x494bb3(0x1ca)])),_0x3d0903(0x7,_0x5a20c3[_0x494bb3(0x57c)](_0x38d423[_0x494bb3(0x30c)])),_0x3d0903(0x8,_0x5a20c3[_0x494bb3(0x494)]),_0x3d0903(0x9,_0x5a20c3[_0x494bb3(0x39a)]),_0x3d0903(0xa,_0x5a20c3['IConfigService']),_0x3d0903(0xb,_0x4d11e3[_0x494bb3(0x49f)]),_0x3d0903(0xc,_0x5a20c3['IUniverInstanceService']),_0x3d0903(0xd,_0x5a20c3[_0x494bb3(0x44c)])],_0xa05536);let _0x548e3e=class extends _0x5208db{constructor(_0x4087eb,_0x5ca3f8,_0x5d47ad,_0x2f4e64,_0x4a6618,_0x30b9e0,_0x352fcd,_0x2e9171,_0x1eed1d,_0xca75cf,_0x3e7332){const _0x46576e=_0x494bb3;super(_0x4087eb,_0x5ca3f8,_0x5d47ad,[],_0x2f4e64,_0x2e9171,_0x3e7332,_0x30b9e0,_0x352fcd),_0x3ed524(this,_0x46576e(0x601),_0x46576e(0x487)),_0x3ed524(this,'_resendTimeout',0x0),_0x3ed524(this,_0x46576e(0x5b2)),_0x3ed524(this,_0x46576e(0x3a9)),(this[_0x46576e(0x221)]=_0x4a6618,this['_logService']=_0x1eed1d,this[_0x46576e(0x241)]=_0xca75cf);}[_0x494bb3(0x3ca)](_0x318ab7){const _0x59730f=_0x494bb3;this[_0x59730f(0x19f)]();const _0x5ded6a=this[_0x59730f(0x221)][_0x59730f(0x566)](_0x4a639a,this[_0x59730f(0x39f)],this[_0x59730f(0x351)],this['_awaitingChangeset'],[_0x318ab7],this[_0x59730f(0x2d2)],this[_0x59730f(0x5b2)]);return _0x5ded6a['_updateLocalCache'](),_0x5ded6a;}[_0x494bb3(0x56c)](_0x39c70e){const _0x3b31e0=_0x494bb3;if(this[_0x3b31e0(0x2f1)](_0x39c70e))return this[_0x3b31e0(0x19f)](),this[_0x3b31e0(0x221)][_0x3b31e0(0x566)](_0x75b83f,this[_0x3b31e0(0x39f)],this[_0x3b31e0(0x351)],this[_0x3b31e0(0x194)],[],null,[_0x39c70e],this[_0x3b31e0(0x2d2)]);try{const _0x5d06b6=this[_0x3b31e0(0x241)]['transformChangesets']([_0x39c70e],[this['_awaitingChangeset']],!0x1);if(_0x4d11e3['isTransformChangesetsSuccess'](_0x5d06b6)){const {c1Prime:_0x431b60,c2Prime:_0x308bab}=_0x5d06b6;this[_0x3b31e0(0x1ce)](_0x431b60[0x0]),_0x308bab[0x0][_0x3b31e0(0x2d9)]=this[_0x3b31e0(0x562)](),this['_clearScheduledTask']();const _0x5ac87a=this[_0x3b31e0(0x221)][_0x3b31e0(0x566)](_0x548e3e,this['unitID'],this['type'],_0x308bab[0x0],this[_0x3b31e0(0x2d2)]);return _0x5ac87a[_0x3b31e0(0x3b4)](),_0x5ac87a;}return this['_onConflict'](!0x1);}catch(_0x52d915){return this[_0x3b31e0(0x3f5)]['error'](_0x52d915),this['_onConflict'](!0x1);}}[_0x494bb3(0x1d3)](_0x1ddb24){const _0x3a8272=_0x494bb3;this[_0x3a8272(0x19f)]();const _0x178e26=this[_0x3a8272(0x4bd)][_0x3a8272(0x21f)](this[_0x3a8272(0x39f)]);if(_0x1ddb24[_0x3a8272(0x2e8)]<_0x178e26-0x1)return this;if(this['_checkMissing'](_0x1ddb24))return this[_0x3a8272(0x221)][_0x3a8272(0x566)](_0x75b83f,this[_0x3a8272(0x39f)],this[_0x3a8272(0x351)],null,[],this[_0x3a8272(0x194)],[],this[_0x3a8272(0x2d2)]);this[_0x3a8272(0x3af)]();const _0x5953d8=this[_0x3a8272(0x221)]['createInstance'](_0x20fa8f,this['unitID'],this['type'],this[_0x3a8272(0x2d2)]);return _0x5953d8[_0x3a8272(0x3b4)](),_0x5953d8;}[_0x494bb3(0x518)](_0x374ee1){const _0x1b70d2=_0x494bb3;return this[_0x1b70d2(0x1ad)](!!(_0x374ee1!=null&&_0x374ee1[_0x1b70d2(0x1c8)]));}[_0x494bb3(0x17c)](_0x49b68e){const _0x315a09=_0x494bb3;return this[_0x315a09(0x33f)]>_0x2d3c5b?this[_0x315a09(0x3a5)]():(this['_resendTimer']=_0x49657e(this[_0x315a09(0x33f)],{'timeout':this['_resendTimeout'],'reqId':_0x49b68e[_0x315a09(0x5f1)]}),this[_0x315a09(0x3a9)]=this[_0x315a09(0x5b2)]['subscribe'](({reqId:_0x4167fd,timeout:_0x5dcfcf})=>{const _0x5b09b7=_0x315a09;this[_0x5b09b7(0x485)](_0x4167fd,_0x5dcfcf);}),this);}['toggleOffline'](){const _0x5b093c=_0x494bb3;return this[_0x5b093c(0x19f)](),this[_0x5b093c(0x221)]['createInstance'](_0x35de18,this[_0x5b093c(0x39f)],this[_0x5b093c(0x351)],this[_0x5b093c(0x194)],[],this['_handler']);}[_0x494bb3(0x312)](){return this;}[_0x494bb3(0x2b2)](){const _0x531fd5=_0x494bb3;this[_0x531fd5(0x2d2)]['onSendChangeset'](this[_0x531fd5(0x194)]);}['_onConflict'](_0x295a5b){const _0x5124d7=_0x494bb3;return this['_clearScheduledTask'](),this[_0x5124d7(0x221)][_0x5124d7(0x566)](_0x382943,this[_0x5124d7(0x39f)],this[_0x5124d7(0x351)],this[_0x5124d7(0x194)],[],this['_handler'],_0x295a5b);}[_0x494bb3(0x485)](_0x5e90be,_0x42481c){const _0x109f3a=_0x494bb3;var _0x518369;_0x5e90be===((_0x518369=this[_0x109f3a(0x194)])==null?void 0x0:_0x518369['reqId'])&&(this[_0x109f3a(0x2b2)](),this['_resendTimeout']=_0x42481c===0x0?0x3e8:_0x42481c*0x2);}[_0x494bb3(0x19f)](){const _0x3c9228=_0x494bb3;var _0x32ea0c;(_0x32ea0c=this['_sender'])==null||_0x32ea0c[_0x3c9228(0x365)](),this[_0x3c9228(0x33f)]=0x0;}};_0x548e3e=_0x6d1023([_0x3d0903(0x4,_0x5a20c3[_0x494bb3(0x57c)](_0x5a20c3[_0x494bb3(0x596)])),_0x3d0903(0x5,_0x5a20c3[_0x494bb3(0x57c)](_0x4d11e3[_0x494bb3(0x3ae)])),_0x3d0903(0x6,_0x5a20c3[_0x494bb3(0x57c)](_0x38d423[_0x494bb3(0x1ca)])),_0x3d0903(0x7,_0x5a20c3['ICommandService']),_0x3d0903(0x8,_0x5a20c3[_0x494bb3(0x494)]),_0x3d0903(0x9,_0x4d11e3[_0x494bb3(0x49f)]),_0x3d0903(0xa,_0x5a20c3[_0x494bb3(0x44c)])],_0x548e3e);let _0x4a639a=class extends _0x5208db{constructor(_0x109dcb,_0x5b28d1,_0x4e1c51,_0x1f7a7d,_0x3713e2,_0x48aa96,_0x473ac5,_0x4c84e4,_0x50c0f1,_0x4d1890,_0x5545d4,_0x566386,_0x1aedcd){const _0x344755=_0x494bb3;super(_0x109dcb,_0x5b28d1,_0x4e1c51,_0x1f7a7d,_0x3713e2,_0x4d1890,_0x1aedcd,_0x4c84e4,_0x50c0f1),_0x3ed524(this,_0x344755(0x601),'awaiting_with_pending'),_0x3ed524(this,_0x344755(0x33f),0x0),_0x3ed524(this,_0x344755(0x5b2)),_0x3ed524(this,'_sender'),(this['_injector']=_0x473ac5,this[_0x344755(0x3f5)]=_0x5545d4,this['_transformService']=_0x566386,_0x48aa96&&(this[_0x344755(0x5b2)]=_0x48aa96,this[_0x344755(0x3a9)]=this[_0x344755(0x5b2)]['subscribe'](({reqId:_0x12b0c0,timeout:_0x4e1435})=>{const _0x1c8678=_0x344755;this[_0x1c8678(0x485)](_0x12b0c0,_0x4e1435);})));}[_0x494bb3(0x3ca)](_0xd02fbc){const _0x3696f7=_0x494bb3;return this['_pendingMutations'][_0x3696f7(0x196)](_0xd02fbc),this;}[_0x494bb3(0x56c)](_0x3ba773){const _0xb62943=_0x494bb3;if(this[_0xb62943(0x2f1)](_0x3ba773))return this['_clearScheduledTask'](),this[_0xb62943(0x221)][_0xb62943(0x566)](_0x75b83f,this[_0xb62943(0x39f)],this[_0xb62943(0x351)],this['_awaitingChangeset'],this[_0xb62943(0x5e5)],null,[_0x3ba773],this[_0xb62943(0x2d2)]);try{const _0x3678ae=this[_0xb62943(0x241)][_0xb62943(0x599)]([_0x3ba773],[this[_0xb62943(0x194)]],!0x1);if(_0x4d11e3[_0xb62943(0x52b)](_0x3678ae)){const {c1Prime:_0x1242ff,c2Prime:_0x51ebc3}=_0x3678ae,_0x3aeb21=this['_transformService'][_0xb62943(0x381)](_0x1242ff[0x0],this[_0xb62943(0x5e5)]);if(_0x4d11e3[_0xb62943(0x292)](_0x3aeb21)){const {c1Prime:_0x6370df,m2Prime:_0x3aaaff}=_0x3aeb21;return this[_0xb62943(0x1ce)](_0x6370df),_0x51ebc3[0x0]['baseRev']=this['_getCurrentRevision'](),this[_0xb62943(0x19f)](),this[_0xb62943(0x221)][_0xb62943(0x566)](_0x4a639a,this[_0xb62943(0x39f)],this[_0xb62943(0x351)],_0x51ebc3[0x0],_0x3aaaff,this[_0xb62943(0x2d2)],void 0x0);}throw _0x3aeb21[_0xb62943(0x35a)];}throw _0x3678ae[_0xb62943(0x35a)];}catch(_0x5c5f1f){return this[_0xb62943(0x3f5)]['error'](_0x5c5f1f),this[_0xb62943(0x1ad)](!0x1);}}['onRemoteAck'](_0x3ff4b2){const _0x450b6f=_0x494bb3;if(this[_0x450b6f(0x19f)](),this[_0x450b6f(0x2f1)](_0x3ff4b2))return this[_0x450b6f(0x221)][_0x450b6f(0x566)](_0x75b83f,this[_0x450b6f(0x39f)],this['type'],null,this[_0x450b6f(0x5e5)],this[_0x450b6f(0x194)],[],this['_handler']);this[_0x450b6f(0x3af)]();const _0x561ae4=this['_injector'][_0x450b6f(0x566)](_0xa05536,this[_0x450b6f(0x39f)],this['type'],this[_0x450b6f(0x5e5)],this[_0x450b6f(0x2d2)]);return _0x561ae4['_schedule'](),_0x561ae4['_updateLocalCache'](),_0x561ae4;}[_0x494bb3(0x518)](_0x5d71c1){const _0x2493af=_0x494bb3;return this['_onConflict'](!!(_0x5d71c1!=null&&_0x5d71c1[_0x2493af(0x1c8)]));}[_0x494bb3(0x17c)](_0x3dd68f){const _0x3c4550=_0x494bb3;return this['_resendTimeout']>_0x2d3c5b?this[_0x3c4550(0x3a5)]():(this[_0x3c4550(0x5b2)]=_0x49657e(this[_0x3c4550(0x33f)],{'timeout':this[_0x3c4550(0x33f)],'reqId':_0x3dd68f[_0x3c4550(0x5f1)]}),this[_0x3c4550(0x3a9)]=this[_0x3c4550(0x5b2)]['subscribe'](({reqId:_0x762bda,timeout:_0x21c06d})=>{const _0x365043=_0x3c4550;this[_0x365043(0x485)](_0x762bda,_0x21c06d);}),this);}[_0x494bb3(0x3a5)](){const _0x36825c=_0x494bb3;return this['_clearScheduledTask'](),this[_0x36825c(0x221)][_0x36825c(0x566)](_0x35de18,this[_0x36825c(0x39f)],this[_0x36825c(0x351)],this[_0x36825c(0x194)],this[_0x36825c(0x5e5)],this['_handler']);}[_0x494bb3(0x312)](){return this;}[_0x494bb3(0x2b2)](){const _0x5c2e1d=_0x494bb3;this[_0x5c2e1d(0x2d2)][_0x5c2e1d(0x232)](this[_0x5c2e1d(0x194)]);}['_onConflict'](_0x1b1bc8){const _0x52e1b1=_0x494bb3;return this['_clearScheduledTask'](),this['_injector'][_0x52e1b1(0x566)](_0x382943,this[_0x52e1b1(0x39f)],this[_0x52e1b1(0x351)],null,this[_0x52e1b1(0x5e5)],this[_0x52e1b1(0x2d2)],_0x1b1bc8);}[_0x494bb3(0x485)](_0x300cb5,_0x54c96b){const _0x1d5e73=_0x494bb3;var _0x2b22b4;_0x300cb5===((_0x2b22b4=this[_0x1d5e73(0x194)])==null?void 0x0:_0x2b22b4[_0x1d5e73(0x5f1)])&&(this[_0x1d5e73(0x2b2)](),this[_0x1d5e73(0x33f)]=_0x54c96b===0x0?0x3e8:_0x54c96b*0x2);}[_0x494bb3(0x19f)](){const _0x5677b1=_0x494bb3;var _0x561be6;(_0x561be6=this[_0x5677b1(0x3a9)])==null||_0x561be6[_0x5677b1(0x365)](),this[_0x5677b1(0x33f)]=0x0;}};_0x4a639a=_0x6d1023([_0x3d0903(0x6,_0x5a20c3['Inject'](_0x5a20c3['Injector'])),_0x3d0903(0x7,_0x5a20c3['Inject'](_0x4d11e3['RevisionService'])),_0x3d0903(0x8,_0x5a20c3[_0x494bb3(0x57c)](_0x38d423[_0x494bb3(0x1ca)])),_0x3d0903(0x9,_0x5a20c3[_0x494bb3(0x39a)]),_0x3d0903(0xa,_0x5a20c3['ILogService']),_0x3d0903(0xb,_0x4d11e3[_0x494bb3(0x49f)]),_0x3d0903(0xc,_0x5a20c3[_0x494bb3(0x44c)])],_0x4a639a);let _0x382943=class extends _0x5208db{constructor(_0x3ddcd5,_0x59b7ad,_0x214733,_0x3dd954,_0x162645,_0x12570b=!0x1,_0x44791e,_0x2a5c12,_0x56e318,_0x3b96fd,_0x29b66b,_0x532b2c,_0x136f3e){const _0x4b1606=_0x494bb3;super(_0x3ddcd5,_0x59b7ad,_0x214733,_0x3dd954,_0x162645,_0x2a5c12,_0x56e318,_0x29b66b,_0x3b96fd),_0x3ed524(this,'status',_0x4b1606(0x5b1)),(this['_isPermissionRej']=_0x12570b,this[_0x4b1606(0x441)]=_0x44791e,this['_localeService']=_0x532b2c,this[_0x4b1606(0x334)]=_0x136f3e,this[_0x4b1606(0x3d3)](),this[_0x4b1606(0x41a)](),this[_0x4b1606(0x171)]());}[_0x494bb3(0x3ca)](){return this;}[_0x494bb3(0x56c)](){return this;}['onRemoteAck'](){return this;}[_0x494bb3(0x518)](){return this;}['onRemoteRetry'](){return this;}['toggleOffline'](){return this;}[_0x494bb3(0x312)](){return this;}[_0x494bb3(0x2b2)](){const _0xa54107=_0x494bb3;throw new Error(_0xa54107(0x389));}[_0x494bb3(0x41a)](){const _0x30e28e=_0x494bb3;this['_localCacheService']['updateOfflineData'](this[_0x30e28e(0x39f)],this['type'],null,[]);}[_0x494bb3(0x3d3)](){const _0x4a7b86=_0x494bb3;this[_0x4a7b86(0x160)]?this['_notificationService'][_0x4a7b86(0x478)]({'title':this[_0x4a7b86(0x26e)]['t']('permission.title'),'content':this[_0x4a7b86(0x26e)]['t'](_0x4a7b86(0x31e)),'type':_0x4a7b86(0x35a),'duration':0x0}):this[_0x4a7b86(0x334)][_0x4a7b86(0x478)]({'title':this[_0x4a7b86(0x26e)]['t']('conflict.title'),'content':this[_0x4a7b86(0x26e)]['t'](_0x4a7b86(0x51c)),'type':_0x4a7b86(0x35a),'duration':0x0});}[_0x494bb3(0x171)](){const _0x463cd5=_0x494bb3;this[_0x463cd5(0x441)]['updatePermissionPoint'](new _0x66e3f4[(_0x463cd5(0x35d))](this[_0x463cd5(0x39f)])['id'],!0x1);}};_0x382943=_0x6d1023([_0x3d0903(0x6,_0x5a20c3[_0x494bb3(0x57c)](_0x5a20c3[_0x494bb3(0x397)])),_0x3d0903(0x7,_0x5a20c3[_0x494bb3(0x39a)]),_0x3d0903(0x8,_0x5a20c3['IUndoRedoService']),_0x3d0903(0x9,_0x5a20c3[_0x494bb3(0x57c)](_0x38d423[_0x494bb3(0x1ca)])),_0x3d0903(0xa,_0x5a20c3[_0x494bb3(0x57c)](_0x4d11e3[_0x494bb3(0x3ae)])),_0x3d0903(0xb,_0x5a20c3[_0x494bb3(0x57c)](_0x5a20c3[_0x494bb3(0x439)])),_0x3d0903(0xc,_0x33d470[_0x494bb3(0x2bf)])],_0x382943);let _0x35de18=class extends _0x5208db{constructor(_0x32544e,_0x401bb5,_0x1397a8,_0x18f350,_0x1a1d35,_0x299319,_0x3cbafb,_0x56d96c,_0x19b864,_0x9597e0){const _0x992179=_0x494bb3;super(_0x32544e,_0x401bb5,_0x1397a8,_0x18f350,_0x1a1d35,_0x19b864,_0x9597e0,_0x3cbafb,_0x56d96c),_0x3ed524(this,_0x992179(0x601),_0x992179(0x333)),this['_injector']=_0x299319;}['appendMutation'](_0x507d99){const _0x314c2c=_0x494bb3;return this[_0x314c2c(0x5e5)][_0x314c2c(0x196)](_0x507d99),this[_0x314c2c(0x3b4)](),this;}['onRemoteChangeset'](_0x460f77){const _0x592c91=_0x494bb3;throw new Error(_0x592c91(0x176));}[_0x494bb3(0x1d3)](){const _0x4cf015=_0x494bb3;throw new Error(_0x4cf015(0x3a7));}[_0x494bb3(0x518)](){throw new Error('[OfflineState]:\x20received\x20rejection.');}['onRemoteRetry'](){return this;}[_0x494bb3(0x3a5)](){return this;}[_0x494bb3(0x312)](){const _0x20401e=_0x494bb3,{_injector:_0x4e1413,_pendingMutations:_0x4a6b92,_awaitingChangeset:_0x583f9b,unitID:_0xa47ffa,_handler:_0x14949e,type:_0x2b8c3b}=this,_0x3c6c63=_0x3c042f(_0x4e1413,_0xa47ffa,_0x2b8c3b,_0x583f9b,_0x4a6b92,_0x14949e);return _0x3c6c63 instanceof _0xa05536?_0x3c6c63['_schedule']():(_0x3c6c63 instanceof _0x4a639a||_0x3c6c63 instanceof _0x548e3e)&&_0x3c6c63[_0x20401e(0x2b2)](),_0x3c6c63;}[_0x494bb3(0x2b2)](){const _0x513a4b=_0x494bb3;throw new Error(_0x513a4b(0x400));}};_0x35de18=_0x6d1023([_0x3d0903(0x5,_0x5a20c3[_0x494bb3(0x57c)](_0x5a20c3['Injector'])),_0x3d0903(0x6,_0x5a20c3[_0x494bb3(0x57c)](_0x4d11e3[_0x494bb3(0x3ae)])),_0x3d0903(0x7,_0x5a20c3[_0x494bb3(0x57c)](_0x38d423[_0x494bb3(0x1ca)])),_0x3d0903(0x8,_0x5a20c3[_0x494bb3(0x39a)]),_0x3d0903(0x9,_0x5a20c3[_0x494bb3(0x44c)])],_0x35de18);let _0x75b83f=class extends _0x5208db{constructor(_0x24d53c,_0x5c5e41,_0x489bab,_0x1909f6,_0x513424,_0x25b2d2,_0x1a3e3a,_0x28dd3a,_0x72010a,_0x2756c3,_0x132dc9,_0x177e56,_0x571a8f,_0x3b2425){const _0x441205=_0x494bb3;super(_0x24d53c,_0x5c5e41,_0x489bab,_0x1909f6,_0x1a3e3a,_0x177e56,_0x571a8f,_0x72010a,_0x2756c3),_0x3ed524(this,'status',_0x441205(0x369)),(this[_0x441205(0x517)]=_0x513424,this['_queuedRemoteChangesets']=_0x25b2d2,this[_0x441205(0x221)]=_0x28dd3a,this['_logService']=_0x132dc9,this['_transformService']=_0x3b2425);}[_0x494bb3(0x5cb)](_0x2be7c6){const _0x4faaef=_0x494bb3;try{const _0x5cf763=[..._0x2be7c6,...this[_0x4faaef(0x242)]],_0x10f457=[this['_awaitingChangeset']||this[_0x4faaef(0x517)]][_0x4faaef(0x264)](_0x4e10da=>!!_0x4e10da);let _0x1323c0,_0x537d2f;if(_0x10f457[_0x4faaef(0x5aa)]){const _0x8c0ed2=this[_0x4faaef(0x241)][_0x4faaef(0x599)](_0x5cf763,_0x10f457,!0x1);if(!_0x4d11e3[_0x4faaef(0x52b)](_0x8c0ed2))throw _0x8c0ed2[_0x4faaef(0x35a)];_0x1323c0=_0x8c0ed2[_0x4faaef(0x297)],_0x537d2f=_0x8c0ed2[_0x4faaef(0x3bc)];}else _0x1323c0=_0x5cf763,_0x537d2f=[];let _0x395a96=this['_pendingMutations'];_0x1323c0['forEach'](_0x257009=>{const _0x3559fc=_0x4faaef;let _0x4bf248;if(_0x395a96[_0x3559fc(0x5aa)]){const _0x272456=this[_0x3559fc(0x241)][_0x3559fc(0x381)](_0x257009,_0x395a96);if(!_0x4d11e3[_0x3559fc(0x292)](_0x272456))throw _0x272456['error'];_0x4bf248=_0x272456[_0x3559fc(0x297)],_0x395a96=_0x272456['m2Prime'];}else _0x4bf248=_0x257009;this[_0x3559fc(0x1ce)](_0x4bf248);}),this['_acknowledgedAwaitingChangeset']&&this[_0x4faaef(0x3af)](),this['_awaitingChangeset']&&_0x537d2f['length']&&(_0x537d2f[0x0]['baseRev']=this[_0x4faaef(0x562)]());let _0x2cdbfc;if(this[_0x4faaef(0x194)]&&_0x395a96[_0x4faaef(0x5aa)]!==0x0)_0x2cdbfc=this[_0x4faaef(0x221)][_0x4faaef(0x566)](_0x4a639a,this[_0x4faaef(0x39f)],this[_0x4faaef(0x351)],_0x537d2f[0x0],_0x395a96,this[_0x4faaef(0x2d2)],void 0x0);else{if(this[_0x4faaef(0x194)]&&_0x395a96['length']===0x0)_0x537d2f[0x0]['baseRev']=this[_0x4faaef(0x562)](),_0x2cdbfc=this[_0x4faaef(0x221)][_0x4faaef(0x566)](_0x548e3e,this[_0x4faaef(0x39f)],this['type'],_0x537d2f[0x0],this[_0x4faaef(0x2d2)]);else{if(_0x395a96[_0x4faaef(0x5aa)]!==0x0){const _0x2d1ed4=this[_0x4faaef(0x221)][_0x4faaef(0x566)](_0xa05536,this[_0x4faaef(0x39f)],this[_0x4faaef(0x351)],_0x395a96,this[_0x4faaef(0x2d2)]);_0x2d1ed4[_0x4faaef(0x36f)](),_0x2cdbfc=_0x2d1ed4;}else _0x2cdbfc=this['_injector'][_0x4faaef(0x566)](_0x20fa8f,this[_0x4faaef(0x39f)],this[_0x4faaef(0x351)],this[_0x4faaef(0x2d2)]);}}return _0x2cdbfc[_0x4faaef(0x3b4)](),_0x2cdbfc;}catch(_0xf3c1a2){return this[_0x4faaef(0x3f5)][_0x4faaef(0x35a)](_0x4faaef(0x45c),_0x4faaef(0x37d),_0xf3c1a2),this[_0x4faaef(0x221)]['createInstance'](_0x382943,this['unitID'],this[_0x4faaef(0x351)],this[_0x4faaef(0x194)],this[_0x4faaef(0x5e5)],this[_0x4faaef(0x2d2)],!0x1);}}['resend'](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x494bb3(0x3ca)](_0x5c0b14){const _0x25ceab=_0x494bb3;return this[_0x25ceab(0x5e5)]['push'](_0x5c0b14),this;}[_0x494bb3(0x56c)](_0x258926){const _0x147ef7=_0x494bb3;return this[_0x147ef7(0x242)][_0x147ef7(0x196)](_0x258926),this;}[_0x494bb3(0x1d3)](_0x3e6c71){const _0x290a50=_0x494bb3;if(this[_0x290a50(0x194)])return this[_0x290a50(0x517)]=this['_awaitingChangeset'],this[_0x290a50(0x194)]=null,this;throw new Error(_0x290a50(0x30a));}[_0x494bb3(0x518)](_0x470799){const _0x2226d9=_0x494bb3;return this[_0x2226d9(0x1ad)](!!(_0x470799!=null&&_0x470799['isPermissionRej']));}['onRemoteRetry'](){return this;}[_0x494bb3(0x3a5)](){const _0x7438df=_0x494bb3;return this['_injector'][_0x7438df(0x566)](_0x35de18,this[_0x7438df(0x39f)],this['type'],this[_0x7438df(0x194)],this['_pendingMutations'],this[_0x7438df(0x2d2)]);}[_0x494bb3(0x312)](){return this;}['_onConflict'](_0x5efa5e){const _0x1abf09=_0x494bb3;return this[_0x1abf09(0x221)][_0x1abf09(0x566)](_0x382943,this[_0x1abf09(0x39f)],this[_0x1abf09(0x351)],this[_0x1abf09(0x194)],this['_pendingMutations'],this[_0x1abf09(0x2d2)],_0x5efa5e);}};_0x75b83f=_0x6d1023([_0x3d0903(0x7,_0x5a20c3[_0x494bb3(0x57c)](_0x5a20c3[_0x494bb3(0x596)])),_0x3d0903(0x8,_0x5a20c3[_0x494bb3(0x57c)](_0x4d11e3[_0x494bb3(0x3ae)])),_0x3d0903(0x9,_0x5a20c3[_0x494bb3(0x57c)](_0x38d423[_0x494bb3(0x1ca)])),_0x3d0903(0xa,_0x5a20c3['ILogService']),_0x3d0903(0xb,_0x5a20c3[_0x494bb3(0x39a)]),_0x3d0903(0xc,_0x5a20c3[_0x494bb3(0x44c)]),_0x3d0903(0xd,_0x4d11e3['ITransformService'])],_0x75b83f);function _0x3c042f(_0x4d8e9c,_0x3985a2,_0x23026b,_0x331477,_0x5b298f,_0x8b68cd){const _0x41b706=_0x494bb3;return _0x331477&&_0x5b298f[_0x41b706(0x5aa)]?_0x4d8e9c[_0x41b706(0x566)](_0x4a639a,_0x3985a2,_0x23026b,_0x331477,_0x5b298f,_0x8b68cd,void 0x0):_0x331477?_0x4d8e9c[_0x41b706(0x566)](_0x548e3e,_0x3985a2,_0x23026b,_0x331477,_0x8b68cd):_0x5b298f[_0x41b706(0x5aa)]?_0x4d8e9c['createInstance'](_0xa05536,_0x3985a2,_0x23026b,_0x5b298f,_0x8b68cd):_0x4d8e9c[_0x41b706(0x566)](_0x20fa8f,_0x3985a2,_0x23026b,_0x8b68cd);}var _0x4ddaf2=Object[_0x494bb3(0x5f8)],_0x174aa0=Object[_0x494bb3(0x51e)],_0xb1d179=(_0x488b59,_0x43a540,_0x5c0a48,_0x28e986)=>{for(var _0x569a6f=_0x28e986>0x1?void 0x0:_0x28e986?_0x174aa0(_0x43a540,_0x5c0a48):_0x43a540,_0x442866=_0x488b59['length']-0x1,_0x5aa92c;_0x442866>=0x0;_0x442866--)(_0x5aa92c=_0x488b59[_0x442866])&&(_0x569a6f=(_0x28e986?_0x5aa92c(_0x43a540,_0x5c0a48,_0x569a6f):_0x5aa92c(_0x569a6f))||_0x569a6f);return _0x28e986&&_0x569a6f&&_0x4ddaf2(_0x43a540,_0x5c0a48,_0x569a6f),_0x569a6f;},_0x3b93ef=(_0x4b7e4f,_0x2dc670)=>(_0x3ade68,_0x332e7b)=>_0x2dc670(_0x3ade68,_0x332e7b,_0x4b7e4f);_0x38d423[_0x494bb3(0x2b8)]=class extends _0x5a20c3[_0x494bb3(0x3ed)]{constructor(_0x2989a5,_0x2d176e,_0x44d724,_0x58a2cf,_0x13f7de,_0x542651,_0x35f41e,_0x5d91cc,_0x1b597b,_0x294df7,_0x3cacf4,_0x1fe8f4,_0x1e843f){const _0x508a8d=_0x494bb3;super(),_0x3ed524(this,_0x508a8d(0x3cf),new _0x32bae4[(_0x508a8d(0x55c))](null)),_0x3ed524(this,'state$',this[_0x508a8d(0x3cf)][_0x508a8d(0x4fe)]()),_0x3ed524(this,_0x508a8d(0x1bd)),_0x3ed524(this,_0x508a8d(0x5a0),!0x1),_0x3ed524(this,_0x508a8d(0x3c5),''),_0x3ed524(this,_0x508a8d(0x53f),0x0),_0x3ed524(this,_0x508a8d(0x5e2),this[_0x508a8d(0x311)][_0x508a8d(0x1d4)](_0x32bae4['map'](_0x32e895=>_0x32e895?_0x32e895[_0x508a8d(0x601)]:_0x5948fa[_0x508a8d(0x1de)]),_0x32bae4[_0x508a8d(0x1e8)](0x1))),_0x3ed524(this,_0x508a8d(0x285),!0x1),_0x3ed524(this,_0x508a8d(0x2a0),[]),(this[_0x508a8d(0x39f)]=_0x2989a5,this[_0x508a8d(0x15b)]=_0x2d176e,this[_0x508a8d(0x3f7)]=_0x44d724,this[_0x508a8d(0x221)]=_0x58a2cf,this[_0x508a8d(0x489)]=_0x13f7de,this[_0x508a8d(0x525)]=_0x542651,this[_0x508a8d(0x26e)]=_0x35f41e,this[_0x508a8d(0x4bd)]=_0x5d91cc,this[_0x508a8d(0x3f5)]=_0x1b597b,this['_commandService']=_0x294df7,this[_0x508a8d(0x2cc)]=_0x3cacf4,this[_0x508a8d(0x441)]=_0x1fe8f4,this[_0x508a8d(0x2df)]=_0x1e843f);}get[_0x494bb3(0x3ec)](){const _0x49d0f0=_0x494bb3;return this[_0x49d0f0(0x1bd)];}async['init'](){const _0x1da2ec=_0x494bb3;if(this[_0x1da2ec(0x3ec)])throw new Error('[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.');await this['_init']();}[_0x494bb3(0x604)](){const _0x47efa7=_0x494bb3;return this[_0x47efa7(0x5a0)]=!0x0,_0x5a20c3[_0x47efa7(0x1d8)](()=>{const _0xa83272=_0x47efa7;this[_0xa83272(0x5a0)]=!0x1,this[_0xa83272(0x469)]();});}[_0x494bb3(0x3d8)](_0x51de5c){const _0x272364=_0x494bb3;this[_0x272364(0x1bd)]=_0x51de5c,this[_0x272364(0x3cf)][_0x272364(0x5dd)](_0x51de5c);}async[_0x494bb3(0x298)](){const _0x356b63=_0x494bb3;var _0x2cca48;this[_0x356b63(0x3d8)](await this[_0x356b63(0x3bb)]()),this[_0x356b63(0x2df)]&&((_0x2cca48=this[_0x356b63(0x2df)])==null||_0x2cca48[_0x356b63(0x355)](this['unitID']),this[_0x356b63(0x385)](this['_singleActiveUnitService'][_0x356b63(0x56f)](this[_0x356b63(0x39f)])[_0x356b63(0x38d)](_0x1b628d=>{const _0x35aa56=_0x356b63;this[_0x35aa56(0x3f5)][_0x35aa56(0x1b0)](_0x35aa56(0x1d7),_0x35aa56(0x252),_0x1b628d),_0x1b628d===_0x110671['OTHER_CLIENTS_EDITING']?(this['_messageService'][_0x35aa56(0x478)]({'content':this[_0x35aa56(0x26e)]['t'](_0x35aa56(0x217)),'type':_0x989dfe[_0x35aa56(0x5f0)]['Warning']}),this['_permissionService']['updatePermissionPoint'](new _0x66e3f4['WorkbookEditablePermission'](this[_0x35aa56(0x39f)])['id'],!0x1),this[_0x35aa56(0x441)][_0x35aa56(0x415)](!0x1)):(this[_0x35aa56(0x441)][_0x35aa56(0x24c)](new _0x66e3f4[(_0x35aa56(0x35d))](this[_0x35aa56(0x39f)])['id'],!0x0),this[_0x35aa56(0x441)][_0x35aa56(0x415)](!0x0));})));let _0x139d09=!0x1;return this[_0x356b63(0x385)](this[_0x356b63(0x15b)][_0x356b63(0x398)][_0x356b63(0x38d)](_0x250424=>{const _0x464d57=_0x356b63;_0x250424===_0x5f2a52[_0x464d57(0x5c1)]?this[_0x464d57(0x522)](_0x139d09):_0x250424===_0x5f2a52[_0x464d57(0x1de)]&&(_0x139d09=!0x0,this[_0x464d57(0x27b)]());})),this[_0x356b63(0x385)](this[_0x356b63(0x15b)][_0x356b63(0x5f6)][_0x356b63(0x38d)](_0x13288c=>{const _0x580e1f=_0x356b63;try{switch(_0x13288c['eventID']){case _0x4d11e3[_0x580e1f(0x213)][_0x580e1f(0x2f4)]:{this[_0x580e1f(0x16c)](_0x4d11e3[_0x580e1f(0x40a)](_0x13288c[_0x580e1f(0x5a3)]));break;}case _0x4d11e3[_0x580e1f(0x213)][_0x580e1f(0x318)]:{this['_onRemoteACK'](_0x13288c['data']);break;}case _0x4d11e3[_0x580e1f(0x213)][_0x580e1f(0x16f)]:{this['_onRemoteRejected']();break;}case _0x4d11e3[_0x580e1f(0x213)][_0x580e1f(0x529)]:{this[_0x580e1f(0x183)](_0x13288c[_0x580e1f(0x5a3)]);break;}case _0x4d11e3[_0x580e1f(0x213)][_0x580e1f(0x388)]:{this[_0x580e1f(0x344)](_0x13288c[_0x580e1f(0x5a3)]['changesets'][_0x580e1f(0x48f)](_0x36b553=>_0x4d11e3[_0x580e1f(0x40a)](_0x36b553)));break;}case _0x4d11e3[_0x580e1f(0x213)][_0x580e1f(0x549)]:this['_onRemoteRejected']({'isPermissionRej':!0x0});}}catch(_0xe8be5c){throw console[_0x580e1f(0x35a)](_0x580e1f(0x4f5),_0xe8be5c),_0xe8be5c;}})),this[_0x356b63(0x1bd)];}[_0x494bb3(0x50a)](){this['_transitionLocked']=!0x1;}['_lockTransition'](){const _0x4e146c=_0x494bb3;if(this['_transitionLocked'])throw new Error(_0x4e146c(0x514));this[_0x4e146c(0x285)]=!0x0;}['_onLocalMutation'](_0x42bf35){const _0x3b15bc=_0x494bb3;this[_0x3b15bc(0x3c0)](),this[_0x3b15bc(0x3d8)](this['_state'][_0x3b15bc(0x3ca)](_0x42bf35)),this[_0x3b15bc(0x50a)]();}[_0x494bb3(0x16c)](_0x19d348){const _0xb1f3b0=_0x494bb3;if(!(_0x19d348[_0xb1f3b0(0x2e8)]<=this[_0xb1f3b0(0x4bd)][_0xb1f3b0(0x21f)](this[_0xb1f3b0(0x39f)]))){if(this[_0xb1f3b0(0x5a0)]){this[_0xb1f3b0(0x2a0)][_0xb1f3b0(0x196)](_0x19d348);return;}this[_0xb1f3b0(0x51b)](_0x19d348);}}[_0x494bb3(0x469)](){const _0x1e3c23=_0x494bb3;this['_remoteChangesetQueue'][_0x1e3c23(0x5e8)](_0x3fa8e0=>this[_0x1e3c23(0x51b)](_0x3fa8e0)),this[_0x1e3c23(0x2a0)]=[];}[_0x494bb3(0x51b)](_0x419873){const _0x28e860=_0x494bb3,_0x45b4ed=this[_0x28e860(0x525)]['interceptor'][_0x28e860(0x4dd)](this[_0x28e860(0x525)][_0x28e860(0x2f8)][_0x28e860(0x44a)]()[_0x28e860(0x555)])(_0x419873[_0x28e860(0x341)],null)||_0x419873['mutations'],_0x409cd1={..._0x419873,'mutations':_0x45b4ed};this[_0x28e860(0x3c0)](),this['_updateState'](this[_0x28e860(0x1bd)][_0x28e860(0x56c)](_0x409cd1)),this[_0x28e860(0x50a)]();}[_0x494bb3(0x193)](_0x1d7b7e){const _0x4c0ef9=_0x494bb3;this[_0x4c0ef9(0x3c0)](),this[_0x4c0ef9(0x3d8)](this[_0x4c0ef9(0x1bd)][_0x4c0ef9(0x1d3)](_0x1d7b7e)),this[_0x4c0ef9(0x50a)]();}[_0x494bb3(0x53b)](_0x3557a8){const _0x10b073=_0x494bb3;this[_0x10b073(0x3c0)](),this[_0x10b073(0x3d8)](this[_0x10b073(0x1bd)][_0x10b073(0x518)](_0x3557a8)),this[_0x10b073(0x50a)]();}[_0x494bb3(0x183)](_0x584d6e){const _0x287380=_0x494bb3;this[_0x287380(0x3c0)](),this[_0x287380(0x3d8)](this[_0x287380(0x1bd)][_0x287380(0x17c)](_0x584d6e)),this[_0x287380(0x50a)]();}[_0x494bb3(0x344)](_0x203422){const _0x3e0e7c=_0x494bb3;if(!(this[_0x3e0e7c(0x1bd)]instanceof _0x75b83f))throw new TypeError(_0x3e0e7c(0x2e7));const _0x53a267=_0x203422[_0x3e0e7c(0x48f)](_0x1595aa=>{const _0x1b67fe=_0x3e0e7c,_0x42077d=this[_0x1b67fe(0x525)][_0x1b67fe(0x2f8)][_0x1b67fe(0x4dd)](this['_compressMutationService'][_0x1b67fe(0x2f8)][_0x1b67fe(0x44a)]()[_0x1b67fe(0x555)])(_0x1595aa[_0x1b67fe(0x341)],null)||_0x1595aa['mutations'];return{..._0x1595aa,'mutations':_0x42077d};});this['_lockTransition'](),this['_updateState'](this[_0x3e0e7c(0x1bd)][_0x3e0e7c(0x5cb)](_0x53a267)),this[_0x3e0e7c(0x50a)]();}[_0x494bb3(0x27b)](){const _0x46878f=_0x494bb3;this['_lockTransition'](),this['_updateState'](this['_state'][_0x46878f(0x3a5)]()),this[_0x46878f(0x50a)]();}[_0x494bb3(0x522)](_0x39529a=!0x1){const _0x6a73cf=_0x494bb3;this[_0x6a73cf(0x3c0)](),this[_0x6a73cf(0x3d8)](this[_0x6a73cf(0x1bd)][_0x6a73cf(0x312)]()),this[_0x6a73cf(0x50a)]();const _0xfb3712=this[_0x6a73cf(0x1bd)];_0x39529a&&_0xfb3712 instanceof _0x20fa8f&&(this['_lockTransition'](),this[_0x6a73cf(0x3d8)](_0xfb3712[_0x6a73cf(0x34d)]()),this[_0x6a73cf(0x50a)]());}async[_0x494bb3(0x3bb)](){return new Promise(_0x361621=>{const _0xb13b99=_0x50cf;this['session'][_0xb13b99(0x398)][_0xb13b99(0x1d4)](_0x32bae4[_0xb13b99(0x5d8)](0x1))[_0xb13b99(0x38d)](async _0x44282a=>{const _0x45e6af=_0xb13b99;_0x361621(await this[_0x45e6af(0x21b)](_0x44282a===_0x5f2a52[_0x45e6af(0x5c1)]));});});}['_createHandler'](){const _0x175b9d=_0x494bb3,_0x2bd2eb=this[_0x175b9d(0x39f)];return{'onStateChange':(_0xb57ce0,_0x508c2a)=>{const _0x183df6=_0x175b9d;if(_0xb57ce0!==this[_0x183df6(0x1bd)])throw new Error(_0x183df6(0x433)+_0xb57ce0['status']+_0x183df6(0x27a)+_0x508c2a[_0x183df6(0x601)]+_0x183df6(0x5d5)+this['_state'][_0x183df6(0x601)]);this[_0x183df6(0x3d8)](_0x508c2a);},'onSendChangeset':_0x238ed4=>{const _0x133bbb=_0x175b9d;_0x238ed4['sid']||(_0x238ed4[_0x133bbb(0x605)]=this[_0x133bbb(0x3c5)],_0x238ed4[_0x133bbb(0x5f1)]=++this['_changesetReqId']);const _0xfc559c={'eventID':_0x4d11e3[_0x133bbb(0x213)][_0x133bbb(0x39d)],'data':{'unitID':_0x238ed4[_0x133bbb(0x39f)],'unitType':this['_type'],'changeset':_0x238ed4,'memberID':this[_0x133bbb(0x15b)][_0x133bbb(0x488)]()}};this[_0x133bbb(0x15b)]['send'](_0xfc559c,this[_0x133bbb(0x39f)]);},'onMissingChangesets':({from:_0x503bcc,to:_0x248c19})=>{const _0x120225=_0x175b9d;this[_0x120225(0x3f5)]['debug'](_0x120225(0x1d7),_0x120225(0x44b)+_0x503bcc+_0x120225(0x603)+_0x248c19);const _0xde2596={'eventID':_0x4d11e3[_0x120225(0x213)]['FETCH_MISSING'],'data':{'unitID':_0x2bd2eb,'unitType':this[_0x120225(0x3f7)],'from':_0x503bcc,'to':_0x248c19}};this[_0x120225(0x15b)][_0x120225(0x424)](_0xde2596,this[_0x120225(0x39f)]);}};}async[_0x494bb3(0x21b)](_0x23cf28){const _0x24fd46=_0x494bb3;var _0x40d67a,_0x3c0af8;const _0x3bf3b7=await this['_localCacheService'][_0x24fd46(0x23d)](this[_0x24fd46(0x39f)]),_0x19108f=(_0x40d67a=_0x3bf3b7==null?void 0x0:_0x3bf3b7[_0x24fd46(0x341)])!=null?_0x40d67a:[],_0x3e9a6e=(_0x3c0af8=_0x3bf3b7==null?void 0x0:_0x3bf3b7[_0x24fd46(0x5b3)])!=null?_0x3c0af8:null,_0x90c3b5=!!(_0x3e9a6e!=null&&_0x3e9a6e['sid'])&&!!(_0x3e9a6e!=null&&_0x3e9a6e[_0x24fd46(0x5f1)]);this[_0x24fd46(0x3c5)]=_0x90c3b5?_0x3e9a6e[_0x24fd46(0x605)]:_0x4c4aaa(),this[_0x24fd46(0x53f)]=_0x90c3b5?_0x3e9a6e[_0x24fd46(0x5f1)]:0x0;const _0x451cb6=this[_0x24fd46(0x39f)];try{this['_replayCachedMutations'](_0x3e9a6e,_0x19108f);}catch(_0x513582){this[_0x24fd46(0x3f5)][_0x24fd46(0x35a)](_0x513582);}const _0xfad56b=this[_0x24fd46(0x2c7)]();if(_0x23cf28){const _0x35ca4c=_0x3c042f(this[_0x24fd46(0x221)],_0x451cb6,this[_0x24fd46(0x3f7)],_0x3e9a6e,_0x19108f,_0xfad56b);return _0x35ca4c instanceof _0xa05536?_0x35ca4c[_0x24fd46(0x36f)]():(_0x35ca4c instanceof _0x4a639a||_0x35ca4c instanceof _0x548e3e)&&_0x35ca4c[_0x24fd46(0x2b2)](),_0x35ca4c;}return this[_0x24fd46(0x221)][_0x24fd46(0x566)](_0x35de18,_0x451cb6,this[_0x24fd46(0x3f7)],_0x3e9a6e,_0x19108f,_0xfad56b);}['_replayCachedMutations'](_0x414b17,_0x1cb5cb){const _0x3cc559=_0x494bb3;var _0x1d5f29,_0x55994e;const _0x48658c=this['_compressMutationService'][_0x3cc559(0x2f8)][_0x3cc559(0x4dd)](this[_0x3cc559(0x525)][_0x3cc559(0x2f8)][_0x3cc559(0x44a)]()[_0x3cc559(0x555)]);(_0x1d5f29=_0x48658c((_0x414b17==null?void 0x0:_0x414b17['mutations'])||[],null))==null||_0x1d5f29[_0x3cc559(0x5e8)](_0x3f698c=>this['_commandService'][_0x3cc559(0x482)](_0x3f698c['id'],_0x3f698c[_0x3cc559(0x542)])),(_0x55994e=_0x48658c(_0x1cb5cb||[],null))==null||_0x55994e[_0x3cc559(0x5e8)](_0x3ad82e=>this[_0x3cc559(0x2e5)][_0x3cc559(0x482)](_0x3ad82e['id'],_0x3ad82e[_0x3cc559(0x542)]));}},_0x38d423[_0x494bb3(0x2b8)]=_0xb1d179([_0x3b93ef(0x3,_0x5a20c3[_0x494bb3(0x57c)](_0x5a20c3['Injector'])),_0x3b93ef(0x4,_0x5a20c3[_0x494bb3(0x57c)](_0x38d423[_0x494bb3(0x1ca)])),_0x3b93ef(0x5,_0x5a20c3[_0x494bb3(0x57c)](_0x4d11e3[_0x494bb3(0x407)])),_0x3b93ef(0x6,_0x5a20c3[_0x494bb3(0x57c)](_0x5a20c3[_0x494bb3(0x439)])),_0x3b93ef(0x7,_0x5a20c3[_0x494bb3(0x57c)](_0x4d11e3['RevisionService'])),_0x3b93ef(0x8,_0x5a20c3[_0x494bb3(0x494)]),_0x3b93ef(0x9,_0x5a20c3[_0x494bb3(0x39a)]),_0x3b93ef(0xa,_0x33d470[_0x494bb3(0x454)]),_0x3b93ef(0xb,_0x5a20c3[_0x494bb3(0x397)]),_0x3b93ef(0xc,_0x5a20c3[_0x494bb3(0x59d)](_0x104336))],_0x38d423[_0x494bb3(0x2b8)]),_0x38d423[_0x494bb3(0x5ff)]=class extends _0x38d423['CollaborationEntity']{constructor(_0x25d45c,_0x52ddaf,_0x5f2d3f,_0xfd7794,_0x31ae7f,_0x416fb4,_0x3af090,_0x4f4543,_0x243e72,_0x97140b,_0x365a86,_0x15c5f7,_0x2093a1,_0x3e6de1,_0x159355,_0x472604,_0x29a436,_0x427ef0){const _0xfd004a=_0x494bb3;super(_0x25d45c,_0x5f2d3f,_0x52ddaf,_0xfd7794,_0x31ae7f,_0x416fb4,_0x3af090,_0x4f4543,_0x3e6de1,_0x159355,_0x472604,_0x29a436,_0x427ef0),this[_0xfd004a(0x39f)]=_0x25d45c,this[_0xfd004a(0x351)]=_0x52ddaf,this['_docStateChangeManagerService']=_0x243e72,this['_docTransformIMECacheService']=_0x97140b,this['_docTransformStateCacheService']=_0x365a86,this[_0xfd004a(0x44d)]=_0x15c5f7,this['_docSyncEditingCollabCursorService']=_0x2093a1;}['_createHandler'](){const _0x4919ce=_0x494bb3,_0x984f14=super[_0x4919ce(0x2c7)]();return _0x984f14['onTransformIME']=_0x524968=>this[_0x4919ce(0x166)][_0x4919ce(0x5fb)](_0x524968),_0x984f14[_0x4919ce(0x57e)]=_0x57bb1a=>this[_0x4919ce(0x4b3)][_0x4919ce(0x58c)](_0x57bb1a),_0x984f14['onTransformSelections']=_0x13ddd0=>this[_0x4919ce(0x44d)]['transformSelections'](_0x13ddd0),_0x984f14['onSyncEditingCollabCursor']=_0x119c62=>this[_0x4919ce(0x47d)]['syncEditingCollabCursor'](_0x119c62),_0x984f14[_0x4919ce(0x184)]=_0x277a97=>this[_0x4919ce(0x166)]['transformRemoteChangeset'](_0x277a97),_0x984f14['onTransformRemoteChangesetByStateCache']=_0x93584f=>this[_0x4919ce(0x4b3)]['transformRemoteChangeset'](_0x93584f),_0x984f14;}async['_init'](){const _0x1c13c1=_0x494bb3,_0x17c466=await super['_init']();return this[_0x1c13c1(0x2de)][_0x1c13c1(0x41b)][_0x1c13c1(0x1d4)](_0x32bae4[_0x1c13c1(0x1d1)](this[_0x1c13c1(0x5af)]))[_0x1c13c1(0x38d)](_0x26444e=>{const _0x2fd417=_0x1c13c1;if(_0x26444e==null)return;const {unitId:_0x5b6c00,redoState:_0x327790,commandId:_0x385406}=_0x26444e;if(_0x5b6c00!==this[_0x2fd417(0x39f)])return;const _0x4f51c1={'id':_0x385406,'type':_0x5a20c3[_0x2fd417(0x308)][_0x2fd417(0x54e)],'params':{'unitId':_0x5b6c00,'actions':_0x327790['actions'],'textRanges':null}};this[_0x2fd417(0x578)](_0x4f51c1);}),_0x17c466;}},_0x38d423[_0x494bb3(0x5ff)]=_0xb1d179([_0x3b93ef(0x3,_0x5a20c3[_0x494bb3(0x57c)](_0x5a20c3[_0x494bb3(0x596)])),_0x3b93ef(0x4,_0x5a20c3[_0x494bb3(0x57c)](_0x38d423[_0x494bb3(0x1ca)])),_0x3b93ef(0x5,_0x5a20c3['Inject'](_0x4d11e3[_0x494bb3(0x407)])),_0x3b93ef(0x6,_0x5a20c3[_0x494bb3(0x57c)](_0x5a20c3[_0x494bb3(0x439)])),_0x3b93ef(0x7,_0x5a20c3[_0x494bb3(0x57c)](_0x4d11e3[_0x494bb3(0x3ae)])),_0x3b93ef(0x8,_0x5a20c3['Inject'](_0xe07534['DocStateChangeManagerService'])),_0x3b93ef(0x9,_0x5a20c3[_0x494bb3(0x57c)](_0x11a9c0)),_0x3b93ef(0xa,_0x5a20c3['Inject'](_0x455c32)),_0x3b93ef(0xb,_0x5a20c3[_0x494bb3(0x57c)](_0x2c3f2f)),_0x3b93ef(0xc,_0x5a20c3['Inject'](_0x171169)),_0x3b93ef(0xd,_0x5a20c3['ILogService']),_0x3b93ef(0xe,_0x5a20c3['ICommandService']),_0x3b93ef(0xf,_0x33d470[_0x494bb3(0x454)]),_0x3b93ef(0x10,_0x5a20c3[_0x494bb3(0x397)]),_0x3b93ef(0x11,_0x5a20c3[_0x494bb3(0x59d)](_0x104336))],_0x38d423[_0x494bb3(0x5ff)]),_0x38d423['SheetCollaborationEntity']=class extends _0x38d423[_0x494bb3(0x2b8)]{constructor(_0x3e1a0b,_0x3afe2e,_0x5b9576,_0x2fb3df,_0x175265,_0x3f1444,_0x554372,_0x3df93b,_0x21f95b,_0x35a72c,_0x2a422e,_0x5a3a20,_0x23fa5f,_0x9e74cc){const _0x38a301=_0x494bb3;super(_0x3e1a0b,_0x5b9576,_0x3afe2e,_0x2fb3df,_0x175265,_0x3f1444,_0x554372,_0x3df93b,_0x35a72c,_0x2a422e,_0x5a3a20,_0x23fa5f,_0x9e74cc),this['unitID']=_0x3e1a0b,this[_0x38a301(0x351)]=_0x3afe2e,this['_sheetTransformSelectionsService']=_0x21f95b;}[_0x494bb3(0x2c7)](){const _0x429c53=_0x494bb3,_0x2c1702=super[_0x429c53(0x2c7)]();return _0x2c1702[_0x429c53(0x2c2)]=_0x55c06a=>this[_0x429c53(0x3fb)]['transformSelections'](_0x55c06a),_0x2c1702;}async[_0x494bb3(0x298)](){const _0x23012a=_0x494bb3,_0x15c006=await super[_0x23012a(0x298)]();return this[_0x23012a(0x385)](this[_0x23012a(0x2e5)]['onCommandExecuted']((_0x4225cb,_0x1193b6)=>{const _0x242ea4=_0x23012a;if(_0x4225cb[_0x242ea4(0x351)]!==_0x5a20c3[_0x242ea4(0x308)][_0x242ea4(0x54e)]||_0x1193b6!=null&&_0x1193b6[_0x242ea4(0x274)]||_0x1193b6!=null&&_0x1193b6[_0x242ea4(0x31c)])return;const _0x571ebc=_0x4225cb['params'];if((_0x571ebc==null?void 0x0:_0x571ebc[_0x242ea4(0x3ef)])!==this[_0x242ea4(0x39f)])return;const _0xa5f499=_0x4225cb,_0x42b525=this[_0x242ea4(0x525)][_0x242ea4(0x2f8)]['fetchThroughInterceptors'](this[_0x242ea4(0x525)][_0x242ea4(0x2f8)][_0x242ea4(0x44a)]()['COMPRESS_MUTATION_SEND'])([_0xa5f499],null)||[_0xa5f499];this['_onLocalMutation'](_0x42b525[0x0]);})),_0x15c006;}},_0x38d423[_0x494bb3(0x5ac)]=_0xb1d179([_0x3b93ef(0x3,_0x5a20c3[_0x494bb3(0x57c)](_0x5a20c3['Injector'])),_0x3b93ef(0x4,_0x5a20c3[_0x494bb3(0x57c)](_0x38d423[_0x494bb3(0x1ca)])),_0x3b93ef(0x5,_0x5a20c3[_0x494bb3(0x57c)](_0x4d11e3['CompressMutationService'])),_0x3b93ef(0x6,_0x5a20c3[_0x494bb3(0x57c)](_0x5a20c3[_0x494bb3(0x439)])),_0x3b93ef(0x7,_0x5a20c3[_0x494bb3(0x57c)](_0x4d11e3['RevisionService'])),_0x3b93ef(0x8,_0x5a20c3[_0x494bb3(0x57c)](_0x47f26b)),_0x3b93ef(0x9,_0x5a20c3[_0x494bb3(0x494)]),_0x3b93ef(0xa,_0x5a20c3[_0x494bb3(0x39a)]),_0x3b93ef(0xb,_0x33d470[_0x494bb3(0x454)]),_0x3b93ef(0xc,_0x5a20c3['IPermissionService']),_0x3b93ef(0xd,_0x5a20c3['Optional'](_0x104336))],_0x38d423['SheetCollaborationEntity']);var _0x263455=Object[_0x494bb3(0x5f8)],_0x13f9af=Object[_0x494bb3(0x51e)],_0x4e2b08=(_0x258f84,_0x3e8dc2,_0x565a16,_0x5de5ee)=>{const _0x2df5f4=_0x494bb3;for(var _0x4b46f3=_0x5de5ee>0x1?void 0x0:_0x5de5ee?_0x13f9af(_0x3e8dc2,_0x565a16):_0x3e8dc2,_0x3f8949=_0x258f84[_0x2df5f4(0x5aa)]-0x1,_0x39efdc;_0x3f8949>=0x0;_0x3f8949--)(_0x39efdc=_0x258f84[_0x3f8949])&&(_0x4b46f3=(_0x5de5ee?_0x39efdc(_0x3e8dc2,_0x565a16,_0x4b46f3):_0x39efdc(_0x4b46f3))||_0x4b46f3);return _0x5de5ee&&_0x4b46f3&&_0x263455(_0x3e8dc2,_0x565a16,_0x4b46f3),_0x4b46f3;},_0x30dda4=(_0xce1580,_0x4973fd)=>(_0xba7dbc,_0x48e372)=>_0x4973fd(_0xba7dbc,_0x48e372,_0xce1580);_0x38d423[_0x494bb3(0x39c)]=class extends _0x5a20c3['RxDisposable']{constructor(_0x101464,_0x1a234b,_0x4e78bd){const _0x26327a=_0x494bb3;super(),_0x3ed524(this,_0x26327a(0x4da),new Map()),_0x3ed524(this,_0x26327a(0x17a),new _0x32bae4[(_0x26327a(0x20b))]()),(this[_0x26327a(0x221)]=_0x101464,this['_collabSessionService']=_0x1a234b,this['_univerInstanceService']=_0x4e78bd,this['_init']());}[_0x494bb3(0x173)](){const _0x99c53a=_0x494bb3;super['dispose'](),this[_0x99c53a(0x4da)][_0x99c53a(0x5e8)](_0x4c985a=>_0x4c985a[_0x99c53a(0x173)]()),this[_0x99c53a(0x4da)][_0x99c53a(0x366)]();}[_0x494bb3(0x3ee)](_0x99beef){const _0x18b04b=_0x494bb3;var _0x4ee61c;return(_0x4ee61c=this[_0x18b04b(0x4da)][_0x18b04b(0x537)](_0x99beef))!=null?_0x4ee61c:null;}[_0x494bb3(0x602)](_0x5ab6a0){const _0x317f1e=_0x494bb3,_0xa36adf=this[_0x317f1e(0x3ee)](_0x5ab6a0);return _0xa36adf?_0x32bae4['of'](_0xa36adf):this[_0x317f1e(0x17a)][_0x317f1e(0x1d4)](_0x51e720['filter'](_0x2dfc0b=>_0x2dfc0b[_0x317f1e(0x39f)]===_0x5ab6a0));}[_0x494bb3(0x298)](){const _0x5f1e9c=_0x494bb3;this['_univerInstanceService'][_0x5f1e9c(0x465)](_0x5a20c3[_0x5f1e9c(0x4c5)]['UNIVER_SHEET'])[_0x5f1e9c(0x1d4)](_0x32bae4['takeUntil'](this['dispose$']),_0x51e720[_0x5f1e9c(0x3d4)](0x10))[_0x5f1e9c(0x38d)](async _0x2afad6=>{const _0x3b4362=_0x5f1e9c,_0x38c3c9=_0x2afad6[_0x3b4362(0x4dc)](),_0x53a6b9=await this[_0x3b4362(0x170)](_0x38c3c9,_0x9d8403[_0x3b4362(0x329)]);this['_entities'][_0x3b4362(0x33d)](_0x38c3c9,_0x53a6b9);}),this[_0x5f1e9c(0x4a7)][_0x5f1e9c(0x465)](_0x5a20c3[_0x5f1e9c(0x4c5)][_0x5f1e9c(0x512)])[_0x5f1e9c(0x1d4)](_0x32bae4[_0x5f1e9c(0x1d1)](this[_0x5f1e9c(0x5af)]),_0x51e720[_0x5f1e9c(0x3d4)](0x10))[_0x5f1e9c(0x1d4)](_0x51e720['filter'](_0x189082=>!_0x189082['getUnitId']()[_0x5f1e9c(0x2af)]('__')))[_0x5f1e9c(0x38d)](async _0x360252=>{const _0x3fe652=_0x5f1e9c,_0x9eb9fe=_0x360252[_0x3fe652(0x4dc)](),_0x31a00c=await this[_0x3fe652(0x170)](_0x9eb9fe,_0x9d8403[_0x3fe652(0x512)]);this['_entities']['set'](_0x9eb9fe,_0x31a00c);}),_0x32bae4[_0x5f1e9c(0x3fc)](this[_0x5f1e9c(0x4a7)]['getTypeOfUnitDisposed$'](_0x5a20c3[_0x5f1e9c(0x4c5)]['UNIVER_SHEET']),this[_0x5f1e9c(0x4a7)][_0x5f1e9c(0x5f4)](_0x5a20c3['UniverInstanceType'][_0x5f1e9c(0x512)]))[_0x5f1e9c(0x1d4)](_0x32bae4[_0x5f1e9c(0x1d1)](this[_0x5f1e9c(0x5af)]))[_0x5f1e9c(0x38d)](_0x1d95a4=>{const _0x439d5c=_0x5f1e9c,_0x13f3c0=_0x1d95a4['getUnitId'](),_0x547a4d=this[_0x439d5c(0x4da)][_0x439d5c(0x537)](_0x13f3c0);_0x547a4d&&(_0x547a4d['dispose'](),this['_entities'][_0x439d5c(0x43d)](_0x13f3c0));});}async['_startCollaboration'](_0x139aab,_0x220ac5){const _0x449164=_0x494bb3,_0x2a4dfd=await this[_0x449164(0x50c)][_0x449164(0x3b7)](_0x139aab),_0x19e013=this[_0x449164(0x221)]['createInstance'](this[_0x449164(0x4b5)](_0x220ac5),_0x139aab,_0x220ac5,_0x2a4dfd);return await _0x19e013[_0x449164(0x4bc)](),this['_entityInit$']['next'](_0x19e013),_0x19e013;}[_0x494bb3(0x4b5)](_0x485f83){const _0x431244=_0x494bb3;switch(_0x485f83){case _0x9d8403[_0x431244(0x512)]:return _0x38d423[_0x431244(0x5ff)];case _0x9d8403[_0x431244(0x329)]:return _0x38d423[_0x431244(0x5ac)];default:throw new Error(_0x431244(0x26c)+_0x485f83);}}},_0x38d423[_0x494bb3(0x39c)]=_0x4e2b08([_0x30dda4(0x0,_0x5a20c3['Inject'](_0x5a20c3[_0x494bb3(0x596)])),_0x30dda4(0x1,_0x5a20c3[_0x494bb3(0x57c)](_0x38d423[_0x494bb3(0x1a9)])),_0x30dda4(0x2,_0x5a20c3[_0x494bb3(0x17e)])],_0x38d423[_0x494bb3(0x39c)]);const _0x5b93e1=[_0x494bb3(0x48c),_0x494bb3(0x410),'verdancy600',_0x494bb3(0x20a),'blue400',_0x494bb3(0x3a1)];class _0x174ccb extends _0x5a20c3['Disposable']{constructor(){const _0x3d988f=_0x494bb3;super(...arguments),_0x3ed524(this,_0x3d988f(0x164),new Map()),_0x3ed524(this,_0x3d988f(0x42e),0x0);}['assignAColorForMemberID'](_0x26c4bf){const _0xa6b677=_0x494bb3;if(this[_0xa6b677(0x164)][_0xa6b677(0x4a3)](_0x26c4bf))return this[_0xa6b677(0x164)][_0xa6b677(0x537)](_0x26c4bf);const _0x532164=_0x5b93e1[this[_0xa6b677(0x42e)]];return this[_0xa6b677(0x42e)]=(this['_colorIndex']+0x1)%_0x5b93e1['length'],this[_0xa6b677(0x164)][_0xa6b677(0x33d)](_0x26c4bf,_0x532164),_0x532164;}}var _0xa8c3d7=Object[_0x494bb3(0x5f8)],_0x11e3e2=Object[_0x494bb3(0x51e)],_0x32886f=(_0x2e9cd8,_0x5f748e,_0x13da2a,_0x3ac686)=>{const _0x6961be=_0x494bb3;for(var _0x49f8b6=_0x3ac686>0x1?void 0x0:_0x3ac686?_0x11e3e2(_0x5f748e,_0x13da2a):_0x5f748e,_0x288252=_0x2e9cd8[_0x6961be(0x5aa)]-0x1,_0xadceb2;_0x288252>=0x0;_0x288252--)(_0xadceb2=_0x2e9cd8[_0x288252])&&(_0x49f8b6=(_0x3ac686?_0xadceb2(_0x5f748e,_0x13da2a,_0x49f8b6):_0xadceb2(_0x49f8b6))||_0x49f8b6);return _0x3ac686&&_0x49f8b6&&_0xa8c3d7(_0x5f748e,_0x13da2a,_0x49f8b6),_0x49f8b6;},_0x34802c=(_0x41022e,_0x142595)=>(_0x5583c9,_0x9f0c93)=>_0x142595(_0x5583c9,_0x9f0c93,_0x41022e);const _0x546fe7=0x12c,_0x21d903=0x64;let _0x2f4723=class extends _0x5a20c3[_0x494bb3(0x3ed)]{constructor(_0xa0043c,_0x428575,_0x4349eb,_0x3dd535,_0x13c88f,_0x18116e,_0x10ef5f,_0x45733e,_0x10e298){const _0x1299bb=_0x494bb3;super(),_0x3ed524(this,_0x1299bb(0x3e2),!0x1),_0x3ed524(this,_0x1299bb(0x298),!0x1),_0x3ed524(this,_0x1299bb(0x51f),new _0x32bae4[(_0x1299bb(0x55c))](new Map())),_0x3ed524(this,_0x1299bb(0x438),this[_0x1299bb(0x51f)][_0x1299bb(0x4fe)]()),_0x3ed524(this,_0x1299bb(0x48b),new _0x32bae4['BehaviorSubject']([])),_0x3ed524(this,'roomMembers$',this[_0x1299bb(0x48b)][_0x1299bb(0x1d4)](_0x32bae4[_0x1299bb(0x16e)](_0x546fe7))),_0x3ed524(this,_0x1299bb(0x33b),_0x5a20c3['debounce'](_0x131382=>{const _0x2d9070=_0x1299bb,_0x12cd02={'eventID':_0x4d11e3[_0x2d9070(0x213)][_0x2d9070(0x1ef)],'data':{'unitID':this[_0x2d9070(0x39f)],'memberID':this[_0x2d9070(0x1c3)][_0x2d9070(0x488)](),'selection':_0x5ce948(_0x131382)}};this[_0x2d9070(0x1c3)][_0x2d9070(0x424)](_0x12cd02,this[_0x2d9070(0x39f)]);},_0x21d903)),(this[_0x1299bb(0x39f)]=_0xa0043c,this[_0x1299bb(0x1c3)]=_0x428575,this[_0x1299bb(0x221)]=_0x4349eb,this['_colorAssignService']=_0x3dd535,this['_memberService']=_0x13c88f,this[_0x1299bb(0x2a6)]=_0x18116e,this[_0x1299bb(0x241)]=_0x10ef5f,this['_univerInstanceService']=_0x45733e,this[_0x1299bb(0x2e5)]=_0x10e298);}get['cursorInfo'](){const _0x4864d4=_0x494bb3;return this[_0x4864d4(0x51f)][_0x4864d4(0x532)]();}get[_0x494bb3(0x5db)](){const _0xb63fab=_0x494bb3;return this[_0xb63fab(0x48b)]['getValue']();}[_0x494bb3(0x173)](){const _0x39ae6b=_0x494bb3;super[_0x39ae6b(0x173)](),this[_0x39ae6b(0x51f)][_0x39ae6b(0x5dd)](new Map()),this['_cursorInfo$'][_0x39ae6b(0x548)](),this[_0x39ae6b(0x48b)][_0x39ae6b(0x5dd)]([]),this[_0x39ae6b(0x48b)][_0x39ae6b(0x548)]();}['init'](){const _0x35240e=_0x494bb3;this[_0x35240e(0x298)]||(this['_init']=!0x0,this[_0x35240e(0x1c3)][_0x35240e(0x398)][_0x35240e(0x1d4)](_0x32bae4[_0x35240e(0x1d1)](this['dispose$']))['subscribe'](_0x213460=>{const _0xa6e0dc=_0x35240e;_0x213460===_0x5f2a52[_0xa6e0dc(0x5c1)]?this['_toggleOnline']():this[_0xa6e0dc(0x27b)]();}),this[_0x35240e(0x1c3)][_0x35240e(0x5f6)][_0x35240e(0x1d4)](_0x32bae4[_0x35240e(0x1d1)](this[_0x35240e(0x5af)]))[_0x35240e(0x38d)](_0x9ccf51=>{const _0x53387b=_0x35240e,_0x5a98ac=_0x9ccf51[_0x53387b(0x383)];_0x5a98ac===_0x4d11e3[_0x53387b(0x213)]['UPDATE_CURSOR']&&this[_0x53387b(0x2ee)](_0x9ccf51),_0x5a98ac===_0x4d11e3[_0x53387b(0x213)][_0x53387b(0x37b)]&&this['_onCursorDelete'](_0x9ccf51);}),this['disposeWithMe'](this[_0x35240e(0x2e5)][_0x35240e(0x2b9)](_0x333c09=>{const _0x2cafc5=_0x35240e,_0x42d57c=_0x333c09[_0x2cafc5(0x542)];_0x42d57c!=null&&this[_0x2cafc5(0x3e2)]&&_0x333c09['id']===_0x458230['SetTextSelectionsOperation']['id']&&_0x42d57c[_0x2cafc5(0x3ef)]===this[_0x2cafc5(0x39f)]&&_0x42d57c[_0x2cafc5(0x46b)]===!0x1&&_0x42d57c[_0x2cafc5(0x1be)][_0x2cafc5(0x5aa)]>0x0&&this[_0x2cafc5(0x33b)](_0x42d57c[_0x2cafc5(0x1be)]);})),this[_0x35240e(0x2a6)]['collabCursorState$'][_0x35240e(0x1d4)](_0x32bae4[_0x35240e(0x1d1)](this[_0x35240e(0x5af)]))[_0x35240e(0x38d)](_0x30258f=>{const _0x4cc394=_0x35240e;if((_0x30258f==null?void 0x0:_0x30258f['unitID'])!==this[_0x4cc394(0x39f)])return;const _0x2a569a={'eventID':_0x4d11e3[_0x4cc394(0x213)][_0x4cc394(0x1ef)],'data':_0x30258f};this['_onCursorUpdate'](_0x2a569a);}),this[_0x35240e(0x385)](this[_0x35240e(0x2e5)][_0x35240e(0x2b9)](_0x37bb81=>{const _0x15c6fe=_0x35240e;if(_0x37bb81[_0x15c6fe(0x542)]==null)return;const _0x8ef7da=_0x37bb81[_0x15c6fe(0x542)];if(_0x37bb81['id']!==_0x458230[_0x15c6fe(0x368)]['id']||_0x8ef7da[_0x15c6fe(0x3ef)]!==this[_0x15c6fe(0x39f)])return;const _0x1d8c86={'id':_0x15c6fe(0x1b8),'params':_0x8ef7da},_0x393e14=this['cursorInfo'];for(const [_0x2224c8,_0x3d0391]of _0x393e14){const _0x531a58={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0x15c6fe(0x39f)],'actions':null,'textRanges':_0x3d0391[_0x15c6fe(0x1be)]}},_0x1e030e=this[_0x15c6fe(0x241)][_0x15c6fe(0x5d4)](_0x1d8c86,_0x531a58,!0x1);if(_0x4d11e3[_0x15c6fe(0x40d)](_0x1e030e))throw _0x1e030e[_0x15c6fe(0x35a)];_0x393e14['set'](_0x2224c8,{..._0x3d0391,'ranges':_0x1e030e[_0x15c6fe(0x3fd)][_0x15c6fe(0x542)][_0x15c6fe(0x561)]});}queueMicrotask(()=>{const _0x347e2e=_0x15c6fe;this['_cursorInfo$'][_0x347e2e(0x5dd)](_0x393e14);});})));}[_0x494bb3(0x2ee)](_0x151e4b){const _0x4b49cf=_0x494bb3;var _0x48e29d,_0x175b68;const {memberID:_0x4386d4,selection:_0x118e1e}=_0x151e4b[_0x4b49cf(0x5a3)],_0x2cfce7=_0x4d6025(_0x118e1e),_0x2c23c8=(_0x175b68=(_0x48e29d=this['_memberService'][_0x4b49cf(0x600)](this['unitID'],_0x4386d4))==null?void 0x0:_0x48e29d[_0x4b49cf(0x190)])!=null?_0x175b68:_0x4b49cf(0x1e0),_0x564834={'color':this['_colorAssignService'][_0x4b49cf(0x2f6)](_0x4386d4),'name':_0x2c23c8,'ranges':_0x2cfce7},_0x400057=this[_0x4b49cf(0x4a8)];_0x400057[_0x4b49cf(0x33d)](_0x4386d4,_0x564834),this[_0x4b49cf(0x51f)][_0x4b49cf(0x5dd)](_0x400057);}['_onCursorDelete'](_0xe71e57){const _0x399137=_0x494bb3,{memberID:_0x3ef9e2}=_0xe71e57[_0x399137(0x5a3)],_0x3633a9=this[_0x399137(0x4a8)];_0x3633a9['delete'](_0x3ef9e2),this[_0x399137(0x51f)][_0x399137(0x5dd)](_0x3633a9);}['_toggleOnline'](){const _0x3bf164=_0x494bb3;var _0x51b756;if(this[_0x3bf164(0x3e2)]=!0x0,((_0x51b756=this[_0x3bf164(0x4a7)][_0x3bf164(0x189)]())==null?void 0x0:_0x51b756[_0x3bf164(0x4dc)]())!==this['unitID'])return;const _0x2a293f=this['_injector'][_0x3bf164(0x537)](_0x458230[_0x3bf164(0x36c)])[_0x3bf164(0x33e)]();Array[_0x3bf164(0x557)](_0x2a293f)&&_0x2a293f[_0x3bf164(0x5aa)]>0x0&&this[_0x3bf164(0x33b)](_0x2a293f);}[_0x494bb3(0x27b)](){this['_online']=!0x1;}};_0x2f4723=_0x32886f([_0x34802c(0x2,_0x5a20c3[_0x494bb3(0x57c)](_0x5a20c3[_0x494bb3(0x596)])),_0x34802c(0x3,_0x5a20c3['Inject'](_0x174ccb)),_0x34802c(0x4,_0x5a20c3[_0x494bb3(0x57c)](_0x38d423[_0x494bb3(0x30c)])),_0x34802c(0x5,_0x5a20c3[_0x494bb3(0x57c)](_0x171169)),_0x34802c(0x6,_0x4d11e3[_0x494bb3(0x49f)]),_0x34802c(0x7,_0x5a20c3[_0x494bb3(0x17e)]),_0x34802c(0x8,_0x5a20c3[_0x494bb3(0x39a)])],_0x2f4723);var _0x19ca88=Object[_0x494bb3(0x5f8)],_0x3df78d=Object[_0x494bb3(0x51e)],_0x1200bc=(_0x50e3b1,_0x8c3ad9,_0x3d6825,_0x333f33)=>{const _0x14edbb=_0x494bb3;for(var _0x51b973=_0x333f33>0x1?void 0x0:_0x333f33?_0x3df78d(_0x8c3ad9,_0x3d6825):_0x8c3ad9,_0x547303=_0x50e3b1[_0x14edbb(0x5aa)]-0x1,_0x343adf;_0x547303>=0x0;_0x547303--)(_0x343adf=_0x50e3b1[_0x547303])&&(_0x51b973=(_0x333f33?_0x343adf(_0x8c3ad9,_0x3d6825,_0x51b973):_0x343adf(_0x51b973))||_0x51b973);return _0x333f33&&_0x51b973&&_0x19ca88(_0x8c3ad9,_0x3d6825,_0x51b973),_0x51b973;},_0x206e9f=(_0x5aebbe,_0x19bd2f)=>(_0x46074b,_0x5bbed3)=>_0x19bd2f(_0x46074b,_0x5bbed3,_0x5aebbe);const _0x315233=0x12c,_0x4c5155=0x64,_0x197a7f=()=>{let _0x4a050a=[],_0xbfc3f6=!0x1;return _0x4ebca2=>{const _0x343b50=_0x50cf;_0x4a050a[_0x343b50(0x196)](_0x4ebca2),_0xbfc3f6||(_0xbfc3f6=!0x0,setTimeout(()=>{const _0x3cfef2=_0x343b50;_0x4a050a[_0x3cfef2(0x5e8)](_0x382faf=>_0x382faf()),_0x4a050a=[],_0xbfc3f6=!0x1;}));};};let _0x455da9=class extends _0x5a20c3[_0x494bb3(0x3ed)]{constructor(_0x4ec8f1,_0x2866cd,_0xbb2375,_0x259155,_0x2c8b0a,_0x1385a7,_0x52effc,_0x17ffe2){const _0x19d775=_0x494bb3;super(),_0x3ed524(this,_0x19d775(0x3e2),!0x1),_0x3ed524(this,'_init',!0x1),_0x3ed524(this,_0x19d775(0x51f),new _0x32bae4[(_0x19d775(0x55c))](new Map())),_0x3ed524(this,_0x19d775(0x438),this[_0x19d775(0x51f)][_0x19d775(0x4fe)]()),_0x3ed524(this,_0x19d775(0x48b),new _0x32bae4[(_0x19d775(0x55c))]([])),_0x3ed524(this,_0x19d775(0x4b4),this[_0x19d775(0x48b)][_0x19d775(0x1d4)](_0x32bae4[_0x19d775(0x16e)](_0x315233))),_0x3ed524(this,_0x19d775(0x33b),_0x5a20c3[_0x19d775(0x4fa)]((_0x470530,_0x24986d)=>{const _0x38c1b4=_0x19d775,_0x2098ce={'eventID':_0x4d11e3[_0x38c1b4(0x213)][_0x38c1b4(0x1ef)],'data':{'unitID':this[_0x38c1b4(0x39f)],'memberID':this[_0x38c1b4(0x1c3)]['getMemberID'](),'selection':_0x4faec2['serializeRangeWithSheet'](_0x470530,_0x24986d['range'])}};this[_0x38c1b4(0x1c3)]['send'](_0x2098ce,this[_0x38c1b4(0x39f)]);},_0x4c5155)),(this['unitID']=_0x4ec8f1,this[_0x19d775(0x1c3)]=_0x2866cd,this[_0x19d775(0x221)]=_0xbb2375,this['_colorAssignService']=_0x259155,this['_memberService']=_0x2c8b0a,this[_0x19d775(0x4a7)]=_0x1385a7,this['_commandService']=_0x52effc,this['_refRangeService']=_0x17ffe2);}get[_0x494bb3(0x4a8)](){const _0x550b4c=_0x494bb3;return this[_0x550b4c(0x51f)][_0x550b4c(0x532)]();}get[_0x494bb3(0x5db)](){const _0x154ecc=_0x494bb3;return this['_roomMembers$'][_0x154ecc(0x532)]();}[_0x494bb3(0x173)](){const _0x4484ab=_0x494bb3;super['dispose'](),this[_0x4484ab(0x51f)][_0x4484ab(0x5dd)](new Map()),this[_0x4484ab(0x51f)][_0x4484ab(0x548)](),this[_0x4484ab(0x48b)][_0x4484ab(0x5dd)]([]),this['_roomMembers$'][_0x4484ab(0x548)]();}[_0x494bb3(0x4bc)](){const _0x5e8503=_0x494bb3;this[_0x5e8503(0x298)]||(this[_0x5e8503(0x298)]=!0x0,this[_0x5e8503(0x1c3)]['sessionStatus$']['pipe'](_0x32bae4[_0x5e8503(0x1d1)](this[_0x5e8503(0x5af)]))[_0x5e8503(0x38d)](_0x12d0a7=>{const _0x22b51f=_0x5e8503;_0x12d0a7===_0x5f2a52[_0x22b51f(0x5c1)]?this[_0x22b51f(0x522)]():this[_0x22b51f(0x27b)]();}),this[_0x5e8503(0x1c3)][_0x5e8503(0x5f6)][_0x5e8503(0x1d4)](_0x32bae4['takeUntil'](this[_0x5e8503(0x5af)]))['subscribe'](_0x48330b=>{const _0xbeceb8=_0x5e8503,_0x48baa7=_0x48330b['eventID'];_0x48baa7===_0x4d11e3['CollaborationEvent'][_0xbeceb8(0x1ef)]&&this[_0xbeceb8(0x2ee)](_0x48330b),_0x48baa7===_0x4d11e3[_0xbeceb8(0x213)]['USERS_LEAVE']&&this['_onCursorDelete'](_0x48330b);}),this[_0x5e8503(0x346)](),this[_0x5e8503(0x385)](this[_0x5e8503(0x2e5)][_0x5e8503(0x2b9)](_0xb4f5ab=>{const _0x25f17a=_0x5e8503;if(this[_0x25f17a(0x3e2)]&&_0xb4f5ab['id']===_0x66e3f4[_0x25f17a(0x1b9)]['id']&&_0xb4f5ab[_0x25f17a(0x542)]['unitId']===this['unitID']){const _0x7b72a5=_0xb4f5ab[_0x25f17a(0x542)];this['_updateLocalCursor'](_0x7b72a5['subUnitId'],_0x7b72a5[_0x25f17a(0x466)][0x0]);}})));}['_onCursorUpdate'](_0x26aee8){const _0x4047f1=_0x494bb3;var _0x150337,_0x2a55eb;const {memberID:_0x302cbe,selection:_0x4a08c8}=_0x26aee8['data'],{sheetName:_0x259bff,range:_0x2f61ac}=_0x4faec2[_0x4047f1(0x204)](_0x4a08c8),_0x5df96f={'name':(_0x2a55eb=(_0x150337=this[_0x4047f1(0x32d)][_0x4047f1(0x600)](this[_0x4047f1(0x39f)],_0x302cbe))==null?void 0x0:_0x150337[_0x4047f1(0x190)])!=null?_0x2a55eb:'Unknown\x20user','range':this['_getMergeRange'](_0x259bff,_0x2f61ac),'sheetID':_0x259bff,'color':this['_colorAssignService'][_0x4047f1(0x2f6)](_0x302cbe),'selection':_0x4a08c8},_0x2a0bee=this[_0x4047f1(0x4a8)];_0x2a0bee['set'](_0x302cbe,_0x5df96f),this[_0x4047f1(0x51f)]['next'](_0x2a0bee);}[_0x494bb3(0x534)](_0x683f5e){const _0x1b03f4=_0x494bb3,{memberID:_0x33848a}=_0x683f5e[_0x1b03f4(0x5a3)],_0x341be2=this[_0x1b03f4(0x4a8)];_0x341be2[_0x1b03f4(0x43d)](_0x33848a),this[_0x1b03f4(0x51f)][_0x1b03f4(0x5dd)](_0x341be2);}['_getMergeRange'](_0x47f00b,_0x7949e8){const _0x18948d=_0x494bb3;var _0x65c266,_0x14b1b6;const _0x325cd4=(_0x14b1b6=(_0x65c266=this[_0x18948d(0x4a7)]['getUniverSheetInstance'](this[_0x18948d(0x39f)]))==null?void 0x0:_0x65c266[_0x18948d(0x3ea)](_0x47f00b))==null?void 0x0:_0x14b1b6['getMergeData']();return(_0x325cd4==null?void 0x0:_0x325cd4[_0x18948d(0x4d4)](_0x26b15d=>_0x5a20c3['Rectangle']['contains'](_0x26b15d,_0x7949e8)))||_0x7949e8;}[_0x494bb3(0x346)](){const _0x507143=_0x494bb3,_0x187df1=new _0x5a20c3[(_0x507143(0x3f8))](),_0x3db10d=_0x197a7f(),_0x2cc50f=()=>{const _0x55cdc9=_0x507143;_0x187df1[_0x55cdc9(0x173)]();const _0x554365=(_0x5c3b44,_0x363b24,_0x446eeb,_0x58b295)=>{const _0x28e1db=_0x55cdc9;let _0x43d325=[];switch(_0x5c3b44['id']){case _0x66e3f4['EffectRefRangId']['DeleteRangeMoveLeftCommandId']:{_0x43d325=_0x66e3f4[_0x28e1db(0x3a6)](_0x5c3b44,_0x58b295);break;}case _0x66e3f4['EffectRefRangId'][_0x28e1db(0x4f7)]:{_0x43d325=_0x66e3f4['handleDeleteRangeMoveUp'](_0x5c3b44,_0x58b295);break;}case _0x66e3f4[_0x28e1db(0x471)]['InsertColCommandId']:{_0x43d325=_0x66e3f4[_0x28e1db(0x18b)](_0x5c3b44,_0x58b295);break;}case _0x66e3f4[_0x28e1db(0x471)][_0x28e1db(0x5a5)]:{_0x43d325=_0x66e3f4[_0x28e1db(0x24e)](_0x5c3b44,_0x58b295);break;}case _0x66e3f4[_0x28e1db(0x471)]['InsertRangeMoveRightCommandId']:{_0x43d325=_0x66e3f4[_0x28e1db(0x43e)](_0x5c3b44,_0x58b295);break;}case _0x66e3f4[_0x28e1db(0x471)]['InsertRowCommandId']:{_0x43d325=_0x66e3f4[_0x28e1db(0x3dc)](_0x5c3b44,_0x58b295);break;}case _0x66e3f4[_0x28e1db(0x471)][_0x28e1db(0x4fc)]:{_0x43d325=_0x66e3f4['handleMoveRange'](_0x5c3b44,_0x58b295);break;}case _0x66e3f4[_0x28e1db(0x471)]['RemoveColCommandId']:{_0x43d325=_0x66e3f4[_0x28e1db(0x4ff)](_0x5c3b44,_0x58b295);break;}case _0x66e3f4[_0x28e1db(0x471)][_0x28e1db(0x223)]:{_0x43d325=_0x66e3f4[_0x28e1db(0x256)](_0x5c3b44,_0x58b295);break;}}const _0x4c1664=_0x66e3f4['runRefRangeMutations'](_0x43d325,_0x58b295),_0x30c909=this[_0x28e1db(0x4a8)][_0x28e1db(0x537)](_0x363b24);if(_0x30c909&&_0x4c1664){const _0xe54adf={..._0x30c909,'range':_0x4c1664};this['cursorInfo']['set'](_0x363b24,_0xe54adf),_0x3db10d(()=>{const _0x3321ab=_0x28e1db,_0x57a7bd=this['_refRangeService'][_0x3321ab(0x2e1)](_0x4c1664,_0x3ef79d=>(_0x57a7bd[_0x3321ab(0x173)](),_0x554365(_0x3ef79d,_0x363b24,_0x446eeb,_0x4c1664)));_0x187df1[_0x3321ab(0x492)](_0x57a7bd);});}return{'redos':[],'undos':[]};};this[_0x55cdc9(0x4a8)]['forEach']((_0x5d99ce,_0x21c62b)=>{const _0x40d707=_0x55cdc9,{range:_0x54f577,sheetID:_0x1d77a0}=_0x5d99ce,_0x2551bb=this[_0x40d707(0x5b8)][_0x40d707(0x2e1)](_0x54f577,_0x16350f=>(_0x2551bb[_0x40d707(0x173)](),_0x554365(_0x16350f,_0x21c62b,_0x1d77a0,_0x54f577)));_0x187df1[_0x40d707(0x492)](_0x2551bb);});};this['disposeWithMe'](_0x5a20c3['toDisposable'](this[_0x507143(0x51f)]['subscribe'](()=>{_0x2cc50f();})));}['_toggleOnline'](){const _0xf95ba4=_0x494bb3;var _0xa50414,_0x14030f;if(this[_0xf95ba4(0x3e2)]=!0x0,((_0xa50414=this[_0xf95ba4(0x4a7)][_0xf95ba4(0x189)]())==null?void 0x0:_0xa50414[_0xf95ba4(0x4dc)]())!==this[_0xf95ba4(0x39f)])return;const _0x307abb=(_0x14030f=this[_0xf95ba4(0x221)][_0xf95ba4(0x537)](_0x66e3f4[_0xf95ba4(0x3d6)])[_0xf95ba4(0x593)]())==null?void 0x0:_0x14030f[0x0],_0x56688b=this[_0xf95ba4(0x4a7)][_0xf95ba4(0x42f)](_0x5a20c3['UniverInstanceType'][_0xf95ba4(0x329)])['getActiveSheet']();_0x307abb&&_0x56688b&&this[_0xf95ba4(0x33b)](_0x56688b['getSheetId'](),_0x307abb);}['_toggleOffline'](){const _0x11dcb2=_0x494bb3;this[_0x11dcb2(0x3e2)]=!0x1;}};_0x455da9=_0x1200bc([_0x206e9f(0x2,_0x5a20c3[_0x494bb3(0x57c)](_0x5a20c3['Injector'])),_0x206e9f(0x3,_0x5a20c3[_0x494bb3(0x57c)](_0x174ccb)),_0x206e9f(0x4,_0x5a20c3[_0x494bb3(0x57c)](_0x38d423[_0x494bb3(0x30c)])),_0x206e9f(0x5,_0x5a20c3[_0x494bb3(0x17e)]),_0x206e9f(0x6,_0x5a20c3[_0x494bb3(0x39a)]),_0x206e9f(0x7,_0x5a20c3['Inject'](_0x66e3f4[_0x494bb3(0x43c)]))],_0x455da9);var _0x28b6b9=Object[_0x494bb3(0x5f8)],_0x20485e=Object[_0x494bb3(0x51e)],_0x5526f0=(_0x2852ca,_0x123c7c,_0x492803,_0x2805d8)=>{for(var _0x3bdb1f=_0x2805d8>0x1?void 0x0:_0x2805d8?_0x20485e(_0x123c7c,_0x492803):_0x123c7c,_0x56a520=_0x2852ca['length']-0x1,_0x55ab01;_0x56a520>=0x0;_0x56a520--)(_0x55ab01=_0x2852ca[_0x56a520])&&(_0x3bdb1f=(_0x2805d8?_0x55ab01(_0x123c7c,_0x492803,_0x3bdb1f):_0x55ab01(_0x3bdb1f))||_0x3bdb1f);return _0x2805d8&&_0x3bdb1f&&_0x28b6b9(_0x123c7c,_0x492803,_0x3bdb1f),_0x3bdb1f;},_0x10e906=(_0xa91b68,_0x8d4b6f)=>(_0x4b737e,_0x3d5412)=>_0x8d4b6f(_0x4b737e,_0x3d5412,_0xa91b68);let _0x36312d=class extends _0x5a20c3[_0x494bb3(0x3ed)]{constructor(_0x473bde,_0xaf87e0,_0x62322b){const _0x1da12f=_0x494bb3;super(),_0x3ed524(this,_0x1da12f(0x4da),new Map()),_0x3ed524(this,_0x1da12f(0x17a),new _0x32bae4[(_0x1da12f(0x20b))]()),(this[_0x1da12f(0x4a7)]=_0x473bde,this[_0x1da12f(0x221)]=_0xaf87e0,this[_0x1da12f(0x50c)]=_0x62322b,this[_0x1da12f(0x298)]());}[_0x494bb3(0x173)](){const _0x44b7f3=_0x494bb3;super[_0x44b7f3(0x173)](),this[_0x44b7f3(0x17a)][_0x44b7f3(0x548)](),this[_0x44b7f3(0x4da)][_0x44b7f3(0x5e8)](_0x52dd90=>_0x52dd90[_0x44b7f3(0x173)]());}[_0x494bb3(0x1c0)](_0xf168c9){const _0x498dbc=_0x494bb3;return this[_0x498dbc(0x4da)][_0x498dbc(0x4a3)](_0xf168c9)?this[_0x498dbc(0x4da)][_0x498dbc(0x537)](_0xf168c9)['cursorInfo$']:this[_0x498dbc(0x17a)][_0x498dbc(0x1d4)](_0x32bae4[_0x498dbc(0x264)](_0xc2b799=>_0xc2b799[_0x498dbc(0x39f)]===_0xf168c9),_0x32bae4[_0x498dbc(0x3b2)](_0x211c39=>_0x211c39['cursorInfo$']));}[_0x494bb3(0x298)](){const _0x248a13=_0x494bb3;this[_0x248a13(0x4a7)][_0x248a13(0x465)](_0x5a20c3['UniverInstanceType'][_0x248a13(0x329)])[_0x248a13(0x1d4)](_0x32bae4[_0x248a13(0x1d1)](this[_0x248a13(0x5af)]))[_0x248a13(0x38d)](async _0x3707bf=>{const _0x30e728=_0x248a13,_0x2640d2=_0x3707bf['getUnitId'](),_0x8bb756=await this[_0x30e728(0x219)](_0x2640d2);this[_0x30e728(0x17a)][_0x30e728(0x5dd)](_0x8bb756),this['_entities']['set'](_0x2640d2,_0x8bb756);}),this[_0x248a13(0x4a7)][_0x248a13(0x465)](_0x5a20c3[_0x248a13(0x4c5)][_0x248a13(0x512)])['pipe'](_0x32bae4['takeUntil'](this[_0x248a13(0x5af)]))['pipe'](_0x32bae4[_0x248a13(0x264)](_0x1f654a=>!_0x1f654a['getUnitId']()['startsWith']('__')))[_0x248a13(0x38d)](async _0x53f67f=>{const _0x54a174=_0x248a13,_0x2ac87d=_0x53f67f[_0x54a174(0x4dc)](),_0x10005c=await this[_0x54a174(0x1b6)](_0x2ac87d);this[_0x54a174(0x17a)][_0x54a174(0x5dd)](_0x10005c),this[_0x54a174(0x4da)][_0x54a174(0x33d)](_0x2ac87d,_0x10005c);}),_0x32bae4[_0x248a13(0x3fc)](this['_univerInstanceService'][_0x248a13(0x5f4)](_0x5a20c3[_0x248a13(0x4c5)][_0x248a13(0x512)]),this[_0x248a13(0x4a7)][_0x248a13(0x5f4)](_0x5a20c3[_0x248a13(0x4c5)][_0x248a13(0x329)]))[_0x248a13(0x1d4)](_0x32bae4['takeUntil'](this[_0x248a13(0x5af)]))['subscribe'](_0x1865cb=>{const _0x167083=_0x248a13,_0x188ac6=_0x1865cb[_0x167083(0x4dc)](),_0x3e48e3=this[_0x167083(0x4da)][_0x167083(0x537)](_0x188ac6);_0x3e48e3&&(_0x3e48e3[_0x167083(0x173)](),this[_0x167083(0x4da)]['delete'](_0x188ac6));});}async[_0x494bb3(0x219)](_0x547f40){const _0x243024=_0x494bb3,_0x1d4ada=await this['_collabSessionService'][_0x243024(0x3b7)](_0x547f40),_0x4aeb3a=this[_0x243024(0x221)][_0x243024(0x566)](_0x455da9,_0x547f40,_0x1d4ada);return _0x4aeb3a[_0x243024(0x4bc)](),_0x4aeb3a;}async[_0x494bb3(0x1b6)](_0x39a550){const _0x129a6f=_0x494bb3,_0x40e587=await this[_0x129a6f(0x50c)][_0x129a6f(0x3b7)](_0x39a550),_0x450d35=this[_0x129a6f(0x221)]['createInstance'](_0x2f4723,_0x39a550,_0x40e587);return _0x450d35[_0x129a6f(0x4bc)](),_0x450d35;}};_0x36312d=_0x5526f0([_0x10e906(0x0,_0x5a20c3[_0x494bb3(0x17e)]),_0x10e906(0x1,_0x5a20c3[_0x494bb3(0x57c)](_0x5a20c3[_0x494bb3(0x596)])),_0x10e906(0x2,_0x5a20c3[_0x494bb3(0x57c)](_0x38d423[_0x494bb3(0x1a9)]))],_0x36312d);const _0x23f988=0x14,_0x579133=0xc8,_0x2afb29=0x4,_0x205b2b=0x5;function _0x3e2f50(_0x4859bb,_0x1bbf9a){const _0x21d4bd=_0x494bb3;let {radius:_0x481cd8,width:_0x1de9bb,height:_0x46ece0}=_0x1bbf9a;_0x481cd8=_0x481cd8!=null?_0x481cd8:0x0,_0x1de9bb=_0x1de9bb!=null?_0x1de9bb:0x1e,_0x46ece0=_0x46ece0!=null?_0x46ece0:0x1e;let _0x54e64f=0x0,_0x35338d=0x0,_0x42e0fe=0x0;_0x54e64f=_0x35338d=_0x42e0fe=Math[_0x21d4bd(0x22a)](_0x481cd8,_0x1de9bb/0x2,_0x46ece0/0x2),_0x4859bb['beginPath'](),_0x4859bb['moveTo'](_0x54e64f,0x0),_0x4859bb[_0x21d4bd(0x168)](_0x1de9bb-_0x35338d,0x0),_0x4859bb['arc'](_0x1de9bb-_0x35338d,_0x35338d,_0x35338d,Math['PI']*0x3/0x2,0x0,!0x1),_0x4859bb[_0x21d4bd(0x168)](_0x1de9bb,_0x46ece0-_0x42e0fe),_0x4859bb[_0x21d4bd(0x493)](_0x1de9bb-_0x42e0fe,_0x46ece0-_0x42e0fe,_0x42e0fe,0x0,Math['PI']/0x2,!0x1),_0x4859bb[_0x21d4bd(0x168)](0x0,_0x46ece0),_0x4859bb[_0x21d4bd(0x168)](0x0,_0x54e64f),_0x4859bb[_0x21d4bd(0x493)](_0x54e64f,_0x54e64f,_0x54e64f,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x4859bb[_0x21d4bd(0x5f9)](),_0x1bbf9a['fill']&&(_0x4859bb[_0x21d4bd(0x3c3)](),_0x4859bb['fillStyle']=_0x1bbf9a[_0x21d4bd(0x2a9)],_0x1bbf9a[_0x21d4bd(0x3e6)]===_0x21d4bd(0x432)?_0x4859bb[_0x21d4bd(0x2a9)](_0x21d4bd(0x432)):_0x4859bb[_0x21d4bd(0x2a9)](),_0x4859bb[_0x21d4bd(0x538)]());}class _0x117ccd extends _0x5c31a6['Shape']{constructor(_0x11b354,_0x41f137){const _0x39c8dd=_0x494bb3;super(_0x11b354,_0x41f137),_0x3ed524(this,_0x39c8dd(0x28e)),_0x3ed524(this,_0x39c8dd(0x506)),(this['color']=_0x41f137==null?void 0x0:_0x41f137[_0x39c8dd(0x28e)],this[_0x39c8dd(0x506)]=_0x41f137==null?void 0x0:_0x41f137[_0x39c8dd(0x506)]);}static[_0x494bb3(0x2cd)](_0x526be9,_0xad46dc){const _0x59d9c3=_0x494bb3,{text:_0x310886,color:_0x1e79ba}=_0xad46dc;_0x526be9['save'](),_0x526be9[_0x59d9c3(0x275)]=_0x59d9c3(0x377);const _0x365578=_0x526be9[_0x59d9c3(0x1bc)](_0x310886)[_0x59d9c3(0x263)],_0x56ded6=Math['min'](_0x365578+0x2*_0x2afb29,_0x579133);_0x3e2f50(_0x526be9,{'height':_0x23f988,'radius':0x4,'width':_0x56ded6,'fill':_0x1e79ba,'evented':!0x1}),_0x526be9[_0x59d9c3(0x33a)]=_0x59d9c3(0x266);const _0x5d9919=_0x2afb29,_0x7c947b=_0x23f988-_0x205b2b,_0x425238=_0x579133-0x2*_0x2afb29;if(_0x365578>_0x425238){let _0x5b405e='',_0x48b9cc=0x0;for(const _0x1ce76e of _0x310886){const _0x229c3b=_0x526be9['measureText'](_0x1ce76e)[_0x59d9c3(0x263)];if(_0x48b9cc+_0x229c3b<=_0x425238-_0x526be9[_0x59d9c3(0x1bc)](_0x59d9c3(0x31d))[_0x59d9c3(0x263)])_0x5b405e+=_0x1ce76e,_0x48b9cc+=_0x229c3b;else{_0x5b405e+=_0x59d9c3(0x31d);break;}}_0x526be9['fillText'](_0x5b405e,_0x5d9919,_0x7c947b);}else _0x526be9['fillText'](_0x310886,_0x5d9919,_0x7c947b);_0x526be9['restore']();}[_0x494bb3(0x267)](_0x51d73b){const _0x2bbf21=_0x494bb3;_0x117ccd[_0x2bbf21(0x2cd)](_0x51d73b,this);}}const _0xe693de=_0x494bb3(0x4ed),_0x1060fc=_0x494bb3(0x4ea),_0x159b8b=_0x494bb3(0x423),_0x232754=0x6,_0x232410=1.5,_0x44d664=0x4,_0x3ef0c6=1.5,_0x4ad54d='rgba(255,\x20255,\x20255,\x200.01)';class _0x59ef96{constructor(_0x263682,_0x38f3d8,_0x1e3d5d,_0x14a7d4){const _0x2ea7b1=_0x494bb3;_0x3ed524(this,_0x2ea7b1(0x4e1),[]),_0x3ed524(this,_0x2ea7b1(0x490),null),_0x3ed524(this,_0x2ea7b1(0x5f7),null),_0x3ed524(this,'_anchorDot',null),_0x3ed524(this,_0x2ea7b1(0x2ff),null),_0x3ed524(this,'_eventUnsubscribe',null),(this[_0x2ea7b1(0x425)]=_0x263682,this['_scene']=_0x38f3d8,this[_0x2ea7b1(0x504)]=_0x1e3d5d,this['_document']=_0x14a7d4,this[_0x2ea7b1(0x3cb)]());}set[_0x494bb3(0x5a1)](_0x3106ed){const _0x45c50f=_0x494bb3;_0x3106ed?(this[_0x45c50f(0x1f9)]&&this[_0x45c50f(0x1f9)]['hide'](),this[_0x45c50f(0x5f7)]&&this[_0x45c50f(0x5f7)][_0x45c50f(0x478)]()):(this[_0x45c50f(0x1f9)]&&this[_0x45c50f(0x1f9)][_0x45c50f(0x478)](),this[_0x45c50f(0x5f7)]&&this[_0x45c50f(0x5f7)][_0x45c50f(0x246)]());}[_0x494bb3(0x173)](){const _0x17977f=_0x494bb3;for(const _0x16009a of this[_0x17977f(0x4e1)])_0x16009a[_0x17977f(0x173)]();this[_0x17977f(0x5f7)]&&this[_0x17977f(0x5f7)][_0x17977f(0x173)](),this[_0x17977f(0x1f9)]&&this[_0x17977f(0x1f9)][_0x17977f(0x173)](),this['_anchor']&&this[_0x17977f(0x490)][_0x17977f(0x173)](),this[_0x17977f(0x2ce)]&&this[_0x17977f(0x2ce)]();}[_0x494bb3(0x3cb)](){const _0x4e2d47=_0x494bb3;var _0x40e54e;const {_docSkeleton:_0x453497,_document:_0x2bc507}=this,{color:_0x304f25,name:_0x4942f6,ranges:_0x3b5f26}=this[_0x4e2d47(0x425)],_0x476244=_0x2bc507['getOffsetConfig'](),{docsLeft:_0x444784,docsTop:_0x1934f3}=_0x476244,_0x303a01=new _0xe07534[(_0x4e2d47(0x3d5))](_0x476244,_0x453497);for(const {startOffset:_0x3b31cb,endOffset:_0x25367b,rangeType:_0x39e4fe,segmentId:_0xea4de7,segmentPage:_0x300628,collapsed:_0x24f4d6,isActive:_0x354a82}of _0x3b5f26){const _0x429093=_0x453497['findNodePositionByCharIndex'](_0x3b31cb,!0x0,_0xea4de7,_0x300628);let _0x36dd5f=_0x453497[_0x4e2d47(0x39b)](_0x25367b,!0x0,_0xea4de7,_0x300628);if(_0x36dd5f==null&&(_0x36dd5f=_0x453497['findNodePositionByCharIndex'](_0x25367b-0x1,!0x1,_0xea4de7,_0x300628)),_0x354a82){const {contentBoxPointGroup:_0x42a7ed}=_0x303a01[_0x4e2d47(0x1f5)](_0x36dd5f,_0x36dd5f);if(_0x42a7ed[_0x4e2d47(0x5aa)]===0x0)continue;this[_0x4e2d47(0x1f2)](_0x304f25,_0x42a7ed,_0x444784,_0x1934f3,_0x4942f6),this[_0x4e2d47(0x2ce)]=this[_0x4e2d47(0x4b2)]();}if(!_0x24f4d6&&_0x429093&&_0x36dd5f){if(_0x39e4fe===_0x5a20c3[_0x4e2d47(0x244)][_0x4e2d47(0x1d5)]){const _0xca3916=new _0xe07534[(_0x4e2d47(0x43a))](_0x476244,_0x453497),{pointGroup:_0x3f27dd}=(_0x40e54e=_0xca3916[_0x4e2d47(0x1f5)](_0x429093,_0x36dd5f))!=null?_0x40e54e:{};if(_0x3f27dd==null||_0x3f27dd[_0x4e2d47(0x5aa)]===0x0)continue;this['_drawRectRange'](_0x304f25,_0x3f27dd,_0x444784,_0x1934f3);}else{const {borderBoxPointGroup:_0x2aa694}=_0x303a01[_0x4e2d47(0x1f5)](_0x429093,_0x36dd5f);if(_0x2aa694[_0x4e2d47(0x5aa)]===0x0)continue;this[_0x4e2d47(0x278)](_0x304f25,_0x2aa694,_0x444784,_0x1934f3);}}}}[_0x494bb3(0x1f2)](_0x2e0de7,_0x39e3ac,_0x512728,_0x4762ef,_0x9a94bc){const _0xbc251c=_0x494bb3,_0x7c5106=this[_0xbc251c(0x352)](_0x39e3ac),{left:_0x214de5,top:_0x1f609d,height:_0x3820a1}=_0x7c5106,_0x592be4=this[_0xbc251c(0x248)](),_0x3839e0=_0x3ef0c6/_0x592be4,_0x59fb50=new _0x5c31a6[(_0xbc251c(0x56a))](_0xe693de+_0x5a20c3[_0xbc251c(0x5ad)][_0xbc251c(0x310)](_0x232754),{'left':_0x214de5+_0x512728-_0x3839e0,'top':_0x1f609d+_0x4762ef,'height':_0x3820a1,'width':_0x232410,'fill':_0x2e0de7||_0x5c31a6[_0xbc251c(0x4be)](_0x5a20c3[_0xbc251c(0x1cf)][_0xbc251c(0x199)],0x0),'strokeWidth':_0x3839e0,'stroke':_0x4ad54d,'evented':!0x0});this[_0xbc251c(0x490)]=_0x59fb50,this[_0xbc251c(0x5c3)]['addObject'](_0x59fb50,_0xe07534[_0xbc251c(0x551)]);const _0x1b8ab3=new _0x5c31a6['Rect'](_0xe693de+_0x5a20c3[_0xbc251c(0x5ad)][_0xbc251c(0x310)](_0x232754),{'left':_0x214de5+_0x512728-_0x3839e0,'top':_0x1f609d+_0x4762ef-_0x44d664/0x2,'height':_0x44d664,'width':_0x44d664,'fill':_0x2e0de7||_0x5c31a6[_0xbc251c(0x4be)](_0x5a20c3['COLORS'][_0xbc251c(0x199)],0x0),'strokeWidth':0x0,'stroke':_0x2e0de7||_0x5c31a6[_0xbc251c(0x4be)](_0x5a20c3[_0xbc251c(0x1cf)]['black'],0x0),'evented':!0x1});this[_0xbc251c(0x1f9)]=_0x1b8ab3,this['_scene']['addObject'](_0x1b8ab3,_0xe07534['TEXT_RANGE_LAYER_INDEX']);const _0x50b3a5=new _0x117ccd(_0xe693de+_0x5a20c3[_0xbc251c(0x5ad)]['generateRandomId'](_0x232754),{'left':_0x214de5+_0x512728-_0x3839e0,'top':_0x1f609d+_0x4762ef-_0x23f988,'text':_0x9a94bc,'color':_0x2e0de7});this[_0xbc251c(0x5f7)]=_0x50b3a5,this[_0xbc251c(0x5c3)][_0xbc251c(0x3b6)](_0x50b3a5,_0xe07534['TEXT_RANGE_LAYER_INDEX']),this[_0xbc251c(0x5a1)]=!0x1;}[_0x494bb3(0x4b2)](){const _0x311c46=_0x494bb3,_0x1eeae6=this[_0x311c46(0x490)][_0x311c46(0x32e)][_0x311c46(0x332)](()=>{const _0x1f99e2=_0x311c46;this[_0x1f99e2(0x5a1)]=!0x0;}),_0x6d43ed=this['_anchor']['onPointerLeave$']['subscribeEvent'](()=>{const _0x3c9938=_0x311c46;this['_hideTimer']&&clearTimeout(this['_hideTimer']),this[_0x3c9938(0x2ff)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x3f0910=_0x311c46;_0x1eeae6[_0x3f0910(0x365)](),_0x6d43ed[_0x3f0910(0x365)]();};}['_drawTextRange'](_0x23f109,_0x53c450,_0xa6af03,_0x45b7fc){const _0x911b1d=_0x494bb3,_0x5f5af4=new _0x5a20c3[(_0x911b1d(0x30d))](_0x23f109)[_0x911b1d(0x59e)](0.2)['toRgbString'](),_0xd5092c=new _0x5c31a6[(_0x911b1d(0x50f))](_0x1060fc+_0x5a20c3['Tools'][_0x911b1d(0x310)](_0x232754),{'pointsGroup':_0x53c450,'fill':_0x5f5af4||_0x5c31a6[_0x911b1d(0x4be)](_0x5a20c3[_0x911b1d(0x1cf)][_0x911b1d(0x199)],0.2),'left':_0xa6af03,'top':_0x45b7fc,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x911b1d(0x4e1)][_0x911b1d(0x196)](_0xd5092c),this[_0x911b1d(0x5c3)]['addObject'](_0xd5092c,_0xe07534[_0x911b1d(0x551)]);}[_0x494bb3(0x1a5)](_0x5a6b6a,_0x2ad024,_0x20fe26,_0x17d43a){const _0x5c3e4f=_0x494bb3,_0x27f901=new _0x5a20c3[(_0x5c3e4f(0x30d))](_0x5a6b6a)[_0x5c3e4f(0x59e)](0.2)['toRgbString'](),_0x486f62=new _0x5c31a6[(_0x5c3e4f(0x50f))](_0x159b8b+_0x5a20c3['Tools']['generateRandomId'](_0x232754),{'pointsGroup':_0x2ad024,'fill':_0x27f901||_0x5c31a6['getColor'](_0x5a20c3[_0x5c3e4f(0x1cf)][_0x5c3e4f(0x199)],0.2),'left':_0x20fe26,'top':_0x17d43a,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x5c3e4f(0x196)](_0x486f62),this['_scene'][_0x5c3e4f(0x3b6)](_0x486f62,_0xe07534[_0x5c3e4f(0x551)]);}[_0x494bb3(0x352)](_0x2ae14f){const _0x3566ca=_0x2ae14f[0x0],_0x416178=_0x3566ca[0x0],_0x104bdc=_0x3566ca[0x2],{x:_0x3a0282,y:_0x4771a5}=_0x416178,{x:_0x5ee9d3,y:_0x464c91}=_0x104bdc;return{'left':_0x3a0282,'top':_0x4771a5,'width':_0x5ee9d3-_0x3a0282,'height':_0x464c91-_0x4771a5};}[_0x494bb3(0x248)](){const _0x430dcd=_0x494bb3,{scaleX:_0x54ebfa,scaleY:_0x46a3d7}=this['_scene']['getAncestorScale']();return Math[_0x430dcd(0x547)](_0x54ebfa,_0x46a3d7);}}var _0x2c88b1=Object[_0x494bb3(0x5f8)],_0x245057=Object[_0x494bb3(0x51e)],_0x26d27a=(_0x5a8fa1,_0xa0de22,_0x73e6d7,_0x492fd6)=>{const _0x1facfa=_0x494bb3;for(var _0x41a590=_0x492fd6>0x1?void 0x0:_0x492fd6?_0x245057(_0xa0de22,_0x73e6d7):_0xa0de22,_0x51eccd=_0x5a8fa1[_0x1facfa(0x5aa)]-0x1,_0x1bd0fa;_0x51eccd>=0x0;_0x51eccd--)(_0x1bd0fa=_0x5a8fa1[_0x51eccd])&&(_0x41a590=(_0x492fd6?_0x1bd0fa(_0xa0de22,_0x73e6d7,_0x41a590):_0x1bd0fa(_0x41a590))||_0x41a590);return _0x492fd6&&_0x41a590&&_0x2c88b1(_0xa0de22,_0x73e6d7,_0x41a590),_0x41a590;},_0x1f0166=(_0x5339f5,_0x33ee92)=>(_0x4eec6e,_0x201937)=>_0x33ee92(_0x4eec6e,_0x201937,_0x5339f5);let _0x33ad6d=class extends _0x5a20c3[_0x494bb3(0x3ed)]{constructor(_0xd0aedd,_0x542501,_0xfb126e,_0x1f70ef,_0x1f3864){const _0x4e0a3a=_0x494bb3;super(),_0x3ed524(this,_0x4e0a3a(0x540),[]),_0x3ed524(this,'_cursors',[]),(this['_context']=_0xd0aedd,this[_0x4e0a3a(0x570)]=_0x542501,this[_0x4e0a3a(0x2d7)]=_0xfb126e,this[_0x4e0a3a(0x2e5)]=_0x1f70ef,this[_0x4e0a3a(0x45d)]=_0x1f3864,this['_init']());}[_0x494bb3(0x298)](){const _0xc13ae5=_0x494bb3,_0x465315=this[_0xc13ae5(0x43b)][_0xc13ae5(0x3ef)],_0x5b1006=this['_docSkeletonManagerService'];this[_0xc13ae5(0x385)](_0x32bae4[_0xc13ae5(0x5eb)]([this['_collabCursorController'][_0xc13ae5(0x1c0)](_0x465315),this['_themeService'][_0xc13ae5(0x192)]])[_0xc13ae5(0x1d4)](_0x51e720[_0xc13ae5(0x48f)](([_0x5ebb60,_0x1152fb])=>({'skeleton':_0x5b1006[_0xc13ae5(0x229)](),'cursors':[..._0x5ebb60[_0xc13ae5(0x4f0)]()][_0xc13ae5(0x4b1)](_0x14c741=>({..._0x14c741,'color':_0x1152fb[_0x14c741[_0xc13ae5(0x28e)]]}))})))[_0xc13ae5(0x38d)](_0x589d54=>{const _0x5ad712=_0xc13ae5;if(this['_removeCollabCursors'](),_0x589d54){const {skeleton:_0x1e8644,cursors:_0x2cd42d}=_0x589d54;this[_0x5ad712(0x462)](_0x1e8644,_0x2cd42d);}})),this['_initResize'](),this[_0xc13ae5(0x3b8)]();}['_updateCollabCursors'](_0x1a4a74,_0x3e05f4){const _0x7e3a7b=_0x494bb3,{scene:_0x21e3b7,mainComponent:_0x5da4d6}=this[_0x7e3a7b(0x43b)],_0x52be05=_0x3e05f4['map'](_0x14f841=>new _0x59ef96(_0x14f841,_0x21e3b7,_0x1a4a74,_0x5da4d6));this['_cursorShapes']=_0x52be05,this['_cursors']=_0x3e05f4;}[_0x494bb3(0x2b0)](){const _0x5c030=_0x494bb3;this['_removeCollabCursors']();const {scene:_0x4a4c37,mainComponent:_0x31da83}=this[_0x5c030(0x43b)],_0x2d0442=this['_docSkeletonManagerService']['getSkeleton'](),_0x39b8e8=this[_0x5c030(0x1a7)][_0x5c030(0x48f)](_0x3d7e3e=>new _0x59ef96(_0x3d7e3e,_0x4a4c37,_0x2d0442,_0x31da83));this[_0x5c030(0x540)]=_0x39b8e8;}[_0x494bb3(0x479)](){const _0x59fdaa=_0x494bb3;this[_0x59fdaa(0x540)]['forEach'](_0x5cbb1d=>_0x5cbb1d['dispose']()),this['_cursorShapes']=[];}[_0x494bb3(0x3b8)](){const _0x474536=_0x494bb3,_0x4b2ce2=[_0xe07534[_0x474536(0x19b)]['id']];this['disposeWithMe'](this[_0x474536(0x2e5)][_0x474536(0x2b9)](_0x4bd9c0=>{const _0x536b1f=_0x474536;_0x4b2ce2[_0x536b1f(0x1ae)](_0x4bd9c0['id'])&&_0x4bd9c0[_0x536b1f(0x542)][_0x536b1f(0x3ef)]===this[_0x536b1f(0x43b)][_0x536b1f(0x3ef)]&&this[_0x536b1f(0x2b0)]();}));}[_0x494bb3(0x4c4)](){const _0x5b7fc0=_0x494bb3;this[_0x5b7fc0(0x385)](_0x5a20c3[_0x5b7fc0(0x4db)](this[_0x5b7fc0(0x43b)][_0x5b7fc0(0x2fa)][_0x5b7fc0(0x174)])[_0x5b7fc0(0x1d4)](_0x51e720['filter'](_0x4c003e=>_0x4c003e[_0x5b7fc0(0x351)]===_0x5c31a6[_0x5b7fc0(0x5df)]['resize']),_0x51e720[_0x5b7fc0(0x5a6)](0x10))[_0x5b7fc0(0x38d)](()=>{this['_refreshCollabCursors']();}));}};_0x33ad6d=_0x26d27a([_0x1f0166(0x1,_0x5a20c3[_0x494bb3(0x57c)](_0x458230[_0x494bb3(0x4cf)])),_0x1f0166(0x2,_0x5a20c3[_0x494bb3(0x57c)](_0x36312d)),_0x1f0166(0x3,_0x5a20c3[_0x494bb3(0x39a)]),_0x1f0166(0x4,_0x5a20c3[_0x494bb3(0x57c)](_0x5a20c3[_0x494bb3(0x36b)]))],_0x33ad6d);const _0x4b7218=0x1,_0x489427=1.5;class _0x289d4b extends _0x5c31a6[_0x494bb3(0x3cd)]{constructor(_0x4dbb38,_0x192823){const _0x4a48bc=_0x494bb3;super(_0x4dbb38,_0x192823),_0x3ed524(this,_0x4a48bc(0x576)),_0x3ed524(this,_0x4a48bc(0x508),!0x1),_0x3ed524(this,_0x4a48bc(0x453)),_0x3ed524(this,'_name',''),_0x3ed524(this,'_labelPosition',_0x4a48bc(0x5e6)),_0x3ed524(this,_0x4a48bc(0x431)),(_0x192823&&this['setShapeProps'](_0x192823),this[_0x4a48bc(0x32e)][_0x4a48bc(0x332)](()=>this['setShapeProps']({'hovered':!0x0})),this['onPointerLeave$'][_0x4a48bc(0x332)](()=>this[_0x4a48bc(0x158)]({'hovered':!0x1})));}[_0x494bb3(0x158)](_0x1f0f82){const _0x262b1f=_0x494bb3;var _0x121f54,_0x277254,_0x7a085b,_0x4b00db,_0x5b2802,_0x8b05d0;this[_0x262b1f(0x576)]=(_0x121f54=_0x1f0f82['color'])!=null?_0x121f54:this[_0x262b1f(0x576)],this['_hovered']=(_0x277254=_0x1f0f82[_0x262b1f(0x461)])!=null?_0x277254:this[_0x262b1f(0x508)],this[_0x262b1f(0x453)]=(_0x7a085b=_0x1f0f82[_0x262b1f(0x4a5)])!=null?_0x7a085b:this[_0x262b1f(0x453)],this['_name']=(_0x4b00db=_0x1f0f82[_0x262b1f(0x190)])!=null?_0x4b00db:this[_0x262b1f(0x474)],this[_0x262b1f(0x511)]=(_0x5b2802=_0x1f0f82[_0x262b1f(0x1e7)])!=null?_0x5b2802:this['_labelPosition'],this['_backgroundColor']=(_0x8b05d0=_0x1f0f82['backgroundColor'])!=null?_0x8b05d0:this['_backgroundColor'],this[_0x262b1f(0x303)]({'width':_0x1f0f82[_0x262b1f(0x263)],'height':_0x1f0f82[_0x262b1f(0x5ec)]});}[_0x494bb3(0x584)](_0xa2d8c5){const _0x144bb4=_0x494bb3,{row:_0x36ac43,column:_0x25bdf3}=_0xa2d8c5;if(_0x36ac43>=this[_0x144bb4(0x453)][_0x144bb4(0x1b4)]&&_0x36ac43<=this[_0x144bb4(0x453)][_0x144bb4(0x18a)]&&_0x25bdf3>=this[_0x144bb4(0x453)][_0x144bb4(0x1fd)]&&_0x25bdf3<=this[_0x144bb4(0x453)]['endColumn']){this[_0x144bb4(0x158)]({'hovered':!0x0});return;}this[_0x144bb4(0x158)]({'hovered':!0x1});}['triggerDblclick'](_0x28b3c4){return!0x1;}[_0x494bb3(0x267)](_0x3a9dbf){const _0x519692=_0x494bb3;_0x5c31a6[_0x519692(0x56a)]['drawWith'](_0x3a9dbf,{'width':this['width'],'height':this[_0x519692(0x5ec)],'strokeWidth':_0x489427,'stroke':this[_0x519692(0x576)],'evented':!0x1,'fill':this[_0x519692(0x431)]}),this['_hovered']&&(_0x3a9dbf['save'](),_0x3a9dbf[_0x519692(0x408)](0x1,0x0,0x0,0x1,this[_0x519692(0x263)],this['_labelPosition']===_0x519692(0x38a)?0x0:-_0x23f988),_0x117ccd[_0x519692(0x2cd)](_0x3a9dbf,{'text':this[_0x519692(0x474)],'color':this[_0x519692(0x576)]}),_0x3a9dbf[_0x519692(0x538)]());}}var _0x2f3d78=Object[_0x494bb3(0x5f8)],_0x45d5ff=Object['getOwnPropertyDescriptor'],_0x4d13f=(_0x33c73a,_0xe749e7,_0x2582ac,_0x230140)=>{const _0x2a6e01=_0x494bb3;for(var _0x15a471=_0x230140>0x1?void 0x0:_0x230140?_0x45d5ff(_0xe749e7,_0x2582ac):_0xe749e7,_0x17ba56=_0x33c73a[_0x2a6e01(0x5aa)]-0x1,_0x15bfbb;_0x17ba56>=0x0;_0x17ba56--)(_0x15bfbb=_0x33c73a[_0x17ba56])&&(_0x15a471=(_0x230140?_0x15bfbb(_0xe749e7,_0x2582ac,_0x15a471):_0x15bfbb(_0x15a471))||_0x15a471);return _0x230140&&_0x15a471&&_0x2f3d78(_0xe749e7,_0x2582ac,_0x15a471),_0x15a471;},_0xc2358a=(_0x288104,_0x1033e6)=>(_0x44ada8,_0x4183f9)=>_0x1033e6(_0x44ada8,_0x4183f9,_0x288104);const _0x317bd8=0x1389;let _0x4777ba=class extends _0x5a20c3[_0x494bb3(0x3ed)]{constructor(_0x2a2c7f,_0x2343cd,_0x3752fd,_0xa6472d){const _0x27abb7=_0x494bb3;super(),_0x3ed524(this,_0x27abb7(0x1a7),new Set()),_0x3ed524(this,_0x27abb7(0x3a2),null),(this[_0x27abb7(0x43b)]=_0x2a2c7f,this[_0x27abb7(0x36a)]=_0x2343cd,this[_0x27abb7(0x2d7)]=_0x3752fd,this['_themeService']=_0xa6472d,this[_0x27abb7(0x298)]());}[_0x494bb3(0x298)](){const _0x1c2de8=_0x494bb3;this['_sheetSkeletonManagerService'][_0x1c2de8(0x273)]['pipe'](_0x51e720[_0x1c2de8(0x1d1)](this['dispose$']),_0x51e720[_0x1c2de8(0x3b2)](_0x153a3e=>{const _0x715960=_0x1c2de8;if(_0x153a3e){const _0x4808c7=_0x153a3e[_0x715960(0x559)];return _0x32bae4['combineLatest'](this[_0x715960(0x2d7)][_0x715960(0x1c0)](this[_0x715960(0x43b)][_0x715960(0x3ef)]),this['_themeService'][_0x715960(0x192)])[_0x715960(0x1d4)](_0x51e720[_0x715960(0x48f)](([_0x2547d9,_0xfeee7d])=>{const _0xffa28e=_0x715960,_0x24b617=new Map();return _0x2547d9[_0xffa28e(0x5e8)]((_0x378e2b,_0x4c7446)=>{const _0x2b2be8=_0xffa28e;if(_0x378e2b[_0x2b2be8(0x495)]===_0x4808c7){const _0x5a89e2={..._0x378e2b};_0x5a89e2[_0x2b2be8(0x28e)]=_0xfeee7d[_0x378e2b[_0x2b2be8(0x28e)]],_0x24b617['set'](_0x4c7446,_0x5a89e2);}}),{'skeleton':_0x153a3e,'cursors':_0x24b617};}));}return _0x32bae4['of']({'skeleton':null,'cursors':new Map()});}))[_0x1c2de8(0x38d)](({skeleton:_0x296846,cursors:_0x36c290})=>{const _0x10ea16=_0x1c2de8;this[_0x10ea16(0x479)](),_0x296846&&this[_0x10ea16(0x462)](_0x296846,_0x36c290);}),this[_0x1c2de8(0x36a)][_0x1c2de8(0x273)][_0x1c2de8(0x38d)](_0xdc2f53=>{const _0x560d00=_0x1c2de8;if(_0xdc2f53==null)return;const {skeleton:_0xef2924}=_0xdc2f53,{scene:_0x11c857}=this[_0x560d00(0x43b)];_0x11c857[_0x560d00(0x22c)][_0x560d00(0x332)](_0x5a20c3[_0x560d00(0x4fa)](_0x50bd46=>{const _0x5b1ed0=_0x560d00;var _0x2cf167,_0x7cc44b;const {offsetX:_0xe6229e,offsetY:_0x2964e4}=_0x50bd46,{x:_0x2d568e,y:_0x268ea4}=_0x11c857[_0x5b1ed0(0x235)](_0x5c31a6['Vector2']['FromArray']([_0xe6229e,_0x2964e4])),{scaleX:_0x111778,scaleY:_0x4a8d93}=_0x11c857[_0x5b1ed0(0x31b)](),_0x1bda75=_0x11c857[_0x5b1ed0(0x29b)](_0x194a78[_0x5b1ed0(0x533)][_0x5b1ed0(0x499)]),_0x16542b=_0x11c857['getVpScrollXYInfoByPosToVp'](_0x5c31a6[_0x5b1ed0(0x577)][_0x5b1ed0(0x5c5)]([_0x2d568e,_0x268ea4]),_0x1bda75),_0x143cf5=_0xef2924['getCellPositionByOffset'](_0xe6229e,_0x2964e4,_0x111778,_0x4a8d93,_0x16542b);((_0x2cf167=this[_0x5b1ed0(0x3a2)])==null?void 0x0:_0x2cf167['column'])===_0x143cf5[_0x5b1ed0(0x3a8)]&&((_0x7cc44b=this['_lastPointer'])==null?void 0x0:_0x7cc44b[_0x5b1ed0(0x300)])===_0x143cf5[_0x5b1ed0(0x300)]||this[_0x5b1ed0(0x1a7)][_0x5b1ed0(0x5e8)](_0xc71a4c=>{_0xc71a4c['onMouseMove'](_0x143cf5);});},0x64));});}[_0x494bb3(0x462)](_0x2b5241,_0x5a2f7d){const _0x2bb0b1=_0x494bb3;var _0x1c487d;const _0x577ad5=(_0x1c487d=this[_0x2bb0b1(0x36a)][_0x2bb0b1(0x4b8)]())==null?void 0x0:_0x1c487d[_0x2bb0b1(0x475)];if(!_0x577ad5)return;const _0x82aad5=this[_0x2bb0b1(0x463)]();if(!_0x82aad5)return;this[_0x2bb0b1(0x1a7)][_0x2bb0b1(0x5e8)](_0x4692d2=>{const _0x10b70b=_0x2bb0b1;_0x4692d2[_0x10b70b(0x350)]();});const {scene:_0x4a8e63}=_0x82aad5,_0x496637=_0x66426c(Array['from'](_0x5a2f7d[_0x2bb0b1(0x4f0)]()))[_0x2bb0b1(0x48f)](_0x386352=>{const _0x5a6e0b=_0x2bb0b1,{color:_0x32dd17,range:_0x10ebbc,name:_0x436df8,selection:_0xdfde18,sheetID:_0x3b9d6e}=_0x386352,{startColumn:_0x7924f4,startRow:_0x5b6077,endColumn:_0x6d5a0,endRow:_0xc9e480}=_0x10ebbc,_0xbbc7b=_0x194a78['getCoordByCell'](_0x5b6077,_0x7924f4,_0x4a8e63,_0x577ad5),_0x4c0bad=_0x194a78[_0x5a6e0b(0x528)](_0xc9e480,_0x6d5a0,_0x4a8e63,_0x577ad5),{columnHeaderHeightAndMarginTop:_0x3c112e}=_0x577ad5,{startX:_0x167a06,startY:_0x539e2e}=_0xbbc7b,{endX:_0x5a31ad,endY:_0x14c5f0}=_0x4c0bad,_0x23c1db=_0x5a31ad-_0x167a06,_0x27ccc3=_0x14c5f0-_0x539e2e,_0x26be03={'labelPosition':_0x539e2e-_0x3c112e>=_0x23f988?_0x5a6e0b(0x5e6):_0x5a6e0b(0x38a),'sheetID':_0x3b9d6e,'range':_0x10ebbc,'color':_0x32dd17,'name':_0x436df8,'selection':_0xdfde18,'left':_0x167a06,'top':_0x539e2e,'width':_0x23c1db,'height':_0x27ccc3,'evented':!0x1,'zIndex':_0x317bd8};return new _0x289d4b(_0x436df8,_0x26be03);});_0x4a8e63[_0x2bb0b1(0x1a1)](_0x496637,_0x4b7218),this['_cursors']=new Set(_0x496637);}['_removeCollabCursors'](){const _0x52c991=_0x494bb3;var _0x586fe4;(_0x586fe4=this[_0x52c991(0x1a7)])==null||_0x586fe4['forEach'](_0x1260a6=>_0x1260a6['dispose']());}[_0x494bb3(0x463)](){const _0x40664d=_0x494bb3;return _0x194a78[_0x40664d(0x403)](this[_0x40664d(0x43b)]['unit'],this[_0x40664d(0x43b)]);}};_0x4777ba=_0x4d13f([_0xc2358a(0x1,_0x5a20c3['Inject'](_0x194a78['SheetSkeletonManagerService'])),_0xc2358a(0x2,_0x5a20c3[_0x494bb3(0x57c)](_0x36312d)),_0xc2358a(0x3,_0x5a20c3['Inject'](_0x5a20c3['ThemeService']))],_0x4777ba);function _0x66426c(_0x4f6b31){const _0x3704f3=_0x494bb3,_0x44c3ae=new Map();return _0x4f6b31[_0x3704f3(0x5e8)](_0x2cd43d=>{const _0x3ca283=_0x3704f3;if(_0x44c3ae[_0x3ca283(0x4a3)](_0x2cd43d[_0x3ca283(0x2f7)])){const _0x46b018=_0x44c3ae[_0x3ca283(0x537)](_0x2cd43d[_0x3ca283(0x2f7)]);_0x46b018[_0x3ca283(0x190)]+=',\x20'+_0x2cd43d[_0x3ca283(0x190)];}else _0x44c3ae[_0x3ca283(0x33d)](_0x2cd43d[_0x3ca283(0x2f7)],_0x2cd43d);}),Array[_0x3704f3(0x2d5)](_0x44c3ae['values']());}var _0x1aae94=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function _0x21900c(_0x18328f){const _0x59d8be=_0x494bb3;return _0x18328f&&_0x18328f[_0x59d8be(0x58e)]&&Object['prototype'][_0x59d8be(0x35e)]['call'](_0x18328f,_0x59d8be(0x565))?_0x18328f[_0x59d8be(0x565)]:_0x18328f;}var _0x7ec8e4={'exports':{}},_0x481f7d={},_0x4ff291=_0x5cb4c2,_0x170306=Symbol[_0x494bb3(0x27c)](_0x494bb3(0x5c7)),_0x59a9f6=Symbol[_0x494bb3(0x27c)](_0x494bb3(0x5bb)),_0x3b76e7=Object[_0x494bb3(0x37f)][_0x494bb3(0x35e)],_0x9a2ed1=_0x4ff291['__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED'][_0x494bb3(0x5bd)],_0x4b5682={'key':!0x0,'ref':!0x0,'__self':!0x0,'__source':!0x0};function _0x12806b(_0x535cc1,_0x564192,_0x5cf33a){const _0xda4c41=_0x494bb3;var _0x229393,_0x486fe0={},_0x43a788=null,_0x423a06=null;_0x5cf33a!==void 0x0&&(_0x43a788=''+_0x5cf33a),_0x564192[_0xda4c41(0x272)]!==void 0x0&&(_0x43a788=''+_0x564192[_0xda4c41(0x272)]),_0x564192[_0xda4c41(0x23b)]!==void 0x0&&(_0x423a06=_0x564192['ref']);for(_0x229393 in _0x564192)_0x3b76e7[_0xda4c41(0x451)](_0x564192,_0x229393)&&!_0x4b5682['hasOwnProperty'](_0x229393)&&(_0x486fe0[_0x229393]=_0x564192[_0x229393]);if(_0x535cc1&&_0x535cc1[_0xda4c41(0x60a)]){for(_0x229393 in(_0x564192=_0x535cc1[_0xda4c41(0x60a)],_0x564192))_0x486fe0[_0x229393]===void 0x0&&(_0x486fe0[_0x229393]=_0x564192[_0x229393]);}return{'$$typeof':_0x170306,'type':_0x535cc1,'key':_0x43a788,'ref':_0x423a06,'props':_0x486fe0,'_owner':_0x9a2ed1[_0xda4c41(0x25b)]};}_0x481f7d[_0x494bb3(0x480)]=_0x59a9f6,_0x481f7d['jsx']=_0x12806b,_0x481f7d[_0x494bb3(0x4a4)]=_0x12806b,_0x7ec8e4[_0x494bb3(0x589)]=_0x481f7d;var _0xf8dafc=_0x7ec8e4['exports'],_0x197ae9=function(){const _0x4c8883=_0x494bb3;return _0x197ae9=Object[_0x4c8883(0x186)]||function(_0xe3d30c){const _0x114fd7=_0x4c8883;for(var _0x4f97c9,_0x3e5a93=0x1,_0x4d7029=arguments[_0x114fd7(0x5aa)];_0x3e5a93<_0x4d7029;_0x3e5a93++){_0x4f97c9=arguments[_0x3e5a93];for(var _0x488a90 in _0x4f97c9)Object['prototype'][_0x114fd7(0x35e)][_0x114fd7(0x451)](_0x4f97c9,_0x488a90)&&(_0xe3d30c[_0x488a90]=_0x4f97c9[_0x488a90]);}return _0xe3d30c;},_0x197ae9[_0x4c8883(0x476)](this,arguments);},_0x12a0e5=function(_0x3e7e20,_0x141ad6){const _0x597bfb=_0x494bb3;var _0x5919ee={};for(var _0x39f63d in _0x3e7e20)Object[_0x597bfb(0x37f)]['hasOwnProperty'][_0x597bfb(0x451)](_0x3e7e20,_0x39f63d)&&_0x141ad6[_0x597bfb(0x1d6)](_0x39f63d)<0x0&&(_0x5919ee[_0x39f63d]=_0x3e7e20[_0x39f63d]);if(_0x3e7e20!=null&&typeof Object[_0x597bfb(0x3c4)]==_0x597bfb(0x4c1)){for(var _0x348213=0x0,_0x39f63d=Object[_0x597bfb(0x3c4)](_0x3e7e20);_0x348213<_0x39f63d[_0x597bfb(0x5aa)];_0x348213++)_0x141ad6['indexOf'](_0x39f63d[_0x348213])<0x0&&Object[_0x597bfb(0x37f)][_0x597bfb(0x5c4)][_0x597bfb(0x451)](_0x3e7e20,_0x39f63d[_0x348213])&&(_0x5919ee[_0x39f63d[_0x348213]]=_0x3e7e20[_0x39f63d[_0x348213]]);}return _0x5919ee;},_0x3c6234=_0x5cb4c2[_0x494bb3(0x22e)](function(_0x230615,_0x585f51){const _0xdf7a2c=_0x494bb3;var _0x344743=_0x230615[_0xdf7a2c(0x571)],_0xccaefd=_0x230615['id'],_0x4f6711=_0x230615['className'],_0x28d1fc=_0x230615['extend'],_0x4b4ca7=_0x12a0e5(_0x230615,[_0xdf7a2c(0x571),'id',_0xdf7a2c(0x2ca),_0xdf7a2c(0x3d1)]),_0x1b4522=_0xdf7a2c(0x47f)[_0xdf7a2c(0x291)](_0xccaefd,'\x20')[_0xdf7a2c(0x291)](_0x4f6711||'')[_0xdf7a2c(0x597)](),_0x3e7341=_0x5cb4c2[_0xdf7a2c(0x5c8)]('_'['concat'](_0x438b5b()));return _0x2c7a7b(_0x344743,''['concat'](_0xccaefd),{'defIds':_0x344743['defIds'],'idSuffix':_0x3e7341[_0xdf7a2c(0x25b)]},_0x197ae9({'ref':_0x585f51,'className':_0x1b4522},_0x4b4ca7),_0x28d1fc);});function _0x2c7a7b(_0x57315e,_0x270635,_0xbd389f,_0x2d1f50,_0x38e1ad){const _0xe361c7=_0x494bb3;return _0x5cb4c2['createElement'](_0x57315e[_0xe361c7(0x286)],_0x197ae9(_0x197ae9({'key':_0x270635},_0xec32a0(_0x57315e,_0xbd389f,_0x38e1ad)),_0x2d1f50),(_0x3a3251(_0x57315e,_0xbd389f)[_0xe361c7(0x572)]||[])[_0xe361c7(0x48f)](function(_0x5f1c51,_0xca92fc){const _0xb27c6a=_0xe361c7;return _0x2c7a7b(_0x5f1c51,''[_0xb27c6a(0x291)](_0x270635,'-')[_0xb27c6a(0x291)](_0x57315e[_0xb27c6a(0x286)],'-')['concat'](_0xca92fc),_0xbd389f,void 0x0,_0x38e1ad);}));}function _0xec32a0(_0x3e7141,_0x379b97,_0x62ec62){const _0x8dd5c2=_0x494bb3;var _0x376ee0=_0x197ae9({},_0x3e7141[_0x8dd5c2(0x47e)]);_0x62ec62!=null&&_0x62ec62[_0x8dd5c2(0x569)]&&_0x376ee0[_0x8dd5c2(0x2a9)]===_0x8dd5c2(0x569)&&(_0x376ee0[_0x8dd5c2(0x2a9)]=_0x62ec62[_0x8dd5c2(0x569)]);var _0x1ba395=_0x379b97[_0x8dd5c2(0x464)];return!_0x1ba395||_0x1ba395['length']===0x0||(_0x3e7141[_0x8dd5c2(0x286)]==='use'&&_0x376ee0['xlink:href']&&(_0x376ee0[_0x8dd5c2(0x231)]=_0x376ee0[_0x8dd5c2(0x231)]+_0x379b97[_0x8dd5c2(0x5b5)]),Object['entries'](_0x376ee0)[_0x8dd5c2(0x5e8)](function(_0x80b712){const _0x43ab1b=_0x8dd5c2;var _0xc1f10e=_0x80b712[0x0],_0x539c64=_0x80b712[0x1];typeof _0x539c64==_0x43ab1b(0x56d)&&(_0x376ee0[_0xc1f10e]=_0x539c64['replace'](/url\(#(.*)\)/,'url(#$1'['concat'](_0x379b97[_0x43ab1b(0x5b5)],')')));})),_0x376ee0;}function _0x3a3251(_0xb5fc1f,_0x451890){const _0x4953e8=_0x494bb3;var _0x594ed3,_0x43821c=_0x451890[_0x4953e8(0x464)];return!_0x43821c||_0x43821c['length']===0x0?_0xb5fc1f:_0xb5fc1f['tag']===_0x4953e8(0x195)&&(!((_0x594ed3=_0xb5fc1f[_0x4953e8(0x572)])===null||_0x594ed3===void 0x0)&&_0x594ed3[_0x4953e8(0x5aa)])?_0x197ae9(_0x197ae9({},_0xb5fc1f),{'children':_0xb5fc1f[_0x4953e8(0x572)]['map'](function(_0x45006a){const _0x7a104=_0x4953e8;return typeof _0x45006a[_0x7a104(0x47e)]['id']=='string'&&_0x43821c&&_0x43821c[_0x7a104(0x1d6)](_0x45006a[_0x7a104(0x47e)]['id'])>-0x1?_0x197ae9(_0x197ae9({},_0x45006a),{'attrs':_0x197ae9(_0x197ae9({},_0x45006a[_0x7a104(0x47e)]),{'id':_0x45006a[_0x7a104(0x47e)]['id']+_0x451890[_0x7a104(0x5b5)]})}):_0x45006a;})}):_0xb5fc1f;}function _0x438b5b(){const _0x2675a4=_0x494bb3;return Math[_0x2675a4(0x182)]()['toString'](0x24)[_0x2675a4(0x2c3)](0x2,0x8);}_0x3c6234[_0x494bb3(0x156)]=_0x494bb3(0x4f8);var _0x475c73={'tag':_0x494bb3(0x1f0),'attrs':{'fill':_0x494bb3(0x5f2),'viewBox':'0\x200\x2016\x2016','width':_0x494bb3(0x47c),'height':_0x494bb3(0x47c)},'children':[{'tag':'g','attrs':{'clipPath':_0x494bb3(0x47a)},'children':[{'tag':_0x494bb3(0x24b),'attrs':{'stroke':_0x494bb3(0x212),'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':'round','strokeLinejoin':_0x494bb3(0x24f),'strokeWidth':1.2}}]},{'tag':_0x494bb3(0x195),'attrs':{},'children':[{'tag':_0x494bb3(0x22d),'attrs':{'id':_0x494bb3(0x5ce)},'children':[{'tag':_0x494bb3(0x24b),'attrs':{'fill':_0x494bb3(0x4c7),'d':_0x494bb3(0x4b7)}}]}]}],'defIds':[_0x494bb3(0x5ce)]},_0x37337b=_0x5cb4c2['forwardRef'](function(_0x5e0eff,_0x15a5dd){const _0x5d4c37=_0x494bb3;return _0x5cb4c2['createElement'](_0x3c6234,Object[_0x5d4c37(0x186)]({},_0x5e0eff,{'id':_0x5d4c37(0x3fe),'ref':_0x15a5dd,'icon':_0x475c73}));});_0x37337b[_0x494bb3(0x156)]=_0x494bb3(0x434);var _0x558051={'tag':_0x494bb3(0x1f0),'attrs':{'fill':_0x494bb3(0x5f2),'viewBox':_0x494bb3(0x201),'width':_0x494bb3(0x47c),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x494bb3(0x4df)},'children':[{'tag':_0x494bb3(0x24b),'attrs':{'stroke':_0x494bb3(0x212),'d':_0x494bb3(0x50d),'strokeLinecap':'round','strokeLinejoin':_0x494bb3(0x24f),'strokeWidth':1.2}}]},{'tag':_0x494bb3(0x195),'attrs':{},'children':[{'tag':_0x494bb3(0x22d),'attrs':{'id':_0x494bb3(0x155)},'children':[{'tag':_0x494bb3(0x24b),'attrs':{'fill':_0x494bb3(0x4c7),'d':_0x494bb3(0x4b7),'transform':_0x494bb3(0x4d0)}}]}]}],'defIds':[_0x494bb3(0x155)]},_0x7cf1df=_0x5cb4c2['forwardRef'](function(_0x425201,_0x10b7c0){const _0x31f592=_0x494bb3;return _0x5cb4c2[_0x31f592(0x467)](_0x3c6234,Object[_0x31f592(0x186)]({},_0x425201,{'id':_0x31f592(0x4f9),'ref':_0x10b7c0,'icon':_0x558051}));});_0x7cf1df[_0x494bb3(0x156)]=_0x494bb3(0x1cb);function _0x46f544(_0x3c78ea){const _0x5ab266=_0x494bb3;var _0x387217,_0x15647b,_0x171015='';if(typeof _0x3c78ea==_0x5ab266(0x56d)||typeof _0x3c78ea==_0x5ab266(0x37e))_0x171015+=_0x3c78ea;else{if(typeof _0x3c78ea==_0x5ab266(0x205)){if(Array[_0x5ab266(0x557)](_0x3c78ea)){var _0x1f40c2=_0x3c78ea[_0x5ab266(0x5aa)];for(_0x387217=0x0;_0x387217<_0x1f40c2;_0x387217++)_0x3c78ea[_0x387217]&&(_0x15647b=_0x46f544(_0x3c78ea[_0x387217]))&&(_0x171015&&(_0x171015+='\x20'),_0x171015+=_0x15647b);}else{for(_0x15647b in _0x3c78ea)_0x3c78ea[_0x15647b]&&(_0x171015&&(_0x171015+='\x20'),_0x171015+=_0x15647b);}}}return _0x171015;}function _0x3c578d(){const _0x4051a2=_0x494bb3;for(var _0x1ecfb1,_0x3c02e5,_0x3c0027=0x0,_0x51ea63='',_0x31164a=arguments[_0x4051a2(0x5aa)];_0x3c0027<_0x31164a;_0x3c0027++)(_0x1ecfb1=arguments[_0x3c0027])&&(_0x3c02e5=_0x46f544(_0x1ecfb1))&&(_0x51ea63&&(_0x51ea63+='\x20'),_0x51ea63+=_0x3c02e5);return _0x51ea63;}const _0x14a495={'onlineStatusIcon':_0x494bb3(0x1f8),'onlineStatusTitle':_0x494bb3(0x4d6),'onlineStatus':_0x494bb3(0x353),'online':'univer-online','offline':_0x494bb3(0x4a1)};function _0x2503d2(_0xf1fdaf){const _0x35ac15=_0x494bb3;switch(_0xf1fdaf){case _0x5948fa[_0x35ac15(0x1de)]:return'collabStatus.offline';case _0x5948fa[_0x35ac15(0x296)]:return _0x35ac15(0x34c);case _0x5948fa['FETCH_MISS']:return _0x35ac15(0x527);case _0x5948fa[_0x35ac15(0x375)]:return _0x35ac15(0x509);case _0x5948fa[_0x35ac15(0x319)]:case _0x5948fa['AWAITING_WITH_PENDING']:return _0x35ac15(0x367);case _0x5948fa['SYNCED']:case _0x5948fa[_0x35ac15(0x452)]:return'collabStatus.synced';}}function _0x1d0a3d(_0x2f4f16){const _0x13f69b=_0x494bb3,{status$:_0x19615a}=_0x2f4f16,_0x336f3c=_0x33d470[_0x13f69b(0x251)](_0x19615a,_0x5948fa['NOT_COLLAB']),_0x2530ef=_0x5a20c3['useDependency'](_0x5a20c3[_0x13f69b(0x439)]),_0x1842a4=_0x5a20c3[_0x13f69b(0x3fa)](_0x38d423['CollaborationSessionService']),_0x3995a8=_0x336f3c!==_0x5948fa[_0x13f69b(0x1de)],_0x39dbcf=_0x2530ef['t'](_0x2503d2(_0x336f3c)),_0x1377ee=_0x3c578d(_0x14a495[_0x13f69b(0x52f)],{[_0x14a495[_0x13f69b(0x386)]]:_0x3995a8,[_0x14a495[_0x13f69b(0x333)]]:!_0x3995a8}),_0x17470f=_0x3995a8?_0xf8dafc[_0x13f69b(0x202)](_0x7cf1df,{}):_0xf8dafc[_0x13f69b(0x202)](_0x37337b,{}),_0x594f47=_0x5cb4c2[_0x13f69b(0x440)](()=>{_0x3995a8||_0x1842a4['reconnect']();},[_0x3995a8,_0x1842a4]);function _0x1dac06(){const _0x19a69a=_0x13f69b;return _0xf8dafc[_0x19a69a(0x4a4)]('div',{'className':_0x1377ee,'onClick':_0x594f47,'children':[_0xf8dafc[_0x19a69a(0x202)](_0x19a69a(0x335),{'className':_0x14a495['onlineStatusIcon'],'children':_0x17470f}),_0xf8dafc[_0x19a69a(0x202)](_0x19a69a(0x335),{'className':_0x14a495[_0x19a69a(0x20d)],'children':_0x39dbcf})]});}return _0x3995a8?_0x1dac06():_0xf8dafc[_0x13f69b(0x202)](_0x989dfe[_0x13f69b(0x2ed)],{'title':_0x2530ef['t'](_0x13f69b(0x2b3)),'children':_0x1dac06()});}var _0x15e30d=Object[_0x494bb3(0x5f8)],_0x5c91a2=Object[_0x494bb3(0x51e)],_0xcc7216=(_0x463574,_0x23ea11,_0x18b398,_0x51337f)=>{const _0x41d165=_0x494bb3;for(var _0x52d026=_0x51337f>0x1?void 0x0:_0x51337f?_0x5c91a2(_0x23ea11,_0x18b398):_0x23ea11,_0x3491fa=_0x463574[_0x41d165(0x5aa)]-0x1,_0x43624f;_0x3491fa>=0x0;_0x3491fa--)(_0x43624f=_0x463574[_0x3491fa])&&(_0x52d026=(_0x51337f?_0x43624f(_0x23ea11,_0x18b398,_0x52d026):_0x43624f(_0x52d026))||_0x52d026);return _0x51337f&&_0x52d026&&_0x15e30d(_0x23ea11,_0x18b398,_0x52d026),_0x52d026;},_0x4975d8=(_0x46bb43,_0x426ea4)=>(_0x56bc94,_0x1166b7)=>_0x426ea4(_0x56bc94,_0x1166b7,_0x46bb43);_0x38d423[_0x494bb3(0x4de)]=class extends _0x5a20c3['Disposable']{constructor(_0x2523a2,_0x44568a,_0x285767,_0x117339){const _0x20c5b4=_0x494bb3;super(),_0x3ed524(this,'_status$',new _0x32bae4[(_0x20c5b4(0x55c))](_0x5948fa[_0x20c5b4(0x375)])),(this[_0x20c5b4(0x4a7)]=_0x2523a2,this[_0x20c5b4(0x1a3)]=_0x44568a,this[_0x20c5b4(0x221)]=_0x285767,this['_collaborationController']=_0x117339,this[_0x20c5b4(0x198)](),this[_0x20c5b4(0x4d8)]());}['_initStatusListener'](){const _0x31a8b2=_0x494bb3;this[_0x31a8b2(0x385)](this[_0x31a8b2(0x4a7)][_0x31a8b2(0x172)]['pipe'](_0x32bae4['switchMap'](()=>{const _0x5f445d=_0x31a8b2,_0x204319=this[_0x5f445d(0x4a7)][_0x5f445d(0x189)]();return _0x204319?this[_0x5f445d(0x595)][_0x5f445d(0x602)](_0x204319[_0x5f445d(0x4dc)]()):_0x32bae4['of'](null);}),_0x32bae4[_0x31a8b2(0x3b2)](_0x170905=>_0x170905?_0x170905[_0x31a8b2(0x5e2)]:_0x32bae4['of'](_0x5948fa[_0x31a8b2(0x375)])))[_0x31a8b2(0x38d)](_0x19ac26=>{const _0x338c44=_0x31a8b2;this[_0x338c44(0x447)][_0x338c44(0x5dd)](_0x19ac26);}));}[_0x494bb3(0x198)](){const _0x20d531=_0x494bb3;this[_0x20d531(0x385)](this['_uiPartsService'][_0x20d531(0x3b9)](_0x33d470['BuiltInUIPart']['HEADER_MENU'],()=>_0x5a20c3['connectInjector'](_0x251244({'status$':this[_0x20d531(0x447)][_0x20d531(0x4fe)]()}),this[_0x20d531(0x221)])));}},_0x38d423[_0x494bb3(0x4de)]=_0xcc7216([_0x4975d8(0x0,_0x5a20c3[_0x494bb3(0x17e)]),_0x4975d8(0x1,_0x33d470[_0x494bb3(0x4cd)]),_0x4975d8(0x2,_0x5a20c3[_0x494bb3(0x57c)](_0x5a20c3[_0x494bb3(0x596)])),_0x4975d8(0x3,_0x5a20c3[_0x494bb3(0x57c)](_0x38d423[_0x494bb3(0x39c)]))],_0x38d423[_0x494bb3(0x4de)]);function _0x251244(_0x35c1d5){const {status$:_0x33b820}=_0x35c1d5;return function(){const _0x14ddf2=_0x50cf;return _0xf8dafc[_0x14ddf2(0x202)](_0x1d0a3d,{'status$':_0x33b820});};}const _0x1ea4a4=_0x5a20c3[_0x494bb3(0x224)]('uni.network.url-service');var _0x267a28=Object[_0x494bb3(0x5f8)],_0x26cca7=Object[_0x494bb3(0x51e)],_0x48bf2f=(_0x52fc30,_0xb51aae,_0x2a9fd4,_0x458cfb)=>{const _0x5811f0=_0x494bb3;for(var _0x5320af=_0x458cfb>0x1?void 0x0:_0x458cfb?_0x26cca7(_0xb51aae,_0x2a9fd4):_0xb51aae,_0x2b1c1d=_0x52fc30[_0x5811f0(0x5aa)]-0x1,_0x42269b;_0x2b1c1d>=0x0;_0x2b1c1d--)(_0x42269b=_0x52fc30[_0x2b1c1d])&&(_0x5320af=(_0x458cfb?_0x42269b(_0xb51aae,_0x2a9fd4,_0x5320af):_0x42269b(_0x5320af))||_0x5320af);return _0x458cfb&&_0x5320af&&_0x267a28(_0xb51aae,_0x2a9fd4,_0x5320af),_0x5320af;},_0x1ec709=(_0xa2ed74,_0x13265a)=>(_0x2b7973,_0x468166)=>_0x13265a(_0x2b7973,_0x468166,_0xa2ed74);_0x38d423[_0x494bb3(0x579)]=class extends _0x5a20c3[_0x494bb3(0x3ed)]{constructor(_0x2a5cbb,_0xdfb085,_0x5d2090,_0x22f80e,_0x4b3b0f,_0x205229){const _0x1e2235=_0x494bb3;super(),this[_0x1e2235(0x2aa)]=_0x2a5cbb,this['_logService']=_0xdfb085,this['_commandService']=_0x5d2090,this[_0x1e2235(0x489)]=_0x22f80e,this[_0x1e2235(0x1ff)]=_0x4b3b0f,_0x205229?_0x205229==null||_0x205229[_0x1e2235(0x15f)]()['then'](()=>this[_0x1e2235(0x298)]()):(this[_0x1e2235(0x3f5)]['debug'](_0x1e2235(0x23a),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this['_init']());}async[_0x494bb3(0x298)](){const _0x3e40e1=_0x494bb3,_0xaca9ad=this['_urlService'][_0x3e40e1(0x2d6)](_0x3e40e1(0x4c9)),_0x2a20d4=this[_0x3e40e1(0x2aa)]['getParam']('type');if(!_0xaca9ad||!_0x2a20d4){this[_0x3e40e1(0x3f5)][_0x3e40e1(0x1b0)](_0x3e40e1(0x23a),_0x3e40e1(0x396));return;}switch(Number(_0x2a20d4)){case _0x9d8403['UNIVER_SHEET']:{const _0x37cca2=await this[_0x3e40e1(0x2b5)](_0xaca9ad);this[_0x3e40e1(0x1eb)](_0x37cca2);break;}case _0x9d8403[_0x3e40e1(0x512)]:{await this[_0x3e40e1(0x3c1)](_0xaca9ad);break;}default:{this[_0x3e40e1(0x3f5)][_0x3e40e1(0x35a)](_0x3e40e1(0x23a),_0x3e40e1(0x5bf));break;}}}async[_0x494bb3(0x1eb)](_0x3be202){const _0x47d8fa=_0x494bb3;await this[_0x47d8fa(0x552)](_0x3be202),_0x3be202[_0x47d8fa(0x55b)][_0x47d8fa(0x1d4)](_0x32bae4[_0x47d8fa(0x1d1)](this['dispose$']))[_0x47d8fa(0x38d)](_0x640ec1=>{const _0x2bfcda=_0x47d8fa;_0x640ec1&&this[_0x2bfcda(0x30b)](_0x640ec1);}),this[_0x47d8fa(0x2aa)][_0x47d8fa(0x3bd)]['pipe'](_0x32bae4['takeUntil'](this[_0x47d8fa(0x5af)]))['subscribe'](()=>this['_updateSubUnitFromURLParams'](_0x3be202));}['_updateURLWithCurrentState'](_0xcce470,_0x41beb7=!0x1){const _0x456a98=_0x494bb3,_0x1232b5=this['_urlService'][_0x456a98(0x2d6)](_0x456a98(0x226));_0xcce470[_0x456a98(0x5c0)]()!==_0x1232b5&&this[_0x456a98(0x2aa)][_0x456a98(0x421)](_0x456a98(0x226),_0xcce470[_0x456a98(0x5c0)](),_0x41beb7);}async[_0x494bb3(0x552)](_0x143380){const _0x5f5719=_0x494bb3;var _0x412341;const _0x47832f=this[_0x5f5719(0x2aa)]['getParam']('subunit');if(!_0x47832f||!_0x143380['getSheetBySheetId'](_0x47832f)){const _0x3c41ea=_0x143380['getUnhiddenWorksheets']()[0x0],_0x44f74b=_0x143380['getSheetBySheetId'](_0x3c41ea);if(!_0x44f74b)return;this[_0x5f5719(0x30b)](_0x44f74b,!0x0),await this[_0x5f5719(0x2e5)]['executeCommand'](_0x66e3f4[_0x5f5719(0x38c)]['id'],{'unitId':_0x143380[_0x5f5719(0x4dc)](),'subUnitId':_0x3c41ea});return;}((_0x412341=_0x143380[_0x5f5719(0x1b1)]())==null?void 0x0:_0x412341['getSheetId']())!==_0x47832f&&await this[_0x5f5719(0x2e5)]['executeCommand'](_0x66e3f4[_0x5f5719(0x38c)]['id'],{'unitId':_0x143380[_0x5f5719(0x4dc)](),'subUnitId':_0x47832f});}async[_0x494bb3(0x2b5)](_0x481d0d){const _0x2e827e=_0x494bb3;let _0x5220f0=0x0;const _0x59a804=await this['_localCacheService'][_0x2e827e(0x23d)](_0x481d0d);return _0x59a804&&(_0x59a804[_0x2e827e(0x5b3)]||_0x59a804['mutations']['length']!==0x0)&&(_0x5220f0=_0x59a804[_0x2e827e(0x58a)]),_0x5220f0===0x0&&this['_logService'][_0x2e827e(0x1b0)](_0x2e827e(0x23a),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this['_snapshotService']['loadSheet'](_0x481d0d,_0x5220f0);}async['_loadDoc'](_0x5db97c){const _0x2ab740=_0x494bb3;let _0xf67f1b=0x0;const _0x32307e=await this[_0x2ab740(0x489)][_0x2ab740(0x23d)](_0x5db97c);return _0x32307e&&(_0x32307e[_0x2ab740(0x5b3)]||_0x32307e['mutations'][_0x2ab740(0x5aa)]!==0x0)&&(_0xf67f1b=_0x32307e[_0x2ab740(0x58a)]),_0xf67f1b===0x0&&this['_logService'][_0x2ab740(0x1b0)]('[DataLoaderController]',_0x2ab740(0x3f2)),this[_0x2ab740(0x1ff)]['loadDoc'](_0x5db97c,_0xf67f1b);}},_0x38d423['DataLoaderController']=_0x48bf2f([_0x1ec709(0x0,_0x1ea4a4),_0x1ec709(0x1,_0x5a20c3[_0x494bb3(0x494)]),_0x1ec709(0x2,_0x5a20c3[_0x494bb3(0x39a)]),_0x1ec709(0x3,_0x5a20c3[_0x494bb3(0x57c)](_0x38d423[_0x494bb3(0x1ca)])),_0x1ec709(0x4,_0x5a20c3[_0x494bb3(0x57c)](_0x4d11e3[_0x494bb3(0x5cf)])),_0x1ec709(0x5,_0x5a20c3[_0x494bb3(0x59d)](_0x40129e[_0x494bb3(0x5ba)]))],_0x38d423[_0x494bb3(0x579)]);var _0x37ba21=Object[_0x494bb3(0x5f8)],_0x393721=Object[_0x494bb3(0x51e)],_0xc8a51d=(_0x190d41,_0x1110e8,_0x5a03f5,_0xabdb37)=>{const _0x5ef604=_0x494bb3;for(var _0x326c21=_0xabdb37>0x1?void 0x0:_0xabdb37?_0x393721(_0x1110e8,_0x5a03f5):_0x1110e8,_0x5107a1=_0x190d41[_0x5ef604(0x5aa)]-0x1,_0x298d15;_0x5107a1>=0x0;_0x5107a1--)(_0x298d15=_0x190d41[_0x5107a1])&&(_0x326c21=(_0xabdb37?_0x298d15(_0x1110e8,_0x5a03f5,_0x326c21):_0x298d15(_0x326c21))||_0x326c21);return _0xabdb37&&_0x326c21&&_0x37ba21(_0x1110e8,_0x5a03f5,_0x326c21),_0x326c21;},_0x513f6=(_0x32c1e1,_0x38dbd1)=>(_0x1ae8fe,_0x1dd1f8)=>_0x38dbd1(_0x1ae8fe,_0x1dd1f8,_0x32c1e1);const _0x550ad4=_0x494bb3(0x427),_0x3e90c7=_0x494bb3(0x1e9);let _0x13737c=class extends _0x5a20c3[_0x494bb3(0x1c9)]{constructor(_0x5accc7,_0x313d91){const _0x275ba6=_0x494bb3;super(),this[_0x275ba6(0x4a7)]=_0x5accc7,this[_0x275ba6(0x1f1)]=_0x313d91,this[_0x275ba6(0x298)]();}[_0x494bb3(0x298)](){const _0x141578=_0x494bb3;this[_0x141578(0x385)](this['_univerInstanceService'][_0x141578(0x172)][_0x141578(0x38d)](()=>{const _0x3dd220=_0x141578;var _0x34ecb0;const _0x587515=this[_0x3dd220(0x4a7)]['getFocusedUnit']();let _0x105f1d=(_0x34ecb0=this['_configService'][_0x3dd220(0x19a)](_0x550ad4))!=null?_0x34ecb0:_0x3e90c7;_0x587515 instanceof _0x5a20c3[_0x3dd220(0x3f4)]&&(_0x105f1d=_0x587515['name']),document[_0x3dd220(0x1dd)]=_0x105f1d;}));}};_0x13737c=_0xc8a51d([_0x513f6(0x0,_0x5a20c3[_0x494bb3(0x17e)]),_0x513f6(0x1,_0x5a20c3[_0x494bb3(0x175)])],_0x13737c);var _0x192a45=Object['defineProperty'],_0x94ddb4=Object[_0x494bb3(0x51e)],_0x357a5b=(_0xa52089,_0x43a35a,_0x5b87c3,_0x4dbd9d)=>{for(var _0x2a7473=_0x4dbd9d>0x1?void 0x0:_0x4dbd9d?_0x94ddb4(_0x43a35a,_0x5b87c3):_0x43a35a,_0x24a4ba=_0xa52089['length']-0x1,_0x5d23ea;_0x24a4ba>=0x0;_0x24a4ba--)(_0x5d23ea=_0xa52089[_0x24a4ba])&&(_0x2a7473=(_0x4dbd9d?_0x5d23ea(_0x43a35a,_0x5b87c3,_0x2a7473):_0x5d23ea(_0x2a7473))||_0x2a7473);return _0x4dbd9d&&_0x2a7473&&_0x192a45(_0x43a35a,_0x5b87c3,_0x2a7473),_0x2a7473;},_0x5b6f47=(_0x2ea9b5,_0x4448ac)=>(_0x41d86a,_0x19a71a)=>_0x4448ac(_0x41d86a,_0x19a71a,_0x2ea9b5);let _0x264022=class{constructor(_0x96320e,_0x4efe6d,_0x343fbf){const _0x382cad=_0x494bb3;this[_0x382cad(0x1f1)]=_0x96320e,this['_httpService']=_0x4efe6d,this[_0x382cad(0x29a)]=_0x343fbf,this['init']();}[_0x494bb3(0x4bc)](){const _0x1789a6=_0x494bb3;this[_0x1789a6(0x5d9)][_0x1789a6(0x3a4)]({'priority':0x1,'interceptor':(_0x50cc6e,_0x42c738)=>_0x42c738(_0x50cc6e)[_0x1789a6(0x1d4)](_0x32bae4['concatMap'](async _0x130e8d=>{const _0x120d22=_0x1789a6,_0x4ca177=_0x130e8d;if(_0x4ca177[_0x120d22(0x601)]===0x191&&window[_0x120d22(0x18d)](this['localeService']['t'](_0x120d22(0x3aa)))){const _0x18d69c=window[_0x120d22(0x4ba)](window[_0x120d22(0x2ae)][_0x120d22(0x1c4)]);window[_0x120d22(0x2ae)][_0x120d22(0x1c4)]=this[_0x120d22(0x330)]()+_0x120d22(0x536)+_0x18d69c;}return _0x4ca177;}))});}[_0x494bb3(0x330)](){const _0x1a1170=_0x494bb3;var _0x22e2f4,_0x4e70a9;const _0xb22a8f=this[_0x1a1170(0x1f1)][_0x1a1170(0x19a)](_0x5e43ba),_0x37c1a0=this[_0x1a1170(0x1f1)][_0x1a1170(0x19a)](_0x59eaf6);return(_0x4e70a9=(_0x22e2f4=_0x37c1a0==null?void 0x0:_0x37c1a0[_0x1a1170(0x2cb)])!=null?_0x22e2f4:_0xb22a8f)!=null?_0x4e70a9:_0x529e5c;}};_0x264022=_0x357a5b([_0x5b6f47(0x0,_0x5a20c3[_0x494bb3(0x175)]),_0x5b6f47(0x1,_0x5a20c3['Inject'](_0x9ed4dd[_0x494bb3(0x22b)])),_0x5b6f47(0x2,_0x5a20c3['Inject'](_0x5a20c3[_0x494bb3(0x439)]))],_0x264022);var _0x33df1e=Object[_0x494bb3(0x5f8)],_0x2b3a7b=Object['getOwnPropertyDescriptor'],_0x20b1e8=(_0x46b56c,_0x379c26,_0x3c8aad,_0x184f14)=>{const _0x2a173c=_0x494bb3;for(var _0x18e458=_0x184f14>0x1?void 0x0:_0x184f14?_0x2b3a7b(_0x379c26,_0x3c8aad):_0x379c26,_0x3b3b2d=_0x46b56c[_0x2a173c(0x5aa)]-0x1,_0x1d0538;_0x3b3b2d>=0x0;_0x3b3b2d--)(_0x1d0538=_0x46b56c[_0x3b3b2d])&&(_0x18e458=(_0x184f14?_0x1d0538(_0x379c26,_0x3c8aad,_0x18e458):_0x1d0538(_0x18e458))||_0x18e458);return _0x184f14&&_0x18e458&&_0x33df1e(_0x379c26,_0x3c8aad,_0x18e458),_0x18e458;},_0x5c767a=(_0x201be1,_0x1d633d)=>(_0x2689f4,_0x55ebdf)=>_0x1d633d(_0x2689f4,_0x55ebdf,_0x201be1);const _0x125721='AUTHZ_URL_KEY',_0x546d05=_0x494bb3(0x2be);_0x38d423['AuthzIoHttpService']=class extends _0x5a20c3[_0x494bb3(0x1c9)]{constructor(_0x8c9e78,_0x2fe8e4){const _0x2fe72f=_0x494bb3;super(),this[_0x2fe72f(0x49c)]=_0x8c9e78,this['_configService']=_0x2fe8e4,this['_initMergeInterceptor']();}[_0x494bb3(0x4ee)](){const _0x5e867f=_0x494bb3,_0xf8a08a=this;this[_0x5e867f(0x385)](this[_0x5e867f(0x49c)]['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':_0x9ed4dd[_0x5e867f(0x19e)]({'isMatch'(_0x80dd08){const _0x265b26=_0x5e867f;var _0x423d54;if(_0x80dd08['method']==='POST'&&((_0x423d54=_0x80dd08[_0x265b26(0x361)])!=null&&_0x423d54['body'])){const {objectID:_0x1386d7,objectType:_0x1ec7c4}=_0x80dd08[_0x265b26(0x361)][_0x265b26(0x271)]||{};if(!_0x1386d7||_0x1ec7c4===void 0x0)return!0x1;const _0x5dfc2b=_0xf8a08a['_getAPIPrefixPath']()+'/'+_0x1ec7c4+_0x265b26(0x290)+_0x1386d7+'/allowed';if(_0x80dd08['url']===_0x5dfc2b)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x5eaabb){const _0x9c4545=_0x5e867f;var _0xfae226;return(_0xfae226=_0x5eaabb[_0x9c4545(0x361)])==null?void 0x0:_0xfae226[_0x9c4545(0x271)];},'mergeParamsToRequest'(_0x5a8357,_0x457894){const _0x48ca30=_0x5e867f,_0x164001=_0xf8a08a['_getAPIPrefixPath']()+'/-/object/-/batch_allowed',_0x4c8049=_0x5a8357['reduce']((_0xe538e0,_0x4ab5f1)=>{const _0x4710f8=_0x50cf,{unitID:_0x15d75e,objectID:_0x396195,objectType:_0x384619,actions:_0x8a2f4f}=_0x4ab5f1;return _0xe538e0[_0x15d75e]||(_0xe538e0[_0x15d75e]={}),_0xe538e0[_0x15d75e][_0x396195]||(_0xe538e0[_0x15d75e][_0x396195]={'objectID':_0x396195,'objectType':_0x384619,'actions':[]}),_0xe538e0[_0x15d75e][_0x396195][_0x4710f8(0x154)]['push'](..._0x8a2f4f),_0xe538e0;},{}),_0x5bddf7=[];for(const _0x3cc62b in _0x4c8049)for(const _0x2ccda9 in _0x4c8049[_0x3cc62b]){const {actions:_0x4e03a5,objectType:_0xdd9f9b}=_0x4c8049[_0x3cc62b][_0x2ccda9],_0x169a9f=[...new Set(_0x4e03a5)];_0x5bddf7['push']({'unitID':_0x3cc62b,'objectID':_0x2ccda9,'objectType':_0xdd9f9b,'actions':_0x169a9f});}return new _0x9ed4dd['HTTPRequest'](_0x48ca30(0x210),_0x164001,{'headers':_0x457894[_0x48ca30(0x309)],'withCredentials':_0x457894['withCredentials'],'responseType':_0x457894['responseType'],'body':{'requests':_0x5bddf7}});}},{'distributeResult'(_0x3bdb27,_0x398136){const _0x3794e3=_0x5e867f,{objectActions:_0x32a462}=_0x3bdb27;return _0x398136[_0x3794e3(0x48f)](_0x52c5f7=>{const _0x392407=_0x3794e3,{unitID:_0x33dbf1,objectID:_0x528571,actions:_0x14df24}=_0x52c5f7,_0x2eeb2d=_0x32a462[_0x392407(0x4d4)](_0x171368=>_0x171368[_0x392407(0x39f)]===_0x33dbf1&&_0x171368[_0x392407(0x249)]===_0x528571),_0x1d743e=_0x14df24[_0x392407(0x48f)](_0x39ad3a=>_0x2eeb2d==null?void 0x0:_0x2eeb2d['actions'][_0x392407(0x4d4)](_0x4c7b95=>_0x4c7b95[_0x392407(0x1cc)]===_0x39ad3a))[_0x392407(0x264)](_0x1c161e=>!!_0x1c161e);return{'config':_0x52c5f7,'result':{'actions':_0x1d743e,'error':_0x3bdb27[_0x392407(0x35a)]}};});}})}));}[_0x494bb3(0x187)](){const _0xe29c38=_0x494bb3;var _0x15fe12,_0x1200b2;const _0x373197=this[_0xe29c38(0x1f1)][_0xe29c38(0x19a)](_0x125721),_0x4a470e=this['_configService']['getConfig'](_0x59eaf6);return(_0x1200b2=(_0x15fe12=_0x4a470e==null?void 0x0:_0x4a470e[_0xe29c38(0x48e)])!=null?_0x15fe12:_0x373197)!=null?_0x1200b2:_0x546d05;}async[_0x494bb3(0x2e4)](_0x273321){const _0x2ebb55=_0x494bb3,_0x5679ca=this[_0x2ebb55(0x187)]()+'/'+_0x273321[_0x2ebb55(0x52e)]+_0x2ebb55(0x3e8);return(await this[_0x2ebb55(0x49c)][_0x2ebb55(0x20e)](_0x5679ca,{'body':_0x273321}))[_0x2ebb55(0x271)]['objectID']||'';}async[_0x494bb3(0x234)](_0x549aca){const _0x3e36ec=_0x494bb3,_0x14d1e9=this['_getAPIPrefixPath']()+'/-/object/list';return(await this[_0x3e36ec(0x49c)]['post'](_0x14d1e9,{'body':_0x549aca}))[_0x3e36ec(0x271)][_0x3e36ec(0x585)];}async['update'](_0x231b56){const _0x31f175=_0x494bb3,_0x38986b=this[_0x31f175(0x187)]()+'/'+_0x231b56['objectType']+_0x31f175(0x290)+_0x231b56[_0x31f175(0x249)];await this[_0x31f175(0x49c)]['put'](_0x38986b,{'body':_0x231b56});}async['allowed'](_0x3068ed){const _0x22bfad=_0x494bb3,_0x3e2c45=this[_0x22bfad(0x187)]()+'/'+_0x3068ed[_0x22bfad(0x52e)]+_0x22bfad(0x290)+_0x3068ed[_0x22bfad(0x249)]+_0x22bfad(0x1d2);return(await this['_HTTPService']['post'](_0x3e2c45,{'body':_0x3068ed}))[_0x22bfad(0x271)][_0x22bfad(0x154)];}async[_0x494bb3(0x26d)](_0x22adf7){const _0x2d52ba=_0x494bb3,_0x175446=this[_0x2d52ba(0x187)]()+_0x2d52ba(0x336);return(await this['_HTTPService'][_0x2d52ba(0x20e)](_0x175446,{'body':{'requests':_0x22adf7}}))[_0x2d52ba(0x271)][_0x2d52ba(0x4e0)];}async['listRoles'](_0x11198d){const _0x63225a=_0x494bb3,_0x36a8c6=this[_0x63225a(0x187)]()+'/'+_0x11198d[_0x63225a(0x52e)]+_0x63225a(0x279),_0x52ddc2=await this[_0x63225a(0x49c)][_0x63225a(0x20e)](_0x36a8c6,{'body':_0x11198d});return{'roles':_0x52ddc2[_0x63225a(0x271)][_0x63225a(0x47b)],'actions':_0x52ddc2[_0x63225a(0x271)][_0x63225a(0x154)]};}async[_0x494bb3(0x23f)](_0x14156f){const _0x4b186f=_0x494bb3,_0x3c63c1=this[_0x4b186f(0x187)]()+'/collaborator';await this[_0x4b186f(0x49c)]['delete'](_0x3c63c1,{'params':{'collaboratorID':_0x14156f[_0x4b186f(0x56b)],'objectID':_0x14156f[_0x4b186f(0x249)],'unitID':_0x14156f[_0x4b186f(0x39f)]}});}async[_0x494bb3(0x5b6)](_0x36fcd2){const _0x2837c8=_0x494bb3,_0x479c21=this[_0x2837c8(0x187)]()+_0x2837c8(0x321);await this['_HTTPService'][_0x2837c8(0x5c6)](_0x479c21,{'body':_0x36fcd2});}async['createCollaborator'](_0x33df9f){const _0x124fee=_0x494bb3,_0x2c760e=this[_0x124fee(0x187)]()+_0x124fee(0x321);await this[_0x124fee(0x49c)]['post'](_0x2c760e,{'body':_0x33df9f});}async[_0x494bb3(0x163)](_0x1eb2cd){const _0x1cb1ff=_0x494bb3,_0x207225=this['_getAPIPrefixPath']()+'/collaborator';return(await this[_0x1cb1ff(0x49c)][_0x1cb1ff(0x537)](_0x207225,{'params':{'objectID':_0x1eb2cd[_0x1cb1ff(0x249)],'unitID':_0x1eb2cd[_0x1cb1ff(0x39f)]}}))['body'][_0x1cb1ff(0x4e8)];}async[_0x494bb3(0x406)](_0x3314f6){const _0x1f0c11=_0x494bb3,_0x434706=this[_0x1f0c11(0x187)]()+_0x1f0c11(0x321);await this[_0x1f0c11(0x49c)]['put'](_0x434706,{'body':_0x3314f6});}},_0x38d423[_0x494bb3(0x46f)]=_0x20b1e8([_0x5c767a(0x0,_0x5a20c3[_0x494bb3(0x57c)](_0x9ed4dd[_0x494bb3(0x22b)])),_0x5c767a(0x1,_0x5a20c3[_0x494bb3(0x57c)](_0x5a20c3['IConfigService']))],_0x38d423['AuthzIoHttpService']);var _0x13e719={'exports':{}};function _0x264753(_0x1c57ff){const _0x25f06b=_0x494bb3;throw new Error(_0x25f06b(0x470)+_0x1c57ff+_0x25f06b(0x49b));}var _0x509d31={'exports':{}},_0x59d1d3;function _0x2e72f8(){const _0x3e7380=_0x494bb3;return _0x59d1d3||(_0x59d1d3=0x1,function(_0x1a1666,_0x42dd7a){(function(_0x2f04a6,_0x251a80){_0x1a1666['exports']=_0x251a80();}(_0x1aae94,function(){var _0x18d02e=_0x18d02e||function(_0x17b30a,_0x266e00){const _0x4ba681=_0x50cf;var _0x5956df;if(typeof window<'u'&&window[_0x4ba681(0x1fc)]&&(_0x5956df=window['crypto']),typeof self<'u'&&self[_0x4ba681(0x1fc)]&&(_0x5956df=self[_0x4ba681(0x1fc)]),typeof globalThis<'u'&&globalThis[_0x4ba681(0x1fc)]&&(_0x5956df=globalThis['crypto']),!_0x5956df&&typeof window<'u'&&window[_0x4ba681(0x477)]&&(_0x5956df=window[_0x4ba681(0x477)]),!_0x5956df&&typeof _0x1aae94<'u'&&_0x1aae94[_0x4ba681(0x1fc)]&&(_0x5956df=_0x1aae94[_0x4ba681(0x1fc)]),!_0x5956df&&typeof _0x264753==_0x4ba681(0x4c1))try{_0x5956df=require(_0x4ba681(0x1fc));}catch{}var _0x2b51e6=function(){const _0x2848c9=_0x4ba681;if(_0x5956df){if(typeof _0x5956df[_0x2848c9(0x289)]==_0x2848c9(0x4c1))try{return _0x5956df[_0x2848c9(0x289)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x5956df['randomBytes']=='function')try{return _0x5956df[_0x2848c9(0x1fa)](0x4)[_0x2848c9(0x546)]();}catch{}}throw new Error('Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.');},_0x3f1a39=Object[_0x4ba681(0x2e4)]||(function(){function _0x22c31e(){}return function(_0xde60f4){const _0x37fee7=_0x50cf;var _0x534a09;return _0x22c31e[_0x37fee7(0x37f)]=_0xde60f4,_0x534a09=new _0x22c31e(),_0x22c31e[_0x37fee7(0x37f)]=null,_0x534a09;};}()),_0x3d47d2={},_0x42f9a2=_0x3d47d2['lib']={},_0x443217=_0x42f9a2[_0x4ba681(0x1f7)]=(function(){return{'extend':function(_0x39a7d2){const _0x12e3db=_0x50cf;var _0x1693e5=_0x3f1a39(this);return _0x39a7d2&&_0x1693e5[_0x12e3db(0x29e)](_0x39a7d2),(!_0x1693e5[_0x12e3db(0x35e)](_0x12e3db(0x4bc))||this[_0x12e3db(0x4bc)]===_0x1693e5['init'])&&(_0x1693e5[_0x12e3db(0x4bc)]=function(){const _0x35514f=_0x12e3db;_0x1693e5[_0x35514f(0x16a)][_0x35514f(0x4bc)]['apply'](this,arguments);}),_0x1693e5[_0x12e3db(0x4bc)][_0x12e3db(0x37f)]=_0x1693e5,_0x1693e5[_0x12e3db(0x16a)]=this,_0x1693e5;},'create':function(){const _0x3547ad=_0x50cf;var _0x4ee274=this[_0x3547ad(0x3d1)]();return _0x4ee274['init'][_0x3547ad(0x476)](_0x4ee274,arguments),_0x4ee274;},'init':function(){},'mixIn':function(_0x463ac5){const _0x139886=_0x50cf;for(var _0x183dc2 in _0x463ac5)_0x463ac5['hasOwnProperty'](_0x183dc2)&&(this[_0x183dc2]=_0x463ac5[_0x183dc2]);_0x463ac5[_0x139886(0x35e)]('toString')&&(this[_0x139886(0x283)]=_0x463ac5[_0x139886(0x283)]);},'clone':function(){const _0x1fa273=_0x50cf;return this['init'][_0x1fa273(0x37f)][_0x1fa273(0x3d1)](this);}};}()),_0x2d009f=_0x42f9a2[_0x4ba681(0x188)]=_0x443217['extend']({'init':function(_0x5d2c2c,_0xd93d70){const _0x4a1816=_0x4ba681;_0x5d2c2c=this[_0x4a1816(0x50b)]=_0x5d2c2c||[],_0xd93d70!=_0x266e00?this[_0x4a1816(0x338)]=_0xd93d70:this['sigBytes']=_0x5d2c2c[_0x4a1816(0x5aa)]*0x4;},'toString':function(_0x4feb66){return(_0x4feb66||_0xada0e5)['stringify'](this);},'concat':function(_0xda1e95){const _0x3e0b71=_0x4ba681;var _0x572f66=this['words'],_0x37d615=_0xda1e95['words'],_0x5154f8=this[_0x3e0b71(0x338)],_0x40433f=_0xda1e95[_0x3e0b71(0x338)];if(this[_0x3e0b71(0x1b2)](),_0x5154f8%0x4)for(var _0x5d91a1=0x0;_0x5d91a1<_0x40433f;_0x5d91a1++){var _0x42d793=_0x37d615[_0x5d91a1>>>0x2]>>>0x18-_0x5d91a1%0x4*0x8&0xff;_0x572f66[_0x5154f8+_0x5d91a1>>>0x2]|=_0x42d793<<0x18-(_0x5154f8+_0x5d91a1)%0x4*0x8;}else{for(var _0x5b9898=0x0;_0x5b9898<_0x40433f;_0x5b9898+=0x4)_0x572f66[_0x5154f8+_0x5b9898>>>0x2]=_0x37d615[_0x5b9898>>>0x2];}return this[_0x3e0b71(0x338)]+=_0x40433f,this;},'clamp':function(){const _0xc2431f=_0x4ba681;var _0x42f519=this['words'],_0x41c5b5=this[_0xc2431f(0x338)];_0x42f519[_0x41c5b5>>>0x2]&=0xffffffff<<0x20-_0x41c5b5%0x4*0x8,_0x42f519[_0xc2431f(0x5aa)]=_0x17b30a[_0xc2431f(0x32a)](_0x41c5b5/0x4);},'clone':function(){const _0x30fcd9=_0x4ba681;var _0x108a4a=_0x443217[_0x30fcd9(0x2e2)][_0x30fcd9(0x451)](this);return _0x108a4a['words']=this[_0x30fcd9(0x50b)]['slice'](0x0),_0x108a4a;},'random':function(_0x10efc7){const _0x53a6e9=_0x4ba681;for(var _0x2600de=[],_0x1205ca=0x0;_0x1205ca<_0x10efc7;_0x1205ca+=0x4)_0x2600de[_0x53a6e9(0x196)](_0x2b51e6());return new _0x2d009f[(_0x53a6e9(0x4bc))](_0x2600de,_0x10efc7);}}),_0x2fcb0a=_0x3d47d2[_0x4ba681(0x5e9)]={},_0xada0e5=_0x2fcb0a[_0x4ba681(0x393)]={'stringify':function(_0x3afd72){const _0x5c713a=_0x4ba681;for(var _0x572448=_0x3afd72[_0x5c713a(0x50b)],_0x5c14d8=_0x3afd72[_0x5c713a(0x338)],_0x1a92f7=[],_0x47e4b3=0x0;_0x47e4b3<_0x5c14d8;_0x47e4b3++){var _0x238afa=_0x572448[_0x47e4b3>>>0x2]>>>0x18-_0x47e4b3%0x4*0x8&0xff;_0x1a92f7[_0x5c713a(0x196)]((_0x238afa>>>0x4)[_0x5c713a(0x283)](0x10)),_0x1a92f7[_0x5c713a(0x196)]((_0x238afa&0xf)[_0x5c713a(0x283)](0x10));}return _0x1a92f7['join']('');},'parse':function(_0x107364){const _0x53be42=_0x4ba681;for(var _0x303393=_0x107364[_0x53be42(0x5aa)],_0x50f6dd=[],_0x439948=0x0;_0x439948<_0x303393;_0x439948+=0x2)_0x50f6dd[_0x439948>>>0x3]|=parseInt(_0x107364[_0x53be42(0x3df)](_0x439948,0x2),0x10)<<0x18-_0x439948%0x8*0x4;return new _0x2d009f['init'](_0x50f6dd,_0x303393/0x2);}},_0x512ac8=_0x2fcb0a['Latin1']={'stringify':function(_0x484993){const _0x5f0cb8=_0x4ba681;for(var _0x1f2217=_0x484993[_0x5f0cb8(0x50b)],_0x43709a=_0x484993[_0x5f0cb8(0x338)],_0x1621cd=[],_0x161075=0x0;_0x161075<_0x43709a;_0x161075++){var _0x2408fa=_0x1f2217[_0x161075>>>0x2]>>>0x18-_0x161075%0x4*0x8&0xff;_0x1621cd[_0x5f0cb8(0x196)](String[_0x5f0cb8(0x167)](_0x2408fa));}return _0x1621cd[_0x5f0cb8(0x4aa)]('');},'parse':function(_0x83f183){const _0x5b8585=_0x4ba681;for(var _0x332652=_0x83f183[_0x5b8585(0x5aa)],_0x2b1286=[],_0x26910d=0x0;_0x26910d<_0x332652;_0x26910d++)_0x2b1286[_0x26910d>>>0x2]|=(_0x83f183[_0x5b8585(0x247)](_0x26910d)&0xff)<<0x18-_0x26910d%0x4*0x8;return new _0x2d009f['init'](_0x2b1286,_0x332652);}},_0x1a9117=_0x2fcb0a[_0x4ba681(0x429)]={'stringify':function(_0x8f39e3){const _0x5d46e9=_0x4ba681;try{return decodeURIComponent(escape(_0x512ac8[_0x5d46e9(0x58b)](_0x8f39e3)));}catch{throw new Error(_0x5d46e9(0x288));}},'parse':function(_0x5be65b){const _0x1f6601=_0x4ba681;return _0x512ac8[_0x1f6601(0x40c)](unescape(encodeURIComponent(_0x5be65b)));}},_0x1cdf90=_0x42f9a2[_0x4ba681(0x2ad)]=_0x443217[_0x4ba681(0x3d1)]({'reset':function(){const _0x4d3bfa=_0x4ba681;this[_0x4d3bfa(0x29c)]=new _0x2d009f[(_0x4d3bfa(0x4bc))](),this[_0x4d3bfa(0x372)]=0x0;},'_append':function(_0x5bf55b){const _0x52ea41=_0x4ba681;typeof _0x5bf55b==_0x52ea41(0x56d)&&(_0x5bf55b=_0x1a9117['parse'](_0x5bf55b)),this['_data'][_0x52ea41(0x291)](_0x5bf55b),this['_nDataBytes']+=_0x5bf55b['sigBytes'];},'_process':function(_0x1c6a9f){const _0x5e8ce0=_0x4ba681;var _0x40ccce,_0x59f008=this[_0x5e8ce0(0x29c)],_0x327234=_0x59f008['words'],_0x362ec5=_0x59f008[_0x5e8ce0(0x338)],_0x5d84e0=this[_0x5e8ce0(0x2f5)],_0x421542=_0x5d84e0*0x4,_0x418885=_0x362ec5/_0x421542;_0x1c6a9f?_0x418885=_0x17b30a[_0x5e8ce0(0x32a)](_0x418885):_0x418885=_0x17b30a[_0x5e8ce0(0x547)]((_0x418885|0x0)-this[_0x5e8ce0(0x526)],0x0);var _0x5bad89=_0x418885*_0x5d84e0,_0x1b1fa3=_0x17b30a['min'](_0x5bad89*0x4,_0x362ec5);if(_0x5bad89){for(var _0x5f32b2=0x0;_0x5f32b2<_0x5bad89;_0x5f32b2+=_0x5d84e0)this[_0x5e8ce0(0x2d0)](_0x327234,_0x5f32b2);_0x40ccce=_0x327234[_0x5e8ce0(0x345)](0x0,_0x5bad89),_0x59f008[_0x5e8ce0(0x338)]-=_0x1b1fa3;}return new _0x2d009f[(_0x5e8ce0(0x4bc))](_0x40ccce,_0x1b1fa3);},'clone':function(){const _0xe75e7b=_0x4ba681;var _0x325970=_0x443217[_0xe75e7b(0x2e2)][_0xe75e7b(0x451)](this);return _0x325970[_0xe75e7b(0x29c)]=this[_0xe75e7b(0x29c)]['clone'](),_0x325970;},'_minBufferSize':0x0});_0x42f9a2[_0x4ba681(0x42a)]=_0x1cdf90[_0x4ba681(0x3d1)]({'cfg':_0x443217['extend'](),'init':function(_0x13d501){const _0x2bf52d=_0x4ba681;this[_0x2bf52d(0x245)]=this[_0x2bf52d(0x245)][_0x2bf52d(0x3d1)](_0x13d501),this[_0x2bf52d(0x3db)]();},'reset':function(){const _0x2bada6=_0x4ba681;_0x1cdf90[_0x2bada6(0x3db)]['call'](this),this[_0x2bada6(0x523)]();},'update':function(_0x7f4319){const _0x1e6325=_0x4ba681;return this['_append'](_0x7f4319),this[_0x1e6325(0x55f)](),this;},'finalize':function(_0x329607){const _0x516ea4=_0x4ba681;_0x329607&&this[_0x516ea4(0x4bf)](_0x329607);var _0x3a38cc=this[_0x516ea4(0x1c6)]();return _0x3a38cc;},'blockSize':0x10,'_createHelper':function(_0x3765a3){return function(_0x3dfd07,_0x2472eb){const _0x45edb2=_0x50cf;return new _0x3765a3[(_0x45edb2(0x4bc))](_0x2472eb)['finalize'](_0x3dfd07);};},'_createHmacHelper':function(_0x2f9a15){return function(_0x29e077,_0x2bbaf4){const _0x23423b=_0x50cf;return new _0x3ca17d['HMAC'][(_0x23423b(0x4bc))](_0x2f9a15,_0x2bbaf4)['finalize'](_0x29e077);};}});var _0x3ca17d=_0x3d47d2[_0x4ba681(0x54f)]={};return _0x3d47d2;}(Math);return _0x18d02e;}));}(_0x509d31)),_0x509d31[_0x3e7380(0x589)];}var _0x21556f={'exports':{}},_0x3f3405;function _0x6e8aa3(){const _0x3caaa7=_0x494bb3;return _0x3f3405||(_0x3f3405=0x1,function(_0x17da90,_0x407f1a){(function(_0x802e24,_0x1bfad0){const _0x4cea4c=_0x50cf;_0x17da90[_0x4cea4c(0x589)]=_0x1bfad0(_0x2e72f8());}(_0x1aae94,function(_0x4f8567){const _0x599321=_0x50cf;return(function(){const _0x4a861f=_0x50cf;var _0xe4333d=_0x4f8567,_0x490dc2=_0xe4333d[_0x4a861f(0x483)],_0x16bf82=_0x490dc2[_0x4a861f(0x188)],_0x303f39=_0xe4333d['enc'];_0x303f39[_0x4a861f(0x5fd)]={'stringify':function(_0xf44cc6){const _0xdfdca6=_0x4a861f;var _0x118070=_0xf44cc6[_0xdfdca6(0x50b)],_0x2ea438=_0xf44cc6[_0xdfdca6(0x338)],_0x3ee7a3=this['_map'];_0xf44cc6[_0xdfdca6(0x1b2)]();for(var _0x3a625c=[],_0x330d12=0x0;_0x330d12<_0x2ea438;_0x330d12+=0x3)for(var _0x333b24=_0x118070[_0x330d12>>>0x2]>>>0x18-_0x330d12%0x4*0x8&0xff,_0x51b366=_0x118070[_0x330d12+0x1>>>0x2]>>>0x18-(_0x330d12+0x1)%0x4*0x8&0xff,_0x4dac27=_0x118070[_0x330d12+0x2>>>0x2]>>>0x18-(_0x330d12+0x2)%0x4*0x8&0xff,_0x4bc6c9=_0x333b24<<0x10|_0x51b366<<0x8|_0x4dac27,_0x23d6c3=0x0;_0x23d6c3<0x4&&_0x330d12+_0x23d6c3*0.75<_0x2ea438;_0x23d6c3++)_0x3a625c[_0xdfdca6(0x196)](_0x3ee7a3['charAt'](_0x4bc6c9>>>0x6*(0x3-_0x23d6c3)&0x3f));var _0x4ad850=_0x3ee7a3['charAt'](0x40);if(_0x4ad850){for(;_0x3a625c['length']%0x4;)_0x3a625c[_0xdfdca6(0x196)](_0x4ad850);}return _0x3a625c[_0xdfdca6(0x4aa)]('');},'parse':function(_0x2fa3c8){const _0xb7ec71=_0x4a861f;var _0x125e48=_0x2fa3c8[_0xb7ec71(0x5aa)],_0x5d4db7=this[_0xb7ec71(0x573)],_0x40bb77=this[_0xb7ec71(0x444)];if(!_0x40bb77){_0x40bb77=this[_0xb7ec71(0x444)]=[];for(var _0x4c5c89=0x0;_0x4c5c89<_0x5d4db7['length'];_0x4c5c89++)_0x40bb77[_0x5d4db7[_0xb7ec71(0x247)](_0x4c5c89)]=_0x4c5c89;}var _0x2b01a7=_0x5d4db7['charAt'](0x40);if(_0x2b01a7){var _0x4ae662=_0x2fa3c8[_0xb7ec71(0x1d6)](_0x2b01a7);_0x4ae662!==-0x1&&(_0x125e48=_0x4ae662);}return _0x40a38e(_0x2fa3c8,_0x125e48,_0x40bb77);},'_map':'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/='};function _0x40a38e(_0x638d5f,_0x3b3074,_0x144d9b){const _0x7e8cfc=_0x4a861f;for(var _0x2b1498=[],_0x417d72=0x0,_0x28a9f1=0x0;_0x28a9f1<_0x3b3074;_0x28a9f1++)if(_0x28a9f1%0x4){var _0x3a7ba6=_0x144d9b[_0x638d5f[_0x7e8cfc(0x247)](_0x28a9f1-0x1)]<<_0x28a9f1%0x4*0x2,_0x52fd4e=_0x144d9b[_0x638d5f[_0x7e8cfc(0x247)](_0x28a9f1)]>>>0x6-_0x28a9f1%0x4*0x2,_0x148d1d=_0x3a7ba6|_0x52fd4e;_0x2b1498[_0x417d72>>>0x2]|=_0x148d1d<<0x18-_0x417d72%0x4*0x8,_0x417d72++;}return _0x16bf82[_0x7e8cfc(0x2e4)](_0x2b1498,_0x417d72);}}()),_0x4f8567[_0x599321(0x5e9)][_0x599321(0x5fd)];}));}(_0x21556f)),_0x21556f[_0x3caaa7(0x589)];}var _0x4a51b9={'exports':{}},_0x559db8;function _0x4cef5f(){const _0x210711=_0x494bb3;return _0x559db8||(_0x559db8=0x1,function(_0x5745e0,_0x4b8848){(function(_0x33fd1d,_0x335db7){const _0x151fde=_0x50cf;_0x5745e0[_0x151fde(0x589)]=_0x335db7(_0x2e72f8());}(_0x1aae94,function(_0x4fdce8){return function(_0x14be6c){const _0x1efd3e=_0x50cf;var _0x288816=_0x4fdce8,_0x492d97=_0x288816['lib'],_0x33c493=_0x492d97['WordArray'],_0xdcb51a=_0x492d97[_0x1efd3e(0x42a)],_0x16f0d9=_0x288816[_0x1efd3e(0x54f)],_0x2a5662=[];(function(){for(var _0x481b1c=0x0;_0x481b1c<0x40;_0x481b1c++)_0x2a5662[_0x481b1c]=_0x14be6c['abs'](_0x14be6c['sin'](_0x481b1c+0x1))*0x100000000|0x0;}());var _0x58180c=_0x16f0d9[_0x1efd3e(0x53e)]=_0xdcb51a[_0x1efd3e(0x3d1)]({'_doReset':function(){const _0x482cd7=_0x1efd3e;this['_hash']=new _0x33c493[(_0x482cd7(0x4bc))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x55e90b,_0x462523){const _0x2defab=_0x1efd3e;for(var _0x5a5df8=0x0;_0x5a5df8<0x10;_0x5a5df8++){var _0x3d50d4=_0x462523+_0x5a5df8,_0x543f54=_0x55e90b[_0x3d50d4];_0x55e90b[_0x3d50d4]=(_0x543f54<<0x8|_0x543f54>>>0x18)&0xff00ff|(_0x543f54<<0x18|_0x543f54>>>0x8)&0xff00ff00;}var _0x5c825c=this['_hash'][_0x2defab(0x50b)],_0x3fb212=_0x55e90b[_0x462523+0x0],_0x3cea97=_0x55e90b[_0x462523+0x1],_0x3c97d6=_0x55e90b[_0x462523+0x2],_0x5c9486=_0x55e90b[_0x462523+0x3],_0x2bd73c=_0x55e90b[_0x462523+0x4],_0x6ce0e2=_0x55e90b[_0x462523+0x5],_0x3cb8a8=_0x55e90b[_0x462523+0x6],_0x5d8a08=_0x55e90b[_0x462523+0x7],_0x1aac9a=_0x55e90b[_0x462523+0x8],_0x41adb8=_0x55e90b[_0x462523+0x9],_0x135a10=_0x55e90b[_0x462523+0xa],_0x28924e=_0x55e90b[_0x462523+0xb],_0x2459c2=_0x55e90b[_0x462523+0xc],_0x1e5856=_0x55e90b[_0x462523+0xd],_0x1e4da9=_0x55e90b[_0x462523+0xe],_0xb36d31=_0x55e90b[_0x462523+0xf],_0x3767b0=_0x5c825c[0x0],_0x33709c=_0x5c825c[0x1],_0x35644d=_0x5c825c[0x2],_0x2e42e0=_0x5c825c[0x3];_0x3767b0=_0x25a76a(_0x3767b0,_0x33709c,_0x35644d,_0x2e42e0,_0x3fb212,0x7,_0x2a5662[0x0]),_0x2e42e0=_0x25a76a(_0x2e42e0,_0x3767b0,_0x33709c,_0x35644d,_0x3cea97,0xc,_0x2a5662[0x1]),_0x35644d=_0x25a76a(_0x35644d,_0x2e42e0,_0x3767b0,_0x33709c,_0x3c97d6,0x11,_0x2a5662[0x2]),_0x33709c=_0x25a76a(_0x33709c,_0x35644d,_0x2e42e0,_0x3767b0,_0x5c9486,0x16,_0x2a5662[0x3]),_0x3767b0=_0x25a76a(_0x3767b0,_0x33709c,_0x35644d,_0x2e42e0,_0x2bd73c,0x7,_0x2a5662[0x4]),_0x2e42e0=_0x25a76a(_0x2e42e0,_0x3767b0,_0x33709c,_0x35644d,_0x6ce0e2,0xc,_0x2a5662[0x5]),_0x35644d=_0x25a76a(_0x35644d,_0x2e42e0,_0x3767b0,_0x33709c,_0x3cb8a8,0x11,_0x2a5662[0x6]),_0x33709c=_0x25a76a(_0x33709c,_0x35644d,_0x2e42e0,_0x3767b0,_0x5d8a08,0x16,_0x2a5662[0x7]),_0x3767b0=_0x25a76a(_0x3767b0,_0x33709c,_0x35644d,_0x2e42e0,_0x1aac9a,0x7,_0x2a5662[0x8]),_0x2e42e0=_0x25a76a(_0x2e42e0,_0x3767b0,_0x33709c,_0x35644d,_0x41adb8,0xc,_0x2a5662[0x9]),_0x35644d=_0x25a76a(_0x35644d,_0x2e42e0,_0x3767b0,_0x33709c,_0x135a10,0x11,_0x2a5662[0xa]),_0x33709c=_0x25a76a(_0x33709c,_0x35644d,_0x2e42e0,_0x3767b0,_0x28924e,0x16,_0x2a5662[0xb]),_0x3767b0=_0x25a76a(_0x3767b0,_0x33709c,_0x35644d,_0x2e42e0,_0x2459c2,0x7,_0x2a5662[0xc]),_0x2e42e0=_0x25a76a(_0x2e42e0,_0x3767b0,_0x33709c,_0x35644d,_0x1e5856,0xc,_0x2a5662[0xd]),_0x35644d=_0x25a76a(_0x35644d,_0x2e42e0,_0x3767b0,_0x33709c,_0x1e4da9,0x11,_0x2a5662[0xe]),_0x33709c=_0x25a76a(_0x33709c,_0x35644d,_0x2e42e0,_0x3767b0,_0xb36d31,0x16,_0x2a5662[0xf]),_0x3767b0=_0x14523c(_0x3767b0,_0x33709c,_0x35644d,_0x2e42e0,_0x3cea97,0x5,_0x2a5662[0x10]),_0x2e42e0=_0x14523c(_0x2e42e0,_0x3767b0,_0x33709c,_0x35644d,_0x3cb8a8,0x9,_0x2a5662[0x11]),_0x35644d=_0x14523c(_0x35644d,_0x2e42e0,_0x3767b0,_0x33709c,_0x28924e,0xe,_0x2a5662[0x12]),_0x33709c=_0x14523c(_0x33709c,_0x35644d,_0x2e42e0,_0x3767b0,_0x3fb212,0x14,_0x2a5662[0x13]),_0x3767b0=_0x14523c(_0x3767b0,_0x33709c,_0x35644d,_0x2e42e0,_0x6ce0e2,0x5,_0x2a5662[0x14]),_0x2e42e0=_0x14523c(_0x2e42e0,_0x3767b0,_0x33709c,_0x35644d,_0x135a10,0x9,_0x2a5662[0x15]),_0x35644d=_0x14523c(_0x35644d,_0x2e42e0,_0x3767b0,_0x33709c,_0xb36d31,0xe,_0x2a5662[0x16]),_0x33709c=_0x14523c(_0x33709c,_0x35644d,_0x2e42e0,_0x3767b0,_0x2bd73c,0x14,_0x2a5662[0x17]),_0x3767b0=_0x14523c(_0x3767b0,_0x33709c,_0x35644d,_0x2e42e0,_0x41adb8,0x5,_0x2a5662[0x18]),_0x2e42e0=_0x14523c(_0x2e42e0,_0x3767b0,_0x33709c,_0x35644d,_0x1e4da9,0x9,_0x2a5662[0x19]),_0x35644d=_0x14523c(_0x35644d,_0x2e42e0,_0x3767b0,_0x33709c,_0x5c9486,0xe,_0x2a5662[0x1a]),_0x33709c=_0x14523c(_0x33709c,_0x35644d,_0x2e42e0,_0x3767b0,_0x1aac9a,0x14,_0x2a5662[0x1b]),_0x3767b0=_0x14523c(_0x3767b0,_0x33709c,_0x35644d,_0x2e42e0,_0x1e5856,0x5,_0x2a5662[0x1c]),_0x2e42e0=_0x14523c(_0x2e42e0,_0x3767b0,_0x33709c,_0x35644d,_0x3c97d6,0x9,_0x2a5662[0x1d]),_0x35644d=_0x14523c(_0x35644d,_0x2e42e0,_0x3767b0,_0x33709c,_0x5d8a08,0xe,_0x2a5662[0x1e]),_0x33709c=_0x14523c(_0x33709c,_0x35644d,_0x2e42e0,_0x3767b0,_0x2459c2,0x14,_0x2a5662[0x1f]),_0x3767b0=_0x1aee12(_0x3767b0,_0x33709c,_0x35644d,_0x2e42e0,_0x6ce0e2,0x4,_0x2a5662[0x20]),_0x2e42e0=_0x1aee12(_0x2e42e0,_0x3767b0,_0x33709c,_0x35644d,_0x1aac9a,0xb,_0x2a5662[0x21]),_0x35644d=_0x1aee12(_0x35644d,_0x2e42e0,_0x3767b0,_0x33709c,_0x28924e,0x10,_0x2a5662[0x22]),_0x33709c=_0x1aee12(_0x33709c,_0x35644d,_0x2e42e0,_0x3767b0,_0x1e4da9,0x17,_0x2a5662[0x23]),_0x3767b0=_0x1aee12(_0x3767b0,_0x33709c,_0x35644d,_0x2e42e0,_0x3cea97,0x4,_0x2a5662[0x24]),_0x2e42e0=_0x1aee12(_0x2e42e0,_0x3767b0,_0x33709c,_0x35644d,_0x2bd73c,0xb,_0x2a5662[0x25]),_0x35644d=_0x1aee12(_0x35644d,_0x2e42e0,_0x3767b0,_0x33709c,_0x5d8a08,0x10,_0x2a5662[0x26]),_0x33709c=_0x1aee12(_0x33709c,_0x35644d,_0x2e42e0,_0x3767b0,_0x135a10,0x17,_0x2a5662[0x27]),_0x3767b0=_0x1aee12(_0x3767b0,_0x33709c,_0x35644d,_0x2e42e0,_0x1e5856,0x4,_0x2a5662[0x28]),_0x2e42e0=_0x1aee12(_0x2e42e0,_0x3767b0,_0x33709c,_0x35644d,_0x3fb212,0xb,_0x2a5662[0x29]),_0x35644d=_0x1aee12(_0x35644d,_0x2e42e0,_0x3767b0,_0x33709c,_0x5c9486,0x10,_0x2a5662[0x2a]),_0x33709c=_0x1aee12(_0x33709c,_0x35644d,_0x2e42e0,_0x3767b0,_0x3cb8a8,0x17,_0x2a5662[0x2b]),_0x3767b0=_0x1aee12(_0x3767b0,_0x33709c,_0x35644d,_0x2e42e0,_0x41adb8,0x4,_0x2a5662[0x2c]),_0x2e42e0=_0x1aee12(_0x2e42e0,_0x3767b0,_0x33709c,_0x35644d,_0x2459c2,0xb,_0x2a5662[0x2d]),_0x35644d=_0x1aee12(_0x35644d,_0x2e42e0,_0x3767b0,_0x33709c,_0xb36d31,0x10,_0x2a5662[0x2e]),_0x33709c=_0x1aee12(_0x33709c,_0x35644d,_0x2e42e0,_0x3767b0,_0x3c97d6,0x17,_0x2a5662[0x2f]),_0x3767b0=_0x3c7673(_0x3767b0,_0x33709c,_0x35644d,_0x2e42e0,_0x3fb212,0x6,_0x2a5662[0x30]),_0x2e42e0=_0x3c7673(_0x2e42e0,_0x3767b0,_0x33709c,_0x35644d,_0x5d8a08,0xa,_0x2a5662[0x31]),_0x35644d=_0x3c7673(_0x35644d,_0x2e42e0,_0x3767b0,_0x33709c,_0x1e4da9,0xf,_0x2a5662[0x32]),_0x33709c=_0x3c7673(_0x33709c,_0x35644d,_0x2e42e0,_0x3767b0,_0x6ce0e2,0x15,_0x2a5662[0x33]),_0x3767b0=_0x3c7673(_0x3767b0,_0x33709c,_0x35644d,_0x2e42e0,_0x2459c2,0x6,_0x2a5662[0x34]),_0x2e42e0=_0x3c7673(_0x2e42e0,_0x3767b0,_0x33709c,_0x35644d,_0x5c9486,0xa,_0x2a5662[0x35]),_0x35644d=_0x3c7673(_0x35644d,_0x2e42e0,_0x3767b0,_0x33709c,_0x135a10,0xf,_0x2a5662[0x36]),_0x33709c=_0x3c7673(_0x33709c,_0x35644d,_0x2e42e0,_0x3767b0,_0x3cea97,0x15,_0x2a5662[0x37]),_0x3767b0=_0x3c7673(_0x3767b0,_0x33709c,_0x35644d,_0x2e42e0,_0x1aac9a,0x6,_0x2a5662[0x38]),_0x2e42e0=_0x3c7673(_0x2e42e0,_0x3767b0,_0x33709c,_0x35644d,_0xb36d31,0xa,_0x2a5662[0x39]),_0x35644d=_0x3c7673(_0x35644d,_0x2e42e0,_0x3767b0,_0x33709c,_0x3cb8a8,0xf,_0x2a5662[0x3a]),_0x33709c=_0x3c7673(_0x33709c,_0x35644d,_0x2e42e0,_0x3767b0,_0x1e5856,0x15,_0x2a5662[0x3b]),_0x3767b0=_0x3c7673(_0x3767b0,_0x33709c,_0x35644d,_0x2e42e0,_0x2bd73c,0x6,_0x2a5662[0x3c]),_0x2e42e0=_0x3c7673(_0x2e42e0,_0x3767b0,_0x33709c,_0x35644d,_0x28924e,0xa,_0x2a5662[0x3d]),_0x35644d=_0x3c7673(_0x35644d,_0x2e42e0,_0x3767b0,_0x33709c,_0x3c97d6,0xf,_0x2a5662[0x3e]),_0x33709c=_0x3c7673(_0x33709c,_0x35644d,_0x2e42e0,_0x3767b0,_0x41adb8,0x15,_0x2a5662[0x3f]),_0x5c825c[0x0]=_0x5c825c[0x0]+_0x3767b0|0x0,_0x5c825c[0x1]=_0x5c825c[0x1]+_0x33709c|0x0,_0x5c825c[0x2]=_0x5c825c[0x2]+_0x35644d|0x0,_0x5c825c[0x3]=_0x5c825c[0x3]+_0x2e42e0|0x0;},'_doFinalize':function(){const _0x3578f6=_0x1efd3e;var _0xba679e=this[_0x3578f6(0x29c)],_0x57519b=_0xba679e['words'],_0x5e024b=this[_0x3578f6(0x372)]*0x8,_0x4cc385=_0xba679e['sigBytes']*0x8;_0x57519b[_0x4cc385>>>0x5]|=0x80<<0x18-_0x4cc385%0x20;var _0x190acb=_0x14be6c['floor'](_0x5e024b/0x100000000),_0x4df160=_0x5e024b;_0x57519b[(_0x4cc385+0x40>>>0x9<<0x4)+0xf]=(_0x190acb<<0x8|_0x190acb>>>0x18)&0xff00ff|(_0x190acb<<0x18|_0x190acb>>>0x8)&0xff00ff00,_0x57519b[(_0x4cc385+0x40>>>0x9<<0x4)+0xe]=(_0x4df160<<0x8|_0x4df160>>>0x18)&0xff00ff|(_0x4df160<<0x18|_0x4df160>>>0x8)&0xff00ff00,_0xba679e[_0x3578f6(0x338)]=(_0x57519b['length']+0x1)*0x4,this[_0x3578f6(0x55f)]();for(var _0x40ff5e=this['_hash'],_0x5f532f=_0x40ff5e[_0x3578f6(0x50b)],_0xbd22a1=0x0;_0xbd22a1<0x4;_0xbd22a1++){var _0x4ebf56=_0x5f532f[_0xbd22a1];_0x5f532f[_0xbd22a1]=(_0x4ebf56<<0x8|_0x4ebf56>>>0x18)&0xff00ff|(_0x4ebf56<<0x18|_0x4ebf56>>>0x8)&0xff00ff00;}return _0x40ff5e;},'clone':function(){const _0x374c48=_0x1efd3e;var _0x47eef8=_0xdcb51a[_0x374c48(0x2e2)][_0x374c48(0x451)](this);return _0x47eef8[_0x374c48(0x1c2)]=this[_0x374c48(0x1c2)]['clone'](),_0x47eef8;}});function _0x25a76a(_0x434bde,_0x561814,_0x4283ba,_0x418d95,_0xf8708d,_0x1af946,_0x7cc614){var _0x587828=_0x434bde+(_0x561814&_0x4283ba|~_0x561814&_0x418d95)+_0xf8708d+_0x7cc614;return(_0x587828<<_0x1af946|_0x587828>>>0x20-_0x1af946)+_0x561814;}function _0x14523c(_0x5f4479,_0x4d4f90,_0x207a94,_0x30ac2d,_0x103a3c,_0x53977d,_0x49632c){var _0x447146=_0x5f4479+(_0x4d4f90&_0x30ac2d|_0x207a94&~_0x30ac2d)+_0x103a3c+_0x49632c;return(_0x447146<<_0x53977d|_0x447146>>>0x20-_0x53977d)+_0x4d4f90;}function _0x1aee12(_0x1e0e8a,_0x29940f,_0x1346bd,_0x10cbbe,_0x2dcc45,_0x3c2778,_0x2b17e8){var _0x304d60=_0x1e0e8a+(_0x29940f^_0x1346bd^_0x10cbbe)+_0x2dcc45+_0x2b17e8;return(_0x304d60<<_0x3c2778|_0x304d60>>>0x20-_0x3c2778)+_0x29940f;}function _0x3c7673(_0x3d6d1a,_0x1e90cc,_0x36bf8d,_0x1d4d42,_0x37f282,_0x3964e3,_0x4fef5a){var _0x1531e5=_0x3d6d1a+(_0x36bf8d^(_0x1e90cc|~_0x1d4d42))+_0x37f282+_0x4fef5a;return(_0x1531e5<<_0x3964e3|_0x1531e5>>>0x20-_0x3964e3)+_0x1e90cc;}_0x288816[_0x1efd3e(0x53e)]=_0xdcb51a[_0x1efd3e(0x5f3)](_0x58180c),_0x288816['HmacMD5']=_0xdcb51a[_0x1efd3e(0x44f)](_0x58180c);}(Math),_0x4fdce8['MD5'];}));}(_0x4a51b9)),_0x4a51b9[_0x210711(0x589)];}var _0x4af300={'exports':{}},_0x5cab66={'exports':{}},_0x42c429;function _0x4c6c09(){return _0x42c429||(_0x42c429=0x1,function(_0x3dda7b,_0x48c06d){(function(_0x4cba85,_0x3229da){_0x3dda7b['exports']=_0x3229da(_0x2e72f8());}(_0x1aae94,function(_0x629951){const _0x15b43c=_0x50cf;return(function(){const _0x35d49e=_0x50cf;var _0x5c4cc9=_0x629951,_0x3f341c=_0x5c4cc9['lib'],_0x20c1a1=_0x3f341c[_0x35d49e(0x188)],_0x2761f1=_0x3f341c[_0x35d49e(0x42a)],_0x5cab03=_0x5c4cc9[_0x35d49e(0x54f)],_0x500b08=[],_0x3581e9=_0x5cab03[_0x35d49e(0x449)]=_0x2761f1[_0x35d49e(0x3d1)]({'_doReset':function(){const _0x53ebd2=_0x35d49e;this[_0x53ebd2(0x1c2)]=new _0x20c1a1[(_0x53ebd2(0x4bc))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x7a9214,_0x256c07){const _0x3a5d7b=_0x35d49e;for(var _0x9488ec=this[_0x3a5d7b(0x1c2)][_0x3a5d7b(0x50b)],_0x5a527b=_0x9488ec[0x0],_0x9742bc=_0x9488ec[0x1],_0x197464=_0x9488ec[0x2],_0x55b6e4=_0x9488ec[0x3],_0x1a818b=_0x9488ec[0x4],_0x16a1c0=0x0;_0x16a1c0<0x50;_0x16a1c0++){if(_0x16a1c0<0x10)_0x500b08[_0x16a1c0]=_0x7a9214[_0x256c07+_0x16a1c0]|0x0;else{var _0x397887=_0x500b08[_0x16a1c0-0x3]^_0x500b08[_0x16a1c0-0x8]^_0x500b08[_0x16a1c0-0xe]^_0x500b08[_0x16a1c0-0x10];_0x500b08[_0x16a1c0]=_0x397887<<0x1|_0x397887>>>0x1f;}var _0x30aa81=(_0x5a527b<<0x5|_0x5a527b>>>0x1b)+_0x1a818b+_0x500b08[_0x16a1c0];_0x16a1c0<0x14?_0x30aa81+=(_0x9742bc&_0x197464|~_0x9742bc&_0x55b6e4)+0x5a827999:_0x16a1c0<0x28?_0x30aa81+=(_0x9742bc^_0x197464^_0x55b6e4)+0x6ed9eba1:_0x16a1c0<0x3c?_0x30aa81+=(_0x9742bc&_0x197464|_0x9742bc&_0x55b6e4|_0x197464&_0x55b6e4)-0x70e44324:_0x30aa81+=(_0x9742bc^_0x197464^_0x55b6e4)-0x359d3e2a,_0x1a818b=_0x55b6e4,_0x55b6e4=_0x197464,_0x197464=_0x9742bc<<0x1e|_0x9742bc>>>0x2,_0x9742bc=_0x5a527b,_0x5a527b=_0x30aa81;}_0x9488ec[0x0]=_0x9488ec[0x0]+_0x5a527b|0x0,_0x9488ec[0x1]=_0x9488ec[0x1]+_0x9742bc|0x0,_0x9488ec[0x2]=_0x9488ec[0x2]+_0x197464|0x0,_0x9488ec[0x3]=_0x9488ec[0x3]+_0x55b6e4|0x0,_0x9488ec[0x4]=_0x9488ec[0x4]+_0x1a818b|0x0;},'_doFinalize':function(){const _0x22bb45=_0x35d49e;var _0x147173=this['_data'],_0x108a06=_0x147173['words'],_0x149fb2=this['_nDataBytes']*0x8,_0x58f281=_0x147173[_0x22bb45(0x338)]*0x8;return _0x108a06[_0x58f281>>>0x5]|=0x80<<0x18-_0x58f281%0x20,_0x108a06[(_0x58f281+0x40>>>0x9<<0x4)+0xe]=Math[_0x22bb45(0x2da)](_0x149fb2/0x100000000),_0x108a06[(_0x58f281+0x40>>>0x9<<0x4)+0xf]=_0x149fb2,_0x147173[_0x22bb45(0x338)]=_0x108a06[_0x22bb45(0x5aa)]*0x4,this[_0x22bb45(0x55f)](),this[_0x22bb45(0x1c2)];},'clone':function(){const _0x4b5a3e=_0x35d49e;var _0x3911e1=_0x2761f1[_0x4b5a3e(0x2e2)][_0x4b5a3e(0x451)](this);return _0x3911e1[_0x4b5a3e(0x1c2)]=this[_0x4b5a3e(0x1c2)][_0x4b5a3e(0x2e2)](),_0x3911e1;}});_0x5c4cc9[_0x35d49e(0x449)]=_0x2761f1[_0x35d49e(0x5f3)](_0x3581e9),_0x5c4cc9[_0x35d49e(0x4c2)]=_0x2761f1[_0x35d49e(0x44f)](_0x3581e9);}()),_0x629951[_0x15b43c(0x449)];}));}(_0x5cab66)),_0x5cab66['exports'];}var _0x1b9a70={'exports':{}},_0x46bb83;function _0xfcddd2(){const _0x2756fd=_0x494bb3;return _0x46bb83||(_0x46bb83=0x1,function(_0x4e5976,_0x52afd5){(function(_0x466bd5,_0x1a1365){const _0x13cb4d=_0x50cf;_0x4e5976[_0x13cb4d(0x589)]=_0x1a1365(_0x2e72f8());}(_0x1aae94,function(_0x4f153d){(function(){const _0x19f3b0=_0x50cf;var _0x1421a2=_0x4f153d,_0x2332d4=_0x1421a2[_0x19f3b0(0x483)],_0x28d970=_0x2332d4[_0x19f3b0(0x1f7)],_0x5b3325=_0x1421a2[_0x19f3b0(0x5e9)],_0x16190a=_0x5b3325[_0x19f3b0(0x429)],_0x3751f1=_0x1421a2[_0x19f3b0(0x54f)];_0x3751f1['HMAC']=_0x28d970[_0x19f3b0(0x3d1)]({'init':function(_0x3089b0,_0x200c15){const _0xf7fd5d=_0x19f3b0;_0x3089b0=this['_hasher']=new _0x3089b0[(_0xf7fd5d(0x4bc))](),typeof _0x200c15==_0xf7fd5d(0x56d)&&(_0x200c15=_0x16190a[_0xf7fd5d(0x40c)](_0x200c15));var _0x23d558=_0x3089b0[_0xf7fd5d(0x2f5)],_0xf26290=_0x23d558*0x4;_0x200c15[_0xf7fd5d(0x338)]>_0xf26290&&(_0x200c15=_0x3089b0['finalize'](_0x200c15)),_0x200c15[_0xf7fd5d(0x1b2)]();for(var _0xe4576=this['_oKey']=_0x200c15[_0xf7fd5d(0x2e2)](),_0x2d978e=this[_0xf7fd5d(0x59f)]=_0x200c15[_0xf7fd5d(0x2e2)](),_0x4c6018=_0xe4576['words'],_0xbbad07=_0x2d978e[_0xf7fd5d(0x50b)],_0x1bab9a=0x0;_0x1bab9a<_0x23d558;_0x1bab9a++)_0x4c6018[_0x1bab9a]^=0x5c5c5c5c,_0xbbad07[_0x1bab9a]^=0x36363636;_0xe4576[_0xf7fd5d(0x338)]=_0x2d978e['sigBytes']=_0xf26290,this[_0xf7fd5d(0x3db)]();},'reset':function(){const _0x15b58e=_0x19f3b0;var _0x208e66=this[_0x15b58e(0x3d2)];_0x208e66[_0x15b58e(0x3db)](),_0x208e66[_0x15b58e(0x3c8)](this[_0x15b58e(0x59f)]);},'update':function(_0x60c7dd){const _0x1ebdd8=_0x19f3b0;return this[_0x1ebdd8(0x3d2)][_0x1ebdd8(0x3c8)](_0x60c7dd),this;},'finalize':function(_0x475df3){const _0x198d3e=_0x19f3b0;var _0x24f5c6=this[_0x198d3e(0x3d2)],_0x4897f2=_0x24f5c6[_0x198d3e(0x419)](_0x475df3);_0x24f5c6[_0x198d3e(0x3db)]();var _0x55cb82=_0x24f5c6[_0x198d3e(0x419)](this['_oKey'][_0x198d3e(0x2e2)]()[_0x198d3e(0x291)](_0x4897f2));return _0x55cb82;}});}());}));}(_0x1b9a70)),_0x1b9a70[_0x2756fd(0x589)];}var _0x5973ad;function _0x36d318(){return _0x5973ad||(_0x5973ad=0x1,function(_0x4a8cf2,_0x1bcb4a){(function(_0x34d66f,_0x41a4b8,_0x5bff6a){const _0x3c96f5=_0x50cf;_0x4a8cf2[_0x3c96f5(0x589)]=_0x41a4b8(_0x2e72f8(),_0x4c6c09(),_0xfcddd2());}(_0x1aae94,function(_0x217323){return(function(){const _0x1518b0=_0x50cf;var _0x34017b=_0x217323,_0x1708fa=_0x34017b[_0x1518b0(0x483)],_0x4c2aeb=_0x1708fa['Base'],_0x2e23b7=_0x1708fa[_0x1518b0(0x188)],_0x388ff3=_0x34017b['algo'],_0x405e40=_0x388ff3[_0x1518b0(0x53e)],_0xe1470e=_0x388ff3[_0x1518b0(0x591)]=_0x4c2aeb[_0x1518b0(0x3d1)]({'cfg':_0x4c2aeb['extend']({'keySize':0x80/0x20,'hasher':_0x405e40,'iterations':0x1}),'init':function(_0x499f38){const _0x2016ae=_0x1518b0;this[_0x2016ae(0x245)]=this[_0x2016ae(0x245)][_0x2016ae(0x3d1)](_0x499f38);},'compute':function(_0x5a5826,_0xae766a){const _0x53cbe1=_0x1518b0;for(var _0x29abc8,_0x50ee9d=this[_0x53cbe1(0x245)],_0x347638=_0x50ee9d['hasher'][_0x53cbe1(0x2e4)](),_0x49f601=_0x2e23b7['create'](),_0x376c37=_0x49f601[_0x53cbe1(0x50b)],_0x225ccb=_0x50ee9d['keySize'],_0x2d2e36=_0x50ee9d[_0x53cbe1(0x320)];_0x376c37['length']<_0x225ccb;){_0x29abc8&&_0x347638['update'](_0x29abc8),_0x29abc8=_0x347638['update'](_0x5a5826)[_0x53cbe1(0x419)](_0xae766a),_0x347638[_0x53cbe1(0x3db)]();for(var _0x2180b1=0x1;_0x2180b1<_0x2d2e36;_0x2180b1++)_0x29abc8=_0x347638[_0x53cbe1(0x419)](_0x29abc8),_0x347638['reset']();_0x49f601[_0x53cbe1(0x291)](_0x29abc8);}return _0x49f601[_0x53cbe1(0x338)]=_0x225ccb*0x4,_0x49f601;}});_0x34017b['EvpKDF']=function(_0xfc1b50,_0x2a4166,_0x87dd6){const _0x164817=_0x1518b0;return _0xe1470e[_0x164817(0x2e4)](_0x87dd6)[_0x164817(0x3e3)](_0xfc1b50,_0x2a4166);};}()),_0x217323['EvpKDF'];}));}(_0x4af300)),_0x4af300['exports'];}var _0x55d282={'exports':{}},_0x5c9e7c;function _0x229862(){return _0x5c9e7c||(_0x5c9e7c=0x1,function(_0x1da0fb,_0x4f2561){(function(_0x1d6280,_0x4d1580,_0x5e4031){const _0x291efe=_0x50cf;_0x1da0fb[_0x291efe(0x589)]=_0x4d1580(_0x2e72f8(),_0x36d318());}(_0x1aae94,function(_0x5dc9ac){const _0x51aa1e=_0x50cf;_0x5dc9ac[_0x51aa1e(0x483)][_0x51aa1e(0x574)]||function(_0x394cca){const _0x5667fb=_0x51aa1e;var _0x1a1ca1=_0x5dc9ac,_0xb62c87=_0x1a1ca1[_0x5667fb(0x483)],_0x5af557=_0xb62c87[_0x5667fb(0x1f7)],_0x99e0cc=_0xb62c87['WordArray'],_0x4e417a=_0xb62c87[_0x5667fb(0x2ad)],_0x5d0495=_0x1a1ca1[_0x5667fb(0x5e9)];_0x5d0495[_0x5667fb(0x429)];var _0x2a656f=_0x5d0495[_0x5667fb(0x5fd)],_0x4b0ebe=_0x1a1ca1['algo'],_0x353877=_0x4b0ebe[_0x5667fb(0x591)],_0x22b389=_0xb62c87['Cipher']=_0x4e417a[_0x5667fb(0x3d1)]({'cfg':_0x5af557['extend'](),'createEncryptor':function(_0x79fb94,_0x3e1807){const _0x53e049=_0x5667fb;return this['create'](this[_0x53e049(0x4d3)],_0x79fb94,_0x3e1807);},'createDecryptor':function(_0x5c01ad,_0x12438d){const _0x50f716=_0x5667fb;return this[_0x50f716(0x2e4)](this[_0x50f716(0x435)],_0x5c01ad,_0x12438d);},'init':function(_0xe4e3d1,_0x26ec1c,_0x3ff11a){const _0x217647=_0x5667fb;this[_0x217647(0x245)]=this[_0x217647(0x245)]['extend'](_0x3ff11a),this[_0x217647(0x510)]=_0xe4e3d1,this['_key']=_0x26ec1c,this[_0x217647(0x3db)]();},'reset':function(){const _0x366505=_0x5667fb;_0x4e417a[_0x366505(0x3db)][_0x366505(0x451)](this),this[_0x366505(0x523)]();},'process':function(_0x5b6340){const _0x323334=_0x5667fb;return this[_0x323334(0x4bf)](_0x5b6340),this['_process']();},'finalize':function(_0x1371ab){const _0x247c96=_0x5667fb;_0x1371ab&&this['_append'](_0x1371ab);var _0x199f5c=this[_0x247c96(0x1c6)]();return _0x199f5c;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x46004d(_0x572626){const _0xfce33f=_0x50cf;return typeof _0x572626==_0xfce33f(0x56d)?_0x232aa3:_0x3e15e5;}return function(_0x35a257){return{'encrypt':function(_0x45e9e8,_0x43a5ec,_0x3eba4a){const _0x478f53=_0x50cf;return _0x46004d(_0x43a5ec)[_0x478f53(0x36d)](_0x35a257,_0x45e9e8,_0x43a5ec,_0x3eba4a);},'decrypt':function(_0x4d1126,_0x4900c4,_0x57b4bc){return _0x46004d(_0x4900c4)['decrypt'](_0x35a257,_0x4d1126,_0x4900c4,_0x57b4bc);}};};}())});_0xb62c87[_0x5667fb(0x27d)]=_0x22b389['extend']({'_doFinalize':function(){const _0x4b36e0=_0x5667fb;var _0x10d3e7=this[_0x4b36e0(0x55f)](!0x0);return _0x10d3e7;},'blockSize':0x1});var _0x1d5f6a=_0x1a1ca1[_0x5667fb(0x281)]={},_0x5d44b4=_0xb62c87[_0x5667fb(0x349)]=_0x5af557[_0x5667fb(0x3d1)]({'createEncryptor':function(_0x1699fb,_0x40a515){const _0x2d45b1=_0x5667fb;return this[_0x2d45b1(0x29d)]['create'](_0x1699fb,_0x40a515);},'createDecryptor':function(_0x531554,_0x431f36){const _0x1d9ba4=_0x5667fb;return this['Decryptor'][_0x1d9ba4(0x2e4)](_0x531554,_0x431f36);},'init':function(_0xa6af49,_0x355653){const _0xf4134a=_0x5667fb;this[_0xf4134a(0x207)]=_0xa6af49,this[_0xf4134a(0x4d2)]=_0x355653;}}),_0xa02afe=_0x1d5f6a['CBC']=(function(){const _0x4e31e7=_0x5667fb;var _0x349270=_0x5d44b4[_0x4e31e7(0x3d1)]();_0x349270[_0x4e31e7(0x29d)]=_0x349270[_0x4e31e7(0x3d1)]({'processBlock':function(_0x31f7f1,_0x4e4006){const _0x27fd39=_0x4e31e7;var _0x357897=this[_0x27fd39(0x207)],_0x531ec0=_0x357897['blockSize'];_0x3c4f0c['call'](this,_0x31f7f1,_0x4e4006,_0x531ec0),_0x357897[_0x27fd39(0x293)](_0x31f7f1,_0x4e4006),this['_prevBlock']=_0x31f7f1['slice'](_0x4e4006,_0x4e4006+_0x531ec0);}}),_0x349270[_0x4e31e7(0x2a8)]=_0x349270[_0x4e31e7(0x3d1)]({'processBlock':function(_0x47bd1e,_0x4132be){const _0x99e23d=_0x4e31e7;var _0x3eb0d4=this[_0x99e23d(0x207)],_0x114793=_0x3eb0d4['blockSize'],_0x21691e=_0x47bd1e[_0x99e23d(0x502)](_0x4132be,_0x4132be+_0x114793);_0x3eb0d4[_0x99e23d(0x4f1)](_0x47bd1e,_0x4132be),_0x3c4f0c[_0x99e23d(0x451)](this,_0x47bd1e,_0x4132be,_0x114793),this[_0x99e23d(0x295)]=_0x21691e;}});function _0x3c4f0c(_0x5be35e,_0x414e5d,_0x179ab7){const _0x621c0f=_0x4e31e7;var _0x4026c2,_0x591659=this[_0x621c0f(0x4d2)];_0x591659?(_0x4026c2=_0x591659,this['_iv']=_0x394cca):_0x4026c2=this[_0x621c0f(0x295)];for(var _0x319269=0x0;_0x319269<_0x179ab7;_0x319269++)_0x5be35e[_0x414e5d+_0x319269]^=_0x4026c2[_0x319269];}return _0x349270;}()),_0x56c794=_0x1a1ca1['pad']={},_0x410625=_0x56c794[_0x5667fb(0x40e)]={'pad':function(_0x23ffa6,_0xf19039){const _0x5d32fd=_0x5667fb;for(var _0x512693=_0xf19039*0x4,_0x10ac1b=_0x512693-_0x23ffa6['sigBytes']%_0x512693,_0x557aac=_0x10ac1b<<0x18|_0x10ac1b<<0x10|_0x10ac1b<<0x8|_0x10ac1b,_0x3feadc=[],_0x4e80e3=0x0;_0x4e80e3<_0x10ac1b;_0x4e80e3+=0x4)_0x3feadc[_0x5d32fd(0x196)](_0x557aac);var _0x4bf787=_0x99e0cc[_0x5d32fd(0x2e4)](_0x3feadc,_0x10ac1b);_0x23ffa6[_0x5d32fd(0x291)](_0x4bf787);},'unpad':function(_0x4bf2b1){const _0x1bc1cb=_0x5667fb;var _0x298e97=_0x4bf2b1[_0x1bc1cb(0x50b)][_0x4bf2b1['sigBytes']-0x1>>>0x2]&0xff;_0x4bf2b1[_0x1bc1cb(0x338)]-=_0x298e97;}};_0xb62c87[_0x5667fb(0x390)]=_0x22b389[_0x5667fb(0x3d1)]({'cfg':_0x22b389[_0x5667fb(0x245)]['extend']({'mode':_0xa02afe,'padding':_0x410625}),'reset':function(){const _0x27365e=_0x5667fb;var _0x3e26fc;_0x22b389[_0x27365e(0x3db)]['call'](this);var _0x2db388=this[_0x27365e(0x245)],_0x44d001=_0x2db388['iv'],_0x4a4a8a=_0x2db388[_0x27365e(0x281)];this[_0x27365e(0x510)]==this[_0x27365e(0x4d3)]?_0x3e26fc=_0x4a4a8a['createEncryptor']:(_0x3e26fc=_0x4a4a8a[_0x27365e(0x26b)],this[_0x27365e(0x526)]=0x1),this[_0x27365e(0x583)]&&this['_mode']['__creator']==_0x3e26fc?this[_0x27365e(0x583)][_0x27365e(0x4bc)](this,_0x44d001&&_0x44d001[_0x27365e(0x50b)]):(this[_0x27365e(0x583)]=_0x3e26fc[_0x27365e(0x451)](_0x4a4a8a,this,_0x44d001&&_0x44d001[_0x27365e(0x50b)]),this[_0x27365e(0x583)][_0x27365e(0x1bb)]=_0x3e26fc);},'_doProcessBlock':function(_0x375a97,_0x55639f){const _0x5abe81=_0x5667fb;this[_0x5abe81(0x583)][_0x5abe81(0x491)](_0x375a97,_0x55639f);},'_doFinalize':function(){const _0x17c9a2=_0x5667fb;var _0x236afd,_0x2933ff=this[_0x17c9a2(0x245)]['padding'];return this[_0x17c9a2(0x510)]==this['_ENC_XFORM_MODE']?(_0x2933ff[_0x17c9a2(0x4a0)](this['_data'],this[_0x17c9a2(0x2f5)]),_0x236afd=this[_0x17c9a2(0x55f)](!0x0)):(_0x236afd=this['_process'](!0x0),_0x2933ff['unpad'](_0x236afd)),_0x236afd;},'blockSize':0x80/0x20});var _0x31f10b=_0xb62c87[_0x5667fb(0x307)]=_0x5af557[_0x5667fb(0x3d1)]({'init':function(_0x300312){const _0x5624e3=_0x5667fb;this[_0x5624e3(0x29e)](_0x300312);},'toString':function(_0x5bf119){const _0x4e1e80=_0x5667fb;return(_0x5bf119||this[_0x4e1e80(0x5a8)])['stringify'](this);}}),_0x425e16=_0x1a1ca1[_0x5667fb(0x1db)]={},_0x2f39f2=_0x425e16[_0x5667fb(0x347)]={'stringify':function(_0x2420f2){const _0x1addb4=_0x5667fb;var _0x1449ca,_0x50c61d=_0x2420f2['ciphertext'],_0x35b09a=_0x2420f2['salt'];return _0x35b09a?_0x1449ca=_0x99e0cc['create']([0x53616c74,0x65645f5f])[_0x1addb4(0x291)](_0x35b09a)[_0x1addb4(0x291)](_0x50c61d):_0x1449ca=_0x50c61d,_0x1449ca['toString'](_0x2a656f);},'parse':function(_0x1a6671){const _0x489e86=_0x5667fb;var _0x146749,_0x2f7bba=_0x2a656f[_0x489e86(0x40c)](_0x1a6671),_0x21f29f=_0x2f7bba['words'];return _0x21f29f[0x0]==0x53616c74&&_0x21f29f[0x1]==0x65645f5f&&(_0x146749=_0x99e0cc[_0x489e86(0x2e4)](_0x21f29f['slice'](0x2,0x4)),_0x21f29f[_0x489e86(0x345)](0x0,0x4),_0x2f7bba['sigBytes']-=0x10),_0x31f10b['create']({'ciphertext':_0x2f7bba,'salt':_0x146749});}},_0x3e15e5=_0xb62c87[_0x5667fb(0x376)]=_0x5af557['extend']({'cfg':_0x5af557[_0x5667fb(0x3d1)]({'format':_0x2f39f2}),'encrypt':function(_0x4870fb,_0x58acb7,_0x983b86,_0x1a9a76){const _0x35e6d3=_0x5667fb;_0x1a9a76=this[_0x35e6d3(0x245)][_0x35e6d3(0x3d1)](_0x1a9a76);var _0x245aa5=_0x4870fb[_0x35e6d3(0x1c1)](_0x983b86,_0x1a9a76),_0x106d45=_0x245aa5['finalize'](_0x58acb7),_0xec5799=_0x245aa5[_0x35e6d3(0x245)];return _0x31f10b[_0x35e6d3(0x2e4)]({'ciphertext':_0x106d45,'key':_0x983b86,'iv':_0xec5799['iv'],'algorithm':_0x4870fb,'mode':_0xec5799['mode'],'padding':_0xec5799[_0x35e6d3(0x52a)],'blockSize':_0x4870fb[_0x35e6d3(0x2f5)],'formatter':_0x1a9a76[_0x35e6d3(0x1db)]});},'decrypt':function(_0x2b7c78,_0xdbbc29,_0x4fd4bc,_0x3ab199){const _0x4c09cd=_0x5667fb;_0x3ab199=this['cfg'][_0x4c09cd(0x3d1)](_0x3ab199),_0xdbbc29=this[_0x4c09cd(0x59c)](_0xdbbc29,_0x3ab199[_0x4c09cd(0x1db)]);var _0x49a134=_0x2b7c78[_0x4c09cd(0x26b)](_0x4fd4bc,_0x3ab199)[_0x4c09cd(0x419)](_0xdbbc29[_0x4c09cd(0x2e3)]);return _0x49a134;},'_parse':function(_0x2e9d1f,_0x597c99){const _0x5d9394=_0x5667fb;return typeof _0x2e9d1f==_0x5d9394(0x56d)?_0x597c99[_0x5d9394(0x40c)](_0x2e9d1f,this):_0x2e9d1f;}}),_0x558532=_0x1a1ca1[_0x5667fb(0x567)]={},_0xf8a8f5=_0x558532[_0x5667fb(0x347)]={'execute':function(_0x5d390f,_0x10dbf7,_0x36ab91,_0x47df27,_0x3731d9){const _0x5cbc36=_0x5667fb;if(_0x47df27||(_0x47df27=_0x99e0cc['random'](0x40/0x8)),_0x3731d9)var _0x3e8e25=_0x353877[_0x5cbc36(0x2e4)]({'keySize':_0x10dbf7+_0x36ab91,'hasher':_0x3731d9})[_0x5cbc36(0x3e3)](_0x5d390f,_0x47df27);else var _0x3e8e25=_0x353877[_0x5cbc36(0x2e4)]({'keySize':_0x10dbf7+_0x36ab91})[_0x5cbc36(0x3e3)](_0x5d390f,_0x47df27);var _0x3a3029=_0x99e0cc[_0x5cbc36(0x2e4)](_0x3e8e25['words']['slice'](_0x10dbf7),_0x36ab91*0x4);return _0x3e8e25['sigBytes']=_0x10dbf7*0x4,_0x31f10b[_0x5cbc36(0x2e4)]({'key':_0x3e8e25,'iv':_0x3a3029,'salt':_0x47df27});}},_0x232aa3=_0xb62c87[_0x5667fb(0x227)]=_0x3e15e5['extend']({'cfg':_0x3e15e5[_0x5667fb(0x245)]['extend']({'kdf':_0xf8a8f5}),'encrypt':function(_0x449dd1,_0x26ca58,_0x5ba8fb,_0x55e62c){const _0x23d675=_0x5667fb;_0x55e62c=this['cfg']['extend'](_0x55e62c);var _0x15e5a9=_0x55e62c[_0x23d675(0x567)]['execute'](_0x5ba8fb,_0x449dd1[_0x23d675(0x203)],_0x449dd1[_0x23d675(0x373)],_0x55e62c[_0x23d675(0x1a8)],_0x55e62c[_0x23d675(0x54b)]);_0x55e62c['iv']=_0x15e5a9['iv'];var _0x1ec398=_0x3e15e5[_0x23d675(0x36d)][_0x23d675(0x451)](this,_0x449dd1,_0x26ca58,_0x15e5a9[_0x23d675(0x272)],_0x55e62c);return _0x1ec398['mixIn'](_0x15e5a9),_0x1ec398;},'decrypt':function(_0x4fc113,_0x44faab,_0xfec927,_0x22eb02){const _0x3d5230=_0x5667fb;_0x22eb02=this[_0x3d5230(0x245)][_0x3d5230(0x3d1)](_0x22eb02),_0x44faab=this['_parse'](_0x44faab,_0x22eb02[_0x3d5230(0x1db)]);var _0x2750bb=_0x22eb02[_0x3d5230(0x567)][_0x3d5230(0x259)](_0xfec927,_0x4fc113[_0x3d5230(0x203)],_0x4fc113[_0x3d5230(0x373)],_0x44faab['salt'],_0x22eb02[_0x3d5230(0x54b)]);_0x22eb02['iv']=_0x2750bb['iv'];var _0x37bbc8=_0x3e15e5['decrypt'][_0x3d5230(0x451)](this,_0x4fc113,_0x44faab,_0x2750bb[_0x3d5230(0x272)],_0x22eb02);return _0x37bbc8;}});}();}));}(_0x55d282)),_0x55d282['exports'];}(function(_0x2e649f,_0x38dd46){(function(_0x492416,_0x3c83a9,_0x333642){const _0x4435bc=_0x50cf;_0x2e649f[_0x4435bc(0x589)]=_0x3c83a9(_0x2e72f8(),_0x6e8aa3(),_0x4cef5f(),_0x36d318(),_0x229862());}(_0x1aae94,function(_0x75fc5e){return(function(){const _0x3b7cf9=_0x50cf;var _0x516a31=_0x75fc5e,_0x272d86=_0x516a31[_0x3b7cf9(0x483)],_0x5e2594=_0x272d86[_0x3b7cf9(0x390)],_0x21363e=_0x516a31[_0x3b7cf9(0x54f)],_0x3b44f9=[],_0x11b9d8=[],_0x1bd9d6=[],_0xc7d8fd=[],_0x2bbace=[],_0x376b80=[],_0x34f279=[],_0x1628f9=[],_0x32c47=[],_0x25928a=[];(function(){for(var _0x25b092=[],_0x457f11=0x0;_0x457f11<0x100;_0x457f11++)_0x457f11<0x80?_0x25b092[_0x457f11]=_0x457f11<<0x1:_0x25b092[_0x457f11]=_0x457f11<<0x1^0x11b;for(var _0x347d0c=0x0,_0x1525aa=0x0,_0x457f11=0x0;_0x457f11<0x100;_0x457f11++){var _0x43642b=_0x1525aa^_0x1525aa<<0x1^_0x1525aa<<0x2^_0x1525aa<<0x3^_0x1525aa<<0x4;_0x43642b=_0x43642b>>>0x8^_0x43642b&0xff^0x63,_0x3b44f9[_0x347d0c]=_0x43642b,_0x11b9d8[_0x43642b]=_0x347d0c;var _0x173180=_0x25b092[_0x347d0c],_0xa4e064=_0x25b092[_0x173180],_0x524302=_0x25b092[_0xa4e064],_0xe156b2=_0x25b092[_0x43642b]*0x101^_0x43642b*0x1010100;_0x1bd9d6[_0x347d0c]=_0xe156b2<<0x18|_0xe156b2>>>0x8,_0xc7d8fd[_0x347d0c]=_0xe156b2<<0x10|_0xe156b2>>>0x10,_0x2bbace[_0x347d0c]=_0xe156b2<<0x8|_0xe156b2>>>0x18,_0x376b80[_0x347d0c]=_0xe156b2;var _0xe156b2=_0x524302*0x1010101^_0xa4e064*0x10001^_0x173180*0x101^_0x347d0c*0x1010100;_0x34f279[_0x43642b]=_0xe156b2<<0x18|_0xe156b2>>>0x8,_0x1628f9[_0x43642b]=_0xe156b2<<0x10|_0xe156b2>>>0x10,_0x32c47[_0x43642b]=_0xe156b2<<0x8|_0xe156b2>>>0x18,_0x25928a[_0x43642b]=_0xe156b2,_0x347d0c?(_0x347d0c=_0x173180^_0x25b092[_0x25b092[_0x25b092[_0x524302^_0x173180]]],_0x1525aa^=_0x25b092[_0x25b092[_0x1525aa]]):_0x347d0c=_0x1525aa=0x1;}}());var _0x2c0c71=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x45e27d=_0x21363e['AES']=_0x5e2594[_0x3b7cf9(0x3d1)]({'_doReset':function(){const _0x6e855e=_0x3b7cf9;var _0x455bff;if(!(this['_nRounds']&&this[_0x6e855e(0x1ac)]===this[_0x6e855e(0x32b)])){for(var _0x3b6f5e=this[_0x6e855e(0x1ac)]=this['_key'],_0x27ea12=_0x3b6f5e[_0x6e855e(0x50b)],_0x1fb976=_0x3b6f5e[_0x6e855e(0x338)]/0x4,_0x1c3013=this[_0x6e855e(0x3ce)]=_0x1fb976+0x6,_0x12e9c2=(_0x1c3013+0x1)*0x4,_0x3363eb=this[_0x6e855e(0x5ca)]=[],_0x1f6af7=0x0;_0x1f6af7<_0x12e9c2;_0x1f6af7++)_0x1f6af7<_0x1fb976?_0x3363eb[_0x1f6af7]=_0x27ea12[_0x1f6af7]:(_0x455bff=_0x3363eb[_0x1f6af7-0x1],_0x1f6af7%_0x1fb976?_0x1fb976>0x6&&_0x1f6af7%_0x1fb976==0x4&&(_0x455bff=_0x3b44f9[_0x455bff>>>0x18]<<0x18|_0x3b44f9[_0x455bff>>>0x10&0xff]<<0x10|_0x3b44f9[_0x455bff>>>0x8&0xff]<<0x8|_0x3b44f9[_0x455bff&0xff]):(_0x455bff=_0x455bff<<0x8|_0x455bff>>>0x18,_0x455bff=_0x3b44f9[_0x455bff>>>0x18]<<0x18|_0x3b44f9[_0x455bff>>>0x10&0xff]<<0x10|_0x3b44f9[_0x455bff>>>0x8&0xff]<<0x8|_0x3b44f9[_0x455bff&0xff],_0x455bff^=_0x2c0c71[_0x1f6af7/_0x1fb976|0x0]<<0x18),_0x3363eb[_0x1f6af7]=_0x3363eb[_0x1f6af7-_0x1fb976]^_0x455bff);for(var _0xeaaeae=this['_invKeySchedule']=[],_0x4d5582=0x0;_0x4d5582<_0x12e9c2;_0x4d5582++){var _0x1f6af7=_0x12e9c2-_0x4d5582;if(_0x4d5582%0x4)var _0x455bff=_0x3363eb[_0x1f6af7];else var _0x455bff=_0x3363eb[_0x1f6af7-0x4];_0x4d5582<0x4||_0x1f6af7<=0x4?_0xeaaeae[_0x4d5582]=_0x455bff:_0xeaaeae[_0x4d5582]=_0x34f279[_0x3b44f9[_0x455bff>>>0x18]]^_0x1628f9[_0x3b44f9[_0x455bff>>>0x10&0xff]]^_0x32c47[_0x3b44f9[_0x455bff>>>0x8&0xff]]^_0x25928a[_0x3b44f9[_0x455bff&0xff]];}}},'encryptBlock':function(_0x445d00,_0x112706){const _0x3d8a4b=_0x3b7cf9;this[_0x3d8a4b(0x354)](_0x445d00,_0x112706,this[_0x3d8a4b(0x5ca)],_0x1bd9d6,_0xc7d8fd,_0x2bbace,_0x376b80,_0x3b44f9);},'decryptBlock':function(_0x927729,_0x12fa18){const _0x278d50=_0x3b7cf9;var _0x149621=_0x927729[_0x12fa18+0x1];_0x927729[_0x12fa18+0x1]=_0x927729[_0x12fa18+0x3],_0x927729[_0x12fa18+0x3]=_0x149621,this['_doCryptBlock'](_0x927729,_0x12fa18,this[_0x278d50(0x21a)],_0x34f279,_0x1628f9,_0x32c47,_0x25928a,_0x11b9d8);var _0x149621=_0x927729[_0x12fa18+0x1];_0x927729[_0x12fa18+0x1]=_0x927729[_0x12fa18+0x3],_0x927729[_0x12fa18+0x3]=_0x149621;},'_doCryptBlock':function(_0x2a8f5f,_0x305910,_0x66461e,_0x1e5b48,_0x300b4c,_0x2f52f7,_0x964665,_0x4ef5b7){const _0x323635=_0x3b7cf9;for(var _0x8a5d58=this[_0x323635(0x3ce)],_0x4ab26c=_0x2a8f5f[_0x305910]^_0x66461e[0x0],_0x1cd693=_0x2a8f5f[_0x305910+0x1]^_0x66461e[0x1],_0x5f08b6=_0x2a8f5f[_0x305910+0x2]^_0x66461e[0x2],_0x266cfc=_0x2a8f5f[_0x305910+0x3]^_0x66461e[0x3],_0x4a8dba=0x4,_0x18e750=0x1;_0x18e750<_0x8a5d58;_0x18e750++){var _0x14b854=_0x1e5b48[_0x4ab26c>>>0x18]^_0x300b4c[_0x1cd693>>>0x10&0xff]^_0x2f52f7[_0x5f08b6>>>0x8&0xff]^_0x964665[_0x266cfc&0xff]^_0x66461e[_0x4a8dba++],_0x37e0ec=_0x1e5b48[_0x1cd693>>>0x18]^_0x300b4c[_0x5f08b6>>>0x10&0xff]^_0x2f52f7[_0x266cfc>>>0x8&0xff]^_0x964665[_0x4ab26c&0xff]^_0x66461e[_0x4a8dba++],_0x5ebc89=_0x1e5b48[_0x5f08b6>>>0x18]^_0x300b4c[_0x266cfc>>>0x10&0xff]^_0x2f52f7[_0x4ab26c>>>0x8&0xff]^_0x964665[_0x1cd693&0xff]^_0x66461e[_0x4a8dba++],_0x4f96a3=_0x1e5b48[_0x266cfc>>>0x18]^_0x300b4c[_0x4ab26c>>>0x10&0xff]^_0x2f52f7[_0x1cd693>>>0x8&0xff]^_0x964665[_0x5f08b6&0xff]^_0x66461e[_0x4a8dba++];_0x4ab26c=_0x14b854,_0x1cd693=_0x37e0ec,_0x5f08b6=_0x5ebc89,_0x266cfc=_0x4f96a3;}var _0x14b854=(_0x4ef5b7[_0x4ab26c>>>0x18]<<0x18|_0x4ef5b7[_0x1cd693>>>0x10&0xff]<<0x10|_0x4ef5b7[_0x5f08b6>>>0x8&0xff]<<0x8|_0x4ef5b7[_0x266cfc&0xff])^_0x66461e[_0x4a8dba++],_0x37e0ec=(_0x4ef5b7[_0x1cd693>>>0x18]<<0x18|_0x4ef5b7[_0x5f08b6>>>0x10&0xff]<<0x10|_0x4ef5b7[_0x266cfc>>>0x8&0xff]<<0x8|_0x4ef5b7[_0x4ab26c&0xff])^_0x66461e[_0x4a8dba++],_0x5ebc89=(_0x4ef5b7[_0x5f08b6>>>0x18]<<0x18|_0x4ef5b7[_0x266cfc>>>0x10&0xff]<<0x10|_0x4ef5b7[_0x4ab26c>>>0x8&0xff]<<0x8|_0x4ef5b7[_0x1cd693&0xff])^_0x66461e[_0x4a8dba++],_0x4f96a3=(_0x4ef5b7[_0x266cfc>>>0x18]<<0x18|_0x4ef5b7[_0x4ab26c>>>0x10&0xff]<<0x10|_0x4ef5b7[_0x1cd693>>>0x8&0xff]<<0x8|_0x4ef5b7[_0x5f08b6&0xff])^_0x66461e[_0x4a8dba++];_0x2a8f5f[_0x305910]=_0x14b854,_0x2a8f5f[_0x305910+0x1]=_0x37e0ec,_0x2a8f5f[_0x305910+0x2]=_0x5ebc89,_0x2a8f5f[_0x305910+0x3]=_0x4f96a3;},'keySize':0x100/0x20});_0x516a31['AES']=_0x5e2594[_0x3b7cf9(0x5f3)](_0x45e27d);}()),_0x75fc5e['AES'];}));}(_0x13e719));var _0x399b9d=_0x13e719['exports'];const _0x3eed45=_0x21900c(_0x399b9d);var _0x4be678=_0x6e8aa3();const _0x9485ec=_0x21900c(_0x4be678);var _0x4447d3={'exports':{}};(function(_0x3a212e,_0x54b8ab){(function(_0x129ac8,_0x4a2b8d){const _0x439c6c=_0x50cf;_0x3a212e[_0x439c6c(0x589)]=_0x4a2b8d(_0x2e72f8());}(_0x1aae94,function(_0x5e8ed5){const _0x1e1b1e=_0x50cf;return _0x5e8ed5[_0x1e1b1e(0x5e9)][_0x1e1b1e(0x429)];}));}(_0x4447d3));var _0x50b0fe=_0x4447d3[_0x494bb3(0x589)];const _0x3ecd8e=_0x21900c(_0x50b0fe);var _0x270f29={'exports':{}};(function(_0x508b99,_0x59055e){(function(_0x179364,_0x4e1c26){_0x508b99['exports']=_0x4e1c26(_0x2e72f8());}(_0x1aae94,function(_0x11a986){const _0xed8936=_0x50cf;return(function(){const _0x558b6e=_0x50cf;if(typeof ArrayBuffer==_0x558b6e(0x4c1)){var _0x47a2f8=_0x11a986,_0x3fc5ca=_0x47a2f8[_0x558b6e(0x483)],_0x69caca=_0x3fc5ca['WordArray'],_0x244ef8=_0x69caca['init'],_0x2cb205=_0x69caca[_0x558b6e(0x4bc)]=function(_0x31fdb8){const _0x5ad599=_0x558b6e;if(_0x31fdb8 instanceof ArrayBuffer&&(_0x31fdb8=new Uint8Array(_0x31fdb8)),(_0x31fdb8 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x31fdb8 instanceof Uint8ClampedArray||_0x31fdb8 instanceof Int16Array||_0x31fdb8 instanceof Uint16Array||_0x31fdb8 instanceof Int32Array||_0x31fdb8 instanceof Uint32Array||_0x31fdb8 instanceof Float32Array||_0x31fdb8 instanceof Float64Array)&&(_0x31fdb8=new Uint8Array(_0x31fdb8['buffer'],_0x31fdb8[_0x5ad599(0x392)],_0x31fdb8[_0x5ad599(0x15d)])),_0x31fdb8 instanceof Uint8Array){for(var _0x3b52cb=_0x31fdb8[_0x5ad599(0x15d)],_0x2f2f4c=[],_0x3e9905=0x0;_0x3e9905<_0x3b52cb;_0x3e9905++)_0x2f2f4c[_0x3e9905>>>0x2]|=_0x31fdb8[_0x3e9905]<<0x18-_0x3e9905%0x4*0x8;_0x244ef8['call'](this,_0x2f2f4c,_0x3b52cb);}else _0x244ef8[_0x5ad599(0x476)](this,arguments);};_0x2cb205[_0x558b6e(0x37f)]=_0x69caca;}}()),_0x11a986[_0xed8936(0x483)][_0xed8936(0x188)];}));}(_0x270f29));var _0x2bcf98=_0x270f29[_0x494bb3(0x589)];const _0x44d572=_0x21900c(_0x2bcf98);var _0x5f47bf={'exports':{}};(function(_0x32474f,_0x54db4c){(function(_0x17b25d,_0x38abf5,_0x4b9c94){_0x32474f['exports']=_0x38abf5(_0x2e72f8(),_0x229862());}(_0x1aae94,function(_0x23fa74){const _0x54a79a=_0x50cf;return _0x23fa74[_0x54a79a(0x4a0)][_0x54a79a(0x374)]={'pad':function(){},'unpad':function(){}},_0x23fa74[_0x54a79a(0x4a0)][_0x54a79a(0x374)];}));}(_0x5f47bf));var _0x542d06=_0x5f47bf[_0x494bb3(0x589)];const _0x4d5d1a=_0x21900c(_0x542d06);function _0xfb6580(_0x44cd30,_0x2eb526){const _0x469ea2=_0x494bb3,_0x1e0627=_0x2eb526-_0x44cd30['length']%_0x2eb526,_0x407d2b=String[_0x469ea2(0x167)](_0x1e0627)['repeat'](_0x1e0627);return _0x44cd30+_0x407d2b;}function _0x46b465(_0x37667e,_0x30dc52){const _0x49192e=_0x494bb3,_0x338383=_0x44d572[_0x49192e(0x182)](0x10),_0x194877=_0xfb6580(_0x37667e,0x10),_0xcef403=_0x3eed45[_0x49192e(0x36d)](_0x3ecd8e[_0x49192e(0x40c)](_0x194877),_0x9485ec[_0x49192e(0x40c)](_0x30dc52),{'iv':_0x338383,'padding':_0x4d5d1a});return _0x338383[_0x49192e(0x291)](_0xcef403['ciphertext'])['toString'](_0x9485ec);}function _0xc5b39e(){const _0x1167f6=_0x494bb3,_0x18d99c=(typeof WorkerGlobalScope<'u'&&self instanceof WorkerGlobalScope?self:window)[_0x1167f6(0x46d)];if(_0x18d99c){const _0x143dcb={'time':Math[_0x1167f6(0x2da)](Date[_0x1167f6(0x280)]()/0x3e8),'domain':location[_0x1167f6(0x45f)]};return _0x46b465(JSON[_0x1167f6(0x58b)](_0x143dcb),_0x18d99c);}}var _0x1e8a57=Object['defineProperty'],_0x27f668=Object['getOwnPropertyDescriptor'],_0x90d7db=(_0x2da4e0,_0x5ae9b8,_0x30f0c9,_0x3ec919)=>{const _0x2aac90=_0x494bb3;for(var _0x1952b7=_0x3ec919>0x1?void 0x0:_0x3ec919?_0x27f668(_0x5ae9b8,_0x30f0c9):_0x5ae9b8,_0x717c98=_0x2da4e0[_0x2aac90(0x5aa)]-0x1,_0x28ff40;_0x717c98>=0x0;_0x717c98--)(_0x28ff40=_0x2da4e0[_0x717c98])&&(_0x1952b7=(_0x3ec919?_0x28ff40(_0x5ae9b8,_0x30f0c9,_0x1952b7):_0x28ff40(_0x1952b7))||_0x1952b7);return _0x3ec919&&_0x1952b7&&_0x1e8a57(_0x5ae9b8,_0x30f0c9,_0x1952b7),_0x1952b7;},_0x4b1888=(_0x4099d4,_0x4c7394)=>(_0xd0e356,_0xfbfa83)=>_0x4c7394(_0xd0e356,_0xfbfa83,_0x4099d4);let _0x2c1fac=class{constructor(_0x4f3921){const _0x4e9379=_0x494bb3;this[_0x4e9379(0x5d9)]=_0x4f3921,this[_0x4e9379(0x5d6)]();}['_initRequestHeader'](){const _0x3b5d81=_0x494bb3;this[_0x3b5d81(0x5d9)][_0x3b5d81(0x3a4)]({'interceptor':(_0x37496b,_0x3721d2)=>{const _0x6fd1d1=_0x3b5d81,_0x506078=_0x37496b[_0x6fd1d1(0x309)],_0x2d2c21=_0xc5b39e();return _0x2d2c21&&_0x506078[_0x6fd1d1(0x33d)]('x-univer-host',_0x2d2c21),_0x3721d2(_0x37496b);}});}};_0x2c1fac=_0x90d7db([_0x4b1888(0x0,_0x5a20c3[_0x494bb3(0x57c)](_0x9ed4dd[_0x494bb3(0x22b)]))],_0x2c1fac);var _0x2d1e62=Object[_0x494bb3(0x5f8)],_0x3d4ad4=Object[_0x494bb3(0x51e)],_0x5abe2c=(_0x16bab0,_0xfc2514,_0x3feb2e,_0x3a7efc)=>{const _0x5b50eb=_0x494bb3;for(var _0x20f3fd=_0x3a7efc>0x1?void 0x0:_0x3a7efc?_0x3d4ad4(_0xfc2514,_0x3feb2e):_0xfc2514,_0x250240=_0x16bab0[_0x5b50eb(0x5aa)]-0x1,_0x130ca3;_0x250240>=0x0;_0x250240--)(_0x130ca3=_0x16bab0[_0x250240])&&(_0x20f3fd=(_0x3a7efc?_0x130ca3(_0xfc2514,_0x3feb2e,_0x20f3fd):_0x130ca3(_0x20f3fd))||_0x20f3fd);return _0x3a7efc&&_0x20f3fd&&_0x2d1e62(_0xfc2514,_0x3feb2e,_0x20f3fd),_0x20f3fd;},_0x245eee=(_0x588534,_0x323a41)=>(_0x352707,_0x1ba29d)=>_0x323a41(_0x352707,_0x1ba29d,_0x588534);const _0x78aae8=['image/png',_0x494bb3(0x2a5),_0x494bb3(0x2fd),'image/gif','image/bmp'],_0x207d62=0x5*0x400*0x400,_0x5bd74d=_0x494bb3(0x5c2),_0x2f3855='/universer-api/stream/file/upload',_0x272022=_0x494bb3(0x3be),_0x195407=_0x494bb3(0x1d0);_0x38d423[_0x494bb3(0x2f9)]=class{constructor(_0x1f2cab,_0x541960,_0x5200d4){const _0x282a6b=_0x494bb3;_0x3ed524(this,_0x282a6b(0x209),0x0),_0x3ed524(this,_0x282a6b(0x40f),new _0x32bae4['Subject']()),_0x3ed524(this,_0x282a6b(0x282),this[_0x282a6b(0x40f)]),_0x3ed524(this,_0x282a6b(0x5a2),new Map()),(this['_httpService']=_0x1f2cab,this[_0x282a6b(0x1f1)]=_0x541960,this[_0x282a6b(0x4a7)]=_0x5200d4);}[_0x494bb3(0x233)](_0x4e1d38){const _0x2a08dc=_0x494bb3;this[_0x2a08dc(0x209)]=_0x4e1d38,this[_0x2a08dc(0x40f)][_0x2a08dc(0x5dd)](_0x4e1d38);}[_0x494bb3(0x270)](_0x5cea59,_0x9aa9fb){const _0x381c28=_0x494bb3;if(_0x9aa9fb===_0x152c2e[_0x381c28(0x481)]['BASE64']){const _0x517339=new Image();return _0x517339['src']=_0x5cea59,_0x517339;}return this[_0x381c28(0x5a2)][_0x381c28(0x537)](_0x5cea59);}['addImageSourceCache'](_0x2c4ac4,_0xaf7843,_0x3c1bf7){const _0x2bed83=_0x494bb3;_0xaf7843===_0x152c2e['ImageSourceType'][_0x2bed83(0x36e)]||_0x3c1bf7==null||this['_imageSourceCache'][_0x2bed83(0x33d)](_0x2c4ac4,_0x3c1bf7);}async[_0x494bb3(0x4f3)](_0x211096){const _0x30994e=_0x494bb3;try{const _0x4a386d=this[_0x30994e(0x1e1)](this[_0x30994e(0x531)](),''+_0x211096),_0x8994f9=(await this[_0x30994e(0x5d9)]['get'](_0x4a386d))[_0x30994e(0x271)];if(_0x8994f9['error']&&_0x8994f9['error'][_0x30994e(0x3dd)]===_0x37591c['OK']){const _0x36ade6=new URL(_0x8994f9[_0x30994e(0x1dc)],this[_0x30994e(0x2b1)]())[_0x30994e(0x283)]();return Promise[_0x30994e(0x4c0)](_0x36ade6);}return Promise[_0x30994e(0x4a2)](_0x8994f9[_0x30994e(0x35a)]);}catch(_0x10c91b){return Promise['reject'](_0x10c91b);}}async['saveImage'](_0x23d7f6){const _0x220cbb=_0x494bb3;let _0x25bc71='';if(!_0x78aae8[_0x220cbb(0x1ae)](_0x23d7f6['type']))return this[_0x220cbb(0x4f6)](),Promise[_0x220cbb(0x4a2)](new Error(_0x152c2e[_0x220cbb(0x609)][_0x220cbb(0x35c)]));if(_0x23d7f6['size']>_0x207d62)return this['_decreaseWaiting'](),Promise[_0x220cbb(0x4a2)](new Error(_0x152c2e[_0x220cbb(0x609)][_0x220cbb(0x21e)]));try{const _0x5568db=new FormData();_0x5568db[_0x220cbb(0x37a)](_0x220cbb(0x409),_0x23d7f6);const _0x3b4f67=this[_0x220cbb(0x4a7)][_0x220cbb(0x189)](),_0x6a86fc=_0x3b4f67==null?void 0x0:_0x3b4f67[_0x220cbb(0x4dc)]();if(!_0x6a86fc)throw new Error(_0x220cbb(0x41e));const _0x375ad0=this[_0x220cbb(0x436)]()+_0x220cbb(0x2ba)+_0x23d7f6[_0x220cbb(0x23e)][_0x220cbb(0x283)]()+_0x220cbb(0x5ea)+_0x2aec2f[_0x220cbb(0x157)]+_0x220cbb(0x412)+encodeURIComponent(_0x6a86fc),_0x52e150=await(await fetch(_0x375ad0,{'method':_0x220cbb(0x210),'body':_0x5568db}))[_0x220cbb(0x446)]();if(typeof _0x52e150[_0x220cbb(0x3f9)]!=_0x220cbb(0x56d))return this[_0x220cbb(0x4f6)](),Promise[_0x220cbb(0x4a2)](new Error(_0x152c2e['ImageUploadStatusType']['ERROR_IMAGE']));_0x25bc71=_0x52e150[_0x220cbb(0x3f9)];}catch{return this[_0x220cbb(0x4f6)](),Promise[_0x220cbb(0x4a2)](new Error(_0x152c2e[_0x220cbb(0x609)]['ERROR_IMAGE']));}return new Promise((_0x452a65,_0x142bf1)=>{const _0x16b207=_0x220cbb,_0x298b39=new FileReader();_0x298b39[_0x16b207(0x2fe)](_0x23d7f6),_0x298b39[_0x16b207(0x51d)]=_0x81f948=>{const _0xa18d6=_0x16b207;var _0x1b1b2b;const _0x4fab16=(_0x1b1b2b=_0x81f948[_0xa18d6(0x220)])==null?void 0x0:_0x1b1b2b[_0xa18d6(0x306)];if(_0x4fab16==null){this[_0xa18d6(0x4f6)](),_0x142bf1(new Error(_0x152c2e[_0xa18d6(0x609)][_0xa18d6(0x25a)]));return;}const _0x3cabc5=_0x5a20c3['Tools'][_0xa18d6(0x310)](0x6);_0x452a65({'imageId':_0x3cabc5,'imageSourceType':_0x152c2e[_0xa18d6(0x481)]['UUID'],'source':_0x25bc71,'base64Cache':_0x4fab16,'status':_0x152c2e['ImageUploadStatusType'][_0xa18d6(0x2c6)]}),this[_0xa18d6(0x4f6)]();};});}[_0x494bb3(0x436)](){const _0x5be1e2=_0x494bb3;var _0x42b60e,_0x6b3fbc;const _0x2fb27f=this[_0x5be1e2(0x1f1)][_0x5be1e2(0x19a)](_0x5bd74d),_0x484258=this[_0x5be1e2(0x1f1)][_0x5be1e2(0x19a)](_0x59eaf6);return(_0x6b3fbc=(_0x42b60e=_0x484258==null?void 0x0:_0x484258['uploadFileServerUrl'])!=null?_0x42b60e:_0x2fb27f)!=null?_0x6b3fbc:_0x2f3855;}[_0x494bb3(0x531)](){const _0x253448=_0x494bb3;var _0x4bb39e,_0x20dfab;const _0x2e5a57=this[_0x253448(0x1f1)][_0x253448(0x19a)](_0x272022),_0x1bc87c=this['_configService']['getConfig'](_0x59eaf6);return(_0x20dfab=(_0x4bb39e=_0x1bc87c==null?void 0x0:_0x1bc87c[_0x253448(0x343)])!=null?_0x4bb39e:_0x2e5a57)!=null?_0x20dfab:_0x195407;}[_0x494bb3(0x2b1)](){const _0x17f599=_0x494bb3;var _0x5a8a1d;const _0x131bb5=this[_0x17f599(0x1f1)]['getConfig'](_0x59eaf6);return(_0x5a8a1d=_0x131bb5==null?void 0x0:_0x131bb5[_0x17f599(0x21d)])!=null?_0x5a8a1d:location[_0x17f599(0x169)];}[_0x494bb3(0x1e1)](_0x3f209c,_0x186238){const _0x330363=_0x494bb3;return _0x3f209c['replace'](_0x330363(0x411),_0x186238);}[_0x494bb3(0x4f6)](){const _0x3f27bc=_0x494bb3;this[_0x3f27bc(0x209)]-=0x1,this['_change$'][_0x3f27bc(0x5dd)](this[_0x3f27bc(0x209)]);}},_0x38d423[_0x494bb3(0x2f9)]=_0x5abe2c([_0x245eee(0x0,_0x5a20c3[_0x494bb3(0x57c)](_0x9ed4dd['HTTPService'])),_0x245eee(0x1,_0x5a20c3[_0x494bb3(0x175)]),_0x245eee(0x2,_0x5a20c3[_0x494bb3(0x57c)](_0x5a20c3[_0x494bb3(0x17e)]))],_0x38d423[_0x494bb3(0x2f9)]);var _0x52eda5=Object[_0x494bb3(0x5f8)],_0x5cefd0=Object[_0x494bb3(0x51e)],_0xee5879=(_0x35be90,_0x22ae4d,_0x4a8034,_0x1d8b73)=>{const _0x379515=_0x494bb3;for(var _0x318982=_0x1d8b73>0x1?void 0x0:_0x1d8b73?_0x5cefd0(_0x22ae4d,_0x4a8034):_0x22ae4d,_0x275752=_0x35be90[_0x379515(0x5aa)]-0x1,_0x4c8c9a;_0x275752>=0x0;_0x275752--)(_0x4c8c9a=_0x35be90[_0x275752])&&(_0x318982=(_0x1d8b73?_0x4c8c9a(_0x22ae4d,_0x4a8034,_0x318982):_0x4c8c9a(_0x318982))||_0x318982);return _0x1d8b73&&_0x318982&&_0x52eda5(_0x22ae4d,_0x4a8034,_0x318982),_0x318982;},_0x1e9e42=(_0x8d5f51,_0x1fbe3e)=>(_0xb1fb73,_0x933457)=>_0x1fbe3e(_0xb1fb73,_0x933457,_0x8d5f51);let _0x451e92=class extends _0x5a20c3[_0x494bb3(0x3ed)]{constructor(_0x4163a7,_0x31f31c,_0x9cb4,_0x4f47dd,_0x15c6f4){const _0x339524=_0x494bb3;super(),this[_0x339524(0x221)]=_0x4163a7,this['_univerInstanceService']=_0x31f31c,this[_0x339524(0x441)]=_0x9cb4,this[_0x339524(0x57b)]=_0x4f47dd,this[_0x339524(0x26e)]=_0x15c6f4,this[_0x339524(0x363)](),this[_0x339524(0x380)]();}[_0x494bb3(0x380)](){const _0x4b78bf=_0x494bb3,_0x5a4c2f=async _0x5d0307=>{const _0x2dc357=_0x50cf;(await this[_0x2dc357(0x57b)]['requireSession'](_0x5d0307))[_0x2dc357(0x5f6)][_0x2dc357(0x1d4)](_0x51e720[_0x2dc357(0x264)](_0x35c915=>_0x35c915[_0x2dc357(0x383)]===_0x4d11e3[_0x2dc357(0x213)]['SHOULD_CLOSE_CONN']),_0x51e720[_0x2dc357(0x1d1)](this[_0x2dc357(0x5af)]))[_0x2dc357(0x38d)](_0x242c2e=>{const _0x9a2790=_0x2dc357,_0x1a8a0a=_0x242c2e,{reason:_0x4c30e6}=_0x1a8a0a[_0x9a2790(0x5a3)];this[_0x9a2790(0x221)][_0x9a2790(0x537)](_0x33d470['IMessageService'])[_0x9a2790(0x478)]({'type':_0x989dfe[_0x9a2790(0x5f0)]['Error'],'content':this[_0x9a2790(0x26e)]['t']('collaboration.closeRoom')+'('+_0x4c30e6+')'}),this[_0x9a2790(0x441)]['updatePermissionPoint'](new _0x66e3f4[(_0x9a2790(0x35d))](_0x5d0307)['id'],!0x1),this['_collaborationSessionService'][_0x9a2790(0x28d)](_0x5d0307);});};_0x32bae4[_0x4b78bf(0x3fc)](this['_univerInstanceService'][_0x4b78bf(0x465)](_0x5a20c3['UniverInstanceType']['UNIVER_SHEET']),this[_0x4b78bf(0x4a7)][_0x4b78bf(0x465)](_0x5a20c3[_0x4b78bf(0x4c5)][_0x4b78bf(0x512)]))[_0x4b78bf(0x1d4)](_0x51e720[_0x4b78bf(0x48f)](_0x585e02=>_0x585e02[_0x4b78bf(0x4dc)]()),_0x51e720[_0x4b78bf(0x264)](_0x28df02=>!_0x5a20c3['isInternalEditorID'](_0x28df02)),_0x51e720['takeUntil'](this[_0x4b78bf(0x5af)]))[_0x4b78bf(0x38d)](_0x3aeaa3=>{_0x5a4c2f(_0x3aeaa3);});}[_0x494bb3(0x363)](){const _0x21abe0=_0x494bb3,_0x202ce8=async _0x59f691=>{const _0x22bd3=_0x50cf;(await this[_0x22bd3(0x57b)][_0x22bd3(0x3b7)](_0x59f691))[_0x22bd3(0x5f6)][_0x22bd3(0x1d4)](_0x51e720[_0x22bd3(0x264)](_0xf97382=>_0xf97382[_0x22bd3(0x383)]===_0x4d11e3[_0x22bd3(0x213)]['UPDATE_PERMISSION_OBJ']),_0x51e720[_0x22bd3(0x1d1)](this[_0x22bd3(0x5af)]))[_0x22bd3(0x38d)](_0x2b7286=>{const _0x4ee3ae=_0x22bd3,_0x9ef67b=_0x2b7286,{objectId:_0x1242a6}=_0x9ef67b[_0x4ee3ae(0x5a3)],_0x24ead1=this['_injector'][_0x4ee3ae(0x537)](_0x194a78[_0x4ee3ae(0x165)]);_0x1242a6===_0x59f691?_0x24ead1['initWorkbookPermissionChange'](_0x59f691):_0x24ead1[_0x4ee3ae(0x2fb)](_0x59f691,_0x1242a6);});};_0x32bae4[_0x21abe0(0x3fc)](this[_0x21abe0(0x4a7)][_0x21abe0(0x465)](_0x5a20c3[_0x21abe0(0x4c5)][_0x21abe0(0x329)]),this[_0x21abe0(0x4a7)][_0x21abe0(0x465)](_0x5a20c3[_0x21abe0(0x4c5)][_0x21abe0(0x512)]))[_0x21abe0(0x1d4)](_0x51e720['map'](_0x5a8a2f=>_0x5a8a2f[_0x21abe0(0x4dc)]()),_0x51e720['filter'](_0x299397=>!_0x5a20c3[_0x21abe0(0x191)](_0x299397)),_0x51e720[_0x21abe0(0x1d1)](this[_0x21abe0(0x5af)]))['subscribe'](_0x4be07c=>{_0x202ce8(_0x4be07c);});}};_0x451e92=_0xee5879([_0x1e9e42(0x0,_0x5a20c3[_0x494bb3(0x57c)](_0x5a20c3[_0x494bb3(0x596)])),_0x1e9e42(0x1,_0x5a20c3[_0x494bb3(0x17e)]),_0x1e9e42(0x2,_0x5a20c3[_0x494bb3(0x397)]),_0x1e9e42(0x3,_0x5a20c3[_0x494bb3(0x57c)](_0x38d423[_0x494bb3(0x1a9)])),_0x1e9e42(0x4,_0x5a20c3[_0x494bb3(0x57c)](_0x5a20c3[_0x494bb3(0x439)]))],_0x451e92);var _0x2199de=Object[_0x494bb3(0x5f8)],_0x376517=Object['getOwnPropertyDescriptor'],_0x405f45=(_0x1ccdf2,_0x444a06,_0x42574f,_0x169f20)=>{const _0x2258d9=_0x494bb3;for(var _0x4cce9e=_0x169f20>0x1?void 0x0:_0x169f20?_0x376517(_0x444a06,_0x42574f):_0x444a06,_0x15ef8e=_0x1ccdf2[_0x2258d9(0x5aa)]-0x1,_0x1d4b30;_0x15ef8e>=0x0;_0x15ef8e--)(_0x1d4b30=_0x1ccdf2[_0x15ef8e])&&(_0x4cce9e=(_0x169f20?_0x1d4b30(_0x444a06,_0x42574f,_0x4cce9e):_0x1d4b30(_0x4cce9e))||_0x4cce9e);return _0x169f20&&_0x4cce9e&&_0x2199de(_0x444a06,_0x42574f,_0x4cce9e),_0x4cce9e;},_0xd4da95=(_0x59de21,_0x31b1be)=>(_0x376f50,_0x5af08b)=>_0x31b1be(_0x376f50,_0x5af08b,_0x59de21);_0x38d423[_0x494bb3(0x5fa)]=class{constructor(_0x234624,_0x39fa5f){const _0x34da6a=_0x494bb3;this[_0x34da6a(0x1f1)]=_0x234624,this[_0x34da6a(0x5d9)]=_0x39fa5f;}async[_0x494bb3(0x1e2)](_0x49c207,_0x33bdad){const _0xa6605f=_0x494bb3;var _0x43b79d;const {unitID:_0x4a98b9,type:_0x16c484,revision:_0x67085f=0x0}=_0x33bdad,_0xbad760=this['_getSnapshotAPIPrefix']()+'/'+_0x16c484+_0xa6605f(0x5e4)+_0x4a98b9+'/rev/'+_0x67085f,_0x3696a8=(await this['_httpService'][_0xa6605f(0x537)](_0xbad760))[_0xa6605f(0x271)],_0x1a8eb7=(_0x43b79d=_0x3696a8['snapshot'])==null?void 0x0:_0x43b79d[_0xa6605f(0x4a9)];if(_0x1a8eb7){const _0x53cc7d=_0x1a8eb7==null?void 0x0:_0x1a8eb7['originalMeta'],_0x4e3018=_0x4d11e3['textEncoder'][_0xa6605f(0x3cc)](_0x4d11e3[_0xa6605f(0x4c6)](_0x53cc7d));_0x1a8eb7[_0xa6605f(0x4e6)]=_0x4e3018,Object[_0xa6605f(0x287)](_0x1a8eb7[_0xa6605f(0x384)])[_0xa6605f(0x5e8)](([,_0x302067])=>{const _0x18931c=_0xa6605f,_0xd6d31e=_0x302067['originalMeta'],_0x1213e1=_0x4d11e3[_0x18931c(0x2a1)][_0x18931c(0x3cc)](_0x4d11e3[_0x18931c(0x4c6)](_0xd6d31e));_0x302067[_0x18931c(0x4e6)]=_0x1213e1;});}return _0x3696a8;}async['getSheetBlock'](_0x39d7a2,_0x1ff9eb){const _0x20a655=_0x494bb3,{unitID:_0x50374f,type:_0x20eb48,blockID:_0x5b15e9}=_0x1ff9eb,_0x257110=this[_0x20a655(0x302)]()+'/'+_0x20eb48+_0x20a655(0x5e4)+_0x50374f+_0x20a655(0x422)+_0x5b15e9;return(await this[_0x20a655(0x5d9)][_0x20a655(0x537)](_0x257110))[_0x20a655(0x271)];}async[_0x494bb3(0x588)](_0x13f103,_0x2e0b30){const _0x311851=_0x494bb3,{unitID:_0x3a9922,type:_0x283224,blockID:_0x2098ca}=_0x2e0b30,_0x4d6b04=this['_getAPIPrefix']()+_0x311851(0x422)+_0x283224+'/unit/'+_0x3a9922+_0x311851(0x422)+_0x2098ca;return(await this[_0x311851(0x5d9)][_0x311851(0x537)](_0x4d6b04))[_0x311851(0x271)];}async[_0x494bb3(0x459)](_0x1c7be2,_0x4c9373){const _0x533c80=_0x494bb3,{unitID:_0x38d837,type:_0x31f11e,from:_0x5a185a,to:_0x290659}=_0x4c9373,_0x3e0649=this[_0x533c80(0x302)]()+'/'+_0x31f11e+'/unit/'+_0x38d837+_0x533c80(0x468)+_0x5a185a+_0x533c80(0x556)+_0x290659;return(await this['_httpService']['get'](_0x3e0649))[_0x533c80(0x271)];}[_0x494bb3(0x541)](){const _0x257d4c=_0x494bb3;var _0x1a7736;return(_0x1a7736=this[_0x257d4c(0x1f1)][_0x257d4c(0x19a)](_0xe41584))!=null?_0x1a7736:this[_0x257d4c(0x302)]();}[_0x494bb3(0x302)](){const _0x1cbb02=_0x494bb3;var _0x549536,_0x16ebfb;const _0x166927=this[_0x1cbb02(0x1f1)]['getConfig'](_0x9ad7b4),_0x2b6093=this[_0x1cbb02(0x1f1)]['getConfig'](_0x59eaf6);return(_0x16ebfb=(_0x549536=_0x2b6093==null?void 0x0:_0x2b6093['snapshotServerUrl'])!=null?_0x549536:_0x166927)!=null?_0x16ebfb:_0x1974b1;}async[_0x494bb3(0x206)](_0x1cdeee,_0x2d8865){const _0x18fd9c=_0x494bb3,_0x4fb5d1=_0x18fd9c(0x327)+_0x2d8865['type']+_0x18fd9c(0x5e4)+_0x2d8865['unitID']+_0x18fd9c(0x404);return(await this[_0x18fd9c(0x5d9)][_0x18fd9c(0x537)](_0x4fb5d1,{'params':{'resourceId':JSON[_0x18fd9c(0x58b)](_0x2d8865[_0x18fd9c(0x222)])}}))[_0x18fd9c(0x271)];}[_0x494bb3(0x323)](){const _0x5675e1=_0x494bb3;throw new Error(_0x5675e1(0x530));}['saveSheetBlock'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x494bb3(0x337)](){const _0x39f919=_0x494bb3;throw new Error(_0x39f919(0x530));}[_0x494bb3(0x27f)](){const _0x5c0f0e=_0x494bb3;throw new Error(_0x5c0f0e(0x530));}[_0x494bb3(0x5ae)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}},_0x38d423['SnapshotServerOverHTTPService']=_0x405f45([_0xd4da95(0x0,_0x5a20c3['IConfigService']),_0xd4da95(0x1,_0x5a20c3[_0x494bb3(0x57c)](_0x9ed4dd[_0x494bb3(0x22b)]))],_0x38d423[_0x494bb3(0x5fa)]);var _0x3e5ce3=Object[_0x494bb3(0x5f8)],_0x1a2003=Object[_0x494bb3(0x51e)],_0x1d6564=(_0x1f4bf0,_0x26a96b,_0x136ee3,_0xf7f198)=>{for(var _0x23f378=_0xf7f198>0x1?void 0x0:_0xf7f198?_0x1a2003(_0x26a96b,_0x136ee3):_0x26a96b,_0x377c3a=_0x1f4bf0['length']-0x1,_0x5c4187;_0x377c3a>=0x0;_0x377c3a--)(_0x5c4187=_0x1f4bf0[_0x377c3a])&&(_0x23f378=(_0xf7f198?_0x5c4187(_0x26a96b,_0x136ee3,_0x23f378):_0x5c4187(_0x23f378))||_0x23f378);return _0xf7f198&&_0x23f378&&_0x3e5ce3(_0x26a96b,_0x136ee3,_0x23f378),_0x23f378;},_0x537292=(_0x52d40f,_0x4b81cc)=>(_0x371391,_0x1db567)=>_0x4b81cc(_0x371391,_0x1db567,_0x52d40f);let _0x4c5d22=class extends _0x5a20c3['LocalUndoRedoService']{constructor(_0x1c3ecc,_0x280d52,_0xf22393,_0x18b58b,_0x2d29e2){const _0x2f869c=_0x494bb3;super(_0x1c3ecc,_0x280d52,_0xf22393),this['_transformService']=_0x18b58b,this[_0x2f869c(0x3f5)]=_0x2d29e2;}['transformUndoRedo'](_0x145fca,_0x319798){const _0x59838d=_0x494bb3,_0x323d69=this[_0x59838d(0x418)](_0x145fca);if(_0x323d69)try{const _0x40e9fc=this[_0x59838d(0x3e5)](_0x323d69,_0x319798);this[_0x59838d(0x4ec)](_0x145fca,_0x40e9fc);}catch(_0x42e164){this[_0x59838d(0x3f5)][_0x59838d(0x35a)](_0x59838d(0x2c5),_0x42e164),this[_0x59838d(0x316)](_0x145fca);}const _0x269359=this[_0x59838d(0x356)](_0x145fca);if(_0x269359)try{const _0x2a7c1e=this[_0x59838d(0x3e5)](_0x269359,_0x319798);this[_0x59838d(0x34f)](_0x145fca,_0x2a7c1e);}catch(_0x2bdebf){this[_0x59838d(0x3f5)][_0x59838d(0x35a)](_0x2bdebf),this['_clearRedo'](_0x145fca);}}[_0x494bb3(0x316)](_0x2f8bc2){const _0x167bd1=_0x494bb3,_0x1b0d21=this[_0x167bd1(0x418)](_0x2f8bc2);_0x1b0d21&&(_0x1b0d21['length']=0x0,this['_updateStatus']());}[_0x494bb3(0x4d5)](_0x27b1d1){const _0x5c8974=_0x494bb3,_0x5e4234=this['_getRedoStack'](_0x27b1d1);_0x5e4234&&(_0x5e4234[_0x5c8974(0x5aa)]=0x0,this[_0x5c8974(0x2bb)]());}[_0x494bb3(0x4ec)](_0x50f9ae,_0x10173c){const _0x486d0d=_0x494bb3;this[_0x486d0d(0x269)]['set'](_0x50f9ae,_0x10173c),this[_0x486d0d(0x2bb)]();}['_substituteRedoStack'](_0x308a96,_0x2d50bd){const _0x3e17bc=_0x494bb3;this['_redoStacks'][_0x3e17bc(0x33d)](_0x308a96,_0x2d50bd),this['_updateStatus']();}[_0x494bb3(0x3e5)](_0x182d5c,_0xfd5fba){const _0x2105f4=_0x494bb3,_0x28d08d=[];let _0x111cb4=_0xfd5fba,_0x23d11c=_0xfd5fba;for(let _0x506a31=_0x182d5c[_0x2105f4(0x5aa)]-0x1;_0x506a31>=0x0;_0x506a31--){const {unitID:_0x14e382,undoMutations:_0x4ac3a2,redoMutations:_0x171ceb}=_0x182d5c[_0x506a31],_0x4b0701=this[_0x2105f4(0x241)][_0x2105f4(0x381)](_0x111cb4,_0x4ac3a2),_0x509d28=this[_0x2105f4(0x241)][_0x2105f4(0x381)](_0x23d11c,_0x171ceb);if(_0x4d11e3[_0x2105f4(0x472)](_0x4b0701)||_0x4d11e3['isTransformMutationsWithChangesetFailure'](_0x509d28)){this[_0x2105f4(0x3f5)][_0x2105f4(0x35a)](_0x2105f4(0x2c5),_0x2105f4(0x5d2),_0x4b0701,_0x509d28);break;}_0x111cb4=_0x4b0701[_0x2105f4(0x297)],_0x23d11c=_0x509d28['c1Prime'],_0x28d08d['push']({'unitID':_0x14e382,'undoMutations':_0x4b0701['m2Prime'],'redoMutations':_0x509d28[_0x2105f4(0x3fd)]});}return _0x28d08d['reverse']();}};_0x4c5d22=_0x1d6564([_0x537292(0x0,_0x5a20c3['IUniverInstanceService']),_0x537292(0x1,_0x5a20c3[_0x494bb3(0x39a)]),_0x537292(0x2,_0x5a20c3['IContextService']),_0x537292(0x3,_0x4d11e3['ITransformService']),_0x537292(0x4,_0x5a20c3[_0x494bb3(0x494)])],_0x4c5d22);class _0x4e07fe extends _0x5a20c3[_0x494bb3(0x3ed)]{constructor(){const _0x9afbf9=_0x494bb3;super(),_0x3ed524(this,'urlChange$'),this[_0x9afbf9(0x3bd)]=_0x32bae4[_0x9afbf9(0x38e)](window,'popstate')[_0x9afbf9(0x1d4)](_0x32bae4[_0x9afbf9(0x1d1)](this[_0x9afbf9(0x5af)]),_0x32bae4[_0x9afbf9(0x1e8)](0x1),_0x32bae4[_0x9afbf9(0x2ef)](void 0x0));}[_0x494bb3(0x421)](_0x13f9e1,_0x2b422e,_0x10fd6b=!0x1){const _0x5d05ee=_0x494bb3,_0x4cb288=new URL(window[_0x5d05ee(0x2ae)][_0x5d05ee(0x1c4)]);_0x4cb288[_0x5d05ee(0x4ae)][_0x5d05ee(0x33d)](_0x13f9e1,_0x2b422e),_0x10fd6b?window['history'][_0x5d05ee(0x1ea)]('','',_0x4cb288[_0x5d05ee(0x283)]()):window['history']['pushState']('','',_0x4cb288['toString']());}[_0x494bb3(0x4cc)](_0x37631e,_0x430e70=!0x1){const _0x27dd5e=_0x494bb3,_0x3e2c26=new URL(window[_0x27dd5e(0x2ae)][_0x27dd5e(0x1c4)]);_0x3e2c26['searchParams'][_0x27dd5e(0x43d)](_0x37631e),_0x430e70?window['history'][_0x27dd5e(0x1ea)]('','',_0x3e2c26[_0x27dd5e(0x283)]()):window[_0x27dd5e(0x2c4)][_0x27dd5e(0x262)]('','',_0x3e2c26[_0x27dd5e(0x283)]());}[_0x494bb3(0x2d6)](_0x339c46){const _0x5adaa8=_0x494bb3;var _0x5a38a2;return(_0x5a38a2=new URL(window[_0x5adaa8(0x2ae)][_0x5adaa8(0x1c4)])[_0x5adaa8(0x4ae)][_0x5adaa8(0x537)](_0x339c46))!=null?_0x5a38a2:void 0x0;}}var _0x17c95=Object['defineProperty'],_0x1076b7=Object['getOwnPropertyDescriptor'],_0x39372e=(_0x2c2c88,_0x321c8f,_0x32f5ae)=>_0x321c8f in _0x2c2c88?_0x17c95(_0x2c2c88,_0x321c8f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x32f5ae}):_0x2c2c88[_0x321c8f]=_0x32f5ae,_0x14651f=(_0x12c02a,_0x4ad23b,_0x29f204,_0x1e97be)=>{for(var _0x92534=_0x1e97be>0x1?void 0x0:_0x1e97be?_0x1076b7(_0x4ad23b,_0x29f204):_0x4ad23b,_0x4ef05a=_0x12c02a['length']-0x1,_0x42f964;_0x4ef05a>=0x0;_0x4ef05a--)(_0x42f964=_0x12c02a[_0x4ef05a])&&(_0x92534=(_0x1e97be?_0x42f964(_0x4ad23b,_0x29f204,_0x92534):_0x42f964(_0x92534))||_0x92534);return _0x1e97be&&_0x92534&&_0x17c95(_0x4ad23b,_0x29f204,_0x92534),_0x92534;},_0x10143f=(_0x49a3be,_0x1957e2)=>(_0x518693,_0x4768ae)=>_0x1957e2(_0x518693,_0x4768ae,_0x49a3be),_0x588d78=(_0x161046,_0xa75356,_0x5775f0)=>_0x39372e(_0x161046,_0xa75356+'',_0x5775f0);const _0x16d03b='UNIVER_COLLABORATION_CLIENT_PLUGIN';_0x38d423['UniverCollaborationClientPlugin']=class extends _0x5a20c3[_0x494bb3(0x2a2)]{constructor(_0x542408=_0x48bf3d,_0x5c9252,_0x497c92,_0x6a1cdd,_0x428b5d){const _0x4a09eb=_0x494bb3;super(),this[_0x4a09eb(0x1e5)]=_0x542408,this[_0x4a09eb(0x3f5)]=_0x5c9252,this[_0x4a09eb(0x257)]=_0x497c92,this[_0x4a09eb(0x221)]=_0x6a1cdd,this[_0x4a09eb(0x1f1)]=_0x428b5d;const {..._0x1701de}=this[_0x4a09eb(0x1e5)];this[_0x4a09eb(0x1f1)][_0x4a09eb(0x456)](_0x59eaf6,_0x1701de);}[_0x494bb3(0x3b3)](){const _0x2cbd3e=_0x494bb3;this['_registerDependencies'](),this[_0x2cbd3e(0x294)]();}['onReady'](){const _0x57c618=_0x494bb3;_0x5a20c3['touchDependencies'](this[_0x57c618(0x221)],[[_0x13737c]]);}['onRendered'](){const _0x20ae42=_0x494bb3;this[_0x20ae42(0x4af)]();}['_registerDependencies'](){const _0x3fee5c=_0x494bb3;var _0x2e9531,_0x448802,_0x4a5c43,_0x8dd2dd;this[_0x3fee5c(0x221)][_0x3fee5c(0x4a3)](_0x5a20c3[_0x3fee5c(0x44c)])&&this[_0x3fee5c(0x3f5)][_0x3fee5c(0x35a)](_0x3fee5c(0x543),_0x3fee5c(0x1ab));const _0x23f905=[[_0x5a20c3['IUndoRedoService'],{'useClass':_0x4c5d22}],[_0x38d423[_0x3fee5c(0x1a9)]],[_0x174ccb],[_0x1ea4a4,{'useClass':_0x4e07fe}],[_0x38d423['MemberService']],[_0x38d423[_0x3fee5c(0x1ca)]],[_0x9ed4dd[_0x3fee5c(0x1ba)]],[_0x47f26b],[_0x2c3f2f],[_0x11a9c0],[_0x455c32],[_0x171169],[_0x264022],[_0x2c1fac],[_0x1cf212],[_0x451e92],[_0x45677d,{'useClass':(_0x448802=(_0x2e9531=this[_0x3fee5c(0x1e5)])==null?void 0x0:_0x2e9531[_0x3fee5c(0x340)])!=null?_0x448802:_0x38d423[_0x3fee5c(0x3f6)]}],[_0x4d11e3[_0x3fee5c(0x553)],{'useClass':_0x38d423[_0x3fee5c(0x5fa)]}],[_0x5a20c3[_0x3fee5c(0x554)],{'useClass':_0x38d423['AuthzIoHttpService']}],[_0x152c2e['IImageIoService'],{'useClass':_0x38d423['ImageIoService']}],[_0x38d423[_0x3fee5c(0x39c)]],[_0x38d423[_0x3fee5c(0x579)]],[_0x38d423[_0x3fee5c(0x4de)]],[_0x13737c],[_0x36312d]];(_0x4a5c43=this[_0x3fee5c(0x1e5)])!=null&&_0x4a5c43[_0x3fee5c(0x4ce)]&&_0x23f905['push']([_0x104336,{'useClass':_0x1fe08a}]),_0x5a20c3['registerDependencies'](this['_injector'],_0x5a20c3[_0x3fee5c(0x3c7)](_0x23f905,(_0x8dd2dd=this['_config'])==null?void 0x0:_0x8dd2dd[_0x3fee5c(0x254)]));}[_0x494bb3(0x4af)](){const _0x5ec881=_0x494bb3;this[_0x5ec881(0x385)](this[_0x5ec881(0x257)][_0x5ec881(0x268)](_0x5a20c3[_0x5ec881(0x4c5)]['UNIVER_DOC'],[_0x33ad6d])),this['disposeWithMe'](this[_0x5ec881(0x257)][_0x5ec881(0x268)](_0x5a20c3[_0x5ec881(0x4c5)][_0x5ec881(0x329)],[_0x4777ba]));}[_0x494bb3(0x294)](){const _0x5806bb=_0x494bb3;var _0x5dc6bb,_0x4958ad;this[_0x5806bb(0x221)][_0x5806bb(0x537)](_0x9ed4dd[_0x5806bb(0x22b)])[_0x5806bb(0x3a4)]({'priority':0x14,'interceptor':_0x9ed4dd['ThresholdInterceptorFactory']({'maxParallel':0x6})}),(_0x5dc6bb=this[_0x5806bb(0x1e5)])!=null&&_0x5dc6bb[_0x5806bb(0x15a)]||this[_0x5806bb(0x221)][_0x5806bb(0x537)](_0x38d423[_0x5806bb(0x1ca)])[_0x5806bb(0x35b)](),(_0x4958ad=this['_config'])!=null&&_0x4958ad[_0x5806bb(0x535)]&&_0x5a20c3[_0x5806bb(0x56e)](this['_injector'],[[_0x264022]]),_0x5a20c3[_0x5806bb(0x56e)](this['_injector'],[[_0x2c1fac],[_0x36312d],[_0x38d423[_0x5806bb(0x579)]],[_0x38d423[_0x5806bb(0x39c)]],[_0x38d423['DesktopCollaborationStatusDisplayController']],[_0x451e92]]);}},_0x588d78(_0x38d423[_0x494bb3(0x255)],_0x494bb3(0x41d),_0x16d03b),_0x38d423[_0x494bb3(0x255)]=_0x14651f([_0x5a20c3[_0x494bb3(0x331)](_0x4d11e3[_0x494bb3(0x443)],_0x9ed4dd[_0x494bb3(0x45a)]),_0x10143f(0x1,_0x5a20c3[_0x494bb3(0x494)]),_0x10143f(0x2,_0x5c31a6['IRenderManagerService']),_0x10143f(0x3,_0x5a20c3['Inject'](_0x5a20c3[_0x494bb3(0x596)])),_0x10143f(0x4,_0x5a20c3[_0x494bb3(0x175)])],_0x38d423[_0x494bb3(0x255)]),_0x38d423['AUTHZ_URL_KEY']=_0x125721,_0x38d423[_0x494bb3(0x153)]=_0x4abc67,_0x38d423['COLLAB_WEB_SOCKET_URL_KEY']=_0x4420d6,_0x38d423[_0x494bb3(0x5e7)]=_0x5948fa,_0x38d423[_0x494bb3(0x197)]=_0x1d0a3d,_0x38d423[_0x494bb3(0x1bf)]=_0x1cf212,_0x38d423[_0x494bb3(0x305)]=_0x33903c,_0x38d423[_0x494bb3(0x2bc)]=_0x1c1612,_0x38d423['ICollaborationSocketService']=_0x45677d,_0x38d423[_0x494bb3(0x5cd)]=_0x1ea4a4,_0x38d423['LOCAL_CACHE_INTERVAL_KEY']=_0x2a600b,_0x38d423[_0x494bb3(0x1b3)]=_0x5e43ba,_0x38d423[_0x494bb3(0x161)]=_0x28861a,_0x38d423[_0x494bb3(0x2dc)]=_0x2b47bd,_0x38d423[_0x494bb3(0x178)]=_0x9ad7b4,_0x38d423['SNAPSHOT_URL_KEY']=_0xe41584,_0x38d423['SessionStatus']=_0x5f2a52,_0x38d423[_0x494bb3(0x21c)]=_0x289d4b,_0x38d423[_0x494bb3(0x181)]=_0x4e07fe,_0x38d423['deserializeToCombResponse']=_0x2ef67b,_0x38d423[_0x494bb3(0x442)]=_0x3baba8,Object[_0x494bb3(0x5f8)](_0x38d423,Symbol['toStringTag'],{'value':_0x494bb3(0x1da)});}));function _0x54cd(){const _0x16f114=['NodePositionConvertToRectRange','_context','RefRangeService','delete','handleInsertRangeMoveRight','_saveTaskMap','useCallback','_permissionService','serializeCombRequest','UniverCollaborationPlugin','_reverseMap','_retryConnectingTimer','json','_status$','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','SHA1','getInterceptPoints','fetching\x20missing\x20changesets\x20from\x20','IUndoRedoService','_docTransformSelectionsService','_id','_createHmacHelper','INGEST','call','PENDING','_range','IMessageService','JSONX','setConfig','error$','18621IYnMtX','fetchMissingChangesets','UniverNetworkPlugin','_stopTelemetryCollaborationNewChangeset','[FetchMissState]','_themeService','_handleEvent','hostname','transformRemoteChangeset','hovered','_updateCollabCursors','_getSheetObject','defIds','getTypeOfUnitAdded$','selections','createElement','/fetchmissing?from=','_exhaustRemoteChangesetQueue','SHOULD_CLOSE_CONN','isEditing','_fetchMissChangesets','__Key__','JOIN','AuthzIoHttpService','Could\x20not\x20dynamically\x20require\x20\x22','EffectRefRangId','isTransformMutationsWithChangesetFailure','SNAPSHOT_HAS_BEEN_REMOVED','_name','skeleton','apply','msCrypto','show','_removeCollabCursors','url(#off-line-single_clip0_910_343)','roles','1em','_docSyncEditingCollabCursorService','attrs','univerjs-icon\x20univerjs-icon-','Fragment','ImageSourceType','executeCommand','lib','_clearTimeoutTimer','_resendWithTimeout','@univerjs/drawing','awaiting','getMemberID','_localCacheService','FAIL','_roomMembers$','purple300','APPLY_NON_SEQUENTIAL_REVISION','authzUrl','map','_anchor','processBlock','add','arc','ILogService','sheetID','_userManagerService','AWAITING_WITH_PENDING','getUnitType','VIEW_MAIN','LIVESHARE_REQUEST_HOST','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','_HTTPService','UniverSheetsUi','NO_OTHER_CLIENTS_EDITING','ITransformService','pad','univer-offline','reject','has','jsxs','range','_joinRoom','_univerInstanceService','cursorInfo','workbook','join','infoRsp','TEXT','TOO_MANY_REQUESTS','searchParams','_registerRenderDependencies','_submitChangeset','flatMap','_handleHover','_docTransformStateCacheService','roomMembers$','_getCtorByUniverType','_initEventListeners','M0\x200H16V16H0z','getCurrent','UniverCore','encodeURIComponent','@univerjs/engine-render','init','_revisionService','getColor','_append','resolve','function','HmacSHA1','setTimeout','_initResize','UniverInstanceType','b64DecodeUnicode','#fff','collabSubmitChangesetUrl','unit','ALREADY_EXISTS','exhaustSavingTask','removeParam','IUIPartsService','enableSingleActiveInstanceLock','DocSkeletonManagerService','translate(.97)','UNKNOWN_CODE','_iv','_ENC_XFORM_MODE','find','_clearRedo','univer-online-status-title','ACTIVE_UNIT_EVENT_CHANNEL','_initStatusListener','APPLY_PERMISSION_DENIED','_entities','fromEventSubject','getUnitId','fetchThroughInterceptors','DesktopCollaborationStatusDisplayController','url(#on-line-single_clip0_910_349)','objectActions','_shapes','addEventListener','parseChangesetToProtocol','1382519YtRlNf','clearInterval','originalMeta','COMMENT_UPDATE','collaborators','_socket','collab-text-range-','_http','_substituteUndoStack','collab-text-anchor-','_initMergeInterceptor','compose','values','decryptBlock','enableLocalCache','getImage','_onMessage','Error\x20on\x20receiving\x20event','_decreaseWaiting','DeleteRangeMoveUpCommandId','UniverIcon','on-line-single','debounce','HELLO','MoveRangeCommandId','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','asObservable','handleIRemoveCol','incrementRevOfUnit','_sendHeartbeat','slice','YUUMI_URL_COL_OUT_OF_RANGE','_docSkeleton','Undefined','text','updateMember','_hovered','collabStatus.notCollab','_unlockTransition','words','_collabSessionService','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','UniverEngineFormula','RegularPolygon','_xformMode','_labelPosition','UNIVER_DOC','ReplaySubject','[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.','cmd','_transformRemoteChangesetByIMECache','_acknowledgedAwaitingChangeset','onRemoteRej','APPLY_REJECT','_heartbeatTimer','_applyRemoteChangeset','conflict.content','onload','getOwnPropertyDescriptor','_cursorInfo$','collaMsg','_transformRemoteChangesetByStateCache','_toggleOnline','_doReset','YUUMI_RATE_OVER_LIMIT','_compressMutationService','_minBufferSize','collabStatus.fetchMiss','getCoordByCell','CHANGESET_SHOULD_RETRY','padding','isTransformChangesetsSuccess','11089360zZTaTV','session.collaboration-timeout','objectType','onlineStatus','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','_getSignURL','getValue','VIEWPORT_KEY','_onCursorDelete','enableAuthServer','?url=','get','restore','onTransformIME','SEND_CHANGESET_TIMEOUT','_onRemoteRejected','COLLAB_SUBMIT_CHANGESET_URL','transformSelections','MD5','_changesetReqId','_cursorShapes','_getSnapshotAPIPrefix','params','[UniverCollaborationClientPlugin]','not_collab','LIVESHARE_NEW_HOST','readInt32LE','max','complete','PERMISSION_REJ','mapDocumentTypeToUniverType','hasher','onStateChange','changesets','MUTATION','algo','memberID','TEXT_RANGE_LAYER_INDEX','_updateSubUnitFromURLParams','ISnapshotServerService','IAuthzIoService','COMPRESS_MUTATION_APPLY','&to=','isArray','_createSocket','sheetId','unshift','activeSheet$','BehaviorSubject','liveShareOperation','APPLY_REVISION_CONFILICT','_process','UNIVER_UNKNOWN','textRanges','_getCurrentRevision','_transformSelections','_clearCollaborationTimeoutTimer','default','createInstance','kdf','@univerjs/sheets','colorChannel1','Rect','collaboratorID','onRemoteChangeset','string','touchDependencies','getUnitStatus$','_docSkeletonManagerService','icon','children','_map','Cipher','_startTelemetryCollaborationNewChangeset','_color','Vector2','_onLocalMutation','DataLoaderController','getWorkbookSelections','_collaborationSessionService','Inject','[PendingState]:\x20received\x20acknowledgement.','onTransformState','commentUpdateEvent','UniverCollaboration','_scheduleTimestamp','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','_mode','onMouseMove','objects','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','rng','getDeserializedSheetBlock','exports','rev','stringify','transformStateCache','7OHsBRW','__esModule','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','React','EvpKDF','hidden','getCurrentSelections','UniverUi','_collaborationController','Injector','trim','CHANGESET_REVISION_CONFILICT','transformChangesets','reduce','leaveEvent','_parse','Optional','setAlpha','_iKey','_collaborationPaused','_hover','_imageSourceCache','data','getItem','InsertRangeMoveDownCommandId','throttleTime','setItem','formatter','m1Prime','length','UNRECOGNIZED','SheetCollaborationEntity','Tools','getLatestCsReqIdBySid','dispose$','_shouldReportTelemetry','conflict','_resendTimer','awaitingChangeset','capture','idSuffix','updateCollaborator','isActive','_refRangeService','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','IRemoteInstanceService','react.fragment','reconnect','ReactCurrentOwner','shouldCloseConn','Unknown\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','getSheetId','ONLINE','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','_scene','propertyIsEnumerable','FromArray','patch','react.element','useRef','rxjs','_keySchedule','onMissedChangesetFetched','univer-pro.collaboration-client-socket-service','IURLService','off-line-single_clip0_910_343','SnapshotService','COMPLETION_FINISHED','EmptyMutation','transformStack\x20failed!','rxjs/operators','transformMutation','\x0aCurrent:\x20','_initRequestHeader','_unitStatus','take','_httpService','getRenderById','roomMembers','@univerjs/sheets-ui','next','LIVESHARE_TERMINATE','TRANSFORM_CHANGE_OBSERVABLE_TYPE','/universer-api/snapshot','_onUserJoin','status$','deepClone','/unit/','_pendingMutations','top','CollaborationStatus','forEach','enc','&source=','combineLatest','height','UPDATE_PERMISSION_OBJ','_timeoutTimer','univer-pro.collaboration-client.single-active-unit-service','MessageType','reqId','none','_createHelper','getTypeOfUnitDisposed$','YUUMI_UNABLE_LOAD_URL','event$','_textBubble','defineProperty','closePath','SnapshotServerOverHTTPService','transformIMECache','updatePermissionObjEvent','Base64','_scheduleClearOtherTimer','DocCollaborationEntity','getMember','status','getCollabEntity$','\x20to\x20','pauseCollaboration','sid','getCurrentUser','_retryCount','message$','ImageUploadStatusType','defaultProps','COLLAB_SUBMIT_CHANGESET_URL_KEY','actions','on-line-single_clip0_910_349','displayName','UnitEmbedded','setShapeProps','1817184UrKMyj','enableOfflineEditing','session','_onJoinRoomEvent','byteLength','_ws','whenReady','_isPermissionRej','RETRY_CONNECTING_MAX_COUNT_KEY','collaboration-session-retry','listCollaborators','_assignedColors','SheetPermissionInitController','_docTransformIMECacheService','fromCharCode','lineTo','origin','$super','_onOffline','_onRemoteChangeset','with','debounceTime','CHANGESET_REJ','_startCollaboration','_disableEditing','focused$','dispose','onTransformChange$','IConfigService','[OfflineState]:\x20received\x20changeset.','IDLE','SNAPSHOT_SERVER_URL_KEY','randomUUID','_entityInit$','@univerjs-pro/collaboration','onRemoteRetry','transformUndoRedo','IUniverInstanceService','_sessions','close$','WebURLService','random','_onRemoteRetry','onTransformRemoteChangesetByIMECache','UniverDesign','assign','_getAPIPrefixPath','WordArray','getFocusedUnit','endRow','handleInsertCol','DocStateChangeManagerService','confirm','OTHER_CLIENTS_EDITING','INTERNAL_ERROR','name','isInternalEditorID','currentTheme$','_onRemoteACK','_awaitingChangeset','defs','push','CollaborationStatusDisplay','_initStatusComponent','black','getConfig','SetDocZoomRatioOperation','USERS_ENTER','setCurrentUser','MergeInterceptorFactory','_clearScheduledTask','close','addObjects','registerOnClose','_uiPartsService','every','_drawRectRange','redoState','_cursors','salt','CollaborationSessionService','equals','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','_keyPriorReset','_onConflict','includes','@univerjs/docs-ui','debug','getActiveSheet','clamp','LOGIN_URL_KEY','startRow','newValue','_startDocCollabCursor','getAllMembers','doc.mutation.rich-text-editing','SetSelectionsOperation','WebSocketService','__creator','measureText','_state','ranges','CommentService','getCollabCursors$','createEncryptor','_hash','_session','href','pending','_doFinalize','_getSendChangesetTimeout','isPermissionRej','Disposable','LocalCacheService','OnLineSingle','action','react','_executeRemoteChangeset','COLORS','/universer-api/file/{fileID}/sign-url','takeUntil','/allowed','onRemoteAck','pipe','RECT','indexOf','[CollaborationEntity]','toDisposable','_transformStateCache','Module','format','url','title','OFFLINE','ENSURE_SNAPSHOT_EXECUTION','Unknown\x20user','_replaceFileID','getUnitOnRev','_tryEnsureSocket','@univerjs/network','_config','LICENSE_IMPORT_SIZE_EXCEEDED','labelPosition','shareReplay','Univer','replaceState','_setupSubUnitSync','_scheduleCollaborationTimeoutTimer','_syncEditingCollabCursor','then','UPDATE_CURSOR','svg','_configService','_drawAnchor','LIVESHARE_FETCH_OPERATIONS','undoState','getRangePointData','_onUserLeave','Base','univer-online-status-icon','_anchorDot','randomBytes','IRenderManagerService','crypto','startColumn','_socketService','_snapshotService','_commentUpdate$','0\x200\x2017\x2016','jsx','keySize','deserializeRangeWithSheet','object','getResourcesRequest','_cipher','retryConnectingInterval','_waitCount','red300','Subject','141530fLiwtr','onlineStatusTitle','post','HEARTBEAT_TIMEOUT','POST','UniverCollaborationClient','currentColor','CollaborationEvent','_disabled','_sendHeartbeatTimer','session.will-retry','collaboration.single-unit.warning','removeMember','_startSheetCollabCursor','_invKeySchedule','_createInitialStateImpl','SheetCollabCursorShape','downloadEndpointUrl','ERROR_EXCEED_SIZE','getCurrentRevOfUnit','target','_injector','resourceIDs','RemoveRowCommandId','createIdentifier','Warning','subunit','PasswordBasedCipher','onTransformRemoteChangesetByStateCache','getSkeleton','min','HTTPService','onPointerMove$','clipPath','forwardRef','SYNCED','2648WKOISO','xlink:href','onSendChangeset','setWaitCount','list','getRelativeToViewportCoord','_removeClearOtherTimer','connection\x20error','_transformUndoRedoStack','242466SfMgiG','[DataLoaderController]','ref','_getSaveTimeout','loadOfflineData','size','deleteCollaborator','[CollaborationSessionService]','_transformService','_queuedRemoteChangesets','_localStorageService','DOC_RANGE_TYPE','cfg','hide','charCodeAt','_getScale','objectID','_clearHeartbeatTimer','path','updatePermissionPoint','roomInfos','handleInsertRangeMoveDown','round','_transformIMECache','useObservable','editing\x20status\x20changed\x20to','_handleHeartbeatEvent','override','UniverCollaborationClientPlugin','handleIRemoveRow','_renderManagerService','NOT_FOUND','execute','ERROR_IMAGE','current','UNAUTHENTICATED','collaboration-client.config','unit-cache-','_commentService','disposeUnit','_collaborationTimeoutTimer','pushState','width','filter','createSocket','#FFF','_draw','registerRenderModule','_undoStacks','registerBeforeClose','createDecryptor','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','batchAllowed','_localeService','_listenToOfflineEvent','getImageSourceCache','body','key','currentSkeleton$','fromCollab','font','submit\x20changeset\x20error!','[PendingState]:\x20received\x20rejection.','_drawTextRange','/role','\x0aAfter:\x20','_toggleOffline','for','StreamCipher','_tryReconnect','copyFileMeta','now','mode','change$','toString','symbol','_transitionLocked','tag','entries','Malformed\x20UTF-8\x20data','getRandomValues','UniverTelemetry','_socketMessageSubscription','@univerjs/rpc','closeSession','color','save\x20fail\x20reason\x20is\x20','/object/','concat','isTransformMutationsWithChangesetSuccess','encryptBlock','_initDependencies','_prevBlock','CONFLICT','c1Prime','_init','RECV','localeService','getViewport','_data','Encryptor','mixIn','UniverNetwork','_remoteChangesetQueue','textEncoder','Plugin','_transformUndoredo','newCsEvent','image/jpeg','_syncEditingCollabCursorService','routeKey','Decryptor','fill','_urlService','@univerjs/docs','_undoRedoService','BufferedBlockAlgorithm','location','startsWith','_refreshCollabCursors','_getDownloadEndpointURL','resend','collab-client.tooltip.reconnect','HEARTBEAT_INTERVAL','_loadSheet','_cachedData','replaceTextRanges','CollaborationEntity','onCommandExecuted','?size=','_updateStatus','HEARTBEAT_TIMEOUT_KEY','_waitForHeartbeatResponse','/universer-api/authz','INotificationService','_throwTelemetryCollaborationNewChangeset','_setupBeforeClosingHandler','onTransformSelections','substring','history','[CollaborationUndoRedoService]','SUCCUSS','_createHandler','sequenceExecute','_candidateSocket','className','loginUrlKey','_messageService','drawWith','_eventUnsubscribe','YUUMI_SUBSCRIPTION_NOT_FOUND','_doProcessBlock','LIVESHARE_OPERATION','_handler','getActiveRange','SNAPSHOT_URL_KEY','from','getParam','_collabCursorController','bind','baseRev','floor','synced','SEND_CHANGESET_TIMEOUT_KEY','LICENSE_EXPORT_SIZE_EXCEEDED','_docStateChangeManagerService','_singleActiveUnitService','CONNECTOR_DATA_TOO_LARGE','registerRefRange','clone','ciphertext','create','_commandService','clearTimeout','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','revision','_beforeCloseService','_send','/universer-api/comb','toLowerCase','Tooltip','_onCursorUpdate','mapTo','_removeRoom','_checkMissing','[CollaborationSession]','PERMISSION_DENIED','NEW_CHANGESETS','blockSize','assignAColorForMemberID','selection','interceptor','ImageIoService','engine','refreshPermission','_saveCache','image/jpg','readAsDataURL','_hideTimer','row','_unitOnClients','_getAPIPrefix','transformByState','catch','HEARTBEAT_INTERVAL_KEY','result','CipherParams','CommandType','headers','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','_updateURLWithCurrentState','MemberService','ColorKit','sendChangesetTimeout','APPLY_DUPLICATED','generateRandomId','state$','toggleOnline','UniverRpc','_transformPreviousActiveRange','UNIVER_SLIDE','_clearUndo','UnitSnapshot','CHANGESET_ACK','AWAITING','updateCursorEvent','getAncestorScale','onlyLocal','...','permission.content','MSG_FOR_ERROR','iterations','/collaborator','operators','saveSnapshot','@univerjs/ui','_roomMembers','380VwSzhb','/universer-api/snapshot/','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','UNIVER_SHEET','ceil','_key','unknown','_memberService','onPointerEnter$','_listenToOnlineEvent','_getLoginPath','DependentOn','subscribeEvent','offline','_notificationService','div','/-/object/-/batch_allowed','saveChangeset','sigBytes','socket\x20close','fillStyle','_updateLocalCursor','\x20in\x20_schedule.','set','getDocRanges','_resendTimeout','socketService','mutations','session.connection-failed','signUrlServerUrl','_onFetchMissResult','splice','_onRefRangeChange','OpenSSL','stopTime','BlockCipherMode','duration','UniverSheets','collabStatus.conflict','fetchMiss','[CollaborationState]:\x20apply\x20error!','_substituteRedoStack','makeDirty','type','_getAnchorBounding','univer-online-status','_doCryptBlock','editingUnit','_getRedoStack','ws://127.0.0.1:8000/universer-api/comb/connect','startTime','HEARTBEAT','error','disableLocalCache','ERROR_IMAGE_TYPE','WorkbookEditablePermission','hasOwnProperty','_transformHistoryAndStateStack','liveShareNewHost','requestParams','_onConnectionFailed','_initUnitPermissionChange','_sessionStatus$','unsubscribe','clear','collabStatus.syncing','RichTextEditingMutation','fetch_missing','_sheetSkeletonManagerService','ThemeService','DocSelectionManagerService','encrypt','BASE64','_schedule','visibilitychange','@univerjs/design','_nDataBytes','ivSize','NoPadding','NOT_COLLAB','SerializableCipher','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','[PendingState]:\x20unhandled\x20univer\x20type:\x20','_onRecvEvent','append','USERS_LEAVE','userID','failed\x20to\x20apply\x20missed\x20changesets!','number','prototype','_initCloseConn','transformMutationsWithChangeset','[SyncedState]:\x20received\x20rejection.','eventID','sheets','disposeWithMe','online','setActiveRange','PSEUDO_FETCH_MISSING_RESULT','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','bottom','csRejEvent','SetWorksheetActivateCommand','subscribe','fromEvent','_ensureSubject','BlockCipher','telemetry\x20info\x20is\x20not\x20initialized','byteOffset','Hex','session.room-full','_event$','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','IPermissionService','sessionStatus$','LEAVE','ICommandService','findNodePositionByCharIndex','CollaborationController','SUBMIT_CHANGESET','_snapshotServerService','unitID','_scheduleSaving','gold400','_lastPointer','getTime','registerHTTPInterceptor','toggleOffline','handleDeleteRangeMoveLeft','[OfflineState]:\x20received\x20acknowledgement.','column','_sender','auth.needGotoLoginAlert','visibilityState','SNAPSHOT_INVALID_SNAPSHOT','InsertSheetMutation','RevisionService','_incrementRevisionNumber','syncEditingCollabCursor','CollaborationSession','switchMap','onStarting','_updateLocalCache','_clearOtherTimers','addObject','requireSession','_initCommandExecutedListener','registerComponent','_selfUnitIDs','_createInitialState','c2Prime','urlChange$','EXCHANGE_SIGN_URL_SERVER_URL_KEY','onSyncEditingCollabCursor','_lockTransition','_loadDoc','_telemetryInfo','save','getOwnPropertySymbols','_changesetSessionId','split','mergeOverrideWithDependencies','update','sessionStatus','appendMutation','_render','encode','Shape','_nRounds','_state$','csShouldRetryEvent','extend','_hasher','_showConflictNotification','delay','NodePositionConvertToCursor','SheetsSelectionsService','getStateCache','_updateState','updateOfflineData','_sendingTimer','reset','handleInsertRow','code','subUnitId','substr','commentUpdate$','IBeforeCloseService','_online','compute','_scheduleHeartbeat','_transformStack','fillRule','unload','/object','members','getSheetBySheetId','_socket$','state','RxDisposable','getCollabEntity','unitId','socket\x20open.','setStateCache','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','INVALID_ARGUMENT','Workbook','_logService','CollaborationSocketService','_type','DisposableCollection','FileId','useDependency','_sheetTransformSelectionsService','merge','m2Prime','off-line-single','_socketReady','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','UNKNOWN_CMD','29345YSswfv','getSheetObject','/resources','JOINING','putCollaborators','CompressMutationService','transform','file','parseProtocolChangeset','LICENSE_DISTRO_REJECTED','parse','isTransformMutationFailure','Pkcs7','_change$','jiqing500','{fileID}','&assign=','_collabCursorState$','HttpImport','setShowComponents','@univerjs/core','_telemetryService','_getUndoStack','finalize','_clearLocalCache','docStateChange$','onCommentUpdate','pluginName','unitId\x20is\x20not\x20found','saveOfflineData','storage','setParam','/block/','collab-rect-range-','send','_cursor','[SyncedState]:\x20received\x20acknowledgement.','DEFAULT_FILE_NAME','open$','Utf8','Hasher','_unitID','setUndoRedoMutationParamsCache','_onConnectionOpen','_colorIndex','getCurrentUnitForType','setInterval','_backgroundColor','evenodd','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','OffLineSingle','_DEC_XFORM_MODE','_getUploadFileURL','_members','cursorInfo$','LocaleService'];_0x54cd=function(){return _0x16f114;};return _0x54cd();}