@univerjs-pro/collaboration-client 0.4.0-alpha.1 → 0.4.0-experimental.d7288c0-20241017

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/umd/index.js CHANGED
@@ -1 +1 @@
1
- function _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 _0x2006(){const _0x16cbaa=['/universer-api/oidc/authpage','session.collaboration-timeout','getDocRanges','_HTTPService','POST','HEARTBEAT_INTERVAL_KEY','incrementRevOfUnit','responseType','87375GWRKxe','UniverEngineRender','Undefined','switchMap','headers','transformRemoteChangeset','AuthzIoHttpService','_startDocCollabCursor','_getLoginPath','_labelPosition','list','UniverInstanceType','_drawAnchor','fillStyle','TOO_MANY_REQUESTS','useRef','black','SHOULD_CLOSE_CONN','...','UniverTelemetry','mutations','displayName','setShapeProps','pending','_transformPreviousActiveRange','SnapshotServerOverHTTPService','text','_online','_schedule','1em','blue400','collabCursorState$','RefRangeService','offline','_entityInit$','editingUnit','take','_candidateSocket','UNDEFINED','_scene','_onJoinRoomEvent','slice','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','getImage','SetWorksheetActivateCommand','UniverEngineFormula','icon','USERS_ENTER','toString','exports','/fetchmissing?from=','symbol','_updateLocalCache','_createInitialState','_ensureSubject','_userManagerService','_name','handleInsertCol','_registerDependencies','SetTextSelectionsOperation','_lockTransition','UniverSheets','_clearOtherTimers','getValue','endRow','now','url(#off-line-single_clip0_910_343)','_clearScheduledTask','updateCollaborator','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','YUUMI_UNABLE_LOAD_URL','makeDirty','getItem','getCellPositionByOffset','cmd','sid','enableOfflineEditing','_submitChangeset','_socket$','_logService','OnLineSingle','DependentOn','IRenderManagerService','jiqing500','touchDependencies','_disableEditing','_getMergeRange','_clearUndo','subscribeEvent','_unlockTransition','_transformUndoRedoStack','_onConnectionFailed','collaboration.closeRoom','toStringTag','csAckEvent','LIVESHARE_TERMINATE','encodeURIComponent','_redoStacks','_roomMembers','registerRefRange','JSONX','permission.content','cursorInfo$','pluginName','changesets','unshift','getInterceptPoints','set','_onUserLeave','MoveRangeCommandId','WebSocketService','[SyncedState]:\x20received\x20acknowledgement.','fillRule','@univerjs/telemetry','json','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','COLLAB_WEB_SOCKET_URL_KEY','_removeClearOtherTimer','ONLINE','message$','_toggleOnline','merge','NOT_COLLAB','NodePositionConvertToCursor','_beforeCloseService','_retryCount','_commandService','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','_decreaseWaiting','UNAUTHENTICATED','AUTHZ_URL_KEY','some','collabStatus.notCollab','_clearCollaborationTimeoutTimer','M0\x200H16V16H0z','collabStatus.offline','_timeoutTimer','isTransformMutationFailure','30PKiACp','Univer','ImageIoService','translate(.97)','onTransformRemoteChangesetByIMECache','fetchMiss','/universer-api/file/{fileID}/sign-url','updateOfflineData','_queuedRemoteChangesets','PERMISSION_REJ','_socketReady','_getSheetObject','Error\x20on\x20receiving\x20event','isArray','append','replace','0\x200\x2017\x2016','drawWith','_initMergeInterceptor','loadDoc','addEventListener','DataLoaderController','online','_getRedoStack','DocSkeletonManagerService','auth.needGotoLoginAlert','InsertRangeMoveDownCommandId','toLowerCase','Tools','whenReady','sendChangesetTimeout','roomMembers','SEND_CHANGESET_TIMEOUT_KEY','lineTo','IUniverInstanceService','collaboration.single-unit.warning','SNAPSHOT_HAS_BEEN_REMOVED','_docSkeletonManagerService','OffLineSingle','debounce','result','univerjs-icon\x20univerjs-icon-','[UniverCollaborationClientPlugin]','fetch_missing','onCommandExecuted','send','onTransformSelections','APPLY_DUPLICATED','#FFF','FromArray','[SyncedState]:\x20received\x20rejection.','getCollabEntity','image/gif','_initUnitPermissionChange','_cachedData','_scheduleCollaborationTimeoutTimer','_anchorDot','setTimeout','NO_OTHER_CLIENTS_EDITING','RemoveColCommandId','resourceIDs','_waitCount','_handleHover','transform','_initCommandExecutedListener','createSocket','@univerjs/engine-formula','awaiting_with_pending','WorkbookEditablePermission','4801880YrdjET','onMouseMove','gold400','_sheetSkeletonManagerService','submit\x20changeset\x20error!','allowed','1071875nWlAeQ','saveOfflineData','routeKey','url(#$1','collaboration-client.config','_scheduleTimestamp','loginUrlKey','children','disposeUnit','debug','Disposable','UUID','[CollaborationEntity]','then','delay','init','setActiveRange','_telemetryService','_getCtorByUniverType','_stopTelemetryCollaborationNewChangeset','_imageSourceCache','_revisionService','close$','/allowed','enableLocalCache','[OfflineState]:\x20received\x20changeset.','m2Prime','generateRandomId','RECV','_exhaustRemoteChangesetQueue','setItem','handleDeleteRangeMoveUp','getSheetBySheetId','_renderManagerService','string','event$','_sessionStatus$','ImageUploadStatusType','getSheetId','x-univer-host','bind','_onUserJoin','delete','subUnitId','error$','SNAPSHOT_INVALID_SNAPSHOT','font','target','IBeforeCloseService','awaiting','path','save','_status$','_cursor','/unit/','transformStack\x20failed!','unsubscribe','LIVESHARE_FETCH_OPERATIONS','LOCAL_CACHE_INTERVAL','[DataLoaderController]','getMember','BASE64','[OfflineState]:\x20received\x20rejection.','_rescheduleHeartbeat','onSendChangeset','trim','319mcAYmm','_initEventListeners','transformIMECache','getConfig','_substituteUndoStack','type','@univerjs/core','_localeService','71992yRwvXC','handleInsertRangeMoveRight','_createSocket','pushState','length','_range','_unitID','_telemetryInfo','_initStatusComponent','_roomMembers$','_docTransformIMECacheService','_sendHeartbeat','defIds','univer-offline','synced','bottom','localeService','_saveCache','_throwTelemetryCollaborationNewChangeset','toRgbString','_updateState','univer-pro.collaboration-client.single-active-unit-service','getOwnPropertySymbols','IDLE','session.will-retry','_clearHeartbeatTimer','catch','Optional','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','has','setAlpha','_initStatusListener','clipPath','CONFLICT','_handleHeartbeatEvent','getFocusedUnit','serializeRangeWithSheet','takeUntil','updatePermissionPoint','replaceTextRanges','startTime','IPermissionService','roomInfos','CommentService','_configService','_clearTimeoutTimer','SNAPSHOT_URL_KEY','_anchor','WebURLService','_sheetTransformSelectionsService','_getCurrentRevision','_tryReconnect','registerOnClose','_getSaveTimeout','OFFLINE','_saveTaskMap','unknown','390310dNDXmJ','_collabCursorState$','asObservable','state','TEXT_RANGE_LAYER_INDEX','onlineStatusTitle','COLLAB_WEB_SOCKET_URL','update','isTransformMutationsWithChangesetFailure','enableSingleActiveInstanceLock','UNRECOGNIZED','isPermissionRej','ENSURE_SNAPSHOT_EXECUTION','collabSubmitChangesetUrl','HEADER_MENU','_selfUnitIDs','parseChangesetToProtocol','fill','_hideTimer','colorChannel1','location','_updateStatus','ThemeService','SnapshotService','SheetCollabCursorShape','getUnitStatus$','getTypeOfUnitAdded$','assign','combineLatest','conflict.content','throttleTime','collabStatus.syncing','deserializeToCombResponse','_compressMutationService','[FetchMissState]','INVALID_ARGUMENT','_handleEvent','@univerjs/sheets','INGEST','MUTATION','getUniverSheetInstance','_docStateChangeManagerService','concatMap','range','toDisposable','_updateURLWithCurrentState','function','Plugin','LIVESHARE_REQUEST_HOST','SetSelectionsOperation','_cursorInfo$','MessageType','startRow','saveSheetBlock','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','LICENSE_DISTRO_REJECTED','_setupBeforeClosingHandler','LICENSE_MAX_UNITS_EXCEEDED','requireSession','_getAPIPrefixPath','size','NodePositionConvertToRectRange','useCallback','_color','_snapshotService','file','_retryConnectingTimer','getSkeleton','c1Prime','CONNECTOR_DATA_TOO_LARGE','onMissedChangesetFetched','getColor','skeleton','APPLY_PERMISSION_DENIED','_startCollaboration','socket\x20close','UniverDesign','CollaborationSocketService','_commentUpdate$','VIEW_MAIN','visibilityState','_refreshCollabCursors','_transformService','sessionStatus','_ws','_onConnectionOpen','ERROR_IMAGE','data','shouldCloseConn','executeCommand','random','_toggleOffline','searchParams','_docSyncEditingCollabCursorService','getCurrentRevOfUnit','fromEventSubject','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','removeMember','requestParams','off-line-single','registerRenderModule','UniverIcon','_snapshotServerService','_waitForHeartbeatResponse','isTransformMutationsWithChangesetSuccess','BehaviorSubject','_httpService','setInterval','create','reduce','triggerDblclick','UNIVER_UNKNOWN','DesktopCollaborationStatusDisplayController','_onRefRangeChange','Tooltip','transformSelections','amd','_createHandler','_collaborationSessionService','{fileID}','LocalCacheService','getUnhiddenWorksheets','measureText','objectID','/object/','_eventUnsubscribe','MSG_FOR_ERROR','defs','onlyLocal','_drawTextRange','width','_refRangeService','_hover','setParam','onCommentUpdate','_handleJoinEvent','getCurrentUser','collaborators','@univerjs/drawing','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','getDeserializedSheetBlock','listRoles','useObservable','min','put','getRangePointData','saveImage','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','_members','SessionStatus','arc','UNIVER_COLLABORATION_CLIENT_PLUGIN','ImageSourceType','_textBubble','_clearRedo','INotificationService','InsertRowCommandId','DeleteRangeMoveLeftCommandId','_unitOnClients','_onLocalMutation','_socketService','restore','textEncoder','body','CHANGESET_ACK','src','forEach','getCoordByCell','capture','dispose','focused$','LOGIN_URL_KEY','_singleActiveUnitService','_shouldReportTelemetry','on-line-single','_session','_entities','snapshot','unitId\x20is\x20not\x20found','COMMENT_UPDATE','@univerjs/sheets-ui','object','getSheetObject','getTypeOfUnitDisposed$','ranges','_collaborationController','fetchMissingChangesets','onStateChange','DeleteRangeMoveUpCommandId','RichTextEditingMutation','_onRemoteChangeset','transformMutationsWithChangeset','call','_getScale','deepClone','sessionStatus$','deserializeRangeWithSheet','UNIVER_SHEET','getActiveSheet','_getSignURL','AWAITING','clear','objectActions','Unknown\x20user','Vector2','not_collab','userID','_onOffline','unitId','code','removeParam','TRANSFORM_CHANGE_OBSERVABLE_TYPE','SheetsSelectionsService','[PendingState]:\x20received\x20acknowledgement.','params','red300','registerBeforeClose','_changesetReqId','@univerjs/ui','override','from','parseProtocolChangeset','UniverSheetsUi','Module','confirm','permissionRejEvent','ICommandService','LocaleService','color','/-/object/list','rng','awaitingChangeset','substring','baseRev','sheetID','getMergeData','_loadSheet','currentSkeleton$','COLORS','DocCollaborationEntity','ALREADY_EXISTS','_transitionLocked','getCurrent','_commentService','xlink:href','_updateLocalCursor','_socket','react','_transformIMECache','conflict','_injector','round','_send','find','getOwnPropertyDescriptor','ILocalStorageService','_docTransformSelectionsService','image/bmp','connectInjector','_syncEditingCollabCursorService','_pendingMutations','UniverCollaborationClientPlugin','beginPath','mapTo','appendMutation','evenodd','_state$','handleIRemoveCol','HttpExport','_getUndoStack','textRanges','_hovered','_getAPIPrefix','univer-online','_transformRemoteChangesetByIMECache','get','HEARTBEAT','_startTelemetryCollaborationNewChangeset','_scheduleClearOtherTimer','urlChange$','updateMember','onPointerEnter$','IImageIoService','collab-rect-range-','ITelemetryService','_getAnchorBounding','liveShareNewHost','collab-client.tooltip.reconnect','getTime','with','_localStorageService','_sendHeartbeatTimer','YUUMI_URL_COL_OUT_OF_RANGE','LEAVE','Rect','randomUUID','MergeInterceptorFactory','/block/','_joinRoom','_clearLocalCache','RevisionService','syncEditingCollabCursor','_collaborationPaused','IConfigService','findNodePositionByCharIndex','@univerjs-pro/collaboration','encode','JOIN','b64DecodeUnicode','Error','_unitStatus','getRelativeToViewportCoord','FETCH_MISSING','APPLY_REVISION_CONFILICT','Injector','image/jpeg','registerHTTPInterceptor','concat','current','uni.network.url-service','_syncEditingCollabCursor','_memberService','/new_changes','_initModules','SheetSkeletonManagerService','rxjs','mergeOverrideWithDependencies','row','onRemoteChangeset','getUndoRedoMutationParamsCache','USERS_LEAVE','setCurrentUser','_http','Shape','HEARTBEAT_TIMEOUT','628989IUPwFB','defineProperty','onRemoteRej','getRenderById','_createInitialStateImpl','setWaitCount','UPDATE_PERMISSION_OBJ','UniverDocsUi','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','createIdentifier','closeSession','univer-online-status','div','activeSheet$','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','@univerjs/engine-render','@univerjs-pro/license','OTHER_CLIENTS_EDITING','sheets','transformChangesets','EffectRefRangId','HEARTBEAT_TIMEOUT_KEY','_docSkeleton','getCollabEntity$','ITransformService','height','RETRY_CONNECTING_MAX_COUNT','className','/universer-api/snapshot','_shapes','_id','idSuffix','_replayCachedMutations','[PendingState]:\x20unhandled\x20univer\x20type:\x20','href','FileId','next','ERROR_EXCEED_SIZE','_updateCollabCursors','_permissionService','getResourcesRequest','cursorInfo','newValue','push','getRandomValues','[CollaborationSessionService]:\x20socket\x20error','_backgroundColor','UniverUi','transformUndoRedo','getAttachHeader','_getSnapshotAPIPrefix','contains','_listenToOfflineEvent','disposeWithMe','close','listCollaborators','Warning','flatMap','NOT_FOUND','transformMutation','title','clearTimeout','status','DocStateChangeManagerService','duration','_uiPartsService','_notificationService','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','interceptor','socket$','[PendingState]:\x20received\x20rejection.','isInternalEditorID','m1Prime','_onCursorUpdate','useDependency','_setupSubUnitSync','tag','UniverNetwork','reconnect','conflict.title','mapDocumentTypeToUniverType','disableLocalCache','onTransformIME','getVpScrollXYInfoByPosToVp','UNIVER_SLIDE','_startSheetCollabCursor','_messageService','_initCloseConn','React','putCollaborators','originalMeta','_undoRedoService','none','YUUMI_SUBSCRIPTION_NOT_FOUND','reject','getViewport','_context','on-line-single_clip0_910_349','unit-cache-','SUBMIT_CHANGESET','filter','_render','readAsDataURL','_draw','_acknowledgedAwaitingChangeset','CollaborationStatus','UnitSnapshot','getActiveRange','_event$','UniverCollaborationPlugin','/collaborator','onRendered','DocSelectionManagerService','_socketMessageSubscription','_handler','_init','createCollaborator','IMessageService','unitID','_removeRoom','fillText','450NpBGaA','updatePermissionObjEvent','includes','hidden','HttpImport','ILogService','_remoteChangesetQueue','_initResize','editing\x20status\x20changed\x20to','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','@univerjs/rpc','CommandType','Subject','@univerjs/network','refreshPermission','_onMessage','visibilitychange','APPLY_REJECT','_assignedColors','_getUploadFileURL','roomMembers$','fromEvent','[CollaborationState]:\x20apply\x20error!','reverse','failed\x20to\x20apply\x20missed\x20changesets!','pauseCollaboration','_awaitingChangeset','LICENSE_EXPORT_SIZE_EXCEEDED','handleDeleteRangeMoveLeft','unit','10CfruXA','complete','UNIVER_PROJECT','exhaustSavingTask','_heartbeatTimer','getMemberID','XHRHTTPImplementation','patch','ColorKit','NEW_CHANGESETS','stringify','_drawRectRange','handleInsertRow','onload','_lastPointer','distinctUntilChanged','YUUMI_RATE_OVER_LIMIT','?url=','forwardRef','LIVESHARE_OPERATION','joinEvent','shareReplay','ws://127.0.0.1:8000/universer-api/comb/connect','getSheetBlock','show','uploadFileServerUrl','doc.mutation.rich-text-editing','fetchThroughInterceptors','UPDATE_CURSOR','_executeRemoteChangeset','stopTime','[CollaborationSessionService]','InsertSheetMutation','prototype','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','CompressMutationService','off-line-single_clip0_910_343','DocIMEInputManagerService','workbook','all','Rectangle','_listenToOnlineEvent','HEARTBEAT_INTERVAL','toggleOnline','isTransformChangesetsSuccess','_urlService','newCsEvent','/universer-api/stream/file/upload','_tryEnsureSocket','CollaborationSession','collab-text-anchor-','isEditing','parse','_sendingTimer','joinRsp','name','registerComponent','CollaborationSessionService','_loadDoc','_colorAssignService','RxDisposable','CollaborationEntity','startColumn','UniverDocs','dispose$','LOCAL_CACHE_INTERVAL_KEY','Inject','IHTTPImplementation','eventID','_isPermissionRej','hide','indexOf','toggleOffline','SheetCollaborationEntity','PENDING','subunit','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','_sessions','INTERNAL_ERROR','debounceTime','CollaborationStatusDisplay','SheetPermissionInitController','@univerjs/design','RegularPolygon','_handleLeaveEvent','_config','batchAllowed','hasOwnProperty','values','entries','/universer-api/authz','attrs','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','_scheduleHeartbeat','UNKNOWN_CODE','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','loadOfflineData','currentColor','copyFileMeta','_replaceFileID','liveShareOperation','_state','isValidRectRange','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','every','error','resend','labelPosition','#fff','SNAPSHOT_SERVER_URL_KEY','220654DosYNQ','_incrementRevisionNumber','currentTheme$','@univerjs/docs-ui','initWorkbookPermissionChange','assignAColorForMemberID','objectType','permission.title','_registerRenderDependencies','getUnitId','CollaborationController','retryConnectingInterval','createElement','getUnitOnRev','LIVESHARE_NEW_HOST','purple300','HELLO','open$','collaMsg','c2Prime','UniverDrawing','_instanceService','compose','[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.','_cursorShapes','UNKNOWN_CMD','rev','_type','_collaborationTimeoutTimer','_onRemoteRejected','_collabSessionService','\x20to\x20','IRemoteInstanceService','COMPRESS_MUTATION_APPLY','getImageSourceCache','_change$','_onCursorDelete','csRejEvent','_localCacheService','BuiltInUIPart','action','revision','HTTPRequest','/-/object/-/batch_allowed','getAncestorScale','/object','status$','DEFAULT_FILE_NAME','map','onRemoteAck','_initRequestHeader','SEND_CHANGESET_TIMEOUT','extend','CollaborationEvent','column','_onConflict','top','selection','_transformUndoredo','_substituteRedoStack','rxjs/operators','subscribe','HTTPService','addObject','getParam','_onRecvEvent','reqId','_getSendChangesetTimeout','actions','commentUpdate$','post','history','ACTIVE_UNIT_EVENT_CHANNEL','number','onSyncEditingCollabCursor','_showConflictNotification','_colorIndex','PSEUDO_FETCH_MISSING_RESULT','getCollabCursors$','snapshotServerUrl','add','memberID','ThresholdInterceptorFactory','_onCombEvent','session','createInstance','operators','setConfig','_changesetSessionId','saveSnapshot','transformByState','pipe','_transformStack','getUnitType','collabStatus.fetchMiss','unload','UnitEmbedded','IAuthzIoService','change$','commentUpdateEvent','_removeCollabCursors','IUndoRedoService','_onFetchMissResult','telemetry\x20info\x20is\x20not\x20initialized','socket\x20open.','RemoveRowCommandId','_updateSubUnitFromURLParams','FAIL','_transformSelections','_disabled','setUndoRedoMutationParamsCache','DisposableCollection','_checkMissing','LICENSE_IMPORT_SIZE_EXCEEDED','_collabCursorController','_themeService','[CollaborationSession]','IURLService','collaboration-session-retry','_getDownloadEndpointURL','UNIVER_DOC','PERMISSION_DENIED','APPLY_NON_SEQUENTIAL_REVISION','max','_applyRemoteChangeset','[CollaborationUndoRedoService]','_univerInstanceService','_cursors','image/jpg','FETCH_MISS','selections'];_0x2006=function(){return _0x16cbaa;};return _0x2006();}function _0x2fa9(_0x34e2bd,_0x119ab5){const _0x20061a=_0x2006();return _0x2fa9=function(_0x2fa9b3,_0x2acb2d){_0x2fa9b3=_0x2fa9b3-0x18b;let _0x3f6905=_0x20061a[_0x2fa9b3];return _0x3f6905;},_0x2fa9(_0x34e2bd,_0x119ab5);}(function(_0x2402f2,_0x308af4){const _0x11fbc3=_0x2fa9,_0x2e2642=_0x2402f2();while(!![]){try{const _0x1cf3ca=-parseInt(_0x11fbc3(0x454))/0x1*(-parseInt(_0x11fbc3(0x4c2))/0x2)+-parseInt(_0x11fbc3(0x3bd))/0x3+-parseInt(_0x11fbc3(0x1e5))/0x4+-parseInt(_0x11fbc3(0x54d))/0x5*(-parseInt(_0x11fbc3(0x1a0))/0x6)+parseInt(_0x11fbc3(0x1eb))/0x7+-parseInt(_0x11fbc3(0x235))/0x8*(parseInt(_0x11fbc3(0x436))/0x9)+-parseInt(_0x11fbc3(0x26e))/0xa*(-parseInt(_0x11fbc3(0x22d))/0xb);if(_0x1cf3ca===_0x308af4)break;else _0x2e2642['push'](_0x2e2642['shift']());}catch(_0x16b02d){_0x2e2642['push'](_0x2e2642['shift']());}}}(_0x2006,0x964a2),function(_0x332fa8,_0x188ccc){const _0x32e79c=_0x2fa9;typeof exports==_0x32e79c(0x323)&&typeof module<'u'?_0x188ccc(exports,require(_0x32e79c(0x233)),require(_0x32e79c(0x3b3)),require(_0x32e79c(0x4fe)),require('@univerjs/design'),require(_0x32e79c(0x348)),require(_0x32e79c(0x443)),require('@univerjs-pro/collaboration'),require(_0x32e79c(0x5be)),require('@univerjs/docs-ui'),require(_0x32e79c(0x293)),require(_0x32e79c(0x3cc)),require('@univerjs/docs'),require(_0x32e79c(0x2f8)),require(_0x32e79c(0x1e2)),require('@univerjs/sheets-ui'),require(_0x32e79c(0x365)),require(_0x32e79c(0x440)),require('@univerjs-pro/license')):typeof define==_0x32e79c(0x29c)&&define[_0x32e79c(0x2e2)]?define([_0x32e79c(0x57e),_0x32e79c(0x233),'rxjs',_0x32e79c(0x4fe),_0x32e79c(0x4a6),_0x32e79c(0x348),_0x32e79c(0x443),_0x32e79c(0x39f),_0x32e79c(0x5be),_0x32e79c(0x4c5),_0x32e79c(0x293),_0x32e79c(0x3cc),'@univerjs/docs','@univerjs/drawing',_0x32e79c(0x1e2),_0x32e79c(0x322),_0x32e79c(0x365),_0x32e79c(0x440),_0x32e79c(0x3cd)],_0x188ccc):(_0x332fa8=typeof globalThis<'u'?globalThis:_0x332fa8||self,_0x188ccc(_0x332fa8['UniverCollaborationClient']={},_0x332fa8['UniverCore'],_0x332fa8[_0x32e79c(0x3b3)],_0x332fa8[_0x32e79c(0x3b3)][_0x32e79c(0x518)],_0x332fa8[_0x32e79c(0x2ba)],_0x332fa8[_0x32e79c(0x3ec)],_0x332fa8[_0x32e79c(0x40a)],_0x332fa8['UniverCollaboration'],_0x332fa8[_0x32e79c(0x560)],_0x332fa8[_0x32e79c(0x3c4)],_0x332fa8[_0x32e79c(0x58a)],_0x332fa8[_0x32e79c(0x54e)],_0x332fa8[_0x32e79c(0x493)],_0x332fa8[_0x32e79c(0x4d6)],_0x332fa8[_0x32e79c(0x57a)],_0x332fa8[_0x32e79c(0x34c)],_0x332fa8[_0x32e79c(0x415)],_0x332fa8['UniverRpc'],_0x332fa8['UniverLicense']));}(this,function(_0x358006,_0x59f135,_0x2a4cb9,_0x590f9e,_0x115a16,_0x575a2d,_0x485f5a,_0xd9269e,_0x33d7ec,_0x9a0457,_0x4dc08b,_0x3a990c,_0x2fa0c8,_0x4bdcdf,_0x2c9bef,_0x25d706,_0x48b279,_0x222a10,_0x1083fd){'use strict';const _0x1f33ec=_0x2fa9;var _0x4d2833=Object[_0x1f33ec(0x3be)],_0x24824d=(_0x16afe3,_0x402d63,_0xb25350)=>_0x402d63 in _0x16afe3?_0x4d2833(_0x16afe3,_0x402d63,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xb25350}):_0x16afe3[_0x402d63]=_0xb25350,_0x4fb0a3=(_0x10e712,_0x521376,_0x58fd27)=>_0x24824d(_0x10e712,typeof _0x521376!=_0x1f33ec(0x580)?_0x521376+'':_0x521376,_0x58fd27);const _0x3417e0=_0x1f33ec(0x4c1),_0x47a03d=_0x1f33ec(0x3d9),_0x3cc623=_0x1f33ec(0x263),_0x4c9047=_0x1f33ec(0x4f5),_0x4e8fc3=_0x1f33ec(0x274),_0x30b890=_0x1f33ec(0x46a),_0x144671=_0x1f33ec(0x47e),_0x2f9a5d=_0x1f33ec(0x3bc),_0x42b632=_0x1f33ec(0x3d7),_0x37af9e=_0x1f33ec(0x225),_0x551ab5='COLLAB_SUBMIT_CHANGESET_URL',_0x23edbd='/universer-api/comb',_0x4915d0=_0x1f33ec(0x319),_0x5e6411=_0x1f33ec(0x545);var _0x329fe6=(_0x44efd2=>(_0x44efd2[_0x44efd2[_0x1f33ec(0x573)]=0x0]=_0x1f33ec(0x573),_0x44efd2[_0x44efd2['OK']=0x1]='OK',_0x44efd2[_0x44efd2[_0x1f33ec(0x4a2)]=0x2]=_0x1f33ec(0x4a2),_0x44efd2[_0x44efd2[_0x1f33ec(0x53b)]=0x3]=_0x1f33ec(0x53b),_0x44efd2[_0x44efd2[_0x1f33ec(0x3f7)]=0x4]=_0x1f33ec(0x3f7),_0x44efd2[_0x44efd2[_0x1f33ec(0x197)]=0x5]=_0x1f33ec(0x197),_0x44efd2[_0x44efd2[_0x1f33ec(0x35e)]=0x6]=_0x1f33ec(0x35e),_0x44efd2[_0x44efd2[_0x1f33ec(0x291)]=0x7]=_0x1f33ec(0x291),_0x44efd2[_0x44efd2[_0x1f33ec(0x55b)]=0x8]='TOO_MANY_REQUESTS',_0x44efd2[_0x44efd2['COMPLETION_FINISHED']=0x9]='COMPLETION_FINISHED',_0x44efd2[_0x44efd2['CHANGESET_REVISION_CONFILICT']=0x1389]='CHANGESET_REVISION_CONFILICT',_0x44efd2[_0x44efd2[_0x1f33ec(0x218)]=0x1771]=_0x1f33ec(0x218),_0x44efd2[_0x44efd2[_0x1f33ec(0x1c4)]=0x1772]=_0x1f33ec(0x1c4),_0x44efd2[_0x44efd2[_0x1f33ec(0x27a)]=0x1773]=_0x1f33ec(0x27a),_0x44efd2[_0x44efd2[_0x1f33ec(0x447)]=0x1b59]='APPLY_REJECT',_0x44efd2[_0x44efd2['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x1f33ec(0x53c),_0x44efd2[_0x44efd2[_0x1f33ec(0x3a7)]=0x1b5b]=_0x1f33ec(0x3a7),_0x44efd2[_0x44efd2[_0x1f33ec(0x2b7)]=0x1b5c]=_0x1f33ec(0x2b7),_0x44efd2[_0x44efd2[_0x1f33ec(0x1cf)]=0x1b5d]='APPLY_DUPLICATED',_0x44efd2[_0x44efd2[_0x1f33ec(0x2b3)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x44efd2[_0x44efd2[_0x1f33ec(0x2a7)]=0x2329]=_0x1f33ec(0x2a7),_0x44efd2[_0x44efd2[_0x1f33ec(0x2a4)]=0x232a]=_0x1f33ec(0x2a4),_0x44efd2[_0x44efd2[_0x1f33ec(0x533)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x44efd2[_0x44efd2[_0x1f33ec(0x451)]=0x232c]=_0x1f33ec(0x451),_0x44efd2[_0x44efd2[_0x1f33ec(0x2a5)]=0x232d]=_0x1f33ec(0x2a5),_0x44efd2[_0x44efd2[_0x1f33ec(0x593)]=0x2711]=_0x1f33ec(0x593),_0x44efd2[_0x44efd2['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x1f33ec(0x392),_0x44efd2[_0x44efd2[_0x1f33ec(0x464)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x44efd2[_0x44efd2['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x1f33ec(0x41a),_0x44efd2[_0x44efd2[_0x1f33ec(0x278)]=-0x1]=_0x1f33ec(0x278),_0x44efd2))(_0x329fe6||{}),_0x3620e1=(_0x21f838=>(_0x21f838[_0x21f838[_0x1f33ec(0x2dd)]=0x0]=_0x1f33ec(0x2dd),_0x21f838[_0x21f838[_0x1f33ec(0x53a)]=0x1]=_0x1f33ec(0x53a),_0x21f838[_0x21f838[_0x1f33ec(0x333)]=0x2]=_0x1f33ec(0x333),_0x21f838[_0x21f838[_0x1f33ec(0x411)]=0x3]='UNIVER_SLIDE',_0x21f838[_0x21f838[_0x1f33ec(0x456)]=0x4]=_0x1f33ec(0x456),_0x21f838[_0x21f838['UNRECOGNIZED']=-0x1]=_0x1f33ec(0x278),_0x21f838))(_0x3620e1||{}),_0x4cd0f1=(_0x4657cc=>(_0x4657cc[_0x4657cc[_0x1f33ec(0x4db)]=0x0]=_0x1f33ec(0x4db),_0x4657cc[_0x4657cc[_0x1f33ec(0x4d2)]=0x1]=_0x1f33ec(0x4d2),_0x4657cc[_0x4657cc[_0x1f33ec(0x3a1)]=0x2]=_0x1f33ec(0x3a1),_0x4657cc[_0x4657cc['LEAVE']=0x3]=_0x1f33ec(0x393),_0x4657cc[_0x4657cc[_0x1f33ec(0x294)]=0x4]=_0x1f33ec(0x294),_0x4657cc[_0x4657cc[_0x1f33ec(0x382)]=0x5]=_0x1f33ec(0x382),_0x4657cc[_0x4657cc[_0x1f33ec(0x207)]=0x6]='RECV',_0x4657cc[_0x4657cc[_0x1f33ec(0x278)]=-0x1]=_0x1f33ec(0x278),_0x4657cc))(_0x4cd0f1||{}),_0x11118b=(_0x14fed0=>(_0x14fed0[_0x14fed0['UNKNOWN_CODE']=0x0]=_0x1f33ec(0x4b2),_0x14fed0[_0x14fed0['OK']=0x1]='OK',_0x14fed0[_0x14fed0[_0x1f33ec(0x52d)]=0x2]=_0x1f33ec(0x52d),_0x14fed0[_0x14fed0['UNRECOGNIZED']=-0x1]=_0x1f33ec(0x278),_0x14fed0))(_0x11118b||{}),_0x2603c4=(_0x115210=>(_0x115210[_0x115210[_0x1f33ec(0x54f)]=0x0]=_0x1f33ec(0x54f),_0x115210[_0x115210['HttpImport']=0x1]=_0x1f33ec(0x43a),_0x115210[_0x115210[_0x1f33ec(0x37a)]=0x2]=_0x1f33ec(0x37a),_0x115210[_0x115210[_0x1f33ec(0x522)]=0x3]=_0x1f33ec(0x522),_0x115210[_0x115210['UnitSnapshot']=0x4]=_0x1f33ec(0x427),_0x115210[_0x115210[_0x1f33ec(0x278)]=-0x1]='UNRECOGNIZED',_0x115210))(_0x2603c4||{});const _0x4e0661=_0x1f33ec(0x1ef),_0x1a16c8={};function _0x314f4c(_0x130dc1){const _0x52cc5f=_0x1f33ec;var _0x3e9a59,_0x30cc9a,_0x6939d4,_0x1f962c;const _0x556ea9=_0x130dc1[_0x52cc5f(0x2c5)],_0x5a31c0=JSON[_0x52cc5f(0x488)](_0x556ea9);switch(_0x5a31c0['cmd']){case _0x4cd0f1[_0x52cc5f(0x382)]:case _0x4cd0f1[_0x52cc5f(0x4d2)]:{const _0x3cf64d=_0x5a31c0['infoRsp'];return{..._0x5a31c0,'data':_0x3cf64d,'cmd':_0x5a31c0['cmd']};}case _0x4cd0f1[_0x52cc5f(0x3a1)]:{const _0x4b417f=_0x5a31c0[_0x52cc5f(0x48a)];return{..._0x5a31c0,'data':_0x4b417f,'cmd':_0x5a31c0[_0x52cc5f(0x597)]};}case _0x4cd0f1[_0x52cc5f(0x207)]:{const _0x33e556=_0x5a31c0[_0x52cc5f(0x4d4)];switch(_0x33e556['eventID']){case _0xd9269e['CollaborationEvent'][_0x52cc5f(0x1a9)]:return{..._0x5a31c0,'data':{..._0x33e556,'data':(_0x3e9a59=_0x33e556[_0x52cc5f(0x34f)])==null?void 0x0:_0x3e9a59['cs']},'cmd':_0x5a31c0[_0x52cc5f(0x597)]};case _0xd9269e[_0x52cc5f(0x4f7)][_0x52cc5f(0x312)]:return{..._0x5a31c0,'data':{..._0x33e556,'data':(_0x30cc9a=_0x33e556[_0x52cc5f(0x5ab)])==null?void 0x0:_0x30cc9a['cs']},'cmd':_0x5a31c0[_0x52cc5f(0x597)]};case _0xd9269e[_0x52cc5f(0x4f7)]['NEW_CHANGESETS']:return{..._0x5a31c0,'data':{..._0x33e556,'data':(_0x6939d4=_0x33e556[_0x52cc5f(0x482)])==null?void 0x0:_0x6939d4['cs']},'cmd':_0x5a31c0[_0x52cc5f(0x597)]};case _0xd9269e[_0x52cc5f(0x4f7)]['CHANGESET_REJ']:return{..._0x5a31c0,'data':{..._0x33e556,'data':(_0x1f962c=_0x33e556[_0x52cc5f(0x4e7)])==null?void 0x0:_0x1f962c['cs']},'cmd':_0x5a31c0[_0x52cc5f(0x597)]};case _0xd9269e[_0x52cc5f(0x4f7)][_0x52cc5f(0x470)]:return{..._0x5a31c0,'data':{..._0x33e556,'data':_0x33e556['updateCursorEvent']},'cmd':_0x5a31c0[_0x52cc5f(0x597)]};case _0xd9269e[_0x52cc5f(0x4f7)][_0x52cc5f(0x57c)]:return{..._0x5a31c0,'data':{..._0x33e556,'data':_0x33e556[_0x52cc5f(0x468)]},'cmd':_0x5a31c0[_0x52cc5f(0x597)]};case _0xd9269e[_0x52cc5f(0x4f7)]['USERS_LEAVE']:return{..._0x5a31c0,'data':{..._0x33e556,'data':_0x33e556['leaveEvent']},'cmd':_0x5a31c0[_0x52cc5f(0x597)]};case _0xd9269e[_0x52cc5f(0x4f7)]['LIVESHARE_NEW_HOST']:return{..._0x5a31c0,'data':{..._0x33e556,'data':_0x33e556[_0x52cc5f(0x38c)]},'cmd':_0x5a31c0[_0x52cc5f(0x597)]};case _0xd9269e[_0x52cc5f(0x4f7)][_0x52cc5f(0x224)]:case _0xd9269e[_0x52cc5f(0x4f7)][_0x52cc5f(0x467)]:return{..._0x5a31c0,'data':{..._0x33e556,'data':_0x33e556[_0x52cc5f(0x4b8)]},'cmd':_0x5a31c0[_0x52cc5f(0x597)]};case _0xd9269e[_0x52cc5f(0x4f7)]['LIVESHARE_TERMINATE']:return{..._0x5a31c0,'data':{..._0x33e556,'data':_0x33e556[_0x52cc5f(0x38c)]},'cmd':_0x5a31c0[_0x52cc5f(0x597)]};case _0xd9269e[_0x52cc5f(0x4f7)][_0x52cc5f(0x2ec)]:return{..._0x5a31c0,'data':_0x33e556,'cmd':_0x5a31c0[_0x52cc5f(0x597)]};case _0xd9269e[_0x52cc5f(0x4f7)][_0x52cc5f(0x321)]:return{..._0x5a31c0,'data':{..._0x33e556,'data':_0x33e556[_0x52cc5f(0x525)]},'cmd':_0x5a31c0[_0x52cc5f(0x597)]};case _0xd9269e[_0x52cc5f(0x4f7)][_0x52cc5f(0x3c3)]:return{..._0x5a31c0,'data':{..._0x33e556,'data':_0x33e556[_0x52cc5f(0x437)]},'cmd':_0x5a31c0[_0x52cc5f(0x597)]};case _0xd9269e[_0x52cc5f(0x4f7)]['SHOULD_CLOSE_CONN']:return{..._0x5a31c0,'data':{..._0x33e556,'data':_0x33e556[_0x52cc5f(0x2c6)]},'cmd':_0x5a31c0[_0x52cc5f(0x597)]};default:return _0x5a31c0;}}default:return _0x5a31c0;}}function _0x5bf8c6(_0x5cc294){const _0x15f07c=_0x1f33ec;switch(_0x5cc294[_0x15f07c(0x597)]){case _0x4cd0f1['HEARTBEAT']:case _0x4cd0f1[_0x15f07c(0x4d2)]:return JSON[_0x15f07c(0x45e)]({'cmd':_0x5cc294['cmd'],'routeKey':_0x5cc294[_0x15f07c(0x1ed)]});case _0x4cd0f1[_0x15f07c(0x294)]:{let _0x145189;switch(_0x5cc294[_0x15f07c(0x2c5)]['eventID']){case _0xd9269e[_0x15f07c(0x4f7)][_0x15f07c(0x470)]:{_0x145189={'eventID':_0xd9269e[_0x15f07c(0x4f7)][_0x15f07c(0x470)],'updateCursorEvent':_0x5cc294[_0x15f07c(0x2c5)][_0x15f07c(0x2c5)]};break;}case _0xd9269e['CollaborationEvent'][_0x15f07c(0x3b8)]:{_0x145189={'eventID':_0xd9269e[_0x15f07c(0x4f7)][_0x15f07c(0x3b8)],'leaveEvent':_0x5cc294['data'][_0x15f07c(0x2c5)]};break;}case _0xd9269e[_0x15f07c(0x4f7)]['USERS_ENTER']:{_0x145189={'eventID':_0xd9269e['CollaborationEvent'][_0x15f07c(0x57c)],'joinEvent':_0x5cc294[_0x15f07c(0x2c5)][_0x15f07c(0x2c5)]};break;}case _0xd9269e[_0x15f07c(0x4f7)][_0x15f07c(0x4d0)]:{_0x145189={'eventID':_0xd9269e[_0x15f07c(0x4f7)]['LIVESHARE_NEW_HOST'],'liveShareNewHost':_0x5cc294[_0x15f07c(0x2c5)]['data']};break;}case _0xd9269e[_0x15f07c(0x4f7)][_0x15f07c(0x467)]:{_0x145189={'eventID':_0xd9269e[_0x15f07c(0x4f7)]['LIVESHARE_OPERATION'],'liveShareOperation':_0x5cc294[_0x15f07c(0x2c5)][_0x15f07c(0x2c5)]};break;}case _0xd9269e['CollaborationEvent'][_0x15f07c(0x5ac)]:{_0x145189={'eventID':_0xd9269e[_0x15f07c(0x4f7)][_0x15f07c(0x5ac)],'liveShareTerminate':_0x5cc294[_0x15f07c(0x2c5)]['data']};break;}case _0xd9269e['CollaborationEvent'][_0x15f07c(0x29e)]:{_0x145189={'eventID':_0xd9269e[_0x15f07c(0x4f7)][_0x15f07c(0x29e)],'liveShareRequestHost':_0x5cc294['data'][_0x15f07c(0x2c5)]};break;}case _0xd9269e[_0x15f07c(0x4f7)][_0x15f07c(0x224)]:{_0x145189={'eventID':_0xd9269e[_0x15f07c(0x4f7)][_0x15f07c(0x224)]};break;}default:_0x145189={'eventID':_0x5cc294[_0x15f07c(0x2c5)][_0x15f07c(0x498)]};}return JSON[_0x15f07c(0x45e)]({'cmd':_0x5cc294[_0x15f07c(0x597)],'routeKey':_0x5cc294['routeKey'],'collaMsg':_0x145189});}case _0x4cd0f1[_0x15f07c(0x3a1)]:return JSON[_0x15f07c(0x45e)]({'cmd':_0x5cc294[_0x15f07c(0x597)],'routeKey':_0x5cc294[_0x15f07c(0x1ed)],'joinReq':_0x5cc294['data']});case _0x4cd0f1[_0x15f07c(0x393)]:return JSON['stringify']({'cmd':_0x5cc294[_0x15f07c(0x597)],'routeKey':_0x5cc294[_0x15f07c(0x1ed)],'leaveReq':_0x5cc294['data']});default:throw new Error('[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!');}}var _0x18a7a9=Object[_0x1f33ec(0x3be)],_0x4a5266=Object[_0x1f33ec(0x36c)],_0x4e013f=(_0x5e7606,_0x24bced,_0x13447a,_0xf2fb83)=>{const _0x37c1ad=_0x1f33ec;for(var _0x35061d=_0xf2fb83>0x1?void 0x0:_0xf2fb83?_0x4a5266(_0x24bced,_0x13447a):_0x24bced,_0x12c206=_0x5e7606[_0x37c1ad(0x239)]-0x1,_0x419049;_0x12c206>=0x0;_0x12c206--)(_0x419049=_0x5e7606[_0x12c206])&&(_0x35061d=(_0xf2fb83?_0x419049(_0x24bced,_0x13447a,_0x35061d):_0x419049(_0x35061d))||_0x35061d);return _0xf2fb83&&_0x35061d&&_0x18a7a9(_0x24bced,_0x13447a,_0x35061d),_0x35061d;},_0x2d297a=(_0x57a0bb,_0xe39ea6)=>(_0x3c37c6,_0x17a52f)=>_0xe39ea6(_0x3c37c6,_0x17a52f,_0x57a0bb);const _0x14979c=_0x59f135[_0x1f33ec(0x3c6)]('univer-pro.collaboration-client-socket-service');function _0x23f497(_0x44f969,_0x1fae97,_0x20fb76){const _0xa383aa=_0x1f33ec;return _0x44f969+'/'+_0x1fae97+_0xa383aa(0x221)+_0x20fb76+_0xa383aa(0x3b0);}_0x358006['CollaborationSocketService']=class extends _0x59f135[_0x1f33ec(0x1f5)]{constructor(_0x4bf00e,_0x422fbd,_0x1b8a9a,_0x5aab16,_0x238e75){const _0x1cad49=_0x1f33ec;super(),this[_0x1cad49(0x3ba)]=_0x4bf00e,this[_0x1cad49(0x2c2)]=_0x422fbd,this['_configService']=_0x1b8a9a,this['_logService']=_0x5aab16,this[_0x1cad49(0x2d4)]=_0x238e75;}[_0x1f33ec(0x1e1)](_0x912b8f){const _0x2dd97e=_0x1f33ec,_0x4476c1=this[_0x2dd97e(0x2c2)][_0x2dd97e(0x1e1)](_0x912b8f);if(!_0x4476c1)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!');const _0x349411=new _0x59f135[(_0x2dd97e(0x531))](),_0x2265cc=new _0x2a4cb9[(_0x2dd97e(0x442))]();_0x349411['add'](_0x4476c1[_0x2dd97e(0x201)]['subscribe'](_0x5f4222=>_0x2265cc['next'](_0x5f4222))),_0x349411[_0x2dd97e(0x512)](_0x59f135['toDisposable'](()=>_0x2265cc['complete']()));const _0x2bab88=new _0x2a4cb9['Subject']();_0x349411[_0x2dd97e(0x512)](_0x4476c1[_0x2dd97e(0x217)][_0x2dd97e(0x4ff)](_0x53fc95=>_0x2bab88[_0x2dd97e(0x3e1)](_0x53fc95))),_0x349411[_0x2dd97e(0x512)](_0x59f135[_0x2dd97e(0x29a)](()=>_0x2bab88[_0x2dd97e(0x455)]()));const _0x26e038=new _0x2a4cb9[(_0x2dd97e(0x442))]();_0x349411[_0x2dd97e(0x512)](_0x4476c1[_0x2dd97e(0x18d)][_0x2dd97e(0x4ff)](_0x356d0b=>{const _0x4582c1=_0x2dd97e,_0x49c5b4=_0x314f4c(_0x356d0b);_0x26e038[_0x4582c1(0x3e1)](_0x49c5b4);})),_0x349411[_0x2dd97e(0x512)](_0x59f135[_0x2dd97e(0x29a)](()=>_0x26e038[_0x2dd97e(0x455)]()));let _0x4c3fae;const _0x555fdf=()=>{const _0x4302f0=_0x2dd97e;_0x2bab88[_0x4302f0(0x3e1)](new Event('connection\x20error')),_0x2265cc[_0x4302f0(0x3e1)](new CloseEvent('connection\x20error')),_0x4c3fae[_0x4302f0(0x3f3)]();};return _0x4c3fae={'memberID':'','close$':_0x2265cc[_0x2dd97e(0x270)](),'error$':_0x2bab88['asObservable'](),'open$':_0x4476c1['open$'],'message$':_0x26e038[_0x2dd97e(0x270)](),'send':_0x53f6ae=>{const _0x2d37de=_0x2dd97e;if(_0x53f6ae[_0x2d37de(0x597)]===_0x4cd0f1['INGEST']){if(_0x53f6ae[_0x2d37de(0x2c5)]['eventID']===_0xd9269e[_0x2d37de(0x4f7)][_0x2d37de(0x420)]){this[_0x2d37de(0x59a)](_0x4c3fae,_0x53f6ae[_0x2d37de(0x2c5)])[_0x2d37de(0x24f)](_0x32b8f9=>{const _0x2e5332=_0x2d37de;this[_0x2e5332(0x59c)][_0x2e5332(0x4bd)](_0x32b8f9),_0x555fdf();});return;}if(_0x53f6ae[_0x2d37de(0x2c5)][_0x2d37de(0x498)]===_0xd9269e[_0x2d37de(0x4f7)]['FETCH_MISSING']){const _0x47e9a4=_0x53f6ae['data'];this['_fetchMissChangesets'](_0x47e9a4)[_0x2d37de(0x1f8)](_0x39c3b6=>{const _0xbda1ee=_0x2d37de;_0x26e038[_0xbda1ee(0x3e1)]({'cmd':_0x4cd0f1['RECV'],'code':_0x11118b['OK'],'routeKey':_0x47e9a4[_0xbda1ee(0x2c5)][_0xbda1ee(0x433)],'routeType':'','data':{'eventID':_0xd9269e[_0xbda1ee(0x4f7)][_0xbda1ee(0x50f)],'data':{'changesets':_0x39c3b6}}});})[_0x2d37de(0x24f)](_0x537390=>{const _0x3f7700=_0x2d37de;this[_0x3f7700(0x59c)][_0x3f7700(0x4bd)](_0x537390),_0x555fdf();});return;}}_0x4476c1['send'](_0x5bf8c6(_0x53f6ae));},'close':()=>{const _0x4e2ad5=_0x2dd97e;_0x4476c1[_0x4e2ad5(0x3f3)](),_0x349411['dispose']();}},_0x4c3fae;}async[_0x1f33ec(0x59a)](_0x321982,_0x5525ca){const _0x5c88d4=_0x1f33ec;var _0x58b5dd,_0x5df6cb;const {unitType:_0x484218,unitID:_0x20592c,changeset:_0x50968c}=_0x5525ca['data'],_0x5c76fa={'unitID':_0x20592c,'memberID':_0x321982['memberID'],'type':_0x484218,'changeset':_0xd9269e[_0x5c88d4(0x27e)](_0x50968c)},_0x213373=this[_0x5c88d4(0x261)][_0x5c88d4(0x230)](_0x551ab5),_0x43302f=this['_configService'][_0x5c88d4(0x230)](_0x4e0661),_0x5b8ba0=_0x23f497((_0x5df6cb=(_0x58b5dd=_0x43302f==null?void 0x0:_0x43302f[_0x5c88d4(0x27b)])!=null?_0x58b5dd:_0x213373)!=null?_0x5df6cb:_0x23edbd,_0x484218,_0x20592c);try{await this[_0x5c88d4(0x3ba)]['post'](_0x5b8ba0,{'body':_0x5c76fa});}catch(_0x460421){throw this['_logService'][_0x5c88d4(0x4bd)](_0x5c88d4(0x536),_0x5c88d4(0x1e9)),_0x460421;}}async['_fetchMissChangesets'](_0x220259){const _0x5f3bd5=_0x1f33ec,{unitID:_0x52227c,from:_0x9e27fc,to:_0x54f110,unitType:_0x3f8bec}=_0x220259[_0x5f3bd5(0x2c5)];return(await this[_0x5f3bd5(0x2d4)][_0x5f3bd5(0x328)]({'metadata':void 0x0},{'unitID':_0x52227c,'type':_0x3f8bec,'from':_0x9e27fc,'to':_0x54f110}))[_0x5f3bd5(0x5b5)];}},_0x358006['CollaborationSocketService']=_0x4e013f([_0x2d297a(0x0,_0x59f135[_0x1f33ec(0x496)](_0x485f5a[_0x1f33ec(0x500)])),_0x2d297a(0x1,_0x59f135[_0x1f33ec(0x496)](_0x485f5a[_0x1f33ec(0x5bb)])),_0x2d297a(0x2,_0x59f135[_0x1f33ec(0x39d)]),_0x2d297a(0x3,_0x59f135['ILogService']),_0x2d297a(0x4,_0xd9269e['ISnapshotServerService'])],_0x358006[_0x1f33ec(0x2bb)]);const _0x2e4d80='collaboration_new_changeset';function _0x109446(_0x3cf87e){const _0x21c095=_0x1f33ec;return JSON[_0x21c095(0x45e)](_0x3cf87e)[_0x21c095(0x239)];}class _0x8df29{constructor(){const _0x104d69=_0x1f33ec;_0x4fb0a3(this,_0x104d69(0x2bc),new _0x2a4cb9[(_0x104d69(0x442))]()),_0x4fb0a3(this,_0x104d69(0x507),this[_0x104d69(0x2bc)][_0x104d69(0x270)]());}[_0x1f33ec(0x2f4)](_0x59adb8){const _0x398981=_0x1f33ec;this['_commentUpdate$'][_0x398981(0x3e1)](_0x59adb8);}}var _0x22b7ea=Object[_0x1f33ec(0x3be)],_0x341766=Object[_0x1f33ec(0x36c)],_0x29bbee=(_0xf85827,_0x28e1b5,_0x309a04,_0x49084d)=>{for(var _0x47c26f=_0x49084d>0x1?void 0x0:_0x49084d?_0x341766(_0x28e1b5,_0x309a04):_0x28e1b5,_0x10618f=_0xf85827['length']-0x1,_0x4424e0;_0x10618f>=0x0;_0x10618f--)(_0x4424e0=_0xf85827[_0x10618f])&&(_0x47c26f=(_0x49084d?_0x4424e0(_0x28e1b5,_0x309a04,_0x47c26f):_0x4424e0(_0x47c26f))||_0x47c26f);return _0x49084d&&_0x47c26f&&_0x22b7ea(_0x28e1b5,_0x309a04,_0x47c26f),_0x47c26f;},_0x494743=(_0x18113c,_0x44eb21)=>(_0x384a9f,_0x38ba53)=>_0x44eb21(_0x384a9f,_0x38ba53,_0x18113c);let _0x3b92f1=class extends _0x59f135['Disposable']{constructor(_0x14e9f8,_0x47f048){const _0x1c8c47=_0x1f33ec;super(),_0x4fb0a3(this,_0x1c8c47(0x5af),new Map()),(this[_0x1c8c47(0x540)]=_0x14e9f8,this[_0x1c8c47(0x584)]=_0x47f048,this[_0x1c8c47(0x3f2)](_0x59f135[_0x1c8c47(0x29a)](_0x2a4cb9['merge'](this[_0x1c8c47(0x540)][_0x1c8c47(0x325)](_0x59f135[_0x1c8c47(0x558)][_0x1c8c47(0x333)])['pipe'](_0x590f9e['map'](_0x2fa5dc=>_0x2fa5dc[_0x1c8c47(0x4cb)]())),this[_0x1c8c47(0x540)][_0x1c8c47(0x325)](_0x59f135[_0x1c8c47(0x558)][_0x1c8c47(0x53a)])[_0x1c8c47(0x51d)](_0x590f9e[_0x1c8c47(0x4f2)](_0x4bec47=>_0x4bec47[_0x1c8c47(0x4cb)]())),this[_0x1c8c47(0x540)][_0x1c8c47(0x325)](_0x59f135['UniverInstanceType'][_0x1c8c47(0x411)])[_0x1c8c47(0x51d)](_0x590f9e['map'](_0x35978a=>_0x35978a[_0x1c8c47(0x4cb)]())))[_0x1c8c47(0x4ff)](_0x3b47da=>this[_0x1c8c47(0x434)](_0x3b47da)))));}[_0x1f33ec(0x3b9)](_0xb68c52){const _0x2563a0=_0x1f33ec;this['_userManagerService'][_0x2563a0(0x3b9)](_0xb68c52);}[_0x1f33ec(0x2f6)](){const _0xdb05d5=_0x1f33ec;return this[_0xdb05d5(0x584)][_0xdb05d5(0x2f6)]();}[_0x1f33ec(0x386)](_0x71cbcb,_0x3f029a){const _0x1fa1a5=_0x1f33ec;let _0x366886=this[_0x1fa1a5(0x5af)]['get'](_0x71cbcb);_0x366886||(_0x366886=new _0x1504ba(),this[_0x1fa1a5(0x5af)][_0x1fa1a5(0x5b8)](_0x71cbcb,_0x366886)),_0x366886[_0x1fa1a5(0x386)](_0x3f029a);}['removeMember'](_0x180a5a,_0x51316c){const _0x2de8f1=_0x1f33ec,_0x1f44ce=this[_0x2de8f1(0x5af)]['get'](_0x180a5a);_0x1f44ce&&_0x1f44ce['removeMember'](_0x51316c);}['getRoom'](_0x48fd04){const _0x54007f=_0x1f33ec;return this[_0x54007f(0x5af)][_0x54007f(0x381)](_0x48fd04);}[_0x1f33ec(0x227)](_0x1b64aa,_0x10e227){const _0x3fac33=_0x1f33ec,_0xf8fa94=this['_roomMembers'][_0x3fac33(0x381)](_0x1b64aa);if(_0xf8fa94)return _0xf8fa94[_0x3fac33(0x227)](_0x10e227);}['_removeRoom'](_0x18b667){const _0x2019fc=_0x1f33ec,_0x24b653=this[_0x2019fc(0x5af)]['get'](_0x18b667);_0x24b653&&(_0x24b653[_0x2019fc(0x317)](),this[_0x2019fc(0x5af)][_0x2019fc(0x215)](_0x18b667));}[_0x1f33ec(0x317)](){const _0x239518=_0x1f33ec;this[_0x239518(0x5af)][_0x239518(0x314)](_0x1ca323=>_0x1ca323[_0x239518(0x317)]()),this[_0x239518(0x5af)]['clear']();}};_0x3b92f1=_0x29bbee([_0x494743(0x0,_0x59f135[_0x1f33ec(0x1c2)]),_0x494743(0x1,_0x59f135[_0x1f33ec(0x496)](_0x59f135['UserManagerService']))],_0x3b92f1);class _0x1504ba extends _0x59f135[_0x1f33ec(0x1f5)]{constructor(){const _0x1b7eb6=_0x1f33ec;super(...arguments),_0x4fb0a3(this,_0x1b7eb6(0x302),new Map());}['dispose'](){const _0x309397=_0x1f33ec;this['_members'][_0x309397(0x337)]();}[_0x1f33ec(0x386)](_0x43504e){const _0x37da3d=_0x1f33ec;this[_0x37da3d(0x302)]['set'](_0x43504e[_0x37da3d(0x513)],_0x43504e);}['removeMember'](_0x28c182){const _0x55f414=_0x1f33ec;this[_0x55f414(0x302)]['delete'](_0x28c182);}[_0x1f33ec(0x227)](_0x304d4a){const _0x1eeb2b=_0x1f33ec;return this[_0x1eeb2b(0x302)]['get'](_0x304d4a);}}var _0x5c3f4f=Object[_0x1f33ec(0x3be)],_0x329e62=Object[_0x1f33ec(0x36c)],_0x440345=(_0x2d4fd4,_0x1ae5cc,_0x31319b,_0x5a070a)=>{const _0x263af8=_0x1f33ec;for(var _0x4dbc07=_0x5a070a>0x1?void 0x0:_0x5a070a?_0x329e62(_0x1ae5cc,_0x31319b):_0x1ae5cc,_0x1acc3d=_0x2d4fd4[_0x263af8(0x239)]-0x1,_0x3449a3;_0x1acc3d>=0x0;_0x1acc3d--)(_0x3449a3=_0x2d4fd4[_0x1acc3d])&&(_0x4dbc07=(_0x5a070a?_0x3449a3(_0x1ae5cc,_0x31319b,_0x4dbc07):_0x3449a3(_0x4dbc07))||_0x4dbc07);return _0x5a070a&&_0x4dbc07&&_0x5c3f4f(_0x1ae5cc,_0x31319b,_0x4dbc07),_0x4dbc07;},_0x2e2caa=(_0x18cf65,_0x5c834b)=>(_0x544ee3,_0x666e09)=>_0x5c834b(_0x544ee3,_0x666e09,_0x18cf65),_0x5df28e=(_0x3591fd=>(_0x3591fd[_0x3591fd[_0x1f33ec(0x24c)]=0x0]=_0x1f33ec(0x24c),_0x3591fd[_0x3591fd['JOINING']=0x1]='JOINING',_0x3591fd[_0x3591fd[_0x1f33ec(0x26b)]=0x2]=_0x1f33ec(0x26b),_0x3591fd[_0x3591fd[_0x1f33ec(0x18c)]=0x3]=_0x1f33ec(0x18c),_0x3591fd))(_0x5df28e||{});_0x358006[_0x1f33ec(0x485)]=class extends _0x59f135[_0x1f33ec(0x490)]{constructor(_0x31a1fa,_0x35b5c2,_0x3cdfe5,_0x2936dd,_0x2f8b00,_0x38ca57,_0x50dd3b,_0x17dd6f,_0x4d8fbe,_0x318304){const _0xb39c96=_0x1f33ec;super(),_0x4fb0a3(this,_0xb39c96(0x20f),new _0x2a4cb9[(_0xb39c96(0x2d7))](0x0)),_0x4fb0a3(this,_0xb39c96(0x331),this[_0xb39c96(0x20f)][_0xb39c96(0x270)]()),_0x4fb0a3(this,'_event$',new _0x2a4cb9[(_0xb39c96(0x442))]()),_0x4fb0a3(this,_0xb39c96(0x20e),this[_0xb39c96(0x429)][_0xb39c96(0x270)]()),_0x4fb0a3(this,_0xb39c96(0x364)),_0x4fb0a3(this,'_socketMessageSubscription'),_0x4fb0a3(this,_0xb39c96(0x4de)),_0x4fb0a3(this,_0xb39c96(0x31b),!0x1),_0x4fb0a3(this,_0xb39c96(0x23c),null),(this[_0xb39c96(0x23b)]=_0x31a1fa,this['_logService']=_0x3cdfe5,this[_0xb39c96(0x192)]=_0x2936dd,this[_0xb39c96(0x413)]=_0x2f8b00,this[_0xb39c96(0x261)]=_0x38ca57,this[_0xb39c96(0x234)]=_0x50dd3b,this['_memberService']=_0x17dd6f,this[_0xb39c96(0x361)]=_0x4d8fbe,this[_0xb39c96(0x1fc)]=_0x318304,this[_0xb39c96(0x31b)]=!!this[_0xb39c96(0x1fc)],_0x35b5c2['pipe'](_0x2a4cb9['takeUntil'](this[_0xb39c96(0x494)]))[_0xb39c96(0x4ff)](_0x5a1ae3=>{const _0x42554f=_0xb39c96;var _0xbd58b8;typeof _0x5a1ae3>'u'||(this[_0x42554f(0x364)]=_0x5a1ae3,_0x5a1ae3?(this['_joinRoom'](_0x5a1ae3),this[_0x42554f(0x42e)]=_0x5a1ae3['message$'][_0x42554f(0x4ff)](_0xbbcd0e=>{const _0x4b26f4=_0x42554f;_0xbbcd0e[_0x4b26f4(0x1ed)]===this[_0x4b26f4(0x23b)]&&this[_0x4b26f4(0x515)](_0xbbcd0e);})):(this[_0x42554f(0x247)](),this['_sessionStatus$'][_0x42554f(0x3e1)](0x2),(_0xbd58b8=this[_0x42554f(0x42e)])==null||_0xbd58b8[_0x42554f(0x223)](),this['_socketMessageSubscription']=null));}),this['disposeWithMe'](this['_beforeCloseService'][_0xb39c96(0x269)](()=>{const _0x4c42b4=_0xb39c96;var _0x430eb9;(_0x430eb9=this['_socket'])==null||_0x430eb9['send']({'cmd':_0x4cd0f1[_0x4c42b4(0x393)],'data':{'roomID':this['_unitID']}});})));}get['sessionStatus'](){const _0x3522be=_0x1f33ec;return this[_0x3522be(0x20f)][_0x3522be(0x58c)]();}['getMemberID'](){const _0x215dde=_0x1f33ec;var _0xf178a2,_0x46a792;return(_0x46a792=(_0xf178a2=this[_0x215dde(0x364)])==null?void 0x0:_0xf178a2[_0x215dde(0x513)])!=null?_0x46a792:null;}[_0x1f33ec(0x317)](){const _0x1de918=_0x1f33ec;super[_0x1de918(0x317)](),this[_0x1de918(0x494)][_0x1de918(0x3e1)](),this[_0x1de918(0x494)]['complete']();}['close'](){const _0x3dcab2=_0x1f33ec;var _0x3ecfa7,_0x261f3c;this[_0x3dcab2(0x247)](),(_0x3ecfa7=this[_0x3dcab2(0x364)])==null||_0x3ecfa7[_0x3dcab2(0x1cd)]({'cmd':_0x4cd0f1[_0x3dcab2(0x393)],'data':{'roomID':this[_0x3dcab2(0x23b)]}}),(_0x261f3c=this['_socket'])==null||_0x261f3c[_0x3dcab2(0x3f3)](),this[_0x3dcab2(0x429)][_0x3dcab2(0x455)](),this[_0x3dcab2(0x20f)][_0x3dcab2(0x455)](),this[_0x3dcab2(0x317)]();}[_0x1f33ec(0x515)](_0x358b44){const _0x4559c0=_0x1f33ec;_0x358b44['cmd']===_0x4cd0f1['JOIN']?this[_0x4559c0(0x575)](_0x358b44):_0x358b44['cmd']===_0x4cd0f1[_0x4559c0(0x207)]&&this[_0x4559c0(0x503)](_0x358b44);}[_0x1f33ec(0x398)](_0x1804e1){const _0x1a5c61=_0x1f33ec;this[_0x1a5c61(0x20f)][_0x1a5c61(0x3e1)](0x1),_0x1804e1[_0x1a5c61(0x1cd)]({'cmd':_0x4cd0f1[_0x1a5c61(0x3a1)],'routeKey':this[_0x1a5c61(0x23b)],'routeType':'','data':{'rooms':[{'roomID':this[_0x1a5c61(0x23b)]}]}});}[_0x1f33ec(0x575)](_0x3899e4){const _0x4aa0ed=_0x1f33ec;var _0x2f7c73;if(_0x3899e4[_0x4aa0ed(0x33f)]===_0x11118b['FAIL']){this['_messageService']['show']({'type':_0x115a16['MessageType'][_0x4aa0ed(0x3f5)],'content':this['_localeService']['t']('session.room-full')}),this['_sessionStatus$'][_0x4aa0ed(0x3e1)](0x2);return;}this[_0x4aa0ed(0x20f)]['next'](0x3);const _0x4dafea=(_0x2f7c73=_0x3899e4[_0x4aa0ed(0x2c5)][_0x4aa0ed(0x25f)][this[_0x4aa0ed(0x23b)]])==null?void 0x0:_0x2f7c73['members'];_0x4dafea&&_0x4dafea[_0x4aa0ed(0x314)](_0x163786=>this[_0x4aa0ed(0x3af)][_0x4aa0ed(0x386)](this[_0x4aa0ed(0x23b)],_0x163786));}[_0x1f33ec(0x503)](_0x27f3db){const _0x8e42fe=_0x1f33ec;try{const _0x5b4bf7=_0x27f3db[_0x8e42fe(0x2c5)];switch(_0x5b4bf7[_0x8e42fe(0x498)]){case _0xd9269e['CollaborationEvent'][_0x8e42fe(0x57c)]:this['_onUserJoin'](_0x5b4bf7),this['_event$'][_0x8e42fe(0x3e1)](_0x5b4bf7);break;case _0xd9269e[_0x8e42fe(0x4f7)][_0x8e42fe(0x3b8)]:this['_onUserLeave'](_0x5b4bf7),this['_event$'][_0x8e42fe(0x3e1)](_0x5b4bf7);break;case _0xd9269e['CollaborationEvent']['CHANGESET_ACK']:this[_0x8e42fe(0x1fe)](),this[_0x8e42fe(0x19b)](),this[_0x8e42fe(0x429)][_0x8e42fe(0x3e1)](_0x5b4bf7);break;case _0xd9269e[_0x8e42fe(0x4f7)][_0x8e42fe(0x2ec)]:this[_0x8e42fe(0x59c)][_0x8e42fe(0x4bd)]('save\x20fail\x20reason\x20is\x20'+JSON[_0x8e42fe(0x45e)](_0x5b4bf7)),this[_0x8e42fe(0x429)]['next'](_0x5b4bf7);break;case _0xd9269e[_0x8e42fe(0x4f7)][_0x8e42fe(0x321)]:this[_0x8e42fe(0x361)][_0x8e42fe(0x2f4)](_0x5b4bf7['data']),this[_0x8e42fe(0x429)]['next'](_0x5b4bf7);break;default:this[_0x8e42fe(0x429)][_0x8e42fe(0x3e1)](_0x5b4bf7);}}catch(_0x5aac07){this[_0x8e42fe(0x59c)][_0x8e42fe(0x4bd)](_0x5aac07,_0x27f3db);}}[_0x1f33ec(0x214)](_0xbf6a82){const _0x3b5132=_0x1f33ec;this[_0x3b5132(0x3af)][_0x3b5132(0x386)](this[_0x3b5132(0x23b)],_0xbf6a82[_0x3b5132(0x2c5)]);}[_0x1f33ec(0x5b9)](_0x5f0391){const _0x30eeab=_0x1f33ec;this[_0x30eeab(0x3af)][_0x30eeab(0x2cf)](this[_0x30eeab(0x23b)],_0x5f0391[_0x30eeab(0x2c5)][_0x30eeab(0x513)]);}async[_0x1f33ec(0x1cd)](_0x459bdf,_0x368a8f){const _0x204b95=_0x1f33ec;if(this[_0x204b95(0x2c1)]!==0x3||!this[_0x204b95(0x364)])throw new Error(_0x204b95(0x4b3));try{_0x459bdf[_0x204b95(0x498)]===_0xd9269e[_0x204b95(0x4f7)][_0x204b95(0x420)]&&(this[_0x204b95(0x1d7)](),this['_startTelemetryCollaborationNewChangeset'](_0x459bdf)),this[_0x204b95(0x364)][_0x204b95(0x1cd)]({'cmd':_0x4cd0f1['INGEST'],'routeKey':_0x368a8f,'routeType':'','data':_0x459bdf});}catch(_0x2bae3d){this[_0x204b95(0x59c)][_0x204b95(0x4bd)](_0x2bae3d);}}[_0x1f33ec(0x1d7)](){const _0x336877=_0x1f33ec;var _0x1bd7d6;this[_0x336877(0x4de)]=window[_0x336877(0x1d9)](()=>{const _0x5826d4=_0x336877;this['_collaborationTimeoutTimer']=null,this[_0x5826d4(0x413)][_0x5826d4(0x46c)]({'type':_0x115a16[_0x5826d4(0x2a1)][_0x5826d4(0x3a3)],'content':this['_localeService']['t'](_0x5826d4(0x546))});},(_0x1bd7d6=this[_0x336877(0x261)][_0x336877(0x230)](_0x2f9a5d))!=null?_0x1bd7d6:0x4e20);}[_0x1f33ec(0x19b)](){const _0x2a4e73=_0x1f33ec;this['_collaborationTimeoutTimer']&&(clearTimeout(this[_0x2a4e73(0x4de)]),this[_0x2a4e73(0x4de)]=null);}[_0x1f33ec(0x383)](_0x2d0aa6){const _0x16ec9c=_0x1f33ec;if(!this['_shouldReportTelemetry'])return;const {data:_0xaa397a}=_0x2d0aa6,{unitID:_0x2f8e41,changeset:_0xafd27a}=_0xaa397a,{mutations:_0x49c553,type:_0x34eb20}=_0xafd27a;this[_0x16ec9c(0x23c)]={'unitId':_0x2f8e41,'type':_0x34eb20,'startTime':performance[_0x16ec9c(0x58e)](),'stopTime':0x0,'duration':0x0,'size':_0x109446(_0x49c553)};}[_0x1f33ec(0x1fe)](){const _0x2aae5c=_0x1f33ec;if(this[_0x2aae5c(0x31b)]){if(!this['_telemetryInfo']){this['_logService'][_0x2aae5c(0x4bd)](_0x2aae5c(0x536),_0x2aae5c(0x529));return;}this[_0x2aae5c(0x23c)][_0x2aae5c(0x472)]=performance[_0x2aae5c(0x58e)](),this[_0x2aae5c(0x23c)][_0x2aae5c(0x3fd)]=this[_0x2aae5c(0x23c)][_0x2aae5c(0x472)]-this[_0x2aae5c(0x23c)][_0x2aae5c(0x25d)],this[_0x2aae5c(0x1fc)][_0x2aae5c(0x316)](_0x2e4d80,this[_0x2aae5c(0x23c)]),this['_telemetryInfo']=null;}}['_throwTelemetryCollaborationNewChangeset'](){const _0x456cb8=_0x1f33ec;this[_0x456cb8(0x23c)]=null;}},_0x358006['CollaborationSession']=_0x440345([_0x2e2caa(0x2,_0x59f135[_0x1f33ec(0x43b)]),_0x2e2caa(0x3,_0x575a2d[_0x1f33ec(0x21b)]),_0x2e2caa(0x4,_0x575a2d[_0x1f33ec(0x432)]),_0x2e2caa(0x5,_0x59f135['IConfigService']),_0x2e2caa(0x6,_0x59f135[_0x1f33ec(0x496)](_0x59f135[_0x1f33ec(0x351)])),_0x2e2caa(0x7,_0x59f135[_0x1f33ec(0x496)](_0x3b92f1)),_0x2e2caa(0x8,_0x59f135['Inject'](_0x8df29)),_0x2e2caa(0x9,_0x59f135[_0x1f33ec(0x250)](_0x33d7ec[_0x1f33ec(0x38a)]))],_0x358006[_0x1f33ec(0x485)]);var _0x1f6848=Object[_0x1f33ec(0x3be)],_0x2cc63e=Object[_0x1f33ec(0x36c)],_0x1929de=(_0x475ef3,_0x442a4e,_0x49b084,_0x28ea5b)=>{const _0x543ec3=_0x1f33ec;for(var _0x1521dc=_0x28ea5b>0x1?void 0x0:_0x28ea5b?_0x2cc63e(_0x442a4e,_0x49b084):_0x442a4e,_0x1ee189=_0x475ef3[_0x543ec3(0x239)]-0x1,_0x3ae373;_0x1ee189>=0x0;_0x1ee189--)(_0x3ae373=_0x475ef3[_0x1ee189])&&(_0x1521dc=(_0x28ea5b?_0x3ae373(_0x442a4e,_0x49b084,_0x1521dc):_0x3ae373(_0x1521dc))||_0x1521dc);return _0x28ea5b&&_0x1521dc&&_0x1f6848(_0x442a4e,_0x49b084,_0x1521dc),_0x1521dc;},_0x1356af=(_0x46fd59,_0x4082a9)=>(_0x253747,_0x2de774)=>_0x4082a9(_0x253747,_0x2de774,_0x46fd59);_0x358006[_0x1f33ec(0x48d)]=class extends _0x59f135[_0x1f33ec(0x1f5)]{constructor(_0x4ac419,_0x1a836b,_0x262613,_0x44e076,_0x14fc5b,_0x72e46b){const _0x307325=_0x1f33ec;super(),_0x4fb0a3(this,'_socket$',new _0x2a4cb9['BehaviorSubject'](void 0x0)),_0x4fb0a3(this,_0x307325(0x402),this[_0x307325(0x59b)]['asObservable']()),_0x4fb0a3(this,_0x307325(0x572),null),_0x4fb0a3(this,'_sessions',new Map()),_0x4fb0a3(this,_0x307325(0x21f),new _0x2a4cb9[(_0x307325(0x2d7))](_0x5df28e['IDLE'])),_0x4fb0a3(this,_0x307325(0x4f0),this[_0x307325(0x21f)][_0x307325(0x270)]()),_0x4fb0a3(this,_0x307325(0x1aa),!0x1),_0x4fb0a3(this,_0x307325(0x2b0)),_0x4fb0a3(this,'_retryCount',0x0),_0x4fb0a3(this,_0x307325(0x391)),_0x4fb0a3(this,_0x307325(0x19e)),(this[_0x307325(0x368)]=_0x4ac419,this['_localeService']=_0x1a836b,this[_0x307325(0x413)]=_0x262613,this['_logService']=_0x44e076,this[_0x307325(0x261)]=_0x14fc5b,this[_0x307325(0x30e)]=_0x72e46b,this[_0x307325(0x22e)]());}get[_0x1f33ec(0x364)](){const _0x5764d1=_0x1f33ec;return this['_socket$'][_0x5764d1(0x58c)]();}['_initEventListeners'](){const _0x192e58=_0x1f33ec;this[_0x192e58(0x3f1)](),this[_0x192e58(0x47d)]();}[_0x1f33ec(0x317)](){const _0x5e455d=_0x1f33ec;super[_0x5e455d(0x317)](),this[_0x5e455d(0x4a1)][_0x5e455d(0x314)](_0x1a0406=>_0x1a0406[_0x5e455d(0x317)]()),this[_0x5e455d(0x4a1)][_0x5e455d(0x337)](),this[_0x5e455d(0x21f)]['complete']();}async['requireSession'](_0x3e2940){const _0x4696fe=_0x1f33ec;if(this[_0x4696fe(0x4a1)]['has'](_0x3e2940))return this['_sessions'][_0x4696fe(0x381)](_0x3e2940);this[_0x4696fe(0x484)]();const _0x295c80=this[_0x4696fe(0x368)][_0x4696fe(0x517)](_0x358006[_0x4696fe(0x485)],_0x3e2940,this[_0x4696fe(0x59b)]['asObservable']());return this[_0x4696fe(0x4a1)][_0x4696fe(0x5b8)](_0x3e2940,_0x295c80),_0x295c80;}[_0x1f33ec(0x3c7)](_0x361573){const _0x18ec3f=_0x1f33ec;var _0x16f64;const _0x20b396=this[_0x18ec3f(0x4a1)][_0x18ec3f(0x381)](_0x361573);_0x20b396&&(this[_0x18ec3f(0x4a1)][_0x18ec3f(0x215)](_0x361573),_0x20b396[_0x18ec3f(0x3f3)]()),this[_0x18ec3f(0x4a1)][_0x18ec3f(0x2aa)]||(_0x16f64=this['_socket'])==null||_0x16f64['close']();}[_0x1f33ec(0x40b)](){const _0x1ff62c=_0x1f33ec;this[_0x1ff62c(0x193)]=0x0,this[_0x1ff62c(0x2b0)]!=null&&(clearTimeout(this[_0x1ff62c(0x2b0)]),this[_0x1ff62c(0x2b0)]=null),this[_0x1ff62c(0x268)]();}[_0x1f33ec(0x237)](){const _0x35bc0f=_0x1f33ec;var _0x52357f,_0x1b60da;const _0x394aa6=this['_configService'][_0x35bc0f(0x230)](_0x4e8fc3),_0x5d1506=this[_0x35bc0f(0x261)][_0x35bc0f(0x230)](_0x4e0661),_0x71c241=(_0x1b60da=(_0x52357f=_0x5d1506==null?void 0x0:_0x5d1506['collabWebSocketUrl'])!=null?_0x52357f:_0x394aa6)!=null?_0x1b60da:_0x30b890,_0x3d2fed=this[_0x35bc0f(0x30e)][_0x35bc0f(0x1e1)](_0x71c241);return this['_candidateSocket']=_0x3d2fed,_0x3d2fed;}['_tryEnsureSocket'](){const _0x200f2e=_0x1f33ec;var _0x5f3ab8,_0x45a31d;try{const _0x5b09c6=(_0x45a31d=(_0x5f3ab8=this[_0x200f2e(0x364)])!=null?_0x5f3ab8:this[_0x200f2e(0x572)])!=null?_0x45a31d:this[_0x200f2e(0x237)]();if(_0x5b09c6){const _0xca230b=_0x5b09c6[_0x200f2e(0x1cd)];_0x5b09c6['send']=_0x256594=>(this[_0x200f2e(0x22a)](),_0xca230b['apply'](_0x5b09c6,[_0x256594])),_0x5b09c6[_0x200f2e(0x18d)]['subscribe'](_0x201a71=>this[_0x200f2e(0x445)](_0x5b09c6,_0x201a71)),_0x5b09c6['error$'][_0x200f2e(0x51d)](_0x590f9e[_0x200f2e(0x571)](0x1))[_0x200f2e(0x4ff)](_0xd14c1a=>this['_logService'][_0x200f2e(0x4bd)](_0x200f2e(0x3ea),_0xd14c1a)),_0x5b09c6[_0x200f2e(0x4d3)][_0x200f2e(0x51d)](_0x590f9e[_0x200f2e(0x571)](0x1))[_0x200f2e(0x4ff)](()=>{const _0x5b8669=_0x200f2e;this[_0x5b8669(0x2c3)](_0x5b09c6);}),_0x5b09c6['close$'][_0x200f2e(0x51d)](_0x590f9e['take'](0x1))[_0x200f2e(0x4ff)](_0x2aaa82=>{const _0x154eb1=_0x200f2e;this['_logService'][_0x154eb1(0x1f4)](_0x154eb1(0x473),_0x154eb1(0x2b9),_0x2aaa82),this[_0x154eb1(0x5a8)]();});}}catch(_0x1aa82f){this[_0x200f2e(0x59c)][_0x200f2e(0x4bd)](_0x1aa82f),this['_onConnectionFailed']();}}[_0x1f33ec(0x2c3)](_0x967fe2){const _0x217f0d=_0x1f33ec;this[_0x217f0d(0x59c)][_0x217f0d(0x1f4)](_0x217f0d(0x473),_0x217f0d(0x52a)),_0x967fe2[_0x217f0d(0x1cd)]({'cmd':_0x4cd0f1[_0x217f0d(0x4d2)]}),this[_0x217f0d(0x22a)]();}['_listenToOfflineEvent'](){const _0x29528a=_0x1f33ec;window[_0x29528a(0x1b4)](_0x29528a(0x56e),()=>this[_0x29528a(0x33d)]());}['_onOffline'](){const _0x306421=_0x1f33ec;this['_socketReady']=!0x1,this['_candidateSocket']=null,this['_status$']['next'](_0x5df28e[_0x306421(0x26b)]),this[_0x306421(0x59b)][_0x306421(0x3e1)](null),this[_0x306421(0x262)](),this['_clearHeartbeatTimer']();}[_0x1f33ec(0x5a8)](){const _0x2f4afa=_0x1f33ec;var _0x261b6c;this[_0x2f4afa(0x33d)](),this['_retryCount']<((_0x261b6c=this[_0x2f4afa(0x261)][_0x2f4afa(0x230)](_0x42b632))!=null?_0x261b6c:0x3)?(this[_0x2f4afa(0x413)]['show']({'key':'collaboration-session-retry','type':_0x115a16['MessageType'][_0x2f4afa(0x3f5)],'content':this[_0x2f4afa(0x234)]['t'](_0x2f4afa(0x24d))}),this[_0x2f4afa(0x268)]()):this[_0x2f4afa(0x413)][_0x2f4afa(0x46c)]({'key':_0x2f4afa(0x538),'type':_0x115a16[_0x2f4afa(0x2a1)]['Error'],'content':this[_0x2f4afa(0x234)]['t']('session.connection-failed')});}['_listenToOnlineEvent'](){const _0x54c917=_0x1f33ec,_0x5c232d=()=>{const _0x3b78d7=_0x2fa9;this[_0x3b78d7(0x364)]||this[_0x3b78d7(0x40b)]();},_0x313c5c=()=>{const _0x529bfb=_0x2fa9;this[_0x529bfb(0x364)]||document[_0x529bfb(0x2be)]===_0x529bfb(0x439)||this[_0x529bfb(0x40b)]();};window[_0x54c917(0x1b4)](_0x54c917(0x1b6),_0x5c232d),document[_0x54c917(0x1b4)](_0x54c917(0x446),_0x313c5c);}[_0x1f33ec(0x268)](){const _0x4f2785=_0x1f33ec;var _0x282e8d;const _0x49c386=this[_0x4f2785(0x193)],_0x5baf46=this[_0x4f2785(0x261)]['getConfig'](_0x4e0661),_0x574f1c=_0x49c386===0x0?0x0:((_0x282e8d=_0x5baf46==null?void 0x0:_0x5baf46[_0x4f2785(0x4cd)])!=null?_0x282e8d:0x4e20)*0x2**_0x49c386;this[_0x4f2785(0x2b0)]=window['setTimeout'](()=>{const _0x3e0258=_0x4f2785;clearTimeout(this[_0x3e0258(0x2b0)]),this[_0x3e0258(0x2b0)]=null,this[_0x3e0258(0x484)]();},_0x574f1c),this['_retryCount']+=0x1;}[_0x1f33ec(0x445)](_0x1a16ab,_0x41478f){const _0x5aac42=_0x1f33ec,{cmd:_0x3db017}=_0x41478f;_0x3db017===_0x4cd0f1[_0x5aac42(0x4d2)]&&!this[_0x5aac42(0x1aa)]&&(_0x1a16ab['memberID']=_0x41478f[_0x5aac42(0x2c5)][_0x5aac42(0x513)],this[_0x5aac42(0x59b)][_0x5aac42(0x3e1)](_0x1a16ab),this[_0x5aac42(0x21f)][_0x5aac42(0x3e1)](_0x5df28e[_0x5aac42(0x18c)]),this[_0x5aac42(0x1aa)]=!0x0,this[_0x5aac42(0x572)]=null),_0x3db017===_0x4cd0f1[_0x5aac42(0x382)]&&this[_0x5aac42(0x262)](),this['_rescheduleHeartbeat']();}[_0x1f33ec(0x22a)](){const _0x506b3b=_0x1f33ec;var _0xfcff15;this[_0x506b3b(0x24e)](),this[_0x506b3b(0x391)]=window[_0x506b3b(0x1d9)](()=>this[_0x506b3b(0x240)](),(_0xfcff15=this[_0x506b3b(0x261)]['getConfig'](_0x144671))!=null?_0xfcff15:0x7530);}[_0x1f33ec(0x240)](){const _0x1643d4=_0x1f33ec;this[_0x1643d4(0x364)][_0x1643d4(0x1cd)]({'cmd':_0x4cd0f1[_0x1643d4(0x382)]}),this['_waitForHeartbeatResponse']();}[_0x1f33ec(0x2d5)](){const _0x1015f2=_0x1f33ec;var _0x28b559;this['_timeoutTimer']=window['setTimeout'](()=>this['_onConnectionFailed'](),(_0x28b559=this[_0x1015f2(0x261)][_0x1015f2(0x230)](_0x2f9a5d))!=null?_0x28b559:0x4e20);}[_0x1f33ec(0x24e)](){const _0x5a2771=_0x1f33ec;this[_0x5a2771(0x391)]!=null&&(clearTimeout(this[_0x5a2771(0x391)]),this[_0x5a2771(0x391)]=null);}[_0x1f33ec(0x262)](){const _0xea4105=_0x1f33ec;this[_0xea4105(0x19e)]!=null&&(clearTimeout(this[_0xea4105(0x19e)]),this[_0xea4105(0x19e)]=null);}},_0x358006['CollaborationSessionService']=_0x1929de([_0x1356af(0x0,_0x59f135['Inject'](_0x59f135[_0x1f33ec(0x3a8)])),_0x1356af(0x1,_0x59f135['Inject'](_0x59f135[_0x1f33ec(0x351)])),_0x1356af(0x2,_0x575a2d['IMessageService']),_0x1356af(0x3,_0x59f135['ILogService']),_0x1356af(0x4,_0x59f135[_0x1f33ec(0x39d)]),_0x1356af(0x5,_0x14979c)],_0x358006['CollaborationSessionService']);for(var _0x1895e8=[],_0x4c6a01=0x0;_0x4c6a01<0x100;++_0x4c6a01)_0x1895e8['push']((_0x4c6a01+0x100)[_0x1f33ec(0x57d)](0x10)[_0x1f33ec(0x576)](0x1));function _0x2ddc19(_0x273774,_0x356683=0x0){const _0x36386c=_0x1f33ec;return(_0x1895e8[_0x273774[_0x356683+0x0]]+_0x1895e8[_0x273774[_0x356683+0x1]]+_0x1895e8[_0x273774[_0x356683+0x2]]+_0x1895e8[_0x273774[_0x356683+0x3]]+'-'+_0x1895e8[_0x273774[_0x356683+0x4]]+_0x1895e8[_0x273774[_0x356683+0x5]]+'-'+_0x1895e8[_0x273774[_0x356683+0x6]]+_0x1895e8[_0x273774[_0x356683+0x7]]+'-'+_0x1895e8[_0x273774[_0x356683+0x8]]+_0x1895e8[_0x273774[_0x356683+0x9]]+'-'+_0x1895e8[_0x273774[_0x356683+0xa]]+_0x1895e8[_0x273774[_0x356683+0xb]]+_0x1895e8[_0x273774[_0x356683+0xc]]+_0x1895e8[_0x273774[_0x356683+0xd]]+_0x1895e8[_0x273774[_0x356683+0xe]]+_0x1895e8[_0x273774[_0x356683+0xf]])[_0x36386c(0x1bb)]();}var _0x1d1073,_0x108e7f=new Uint8Array(0x10);function _0x1a5a28(){const _0x50f44c=_0x1f33ec;if(!_0x1d1073&&(_0x1d1073=typeof crypto<'u'&&crypto[_0x50f44c(0x3e9)]&&crypto[_0x50f44c(0x3e9)]['bind'](crypto),!_0x1d1073))throw new Error(_0x50f44c(0x2f9));return _0x1d1073(_0x108e7f);}var _0x7a4dd8=typeof crypto<'u'&&crypto[_0x1f33ec(0x395)]&&crypto[_0x1f33ec(0x395)][_0x1f33ec(0x213)](crypto);const _0x3b8d9e={'randomUUID':_0x7a4dd8};function _0xdbc6e8(_0x2569e1,_0x287e0e,_0x1af3fb){const _0xbc26ac=_0x1f33ec;if(_0x3b8d9e['randomUUID']&&!_0x287e0e&&!_0x2569e1)return _0x3b8d9e[_0xbc26ac(0x395)]();_0x2569e1=_0x2569e1||{};var _0x5959ec=_0x2569e1[_0xbc26ac(0x2c8)]||(_0x2569e1[_0xbc26ac(0x354)]||_0x1a5a28)();return _0x5959ec[0x6]=_0x5959ec[0x6]&0xf|0x40,_0x5959ec[0x8]=_0x5959ec[0x8]&0x3f|0x80,_0x2ddc19(_0x5959ec);}var _0x3fcfd8=Object[_0x1f33ec(0x3be)],_0x2cf80e=Object['getOwnPropertyDescriptor'],_0xffc354=(_0x54d07d,_0x2d5bba,_0x5c03c5,_0x296468)=>{const _0x331f83=_0x1f33ec;for(var _0x56aadd=_0x296468>0x1?void 0x0:_0x296468?_0x2cf80e(_0x2d5bba,_0x5c03c5):_0x2d5bba,_0x1ffc5c=_0x54d07d[_0x331f83(0x239)]-0x1,_0x4ad6fa;_0x1ffc5c>=0x0;_0x1ffc5c--)(_0x4ad6fa=_0x54d07d[_0x1ffc5c])&&(_0x56aadd=(_0x296468?_0x4ad6fa(_0x2d5bba,_0x5c03c5,_0x56aadd):_0x4ad6fa(_0x56aadd))||_0x56aadd);return _0x296468&&_0x56aadd&&_0x3fcfd8(_0x2d5bba,_0x5c03c5,_0x56aadd),_0x56aadd;},_0x38223e=(_0x3c3786,_0x2378c7)=>(_0x8cba64,_0x17a819)=>_0x2378c7(_0x8cba64,_0x17a819,_0x3c3786);let _0x271775=class{constructor(_0x403e1a,_0x38f577,_0x32df99){const _0x1a5a77=_0x1f33ec;this[_0x1a5a77(0x368)]=_0x403e1a,this['_transformService']=_0x38f577,this['_renderManagerService']=_0x32df99;}[_0x1f33ec(0x22f)](_0x117377){const _0x20bf24=_0x1f33ec;this['_transformUndoRedoStack'](_0x117377),this[_0x20bf24(0x565)](_0x117377);}[_0x1f33ec(0x552)](_0x19c6b8){const _0x49cfc1=_0x1f33ec,{unitID:_0x2ecb86}=_0x19c6b8,_0x57f4bc=this[_0x49cfc1(0x20c)][_0x49cfc1(0x3c0)](_0x2ecb86)[_0x49cfc1(0x38f)](_0x9a0457['DocIMEInputManagerService']),{redoCache:_0x4792fe}=_0x57f4bc[_0x49cfc1(0x3b7)]();if(_0x4792fe[_0x49cfc1(0x239)]===0x0)return _0x19c6b8;let _0x15c47a=_0x59f135[_0x49cfc1(0x1bc)][_0x49cfc1(0x330)](_0x19c6b8['mutations'][0x0]);for(let _0x1a47c7=0x0;_0x1a47c7<_0x4792fe[_0x49cfc1(0x239)];_0x1a47c7++){const _0x17d121={'id':'doc.mutation.rich-text-editing','params':{..._0x4792fe[_0x1a47c7]}},_0x2a3fa7=this[_0x49cfc1(0x2c0)][_0x49cfc1(0x3f8)](_0x15c47a,_0x17d121,!0x1);if(_0xd9269e[_0x49cfc1(0x19f)](_0x2a3fa7))throw _0x2a3fa7[_0x49cfc1(0x4bd)];_0x15c47a=_0x2a3fa7[_0x49cfc1(0x405)];}return{..._0x59f135[_0x49cfc1(0x1bc)][_0x49cfc1(0x330)](_0x19c6b8),'mutations':[_0x15c47a]};}[_0x1f33ec(0x5a7)](_0x535e46){const _0xcb538e=_0x1f33ec,{unitID:_0x1a17a4}=_0x535e46,_0x4d7822=this['_renderManagerService'][_0xcb538e(0x3c0)](_0x1a17a4)[_0xcb538e(0x38f)](_0x9a0457['DocIMEInputManagerService']),{undoCache:_0x1c9653,redoCache:_0x4efff7}=_0x4d7822['getUndoRedoMutationParamsCache']();if(_0x1c9653['length']===0x0||_0x4efff7[_0xcb538e(0x239)]===0x0)return;const _0x23d474=[],_0x1caa15=[];let _0x566c8b=_0x59f135[_0xcb538e(0x1bc)]['deepClone'](_0x535e46[_0xcb538e(0x561)][0x0]),_0x2e1194=_0x59f135[_0xcb538e(0x1bc)]['deepClone'](_0x535e46['mutations'][0x0]);for(let _0x3dc62b=_0x1c9653[_0xcb538e(0x239)]-0x1;_0x3dc62b>=0x0;_0x3dc62b--){const _0x1bd33a={'id':_0xcb538e(0x46e),'params':{..._0x1c9653[_0x3dc62b]}},_0x1d67b1={'id':_0xcb538e(0x46e),'params':{..._0x4efff7[_0x3dc62b]}},_0x138628=this['_transformService'][_0xcb538e(0x3f8)](_0x566c8b,_0x1bd33a,!0x1),_0x2bba28=this[_0xcb538e(0x2c0)][_0xcb538e(0x3f8)](_0x2e1194,_0x1d67b1,!0x1);if(_0xd9269e['isTransformMutationFailure'](_0x138628))throw _0x138628[_0xcb538e(0x4bd)];if(_0xd9269e['isTransformMutationFailure'](_0x2bba28))throw _0x2bba28[_0xcb538e(0x4bd)];_0x23d474[_0xcb538e(0x5b6)](_0x138628[_0xcb538e(0x205)][_0xcb538e(0x344)]),_0x1caa15[_0xcb538e(0x5b6)](_0x2bba28[_0xcb538e(0x205)][_0xcb538e(0x344)]),_0x566c8b=_0x138628[_0xcb538e(0x405)],_0x2e1194=_0x2bba28[_0xcb538e(0x405)];}_0x4d7822[_0xcb538e(0x530)]({'undoCache':_0x23d474,'redoCache':_0x1caa15});}['_transformPreviousActiveRange'](_0x523ba6){const _0x514325=_0x1f33ec,{unitID:_0x518a13}=_0x523ba6,_0x56200e=this['_renderManagerService'][_0x514325(0x3c0)](_0x518a13)[_0x514325(0x38f)](_0x9a0457[_0x514325(0x479)]),_0x40ea8b=_0x56200e[_0x514325(0x428)]();if(_0x40ea8b==null)return;const _0x2d14d8=[{'id':_0x514325(0x46e),'params':{'unitId':_0x523ba6[_0x514325(0x433)],'actions':null,'textRanges':[_0x40ea8b]}}],_0x22894c=this[_0x514325(0x2c0)]['transformMutationsWithChangeset'](_0x523ba6,_0x2d14d8);if(!_0xd9269e[_0x514325(0x2d6)](_0x22894c))throw _0x22894c[_0x514325(0x4bd)];const _0x46b092=_0x22894c[_0x514325(0x205)][0x0][_0x514325(0x344)][_0x514325(0x37c)];Array[_0x514325(0x1ad)](_0x46b092)&&_0x46b092[_0x514325(0x239)]&&_0x56200e[_0x514325(0x1fb)](_0x46b092[0x0]);}};_0x271775=_0xffc354([_0x38223e(0x0,_0x59f135[_0x1f33ec(0x496)](_0x59f135['Injector'])),_0x38223e(0x1,_0xd9269e[_0x1f33ec(0x3d5)]),_0x38223e(0x2,_0x3a990c[_0x1f33ec(0x59f)])],_0x271775);var _0x2b3916=Object[_0x1f33ec(0x3be)],_0x1ed85c=Object[_0x1f33ec(0x36c)],_0x3a0cc6=(_0x26ab20,_0x4aa004,_0x2d3332,_0x5c12b1)=>{const _0x121893=_0x1f33ec;for(var _0x11c9ab=_0x5c12b1>0x1?void 0x0:_0x5c12b1?_0x1ed85c(_0x4aa004,_0x2d3332):_0x4aa004,_0x20b05c=_0x26ab20[_0x121893(0x239)]-0x1,_0x30e486;_0x20b05c>=0x0;_0x20b05c--)(_0x30e486=_0x26ab20[_0x20b05c])&&(_0x11c9ab=(_0x5c12b1?_0x30e486(_0x4aa004,_0x2d3332,_0x11c9ab):_0x30e486(_0x11c9ab))||_0x11c9ab);return _0x5c12b1&&_0x11c9ab&&_0x2b3916(_0x4aa004,_0x2d3332,_0x11c9ab),_0x11c9ab;},_0x2a40fa=(_0x148dfd,_0x264bc8)=>(_0x213dfd,_0x383c5a)=>_0x264bc8(_0x213dfd,_0x383c5a,_0x148dfd);_0x358006['LocalCacheService']=class extends _0x59f135[_0x1f33ec(0x1f5)]{constructor(_0x1b32a2,_0xb0807,_0x283f5,_0x3acaaf,_0x50d178){const _0x545d16=_0x1f33ec;super(),_0x4fb0a3(this,_0x545d16(0x1d6),new Map()),_0x4fb0a3(this,_0x545d16(0x26c),new Map()),_0x4fb0a3(this,_0x545d16(0x52f),!0x1),(this[_0x545d16(0x261)]=_0x1b32a2,this['_localStorageService']=_0xb0807,this[_0x545d16(0x192)]=_0x283f5,this[_0x545d16(0x234)]=_0x3acaaf,this[_0x545d16(0x200)]=_0x50d178,this[_0x545d16(0x2a6)]());}['disableLocalCache'](){this['_disabled']=!0x0;}[_0x1f33ec(0x203)](){this['_disabled']=!0x1;}[_0x1f33ec(0x317)](){const _0x17f10c=_0x1f33ec;this[_0x17f10c(0x457)]()[_0x17f10c(0x1f8)](()=>super['dispose']());}async[_0x1f33ec(0x4b4)](_0x4c0912){const _0x58cf9d=_0x1f33ec;return this['_disabled']?null:this[_0x58cf9d(0x390)][_0x58cf9d(0x595)](_0x5ad5c2(_0x4c0912));}async[_0x1f33ec(0x1ec)](_0x4d44da,_0x5aefb0){const _0x15501e=_0x1f33ec;return!!this['_localStorageService'][_0x15501e(0x209)](_0x4d44da,_0x5aefb0);}[_0x1f33ec(0x1a7)](_0x8ba32e,_0x162e2c,_0x46c822,_0x1a17f5){const _0x399adf=_0x1f33ec,_0xebef6c=this[_0x399adf(0x200)]['getCurrentRevOfUnit'](_0x8ba32e);this[_0x399adf(0x1d6)][_0x399adf(0x5b8)](_0x8ba32e,{'unitID':_0x8ba32e,'type':_0x162e2c,'awaitingChangeset':_0x46c822,'mutations':_0x1a17f5,'rev':_0xebef6c}),this[_0x399adf(0x26c)][_0x399adf(0x252)](_0x8ba32e)||this['_scheduleSaving'](_0x8ba32e);}['_scheduleSaving'](_0x981607){const _0x46182c=_0x1f33ec,_0x18e8cb=this[_0x46182c(0x26a)]();_0x18e8cb===0x0?this['_saveCache'](_0x981607):this[_0x46182c(0x26c)][_0x46182c(0x5b8)](_0x981607,setTimeout(()=>this[_0x46182c(0x246)](_0x981607),_0x18e8cb));}[_0x1f33ec(0x26a)](){const _0x2f4d20=_0x1f33ec;var _0x586f5d;return(_0x586f5d=this[_0x2f4d20(0x261)][_0x2f4d20(0x230)](_0x37af9e))!=null?_0x586f5d:0x3e8;}['_saveCache'](_0x4d8d2a){const _0x511eb3=_0x1f33ec,_0x6d80bc=this['_saveTaskMap'][_0x511eb3(0x381)](_0x4d8d2a);return _0x6d80bc!==void 0x0&&window[_0x511eb3(0x3fa)](_0x6d80bc),this[_0x511eb3(0x390)]['setItem'](_0x5ad5c2(_0x4d8d2a),this[_0x511eb3(0x1d6)]['get'](_0x4d8d2a))[_0x511eb3(0x1f8)](()=>this[_0x511eb3(0x26c)][_0x511eb3(0x215)](_0x4d8d2a));}async[_0x1f33ec(0x457)](){const _0x1da19d=_0x1f33ec,_0x2a14c1=[];this[_0x1da19d(0x26c)][_0x1da19d(0x314)]((_0x44c8bb,_0x187962)=>{const _0x4e3e44=_0x1da19d;window[_0x4e3e44(0x3fa)](_0x44c8bb),_0x2a14c1['push'](this[_0x4e3e44(0x246)](_0x187962)[_0x4e3e44(0x1f8)](()=>{const _0x4cc091=_0x4e3e44;this[_0x4cc091(0x26c)][_0x4cc091(0x215)](_0x187962);}));}),await Promise[_0x1da19d(0x47b)](_0x2a14c1);}[_0x1f33ec(0x2a6)](){const _0x5c2a59=_0x1f33ec;this['disposeWithMe'](this[_0x5c2a59(0x192)][_0x5c2a59(0x346)](()=>{const _0x34d5d8=_0x5c2a59;if(this[_0x34d5d8(0x26c)][_0x34d5d8(0x2aa)])return this['_localeService']['t']('collaboration-client.offline-data-not-saved');}));}},_0x358006[_0x1f33ec(0x2e6)]=_0x3a0cc6([_0x2a40fa(0x0,_0x59f135['IConfigService']),_0x2a40fa(0x1,_0x59f135[_0x1f33ec(0x36d)]),_0x2a40fa(0x2,_0x575a2d['IBeforeCloseService']),_0x2a40fa(0x3,_0x59f135['Inject'](_0x59f135[_0x1f33ec(0x351)])),_0x2a40fa(0x4,_0x59f135[_0x1f33ec(0x496)](_0xd9269e[_0x1f33ec(0x39a)]))],_0x358006[_0x1f33ec(0x2e6)]);function _0x5ad5c2(_0x5df362){const _0x2ec6b2=_0x1f33ec;return _0x2ec6b2(0x41f)+_0x5df362;}var _0x357e59=Object[_0x1f33ec(0x3be)],_0xb6cf41=Object[_0x1f33ec(0x36c)],_0x2148b1=(_0xcc7f3a,_0x381756,_0x258135,_0x34da05)=>{const _0x17e038=_0x1f33ec;for(var _0x45b720=_0x34da05>0x1?void 0x0:_0x34da05?_0xb6cf41(_0x381756,_0x258135):_0x381756,_0x2ee102=_0xcc7f3a[_0x17e038(0x239)]-0x1,_0xa064f;_0x2ee102>=0x0;_0x2ee102--)(_0xa064f=_0xcc7f3a[_0x2ee102])&&(_0x45b720=(_0x34da05?_0xa064f(_0x381756,_0x258135,_0x45b720):_0xa064f(_0x45b720))||_0x45b720);return _0x34da05&&_0x45b720&&_0x357e59(_0x381756,_0x258135,_0x45b720),_0x45b720;},_0x72793b=(_0x3a4b72,_0xc7f00a)=>(_0x411482,_0xf7114b)=>_0xc7f00a(_0x411482,_0xf7114b,_0x3a4b72);function _0x5903bb(_0x4519d4){const _0x3a8997=_0x1f33ec,{unitID:_0x176308,mutations:_0x2ef3ba}=_0x4519d4;return{'unitId':_0x176308,'subUnitId':_0x2ef3ba[0x0][_0x3a8997(0x344)][_0x3a8997(0x216)]};}let _0x105470=class{constructor(_0x4cd0d3,_0x455b8e,_0x55314b){const _0x47225f=_0x1f33ec;this['_injector']=_0x4cd0d3,this[_0x47225f(0x2c0)]=_0x455b8e,this[_0x47225f(0x4d7)]=_0x55314b;}[_0x1f33ec(0x2e1)](_0x521849){const _0x35f5bb=_0x1f33ec;var _0x229062,_0x5e6061,_0x29ca2f,_0x218de4;const _0xa871fb=this[_0x35f5bb(0x368)]['get'](_0x4dc08b['SheetsSelectionsService']),{unitId:_0x134308,subUnitId:_0x537ede}=_0x5903bb(_0x521849),_0x2ef80f=_0xa871fb['getWorkbookSelections'](_0x134308)['getCurrentSelections'](),_0x3709d4=(_0x5e6061=(_0x229062=this[_0x35f5bb(0x4d7)]['getUnit'](_0x134308))==null?void 0x0:_0x229062[_0x35f5bb(0x334)]())==null?void 0x0:_0x5e6061[_0x35f5bb(0x211)]();if(_0x2ef80f[_0x35f5bb(0x239)]===0x0||!_0x134308||!_0x537ede)return;const _0x234e90=[{'id':_0x4dc08b[_0x35f5bb(0x29f)]['id'],'params':{'unitId':_0x134308,'subUnitId':_0x3709d4,'selections':_0x59f135['Tools']['deepClone'](_0x2ef80f)}}],_0x5ee334=this[_0x35f5bb(0x2c0)][_0x35f5bb(0x32d)](_0x521849,_0x234e90);if(!_0xd9269e[_0x35f5bb(0x2d6)](_0x5ee334))throw _0x5ee334[_0x35f5bb(0x4bd)];const _0x4c8d78=(_0x218de4=(_0x29ca2f=_0x5ee334['m2Prime'][0x0])==null?void 0x0:_0x29ca2f['params'])==null?void 0x0:_0x218de4[_0x35f5bb(0x544)];Array[_0x35f5bb(0x1ad)](_0x4c8d78)&&_0x4c8d78[_0x35f5bb(0x239)]&&this[_0x35f5bb(0x368)][_0x35f5bb(0x381)](_0x59f135[_0x35f5bb(0x350)])[_0x35f5bb(0x2c7)](_0x4dc08b['SetSelectionsOperation']['id'],{'unitId':_0x134308,'subUnitId':_0x3709d4,'selections':_0x4c8d78});}};_0x105470=_0x2148b1([_0x72793b(0x0,_0x59f135['Inject'](_0x59f135[_0x1f33ec(0x3a8)])),_0x72793b(0x1,_0xd9269e[_0x1f33ec(0x3d5)]),_0x72793b(0x2,_0x59f135[_0x1f33ec(0x1c2)])],_0x105470);const _0x23b106=_0x59f135[_0x1f33ec(0x3c6)](_0x1f33ec(0x24a));var _0x439681=(_0x463657=>(_0x463657[_0x463657['NO_OTHER_CLIENTS_EDITING']=0x0]=_0x1f33ec(0x1da),_0x463657[_0x463657[_0x1f33ec(0x3ce)]=0x1]=_0x1f33ec(0x3ce),_0x463657))(_0x439681||{});const _0x1ed260=0x7530,_0x3a107a=_0x1f33ec(0x50a);class _0x52ee59 extends _0x59f135[_0x1f33ec(0x1f5)]{constructor(){const _0x1cc075=_0x1f33ec;super(),_0x4fb0a3(this,_0x1cc075(0x3db),_0x59f135[_0x1cc075(0x1bc)][_0x1cc075(0x206)]()),_0x4fb0a3(this,_0x1cc075(0x27d),new Set()),_0x4fb0a3(this,_0x1cc075(0x30c),new Map()),_0x4fb0a3(this,_0x1cc075(0x458),null),_0x4fb0a3(this,'_clearOtherTimers',new Map()),_0x4fb0a3(this,_0x1cc075(0x3a4),new Map()),this[_0x1cc075(0x430)]();}[_0x1f33ec(0x317)](){const _0x29e2b6=_0x1f33ec;super[_0x29e2b6(0x317)](),this[_0x29e2b6(0x58b)][_0x29e2b6(0x314)]((_0x44884a,_0xaf675)=>this[_0x29e2b6(0x18b)](_0xaf675)),this['_heartbeatTimer']&&window['clearInterval'](this[_0x29e2b6(0x458)]);}[_0x1f33ec(0x287)](_0x578a0c){const _0x1fcaad=_0x1f33ec;return this[_0x1fcaad(0x583)](_0x578a0c)[_0x1fcaad(0x51d)](_0x2a4cb9[_0x1fcaad(0x463)]());}[_0x1f33ec(0x570)](_0x32d6bc){const _0x28665d=_0x1f33ec;this['_selfUnitIDs'][_0x28665d(0x2aa)]===0x0&&this[_0x28665d(0x4b1)](),this['_selfUnitIDs'][_0x28665d(0x512)](_0x32d6bc),this[_0x28665d(0x36a)]({'type':0x0,'memberID':this[_0x28665d(0x3db)],'unitIDs':[_0x32d6bc],'isForwarded':!0x1});}[_0x1f33ec(0x1f3)](_0x11b969){const _0x4a0a57=_0x1f33ec;this[_0x4a0a57(0x27d)][_0x4a0a57(0x215)](_0x11b969),this['_selfUnitIDs'][_0x4a0a57(0x2aa)]===0x0&&this[_0x4a0a57(0x458)]&&window['clearInterval'](this[_0x4a0a57(0x458)]);}['_init'](){const _0x915d79=_0x1f33ec;this['disposeWithMe'](_0x59f135[_0x915d79(0x29a)](_0x2a4cb9[_0x915d79(0x44b)](window,'storage')[_0x915d79(0x4ff)](_0x4904b6=>{const _0x101530=_0x915d79;if(_0x4904b6['key']!==_0x3a107a||!_0x4904b6['newValue'])return;const _0x20399a=JSON[_0x101530(0x488)](_0x4904b6[_0x101530(0x3e7)]);this[_0x101530(0x292)](_0x20399a);}))),window[_0x915d79(0x1b4)](_0x915d79(0x521),()=>this[_0x915d79(0x36a)]({'type':0x1,'memberID':this[_0x915d79(0x3db)],'unitIDs':Array[_0x915d79(0x34a)](this['_selfUnitIDs'])}));}[_0x1f33ec(0x292)](_0x5c43d7){const _0x325deb=_0x1f33ec;switch(_0x5c43d7[_0x325deb(0x232)]){case 0x0:this[_0x325deb(0x2f5)](_0x5c43d7);break;case 0x1:this[_0x325deb(0x4a8)](_0x5c43d7);break;case 0x2:this[_0x325deb(0x257)](_0x5c43d7);break;}}[_0x1f33ec(0x2f5)](_0x26f107){const _0x5c0bc4=_0x1f33ec,{unitIDs:_0x175817,memberID:_0x537da8,isForwarded:_0x1dcc2f}=_0x26f107;_0x175817[_0x5c0bc4(0x314)](_0x1d5e4e=>{const _0x58bbde=_0x5c0bc4;if(!_0x1dcc2f&&this[_0x58bbde(0x30c)][_0x58bbde(0x252)](_0x1d5e4e)&&this[_0x58bbde(0x583)](_0x1d5e4e)[_0x58bbde(0x3e1)](0x1),!this['_unitOnClients'][_0x58bbde(0x252)](_0x1d5e4e)||!this[_0x58bbde(0x30c)]['get'](_0x1d5e4e)[_0x58bbde(0x252)](_0x537da8)){const _0x2bcfc8=this[_0x58bbde(0x30c)][_0x58bbde(0x381)](_0x1d5e4e)||new Set();_0x2bcfc8[_0x58bbde(0x512)](_0x537da8),this[_0x58bbde(0x30c)][_0x58bbde(0x5b8)](_0x1d5e4e,_0x2bcfc8),this[_0x58bbde(0x384)](_0x537da8);}}),_0x1dcc2f||this[_0x5c0bc4(0x36a)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x1f33ec(0x384)](_0x165e03){const _0x3a1a76=_0x1f33ec;this[_0x3a1a76(0x18b)](_0x165e03);const _0x4c64fa=window[_0x3a1a76(0x1d9)](()=>{const _0x48f691=_0x3a1a76;this[_0x48f691(0x30c)][_0x48f691(0x314)](_0x23c00f=>{const _0x409518=_0x48f691;_0x23c00f[_0x409518(0x215)](_0x165e03);});},_0x1ed260*0x2);this[_0x3a1a76(0x58b)][_0x3a1a76(0x5b8)](_0x165e03,_0x4c64fa);}[_0x1f33ec(0x18b)](_0x1e4473){const _0x3c43d3=_0x1f33ec;if(this[_0x3c43d3(0x58b)][_0x3c43d3(0x252)](_0x1e4473)){const _0x1dde8a=this[_0x3c43d3(0x58b)][_0x3c43d3(0x381)](_0x1e4473);_0x1dde8a&&window[_0x3c43d3(0x3fa)](_0x1dde8a),this[_0x3c43d3(0x58b)][_0x3c43d3(0x5b8)](_0x1e4473,null);}}[_0x1f33ec(0x4a8)](_0x5c28de){const _0x2d2c1c=_0x1f33ec,{memberID:_0xbb9e72,unitIDs:_0x376b1d}=_0x5c28de;_0x376b1d[_0x2d2c1c(0x314)](_0x56717b=>{const _0x5d49a5=_0x2d2c1c;var _0x1044f3;const _0x4a9a82=this[_0x5d49a5(0x30c)][_0x5d49a5(0x381)](_0x56717b);_0x4a9a82&&(_0x4a9a82[_0x5d49a5(0x215)](_0xbb9e72),(_0x1044f3=this[_0x5d49a5(0x583)](_0x56717b))==null||_0x1044f3[_0x5d49a5(0x3e1)](_0x4a9a82['size']===0x0?0x0:0x1));}),this[_0x2d2c1c(0x18b)](_0xbb9e72);}[_0x1f33ec(0x257)](_0x4c36bb){const _0x544737=_0x1f33ec;this[_0x544737(0x384)](_0x4c36bb[_0x544737(0x513)]);}[_0x1f33ec(0x36a)](_0x1d5421){const _0x57017b=_0x1f33ec;localStorage[_0x57017b(0x209)](_0x3a107a,JSON['stringify'](_0x1d5421));}[_0x1f33ec(0x4b1)](){const _0x2b86ec=_0x1f33ec;this[_0x2b86ec(0x458)]=window[_0x2b86ec(0x2d9)](()=>{const _0x452cb1=_0x2b86ec;this[_0x452cb1(0x36a)]({'type':0x2,'memberID':this[_0x452cb1(0x3db)]});},_0x1ed260);}[_0x1f33ec(0x583)](_0x5783c2){const _0xfb211a=_0x1f33ec;return this['_unitStatus'][_0xfb211a(0x252)](_0x5783c2)||this[_0xfb211a(0x3a4)][_0xfb211a(0x5b8)](_0x5783c2,new _0x2a4cb9[(_0xfb211a(0x2d7))](0x0)),this[_0xfb211a(0x3a4)]['get'](_0x5783c2);}}function _0x4a5a4c(_0x386861){const _0x131004=_0x1f33ec;let _0x2db169='';for(const _0x418a45 of _0x386861){const {startOffset:_0x190553,endOffset:_0x26663c,isActive:_0x421ba5}=_0x418a45;_0x2db169[_0x131004(0x239)]&&(_0x2db169+=','),_0x2db169+=_0x190553+':'+_0x26663c+':'+(_0x421ba5?'1':'0');}return _0x2db169;}function _0x257793(_0x592bb6){const _0x5bd82c=_0x1f33ec,_0x45ee0d=_0x592bb6['split'](','),_0x4ae5dc=[];for(const _0x19d6e7 of _0x45ee0d){const [_0x4e4eb0,_0x1c0ed9,_0x57f556]=_0x19d6e7['split'](':');_0x4ae5dc[_0x5bd82c(0x3e8)]({'startOffset':Number(_0x4e4eb0),'endOffset':Number(_0x1c0ed9),'collapsed':_0x4e4eb0===_0x1c0ed9,'isActive':_0x57f556==='1'});}return _0x4ae5dc[_0x5bd82c(0x199)](_0xee58dc=>_0xee58dc['isActive'])||(_0x4ae5dc[0x0]['isActive']=!0x0),_0x4ae5dc;}class _0x6d8baf extends _0x59f135[_0x1f33ec(0x490)]{constructor(){const _0x1757f1=_0x1f33ec;super(...arguments),_0x4fb0a3(this,_0x1757f1(0x26f),new _0x2a4cb9[(_0x1757f1(0x2d7))](null)),_0x4fb0a3(this,_0x1757f1(0x56c),this[_0x1757f1(0x26f)][_0x1757f1(0x270)]());}[_0x1f33ec(0x39b)](_0x4cea36){const _0x20dc69=_0x1f33ec,{unitID:_0x55db2b,memberID:_0x2a0dd2,textRanges:_0x49e773}=_0x4cea36,_0x3a0e0e=_0x4a5a4c(_0x49e773),_0xf4395c={'unitID':_0x55db2b,'memberID':_0x2a0dd2,'selection':_0x3a0e0e};this[_0x20dc69(0x26f)][_0x20dc69(0x3e1)](_0xf4395c);}}var _0x4061ad=Object['defineProperty'],_0x5c6b69=Object['getOwnPropertyDescriptor'],_0x8e7105=(_0x21caa1,_0x32dc1f,_0x133a7e,_0x3dd98a)=>{for(var _0x522e98=_0x3dd98a>0x1?void 0x0:_0x3dd98a?_0x5c6b69(_0x32dc1f,_0x133a7e):_0x32dc1f,_0x4d7757=_0x21caa1['length']-0x1,_0x3969ba;_0x4d7757>=0x0;_0x4d7757--)(_0x3969ba=_0x21caa1[_0x4d7757])&&(_0x522e98=(_0x3dd98a?_0x3969ba(_0x32dc1f,_0x133a7e,_0x522e98):_0x3969ba(_0x522e98))||_0x522e98);return _0x3dd98a&&_0x522e98&&_0x4061ad(_0x32dc1f,_0x133a7e,_0x522e98),_0x522e98;},_0xe07d50=(_0x1e0100,_0x36b312)=>(_0x9d7a31,_0x507381)=>_0x36b312(_0x9d7a31,_0x507381,_0x1e0100);let _0x417d4f=class{constructor(_0x5437e6,_0x128d27){const _0x53fbde=_0x1f33ec;this['_injector']=_0x5437e6,this[_0x53fbde(0x2c0)]=_0x128d27;}[_0x1f33ec(0x2e1)](_0xc1254f){const _0x13f556=_0x1f33ec;var _0x48b2c9;const _0x3b4ee1=this[_0x13f556(0x368)]['get'](_0x2fa0c8[_0x13f556(0x42d)]),_0x2cf94e=(_0x48b2c9=_0x3b4ee1[_0x13f556(0x547)]())!=null?_0x48b2c9:[];if(_0x2cf94e['length']===0x0)return;const _0x412891=[{'id':_0x13f556(0x46e),'params':{'unitId':_0xc1254f['unitID'],'actions':null,'textRanges':_0x2cf94e}}],_0x5f5024=this[_0x13f556(0x2c0)]['transformMutationsWithChangeset'](_0xc1254f,_0x412891);if(!_0xd9269e['isTransformMutationsWithChangesetSuccess'](_0x5f5024))throw _0x5f5024['error'];const _0x1358f5=_0x5f5024[_0x13f556(0x205)][0x0]['params'][_0x13f556(0x37c)];Array[_0x13f556(0x1ad)](_0x1358f5)&&_0x1358f5[_0x13f556(0x239)]&&_0x3b4ee1[_0x13f556(0x25c)](_0x1358f5,!0x1);}};_0x417d4f=_0x8e7105([_0xe07d50(0x0,_0x59f135[_0x1f33ec(0x496)](_0x59f135[_0x1f33ec(0x3a8)])),_0xe07d50(0x1,_0xd9269e[_0x1f33ec(0x3d5)])],_0x417d4f);const _0x4caa4c=new Set([_0x4dc08b[_0x1f33ec(0x474)]['id']]);function _0x3ec7cf(_0x230ef3,_0x42acee,_0x18d734,_0x296385,_0x11b27b){const _0x275858=_0x1f33ec;var _0x4b696c,_0x4f4fb1,_0x35f891,_0x2b80a5;const _0x5ef5d9=[];for(const _0x12edb1 of _0x230ef3)if(_0x4caa4c[_0x275858(0x252)](_0x12edb1['id'])){if(_0x5ef5d9[_0x275858(0x239)]>0x0)break;_0x5ef5d9[_0x275858(0x3e8)](_0x12edb1);break;}else _0x5ef5d9[_0x275858(0x3e8)](_0x12edb1);const _0x3df534=(_0x4f4fb1=(_0x4b696c=_0x11b27b[_0x275858(0x2f6)]())==null?void 0x0:_0x4b696c[_0x275858(0x33c)])!=null?_0x4f4fb1:_0x275858(0x26d),_0x5fc317=(_0x2b80a5=(_0x35f891=_0x11b27b['getCurrentUser']())==null?void 0x0:_0x35f891[_0x275858(0x513)])!=null?_0x2b80a5:'unknown';return{'changeset':{'unitID':_0x42acee,'type':_0xd9269e['mapDocumentTypeToUniverType'](_0x18d734[_0x275858(0x51f)](_0x42acee)),'baseRev':_0x296385[_0x275858(0x2cc)](_0x42acee),'revision':0x0,'userID':_0x3df534,'memberID':_0x5fc317,'mutations':_0x5ef5d9},'pendingMutations':_0x230ef3[_0x275858(0x576)](_0x5ef5d9[_0x275858(0x239)])};}function _0x46e2d3(_0x1fa11e,_0x4e4b7,_0x1f450b,_0x4eefa1,_0x290d73){const _0x5def74=_0x1f33ec;var _0x3ac31d,_0xd0555f,_0x183d42,_0x69add7;const _0x559686=[_0x1fa11e[_0x5def74(0x2db)]((_0x32dfb7,_0x31c37d)=>{const _0x65e8b8=_0x5def74;var _0x24402d;const {id:_0x82c5b8}=_0x32dfb7,{id:_0x15ef6c,type:_0x578125}=_0x31c37d,_0x2f45b5=(_0x24402d=_0x32dfb7[_0x65e8b8(0x344)])!=null?_0x24402d:{'actions':null},_0x3777d1=_0x31c37d[_0x65e8b8(0x344)];if(_0x82c5b8&&_0x82c5b8!==_0x15ef6c)throw new Error(_0x65e8b8(0x4a0)+_0x82c5b8+'\x20-\x20'+_0x15ef6c+'.');return{..._0x32dfb7,'id':_0x15ef6c,'type':_0x578125,'params':{'unitId':_0x3777d1[_0x65e8b8(0x33e)],'textRanges':_0x3777d1['textRanges'],'actions':_0x59f135[_0x65e8b8(0x5b1)][_0x65e8b8(0x4d8)](_0x2f45b5[_0x65e8b8(0x506)],_0x3777d1[_0x65e8b8(0x506)])}};},{})],_0x4ed300=(_0xd0555f=(_0x3ac31d=_0x290d73[_0x5def74(0x2f6)]())==null?void 0x0:_0x3ac31d['userID'])!=null?_0xd0555f:_0x5def74(0x26d),_0x586b37=(_0x69add7=(_0x183d42=_0x290d73['getCurrentUser']())==null?void 0x0:_0x183d42[_0x5def74(0x513)])!=null?_0x69add7:_0x5def74(0x26d);return{'changeset':{'unitID':_0x4e4b7,'type':_0xd9269e[_0x5def74(0x40d)](_0x1f450b[_0x5def74(0x51f)](_0x4e4b7)),'baseRev':_0x4eefa1[_0x5def74(0x2cc)](_0x4e4b7),'revision':0x0,'userID':_0x4ed300,'memberID':_0x586b37,'mutations':_0x559686},'pendingMutations':[]};}const _0x2dce28={'id':_0x4dc08b['EmptyMutation']['id'],'type':_0x59f135[_0x1f33ec(0x441)][_0x1f33ec(0x295)],'params':{}};var _0x263a10=Object[_0x1f33ec(0x3be)],_0x377133=Object[_0x1f33ec(0x36c)],_0x4778c0=(_0x49a7d7,_0xecb8bc,_0x226d6e,_0x1c6f07)=>{for(var _0x5a4c3a=_0x1c6f07>0x1?void 0x0:_0x1c6f07?_0x377133(_0xecb8bc,_0x226d6e):_0xecb8bc,_0x35333e=_0x49a7d7['length']-0x1,_0x4a7eb4;_0x35333e>=0x0;_0x35333e--)(_0x4a7eb4=_0x49a7d7[_0x35333e])&&(_0x5a4c3a=(_0x1c6f07?_0x4a7eb4(_0xecb8bc,_0x226d6e,_0x5a4c3a):_0x4a7eb4(_0x5a4c3a))||_0x5a4c3a);return _0x1c6f07&&_0x5a4c3a&&_0x263a10(_0xecb8bc,_0x226d6e,_0x5a4c3a),_0x5a4c3a;},_0x4a19fa=(_0x3815f8,_0x1dc820)=>(_0x309656,_0x1836fe)=>_0x1dc820(_0x309656,_0x1836fe,_0x3815f8),_0x3e1bc4=(_0x36dffb=>(_0x36dffb['NOT_COLLAB']=_0x1f33ec(0x33b),_0x36dffb['SYNCED']='synced',_0x36dffb[_0x1f33ec(0x49e)]=_0x1f33ec(0x564),_0x36dffb[_0x1f33ec(0x336)]='awaiting',_0x36dffb['AWAITING_WITH_PENDING']=_0x1f33ec(0x1e3),_0x36dffb['FETCH_MISS']=_0x1f33ec(0x1cb),_0x36dffb[_0x1f33ec(0x256)]=_0x1f33ec(0x367),_0x36dffb['OFFLINE']=_0x1f33ec(0x56e),_0x36dffb))(_0x3e1bc4||{});class _0x4dfa26{constructor(_0x1ab791,_0x30c131,_0x4e87dc,_0x4f2ea0,_0x33c075,_0x5dc557,_0x86aa73,_0x36f2b4,_0x4ba81b){const _0xfbbce8=_0x1f33ec;_0x4fb0a3(this,_0xfbbce8(0x450),null),_0x4fb0a3(this,'_pendingMutations',[]),(this[_0xfbbce8(0x433)]=_0x1ab791,this[_0xfbbce8(0x232)]=_0x30c131,this[_0xfbbce8(0x42f)]=_0x33c075,this[_0xfbbce8(0x194)]=_0x5dc557,this[_0xfbbce8(0x418)]=_0x86aa73,this['_revisionService']=_0x36f2b4,this[_0xfbbce8(0x4e8)]=_0x4ba81b,this[_0xfbbce8(0x450)]=_0x4e87dc,this[_0xfbbce8(0x372)]=_0x4f2ea0);}[_0x1f33ec(0x532)](_0x1bc24b){const _0x2249b9=_0x1f33ec,_0x25dc53=this[_0x2249b9(0x200)][_0x2249b9(0x2cc)](this[_0x2249b9(0x433)]);return _0x1bc24b['revision']>_0x25dc53+0x1?(this[_0x2249b9(0x42f)]['onMissingChangesets']({'from':_0x25dc53,'to':_0x1bc24b[_0x2249b9(0x4eb)]-0x1}),!0x0):!0x1;}[_0x1f33ec(0x4fc)](_0x5688d8){const _0x42e492=_0x1f33ec;this[_0x42e492(0x418)]['transformUndoRedo'](this[_0x42e492(0x433)],_0x5688d8);}['_transformSelections'](_0x1eb10f){const _0x3c4b9b=_0x1f33ec;var _0x2939b1,_0x5d4e75;(_0x5d4e75=(_0x2939b1=this[_0x3c4b9b(0x42f)])['onTransformSelections'])==null||_0x5d4e75[_0x3c4b9b(0x32e)](_0x2939b1,_0x1eb10f);}[_0x1f33ec(0x366)](_0x4b9a82){const _0x4dcefe=_0x1f33ec;var _0x376c29,_0x483dc0;return(_0x483dc0=(_0x376c29=this['_handler'])[_0x4dcefe(0x40f)])==null?void 0x0:_0x483dc0[_0x4dcefe(0x32e)](_0x376c29,_0x4b9a82);}[_0x1f33ec(0x380)](_0x4cb07f){const _0x6f36cf=_0x1f33ec;var _0x59a5ee,_0x1c01e5,_0x94edd0;return(_0x94edd0=(_0x1c01e5=(_0x59a5ee=this[_0x6f36cf(0x42f)])[_0x6f36cf(0x1a4)])==null?void 0x0:_0x1c01e5[_0x6f36cf(0x32e)](_0x59a5ee,_0x4cb07f))!=null?_0x94edd0:_0x4cb07f;}[_0x1f33ec(0x3ae)](_0x20f5b3){const _0x23fa0c=_0x1f33ec;var _0x304aaa,_0x24f137;if(this['type']===_0x3620e1[_0x23fa0c(0x53a)]){const {unitID:_0x2b2791,mutations:_0x3bfba6,memberID:_0xe88eb}=_0x20f5b3,_0xb5cbf6=_0x3bfba6[0x0][_0x23fa0c(0x344)]['textRanges'];Array['isArray'](_0xb5cbf6)&&_0xb5cbf6['length']>0x0&&((_0x24f137=(_0x304aaa=this['_handler'])[_0x23fa0c(0x50c)])==null||_0x24f137[_0x23fa0c(0x32e)](_0x304aaa,{'unitID':_0x2b2791,'memberID':_0xe88eb,'textRanges':_0xb5cbf6}));}}['_updateLocalCache'](){const _0x5e2769=_0x1f33ec;this[_0x5e2769(0x4e8)][_0x5e2769(0x1a7)](this[_0x5e2769(0x433)],this[_0x5e2769(0x232)],this['_awaitingChangeset'],this[_0x5e2769(0x372)]);}[_0x1f33ec(0x267)](){const _0x11d0cb=_0x1f33ec;return this[_0x11d0cb(0x200)][_0x11d0cb(0x2cc)](this[_0x11d0cb(0x433)]);}[_0x1f33ec(0x4c3)](){const _0x41cf56=_0x1f33ec;this[_0x41cf56(0x200)][_0x41cf56(0x54b)](this['unitID']);}['_executeRemoteChangeset'](_0x5efc2c){const _0x8078df=_0x1f33ec;var _0x5b508d;const _0x8b0c48=this[_0x8078df(0x380)](_0x5efc2c),_0x578c75=_0x59f135['sequenceExecute'](_0x8b0c48[_0x8078df(0x561)],this[_0x8078df(0x194)],{'fromCollab':!0x0});if(!_0x578c75[_0x8078df(0x1c8)])throw _0x578c75[_0x8078df(0x4bd)]instanceof Error?_0x578c75['error']:new Error((_0x5b508d=_0x578c75[_0x8078df(0x4bd)])!=null?_0x5b508d:_0x8078df(0x44c));this[_0x8078df(0x366)](_0x8b0c48),this[_0x8078df(0x4fc)](_0x5efc2c),this[_0x8078df(0x52e)](_0x8b0c48),this[_0x8078df(0x3ae)](_0x8b0c48),this[_0x8078df(0x4c3)]();}}let _0x243829=class extends _0x4dfa26{constructor(_0x29b195,_0x488c07,_0x460df9,_0x15df6f,_0x130c04,_0x278f98,_0x14e152,_0x563a82,_0x394fa9,_0x36ac0c){const _0xa8de3f=_0x1f33ec;super(_0x29b195,_0x488c07,null,[],_0x460df9,_0x563a82,_0x14e152,_0x15df6f,_0x130c04),_0x4fb0a3(this,_0xa8de3f(0x3fb),_0xa8de3f(0x243)),(this[_0xa8de3f(0x368)]=_0x278f98,this[_0xa8de3f(0x59c)]=_0x394fa9,this[_0xa8de3f(0x2c0)]=_0x36ac0c);}[_0x1f33ec(0x376)](_0x46b28c){const _0x9dd4c9=_0x1f33ec,_0x5ac6ae=this[_0x9dd4c9(0x368)][_0x9dd4c9(0x517)](_0x20fc33,this[_0x9dd4c9(0x433)],this[_0x9dd4c9(0x232)],[_0x46b28c],this[_0x9dd4c9(0x42f)]);return _0x5ac6ae[_0x9dd4c9(0x569)](),_0x5ac6ae['_updateLocalCache'](),_0x5ac6ae;}['onRemoteChangeset'](_0x366fa3){const _0x1aa0ff=_0x1f33ec;if(this[_0x1aa0ff(0x532)](_0x366fa3))return this['_injector'][_0x1aa0ff(0x517)](_0x109264,this[_0x1aa0ff(0x433)],this[_0x1aa0ff(0x232)],null,[],null,[_0x366fa3],this[_0x1aa0ff(0x42f)]);try{const _0x5334be=this[_0x1aa0ff(0x2c0)][_0x1aa0ff(0x32d)](_0x366fa3,[_0x2dce28]);if(_0xd9269e[_0x1aa0ff(0x2d6)](_0x5334be)){const {c1Prime:_0x8790f4}=_0x5334be;return this[_0x1aa0ff(0x471)](_0x8790f4),this;}throw _0x5334be['error'];}catch(_0x49bd27){return this[_0x1aa0ff(0x59c)][_0x1aa0ff(0x4bd)](_0x49bd27),this[_0x1aa0ff(0x4f9)](!0x1);}}[_0x1f33ec(0x4f9)](_0x55e347){const _0x1f8866=_0x1f33ec;return this['_injector'][_0x1f8866(0x517)](_0x440b4a,this[_0x1f8866(0x433)],this[_0x1f8866(0x232)],null,[],this[_0x1f8866(0x42f)],_0x55e347);}[_0x1f33ec(0x4f3)](){const _0xd75acb=_0x1f33ec;throw new Error(_0xd75acb(0x5bc));}['onRemoteRej'](){const _0x4465c2=_0x1f33ec;throw new Error(_0x4465c2(0x1d2));}[_0x1f33ec(0x49c)](){const _0x43747c=_0x1f33ec;return this[_0x43747c(0x368)][_0x43747c(0x517)](_0x6afe72,this['unitID'],this[_0x43747c(0x232)],null,[],this[_0x43747c(0x42f)]);}[_0x1f33ec(0x47f)](){return this;}['resend'](){const _0x163f06=_0x1f33ec;throw new Error(_0x163f06(0x592));}[_0x1f33ec(0x1a5)](){const _0x371b14=_0x1f33ec,_0x68bb6d=this[_0x371b14(0x200)][_0x371b14(0x2cc)](this[_0x371b14(0x433)]);return this['_handler']['onMissingChangesets']({'from':_0x68bb6d,'to':0x0}),this[_0x371b14(0x368)]['createInstance'](_0x109264,this['unitID'],this[_0x371b14(0x232)],null,[],null,[],this[_0x371b14(0x42f)]);}};_0x243829=_0x4778c0([_0x4a19fa(0x3,_0x59f135[_0x1f33ec(0x496)](_0xd9269e[_0x1f33ec(0x39a)])),_0x4a19fa(0x4,_0x59f135['Inject'](_0x358006['LocalCacheService'])),_0x4a19fa(0x5,_0x59f135['Inject'](_0x59f135[_0x1f33ec(0x3a8)])),_0x4a19fa(0x6,_0x59f135[_0x1f33ec(0x527)]),_0x4a19fa(0x7,_0x59f135[_0x1f33ec(0x350)]),_0x4a19fa(0x8,_0x59f135['ILogService']),_0x4a19fa(0x9,_0xd9269e['ITransformService'])],_0x243829);let _0x20fc33=class extends _0x4dfa26{constructor(_0x88dbaf,_0x5716d3,_0x84d682,_0xf52a02,_0x17663a,_0x142f83,_0x1fa69b,_0x44a17f,_0x451a34,_0x4d1453,_0x1f666b,_0x1cff0b,_0x29d857,_0x4f55c9){const _0x308cef=_0x1f33ec;super(_0x88dbaf,_0x5716d3,null,_0x84d682,_0xf52a02,_0x4d1453,_0x4f55c9,_0x142f83,_0x1fa69b),_0x4fb0a3(this,_0x308cef(0x3fb),_0x308cef(0x564)),_0x4fb0a3(this,_0x308cef(0x1f0),null),_0x4fb0a3(this,'_sendingTimer',null),(this[_0x308cef(0x368)]=_0x17663a,this['_memberService']=_0x44a17f,this[_0x308cef(0x59c)]=_0x451a34,this[_0x308cef(0x261)]=_0x1f666b,this[_0x308cef(0x2c0)]=_0x1cff0b,this[_0x308cef(0x540)]=_0x29d857);}['appendMutation'](_0x267b1d){const _0x8ff934=_0x1f33ec;return this[_0x8ff934(0x372)][_0x8ff934(0x3e8)](_0x267b1d),this['_updateLocalCache'](),this;}['onRemoteChangeset'](_0x555e12){const _0x2335b3=_0x1f33ec;if(this[_0x2335b3(0x532)](_0x555e12))return this[_0x2335b3(0x590)](),this[_0x2335b3(0x368)]['createInstance'](_0x109264,this[_0x2335b3(0x433)],this[_0x2335b3(0x232)],null,this[_0x2335b3(0x372)],null,[_0x555e12],this[_0x2335b3(0x42f)]);try{const _0x376508=this['_transformService']['transformMutationsWithChangeset'](_0x555e12,this['_pendingMutations']);if(_0xd9269e[_0x2335b3(0x2d6)](_0x376508)){const {c1Prime:_0x172e40,m2Prime:_0x2bf223}=_0x376508;this['_executeRemoteChangeset'](_0x172e40);const _0x277d7f=this['_injector'][_0x2335b3(0x517)](_0x20fc33,this['unitID'],this[_0x2335b3(0x232)],_0x2bf223,this[_0x2335b3(0x42f)]);return this[_0x2335b3(0x590)](),_0x277d7f[_0x2335b3(0x569)](this[_0x2335b3(0x1f0)]?Math['max'](0x0,new Date()[_0x2335b3(0x38e)]()-this[_0x2335b3(0x1f0)]):this['_getSendChangesetTimeout']()),_0x277d7f;}throw _0x376508[_0x2335b3(0x4bd)];}catch(_0x4f63a8){return this['_logService'][_0x2335b3(0x4bd)](_0x4f63a8),this[_0x2335b3(0x4f9)](!0x1);}}[_0x1f33ec(0x4f3)](){const _0x4465c3=_0x1f33ec;throw new Error(_0x4465c3(0x343));}['onRemoteRej'](){const _0x2ff472=_0x1f33ec;throw new Error(_0x2ff472(0x403));}[_0x1f33ec(0x49c)](){const _0x55e29d=_0x1f33ec;return this[_0x55e29d(0x590)](),this[_0x55e29d(0x368)][_0x55e29d(0x517)](_0x6afe72,this['unitID'],this['type'],null,this['_pendingMutations'],this[_0x55e29d(0x42f)]);}[_0x1f33ec(0x47f)](){return this;}[_0x1f33ec(0x569)](_0x5395ff){const _0xce5f7a=_0x1f33ec,_0x61b45a=_0x5395ff!=null?_0x5395ff:this[_0xce5f7a(0x505)]();this[_0xce5f7a(0x1f0)]=new Date()[_0xce5f7a(0x38e)](),this[_0xce5f7a(0x489)]=window['setTimeout'](()=>{const _0x42ae25=_0xce5f7a;this['_clearScheduledTask']();let _0x1b550c=null;switch(this[_0x42ae25(0x232)]){case _0x3620e1[_0x42ae25(0x333)]:{_0x1b550c=_0x3ec7cf(this[_0x42ae25(0x372)],this[_0x42ae25(0x433)],this[_0x42ae25(0x540)],this[_0x42ae25(0x200)],this['_memberService']);break;}case _0x3620e1[_0x42ae25(0x53a)]:{this[_0x42ae25(0x372)][_0x42ae25(0x4bc)](_0x4224db=>_0x4224db['id']===_0x2fa0c8['RichTextEditingMutation']['id'])?_0x1b550c=_0x46e2d3(this[_0x42ae25(0x372)],this[_0x42ae25(0x433)],this[_0x42ae25(0x540)],this[_0x42ae25(0x200)],this[_0x42ae25(0x3af)]):_0x1b550c=_0x3ec7cf(this[_0x42ae25(0x372)],this[_0x42ae25(0x433)],this['_univerInstanceService'],this[_0x42ae25(0x200)],this[_0x42ae25(0x3af)]);break;}default:throw new Error(_0x42ae25(0x3de)+this[_0x42ae25(0x232)]+'\x20in\x20_schedule.');}const {changeset:_0x4e46cf,pendingMutations:_0x3f5889}=_0x1b550c;this[_0x42ae25(0x42f)][_0x42ae25(0x22b)](_0x4e46cf);const _0x496d13=_0x3f5889['length']?this['_injector'][_0x42ae25(0x517)](_0x507729,this[_0x42ae25(0x433)],this[_0x42ae25(0x232)],_0x4e46cf,_0x3f5889,this[_0x42ae25(0x42f)]):this[_0x42ae25(0x368)][_0x42ae25(0x517)](_0x4a02b6,this[_0x42ae25(0x433)],this[_0x42ae25(0x232)],_0x4e46cf,this[_0x42ae25(0x42f)]);_0x496d13[_0x42ae25(0x581)](),this[_0x42ae25(0x42f)][_0x42ae25(0x329)](this,_0x496d13);},_0x61b45a);}['_getSendChangesetTimeout'](){const _0x4174bf=_0x1f33ec;var _0x2e2523;const _0x3fadcd=this[_0x4174bf(0x261)]['getConfig'](_0x4e0661);return(_0x2e2523=_0x3fadcd==null?void 0x0:_0x3fadcd[_0x4174bf(0x1be)])!=null?_0x2e2523:0x7d0;}[_0x1f33ec(0x4be)](){throw new Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x1f33ec(0x590)](){const _0x5dddba=_0x1f33ec;this[_0x5dddba(0x489)]!=null&&(clearTimeout(this[_0x5dddba(0x489)]),this[_0x5dddba(0x489)]=null);}['_onConflict'](_0x282e1c){const _0x3ab3ef=_0x1f33ec;return this[_0x3ab3ef(0x590)](),this[_0x3ab3ef(0x368)][_0x3ab3ef(0x517)](_0x440b4a,this[_0x3ab3ef(0x433)],this['type'],null,this[_0x3ab3ef(0x372)],this[_0x3ab3ef(0x42f)],_0x282e1c);}};_0x20fc33=_0x4778c0([_0x4a19fa(0x4,_0x59f135[_0x1f33ec(0x496)](_0x59f135['Injector'])),_0x4a19fa(0x5,_0x59f135['Inject'](_0xd9269e[_0x1f33ec(0x39a)])),_0x4a19fa(0x6,_0x59f135[_0x1f33ec(0x496)](_0x358006[_0x1f33ec(0x2e6)])),_0x4a19fa(0x7,_0x59f135[_0x1f33ec(0x496)](_0x3b92f1)),_0x4a19fa(0x8,_0x59f135[_0x1f33ec(0x43b)]),_0x4a19fa(0x9,_0x59f135[_0x1f33ec(0x350)]),_0x4a19fa(0xa,_0x59f135['IConfigService']),_0x4a19fa(0xb,_0xd9269e[_0x1f33ec(0x3d5)]),_0x4a19fa(0xc,_0x59f135[_0x1f33ec(0x1c2)]),_0x4a19fa(0xd,_0x59f135[_0x1f33ec(0x527)])],_0x20fc33);let _0x4a02b6=class extends _0x4dfa26{constructor(_0x49274d,_0x459227,_0xa6b200,_0x5be3f6,_0x4a6d21,_0x5b55fd,_0x373de1,_0x3ff9e8,_0x4a75c4,_0x524efc,_0x49c8b6){const _0x4fb69e=_0x1f33ec;super(_0x49274d,_0x459227,_0xa6b200,[],_0x5be3f6,_0x3ff9e8,_0x49c8b6,_0x5b55fd,_0x373de1),_0x4fb0a3(this,'status',_0x4fb69e(0x21c)),(this[_0x4fb69e(0x368)]=_0x4a6d21,this[_0x4fb69e(0x59c)]=_0x4a75c4,this['_transformService']=_0x524efc);}[_0x1f33ec(0x376)](_0x384cc9){const _0x18b925=_0x1f33ec,_0x8d50f8=this['_injector'][_0x18b925(0x517)](_0x507729,this['unitID'],this[_0x18b925(0x232)],this[_0x18b925(0x450)],[_0x384cc9],this['_handler']);return _0x8d50f8[_0x18b925(0x581)](),_0x8d50f8;}[_0x1f33ec(0x3b6)](_0x11c37f){const _0x30562e=_0x1f33ec;if(this['_checkMissing'](_0x11c37f))return this[_0x30562e(0x368)]['createInstance'](_0x109264,this[_0x30562e(0x433)],this[_0x30562e(0x232)],this[_0x30562e(0x450)],[],null,[_0x11c37f],this[_0x30562e(0x42f)]);try{const _0x3901e5=this[_0x30562e(0x2c0)][_0x30562e(0x3d0)]([_0x11c37f],[this[_0x30562e(0x450)]],!0x1);if(_0xd9269e[_0x30562e(0x480)](_0x3901e5)){const {c1Prime:_0x396eec,c2Prime:_0x5e9593}=_0x3901e5;this['_executeRemoteChangeset'](_0x396eec[0x0]),_0x5e9593[0x0]['baseRev']=this[_0x30562e(0x267)]();const _0x5488f4=this[_0x30562e(0x368)][_0x30562e(0x517)](_0x4a02b6,this['unitID'],this['type'],_0x5e9593[0x0],this['_handler']);return _0x5488f4[_0x30562e(0x581)](),_0x5488f4;}return this[_0x30562e(0x4f9)](!0x1);}catch(_0x4842f6){return this['_logService']['error'](_0x4842f6),this['_onConflict'](!0x1);}}[_0x1f33ec(0x4f3)](_0x31d29a){const _0x4a390a=_0x1f33ec,_0x1c9e98=this[_0x4a390a(0x200)][_0x4a390a(0x2cc)](this[_0x4a390a(0x433)]);if(_0x31d29a[_0x4a390a(0x4eb)]<_0x1c9e98-0x1)return this;if(this[_0x4a390a(0x532)](_0x31d29a))return this['_injector'][_0x4a390a(0x517)](_0x109264,this[_0x4a390a(0x433)],this[_0x4a390a(0x232)],null,[],this['_awaitingChangeset'],[],this[_0x4a390a(0x42f)]);this[_0x4a390a(0x4c3)]();const _0x287c9d=this[_0x4a390a(0x368)][_0x4a390a(0x517)](_0x243829,this[_0x4a390a(0x433)],this[_0x4a390a(0x232)],this[_0x4a390a(0x42f)]);return _0x287c9d[_0x4a390a(0x581)](),_0x287c9d;}[_0x1f33ec(0x3bf)](_0xc21dd6){const _0x4290a9=_0x1f33ec;return this['_onConflict'](!!(_0xc21dd6!=null&&_0xc21dd6[_0x4290a9(0x279)]));}[_0x1f33ec(0x49c)](){const _0x31f283=_0x1f33ec;return this[_0x31f283(0x368)][_0x31f283(0x517)](_0x6afe72,this[_0x31f283(0x433)],this[_0x31f283(0x232)],this[_0x31f283(0x450)],[],this[_0x31f283(0x42f)]);}[_0x1f33ec(0x47f)](){return this;}['resend'](){const _0x49e027=_0x1f33ec;this['_handler'][_0x49e027(0x22b)](this['_awaitingChangeset']);}[_0x1f33ec(0x4f9)](_0xb7644){const _0x1898b3=_0x1f33ec;return this[_0x1898b3(0x368)][_0x1898b3(0x517)](_0x440b4a,this[_0x1898b3(0x433)],this[_0x1898b3(0x232)],this[_0x1898b3(0x450)],[],this[_0x1898b3(0x42f)],_0xb7644);}};_0x4a02b6=_0x4778c0([_0x4a19fa(0x4,_0x59f135[_0x1f33ec(0x496)](_0x59f135[_0x1f33ec(0x3a8)])),_0x4a19fa(0x5,_0x59f135['Inject'](_0xd9269e[_0x1f33ec(0x39a)])),_0x4a19fa(0x6,_0x59f135['Inject'](_0x358006[_0x1f33ec(0x2e6)])),_0x4a19fa(0x7,_0x59f135['ICommandService']),_0x4a19fa(0x8,_0x59f135[_0x1f33ec(0x43b)]),_0x4a19fa(0x9,_0xd9269e[_0x1f33ec(0x3d5)]),_0x4a19fa(0xa,_0x59f135[_0x1f33ec(0x527)])],_0x4a02b6);let _0x507729=class extends _0x4dfa26{constructor(_0x2264f9,_0x382541,_0x5e27f4,_0x1e5fe0,_0x296812,_0x24706e,_0x394750,_0x256ab8,_0x2664c3,_0x2f744e,_0x4b74bc,_0x31241c){const _0x31139e=_0x1f33ec;super(_0x2264f9,_0x382541,_0x5e27f4,_0x1e5fe0,_0x296812,_0x2664c3,_0x31241c,_0x394750,_0x256ab8),_0x4fb0a3(this,_0x31139e(0x3fb),'awaiting_with_pending'),(this['_injector']=_0x24706e,this[_0x31139e(0x59c)]=_0x2f744e,this[_0x31139e(0x2c0)]=_0x4b74bc);}[_0x1f33ec(0x376)](_0x198fbe){const _0x41315d=_0x1f33ec;return this[_0x41315d(0x372)][_0x41315d(0x3e8)](_0x198fbe),this;}[_0x1f33ec(0x3b6)](_0x5b359c){const _0x57d906=_0x1f33ec;if(this[_0x57d906(0x532)](_0x5b359c))return this[_0x57d906(0x368)]['createInstance'](_0x109264,this['unitID'],this[_0x57d906(0x232)],this[_0x57d906(0x450)],this['_pendingMutations'],null,[_0x5b359c],this[_0x57d906(0x42f)]);try{const _0x215127=this[_0x57d906(0x2c0)][_0x57d906(0x3d0)]([_0x5b359c],[this[_0x57d906(0x450)]],!0x1);if(_0xd9269e[_0x57d906(0x480)](_0x215127)){const {c1Prime:_0x5c4d0d,c2Prime:_0x10e225}=_0x215127,_0x2660e7=this[_0x57d906(0x2c0)]['transformMutationsWithChangeset'](_0x5c4d0d[0x0],this['_pendingMutations']);if(_0xd9269e[_0x57d906(0x2d6)](_0x2660e7)){const {c1Prime:_0x4ad158,m2Prime:_0x547c40}=_0x2660e7;return this[_0x57d906(0x471)](_0x4ad158),_0x10e225[0x0][_0x57d906(0x357)]=this[_0x57d906(0x267)](),this[_0x57d906(0x368)]['createInstance'](_0x507729,this['unitID'],this[_0x57d906(0x232)],_0x10e225[0x0],_0x547c40,this[_0x57d906(0x42f)]);}throw _0x2660e7[_0x57d906(0x4bd)];}throw _0x215127['error'];}catch(_0x24f1c7){return this[_0x57d906(0x59c)][_0x57d906(0x4bd)](_0x24f1c7),this[_0x57d906(0x4f9)](!0x1);}}[_0x1f33ec(0x4f3)](_0x15dec8){const _0x5304f8=_0x1f33ec;if(this[_0x5304f8(0x532)](_0x15dec8))return this['_injector']['createInstance'](_0x109264,this[_0x5304f8(0x433)],this[_0x5304f8(0x232)],null,this[_0x5304f8(0x372)],this['_awaitingChangeset'],[],this[_0x5304f8(0x42f)]);this['_incrementRevisionNumber']();const _0x3f8d90=this[_0x5304f8(0x368)][_0x5304f8(0x517)](_0x20fc33,this[_0x5304f8(0x433)],this[_0x5304f8(0x232)],this['_pendingMutations'],this['_handler']);return _0x3f8d90[_0x5304f8(0x569)](),_0x3f8d90['_updateLocalCache'](),_0x3f8d90;}[_0x1f33ec(0x3bf)](_0x4cdbff){const _0x5a3910=_0x1f33ec;return this[_0x5a3910(0x4f9)](!!(_0x4cdbff!=null&&_0x4cdbff[_0x5a3910(0x279)]));}[_0x1f33ec(0x49c)](){const _0x20052f=_0x1f33ec;return this['_injector'][_0x20052f(0x517)](_0x6afe72,this[_0x20052f(0x433)],this['type'],this[_0x20052f(0x450)],this[_0x20052f(0x372)],this[_0x20052f(0x42f)]);}['toggleOnline'](){return this;}[_0x1f33ec(0x4be)](){const _0x3ccb90=_0x1f33ec;this['_handler'][_0x3ccb90(0x22b)](this[_0x3ccb90(0x450)]);}[_0x1f33ec(0x4f9)](_0x50c6ac){const _0x5dd038=_0x1f33ec;return this[_0x5dd038(0x368)][_0x5dd038(0x517)](_0x440b4a,this[_0x5dd038(0x433)],this[_0x5dd038(0x232)],null,this[_0x5dd038(0x372)],this['_handler'],_0x50c6ac);}};_0x507729=_0x4778c0([_0x4a19fa(0x5,_0x59f135['Inject'](_0x59f135[_0x1f33ec(0x3a8)])),_0x4a19fa(0x6,_0x59f135[_0x1f33ec(0x496)](_0xd9269e[_0x1f33ec(0x39a)])),_0x4a19fa(0x7,_0x59f135['Inject'](_0x358006[_0x1f33ec(0x2e6)])),_0x4a19fa(0x8,_0x59f135[_0x1f33ec(0x350)]),_0x4a19fa(0x9,_0x59f135['ILogService']),_0x4a19fa(0xa,_0xd9269e[_0x1f33ec(0x3d5)]),_0x4a19fa(0xb,_0x59f135[_0x1f33ec(0x527)])],_0x507729);let _0x440b4a=class extends _0x4dfa26{constructor(_0xfa8165,_0x183384,_0x3cfdaa,_0x58c771,_0x358746,_0x368309=!0x1,_0x39ea7a,_0x3fd0be,_0x3ec7e0,_0x2bcf55,_0x172a94,_0xd7e6e0,_0x3c5927){const _0x3be2ea=_0x1f33ec;super(_0xfa8165,_0x183384,_0x3cfdaa,_0x58c771,_0x358746,_0x3fd0be,_0x3ec7e0,_0x172a94,_0x2bcf55),_0x4fb0a3(this,_0x3be2ea(0x3fb),_0x3be2ea(0x367)),(this[_0x3be2ea(0x499)]=_0x368309,this[_0x3be2ea(0x3e4)]=_0x39ea7a,this['_localeService']=_0xd7e6e0,this['_notificationService']=_0x3c5927,this['_showConflictNotification'](),this['_clearLocalCache'](),this[_0x3be2ea(0x5a2)]());}[_0x1f33ec(0x376)](){return this;}[_0x1f33ec(0x3b6)](){return this;}[_0x1f33ec(0x4f3)](){return this;}[_0x1f33ec(0x3bf)](){return this;}[_0x1f33ec(0x49c)](){return this;}[_0x1f33ec(0x47f)](){return this;}[_0x1f33ec(0x4be)](){const _0x1cbb12=_0x1f33ec;throw new Error(_0x1cbb12(0x5c0));}[_0x1f33ec(0x399)](){const _0x5aa506=_0x1f33ec;this['_localCacheService'][_0x5aa506(0x1a7)](this[_0x5aa506(0x433)],this['type'],null,[]);}[_0x1f33ec(0x50d)](){const _0xa0ab24=_0x1f33ec;this[_0xa0ab24(0x499)]?this[_0xa0ab24(0x3ff)][_0xa0ab24(0x46c)]({'title':this[_0xa0ab24(0x234)]['t'](_0xa0ab24(0x4c9)),'content':this[_0xa0ab24(0x234)]['t'](_0xa0ab24(0x5b2)),'type':'error','duration':0x0}):this['_notificationService'][_0xa0ab24(0x46c)]({'title':this[_0xa0ab24(0x234)]['t'](_0xa0ab24(0x40c)),'content':this[_0xa0ab24(0x234)]['t'](_0xa0ab24(0x28b)),'type':'error','duration':0x0});}[_0x1f33ec(0x5a2)](){const _0x2f5f36=_0x1f33ec;this['_permissionService']['updatePermissionPoint'](new _0x4dc08b[(_0x2f5f36(0x1e4))](this[_0x2f5f36(0x433)])['id'],!0x1);}};_0x440b4a=_0x4778c0([_0x4a19fa(0x6,_0x59f135[_0x1f33ec(0x496)](_0x59f135[_0x1f33ec(0x25e)])),_0x4a19fa(0x7,_0x59f135[_0x1f33ec(0x350)]),_0x4a19fa(0x8,_0x59f135[_0x1f33ec(0x527)]),_0x4a19fa(0x9,_0x59f135[_0x1f33ec(0x496)](_0x358006[_0x1f33ec(0x2e6)])),_0x4a19fa(0xa,_0x59f135[_0x1f33ec(0x496)](_0xd9269e['RevisionService'])),_0x4a19fa(0xb,_0x59f135[_0x1f33ec(0x496)](_0x59f135['LocaleService'])),_0x4a19fa(0xc,_0x575a2d[_0x1f33ec(0x309)])],_0x440b4a);let _0x6afe72=class extends _0x4dfa26{constructor(_0x4d9d36,_0x37155b,_0x5f436d,_0x24d72e,_0x1cbe00,_0x36ad4a,_0x151065,_0x49337e,_0x4ac8ff,_0xaa8ba4){const _0x532f74=_0x1f33ec;super(_0x4d9d36,_0x37155b,_0x5f436d,_0x24d72e,_0x1cbe00,_0x4ac8ff,_0xaa8ba4,_0x151065,_0x49337e),_0x4fb0a3(this,_0x532f74(0x3fb),_0x532f74(0x56e)),this[_0x532f74(0x368)]=_0x36ad4a;}[_0x1f33ec(0x376)](_0x533789){const _0x3aa932=_0x1f33ec;return this[_0x3aa932(0x372)][_0x3aa932(0x3e8)](_0x533789),this[_0x3aa932(0x581)](),this;}[_0x1f33ec(0x3b6)](_0x519c7c){const _0x239052=_0x1f33ec;throw new Error(_0x239052(0x204));}[_0x1f33ec(0x4f3)](){throw new Error('[OfflineState]:\x20received\x20acknowledgement.');}[_0x1f33ec(0x3bf)](){const _0xff7ffd=_0x1f33ec;throw new Error(_0xff7ffd(0x229));}[_0x1f33ec(0x49c)](){return this;}[_0x1f33ec(0x47f)](){const {_injector:_0x18b0ee,_pendingMutations:_0x48d199,_awaitingChangeset:_0x4a0ba2,unitID:_0x443bd0,_handler:_0x3f09cf,type:_0x596d2a}=this,_0x60c7b7=_0x11bd0a(_0x18b0ee,_0x443bd0,_0x596d2a,_0x4a0ba2,_0x48d199,_0x3f09cf);return _0x60c7b7 instanceof _0x20fc33?_0x60c7b7['_schedule']():(_0x60c7b7 instanceof _0x507729||_0x60c7b7 instanceof _0x4a02b6)&&_0x60c7b7['resend'](),_0x60c7b7;}['resend'](){const _0x1de6c1=_0x1f33ec;throw new Error(_0x1de6c1(0x3c5));}};_0x6afe72=_0x4778c0([_0x4a19fa(0x5,_0x59f135[_0x1f33ec(0x496)](_0x59f135[_0x1f33ec(0x3a8)])),_0x4a19fa(0x6,_0x59f135['Inject'](_0xd9269e[_0x1f33ec(0x39a)])),_0x4a19fa(0x7,_0x59f135[_0x1f33ec(0x496)](_0x358006[_0x1f33ec(0x2e6)])),_0x4a19fa(0x8,_0x59f135[_0x1f33ec(0x350)]),_0x4a19fa(0x9,_0x59f135[_0x1f33ec(0x527)])],_0x6afe72);let _0x109264=class extends _0x4dfa26{constructor(_0x59ed2f,_0x14ba59,_0x15812d,_0x21748e,_0xa8dfc7,_0x3fb849,_0x12f6c4,_0x503119,_0xd996af,_0x5bef84,_0x5d9ecb,_0xa13463,_0x149f64,_0x4e3e39){const _0x5756e2=_0x1f33ec;super(_0x59ed2f,_0x14ba59,_0x15812d,_0x21748e,_0x12f6c4,_0xa13463,_0x149f64,_0xd996af,_0x5bef84),_0x4fb0a3(this,'status',_0x5756e2(0x1cb)),(this[_0x5756e2(0x425)]=_0xa8dfc7,this['_queuedRemoteChangesets']=_0x3fb849,this['_injector']=_0x503119,this[_0x5756e2(0x59c)]=_0x5d9ecb,this[_0x5756e2(0x2c0)]=_0x4e3e39);}[_0x1f33ec(0x2b4)](_0xc8b691){const _0xfe1dbe=_0x1f33ec;try{const _0xeebf0a=[..._0xc8b691,...this['_queuedRemoteChangesets']],_0x5ed628=[this[_0xfe1dbe(0x450)]||this[_0xfe1dbe(0x425)]][_0xfe1dbe(0x421)](_0x3c3398=>!!_0x3c3398);let _0x455917,_0x314d54;if(_0x5ed628[_0xfe1dbe(0x239)]){const _0x14bcaf=this[_0xfe1dbe(0x2c0)][_0xfe1dbe(0x3d0)](_0xeebf0a,_0x5ed628,!0x1);if(!_0xd9269e[_0xfe1dbe(0x480)](_0x14bcaf))throw _0x14bcaf['error'];_0x455917=_0x14bcaf[_0xfe1dbe(0x2b2)],_0x314d54=_0x14bcaf[_0xfe1dbe(0x4d5)];}else _0x455917=_0xeebf0a,_0x314d54=[];let _0x573e77=this[_0xfe1dbe(0x372)];_0x455917[_0xfe1dbe(0x314)](_0x43b7c6=>{const _0x2819e2=_0xfe1dbe;let _0x321403;if(_0x573e77[_0x2819e2(0x239)]){const _0x2ba9aa=this['_transformService'][_0x2819e2(0x32d)](_0x43b7c6,_0x573e77);if(!_0xd9269e['isTransformMutationsWithChangesetSuccess'](_0x2ba9aa))throw _0x2ba9aa['error'];_0x321403=_0x2ba9aa[_0x2819e2(0x2b2)],_0x573e77=_0x2ba9aa['m2Prime'];}else _0x321403=_0x43b7c6;this['_executeRemoteChangeset'](_0x321403);}),this[_0xfe1dbe(0x425)]&&this[_0xfe1dbe(0x4c3)](),this[_0xfe1dbe(0x450)]&&_0x314d54[_0xfe1dbe(0x239)]&&(_0x314d54[0x0][_0xfe1dbe(0x357)]=this[_0xfe1dbe(0x267)]());let _0xff1bb;if(this['_awaitingChangeset']&&_0x573e77[_0xfe1dbe(0x239)]!==0x0)_0xff1bb=this[_0xfe1dbe(0x368)]['createInstance'](_0x507729,this[_0xfe1dbe(0x433)],this['type'],_0x314d54[0x0],_0x573e77,this[_0xfe1dbe(0x42f)]);else{if(this[_0xfe1dbe(0x450)]&&_0x573e77['length']===0x0)_0x314d54[0x0][_0xfe1dbe(0x357)]=this[_0xfe1dbe(0x267)](),_0xff1bb=this[_0xfe1dbe(0x368)][_0xfe1dbe(0x517)](_0x4a02b6,this[_0xfe1dbe(0x433)],this[_0xfe1dbe(0x232)],_0x314d54[0x0],this[_0xfe1dbe(0x42f)]);else{if(_0x573e77[_0xfe1dbe(0x239)]!==0x0){const _0x6d0167=this['_injector'][_0xfe1dbe(0x517)](_0x20fc33,this[_0xfe1dbe(0x433)],this[_0xfe1dbe(0x232)],_0x573e77,this['_handler']);_0x6d0167[_0xfe1dbe(0x569)](),_0xff1bb=_0x6d0167;}else _0xff1bb=this[_0xfe1dbe(0x368)][_0xfe1dbe(0x517)](_0x243829,this[_0xfe1dbe(0x433)],this[_0xfe1dbe(0x232)],this[_0xfe1dbe(0x42f)]);}}return _0xff1bb[_0xfe1dbe(0x581)](),_0xff1bb;}catch(_0x9d6aa6){return this[_0xfe1dbe(0x59c)][_0xfe1dbe(0x4bd)](_0xfe1dbe(0x290),_0xfe1dbe(0x44e),_0x9d6aa6),this[_0xfe1dbe(0x368)][_0xfe1dbe(0x517)](_0x440b4a,this[_0xfe1dbe(0x433)],this[_0xfe1dbe(0x232)],this[_0xfe1dbe(0x450)],this['_pendingMutations'],this['_handler'],!0x1);}}[_0x1f33ec(0x4be)](){const _0x4bdfff=_0x1f33ec;throw new Error(_0x4bdfff(0x4bb));}['appendMutation'](_0x11ac41){const _0x3dbb62=_0x1f33ec;return this['_pendingMutations'][_0x3dbb62(0x3e8)](_0x11ac41),this;}[_0x1f33ec(0x3b6)](_0x42f271){const _0x20fd01=_0x1f33ec;return this[_0x20fd01(0x1a8)][_0x20fd01(0x3e8)](_0x42f271),this;}['onRemoteAck'](_0x32de0c){const _0x512b80=_0x1f33ec;if(this[_0x512b80(0x450)])return this['_acknowledgedAwaitingChangeset']=this[_0x512b80(0x450)],this['_awaitingChangeset']=null,this;throw new Error(_0x512b80(0x3cb));}['onRemoteRej'](_0x6a3c19){const _0x25f32a=_0x1f33ec;return this[_0x25f32a(0x4f9)](!!(_0x6a3c19!=null&&_0x6a3c19[_0x25f32a(0x279)]));}['toggleOffline'](){const _0x2436fc=_0x1f33ec;return this[_0x2436fc(0x368)][_0x2436fc(0x517)](_0x6afe72,this[_0x2436fc(0x433)],this[_0x2436fc(0x232)],this[_0x2436fc(0x450)],this['_pendingMutations'],this[_0x2436fc(0x42f)]);}[_0x1f33ec(0x47f)](){return this;}['_onConflict'](_0x341b93){const _0x17b981=_0x1f33ec;return this[_0x17b981(0x368)]['createInstance'](_0x440b4a,this['unitID'],this[_0x17b981(0x232)],this[_0x17b981(0x450)],this['_pendingMutations'],this['_handler'],_0x341b93);}};_0x109264=_0x4778c0([_0x4a19fa(0x7,_0x59f135[_0x1f33ec(0x496)](_0x59f135[_0x1f33ec(0x3a8)])),_0x4a19fa(0x8,_0x59f135[_0x1f33ec(0x496)](_0xd9269e[_0x1f33ec(0x39a)])),_0x4a19fa(0x9,_0x59f135[_0x1f33ec(0x496)](_0x358006[_0x1f33ec(0x2e6)])),_0x4a19fa(0xa,_0x59f135['ILogService']),_0x4a19fa(0xb,_0x59f135['ICommandService']),_0x4a19fa(0xc,_0x59f135[_0x1f33ec(0x527)]),_0x4a19fa(0xd,_0xd9269e[_0x1f33ec(0x3d5)])],_0x109264);function _0x11bd0a(_0x59a795,_0xa89b66,_0x249bbd,_0x403c65,_0x404f90,_0x2b96e9){const _0xfecfef=_0x1f33ec;return _0x403c65&&_0x404f90[_0xfecfef(0x239)]?_0x59a795[_0xfecfef(0x517)](_0x507729,_0xa89b66,_0x249bbd,_0x403c65,_0x404f90,_0x2b96e9):_0x403c65?_0x59a795['createInstance'](_0x4a02b6,_0xa89b66,_0x249bbd,_0x403c65,_0x2b96e9):_0x404f90[_0xfecfef(0x239)]?_0x59a795['createInstance'](_0x20fc33,_0xa89b66,_0x249bbd,_0x404f90,_0x2b96e9):_0x59a795[_0xfecfef(0x517)](_0x243829,_0xa89b66,_0x249bbd,_0x2b96e9);}var _0x38541d=Object[_0x1f33ec(0x3be)],_0x25ad4e=Object['getOwnPropertyDescriptor'],_0x44e00e=(_0x3d5105,_0x4783e7,_0x822913,_0x459841)=>{const _0xff182e=_0x1f33ec;for(var _0x39098f=_0x459841>0x1?void 0x0:_0x459841?_0x25ad4e(_0x4783e7,_0x822913):_0x4783e7,_0x2dc7e9=_0x3d5105[_0xff182e(0x239)]-0x1,_0x1edd73;_0x2dc7e9>=0x0;_0x2dc7e9--)(_0x1edd73=_0x3d5105[_0x2dc7e9])&&(_0x39098f=(_0x459841?_0x1edd73(_0x4783e7,_0x822913,_0x39098f):_0x1edd73(_0x39098f))||_0x39098f);return _0x459841&&_0x39098f&&_0x38541d(_0x4783e7,_0x822913,_0x39098f),_0x39098f;},_0x1c88fc=(_0xff1664,_0x552fd8)=>(_0x451d5e,_0x488b1d)=>_0x552fd8(_0x451d5e,_0x488b1d,_0xff1664);_0x358006[_0x1f33ec(0x491)]=class extends _0x59f135[_0x1f33ec(0x490)]{constructor(_0x3d8028,_0x18ef83,_0xed6f7a,_0x529d2e,_0x571b15,_0x3cff79,_0xb8fe41,_0x43e6d7,_0x1df319,_0x598d16,_0x1f773a,_0x115adc,_0x53ba95){const _0x1eee48=_0x1f33ec;super(),_0x4fb0a3(this,_0x1eee48(0x378),new _0x2a4cb9['BehaviorSubject'](null)),_0x4fb0a3(this,'state$',this[_0x1eee48(0x378)][_0x1eee48(0x270)]()),_0x4fb0a3(this,_0x1eee48(0x4b9)),_0x4fb0a3(this,'_collaborationPaused',!0x1),_0x4fb0a3(this,'_changesetSessionId',''),_0x4fb0a3(this,_0x1eee48(0x347),0x0),_0x4fb0a3(this,_0x1eee48(0x4f0),this['state$'][_0x1eee48(0x51d)](_0x2a4cb9[_0x1eee48(0x4f2)](_0x3af71f=>_0x3af71f?_0x3af71f[_0x1eee48(0x3fb)]:_0x3e1bc4[_0x1eee48(0x26b)]),_0x2a4cb9[_0x1eee48(0x469)](0x1))),_0x4fb0a3(this,_0x1eee48(0x35f),!0x1),_0x4fb0a3(this,'_remoteChangesetQueue',[]),(this['unitID']=_0x3d8028,this[_0x1eee48(0x516)]=_0x18ef83,this[_0x1eee48(0x4dd)]=_0xed6f7a,this[_0x1eee48(0x368)]=_0x529d2e,this['_localCacheService']=_0x571b15,this[_0x1eee48(0x28f)]=_0x3cff79,this[_0x1eee48(0x234)]=_0xb8fe41,this[_0x1eee48(0x200)]=_0x43e6d7,this[_0x1eee48(0x59c)]=_0x1df319,this[_0x1eee48(0x194)]=_0x598d16,this[_0x1eee48(0x413)]=_0x1f773a,this['_permissionService']=_0x115adc,this['_singleActiveUnitService']=_0x53ba95);}get[_0x1f33ec(0x271)](){return this['_state'];}async[_0x1f33ec(0x1fa)](){const _0x105546=_0x1f33ec;if(this['state'])throw new Error(_0x105546(0x476));await this['_init']();}[_0x1f33ec(0x44f)](){const _0x4a063d=_0x1f33ec;return this[_0x4a063d(0x39c)]=!0x0,_0x59f135[_0x4a063d(0x29a)](()=>{const _0x33d775=_0x4a063d;this[_0x33d775(0x39c)]=!0x1,this[_0x33d775(0x208)]();});}[_0x1f33ec(0x249)](_0x185df5){const _0x424bb4=_0x1f33ec;this[_0x424bb4(0x4b9)]=_0x185df5,this['_state$'][_0x424bb4(0x3e1)](_0x185df5);}async['_init'](){const _0x32ac61=_0x1f33ec;var _0x45caa2;this[_0x32ac61(0x249)](await this[_0x32ac61(0x582)]()),this['_singleActiveUnitService']&&((_0x45caa2=this[_0x32ac61(0x31a)])==null||_0x45caa2[_0x32ac61(0x570)](this[_0x32ac61(0x433)]),this[_0x32ac61(0x3f2)](this[_0x32ac61(0x31a)][_0x32ac61(0x287)](this[_0x32ac61(0x433)])[_0x32ac61(0x4ff)](_0x37de6e=>{const _0x26a09d=_0x32ac61;this[_0x26a09d(0x59c)][_0x26a09d(0x1f4)](_0x26a09d(0x1f7),_0x26a09d(0x43e),_0x37de6e),_0x37de6e===_0x439681[_0x26a09d(0x3ce)]?(this[_0x26a09d(0x413)][_0x26a09d(0x46c)]({'content':this[_0x26a09d(0x234)]['t'](_0x26a09d(0x1c3)),'type':_0x115a16[_0x26a09d(0x2a1)]['Warning']}),this[_0x26a09d(0x3e4)][_0x26a09d(0x25b)](new _0x4dc08b[(_0x26a09d(0x1e4))](this[_0x26a09d(0x433)])['id'],!0x1)):this[_0x26a09d(0x3e4)][_0x26a09d(0x25b)](new _0x4dc08b['WorkbookEditablePermission'](this[_0x26a09d(0x433)])['id'],!0x0);})));let _0x370a1c=!0x1;return this[_0x32ac61(0x3f2)](this[_0x32ac61(0x516)][_0x32ac61(0x331)][_0x32ac61(0x4ff)](_0x46b99f=>{const _0x29ce05=_0x32ac61;_0x46b99f===_0x5df28e[_0x29ce05(0x18c)]?this[_0x29ce05(0x18e)](_0x370a1c):_0x46b99f===_0x5df28e[_0x29ce05(0x26b)]&&(_0x370a1c=!0x0,this[_0x29ce05(0x2c9)]());})),this['disposeWithMe'](this['session'][_0x32ac61(0x20e)]['subscribe'](_0x2c07cf=>{const _0x2f2ea9=_0x32ac61;try{switch(_0x2c07cf[_0x2f2ea9(0x498)]){case _0xd9269e[_0x2f2ea9(0x4f7)][_0x2f2ea9(0x45d)]:{this[_0x2f2ea9(0x32c)](_0xd9269e[_0x2f2ea9(0x34b)](_0x2c07cf[_0x2f2ea9(0x2c5)]));break;}case _0xd9269e['CollaborationEvent']['CHANGESET_ACK']:{this['_onRemoteACK'](_0x2c07cf[_0x2f2ea9(0x2c5)]);break;}case _0xd9269e[_0x2f2ea9(0x4f7)]['CHANGESET_REJ']:{this['_onRemoteRejected']();break;}case _0xd9269e['CollaborationEvent'][_0x2f2ea9(0x50f)]:{this['_onFetchMissResult'](_0x2c07cf[_0x2f2ea9(0x2c5)][_0x2f2ea9(0x5b5)][_0x2f2ea9(0x4f2)](_0x324007=>_0xd9269e[_0x2f2ea9(0x34b)](_0x324007)));break;}case _0xd9269e['CollaborationEvent']['PERMISSION_REJ']:this[_0x2f2ea9(0x4df)]({'isPermissionRej':!0x0});}}catch(_0x2881c5){throw console[_0x2f2ea9(0x4bd)](_0x2f2ea9(0x1ac),_0x2881c5),_0x2881c5;}})),this[_0x32ac61(0x4b9)];}[_0x1f33ec(0x5a6)](){const _0x566601=_0x1f33ec;this[_0x566601(0x35f)]=!0x1;}[_0x1f33ec(0x589)](){const _0x52a03e=_0x1f33ec;if(this[_0x52a03e(0x35f)])throw new Error(_0x52a03e(0x4d9));this['_transitionLocked']=!0x0;}[_0x1f33ec(0x30d)](_0x480658){const _0x331a33=_0x1f33ec;this[_0x331a33(0x589)](),this[_0x331a33(0x249)](this[_0x331a33(0x4b9)][_0x331a33(0x376)](_0x480658)),this[_0x331a33(0x5a6)]();}[_0x1f33ec(0x32c)](_0x4fdb00){const _0x46887f=_0x1f33ec;if(!(_0x4fdb00[_0x46887f(0x4eb)]<=this[_0x46887f(0x200)][_0x46887f(0x2cc)](this[_0x46887f(0x433)]))){if(this['_collaborationPaused']){this[_0x46887f(0x43c)][_0x46887f(0x3e8)](_0x4fdb00);return;}this[_0x46887f(0x53e)](_0x4fdb00);}}[_0x1f33ec(0x208)](){const _0x555c6a=_0x1f33ec;this[_0x555c6a(0x43c)][_0x555c6a(0x314)](_0x3d9dfa=>this[_0x555c6a(0x53e)](_0x3d9dfa)),this[_0x555c6a(0x43c)]=[];}[_0x1f33ec(0x53e)](_0x2a6d2f){const _0x54cba4=_0x1f33ec,_0xb31cee=this[_0x54cba4(0x28f)][_0x54cba4(0x401)][_0x54cba4(0x46f)](this[_0x54cba4(0x28f)][_0x54cba4(0x401)][_0x54cba4(0x5b7)]()[_0x54cba4(0x4e3)])(_0x2a6d2f[_0x54cba4(0x561)],null)||_0x2a6d2f[_0x54cba4(0x561)],_0x1b5d65={..._0x2a6d2f,'mutations':_0xb31cee};this[_0x54cba4(0x589)](),this['_updateState'](this['_state'][_0x54cba4(0x3b6)](_0x1b5d65)),this[_0x54cba4(0x5a6)]();}['_onRemoteACK'](_0x5b5409){const _0x3c8319=_0x1f33ec;this['_lockTransition'](),this[_0x3c8319(0x249)](this[_0x3c8319(0x4b9)]['onRemoteAck'](_0x5b5409)),this[_0x3c8319(0x5a6)]();}['_onRemoteRejected'](_0x8598a2){const _0x7e2e2a=_0x1f33ec;this[_0x7e2e2a(0x589)](),this[_0x7e2e2a(0x249)](this[_0x7e2e2a(0x4b9)][_0x7e2e2a(0x3bf)](_0x8598a2)),this[_0x7e2e2a(0x5a6)]();}[_0x1f33ec(0x528)](_0x278a92){const _0x4c8702=_0x1f33ec;if(!(this[_0x4c8702(0x4b9)]instanceof _0x109264))throw new TypeError(_0x4c8702(0x301));const _0x2322aa=_0x278a92[_0x4c8702(0x4f2)](_0xb1ddaf=>{const _0xc49e96=_0x4c8702,_0x56891f=this[_0xc49e96(0x28f)][_0xc49e96(0x401)]['fetchThroughInterceptors'](this['_compressMutationService']['interceptor']['getInterceptPoints']()['COMPRESS_MUTATION_APPLY'])(_0xb1ddaf[_0xc49e96(0x561)],null)||_0xb1ddaf[_0xc49e96(0x561)];return{..._0xb1ddaf,'mutations':_0x56891f};});this[_0x4c8702(0x589)](),this[_0x4c8702(0x249)](this[_0x4c8702(0x4b9)][_0x4c8702(0x2b4)](_0x2322aa)),this[_0x4c8702(0x5a6)]();}[_0x1f33ec(0x2c9)](){const _0x5ac34b=_0x1f33ec;this[_0x5ac34b(0x589)](),this[_0x5ac34b(0x249)](this['_state'][_0x5ac34b(0x49c)]()),this['_unlockTransition']();}[_0x1f33ec(0x18e)](_0x13df0b=!0x1){const _0x203897=_0x1f33ec;this['_lockTransition'](),this[_0x203897(0x249)](this[_0x203897(0x4b9)][_0x203897(0x47f)]()),this[_0x203897(0x5a6)]();const _0x257fb8=this['_state'];_0x13df0b&&_0x257fb8 instanceof _0x243829&&(this[_0x203897(0x589)](),this[_0x203897(0x249)](_0x257fb8[_0x203897(0x1a5)]()),this['_unlockTransition']());}async[_0x1f33ec(0x582)](){return new Promise(_0xc71ace=>{const _0x264905=_0x2fa9;this[_0x264905(0x516)][_0x264905(0x331)][_0x264905(0x51d)](_0x2a4cb9[_0x264905(0x571)](0x1))['subscribe'](async _0x4e3e0a=>{const _0x138002=_0x264905;_0xc71ace(await this[_0x138002(0x3c1)](_0x4e3e0a===_0x5df28e[_0x138002(0x18c)]));});});}[_0x1f33ec(0x2e3)](){const _0x5cb669=this['unitID'];return{'onStateChange':(_0x4053ff,_0x298fc7)=>{const _0x31436b=_0x2fa9;if(_0x4053ff!==this[_0x31436b(0x4b9)])throw new Error('[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20'+_0x4053ff[_0x31436b(0x3fb)]+'\x0aAfter:\x20'+_0x298fc7[_0x31436b(0x3fb)]+'\x0aCurrent:\x20'+this[_0x31436b(0x4b9)][_0x31436b(0x3fb)]);this['_updateState'](_0x298fc7);},'onSendChangeset':_0x4db0fe=>{const _0x454bf0=_0x2fa9;_0x4db0fe['sid']||(_0x4db0fe[_0x454bf0(0x598)]=this['_changesetSessionId'],_0x4db0fe[_0x454bf0(0x504)]=++this[_0x454bf0(0x347)]);const _0x51f8ce={'eventID':_0xd9269e[_0x454bf0(0x4f7)]['SUBMIT_CHANGESET'],'data':{'unitID':_0x4db0fe['unitID'],'unitType':this[_0x454bf0(0x4dd)],'changeset':_0x4db0fe,'memberID':this['session'][_0x454bf0(0x459)]()}};this[_0x454bf0(0x516)]['send'](_0x51f8ce,this[_0x454bf0(0x433)]);},'onMissingChangesets':({from:_0x506864,to:_0x28f1c0})=>{const _0x5807af=_0x2fa9;this[_0x5807af(0x59c)][_0x5807af(0x1f4)](_0x5807af(0x1f7),'fetching\x20missing\x20changesets\x20from\x20'+_0x506864+_0x5807af(0x4e1)+_0x28f1c0);const _0x3cb217={'eventID':_0xd9269e['CollaborationEvent'][_0x5807af(0x3a6)],'data':{'unitID':_0x5cb669,'unitType':this['_type'],'from':_0x506864,'to':_0x28f1c0}};this[_0x5807af(0x516)][_0x5807af(0x1cd)](_0x3cb217,this[_0x5807af(0x433)]);}};}async[_0x1f33ec(0x3c1)](_0x56fa7a){const _0x499075=_0x1f33ec;var _0x3a0f86,_0x510600;const _0x4d995b=await this['_localCacheService'][_0x499075(0x4b4)](this[_0x499075(0x433)]),_0x2a7fef=(_0x3a0f86=_0x4d995b==null?void 0x0:_0x4d995b[_0x499075(0x561)])!=null?_0x3a0f86:[],_0x416f56=(_0x510600=_0x4d995b==null?void 0x0:_0x4d995b[_0x499075(0x355)])!=null?_0x510600:null,_0x3a191f=!!(_0x416f56!=null&&_0x416f56[_0x499075(0x598)])&&!!(_0x416f56!=null&&_0x416f56[_0x499075(0x504)]);this[_0x499075(0x51a)]=_0x3a191f?_0x416f56[_0x499075(0x598)]:_0xdbc6e8(),this['_changesetReqId']=_0x3a191f?_0x416f56[_0x499075(0x504)]:0x0;const _0xccef80=this[_0x499075(0x433)];try{this['_replayCachedMutations'](_0x416f56,_0x2a7fef);}catch(_0x4b0ee8){this[_0x499075(0x59c)]['error'](_0x4b0ee8);}const _0x3a6b65=this[_0x499075(0x2e3)]();if(_0x56fa7a){const _0x23a36d=_0x11bd0a(this[_0x499075(0x368)],_0xccef80,this[_0x499075(0x4dd)],_0x416f56,_0x2a7fef,_0x3a6b65);return _0x23a36d instanceof _0x20fc33?_0x23a36d[_0x499075(0x569)]():(_0x23a36d instanceof _0x507729||_0x23a36d instanceof _0x4a02b6)&&_0x23a36d[_0x499075(0x4be)](),_0x23a36d;}return this['_injector'][_0x499075(0x517)](_0x6afe72,_0xccef80,this[_0x499075(0x4dd)],_0x416f56,_0x2a7fef,_0x3a6b65);}[_0x1f33ec(0x3dd)](_0x1a0899,_0x3d06aa){const _0x3f9257=_0x1f33ec;var _0x579ba9,_0x20bf95;const _0x30f663=this[_0x3f9257(0x28f)][_0x3f9257(0x401)][_0x3f9257(0x46f)](this[_0x3f9257(0x28f)][_0x3f9257(0x401)]['getInterceptPoints']()[_0x3f9257(0x4e3)]);(_0x579ba9=_0x30f663((_0x1a0899==null?void 0x0:_0x1a0899[_0x3f9257(0x561)])||[],null))==null||_0x579ba9[_0x3f9257(0x314)](_0x17735a=>this[_0x3f9257(0x194)]['executeCommand'](_0x17735a['id'],_0x17735a['params'])),(_0x20bf95=_0x30f663(_0x3d06aa||[],null))==null||_0x20bf95[_0x3f9257(0x314)](_0x4a638a=>this['_commandService'][_0x3f9257(0x2c7)](_0x4a638a['id'],_0x4a638a['params']));}},_0x358006['CollaborationEntity']=_0x44e00e([_0x1c88fc(0x3,_0x59f135[_0x1f33ec(0x496)](_0x59f135[_0x1f33ec(0x3a8)])),_0x1c88fc(0x4,_0x59f135[_0x1f33ec(0x496)](_0x358006[_0x1f33ec(0x2e6)])),_0x1c88fc(0x5,_0x59f135[_0x1f33ec(0x496)](_0xd9269e['CompressMutationService'])),_0x1c88fc(0x6,_0x59f135[_0x1f33ec(0x496)](_0x59f135['LocaleService'])),_0x1c88fc(0x7,_0x59f135[_0x1f33ec(0x496)](_0xd9269e['RevisionService'])),_0x1c88fc(0x8,_0x59f135[_0x1f33ec(0x43b)]),_0x1c88fc(0x9,_0x59f135['ICommandService']),_0x1c88fc(0xa,_0x575a2d[_0x1f33ec(0x432)]),_0x1c88fc(0xb,_0x59f135[_0x1f33ec(0x25e)]),_0x1c88fc(0xc,_0x59f135[_0x1f33ec(0x250)](_0x23b106))],_0x358006[_0x1f33ec(0x491)]),_0x358006[_0x1f33ec(0x35d)]=class extends _0x358006[_0x1f33ec(0x491)]{constructor(_0x4d60eb,_0x3f3eb9,_0x1877a4,_0x5d83b5,_0x3c9702,_0x316233,_0x5469f3,_0x504dbf,_0x1f043f,_0x498658,_0x260282,_0x1f391,_0x557756,_0xfa0d40,_0x10c0f3,_0x8cc92b,_0x5ddde9){const _0x436105=_0x1f33ec;super(_0x4d60eb,_0x1877a4,_0x3f3eb9,_0x5d83b5,_0x3c9702,_0x316233,_0x5469f3,_0x504dbf,_0x557756,_0xfa0d40,_0x10c0f3,_0x8cc92b,_0x5ddde9),this[_0x436105(0x433)]=_0x4d60eb,this[_0x436105(0x232)]=_0x3f3eb9,this[_0x436105(0x297)]=_0x1f043f,this['_docTransformIMECacheService']=_0x498658,this[_0x436105(0x36e)]=_0x260282,this[_0x436105(0x2cb)]=_0x1f391;}[_0x1f33ec(0x2e3)](){const _0x891a67=_0x1f33ec,_0x4a80e0=super[_0x891a67(0x2e3)]();return _0x4a80e0['onTransformIME']=_0x352052=>this[_0x891a67(0x23f)][_0x891a67(0x22f)](_0x352052),_0x4a80e0[_0x891a67(0x1ce)]=_0x188177=>this[_0x891a67(0x36e)][_0x891a67(0x2e1)](_0x188177),_0x4a80e0[_0x891a67(0x50c)]=_0x2db36a=>this['_docSyncEditingCollabCursorService'][_0x891a67(0x39b)](_0x2db36a),_0x4a80e0[_0x891a67(0x1a4)]=_0x19b8e9=>this[_0x891a67(0x23f)][_0x891a67(0x552)](_0x19b8e9),_0x4a80e0;}async[_0x1f33ec(0x430)](){const _0x4f2259=_0x1f33ec,_0x101331=await super[_0x4f2259(0x430)]();return this['_docStateChangeManagerService']['docStateChange$'][_0x4f2259(0x51d)](_0x2a4cb9[_0x4f2259(0x25a)](this['dispose$']))[_0x4f2259(0x4ff)](_0x4cafa1=>{const _0x5b3966=_0x4f2259;if(_0x4cafa1==null)return;const {unitId:_0x2af105,redoState:_0x524aa4,commandId:_0x22e7ea}=_0x4cafa1;if(_0x2af105!==this[_0x5b3966(0x433)])return;const _0x23a5ef={'id':_0x22e7ea,'type':_0x59f135[_0x5b3966(0x441)][_0x5b3966(0x295)],'params':{'unitId':_0x2af105,'actions':_0x524aa4[_0x5b3966(0x506)],'textRanges':null}};this[_0x5b3966(0x30d)](_0x23a5ef);}),_0x101331;}},_0x358006[_0x1f33ec(0x35d)]=_0x44e00e([_0x1c88fc(0x3,_0x59f135[_0x1f33ec(0x496)](_0x59f135['Injector'])),_0x1c88fc(0x4,_0x59f135[_0x1f33ec(0x496)](_0x358006[_0x1f33ec(0x2e6)])),_0x1c88fc(0x5,_0x59f135['Inject'](_0xd9269e[_0x1f33ec(0x477)])),_0x1c88fc(0x6,_0x59f135[_0x1f33ec(0x496)](_0x59f135[_0x1f33ec(0x351)])),_0x1c88fc(0x7,_0x59f135['Inject'](_0xd9269e['RevisionService'])),_0x1c88fc(0x8,_0x59f135[_0x1f33ec(0x496)](_0x9a0457[_0x1f33ec(0x3fc)])),_0x1c88fc(0x9,_0x59f135[_0x1f33ec(0x496)](_0x271775)),_0x1c88fc(0xa,_0x59f135[_0x1f33ec(0x496)](_0x417d4f)),_0x1c88fc(0xb,_0x59f135[_0x1f33ec(0x496)](_0x6d8baf)),_0x1c88fc(0xc,_0x59f135['ILogService']),_0x1c88fc(0xd,_0x59f135[_0x1f33ec(0x350)]),_0x1c88fc(0xe,_0x575a2d[_0x1f33ec(0x432)]),_0x1c88fc(0xf,_0x59f135[_0x1f33ec(0x25e)]),_0x1c88fc(0x10,_0x59f135['Optional'](_0x23b106))],_0x358006[_0x1f33ec(0x35d)]),_0x358006[_0x1f33ec(0x49d)]=class extends _0x358006[_0x1f33ec(0x491)]{constructor(_0x4f3f42,_0x3f9ef8,_0x590367,_0xa8eabc,_0x357e92,_0xb004f8,_0x2d32a6,_0x5e4b8e,_0x193863,_0x3ca08e,_0xd9f479,_0x4dcfba,_0x1cee46,_0x449cce){const _0x143467=_0x1f33ec;super(_0x4f3f42,_0x590367,_0x3f9ef8,_0xa8eabc,_0x357e92,_0xb004f8,_0x2d32a6,_0x5e4b8e,_0x3ca08e,_0xd9f479,_0x4dcfba,_0x1cee46,_0x449cce),this[_0x143467(0x433)]=_0x4f3f42,this[_0x143467(0x232)]=_0x3f9ef8,this[_0x143467(0x266)]=_0x193863;}[_0x1f33ec(0x2e3)](){const _0x51c655=_0x1f33ec,_0x4579fb=super[_0x51c655(0x2e3)]();return _0x4579fb['onTransformSelections']=_0x4cf762=>this[_0x51c655(0x266)][_0x51c655(0x2e1)](_0x4cf762),_0x4579fb;}async['_init'](){const _0x9495af=_0x1f33ec,_0x21db78=await super[_0x9495af(0x430)]();return this['disposeWithMe'](this[_0x9495af(0x194)][_0x9495af(0x1cc)]((_0x4da257,_0x382054)=>{const _0x97560=_0x9495af;if(_0x4da257[_0x97560(0x232)]!==_0x59f135[_0x97560(0x441)][_0x97560(0x295)]||_0x382054!=null&&_0x382054['fromCollab']||_0x382054!=null&&_0x382054[_0x97560(0x2ee)])return;const _0x5129ee=_0x4da257['params'];if((_0x5129ee==null?void 0x0:_0x5129ee[_0x97560(0x33e)])!==this[_0x97560(0x433)])return;const _0x27f2b2=_0x4da257,_0x16c83f=this['_compressMutationService'][_0x97560(0x401)][_0x97560(0x46f)](this[_0x97560(0x28f)][_0x97560(0x401)][_0x97560(0x5b7)]()['COMPRESS_MUTATION_SEND'])([_0x27f2b2],null)||[_0x27f2b2];this['_onLocalMutation'](_0x16c83f[0x0]);})),_0x21db78;}},_0x358006['SheetCollaborationEntity']=_0x44e00e([_0x1c88fc(0x3,_0x59f135[_0x1f33ec(0x496)](_0x59f135[_0x1f33ec(0x3a8)])),_0x1c88fc(0x4,_0x59f135[_0x1f33ec(0x496)](_0x358006[_0x1f33ec(0x2e6)])),_0x1c88fc(0x5,_0x59f135[_0x1f33ec(0x496)](_0xd9269e[_0x1f33ec(0x477)])),_0x1c88fc(0x6,_0x59f135[_0x1f33ec(0x496)](_0x59f135[_0x1f33ec(0x351)])),_0x1c88fc(0x7,_0x59f135['Inject'](_0xd9269e[_0x1f33ec(0x39a)])),_0x1c88fc(0x8,_0x59f135['Inject'](_0x105470)),_0x1c88fc(0x9,_0x59f135['ILogService']),_0x1c88fc(0xa,_0x59f135[_0x1f33ec(0x350)]),_0x1c88fc(0xb,_0x575a2d[_0x1f33ec(0x432)]),_0x1c88fc(0xc,_0x59f135[_0x1f33ec(0x25e)]),_0x1c88fc(0xd,_0x59f135[_0x1f33ec(0x250)](_0x23b106))],_0x358006[_0x1f33ec(0x49d)]);var _0x1fc4c7=Object['defineProperty'],_0x3f5700=Object['getOwnPropertyDescriptor'],_0x1161af=(_0x40af9c,_0x3305cf,_0x32fa4c,_0x6a9f3)=>{for(var _0x46d355=_0x6a9f3>0x1?void 0x0:_0x6a9f3?_0x3f5700(_0x3305cf,_0x32fa4c):_0x3305cf,_0x2a0810=_0x40af9c['length']-0x1,_0x2ce0c4;_0x2a0810>=0x0;_0x2a0810--)(_0x2ce0c4=_0x40af9c[_0x2a0810])&&(_0x46d355=(_0x6a9f3?_0x2ce0c4(_0x3305cf,_0x32fa4c,_0x46d355):_0x2ce0c4(_0x46d355))||_0x46d355);return _0x6a9f3&&_0x46d355&&_0x1fc4c7(_0x3305cf,_0x32fa4c,_0x46d355),_0x46d355;},_0x187535=(_0x5815fe,_0x18f20b)=>(_0x4af1b3,_0x36798b)=>_0x18f20b(_0x4af1b3,_0x36798b,_0x5815fe);_0x358006[_0x1f33ec(0x4cc)]=class extends _0x59f135['RxDisposable']{constructor(_0x3ca7f9,_0x522205,_0x48ff93){const _0x407aca=_0x1f33ec;super(),_0x4fb0a3(this,_0x407aca(0x31e),new Map()),_0x4fb0a3(this,_0x407aca(0x56f),new _0x2a4cb9[(_0x407aca(0x442))]()),(this[_0x407aca(0x368)]=_0x3ca7f9,this[_0x407aca(0x4e0)]=_0x522205,this[_0x407aca(0x540)]=_0x48ff93,this[_0x407aca(0x430)]());}['dispose'](){const _0x5f0d6a=_0x1f33ec;super[_0x5f0d6a(0x317)](),this[_0x5f0d6a(0x31e)][_0x5f0d6a(0x314)](_0x2963e1=>_0x2963e1[_0x5f0d6a(0x317)]()),this[_0x5f0d6a(0x31e)][_0x5f0d6a(0x337)]();}[_0x1f33ec(0x1d3)](_0x262fa3){const _0x1b2709=_0x1f33ec;var _0x3948f1;return(_0x3948f1=this['_entities'][_0x1b2709(0x381)](_0x262fa3))!=null?_0x3948f1:null;}[_0x1f33ec(0x3d4)](_0x340af7){const _0x2b2ed1=_0x1f33ec,_0x4f7b81=this[_0x2b2ed1(0x1d3)](_0x340af7);return _0x4f7b81?_0x2a4cb9['of'](_0x4f7b81):this[_0x2b2ed1(0x56f)]['pipe'](_0x590f9e[_0x2b2ed1(0x421)](_0x3fe246=>_0x3fe246['unitID']===_0x340af7));}[_0x1f33ec(0x430)](){const _0x3de6fc=_0x1f33ec;this['_univerInstanceService'][_0x3de6fc(0x288)](_0x59f135[_0x3de6fc(0x558)]['UNIVER_SHEET'])[_0x3de6fc(0x51d)](_0x2a4cb9[_0x3de6fc(0x25a)](this[_0x3de6fc(0x494)]),_0x590f9e['delay'](0x10))[_0x3de6fc(0x4ff)](async _0x477712=>{const _0x2391d1=_0x3de6fc,_0xbf34ae=_0x477712[_0x2391d1(0x4cb)](),_0x5ebd66=await this['_startCollaboration'](_0xbf34ae,_0x3620e1['UNIVER_SHEET']);this[_0x2391d1(0x31e)][_0x2391d1(0x5b8)](_0xbf34ae,_0x5ebd66);}),this[_0x3de6fc(0x540)][_0x3de6fc(0x288)](_0x59f135[_0x3de6fc(0x558)][_0x3de6fc(0x53a)])[_0x3de6fc(0x51d)](_0x2a4cb9[_0x3de6fc(0x25a)](this[_0x3de6fc(0x494)]),_0x590f9e[_0x3de6fc(0x1f9)](0x10))['pipe'](_0x590f9e['filter'](_0x1a380e=>!_0x1a380e[_0x3de6fc(0x4cb)]()['startsWith']('__')))['subscribe'](async _0x5b358f=>{const _0x3097d1=_0x3de6fc,_0x5e1fc7=_0x5b358f['getUnitId'](),_0x212b47=await this[_0x3097d1(0x2b8)](_0x5e1fc7,_0x3620e1[_0x3097d1(0x53a)]);this[_0x3097d1(0x31e)][_0x3097d1(0x5b8)](_0x5e1fc7,_0x212b47);}),_0x2a4cb9[_0x3de6fc(0x18f)](this[_0x3de6fc(0x540)][_0x3de6fc(0x325)](_0x59f135[_0x3de6fc(0x558)][_0x3de6fc(0x333)]),this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x59f135[_0x3de6fc(0x558)]['UNIVER_DOC']))['pipe'](_0x2a4cb9[_0x3de6fc(0x25a)](this[_0x3de6fc(0x494)]))[_0x3de6fc(0x4ff)](_0x208e47=>{const _0x3cb171=_0x3de6fc,_0x193859=_0x208e47[_0x3cb171(0x4cb)](),_0x2c3d81=this['_entities']['get'](_0x193859);_0x2c3d81&&(_0x2c3d81[_0x3cb171(0x317)](),this['_entities']['delete'](_0x193859));});}async[_0x1f33ec(0x2b8)](_0x2a43ea,_0x1e22fe){const _0x104c25=_0x1f33ec,_0x357498=await this[_0x104c25(0x4e0)]['requireSession'](_0x2a43ea),_0xf95bc3=this[_0x104c25(0x368)][_0x104c25(0x517)](this[_0x104c25(0x1fd)](_0x1e22fe),_0x2a43ea,_0x1e22fe,_0x357498);return await _0xf95bc3[_0x104c25(0x1fa)](),this['_entityInit$'][_0x104c25(0x3e1)](_0xf95bc3),_0xf95bc3;}['_getCtorByUniverType'](_0xb3f0f2){const _0x341453=_0x1f33ec;switch(_0xb3f0f2){case _0x3620e1['UNIVER_DOC']:return _0x358006[_0x341453(0x35d)];case _0x3620e1[_0x341453(0x333)]:return _0x358006[_0x341453(0x49d)];default:throw new Error(_0x341453(0x577)+_0xb3f0f2);}}},_0x358006[_0x1f33ec(0x4cc)]=_0x1161af([_0x187535(0x0,_0x59f135['Inject'](_0x59f135[_0x1f33ec(0x3a8)])),_0x187535(0x1,_0x59f135[_0x1f33ec(0x496)](_0x358006[_0x1f33ec(0x48d)])),_0x187535(0x2,_0x59f135[_0x1f33ec(0x1c2)])],_0x358006[_0x1f33ec(0x4cc)]);const _0x3f4346=[_0x1f33ec(0x4d1),_0x1f33ec(0x5a0),'verdancy600',_0x1f33ec(0x345),_0x1f33ec(0x56b),_0x1f33ec(0x1e7)];class _0x23007e extends _0x59f135[_0x1f33ec(0x1f5)]{constructor(){const _0x4829c7=_0x1f33ec;super(...arguments),_0x4fb0a3(this,_0x4829c7(0x448),new Map()),_0x4fb0a3(this,'_colorIndex',0x0);}[_0x1f33ec(0x4c7)](_0x3f6557){const _0x42dcda=_0x1f33ec;if(this[_0x42dcda(0x448)][_0x42dcda(0x252)](_0x3f6557))return this[_0x42dcda(0x448)]['get'](_0x3f6557);const _0x2fb03b=_0x3f4346[this[_0x42dcda(0x50e)]];return this['_colorIndex']=(this[_0x42dcda(0x50e)]+0x1)%_0x3f4346[_0x42dcda(0x239)],this['_assignedColors'][_0x42dcda(0x5b8)](_0x3f6557,_0x2fb03b),_0x2fb03b;}}var _0x53fc4a=Object['defineProperty'],_0x41db45=Object[_0x1f33ec(0x36c)],_0x3e129d=(_0x203cb5,_0x56daf8,_0x5bf284,_0x1a855f)=>{const _0x451aac=_0x1f33ec;for(var _0x18a677=_0x1a855f>0x1?void 0x0:_0x1a855f?_0x41db45(_0x56daf8,_0x5bf284):_0x56daf8,_0x3ae309=_0x203cb5[_0x451aac(0x239)]-0x1,_0x237851;_0x3ae309>=0x0;_0x3ae309--)(_0x237851=_0x203cb5[_0x3ae309])&&(_0x18a677=(_0x1a855f?_0x237851(_0x56daf8,_0x5bf284,_0x18a677):_0x237851(_0x18a677))||_0x18a677);return _0x1a855f&&_0x18a677&&_0x53fc4a(_0x56daf8,_0x5bf284,_0x18a677),_0x18a677;},_0x3c745d=(_0x4fdffe,_0x488690)=>(_0x47a3da,_0x1c5981)=>_0x488690(_0x47a3da,_0x1c5981,_0x4fdffe);const _0x1cfb49=0x12c,_0x1dfb63=0x64;let _0x146f70=class extends _0x59f135[_0x1f33ec(0x490)]{constructor(_0x3cfcc9,_0x29b296,_0x38556d,_0x2107bf,_0x1bf60a,_0x375b48,_0x118f6b,_0x43b074,_0x271036){const _0x929a26=_0x1f33ec;super(),_0x4fb0a3(this,_0x929a26(0x568),!0x1),_0x4fb0a3(this,_0x929a26(0x430),!0x1),_0x4fb0a3(this,_0x929a26(0x2a0),new _0x2a4cb9['BehaviorSubject'](new Map())),_0x4fb0a3(this,'cursorInfo$',this['_cursorInfo$'][_0x929a26(0x270)]()),_0x4fb0a3(this,_0x929a26(0x23e),new _0x2a4cb9[(_0x929a26(0x2d7))]([])),_0x4fb0a3(this,_0x929a26(0x44a),this[_0x929a26(0x23e)][_0x929a26(0x51d)](_0x2a4cb9[_0x929a26(0x4a3)](_0x1cfb49))),_0x4fb0a3(this,_0x929a26(0x363),_0x59f135[_0x929a26(0x1c7)](_0xc3e36d=>{const _0x3b169b=_0x929a26,_0x10b151={'eventID':_0xd9269e[_0x3b169b(0x4f7)][_0x3b169b(0x470)],'data':{'unitID':this[_0x3b169b(0x433)],'memberID':this[_0x3b169b(0x31d)][_0x3b169b(0x459)](),'selection':_0x4a5a4c(_0xc3e36d)}};this[_0x3b169b(0x31d)][_0x3b169b(0x1cd)](_0x10b151,this['unitID']);},_0x1dfb63)),(this[_0x929a26(0x433)]=_0x3cfcc9,this['_session']=_0x29b296,this[_0x929a26(0x368)]=_0x38556d,this['_colorAssignService']=_0x2107bf,this['_memberService']=_0x1bf60a,this[_0x929a26(0x371)]=_0x375b48,this['_transformService']=_0x118f6b,this['_univerInstanceService']=_0x43b074,this[_0x929a26(0x194)]=_0x271036);}get[_0x1f33ec(0x3e6)](){const _0x59e849=_0x1f33ec;return this['_cursorInfo$'][_0x59e849(0x58c)]();}get[_0x1f33ec(0x1bf)](){const _0x108f2f=_0x1f33ec;return this['_roomMembers$'][_0x108f2f(0x58c)]();}[_0x1f33ec(0x317)](){const _0x199c29=_0x1f33ec;super[_0x199c29(0x317)](),this[_0x199c29(0x2a0)]['next'](new Map()),this[_0x199c29(0x2a0)][_0x199c29(0x455)](),this['_roomMembers$']['next']([]),this[_0x199c29(0x23e)]['complete']();}[_0x1f33ec(0x1fa)](){const _0x34213b=_0x1f33ec;this[_0x34213b(0x430)]||(this[_0x34213b(0x430)]=!0x0,this[_0x34213b(0x31d)]['sessionStatus$'][_0x34213b(0x51d)](_0x2a4cb9[_0x34213b(0x25a)](this[_0x34213b(0x494)]))['subscribe'](_0x1bd1f5=>{const _0xbd42f7=_0x34213b;_0x1bd1f5===_0x5df28e[_0xbd42f7(0x18c)]?this[_0xbd42f7(0x18e)]():this[_0xbd42f7(0x2c9)]();}),this[_0x34213b(0x31d)][_0x34213b(0x20e)][_0x34213b(0x51d)](_0x2a4cb9[_0x34213b(0x25a)](this[_0x34213b(0x494)]))[_0x34213b(0x4ff)](_0x2f2e0b=>{const _0x10419d=_0x34213b,_0x1d6cc1=_0x2f2e0b[_0x10419d(0x498)];_0x1d6cc1===_0xd9269e['CollaborationEvent']['UPDATE_CURSOR']&&this[_0x10419d(0x406)](_0x2f2e0b),_0x1d6cc1===_0xd9269e[_0x10419d(0x4f7)][_0x10419d(0x3b8)]&&this[_0x10419d(0x4e6)](_0x2f2e0b);}),this[_0x34213b(0x3f2)](this[_0x34213b(0x194)][_0x34213b(0x1cc)](_0x42d2de=>{const _0x2fb1bd=_0x34213b,_0x32bef6=_0x42d2de[_0x2fb1bd(0x344)];_0x32bef6!=null&&this[_0x2fb1bd(0x568)]&&_0x42d2de['id']===_0x2fa0c8[_0x2fb1bd(0x588)]['id']&&_0x32bef6[_0x2fb1bd(0x33e)]===this[_0x2fb1bd(0x433)]&&_0x32bef6[_0x2fb1bd(0x487)]===!0x1&&this[_0x2fb1bd(0x363)](_0x32bef6[_0x2fb1bd(0x326)]);})),this['_syncEditingCollabCursorService'][_0x34213b(0x56c)][_0x34213b(0x51d)](_0x2a4cb9['takeUntil'](this[_0x34213b(0x494)]))[_0x34213b(0x4ff)](_0x17ff12=>{const _0x7ce949=_0x34213b;if((_0x17ff12==null?void 0x0:_0x17ff12[_0x7ce949(0x433)])!==this['unitID'])return;const _0x29730b={'eventID':_0xd9269e[_0x7ce949(0x4f7)]['UPDATE_CURSOR'],'data':_0x17ff12};this['_onCursorUpdate'](_0x29730b);}),this[_0x34213b(0x3f2)](this[_0x34213b(0x194)][_0x34213b(0x1cc)](_0x466221=>{const _0x2df07b=_0x34213b;if(_0x466221['params']==null)return;const _0x28680c=_0x466221[_0x2df07b(0x344)];if(_0x466221['id']!==_0x2fa0c8[_0x2df07b(0x32b)]['id']||_0x28680c['unitId']!==this[_0x2df07b(0x433)])return;const _0xc175db={'id':_0x2df07b(0x46e),'params':_0x28680c},_0x295870=this['cursorInfo'];for(const [_0x4abcbb,_0xd4fb17]of _0x295870){const _0x51fb4a={'id':'doc.mutation.rich-text-editing','params':{'unitId':this['unitID'],'actions':null,'textRanges':_0xd4fb17['ranges']}},_0x4ca0da=this[_0x2df07b(0x2c0)][_0x2df07b(0x3f8)](_0xc175db,_0x51fb4a,!0x1);if(_0xd9269e[_0x2df07b(0x19f)](_0x4ca0da))throw _0x4ca0da[_0x2df07b(0x4bd)];_0x295870[_0x2df07b(0x5b8)](_0x4abcbb,{..._0xd4fb17,'ranges':_0x4ca0da['m2Prime']['params'][_0x2df07b(0x37c)]});}queueMicrotask(()=>{const _0x5a002e=_0x2df07b;this[_0x5a002e(0x2a0)]['next'](_0x295870);});})));}[_0x1f33ec(0x406)](_0x28f05d){const _0x28dc18=_0x1f33ec;var _0x26ec28,_0x2fdd58;const {memberID:_0x18d3e2,selection:_0x534c8c}=_0x28f05d['data'],_0x30836a=_0x257793(_0x534c8c),_0x4c4afe=(_0x2fdd58=(_0x26ec28=this['_memberService'][_0x28dc18(0x227)](this[_0x28dc18(0x433)],_0x18d3e2))==null?void 0x0:_0x26ec28[_0x28dc18(0x48b)])!=null?_0x2fdd58:_0x28dc18(0x339),_0x207dd1={'color':this[_0x28dc18(0x48f)][_0x28dc18(0x4c7)](_0x18d3e2),'name':_0x4c4afe,'ranges':_0x30836a},_0x157e1a=this[_0x28dc18(0x3e6)];_0x157e1a[_0x28dc18(0x5b8)](_0x18d3e2,_0x207dd1),this[_0x28dc18(0x2a0)][_0x28dc18(0x3e1)](_0x157e1a);}[_0x1f33ec(0x4e6)](_0x26bb69){const _0x3fc46b=_0x1f33ec,{memberID:_0x26c0f1}=_0x26bb69[_0x3fc46b(0x2c5)],_0x19c8b6=this[_0x3fc46b(0x3e6)];_0x19c8b6[_0x3fc46b(0x215)](_0x26c0f1),this[_0x3fc46b(0x2a0)][_0x3fc46b(0x3e1)](_0x19c8b6);}[_0x1f33ec(0x18e)](){const _0x4ee546=_0x1f33ec;var _0x38dd03;if(this[_0x4ee546(0x568)]=!0x0,((_0x38dd03=this[_0x4ee546(0x540)]['getFocusedUnit']())==null?void 0x0:_0x38dd03['getUnitId']())!==this[_0x4ee546(0x433)])return;const _0x2ae618=this[_0x4ee546(0x368)][_0x4ee546(0x381)](_0x2fa0c8[_0x4ee546(0x42d)])[_0x4ee546(0x547)]();Array[_0x4ee546(0x1ad)](_0x2ae618)&&_0x2ae618[_0x4ee546(0x239)]>0x0&&this[_0x4ee546(0x363)](_0x2ae618);}['_toggleOffline'](){const _0x5b0ddf=_0x1f33ec;this[_0x5b0ddf(0x568)]=!0x1;}};_0x146f70=_0x3e129d([_0x3c745d(0x2,_0x59f135[_0x1f33ec(0x496)](_0x59f135['Injector'])),_0x3c745d(0x3,_0x59f135['Inject'](_0x23007e)),_0x3c745d(0x4,_0x59f135['Inject'](_0x3b92f1)),_0x3c745d(0x5,_0x59f135[_0x1f33ec(0x496)](_0x6d8baf)),_0x3c745d(0x6,_0xd9269e[_0x1f33ec(0x3d5)]),_0x3c745d(0x7,_0x59f135[_0x1f33ec(0x1c2)]),_0x3c745d(0x8,_0x59f135[_0x1f33ec(0x350)])],_0x146f70);var _0x3f9f34=Object[_0x1f33ec(0x3be)],_0x44a3d0=Object[_0x1f33ec(0x36c)],_0x43e73e=(_0x1a8d94,_0x1d9393,_0x266760,_0x35be97)=>{for(var _0x2f7cc9=_0x35be97>0x1?void 0x0:_0x35be97?_0x44a3d0(_0x1d9393,_0x266760):_0x1d9393,_0x37b908=_0x1a8d94['length']-0x1,_0x51bbac;_0x37b908>=0x0;_0x37b908--)(_0x51bbac=_0x1a8d94[_0x37b908])&&(_0x2f7cc9=(_0x35be97?_0x51bbac(_0x1d9393,_0x266760,_0x2f7cc9):_0x51bbac(_0x2f7cc9))||_0x2f7cc9);return _0x35be97&&_0x2f7cc9&&_0x3f9f34(_0x1d9393,_0x266760,_0x2f7cc9),_0x2f7cc9;},_0x22fc80=(_0x3f6521,_0x4f5f6d)=>(_0xdc8a8,_0x27a649)=>_0x4f5f6d(_0xdc8a8,_0x27a649,_0x3f6521);const _0x4930b9=0x12c,_0x2514fa=0x64,_0x405fde=()=>{let _0xe19c1e=[],_0x5aeb8a=!0x1;return _0x53b52b=>{const _0x44b72f=_0x2fa9;_0xe19c1e[_0x44b72f(0x3e8)](_0x53b52b),_0x5aeb8a||(_0x5aeb8a=!0x0,setTimeout(()=>{const _0x5ddcb0=_0x44b72f;_0xe19c1e[_0x5ddcb0(0x314)](_0x2fcd92=>_0x2fcd92()),_0xe19c1e=[],_0x5aeb8a=!0x1;}));};};let _0x3bd54e=class extends _0x59f135[_0x1f33ec(0x490)]{constructor(_0x25d175,_0x1e27ed,_0x48bc91,_0x36d4dd,_0x40cde2,_0x30ddb0,_0x3a84d3,_0xe7499b){const _0x3a7125=_0x1f33ec;super(),_0x4fb0a3(this,'_online',!0x1),_0x4fb0a3(this,_0x3a7125(0x430),!0x1),_0x4fb0a3(this,'_cursorInfo$',new _0x2a4cb9[(_0x3a7125(0x2d7))](new Map())),_0x4fb0a3(this,_0x3a7125(0x5b3),this[_0x3a7125(0x2a0)][_0x3a7125(0x270)]()),_0x4fb0a3(this,_0x3a7125(0x23e),new _0x2a4cb9['BehaviorSubject']([])),_0x4fb0a3(this,_0x3a7125(0x44a),this['_roomMembers$'][_0x3a7125(0x51d)](_0x2a4cb9[_0x3a7125(0x4a3)](_0x4930b9))),_0x4fb0a3(this,_0x3a7125(0x363),_0x59f135[_0x3a7125(0x1c7)]((_0x3d4564,_0x52eaee)=>{const _0x4fb26b=_0x3a7125,_0x471638={'eventID':_0xd9269e[_0x4fb26b(0x4f7)][_0x4fb26b(0x470)],'data':{'unitID':this['unitID'],'memberID':this[_0x4fb26b(0x31d)][_0x4fb26b(0x459)](),'selection':_0x2c9bef[_0x4fb26b(0x259)](_0x3d4564,_0x52eaee['range'])}};this[_0x4fb26b(0x31d)]['send'](_0x471638,this[_0x4fb26b(0x433)]);},_0x2514fa)),(this[_0x3a7125(0x433)]=_0x25d175,this[_0x3a7125(0x31d)]=_0x1e27ed,this[_0x3a7125(0x368)]=_0x48bc91,this['_colorAssignService']=_0x36d4dd,this['_memberService']=_0x40cde2,this['_univerInstanceService']=_0x30ddb0,this[_0x3a7125(0x194)]=_0x3a84d3,this[_0x3a7125(0x2f1)]=_0xe7499b);}get[_0x1f33ec(0x3e6)](){return this['_cursorInfo$']['getValue']();}get[_0x1f33ec(0x1bf)](){const _0x589a2a=_0x1f33ec;return this[_0x589a2a(0x23e)]['getValue']();}[_0x1f33ec(0x317)](){const _0xa983ad=_0x1f33ec;super[_0xa983ad(0x317)](),this[_0xa983ad(0x2a0)][_0xa983ad(0x3e1)](new Map()),this[_0xa983ad(0x2a0)][_0xa983ad(0x455)](),this['_roomMembers$'][_0xa983ad(0x3e1)]([]),this[_0xa983ad(0x23e)][_0xa983ad(0x455)]();}['init'](){const _0xc9e5a0=_0x1f33ec;this['_init']||(this['_init']=!0x0,this['_session'][_0xc9e5a0(0x331)]['pipe'](_0x2a4cb9[_0xc9e5a0(0x25a)](this[_0xc9e5a0(0x494)]))[_0xc9e5a0(0x4ff)](_0x2585ca=>{const _0x29dacb=_0xc9e5a0;_0x2585ca===_0x5df28e[_0x29dacb(0x18c)]?this[_0x29dacb(0x18e)]():this[_0x29dacb(0x2c9)]();}),this[_0xc9e5a0(0x31d)]['event$'][_0xc9e5a0(0x51d)](_0x2a4cb9[_0xc9e5a0(0x25a)](this[_0xc9e5a0(0x494)]))[_0xc9e5a0(0x4ff)](_0x48f2b8=>{const _0x4b1f21=_0xc9e5a0,_0x2b3c7c=_0x48f2b8['eventID'];_0x2b3c7c===_0xd9269e[_0x4b1f21(0x4f7)][_0x4b1f21(0x470)]&&this[_0x4b1f21(0x406)](_0x48f2b8),_0x2b3c7c===_0xd9269e['CollaborationEvent'][_0x4b1f21(0x3b8)]&&this[_0x4b1f21(0x4e6)](_0x48f2b8);}),this['_onRefRangeChange'](),this['disposeWithMe'](this[_0xc9e5a0(0x194)][_0xc9e5a0(0x1cc)](_0x5f4030=>{const _0x43be8c=_0xc9e5a0;if(this[_0x43be8c(0x568)]&&_0x5f4030['id']===_0x4dc08b[_0x43be8c(0x29f)]['id']&&_0x5f4030[_0x43be8c(0x344)][_0x43be8c(0x33e)]===this[_0x43be8c(0x433)]){const _0x4c1395=_0x5f4030['params'];this[_0x43be8c(0x363)](_0x4c1395[_0x43be8c(0x216)],_0x4c1395['selections'][0x0]);}})));}[_0x1f33ec(0x406)](_0x2109e5){const _0x5cd4fd=_0x1f33ec;var _0x467d87,_0x14c24c;const {memberID:_0xc00e45,selection:_0x16466f}=_0x2109e5['data'],{sheetName:_0x4c1e5a,range:_0x584d65}=_0x2c9bef[_0x5cd4fd(0x332)](_0x16466f),_0x426db8={'name':(_0x14c24c=(_0x467d87=this['_memberService'][_0x5cd4fd(0x227)](this[_0x5cd4fd(0x433)],_0xc00e45))==null?void 0x0:_0x467d87[_0x5cd4fd(0x48b)])!=null?_0x14c24c:_0x5cd4fd(0x339),'range':this[_0x5cd4fd(0x5a3)](_0x4c1e5a,_0x584d65),'sheetID':_0x4c1e5a,'color':this[_0x5cd4fd(0x48f)]['assignAColorForMemberID'](_0xc00e45),'selection':_0x16466f},_0x21be84=this[_0x5cd4fd(0x3e6)];_0x21be84[_0x5cd4fd(0x5b8)](_0xc00e45,_0x426db8),this[_0x5cd4fd(0x2a0)][_0x5cd4fd(0x3e1)](_0x21be84);}[_0x1f33ec(0x4e6)](_0x174e38){const _0xf94d56=_0x1f33ec,{memberID:_0x3f0ea0}=_0x174e38[_0xf94d56(0x2c5)],_0x132e79=this[_0xf94d56(0x3e6)];_0x132e79['delete'](_0x3f0ea0),this[_0xf94d56(0x2a0)][_0xf94d56(0x3e1)](_0x132e79);}[_0x1f33ec(0x5a3)](_0x2611c0,_0x3f1aa0){const _0x162638=_0x1f33ec;var _0x399705,_0x36f842;const _0x55502c=(_0x36f842=(_0x399705=this[_0x162638(0x540)][_0x162638(0x296)](this[_0x162638(0x433)]))==null?void 0x0:_0x399705[_0x162638(0x20b)](_0x2611c0))==null?void 0x0:_0x36f842[_0x162638(0x359)]();return(_0x55502c==null?void 0x0:_0x55502c[_0x162638(0x36b)](_0x487fd5=>_0x59f135[_0x162638(0x47c)][_0x162638(0x3f0)](_0x487fd5,_0x3f1aa0)))||_0x3f1aa0;}[_0x1f33ec(0x2df)](){const _0x286a40=_0x1f33ec,_0x2b4cd1=new _0x59f135[(_0x286a40(0x531))](),_0x2072f4=_0x405fde(),_0xacc5b4=()=>{const _0x3cba53=_0x286a40;_0x2b4cd1[_0x3cba53(0x317)]();const _0x3d9c17=(_0x14377e,_0x436acb,_0x1fae67,_0x37107f)=>{const _0xe83246=_0x3cba53;let _0x43f98b=[];switch(_0x14377e['id']){case _0x4dc08b['EffectRefRangId'][_0xe83246(0x30b)]:{_0x43f98b=_0x4dc08b[_0xe83246(0x452)](_0x14377e,_0x37107f);break;}case _0x4dc08b[_0xe83246(0x3d1)][_0xe83246(0x32a)]:{_0x43f98b=_0x4dc08b[_0xe83246(0x20a)](_0x14377e,_0x37107f);break;}case _0x4dc08b[_0xe83246(0x3d1)]['InsertColCommandId']:{_0x43f98b=_0x4dc08b[_0xe83246(0x586)](_0x14377e,_0x37107f);break;}case _0x4dc08b['EffectRefRangId'][_0xe83246(0x1ba)]:{_0x43f98b=_0x4dc08b['handleInsertRangeMoveDown'](_0x14377e,_0x37107f);break;}case _0x4dc08b[_0xe83246(0x3d1)]['InsertRangeMoveRightCommandId']:{_0x43f98b=_0x4dc08b[_0xe83246(0x236)](_0x14377e,_0x37107f);break;}case _0x4dc08b[_0xe83246(0x3d1)][_0xe83246(0x30a)]:{_0x43f98b=_0x4dc08b[_0xe83246(0x460)](_0x14377e,_0x37107f);break;}case _0x4dc08b['EffectRefRangId'][_0xe83246(0x5ba)]:{_0x43f98b=_0x4dc08b['handleMoveRange'](_0x14377e,_0x37107f);break;}case _0x4dc08b[_0xe83246(0x3d1)][_0xe83246(0x1db)]:{_0x43f98b=_0x4dc08b[_0xe83246(0x379)](_0x14377e,_0x37107f);break;}case _0x4dc08b[_0xe83246(0x3d1)][_0xe83246(0x52b)]:{_0x43f98b=_0x4dc08b['handleIRemoveRow'](_0x14377e,_0x37107f);break;}}const _0x534cf4=_0x4dc08b['runRefRangeMutations'](_0x43f98b,_0x37107f),_0x5fe0ec=this[_0xe83246(0x3e6)][_0xe83246(0x381)](_0x436acb);if(_0x5fe0ec&&_0x534cf4){const _0xcafc1a={..._0x5fe0ec,'range':_0x534cf4};this[_0xe83246(0x3e6)][_0xe83246(0x5b8)](_0x436acb,_0xcafc1a),_0x2072f4(()=>{const _0x2bd636=_0xe83246,_0x405a00=this[_0x2bd636(0x2f1)][_0x2bd636(0x5b0)](_0x534cf4,_0x2cbde7=>(_0x405a00[_0x2bd636(0x317)](),_0x3d9c17(_0x2cbde7,_0x436acb,_0x1fae67,_0x534cf4)));_0x2b4cd1[_0x2bd636(0x512)](_0x405a00);});}return{'redos':[],'undos':[]};};this[_0x3cba53(0x3e6)]['forEach']((_0x161d05,_0x45036f)=>{const _0x46e794=_0x3cba53,{range:_0x396b82,sheetID:_0x4f1a20}=_0x161d05,_0x185fde=this[_0x46e794(0x2f1)]['registerRefRange'](_0x396b82,_0x14491f=>(_0x185fde['dispose'](),_0x3d9c17(_0x14491f,_0x45036f,_0x4f1a20,_0x396b82)));_0x2b4cd1['add'](_0x185fde);});};this[_0x286a40(0x3f2)](_0x59f135['toDisposable'](this['_cursorInfo$'][_0x286a40(0x4ff)](()=>{_0xacc5b4();})));}['_toggleOnline'](){const _0x51c61a=_0x1f33ec;var _0x59094f,_0x2f9095;if(this['_online']=!0x0,((_0x59094f=this[_0x51c61a(0x540)][_0x51c61a(0x258)]())==null?void 0x0:_0x59094f[_0x51c61a(0x4cb)]())!==this[_0x51c61a(0x433)])return;const _0x15c69a=(_0x2f9095=this[_0x51c61a(0x368)][_0x51c61a(0x381)](_0x4dc08b[_0x51c61a(0x342)])['getCurrentSelections']())==null?void 0x0:_0x2f9095[0x0],_0xb2554=this[_0x51c61a(0x540)]['getCurrentUnitForType'](_0x59f135['UniverInstanceType'][_0x51c61a(0x333)])[_0x51c61a(0x334)]();_0x15c69a&&_0xb2554&&this['_updateLocalCursor'](_0xb2554['getSheetId'](),_0x15c69a);}[_0x1f33ec(0x2c9)](){const _0x2aa343=_0x1f33ec;this[_0x2aa343(0x568)]=!0x1;}};_0x3bd54e=_0x43e73e([_0x22fc80(0x2,_0x59f135[_0x1f33ec(0x496)](_0x59f135[_0x1f33ec(0x3a8)])),_0x22fc80(0x3,_0x59f135[_0x1f33ec(0x496)](_0x23007e)),_0x22fc80(0x4,_0x59f135[_0x1f33ec(0x496)](_0x3b92f1)),_0x22fc80(0x5,_0x59f135[_0x1f33ec(0x1c2)]),_0x22fc80(0x6,_0x59f135[_0x1f33ec(0x350)]),_0x22fc80(0x7,_0x59f135[_0x1f33ec(0x496)](_0x4dc08b[_0x1f33ec(0x56d)]))],_0x3bd54e);var _0xc9f27f=Object[_0x1f33ec(0x3be)],_0x36bb33=Object[_0x1f33ec(0x36c)],_0x346bb8=(_0x5eb3c2,_0x456cc3,_0x139752,_0x1734d2)=>{const _0x5d1758=_0x1f33ec;for(var _0x447e7a=_0x1734d2>0x1?void 0x0:_0x1734d2?_0x36bb33(_0x456cc3,_0x139752):_0x456cc3,_0x5edcec=_0x5eb3c2[_0x5d1758(0x239)]-0x1,_0x40b0fd;_0x5edcec>=0x0;_0x5edcec--)(_0x40b0fd=_0x5eb3c2[_0x5edcec])&&(_0x447e7a=(_0x1734d2?_0x40b0fd(_0x456cc3,_0x139752,_0x447e7a):_0x40b0fd(_0x447e7a))||_0x447e7a);return _0x1734d2&&_0x447e7a&&_0xc9f27f(_0x456cc3,_0x139752,_0x447e7a),_0x447e7a;},_0x193cdd=(_0x5d19a0,_0x45ad71)=>(_0xe50017,_0x57cf77)=>_0x45ad71(_0xe50017,_0x57cf77,_0x5d19a0);let _0x562939=class extends _0x59f135[_0x1f33ec(0x490)]{constructor(_0x19e202,_0x1e40ad,_0x34b8ce){const _0x414710=_0x1f33ec;super(),_0x4fb0a3(this,'_entities',new Map()),_0x4fb0a3(this,_0x414710(0x56f),new _0x2a4cb9[(_0x414710(0x442))]()),(this[_0x414710(0x540)]=_0x19e202,this[_0x414710(0x368)]=_0x1e40ad,this['_collabSessionService']=_0x34b8ce,this[_0x414710(0x430)]());}[_0x1f33ec(0x317)](){const _0x4177c4=_0x1f33ec;super[_0x4177c4(0x317)](),this['_entityInit$']['complete'](),this[_0x4177c4(0x31e)]['forEach'](_0x2ef25e=>_0x2ef25e[_0x4177c4(0x317)]());}['getCollabCursors$'](_0x1c1048){const _0x50dc40=_0x1f33ec;return this[_0x50dc40(0x31e)][_0x50dc40(0x252)](_0x1c1048)?this['_entities'][_0x50dc40(0x381)](_0x1c1048)[_0x50dc40(0x5b3)]:this[_0x50dc40(0x56f)]['pipe'](_0x2a4cb9['filter'](_0x52426b=>_0x52426b[_0x50dc40(0x433)]===_0x1c1048),_0x2a4cb9[_0x50dc40(0x550)](_0x2316d9=>_0x2316d9[_0x50dc40(0x5b3)]));}['_init'](){const _0x5683ed=_0x1f33ec;this[_0x5683ed(0x540)][_0x5683ed(0x288)](_0x59f135['UniverInstanceType']['UNIVER_SHEET'])[_0x5683ed(0x51d)](_0x2a4cb9[_0x5683ed(0x25a)](this[_0x5683ed(0x494)]))[_0x5683ed(0x4ff)](async _0xe2841e=>{const _0x1680c0=_0x5683ed,_0xfd20b4=_0xe2841e[_0x1680c0(0x4cb)](),_0x308e53=await this[_0x1680c0(0x412)](_0xfd20b4);this[_0x1680c0(0x56f)]['next'](_0x308e53),this[_0x1680c0(0x31e)][_0x1680c0(0x5b8)](_0xfd20b4,_0x308e53);}),this['_univerInstanceService'][_0x5683ed(0x288)](_0x59f135['UniverInstanceType']['UNIVER_DOC'])['pipe'](_0x2a4cb9[_0x5683ed(0x25a)](this[_0x5683ed(0x494)]))[_0x5683ed(0x51d)](_0x2a4cb9['filter'](_0x3ba939=>!_0x3ba939['getUnitId']()['startsWith']('__')))[_0x5683ed(0x4ff)](async _0x37acd5=>{const _0x595754=_0x5683ed,_0x2aa97c=_0x37acd5[_0x595754(0x4cb)](),_0x43343a=await this[_0x595754(0x554)](_0x2aa97c);this[_0x595754(0x56f)][_0x595754(0x3e1)](_0x43343a),this[_0x595754(0x31e)][_0x595754(0x5b8)](_0x2aa97c,_0x43343a);}),_0x2a4cb9[_0x5683ed(0x18f)](this[_0x5683ed(0x540)][_0x5683ed(0x325)](_0x59f135[_0x5683ed(0x558)][_0x5683ed(0x53a)]),this[_0x5683ed(0x540)][_0x5683ed(0x325)](_0x59f135[_0x5683ed(0x558)]['UNIVER_SHEET']))['pipe'](_0x2a4cb9['takeUntil'](this[_0x5683ed(0x494)]))[_0x5683ed(0x4ff)](_0x31cc82=>{const _0x4341c2=_0x5683ed,_0x1388b1=_0x31cc82[_0x4341c2(0x4cb)](),_0x3603b7=this['_entities'][_0x4341c2(0x381)](_0x1388b1);_0x3603b7&&(_0x3603b7[_0x4341c2(0x317)](),this['_entities']['delete'](_0x1388b1));});}async['_startSheetCollabCursor'](_0x284205){const _0x3b5aaf=_0x1f33ec,_0xe020c3=await this[_0x3b5aaf(0x4e0)][_0x3b5aaf(0x2a8)](_0x284205),_0x159410=this[_0x3b5aaf(0x368)][_0x3b5aaf(0x517)](_0x3bd54e,_0x284205,_0xe020c3);return _0x159410[_0x3b5aaf(0x1fa)](),_0x159410;}async[_0x1f33ec(0x554)](_0x2ad415){const _0x50a6cb=_0x1f33ec,_0x16d9b3=await this[_0x50a6cb(0x4e0)][_0x50a6cb(0x2a8)](_0x2ad415),_0x174044=this[_0x50a6cb(0x368)][_0x50a6cb(0x517)](_0x146f70,_0x2ad415,_0x16d9b3);return _0x174044[_0x50a6cb(0x1fa)](),_0x174044;}};_0x562939=_0x346bb8([_0x193cdd(0x0,_0x59f135['IUniverInstanceService']),_0x193cdd(0x1,_0x59f135[_0x1f33ec(0x496)](_0x59f135['Injector'])),_0x193cdd(0x2,_0x59f135[_0x1f33ec(0x496)](_0x358006[_0x1f33ec(0x48d)]))],_0x562939);const _0x53b2a0=0x14,_0x16c78d=0xc8,_0x5ad013=0x4,_0x5c01b2=0x5;function _0x358484(_0x174587,_0x4d4406){const _0x77a793=_0x1f33ec;let {radius:_0x25188e,width:_0xe84f28,height:_0x1f846b}=_0x4d4406;_0x25188e=_0x25188e!=null?_0x25188e:0x0,_0xe84f28=_0xe84f28!=null?_0xe84f28:0x1e,_0x1f846b=_0x1f846b!=null?_0x1f846b:0x1e;let _0x2bb74b=0x0,_0x205ba1=0x0,_0x1098d3=0x0;_0x2bb74b=_0x205ba1=_0x1098d3=Math[_0x77a793(0x2fd)](_0x25188e,_0xe84f28/0x2,_0x1f846b/0x2),_0x174587[_0x77a793(0x374)](),_0x174587['moveTo'](_0x2bb74b,0x0),_0x174587[_0x77a793(0x1c1)](_0xe84f28-_0x205ba1,0x0),_0x174587[_0x77a793(0x304)](_0xe84f28-_0x205ba1,_0x205ba1,_0x205ba1,Math['PI']*0x3/0x2,0x0,!0x1),_0x174587[_0x77a793(0x1c1)](_0xe84f28,_0x1f846b-_0x1098d3),_0x174587[_0x77a793(0x304)](_0xe84f28-_0x1098d3,_0x1f846b-_0x1098d3,_0x1098d3,0x0,Math['PI']/0x2,!0x1),_0x174587[_0x77a793(0x1c1)](0x0,_0x1f846b),_0x174587[_0x77a793(0x1c1)](0x0,_0x2bb74b),_0x174587['arc'](_0x2bb74b,_0x2bb74b,_0x2bb74b,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x174587['closePath'](),_0x4d4406[_0x77a793(0x27f)]&&(_0x174587['save'](),_0x174587[_0x77a793(0x55a)]=_0x4d4406[_0x77a793(0x27f)],_0x4d4406[_0x77a793(0x5bd)]===_0x77a793(0x377)?_0x174587[_0x77a793(0x27f)](_0x77a793(0x377)):_0x174587[_0x77a793(0x27f)](),_0x174587['restore']());}class _0x1719f8 extends _0x3a990c[_0x1f33ec(0x3bb)]{constructor(_0x381e5e,_0x5976e1){const _0x476ccc=_0x1f33ec;super(_0x381e5e,_0x5976e1),_0x4fb0a3(this,_0x476ccc(0x352)),_0x4fb0a3(this,'text'),(this['color']=_0x5976e1==null?void 0x0:_0x5976e1['color'],this[_0x476ccc(0x567)]=_0x5976e1==null?void 0x0:_0x5976e1['text']);}static[_0x1f33ec(0x1b1)](_0x55669e,_0x392b37){const _0x2d8984=_0x1f33ec,{text:_0x437735,color:_0x500c08}=_0x392b37;_0x55669e['save'](),_0x55669e[_0x2d8984(0x219)]=_0x2d8984(0x43f);const _0x46ebfe=_0x55669e[_0x2d8984(0x2e8)](_0x437735)[_0x2d8984(0x2f0)],_0x4e84b8=Math['min'](_0x46ebfe+0x2*_0x5ad013,_0x16c78d);_0x358484(_0x55669e,{'height':_0x53b2a0,'radius':0x4,'width':_0x4e84b8,'fill':_0x500c08,'evented':!0x1}),_0x55669e['fillStyle']=_0x2d8984(0x1d0);const _0x48924e=_0x5ad013,_0x5c3be3=_0x53b2a0-_0x5c01b2,_0x2135fc=_0x16c78d-0x2*_0x5ad013;if(_0x46ebfe>_0x2135fc){let _0x328d6d='',_0x166c4d=0x0;for(const _0x3bd6c0 of _0x437735){const _0x4ac3fe=_0x55669e['measureText'](_0x3bd6c0)['width'];if(_0x166c4d+_0x4ac3fe<=_0x2135fc-_0x55669e[_0x2d8984(0x2e8)](_0x2d8984(0x55f))[_0x2d8984(0x2f0)])_0x328d6d+=_0x3bd6c0,_0x166c4d+=_0x4ac3fe;else{_0x328d6d+='...';break;}}_0x55669e[_0x2d8984(0x435)](_0x328d6d,_0x48924e,_0x5c3be3);}else _0x55669e['fillText'](_0x437735,_0x48924e,_0x5c3be3);_0x55669e[_0x2d8984(0x30f)]();}[_0x1f33ec(0x424)](_0x2491bd){const _0xed5030=_0x1f33ec;_0x1719f8[_0xed5030(0x1b1)](_0x2491bd,this);}}const _0x39e326=_0x1f33ec(0x486),_0xc33563='collab-text-range-',_0xfcd073=_0x1f33ec(0x389),_0x44cdce=0x6,_0x2a2260=1.5,_0x20877d=0x4,_0x26f997=1.5,_0x264b2c='rgba(255,\x20255,\x20255,\x200.01)';class _0x20dc9f{constructor(_0x2f4aaa,_0x38f92d,_0x289043,_0x29a96f){const _0x4fe0e5=_0x1f33ec;_0x4fb0a3(this,_0x4fe0e5(0x3da),[]),_0x4fb0a3(this,_0x4fe0e5(0x264),null),_0x4fb0a3(this,_0x4fe0e5(0x307),null),_0x4fb0a3(this,'_anchorDot',null),_0x4fb0a3(this,_0x4fe0e5(0x280),null),_0x4fb0a3(this,_0x4fe0e5(0x2eb),null),(this['_cursor']=_0x2f4aaa,this[_0x4fe0e5(0x574)]=_0x38f92d,this[_0x4fe0e5(0x3d3)]=_0x289043,this['_document']=_0x29a96f,this['_render']());}set[_0x1f33ec(0x2f2)](_0x1ea00e){const _0x1e2948=_0x1f33ec;_0x1ea00e?(this[_0x1e2948(0x1d8)]&&this[_0x1e2948(0x1d8)][_0x1e2948(0x49a)](),this['_textBubble']&&this[_0x1e2948(0x307)]['show']()):(this['_anchorDot']&&this['_anchorDot'][_0x1e2948(0x46c)](),this['_textBubble']&&this['_textBubble']['hide']());}['dispose'](){const _0x412bcd=_0x1f33ec;for(const _0x1adab8 of this[_0x412bcd(0x3da)])_0x1adab8['dispose']();this[_0x412bcd(0x307)]&&this[_0x412bcd(0x307)][_0x412bcd(0x317)](),this[_0x412bcd(0x1d8)]&&this[_0x412bcd(0x1d8)][_0x412bcd(0x317)](),this[_0x412bcd(0x264)]&&this[_0x412bcd(0x264)][_0x412bcd(0x317)](),this['_eventUnsubscribe']&&this[_0x412bcd(0x2eb)]();}[_0x1f33ec(0x422)](){const _0x392115=_0x1f33ec;var _0x1d7547;const {_docSkeleton:_0x1727e2,_document:_0x4746e4}=this,{color:_0xa390c2,name:_0x488069,ranges:_0x4d5f9e}=this[_0x392115(0x220)],_0x1b2507=_0x4746e4['getOffsetConfig'](),{docsLeft:_0x3030fa,docsTop:_0x3f1c3a}=_0x1b2507,_0x485804=new _0x9a0457[(_0x392115(0x191))](_0x1b2507,_0x1727e2);for(const {startOffset:_0x38c1f2,endOffset:_0x144444,collapsed:_0x14ce78,isActive:_0x2a5b20}of _0x4d5f9e){const _0x43ff88=_0x1727e2[_0x392115(0x39e)](_0x38c1f2),_0x9daa8c=_0x1727e2[_0x392115(0x39e)](_0x144444);if(_0x2a5b20){const {contentBoxPointGroup:_0xae06a4}=_0x485804[_0x392115(0x2ff)](_0x9daa8c,_0x9daa8c);if(_0xae06a4[_0x392115(0x239)]===0x0)continue;this['_drawAnchor'](_0xa390c2,_0xae06a4,_0x3030fa,_0x3f1c3a,_0x488069),this[_0x392115(0x2eb)]=this['_handleHover']();}if(!_0x14ce78&&_0x43ff88&&_0x9daa8c){if(_0x9a0457[_0x392115(0x4ba)](_0x43ff88,_0x9daa8c)){const _0x21eada=new _0x9a0457[(_0x392115(0x2ab))](_0x1b2507,_0x1727e2),{pointGroup:_0x44e3ad}=(_0x1d7547=_0x21eada[_0x392115(0x2ff)](_0x43ff88,_0x9daa8c))!=null?_0x1d7547:{};if(_0x44e3ad==null||_0x44e3ad[_0x392115(0x239)]===0x0)continue;this[_0x392115(0x45f)](_0xa390c2,_0x44e3ad,_0x3030fa,_0x3f1c3a);}else{const {contentBoxPointGroup:_0x56810d}=_0x485804[_0x392115(0x2ff)](_0x43ff88,_0x9daa8c);if(_0x56810d['length']===0x0)continue;this[_0x392115(0x2ef)](_0xa390c2,_0x56810d,_0x3030fa,_0x3f1c3a);}}}}[_0x1f33ec(0x559)](_0x1701fc,_0x17e16f,_0xe5a58,_0x3a9de8,_0x1343b4){const _0x4278ee=_0x1f33ec,_0x227d7c=this[_0x4278ee(0x38b)](_0x17e16f),{left:_0x3e4ef1,top:_0x4cbf98,height:_0x592b81}=_0x227d7c,_0x145c97=this[_0x4278ee(0x32f)](),_0x2d0325=_0x26f997/_0x145c97,_0x58337a=new _0x3a990c[(_0x4278ee(0x394))](_0x39e326+_0x59f135[_0x4278ee(0x1bc)][_0x4278ee(0x206)](_0x44cdce),{'left':_0x3e4ef1+_0xe5a58-_0x2d0325,'top':_0x4cbf98+_0x3a9de8,'height':_0x592b81,'width':_0x2a2260,'fill':_0x1701fc||_0x3a990c[_0x4278ee(0x2b5)](_0x59f135[_0x4278ee(0x35c)][_0x4278ee(0x55d)],0x0),'strokeWidth':_0x2d0325,'stroke':_0x264b2c,'evented':!0x0});this[_0x4278ee(0x264)]=_0x58337a,this[_0x4278ee(0x574)][_0x4278ee(0x501)](_0x58337a,_0x9a0457[_0x4278ee(0x272)]);const _0x33ecad=new _0x3a990c[(_0x4278ee(0x394))](_0x39e326+_0x59f135['Tools']['generateRandomId'](_0x44cdce),{'left':_0x3e4ef1+_0xe5a58-_0x2d0325,'top':_0x4cbf98+_0x3a9de8-_0x20877d/0x2,'height':_0x20877d,'width':_0x20877d,'fill':_0x1701fc||_0x3a990c['getColor'](_0x59f135[_0x4278ee(0x35c)]['black'],0x0),'strokeWidth':0x0,'stroke':_0x1701fc||_0x3a990c['getColor'](_0x59f135[_0x4278ee(0x35c)][_0x4278ee(0x55d)],0x0),'evented':!0x1});this[_0x4278ee(0x1d8)]=_0x33ecad,this[_0x4278ee(0x574)]['addObject'](_0x33ecad,_0x9a0457[_0x4278ee(0x272)]);const _0x44b445=new _0x1719f8(_0x39e326+_0x59f135['Tools']['generateRandomId'](_0x44cdce),{'left':_0x3e4ef1+_0xe5a58-_0x2d0325,'top':_0x4cbf98+_0x3a9de8-_0x53b2a0,'text':_0x1343b4,'color':_0x1701fc});this[_0x4278ee(0x307)]=_0x44b445,this[_0x4278ee(0x574)][_0x4278ee(0x501)](_0x44b445,_0x9a0457[_0x4278ee(0x272)]),this[_0x4278ee(0x2f2)]=!0x1;}[_0x1f33ec(0x1de)](){const _0x33b45b=_0x1f33ec,_0x146672=this[_0x33b45b(0x264)]['onPointerEnter$']['subscribeEvent'](()=>{this['_hover']=!0x0;}),_0x34261f=this[_0x33b45b(0x264)]['onPointerLeave$']['subscribeEvent'](()=>{const _0xa20e42=_0x33b45b;this[_0xa20e42(0x280)]&&clearTimeout(this['_hideTimer']),this[_0xa20e42(0x280)]=setTimeout(()=>{const _0x3a201a=_0xa20e42;this[_0x3a201a(0x2f2)]=!0x1;},0x7d0);});return()=>{const _0x2f3efc=_0x33b45b;_0x146672['unsubscribe'](),_0x34261f[_0x2f3efc(0x223)]();};}[_0x1f33ec(0x2ef)](_0x3379fd,_0x3d0f34,_0x462002,_0x14dc3b){const _0x412c19=_0x1f33ec,_0x5012e8=new _0x59f135['ColorKit'](_0x3379fd)[_0x412c19(0x253)](0.2)[_0x412c19(0x248)](),_0x306bd4=new _0x3a990c[(_0x412c19(0x4a7))](_0xc33563+_0x59f135[_0x412c19(0x1bc)]['generateRandomId'](_0x44cdce),{'pointsGroup':_0x3d0f34,'fill':_0x5012e8||_0x3a990c['getColor'](_0x59f135[_0x412c19(0x35c)][_0x412c19(0x55d)],0.2),'left':_0x462002,'top':_0x14dc3b,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x412c19(0x3da)][_0x412c19(0x3e8)](_0x306bd4),this[_0x412c19(0x574)]['addObject'](_0x306bd4,_0x9a0457[_0x412c19(0x272)]);}[_0x1f33ec(0x45f)](_0x174dc6,_0x538d3f,_0x2ca532,_0x25ff0f){const _0x32711f=_0x1f33ec,_0x2b5b6b=new _0x59f135[(_0x32711f(0x45c))](_0x174dc6)[_0x32711f(0x253)](0.2)['toRgbString'](),_0x371c7e=new _0x3a990c[(_0x32711f(0x4a7))](_0xfcd073+_0x59f135['Tools'][_0x32711f(0x206)](_0x44cdce),{'pointsGroup':_0x538d3f,'fill':_0x2b5b6b||_0x3a990c['getColor'](_0x59f135[_0x32711f(0x35c)]['black'],0.2),'left':_0x2ca532,'top':_0x25ff0f,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x32711f(0x3da)][_0x32711f(0x3e8)](_0x371c7e),this[_0x32711f(0x574)][_0x32711f(0x501)](_0x371c7e,_0x9a0457['TEXT_RANGE_LAYER_INDEX']);}[_0x1f33ec(0x38b)](_0x33dcf1){const _0x21c605=_0x33dcf1[0x0],_0x23fe7b=_0x21c605[0x0],_0x4c020d=_0x21c605[0x2],{x:_0x238c00,y:_0x33acf0}=_0x23fe7b,{x:_0x36805f,y:_0x52c159}=_0x4c020d;return{'left':_0x238c00,'top':_0x33acf0,'width':_0x36805f-_0x238c00,'height':_0x52c159-_0x33acf0};}[_0x1f33ec(0x32f)](){const _0x2f9388=_0x1f33ec,{scaleX:_0x17eeae,scaleY:_0x12c99c}=this[_0x2f9388(0x574)][_0x2f9388(0x4ee)]();return Math[_0x2f9388(0x53d)](_0x17eeae,_0x12c99c);}}var _0x5d464a=Object[_0x1f33ec(0x3be)],_0x34020c=Object[_0x1f33ec(0x36c)],_0x129181=(_0x2f0f01,_0x12424b,_0x4d2151,_0x2fad18)=>{const _0x39b61c=_0x1f33ec;for(var _0x3071f9=_0x2fad18>0x1?void 0x0:_0x2fad18?_0x34020c(_0x12424b,_0x4d2151):_0x12424b,_0x484a93=_0x2f0f01[_0x39b61c(0x239)]-0x1,_0x506064;_0x484a93>=0x0;_0x484a93--)(_0x506064=_0x2f0f01[_0x484a93])&&(_0x3071f9=(_0x2fad18?_0x506064(_0x12424b,_0x4d2151,_0x3071f9):_0x506064(_0x3071f9))||_0x3071f9);return _0x2fad18&&_0x3071f9&&_0x5d464a(_0x12424b,_0x4d2151,_0x3071f9),_0x3071f9;},_0x3138fa=(_0x228894,_0x4ae95c)=>(_0x4a85d0,_0x459449)=>_0x4ae95c(_0x4a85d0,_0x459449,_0x228894);let _0x5e6de5=class extends _0x59f135[_0x1f33ec(0x490)]{constructor(_0x574470,_0x2d1e20,_0x43aef1,_0x39c9d7,_0x4dbce8){const _0x168d53=_0x1f33ec;super(),_0x4fb0a3(this,'_cursorShapes',[]),_0x4fb0a3(this,'_cursors',[]),(this[_0x168d53(0x41d)]=_0x574470,this['_docSkeletonManagerService']=_0x2d1e20,this[_0x168d53(0x534)]=_0x43aef1,this['_commandService']=_0x39c9d7,this[_0x168d53(0x535)]=_0x4dbce8,this[_0x168d53(0x430)]());}[_0x1f33ec(0x430)](){const _0x293824=_0x1f33ec,_0xbf5d65=this['_context'][_0x293824(0x33e)],_0xe1a23e=this[_0x293824(0x1c5)];this[_0x293824(0x3f2)](_0x2a4cb9['combineLatest']([this[_0x293824(0x534)][_0x293824(0x510)](_0xbf5d65),this['_themeService'][_0x293824(0x4c4)]])[_0x293824(0x51d)](_0x590f9e['map'](([_0x30efb2,_0x39c183])=>({'skeleton':_0xe1a23e[_0x293824(0x2b1)](),'cursors':[..._0x30efb2['values']()][_0x293824(0x3f6)](_0x437c8f=>({..._0x437c8f,'color':_0x39c183[_0x437c8f['color']]}))})))[_0x293824(0x4ff)](_0x5b899d=>{const _0x3ba815=_0x293824;if(this[_0x3ba815(0x526)](),_0x5b899d){const {skeleton:_0x3280ec,cursors:_0x2dc4fb}=_0x5b899d;this[_0x3ba815(0x3e3)](_0x3280ec,_0x2dc4fb);}})),this[_0x293824(0x43d)](),this[_0x293824(0x1e0)]();}[_0x1f33ec(0x3e3)](_0x263487,_0x590de8){const _0x578f34=_0x1f33ec,{scene:_0xcf9d79,mainComponent:_0x2456b1}=this[_0x578f34(0x41d)],_0x299855=_0x590de8[_0x578f34(0x4f2)](_0x2539c1=>new _0x20dc9f(_0x2539c1,_0xcf9d79,_0x263487,_0x2456b1));this[_0x578f34(0x4da)]=_0x299855,this[_0x578f34(0x541)]=_0x590de8;}['_refreshCollabCursors'](){const _0x3a13bd=_0x1f33ec;this[_0x3a13bd(0x526)]();const {scene:_0xd78108,mainComponent:_0x5b6880}=this['_context'],_0x37a6c7=this[_0x3a13bd(0x1c5)][_0x3a13bd(0x2b1)](),_0x295983=this[_0x3a13bd(0x541)][_0x3a13bd(0x4f2)](_0x5490be=>new _0x20dc9f(_0x5490be,_0xd78108,_0x37a6c7,_0x5b6880));this[_0x3a13bd(0x4da)]=_0x295983;}[_0x1f33ec(0x526)](){const _0x1e66b6=_0x1f33ec;this[_0x1e66b6(0x4da)][_0x1e66b6(0x314)](_0x7a8c82=>_0x7a8c82[_0x1e66b6(0x317)]()),this[_0x1e66b6(0x4da)]=[];}[_0x1f33ec(0x1e0)](){const _0x4c6752=_0x1f33ec,_0x90d11c=[_0x9a0457['SetDocZoomRatioOperation']['id']];this['disposeWithMe'](this[_0x4c6752(0x194)]['onCommandExecuted'](_0x559e61=>{const _0xb8506d=_0x4c6752;_0x90d11c[_0xb8506d(0x438)](_0x559e61['id'])&&_0x559e61[_0xb8506d(0x344)]['unitId']===this['_context'][_0xb8506d(0x33e)]&&this['_refreshCollabCursors']();}));}[_0x1f33ec(0x43d)](){const _0x2a0356=_0x1f33ec;this[_0x2a0356(0x3f2)](_0x59f135[_0x2a0356(0x2cd)](this[_0x2a0356(0x41d)]['engine']['onTransformChange$'])[_0x2a0356(0x51d)](_0x590f9e[_0x2a0356(0x421)](_0x1bf79c=>_0x1bf79c[_0x2a0356(0x232)]===_0x3a990c[_0x2a0356(0x341)]['resize']),_0x590f9e[_0x2a0356(0x28c)](0x10))[_0x2a0356(0x4ff)](()=>{const _0x3003ea=_0x2a0356;this[_0x3003ea(0x2bf)]();}));}};_0x5e6de5=_0x129181([_0x3138fa(0x1,_0x59f135[_0x1f33ec(0x496)](_0x2fa0c8[_0x1f33ec(0x1b8)])),_0x3138fa(0x2,_0x59f135[_0x1f33ec(0x496)](_0x562939)),_0x3138fa(0x3,_0x59f135[_0x1f33ec(0x350)]),_0x3138fa(0x4,_0x59f135[_0x1f33ec(0x496)](_0x59f135[_0x1f33ec(0x284)]))],_0x5e6de5);const _0x5d3913=0x1,_0x541935=1.5;class _0x2f757e extends _0x3a990c['Shape']{constructor(_0x330cd1,_0x4353de){const _0xd2dd=_0x1f33ec;super(_0x330cd1,_0x4353de),_0x4fb0a3(this,_0xd2dd(0x2ad)),_0x4fb0a3(this,'_hovered',!0x1),_0x4fb0a3(this,_0xd2dd(0x23a)),_0x4fb0a3(this,_0xd2dd(0x585),''),_0x4fb0a3(this,_0xd2dd(0x556),_0xd2dd(0x4fa)),_0x4fb0a3(this,_0xd2dd(0x3eb)),(_0x4353de&&this[_0xd2dd(0x563)](_0x4353de),this[_0xd2dd(0x387)][_0xd2dd(0x5a5)](()=>this['setShapeProps']({'hovered':!0x0})),this['onPointerLeave$']['subscribeEvent'](()=>this[_0xd2dd(0x563)]({'hovered':!0x1})));}[_0x1f33ec(0x563)](_0xcc683){const _0x511167=_0x1f33ec;var _0x5a696a,_0x11ee66,_0x21ddaf,_0x11fae1,_0xfd6266,_0x3d3303;this[_0x511167(0x2ad)]=(_0x5a696a=_0xcc683[_0x511167(0x352)])!=null?_0x5a696a:this[_0x511167(0x2ad)],this[_0x511167(0x37d)]=(_0x11ee66=_0xcc683['hovered'])!=null?_0x11ee66:this[_0x511167(0x37d)],this['_range']=(_0x21ddaf=_0xcc683[_0x511167(0x299)])!=null?_0x21ddaf:this[_0x511167(0x23a)],this[_0x511167(0x585)]=(_0x11fae1=_0xcc683['name'])!=null?_0x11fae1:this['_name'],this[_0x511167(0x556)]=(_0xfd6266=_0xcc683[_0x511167(0x4bf)])!=null?_0xfd6266:this[_0x511167(0x556)],this[_0x511167(0x3eb)]=(_0x3d3303=_0xcc683['backgroundColor'])!=null?_0x3d3303:this['_backgroundColor'],this[_0x511167(0x51c)]({'width':_0xcc683[_0x511167(0x2f0)],'height':_0xcc683[_0x511167(0x3d6)]});}[_0x1f33ec(0x1e6)](_0x548f8b){const _0x269c1f=_0x1f33ec,{row:_0x4dc171,column:_0x19d6e4}=_0x548f8b;if(_0x4dc171>=this[_0x269c1f(0x23a)][_0x269c1f(0x2a2)]&&_0x4dc171<=this[_0x269c1f(0x23a)][_0x269c1f(0x58d)]&&_0x19d6e4>=this[_0x269c1f(0x23a)][_0x269c1f(0x492)]&&_0x19d6e4<=this['_range']['endColumn']){this[_0x269c1f(0x563)]({'hovered':!0x0});return;}this[_0x269c1f(0x563)]({'hovered':!0x1});}[_0x1f33ec(0x2dc)](_0x52011f){return!0x1;}[_0x1f33ec(0x424)](_0x246550){const _0x5d1637=_0x1f33ec;_0x3a990c[_0x5d1637(0x394)][_0x5d1637(0x1b1)](_0x246550,{'width':this[_0x5d1637(0x2f0)],'height':this[_0x5d1637(0x3d6)],'strokeWidth':_0x541935,'stroke':this[_0x5d1637(0x2ad)],'evented':!0x1,'fill':this[_0x5d1637(0x3eb)]}),this[_0x5d1637(0x37d)]&&(_0x246550[_0x5d1637(0x21e)](),_0x246550[_0x5d1637(0x1df)](0x1,0x0,0x0,0x1,this['width'],this[_0x5d1637(0x556)]===_0x5d1637(0x244)?0x0:-_0x53b2a0),_0x1719f8['drawWith'](_0x246550,{'text':this[_0x5d1637(0x585)],'color':this[_0x5d1637(0x2ad)]}),_0x246550['restore']());}}var _0xf135ba=Object[_0x1f33ec(0x3be)],_0x18d5e0=Object[_0x1f33ec(0x36c)],_0x2bf171=(_0x395051,_0x11fe57,_0x31b4db,_0x167119)=>{const _0x2cbfa5=_0x1f33ec;for(var _0x2e865b=_0x167119>0x1?void 0x0:_0x167119?_0x18d5e0(_0x11fe57,_0x31b4db):_0x11fe57,_0xe8551=_0x395051[_0x2cbfa5(0x239)]-0x1,_0x2031cf;_0xe8551>=0x0;_0xe8551--)(_0x2031cf=_0x395051[_0xe8551])&&(_0x2e865b=(_0x167119?_0x2031cf(_0x11fe57,_0x31b4db,_0x2e865b):_0x2031cf(_0x2e865b))||_0x2e865b);return _0x167119&&_0x2e865b&&_0xf135ba(_0x11fe57,_0x31b4db,_0x2e865b),_0x2e865b;},_0x53ff72=(_0x31844f,_0x30723c)=>(_0x5bcc9b,_0x14ae5a)=>_0x30723c(_0x5bcc9b,_0x14ae5a,_0x31844f);const _0x2a06da=0x1389;let _0x34647f=class extends _0x59f135[_0x1f33ec(0x490)]{constructor(_0x283f41,_0x2ae17e,_0x1db79a,_0x5e8dcc){const _0x14685e=_0x1f33ec;super(),_0x4fb0a3(this,'_cursors',new Set()),_0x4fb0a3(this,_0x14685e(0x462),null),(this['_context']=_0x283f41,this[_0x14685e(0x1e8)]=_0x2ae17e,this[_0x14685e(0x534)]=_0x1db79a,this[_0x14685e(0x535)]=_0x5e8dcc,this[_0x14685e(0x430)]());}[_0x1f33ec(0x430)](){const _0x169d3a=_0x1f33ec;this[_0x169d3a(0x1e8)][_0x169d3a(0x35b)][_0x169d3a(0x51d)](_0x590f9e[_0x169d3a(0x25a)](this[_0x169d3a(0x494)]),_0x590f9e[_0x169d3a(0x550)](_0x1e358f=>{const _0x5457d7=_0x169d3a;if(_0x1e358f){const _0x396910=_0x1e358f['sheetId'];return _0x2a4cb9[_0x5457d7(0x28a)](this[_0x5457d7(0x534)][_0x5457d7(0x510)](this[_0x5457d7(0x41d)][_0x5457d7(0x33e)]),this[_0x5457d7(0x535)][_0x5457d7(0x4c4)])[_0x5457d7(0x51d)](_0x590f9e[_0x5457d7(0x4f2)](([_0xe8235b,_0x386503])=>{const _0x2c3094=new Map();return _0xe8235b['forEach']((_0xd6236c,_0x15dc38)=>{const _0x4e3e51=_0x2fa9;if(_0xd6236c[_0x4e3e51(0x358)]===_0x396910){const _0x4b7034={..._0xd6236c};_0x4b7034[_0x4e3e51(0x352)]=_0x386503[_0xd6236c[_0x4e3e51(0x352)]],_0x2c3094[_0x4e3e51(0x5b8)](_0x15dc38,_0x4b7034);}}),{'skeleton':_0x1e358f,'cursors':_0x2c3094};}));}return _0x2a4cb9['of']({'skeleton':null,'cursors':new Map()});}))[_0x169d3a(0x4ff)](({skeleton:_0x80aa86,cursors:_0x30830c})=>{const _0x1fd215=_0x169d3a;this['_removeCollabCursors'](),_0x80aa86&&this[_0x1fd215(0x3e3)](_0x80aa86,_0x30830c);}),this[_0x169d3a(0x1e8)]['currentSkeleton$'][_0x169d3a(0x4ff)](_0x108b9d=>{const _0x17a5bc=_0x169d3a;if(_0x108b9d==null)return;const {skeleton:_0x5f122b}=_0x108b9d,{scene:_0x370761}=this[_0x17a5bc(0x41d)];_0x370761['onPointerMove$'][_0x17a5bc(0x5a5)](_0x59f135[_0x17a5bc(0x1c7)](_0x13af7b=>{const _0x220004=_0x17a5bc;var _0x684e8f,_0x4fe269;const {offsetX:_0x2a2d86,offsetY:_0x245223}=_0x13af7b,{x:_0xd097e9,y:_0x5aaf3a}=_0x370761[_0x220004(0x3a5)](_0x3a990c[_0x220004(0x33a)][_0x220004(0x1d1)]([_0x2a2d86,_0x245223])),{scaleX:_0x49d8a7,scaleY:_0x2096fb}=_0x370761[_0x220004(0x4ee)](),_0x6e202d=_0x370761[_0x220004(0x41c)](_0x25d706['VIEWPORT_KEY'][_0x220004(0x2bd)]),_0x181564=_0x370761[_0x220004(0x410)](_0x3a990c['Vector2'][_0x220004(0x1d1)]([_0xd097e9,_0x5aaf3a]),_0x6e202d),_0x3d7409=_0x5f122b[_0x220004(0x596)](_0x2a2d86,_0x245223,_0x49d8a7,_0x2096fb,_0x181564);((_0x684e8f=this[_0x220004(0x462)])==null?void 0x0:_0x684e8f[_0x220004(0x4f8)])===_0x3d7409[_0x220004(0x4f8)]&&((_0x4fe269=this['_lastPointer'])==null?void 0x0:_0x4fe269[_0x220004(0x3b5)])===_0x3d7409[_0x220004(0x3b5)]||this[_0x220004(0x541)][_0x220004(0x314)](_0x19990d=>{const _0x451996=_0x220004;_0x19990d[_0x451996(0x1e6)](_0x3d7409);});},0x64));});}[_0x1f33ec(0x3e3)](_0x93dba4,_0x4ef39c){const _0x3b2725=_0x1f33ec;var _0x53033b;const _0x4190df=(_0x53033b=this[_0x3b2725(0x1e8)][_0x3b2725(0x360)]())==null?void 0x0:_0x53033b[_0x3b2725(0x2b6)];if(!_0x4190df)return;const _0x3493ba=this[_0x3b2725(0x1ab)]();if(!_0x3493ba)return;this[_0x3b2725(0x541)][_0x3b2725(0x314)](_0x55000a=>{const _0x146131=_0x3b2725;_0x55000a[_0x146131(0x594)]();});const {scene:_0x40bcd4}=_0x3493ba,_0x6c0481=_0x3e4c49(Array[_0x3b2725(0x34a)](_0x4ef39c['values']()))[_0x3b2725(0x4f2)](_0x52ba57=>{const _0x117e6a=_0x3b2725,{color:_0x14eff4,range:_0x2deeac,name:_0x2baeeb,selection:_0x3efe89,sheetID:_0x27f58a}=_0x52ba57,{startColumn:_0x1d4945,startRow:_0x5c8ae7,endColumn:_0x5041c7,endRow:_0x1336b5}=_0x2deeac,_0x3e52e4=_0x25d706[_0x117e6a(0x315)](_0x5c8ae7,_0x1d4945,_0x40bcd4,_0x4190df),_0x47ddb7=_0x25d706[_0x117e6a(0x315)](_0x1336b5,_0x5041c7,_0x40bcd4,_0x4190df),{columnHeaderHeightAndMarginTop:_0x5e8c5f}=_0x4190df,{startX:_0x533bee,startY:_0x5bc902}=_0x3e52e4,{endX:_0x5be102,endY:_0x4db0b5}=_0x47ddb7,_0xeb7bdd=_0x5be102-_0x533bee,_0x22f4fd=_0x4db0b5-_0x5bc902,_0x3dfbf3={'labelPosition':_0x5bc902-_0x5e8c5f>=_0x53b2a0?'top':'bottom','sheetID':_0x27f58a,'range':_0x2deeac,'color':_0x14eff4,'name':_0x2baeeb,'selection':_0x3efe89,'left':_0x533bee,'top':_0x5bc902,'width':_0xeb7bdd,'height':_0x22f4fd,'evented':!0x1,'zIndex':_0x2a06da};return new _0x2f757e(_0x2baeeb,_0x3dfbf3);});_0x40bcd4['addObjects'](_0x6c0481,_0x5d3913),this[_0x3b2725(0x541)]=new Set(_0x6c0481);}[_0x1f33ec(0x526)](){const _0x207025=_0x1f33ec;var _0x3ab021;(_0x3ab021=this[_0x207025(0x541)])==null||_0x3ab021[_0x207025(0x314)](_0x392dee=>_0x392dee['dispose']());}[_0x1f33ec(0x1ab)](){const _0x144118=_0x1f33ec;return _0x25d706[_0x144118(0x324)](this['_context'][_0x144118(0x453)],this['_context']);}};_0x34647f=_0x2bf171([_0x53ff72(0x1,_0x59f135[_0x1f33ec(0x496)](_0x25d706[_0x1f33ec(0x3b2)])),_0x53ff72(0x2,_0x59f135[_0x1f33ec(0x496)](_0x562939)),_0x53ff72(0x3,_0x59f135[_0x1f33ec(0x496)](_0x59f135[_0x1f33ec(0x284)]))],_0x34647f);function _0x3e4c49(_0x4b28d){const _0x579a80=_0x1f33ec,_0x4676ed=new Map();return _0x4b28d[_0x579a80(0x314)](_0x4cdf1b=>{const _0x547aaa=_0x579a80;if(_0x4676ed['has'](_0x4cdf1b[_0x547aaa(0x4fb)])){const _0x398533=_0x4676ed[_0x547aaa(0x381)](_0x4cdf1b[_0x547aaa(0x4fb)]);_0x398533[_0x547aaa(0x48b)]+=',\x20'+_0x4cdf1b[_0x547aaa(0x48b)];}else _0x4676ed[_0x547aaa(0x5b8)](_0x4cdf1b[_0x547aaa(0x4fb)],_0x4cdf1b);}),Array[_0x579a80(0x34a)](_0x4676ed[_0x579a80(0x4ac)]());}var _0x61560c=function(){return _0x61560c=Object['assign']||function(_0x3c83ae){const _0x4139bf=_0x2fa9;for(var _0x2e0793,_0x395602=0x1,_0x2f241a=arguments['length'];_0x395602<_0x2f241a;_0x395602++){_0x2e0793=arguments[_0x395602];for(var _0x3dd2a9 in _0x2e0793)Object['prototype'][_0x4139bf(0x4ab)]['call'](_0x2e0793,_0x3dd2a9)&&(_0x3c83ae[_0x3dd2a9]=_0x2e0793[_0x3dd2a9]);}return _0x3c83ae;},_0x61560c['apply'](this,arguments);},_0x3d28d8=function(_0x3b63b8,_0x43f555){const _0x1d07ff=_0x1f33ec;var _0x507557={};for(var _0x125624 in _0x3b63b8)Object[_0x1d07ff(0x475)][_0x1d07ff(0x4ab)][_0x1d07ff(0x32e)](_0x3b63b8,_0x125624)&&_0x43f555['indexOf'](_0x125624)<0x0&&(_0x507557[_0x125624]=_0x3b63b8[_0x125624]);if(_0x3b63b8!=null&&typeof Object['getOwnPropertySymbols']==_0x1d07ff(0x29c)){for(var _0x5ba1f1=0x0,_0x125624=Object[_0x1d07ff(0x24b)](_0x3b63b8);_0x5ba1f1<_0x125624['length'];_0x5ba1f1++)_0x43f555['indexOf'](_0x125624[_0x5ba1f1])<0x0&&Object['prototype']['propertyIsEnumerable'][_0x1d07ff(0x32e)](_0x3b63b8,_0x125624[_0x5ba1f1])&&(_0x507557[_0x125624[_0x5ba1f1]]=_0x3b63b8[_0x125624[_0x5ba1f1]]);}return _0x507557;},_0x4502e7=_0x48b279[_0x1f33ec(0x466)](function(_0x25b1e6,_0x2e806a){const _0x38eb3=_0x1f33ec;var _0x256865=_0x25b1e6[_0x38eb3(0x57b)],_0x55999c=_0x25b1e6['id'],_0xf86dbf=_0x25b1e6[_0x38eb3(0x3d8)],_0xdbad51=_0x25b1e6['extend'],_0x18cce6=_0x3d28d8(_0x25b1e6,['icon','id',_0x38eb3(0x3d8),_0x38eb3(0x4f6)]),_0x31c2b4=_0x38eb3(0x1c9)[_0x38eb3(0x3ab)](_0x55999c,'\x20')[_0x38eb3(0x3ab)](_0xf86dbf||'')[_0x38eb3(0x22c)](),_0x1e11a4=_0x48b279[_0x38eb3(0x55c)]('_'[_0x38eb3(0x3ab)](_0x1c9c7b()));return _0x5ed920(_0x256865,''[_0x38eb3(0x3ab)](_0x55999c),{'defIds':_0x256865[_0x38eb3(0x241)],'idSuffix':_0x1e11a4[_0x38eb3(0x3ac)]},_0x61560c({'ref':_0x2e806a,'className':_0x31c2b4},_0x18cce6),_0xdbad51);});function _0x5ed920(_0x326f52,_0x57481b,_0x15d46f,_0x4875f8,_0x3d4b94){const _0x485a8b=_0x1f33ec;return _0x48b279[_0x485a8b(0x4ce)](_0x326f52[_0x485a8b(0x409)],_0x61560c(_0x61560c({'key':_0x57481b},_0x55c038(_0x326f52,_0x15d46f,_0x3d4b94)),_0x4875f8),(_0x1ea97e(_0x326f52,_0x15d46f)[_0x485a8b(0x1f2)]||[])['map'](function(_0x3cb2f3,_0x4fa05f){const _0x24c2a4=_0x485a8b;return _0x5ed920(_0x3cb2f3,''[_0x24c2a4(0x3ab)](_0x57481b,'-')['concat'](_0x326f52[_0x24c2a4(0x409)],'-')[_0x24c2a4(0x3ab)](_0x4fa05f),_0x15d46f,void 0x0,_0x3d4b94);}));}function _0x55c038(_0x429f75,_0x58fe55,_0x6a6f18){const _0x447f09=_0x1f33ec;var _0x2c7dda=_0x61560c({},_0x429f75[_0x447f09(0x4af)]);_0x6a6f18!=null&&_0x6a6f18[_0x447f09(0x281)]&&_0x2c7dda[_0x447f09(0x27f)]===_0x447f09(0x281)&&(_0x2c7dda[_0x447f09(0x27f)]=_0x6a6f18[_0x447f09(0x281)]);var _0x5b68c0=_0x58fe55[_0x447f09(0x241)];return!_0x5b68c0||_0x5b68c0['length']===0x0||(_0x429f75[_0x447f09(0x409)]==='use'&&_0x2c7dda[_0x447f09(0x362)]&&(_0x2c7dda['xlink:href']=_0x2c7dda[_0x447f09(0x362)]+_0x58fe55[_0x447f09(0x3dc)]),Object[_0x447f09(0x4ad)](_0x2c7dda)[_0x447f09(0x314)](function(_0x3283c8){const _0x482365=_0x447f09;var _0x35c73b=_0x3283c8[0x0],_0x20782d=_0x3283c8[0x1];typeof _0x20782d==_0x482365(0x20d)&&(_0x2c7dda[_0x35c73b]=_0x20782d[_0x482365(0x1af)](/url\(#(.*)\)/,_0x482365(0x1ee)[_0x482365(0x3ab)](_0x58fe55[_0x482365(0x3dc)],')')));})),_0x2c7dda;}function _0x1ea97e(_0x5c982f,_0x1689c0){const _0x201d8c=_0x1f33ec;var _0x2f2f5d,_0x2d89f6=_0x1689c0['defIds'];return!_0x2d89f6||_0x2d89f6[_0x201d8c(0x239)]===0x0?_0x5c982f:_0x5c982f['tag']===_0x201d8c(0x2ed)&&(!((_0x2f2f5d=_0x5c982f[_0x201d8c(0x1f2)])===null||_0x2f2f5d===void 0x0)&&_0x2f2f5d[_0x201d8c(0x239)])?_0x61560c(_0x61560c({},_0x5c982f),{'children':_0x5c982f[_0x201d8c(0x1f2)][_0x201d8c(0x4f2)](function(_0x32ed6e){const _0x1004ec=_0x201d8c;return typeof _0x32ed6e[_0x1004ec(0x4af)]['id']=='string'&&_0x2d89f6&&_0x2d89f6[_0x1004ec(0x49b)](_0x32ed6e['attrs']['id'])>-0x1?_0x61560c(_0x61560c({},_0x32ed6e),{'attrs':_0x61560c(_0x61560c({},_0x32ed6e[_0x1004ec(0x4af)]),{'id':_0x32ed6e[_0x1004ec(0x4af)]['id']+_0x1689c0[_0x1004ec(0x3dc)]})}):_0x32ed6e;})}):_0x5c982f;}function _0x1c9c7b(){const _0xd632c8=_0x1f33ec;return Math['random']()['toString'](0x24)[_0xd632c8(0x356)](0x2,0x8);}_0x4502e7['displayName']=_0x1f33ec(0x2d3);var _0x20ab69={'tag':'svg','attrs':{'fill':_0x1f33ec(0x419),'viewBox':'0\x200\x2016\x2016','width':_0x1f33ec(0x56a),'height':_0x1f33ec(0x56a)},'children':[{'tag':'g','attrs':{'clipPath':_0x1f33ec(0x58f)},'children':[{'tag':'path','attrs':{'stroke':_0x1f33ec(0x4b5),'d':'M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','strokeLinecap':'round','strokeLinejoin':_0x1f33ec(0x369),'strokeWidth':1.2}}]},{'tag':_0x1f33ec(0x2ed),'attrs':{},'children':[{'tag':_0x1f33ec(0x255),'attrs':{'id':'off-line-single_clip0_910_343'},'children':[{'tag':_0x1f33ec(0x21d),'attrs':{'fill':_0x1f33ec(0x4c0),'d':_0x1f33ec(0x19c)}}]}]}],'defIds':[_0x1f33ec(0x478)]},_0x383a97=_0x48b279[_0x1f33ec(0x466)](function(_0x332b6e,_0x563306){const _0x56d670=_0x1f33ec;return _0x48b279[_0x56d670(0x4ce)](_0x4502e7,Object[_0x56d670(0x289)]({},_0x332b6e,{'id':_0x56d670(0x2d1),'ref':_0x563306,'icon':_0x20ab69}));});_0x383a97[_0x1f33ec(0x562)]=_0x1f33ec(0x1c6);var _0x239225={'tag':'svg','attrs':{'fill':_0x1f33ec(0x419),'viewBox':_0x1f33ec(0x1b0),'width':'1em','height':_0x1f33ec(0x56a)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-single_clip0_910_349)'},'children':[{'tag':_0x1f33ec(0x21d),'attrs':{'stroke':_0x1f33ec(0x4b5),'d':_0x1f33ec(0x400),'strokeLinecap':'round','strokeLinejoin':_0x1f33ec(0x369),'strokeWidth':1.2}}]},{'tag':_0x1f33ec(0x2ed),'attrs':{},'children':[{'tag':_0x1f33ec(0x255),'attrs':{'id':_0x1f33ec(0x41e)},'children':[{'tag':_0x1f33ec(0x21d),'attrs':{'fill':'#fff','d':_0x1f33ec(0x19c),'transform':_0x1f33ec(0x1a3)}}]}]}],'defIds':[_0x1f33ec(0x41e)]},_0x2a646a=_0x48b279['forwardRef'](function(_0x14760c,_0x3b2dac){const _0x77877b=_0x1f33ec;return _0x48b279[_0x77877b(0x4ce)](_0x4502e7,Object[_0x77877b(0x289)]({},_0x14760c,{'id':_0x77877b(0x31c),'ref':_0x3b2dac,'icon':_0x239225}));});_0x2a646a[_0x1f33ec(0x562)]=_0x1f33ec(0x59d);function _0x446ee0(_0x1b1a5a){const _0x45b60f=_0x1f33ec;var _0x339f9c,_0x2f7673,_0x145c90='';if(typeof _0x1b1a5a=='string'||typeof _0x1b1a5a==_0x45b60f(0x50b))_0x145c90+=_0x1b1a5a;else{if(typeof _0x1b1a5a==_0x45b60f(0x323)){if(Array['isArray'](_0x1b1a5a)){var _0x2e5bba=_0x1b1a5a[_0x45b60f(0x239)];for(_0x339f9c=0x0;_0x339f9c<_0x2e5bba;_0x339f9c++)_0x1b1a5a[_0x339f9c]&&(_0x2f7673=_0x446ee0(_0x1b1a5a[_0x339f9c]))&&(_0x145c90&&(_0x145c90+='\x20'),_0x145c90+=_0x2f7673);}else{for(_0x2f7673 in _0x1b1a5a)_0x1b1a5a[_0x2f7673]&&(_0x145c90&&(_0x145c90+='\x20'),_0x145c90+=_0x2f7673);}}}return _0x145c90;}function _0xb3070a(){const _0xadefa6=_0x1f33ec;for(var _0x82b9d9,_0x34930b,_0x5a88a5=0x0,_0x360f42='',_0x11f2d0=arguments[_0xadefa6(0x239)];_0x5a88a5<_0x11f2d0;_0x5a88a5++)(_0x82b9d9=arguments[_0x5a88a5])&&(_0x34930b=_0x446ee0(_0x82b9d9))&&(_0x360f42&&(_0x360f42+='\x20'),_0x360f42+=_0x34930b);return _0x360f42;}const _0x3b0f65={'onlineStatusIcon':'univer-online-status-icon','onlineStatusTitle':'univer-online-status-title','onlineStatus':_0x1f33ec(0x3c8),'online':_0x1f33ec(0x37f),'offline':_0x1f33ec(0x242)};function _0x350a5f(_0x2e057a){const _0x12fdbd=_0x1f33ec;switch(_0x2e057a){case _0x3e1bc4[_0x12fdbd(0x26b)]:return _0x12fdbd(0x19d);case _0x3e1bc4['CONFLICT']:return'collabStatus.conflict';case _0x3e1bc4[_0x12fdbd(0x543)]:return _0x12fdbd(0x520);case _0x3e1bc4['NOT_COLLAB']:return _0x12fdbd(0x19a);case _0x3e1bc4[_0x12fdbd(0x49e)]:case _0x3e1bc4[_0x12fdbd(0x336)]:case _0x3e1bc4['AWAITING_WITH_PENDING']:return _0x12fdbd(0x28d);case _0x3e1bc4['SYNCED']:return'collabStatus.synced';}}function _0x4a2a1e(_0x12735d){const _0x1da9b5=_0x1f33ec,{status$:_0xb866b0}=_0x12735d,_0x18e424=_0x575a2d[_0x1da9b5(0x2fc)](_0xb866b0,_0x3e1bc4['NOT_COLLAB']),_0x32f065=_0x59f135[_0x1da9b5(0x407)](_0x59f135[_0x1da9b5(0x351)]),_0x5ba1b5=_0x59f135['useDependency'](_0x358006[_0x1da9b5(0x48d)]),_0x51c417=_0x18e424!==_0x3e1bc4[_0x1da9b5(0x26b)],_0x29251b=_0x32f065['t'](_0x350a5f(_0x18e424)),_0x58ab27=_0xb3070a(_0x3b0f65['onlineStatus'],{[_0x3b0f65[_0x1da9b5(0x1b6)]]:_0x51c417,[_0x3b0f65['offline']]:!_0x51c417}),_0x3ac426=_0x51c417?_0x48b279[_0x1da9b5(0x4ce)](_0x2a646a,null):_0x48b279[_0x1da9b5(0x4ce)](_0x383a97,null),_0x2ffb93=_0x48b279[_0x1da9b5(0x2ac)](()=>{_0x51c417||_0x5ba1b5['reconnect']();},[_0x51c417,_0x5ba1b5]);function _0x14830d(){const _0x134e36=_0x1da9b5;return _0x48b279[_0x134e36(0x4ce)](_0x134e36(0x3c9),{'className':_0x58ab27,'onClick':_0x2ffb93},_0x48b279['createElement'](_0x134e36(0x3c9),{'className':_0x3b0f65['onlineStatusIcon']},_0x3ac426),_0x48b279[_0x134e36(0x4ce)](_0x134e36(0x3c9),{'className':_0x3b0f65[_0x134e36(0x273)]},_0x29251b));}return _0x51c417?_0x14830d():_0x48b279[_0x1da9b5(0x4ce)](_0x115a16[_0x1da9b5(0x2e0)],{'title':_0x32f065['t'](_0x1da9b5(0x38d))},_0x14830d());}var _0x1da3a2=Object[_0x1f33ec(0x3be)],_0x262ae2=Object[_0x1f33ec(0x36c)],_0x3e0125=(_0x51854f,_0x227151,_0xf4808e,_0xe478a8)=>{const _0x3365f3=_0x1f33ec;for(var _0x54bde8=_0xe478a8>0x1?void 0x0:_0xe478a8?_0x262ae2(_0x227151,_0xf4808e):_0x227151,_0x5268b3=_0x51854f[_0x3365f3(0x239)]-0x1,_0x256900;_0x5268b3>=0x0;_0x5268b3--)(_0x256900=_0x51854f[_0x5268b3])&&(_0x54bde8=(_0xe478a8?_0x256900(_0x227151,_0xf4808e,_0x54bde8):_0x256900(_0x54bde8))||_0x54bde8);return _0xe478a8&&_0x54bde8&&_0x1da3a2(_0x227151,_0xf4808e,_0x54bde8),_0x54bde8;},_0x44f020=(_0x70f9e0,_0xc5be2a)=>(_0x199433,_0x3a665d)=>_0xc5be2a(_0x199433,_0x3a665d,_0x70f9e0);_0x358006[_0x1f33ec(0x2de)]=class extends _0x59f135[_0x1f33ec(0x1f5)]{constructor(_0x451ef2,_0x16d4f9,_0x194917,_0x1d8877){const _0x5f4cac=_0x1f33ec;super(),_0x4fb0a3(this,_0x5f4cac(0x21f),new _0x2a4cb9['BehaviorSubject'](_0x3e1bc4[_0x5f4cac(0x190)])),(this[_0x5f4cac(0x540)]=_0x451ef2,this[_0x5f4cac(0x3fe)]=_0x16d4f9,this['_injector']=_0x194917,this[_0x5f4cac(0x327)]=_0x1d8877,this[_0x5f4cac(0x23d)](),this[_0x5f4cac(0x254)]());}[_0x1f33ec(0x254)](){const _0x59b44d=_0x1f33ec;this[_0x59b44d(0x3f2)](this[_0x59b44d(0x540)]['focused$'][_0x59b44d(0x51d)](_0x2a4cb9[_0x59b44d(0x550)](()=>{const _0x3d9faa=_0x59b44d,_0x929fc1=this['_univerInstanceService'][_0x3d9faa(0x258)]();return _0x929fc1?this[_0x3d9faa(0x327)][_0x3d9faa(0x3d4)](_0x929fc1[_0x3d9faa(0x4cb)]()):_0x2a4cb9['of'](null);}),_0x2a4cb9['switchMap'](_0x6a54a6=>_0x6a54a6?_0x6a54a6[_0x59b44d(0x4f0)]:_0x2a4cb9['of'](_0x3e1bc4[_0x59b44d(0x190)])))[_0x59b44d(0x4ff)](_0x5d1b67=>{const _0x49462d=_0x59b44d;this[_0x49462d(0x21f)]['next'](_0x5d1b67);}));}[_0x1f33ec(0x23d)](){const _0xc9a365=_0x1f33ec;this[_0xc9a365(0x3f2)](this[_0xc9a365(0x3fe)][_0xc9a365(0x48c)](_0x575a2d[_0xc9a365(0x4e9)][_0xc9a365(0x27c)],()=>_0x59f135[_0xc9a365(0x370)](_0x135bbe({'status$':this[_0xc9a365(0x21f)][_0xc9a365(0x270)]()}),this[_0xc9a365(0x368)])));}},_0x358006[_0x1f33ec(0x2de)]=_0x3e0125([_0x44f020(0x0,_0x59f135[_0x1f33ec(0x1c2)]),_0x44f020(0x1,_0x575a2d['IUIPartsService']),_0x44f020(0x2,_0x59f135[_0x1f33ec(0x496)](_0x59f135[_0x1f33ec(0x3a8)])),_0x44f020(0x3,_0x59f135['Inject'](_0x358006[_0x1f33ec(0x4cc)]))],_0x358006[_0x1f33ec(0x2de)]);function _0x135bbe(_0x55fccf){const {status$:_0x11a183}=_0x55fccf;return function(){const _0x40eade=_0x2fa9;return _0x48b279[_0x40eade(0x4ce)](_0x4a2a1e,{'status$':_0x11a183});};}const _0x41e07a=_0x59f135[_0x1f33ec(0x3c6)](_0x1f33ec(0x3ad));var _0x2a6b38=Object['defineProperty'],_0xc60475=Object[_0x1f33ec(0x36c)],_0x337a37=(_0x2f83dd,_0x134ef0,_0x1f2b1c,_0x57f922)=>{for(var _0x44e222=_0x57f922>0x1?void 0x0:_0x57f922?_0xc60475(_0x134ef0,_0x1f2b1c):_0x134ef0,_0x43a6b9=_0x2f83dd['length']-0x1,_0x29d09b;_0x43a6b9>=0x0;_0x43a6b9--)(_0x29d09b=_0x2f83dd[_0x43a6b9])&&(_0x44e222=(_0x57f922?_0x29d09b(_0x134ef0,_0x1f2b1c,_0x44e222):_0x29d09b(_0x44e222))||_0x44e222);return _0x57f922&&_0x44e222&&_0x2a6b38(_0x134ef0,_0x1f2b1c,_0x44e222),_0x44e222;},_0x77909c=(_0x3ee5ef,_0x158e99)=>(_0x3b35e3,_0x43bb4d)=>_0x158e99(_0x3b35e3,_0x43bb4d,_0x3ee5ef);_0x358006['DataLoaderController']=class extends _0x59f135[_0x1f33ec(0x490)]{constructor(_0x459273,_0x384146,_0x4404e3,_0x846f07,_0x29d79a,_0x343cdd){const _0x4cd993=_0x1f33ec;super(),this[_0x4cd993(0x481)]=_0x459273,this[_0x4cd993(0x59c)]=_0x384146,this[_0x4cd993(0x194)]=_0x4404e3,this[_0x4cd993(0x4e8)]=_0x846f07,this[_0x4cd993(0x2ae)]=_0x29d79a,_0x343cdd?_0x343cdd==null||_0x343cdd[_0x4cd993(0x1bd)]()['then'](()=>this[_0x4cd993(0x430)]()):(this[_0x4cd993(0x59c)][_0x4cd993(0x1f4)](_0x4cd993(0x226),_0x4cd993(0x251)),this[_0x4cd993(0x430)]());}async[_0x1f33ec(0x430)](){const _0x3a6e87=_0x1f33ec,_0x308de2=this[_0x3a6e87(0x481)]['getParam'](_0x3a6e87(0x453)),_0x3e8a71=this['_urlService'][_0x3a6e87(0x502)](_0x3a6e87(0x232));if(!_0x308de2||!_0x3e8a71){this[_0x3a6e87(0x59c)][_0x3a6e87(0x1f4)]('[DataLoaderController]','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}switch(Number(_0x3e8a71)){case _0x3620e1[_0x3a6e87(0x333)]:{const _0x25734b=await this['_loadSheet'](_0x308de2);this[_0x3a6e87(0x408)](_0x25734b);break;}case _0x3620e1[_0x3a6e87(0x53a)]:{await this[_0x3a6e87(0x48e)](_0x308de2);break;}default:{this[_0x3a6e87(0x59c)][_0x3a6e87(0x4bd)](_0x3a6e87(0x226),'Unknown\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');break;}}}async[_0x1f33ec(0x408)](_0x5c994e){const _0x144416=_0x1f33ec;await this['_updateSubUnitFromURLParams'](_0x5c994e),_0x5c994e[_0x144416(0x3ca)][_0x144416(0x51d)](_0x2a4cb9['takeUntil'](this[_0x144416(0x494)]))[_0x144416(0x4ff)](_0x44c6f5=>{const _0x19bb9d=_0x144416;_0x44c6f5&&this[_0x19bb9d(0x29b)](_0x44c6f5);}),this[_0x144416(0x481)][_0x144416(0x385)][_0x144416(0x51d)](_0x2a4cb9[_0x144416(0x25a)](this[_0x144416(0x494)]))[_0x144416(0x4ff)](()=>this[_0x144416(0x52c)](_0x5c994e));}['_updateURLWithCurrentState'](_0x1af803,_0x521990=!0x1){const _0x4b4890=_0x1f33ec,_0x13a470=this['_urlService'][_0x4b4890(0x502)](_0x4b4890(0x49f));_0x1af803[_0x4b4890(0x211)]()!==_0x13a470&&this[_0x4b4890(0x481)][_0x4b4890(0x2f3)](_0x4b4890(0x49f),_0x1af803[_0x4b4890(0x211)](),_0x521990);}async['_updateSubUnitFromURLParams'](_0x40b213){const _0x21cd7f=_0x1f33ec;var _0x3fe191;const _0xab3147=this['_urlService'][_0x21cd7f(0x502)](_0x21cd7f(0x49f));if(!_0xab3147||!_0x40b213[_0x21cd7f(0x20b)](_0xab3147)){const _0x1868ff=_0x40b213[_0x21cd7f(0x2e7)]()[0x0],_0x301a63=_0x40b213[_0x21cd7f(0x20b)](_0x1868ff);if(!_0x301a63)return;this[_0x21cd7f(0x29b)](_0x301a63,!0x0),await this[_0x21cd7f(0x194)][_0x21cd7f(0x2c7)](_0x4dc08b[_0x21cd7f(0x579)]['id'],{'unitId':_0x40b213[_0x21cd7f(0x4cb)](),'subUnitId':_0x1868ff});return;}((_0x3fe191=_0x40b213[_0x21cd7f(0x334)]())==null?void 0x0:_0x3fe191[_0x21cd7f(0x211)]())!==_0xab3147&&await this[_0x21cd7f(0x194)][_0x21cd7f(0x2c7)](_0x4dc08b[_0x21cd7f(0x579)]['id'],{'unitId':_0x40b213['getUnitId'](),'subUnitId':_0xab3147});}async[_0x1f33ec(0x35a)](_0x21fb0e){const _0xfc3fcd=_0x1f33ec;let _0x4c85f4=0x0;const _0x18db6a=await this[_0xfc3fcd(0x4e8)]['loadOfflineData'](_0x21fb0e);return _0x18db6a&&(_0x18db6a[_0xfc3fcd(0x355)]||_0x18db6a[_0xfc3fcd(0x561)]['length']!==0x0)&&(_0x4c85f4=_0x18db6a[_0xfc3fcd(0x4dc)]),_0x4c85f4===0x0&&this[_0xfc3fcd(0x59c)]['debug']('[DataLoaderController]',_0xfc3fcd(0x4b0)),this['_snapshotService']['loadSheet'](_0x21fb0e,_0x4c85f4);}async[_0x1f33ec(0x48e)](_0xfc3c2e){const _0x43e682=_0x1f33ec;let _0x3a4340=0x0;const _0x410dd3=await this[_0x43e682(0x4e8)][_0x43e682(0x4b4)](_0xfc3c2e);return _0x410dd3&&(_0x410dd3['awaitingChangeset']||_0x410dd3[_0x43e682(0x561)][_0x43e682(0x239)]!==0x0)&&(_0x3a4340=_0x410dd3[_0x43e682(0x4dc)]),_0x3a4340===0x0&&this[_0x43e682(0x59c)][_0x43e682(0x1f4)]('[DataLoaderController]',_0x43e682(0x4b0)),this[_0x43e682(0x2ae)][_0x43e682(0x1b3)](_0xfc3c2e,_0x3a4340);}},_0x358006[_0x1f33ec(0x1b5)]=_0x337a37([_0x77909c(0x0,_0x41e07a),_0x77909c(0x1,_0x59f135[_0x1f33ec(0x43b)]),_0x77909c(0x2,_0x59f135['ICommandService']),_0x77909c(0x3,_0x59f135[_0x1f33ec(0x496)](_0x358006[_0x1f33ec(0x2e6)])),_0x77909c(0x4,_0x59f135[_0x1f33ec(0x496)](_0xd9269e[_0x1f33ec(0x285)])),_0x77909c(0x5,_0x59f135['Optional'](_0x222a10[_0x1f33ec(0x4e2)]))],_0x358006[_0x1f33ec(0x1b5)]);var _0x31b3ca=Object['defineProperty'],_0x5b5dfa=Object[_0x1f33ec(0x36c)],_0x44aa93=(_0x18f226,_0x3e28a4,_0x4fc1b7,_0x18c781)=>{const _0x30a893=_0x1f33ec;for(var _0x3de3d1=_0x18c781>0x1?void 0x0:_0x18c781?_0x5b5dfa(_0x3e28a4,_0x4fc1b7):_0x3e28a4,_0xc269e3=_0x18f226[_0x30a893(0x239)]-0x1,_0x4a5262;_0xc269e3>=0x0;_0xc269e3--)(_0x4a5262=_0x18f226[_0xc269e3])&&(_0x3de3d1=(_0x18c781?_0x4a5262(_0x3e28a4,_0x4fc1b7,_0x3de3d1):_0x4a5262(_0x3de3d1))||_0x3de3d1);return _0x18c781&&_0x3de3d1&&_0x31b3ca(_0x3e28a4,_0x4fc1b7,_0x3de3d1),_0x3de3d1;},_0x35495b=(_0x242e6e,_0x19f20a)=>(_0x42cced,_0x4ca3a5)=>_0x19f20a(_0x42cced,_0x4ca3a5,_0x242e6e);const _0x52856c=_0x1f33ec(0x4f1),_0x59b60f=_0x1f33ec(0x1a1);let _0x2259f6=class extends _0x59f135['Disposable']{constructor(_0x23a581,_0x3d9e6b){const _0x338eba=_0x1f33ec;super(),this[_0x338eba(0x540)]=_0x23a581,this['_configService']=_0x3d9e6b,this['_init']();}[_0x1f33ec(0x430)](){const _0x472194=_0x1f33ec;this['disposeWithMe'](this[_0x472194(0x540)][_0x472194(0x318)][_0x472194(0x4ff)](()=>{const _0x75e870=_0x472194;var _0x514a05;const _0x483636=this[_0x75e870(0x540)][_0x75e870(0x258)]();let _0x3cc5c9=(_0x514a05=this[_0x75e870(0x261)][_0x75e870(0x230)](_0x52856c))!=null?_0x514a05:_0x59b60f;_0x483636 instanceof _0x59f135['Workbook']&&(_0x3cc5c9=_0x483636[_0x75e870(0x48b)]),document[_0x75e870(0x3f9)]=_0x3cc5c9;}));}};_0x2259f6=_0x44aa93([_0x35495b(0x0,_0x59f135[_0x1f33ec(0x1c2)]),_0x35495b(0x1,_0x59f135[_0x1f33ec(0x39d)])],_0x2259f6);var _0x6b4685=Object['defineProperty'],_0x1bef24=Object[_0x1f33ec(0x36c)],_0x158cb7=(_0x5cb460,_0x362ce6,_0x808732,_0x3761a0)=>{const _0x362d9f=_0x1f33ec;for(var _0x45a3b2=_0x3761a0>0x1?void 0x0:_0x3761a0?_0x1bef24(_0x362ce6,_0x808732):_0x362ce6,_0x3898de=_0x5cb460[_0x362d9f(0x239)]-0x1,_0x35de53;_0x3898de>=0x0;_0x3898de--)(_0x35de53=_0x5cb460[_0x3898de])&&(_0x45a3b2=(_0x3761a0?_0x35de53(_0x362ce6,_0x808732,_0x45a3b2):_0x35de53(_0x45a3b2))||_0x45a3b2);return _0x3761a0&&_0x45a3b2&&_0x6b4685(_0x362ce6,_0x808732,_0x45a3b2),_0x45a3b2;},_0x437a07=(_0x16d0fb,_0x5e4824)=>(_0x4977b8,_0x2a5616)=>_0x5e4824(_0x4977b8,_0x2a5616,_0x16d0fb);let _0x4f3699=class{constructor(_0xe9beb0,_0xaf9d36,_0x4e74de){const _0x12e640=_0x1f33ec;this['_configService']=_0xe9beb0,this[_0x12e640(0x2d8)]=_0xaf9d36,this[_0x12e640(0x245)]=_0x4e74de,this[_0x12e640(0x1fa)]();}[_0x1f33ec(0x1fa)](){const _0x5e8eeb=_0x1f33ec;this['_httpService'][_0x5e8eeb(0x3aa)]({'priority':0x1,'interceptor':(_0x2a3d0e,_0x349e13)=>_0x349e13(_0x2a3d0e)[_0x5e8eeb(0x51d)](_0x2a4cb9[_0x5e8eeb(0x298)](async _0x41d447=>{const _0x4535ee=_0x5e8eeb,_0x41bc3e=_0x41d447;if(_0x41bc3e[_0x4535ee(0x3fb)]===0x191&&window[_0x4535ee(0x34e)](this[_0x4535ee(0x245)]['t'](_0x4535ee(0x1b9)))){const _0xc6e419=window[_0x4535ee(0x5ad)](window[_0x4535ee(0x282)]['href']);window[_0x4535ee(0x282)][_0x4535ee(0x3df)]=this['_getLoginPath']()+_0x4535ee(0x465)+_0xc6e419;}return _0x41bc3e;}))});}[_0x1f33ec(0x555)](){const _0x1f6235=_0x1f33ec;var _0x4ca722,_0x493438;const _0x5159da=this[_0x1f6235(0x261)]['getConfig'](_0x4915d0),_0x53198a=this[_0x1f6235(0x261)][_0x1f6235(0x230)](_0x4e0661);return(_0x493438=(_0x4ca722=_0x53198a==null?void 0x0:_0x53198a[_0x1f6235(0x1f1)])!=null?_0x4ca722:_0x5159da)!=null?_0x493438:_0x5e6411;}};_0x4f3699=_0x158cb7([_0x437a07(0x0,_0x59f135['IConfigService']),_0x437a07(0x1,_0x59f135[_0x1f33ec(0x496)](_0x485f5a['HTTPService'])),_0x437a07(0x2,_0x59f135['Inject'](_0x59f135[_0x1f33ec(0x351)]))],_0x4f3699);var _0x1d60de=Object['defineProperty'],_0xd1e2a7=Object[_0x1f33ec(0x36c)],_0x7ba049=(_0x2a549a,_0x5deaa8,_0x3ec7b8,_0x36d4e0)=>{const _0x3d0c40=_0x1f33ec;for(var _0x4599f2=_0x36d4e0>0x1?void 0x0:_0x36d4e0?_0xd1e2a7(_0x5deaa8,_0x3ec7b8):_0x5deaa8,_0x46e0b9=_0x2a549a[_0x3d0c40(0x239)]-0x1,_0x2fddfd;_0x46e0b9>=0x0;_0x46e0b9--)(_0x2fddfd=_0x2a549a[_0x46e0b9])&&(_0x4599f2=(_0x36d4e0?_0x2fddfd(_0x5deaa8,_0x3ec7b8,_0x4599f2):_0x2fddfd(_0x4599f2))||_0x4599f2);return _0x36d4e0&&_0x4599f2&&_0x1d60de(_0x5deaa8,_0x3ec7b8,_0x4599f2),_0x4599f2;},_0x59e460=(_0x443e82,_0x3b03b1)=>(_0x1d9e25,_0x188313)=>_0x3b03b1(_0x1d9e25,_0x188313,_0x443e82);const _0x3fd33e=_0x1f33ec(0x198),_0xe10eee=_0x1f33ec(0x4ae);_0x358006[_0x1f33ec(0x553)]=class extends _0x59f135['Disposable']{constructor(_0x1d87cc,_0x5ebc7c){const _0x4fcdfd=_0x1f33ec;super(),this[_0x4fcdfd(0x548)]=_0x1d87cc,this[_0x4fcdfd(0x261)]=_0x5ebc7c,this[_0x4fcdfd(0x1b2)]();}['_initMergeInterceptor'](){const _0x4cefb5=_0x1f33ec,_0x283523=this;this['disposeWithMe'](this[_0x4cefb5(0x548)][_0x4cefb5(0x3aa)]({'priority':0x3e7,'interceptor':_0x485f5a[_0x4cefb5(0x396)]({'isMatch'(_0x5ac112){const _0x21436b=_0x4cefb5;var _0x13010c;if(_0x5ac112['method']===_0x21436b(0x549)&&((_0x13010c=_0x5ac112[_0x21436b(0x2d0)])!=null&&_0x13010c[_0x21436b(0x311)])){const {objectID:_0x246a5a,objectType:_0x26a659}=_0x5ac112['requestParams'][_0x21436b(0x311)]||{};if(!_0x246a5a||_0x26a659===void 0x0)return!0x1;const _0x5cdf3b=_0x283523[_0x21436b(0x2a9)]()+'/'+_0x26a659+_0x21436b(0x2ea)+_0x246a5a+_0x21436b(0x202);if(_0x5ac112['url']===_0x5cdf3b)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x38768d){const _0x2b0924=_0x4cefb5;var _0x1236cc;return(_0x1236cc=_0x38768d[_0x2b0924(0x2d0)])==null?void 0x0:_0x1236cc[_0x2b0924(0x311)];},'mergeParamsToRequest'(_0x54a313,_0x17ebd8){const _0x107d4f=_0x4cefb5,_0x4c6be7=_0x283523[_0x107d4f(0x2a9)]()+_0x107d4f(0x4ed),_0x57206f=_0x54a313[_0x107d4f(0x2db)]((_0x2bd830,_0x3f3624)=>{const _0x246f6b=_0x107d4f,{unitID:_0x1899e5,objectID:_0x8d0cb3,objectType:_0x5eb684,actions:_0x2bb30f}=_0x3f3624;return _0x2bd830[_0x1899e5]||(_0x2bd830[_0x1899e5]={}),_0x2bd830[_0x1899e5][_0x8d0cb3]||(_0x2bd830[_0x1899e5][_0x8d0cb3]={'objectID':_0x8d0cb3,'objectType':_0x5eb684,'actions':[]}),_0x2bd830[_0x1899e5][_0x8d0cb3][_0x246f6b(0x506)]['push'](..._0x2bb30f),_0x2bd830;},{}),_0x3953df=[];for(const _0x24de48 in _0x57206f)for(const _0x4d7341 in _0x57206f[_0x24de48]){const {actions:_0xb9452c,objectType:_0x5ec624}=_0x57206f[_0x24de48][_0x4d7341],_0x19e553=[...new Set(_0xb9452c)];_0x3953df[_0x107d4f(0x3e8)]({'unitID':_0x24de48,'objectID':_0x4d7341,'objectType':_0x5ec624,'actions':_0x19e553});}return new _0x485f5a[(_0x107d4f(0x4ec))]('POST',_0x4c6be7,{'headers':_0x17ebd8[_0x107d4f(0x551)],'withCredentials':_0x17ebd8['withCredentials'],'responseType':_0x17ebd8[_0x107d4f(0x54c)],'body':{'requests':_0x3953df}});}},{'distributeResult'(_0x4a4ce7,_0x3d1de1){const _0x51bf3a=_0x4cefb5,{objectActions:_0x4b5188}=_0x4a4ce7;return _0x3d1de1[_0x51bf3a(0x4f2)](_0x51a61d=>{const _0x303bb5=_0x51bf3a,{unitID:_0x3e45a4,objectID:_0xd8b082,actions:_0x1e29ef}=_0x51a61d,_0x2447d7=_0x4b5188[_0x303bb5(0x36b)](_0x1604c4=>_0x1604c4[_0x303bb5(0x433)]===_0x3e45a4&&_0x1604c4[_0x303bb5(0x2e9)]===_0xd8b082),_0x3c9e0d=_0x1e29ef[_0x303bb5(0x4f2)](_0x24bf4e=>_0x2447d7==null?void 0x0:_0x2447d7[_0x303bb5(0x506)][_0x303bb5(0x36b)](_0x17388c=>_0x17388c[_0x303bb5(0x4ea)]===_0x24bf4e))['filter'](_0x564455=>!!_0x564455);return{'config':_0x51a61d,'result':{'actions':_0x3c9e0d,'error':_0x4a4ce7['error']}};});}})}));}[_0x1f33ec(0x2a9)](){const _0x533ac8=_0x1f33ec;var _0x18eb19,_0x372302;const _0x5734bc=this[_0x533ac8(0x261)][_0x533ac8(0x230)](_0x3fd33e),_0x74a8ae=this['_configService']['getConfig'](_0x4e0661);return(_0x372302=(_0x18eb19=_0x74a8ae==null?void 0x0:_0x74a8ae['authzUrl'])!=null?_0x18eb19:_0x5734bc)!=null?_0x372302:_0xe10eee;}async[_0x1f33ec(0x2da)](_0x5bc367){const _0x4c0fe0=_0x1f33ec,_0x5336ea=this[_0x4c0fe0(0x2a9)]()+'/'+_0x5bc367['objectType']+_0x4c0fe0(0x4ef);return(await this[_0x4c0fe0(0x548)][_0x4c0fe0(0x508)](_0x5336ea,{'body':_0x5bc367}))[_0x4c0fe0(0x311)]['objectID']||'';}async[_0x1f33ec(0x557)](_0x4da5f9){const _0x3e5fc7=_0x1f33ec,_0x115df0=this[_0x3e5fc7(0x2a9)]()+_0x3e5fc7(0x353);return(await this[_0x3e5fc7(0x548)][_0x3e5fc7(0x508)](_0x115df0,{'body':_0x4da5f9}))[_0x3e5fc7(0x311)]['objects'];}async[_0x1f33ec(0x275)](_0x46e946){const _0x1dca04=_0x1f33ec,_0x2b94d1=this['_getAPIPrefixPath']()+'/'+_0x46e946[_0x1dca04(0x4c8)]+'/object/'+_0x46e946['objectID'];await this[_0x1dca04(0x548)][_0x1dca04(0x2fe)](_0x2b94d1,{'body':_0x46e946});}async[_0x1f33ec(0x1ea)](_0x1f74cd){const _0x5071f=_0x1f33ec,_0x3d41f7=this[_0x5071f(0x2a9)]()+'/'+_0x1f74cd[_0x5071f(0x4c8)]+_0x5071f(0x2ea)+_0x1f74cd[_0x5071f(0x2e9)]+_0x5071f(0x202);return(await this['_HTTPService']['post'](_0x3d41f7,{'body':_0x1f74cd}))['body'][_0x5071f(0x506)];}async[_0x1f33ec(0x4aa)](_0x2a9344){const _0x359473=_0x1f33ec,_0x1d19f=this[_0x359473(0x2a9)]()+_0x359473(0x4ed);return(await this['_HTTPService'][_0x359473(0x508)](_0x1d19f,{'body':{'requests':_0x2a9344}}))[_0x359473(0x311)][_0x359473(0x338)];}async[_0x1f33ec(0x2fb)](_0x1dc18a){const _0x34fce9=_0x1f33ec,_0x259b58=this[_0x34fce9(0x2a9)]()+'/'+_0x1dc18a['objectType']+'/role',_0x7cf6c=await this[_0x34fce9(0x548)]['post'](_0x259b58,{'body':_0x1dc18a});return{'roles':_0x7cf6c[_0x34fce9(0x311)]['roles'],'actions':_0x7cf6c[_0x34fce9(0x311)]['actions']};}async['deleteCollaborator'](_0x26eaeb){const _0xbc2a80=_0x1f33ec,_0x5a1fba=this[_0xbc2a80(0x2a9)]()+_0xbc2a80(0x42b);await this[_0xbc2a80(0x548)][_0xbc2a80(0x215)](_0x5a1fba,{'params':{'collaboratorID':_0x26eaeb['collaboratorID'],'objectID':_0x26eaeb[_0xbc2a80(0x2e9)],'unitID':_0x26eaeb[_0xbc2a80(0x433)]}});}async[_0x1f33ec(0x591)](_0xadb749){const _0x5cd031=_0x1f33ec,_0x2720ad=this['_getAPIPrefixPath']()+_0x5cd031(0x42b);await this[_0x5cd031(0x548)][_0x5cd031(0x45b)](_0x2720ad,{'body':_0xadb749});}async[_0x1f33ec(0x431)](_0x4e2426){const _0x1fded6=_0x1f33ec,_0x1275ad=this[_0x1fded6(0x2a9)]()+_0x1fded6(0x42b);await this[_0x1fded6(0x548)][_0x1fded6(0x508)](_0x1275ad,{'body':_0x4e2426});}async[_0x1f33ec(0x3f4)](_0x44e7c1){const _0x1b17d5=_0x1f33ec,_0xcbb47d=this['_getAPIPrefixPath']()+'/collaborator';return(await this[_0x1b17d5(0x548)][_0x1b17d5(0x381)](_0xcbb47d,{'params':{'objectID':_0x44e7c1['objectID'],'unitID':_0x44e7c1[_0x1b17d5(0x433)]}}))[_0x1b17d5(0x311)][_0x1b17d5(0x2f7)];}async[_0x1f33ec(0x416)](_0x354ac8){const _0x5e0ddd=_0x1f33ec,_0x4c93bc=this[_0x5e0ddd(0x2a9)]()+_0x5e0ddd(0x42b);await this[_0x5e0ddd(0x548)]['put'](_0x4c93bc,{'body':_0x354ac8});}},_0x358006[_0x1f33ec(0x553)]=_0x7ba049([_0x59e460(0x0,_0x59f135[_0x1f33ec(0x496)](_0x485f5a[_0x1f33ec(0x500)])),_0x59e460(0x1,_0x59f135['Inject'](_0x59f135[_0x1f33ec(0x39d)]))],_0x358006['AuthzIoHttpService']);var _0x4cda07=Object[_0x1f33ec(0x3be)],_0x566599=Object[_0x1f33ec(0x36c)],_0x19fd39=(_0x5479f4,_0x468f4f,_0x544ba6,_0x5f1141)=>{for(var _0x220c46=_0x5f1141>0x1?void 0x0:_0x5f1141?_0x566599(_0x468f4f,_0x544ba6):_0x468f4f,_0x3e4b7c=_0x5479f4['length']-0x1,_0x489bf0;_0x3e4b7c>=0x0;_0x3e4b7c--)(_0x489bf0=_0x5479f4[_0x3e4b7c])&&(_0x220c46=(_0x5f1141?_0x489bf0(_0x468f4f,_0x544ba6,_0x220c46):_0x489bf0(_0x220c46))||_0x220c46);return _0x5f1141&&_0x220c46&&_0x4cda07(_0x468f4f,_0x544ba6,_0x220c46),_0x220c46;},_0x2f5d09=(_0x5eda8d,_0x8c89ff)=>(_0x3088dd,_0x4ac645)=>_0x8c89ff(_0x3088dd,_0x4ac645,_0x5eda8d);let _0x333398=class{constructor(_0x26152f){const _0x1b1814=_0x1f33ec;this[_0x1b1814(0x2d8)]=_0x26152f,this[_0x1b1814(0x4f4)]();}['_initRequestHeader'](){const _0x58a78b=_0x1f33ec;this[_0x58a78b(0x2d8)]['registerHTTPInterceptor']({'interceptor':(_0x284a7a,_0x35afe9)=>{const _0x3b33e9=_0x58a78b,_0x473937=_0x284a7a[_0x3b33e9(0x551)],_0x5c41d3=_0x1083fd[_0x3b33e9(0x3ee)]();return _0x5c41d3&&_0x473937[_0x3b33e9(0x5b8)](_0x3b33e9(0x212),_0x5c41d3),_0x35afe9(_0x284a7a);}});}};_0x333398=_0x19fd39([_0x2f5d09(0x0,_0x59f135[_0x1f33ec(0x496)](_0x485f5a[_0x1f33ec(0x500)]))],_0x333398);var _0x1dc243=Object[_0x1f33ec(0x3be)],_0x15decf=Object[_0x1f33ec(0x36c)],_0xbee115=(_0x1d0fa2,_0x58a5a6,_0x29abca,_0xd265ab)=>{const _0x94617f=_0x1f33ec;for(var _0x387a79=_0xd265ab>0x1?void 0x0:_0xd265ab?_0x15decf(_0x58a5a6,_0x29abca):_0x58a5a6,_0x1776f3=_0x1d0fa2[_0x94617f(0x239)]-0x1,_0x2726c3;_0x1776f3>=0x0;_0x1776f3--)(_0x2726c3=_0x1d0fa2[_0x1776f3])&&(_0x387a79=(_0xd265ab?_0x2726c3(_0x58a5a6,_0x29abca,_0x387a79):_0x2726c3(_0x387a79))||_0x387a79);return _0xd265ab&&_0x387a79&&_0x1dc243(_0x58a5a6,_0x29abca,_0x387a79),_0x387a79;},_0x4355ac=(_0x3815cd,_0x1fc030)=>(_0x52c5d3,_0x29d731)=>_0x1fc030(_0x52c5d3,_0x29d731,_0x3815cd);const _0xdef62=['image/png',_0x1f33ec(0x3a9),_0x1f33ec(0x542),_0x1f33ec(0x1d4),_0x1f33ec(0x36f)],_0x4b50c9=0x5*0x400*0x400,_0xa4b0e='EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY',_0xe9dbac=_0x1f33ec(0x483),_0x1490f0='EXCHANGE_SIGN_URL_SERVER_URL_KEY',_0x3546ac=_0x1f33ec(0x1a6);_0x358006[_0x1f33ec(0x1a2)]=class{constructor(_0x56f750,_0x596cc4,_0x2feeb2){const _0x2e64c2=_0x1f33ec;_0x4fb0a3(this,_0x2e64c2(0x1dd),0x0),_0x4fb0a3(this,_0x2e64c2(0x4e5),new _0x2a4cb9[(_0x2e64c2(0x442))]()),_0x4fb0a3(this,_0x2e64c2(0x524),this['_change$']),_0x4fb0a3(this,_0x2e64c2(0x1ff),new Map()),(this[_0x2e64c2(0x2d8)]=_0x56f750,this[_0x2e64c2(0x261)]=_0x596cc4,this[_0x2e64c2(0x540)]=_0x2feeb2);}[_0x1f33ec(0x3c2)](_0x5b56ff){const _0x4314fa=_0x1f33ec;this[_0x4314fa(0x1dd)]=_0x5b56ff,this[_0x4314fa(0x4e5)]['next'](_0x5b56ff);}[_0x1f33ec(0x4e4)](_0x30bfa9,_0x5cfe23){const _0x358cfc=_0x1f33ec;if(_0x5cfe23===_0x4bdcdf[_0x358cfc(0x306)][_0x358cfc(0x228)]){const _0x59b74a=new Image();return _0x59b74a[_0x358cfc(0x313)]=_0x30bfa9,_0x59b74a;}return this[_0x358cfc(0x1ff)][_0x358cfc(0x381)](_0x30bfa9);}['addImageSourceCache'](_0x366310,_0x20d304,_0x222b84){const _0x3b59d9=_0x1f33ec;_0x20d304===_0x4bdcdf[_0x3b59d9(0x306)]['BASE64']||_0x222b84==null||this['_imageSourceCache']['set'](_0x366310,_0x222b84);}async[_0x1f33ec(0x578)](_0x632922){const _0x46391e=_0x1f33ec;try{const _0x9c793e=this[_0x46391e(0x4b7)](this['_getSignURL'](),''+_0x632922),_0xfd7dd4=(await this[_0x46391e(0x2d8)]['get'](_0x9c793e))['body'];if(_0xfd7dd4[_0x46391e(0x4bd)]&&_0xfd7dd4[_0x46391e(0x4bd)][_0x46391e(0x33f)]===_0x329fe6['OK']){const _0x5da43b=new URL(_0xfd7dd4['url'],this['_getDownloadEndpointURL']())[_0x46391e(0x57d)]();return Promise['resolve'](_0x5da43b);}return Promise[_0x46391e(0x41b)](_0xfd7dd4[_0x46391e(0x4bd)]);}catch(_0x12422f){return Promise[_0x46391e(0x41b)](_0x12422f);}}async[_0x1f33ec(0x300)](_0x2e4ada){const _0x500fca=_0x1f33ec;let _0x3b3080='';if(!_0xdef62[_0x500fca(0x438)](_0x2e4ada[_0x500fca(0x232)]))return this['_decreaseWaiting'](),Promise[_0x500fca(0x41b)](new Error(_0x4bdcdf[_0x500fca(0x210)]['ERROR_IMAGE_TYPE']));if(_0x2e4ada[_0x500fca(0x2aa)]>_0x4b50c9)return this[_0x500fca(0x196)](),Promise['reject'](new Error(_0x4bdcdf[_0x500fca(0x210)][_0x500fca(0x3e2)]));try{const _0x1b8912=new FormData();_0x1b8912[_0x500fca(0x1ae)](_0x500fca(0x2af),_0x2e4ada);const _0x1e6f00=this[_0x500fca(0x540)][_0x500fca(0x258)](),_0x1b8247=_0x1e6f00==null?void 0x0:_0x1e6f00[_0x500fca(0x4cb)]();if(!_0x1b8247)throw new Error(_0x500fca(0x320));const _0x528e05=this[_0x500fca(0x449)]()+'?size='+_0x2e4ada['size']['toString']()+'&source='+_0x2603c4[_0x500fca(0x522)]+'&assign='+encodeURIComponent(_0x1b8247),_0x402123=await(await fetch(_0x528e05,{'method':_0x500fca(0x549),'body':_0x1b8912}))[_0x500fca(0x5bf)]();if(typeof _0x402123['FileId']!=_0x500fca(0x20d))return this['_decreaseWaiting'](),Promise[_0x500fca(0x41b)](new Error(_0x4bdcdf['ImageUploadStatusType'][_0x500fca(0x2c4)]));_0x3b3080=_0x402123[_0x500fca(0x3e0)];}catch{return this[_0x500fca(0x196)](),Promise[_0x500fca(0x41b)](new Error(_0x4bdcdf[_0x500fca(0x210)][_0x500fca(0x2c4)]));}return new Promise((_0x5d0575,_0x469dfc)=>{const _0x3a36ab=_0x500fca,_0x421d53=new FileReader();_0x421d53[_0x3a36ab(0x423)](_0x2e4ada),_0x421d53[_0x3a36ab(0x461)]=_0x16f68b=>{const _0x4963aa=_0x3a36ab;var _0x29cd5c;const _0x10a520=(_0x29cd5c=_0x16f68b[_0x4963aa(0x21a)])==null?void 0x0:_0x29cd5c[_0x4963aa(0x1c8)];if(_0x10a520==null){this[_0x4963aa(0x196)](),_0x469dfc(new Error(_0x4bdcdf['ImageUploadStatusType'][_0x4963aa(0x2c4)]));return;}const _0x8f6a91=_0x59f135[_0x4963aa(0x1bc)]['generateRandomId'](0x6);_0x5d0575({'imageId':_0x8f6a91,'imageSourceType':_0x4bdcdf[_0x4963aa(0x306)][_0x4963aa(0x1f6)],'source':_0x3b3080,'base64Cache':_0x10a520,'status':_0x4bdcdf['ImageUploadStatusType']['SUCCUSS']}),this[_0x4963aa(0x196)]();};});}[_0x1f33ec(0x449)](){const _0x5adbde=_0x1f33ec;var _0x3119d6,_0x1bca88;const _0x14aebe=this['_configService'][_0x5adbde(0x230)](_0xa4b0e),_0x4b28e0=this[_0x5adbde(0x261)][_0x5adbde(0x230)](_0x4e0661);return(_0x1bca88=(_0x3119d6=_0x4b28e0==null?void 0x0:_0x4b28e0[_0x5adbde(0x46d)])!=null?_0x3119d6:_0x14aebe)!=null?_0x1bca88:_0xe9dbac;}[_0x1f33ec(0x335)](){const _0x5617c1=_0x1f33ec;var _0x291652,_0x1c6dd9;const _0x3da595=this[_0x5617c1(0x261)][_0x5617c1(0x230)](_0x1490f0),_0x189a6a=this['_configService'][_0x5617c1(0x230)](_0x4e0661);return(_0x1c6dd9=(_0x291652=_0x189a6a==null?void 0x0:_0x189a6a['signUrlServerUrl'])!=null?_0x291652:_0x3da595)!=null?_0x1c6dd9:_0x3546ac;}[_0x1f33ec(0x539)](){const _0x2bcc56=_0x1f33ec;var _0x45e440;const _0x308676=this[_0x2bcc56(0x261)][_0x2bcc56(0x230)](_0x4e0661);return(_0x45e440=_0x308676==null?void 0x0:_0x308676['downloadEndpointUrl'])!=null?_0x45e440:location['origin'];}[_0x1f33ec(0x4b7)](_0x2c9e51,_0x2691f4){const _0x5b0787=_0x1f33ec;return _0x2c9e51[_0x5b0787(0x1af)](_0x5b0787(0x2e5),_0x2691f4);}[_0x1f33ec(0x196)](){const _0x4383a7=_0x1f33ec;this[_0x4383a7(0x1dd)]-=0x1,this[_0x4383a7(0x4e5)]['next'](this[_0x4383a7(0x1dd)]);}},_0x358006[_0x1f33ec(0x1a2)]=_0xbee115([_0x4355ac(0x0,_0x59f135[_0x1f33ec(0x496)](_0x485f5a['HTTPService'])),_0x4355ac(0x1,_0x59f135['IConfigService']),_0x4355ac(0x2,_0x59f135[_0x1f33ec(0x496)](_0x59f135[_0x1f33ec(0x1c2)]))],_0x358006[_0x1f33ec(0x1a2)]);var _0x45497a=Object[_0x1f33ec(0x3be)],_0x3f31b0=Object['getOwnPropertyDescriptor'],_0x31cf0a=(_0x428ca2,_0x4fab31,_0x30868d,_0x5c042e)=>{const _0x5e7dde=_0x1f33ec;for(var _0x155311=_0x5c042e>0x1?void 0x0:_0x5c042e?_0x3f31b0(_0x4fab31,_0x30868d):_0x4fab31,_0x1397c0=_0x428ca2[_0x5e7dde(0x239)]-0x1,_0x188081;_0x1397c0>=0x0;_0x1397c0--)(_0x188081=_0x428ca2[_0x1397c0])&&(_0x155311=(_0x5c042e?_0x188081(_0x4fab31,_0x30868d,_0x155311):_0x188081(_0x155311))||_0x155311);return _0x5c042e&&_0x155311&&_0x45497a(_0x4fab31,_0x30868d,_0x155311),_0x155311;},_0x2b2c24=(_0x4292cb,_0x7d23c6)=>(_0x180681,_0x5497a4)=>_0x7d23c6(_0x180681,_0x5497a4,_0x4292cb);let _0x1aa1be=class extends _0x59f135[_0x1f33ec(0x490)]{constructor(_0x410a83,_0x191300,_0x361dee,_0xa25674,_0x2b0457){const _0x49734e=_0x1f33ec;super(),this[_0x49734e(0x368)]=_0x410a83,this[_0x49734e(0x540)]=_0x191300,this[_0x49734e(0x3e4)]=_0x361dee,this['_collaborationSessionService']=_0xa25674,this[_0x49734e(0x234)]=_0x2b0457,this['_initUnitPermissionChange'](),this['_initCloseConn']();}[_0x1f33ec(0x414)](){const _0x4b1242=_0x1f33ec,_0x37aac7=async _0x73aea=>{const _0x1dacea=_0x2fa9;(await this[_0x1dacea(0x2e4)][_0x1dacea(0x2a8)](_0x73aea))[_0x1dacea(0x20e)][_0x1dacea(0x51d)](_0x590f9e[_0x1dacea(0x421)](_0x15e1cd=>_0x15e1cd[_0x1dacea(0x498)]===_0xd9269e[_0x1dacea(0x4f7)][_0x1dacea(0x55e)]),_0x590f9e[_0x1dacea(0x25a)](this[_0x1dacea(0x494)]))[_0x1dacea(0x4ff)](_0x5aed48=>{const _0x29336d=_0x1dacea,_0x17192f=_0x5aed48,{reason:_0x2a066c}=_0x17192f['data'];this[_0x29336d(0x368)][_0x29336d(0x381)](_0x575a2d['IMessageService'])['show']({'type':_0x115a16[_0x29336d(0x2a1)][_0x29336d(0x3a3)],'content':this[_0x29336d(0x234)]['t'](_0x29336d(0x5a9))+'('+_0x2a066c+')'}),this['_permissionService'][_0x29336d(0x25b)](new _0x4dc08b[(_0x29336d(0x1e4))](_0x73aea)['id'],!0x1),this[_0x29336d(0x2e4)][_0x29336d(0x3c7)](_0x73aea);});};_0x2a4cb9['merge'](this[_0x4b1242(0x540)][_0x4b1242(0x288)](_0x59f135['UniverInstanceType'][_0x4b1242(0x333)]),this[_0x4b1242(0x540)][_0x4b1242(0x288)](_0x59f135[_0x4b1242(0x558)][_0x4b1242(0x53a)]))['pipe'](_0x590f9e[_0x4b1242(0x4f2)](_0x495c94=>_0x495c94['getUnitId']()),_0x590f9e[_0x4b1242(0x421)](_0x1f4f57=>!_0x59f135[_0x4b1242(0x404)](_0x1f4f57)),_0x590f9e[_0x4b1242(0x25a)](this['dispose$']))[_0x4b1242(0x4ff)](_0x525f3e=>{_0x37aac7(_0x525f3e);});}[_0x1f33ec(0x1d5)](){const _0x55dcbb=_0x1f33ec,_0x26a20d=async _0x29dafe=>{const _0x7dcc83=_0x2fa9;(await this['_collaborationSessionService'][_0x7dcc83(0x2a8)](_0x29dafe))[_0x7dcc83(0x20e)][_0x7dcc83(0x51d)](_0x590f9e['filter'](_0xcbafec=>_0xcbafec['eventID']===_0xd9269e[_0x7dcc83(0x4f7)]['UPDATE_PERMISSION_OBJ']),_0x590f9e['takeUntil'](this['dispose$']))['subscribe'](_0x16c663=>{const _0x495eea=_0x7dcc83,_0x18d136=_0x16c663,{objectId:_0x2d6376}=_0x18d136[_0x495eea(0x2c5)],_0x1456a0=this[_0x495eea(0x368)][_0x495eea(0x381)](_0x25d706[_0x495eea(0x4a5)]);_0x2d6376===_0x29dafe?_0x1456a0[_0x495eea(0x4c6)](_0x29dafe):_0x1456a0[_0x495eea(0x444)](_0x29dafe,_0x2d6376);});};_0x2a4cb9[_0x55dcbb(0x18f)](this[_0x55dcbb(0x540)][_0x55dcbb(0x288)](_0x59f135[_0x55dcbb(0x558)][_0x55dcbb(0x333)]),this[_0x55dcbb(0x540)][_0x55dcbb(0x288)](_0x59f135['UniverInstanceType'][_0x55dcbb(0x53a)]))[_0x55dcbb(0x51d)](_0x590f9e['map'](_0x2e1954=>_0x2e1954[_0x55dcbb(0x4cb)]()),_0x590f9e[_0x55dcbb(0x421)](_0x406bad=>!_0x59f135[_0x55dcbb(0x404)](_0x406bad)),_0x590f9e['takeUntil'](this[_0x55dcbb(0x494)]))[_0x55dcbb(0x4ff)](_0x1aecea=>{_0x26a20d(_0x1aecea);});}};_0x1aa1be=_0x31cf0a([_0x2b2c24(0x0,_0x59f135[_0x1f33ec(0x496)](_0x59f135[_0x1f33ec(0x3a8)])),_0x2b2c24(0x1,_0x59f135['IUniverInstanceService']),_0x2b2c24(0x2,_0x59f135[_0x1f33ec(0x25e)]),_0x2b2c24(0x3,_0x59f135['Inject'](_0x358006['CollaborationSessionService'])),_0x2b2c24(0x4,_0x59f135[_0x1f33ec(0x496)](_0x59f135[_0x1f33ec(0x351)]))],_0x1aa1be);var _0x362d76=Object[_0x1f33ec(0x3be)],_0x59ad6e=Object[_0x1f33ec(0x36c)],_0x14f2d1=(_0x4035c9,_0x25813a,_0x375cdc,_0x2b886c)=>{const _0x2eda99=_0x1f33ec;for(var _0x1684ae=_0x2b886c>0x1?void 0x0:_0x2b886c?_0x59ad6e(_0x25813a,_0x375cdc):_0x25813a,_0x560ac8=_0x4035c9[_0x2eda99(0x239)]-0x1,_0xc20fd6;_0x560ac8>=0x0;_0x560ac8--)(_0xc20fd6=_0x4035c9[_0x560ac8])&&(_0x1684ae=(_0x2b886c?_0xc20fd6(_0x25813a,_0x375cdc,_0x1684ae):_0xc20fd6(_0x1684ae))||_0x1684ae);return _0x2b886c&&_0x1684ae&&_0x362d76(_0x25813a,_0x375cdc,_0x1684ae),_0x1684ae;},_0x4952d6=(_0x567bf4,_0x1a8f18)=>(_0x2fb83d,_0x467ec9)=>_0x1a8f18(_0x2fb83d,_0x467ec9,_0x567bf4);_0x358006[_0x1f33ec(0x566)]=class{constructor(_0x16c6ba,_0x454178){const _0x162d97=_0x1f33ec;this[_0x162d97(0x261)]=_0x16c6ba,this[_0x162d97(0x2d8)]=_0x454178;}async[_0x1f33ec(0x4cf)](_0x3b6e95,_0x576515){const _0x3f6af5=_0x1f33ec;var _0x47eba6;const {unitID:_0x2049e3,type:_0x6b00c4,revision:_0x2297d3=0x0}=_0x576515,_0x4a03a1=this['_getSnapshotAPIPrefix']()+'/'+_0x6b00c4+_0x3f6af5(0x221)+_0x2049e3+'/rev/'+_0x2297d3,_0x1d5b46=(await this[_0x3f6af5(0x2d8)]['get'](_0x4a03a1))[_0x3f6af5(0x311)],_0x597b8b=(_0x47eba6=_0x1d5b46[_0x3f6af5(0x31f)])==null?void 0x0:_0x47eba6[_0x3f6af5(0x47a)];if(_0x597b8b){const _0x2810cd=_0x597b8b==null?void 0x0:_0x597b8b[_0x3f6af5(0x417)],_0x3aa39a=_0xd9269e[_0x3f6af5(0x310)][_0x3f6af5(0x3a0)](_0xd9269e['b64DecodeUnicode'](_0x2810cd));_0x597b8b[_0x3f6af5(0x417)]=_0x3aa39a,Object[_0x3f6af5(0x4ad)](_0x597b8b[_0x3f6af5(0x3cf)])[_0x3f6af5(0x314)](([,_0x33212a])=>{const _0xb49ca7=_0x3f6af5,_0x545367=_0x33212a[_0xb49ca7(0x417)],_0x234502=_0xd9269e[_0xb49ca7(0x310)]['encode'](_0xd9269e[_0xb49ca7(0x3a2)](_0x545367));_0x33212a['originalMeta']=_0x234502;});}return _0x1d5b46;}async[_0x1f33ec(0x46b)](_0x58fe8f,_0xfdd1fa){const _0x4e3aff=_0x1f33ec,{unitID:_0x36b8f6,type:_0x305e5f,blockID:_0x57a7f6}=_0xfdd1fa,_0x5536bf=this[_0x4e3aff(0x37e)]()+'/'+_0x305e5f+_0x4e3aff(0x221)+_0x36b8f6+_0x4e3aff(0x397)+_0x57a7f6;return(await this['_httpService'][_0x4e3aff(0x381)](_0x5536bf))[_0x4e3aff(0x311)];}async[_0x1f33ec(0x2fa)](_0x360be3,_0x140ab7){const _0x57b1b4=_0x1f33ec,{unitID:_0x5bfb98,type:_0x10bfd3,blockID:_0xf7df32}=_0x140ab7,_0x2a9217=this[_0x57b1b4(0x37e)]()+'/block/'+_0x10bfd3+_0x57b1b4(0x221)+_0x5bfb98+_0x57b1b4(0x397)+_0xf7df32;return(await this[_0x57b1b4(0x2d8)]['get'](_0x2a9217))['body'];}async['fetchMissingChangesets'](_0x591090,_0x248838){const _0x322e56=_0x1f33ec,{unitID:_0x466674,type:_0x310133,from:_0x2dde81,to:_0x599426}=_0x248838,_0x31a93d=this[_0x322e56(0x37e)]()+'/'+_0x310133+_0x322e56(0x221)+_0x466674+_0x322e56(0x57f)+_0x2dde81+'&to='+_0x599426;return(await this[_0x322e56(0x2d8)]['get'](_0x31a93d))[_0x322e56(0x311)];}[_0x1f33ec(0x3ef)](){const _0x1999c9=_0x1f33ec;var _0x457a07;return(_0x457a07=this['_configService'][_0x1999c9(0x230)](_0x3cc623))!=null?_0x457a07:this[_0x1999c9(0x37e)]();}[_0x1f33ec(0x37e)](){const _0x21ff6d=_0x1f33ec;var _0x49e44d,_0x5b6727;const _0x27958d=this[_0x21ff6d(0x261)][_0x21ff6d(0x230)](_0x3417e0),_0x2c25cf=this[_0x21ff6d(0x261)][_0x21ff6d(0x230)](_0x4e0661);return(_0x5b6727=(_0x49e44d=_0x2c25cf==null?void 0x0:_0x2c25cf[_0x21ff6d(0x511)])!=null?_0x49e44d:_0x27958d)!=null?_0x5b6727:_0x47a03d;}async[_0x1f33ec(0x3e5)](_0x2120c0,_0x11a4ef){const _0x4cb331=_0x1f33ec,_0x21caad='/universer-api/snapshot/'+_0x11a4ef['type']+_0x4cb331(0x221)+_0x11a4ef[_0x4cb331(0x433)]+'/resources';return(await this[_0x4cb331(0x2d8)]['get'](_0x21caad,{'params':{'resourceId':JSON[_0x4cb331(0x45e)](_0x11a4ef[_0x4cb331(0x1dc)])}}))['body'];}[_0x1f33ec(0x51b)](){const _0xed7852=_0x1f33ec;throw new Error(_0xed7852(0x195));}[_0x1f33ec(0x2a3)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}['saveChangeset'](){const _0x5b87fb=_0x1f33ec;throw new Error(_0x5b87fb(0x195));}[_0x1f33ec(0x4b6)](){const _0x1f74a0=_0x1f33ec;throw new Error(_0x1f74a0(0x195));}['getLatestCsReqIdBySid'](){const _0x5241c2=_0x1f33ec;throw new Error(_0x5241c2(0x195));}},_0x358006[_0x1f33ec(0x566)]=_0x14f2d1([_0x4952d6(0x0,_0x59f135[_0x1f33ec(0x39d)]),_0x4952d6(0x1,_0x59f135[_0x1f33ec(0x496)](_0x485f5a[_0x1f33ec(0x500)]))],_0x358006[_0x1f33ec(0x566)]);var _0x4532b9=Object[_0x1f33ec(0x3be)],_0x5813cc=Object['getOwnPropertyDescriptor'],_0x386c2c=(_0x40146a,_0x454143,_0x37c18e,_0x1eaa2e)=>{const _0x59dd78=_0x1f33ec;for(var _0x355666=_0x1eaa2e>0x1?void 0x0:_0x1eaa2e?_0x5813cc(_0x454143,_0x37c18e):_0x454143,_0x26c53a=_0x40146a[_0x59dd78(0x239)]-0x1,_0x50ac7f;_0x26c53a>=0x0;_0x26c53a--)(_0x50ac7f=_0x40146a[_0x26c53a])&&(_0x355666=(_0x1eaa2e?_0x50ac7f(_0x454143,_0x37c18e,_0x355666):_0x50ac7f(_0x355666))||_0x355666);return _0x1eaa2e&&_0x355666&&_0x4532b9(_0x454143,_0x37c18e,_0x355666),_0x355666;},_0x1ceff2=(_0x450cd6,_0x194fa2)=>(_0x5f229c,_0x4ca262)=>_0x194fa2(_0x5f229c,_0x4ca262,_0x450cd6);let _0x79d704=class extends _0x59f135['LocalUndoRedoService']{constructor(_0x7a0b8a,_0x1674e6,_0x2356f3,_0x579335,_0x14863f){const _0x578e52=_0x1f33ec;super(_0x7a0b8a,_0x1674e6,_0x2356f3),this[_0x578e52(0x2c0)]=_0x579335,this[_0x578e52(0x59c)]=_0x14863f;}[_0x1f33ec(0x3ed)](_0x1bd0f5,_0x1bb646){const _0x14ec63=_0x1f33ec,_0x52d163=this[_0x14ec63(0x37b)](_0x1bd0f5);if(_0x52d163)try{const _0x447838=this[_0x14ec63(0x51e)](_0x52d163,_0x1bb646);this[_0x14ec63(0x231)](_0x1bd0f5,_0x447838);}catch(_0x452aeb){this[_0x14ec63(0x59c)][_0x14ec63(0x4bd)](_0x14ec63(0x53f),_0x452aeb),this[_0x14ec63(0x5a4)](_0x1bd0f5);}const _0x1ff73b=this[_0x14ec63(0x1b7)](_0x1bd0f5);if(_0x1ff73b)try{const _0x3b7083=this[_0x14ec63(0x51e)](_0x1ff73b,_0x1bb646);this['_substituteRedoStack'](_0x1bd0f5,_0x3b7083);}catch(_0x509e32){this[_0x14ec63(0x59c)][_0x14ec63(0x4bd)](_0x509e32),this['_clearRedo'](_0x1bd0f5);}}[_0x1f33ec(0x5a4)](_0x1e3d86){const _0xb99449=_0x1f33ec,_0x5dea48=this[_0xb99449(0x37b)](_0x1e3d86);_0x5dea48&&(_0x5dea48['length']=0x0,this[_0xb99449(0x283)]());}[_0x1f33ec(0x308)](_0x165de3){const _0x31ece2=_0x1f33ec,_0x2d8b1e=this[_0x31ece2(0x1b7)](_0x165de3);_0x2d8b1e&&(_0x2d8b1e[_0x31ece2(0x239)]=0x0,this[_0x31ece2(0x283)]());}['_substituteUndoStack'](_0x436b39,_0x47d433){const _0x3ee694=_0x1f33ec;this['_undoStacks']['set'](_0x436b39,_0x47d433),this[_0x3ee694(0x283)]();}[_0x1f33ec(0x4fd)](_0x1c9006,_0x2aedc8){const _0x138f66=_0x1f33ec;this[_0x138f66(0x5ae)][_0x138f66(0x5b8)](_0x1c9006,_0x2aedc8),this[_0x138f66(0x283)]();}['_transformStack'](_0x5870f2,_0x215a73){const _0x265521=_0x1f33ec,_0x551139=[];let _0x178fef=_0x215a73,_0x4f5cdb=_0x215a73;for(let _0x24a491=_0x5870f2[_0x265521(0x239)]-0x1;_0x24a491>=0x0;_0x24a491--){const {unitID:_0x5ad071,undoMutations:_0x24dbf8,redoMutations:_0x2ddd68}=_0x5870f2[_0x24a491],_0x312d5a=this[_0x265521(0x2c0)][_0x265521(0x32d)](_0x178fef,_0x24dbf8),_0x236fff=this[_0x265521(0x2c0)]['transformMutationsWithChangeset'](_0x4f5cdb,_0x2ddd68);if(_0xd9269e[_0x265521(0x276)](_0x312d5a)||_0xd9269e[_0x265521(0x276)](_0x236fff)){this[_0x265521(0x59c)][_0x265521(0x4bd)](_0x265521(0x53f),_0x265521(0x222),_0x312d5a,_0x236fff);break;}_0x178fef=_0x312d5a[_0x265521(0x2b2)],_0x4f5cdb=_0x236fff[_0x265521(0x2b2)],_0x551139[_0x265521(0x3e8)]({'unitID':_0x5ad071,'undoMutations':_0x312d5a[_0x265521(0x205)],'redoMutations':_0x236fff['m2Prime']});}return _0x551139[_0x265521(0x44d)]();}};_0x79d704=_0x386c2c([_0x1ceff2(0x0,_0x59f135[_0x1f33ec(0x1c2)]),_0x1ceff2(0x1,_0x59f135['ICommandService']),_0x1ceff2(0x2,_0x59f135['IContextService']),_0x1ceff2(0x3,_0xd9269e[_0x1f33ec(0x3d5)]),_0x1ceff2(0x4,_0x59f135[_0x1f33ec(0x43b)])],_0x79d704);class _0x56b54f extends _0x59f135[_0x1f33ec(0x490)]{constructor(){const _0x5bed35=_0x1f33ec;super(),_0x4fb0a3(this,'urlChange$'),this['urlChange$']=_0x2a4cb9[_0x5bed35(0x44b)](window,'popstate')[_0x5bed35(0x51d)](_0x2a4cb9[_0x5bed35(0x25a)](this[_0x5bed35(0x494)]),_0x2a4cb9['shareReplay'](0x1),_0x2a4cb9[_0x5bed35(0x375)](void 0x0));}['setParam'](_0x260b89,_0x2be588,_0x441c68=!0x1){const _0x4a3603=_0x1f33ec,_0x237e9e=new URL(window[_0x4a3603(0x282)][_0x4a3603(0x3df)]);_0x237e9e[_0x4a3603(0x2ca)]['set'](_0x260b89,_0x2be588),_0x441c68?window[_0x4a3603(0x509)]['replaceState']('','',_0x237e9e[_0x4a3603(0x57d)]()):window[_0x4a3603(0x509)]['pushState']('','',_0x237e9e[_0x4a3603(0x57d)]());}[_0x1f33ec(0x340)](_0x16517f,_0x4a25d3=!0x1){const _0x1a0fc8=_0x1f33ec,_0x10eb2a=new URL(window[_0x1a0fc8(0x282)]['href']);_0x10eb2a['searchParams'][_0x1a0fc8(0x215)](_0x16517f),_0x4a25d3?window['history']['replaceState']('','',_0x10eb2a[_0x1a0fc8(0x57d)]()):window[_0x1a0fc8(0x509)][_0x1a0fc8(0x238)]('','',_0x10eb2a[_0x1a0fc8(0x57d)]());}[_0x1f33ec(0x502)](_0x4841a3){const _0x580af6=_0x1f33ec;var _0x2257a5;return(_0x2257a5=new URL(window['location'][_0x580af6(0x3df)])[_0x580af6(0x2ca)][_0x580af6(0x381)](_0x4841a3))!=null?_0x2257a5:void 0x0;}}var _0x3e11e7=Object[_0x1f33ec(0x3be)],_0x1975de=Object[_0x1f33ec(0x36c)],_0x4ac105=(_0x1be628,_0x2a9a71,_0x49294a)=>_0x2a9a71 in _0x1be628?_0x3e11e7(_0x1be628,_0x2a9a71,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x49294a}):_0x1be628[_0x2a9a71]=_0x49294a,_0x32b2c3=(_0x1ca1b1,_0x4292a0,_0x47504e,_0x5d0dcb)=>{const _0x895b77=_0x1f33ec;for(var _0x429e12=_0x5d0dcb>0x1?void 0x0:_0x5d0dcb?_0x1975de(_0x4292a0,_0x47504e):_0x4292a0,_0x452189=_0x1ca1b1[_0x895b77(0x239)]-0x1,_0x5bfde0;_0x452189>=0x0;_0x452189--)(_0x5bfde0=_0x1ca1b1[_0x452189])&&(_0x429e12=(_0x5d0dcb?_0x5bfde0(_0x4292a0,_0x47504e,_0x429e12):_0x5bfde0(_0x429e12))||_0x429e12);return _0x5d0dcb&&_0x429e12&&_0x3e11e7(_0x4292a0,_0x47504e,_0x429e12),_0x429e12;},_0x36b1d5=(_0x24eb17,_0x3fdd04)=>(_0x53770e,_0x5ab109)=>_0x3fdd04(_0x53770e,_0x5ab109,_0x24eb17),_0x51e06f=(_0x424674,_0x563e93,_0x491726)=>_0x4ac105(_0x424674,_0x563e93+'',_0x491726);const _0x4706e0=_0x1f33ec(0x305);_0x358006[_0x1f33ec(0x373)]=class extends _0x59f135[_0x1f33ec(0x29d)]{constructor(_0x2c2e7d=_0x1a16c8,_0x48191d,_0x51f701,_0x5ead7a,_0x565543){const _0x20bb2e=_0x1f33ec;super(),this[_0x20bb2e(0x4a9)]=_0x2c2e7d,this[_0x20bb2e(0x59c)]=_0x48191d,this[_0x20bb2e(0x20c)]=_0x51f701,this[_0x20bb2e(0x368)]=_0x5ead7a,this[_0x20bb2e(0x261)]=_0x565543;const {..._0x381b80}=this[_0x20bb2e(0x4a9)];this[_0x20bb2e(0x261)][_0x20bb2e(0x519)](_0x4e0661,_0x381b80);}['onStarting'](){const _0x26d027=_0x1f33ec;this['_registerDependencies'](),_0x59f135[_0x26d027(0x5a1)](this[_0x26d027(0x368)],[[_0x562939],[_0x358006[_0x26d027(0x1b5)]],[_0x1aa1be]]);}['onReady'](){const _0x29b5a9=_0x1f33ec;_0x59f135[_0x29b5a9(0x5a1)](this[_0x29b5a9(0x368)],[[_0x2259f6]]);}[_0x1f33ec(0x42c)](){const _0xf3485d=_0x1f33ec;this[_0xf3485d(0x4ca)]();}[_0x1f33ec(0x587)](){const _0xa4cc85=_0x1f33ec;var _0x755fde,_0x44301c,_0x382f3c,_0x1d162e;this[_0xa4cc85(0x368)][_0xa4cc85(0x252)](_0x59f135['IUndoRedoService'])&&this[_0xa4cc85(0x59c)]['error'](_0xa4cc85(0x1ca),_0xa4cc85(0x2ce));let _0x426f60=[[_0x59f135[_0xa4cc85(0x527)],{'useClass':_0x79d704}],[_0x358006[_0xa4cc85(0x48d)]],[_0x23007e],[_0x485f5a['HTTPService']],[_0x41e07a,{'useClass':_0x56b54f}],[_0x3b92f1],[_0x358006[_0xa4cc85(0x2e6)]],[_0x485f5a[_0xa4cc85(0x5bb)]],[_0x105470],[_0x417d4f],[_0x271775],[_0x6d8baf],[_0x4f3699],[_0x333398],[_0x8df29],[_0x1aa1be],[_0x14979c,{'useClass':(_0x44301c=(_0x755fde=this[_0xa4cc85(0x4a9)])==null?void 0x0:_0x755fde['socketService'])!=null?_0x44301c:_0x358006[_0xa4cc85(0x2bb)]}],[_0x485f5a[_0xa4cc85(0x497)],{'useClass':_0x485f5a[_0xa4cc85(0x45a)]}],[_0xd9269e['ISnapshotServerService'],{'useClass':_0x358006['SnapshotServerOverHTTPService']}],[_0x59f135[_0xa4cc85(0x523)],{'useClass':_0x358006[_0xa4cc85(0x553)]}],[_0x4bdcdf[_0xa4cc85(0x388)],{'useClass':_0x358006[_0xa4cc85(0x1a2)]}],[_0x358006[_0xa4cc85(0x4cc)]],[_0x358006[_0xa4cc85(0x1b5)]],[_0x358006[_0xa4cc85(0x2de)]],[_0x2259f6],[_0x562939]];(_0x382f3c=this['_config'])!=null&&_0x382f3c[_0xa4cc85(0x277)]&&_0x426f60[_0xa4cc85(0x3e8)]([_0x23b106,{'useClass':_0x52ee59}]),_0x426f60=_0x59f135[_0xa4cc85(0x3b4)](_0x426f60,(_0x1d162e=this[_0xa4cc85(0x4a9)])==null?void 0x0:_0x1d162e[_0xa4cc85(0x349)]),_0x426f60[_0xa4cc85(0x314)](_0x2cf197=>this[_0xa4cc85(0x368)][_0xa4cc85(0x512)](_0x2cf197)),this[_0xa4cc85(0x3b1)]();}[_0x1f33ec(0x4ca)](){const _0x577d84=_0x1f33ec;this[_0x577d84(0x3f2)](this['_renderManagerService'][_0x577d84(0x2d2)](_0x59f135['UniverInstanceType'][_0x577d84(0x53a)],[_0x5e6de5])),this[_0x577d84(0x3f2)](this[_0x577d84(0x20c)]['registerRenderModule'](_0x59f135['UniverInstanceType']['UNIVER_SHEET'],[_0x34647f]));}[_0x1f33ec(0x3b1)](){const _0x1262e9=_0x1f33ec;var _0x19a2dc,_0x5df701;this[_0x1262e9(0x368)]['get'](_0x485f5a[_0x1262e9(0x500)])[_0x1262e9(0x3aa)]({'priority':0x14,'interceptor':_0x485f5a[_0x1262e9(0x514)]({'maxParallel':0x6})}),this[_0x1262e9(0x368)]['get'](_0x333398),(_0x19a2dc=this['_config'])!=null&&_0x19a2dc[_0x1262e9(0x599)]||this[_0x1262e9(0x368)]['get'](_0x358006[_0x1262e9(0x2e6)])[_0x1262e9(0x40e)](),(_0x5df701=this['_config'])!=null&&_0x5df701['enableAuthServer']&&this[_0x1262e9(0x368)][_0x1262e9(0x381)](_0x4f3699),this[_0x1262e9(0x368)][_0x1262e9(0x381)](_0x358006[_0x1262e9(0x4cc)]),this['_injector'][_0x1262e9(0x252)](_0x358006[_0x1262e9(0x2de)])&&this[_0x1262e9(0x368)][_0x1262e9(0x381)](_0x358006[_0x1262e9(0x2de)]);}},_0x51e06f(_0x358006[_0x1f33ec(0x373)],_0x1f33ec(0x5b4),_0x4706e0),_0x358006[_0x1f33ec(0x373)]=_0x32b2c3([_0x59f135[_0x1f33ec(0x59e)](_0xd9269e[_0x1f33ec(0x42a)]),_0x36b1d5(0x1,_0x59f135[_0x1f33ec(0x43b)]),_0x36b1d5(0x2,_0x3a990c[_0x1f33ec(0x59f)]),_0x36b1d5(0x3,_0x59f135[_0x1f33ec(0x496)](_0x59f135[_0x1f33ec(0x3a8)])),_0x36b1d5(0x4,_0x59f135[_0x1f33ec(0x39d)])],_0x358006[_0x1f33ec(0x373)]),_0x358006[_0x1f33ec(0x198)]=_0x3fd33e,_0x358006['COLLAB_SUBMIT_CHANGESET_URL_KEY']=_0x551ab5,_0x358006[_0x1f33ec(0x5c1)]=_0x4e8fc3,_0x358006[_0x1f33ec(0x426)]=_0x3e1bc4,_0x358006[_0x1f33ec(0x4a4)]=_0x4a2a1e,_0x358006[_0x1f33ec(0x260)]=_0x8df29,_0x358006[_0x1f33ec(0x54a)]=_0x144671,_0x358006[_0x1f33ec(0x3d2)]=_0x2f9a5d,_0x358006['ICollaborationSocketService']=_0x14979c,_0x358006[_0x1f33ec(0x537)]=_0x41e07a,_0x358006[_0x1f33ec(0x495)]=_0x37af9e,_0x358006[_0x1f33ec(0x319)]=_0x4915d0,_0x358006['RETRY_CONNECTING_MAX_COUNT_KEY']=_0x42b632,_0x358006[_0x1f33ec(0x1c0)]=_0x4c9047,_0x358006[_0x1f33ec(0x4c1)]=_0x3417e0,_0x358006[_0x1f33ec(0x263)]=_0x3cc623,_0x358006[_0x1f33ec(0x303)]=_0x5df28e,_0x358006[_0x1f33ec(0x286)]=_0x2f757e,_0x358006[_0x1f33ec(0x265)]=_0x56b54f,_0x358006[_0x1f33ec(0x28e)]=_0x314f4c,_0x358006['serializeCombRequest']=_0x5bf8c6,Object[_0x1f33ec(0x3be)](_0x358006,Symbol[_0x1f33ec(0x5aa)],{'value':_0x1f33ec(0x34d)});}));