@univerjs-pro/collaboration-client 0.4.0-alpha.1 → 0.4.0-nightly.202410121605
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/index.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/umd/index.js +1 -1
- package/package.json +16 -16
package/lib/umd/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
function _0x205f(_0x1cd471,_0x2b5be6){const _0x35a20a=_0x35a2();return _0x205f=function(_0x205ffa,_0x2ca731){_0x205ffa=_0x205ffa-0x8b;let _0x174981=_0x35a20a[_0x205ffa];return _0x174981;},_0x205f(_0x1cd471,_0x2b5be6);}function _0x35a2(){const _0xac9352=['Vector2','submit\x20changeset\x20error!','revision','allowed','_snapshotService','socket\x20close','catch','onStateChange','/rev/','error','_collaborationTimeoutTimer','JOINING','contains','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','[SyncedState]:\x20received\x20rejection.','switchMap','OffLineSingle','url(#on-line-single_clip0_910_349)','roomMembers$','isTransformMutationFailure','HEADER_MENU','focused$','_roomMembers$','some','_userManagerService','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','editingUnit','src','runRefRangeMutations','_entityInit$','@univerjs/design','parseProtocolChangeset','Injector','defineProperty','NO_OTHER_CLIENTS_EDITING','disposeWithMe','_handleJoinEvent','_setupSubUnitSync','removeParam','ILocalStorageService','LOCAL_CACHE_INTERVAL_KEY','url(#off-line-single_clip0_910_343)','_docTransformSelectionsService','transformStack\x20failed!','_transformUndoRedoStack','React','selections','row','_singleActiveUnitService','_event$','_incrementRevisionNumber','rxjs','compose','onRemoteAck','onPointerEnter$','[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.','getSheetBySheetId','&source=','reconnect','USERS_ENTER','_entities','_ensureSubject','signUrlServerUrl','_initEventListeners','_exhaustRemoteChangesetQueue','apply','CONFLICT','not_collab','get','updateMember','COLORS','mergeOverrideWithDependencies','_initUnitPermissionChange','current','COMPRESS_MUTATION_SEND','/universer-api/stream/file/upload','UNIVER_SLIDE','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','collabCursorState$','getUnit','_socketService','getUnitType','COLLAB_WEB_SOCKET_URL_KEY','UPDATE_PERMISSION_OBJ','[OfflineState]:\x20received\x20acknowledgement.','getSheetId','lineTo','_shapes','round','BASE64','getOwnPropertySymbols','_clearHeartbeatTimer','UniverCore','UniverEngineRender','handleMoveRange','putCollaborators','getSheetObject','onPointerLeave$','SetDocZoomRatioOperation','CHANGESET_REVISION_CONFILICT','_id','VIEWPORT_KEY','_revisionService','UniverLicense','concatMap','_transformService','getImage','history','setWaitCount','IContextService','onSendChangeset','hasOwnProperty','put','EffectRefRangId','AuthzIoHttpService','getCollabEntity$','[SyncedState]:\x20received\x20acknowledgement.','getColor','_updateStatus','_clearUndo','LIVESHARE_NEW_HOST','_removeRoom','top','_handleEvent','drawWith','/universer-api/snapshot/','indexOf','TOO_MANY_REQUESTS','_applyRemoteChangeset','onTransformIME','_toggleOffline','startRow','_redoStacks','onCommandExecuted','[PendingState]:\x20received\x20rejection.','fillStyle','UniverRpc','HEARTBEAT','IMessageService','_socketMessageSubscription','result','_loadDoc','_sessionStatus$','_backgroundColor','SetSelectionsOperation','getMergeData','sequenceExecute','getCollabEntity','UniverCollaboration','mapDocumentTypeToUniverType','_scheduleTimestamp','toRgbString','action','transformMutationsWithChangeset','clearInterval','cursorInfo$','COMPRESS_MUTATION_APPLY','getCurrentUser','HttpImport','useRef','_logService','_sendHeartbeat','_fetchMissChangesets','_config','transformRemoteChangeset','json','isActive','_removeClearOtherTimer','open$','collaboration_new_changeset','_candidateSocket','CONNECTOR_DATA_TOO_LARGE','_updateSubUnitFromURLParams','subscribeEvent','FAIL','color','2072568Fyydzk','transform','@univerjs-pro/collaboration','_socket','makeDirty','show','PENDING','_stopTelemetryCollaborationNewChangeset','uploadFileServerUrl','_members','@univerjs/rpc','OnLineSingle','touchDependencies','/allowed','YUUMI_URL_COL_OUT_OF_RANGE','_handleLeaveEvent','collaboration-client.offline-data-not-saved','event$','isTransformMutationsWithChangesetSuccess','actions','@univerjs-pro/license','collabStatus.offline','listRoles','colorChannel1','fill','ERROR_IMAGE_TYPE','MessageType','UniverCollaborationClientPlugin','column','UniverInstanceType','status','_undoRedoService','transformSelections','flatMap','setAlpha','shareReplay','telemetry\x20info\x20is\x20not\x20initialized','ISnapshotServerService','_joinRoom','session.collaboration-timeout','_textBubble','MergeInterceptorFactory','Optional','_socket$','save','DeleteRangeMoveUpCommandId','NOT_FOUND','\x20-\x20','fromEventSubject','onRemoteChangeset','_colorAssignService','getOwnPropertyDescriptor','LocalUndoRedoService','deleteCollaborator','5UvEEuQ','AWAITING','_listenToOnlineEvent','evenodd','_color','permission.title','_commentService','@univerjs/ui','CollaborationEntity','UniverSheetsUi','newCsEvent','univer-pro.collaboration-client-socket-service','onTransformRemoteChangesetByIMECache','collaboration.closeRoom','getRenderById','transformMutation','_showConflictNotification','_state$','socket\x20open.','RemoveColCommandId','COLLAB_WEB_SOCKET_URL','@univerjs/telemetry','WebSocketService','_permissionService','DocStateChangeManagerService','getDeserializedSheetBlock','NodePositionConvertToCursor','setParam','_colorIndex','then','forEach','_sheetTransformSelectionsService','userID','getResourcesRequest','resend','FETCH_MISSING','reverse','_sendingTimer','max','onlineStatusTitle','parse','getMemberID','_updateCollabCursors','_retryConnectingTimer','_memberService','getTime','function','rev','INGEST','mapTo','onCommentUpdate','sessionStatus$','_lastPointer','Plugin','_context','CollaborationSessionService','getItem','_draw','className','_checkMissing','YUUMI_RATE_OVER_LIMIT','socket$','liveShareOperation','clearTimeout','NOT_COLLAB','_getSendChangesetTimeout','UserManagerService','origin','COMMENT_UPDATE','_transformSelections','message$','_disabled','filter','isPermissionRej','originalMeta','HEARTBEAT_TIMEOUT','_transformStack','ranges','_onRemoteChangeset','TRANSFORM_CHANGE_OBSERVABLE_TYPE','IBeforeCloseService','getUniverSheetInstance','_getSignURL','measureText','csRejEvent','assign','\x0aCurrent:\x20','amd','key','setInterval','_registerRenderDependencies','c1Prime','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','_collabSessionService','parseChangesetToProtocol','enableSingleActiveInstanceLock','collab-text-range-','CollaborationStatus','add','_getUndoStack','createIdentifier','UNIVER_SHEET','DocSelectionManagerService','trim','status$','MoveRangeCommandId','INTERNAL_ERROR','_getAPIPrefixPath','joinEvent','_executeRemoteChangeset','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_updateLocalCache','loadDoc','Univer','_getSnapshotAPIPrefix','off-line-single_clip0_910_343','activeSheet$','rxjs/operators','_unitOnClients','with','merge','ERROR_EXCEED_SIZE','objectID','[OfflineState]:\x20received\x20rejection.','image/bmp','_timeoutTimer','unshift','getMember','replaceState','_anchorDot','LICENSE_DISTRO_REJECTED','incrementRevOfUnit','UNRECOGNIZED','symbol','ACTIVE_UNIT_EVENT_CHANNEL','findNodePositionByCharIndex','IRemoteInstanceService','_getCtorByUniverType','&to=','_substituteUndoStack','takeUntil','transformIMECache','roomMembers','params','getParam','_labelPosition','ImageIoService','fillText','_cursors','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_drawRectRange','append','@univerjs/engine-formula','SYNCED','_startCollaboration','UniverUi','_session','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','currentColor','clear','_beforeCloseService','_transformPreviousActiveRange','UniverDocs','children','OTHER_CLIENTS_EDITING','UNIVER_PROJECT','doc.mutation.rich-text-editing','_initResize','_drawTextRange','SNAPSHOT_HAS_BEEN_REMOVED','moveTo','@univerjs/docs-ui','icon','from','collaboration-client.config','resourceIDs','IAuthzIoService','/role','height','_univerInstanceService','SNAPSHOT_URL_KEY','synced','backgroundColor','APPLY_PERMISSION_DENIED','VIEW_MAIN','enableAuthServer','COLLAB_SUBMIT_CHANGESET_URL_KEY','fromCollab','conflict.title','SnapshotService','[PendingState]:\x20unhandled\x20univer\x20type:\x20','session.will-retry','exports','debug','_onConnectionOpen','HEARTBEAT_INTERVAL_KEY','generateRandomId','subscribe','includes','/unit/','Inject','\x20to\x20','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','encode','text','_initMergeInterceptor','_onCursorUpdate','PERMISSION_DENIED','_disableEditing','UniverTelemetry','distinctUntilChanged','_saveCache','getCurrentUnitForType','collabStatus.conflict','@univerjs/drawing','CollaborationSocketService','call','readAsDataURL','LIVESHARE_TERMINATE','SheetCollaborationEntity','_getCurrentRevision','_type','toString','CollaborationEvent','_http','InsertRangeMoveRightCommandId','_unitStatus','RevisionService','state$','@univerjs/docs','ColorKit','offline','shouldCloseConn','selection','_updateState','PERMISSION_REJ','COMPLETION_FINISHED','/object/','transformChangesets','DocSkeletonManagerService','_initCloseConn','_getAnchorBounding','_updateURLWithCurrentState','assignAColorForMemberID','eventID','DesktopCollaborationStatusDisplayController','handleInsertRangeMoveRight','unit-cache-','_scheduleCollaborationTimeoutTimer','CollaborationController','SEND_CHANGESET_TIMEOUT','beginPath','currentSkeleton$','getActiveSheet','_startTelemetryCollaborationNewChangeset','bottom','getImageSourceCache','min','_scheduleSaving','length','_waitForHeartbeatResponse','createSocket','restore','connection\x20error','unitId\x20is\x20not\x20found','localeService','change$','_getSheetObject','useDependency','storage','_imageSourceCache','_saveTaskMap','failed\x20to\x20apply\x20missed\x20changesets!','UNIVER_DOC','_tryEnsureSocket','unsubscribe','_createInitialStateImpl','textEncoder','onlyLocal','_toggleOnline','Subject','LICENSE_MAX_UNITS_EXCEEDED','onReady','isArray','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','saveImage','createCollaborator','getSkeleton','_remoteChangesetQueue','_httpService','_cachedData','getFocusedUnit','/object','onMouseMove','capture','[CollaborationSessionService]','image/gif','_range','getSheetBlock','_urlService','body','LocaleService','startTime','/universer-api/comb','updateCursorEvent','_handleHeartbeatEvent','number','error$','_setupBeforeClosingHandler','_heartbeatTimer','DEFAULT_FILE_NAME','_handler','addImageSourceCache','visibilitychange','textRanges','univer-pro.collaboration-client.single-active-unit-service','getDocRanges','loginUrlKey','engine','onMissedChangesetFetched','forwardRef','useObservable','_transformRemoteChangesetByIMECache','_snapshotServerService','_startDocCollabCursor','InsertRangeMoveDownCommandId','use','div','_change$','collabStatus.fetchMiss','Undefined','1em','ALREADY_EXISTS','[UniverCollaborationClientPlugin]','_name','_initStatusComponent','fillRule','/universer-api/authz','arc','UPDATE_CURSOR','url(#$1','0\x200\x2016\x2016','ONLINE','/resources','Error\x20on\x20receiving\x20event','conflict.content','off-line-single','_selfUnitIDs','m2Prime','_collaborationSessionService','memberID','prototype','registerRenderModule','extend','USERS_LEAVE','[PendingState]:\x20received\x20acknowledgement.','_telemetryInfo','handleDeleteRangeMoveUp','/universer-api/oidc/authpage','478386SHBiRZ','collaboratorID','asObservable','enableLocalCache','operators','updatePermissionObjEvent','throttleTime','getValue','DocCollaborationEntity','replaceTextRanges','AWAITING_WITH_PENDING','toggleOffline','_clearScheduledTask','m1Prime','_getAPIPrefix','values','SnapshotServerOverHTTPService','handleDeleteRangeMoveLeft','useCallback','reject','ThemeService','gold400','univer-online-status','_loadSheet','post','isValidRectRange','withCredentials','cmd','_init','_onRemoteRejected','getCurrentSelections','_cursorShapes','save\x20fail\x20reason\x20is\x20','_syncEditingCollabCursor','_pendingMutations','loadOfflineData','collabStatus.syncing','getTypeOfUnitDisposed$','ILogService','startColumn','hovered','...','SUCCUSS','awaitingChangeset','setCurrentUser','tag','_retryCount','getAncestorScale','onlineStatus','_cursorInfo$','black','UNIVER_UNKNOWN','session','_collaborationController','onPointerMove$','\x0aAfter:\x20','_state','/universer-api/file/{fileID}/sign-url','registerHTTPInterceptor','unitId','x-univer-host','PSEUDO_FETCH_MISSING_RESULT','list','visibilityState','onTransformSelections','ITransformService','toggleOnline','_schedule','isEditing','_getRedoStack','getWorkbookSelections','UniverDrawing','Tools','disposeUnit','_clearTimeoutTimer','/universer-api/snapshot','fetching\x20missing\x20changesets\x20from\x20','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','replace','_onConflict','debounce','724829zyVcjH','_onUserLeave','_createInitialState','univer-online-status-title','_registerDependencies','HTTPService','UnitSnapshot','getUnitOnRev','SheetCollabCursorShape','getActiveRange','IDLE','_eventUnsubscribe','Warning','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','HELLO','_commentUpdate$','onRemoteRej','_createSocket','LIVESHARE_REQUEST_HOST','WorkbookEditablePermission','_tryReconnect','getInterceptPoints','init','CollaborationStatusDisplay','ImageUploadStatusType','_listenToOfflineEvent','sessionStatus','listCollaborators','_scene','_createHandler','onMissingChangesets','clipPath','split','online','APPLY_REVISION_CONFILICT','InsertColCommandId','transformByState','session.room-full','_transitionLocked','getCellPositionByOffset','getVpScrollXYInfoByPosToVp','now','resize','M0\x200H16V16H0z','updateOfflineData','sheetID','_socketReady','15430gJZpIg','getUnitId','executeCommand','@univerjs/sheets-ui','deepClone','RemoveRowCommandId','idSuffix','@univerjs/engine-render','create','SheetsSelectionsService','concat','appendMutation','_localeService','_ws','_compressMutationService','_getLoginPath','joinRsp','SNAPSHOT_INVALID_SNAPSHOT','push','objectType','UNKNOWN_CMD','LOGIN_URL_KEY','_initStatusListener','DisposableCollection','close$','onload','_assignedColors','addObject','awaiting','_onRefRangeChange','SheetPermissionInitController','_initModules','LICENSE_EXPORT_SIZE_EXCEEDED','Unknown\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','collaboration-session-retry','_online','csAckEvent','DependentOn','searchParams','_startSheetCollabCursor','displayName','_onMessage','_getUploadFileURL','image/jpeg','getOffsetConfig','collab-text-anchor-','setUndoRedoMutationParamsCache','onStarting','INVALID_ARGUMENT','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','#fff','target','_cursor','commentUpdate$','isInternalEditorID','setTimeout','_onRecvEvent','CollaborationSession','_onLocalMutation','BehaviorSubject','registerComponent','unitID','ITelemetryService','Workbook','ThresholdInterceptorFactory','FileId','RETRY_CONNECTING_MAX_COUNT','[FetchMissState]','_drawAnchor','stopTime','_onUserJoin','LIVESHARE_FETCH_OPERATIONS','CHANGESET_ACK','font','LEAVE','IConfigService','subUnitId','getUnitStatus$','RichTextEditingMutation','data','sheetId','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','requireSession','SUBMIT_CHANGESET','IPermissionService','_onFetchMissResult','_awaitingChangeset','isTransformChangesetsSuccess','/collaborator','?size=','serializeRangeWithSheet','_collabCursorController','_initCommandExecutedListener','onTransformChange$','AUTHZ_URL_KEY','_onRemoteACK','_onOffline','next','complete','_queuedRemoteChangesets','every','all','INotificationService','201MEjFbv','href','_HTTPService','string','_removeCollabCursors','_onJoinRoomEvent','_updateLocalCursor','DataLoaderController','_clearOtherTimers','unknown','has','on-line-single_clip0_910_349','_scheduleClearOtherTimer','url','set','_lockTransition','APPLY_NON_SEQUENTIAL_REVISION','_decreaseWaiting','_render','permission.content','stringify','_isPermissionRej','CompressMutationService','title','entries','getConfig','_instanceService','_onCombEvent','DeleteRangeMoveLeftCommandId','removeMember','_uiPartsService','_docTransformIMECacheService','_configService','attrs','defIds','CommandType','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','dispose$','getCollabCursors$','requestParams','_replayCachedMutations','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','registerBeforeClose','UnitEmbedded','ws://127.0.0.1:8000/universer-api/comb/connect','Error','exhaustSavingTask','IUniverInstanceService','verdancy600','deserializeToCombResponse','updateCollaborator','map','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','path','fetch_missing','fetchThroughInterceptors','xlink:href','UNKNOWN_CODE','handleIRemoveCol','confirm','_hideTimer','_collaborationPaused','code','_undoStacks','workbook','_getMergeRange','createElement','_scheduleHeartbeat','_sendHeartbeatTimer','setActiveRange','_sheetSkeletonManagerService','b64DecodeUnicode','image/png','_messageService','updatePermissionPoint','_transformUndoredo','closePath','collaMsg','?url=','fetchMiss','univer-online','name','urlChange$','_syncEditingCollabCursorService','conflict','UNAUTHENTICATED','substring','NEW_CHANGESETS','@univerjs/core','HttpExport','transformUndoRedo','_localCacheService','downloadEndpointUrl','YUUMI_UNABLE_LOAD_URL','_sessions','saveChangeset','endColumn','CHANGESET_REJ','_onCursorDelete','isTransformMutationsWithChangesetFailure','_status$','_rescheduleHeartbeat','take','saveSheetBlock','patch','toDisposable','0\x200\x2017\x2016','sendChangesetTimeout','WebURLService','IUndoRedoService','_commandService','SEND_CHANGESET_TIMEOUT_KEY','[DataLoaderController]','file','OFFLINE','rgba(255,\x20255,\x20255,\x200.01)','currentTheme$','collabSubmitChangesetUrl','TEXT_RANGE_LAYER_INDEX','5055198PTScwc','state','socketService','[OfflineState]:\x20received\x20changeset.','RefRangeService','_handleHover','purple300','_send','loadSheet','UUID','type','_waitCount','IImageIoService','sheets','registerOnClose','_replaceFileID','XHRHTTPImplementation','_docStateChangeManagerService','triggerDblclick','_unlockTransition','_getScale','IURLService','_roomMembers','subunit','_initRequestHeader','headers','encodeURIComponent','SetWorksheetActivateCommand','createInstance','FromArray','APPLY_REJECT','_renderManagerService','LIVESHARE_OPERATION','syncEditingCollabCursor','_injector','_unitID','_anchor','red300','range','addObjects','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','@univerjs/sheets','objects','_clearRedo','getCurrentRevOfUnit','initWorkbookPermissionChange','resolve','LocalCacheService','pending','getUndoRedoMutationParamsCache','SHOULD_CLOSE_CONN','YUUMI_SUBSCRIPTION_NOT_FOUND','collaborators','whenReady','IRenderManagerService','defs','RECV','_hover','UniverIcon','_collabCursorState$','changesets','snapshotServerUrl','2033160guWDaB','fetchMissingChangesets','saveSnapshot','JOIN','send','c2Prime','hide','_transformIMECache','dispose','slice','_getDownloadEndpointURL','onSyncEditingCollabCursor','UniverDocsUi','#FFF','getRangePointData','unit','closeSession','_throwTelemetryCollaborationNewChangeset','LICENSE_IMPORT_SIZE_EXCEEDED','ERROR_IMAGE','jiqing500','delete','POST','[CollaborationSession]','RxDisposable','setShapeProps','size','_telemetryService','none','newValue','batchAllowed','width','ICommandService','_refreshCollabCursors','location','UniverNetwork','responseType','find','_onConnectionFailed','_docSkeletonManagerService','Module','fromEvent','/-/object/-/batch_allowed','Disposable','reduce','RETRY_CONNECTING_MAX_COUNT_KEY','_shouldReportTelemetry','[CollaborationEntity]','/block/','_hovered','ImageSourceType','@univerjs/network','routeKey','pipe','close','IUIPartsService','handleIRemoveRow','_refRangeService','setItem','baseRev','interceptor','_notificationService','_localStorageService','addEventListener','HEARTBEAT_TIMEOUT_KEY','18526446oxIQFI','react','debounceTime','cursorInfo','collab-client.tooltip.reconnect','_themeService','pluginName','MSG_FOR_ERROR','RegularPolygon','getTypeOfUnitAdded$','ICollaborationSocketService','authzUrl','getCurrent','mutations','SNAPSHOT_SERVER_URL_KEY','commentUpdateEvent','members','collabStatus.notCollab','startsWith','translate(.97)','Rect','delay','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','_acknowledgedAwaitingChangeset','_getSaveTimeout','MUTATION','awaiting_with_pending'];_0x35a2=function(){return _0xac9352;};return _0x35a2();}(function(_0xaaf93a,_0x1be2ef){const _0xb017e9=_0x205f,_0x3b8de9=_0xaaf93a();while(!![]){try{const _0x15eb8a=parseInt(_0xb017e9(0x17c))/0x1+parseInt(_0xb017e9(0x1fc))/0x2*(-parseInt(_0xb017e9(0x263))/0x3)+-parseInt(_0xb017e9(0x424))/0x4*(parseInt(_0xb017e9(0x45a))/0x5)+-parseInt(_0xb017e9(0x2da))/0x6+parseInt(_0xb017e9(0x1cd))/0x7+-parseInt(_0xb017e9(0x318))/0x8+parseInt(_0xb017e9(0x359))/0x9;if(_0x15eb8a===_0x1be2ef)break;else _0x3b8de9['push'](_0x3b8de9['shift']());}catch(_0x51dff6){_0x3b8de9['push'](_0x3b8de9['shift']());}}}(_0x35a2,0x7c31e),function(_0x14cc72,_0x2e82e4){const _0x1e02bc=_0x205f;typeof exports=='object'&&typeof module<'u'?_0x2e82e4(exports,require(_0x1e02bc(0x2bb)),require(_0x1e02bc(0x3a7)),require('rxjs/operators'),require(_0x1e02bc(0x392)),require(_0x1e02bc(0x461)),require(_0x1e02bc(0x34b)),require(_0x1e02bc(0x426)),require(_0x1e02bc(0x46f)),require(_0x1e02bc(0xfa)),require(_0x1e02bc(0xc0)),require(_0x1e02bc(0x303)),require(_0x1e02bc(0x203)),require(_0x1e02bc(0xeb)),require(_0x1e02bc(0xac)),require('@univerjs/sheets-ui'),require(_0x1e02bc(0x35a)),require(_0x1e02bc(0x42e)),require(_0x1e02bc(0x438))):typeof define==_0x1e02bc(0x488)&&define[_0x1e02bc(0x4b1)]?define([_0x1e02bc(0xd5),_0x1e02bc(0x2bb),_0x1e02bc(0x3a7),_0x1e02bc(0x4cf),'@univerjs/design',_0x1e02bc(0x461),_0x1e02bc(0x34b),_0x1e02bc(0x426),_0x1e02bc(0x46f),_0x1e02bc(0xfa),_0x1e02bc(0xc0),_0x1e02bc(0x303),_0x1e02bc(0x203),_0x1e02bc(0xeb),'@univerjs/engine-formula',_0x1e02bc(0x1ff),_0x1e02bc(0x35a),_0x1e02bc(0x42e),_0x1e02bc(0x438)],_0x2e82e4):(_0x14cc72=typeof globalThis<'u'?globalThis:_0x14cc72||self,_0x2e82e4(_0x14cc72['UniverCollaborationClient']={},_0x14cc72[_0x1e02bc(0x3d0)],_0x14cc72[_0x1e02bc(0x3a7)],_0x14cc72[_0x1e02bc(0x3a7)][_0x1e02bc(0x180)],_0x14cc72['UniverDesign'],_0x14cc72[_0x1e02bc(0xaf)],_0x14cc72[_0x1e02bc(0x33b)],_0x14cc72[_0x1e02bc(0x408)],_0x14cc72[_0x1e02bc(0xe6)],_0x14cc72[_0x1e02bc(0xb7)],_0x14cc72[_0x1e02bc(0x324)],_0x14cc72['UniverSheets'],_0x14cc72[_0x1e02bc(0x3d1)],_0x14cc72[_0x1e02bc(0x1c3)],_0x14cc72['UniverEngineFormula'],_0x14cc72[_0x1e02bc(0x463)],_0x14cc72[_0x1e02bc(0x3a1)],_0x14cc72[_0x1e02bc(0x3fc)],_0x14cc72[_0x1e02bc(0x3db)]));}(this,function(_0x4c8f94,_0x20df93,_0x284d0,_0x3e7ea3,_0x3206ad,_0x40b1aa,_0x581b3b,_0x55cc56,_0x54d2b5,_0x280e9c,_0x3b39ef,_0x5dce24,_0x1ff35a,_0x1e0c7c,_0x32a48b,_0xf53409,_0x3aba2d,_0x264084,_0x505c0c){'use strict';const _0x144fb0=_0x205f;var _0x9fada5=Object[_0x144fb0(0x395)],_0x209389=(_0x9c03e3,_0x590012,_0x2d0dea)=>_0x590012 in _0x9c03e3?_0x9fada5(_0x9c03e3,_0x590012,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2d0dea}):_0x9c03e3[_0x590012]=_0x2d0dea,_0x3e782f=(_0x2eb10d,_0x7b904e,_0x278d31)=>_0x209389(_0x2eb10d,typeof _0x7b904e!=_0x144fb0(0x99)?_0x7b904e+'':_0x7b904e,_0x278d31);const _0x241bd8=_0x144fb0(0x367),_0x534440=_0x144fb0(0x1c7),_0xa047ec=_0x144fb0(0xc9),_0x456d0e=_0x144fb0(0x10f),_0x3c9b9d=_0x144fb0(0x46e),_0x6d4581=_0x144fb0(0x28f),_0x4ffc98='HEARTBEAT_INTERVAL',_0x16ecf3=_0x144fb0(0x4a5),_0x30e871=_0x144fb0(0x23e),_0x1a11f9='LOCAL_CACHE_INTERVAL',_0x546840='COLLAB_SUBMIT_CHANGESET_URL',_0xa3e801=_0x144fb0(0x144),_0x57c1a6=_0x144fb0(0x211),_0x4650cd=_0x144fb0(0x17b);var _0xe677c3=(_0x4c1893=>(_0x4c1893[_0x4c1893['UNDEFINED']=0x0]='UNDEFINED',_0x4c1893[_0x4c1893['OK']=0x1]='OK',_0x4c1893[_0x4c1893[_0x144fb0(0x4c4)]=0x2]=_0x144fb0(0x4c4),_0x4c1893[_0x4c1893[_0x144fb0(0xe4)]=0x3]=_0x144fb0(0xe4),_0x4c1893[_0x4c1893[_0x144fb0(0x452)]=0x4]=_0x144fb0(0x452),_0x4c1893[_0x4c1893['UNAUTHENTICATED']=0x5]=_0x144fb0(0x2b8),_0x4c1893[_0x4c1893[_0x144fb0(0x161)]=0x6]=_0x144fb0(0x161),_0x4c1893[_0x4c1893[_0x144fb0(0x22c)]=0x7]=_0x144fb0(0x22c),_0x4c1893[_0x4c1893[_0x144fb0(0x3f3)]=0x8]=_0x144fb0(0x3f3),_0x4c1893[_0x4c1893[_0x144fb0(0x101)]=0x9]='COMPLETION_FINISHED',_0x4c1893[_0x4c1893['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x144fb0(0x3d7),_0x4c1893[_0x4c1893[_0x144fb0(0x20d)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x4c1893[_0x4c1893[_0x144fb0(0xbe)]=0x1772]=_0x144fb0(0xbe),_0x4c1893[_0x4c1893['APPLY_REJECT']=0x1b59]=_0x144fb0(0x2f8),_0x4c1893[_0x4c1893[_0x144fb0(0x273)]=0x1b5a]=_0x144fb0(0x273),_0x4c1893[_0x4c1893[_0x144fb0(0x1ef)]=0x1b5b]=_0x144fb0(0x1ef),_0x4c1893[_0x4c1893[_0x144fb0(0xcc)]=0x1b5c]=_0x144fb0(0xcc),_0x4c1893[_0x4c1893['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x144fb0(0x41f),_0x4c1893[_0x4c1893[_0x144fb0(0x12e)]=0x2329]=_0x144fb0(0x12e),_0x4c1893[_0x4c1893[_0x144fb0(0xa9)]=0x232a]=_0x144fb0(0xa9),_0x4c1893[_0x4c1893[_0x144fb0(0x32a)]=0x232b]=_0x144fb0(0x32a),_0x4c1893[_0x4c1893[_0x144fb0(0x21c)]=0x232c]=_0x144fb0(0x21c),_0x4c1893[_0x4c1893[_0x144fb0(0x96)]=0x232d]=_0x144fb0(0x96),_0x4c1893[_0x4c1893[_0x144fb0(0x2c0)]=0x2711]=_0x144fb0(0x2c0),_0x4c1893[_0x4c1893[_0x144fb0(0x432)]=0x2712]=_0x144fb0(0x432),_0x4c1893[_0x4c1893[_0x144fb0(0x496)]=0x2713]=_0x144fb0(0x496),_0x4c1893[_0x4c1893['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x144fb0(0x30d),_0x4c1893[_0x4c1893[_0x144fb0(0x98)]=-0x1]=_0x144fb0(0x98),_0x4c1893))(_0xe677c3||{}),_0x3dff5a=(_0x4244cc=>(_0x4244cc[_0x4244cc['UNIVER_UNKNOWN']=0x0]=_0x144fb0(0x1af),_0x4244cc[_0x4244cc[_0x144fb0(0x126)]=0x1]=_0x144fb0(0x126),_0x4244cc[_0x4244cc[_0x144fb0(0x4bf)]=0x2]=_0x144fb0(0x4bf),_0x4244cc[_0x4244cc[_0x144fb0(0x3c0)]=0x3]='UNIVER_SLIDE',_0x4244cc[_0x4244cc[_0x144fb0(0xba)]=0x4]=_0x144fb0(0xba),_0x4244cc[_0x4244cc['UNRECOGNIZED']=-0x1]=_0x144fb0(0x98),_0x4244cc))(_0x3dff5a||{}),_0x360af6=(_0x56f7b9=>(_0x56f7b9[_0x56f7b9['UNKNOWN_CMD']=0x0]=_0x144fb0(0x210),_0x56f7b9[_0x56f7b9[_0x144fb0(0x1db)]=0x1]=_0x144fb0(0x1db),_0x56f7b9[_0x56f7b9[_0x144fb0(0x31b)]=0x2]=_0x144fb0(0x31b),_0x56f7b9[_0x56f7b9[_0x144fb0(0x246)]=0x3]='LEAVE',_0x56f7b9[_0x56f7b9[_0x144fb0(0x48a)]=0x4]='INGEST',_0x56f7b9[_0x56f7b9[_0x144fb0(0x3fd)]=0x5]=_0x144fb0(0x3fd),_0x56f7b9[_0x56f7b9['RECV']=0x6]=_0x144fb0(0x312),_0x56f7b9[_0x56f7b9[_0x144fb0(0x98)]=-0x1]=_0x144fb0(0x98),_0x56f7b9))(_0x360af6||{}),_0x535ff4=(_0x115204=>(_0x115204[_0x115204[_0x144fb0(0x29c)]=0x0]='UNKNOWN_CODE',_0x115204[_0x115204['OK']=0x1]='OK',_0x115204[_0x115204[_0x144fb0(0x422)]=0x2]=_0x144fb0(0x422),_0x115204[_0x115204[_0x144fb0(0x98)]=-0x1]=_0x144fb0(0x98),_0x115204))(_0x535ff4||{}),_0x1b99f2=(_0x279b4b=>(_0x279b4b[_0x279b4b[_0x144fb0(0x15f)]=0x0]=_0x144fb0(0x15f),_0x279b4b[_0x279b4b[_0x144fb0(0x412)]=0x1]='HttpImport',_0x279b4b[_0x279b4b[_0x144fb0(0x2bc)]=0x2]=_0x144fb0(0x2bc),_0x279b4b[_0x279b4b[_0x144fb0(0x28e)]=0x3]=_0x144fb0(0x28e),_0x279b4b[_0x279b4b[_0x144fb0(0x1d3)]=0x4]='UnitSnapshot',_0x279b4b[_0x279b4b[_0x144fb0(0x98)]=-0x1]=_0x144fb0(0x98),_0x279b4b))(_0x1b99f2||{});const _0x53057b=_0x144fb0(0xc3),_0x391b0e={};function _0x441743(_0x2cae97){const _0x2d67de=_0x144fb0;var _0x1b4ba0,_0x57f02d,_0x422203,_0x1808ab;const _0x5b8748=_0x2cae97['data'],_0x4c3953=JSON[_0x2d67de(0x482)](_0x5b8748);switch(_0x4c3953[_0x2d67de(0x197)]){case _0x360af6[_0x2d67de(0x3fd)]:case _0x360af6[_0x2d67de(0x1db)]:{const _0x4d31d6=_0x4c3953['infoRsp'];return{..._0x4c3953,'data':_0x4d31d6,'cmd':_0x4c3953[_0x2d67de(0x197)]};}case _0x360af6[_0x2d67de(0x31b)]:{const _0xf7b7f2=_0x4c3953[_0x2d67de(0x20c)];return{..._0x4c3953,'data':_0xf7b7f2,'cmd':_0x4c3953[_0x2d67de(0x197)]};}case _0x360af6[_0x2d67de(0x312)]:{const _0x36e19a=_0x4c3953[_0x2d67de(0x2b0)];switch(_0x36e19a[_0x2d67de(0x109)]){case _0x55cc56[_0x2d67de(0xf4)][_0x2d67de(0x100)]:return{..._0x4c3953,'data':{..._0x36e19a,'data':(_0x1b4ba0=_0x36e19a['permissionRejEvent'])==null?void 0x0:_0x1b4ba0['cs']},'cmd':_0x4c3953['cmd']};case _0x55cc56['CollaborationEvent'][_0x2d67de(0x244)]:return{..._0x4c3953,'data':{..._0x36e19a,'data':(_0x57f02d=_0x36e19a[_0x2d67de(0x220)])==null?void 0x0:_0x57f02d['cs']},'cmd':_0x4c3953[_0x2d67de(0x197)]};case _0x55cc56['CollaborationEvent'][_0x2d67de(0x2ba)]:return{..._0x4c3953,'data':{..._0x36e19a,'data':(_0x422203=_0x36e19a[_0x2d67de(0x464)])==null?void 0x0:_0x422203['cs']},'cmd':_0x4c3953[_0x2d67de(0x197)]};case _0x55cc56['CollaborationEvent'][_0x2d67de(0x2c4)]:return{..._0x4c3953,'data':{..._0x36e19a,'data':(_0x1808ab=_0x36e19a[_0x2d67de(0x4ae)])==null?void 0x0:_0x1808ab['cs']},'cmd':_0x4c3953['cmd']};case _0x55cc56['CollaborationEvent'][_0x2d67de(0x168)]:return{..._0x4c3953,'data':{..._0x36e19a,'data':_0x36e19a[_0x2d67de(0x145)]},'cmd':_0x4c3953[_0x2d67de(0x197)]};case _0x55cc56[_0x2d67de(0xf4)][_0x2d67de(0x3af)]:return{..._0x4c3953,'data':{..._0x36e19a,'data':_0x36e19a[_0x2d67de(0x4c6)]},'cmd':_0x4c3953[_0x2d67de(0x197)]};case _0x55cc56[_0x2d67de(0xf4)][_0x2d67de(0x177)]:return{..._0x4c3953,'data':{..._0x36e19a,'data':_0x36e19a['leaveEvent']},'cmd':_0x4c3953[_0x2d67de(0x197)]};case _0x55cc56[_0x2d67de(0xf4)][_0x2d67de(0x3ec)]:return{..._0x4c3953,'data':{..._0x36e19a,'data':_0x36e19a['liveShareNewHost']},'cmd':_0x4c3953[_0x2d67de(0x197)]};case _0x55cc56[_0x2d67de(0xf4)][_0x2d67de(0x243)]:case _0x55cc56['CollaborationEvent'][_0x2d67de(0x2fa)]:return{..._0x4c3953,'data':{..._0x36e19a,'data':_0x36e19a[_0x2d67de(0x498)]},'cmd':_0x4c3953[_0x2d67de(0x197)]};case _0x55cc56[_0x2d67de(0xf4)][_0x2d67de(0xef)]:return{..._0x4c3953,'data':{..._0x36e19a,'data':_0x36e19a['liveShareNewHost']},'cmd':_0x4c3953[_0x2d67de(0x197)]};case _0x55cc56[_0x2d67de(0xf4)][_0x2d67de(0x360)]:return{..._0x4c3953,'data':_0x36e19a,'cmd':_0x4c3953['cmd']};case _0x55cc56[_0x2d67de(0xf4)][_0x2d67de(0x49e)]:return{..._0x4c3953,'data':{..._0x36e19a,'data':_0x36e19a[_0x2d67de(0x368)]},'cmd':_0x4c3953[_0x2d67de(0x197)]};case _0x55cc56['CollaborationEvent'][_0x2d67de(0x3c7)]:return{..._0x4c3953,'data':{..._0x36e19a,'data':_0x36e19a[_0x2d67de(0x181)]},'cmd':_0x4c3953[_0x2d67de(0x197)]};case _0x55cc56[_0x2d67de(0xf4)][_0x2d67de(0x30c)]:return{..._0x4c3953,'data':{..._0x36e19a,'data':_0x36e19a[_0x2d67de(0xfd)]},'cmd':_0x4c3953[_0x2d67de(0x197)]};default:return _0x4c3953;}}default:return _0x4c3953;}}function _0x2d1c74(_0x34338d){const _0x3b40e3=_0x144fb0;switch(_0x34338d[_0x3b40e3(0x197)]){case _0x360af6[_0x3b40e3(0x3fd)]:case _0x360af6['HELLO']:return JSON['stringify']({'cmd':_0x34338d[_0x3b40e3(0x197)],'routeKey':_0x34338d[_0x3b40e3(0x34c)]});case _0x360af6['INGEST']:{let _0x5d7663;switch(_0x34338d[_0x3b40e3(0x24b)][_0x3b40e3(0x109)]){case _0x55cc56[_0x3b40e3(0xf4)][_0x3b40e3(0x168)]:{_0x5d7663={'eventID':_0x55cc56[_0x3b40e3(0xf4)][_0x3b40e3(0x168)],'updateCursorEvent':_0x34338d['data']['data']};break;}case _0x55cc56[_0x3b40e3(0xf4)][_0x3b40e3(0x177)]:{_0x5d7663={'eventID':_0x55cc56[_0x3b40e3(0xf4)]['USERS_LEAVE'],'leaveEvent':_0x34338d[_0x3b40e3(0x24b)][_0x3b40e3(0x24b)]};break;}case _0x55cc56[_0x3b40e3(0xf4)][_0x3b40e3(0x3af)]:{_0x5d7663={'eventID':_0x55cc56[_0x3b40e3(0xf4)][_0x3b40e3(0x3af)],'joinEvent':_0x34338d['data'][_0x3b40e3(0x24b)]};break;}case _0x55cc56[_0x3b40e3(0xf4)][_0x3b40e3(0x3ec)]:{_0x5d7663={'eventID':_0x55cc56[_0x3b40e3(0xf4)]['LIVESHARE_NEW_HOST'],'liveShareNewHost':_0x34338d[_0x3b40e3(0x24b)]['data']};break;}case _0x55cc56['CollaborationEvent'][_0x3b40e3(0x2fa)]:{_0x5d7663={'eventID':_0x55cc56[_0x3b40e3(0xf4)][_0x3b40e3(0x2fa)],'liveShareOperation':_0x34338d[_0x3b40e3(0x24b)]['data']};break;}case _0x55cc56[_0x3b40e3(0xf4)][_0x3b40e3(0xef)]:{_0x5d7663={'eventID':_0x55cc56['CollaborationEvent'][_0x3b40e3(0xef)],'liveShareTerminate':_0x34338d['data'][_0x3b40e3(0x24b)]};break;}case _0x55cc56[_0x3b40e3(0xf4)][_0x3b40e3(0x1df)]:{_0x5d7663={'eventID':_0x55cc56[_0x3b40e3(0xf4)][_0x3b40e3(0x1df)],'liveShareRequestHost':_0x34338d[_0x3b40e3(0x24b)][_0x3b40e3(0x24b)]};break;}case _0x55cc56[_0x3b40e3(0xf4)][_0x3b40e3(0x243)]:{_0x5d7663={'eventID':_0x55cc56[_0x3b40e3(0xf4)]['LIVESHARE_FETCH_OPERATIONS']};break;}default:_0x5d7663={'eventID':_0x34338d[_0x3b40e3(0x24b)][_0x3b40e3(0x109)]};}return JSON[_0x3b40e3(0x277)]({'cmd':_0x34338d[_0x3b40e3(0x197)],'routeKey':_0x34338d['routeKey'],'collaMsg':_0x5d7663});}case _0x360af6[_0x3b40e3(0x31b)]:return JSON[_0x3b40e3(0x277)]({'cmd':_0x34338d[_0x3b40e3(0x197)],'routeKey':_0x34338d[_0x3b40e3(0x34c)],'joinReq':_0x34338d[_0x3b40e3(0x24b)]});case _0x360af6[_0x3b40e3(0x246)]:return JSON[_0x3b40e3(0x277)]({'cmd':_0x34338d['cmd'],'routeKey':_0x34338d[_0x3b40e3(0x34c)],'leaveReq':_0x34338d[_0x3b40e3(0x24b)]});default:throw new Error('[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!');}}var _0x200581=Object['defineProperty'],_0x3b1e79=Object[_0x144fb0(0x457)],_0x1d5d6c=(_0x55666f,_0x1e7702,_0x3cb725,_0x336d24)=>{const _0x8e164=_0x144fb0;for(var _0x175df0=_0x336d24>0x1?void 0x0:_0x336d24?_0x3b1e79(_0x1e7702,_0x3cb725):_0x1e7702,_0x32902d=_0x55666f[_0x8e164(0x118)]-0x1,_0x382969;_0x32902d>=0x0;_0x32902d--)(_0x382969=_0x55666f[_0x32902d])&&(_0x175df0=(_0x336d24?_0x382969(_0x1e7702,_0x3cb725,_0x175df0):_0x382969(_0x175df0))||_0x175df0);return _0x336d24&&_0x175df0&&_0x200581(_0x1e7702,_0x3cb725,_0x175df0),_0x175df0;},_0x1f3355=(_0x2cdb0b,_0x37a813)=>(_0x281d8,_0x598df0)=>_0x37a813(_0x281d8,_0x598df0,_0x2cdb0b);const _0x194337=_0x20df93[_0x144fb0(0x4be)](_0x144fb0(0x465));function _0x4c0dff(_0xcbc0fe,_0x3da153,_0x1045b9){return _0xcbc0fe+'/'+_0x3da153+'/unit/'+_0x1045b9+'/new_changes';}_0x4c8f94[_0x144fb0(0xec)]=class extends _0x20df93[_0x144fb0(0x343)]{constructor(_0x28ba54,_0x1b7352,_0x200361,_0x2f37e6,_0x5a7054){const _0x354ea7=_0x144fb0;super(),this['_http']=_0x28ba54,this[_0x354ea7(0x209)]=_0x1b7352,this[_0x354ea7(0x283)]=_0x200361,this[_0x354ea7(0x414)]=_0x2f37e6,this[_0x354ea7(0x158)]=_0x5a7054;}[_0x144fb0(0x11a)](_0xaa3c1){const _0x88f0de=_0x144fb0,_0x2503b8=this[_0x88f0de(0x209)][_0x88f0de(0x11a)](_0xaa3c1);if(!_0x2503b8)throw new Error(_0x88f0de(0x131));const _0x354ad9=new _0x20df93[(_0x88f0de(0x213))](),_0x1fe6b6=new _0x284d0[(_0x88f0de(0x12d))]();_0x354ad9['add'](_0x2503b8['close$'][_0x88f0de(0xda)](_0x33f3c3=>_0x1fe6b6[_0x88f0de(0x25d)](_0x33f3c3))),_0x354ad9[_0x88f0de(0x4bc)](_0x20df93[_0x88f0de(0x2cc)](()=>_0x1fe6b6[_0x88f0de(0x25e)]()));const _0x4af016=new _0x284d0[(_0x88f0de(0x12d))]();_0x354ad9[_0x88f0de(0x4bc)](_0x2503b8[_0x88f0de(0x148)]['subscribe'](_0x5db899=>_0x4af016[_0x88f0de(0x25d)](_0x5db899))),_0x354ad9[_0x88f0de(0x4bc)](_0x20df93['toDisposable'](()=>_0x4af016[_0x88f0de(0x25e)]()));const _0x56a8fa=new _0x284d0[(_0x88f0de(0x12d))]();_0x354ad9[_0x88f0de(0x4bc)](_0x2503b8[_0x88f0de(0x4a0)][_0x88f0de(0xda)](_0x1974f3=>{const _0x54f469=_0x88f0de,_0x5b742c=_0x441743(_0x1974f3);_0x56a8fa[_0x54f469(0x25d)](_0x5b742c);})),_0x354ad9[_0x88f0de(0x4bc)](_0x20df93[_0x88f0de(0x2cc)](()=>_0x56a8fa[_0x88f0de(0x25e)]()));let _0x38d7bf;const _0x3664da=()=>{const _0x4a0682=_0x88f0de;_0x4af016[_0x4a0682(0x25d)](new Event(_0x4a0682(0x11c))),_0x1fe6b6['next'](new CloseEvent(_0x4a0682(0x11c))),_0x38d7bf['close']();};return _0x38d7bf={'memberID':'','close$':_0x1fe6b6[_0x88f0de(0x17e)](),'error$':_0x4af016['asObservable'](),'open$':_0x2503b8[_0x88f0de(0x41c)],'message$':_0x56a8fa[_0x88f0de(0x17e)](),'send':_0x7f6304=>{const _0x577491=_0x88f0de;if(_0x7f6304[_0x577491(0x197)]===_0x360af6[_0x577491(0x48a)]){if(_0x7f6304[_0x577491(0x24b)][_0x577491(0x109)]===_0x55cc56[_0x577491(0xf4)][_0x577491(0x24f)]){this['_submitChangeset'](_0x38d7bf,_0x7f6304['data'])[_0x577491(0x37a)](_0x43254e=>{const _0x401c74=_0x577491;this[_0x401c74(0x414)][_0x401c74(0x37d)](_0x43254e),_0x3664da();});return;}if(_0x7f6304[_0x577491(0x24b)][_0x577491(0x109)]===_0x55cc56['CollaborationEvent'][_0x577491(0x47d)]){const _0x123eb3=_0x7f6304[_0x577491(0x24b)];this['_fetchMissChangesets'](_0x123eb3)[_0x577491(0x477)](_0x11b203=>{const _0x9d1ecf=_0x577491;_0x56a8fa[_0x9d1ecf(0x25d)]({'cmd':_0x360af6[_0x9d1ecf(0x312)],'code':_0x535ff4['OK'],'routeKey':_0x123eb3[_0x9d1ecf(0x24b)][_0x9d1ecf(0x239)],'routeType':'','data':{'eventID':_0x55cc56[_0x9d1ecf(0xf4)][_0x9d1ecf(0x1b9)],'data':{'changesets':_0x11b203}}});})[_0x577491(0x37a)](_0x39dfad=>{const _0x145868=_0x577491;this['_logService'][_0x145868(0x37d)](_0x39dfad),_0x3664da();});return;}}_0x2503b8[_0x577491(0x31c)](_0x2d1c74(_0x7f6304));},'close':()=>{const _0x16e6e1=_0x88f0de;_0x2503b8[_0x16e6e1(0x34e)](),_0x354ad9[_0x16e6e1(0x320)]();}},_0x38d7bf;}async['_submitChangeset'](_0x315386,_0x4f4fd1){const _0xa47fd4=_0x144fb0;var _0x5a59dd,_0x4ad031;const {unitType:_0x392d9a,unitID:_0x4bf2fb,changeset:_0x36580b}=_0x4f4fd1[_0xa47fd4(0x24b)],_0x5500aa={'unitID':_0x4bf2fb,'memberID':_0x315386['memberID'],'type':_0x392d9a,'changeset':_0x55cc56[_0xa47fd4(0x4b8)](_0x36580b)},_0x368f0b=this[_0xa47fd4(0x283)][_0xa47fd4(0x27c)](_0x546840),_0x409f29=this[_0xa47fd4(0x283)]['getConfig'](_0x53057b),_0x8c9bf0=_0x4c0dff((_0x4ad031=(_0x5a59dd=_0x409f29==null?void 0x0:_0x409f29[_0xa47fd4(0x2d8)])!=null?_0x5a59dd:_0x368f0b)!=null?_0x4ad031:_0xa3e801,_0x392d9a,_0x4bf2fb);try{await this[_0xa47fd4(0xf5)][_0xa47fd4(0x194)](_0x8c9bf0,{'body':_0x5500aa});}catch(_0x3322c2){throw this[_0xa47fd4(0x414)][_0xa47fd4(0x37d)](_0xa47fd4(0x32f),_0xa47fd4(0x375)),_0x3322c2;}}async[_0x144fb0(0x416)](_0x1c190b){const _0x3283e9=_0x144fb0,{unitID:_0x51953f,from:_0x5e0eca,to:_0xe276aa,unitType:_0x467e0e}=_0x1c190b[_0x3283e9(0x24b)];return(await this[_0x3283e9(0x158)]['fetchMissingChangesets']({'metadata':void 0x0},{'unitID':_0x51953f,'type':_0x467e0e,'from':_0x5e0eca,'to':_0xe276aa}))[_0x3283e9(0x316)];}},_0x4c8f94[_0x144fb0(0xec)]=_0x1d5d6c([_0x1f3355(0x0,_0x20df93[_0x144fb0(0xdd)](_0x581b3b[_0x144fb0(0x1d2)])),_0x1f3355(0x1,_0x20df93[_0x144fb0(0xdd)](_0x581b3b[_0x144fb0(0x470)])),_0x1f3355(0x2,_0x20df93[_0x144fb0(0x247)]),_0x1f3355(0x3,_0x20df93[_0x144fb0(0x1a2)]),_0x1f3355(0x4,_0x55cc56[_0x144fb0(0x449)])],_0x4c8f94[_0x144fb0(0xec)]);const _0x4ca916=_0x144fb0(0x41d);function _0x4edee0(_0xf1a9a6){const _0x4c1307=_0x144fb0;return JSON[_0x4c1307(0x277)](_0xf1a9a6)['length'];}class _0x2d13b9{constructor(){const _0x631508=_0x144fb0;_0x3e782f(this,'_commentUpdate$',new _0x284d0[(_0x631508(0x12d))]()),_0x3e782f(this,_0x631508(0x231),this[_0x631508(0x1dc)][_0x631508(0x17e)]());}['onCommentUpdate'](_0x43db49){const _0x385d0f=_0x144fb0;this['_commentUpdate$'][_0x385d0f(0x25d)](_0x43db49);}}var _0x36dca0=Object[_0x144fb0(0x395)],_0x6fcddb=Object[_0x144fb0(0x457)],_0x4a5349=(_0x36050b,_0x134a15,_0x58e2d8,_0x22d4ea)=>{const _0x119772=_0x144fb0;for(var _0x1a69ff=_0x22d4ea>0x1?void 0x0:_0x22d4ea?_0x6fcddb(_0x134a15,_0x58e2d8):_0x134a15,_0x201d9f=_0x36050b[_0x119772(0x118)]-0x1,_0x5a5f5b;_0x201d9f>=0x0;_0x201d9f--)(_0x5a5f5b=_0x36050b[_0x201d9f])&&(_0x1a69ff=(_0x22d4ea?_0x5a5f5b(_0x134a15,_0x58e2d8,_0x1a69ff):_0x5a5f5b(_0x1a69ff))||_0x1a69ff);return _0x22d4ea&&_0x1a69ff&&_0x36dca0(_0x134a15,_0x58e2d8,_0x1a69ff),_0x1a69ff;},_0x2bfd12=(_0x323b0c,_0x1a92b1)=>(_0x201cd6,_0x410610)=>_0x1a92b1(_0x201cd6,_0x410610,_0x323b0c);let _0x513006=class extends _0x20df93[_0x144fb0(0x343)]{constructor(_0x3f713b,_0x4be1ca){const _0x23cfa9=_0x144fb0;super(),_0x3e782f(this,_0x23cfa9(0x2f0),new Map()),(this[_0x23cfa9(0xc8)]=_0x3f713b,this[_0x23cfa9(0x38c)]=_0x4be1ca,this[_0x23cfa9(0x397)](_0x20df93[_0x23cfa9(0x2cc)](_0x284d0['merge'](this[_0x23cfa9(0xc8)][_0x23cfa9(0x1a1)](_0x20df93['UniverInstanceType'][_0x23cfa9(0x4bf)])[_0x23cfa9(0x34d)](_0x3e7ea3[_0x23cfa9(0x296)](_0x1e4ce4=>_0x1e4ce4[_0x23cfa9(0x1fd)]())),this['_univerInstanceService'][_0x23cfa9(0x1a1)](_0x20df93[_0x23cfa9(0x441)][_0x23cfa9(0x126)])[_0x23cfa9(0x34d)](_0x3e7ea3[_0x23cfa9(0x296)](_0x55819b=>_0x55819b[_0x23cfa9(0x1fd)]())),this['_univerInstanceService'][_0x23cfa9(0x1a1)](_0x20df93[_0x23cfa9(0x441)][_0x23cfa9(0x3c0)])[_0x23cfa9(0x34d)](_0x3e7ea3['map'](_0x2bf633=>_0x2bf633[_0x23cfa9(0x1fd)]())))[_0x23cfa9(0xda)](_0x337113=>this[_0x23cfa9(0x3ed)](_0x337113)))));}[_0x144fb0(0x1a8)](_0x4a8911){const _0x324697=_0x144fb0;this[_0x324697(0x38c)]['setCurrentUser'](_0x4a8911);}['getCurrentUser'](){const _0x3052b3=_0x144fb0;return this[_0x3052b3(0x38c)][_0x3052b3(0x411)]();}[_0x144fb0(0x3b9)](_0x5c5c91,_0x4c1dcf){const _0x494e1d=_0x144fb0;let _0x5e52c7=this[_0x494e1d(0x2f0)]['get'](_0x5c5c91);_0x5e52c7||(_0x5e52c7=new _0x52019b(),this[_0x494e1d(0x2f0)][_0x494e1d(0x271)](_0x5c5c91,_0x5e52c7)),_0x5e52c7[_0x494e1d(0x3b9)](_0x4c1dcf);}[_0x144fb0(0x280)](_0xc80015,_0x1736c3){const _0x3c60c9=_0x144fb0,_0x4d0466=this['_roomMembers'][_0x3c60c9(0x3b8)](_0xc80015);_0x4d0466&&_0x4d0466['removeMember'](_0x1736c3);}['getRoom'](_0x3b4abf){const _0x549e49=_0x144fb0;return this[_0x549e49(0x2f0)]['get'](_0x3b4abf);}[_0x144fb0(0x93)](_0x3b0006,_0x13e39b){const _0x4fe92e=_0x144fb0,_0x5afdc7=this[_0x4fe92e(0x2f0)][_0x4fe92e(0x3b8)](_0x3b0006);if(_0x5afdc7)return _0x5afdc7[_0x4fe92e(0x93)](_0x13e39b);}['_removeRoom'](_0xd1c992){const _0x40090c=_0x144fb0,_0x482b35=this['_roomMembers'][_0x40090c(0x3b8)](_0xd1c992);_0x482b35&&(_0x482b35[_0x40090c(0x320)](),this[_0x40090c(0x2f0)]['delete'](_0xd1c992));}[_0x144fb0(0x320)](){const _0x45af9e=_0x144fb0;this['_roomMembers'][_0x45af9e(0x478)](_0x434eed=>_0x434eed[_0x45af9e(0x320)]()),this[_0x45af9e(0x2f0)][_0x45af9e(0xb4)]();}};_0x513006=_0x4a5349([_0x2bfd12(0x0,_0x20df93['IUniverInstanceService']),_0x2bfd12(0x1,_0x20df93['Inject'](_0x20df93[_0x144fb0(0x49c)]))],_0x513006);class _0x52019b extends _0x20df93[_0x144fb0(0x343)]{constructor(){const _0x475173=_0x144fb0;super(...arguments),_0x3e782f(this,_0x475173(0x42d),new Map());}[_0x144fb0(0x320)](){const _0xd40c4b=_0x144fb0;this['_members'][_0xd40c4b(0xb4)]();}[_0x144fb0(0x3b9)](_0x1163c3){const _0x4ab0bc=_0x144fb0;this[_0x4ab0bc(0x42d)][_0x4ab0bc(0x271)](_0x1163c3[_0x4ab0bc(0x173)],_0x1163c3);}[_0x144fb0(0x280)](_0x5922e0){const _0x1cabcf=_0x144fb0;this[_0x1cabcf(0x42d)][_0x1cabcf(0x32d)](_0x5922e0);}[_0x144fb0(0x93)](_0x306614){const _0x194c98=_0x144fb0;return this[_0x194c98(0x42d)][_0x194c98(0x3b8)](_0x306614);}}var _0x3616b3=Object['defineProperty'],_0x15632b=Object['getOwnPropertyDescriptor'],_0x107985=(_0x466821,_0x2d022e,_0x5b7248,_0x3e599d)=>{for(var _0x54156f=_0x3e599d>0x1?void 0x0:_0x3e599d?_0x15632b(_0x2d022e,_0x5b7248):_0x2d022e,_0x5babda=_0x466821['length']-0x1,_0xdc89d9;_0x5babda>=0x0;_0x5babda--)(_0xdc89d9=_0x466821[_0x5babda])&&(_0x54156f=(_0x3e599d?_0xdc89d9(_0x2d022e,_0x5b7248,_0x54156f):_0xdc89d9(_0x54156f))||_0x54156f);return _0x3e599d&&_0x54156f&&_0x3616b3(_0x2d022e,_0x5b7248,_0x54156f),_0x54156f;},_0x17aa41=(_0x22c98b,_0x13245e)=>(_0x4711a0,_0xfc9967)=>_0x13245e(_0x4711a0,_0xfc9967,_0x22c98b),_0x4d48e1=(_0x59bcbb=>(_0x59bcbb[_0x59bcbb[_0x144fb0(0x1d7)]=0x0]=_0x144fb0(0x1d7),_0x59bcbb[_0x59bcbb[_0x144fb0(0x37f)]=0x1]=_0x144fb0(0x37f),_0x59bcbb[_0x59bcbb['OFFLINE']=0x2]=_0x144fb0(0x2d5),_0x59bcbb[_0x59bcbb[_0x144fb0(0x16b)]=0x3]=_0x144fb0(0x16b),_0x59bcbb))(_0x4d48e1||{});_0x4c8f94['CollaborationSession']=class extends _0x20df93[_0x144fb0(0x330)]{constructor(_0x339a8b,_0x1db55b,_0x22fc74,_0x527125,_0xd7a384,_0x3fc79e,_0x2d8b31,_0x199426,_0x31e1e1,_0x107e1e){const _0x3a67cf=_0x144fb0;super(),_0x3e782f(this,_0x3a67cf(0x402),new _0x284d0['BehaviorSubject'](0x0)),_0x3e782f(this,_0x3a67cf(0x48d),this[_0x3a67cf(0x402)][_0x3a67cf(0x17e)]()),_0x3e782f(this,_0x3a67cf(0x3a5),new _0x284d0[(_0x3a67cf(0x12d))]()),_0x3e782f(this,_0x3a67cf(0x435),this[_0x3a67cf(0x3a5)][_0x3a67cf(0x17e)]()),_0x3e782f(this,_0x3a67cf(0x427)),_0x3e782f(this,_0x3a67cf(0x3ff)),_0x3e782f(this,_0x3a67cf(0x37e)),_0x3e782f(this,_0x3a67cf(0x346),!0x1),_0x3e782f(this,_0x3a67cf(0x179),null),(this['_unitID']=_0x339a8b,this[_0x3a67cf(0x414)]=_0x22fc74,this[_0x3a67cf(0xb5)]=_0x527125,this[_0x3a67cf(0x2ac)]=_0xd7a384,this[_0x3a67cf(0x283)]=_0x3fc79e,this['_localeService']=_0x2d8b31,this[_0x3a67cf(0x486)]=_0x199426,this[_0x3a67cf(0x460)]=_0x31e1e1,this[_0x3a67cf(0x333)]=_0x107e1e,this[_0x3a67cf(0x346)]=!!this['_telemetryService'],_0x1db55b['pipe'](_0x284d0[_0x3a67cf(0xa0)](this['dispose$']))['subscribe'](_0x4ff9be=>{const _0x4eb460=_0x3a67cf;var _0x2263da;typeof _0x4ff9be>'u'||(this['_socket']=_0x4ff9be,_0x4ff9be?(this[_0x4eb460(0x44a)](_0x4ff9be),this[_0x4eb460(0x3ff)]=_0x4ff9be[_0x4eb460(0x4a0)][_0x4eb460(0xda)](_0xbbeaae=>{const _0x2c495f=_0x4eb460;_0xbbeaae[_0x2c495f(0x34c)]===this[_0x2c495f(0x2fd)]&&this['_onCombEvent'](_0xbbeaae);})):(this[_0x4eb460(0x329)](),this[_0x4eb460(0x402)][_0x4eb460(0x25d)](0x2),(_0x2263da=this[_0x4eb460(0x3ff)])==null||_0x2263da[_0x4eb460(0x128)](),this[_0x4eb460(0x3ff)]=null));}),this[_0x3a67cf(0x397)](this[_0x3a67cf(0xb5)][_0x3a67cf(0x2e8)](()=>{const _0x10afca=_0x3a67cf;var _0x2dc313;(_0x2dc313=this[_0x10afca(0x427)])==null||_0x2dc313[_0x10afca(0x31c)]({'cmd':_0x360af6[_0x10afca(0x246)],'data':{'roomID':this[_0x10afca(0x2fd)]}});})));}get[_0x144fb0(0x1e7)](){const _0x30a150=_0x144fb0;return this['_sessionStatus$'][_0x30a150(0x183)]();}[_0x144fb0(0x483)](){const _0x37247b=_0x144fb0;var _0x425387,_0xd9c009;return(_0xd9c009=(_0x425387=this[_0x37247b(0x427)])==null?void 0x0:_0x425387[_0x37247b(0x173)])!=null?_0xd9c009:null;}[_0x144fb0(0x320)](){const _0x190e52=_0x144fb0;super['dispose'](),this['dispose$']['next'](),this['dispose$'][_0x190e52(0x25e)]();}['close'](){const _0x401f87=_0x144fb0;var _0x4ab8fa,_0x156c4e;this[_0x401f87(0x329)](),(_0x4ab8fa=this[_0x401f87(0x427)])==null||_0x4ab8fa[_0x401f87(0x31c)]({'cmd':_0x360af6[_0x401f87(0x246)],'data':{'roomID':this[_0x401f87(0x2fd)]}}),(_0x156c4e=this[_0x401f87(0x427)])==null||_0x156c4e[_0x401f87(0x34e)](),this[_0x401f87(0x3a5)]['complete'](),this['_sessionStatus$'][_0x401f87(0x25e)](),this[_0x401f87(0x320)]();}[_0x144fb0(0x27e)](_0x5b57c6){const _0x328944=_0x144fb0;_0x5b57c6[_0x328944(0x197)]===_0x360af6['JOIN']?this['_onJoinRoomEvent'](_0x5b57c6):_0x5b57c6['cmd']===_0x360af6[_0x328944(0x312)]&&this['_onRecvEvent'](_0x5b57c6);}[_0x144fb0(0x44a)](_0x439683){const _0x197cba=_0x144fb0;this[_0x197cba(0x402)][_0x197cba(0x25d)](0x1),_0x439683[_0x197cba(0x31c)]({'cmd':_0x360af6[_0x197cba(0x31b)],'routeKey':this[_0x197cba(0x2fd)],'routeType':'','data':{'rooms':[{'roomID':this[_0x197cba(0x2fd)]}]}});}[_0x144fb0(0x268)](_0x58fd86){const _0x96166d=_0x144fb0;var _0xd4354c;if(_0x58fd86['code']===_0x535ff4[_0x96166d(0x422)]){this[_0x96166d(0x2ac)]['show']({'type':_0x3206ad['MessageType'][_0x96166d(0x1d9)],'content':this[_0x96166d(0x208)]['t'](_0x96166d(0x1f2))}),this[_0x96166d(0x402)][_0x96166d(0x25d)](0x2);return;}this[_0x96166d(0x402)][_0x96166d(0x25d)](0x3);const _0x4bc1d8=(_0xd4354c=_0x58fd86['data']['roomInfos'][this[_0x96166d(0x2fd)]])==null?void 0x0:_0xd4354c[_0x96166d(0x369)];_0x4bc1d8&&_0x4bc1d8['forEach'](_0x19b0fc=>this[_0x96166d(0x486)][_0x96166d(0x3b9)](this[_0x96166d(0x2fd)],_0x19b0fc));}[_0x144fb0(0x234)](_0x290f2e){const _0x3f65df=_0x144fb0;try{const _0x4ced66=_0x290f2e[_0x3f65df(0x24b)];switch(_0x4ced66[_0x3f65df(0x109)]){case _0x55cc56['CollaborationEvent'][_0x3f65df(0x3af)]:this[_0x3f65df(0x242)](_0x4ced66),this[_0x3f65df(0x3a5)][_0x3f65df(0x25d)](_0x4ced66);break;case _0x55cc56[_0x3f65df(0xf4)][_0x3f65df(0x177)]:this['_onUserLeave'](_0x4ced66),this['_event$'][_0x3f65df(0x25d)](_0x4ced66);break;case _0x55cc56['CollaborationEvent'][_0x3f65df(0x244)]:this[_0x3f65df(0x42b)](),this['_clearCollaborationTimeoutTimer'](),this['_event$'][_0x3f65df(0x25d)](_0x4ced66);break;case _0x55cc56['CollaborationEvent'][_0x3f65df(0x360)]:this[_0x3f65df(0x414)][_0x3f65df(0x37d)](_0x3f65df(0x19c)+JSON['stringify'](_0x4ced66)),this[_0x3f65df(0x3a5)]['next'](_0x4ced66);break;case _0x55cc56['CollaborationEvent']['COMMENT_UPDATE']:this[_0x3f65df(0x460)][_0x3f65df(0x48c)](_0x4ced66[_0x3f65df(0x24b)]),this['_event$']['next'](_0x4ced66);break;default:this[_0x3f65df(0x3a5)][_0x3f65df(0x25d)](_0x4ced66);}}catch(_0x538996){this[_0x3f65df(0x414)][_0x3f65df(0x37d)](_0x538996,_0x290f2e);}}[_0x144fb0(0x242)](_0x1dca12){const _0x5d0524=_0x144fb0;this['_memberService'][_0x5d0524(0x3b9)](this[_0x5d0524(0x2fd)],_0x1dca12[_0x5d0524(0x24b)]);}[_0x144fb0(0x1ce)](_0x5ed030){const _0x3127c8=_0x144fb0;this[_0x3127c8(0x486)][_0x3127c8(0x280)](this['_unitID'],_0x5ed030['data'][_0x3127c8(0x173)]);}async['send'](_0x5043a2,_0x34d0b5){const _0x49acf6=_0x144fb0;if(this['sessionStatus']!==0x3||!this[_0x49acf6(0x427)])throw new Error(_0x49acf6(0x38d));try{_0x5043a2[_0x49acf6(0x109)]===_0x55cc56['CollaborationEvent'][_0x49acf6(0x24f)]&&(this[_0x49acf6(0x10d)](),this[_0x49acf6(0x113)](_0x5043a2)),this[_0x49acf6(0x427)]['send']({'cmd':_0x360af6['INGEST'],'routeKey':_0x34d0b5,'routeType':'','data':_0x5043a2});}catch(_0x5697ee){this[_0x49acf6(0x414)]['error'](_0x5697ee);}}[_0x144fb0(0x10d)](){const _0x19c144=_0x144fb0;var _0xbd3e1;this[_0x19c144(0x37e)]=window[_0x19c144(0x233)](()=>{const _0x4cd42a=_0x19c144;this[_0x4cd42a(0x37e)]=null,this[_0x4cd42a(0x2ac)]['show']({'type':_0x3206ad['MessageType']['Error'],'content':this[_0x4cd42a(0x208)]['t'](_0x4cd42a(0x44b))});},(_0xbd3e1=this[_0x19c144(0x283)][_0x19c144(0x27c)](_0x16ecf3))!=null?_0xbd3e1:0x4e20);}['_clearCollaborationTimeoutTimer'](){const _0x3bb628=_0x144fb0;this[_0x3bb628(0x37e)]&&(clearTimeout(this[_0x3bb628(0x37e)]),this[_0x3bb628(0x37e)]=null);}['_startTelemetryCollaborationNewChangeset'](_0x3d1d53){const _0x16e7cd=_0x144fb0;if(!this[_0x16e7cd(0x346)])return;const {data:_0x4e6b93}=_0x3d1d53,{unitID:_0x14a4ad,changeset:_0xca276c}=_0x4e6b93,{mutations:_0x33c3e4,type:_0x4e53fb}=_0xca276c;this[_0x16e7cd(0x179)]={'unitId':_0x14a4ad,'type':_0x4e53fb,'startTime':performance[_0x16e7cd(0x1f6)](),'stopTime':0x0,'duration':0x0,'size':_0x4edee0(_0x33c3e4)};}[_0x144fb0(0x42b)](){const _0x1ae2a6=_0x144fb0;if(this[_0x1ae2a6(0x346)]){if(!this[_0x1ae2a6(0x179)]){this[_0x1ae2a6(0x414)][_0x1ae2a6(0x37d)](_0x1ae2a6(0x32f),_0x1ae2a6(0x448));return;}this[_0x1ae2a6(0x179)][_0x1ae2a6(0x241)]=performance['now'](),this[_0x1ae2a6(0x179)]['duration']=this['_telemetryInfo'][_0x1ae2a6(0x241)]-this['_telemetryInfo'][_0x1ae2a6(0x143)],this[_0x1ae2a6(0x333)][_0x1ae2a6(0x13b)](_0x4ca916,this[_0x1ae2a6(0x179)]),this[_0x1ae2a6(0x179)]=null;}}['_throwTelemetryCollaborationNewChangeset'](){this['_telemetryInfo']=null;}},_0x4c8f94[_0x144fb0(0x235)]=_0x107985([_0x17aa41(0x2,_0x20df93[_0x144fb0(0x1a2)]),_0x17aa41(0x3,_0x40b1aa['IBeforeCloseService']),_0x17aa41(0x4,_0x40b1aa[_0x144fb0(0x3fe)]),_0x17aa41(0x5,_0x20df93['IConfigService']),_0x17aa41(0x6,_0x20df93[_0x144fb0(0xdd)](_0x20df93[_0x144fb0(0x142)])),_0x17aa41(0x7,_0x20df93[_0x144fb0(0xdd)](_0x513006)),_0x17aa41(0x8,_0x20df93['Inject'](_0x2d13b9)),_0x17aa41(0x9,_0x20df93[_0x144fb0(0x44e)](_0x54d2b5[_0x144fb0(0x23a)]))],_0x4c8f94['CollaborationSession']);var _0xd7b217=Object[_0x144fb0(0x395)],_0x1a1139=Object[_0x144fb0(0x457)],_0x5e97e1=(_0x4b3695,_0x10dbf7,_0x274041,_0x541ece)=>{const _0x5465c0=_0x144fb0;for(var _0x163f41=_0x541ece>0x1?void 0x0:_0x541ece?_0x1a1139(_0x10dbf7,_0x274041):_0x10dbf7,_0x2edf98=_0x4b3695[_0x5465c0(0x118)]-0x1,_0x2f75f7;_0x2edf98>=0x0;_0x2edf98--)(_0x2f75f7=_0x4b3695[_0x2edf98])&&(_0x163f41=(_0x541ece?_0x2f75f7(_0x10dbf7,_0x274041,_0x163f41):_0x2f75f7(_0x163f41))||_0x163f41);return _0x541ece&&_0x163f41&&_0xd7b217(_0x10dbf7,_0x274041,_0x163f41),_0x163f41;},_0x3a1e06=(_0x15d17d,_0x439b21)=>(_0x3ca2db,_0x4a3852)=>_0x439b21(_0x3ca2db,_0x4a3852,_0x15d17d);_0x4c8f94[_0x144fb0(0x491)]=class extends _0x20df93['Disposable']{constructor(_0x23ff0e,_0x58d011,_0x31b136,_0x3a8932,_0x3f6763,_0xfa4077){const _0x167b76=_0x144fb0;super(),_0x3e782f(this,'_socket$',new _0x284d0['BehaviorSubject'](void 0x0)),_0x3e782f(this,_0x167b76(0x497),this[_0x167b76(0x44f)][_0x167b76(0x17e)]()),_0x3e782f(this,_0x167b76(0x41e),null),_0x3e782f(this,'_sessions',new Map()),_0x3e782f(this,'_status$',new _0x284d0[(_0x167b76(0x237))](_0x4d48e1[_0x167b76(0x1d7)])),_0x3e782f(this,_0x167b76(0x4c2),this[_0x167b76(0x2c7)][_0x167b76(0x17e)]()),_0x3e782f(this,_0x167b76(0x1fb),!0x1),_0x3e782f(this,'_retryConnectingTimer'),_0x3e782f(this,'_retryCount',0x0),_0x3e782f(this,_0x167b76(0x2a7)),_0x3e782f(this,'_timeoutTimer'),(this[_0x167b76(0x2fc)]=_0x23ff0e,this[_0x167b76(0x208)]=_0x58d011,this[_0x167b76(0x2ac)]=_0x31b136,this[_0x167b76(0x414)]=_0x3a8932,this['_configService']=_0x3f6763,this[_0x167b76(0x3c4)]=_0xfa4077,this[_0x167b76(0x3b3)]());}get[_0x144fb0(0x427)](){const _0x20033d=_0x144fb0;return this[_0x20033d(0x44f)][_0x20033d(0x183)]();}[_0x144fb0(0x3b3)](){const _0x713295=_0x144fb0;this['_listenToOfflineEvent'](),this[_0x713295(0x45c)]();}['dispose'](){const _0x181dc5=_0x144fb0;super[_0x181dc5(0x320)](),this[_0x181dc5(0x2c1)][_0x181dc5(0x478)](_0x33dee0=>_0x33dee0[_0x181dc5(0x320)]()),this[_0x181dc5(0x2c1)]['clear'](),this[_0x181dc5(0x2c7)][_0x181dc5(0x25e)]();}async[_0x144fb0(0x24e)](_0x3031f7){const _0x34748a=_0x144fb0;if(this[_0x34748a(0x2c1)][_0x34748a(0x26d)](_0x3031f7))return this[_0x34748a(0x2c1)][_0x34748a(0x3b8)](_0x3031f7);this['_tryEnsureSocket']();const _0x30909d=this['_injector'][_0x34748a(0x2f6)](_0x4c8f94['CollaborationSession'],_0x3031f7,this[_0x34748a(0x44f)]['asObservable']());return this[_0x34748a(0x2c1)]['set'](_0x3031f7,_0x30909d),_0x30909d;}[_0x144fb0(0x328)](_0x286823){const _0xff6a2f=_0x144fb0;var _0x594f11;const _0x31f123=this[_0xff6a2f(0x2c1)]['get'](_0x286823);_0x31f123&&(this[_0xff6a2f(0x2c1)][_0xff6a2f(0x32d)](_0x286823),_0x31f123[_0xff6a2f(0x34e)]()),this[_0xff6a2f(0x2c1)][_0xff6a2f(0x332)]||(_0x594f11=this['_socket'])==null||_0x594f11[_0xff6a2f(0x34e)]();}[_0x144fb0(0x3ae)](){const _0x7ba4cf=_0x144fb0;this[_0x7ba4cf(0x1aa)]=0x0,this[_0x7ba4cf(0x485)]!=null&&(clearTimeout(this[_0x7ba4cf(0x485)]),this[_0x7ba4cf(0x485)]=null),this[_0x7ba4cf(0x1e1)]();}[_0x144fb0(0x1de)](){const _0x512c2c=_0x144fb0;var _0x349ba7,_0x23bb65;const _0x37a932=this[_0x512c2c(0x283)]['getConfig'](_0x3c9b9d),_0x45dc3d=this[_0x512c2c(0x283)][_0x512c2c(0x27c)](_0x53057b),_0x23d16c=(_0x23bb65=(_0x349ba7=_0x45dc3d==null?void 0x0:_0x45dc3d['collabWebSocketUrl'])!=null?_0x349ba7:_0x37a932)!=null?_0x23bb65:_0x6d4581,_0x5eddb8=this[_0x512c2c(0x3c4)][_0x512c2c(0x11a)](_0x23d16c);return this[_0x512c2c(0x41e)]=_0x5eddb8,_0x5eddb8;}[_0x144fb0(0x127)](){const _0x40ea6d=_0x144fb0;var _0x75cc3b,_0x2e53be;try{const _0x5b2db9=(_0x2e53be=(_0x75cc3b=this[_0x40ea6d(0x427)])!=null?_0x75cc3b:this[_0x40ea6d(0x41e)])!=null?_0x2e53be:this[_0x40ea6d(0x1de)]();if(_0x5b2db9){const _0x33ba45=_0x5b2db9[_0x40ea6d(0x31c)];_0x5b2db9[_0x40ea6d(0x31c)]=_0x1667de=>(this['_rescheduleHeartbeat'](),_0x33ba45[_0x40ea6d(0x3b5)](_0x5b2db9,[_0x1667de])),_0x5b2db9[_0x40ea6d(0x4a0)]['subscribe'](_0x375bc9=>this[_0x40ea6d(0x225)](_0x5b2db9,_0x375bc9)),_0x5b2db9[_0x40ea6d(0x148)][_0x40ea6d(0x34d)](_0x3e7ea3[_0x40ea6d(0x2c9)](0x1))[_0x40ea6d(0xda)](_0x1f870a=>this[_0x40ea6d(0x414)][_0x40ea6d(0x37d)]('[CollaborationSessionService]:\x20socket\x20error',_0x1f870a)),_0x5b2db9['open$'][_0x40ea6d(0x34d)](_0x3e7ea3[_0x40ea6d(0x2c9)](0x1))[_0x40ea6d(0xda)](()=>{const _0x1bd87e=_0x40ea6d;this[_0x1bd87e(0xd7)](_0x5b2db9);}),_0x5b2db9[_0x40ea6d(0x214)][_0x40ea6d(0x34d)](_0x3e7ea3['take'](0x1))[_0x40ea6d(0xda)](_0x5980a9=>{const _0xe76264=_0x40ea6d;this[_0xe76264(0x414)][_0xe76264(0xd6)](_0xe76264(0x13c),_0xe76264(0x379),_0x5980a9),this[_0xe76264(0x33e)]();});}}catch(_0x518eab){this[_0x40ea6d(0x414)][_0x40ea6d(0x37d)](_0x518eab),this[_0x40ea6d(0x33e)]();}}[_0x144fb0(0xd7)](_0x3fac52){const _0x5e5cb6=_0x144fb0;this[_0x5e5cb6(0x414)][_0x5e5cb6(0xd6)](_0x5e5cb6(0x13c),_0x5e5cb6(0x46c)),_0x3fac52[_0x5e5cb6(0x31c)]({'cmd':_0x360af6[_0x5e5cb6(0x1db)]}),this[_0x5e5cb6(0x2c8)]();}[_0x144fb0(0x1e6)](){const _0x542271=_0x144fb0;window['addEventListener'](_0x542271(0xfc),()=>this[_0x542271(0x25c)]());}[_0x144fb0(0x25c)](){const _0x4d0086=_0x144fb0;this['_socketReady']=!0x1,this[_0x4d0086(0x41e)]=null,this[_0x4d0086(0x2c7)][_0x4d0086(0x25d)](_0x4d48e1['OFFLINE']),this[_0x4d0086(0x44f)][_0x4d0086(0x25d)](null),this[_0x4d0086(0x1c6)](),this[_0x4d0086(0x3cf)]();}[_0x144fb0(0x33e)](){const _0x539acd=_0x144fb0;var _0x58986d;this['_onOffline'](),this[_0x539acd(0x1aa)]<((_0x58986d=this['_configService'][_0x539acd(0x27c)](_0x30e871))!=null?_0x58986d:0x3)?(this[_0x539acd(0x2ac)][_0x539acd(0x429)]({'key':_0x539acd(0x21e),'type':_0x3206ad[_0x539acd(0x43e)]['Warning'],'content':this[_0x539acd(0x208)]['t'](_0x539acd(0xd4))}),this[_0x539acd(0x1e1)]()):this[_0x539acd(0x2ac)]['show']({'key':_0x539acd(0x21e),'type':_0x3206ad['MessageType'][_0x539acd(0x290)],'content':this[_0x539acd(0x208)]['t']('session.connection-failed')});}[_0x144fb0(0x45c)](){const _0x22af28=_0x144fb0,_0x5d86c5=()=>{const _0x4c3b14=_0x205f;this[_0x4c3b14(0x427)]||this[_0x4c3b14(0x3ae)]();},_0x429d0d=()=>{const _0x39f218=_0x205f;this[_0x39f218(0x427)]||document[_0x39f218(0x1bb)]==='hidden'||this[_0x39f218(0x3ae)]();};window[_0x22af28(0x357)](_0x22af28(0x1ee),_0x5d86c5),document['addEventListener'](_0x22af28(0x14e),_0x429d0d);}[_0x144fb0(0x1e1)](){const _0x47bc01=_0x144fb0;var _0x1e6504;const _0x51d06a=this['_retryCount'],_0x4c4881=this['_configService'][_0x47bc01(0x27c)](_0x53057b),_0x516188=_0x51d06a===0x0?0x0:((_0x1e6504=_0x4c4881==null?void 0x0:_0x4c4881['retryConnectingInterval'])!=null?_0x1e6504:0x4e20)*0x2**_0x51d06a;this['_retryConnectingTimer']=window[_0x47bc01(0x233)](()=>{const _0x4d32b0=_0x47bc01;clearTimeout(this[_0x4d32b0(0x485)]),this['_retryConnectingTimer']=null,this[_0x4d32b0(0x127)]();},_0x516188),this['_retryCount']+=0x1;}['_onMessage'](_0x5cb69a,_0x41f06f){const _0x5f1523=_0x144fb0,{cmd:_0x2fb57f}=_0x41f06f;_0x2fb57f===_0x360af6[_0x5f1523(0x1db)]&&!this[_0x5f1523(0x1fb)]&&(_0x5cb69a[_0x5f1523(0x173)]=_0x41f06f[_0x5f1523(0x24b)][_0x5f1523(0x173)],this[_0x5f1523(0x44f)][_0x5f1523(0x25d)](_0x5cb69a),this['_status$']['next'](_0x4d48e1[_0x5f1523(0x16b)]),this['_socketReady']=!0x0,this['_candidateSocket']=null),_0x2fb57f===_0x360af6[_0x5f1523(0x3fd)]&&this[_0x5f1523(0x1c6)](),this[_0x5f1523(0x2c8)]();}[_0x144fb0(0x2c8)](){const _0x54a887=_0x144fb0;var _0x25a571;this[_0x54a887(0x3cf)](),this['_sendHeartbeatTimer']=window[_0x54a887(0x233)](()=>this[_0x54a887(0x415)](),(_0x25a571=this[_0x54a887(0x283)][_0x54a887(0x27c)](_0x4ffc98))!=null?_0x25a571:0x7530);}[_0x144fb0(0x415)](){const _0x31ea07=_0x144fb0;this[_0x31ea07(0x427)][_0x31ea07(0x31c)]({'cmd':_0x360af6[_0x31ea07(0x3fd)]}),this[_0x31ea07(0x119)]();}[_0x144fb0(0x119)](){const _0x242d84=_0x144fb0;var _0x349d23;this[_0x242d84(0x91)]=window[_0x242d84(0x233)](()=>this[_0x242d84(0x33e)](),(_0x349d23=this[_0x242d84(0x283)][_0x242d84(0x27c)](_0x16ecf3))!=null?_0x349d23:0x4e20);}[_0x144fb0(0x3cf)](){const _0x4e2e68=_0x144fb0;this['_sendHeartbeatTimer']!=null&&(clearTimeout(this[_0x4e2e68(0x2a7)]),this[_0x4e2e68(0x2a7)]=null);}[_0x144fb0(0x1c6)](){const _0x293a1f=_0x144fb0;this[_0x293a1f(0x91)]!=null&&(clearTimeout(this[_0x293a1f(0x91)]),this[_0x293a1f(0x91)]=null);}},_0x4c8f94[_0x144fb0(0x491)]=_0x5e97e1([_0x3a1e06(0x0,_0x20df93[_0x144fb0(0xdd)](_0x20df93['Injector'])),_0x3a1e06(0x1,_0x20df93[_0x144fb0(0xdd)](_0x20df93[_0x144fb0(0x142)])),_0x3a1e06(0x2,_0x40b1aa[_0x144fb0(0x3fe)]),_0x3a1e06(0x3,_0x20df93[_0x144fb0(0x1a2)]),_0x3a1e06(0x4,_0x20df93[_0x144fb0(0x247)]),_0x3a1e06(0x5,_0x194337)],_0x4c8f94[_0x144fb0(0x491)]);var _0x41606f=Object[_0x144fb0(0x395)],_0x433de5=Object[_0x144fb0(0x457)],_0x5a7070=(_0xec2c06,_0x31c124,_0x3fa4af,_0x495a0a)=>{const _0x412585=_0x144fb0;for(var _0x20a617=_0x495a0a>0x1?void 0x0:_0x495a0a?_0x433de5(_0x31c124,_0x3fa4af):_0x31c124,_0x310e97=_0xec2c06[_0x412585(0x118)]-0x1,_0x2d2cc9;_0x310e97>=0x0;_0x310e97--)(_0x2d2cc9=_0xec2c06[_0x310e97])&&(_0x20a617=(_0x495a0a?_0x2d2cc9(_0x31c124,_0x3fa4af,_0x20a617):_0x2d2cc9(_0x20a617))||_0x20a617);return _0x495a0a&&_0x20a617&&_0x41606f(_0x31c124,_0x3fa4af,_0x20a617),_0x20a617;},_0x1f1028=(_0x56cb26,_0x5b2a4e)=>(_0x37d7bc,_0x1faabd)=>_0x5b2a4e(_0x37d7bc,_0x1faabd,_0x56cb26);let _0x57c1cf=class{constructor(_0x7e20d3,_0x5f0003,_0x54bfe1){const _0x5a3c0e=_0x144fb0;this[_0x5a3c0e(0x2fc)]=_0x7e20d3,this[_0x5a3c0e(0x3dd)]=_0x5f0003,this[_0x5a3c0e(0x2f9)]=_0x54bfe1;}[_0x144fb0(0xa1)](_0x214703){const _0x4faaeb=_0x144fb0;this[_0x4faaeb(0x3a0)](_0x214703),this[_0x4faaeb(0xb6)](_0x214703);}[_0x144fb0(0x418)](_0x461f88){const _0xfcea0d=_0x144fb0,{unitID:_0x2895a0}=_0x461f88,_0x52ef49=this[_0xfcea0d(0x2f9)][_0xfcea0d(0x468)](_0x2895a0)[_0xfcea0d(0x8b)](_0x3b39ef['DocIMEInputManagerService']),{redoCache:_0x1b97f0}=_0x52ef49[_0xfcea0d(0x30b)]();if(_0x1b97f0[_0xfcea0d(0x118)]===0x0)return _0x461f88;let _0x38f67e=_0x20df93[_0xfcea0d(0x1c4)][_0xfcea0d(0x200)](_0x461f88[_0xfcea0d(0x366)][0x0]);for(let _0x56d24d=0x0;_0x56d24d<_0x1b97f0[_0xfcea0d(0x118)];_0x56d24d++){const _0x1c641f={'id':_0xfcea0d(0xbb),'params':{..._0x1b97f0[_0x56d24d]}},_0x516417=this[_0xfcea0d(0x3dd)][_0xfcea0d(0x469)](_0x38f67e,_0x1c641f,!0x1);if(_0x55cc56[_0xfcea0d(0x387)](_0x516417))throw _0x516417['error'];_0x38f67e=_0x516417[_0xfcea0d(0x189)];}return{..._0x20df93[_0xfcea0d(0x1c4)][_0xfcea0d(0x200)](_0x461f88),'mutations':[_0x38f67e]};}[_0x144fb0(0x3a0)](_0x4e30cf){const _0x272453=_0x144fb0,{unitID:_0x23bac7}=_0x4e30cf,_0x536310=this[_0x272453(0x2f9)][_0x272453(0x468)](_0x23bac7)[_0x272453(0x8b)](_0x3b39ef['DocIMEInputManagerService']),{undoCache:_0x539302,redoCache:_0x18cceb}=_0x536310['getUndoRedoMutationParamsCache']();if(_0x539302['length']===0x0||_0x18cceb[_0x272453(0x118)]===0x0)return;const _0x5f009e=[],_0x20dc90=[];let _0x4e34d3=_0x20df93['Tools'][_0x272453(0x200)](_0x4e30cf[_0x272453(0x366)][0x0]),_0x1fe011=_0x20df93[_0x272453(0x1c4)]['deepClone'](_0x4e30cf[_0x272453(0x366)][0x0]);for(let _0x4e7604=_0x539302['length']-0x1;_0x4e7604>=0x0;_0x4e7604--){const _0x129931={'id':'doc.mutation.rich-text-editing','params':{..._0x539302[_0x4e7604]}},_0x561031={'id':'doc.mutation.rich-text-editing','params':{..._0x18cceb[_0x4e7604]}},_0x584d17=this[_0x272453(0x3dd)][_0x272453(0x469)](_0x4e34d3,_0x129931,!0x1),_0x670229=this[_0x272453(0x3dd)]['transformMutation'](_0x1fe011,_0x561031,!0x1);if(_0x55cc56[_0x272453(0x387)](_0x584d17))throw _0x584d17[_0x272453(0x37d)];if(_0x55cc56['isTransformMutationFailure'](_0x670229))throw _0x670229[_0x272453(0x37d)];_0x5f009e['unshift'](_0x584d17[_0x272453(0x171)][_0x272453(0xa3)]),_0x20dc90[_0x272453(0x92)](_0x670229[_0x272453(0x171)][_0x272453(0xa3)]),_0x4e34d3=_0x584d17[_0x272453(0x189)],_0x1fe011=_0x670229[_0x272453(0x189)];}_0x536310[_0x272453(0x22a)]({'undoCache':_0x5f009e,'redoCache':_0x20dc90});}[_0x144fb0(0xb6)](_0x1d7531){const _0x3ea6ce=_0x144fb0,{unitID:_0xd39cfa}=_0x1d7531,_0x35d8ba=this[_0x3ea6ce(0x2f9)]['getRenderById'](_0xd39cfa)[_0x3ea6ce(0x8b)](_0x3b39ef['DocIMEInputManagerService']),_0x1966b2=_0x35d8ba[_0x3ea6ce(0x1d6)]();if(_0x1966b2==null)return;const _0x495c86=[{'id':_0x3ea6ce(0xbb),'params':{'unitId':_0x1d7531[_0x3ea6ce(0x239)],'actions':null,'textRanges':[_0x1966b2]}}],_0x4bcc58=this[_0x3ea6ce(0x3dd)]['transformMutationsWithChangeset'](_0x1d7531,_0x495c86);if(!_0x55cc56[_0x3ea6ce(0x436)](_0x4bcc58))throw _0x4bcc58[_0x3ea6ce(0x37d)];const _0x3552ef=_0x4bcc58[_0x3ea6ce(0x171)][0x0][_0x3ea6ce(0xa3)][_0x3ea6ce(0x14f)];Array[_0x3ea6ce(0x130)](_0x3552ef)&&_0x3552ef[_0x3ea6ce(0x118)]&&_0x35d8ba[_0x3ea6ce(0x2a8)](_0x3552ef[0x0]);}};_0x57c1cf=_0x5a7070([_0x1f1028(0x0,_0x20df93[_0x144fb0(0xdd)](_0x20df93[_0x144fb0(0x394)])),_0x1f1028(0x1,_0x55cc56[_0x144fb0(0x1bd)]),_0x1f1028(0x2,_0x1ff35a[_0x144fb0(0x310)])],_0x57c1cf);var _0x42022a=Object[_0x144fb0(0x395)],_0x259491=Object[_0x144fb0(0x457)],_0x2d0945=(_0x169bf1,_0x596778,_0x1406c2,_0x418e1d)=>{const _0x3be2dd=_0x144fb0;for(var _0x4de9cd=_0x418e1d>0x1?void 0x0:_0x418e1d?_0x259491(_0x596778,_0x1406c2):_0x596778,_0x11cdb0=_0x169bf1[_0x3be2dd(0x118)]-0x1,_0x23510c;_0x11cdb0>=0x0;_0x11cdb0--)(_0x23510c=_0x169bf1[_0x11cdb0])&&(_0x4de9cd=(_0x418e1d?_0x23510c(_0x596778,_0x1406c2,_0x4de9cd):_0x23510c(_0x4de9cd))||_0x4de9cd);return _0x418e1d&&_0x4de9cd&&_0x42022a(_0x596778,_0x1406c2,_0x4de9cd),_0x4de9cd;},_0x52e744=(_0x2914c1,_0x1813f1)=>(_0x3266f7,_0x338bac)=>_0x1813f1(_0x3266f7,_0x338bac,_0x2914c1);_0x4c8f94[_0x144fb0(0x309)]=class extends _0x20df93[_0x144fb0(0x343)]{constructor(_0x34d4d5,_0xd124fe,_0x576cc9,_0x4222da,_0xc94ee){const _0xeeeee7=_0x144fb0;super(),_0x3e782f(this,_0xeeeee7(0x137),new Map()),_0x3e782f(this,'_saveTaskMap',new Map()),_0x3e782f(this,'_disabled',!0x1),(this[_0xeeeee7(0x283)]=_0x34d4d5,this['_localStorageService']=_0xd124fe,this[_0xeeeee7(0xb5)]=_0x576cc9,this[_0xeeeee7(0x208)]=_0x4222da,this[_0xeeeee7(0x3da)]=_0xc94ee,this[_0xeeeee7(0x149)]());}['disableLocalCache'](){const _0x4cf6a4=_0x144fb0;this[_0x4cf6a4(0x4a1)]=!0x0;}[_0x144fb0(0x17f)](){this['_disabled']=!0x1;}[_0x144fb0(0x320)](){const _0x38be92=_0x144fb0;this['exhaustSavingTask']()[_0x38be92(0x477)](()=>super['dispose']());}async[_0x144fb0(0x19f)](_0x46bcc5){const _0x456fa5=_0x144fb0;return this[_0x456fa5(0x4a1)]?null:this[_0x456fa5(0x356)][_0x456fa5(0x492)](_0x4e6216(_0x46bcc5));}async['saveOfflineData'](_0x269e5c,_0x5bf1a6){const _0x4e67c9=_0x144fb0;return!!this[_0x4e67c9(0x356)][_0x4e67c9(0x352)](_0x269e5c,_0x5bf1a6);}[_0x144fb0(0x1f9)](_0x48ef59,_0x4ae530,_0x78b834,_0x36a1ae){const _0x404f59=_0x144fb0,_0x167e4e=this[_0x404f59(0x3da)][_0x404f59(0x306)](_0x48ef59);this[_0x404f59(0x137)]['set'](_0x48ef59,{'unitID':_0x48ef59,'type':_0x4ae530,'awaitingChangeset':_0x78b834,'mutations':_0x36a1ae,'rev':_0x167e4e}),this['_saveTaskMap'][_0x404f59(0x26d)](_0x48ef59)||this['_scheduleSaving'](_0x48ef59);}[_0x144fb0(0x117)](_0x49dee9){const _0x462972=_0x144fb0,_0x5b2e92=this[_0x462972(0x371)]();_0x5b2e92===0x0?this[_0x462972(0xe8)](_0x49dee9):this[_0x462972(0x124)]['set'](_0x49dee9,setTimeout(()=>this[_0x462972(0xe8)](_0x49dee9),_0x5b2e92));}['_getSaveTimeout'](){const _0x665233=_0x144fb0;var _0x149604;return(_0x149604=this[_0x665233(0x283)][_0x665233(0x27c)](_0x1a11f9))!=null?_0x149604:0x3e8;}['_saveCache'](_0x2b3225){const _0x1f8f30=_0x144fb0,_0xe386c4=this[_0x1f8f30(0x124)]['get'](_0x2b3225);return _0xe386c4!==void 0x0&&window[_0x1f8f30(0x499)](_0xe386c4),this[_0x1f8f30(0x356)][_0x1f8f30(0x352)](_0x4e6216(_0x2b3225),this['_cachedData'][_0x1f8f30(0x3b8)](_0x2b3225))[_0x1f8f30(0x477)](()=>this['_saveTaskMap'][_0x1f8f30(0x32d)](_0x2b3225));}async[_0x144fb0(0x291)](){const _0x3d6149=_0x144fb0,_0x59d6a4=[];this['_saveTaskMap'][_0x3d6149(0x478)]((_0x126dda,_0x40defb)=>{const _0x2e7850=_0x3d6149;window[_0x2e7850(0x499)](_0x126dda),_0x59d6a4['push'](this['_saveCache'](_0x40defb)[_0x2e7850(0x477)](()=>{const _0x30ca49=_0x2e7850;this[_0x30ca49(0x124)]['delete'](_0x40defb);}));}),await Promise[_0x3d6149(0x261)](_0x59d6a4);}[_0x144fb0(0x149)](){const _0x21997d=_0x144fb0;this[_0x21997d(0x397)](this[_0x21997d(0xb5)][_0x21997d(0x28d)](()=>{const _0x835bd8=_0x21997d;if(this[_0x835bd8(0x124)][_0x835bd8(0x332)])return this[_0x835bd8(0x208)]['t'](_0x835bd8(0x434));}));}},_0x4c8f94[_0x144fb0(0x309)]=_0x2d0945([_0x52e744(0x0,_0x20df93[_0x144fb0(0x247)]),_0x52e744(0x1,_0x20df93[_0x144fb0(0x39b)]),_0x52e744(0x2,_0x40b1aa[_0x144fb0(0x4aa)]),_0x52e744(0x3,_0x20df93[_0x144fb0(0xdd)](_0x20df93[_0x144fb0(0x142)])),_0x52e744(0x4,_0x20df93[_0x144fb0(0xdd)](_0x55cc56['RevisionService']))],_0x4c8f94[_0x144fb0(0x309)]);function _0x4e6216(_0x323508){const _0x3fec98=_0x144fb0;return _0x3fec98(0x10c)+_0x323508;}var _0x36203a=Object[_0x144fb0(0x395)],_0x28bed0=Object['getOwnPropertyDescriptor'],_0x5346ba=(_0x3c45af,_0x1e5a8f,_0x59d943,_0x470666)=>{for(var _0x3be351=_0x470666>0x1?void 0x0:_0x470666?_0x28bed0(_0x1e5a8f,_0x59d943):_0x1e5a8f,_0x5c0d4f=_0x3c45af['length']-0x1,_0x407781;_0x5c0d4f>=0x0;_0x5c0d4f--)(_0x407781=_0x3c45af[_0x5c0d4f])&&(_0x3be351=(_0x470666?_0x407781(_0x1e5a8f,_0x59d943,_0x3be351):_0x407781(_0x3be351))||_0x3be351);return _0x470666&&_0x3be351&&_0x36203a(_0x1e5a8f,_0x59d943,_0x3be351),_0x3be351;},_0x19640e=(_0x19ed08,_0x48d9f4)=>(_0x3d1cf7,_0x417120)=>_0x48d9f4(_0x3d1cf7,_0x417120,_0x19ed08);function _0x3d6113(_0x361437){const _0x241a68=_0x144fb0,{unitID:_0x3e5ab5,mutations:_0xb95c5d}=_0x361437;return{'unitId':_0x3e5ab5,'subUnitId':_0xb95c5d[0x0][_0x241a68(0xa3)][_0x241a68(0x248)]};}let _0x44b9f8=class{constructor(_0x5528cd,_0x3c340,_0x51fb68){const _0x15cb50=_0x144fb0;this[_0x15cb50(0x2fc)]=_0x5528cd,this[_0x15cb50(0x3dd)]=_0x3c340,this['_instanceService']=_0x51fb68;}[_0x144fb0(0x444)](_0x2251c5){const _0x4e7f95=_0x144fb0;var _0x3b9d15,_0x28811b,_0x316c2e,_0x149751;const _0x1c9a04=this[_0x4e7f95(0x2fc)]['get'](_0x5dce24[_0x4e7f95(0x205)]),{unitId:_0x346a10,subUnitId:_0x2136c3}=_0x3d6113(_0x2251c5),_0xa5f302=_0x1c9a04[_0x4e7f95(0x1c2)](_0x346a10)['getCurrentSelections'](),_0x2ee500=(_0x28811b=(_0x3b9d15=this[_0x4e7f95(0x27d)][_0x4e7f95(0x3c3)](_0x346a10))==null?void 0x0:_0x3b9d15[_0x4e7f95(0x112)]())==null?void 0x0:_0x28811b[_0x4e7f95(0x3c9)]();if(_0xa5f302[_0x4e7f95(0x118)]===0x0||!_0x346a10||!_0x2136c3)return;const _0x3207bd=[{'id':_0x5dce24['SetSelectionsOperation']['id'],'params':{'unitId':_0x346a10,'subUnitId':_0x2ee500,'selections':_0x20df93[_0x4e7f95(0x1c4)][_0x4e7f95(0x200)](_0xa5f302)}}],_0x2ea90a=this['_transformService'][_0x4e7f95(0x40d)](_0x2251c5,_0x3207bd);if(!_0x55cc56[_0x4e7f95(0x436)](_0x2ea90a))throw _0x2ea90a[_0x4e7f95(0x37d)];const _0x317474=(_0x149751=(_0x316c2e=_0x2ea90a['m2Prime'][0x0])==null?void 0x0:_0x316c2e[_0x4e7f95(0xa3)])==null?void 0x0:_0x149751[_0x4e7f95(0x3a2)];Array[_0x4e7f95(0x130)](_0x317474)&&_0x317474[_0x4e7f95(0x118)]&&this[_0x4e7f95(0x2fc)][_0x4e7f95(0x3b8)](_0x20df93[_0x4e7f95(0x338)])[_0x4e7f95(0x1fe)](_0x5dce24['SetSelectionsOperation']['id'],{'unitId':_0x346a10,'subUnitId':_0x2ee500,'selections':_0x317474});}};_0x44b9f8=_0x5346ba([_0x19640e(0x0,_0x20df93[_0x144fb0(0xdd)](_0x20df93['Injector'])),_0x19640e(0x1,_0x55cc56[_0x144fb0(0x1bd)]),_0x19640e(0x2,_0x20df93['IUniverInstanceService'])],_0x44b9f8);const _0x3977df=_0x20df93[_0x144fb0(0x4be)](_0x144fb0(0x150));var _0x4b0976=(_0x2395f0=>(_0x2395f0[_0x2395f0[_0x144fb0(0x396)]=0x0]=_0x144fb0(0x396),_0x2395f0[_0x2395f0[_0x144fb0(0xb9)]=0x1]=_0x144fb0(0xb9),_0x2395f0))(_0x4b0976||{});const _0x38a4d4=0x7530,_0x2a1472=_0x144fb0(0x9a);class _0x4e8c93 extends _0x20df93[_0x144fb0(0x343)]{constructor(){const _0x3ff4b7=_0x144fb0;super(),_0x3e782f(this,_0x3ff4b7(0x3d8),_0x20df93[_0x3ff4b7(0x1c4)][_0x3ff4b7(0xd9)]()),_0x3e782f(this,'_selfUnitIDs',new Set()),_0x3e782f(this,_0x3ff4b7(0x4d0),new Map()),_0x3e782f(this,_0x3ff4b7(0x14a),null),_0x3e782f(this,'_clearOtherTimers',new Map()),_0x3e782f(this,_0x3ff4b7(0xf7),new Map()),this[_0x3ff4b7(0x198)]();}[_0x144fb0(0x320)](){const _0x5e8b7a=_0x144fb0;super[_0x5e8b7a(0x320)](),this[_0x5e8b7a(0x26b)][_0x5e8b7a(0x478)]((_0x55ffdc,_0x1a4e65)=>this[_0x5e8b7a(0x41b)](_0x1a4e65)),this['_heartbeatTimer']&&window['clearInterval'](this[_0x5e8b7a(0x14a)]);}[_0x144fb0(0x249)](_0x421d39){const _0x264ba9=_0x144fb0;return this[_0x264ba9(0x3b1)](_0x421d39)[_0x264ba9(0x34d)](_0x284d0[_0x264ba9(0xe7)]());}[_0x144fb0(0x38e)](_0x2d4a40){const _0x3143f1=_0x144fb0;this[_0x3143f1(0x170)][_0x3143f1(0x332)]===0x0&&this['_scheduleHeartbeat'](),this[_0x3143f1(0x170)][_0x3143f1(0x4bc)](_0x2d4a40),this[_0x3143f1(0x2e1)]({'type':0x0,'memberID':this[_0x3143f1(0x3d8)],'unitIDs':[_0x2d4a40],'isForwarded':!0x1});}[_0x144fb0(0x1c5)](_0x5b1f9c){const _0x1dbcc7=_0x144fb0;this['_selfUnitIDs'][_0x1dbcc7(0x32d)](_0x5b1f9c),this['_selfUnitIDs'][_0x1dbcc7(0x332)]===0x0&&this[_0x1dbcc7(0x14a)]&&window[_0x1dbcc7(0x40e)](this[_0x1dbcc7(0x14a)]);}[_0x144fb0(0x198)](){const _0x233d60=_0x144fb0;this[_0x233d60(0x397)](_0x20df93[_0x233d60(0x2cc)](_0x284d0[_0x233d60(0x341)](window,_0x233d60(0x122))[_0x233d60(0xda)](_0x3c047d=>{const _0x28391e=_0x233d60;if(_0x3c047d[_0x28391e(0x4b2)]!==_0x2a1472||!_0x3c047d[_0x28391e(0x335)])return;const _0x3f8b17=JSON['parse'](_0x3c047d[_0x28391e(0x335)]);this[_0x28391e(0x3ef)](_0x3f8b17);}))),window[_0x233d60(0x357)]('unload',()=>this[_0x233d60(0x2e1)]({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0x233d60(0xc2)](this[_0x233d60(0x170)])}));}['_handleEvent'](_0x458f51){const _0x18de1f=_0x144fb0;switch(_0x458f51[_0x18de1f(0x2e4)]){case 0x0:this[_0x18de1f(0x398)](_0x458f51);break;case 0x1:this['_handleLeaveEvent'](_0x458f51);break;case 0x2:this[_0x18de1f(0x146)](_0x458f51);break;}}[_0x144fb0(0x398)](_0x592685){const _0x148251=_0x144fb0,{unitIDs:_0x1ae5a2,memberID:_0x442521,isForwarded:_0x34a660}=_0x592685;_0x1ae5a2[_0x148251(0x478)](_0x1c2121=>{const _0x1101f2=_0x148251;if(!_0x34a660&&this[_0x1101f2(0x4d0)][_0x1101f2(0x26d)](_0x1c2121)&&this[_0x1101f2(0x3b1)](_0x1c2121)[_0x1101f2(0x25d)](0x1),!this[_0x1101f2(0x4d0)]['has'](_0x1c2121)||!this[_0x1101f2(0x4d0)]['get'](_0x1c2121)[_0x1101f2(0x26d)](_0x442521)){const _0x1ca759=this['_unitOnClients'][_0x1101f2(0x3b8)](_0x1c2121)||new Set();_0x1ca759[_0x1101f2(0x4bc)](_0x442521),this[_0x1101f2(0x4d0)][_0x1101f2(0x271)](_0x1c2121,_0x1ca759),this['_scheduleClearOtherTimer'](_0x442521);}}),_0x34a660||this[_0x148251(0x2e1)]({'type':0x0,'memberID':this[_0x148251(0x3d8)],'unitIDs':[...this[_0x148251(0x170)]],'isForwarded':!0x0});}[_0x144fb0(0x26f)](_0x4292a3){const _0x5a5831=_0x144fb0;this[_0x5a5831(0x41b)](_0x4292a3);const _0x5530d3=window[_0x5a5831(0x233)](()=>{const _0x556307=_0x5a5831;this[_0x556307(0x4d0)][_0x556307(0x478)](_0x7bd165=>{_0x7bd165['delete'](_0x4292a3);});},_0x38a4d4*0x2);this[_0x5a5831(0x26b)]['set'](_0x4292a3,_0x5530d3);}[_0x144fb0(0x41b)](_0x522dd2){const _0x175ef2=_0x144fb0;if(this[_0x175ef2(0x26b)][_0x175ef2(0x26d)](_0x522dd2)){const _0x17ea2c=this[_0x175ef2(0x26b)][_0x175ef2(0x3b8)](_0x522dd2);_0x17ea2c&&window[_0x175ef2(0x499)](_0x17ea2c),this['_clearOtherTimers'][_0x175ef2(0x271)](_0x522dd2,null);}}[_0x144fb0(0x433)](_0x7bcc7){const _0x271750=_0x144fb0,{memberID:_0x8d4e57,unitIDs:_0x33b15d}=_0x7bcc7;_0x33b15d[_0x271750(0x478)](_0x2258ce=>{const _0x404db8=_0x271750;var _0x37eada;const _0x51ef96=this[_0x404db8(0x4d0)][_0x404db8(0x3b8)](_0x2258ce);_0x51ef96&&(_0x51ef96[_0x404db8(0x32d)](_0x8d4e57),(_0x37eada=this[_0x404db8(0x3b1)](_0x2258ce))==null||_0x37eada['next'](_0x51ef96[_0x404db8(0x332)]===0x0?0x0:0x1));}),this[_0x271750(0x41b)](_0x8d4e57);}[_0x144fb0(0x146)](_0xaca352){this['_scheduleClearOtherTimer'](_0xaca352['memberID']);}[_0x144fb0(0x2e1)](_0x32c198){const _0x3da8a8=_0x144fb0;localStorage[_0x3da8a8(0x352)](_0x2a1472,JSON['stringify'](_0x32c198));}[_0x144fb0(0x2a6)](){const _0x68d7a4=_0x144fb0;this[_0x68d7a4(0x14a)]=window[_0x68d7a4(0x4b3)](()=>{const _0x460048=_0x68d7a4;this[_0x460048(0x2e1)]({'type':0x2,'memberID':this['_id']});},_0x38a4d4);}[_0x144fb0(0x3b1)](_0x50997d){const _0x31e7a2=_0x144fb0;return this['_unitStatus'][_0x31e7a2(0x26d)](_0x50997d)||this[_0x31e7a2(0xf7)][_0x31e7a2(0x271)](_0x50997d,new _0x284d0['BehaviorSubject'](0x0)),this[_0x31e7a2(0xf7)][_0x31e7a2(0x3b8)](_0x50997d);}}function _0x3f4458(_0x47b606){let _0x32135e='';for(const _0x446d5b of _0x47b606){const {startOffset:_0x45623d,endOffset:_0x5c86bc,isActive:_0xdbda74}=_0x446d5b;_0x32135e['length']&&(_0x32135e+=','),_0x32135e+=_0x45623d+':'+_0x5c86bc+':'+(_0xdbda74?'1':'0');}return _0x32135e;}function _0x161949(_0x2439b3){const _0x1499a8=_0x144fb0,_0x51caba=_0x2439b3[_0x1499a8(0x1ed)](','),_0x5e55fa=[];for(const _0x540b0e of _0x51caba){const [_0x445b2d,_0x8d223f,_0x5b07b3]=_0x540b0e[_0x1499a8(0x1ed)](':');_0x5e55fa[_0x1499a8(0x20e)]({'startOffset':Number(_0x445b2d),'endOffset':Number(_0x8d223f),'collapsed':_0x445b2d===_0x8d223f,'isActive':_0x5b07b3==='1'});}return _0x5e55fa[_0x1499a8(0x38b)](_0xc2ff73=>_0xc2ff73[_0x1499a8(0x41a)])||(_0x5e55fa[0x0][_0x1499a8(0x41a)]=!0x0),_0x5e55fa;}class _0x1ab040 extends _0x20df93[_0x144fb0(0x330)]{constructor(){const _0x421e5e=_0x144fb0;super(...arguments),_0x3e782f(this,_0x421e5e(0x315),new _0x284d0['BehaviorSubject'](null)),_0x3e782f(this,_0x421e5e(0x3c2),this['_collabCursorState$']['asObservable']());}['syncEditingCollabCursor'](_0x55ac7d){const _0x3bef4b=_0x144fb0,{unitID:_0x23f105,memberID:_0x54c391,textRanges:_0x3faf70}=_0x55ac7d,_0x2a5bcb=_0x3f4458(_0x3faf70),_0x58cec9={'unitID':_0x23f105,'memberID':_0x54c391,'selection':_0x2a5bcb};this[_0x3bef4b(0x315)][_0x3bef4b(0x25d)](_0x58cec9);}}var _0x200748=Object[_0x144fb0(0x395)],_0x55e961=Object[_0x144fb0(0x457)],_0x685b19=(_0x494042,_0x40950d,_0x2910d7,_0x1a41bd)=>{const _0x1e5f26=_0x144fb0;for(var _0x3e292f=_0x1a41bd>0x1?void 0x0:_0x1a41bd?_0x55e961(_0x40950d,_0x2910d7):_0x40950d,_0x4533b7=_0x494042[_0x1e5f26(0x118)]-0x1,_0xf0bdeb;_0x4533b7>=0x0;_0x4533b7--)(_0xf0bdeb=_0x494042[_0x4533b7])&&(_0x3e292f=(_0x1a41bd?_0xf0bdeb(_0x40950d,_0x2910d7,_0x3e292f):_0xf0bdeb(_0x3e292f))||_0x3e292f);return _0x1a41bd&&_0x3e292f&&_0x200748(_0x40950d,_0x2910d7,_0x3e292f),_0x3e292f;},_0xffb6da=(_0xf9a897,_0x1ed911)=>(_0x210079,_0x3bd43c)=>_0x1ed911(_0x210079,_0x3bd43c,_0xf9a897);let _0x5d5342=class{constructor(_0x5d013f,_0x3cb73c){const _0x85085a=_0x144fb0;this[_0x85085a(0x2fc)]=_0x5d013f,this[_0x85085a(0x3dd)]=_0x3cb73c;}['transformSelections'](_0x3ebab5){const _0x3ac7e8=_0x144fb0;var _0x1060d4;const _0x1f517a=this[_0x3ac7e8(0x2fc)]['get'](_0x280e9c[_0x3ac7e8(0x4c0)]),_0x5958d9=(_0x1060d4=_0x1f517a[_0x3ac7e8(0x151)]())!=null?_0x1060d4:[];if(_0x5958d9[_0x3ac7e8(0x118)]===0x0)return;const _0x372fc4=[{'id':_0x3ac7e8(0xbb),'params':{'unitId':_0x3ebab5[_0x3ac7e8(0x239)],'actions':null,'textRanges':_0x5958d9}}],_0x25abe2=this[_0x3ac7e8(0x3dd)][_0x3ac7e8(0x40d)](_0x3ebab5,_0x372fc4);if(!_0x55cc56['isTransformMutationsWithChangesetSuccess'](_0x25abe2))throw _0x25abe2[_0x3ac7e8(0x37d)];const _0x10c295=_0x25abe2[_0x3ac7e8(0x171)][0x0][_0x3ac7e8(0xa3)][_0x3ac7e8(0x14f)];Array['isArray'](_0x10c295)&&_0x10c295[_0x3ac7e8(0x118)]&&_0x1f517a[_0x3ac7e8(0x185)](_0x10c295,!0x1);}};_0x5d5342=_0x685b19([_0xffb6da(0x0,_0x20df93['Inject'](_0x20df93[_0x144fb0(0x394)])),_0xffb6da(0x1,_0x55cc56['ITransformService'])],_0x5d5342);const _0x2abaea=new Set([_0x5dce24['InsertSheetMutation']['id']]);function _0x2d1d58(_0x1c8bc4,_0x239988,_0x5c9756,_0x1bb0ea,_0x4be355){const _0x45a20f=_0x144fb0;var _0x1e1926,_0x4febd1,_0x2db92d,_0x137cd6;const _0x38756a=[];for(const _0x6cc84a of _0x1c8bc4)if(_0x2abaea[_0x45a20f(0x26d)](_0x6cc84a['id'])){if(_0x38756a['length']>0x0)break;_0x38756a[_0x45a20f(0x20e)](_0x6cc84a);break;}else _0x38756a[_0x45a20f(0x20e)](_0x6cc84a);const _0x4b4ae9=(_0x4febd1=(_0x1e1926=_0x4be355['getCurrentUser']())==null?void 0x0:_0x1e1926[_0x45a20f(0x47a)])!=null?_0x4febd1:_0x45a20f(0x26c),_0x191bb7=(_0x137cd6=(_0x2db92d=_0x4be355[_0x45a20f(0x411)]())==null?void 0x0:_0x2db92d[_0x45a20f(0x173)])!=null?_0x137cd6:'unknown';return{'changeset':{'unitID':_0x239988,'type':_0x55cc56[_0x45a20f(0x409)](_0x5c9756[_0x45a20f(0x3c5)](_0x239988)),'baseRev':_0x1bb0ea[_0x45a20f(0x306)](_0x239988),'revision':0x0,'userID':_0x4b4ae9,'memberID':_0x191bb7,'mutations':_0x38756a},'pendingMutations':_0x1c8bc4[_0x45a20f(0x321)](_0x38756a[_0x45a20f(0x118)])};}function _0x5db712(_0x223bdd,_0x9b982d,_0x33ca99,_0x28d65d,_0x34a989){const _0x23b032=_0x144fb0;var _0x5aa663,_0xa089f9,_0x533909,_0x35f261;const _0x46cfbb=[_0x223bdd[_0x23b032(0x344)]((_0x4ef8a1,_0x4c34b7)=>{const _0x5afe96=_0x23b032;var _0x1859f3;const {id:_0x34a3d5}=_0x4ef8a1,{id:_0x38ff4e,type:_0x1703b9}=_0x4c34b7,_0x31d8b6=(_0x1859f3=_0x4ef8a1['params'])!=null?_0x1859f3:{'actions':null},_0x11db53=_0x4c34b7[_0x5afe96(0xa3)];if(_0x34a3d5&&_0x34a3d5!==_0x38ff4e)throw new Error(_0x5afe96(0x36f)+_0x34a3d5+_0x5afe96(0x453)+_0x38ff4e+'.');return{..._0x4ef8a1,'id':_0x38ff4e,'type':_0x1703b9,'params':{'unitId':_0x11db53[_0x5afe96(0x1b7)],'textRanges':_0x11db53[_0x5afe96(0x14f)],'actions':_0x20df93['JSONX'][_0x5afe96(0x3a8)](_0x31d8b6[_0x5afe96(0x437)],_0x11db53[_0x5afe96(0x437)])}};},{})],_0x12f3b4=(_0xa089f9=(_0x5aa663=_0x34a989[_0x23b032(0x411)]())==null?void 0x0:_0x5aa663[_0x23b032(0x47a)])!=null?_0xa089f9:_0x23b032(0x26c),_0x134845=(_0x35f261=(_0x533909=_0x34a989[_0x23b032(0x411)]())==null?void 0x0:_0x533909['memberID'])!=null?_0x35f261:_0x23b032(0x26c);return{'changeset':{'unitID':_0x9b982d,'type':_0x55cc56[_0x23b032(0x409)](_0x33ca99[_0x23b032(0x3c5)](_0x9b982d)),'baseRev':_0x28d65d[_0x23b032(0x306)](_0x9b982d),'revision':0x0,'userID':_0x12f3b4,'memberID':_0x134845,'mutations':_0x46cfbb},'pendingMutations':[]};}const _0x5d6206={'id':_0x5dce24['EmptyMutation']['id'],'type':_0x20df93[_0x144fb0(0x286)][_0x144fb0(0x372)],'params':{}};var _0x93857f=Object[_0x144fb0(0x395)],_0xf89646=Object['getOwnPropertyDescriptor'],_0x5a9e03=(_0x53dfb8,_0x244ee6,_0x55733d,_0x22565d)=>{const _0x291838=_0x144fb0;for(var _0x34be70=_0x22565d>0x1?void 0x0:_0x22565d?_0xf89646(_0x244ee6,_0x55733d):_0x244ee6,_0x2a44d4=_0x53dfb8[_0x291838(0x118)]-0x1,_0x2a9f46;_0x2a44d4>=0x0;_0x2a44d4--)(_0x2a9f46=_0x53dfb8[_0x2a44d4])&&(_0x34be70=(_0x22565d?_0x2a9f46(_0x244ee6,_0x55733d,_0x34be70):_0x2a9f46(_0x34be70))||_0x34be70);return _0x22565d&&_0x34be70&&_0x93857f(_0x244ee6,_0x55733d,_0x34be70),_0x34be70;},_0xbe94c7=(_0xe1d3f2,_0x2943a2)=>(_0x1f5dd7,_0x192447)=>_0x2943a2(_0x1f5dd7,_0x192447,_0xe1d3f2),_0x5d3e7e=(_0x36b4f9=>(_0x36b4f9[_0x144fb0(0x49a)]=_0x144fb0(0x3b7),_0x36b4f9[_0x144fb0(0xad)]=_0x144fb0(0xca),_0x36b4f9[_0x144fb0(0x42a)]='pending',_0x36b4f9['AWAITING']=_0x144fb0(0x218),_0x36b4f9[_0x144fb0(0x186)]=_0x144fb0(0x373),_0x36b4f9['FETCH_MISS']=_0x144fb0(0x299),_0x36b4f9[_0x144fb0(0x3b6)]='conflict',_0x36b4f9[_0x144fb0(0x2d5)]=_0x144fb0(0xfc),_0x36b4f9))(_0x5d3e7e||{});class _0x30b9a8{constructor(_0x1a048f,_0x188b07,_0x2036d0,_0x24b1df,_0x3ea776,_0x4ee268,_0x4ac303,_0x4e09f6,_0xdf7702){const _0x3c52f3=_0x144fb0;_0x3e782f(this,_0x3c52f3(0x252),null),_0x3e782f(this,_0x3c52f3(0x19e),[]),(this[_0x3c52f3(0x239)]=_0x1a048f,this[_0x3c52f3(0x2e4)]=_0x188b07,this['_handler']=_0x3ea776,this[_0x3c52f3(0x2d1)]=_0x4ee268,this[_0x3c52f3(0x443)]=_0x4ac303,this['_revisionService']=_0x4e09f6,this[_0x3c52f3(0x2be)]=_0xdf7702,this[_0x3c52f3(0x252)]=_0x2036d0,this[_0x3c52f3(0x19e)]=_0x24b1df);}[_0x144fb0(0x495)](_0x141103){const _0x55959e=_0x144fb0,_0xcd15a1=this[_0x55959e(0x3da)][_0x55959e(0x306)](this[_0x55959e(0x239)]);return _0x141103[_0x55959e(0x376)]>_0xcd15a1+0x1?(this[_0x55959e(0x14c)][_0x55959e(0x1eb)]({'from':_0xcd15a1,'to':_0x141103[_0x55959e(0x376)]-0x1}),!0x0):!0x1;}[_0x144fb0(0x2ae)](_0x7392dd){const _0x485e1d=_0x144fb0;this['_undoRedoService'][_0x485e1d(0x2bd)](this[_0x485e1d(0x239)],_0x7392dd);}[_0x144fb0(0x49f)](_0xcd3ab2){const _0x415f58=_0x144fb0;var _0x1624b5,_0x17a4cf;(_0x17a4cf=(_0x1624b5=this[_0x415f58(0x14c)])[_0x415f58(0x1bc)])==null||_0x17a4cf[_0x415f58(0xed)](_0x1624b5,_0xcd3ab2);}['_transformIMECache'](_0x209538){const _0x2c5205=_0x144fb0;var _0x56e9ba,_0x37c08e;return(_0x37c08e=(_0x56e9ba=this[_0x2c5205(0x14c)])['onTransformIME'])==null?void 0x0:_0x37c08e[_0x2c5205(0xed)](_0x56e9ba,_0x209538);}[_0x144fb0(0x157)](_0x5ac663){const _0x48b27b=_0x144fb0;var _0x322606,_0x1851ab,_0x15196e;return(_0x15196e=(_0x1851ab=(_0x322606=this[_0x48b27b(0x14c)])[_0x48b27b(0x466)])==null?void 0x0:_0x1851ab[_0x48b27b(0xed)](_0x322606,_0x5ac663))!=null?_0x15196e:_0x5ac663;}['_syncEditingCollabCursor'](_0x11c5a5){const _0x16e741=_0x144fb0;var _0x39443b,_0x5b443d;if(this['type']===_0x3dff5a['UNIVER_DOC']){const {unitID:_0x6f5db7,mutations:_0x40b717,memberID:_0x41b1f8}=_0x11c5a5,_0x4a63be=_0x40b717[0x0][_0x16e741(0xa3)][_0x16e741(0x14f)];Array[_0x16e741(0x130)](_0x4a63be)&&_0x4a63be['length']>0x0&&((_0x5b443d=(_0x39443b=this['_handler'])[_0x16e741(0x323)])==null||_0x5b443d[_0x16e741(0xed)](_0x39443b,{'unitID':_0x6f5db7,'memberID':_0x41b1f8,'textRanges':_0x4a63be}));}}[_0x144fb0(0x4c9)](){const _0x1dd248=_0x144fb0;this[_0x1dd248(0x2be)]['updateOfflineData'](this[_0x1dd248(0x239)],this[_0x1dd248(0x2e4)],this[_0x1dd248(0x252)],this['_pendingMutations']);}[_0x144fb0(0xf1)](){const _0x441b64=_0x144fb0;return this['_revisionService'][_0x441b64(0x306)](this[_0x441b64(0x239)]);}[_0x144fb0(0x3a6)](){const _0x345973=_0x144fb0;this[_0x345973(0x3da)][_0x345973(0x97)](this[_0x345973(0x239)]);}[_0x144fb0(0x4c7)](_0x5c665e){const _0x38aa9c=_0x144fb0;var _0x1d0b1d;const _0x3a5eea=this[_0x38aa9c(0x157)](_0x5c665e),_0x480c78=_0x20df93[_0x38aa9c(0x406)](_0x3a5eea[_0x38aa9c(0x366)],this[_0x38aa9c(0x2d1)],{'fromCollab':!0x0});if(!_0x480c78[_0x38aa9c(0x400)])throw _0x480c78['error']instanceof Error?_0x480c78[_0x38aa9c(0x37d)]:new Error((_0x1d0b1d=_0x480c78[_0x38aa9c(0x37d)])!=null?_0x1d0b1d:'[CollaborationState]:\x20apply\x20error!');this[_0x38aa9c(0x31f)](_0x3a5eea),this[_0x38aa9c(0x2ae)](_0x5c665e),this[_0x38aa9c(0x49f)](_0x3a5eea),this[_0x38aa9c(0x19d)](_0x3a5eea),this['_incrementRevisionNumber']();}}let _0x495f7c=class extends _0x30b9a8{constructor(_0x5b75a2,_0x4780f,_0x5ab34d,_0x5eb4ee,_0x2e7fa8,_0x18a268,_0x52492c,_0x38a729,_0x5234d4,_0x49d50e){const _0x57f06b=_0x144fb0;super(_0x5b75a2,_0x4780f,null,[],_0x5ab34d,_0x38a729,_0x52492c,_0x5eb4ee,_0x2e7fa8),_0x3e782f(this,_0x57f06b(0x442),_0x57f06b(0xca)),(this['_injector']=_0x18a268,this[_0x57f06b(0x414)]=_0x5234d4,this[_0x57f06b(0x3dd)]=_0x49d50e);}[_0x144fb0(0x207)](_0x4bd9da){const _0x4a8553=_0x144fb0,_0x4834f5=this[_0x4a8553(0x2fc)][_0x4a8553(0x2f6)](_0x4ae15d,this[_0x4a8553(0x239)],this[_0x4a8553(0x2e4)],[_0x4bd9da],this[_0x4a8553(0x14c)]);return _0x4834f5[_0x4a8553(0x1bf)](),_0x4834f5['_updateLocalCache'](),_0x4834f5;}[_0x144fb0(0x455)](_0x4cd558){const _0x5cab6d=_0x144fb0;if(this[_0x5cab6d(0x495)](_0x4cd558))return this[_0x5cab6d(0x2fc)][_0x5cab6d(0x2f6)](_0x4b3f93,this['unitID'],this[_0x5cab6d(0x2e4)],null,[],null,[_0x4cd558],this[_0x5cab6d(0x14c)]);try{const _0x145a0c=this[_0x5cab6d(0x3dd)][_0x5cab6d(0x40d)](_0x4cd558,[_0x5d6206]);if(_0x55cc56[_0x5cab6d(0x436)](_0x145a0c)){const {c1Prime:_0x1ef66d}=_0x145a0c;return this[_0x5cab6d(0x4c7)](_0x1ef66d),this;}throw _0x145a0c[_0x5cab6d(0x37d)];}catch(_0x1c24e2){return this[_0x5cab6d(0x414)]['error'](_0x1c24e2),this[_0x5cab6d(0x1cb)](!0x1);}}[_0x144fb0(0x1cb)](_0x43f967){const _0x58e727=_0x144fb0;return this[_0x58e727(0x2fc)][_0x58e727(0x2f6)](_0x3a479a,this['unitID'],this[_0x58e727(0x2e4)],null,[],this[_0x58e727(0x14c)],_0x43f967);}[_0x144fb0(0x3a9)](){const _0x250c76=_0x144fb0;throw new Error(_0x250c76(0x3e8));}[_0x144fb0(0x1dd)](){const _0x3ccb32=_0x144fb0;throw new Error(_0x3ccb32(0x382));}['toggleOffline'](){const _0x5e67f6=_0x144fb0;return this[_0x5e67f6(0x2fc)][_0x5e67f6(0x2f6)](_0x44c69c,this[_0x5e67f6(0x239)],this['type'],null,[],this[_0x5e67f6(0x14c)]);}[_0x144fb0(0x1be)](){return this;}['resend'](){const _0x37dce7=_0x144fb0;throw new Error(_0x37dce7(0x381));}[_0x144fb0(0x2b2)](){const _0x472cce=_0x144fb0,_0x1b0411=this[_0x472cce(0x3da)]['getCurrentRevOfUnit'](this[_0x472cce(0x239)]);return this['_handler']['onMissingChangesets']({'from':_0x1b0411,'to':0x0}),this[_0x472cce(0x2fc)][_0x472cce(0x2f6)](_0x4b3f93,this[_0x472cce(0x239)],this[_0x472cce(0x2e4)],null,[],null,[],this['_handler']);}};_0x495f7c=_0x5a9e03([_0xbe94c7(0x3,_0x20df93[_0x144fb0(0xdd)](_0x55cc56[_0x144fb0(0xf8)])),_0xbe94c7(0x4,_0x20df93[_0x144fb0(0xdd)](_0x4c8f94[_0x144fb0(0x309)])),_0xbe94c7(0x5,_0x20df93[_0x144fb0(0xdd)](_0x20df93['Injector'])),_0xbe94c7(0x6,_0x20df93['IUndoRedoService']),_0xbe94c7(0x7,_0x20df93[_0x144fb0(0x338)]),_0xbe94c7(0x8,_0x20df93[_0x144fb0(0x1a2)]),_0xbe94c7(0x9,_0x55cc56[_0x144fb0(0x1bd)])],_0x495f7c);let _0x4ae15d=class extends _0x30b9a8{constructor(_0xfc9c48,_0x4f9211,_0x45a696,_0x40ddc9,_0x2f8160,_0x293e0a,_0x1f6bb9,_0x2826e4,_0x30f7e7,_0x194172,_0x1d9832,_0x13b700,_0xc0ba4d,_0xac1adc){const _0x454566=_0x144fb0;super(_0xfc9c48,_0x4f9211,null,_0x45a696,_0x40ddc9,_0x194172,_0xac1adc,_0x293e0a,_0x1f6bb9),_0x3e782f(this,_0x454566(0x442),_0x454566(0x30a)),_0x3e782f(this,'_scheduleTimestamp',null),_0x3e782f(this,_0x454566(0x47f),null),(this[_0x454566(0x2fc)]=_0x2f8160,this['_memberService']=_0x2826e4,this[_0x454566(0x414)]=_0x30f7e7,this[_0x454566(0x283)]=_0x1d9832,this[_0x454566(0x3dd)]=_0x13b700,this[_0x454566(0xc8)]=_0xc0ba4d);}['appendMutation'](_0x3e7b0b){const _0x4ad403=_0x144fb0;return this[_0x4ad403(0x19e)][_0x4ad403(0x20e)](_0x3e7b0b),this['_updateLocalCache'](),this;}[_0x144fb0(0x455)](_0x30b42a){const _0x222013=_0x144fb0;if(this[_0x222013(0x495)](_0x30b42a))return this[_0x222013(0x188)](),this['_injector'][_0x222013(0x2f6)](_0x4b3f93,this[_0x222013(0x239)],this['type'],null,this['_pendingMutations'],null,[_0x30b42a],this[_0x222013(0x14c)]);try{const _0x54b529=this['_transformService'][_0x222013(0x40d)](_0x30b42a,this[_0x222013(0x19e)]);if(_0x55cc56[_0x222013(0x436)](_0x54b529)){const {c1Prime:_0x4f89fd,m2Prime:_0x59bc93}=_0x54b529;this[_0x222013(0x4c7)](_0x4f89fd);const _0x182de3=this[_0x222013(0x2fc)][_0x222013(0x2f6)](_0x4ae15d,this[_0x222013(0x239)],this[_0x222013(0x2e4)],_0x59bc93,this[_0x222013(0x14c)]);return this[_0x222013(0x188)](),_0x182de3['_schedule'](this[_0x222013(0x40a)]?Math[_0x222013(0x480)](0x0,new Date()[_0x222013(0x487)]()-this[_0x222013(0x40a)]):this[_0x222013(0x49b)]()),_0x182de3;}throw _0x54b529[_0x222013(0x37d)];}catch(_0x371883){return this[_0x222013(0x414)][_0x222013(0x37d)](_0x371883),this[_0x222013(0x1cb)](!0x1);}}['onRemoteAck'](){const _0x3944f7=_0x144fb0;throw new Error(_0x3944f7(0x178));}[_0x144fb0(0x1dd)](){const _0x127ff6=_0x144fb0;throw new Error(_0x127ff6(0x3fa));}[_0x144fb0(0x187)](){const _0x323e67=_0x144fb0;return this[_0x323e67(0x188)](),this[_0x323e67(0x2fc)][_0x323e67(0x2f6)](_0x44c69c,this[_0x323e67(0x239)],this[_0x323e67(0x2e4)],null,this[_0x323e67(0x19e)],this[_0x323e67(0x14c)]);}[_0x144fb0(0x1be)](){return this;}['_schedule'](_0xb749a0){const _0x46cc8a=_0x144fb0,_0x579139=_0xb749a0!=null?_0xb749a0:this[_0x46cc8a(0x49b)]();this['_scheduleTimestamp']=new Date()[_0x46cc8a(0x487)](),this[_0x46cc8a(0x47f)]=window[_0x46cc8a(0x233)](()=>{const _0x107238=_0x46cc8a;this[_0x107238(0x188)]();let _0x53a063=null;switch(this['type']){case _0x3dff5a[_0x107238(0x4bf)]:{_0x53a063=_0x2d1d58(this['_pendingMutations'],this['unitID'],this[_0x107238(0xc8)],this[_0x107238(0x3da)],this[_0x107238(0x486)]);break;}case _0x3dff5a[_0x107238(0x126)]:{this['_pendingMutations'][_0x107238(0x260)](_0x46e4c8=>_0x46e4c8['id']===_0x280e9c['RichTextEditingMutation']['id'])?_0x53a063=_0x5db712(this['_pendingMutations'],this[_0x107238(0x239)],this[_0x107238(0xc8)],this['_revisionService'],this[_0x107238(0x486)]):_0x53a063=_0x2d1d58(this[_0x107238(0x19e)],this[_0x107238(0x239)],this[_0x107238(0xc8)],this['_revisionService'],this['_memberService']);break;}default:throw new Error(_0x107238(0xd3)+this['type']+'\x20in\x20_schedule.');}const {changeset:_0x421a85,pendingMutations:_0x5d9ed4}=_0x53a063;this[_0x107238(0x14c)][_0x107238(0x3e2)](_0x421a85);const _0x4bf139=_0x5d9ed4[_0x107238(0x118)]?this[_0x107238(0x2fc)]['createInstance'](_0x189a45,this[_0x107238(0x239)],this[_0x107238(0x2e4)],_0x421a85,_0x5d9ed4,this[_0x107238(0x14c)]):this[_0x107238(0x2fc)][_0x107238(0x2f6)](_0xaa98f9,this[_0x107238(0x239)],this['type'],_0x421a85,this['_handler']);_0x4bf139['_updateLocalCache'](),this[_0x107238(0x14c)][_0x107238(0x37b)](this,_0x4bf139);},_0x579139);}[_0x144fb0(0x49b)](){const _0xeebdae=_0x144fb0;var _0x6a2b32;const _0x1e229e=this[_0xeebdae(0x283)][_0xeebdae(0x27c)](_0x53057b);return(_0x6a2b32=_0x1e229e==null?void 0x0:_0x1e229e[_0xeebdae(0x2ce)])!=null?_0x6a2b32:0x7d0;}[_0x144fb0(0x47c)](){const _0x504d88=_0x144fb0;throw new Error(_0x504d88(0x1da));}[_0x144fb0(0x188)](){const _0x1e9d01=_0x144fb0;this[_0x1e9d01(0x47f)]!=null&&(clearTimeout(this['_sendingTimer']),this[_0x1e9d01(0x47f)]=null);}[_0x144fb0(0x1cb)](_0x59a011){const _0x2a6871=_0x144fb0;return this[_0x2a6871(0x188)](),this[_0x2a6871(0x2fc)][_0x2a6871(0x2f6)](_0x3a479a,this[_0x2a6871(0x239)],this['type'],null,this['_pendingMutations'],this['_handler'],_0x59a011);}};_0x4ae15d=_0x5a9e03([_0xbe94c7(0x4,_0x20df93['Inject'](_0x20df93[_0x144fb0(0x394)])),_0xbe94c7(0x5,_0x20df93[_0x144fb0(0xdd)](_0x55cc56['RevisionService'])),_0xbe94c7(0x6,_0x20df93[_0x144fb0(0xdd)](_0x4c8f94[_0x144fb0(0x309)])),_0xbe94c7(0x7,_0x20df93[_0x144fb0(0xdd)](_0x513006)),_0xbe94c7(0x8,_0x20df93[_0x144fb0(0x1a2)]),_0xbe94c7(0x9,_0x20df93[_0x144fb0(0x338)]),_0xbe94c7(0xa,_0x20df93[_0x144fb0(0x247)]),_0xbe94c7(0xb,_0x55cc56[_0x144fb0(0x1bd)]),_0xbe94c7(0xc,_0x20df93['IUniverInstanceService']),_0xbe94c7(0xd,_0x20df93[_0x144fb0(0x2d0)])],_0x4ae15d);let _0xaa98f9=class extends _0x30b9a8{constructor(_0x68c213,_0x235837,_0x24f98a,_0x86b4a8,_0x1ecdbd,_0x2c2db0,_0x1672e0,_0x1ea546,_0x4a9c37,_0x49bb20,_0x35d97b){const _0x9b380c=_0x144fb0;super(_0x68c213,_0x235837,_0x24f98a,[],_0x86b4a8,_0x1ea546,_0x35d97b,_0x2c2db0,_0x1672e0),_0x3e782f(this,'status','awaiting'),(this[_0x9b380c(0x2fc)]=_0x1ecdbd,this[_0x9b380c(0x414)]=_0x4a9c37,this[_0x9b380c(0x3dd)]=_0x49bb20);}[_0x144fb0(0x207)](_0x430f8a){const _0x295b09=_0x144fb0,_0x207c72=this[_0x295b09(0x2fc)]['createInstance'](_0x189a45,this[_0x295b09(0x239)],this[_0x295b09(0x2e4)],this[_0x295b09(0x252)],[_0x430f8a],this['_handler']);return _0x207c72[_0x295b09(0x4c9)](),_0x207c72;}[_0x144fb0(0x455)](_0x2da277){const _0x53ab86=_0x144fb0;if(this[_0x53ab86(0x495)](_0x2da277))return this[_0x53ab86(0x2fc)][_0x53ab86(0x2f6)](_0x4b3f93,this[_0x53ab86(0x239)],this[_0x53ab86(0x2e4)],this[_0x53ab86(0x252)],[],null,[_0x2da277],this[_0x53ab86(0x14c)]);try{const _0x5b6470=this[_0x53ab86(0x3dd)][_0x53ab86(0x103)]([_0x2da277],[this['_awaitingChangeset']],!0x1);if(_0x55cc56['isTransformChangesetsSuccess'](_0x5b6470)){const {c1Prime:_0x35938f,c2Prime:_0x1362b1}=_0x5b6470;this[_0x53ab86(0x4c7)](_0x35938f[0x0]),_0x1362b1[0x0]['baseRev']=this[_0x53ab86(0xf1)]();const _0x3d75a9=this[_0x53ab86(0x2fc)][_0x53ab86(0x2f6)](_0xaa98f9,this[_0x53ab86(0x239)],this['type'],_0x1362b1[0x0],this[_0x53ab86(0x14c)]);return _0x3d75a9[_0x53ab86(0x4c9)](),_0x3d75a9;}return this[_0x53ab86(0x1cb)](!0x1);}catch(_0x211dca){return this[_0x53ab86(0x414)][_0x53ab86(0x37d)](_0x211dca),this[_0x53ab86(0x1cb)](!0x1);}}[_0x144fb0(0x3a9)](_0x45fb9e){const _0x7d7614=_0x144fb0,_0xe04933=this[_0x7d7614(0x3da)]['getCurrentRevOfUnit'](this[_0x7d7614(0x239)]);if(_0x45fb9e[_0x7d7614(0x376)]<_0xe04933-0x1)return this;if(this[_0x7d7614(0x495)](_0x45fb9e))return this[_0x7d7614(0x2fc)][_0x7d7614(0x2f6)](_0x4b3f93,this[_0x7d7614(0x239)],this[_0x7d7614(0x2e4)],null,[],this[_0x7d7614(0x252)],[],this[_0x7d7614(0x14c)]);this[_0x7d7614(0x3a6)]();const _0x2b29e4=this[_0x7d7614(0x2fc)]['createInstance'](_0x495f7c,this[_0x7d7614(0x239)],this[_0x7d7614(0x2e4)],this[_0x7d7614(0x14c)]);return _0x2b29e4[_0x7d7614(0x4c9)](),_0x2b29e4;}[_0x144fb0(0x1dd)](_0x3d3ac2){const _0x4b49b9=_0x144fb0;return this[_0x4b49b9(0x1cb)](!!(_0x3d3ac2!=null&&_0x3d3ac2['isPermissionRej']));}['toggleOffline'](){const _0x5025d4=_0x144fb0;return this[_0x5025d4(0x2fc)]['createInstance'](_0x44c69c,this['unitID'],this[_0x5025d4(0x2e4)],this[_0x5025d4(0x252)],[],this[_0x5025d4(0x14c)]);}[_0x144fb0(0x1be)](){return this;}[_0x144fb0(0x47c)](){const _0x1fce4c=_0x144fb0;this[_0x1fce4c(0x14c)]['onSendChangeset'](this[_0x1fce4c(0x252)]);}[_0x144fb0(0x1cb)](_0x2a70f9){const _0x3cceaf=_0x144fb0;return this[_0x3cceaf(0x2fc)][_0x3cceaf(0x2f6)](_0x3a479a,this[_0x3cceaf(0x239)],this[_0x3cceaf(0x2e4)],this[_0x3cceaf(0x252)],[],this[_0x3cceaf(0x14c)],_0x2a70f9);}};_0xaa98f9=_0x5a9e03([_0xbe94c7(0x4,_0x20df93[_0x144fb0(0xdd)](_0x20df93[_0x144fb0(0x394)])),_0xbe94c7(0x5,_0x20df93[_0x144fb0(0xdd)](_0x55cc56[_0x144fb0(0xf8)])),_0xbe94c7(0x6,_0x20df93[_0x144fb0(0xdd)](_0x4c8f94[_0x144fb0(0x309)])),_0xbe94c7(0x7,_0x20df93['ICommandService']),_0xbe94c7(0x8,_0x20df93['ILogService']),_0xbe94c7(0x9,_0x55cc56[_0x144fb0(0x1bd)]),_0xbe94c7(0xa,_0x20df93[_0x144fb0(0x2d0)])],_0xaa98f9);let _0x189a45=class extends _0x30b9a8{constructor(_0x4444de,_0x287ad0,_0x12835b,_0xda9b76,_0x30320b,_0x54a5cc,_0x37cb9c,_0x32d081,_0x23ff32,_0x17bb82,_0x5a9524,_0x5b496a){const _0x5b87bc=_0x144fb0;super(_0x4444de,_0x287ad0,_0x12835b,_0xda9b76,_0x30320b,_0x23ff32,_0x5b496a,_0x37cb9c,_0x32d081),_0x3e782f(this,_0x5b87bc(0x442),_0x5b87bc(0x373)),(this[_0x5b87bc(0x2fc)]=_0x54a5cc,this[_0x5b87bc(0x414)]=_0x17bb82,this[_0x5b87bc(0x3dd)]=_0x5a9524);}['appendMutation'](_0x3576bc){const _0x355f3e=_0x144fb0;return this[_0x355f3e(0x19e)][_0x355f3e(0x20e)](_0x3576bc),this;}[_0x144fb0(0x455)](_0x39edf9){const _0x21fe74=_0x144fb0;if(this[_0x21fe74(0x495)](_0x39edf9))return this[_0x21fe74(0x2fc)][_0x21fe74(0x2f6)](_0x4b3f93,this[_0x21fe74(0x239)],this[_0x21fe74(0x2e4)],this[_0x21fe74(0x252)],this['_pendingMutations'],null,[_0x39edf9],this[_0x21fe74(0x14c)]);try{const _0x1af28b=this[_0x21fe74(0x3dd)][_0x21fe74(0x103)]([_0x39edf9],[this[_0x21fe74(0x252)]],!0x1);if(_0x55cc56['isTransformChangesetsSuccess'](_0x1af28b)){const {c1Prime:_0x1b9969,c2Prime:_0x260a0f}=_0x1af28b,_0x55ee10=this[_0x21fe74(0x3dd)]['transformMutationsWithChangeset'](_0x1b9969[0x0],this['_pendingMutations']);if(_0x55cc56[_0x21fe74(0x436)](_0x55ee10)){const {c1Prime:_0x3cf2d7,m2Prime:_0x3c12bc}=_0x55ee10;return this['_executeRemoteChangeset'](_0x3cf2d7),_0x260a0f[0x0]['baseRev']=this['_getCurrentRevision'](),this[_0x21fe74(0x2fc)][_0x21fe74(0x2f6)](_0x189a45,this[_0x21fe74(0x239)],this['type'],_0x260a0f[0x0],_0x3c12bc,this['_handler']);}throw _0x55ee10[_0x21fe74(0x37d)];}throw _0x1af28b['error'];}catch(_0xac2b1f){return this[_0x21fe74(0x414)][_0x21fe74(0x37d)](_0xac2b1f),this['_onConflict'](!0x1);}}[_0x144fb0(0x3a9)](_0x359646){const _0x5ebebc=_0x144fb0;if(this[_0x5ebebc(0x495)](_0x359646))return this[_0x5ebebc(0x2fc)][_0x5ebebc(0x2f6)](_0x4b3f93,this[_0x5ebebc(0x239)],this[_0x5ebebc(0x2e4)],null,this[_0x5ebebc(0x19e)],this['_awaitingChangeset'],[],this['_handler']);this[_0x5ebebc(0x3a6)]();const _0x23ce71=this['_injector'][_0x5ebebc(0x2f6)](_0x4ae15d,this['unitID'],this[_0x5ebebc(0x2e4)],this[_0x5ebebc(0x19e)],this['_handler']);return _0x23ce71['_schedule'](),_0x23ce71[_0x5ebebc(0x4c9)](),_0x23ce71;}[_0x144fb0(0x1dd)](_0x326747){const _0x127368=_0x144fb0;return this[_0x127368(0x1cb)](!!(_0x326747!=null&&_0x326747['isPermissionRej']));}[_0x144fb0(0x187)](){const _0x2c43c5=_0x144fb0;return this[_0x2c43c5(0x2fc)][_0x2c43c5(0x2f6)](_0x44c69c,this['unitID'],this[_0x2c43c5(0x2e4)],this[_0x2c43c5(0x252)],this[_0x2c43c5(0x19e)],this[_0x2c43c5(0x14c)]);}[_0x144fb0(0x1be)](){return this;}[_0x144fb0(0x47c)](){const _0x911442=_0x144fb0;this[_0x911442(0x14c)][_0x911442(0x3e2)](this[_0x911442(0x252)]);}[_0x144fb0(0x1cb)](_0x59131e){const _0x55bf3e=_0x144fb0;return this[_0x55bf3e(0x2fc)]['createInstance'](_0x3a479a,this[_0x55bf3e(0x239)],this[_0x55bf3e(0x2e4)],null,this[_0x55bf3e(0x19e)],this['_handler'],_0x59131e);}};_0x189a45=_0x5a9e03([_0xbe94c7(0x5,_0x20df93[_0x144fb0(0xdd)](_0x20df93[_0x144fb0(0x394)])),_0xbe94c7(0x6,_0x20df93[_0x144fb0(0xdd)](_0x55cc56['RevisionService'])),_0xbe94c7(0x7,_0x20df93[_0x144fb0(0xdd)](_0x4c8f94['LocalCacheService'])),_0xbe94c7(0x8,_0x20df93[_0x144fb0(0x338)]),_0xbe94c7(0x9,_0x20df93[_0x144fb0(0x1a2)]),_0xbe94c7(0xa,_0x55cc56[_0x144fb0(0x1bd)]),_0xbe94c7(0xb,_0x20df93[_0x144fb0(0x2d0)])],_0x189a45);let _0x3a479a=class extends _0x30b9a8{constructor(_0x19f694,_0x33e6ea,_0x10cb9,_0x45bdd2,_0xdf6a70,_0xedb9d5=!0x1,_0x15c050,_0x624746,_0x1f89a1,_0x177e52,_0x2dbc1c,_0x4cf587,_0x375196){const _0x4f6571=_0x144fb0;super(_0x19f694,_0x33e6ea,_0x10cb9,_0x45bdd2,_0xdf6a70,_0x624746,_0x1f89a1,_0x2dbc1c,_0x177e52),_0x3e782f(this,'status',_0x4f6571(0x2b7)),(this[_0x4f6571(0x278)]=_0xedb9d5,this[_0x4f6571(0x471)]=_0x15c050,this[_0x4f6571(0x208)]=_0x4cf587,this['_notificationService']=_0x375196,this[_0x4f6571(0x46a)](),this['_clearLocalCache'](),this[_0x4f6571(0xe5)]());}[_0x144fb0(0x207)](){return this;}[_0x144fb0(0x455)](){return this;}[_0x144fb0(0x3a9)](){return this;}[_0x144fb0(0x1dd)](){return this;}[_0x144fb0(0x187)](){return this;}[_0x144fb0(0x1be)](){return this;}[_0x144fb0(0x47c)](){throw new Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}['_clearLocalCache'](){const _0x1b83fe=_0x144fb0;this[_0x1b83fe(0x2be)][_0x1b83fe(0x1f9)](this[_0x1b83fe(0x239)],this[_0x1b83fe(0x2e4)],null,[]);}[_0x144fb0(0x46a)](){const _0x3ecb97=_0x144fb0;this[_0x3ecb97(0x278)]?this[_0x3ecb97(0x355)]['show']({'title':this[_0x3ecb97(0x208)]['t'](_0x3ecb97(0x45f)),'content':this[_0x3ecb97(0x208)]['t'](_0x3ecb97(0x276)),'type':_0x3ecb97(0x37d),'duration':0x0}):this['_notificationService'][_0x3ecb97(0x429)]({'title':this['_localeService']['t'](_0x3ecb97(0xd1)),'content':this[_0x3ecb97(0x208)]['t'](_0x3ecb97(0x16e)),'type':_0x3ecb97(0x37d),'duration':0x0});}['_disableEditing'](){const _0xc4459=_0x144fb0;this[_0xc4459(0x471)][_0xc4459(0x2ad)](new _0x5dce24['WorkbookEditablePermission'](this[_0xc4459(0x239)])['id'],!0x1);}};_0x3a479a=_0x5a9e03([_0xbe94c7(0x6,_0x20df93[_0x144fb0(0xdd)](_0x20df93['IPermissionService'])),_0xbe94c7(0x7,_0x20df93[_0x144fb0(0x338)]),_0xbe94c7(0x8,_0x20df93[_0x144fb0(0x2d0)]),_0xbe94c7(0x9,_0x20df93['Inject'](_0x4c8f94[_0x144fb0(0x309)])),_0xbe94c7(0xa,_0x20df93['Inject'](_0x55cc56[_0x144fb0(0xf8)])),_0xbe94c7(0xb,_0x20df93[_0x144fb0(0xdd)](_0x20df93[_0x144fb0(0x142)])),_0xbe94c7(0xc,_0x40b1aa[_0x144fb0(0x262)])],_0x3a479a);let _0x44c69c=class extends _0x30b9a8{constructor(_0x53a563,_0x1f39dc,_0x29e24f,_0x5990e3,_0x8d3d19,_0x1726bc,_0x3c5a75,_0x38c7b4,_0x169e9d,_0x149db1){const _0x98c94e=_0x144fb0;super(_0x53a563,_0x1f39dc,_0x29e24f,_0x5990e3,_0x8d3d19,_0x169e9d,_0x149db1,_0x3c5a75,_0x38c7b4),_0x3e782f(this,_0x98c94e(0x442),_0x98c94e(0xfc)),this['_injector']=_0x1726bc;}[_0x144fb0(0x207)](_0x460c22){const _0x9af5cd=_0x144fb0;return this[_0x9af5cd(0x19e)][_0x9af5cd(0x20e)](_0x460c22),this[_0x9af5cd(0x4c9)](),this;}['onRemoteChangeset'](_0x40d47d){const _0x483197=_0x144fb0;throw new Error(_0x483197(0x2dd));}['onRemoteAck'](){const _0x2725fe=_0x144fb0;throw new Error(_0x2725fe(0x3c8));}[_0x144fb0(0x1dd)](){const _0x2fcdd6=_0x144fb0;throw new Error(_0x2fcdd6(0x8f));}[_0x144fb0(0x187)](){return this;}[_0x144fb0(0x1be)](){const _0x43bec5=_0x144fb0,{_injector:_0x2f761f,_pendingMutations:_0x201a1b,_awaitingChangeset:_0x422767,unitID:_0x5ed830,_handler:_0x17e7a7,type:_0x590114}=this,_0x2a0c00=_0x45d61b(_0x2f761f,_0x5ed830,_0x590114,_0x422767,_0x201a1b,_0x17e7a7);return _0x2a0c00 instanceof _0x4ae15d?_0x2a0c00[_0x43bec5(0x1bf)]():(_0x2a0c00 instanceof _0x189a45||_0x2a0c00 instanceof _0xaa98f9)&&_0x2a0c00['resend'](),_0x2a0c00;}[_0x144fb0(0x47c)](){throw new Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}};_0x44c69c=_0x5a9e03([_0xbe94c7(0x5,_0x20df93[_0x144fb0(0xdd)](_0x20df93[_0x144fb0(0x394)])),_0xbe94c7(0x6,_0x20df93['Inject'](_0x55cc56[_0x144fb0(0xf8)])),_0xbe94c7(0x7,_0x20df93[_0x144fb0(0xdd)](_0x4c8f94[_0x144fb0(0x309)])),_0xbe94c7(0x8,_0x20df93[_0x144fb0(0x338)]),_0xbe94c7(0x9,_0x20df93['IUndoRedoService'])],_0x44c69c);let _0x4b3f93=class extends _0x30b9a8{constructor(_0x4c65f5,_0x2c913f,_0x1745c7,_0x495a59,_0x4cddba,_0x426b4e,_0xc9fe0f,_0x18fdc7,_0x246b70,_0x347280,_0x518caf,_0x1b4aa8,_0x2ff5c6,_0x5b90b9){const _0x3a7861=_0x144fb0;super(_0x4c65f5,_0x2c913f,_0x1745c7,_0x495a59,_0xc9fe0f,_0x1b4aa8,_0x2ff5c6,_0x246b70,_0x347280),_0x3e782f(this,_0x3a7861(0x442),_0x3a7861(0x299)),(this[_0x3a7861(0x370)]=_0x4cddba,this[_0x3a7861(0x25f)]=_0x426b4e,this[_0x3a7861(0x2fc)]=_0x18fdc7,this[_0x3a7861(0x414)]=_0x518caf,this[_0x3a7861(0x3dd)]=_0x5b90b9);}[_0x144fb0(0x154)](_0x7a6749){const _0x2ec899=_0x144fb0;try{const _0x4ea29a=[..._0x7a6749,...this['_queuedRemoteChangesets']],_0x459e4d=[this[_0x2ec899(0x252)]||this['_acknowledgedAwaitingChangeset']][_0x2ec899(0x4a2)](_0x8c44da=>!!_0x8c44da);let _0x492b16,_0x1c1356;if(_0x459e4d[_0x2ec899(0x118)]){const _0x2a1166=this['_transformService']['transformChangesets'](_0x4ea29a,_0x459e4d,!0x1);if(!_0x55cc56[_0x2ec899(0x253)](_0x2a1166))throw _0x2a1166['error'];_0x492b16=_0x2a1166['c1Prime'],_0x1c1356=_0x2a1166[_0x2ec899(0x31d)];}else _0x492b16=_0x4ea29a,_0x1c1356=[];let _0x3a711f=this[_0x2ec899(0x19e)];_0x492b16['forEach'](_0xb7c60=>{const _0x262893=_0x2ec899;let _0x299e2b;if(_0x3a711f[_0x262893(0x118)]){const _0x3513f9=this[_0x262893(0x3dd)][_0x262893(0x40d)](_0xb7c60,_0x3a711f);if(!_0x55cc56['isTransformMutationsWithChangesetSuccess'](_0x3513f9))throw _0x3513f9[_0x262893(0x37d)];_0x299e2b=_0x3513f9[_0x262893(0x4b5)],_0x3a711f=_0x3513f9['m2Prime'];}else _0x299e2b=_0xb7c60;this[_0x262893(0x4c7)](_0x299e2b);}),this['_acknowledgedAwaitingChangeset']&&this['_incrementRevisionNumber'](),this[_0x2ec899(0x252)]&&_0x1c1356['length']&&(_0x1c1356[0x0][_0x2ec899(0x353)]=this['_getCurrentRevision']());let _0x183d2e;if(this[_0x2ec899(0x252)]&&_0x3a711f['length']!==0x0)_0x183d2e=this[_0x2ec899(0x2fc)][_0x2ec899(0x2f6)](_0x189a45,this[_0x2ec899(0x239)],this[_0x2ec899(0x2e4)],_0x1c1356[0x0],_0x3a711f,this[_0x2ec899(0x14c)]);else{if(this[_0x2ec899(0x252)]&&_0x3a711f[_0x2ec899(0x118)]===0x0)_0x1c1356[0x0][_0x2ec899(0x353)]=this[_0x2ec899(0xf1)](),_0x183d2e=this[_0x2ec899(0x2fc)][_0x2ec899(0x2f6)](_0xaa98f9,this['unitID'],this[_0x2ec899(0x2e4)],_0x1c1356[0x0],this[_0x2ec899(0x14c)]);else{if(_0x3a711f['length']!==0x0){const _0x275ecb=this[_0x2ec899(0x2fc)][_0x2ec899(0x2f6)](_0x4ae15d,this['unitID'],this['type'],_0x3a711f,this[_0x2ec899(0x14c)]);_0x275ecb['_schedule'](),_0x183d2e=_0x275ecb;}else _0x183d2e=this[_0x2ec899(0x2fc)][_0x2ec899(0x2f6)](_0x495f7c,this[_0x2ec899(0x239)],this[_0x2ec899(0x2e4)],this['_handler']);}}return _0x183d2e[_0x2ec899(0x4c9)](),_0x183d2e;}catch(_0x5f579a){return this[_0x2ec899(0x414)][_0x2ec899(0x37d)](_0x2ec899(0x23f),_0x2ec899(0x125),_0x5f579a),this[_0x2ec899(0x2fc)][_0x2ec899(0x2f6)](_0x3a479a,this[_0x2ec899(0x239)],this[_0x2ec899(0x2e4)],this[_0x2ec899(0x252)],this[_0x2ec899(0x19e)],this['_handler'],!0x1);}}[_0x144fb0(0x47c)](){const _0x553373=_0x144fb0;throw new Error(_0x553373(0x24d));}[_0x144fb0(0x207)](_0x3a62ec){const _0x31ae72=_0x144fb0;return this[_0x31ae72(0x19e)][_0x31ae72(0x20e)](_0x3a62ec),this;}[_0x144fb0(0x455)](_0xc2b436){const _0x380e38=_0x144fb0;return this[_0x380e38(0x25f)][_0x380e38(0x20e)](_0xc2b436),this;}[_0x144fb0(0x3a9)](_0x47330d){const _0x17b600=_0x144fb0;if(this[_0x17b600(0x252)])return this['_acknowledgedAwaitingChangeset']=this[_0x17b600(0x252)],this[_0x17b600(0x252)]=null,this;throw new Error(_0x17b600(0x4b6));}[_0x144fb0(0x1dd)](_0x18dda3){const _0x545def=_0x144fb0;return this['_onConflict'](!!(_0x18dda3!=null&&_0x18dda3[_0x545def(0x4a3)]));}[_0x144fb0(0x187)](){const _0x1c4321=_0x144fb0;return this['_injector'][_0x1c4321(0x2f6)](_0x44c69c,this[_0x1c4321(0x239)],this[_0x1c4321(0x2e4)],this[_0x1c4321(0x252)],this['_pendingMutations'],this['_handler']);}['toggleOnline'](){return this;}[_0x144fb0(0x1cb)](_0x39e4d7){const _0x4682f4=_0x144fb0;return this[_0x4682f4(0x2fc)][_0x4682f4(0x2f6)](_0x3a479a,this[_0x4682f4(0x239)],this['type'],this[_0x4682f4(0x252)],this[_0x4682f4(0x19e)],this[_0x4682f4(0x14c)],_0x39e4d7);}};_0x4b3f93=_0x5a9e03([_0xbe94c7(0x7,_0x20df93[_0x144fb0(0xdd)](_0x20df93[_0x144fb0(0x394)])),_0xbe94c7(0x8,_0x20df93['Inject'](_0x55cc56['RevisionService'])),_0xbe94c7(0x9,_0x20df93[_0x144fb0(0xdd)](_0x4c8f94[_0x144fb0(0x309)])),_0xbe94c7(0xa,_0x20df93[_0x144fb0(0x1a2)]),_0xbe94c7(0xb,_0x20df93[_0x144fb0(0x338)]),_0xbe94c7(0xc,_0x20df93[_0x144fb0(0x2d0)]),_0xbe94c7(0xd,_0x55cc56['ITransformService'])],_0x4b3f93);function _0x45d61b(_0x3ef9d3,_0x344fce,_0x3fe061,_0x2252b3,_0x1c3ed7,_0x56f451){const _0x12f44a=_0x144fb0;return _0x2252b3&&_0x1c3ed7[_0x12f44a(0x118)]?_0x3ef9d3[_0x12f44a(0x2f6)](_0x189a45,_0x344fce,_0x3fe061,_0x2252b3,_0x1c3ed7,_0x56f451):_0x2252b3?_0x3ef9d3[_0x12f44a(0x2f6)](_0xaa98f9,_0x344fce,_0x3fe061,_0x2252b3,_0x56f451):_0x1c3ed7[_0x12f44a(0x118)]?_0x3ef9d3['createInstance'](_0x4ae15d,_0x344fce,_0x3fe061,_0x1c3ed7,_0x56f451):_0x3ef9d3[_0x12f44a(0x2f6)](_0x495f7c,_0x344fce,_0x3fe061,_0x56f451);}var _0x3ca8e2=Object[_0x144fb0(0x395)],_0x5e34a8=Object['getOwnPropertyDescriptor'],_0x50fae8=(_0x413929,_0x23f399,_0x25444c,_0x594cd8)=>{const _0x6e401=_0x144fb0;for(var _0x41df72=_0x594cd8>0x1?void 0x0:_0x594cd8?_0x5e34a8(_0x23f399,_0x25444c):_0x23f399,_0x4a9602=_0x413929[_0x6e401(0x118)]-0x1,_0x55308d;_0x4a9602>=0x0;_0x4a9602--)(_0x55308d=_0x413929[_0x4a9602])&&(_0x41df72=(_0x594cd8?_0x55308d(_0x23f399,_0x25444c,_0x41df72):_0x55308d(_0x41df72))||_0x41df72);return _0x594cd8&&_0x41df72&&_0x3ca8e2(_0x23f399,_0x25444c,_0x41df72),_0x41df72;},_0x7d90d4=(_0x4a9aa3,_0x3028bf)=>(_0x4aca87,_0x34e615)=>_0x3028bf(_0x4aca87,_0x34e615,_0x4a9aa3);_0x4c8f94['CollaborationEntity']=class extends _0x20df93[_0x144fb0(0x330)]{constructor(_0x2e21b1,_0x1b2dce,_0x5c040f,_0x3c5bb6,_0x872e44,_0x232715,_0x57ed90,_0x8262f9,_0x1cfdad,_0x4ad183,_0x4573fd,_0x39e44f,_0x1d83af){const _0x4e16af=_0x144fb0;super(),_0x3e782f(this,_0x4e16af(0x46b),new _0x284d0[(_0x4e16af(0x237))](null)),_0x3e782f(this,_0x4e16af(0xf9),this['_state$'][_0x4e16af(0x17e)]()),_0x3e782f(this,_0x4e16af(0x1b4)),_0x3e782f(this,_0x4e16af(0x2a0),!0x1),_0x3e782f(this,_0x4e16af(0x4c2),this[_0x4e16af(0xf9)][_0x4e16af(0x34d)](_0x284d0[_0x4e16af(0x296)](_0x7a1e60=>_0x7a1e60?_0x7a1e60[_0x4e16af(0x442)]:_0x5d3e7e[_0x4e16af(0x2d5)]),_0x284d0[_0x4e16af(0x447)](0x1))),_0x3e782f(this,'_transitionLocked',!0x1),_0x3e782f(this,_0x4e16af(0x135),[]),(this[_0x4e16af(0x239)]=_0x2e21b1,this[_0x4e16af(0x1b0)]=_0x1b2dce,this[_0x4e16af(0xf2)]=_0x5c040f,this[_0x4e16af(0x2fc)]=_0x3c5bb6,this[_0x4e16af(0x2be)]=_0x872e44,this[_0x4e16af(0x20a)]=_0x232715,this['_localeService']=_0x57ed90,this[_0x4e16af(0x3da)]=_0x8262f9,this[_0x4e16af(0x414)]=_0x1cfdad,this[_0x4e16af(0x2d1)]=_0x4ad183,this[_0x4e16af(0x2ac)]=_0x4573fd,this[_0x4e16af(0x471)]=_0x39e44f,this[_0x4e16af(0x3a4)]=_0x1d83af);}get[_0x144fb0(0x2db)](){const _0x652911=_0x144fb0;return this[_0x652911(0x1b4)];}async['init'](){const _0x42e3a2=_0x144fb0;if(this['state'])throw new Error(_0x42e3a2(0xb1));await this[_0x42e3a2(0x198)]();}['pauseCollaboration'](){const _0x47e531=_0x144fb0;return this[_0x47e531(0x2a0)]=!0x0,_0x20df93['toDisposable'](()=>{const _0x19afca=_0x47e531;this[_0x19afca(0x2a0)]=!0x1,this[_0x19afca(0x3b4)]();});}['_updateState'](_0x35792a){const _0x2cede7=_0x144fb0;this[_0x2cede7(0x1b4)]=_0x35792a,this[_0x2cede7(0x46b)]['next'](_0x35792a);}async[_0x144fb0(0x198)](){const _0x24898e=_0x144fb0;var _0x578025;this['_updateState'](await this[_0x24898e(0x1cf)]()),this[_0x24898e(0x3a4)]&&((_0x578025=this[_0x24898e(0x3a4)])==null||_0x578025[_0x24898e(0x38e)](this[_0x24898e(0x239)]),this[_0x24898e(0x397)](this[_0x24898e(0x3a4)]['getUnitStatus$'](this[_0x24898e(0x239)])[_0x24898e(0xda)](_0xbdd597=>{const _0x135032=_0x24898e;this['_logService']['debug'](_0x135032(0x347),'editing\x20status\x20changed\x20to',_0xbdd597),_0xbdd597===_0x4b0976[_0x135032(0xb9)]?(this['_messageService'][_0x135032(0x429)]({'content':this['_localeService']['t']('collaboration.single-unit.warning'),'type':_0x3206ad[_0x135032(0x43e)]['Warning']}),this[_0x135032(0x471)][_0x135032(0x2ad)](new _0x5dce24['WorkbookEditablePermission'](this[_0x135032(0x239)])['id'],!0x1)):this['_permissionService'][_0x135032(0x2ad)](new _0x5dce24[(_0x135032(0x1e0))](this[_0x135032(0x239)])['id'],!0x0);})));let _0x420089=!0x1;return this[_0x24898e(0x397)](this['session'][_0x24898e(0x48d)]['subscribe'](_0x1eafac=>{const _0x2e3ef5=_0x24898e;_0x1eafac===_0x4d48e1[_0x2e3ef5(0x16b)]?this['_toggleOnline'](_0x420089):_0x1eafac===_0x4d48e1['OFFLINE']&&(_0x420089=!0x0,this['_toggleOffline']());})),this[_0x24898e(0x397)](this[_0x24898e(0x1b0)][_0x24898e(0x435)][_0x24898e(0xda)](_0x3b739b=>{const _0x112d0b=_0x24898e;try{switch(_0x3b739b[_0x112d0b(0x109)]){case _0x55cc56[_0x112d0b(0xf4)][_0x112d0b(0x2ba)]:{this[_0x112d0b(0x4a8)](_0x55cc56['parseProtocolChangeset'](_0x3b739b[_0x112d0b(0x24b)]));break;}case _0x55cc56[_0x112d0b(0xf4)][_0x112d0b(0x244)]:{this[_0x112d0b(0x25b)](_0x3b739b[_0x112d0b(0x24b)]);break;}case _0x55cc56['CollaborationEvent']['CHANGESET_REJ']:{this['_onRemoteRejected']();break;}case _0x55cc56[_0x112d0b(0xf4)]['PSEUDO_FETCH_MISSING_RESULT']:{this[_0x112d0b(0x251)](_0x3b739b[_0x112d0b(0x24b)][_0x112d0b(0x316)][_0x112d0b(0x296)](_0xd57277=>_0x55cc56[_0x112d0b(0x393)](_0xd57277)));break;}case _0x55cc56[_0x112d0b(0xf4)][_0x112d0b(0x100)]:this[_0x112d0b(0x199)]({'isPermissionRej':!0x0});}}catch(_0x54660f){throw console[_0x112d0b(0x37d)](_0x112d0b(0x16d),_0x54660f),_0x54660f;}})),this[_0x24898e(0x1b4)];}['_unlockTransition'](){this['_transitionLocked']=!0x1;}['_lockTransition'](){const _0x3517b0=_0x144fb0;if(this[_0x3517b0(0x1f3)])throw new Error(_0x3517b0(0x3ab));this[_0x3517b0(0x1f3)]=!0x0;}['_onLocalMutation'](_0x2a5e13){const _0x3cf2a8=_0x144fb0;this[_0x3cf2a8(0x272)](),this[_0x3cf2a8(0xff)](this[_0x3cf2a8(0x1b4)]['appendMutation'](_0x2a5e13)),this[_0x3cf2a8(0x2ed)]();}[_0x144fb0(0x4a8)](_0x232a10){const _0x52e4e5=_0x144fb0;if(!(_0x232a10[_0x52e4e5(0x376)]<=this[_0x52e4e5(0x3da)]['getCurrentRevOfUnit'](this['unitID']))){if(this['_collaborationPaused']){this[_0x52e4e5(0x135)][_0x52e4e5(0x20e)](_0x232a10);return;}this[_0x52e4e5(0x3f4)](_0x232a10);}}[_0x144fb0(0x3b4)](){const _0x2f10ea=_0x144fb0;this['_remoteChangesetQueue'][_0x2f10ea(0x478)](_0x4a5f2a=>this[_0x2f10ea(0x3f4)](_0x4a5f2a)),this[_0x2f10ea(0x135)]=[];}[_0x144fb0(0x3f4)](_0x433cde){const _0xa1561f=_0x144fb0,_0x10bc2f=this[_0xa1561f(0x20a)][_0xa1561f(0x354)][_0xa1561f(0x29a)](this[_0xa1561f(0x20a)][_0xa1561f(0x354)][_0xa1561f(0x1e2)]()['COMPRESS_MUTATION_APPLY'])(_0x433cde[_0xa1561f(0x366)],null)||_0x433cde[_0xa1561f(0x366)],_0x17b4f3={..._0x433cde,'mutations':_0x10bc2f};this[_0xa1561f(0x272)](),this[_0xa1561f(0xff)](this[_0xa1561f(0x1b4)]['onRemoteChangeset'](_0x17b4f3)),this['_unlockTransition']();}[_0x144fb0(0x25b)](_0x1a2dab){const _0x12e293=_0x144fb0;this[_0x12e293(0x272)](),this[_0x12e293(0xff)](this[_0x12e293(0x1b4)]['onRemoteAck'](_0x1a2dab)),this[_0x12e293(0x2ed)]();}['_onRemoteRejected'](_0x2d09c9){const _0x166ed8=_0x144fb0;this[_0x166ed8(0x272)](),this['_updateState'](this[_0x166ed8(0x1b4)]['onRemoteRej'](_0x2d09c9)),this['_unlockTransition']();}[_0x144fb0(0x251)](_0x3e3eda){const _0x352326=_0x144fb0;if(!(this[_0x352326(0x1b4)]instanceof _0x4b3f93))throw new TypeError(_0x352326(0x297));const _0x17f07c=_0x3e3eda[_0x352326(0x296)](_0x4090cd=>{const _0x1c3633=_0x352326,_0x2a3a30=this[_0x1c3633(0x20a)][_0x1c3633(0x354)][_0x1c3633(0x29a)](this[_0x1c3633(0x20a)]['interceptor']['getInterceptPoints']()[_0x1c3633(0x410)])(_0x4090cd[_0x1c3633(0x366)],null)||_0x4090cd[_0x1c3633(0x366)];return{..._0x4090cd,'mutations':_0x2a3a30};});this[_0x352326(0x272)](),this[_0x352326(0xff)](this['_state'][_0x352326(0x154)](_0x17f07c)),this[_0x352326(0x2ed)]();}[_0x144fb0(0x3f6)](){const _0x596957=_0x144fb0;this[_0x596957(0x272)](),this[_0x596957(0xff)](this['_state'][_0x596957(0x187)]()),this[_0x596957(0x2ed)]();}[_0x144fb0(0x12c)](_0x5aead1=!0x1){const _0x4922da=_0x144fb0;this[_0x4922da(0x272)](),this[_0x4922da(0xff)](this[_0x4922da(0x1b4)]['toggleOnline']()),this[_0x4922da(0x2ed)]();const _0x10d5ee=this[_0x4922da(0x1b4)];_0x5aead1&&_0x10d5ee instanceof _0x495f7c&&(this[_0x4922da(0x272)](),this[_0x4922da(0xff)](_0x10d5ee[_0x4922da(0x2b2)]()),this[_0x4922da(0x2ed)]());}async[_0x144fb0(0x1cf)](){return new Promise(_0x38d8ee=>{const _0x93a23=_0x205f;this[_0x93a23(0x1b0)]['sessionStatus$']['pipe'](_0x284d0[_0x93a23(0x2c9)](0x1))['subscribe'](async _0x3ca3eb=>{const _0x6c7f94=_0x93a23;_0x38d8ee(await this[_0x6c7f94(0x129)](_0x3ca3eb===_0x4d48e1[_0x6c7f94(0x16b)]));});});}[_0x144fb0(0x1ea)](){const _0x5e67e2=_0x144fb0,_0x12ede7=this[_0x5e67e2(0x239)];return{'onStateChange':(_0x2964c4,_0x5dabe8)=>{const _0x55a0f4=_0x5e67e2;if(_0x2964c4!==this[_0x55a0f4(0x1b4)])throw new Error('[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20'+_0x2964c4['status']+_0x55a0f4(0x1b3)+_0x5dabe8['status']+_0x55a0f4(0x4b0)+this[_0x55a0f4(0x1b4)][_0x55a0f4(0x442)]);this['_updateState'](_0x5dabe8);},'onSendChangeset':_0x42115d=>{const _0x4f16d5=_0x5e67e2,_0x3c435c={'eventID':_0x55cc56[_0x4f16d5(0xf4)][_0x4f16d5(0x24f)],'data':{'unitID':_0x42115d[_0x4f16d5(0x239)],'unitType':this[_0x4f16d5(0xf2)],'changeset':_0x42115d,'memberID':this[_0x4f16d5(0x1b0)][_0x4f16d5(0x483)]()}};this[_0x4f16d5(0x1b0)][_0x4f16d5(0x31c)](_0x3c435c,this[_0x4f16d5(0x239)]);},'onMissingChangesets':({from:_0x23acee,to:_0x23bb18})=>{const _0xf29b29=_0x5e67e2;this[_0xf29b29(0x414)][_0xf29b29(0xd6)](_0xf29b29(0x347),_0xf29b29(0x1c8)+_0x23acee+_0xf29b29(0xde)+_0x23bb18);const _0x10aab0={'eventID':_0x55cc56[_0xf29b29(0xf4)][_0xf29b29(0x47d)],'data':{'unitID':_0x12ede7,'unitType':this[_0xf29b29(0xf2)],'from':_0x23acee,'to':_0x23bb18}};this[_0xf29b29(0x1b0)][_0xf29b29(0x31c)](_0x10aab0,this[_0xf29b29(0x239)]);}};}async['_createInitialStateImpl'](_0x2ea5b9){const _0x56454b=_0x144fb0;var _0x3a89fa,_0x578c23;const _0x156aaf=await this[_0x56454b(0x2be)][_0x56454b(0x19f)](this[_0x56454b(0x239)]),_0x44342d=(_0x3a89fa=_0x156aaf==null?void 0x0:_0x156aaf[_0x56454b(0x366)])!=null?_0x3a89fa:[],_0x1e0d37=(_0x578c23=_0x156aaf==null?void 0x0:_0x156aaf[_0x56454b(0x1a7)])!=null?_0x578c23:null,_0x3706c9=this[_0x56454b(0x239)];try{this[_0x56454b(0x28b)](_0x1e0d37,_0x44342d);}catch(_0x20be1e){this[_0x56454b(0x414)][_0x56454b(0x37d)](_0x20be1e);}const _0x52285d=this[_0x56454b(0x1ea)]();if(_0x2ea5b9){const _0x1176ed=_0x45d61b(this[_0x56454b(0x2fc)],_0x3706c9,this[_0x56454b(0xf2)],_0x1e0d37,_0x44342d,_0x52285d);return _0x1176ed instanceof _0x4ae15d?_0x1176ed[_0x56454b(0x1bf)]():(_0x1176ed instanceof _0x189a45||_0x1176ed instanceof _0xaa98f9)&&_0x1176ed[_0x56454b(0x47c)](),_0x1176ed;}return this[_0x56454b(0x2fc)][_0x56454b(0x2f6)](_0x44c69c,_0x3706c9,this[_0x56454b(0xf2)],_0x1e0d37,_0x44342d,_0x52285d);}['_replayCachedMutations'](_0x39d754,_0x2e4533){const _0x446b4a=_0x144fb0;var _0x1680fd,_0x4f1ba9;const _0x243060=this[_0x446b4a(0x20a)][_0x446b4a(0x354)][_0x446b4a(0x29a)](this[_0x446b4a(0x20a)][_0x446b4a(0x354)][_0x446b4a(0x1e2)]()[_0x446b4a(0x410)]);(_0x1680fd=_0x243060((_0x39d754==null?void 0x0:_0x39d754[_0x446b4a(0x366)])||[],null))==null||_0x1680fd[_0x446b4a(0x478)](_0x4c7c7b=>this[_0x446b4a(0x2d1)]['executeCommand'](_0x4c7c7b['id'],_0x4c7c7b[_0x446b4a(0xa3)])),(_0x4f1ba9=_0x243060(_0x2e4533||[],null))==null||_0x4f1ba9[_0x446b4a(0x478)](_0x1dda46=>this[_0x446b4a(0x2d1)][_0x446b4a(0x1fe)](_0x1dda46['id'],_0x1dda46[_0x446b4a(0xa3)]));}},_0x4c8f94[_0x144fb0(0x462)]=_0x50fae8([_0x7d90d4(0x3,_0x20df93[_0x144fb0(0xdd)](_0x20df93[_0x144fb0(0x394)])),_0x7d90d4(0x4,_0x20df93[_0x144fb0(0xdd)](_0x4c8f94['LocalCacheService'])),_0x7d90d4(0x5,_0x20df93['Inject'](_0x55cc56['CompressMutationService'])),_0x7d90d4(0x6,_0x20df93[_0x144fb0(0xdd)](_0x20df93[_0x144fb0(0x142)])),_0x7d90d4(0x7,_0x20df93[_0x144fb0(0xdd)](_0x55cc56[_0x144fb0(0xf8)])),_0x7d90d4(0x8,_0x20df93['ILogService']),_0x7d90d4(0x9,_0x20df93['ICommandService']),_0x7d90d4(0xa,_0x40b1aa[_0x144fb0(0x3fe)]),_0x7d90d4(0xb,_0x20df93[_0x144fb0(0x250)]),_0x7d90d4(0xc,_0x20df93[_0x144fb0(0x44e)](_0x3977df))],_0x4c8f94['CollaborationEntity']),_0x4c8f94[_0x144fb0(0x184)]=class extends _0x4c8f94[_0x144fb0(0x462)]{constructor(_0x509115,_0x11206,_0x11c7b4,_0x2e746d,_0x489ab0,_0x363197,_0x59e25e,_0x4664be,_0x220ff6,_0x48ffbd,_0x3c6dfd,_0x3f4da0,_0x4b1dd7,_0x52c051,_0x1015a0,_0x10a105,_0x28838e){const _0x4b9297=_0x144fb0;super(_0x509115,_0x11c7b4,_0x11206,_0x2e746d,_0x489ab0,_0x363197,_0x59e25e,_0x4664be,_0x4b1dd7,_0x52c051,_0x1015a0,_0x10a105,_0x28838e),this[_0x4b9297(0x239)]=_0x509115,this[_0x4b9297(0x2e4)]=_0x11206,this[_0x4b9297(0x2eb)]=_0x220ff6,this['_docTransformIMECacheService']=_0x48ffbd,this[_0x4b9297(0x39e)]=_0x3c6dfd,this['_docSyncEditingCollabCursorService']=_0x3f4da0;}[_0x144fb0(0x1ea)](){const _0x22286f=_0x144fb0,_0x164995=super[_0x22286f(0x1ea)]();return _0x164995[_0x22286f(0x3f5)]=_0x40317c=>this[_0x22286f(0x282)][_0x22286f(0xa1)](_0x40317c),_0x164995[_0x22286f(0x1bc)]=_0x516618=>this['_docTransformSelectionsService'][_0x22286f(0x444)](_0x516618),_0x164995[_0x22286f(0x323)]=_0x5ac22c=>this['_docSyncEditingCollabCursorService'][_0x22286f(0x2fb)](_0x5ac22c),_0x164995['onTransformRemoteChangesetByIMECache']=_0xb5119b=>this['_docTransformIMECacheService'][_0x22286f(0x418)](_0xb5119b),_0x164995;}async[_0x144fb0(0x198)](){const _0x109e82=_0x144fb0,_0x5c9a4f=await super['_init']();return this['disposeWithMe'](this[_0x109e82(0x2d1)]['onCommandExecuted']((_0x28e13f,_0x294fa2)=>{const _0x272dc5=_0x109e82;if(_0x28e13f[_0x272dc5(0x2e4)]!==_0x20df93[_0x272dc5(0x286)][_0x272dc5(0x372)]||_0x294fa2!=null&&_0x294fa2[_0x272dc5(0xd0)]||_0x294fa2!=null&&_0x294fa2['onlyLocal'])return;const _0x1d44da=_0x28e13f[_0x272dc5(0xa3)];if((_0x1d44da==null?void 0x0:_0x1d44da[_0x272dc5(0x1b7)])!==this['unitID'])return;let _0x22bde4=_0x28e13f;if(_0x22bde4['id']===_0x280e9c[_0x272dc5(0x24a)]['id']){const _0x4148fa=_0x22bde4['params'];_0x22bde4={'id':_0x280e9c[_0x272dc5(0x24a)]['id'],'type':_0x20df93['CommandType'][_0x272dc5(0x372)],'params':{'unitId':_0x4148fa[_0x272dc5(0x1b7)],'actions':_0x4148fa[_0x272dc5(0x437)],'textRanges':null}};}const _0x43ff3f=this[_0x272dc5(0x20a)][_0x272dc5(0x354)][_0x272dc5(0x29a)](this['_compressMutationService'][_0x272dc5(0x354)][_0x272dc5(0x1e2)]()[_0x272dc5(0x3be)])([_0x22bde4],null)||[_0x22bde4];this[_0x272dc5(0x236)](_0x43ff3f[0x0]);})),_0x5c9a4f;}},_0x4c8f94[_0x144fb0(0x184)]=_0x50fae8([_0x7d90d4(0x3,_0x20df93[_0x144fb0(0xdd)](_0x20df93[_0x144fb0(0x394)])),_0x7d90d4(0x4,_0x20df93['Inject'](_0x4c8f94[_0x144fb0(0x309)])),_0x7d90d4(0x5,_0x20df93[_0x144fb0(0xdd)](_0x55cc56[_0x144fb0(0x279)])),_0x7d90d4(0x6,_0x20df93[_0x144fb0(0xdd)](_0x20df93[_0x144fb0(0x142)])),_0x7d90d4(0x7,_0x20df93[_0x144fb0(0xdd)](_0x55cc56[_0x144fb0(0xf8)])),_0x7d90d4(0x8,_0x20df93[_0x144fb0(0xdd)](_0x3b39ef[_0x144fb0(0x472)])),_0x7d90d4(0x9,_0x20df93['Inject'](_0x57c1cf)),_0x7d90d4(0xa,_0x20df93['Inject'](_0x5d5342)),_0x7d90d4(0xb,_0x20df93['Inject'](_0x1ab040)),_0x7d90d4(0xc,_0x20df93[_0x144fb0(0x1a2)]),_0x7d90d4(0xd,_0x20df93[_0x144fb0(0x338)]),_0x7d90d4(0xe,_0x40b1aa[_0x144fb0(0x3fe)]),_0x7d90d4(0xf,_0x20df93[_0x144fb0(0x250)]),_0x7d90d4(0x10,_0x20df93[_0x144fb0(0x44e)](_0x3977df))],_0x4c8f94['DocCollaborationEntity']),_0x4c8f94[_0x144fb0(0xf0)]=class extends _0x4c8f94[_0x144fb0(0x462)]{constructor(_0x525b5b,_0x4430e2,_0x5f5a7f,_0x150a21,_0x1b89ab,_0x4d0c50,_0x606082,_0x51145c,_0x531640,_0x498954,_0x87211c,_0x175082,_0x528859,_0x6028a4){const _0x50c9b7=_0x144fb0;super(_0x525b5b,_0x5f5a7f,_0x4430e2,_0x150a21,_0x1b89ab,_0x4d0c50,_0x606082,_0x51145c,_0x498954,_0x87211c,_0x175082,_0x528859,_0x6028a4),this[_0x50c9b7(0x239)]=_0x525b5b,this[_0x50c9b7(0x2e4)]=_0x4430e2,this[_0x50c9b7(0x479)]=_0x531640;}[_0x144fb0(0x1ea)](){const _0x5f3b0a=_0x144fb0,_0x59a48f=super[_0x5f3b0a(0x1ea)]();return _0x59a48f[_0x5f3b0a(0x1bc)]=_0xf9b5e6=>this[_0x5f3b0a(0x479)]['transformSelections'](_0xf9b5e6),_0x59a48f;}async[_0x144fb0(0x198)](){const _0x1901ed=_0x144fb0,_0x458cf8=await super[_0x1901ed(0x198)]();return this[_0x1901ed(0x397)](this['_commandService'][_0x1901ed(0x3f9)]((_0x384c87,_0x5ce854)=>{const _0x717be5=_0x1901ed;if(_0x384c87[_0x717be5(0x2e4)]!==_0x20df93[_0x717be5(0x286)]['MUTATION']||_0x5ce854!=null&&_0x5ce854['fromCollab']||_0x5ce854!=null&&_0x5ce854[_0x717be5(0x12b)])return;const _0x27d218=_0x384c87['params'];if((_0x27d218==null?void 0x0:_0x27d218['unitId'])!==this['unitID'])return;const _0x40b1ce=_0x384c87,_0x3af6c1=this[_0x717be5(0x20a)][_0x717be5(0x354)][_0x717be5(0x29a)](this[_0x717be5(0x20a)][_0x717be5(0x354)][_0x717be5(0x1e2)]()['COMPRESS_MUTATION_SEND'])([_0x40b1ce],null)||[_0x40b1ce];this[_0x717be5(0x236)](_0x3af6c1[0x0]);})),_0x458cf8;}},_0x4c8f94['SheetCollaborationEntity']=_0x50fae8([_0x7d90d4(0x3,_0x20df93[_0x144fb0(0xdd)](_0x20df93[_0x144fb0(0x394)])),_0x7d90d4(0x4,_0x20df93[_0x144fb0(0xdd)](_0x4c8f94[_0x144fb0(0x309)])),_0x7d90d4(0x5,_0x20df93['Inject'](_0x55cc56[_0x144fb0(0x279)])),_0x7d90d4(0x6,_0x20df93[_0x144fb0(0xdd)](_0x20df93[_0x144fb0(0x142)])),_0x7d90d4(0x7,_0x20df93[_0x144fb0(0xdd)](_0x55cc56['RevisionService'])),_0x7d90d4(0x8,_0x20df93[_0x144fb0(0xdd)](_0x44b9f8)),_0x7d90d4(0x9,_0x20df93[_0x144fb0(0x1a2)]),_0x7d90d4(0xa,_0x20df93[_0x144fb0(0x338)]),_0x7d90d4(0xb,_0x40b1aa[_0x144fb0(0x3fe)]),_0x7d90d4(0xc,_0x20df93['IPermissionService']),_0x7d90d4(0xd,_0x20df93[_0x144fb0(0x44e)](_0x3977df))],_0x4c8f94[_0x144fb0(0xf0)]);var _0x580d17=Object[_0x144fb0(0x395)],_0x1b4e22=Object['getOwnPropertyDescriptor'],_0x4ad47c=(_0x3f3454,_0xc525c7,_0x2aa651,_0x5973cc)=>{const _0x5731a0=_0x144fb0;for(var _0x58a3d6=_0x5973cc>0x1?void 0x0:_0x5973cc?_0x1b4e22(_0xc525c7,_0x2aa651):_0xc525c7,_0x3be75a=_0x3f3454[_0x5731a0(0x118)]-0x1,_0x4dcf61;_0x3be75a>=0x0;_0x3be75a--)(_0x4dcf61=_0x3f3454[_0x3be75a])&&(_0x58a3d6=(_0x5973cc?_0x4dcf61(_0xc525c7,_0x2aa651,_0x58a3d6):_0x4dcf61(_0x58a3d6))||_0x58a3d6);return _0x5973cc&&_0x58a3d6&&_0x580d17(_0xc525c7,_0x2aa651,_0x58a3d6),_0x58a3d6;},_0x2d5c8c=(_0x1ecc57,_0x515767)=>(_0x4caa98,_0x4e38b6)=>_0x515767(_0x4caa98,_0x4e38b6,_0x1ecc57);_0x4c8f94[_0x144fb0(0x10e)]=class extends _0x20df93[_0x144fb0(0x330)]{constructor(_0x5d3df1,_0xb25b73,_0x4fbbac){const _0x5a61c3=_0x144fb0;super(),_0x3e782f(this,_0x5a61c3(0x3b0),new Map()),_0x3e782f(this,_0x5a61c3(0x391),new _0x284d0[(_0x5a61c3(0x12d))]()),(this[_0x5a61c3(0x2fc)]=_0x5d3df1,this[_0x5a61c3(0x4b7)]=_0xb25b73,this[_0x5a61c3(0xc8)]=_0x4fbbac,this['_init']());}[_0x144fb0(0x320)](){const _0x51bd7b=_0x144fb0;super[_0x51bd7b(0x320)](),this[_0x51bd7b(0x3b0)][_0x51bd7b(0x478)](_0x597664=>_0x597664[_0x51bd7b(0x320)]()),this[_0x51bd7b(0x3b0)][_0x51bd7b(0xb4)]();}[_0x144fb0(0x407)](_0x220dd9){const _0x42e738=_0x144fb0;var _0x20f3f0;return(_0x20f3f0=this[_0x42e738(0x3b0)]['get'](_0x220dd9))!=null?_0x20f3f0:null;}['getCollabEntity$'](_0x5e432d){const _0xb9c35d=_0x144fb0,_0xebbdb0=this[_0xb9c35d(0x407)](_0x5e432d);return _0xebbdb0?_0x284d0['of'](_0xebbdb0):this[_0xb9c35d(0x391)][_0xb9c35d(0x34d)](_0x3e7ea3['filter'](_0x5789f0=>_0x5789f0['unitID']===_0x5e432d));}[_0x144fb0(0x198)](){const _0x48d0c0=_0x144fb0;this[_0x48d0c0(0xc8)][_0x48d0c0(0x362)](_0x20df93['UniverInstanceType'][_0x48d0c0(0x4bf)])[_0x48d0c0(0x34d)](_0x284d0['takeUntil'](this[_0x48d0c0(0x288)]),_0x3e7ea3[_0x48d0c0(0x36e)](0x10))['subscribe'](async _0xc2fece=>{const _0x4c7017=_0x48d0c0,_0x1d8ee1=_0xc2fece[_0x4c7017(0x1fd)](),_0x110663=await this[_0x4c7017(0xae)](_0x1d8ee1,_0x3dff5a[_0x4c7017(0x4bf)]);this[_0x4c7017(0x3b0)]['set'](_0x1d8ee1,_0x110663);}),this[_0x48d0c0(0xc8)][_0x48d0c0(0x362)](_0x20df93[_0x48d0c0(0x441)][_0x48d0c0(0x126)])['pipe'](_0x284d0[_0x48d0c0(0xa0)](this[_0x48d0c0(0x288)]),_0x3e7ea3[_0x48d0c0(0x36e)](0x10))[_0x48d0c0(0x34d)](_0x3e7ea3[_0x48d0c0(0x4a2)](_0x3b553a=>!_0x3b553a['getUnitId']()['startsWith']('__')))[_0x48d0c0(0xda)](async _0x395fb5=>{const _0x2cdca9=_0x48d0c0,_0x34b517=_0x395fb5[_0x2cdca9(0x1fd)](),_0x13701d=await this[_0x2cdca9(0xae)](_0x34b517,_0x3dff5a['UNIVER_DOC']);this[_0x2cdca9(0x3b0)][_0x2cdca9(0x271)](_0x34b517,_0x13701d);}),_0x284d0[_0x48d0c0(0x8c)](this['_univerInstanceService'][_0x48d0c0(0x1a1)](_0x20df93['UniverInstanceType']['UNIVER_SHEET']),this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x20df93[_0x48d0c0(0x441)][_0x48d0c0(0x126)]))[_0x48d0c0(0x34d)](_0x284d0[_0x48d0c0(0xa0)](this[_0x48d0c0(0x288)]))[_0x48d0c0(0xda)](_0x187256=>{const _0x27491d=_0x48d0c0,_0x44e134=_0x187256['getUnitId'](),_0x5b12c8=this['_entities'][_0x27491d(0x3b8)](_0x44e134);_0x5b12c8&&(_0x5b12c8['dispose'](),this[_0x27491d(0x3b0)][_0x27491d(0x32d)](_0x44e134));});}async[_0x144fb0(0xae)](_0x2c89e1,_0x49bbec){const _0x3d9943=_0x144fb0,_0xf778be=await this[_0x3d9943(0x4b7)][_0x3d9943(0x24e)](_0x2c89e1),_0x48e8df=this['_injector']['createInstance'](this[_0x3d9943(0x9d)](_0x49bbec),_0x2c89e1,_0x49bbec,_0xf778be);return await _0x48e8df[_0x3d9943(0x1e3)](),this[_0x3d9943(0x391)][_0x3d9943(0x25d)](_0x48e8df),_0x48e8df;}[_0x144fb0(0x9d)](_0x4904ad){const _0x5a6a4b=_0x144fb0;switch(_0x4904ad){case _0x3dff5a[_0x5a6a4b(0x126)]:return _0x4c8f94[_0x5a6a4b(0x184)];case _0x3dff5a[_0x5a6a4b(0x4bf)]:return _0x4c8f94[_0x5a6a4b(0xf0)];default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0x4904ad);}}},_0x4c8f94['CollaborationController']=_0x4ad47c([_0x2d5c8c(0x0,_0x20df93[_0x144fb0(0xdd)](_0x20df93[_0x144fb0(0x394)])),_0x2d5c8c(0x1,_0x20df93[_0x144fb0(0xdd)](_0x4c8f94[_0x144fb0(0x491)])),_0x2d5c8c(0x2,_0x20df93[_0x144fb0(0x292)])],_0x4c8f94[_0x144fb0(0x10e)]);const _0x21fa97=[_0x144fb0(0x2e0),_0x144fb0(0x32c),_0x144fb0(0x293),_0x144fb0(0x2ff),'blue400',_0x144fb0(0x191)];class _0x402c47 extends _0x20df93[_0x144fb0(0x343)]{constructor(){const _0x3c2de3=_0x144fb0;super(...arguments),_0x3e782f(this,_0x3c2de3(0x216),new Map()),_0x3e782f(this,_0x3c2de3(0x476),0x0);}[_0x144fb0(0x108)](_0xd82e66){const _0xdcb706=_0x144fb0;if(this[_0xdcb706(0x216)][_0xdcb706(0x26d)](_0xd82e66))return this[_0xdcb706(0x216)][_0xdcb706(0x3b8)](_0xd82e66);const _0x1cebc1=_0x21fa97[this[_0xdcb706(0x476)]];return this[_0xdcb706(0x476)]=(this[_0xdcb706(0x476)]+0x1)%_0x21fa97['length'],this['_assignedColors'][_0xdcb706(0x271)](_0xd82e66,_0x1cebc1),_0x1cebc1;}}var _0x27aec5=Object[_0x144fb0(0x395)],_0x37e27b=Object[_0x144fb0(0x457)],_0x4f4570=(_0x33464f,_0x3cbbc7,_0x22ca74,_0x599821)=>{const _0x34fb4e=_0x144fb0;for(var _0x41b97b=_0x599821>0x1?void 0x0:_0x599821?_0x37e27b(_0x3cbbc7,_0x22ca74):_0x3cbbc7,_0x438542=_0x33464f[_0x34fb4e(0x118)]-0x1,_0x398add;_0x438542>=0x0;_0x438542--)(_0x398add=_0x33464f[_0x438542])&&(_0x41b97b=(_0x599821?_0x398add(_0x3cbbc7,_0x22ca74,_0x41b97b):_0x398add(_0x41b97b))||_0x41b97b);return _0x599821&&_0x41b97b&&_0x27aec5(_0x3cbbc7,_0x22ca74,_0x41b97b),_0x41b97b;},_0x49c543=(_0x36d098,_0x5f05c1)=>(_0x4cad2e,_0x94d3fb)=>_0x5f05c1(_0x4cad2e,_0x94d3fb,_0x36d098);const _0x36fcce=0x12c,_0x44e139=0x64;let _0x46da6f=class extends _0x20df93[_0x144fb0(0x330)]{constructor(_0x3ec57d,_0x2c9125,_0x2da59b,_0x34d8e8,_0x16cd10,_0x43755d,_0x7d1ea6,_0x148872,_0x4e9d87){const _0x43b025=_0x144fb0;super(),_0x3e782f(this,_0x43b025(0x21f),!0x1),_0x3e782f(this,_0x43b025(0x198),!0x1),_0x3e782f(this,'_cursorInfo$',new _0x284d0[(_0x43b025(0x237))](new Map())),_0x3e782f(this,_0x43b025(0x40f),this[_0x43b025(0x1ad)][_0x43b025(0x17e)]()),_0x3e782f(this,_0x43b025(0x38a),new _0x284d0[(_0x43b025(0x237))]([])),_0x3e782f(this,_0x43b025(0x386),this['_roomMembers$']['pipe'](_0x284d0[_0x43b025(0x35b)](_0x36fcce))),_0x3e782f(this,_0x43b025(0x269),_0x20df93[_0x43b025(0x1cc)](_0xde08d7=>{const _0x281110=_0x43b025,_0x54f8aa={'eventID':_0x55cc56[_0x281110(0xf4)][_0x281110(0x168)],'data':{'unitID':this[_0x281110(0x239)],'memberID':this[_0x281110(0xb0)][_0x281110(0x483)](),'selection':_0x3f4458(_0xde08d7)}};this[_0x281110(0xb0)]['send'](_0x54f8aa,this[_0x281110(0x239)]);},_0x44e139)),(this[_0x43b025(0x239)]=_0x3ec57d,this[_0x43b025(0xb0)]=_0x2c9125,this[_0x43b025(0x2fc)]=_0x2da59b,this[_0x43b025(0x456)]=_0x34d8e8,this[_0x43b025(0x486)]=_0x16cd10,this[_0x43b025(0x2b6)]=_0x43755d,this[_0x43b025(0x3dd)]=_0x7d1ea6,this[_0x43b025(0xc8)]=_0x148872,this[_0x43b025(0x2d1)]=_0x4e9d87);}get[_0x144fb0(0x35c)](){const _0x5e8aeb=_0x144fb0;return this[_0x5e8aeb(0x1ad)][_0x5e8aeb(0x183)]();}get[_0x144fb0(0xa2)](){const _0x3d4725=_0x144fb0;return this[_0x3d4725(0x38a)][_0x3d4725(0x183)]();}['dispose'](){const _0x21841c=_0x144fb0;super[_0x21841c(0x320)](),this['_cursorInfo$']['next'](new Map()),this[_0x21841c(0x1ad)][_0x21841c(0x25e)](),this[_0x21841c(0x38a)][_0x21841c(0x25d)]([]),this[_0x21841c(0x38a)][_0x21841c(0x25e)]();}[_0x144fb0(0x1e3)](){const _0x5cbd47=_0x144fb0;this[_0x5cbd47(0x198)]||(this[_0x5cbd47(0x198)]=!0x0,this['_session'][_0x5cbd47(0x48d)][_0x5cbd47(0x34d)](_0x284d0[_0x5cbd47(0xa0)](this[_0x5cbd47(0x288)]))['subscribe'](_0x3110a5=>{const _0x8eff8b=_0x5cbd47;_0x3110a5===_0x4d48e1['ONLINE']?this[_0x8eff8b(0x12c)]():this['_toggleOffline']();}),this['_session']['event$'][_0x5cbd47(0x34d)](_0x284d0['takeUntil'](this[_0x5cbd47(0x288)]))[_0x5cbd47(0xda)](_0x44c92d=>{const _0x79d2b8=_0x5cbd47,_0x5db569=_0x44c92d[_0x79d2b8(0x109)];_0x5db569===_0x55cc56[_0x79d2b8(0xf4)][_0x79d2b8(0x168)]&&this[_0x79d2b8(0xe3)](_0x44c92d),_0x5db569===_0x55cc56[_0x79d2b8(0xf4)][_0x79d2b8(0x177)]&&this[_0x79d2b8(0x2c5)](_0x44c92d);}),this['disposeWithMe'](this[_0x5cbd47(0x2d1)]['onCommandExecuted'](_0x37b129=>{const _0x3df3b8=_0x5cbd47,_0x251f31=_0x37b129[_0x3df3b8(0xa3)];_0x251f31!=null&&this[_0x3df3b8(0x21f)]&&_0x37b129['id']===_0x280e9c['SetTextSelectionsOperation']['id']&&_0x251f31[_0x3df3b8(0x1b7)]===this['unitID']&&_0x251f31[_0x3df3b8(0x1c0)]===!0x1&&this[_0x3df3b8(0x269)](_0x251f31['ranges']);})),this[_0x5cbd47(0x2b6)]['collabCursorState$'][_0x5cbd47(0x34d)](_0x284d0['takeUntil'](this[_0x5cbd47(0x288)]))['subscribe'](_0xe1dbbf=>{const _0xffae94=_0x5cbd47;if((_0xe1dbbf==null?void 0x0:_0xe1dbbf['unitID'])!==this[_0xffae94(0x239)])return;const _0xed4fe0={'eventID':_0x55cc56[_0xffae94(0xf4)][_0xffae94(0x168)],'data':_0xe1dbbf};this['_onCursorUpdate'](_0xed4fe0);}),this['disposeWithMe'](this[_0x5cbd47(0x2d1)][_0x5cbd47(0x3f9)](_0x42952d=>{const _0x1f6c9f=_0x5cbd47;if(_0x42952d[_0x1f6c9f(0xa3)]==null)return;const _0x55adb8=_0x42952d[_0x1f6c9f(0xa3)];if(_0x42952d['id']!==_0x280e9c[_0x1f6c9f(0x24a)]['id']||_0x55adb8[_0x1f6c9f(0x1b7)]!==this[_0x1f6c9f(0x239)])return;const _0xf573cf={'id':'doc.mutation.rich-text-editing','params':_0x55adb8},_0x48d87d=this[_0x1f6c9f(0x35c)];for(const [_0x4675e5,_0x5ac168]of _0x48d87d){const _0x41ba56={'id':_0x1f6c9f(0xbb),'params':{'unitId':this[_0x1f6c9f(0x239)],'actions':null,'textRanges':_0x5ac168[_0x1f6c9f(0x4a7)]}},_0x36064d=this[_0x1f6c9f(0x3dd)][_0x1f6c9f(0x469)](_0xf573cf,_0x41ba56,!0x1);if(_0x55cc56['isTransformMutationFailure'](_0x36064d))throw _0x36064d[_0x1f6c9f(0x37d)];_0x48d87d[_0x1f6c9f(0x271)](_0x4675e5,{..._0x5ac168,'ranges':_0x36064d['m2Prime'][_0x1f6c9f(0xa3)][_0x1f6c9f(0x14f)]});}queueMicrotask(()=>{const _0x5f4aa5=_0x1f6c9f;this[_0x5f4aa5(0x1ad)][_0x5f4aa5(0x25d)](_0x48d87d);});})));}[_0x144fb0(0xe3)](_0x48a64f){const _0x5525ee=_0x144fb0;var _0x12af10,_0x538bcb;const {memberID:_0x54cb83,selection:_0x4be0e4}=_0x48a64f[_0x5525ee(0x24b)],_0x4f82ee=_0x161949(_0x4be0e4),_0x327b4d=(_0x538bcb=(_0x12af10=this[_0x5525ee(0x486)][_0x5525ee(0x93)](this['unitID'],_0x54cb83))==null?void 0x0:_0x12af10[_0x5525ee(0x2b4)])!=null?_0x538bcb:'Unknown\x20user',_0x3b401c={'color':this['_colorAssignService'][_0x5525ee(0x108)](_0x54cb83),'name':_0x327b4d,'ranges':_0x4f82ee},_0x46bffc=this[_0x5525ee(0x35c)];_0x46bffc[_0x5525ee(0x271)](_0x54cb83,_0x3b401c),this['_cursorInfo$'][_0x5525ee(0x25d)](_0x46bffc);}[_0x144fb0(0x2c5)](_0x437b7b){const _0x1a87e2=_0x144fb0,{memberID:_0x50174a}=_0x437b7b[_0x1a87e2(0x24b)],_0x102bf6=this[_0x1a87e2(0x35c)];_0x102bf6[_0x1a87e2(0x32d)](_0x50174a),this[_0x1a87e2(0x1ad)][_0x1a87e2(0x25d)](_0x102bf6);}[_0x144fb0(0x12c)](){const _0x375d1d=_0x144fb0;var _0x108117;if(this[_0x375d1d(0x21f)]=!0x0,((_0x108117=this[_0x375d1d(0xc8)][_0x375d1d(0x138)]())==null?void 0x0:_0x108117[_0x375d1d(0x1fd)]())!==this[_0x375d1d(0x239)])return;const _0x554577=this[_0x375d1d(0x2fc)][_0x375d1d(0x3b8)](_0x280e9c['DocSelectionManagerService'])[_0x375d1d(0x151)]();Array[_0x375d1d(0x130)](_0x554577)&&_0x554577[_0x375d1d(0x118)]>0x0&&this['_updateLocalCursor'](_0x554577);}[_0x144fb0(0x3f6)](){this['_online']=!0x1;}};_0x46da6f=_0x4f4570([_0x49c543(0x2,_0x20df93[_0x144fb0(0xdd)](_0x20df93[_0x144fb0(0x394)])),_0x49c543(0x3,_0x20df93[_0x144fb0(0xdd)](_0x402c47)),_0x49c543(0x4,_0x20df93[_0x144fb0(0xdd)](_0x513006)),_0x49c543(0x5,_0x20df93[_0x144fb0(0xdd)](_0x1ab040)),_0x49c543(0x6,_0x55cc56[_0x144fb0(0x1bd)]),_0x49c543(0x7,_0x20df93[_0x144fb0(0x292)]),_0x49c543(0x8,_0x20df93[_0x144fb0(0x338)])],_0x46da6f);var _0x4ff2f8=Object[_0x144fb0(0x395)],_0x67a454=Object[_0x144fb0(0x457)],_0x3afc70=(_0x2c641a,_0x2fb6b2,_0x5106ad,_0x173b75)=>{const _0x3bf8b4=_0x144fb0;for(var _0x1315e2=_0x173b75>0x1?void 0x0:_0x173b75?_0x67a454(_0x2fb6b2,_0x5106ad):_0x2fb6b2,_0x5506b3=_0x2c641a[_0x3bf8b4(0x118)]-0x1,_0x57910f;_0x5506b3>=0x0;_0x5506b3--)(_0x57910f=_0x2c641a[_0x5506b3])&&(_0x1315e2=(_0x173b75?_0x57910f(_0x2fb6b2,_0x5106ad,_0x1315e2):_0x57910f(_0x1315e2))||_0x1315e2);return _0x173b75&&_0x1315e2&&_0x4ff2f8(_0x2fb6b2,_0x5106ad,_0x1315e2),_0x1315e2;},_0x3a353f=(_0x1caee8,_0xad3109)=>(_0x27ea51,_0x2e359f)=>_0xad3109(_0x27ea51,_0x2e359f,_0x1caee8);const _0x59d817=0x12c,_0x127e9c=0x64,_0x2b8a0f=()=>{let _0x469057=[],_0x4d1f26=!0x1;return _0x1a6209=>{const _0x3e4469=_0x205f;_0x469057[_0x3e4469(0x20e)](_0x1a6209),_0x4d1f26||(_0x4d1f26=!0x0,setTimeout(()=>{_0x469057['forEach'](_0x4750a5=>_0x4750a5()),_0x469057=[],_0x4d1f26=!0x1;}));};};let _0x3e98cd=class extends _0x20df93['RxDisposable']{constructor(_0x78fe8f,_0x420fcc,_0x4e3dd3,_0x527424,_0x3b2cb0,_0x316997,_0x25cbd2,_0xbb591c){const _0x1e7891=_0x144fb0;super(),_0x3e782f(this,_0x1e7891(0x21f),!0x1),_0x3e782f(this,_0x1e7891(0x198),!0x1),_0x3e782f(this,_0x1e7891(0x1ad),new _0x284d0[(_0x1e7891(0x237))](new Map())),_0x3e782f(this,'cursorInfo$',this['_cursorInfo$'][_0x1e7891(0x17e)]()),_0x3e782f(this,_0x1e7891(0x38a),new _0x284d0[(_0x1e7891(0x237))]([])),_0x3e782f(this,_0x1e7891(0x386),this[_0x1e7891(0x38a)]['pipe'](_0x284d0[_0x1e7891(0x35b)](_0x59d817))),_0x3e782f(this,_0x1e7891(0x269),_0x20df93[_0x1e7891(0x1cc)]((_0x4810aa,_0x3b7c20)=>{const _0x4801af=_0x1e7891,_0x26f166={'eventID':_0x55cc56['CollaborationEvent']['UPDATE_CURSOR'],'data':{'unitID':this[_0x4801af(0x239)],'memberID':this[_0x4801af(0xb0)]['getMemberID'](),'selection':_0x32a48b[_0x4801af(0x256)](_0x4810aa,_0x3b7c20[_0x4801af(0x300)])}};this[_0x4801af(0xb0)][_0x4801af(0x31c)](_0x26f166,this[_0x4801af(0x239)]);},_0x127e9c)),(this['unitID']=_0x78fe8f,this[_0x1e7891(0xb0)]=_0x420fcc,this[_0x1e7891(0x2fc)]=_0x4e3dd3,this['_colorAssignService']=_0x527424,this[_0x1e7891(0x486)]=_0x3b2cb0,this[_0x1e7891(0xc8)]=_0x316997,this[_0x1e7891(0x2d1)]=_0x25cbd2,this[_0x1e7891(0x351)]=_0xbb591c);}get[_0x144fb0(0x35c)](){const _0x3cd244=_0x144fb0;return this[_0x3cd244(0x1ad)][_0x3cd244(0x183)]();}get[_0x144fb0(0xa2)](){const _0x2aea31=_0x144fb0;return this[_0x2aea31(0x38a)][_0x2aea31(0x183)]();}[_0x144fb0(0x320)](){const _0x36c98e=_0x144fb0;super[_0x36c98e(0x320)](),this[_0x36c98e(0x1ad)]['next'](new Map()),this[_0x36c98e(0x1ad)]['complete'](),this[_0x36c98e(0x38a)]['next']([]),this[_0x36c98e(0x38a)][_0x36c98e(0x25e)]();}['init'](){const _0x4ae208=_0x144fb0;this['_init']||(this[_0x4ae208(0x198)]=!0x0,this[_0x4ae208(0xb0)]['sessionStatus$']['pipe'](_0x284d0['takeUntil'](this[_0x4ae208(0x288)]))['subscribe'](_0x22ef43=>{const _0x4c7825=_0x4ae208;_0x22ef43===_0x4d48e1[_0x4c7825(0x16b)]?this[_0x4c7825(0x12c)]():this[_0x4c7825(0x3f6)]();}),this['_session'][_0x4ae208(0x435)][_0x4ae208(0x34d)](_0x284d0[_0x4ae208(0xa0)](this[_0x4ae208(0x288)]))[_0x4ae208(0xda)](_0x4567b7=>{const _0x16b794=_0x4ae208,_0x4f316c=_0x4567b7[_0x16b794(0x109)];_0x4f316c===_0x55cc56['CollaborationEvent']['UPDATE_CURSOR']&&this['_onCursorUpdate'](_0x4567b7),_0x4f316c===_0x55cc56[_0x16b794(0xf4)]['USERS_LEAVE']&&this[_0x16b794(0x2c5)](_0x4567b7);}),this['_onRefRangeChange'](),this[_0x4ae208(0x397)](this[_0x4ae208(0x2d1)][_0x4ae208(0x3f9)](_0x2447f7=>{const _0x45723a=_0x4ae208;if(this[_0x45723a(0x21f)]&&_0x2447f7['id']===_0x5dce24[_0x45723a(0x404)]['id']&&_0x2447f7[_0x45723a(0xa3)]['unitId']===this['unitID']){const _0x5d38fd=_0x2447f7['params'];this['_updateLocalCursor'](_0x5d38fd[_0x45723a(0x248)],_0x5d38fd[_0x45723a(0x3a2)][0x0]);}})));}[_0x144fb0(0xe3)](_0x467f28){const _0xc2ed9f=_0x144fb0;var _0x14a1bf,_0x27ec99;const {memberID:_0x48ab5d,selection:_0x460bcb}=_0x467f28[_0xc2ed9f(0x24b)],{sheetName:_0x5b605b,range:_0x1d1053}=_0x32a48b['deserializeRangeWithSheet'](_0x460bcb),_0x38ae03={'name':(_0x27ec99=(_0x14a1bf=this['_memberService'][_0xc2ed9f(0x93)](this[_0xc2ed9f(0x239)],_0x48ab5d))==null?void 0x0:_0x14a1bf['name'])!=null?_0x27ec99:'Unknown\x20user','range':this[_0xc2ed9f(0x2a4)](_0x5b605b,_0x1d1053),'sheetID':_0x5b605b,'color':this[_0xc2ed9f(0x456)][_0xc2ed9f(0x108)](_0x48ab5d),'selection':_0x460bcb},_0x5e28f5=this[_0xc2ed9f(0x35c)];_0x5e28f5['set'](_0x48ab5d,_0x38ae03),this[_0xc2ed9f(0x1ad)][_0xc2ed9f(0x25d)](_0x5e28f5);}[_0x144fb0(0x2c5)](_0x58d173){const _0x41044e=_0x144fb0,{memberID:_0x8b28d7}=_0x58d173[_0x41044e(0x24b)],_0x58b6b6=this[_0x41044e(0x35c)];_0x58b6b6['delete'](_0x8b28d7),this[_0x41044e(0x1ad)][_0x41044e(0x25d)](_0x58b6b6);}['_getMergeRange'](_0x51dcb2,_0x2d4d4a){const _0x24ca19=_0x144fb0;var _0x3ecb15,_0x7d021c;const _0x3684fc=(_0x7d021c=(_0x3ecb15=this['_univerInstanceService'][_0x24ca19(0x4ab)](this['unitID']))==null?void 0x0:_0x3ecb15[_0x24ca19(0x3ac)](_0x51dcb2))==null?void 0x0:_0x7d021c[_0x24ca19(0x405)]();return(_0x3684fc==null?void 0x0:_0x3684fc[_0x24ca19(0x33d)](_0x2a500d=>_0x20df93['Rectangle'][_0x24ca19(0x380)](_0x2a500d,_0x2d4d4a)))||_0x2d4d4a;}[_0x144fb0(0x219)](){const _0x26bd86=_0x144fb0,_0x514a08=new _0x20df93[(_0x26bd86(0x213))](),_0x255e61=_0x2b8a0f(),_0x288360=()=>{const _0x130014=_0x26bd86;_0x514a08[_0x130014(0x320)]();const _0x56594f=(_0x105f9c,_0x412185,_0x3765e9,_0x4e884f)=>{const _0x5c2db1=_0x130014;let _0xce39b0=[];switch(_0x105f9c['id']){case _0x5dce24[_0x5c2db1(0x3e5)][_0x5c2db1(0x27f)]:{_0xce39b0=_0x5dce24[_0x5c2db1(0x18d)](_0x105f9c,_0x4e884f);break;}case _0x5dce24[_0x5c2db1(0x3e5)][_0x5c2db1(0x451)]:{_0xce39b0=_0x5dce24[_0x5c2db1(0x17a)](_0x105f9c,_0x4e884f);break;}case _0x5dce24[_0x5c2db1(0x3e5)][_0x5c2db1(0x1f0)]:{_0xce39b0=_0x5dce24['handleInsertCol'](_0x105f9c,_0x4e884f);break;}case _0x5dce24['EffectRefRangId'][_0x5c2db1(0x15a)]:{_0xce39b0=_0x5dce24['handleInsertRangeMoveDown'](_0x105f9c,_0x4e884f);break;}case _0x5dce24[_0x5c2db1(0x3e5)][_0x5c2db1(0xf6)]:{_0xce39b0=_0x5dce24[_0x5c2db1(0x10b)](_0x105f9c,_0x4e884f);break;}case _0x5dce24[_0x5c2db1(0x3e5)]['InsertRowCommandId']:{_0xce39b0=_0x5dce24['handleInsertRow'](_0x105f9c,_0x4e884f);break;}case _0x5dce24[_0x5c2db1(0x3e5)][_0x5c2db1(0x4c3)]:{_0xce39b0=_0x5dce24[_0x5c2db1(0x3d2)](_0x105f9c,_0x4e884f);break;}case _0x5dce24[_0x5c2db1(0x3e5)][_0x5c2db1(0x46d)]:{_0xce39b0=_0x5dce24[_0x5c2db1(0x29d)](_0x105f9c,_0x4e884f);break;}case _0x5dce24['EffectRefRangId'][_0x5c2db1(0x201)]:{_0xce39b0=_0x5dce24[_0x5c2db1(0x350)](_0x105f9c,_0x4e884f);break;}}const _0x1bd80d=_0x5dce24[_0x5c2db1(0x390)](_0xce39b0,_0x4e884f),_0x1006cc=this[_0x5c2db1(0x35c)]['get'](_0x412185);if(_0x1006cc&&_0x1bd80d){const _0x35e4b5={..._0x1006cc,'range':_0x1bd80d};this['cursorInfo'][_0x5c2db1(0x271)](_0x412185,_0x35e4b5),_0x255e61(()=>{const _0x13262e=_0x5c2db1,_0x4c8c1c=this['_refRangeService']['registerRefRange'](_0x1bd80d,_0x11f209=>(_0x4c8c1c['dispose'](),_0x56594f(_0x11f209,_0x412185,_0x3765e9,_0x1bd80d)));_0x514a08[_0x13262e(0x4bc)](_0x4c8c1c);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x130014(0x478)]((_0x5ce4ce,_0x365d10)=>{const _0x268200=_0x130014,{range:_0x4ea229,sheetID:_0x704232}=_0x5ce4ce,_0x1c1bab=this[_0x268200(0x351)]['registerRefRange'](_0x4ea229,_0x2fd954=>(_0x1c1bab[_0x268200(0x320)](),_0x56594f(_0x2fd954,_0x365d10,_0x704232,_0x4ea229)));_0x514a08[_0x268200(0x4bc)](_0x1c1bab);});};this[_0x26bd86(0x397)](_0x20df93['toDisposable'](this[_0x26bd86(0x1ad)][_0x26bd86(0xda)](()=>{_0x288360();})));}[_0x144fb0(0x12c)](){const _0x14ce03=_0x144fb0;var _0x42fe64,_0x188513;if(this[_0x14ce03(0x21f)]=!0x0,((_0x42fe64=this['_univerInstanceService'][_0x14ce03(0x138)]())==null?void 0x0:_0x42fe64[_0x14ce03(0x1fd)]())!==this[_0x14ce03(0x239)])return;const _0x416942=(_0x188513=this[_0x14ce03(0x2fc)][_0x14ce03(0x3b8)](_0x5dce24[_0x14ce03(0x205)])[_0x14ce03(0x19a)]())==null?void 0x0:_0x188513[0x0],_0x2b136b=this[_0x14ce03(0xc8)][_0x14ce03(0xe9)](_0x20df93[_0x14ce03(0x441)][_0x14ce03(0x4bf)])['getActiveSheet']();_0x416942&&_0x2b136b&&this[_0x14ce03(0x269)](_0x2b136b[_0x14ce03(0x3c9)](),_0x416942);}[_0x144fb0(0x3f6)](){const _0x1851cd=_0x144fb0;this[_0x1851cd(0x21f)]=!0x1;}};_0x3e98cd=_0x3afc70([_0x3a353f(0x2,_0x20df93[_0x144fb0(0xdd)](_0x20df93['Injector'])),_0x3a353f(0x3,_0x20df93[_0x144fb0(0xdd)](_0x402c47)),_0x3a353f(0x4,_0x20df93[_0x144fb0(0xdd)](_0x513006)),_0x3a353f(0x5,_0x20df93[_0x144fb0(0x292)]),_0x3a353f(0x6,_0x20df93[_0x144fb0(0x338)]),_0x3a353f(0x7,_0x20df93['Inject'](_0x5dce24[_0x144fb0(0x2de)]))],_0x3e98cd);var _0x559282=Object[_0x144fb0(0x395)],_0x4e272a=Object[_0x144fb0(0x457)],_0x20c5d1=(_0x3ce7a2,_0x264e06,_0x51f37c,_0x5ba8cc)=>{const _0x4474b9=_0x144fb0;for(var _0x26cb65=_0x5ba8cc>0x1?void 0x0:_0x5ba8cc?_0x4e272a(_0x264e06,_0x51f37c):_0x264e06,_0x172b64=_0x3ce7a2[_0x4474b9(0x118)]-0x1,_0x3ab2ff;_0x172b64>=0x0;_0x172b64--)(_0x3ab2ff=_0x3ce7a2[_0x172b64])&&(_0x26cb65=(_0x5ba8cc?_0x3ab2ff(_0x264e06,_0x51f37c,_0x26cb65):_0x3ab2ff(_0x26cb65))||_0x26cb65);return _0x5ba8cc&&_0x26cb65&&_0x559282(_0x264e06,_0x51f37c,_0x26cb65),_0x26cb65;},_0x590907=(_0x4ddc65,_0x211168)=>(_0x1b1d32,_0x2a136b)=>_0x211168(_0x1b1d32,_0x2a136b,_0x4ddc65);let _0x297695=class extends _0x20df93[_0x144fb0(0x330)]{constructor(_0x179c82,_0x351185,_0x55cedf){const _0x5e53a5=_0x144fb0;super(),_0x3e782f(this,_0x5e53a5(0x3b0),new Map()),_0x3e782f(this,_0x5e53a5(0x391),new _0x284d0[(_0x5e53a5(0x12d))]()),(this[_0x5e53a5(0xc8)]=_0x179c82,this['_injector']=_0x351185,this[_0x5e53a5(0x4b7)]=_0x55cedf,this[_0x5e53a5(0x198)]());}[_0x144fb0(0x320)](){const _0x165c19=_0x144fb0;super[_0x165c19(0x320)](),this[_0x165c19(0x391)]['complete'](),this[_0x165c19(0x3b0)][_0x165c19(0x478)](_0x707ae0=>_0x707ae0['dispose']());}[_0x144fb0(0x289)](_0xdcbb03){const _0x2d8748=_0x144fb0;return this[_0x2d8748(0x3b0)][_0x2d8748(0x26d)](_0xdcbb03)?this[_0x2d8748(0x3b0)][_0x2d8748(0x3b8)](_0xdcbb03)[_0x2d8748(0x40f)]:this[_0x2d8748(0x391)][_0x2d8748(0x34d)](_0x284d0[_0x2d8748(0x4a2)](_0x3939b4=>_0x3939b4['unitID']===_0xdcbb03),_0x284d0[_0x2d8748(0x383)](_0x3dde71=>_0x3dde71['cursorInfo$']));}[_0x144fb0(0x198)](){const _0x5a7c2a=_0x144fb0;this[_0x5a7c2a(0xc8)][_0x5a7c2a(0x362)](_0x20df93[_0x5a7c2a(0x441)][_0x5a7c2a(0x4bf)])['pipe'](_0x284d0[_0x5a7c2a(0xa0)](this[_0x5a7c2a(0x288)]))[_0x5a7c2a(0xda)](async _0x3f3815=>{const _0x47493=_0x5a7c2a,_0x33f6c9=_0x3f3815[_0x47493(0x1fd)](),_0x3aee7f=await this[_0x47493(0x223)](_0x33f6c9);this['_entityInit$']['next'](_0x3aee7f),this[_0x47493(0x3b0)][_0x47493(0x271)](_0x33f6c9,_0x3aee7f);}),this[_0x5a7c2a(0xc8)][_0x5a7c2a(0x362)](_0x20df93[_0x5a7c2a(0x441)]['UNIVER_DOC'])[_0x5a7c2a(0x34d)](_0x284d0[_0x5a7c2a(0xa0)](this['dispose$']))[_0x5a7c2a(0x34d)](_0x284d0[_0x5a7c2a(0x4a2)](_0x25edad=>!_0x25edad['getUnitId']()[_0x5a7c2a(0x36b)]('__')))[_0x5a7c2a(0xda)](async _0xa67bf6=>{const _0x32e03e=_0x5a7c2a,_0x1b8d3f=_0xa67bf6[_0x32e03e(0x1fd)](),_0x522506=await this[_0x32e03e(0x159)](_0x1b8d3f);this[_0x32e03e(0x391)][_0x32e03e(0x25d)](_0x522506),this['_entities'][_0x32e03e(0x271)](_0x1b8d3f,_0x522506);}),_0x284d0[_0x5a7c2a(0x8c)](this[_0x5a7c2a(0xc8)][_0x5a7c2a(0x1a1)](_0x20df93[_0x5a7c2a(0x441)][_0x5a7c2a(0x126)]),this[_0x5a7c2a(0xc8)][_0x5a7c2a(0x1a1)](_0x20df93[_0x5a7c2a(0x441)][_0x5a7c2a(0x4bf)]))[_0x5a7c2a(0x34d)](_0x284d0['takeUntil'](this[_0x5a7c2a(0x288)]))[_0x5a7c2a(0xda)](_0x3d41d0=>{const _0x55b6f2=_0x5a7c2a,_0x4c4e98=_0x3d41d0['getUnitId'](),_0x19f066=this[_0x55b6f2(0x3b0)][_0x55b6f2(0x3b8)](_0x4c4e98);_0x19f066&&(_0x19f066[_0x55b6f2(0x320)](),this[_0x55b6f2(0x3b0)][_0x55b6f2(0x32d)](_0x4c4e98));});}async['_startSheetCollabCursor'](_0x4274ae){const _0xc9f24c=_0x144fb0,_0x26bf5b=await this[_0xc9f24c(0x4b7)][_0xc9f24c(0x24e)](_0x4274ae),_0x5be08a=this[_0xc9f24c(0x2fc)][_0xc9f24c(0x2f6)](_0x3e98cd,_0x4274ae,_0x26bf5b);return _0x5be08a[_0xc9f24c(0x1e3)](),_0x5be08a;}async[_0x144fb0(0x159)](_0xb415a){const _0x180436=_0x144fb0,_0x2cedb4=await this[_0x180436(0x4b7)][_0x180436(0x24e)](_0xb415a),_0x113bdf=this['_injector'][_0x180436(0x2f6)](_0x46da6f,_0xb415a,_0x2cedb4);return _0x113bdf[_0x180436(0x1e3)](),_0x113bdf;}};_0x297695=_0x20c5d1([_0x590907(0x0,_0x20df93[_0x144fb0(0x292)]),_0x590907(0x1,_0x20df93[_0x144fb0(0xdd)](_0x20df93['Injector'])),_0x590907(0x2,_0x20df93['Inject'](_0x4c8f94['CollaborationSessionService']))],_0x297695);const _0x6a963a=0x14,_0x2bd738=0xc8,_0x19fa35=0x4,_0x4d6665=0x5;function _0x9a4a7c(_0x3fde36,_0x2dfd92){const _0x5567b4=_0x144fb0;let {radius:_0x2562d8,width:_0x27cf61,height:_0x466dac}=_0x2dfd92;_0x2562d8=_0x2562d8!=null?_0x2562d8:0x0,_0x27cf61=_0x27cf61!=null?_0x27cf61:0x1e,_0x466dac=_0x466dac!=null?_0x466dac:0x1e;let _0x54cfc8=0x0,_0x212237=0x0,_0x16975e=0x0;_0x54cfc8=_0x212237=_0x16975e=Math[_0x5567b4(0x116)](_0x2562d8,_0x27cf61/0x2,_0x466dac/0x2),_0x3fde36[_0x5567b4(0x110)](),_0x3fde36[_0x5567b4(0xbf)](_0x54cfc8,0x0),_0x3fde36[_0x5567b4(0x3ca)](_0x27cf61-_0x212237,0x0),_0x3fde36[_0x5567b4(0x167)](_0x27cf61-_0x212237,_0x212237,_0x212237,Math['PI']*0x3/0x2,0x0,!0x1),_0x3fde36[_0x5567b4(0x3ca)](_0x27cf61,_0x466dac-_0x16975e),_0x3fde36[_0x5567b4(0x167)](_0x27cf61-_0x16975e,_0x466dac-_0x16975e,_0x16975e,0x0,Math['PI']/0x2,!0x1),_0x3fde36[_0x5567b4(0x3ca)](0x0,_0x466dac),_0x3fde36[_0x5567b4(0x3ca)](0x0,_0x54cfc8),_0x3fde36['arc'](_0x54cfc8,_0x54cfc8,_0x54cfc8,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x3fde36[_0x5567b4(0x2af)](),_0x2dfd92[_0x5567b4(0x43c)]&&(_0x3fde36[_0x5567b4(0x450)](),_0x3fde36[_0x5567b4(0x3fb)]=_0x2dfd92['fill'],_0x2dfd92[_0x5567b4(0x165)]===_0x5567b4(0x45d)?_0x3fde36[_0x5567b4(0x43c)](_0x5567b4(0x45d)):_0x3fde36[_0x5567b4(0x43c)](),_0x3fde36[_0x5567b4(0x11b)]());}class _0x33c884 extends _0x1ff35a['Shape']{constructor(_0x1bae8e,_0x2f354d){const _0x8f2ea1=_0x144fb0;super(_0x1bae8e,_0x2f354d),_0x3e782f(this,_0x8f2ea1(0x423)),_0x3e782f(this,_0x8f2ea1(0xe1)),(this[_0x8f2ea1(0x423)]=_0x2f354d==null?void 0x0:_0x2f354d[_0x8f2ea1(0x423)],this[_0x8f2ea1(0xe1)]=_0x2f354d==null?void 0x0:_0x2f354d[_0x8f2ea1(0xe1)]);}static[_0x144fb0(0x3f0)](_0x4e13e8,_0x2ab5a9){const _0x579a86=_0x144fb0,{text:_0x6a5f71,color:_0x42a0e4}=_0x2ab5a9;_0x4e13e8[_0x579a86(0x450)](),_0x4e13e8[_0x579a86(0x245)]=_0x579a86(0x4c8);const _0x37a24b=_0x4e13e8[_0x579a86(0x4ad)](_0x6a5f71)[_0x579a86(0x337)],_0x4644c2=Math['min'](_0x37a24b+0x2*_0x19fa35,_0x2bd738);_0x9a4a7c(_0x4e13e8,{'height':_0x6a963a,'radius':0x4,'width':_0x4644c2,'fill':_0x42a0e4,'evented':!0x1}),_0x4e13e8[_0x579a86(0x3fb)]=_0x579a86(0x325);const _0x116b6a=_0x19fa35,_0x4fce19=_0x6a963a-_0x4d6665,_0x38e57e=_0x2bd738-0x2*_0x19fa35;if(_0x37a24b>_0x38e57e){let _0x238b0a='',_0x4e6bd7=0x0;for(const _0x16c289 of _0x6a5f71){const _0x4ca74e=_0x4e13e8[_0x579a86(0x4ad)](_0x16c289)[_0x579a86(0x337)];if(_0x4e6bd7+_0x4ca74e<=_0x38e57e-_0x4e13e8[_0x579a86(0x4ad)](_0x579a86(0x1a5))[_0x579a86(0x337)])_0x238b0a+=_0x16c289,_0x4e6bd7+=_0x4ca74e;else{_0x238b0a+=_0x579a86(0x1a5);break;}}_0x4e13e8[_0x579a86(0xa7)](_0x238b0a,_0x116b6a,_0x4fce19);}else _0x4e13e8['fillText'](_0x6a5f71,_0x116b6a,_0x4fce19);_0x4e13e8[_0x579a86(0x11b)]();}[_0x144fb0(0x493)](_0x192bfb){const _0x4b3e01=_0x144fb0;_0x33c884[_0x4b3e01(0x3f0)](_0x192bfb,this);}}const _0x4367a0=_0x144fb0(0x229),_0xcbdac6=_0x144fb0(0x4ba),_0x5768f1='collab-rect-range-',_0x246196=0x6,_0x370a2d=1.5,_0x3e448a=0x4,_0x539f7e=1.5,_0x362036=_0x144fb0(0x2d6);class _0x2226fc{constructor(_0x19303d,_0x1a1ed4,_0x5e7f93,_0x3c9817){const _0x38e537=_0x144fb0;_0x3e782f(this,_0x38e537(0x3cb),[]),_0x3e782f(this,_0x38e537(0x2fe),null),_0x3e782f(this,_0x38e537(0x44c),null),_0x3e782f(this,_0x38e537(0x95),null),_0x3e782f(this,_0x38e537(0x29f),null),_0x3e782f(this,_0x38e537(0x1d8),null),(this['_cursor']=_0x19303d,this[_0x38e537(0x1e9)]=_0x1a1ed4,this['_docSkeleton']=_0x5e7f93,this['_document']=_0x3c9817,this[_0x38e537(0x275)]());}set[_0x144fb0(0x313)](_0x2740f0){const _0x552596=_0x144fb0;_0x2740f0?(this[_0x552596(0x95)]&&this[_0x552596(0x95)][_0x552596(0x31e)](),this[_0x552596(0x44c)]&&this[_0x552596(0x44c)]['show']()):(this[_0x552596(0x95)]&&this[_0x552596(0x95)][_0x552596(0x429)](),this[_0x552596(0x44c)]&&this[_0x552596(0x44c)]['hide']());}[_0x144fb0(0x320)](){const _0x10a00f=_0x144fb0;for(const _0x33e90f of this['_shapes'])_0x33e90f['dispose']();this[_0x10a00f(0x44c)]&&this[_0x10a00f(0x44c)]['dispose'](),this[_0x10a00f(0x95)]&&this[_0x10a00f(0x95)]['dispose'](),this[_0x10a00f(0x2fe)]&&this[_0x10a00f(0x2fe)][_0x10a00f(0x320)](),this[_0x10a00f(0x1d8)]&&this['_eventUnsubscribe']();}['_render'](){const _0x28f382=_0x144fb0;var _0x3e3fd9;const {_docSkeleton:_0x1020e3,_document:_0x2730ca}=this,{color:_0x5bd645,name:_0x287c6f,ranges:_0x11d6af}=this[_0x28f382(0x230)],_0x3eee8a=_0x2730ca[_0x28f382(0x228)](),{docsLeft:_0x88fb2c,docsTop:_0xc27d33}=_0x3eee8a,_0xd48055=new _0x3b39ef[(_0x28f382(0x474))](_0x3eee8a,_0x1020e3);for(const {startOffset:_0x23bba7,endOffset:_0x18ff3b,collapsed:_0x3420a7,isActive:_0x1ede37}of _0x11d6af){const _0x2ae635=_0x1020e3['findNodePositionByCharIndex'](_0x23bba7),_0xfdc105=_0x1020e3[_0x28f382(0x9b)](_0x18ff3b);if(_0x1ede37){const {contentBoxPointGroup:_0x168c17}=_0xd48055['getRangePointData'](_0xfdc105,_0xfdc105);if(_0x168c17[_0x28f382(0x118)]===0x0)continue;this['_drawAnchor'](_0x5bd645,_0x168c17,_0x88fb2c,_0xc27d33,_0x287c6f),this[_0x28f382(0x1d8)]=this[_0x28f382(0x2df)]();}if(!_0x3420a7&&_0x2ae635&&_0xfdc105){if(_0x3b39ef[_0x28f382(0x195)](_0x2ae635,_0xfdc105)){const _0x3de491=new _0x3b39ef['NodePositionConvertToRectRange'](_0x3eee8a,_0x1020e3),{pointGroup:_0x598988}=(_0x3e3fd9=_0x3de491[_0x28f382(0x326)](_0x2ae635,_0xfdc105))!=null?_0x3e3fd9:{};if(_0x598988==null||_0x598988['length']===0x0)continue;this[_0x28f382(0xaa)](_0x5bd645,_0x598988,_0x88fb2c,_0xc27d33);}else{const {contentBoxPointGroup:_0x3d5fd0}=_0xd48055['getRangePointData'](_0x2ae635,_0xfdc105);if(_0x3d5fd0[_0x28f382(0x118)]===0x0)continue;this[_0x28f382(0xbd)](_0x5bd645,_0x3d5fd0,_0x88fb2c,_0xc27d33);}}}}[_0x144fb0(0x240)](_0x3543f3,_0x5de9dc,_0xaa8797,_0x42e931,_0x118f77){const _0x19d380=_0x144fb0,_0x482299=this[_0x19d380(0x106)](_0x5de9dc),{left:_0x63b11e,top:_0x59340a,height:_0x568c1c}=_0x482299,_0x3c15fa=this['_getScale'](),_0xe79e6d=_0x539f7e/_0x3c15fa,_0xf1d915=new _0x1ff35a[(_0x19d380(0x36d))](_0x4367a0+_0x20df93[_0x19d380(0x1c4)][_0x19d380(0xd9)](_0x246196),{'left':_0x63b11e+_0xaa8797-_0xe79e6d,'top':_0x59340a+_0x42e931,'height':_0x568c1c,'width':_0x370a2d,'fill':_0x3543f3||_0x1ff35a['getColor'](_0x20df93[_0x19d380(0x3ba)]['black'],0x0),'strokeWidth':_0xe79e6d,'stroke':_0x362036,'evented':!0x0});this[_0x19d380(0x2fe)]=_0xf1d915,this['_scene'][_0x19d380(0x217)](_0xf1d915,_0x3b39ef[_0x19d380(0x2d9)]);const _0x4a2f91=new _0x1ff35a['Rect'](_0x4367a0+_0x20df93[_0x19d380(0x1c4)]['generateRandomId'](_0x246196),{'left':_0x63b11e+_0xaa8797-_0xe79e6d,'top':_0x59340a+_0x42e931-_0x3e448a/0x2,'height':_0x3e448a,'width':_0x3e448a,'fill':_0x3543f3||_0x1ff35a['getColor'](_0x20df93[_0x19d380(0x3ba)]['black'],0x0),'strokeWidth':0x0,'stroke':_0x3543f3||_0x1ff35a['getColor'](_0x20df93['COLORS'][_0x19d380(0x1ae)],0x0),'evented':!0x1});this[_0x19d380(0x95)]=_0x4a2f91,this['_scene'][_0x19d380(0x217)](_0x4a2f91,_0x3b39ef[_0x19d380(0x2d9)]);const _0x3a9414=new _0x33c884(_0x4367a0+_0x20df93[_0x19d380(0x1c4)][_0x19d380(0xd9)](_0x246196),{'left':_0x63b11e+_0xaa8797-_0xe79e6d,'top':_0x59340a+_0x42e931-_0x6a963a,'text':_0x118f77,'color':_0x3543f3});this[_0x19d380(0x44c)]=_0x3a9414,this[_0x19d380(0x1e9)]['addObject'](_0x3a9414,_0x3b39ef[_0x19d380(0x2d9)]),this[_0x19d380(0x313)]=!0x1;}[_0x144fb0(0x2df)](){const _0x5600db=_0x144fb0,_0x4d12d9=this['_anchor']['onPointerEnter$'][_0x5600db(0x421)](()=>{const _0xd29e37=_0x5600db;this[_0xd29e37(0x313)]=!0x0;}),_0x452fed=this[_0x5600db(0x2fe)]['onPointerLeave$'][_0x5600db(0x421)](()=>{const _0x2dbbc3=_0x5600db;this['_hideTimer']&&clearTimeout(this[_0x2dbbc3(0x29f)]),this['_hideTimer']=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x4bac66=_0x5600db;_0x4d12d9['unsubscribe'](),_0x452fed[_0x4bac66(0x128)]();};}[_0x144fb0(0xbd)](_0x19c170,_0x260e6d,_0x5ab8e1,_0x3802ae){const _0x285078=_0x144fb0,_0x3b25e8=new _0x20df93[(_0x285078(0xfb))](_0x19c170)[_0x285078(0x446)](0.2)[_0x285078(0x40b)](),_0xefdcd7=new _0x1ff35a[(_0x285078(0x361))](_0xcbdac6+_0x20df93['Tools']['generateRandomId'](_0x246196),{'pointsGroup':_0x260e6d,'fill':_0x3b25e8||_0x1ff35a[_0x285078(0x3e9)](_0x20df93[_0x285078(0x3ba)]['black'],0.2),'left':_0x5ab8e1,'top':_0x3802ae,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x285078(0x3cb)][_0x285078(0x20e)](_0xefdcd7),this[_0x285078(0x1e9)][_0x285078(0x217)](_0xefdcd7,_0x3b39ef['TEXT_RANGE_LAYER_INDEX']);}[_0x144fb0(0xaa)](_0x554b2d,_0x442bf8,_0x4b270c,_0x5c1239){const _0x32f0e6=_0x144fb0,_0x82351c=new _0x20df93[(_0x32f0e6(0xfb))](_0x554b2d)['setAlpha'](0.2)[_0x32f0e6(0x40b)](),_0x2d7e4c=new _0x1ff35a[(_0x32f0e6(0x361))](_0x5768f1+_0x20df93[_0x32f0e6(0x1c4)][_0x32f0e6(0xd9)](_0x246196),{'pointsGroup':_0x442bf8,'fill':_0x82351c||_0x1ff35a[_0x32f0e6(0x3e9)](_0x20df93[_0x32f0e6(0x3ba)][_0x32f0e6(0x1ae)],0.2),'left':_0x4b270c,'top':_0x5c1239,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x32f0e6(0x3cb)]['push'](_0x2d7e4c),this[_0x32f0e6(0x1e9)][_0x32f0e6(0x217)](_0x2d7e4c,_0x3b39ef[_0x32f0e6(0x2d9)]);}[_0x144fb0(0x106)](_0x2c1b26){const _0x18f771=_0x2c1b26[0x0],_0x4581e1=_0x18f771[0x0],_0x30012a=_0x18f771[0x2],{x:_0x3c1f1e,y:_0x505c94}=_0x4581e1,{x:_0x98c3d3,y:_0x41b7c6}=_0x30012a;return{'left':_0x3c1f1e,'top':_0x505c94,'width':_0x98c3d3-_0x3c1f1e,'height':_0x41b7c6-_0x505c94};}[_0x144fb0(0x2ee)](){const _0x2c256e=_0x144fb0,{scaleX:_0x2e769,scaleY:_0x2228f0}=this[_0x2c256e(0x1e9)]['getAncestorScale']();return Math[_0x2c256e(0x480)](_0x2e769,_0x2228f0);}}var _0x3f67c7=Object[_0x144fb0(0x395)],_0xe0a14a=Object[_0x144fb0(0x457)],_0x1ef824=(_0x59c59f,_0xcc0cbc,_0x502f93,_0x1181ec)=>{for(var _0x25a407=_0x1181ec>0x1?void 0x0:_0x1181ec?_0xe0a14a(_0xcc0cbc,_0x502f93):_0xcc0cbc,_0x3cc871=_0x59c59f['length']-0x1,_0x3c5459;_0x3cc871>=0x0;_0x3cc871--)(_0x3c5459=_0x59c59f[_0x3cc871])&&(_0x25a407=(_0x1181ec?_0x3c5459(_0xcc0cbc,_0x502f93,_0x25a407):_0x3c5459(_0x25a407))||_0x25a407);return _0x1181ec&&_0x25a407&&_0x3f67c7(_0xcc0cbc,_0x502f93,_0x25a407),_0x25a407;},_0x3779a3=(_0x5285ce,_0x8477c9)=>(_0x312c76,_0x5237af)=>_0x8477c9(_0x312c76,_0x5237af,_0x5285ce);let _0x10cc5e=class extends _0x20df93[_0x144fb0(0x330)]{constructor(_0x422035,_0x5ce52d,_0x47fed1,_0x1b4b27,_0x54cecb){const _0x3edd62=_0x144fb0;super(),_0x3e782f(this,_0x3edd62(0x19b),[]),_0x3e782f(this,_0x3edd62(0xa8),[]),(this[_0x3edd62(0x490)]=_0x422035,this[_0x3edd62(0x33f)]=_0x5ce52d,this['_collabCursorController']=_0x47fed1,this[_0x3edd62(0x2d1)]=_0x1b4b27,this[_0x3edd62(0x35e)]=_0x54cecb,this['_init']());}['_init'](){const _0xd13a25=_0x144fb0,_0x2de294=this['_context'][_0xd13a25(0x1b7)],_0x565b24=this[_0xd13a25(0x33f)];this['disposeWithMe'](_0x284d0['combineLatest']([this[_0xd13a25(0x257)]['getCollabCursors$'](_0x2de294),this[_0xd13a25(0x35e)][_0xd13a25(0x2d7)]])[_0xd13a25(0x34d)](_0x3e7ea3[_0xd13a25(0x296)](([_0x3f4eda,_0x2154b1])=>({'skeleton':_0x565b24[_0xd13a25(0x134)](),'cursors':[..._0x3f4eda[_0xd13a25(0x18b)]()][_0xd13a25(0x445)](_0x388456=>({..._0x388456,'color':_0x2154b1[_0x388456[_0xd13a25(0x423)]]}))})))[_0xd13a25(0xda)](_0x3274f8=>{const _0x24b995=_0xd13a25;if(this[_0x24b995(0x267)](),_0x3274f8){const {skeleton:_0xc1898b,cursors:_0x5e3c36}=_0x3274f8;this[_0x24b995(0x484)](_0xc1898b,_0x5e3c36);}})),this[_0xd13a25(0xbc)](),this[_0xd13a25(0x258)]();}[_0x144fb0(0x484)](_0x2dbc72,_0x3fbeba){const _0x31e732=_0x144fb0,{scene:_0x2fa01d,mainComponent:_0x3f40a9}=this['_context'],_0x266686=_0x3fbeba[_0x31e732(0x296)](_0x4945df=>new _0x2226fc(_0x4945df,_0x2fa01d,_0x2dbc72,_0x3f40a9));this[_0x31e732(0x19b)]=_0x266686,this[_0x31e732(0xa8)]=_0x3fbeba;}[_0x144fb0(0x339)](){const _0xb9aa16=_0x144fb0;this[_0xb9aa16(0x267)]();const {scene:_0x2eb3ad,mainComponent:_0x3a641f}=this['_context'],_0x3ad12d=this[_0xb9aa16(0x33f)][_0xb9aa16(0x134)](),_0x39f0df=this['_cursors'][_0xb9aa16(0x296)](_0x46144a=>new _0x2226fc(_0x46144a,_0x2eb3ad,_0x3ad12d,_0x3a641f));this[_0xb9aa16(0x19b)]=_0x39f0df;}[_0x144fb0(0x267)](){const _0x53fa5a=_0x144fb0;this['_cursorShapes'][_0x53fa5a(0x478)](_0x48f554=>_0x48f554[_0x53fa5a(0x320)]()),this[_0x53fa5a(0x19b)]=[];}[_0x144fb0(0x258)](){const _0x4130a4=_0x144fb0,_0x2577d1=[_0x3b39ef[_0x4130a4(0x3d6)]['id']];this['disposeWithMe'](this['_commandService'][_0x4130a4(0x3f9)](_0x45b2b6=>{const _0x5d064b=_0x4130a4;_0x2577d1[_0x5d064b(0xdb)](_0x45b2b6['id'])&&_0x45b2b6[_0x5d064b(0xa3)][_0x5d064b(0x1b7)]===this[_0x5d064b(0x490)]['unitId']&&this[_0x5d064b(0x339)]();}));}['_initResize'](){const _0x35bb09=_0x144fb0;this['disposeWithMe'](_0x20df93[_0x35bb09(0x454)](this['_context'][_0x35bb09(0x153)][_0x35bb09(0x259)])[_0x35bb09(0x34d)](_0x3e7ea3[_0x35bb09(0x4a2)](_0x18f770=>_0x18f770['type']===_0x1ff35a[_0x35bb09(0x4a9)][_0x35bb09(0x1f7)]),_0x3e7ea3[_0x35bb09(0x182)](0x10))[_0x35bb09(0xda)](()=>{const _0x5e832c=_0x35bb09;this[_0x5e832c(0x339)]();}));}};_0x10cc5e=_0x1ef824([_0x3779a3(0x1,_0x20df93[_0x144fb0(0xdd)](_0x280e9c[_0x144fb0(0x104)])),_0x3779a3(0x2,_0x20df93[_0x144fb0(0xdd)](_0x297695)),_0x3779a3(0x3,_0x20df93[_0x144fb0(0x338)]),_0x3779a3(0x4,_0x20df93[_0x144fb0(0xdd)](_0x20df93[_0x144fb0(0x190)]))],_0x10cc5e);const _0x48b74e=0x1,_0x507eb3=1.5;class _0x128851 extends _0x1ff35a['Shape']{constructor(_0x5caf59,_0x431e21){const _0x114d10=_0x144fb0;super(_0x5caf59,_0x431e21),_0x3e782f(this,_0x114d10(0x45e)),_0x3e782f(this,_0x114d10(0x349),!0x1),_0x3e782f(this,_0x114d10(0x13e)),_0x3e782f(this,_0x114d10(0x163),''),_0x3e782f(this,_0x114d10(0xa5),_0x114d10(0x3ee)),_0x3e782f(this,'_backgroundColor'),(_0x431e21&&this[_0x114d10(0x331)](_0x431e21),this[_0x114d10(0x3aa)][_0x114d10(0x421)](()=>this[_0x114d10(0x331)]({'hovered':!0x0})),this[_0x114d10(0x3d5)]['subscribeEvent'](()=>this[_0x114d10(0x331)]({'hovered':!0x1})));}['setShapeProps'](_0x22d4bf){const _0x2f7ca0=_0x144fb0;var _0x4a5994,_0x1c3b32,_0x59e4ba,_0x2905bd,_0xa57f20,_0x30358f;this['_color']=(_0x4a5994=_0x22d4bf[_0x2f7ca0(0x423)])!=null?_0x4a5994:this[_0x2f7ca0(0x45e)],this[_0x2f7ca0(0x349)]=(_0x1c3b32=_0x22d4bf[_0x2f7ca0(0x1a4)])!=null?_0x1c3b32:this['_hovered'],this[_0x2f7ca0(0x13e)]=(_0x59e4ba=_0x22d4bf['range'])!=null?_0x59e4ba:this[_0x2f7ca0(0x13e)],this[_0x2f7ca0(0x163)]=(_0x2905bd=_0x22d4bf[_0x2f7ca0(0x2b4)])!=null?_0x2905bd:this[_0x2f7ca0(0x163)],this['_labelPosition']=(_0xa57f20=_0x22d4bf['labelPosition'])!=null?_0xa57f20:this[_0x2f7ca0(0xa5)],this['_backgroundColor']=(_0x30358f=_0x22d4bf[_0x2f7ca0(0xcb)])!=null?_0x30358f:this[_0x2f7ca0(0x403)],this[_0x2f7ca0(0x1f1)]({'width':_0x22d4bf[_0x2f7ca0(0x337)],'height':_0x22d4bf['height']});}[_0x144fb0(0x13a)](_0x162336){const _0x4c68a4=_0x144fb0,{row:_0x9a4ade,column:_0x3a718e}=_0x162336;if(_0x9a4ade>=this[_0x4c68a4(0x13e)][_0x4c68a4(0x3f7)]&&_0x9a4ade<=this['_range']['endRow']&&_0x3a718e>=this[_0x4c68a4(0x13e)][_0x4c68a4(0x1a3)]&&_0x3a718e<=this[_0x4c68a4(0x13e)][_0x4c68a4(0x2c3)]){this['setShapeProps']({'hovered':!0x0});return;}this[_0x4c68a4(0x331)]({'hovered':!0x1});}[_0x144fb0(0x2ec)](_0x206db8){return!0x1;}[_0x144fb0(0x493)](_0x487660){const _0x5151c7=_0x144fb0;_0x1ff35a[_0x5151c7(0x36d)][_0x5151c7(0x3f0)](_0x487660,{'width':this['width'],'height':this[_0x5151c7(0xc7)],'strokeWidth':_0x507eb3,'stroke':this[_0x5151c7(0x45e)],'evented':!0x1,'fill':this[_0x5151c7(0x403)]}),this[_0x5151c7(0x349)]&&(_0x487660[_0x5151c7(0x450)](),_0x487660[_0x5151c7(0x425)](0x1,0x0,0x0,0x1,this[_0x5151c7(0x337)],this['_labelPosition']===_0x5151c7(0x114)?0x0:-_0x6a963a),_0x33c884[_0x5151c7(0x3f0)](_0x487660,{'text':this[_0x5151c7(0x163)],'color':this[_0x5151c7(0x45e)]}),_0x487660['restore']());}}var _0x51061b=Object['defineProperty'],_0x329e73=Object[_0x144fb0(0x457)],_0x422072=(_0xc26b50,_0x55be7d,_0x212c58,_0x13fecd)=>{const _0x5092fd=_0x144fb0;for(var _0x5bddb0=_0x13fecd>0x1?void 0x0:_0x13fecd?_0x329e73(_0x55be7d,_0x212c58):_0x55be7d,_0x1ec9eb=_0xc26b50[_0x5092fd(0x118)]-0x1,_0x462609;_0x1ec9eb>=0x0;_0x1ec9eb--)(_0x462609=_0xc26b50[_0x1ec9eb])&&(_0x5bddb0=(_0x13fecd?_0x462609(_0x55be7d,_0x212c58,_0x5bddb0):_0x462609(_0x5bddb0))||_0x5bddb0);return _0x13fecd&&_0x5bddb0&&_0x51061b(_0x55be7d,_0x212c58,_0x5bddb0),_0x5bddb0;},_0x31e32c=(_0x27483e,_0x42d326)=>(_0x157829,_0x3eed61)=>_0x42d326(_0x157829,_0x3eed61,_0x27483e);const _0x5c43d8=0x1389;let _0x2b682d=class extends _0x20df93[_0x144fb0(0x330)]{constructor(_0x1b3d26,_0x14ac3a,_0xeb011c,_0x3df875){const _0x3dc08f=_0x144fb0;super(),_0x3e782f(this,_0x3dc08f(0xa8),new Set()),_0x3e782f(this,_0x3dc08f(0x48e),null),(this[_0x3dc08f(0x490)]=_0x1b3d26,this[_0x3dc08f(0x2a9)]=_0x14ac3a,this[_0x3dc08f(0x257)]=_0xeb011c,this[_0x3dc08f(0x35e)]=_0x3df875,this[_0x3dc08f(0x198)]());}[_0x144fb0(0x198)](){const _0x202771=_0x144fb0;this['_sheetSkeletonManagerService'][_0x202771(0x111)][_0x202771(0x34d)](_0x3e7ea3[_0x202771(0xa0)](this[_0x202771(0x288)]),_0x3e7ea3[_0x202771(0x383)](_0x4aa6e6=>{const _0x4bed3a=_0x202771;if(_0x4aa6e6){const _0x46ce9f=_0x4aa6e6[_0x4bed3a(0x24c)];return _0x284d0['combineLatest'](this[_0x4bed3a(0x257)][_0x4bed3a(0x289)](this[_0x4bed3a(0x490)][_0x4bed3a(0x1b7)]),this[_0x4bed3a(0x35e)][_0x4bed3a(0x2d7)])['pipe'](_0x3e7ea3[_0x4bed3a(0x296)](([_0x437b82,_0x18c478])=>{const _0x5e07db=_0x4bed3a,_0x423e74=new Map();return _0x437b82[_0x5e07db(0x478)]((_0x2deacc,_0x470fa9)=>{const _0x5cebab=_0x5e07db;if(_0x2deacc[_0x5cebab(0x1fa)]===_0x46ce9f){const _0x299fb3={..._0x2deacc};_0x299fb3[_0x5cebab(0x423)]=_0x18c478[_0x2deacc[_0x5cebab(0x423)]],_0x423e74[_0x5cebab(0x271)](_0x470fa9,_0x299fb3);}}),{'skeleton':_0x4aa6e6,'cursors':_0x423e74};}));}return _0x284d0['of']({'skeleton':null,'cursors':new Map()});}))[_0x202771(0xda)](({skeleton:_0x375a76,cursors:_0x4299aa})=>{const _0x2526e2=_0x202771;this[_0x2526e2(0x267)](),_0x375a76&&this[_0x2526e2(0x484)](_0x375a76,_0x4299aa);}),this[_0x202771(0x2a9)][_0x202771(0x111)]['subscribe'](_0x29f50b=>{const _0x46e10b=_0x202771;if(_0x29f50b==null)return;const {skeleton:_0x2ad333}=_0x29f50b,{scene:_0x584f0a}=this[_0x46e10b(0x490)];_0x584f0a[_0x46e10b(0x1b2)][_0x46e10b(0x421)](_0x20df93[_0x46e10b(0x1cc)](_0x2bc3eb=>{const _0x5425dd=_0x46e10b;var _0x45c014,_0x13ba17;const {offsetX:_0x5cce99,offsetY:_0x4afbdc}=_0x2bc3eb,{x:_0x326f61,y:_0x1804c8}=_0x584f0a['getRelativeToViewportCoord'](_0x1ff35a[_0x5425dd(0x374)]['FromArray']([_0x5cce99,_0x4afbdc])),{scaleX:_0x4a2470,scaleY:_0x5cce14}=_0x584f0a[_0x5425dd(0x1ab)](),_0xac8f02=_0x584f0a['getViewport'](_0xf53409[_0x5425dd(0x3d9)][_0x5425dd(0xcd)]),_0xe53e04=_0x584f0a[_0x5425dd(0x1f5)](_0x1ff35a['Vector2'][_0x5425dd(0x2f7)]([_0x326f61,_0x1804c8]),_0xac8f02),_0x542821=_0x2ad333[_0x5425dd(0x1f4)](_0x5cce99,_0x4afbdc,_0x4a2470,_0x5cce14,_0xe53e04);((_0x45c014=this[_0x5425dd(0x48e)])==null?void 0x0:_0x45c014['column'])===_0x542821[_0x5425dd(0x440)]&&((_0x13ba17=this[_0x5425dd(0x48e)])==null?void 0x0:_0x13ba17[_0x5425dd(0x3a3)])===_0x542821[_0x5425dd(0x3a3)]||this[_0x5425dd(0xa8)][_0x5425dd(0x478)](_0x4aeb67=>{_0x4aeb67['onMouseMove'](_0x542821);});},0x64));});}[_0x144fb0(0x484)](_0x3cb232,_0x7e2ee8){const _0x2918ec=_0x144fb0;var _0x4ff0c7;const _0x539ec7=(_0x4ff0c7=this[_0x2918ec(0x2a9)][_0x2918ec(0x365)]())==null?void 0x0:_0x4ff0c7['skeleton'];if(!_0x539ec7)return;const _0x44189f=this[_0x2918ec(0x120)]();if(!_0x44189f)return;this['_cursors'][_0x2918ec(0x478)](_0x46a3fd=>{const _0x14a0be=_0x2918ec;_0x46a3fd[_0x14a0be(0x428)]();});const {scene:_0x15c3f4}=_0x44189f,_0x1e0e31=_0x52ee29(Array['from'](_0x7e2ee8[_0x2918ec(0x18b)]()))[_0x2918ec(0x296)](_0x172b47=>{const _0x4810b2=_0x2918ec,{color:_0x452de0,range:_0x2811d4,name:_0x31c213,selection:_0x5cf537,sheetID:_0x5211f8}=_0x172b47,{startColumn:_0xeae94b,startRow:_0x4e1091,endColumn:_0x468181,endRow:_0x3bdb6a}=_0x2811d4,_0x3aadcb=_0xf53409['getCoordByCell'](_0x4e1091,_0xeae94b,_0x15c3f4,_0x539ec7),_0x598ae8=_0xf53409['getCoordByCell'](_0x3bdb6a,_0x468181,_0x15c3f4,_0x539ec7),{columnHeaderHeightAndMarginTop:_0x6a1f}=_0x539ec7,{startX:_0x5c8196,startY:_0x45b235}=_0x3aadcb,{endX:_0x17c5ae,endY:_0x2aad38}=_0x598ae8,_0x409b72=_0x17c5ae-_0x5c8196,_0x3aea2d=_0x2aad38-_0x45b235,_0x325a3f={'labelPosition':_0x45b235-_0x6a1f>=_0x6a963a?_0x4810b2(0x3ee):_0x4810b2(0x114),'sheetID':_0x5211f8,'range':_0x2811d4,'color':_0x452de0,'name':_0x31c213,'selection':_0x5cf537,'left':_0x5c8196,'top':_0x45b235,'width':_0x409b72,'height':_0x3aea2d,'evented':!0x1,'zIndex':_0x5c43d8};return new _0x128851(_0x31c213,_0x325a3f);});_0x15c3f4[_0x2918ec(0x301)](_0x1e0e31,_0x48b74e),this[_0x2918ec(0xa8)]=new Set(_0x1e0e31);}[_0x144fb0(0x267)](){const _0x1d9402=_0x144fb0;var _0x107a23;(_0x107a23=this[_0x1d9402(0xa8)])==null||_0x107a23[_0x1d9402(0x478)](_0x48af9b=>_0x48af9b['dispose']());}[_0x144fb0(0x120)](){const _0x23c6f8=_0x144fb0;return _0xf53409[_0x23c6f8(0x3d4)](this[_0x23c6f8(0x490)][_0x23c6f8(0x327)],this[_0x23c6f8(0x490)]);}};_0x2b682d=_0x422072([_0x31e32c(0x1,_0x20df93[_0x144fb0(0xdd)](_0xf53409['SheetSkeletonManagerService'])),_0x31e32c(0x2,_0x20df93[_0x144fb0(0xdd)](_0x297695)),_0x31e32c(0x3,_0x20df93[_0x144fb0(0xdd)](_0x20df93[_0x144fb0(0x190)]))],_0x2b682d);function _0x52ee29(_0x595d3d){const _0x3d4cf8=_0x144fb0,_0xad3298=new Map();return _0x595d3d[_0x3d4cf8(0x478)](_0x5d5a57=>{const _0x1a2fa0=_0x3d4cf8;if(_0xad3298[_0x1a2fa0(0x26d)](_0x5d5a57[_0x1a2fa0(0xfe)])){const _0x24c2c7=_0xad3298[_0x1a2fa0(0x3b8)](_0x5d5a57[_0x1a2fa0(0xfe)]);_0x24c2c7[_0x1a2fa0(0x2b4)]+=',\x20'+_0x5d5a57[_0x1a2fa0(0x2b4)];}else _0xad3298['set'](_0x5d5a57['selection'],_0x5d5a57);}),Array[_0x3d4cf8(0xc2)](_0xad3298[_0x3d4cf8(0x18b)]());}var _0x91d0b4=function(){const _0xb722ed=_0x144fb0;return _0x91d0b4=Object[_0xb722ed(0x4af)]||function(_0x37d64c){const _0x580431=_0xb722ed;for(var _0x29ed61,_0x50e2f0=0x1,_0x57a756=arguments['length'];_0x50e2f0<_0x57a756;_0x50e2f0++){_0x29ed61=arguments[_0x50e2f0];for(var _0x2da96e in _0x29ed61)Object['prototype'][_0x580431(0x3e3)][_0x580431(0xed)](_0x29ed61,_0x2da96e)&&(_0x37d64c[_0x2da96e]=_0x29ed61[_0x2da96e]);}return _0x37d64c;},_0x91d0b4['apply'](this,arguments);},_0x1cf045=function(_0x15f11d,_0x699583){const _0x3fefd4=_0x144fb0;var _0x3a72e7={};for(var _0x53375b in _0x15f11d)Object[_0x3fefd4(0x174)][_0x3fefd4(0x3e3)]['call'](_0x15f11d,_0x53375b)&&_0x699583[_0x3fefd4(0x3f2)](_0x53375b)<0x0&&(_0x3a72e7[_0x53375b]=_0x15f11d[_0x53375b]);if(_0x15f11d!=null&&typeof Object[_0x3fefd4(0x3ce)]==_0x3fefd4(0x488)){for(var _0x6df6bc=0x0,_0x53375b=Object[_0x3fefd4(0x3ce)](_0x15f11d);_0x6df6bc<_0x53375b['length'];_0x6df6bc++)_0x699583[_0x3fefd4(0x3f2)](_0x53375b[_0x6df6bc])<0x0&&Object[_0x3fefd4(0x174)]['propertyIsEnumerable'][_0x3fefd4(0xed)](_0x15f11d,_0x53375b[_0x6df6bc])&&(_0x3a72e7[_0x53375b[_0x6df6bc]]=_0x15f11d[_0x53375b[_0x6df6bc]]);}return _0x3a72e7;},_0x56942f=_0x3aba2d[_0x144fb0(0x155)](function(_0x43ce35,_0x2b3ba5){const _0x7dd2eb=_0x144fb0;var _0xf3518f=_0x43ce35[_0x7dd2eb(0xc1)],_0x2f7217=_0x43ce35['id'],_0x23546f=_0x43ce35[_0x7dd2eb(0x494)],_0x326441=_0x43ce35[_0x7dd2eb(0x176)],_0x42f17b=_0x1cf045(_0x43ce35,['icon','id',_0x7dd2eb(0x494),_0x7dd2eb(0x176)]),_0xec41ed='univerjs-icon\x20univerjs-icon-'['concat'](_0x2f7217,'\x20')['concat'](_0x23546f||'')[_0x7dd2eb(0x4c1)](),_0xc9542d=_0x3aba2d[_0x7dd2eb(0x413)]('_'[_0x7dd2eb(0x206)](_0x331e33()));return _0x45c417(_0xf3518f,''[_0x7dd2eb(0x206)](_0x2f7217),{'defIds':_0xf3518f[_0x7dd2eb(0x285)],'idSuffix':_0xc9542d[_0x7dd2eb(0x3bd)]},_0x91d0b4({'ref':_0x2b3ba5,'className':_0xec41ed},_0x42f17b),_0x326441);});function _0x45c417(_0x3a0cc7,_0x2446fa,_0x368763,_0x4d9126,_0x14d4db){const _0x26b5c3=_0x144fb0;return _0x3aba2d['createElement'](_0x3a0cc7[_0x26b5c3(0x1a9)],_0x91d0b4(_0x91d0b4({'key':_0x2446fa},_0x2c7df2(_0x3a0cc7,_0x368763,_0x14d4db)),_0x4d9126),(_0x1fffcc(_0x3a0cc7,_0x368763)[_0x26b5c3(0xb8)]||[])[_0x26b5c3(0x296)](function(_0x187c08,_0x103894){const _0x5840f9=_0x26b5c3;return _0x45c417(_0x187c08,''[_0x5840f9(0x206)](_0x2446fa,'-')[_0x5840f9(0x206)](_0x3a0cc7[_0x5840f9(0x1a9)],'-')[_0x5840f9(0x206)](_0x103894),_0x368763,void 0x0,_0x14d4db);}));}function _0x2c7df2(_0x5ab37f,_0x4159e5,_0x40e2a2){const _0x52a1c0=_0x144fb0;var _0x11bfa3=_0x91d0b4({},_0x5ab37f[_0x52a1c0(0x284)]);_0x40e2a2!=null&&_0x40e2a2['colorChannel1']&&_0x11bfa3[_0x52a1c0(0x43c)]==='colorChannel1'&&(_0x11bfa3['fill']=_0x40e2a2[_0x52a1c0(0x43b)]);var _0x35c121=_0x4159e5[_0x52a1c0(0x285)];return!_0x35c121||_0x35c121[_0x52a1c0(0x118)]===0x0||(_0x5ab37f[_0x52a1c0(0x1a9)]===_0x52a1c0(0x15b)&&_0x11bfa3['xlink:href']&&(_0x11bfa3[_0x52a1c0(0x29b)]=_0x11bfa3['xlink:href']+_0x4159e5[_0x52a1c0(0x202)]),Object[_0x52a1c0(0x27b)](_0x11bfa3)[_0x52a1c0(0x478)](function(_0x84098d){const _0x121e60=_0x52a1c0;var _0x28b65b=_0x84098d[0x0],_0x207cbb=_0x84098d[0x1];typeof _0x207cbb==_0x121e60(0x266)&&(_0x11bfa3[_0x28b65b]=_0x207cbb['replace'](/url\(#(.*)\)/,_0x121e60(0x169)[_0x121e60(0x206)](_0x4159e5[_0x121e60(0x202)],')')));})),_0x11bfa3;}function _0x1fffcc(_0x459f34,_0x25876f){const _0x349b99=_0x144fb0;var _0x171f99,_0x4f4f38=_0x25876f[_0x349b99(0x285)];return!_0x4f4f38||_0x4f4f38[_0x349b99(0x118)]===0x0?_0x459f34:_0x459f34[_0x349b99(0x1a9)]==='defs'&&(!((_0x171f99=_0x459f34['children'])===null||_0x171f99===void 0x0)&&_0x171f99['length'])?_0x91d0b4(_0x91d0b4({},_0x459f34),{'children':_0x459f34[_0x349b99(0xb8)][_0x349b99(0x296)](function(_0x1b51d2){const _0x34ef7c=_0x349b99;return typeof _0x1b51d2['attrs']['id']==_0x34ef7c(0x266)&&_0x4f4f38&&_0x4f4f38[_0x34ef7c(0x3f2)](_0x1b51d2[_0x34ef7c(0x284)]['id'])>-0x1?_0x91d0b4(_0x91d0b4({},_0x1b51d2),{'attrs':_0x91d0b4(_0x91d0b4({},_0x1b51d2[_0x34ef7c(0x284)]),{'id':_0x1b51d2['attrs']['id']+_0x25876f[_0x34ef7c(0x202)]})}):_0x1b51d2;})}):_0x459f34;}function _0x331e33(){const _0x4240ba=_0x144fb0;return Math['random']()[_0x4240ba(0xf3)](0x24)[_0x4240ba(0x2b9)](0x2,0x8);}_0x56942f[_0x144fb0(0x224)]=_0x144fb0(0x314);var _0x7d1cc0={'tag':'svg','attrs':{'fill':_0x144fb0(0x334),'viewBox':_0x144fb0(0x16a),'width':_0x144fb0(0x160),'height':_0x144fb0(0x160)},'children':[{'tag':'g','attrs':{'clipPath':_0x144fb0(0x39d)},'children':[{'tag':_0x144fb0(0x298),'attrs':{'stroke':'currentColor','d':_0x144fb0(0x22d),'strokeLinecap':_0x144fb0(0x3cc),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x144fb0(0x311),'attrs':{},'children':[{'tag':_0x144fb0(0x1ec),'attrs':{'id':_0x144fb0(0x4cd)},'children':[{'tag':_0x144fb0(0x298),'attrs':{'fill':'#fff','d':_0x144fb0(0x1f8)}}]}]}],'defIds':[_0x144fb0(0x4cd)]},_0x24e843=_0x3aba2d[_0x144fb0(0x155)](function(_0x2ad54b,_0x539e6b){const _0x408788=_0x144fb0;return _0x3aba2d['createElement'](_0x56942f,Object['assign']({},_0x2ad54b,{'id':_0x408788(0x16f),'ref':_0x539e6b,'icon':_0x7d1cc0}));});_0x24e843['displayName']=_0x144fb0(0x384);var _0x55150c={'tag':'svg','attrs':{'fill':_0x144fb0(0x334),'viewBox':_0x144fb0(0x2cd),'width':_0x144fb0(0x160),'height':_0x144fb0(0x160)},'children':[{'tag':'g','attrs':{'clipPath':_0x144fb0(0x385)},'children':[{'tag':_0x144fb0(0x298),'attrs':{'stroke':_0x144fb0(0xb3),'d':_0x144fb0(0x3c1),'strokeLinecap':_0x144fb0(0x3cc),'strokeLinejoin':_0x144fb0(0x3cc),'strokeWidth':1.2}}]},{'tag':_0x144fb0(0x311),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x144fb0(0x26e)},'children':[{'tag':'path','attrs':{'fill':_0x144fb0(0x22e),'d':_0x144fb0(0x1f8),'transform':_0x144fb0(0x36c)}}]}]}],'defIds':['on-line-single_clip0_910_349']},_0x440894=_0x3aba2d[_0x144fb0(0x155)](function(_0x4411ce,_0x420bf2){const _0x51a461=_0x144fb0;return _0x3aba2d[_0x51a461(0x2a5)](_0x56942f,Object[_0x51a461(0x4af)]({},_0x4411ce,{'id':'on-line-single','ref':_0x420bf2,'icon':_0x55150c}));});_0x440894['displayName']=_0x144fb0(0x42f);function _0x1be222(_0x50b79){const _0x3baf17=_0x144fb0;var _0x3674ce,_0x522fde,_0x192cec='';if(typeof _0x50b79==_0x3baf17(0x266)||typeof _0x50b79==_0x3baf17(0x147))_0x192cec+=_0x50b79;else{if(typeof _0x50b79=='object'){if(Array['isArray'](_0x50b79)){var _0x202e0b=_0x50b79['length'];for(_0x3674ce=0x0;_0x3674ce<_0x202e0b;_0x3674ce++)_0x50b79[_0x3674ce]&&(_0x522fde=_0x1be222(_0x50b79[_0x3674ce]))&&(_0x192cec&&(_0x192cec+='\x20'),_0x192cec+=_0x522fde);}else{for(_0x522fde in _0x50b79)_0x50b79[_0x522fde]&&(_0x192cec&&(_0x192cec+='\x20'),_0x192cec+=_0x522fde);}}}return _0x192cec;}function _0x1903e1(){const _0x3534cc=_0x144fb0;for(var _0x27a966,_0x4d3944,_0x316ca4=0x0,_0x565b21='',_0x33bb34=arguments[_0x3534cc(0x118)];_0x316ca4<_0x33bb34;_0x316ca4++)(_0x27a966=arguments[_0x316ca4])&&(_0x4d3944=_0x1be222(_0x27a966))&&(_0x565b21&&(_0x565b21+='\x20'),_0x565b21+=_0x4d3944);return _0x565b21;}const _0x399c3a={'onlineStatusIcon':'univer-online-status-icon','onlineStatusTitle':_0x144fb0(0x1d0),'onlineStatus':_0x144fb0(0x192),'online':_0x144fb0(0x2b3),'offline':'univer-offline'};function _0x228f66(_0x465fb3){const _0x4cd96a=_0x144fb0;switch(_0x465fb3){case _0x5d3e7e[_0x4cd96a(0x2d5)]:return _0x4cd96a(0x439);case _0x5d3e7e[_0x4cd96a(0x3b6)]:return _0x4cd96a(0xea);case _0x5d3e7e['FETCH_MISS']:return _0x4cd96a(0x15e);case _0x5d3e7e[_0x4cd96a(0x49a)]:return _0x4cd96a(0x36a);case _0x5d3e7e[_0x4cd96a(0x42a)]:case _0x5d3e7e[_0x4cd96a(0x45b)]:case _0x5d3e7e['AWAITING_WITH_PENDING']:return _0x4cd96a(0x1a0);case _0x5d3e7e[_0x4cd96a(0xad)]:return'collabStatus.synced';}}function _0x2b690e(_0x18b400){const _0x27b52a=_0x144fb0,{status$:_0x1ce113}=_0x18b400,_0xd2fe6b=_0x40b1aa[_0x27b52a(0x156)](_0x1ce113,_0x5d3e7e[_0x27b52a(0x49a)]),_0x5063f3=_0x20df93[_0x27b52a(0x121)](_0x20df93[_0x27b52a(0x142)]),_0x2109e4=_0x20df93[_0x27b52a(0x121)](_0x4c8f94['CollaborationSessionService']),_0x1dc3dd=_0xd2fe6b!==_0x5d3e7e[_0x27b52a(0x2d5)],_0x450fbc=_0x5063f3['t'](_0x228f66(_0xd2fe6b)),_0x40c386=_0x1903e1(_0x399c3a[_0x27b52a(0x1ac)],{[_0x399c3a['online']]:_0x1dc3dd,[_0x399c3a[_0x27b52a(0xfc)]]:!_0x1dc3dd}),_0x5f3427=_0x1dc3dd?_0x3aba2d[_0x27b52a(0x2a5)](_0x440894,null):_0x3aba2d[_0x27b52a(0x2a5)](_0x24e843,null),_0x4e2478=_0x3aba2d[_0x27b52a(0x18e)](()=>{const _0x33214a=_0x27b52a;_0x1dc3dd||_0x2109e4[_0x33214a(0x3ae)]();},[_0x1dc3dd,_0x2109e4]);function _0x2a19e9(){const _0x174431=_0x27b52a;return _0x3aba2d['createElement'](_0x174431(0x15c),{'className':_0x40c386,'onClick':_0x4e2478},_0x3aba2d[_0x174431(0x2a5)]('div',{'className':_0x399c3a['onlineStatusIcon']},_0x5f3427),_0x3aba2d[_0x174431(0x2a5)](_0x174431(0x15c),{'className':_0x399c3a[_0x174431(0x481)]},_0x450fbc));}return _0x1dc3dd?_0x2a19e9():_0x3aba2d[_0x27b52a(0x2a5)](_0x3206ad['Tooltip'],{'title':_0x5063f3['t'](_0x27b52a(0x35d))},_0x2a19e9());}var _0x411e26=Object[_0x144fb0(0x395)],_0x57182c=Object[_0x144fb0(0x457)],_0x163779=(_0x29e75b,_0xf3c63c,_0x9b7993,_0x1834d8)=>{const _0x584536=_0x144fb0;for(var _0x3ad572=_0x1834d8>0x1?void 0x0:_0x1834d8?_0x57182c(_0xf3c63c,_0x9b7993):_0xf3c63c,_0x52a939=_0x29e75b[_0x584536(0x118)]-0x1,_0x5acd43;_0x52a939>=0x0;_0x52a939--)(_0x5acd43=_0x29e75b[_0x52a939])&&(_0x3ad572=(_0x1834d8?_0x5acd43(_0xf3c63c,_0x9b7993,_0x3ad572):_0x5acd43(_0x3ad572))||_0x3ad572);return _0x1834d8&&_0x3ad572&&_0x411e26(_0xf3c63c,_0x9b7993,_0x3ad572),_0x3ad572;},_0x1f5215=(_0x16e36a,_0x39c6fb)=>(_0x3da3af,_0x28b6c4)=>_0x39c6fb(_0x3da3af,_0x28b6c4,_0x16e36a);_0x4c8f94[_0x144fb0(0x10a)]=class extends _0x20df93[_0x144fb0(0x343)]{constructor(_0x3ba1a0,_0x3e247e,_0x164e5e,_0x3f30d9){const _0x3081c9=_0x144fb0;super(),_0x3e782f(this,'_status$',new _0x284d0[(_0x3081c9(0x237))](_0x5d3e7e[_0x3081c9(0x49a)])),(this['_univerInstanceService']=_0x3ba1a0,this[_0x3081c9(0x281)]=_0x3e247e,this[_0x3081c9(0x2fc)]=_0x164e5e,this[_0x3081c9(0x1b1)]=_0x3f30d9,this[_0x3081c9(0x164)](),this[_0x3081c9(0x212)]());}[_0x144fb0(0x212)](){const _0x3e1ccd=_0x144fb0;this[_0x3e1ccd(0x397)](this[_0x3e1ccd(0xc8)][_0x3e1ccd(0x389)][_0x3e1ccd(0x34d)](_0x284d0[_0x3e1ccd(0x383)](()=>{const _0x45e0cc=_0x3e1ccd,_0x4fe0e6=this[_0x45e0cc(0xc8)][_0x45e0cc(0x138)]();return _0x4fe0e6?this['_collaborationController'][_0x45e0cc(0x3e7)](_0x4fe0e6[_0x45e0cc(0x1fd)]()):_0x284d0['of'](null);}),_0x284d0['switchMap'](_0x3988b0=>_0x3988b0?_0x3988b0[_0x3e1ccd(0x4c2)]:_0x284d0['of'](_0x5d3e7e[_0x3e1ccd(0x49a)])))[_0x3e1ccd(0xda)](_0x1852ac=>{const _0x2ca603=_0x3e1ccd;this[_0x2ca603(0x2c7)][_0x2ca603(0x25d)](_0x1852ac);}));}[_0x144fb0(0x164)](){const _0x33c00c=_0x144fb0;this['disposeWithMe'](this[_0x33c00c(0x281)][_0x33c00c(0x238)](_0x40b1aa['BuiltInUIPart'][_0x33c00c(0x388)],()=>_0x20df93['connectInjector'](_0x169888({'status$':this[_0x33c00c(0x2c7)]['asObservable']()}),this['_injector'])));}},_0x4c8f94[_0x144fb0(0x10a)]=_0x163779([_0x1f5215(0x0,_0x20df93[_0x144fb0(0x292)]),_0x1f5215(0x1,_0x40b1aa[_0x144fb0(0x34f)]),_0x1f5215(0x2,_0x20df93[_0x144fb0(0xdd)](_0x20df93['Injector'])),_0x1f5215(0x3,_0x20df93[_0x144fb0(0xdd)](_0x4c8f94[_0x144fb0(0x10e)]))],_0x4c8f94[_0x144fb0(0x10a)]);function _0x169888(_0x5ea02d){const {status$:_0x530eb9}=_0x5ea02d;return function(){const _0x1593af=_0x205f;return _0x3aba2d[_0x1593af(0x2a5)](_0x2b690e,{'status$':_0x530eb9});};}const _0x22cd46=_0x20df93[_0x144fb0(0x4be)]('uni.network.url-service');var _0x511cd4=Object[_0x144fb0(0x395)],_0x3b5697=Object['getOwnPropertyDescriptor'],_0x1a4390=(_0x5da5be,_0x17ebdc,_0x4f14eb,_0x550185)=>{const _0x274c53=_0x144fb0;for(var _0x237705=_0x550185>0x1?void 0x0:_0x550185?_0x3b5697(_0x17ebdc,_0x4f14eb):_0x17ebdc,_0x59e404=_0x5da5be[_0x274c53(0x118)]-0x1,_0x31f1a1;_0x59e404>=0x0;_0x59e404--)(_0x31f1a1=_0x5da5be[_0x59e404])&&(_0x237705=(_0x550185?_0x31f1a1(_0x17ebdc,_0x4f14eb,_0x237705):_0x31f1a1(_0x237705))||_0x237705);return _0x550185&&_0x237705&&_0x511cd4(_0x17ebdc,_0x4f14eb,_0x237705),_0x237705;},_0x1d6a92=(_0x11a5e6,_0x5286bd)=>(_0x1dff7b,_0x20029f)=>_0x5286bd(_0x1dff7b,_0x20029f,_0x11a5e6);_0x4c8f94['DataLoaderController']=class extends _0x20df93['RxDisposable']{constructor(_0x23c613,_0x39f1b1,_0x491d5f,_0x38fbbd,_0x4ecc4a,_0x5075fd){const _0xc658c4=_0x144fb0;super(),this[_0xc658c4(0x140)]=_0x23c613,this[_0xc658c4(0x414)]=_0x39f1b1,this[_0xc658c4(0x2d1)]=_0x491d5f,this['_localCacheService']=_0x38fbbd,this[_0xc658c4(0x378)]=_0x4ecc4a,_0x5075fd?_0x5075fd==null||_0x5075fd[_0xc658c4(0x30f)]()['then'](()=>this[_0xc658c4(0x198)]()):(this['_logService'][_0xc658c4(0xd6)](_0xc658c4(0x2d3),_0xc658c4(0x302)),this['_init']());}async[_0x144fb0(0x198)](){const _0x25285e=_0x144fb0,_0x397ac2=this[_0x25285e(0x140)][_0x25285e(0xa4)](_0x25285e(0x327)),_0x5a8b86=this['_urlService'][_0x25285e(0xa4)](_0x25285e(0x2e4));if(!_0x397ac2||!_0x5a8b86){this[_0x25285e(0x414)]['debug'](_0x25285e(0x2d3),_0x25285e(0xb2));return;}switch(Number(_0x5a8b86)){case _0x3dff5a[_0x25285e(0x4bf)]:{const _0x4e20be=await this[_0x25285e(0x193)](_0x397ac2);this[_0x25285e(0x399)](_0x4e20be);break;}case _0x3dff5a[_0x25285e(0x126)]:{await this[_0x25285e(0x401)](_0x397ac2);break;}default:{this['_logService'][_0x25285e(0x37d)](_0x25285e(0x2d3),_0x25285e(0x21d));break;}}}async[_0x144fb0(0x399)](_0x3e7b32){const _0x281413=_0x144fb0;await this['_updateSubUnitFromURLParams'](_0x3e7b32),_0x3e7b32[_0x281413(0x4ce)][_0x281413(0x34d)](_0x284d0[_0x281413(0xa0)](this[_0x281413(0x288)]))[_0x281413(0xda)](_0x31b897=>{const _0x318050=_0x281413;_0x31b897&&this[_0x318050(0x107)](_0x31b897);}),this[_0x281413(0x140)][_0x281413(0x2b5)][_0x281413(0x34d)](_0x284d0[_0x281413(0xa0)](this['dispose$']))[_0x281413(0xda)](()=>this[_0x281413(0x420)](_0x3e7b32));}[_0x144fb0(0x107)](_0x10c1c0,_0x15a970=!0x1){const _0x285a81=_0x144fb0,_0xc97224=this[_0x285a81(0x140)]['getParam'](_0x285a81(0x2f1));_0x10c1c0['getSheetId']()!==_0xc97224&&this[_0x285a81(0x140)][_0x285a81(0x475)](_0x285a81(0x2f1),_0x10c1c0[_0x285a81(0x3c9)](),_0x15a970);}async[_0x144fb0(0x420)](_0x2ee0b3){const _0x2b484a=_0x144fb0;var _0xcb510;const _0x35aa08=this[_0x2b484a(0x140)][_0x2b484a(0xa4)](_0x2b484a(0x2f1));if(!_0x35aa08||!_0x2ee0b3[_0x2b484a(0x3ac)](_0x35aa08)){const _0x2d7dc9=_0x2ee0b3['getUnhiddenWorksheets']()[0x0],_0x20f96b=_0x2ee0b3[_0x2b484a(0x3ac)](_0x2d7dc9);if(!_0x20f96b)return;this[_0x2b484a(0x107)](_0x20f96b,!0x0),await this[_0x2b484a(0x2d1)][_0x2b484a(0x1fe)](_0x5dce24[_0x2b484a(0x2f5)]['id'],{'unitId':_0x2ee0b3[_0x2b484a(0x1fd)](),'subUnitId':_0x2d7dc9});return;}((_0xcb510=_0x2ee0b3[_0x2b484a(0x112)]())==null?void 0x0:_0xcb510['getSheetId']())!==_0x35aa08&&await this[_0x2b484a(0x2d1)][_0x2b484a(0x1fe)](_0x5dce24[_0x2b484a(0x2f5)]['id'],{'unitId':_0x2ee0b3[_0x2b484a(0x1fd)](),'subUnitId':_0x35aa08});}async[_0x144fb0(0x193)](_0x28c9aa){const _0x2d1ec3=_0x144fb0;let _0x4c6318=0x0;const _0x38517d=await this['_localCacheService'][_0x2d1ec3(0x19f)](_0x28c9aa);return _0x38517d&&(_0x38517d[_0x2d1ec3(0x1a7)]||_0x38517d[_0x2d1ec3(0x366)][_0x2d1ec3(0x118)]!==0x0)&&(_0x4c6318=_0x38517d[_0x2d1ec3(0x489)]),_0x4c6318===0x0&&this['_logService'][_0x2d1ec3(0xd6)]('[DataLoaderController]','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x2d1ec3(0x378)][_0x2d1ec3(0x2e2)](_0x28c9aa,_0x4c6318);}async['_loadDoc'](_0x33ad0f){const _0x1d4439=_0x144fb0;let _0x5b9df9=0x0;const _0x671769=await this[_0x1d4439(0x2be)][_0x1d4439(0x19f)](_0x33ad0f);return _0x671769&&(_0x671769[_0x1d4439(0x1a7)]||_0x671769[_0x1d4439(0x366)][_0x1d4439(0x118)]!==0x0)&&(_0x5b9df9=_0x671769['rev']),_0x5b9df9===0x0&&this[_0x1d4439(0x414)][_0x1d4439(0xd6)](_0x1d4439(0x2d3),_0x1d4439(0xdf)),this[_0x1d4439(0x378)][_0x1d4439(0x4ca)](_0x33ad0f,_0x5b9df9);}},_0x4c8f94[_0x144fb0(0x26a)]=_0x1a4390([_0x1d6a92(0x0,_0x22cd46),_0x1d6a92(0x1,_0x20df93['ILogService']),_0x1d6a92(0x2,_0x20df93[_0x144fb0(0x338)]),_0x1d6a92(0x3,_0x20df93[_0x144fb0(0xdd)](_0x4c8f94['LocalCacheService'])),_0x1d6a92(0x4,_0x20df93[_0x144fb0(0xdd)](_0x55cc56[_0x144fb0(0xd2)])),_0x1d6a92(0x5,_0x20df93['Optional'](_0x264084[_0x144fb0(0x9c)]))],_0x4c8f94[_0x144fb0(0x26a)]);var _0x10ee22=Object[_0x144fb0(0x395)],_0x227796=Object['getOwnPropertyDescriptor'],_0x46bf57=(_0x30d6e1,_0x5a14fd,_0x2fe9ad,_0x47a47a)=>{const _0x854a98=_0x144fb0;for(var _0x2e0719=_0x47a47a>0x1?void 0x0:_0x47a47a?_0x227796(_0x5a14fd,_0x2fe9ad):_0x5a14fd,_0x31015a=_0x30d6e1[_0x854a98(0x118)]-0x1,_0x39a107;_0x31015a>=0x0;_0x31015a--)(_0x39a107=_0x30d6e1[_0x31015a])&&(_0x2e0719=(_0x47a47a?_0x39a107(_0x5a14fd,_0x2fe9ad,_0x2e0719):_0x39a107(_0x2e0719))||_0x2e0719);return _0x47a47a&&_0x2e0719&&_0x10ee22(_0x5a14fd,_0x2fe9ad,_0x2e0719),_0x2e0719;},_0x242d4f=(_0xbd353f,_0x4f42e1)=>(_0x3347fb,_0x5ee391)=>_0x4f42e1(_0x3347fb,_0x5ee391,_0xbd353f);const _0x46017c=_0x144fb0(0x14b),_0x236086=_0x144fb0(0x4cb);let _0x43a9b6=class extends _0x20df93[_0x144fb0(0x343)]{constructor(_0x566e65,_0x239f15){const _0x742028=_0x144fb0;super(),this['_univerInstanceService']=_0x566e65,this[_0x742028(0x283)]=_0x239f15,this[_0x742028(0x198)]();}['_init'](){const _0x209d0c=_0x144fb0;this[_0x209d0c(0x397)](this['_univerInstanceService']['focused$'][_0x209d0c(0xda)](()=>{const _0x4bf121=_0x209d0c;var _0x47f8e7;const _0x4a4d04=this['_univerInstanceService']['getFocusedUnit']();let _0x2fe8a5=(_0x47f8e7=this['_configService'][_0x4bf121(0x27c)](_0x46017c))!=null?_0x47f8e7:_0x236086;_0x4a4d04 instanceof _0x20df93[_0x4bf121(0x23b)]&&(_0x2fe8a5=_0x4a4d04[_0x4bf121(0x2b4)]),document[_0x4bf121(0x27a)]=_0x2fe8a5;}));}};_0x43a9b6=_0x46bf57([_0x242d4f(0x0,_0x20df93[_0x144fb0(0x292)]),_0x242d4f(0x1,_0x20df93['IConfigService'])],_0x43a9b6);var _0x50acde=Object['defineProperty'],_0x12c026=Object[_0x144fb0(0x457)],_0x15b921=(_0x33be9f,_0x7bf847,_0x5712d4,_0x4c0f4b)=>{const _0x51c902=_0x144fb0;for(var _0x23bbc8=_0x4c0f4b>0x1?void 0x0:_0x4c0f4b?_0x12c026(_0x7bf847,_0x5712d4):_0x7bf847,_0x3dbb22=_0x33be9f[_0x51c902(0x118)]-0x1,_0x503a38;_0x3dbb22>=0x0;_0x3dbb22--)(_0x503a38=_0x33be9f[_0x3dbb22])&&(_0x23bbc8=(_0x4c0f4b?_0x503a38(_0x7bf847,_0x5712d4,_0x23bbc8):_0x503a38(_0x23bbc8))||_0x23bbc8);return _0x4c0f4b&&_0x23bbc8&&_0x50acde(_0x7bf847,_0x5712d4,_0x23bbc8),_0x23bbc8;},_0x190cb9=(_0x3b5f5d,_0xf40c8e)=>(_0x524b77,_0x325cf3)=>_0xf40c8e(_0x524b77,_0x325cf3,_0x3b5f5d);let _0x41e9e1=class{constructor(_0x50bf6d,_0xd3a75f,_0x4b2c61){const _0x2250f9=_0x144fb0;this[_0x2250f9(0x283)]=_0x50bf6d,this['_httpService']=_0xd3a75f,this[_0x2250f9(0x11e)]=_0x4b2c61,this['init']();}[_0x144fb0(0x1e3)](){const _0xa81698=_0x144fb0;this['_httpService']['registerHTTPInterceptor']({'priority':0x1,'interceptor':(_0x125135,_0x3dac08)=>_0x3dac08(_0x125135)[_0xa81698(0x34d)](_0x284d0[_0xa81698(0x3dc)](async _0x489a00=>{const _0x57c7f3=_0xa81698,_0x45de62=_0x489a00;if(_0x45de62['status']===0x191&&window[_0x57c7f3(0x29e)](this[_0x57c7f3(0x11e)]['t']('auth.needGotoLoginAlert'))){const _0x351991=window[_0x57c7f3(0x2f4)](window[_0x57c7f3(0x33a)][_0x57c7f3(0x264)]);window[_0x57c7f3(0x33a)][_0x57c7f3(0x264)]=this[_0x57c7f3(0x20b)]()+_0x57c7f3(0x2b1)+_0x351991;}return _0x45de62;}))});}[_0x144fb0(0x20b)](){const _0x4f5354=_0x144fb0;var _0x52ab99,_0x2c655d;const _0x9caad8=this[_0x4f5354(0x283)]['getConfig'](_0x57c1a6),_0x4d1253=this[_0x4f5354(0x283)][_0x4f5354(0x27c)](_0x53057b);return(_0x2c655d=(_0x52ab99=_0x4d1253==null?void 0x0:_0x4d1253[_0x4f5354(0x152)])!=null?_0x52ab99:_0x9caad8)!=null?_0x2c655d:_0x4650cd;}};_0x41e9e1=_0x15b921([_0x190cb9(0x0,_0x20df93['IConfigService']),_0x190cb9(0x1,_0x20df93[_0x144fb0(0xdd)](_0x581b3b[_0x144fb0(0x1d2)])),_0x190cb9(0x2,_0x20df93['Inject'](_0x20df93[_0x144fb0(0x142)]))],_0x41e9e1);var _0x34262b=Object['defineProperty'],_0x1b36e0=Object[_0x144fb0(0x457)],_0x3de421=(_0xba31d0,_0x5183c7,_0x25ab26,_0x5f2473)=>{for(var _0x18cdeb=_0x5f2473>0x1?void 0x0:_0x5f2473?_0x1b36e0(_0x5183c7,_0x25ab26):_0x5183c7,_0x76efb7=_0xba31d0['length']-0x1,_0x598d3d;_0x76efb7>=0x0;_0x76efb7--)(_0x598d3d=_0xba31d0[_0x76efb7])&&(_0x18cdeb=(_0x5f2473?_0x598d3d(_0x5183c7,_0x25ab26,_0x18cdeb):_0x598d3d(_0x18cdeb))||_0x18cdeb);return _0x5f2473&&_0x18cdeb&&_0x34262b(_0x5183c7,_0x25ab26,_0x18cdeb),_0x18cdeb;},_0x5e23e6=(_0xc88a67,_0xd9e06c)=>(_0x3b9651,_0x5519f1)=>_0xd9e06c(_0x3b9651,_0x5519f1,_0xc88a67);const _0x3a861f='AUTHZ_URL_KEY',_0x504a28=_0x144fb0(0x166);_0x4c8f94[_0x144fb0(0x3e6)]=class extends _0x20df93[_0x144fb0(0x343)]{constructor(_0x36e83b,_0x158c53){const _0x730b29=_0x144fb0;super(),this['_HTTPService']=_0x36e83b,this[_0x730b29(0x283)]=_0x158c53,this[_0x730b29(0xe2)]();}[_0x144fb0(0xe2)](){const _0x14b301=_0x144fb0,_0x16f4cd=this;this[_0x14b301(0x397)](this[_0x14b301(0x265)]['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':_0x581b3b[_0x14b301(0x44d)]({'isMatch'(_0x43e7e4){const _0x510fe0=_0x14b301;var _0x4f4358;if(_0x43e7e4['method']===_0x510fe0(0x32e)&&((_0x4f4358=_0x43e7e4[_0x510fe0(0x28a)])!=null&&_0x4f4358['body'])){const {objectID:_0x274807,objectType:_0x45a868}=_0x43e7e4[_0x510fe0(0x28a)][_0x510fe0(0x141)]||{};if(!_0x274807||_0x45a868===void 0x0)return!0x1;const _0x38d77d=_0x16f4cd['_getAPIPrefixPath']()+'/'+_0x45a868+'/object/'+_0x274807+'/allowed';if(_0x43e7e4[_0x510fe0(0x270)]===_0x38d77d)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x52a74e){const _0x10683f=_0x14b301;var _0x1a67d0;return(_0x1a67d0=_0x52a74e[_0x10683f(0x28a)])==null?void 0x0:_0x1a67d0['body'];},'mergeParamsToRequest'(_0x352ee7,_0x4e8c36){const _0x4dcba1=_0x14b301,_0x4bbc76=_0x16f4cd[_0x4dcba1(0x4c5)]()+_0x4dcba1(0x342),_0x2f303e=_0x352ee7['reduce']((_0x404dda,_0x3cfd56)=>{const _0xb0b101=_0x4dcba1,{unitID:_0x4ad487,objectID:_0x277325,objectType:_0x38ec69,actions:_0x15c5a9}=_0x3cfd56;return _0x404dda[_0x4ad487]||(_0x404dda[_0x4ad487]={}),_0x404dda[_0x4ad487][_0x277325]||(_0x404dda[_0x4ad487][_0x277325]={'objectID':_0x277325,'objectType':_0x38ec69,'actions':[]}),_0x404dda[_0x4ad487][_0x277325][_0xb0b101(0x437)][_0xb0b101(0x20e)](..._0x15c5a9),_0x404dda;},{}),_0x4210d7=[];for(const _0x6ea60e in _0x2f303e)for(const _0x5263cd in _0x2f303e[_0x6ea60e]){const {actions:_0x2953e7,objectType:_0x3549da}=_0x2f303e[_0x6ea60e][_0x5263cd],_0xf7411c=[...new Set(_0x2953e7)];_0x4210d7[_0x4dcba1(0x20e)]({'unitID':_0x6ea60e,'objectID':_0x5263cd,'objectType':_0x3549da,'actions':_0xf7411c});}return new _0x581b3b['HTTPRequest'](_0x4dcba1(0x32e),_0x4bbc76,{'headers':_0x4e8c36[_0x4dcba1(0x2f3)],'withCredentials':_0x4e8c36[_0x4dcba1(0x196)],'responseType':_0x4e8c36[_0x4dcba1(0x33c)],'body':{'requests':_0x4210d7}});}},{'distributeResult'(_0x3c3866,_0x7b9d41){const _0x386760=_0x14b301,{objectActions:_0x442684}=_0x3c3866;return _0x7b9d41[_0x386760(0x296)](_0x156ef3=>{const _0x9cd127=_0x386760,{unitID:_0x1f22d8,objectID:_0x4dce63,actions:_0x261d49}=_0x156ef3,_0x3d2ca6=_0x442684[_0x9cd127(0x33d)](_0x592353=>_0x592353[_0x9cd127(0x239)]===_0x1f22d8&&_0x592353[_0x9cd127(0x8e)]===_0x4dce63),_0x23ca85=_0x261d49[_0x9cd127(0x296)](_0x4a0fd7=>_0x3d2ca6==null?void 0x0:_0x3d2ca6['actions'][_0x9cd127(0x33d)](_0xe88b3=>_0xe88b3[_0x9cd127(0x40c)]===_0x4a0fd7))['filter'](_0x5d6c6f=>!!_0x5d6c6f);return{'config':_0x156ef3,'result':{'actions':_0x23ca85,'error':_0x3c3866[_0x9cd127(0x37d)]}};});}})}));}['_getAPIPrefixPath'](){const _0x5531ab=_0x144fb0;var _0x191134,_0x5061b4;const _0x499f7d=this[_0x5531ab(0x283)][_0x5531ab(0x27c)](_0x3a861f),_0x47fd54=this['_configService']['getConfig'](_0x53057b);return(_0x5061b4=(_0x191134=_0x47fd54==null?void 0x0:_0x47fd54[_0x5531ab(0x364)])!=null?_0x191134:_0x499f7d)!=null?_0x5061b4:_0x504a28;}async[_0x144fb0(0x204)](_0x4b1f15){const _0x18a2b7=_0x144fb0,_0x1aac24=this[_0x18a2b7(0x4c5)]()+'/'+_0x4b1f15[_0x18a2b7(0x20f)]+_0x18a2b7(0x139);return(await this[_0x18a2b7(0x265)]['post'](_0x1aac24,{'body':_0x4b1f15}))[_0x18a2b7(0x141)]['objectID']||'';}async[_0x144fb0(0x1ba)](_0x63bc6d){const _0x5bb6b1=_0x144fb0,_0x2a4221=this[_0x5bb6b1(0x4c5)]()+'/-/object/list';return(await this[_0x5bb6b1(0x265)]['post'](_0x2a4221,{'body':_0x63bc6d}))['body'][_0x5bb6b1(0x304)];}async['update'](_0x164db6){const _0x5523b6=_0x144fb0,_0x50aeaf=this['_getAPIPrefixPath']()+'/'+_0x164db6[_0x5523b6(0x20f)]+_0x5523b6(0x102)+_0x164db6[_0x5523b6(0x8e)];await this['_HTTPService']['put'](_0x50aeaf,{'body':_0x164db6});}async[_0x144fb0(0x377)](_0x322c7d){const _0x3bb201=_0x144fb0,_0x482337=this[_0x3bb201(0x4c5)]()+'/'+_0x322c7d['objectType']+_0x3bb201(0x102)+_0x322c7d[_0x3bb201(0x8e)]+_0x3bb201(0x431);return(await this[_0x3bb201(0x265)][_0x3bb201(0x194)](_0x482337,{'body':_0x322c7d}))[_0x3bb201(0x141)][_0x3bb201(0x437)];}async[_0x144fb0(0x336)](_0x189b6d){const _0x2476f9=_0x144fb0,_0x4d9198=this[_0x2476f9(0x4c5)]()+_0x2476f9(0x342);return(await this[_0x2476f9(0x265)][_0x2476f9(0x194)](_0x4d9198,{'body':{'requests':_0x189b6d}}))[_0x2476f9(0x141)]['objectActions'];}async[_0x144fb0(0x43a)](_0x45246){const _0x2394c1=_0x144fb0,_0x320318=this[_0x2394c1(0x4c5)]()+'/'+_0x45246[_0x2394c1(0x20f)]+_0x2394c1(0xc6),_0x13b2c2=await this[_0x2394c1(0x265)][_0x2394c1(0x194)](_0x320318,{'body':_0x45246});return{'roles':_0x13b2c2['body']['roles'],'actions':_0x13b2c2[_0x2394c1(0x141)]['actions']};}async[_0x144fb0(0x459)](_0xd9b1a7){const _0x1160de=_0x144fb0,_0xf50c55=this[_0x1160de(0x4c5)]()+_0x1160de(0x254);await this[_0x1160de(0x265)][_0x1160de(0x32d)](_0xf50c55,{'params':{'collaboratorID':_0xd9b1a7[_0x1160de(0x17d)],'objectID':_0xd9b1a7['objectID'],'unitID':_0xd9b1a7[_0x1160de(0x239)]}});}async[_0x144fb0(0x295)](_0x4899a8){const _0x5bba01=_0x144fb0,_0x5f4af7=this['_getAPIPrefixPath']()+_0x5bba01(0x254);await this[_0x5bba01(0x265)][_0x5bba01(0x2cb)](_0x5f4af7,{'body':_0x4899a8});}async[_0x144fb0(0x133)](_0x1479eb){const _0x39c8d6=_0x144fb0,_0xe02dd5=this['_getAPIPrefixPath']()+_0x39c8d6(0x254);await this[_0x39c8d6(0x265)]['post'](_0xe02dd5,{'body':_0x1479eb});}async[_0x144fb0(0x1e8)](_0xf4e5c0){const _0xc14ae=_0x144fb0,_0x2da585=this[_0xc14ae(0x4c5)]()+_0xc14ae(0x254);return(await this[_0xc14ae(0x265)][_0xc14ae(0x3b8)](_0x2da585,{'params':{'objectID':_0xf4e5c0[_0xc14ae(0x8e)],'unitID':_0xf4e5c0[_0xc14ae(0x239)]}}))['body'][_0xc14ae(0x30e)];}async[_0x144fb0(0x3d3)](_0x2c6a7b){const _0x27e198=_0x144fb0,_0x1a227a=this['_getAPIPrefixPath']()+_0x27e198(0x254);await this[_0x27e198(0x265)][_0x27e198(0x3e4)](_0x1a227a,{'body':_0x2c6a7b});}},_0x4c8f94[_0x144fb0(0x3e6)]=_0x3de421([_0x5e23e6(0x0,_0x20df93['Inject'](_0x581b3b['HTTPService'])),_0x5e23e6(0x1,_0x20df93[_0x144fb0(0xdd)](_0x20df93[_0x144fb0(0x247)]))],_0x4c8f94[_0x144fb0(0x3e6)]);var _0x2f1633=Object[_0x144fb0(0x395)],_0x487f89=Object[_0x144fb0(0x457)],_0xf681d2=(_0x119721,_0x519d1a,_0x32a687,_0x3ae782)=>{const _0x5b3aab=_0x144fb0;for(var _0x3d0218=_0x3ae782>0x1?void 0x0:_0x3ae782?_0x487f89(_0x519d1a,_0x32a687):_0x519d1a,_0x15bd58=_0x119721[_0x5b3aab(0x118)]-0x1,_0x3c7b01;_0x15bd58>=0x0;_0x15bd58--)(_0x3c7b01=_0x119721[_0x15bd58])&&(_0x3d0218=(_0x3ae782?_0x3c7b01(_0x519d1a,_0x32a687,_0x3d0218):_0x3c7b01(_0x3d0218))||_0x3d0218);return _0x3ae782&&_0x3d0218&&_0x2f1633(_0x519d1a,_0x32a687,_0x3d0218),_0x3d0218;},_0x48ed7f=(_0x461283,_0x53e969)=>(_0x11865e,_0x303ad6)=>_0x53e969(_0x11865e,_0x303ad6,_0x461283);let _0x223987=class{constructor(_0x5517b0){this['_httpService']=_0x5517b0,this['_initRequestHeader']();}[_0x144fb0(0x2f2)](){const _0x42c89b=_0x144fb0;this[_0x42c89b(0x136)][_0x42c89b(0x1b6)]({'interceptor':(_0x4f1e44,_0x462e74)=>{const _0xc9c223=_0x42c89b,_0x2fb2d4=_0x4f1e44[_0xc9c223(0x2f3)],_0x2fab00=_0x505c0c['getAttachHeader']();return _0x2fab00&&_0x2fb2d4[_0xc9c223(0x271)](_0xc9c223(0x1b8),_0x2fab00),_0x462e74(_0x4f1e44);}});}};_0x223987=_0xf681d2([_0x48ed7f(0x0,_0x20df93[_0x144fb0(0xdd)](_0x581b3b[_0x144fb0(0x1d2)]))],_0x223987);var _0x32f01a=Object['defineProperty'],_0x3d807f=Object['getOwnPropertyDescriptor'],_0x42aa89=(_0x155419,_0x1243eb,_0xc4b188,_0x438f9b)=>{for(var _0x8ceaa0=_0x438f9b>0x1?void 0x0:_0x438f9b?_0x3d807f(_0x1243eb,_0xc4b188):_0x1243eb,_0x47baa0=_0x155419['length']-0x1,_0x131a52;_0x47baa0>=0x0;_0x47baa0--)(_0x131a52=_0x155419[_0x47baa0])&&(_0x8ceaa0=(_0x438f9b?_0x131a52(_0x1243eb,_0xc4b188,_0x8ceaa0):_0x131a52(_0x8ceaa0))||_0x8ceaa0);return _0x438f9b&&_0x8ceaa0&&_0x32f01a(_0x1243eb,_0xc4b188,_0x8ceaa0),_0x8ceaa0;},_0x41e24=(_0x2e8970,_0xa6eb8e)=>(_0x2f1039,_0x1f652c)=>_0xa6eb8e(_0x2f1039,_0x1f652c,_0x2e8970);const _0x1716d5=[_0x144fb0(0x2ab),_0x144fb0(0x227),'image/jpg',_0x144fb0(0x13d),_0x144fb0(0x90)],_0x10e387=0x5*0x400*0x400,_0xc05462=_0x144fb0(0x1c9),_0xb984cf=_0x144fb0(0x3bf),_0x1c4578='EXCHANGE_SIGN_URL_SERVER_URL_KEY',_0xb9f95c=_0x144fb0(0x1b5);_0x4c8f94['ImageIoService']=class{constructor(_0x2d4e99,_0x55909b,_0x584a9e){const _0x20af37=_0x144fb0;_0x3e782f(this,_0x20af37(0x2e5),0x0),_0x3e782f(this,_0x20af37(0x15d),new _0x284d0['Subject']()),_0x3e782f(this,_0x20af37(0x11f),this[_0x20af37(0x15d)]),_0x3e782f(this,_0x20af37(0x123),new Map()),(this['_httpService']=_0x2d4e99,this['_configService']=_0x55909b,this[_0x20af37(0xc8)]=_0x584a9e);}[_0x144fb0(0x3e0)](_0x28abfe){const _0x17cca3=_0x144fb0;this[_0x17cca3(0x2e5)]=_0x28abfe,this[_0x17cca3(0x15d)]['next'](_0x28abfe);}[_0x144fb0(0x115)](_0x44dfc0,_0x44a871){const _0x56f6f9=_0x144fb0;if(_0x44a871===_0x1e0c7c[_0x56f6f9(0x34a)]['BASE64']){const _0x4600d3=new Image();return _0x4600d3[_0x56f6f9(0x38f)]=_0x44dfc0,_0x4600d3;}return this['_imageSourceCache']['get'](_0x44dfc0);}[_0x144fb0(0x14d)](_0xcae7a7,_0x5e2553,_0xef26ef){const _0x2097ce=_0x144fb0;_0x5e2553===_0x1e0c7c[_0x2097ce(0x34a)][_0x2097ce(0x3cd)]||_0xef26ef==null||this[_0x2097ce(0x123)][_0x2097ce(0x271)](_0xcae7a7,_0xef26ef);}async[_0x144fb0(0x3de)](_0x10922d){const _0x44f51e=_0x144fb0;try{const _0x1d8684=this['_replaceFileID'](this[_0x44f51e(0x4ac)](),''+_0x10922d),_0x4c8e26=(await this['_httpService'][_0x44f51e(0x3b8)](_0x1d8684))[_0x44f51e(0x141)];if(_0x4c8e26[_0x44f51e(0x37d)]&&_0x4c8e26[_0x44f51e(0x37d)][_0x44f51e(0x2a1)]===_0xe677c3['OK']){const _0x2029be=new URL(_0x4c8e26['url'],this[_0x44f51e(0x322)]())[_0x44f51e(0xf3)]();return Promise[_0x44f51e(0x308)](_0x2029be);}return Promise[_0x44f51e(0x18f)](_0x4c8e26[_0x44f51e(0x37d)]);}catch(_0xdbdcd8){return Promise[_0x44f51e(0x18f)](_0xdbdcd8);}}async[_0x144fb0(0x132)](_0x1f5499){const _0x54e1e5=_0x144fb0;let _0x7a3bea='';if(!_0x1716d5[_0x54e1e5(0xdb)](_0x1f5499['type']))return this[_0x54e1e5(0x274)](),Promise[_0x54e1e5(0x18f)](new Error(_0x1e0c7c[_0x54e1e5(0x1e5)][_0x54e1e5(0x43d)]));if(_0x1f5499[_0x54e1e5(0x332)]>_0x10e387)return this[_0x54e1e5(0x274)](),Promise[_0x54e1e5(0x18f)](new Error(_0x1e0c7c['ImageUploadStatusType'][_0x54e1e5(0x8d)]));try{const _0x13edfb=new FormData();_0x13edfb[_0x54e1e5(0xab)](_0x54e1e5(0x2d4),_0x1f5499);const _0x3d461f=this[_0x54e1e5(0xc8)][_0x54e1e5(0x138)](),_0x1f0a00=_0x3d461f==null?void 0x0:_0x3d461f[_0x54e1e5(0x1fd)]();if(!_0x1f0a00)throw new Error(_0x54e1e5(0x11d));const _0x2240b2=this[_0x54e1e5(0x226)]()+_0x54e1e5(0x255)+_0x1f5499['size'][_0x54e1e5(0xf3)]()+_0x54e1e5(0x3ad)+_0x1b99f2['UnitEmbedded']+'&assign='+encodeURIComponent(_0x1f0a00),_0x35d298=await(await fetch(_0x2240b2,{'method':_0x54e1e5(0x32e),'body':_0x13edfb}))[_0x54e1e5(0x419)]();if(typeof _0x35d298[_0x54e1e5(0x23d)]!='string')return this[_0x54e1e5(0x274)](),Promise['reject'](new Error(_0x1e0c7c[_0x54e1e5(0x1e5)][_0x54e1e5(0x32b)]));_0x7a3bea=_0x35d298[_0x54e1e5(0x23d)];}catch{return this['_decreaseWaiting'](),Promise[_0x54e1e5(0x18f)](new Error(_0x1e0c7c[_0x54e1e5(0x1e5)][_0x54e1e5(0x32b)]));}return new Promise((_0x14ae7e,_0x32ca12)=>{const _0xc4a5cf=_0x54e1e5,_0x33c06c=new FileReader();_0x33c06c[_0xc4a5cf(0xee)](_0x1f5499),_0x33c06c[_0xc4a5cf(0x215)]=_0x29974f=>{const _0x134b74=_0xc4a5cf;var _0x4fb0ca;const _0x660394=(_0x4fb0ca=_0x29974f[_0x134b74(0x22f)])==null?void 0x0:_0x4fb0ca[_0x134b74(0x400)];if(_0x660394==null){this['_decreaseWaiting'](),_0x32ca12(new Error(_0x1e0c7c[_0x134b74(0x1e5)][_0x134b74(0x32b)]));return;}const _0x32b1e0=_0x20df93[_0x134b74(0x1c4)]['generateRandomId'](0x6);_0x14ae7e({'imageId':_0x32b1e0,'imageSourceType':_0x1e0c7c[_0x134b74(0x34a)][_0x134b74(0x2e3)],'source':_0x7a3bea,'base64Cache':_0x660394,'status':_0x1e0c7c['ImageUploadStatusType'][_0x134b74(0x1a6)]}),this['_decreaseWaiting']();};});}[_0x144fb0(0x226)](){const _0x33289d=_0x144fb0;var _0xd2e3fe,_0x516071;const _0x3a371d=this[_0x33289d(0x283)]['getConfig'](_0xc05462),_0xa0dd75=this[_0x33289d(0x283)][_0x33289d(0x27c)](_0x53057b);return(_0x516071=(_0xd2e3fe=_0xa0dd75==null?void 0x0:_0xa0dd75[_0x33289d(0x42c)])!=null?_0xd2e3fe:_0x3a371d)!=null?_0x516071:_0xb984cf;}['_getSignURL'](){const _0x59d22f=_0x144fb0;var _0x3c4709,_0x3abb08;const _0x19727d=this[_0x59d22f(0x283)][_0x59d22f(0x27c)](_0x1c4578),_0x1ffeca=this[_0x59d22f(0x283)][_0x59d22f(0x27c)](_0x53057b);return(_0x3abb08=(_0x3c4709=_0x1ffeca==null?void 0x0:_0x1ffeca[_0x59d22f(0x3b2)])!=null?_0x3c4709:_0x19727d)!=null?_0x3abb08:_0xb9f95c;}[_0x144fb0(0x322)](){const _0x34170b=_0x144fb0;var _0x3f77b3;const _0x136293=this[_0x34170b(0x283)]['getConfig'](_0x53057b);return(_0x3f77b3=_0x136293==null?void 0x0:_0x136293[_0x34170b(0x2bf)])!=null?_0x3f77b3:location[_0x34170b(0x49d)];}[_0x144fb0(0x2e9)](_0x56ddf5,_0x4bdc53){const _0x5cd504=_0x144fb0;return _0x56ddf5[_0x5cd504(0x1ca)]('{fileID}',_0x4bdc53);}['_decreaseWaiting'](){const _0xeb3d67=_0x144fb0;this[_0xeb3d67(0x2e5)]-=0x1,this[_0xeb3d67(0x15d)][_0xeb3d67(0x25d)](this[_0xeb3d67(0x2e5)]);}},_0x4c8f94[_0x144fb0(0xa6)]=_0x42aa89([_0x41e24(0x0,_0x20df93['Inject'](_0x581b3b[_0x144fb0(0x1d2)])),_0x41e24(0x1,_0x20df93[_0x144fb0(0x247)]),_0x41e24(0x2,_0x20df93[_0x144fb0(0xdd)](_0x20df93['IUniverInstanceService']))],_0x4c8f94[_0x144fb0(0xa6)]);var _0x228763=Object[_0x144fb0(0x395)],_0x45d606=Object[_0x144fb0(0x457)],_0x87968c=(_0x1dcf2e,_0x606c14,_0x295a80,_0x34dc2a)=>{const _0x59fa02=_0x144fb0;for(var _0x110865=_0x34dc2a>0x1?void 0x0:_0x34dc2a?_0x45d606(_0x606c14,_0x295a80):_0x606c14,_0x49c970=_0x1dcf2e[_0x59fa02(0x118)]-0x1,_0x43f7b9;_0x49c970>=0x0;_0x49c970--)(_0x43f7b9=_0x1dcf2e[_0x49c970])&&(_0x110865=(_0x34dc2a?_0x43f7b9(_0x606c14,_0x295a80,_0x110865):_0x43f7b9(_0x110865))||_0x110865);return _0x34dc2a&&_0x110865&&_0x228763(_0x606c14,_0x295a80,_0x110865),_0x110865;},_0xf205a2=(_0x12af0d,_0x20f2a3)=>(_0x29aef1,_0x24f880)=>_0x20f2a3(_0x29aef1,_0x24f880,_0x12af0d);let _0x55aa0a=class extends _0x20df93[_0x144fb0(0x330)]{constructor(_0x217912,_0x2bf750,_0x175d09,_0x3a8f74,_0x402d73){const _0x7ddccb=_0x144fb0;super(),this[_0x7ddccb(0x2fc)]=_0x217912,this[_0x7ddccb(0xc8)]=_0x2bf750,this['_permissionService']=_0x175d09,this['_collaborationSessionService']=_0x3a8f74,this[_0x7ddccb(0x208)]=_0x402d73,this['_initUnitPermissionChange'](),this['_initCloseConn']();}[_0x144fb0(0x105)](){const _0x43083a=_0x144fb0,_0x1f4f25=async _0x227719=>{const _0x5ad353=_0x205f;(await this[_0x5ad353(0x172)][_0x5ad353(0x24e)](_0x227719))[_0x5ad353(0x435)][_0x5ad353(0x34d)](_0x3e7ea3['filter'](_0x581574=>_0x581574['eventID']===_0x55cc56[_0x5ad353(0xf4)][_0x5ad353(0x30c)]),_0x3e7ea3['takeUntil'](this[_0x5ad353(0x288)]))[_0x5ad353(0xda)](_0x16ec44=>{const _0xa8e7e2=_0x5ad353,_0x33d4cb=_0x16ec44,{reason:_0x4266d6}=_0x33d4cb['data'];this[_0xa8e7e2(0x2fc)][_0xa8e7e2(0x3b8)](_0x40b1aa[_0xa8e7e2(0x3fe)])[_0xa8e7e2(0x429)]({'type':_0x3206ad[_0xa8e7e2(0x43e)][_0xa8e7e2(0x290)],'content':this[_0xa8e7e2(0x208)]['t'](_0xa8e7e2(0x467))+'('+_0x4266d6+')'}),this[_0xa8e7e2(0x471)][_0xa8e7e2(0x2ad)](new _0x5dce24[(_0xa8e7e2(0x1e0))](_0x227719)['id'],!0x1),this[_0xa8e7e2(0x172)][_0xa8e7e2(0x328)](_0x227719);});};_0x284d0[_0x43083a(0x8c)](this[_0x43083a(0xc8)]['getTypeOfUnitAdded$'](_0x20df93[_0x43083a(0x441)][_0x43083a(0x4bf)]),this['_univerInstanceService'][_0x43083a(0x362)](_0x20df93[_0x43083a(0x441)][_0x43083a(0x126)]))[_0x43083a(0x34d)](_0x3e7ea3[_0x43083a(0x296)](_0x4d6863=>_0x4d6863[_0x43083a(0x1fd)]()),_0x3e7ea3[_0x43083a(0x4a2)](_0x33627f=>!_0x20df93[_0x43083a(0x232)](_0x33627f)),_0x3e7ea3[_0x43083a(0xa0)](this[_0x43083a(0x288)]))[_0x43083a(0xda)](_0x56fa2c=>{_0x1f4f25(_0x56fa2c);});}[_0x144fb0(0x3bc)](){const _0x495002=_0x144fb0,_0x1d774a=async _0x22836f=>{const _0x4085de=_0x205f;(await this[_0x4085de(0x172)]['requireSession'](_0x22836f))[_0x4085de(0x435)][_0x4085de(0x34d)](_0x3e7ea3[_0x4085de(0x4a2)](_0xfe690e=>_0xfe690e[_0x4085de(0x109)]===_0x55cc56['CollaborationEvent'][_0x4085de(0x3c7)]),_0x3e7ea3[_0x4085de(0xa0)](this['dispose$']))[_0x4085de(0xda)](_0x54ad15=>{const _0x788d88=_0x4085de,_0x5d676c=_0x54ad15,{objectId:_0x1ea4bb}=_0x5d676c[_0x788d88(0x24b)],_0x31e916=this[_0x788d88(0x2fc)][_0x788d88(0x3b8)](_0xf53409[_0x788d88(0x21a)]);_0x1ea4bb===_0x22836f?_0x31e916[_0x788d88(0x307)](_0x22836f):_0x31e916['refreshPermission'](_0x22836f,_0x1ea4bb);});};_0x284d0[_0x495002(0x8c)](this[_0x495002(0xc8)][_0x495002(0x362)](_0x20df93[_0x495002(0x441)][_0x495002(0x4bf)]),this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x20df93['UniverInstanceType'][_0x495002(0x126)]))[_0x495002(0x34d)](_0x3e7ea3[_0x495002(0x296)](_0x4eeb14=>_0x4eeb14[_0x495002(0x1fd)]()),_0x3e7ea3[_0x495002(0x4a2)](_0x5d8f73=>!_0x20df93['isInternalEditorID'](_0x5d8f73)),_0x3e7ea3[_0x495002(0xa0)](this[_0x495002(0x288)]))[_0x495002(0xda)](_0x390992=>{_0x1d774a(_0x390992);});}};_0x55aa0a=_0x87968c([_0xf205a2(0x0,_0x20df93['Inject'](_0x20df93[_0x144fb0(0x394)])),_0xf205a2(0x1,_0x20df93[_0x144fb0(0x292)]),_0xf205a2(0x2,_0x20df93['IPermissionService']),_0xf205a2(0x3,_0x20df93[_0x144fb0(0xdd)](_0x4c8f94[_0x144fb0(0x491)])),_0xf205a2(0x4,_0x20df93[_0x144fb0(0xdd)](_0x20df93[_0x144fb0(0x142)]))],_0x55aa0a);var _0x1bd018=Object[_0x144fb0(0x395)],_0x2126a9=Object['getOwnPropertyDescriptor'],_0x3a7afd=(_0x2adccb,_0x3e9f45,_0x1a9f20,_0xc00ca0)=>{const _0x7ce8fc=_0x144fb0;for(var _0x464c4d=_0xc00ca0>0x1?void 0x0:_0xc00ca0?_0x2126a9(_0x3e9f45,_0x1a9f20):_0x3e9f45,_0x514e8b=_0x2adccb[_0x7ce8fc(0x118)]-0x1,_0x11f70d;_0x514e8b>=0x0;_0x514e8b--)(_0x11f70d=_0x2adccb[_0x514e8b])&&(_0x464c4d=(_0xc00ca0?_0x11f70d(_0x3e9f45,_0x1a9f20,_0x464c4d):_0x11f70d(_0x464c4d))||_0x464c4d);return _0xc00ca0&&_0x464c4d&&_0x1bd018(_0x3e9f45,_0x1a9f20,_0x464c4d),_0x464c4d;},_0x5bc719=(_0x4d9acc,_0x4eb48c)=>(_0x220477,_0x3d20eb)=>_0x4eb48c(_0x220477,_0x3d20eb,_0x4d9acc);_0x4c8f94['SnapshotServerOverHTTPService']=class{constructor(_0x3ef5ac,_0x3e8f33){const _0x1c0850=_0x144fb0;this[_0x1c0850(0x283)]=_0x3ef5ac,this[_0x1c0850(0x136)]=_0x3e8f33;}async[_0x144fb0(0x1d4)](_0x3a7380,_0x30e7b3){const _0x319b13=_0x144fb0;var _0x2aeae3;const {unitID:_0xf27c49,type:_0x386234,revision:_0x3bb868=0x0}=_0x30e7b3,_0x2281cc=this[_0x319b13(0x4cc)]()+'/'+_0x386234+_0x319b13(0xdc)+_0xf27c49+_0x319b13(0x37c)+_0x3bb868,_0xf0db0a=(await this[_0x319b13(0x136)][_0x319b13(0x3b8)](_0x2281cc))[_0x319b13(0x141)],_0x1e23fb=(_0x2aeae3=_0xf0db0a['snapshot'])==null?void 0x0:_0x2aeae3[_0x319b13(0x2a3)];if(_0x1e23fb){const _0x141121=_0x1e23fb==null?void 0x0:_0x1e23fb[_0x319b13(0x4a4)],_0x54aad0=_0x55cc56[_0x319b13(0x12a)][_0x319b13(0xe0)](_0x55cc56[_0x319b13(0x2aa)](_0x141121));_0x1e23fb[_0x319b13(0x4a4)]=_0x54aad0,Object[_0x319b13(0x27b)](_0x1e23fb[_0x319b13(0x2e7)])[_0x319b13(0x478)](([,_0x90d0aa])=>{const _0x3abfe4=_0x319b13,_0x520e31=_0x90d0aa['originalMeta'],_0x1a930a=_0x55cc56[_0x3abfe4(0x12a)]['encode'](_0x55cc56[_0x3abfe4(0x2aa)](_0x520e31));_0x90d0aa[_0x3abfe4(0x4a4)]=_0x1a930a;});}return _0xf0db0a;}async[_0x144fb0(0x13f)](_0x4f597b,_0x4d4c6f){const _0x271e44=_0x144fb0,{unitID:_0xeffba9,type:_0x510739,blockID:_0x165a91}=_0x4d4c6f,_0x4bfb6e=this[_0x271e44(0x18a)]()+'/'+_0x510739+_0x271e44(0xdc)+_0xeffba9+'/block/'+_0x165a91;return(await this['_httpService'][_0x271e44(0x3b8)](_0x4bfb6e))[_0x271e44(0x141)];}async[_0x144fb0(0x473)](_0xaa1599,_0x440ad2){const _0x4b47ea=_0x144fb0,{unitID:_0x34bfa4,type:_0xbd8be3,blockID:_0x164a90}=_0x440ad2,_0x3fdd0b=this['_getAPIPrefix']()+'/block/'+_0xbd8be3+_0x4b47ea(0xdc)+_0x34bfa4+_0x4b47ea(0x348)+_0x164a90;return(await this[_0x4b47ea(0x136)]['get'](_0x3fdd0b))[_0x4b47ea(0x141)];}async[_0x144fb0(0x319)](_0x59b7aa,_0x2f4d80){const _0x29e603=_0x144fb0,{unitID:_0x3a804b,type:_0x5cd2e2,from:_0x26ddc0,to:_0x302102}=_0x2f4d80,_0x28f96a=this['_getAPIPrefix']()+'/'+_0x5cd2e2+_0x29e603(0xdc)+_0x3a804b+'/fetchmissing?from='+_0x26ddc0+_0x29e603(0x9e)+_0x302102;return(await this[_0x29e603(0x136)][_0x29e603(0x3b8)](_0x28f96a))[_0x29e603(0x141)];}[_0x144fb0(0x4cc)](){const _0x5d325c=_0x144fb0;var _0x2f2397;return(_0x2f2397=this[_0x5d325c(0x283)][_0x5d325c(0x27c)](_0xa047ec))!=null?_0x2f2397:this['_getAPIPrefix']();}['_getAPIPrefix'](){const _0x12462a=_0x144fb0;var _0x2e7eb2,_0x15ec5c;const _0x42f22b=this[_0x12462a(0x283)][_0x12462a(0x27c)](_0x241bd8),_0x11f91d=this['_configService']['getConfig'](_0x53057b);return(_0x15ec5c=(_0x2e7eb2=_0x11f91d==null?void 0x0:_0x11f91d[_0x12462a(0x317)])!=null?_0x2e7eb2:_0x42f22b)!=null?_0x15ec5c:_0x534440;}async[_0x144fb0(0x47b)](_0x289c75,_0x595f94){const _0x135966=_0x144fb0,_0x3ae35b=_0x135966(0x3f1)+_0x595f94[_0x135966(0x2e4)]+_0x135966(0xdc)+_0x595f94[_0x135966(0x239)]+_0x135966(0x16c);return(await this[_0x135966(0x136)][_0x135966(0x3b8)](_0x3ae35b,{'params':{'resourceId':JSON['stringify'](_0x595f94[_0x135966(0xc4)])}}))[_0x135966(0x141)];}[_0x144fb0(0x31a)](){const _0x3ba35e=_0x144fb0;throw new Error(_0x3ba35e(0x287));}[_0x144fb0(0x2ca)](){const _0x58b893=_0x144fb0;throw new Error(_0x58b893(0x287));}[_0x144fb0(0x2c2)](){const _0x139d14=_0x144fb0;throw new Error(_0x139d14(0x287));}['copyFileMeta'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}},_0x4c8f94[_0x144fb0(0x18c)]=_0x3a7afd([_0x5bc719(0x0,_0x20df93[_0x144fb0(0x247)]),_0x5bc719(0x1,_0x20df93[_0x144fb0(0xdd)](_0x581b3b[_0x144fb0(0x1d2)]))],_0x4c8f94[_0x144fb0(0x18c)]);var _0x88636f=Object['defineProperty'],_0x4b560=Object['getOwnPropertyDescriptor'],_0x296bb7=(_0x341d48,_0x4438a5,_0x67d0cc,_0xd6b680)=>{const _0x32a916=_0x144fb0;for(var _0x3452e7=_0xd6b680>0x1?void 0x0:_0xd6b680?_0x4b560(_0x4438a5,_0x67d0cc):_0x4438a5,_0x3259fc=_0x341d48[_0x32a916(0x118)]-0x1,_0x429e3c;_0x3259fc>=0x0;_0x3259fc--)(_0x429e3c=_0x341d48[_0x3259fc])&&(_0x3452e7=(_0xd6b680?_0x429e3c(_0x4438a5,_0x67d0cc,_0x3452e7):_0x429e3c(_0x3452e7))||_0x3452e7);return _0xd6b680&&_0x3452e7&&_0x88636f(_0x4438a5,_0x67d0cc,_0x3452e7),_0x3452e7;},_0x16bd9b=(_0x251060,_0x2bfa19)=>(_0x80c268,_0x3dd044)=>_0x2bfa19(_0x80c268,_0x3dd044,_0x251060);let _0x2dc26f=class extends _0x20df93[_0x144fb0(0x458)]{constructor(_0x2eb6c4,_0x21a1bb,_0x2870be,_0x5a7eb2,_0x274548){const _0x197923=_0x144fb0;super(_0x2eb6c4,_0x21a1bb,_0x2870be),this[_0x197923(0x3dd)]=_0x5a7eb2,this[_0x197923(0x414)]=_0x274548;}[_0x144fb0(0x2bd)](_0x469ecb,_0x279b2b){const _0x5d966b=_0x144fb0,_0x273b0e=this['_getUndoStack'](_0x469ecb);if(_0x273b0e)try{const _0x56b123=this[_0x5d966b(0x4a6)](_0x273b0e,_0x279b2b);this[_0x5d966b(0x9f)](_0x469ecb,_0x56b123);}catch(_0x4bde80){this[_0x5d966b(0x414)]['error']('[CollaborationUndoRedoService]',_0x4bde80),this[_0x5d966b(0x3eb)](_0x469ecb);}const _0x1f3256=this[_0x5d966b(0x1c1)](_0x469ecb);if(_0x1f3256)try{const _0x2f09ac=this['_transformStack'](_0x1f3256,_0x279b2b);this['_substituteRedoStack'](_0x469ecb,_0x2f09ac);}catch(_0x5498a3){this['_logService'][_0x5d966b(0x37d)](_0x5498a3),this['_clearRedo'](_0x469ecb);}}[_0x144fb0(0x3eb)](_0x35ee75){const _0x42a041=_0x144fb0,_0x28670e=this[_0x42a041(0x4bd)](_0x35ee75);_0x28670e&&(_0x28670e[_0x42a041(0x118)]=0x0,this[_0x42a041(0x3ea)]());}[_0x144fb0(0x305)](_0x26cacb){const _0x48c403=_0x144fb0,_0x406d8e=this['_getRedoStack'](_0x26cacb);_0x406d8e&&(_0x406d8e['length']=0x0,this[_0x48c403(0x3ea)]());}[_0x144fb0(0x9f)](_0x3daf28,_0x3060fd){const _0x2ab639=_0x144fb0;this[_0x2ab639(0x2a2)][_0x2ab639(0x271)](_0x3daf28,_0x3060fd),this[_0x2ab639(0x3ea)]();}['_substituteRedoStack'](_0x3c46e8,_0x5a5b4f){const _0x6625e0=_0x144fb0;this[_0x6625e0(0x3f8)][_0x6625e0(0x271)](_0x3c46e8,_0x5a5b4f),this['_updateStatus']();}[_0x144fb0(0x4a6)](_0x4440a1,_0x1ce351){const _0xbf4c6c=_0x144fb0,_0x35cb53=[];let _0x2fdcc1=_0x1ce351,_0x1f0c19=_0x1ce351;for(let _0x3903cf=_0x4440a1['length']-0x1;_0x3903cf>=0x0;_0x3903cf--){const {unitID:_0x4c7ce5,undoMutations:_0x308717,redoMutations:_0x5462cd}=_0x4440a1[_0x3903cf],_0x50a949=this[_0xbf4c6c(0x3dd)][_0xbf4c6c(0x40d)](_0x2fdcc1,_0x308717),_0x411642=this[_0xbf4c6c(0x3dd)][_0xbf4c6c(0x40d)](_0x1f0c19,_0x5462cd);if(_0x55cc56[_0xbf4c6c(0x2c6)](_0x50a949)||_0x55cc56['isTransformMutationsWithChangesetFailure'](_0x411642)){this[_0xbf4c6c(0x414)][_0xbf4c6c(0x37d)]('[CollaborationUndoRedoService]',_0xbf4c6c(0x39f),_0x50a949,_0x411642);break;}_0x2fdcc1=_0x50a949[_0xbf4c6c(0x4b5)],_0x1f0c19=_0x411642['c1Prime'],_0x35cb53[_0xbf4c6c(0x20e)]({'unitID':_0x4c7ce5,'undoMutations':_0x50a949[_0xbf4c6c(0x171)],'redoMutations':_0x411642[_0xbf4c6c(0x171)]});}return _0x35cb53[_0xbf4c6c(0x47e)]();}};_0x2dc26f=_0x296bb7([_0x16bd9b(0x0,_0x20df93[_0x144fb0(0x292)]),_0x16bd9b(0x1,_0x20df93[_0x144fb0(0x338)]),_0x16bd9b(0x2,_0x20df93[_0x144fb0(0x3e1)]),_0x16bd9b(0x3,_0x55cc56['ITransformService']),_0x16bd9b(0x4,_0x20df93['ILogService'])],_0x2dc26f);class _0x3b6a43 extends _0x20df93[_0x144fb0(0x330)]{constructor(){const _0x2b1eae=_0x144fb0;super(),_0x3e782f(this,'urlChange$'),this[_0x2b1eae(0x2b5)]=_0x284d0[_0x2b1eae(0x341)](window,'popstate')[_0x2b1eae(0x34d)](_0x284d0[_0x2b1eae(0xa0)](this[_0x2b1eae(0x288)]),_0x284d0[_0x2b1eae(0x447)](0x1),_0x284d0[_0x2b1eae(0x48b)](void 0x0));}[_0x144fb0(0x475)](_0x1204b2,_0x48ce2e,_0x45659b=!0x1){const _0x323768=_0x144fb0,_0x18ac61=new URL(window['location'][_0x323768(0x264)]);_0x18ac61[_0x323768(0x222)][_0x323768(0x271)](_0x1204b2,_0x48ce2e),_0x45659b?window[_0x323768(0x3df)][_0x323768(0x94)]('','',_0x18ac61[_0x323768(0xf3)]()):window[_0x323768(0x3df)]['pushState']('','',_0x18ac61[_0x323768(0xf3)]());}[_0x144fb0(0x39a)](_0x25633d,_0x4c1afd=!0x1){const _0x262621=_0x144fb0,_0x4e2b10=new URL(window[_0x262621(0x33a)][_0x262621(0x264)]);_0x4e2b10[_0x262621(0x222)][_0x262621(0x32d)](_0x25633d),_0x4c1afd?window[_0x262621(0x3df)][_0x262621(0x94)]('','',_0x4e2b10['toString']()):window['history']['pushState']('','',_0x4e2b10[_0x262621(0xf3)]());}[_0x144fb0(0xa4)](_0x192707){const _0x48c1f5=_0x144fb0;var _0xff231b;return(_0xff231b=new URL(window[_0x48c1f5(0x33a)][_0x48c1f5(0x264)])[_0x48c1f5(0x222)][_0x48c1f5(0x3b8)](_0x192707))!=null?_0xff231b:void 0x0;}}var _0x300a5f=Object[_0x144fb0(0x395)],_0x35ad9d=Object['getOwnPropertyDescriptor'],_0x29a0a1=(_0xfffcea,_0x363bfe,_0x10d1c4)=>_0x363bfe in _0xfffcea?_0x300a5f(_0xfffcea,_0x363bfe,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x10d1c4}):_0xfffcea[_0x363bfe]=_0x10d1c4,_0x15cc85=(_0xd6f816,_0x153f65,_0x152004,_0x2d8899)=>{for(var _0x36d9aa=_0x2d8899>0x1?void 0x0:_0x2d8899?_0x35ad9d(_0x153f65,_0x152004):_0x153f65,_0x5953cf=_0xd6f816['length']-0x1,_0x3f1dbe;_0x5953cf>=0x0;_0x5953cf--)(_0x3f1dbe=_0xd6f816[_0x5953cf])&&(_0x36d9aa=(_0x2d8899?_0x3f1dbe(_0x153f65,_0x152004,_0x36d9aa):_0x3f1dbe(_0x36d9aa))||_0x36d9aa);return _0x2d8899&&_0x36d9aa&&_0x300a5f(_0x153f65,_0x152004,_0x36d9aa),_0x36d9aa;},_0x4ce01d=(_0x29e613,_0x24e2f7)=>(_0x24a3ca,_0x173df2)=>_0x24e2f7(_0x24a3ca,_0x173df2,_0x29e613),_0x48b619=(_0x3f7dba,_0xefe5be,_0x318fa2)=>_0x29a0a1(_0x3f7dba,_0xefe5be+'',_0x318fa2);const _0xbcfb1a='UNIVER_COLLABORATION_CLIENT_PLUGIN';_0x4c8f94[_0x144fb0(0x43f)]=class extends _0x20df93[_0x144fb0(0x48f)]{constructor(_0x479590=_0x391b0e,_0x4c51b8,_0x1c32a2,_0x3f9f96,_0x35f07c){const _0x4b8da3=_0x144fb0;super(),this[_0x4b8da3(0x417)]=_0x479590,this['_logService']=_0x4c51b8,this[_0x4b8da3(0x2f9)]=_0x1c32a2,this[_0x4b8da3(0x2fc)]=_0x3f9f96,this[_0x4b8da3(0x283)]=_0x35f07c;const {..._0x3012f8}=this[_0x4b8da3(0x417)];this[_0x4b8da3(0x283)]['setConfig'](_0x53057b,_0x3012f8);}[_0x144fb0(0x22b)](){const _0x5585f4=_0x144fb0;this['_registerDependencies'](),_0x20df93['touchDependencies'](this[_0x5585f4(0x2fc)],[[_0x297695],[_0x4c8f94[_0x5585f4(0x26a)]],[_0x55aa0a]]);}[_0x144fb0(0x12f)](){const _0x54fd81=_0x144fb0;_0x20df93[_0x54fd81(0x430)](this['_injector'],[[_0x43a9b6]]);}['onRendered'](){const _0x35ab15=_0x144fb0;this[_0x35ab15(0x4b4)]();}[_0x144fb0(0x1d1)](){const _0x1d1141=_0x144fb0;var _0x9f257,_0x5ed578,_0x260d2b,_0x5dc5c5;this[_0x1d1141(0x2fc)][_0x1d1141(0x26d)](_0x20df93[_0x1d1141(0x2d0)])&&this['_logService']['error'](_0x1d1141(0x162),_0x1d1141(0x28c));let _0x11d1e2=[[_0x20df93[_0x1d1141(0x2d0)],{'useClass':_0x2dc26f}],[_0x4c8f94[_0x1d1141(0x491)]],[_0x402c47],[_0x581b3b[_0x1d1141(0x1d2)]],[_0x22cd46,{'useClass':_0x3b6a43}],[_0x513006],[_0x4c8f94[_0x1d1141(0x309)]],[_0x581b3b['WebSocketService']],[_0x44b9f8],[_0x5d5342],[_0x57c1cf],[_0x1ab040],[_0x41e9e1],[_0x223987],[_0x2d13b9],[_0x55aa0a],[_0x194337,{'useClass':(_0x5ed578=(_0x9f257=this[_0x1d1141(0x417)])==null?void 0x0:_0x9f257[_0x1d1141(0x2dc)])!=null?_0x5ed578:_0x4c8f94[_0x1d1141(0xec)]}],[_0x581b3b['IHTTPImplementation'],{'useClass':_0x581b3b[_0x1d1141(0x2ea)]}],[_0x55cc56[_0x1d1141(0x449)],{'useClass':_0x4c8f94[_0x1d1141(0x18c)]}],[_0x20df93[_0x1d1141(0xc5)],{'useClass':_0x4c8f94['AuthzIoHttpService']}],[_0x1e0c7c[_0x1d1141(0x2e6)],{'useClass':_0x4c8f94[_0x1d1141(0xa6)]}],[_0x4c8f94[_0x1d1141(0x10e)]],[_0x4c8f94[_0x1d1141(0x26a)]],[_0x4c8f94[_0x1d1141(0x10a)]],[_0x43a9b6],[_0x297695]];(_0x260d2b=this[_0x1d1141(0x417)])!=null&&_0x260d2b[_0x1d1141(0x4b9)]&&_0x11d1e2[_0x1d1141(0x20e)]([_0x3977df,{'useClass':_0x4e8c93}]),_0x11d1e2=_0x20df93[_0x1d1141(0x3bb)](_0x11d1e2,(_0x5dc5c5=this[_0x1d1141(0x417)])==null?void 0x0:_0x5dc5c5['override']),_0x11d1e2[_0x1d1141(0x478)](_0x4e2f9e=>this[_0x1d1141(0x2fc)][_0x1d1141(0x4bc)](_0x4e2f9e)),this[_0x1d1141(0x21b)]();}[_0x144fb0(0x4b4)](){const _0x14b5ee=_0x144fb0;this['disposeWithMe'](this['_renderManagerService'][_0x14b5ee(0x175)](_0x20df93[_0x14b5ee(0x441)]['UNIVER_DOC'],[_0x10cc5e])),this['disposeWithMe'](this['_renderManagerService'][_0x14b5ee(0x175)](_0x20df93[_0x14b5ee(0x441)][_0x14b5ee(0x4bf)],[_0x2b682d]));}[_0x144fb0(0x21b)](){const _0x3b88c8=_0x144fb0;var _0x5a253e,_0x27df84;this[_0x3b88c8(0x2fc)][_0x3b88c8(0x3b8)](_0x581b3b['HTTPService'])['registerHTTPInterceptor']({'priority':0x14,'interceptor':_0x581b3b[_0x3b88c8(0x23c)]({'maxParallel':0x6})}),this['_injector'][_0x3b88c8(0x3b8)](_0x223987),(_0x5a253e=this[_0x3b88c8(0x417)])!=null&&_0x5a253e['enableOfflineEditing']||this[_0x3b88c8(0x2fc)]['get'](_0x4c8f94[_0x3b88c8(0x309)])['disableLocalCache'](),(_0x27df84=this[_0x3b88c8(0x417)])!=null&&_0x27df84[_0x3b88c8(0xce)]&&this[_0x3b88c8(0x2fc)][_0x3b88c8(0x3b8)](_0x41e9e1),this[_0x3b88c8(0x2fc)][_0x3b88c8(0x3b8)](_0x4c8f94[_0x3b88c8(0x10e)]),this['_injector'][_0x3b88c8(0x26d)](_0x4c8f94[_0x3b88c8(0x10a)])&&this[_0x3b88c8(0x2fc)][_0x3b88c8(0x3b8)](_0x4c8f94[_0x3b88c8(0x10a)]);}},_0x48b619(_0x4c8f94[_0x144fb0(0x43f)],_0x144fb0(0x35f),_0xbcfb1a),_0x4c8f94[_0x144fb0(0x43f)]=_0x15cc85([_0x20df93[_0x144fb0(0x221)](_0x55cc56['UniverCollaborationPlugin']),_0x4ce01d(0x1,_0x20df93[_0x144fb0(0x1a2)]),_0x4ce01d(0x2,_0x1ff35a[_0x144fb0(0x310)]),_0x4ce01d(0x3,_0x20df93['Inject'](_0x20df93[_0x144fb0(0x394)])),_0x4ce01d(0x4,_0x20df93[_0x144fb0(0x247)])],_0x4c8f94[_0x144fb0(0x43f)]),_0x4c8f94[_0x144fb0(0x25a)]=_0x3a861f,_0x4c8f94[_0x144fb0(0xcf)]=_0x546840,_0x4c8f94[_0x144fb0(0x3c6)]=_0x3c9b9d,_0x4c8f94[_0x144fb0(0x4bb)]=_0x5d3e7e,_0x4c8f94[_0x144fb0(0x1e4)]=_0x2b690e,_0x4c8f94['CommentService']=_0x2d13b9,_0x4c8f94[_0x144fb0(0xd8)]=_0x4ffc98,_0x4c8f94[_0x144fb0(0x358)]=_0x16ecf3,_0x4c8f94[_0x144fb0(0x363)]=_0x194337,_0x4c8f94[_0x144fb0(0x2ef)]=_0x22cd46,_0x4c8f94[_0x144fb0(0x39c)]=_0x1a11f9,_0x4c8f94[_0x144fb0(0x211)]=_0x57c1a6,_0x4c8f94[_0x144fb0(0x345)]=_0x30e871,_0x4c8f94[_0x144fb0(0x2d2)]=_0x456d0e,_0x4c8f94[_0x144fb0(0x367)]=_0x241bd8,_0x4c8f94[_0x144fb0(0xc9)]=_0xa047ec,_0x4c8f94['SessionStatus']=_0x4d48e1,_0x4c8f94[_0x144fb0(0x1d5)]=_0x128851,_0x4c8f94[_0x144fb0(0x2cf)]=_0x3b6a43,_0x4c8f94[_0x144fb0(0x294)]=_0x441743,_0x4c8f94['serializeCombRequest']=_0x2d1c74,Object[_0x144fb0(0x395)](_0x4c8f94,Symbol['toStringTag'],{'value':_0x144fb0(0x340)});}));
|
1
|
+
(function(_0x11ac8a,_0x3ebd38){const _0x15daca=_0x5025,_0x340e5e=_0x11ac8a();while(!![]){try{const _0x13e629=-parseInt(_0x15daca(0x4f7))/0x1*(parseInt(_0x15daca(0x2fa))/0x2)+-parseInt(_0x15daca(0x59e))/0x3+parseInt(_0x15daca(0x416))/0x4*(parseInt(_0x15daca(0x4d7))/0x5)+parseInt(_0x15daca(0x4d5))/0x6+parseInt(_0x15daca(0x305))/0x7*(parseInt(_0x15daca(0x5a3))/0x8)+-parseInt(_0x15daca(0x320))/0x9*(parseInt(_0x15daca(0x4d6))/0xa)+parseInt(_0x15daca(0x1b5))/0xb;if(_0x13e629===_0x3ebd38)break;else _0x340e5e['push'](_0x340e5e['shift']());}catch(_0x29b747){_0x340e5e['push'](_0x340e5e['shift']());}}}(_0x4c12,0xb6ad2),function(_0xccc25,_0x5ba8d4){const _0x5f38f6=_0x5025;typeof exports==_0x5f38f6(0x232)&&typeof module<'u'?_0x5ba8d4(exports,require('@univerjs/core'),require(_0x5f38f6(0x2c8)),require('rxjs/operators'),require('@univerjs/design'),require('@univerjs/ui'),require(_0x5f38f6(0x201)),require(_0x5f38f6(0x4a5)),require(_0x5f38f6(0x285)),require(_0x5f38f6(0x470)),require('@univerjs/docs-ui'),require(_0x5f38f6(0x34a)),require('@univerjs/engine-render'),require(_0x5f38f6(0x4e0)),require(_0x5f38f6(0x2c2)),require(_0x5f38f6(0x3f2)),require('react'),require(_0x5f38f6(0x200)),require(_0x5f38f6(0x335))):typeof define==_0x5f38f6(0x574)&&define[_0x5f38f6(0x399)]?define([_0x5f38f6(0x5ac),_0x5f38f6(0x334),'rxjs','rxjs/operators','@univerjs/design',_0x5f38f6(0x3c5),_0x5f38f6(0x201),_0x5f38f6(0x4a5),_0x5f38f6(0x285),_0x5f38f6(0x470),_0x5f38f6(0x1ff),_0x5f38f6(0x34a),_0x5f38f6(0x5bd),_0x5f38f6(0x4e0),'@univerjs/engine-formula','@univerjs/sheets-ui',_0x5f38f6(0x1fc),'@univerjs/rpc',_0x5f38f6(0x335)],_0x5ba8d4):(_0xccc25=typeof globalThis<'u'?globalThis:_0xccc25||self,_0x5ba8d4(_0xccc25['UniverCollaborationClient']={},_0xccc25[_0x5f38f6(0x44f)],_0xccc25[_0x5f38f6(0x2c8)],_0xccc25[_0x5f38f6(0x2c8)][_0x5f38f6(0x221)],_0xccc25['UniverDesign'],_0xccc25[_0x5f38f6(0x267)],_0xccc25[_0x5f38f6(0x4c1)],_0xccc25[_0x5f38f6(0x253)],_0xccc25['UniverTelemetry'],_0xccc25[_0x5f38f6(0x3a2)],_0xccc25[_0x5f38f6(0x542)],_0xccc25['UniverSheets'],_0xccc25[_0x5f38f6(0x55f)],_0xccc25[_0x5f38f6(0x4c2)],_0xccc25[_0x5f38f6(0x4ee)],_0xccc25[_0x5f38f6(0x455)],_0xccc25[_0x5f38f6(0x202)],_0xccc25[_0x5f38f6(0x5a2)],_0xccc25[_0x5f38f6(0x2b4)]));}(this,function(_0x119e5f,_0x42e035,_0x40c8d9,_0xfd004d,_0x25691d,_0x576301,_0x45f1e1,_0x1a2c53,_0x14d311,_0x50c98c,_0x43047a,_0x2d44ec,_0x7f7413,_0x54b8f5,_0x4f7175,_0x29357b,_0xe67cb,_0x22d03b,_0x3ed312){'use strict';const _0x2a4c41=_0x5025;var _0x51994b=Object[_0x2a4c41(0x38e)],_0x234c80=(_0x1b40d6,_0x5193da,_0x6e8839)=>_0x5193da in _0x1b40d6?_0x51994b(_0x1b40d6,_0x5193da,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x6e8839}):_0x1b40d6[_0x5193da]=_0x6e8839,_0x3a0856=(_0x535590,_0x12569e,_0x1e985a)=>_0x234c80(_0x535590,typeof _0x12569e!='symbol'?_0x12569e+'':_0x12569e,_0x1e985a);const _0x29e843=_0x2a4c41(0x2af),_0x3d76bf=_0x2a4c41(0x21f),_0x3fe4ba=_0x2a4c41(0x1f5),_0x37e430=_0x2a4c41(0x1f4),_0x1c4bb5='COLLAB_WEB_SOCKET_URL',_0x449381='ws://127.0.0.1:8000/universer-api/comb/connect',_0x300f15=_0x2a4c41(0x331),_0x5824fe='HEARTBEAT_TIMEOUT',_0x5d1651=_0x2a4c41(0x55c),_0x37a242=_0x2a4c41(0x4a8),_0x1f5d13=_0x2a4c41(0x4fb),_0x15c816=_0x2a4c41(0x550),_0x47525d=_0x2a4c41(0x5d2),_0x41dfd9=_0x2a4c41(0x4e8);var _0x2b70c1=(_0x6225ad=>(_0x6225ad[_0x6225ad[_0x2a4c41(0x482)]=0x0]=_0x2a4c41(0x482),_0x6225ad[_0x6225ad['OK']=0x1]='OK',_0x6225ad[_0x6225ad[_0x2a4c41(0x247)]=0x2]=_0x2a4c41(0x247),_0x6225ad[_0x6225ad['PERMISSION_DENIED']=0x3]='PERMISSION_DENIED',_0x6225ad[_0x6225ad[_0x2a4c41(0x33f)]=0x4]=_0x2a4c41(0x33f),_0x6225ad[_0x6225ad[_0x2a4c41(0x1ef)]=0x5]=_0x2a4c41(0x1ef),_0x6225ad[_0x6225ad['ALREADY_EXISTS']=0x6]=_0x2a4c41(0x518),_0x6225ad[_0x6225ad['INVALID_ARGUMENT']=0x7]=_0x2a4c41(0x39b),_0x6225ad[_0x6225ad[_0x2a4c41(0x599)]=0x8]=_0x2a4c41(0x599),_0x6225ad[_0x6225ad[_0x2a4c41(0x1a3)]=0x9]=_0x2a4c41(0x1a3),_0x6225ad[_0x6225ad[_0x2a4c41(0x338)]=0x1389]=_0x2a4c41(0x338),_0x6225ad[_0x6225ad[_0x2a4c41(0x1e4)]=0x1771]=_0x2a4c41(0x1e4),_0x6225ad[_0x6225ad[_0x2a4c41(0x4b6)]=0x1772]=_0x2a4c41(0x4b6),_0x6225ad[_0x6225ad[_0x2a4c41(0x2b9)]=0x1b59]='APPLY_REJECT',_0x6225ad[_0x6225ad[_0x2a4c41(0x5b4)]=0x1b5a]=_0x2a4c41(0x5b4),_0x6225ad[_0x6225ad[_0x2a4c41(0x3af)]=0x1b5b]=_0x2a4c41(0x3af),_0x6225ad[_0x6225ad[_0x2a4c41(0x263)]=0x1b5c]=_0x2a4c41(0x263),_0x6225ad[_0x6225ad[_0x2a4c41(0x3b5)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x6225ad[_0x6225ad[_0x2a4c41(0x1cf)]=0x2329]=_0x2a4c41(0x1cf),_0x6225ad[_0x6225ad[_0x2a4c41(0x58c)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x6225ad[_0x6225ad[_0x2a4c41(0x57c)]=0x232b]=_0x2a4c41(0x57c),_0x6225ad[_0x6225ad['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x6225ad[_0x6225ad[_0x2a4c41(0x417)]=0x232d]=_0x2a4c41(0x417),_0x6225ad[_0x6225ad[_0x2a4c41(0x236)]=0x2711]=_0x2a4c41(0x236),_0x6225ad[_0x6225ad[_0x2a4c41(0x233)]=0x2712]=_0x2a4c41(0x233),_0x6225ad[_0x6225ad[_0x2a4c41(0x2b5)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x6225ad[_0x6225ad[_0x2a4c41(0x329)]=0x2714]=_0x2a4c41(0x329),_0x6225ad[_0x6225ad[_0x2a4c41(0x59c)]=-0x1]=_0x2a4c41(0x59c),_0x6225ad))(_0x2b70c1||{}),_0x2a3e17=(_0x3699fa=>(_0x3699fa[_0x3699fa[_0x2a4c41(0x44d)]=0x0]='UNIVER_UNKNOWN',_0x3699fa[_0x3699fa['UNIVER_DOC']=0x1]='UNIVER_DOC',_0x3699fa[_0x3699fa[_0x2a4c41(0x56a)]=0x2]=_0x2a4c41(0x56a),_0x3699fa[_0x3699fa[_0x2a4c41(0x54f)]=0x3]=_0x2a4c41(0x54f),_0x3699fa[_0x3699fa[_0x2a4c41(0x590)]=0x4]=_0x2a4c41(0x590),_0x3699fa[_0x3699fa[_0x2a4c41(0x59c)]=-0x1]=_0x2a4c41(0x59c),_0x3699fa))(_0x2a3e17||{}),_0x4efcf2=(_0x39d2c3=>(_0x39d2c3[_0x39d2c3['UNKNOWN_CMD']=0x0]='UNKNOWN_CMD',_0x39d2c3[_0x39d2c3[_0x2a4c41(0x39e)]=0x1]=_0x2a4c41(0x39e),_0x39d2c3[_0x39d2c3[_0x2a4c41(0x35f)]=0x2]=_0x2a4c41(0x35f),_0x39d2c3[_0x39d2c3[_0x2a4c41(0x519)]=0x3]=_0x2a4c41(0x519),_0x39d2c3[_0x39d2c3[_0x2a4c41(0x2ea)]=0x4]='INGEST',_0x39d2c3[_0x39d2c3[_0x2a4c41(0x1df)]=0x5]='HEARTBEAT',_0x39d2c3[_0x39d2c3[_0x2a4c41(0x4de)]=0x6]=_0x2a4c41(0x4de),_0x39d2c3[_0x39d2c3['UNRECOGNIZED']=-0x1]=_0x2a4c41(0x59c),_0x39d2c3))(_0x4efcf2||{}),_0x1d1888=(_0x29ed77=>(_0x29ed77[_0x29ed77[_0x2a4c41(0x513)]=0x0]=_0x2a4c41(0x513),_0x29ed77[_0x29ed77['OK']=0x1]='OK',_0x29ed77[_0x29ed77['FAIL']=0x2]=_0x2a4c41(0x418),_0x29ed77[_0x29ed77[_0x2a4c41(0x59c)]=-0x1]=_0x2a4c41(0x59c),_0x29ed77))(_0x1d1888||{}),_0x2f5255=(_0x470e09=>(_0x470e09[_0x470e09['Undefined']=0x0]='Undefined',_0x470e09[_0x470e09[_0x2a4c41(0x412)]=0x1]=_0x2a4c41(0x412),_0x470e09[_0x470e09[_0x2a4c41(0x517)]=0x2]='HttpExport',_0x470e09[_0x470e09[_0x2a4c41(0x1a4)]=0x3]=_0x2a4c41(0x1a4),_0x470e09[_0x470e09['UnitSnapshot']=0x4]=_0x2a4c41(0x1ea),_0x470e09[_0x470e09[_0x2a4c41(0x59c)]=-0x1]=_0x2a4c41(0x59c),_0x470e09))(_0x2f5255||{});const _0x576146=_0x2a4c41(0x480),_0x4caf99={};function _0x40c376(_0x5af43a){const _0x442df2=_0x2a4c41;var _0x35e3ed,_0x3ee92d,_0x3ec300,_0x5d3a09;const _0x43c124=_0x5af43a[_0x442df2(0x5c8)],_0xcf9655=JSON[_0x442df2(0x3d0)](_0x43c124);switch(_0xcf9655[_0x442df2(0x1d9)]){case _0x4efcf2[_0x442df2(0x1df)]:case _0x4efcf2['HELLO']:{const _0x220aae=_0xcf9655[_0x442df2(0x504)];return{..._0xcf9655,'data':_0x220aae,'cmd':_0xcf9655[_0x442df2(0x1d9)]};}case _0x4efcf2[_0x442df2(0x35f)]:{const _0x4cdfe6=_0xcf9655['joinRsp'];return{..._0xcf9655,'data':_0x4cdfe6,'cmd':_0xcf9655[_0x442df2(0x1d9)]};}case _0x4efcf2[_0x442df2(0x4de)]:{const _0x4730d0=_0xcf9655[_0x442df2(0x554)];switch(_0x4730d0[_0x442df2(0x36d)]){case _0x1a2c53[_0x442df2(0x292)][_0x442df2(0x228)]:return{..._0xcf9655,'data':{..._0x4730d0,'data':(_0x35e3ed=_0x4730d0['permissionRejEvent'])==null?void 0x0:_0x35e3ed['cs']},'cmd':_0xcf9655['cmd']};case _0x1a2c53['CollaborationEvent'][_0x442df2(0x3ce)]:return{..._0xcf9655,'data':{..._0x4730d0,'data':(_0x3ee92d=_0x4730d0[_0x442df2(0x549)])==null?void 0x0:_0x3ee92d['cs']},'cmd':_0xcf9655[_0x442df2(0x1d9)]};case _0x1a2c53[_0x442df2(0x292)]['NEW_CHANGESETS']:return{..._0xcf9655,'data':{..._0x4730d0,'data':(_0x3ec300=_0x4730d0[_0x442df2(0x25f)])==null?void 0x0:_0x3ec300['cs']},'cmd':_0xcf9655[_0x442df2(0x1d9)]};case _0x1a2c53[_0x442df2(0x292)][_0x442df2(0x1b9)]:return{..._0xcf9655,'data':{..._0x4730d0,'data':(_0x5d3a09=_0x4730d0['csRejEvent'])==null?void 0x0:_0x5d3a09['cs']},'cmd':_0xcf9655[_0x442df2(0x1d9)]};case _0x1a2c53['CollaborationEvent']['UPDATE_CURSOR']:return{..._0xcf9655,'data':{..._0x4730d0,'data':_0x4730d0[_0x442df2(0x33a)]},'cmd':_0xcf9655[_0x442df2(0x1d9)]};case _0x1a2c53['CollaborationEvent'][_0x442df2(0x4ac)]:return{..._0xcf9655,'data':{..._0x4730d0,'data':_0x4730d0['joinEvent']},'cmd':_0xcf9655[_0x442df2(0x1d9)]};case _0x1a2c53[_0x442df2(0x292)]['USERS_LEAVE']:return{..._0xcf9655,'data':{..._0x4730d0,'data':_0x4730d0[_0x442df2(0x1bd)]},'cmd':_0xcf9655['cmd']};case _0x1a2c53['CollaborationEvent'][_0x442df2(0x589)]:return{..._0xcf9655,'data':{..._0x4730d0,'data':_0x4730d0['liveShareNewHost']},'cmd':_0xcf9655['cmd']};case _0x1a2c53[_0x442df2(0x292)][_0x442df2(0x24a)]:case _0x1a2c53['CollaborationEvent']['LIVESHARE_OPERATION']:return{..._0xcf9655,'data':{..._0x4730d0,'data':_0x4730d0[_0x442df2(0x269)]},'cmd':_0xcf9655[_0x442df2(0x1d9)]};case _0x1a2c53[_0x442df2(0x292)][_0x442df2(0x345)]:return{..._0xcf9655,'data':{..._0x4730d0,'data':_0x4730d0[_0x442df2(0x224)]},'cmd':_0xcf9655['cmd']};case _0x1a2c53[_0x442df2(0x292)][_0x442df2(0x361)]:return{..._0xcf9655,'data':_0x4730d0,'cmd':_0xcf9655['cmd']};case _0x1a2c53[_0x442df2(0x292)]['COMMENT_UPDATE']:return{..._0xcf9655,'data':{..._0x4730d0,'data':_0x4730d0[_0x442df2(0x2a1)]},'cmd':_0xcf9655[_0x442df2(0x1d9)]};case _0x1a2c53[_0x442df2(0x292)][_0x442df2(0x446)]:return{..._0xcf9655,'data':{..._0x4730d0,'data':_0x4730d0[_0x442df2(0x3fc)]},'cmd':_0xcf9655[_0x442df2(0x1d9)]};case _0x1a2c53[_0x442df2(0x292)][_0x442df2(0x557)]:return{..._0xcf9655,'data':{..._0x4730d0,'data':_0x4730d0['shouldCloseConn']},'cmd':_0xcf9655[_0x442df2(0x1d9)]};default:return _0xcf9655;}}default:return _0xcf9655;}}function _0xf1fd71(_0x57270e){const _0x36c4e7=_0x2a4c41;switch(_0x57270e[_0x36c4e7(0x1d9)]){case _0x4efcf2[_0x36c4e7(0x1df)]:case _0x4efcf2[_0x36c4e7(0x39e)]:return JSON['stringify']({'cmd':_0x57270e['cmd'],'routeKey':_0x57270e['routeKey']});case _0x4efcf2[_0x36c4e7(0x2ea)]:{let _0x100c7d;switch(_0x57270e[_0x36c4e7(0x5c8)][_0x36c4e7(0x36d)]){case _0x1a2c53[_0x36c4e7(0x292)][_0x36c4e7(0x383)]:{_0x100c7d={'eventID':_0x1a2c53[_0x36c4e7(0x292)][_0x36c4e7(0x383)],'updateCursorEvent':_0x57270e['data'][_0x36c4e7(0x5c8)]};break;}case _0x1a2c53[_0x36c4e7(0x292)][_0x36c4e7(0x1ba)]:{_0x100c7d={'eventID':_0x1a2c53[_0x36c4e7(0x292)][_0x36c4e7(0x1ba)],'leaveEvent':_0x57270e[_0x36c4e7(0x5c8)][_0x36c4e7(0x5c8)]};break;}case _0x1a2c53['CollaborationEvent'][_0x36c4e7(0x4ac)]:{_0x100c7d={'eventID':_0x1a2c53[_0x36c4e7(0x292)][_0x36c4e7(0x4ac)],'joinEvent':_0x57270e[_0x36c4e7(0x5c8)][_0x36c4e7(0x5c8)]};break;}case _0x1a2c53[_0x36c4e7(0x292)]['LIVESHARE_NEW_HOST']:{_0x100c7d={'eventID':_0x1a2c53[_0x36c4e7(0x292)][_0x36c4e7(0x589)],'liveShareNewHost':_0x57270e[_0x36c4e7(0x5c8)]['data']};break;}case _0x1a2c53[_0x36c4e7(0x292)][_0x36c4e7(0x21e)]:{_0x100c7d={'eventID':_0x1a2c53['CollaborationEvent']['LIVESHARE_OPERATION'],'liveShareOperation':_0x57270e[_0x36c4e7(0x5c8)]['data']};break;}case _0x1a2c53[_0x36c4e7(0x292)][_0x36c4e7(0x345)]:{_0x100c7d={'eventID':_0x1a2c53['CollaborationEvent']['LIVESHARE_TERMINATE'],'liveShareTerminate':_0x57270e[_0x36c4e7(0x5c8)][_0x36c4e7(0x5c8)]};break;}case _0x1a2c53[_0x36c4e7(0x292)][_0x36c4e7(0x59d)]:{_0x100c7d={'eventID':_0x1a2c53[_0x36c4e7(0x292)][_0x36c4e7(0x59d)],'liveShareRequestHost':_0x57270e[_0x36c4e7(0x5c8)][_0x36c4e7(0x5c8)]};break;}case _0x1a2c53['CollaborationEvent']['LIVESHARE_FETCH_OPERATIONS']:{_0x100c7d={'eventID':_0x1a2c53[_0x36c4e7(0x292)]['LIVESHARE_FETCH_OPERATIONS']};break;}default:_0x100c7d={'eventID':_0x57270e[_0x36c4e7(0x5c8)][_0x36c4e7(0x36d)]};}return JSON[_0x36c4e7(0x2a9)]({'cmd':_0x57270e['cmd'],'routeKey':_0x57270e[_0x36c4e7(0x539)],'collaMsg':_0x100c7d});}case _0x4efcf2['JOIN']:return JSON[_0x36c4e7(0x2a9)]({'cmd':_0x57270e[_0x36c4e7(0x1d9)],'routeKey':_0x57270e[_0x36c4e7(0x539)],'joinReq':_0x57270e[_0x36c4e7(0x5c8)]});case _0x4efcf2[_0x36c4e7(0x519)]:return JSON[_0x36c4e7(0x2a9)]({'cmd':_0x57270e[_0x36c4e7(0x1d9)],'routeKey':_0x57270e[_0x36c4e7(0x539)],'leaveReq':_0x57270e[_0x36c4e7(0x5c8)]});default:throw new Error(_0x36c4e7(0x3c3));}}var _0xbd17f7=Object[_0x2a4c41(0x38e)],_0xfadbcb=Object[_0x2a4c41(0x317)],_0x36b86a=(_0x28beb0,_0x3b90af,_0x72618c,_0x1b6496)=>{const _0x956d42=_0x2a4c41;for(var _0x45ee87=_0x1b6496>0x1?void 0x0:_0x1b6496?_0xfadbcb(_0x3b90af,_0x72618c):_0x3b90af,_0x23ca19=_0x28beb0[_0x956d42(0x250)]-0x1,_0x1b9442;_0x23ca19>=0x0;_0x23ca19--)(_0x1b9442=_0x28beb0[_0x23ca19])&&(_0x45ee87=(_0x1b6496?_0x1b9442(_0x3b90af,_0x72618c,_0x45ee87):_0x1b9442(_0x45ee87))||_0x45ee87);return _0x1b6496&&_0x45ee87&&_0xbd17f7(_0x3b90af,_0x72618c,_0x45ee87),_0x45ee87;},_0x3876a=(_0x9ba0b8,_0x58d8b1)=>(_0x471241,_0x6a69af)=>_0x58d8b1(_0x471241,_0x6a69af,_0x9ba0b8);const _0x3a65c4=_0x42e035[_0x2a4c41(0x2c9)]('univer-pro.collaboration-client-socket-service');function _0x1eb640(_0x6185e4,_0x4528c4,_0x86cd10){const _0x6bf16d=_0x2a4c41;return _0x6185e4+'/'+_0x4528c4+_0x6bf16d(0x1f3)+_0x86cd10+_0x6bf16d(0x299);}_0x119e5f[_0x2a4c41(0x1b7)]=class extends _0x42e035[_0x2a4c41(0x5ab)]{constructor(_0x42dbb6,_0x135b81,_0x3a30f7,_0x3d3842,_0x1842e2){const _0x1796c4=_0x2a4c41;super(),this[_0x1796c4(0x53a)]=_0x42dbb6,this['_ws']=_0x135b81,this[_0x1796c4(0x1ec)]=_0x3a30f7,this['_logService']=_0x3d3842,this[_0x1796c4(0x48f)]=_0x1842e2;}[_0x2a4c41(0x3c0)](_0x558c3e){const _0x6f92e7=_0x2a4c41,_0x557e3c=this[_0x6f92e7(0x1d7)]['createSocket'](_0x558c3e);if(!_0x557e3c)throw new Error(_0x6f92e7(0x3cb));const _0x287c66=new _0x42e035[(_0x6f92e7(0x5d7))](),_0x26d60e=new _0x40c8d9[(_0x6f92e7(0x4cb))]();_0x287c66['add'](_0x557e3c[_0x6f92e7(0x3c7)][_0x6f92e7(0x543)](_0x4e7da2=>_0x26d60e['next'](_0x4e7da2))),_0x287c66[_0x6f92e7(0x1ca)](_0x42e035['toDisposable'](()=>_0x26d60e[_0x6f92e7(0x523)]()));const _0xaae1d8=new _0x40c8d9[(_0x6f92e7(0x4cb))]();_0x287c66[_0x6f92e7(0x1ca)](_0x557e3c[_0x6f92e7(0x410)][_0x6f92e7(0x543)](_0x1f7701=>_0xaae1d8[_0x6f92e7(0x380)](_0x1f7701))),_0x287c66['add'](_0x42e035[_0x6f92e7(0x4b5)](()=>_0xaae1d8[_0x6f92e7(0x523)]()));const _0x937d28=new _0x40c8d9[(_0x6f92e7(0x4cb))]();_0x287c66[_0x6f92e7(0x1ca)](_0x557e3c[_0x6f92e7(0x387)][_0x6f92e7(0x543)](_0x13a487=>{const _0x595bd9=_0x6f92e7,_0x4e12a1=_0x40c376(_0x13a487);_0x937d28[_0x595bd9(0x380)](_0x4e12a1);})),_0x287c66[_0x6f92e7(0x1ca)](_0x42e035[_0x6f92e7(0x4b5)](()=>_0x937d28[_0x6f92e7(0x523)]()));let _0x520b9f;const _0x458b1f=()=>{const _0x1ddada=_0x6f92e7;_0xaae1d8[_0x1ddada(0x380)](new Event(_0x1ddada(0x2c5))),_0x26d60e[_0x1ddada(0x380)](new CloseEvent(_0x1ddada(0x2c5))),_0x520b9f[_0x1ddada(0x36e)]();};return _0x520b9f={'memberID':'','close$':_0x26d60e[_0x6f92e7(0x2dd)](),'error$':_0xaae1d8[_0x6f92e7(0x2dd)](),'open$':_0x557e3c[_0x6f92e7(0x21a)],'message$':_0x937d28[_0x6f92e7(0x2dd)](),'send':_0x2f9a6f=>{const _0x11c500=_0x6f92e7;if(_0x2f9a6f['cmd']===_0x4efcf2[_0x11c500(0x2ea)]){if(_0x2f9a6f[_0x11c500(0x5c8)][_0x11c500(0x36d)]===_0x1a2c53[_0x11c500(0x292)][_0x11c500(0x3a3)]){this['_submitChangeset'](_0x520b9f,_0x2f9a6f[_0x11c500(0x5c8)])['catch'](_0xc01a31=>{const _0x28b297=_0x11c500;this[_0x28b297(0x1ae)][_0x28b297(0x432)](_0xc01a31),_0x458b1f();});return;}if(_0x2f9a6f['data'][_0x11c500(0x36d)]===_0x1a2c53['CollaborationEvent'][_0x11c500(0x238)]){const _0x42ff6d=_0x2f9a6f[_0x11c500(0x5c8)];this[_0x11c500(0x5bf)](_0x42ff6d)[_0x11c500(0x4c6)](_0x4b7487=>{const _0x423fb6=_0x11c500;_0x937d28[_0x423fb6(0x380)]({'cmd':_0x4efcf2[_0x423fb6(0x4de)],'code':_0x1d1888['OK'],'routeKey':_0x42ff6d[_0x423fb6(0x5c8)]['unitID'],'routeType':'','data':{'eventID':_0x1a2c53[_0x423fb6(0x292)][_0x423fb6(0x57f)],'data':{'changesets':_0x4b7487}}});})[_0x11c500(0x26e)](_0x3b5036=>{this['_logService']['error'](_0x3b5036),_0x458b1f();});return;}}_0x557e3c[_0x11c500(0x212)](_0xf1fd71(_0x2f9a6f));},'close':()=>{const _0x5bbcbd=_0x6f92e7;_0x557e3c[_0x5bbcbd(0x36e)](),_0x287c66[_0x5bbcbd(0x4f9)]();}},_0x520b9f;}async['_submitChangeset'](_0x3eeb54,_0x4fee1c){const _0x575366=_0x2a4c41;var _0x156fca,_0x4cb042;const {unitType:_0x4a7602,unitID:_0x5a0f79,changeset:_0x35eb54}=_0x4fee1c[_0x575366(0x5c8)],_0x568f03={'unitID':_0x5a0f79,'memberID':_0x3eeb54['memberID'],'type':_0x4a7602,'changeset':_0x1a2c53[_0x575366(0x294)](_0x35eb54)},_0x3048e2=this['_configService']['getConfig'](_0x1f5d13),_0xb1a07=this[_0x575366(0x1ec)][_0x575366(0x53c)](_0x576146),_0x409d9c=_0x1eb640((_0x4cb042=(_0x156fca=_0xb1a07==null?void 0x0:_0xb1a07[_0x575366(0x342)])!=null?_0x156fca:_0x3048e2)!=null?_0x4cb042:_0x15c816,_0x4a7602,_0x5a0f79);try{await this[_0x575366(0x53a)]['post'](_0x409d9c,{'body':_0x568f03});}catch(_0x5d8059){throw this[_0x575366(0x1ae)][_0x575366(0x432)](_0x575366(0x59a),_0x575366(0x46a)),_0x5d8059;}}async[_0x2a4c41(0x5bf)](_0x500def){const _0x5d3dd1=_0x2a4c41,{unitID:_0x1a34cb,from:_0x123786,to:_0x1b394b,unitType:_0x5dd704}=_0x500def[_0x5d3dd1(0x5c8)];return(await this[_0x5d3dd1(0x48f)][_0x5d3dd1(0x48c)]({'metadata':void 0x0},{'unitID':_0x1a34cb,'type':_0x5dd704,'from':_0x123786,'to':_0x1b394b}))[_0x5d3dd1(0x2e0)];}},_0x119e5f['CollaborationSocketService']=_0x36b86a([_0x3876a(0x0,_0x42e035[_0x2a4c41(0x29d)](_0x45f1e1['HTTPService'])),_0x3876a(0x1,_0x42e035[_0x2a4c41(0x29d)](_0x45f1e1[_0x2a4c41(0x4bc)])),_0x3876a(0x2,_0x42e035[_0x2a4c41(0x25b)]),_0x3876a(0x3,_0x42e035['ILogService']),_0x3876a(0x4,_0x1a2c53[_0x2a4c41(0x4bf)])],_0x119e5f[_0x2a4c41(0x1b7)]);const _0xe1a36='collaboration_new_changeset';function _0x2e67df(_0x548f89){const _0x1c82a5=_0x2a4c41;return JSON[_0x1c82a5(0x2a9)](_0x548f89)[_0x1c82a5(0x250)];}class _0x4ae63a{constructor(){const _0x33dc80=_0x2a4c41;_0x3a0856(this,_0x33dc80(0x1d5),new _0x40c8d9[(_0x33dc80(0x4cb))]()),_0x3a0856(this,_0x33dc80(0x372),this['_commentUpdate$']['asObservable']());}[_0x2a4c41(0x20e)](_0x4fd878){const _0x41e780=_0x2a4c41;this[_0x41e780(0x1d5)][_0x41e780(0x380)](_0x4fd878);}}var _0x52ae5c=Object[_0x2a4c41(0x38e)],_0x31248c=Object[_0x2a4c41(0x317)],_0x4c2bb9=(_0x2f03d2,_0x28a672,_0x434828,_0x4ef79c)=>{const _0x2217b8=_0x2a4c41;for(var _0x488b4e=_0x4ef79c>0x1?void 0x0:_0x4ef79c?_0x31248c(_0x28a672,_0x434828):_0x28a672,_0x4499d4=_0x2f03d2[_0x2217b8(0x250)]-0x1,_0x437461;_0x4499d4>=0x0;_0x4499d4--)(_0x437461=_0x2f03d2[_0x4499d4])&&(_0x488b4e=(_0x4ef79c?_0x437461(_0x28a672,_0x434828,_0x488b4e):_0x437461(_0x488b4e))||_0x488b4e);return _0x4ef79c&&_0x488b4e&&_0x52ae5c(_0x28a672,_0x434828,_0x488b4e),_0x488b4e;},_0x27ab1e=(_0x11ccef,_0xa38dd3)=>(_0x4ea47e,_0x434346)=>_0xa38dd3(_0x4ea47e,_0x434346,_0x11ccef);let _0x4c4596=class extends _0x42e035[_0x2a4c41(0x5ab)]{constructor(_0x5e2b1a,_0x24ed21){const _0x404ff7=_0x2a4c41;super(),_0x3a0856(this,'_roomMembers',new Map()),(this[_0x404ff7(0x3b9)]=_0x5e2b1a,this[_0x404ff7(0x51c)]=_0x24ed21,this[_0x404ff7(0x594)](_0x42e035['toDisposable'](_0x40c8d9[_0x404ff7(0x1fe)](this[_0x404ff7(0x3b9)][_0x404ff7(0x5a5)](_0x42e035['UniverInstanceType']['UNIVER_SHEET'])[_0x404ff7(0x4b4)](_0xfd004d[_0x404ff7(0x3bc)](_0x2e3629=>_0x2e3629[_0x404ff7(0x506)]())),this[_0x404ff7(0x3b9)]['getTypeOfUnitDisposed$'](_0x42e035['UniverInstanceType'][_0x404ff7(0x441)])['pipe'](_0xfd004d[_0x404ff7(0x3bc)](_0x4f3366=>_0x4f3366['getUnitId']())),this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x42e035[_0x404ff7(0x373)][_0x404ff7(0x54f)])['pipe'](_0xfd004d['map'](_0x57ab68=>_0x57ab68[_0x404ff7(0x506)]())))[_0x404ff7(0x543)](_0x4f7313=>this[_0x404ff7(0x5d6)](_0x4f7313)))));}['setCurrentUser'](_0x1af921){const _0x1e4ec1=_0x2a4c41;this[_0x1e4ec1(0x51c)]['setCurrentUser'](_0x1af921);}[_0x2a4c41(0x32c)](){const _0x391dcc=_0x2a4c41;return this[_0x391dcc(0x51c)][_0x391dcc(0x32c)]();}[_0x2a4c41(0x1a5)](_0x54b000,_0x2e61ab){const _0xe6d5e3=_0x2a4c41;let _0x1a3ea3=this[_0xe6d5e3(0x505)][_0xe6d5e3(0x3ae)](_0x54b000);_0x1a3ea3||(_0x1a3ea3=new _0x549912(),this[_0xe6d5e3(0x505)][_0xe6d5e3(0x1c0)](_0x54b000,_0x1a3ea3)),_0x1a3ea3[_0xe6d5e3(0x1a5)](_0x2e61ab);}[_0x2a4c41(0x346)](_0x3dbb7c,_0x39c8f7){const _0x130f24=_0x2a4c41,_0x55171f=this['_roomMembers'][_0x130f24(0x3ae)](_0x3dbb7c);_0x55171f&&_0x55171f[_0x130f24(0x346)](_0x39c8f7);}[_0x2a4c41(0x5bc)](_0x4c6a21){const _0x3b50fd=_0x2a4c41;return this[_0x3b50fd(0x505)][_0x3b50fd(0x3ae)](_0x4c6a21);}[_0x2a4c41(0x3bd)](_0x5d91a6,_0x2269b3){const _0x557d3b=_0x2a4c41,_0x2cdbf7=this['_roomMembers'][_0x557d3b(0x3ae)](_0x5d91a6);if(_0x2cdbf7)return _0x2cdbf7[_0x557d3b(0x3bd)](_0x2269b3);}['_removeRoom'](_0x546d2a){const _0x47729c=_0x2a4c41,_0xca7705=this[_0x47729c(0x505)]['get'](_0x546d2a);_0xca7705&&(_0xca7705[_0x47729c(0x4f9)](),this['_roomMembers'][_0x47729c(0x536)](_0x546d2a));}[_0x2a4c41(0x4f9)](){const _0x176f1e=_0x2a4c41;this[_0x176f1e(0x505)]['forEach'](_0x3f6450=>_0x3f6450[_0x176f1e(0x4f9)]()),this[_0x176f1e(0x505)][_0x176f1e(0x3a7)]();}};_0x4c4596=_0x4c2bb9([_0x27ab1e(0x0,_0x42e035['IUniverInstanceService']),_0x27ab1e(0x1,_0x42e035[_0x2a4c41(0x29d)](_0x42e035[_0x2a4c41(0x249)]))],_0x4c4596);class _0x549912 extends _0x42e035['Disposable']{constructor(){super(...arguments),_0x3a0856(this,'_members',new Map());}['dispose'](){const _0x4bb0a3=_0x2a4c41;this[_0x4bb0a3(0x315)][_0x4bb0a3(0x3a7)]();}[_0x2a4c41(0x1a5)](_0x431d15){const _0x354a24=_0x2a4c41;this[_0x354a24(0x315)][_0x354a24(0x1c0)](_0x431d15[_0x354a24(0x454)],_0x431d15);}[_0x2a4c41(0x346)](_0x5f0937){const _0x810e36=_0x2a4c41;this[_0x810e36(0x315)][_0x810e36(0x536)](_0x5f0937);}[_0x2a4c41(0x3bd)](_0x54a166){const _0x17559a=_0x2a4c41;return this[_0x17559a(0x315)]['get'](_0x54a166);}}var _0x41fd0c=Object[_0x2a4c41(0x38e)],_0xd56690=Object[_0x2a4c41(0x317)],_0x533614=(_0x250c36,_0x4436e2,_0x3f4a64,_0x52c57b)=>{const _0x115cd8=_0x2a4c41;for(var _0x41dc7a=_0x52c57b>0x1?void 0x0:_0x52c57b?_0xd56690(_0x4436e2,_0x3f4a64):_0x4436e2,_0x47c5c0=_0x250c36[_0x115cd8(0x250)]-0x1,_0x3b27fa;_0x47c5c0>=0x0;_0x47c5c0--)(_0x3b27fa=_0x250c36[_0x47c5c0])&&(_0x41dc7a=(_0x52c57b?_0x3b27fa(_0x4436e2,_0x3f4a64,_0x41dc7a):_0x3b27fa(_0x41dc7a))||_0x41dc7a);return _0x52c57b&&_0x41dc7a&&_0x41fd0c(_0x4436e2,_0x3f4a64,_0x41dc7a),_0x41dc7a;},_0x11ee50=(_0x3f8af5,_0x21c5df)=>(_0x516195,_0x57c33b)=>_0x21c5df(_0x516195,_0x57c33b,_0x3f8af5),_0x4246bc=(_0x54d102=>(_0x54d102[_0x54d102[_0x2a4c41(0x23e)]=0x0]=_0x2a4c41(0x23e),_0x54d102[_0x54d102['JOINING']=0x1]='JOINING',_0x54d102[_0x54d102[_0x2a4c41(0x31c)]=0x2]=_0x2a4c41(0x31c),_0x54d102[_0x54d102[_0x2a4c41(0x424)]=0x3]=_0x2a4c41(0x424),_0x54d102))(_0x4246bc||{});_0x119e5f[_0x2a4c41(0x1f6)]=class extends _0x42e035['RxDisposable']{constructor(_0x3d5c52,_0x202aff,_0x4bbfcd,_0x4c9935,_0xaa496d,_0x4cb110,_0x435287,_0x5c5632,_0x53df79,_0x518f70){const _0x119bc2=_0x2a4c41;super(),_0x3a0856(this,'_sessionStatus$',new _0x40c8d9['BehaviorSubject'](0x0)),_0x3a0856(this,_0x119bc2(0x587),this[_0x119bc2(0x4b3)][_0x119bc2(0x2dd)]()),_0x3a0856(this,'_event$',new _0x40c8d9[(_0x119bc2(0x4cb))]()),_0x3a0856(this,_0x119bc2(0x239),this[_0x119bc2(0x1a9)][_0x119bc2(0x2dd)]()),_0x3a0856(this,'_socket'),_0x3a0856(this,_0x119bc2(0x2b2)),_0x3a0856(this,_0x119bc2(0x2b0)),_0x3a0856(this,'_shouldReportTelemetry',!0x1),_0x3a0856(this,_0x119bc2(0x493),null),(this['_unitID']=_0x3d5c52,this[_0x119bc2(0x1ae)]=_0x4bbfcd,this[_0x119bc2(0x208)]=_0x4c9935,this[_0x119bc2(0x319)]=_0xaa496d,this[_0x119bc2(0x1ec)]=_0x4cb110,this[_0x119bc2(0x2b1)]=_0x435287,this[_0x119bc2(0x534)]=_0x5c5632,this[_0x119bc2(0x5c1)]=_0x53df79,this['_telemetryService']=_0x518f70,this['_shouldReportTelemetry']=!!this['_telemetryService'],_0x202aff[_0x119bc2(0x4b4)](_0x40c8d9[_0x119bc2(0x1ed)](this['dispose$']))['subscribe'](_0x535c37=>{const _0x500735=_0x119bc2;var _0x5e4e92;typeof _0x535c37>'u'||(this['_socket']=_0x535c37,_0x535c37?(this[_0x500735(0x43b)](_0x535c37),this[_0x500735(0x2b2)]=_0x535c37[_0x500735(0x387)][_0x500735(0x543)](_0x5916cd=>{const _0x1d9e5=_0x500735;_0x5916cd[_0x1d9e5(0x539)]===this['_unitID']&&this[_0x1d9e5(0x2d8)](_0x5916cd);})):(this[_0x500735(0x1bc)](),this['_sessionStatus$']['next'](0x2),(_0x5e4e92=this[_0x500735(0x2b2)])==null||_0x5e4e92[_0x500735(0x490)](),this['_socketMessageSubscription']=null));}),this[_0x119bc2(0x594)](this[_0x119bc2(0x208)][_0x119bc2(0x23c)](()=>{const _0x150804=_0x119bc2;var _0x4d493a;(_0x4d493a=this[_0x150804(0x31e)])==null||_0x4d493a[_0x150804(0x212)]({'cmd':_0x4efcf2[_0x150804(0x519)],'data':{'roomID':this[_0x150804(0x4f5)]}});})));}get[_0x2a4c41(0x464)](){const _0x3421ce=_0x2a4c41;return this['_sessionStatus$'][_0x3421ce(0x37f)]();}[_0x2a4c41(0x4f1)](){const _0x4e8eaa=_0x2a4c41;var _0x2b8961,_0x351f1a;return(_0x351f1a=(_0x2b8961=this['_socket'])==null?void 0x0:_0x2b8961[_0x4e8eaa(0x454)])!=null?_0x351f1a:null;}[_0x2a4c41(0x4f9)](){const _0x4d8900=_0x2a4c41;super['dispose'](),this[_0x4d8900(0x311)]['next'](),this[_0x4d8900(0x311)][_0x4d8900(0x523)]();}[_0x2a4c41(0x36e)](){const _0x1f25db=_0x2a4c41;var _0xb89180,_0x3490a2;this[_0x1f25db(0x1bc)](),(_0xb89180=this[_0x1f25db(0x31e)])==null||_0xb89180[_0x1f25db(0x212)]({'cmd':_0x4efcf2[_0x1f25db(0x519)],'data':{'roomID':this[_0x1f25db(0x4f5)]}}),(_0x3490a2=this[_0x1f25db(0x31e)])==null||_0x3490a2[_0x1f25db(0x36e)](),this[_0x1f25db(0x1a9)][_0x1f25db(0x523)](),this[_0x1f25db(0x4b3)][_0x1f25db(0x523)](),this[_0x1f25db(0x4f9)]();}[_0x2a4c41(0x2d8)](_0x38ab61){const _0x447f78=_0x2a4c41;_0x38ab61['cmd']===_0x4efcf2[_0x447f78(0x35f)]?this[_0x447f78(0x438)](_0x38ab61):_0x38ab61[_0x447f78(0x1d9)]===_0x4efcf2['RECV']&&this[_0x447f78(0x50a)](_0x38ab61);}['_joinRoom'](_0x4abd6e){const _0x25f25c=_0x2a4c41;this[_0x25f25c(0x4b3)][_0x25f25c(0x380)](0x1),_0x4abd6e['send']({'cmd':_0x4efcf2['JOIN'],'routeKey':this['_unitID'],'routeType':'','data':{'rooms':[{'roomID':this[_0x25f25c(0x4f5)]}]}});}[_0x2a4c41(0x438)](_0x1bf54c){const _0x11a343=_0x2a4c41;var _0x1eeb2a;if(_0x1bf54c['code']===_0x1d1888[_0x11a343(0x418)]){this[_0x11a343(0x319)][_0x11a343(0x451)]({'type':_0x25691d[_0x11a343(0x2ee)][_0x11a343(0x496)],'content':this['_localeService']['t']('session.room-full')}),this[_0x11a343(0x4b3)][_0x11a343(0x380)](0x2);return;}this[_0x11a343(0x4b3)]['next'](0x3);const _0x5220a0=(_0x1eeb2a=_0x1bf54c[_0x11a343(0x5c8)][_0x11a343(0x1a0)][this['_unitID']])==null?void 0x0:_0x1eeb2a['members'];_0x5220a0&&_0x5220a0['forEach'](_0x42ae2e=>this['_memberService']['updateMember'](this[_0x11a343(0x4f5)],_0x42ae2e));}[_0x2a4c41(0x50a)](_0x488824){const _0x830a6e=_0x2a4c41;try{const _0x9d035=_0x488824[_0x830a6e(0x5c8)];switch(_0x9d035[_0x830a6e(0x36d)]){case _0x1a2c53[_0x830a6e(0x292)][_0x830a6e(0x4ac)]:this[_0x830a6e(0x568)](_0x9d035),this[_0x830a6e(0x1a9)][_0x830a6e(0x380)](_0x9d035);break;case _0x1a2c53[_0x830a6e(0x292)][_0x830a6e(0x1ba)]:this['_onUserLeave'](_0x9d035),this[_0x830a6e(0x1a9)][_0x830a6e(0x380)](_0x9d035);break;case _0x1a2c53[_0x830a6e(0x292)][_0x830a6e(0x3ce)]:this[_0x830a6e(0x1de)](),this[_0x830a6e(0x29f)](),this['_event$'][_0x830a6e(0x380)](_0x9d035);break;case _0x1a2c53['CollaborationEvent'][_0x830a6e(0x361)]:this['_logService'][_0x830a6e(0x432)](_0x830a6e(0x260)+JSON[_0x830a6e(0x2a9)](_0x9d035)),this[_0x830a6e(0x1a9)][_0x830a6e(0x380)](_0x9d035);break;case _0x1a2c53[_0x830a6e(0x292)][_0x830a6e(0x46c)]:this[_0x830a6e(0x5c1)][_0x830a6e(0x20e)](_0x9d035[_0x830a6e(0x5c8)]),this[_0x830a6e(0x1a9)][_0x830a6e(0x380)](_0x9d035);break;default:this['_event$']['next'](_0x9d035);}}catch(_0x491ca5){this[_0x830a6e(0x1ae)]['error'](_0x491ca5,_0x488824);}}[_0x2a4c41(0x568)](_0x586207){const _0x5703e7=_0x2a4c41;this['_memberService'][_0x5703e7(0x1a5)](this[_0x5703e7(0x4f5)],_0x586207[_0x5703e7(0x5c8)]);}[_0x2a4c41(0x278)](_0x396c80){const _0x3bc1f9=_0x2a4c41;this[_0x3bc1f9(0x534)][_0x3bc1f9(0x346)](this[_0x3bc1f9(0x4f5)],_0x396c80['data']['memberID']);}async[_0x2a4c41(0x212)](_0x1ec972,_0xeedc46){const _0x283462=_0x2a4c41;if(this['sessionStatus']!==0x3||!this['_socket'])throw new Error(_0x283462(0x354));try{_0x1ec972[_0x283462(0x36d)]===_0x1a2c53[_0x283462(0x292)][_0x283462(0x3a3)]&&(this[_0x283462(0x328)](),this[_0x283462(0x33b)](_0x1ec972)),this[_0x283462(0x31e)][_0x283462(0x212)]({'cmd':_0x4efcf2[_0x283462(0x2ea)],'routeKey':_0xeedc46,'routeType':'','data':_0x1ec972});}catch(_0xb113bf){this['_logService']['error'](_0xb113bf);}}[_0x2a4c41(0x328)](){const _0x198ddc=_0x2a4c41;var _0x3bcc4d;this['_collaborationTimeoutTimer']=window[_0x198ddc(0x40f)](()=>{const _0x4ccb18=_0x198ddc;this[_0x4ccb18(0x2b0)]=null,this['_messageService'][_0x4ccb18(0x451)]({'type':_0x25691d[_0x4ccb18(0x2ee)][_0x4ccb18(0x3d6)],'content':this[_0x4ccb18(0x2b1)]['t']('session.collaboration-timeout')});},(_0x3bcc4d=this[_0x198ddc(0x1ec)][_0x198ddc(0x53c)](_0x5824fe))!=null?_0x3bcc4d:0x4e20);}[_0x2a4c41(0x29f)](){const _0x418565=_0x2a4c41;this['_collaborationTimeoutTimer']&&(clearTimeout(this['_collaborationTimeoutTimer']),this[_0x418565(0x2b0)]=null);}[_0x2a4c41(0x33b)](_0x2852be){const _0x4d9157=_0x2a4c41;if(!this['_shouldReportTelemetry'])return;const {data:_0x849b37}=_0x2852be,{unitID:_0x14c0e9,changeset:_0x4413db}=_0x849b37,{mutations:_0x21c3df,type:_0x1a78a7}=_0x4413db;this[_0x4d9157(0x493)]={'unitId':_0x14c0e9,'type':_0x1a78a7,'startTime':performance[_0x4d9157(0x5b3)](),'stopTime':0x0,'duration':0x0,'size':_0x2e67df(_0x21c3df)};}[_0x2a4c41(0x1de)](){const _0x4c531f=_0x2a4c41;if(this[_0x4c531f(0x30e)]){if(!this[_0x4c531f(0x493)]){this[_0x4c531f(0x1ae)][_0x4c531f(0x432)]('[CollaborationSession]',_0x4c531f(0x4b2));return;}this[_0x4c531f(0x493)][_0x4c531f(0x4ba)]=performance[_0x4c531f(0x5b3)](),this[_0x4c531f(0x493)][_0x4c531f(0x1a6)]=this[_0x4c531f(0x493)]['stopTime']-this[_0x4c531f(0x493)][_0x4c531f(0x33c)],this[_0x4c531f(0x301)][_0x4c531f(0x3da)](_0xe1a36,this[_0x4c531f(0x493)]),this[_0x4c531f(0x493)]=null;}}[_0x2a4c41(0x1bc)](){this['_telemetryInfo']=null;}},_0x119e5f['CollaborationSession']=_0x533614([_0x11ee50(0x2,_0x42e035[_0x2a4c41(0x5ae)]),_0x11ee50(0x3,_0x576301[_0x2a4c41(0x42c)]),_0x11ee50(0x4,_0x576301['IMessageService']),_0x11ee50(0x5,_0x42e035[_0x2a4c41(0x25b)]),_0x11ee50(0x6,_0x42e035[_0x2a4c41(0x29d)](_0x42e035['LocaleService'])),_0x11ee50(0x7,_0x42e035['Inject'](_0x4c4596)),_0x11ee50(0x8,_0x42e035[_0x2a4c41(0x29d)](_0x4ae63a)),_0x11ee50(0x9,_0x42e035[_0x2a4c41(0x569)](_0x14d311[_0x2a4c41(0x541)]))],_0x119e5f[_0x2a4c41(0x1f6)]);var _0x49c399=Object[_0x2a4c41(0x38e)],_0x16356e=Object[_0x2a4c41(0x317)],_0x269a50=(_0x5754a3,_0x393e6d,_0x56cabc,_0x41c681)=>{const _0x27802e=_0x2a4c41;for(var _0x575c85=_0x41c681>0x1?void 0x0:_0x41c681?_0x16356e(_0x393e6d,_0x56cabc):_0x393e6d,_0x304705=_0x5754a3[_0x27802e(0x250)]-0x1,_0x295b98;_0x304705>=0x0;_0x304705--)(_0x295b98=_0x5754a3[_0x304705])&&(_0x575c85=(_0x41c681?_0x295b98(_0x393e6d,_0x56cabc,_0x575c85):_0x295b98(_0x575c85))||_0x575c85);return _0x41c681&&_0x575c85&&_0x49c399(_0x393e6d,_0x56cabc,_0x575c85),_0x575c85;},_0x19c919=(_0x47409d,_0x42d9a8)=>(_0x39ae65,_0x35be72)=>_0x42d9a8(_0x39ae65,_0x35be72,_0x47409d);_0x119e5f[_0x2a4c41(0x56d)]=class extends _0x42e035[_0x2a4c41(0x5ab)]{constructor(_0x7b39cc,_0x4d7dc3,_0x2c4a9e,_0xefde60,_0x26b16b,_0x1b0eb4){const _0x1f2eaf=_0x2a4c41;super(),_0x3a0856(this,_0x1f2eaf(0x22d),new _0x40c8d9[(_0x1f2eaf(0x54d))](void 0x0)),_0x3a0856(this,_0x1f2eaf(0x340),this[_0x1f2eaf(0x22d)][_0x1f2eaf(0x2dd)]()),_0x3a0856(this,_0x1f2eaf(0x1b0),null),_0x3a0856(this,_0x1f2eaf(0x528),new Map()),_0x3a0856(this,_0x1f2eaf(0x592),new _0x40c8d9['BehaviorSubject'](_0x4246bc[_0x1f2eaf(0x23e)])),_0x3a0856(this,'status$',this[_0x1f2eaf(0x592)][_0x1f2eaf(0x2dd)]()),_0x3a0856(this,_0x1f2eaf(0x4c5),!0x1),_0x3a0856(this,_0x1f2eaf(0x360)),_0x3a0856(this,'_retryCount',0x0),_0x3a0856(this,_0x1f2eaf(0x379)),_0x3a0856(this,_0x1f2eaf(0x29a)),(this['_injector']=_0x7b39cc,this[_0x1f2eaf(0x2b1)]=_0x4d7dc3,this[_0x1f2eaf(0x319)]=_0x2c4a9e,this[_0x1f2eaf(0x1ae)]=_0xefde60,this[_0x1f2eaf(0x1ec)]=_0x26b16b,this['_socketService']=_0x1b0eb4,this[_0x1f2eaf(0x4a4)]());}get['_socket'](){const _0x53bff4=_0x2a4c41;return this[_0x53bff4(0x22d)]['getValue']();}[_0x2a4c41(0x4a4)](){const _0x57e549=_0x2a4c41;this[_0x57e549(0x1db)](),this[_0x57e549(0x355)]();}[_0x2a4c41(0x4f9)](){const _0x1e00c6=_0x2a4c41;super[_0x1e00c6(0x4f9)](),this[_0x1e00c6(0x528)][_0x1e00c6(0x3f5)](_0x292f1e=>_0x292f1e[_0x1e00c6(0x4f9)]()),this[_0x1e00c6(0x528)][_0x1e00c6(0x3a7)](),this['_status$'][_0x1e00c6(0x523)]();}async[_0x2a4c41(0x532)](_0x1e5df2){const _0x93941=_0x2a4c41;if(this['_sessions'][_0x93941(0x471)](_0x1e5df2))return this['_sessions'][_0x93941(0x3ae)](_0x1e5df2);this[_0x93941(0x510)]();const _0x36c42e=this['_injector'][_0x93941(0x2fd)](_0x119e5f[_0x93941(0x1f6)],_0x1e5df2,this[_0x93941(0x22d)][_0x93941(0x2dd)]());return this[_0x93941(0x528)][_0x93941(0x1c0)](_0x1e5df2,_0x36c42e),_0x36c42e;}['closeSession'](_0x4bb83f){const _0x556e6e=_0x2a4c41;var _0x239b38;const _0x528270=this[_0x556e6e(0x528)][_0x556e6e(0x3ae)](_0x4bb83f);_0x528270&&(this[_0x556e6e(0x528)][_0x556e6e(0x536)](_0x4bb83f),_0x528270[_0x556e6e(0x36e)]()),this[_0x556e6e(0x528)]['size']||(_0x239b38=this['_socket'])==null||_0x239b38[_0x556e6e(0x36e)]();}[_0x2a4c41(0x1bb)](){const _0x3132b8=_0x2a4c41;this['_retryCount']=0x0,this[_0x3132b8(0x360)]!=null&&(clearTimeout(this['_retryConnectingTimer']),this[_0x3132b8(0x360)]=null),this[_0x3132b8(0x4a0)]();}[_0x2a4c41(0x4cd)](){const _0x471b9b=_0x2a4c41;var _0x2b4daa,_0x4159e7;const _0xbd4abd=this[_0x471b9b(0x1ec)]['getConfig'](_0x1c4bb5),_0xfbd44=this[_0x471b9b(0x1ec)][_0x471b9b(0x53c)](_0x576146),_0x190067=(_0x4159e7=(_0x2b4daa=_0xfbd44==null?void 0x0:_0xfbd44[_0x471b9b(0x2b3)])!=null?_0x2b4daa:_0xbd4abd)!=null?_0x4159e7:_0x449381,_0x38007b=this[_0x471b9b(0x36b)]['createSocket'](_0x190067);return this[_0x471b9b(0x1b0)]=_0x38007b,_0x38007b;}[_0x2a4c41(0x510)](){const _0x1f5959=_0x2a4c41;var _0x35add2,_0x2903bf;try{const _0x2b6162=(_0x2903bf=(_0x35add2=this[_0x1f5959(0x31e)])!=null?_0x35add2:this[_0x1f5959(0x1b0)])!=null?_0x2903bf:this['_createSocket']();if(_0x2b6162){const _0x510ede=_0x2b6162['send'];_0x2b6162[_0x1f5959(0x212)]=_0x483179=>(this[_0x1f5959(0x30c)](),_0x510ede['apply'](_0x2b6162,[_0x483179])),_0x2b6162[_0x1f5959(0x387)][_0x1f5959(0x543)](_0x5eefba=>this[_0x1f5959(0x514)](_0x2b6162,_0x5eefba)),_0x2b6162[_0x1f5959(0x410)][_0x1f5959(0x4b4)](_0xfd004d[_0x1f5959(0x35b)](0x1))[_0x1f5959(0x543)](_0x298317=>this[_0x1f5959(0x1ae)]['error'](_0x1f5959(0x1ce),_0x298317)),_0x2b6162[_0x1f5959(0x21a)][_0x1f5959(0x4b4)](_0xfd004d['take'](0x1))[_0x1f5959(0x543)](()=>{const _0x129bf9=_0x1f5959;this[_0x129bf9(0x330)](_0x2b6162);}),_0x2b6162['close$'][_0x1f5959(0x4b4)](_0xfd004d['take'](0x1))['subscribe'](_0x35d2ef=>{const _0x30a559=_0x1f5959;this['_logService']['debug'](_0x30a559(0x3d8),_0x30a559(0x240),_0x35d2ef),this['_onConnectionFailed']();});}}catch(_0x4abead){this[_0x1f5959(0x1ae)][_0x1f5959(0x432)](_0x4abead),this[_0x1f5959(0x3cc)]();}}['_onConnectionOpen'](_0x32123b){const _0xb5d457=_0x2a4c41;this['_logService'][_0xb5d457(0x4b7)](_0xb5d457(0x3d8),_0xb5d457(0x49b)),_0x32123b[_0xb5d457(0x212)]({'cmd':_0x4efcf2['HELLO']}),this[_0xb5d457(0x30c)]();}['_listenToOfflineEvent'](){const _0x4a892d=_0x2a4c41;window[_0x4a892d(0x57d)](_0x4a892d(0x497),()=>this[_0x4a892d(0x577)]());}[_0x2a4c41(0x577)](){const _0x2fe32c=_0x2a4c41;this[_0x2fe32c(0x4c5)]=!0x1,this[_0x2fe32c(0x1b0)]=null,this[_0x2fe32c(0x592)][_0x2fe32c(0x380)](_0x4246bc[_0x2fe32c(0x31c)]),this['_socket$'][_0x2fe32c(0x380)](null),this[_0x2fe32c(0x1e8)](),this['_clearHeartbeatTimer']();}[_0x2a4c41(0x3cc)](){const _0xdbca85=_0x2a4c41;var _0x176eac;this[_0xdbca85(0x577)](),this['_retryCount']<((_0x176eac=this['_configService'][_0xdbca85(0x53c)](_0x5d1651))!=null?_0x176eac:0x3)?(this['_messageService'][_0xdbca85(0x451)]({'key':_0xdbca85(0x3e8),'type':_0x25691d[_0xdbca85(0x2ee)][_0xdbca85(0x496)],'content':this['_localeService']['t'](_0xdbca85(0x51b))}),this[_0xdbca85(0x4a0)]()):this[_0xdbca85(0x319)][_0xdbca85(0x451)]({'key':_0xdbca85(0x3e8),'type':_0x25691d[_0xdbca85(0x2ee)]['Error'],'content':this['_localeService']['t'](_0xdbca85(0x475))});}[_0x2a4c41(0x355)](){const _0x366e09=_0x2a4c41,_0x5a839a=()=>{const _0x3c1f01=_0x5025;this[_0x3c1f01(0x31e)]||this[_0x3c1f01(0x1bb)]();},_0x1569de=()=>{const _0x2691ed=_0x5025;this['_socket']||document[_0x2691ed(0x2f7)]===_0x2691ed(0x38a)||this[_0x2691ed(0x1bb)]();};window[_0x366e09(0x57d)]('online',_0x5a839a),document[_0x366e09(0x57d)](_0x366e09(0x4f3),_0x1569de);}[_0x2a4c41(0x4a0)](){const _0x1836ec=_0x2a4c41;var _0x15425c;const _0xca4fce=this[_0x1836ec(0x290)],_0x1ed681=this[_0x1836ec(0x1ec)][_0x1836ec(0x53c)](_0x576146),_0x10de36=_0xca4fce===0x0?0x0:((_0x15425c=_0x1ed681==null?void 0x0:_0x1ed681[_0x1836ec(0x57a)])!=null?_0x15425c:0x4e20)*0x2**_0xca4fce;this[_0x1836ec(0x360)]=window[_0x1836ec(0x40f)](()=>{const _0x45eb35=_0x1836ec;clearTimeout(this[_0x45eb35(0x360)]),this['_retryConnectingTimer']=null,this['_tryEnsureSocket']();},_0x10de36),this[_0x1836ec(0x290)]+=0x1;}[_0x2a4c41(0x514)](_0x149403,_0x891ebc){const _0x48a2a5=_0x2a4c41,{cmd:_0xeb25b6}=_0x891ebc;_0xeb25b6===_0x4efcf2[_0x48a2a5(0x39e)]&&!this[_0x48a2a5(0x4c5)]&&(_0x149403[_0x48a2a5(0x454)]=_0x891ebc['data']['memberID'],this[_0x48a2a5(0x22d)][_0x48a2a5(0x380)](_0x149403),this[_0x48a2a5(0x592)][_0x48a2a5(0x380)](_0x4246bc[_0x48a2a5(0x424)]),this['_socketReady']=!0x0,this[_0x48a2a5(0x1b0)]=null),_0xeb25b6===_0x4efcf2[_0x48a2a5(0x1df)]&&this['_clearTimeoutTimer'](),this[_0x48a2a5(0x30c)]();}[_0x2a4c41(0x30c)](){const _0x330235=_0x2a4c41;var _0x1650b2;this[_0x330235(0x474)](),this['_sendHeartbeatTimer']=window['setTimeout'](()=>this['_sendHeartbeat'](),(_0x1650b2=this[_0x330235(0x1ec)][_0x330235(0x53c)](_0x300f15))!=null?_0x1650b2:0x7530);}['_sendHeartbeat'](){const _0x456cf0=_0x2a4c41;this['_socket']['send']({'cmd':_0x4efcf2['HEARTBEAT']}),this[_0x456cf0(0x283)]();}[_0x2a4c41(0x283)](){const _0xd0817c=_0x2a4c41;var _0x186af5;this[_0xd0817c(0x29a)]=window['setTimeout'](()=>this['_onConnectionFailed'](),(_0x186af5=this['_configService'][_0xd0817c(0x53c)](_0x5824fe))!=null?_0x186af5:0x4e20);}['_clearHeartbeatTimer'](){const _0x17311f=_0x2a4c41;this[_0x17311f(0x379)]!=null&&(clearTimeout(this[_0x17311f(0x379)]),this[_0x17311f(0x379)]=null);}['_clearTimeoutTimer'](){const _0x3ca582=_0x2a4c41;this[_0x3ca582(0x29a)]!=null&&(clearTimeout(this['_timeoutTimer']),this[_0x3ca582(0x29a)]=null);}},_0x119e5f['CollaborationSessionService']=_0x269a50([_0x19c919(0x0,_0x42e035['Inject'](_0x42e035['Injector'])),_0x19c919(0x1,_0x42e035['Inject'](_0x42e035[_0x2a4c41(0x39c)])),_0x19c919(0x2,_0x576301[_0x2a4c41(0x214)]),_0x19c919(0x3,_0x42e035[_0x2a4c41(0x5ae)]),_0x19c919(0x4,_0x42e035[_0x2a4c41(0x25b)]),_0x19c919(0x5,_0x3a65c4)],_0x119e5f[_0x2a4c41(0x56d)]);var _0x16cc8f=Object[_0x2a4c41(0x38e)],_0x53abca=Object[_0x2a4c41(0x317)],_0x1e35d6=(_0x4dce76,_0xc26756,_0x1df3ea,_0x58202a)=>{const _0x4cef6f=_0x2a4c41;for(var _0x30cd65=_0x58202a>0x1?void 0x0:_0x58202a?_0x53abca(_0xc26756,_0x1df3ea):_0xc26756,_0x391dad=_0x4dce76[_0x4cef6f(0x250)]-0x1,_0x48927a;_0x391dad>=0x0;_0x391dad--)(_0x48927a=_0x4dce76[_0x391dad])&&(_0x30cd65=(_0x58202a?_0x48927a(_0xc26756,_0x1df3ea,_0x30cd65):_0x48927a(_0x30cd65))||_0x30cd65);return _0x58202a&&_0x30cd65&&_0x16cc8f(_0xc26756,_0x1df3ea,_0x30cd65),_0x30cd65;},_0xf08aa6=(_0x3164a0,_0x2d5d60)=>(_0x46fee4,_0x21e365)=>_0x2d5d60(_0x46fee4,_0x21e365,_0x3164a0);let _0x3f2c42=class{constructor(_0x4eaff3,_0x10348b,_0x34bd71){const _0x54e6a0=_0x2a4c41;this[_0x54e6a0(0x1a2)]=_0x4eaff3,this[_0x54e6a0(0x421)]=_0x10348b,this[_0x54e6a0(0x347)]=_0x34bd71;}[_0x2a4c41(0x3eb)](_0x18ea70){const _0x1956b2=_0x2a4c41;this[_0x1956b2(0x2da)](_0x18ea70),this[_0x1956b2(0x1d8)](_0x18ea70);}[_0x2a4c41(0x3d3)](_0xbef812){const _0x21435b=_0x2a4c41,{unitID:_0xd68c55}=_0xbef812,_0x49bc27=this[_0x21435b(0x347)][_0x21435b(0x297)](_0xd68c55)[_0x21435b(0x390)](_0x43047a[_0x21435b(0x4b9)]),{redoCache:_0x52da9d}=_0x49bc27[_0x21435b(0x1cb)]();if(_0x52da9d['length']===0x0)return _0xbef812;let _0x3938f5=_0x42e035['Tools'][_0x21435b(0x2f8)](_0xbef812['mutations'][0x0]);for(let _0x596e78=0x0;_0x596e78<_0x52da9d['length'];_0x596e78++){const _0x589c66={'id':'doc.mutation.rich-text-editing','params':{..._0x52da9d[_0x596e78]}},_0x2d70bc=this[_0x21435b(0x421)][_0x21435b(0x1e6)](_0x3938f5,_0x589c66,!0x1);if(_0x1a2c53['isTransformMutationFailure'](_0x2d70bc))throw _0x2d70bc[_0x21435b(0x432)];_0x3938f5=_0x2d70bc[_0x21435b(0x435)];}return{..._0x42e035[_0x21435b(0x34c)][_0x21435b(0x2f8)](_0xbef812),'mutations':[_0x3938f5]};}[_0x2a4c41(0x2da)](_0x5681d2){const _0x13379f=_0x2a4c41,{unitID:_0xfec102}=_0x5681d2,_0x4816bc=this['_renderManagerService']['getRenderById'](_0xfec102)[_0x13379f(0x390)](_0x43047a[_0x13379f(0x4b9)]),{undoCache:_0x3d0707,redoCache:_0x115e6c}=_0x4816bc[_0x13379f(0x1cb)]();if(_0x3d0707['length']===0x0||_0x115e6c[_0x13379f(0x250)]===0x0)return;const _0x1db3cc=[],_0xe67f1b=[];let _0x449b27=_0x42e035[_0x13379f(0x34c)][_0x13379f(0x2f8)](_0x5681d2[_0x13379f(0x23d)][0x0]),_0x14bfb6=_0x42e035[_0x13379f(0x34c)][_0x13379f(0x2f8)](_0x5681d2['mutations'][0x0]);for(let _0x407317=_0x3d0707[_0x13379f(0x250)]-0x1;_0x407317>=0x0;_0x407317--){const _0x49c927={'id':'doc.mutation.rich-text-editing','params':{..._0x3d0707[_0x407317]}},_0x540f1a={'id':'doc.mutation.rich-text-editing','params':{..._0x115e6c[_0x407317]}},_0xb310e8=this[_0x13379f(0x421)]['transformMutation'](_0x449b27,_0x49c927,!0x1),_0x557bf7=this[_0x13379f(0x421)][_0x13379f(0x1e6)](_0x14bfb6,_0x540f1a,!0x1);if(_0x1a2c53[_0x13379f(0x203)](_0xb310e8))throw _0xb310e8['error'];if(_0x1a2c53[_0x13379f(0x203)](_0x557bf7))throw _0x557bf7['error'];_0x1db3cc[_0x13379f(0x564)](_0xb310e8[_0x13379f(0x492)][_0x13379f(0x44a)]),_0xe67f1b[_0x13379f(0x564)](_0x557bf7[_0x13379f(0x492)][_0x13379f(0x44a)]),_0x449b27=_0xb310e8[_0x13379f(0x435)],_0x14bfb6=_0x557bf7[_0x13379f(0x435)];}_0x4816bc[_0x13379f(0x4ed)]({'undoCache':_0x1db3cc,'redoCache':_0xe67f1b});}[_0x2a4c41(0x1d8)](_0x43361a){const _0x5c6a68=_0x2a4c41,{unitID:_0x11ffd1}=_0x43361a,_0x5390b0=this[_0x5c6a68(0x347)][_0x5c6a68(0x297)](_0x11ffd1)[_0x5c6a68(0x390)](_0x43047a['DocIMEInputManagerService']),_0x1e1627=_0x5390b0[_0x5c6a68(0x507)]();if(_0x1e1627==null)return;const _0x435d2d=[{'id':_0x5c6a68(0x50e),'params':{'unitId':_0x43361a[_0x5c6a68(0x3a4)],'actions':null,'textRanges':[_0x1e1627]}}],_0x441b69=this['_transformService'][_0x5c6a68(0x211)](_0x43361a,_0x435d2d);if(!_0x1a2c53[_0x5c6a68(0x24c)](_0x441b69))throw _0x441b69[_0x5c6a68(0x432)];const _0x5a599b=_0x441b69[_0x5c6a68(0x492)][0x0][_0x5c6a68(0x44a)][_0x5c6a68(0x298)];Array[_0x5c6a68(0x1a8)](_0x5a599b)&&_0x5a599b[_0x5c6a68(0x250)]&&_0x5390b0[_0x5c6a68(0x558)](_0x5a599b[0x0]);}};_0x3f2c42=_0x1e35d6([_0xf08aa6(0x0,_0x42e035[_0x2a4c41(0x29d)](_0x42e035[_0x2a4c41(0x2bf)])),_0xf08aa6(0x1,_0x1a2c53[_0x2a4c41(0x41f)]),_0xf08aa6(0x2,_0x7f7413[_0x2a4c41(0x318)])],_0x3f2c42);var _0x533740=Object[_0x2a4c41(0x38e)],_0x593e3a=Object[_0x2a4c41(0x317)],_0x38914f=(_0x1395cc,_0x36d6af,_0x231ecd,_0x1ab1c7)=>{for(var _0x2f5b77=_0x1ab1c7>0x1?void 0x0:_0x1ab1c7?_0x593e3a(_0x36d6af,_0x231ecd):_0x36d6af,_0xf5fa6=_0x1395cc['length']-0x1,_0x8cfb93;_0xf5fa6>=0x0;_0xf5fa6--)(_0x8cfb93=_0x1395cc[_0xf5fa6])&&(_0x2f5b77=(_0x1ab1c7?_0x8cfb93(_0x36d6af,_0x231ecd,_0x2f5b77):_0x8cfb93(_0x2f5b77))||_0x2f5b77);return _0x1ab1c7&&_0x2f5b77&&_0x533740(_0x36d6af,_0x231ecd,_0x2f5b77),_0x2f5b77;},_0x2af4ae=(_0x35d994,_0xa19ad4)=>(_0x4caa84,_0x39fcef)=>_0xa19ad4(_0x4caa84,_0x39fcef,_0x35d994);_0x119e5f[_0x2a4c41(0x36c)]=class extends _0x42e035[_0x2a4c41(0x5ab)]{constructor(_0x305c99,_0x4b06b6,_0x74ef2c,_0x22b3a6,_0x1c366f){const _0x32996c=_0x2a4c41;super(),_0x3a0856(this,'_cachedData',new Map()),_0x3a0856(this,_0x32996c(0x41e),new Map()),_0x3a0856(this,_0x32996c(0x316),!0x1),(this[_0x32996c(0x1ec)]=_0x305c99,this[_0x32996c(0x5c9)]=_0x4b06b6,this[_0x32996c(0x208)]=_0x74ef2c,this[_0x32996c(0x2b1)]=_0x22b3a6,this['_revisionService']=_0x1c366f,this[_0x32996c(0x2c1)]());}['disableLocalCache'](){const _0x470e03=_0x2a4c41;this[_0x470e03(0x316)]=!0x0;}['enableLocalCache'](){const _0x135097=_0x2a4c41;this[_0x135097(0x316)]=!0x1;}['dispose'](){const _0x1ca359=_0x2a4c41;this['exhaustSavingTask']()['then'](()=>super[_0x1ca359(0x4f9)]());}async[_0x2a4c41(0x365)](_0x1a0ca8){const _0x56c80f=_0x2a4c41;return this[_0x56c80f(0x316)]?null:this[_0x56c80f(0x5c9)][_0x56c80f(0x1c3)](_0x279a07(_0x1a0ca8));}async[_0x2a4c41(0x38c)](_0x4be2af,_0x1d1a12){const _0x44b019=_0x2a4c41;return!!this[_0x44b019(0x5c9)][_0x44b019(0x415)](_0x4be2af,_0x1d1a12);}[_0x2a4c41(0x265)](_0x1e2cc9,_0x1ae9fb,_0x1ddecb,_0x573e18){const _0x23794e=_0x2a4c41,_0x14adb4=this[_0x23794e(0x3d7)][_0x23794e(0x234)](_0x1e2cc9);this[_0x23794e(0x584)][_0x23794e(0x1c0)](_0x1e2cc9,{'unitID':_0x1e2cc9,'type':_0x1ae9fb,'awaitingChangeset':_0x1ddecb,'mutations':_0x573e18,'rev':_0x14adb4}),this[_0x23794e(0x41e)][_0x23794e(0x471)](_0x1e2cc9)||this['_scheduleSaving'](_0x1e2cc9);}[_0x2a4c41(0x426)](_0x4fc102){const _0x18c95f=_0x2a4c41,_0x265f99=this[_0x18c95f(0x501)]();_0x265f99===0x0?this[_0x18c95f(0x2a0)](_0x4fc102):this[_0x18c95f(0x41e)][_0x18c95f(0x1c0)](_0x4fc102,setTimeout(()=>this[_0x18c95f(0x2a0)](_0x4fc102),_0x265f99));}[_0x2a4c41(0x501)](){const _0x285792=_0x2a4c41;var _0x3225c0;return(_0x3225c0=this[_0x285792(0x1ec)][_0x285792(0x53c)](_0x37a242))!=null?_0x3225c0:0x3e8;}['_saveCache'](_0x2410dd){const _0x3bd135=_0x2a4c41,_0x4b601b=this[_0x3bd135(0x41e)][_0x3bd135(0x3ae)](_0x2410dd);return _0x4b601b!==void 0x0&&window['clearTimeout'](_0x4b601b),this[_0x3bd135(0x5c9)][_0x3bd135(0x415)](_0x279a07(_0x2410dd),this[_0x3bd135(0x584)][_0x3bd135(0x3ae)](_0x2410dd))[_0x3bd135(0x4c6)](()=>this[_0x3bd135(0x41e)][_0x3bd135(0x536)](_0x2410dd));}async['exhaustSavingTask'](){const _0x5946a0=_0x2a4c41,_0x390c09=[];this[_0x5946a0(0x41e)][_0x5946a0(0x3f5)]((_0xf81115,_0x1de6f8)=>{const _0x4c2166=_0x5946a0;window[_0x4c2166(0x350)](_0xf81115),_0x390c09['push'](this['_saveCache'](_0x1de6f8)[_0x4c2166(0x4c6)](()=>{const _0x39139a=_0x4c2166;this[_0x39139a(0x41e)][_0x39139a(0x536)](_0x1de6f8);}));}),await Promise[_0x5946a0(0x4e7)](_0x390c09);}[_0x2a4c41(0x2c1)](){const _0x2d12ab=_0x2a4c41;this[_0x2d12ab(0x594)](this[_0x2d12ab(0x208)][_0x2d12ab(0x495)](()=>{const _0x13a3b1=_0x2d12ab;if(this[_0x13a3b1(0x41e)]['size'])return this[_0x13a3b1(0x2b1)]['t']('collaboration-client.offline-data-not-saved');}));}},_0x119e5f['LocalCacheService']=_0x38914f([_0x2af4ae(0x0,_0x42e035[_0x2a4c41(0x25b)]),_0x2af4ae(0x1,_0x42e035[_0x2a4c41(0x271)]),_0x2af4ae(0x2,_0x576301[_0x2a4c41(0x42c)]),_0x2af4ae(0x3,_0x42e035[_0x2a4c41(0x29d)](_0x42e035[_0x2a4c41(0x39c)])),_0x2af4ae(0x4,_0x42e035[_0x2a4c41(0x29d)](_0x1a2c53[_0x2a4c41(0x46f)]))],_0x119e5f[_0x2a4c41(0x36c)]);function _0x279a07(_0x244d45){const _0x40cc00=_0x2a4c41;return _0x40cc00(0x28d)+_0x244d45;}var _0x14dd1b=Object['defineProperty'],_0x4d95ad=Object['getOwnPropertyDescriptor'],_0xe0776a=(_0x43a72e,_0x13140e,_0x198445,_0x30226c)=>{const _0x1084a7=_0x2a4c41;for(var _0x4911bf=_0x30226c>0x1?void 0x0:_0x30226c?_0x4d95ad(_0x13140e,_0x198445):_0x13140e,_0x9e810=_0x43a72e[_0x1084a7(0x250)]-0x1,_0x796494;_0x9e810>=0x0;_0x9e810--)(_0x796494=_0x43a72e[_0x9e810])&&(_0x4911bf=(_0x30226c?_0x796494(_0x13140e,_0x198445,_0x4911bf):_0x796494(_0x4911bf))||_0x4911bf);return _0x30226c&&_0x4911bf&&_0x14dd1b(_0x13140e,_0x198445,_0x4911bf),_0x4911bf;},_0x506e6d=(_0x21c39e,_0x486294)=>(_0x1049ef,_0x554e65)=>_0x486294(_0x1049ef,_0x554e65,_0x21c39e);function _0x18e371(_0x1bb03b){const _0x16b866=_0x2a4c41,{unitID:_0x435be3,mutations:_0x56025d}=_0x1bb03b;return{'unitId':_0x435be3,'subUnitId':_0x56025d[0x0][_0x16b866(0x44a)][_0x16b866(0x277)]};}let _0x17ff71=class{constructor(_0x1d5ba1,_0x3f4e5d,_0x312b8e){const _0x546aba=_0x2a4c41;this[_0x546aba(0x1a2)]=_0x1d5ba1,this[_0x546aba(0x421)]=_0x3f4e5d,this['_instanceService']=_0x312b8e;}['transformSelections'](_0x555407){const _0xf351b1=_0x2a4c41;var _0x388967,_0x4daa28,_0x2a625e,_0x103123;const _0x36096a=this[_0xf351b1(0x1a2)][_0xf351b1(0x3ae)](_0x2d44ec[_0xf351b1(0x3bf)]),{unitId:_0x27e767,subUnitId:_0x4e9b17}=_0x18e371(_0x555407),_0x43c2b5=_0x36096a[_0xf351b1(0x1f9)](_0x27e767)[_0xf351b1(0x242)](),_0x187743=(_0x4daa28=(_0x388967=this[_0xf351b1(0x42d)][_0xf351b1(0x425)](_0x27e767))==null?void 0x0:_0x388967[_0xf351b1(0x531)]())==null?void 0x0:_0x4daa28[_0xf351b1(0x4d0)]();if(_0x43c2b5['length']===0x0||!_0x27e767||!_0x4e9b17)return;const _0x2ae609=[{'id':_0x2d44ec[_0xf351b1(0x44b)]['id'],'params':{'unitId':_0x27e767,'subUnitId':_0x187743,'selections':_0x42e035['Tools']['deepClone'](_0x43c2b5)}}],_0x4336f0=this[_0xf351b1(0x421)][_0xf351b1(0x211)](_0x555407,_0x2ae609);if(!_0x1a2c53[_0xf351b1(0x24c)](_0x4336f0))throw _0x4336f0[_0xf351b1(0x432)];const _0x544439=(_0x103123=(_0x2a625e=_0x4336f0[_0xf351b1(0x492)][0x0])==null?void 0x0:_0x2a625e['params'])==null?void 0x0:_0x103123['selections'];Array[_0xf351b1(0x1a8)](_0x544439)&&_0x544439[_0xf351b1(0x250)]&&this[_0xf351b1(0x1a2)][_0xf351b1(0x3ae)](_0x42e035['ICommandService'])[_0xf351b1(0x3e0)](_0x2d44ec['SetSelectionsOperation']['id'],{'unitId':_0x27e767,'subUnitId':_0x187743,'selections':_0x544439});}};_0x17ff71=_0xe0776a([_0x506e6d(0x0,_0x42e035[_0x2a4c41(0x29d)](_0x42e035['Injector'])),_0x506e6d(0x1,_0x1a2c53[_0x2a4c41(0x41f)]),_0x506e6d(0x2,_0x42e035[_0x2a4c41(0x281)])],_0x17ff71);const _0x506d1b=_0x42e035[_0x2a4c41(0x2c9)](_0x2a4c41(0x5cf));var _0xe4fb0e=(_0x3fc015=>(_0x3fc015[_0x3fc015[_0x2a4c41(0x40d)]=0x0]=_0x2a4c41(0x40d),_0x3fc015[_0x3fc015[_0x2a4c41(0x3fe)]=0x1]='OTHER_CLIENTS_EDITING',_0x3fc015))(_0xe4fb0e||{});const _0x3b4f1a=0x7530,_0x35407d=_0x2a4c41(0x28e);class _0x2ade6a extends _0x42e035[_0x2a4c41(0x5ab)]{constructor(){const _0xcf893d=_0x2a4c41;super(),_0x3a0856(this,_0xcf893d(0x5c5),_0x42e035[_0xcf893d(0x34c)][_0xcf893d(0x430)]()),_0x3a0856(this,_0xcf893d(0x44e),new Set()),_0x3a0856(this,_0xcf893d(0x4bd),new Map()),_0x3a0856(this,_0xcf893d(0x31f),null),_0x3a0856(this,_0xcf893d(0x1e0),new Map()),_0x3a0856(this,_0xcf893d(0x3f1),new Map()),this[_0xcf893d(0x40a)]();}[_0x2a4c41(0x4f9)](){const _0x55da32=_0x2a4c41;super[_0x55da32(0x4f9)](),this[_0x55da32(0x1e0)][_0x55da32(0x3f5)]((_0x5b7e9b,_0x820b1a)=>this['_removeClearOtherTimer'](_0x820b1a)),this[_0x55da32(0x31f)]&&window[_0x55da32(0x489)](this['_heartbeatTimer']);}[_0x2a4c41(0x2ef)](_0x46a692){const _0x50471e=_0x2a4c41;return this[_0x50471e(0x3b0)](_0x46a692)[_0x50471e(0x4b4)](_0x40c8d9[_0x50471e(0x23f)]());}[_0x2a4c41(0x2c0)](_0x59c0d0){const _0x375bba=_0x2a4c41;this[_0x375bba(0x44e)][_0x375bba(0x306)]===0x0&&this[_0x375bba(0x509)](),this['_selfUnitIDs'][_0x375bba(0x1ca)](_0x59c0d0),this[_0x375bba(0x503)]({'type':0x0,'memberID':this[_0x375bba(0x5c5)],'unitIDs':[_0x59c0d0],'isForwarded':!0x1});}[_0x2a4c41(0x34f)](_0x26dc95){const _0x1d2bae=_0x2a4c41;this[_0x1d2bae(0x44e)]['delete'](_0x26dc95),this[_0x1d2bae(0x44e)][_0x1d2bae(0x306)]===0x0&&this[_0x1d2bae(0x31f)]&&window['clearInterval'](this[_0x1d2bae(0x31f)]);}['_init'](){const _0x3c36f9=_0x2a4c41;this[_0x3c36f9(0x594)](_0x42e035[_0x3c36f9(0x4b5)](_0x40c8d9[_0x3c36f9(0x310)](window,_0x3c36f9(0x434))[_0x3c36f9(0x543)](_0x5174b4=>{const _0x19f9fa=_0x3c36f9;if(_0x5174b4[_0x19f9fa(0x456)]!==_0x35407d||!_0x5174b4[_0x19f9fa(0x3e3)])return;const _0x52dbfe=JSON[_0x19f9fa(0x3d0)](_0x5174b4[_0x19f9fa(0x3e3)]);this[_0x19f9fa(0x370)](_0x52dbfe);}))),window[_0x3c36f9(0x57d)](_0x3c36f9(0x49f),()=>this['_send']({'type':0x1,'memberID':this[_0x3c36f9(0x5c5)],'unitIDs':Array[_0x3c36f9(0x27e)](this['_selfUnitIDs'])}));}[_0x2a4c41(0x370)](_0x5a241b){const _0x3ce0f7=_0x2a4c41;switch(_0x5a241b['type']){case 0x0:this[_0x3ce0f7(0x58d)](_0x5a241b);break;case 0x1:this[_0x3ce0f7(0x436)](_0x5a241b);break;case 0x2:this['_handleHeartbeatEvent'](_0x5a241b);break;}}[_0x2a4c41(0x58d)](_0x572bfd){const _0x53fed1=_0x2a4c41,{unitIDs:_0x2c1ebc,memberID:_0x42f8a6,isForwarded:_0x2f5cc5}=_0x572bfd;_0x2c1ebc['forEach'](_0x21915a=>{const _0x372b70=_0x5025;if(!_0x2f5cc5&&this['_unitOnClients'][_0x372b70(0x471)](_0x21915a)&&this[_0x372b70(0x3b0)](_0x21915a)['next'](0x1),!this[_0x372b70(0x4bd)][_0x372b70(0x471)](_0x21915a)||!this['_unitOnClients'][_0x372b70(0x3ae)](_0x21915a)[_0x372b70(0x471)](_0x42f8a6)){const _0x5b8fdd=this[_0x372b70(0x4bd)][_0x372b70(0x3ae)](_0x21915a)||new Set();_0x5b8fdd[_0x372b70(0x1ca)](_0x42f8a6),this[_0x372b70(0x4bd)][_0x372b70(0x1c0)](_0x21915a,_0x5b8fdd),this['_scheduleClearOtherTimer'](_0x42f8a6);}}),_0x2f5cc5||this[_0x53fed1(0x503)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0x53fed1(0x44e)]],'isForwarded':!0x0});}[_0x2a4c41(0x52a)](_0x554595){const _0x1416b7=_0x2a4c41;this[_0x1416b7(0x5b7)](_0x554595);const _0x5b98a4=window[_0x1416b7(0x40f)](()=>{const _0x1a72c2=_0x1416b7;this[_0x1a72c2(0x4bd)][_0x1a72c2(0x3f5)](_0x41ceab=>{const _0x1424c9=_0x1a72c2;_0x41ceab[_0x1424c9(0x536)](_0x554595);});},_0x3b4f1a*0x2);this[_0x1416b7(0x1e0)][_0x1416b7(0x1c0)](_0x554595,_0x5b98a4);}[_0x2a4c41(0x5b7)](_0x360901){const _0x22d6e6=_0x2a4c41;if(this[_0x22d6e6(0x1e0)][_0x22d6e6(0x471)](_0x360901)){const _0x1adb15=this[_0x22d6e6(0x1e0)][_0x22d6e6(0x3ae)](_0x360901);_0x1adb15&&window[_0x22d6e6(0x350)](_0x1adb15),this[_0x22d6e6(0x1e0)][_0x22d6e6(0x1c0)](_0x360901,null);}}['_handleLeaveEvent'](_0x4c1593){const _0x598a02=_0x2a4c41,{memberID:_0x547401,unitIDs:_0x331ea7}=_0x4c1593;_0x331ea7[_0x598a02(0x3f5)](_0x372753=>{const _0x594205=_0x598a02;var _0x3cc539;const _0xdfd54a=this[_0x594205(0x4bd)][_0x594205(0x3ae)](_0x372753);_0xdfd54a&&(_0xdfd54a['delete'](_0x547401),(_0x3cc539=this[_0x594205(0x3b0)](_0x372753))==null||_0x3cc539[_0x594205(0x380)](_0xdfd54a[_0x594205(0x306)]===0x0?0x0:0x1));}),this[_0x598a02(0x5b7)](_0x547401);}['_handleHeartbeatEvent'](_0x5b90b1){this['_scheduleClearOtherTimer'](_0x5b90b1['memberID']);}[_0x2a4c41(0x503)](_0x4b8039){const _0x388fea=_0x2a4c41;localStorage[_0x388fea(0x415)](_0x35407d,JSON[_0x388fea(0x2a9)](_0x4b8039));}[_0x2a4c41(0x509)](){const _0x6623d2=_0x2a4c41;this[_0x6623d2(0x31f)]=window[_0x6623d2(0x567)](()=>{const _0x50a400=_0x6623d2;this[_0x50a400(0x503)]({'type':0x2,'memberID':this['_id']});},_0x3b4f1a);}[_0x2a4c41(0x3b0)](_0xdcf71b){const _0x15e839=_0x2a4c41;return this[_0x15e839(0x3f1)][_0x15e839(0x471)](_0xdcf71b)||this[_0x15e839(0x3f1)][_0x15e839(0x1c0)](_0xdcf71b,new _0x40c8d9[(_0x15e839(0x54d))](0x0)),this[_0x15e839(0x3f1)][_0x15e839(0x3ae)](_0xdcf71b);}}function _0x2058ed(_0x28c043){const _0x3548b0=_0x2a4c41;let _0x4cb9ed='';for(const _0x5afa6a of _0x28c043){const {startOffset:_0x2f9cc4,endOffset:_0x1bc005,isActive:_0x2133df}=_0x5afa6a;_0x4cb9ed[_0x3548b0(0x250)]&&(_0x4cb9ed+=','),_0x4cb9ed+=_0x2f9cc4+':'+_0x1bc005+':'+(_0x2133df?'1':'0');}return _0x4cb9ed;}function _0x2f3f46(_0x405e21){const _0x21e597=_0x2a4c41,_0x303200=_0x405e21[_0x21e597(0x5b2)](','),_0x4bf510=[];for(const _0x2d8396 of _0x303200){const [_0x4f6bb9,_0x2aa29c,_0x186a7a]=_0x2d8396[_0x21e597(0x5b2)](':');_0x4bf510[_0x21e597(0x408)]({'startOffset':Number(_0x4f6bb9),'endOffset':Number(_0x2aa29c),'collapsed':_0x4f6bb9===_0x2aa29c,'isActive':_0x186a7a==='1'});}return _0x4bf510[_0x21e597(0x447)](_0x57e659=>_0x57e659[_0x21e597(0x2e6)])||(_0x4bf510[0x0][_0x21e597(0x2e6)]=!0x0),_0x4bf510;}class _0x293121 extends _0x42e035[_0x2a4c41(0x43e)]{constructor(){const _0x550635=_0x2a4c41;super(...arguments),_0x3a0856(this,_0x550635(0x25d),new _0x40c8d9['BehaviorSubject'](null)),_0x3a0856(this,_0x550635(0x572),this[_0x550635(0x25d)]['asObservable']());}[_0x2a4c41(0x262)](_0x2529e4){const _0x3fb432=_0x2a4c41,{unitID:_0x4acc38,memberID:_0x4479e6,textRanges:_0x2f8947}=_0x2529e4,_0x16bcec=_0x2058ed(_0x2f8947),_0x375834={'unitID':_0x4acc38,'memberID':_0x4479e6,'selection':_0x16bcec};this[_0x3fb432(0x25d)][_0x3fb432(0x380)](_0x375834);}}var _0x35608f=Object[_0x2a4c41(0x38e)],_0x1f1db4=Object[_0x2a4c41(0x317)],_0x432524=(_0x1c65e8,_0x46f16d,_0x5222e7,_0x486e43)=>{const _0x3716ef=_0x2a4c41;for(var _0x570948=_0x486e43>0x1?void 0x0:_0x486e43?_0x1f1db4(_0x46f16d,_0x5222e7):_0x46f16d,_0x5bdbd6=_0x1c65e8[_0x3716ef(0x250)]-0x1,_0x126c74;_0x5bdbd6>=0x0;_0x5bdbd6--)(_0x126c74=_0x1c65e8[_0x5bdbd6])&&(_0x570948=(_0x486e43?_0x126c74(_0x46f16d,_0x5222e7,_0x570948):_0x126c74(_0x570948))||_0x570948);return _0x486e43&&_0x570948&&_0x35608f(_0x46f16d,_0x5222e7,_0x570948),_0x570948;},_0x5b9055=(_0x436490,_0x8446b1)=>(_0x32cc55,_0x5cccc2)=>_0x8446b1(_0x32cc55,_0x5cccc2,_0x436490);let _0x1957db=class{constructor(_0x5df46f,_0x1a3a69){const _0x3ac9db=_0x2a4c41;this[_0x3ac9db(0x1a2)]=_0x5df46f,this[_0x3ac9db(0x421)]=_0x1a3a69;}['transformSelections'](_0x6541a){const _0x51deb7=_0x2a4c41;var _0x45601a;const _0x3d7cb8=this['_injector'][_0x51deb7(0x3ae)](_0x50c98c[_0x51deb7(0x4e3)]),_0x42092d=(_0x45601a=_0x3d7cb8['getDocRanges']())!=null?_0x45601a:[];if(_0x42092d[_0x51deb7(0x250)]===0x0)return;const _0x1b52fc=[{'id':_0x51deb7(0x50e),'params':{'unitId':_0x6541a[_0x51deb7(0x3a4)],'actions':null,'textRanges':_0x42092d}}],_0x9e4e55=this[_0x51deb7(0x421)]['transformMutationsWithChangeset'](_0x6541a,_0x1b52fc);if(!_0x1a2c53['isTransformMutationsWithChangesetSuccess'](_0x9e4e55))throw _0x9e4e55['error'];const _0x10ed37=_0x9e4e55[_0x51deb7(0x492)][0x0]['params'][_0x51deb7(0x298)];Array[_0x51deb7(0x1a8)](_0x10ed37)&&_0x10ed37['length']&&_0x3d7cb8[_0x51deb7(0x279)](_0x10ed37,!0x1);}};_0x1957db=_0x432524([_0x5b9055(0x0,_0x42e035[_0x2a4c41(0x29d)](_0x42e035['Injector'])),_0x5b9055(0x1,_0x1a2c53['ITransformService'])],_0x1957db);const _0xc2e82a=new Set([_0x2d44ec[_0x2a4c41(0x336)]['id']]);function _0x518b9d(_0x44f4c7,_0x17310d,_0x48b859,_0xe18a27,_0x366744){const _0x2e9647=_0x2a4c41;var _0x31e6e,_0x164bf6,_0x4164a6,_0x31fbc3;const _0x51bcfb=[];for(const _0x179a22 of _0x44f4c7)if(_0xc2e82a[_0x2e9647(0x471)](_0x179a22['id'])){if(_0x51bcfb['length']>0x0)break;_0x51bcfb[_0x2e9647(0x408)](_0x179a22);break;}else _0x51bcfb[_0x2e9647(0x408)](_0x179a22);const _0xab380=(_0x164bf6=(_0x31e6e=_0x366744['getCurrentUser']())==null?void 0x0:_0x31e6e[_0x2e9647(0x51f)])!=null?_0x164bf6:_0x2e9647(0x4f2),_0x560e9d=(_0x31fbc3=(_0x4164a6=_0x366744[_0x2e9647(0x32c)]())==null?void 0x0:_0x4164a6[_0x2e9647(0x454)])!=null?_0x31fbc3:_0x2e9647(0x4f2);return{'changeset':{'unitID':_0x17310d,'type':_0x1a2c53['mapDocumentTypeToUniverType'](_0x48b859[_0x2e9647(0x289)](_0x17310d)),'baseRev':_0xe18a27['getCurrentRevOfUnit'](_0x17310d),'revision':0x0,'userID':_0xab380,'memberID':_0x560e9d,'mutations':_0x51bcfb},'pendingMutations':_0x44f4c7[_0x2e9647(0x2eb)](_0x51bcfb[_0x2e9647(0x250)])};}function _0x1c630a(_0x36c017,_0x31ae1a,_0x206270,_0x185fb7,_0x1d8454){const _0x485984=_0x2a4c41;var _0x3d0786,_0x15c7af,_0x283dc6,_0x121cf2;const _0x58740e=[_0x36c017[_0x485984(0x2f5)]((_0x52db42,_0x2bd2de)=>{const _0x3e146d=_0x485984;var _0x3fe9da;const {id:_0x5601bd}=_0x52db42,{id:_0x3b7883,type:_0x3b4186}=_0x2bd2de,_0x5ca289=(_0x3fe9da=_0x52db42['params'])!=null?_0x3fe9da:{'actions':null},_0x135ef1=_0x2bd2de[_0x3e146d(0x44a)];if(_0x5601bd&&_0x5601bd!==_0x3b7883)throw new Error(_0x3e146d(0x4c8)+_0x5601bd+_0x3e146d(0x560)+_0x3b7883+'.');return{..._0x52db42,'id':_0x3b7883,'type':_0x3b4186,'params':{'unitId':_0x135ef1['unitId'],'textRanges':_0x135ef1[_0x3e146d(0x298)],'actions':_0x42e035[_0x3e146d(0x2dc)][_0x3e146d(0x209)](_0x5ca289['actions'],_0x135ef1[_0x3e146d(0x3de)])}};},{})],_0x3b5791=(_0x15c7af=(_0x3d0786=_0x1d8454[_0x485984(0x32c)]())==null?void 0x0:_0x3d0786[_0x485984(0x51f)])!=null?_0x15c7af:_0x485984(0x4f2),_0x5e9897=(_0x121cf2=(_0x283dc6=_0x1d8454[_0x485984(0x32c)]())==null?void 0x0:_0x283dc6['memberID'])!=null?_0x121cf2:_0x485984(0x4f2);return{'changeset':{'unitID':_0x31ae1a,'type':_0x1a2c53[_0x485984(0x29c)](_0x206270['getUnitType'](_0x31ae1a)),'baseRev':_0x185fb7[_0x485984(0x234)](_0x31ae1a),'revision':0x0,'userID':_0x3b5791,'memberID':_0x5e9897,'mutations':_0x58740e},'pendingMutations':[]};}const _0x5c8f09={'id':_0x2d44ec[_0x2a4c41(0x1c6)]['id'],'type':_0x42e035['CommandType'][_0x2a4c41(0x55e)],'params':{}};var _0x86b646=Object[_0x2a4c41(0x38e)],_0x286600=Object[_0x2a4c41(0x317)],_0x1dde43=(_0x5d4a05,_0x481c17,_0x1e73b5,_0x18de71)=>{const _0x2282db=_0x2a4c41;for(var _0x5a0541=_0x18de71>0x1?void 0x0:_0x18de71?_0x286600(_0x481c17,_0x1e73b5):_0x481c17,_0x159c20=_0x5d4a05[_0x2282db(0x250)]-0x1,_0x47babf;_0x159c20>=0x0;_0x159c20--)(_0x47babf=_0x5d4a05[_0x159c20])&&(_0x5a0541=(_0x18de71?_0x47babf(_0x481c17,_0x1e73b5,_0x5a0541):_0x47babf(_0x5a0541))||_0x5a0541);return _0x18de71&&_0x5a0541&&_0x86b646(_0x481c17,_0x1e73b5,_0x5a0541),_0x5a0541;},_0x3d5e47=(_0x4a5c81,_0x2ab038)=>(_0x3df0c5,_0x166877)=>_0x2ab038(_0x3df0c5,_0x166877,_0x4a5c81),_0x115871=(_0x36a088=>(_0x36a088['NOT_COLLAB']=_0x2a4c41(0x226),_0x36a088[_0x2a4c41(0x4d1)]='synced',_0x36a088[_0x2a4c41(0x55d)]='pending',_0x36a088[_0x2a4c41(0x3c9)]=_0x2a4c41(0x2ca),_0x36a088[_0x2a4c41(0x40e)]=_0x2a4c41(0x583),_0x36a088[_0x2a4c41(0x51a)]=_0x2a4c41(0x206),_0x36a088[_0x2a4c41(0x332)]=_0x2a4c41(0x56f),_0x36a088['OFFLINE']='offline',_0x36a088))(_0x115871||{});class _0x1a334d{constructor(_0x4817b6,_0x26b53f,_0x46cbd8,_0x19cdb4,_0x37df18,_0x52589a,_0x498fc3,_0xf41c43,_0xb7f854){const _0x351db8=_0x2a4c41;_0x3a0856(this,_0x351db8(0x51d),null),_0x3a0856(this,_0x351db8(0x35d),[]),(this[_0x351db8(0x3a4)]=_0x4817b6,this['type']=_0x26b53f,this['_handler']=_0x37df18,this[_0x351db8(0x369)]=_0x52589a,this[_0x351db8(0x20d)]=_0x498fc3,this['_revisionService']=_0xf41c43,this[_0x351db8(0x52f)]=_0xb7f854,this[_0x351db8(0x51d)]=_0x46cbd8,this[_0x351db8(0x35d)]=_0x19cdb4);}[_0x2a4c41(0x47e)](_0xc9f3d4){const _0x128f2b=_0x2a4c41,_0x7b3165=this[_0x128f2b(0x3d7)][_0x128f2b(0x234)](this[_0x128f2b(0x3a4)]);return _0xc9f3d4[_0x128f2b(0x488)]>_0x7b3165+0x1?(this[_0x128f2b(0x5c2)][_0x128f2b(0x576)]({'from':_0x7b3165,'to':_0xc9f3d4[_0x128f2b(0x488)]-0x1}),!0x0):!0x1;}[_0x2a4c41(0x5be)](_0x2e5bb3){const _0x577fde=_0x2a4c41;this[_0x577fde(0x20d)][_0x577fde(0x4a3)](this['unitID'],_0x2e5bb3);}[_0x2a4c41(0x287)](_0x3b7912){const _0x25a70b=_0x2a4c41;var _0x545b88,_0x195fff;(_0x195fff=(_0x545b88=this[_0x25a70b(0x5c2)])[_0x25a70b(0x5aa)])==null||_0x195fff[_0x25a70b(0x27a)](_0x545b88,_0x3b7912);}[_0x2a4c41(0x352)](_0x3eeb68){const _0x1ace08=_0x2a4c41;var _0x8bb1e4,_0xfa6bc5;return(_0xfa6bc5=(_0x8bb1e4=this[_0x1ace08(0x5c2)])[_0x1ace08(0x2a6)])==null?void 0x0:_0xfa6bc5[_0x1ace08(0x27a)](_0x8bb1e4,_0x3eeb68);}['_transformRemoteChangesetByIMECache'](_0x5c988b){const _0x560158=_0x2a4c41;var _0x56e45b,_0x13dfcd,_0x4a528e;return(_0x4a528e=(_0x13dfcd=(_0x56e45b=this[_0x560158(0x5c2)])[_0x560158(0x395)])==null?void 0x0:_0x13dfcd['call'](_0x56e45b,_0x5c988b))!=null?_0x4a528e:_0x5c988b;}[_0x2a4c41(0x591)](_0x12b945){const _0x403b55=_0x2a4c41;var _0x23cff2,_0x139b57;if(this[_0x403b55(0x348)]===_0x2a3e17[_0x403b55(0x441)]){const {unitID:_0x210f9a,mutations:_0x2fd77a,memberID:_0x78eb05}=_0x12b945,_0x35479a=_0x2fd77a[0x0][_0x403b55(0x44a)]['textRanges'];Array[_0x403b55(0x1a8)](_0x35479a)&&_0x35479a[_0x403b55(0x250)]>0x0&&((_0x139b57=(_0x23cff2=this[_0x403b55(0x5c2)])[_0x403b55(0x4ca)])==null||_0x139b57['call'](_0x23cff2,{'unitID':_0x210f9a,'memberID':_0x78eb05,'textRanges':_0x35479a}));}}[_0x2a4c41(0x275)](){const _0xaab242=_0x2a4c41;this[_0xaab242(0x52f)]['updateOfflineData'](this[_0xaab242(0x3a4)],this['type'],this['_awaitingChangeset'],this[_0xaab242(0x35d)]);}[_0x2a4c41(0x293)](){const _0x2f3328=_0x2a4c41;return this[_0x2f3328(0x3d7)][_0x2f3328(0x234)](this[_0x2f3328(0x3a4)]);}[_0x2a4c41(0x472)](){const _0x2c91b9=_0x2a4c41;this[_0x2c91b9(0x3d7)][_0x2c91b9(0x3fa)](this[_0x2c91b9(0x3a4)]);}[_0x2a4c41(0x339)](_0x10357a){const _0x410465=_0x2a4c41;var _0x1e3276;const _0x2a0132=this[_0x410465(0x213)](_0x10357a),_0x34dad6=_0x42e035['sequenceExecute'](_0x2a0132[_0x410465(0x23d)],this[_0x410465(0x369)],{'fromCollab':!0x0});if(!_0x34dad6['result'])throw _0x34dad6[_0x410465(0x432)]instanceof Error?_0x34dad6[_0x410465(0x432)]:new Error((_0x1e3276=_0x34dad6['error'])!=null?_0x1e3276:_0x410465(0x35a));this[_0x410465(0x352)](_0x2a0132),this[_0x410465(0x5be)](_0x10357a),this['_transformSelections'](_0x2a0132),this[_0x410465(0x591)](_0x2a0132),this[_0x410465(0x472)]();}}let _0x2b5b26=class extends _0x1a334d{constructor(_0x4aa495,_0x299497,_0x170c2b,_0xb3e380,_0x8254ab,_0x2ebaac,_0x87334e,_0x277cbb,_0x145a85,_0x168fb4){const _0x240fe7=_0x2a4c41;super(_0x4aa495,_0x299497,null,[],_0x170c2b,_0x277cbb,_0x87334e,_0xb3e380,_0x8254ab),_0x3a0856(this,_0x240fe7(0x469),_0x240fe7(0x37b)),(this['_injector']=_0x2ebaac,this[_0x240fe7(0x1ae)]=_0x145a85,this['_transformService']=_0x168fb4);}[_0x2a4c41(0x3e4)](_0x454f1a){const _0x571783=_0x2a4c41,_0x4f462e=this[_0x571783(0x1a2)][_0x571783(0x2fd)](_0x5c8afb,this[_0x571783(0x3a4)],this[_0x571783(0x348)],[_0x454f1a],this[_0x571783(0x5c2)]);return _0x4f462e['_schedule'](),_0x4f462e[_0x571783(0x275)](),_0x4f462e;}[_0x2a4c41(0x30f)](_0x39502c){const _0x14a286=_0x2a4c41;if(this['_checkMissing'](_0x39502c))return this[_0x14a286(0x1a2)][_0x14a286(0x2fd)](_0x560a30,this[_0x14a286(0x3a4)],this[_0x14a286(0x348)],null,[],null,[_0x39502c],this[_0x14a286(0x5c2)]);try{const _0x4779e9=this[_0x14a286(0x421)][_0x14a286(0x211)](_0x39502c,[_0x5c8f09]);if(_0x1a2c53[_0x14a286(0x24c)](_0x4779e9)){const {c1Prime:_0x4348d5}=_0x4779e9;return this['_executeRemoteChangeset'](_0x4348d5),this;}throw _0x4779e9[_0x14a286(0x432)];}catch(_0x1982d4){return this[_0x14a286(0x1ae)]['error'](_0x1982d4),this['_onConflict'](!0x1);}}[_0x2a4c41(0x4b8)](_0x1d771e){const _0x18b019=_0x2a4c41;return this[_0x18b019(0x1a2)][_0x18b019(0x2fd)](_0x147121,this[_0x18b019(0x3a4)],this[_0x18b019(0x348)],null,[],this[_0x18b019(0x5c2)],_0x1d771e);}['onRemoteAck'](){const _0x5c65cc=_0x2a4c41;throw new Error(_0x5c65cc(0x5a9));}[_0x2a4c41(0x295)](){throw new Error('[SyncedState]:\x20received\x20rejection.');}[_0x2a4c41(0x3c6)](){const _0xf1c891=_0x2a4c41;return this[_0xf1c891(0x1a2)][_0xf1c891(0x2fd)](_0x24bff7,this[_0xf1c891(0x3a4)],this[_0xf1c891(0x348)],null,[],this[_0xf1c891(0x5c2)]);}[_0x2a4c41(0x3e5)](){return this;}['resend'](){const _0x2897b4=_0x2a4c41;throw new Error(_0x2897b4(0x43d));}['fetchMiss'](){const _0x4de744=_0x2a4c41,_0x906ff=this['_revisionService']['getCurrentRevOfUnit'](this[_0x4de744(0x3a4)]);return this['_handler'][_0x4de744(0x576)]({'from':_0x906ff,'to':0x0}),this[_0x4de744(0x1a2)][_0x4de744(0x2fd)](_0x560a30,this[_0x4de744(0x3a4)],this[_0x4de744(0x348)],null,[],null,[],this[_0x4de744(0x5c2)]);}};_0x2b5b26=_0x1dde43([_0x3d5e47(0x3,_0x42e035[_0x2a4c41(0x29d)](_0x1a2c53[_0x2a4c41(0x46f)])),_0x3d5e47(0x4,_0x42e035[_0x2a4c41(0x29d)](_0x119e5f[_0x2a4c41(0x36c)])),_0x3d5e47(0x5,_0x42e035['Inject'](_0x42e035[_0x2a4c41(0x2bf)])),_0x3d5e47(0x6,_0x42e035['IUndoRedoService']),_0x3d5e47(0x7,_0x42e035[_0x2a4c41(0x219)]),_0x3d5e47(0x8,_0x42e035[_0x2a4c41(0x5ae)]),_0x3d5e47(0x9,_0x1a2c53['ITransformService'])],_0x2b5b26);let _0x5c8afb=class extends _0x1a334d{constructor(_0x491d80,_0x248529,_0x17bf86,_0x567e13,_0x50d212,_0x5d361b,_0x4dd505,_0x4980a1,_0x1f5a69,_0xea63ef,_0x12d010,_0x3b6d72,_0x1760ef,_0x5450f0){const _0xb13aac=_0x2a4c41;super(_0x491d80,_0x248529,null,_0x17bf86,_0x567e13,_0xea63ef,_0x5450f0,_0x5d361b,_0x4dd505),_0x3a0856(this,'status',_0xb13aac(0x4c4)),_0x3a0856(this,'_scheduleTimestamp',null),_0x3a0856(this,_0xb13aac(0x2a2),null),(this[_0xb13aac(0x1a2)]=_0x50d212,this['_memberService']=_0x4980a1,this['_logService']=_0x1f5a69,this[_0xb13aac(0x1ec)]=_0x12d010,this[_0xb13aac(0x421)]=_0x3b6d72,this[_0xb13aac(0x3b9)]=_0x1760ef);}[_0x2a4c41(0x3e4)](_0x5ec7be){const _0x327183=_0x2a4c41;return this['_pendingMutations'][_0x327183(0x408)](_0x5ec7be),this[_0x327183(0x275)](),this;}[_0x2a4c41(0x30f)](_0x1d0ae4){const _0xb2e55e=_0x2a4c41;if(this[_0xb2e55e(0x47e)](_0x1d0ae4))return this[_0xb2e55e(0x52d)](),this[_0xb2e55e(0x1a2)][_0xb2e55e(0x2fd)](_0x560a30,this['unitID'],this[_0xb2e55e(0x348)],null,this[_0xb2e55e(0x35d)],null,[_0x1d0ae4],this['_handler']);try{const _0x44e4c0=this['_transformService'][_0xb2e55e(0x211)](_0x1d0ae4,this[_0xb2e55e(0x35d)]);if(_0x1a2c53['isTransformMutationsWithChangesetSuccess'](_0x44e4c0)){const {c1Prime:_0x17b7ff,m2Prime:_0x4249fd}=_0x44e4c0;this['_executeRemoteChangeset'](_0x17b7ff);const _0x33a281=this[_0xb2e55e(0x1a2)][_0xb2e55e(0x2fd)](_0x5c8afb,this[_0xb2e55e(0x3a4)],this[_0xb2e55e(0x348)],_0x4249fd,this['_handler']);return this[_0xb2e55e(0x52d)](),_0x33a281[_0xb2e55e(0x1b1)](this[_0xb2e55e(0x333)]?Math['max'](0x0,new Date()[_0xb2e55e(0x25a)]()-this[_0xb2e55e(0x333)]):this[_0xb2e55e(0x2be)]()),_0x33a281;}throw _0x44e4c0[_0xb2e55e(0x432)];}catch(_0x180a5e){return this[_0xb2e55e(0x1ae)][_0xb2e55e(0x432)](_0x180a5e),this[_0xb2e55e(0x4b8)](!0x1);}}['onRemoteAck'](){const _0x2d93b8=_0x2a4c41;throw new Error(_0x2d93b8(0x21b));}['onRemoteRej'](){const _0x4c241e=_0x2a4c41;throw new Error(_0x4c241e(0x27d));}[_0x2a4c41(0x3c6)](){const _0x5aee15=_0x2a4c41;return this['_clearScheduledTask'](),this[_0x5aee15(0x1a2)][_0x5aee15(0x2fd)](_0x24bff7,this[_0x5aee15(0x3a4)],this[_0x5aee15(0x348)],null,this[_0x5aee15(0x35d)],this[_0x5aee15(0x5c2)]);}[_0x2a4c41(0x3e5)](){return this;}['_schedule'](_0x3dd670){const _0x4779f5=_0x2a4c41,_0x2401c5=_0x3dd670!=null?_0x3dd670:this['_getSendChangesetTimeout']();this[_0x4779f5(0x333)]=new Date()['getTime'](),this['_sendingTimer']=window[_0x4779f5(0x40f)](()=>{const _0x3981a8=_0x4779f5;this[_0x3981a8(0x52d)]();let _0xea7447=null;switch(this['type']){case _0x2a3e17[_0x3981a8(0x56a)]:{_0xea7447=_0x518b9d(this['_pendingMutations'],this[_0x3981a8(0x3a4)],this[_0x3981a8(0x3b9)],this[_0x3981a8(0x3d7)],this[_0x3981a8(0x534)]);break;}case _0x2a3e17[_0x3981a8(0x441)]:{this[_0x3981a8(0x35d)][_0x3981a8(0x270)](_0x32ebc6=>_0x32ebc6['id']===_0x50c98c[_0x3981a8(0x5b1)]['id'])?_0xea7447=_0x1c630a(this[_0x3981a8(0x35d)],this[_0x3981a8(0x3a4)],this[_0x3981a8(0x3b9)],this[_0x3981a8(0x3d7)],this[_0x3981a8(0x534)]):_0xea7447=_0x518b9d(this[_0x3981a8(0x35d)],this['unitID'],this[_0x3981a8(0x3b9)],this[_0x3981a8(0x3d7)],this[_0x3981a8(0x534)]);break;}default:throw new Error(_0x3981a8(0x377)+this['type']+'\x20in\x20_schedule.');}const {changeset:_0x4f954f,pendingMutations:_0x5d8355}=_0xea7447;this[_0x3981a8(0x5c2)][_0x3981a8(0x402)](_0x4f954f);const _0x27ba6b=_0x5d8355[_0x3981a8(0x250)]?this[_0x3981a8(0x1a2)]['createInstance'](_0x126d11,this[_0x3981a8(0x3a4)],this[_0x3981a8(0x348)],_0x4f954f,_0x5d8355,this[_0x3981a8(0x5c2)]):this[_0x3981a8(0x1a2)][_0x3981a8(0x2fd)](_0x329e72,this[_0x3981a8(0x3a4)],this['type'],_0x4f954f,this[_0x3981a8(0x5c2)]);_0x27ba6b[_0x3981a8(0x275)](),this['_handler'][_0x3981a8(0x4f6)](this,_0x27ba6b);},_0x2401c5);}[_0x2a4c41(0x2be)](){const _0x49f390=_0x2a4c41;var _0x1e93b8;const _0x349ced=this[_0x49f390(0x1ec)][_0x49f390(0x53c)](_0x576146);return(_0x1e93b8=_0x349ced==null?void 0x0:_0x349ced[_0x49f390(0x2e9)])!=null?_0x1e93b8:0x7d0;}[_0x2a4c41(0x375)](){const _0x169ecd=_0x2a4c41;throw new Error(_0x169ecd(0x5b8));}['_clearScheduledTask'](){const _0x1f0195=_0x2a4c41;this[_0x1f0195(0x2a2)]!=null&&(clearTimeout(this[_0x1f0195(0x2a2)]),this[_0x1f0195(0x2a2)]=null);}[_0x2a4c41(0x4b8)](_0x43d09f){const _0x1a5d98=_0x2a4c41;return this[_0x1a5d98(0x52d)](),this[_0x1a5d98(0x1a2)][_0x1a5d98(0x2fd)](_0x147121,this['unitID'],this[_0x1a5d98(0x348)],null,this[_0x1a5d98(0x35d)],this[_0x1a5d98(0x5c2)],_0x43d09f);}};_0x5c8afb=_0x1dde43([_0x3d5e47(0x4,_0x42e035[_0x2a4c41(0x29d)](_0x42e035['Injector'])),_0x3d5e47(0x5,_0x42e035[_0x2a4c41(0x29d)](_0x1a2c53[_0x2a4c41(0x46f)])),_0x3d5e47(0x6,_0x42e035['Inject'](_0x119e5f['LocalCacheService'])),_0x3d5e47(0x7,_0x42e035[_0x2a4c41(0x29d)](_0x4c4596)),_0x3d5e47(0x8,_0x42e035[_0x2a4c41(0x5ae)]),_0x3d5e47(0x9,_0x42e035[_0x2a4c41(0x219)]),_0x3d5e47(0xa,_0x42e035['IConfigService']),_0x3d5e47(0xb,_0x1a2c53[_0x2a4c41(0x41f)]),_0x3d5e47(0xc,_0x42e035['IUniverInstanceService']),_0x3d5e47(0xd,_0x42e035[_0x2a4c41(0x598)])],_0x5c8afb);let _0x329e72=class extends _0x1a334d{constructor(_0x575290,_0x4e91b1,_0x550d99,_0x464f6c,_0x177ef1,_0x311c3e,_0x2ba107,_0x3c2299,_0x19e84d,_0x6bcf28,_0x3fa611){const _0x4080a6=_0x2a4c41;super(_0x575290,_0x4e91b1,_0x550d99,[],_0x464f6c,_0x3c2299,_0x3fa611,_0x311c3e,_0x2ba107),_0x3a0856(this,'status',_0x4080a6(0x2ca)),(this[_0x4080a6(0x1a2)]=_0x177ef1,this[_0x4080a6(0x1ae)]=_0x19e84d,this[_0x4080a6(0x421)]=_0x6bcf28);}[_0x2a4c41(0x3e4)](_0x4967d4){const _0x1ed63b=_0x2a4c41,_0x19e0cb=this[_0x1ed63b(0x1a2)][_0x1ed63b(0x2fd)](_0x126d11,this[_0x1ed63b(0x3a4)],this[_0x1ed63b(0x348)],this[_0x1ed63b(0x51d)],[_0x4967d4],this[_0x1ed63b(0x5c2)]);return _0x19e0cb[_0x1ed63b(0x275)](),_0x19e0cb;}[_0x2a4c41(0x30f)](_0x39e4bd){const _0x3a41f2=_0x2a4c41;if(this[_0x3a41f2(0x47e)](_0x39e4bd))return this['_injector'][_0x3a41f2(0x2fd)](_0x560a30,this[_0x3a41f2(0x3a4)],this[_0x3a41f2(0x348)],this[_0x3a41f2(0x51d)],[],null,[_0x39e4bd],this[_0x3a41f2(0x5c2)]);try{const _0x1ca956=this[_0x3a41f2(0x421)][_0x3a41f2(0x1a7)]([_0x39e4bd],[this[_0x3a41f2(0x51d)]],!0x1);if(_0x1a2c53[_0x3a41f2(0x546)](_0x1ca956)){const {c1Prime:_0x768905,c2Prime:_0x585cac}=_0x1ca956;this[_0x3a41f2(0x339)](_0x768905[0x0]),_0x585cac[0x0]['baseRev']=this[_0x3a41f2(0x293)]();const _0x45403c=this[_0x3a41f2(0x1a2)][_0x3a41f2(0x2fd)](_0x329e72,this[_0x3a41f2(0x3a4)],this[_0x3a41f2(0x348)],_0x585cac[0x0],this[_0x3a41f2(0x5c2)]);return _0x45403c[_0x3a41f2(0x275)](),_0x45403c;}return this['_onConflict'](!0x1);}catch(_0x4ce779){return this[_0x3a41f2(0x1ae)]['error'](_0x4ce779),this['_onConflict'](!0x1);}}[_0x2a4c41(0x548)](_0x12700c){const _0x122964=_0x2a4c41,_0x450a61=this[_0x122964(0x3d7)][_0x122964(0x234)](this[_0x122964(0x3a4)]);if(_0x12700c[_0x122964(0x488)]<_0x450a61-0x1)return this;if(this['_checkMissing'](_0x12700c))return this[_0x122964(0x1a2)][_0x122964(0x2fd)](_0x560a30,this['unitID'],this[_0x122964(0x348)],null,[],this[_0x122964(0x51d)],[],this[_0x122964(0x5c2)]);this[_0x122964(0x472)]();const _0x2f8592=this['_injector'][_0x122964(0x2fd)](_0x2b5b26,this[_0x122964(0x3a4)],this[_0x122964(0x348)],this[_0x122964(0x5c2)]);return _0x2f8592[_0x122964(0x275)](),_0x2f8592;}[_0x2a4c41(0x295)](_0x3718cc){const _0x55057b=_0x2a4c41;return this[_0x55057b(0x4b8)](!!(_0x3718cc!=null&&_0x3718cc[_0x55057b(0x423)]));}[_0x2a4c41(0x3c6)](){const _0x3f4377=_0x2a4c41;return this[_0x3f4377(0x1a2)][_0x3f4377(0x2fd)](_0x24bff7,this['unitID'],this[_0x3f4377(0x348)],this[_0x3f4377(0x51d)],[],this[_0x3f4377(0x5c2)]);}[_0x2a4c41(0x3e5)](){return this;}[_0x2a4c41(0x375)](){const _0x587b97=_0x2a4c41;this[_0x587b97(0x5c2)][_0x587b97(0x402)](this['_awaitingChangeset']);}[_0x2a4c41(0x4b8)](_0x5452a1){const _0x177273=_0x2a4c41;return this[_0x177273(0x1a2)]['createInstance'](_0x147121,this['unitID'],this[_0x177273(0x348)],this[_0x177273(0x51d)],[],this[_0x177273(0x5c2)],_0x5452a1);}};_0x329e72=_0x1dde43([_0x3d5e47(0x4,_0x42e035['Inject'](_0x42e035[_0x2a4c41(0x2bf)])),_0x3d5e47(0x5,_0x42e035['Inject'](_0x1a2c53[_0x2a4c41(0x46f)])),_0x3d5e47(0x6,_0x42e035[_0x2a4c41(0x29d)](_0x119e5f[_0x2a4c41(0x36c)])),_0x3d5e47(0x7,_0x42e035[_0x2a4c41(0x219)]),_0x3d5e47(0x8,_0x42e035[_0x2a4c41(0x5ae)]),_0x3d5e47(0x9,_0x1a2c53[_0x2a4c41(0x41f)]),_0x3d5e47(0xa,_0x42e035['IUndoRedoService'])],_0x329e72);let _0x126d11=class extends _0x1a334d{constructor(_0x265939,_0x66aefe,_0x45254b,_0x1ec147,_0x5050f9,_0x4d8d4e,_0x5ccaca,_0x1e40a8,_0x337ecc,_0x2c5825,_0x29a27a,_0x58658a){const _0x277706=_0x2a4c41;super(_0x265939,_0x66aefe,_0x45254b,_0x1ec147,_0x5050f9,_0x337ecc,_0x58658a,_0x5ccaca,_0x1e40a8),_0x3a0856(this,_0x277706(0x469),_0x277706(0x583)),(this[_0x277706(0x1a2)]=_0x4d8d4e,this['_logService']=_0x2c5825,this[_0x277706(0x421)]=_0x29a27a);}[_0x2a4c41(0x3e4)](_0x46376a){const _0x348e56=_0x2a4c41;return this[_0x348e56(0x35d)][_0x348e56(0x408)](_0x46376a),this;}[_0x2a4c41(0x30f)](_0x3c276a){const _0x4a3b63=_0x2a4c41;if(this['_checkMissing'](_0x3c276a))return this[_0x4a3b63(0x1a2)][_0x4a3b63(0x2fd)](_0x560a30,this['unitID'],this[_0x4a3b63(0x348)],this[_0x4a3b63(0x51d)],this[_0x4a3b63(0x35d)],null,[_0x3c276a],this[_0x4a3b63(0x5c2)]);try{const _0x40f25b=this[_0x4a3b63(0x421)][_0x4a3b63(0x1a7)]([_0x3c276a],[this[_0x4a3b63(0x51d)]],!0x1);if(_0x1a2c53[_0x4a3b63(0x546)](_0x40f25b)){const {c1Prime:_0x1cac5e,c2Prime:_0x53c641}=_0x40f25b,_0x28bb64=this[_0x4a3b63(0x421)][_0x4a3b63(0x211)](_0x1cac5e[0x0],this[_0x4a3b63(0x35d)]);if(_0x1a2c53[_0x4a3b63(0x24c)](_0x28bb64)){const {c1Prime:_0x4b2d12,m2Prime:_0x589a49}=_0x28bb64;return this[_0x4a3b63(0x339)](_0x4b2d12),_0x53c641[0x0][_0x4a3b63(0x25c)]=this['_getCurrentRevision'](),this['_injector']['createInstance'](_0x126d11,this[_0x4a3b63(0x3a4)],this[_0x4a3b63(0x348)],_0x53c641[0x0],_0x589a49,this[_0x4a3b63(0x5c2)]);}throw _0x28bb64['error'];}throw _0x40f25b[_0x4a3b63(0x432)];}catch(_0x40ab7a){return this[_0x4a3b63(0x1ae)][_0x4a3b63(0x432)](_0x40ab7a),this[_0x4a3b63(0x4b8)](!0x1);}}['onRemoteAck'](_0x544c68){const _0x2efe6f=_0x2a4c41;if(this[_0x2efe6f(0x47e)](_0x544c68))return this[_0x2efe6f(0x1a2)][_0x2efe6f(0x2fd)](_0x560a30,this['unitID'],this['type'],null,this[_0x2efe6f(0x35d)],this[_0x2efe6f(0x51d)],[],this['_handler']);this['_incrementRevisionNumber']();const _0x263add=this['_injector']['createInstance'](_0x5c8afb,this[_0x2efe6f(0x3a4)],this['type'],this[_0x2efe6f(0x35d)],this[_0x2efe6f(0x5c2)]);return _0x263add[_0x2efe6f(0x1b1)](),_0x263add[_0x2efe6f(0x275)](),_0x263add;}[_0x2a4c41(0x295)](_0x4e2a12){const _0x210400=_0x2a4c41;return this['_onConflict'](!!(_0x4e2a12!=null&&_0x4e2a12[_0x210400(0x423)]));}[_0x2a4c41(0x3c6)](){const _0x329b1d=_0x2a4c41;return this[_0x329b1d(0x1a2)][_0x329b1d(0x2fd)](_0x24bff7,this[_0x329b1d(0x3a4)],this['type'],this[_0x329b1d(0x51d)],this[_0x329b1d(0x35d)],this[_0x329b1d(0x5c2)]);}[_0x2a4c41(0x3e5)](){return this;}[_0x2a4c41(0x375)](){const _0x4116d1=_0x2a4c41;this['_handler'][_0x4116d1(0x402)](this['_awaitingChangeset']);}[_0x2a4c41(0x4b8)](_0x29bd26){const _0x48ed0c=_0x2a4c41;return this[_0x48ed0c(0x1a2)][_0x48ed0c(0x2fd)](_0x147121,this[_0x48ed0c(0x3a4)],this['type'],null,this[_0x48ed0c(0x35d)],this[_0x48ed0c(0x5c2)],_0x29bd26);}};_0x126d11=_0x1dde43([_0x3d5e47(0x5,_0x42e035[_0x2a4c41(0x29d)](_0x42e035[_0x2a4c41(0x2bf)])),_0x3d5e47(0x6,_0x42e035['Inject'](_0x1a2c53[_0x2a4c41(0x46f)])),_0x3d5e47(0x7,_0x42e035[_0x2a4c41(0x29d)](_0x119e5f[_0x2a4c41(0x36c)])),_0x3d5e47(0x8,_0x42e035['ICommandService']),_0x3d5e47(0x9,_0x42e035['ILogService']),_0x3d5e47(0xa,_0x1a2c53[_0x2a4c41(0x41f)]),_0x3d5e47(0xb,_0x42e035[_0x2a4c41(0x598)])],_0x126d11);let _0x147121=class extends _0x1a334d{constructor(_0x553bdc,_0x5d7581,_0x5f3cf9,_0x4ad905,_0x3579af,_0x2d687c=!0x1,_0x483152,_0x54c4eb,_0x1bf7fd,_0x27cebd,_0x3f1565,_0x39ab66,_0xa43eff){const _0x3e4071=_0x2a4c41;super(_0x553bdc,_0x5d7581,_0x5f3cf9,_0x4ad905,_0x3579af,_0x54c4eb,_0x1bf7fd,_0x3f1565,_0x27cebd),_0x3a0856(this,'status','conflict'),(this['_isPermissionRej']=_0x2d687c,this[_0x3e4071(0x411)]=_0x483152,this['_localeService']=_0x39ab66,this['_notificationService']=_0xa43eff,this[_0x3e4071(0x2ba)](),this[_0x3e4071(0x4df)](),this[_0x3e4071(0x30b)]());}[_0x2a4c41(0x3e4)](){return this;}['onRemoteChangeset'](){return this;}[_0x2a4c41(0x548)](){return this;}[_0x2a4c41(0x295)](){return this;}[_0x2a4c41(0x3c6)](){return this;}[_0x2a4c41(0x3e5)](){return this;}[_0x2a4c41(0x375)](){throw new Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}['_clearLocalCache'](){const _0x1fe275=_0x2a4c41;this[_0x1fe275(0x52f)][_0x1fe275(0x265)](this[_0x1fe275(0x3a4)],this[_0x1fe275(0x348)],null,[]);}[_0x2a4c41(0x2ba)](){const _0x569569=_0x2a4c41;this[_0x569569(0x467)]?this[_0x569569(0x27b)][_0x569569(0x451)]({'title':this[_0x569569(0x2b1)]['t'](_0x569569(0x2cd)),'content':this[_0x569569(0x2b1)]['t']('permission.content'),'type':'error','duration':0x0}):this[_0x569569(0x27b)][_0x569569(0x451)]({'title':this[_0x569569(0x2b1)]['t']('conflict.title'),'content':this[_0x569569(0x2b1)]['t']('conflict.content'),'type':_0x569569(0x432),'duration':0x0});}[_0x2a4c41(0x30b)](){const _0x102760=_0x2a4c41;this[_0x102760(0x411)][_0x102760(0x524)](new _0x2d44ec[(_0x102760(0x2bb))](this[_0x102760(0x3a4)])['id'],!0x1);}};_0x147121=_0x1dde43([_0x3d5e47(0x6,_0x42e035['Inject'](_0x42e035[_0x2a4c41(0x378)])),_0x3d5e47(0x7,_0x42e035['ICommandService']),_0x3d5e47(0x8,_0x42e035['IUndoRedoService']),_0x3d5e47(0x9,_0x42e035[_0x2a4c41(0x29d)](_0x119e5f[_0x2a4c41(0x36c)])),_0x3d5e47(0xa,_0x42e035['Inject'](_0x1a2c53[_0x2a4c41(0x46f)])),_0x3d5e47(0xb,_0x42e035['Inject'](_0x42e035[_0x2a4c41(0x39c)])),_0x3d5e47(0xc,_0x576301[_0x2a4c41(0x24e)])],_0x147121);let _0x24bff7=class extends _0x1a334d{constructor(_0x24cc28,_0x10f7b2,_0x3e75c4,_0x9c35f8,_0x2be510,_0x42942f,_0x3b341f,_0x433c3d,_0x8fc3a,_0x3f223d){const _0x56c3bc=_0x2a4c41;super(_0x24cc28,_0x10f7b2,_0x3e75c4,_0x9c35f8,_0x2be510,_0x8fc3a,_0x3f223d,_0x3b341f,_0x433c3d),_0x3a0856(this,'status','offline'),this[_0x56c3bc(0x1a2)]=_0x42942f;}['appendMutation'](_0x307d10){const _0x266a9a=_0x2a4c41;return this[_0x266a9a(0x35d)][_0x266a9a(0x408)](_0x307d10),this[_0x266a9a(0x275)](),this;}['onRemoteChangeset'](_0x31d3f3){const _0x7a36b=_0x2a4c41;throw new Error(_0x7a36b(0x35c));}[_0x2a4c41(0x548)](){const _0x5942f3=_0x2a4c41;throw new Error(_0x5942f3(0x25e));}[_0x2a4c41(0x295)](){const _0xf85dc7=_0x2a4c41;throw new Error(_0xf85dc7(0x54c));}[_0x2a4c41(0x3c6)](){return this;}[_0x2a4c41(0x3e5)](){const _0x225a2c=_0x2a4c41,{_injector:_0x4e0e06,_pendingMutations:_0x50c084,_awaitingChangeset:_0x8307fd,unitID:_0x392c3e,_handler:_0x138c19,type:_0x5e337f}=this,_0x5bb0be=_0x26c498(_0x4e0e06,_0x392c3e,_0x5e337f,_0x8307fd,_0x50c084,_0x138c19);return _0x5bb0be instanceof _0x5c8afb?_0x5bb0be[_0x225a2c(0x1b1)]():(_0x5bb0be instanceof _0x126d11||_0x5bb0be instanceof _0x329e72)&&_0x5bb0be[_0x225a2c(0x375)](),_0x5bb0be;}[_0x2a4c41(0x375)](){const _0x150ef2=_0x2a4c41;throw new Error(_0x150ef2(0x264));}};_0x24bff7=_0x1dde43([_0x3d5e47(0x5,_0x42e035['Inject'](_0x42e035[_0x2a4c41(0x2bf)])),_0x3d5e47(0x6,_0x42e035[_0x2a4c41(0x29d)](_0x1a2c53['RevisionService'])),_0x3d5e47(0x7,_0x42e035[_0x2a4c41(0x29d)](_0x119e5f[_0x2a4c41(0x36c)])),_0x3d5e47(0x8,_0x42e035[_0x2a4c41(0x219)]),_0x3d5e47(0x9,_0x42e035[_0x2a4c41(0x598)])],_0x24bff7);let _0x560a30=class extends _0x1a334d{constructor(_0x5ec02c,_0x24ac24,_0x106c8c,_0x21a469,_0x4da084,_0x2f103e,_0x52a010,_0x115861,_0x5eb312,_0x16cd3d,_0x39cb7f,_0x5bac35,_0x5a0676,_0x2b89b2){const _0x5d5c72=_0x2a4c41;super(_0x5ec02c,_0x24ac24,_0x106c8c,_0x21a469,_0x52a010,_0x5bac35,_0x5a0676,_0x5eb312,_0x16cd3d),_0x3a0856(this,_0x5d5c72(0x469),_0x5d5c72(0x206)),(this['_acknowledgedAwaitingChangeset']=_0x4da084,this[_0x5d5c72(0x26c)]=_0x2f103e,this[_0x5d5c72(0x1a2)]=_0x115861,this[_0x5d5c72(0x1ae)]=_0x39cb7f,this['_transformService']=_0x2b89b2);}['onMissedChangesetFetched'](_0x46dd65){const _0x1bf439=_0x2a4c41;try{const _0x3c2083=[..._0x46dd65,...this['_queuedRemoteChangesets']],_0x22147d=[this[_0x1bf439(0x51d)]||this[_0x1bf439(0x47c)]][_0x1bf439(0x45c)](_0x4d3dc0=>!!_0x4d3dc0);let _0xd900b0,_0xd31c90;if(_0x22147d[_0x1bf439(0x250)]){const _0x497f3c=this[_0x1bf439(0x421)][_0x1bf439(0x1a7)](_0x3c2083,_0x22147d,!0x1);if(!_0x1a2c53[_0x1bf439(0x546)](_0x497f3c))throw _0x497f3c[_0x1bf439(0x432)];_0xd900b0=_0x497f3c[_0x1bf439(0x1b3)],_0xd31c90=_0x497f3c['c2Prime'];}else _0xd900b0=_0x3c2083,_0xd31c90=[];let _0x1ea5e8=this[_0x1bf439(0x35d)];_0xd900b0[_0x1bf439(0x3f5)](_0x1489da=>{const _0x32d184=_0x1bf439;let _0x159ba2;if(_0x1ea5e8[_0x32d184(0x250)]){const _0x3f02a7=this[_0x32d184(0x421)][_0x32d184(0x211)](_0x1489da,_0x1ea5e8);if(!_0x1a2c53[_0x32d184(0x24c)](_0x3f02a7))throw _0x3f02a7[_0x32d184(0x432)];_0x159ba2=_0x3f02a7[_0x32d184(0x1b3)],_0x1ea5e8=_0x3f02a7[_0x32d184(0x492)];}else _0x159ba2=_0x1489da;this[_0x32d184(0x339)](_0x159ba2);}),this['_acknowledgedAwaitingChangeset']&&this[_0x1bf439(0x472)](),this[_0x1bf439(0x51d)]&&_0xd31c90[_0x1bf439(0x250)]&&(_0xd31c90[0x0][_0x1bf439(0x25c)]=this[_0x1bf439(0x293)]());let _0x29d0e0;if(this[_0x1bf439(0x51d)]&&_0x1ea5e8[_0x1bf439(0x250)]!==0x0)_0x29d0e0=this[_0x1bf439(0x1a2)][_0x1bf439(0x2fd)](_0x126d11,this[_0x1bf439(0x3a4)],this['type'],_0xd31c90[0x0],_0x1ea5e8,this[_0x1bf439(0x5c2)]);else{if(this[_0x1bf439(0x51d)]&&_0x1ea5e8[_0x1bf439(0x250)]===0x0)_0xd31c90[0x0][_0x1bf439(0x25c)]=this[_0x1bf439(0x293)](),_0x29d0e0=this[_0x1bf439(0x1a2)][_0x1bf439(0x2fd)](_0x329e72,this[_0x1bf439(0x3a4)],this[_0x1bf439(0x348)],_0xd31c90[0x0],this['_handler']);else{if(_0x1ea5e8[_0x1bf439(0x250)]!==0x0){const _0x5a6bd7=this[_0x1bf439(0x1a2)][_0x1bf439(0x2fd)](_0x5c8afb,this[_0x1bf439(0x3a4)],this['type'],_0x1ea5e8,this[_0x1bf439(0x5c2)]);_0x5a6bd7[_0x1bf439(0x1b1)](),_0x29d0e0=_0x5a6bd7;}else _0x29d0e0=this[_0x1bf439(0x1a2)][_0x1bf439(0x2fd)](_0x2b5b26,this['unitID'],this[_0x1bf439(0x348)],this[_0x1bf439(0x5c2)]);}}return _0x29d0e0[_0x1bf439(0x275)](),_0x29d0e0;}catch(_0x393717){return this[_0x1bf439(0x1ae)][_0x1bf439(0x432)](_0x1bf439(0x3cf),'failed\x20to\x20apply\x20missed\x20changesets!',_0x393717),this[_0x1bf439(0x1a2)][_0x1bf439(0x2fd)](_0x147121,this[_0x1bf439(0x3a4)],this[_0x1bf439(0x348)],this[_0x1bf439(0x51d)],this[_0x1bf439(0x35d)],this[_0x1bf439(0x5c2)],!0x1);}}[_0x2a4c41(0x375)](){const _0x1e9195=_0x2a4c41;throw new Error(_0x1e9195(0x3e2));}[_0x2a4c41(0x3e4)](_0x4b5eb8){const _0x268fba=_0x2a4c41;return this[_0x268fba(0x35d)]['push'](_0x4b5eb8),this;}[_0x2a4c41(0x30f)](_0x4c1219){const _0x14d08a=_0x2a4c41;return this[_0x14d08a(0x26c)][_0x14d08a(0x408)](_0x4c1219),this;}[_0x2a4c41(0x548)](_0x2ef4f5){const _0x58555c=_0x2a4c41;if(this['_awaitingChangeset'])return this[_0x58555c(0x47c)]=this[_0x58555c(0x51d)],this[_0x58555c(0x51d)]=null,this;throw new Error(_0x58555c(0x59b));}[_0x2a4c41(0x295)](_0x1a7aa6){const _0x3abba4=_0x2a4c41;return this[_0x3abba4(0x4b8)](!!(_0x1a7aa6!=null&&_0x1a7aa6[_0x3abba4(0x423)]));}[_0x2a4c41(0x3c6)](){const _0x1600c9=_0x2a4c41;return this['_injector'][_0x1600c9(0x2fd)](_0x24bff7,this[_0x1600c9(0x3a4)],this['type'],this[_0x1600c9(0x51d)],this['_pendingMutations'],this['_handler']);}[_0x2a4c41(0x3e5)](){return this;}[_0x2a4c41(0x4b8)](_0x140a9a){const _0x2e83b3=_0x2a4c41;return this['_injector'][_0x2e83b3(0x2fd)](_0x147121,this[_0x2e83b3(0x3a4)],this['type'],this[_0x2e83b3(0x51d)],this[_0x2e83b3(0x35d)],this['_handler'],_0x140a9a);}};_0x560a30=_0x1dde43([_0x3d5e47(0x7,_0x42e035[_0x2a4c41(0x29d)](_0x42e035['Injector'])),_0x3d5e47(0x8,_0x42e035[_0x2a4c41(0x29d)](_0x1a2c53[_0x2a4c41(0x46f)])),_0x3d5e47(0x9,_0x42e035['Inject'](_0x119e5f[_0x2a4c41(0x36c)])),_0x3d5e47(0xa,_0x42e035['ILogService']),_0x3d5e47(0xb,_0x42e035[_0x2a4c41(0x219)]),_0x3d5e47(0xc,_0x42e035[_0x2a4c41(0x598)]),_0x3d5e47(0xd,_0x1a2c53[_0x2a4c41(0x41f)])],_0x560a30);function _0x26c498(_0x52dd39,_0x521e63,_0x2dd9d2,_0x137c1f,_0x474097,_0x157b68){const _0x4d94a5=_0x2a4c41;return _0x137c1f&&_0x474097[_0x4d94a5(0x250)]?_0x52dd39[_0x4d94a5(0x2fd)](_0x126d11,_0x521e63,_0x2dd9d2,_0x137c1f,_0x474097,_0x157b68):_0x137c1f?_0x52dd39[_0x4d94a5(0x2fd)](_0x329e72,_0x521e63,_0x2dd9d2,_0x137c1f,_0x157b68):_0x474097[_0x4d94a5(0x250)]?_0x52dd39[_0x4d94a5(0x2fd)](_0x5c8afb,_0x521e63,_0x2dd9d2,_0x474097,_0x157b68):_0x52dd39[_0x4d94a5(0x2fd)](_0x2b5b26,_0x521e63,_0x2dd9d2,_0x157b68);}var _0x3777c5=Object['defineProperty'],_0x117d1e=Object[_0x2a4c41(0x317)],_0x2de724=(_0x22b1c9,_0x4b2e5e,_0x30b9b7,_0x481b11)=>{const _0x35ab67=_0x2a4c41;for(var _0x4ff375=_0x481b11>0x1?void 0x0:_0x481b11?_0x117d1e(_0x4b2e5e,_0x30b9b7):_0x4b2e5e,_0x375770=_0x22b1c9[_0x35ab67(0x250)]-0x1,_0x2d4552;_0x375770>=0x0;_0x375770--)(_0x2d4552=_0x22b1c9[_0x375770])&&(_0x4ff375=(_0x481b11?_0x2d4552(_0x4b2e5e,_0x30b9b7,_0x4ff375):_0x2d4552(_0x4ff375))||_0x4ff375);return _0x481b11&&_0x4ff375&&_0x3777c5(_0x4b2e5e,_0x30b9b7,_0x4ff375),_0x4ff375;},_0x5782a4=(_0x5f3667,_0x2939c4)=>(_0x3ad7e7,_0x514548)=>_0x2939c4(_0x3ad7e7,_0x514548,_0x5f3667);_0x119e5f[_0x2a4c41(0x1d0)]=class extends _0x42e035[_0x2a4c41(0x43e)]{constructor(_0x2f7d26,_0x40779c,_0x186010,_0x55ef94,_0x2f574a,_0x26dbd3,_0x40d5c3,_0xed47d8,_0x36e453,_0x32bd1c,_0x141266,_0x129c34,_0x243d08){const _0xb82a0a=_0x2a4c41;super(),_0x3a0856(this,_0xb82a0a(0x32a),new _0x40c8d9[(_0xb82a0a(0x54d))](null)),_0x3a0856(this,_0xb82a0a(0x2df),this[_0xb82a0a(0x32a)][_0xb82a0a(0x2dd)]()),_0x3a0856(this,_0xb82a0a(0x4fe)),_0x3a0856(this,_0xb82a0a(0x255),!0x1),_0x3a0856(this,_0xb82a0a(0x50b),this[_0xb82a0a(0x2df)][_0xb82a0a(0x4b4)](_0x40c8d9[_0xb82a0a(0x3bc)](_0x43a991=>_0x43a991?_0x43a991[_0xb82a0a(0x469)]:_0x115871['OFFLINE']),_0x40c8d9[_0xb82a0a(0x1e7)](0x1))),_0x3a0856(this,'_transitionLocked',!0x1),_0x3a0856(this,_0xb82a0a(0x397),[]),(this[_0xb82a0a(0x3a4)]=_0x2f7d26,this['session']=_0x40779c,this['_type']=_0x186010,this[_0xb82a0a(0x1a2)]=_0x55ef94,this['_localCacheService']=_0x2f574a,this['_compressMutationService']=_0x26dbd3,this[_0xb82a0a(0x2b1)]=_0x40d5c3,this['_revisionService']=_0xed47d8,this[_0xb82a0a(0x1ae)]=_0x36e453,this[_0xb82a0a(0x369)]=_0x32bd1c,this['_messageService']=_0x141266,this['_permissionService']=_0x129c34,this[_0xb82a0a(0x27f)]=_0x243d08);}get[_0x2a4c41(0x2ec)](){const _0x23ba7e=_0x2a4c41;return this[_0x23ba7e(0x4fe)];}async[_0x2a4c41(0x223)](){const _0x3eb433=_0x2a4c41;if(this[_0x3eb433(0x2ec)])throw new Error(_0x3eb433(0x4ad));await this['_init']();}[_0x2a4c41(0x256)](){const _0x239cde=_0x2a4c41;return this[_0x239cde(0x255)]=!0x0,_0x42e035['toDisposable'](()=>{const _0xcfd924=_0x239cde;this[_0xcfd924(0x255)]=!0x1,this[_0xcfd924(0x533)]();});}[_0x2a4c41(0x313)](_0xe7fb48){const _0xe00b9e=_0x2a4c41;this['_state']=_0xe7fb48,this['_state$'][_0xe00b9e(0x380)](_0xe7fb48);}async[_0x2a4c41(0x40a)](){const _0x202c30=_0x2a4c41;var _0x29c12f;this[_0x202c30(0x313)](await this[_0x202c30(0x1fb)]()),this['_singleActiveUnitService']&&((_0x29c12f=this['_singleActiveUnitService'])==null||_0x29c12f[_0x202c30(0x2c0)](this[_0x202c30(0x3a4)]),this[_0x202c30(0x594)](this[_0x202c30(0x27f)][_0x202c30(0x2ef)](this[_0x202c30(0x3a4)])['subscribe'](_0x2c38b4=>{const _0x56c1ad=_0x202c30;this[_0x56c1ad(0x1ae)][_0x56c1ad(0x4b7)](_0x56c1ad(0x1c2),'editing\x20status\x20changed\x20to',_0x2c38b4),_0x2c38b4===_0xe4fb0e[_0x56c1ad(0x3fe)]?(this[_0x56c1ad(0x319)][_0x56c1ad(0x451)]({'content':this[_0x56c1ad(0x2b1)]['t'](_0x56c1ad(0x3aa)),'type':_0x25691d[_0x56c1ad(0x2ee)][_0x56c1ad(0x496)]}),this['_permissionService'][_0x56c1ad(0x524)](new _0x2d44ec[(_0x56c1ad(0x2bb))](this['unitID'])['id'],!0x1)):this[_0x56c1ad(0x411)][_0x56c1ad(0x524)](new _0x2d44ec['WorkbookEditablePermission'](this[_0x56c1ad(0x3a4)])['id'],!0x0);})));let _0x577324=!0x1;return this[_0x202c30(0x594)](this[_0x202c30(0x4b1)]['sessionStatus$'][_0x202c30(0x543)](_0x2fbcb5=>{const _0x3b92ed=_0x202c30;_0x2fbcb5===_0x4246bc[_0x3b92ed(0x424)]?this['_toggleOnline'](_0x577324):_0x2fbcb5===_0x4246bc[_0x3b92ed(0x31c)]&&(_0x577324=!0x0,this['_toggleOffline']());})),this[_0x202c30(0x594)](this[_0x202c30(0x4b1)]['event$'][_0x202c30(0x543)](_0x4be48a=>{const _0x41e232=_0x202c30;try{switch(_0x4be48a[_0x41e232(0x36d)]){case _0x1a2c53[_0x41e232(0x292)]['NEW_CHANGESETS']:{this['_onRemoteChangeset'](_0x1a2c53[_0x41e232(0x384)](_0x4be48a[_0x41e232(0x5c8)]));break;}case _0x1a2c53[_0x41e232(0x292)]['CHANGESET_ACK']:{this['_onRemoteACK'](_0x4be48a['data']);break;}case _0x1a2c53[_0x41e232(0x292)][_0x41e232(0x1b9)]:{this['_onRemoteRejected']();break;}case _0x1a2c53[_0x41e232(0x292)][_0x41e232(0x57f)]:{this['_onFetchMissResult'](_0x4be48a[_0x41e232(0x5c8)][_0x41e232(0x2e0)]['map'](_0x3e75d3=>_0x1a2c53['parseProtocolChangeset'](_0x3e75d3)));break;}case _0x1a2c53[_0x41e232(0x292)]['PERMISSION_REJ']:this[_0x41e232(0x33e)]({'isPermissionRej':!0x0});}}catch(_0x3261b6){throw console[_0x41e232(0x432)](_0x41e232(0x4fa),_0x3261b6),_0x3261b6;}})),this[_0x202c30(0x4fe)];}['_unlockTransition'](){const _0x3a2d29=_0x2a4c41;this[_0x3a2d29(0x5b5)]=!0x1;}[_0x2a4c41(0x427)](){const _0x21aa5e=_0x2a4c41;if(this[_0x21aa5e(0x5b5)])throw new Error(_0x21aa5e(0x1e1));this[_0x21aa5e(0x5b5)]=!0x0;}[_0x2a4c41(0x4e1)](_0x531d12){const _0x583a77=_0x2a4c41;this['_lockTransition'](),this[_0x583a77(0x313)](this['_state']['appendMutation'](_0x531d12)),this[_0x583a77(0x34b)]();}[_0x2a4c41(0x4f0)](_0xbf4848){const _0xee4c86=_0x2a4c41;if(!(_0xbf4848['revision']<=this[_0xee4c86(0x3d7)]['getCurrentRevOfUnit'](this[_0xee4c86(0x3a4)]))){if(this[_0xee4c86(0x255)]){this[_0xee4c86(0x397)][_0xee4c86(0x408)](_0xbf4848);return;}this[_0xee4c86(0x2d9)](_0xbf4848);}}[_0x2a4c41(0x533)](){const _0x20fb4c=_0x2a4c41;this[_0x20fb4c(0x397)]['forEach'](_0x2a8cf8=>this[_0x20fb4c(0x2d9)](_0x2a8cf8)),this['_remoteChangesetQueue']=[];}[_0x2a4c41(0x2d9)](_0x13a236){const _0x25dea4=_0x2a4c41,_0x16d330=this['_compressMutationService']['interceptor']['fetchThroughInterceptors'](this[_0x25dea4(0x252)][_0x25dea4(0x35e)][_0x25dea4(0x356)]()[_0x25dea4(0x1a1)])(_0x13a236[_0x25dea4(0x23d)],null)||_0x13a236['mutations'],_0x1916ed={..._0x13a236,'mutations':_0x16d330};this[_0x25dea4(0x427)](),this[_0x25dea4(0x313)](this[_0x25dea4(0x4fe)][_0x25dea4(0x30f)](_0x1916ed)),this['_unlockTransition']();}[_0x2a4c41(0x41a)](_0x2104da){const _0x5a2e20=_0x2a4c41;this[_0x5a2e20(0x427)](),this[_0x5a2e20(0x313)](this[_0x5a2e20(0x4fe)][_0x5a2e20(0x548)](_0x2104da)),this[_0x5a2e20(0x34b)]();}[_0x2a4c41(0x33e)](_0x262df5){const _0x2d8f33=_0x2a4c41;this[_0x2d8f33(0x427)](),this[_0x2d8f33(0x313)](this['_state']['onRemoteRej'](_0x262df5)),this['_unlockTransition']();}['_onFetchMissResult'](_0x1f67d3){const _0x18b4b7=_0x2a4c41;if(!(this[_0x18b4b7(0x4fe)]instanceof _0x560a30))throw new TypeError(_0x18b4b7(0x559));const _0x1083ed=_0x1f67d3[_0x18b4b7(0x3bc)](_0x1d8539=>{const _0x424d90=_0x18b4b7,_0xd5e8fb=this['_compressMutationService']['interceptor'][_0x424d90(0x4cf)](this[_0x424d90(0x252)][_0x424d90(0x35e)][_0x424d90(0x356)]()[_0x424d90(0x1a1)])(_0x1d8539[_0x424d90(0x23d)],null)||_0x1d8539[_0x424d90(0x23d)];return{..._0x1d8539,'mutations':_0xd5e8fb};});this[_0x18b4b7(0x427)](),this['_updateState'](this[_0x18b4b7(0x4fe)][_0x18b4b7(0x58f)](_0x1083ed)),this[_0x18b4b7(0x34b)]();}[_0x2a4c41(0x4ef)](){const _0x397b39=_0x2a4c41;this[_0x397b39(0x427)](),this['_updateState'](this[_0x397b39(0x4fe)][_0x397b39(0x3c6)]()),this[_0x397b39(0x34b)]();}[_0x2a4c41(0x54a)](_0xb5ba1c=!0x1){const _0x850965=_0x2a4c41;this[_0x850965(0x427)](),this[_0x850965(0x313)](this['_state'][_0x850965(0x3e5)]()),this[_0x850965(0x34b)]();const _0x4c30b4=this[_0x850965(0x4fe)];_0xb5ba1c&&_0x4c30b4 instanceof _0x2b5b26&&(this[_0x850965(0x427)](),this[_0x850965(0x313)](_0x4c30b4[_0x850965(0x5af)]()),this[_0x850965(0x34b)]());}async['_createInitialState'](){return new Promise(_0x5d7d2e=>{const _0x4a5482=_0x5025;this[_0x4a5482(0x4b1)]['sessionStatus$'][_0x4a5482(0x4b4)](_0x40c8d9[_0x4a5482(0x35b)](0x1))[_0x4a5482(0x543)](async _0x43320a=>{const _0x1d9ef5=_0x4a5482;_0x5d7d2e(await this[_0x1d9ef5(0x2b8)](_0x43320a===_0x4246bc[_0x1d9ef5(0x424)]));});});}[_0x2a4c41(0x2f2)](){const _0x4fd619=_0x2a4c41,_0xae393f=this[_0x4fd619(0x3a4)];return{'onStateChange':(_0x4e8b81,_0x491d1a)=>{const _0x254c5a=_0x4fd619;if(_0x4e8b81!==this[_0x254c5a(0x4fe)])throw new Error(_0x254c5a(0x53d)+_0x4e8b81[_0x254c5a(0x469)]+_0x254c5a(0x500)+_0x491d1a['status']+'\x0aCurrent:\x20'+this['_state'][_0x254c5a(0x469)]);this[_0x254c5a(0x313)](_0x491d1a);},'onSendChangeset':_0x165b50=>{const _0x3a4ccb=_0x4fd619,_0x41e4a2={'eventID':_0x1a2c53['CollaborationEvent']['SUBMIT_CHANGESET'],'data':{'unitID':_0x165b50['unitID'],'unitType':this['_type'],'changeset':_0x165b50,'memberID':this[_0x3a4ccb(0x4b1)]['getMemberID']()}};this[_0x3a4ccb(0x4b1)][_0x3a4ccb(0x212)](_0x41e4a2,this[_0x3a4ccb(0x3a4)]);},'onMissingChangesets':({from:_0x4393e5,to:_0x358d92})=>{const _0x15fdcb=_0x4fd619;this[_0x15fdcb(0x1ae)][_0x15fdcb(0x4b7)]('[CollaborationEntity]',_0x15fdcb(0x3dc)+_0x4393e5+_0x15fdcb(0x32f)+_0x358d92);const _0x420cfd={'eventID':_0x1a2c53[_0x15fdcb(0x292)][_0x15fdcb(0x238)],'data':{'unitID':_0xae393f,'unitType':this[_0x15fdcb(0x257)],'from':_0x4393e5,'to':_0x358d92}};this[_0x15fdcb(0x4b1)][_0x15fdcb(0x212)](_0x420cfd,this[_0x15fdcb(0x3a4)]);}};}async[_0x2a4c41(0x2b8)](_0x46dc52){const _0x5551b3=_0x2a4c41;var _0x56d0e3,_0x36cc62;const _0x41addc=await this[_0x5551b3(0x52f)][_0x5551b3(0x365)](this[_0x5551b3(0x3a4)]),_0x577666=(_0x56d0e3=_0x41addc==null?void 0x0:_0x41addc[_0x5551b3(0x23d)])!=null?_0x56d0e3:[],_0x3f2a61=(_0x36cc62=_0x41addc==null?void 0x0:_0x41addc['awaitingChangeset'])!=null?_0x36cc62:null,_0x69b5e8=this[_0x5551b3(0x3a4)];try{this['_replayCachedMutations'](_0x3f2a61,_0x577666);}catch(_0x4a8ce7){this[_0x5551b3(0x1ae)]['error'](_0x4a8ce7);}const _0x4f4b39=this[_0x5551b3(0x2f2)]();if(_0x46dc52){const _0x491b92=_0x26c498(this[_0x5551b3(0x1a2)],_0x69b5e8,this[_0x5551b3(0x257)],_0x3f2a61,_0x577666,_0x4f4b39);return _0x491b92 instanceof _0x5c8afb?_0x491b92[_0x5551b3(0x1b1)]():(_0x491b92 instanceof _0x126d11||_0x491b92 instanceof _0x329e72)&&_0x491b92['resend'](),_0x491b92;}return this[_0x5551b3(0x1a2)]['createInstance'](_0x24bff7,_0x69b5e8,this[_0x5551b3(0x257)],_0x3f2a61,_0x577666,_0x4f4b39);}[_0x2a4c41(0x4da)](_0x4548e3,_0x2064ed){const _0x4d2ec1=_0x2a4c41;var _0x40ce39,_0xa0fc1b;const _0x1d41c4=this[_0x4d2ec1(0x252)][_0x4d2ec1(0x35e)][_0x4d2ec1(0x4cf)](this[_0x4d2ec1(0x252)][_0x4d2ec1(0x35e)][_0x4d2ec1(0x356)]()['COMPRESS_MUTATION_APPLY']);(_0x40ce39=_0x1d41c4((_0x4548e3==null?void 0x0:_0x4548e3[_0x4d2ec1(0x23d)])||[],null))==null||_0x40ce39['forEach'](_0x3d40be=>this[_0x4d2ec1(0x369)][_0x4d2ec1(0x3e0)](_0x3d40be['id'],_0x3d40be[_0x4d2ec1(0x44a)])),(_0xa0fc1b=_0x1d41c4(_0x2064ed||[],null))==null||_0xa0fc1b[_0x4d2ec1(0x3f5)](_0x352f77=>this[_0x4d2ec1(0x369)][_0x4d2ec1(0x3e0)](_0x352f77['id'],_0x352f77[_0x4d2ec1(0x44a)]));}},_0x119e5f['CollaborationEntity']=_0x2de724([_0x5782a4(0x3,_0x42e035[_0x2a4c41(0x29d)](_0x42e035[_0x2a4c41(0x2bf)])),_0x5782a4(0x4,_0x42e035[_0x2a4c41(0x29d)](_0x119e5f[_0x2a4c41(0x36c)])),_0x5782a4(0x5,_0x42e035[_0x2a4c41(0x29d)](_0x1a2c53[_0x2a4c41(0x43c)])),_0x5782a4(0x6,_0x42e035[_0x2a4c41(0x29d)](_0x42e035['LocaleService'])),_0x5782a4(0x7,_0x42e035[_0x2a4c41(0x29d)](_0x1a2c53[_0x2a4c41(0x46f)])),_0x5782a4(0x8,_0x42e035[_0x2a4c41(0x5ae)]),_0x5782a4(0x9,_0x42e035[_0x2a4c41(0x219)]),_0x5782a4(0xa,_0x576301[_0x2a4c41(0x214)]),_0x5782a4(0xb,_0x42e035[_0x2a4c41(0x378)]),_0x5782a4(0xc,_0x42e035[_0x2a4c41(0x569)](_0x506d1b))],_0x119e5f[_0x2a4c41(0x1d0)]),_0x119e5f[_0x2a4c41(0x4a1)]=class extends _0x119e5f[_0x2a4c41(0x1d0)]{constructor(_0x54f413,_0x201198,_0x3429cf,_0x37a032,_0x580605,_0x3d7f0d,_0x22b72c,_0x8947eb,_0x493a09,_0x452880,_0x139964,_0x5e433d,_0x259fcb,_0x32bf0a,_0x30129a,_0x4ab6d0,_0x10ddcc){const _0x3eb499=_0x2a4c41;super(_0x54f413,_0x3429cf,_0x201198,_0x37a032,_0x580605,_0x3d7f0d,_0x22b72c,_0x8947eb,_0x259fcb,_0x32bf0a,_0x30129a,_0x4ab6d0,_0x10ddcc),this[_0x3eb499(0x3a4)]=_0x54f413,this[_0x3eb499(0x348)]=_0x201198,this[_0x3eb499(0x37d)]=_0x493a09,this[_0x3eb499(0x5c4)]=_0x452880,this[_0x3eb499(0x286)]=_0x139964,this['_docSyncEditingCollabCursorService']=_0x5e433d;}[_0x2a4c41(0x2f2)](){const _0x1d3b38=_0x2a4c41,_0x42b19d=super[_0x1d3b38(0x2f2)]();return _0x42b19d[_0x1d3b38(0x2a6)]=_0x4e9e56=>this[_0x1d3b38(0x5c4)][_0x1d3b38(0x3eb)](_0x4e9e56),_0x42b19d[_0x1d3b38(0x5aa)]=_0x4c6082=>this[_0x1d3b38(0x286)]['transformSelections'](_0x4c6082),_0x42b19d[_0x1d3b38(0x4ca)]=_0x1db9ed=>this[_0x1d3b38(0x1bf)][_0x1d3b38(0x262)](_0x1db9ed),_0x42b19d[_0x1d3b38(0x395)]=_0x28668a=>this[_0x1d3b38(0x5c4)]['transformRemoteChangeset'](_0x28668a),_0x42b19d;}async[_0x2a4c41(0x40a)](){const _0x427922=_0x2a4c41,_0x4d6a61=await super[_0x427922(0x40a)]();return this[_0x427922(0x594)](this['_commandService']['onCommandExecuted']((_0x2a86aa,_0x3f814e)=>{const _0x49c6cc=_0x427922;if(_0x2a86aa[_0x49c6cc(0x348)]!==_0x42e035[_0x49c6cc(0x302)][_0x49c6cc(0x55e)]||_0x3f814e!=null&&_0x3f814e[_0x49c6cc(0x597)]||_0x3f814e!=null&&_0x3f814e[_0x49c6cc(0x344)])return;const _0x47e8d0=_0x2a86aa['params'];if((_0x47e8d0==null?void 0x0:_0x47e8d0[_0x49c6cc(0x222)])!==this[_0x49c6cc(0x3a4)])return;let _0x27bb1b=_0x2a86aa;if(_0x27bb1b['id']===_0x50c98c[_0x49c6cc(0x5b1)]['id']){const _0x249c1d=_0x27bb1b[_0x49c6cc(0x44a)];_0x27bb1b={'id':_0x50c98c[_0x49c6cc(0x5b1)]['id'],'type':_0x42e035['CommandType']['MUTATION'],'params':{'unitId':_0x249c1d[_0x49c6cc(0x222)],'actions':_0x249c1d[_0x49c6cc(0x3de)],'textRanges':null}};}const _0x1c9762=this[_0x49c6cc(0x252)][_0x49c6cc(0x35e)][_0x49c6cc(0x4cf)](this[_0x49c6cc(0x252)][_0x49c6cc(0x35e)]['getInterceptPoints']()[_0x49c6cc(0x4a9)])([_0x27bb1b],null)||[_0x27bb1b];this['_onLocalMutation'](_0x1c9762[0x0]);})),_0x4d6a61;}},_0x119e5f[_0x2a4c41(0x4a1)]=_0x2de724([_0x5782a4(0x3,_0x42e035[_0x2a4c41(0x29d)](_0x42e035[_0x2a4c41(0x2bf)])),_0x5782a4(0x4,_0x42e035[_0x2a4c41(0x29d)](_0x119e5f[_0x2a4c41(0x36c)])),_0x5782a4(0x5,_0x42e035[_0x2a4c41(0x29d)](_0x1a2c53[_0x2a4c41(0x43c)])),_0x5782a4(0x6,_0x42e035[_0x2a4c41(0x29d)](_0x42e035[_0x2a4c41(0x39c)])),_0x5782a4(0x7,_0x42e035[_0x2a4c41(0x29d)](_0x1a2c53[_0x2a4c41(0x46f)])),_0x5782a4(0x8,_0x42e035[_0x2a4c41(0x29d)](_0x43047a[_0x2a4c41(0x5c0)])),_0x5782a4(0x9,_0x42e035[_0x2a4c41(0x29d)](_0x3f2c42)),_0x5782a4(0xa,_0x42e035[_0x2a4c41(0x29d)](_0x1957db)),_0x5782a4(0xb,_0x42e035['Inject'](_0x293121)),_0x5782a4(0xc,_0x42e035['ILogService']),_0x5782a4(0xd,_0x42e035[_0x2a4c41(0x219)]),_0x5782a4(0xe,_0x576301[_0x2a4c41(0x214)]),_0x5782a4(0xf,_0x42e035[_0x2a4c41(0x378)]),_0x5782a4(0x10,_0x42e035[_0x2a4c41(0x569)](_0x506d1b))],_0x119e5f[_0x2a4c41(0x4a1)]),_0x119e5f['SheetCollaborationEntity']=class extends _0x119e5f[_0x2a4c41(0x1d0)]{constructor(_0x4475d3,_0x181a1c,_0x3f982b,_0xcb48e5,_0x2ee288,_0x490e2e,_0x486b59,_0x171692,_0x1f8132,_0x4fd01a,_0x19b910,_0x420337,_0x1bac86,_0x9c2449){const _0x41e9c4=_0x2a4c41;super(_0x4475d3,_0x3f982b,_0x181a1c,_0xcb48e5,_0x2ee288,_0x490e2e,_0x486b59,_0x171692,_0x4fd01a,_0x19b910,_0x420337,_0x1bac86,_0x9c2449),this[_0x41e9c4(0x3a4)]=_0x4475d3,this[_0x41e9c4(0x348)]=_0x181a1c,this['_sheetTransformSelectionsService']=_0x1f8132;}[_0x2a4c41(0x2f2)](){const _0x2b21f8=_0x2a4c41,_0xc9bb65=super[_0x2b21f8(0x2f2)]();return _0xc9bb65[_0x2b21f8(0x5aa)]=_0x569902=>this[_0x2b21f8(0x2c3)][_0x2b21f8(0x2f4)](_0x569902),_0xc9bb65;}async['_init'](){const _0x157961=_0x2a4c41,_0x342804=await super['_init']();return this[_0x157961(0x594)](this['_commandService'][_0x157961(0x5d4)]((_0x4fed98,_0x559c76)=>{const _0x2008ee=_0x157961;if(_0x4fed98[_0x2008ee(0x348)]!==_0x42e035[_0x2008ee(0x302)][_0x2008ee(0x55e)]||_0x559c76!=null&&_0x559c76[_0x2008ee(0x597)]||_0x559c76!=null&&_0x559c76[_0x2008ee(0x344)])return;const _0x42d5bc=_0x4fed98[_0x2008ee(0x44a)];if((_0x42d5bc==null?void 0x0:_0x42d5bc[_0x2008ee(0x222)])!==this[_0x2008ee(0x3a4)])return;const _0x5adfb2=_0x4fed98,_0x178cc7=this[_0x2008ee(0x252)]['interceptor'][_0x2008ee(0x4cf)](this['_compressMutationService'][_0x2008ee(0x35e)][_0x2008ee(0x356)]()['COMPRESS_MUTATION_SEND'])([_0x5adfb2],null)||[_0x5adfb2];this[_0x2008ee(0x4e1)](_0x178cc7[0x0]);})),_0x342804;}},_0x119e5f[_0x2a4c41(0x324)]=_0x2de724([_0x5782a4(0x3,_0x42e035['Inject'](_0x42e035[_0x2a4c41(0x2bf)])),_0x5782a4(0x4,_0x42e035[_0x2a4c41(0x29d)](_0x119e5f[_0x2a4c41(0x36c)])),_0x5782a4(0x5,_0x42e035[_0x2a4c41(0x29d)](_0x1a2c53[_0x2a4c41(0x43c)])),_0x5782a4(0x6,_0x42e035[_0x2a4c41(0x29d)](_0x42e035[_0x2a4c41(0x39c)])),_0x5782a4(0x7,_0x42e035[_0x2a4c41(0x29d)](_0x1a2c53['RevisionService'])),_0x5782a4(0x8,_0x42e035[_0x2a4c41(0x29d)](_0x17ff71)),_0x5782a4(0x9,_0x42e035[_0x2a4c41(0x5ae)]),_0x5782a4(0xa,_0x42e035[_0x2a4c41(0x219)]),_0x5782a4(0xb,_0x576301[_0x2a4c41(0x214)]),_0x5782a4(0xc,_0x42e035[_0x2a4c41(0x378)]),_0x5782a4(0xd,_0x42e035[_0x2a4c41(0x569)](_0x506d1b))],_0x119e5f['SheetCollaborationEntity']);var _0x4f39d2=Object[_0x2a4c41(0x38e)],_0x1c3eb6=Object[_0x2a4c41(0x317)],_0x106f6e=(_0x9612ad,_0x4b8c1d,_0x4b9d7f,_0x3763e4)=>{const _0x28a168=_0x2a4c41;for(var _0x45aae0=_0x3763e4>0x1?void 0x0:_0x3763e4?_0x1c3eb6(_0x4b8c1d,_0x4b9d7f):_0x4b8c1d,_0x2e841c=_0x9612ad[_0x28a168(0x250)]-0x1,_0x41d40f;_0x2e841c>=0x0;_0x2e841c--)(_0x41d40f=_0x9612ad[_0x2e841c])&&(_0x45aae0=(_0x3763e4?_0x41d40f(_0x4b8c1d,_0x4b9d7f,_0x45aae0):_0x41d40f(_0x45aae0))||_0x45aae0);return _0x3763e4&&_0x45aae0&&_0x4f39d2(_0x4b8c1d,_0x4b9d7f,_0x45aae0),_0x45aae0;},_0x3b3a19=(_0x262d10,_0x32a7a2)=>(_0x40b6b6,_0x362b68)=>_0x32a7a2(_0x40b6b6,_0x362b68,_0x262d10);_0x119e5f[_0x2a4c41(0x284)]=class extends _0x42e035[_0x2a4c41(0x43e)]{constructor(_0x12e970,_0x57acf6,_0x468c99){const _0x140f66=_0x2a4c41;super(),_0x3a0856(this,'_entities',new Map()),_0x3a0856(this,_0x140f66(0x530),new _0x40c8d9['Subject']()),(this[_0x140f66(0x1a2)]=_0x12e970,this[_0x140f66(0x2a5)]=_0x57acf6,this[_0x140f66(0x3b9)]=_0x468c99,this[_0x140f66(0x40a)]());}[_0x2a4c41(0x4f9)](){const _0x4929f3=_0x2a4c41;super[_0x4929f3(0x4f9)](),this[_0x4929f3(0x2fe)][_0x4929f3(0x3f5)](_0x1f472f=>_0x1f472f[_0x4929f3(0x4f9)]()),this[_0x4929f3(0x2fe)][_0x4929f3(0x3a7)]();}['getCollabEntity'](_0x55388f){const _0x1ab2e2=_0x2a4c41;var _0x22a6a6;return(_0x22a6a6=this[_0x1ab2e2(0x2fe)][_0x1ab2e2(0x3ae)](_0x55388f))!=null?_0x22a6a6:null;}[_0x2a4c41(0x4bb)](_0x2af407){const _0x3b1346=_0x2a4c41,_0x107fad=this[_0x3b1346(0x47d)](_0x2af407);return _0x107fad?_0x40c8d9['of'](_0x107fad):this['_entityInit$'][_0x3b1346(0x4b4)](_0xfd004d['filter'](_0x19f29e=>_0x19f29e[_0x3b1346(0x3a4)]===_0x2af407));}['_init'](){const _0x2c5040=_0x2a4c41;this[_0x2c5040(0x3b9)][_0x2c5040(0x26d)](_0x42e035['UniverInstanceType'][_0x2c5040(0x56a)])[_0x2c5040(0x4b4)](_0x40c8d9[_0x2c5040(0x1ed)](this['dispose$']),_0xfd004d[_0x2c5040(0x254)](0x10))[_0x2c5040(0x543)](async _0x4f977b=>{const _0x4a2136=_0x2c5040,_0x5d51d7=_0x4f977b[_0x4a2136(0x506)](),_0x4254d2=await this[_0x4a2136(0x3a9)](_0x5d51d7,_0x2a3e17[_0x4a2136(0x56a)]);this[_0x4a2136(0x2fe)][_0x4a2136(0x1c0)](_0x5d51d7,_0x4254d2);}),this[_0x2c5040(0x3b9)][_0x2c5040(0x26d)](_0x42e035['UniverInstanceType']['UNIVER_DOC'])[_0x2c5040(0x4b4)](_0x40c8d9[_0x2c5040(0x1ed)](this['dispose$']),_0xfd004d[_0x2c5040(0x254)](0x10))['pipe'](_0xfd004d['filter'](_0x1fbedc=>!_0x1fbedc[_0x2c5040(0x506)]()[_0x2c5040(0x349)]('__')))[_0x2c5040(0x543)](async _0x466e05=>{const _0x4a5795=_0x2c5040,_0x49b53a=_0x466e05[_0x4a5795(0x506)](),_0x20800b=await this['_startCollaboration'](_0x49b53a,_0x2a3e17[_0x4a5795(0x441)]);this[_0x4a5795(0x2fe)]['set'](_0x49b53a,_0x20800b);}),_0x40c8d9[_0x2c5040(0x1fe)](this[_0x2c5040(0x3b9)][_0x2c5040(0x5a5)](_0x42e035[_0x2c5040(0x373)][_0x2c5040(0x56a)]),this[_0x2c5040(0x3b9)][_0x2c5040(0x5a5)](_0x42e035[_0x2c5040(0x373)][_0x2c5040(0x441)]))[_0x2c5040(0x4b4)](_0x40c8d9[_0x2c5040(0x1ed)](this[_0x2c5040(0x311)]))[_0x2c5040(0x543)](_0x5d414a=>{const _0x2ecc36=_0x2c5040,_0xbc8eb1=_0x5d414a[_0x2ecc36(0x506)](),_0x791c63=this[_0x2ecc36(0x2fe)][_0x2ecc36(0x3ae)](_0xbc8eb1);_0x791c63&&(_0x791c63['dispose'](),this[_0x2ecc36(0x2fe)][_0x2ecc36(0x536)](_0xbc8eb1));});}async[_0x2a4c41(0x3a9)](_0x31df38,_0x148897){const _0x33d7d9=_0x2a4c41,_0x5b46ea=await this[_0x33d7d9(0x2a5)][_0x33d7d9(0x532)](_0x31df38),_0x3f0a54=this[_0x33d7d9(0x1a2)][_0x33d7d9(0x2fd)](this[_0x33d7d9(0x2d2)](_0x148897),_0x31df38,_0x148897,_0x5b46ea);return await _0x3f0a54['init'](),this[_0x33d7d9(0x530)][_0x33d7d9(0x380)](_0x3f0a54),_0x3f0a54;}[_0x2a4c41(0x2d2)](_0x190f47){const _0x251822=_0x2a4c41;switch(_0x190f47){case _0x2a3e17[_0x251822(0x441)]:return _0x119e5f[_0x251822(0x4a1)];case _0x2a3e17['UNIVER_SHEET']:return _0x119e5f[_0x251822(0x324)];default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0x190f47);}}},_0x119e5f['CollaborationController']=_0x106f6e([_0x3b3a19(0x0,_0x42e035[_0x2a4c41(0x29d)](_0x42e035[_0x2a4c41(0x2bf)])),_0x3b3a19(0x1,_0x42e035[_0x2a4c41(0x29d)](_0x119e5f['CollaborationSessionService'])),_0x3b3a19(0x2,_0x42e035[_0x2a4c41(0x281)])],_0x119e5f['CollaborationController']);const _0x127722=[_0x2a4c41(0x1fd),'jiqing500',_0x2a4c41(0x520),_0x2a4c41(0x400),_0x2a4c41(0x58e),'gold400'];class _0x23d026 extends _0x42e035[_0x2a4c41(0x5ab)]{constructor(){const _0x1f62c4=_0x2a4c41;super(...arguments),_0x3a0856(this,_0x1f62c4(0x282),new Map()),_0x3a0856(this,_0x1f62c4(0x1e9),0x0);}['assignAColorForMemberID'](_0x7f630b){const _0x4da17a=_0x2a4c41;if(this[_0x4da17a(0x282)][_0x4da17a(0x471)](_0x7f630b))return this[_0x4da17a(0x282)][_0x4da17a(0x3ae)](_0x7f630b);const _0x4fb08e=_0x127722[this[_0x4da17a(0x1e9)]];return this['_colorIndex']=(this[_0x4da17a(0x1e9)]+0x1)%_0x127722[_0x4da17a(0x250)],this[_0x4da17a(0x282)][_0x4da17a(0x1c0)](_0x7f630b,_0x4fb08e),_0x4fb08e;}}var _0x2834bb=Object[_0x2a4c41(0x38e)],_0x1a4565=Object[_0x2a4c41(0x317)],_0x1215bc=(_0x3574ab,_0x86e120,_0xcefea5,_0xb853a6)=>{const _0x2b59f8=_0x2a4c41;for(var _0x4d757d=_0xb853a6>0x1?void 0x0:_0xb853a6?_0x1a4565(_0x86e120,_0xcefea5):_0x86e120,_0x3c84f1=_0x3574ab[_0x2b59f8(0x250)]-0x1,_0x25d6a8;_0x3c84f1>=0x0;_0x3c84f1--)(_0x25d6a8=_0x3574ab[_0x3c84f1])&&(_0x4d757d=(_0xb853a6?_0x25d6a8(_0x86e120,_0xcefea5,_0x4d757d):_0x25d6a8(_0x4d757d))||_0x4d757d);return _0xb853a6&&_0x4d757d&&_0x2834bb(_0x86e120,_0xcefea5,_0x4d757d),_0x4d757d;},_0x5642e3=(_0x4b88a5,_0x4a499d)=>(_0x25a8f1,_0xf53021)=>_0x4a499d(_0x25a8f1,_0xf53021,_0x4b88a5);const _0x4642be=0x12c,_0x2f5edc=0x64;let _0x213548=class extends _0x42e035[_0x2a4c41(0x43e)]{constructor(_0x30e786,_0x5f0132,_0x3866f1,_0x12f6be,_0x50a0b3,_0x1fe987,_0x241231,_0x5b35fe,_0x30cd6b){const _0x455e72=_0x2a4c41;super(),_0x3a0856(this,_0x455e72(0x291),!0x1),_0x3a0856(this,'_init',!0x1),_0x3a0856(this,_0x455e72(0x413),new _0x40c8d9[(_0x455e72(0x54d))](new Map())),_0x3a0856(this,_0x455e72(0x2a4),this[_0x455e72(0x413)][_0x455e72(0x2dd)]()),_0x3a0856(this,_0x455e72(0x218),new _0x40c8d9[(_0x455e72(0x54d))]([])),_0x3a0856(this,_0x455e72(0x45d),this[_0x455e72(0x218)][_0x455e72(0x4b4)](_0x40c8d9['debounceTime'](_0x4642be))),_0x3a0856(this,_0x455e72(0x42e),_0x42e035[_0x455e72(0x3ad)](_0x1158ca=>{const _0x2c0722=_0x455e72,_0x40d30e={'eventID':_0x1a2c53[_0x2c0722(0x292)]['UPDATE_CURSOR'],'data':{'unitID':this['unitID'],'memberID':this['_session']['getMemberID'](),'selection':_0x2058ed(_0x1158ca)}};this['_session'][_0x2c0722(0x212)](_0x40d30e,this[_0x2c0722(0x3a4)]);},_0x2f5edc)),(this[_0x455e72(0x3a4)]=_0x30e786,this[_0x455e72(0x53e)]=_0x5f0132,this[_0x455e72(0x1a2)]=_0x3866f1,this[_0x455e72(0x3b4)]=_0x12f6be,this[_0x455e72(0x534)]=_0x50a0b3,this[_0x455e72(0x273)]=_0x1fe987,this['_transformService']=_0x241231,this[_0x455e72(0x3b9)]=_0x5b35fe,this[_0x455e72(0x369)]=_0x30cd6b);}get[_0x2a4c41(0x296)](){const _0x37b768=_0x2a4c41;return this['_cursorInfo$'][_0x37b768(0x37f)]();}get[_0x2a4c41(0x26b)](){const _0x259fb4=_0x2a4c41;return this[_0x259fb4(0x218)][_0x259fb4(0x37f)]();}[_0x2a4c41(0x4f9)](){const _0x4edcd9=_0x2a4c41;super['dispose'](),this['_cursorInfo$'][_0x4edcd9(0x380)](new Map()),this['_cursorInfo$'][_0x4edcd9(0x523)](),this['_roomMembers$'][_0x4edcd9(0x380)]([]),this[_0x4edcd9(0x218)][_0x4edcd9(0x523)]();}[_0x2a4c41(0x223)](){const _0x37a621=_0x2a4c41;this[_0x37a621(0x40a)]||(this[_0x37a621(0x40a)]=!0x0,this[_0x37a621(0x53e)][_0x37a621(0x587)][_0x37a621(0x4b4)](_0x40c8d9['takeUntil'](this[_0x37a621(0x311)]))['subscribe'](_0x18e903=>{const _0xbdcda0=_0x37a621;_0x18e903===_0x4246bc[_0xbdcda0(0x424)]?this[_0xbdcda0(0x54a)]():this[_0xbdcda0(0x4ef)]();}),this[_0x37a621(0x53e)][_0x37a621(0x239)]['pipe'](_0x40c8d9[_0x37a621(0x1ed)](this[_0x37a621(0x311)]))['subscribe'](_0x218f99=>{const _0x2bb484=_0x37a621,_0x2afbc0=_0x218f99[_0x2bb484(0x36d)];_0x2afbc0===_0x1a2c53[_0x2bb484(0x292)][_0x2bb484(0x383)]&&this[_0x2bb484(0x393)](_0x218f99),_0x2afbc0===_0x1a2c53[_0x2bb484(0x292)][_0x2bb484(0x1ba)]&&this[_0x2bb484(0x502)](_0x218f99);}),this[_0x37a621(0x594)](this['_commandService'][_0x37a621(0x5d4)](_0x34d1a0=>{const _0x366b50=_0x37a621,_0x5b25f1=_0x34d1a0[_0x366b50(0x44a)];_0x5b25f1!=null&&this[_0x366b50(0x291)]&&_0x34d1a0['id']===_0x50c98c[_0x366b50(0x304)]['id']&&_0x5b25f1[_0x366b50(0x222)]===this[_0x366b50(0x3a4)]&&_0x5b25f1['isEditing']===!0x1&&this[_0x366b50(0x42e)](_0x5b25f1[_0x366b50(0x5b0)]);})),this[_0x37a621(0x273)]['collabCursorState$'][_0x37a621(0x4b4)](_0x40c8d9['takeUntil'](this[_0x37a621(0x311)]))['subscribe'](_0x4fadba=>{const _0x116284=_0x37a621;if((_0x4fadba==null?void 0x0:_0x4fadba[_0x116284(0x3a4)])!==this[_0x116284(0x3a4)])return;const _0x5e5848={'eventID':_0x1a2c53[_0x116284(0x292)][_0x116284(0x383)],'data':_0x4fadba};this[_0x116284(0x393)](_0x5e5848);}),this[_0x37a621(0x594)](this[_0x37a621(0x369)][_0x37a621(0x5d4)](_0x15f988=>{const _0x490b0f=_0x37a621;if(_0x15f988['params']==null)return;const _0x27940f=_0x15f988[_0x490b0f(0x44a)];if(_0x15f988['id']!==_0x50c98c[_0x490b0f(0x5b1)]['id']||_0x27940f['unitId']!==this[_0x490b0f(0x3a4)])return;const _0x3a88e5={'id':_0x490b0f(0x50e),'params':_0x27940f},_0x3fde10=this[_0x490b0f(0x296)];for(const [_0x15f1a3,_0x31f70f]of _0x3fde10){const _0x5ab161={'id':_0x490b0f(0x50e),'params':{'unitId':this[_0x490b0f(0x3a4)],'actions':null,'textRanges':_0x31f70f['ranges']}},_0x374ab9=this[_0x490b0f(0x421)][_0x490b0f(0x1e6)](_0x3a88e5,_0x5ab161,!0x1);if(_0x1a2c53[_0x490b0f(0x203)](_0x374ab9))throw _0x374ab9['error'];_0x3fde10[_0x490b0f(0x1c0)](_0x15f1a3,{..._0x31f70f,'ranges':_0x374ab9[_0x490b0f(0x492)][_0x490b0f(0x44a)][_0x490b0f(0x298)]});}queueMicrotask(()=>{this['_cursorInfo$']['next'](_0x3fde10);});})));}[_0x2a4c41(0x393)](_0x36640e){const _0x1ab07f=_0x2a4c41;var _0x5db854,_0x56858e;const {memberID:_0x2576ea,selection:_0x4f61a0}=_0x36640e[_0x1ab07f(0x5c8)],_0x271103=_0x2f3f46(_0x4f61a0),_0x525889=(_0x56858e=(_0x5db854=this[_0x1ab07f(0x534)][_0x1ab07f(0x3bd)](this['unitID'],_0x2576ea))==null?void 0x0:_0x5db854[_0x1ab07f(0x362)])!=null?_0x56858e:'Unknown\x20user',_0x457f03={'color':this[_0x1ab07f(0x3b4)][_0x1ab07f(0x4a7)](_0x2576ea),'name':_0x525889,'ranges':_0x271103},_0x462771=this[_0x1ab07f(0x296)];_0x462771[_0x1ab07f(0x1c0)](_0x2576ea,_0x457f03),this['_cursorInfo$'][_0x1ab07f(0x380)](_0x462771);}[_0x2a4c41(0x502)](_0x4b1019){const _0x5afeee=_0x2a4c41,{memberID:_0x34e599}=_0x4b1019[_0x5afeee(0x5c8)],_0xef09a6=this['cursorInfo'];_0xef09a6[_0x5afeee(0x536)](_0x34e599),this['_cursorInfo$'][_0x5afeee(0x380)](_0xef09a6);}[_0x2a4c41(0x54a)](){const _0x9fed30=_0x2a4c41;var _0x5620ba;if(this['_online']=!0x0,((_0x5620ba=this['_univerInstanceService'][_0x9fed30(0x5ce)]())==null?void 0x0:_0x5620ba[_0x9fed30(0x506)]())!==this['unitID'])return;const _0x357552=this[_0x9fed30(0x1a2)][_0x9fed30(0x3ae)](_0x50c98c[_0x9fed30(0x4e3)])[_0x9fed30(0x4b0)]();Array[_0x9fed30(0x1a8)](_0x357552)&&_0x357552[_0x9fed30(0x250)]>0x0&&this[_0x9fed30(0x42e)](_0x357552);}['_toggleOffline'](){const _0x25a993=_0x2a4c41;this[_0x25a993(0x291)]=!0x1;}};_0x213548=_0x1215bc([_0x5642e3(0x2,_0x42e035[_0x2a4c41(0x29d)](_0x42e035[_0x2a4c41(0x2bf)])),_0x5642e3(0x3,_0x42e035[_0x2a4c41(0x29d)](_0x23d026)),_0x5642e3(0x4,_0x42e035[_0x2a4c41(0x29d)](_0x4c4596)),_0x5642e3(0x5,_0x42e035['Inject'](_0x293121)),_0x5642e3(0x6,_0x1a2c53[_0x2a4c41(0x41f)]),_0x5642e3(0x7,_0x42e035[_0x2a4c41(0x281)]),_0x5642e3(0x8,_0x42e035[_0x2a4c41(0x219)])],_0x213548);var _0x20d2b9=Object[_0x2a4c41(0x38e)],_0x407b7a=Object[_0x2a4c41(0x317)],_0x46c629=(_0x438127,_0xe700f,_0x833f68,_0xbf2ce8)=>{for(var _0x3e7eae=_0xbf2ce8>0x1?void 0x0:_0xbf2ce8?_0x407b7a(_0xe700f,_0x833f68):_0xe700f,_0x4ec832=_0x438127['length']-0x1,_0x4d1d5f;_0x4ec832>=0x0;_0x4ec832--)(_0x4d1d5f=_0x438127[_0x4ec832])&&(_0x3e7eae=(_0xbf2ce8?_0x4d1d5f(_0xe700f,_0x833f68,_0x3e7eae):_0x4d1d5f(_0x3e7eae))||_0x3e7eae);return _0xbf2ce8&&_0x3e7eae&&_0x20d2b9(_0xe700f,_0x833f68,_0x3e7eae),_0x3e7eae;},_0x3f253a=(_0x47dd97,_0xcf57a4)=>(_0x36a4da,_0x32b521)=>_0xcf57a4(_0x36a4da,_0x32b521,_0x47dd97);const _0x2006a7=0x12c,_0x3872c0=0x64,_0x416618=()=>{let _0x578123=[],_0x50979e=!0x1;return _0x3403e0=>{const _0x5e1c6d=_0x5025;_0x578123[_0x5e1c6d(0x408)](_0x3403e0),_0x50979e||(_0x50979e=!0x0,setTimeout(()=>{_0x578123['forEach'](_0x2b67ed=>_0x2b67ed()),_0x578123=[],_0x50979e=!0x1;}));};};let _0x116aaa=class extends _0x42e035[_0x2a4c41(0x43e)]{constructor(_0xf3572a,_0xb4e4e6,_0x2c38fd,_0x3c8ff7,_0x4977c5,_0x117996,_0x449948,_0x35ab18){const _0x1c6aa0=_0x2a4c41;super(),_0x3a0856(this,'_online',!0x1),_0x3a0856(this,_0x1c6aa0(0x40a),!0x1),_0x3a0856(this,_0x1c6aa0(0x413),new _0x40c8d9[(_0x1c6aa0(0x54d))](new Map())),_0x3a0856(this,_0x1c6aa0(0x2a4),this[_0x1c6aa0(0x413)][_0x1c6aa0(0x2dd)]()),_0x3a0856(this,_0x1c6aa0(0x218),new _0x40c8d9[(_0x1c6aa0(0x54d))]([])),_0x3a0856(this,_0x1c6aa0(0x45d),this[_0x1c6aa0(0x218)][_0x1c6aa0(0x4b4)](_0x40c8d9[_0x1c6aa0(0x484)](_0x2006a7))),_0x3a0856(this,'_updateLocalCursor',_0x42e035['debounce']((_0x58569d,_0x522e26)=>{const _0x28f0a6=_0x1c6aa0,_0x117447={'eventID':_0x1a2c53['CollaborationEvent'][_0x28f0a6(0x383)],'data':{'unitID':this[_0x28f0a6(0x3a4)],'memberID':this['_session'][_0x28f0a6(0x4f1)](),'selection':_0x4f7175[_0x28f0a6(0x538)](_0x58569d,_0x522e26['range'])}};this['_session'][_0x28f0a6(0x212)](_0x117447,this['unitID']);},_0x3872c0)),(this[_0x1c6aa0(0x3a4)]=_0xf3572a,this[_0x1c6aa0(0x53e)]=_0xb4e4e6,this[_0x1c6aa0(0x1a2)]=_0x2c38fd,this[_0x1c6aa0(0x3b4)]=_0x3c8ff7,this[_0x1c6aa0(0x534)]=_0x4977c5,this[_0x1c6aa0(0x3b9)]=_0x117996,this['_commandService']=_0x449948,this['_refRangeService']=_0x35ab18);}get[_0x2a4c41(0x296)](){const _0x1e16aa=_0x2a4c41;return this['_cursorInfo$'][_0x1e16aa(0x37f)]();}get[_0x2a4c41(0x26b)](){const _0x369ac7=_0x2a4c41;return this[_0x369ac7(0x218)]['getValue']();}[_0x2a4c41(0x4f9)](){const _0x3b73fc=_0x2a4c41;super[_0x3b73fc(0x4f9)](),this[_0x3b73fc(0x413)]['next'](new Map()),this[_0x3b73fc(0x413)]['complete'](),this[_0x3b73fc(0x218)][_0x3b73fc(0x380)]([]),this['_roomMembers$']['complete']();}[_0x2a4c41(0x223)](){const _0xb25fa9=_0x2a4c41;this[_0xb25fa9(0x40a)]||(this['_init']=!0x0,this[_0xb25fa9(0x53e)]['sessionStatus$'][_0xb25fa9(0x4b4)](_0x40c8d9[_0xb25fa9(0x1ed)](this[_0xb25fa9(0x311)]))[_0xb25fa9(0x543)](_0x2f7ee1=>{const _0x415a8a=_0xb25fa9;_0x2f7ee1===_0x4246bc['ONLINE']?this['_toggleOnline']():this[_0x415a8a(0x4ef)]();}),this[_0xb25fa9(0x53e)][_0xb25fa9(0x239)]['pipe'](_0x40c8d9['takeUntil'](this[_0xb25fa9(0x311)]))['subscribe'](_0x281c39=>{const _0x5a00d0=_0xb25fa9,_0x4120e6=_0x281c39[_0x5a00d0(0x36d)];_0x4120e6===_0x1a2c53['CollaborationEvent'][_0x5a00d0(0x383)]&&this['_onCursorUpdate'](_0x281c39),_0x4120e6===_0x1a2c53['CollaborationEvent'][_0x5a00d0(0x1ba)]&&this[_0x5a00d0(0x502)](_0x281c39);}),this[_0xb25fa9(0x3b1)](),this['disposeWithMe'](this['_commandService'][_0xb25fa9(0x5d4)](_0x15c22c=>{const _0x30ff9e=_0xb25fa9;if(this[_0x30ff9e(0x291)]&&_0x15c22c['id']===_0x2d44ec[_0x30ff9e(0x44b)]['id']&&_0x15c22c[_0x30ff9e(0x44a)]['unitId']===this[_0x30ff9e(0x3a4)]){const _0x393d78=_0x15c22c[_0x30ff9e(0x44a)];this[_0x30ff9e(0x42e)](_0x393d78[_0x30ff9e(0x277)],_0x393d78[_0x30ff9e(0x4dc)][0x0]);}})));}['_onCursorUpdate'](_0x4a1727){const _0x297a57=_0x2a4c41;var _0x4a9997,_0xebdcff;const {memberID:_0x3efce5,selection:_0x6540bb}=_0x4a1727[_0x297a57(0x5c8)],{sheetName:_0x31290d,range:_0x206742}=_0x4f7175[_0x297a57(0x1af)](_0x6540bb),_0x14d281={'name':(_0xebdcff=(_0x4a9997=this[_0x297a57(0x534)][_0x297a57(0x3bd)](this[_0x297a57(0x3a4)],_0x3efce5))==null?void 0x0:_0x4a9997[_0x297a57(0x362)])!=null?_0xebdcff:'Unknown\x20user','range':this[_0x297a57(0x325)](_0x31290d,_0x206742),'sheetID':_0x31290d,'color':this[_0x297a57(0x3b4)][_0x297a57(0x4a7)](_0x3efce5),'selection':_0x6540bb},_0x18f129=this[_0x297a57(0x296)];_0x18f129[_0x297a57(0x1c0)](_0x3efce5,_0x14d281),this[_0x297a57(0x413)][_0x297a57(0x380)](_0x18f129);}[_0x2a4c41(0x502)](_0x13e086){const _0x340920=_0x2a4c41,{memberID:_0x52f2a2}=_0x13e086['data'],_0x3cf627=this[_0x340920(0x296)];_0x3cf627[_0x340920(0x536)](_0x52f2a2),this[_0x340920(0x413)][_0x340920(0x380)](_0x3cf627);}[_0x2a4c41(0x325)](_0x1c61ef,_0x2cf6a6){const _0x3e660e=_0x2a4c41;var _0x2867c2,_0x2a5f8c;const _0x1c869c=(_0x2a5f8c=(_0x2867c2=this['_univerInstanceService'][_0x3e660e(0x2ce)](this[_0x3e660e(0x3a4)]))==null?void 0x0:_0x2867c2[_0x3e660e(0x463)](_0x1c61ef))==null?void 0x0:_0x2a5f8c['getMergeData']();return(_0x1c869c==null?void 0x0:_0x1c869c[_0x3e660e(0x4fc)](_0xbbd5b4=>_0x42e035['Rectangle'][_0x3e660e(0x444)](_0xbbd5b4,_0x2cf6a6)))||_0x2cf6a6;}[_0x2a4c41(0x3b1)](){const _0x2d3cca=_0x2a4c41,_0x15fb56=new _0x42e035[(_0x2d3cca(0x5d7))](),_0x45093b=_0x416618(),_0x2b2d43=()=>{_0x15fb56['dispose']();const _0x25c924=(_0x3e1085,_0x5eba33,_0x4c63ee,_0x11623f)=>{const _0x5b0ffb=_0x5025;let _0x349575=[];switch(_0x3e1085['id']){case _0x2d44ec[_0x5b0ffb(0x1dd)][_0x5b0ffb(0x266)]:{_0x349575=_0x2d44ec[_0x5b0ffb(0x46d)](_0x3e1085,_0x11623f);break;}case _0x2d44ec[_0x5b0ffb(0x1dd)][_0x5b0ffb(0x2ac)]:{_0x349575=_0x2d44ec['handleDeleteRangeMoveUp'](_0x3e1085,_0x11623f);break;}case _0x2d44ec[_0x5b0ffb(0x1dd)][_0x5b0ffb(0x48e)]:{_0x349575=_0x2d44ec['handleInsertCol'](_0x3e1085,_0x11623f);break;}case _0x2d44ec['EffectRefRangId'][_0x5b0ffb(0x34e)]:{_0x349575=_0x2d44ec[_0x5b0ffb(0x479)](_0x3e1085,_0x11623f);break;}case _0x2d44ec[_0x5b0ffb(0x1dd)][_0x5b0ffb(0x1ab)]:{_0x349575=_0x2d44ec['handleInsertRangeMoveRight'](_0x3e1085,_0x11623f);break;}case _0x2d44ec[_0x5b0ffb(0x1dd)][_0x5b0ffb(0x38d)]:{_0x349575=_0x2d44ec[_0x5b0ffb(0x4ae)](_0x3e1085,_0x11623f);break;}case _0x2d44ec[_0x5b0ffb(0x1dd)]['MoveRangeCommandId']:{_0x349575=_0x2d44ec[_0x5b0ffb(0x54b)](_0x3e1085,_0x11623f);break;}case _0x2d44ec[_0x5b0ffb(0x1dd)][_0x5b0ffb(0x540)]:{_0x349575=_0x2d44ec['handleIRemoveCol'](_0x3e1085,_0x11623f);break;}case _0x2d44ec['EffectRefRangId'][_0x5b0ffb(0x499)]:{_0x349575=_0x2d44ec[_0x5b0ffb(0x3ed)](_0x3e1085,_0x11623f);break;}}const _0x491032=_0x2d44ec[_0x5b0ffb(0x55a)](_0x349575,_0x11623f),_0x4106b8=this[_0x5b0ffb(0x296)][_0x5b0ffb(0x3ae)](_0x5eba33);if(_0x4106b8&&_0x491032){const _0x4a5ad8={..._0x4106b8,'range':_0x491032};this[_0x5b0ffb(0x296)][_0x5b0ffb(0x1c0)](_0x5eba33,_0x4a5ad8),_0x45093b(()=>{const _0x3c2d27=_0x5b0ffb,_0x588335=this[_0x3c2d27(0x51e)]['registerRefRange'](_0x491032,_0x24bd24=>(_0x588335[_0x3c2d27(0x4f9)](),_0x25c924(_0x24bd24,_0x5eba33,_0x4c63ee,_0x491032)));_0x15fb56['add'](_0x588335);});}return{'redos':[],'undos':[]};};this['cursorInfo']['forEach']((_0x4d8e8d,_0x473d7f)=>{const _0x4a8deb=_0x5025,{range:_0x26ce75,sheetID:_0x31138e}=_0x4d8e8d,_0x2fa529=this[_0x4a8deb(0x51e)][_0x4a8deb(0x22f)](_0x26ce75,_0x4c54f1=>(_0x2fa529['dispose'](),_0x25c924(_0x4c54f1,_0x473d7f,_0x31138e,_0x26ce75)));_0x15fb56[_0x4a8deb(0x1ca)](_0x2fa529);});};this[_0x2d3cca(0x594)](_0x42e035[_0x2d3cca(0x4b5)](this[_0x2d3cca(0x413)][_0x2d3cca(0x543)](()=>{_0x2b2d43();})));}['_toggleOnline'](){const _0x515176=_0x2a4c41;var _0x50a77e,_0x5b5395;if(this[_0x515176(0x291)]=!0x0,((_0x50a77e=this[_0x515176(0x3b9)][_0x515176(0x5ce)]())==null?void 0x0:_0x50a77e[_0x515176(0x506)]())!==this[_0x515176(0x3a4)])return;const _0x4a80a0=(_0x5b5395=this['_injector'][_0x515176(0x3ae)](_0x2d44ec[_0x515176(0x3bf)])[_0x515176(0x242)]())==null?void 0x0:_0x5b5395[0x0],_0x2fb69e=this[_0x515176(0x3b9)]['getCurrentUnitForType'](_0x42e035[_0x515176(0x373)][_0x515176(0x56a)])[_0x515176(0x531)]();_0x4a80a0&&_0x2fb69e&&this[_0x515176(0x42e)](_0x2fb69e[_0x515176(0x4d0)](),_0x4a80a0);}[_0x2a4c41(0x4ef)](){const _0xca7d=_0x2a4c41;this[_0xca7d(0x291)]=!0x1;}};_0x116aaa=_0x46c629([_0x3f253a(0x2,_0x42e035['Inject'](_0x42e035['Injector'])),_0x3f253a(0x3,_0x42e035['Inject'](_0x23d026)),_0x3f253a(0x4,_0x42e035['Inject'](_0x4c4596)),_0x3f253a(0x5,_0x42e035['IUniverInstanceService']),_0x3f253a(0x6,_0x42e035['ICommandService']),_0x3f253a(0x7,_0x42e035[_0x2a4c41(0x29d)](_0x2d44ec['RefRangeService']))],_0x116aaa);var _0x568789=Object[_0x2a4c41(0x38e)],_0x129a47=Object[_0x2a4c41(0x317)],_0x4eac51=(_0x2830d5,_0x1eae2a,_0x24588b,_0x462321)=>{const _0x33eef3=_0x2a4c41;for(var _0x6e7cb4=_0x462321>0x1?void 0x0:_0x462321?_0x129a47(_0x1eae2a,_0x24588b):_0x1eae2a,_0x4bd138=_0x2830d5[_0x33eef3(0x250)]-0x1,_0x9aa1f3;_0x4bd138>=0x0;_0x4bd138--)(_0x9aa1f3=_0x2830d5[_0x4bd138])&&(_0x6e7cb4=(_0x462321?_0x9aa1f3(_0x1eae2a,_0x24588b,_0x6e7cb4):_0x9aa1f3(_0x6e7cb4))||_0x6e7cb4);return _0x462321&&_0x6e7cb4&&_0x568789(_0x1eae2a,_0x24588b,_0x6e7cb4),_0x6e7cb4;},_0x299bba=(_0x1a1e55,_0xb6597)=>(_0x91a4a7,_0x43d200)=>_0xb6597(_0x91a4a7,_0x43d200,_0x1a1e55);let _0x16fe18=class extends _0x42e035[_0x2a4c41(0x43e)]{constructor(_0x3e4410,_0x3b6bc7,_0x2ed6f4){const _0x4a2991=_0x2a4c41;super(),_0x3a0856(this,'_entities',new Map()),_0x3a0856(this,_0x4a2991(0x530),new _0x40c8d9['Subject']()),(this[_0x4a2991(0x3b9)]=_0x3e4410,this[_0x4a2991(0x1a2)]=_0x3b6bc7,this[_0x4a2991(0x2a5)]=_0x2ed6f4,this[_0x4a2991(0x40a)]());}[_0x2a4c41(0x4f9)](){const _0x3c363d=_0x2a4c41;super[_0x3c363d(0x4f9)](),this[_0x3c363d(0x530)][_0x3c363d(0x523)](),this[_0x3c363d(0x2fe)][_0x3c363d(0x3f5)](_0xe1560d=>_0xe1560d[_0x3c363d(0x4f9)]());}[_0x2a4c41(0x2f6)](_0xee0769){const _0x4df272=_0x2a4c41;return this[_0x4df272(0x2fe)][_0x4df272(0x471)](_0xee0769)?this[_0x4df272(0x2fe)][_0x4df272(0x3ae)](_0xee0769)[_0x4df272(0x2a4)]:this['_entityInit$'][_0x4df272(0x4b4)](_0x40c8d9[_0x4df272(0x45c)](_0x2f7a84=>_0x2f7a84[_0x4df272(0x3a4)]===_0xee0769),_0x40c8d9[_0x4df272(0x57b)](_0x264047=>_0x264047[_0x4df272(0x2a4)]));}['_init'](){const _0x4341f7=_0x2a4c41;this['_univerInstanceService'][_0x4341f7(0x26d)](_0x42e035[_0x4341f7(0x373)]['UNIVER_SHEET'])[_0x4341f7(0x4b4)](_0x40c8d9[_0x4341f7(0x1ed)](this[_0x4341f7(0x311)]))[_0x4341f7(0x543)](async _0x362254=>{const _0xce6848=_0x4341f7,_0x493b16=_0x362254[_0xce6848(0x506)](),_0x28cde0=await this['_startSheetCollabCursor'](_0x493b16);this[_0xce6848(0x530)][_0xce6848(0x380)](_0x28cde0),this[_0xce6848(0x2fe)][_0xce6848(0x1c0)](_0x493b16,_0x28cde0);}),this[_0x4341f7(0x3b9)][_0x4341f7(0x26d)](_0x42e035[_0x4341f7(0x373)][_0x4341f7(0x441)])['pipe'](_0x40c8d9[_0x4341f7(0x1ed)](this[_0x4341f7(0x311)]))[_0x4341f7(0x4b4)](_0x40c8d9[_0x4341f7(0x45c)](_0x810268=>!_0x810268[_0x4341f7(0x506)]()[_0x4341f7(0x349)]('__')))['subscribe'](async _0x2d7488=>{const _0x317284=_0x4341f7,_0x1938e6=_0x2d7488[_0x317284(0x506)](),_0x20a81a=await this[_0x317284(0x49d)](_0x1938e6);this[_0x317284(0x530)][_0x317284(0x380)](_0x20a81a),this['_entities'][_0x317284(0x1c0)](_0x1938e6,_0x20a81a);}),_0x40c8d9[_0x4341f7(0x1fe)](this['_univerInstanceService'][_0x4341f7(0x5a5)](_0x42e035[_0x4341f7(0x373)]['UNIVER_DOC']),this[_0x4341f7(0x3b9)]['getTypeOfUnitDisposed$'](_0x42e035['UniverInstanceType'][_0x4341f7(0x56a)]))[_0x4341f7(0x4b4)](_0x40c8d9[_0x4341f7(0x1ed)](this[_0x4341f7(0x311)]))[_0x4341f7(0x543)](_0x1f3c5b=>{const _0x1df6e5=_0x4341f7,_0x1c1aa1=_0x1f3c5b[_0x1df6e5(0x506)](),_0x5c00fb=this['_entities'][_0x1df6e5(0x3ae)](_0x1c1aa1);_0x5c00fb&&(_0x5c00fb['dispose'](),this[_0x1df6e5(0x2fe)]['delete'](_0x1c1aa1));});}async[_0x2a4c41(0x241)](_0x10b742){const _0x466e8c=_0x2a4c41,_0xe22a0d=await this[_0x466e8c(0x2a5)][_0x466e8c(0x532)](_0x10b742),_0x3c92c0=this[_0x466e8c(0x1a2)][_0x466e8c(0x2fd)](_0x116aaa,_0x10b742,_0xe22a0d);return _0x3c92c0[_0x466e8c(0x223)](),_0x3c92c0;}async[_0x2a4c41(0x49d)](_0xe3b338){const _0x41e18a=_0x2a4c41,_0x4b96c4=await this[_0x41e18a(0x2a5)][_0x41e18a(0x532)](_0xe3b338),_0x120ca2=this[_0x41e18a(0x1a2)][_0x41e18a(0x2fd)](_0x213548,_0xe3b338,_0x4b96c4);return _0x120ca2['init'](),_0x120ca2;}};_0x16fe18=_0x4eac51([_0x299bba(0x0,_0x42e035[_0x2a4c41(0x281)]),_0x299bba(0x1,_0x42e035[_0x2a4c41(0x29d)](_0x42e035[_0x2a4c41(0x2bf)])),_0x299bba(0x2,_0x42e035['Inject'](_0x119e5f[_0x2a4c41(0x56d)]))],_0x16fe18);const _0x327dd2=0x14,_0x57f7d8=0xc8,_0x308b0e=0x4,_0x5ebbd6=0x5;function _0x3937ea(_0x43f3d9,_0x2d9861){const _0x4ed556=_0x2a4c41;let {radius:_0x12c5a1,width:_0x525a81,height:_0xfc37ad}=_0x2d9861;_0x12c5a1=_0x12c5a1!=null?_0x12c5a1:0x0,_0x525a81=_0x525a81!=null?_0x525a81:0x1e,_0xfc37ad=_0xfc37ad!=null?_0xfc37ad:0x1e;let _0x39770c=0x0,_0xc54e9c=0x0,_0x1d506e=0x0;_0x39770c=_0xc54e9c=_0x1d506e=Math['min'](_0x12c5a1,_0x525a81/0x2,_0xfc37ad/0x2),_0x43f3d9[_0x4ed556(0x274)](),_0x43f3d9[_0x4ed556(0x2b7)](_0x39770c,0x0),_0x43f3d9[_0x4ed556(0x205)](_0x525a81-_0xc54e9c,0x0),_0x43f3d9['arc'](_0x525a81-_0xc54e9c,_0xc54e9c,_0xc54e9c,Math['PI']*0x3/0x2,0x0,!0x1),_0x43f3d9[_0x4ed556(0x205)](_0x525a81,_0xfc37ad-_0x1d506e),_0x43f3d9[_0x4ed556(0x561)](_0x525a81-_0x1d506e,_0xfc37ad-_0x1d506e,_0x1d506e,0x0,Math['PI']/0x2,!0x1),_0x43f3d9[_0x4ed556(0x205)](0x0,_0xfc37ad),_0x43f3d9[_0x4ed556(0x205)](0x0,_0x39770c),_0x43f3d9[_0x4ed556(0x561)](_0x39770c,_0x39770c,_0x39770c,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x43f3d9[_0x4ed556(0x31d)](),_0x2d9861[_0x4ed556(0x547)]&&(_0x43f3d9[_0x4ed556(0x4e2)](),_0x43f3d9[_0x4ed556(0x258)]=_0x2d9861[_0x4ed556(0x547)],_0x2d9861[_0x4ed556(0x56e)]==='evenodd'?_0x43f3d9[_0x4ed556(0x547)](_0x4ed556(0x448)):_0x43f3d9['fill'](),_0x43f3d9[_0x4ed556(0x382)]());}class _0x26d1ac extends _0x7f7413[_0x2a4c41(0x498)]{constructor(_0x22df23,_0x6c4161){const _0x180eec=_0x2a4c41;super(_0x22df23,_0x6c4161),_0x3a0856(this,_0x180eec(0x3f9)),_0x3a0856(this,_0x180eec(0x3d5)),(this[_0x180eec(0x3f9)]=_0x6c4161==null?void 0x0:_0x6c4161[_0x180eec(0x3f9)],this[_0x180eec(0x3d5)]=_0x6c4161==null?void 0x0:_0x6c4161['text']);}static[_0x2a4c41(0x4fd)](_0x437cba,_0xdc1480){const _0x4fb9af=_0x2a4c41,{text:_0x4c2de0,color:_0x1d2715}=_0xdc1480;_0x437cba[_0x4fb9af(0x4e2)](),_0x437cba['font']=_0x4fb9af(0x512);const _0x52448c=_0x437cba[_0x4fb9af(0x309)](_0x4c2de0)[_0x4fb9af(0x450)],_0x580b1f=Math['min'](_0x52448c+0x2*_0x308b0e,_0x57f7d8);_0x3937ea(_0x437cba,{'height':_0x327dd2,'radius':0x4,'width':_0x580b1f,'fill':_0x1d2715,'evented':!0x1}),_0x437cba[_0x4fb9af(0x258)]=_0x4fb9af(0x21c);const _0x4fb5fe=_0x308b0e,_0xa66637=_0x327dd2-_0x5ebbd6,_0x2ef2f5=_0x57f7d8-0x2*_0x308b0e;if(_0x52448c>_0x2ef2f5){let _0x57b569='',_0x3fbca=0x0;for(const _0x2546ea of _0x4c2de0){const _0x3806e7=_0x437cba['measureText'](_0x2546ea)[_0x4fb9af(0x450)];if(_0x3fbca+_0x3806e7<=_0x2ef2f5-_0x437cba[_0x4fb9af(0x309)](_0x4fb9af(0x237))[_0x4fb9af(0x450)])_0x57b569+=_0x2546ea,_0x3fbca+=_0x3806e7;else{_0x57b569+=_0x4fb9af(0x237);break;}}_0x437cba[_0x4fb9af(0x537)](_0x57b569,_0x4fb5fe,_0xa66637);}else _0x437cba[_0x4fb9af(0x537)](_0x4c2de0,_0x4fb5fe,_0xa66637);_0x437cba[_0x4fb9af(0x382)]();}[_0x2a4c41(0x1fa)](_0x34c769){_0x26d1ac['drawWith'](_0x34c769,this);}}const _0x217b9b='collab-text-anchor-',_0x5424ea=_0x2a4c41(0x366),_0x212547='collab-rect-range-',_0x219e72=0x6,_0x3f1c81=1.5,_0x20d159=0x4,_0x5734c1=1.5,_0x2c556a='rgba(255,\x20255,\x20255,\x200.01)';class _0x1f900c{constructor(_0x46913f,_0x415cb6,_0x51870a,_0x121d02){const _0x5e59a9=_0x2a4c41;_0x3a0856(this,_0x5e59a9(0x419),[]),_0x3a0856(this,_0x5e59a9(0x527),null),_0x3a0856(this,_0x5e59a9(0x2f1),null),_0x3a0856(this,'_anchorDot',null),_0x3a0856(this,_0x5e59a9(0x2bd),null),_0x3a0856(this,_0x5e59a9(0x3df),null),(this[_0x5e59a9(0x314)]=_0x46913f,this[_0x5e59a9(0x42b)]=_0x415cb6,this[_0x5e59a9(0x2d7)]=_0x51870a,this[_0x5e59a9(0x3ee)]=_0x121d02,this[_0x5e59a9(0x5a8)]());}set['_hover'](_0x11725b){const _0x412dea=_0x2a4c41;_0x11725b?(this[_0x412dea(0x45b)]&&this[_0x412dea(0x45b)]['hide'](),this[_0x412dea(0x2f1)]&&this['_textBubble'][_0x412dea(0x451)]()):(this[_0x412dea(0x45b)]&&this[_0x412dea(0x45b)][_0x412dea(0x451)](),this[_0x412dea(0x2f1)]&&this[_0x412dea(0x2f1)][_0x412dea(0x2b6)]());}[_0x2a4c41(0x4f9)](){const _0x4eb92a=_0x2a4c41;for(const _0xc20613 of this[_0x4eb92a(0x419)])_0xc20613[_0x4eb92a(0x4f9)]();this['_textBubble']&&this[_0x4eb92a(0x2f1)][_0x4eb92a(0x4f9)](),this[_0x4eb92a(0x45b)]&&this[_0x4eb92a(0x45b)][_0x4eb92a(0x4f9)](),this['_anchor']&&this[_0x4eb92a(0x527)][_0x4eb92a(0x4f9)](),this[_0x4eb92a(0x3df)]&&this[_0x4eb92a(0x3df)]();}['_render'](){const _0x5bbfb8=_0x2a4c41;var _0x5efd73;const {_docSkeleton:_0x1f40e7,_document:_0x332901}=this,{color:_0x4ff892,name:_0x530c64,ranges:_0x5cb444}=this[_0x5bbfb8(0x314)],_0x157c9f=_0x332901[_0x5bbfb8(0x37c)](),{docsLeft:_0x38597a,docsTop:_0x3f368b}=_0x157c9f,_0x3f3287=new _0x43047a[(_0x5bbfb8(0x358))](_0x157c9f,_0x1f40e7);for(const {startOffset:_0x1410bf,endOffset:_0x3eb483,collapsed:_0x132133,isActive:_0x38641a}of _0x5cb444){const _0x2f4d3a=_0x1f40e7[_0x5bbfb8(0x3b8)](_0x1410bf),_0x9b858c=_0x1f40e7[_0x5bbfb8(0x3b8)](_0x3eb483);if(_0x38641a){const {contentBoxPointGroup:_0xa7b310}=_0x3f3287[_0x5bbfb8(0x32d)](_0x9b858c,_0x9b858c);if(_0xa7b310[_0x5bbfb8(0x250)]===0x0)continue;this[_0x5bbfb8(0x1c9)](_0x4ff892,_0xa7b310,_0x38597a,_0x3f368b,_0x530c64),this[_0x5bbfb8(0x3df)]=this[_0x5bbfb8(0x2d3)]();}if(!_0x132133&&_0x2f4d3a&&_0x9b858c){if(_0x43047a['isValidRectRange'](_0x2f4d3a,_0x9b858c)){const _0x227d05=new _0x43047a[(_0x5bbfb8(0x49c))](_0x157c9f,_0x1f40e7),{pointGroup:_0x18194f}=(_0x5efd73=_0x227d05[_0x5bbfb8(0x32d)](_0x2f4d3a,_0x9b858c))!=null?_0x5efd73:{};if(_0x18194f==null||_0x18194f['length']===0x0)continue;this['_drawRectRange'](_0x4ff892,_0x18194f,_0x38597a,_0x3f368b);}else{const {contentBoxPointGroup:_0x831759}=_0x3f3287['getRangePointData'](_0x2f4d3a,_0x9b858c);if(_0x831759[_0x5bbfb8(0x250)]===0x0)continue;this[_0x5bbfb8(0x343)](_0x4ff892,_0x831759,_0x38597a,_0x3f368b);}}}}[_0x2a4c41(0x1c9)](_0x4966e6,_0x41ccd8,_0x1e776a,_0x44c2da,_0xe3361a){const _0x226f40=_0x2a4c41,_0x17a013=this[_0x226f40(0x2fc)](_0x41ccd8),{left:_0x36582e,top:_0x40dd78,height:_0x370217}=_0x17a013,_0xa219b5=this[_0x226f40(0x3c2)](),_0x2e4ef9=_0x5734c1/_0xa219b5,_0x561bd7=new _0x7f7413[(_0x226f40(0x1c4))](_0x217b9b+_0x42e035['Tools'][_0x226f40(0x430)](_0x219e72),{'left':_0x36582e+_0x1e776a-_0x2e4ef9,'top':_0x40dd78+_0x44c2da,'height':_0x370217,'width':_0x3f1c81,'fill':_0x4966e6||_0x7f7413['getColor'](_0x42e035[_0x226f40(0x486)]['black'],0x0),'strokeWidth':_0x2e4ef9,'stroke':_0x2c556a,'evented':!0x0});this[_0x226f40(0x527)]=_0x561bd7,this[_0x226f40(0x42b)][_0x226f40(0x307)](_0x561bd7,_0x43047a[_0x226f40(0x207)]);const _0x1111e4=new _0x7f7413[(_0x226f40(0x1c4))](_0x217b9b+_0x42e035[_0x226f40(0x34c)]['generateRandomId'](_0x219e72),{'left':_0x36582e+_0x1e776a-_0x2e4ef9,'top':_0x40dd78+_0x44c2da-_0x20d159/0x2,'height':_0x20d159,'width':_0x20d159,'fill':_0x4966e6||_0x7f7413['getColor'](_0x42e035[_0x226f40(0x486)]['black'],0x0),'strokeWidth':0x0,'stroke':_0x4966e6||_0x7f7413['getColor'](_0x42e035['COLORS']['black'],0x0),'evented':!0x1});this[_0x226f40(0x45b)]=_0x1111e4,this[_0x226f40(0x42b)][_0x226f40(0x307)](_0x1111e4,_0x43047a[_0x226f40(0x207)]);const _0x17f6b7=new _0x26d1ac(_0x217b9b+_0x42e035[_0x226f40(0x34c)][_0x226f40(0x430)](_0x219e72),{'left':_0x36582e+_0x1e776a-_0x2e4ef9,'top':_0x40dd78+_0x44c2da-_0x327dd2,'text':_0xe3361a,'color':_0x4966e6});this[_0x226f40(0x2f1)]=_0x17f6b7,this[_0x226f40(0x42b)][_0x226f40(0x307)](_0x17f6b7,_0x43047a[_0x226f40(0x207)]),this[_0x226f40(0x4c7)]=!0x1;}['_handleHover'](){const _0x21426f=_0x2a4c41,_0x27a65b=this[_0x21426f(0x527)][_0x21426f(0x55b)]['subscribeEvent'](()=>{const _0x205115=_0x21426f;this[_0x205115(0x4c7)]=!0x0;}),_0x2f8aa2=this[_0x21426f(0x527)][_0x21426f(0x1c1)][_0x21426f(0x1ac)](()=>{const _0x2da837=_0x21426f;this[_0x2da837(0x2bd)]&&clearTimeout(this['_hideTimer']),this[_0x2da837(0x2bd)]=setTimeout(()=>{const _0x4c4509=_0x2da837;this[_0x4c4509(0x4c7)]=!0x1;},0x7d0);});return()=>{const _0x4b40cd=_0x21426f;_0x27a65b['unsubscribe'](),_0x2f8aa2[_0x4b40cd(0x490)]();};}[_0x2a4c41(0x343)](_0x4327f4,_0x291b7f,_0x2a9329,_0x43e050){const _0x1faf45=_0x2a4c41,_0x34fa0f=new _0x42e035['ColorKit'](_0x4327f4)[_0x1faf45(0x326)](0.2)[_0x1faf45(0x321)](),_0x436a97=new _0x7f7413['RegularPolygon'](_0x5424ea+_0x42e035[_0x1faf45(0x34c)]['generateRandomId'](_0x219e72),{'pointsGroup':_0x291b7f,'fill':_0x34fa0f||_0x7f7413['getColor'](_0x42e035[_0x1faf45(0x486)][_0x1faf45(0x217)],0.2),'left':_0x2a9329,'top':_0x43e050,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x1faf45(0x419)]['push'](_0x436a97),this[_0x1faf45(0x42b)][_0x1faf45(0x307)](_0x436a97,_0x43047a[_0x1faf45(0x207)]);}['_drawRectRange'](_0x52b3be,_0x5b4f35,_0xa976e7,_0x204be9){const _0x4cba24=_0x2a4c41,_0x5c9f93=new _0x42e035[(_0x4cba24(0x4aa))](_0x52b3be)[_0x4cba24(0x326)](0.2)[_0x4cba24(0x321)](),_0x1bd0b5=new _0x7f7413[(_0x4cba24(0x1f1))](_0x212547+_0x42e035[_0x4cba24(0x34c)]['generateRandomId'](_0x219e72),{'pointsGroup':_0x5b4f35,'fill':_0x5c9f93||_0x7f7413[_0x4cba24(0x439)](_0x42e035[_0x4cba24(0x486)][_0x4cba24(0x217)],0.2),'left':_0xa976e7,'top':_0x204be9,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x4cba24(0x419)][_0x4cba24(0x408)](_0x1bd0b5),this['_scene'][_0x4cba24(0x307)](_0x1bd0b5,_0x43047a[_0x4cba24(0x207)]);}['_getAnchorBounding'](_0x99a8df){const _0xa12012=_0x99a8df[0x0],_0x37e93d=_0xa12012[0x0],_0x25fc01=_0xa12012[0x2],{x:_0x1b58df,y:_0x312aea}=_0x37e93d,{x:_0x8c140a,y:_0x46adaf}=_0x25fc01;return{'left':_0x1b58df,'top':_0x312aea,'width':_0x8c140a-_0x1b58df,'height':_0x46adaf-_0x312aea};}[_0x2a4c41(0x3c2)](){const _0x391dbb=_0x2a4c41,{scaleX:_0x3543a1,scaleY:_0x56196d}=this[_0x391dbb(0x42b)][_0x391dbb(0x50d)]();return Math[_0x391dbb(0x235)](_0x3543a1,_0x56196d);}}var _0xd6dc47=Object[_0x2a4c41(0x38e)],_0x27710f=Object[_0x2a4c41(0x317)],_0x444e80=(_0x170a2f,_0x48be67,_0x3ffd55,_0x416f2b)=>{const _0x5d3420=_0x2a4c41;for(var _0x3a02c0=_0x416f2b>0x1?void 0x0:_0x416f2b?_0x27710f(_0x48be67,_0x3ffd55):_0x48be67,_0x111e79=_0x170a2f[_0x5d3420(0x250)]-0x1,_0x24ccc1;_0x111e79>=0x0;_0x111e79--)(_0x24ccc1=_0x170a2f[_0x111e79])&&(_0x3a02c0=(_0x416f2b?_0x24ccc1(_0x48be67,_0x3ffd55,_0x3a02c0):_0x24ccc1(_0x3a02c0))||_0x3a02c0);return _0x416f2b&&_0x3a02c0&&_0xd6dc47(_0x48be67,_0x3ffd55,_0x3a02c0),_0x3a02c0;},_0x44ea6d=(_0x1a82b1,_0x515d85)=>(_0x380899,_0x59a4b1)=>_0x515d85(_0x380899,_0x59a4b1,_0x1a82b1);let _0x5b426f=class extends _0x42e035['RxDisposable']{constructor(_0x228a1c,_0x136dc1,_0x5342fa,_0x49d273,_0x4fd61b){const _0x36f54d=_0x2a4c41;super(),_0x3a0856(this,'_cursorShapes',[]),_0x3a0856(this,_0x36f54d(0x4eb),[]),(this[_0x36f54d(0x522)]=_0x228a1c,this['_docSkeletonManagerService']=_0x136dc1,this[_0x36f54d(0x409)]=_0x5342fa,this[_0x36f54d(0x369)]=_0x49d273,this[_0x36f54d(0x481)]=_0x4fd61b,this['_init']());}[_0x2a4c41(0x40a)](){const _0x505ee1=_0x2a4c41,_0x1360c1=this['_context'][_0x505ee1(0x222)],_0x538ae2=this[_0x505ee1(0x24b)];this['disposeWithMe'](_0x40c8d9[_0x505ee1(0x45f)]([this[_0x505ee1(0x409)][_0x505ee1(0x2f6)](_0x1360c1),this[_0x505ee1(0x481)]['currentTheme$']])[_0x505ee1(0x4b4)](_0xfd004d[_0x505ee1(0x3bc)](([_0x2ad2b5,_0x7a24e6])=>({'skeleton':_0x538ae2['getSkeleton'](),'cursors':[..._0x2ad2b5[_0x505ee1(0x4ce)]()][_0x505ee1(0x5b9)](_0x283184=>({..._0x283184,'color':_0x7a24e6[_0x283184['color']]}))})))[_0x505ee1(0x543)](_0x12289a=>{const _0x543b74=_0x505ee1;if(this[_0x543b74(0x251)](),_0x12289a){const {skeleton:_0x5d3ecd,cursors:_0x4d4ee8}=_0x12289a;this[_0x543b74(0x3b2)](_0x5d3ecd,_0x4d4ee8);}})),this[_0x505ee1(0x2f0)](),this[_0x505ee1(0x3ec)]();}['_updateCollabCursors'](_0x4ff5a4,_0x2c5316){const _0x1ac990=_0x2a4c41,{scene:_0x33220b,mainComponent:_0x4bd2b8}=this[_0x1ac990(0x522)],_0x1b7937=_0x2c5316[_0x1ac990(0x3bc)](_0x18f9a2=>new _0x1f900c(_0x18f9a2,_0x33220b,_0x4ff5a4,_0x4bd2b8));this[_0x1ac990(0x357)]=_0x1b7937,this[_0x1ac990(0x4eb)]=_0x2c5316;}['_refreshCollabCursors'](){const _0x3094b4=_0x2a4c41;this[_0x3094b4(0x251)]();const {scene:_0x197232,mainComponent:_0x206b95}=this[_0x3094b4(0x522)],_0x21ea0c=this['_docSkeletonManagerService']['getSkeleton'](),_0x5cfcf2=this['_cursors'][_0x3094b4(0x3bc)](_0x3ac2c3=>new _0x1f900c(_0x3ac2c3,_0x197232,_0x21ea0c,_0x206b95));this['_cursorShapes']=_0x5cfcf2;}[_0x2a4c41(0x251)](){const _0x209693=_0x2a4c41;this['_cursorShapes'][_0x209693(0x3f5)](_0xb7ae02=>_0xb7ae02['dispose']()),this['_cursorShapes']=[];}[_0x2a4c41(0x3ec)](){const _0x136e4b=_0x2a4c41,_0x2d5e76=[_0x43047a[_0x136e4b(0x582)]['id']];this['disposeWithMe'](this['_commandService'][_0x136e4b(0x5d4)](_0x215ac7=>{const _0xf5d1be=_0x136e4b;_0x2d5e76[_0xf5d1be(0x2db)](_0x215ac7['id'])&&_0x215ac7[_0xf5d1be(0x44a)][_0xf5d1be(0x222)]===this[_0xf5d1be(0x522)]['unitId']&&this[_0xf5d1be(0x2fb)]();}));}[_0x2a4c41(0x2f0)](){const _0x5f21cf=_0x2a4c41;this[_0x5f21cf(0x594)](_0x42e035['fromEventSubject'](this['_context'][_0x5f21cf(0x452)][_0x5f21cf(0x364)])[_0x5f21cf(0x4b4)](_0xfd004d[_0x5f21cf(0x45c)](_0x25d47a=>_0x25d47a[_0x5f21cf(0x348)]===_0x7f7413[_0x5f21cf(0x5b6)]['resize']),_0xfd004d[_0x5f21cf(0x1cd)](0x10))[_0x5f21cf(0x543)](()=>{const _0x1f5748=_0x5f21cf;this[_0x1f5748(0x2fb)]();}));}};_0x5b426f=_0x444e80([_0x44ea6d(0x1,_0x42e035[_0x2a4c41(0x29d)](_0x50c98c[_0x2a4c41(0x23a)])),_0x44ea6d(0x2,_0x42e035[_0x2a4c41(0x29d)](_0x16fe18)),_0x44ea6d(0x3,_0x42e035[_0x2a4c41(0x219)]),_0x44ea6d(0x4,_0x42e035[_0x2a4c41(0x29d)](_0x42e035[_0x2a4c41(0x2e8)]))],_0x5b426f);const _0x2ed4d5=0x1,_0x1fef48=1.5;class _0x34d446 extends _0x7f7413[_0x2a4c41(0x498)]{constructor(_0x124eaa,_0x593494){const _0x2ff4ec=_0x2a4c41;super(_0x124eaa,_0x593494),_0x3a0856(this,_0x2ff4ec(0x5ba)),_0x3a0856(this,_0x2ff4ec(0x2ae),!0x1),_0x3a0856(this,_0x2ff4ec(0x571)),_0x3a0856(this,_0x2ff4ec(0x204),''),_0x3a0856(this,_0x2ff4ec(0x53b),_0x2ff4ec(0x563)),_0x3a0856(this,_0x2ff4ec(0x552)),(_0x593494&&this['setShapeProps'](_0x593494),this['onPointerEnter$'][_0x2ff4ec(0x1ac)](()=>this[_0x2ff4ec(0x404)]({'hovered':!0x0})),this[_0x2ff4ec(0x1c1)]['subscribeEvent'](()=>this[_0x2ff4ec(0x404)]({'hovered':!0x1})));}[_0x2a4c41(0x404)](_0x50a10a){const _0x1b8c28=_0x2a4c41;var _0x3dfb23,_0x1b2dbb,_0x4c48b2,_0x4a3c16,_0x467f37,_0x24d732;this['_color']=(_0x3dfb23=_0x50a10a[_0x1b8c28(0x3f9)])!=null?_0x3dfb23:this[_0x1b8c28(0x5ba)],this['_hovered']=(_0x1b2dbb=_0x50a10a[_0x1b8c28(0x4af)])!=null?_0x1b2dbb:this[_0x1b8c28(0x2ae)],this[_0x1b8c28(0x571)]=(_0x4c48b2=_0x50a10a[_0x1b8c28(0x58a)])!=null?_0x4c48b2:this[_0x1b8c28(0x571)],this[_0x1b8c28(0x204)]=(_0x4a3c16=_0x50a10a[_0x1b8c28(0x362)])!=null?_0x4a3c16:this[_0x1b8c28(0x204)],this[_0x1b8c28(0x53b)]=(_0x467f37=_0x50a10a[_0x1b8c28(0x30d)])!=null?_0x467f37:this[_0x1b8c28(0x53b)],this[_0x1b8c28(0x552)]=(_0x24d732=_0x50a10a[_0x1b8c28(0x414)])!=null?_0x24d732:this[_0x1b8c28(0x552)],this[_0x1b8c28(0x3e7)]({'width':_0x50a10a[_0x1b8c28(0x450)],'height':_0x50a10a['height']});}[_0x2a4c41(0x244)](_0x2c338a){const _0x9f96c5=_0x2a4c41,{row:_0x427bf9,column:_0x490945}=_0x2c338a;if(_0x427bf9>=this[_0x9f96c5(0x571)][_0x9f96c5(0x44c)]&&_0x427bf9<=this[_0x9f96c5(0x571)][_0x9f96c5(0x433)]&&_0x490945>=this[_0x9f96c5(0x571)][_0x9f96c5(0x41c)]&&_0x490945<=this[_0x9f96c5(0x571)]['endColumn']){this[_0x9f96c5(0x404)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}[_0x2a4c41(0x39f)](_0xd5f8a4){return!0x1;}[_0x2a4c41(0x1fa)](_0x3bf4c5){const _0x1078a9=_0x2a4c41;_0x7f7413['Rect'][_0x1078a9(0x4fd)](_0x3bf4c5,{'width':this['width'],'height':this[_0x1078a9(0x521)],'strokeWidth':_0x1fef48,'stroke':this[_0x1078a9(0x5ba)],'evented':!0x1,'fill':this[_0x1078a9(0x552)]}),this[_0x1078a9(0x2ae)]&&(_0x3bf4c5['save'](),_0x3bf4c5[_0x1078a9(0x47f)](0x1,0x0,0x0,0x1,this[_0x1078a9(0x450)],this[_0x1078a9(0x53b)]==='bottom'?0x0:-_0x327dd2),_0x26d1ac[_0x1078a9(0x4fd)](_0x3bf4c5,{'text':this[_0x1078a9(0x204)],'color':this['_color']}),_0x3bf4c5[_0x1078a9(0x382)]());}}var _0x191d7c=Object[_0x2a4c41(0x38e)],_0x21e277=Object[_0x2a4c41(0x317)],_0x1fe64f=(_0x49047b,_0x41e24b,_0x319455,_0x1a2d99)=>{const _0x2ee95c=_0x2a4c41;for(var _0x36e356=_0x1a2d99>0x1?void 0x0:_0x1a2d99?_0x21e277(_0x41e24b,_0x319455):_0x41e24b,_0x147f21=_0x49047b[_0x2ee95c(0x250)]-0x1,_0x427080;_0x147f21>=0x0;_0x147f21--)(_0x427080=_0x49047b[_0x147f21])&&(_0x36e356=(_0x1a2d99?_0x427080(_0x41e24b,_0x319455,_0x36e356):_0x427080(_0x36e356))||_0x36e356);return _0x1a2d99&&_0x36e356&&_0x191d7c(_0x41e24b,_0x319455,_0x36e356),_0x36e356;},_0x47c633=(_0x27e1e5,_0x1219a7)=>(_0x501b7e,_0x4a3112)=>_0x1219a7(_0x501b7e,_0x4a3112,_0x27e1e5);const _0xe6c380=0x1389;let _0x1d618f=class extends _0x42e035[_0x2a4c41(0x43e)]{constructor(_0x592a61,_0x1873c0,_0x4967dd,_0x1260ef){const _0x506b56=_0x2a4c41;super(),_0x3a0856(this,_0x506b56(0x4eb),new Set()),_0x3a0856(this,_0x506b56(0x593),null),(this[_0x506b56(0x522)]=_0x592a61,this[_0x506b56(0x353)]=_0x1873c0,this['_collabCursorController']=_0x4967dd,this[_0x506b56(0x481)]=_0x1260ef,this['_init']());}['_init'](){const _0x24a861=_0x2a4c41;this['_sheetSkeletonManagerService'][_0x24a861(0x215)][_0x24a861(0x4b4)](_0xfd004d[_0x24a861(0x1ed)](this[_0x24a861(0x311)]),_0xfd004d['switchMap'](_0x1552ea=>{const _0x4bab9d=_0x24a861;if(_0x1552ea){const _0xe03872=_0x1552ea['sheetId'];return _0x40c8d9[_0x4bab9d(0x45f)](this[_0x4bab9d(0x409)]['getCollabCursors$'](this[_0x4bab9d(0x522)]['unitId']),this[_0x4bab9d(0x481)][_0x4bab9d(0x5a1)])['pipe'](_0xfd004d[_0x4bab9d(0x3bc)](([_0x4d2ded,_0x4bcd1e])=>{const _0x36259d=_0x4bab9d,_0x2ea456=new Map();return _0x4d2ded[_0x36259d(0x3f5)]((_0x367a36,_0x1a7545)=>{const _0x132c93=_0x36259d;if(_0x367a36[_0x132c93(0x483)]===_0xe03872){const _0x2fade1={..._0x367a36};_0x2fade1[_0x132c93(0x3f9)]=_0x4bcd1e[_0x367a36[_0x132c93(0x3f9)]],_0x2ea456[_0x132c93(0x1c0)](_0x1a7545,_0x2fade1);}}),{'skeleton':_0x1552ea,'cursors':_0x2ea456};}));}return _0x40c8d9['of']({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x177730,cursors:_0x32b34e})=>{const _0x36e911=_0x24a861;this['_removeCollabCursors'](),_0x177730&&this[_0x36e911(0x3b2)](_0x177730,_0x32b34e);}),this[_0x24a861(0x353)][_0x24a861(0x215)][_0x24a861(0x543)](_0x38fc83=>{const _0x5623e6=_0x24a861;if(_0x38fc83==null)return;const {skeleton:_0x396989}=_0x38fc83,{scene:_0x52a2ab}=this[_0x5623e6(0x522)];_0x52a2ab[_0x5623e6(0x22c)][_0x5623e6(0x1ac)](_0x42e035['debounce'](_0x1e2c7f=>{const _0x13e3e2=_0x5623e6;var _0x4722b7,_0x2e9467;const {offsetX:_0x334071,offsetY:_0x21eb15}=_0x1e2c7f,{x:_0x62fa76,y:_0x50ca47}=_0x52a2ab[_0x13e3e2(0x3b6)](_0x7f7413[_0x13e3e2(0x40c)][_0x13e3e2(0x4f8)]([_0x334071,_0x21eb15])),{scaleX:_0x442f88,scaleY:_0x4c79bd}=_0x52a2ab['getAncestorScale'](),_0x17cefb=_0x52a2ab[_0x13e3e2(0x401)](_0x29357b[_0x13e3e2(0x40b)][_0x13e3e2(0x1b2)]),_0x37d33e=_0x52a2ab[_0x13e3e2(0x491)](_0x7f7413[_0x13e3e2(0x40c)][_0x13e3e2(0x4f8)]([_0x62fa76,_0x50ca47]),_0x17cefb),_0x26a689=_0x396989[_0x13e3e2(0x4c3)](_0x334071,_0x21eb15,_0x442f88,_0x4c79bd,_0x37d33e);((_0x4722b7=this[_0x13e3e2(0x593)])==null?void 0x0:_0x4722b7[_0x13e3e2(0x1d1)])===_0x26a689[_0x13e3e2(0x1d1)]&&((_0x2e9467=this['_lastPointer'])==null?void 0x0:_0x2e9467[_0x13e3e2(0x1b6)])===_0x26a689[_0x13e3e2(0x1b6)]||this['_cursors']['forEach'](_0x55dd43=>{_0x55dd43['onMouseMove'](_0x26a689);});},0x64));});}[_0x2a4c41(0x3b2)](_0xe6e190,_0x6a775e){const _0x2c4ad8=_0x2a4c41;var _0x2863c7;const _0x3f595a=(_0x2863c7=this['_sheetSkeletonManagerService']['getCurrent']())==null?void 0x0:_0x2863c7['skeleton'];if(!_0x3f595a)return;const _0x7e1090=this[_0x2c4ad8(0x32e)]();if(!_0x7e1090)return;this[_0x2c4ad8(0x4eb)][_0x2c4ad8(0x3f5)](_0x4bd817=>{const _0x126a53=_0x2c4ad8;_0x4bd817[_0x126a53(0x56b)]();});const {scene:_0xd8af}=_0x7e1090,_0x5f0167=_0x21c437(Array[_0x2c4ad8(0x27e)](_0x6a775e[_0x2c4ad8(0x4ce)]()))[_0x2c4ad8(0x3bc)](_0x83f59e=>{const _0x2b4e87=_0x2c4ad8,{color:_0x3f6401,range:_0x45e9ed,name:_0x555259,selection:_0x62285f,sheetID:_0x387305}=_0x83f59e,{startColumn:_0x4be348,startRow:_0x4a0017,endColumn:_0x40f55e,endRow:_0x485eed}=_0x45e9ed,_0x582088=_0x29357b[_0x2b4e87(0x367)](_0x4a0017,_0x4be348,_0xd8af,_0x3f595a),_0x597876=_0x29357b['getCoordByCell'](_0x485eed,_0x40f55e,_0xd8af,_0x3f595a),{columnHeaderHeightAndMarginTop:_0x5993fd}=_0x3f595a,{startX:_0x1fc7b4,startY:_0x543610}=_0x582088,{endX:_0x1b4963,endY:_0x4cf3d0}=_0x597876,_0x1fe5d0=_0x1b4963-_0x1fc7b4,_0x494ff8=_0x4cf3d0-_0x543610,_0x4040d3={'labelPosition':_0x543610-_0x5993fd>=_0x327dd2?_0x2b4e87(0x563):_0x2b4e87(0x544),'sheetID':_0x387305,'range':_0x45e9ed,'color':_0x3f6401,'name':_0x555259,'selection':_0x62285f,'left':_0x1fc7b4,'top':_0x543610,'width':_0x1fe5d0,'height':_0x494ff8,'evented':!0x1,'zIndex':_0xe6c380};return new _0x34d446(_0x555259,_0x4040d3);});_0xd8af[_0x2c4ad8(0x5d3)](_0x5f0167,_0x2ed4d5),this[_0x2c4ad8(0x4eb)]=new Set(_0x5f0167);}[_0x2a4c41(0x251)](){const _0x4ecd68=_0x2a4c41;var _0x14db6e;(_0x14db6e=this[_0x4ecd68(0x4eb)])==null||_0x14db6e[_0x4ecd68(0x3f5)](_0x464830=>_0x464830[_0x4ecd68(0x4f9)]());}[_0x2a4c41(0x32e)](){const _0xbbcaa=_0x2a4c41;return _0x29357b[_0xbbcaa(0x359)](this[_0xbbcaa(0x522)]['unit'],this[_0xbbcaa(0x522)]);}};_0x1d618f=_0x1fe64f([_0x47c633(0x1,_0x42e035[_0x2a4c41(0x29d)](_0x29357b['SheetSkeletonManagerService'])),_0x47c633(0x2,_0x42e035[_0x2a4c41(0x29d)](_0x16fe18)),_0x47c633(0x3,_0x42e035[_0x2a4c41(0x29d)](_0x42e035[_0x2a4c41(0x2e8)]))],_0x1d618f);function _0x21c437(_0x2696d2){const _0xc31ba3=_0x2a4c41,_0x429d2d=new Map();return _0x2696d2[_0xc31ba3(0x3f5)](_0x26345b=>{const _0x473708=_0xc31ba3;if(_0x429d2d['has'](_0x26345b[_0x473708(0x2e7)])){const _0x1396e5=_0x429d2d['get'](_0x26345b[_0x473708(0x2e7)]);_0x1396e5[_0x473708(0x362)]+=',\x20'+_0x26345b[_0x473708(0x362)];}else _0x429d2d[_0x473708(0x1c0)](_0x26345b[_0x473708(0x2e7)],_0x26345b);}),Array[_0xc31ba3(0x27e)](_0x429d2d['values']());}var _0x215076=function(){const _0x2093a6=_0x2a4c41;return _0x215076=Object['assign']||function(_0x2db52b){const _0x1655fa=_0x5025;for(var _0x33f728,_0x203d79=0x1,_0x45bbdb=arguments[_0x1655fa(0x250)];_0x203d79<_0x45bbdb;_0x203d79++){_0x33f728=arguments[_0x203d79];for(var _0xd7101e in _0x33f728)Object[_0x1655fa(0x38f)][_0x1655fa(0x3be)][_0x1655fa(0x27a)](_0x33f728,_0xd7101e)&&(_0x2db52b[_0xd7101e]=_0x33f728[_0xd7101e]);}return _0x2db52b;},_0x215076[_0x2093a6(0x5cc)](this,arguments);},_0x542182=function(_0x38c738,_0x27d297){const _0x5eecdc=_0x2a4c41;var _0x2b7c2d={};for(var _0x5744c1 in _0x38c738)Object['prototype'][_0x5eecdc(0x3be)]['call'](_0x38c738,_0x5744c1)&&_0x27d297['indexOf'](_0x5744c1)<0x0&&(_0x2b7c2d[_0x5744c1]=_0x38c738[_0x5744c1]);if(_0x38c738!=null&&typeof Object[_0x5eecdc(0x398)]==_0x5eecdc(0x574)){for(var _0x3a6f29=0x0,_0x5744c1=Object['getOwnPropertySymbols'](_0x38c738);_0x3a6f29<_0x5744c1[_0x5eecdc(0x250)];_0x3a6f29++)_0x27d297['indexOf'](_0x5744c1[_0x3a6f29])<0x0&&Object[_0x5eecdc(0x38f)][_0x5eecdc(0x20f)][_0x5eecdc(0x27a)](_0x38c738,_0x5744c1[_0x3a6f29])&&(_0x2b7c2d[_0x5744c1[_0x3a6f29]]=_0x38c738[_0x5744c1[_0x3a6f29]]);}return _0x2b7c2d;},_0x1c62ec=_0xe67cb[_0x2a4c41(0x42f)](function(_0x25f1d6,_0x58e792){const _0x2acadc=_0x2a4c41;var _0x2b0bf0=_0x25f1d6[_0x2acadc(0x27c)],_0x265534=_0x25f1d6['id'],_0x13f931=_0x25f1d6[_0x2acadc(0x261)],_0x597e5=_0x25f1d6[_0x2acadc(0x268)],_0x29d468=_0x542182(_0x25f1d6,[_0x2acadc(0x27c),'id',_0x2acadc(0x261),'extend']),_0x575e2b=_0x2acadc(0x2d1)[_0x2acadc(0x31b)](_0x265534,'\x20')[_0x2acadc(0x31b)](_0x13f931||'')[_0x2acadc(0x2d4)](),_0x5b4085=_0xe67cb[_0x2acadc(0x453)]('_'[_0x2acadc(0x31b)](_0x2d8d6e()));return _0x2dae6d(_0x2b0bf0,''[_0x2acadc(0x31b)](_0x265534),{'defIds':_0x2b0bf0[_0x2acadc(0x1cc)],'idSuffix':_0x5b4085[_0x2acadc(0x1b8)]},_0x215076({'ref':_0x58e792,'className':_0x575e2b},_0x29d468),_0x597e5);});function _0x2dae6d(_0x3e4653,_0x177ed7,_0x2097bb,_0x3940ad,_0x41ed50){const _0x2deddc=_0x2a4c41;return _0xe67cb['createElement'](_0x3e4653[_0x2deddc(0x3d1)],_0x215076(_0x215076({'key':_0x177ed7},_0x372d0f(_0x3e4653,_0x2097bb,_0x41ed50)),_0x3940ad),(_0x159402(_0x3e4653,_0x2097bb)[_0x2deddc(0x2ad)]||[])[_0x2deddc(0x3bc)](function(_0x101fad,_0x3160c2){const _0x58f753=_0x2deddc;return _0x2dae6d(_0x101fad,''['concat'](_0x177ed7,'-')[_0x58f753(0x31b)](_0x3e4653[_0x58f753(0x3d1)],'-')[_0x58f753(0x31b)](_0x3160c2),_0x2097bb,void 0x0,_0x41ed50);}));}function _0x372d0f(_0xfbd6b8,_0x2b3661,_0x48972f){const _0x4b6c06=_0x2a4c41;var _0x2b3c4e=_0x215076({},_0xfbd6b8[_0x4b6c06(0x225)]);_0x48972f!=null&&_0x48972f[_0x4b6c06(0x1aa)]&&_0x2b3c4e[_0x4b6c06(0x547)]==='colorChannel1'&&(_0x2b3c4e[_0x4b6c06(0x547)]=_0x48972f['colorChannel1']);var _0x1b1185=_0x2b3661[_0x4b6c06(0x1cc)];return!_0x1b1185||_0x1b1185[_0x4b6c06(0x250)]===0x0||(_0xfbd6b8[_0x4b6c06(0x3d1)]===_0x4b6c06(0x24d)&&_0x2b3c4e['xlink:href']&&(_0x2b3c4e[_0x4b6c06(0x36a)]=_0x2b3c4e[_0x4b6c06(0x36a)]+_0x2b3661[_0x4b6c06(0x477)]),Object[_0x4b6c06(0x595)](_0x2b3c4e)[_0x4b6c06(0x3f5)](function(_0x540aaa){const _0x5b6843=_0x4b6c06;var _0x40d354=_0x540aaa[0x0],_0x509a6f=_0x540aaa[0x1];typeof _0x509a6f==_0x5b6843(0x391)&&(_0x2b3c4e[_0x40d354]=_0x509a6f[_0x5b6843(0x24f)](/url\(#(.*)\)/,_0x5b6843(0x3e1)[_0x5b6843(0x31b)](_0x2b3661[_0x5b6843(0x477)],')')));})),_0x2b3c4e;}function _0x159402(_0x232743,_0x42202){const _0x31a63e=_0x2a4c41;var _0x383260,_0xb0d3c5=_0x42202[_0x31a63e(0x1cc)];return!_0xb0d3c5||_0xb0d3c5['length']===0x0?_0x232743:_0x232743[_0x31a63e(0x3d1)]===_0x31a63e(0x23b)&&(!((_0x383260=_0x232743[_0x31a63e(0x2ad)])===null||_0x383260===void 0x0)&&_0x383260[_0x31a63e(0x250)])?_0x215076(_0x215076({},_0x232743),{'children':_0x232743[_0x31a63e(0x2ad)]['map'](function(_0x1ff013){const _0x45afd5=_0x31a63e;return typeof _0x1ff013[_0x45afd5(0x225)]['id']=='string'&&_0xb0d3c5&&_0xb0d3c5[_0x45afd5(0x437)](_0x1ff013['attrs']['id'])>-0x1?_0x215076(_0x215076({},_0x1ff013),{'attrs':_0x215076(_0x215076({},_0x1ff013[_0x45afd5(0x225)]),{'id':_0x1ff013[_0x45afd5(0x225)]['id']+_0x42202[_0x45afd5(0x477)]})}):_0x1ff013;})}):_0x232743;}function _0x2d8d6e(){const _0x452c64=_0x2a4c41;return Math[_0x452c64(0x280)]()[_0x452c64(0x3ef)](0x24)[_0x452c64(0x4ab)](0x2,0x8);}_0x1c62ec[_0x2a4c41(0x43a)]=_0x2a4c41(0x1c8);var _0x43f381={'tag':_0x2a4c41(0x389),'attrs':{'fill':'none','viewBox':_0x2a4c41(0x429),'width':_0x2a4c41(0x1f2),'height':_0x2a4c41(0x1f2)},'children':[{'tag':'g','attrs':{'clipPath':_0x2a4c41(0x588)},'children':[{'tag':_0x2a4c41(0x231),'attrs':{'stroke':'currentColor','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':_0x2a4c41(0x5c6),'strokeLinejoin':_0x2a4c41(0x5c6),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x2a4c41(0x4ec),'attrs':{'id':_0x2a4c41(0x2c6)},'children':[{'tag':_0x2a4c41(0x231),'attrs':{'fill':'#fff','d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x2a4c41(0x2c6)]},_0x26d5e6=_0xe67cb[_0x2a4c41(0x42f)](function(_0x519c84,_0x565409){const _0x2ba3bf=_0x2a4c41;return _0xe67cb[_0x2ba3bf(0x5ad)](_0x1c62ec,Object[_0x2ba3bf(0x556)]({},_0x519c84,{'id':_0x2ba3bf(0x396),'ref':_0x565409,'icon':_0x43f381}));});_0x26d5e6[_0x2a4c41(0x43a)]=_0x2a4c41(0x2e5);var _0x46925f={'tag':_0x2a4c41(0x389),'attrs':{'fill':_0x2a4c41(0x3d2),'viewBox':_0x2a4c41(0x3fd),'width':_0x2a4c41(0x1f2),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x2a4c41(0x3b3)},'children':[{'tag':'path','attrs':{'stroke':_0x2a4c41(0x478),'d':_0x2a4c41(0x4d2),'strokeLinecap':_0x2a4c41(0x5c6),'strokeLinejoin':_0x2a4c41(0x5c6),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x2a4c41(0x4ec),'attrs':{'id':'on-line-single_clip0_910_349'},'children':[{'tag':'path','attrs':{'fill':_0x2a4c41(0x48a),'d':'M0\x200H16V16H0z','transform':_0x2a4c41(0x52e)}}]}]}],'defIds':[_0x2a4c41(0x29e)]},_0x288c67=_0xe67cb['forwardRef'](function(_0x3e824b,_0x42378a){const _0x399956=_0x2a4c41;return _0xe67cb[_0x399956(0x5ad)](_0x1c62ec,Object[_0x399956(0x556)]({},_0x3e824b,{'id':_0x399956(0x4d3),'ref':_0x42378a,'icon':_0x46925f}));});_0x288c67['displayName']=_0x2a4c41(0x220);function _0x67ec3a(_0x250bd1){const _0x459e72=_0x2a4c41;var _0x32e628,_0x132c99,_0x5a3112='';if(typeof _0x250bd1==_0x459e72(0x391)||typeof _0x250bd1==_0x459e72(0x57e))_0x5a3112+=_0x250bd1;else{if(typeof _0x250bd1=='object'){if(Array[_0x459e72(0x1a8)](_0x250bd1)){var _0x18f48a=_0x250bd1[_0x459e72(0x250)];for(_0x32e628=0x0;_0x32e628<_0x18f48a;_0x32e628++)_0x250bd1[_0x32e628]&&(_0x132c99=_0x67ec3a(_0x250bd1[_0x32e628]))&&(_0x5a3112&&(_0x5a3112+='\x20'),_0x5a3112+=_0x132c99);}else{for(_0x132c99 in _0x250bd1)_0x250bd1[_0x132c99]&&(_0x5a3112&&(_0x5a3112+='\x20'),_0x5a3112+=_0x132c99);}}}return _0x5a3112;}function _0x415f17(){const _0x426e2c=_0x2a4c41;for(var _0x28dd41,_0x19edf1,_0xbe81c3=0x0,_0x54899c='',_0x36b448=arguments[_0x426e2c(0x250)];_0xbe81c3<_0x36b448;_0xbe81c3++)(_0x28dd41=arguments[_0xbe81c3])&&(_0x19edf1=_0x67ec3a(_0x28dd41))&&(_0x54899c&&(_0x54899c+='\x20'),_0x54899c+=_0x19edf1);return _0x54899c;}const _0x26f3c9={'onlineStatusIcon':'univer-online-status-icon','onlineStatusTitle':_0x2a4c41(0x1d6),'onlineStatus':_0x2a4c41(0x48d),'online':'univer-online','offline':_0x2a4c41(0x2c4)};function _0x425411(_0x5ab3f9){const _0x141be6=_0x2a4c41;switch(_0x5ab3f9){case _0x115871[_0x141be6(0x31c)]:return _0x141be6(0x3d4);case _0x115871['CONFLICT']:return _0x141be6(0x2c7);case _0x115871['FETCH_MISS']:return _0x141be6(0x3db);case _0x115871[_0x141be6(0x485)]:return'collabStatus.notCollab';case _0x115871['PENDING']:case _0x115871[_0x141be6(0x3c9)]:case _0x115871[_0x141be6(0x40e)]:return _0x141be6(0x442);case _0x115871[_0x141be6(0x4d1)]:return _0x141be6(0x210);}}function _0x354f89(_0xed460b){const _0x182657=_0x2a4c41,{status$:_0x2e4f83}=_0xed460b,_0x3732e4=_0x576301[_0x182657(0x2aa)](_0x2e4f83,_0x115871[_0x182657(0x485)]),_0x315f8e=_0x42e035[_0x182657(0x3f3)](_0x42e035[_0x182657(0x39c)]),_0x12ffde=_0x42e035['useDependency'](_0x119e5f['CollaborationSessionService']),_0x925eea=_0x3732e4!==_0x115871['OFFLINE'],_0x3f0121=_0x315f8e['t'](_0x425411(_0x3732e4)),_0x81726d=_0x415f17(_0x26f3c9['onlineStatus'],{[_0x26f3c9[_0x182657(0x1eb)]]:_0x925eea,[_0x26f3c9[_0x182657(0x497)]]:!_0x925eea}),_0x6a3dd7=_0x925eea?_0xe67cb[_0x182657(0x5ad)](_0x288c67,null):_0xe67cb[_0x182657(0x5ad)](_0x26d5e6,null),_0x284e23=_0xe67cb[_0x182657(0x487)](()=>{const _0xd15661=_0x182657;_0x925eea||_0x12ffde[_0xd15661(0x1bb)]();},[_0x925eea,_0x12ffde]);function _0x5601a3(){const _0x5a1ec8=_0x182657;return _0xe67cb[_0x5a1ec8(0x5ad)]('div',{'className':_0x81726d,'onClick':_0x284e23},_0xe67cb[_0x5a1ec8(0x5ad)](_0x5a1ec8(0x4ea),{'className':_0x26f3c9[_0x5a1ec8(0x1f8)]},_0x6a3dd7),_0xe67cb[_0x5a1ec8(0x5ad)](_0x5a1ec8(0x4ea),{'className':_0x26f3c9[_0x5a1ec8(0x525)]},_0x3f0121));}return _0x925eea?_0x5601a3():_0xe67cb[_0x182657(0x5ad)](_0x25691d['Tooltip'],{'title':_0x315f8e['t'](_0x182657(0x428))},_0x5601a3());}var _0x3ddaf0=Object[_0x2a4c41(0x38e)],_0x301553=Object['getOwnPropertyDescriptor'],_0x13b803=(_0x20aa47,_0x1aeaba,_0x25ab26,_0x57da35)=>{const _0x22e3fe=_0x2a4c41;for(var _0x2890c2=_0x57da35>0x1?void 0x0:_0x57da35?_0x301553(_0x1aeaba,_0x25ab26):_0x1aeaba,_0x287a7e=_0x20aa47[_0x22e3fe(0x250)]-0x1,_0x5d093f;_0x287a7e>=0x0;_0x287a7e--)(_0x5d093f=_0x20aa47[_0x287a7e])&&(_0x2890c2=(_0x57da35?_0x5d093f(_0x1aeaba,_0x25ab26,_0x2890c2):_0x5d093f(_0x2890c2))||_0x2890c2);return _0x57da35&&_0x2890c2&&_0x3ddaf0(_0x1aeaba,_0x25ab26,_0x2890c2),_0x2890c2;},_0x303e91=(_0x47ef8d,_0xe4c08a)=>(_0xbf9a82,_0x4a56d0)=>_0xe4c08a(_0xbf9a82,_0x4a56d0,_0x47ef8d);_0x119e5f['DesktopCollaborationStatusDisplayController']=class extends _0x42e035['Disposable']{constructor(_0x434a92,_0x5c273a,_0x3ebb64,_0x310c12){const _0x31281f=_0x2a4c41;super(),_0x3a0856(this,_0x31281f(0x592),new _0x40c8d9['BehaviorSubject'](_0x115871[_0x31281f(0x485)])),(this[_0x31281f(0x3b9)]=_0x434a92,this[_0x31281f(0x575)]=_0x5c273a,this[_0x31281f(0x1a2)]=_0x3ebb64,this[_0x31281f(0x4ff)]=_0x310c12,this[_0x31281f(0x1dc)](),this[_0x31281f(0x394)]());}[_0x2a4c41(0x394)](){const _0x44b6d4=_0x2a4c41;this[_0x44b6d4(0x594)](this[_0x44b6d4(0x3b9)][_0x44b6d4(0x3e6)][_0x44b6d4(0x4b4)](_0x40c8d9[_0x44b6d4(0x57b)](()=>{const _0x3108f2=_0x44b6d4,_0x43ea42=this[_0x3108f2(0x3b9)][_0x3108f2(0x5ce)]();return _0x43ea42?this[_0x3108f2(0x4ff)][_0x3108f2(0x4bb)](_0x43ea42[_0x3108f2(0x506)]()):_0x40c8d9['of'](null);}),_0x40c8d9['switchMap'](_0x1c48d5=>_0x1c48d5?_0x1c48d5[_0x44b6d4(0x50b)]:_0x40c8d9['of'](_0x115871[_0x44b6d4(0x485)])))[_0x44b6d4(0x543)](_0x491163=>{const _0x26913f=_0x44b6d4;this[_0x26913f(0x592)]['next'](_0x491163);}));}['_initStatusComponent'](){const _0xf779c2=_0x2a4c41;this[_0xf779c2(0x594)](this[_0xf779c2(0x575)][_0xf779c2(0x3ba)](_0x576301[_0xf779c2(0x460)][_0xf779c2(0x3c8)],()=>_0x42e035['connectInjector'](_0x2be817({'status$':this['_status$'][_0xf779c2(0x2dd)]()}),this['_injector'])));}},_0x119e5f['DesktopCollaborationStatusDisplayController']=_0x13b803([_0x303e91(0x0,_0x42e035[_0x2a4c41(0x281)]),_0x303e91(0x1,_0x576301['IUIPartsService']),_0x303e91(0x2,_0x42e035['Inject'](_0x42e035['Injector'])),_0x303e91(0x3,_0x42e035[_0x2a4c41(0x29d)](_0x119e5f['CollaborationController']))],_0x119e5f[_0x2a4c41(0x529)]);function _0x2be817(_0x428e8e){const {status$:_0x1f2d73}=_0x428e8e;return function(){const _0xbe4c49=_0x5025;return _0xe67cb[_0xbe4c49(0x5ad)](_0x354f89,{'status$':_0x1f2d73});};}const _0x462fee=_0x42e035[_0x2a4c41(0x2c9)](_0x2a4c41(0x30a));var _0x31baf3=Object[_0x2a4c41(0x38e)],_0x360190=Object[_0x2a4c41(0x317)],_0x4ce711=(_0x494a03,_0x592512,_0x555d65,_0x479932)=>{for(var _0x361ece=_0x479932>0x1?void 0x0:_0x479932?_0x360190(_0x592512,_0x555d65):_0x592512,_0x5d506b=_0x494a03['length']-0x1,_0x499d36;_0x5d506b>=0x0;_0x5d506b--)(_0x499d36=_0x494a03[_0x5d506b])&&(_0x361ece=(_0x479932?_0x499d36(_0x592512,_0x555d65,_0x361ece):_0x499d36(_0x361ece))||_0x361ece);return _0x479932&&_0x361ece&&_0x31baf3(_0x592512,_0x555d65,_0x361ece),_0x361ece;},_0x1479e8=(_0x41720f,_0x1bb918)=>(_0x2a149d,_0x3c2f03)=>_0x1bb918(_0x2a149d,_0x3c2f03,_0x41720f);_0x119e5f['DataLoaderController']=class extends _0x42e035[_0x2a4c41(0x43e)]{constructor(_0x3053e1,_0x6e98a,_0x243a3b,_0x574639,_0x5ef049,_0x66e811){const _0x43d25b=_0x2a4c41;super(),this[_0x43d25b(0x49a)]=_0x3053e1,this['_logService']=_0x6e98a,this[_0x43d25b(0x369)]=_0x243a3b,this[_0x43d25b(0x52f)]=_0x574639,this[_0x43d25b(0x2f3)]=_0x5ef049,_0x66e811?_0x66e811==null||_0x66e811[_0x43d25b(0x1c7)]()[_0x43d25b(0x4c6)](()=>this[_0x43d25b(0x40a)]()):(this[_0x43d25b(0x1ae)][_0x43d25b(0x4b7)](_0x43d25b(0x22a),_0x43d25b(0x2d5)),this['_init']());}async['_init'](){const _0x26413e=_0x2a4c41,_0x46f15b=this['_urlService'][_0x26413e(0x53f)](_0x26413e(0x363)),_0x329f92=this[_0x26413e(0x49a)][_0x26413e(0x53f)](_0x26413e(0x348));if(!_0x46f15b||!_0x329f92){this[_0x26413e(0x1ae)][_0x26413e(0x4b7)](_0x26413e(0x22a),_0x26413e(0x573));return;}switch(Number(_0x329f92)){case _0x2a3e17[_0x26413e(0x56a)]:{const _0x12deec=await this[_0x26413e(0x312)](_0x46f15b);this[_0x26413e(0x553)](_0x12deec);break;}case _0x2a3e17[_0x26413e(0x441)]:{await this['_loadDoc'](_0x46f15b);break;}default:{this[_0x26413e(0x1ae)]['error']('[DataLoaderController]',_0x26413e(0x31a));break;}}}async[_0x2a4c41(0x553)](_0x2bbd70){const _0x430712=_0x2a4c41;await this[_0x430712(0x466)](_0x2bbd70),_0x2bbd70[_0x430712(0x2f9)][_0x430712(0x4b4)](_0x40c8d9[_0x430712(0x1ed)](this[_0x430712(0x311)]))[_0x430712(0x543)](_0x2d63f8=>{const _0x4ee10b=_0x430712;_0x2d63f8&&this[_0x4ee10b(0x458)](_0x2d63f8);}),this[_0x430712(0x49a)][_0x430712(0x459)]['pipe'](_0x40c8d9['takeUntil'](this[_0x430712(0x311)]))['subscribe'](()=>this[_0x430712(0x466)](_0x2bbd70));}[_0x2a4c41(0x458)](_0x2430a7,_0x4ae011=!0x1){const _0x31aba5=_0x2a4c41,_0x33eb26=this[_0x31aba5(0x49a)][_0x31aba5(0x53f)](_0x31aba5(0x3f7));_0x2430a7[_0x31aba5(0x4d0)]()!==_0x33eb26&&this[_0x31aba5(0x49a)][_0x31aba5(0x457)](_0x31aba5(0x3f7),_0x2430a7['getSheetId'](),_0x4ae011);}async['_updateSubUnitFromURLParams'](_0x3527c9){const _0x2b6d6f=_0x2a4c41;var _0x7a5b96;const _0x49fbe7=this[_0x2b6d6f(0x49a)][_0x2b6d6f(0x53f)](_0x2b6d6f(0x3f7));if(!_0x49fbe7||!_0x3527c9[_0x2b6d6f(0x463)](_0x49fbe7)){const _0x3ba16f=_0x3527c9[_0x2b6d6f(0x1e2)]()[0x0],_0x2e65e2=_0x3527c9[_0x2b6d6f(0x463)](_0x3ba16f);if(!_0x2e65e2)return;this['_updateURLWithCurrentState'](_0x2e65e2,!0x0),await this[_0x2b6d6f(0x369)][_0x2b6d6f(0x3e0)](_0x2d44ec[_0x2b6d6f(0x5a4)]['id'],{'unitId':_0x3527c9[_0x2b6d6f(0x506)](),'subUnitId':_0x3ba16f});return;}((_0x7a5b96=_0x3527c9[_0x2b6d6f(0x531)]())==null?void 0x0:_0x7a5b96['getSheetId']())!==_0x49fbe7&&await this['_commandService'][_0x2b6d6f(0x3e0)](_0x2d44ec[_0x2b6d6f(0x5a4)]['id'],{'unitId':_0x3527c9[_0x2b6d6f(0x506)](),'subUnitId':_0x49fbe7});}async[_0x2a4c41(0x312)](_0x2bd4be){const _0x3b6884=_0x2a4c41;let _0x4eb00e=0x0;const _0x3f78b2=await this['_localCacheService'][_0x3b6884(0x365)](_0x2bd4be);return _0x3f78b2&&(_0x3f78b2[_0x3b6884(0x555)]||_0x3f78b2['mutations'][_0x3b6884(0x250)]!==0x0)&&(_0x4eb00e=_0x3f78b2[_0x3b6884(0x272)]),_0x4eb00e===0x0&&this['_logService'][_0x3b6884(0x4b7)](_0x3b6884(0x22a),_0x3b6884(0x385)),this[_0x3b6884(0x2f3)]['loadSheet'](_0x2bd4be,_0x4eb00e);}async[_0x2a4c41(0x229)](_0x375e55){const _0x1d1f77=_0x2a4c41;let _0x226c64=0x0;const _0x50a68f=await this['_localCacheService'][_0x1d1f77(0x365)](_0x375e55);return _0x50a68f&&(_0x50a68f['awaitingChangeset']||_0x50a68f[_0x1d1f77(0x23d)][_0x1d1f77(0x250)]!==0x0)&&(_0x226c64=_0x50a68f[_0x1d1f77(0x272)]),_0x226c64===0x0&&this[_0x1d1f77(0x1ae)][_0x1d1f77(0x4b7)]('[DataLoaderController]','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x1d1f77(0x2f3)][_0x1d1f77(0x303)](_0x375e55,_0x226c64);}},_0x119e5f[_0x2a4c41(0x54e)]=_0x4ce711([_0x1479e8(0x0,_0x462fee),_0x1479e8(0x1,_0x42e035[_0x2a4c41(0x5ae)]),_0x1479e8(0x2,_0x42e035[_0x2a4c41(0x219)]),_0x1479e8(0x3,_0x42e035[_0x2a4c41(0x29d)](_0x119e5f[_0x2a4c41(0x36c)])),_0x1479e8(0x4,_0x42e035[_0x2a4c41(0x29d)](_0x1a2c53[_0x2a4c41(0x59f)])),_0x1479e8(0x5,_0x42e035[_0x2a4c41(0x569)](_0x22d03b['IRemoteInstanceService']))],_0x119e5f[_0x2a4c41(0x54e)]);var _0x3366f2=Object[_0x2a4c41(0x38e)],_0x36267f=Object[_0x2a4c41(0x317)],_0x4626d7=(_0x47e363,_0x2c8f01,_0x5dda00,_0xa418e0)=>{for(var _0x4914e4=_0xa418e0>0x1?void 0x0:_0xa418e0?_0x36267f(_0x2c8f01,_0x5dda00):_0x2c8f01,_0x577261=_0x47e363['length']-0x1,_0x485a46;_0x577261>=0x0;_0x577261--)(_0x485a46=_0x47e363[_0x577261])&&(_0x4914e4=(_0xa418e0?_0x485a46(_0x2c8f01,_0x5dda00,_0x4914e4):_0x485a46(_0x4914e4))||_0x4914e4);return _0xa418e0&&_0x4914e4&&_0x3366f2(_0x2c8f01,_0x5dda00,_0x4914e4),_0x4914e4;},_0x56c1f7=(_0x2b4ee3,_0xb05a1b)=>(_0x557472,_0x18b8e6)=>_0xb05a1b(_0x557472,_0x18b8e6,_0x2b4ee3);const _0x5a2dfe=_0x2a4c41(0x1d3),_0x426912=_0x2a4c41(0x570);let _0x36737d=class extends _0x42e035[_0x2a4c41(0x5ab)]{constructor(_0x57ef1e,_0x26e5b6){const _0x248438=_0x2a4c41;super(),this['_univerInstanceService']=_0x57ef1e,this['_configService']=_0x26e5b6,this[_0x248438(0x40a)]();}[_0x2a4c41(0x40a)](){const _0x1953e1=_0x2a4c41;this[_0x1953e1(0x594)](this[_0x1953e1(0x3b9)][_0x1953e1(0x3e6)][_0x1953e1(0x543)](()=>{const _0x1c7fb7=_0x1953e1;var _0x13bbd7;const _0x359834=this[_0x1c7fb7(0x3b9)][_0x1c7fb7(0x5ce)]();let _0x11a87c=(_0x13bbd7=this[_0x1c7fb7(0x1ec)]['getConfig'](_0x5a2dfe))!=null?_0x13bbd7:_0x426912;_0x359834 instanceof _0x42e035['Workbook']&&(_0x11a87c=_0x359834['name']),document[_0x1c7fb7(0x431)]=_0x11a87c;}));}};_0x36737d=_0x4626d7([_0x56c1f7(0x0,_0x42e035[_0x2a4c41(0x281)]),_0x56c1f7(0x1,_0x42e035[_0x2a4c41(0x25b)])],_0x36737d);var _0x596985=Object[_0x2a4c41(0x38e)],_0x1135c3=Object[_0x2a4c41(0x317)],_0x111b92=(_0x5c5d4a,_0x46dbf4,_0x6bff66,_0x1a9e82)=>{const _0x1093f0=_0x2a4c41;for(var _0x259b4d=_0x1a9e82>0x1?void 0x0:_0x1a9e82?_0x1135c3(_0x46dbf4,_0x6bff66):_0x46dbf4,_0x1366eb=_0x5c5d4a[_0x1093f0(0x250)]-0x1,_0xb86cf6;_0x1366eb>=0x0;_0x1366eb--)(_0xb86cf6=_0x5c5d4a[_0x1366eb])&&(_0x259b4d=(_0x1a9e82?_0xb86cf6(_0x46dbf4,_0x6bff66,_0x259b4d):_0xb86cf6(_0x259b4d))||_0x259b4d);return _0x1a9e82&&_0x259b4d&&_0x596985(_0x46dbf4,_0x6bff66,_0x259b4d),_0x259b4d;},_0x436ed4=(_0x1972a9,_0x14e4eb)=>(_0x37d7fb,_0x10b7e5)=>_0x14e4eb(_0x37d7fb,_0x10b7e5,_0x1972a9);let _0x1a57cc=class{constructor(_0x2f5d78,_0x11d859,_0x24c654){const _0x52ef88=_0x2a4c41;this[_0x52ef88(0x1ec)]=_0x2f5d78,this[_0x52ef88(0x34d)]=_0x11d859,this[_0x52ef88(0x4c0)]=_0x24c654,this[_0x52ef88(0x223)]();}[_0x2a4c41(0x223)](){const _0x3ad823=_0x2a4c41;this[_0x3ad823(0x34d)]['registerHTTPInterceptor']({'priority':0x1,'interceptor':(_0x5db587,_0x35cf75)=>_0x35cf75(_0x5db587)[_0x3ad823(0x4b4)](_0x40c8d9[_0x3ad823(0x476)](async _0x521029=>{const _0x4e23b0=_0x3ad823,_0x4dcc0d=_0x521029;if(_0x4dcc0d[_0x4e23b0(0x469)]===0x191&&window[_0x4e23b0(0x3ac)](this['localeService']['t'](_0x4e23b0(0x3f6)))){const _0x589138=window['encodeURIComponent'](window[_0x4e23b0(0x39d)][_0x4e23b0(0x288)]);window[_0x4e23b0(0x39d)]['href']=this[_0x4e23b0(0x3dd)]()+'?url='+_0x589138;}return _0x4dcc0d;}))});}[_0x2a4c41(0x3dd)](){const _0x48eb58=_0x2a4c41;var _0x548f2b,_0x4f11ef;const _0x5d74c6=this['_configService']['getConfig'](_0x47525d),_0x131d7d=this[_0x48eb58(0x1ec)]['getConfig'](_0x576146);return(_0x4f11ef=(_0x548f2b=_0x131d7d==null?void 0x0:_0x131d7d[_0x48eb58(0x2e4)])!=null?_0x548f2b:_0x5d74c6)!=null?_0x4f11ef:_0x41dfd9;}};_0x1a57cc=_0x111b92([_0x436ed4(0x0,_0x42e035[_0x2a4c41(0x25b)]),_0x436ed4(0x1,_0x42e035[_0x2a4c41(0x29d)](_0x45f1e1[_0x2a4c41(0x216)])),_0x436ed4(0x2,_0x42e035['Inject'](_0x42e035[_0x2a4c41(0x39c)]))],_0x1a57cc);var _0x310d57=Object[_0x2a4c41(0x38e)],_0x3bec2f=Object[_0x2a4c41(0x317)],_0x20ad47=(_0x1ebd26,_0x1355ee,_0x28d1da,_0x5f0b9b)=>{const _0x27beca=_0x2a4c41;for(var _0x39dc3c=_0x5f0b9b>0x1?void 0x0:_0x5f0b9b?_0x3bec2f(_0x1355ee,_0x28d1da):_0x1355ee,_0x30dcc0=_0x1ebd26[_0x27beca(0x250)]-0x1,_0x156bb0;_0x30dcc0>=0x0;_0x30dcc0--)(_0x156bb0=_0x1ebd26[_0x30dcc0])&&(_0x39dc3c=(_0x5f0b9b?_0x156bb0(_0x1355ee,_0x28d1da,_0x39dc3c):_0x156bb0(_0x39dc3c))||_0x39dc3c);return _0x5f0b9b&&_0x39dc3c&&_0x310d57(_0x1355ee,_0x28d1da,_0x39dc3c),_0x39dc3c;},_0x2b2941=(_0x54cb16,_0x31209f)=>(_0x3d9ee8,_0x55a135)=>_0x31209f(_0x3d9ee8,_0x55a135,_0x54cb16);const _0x17182c='AUTHZ_URL_KEY',_0x554cd5=_0x2a4c41(0x4a6);_0x119e5f[_0x2a4c41(0x322)]=class extends _0x42e035[_0x2a4c41(0x5ab)]{constructor(_0x36e44b,_0x44ce0d){const _0x5f2883=_0x2a4c41;super(),this[_0x5f2883(0x4d9)]=_0x36e44b,this[_0x5f2883(0x1ec)]=_0x44ce0d,this[_0x5f2883(0x46b)]();}[_0x2a4c41(0x46b)](){const _0x53ecfe=_0x2a4c41,_0x35b4a5=this;this[_0x53ecfe(0x594)](this['_HTTPService'][_0x53ecfe(0x28f)]({'priority':0x3e7,'interceptor':_0x45f1e1['MergeInterceptorFactory']({'isMatch'(_0x3bff68){const _0x13c7b9=_0x53ecfe;var _0x1c45f4;if(_0x3bff68[_0x13c7b9(0x4cc)]===_0x13c7b9(0x5c3)&&((_0x1c45f4=_0x3bff68['requestParams'])!=null&&_0x1c45f4[_0x13c7b9(0x566)])){const {objectID:_0x5f168d,objectType:_0x520f7d}=_0x3bff68[_0x13c7b9(0x1b4)]['body']||{};if(!_0x5f168d||_0x520f7d===void 0x0)return!0x1;const _0xae3085=_0x35b4a5[_0x13c7b9(0x5c7)]()+'/'+_0x520f7d+_0x13c7b9(0x52b)+_0x5f168d+_0x13c7b9(0x327);if(_0x3bff68[_0x13c7b9(0x580)]===_0xae3085)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x69b8a7){const _0xab7ae0=_0x53ecfe;var _0x1c6383;return(_0x1c6383=_0x69b8a7['requestParams'])==null?void 0x0:_0x1c6383[_0xab7ae0(0x566)];},'mergeParamsToRequest'(_0x1bbfbb,_0x5109f0){const _0x396e4a=_0x53ecfe,_0x49e597=_0x35b4a5[_0x396e4a(0x5c7)]()+_0x396e4a(0x46e),_0x40d066=_0x1bbfbb[_0x396e4a(0x2f5)]((_0x598d37,_0x5ca8f2)=>{const _0x5fdfe2=_0x396e4a,{unitID:_0x4c3376,objectID:_0x23881d,objectType:_0x449dce,actions:_0x4c5fdc}=_0x5ca8f2;return _0x598d37[_0x4c3376]||(_0x598d37[_0x4c3376]={}),_0x598d37[_0x4c3376][_0x23881d]||(_0x598d37[_0x4c3376][_0x23881d]={'objectID':_0x23881d,'objectType':_0x449dce,'actions':[]}),_0x598d37[_0x4c3376][_0x23881d][_0x5fdfe2(0x3de)][_0x5fdfe2(0x408)](..._0x4c5fdc),_0x598d37;},{}),_0x9dc7dd=[];for(const _0x5b9549 in _0x40d066)for(const _0x4e2dec in _0x40d066[_0x5b9549]){const {actions:_0x1816e3,objectType:_0x396941}=_0x40d066[_0x5b9549][_0x4e2dec],_0x2f5ae7=[...new Set(_0x1816e3)];_0x9dc7dd[_0x396e4a(0x408)]({'unitID':_0x5b9549,'objectID':_0x4e2dec,'objectType':_0x396941,'actions':_0x2f5ae7});}return new _0x45f1e1[(_0x396e4a(0x36f))](_0x396e4a(0x5c3),_0x49e597,{'headers':_0x5109f0[_0x396e4a(0x47a)],'withCredentials':_0x5109f0[_0x396e4a(0x4c9)],'responseType':_0x5109f0[_0x396e4a(0x2ff)],'body':{'requests':_0x9dc7dd}});}},{'distributeResult'(_0xe8e558,_0x20e2fa){const _0x1cdb65=_0x53ecfe,{objectActions:_0x22276b}=_0xe8e558;return _0x20e2fa[_0x1cdb65(0x3bc)](_0x140357=>{const _0x53b2c2=_0x1cdb65,{unitID:_0x4bfced,objectID:_0x5d660d,actions:_0x1a1efd}=_0x140357,_0x5d8f52=_0x22276b[_0x53b2c2(0x4fc)](_0x1e32e7=>_0x1e32e7[_0x53b2c2(0x3a4)]===_0x4bfced&&_0x1e32e7[_0x53b2c2(0x308)]===_0x5d660d),_0x717439=_0x1a1efd[_0x53b2c2(0x3bc)](_0x9dabd0=>_0x5d8f52==null?void 0x0:_0x5d8f52[_0x53b2c2(0x3de)][_0x53b2c2(0x4fc)](_0x5506bf=>_0x5506bf[_0x53b2c2(0x596)]===_0x9dabd0))[_0x53b2c2(0x45c)](_0x5472dd=>!!_0x5472dd);return{'config':_0x140357,'result':{'actions':_0x717439,'error':_0xe8e558[_0x53b2c2(0x432)]}};});}})}));}[_0x2a4c41(0x5c7)](){const _0x16030d=_0x2a4c41;var _0x193afa,_0x2a5bc3;const _0x24f43b=this['_configService'][_0x16030d(0x53c)](_0x17182c),_0x5db6a5=this[_0x16030d(0x1ec)]['getConfig'](_0x576146);return(_0x2a5bc3=(_0x193afa=_0x5db6a5==null?void 0x0:_0x5db6a5[_0x16030d(0x2de)])!=null?_0x193afa:_0x24f43b)!=null?_0x2a5bc3:_0x554cd5;}async['create'](_0x25d187){const _0x3399be=_0x2a4c41,_0x517123=this[_0x3399be(0x5c7)]()+'/'+_0x25d187[_0x3399be(0x4f4)]+_0x3399be(0x41d);return(await this[_0x3399be(0x4d9)][_0x3399be(0x3fb)](_0x517123,{'body':_0x25d187}))['body'][_0x3399be(0x308)]||'';}async[_0x2a4c41(0x511)](_0x5b0e5b){const _0x1aa034=_0x2a4c41,_0x680eea=this[_0x1aa034(0x5c7)]()+'/-/object/list';return(await this[_0x1aa034(0x4d9)]['post'](_0x680eea,{'body':_0x5b0e5b}))[_0x1aa034(0x566)]['objects'];}async[_0x2a4c41(0x388)](_0x174735){const _0x128cfe=_0x2a4c41,_0x4f1f45=this[_0x128cfe(0x5c7)]()+'/'+_0x174735[_0x128cfe(0x4f4)]+'/object/'+_0x174735['objectID'];await this[_0x128cfe(0x4d9)][_0x128cfe(0x1da)](_0x4f1f45,{'body':_0x174735});}async[_0x2a4c41(0x3e9)](_0x3c52d8){const _0x5a248c=_0x2a4c41,_0x4f9568=this[_0x5a248c(0x5c7)]()+'/'+_0x3c52d8[_0x5a248c(0x4f4)]+_0x5a248c(0x52b)+_0x3c52d8[_0x5a248c(0x308)]+_0x5a248c(0x327);return(await this[_0x5a248c(0x4d9)][_0x5a248c(0x3fb)](_0x4f9568,{'body':_0x3c52d8}))[_0x5a248c(0x566)][_0x5a248c(0x3de)];}async[_0x2a4c41(0x1c5)](_0x1a3e91){const _0x32e3d3=_0x2a4c41,_0x3a81e1=this['_getAPIPrefixPath']()+_0x32e3d3(0x46e);return(await this[_0x32e3d3(0x4d9)]['post'](_0x3a81e1,{'body':{'requests':_0x1a3e91}}))[_0x32e3d3(0x566)][_0x32e3d3(0x20a)];}async['listRoles'](_0xf3a21){const _0x56adb4=_0x2a4c41,_0x153282=this[_0x56adb4(0x5c7)]()+'/'+_0xf3a21[_0x56adb4(0x4f4)]+'/role',_0x2f3950=await this['_HTTPService']['post'](_0x153282,{'body':_0xf3a21});return{'roles':_0x2f3950[_0x56adb4(0x566)]['roles'],'actions':_0x2f3950['body'][_0x56adb4(0x3de)]};}async['deleteCollaborator'](_0x326c21){const _0x382977=_0x2a4c41,_0x4f805d=this[_0x382977(0x5c7)]()+'/collaborator';await this[_0x382977(0x4d9)][_0x382977(0x536)](_0x4f805d,{'params':{'collaboratorID':_0x326c21[_0x382977(0x33d)],'objectID':_0x326c21[_0x382977(0x308)],'unitID':_0x326c21['unitID']}});}async[_0x2a4c41(0x2e3)](_0xdee7dd){const _0x13176f=_0x2a4c41,_0x17f5e3=this['_getAPIPrefixPath']()+_0x13176f(0x300);await this[_0x13176f(0x4d9)][_0x13176f(0x443)](_0x17f5e3,{'body':_0xdee7dd});}async[_0x2a4c41(0x38b)](_0x2a5f6e){const _0x433905=_0x2a4c41,_0x444fba=this[_0x433905(0x5c7)]()+_0x433905(0x300);await this[_0x433905(0x4d9)][_0x433905(0x3fb)](_0x444fba,{'body':_0x2a5f6e});}async[_0x2a4c41(0x551)](_0x5d8f42){const _0x4368c8=_0x2a4c41,_0xce263a=this[_0x4368c8(0x5c7)]()+_0x4368c8(0x300);return(await this[_0x4368c8(0x4d9)][_0x4368c8(0x3ae)](_0xce263a,{'params':{'objectID':_0x5d8f42['objectID'],'unitID':_0x5d8f42[_0x4368c8(0x3a4)]}}))[_0x4368c8(0x566)][_0x4368c8(0x3c1)];}async[_0x2a4c41(0x3a8)](_0x9def0e){const _0x20bbfb=_0x2a4c41,_0x17011b=this[_0x20bbfb(0x5c7)]()+'/collaborator';await this[_0x20bbfb(0x4d9)][_0x20bbfb(0x1da)](_0x17011b,{'body':_0x9def0e});}},_0x119e5f[_0x2a4c41(0x322)]=_0x20ad47([_0x2b2941(0x0,_0x42e035[_0x2a4c41(0x29d)](_0x45f1e1[_0x2a4c41(0x216)])),_0x2b2941(0x1,_0x42e035[_0x2a4c41(0x29d)](_0x42e035[_0x2a4c41(0x25b)]))],_0x119e5f[_0x2a4c41(0x322)]);var _0xd9fb20=Object[_0x2a4c41(0x38e)],_0xcb88a0=Object[_0x2a4c41(0x317)],_0x28df36=(_0x25663d,_0x5bdec4,_0xf379be,_0x534979)=>{const _0x437bce=_0x2a4c41;for(var _0x130fad=_0x534979>0x1?void 0x0:_0x534979?_0xcb88a0(_0x5bdec4,_0xf379be):_0x5bdec4,_0x4f828e=_0x25663d[_0x437bce(0x250)]-0x1,_0x26bed8;_0x4f828e>=0x0;_0x4f828e--)(_0x26bed8=_0x25663d[_0x4f828e])&&(_0x130fad=(_0x534979?_0x26bed8(_0x5bdec4,_0xf379be,_0x130fad):_0x26bed8(_0x130fad))||_0x130fad);return _0x534979&&_0x130fad&&_0xd9fb20(_0x5bdec4,_0xf379be,_0x130fad),_0x130fad;},_0x1c18b8=(_0x4633f5,_0x521d6f)=>(_0x1e3c3a,_0x452180)=>_0x521d6f(_0x1e3c3a,_0x452180,_0x4633f5);let _0x59b952=class{constructor(_0x5b6a0f){const _0x1e3841=_0x2a4c41;this[_0x1e3841(0x34d)]=_0x5b6a0f,this[_0x1e3841(0x445)]();}['_initRequestHeader'](){const _0x5d16d7=_0x2a4c41;this['_httpService'][_0x5d16d7(0x28f)]({'interceptor':(_0x221857,_0x5670dc)=>{const _0x2a49b7=_0x5d16d7,_0x4b80cf=_0x221857[_0x2a49b7(0x47a)],_0x5b8d26=_0x3ed312['getAttachHeader']();return _0x5b8d26&&_0x4b80cf[_0x2a49b7(0x1c0)](_0x2a49b7(0x422),_0x5b8d26),_0x5670dc(_0x221857);}});}};_0x59b952=_0x28df36([_0x1c18b8(0x0,_0x42e035[_0x2a4c41(0x29d)](_0x45f1e1[_0x2a4c41(0x216)]))],_0x59b952);var _0x6fa373=Object[_0x2a4c41(0x38e)],_0xfe2fa3=Object[_0x2a4c41(0x317)],_0x471a66=(_0x17caa2,_0x442784,_0x5dc007,_0x5aa986)=>{const _0x440704=_0x2a4c41;for(var _0x261c7b=_0x5aa986>0x1?void 0x0:_0x5aa986?_0xfe2fa3(_0x442784,_0x5dc007):_0x442784,_0x3adabc=_0x17caa2[_0x440704(0x250)]-0x1,_0x59b51e;_0x3adabc>=0x0;_0x3adabc--)(_0x59b51e=_0x17caa2[_0x3adabc])&&(_0x261c7b=(_0x5aa986?_0x59b51e(_0x442784,_0x5dc007,_0x261c7b):_0x59b51e(_0x261c7b))||_0x261c7b);return _0x5aa986&&_0x261c7b&&_0x6fa373(_0x442784,_0x5dc007,_0x261c7b),_0x261c7b;},_0x1141b9=(_0x1b35aa,_0x1052c0)=>(_0x39113a,_0x32fc34)=>_0x1052c0(_0x39113a,_0x32fc34,_0x1b35aa);const _0x53f276=['image/png',_0x2a4c41(0x579),'image/jpg',_0x2a4c41(0x407),_0x2a4c41(0x3a0)],_0x587d3e=0x5*0x400*0x400,_0x387588=_0x2a4c41(0x562),_0x421810=_0x2a4c41(0x2ed),_0x4a68fd=_0x2a4c41(0x494),_0xee8059='/universer-api/file/{fileID}/sign-url';_0x119e5f['ImageIoService']=class{constructor(_0x5253e5,_0x1eafe8,_0x37d7d5){const _0x57928b=_0x2a4c41;_0x3a0856(this,_0x57928b(0x473),0x0),_0x3a0856(this,'_change$',new _0x40c8d9[(_0x57928b(0x4cb))]()),_0x3a0856(this,_0x57928b(0x48b),this[_0x57928b(0x1be)]),_0x3a0856(this,_0x57928b(0x1e5),new Map()),(this[_0x57928b(0x34d)]=_0x5253e5,this[_0x57928b(0x1ec)]=_0x1eafe8,this[_0x57928b(0x3b9)]=_0x37d7d5);}[_0x2a4c41(0x581)](_0x315956){const _0x2b73ba=_0x2a4c41;this['_waitCount']=_0x315956,this[_0x2b73ba(0x1be)][_0x2b73ba(0x380)](_0x315956);}[_0x2a4c41(0x276)](_0x2f9fa1,_0x24c088){const _0x37a55a=_0x2a4c41;if(_0x24c088===_0x54b8f5[_0x37a55a(0x20b)][_0x37a55a(0x5cd)]){const _0x2bf56a=new Image();return _0x2bf56a[_0x37a55a(0x5d5)]=_0x2f9fa1,_0x2bf56a;}return this[_0x37a55a(0x1e5)][_0x37a55a(0x3ae)](_0x2f9fa1);}[_0x2a4c41(0x32b)](_0x49ab31,_0xd15226,_0x4fd368){const _0x4fc05f=_0x2a4c41;_0xd15226===_0x54b8f5[_0x4fc05f(0x20b)][_0x4fc05f(0x5cd)]||_0x4fd368==null||this['_imageSourceCache'][_0x4fc05f(0x1c0)](_0x49ab31,_0x4fd368);}async[_0x2a4c41(0x3c4)](_0xf9377e){const _0x725067=_0x2a4c41;try{const _0x273868=this[_0x725067(0x2ab)](this[_0x725067(0x4db)](),''+_0xf9377e),_0x1ef0fc=(await this[_0x725067(0x34d)]['get'](_0x273868))['body'];if(_0x1ef0fc['error']&&_0x1ef0fc[_0x725067(0x432)][_0x725067(0x2e2)]===_0x2b70c1['OK']){const _0xa6a822=new URL(_0x1ef0fc[_0x725067(0x580)],this['_getDownloadEndpointURL']())[_0x725067(0x3ef)]();return Promise[_0x725067(0x246)](_0xa6a822);}return Promise[_0x725067(0x29b)](_0x1ef0fc[_0x725067(0x432)]);}catch(_0x4a78bf){return Promise[_0x725067(0x29b)](_0x4a78bf);}}async[_0x2a4c41(0x4dd)](_0x29e83b){const _0x3d8e27=_0x2a4c41;let _0x5e4fcb='';if(!_0x53f276[_0x3d8e27(0x2db)](_0x29e83b[_0x3d8e27(0x348)]))return this[_0x3d8e27(0x5a0)](),Promise['reject'](new Error(_0x54b8f5[_0x3d8e27(0x5ca)][_0x3d8e27(0x2a3)]));if(_0x29e83b[_0x3d8e27(0x306)]>_0x587d3e)return this['_decreaseWaiting'](),Promise[_0x3d8e27(0x29b)](new Error(_0x54b8f5[_0x3d8e27(0x5ca)][_0x3d8e27(0x2bc)]));try{const _0x297e55=new FormData();_0x297e55[_0x3d8e27(0x227)](_0x3d8e27(0x381),_0x29e83b);const _0x4b663e=this['_univerInstanceService'][_0x3d8e27(0x5ce)](),_0x23d211=_0x4b663e==null?void 0x0:_0x4b663e[_0x3d8e27(0x506)]();if(!_0x23d211)throw new Error(_0x3d8e27(0x3d9));const _0x249b50=this[_0x3d8e27(0x1ee)]()+_0x3d8e27(0x3cd)+_0x29e83b['size'][_0x3d8e27(0x3ef)]()+_0x3d8e27(0x4e5)+_0x2f5255['UnitEmbedded']+_0x3d8e27(0x3a6)+encodeURIComponent(_0x23d211),_0x3f6e5d=await(await fetch(_0x249b50,{'method':'POST','body':_0x297e55}))['json']();if(typeof _0x3f6e5d[_0x3d8e27(0x28a)]!=_0x3d8e27(0x391))return this[_0x3d8e27(0x5a0)](),Promise[_0x3d8e27(0x29b)](new Error(_0x54b8f5[_0x3d8e27(0x5ca)][_0x3d8e27(0x39a)]));_0x5e4fcb=_0x3f6e5d[_0x3d8e27(0x28a)];}catch{return this[_0x3d8e27(0x5a0)](),Promise[_0x3d8e27(0x29b)](new Error(_0x54b8f5[_0x3d8e27(0x5ca)][_0x3d8e27(0x39a)]));}return new Promise((_0x4c07a,_0x454ddd)=>{const _0x112df1=_0x3d8e27,_0xfde30e=new FileReader();_0xfde30e[_0x112df1(0x5a7)](_0x29e83b),_0xfde30e['onload']=_0xbb4b83=>{const _0x49568f=_0x112df1;var _0xa4e4cf;const _0x19ab06=(_0xa4e4cf=_0xbb4b83[_0x49568f(0x5cb)])==null?void 0x0:_0xa4e4cf[_0x49568f(0x449)];if(_0x19ab06==null){this['_decreaseWaiting'](),_0x454ddd(new Error(_0x54b8f5[_0x49568f(0x5ca)]['ERROR_IMAGE']));return;}const _0x4e2b40=_0x42e035[_0x49568f(0x34c)][_0x49568f(0x430)](0x6);_0x4c07a({'imageId':_0x4e2b40,'imageSourceType':_0x54b8f5['ImageSourceType'][_0x49568f(0x28c)],'source':_0x5e4fcb,'base64Cache':_0x19ab06,'status':_0x54b8f5[_0x49568f(0x5ca)]['SUCCUSS']}),this[_0x49568f(0x5a0)]();};});}[_0x2a4c41(0x1ee)](){const _0xbe35ce=_0x2a4c41;var _0x4e2b6b,_0x160b6f;const _0x55c1b4=this[_0xbe35ce(0x1ec)][_0xbe35ce(0x53c)](_0x387588),_0xd5a548=this[_0xbe35ce(0x1ec)][_0xbe35ce(0x53c)](_0x576146);return(_0x160b6f=(_0x4e2b6b=_0xd5a548==null?void 0x0:_0xd5a548[_0xbe35ce(0x420)])!=null?_0x4e2b6b:_0x55c1b4)!=null?_0x160b6f:_0x421810;}[_0x2a4c41(0x4db)](){const _0x309cca=_0x2a4c41;var _0x441123,_0x4a50ef;const _0x4afb3e=this[_0x309cca(0x1ec)][_0x309cca(0x53c)](_0x4a68fd),_0x466981=this[_0x309cca(0x1ec)][_0x309cca(0x53c)](_0x576146);return(_0x4a50ef=(_0x441123=_0x466981==null?void 0x0:_0x466981[_0x309cca(0x259)])!=null?_0x441123:_0x4afb3e)!=null?_0x4a50ef:_0xee8059;}[_0x2a4c41(0x56c)](){const _0x5c6714=_0x2a4c41;var _0x14239c;const _0x5c52c4=this['_configService'][_0x5c6714(0x53c)](_0x576146);return(_0x14239c=_0x5c52c4==null?void 0x0:_0x5c52c4['downloadEndpointUrl'])!=null?_0x14239c:location['origin'];}[_0x2a4c41(0x2ab)](_0xc90f5e,_0x167b1d){const _0x3b0011=_0x2a4c41;return _0xc90f5e[_0x3b0011(0x24f)](_0x3b0011(0x386),_0x167b1d);}[_0x2a4c41(0x5a0)](){const _0x40a31b=_0x2a4c41;this[_0x40a31b(0x473)]-=0x1,this[_0x40a31b(0x1be)][_0x40a31b(0x380)](this[_0x40a31b(0x473)]);}},_0x119e5f[_0x2a4c41(0x368)]=_0x471a66([_0x1141b9(0x0,_0x42e035[_0x2a4c41(0x29d)](_0x45f1e1[_0x2a4c41(0x216)])),_0x1141b9(0x1,_0x42e035[_0x2a4c41(0x25b)]),_0x1141b9(0x2,_0x42e035['Inject'](_0x42e035[_0x2a4c41(0x281)]))],_0x119e5f[_0x2a4c41(0x368)]);var _0x295096=Object[_0x2a4c41(0x38e)],_0x12d737=Object['getOwnPropertyDescriptor'],_0x150f22=(_0x5d1fb9,_0x5b5537,_0x4782b4,_0x2adee5)=>{const _0x539e78=_0x2a4c41;for(var _0x517d7c=_0x2adee5>0x1?void 0x0:_0x2adee5?_0x12d737(_0x5b5537,_0x4782b4):_0x5b5537,_0x149683=_0x5d1fb9[_0x539e78(0x250)]-0x1,_0x3793a9;_0x149683>=0x0;_0x149683--)(_0x3793a9=_0x5d1fb9[_0x149683])&&(_0x517d7c=(_0x2adee5?_0x3793a9(_0x5b5537,_0x4782b4,_0x517d7c):_0x3793a9(_0x517d7c))||_0x517d7c);return _0x2adee5&&_0x517d7c&&_0x295096(_0x5b5537,_0x4782b4,_0x517d7c),_0x517d7c;},_0x2a7500=(_0x381492,_0x7664cf)=>(_0x1c4cf8,_0x4c6204)=>_0x7664cf(_0x1c4cf8,_0x4c6204,_0x381492);let _0x2b37a6=class extends _0x42e035['RxDisposable']{constructor(_0x9f861c,_0xa0372d,_0x33ad92,_0x377909,_0x334847){const _0x231438=_0x2a4c41;super(),this[_0x231438(0x1a2)]=_0x9f861c,this[_0x231438(0x3b9)]=_0xa0372d,this['_permissionService']=_0x33ad92,this[_0x231438(0x2d6)]=_0x377909,this[_0x231438(0x2b1)]=_0x334847,this[_0x231438(0x1e3)](),this[_0x231438(0x440)]();}[_0x2a4c41(0x440)](){const _0x59bd3a=_0x2a4c41,_0x4c2df7=async _0x536b86=>{const _0x34373d=_0x5025;(await this['_collaborationSessionService']['requireSession'](_0x536b86))[_0x34373d(0x239)]['pipe'](_0xfd004d[_0x34373d(0x45c)](_0x58ab04=>_0x58ab04[_0x34373d(0x36d)]===_0x1a2c53[_0x34373d(0x292)]['SHOULD_CLOSE_CONN']),_0xfd004d[_0x34373d(0x1ed)](this[_0x34373d(0x311)]))[_0x34373d(0x543)](_0x19edf3=>{const _0x4fc9cb=_0x34373d,_0x2d9f40=_0x19edf3,{reason:_0x214df7}=_0x2d9f40[_0x4fc9cb(0x5c8)];this[_0x4fc9cb(0x1a2)][_0x4fc9cb(0x3ae)](_0x576301[_0x4fc9cb(0x214)])[_0x4fc9cb(0x451)]({'type':_0x25691d[_0x4fc9cb(0x2ee)][_0x4fc9cb(0x3d6)],'content':this[_0x4fc9cb(0x2b1)]['t'](_0x4fc9cb(0x3b7))+'('+_0x214df7+')'}),this[_0x4fc9cb(0x411)][_0x4fc9cb(0x524)](new _0x2d44ec[(_0x4fc9cb(0x2bb))](_0x536b86)['id'],!0x1),this[_0x4fc9cb(0x2d6)][_0x4fc9cb(0x19f)](_0x536b86);});};_0x40c8d9[_0x59bd3a(0x1fe)](this[_0x59bd3a(0x3b9)][_0x59bd3a(0x26d)](_0x42e035[_0x59bd3a(0x373)]['UNIVER_SHEET']),this['_univerInstanceService'][_0x59bd3a(0x26d)](_0x42e035[_0x59bd3a(0x373)]['UNIVER_DOC']))[_0x59bd3a(0x4b4)](_0xfd004d['map'](_0x30f5db=>_0x30f5db['getUnitId']()),_0xfd004d[_0x59bd3a(0x45c)](_0x42b053=>!_0x42e035[_0x59bd3a(0x2d0)](_0x42b053)),_0xfd004d[_0x59bd3a(0x1ed)](this['dispose$']))[_0x59bd3a(0x543)](_0xc1fecb=>{_0x4c2df7(_0xc1fecb);});}[_0x2a4c41(0x1e3)](){const _0x225296=_0x2a4c41,_0x265cdc=async _0x473354=>{const _0x23c07a=_0x5025;(await this[_0x23c07a(0x2d6)][_0x23c07a(0x532)](_0x473354))[_0x23c07a(0x239)][_0x23c07a(0x4b4)](_0xfd004d[_0x23c07a(0x45c)](_0x34cc6d=>_0x34cc6d[_0x23c07a(0x36d)]===_0x1a2c53[_0x23c07a(0x292)]['UPDATE_PERMISSION_OBJ']),_0xfd004d['takeUntil'](this['dispose$']))['subscribe'](_0x7b67b8=>{const _0x584632=_0x23c07a,_0x43b1cf=_0x7b67b8,{objectId:_0x56abf7}=_0x43b1cf[_0x584632(0x5c8)],_0x165951=this[_0x584632(0x1a2)][_0x584632(0x3ae)](_0x29357b[_0x584632(0x351)]);_0x56abf7===_0x473354?_0x165951[_0x584632(0x462)](_0x473354):_0x165951['refreshPermission'](_0x473354,_0x56abf7);});};_0x40c8d9[_0x225296(0x1fe)](this[_0x225296(0x3b9)][_0x225296(0x26d)](_0x42e035[_0x225296(0x373)]['UNIVER_SHEET']),this['_univerInstanceService'][_0x225296(0x26d)](_0x42e035[_0x225296(0x373)][_0x225296(0x441)]))[_0x225296(0x4b4)](_0xfd004d[_0x225296(0x3bc)](_0x1dd085=>_0x1dd085[_0x225296(0x506)]()),_0xfd004d[_0x225296(0x45c)](_0x1078e4=>!_0x42e035[_0x225296(0x2d0)](_0x1078e4)),_0xfd004d['takeUntil'](this[_0x225296(0x311)]))[_0x225296(0x543)](_0x43bcca=>{_0x265cdc(_0x43bcca);});}};_0x2b37a6=_0x150f22([_0x2a7500(0x0,_0x42e035['Inject'](_0x42e035[_0x2a4c41(0x2bf)])),_0x2a7500(0x1,_0x42e035[_0x2a4c41(0x281)]),_0x2a7500(0x2,_0x42e035[_0x2a4c41(0x378)]),_0x2a7500(0x3,_0x42e035['Inject'](_0x119e5f[_0x2a4c41(0x56d)])),_0x2a7500(0x4,_0x42e035[_0x2a4c41(0x29d)](_0x42e035[_0x2a4c41(0x39c)]))],_0x2b37a6);var _0x337e0a=Object[_0x2a4c41(0x38e)],_0x117ea2=Object[_0x2a4c41(0x317)],_0x41b8f2=(_0x43727d,_0x4c959e,_0x278303,_0x3a33be)=>{const _0x15bc20=_0x2a4c41;for(var _0x2438d3=_0x3a33be>0x1?void 0x0:_0x3a33be?_0x117ea2(_0x4c959e,_0x278303):_0x4c959e,_0x519a4c=_0x43727d[_0x15bc20(0x250)]-0x1,_0xae839f;_0x519a4c>=0x0;_0x519a4c--)(_0xae839f=_0x43727d[_0x519a4c])&&(_0x2438d3=(_0x3a33be?_0xae839f(_0x4c959e,_0x278303,_0x2438d3):_0xae839f(_0x2438d3))||_0x2438d3);return _0x3a33be&&_0x2438d3&&_0x337e0a(_0x4c959e,_0x278303,_0x2438d3),_0x2438d3;},_0xf3fcf4=(_0x19e303,_0x6698aa)=>(_0x66992a,_0x362161)=>_0x6698aa(_0x66992a,_0x362161,_0x19e303);_0x119e5f[_0x2a4c41(0x21d)]=class{constructor(_0x1dbd02,_0x558e13){const _0x26c774=_0x2a4c41;this[_0x26c774(0x1ec)]=_0x1dbd02,this[_0x26c774(0x34d)]=_0x558e13;}async[_0x2a4c41(0x565)](_0x425201,_0x416dcf){const _0x18b86e=_0x2a4c41;var _0x1a52c4;const {unitID:_0x4404da,type:_0x35e48f,revision:_0x55bbcd=0x0}=_0x416dcf,_0x7b3cce=this[_0x18b86e(0x5a6)]()+'/'+_0x35e48f+_0x18b86e(0x1f3)+_0x4404da+'/rev/'+_0x55bbcd,_0x5157c3=(await this[_0x18b86e(0x34d)]['get'](_0x7b3cce))[_0x18b86e(0x566)],_0x4666e7=(_0x1a52c4=_0x5157c3[_0x18b86e(0x403)])==null?void 0x0:_0x1a52c4['workbook'];if(_0x4666e7){const _0x4d2264=_0x4666e7==null?void 0x0:_0x4666e7['originalMeta'],_0x4b6cc6=_0x1a2c53['textEncoder'][_0x18b86e(0x3ff)](_0x1a2c53['b64DecodeUnicode'](_0x4d2264));_0x4666e7[_0x18b86e(0x50f)]=_0x4b6cc6,Object['entries'](_0x4666e7['sheets'])[_0x18b86e(0x3f5)](([,_0x19cd32])=>{const _0x9f0ed9=_0x18b86e,_0x49d365=_0x19cd32[_0x9f0ed9(0x50f)],_0x425e0e=_0x1a2c53[_0x9f0ed9(0x508)][_0x9f0ed9(0x3ff)](_0x1a2c53['b64DecodeUnicode'](_0x49d365));_0x19cd32[_0x9f0ed9(0x50f)]=_0x425e0e;});}return _0x5157c3;}async[_0x2a4c41(0x516)](_0x1c4919,_0x58704f){const _0x5d28ae=_0x2a4c41,{unitID:_0x1ceacb,type:_0x1f603d,blockID:_0x909162}=_0x58704f,_0x95c9a2=this[_0x5d28ae(0x45a)]()+'/'+_0x1f603d+_0x5d28ae(0x1f3)+_0x1ceacb+'/block/'+_0x909162;return(await this[_0x5d28ae(0x34d)][_0x5d28ae(0x3ae)](_0x95c9a2))['body'];}async['getDeserializedSheetBlock'](_0x117d59,_0x2cc595){const _0x4b0f37=_0x2a4c41,{unitID:_0xd43d0d,type:_0x4f148a,blockID:_0x239be7}=_0x2cc595,_0x26554d=this['_getAPIPrefix']()+'/block/'+_0x4f148a+_0x4b0f37(0x1f3)+_0xd43d0d+_0x4b0f37(0x392)+_0x239be7;return(await this[_0x4b0f37(0x34d)]['get'](_0x26554d))[_0x4b0f37(0x566)];}async['fetchMissingChangesets'](_0x8147e7,_0x1e722e){const _0x54d1cd=_0x2a4c41,{unitID:_0x52edfe,type:_0x1f0868,from:_0x58c52f,to:_0x4fe5bb}=_0x1e722e,_0x59bc84=this['_getAPIPrefix']()+'/'+_0x1f0868+_0x54d1cd(0x1f3)+_0x52edfe+'/fetchmissing?from='+_0x58c52f+_0x54d1cd(0x545)+_0x4fe5bb;return(await this[_0x54d1cd(0x34d)]['get'](_0x59bc84))[_0x54d1cd(0x566)];}[_0x2a4c41(0x5a6)](){const _0x2ab389=_0x2a4c41;var _0x15292c;return(_0x15292c=this[_0x2ab389(0x1ec)][_0x2ab389(0x53c)](_0x3fe4ba))!=null?_0x15292c:this[_0x2ab389(0x45a)]();}['_getAPIPrefix'](){const _0x42f865=_0x2a4c41;var _0x5359ca,_0x21b44b;const _0xb63601=this[_0x42f865(0x1ec)][_0x42f865(0x53c)](_0x29e843),_0x6a420f=this['_configService'][_0x42f865(0x53c)](_0x576146);return(_0x21b44b=(_0x5359ca=_0x6a420f==null?void 0x0:_0x6a420f['snapshotServerUrl'])!=null?_0x5359ca:_0xb63601)!=null?_0x21b44b:_0x3d76bf;}async[_0x2a4c41(0x49e)](_0x1acbbf,_0x43e98b){const _0xb2ca2d=_0x2a4c41,_0x18a921=_0xb2ca2d(0x578)+_0x43e98b['type']+_0xb2ca2d(0x1f3)+_0x43e98b[_0xb2ca2d(0x3a4)]+'/resources';return(await this['_httpService'][_0xb2ca2d(0x3ae)](_0x18a921,{'params':{'resourceId':JSON[_0xb2ca2d(0x2a9)](_0x43e98b[_0xb2ca2d(0x323)])}}))[_0xb2ca2d(0x566)];}['saveSnapshot'](){const _0x44bf57=_0x2a4c41;throw new Error(_0x44bf57(0x4a2));}[_0x2a4c41(0x243)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x2a4c41(0x3a1)](){const _0x3b695e=_0x2a4c41;throw new Error(_0x3b695e(0x4a2));}[_0x2a4c41(0x1ad)](){const _0xe8ea47=_0x2a4c41;throw new Error(_0xe8ea47(0x4a2));}},_0x119e5f[_0x2a4c41(0x21d)]=_0x41b8f2([_0xf3fcf4(0x0,_0x42e035['IConfigService']),_0xf3fcf4(0x1,_0x42e035['Inject'](_0x45f1e1['HTTPService']))],_0x119e5f[_0x2a4c41(0x21d)]);var _0x7ae60b=Object[_0x2a4c41(0x38e)],_0x204985=Object[_0x2a4c41(0x317)],_0x48521c=(_0x1241bd,_0x2ba384,_0x1f4a12,_0x59fe12)=>{const _0x2289a5=_0x2a4c41;for(var _0x569275=_0x59fe12>0x1?void 0x0:_0x59fe12?_0x204985(_0x2ba384,_0x1f4a12):_0x2ba384,_0x18cabc=_0x1241bd[_0x2289a5(0x250)]-0x1,_0xe24050;_0x18cabc>=0x0;_0x18cabc--)(_0xe24050=_0x1241bd[_0x18cabc])&&(_0x569275=(_0x59fe12?_0xe24050(_0x2ba384,_0x1f4a12,_0x569275):_0xe24050(_0x569275))||_0x569275);return _0x59fe12&&_0x569275&&_0x7ae60b(_0x2ba384,_0x1f4a12,_0x569275),_0x569275;},_0x5c334b=(_0x24a051,_0x168d41)=>(_0x238060,_0x10175b)=>_0x168d41(_0x238060,_0x10175b,_0x24a051);let _0x234682=class extends _0x42e035[_0x2a4c41(0x1f0)]{constructor(_0x46cacf,_0x110f4d,_0x5241c7,_0x5648c0,_0x578b25){const _0x4e770f=_0x2a4c41;super(_0x46cacf,_0x110f4d,_0x5241c7),this[_0x4e770f(0x421)]=_0x5648c0,this['_logService']=_0x578b25;}[_0x2a4c41(0x4a3)](_0x4bed59,_0x3540e7){const _0x24cbbd=_0x2a4c41,_0x4b1312=this[_0x24cbbd(0x4e9)](_0x4bed59);if(_0x4b1312)try{const _0x12f7c2=this[_0x24cbbd(0x4e4)](_0x4b1312,_0x3540e7);this['_substituteUndoStack'](_0x4bed59,_0x12f7c2);}catch(_0x118333){this['_logService'][_0x24cbbd(0x432)](_0x24cbbd(0x20c),_0x118333),this[_0x24cbbd(0x3ea)](_0x4bed59);}const _0x14fe1c=this[_0x24cbbd(0x2a8)](_0x4bed59);if(_0x14fe1c)try{const _0x3d090a=this[_0x24cbbd(0x4e4)](_0x14fe1c,_0x3540e7);this['_substituteRedoStack'](_0x4bed59,_0x3d090a);}catch(_0x257ca7){this['_logService'][_0x24cbbd(0x432)](_0x257ca7),this[_0x24cbbd(0x28b)](_0x4bed59);}}[_0x2a4c41(0x3ea)](_0x184ca0){const _0xadcc4a=_0x2a4c41,_0x226aaa=this[_0xadcc4a(0x4e9)](_0x184ca0);_0x226aaa&&(_0x226aaa[_0xadcc4a(0x250)]=0x0,this['_updateStatus']());}['_clearRedo'](_0xd87657){const _0x308cc4=_0x2a4c41,_0x120746=this['_getRedoStack'](_0xd87657);_0x120746&&(_0x120746[_0x308cc4(0x250)]=0x0,this[_0x308cc4(0x585)]());}[_0x2a4c41(0x371)](_0x2d6547,_0x535809){const _0x39a721=_0x2a4c41;this[_0x39a721(0x3f0)][_0x39a721(0x1c0)](_0x2d6547,_0x535809),this[_0x39a721(0x585)]();}['_substituteRedoStack'](_0x41824b,_0x5380f0){const _0x28f5f5=_0x2a4c41;this['_redoStacks'][_0x28f5f5(0x1c0)](_0x41824b,_0x5380f0),this[_0x28f5f5(0x585)]();}[_0x2a4c41(0x4e4)](_0x4e7997,_0x31b2a1){const _0x3293d4=_0x2a4c41,_0x3f80af=[];let _0x1b1a7d=_0x31b2a1,_0x5d181c=_0x31b2a1;for(let _0x19eae2=_0x4e7997[_0x3293d4(0x250)]-0x1;_0x19eae2>=0x0;_0x19eae2--){const {unitID:_0x5cc13e,undoMutations:_0x503faa,redoMutations:_0x54b111}=_0x4e7997[_0x19eae2],_0x230fb9=this[_0x3293d4(0x421)][_0x3293d4(0x211)](_0x1b1a7d,_0x503faa),_0x5694a3=this[_0x3293d4(0x421)]['transformMutationsWithChangeset'](_0x5d181c,_0x54b111);if(_0x1a2c53['isTransformMutationsWithChangesetFailure'](_0x230fb9)||_0x1a2c53[_0x3293d4(0x4d4)](_0x5694a3)){this[_0x3293d4(0x1ae)][_0x3293d4(0x432)](_0x3293d4(0x20c),_0x3293d4(0x26a),_0x230fb9,_0x5694a3);break;}_0x1b1a7d=_0x230fb9['c1Prime'],_0x5d181c=_0x5694a3[_0x3293d4(0x1b3)],_0x3f80af[_0x3293d4(0x408)]({'unitID':_0x5cc13e,'undoMutations':_0x230fb9['m2Prime'],'redoMutations':_0x5694a3[_0x3293d4(0x492)]});}return _0x3f80af[_0x3293d4(0x42a)]();}};_0x234682=_0x48521c([_0x5c334b(0x0,_0x42e035[_0x2a4c41(0x281)]),_0x5c334b(0x1,_0x42e035[_0x2a4c41(0x219)]),_0x5c334b(0x2,_0x42e035[_0x2a4c41(0x2cf)]),_0x5c334b(0x3,_0x1a2c53[_0x2a4c41(0x41f)]),_0x5c334b(0x4,_0x42e035[_0x2a4c41(0x5ae)])],_0x234682);class _0x220af0 extends _0x42e035[_0x2a4c41(0x43e)]{constructor(){const _0x411348=_0x2a4c41;super(),_0x3a0856(this,_0x411348(0x459)),this[_0x411348(0x459)]=_0x40c8d9[_0x411348(0x310)](window,_0x411348(0x405))[_0x411348(0x4b4)](_0x40c8d9[_0x411348(0x1ed)](this[_0x411348(0x311)]),_0x40c8d9['shareReplay'](0x1),_0x40c8d9[_0x411348(0x3f4)](void 0x0));}[_0x2a4c41(0x457)](_0x476f60,_0x630d05,_0x326de6=!0x1){const _0x30c2aa=_0x2a4c41,_0xbc4bcc=new URL(window[_0x30c2aa(0x39d)][_0x30c2aa(0x288)]);_0xbc4bcc['searchParams'][_0x30c2aa(0x1c0)](_0x476f60,_0x630d05),_0x326de6?window[_0x30c2aa(0x58b)]['replaceState']('','',_0xbc4bcc[_0x30c2aa(0x3ef)]()):window[_0x30c2aa(0x58b)]['pushState']('','',_0xbc4bcc['toString']());}[_0x2a4c41(0x248)](_0x1d736e,_0x5f1270=!0x1){const _0x2fd232=_0x2a4c41,_0x16e69b=new URL(window[_0x2fd232(0x39d)][_0x2fd232(0x288)]);_0x16e69b['searchParams'][_0x2fd232(0x536)](_0x1d736e),_0x5f1270?window[_0x2fd232(0x58b)][_0x2fd232(0x1f7)]('','',_0x16e69b[_0x2fd232(0x3ef)]()):window[_0x2fd232(0x58b)]['pushState']('','',_0x16e69b[_0x2fd232(0x3ef)]());}[_0x2a4c41(0x53f)](_0xdecf04){const _0x42c508=_0x2a4c41;var _0x48721e;return(_0x48721e=new URL(window[_0x42c508(0x39d)][_0x42c508(0x288)])[_0x42c508(0x26f)][_0x42c508(0x3ae)](_0xdecf04))!=null?_0x48721e:void 0x0;}}var _0x3dd7bb=Object[_0x2a4c41(0x38e)],_0x32f2a5=Object['getOwnPropertyDescriptor'],_0x46f0d0=(_0x41b88e,_0x4dcf34,_0x505a86)=>_0x4dcf34 in _0x41b88e?_0x3dd7bb(_0x41b88e,_0x4dcf34,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x505a86}):_0x41b88e[_0x4dcf34]=_0x505a86,_0x351506=(_0x279b66,_0x4b6169,_0x222b3b,_0x4fed9d)=>{const _0x55bff4=_0x2a4c41;for(var _0x17da22=_0x4fed9d>0x1?void 0x0:_0x4fed9d?_0x32f2a5(_0x4b6169,_0x222b3b):_0x4b6169,_0xd10cf4=_0x279b66[_0x55bff4(0x250)]-0x1,_0x45d48c;_0xd10cf4>=0x0;_0xd10cf4--)(_0x45d48c=_0x279b66[_0xd10cf4])&&(_0x17da22=(_0x4fed9d?_0x45d48c(_0x4b6169,_0x222b3b,_0x17da22):_0x45d48c(_0x17da22))||_0x17da22);return _0x4fed9d&&_0x17da22&&_0x3dd7bb(_0x4b6169,_0x222b3b,_0x17da22),_0x17da22;},_0x2ba8d6=(_0x28166f,_0x3b74d1)=>(_0x118877,_0x34bfc8)=>_0x3b74d1(_0x118877,_0x34bfc8,_0x28166f),_0x1b114d=(_0x46cd58,_0x91a3be,_0x57ea6e)=>_0x46f0d0(_0x46cd58,_0x91a3be+'',_0x57ea6e);const _0x2d15aa='UNIVER_COLLABORATION_CLIENT_PLUGIN';_0x119e5f[_0x2a4c41(0x2a7)]=class extends _0x42e035[_0x2a4c41(0x245)]{constructor(_0x527bdb=_0x4caf99,_0x6de407,_0x36d82b,_0x177295,_0x299412){const _0x320eac=_0x2a4c41;super(),this[_0x320eac(0x461)]=_0x527bdb,this['_logService']=_0x6de407,this[_0x320eac(0x347)]=_0x36d82b,this[_0x320eac(0x1a2)]=_0x177295,this[_0x320eac(0x1ec)]=_0x299412;const {..._0x2e1d73}=this[_0x320eac(0x461)];this[_0x320eac(0x1ec)][_0x320eac(0x535)](_0x576146,_0x2e1d73);}[_0x2a4c41(0x337)](){const _0x398758=_0x2a4c41;this[_0x398758(0x52c)](),_0x42e035[_0x398758(0x526)](this[_0x398758(0x1a2)],[[_0x16fe18],[_0x119e5f['DataLoaderController']],[_0x2b37a6]]);}[_0x2a4c41(0x2e1)](){const _0x1a584d=_0x2a4c41;_0x42e035[_0x1a584d(0x526)](this[_0x1a584d(0x1a2)],[[_0x36737d]]);}[_0x2a4c41(0x37a)](){const _0x35c076=_0x2a4c41;this[_0x35c076(0x374)]();}[_0x2a4c41(0x52c)](){const _0x556d6b=_0x2a4c41;var _0x307731,_0x3a76fc,_0x1ac7e2,_0x2571c2;this[_0x556d6b(0x1a2)]['has'](_0x42e035['IUndoRedoService'])&&this[_0x556d6b(0x1ae)][_0x556d6b(0x432)]('[UniverCollaborationClientPlugin]',_0x556d6b(0x3f8));let _0x501c25=[[_0x42e035[_0x556d6b(0x598)],{'useClass':_0x234682}],[_0x119e5f['CollaborationSessionService']],[_0x23d026],[_0x45f1e1[_0x556d6b(0x216)]],[_0x462fee,{'useClass':_0x220af0}],[_0x4c4596],[_0x119e5f[_0x556d6b(0x36c)]],[_0x45f1e1[_0x556d6b(0x4bc)]],[_0x17ff71],[_0x1957db],[_0x3f2c42],[_0x293121],[_0x1a57cc],[_0x59b952],[_0x4ae63a],[_0x2b37a6],[_0x3a65c4,{'useClass':(_0x3a76fc=(_0x307731=this[_0x556d6b(0x461)])==null?void 0x0:_0x307731[_0x556d6b(0x468)])!=null?_0x3a76fc:_0x119e5f['CollaborationSocketService']}],[_0x45f1e1[_0x556d6b(0x3a5)],{'useClass':_0x45f1e1['XHRHTTPImplementation']}],[_0x1a2c53['ISnapshotServerService'],{'useClass':_0x119e5f[_0x556d6b(0x21d)]}],[_0x42e035[_0x556d6b(0x50c)],{'useClass':_0x119e5f['AuthzIoHttpService']}],[_0x54b8f5[_0x556d6b(0x3ca)],{'useClass':_0x119e5f['ImageIoService']}],[_0x119e5f[_0x556d6b(0x284)]],[_0x119e5f[_0x556d6b(0x54e)]],[_0x119e5f['DesktopCollaborationStatusDisplayController']],[_0x36737d],[_0x16fe18]];(_0x1ac7e2=this[_0x556d6b(0x461)])!=null&&_0x1ac7e2[_0x556d6b(0x515)]&&_0x501c25[_0x556d6b(0x408)]([_0x506d1b,{'useClass':_0x2ade6a}]),_0x501c25=_0x42e035[_0x556d6b(0x230)](_0x501c25,(_0x2571c2=this[_0x556d6b(0x461)])==null?void 0x0:_0x2571c2[_0x556d6b(0x341)]),_0x501c25['forEach'](_0x333591=>this[_0x556d6b(0x1a2)]['add'](_0x333591)),this[_0x556d6b(0x586)]();}[_0x2a4c41(0x374)](){const _0x4314d3=_0x2a4c41;this[_0x4314d3(0x594)](this[_0x4314d3(0x347)][_0x4314d3(0x4d8)](_0x42e035[_0x4314d3(0x373)][_0x4314d3(0x441)],[_0x5b426f])),this[_0x4314d3(0x594)](this['_renderManagerService'][_0x4314d3(0x4d8)](_0x42e035[_0x4314d3(0x373)][_0x4314d3(0x56a)],[_0x1d618f]));}['_initModules'](){const _0x44bb64=_0x2a4c41;var _0x387142,_0xbab8dd;this[_0x44bb64(0x1a2)][_0x44bb64(0x3ae)](_0x45f1e1[_0x44bb64(0x216)])[_0x44bb64(0x28f)]({'priority':0x14,'interceptor':_0x45f1e1[_0x44bb64(0x4be)]({'maxParallel':0x6})}),this[_0x44bb64(0x1a2)][_0x44bb64(0x3ae)](_0x59b952),(_0x387142=this['_config'])!=null&&_0x387142[_0x44bb64(0x406)]||this['_injector']['get'](_0x119e5f['LocalCacheService'])[_0x44bb64(0x2cc)](),(_0xbab8dd=this[_0x44bb64(0x461)])!=null&&_0xbab8dd['enableAuthServer']&&this['_injector'][_0x44bb64(0x3ae)](_0x1a57cc),this[_0x44bb64(0x1a2)][_0x44bb64(0x3ae)](_0x119e5f['CollaborationController']),this[_0x44bb64(0x1a2)][_0x44bb64(0x471)](_0x119e5f[_0x44bb64(0x529)])&&this[_0x44bb64(0x1a2)]['get'](_0x119e5f[_0x44bb64(0x529)]);}},_0x1b114d(_0x119e5f[_0x2a4c41(0x2a7)],_0x2a4c41(0x1d4),_0x2d15aa),_0x119e5f[_0x2a4c41(0x2a7)]=_0x351506([_0x42e035[_0x2a4c41(0x376)](_0x1a2c53[_0x2a4c41(0x1d2)]),_0x2ba8d6(0x1,_0x42e035[_0x2a4c41(0x5ae)]),_0x2ba8d6(0x2,_0x7f7413['IRenderManagerService']),_0x2ba8d6(0x3,_0x42e035['Inject'](_0x42e035[_0x2a4c41(0x2bf)])),_0x2ba8d6(0x4,_0x42e035[_0x2a4c41(0x25b)])],_0x119e5f[_0x2a4c41(0x2a7)]),_0x119e5f[_0x2a4c41(0x3ab)]=_0x17182c,_0x119e5f[_0x2a4c41(0x37e)]=_0x1f5d13,_0x119e5f['COLLAB_WEB_SOCKET_URL_KEY']=_0x1c4bb5,_0x119e5f[_0x2a4c41(0x22e)]=_0x115871,_0x119e5f[_0x2a4c41(0x4e6)]=_0x354f89,_0x119e5f[_0x2a4c41(0x5d1)]=_0x4ae63a,_0x119e5f[_0x2a4c41(0x2cb)]=_0x300f15,_0x119e5f[_0x2a4c41(0x22b)]=_0x5824fe,_0x119e5f[_0x2a4c41(0x43f)]=_0x3a65c4,_0x119e5f[_0x2a4c41(0x45e)]=_0x462fee,_0x119e5f[_0x2a4c41(0x3bb)]=_0x37a242,_0x119e5f[_0x2a4c41(0x5d2)]=_0x47525d,_0x119e5f[_0x2a4c41(0x41b)]=_0x5d1651,_0x119e5f['SEND_CHANGESET_TIMEOUT_KEY']=_0x37e430,_0x119e5f[_0x2a4c41(0x2af)]=_0x29e843,_0x119e5f['SNAPSHOT_URL_KEY']=_0x3fe4ba,_0x119e5f['SessionStatus']=_0x4246bc,_0x119e5f['SheetCollabCursorShape']=_0x34d446,_0x119e5f[_0x2a4c41(0x465)]=_0x220af0,_0x119e5f['deserializeToCombResponse']=_0x40c376,_0x119e5f[_0x2a4c41(0x5bb)]=_0xf1fd71,Object[_0x2a4c41(0x38e)](_0x119e5f,Symbol[_0x2a4c41(0x47b)],{'value':_0x2a4c41(0x5d0)});}));function _0x5025(_0x5ddb1b,_0x4ccde5){const _0x4c1212=_0x4c12();return _0x5025=function(_0x502514,_0x45e526){_0x502514=_0x502514-0x19f;let _0x4b6259=_0x4c1212[_0x502514];return _0x4b6259;},_0x5025(_0x5ddb1b,_0x4ccde5);}function _0x4c12(){const _0x397fdd=['_unitOnClients','ThresholdInterceptorFactory','ISnapshotServerService','localeService','UniverNetwork','UniverDrawing','getCellPositionByOffset','pending','_socketReady','then','_hover','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','withCredentials','onSyncEditingCollabCursor','Subject','method','_createSocket','values','fetchThroughInterceptors','getSheetId','SYNCED','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','on-line-single','isTransformMutationsWithChangesetFailure','3728112nXKRzO','10MkLzwC','10HLVvGI','registerRenderModule','_HTTPService','_replayCachedMutations','_getSignURL','selections','saveImage','RECV','_clearLocalCache','@univerjs/drawing','_onLocalMutation','save','DocSelectionManagerService','_transformStack','&source=','CollaborationStatusDisplay','all','/universer-api/oidc/authpage','_getUndoStack','div','_cursors','clipPath','setUndoRedoMutationParamsCache','UniverEngineFormula','_toggleOffline','_onRemoteChangeset','getMemberID','unknown','visibilitychange','objectType','_unitID','onStateChange','26603XVtpTB','FromArray','dispose','Error\x20on\x20receiving\x20event','COLLAB_SUBMIT_CHANGESET_URL','find','drawWith','_state','_collaborationController','\x0aAfter:\x20','_getSaveTimeout','_onCursorDelete','_send','infoRsp','_roomMembers','getUnitId','getActiveRange','textEncoder','_scheduleHeartbeat','_onRecvEvent','status$','IAuthzIoService','getAncestorScale','doc.mutation.rich-text-editing','originalMeta','_tryEnsureSocket','list','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','UNKNOWN_CODE','_onMessage','enableSingleActiveInstanceLock','getSheetBlock','HttpExport','ALREADY_EXISTS','LEAVE','FETCH_MISS','session.will-retry','_userManagerService','_awaitingChangeset','_refRangeService','userID','verdancy600','height','_context','complete','updatePermissionPoint','onlineStatusTitle','touchDependencies','_anchor','_sessions','DesktopCollaborationStatusDisplayController','_scheduleClearOtherTimer','/object/','_registerDependencies','_clearScheduledTask','translate(.97)','_localCacheService','_entityInit$','getActiveSheet','requireSession','_exhaustRemoteChangesetQueue','_memberService','setConfig','delete','fillText','serializeRangeWithSheet','routeKey','_http','_labelPosition','getConfig','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','_session','getParam','RemoveColCommandId','ITelemetryService','UniverDocsUi','subscribe','bottom','&to=','isTransformChangesetsSuccess','fill','onRemoteAck','csAckEvent','_toggleOnline','handleMoveRange','[OfflineState]:\x20received\x20rejection.','BehaviorSubject','DataLoaderController','UNIVER_SLIDE','/universer-api/comb','listCollaborators','_backgroundColor','_setupSubUnitSync','collaMsg','awaitingChangeset','assign','SHOULD_CLOSE_CONN','setActiveRange','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','runRefRangeMutations','onPointerEnter$','RETRY_CONNECTING_MAX_COUNT','PENDING','MUTATION','UniverEngineRender','\x20-\x20','arc','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','top','unshift','getUnitOnRev','body','setInterval','_onUserJoin','Optional','UNIVER_SHEET','makeDirty','_getDownloadEndpointURL','CollaborationSessionService','fillRule','conflict','Univer','_range','collabCursorState$','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','function','_uiPartsService','onMissingChangesets','_onOffline','/universer-api/snapshot/','image/jpeg','retryConnectingInterval','switchMap','LICENSE_IMPORT_SIZE_EXCEEDED','addEventListener','number','PSEUDO_FETCH_MISSING_RESULT','url','setWaitCount','SetDocZoomRatioOperation','awaiting_with_pending','_cachedData','_updateStatus','_initModules','sessionStatus$','url(#off-line-single_clip0_910_343)','LIVESHARE_NEW_HOST','range','history','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_handleJoinEvent','blue400','onMissedChangesetFetched','UNIVER_PROJECT','_syncEditingCollabCursor','_status$','_lastPointer','disposeWithMe','entries','action','fromCollab','IUndoRedoService','TOO_MANY_REQUESTS','[CollaborationSession]','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','UNRECOGNIZED','LIVESHARE_REQUEST_HOST','649506hVXleG','SnapshotService','_decreaseWaiting','currentTheme$','UniverRpc','1088sFvQfW','SetWorksheetActivateCommand','getTypeOfUnitDisposed$','_getSnapshotAPIPrefix','readAsDataURL','_render','[SyncedState]:\x20received\x20acknowledgement.','onTransformSelections','Disposable','exports','createElement','ILogService','fetchMiss','ranges','RichTextEditingMutation','split','now','APPLY_NON_SEQUENTIAL_REVISION','_transitionLocked','TRANSFORM_CHANGE_OBSERVABLE_TYPE','_removeClearOtherTimer','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','flatMap','_color','serializeCombRequest','getRoom','@univerjs/engine-render','_transformUndoredo','_fetchMissChangesets','DocStateChangeManagerService','_commentService','_handler','POST','_docTransformIMECacheService','_id','round','_getAPIPrefixPath','data','_localStorageService','ImageUploadStatusType','target','apply','BASE64','getFocusedUnit','univer-pro.collaboration-client.single-active-unit-service','Module','CommentService','LOGIN_URL_KEY','addObjects','onCommandExecuted','src','_removeRoom','DisposableCollection','closeSession','roomInfos','COMPRESS_MUTATION_APPLY','_injector','COMPLETION_FINISHED','UnitEmbedded','updateMember','duration','transformChangesets','isArray','_event$','colorChannel1','InsertRangeMoveRightCommandId','subscribeEvent','copyFileMeta','_logService','deserializeRangeWithSheet','_candidateSocket','_schedule','VIEW_MAIN','c1Prime','requestParams','6866024EkbDuZ','row','CollaborationSocketService','current','CHANGESET_REJ','USERS_LEAVE','reconnect','_throwTelemetryCollaborationNewChangeset','leaveEvent','_change$','_docSyncEditingCollabCursorService','set','onPointerLeave$','[CollaborationEntity]','getItem','Rect','batchAllowed','EmptyMutation','whenReady','UniverIcon','_drawAnchor','add','getUndoRedoMutationParamsCache','defIds','throttleTime','[CollaborationSessionService]:\x20socket\x20error','LICENSE_MAX_UNITS_EXCEEDED','CollaborationEntity','column','UniverCollaborationPlugin','DEFAULT_FILE_NAME','pluginName','_commentUpdate$','univer-online-status-title','_ws','_transformPreviousActiveRange','cmd','put','_listenToOfflineEvent','_initStatusComponent','EffectRefRangId','_stopTelemetryCollaborationNewChangeset','HEARTBEAT','_clearOtherTimers','[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.','getUnhiddenWorksheets','_initUnitPermissionChange','SNAPSHOT_INVALID_SNAPSHOT','_imageSourceCache','transformMutation','shareReplay','_clearTimeoutTimer','_colorIndex','UnitSnapshot','online','_configService','takeUntil','_getUploadFileURL','UNAUTHENTICATED','LocalUndoRedoService','RegularPolygon','1em','/unit/','SEND_CHANGESET_TIMEOUT','SNAPSHOT_URL_KEY','CollaborationSession','replaceState','onlineStatusIcon','getWorkbookSelections','_draw','_createInitialState','react','purple300','merge','@univerjs/docs-ui','@univerjs/rpc','@univerjs/network','React','isTransformMutationFailure','_name','lineTo','fetch_missing','TEXT_RANGE_LAYER_INDEX','_beforeCloseService','compose','objectActions','ImageSourceType','[CollaborationUndoRedoService]','_undoRedoService','onCommentUpdate','propertyIsEnumerable','collabStatus.synced','transformMutationsWithChangeset','send','_transformRemoteChangesetByIMECache','IMessageService','currentSkeleton$','HTTPService','black','_roomMembers$','ICommandService','open$','[PendingState]:\x20received\x20acknowledgement.','#FFF','SnapshotServerOverHTTPService','LIVESHARE_OPERATION','/universer-api/snapshot','OnLineSingle','operators','unitId','init','liveShareNewHost','attrs','not_collab','append','PERMISSION_REJ','_loadDoc','[DataLoaderController]','HEARTBEAT_TIMEOUT_KEY','onPointerMove$','_socket$','CollaborationStatus','registerRefRange','mergeOverrideWithDependencies','path','object','YUUMI_URL_COL_OUT_OF_RANGE','getCurrentRevOfUnit','max','YUUMI_UNABLE_LOAD_URL','...','FETCH_MISSING','event$','DocSkeletonManagerService','defs','registerOnClose','mutations','IDLE','distinctUntilChanged','socket\x20close','_startSheetCollabCursor','getCurrentSelections','saveSheetBlock','onMouseMove','Plugin','resolve','INTERNAL_ERROR','removeParam','UserManagerService','LIVESHARE_FETCH_OPERATIONS','_docSkeletonManagerService','isTransformMutationsWithChangesetSuccess','use','INotificationService','replace','length','_removeCollabCursors','_compressMutationService','UniverCollaboration','delay','_collaborationPaused','pauseCollaboration','_type','fillStyle','signUrlServerUrl','getTime','IConfigService','baseRev','_collabCursorState$','[OfflineState]:\x20received\x20acknowledgement.','newCsEvent','save\x20fail\x20reason\x20is\x20','className','syncEditingCollabCursor','APPLY_PERMISSION_DENIED','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','updateOfflineData','DeleteRangeMoveLeftCommandId','UniverUi','extend','liveShareOperation','transformStack\x20failed!','roomMembers','_queuedRemoteChangesets','getTypeOfUnitAdded$','catch','searchParams','every','ILocalStorageService','rev','_syncEditingCollabCursorService','beginPath','_updateLocalCache','getImageSourceCache','subUnitId','_onUserLeave','replaceTextRanges','call','_notificationService','icon','[PendingState]:\x20received\x20rejection.','from','_singleActiveUnitService','random','IUniverInstanceService','_assignedColors','_waitForHeartbeatResponse','CollaborationController','@univerjs/telemetry','_docTransformSelectionsService','_transformSelections','href','getUnitType','FileId','_clearRedo','UUID','unit-cache-','ACTIVE_UNIT_EVENT_CHANNEL','registerHTTPInterceptor','_retryCount','_online','CollaborationEvent','_getCurrentRevision','parseChangesetToProtocol','onRemoteRej','cursorInfo','getRenderById','textRanges','/new_changes','_timeoutTimer','reject','mapDocumentTypeToUniverType','Inject','on-line-single_clip0_910_349','_clearCollaborationTimeoutTimer','_saveCache','commentUpdateEvent','_sendingTimer','ERROR_IMAGE_TYPE','cursorInfo$','_collabSessionService','onTransformIME','UniverCollaborationClientPlugin','_getRedoStack','stringify','useObservable','_replaceFileID','DeleteRangeMoveUpCommandId','children','_hovered','SNAPSHOT_SERVER_URL_KEY','_collaborationTimeoutTimer','_localeService','_socketMessageSubscription','collabWebSocketUrl','UniverLicense','YUUMI_RATE_OVER_LIMIT','hide','moveTo','_createInitialStateImpl','APPLY_REJECT','_showConflictNotification','WorkbookEditablePermission','ERROR_EXCEED_SIZE','_hideTimer','_getSendChangesetTimeout','Injector','editingUnit','_setupBeforeClosingHandler','@univerjs/engine-formula','_sheetTransformSelectionsService','univer-offline','connection\x20error','off-line-single_clip0_910_343','collabStatus.conflict','rxjs','createIdentifier','awaiting','HEARTBEAT_INTERVAL_KEY','disableLocalCache','permission.title','getUniverSheetInstance','IContextService','isInternalEditorID','univerjs-icon\x20univerjs-icon-','_getCtorByUniverType','_handleHover','trim','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','_collaborationSessionService','_docSkeleton','_onCombEvent','_applyRemoteChangeset','_transformUndoRedoStack','includes','JSONX','asObservable','authzUrl','state$','changesets','onReady','code','updateCollaborator','loginUrlKey','OffLineSingle','isActive','selection','ThemeService','sendChangesetTimeout','INGEST','slice','state','/universer-api/stream/file/upload','MessageType','getUnitStatus$','_initResize','_textBubble','_createHandler','_snapshotService','transformSelections','reduce','getCollabCursors$','visibilityState','deepClone','activeSheet$','74gcZRuZ','_refreshCollabCursors','_getAnchorBounding','createInstance','_entities','responseType','/collaborator','_telemetryService','CommandType','loadDoc','SetTextSelectionsOperation','40124PDUnHs','size','addObject','objectID','measureText','uni.network.url-service','_disableEditing','_rescheduleHeartbeat','labelPosition','_shouldReportTelemetry','onRemoteChangeset','fromEvent','dispose$','_loadSheet','_updateState','_cursor','_members','_disabled','getOwnPropertyDescriptor','IRenderManagerService','_messageService','Unknown\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','concat','OFFLINE','closePath','_socket','_heartbeatTimer','1374003QAKIFQ','toRgbString','AuthzIoHttpService','resourceIDs','SheetCollaborationEntity','_getMergeRange','setAlpha','/allowed','_scheduleCollaborationTimeoutTimer','YUUMI_SUBSCRIPTION_NOT_FOUND','_state$','addImageSourceCache','getCurrentUser','getRangePointData','_getSheetObject','\x20to\x20','_onConnectionOpen','HEARTBEAT_INTERVAL','CONFLICT','_scheduleTimestamp','@univerjs/core','@univerjs-pro/license','InsertSheetMutation','onStarting','CHANGESET_REVISION_CONFILICT','_executeRemoteChangeset','updateCursorEvent','_startTelemetryCollaborationNewChangeset','startTime','collaboratorID','_onRemoteRejected','NOT_FOUND','socket$','override','collabSubmitChangesetUrl','_drawTextRange','onlyLocal','LIVESHARE_TERMINATE','removeMember','_renderManagerService','type','startsWith','@univerjs/sheets','_unlockTransition','Tools','_httpService','InsertRangeMoveDownCommandId','disposeUnit','clearTimeout','SheetPermissionInitController','_transformIMECache','_sheetSkeletonManagerService','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','_listenToOnlineEvent','getInterceptPoints','_cursorShapes','NodePositionConvertToCursor','getSheetObject','[CollaborationState]:\x20apply\x20error!','take','[OfflineState]:\x20received\x20changeset.','_pendingMutations','interceptor','JOIN','_retryConnectingTimer','MSG_FOR_ERROR','name','unit','onTransformChange$','loadOfflineData','collab-text-range-','getCoordByCell','ImageIoService','_commandService','xlink:href','_socketService','LocalCacheService','eventID','close','HTTPRequest','_handleEvent','_substituteUndoStack','commentUpdate$','UniverInstanceType','_registerRenderDependencies','resend','DependentOn','[PendingState]:\x20unhandled\x20univer\x20type:\x20','IPermissionService','_sendHeartbeatTimer','onRendered','synced','getOffsetConfig','_docStateChangeManagerService','COLLAB_SUBMIT_CHANGESET_URL_KEY','getValue','next','file','restore','UPDATE_CURSOR','parseProtocolChangeset','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','{fileID}','message$','update','svg','hidden','createCollaborator','saveOfflineData','InsertRowCommandId','defineProperty','prototype','with','string','/block/','_onCursorUpdate','_initStatusListener','onTransformRemoteChangesetByIMECache','off-line-single','_remoteChangesetQueue','getOwnPropertySymbols','amd','ERROR_IMAGE','INVALID_ARGUMENT','LocaleService','location','HELLO','triggerDblclick','image/bmp','saveChangeset','UniverDocs','SUBMIT_CHANGESET','unitID','IHTTPImplementation','&assign=','clear','putCollaborators','_startCollaboration','collaboration.single-unit.warning','AUTHZ_URL_KEY','confirm','debounce','get','APPLY_REVISION_CONFILICT','_ensureSubject','_onRefRangeChange','_updateCollabCursors','url(#on-line-single_clip0_910_349)','_colorAssignService','CONNECTOR_DATA_TOO_LARGE','getRelativeToViewportCoord','collaboration.closeRoom','findNodePositionByCharIndex','_univerInstanceService','registerComponent','LOCAL_CACHE_INTERVAL_KEY','map','getMember','hasOwnProperty','SheetsSelectionsService','createSocket','collaborators','_getScale','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','getImage','@univerjs/ui','toggleOffline','close$','HEADER_MENU','AWAITING','IImageIoService','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','_onConnectionFailed','?size=','CHANGESET_ACK','[FetchMissState]','parse','tag','none','transformRemoteChangeset','collabStatus.offline','text','Error','_revisionService','[CollaborationSessionService]','unitId\x20is\x20not\x20found','capture','collabStatus.fetchMiss','fetching\x20missing\x20changesets\x20from\x20','_getLoginPath','actions','_eventUnsubscribe','executeCommand','url(#$1','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','newValue','appendMutation','toggleOnline','focused$','transformByState','collaboration-session-retry','allowed','_clearUndo','transformIMECache','_initCommandExecutedListener','handleIRemoveRow','_document','toString','_undoStacks','_unitStatus','@univerjs/sheets-ui','useDependency','mapTo','forEach','auth.needGotoLoginAlert','subunit','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','color','incrementRevOfUnit','post','updatePermissionObjEvent','0\x200\x2017\x2016','OTHER_CLIENTS_EDITING','encode','red300','getViewport','onSendChangeset','snapshot','setShapeProps','popstate','enableOfflineEditing','image/gif','push','_collabCursorController','_init','VIEWPORT_KEY','Vector2','NO_OTHER_CLIENTS_EDITING','AWAITING_WITH_PENDING','setTimeout','error$','_permissionService','HttpImport','_cursorInfo$','backgroundColor','setItem','153268veUGWY','LICENSE_DISTRO_REJECTED','FAIL','_shapes','_onRemoteACK','RETRY_CONNECTING_MAX_COUNT_KEY','startColumn','/object','_saveTaskMap','ITransformService','uploadFileServerUrl','_transformService','x-univer-host','isPermissionRej','ONLINE','getUnit','_scheduleSaving','_lockTransition','collab-client.tooltip.reconnect','0\x200\x2016\x2016','reverse','_scene','IBeforeCloseService','_instanceService','_updateLocalCursor','forwardRef','generateRandomId','title','error','endRow','storage','m1Prime','_handleLeaveEvent','indexOf','_onJoinRoomEvent','getColor','displayName','_joinRoom','CompressMutationService','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','RxDisposable','ICollaborationSocketService','_initCloseConn','UNIVER_DOC','collabStatus.syncing','patch','contains','_initRequestHeader','UPDATE_PERMISSION_OBJ','some','evenodd','result','params','SetSelectionsOperation','startRow','UNIVER_UNKNOWN','_selfUnitIDs','UniverCore','width','show','engine','useRef','memberID','UniverSheetsUi','key','setParam','_updateURLWithCurrentState','urlChange$','_getAPIPrefix','_anchorDot','filter','roomMembers$','IURLService','combineLatest','BuiltInUIPart','_config','initWorkbookPermissionChange','getSheetBySheetId','sessionStatus','WebURLService','_updateSubUnitFromURLParams','_isPermissionRej','socketService','status','submit\x20changeset\x20error!','_initMergeInterceptor','COMMENT_UPDATE','handleDeleteRangeMoveLeft','/-/object/-/batch_allowed','RevisionService','@univerjs/docs','has','_incrementRevisionNumber','_waitCount','_clearHeartbeatTimer','session.connection-failed','concatMap','idSuffix','currentColor','handleInsertRangeMoveDown','headers','toStringTag','_acknowledgedAwaitingChangeset','getCollabEntity','_checkMissing','transform','collaboration-client.config','_themeService','UNDEFINED','sheetID','debounceTime','NOT_COLLAB','COLORS','useCallback','revision','clearInterval','#fff','change$','fetchMissingChangesets','univer-online-status','InsertColCommandId','_snapshotServerService','unsubscribe','getVpScrollXYInfoByPosToVp','m2Prime','_telemetryInfo','EXCHANGE_SIGN_URL_SERVER_URL_KEY','registerBeforeClose','Warning','offline','Shape','RemoveRowCommandId','_urlService','socket\x20open.','NodePositionConvertToRectRange','_startDocCollabCursor','getResourcesRequest','unload','_tryReconnect','DocCollaborationEntity','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','transformUndoRedo','_initEventListeners','@univerjs-pro/collaboration','/universer-api/authz','assignAColorForMemberID','LOCAL_CACHE_INTERVAL','COMPRESS_MUTATION_SEND','ColorKit','substring','USERS_ENTER','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','handleInsertRow','hovered','getDocRanges','session','telemetry\x20info\x20is\x20not\x20initialized','_sessionStatus$','pipe','toDisposable','SNAPSHOT_HAS_BEEN_REMOVED','debug','_onConflict','DocIMEInputManagerService','stopTime','getCollabEntity$','WebSocketService'];_0x4c12=function(){return _0x397fdd;};return _0x4c12();}
|