@univerjs-pro/collaboration-client 0.4.0 → 0.4.1-nightly.202410191605
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/index.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/umd/index.js +1 -1
- package/package.json +17 -17
package/lib/umd/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
function _0x5581(){const _0x10a4d3=['split','_instanceService','_notificationService','subscribe','registerHTTPInterceptor','XHRHTTPImplementation','close','size','string','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','_getSnapshotAPIPrefix','SheetSkeletonManagerService','clearTimeout','_toggleOffline','icon','USERS_ENTER','get','_getUndoStack','CHANGESET_ACK','from','operators','YUUMI_UNABLE_LOAD_URL','Undefined','isInternalEditorID','USERS_LEAVE','getActiveSheet','RECV','_collaborationPaused','_registerRenderDependencies','colorChannel1','getCellPositionByOffset','permission.content','_replaceFileID','file','BuiltInUIPart','YUUMI_SUBSCRIPTION_NOT_FOUND','[UniverCollaborationClientPlugin]','activeSheet$','_selfUnitIDs','FromArray','trim','getRenderById','JOIN','updateCursorEvent','arc','error','_showConflictNotification','reqId','complete','key','ImageSourceType','clipPath','SNAPSHOT_URL_KEY','Optional','CONFLICT','appendMutation','RETRY_CONNECTING_MAX_COUNT_KEY','COLLAB_SUBMIT_CHANGESET_URL','ThresholdInterceptorFactory','unshift','_stopTelemetryCollaborationNewChangeset','mapDocumentTypeToUniverType','setParam','ThemeService','UUID','cursorInfo$','DesktopCollaborationStatusDisplayController','mapTo','serializeCombRequest','@univerjs/sheets-ui','collaboration.closeRoom','enableAuthServer','getAncestorScale','LIVESHARE_FETCH_OPERATIONS','skeleton','update','focused$','getCollabCursors$','sheets','[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.','_colorIndex','permissionRejEvent','asObservable','_getAPIPrefix','_initModules','NOT_FOUND','_backgroundColor','_getCtorByUniverType','makeDirty','path','push','IPermissionService','_decreaseWaiting','getImage','_onUserLeave','collab-rect-range-','getImageSourceCache','getUnhiddenWorksheets','ERROR_EXCEED_SIZE','_remoteChangesetQueue','handleIRemoveRow','createSocket','csAckEvent','concat','FETCH_MISS','listRoles','getParam','getUnitStatus$','saveSheetBlock','_config','53992NrAwgP','SNAPSHOT_SERVER_URL_KEY','JOINING','connectInjector','history','InsertRowCommandId','error$','getMember','_getSheetObject','BehaviorSubject','loginUrlKey','status','addEventListener','129caCVeu','_color','replace','CollaborationStatus','_socket$','body','purple300','_HTTPService','collaboration-client.offline-data-not-saved','PERMISSION_REJ','UnitEmbedded','rxjs/operators','delay','MergeInterceptorFactory','_changesetReqId','defIds','[CollaborationSessionService]:\x20socket\x20error','\x0aAfter:\x20','_handleHover','/allowed','_collaborationSessionService','baseRev','_refreshCollabCursors','take','_urlService','_getAPIPrefixPath','getRangePointData','UniverNetwork','NO_OTHER_CLIENTS_EDITING','headers','searchParams','_sessionStatus$','&assign=','routeKey','EffectRefRangId','isValidRectRange','AWAITING','transform','onStateChange','startRow','collab-text-anchor-','handleMoveRange','@univerjs/engine-formula','className','TEXT_RANGE_LAYER_INDEX','Shape','getVpScrollXYInfoByPosToVp','InsertSheetMutation','uploadFileServerUrl','_beforeCloseService','_disableEditing','xlink:href','APPLY_NON_SEQUENTIAL_REVISION','2719381EmVRQG','VIEWPORT_KEY','Injector','session','_socketService','_onRefRangeChange','post','UniverSheetsUi','snapshotServerUrl','onPointerEnter$','labelPosition','_initMergeInterceptor','sheetId','removeMember','/universer-api/stream/file/upload','_status$','_themeService','_shapes','socket$','div','isTransformMutationFailure','_substituteRedoStack','findNodePositionByCharIndex','_clearHeartbeatTimer','range','_cursors','downloadEndpointUrl','_univerInstanceService','includes','UNRECOGNIZED','onCommentUpdate','FileId','_commentUpdate$','getRandomValues','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','_change$','onRemoteRej','updateMember','_onConnectionOpen','_unitID','createCollaborator','getTime','forwardRef','_docTransformSelectionsService','_clearCollaborationTimeoutTimer','add','UNIVER_UNKNOWN','addObjects','_shouldReportTelemetry','userID','_updateLocalCursor','prototype','_undoStacks','CollaborationEvent','merge','_initCommandExecutedListener','parse','synced','\x0aCurrent:\x20','HTTPService','origin','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','conflict.title','_uiPartsService','registerRenderModule','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','[CollaborationSessionService]','_initStatusListener','_docSkeletonManagerService','_entityInit$','_scheduleClearOtherTimer','lineTo','getFocusedUnit','debounce','rev','Tools','deleteCollaborator','image/png','LIVESHARE_OPERATION','Rectangle','onMouseMove','FAIL','UniverSheets','objectType','forEach','url(#$1','_clearOtherTimers','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','originalMeta','[OfflineState]:\x20received\x20changeset.','_incrementRevisionNumber','rng','members','length','COLORS','_transformService','handleInsertRangeMoveRight','UPDATE_PERMISSION_OBJ','_commandService','SNAPSHOT_HAS_BEEN_REMOVED','not_collab','transformSelections','backgroundColor','/unit/','getTypeOfUnitDisposed$','amd','_exhaustRemoteChangesetQueue','_sendHeartbeat','registerRefRange','UniverInstanceType','editingUnit','transformStack\x20failed!','rgba(255,\x20255,\x20255,\x200.01)','closePath','@univerjs/telemetry','_cursorInfo$','APPLY_DUPLICATED','_listenToOfflineEvent','_anchorDot','setInterval','SheetsSelectionsService','8920uYDwJU','socket\x20open.','number','PENDING','onSyncEditingCollabCursor','assign','failed\x20to\x20apply\x20missed\x20changesets!','roles','IRenderManagerService','_removeCollabCursors','fill','commentUpdateEvent','fillRule','attrs','_clearRedo','ISnapshotServerService','min','INGEST','_saveCache','IDLE','CollaborationSessionService','defs','substring','@univerjs-pro/license','_waitCount','_updateCollabCursors','socketService','LocalUndoRedoService','getColor','1em','_substituteUndoStack','WebSocketService','dispose$','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','reject','listCollaborators','round','/collaborator','onload','[CollaborationEntity]','c1Prime','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','subUnitId','drawWith','_getDownloadEndpointURL','fillText','closeSession','_localCacheService','collaboration-session-retry','allowed','_hideTimer','SEND_CHANGESET_TIMEOUT','clearInterval','_docSyncEditingCollabCursorService','_injector','_localStorageService','CollaborationSession','_onUserJoin','onSendChangeset','getTypeOfUnitAdded$','message$','collabWebSocketUrl','saveImage','show','collaboration-client.config','transformUndoRedo','isPermissionRej','COMPRESS_MUTATION_APPLY','toggleOffline','HttpExport','getUnitId','Error\x20on\x20receiving\x20event','COMPLETION_FINISHED','debounceTime','with','syncEditingCollabCursor','_startDocCollabCursor','UniverDrawing','find','transformChangesets','_onMessage','unsubscribe','image/jpg','off-line-single_clip0_910_343','_drawRectRange','&to=','_updateSubUnitFromURLParams','COLLAB_WEB_SOCKET_URL_KEY','cursorInfo','UNIVER_DOC','_transformSelections','_cachedData','_unitOnClients','_heartbeatTimer','NodePositionConvertToCursor','INTERNAL_ERROR','unitId','APPLY_REVISION_CONFILICT','_logService','LICENSE_EXPORT_SIZE_EXCEEDED','WebURLService','_drawAnchor','Warning','blue400','sequenceExecute','_createInitialStateImpl','DocIMEInputManagerService','CONNECTOR_DATA_TOO_LARGE','_anchor','_scheduleTimestamp','deepClone','_onConnectionFailed','verdancy600','getOwnPropertySymbols','Module','COMMENT_UPDATE','[CollaborationUndoRedoService]','initWorkbookPermissionChange','univer-offline','shouldCloseConn','m2Prime','subscribeEvent','text','batchAllowed','black','ICollaborationSocketService','concatMap','_replayCachedMutations','revision','loadOfflineData','_state$','ICommandService','LEAVE','_socket','_lastPointer','_type','/block/','_tryEnsureSocket','toString','_textBubble','[FetchMissState]','gold400','Subject','ERROR_IMAGE','Error','currentSkeleton$','has','memberID','Inject','/fetchmissing?from=','isActive','_eventUnsubscribe','children','531378omaGHE','_sessions','parseProtocolChangeset','_retryCount','InsertColCommandId','retryConnectingInterval','unit-cache-','on-line-single','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','unit','getCurrentUnitForType','_messageService','@univerjs/ui','create','_labelPosition','getCollabEntity$','NOT_COLLAB','_undoRedoService','measureText','UniverUi','params','roomMembers','currentTheme$','onTransformSelections','getRelativeToViewportCoord','currentColor','compose','_redoStacks','liveShareOperation','_initEventListeners','_startTelemetryCollaborationNewChangeset','OffLineSingle','LOGIN_URL_KEY','localeService','UniverCollaboration','unitId\x20is\x20not\x20found','_pendingMutations','_changesetSessionId','_event$','/-/object/-/batch_allowed','Unknown\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_cursor','onMissedChangesetFetched','saveOfflineData','_range','generateRandomId','DependentOn','_onCursorDelete','propertyIsEnumerable','awaiting','react','_createInitialState','_startSheetCollabCursor','ALREADY_EXISTS','\x20in\x20_schedule.','LocaleService','sessionStatus$','mutations','onlineStatusIcon','exhaustSavingTask','apply','submit\x20changeset\x20error!','getSheetBySheetId','_waitForHeartbeatResponse','getCurrentUser','target','toRgbString','@univerjs/sheets','addImageSourceCache','UniverTelemetry','shareReplay','_saveTaskMap','setAlpha','withCredentials','HttpImport','putCollaborators','resize','fromEventSubject','CollaborationController','doc.mutation.rich-text-editing','@univerjs/network','_sheetTransformSelectionsService','PERMISSION_DENIED','LIVESHARE_REQUEST_HOST','getCurrentSelections','fetchThroughInterceptors','_syncEditingCollabCursorService','session.connection-failed','textEncoder','object','stopTime','_listenToOnlineEvent','enableSingleActiveInstanceLock','_revisionService','_rescheduleHeartbeat','session.will-retry','hasOwnProperty','filter','@univerjs/design','init','{fileID}','_executeRemoteChangeset','_roomMembers','_onFetchMissResult','_timeoutTimer','toggleOnline','collab-text-range-','SYNCED','authzUrl','sendChangesetTimeout','_removeClearOtherTimer','UNIVER_SLIDE','bind','useDependency','switchMap','IContextService','getUnitOnRev','conflict','updatePermissionPoint','getValue','createElement','debug','_assignedColors','put','none','symbol','onTransformIME','_toggleOnline','workbook','EmptyMutation','confirm','_loadDoc','transformByState','pauseCollaboration','getActiveRange','AWAITING_WITH_PENDING','svg','_isPermissionRej','_tryReconnect','_getUploadFileURL','objectID','/universer-api/snapshot/','use','getViewport','actions','image/jpeg','now','LICENSE_DISTRO_REJECTED','selection','getUnit','_submitChangeset','_collabCursorController','_updateURLWithCurrentState','/object/','onTransformChange$','_loadSheet','_renderManagerService','getCollabEntity','endRow','session.room-full','popstate','takeUntil','_singleActiveUnitService','9JBQPpJ','_scheduleCollaborationTimeoutTimer','extend','SEND_CHANGESET_TIMEOUT_KEY','joinRsp','result','column','/universer-api/file/{fileID}/sign-url','map','EXCHANGE_SIGN_URL_SERVER_URL_KEY','off-line-single','exports','BASE64','fromCollab','_transformUndoRedoStack','_initRequestHeader','onPointerLeave$','selections','change$','SnapshotServerOverHTTPService','transformMutation','fetchMiss','UniverCollaborationClient','_imageSourceCache','pushState','_joinRoom','requireSession','_members','CommentService','SetDocZoomRatioOperation','INVALID_ARGUMENT','_sendingTimer','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','fetching\x20missing\x20changesets\x20from\x20','_getScale','getOffsetConfig','roomInfos','_name','reverse','assignAColorForMemberID','&source=','onRendered','SetSelectionsOperation','b64DecodeUnicode','getCoordByCell','getResourcesRequest','collabStatus.conflict','onReady','eventID','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_initCloseConn','_scheduleSaving','socket\x20close','_roomMembers$','UniverDesign','setTimeout','save','evenodd','_snapshotService','_clearScheduledTask','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','set','NodePositionConvertToRectRange','getUnitType','data','?url=','url(#on-line-single_clip0_910_349)','pipe','setWaitCount','HEARTBEAT_INTERVAL_KEY','width','SetTextSelectionsOperation','...','_render','[DataLoaderController]','_onConflict','@univerjs-pro/collaboration','0\x200\x2017\x2016','APPLY_PERMISSION_DENIED','replaceState','getCurrentRevOfUnit','_initUnitPermissionChange','connection\x20error','createInstance','collaboration.single-unit.warning','_draw','online','_commentService','IUndoRedoService','fetch_missing','restore','random','setUndoRedoMutationParamsCache','_docSkeleton','values','event$','on-line-single_clip0_910_349','updateOfflineData','_onJoinRoomEvent','ACTIVE_UNIT_EVENT_CHANNEL','_localeService','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','_http','IUniverInstanceService','LOCAL_CACHE_INTERVAL_KEY','\x20to\x20','_hover','isTransformMutationsWithChangesetFailure','_collaborationController','getLatestCsReqIdBySid','ranges','_checkMissing','_updateState','getAttachHeader','newValue','_telemetryService','LIVESHARE_NEW_HOST','RegularPolygon','@univerjs/docs-ui','_online','/universer-api/authz','location','getSkeleton','fetchMissingChangesets','UNKNOWN_CMD','editing\x20status\x20changed\x20to','@univerjs/docs','ENSURE_SNAPSHOT_EXECUTION','objectActions','_applyRemoteChangeset','_clearUndo','duration','_removeRoom','TRANSFORM_CHANGE_OBSERVABLE_TYPE','_transformPreviousActiveRange','_onOffline','conflict.content','_hovered','onMissingChangesets','_memberService','SUBMIT_CHANGESET','contains','setCurrentUser','bottom','_onCursorUpdate','docStateChange$','_onCombEvent','name','open$','_disabled','subunit','UNIVER_SHEET','HELLO','changesets','close$','_updateLocalCache','handleIRemoveCol','_userManagerService','sid','addObject','_transformUndoredo','FETCH_MISSING','[CollaborationSession]','_awaitingChangeset','_session','univerjs-icon\x20univerjs-icon-','updateCollaborator','_syncEditingCollabCursor','_httpService','saveChangeset','sheetID','_docTransformIMECacheService','distinctUntilChanged','hovered','offline','Rect','_handleJoinEvent','DeleteRangeMoveUpCommandId','setConfig','setShapeProps','_getSaveTimeout','CollaborationStatusDisplay','_setupBeforeClosingHandler','getCurrent','_createSocket','rxjs','univer-pro.collaboration-client.single-active-unit-service','next','OFFLINE','@univerjs/drawing','_candidateSocket','/rev/','collabCursorState$','_permissionService','RxDisposable','top','_retryConnectingTimer','reduce','@univerjs/core','getInterceptPoints','_transformIMECache','CHANGESET_REJ','interceptor','_compressMutationService','auth.needGotoLoginAlert','_refRangeService','_handleHeartbeatEvent','_configService','getMergeData','_initResize','UNIVER_PROJECT','_ws','Disposable','_getSendChangesetTimeout','WorkbookEditablePermission','unitID','stringify','_sendHeartbeatTimer','tag','registerBeforeClose','setActiveRange','href','[OfflineState]:\x20received\x20acknowledgement.','IMessageService','unknown','DisposableCollection','/resources','encodeURIComponent','title','_createHandler','_transformRemoteChangesetByIMECache','pending','_scheduleHeartbeat','onRemoteAck','ILogService','Unknown\x20user','_handleLeaveEvent','YUUMI_URL_COL_OUT_OF_RANGE','jiqing500','Univer','ColorKit','getConfig','max','_send','textRanges','then','IConfigService','fromEvent','handleDeleteRangeMoveUp','disableLocalCache','pluginName','RichTextEditingMutation','touchDependencies','displayName','enableOfflineEditing','sessionStatus','onCommandExecuted','triggerDblclick','transformIMECache','_getCurrentRevision','_collaborationTimeoutTimer','useCallback','send','HEADER_MENU','_socketReady','UserManagerService','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','objects','UPDATE_CURSOR','_collabCursorState$','startColumn','PSEUDO_FETCH_MISSING_RESULT','onStarting','_handler','MUTATION','transformRemoteChangeset','VIEW_MAIN','_getRedoStack','_scene','setItem','_onLocalMutation','SetWorksheetActivateCommand','CommandType','_state','DEFAULT_FILE_NAME','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','fillStyle','DocSkeletonManagerService','useObservable','getDocRanges','_socketMessageSubscription','font','toDisposable','status$','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','[CollaborationState]:\x20apply\x20error!','HEARTBEAT_TIMEOUT','type','2194400wPXsdq','createIdentifier','toLowerCase','DataLoaderController','executeCommand','MoveRangeCommandId','newCsEvent','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','ImageIoService','_initStatusComponent','@univerjs/rpc','randomUUID','RemoveRowCommandId','_sheetSkeletonManagerService','SessionStatus','_acknowledgedAwaitingChangeset','function','_onRemoteACK','getMemberID','hidden','disposeWithMe','readAsDataURL','UniverCollaborationClientPlugin','_ensureSubject','IURLService','_colorAssignService','/new_changes','isArray','onRemoteChangeset','liveShareNewHost','resourceIDs','slice','DocSelectionManagerService','dispose','_transitionLocked','isTransformChangesetsSuccess','NEW_CHANGESETS','_unlockTransition','RevisionService','_fetchMissChangesets','getUndoRedoMutationParamsCache','_init','_getAnchorBounding','updatePermissionObjEvent','\x20-\x20','some','OnLineSingle','getSheetBlock','catch','image/gif','entries','_transformStack','[OfflineState]:\x20received\x20rejection.','ITransformService','getOwnPropertyDescriptor','_collabSessionService','useRef','InsertRangeMoveRightCommandId','UNIVER_COLLABORATION_CLIENT_PLUGIN','LocalCacheService','_context','CHANGESET_REVISION_CONFILICT','row','@univerjs/engine-render','CollaborationSocketService','idSuffix','[PendingState]:\x20received\x20rejection.','runRefRangeMutations','_getSignURL','COMPRESS_MUTATION_SEND','m1Prime','call','SheetCollaborationEntity','collaboratorID','_updateStatus','POST','841386ivTeaO','isTransformMutationsWithChangesetSuccess','requestParams','MSG_FOR_ERROR','UNDEFINED','[SyncedState]:\x20received\x20rejection.','_snapshotServerService','IAuthzIoService','resend','univer-pro.collaboration-client-socket-service','_id','SnapshotService','AUTHZ_URL_KEY','getItem','_lockTransition','current','_cursorShapes','HEARTBEAT','onlineStatusTitle','delete','IUIPartsService','indexOf','combineLatest','awaiting_with_pending','univer-online-status-title','ITelemetryService','loadSheet','UNKNOWN_CODE','_queuedRemoteChangesets','1338zZADED','_entities','ImageUploadStatusType','storage','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','getUniverSheetInstance','roomMembers$','whenReady','_telemetryInfo','getRoom','univer-online-status','_clearTimeoutTimer','_onRemoteRejected','OTHER_CLIENTS_EDITING','code','_docStateChangeManagerService','disposeUnit','urlChange$','transformMutationsWithChangeset','UniverDocs','#FFF','Plugin','height','list','MessageType','deserializeRangeWithSheet','mergeOverrideWithDependencies','collaboration_new_changeset','color','LICENSE_IMPORT_SIZE_EXCEEDED','joinEvent','_getMergeRange','AuthzIoHttpService','method','engine','startsWith','onPointerMove$','M0\x200H16V16H0z','SheetCollabCursorShape','_unitStatus','SHOULD_CLOSE_CONN','CollaborationEntity','ONLINE','_getLoginPath','state$','UniverEngineRender','_clearLocalCache','onTransformRemoteChangesetByIMECache','/-/object/list','reconnect','getSheetId','onlyLocal','ILocalStorageService','_drawTextRange','Tooltip','_schedule','encode','flatMap','awaitingChangeset','_startCollaboration','DocCollaborationEntity','1387664NCyxwq','defineProperty','LICENSE_MAX_UNITS_EXCEEDED','cmd','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_setupSubUnitSync','saveSnapshot','LIVESHARE_TERMINATE','_throwTelemetryCollaborationNewChangeset','collabStatus.fetchMiss','_onRecvEvent','_handleEvent'];_0x5581=function(){return _0x10a4d3;};return _0x5581();}function _0x2d25(_0xe26e1d,_0x14bae4){const _0x5581d8=_0x5581();return _0x2d25=function(_0x2d2585,_0x32236a){_0x2d2585=_0x2d2585-0x68;let _0x20131a=_0x5581d8[_0x2d2585];return _0x20131a;},_0x2d25(_0xe26e1d,_0x14bae4);}(function(_0x3fa6a2,_0x5ed810){const _0x1aceab=_0x2d25,_0x73d6b6=_0x3fa6a2();while(!![]){try{const _0x2a8a8b=-parseInt(_0x1aceab(0x170))/0x1+-parseInt(_0x1aceab(0x389))/0x2+-parseInt(_0x1aceab(0x46b))/0x3*(-parseInt(_0x1aceab(0x45e))/0x4)+-parseInt(_0x1aceab(0xd7))/0x5*(-parseInt(_0x1aceab(0x3a6))/0x6)+parseInt(_0x1aceab(0x4a0))/0x7+parseInt(_0x1aceab(0x3e3))/0x8*(-parseInt(_0x1aceab(0x213))/0x9)+parseInt(_0x1aceab(0x33d))/0xa;if(_0x2a8a8b===_0x5ed810)break;else _0x73d6b6['push'](_0x73d6b6['shift']());}catch(_0x2c2188){_0x73d6b6['push'](_0x73d6b6['shift']());}}}(_0x5581,0x70760),function(_0x508118,_0x5d0095){const _0x5b92fd=_0x2d25;typeof exports==_0x5b92fd(0x1c9)&&typeof module<'u'?_0x5d0095(exports,require(_0x5b92fd(0x2d9)),require(_0x5b92fd(0x2cc)),require(_0x5b92fd(0x476)),require(_0x5b92fd(0x1d2)),require('@univerjs/ui'),require(_0x5b92fd(0x1c0)),require(_0x5b92fd(0x25f)),require('@univerjs/telemetry'),require(_0x5b92fd(0x289)),require(_0x5b92fd(0x1b3)),require('@univerjs/engine-render'),require(_0x5b92fd(0x291)),require(_0x5b92fd(0x2d0)),require(_0x5b92fd(0x495)),require('@univerjs/sheets-ui'),require(_0x5b92fd(0x1a2)),require(_0x5b92fd(0x347)),require(_0x5b92fd(0xee))):typeof define==_0x5b92fd(0x34d)&&define[_0x5b92fd(0xc7)]?define([_0x5b92fd(0x21e),'@univerjs/core','rxjs',_0x5b92fd(0x476),'@univerjs/design',_0x5b92fd(0x17c),_0x5b92fd(0x1c0),_0x5b92fd(0x25f),_0x5b92fd(0xd0),_0x5b92fd(0x289),_0x5b92fd(0x1b3),_0x5b92fd(0x37c),_0x5b92fd(0x291),_0x5b92fd(0x2d0),_0x5b92fd(0x495),_0x5b92fd(0x435),'react',_0x5b92fd(0x347),'@univerjs-pro/license'],_0x5d0095):(_0x508118=typeof globalThis<'u'?globalThis:_0x508118||self,_0x5d0095(_0x508118[_0x5b92fd(0x229)]={},_0x508118['UniverCore'],_0x508118[_0x5b92fd(0x2cc)],_0x508118[_0x5b92fd(0x2cc)][_0x5b92fd(0x404)],_0x508118[_0x5b92fd(0x249)],_0x508118[_0x5b92fd(0x183)],_0x508118[_0x5b92fd(0x486)],_0x508118[_0x5b92fd(0x192)],_0x508118[_0x5b92fd(0x1b5)],_0x508118['UniverDocsUi'],_0x508118[_0x5b92fd(0xb0)],_0x508118[_0x5b92fd(0x3d3)],_0x508118[_0x5b92fd(0x3b9)],_0x508118[_0x5b92fd(0x124)],_0x508118['UniverEngineFormula'],_0x508118[_0x5b92fd(0x4a7)],_0x508118['React'],_0x508118['UniverRpc'],_0x508118['UniverLicense']));}(this,function(_0x594fe1,_0x2c7fed,_0x1fc547,_0x2eca2e,_0x4d689c,_0x4b403d,_0x4893ce,_0x2856d7,_0x15ef2d,_0x21cef1,_0x244249,_0x180dc9,_0x7ac583,_0x48fa70,_0x172d10,_0x3f13ec,_0x18f464,_0x214b0d,_0x3cd408){'use strict';const _0x291ba3=_0x2d25;var _0x215d66=Object[_0x291ba3(0x3e4)],_0x412f35=(_0x13200a,_0x51bbca,_0x581086)=>_0x51bbca in _0x13200a?_0x215d66(_0x13200a,_0x51bbca,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x581086}):_0x13200a[_0x51bbca]=_0x581086,_0x24cbc7=(_0x4469c5,_0x2ba6da,_0x30809e)=>_0x412f35(_0x4469c5,typeof _0x2ba6da!=_0x291ba3(0x1ed)?_0x2ba6da+'':_0x2ba6da,_0x30809e);const _0x2e8c6c='SNAPSHOT_SERVER_URL_KEY',_0x5dad33='/universer-api/snapshot',_0x5615fb=_0x291ba3(0x424),_0xf30628=_0x291ba3(0x10a),_0x8abbe0='COLLAB_WEB_SOCKET_URL',_0x30eb17='ws://127.0.0.1:8000/universer-api/comb/connect',_0x16f4d4='HEARTBEAT_INTERVAL',_0x56c1a7=_0x291ba3(0x33b),_0x42be50='RETRY_CONNECTING_MAX_COUNT',_0x3085a4='LOCAL_CACHE_INTERVAL',_0x16814e=_0x291ba3(0x429),_0x7001e1='/universer-api/comb',_0x52fcac='LOGIN_URL_KEY',_0x18b7b1='/universer-api/oidc/authpage';var _0x2bbf52=(_0x3695ae=>(_0x3695ae[_0x3695ae[_0x291ba3(0x38d)]=0x0]='UNDEFINED',_0x3695ae[_0x3695ae['OK']=0x1]='OK',_0x3695ae[_0x3695ae['INTERNAL_ERROR']=0x2]=_0x291ba3(0x136),_0x3695ae[_0x3695ae[_0x291ba3(0x1c2)]=0x3]=_0x291ba3(0x1c2),_0x3695ae[_0x3695ae[_0x291ba3(0x445)]=0x4]=_0x291ba3(0x445),_0x3695ae[_0x3695ae['UNAUTHENTICATED']=0x5]='UNAUTHENTICATED',_0x3695ae[_0x3695ae[_0x291ba3(0x1a5)]=0x6]=_0x291ba3(0x1a5),_0x3695ae[_0x3695ae[_0x291ba3(0x231)]=0x7]=_0x291ba3(0x231),_0x3695ae[_0x3695ae['TOO_MANY_REQUESTS']=0x8]='TOO_MANY_REQUESTS',_0x3695ae[_0x3695ae[_0x291ba3(0x11f)]=0x9]=_0x291ba3(0x11f),_0x3695ae[_0x3695ae[_0x291ba3(0x37a)]=0x1389]=_0x291ba3(0x37a),_0x3695ae[_0x3695ae['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x3695ae[_0x3695ae['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x291ba3(0xc1),_0x3695ae[_0x3695ae['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x291ba3(0x292),_0x3695ae[_0x3695ae['APPLY_REJECT']=0x1b59]='APPLY_REJECT',_0x3695ae[_0x3695ae[_0x291ba3(0x49f)]=0x1b5a]=_0x291ba3(0x49f),_0x3695ae[_0x3695ae[_0x291ba3(0x138)]=0x1b5b]=_0x291ba3(0x138),_0x3695ae[_0x3695ae['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x291ba3(0x261),_0x3695ae[_0x3695ae[_0x291ba3(0xd2)]=0x1b5d]=_0x291ba3(0xd2),_0x3695ae[_0x3695ae['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x291ba3(0x142),_0x3695ae[_0x3695ae[_0x291ba3(0x3e5)]=0x2329]=_0x291ba3(0x3e5),_0x3695ae[_0x3695ae[_0x291ba3(0x244)]=0x232a]=_0x291ba3(0x244),_0x3695ae[_0x3695ae[_0x291ba3(0x3c3)]=0x232b]=_0x291ba3(0x3c3),_0x3695ae[_0x3695ae['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x291ba3(0x13a),_0x3695ae[_0x3695ae[_0x291ba3(0x203)]=0x232d]=_0x291ba3(0x203),_0x3695ae[_0x3695ae[_0x291ba3(0x405)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x3695ae[_0x3695ae[_0x291ba3(0x300)]=0x2712]=_0x291ba3(0x300),_0x3695ae[_0x3695ae['YUUMI_RATE_OVER_LIMIT']=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x3695ae[_0x3695ae[_0x291ba3(0x413)]=0x2714]=_0x291ba3(0x413),_0x3695ae[_0x3695ae[_0x291ba3(0x7b)]=-0x1]=_0x291ba3(0x7b),_0x3695ae))(_0x2bbf52||{}),_0x4cd70d=(_0x2fb581=>(_0x2fb581[_0x2fb581[_0x291ba3(0x8c)]=0x0]=_0x291ba3(0x8c),_0x2fb581[_0x2fb581[_0x291ba3(0x130)]=0x1]='UNIVER_DOC',_0x2fb581[_0x2fb581[_0x291ba3(0x2aa)]=0x2]=_0x291ba3(0x2aa),_0x2fb581[_0x2fb581['UNIVER_SLIDE']=0x3]=_0x291ba3(0x1df),_0x2fb581[_0x2fb581[_0x291ba3(0x2e5)]=0x4]=_0x291ba3(0x2e5),_0x2fb581[_0x2fb581[_0x291ba3(0x7b)]=-0x1]=_0x291ba3(0x7b),_0x2fb581))(_0x4cd70d||{}),_0x153a81=(_0x2a9b05=>(_0x2a9b05[_0x2a9b05[_0x291ba3(0x28f)]=0x0]=_0x291ba3(0x28f),_0x2a9b05[_0x2a9b05[_0x291ba3(0x2ab)]=0x1]=_0x291ba3(0x2ab),_0x2a9b05[_0x2a9b05[_0x291ba3(0x41a)]=0x2]='JOIN',_0x2a9b05[_0x2a9b05[_0x291ba3(0x15b)]=0x3]=_0x291ba3(0x15b),_0x2a9b05[_0x2a9b05[_0x291ba3(0xe8)]=0x4]=_0x291ba3(0xe8),_0x2a9b05[_0x2a9b05[_0x291ba3(0x39a)]=0x5]='HEARTBEAT',_0x2a9b05[_0x2a9b05[_0x291ba3(0x40a)]=0x6]=_0x291ba3(0x40a),_0x2a9b05[_0x2a9b05[_0x291ba3(0x7b)]=-0x1]=_0x291ba3(0x7b),_0x2a9b05))(_0x153a81||{}),_0xb7a022=(_0x360f39=>(_0x360f39[_0x360f39[_0x291ba3(0x3a4)]=0x0]='UNKNOWN_CODE',_0x360f39[_0x360f39['OK']=0x1]='OK',_0x360f39[_0x360f39[_0x291ba3(0xaf)]=0x2]=_0x291ba3(0xaf),_0x360f39[_0x360f39[_0x291ba3(0x7b)]=-0x1]=_0x291ba3(0x7b),_0x360f39))(_0xb7a022||{}),_0x1c10fa=(_0x26a863=>(_0x26a863[_0x26a863['Undefined']=0x0]=_0x291ba3(0x406),_0x26a863[_0x26a863['HttpImport']=0x1]=_0x291ba3(0x1ba),_0x26a863[_0x26a863[_0x291ba3(0x11c)]=0x2]='HttpExport',_0x26a863[_0x26a863[_0x291ba3(0x475)]=0x3]=_0x291ba3(0x475),_0x26a863[_0x26a863['UnitSnapshot']=0x4]='UnitSnapshot',_0x26a863[_0x26a863[_0x291ba3(0x7b)]=-0x1]=_0x291ba3(0x7b),_0x26a863))(_0x1c10fa||{});const _0x229401=_0x291ba3(0x117),_0x357162={};function _0xd87005(_0x55e76e){const _0xa343fa=_0x291ba3;var _0x575db1,_0x1dfb69,_0x97ae0f,_0x2ef5d7;const _0x3f0c17=_0x55e76e[_0xa343fa(0x253)],_0x3edb54=JSON['parse'](_0x3f0c17);switch(_0x3edb54[_0xa343fa(0x3e6)]){case _0x153a81[_0xa343fa(0x39a)]:case _0x153a81['HELLO']:{const _0x3d4d04=_0x3edb54['infoRsp'];return{..._0x3edb54,'data':_0x3d4d04,'cmd':_0x3edb54[_0xa343fa(0x3e6)]};}case _0x153a81[_0xa343fa(0x41a)]:{const _0x4ebb5f=_0x3edb54[_0xa343fa(0x217)];return{..._0x3edb54,'data':_0x4ebb5f,'cmd':_0x3edb54['cmd']};}case _0x153a81[_0xa343fa(0x40a)]:{const _0x470201=_0x3edb54['collaMsg'];switch(_0x470201[_0xa343fa(0x243)]){case _0x2856d7[_0xa343fa(0x93)][_0xa343fa(0x474)]:return{..._0x3edb54,'data':{..._0x470201,'data':(_0x575db1=_0x470201[_0xa343fa(0x441)])==null?void 0x0:_0x575db1['cs']},'cmd':_0x3edb54['cmd']};case _0x2856d7[_0xa343fa(0x93)][_0xa343fa(0x402)]:return{..._0x3edb54,'data':{..._0x470201,'data':(_0x1dfb69=_0x470201[_0xa343fa(0x456)])==null?void 0x0:_0x1dfb69['cs']},'cmd':_0x3edb54['cmd']};case _0x2856d7['CollaborationEvent']['NEW_CHANGESETS']:return{..._0x3edb54,'data':{..._0x470201,'data':(_0x97ae0f=_0x470201[_0xa343fa(0x343)])==null?void 0x0:_0x97ae0f['cs']},'cmd':_0x3edb54[_0xa343fa(0x3e6)]};case _0x2856d7[_0xa343fa(0x93)][_0xa343fa(0x2dc)]:return{..._0x3edb54,'data':{..._0x470201,'data':(_0x2ef5d7=_0x470201['csRejEvent'])==null?void 0x0:_0x2ef5d7['cs']},'cmd':_0x3edb54['cmd']};case _0x2856d7['CollaborationEvent'][_0xa343fa(0x31f)]:return{..._0x3edb54,'data':{..._0x470201,'data':_0x470201[_0xa343fa(0x41b)]},'cmd':_0x3edb54['cmd']};case _0x2856d7[_0xa343fa(0x93)][_0xa343fa(0x3ff)]:return{..._0x3edb54,'data':{..._0x470201,'data':_0x470201[_0xa343fa(0x3c4)]},'cmd':_0x3edb54[_0xa343fa(0x3e6)]};case _0x2856d7[_0xa343fa(0x93)]['USERS_LEAVE']:return{..._0x3edb54,'data':{..._0x470201,'data':_0x470201['leaveEvent']},'cmd':_0x3edb54['cmd']};case _0x2856d7['CollaborationEvent'][_0xa343fa(0x287)]:return{..._0x3edb54,'data':{..._0x470201,'data':_0x470201[_0xa343fa(0x35a)]},'cmd':_0x3edb54[_0xa343fa(0x3e6)]};case _0x2856d7[_0xa343fa(0x93)][_0xa343fa(0x439)]:case _0x2856d7[_0xa343fa(0x93)][_0xa343fa(0xac)]:return{..._0x3edb54,'data':{..._0x470201,'data':_0x470201[_0xa343fa(0x18c)]},'cmd':_0x3edb54['cmd']};case _0x2856d7[_0xa343fa(0x93)][_0xa343fa(0x3ea)]:return{..._0x3edb54,'data':{..._0x470201,'data':_0x470201[_0xa343fa(0x35a)]},'cmd':_0x3edb54[_0xa343fa(0x3e6)]};case _0x2856d7[_0xa343fa(0x93)][_0xa343fa(0x38c)]:return{..._0x3edb54,'data':_0x470201,'cmd':_0x3edb54[_0xa343fa(0x3e6)]};case _0x2856d7['CollaborationEvent'][_0xa343fa(0x14a)]:return{..._0x3edb54,'data':{..._0x470201,'data':_0x470201[_0xa343fa(0xe2)]},'cmd':_0x3edb54[_0xa343fa(0x3e6)]};case _0x2856d7[_0xa343fa(0x93)][_0xa343fa(0xbf)]:return{..._0x3edb54,'data':{..._0x470201,'data':_0x470201[_0xa343fa(0x368)]},'cmd':_0x3edb54['cmd']};case _0x2856d7[_0xa343fa(0x93)][_0xa343fa(0x3ce)]:return{..._0x3edb54,'data':{..._0x470201,'data':_0x470201[_0xa343fa(0x14e)]},'cmd':_0x3edb54[_0xa343fa(0x3e6)]};default:return _0x3edb54;}}default:return _0x3edb54;}}function _0x8a6853(_0x170204){const _0x2f18bc=_0x291ba3;switch(_0x170204[_0x2f18bc(0x3e6)]){case _0x153a81[_0x2f18bc(0x39a)]:case _0x153a81['HELLO']:return JSON[_0x2f18bc(0x2eb)]({'cmd':_0x170204['cmd'],'routeKey':_0x170204['routeKey']});case _0x153a81[_0x2f18bc(0xe8)]:{let _0x484327;switch(_0x170204[_0x2f18bc(0x253)]['eventID']){case _0x2856d7[_0x2f18bc(0x93)]['UPDATE_CURSOR']:{_0x484327={'eventID':_0x2856d7[_0x2f18bc(0x93)][_0x2f18bc(0x31f)],'updateCursorEvent':_0x170204[_0x2f18bc(0x253)][_0x2f18bc(0x253)]};break;}case _0x2856d7['CollaborationEvent'][_0x2f18bc(0x408)]:{_0x484327={'eventID':_0x2856d7['CollaborationEvent']['USERS_LEAVE'],'leaveEvent':_0x170204[_0x2f18bc(0x253)][_0x2f18bc(0x253)]};break;}case _0x2856d7[_0x2f18bc(0x93)][_0x2f18bc(0x3ff)]:{_0x484327={'eventID':_0x2856d7[_0x2f18bc(0x93)][_0x2f18bc(0x3ff)],'joinEvent':_0x170204[_0x2f18bc(0x253)][_0x2f18bc(0x253)]};break;}case _0x2856d7[_0x2f18bc(0x93)][_0x2f18bc(0x287)]:{_0x484327={'eventID':_0x2856d7['CollaborationEvent']['LIVESHARE_NEW_HOST'],'liveShareNewHost':_0x170204[_0x2f18bc(0x253)][_0x2f18bc(0x253)]};break;}case _0x2856d7[_0x2f18bc(0x93)][_0x2f18bc(0xac)]:{_0x484327={'eventID':_0x2856d7[_0x2f18bc(0x93)][_0x2f18bc(0xac)],'liveShareOperation':_0x170204[_0x2f18bc(0x253)][_0x2f18bc(0x253)]};break;}case _0x2856d7[_0x2f18bc(0x93)][_0x2f18bc(0x3ea)]:{_0x484327={'eventID':_0x2856d7[_0x2f18bc(0x93)][_0x2f18bc(0x3ea)],'liveShareTerminate':_0x170204[_0x2f18bc(0x253)][_0x2f18bc(0x253)]};break;}case _0x2856d7[_0x2f18bc(0x93)][_0x2f18bc(0x1c3)]:{_0x484327={'eventID':_0x2856d7[_0x2f18bc(0x93)][_0x2f18bc(0x1c3)],'liveShareRequestHost':_0x170204['data'][_0x2f18bc(0x253)]};break;}case _0x2856d7[_0x2f18bc(0x93)][_0x2f18bc(0x439)]:{_0x484327={'eventID':_0x2856d7['CollaborationEvent']['LIVESHARE_FETCH_OPERATIONS']};break;}default:_0x484327={'eventID':_0x170204[_0x2f18bc(0x253)][_0x2f18bc(0x243)]};}return JSON[_0x2f18bc(0x2eb)]({'cmd':_0x170204[_0x2f18bc(0x3e6)],'routeKey':_0x170204[_0x2f18bc(0x48c)],'collaMsg':_0x484327});}case _0x153a81['JOIN']:return JSON[_0x2f18bc(0x2eb)]({'cmd':_0x170204[_0x2f18bc(0x3e6)],'routeKey':_0x170204[_0x2f18bc(0x48c)],'joinReq':_0x170204['data']});case _0x153a81[_0x2f18bc(0x15b)]:return JSON[_0x2f18bc(0x2eb)]({'cmd':_0x170204['cmd'],'routeKey':_0x170204[_0x2f18bc(0x48c)],'leaveReq':_0x170204[_0x2f18bc(0x253)]});default:throw new Error(_0x2f18bc(0x9b));}}var _0x40b90e=Object[_0x291ba3(0x3e4)],_0x50755b=Object[_0x291ba3(0x373)],_0x70ba07=(_0x1f13e2,_0x33cdcf,_0x48e4db,_0x4aabe8)=>{const _0x5ecb4b=_0x291ba3;for(var _0x39fac6=_0x4aabe8>0x1?void 0x0:_0x4aabe8?_0x50755b(_0x33cdcf,_0x48e4db):_0x33cdcf,_0x367e47=_0x1f13e2[_0x5ecb4b(0xbb)]-0x1,_0x1ba9ba;_0x367e47>=0x0;_0x367e47--)(_0x1ba9ba=_0x1f13e2[_0x367e47])&&(_0x39fac6=(_0x4aabe8?_0x1ba9ba(_0x33cdcf,_0x48e4db,_0x39fac6):_0x1ba9ba(_0x39fac6))||_0x39fac6);return _0x4aabe8&&_0x39fac6&&_0x40b90e(_0x33cdcf,_0x48e4db,_0x39fac6),_0x39fac6;},_0x2ca0b1=(_0x52f114,_0x26ef2b)=>(_0x2659f9,_0x3ecfb4)=>_0x26ef2b(_0x2659f9,_0x3ecfb4,_0x52f114);const _0x268546=_0x2c7fed[_0x291ba3(0x33e)](_0x291ba3(0x392));function _0x31d6b1(_0x52f470,_0x9c5ba0,_0x562ffc){const _0x43f2cf=_0x291ba3;return _0x52f470+'/'+_0x9c5ba0+'/unit/'+_0x562ffc+_0x43f2cf(0x357);}_0x594fe1[_0x291ba3(0x37d)]=class extends _0x2c7fed[_0x291ba3(0x2e7)]{constructor(_0x33b555,_0x4aaac9,_0x4448cc,_0x111e88,_0x34feb2){const _0x2c5d95=_0x291ba3;super(),this['_http']=_0x33b555,this[_0x2c5d95(0x2e6)]=_0x4aaac9,this[_0x2c5d95(0x2e2)]=_0x4448cc,this[_0x2c5d95(0x139)]=_0x111e88,this[_0x2c5d95(0x38f)]=_0x34feb2;}['createSocket'](_0x1020a9){const _0x48ae37=_0x291ba3,_0x123743=this[_0x48ae37(0x2e6)][_0x48ae37(0x455)](_0x1020a9);if(!_0x123743)throw new Error(_0x48ae37(0x80));const _0x1d4a9b=new _0x2c7fed[(_0x48ae37(0x2f4))](),_0x1989f9=new _0x1fc547[(_0x48ae37(0x165))]();_0x1d4a9b[_0x48ae37(0x8b)](_0x123743[_0x48ae37(0x2ad)][_0x48ae37(0x3f2)](_0x2268ec=>_0x1989f9[_0x48ae37(0x2ce)](_0x2268ec))),_0x1d4a9b['add'](_0x2c7fed['toDisposable'](()=>_0x1989f9[_0x48ae37(0x420)]()));const _0x40212c=new _0x1fc547[(_0x48ae37(0x165))]();_0x1d4a9b[_0x48ae37(0x8b)](_0x123743[_0x48ae37(0x464)]['subscribe'](_0x2ba614=>_0x40212c[_0x48ae37(0x2ce)](_0x2ba614))),_0x1d4a9b[_0x48ae37(0x8b)](_0x2c7fed[_0x48ae37(0x337)](()=>_0x40212c[_0x48ae37(0x420)]()));const _0xa0c637=new _0x1fc547[(_0x48ae37(0x165))]();_0x1d4a9b[_0x48ae37(0x8b)](_0x123743[_0x48ae37(0x113)][_0x48ae37(0x3f2)](_0xca01c0=>{const _0x36c937=_0x48ae37,_0xeb208=_0xd87005(_0xca01c0);_0xa0c637[_0x36c937(0x2ce)](_0xeb208);})),_0x1d4a9b[_0x48ae37(0x8b)](_0x2c7fed[_0x48ae37(0x337)](()=>_0xa0c637[_0x48ae37(0x420)]()));let _0x25d2bb;const _0x187a88=()=>{const _0xca204f=_0x48ae37;_0x40212c['next'](new Event(_0xca204f(0x265))),_0x1989f9[_0xca204f(0x2ce)](new CloseEvent(_0xca204f(0x265))),_0x25d2bb[_0xca204f(0x3f5)]();};return _0x25d2bb={'memberID':'','close$':_0x1989f9[_0x48ae37(0x442)](),'error$':_0x40212c[_0x48ae37(0x442)](),'open$':_0x123743[_0x48ae37(0x2a7)],'message$':_0xa0c637[_0x48ae37(0x442)](),'send':_0x4d9e18=>{const _0x328f32=_0x48ae37;if(_0x4d9e18[_0x328f32(0x3e6)]===_0x153a81[_0x328f32(0xe8)]){if(_0x4d9e18[_0x328f32(0x253)][_0x328f32(0x243)]===_0x2856d7[_0x328f32(0x93)][_0x328f32(0x29f)]){this[_0x328f32(0x206)](_0x25d2bb,_0x4d9e18[_0x328f32(0x253)])[_0x328f32(0x36d)](_0x3edace=>{const _0x2f7691=_0x328f32;this['_logService'][_0x2f7691(0x41d)](_0x3edace),_0x187a88();});return;}if(_0x4d9e18[_0x328f32(0x253)][_0x328f32(0x243)]===_0x2856d7[_0x328f32(0x93)]['FETCH_MISSING']){const _0x5c9521=_0x4d9e18[_0x328f32(0x253)];this[_0x328f32(0x364)](_0x5c9521)[_0x328f32(0x308)](_0x19890c=>{const _0x4bee1a=_0x328f32;_0xa0c637[_0x4bee1a(0x2ce)]({'cmd':_0x153a81[_0x4bee1a(0x40a)],'code':_0xb7a022['OK'],'routeKey':_0x5c9521['data']['unitID'],'routeType':'','data':{'eventID':_0x2856d7['CollaborationEvent'][_0x4bee1a(0x322)],'data':{'changesets':_0x19890c}}});})[_0x328f32(0x36d)](_0x411704=>{const _0x1ac132=_0x328f32;this[_0x1ac132(0x139)]['error'](_0x411704),_0x187a88();});return;}}_0x123743['send'](_0x8a6853(_0x4d9e18));},'close':()=>{_0x123743['close'](),_0x1d4a9b['dispose']();}},_0x25d2bb;}async[_0x291ba3(0x206)](_0x140e6d,_0x45c5c4){const _0x1a26cd=_0x291ba3;var _0x4eba44,_0x291b81;const {unitType:_0x3ceecf,unitID:_0x34b315,changeset:_0x298954}=_0x45c5c4[_0x1a26cd(0x253)],_0x346887={'unitID':_0x34b315,'memberID':_0x140e6d['memberID'],'type':_0x3ceecf,'changeset':_0x2856d7['parseChangesetToProtocol'](_0x298954)},_0x2a82a7=this[_0x1a26cd(0x2e2)][_0x1a26cd(0x304)](_0x16814e),_0xf7ec4e=this[_0x1a26cd(0x2e2)][_0x1a26cd(0x304)](_0x229401),_0x24b3d7=_0x31d6b1((_0x291b81=(_0x4eba44=_0xf7ec4e==null?void 0x0:_0xf7ec4e['collabSubmitChangesetUrl'])!=null?_0x4eba44:_0x2a82a7)!=null?_0x291b81:_0x7001e1,_0x3ceecf,_0x34b315);try{await this[_0x1a26cd(0x279)][_0x1a26cd(0x4a6)](_0x24b3d7,{'body':_0x346887});}catch(_0x1c2c52){throw this[_0x1a26cd(0x139)]['error']('[CollaborationSession]',_0x1a26cd(0x1ad)),_0x1c2c52;}}async[_0x291ba3(0x364)](_0x2b0db0){const _0x5535e8=_0x291ba3,{unitID:_0xaf04ca,from:_0x2dde98,to:_0x4bcbad,unitType:_0x20a425}=_0x2b0db0[_0x5535e8(0x253)];return(await this['_snapshotServerService'][_0x5535e8(0x28e)]({'metadata':void 0x0},{'unitID':_0xaf04ca,'type':_0x20a425,'from':_0x2dde98,'to':_0x4bcbad}))[_0x5535e8(0x2ac)];}},_0x594fe1[_0x291ba3(0x37d)]=_0x70ba07([_0x2ca0b1(0x0,_0x2c7fed['Inject'](_0x4893ce[_0x291ba3(0x99)])),_0x2ca0b1(0x1,_0x2c7fed[_0x291ba3(0x16b)](_0x4893ce[_0x291ba3(0xf6)])),_0x2ca0b1(0x2,_0x2c7fed[_0x291ba3(0x309)]),_0x2ca0b1(0x3,_0x2c7fed['ILogService']),_0x2ca0b1(0x4,_0x2856d7[_0x291ba3(0xe6)])],_0x594fe1[_0x291ba3(0x37d)]);const _0x447475=_0x291ba3(0x3c1);function _0x11e35a(_0x34b605){const _0x1d0d2a=_0x291ba3;return JSON['stringify'](_0x34b605)[_0x1d0d2a(0xbb)];}class _0x1ab0de{constructor(){const _0x3d3345=_0x291ba3;_0x24cbc7(this,_0x3d3345(0x7e),new _0x1fc547[(_0x3d3345(0x165))]()),_0x24cbc7(this,'commentUpdate$',this[_0x3d3345(0x7e)]['asObservable']());}[_0x291ba3(0x7c)](_0x113af5){const _0xa4e03d=_0x291ba3;this[_0xa4e03d(0x7e)][_0xa4e03d(0x2ce)](_0x113af5);}}var _0x27ba10=Object[_0x291ba3(0x3e4)],_0xed637d=Object[_0x291ba3(0x373)],_0x4bacb4=(_0x2f7940,_0x19ec8b,_0x2c15e5,_0x375ca2)=>{for(var _0x3a122d=_0x375ca2>0x1?void 0x0:_0x375ca2?_0xed637d(_0x19ec8b,_0x2c15e5):_0x19ec8b,_0x4c87f5=_0x2f7940['length']-0x1,_0x1a4650;_0x4c87f5>=0x0;_0x4c87f5--)(_0x1a4650=_0x2f7940[_0x4c87f5])&&(_0x3a122d=(_0x375ca2?_0x1a4650(_0x19ec8b,_0x2c15e5,_0x3a122d):_0x1a4650(_0x3a122d))||_0x3a122d);return _0x375ca2&&_0x3a122d&&_0x27ba10(_0x19ec8b,_0x2c15e5,_0x3a122d),_0x3a122d;},_0x45a087=(_0x2b0ec9,_0x2eda3b)=>(_0xc13a8,_0xf6646a)=>_0x2eda3b(_0xc13a8,_0xf6646a,_0x2b0ec9);let _0x4d411d=class extends _0x2c7fed['Disposable']{constructor(_0x1d3508,_0xfc2339){const _0x3afb10=_0x291ba3;super(),_0x24cbc7(this,'_roomMembers',new Map()),(this['_univerInstanceService']=_0x1d3508,this[_0x3afb10(0x2b0)]=_0xfc2339,this[_0x3afb10(0x351)](_0x2c7fed['toDisposable'](_0x1fc547[_0x3afb10(0x94)](this[_0x3afb10(0x79)][_0x3afb10(0xc6)](_0x2c7fed[_0x3afb10(0xcb)][_0x3afb10(0x2aa)])[_0x3afb10(0x256)](_0x2eca2e[_0x3afb10(0x21b)](_0x43f1d1=>_0x43f1d1[_0x3afb10(0x11d)]())),this['_univerInstanceService'][_0x3afb10(0xc6)](_0x2c7fed['UniverInstanceType'][_0x3afb10(0x130)])['pipe'](_0x2eca2e[_0x3afb10(0x21b)](_0x25793d=>_0x25793d[_0x3afb10(0x11d)]())),this['_univerInstanceService'][_0x3afb10(0xc6)](_0x2c7fed[_0x3afb10(0xcb)]['UNIVER_SLIDE'])['pipe'](_0x2eca2e[_0x3afb10(0x21b)](_0x12e08d=>_0x12e08d[_0x3afb10(0x11d)]())))[_0x3afb10(0x3f2)](_0x2d13b8=>this[_0x3afb10(0x297)](_0x2d13b8)))));}[_0x291ba3(0x2a1)](_0x215ed3){const _0x229f7e=_0x291ba3;this[_0x229f7e(0x2b0)][_0x229f7e(0x2a1)](_0x215ed3);}[_0x291ba3(0x1b0)](){const _0x16a4ee=_0x291ba3;return this[_0x16a4ee(0x2b0)]['getCurrentUser']();}['updateMember'](_0x7b86ef,_0x976c2c){const _0x525218=_0x291ba3;let _0x3b973c=this[_0x525218(0x1d6)][_0x525218(0x400)](_0x7b86ef);_0x3b973c||(_0x3b973c=new _0x31de47(),this[_0x525218(0x1d6)][_0x525218(0x250)](_0x7b86ef,_0x3b973c)),_0x3b973c[_0x525218(0x83)](_0x976c2c);}[_0x291ba3(0x6b)](_0x46c1f0,_0x333ca4){const _0x142279=_0x291ba3,_0x3b47b0=this['_roomMembers']['get'](_0x46c1f0);_0x3b47b0&&_0x3b47b0[_0x142279(0x6b)](_0x333ca4);}[_0x291ba3(0x3af)](_0x291cf6){const _0x4c157a=_0x291ba3;return this[_0x4c157a(0x1d6)]['get'](_0x291cf6);}[_0x291ba3(0x465)](_0x40ce48,_0x26e9c9){const _0x21e591=_0x291ba3,_0x2ff027=this[_0x21e591(0x1d6)][_0x21e591(0x400)](_0x40ce48);if(_0x2ff027)return _0x2ff027[_0x21e591(0x465)](_0x26e9c9);}['_removeRoom'](_0x412d3f){const _0x4ae231=_0x291ba3,_0x51eb33=this['_roomMembers'][_0x4ae231(0x400)](_0x412d3f);_0x51eb33&&(_0x51eb33['dispose'](),this[_0x4ae231(0x1d6)]['delete'](_0x412d3f));}[_0x291ba3(0x35e)](){const _0x3e84f2=_0x291ba3;this[_0x3e84f2(0x1d6)][_0x3e84f2(0xb2)](_0x435192=>_0x435192['dispose']()),this['_roomMembers']['clear']();}};_0x4d411d=_0x4bacb4([_0x45a087(0x0,_0x2c7fed['IUniverInstanceService']),_0x45a087(0x1,_0x2c7fed[_0x291ba3(0x16b)](_0x2c7fed[_0x291ba3(0x31c)]))],_0x4d411d);class _0x31de47 extends _0x2c7fed[_0x291ba3(0x2e7)]{constructor(){const _0x1cf9db=_0x291ba3;super(...arguments),_0x24cbc7(this,_0x1cf9db(0x22e),new Map());}['dispose'](){const _0x467dba=_0x291ba3;this[_0x467dba(0x22e)]['clear']();}['updateMember'](_0x5f494b){const _0x4872fc=_0x291ba3;this[_0x4872fc(0x22e)][_0x4872fc(0x250)](_0x5f494b['memberID'],_0x5f494b);}[_0x291ba3(0x6b)](_0x4d63ca){const _0x5dbc8a=_0x291ba3;this[_0x5dbc8a(0x22e)]['delete'](_0x4d63ca);}[_0x291ba3(0x465)](_0x5e4cc8){const _0x4a5f5b=_0x291ba3;return this['_members'][_0x4a5f5b(0x400)](_0x5e4cc8);}}var _0x392bd0=Object[_0x291ba3(0x3e4)],_0x14bb27=Object['getOwnPropertyDescriptor'],_0x4d1096=(_0x2e1c8f,_0x3e1c5e,_0x10186c,_0x233704)=>{const _0x31c986=_0x291ba3;for(var _0x2dd305=_0x233704>0x1?void 0x0:_0x233704?_0x14bb27(_0x3e1c5e,_0x10186c):_0x3e1c5e,_0xb72ad1=_0x2e1c8f[_0x31c986(0xbb)]-0x1,_0xa3ce3b;_0xb72ad1>=0x0;_0xb72ad1--)(_0xa3ce3b=_0x2e1c8f[_0xb72ad1])&&(_0x2dd305=(_0x233704?_0xa3ce3b(_0x3e1c5e,_0x10186c,_0x2dd305):_0xa3ce3b(_0x2dd305))||_0x2dd305);return _0x233704&&_0x2dd305&&_0x392bd0(_0x3e1c5e,_0x10186c,_0x2dd305),_0x2dd305;},_0x54ef2b=(_0x33159d,_0xeabd56)=>(_0x455334,_0x22d25e)=>_0xeabd56(_0x455334,_0x22d25e,_0x33159d),_0x11a57f=(_0x2cb805=>(_0x2cb805[_0x2cb805[_0x291ba3(0xea)]=0x0]=_0x291ba3(0xea),_0x2cb805[_0x2cb805[_0x291ba3(0x460)]=0x1]='JOINING',_0x2cb805[_0x2cb805[_0x291ba3(0x2cf)]=0x2]=_0x291ba3(0x2cf),_0x2cb805[_0x2cb805['ONLINE']=0x3]=_0x291ba3(0x3d0),_0x2cb805))(_0x11a57f||{});_0x594fe1['CollaborationSession']=class extends _0x2c7fed['RxDisposable']{constructor(_0x5b5513,_0x4b2255,_0x4e1dba,_0x47c9e6,_0xab58b,_0x314785,_0x585ebd,_0x5ee6d1,_0x3eec1,_0x3ff1c9){const _0x8c12aa=_0x291ba3;super(),_0x24cbc7(this,_0x8c12aa(0x48a),new _0x1fc547[(_0x8c12aa(0x467))](0x0)),_0x24cbc7(this,_0x8c12aa(0x1a8),this[_0x8c12aa(0x48a)][_0x8c12aa(0x442)]()),_0x24cbc7(this,_0x8c12aa(0x196),new _0x1fc547[(_0x8c12aa(0x165))]()),_0x24cbc7(this,_0x8c12aa(0x272),this[_0x8c12aa(0x196)][_0x8c12aa(0x442)]()),_0x24cbc7(this,_0x8c12aa(0x15c)),_0x24cbc7(this,_0x8c12aa(0x335)),_0x24cbc7(this,'_collaborationTimeoutTimer'),_0x24cbc7(this,_0x8c12aa(0x8e),!0x1),_0x24cbc7(this,_0x8c12aa(0x3ae),null),(this[_0x8c12aa(0x85)]=_0x5b5513,this[_0x8c12aa(0x139)]=_0x4e1dba,this[_0x8c12aa(0x49c)]=_0x47c9e6,this[_0x8c12aa(0x17b)]=_0xab58b,this[_0x8c12aa(0x2e2)]=_0x314785,this[_0x8c12aa(0x277)]=_0x585ebd,this[_0x8c12aa(0x29e)]=_0x5ee6d1,this[_0x8c12aa(0x26a)]=_0x3eec1,this['_telemetryService']=_0x3ff1c9,this['_shouldReportTelemetry']=!!this[_0x8c12aa(0x286)],_0x4b2255[_0x8c12aa(0x256)](_0x1fc547[_0x8c12aa(0x211)](this['dispose$']))[_0x8c12aa(0x3f2)](_0x55d40d=>{const _0x14eb27=_0x8c12aa;var _0x510c54;typeof _0x55d40d>'u'||(this[_0x14eb27(0x15c)]=_0x55d40d,_0x55d40d?(this[_0x14eb27(0x22c)](_0x55d40d),this[_0x14eb27(0x335)]=_0x55d40d[_0x14eb27(0x113)][_0x14eb27(0x3f2)](_0x588875=>{const _0x74de32=_0x14eb27;_0x588875[_0x74de32(0x48c)]===this[_0x74de32(0x85)]&&this[_0x74de32(0x2a5)](_0x588875);})):(this[_0x14eb27(0x3eb)](),this[_0x14eb27(0x48a)][_0x14eb27(0x2ce)](0x2),(_0x510c54=this[_0x14eb27(0x335)])==null||_0x510c54[_0x14eb27(0x128)](),this['_socketMessageSubscription']=null));}),this[_0x8c12aa(0x351)](this['_beforeCloseService']['registerOnClose'](()=>{const _0x431eb9=_0x8c12aa;var _0x55d841;(_0x55d841=this[_0x431eb9(0x15c)])==null||_0x55d841[_0x431eb9(0x319)]({'cmd':_0x153a81['LEAVE'],'data':{'roomID':this[_0x431eb9(0x85)]}});})));}get[_0x291ba3(0x312)](){const _0x4f46e2=_0x291ba3;return this[_0x4f46e2(0x48a)][_0x4f46e2(0x1e7)]();}[_0x291ba3(0x34f)](){const _0x5d3e56=_0x291ba3;var _0x5909cf,_0x16b790;return(_0x16b790=(_0x5909cf=this[_0x5d3e56(0x15c)])==null?void 0x0:_0x5909cf[_0x5d3e56(0x16a)])!=null?_0x16b790:null;}['dispose'](){const _0x56c955=_0x291ba3;super[_0x56c955(0x35e)](),this[_0x56c955(0xf7)][_0x56c955(0x2ce)](),this[_0x56c955(0xf7)]['complete']();}['close'](){const _0x10eef0=_0x291ba3;var _0xd06b82,_0xb74229;this[_0x10eef0(0x3eb)](),(_0xd06b82=this[_0x10eef0(0x15c)])==null||_0xd06b82[_0x10eef0(0x319)]({'cmd':_0x153a81[_0x10eef0(0x15b)],'data':{'roomID':this[_0x10eef0(0x85)]}}),(_0xb74229=this[_0x10eef0(0x15c)])==null||_0xb74229[_0x10eef0(0x3f5)](),this[_0x10eef0(0x196)]['complete'](),this[_0x10eef0(0x48a)][_0x10eef0(0x420)](),this[_0x10eef0(0x35e)]();}['_onCombEvent'](_0x332467){const _0x3e0780=_0x291ba3;_0x332467[_0x3e0780(0x3e6)]===_0x153a81[_0x3e0780(0x41a)]?this['_onJoinRoomEvent'](_0x332467):_0x332467[_0x3e0780(0x3e6)]===_0x153a81[_0x3e0780(0x40a)]&&this[_0x3e0780(0x3ed)](_0x332467);}[_0x291ba3(0x22c)](_0x5968d0){const _0x1077ab=_0x291ba3;this[_0x1077ab(0x48a)]['next'](0x1),_0x5968d0[_0x1077ab(0x319)]({'cmd':_0x153a81['JOIN'],'routeKey':this[_0x1077ab(0x85)],'routeType':'','data':{'rooms':[{'roomID':this['_unitID']}]}});}[_0x291ba3(0x275)](_0x4419f5){const _0x1e1bef=_0x291ba3;var _0x464ebc;if(_0x4419f5[_0x1e1bef(0x3b4)]===_0xb7a022[_0x1e1bef(0xaf)]){this[_0x1e1bef(0x17b)][_0x1e1bef(0x116)]({'type':_0x4d689c[_0x1e1bef(0x3be)]['Warning'],'content':this['_localeService']['t'](_0x1e1bef(0x20f))}),this[_0x1e1bef(0x48a)][_0x1e1bef(0x2ce)](0x2);return;}this[_0x1e1bef(0x48a)][_0x1e1bef(0x2ce)](0x3);const _0x2ec711=(_0x464ebc=_0x4419f5[_0x1e1bef(0x253)][_0x1e1bef(0x237)][this[_0x1e1bef(0x85)]])==null?void 0x0:_0x464ebc[_0x1e1bef(0xba)];_0x2ec711&&_0x2ec711[_0x1e1bef(0xb2)](_0x3181b8=>this['_memberService']['updateMember'](this[_0x1e1bef(0x85)],_0x3181b8));}[_0x291ba3(0x3ed)](_0x4d9d22){const _0xbd600c=_0x291ba3;try{const _0x95bec4=_0x4d9d22['data'];switch(_0x95bec4[_0xbd600c(0x243)]){case _0x2856d7['CollaborationEvent'][_0xbd600c(0x3ff)]:this[_0xbd600c(0x110)](_0x95bec4),this[_0xbd600c(0x196)][_0xbd600c(0x2ce)](_0x95bec4);break;case _0x2856d7[_0xbd600c(0x93)][_0xbd600c(0x408)]:this['_onUserLeave'](_0x95bec4),this[_0xbd600c(0x196)][_0xbd600c(0x2ce)](_0x95bec4);break;case _0x2856d7['CollaborationEvent'][_0xbd600c(0x402)]:this[_0xbd600c(0x42c)](),this['_clearCollaborationTimeoutTimer'](),this[_0xbd600c(0x196)][_0xbd600c(0x2ce)](_0x95bec4);break;case _0x2856d7[_0xbd600c(0x93)][_0xbd600c(0x38c)]:this[_0xbd600c(0x139)][_0xbd600c(0x41d)]('save\x20fail\x20reason\x20is\x20'+JSON[_0xbd600c(0x2eb)](_0x95bec4)),this[_0xbd600c(0x196)][_0xbd600c(0x2ce)](_0x95bec4);break;case _0x2856d7[_0xbd600c(0x93)][_0xbd600c(0x14a)]:this[_0xbd600c(0x26a)][_0xbd600c(0x7c)](_0x95bec4[_0xbd600c(0x253)]),this[_0xbd600c(0x196)][_0xbd600c(0x2ce)](_0x95bec4);break;default:this[_0xbd600c(0x196)][_0xbd600c(0x2ce)](_0x95bec4);}}catch(_0x98a960){this['_logService'][_0xbd600c(0x41d)](_0x98a960,_0x4d9d22);}}[_0x291ba3(0x110)](_0x1f3462){const _0x3755b0=_0x291ba3;this[_0x3755b0(0x29e)][_0x3755b0(0x83)](this[_0x3755b0(0x85)],_0x1f3462[_0x3755b0(0x253)]);}[_0x291ba3(0x44e)](_0x2ce0e8){const _0x14a971=_0x291ba3;this[_0x14a971(0x29e)][_0x14a971(0x6b)](this[_0x14a971(0x85)],_0x2ce0e8[_0x14a971(0x253)]['memberID']);}async['send'](_0x19df46,_0xcf669){const _0x1e5c81=_0x291ba3;if(this[_0x1e5c81(0x312)]!==0x3||!this[_0x1e5c81(0x15c)])throw new Error(_0x1e5c81(0x3f9));try{_0x19df46[_0x1e5c81(0x243)]===_0x2856d7['CollaborationEvent'][_0x1e5c81(0x29f)]&&(this[_0x1e5c81(0x214)](),this['_startTelemetryCollaborationNewChangeset'](_0x19df46)),this[_0x1e5c81(0x15c)]['send']({'cmd':_0x153a81['INGEST'],'routeKey':_0xcf669,'routeType':'','data':_0x19df46});}catch(_0x537c59){this[_0x1e5c81(0x139)][_0x1e5c81(0x41d)](_0x537c59);}}[_0x291ba3(0x214)](){const _0x14b670=_0x291ba3;var _0x10a27c;this[_0x14b670(0x317)]=window[_0x14b670(0x24a)](()=>{const _0x2125cc=_0x14b670;this[_0x2125cc(0x317)]=null,this[_0x2125cc(0x17b)][_0x2125cc(0x116)]({'type':_0x4d689c[_0x2125cc(0x3be)][_0x2125cc(0x167)],'content':this[_0x2125cc(0x277)]['t']('session.collaboration-timeout')});},(_0x10a27c=this[_0x14b670(0x2e2)]['getConfig'](_0x56c1a7))!=null?_0x10a27c:0x4e20);}[_0x291ba3(0x8a)](){const _0x3d6761=_0x291ba3;this['_collaborationTimeoutTimer']&&(clearTimeout(this['_collaborationTimeoutTimer']),this[_0x3d6761(0x317)]=null);}[_0x291ba3(0x18e)](_0x31cfa6){const _0xa1cf9c=_0x291ba3;if(!this[_0xa1cf9c(0x8e)])return;const {data:_0x1c471}=_0x31cfa6,{unitID:_0x9869a4,changeset:_0x16b2b8}=_0x1c471,{mutations:_0x157679,type:_0x3e56f9}=_0x16b2b8;this[_0xa1cf9c(0x3ae)]={'unitId':_0x9869a4,'type':_0x3e56f9,'startTime':performance[_0xa1cf9c(0x202)](),'stopTime':0x0,'duration':0x0,'size':_0x11e35a(_0x157679)};}[_0x291ba3(0x42c)](){const _0xce2d56=_0x291ba3;if(this[_0xce2d56(0x8e)]){if(!this[_0xce2d56(0x3ae)]){this['_logService'][_0xce2d56(0x41d)](_0xce2d56(0x2b5),'telemetry\x20info\x20is\x20not\x20initialized');return;}this[_0xce2d56(0x3ae)][_0xce2d56(0x1ca)]=performance[_0xce2d56(0x202)](),this[_0xce2d56(0x3ae)][_0xce2d56(0x296)]=this[_0xce2d56(0x3ae)][_0xce2d56(0x1ca)]-this[_0xce2d56(0x3ae)]['startTime'],this[_0xce2d56(0x286)]['capture'](_0x447475,this['_telemetryInfo']),this['_telemetryInfo']=null;}}[_0x291ba3(0x3eb)](){const _0x18ecd5=_0x291ba3;this[_0x18ecd5(0x3ae)]=null;}},_0x594fe1[_0x291ba3(0x10f)]=_0x4d1096([_0x54ef2b(0x2,_0x2c7fed[_0x291ba3(0x2fd)]),_0x54ef2b(0x3,_0x4b403d['IBeforeCloseService']),_0x54ef2b(0x4,_0x4b403d[_0x291ba3(0x2f2)]),_0x54ef2b(0x5,_0x2c7fed[_0x291ba3(0x309)]),_0x54ef2b(0x6,_0x2c7fed[_0x291ba3(0x16b)](_0x2c7fed[_0x291ba3(0x1a7)])),_0x54ef2b(0x7,_0x2c7fed['Inject'](_0x4d411d)),_0x54ef2b(0x8,_0x2c7fed[_0x291ba3(0x16b)](_0x1ab0de)),_0x54ef2b(0x9,_0x2c7fed[_0x291ba3(0x425)](_0x15ef2d[_0x291ba3(0x3a2)]))],_0x594fe1[_0x291ba3(0x10f)]);var _0x5459d7=Object[_0x291ba3(0x3e4)],_0x2f5612=Object['getOwnPropertyDescriptor'],_0x248764=(_0x290a03,_0x12c65b,_0x3f418f,_0x147132)=>{const _0x1ceee1=_0x291ba3;for(var _0x481c92=_0x147132>0x1?void 0x0:_0x147132?_0x2f5612(_0x12c65b,_0x3f418f):_0x12c65b,_0x41965b=_0x290a03[_0x1ceee1(0xbb)]-0x1,_0xc30ad9;_0x41965b>=0x0;_0x41965b--)(_0xc30ad9=_0x290a03[_0x41965b])&&(_0x481c92=(_0x147132?_0xc30ad9(_0x12c65b,_0x3f418f,_0x481c92):_0xc30ad9(_0x481c92))||_0x481c92);return _0x147132&&_0x481c92&&_0x5459d7(_0x12c65b,_0x3f418f,_0x481c92),_0x481c92;},_0x4d099e=(_0x13174f,_0x9d8cc9)=>(_0x58910e,_0x85c007)=>_0x9d8cc9(_0x58910e,_0x85c007,_0x13174f);_0x594fe1[_0x291ba3(0xeb)]=class extends _0x2c7fed[_0x291ba3(0x2e7)]{constructor(_0x2c1d99,_0x1852bb,_0x41155b,_0x49b093,_0x356a1b,_0x1e236e){const _0x3709dc=_0x291ba3;super(),_0x24cbc7(this,'_socket$',new _0x1fc547[(_0x3709dc(0x467))](void 0x0)),_0x24cbc7(this,_0x3709dc(0x70),this[_0x3709dc(0x46f)][_0x3709dc(0x442)]()),_0x24cbc7(this,_0x3709dc(0x2d1),null),_0x24cbc7(this,'_sessions',new Map()),_0x24cbc7(this,_0x3709dc(0x6d),new _0x1fc547[(_0x3709dc(0x467))](_0x11a57f['IDLE'])),_0x24cbc7(this,_0x3709dc(0x338),this[_0x3709dc(0x6d)]['asObservable']()),_0x24cbc7(this,'_socketReady',!0x1),_0x24cbc7(this,_0x3709dc(0x2d7)),_0x24cbc7(this,_0x3709dc(0x173),0x0),_0x24cbc7(this,'_sendHeartbeatTimer'),_0x24cbc7(this,_0x3709dc(0x1d8)),(this['_injector']=_0x2c1d99,this[_0x3709dc(0x277)]=_0x1852bb,this[_0x3709dc(0x17b)]=_0x41155b,this['_logService']=_0x49b093,this['_configService']=_0x356a1b,this[_0x3709dc(0x4a4)]=_0x1e236e,this[_0x3709dc(0x18d)]());}get['_socket'](){const _0x50efe2=_0x291ba3;return this[_0x50efe2(0x46f)][_0x50efe2(0x1e7)]();}['_initEventListeners'](){const _0x5bc9b3=_0x291ba3;this[_0x5bc9b3(0xd3)](),this[_0x5bc9b3(0x1cb)]();}[_0x291ba3(0x35e)](){const _0x42c35b=_0x291ba3;super[_0x42c35b(0x35e)](),this[_0x42c35b(0x171)][_0x42c35b(0xb2)](_0x5aa856=>_0x5aa856['dispose']()),this['_sessions']['clear'](),this[_0x42c35b(0x6d)][_0x42c35b(0x420)]();}async[_0x291ba3(0x22d)](_0x3423a3){const _0x33fa73=_0x291ba3;if(this[_0x33fa73(0x171)][_0x33fa73(0x169)](_0x3423a3))return this['_sessions'][_0x33fa73(0x400)](_0x3423a3);this[_0x33fa73(0x160)]();const _0x1d3e3f=this[_0x33fa73(0x10d)][_0x33fa73(0x266)](_0x594fe1[_0x33fa73(0x10f)],_0x3423a3,this[_0x33fa73(0x46f)][_0x33fa73(0x442)]());return this[_0x33fa73(0x171)][_0x33fa73(0x250)](_0x3423a3,_0x1d3e3f),_0x1d3e3f;}[_0x291ba3(0x105)](_0x4e6cb6){const _0x3b6607=_0x291ba3;var _0xcdfecd;const _0x1f8f0e=this['_sessions'][_0x3b6607(0x400)](_0x4e6cb6);_0x1f8f0e&&(this[_0x3b6607(0x171)][_0x3b6607(0x39c)](_0x4e6cb6),_0x1f8f0e[_0x3b6607(0x3f5)]()),this['_sessions'][_0x3b6607(0x3f6)]||(_0xcdfecd=this[_0x3b6607(0x15c)])==null||_0xcdfecd[_0x3b6607(0x3f5)]();}[_0x291ba3(0x3d7)](){const _0x3681dc=_0x291ba3;this[_0x3681dc(0x173)]=0x0,this[_0x3681dc(0x2d7)]!=null&&(clearTimeout(this[_0x3681dc(0x2d7)]),this[_0x3681dc(0x2d7)]=null),this['_tryReconnect']();}[_0x291ba3(0x2cb)](){const _0x44e354=_0x291ba3;var _0x2e13c1,_0x47f217;const _0x4e72c9=this[_0x44e354(0x2e2)][_0x44e354(0x304)](_0x8abbe0),_0x1fd35c=this[_0x44e354(0x2e2)]['getConfig'](_0x229401),_0x32e70e=(_0x47f217=(_0x2e13c1=_0x1fd35c==null?void 0x0:_0x1fd35c[_0x44e354(0x114)])!=null?_0x2e13c1:_0x4e72c9)!=null?_0x47f217:_0x30eb17,_0x1f5983=this[_0x44e354(0x4a4)]['createSocket'](_0x32e70e);return this[_0x44e354(0x2d1)]=_0x1f5983,_0x1f5983;}[_0x291ba3(0x160)](){const _0x56bc0c=_0x291ba3;var _0x4fd25e,_0x18ba9d;try{const _0x3685e6=(_0x18ba9d=(_0x4fd25e=this[_0x56bc0c(0x15c)])!=null?_0x4fd25e:this[_0x56bc0c(0x2d1)])!=null?_0x18ba9d:this[_0x56bc0c(0x2cb)]();if(_0x3685e6){const _0x40596d=_0x3685e6['send'];_0x3685e6[_0x56bc0c(0x319)]=_0xb0d463=>(this[_0x56bc0c(0x1ce)](),_0x40596d[_0x56bc0c(0x1ac)](_0x3685e6,[_0xb0d463])),_0x3685e6[_0x56bc0c(0x113)][_0x56bc0c(0x3f2)](_0x8f4ec9=>this[_0x56bc0c(0x127)](_0x3685e6,_0x8f4ec9)),_0x3685e6[_0x56bc0c(0x464)][_0x56bc0c(0x256)](_0x2eca2e[_0x56bc0c(0x482)](0x1))[_0x56bc0c(0x3f2)](_0x27e2f9=>this[_0x56bc0c(0x139)][_0x56bc0c(0x41d)](_0x56bc0c(0x47b),_0x27e2f9)),_0x3685e6['open$']['pipe'](_0x2eca2e[_0x56bc0c(0x482)](0x1))[_0x56bc0c(0x3f2)](()=>{const _0x201782=_0x56bc0c;this[_0x201782(0x84)](_0x3685e6);}),_0x3685e6['close$'][_0x56bc0c(0x256)](_0x2eca2e[_0x56bc0c(0x482)](0x1))['subscribe'](_0x468a0d=>{const _0x5c4a0c=_0x56bc0c;this[_0x5c4a0c(0x139)][_0x5c4a0c(0x1e9)](_0x5c4a0c(0xa0),_0x5c4a0c(0x247),_0x468a0d),this[_0x5c4a0c(0x146)]();});}}catch(_0x365ea3){this[_0x56bc0c(0x139)][_0x56bc0c(0x41d)](_0x365ea3),this[_0x56bc0c(0x146)]();}}['_onConnectionOpen'](_0x4933bd){const _0x5653b3=_0x291ba3;this[_0x5653b3(0x139)]['debug'](_0x5653b3(0xa0),_0x5653b3(0xd8)),_0x4933bd[_0x5653b3(0x319)]({'cmd':_0x153a81[_0x5653b3(0x2ab)]}),this[_0x5653b3(0x1ce)]();}[_0x291ba3(0xd3)](){window['addEventListener']('offline',()=>this['_onOffline']());}[_0x291ba3(0x29a)](){const _0x292b61=_0x291ba3;this[_0x292b61(0x31b)]=!0x1,this[_0x292b61(0x2d1)]=null,this[_0x292b61(0x6d)]['next'](_0x11a57f[_0x292b61(0x2cf)]),this[_0x292b61(0x46f)][_0x292b61(0x2ce)](null),this[_0x292b61(0x3b1)](),this[_0x292b61(0x75)]();}['_onConnectionFailed'](){const _0xe08242=_0x291ba3;var _0x285dab;this['_onOffline'](),this[_0xe08242(0x173)]<((_0x285dab=this[_0xe08242(0x2e2)][_0xe08242(0x304)](_0x42be50))!=null?_0x285dab:0x3)?(this[_0xe08242(0x17b)][_0xe08242(0x116)]({'key':_0xe08242(0x107),'type':_0x4d689c[_0xe08242(0x3be)][_0xe08242(0x13d)],'content':this[_0xe08242(0x277)]['t'](_0xe08242(0x1cf))}),this[_0xe08242(0x1fa)]()):this[_0xe08242(0x17b)][_0xe08242(0x116)]({'key':_0xe08242(0x107),'type':_0x4d689c[_0xe08242(0x3be)][_0xe08242(0x167)],'content':this[_0xe08242(0x277)]['t'](_0xe08242(0x1c7))});}[_0x291ba3(0x1cb)](){const _0xdf4a02=_0x291ba3,_0x1137ec=()=>{const _0x1b29b4=_0x2d25;this[_0x1b29b4(0x15c)]||this[_0x1b29b4(0x3d7)]();},_0x475782=()=>{const _0x1b3126=_0x2d25;this[_0x1b3126(0x15c)]||document['visibilityState']===_0x1b3126(0x350)||this[_0x1b3126(0x3d7)]();};window[_0xdf4a02(0x46a)](_0xdf4a02(0x269),_0x1137ec),document[_0xdf4a02(0x46a)]('visibilitychange',_0x475782);}[_0x291ba3(0x1fa)](){const _0x1555b4=_0x291ba3;var _0x3597a4;const _0x619cfb=this[_0x1555b4(0x173)],_0x4f3a4c=this[_0x1555b4(0x2e2)]['getConfig'](_0x229401),_0x126423=_0x619cfb===0x0?0x0:((_0x3597a4=_0x4f3a4c==null?void 0x0:_0x4f3a4c[_0x1555b4(0x175)])!=null?_0x3597a4:0x4e20)*0x2**_0x619cfb;this[_0x1555b4(0x2d7)]=window[_0x1555b4(0x24a)](()=>{const _0x4aa4ec=_0x1555b4;clearTimeout(this[_0x4aa4ec(0x2d7)]),this[_0x4aa4ec(0x2d7)]=null,this[_0x4aa4ec(0x160)]();},_0x126423),this[_0x1555b4(0x173)]+=0x1;}[_0x291ba3(0x127)](_0x1ac3f8,_0x2b6f01){const _0x3630c9=_0x291ba3,{cmd:_0x4b3957}=_0x2b6f01;_0x4b3957===_0x153a81[_0x3630c9(0x2ab)]&&!this[_0x3630c9(0x31b)]&&(_0x1ac3f8[_0x3630c9(0x16a)]=_0x2b6f01[_0x3630c9(0x253)][_0x3630c9(0x16a)],this[_0x3630c9(0x46f)][_0x3630c9(0x2ce)](_0x1ac3f8),this['_status$'][_0x3630c9(0x2ce)](_0x11a57f[_0x3630c9(0x3d0)]),this[_0x3630c9(0x31b)]=!0x0,this[_0x3630c9(0x2d1)]=null),_0x4b3957===_0x153a81['HEARTBEAT']&&this[_0x3630c9(0x3b1)](),this[_0x3630c9(0x1ce)]();}[_0x291ba3(0x1ce)](){const _0x4b62ea=_0x291ba3;var _0x47dd57;this[_0x4b62ea(0x75)](),this['_sendHeartbeatTimer']=window[_0x4b62ea(0x24a)](()=>this[_0x4b62ea(0xc9)](),(_0x47dd57=this[_0x4b62ea(0x2e2)][_0x4b62ea(0x304)](_0x16f4d4))!=null?_0x47dd57:0x7530);}[_0x291ba3(0xc9)](){const _0x2720b9=_0x291ba3;this[_0x2720b9(0x15c)]['send']({'cmd':_0x153a81[_0x2720b9(0x39a)]}),this[_0x2720b9(0x1af)]();}[_0x291ba3(0x1af)](){const _0xc72f38=_0x291ba3;var _0x50cc13;this[_0xc72f38(0x1d8)]=window[_0xc72f38(0x24a)](()=>this[_0xc72f38(0x146)](),(_0x50cc13=this[_0xc72f38(0x2e2)]['getConfig'](_0x56c1a7))!=null?_0x50cc13:0x4e20);}['_clearHeartbeatTimer'](){const _0x245a08=_0x291ba3;this[_0x245a08(0x2ec)]!=null&&(clearTimeout(this[_0x245a08(0x2ec)]),this[_0x245a08(0x2ec)]=null);}[_0x291ba3(0x3b1)](){const _0x45263d=_0x291ba3;this['_timeoutTimer']!=null&&(clearTimeout(this[_0x45263d(0x1d8)]),this[_0x45263d(0x1d8)]=null);}},_0x594fe1['CollaborationSessionService']=_0x248764([_0x4d099e(0x0,_0x2c7fed[_0x291ba3(0x16b)](_0x2c7fed[_0x291ba3(0x4a2)])),_0x4d099e(0x1,_0x2c7fed[_0x291ba3(0x16b)](_0x2c7fed[_0x291ba3(0x1a7)])),_0x4d099e(0x2,_0x4b403d['IMessageService']),_0x4d099e(0x3,_0x2c7fed[_0x291ba3(0x2fd)]),_0x4d099e(0x4,_0x2c7fed[_0x291ba3(0x309)]),_0x4d099e(0x5,_0x268546)],_0x594fe1[_0x291ba3(0xeb)]);for(var _0x41d1ae=[],_0x339f29=0x0;_0x339f29<0x100;++_0x339f29)_0x41d1ae[_0x291ba3(0x44a)]((_0x339f29+0x100)[_0x291ba3(0x161)](0x10)['slice'](0x1));function _0x5a63bb(_0x555a28,_0x527ac0=0x0){const _0x5356c9=_0x291ba3;return(_0x41d1ae[_0x555a28[_0x527ac0+0x0]]+_0x41d1ae[_0x555a28[_0x527ac0+0x1]]+_0x41d1ae[_0x555a28[_0x527ac0+0x2]]+_0x41d1ae[_0x555a28[_0x527ac0+0x3]]+'-'+_0x41d1ae[_0x555a28[_0x527ac0+0x4]]+_0x41d1ae[_0x555a28[_0x527ac0+0x5]]+'-'+_0x41d1ae[_0x555a28[_0x527ac0+0x6]]+_0x41d1ae[_0x555a28[_0x527ac0+0x7]]+'-'+_0x41d1ae[_0x555a28[_0x527ac0+0x8]]+_0x41d1ae[_0x555a28[_0x527ac0+0x9]]+'-'+_0x41d1ae[_0x555a28[_0x527ac0+0xa]]+_0x41d1ae[_0x555a28[_0x527ac0+0xb]]+_0x41d1ae[_0x555a28[_0x527ac0+0xc]]+_0x41d1ae[_0x555a28[_0x527ac0+0xd]]+_0x41d1ae[_0x555a28[_0x527ac0+0xe]]+_0x41d1ae[_0x555a28[_0x527ac0+0xf]])[_0x5356c9(0x33f)]();}var _0x253a7d,_0x3c7c72=new Uint8Array(0x10);function _0x53a2f5(){const _0x56a472=_0x291ba3;if(!_0x253a7d&&(_0x253a7d=typeof crypto<'u'&&crypto['getRandomValues']&&crypto[_0x56a472(0x7f)]['bind'](crypto),!_0x253a7d))throw new Error(_0x56a472(0x278));return _0x253a7d(_0x3c7c72);}var _0x2560a7=typeof crypto<'u'&&crypto['randomUUID']&&crypto[_0x291ba3(0x348)][_0x291ba3(0x1e0)](crypto);const _0x41af28={'randomUUID':_0x2560a7};function _0x2e2226(_0x37d8a7,_0x42d0ec,_0xbaa4c){const _0xf31ef9=_0x291ba3;if(_0x41af28[_0xf31ef9(0x348)]&&!_0x42d0ec&&!_0x37d8a7)return _0x41af28[_0xf31ef9(0x348)]();_0x37d8a7=_0x37d8a7||{};var _0x7ea660=_0x37d8a7[_0xf31ef9(0x26e)]||(_0x37d8a7[_0xf31ef9(0xb9)]||_0x53a2f5)();return _0x7ea660[0x6]=_0x7ea660[0x6]&0xf|0x40,_0x7ea660[0x8]=_0x7ea660[0x8]&0x3f|0x80,_0x5a63bb(_0x7ea660);}var _0x551cd4=Object[_0x291ba3(0x3e4)],_0x5d5de5=Object[_0x291ba3(0x373)],_0x2e8d7d=(_0x448adb,_0x540d12,_0xb27598,_0x3f2b75)=>{for(var _0x19a359=_0x3f2b75>0x1?void 0x0:_0x3f2b75?_0x5d5de5(_0x540d12,_0xb27598):_0x540d12,_0x400f7f=_0x448adb['length']-0x1,_0x3385fb;_0x400f7f>=0x0;_0x400f7f--)(_0x3385fb=_0x448adb[_0x400f7f])&&(_0x19a359=(_0x3f2b75?_0x3385fb(_0x540d12,_0xb27598,_0x19a359):_0x3385fb(_0x19a359))||_0x19a359);return _0x3f2b75&&_0x19a359&&_0x551cd4(_0x540d12,_0xb27598,_0x19a359),_0x19a359;},_0x4d3149=(_0x3bf7b3,_0x563ad3)=>(_0x4484f3,_0x585da4)=>_0x563ad3(_0x4484f3,_0x585da4,_0x3bf7b3);let _0x5bc594=class{constructor(_0x2400e7,_0x2473ed,_0x2ccc43){const _0x4c25ff=_0x291ba3;this[_0x4c25ff(0x10d)]=_0x2400e7,this['_transformService']=_0x2473ed,this[_0x4c25ff(0x20c)]=_0x2ccc43;}[_0x291ba3(0x315)](_0x5810f1){const _0x5cc501=_0x291ba3;this[_0x5cc501(0x221)](_0x5810f1),this[_0x5cc501(0x299)](_0x5810f1);}[_0x291ba3(0x326)](_0x332bf2){const _0x12c2f6=_0x291ba3,{unitID:_0x4d7c64}=_0x332bf2,_0x118d27=this[_0x12c2f6(0x20c)]['getRenderById'](_0x4d7c64)['with'](_0x21cef1[_0x12c2f6(0x141)]),{redoCache:_0x1a82c4}=_0x118d27[_0x12c2f6(0x365)]();if(_0x1a82c4[_0x12c2f6(0xbb)]===0x0)return _0x332bf2;let _0x59ce1f=_0x2c7fed[_0x12c2f6(0xa9)]['deepClone'](_0x332bf2[_0x12c2f6(0x1a9)][0x0]);for(let _0x18b723=0x0;_0x18b723<_0x1a82c4['length'];_0x18b723++){const _0x456b1c={'id':_0x12c2f6(0x1bf),'params':{..._0x1a82c4[_0x18b723]}},_0x4893ed=this[_0x12c2f6(0xbd)][_0x12c2f6(0x227)](_0x59ce1f,_0x456b1c,!0x1);if(_0x2856d7[_0x12c2f6(0x72)](_0x4893ed))throw _0x4893ed[_0x12c2f6(0x41d)];_0x59ce1f=_0x4893ed[_0x12c2f6(0x383)];}return{..._0x2c7fed['Tools']['deepClone'](_0x332bf2),'mutations':[_0x59ce1f]};}['_transformUndoRedoStack'](_0xc883bd){const _0x4c14f7=_0x291ba3,{unitID:_0x374b1b}=_0xc883bd,_0x6aa86c=this[_0x4c14f7(0x20c)][_0x4c14f7(0x419)](_0x374b1b)[_0x4c14f7(0x121)](_0x21cef1[_0x4c14f7(0x141)]),{undoCache:_0x37fe88,redoCache:_0x347d5d}=_0x6aa86c[_0x4c14f7(0x365)]();if(_0x37fe88['length']===0x0||_0x347d5d['length']===0x0)return;const _0x1b1343=[],_0x33c05e=[];let _0x47d2f2=_0x2c7fed[_0x4c14f7(0xa9)][_0x4c14f7(0x145)](_0xc883bd[_0x4c14f7(0x1a9)][0x0]),_0x468641=_0x2c7fed['Tools'][_0x4c14f7(0x145)](_0xc883bd[_0x4c14f7(0x1a9)][0x0]);for(let _0x282e63=_0x37fe88[_0x4c14f7(0xbb)]-0x1;_0x282e63>=0x0;_0x282e63--){const _0x4f51ed={'id':_0x4c14f7(0x1bf),'params':{..._0x37fe88[_0x282e63]}},_0x45a3bb={'id':_0x4c14f7(0x1bf),'params':{..._0x347d5d[_0x282e63]}},_0xc2a57c=this[_0x4c14f7(0xbd)][_0x4c14f7(0x227)](_0x47d2f2,_0x4f51ed,!0x1),_0x2b98b2=this['_transformService'][_0x4c14f7(0x227)](_0x468641,_0x45a3bb,!0x1);if(_0x2856d7[_0x4c14f7(0x72)](_0xc2a57c))throw _0xc2a57c[_0x4c14f7(0x41d)];if(_0x2856d7[_0x4c14f7(0x72)](_0x2b98b2))throw _0x2b98b2['error'];_0x1b1343[_0x4c14f7(0x42b)](_0xc2a57c['m2Prime'][_0x4c14f7(0x184)]),_0x33c05e['unshift'](_0x2b98b2['m2Prime'][_0x4c14f7(0x184)]),_0x47d2f2=_0xc2a57c['m1Prime'],_0x468641=_0x2b98b2['m1Prime'];}_0x6aa86c[_0x4c14f7(0x26f)]({'undoCache':_0x1b1343,'redoCache':_0x33c05e});}[_0x291ba3(0x299)](_0x26e081){const _0x3e2302=_0x291ba3,{unitID:_0x362298}=_0x26e081,_0x3c5705=this[_0x3e2302(0x20c)][_0x3e2302(0x419)](_0x362298)[_0x3e2302(0x121)](_0x21cef1[_0x3e2302(0x141)]),_0x45dfec=_0x3c5705[_0x3e2302(0x1f6)]();if(_0x45dfec==null)return;const _0x5ddfc2=[{'id':_0x3e2302(0x1bf),'params':{'unitId':_0x26e081[_0x3e2302(0x2ea)],'actions':null,'textRanges':[_0x45dfec]}}],_0x22e863=this['_transformService'][_0x3e2302(0x3b8)](_0x26e081,_0x5ddfc2);if(!_0x2856d7[_0x3e2302(0x38a)](_0x22e863))throw _0x22e863['error'];const _0x3eb6cc=_0x22e863[_0x3e2302(0x14f)][0x0]['params'][_0x3e2302(0x307)];Array[_0x3e2302(0x358)](_0x3eb6cc)&&_0x3eb6cc[_0x3e2302(0xbb)]&&_0x3c5705[_0x3e2302(0x2ef)](_0x3eb6cc[0x0]);}};_0x5bc594=_0x2e8d7d([_0x4d3149(0x0,_0x2c7fed['Inject'](_0x2c7fed[_0x291ba3(0x4a2)])),_0x4d3149(0x1,_0x2856d7[_0x291ba3(0x372)]),_0x4d3149(0x2,_0x180dc9['IRenderManagerService'])],_0x5bc594);var _0x1f2393=Object[_0x291ba3(0x3e4)],_0x351ad6=Object[_0x291ba3(0x373)],_0x418e78=(_0x1be24b,_0x259072,_0x96f942,_0x429805)=>{const _0x6ef026=_0x291ba3;for(var _0x407c80=_0x429805>0x1?void 0x0:_0x429805?_0x351ad6(_0x259072,_0x96f942):_0x259072,_0x5312a8=_0x1be24b[_0x6ef026(0xbb)]-0x1,_0x54e20d;_0x5312a8>=0x0;_0x5312a8--)(_0x54e20d=_0x1be24b[_0x5312a8])&&(_0x407c80=(_0x429805?_0x54e20d(_0x259072,_0x96f942,_0x407c80):_0x54e20d(_0x407c80))||_0x407c80);return _0x429805&&_0x407c80&&_0x1f2393(_0x259072,_0x96f942,_0x407c80),_0x407c80;},_0x2ceaef=(_0x4e0927,_0x5a013d)=>(_0x2d90ee,_0x2b5447)=>_0x5a013d(_0x2d90ee,_0x2b5447,_0x4e0927);_0x594fe1[_0x291ba3(0x378)]=class extends _0x2c7fed[_0x291ba3(0x2e7)]{constructor(_0xaa294c,_0x6996c4,_0x2a1ea1,_0x3797b8,_0x2cc7f5){const _0x5286bd=_0x291ba3;super(),_0x24cbc7(this,_0x5286bd(0x132),new Map()),_0x24cbc7(this,_0x5286bd(0x1b7),new Map()),_0x24cbc7(this,_0x5286bd(0x2a8),!0x1),(this[_0x5286bd(0x2e2)]=_0xaa294c,this[_0x5286bd(0x10e)]=_0x6996c4,this[_0x5286bd(0x49c)]=_0x2a1ea1,this['_localeService']=_0x3797b8,this['_revisionService']=_0x2cc7f5,this[_0x5286bd(0x2c9)]());}['disableLocalCache'](){const _0x347ae7=_0x291ba3;this[_0x347ae7(0x2a8)]=!0x0;}['enableLocalCache'](){const _0x5093b6=_0x291ba3;this[_0x5093b6(0x2a8)]=!0x1;}[_0x291ba3(0x35e)](){const _0x3726cb=_0x291ba3;this[_0x3726cb(0x1ab)]()[_0x3726cb(0x308)](()=>super[_0x3726cb(0x35e)]());}async['loadOfflineData'](_0x2fabf4){const _0x4c68a2=_0x291ba3;return this[_0x4c68a2(0x2a8)]?null:this[_0x4c68a2(0x10e)][_0x4c68a2(0x396)](_0x2d83a1(_0x2fabf4));}async[_0x291ba3(0x19b)](_0x5e501a,_0x4afa43){const _0x2ec6f5=_0x291ba3;return!!this['_localStorageService'][_0x2ec6f5(0x32a)](_0x5e501a,_0x4afa43);}[_0x291ba3(0x274)](_0x1e8b3c,_0x3cedca,_0x2ce7bb,_0x1ab20b){const _0x45d467=_0x291ba3,_0x5dc1e0=this['_revisionService'][_0x45d467(0x263)](_0x1e8b3c);this[_0x45d467(0x132)][_0x45d467(0x250)](_0x1e8b3c,{'unitID':_0x1e8b3c,'type':_0x3cedca,'awaitingChangeset':_0x2ce7bb,'mutations':_0x1ab20b,'rev':_0x5dc1e0}),this[_0x45d467(0x1b7)]['has'](_0x1e8b3c)||this[_0x45d467(0x246)](_0x1e8b3c);}['_scheduleSaving'](_0x240590){const _0xd74776=_0x291ba3,_0x52dd77=this[_0xd74776(0x2c7)]();_0x52dd77===0x0?this['_saveCache'](_0x240590):this[_0xd74776(0x1b7)][_0xd74776(0x250)](_0x240590,setTimeout(()=>this['_saveCache'](_0x240590),_0x52dd77));}[_0x291ba3(0x2c7)](){const _0x2b0105=_0x291ba3;var _0x46fa6a;return(_0x46fa6a=this[_0x2b0105(0x2e2)][_0x2b0105(0x304)](_0x3085a4))!=null?_0x46fa6a:0x3e8;}['_saveCache'](_0x1f299c){const _0x3ae7ec=_0x291ba3,_0x5971ed=this['_saveTaskMap'][_0x3ae7ec(0x400)](_0x1f299c);return _0x5971ed!==void 0x0&&window['clearTimeout'](_0x5971ed),this['_localStorageService'][_0x3ae7ec(0x32a)](_0x2d83a1(_0x1f299c),this['_cachedData'][_0x3ae7ec(0x400)](_0x1f299c))[_0x3ae7ec(0x308)](()=>this[_0x3ae7ec(0x1b7)][_0x3ae7ec(0x39c)](_0x1f299c));}async[_0x291ba3(0x1ab)](){const _0x3c10fa=_0x291ba3,_0x1b6e3a=[];this[_0x3c10fa(0x1b7)][_0x3c10fa(0xb2)]((_0x19368a,_0x523a7d)=>{const _0x1f36d4=_0x3c10fa;window[_0x1f36d4(0x3fc)](_0x19368a),_0x1b6e3a[_0x1f36d4(0x44a)](this[_0x1f36d4(0xe9)](_0x523a7d)[_0x1f36d4(0x308)](()=>{const _0x156ea4=_0x1f36d4;this[_0x156ea4(0x1b7)]['delete'](_0x523a7d);}));}),await Promise['all'](_0x1b6e3a);}['_setupBeforeClosingHandler'](){const _0x2a0efd=_0x291ba3;this['disposeWithMe'](this[_0x2a0efd(0x49c)][_0x2a0efd(0x2ee)](()=>{const _0x58a976=_0x2a0efd;if(this['_saveTaskMap'][_0x58a976(0x3f6)])return this[_0x58a976(0x277)]['t'](_0x58a976(0x473));}));}},_0x594fe1[_0x291ba3(0x378)]=_0x418e78([_0x2ceaef(0x0,_0x2c7fed['IConfigService']),_0x2ceaef(0x1,_0x2c7fed[_0x291ba3(0x3da)]),_0x2ceaef(0x2,_0x4b403d['IBeforeCloseService']),_0x2ceaef(0x3,_0x2c7fed[_0x291ba3(0x16b)](_0x2c7fed[_0x291ba3(0x1a7)])),_0x2ceaef(0x4,_0x2c7fed['Inject'](_0x2856d7[_0x291ba3(0x363)]))],_0x594fe1[_0x291ba3(0x378)]);function _0x2d83a1(_0x2ea9b7){const _0x4071da=_0x291ba3;return _0x4071da(0x176)+_0x2ea9b7;}var _0x10da0b=Object[_0x291ba3(0x3e4)],_0x96a46a=Object[_0x291ba3(0x373)],_0x562d84=(_0xcc9740,_0x3edce7,_0x4d0997,_0x423703)=>{const _0x4d912f=_0x291ba3;for(var _0x1b48ab=_0x423703>0x1?void 0x0:_0x423703?_0x96a46a(_0x3edce7,_0x4d0997):_0x3edce7,_0x38eb99=_0xcc9740[_0x4d912f(0xbb)]-0x1,_0xc80501;_0x38eb99>=0x0;_0x38eb99--)(_0xc80501=_0xcc9740[_0x38eb99])&&(_0x1b48ab=(_0x423703?_0xc80501(_0x3edce7,_0x4d0997,_0x1b48ab):_0xc80501(_0x1b48ab))||_0x1b48ab);return _0x423703&&_0x1b48ab&&_0x10da0b(_0x3edce7,_0x4d0997,_0x1b48ab),_0x1b48ab;},_0x50614c=(_0x4137b4,_0x25d10e)=>(_0x1d44a9,_0x569dd8)=>_0x25d10e(_0x1d44a9,_0x569dd8,_0x4137b4);function _0x3212ce(_0x827278){const _0x20ed57=_0x291ba3,{unitID:_0x3e39f1,mutations:_0x4fa7e6}=_0x827278;return{'unitId':_0x3e39f1,'subUnitId':_0x4fa7e6[0x0]['params'][_0x20ed57(0x101)]};}let _0x1b1a48=class{constructor(_0x355a34,_0x30661b,_0x4533a2){const _0x127bea=_0x291ba3;this[_0x127bea(0x10d)]=_0x355a34,this['_transformService']=_0x30661b,this['_instanceService']=_0x4533a2;}[_0x291ba3(0xc3)](_0x449a5d){const _0x2c6326=_0x291ba3;var _0x2a8ba8,_0x540909,_0x2217e6,_0x2e7b8c;const _0x1217b0=this[_0x2c6326(0x10d)][_0x2c6326(0x400)](_0x244249['SheetsSelectionsService']),{unitId:_0x1c0d3c,subUnitId:_0x558730}=_0x3212ce(_0x449a5d),_0x3ff168=_0x1217b0['getWorkbookSelections'](_0x1c0d3c)[_0x2c6326(0x1c4)](),_0x53113f=(_0x540909=(_0x2a8ba8=this[_0x2c6326(0x3f0)][_0x2c6326(0x205)](_0x1c0d3c))==null?void 0x0:_0x2a8ba8['getActiveSheet']())==null?void 0x0:_0x540909[_0x2c6326(0x3d8)]();if(_0x3ff168['length']===0x0||!_0x1c0d3c||!_0x558730)return;const _0x16c53d=[{'id':_0x244249[_0x2c6326(0x23d)]['id'],'params':{'unitId':_0x1c0d3c,'subUnitId':_0x53113f,'selections':_0x2c7fed['Tools']['deepClone'](_0x3ff168)}}],_0x2630cd=this[_0x2c6326(0xbd)][_0x2c6326(0x3b8)](_0x449a5d,_0x16c53d);if(!_0x2856d7[_0x2c6326(0x38a)](_0x2630cd))throw _0x2630cd[_0x2c6326(0x41d)];const _0x264a48=(_0x2e7b8c=(_0x2217e6=_0x2630cd['m2Prime'][0x0])==null?void 0x0:_0x2217e6['params'])==null?void 0x0:_0x2e7b8c[_0x2c6326(0x224)];Array['isArray'](_0x264a48)&&_0x264a48[_0x2c6326(0xbb)]&&this['_injector']['get'](_0x2c7fed['ICommandService'])[_0x2c6326(0x341)](_0x244249[_0x2c6326(0x23d)]['id'],{'unitId':_0x1c0d3c,'subUnitId':_0x53113f,'selections':_0x264a48});}};_0x1b1a48=_0x562d84([_0x50614c(0x0,_0x2c7fed[_0x291ba3(0x16b)](_0x2c7fed[_0x291ba3(0x4a2)])),_0x50614c(0x1,_0x2856d7[_0x291ba3(0x372)]),_0x50614c(0x2,_0x2c7fed[_0x291ba3(0x27a)])],_0x1b1a48);const _0x4ba495=_0x2c7fed[_0x291ba3(0x33e)](_0x291ba3(0x2cd));var _0x16b602=(_0x33236a=>(_0x33236a[_0x33236a[_0x291ba3(0x487)]=0x0]=_0x291ba3(0x487),_0x33236a[_0x33236a[_0x291ba3(0x3b3)]=0x1]=_0x291ba3(0x3b3),_0x33236a))(_0x16b602||{});const _0x47ecfb=0x7530,_0x22d271=_0x291ba3(0x276);class _0x1986bf extends _0x2c7fed[_0x291ba3(0x2e7)]{constructor(){const _0x47b155=_0x291ba3;super(),_0x24cbc7(this,_0x47b155(0x393),_0x2c7fed[_0x47b155(0xa9)]['generateRandomId']()),_0x24cbc7(this,_0x47b155(0x416),new Set()),_0x24cbc7(this,_0x47b155(0x133),new Map()),_0x24cbc7(this,_0x47b155(0x134),null),_0x24cbc7(this,_0x47b155(0xb4),new Map()),_0x24cbc7(this,'_unitStatus',new Map()),this[_0x47b155(0x366)]();}['dispose'](){const _0x327a68=_0x291ba3;super['dispose'](),this[_0x327a68(0xb4)][_0x327a68(0xb2)]((_0x2977b9,_0x4c255b)=>this[_0x327a68(0x1de)](_0x4c255b)),this[_0x327a68(0x134)]&&window[_0x327a68(0x10b)](this[_0x327a68(0x134)]);}[_0x291ba3(0x45b)](_0x65c10a){const _0x3924ab=_0x291ba3;return this[_0x3924ab(0x354)](_0x65c10a)[_0x3924ab(0x256)](_0x1fc547[_0x3924ab(0x2bf)]());}['editingUnit'](_0x582f03){const _0x20366c=_0x291ba3;this[_0x20366c(0x416)][_0x20366c(0x3f6)]===0x0&&this['_scheduleHeartbeat'](),this['_selfUnitIDs'][_0x20366c(0x8b)](_0x582f03),this[_0x20366c(0x306)]({'type':0x0,'memberID':this[_0x20366c(0x393)],'unitIDs':[_0x582f03],'isForwarded':!0x1});}[_0x291ba3(0x3b6)](_0x2406b1){const _0x4c2ed3=_0x291ba3;this[_0x4c2ed3(0x416)][_0x4c2ed3(0x39c)](_0x2406b1),this[_0x4c2ed3(0x416)][_0x4c2ed3(0x3f6)]===0x0&&this[_0x4c2ed3(0x134)]&&window[_0x4c2ed3(0x10b)](this[_0x4c2ed3(0x134)]);}[_0x291ba3(0x366)](){const _0x350f48=_0x291ba3;this['disposeWithMe'](_0x2c7fed[_0x350f48(0x337)](_0x1fc547[_0x350f48(0x30a)](window,_0x350f48(0x3a9))[_0x350f48(0x3f2)](_0x5306e8=>{const _0x3f01c8=_0x350f48;if(_0x5306e8[_0x3f01c8(0x421)]!==_0x22d271||!_0x5306e8['newValue'])return;const _0xc6cd88=JSON[_0x3f01c8(0x96)](_0x5306e8[_0x3f01c8(0x285)]);this['_handleEvent'](_0xc6cd88);}))),window[_0x350f48(0x46a)]('unload',()=>this[_0x350f48(0x306)]({'type':0x1,'memberID':this[_0x350f48(0x393)],'unitIDs':Array[_0x350f48(0x403)](this[_0x350f48(0x416)])}));}[_0x291ba3(0x3ee)](_0xd63a41){const _0x1259c4=_0x291ba3;switch(_0xd63a41['type']){case 0x0:this[_0x1259c4(0x2c3)](_0xd63a41);break;case 0x1:this[_0x1259c4(0x2ff)](_0xd63a41);break;case 0x2:this[_0x1259c4(0x2e1)](_0xd63a41);break;}}[_0x291ba3(0x2c3)](_0x3292d3){const _0x559788=_0x291ba3,{unitIDs:_0x4e30fa,memberID:_0x20c74c,isForwarded:_0x32e25e}=_0x3292d3;_0x4e30fa[_0x559788(0xb2)](_0x5dcaee=>{const _0xbccd9b=_0x559788;if(!_0x32e25e&&this[_0xbccd9b(0x133)][_0xbccd9b(0x169)](_0x5dcaee)&&this['_ensureSubject'](_0x5dcaee)['next'](0x1),!this[_0xbccd9b(0x133)][_0xbccd9b(0x169)](_0x5dcaee)||!this['_unitOnClients'][_0xbccd9b(0x400)](_0x5dcaee)[_0xbccd9b(0x169)](_0x20c74c)){const _0x44468e=this[_0xbccd9b(0x133)][_0xbccd9b(0x400)](_0x5dcaee)||new Set();_0x44468e[_0xbccd9b(0x8b)](_0x20c74c),this[_0xbccd9b(0x133)][_0xbccd9b(0x250)](_0x5dcaee,_0x44468e),this[_0xbccd9b(0xa4)](_0x20c74c);}}),_0x32e25e||this[_0x559788(0x306)]({'type':0x0,'memberID':this[_0x559788(0x393)],'unitIDs':[...this[_0x559788(0x416)]],'isForwarded':!0x0});}[_0x291ba3(0xa4)](_0x55be74){const _0x5771b9=_0x291ba3;this['_removeClearOtherTimer'](_0x55be74);const _0x2d5e67=window[_0x5771b9(0x24a)](()=>{const _0x20c6a8=_0x5771b9;this[_0x20c6a8(0x133)]['forEach'](_0x53f392=>{const _0x316982=_0x20c6a8;_0x53f392[_0x316982(0x39c)](_0x55be74);});},_0x47ecfb*0x2);this['_clearOtherTimers'][_0x5771b9(0x250)](_0x55be74,_0x2d5e67);}['_removeClearOtherTimer'](_0x58c662){const _0x90e82e=_0x291ba3;if(this['_clearOtherTimers']['has'](_0x58c662)){const _0x52107c=this['_clearOtherTimers']['get'](_0x58c662);_0x52107c&&window[_0x90e82e(0x3fc)](_0x52107c),this[_0x90e82e(0xb4)][_0x90e82e(0x250)](_0x58c662,null);}}[_0x291ba3(0x2ff)](_0x350031){const _0x5dc376=_0x291ba3,{memberID:_0xc8245f,unitIDs:_0x340273}=_0x350031;_0x340273['forEach'](_0x1c7cbb=>{const _0x4b0f41=_0x2d25;var _0x652aa7;const _0x498743=this[_0x4b0f41(0x133)][_0x4b0f41(0x400)](_0x1c7cbb);_0x498743&&(_0x498743[_0x4b0f41(0x39c)](_0xc8245f),(_0x652aa7=this['_ensureSubject'](_0x1c7cbb))==null||_0x652aa7['next'](_0x498743[_0x4b0f41(0x3f6)]===0x0?0x0:0x1));}),this[_0x5dc376(0x1de)](_0xc8245f);}[_0x291ba3(0x2e1)](_0x21af7b){const _0x52533e=_0x291ba3;this[_0x52533e(0xa4)](_0x21af7b[_0x52533e(0x16a)]);}['_send'](_0x4e1273){const _0x2a8079=_0x291ba3;localStorage[_0x2a8079(0x32a)](_0x22d271,JSON['stringify'](_0x4e1273));}[_0x291ba3(0x2fb)](){const _0x2e79c9=_0x291ba3;this['_heartbeatTimer']=window[_0x2e79c9(0xd5)](()=>{const _0x20d38b=_0x2e79c9;this[_0x20d38b(0x306)]({'type':0x2,'memberID':this[_0x20d38b(0x393)]});},_0x47ecfb);}[_0x291ba3(0x354)](_0xc6241d){const _0x184801=_0x291ba3;return this[_0x184801(0x3cd)][_0x184801(0x169)](_0xc6241d)||this[_0x184801(0x3cd)][_0x184801(0x250)](_0xc6241d,new _0x1fc547[(_0x184801(0x467))](0x0)),this['_unitStatus'][_0x184801(0x400)](_0xc6241d);}}function _0x5a4515(_0x3bf076){let _0x4de61e='';for(const _0x36f738 of _0x3bf076){const {startOffset:_0x8f3ce5,endOffset:_0x3dde83,isActive:_0x1597d3}=_0x36f738;_0x4de61e['length']&&(_0x4de61e+=','),_0x4de61e+=_0x8f3ce5+':'+_0x3dde83+':'+(_0x1597d3?'1':'0');}return _0x4de61e;}function _0x3a9cc2(_0x509607){const _0x3e4bc1=_0x291ba3,_0x1f9423=_0x509607[_0x3e4bc1(0x3ef)](','),_0x483d68=[];for(const _0x5293ca of _0x1f9423){const [_0x95fcb7,_0x5ee31e,_0x3f1be6]=_0x5293ca[_0x3e4bc1(0x3ef)](':');_0x483d68['push']({'startOffset':Number(_0x95fcb7),'endOffset':Number(_0x5ee31e),'collapsed':_0x95fcb7===_0x5ee31e,'isActive':_0x3f1be6==='1'});}return _0x483d68[_0x3e4bc1(0x36a)](_0x4ce219=>_0x4ce219[_0x3e4bc1(0x16d)])||(_0x483d68[0x0][_0x3e4bc1(0x16d)]=!0x0),_0x483d68;}class _0x2f34a3 extends _0x2c7fed[_0x291ba3(0x2d5)]{constructor(){const _0x3b6696=_0x291ba3;super(...arguments),_0x24cbc7(this,'_collabCursorState$',new _0x1fc547[(_0x3b6696(0x467))](null)),_0x24cbc7(this,_0x3b6696(0x2d3),this[_0x3b6696(0x320)][_0x3b6696(0x442)]());}[_0x291ba3(0x122)](_0x4e2a77){const _0x2b86eb=_0x291ba3,{unitID:_0x1d161f,memberID:_0x4c2296,textRanges:_0x5ae8e4}=_0x4e2a77,_0x584f3f=_0x5a4515(_0x5ae8e4),_0x453179={'unitID':_0x1d161f,'memberID':_0x4c2296,'selection':_0x584f3f};this[_0x2b86eb(0x320)][_0x2b86eb(0x2ce)](_0x453179);}}var _0x556053=Object['defineProperty'],_0x18b2b3=Object[_0x291ba3(0x373)],_0x57f39a=(_0x5b274b,_0x1529f1,_0x156031,_0x16d1fe)=>{const _0x5a1f8c=_0x291ba3;for(var _0x11513c=_0x16d1fe>0x1?void 0x0:_0x16d1fe?_0x18b2b3(_0x1529f1,_0x156031):_0x1529f1,_0x3b3291=_0x5b274b[_0x5a1f8c(0xbb)]-0x1,_0x2837c8;_0x3b3291>=0x0;_0x3b3291--)(_0x2837c8=_0x5b274b[_0x3b3291])&&(_0x11513c=(_0x16d1fe?_0x2837c8(_0x1529f1,_0x156031,_0x11513c):_0x2837c8(_0x11513c))||_0x11513c);return _0x16d1fe&&_0x11513c&&_0x556053(_0x1529f1,_0x156031,_0x11513c),_0x11513c;},_0xaf4576=(_0x4397d6,_0x44afaf)=>(_0x5a1882,_0x523b70)=>_0x44afaf(_0x5a1882,_0x523b70,_0x4397d6);let _0x4bc5bd=class{constructor(_0x1f9a93,_0x26f42a){this['_injector']=_0x1f9a93,this['_transformService']=_0x26f42a;}[_0x291ba3(0xc3)](_0x49be5b){const _0x4df270=_0x291ba3;var _0x191308;const _0x75dee5=this[_0x4df270(0x10d)][_0x4df270(0x400)](_0x7ac583[_0x4df270(0x35d)]),_0x523926=(_0x191308=_0x75dee5[_0x4df270(0x334)]())!=null?_0x191308:[];if(_0x523926[_0x4df270(0xbb)]===0x0)return;const _0x193c0d=[{'id':_0x4df270(0x1bf),'params':{'unitId':_0x49be5b[_0x4df270(0x2ea)],'actions':null,'textRanges':_0x523926}}],_0x31f206=this[_0x4df270(0xbd)]['transformMutationsWithChangeset'](_0x49be5b,_0x193c0d);if(!_0x2856d7['isTransformMutationsWithChangesetSuccess'](_0x31f206))throw _0x31f206[_0x4df270(0x41d)];const _0x1fc84a=_0x31f206[_0x4df270(0x14f)][0x0][_0x4df270(0x184)][_0x4df270(0x307)];Array[_0x4df270(0x358)](_0x1fc84a)&&_0x1fc84a[_0x4df270(0xbb)]&&_0x75dee5['replaceTextRanges'](_0x1fc84a,!0x1);}};_0x4bc5bd=_0x57f39a([_0xaf4576(0x0,_0x2c7fed[_0x291ba3(0x16b)](_0x2c7fed[_0x291ba3(0x4a2)])),_0xaf4576(0x1,_0x2856d7[_0x291ba3(0x372)])],_0x4bc5bd);const _0x287e60=new Set([_0x244249[_0x291ba3(0x49a)]['id']]);function _0x542440(_0x279dec,_0x145e46,_0x3328bb,_0x158ecd,_0x6cf261){const _0x24789d=_0x291ba3;var _0x3a1747,_0x2df442,_0x2ccb25,_0x37029d;const _0x4e5b28=[];for(const _0x49591 of _0x279dec)if(_0x287e60[_0x24789d(0x169)](_0x49591['id'])){if(_0x4e5b28[_0x24789d(0xbb)]>0x0)break;_0x4e5b28['push'](_0x49591);break;}else _0x4e5b28[_0x24789d(0x44a)](_0x49591);const _0x2e9374=(_0x2df442=(_0x3a1747=_0x6cf261[_0x24789d(0x1b0)]())==null?void 0x0:_0x3a1747[_0x24789d(0x8f)])!=null?_0x2df442:'unknown',_0xb2bb7f=(_0x37029d=(_0x2ccb25=_0x6cf261[_0x24789d(0x1b0)]())==null?void 0x0:_0x2ccb25['memberID'])!=null?_0x37029d:_0x24789d(0x2f3);return{'changeset':{'unitID':_0x145e46,'type':_0x2856d7['mapDocumentTypeToUniverType'](_0x3328bb[_0x24789d(0x252)](_0x145e46)),'baseRev':_0x158ecd[_0x24789d(0x263)](_0x145e46),'revision':0x0,'userID':_0x2e9374,'memberID':_0xb2bb7f,'mutations':_0x4e5b28},'pendingMutations':_0x279dec[_0x24789d(0x35c)](_0x4e5b28[_0x24789d(0xbb)])};}function _0x5235fe(_0x3db2ba,_0x21215a,_0x5c9dea,_0x5d6cc5,_0x3c7d84){const _0x2b61d4=_0x291ba3;var _0x19d3e4,_0x37b2d2,_0x1f0330,_0x5753b0;const _0x29ec18=[_0x3db2ba['reduce']((_0x4c6d06,_0x31c4f2)=>{const _0x52ae9d=_0x2d25;var _0x19e22f;const {id:_0x3ba781}=_0x4c6d06,{id:_0x27f815,type:_0x531d45}=_0x31c4f2,_0x28f927=(_0x19e22f=_0x4c6d06[_0x52ae9d(0x184)])!=null?_0x19e22f:{'actions':null},_0xf1fcb7=_0x31c4f2[_0x52ae9d(0x184)];if(_0x3ba781&&_0x3ba781!==_0x27f815)throw new Error('Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20'+_0x3ba781+_0x52ae9d(0x369)+_0x27f815+'.');return{..._0x4c6d06,'id':_0x27f815,'type':_0x531d45,'params':{'unitId':_0xf1fcb7[_0x52ae9d(0x137)],'textRanges':_0xf1fcb7[_0x52ae9d(0x307)],'actions':_0x2c7fed['JSONX'][_0x52ae9d(0x18a)](_0x28f927['actions'],_0xf1fcb7['actions'])}};},{})],_0x5118e4=(_0x37b2d2=(_0x19d3e4=_0x3c7d84[_0x2b61d4(0x1b0)]())==null?void 0x0:_0x19d3e4[_0x2b61d4(0x8f)])!=null?_0x37b2d2:'unknown',_0x17985a=(_0x5753b0=(_0x1f0330=_0x3c7d84[_0x2b61d4(0x1b0)]())==null?void 0x0:_0x1f0330[_0x2b61d4(0x16a)])!=null?_0x5753b0:_0x2b61d4(0x2f3);return{'changeset':{'unitID':_0x21215a,'type':_0x2856d7[_0x2b61d4(0x42d)](_0x5c9dea[_0x2b61d4(0x252)](_0x21215a)),'baseRev':_0x5d6cc5[_0x2b61d4(0x263)](_0x21215a),'revision':0x0,'userID':_0x5118e4,'memberID':_0x17985a,'mutations':_0x29ec18},'pendingMutations':[]};}const _0x5abf1f={'id':_0x244249[_0x291ba3(0x1f1)]['id'],'type':_0x2c7fed['CommandType'][_0x291ba3(0x325)],'params':{}};var _0x105459=Object[_0x291ba3(0x3e4)],_0x50986=Object[_0x291ba3(0x373)],_0x428496=(_0x47b892,_0x2daf2a,_0xdbadbe,_0x89985f)=>{const _0x5e5dfd=_0x291ba3;for(var _0x571f7b=_0x89985f>0x1?void 0x0:_0x89985f?_0x50986(_0x2daf2a,_0xdbadbe):_0x2daf2a,_0x39ea56=_0x47b892[_0x5e5dfd(0xbb)]-0x1,_0x578888;_0x39ea56>=0x0;_0x39ea56--)(_0x578888=_0x47b892[_0x39ea56])&&(_0x571f7b=(_0x89985f?_0x578888(_0x2daf2a,_0xdbadbe,_0x571f7b):_0x578888(_0x571f7b))||_0x571f7b);return _0x89985f&&_0x571f7b&&_0x105459(_0x2daf2a,_0xdbadbe,_0x571f7b),_0x571f7b;},_0x4d1e63=(_0x2e49b0,_0x5dc1ea)=>(_0x4a8fb9,_0x43e90a)=>_0x5dc1ea(_0x4a8fb9,_0x43e90a,_0x2e49b0),_0x5b6195=(_0x153984=>(_0x153984[_0x291ba3(0x180)]=_0x291ba3(0xc2),_0x153984[_0x291ba3(0x1db)]=_0x291ba3(0x97),_0x153984[_0x291ba3(0xda)]=_0x291ba3(0x2fa),_0x153984[_0x291ba3(0x48f)]=_0x291ba3(0x1a1),_0x153984['AWAITING_WITH_PENDING']=_0x291ba3(0x3a0),_0x153984[_0x291ba3(0x458)]=_0x291ba3(0x26c),_0x153984[_0x291ba3(0x426)]='conflict',_0x153984['OFFLINE']=_0x291ba3(0x2c1),_0x153984))(_0x5b6195||{});class _0x4d1d97{constructor(_0xd710ca,_0x1a5267,_0x11636a,_0xb9085c,_0x4c2bfa,_0x4f3978,_0x1f82c7,_0x582ce7,_0x191683){const _0x5ef4cf=_0x291ba3;_0x24cbc7(this,_0x5ef4cf(0x2b6),null),_0x24cbc7(this,'_pendingMutations',[]),(this['unitID']=_0xd710ca,this[_0x5ef4cf(0x33c)]=_0x1a5267,this['_handler']=_0x4c2bfa,this[_0x5ef4cf(0xc0)]=_0x4f3978,this['_undoRedoService']=_0x1f82c7,this[_0x5ef4cf(0x1cd)]=_0x582ce7,this[_0x5ef4cf(0x106)]=_0x191683,this[_0x5ef4cf(0x2b6)]=_0x11636a,this[_0x5ef4cf(0x194)]=_0xb9085c);}[_0x291ba3(0x282)](_0xed25d6){const _0x1ddfd6=_0x291ba3,_0x6a9360=this[_0x1ddfd6(0x1cd)][_0x1ddfd6(0x263)](this[_0x1ddfd6(0x2ea)]);return _0xed25d6[_0x1ddfd6(0x157)]>_0x6a9360+0x1?(this[_0x1ddfd6(0x324)][_0x1ddfd6(0x29d)]({'from':_0x6a9360,'to':_0xed25d6['revision']-0x1}),!0x0):!0x1;}[_0x291ba3(0x2b3)](_0x948d63){const _0x10c2ca=_0x291ba3;this[_0x10c2ca(0x181)][_0x10c2ca(0x118)](this[_0x10c2ca(0x2ea)],_0x948d63);}[_0x291ba3(0x131)](_0x53ca8e){const _0x14330a=_0x291ba3;var _0x6a8a55,_0x16fad5;(_0x16fad5=(_0x6a8a55=this[_0x14330a(0x324)])[_0x14330a(0x187)])==null||_0x16fad5[_0x14330a(0x384)](_0x6a8a55,_0x53ca8e);}[_0x291ba3(0x2db)](_0x27eed0){const _0x19b0b8=_0x291ba3;var _0x5c2b4c,_0x43e6ce;return(_0x43e6ce=(_0x5c2b4c=this[_0x19b0b8(0x324)])[_0x19b0b8(0x1ee)])==null?void 0x0:_0x43e6ce[_0x19b0b8(0x384)](_0x5c2b4c,_0x27eed0);}[_0x291ba3(0x2f9)](_0x22dae6){const _0xd69a12=_0x291ba3;var _0x368bcf,_0x4be4e7,_0x5543c7;return(_0x5543c7=(_0x4be4e7=(_0x368bcf=this[_0xd69a12(0x324)])[_0xd69a12(0x3d5)])==null?void 0x0:_0x4be4e7[_0xd69a12(0x384)](_0x368bcf,_0x22dae6))!=null?_0x5543c7:_0x22dae6;}[_0x291ba3(0x2ba)](_0x30aa89){const _0x5f31d4=_0x291ba3;var _0x102fb2,_0x1d9ef2;if(this[_0x5f31d4(0x33c)]===_0x4cd70d['UNIVER_DOC']){const {unitID:_0x40c90f,mutations:_0x51868d,memberID:_0xc11e2b}=_0x30aa89,_0x454153=_0x51868d[0x0][_0x5f31d4(0x184)]['textRanges'];Array['isArray'](_0x454153)&&_0x454153['length']>0x0&&((_0x1d9ef2=(_0x102fb2=this[_0x5f31d4(0x324)])[_0x5f31d4(0xdb)])==null||_0x1d9ef2[_0x5f31d4(0x384)](_0x102fb2,{'unitID':_0x40c90f,'memberID':_0xc11e2b,'textRanges':_0x454153}));}}['_updateLocalCache'](){const _0xf03584=_0x291ba3;this[_0xf03584(0x106)]['updateOfflineData'](this[_0xf03584(0x2ea)],this['type'],this[_0xf03584(0x2b6)],this['_pendingMutations']);}[_0x291ba3(0x316)](){const _0x5aa533=_0x291ba3;return this[_0x5aa533(0x1cd)][_0x5aa533(0x263)](this[_0x5aa533(0x2ea)]);}['_incrementRevisionNumber'](){const _0x123a70=_0x291ba3;this['_revisionService']['incrementRevOfUnit'](this[_0x123a70(0x2ea)]);}['_executeRemoteChangeset'](_0x47e053){const _0x5ad7cf=_0x291ba3;var _0x413e32;const _0x120101=this[_0x5ad7cf(0x2f9)](_0x47e053),_0x3dbaf1=_0x2c7fed[_0x5ad7cf(0x13f)](_0x120101[_0x5ad7cf(0x1a9)],this[_0x5ad7cf(0xc0)],{'fromCollab':!0x0});if(!_0x3dbaf1[_0x5ad7cf(0x218)])throw _0x3dbaf1['error']instanceof Error?_0x3dbaf1[_0x5ad7cf(0x41d)]:new Error((_0x413e32=_0x3dbaf1[_0x5ad7cf(0x41d)])!=null?_0x413e32:_0x5ad7cf(0x33a));this[_0x5ad7cf(0x2db)](_0x120101),this[_0x5ad7cf(0x2b3)](_0x47e053),this[_0x5ad7cf(0x131)](_0x120101),this[_0x5ad7cf(0x2ba)](_0x120101),this[_0x5ad7cf(0xb8)]();}}let _0x157452=class extends _0x4d1d97{constructor(_0x4bdbf6,_0x24d772,_0x166aab,_0x281f95,_0x3c7b7d,_0x1ebc76,_0x55468d,_0x548bc1,_0x472ca0,_0x369a8e){const _0x30bac6=_0x291ba3;super(_0x4bdbf6,_0x24d772,null,[],_0x166aab,_0x548bc1,_0x55468d,_0x281f95,_0x3c7b7d),_0x24cbc7(this,_0x30bac6(0x469),'synced'),(this[_0x30bac6(0x10d)]=_0x1ebc76,this[_0x30bac6(0x139)]=_0x472ca0,this[_0x30bac6(0xbd)]=_0x369a8e);}[_0x291ba3(0x427)](_0x579085){const _0x324724=_0x291ba3,_0x3c9bd7=this[_0x324724(0x10d)][_0x324724(0x266)](_0x571839,this[_0x324724(0x2ea)],this[_0x324724(0x33c)],[_0x579085],this[_0x324724(0x324)]);return _0x3c9bd7[_0x324724(0x3dd)](),_0x3c9bd7[_0x324724(0x2ae)](),_0x3c9bd7;}[_0x291ba3(0x359)](_0x13bedc){const _0x5b965b=_0x291ba3;if(this['_checkMissing'](_0x13bedc))return this[_0x5b965b(0x10d)][_0x5b965b(0x266)](_0x3feb1e,this['unitID'],this[_0x5b965b(0x33c)],null,[],null,[_0x13bedc],this[_0x5b965b(0x324)]);try{const _0x5d9f11=this[_0x5b965b(0xbd)][_0x5b965b(0x3b8)](_0x13bedc,[_0x5abf1f]);if(_0x2856d7[_0x5b965b(0x38a)](_0x5d9f11)){const {c1Prime:_0x5ba223}=_0x5d9f11;return this[_0x5b965b(0x1d5)](_0x5ba223),this;}throw _0x5d9f11[_0x5b965b(0x41d)];}catch(_0x34c268){return this[_0x5b965b(0x139)][_0x5b965b(0x41d)](_0x34c268),this['_onConflict'](!0x1);}}[_0x291ba3(0x25e)](_0x779231){const _0x550d82=_0x291ba3;return this[_0x550d82(0x10d)][_0x550d82(0x266)](_0x55ee11,this[_0x550d82(0x2ea)],this[_0x550d82(0x33c)],null,[],this[_0x550d82(0x324)],_0x779231);}[_0x291ba3(0x2fc)](){throw new Error('[SyncedState]:\x20received\x20acknowledgement.');}['onRemoteRej'](){const _0x40ae69=_0x291ba3;throw new Error(_0x40ae69(0x38e));}['toggleOffline'](){const _0x534772=_0x291ba3;return this['_injector'][_0x534772(0x266)](_0x2b854c,this['unitID'],this[_0x534772(0x33c)],null,[],this[_0x534772(0x324)]);}[_0x291ba3(0x1d9)](){return this;}[_0x291ba3(0x391)](){const _0x483d7c=_0x291ba3;throw new Error(_0x483d7c(0x330));}[_0x291ba3(0x228)](){const _0x40ee86=_0x291ba3,_0x174fa7=this[_0x40ee86(0x1cd)][_0x40ee86(0x263)](this[_0x40ee86(0x2ea)]);return this[_0x40ee86(0x324)][_0x40ee86(0x29d)]({'from':_0x174fa7,'to':0x0}),this[_0x40ee86(0x10d)]['createInstance'](_0x3feb1e,this[_0x40ee86(0x2ea)],this['type'],null,[],null,[],this[_0x40ee86(0x324)]);}};_0x157452=_0x428496([_0x4d1e63(0x3,_0x2c7fed[_0x291ba3(0x16b)](_0x2856d7[_0x291ba3(0x363)])),_0x4d1e63(0x4,_0x2c7fed[_0x291ba3(0x16b)](_0x594fe1[_0x291ba3(0x378)])),_0x4d1e63(0x5,_0x2c7fed['Inject'](_0x2c7fed[_0x291ba3(0x4a2)])),_0x4d1e63(0x6,_0x2c7fed['IUndoRedoService']),_0x4d1e63(0x7,_0x2c7fed[_0x291ba3(0x15a)]),_0x4d1e63(0x8,_0x2c7fed[_0x291ba3(0x2fd)]),_0x4d1e63(0x9,_0x2856d7['ITransformService'])],_0x157452);let _0x571839=class extends _0x4d1d97{constructor(_0x1f3d52,_0x5b01c5,_0x3a8df7,_0x16f98b,_0x42ef4c,_0x28e75d,_0x36c4ee,_0x406631,_0x45933d,_0x285591,_0x3ade0d,_0x3da333,_0x23ca6a,_0x417bb7){const _0x23c5a7=_0x291ba3;super(_0x1f3d52,_0x5b01c5,null,_0x3a8df7,_0x16f98b,_0x285591,_0x417bb7,_0x28e75d,_0x36c4ee),_0x24cbc7(this,_0x23c5a7(0x469),'pending'),_0x24cbc7(this,'_scheduleTimestamp',null),_0x24cbc7(this,_0x23c5a7(0x232),null),(this[_0x23c5a7(0x10d)]=_0x42ef4c,this[_0x23c5a7(0x29e)]=_0x406631,this[_0x23c5a7(0x139)]=_0x45933d,this['_configService']=_0x3ade0d,this[_0x23c5a7(0xbd)]=_0x3da333,this[_0x23c5a7(0x79)]=_0x23ca6a);}[_0x291ba3(0x427)](_0x173d37){const _0x3cf8c9=_0x291ba3;return this[_0x3cf8c9(0x194)][_0x3cf8c9(0x44a)](_0x173d37),this['_updateLocalCache'](),this;}['onRemoteChangeset'](_0xe4ef31){const _0x33e8ca=_0x291ba3;if(this[_0x33e8ca(0x282)](_0xe4ef31))return this[_0x33e8ca(0x24e)](),this[_0x33e8ca(0x10d)][_0x33e8ca(0x266)](_0x3feb1e,this[_0x33e8ca(0x2ea)],this[_0x33e8ca(0x33c)],null,this[_0x33e8ca(0x194)],null,[_0xe4ef31],this[_0x33e8ca(0x324)]);try{const _0xff9694=this[_0x33e8ca(0xbd)][_0x33e8ca(0x3b8)](_0xe4ef31,this[_0x33e8ca(0x194)]);if(_0x2856d7[_0x33e8ca(0x38a)](_0xff9694)){const {c1Prime:_0x25c0e1,m2Prime:_0x147f2c}=_0xff9694;this[_0x33e8ca(0x1d5)](_0x25c0e1);const _0x29a5ad=this[_0x33e8ca(0x10d)]['createInstance'](_0x571839,this[_0x33e8ca(0x2ea)],this[_0x33e8ca(0x33c)],_0x147f2c,this['_handler']);return this[_0x33e8ca(0x24e)](),_0x29a5ad['_schedule'](this[_0x33e8ca(0x144)]?Math[_0x33e8ca(0x305)](0x0,new Date()['getTime']()-this[_0x33e8ca(0x144)]):this[_0x33e8ca(0x2e8)]()),_0x29a5ad;}throw _0xff9694['error'];}catch(_0x5a734d){return this[_0x33e8ca(0x139)][_0x33e8ca(0x41d)](_0x5a734d),this['_onConflict'](!0x1);}}[_0x291ba3(0x2fc)](){throw new Error('[PendingState]:\x20received\x20acknowledgement.');}[_0x291ba3(0x82)](){const _0x14cdb3=_0x291ba3;throw new Error(_0x14cdb3(0x37f));}['toggleOffline'](){const _0x3c2e75=_0x291ba3;return this[_0x3c2e75(0x24e)](),this['_injector'][_0x3c2e75(0x266)](_0x2b854c,this[_0x3c2e75(0x2ea)],this[_0x3c2e75(0x33c)],null,this[_0x3c2e75(0x194)],this[_0x3c2e75(0x324)]);}[_0x291ba3(0x1d9)](){return this;}['_schedule'](_0x2b7001){const _0x5d43f8=_0x291ba3,_0x20519e=_0x2b7001!=null?_0x2b7001:this[_0x5d43f8(0x2e8)]();this[_0x5d43f8(0x144)]=new Date()[_0x5d43f8(0x87)](),this[_0x5d43f8(0x232)]=window['setTimeout'](()=>{const _0x17c098=_0x5d43f8;this[_0x17c098(0x24e)]();let _0x289e55=null;switch(this[_0x17c098(0x33c)]){case _0x4cd70d[_0x17c098(0x2aa)]:{_0x289e55=_0x542440(this[_0x17c098(0x194)],this[_0x17c098(0x2ea)],this['_univerInstanceService'],this['_revisionService'],this[_0x17c098(0x29e)]);break;}case _0x4cd70d['UNIVER_DOC']:{this[_0x17c098(0x194)]['every'](_0x182948=>_0x182948['id']===_0x7ac583[_0x17c098(0x30e)]['id'])?_0x289e55=_0x5235fe(this['_pendingMutations'],this[_0x17c098(0x2ea)],this[_0x17c098(0x79)],this[_0x17c098(0x1cd)],this['_memberService']):_0x289e55=_0x542440(this[_0x17c098(0x194)],this[_0x17c098(0x2ea)],this['_univerInstanceService'],this[_0x17c098(0x1cd)],this[_0x17c098(0x29e)]);break;}default:throw new Error('[PendingState]:\x20unhandled\x20univer\x20type:\x20'+this[_0x17c098(0x33c)]+_0x17c098(0x1a6));}const {changeset:_0x4c8634,pendingMutations:_0x33d42e}=_0x289e55;this[_0x17c098(0x324)][_0x17c098(0x111)](_0x4c8634);const _0x5e69be=_0x33d42e[_0x17c098(0xbb)]?this[_0x17c098(0x10d)][_0x17c098(0x266)](_0x3d3aee,this[_0x17c098(0x2ea)],this[_0x17c098(0x33c)],_0x4c8634,_0x33d42e,this[_0x17c098(0x324)]):this[_0x17c098(0x10d)]['createInstance'](_0x56fd74,this[_0x17c098(0x2ea)],this[_0x17c098(0x33c)],_0x4c8634,this[_0x17c098(0x324)]);_0x5e69be[_0x17c098(0x2ae)](),this[_0x17c098(0x324)][_0x17c098(0x491)](this,_0x5e69be);},_0x20519e);}[_0x291ba3(0x2e8)](){const _0x56c441=_0x291ba3;var _0x21bb9d;const _0x4413e4=this['_configService'][_0x56c441(0x304)](_0x229401);return(_0x21bb9d=_0x4413e4==null?void 0x0:_0x4413e4[_0x56c441(0x1dd)])!=null?_0x21bb9d:0x7d0;}[_0x291ba3(0x391)](){throw new Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x291ba3(0x24e)](){const _0x8629c6=_0x291ba3;this[_0x8629c6(0x232)]!=null&&(clearTimeout(this[_0x8629c6(0x232)]),this[_0x8629c6(0x232)]=null);}[_0x291ba3(0x25e)](_0x4c763d){const _0x18450d=_0x291ba3;return this[_0x18450d(0x24e)](),this[_0x18450d(0x10d)][_0x18450d(0x266)](_0x55ee11,this[_0x18450d(0x2ea)],this['type'],null,this[_0x18450d(0x194)],this['_handler'],_0x4c763d);}};_0x571839=_0x428496([_0x4d1e63(0x4,_0x2c7fed[_0x291ba3(0x16b)](_0x2c7fed['Injector'])),_0x4d1e63(0x5,_0x2c7fed[_0x291ba3(0x16b)](_0x2856d7[_0x291ba3(0x363)])),_0x4d1e63(0x6,_0x2c7fed['Inject'](_0x594fe1[_0x291ba3(0x378)])),_0x4d1e63(0x7,_0x2c7fed['Inject'](_0x4d411d)),_0x4d1e63(0x8,_0x2c7fed['ILogService']),_0x4d1e63(0x9,_0x2c7fed[_0x291ba3(0x15a)]),_0x4d1e63(0xa,_0x2c7fed[_0x291ba3(0x309)]),_0x4d1e63(0xb,_0x2856d7['ITransformService']),_0x4d1e63(0xc,_0x2c7fed[_0x291ba3(0x27a)]),_0x4d1e63(0xd,_0x2c7fed[_0x291ba3(0x26b)])],_0x571839);let _0x56fd74=class extends _0x4d1d97{constructor(_0x5c90a0,_0xec94d8,_0xabb68e,_0x3c6cb7,_0x465b38,_0x484365,_0x219be3,_0x49227c,_0x3f1bd4,_0xf06e52,_0x2049db){const _0x1760ac=_0x291ba3;super(_0x5c90a0,_0xec94d8,_0xabb68e,[],_0x3c6cb7,_0x49227c,_0x2049db,_0x484365,_0x219be3),_0x24cbc7(this,_0x1760ac(0x469),_0x1760ac(0x1a1)),(this[_0x1760ac(0x10d)]=_0x465b38,this[_0x1760ac(0x139)]=_0x3f1bd4,this['_transformService']=_0xf06e52);}[_0x291ba3(0x427)](_0x56069f){const _0x387f74=_0x291ba3,_0x1d2050=this[_0x387f74(0x10d)]['createInstance'](_0x3d3aee,this['unitID'],this[_0x387f74(0x33c)],this[_0x387f74(0x2b6)],[_0x56069f],this[_0x387f74(0x324)]);return _0x1d2050[_0x387f74(0x2ae)](),_0x1d2050;}[_0x291ba3(0x359)](_0x3a0bd7){const _0x32e228=_0x291ba3;if(this['_checkMissing'](_0x3a0bd7))return this[_0x32e228(0x10d)][_0x32e228(0x266)](_0x3feb1e,this[_0x32e228(0x2ea)],this[_0x32e228(0x33c)],this['_awaitingChangeset'],[],null,[_0x3a0bd7],this['_handler']);try{const _0x2f3b6d=this[_0x32e228(0xbd)][_0x32e228(0x126)]([_0x3a0bd7],[this[_0x32e228(0x2b6)]],!0x1);if(_0x2856d7[_0x32e228(0x360)](_0x2f3b6d)){const {c1Prime:_0x595cc3,c2Prime:_0x32ecee}=_0x2f3b6d;this[_0x32e228(0x1d5)](_0x595cc3[0x0]),_0x32ecee[0x0]['baseRev']=this[_0x32e228(0x316)]();const _0x2408c1=this[_0x32e228(0x10d)][_0x32e228(0x266)](_0x56fd74,this[_0x32e228(0x2ea)],this[_0x32e228(0x33c)],_0x32ecee[0x0],this[_0x32e228(0x324)]);return _0x2408c1[_0x32e228(0x2ae)](),_0x2408c1;}return this[_0x32e228(0x25e)](!0x1);}catch(_0x166a73){return this['_logService'][_0x32e228(0x41d)](_0x166a73),this[_0x32e228(0x25e)](!0x1);}}[_0x291ba3(0x2fc)](_0x3889d5){const _0x151ad4=_0x291ba3,_0x3c65f0=this[_0x151ad4(0x1cd)][_0x151ad4(0x263)](this[_0x151ad4(0x2ea)]);if(_0x3889d5[_0x151ad4(0x157)]<_0x3c65f0-0x1)return this;if(this[_0x151ad4(0x282)](_0x3889d5))return this[_0x151ad4(0x10d)][_0x151ad4(0x266)](_0x3feb1e,this[_0x151ad4(0x2ea)],this[_0x151ad4(0x33c)],null,[],this['_awaitingChangeset'],[],this[_0x151ad4(0x324)]);this[_0x151ad4(0xb8)]();const _0x5b5982=this['_injector'][_0x151ad4(0x266)](_0x157452,this[_0x151ad4(0x2ea)],this[_0x151ad4(0x33c)],this[_0x151ad4(0x324)]);return _0x5b5982[_0x151ad4(0x2ae)](),_0x5b5982;}[_0x291ba3(0x82)](_0x366bad){const _0x56bbc0=_0x291ba3;return this['_onConflict'](!!(_0x366bad!=null&&_0x366bad[_0x56bbc0(0x119)]));}['toggleOffline'](){const _0x23a23c=_0x291ba3;return this['_injector']['createInstance'](_0x2b854c,this[_0x23a23c(0x2ea)],this['type'],this[_0x23a23c(0x2b6)],[],this[_0x23a23c(0x324)]);}[_0x291ba3(0x1d9)](){return this;}[_0x291ba3(0x391)](){const _0x11d71e=_0x291ba3;this['_handler']['onSendChangeset'](this[_0x11d71e(0x2b6)]);}[_0x291ba3(0x25e)](_0x4ed196){const _0x5a1f9d=_0x291ba3;return this['_injector'][_0x5a1f9d(0x266)](_0x55ee11,this[_0x5a1f9d(0x2ea)],this[_0x5a1f9d(0x33c)],this['_awaitingChangeset'],[],this['_handler'],_0x4ed196);}};_0x56fd74=_0x428496([_0x4d1e63(0x4,_0x2c7fed[_0x291ba3(0x16b)](_0x2c7fed[_0x291ba3(0x4a2)])),_0x4d1e63(0x5,_0x2c7fed[_0x291ba3(0x16b)](_0x2856d7['RevisionService'])),_0x4d1e63(0x6,_0x2c7fed[_0x291ba3(0x16b)](_0x594fe1['LocalCacheService'])),_0x4d1e63(0x7,_0x2c7fed[_0x291ba3(0x15a)]),_0x4d1e63(0x8,_0x2c7fed['ILogService']),_0x4d1e63(0x9,_0x2856d7[_0x291ba3(0x372)]),_0x4d1e63(0xa,_0x2c7fed[_0x291ba3(0x26b)])],_0x56fd74);let _0x3d3aee=class extends _0x4d1d97{constructor(_0x2ca5b8,_0xd1ec8a,_0x40c39b,_0x4c8de4,_0x545961,_0x492fa1,_0x2e7c44,_0xc911e0,_0x290984,_0x5b35b5,_0x147667,_0x3e47db){const _0x29afb9=_0x291ba3;super(_0x2ca5b8,_0xd1ec8a,_0x40c39b,_0x4c8de4,_0x545961,_0x290984,_0x3e47db,_0x2e7c44,_0xc911e0),_0x24cbc7(this,'status',_0x29afb9(0x3a0)),(this['_injector']=_0x492fa1,this['_logService']=_0x5b35b5,this[_0x29afb9(0xbd)]=_0x147667);}[_0x291ba3(0x427)](_0x2dda45){const _0x98f84a=_0x291ba3;return this['_pendingMutations'][_0x98f84a(0x44a)](_0x2dda45),this;}[_0x291ba3(0x359)](_0x1fc705){const _0x258efc=_0x291ba3;if(this['_checkMissing'](_0x1fc705))return this['_injector'][_0x258efc(0x266)](_0x3feb1e,this[_0x258efc(0x2ea)],this[_0x258efc(0x33c)],this[_0x258efc(0x2b6)],this['_pendingMutations'],null,[_0x1fc705],this['_handler']);try{const _0x42f967=this['_transformService']['transformChangesets']([_0x1fc705],[this[_0x258efc(0x2b6)]],!0x1);if(_0x2856d7[_0x258efc(0x360)](_0x42f967)){const {c1Prime:_0x1e6440,c2Prime:_0x597c65}=_0x42f967,_0x32116e=this[_0x258efc(0xbd)][_0x258efc(0x3b8)](_0x1e6440[0x0],this['_pendingMutations']);if(_0x2856d7[_0x258efc(0x38a)](_0x32116e)){const {c1Prime:_0x2f77c8,m2Prime:_0x13f79a}=_0x32116e;return this[_0x258efc(0x1d5)](_0x2f77c8),_0x597c65[0x0][_0x258efc(0x480)]=this[_0x258efc(0x316)](),this[_0x258efc(0x10d)][_0x258efc(0x266)](_0x3d3aee,this['unitID'],this['type'],_0x597c65[0x0],_0x13f79a,this[_0x258efc(0x324)]);}throw _0x32116e[_0x258efc(0x41d)];}throw _0x42f967[_0x258efc(0x41d)];}catch(_0x4097b2){return this[_0x258efc(0x139)]['error'](_0x4097b2),this['_onConflict'](!0x1);}}[_0x291ba3(0x2fc)](_0x3f3677){const _0x1e01bc=_0x291ba3;if(this['_checkMissing'](_0x3f3677))return this['_injector'][_0x1e01bc(0x266)](_0x3feb1e,this[_0x1e01bc(0x2ea)],this[_0x1e01bc(0x33c)],null,this['_pendingMutations'],this[_0x1e01bc(0x2b6)],[],this[_0x1e01bc(0x324)]);this['_incrementRevisionNumber']();const _0xf5921d=this['_injector']['createInstance'](_0x571839,this[_0x1e01bc(0x2ea)],this[_0x1e01bc(0x33c)],this['_pendingMutations'],this[_0x1e01bc(0x324)]);return _0xf5921d[_0x1e01bc(0x3dd)](),_0xf5921d[_0x1e01bc(0x2ae)](),_0xf5921d;}[_0x291ba3(0x82)](_0x209498){const _0x494064=_0x291ba3;return this[_0x494064(0x25e)](!!(_0x209498!=null&&_0x209498[_0x494064(0x119)]));}[_0x291ba3(0x11b)](){const _0x4fe95a=_0x291ba3;return this[_0x4fe95a(0x10d)][_0x4fe95a(0x266)](_0x2b854c,this[_0x4fe95a(0x2ea)],this[_0x4fe95a(0x33c)],this['_awaitingChangeset'],this[_0x4fe95a(0x194)],this['_handler']);}[_0x291ba3(0x1d9)](){return this;}[_0x291ba3(0x391)](){const _0x631add=_0x291ba3;this[_0x631add(0x324)][_0x631add(0x111)](this[_0x631add(0x2b6)]);}[_0x291ba3(0x25e)](_0x38cac7){const _0x15100e=_0x291ba3;return this['_injector'][_0x15100e(0x266)](_0x55ee11,this[_0x15100e(0x2ea)],this['type'],null,this[_0x15100e(0x194)],this[_0x15100e(0x324)],_0x38cac7);}};_0x3d3aee=_0x428496([_0x4d1e63(0x5,_0x2c7fed[_0x291ba3(0x16b)](_0x2c7fed[_0x291ba3(0x4a2)])),_0x4d1e63(0x6,_0x2c7fed[_0x291ba3(0x16b)](_0x2856d7[_0x291ba3(0x363)])),_0x4d1e63(0x7,_0x2c7fed[_0x291ba3(0x16b)](_0x594fe1[_0x291ba3(0x378)])),_0x4d1e63(0x8,_0x2c7fed['ICommandService']),_0x4d1e63(0x9,_0x2c7fed[_0x291ba3(0x2fd)]),_0x4d1e63(0xa,_0x2856d7[_0x291ba3(0x372)]),_0x4d1e63(0xb,_0x2c7fed[_0x291ba3(0x26b)])],_0x3d3aee);let _0x55ee11=class extends _0x4d1d97{constructor(_0x178047,_0x45a5ba,_0x270f2e,_0x108a93,_0x2dc6bf,_0x2a5d0c=!0x1,_0xa79901,_0x347a0c,_0x5a025b,_0x188747,_0x469e28,_0x57e278,_0x28207e){const _0xe40bfc=_0x291ba3;super(_0x178047,_0x45a5ba,_0x270f2e,_0x108a93,_0x2dc6bf,_0x347a0c,_0x5a025b,_0x469e28,_0x188747),_0x24cbc7(this,_0xe40bfc(0x469),_0xe40bfc(0x1e5)),(this['_isPermissionRej']=_0x2a5d0c,this[_0xe40bfc(0x2d4)]=_0xa79901,this['_localeService']=_0x57e278,this[_0xe40bfc(0x3f1)]=_0x28207e,this[_0xe40bfc(0x41e)](),this[_0xe40bfc(0x3d4)](),this[_0xe40bfc(0x49d)]());}['appendMutation'](){return this;}[_0x291ba3(0x359)](){return this;}[_0x291ba3(0x2fc)](){return this;}[_0x291ba3(0x82)](){return this;}['toggleOffline'](){return this;}['toggleOnline'](){return this;}[_0x291ba3(0x391)](){const _0x3fd8bc=_0x291ba3;throw new Error(_0x3fd8bc(0x24f));}[_0x291ba3(0x3d4)](){const _0x57e4e0=_0x291ba3;this['_localCacheService'][_0x57e4e0(0x274)](this[_0x57e4e0(0x2ea)],this[_0x57e4e0(0x33c)],null,[]);}['_showConflictNotification'](){const _0x1d83ef=_0x291ba3;this[_0x1d83ef(0x1f9)]?this[_0x1d83ef(0x3f1)][_0x1d83ef(0x116)]({'title':this[_0x1d83ef(0x277)]['t']('permission.title'),'content':this[_0x1d83ef(0x277)]['t'](_0x1d83ef(0x40f)),'type':_0x1d83ef(0x41d),'duration':0x0}):this[_0x1d83ef(0x3f1)][_0x1d83ef(0x116)]({'title':this['_localeService']['t'](_0x1d83ef(0x9c)),'content':this[_0x1d83ef(0x277)]['t'](_0x1d83ef(0x29b)),'type':_0x1d83ef(0x41d),'duration':0x0});}['_disableEditing'](){const _0x275a60=_0x291ba3;this[_0x275a60(0x2d4)][_0x275a60(0x1e6)](new _0x244249[(_0x275a60(0x2e9))](this[_0x275a60(0x2ea)])['id'],!0x1);}};_0x55ee11=_0x428496([_0x4d1e63(0x6,_0x2c7fed[_0x291ba3(0x16b)](_0x2c7fed['IPermissionService'])),_0x4d1e63(0x7,_0x2c7fed[_0x291ba3(0x15a)]),_0x4d1e63(0x8,_0x2c7fed[_0x291ba3(0x26b)]),_0x4d1e63(0x9,_0x2c7fed[_0x291ba3(0x16b)](_0x594fe1[_0x291ba3(0x378)])),_0x4d1e63(0xa,_0x2c7fed['Inject'](_0x2856d7['RevisionService'])),_0x4d1e63(0xb,_0x2c7fed[_0x291ba3(0x16b)](_0x2c7fed[_0x291ba3(0x1a7)])),_0x4d1e63(0xc,_0x4b403d['INotificationService'])],_0x55ee11);let _0x2b854c=class extends _0x4d1d97{constructor(_0x1ceb5e,_0x29eb7d,_0x1f269b,_0x4ea222,_0x48135a,_0x5d8f5f,_0x42b532,_0xbc2b49,_0x366603,_0x2bbb47){const _0x5f4346=_0x291ba3;super(_0x1ceb5e,_0x29eb7d,_0x1f269b,_0x4ea222,_0x48135a,_0x366603,_0x2bbb47,_0x42b532,_0xbc2b49),_0x24cbc7(this,_0x5f4346(0x469),'offline'),this[_0x5f4346(0x10d)]=_0x5d8f5f;}['appendMutation'](_0x43b301){const _0x15b432=_0x291ba3;return this['_pendingMutations'][_0x15b432(0x44a)](_0x43b301),this[_0x15b432(0x2ae)](),this;}[_0x291ba3(0x359)](_0x201e09){const _0x394b04=_0x291ba3;throw new Error(_0x394b04(0xb7));}['onRemoteAck'](){const _0x3c0204=_0x291ba3;throw new Error(_0x3c0204(0x2f1));}[_0x291ba3(0x82)](){const _0x2b3406=_0x291ba3;throw new Error(_0x2b3406(0x371));}[_0x291ba3(0x11b)](){return this;}[_0x291ba3(0x1d9)](){const _0x39c753=_0x291ba3,{_injector:_0x1639a3,_pendingMutations:_0x3a0c31,_awaitingChangeset:_0x3ae867,unitID:_0x20616e,_handler:_0x19e64a,type:_0x5047b6}=this,_0x4c6db7=_0x1b045c(_0x1639a3,_0x20616e,_0x5047b6,_0x3ae867,_0x3a0c31,_0x19e64a);return _0x4c6db7 instanceof _0x571839?_0x4c6db7[_0x39c753(0x3dd)]():(_0x4c6db7 instanceof _0x3d3aee||_0x4c6db7 instanceof _0x56fd74)&&_0x4c6db7['resend'](),_0x4c6db7;}['resend'](){throw new Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}};_0x2b854c=_0x428496([_0x4d1e63(0x5,_0x2c7fed[_0x291ba3(0x16b)](_0x2c7fed['Injector'])),_0x4d1e63(0x6,_0x2c7fed[_0x291ba3(0x16b)](_0x2856d7['RevisionService'])),_0x4d1e63(0x7,_0x2c7fed[_0x291ba3(0x16b)](_0x594fe1[_0x291ba3(0x378)])),_0x4d1e63(0x8,_0x2c7fed['ICommandService']),_0x4d1e63(0x9,_0x2c7fed[_0x291ba3(0x26b)])],_0x2b854c);let _0x3feb1e=class extends _0x4d1d97{constructor(_0x1f6502,_0x2ff155,_0x16d0dd,_0x4807d2,_0x3e971c,_0x2c2900,_0x252e07,_0x5d5d75,_0x57ebb7,_0x5d6363,_0x549340,_0x1b2350,_0xba0d0e,_0x209e24){const _0x55ee3c=_0x291ba3;super(_0x1f6502,_0x2ff155,_0x16d0dd,_0x4807d2,_0x252e07,_0x1b2350,_0xba0d0e,_0x57ebb7,_0x5d6363),_0x24cbc7(this,'status',_0x55ee3c(0x26c)),(this[_0x55ee3c(0x34c)]=_0x3e971c,this[_0x55ee3c(0x3a5)]=_0x2c2900,this[_0x55ee3c(0x10d)]=_0x5d5d75,this[_0x55ee3c(0x139)]=_0x549340,this[_0x55ee3c(0xbd)]=_0x209e24);}[_0x291ba3(0x19a)](_0x5013ee){const _0x167301=_0x291ba3;try{const _0x57f43c=[..._0x5013ee,...this[_0x167301(0x3a5)]],_0x937558=[this[_0x167301(0x2b6)]||this[_0x167301(0x34c)]][_0x167301(0x1d1)](_0x5df8e3=>!!_0x5df8e3);let _0x21cbca,_0x461e7d;if(_0x937558['length']){const _0x2279dd=this['_transformService'][_0x167301(0x126)](_0x57f43c,_0x937558,!0x1);if(!_0x2856d7['isTransformChangesetsSuccess'](_0x2279dd))throw _0x2279dd[_0x167301(0x41d)];_0x21cbca=_0x2279dd['c1Prime'],_0x461e7d=_0x2279dd['c2Prime'];}else _0x21cbca=_0x57f43c,_0x461e7d=[];let _0x3a880d=this[_0x167301(0x194)];_0x21cbca[_0x167301(0xb2)](_0x23f0b7=>{const _0x4db7bd=_0x167301;let _0x7f30d2;if(_0x3a880d['length']){const _0xb3acae=this[_0x4db7bd(0xbd)][_0x4db7bd(0x3b8)](_0x23f0b7,_0x3a880d);if(!_0x2856d7[_0x4db7bd(0x38a)](_0xb3acae))throw _0xb3acae[_0x4db7bd(0x41d)];_0x7f30d2=_0xb3acae[_0x4db7bd(0xff)],_0x3a880d=_0xb3acae['m2Prime'];}else _0x7f30d2=_0x23f0b7;this[_0x4db7bd(0x1d5)](_0x7f30d2);}),this[_0x167301(0x34c)]&&this[_0x167301(0xb8)](),this['_awaitingChangeset']&&_0x461e7d[_0x167301(0xbb)]&&(_0x461e7d[0x0][_0x167301(0x480)]=this[_0x167301(0x316)]());let _0x22d259;if(this[_0x167301(0x2b6)]&&_0x3a880d[_0x167301(0xbb)]!==0x0)_0x22d259=this[_0x167301(0x10d)][_0x167301(0x266)](_0x3d3aee,this['unitID'],this[_0x167301(0x33c)],_0x461e7d[0x0],_0x3a880d,this[_0x167301(0x324)]);else{if(this[_0x167301(0x2b6)]&&_0x3a880d[_0x167301(0xbb)]===0x0)_0x461e7d[0x0][_0x167301(0x480)]=this[_0x167301(0x316)](),_0x22d259=this[_0x167301(0x10d)][_0x167301(0x266)](_0x56fd74,this['unitID'],this[_0x167301(0x33c)],_0x461e7d[0x0],this[_0x167301(0x324)]);else{if(_0x3a880d['length']!==0x0){const _0x29f87c=this[_0x167301(0x10d)][_0x167301(0x266)](_0x571839,this[_0x167301(0x2ea)],this[_0x167301(0x33c)],_0x3a880d,this[_0x167301(0x324)]);_0x29f87c['_schedule'](),_0x22d259=_0x29f87c;}else _0x22d259=this[_0x167301(0x10d)][_0x167301(0x266)](_0x157452,this[_0x167301(0x2ea)],this[_0x167301(0x33c)],this[_0x167301(0x324)]);}}return _0x22d259[_0x167301(0x2ae)](),_0x22d259;}catch(_0x3d7a97){return this[_0x167301(0x139)][_0x167301(0x41d)](_0x167301(0x163),_0x167301(0xdd),_0x3d7a97),this[_0x167301(0x10d)][_0x167301(0x266)](_0x55ee11,this[_0x167301(0x2ea)],this[_0x167301(0x33c)],this[_0x167301(0x2b6)],this[_0x167301(0x194)],this[_0x167301(0x324)],!0x1);}}[_0x291ba3(0x391)](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x291ba3(0x427)](_0x226f98){return this['_pendingMutations']['push'](_0x226f98),this;}[_0x291ba3(0x359)](_0x287ddf){const _0x3abda2=_0x291ba3;return this[_0x3abda2(0x3a5)][_0x3abda2(0x44a)](_0x287ddf),this;}[_0x291ba3(0x2fc)](_0x3bdae8){const _0x49cad6=_0x291ba3;if(this['_awaitingChangeset'])return this['_acknowledgedAwaitingChangeset']=this['_awaitingChangeset'],this[_0x49cad6(0x2b6)]=null,this;throw new Error(_0x49cad6(0xf8));}[_0x291ba3(0x82)](_0x5b501d){const _0x2dedef=_0x291ba3;return this['_onConflict'](!!(_0x5b501d!=null&&_0x5b501d[_0x2dedef(0x119)]));}[_0x291ba3(0x11b)](){const _0xd77321=_0x291ba3;return this[_0xd77321(0x10d)][_0xd77321(0x266)](_0x2b854c,this[_0xd77321(0x2ea)],this[_0xd77321(0x33c)],this['_awaitingChangeset'],this[_0xd77321(0x194)],this[_0xd77321(0x324)]);}[_0x291ba3(0x1d9)](){return this;}[_0x291ba3(0x25e)](_0x3661cc){const _0x2b8125=_0x291ba3;return this[_0x2b8125(0x10d)][_0x2b8125(0x266)](_0x55ee11,this['unitID'],this['type'],this[_0x2b8125(0x2b6)],this['_pendingMutations'],this[_0x2b8125(0x324)],_0x3661cc);}};_0x3feb1e=_0x428496([_0x4d1e63(0x7,_0x2c7fed[_0x291ba3(0x16b)](_0x2c7fed[_0x291ba3(0x4a2)])),_0x4d1e63(0x8,_0x2c7fed[_0x291ba3(0x16b)](_0x2856d7[_0x291ba3(0x363)])),_0x4d1e63(0x9,_0x2c7fed[_0x291ba3(0x16b)](_0x594fe1[_0x291ba3(0x378)])),_0x4d1e63(0xa,_0x2c7fed['ILogService']),_0x4d1e63(0xb,_0x2c7fed[_0x291ba3(0x15a)]),_0x4d1e63(0xc,_0x2c7fed[_0x291ba3(0x26b)]),_0x4d1e63(0xd,_0x2856d7[_0x291ba3(0x372)])],_0x3feb1e);function _0x1b045c(_0x816506,_0xe61136,_0x55c6d5,_0x31e232,_0x5a2eb3,_0x26484b){const _0x33f613=_0x291ba3;return _0x31e232&&_0x5a2eb3['length']?_0x816506['createInstance'](_0x3d3aee,_0xe61136,_0x55c6d5,_0x31e232,_0x5a2eb3,_0x26484b):_0x31e232?_0x816506['createInstance'](_0x56fd74,_0xe61136,_0x55c6d5,_0x31e232,_0x26484b):_0x5a2eb3[_0x33f613(0xbb)]?_0x816506['createInstance'](_0x571839,_0xe61136,_0x55c6d5,_0x5a2eb3,_0x26484b):_0x816506['createInstance'](_0x157452,_0xe61136,_0x55c6d5,_0x26484b);}var _0x556dd5=Object[_0x291ba3(0x3e4)],_0x10b9c3=Object[_0x291ba3(0x373)],_0x4282cb=(_0x569a10,_0x33fa98,_0x4bd662,_0x4e441e)=>{for(var _0x1c8dd4=_0x4e441e>0x1?void 0x0:_0x4e441e?_0x10b9c3(_0x33fa98,_0x4bd662):_0x33fa98,_0x12dfb7=_0x569a10['length']-0x1,_0x29eb00;_0x12dfb7>=0x0;_0x12dfb7--)(_0x29eb00=_0x569a10[_0x12dfb7])&&(_0x1c8dd4=(_0x4e441e?_0x29eb00(_0x33fa98,_0x4bd662,_0x1c8dd4):_0x29eb00(_0x1c8dd4))||_0x1c8dd4);return _0x4e441e&&_0x1c8dd4&&_0x556dd5(_0x33fa98,_0x4bd662,_0x1c8dd4),_0x1c8dd4;},_0x285850=(_0x3b44c0,_0x57dd9c)=>(_0x2059a7,_0x5bb9a2)=>_0x57dd9c(_0x2059a7,_0x5bb9a2,_0x3b44c0);_0x594fe1[_0x291ba3(0x3cf)]=class extends _0x2c7fed[_0x291ba3(0x2d5)]{constructor(_0x479d22,_0x2bfbe7,_0x7d6b99,_0x715356,_0x40b17,_0x701c9b,_0x515192,_0x5b5dbe,_0x4b1c96,_0x45300c,_0x1397e8,_0x170d9f,_0x2dd3cd){const _0x2e1180=_0x291ba3;super(),_0x24cbc7(this,'_state$',new _0x1fc547[(_0x2e1180(0x467))](null)),_0x24cbc7(this,_0x2e1180(0x3d2),this[_0x2e1180(0x159)][_0x2e1180(0x442)]()),_0x24cbc7(this,_0x2e1180(0x32e)),_0x24cbc7(this,_0x2e1180(0x40b),!0x1),_0x24cbc7(this,_0x2e1180(0x195),''),_0x24cbc7(this,_0x2e1180(0x479),0x0),_0x24cbc7(this,_0x2e1180(0x338),this['state$']['pipe'](_0x1fc547['map'](_0x3b96f5=>_0x3b96f5?_0x3b96f5[_0x2e1180(0x469)]:_0x5b6195[_0x2e1180(0x2cf)]),_0x1fc547['shareReplay'](0x1))),_0x24cbc7(this,_0x2e1180(0x35f),!0x1),_0x24cbc7(this,_0x2e1180(0x453),[]),(this[_0x2e1180(0x2ea)]=_0x479d22,this['session']=_0x2bfbe7,this[_0x2e1180(0x15e)]=_0x7d6b99,this[_0x2e1180(0x10d)]=_0x715356,this[_0x2e1180(0x106)]=_0x40b17,this[_0x2e1180(0x2de)]=_0x701c9b,this[_0x2e1180(0x277)]=_0x515192,this['_revisionService']=_0x5b5dbe,this[_0x2e1180(0x139)]=_0x4b1c96,this[_0x2e1180(0xc0)]=_0x45300c,this[_0x2e1180(0x17b)]=_0x1397e8,this[_0x2e1180(0x2d4)]=_0x170d9f,this[_0x2e1180(0x212)]=_0x2dd3cd);}get['state'](){const _0x4bd5de=_0x291ba3;return this[_0x4bd5de(0x32e)];}async[_0x291ba3(0x1d3)](){const _0x549e98=_0x291ba3;if(this['state'])throw new Error(_0x549e98(0x100));await this[_0x549e98(0x366)]();}[_0x291ba3(0x1f5)](){const _0x46d10d=_0x291ba3;return this[_0x46d10d(0x40b)]=!0x0,_0x2c7fed[_0x46d10d(0x337)](()=>{const _0x442c66=_0x46d10d;this[_0x442c66(0x40b)]=!0x1,this[_0x442c66(0xc8)]();});}[_0x291ba3(0x283)](_0x3f2211){const _0x138ce2=_0x291ba3;this[_0x138ce2(0x32e)]=_0x3f2211,this['_state$'][_0x138ce2(0x2ce)](_0x3f2211);}async[_0x291ba3(0x366)](){const _0x328d8d=_0x291ba3;var _0x51bda8;this[_0x328d8d(0x283)](await this[_0x328d8d(0x1a3)]()),this[_0x328d8d(0x212)]&&((_0x51bda8=this[_0x328d8d(0x212)])==null||_0x51bda8[_0x328d8d(0xcc)](this[_0x328d8d(0x2ea)]),this[_0x328d8d(0x351)](this[_0x328d8d(0x212)][_0x328d8d(0x45b)](this['unitID'])['subscribe'](_0x6a7571=>{const _0x588de3=_0x328d8d;this[_0x588de3(0x139)]['debug'](_0x588de3(0xfe),_0x588de3(0x290),_0x6a7571),_0x6a7571===_0x16b602[_0x588de3(0x3b3)]?(this[_0x588de3(0x17b)][_0x588de3(0x116)]({'content':this[_0x588de3(0x277)]['t'](_0x588de3(0x267)),'type':_0x4d689c[_0x588de3(0x3be)][_0x588de3(0x13d)]}),this[_0x588de3(0x2d4)][_0x588de3(0x1e6)](new _0x244249[(_0x588de3(0x2e9))](this['unitID'])['id'],!0x1)):this[_0x588de3(0x2d4)][_0x588de3(0x1e6)](new _0x244249[(_0x588de3(0x2e9))](this['unitID'])['id'],!0x0);})));let _0x29071a=!0x1;return this[_0x328d8d(0x351)](this['session'][_0x328d8d(0x1a8)][_0x328d8d(0x3f2)](_0x159564=>{const _0x53a627=_0x328d8d;_0x159564===_0x11a57f[_0x53a627(0x3d0)]?this[_0x53a627(0x1ef)](_0x29071a):_0x159564===_0x11a57f[_0x53a627(0x2cf)]&&(_0x29071a=!0x0,this[_0x53a627(0x3fd)]());})),this['disposeWithMe'](this[_0x328d8d(0x4a3)][_0x328d8d(0x272)][_0x328d8d(0x3f2)](_0x412c35=>{const _0x33f6b9=_0x328d8d;try{switch(_0x412c35[_0x33f6b9(0x243)]){case _0x2856d7[_0x33f6b9(0x93)][_0x33f6b9(0x361)]:{this['_onRemoteChangeset'](_0x2856d7[_0x33f6b9(0x172)](_0x412c35[_0x33f6b9(0x253)]));break;}case _0x2856d7[_0x33f6b9(0x93)]['CHANGESET_ACK']:{this[_0x33f6b9(0x34e)](_0x412c35[_0x33f6b9(0x253)]);break;}case _0x2856d7[_0x33f6b9(0x93)]['CHANGESET_REJ']:{this[_0x33f6b9(0x3b2)]();break;}case _0x2856d7['CollaborationEvent'][_0x33f6b9(0x322)]:{this[_0x33f6b9(0x1d7)](_0x412c35[_0x33f6b9(0x253)][_0x33f6b9(0x2ac)][_0x33f6b9(0x21b)](_0xf69f90=>_0x2856d7[_0x33f6b9(0x172)](_0xf69f90)));break;}case _0x2856d7[_0x33f6b9(0x93)]['PERMISSION_REJ']:this[_0x33f6b9(0x3b2)]({'isPermissionRej':!0x0});}}catch(_0x52c441){throw console[_0x33f6b9(0x41d)](_0x33f6b9(0x11e),_0x52c441),_0x52c441;}})),this[_0x328d8d(0x32e)];}[_0x291ba3(0x362)](){const _0x20a6a9=_0x291ba3;this[_0x20a6a9(0x35f)]=!0x1;}[_0x291ba3(0x397)](){const _0x588bdd=_0x291ba3;if(this[_0x588bdd(0x35f)])throw new Error(_0x588bdd(0x43f));this[_0x588bdd(0x35f)]=!0x0;}[_0x291ba3(0x32b)](_0x44e0d6){const _0x40dcec=_0x291ba3;this[_0x40dcec(0x397)](),this[_0x40dcec(0x283)](this['_state'][_0x40dcec(0x427)](_0x44e0d6)),this[_0x40dcec(0x362)]();}['_onRemoteChangeset'](_0x2def24){const _0x7dbf3c=_0x291ba3;if(!(_0x2def24[_0x7dbf3c(0x157)]<=this['_revisionService']['getCurrentRevOfUnit'](this[_0x7dbf3c(0x2ea)]))){if(this[_0x7dbf3c(0x40b)]){this[_0x7dbf3c(0x453)]['push'](_0x2def24);return;}this[_0x7dbf3c(0x294)](_0x2def24);}}[_0x291ba3(0xc8)](){const _0x8c4cd0=_0x291ba3;this[_0x8c4cd0(0x453)][_0x8c4cd0(0xb2)](_0x4ac537=>this[_0x8c4cd0(0x294)](_0x4ac537)),this[_0x8c4cd0(0x453)]=[];}[_0x291ba3(0x294)](_0x3c4520){const _0x1807dd=_0x291ba3,_0x5a312e=this[_0x1807dd(0x2de)][_0x1807dd(0x2dd)][_0x1807dd(0x1c5)](this[_0x1807dd(0x2de)][_0x1807dd(0x2dd)][_0x1807dd(0x2da)]()[_0x1807dd(0x11a)])(_0x3c4520['mutations'],null)||_0x3c4520['mutations'],_0x2a5d86={..._0x3c4520,'mutations':_0x5a312e};this[_0x1807dd(0x397)](),this[_0x1807dd(0x283)](this[_0x1807dd(0x32e)][_0x1807dd(0x359)](_0x2a5d86)),this[_0x1807dd(0x362)]();}[_0x291ba3(0x34e)](_0x4a40a4){const _0x4e79cf=_0x291ba3;this[_0x4e79cf(0x397)](),this[_0x4e79cf(0x283)](this[_0x4e79cf(0x32e)]['onRemoteAck'](_0x4a40a4)),this[_0x4e79cf(0x362)]();}[_0x291ba3(0x3b2)](_0x162a38){const _0x83ce98=_0x291ba3;this[_0x83ce98(0x397)](),this[_0x83ce98(0x283)](this[_0x83ce98(0x32e)][_0x83ce98(0x82)](_0x162a38)),this['_unlockTransition']();}[_0x291ba3(0x1d7)](_0x4386ce){const _0xf00c0e=_0x291ba3;if(!(this[_0xf00c0e(0x32e)]instanceof _0x3feb1e))throw new TypeError(_0xf00c0e(0x344));const _0x4822ac=_0x4386ce[_0xf00c0e(0x21b)](_0x233f85=>{const _0xb5fb32=_0xf00c0e,_0xb3f245=this['_compressMutationService']['interceptor'][_0xb5fb32(0x1c5)](this[_0xb5fb32(0x2de)]['interceptor'][_0xb5fb32(0x2da)]()[_0xb5fb32(0x11a)])(_0x233f85[_0xb5fb32(0x1a9)],null)||_0x233f85[_0xb5fb32(0x1a9)];return{..._0x233f85,'mutations':_0xb3f245};});this[_0xf00c0e(0x397)](),this['_updateState'](this[_0xf00c0e(0x32e)][_0xf00c0e(0x19a)](_0x4822ac)),this[_0xf00c0e(0x362)]();}[_0x291ba3(0x3fd)](){const _0x3f1c46=_0x291ba3;this[_0x3f1c46(0x397)](),this['_updateState'](this['_state'][_0x3f1c46(0x11b)]()),this[_0x3f1c46(0x362)]();}[_0x291ba3(0x1ef)](_0x8734b4=!0x1){const _0x38b0cc=_0x291ba3;this['_lockTransition'](),this[_0x38b0cc(0x283)](this[_0x38b0cc(0x32e)][_0x38b0cc(0x1d9)]()),this[_0x38b0cc(0x362)]();const _0x45c755=this[_0x38b0cc(0x32e)];_0x8734b4&&_0x45c755 instanceof _0x157452&&(this[_0x38b0cc(0x397)](),this[_0x38b0cc(0x283)](_0x45c755[_0x38b0cc(0x228)]()),this[_0x38b0cc(0x362)]());}async['_createInitialState'](){return new Promise(_0x16dba5=>{const _0x39727b=_0x2d25;this['session'][_0x39727b(0x1a8)][_0x39727b(0x256)](_0x1fc547[_0x39727b(0x482)](0x1))[_0x39727b(0x3f2)](async _0x5c02e4=>{const _0x476d45=_0x39727b;_0x16dba5(await this[_0x476d45(0x140)](_0x5c02e4===_0x11a57f['ONLINE']));});});}[_0x291ba3(0x2f8)](){const _0x2c1f59=_0x291ba3,_0x19a772=this[_0x2c1f59(0x2ea)];return{'onStateChange':(_0x225600,_0x43f1a5)=>{const _0x5261b5=_0x2c1f59;if(_0x225600!==this[_0x5261b5(0x32e)])throw new Error('[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20'+_0x225600[_0x5261b5(0x469)]+_0x5261b5(0x47c)+_0x43f1a5[_0x5261b5(0x469)]+_0x5261b5(0x98)+this[_0x5261b5(0x32e)][_0x5261b5(0x469)]);this[_0x5261b5(0x283)](_0x43f1a5);},'onSendChangeset':_0x26d436=>{const _0xc06380=_0x2c1f59;_0x26d436[_0xc06380(0x2b1)]||(_0x26d436[_0xc06380(0x2b1)]=this['_changesetSessionId'],_0x26d436[_0xc06380(0x41f)]=++this[_0xc06380(0x479)]);const _0x888c27={'eventID':_0x2856d7[_0xc06380(0x93)]['SUBMIT_CHANGESET'],'data':{'unitID':_0x26d436['unitID'],'unitType':this[_0xc06380(0x15e)],'changeset':_0x26d436,'memberID':this[_0xc06380(0x4a3)][_0xc06380(0x34f)]()}};this[_0xc06380(0x4a3)]['send'](_0x888c27,this[_0xc06380(0x2ea)]);},'onMissingChangesets':({from:_0x246e64,to:_0x1b3de8})=>{const _0x910e47=_0x2c1f59;this['_logService'][_0x910e47(0x1e9)](_0x910e47(0xfe),_0x910e47(0x234)+_0x246e64+_0x910e47(0x27c)+_0x1b3de8);const _0xdd9f51={'eventID':_0x2856d7[_0x910e47(0x93)][_0x910e47(0x2b4)],'data':{'unitID':_0x19a772,'unitType':this[_0x910e47(0x15e)],'from':_0x246e64,'to':_0x1b3de8}};this[_0x910e47(0x4a3)][_0x910e47(0x319)](_0xdd9f51,this[_0x910e47(0x2ea)]);}};}async[_0x291ba3(0x140)](_0x5303a8){const _0x2fd8b8=_0x291ba3;var _0x44b519,_0x26b5a3;const _0x30514b=await this[_0x2fd8b8(0x106)][_0x2fd8b8(0x158)](this[_0x2fd8b8(0x2ea)]),_0xe755f4=(_0x44b519=_0x30514b==null?void 0x0:_0x30514b['mutations'])!=null?_0x44b519:[],_0xf753c2=(_0x26b5a3=_0x30514b==null?void 0x0:_0x30514b['awaitingChangeset'])!=null?_0x26b5a3:null,_0x2359cc=!!(_0xf753c2!=null&&_0xf753c2['sid'])&&!!(_0xf753c2!=null&&_0xf753c2[_0x2fd8b8(0x41f)]);this[_0x2fd8b8(0x195)]=_0x2359cc?_0xf753c2[_0x2fd8b8(0x2b1)]:_0x2e2226(),this[_0x2fd8b8(0x479)]=_0x2359cc?_0xf753c2[_0x2fd8b8(0x41f)]:0x0;const _0xaf0869=this[_0x2fd8b8(0x2ea)];try{this['_replayCachedMutations'](_0xf753c2,_0xe755f4);}catch(_0x49475c){this[_0x2fd8b8(0x139)][_0x2fd8b8(0x41d)](_0x49475c);}const _0x519b2e=this[_0x2fd8b8(0x2f8)]();if(_0x5303a8){const _0xf457b6=_0x1b045c(this['_injector'],_0xaf0869,this['_type'],_0xf753c2,_0xe755f4,_0x519b2e);return _0xf457b6 instanceof _0x571839?_0xf457b6[_0x2fd8b8(0x3dd)]():(_0xf457b6 instanceof _0x3d3aee||_0xf457b6 instanceof _0x56fd74)&&_0xf457b6['resend'](),_0xf457b6;}return this[_0x2fd8b8(0x10d)]['createInstance'](_0x2b854c,_0xaf0869,this[_0x2fd8b8(0x15e)],_0xf753c2,_0xe755f4,_0x519b2e);}[_0x291ba3(0x156)](_0x3791a9,_0x508afa){const _0x1fe137=_0x291ba3;var _0x5dc07e,_0x5c246a;const _0x5afab8=this[_0x1fe137(0x2de)]['interceptor']['fetchThroughInterceptors'](this[_0x1fe137(0x2de)][_0x1fe137(0x2dd)][_0x1fe137(0x2da)]()[_0x1fe137(0x11a)]);(_0x5dc07e=_0x5afab8((_0x3791a9==null?void 0x0:_0x3791a9[_0x1fe137(0x1a9)])||[],null))==null||_0x5dc07e[_0x1fe137(0xb2)](_0x2128fd=>this[_0x1fe137(0xc0)][_0x1fe137(0x341)](_0x2128fd['id'],_0x2128fd[_0x1fe137(0x184)])),(_0x5c246a=_0x5afab8(_0x508afa||[],null))==null||_0x5c246a['forEach'](_0x5caacf=>this[_0x1fe137(0xc0)]['executeCommand'](_0x5caacf['id'],_0x5caacf['params']));}},_0x594fe1[_0x291ba3(0x3cf)]=_0x4282cb([_0x285850(0x3,_0x2c7fed[_0x291ba3(0x16b)](_0x2c7fed[_0x291ba3(0x4a2)])),_0x285850(0x4,_0x2c7fed[_0x291ba3(0x16b)](_0x594fe1[_0x291ba3(0x378)])),_0x285850(0x5,_0x2c7fed['Inject'](_0x2856d7['CompressMutationService'])),_0x285850(0x6,_0x2c7fed[_0x291ba3(0x16b)](_0x2c7fed[_0x291ba3(0x1a7)])),_0x285850(0x7,_0x2c7fed['Inject'](_0x2856d7['RevisionService'])),_0x285850(0x8,_0x2c7fed[_0x291ba3(0x2fd)]),_0x285850(0x9,_0x2c7fed['ICommandService']),_0x285850(0xa,_0x4b403d[_0x291ba3(0x2f2)]),_0x285850(0xb,_0x2c7fed[_0x291ba3(0x44b)]),_0x285850(0xc,_0x2c7fed[_0x291ba3(0x425)](_0x4ba495))],_0x594fe1['CollaborationEntity']),_0x594fe1['DocCollaborationEntity']=class extends _0x594fe1[_0x291ba3(0x3cf)]{constructor(_0xad519e,_0x3b5b5c,_0x5e1577,_0x271635,_0x163848,_0x34ea38,_0x34ef15,_0x440302,_0x4c9918,_0x247443,_0x13e485,_0x2082a7,_0x1c4c07,_0x7f9f64,_0x360e7d,_0x46810a,_0x51876b){const _0x582641=_0x291ba3;super(_0xad519e,_0x5e1577,_0x3b5b5c,_0x271635,_0x163848,_0x34ea38,_0x34ef15,_0x440302,_0x1c4c07,_0x7f9f64,_0x360e7d,_0x46810a,_0x51876b),this[_0x582641(0x2ea)]=_0xad519e,this[_0x582641(0x33c)]=_0x3b5b5c,this[_0x582641(0x3b5)]=_0x4c9918,this[_0x582641(0x2be)]=_0x247443,this[_0x582641(0x89)]=_0x13e485,this[_0x582641(0x10c)]=_0x2082a7;}['_createHandler'](){const _0x52be6b=_0x291ba3,_0x9cb5e4=super[_0x52be6b(0x2f8)]();return _0x9cb5e4['onTransformIME']=_0x5eac25=>this[_0x52be6b(0x2be)][_0x52be6b(0x315)](_0x5eac25),_0x9cb5e4['onTransformSelections']=_0x2bd05a=>this[_0x52be6b(0x89)][_0x52be6b(0xc3)](_0x2bd05a),_0x9cb5e4[_0x52be6b(0xdb)]=_0xcde52a=>this[_0x52be6b(0x10c)][_0x52be6b(0x122)](_0xcde52a),_0x9cb5e4[_0x52be6b(0x3d5)]=_0x31242d=>this[_0x52be6b(0x2be)][_0x52be6b(0x326)](_0x31242d),_0x9cb5e4;}async[_0x291ba3(0x366)](){const _0x1128f2=_0x291ba3,_0x24e597=await super[_0x1128f2(0x366)]();return this[_0x1128f2(0x3b5)][_0x1128f2(0x2a4)]['pipe'](_0x1fc547[_0x1128f2(0x211)](this[_0x1128f2(0xf7)]))['subscribe'](_0x314525=>{const _0x181d0e=_0x1128f2;if(_0x314525==null)return;const {unitId:_0x1a9b4e,redoState:_0x2cc9f1,commandId:_0x3ab0ec}=_0x314525;if(_0x1a9b4e!==this['unitID'])return;const _0x3b192d={'id':_0x3ab0ec,'type':_0x2c7fed['CommandType']['MUTATION'],'params':{'unitId':_0x1a9b4e,'actions':_0x2cc9f1[_0x181d0e(0x200)],'textRanges':null}};this[_0x181d0e(0x32b)](_0x3b192d);}),_0x24e597;}},_0x594fe1[_0x291ba3(0x3e2)]=_0x4282cb([_0x285850(0x3,_0x2c7fed[_0x291ba3(0x16b)](_0x2c7fed[_0x291ba3(0x4a2)])),_0x285850(0x4,_0x2c7fed[_0x291ba3(0x16b)](_0x594fe1['LocalCacheService'])),_0x285850(0x5,_0x2c7fed[_0x291ba3(0x16b)](_0x2856d7['CompressMutationService'])),_0x285850(0x6,_0x2c7fed[_0x291ba3(0x16b)](_0x2c7fed[_0x291ba3(0x1a7)])),_0x285850(0x7,_0x2c7fed[_0x291ba3(0x16b)](_0x2856d7['RevisionService'])),_0x285850(0x8,_0x2c7fed[_0x291ba3(0x16b)](_0x21cef1['DocStateChangeManagerService'])),_0x285850(0x9,_0x2c7fed[_0x291ba3(0x16b)](_0x5bc594)),_0x285850(0xa,_0x2c7fed[_0x291ba3(0x16b)](_0x4bc5bd)),_0x285850(0xb,_0x2c7fed[_0x291ba3(0x16b)](_0x2f34a3)),_0x285850(0xc,_0x2c7fed[_0x291ba3(0x2fd)]),_0x285850(0xd,_0x2c7fed['ICommandService']),_0x285850(0xe,_0x4b403d[_0x291ba3(0x2f2)]),_0x285850(0xf,_0x2c7fed[_0x291ba3(0x44b)]),_0x285850(0x10,_0x2c7fed['Optional'](_0x4ba495))],_0x594fe1['DocCollaborationEntity']),_0x594fe1['SheetCollaborationEntity']=class extends _0x594fe1[_0x291ba3(0x3cf)]{constructor(_0x3c689e,_0x362635,_0x5a02d3,_0x357f34,_0x132311,_0x37ce4e,_0x35eb22,_0xc428a7,_0x3a4e39,_0xced3ce,_0x53d195,_0x4f56e5,_0x15812c,_0x1b5e40){const _0x1a8d8f=_0x291ba3;super(_0x3c689e,_0x5a02d3,_0x362635,_0x357f34,_0x132311,_0x37ce4e,_0x35eb22,_0xc428a7,_0xced3ce,_0x53d195,_0x4f56e5,_0x15812c,_0x1b5e40),this['unitID']=_0x3c689e,this[_0x1a8d8f(0x33c)]=_0x362635,this['_sheetTransformSelectionsService']=_0x3a4e39;}[_0x291ba3(0x2f8)](){const _0x1ccee8=_0x291ba3,_0x3992a4=super[_0x1ccee8(0x2f8)]();return _0x3992a4[_0x1ccee8(0x187)]=_0x1e26e8=>this[_0x1ccee8(0x1c1)][_0x1ccee8(0xc3)](_0x1e26e8),_0x3992a4;}async['_init'](){const _0x1070da=_0x291ba3,_0x3845bc=await super['_init']();return this[_0x1070da(0x351)](this[_0x1070da(0xc0)][_0x1070da(0x313)]((_0x5b6686,_0x29ec6f)=>{const _0x563517=_0x1070da;if(_0x5b6686['type']!==_0x2c7fed[_0x563517(0x32d)]['MUTATION']||_0x29ec6f!=null&&_0x29ec6f[_0x563517(0x220)]||_0x29ec6f!=null&&_0x29ec6f[_0x563517(0x3d9)])return;const _0x3b4a4f=_0x5b6686[_0x563517(0x184)];if((_0x3b4a4f==null?void 0x0:_0x3b4a4f[_0x563517(0x137)])!==this[_0x563517(0x2ea)])return;const _0x17f530=_0x5b6686,_0x205acb=this[_0x563517(0x2de)][_0x563517(0x2dd)][_0x563517(0x1c5)](this[_0x563517(0x2de)]['interceptor']['getInterceptPoints']()[_0x563517(0x382)])([_0x17f530],null)||[_0x17f530];this[_0x563517(0x32b)](_0x205acb[0x0]);})),_0x3845bc;}},_0x594fe1[_0x291ba3(0x385)]=_0x4282cb([_0x285850(0x3,_0x2c7fed[_0x291ba3(0x16b)](_0x2c7fed[_0x291ba3(0x4a2)])),_0x285850(0x4,_0x2c7fed['Inject'](_0x594fe1[_0x291ba3(0x378)])),_0x285850(0x5,_0x2c7fed[_0x291ba3(0x16b)](_0x2856d7['CompressMutationService'])),_0x285850(0x6,_0x2c7fed[_0x291ba3(0x16b)](_0x2c7fed[_0x291ba3(0x1a7)])),_0x285850(0x7,_0x2c7fed[_0x291ba3(0x16b)](_0x2856d7[_0x291ba3(0x363)])),_0x285850(0x8,_0x2c7fed['Inject'](_0x1b1a48)),_0x285850(0x9,_0x2c7fed[_0x291ba3(0x2fd)]),_0x285850(0xa,_0x2c7fed[_0x291ba3(0x15a)]),_0x285850(0xb,_0x4b403d['IMessageService']),_0x285850(0xc,_0x2c7fed[_0x291ba3(0x44b)]),_0x285850(0xd,_0x2c7fed[_0x291ba3(0x425)](_0x4ba495))],_0x594fe1[_0x291ba3(0x385)]);var _0x32e6da=Object[_0x291ba3(0x3e4)],_0x11b293=Object[_0x291ba3(0x373)],_0x55b4f7=(_0x422a27,_0x3c29e8,_0x31bdc2,_0x4c3e59)=>{const _0x3e863b=_0x291ba3;for(var _0x3b904b=_0x4c3e59>0x1?void 0x0:_0x4c3e59?_0x11b293(_0x3c29e8,_0x31bdc2):_0x3c29e8,_0x1bf0b7=_0x422a27[_0x3e863b(0xbb)]-0x1,_0x4778b3;_0x1bf0b7>=0x0;_0x1bf0b7--)(_0x4778b3=_0x422a27[_0x1bf0b7])&&(_0x3b904b=(_0x4c3e59?_0x4778b3(_0x3c29e8,_0x31bdc2,_0x3b904b):_0x4778b3(_0x3b904b))||_0x3b904b);return _0x4c3e59&&_0x3b904b&&_0x32e6da(_0x3c29e8,_0x31bdc2,_0x3b904b),_0x3b904b;},_0x4e156a=(_0x4d3fbe,_0x24d879)=>(_0x5b1c2c,_0x23a798)=>_0x24d879(_0x5b1c2c,_0x23a798,_0x4d3fbe);_0x594fe1['CollaborationController']=class extends _0x2c7fed['RxDisposable']{constructor(_0x57d1cc,_0x3c36d2,_0x202510){const _0x3e1eb2=_0x291ba3;super(),_0x24cbc7(this,_0x3e1eb2(0x3a7),new Map()),_0x24cbc7(this,_0x3e1eb2(0xa3),new _0x1fc547[(_0x3e1eb2(0x165))]()),(this[_0x3e1eb2(0x10d)]=_0x57d1cc,this['_collabSessionService']=_0x3c36d2,this[_0x3e1eb2(0x79)]=_0x202510,this['_init']());}['dispose'](){const _0x313b91=_0x291ba3;super[_0x313b91(0x35e)](),this[_0x313b91(0x3a7)]['forEach'](_0x4241f1=>_0x4241f1['dispose']()),this[_0x313b91(0x3a7)]['clear']();}['getCollabEntity'](_0x222beb){const _0x56d7f6=_0x291ba3;var _0x26106f;return(_0x26106f=this[_0x56d7f6(0x3a7)][_0x56d7f6(0x400)](_0x222beb))!=null?_0x26106f:null;}[_0x291ba3(0x17f)](_0x46db4e){const _0x319b5f=_0x291ba3,_0xa0c71d=this[_0x319b5f(0x20d)](_0x46db4e);return _0xa0c71d?_0x1fc547['of'](_0xa0c71d):this[_0x319b5f(0xa3)]['pipe'](_0x2eca2e[_0x319b5f(0x1d1)](_0x53fcbc=>_0x53fcbc[_0x319b5f(0x2ea)]===_0x46db4e));}[_0x291ba3(0x366)](){const _0x358e28=_0x291ba3;this[_0x358e28(0x79)][_0x358e28(0x112)](_0x2c7fed[_0x358e28(0xcb)]['UNIVER_SHEET'])[_0x358e28(0x256)](_0x1fc547[_0x358e28(0x211)](this[_0x358e28(0xf7)]),_0x2eca2e[_0x358e28(0x477)](0x10))[_0x358e28(0x3f2)](async _0x3ae660=>{const _0x2a90a6=_0x358e28,_0x5983af=_0x3ae660[_0x2a90a6(0x11d)](),_0x3ad4cb=await this[_0x2a90a6(0x3e1)](_0x5983af,_0x4cd70d['UNIVER_SHEET']);this[_0x2a90a6(0x3a7)]['set'](_0x5983af,_0x3ad4cb);}),this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x2c7fed['UniverInstanceType'][_0x358e28(0x130)])['pipe'](_0x1fc547[_0x358e28(0x211)](this[_0x358e28(0xf7)]),_0x2eca2e[_0x358e28(0x477)](0x10))['pipe'](_0x2eca2e['filter'](_0x10108a=>!_0x10108a[_0x358e28(0x11d)]()['startsWith']('__')))[_0x358e28(0x3f2)](async _0x5f3b02=>{const _0x4e7443=_0x358e28,_0x4e7e0b=_0x5f3b02[_0x4e7443(0x11d)](),_0x55fd25=await this['_startCollaboration'](_0x4e7e0b,_0x4cd70d['UNIVER_DOC']);this[_0x4e7443(0x3a7)][_0x4e7443(0x250)](_0x4e7e0b,_0x55fd25);}),_0x1fc547[_0x358e28(0x94)](this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x2c7fed['UniverInstanceType'][_0x358e28(0x2aa)]),this['_univerInstanceService'][_0x358e28(0xc6)](_0x2c7fed[_0x358e28(0xcb)][_0x358e28(0x130)]))[_0x358e28(0x256)](_0x1fc547[_0x358e28(0x211)](this[_0x358e28(0xf7)]))[_0x358e28(0x3f2)](_0x3ada6=>{const _0x4f75e8=_0x358e28,_0x372c68=_0x3ada6['getUnitId'](),_0x246156=this['_entities']['get'](_0x372c68);_0x246156&&(_0x246156[_0x4f75e8(0x35e)](),this[_0x4f75e8(0x3a7)][_0x4f75e8(0x39c)](_0x372c68));});}async[_0x291ba3(0x3e1)](_0x5aff0b,_0x28eeff){const _0x2413da=_0x291ba3,_0x50bd03=await this[_0x2413da(0x374)][_0x2413da(0x22d)](_0x5aff0b),_0x40d2a1=this['_injector'][_0x2413da(0x266)](this[_0x2413da(0x447)](_0x28eeff),_0x5aff0b,_0x28eeff,_0x50bd03);return await _0x40d2a1[_0x2413da(0x1d3)](),this['_entityInit$'][_0x2413da(0x2ce)](_0x40d2a1),_0x40d2a1;}[_0x291ba3(0x447)](_0x26957a){const _0x2bd9b7=_0x291ba3;switch(_0x26957a){case _0x4cd70d[_0x2bd9b7(0x130)]:return _0x594fe1[_0x2bd9b7(0x3e2)];case _0x4cd70d[_0x2bd9b7(0x2aa)]:return _0x594fe1[_0x2bd9b7(0x385)];default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0x26957a);}}},_0x594fe1[_0x291ba3(0x1be)]=_0x55b4f7([_0x4e156a(0x0,_0x2c7fed['Inject'](_0x2c7fed[_0x291ba3(0x4a2)])),_0x4e156a(0x1,_0x2c7fed['Inject'](_0x594fe1[_0x291ba3(0xeb)])),_0x4e156a(0x2,_0x2c7fed[_0x291ba3(0x27a)])],_0x594fe1[_0x291ba3(0x1be)]);const _0x1b14e2=[_0x291ba3(0x471),_0x291ba3(0x301),_0x291ba3(0x147),'red300',_0x291ba3(0x13e),_0x291ba3(0x164)];class _0x45b0e2 extends _0x2c7fed[_0x291ba3(0x2e7)]{constructor(){const _0x35d32b=_0x291ba3;super(...arguments),_0x24cbc7(this,_0x35d32b(0x1ea),new Map()),_0x24cbc7(this,'_colorIndex',0x0);}[_0x291ba3(0x23a)](_0x5e3fab){const _0x56925c=_0x291ba3;if(this[_0x56925c(0x1ea)]['has'](_0x5e3fab))return this[_0x56925c(0x1ea)][_0x56925c(0x400)](_0x5e3fab);const _0xb861b8=_0x1b14e2[this['_colorIndex']];return this[_0x56925c(0x440)]=(this[_0x56925c(0x440)]+0x1)%_0x1b14e2[_0x56925c(0xbb)],this[_0x56925c(0x1ea)][_0x56925c(0x250)](_0x5e3fab,_0xb861b8),_0xb861b8;}}var _0x4d5309=Object[_0x291ba3(0x3e4)],_0x912570=Object[_0x291ba3(0x373)],_0x4da21f=(_0x50c57b,_0x26b836,_0x1ac3c1,_0xc3f8d1)=>{for(var _0x4fdb5b=_0xc3f8d1>0x1?void 0x0:_0xc3f8d1?_0x912570(_0x26b836,_0x1ac3c1):_0x26b836,_0x2176c1=_0x50c57b['length']-0x1,_0x57cf3d;_0x2176c1>=0x0;_0x2176c1--)(_0x57cf3d=_0x50c57b[_0x2176c1])&&(_0x4fdb5b=(_0xc3f8d1?_0x57cf3d(_0x26b836,_0x1ac3c1,_0x4fdb5b):_0x57cf3d(_0x4fdb5b))||_0x4fdb5b);return _0xc3f8d1&&_0x4fdb5b&&_0x4d5309(_0x26b836,_0x1ac3c1,_0x4fdb5b),_0x4fdb5b;},_0x4082bf=(_0x2d8f4b,_0x43a858)=>(_0x27a223,_0x34d061)=>_0x43a858(_0x27a223,_0x34d061,_0x2d8f4b);const _0x540883=0x12c,_0x5d04f6=0x64;let _0x45d401=class extends _0x2c7fed[_0x291ba3(0x2d5)]{constructor(_0x32468a,_0x30d459,_0xdfe3c,_0x487141,_0x13d86d,_0x33f617,_0x41a4c8,_0x53e094,_0x57f906){const _0x3bae90=_0x291ba3;super(),_0x24cbc7(this,_0x3bae90(0x28a),!0x1),_0x24cbc7(this,'_init',!0x1),_0x24cbc7(this,'_cursorInfo$',new _0x1fc547[(_0x3bae90(0x467))](new Map())),_0x24cbc7(this,'cursorInfo$',this['_cursorInfo$']['asObservable']()),_0x24cbc7(this,_0x3bae90(0x248),new _0x1fc547[(_0x3bae90(0x467))]([])),_0x24cbc7(this,'roomMembers$',this['_roomMembers$'][_0x3bae90(0x256)](_0x1fc547[_0x3bae90(0x120)](_0x540883))),_0x24cbc7(this,_0x3bae90(0x90),_0x2c7fed[_0x3bae90(0xa7)](_0x443910=>{const _0x2e74c9=_0x3bae90,_0x18057f={'eventID':_0x2856d7['CollaborationEvent'][_0x2e74c9(0x31f)],'data':{'unitID':this[_0x2e74c9(0x2ea)],'memberID':this['_session'][_0x2e74c9(0x34f)](),'selection':_0x5a4515(_0x443910)}};this[_0x2e74c9(0x2b7)][_0x2e74c9(0x319)](_0x18057f,this[_0x2e74c9(0x2ea)]);},_0x5d04f6)),(this[_0x3bae90(0x2ea)]=_0x32468a,this[_0x3bae90(0x2b7)]=_0x30d459,this[_0x3bae90(0x10d)]=_0xdfe3c,this[_0x3bae90(0x356)]=_0x487141,this[_0x3bae90(0x29e)]=_0x13d86d,this[_0x3bae90(0x1c6)]=_0x33f617,this[_0x3bae90(0xbd)]=_0x41a4c8,this[_0x3bae90(0x79)]=_0x53e094,this[_0x3bae90(0xc0)]=_0x57f906);}get[_0x291ba3(0x12f)](){const _0x3a4414=_0x291ba3;return this[_0x3a4414(0xd1)][_0x3a4414(0x1e7)]();}get['roomMembers'](){const _0x4b6d15=_0x291ba3;return this[_0x4b6d15(0x248)][_0x4b6d15(0x1e7)]();}['dispose'](){const _0x2699f0=_0x291ba3;super[_0x2699f0(0x35e)](),this[_0x2699f0(0xd1)]['next'](new Map()),this[_0x2699f0(0xd1)][_0x2699f0(0x420)](),this[_0x2699f0(0x248)]['next']([]),this[_0x2699f0(0x248)][_0x2699f0(0x420)]();}[_0x291ba3(0x1d3)](){const _0x45ed7f=_0x291ba3;this[_0x45ed7f(0x366)]||(this[_0x45ed7f(0x366)]=!0x0,this['_session'][_0x45ed7f(0x1a8)]['pipe'](_0x1fc547[_0x45ed7f(0x211)](this[_0x45ed7f(0xf7)]))[_0x45ed7f(0x3f2)](_0x472fad=>{const _0x4accc8=_0x45ed7f;_0x472fad===_0x11a57f['ONLINE']?this[_0x4accc8(0x1ef)]():this[_0x4accc8(0x3fd)]();}),this['_session'][_0x45ed7f(0x272)][_0x45ed7f(0x256)](_0x1fc547['takeUntil'](this[_0x45ed7f(0xf7)]))[_0x45ed7f(0x3f2)](_0x1e2e14=>{const _0x35f404=_0x45ed7f,_0x14e9bf=_0x1e2e14[_0x35f404(0x243)];_0x14e9bf===_0x2856d7[_0x35f404(0x93)][_0x35f404(0x31f)]&&this[_0x35f404(0x2a3)](_0x1e2e14),_0x14e9bf===_0x2856d7[_0x35f404(0x93)][_0x35f404(0x408)]&&this[_0x35f404(0x19f)](_0x1e2e14);}),this['disposeWithMe'](this[_0x45ed7f(0xc0)][_0x45ed7f(0x313)](_0x3f579d=>{const _0x16475f=_0x45ed7f,_0x1db874=_0x3f579d['params'];_0x1db874!=null&&this['_online']&&_0x3f579d['id']===_0x7ac583[_0x16475f(0x25a)]['id']&&_0x1db874['unitId']===this[_0x16475f(0x2ea)]&&_0x1db874['isEditing']===!0x1&&this[_0x16475f(0x90)](_0x1db874[_0x16475f(0x281)]);})),this[_0x45ed7f(0x1c6)][_0x45ed7f(0x2d3)]['pipe'](_0x1fc547[_0x45ed7f(0x211)](this[_0x45ed7f(0xf7)]))[_0x45ed7f(0x3f2)](_0x41b9ea=>{const _0x110b22=_0x45ed7f;if((_0x41b9ea==null?void 0x0:_0x41b9ea[_0x110b22(0x2ea)])!==this[_0x110b22(0x2ea)])return;const _0x45d5ec={'eventID':_0x2856d7[_0x110b22(0x93)][_0x110b22(0x31f)],'data':_0x41b9ea};this[_0x110b22(0x2a3)](_0x45d5ec);}),this[_0x45ed7f(0x351)](this[_0x45ed7f(0xc0)][_0x45ed7f(0x313)](_0x361007=>{const _0x4a7717=_0x45ed7f;if(_0x361007[_0x4a7717(0x184)]==null)return;const _0x5dcd73=_0x361007['params'];if(_0x361007['id']!==_0x7ac583[_0x4a7717(0x30e)]['id']||_0x5dcd73[_0x4a7717(0x137)]!==this[_0x4a7717(0x2ea)])return;const _0x127dd0={'id':_0x4a7717(0x1bf),'params':_0x5dcd73},_0x12a308=this[_0x4a7717(0x12f)];for(const [_0x1711b0,_0x4503f6]of _0x12a308){const _0x14ec54={'id':_0x4a7717(0x1bf),'params':{'unitId':this[_0x4a7717(0x2ea)],'actions':null,'textRanges':_0x4503f6[_0x4a7717(0x281)]}},_0x11b68e=this[_0x4a7717(0xbd)][_0x4a7717(0x227)](_0x127dd0,_0x14ec54,!0x1);if(_0x2856d7[_0x4a7717(0x72)](_0x11b68e))throw _0x11b68e['error'];_0x12a308['set'](_0x1711b0,{..._0x4503f6,'ranges':_0x11b68e['m2Prime'][_0x4a7717(0x184)][_0x4a7717(0x307)]});}queueMicrotask(()=>{const _0x3f14e1=_0x4a7717;this[_0x3f14e1(0xd1)]['next'](_0x12a308);});})));}['_onCursorUpdate'](_0x83cc14){const _0x6d3e16=_0x291ba3;var _0x52266f,_0x3cbdc4;const {memberID:_0x3596e0,selection:_0x5886b8}=_0x83cc14[_0x6d3e16(0x253)],_0x5f24bf=_0x3a9cc2(_0x5886b8),_0x178a04=(_0x3cbdc4=(_0x52266f=this[_0x6d3e16(0x29e)][_0x6d3e16(0x465)](this[_0x6d3e16(0x2ea)],_0x3596e0))==null?void 0x0:_0x52266f[_0x6d3e16(0x2a6)])!=null?_0x3cbdc4:_0x6d3e16(0x2fe),_0x7a675c={'color':this[_0x6d3e16(0x356)][_0x6d3e16(0x23a)](_0x3596e0),'name':_0x178a04,'ranges':_0x5f24bf},_0x4fbd27=this[_0x6d3e16(0x12f)];_0x4fbd27[_0x6d3e16(0x250)](_0x3596e0,_0x7a675c),this[_0x6d3e16(0xd1)][_0x6d3e16(0x2ce)](_0x4fbd27);}['_onCursorDelete'](_0x4e47cd){const _0x581f98=_0x291ba3,{memberID:_0x5bc1c3}=_0x4e47cd[_0x581f98(0x253)],_0x219a25=this[_0x581f98(0x12f)];_0x219a25[_0x581f98(0x39c)](_0x5bc1c3),this[_0x581f98(0xd1)][_0x581f98(0x2ce)](_0x219a25);}[_0x291ba3(0x1ef)](){const _0x2f6ce8=_0x291ba3;var _0x25b948;if(this[_0x2f6ce8(0x28a)]=!0x0,((_0x25b948=this['_univerInstanceService'][_0x2f6ce8(0xa6)]())==null?void 0x0:_0x25b948[_0x2f6ce8(0x11d)]())!==this[_0x2f6ce8(0x2ea)])return;const _0x392a32=this[_0x2f6ce8(0x10d)][_0x2f6ce8(0x400)](_0x7ac583[_0x2f6ce8(0x35d)])[_0x2f6ce8(0x334)]();Array[_0x2f6ce8(0x358)](_0x392a32)&&_0x392a32[_0x2f6ce8(0xbb)]>0x0&&this[_0x2f6ce8(0x90)](_0x392a32);}[_0x291ba3(0x3fd)](){const _0x3fb1f8=_0x291ba3;this[_0x3fb1f8(0x28a)]=!0x1;}};_0x45d401=_0x4da21f([_0x4082bf(0x2,_0x2c7fed[_0x291ba3(0x16b)](_0x2c7fed[_0x291ba3(0x4a2)])),_0x4082bf(0x3,_0x2c7fed[_0x291ba3(0x16b)](_0x45b0e2)),_0x4082bf(0x4,_0x2c7fed['Inject'](_0x4d411d)),_0x4082bf(0x5,_0x2c7fed['Inject'](_0x2f34a3)),_0x4082bf(0x6,_0x2856d7[_0x291ba3(0x372)]),_0x4082bf(0x7,_0x2c7fed[_0x291ba3(0x27a)]),_0x4082bf(0x8,_0x2c7fed[_0x291ba3(0x15a)])],_0x45d401);var _0x2f30f7=Object[_0x291ba3(0x3e4)],_0x1de566=Object['getOwnPropertyDescriptor'],_0x3c30d3=(_0x5aeddc,_0x262de5,_0x173c16,_0x1ecfd5)=>{for(var _0x524f76=_0x1ecfd5>0x1?void 0x0:_0x1ecfd5?_0x1de566(_0x262de5,_0x173c16):_0x262de5,_0x1d0b63=_0x5aeddc['length']-0x1,_0x4defe3;_0x1d0b63>=0x0;_0x1d0b63--)(_0x4defe3=_0x5aeddc[_0x1d0b63])&&(_0x524f76=(_0x1ecfd5?_0x4defe3(_0x262de5,_0x173c16,_0x524f76):_0x4defe3(_0x524f76))||_0x524f76);return _0x1ecfd5&&_0x524f76&&_0x2f30f7(_0x262de5,_0x173c16,_0x524f76),_0x524f76;},_0x5a668f=(_0x12f690,_0x529a7d)=>(_0x38913b,_0x37d4e6)=>_0x529a7d(_0x38913b,_0x37d4e6,_0x12f690);const _0x3f4ae5=0x12c,_0x5aa6a7=0x64,_0x28d91a=()=>{let _0xe8c96b=[],_0x1714cd=!0x1;return _0x365f74=>{const _0xf8e15c=_0x2d25;_0xe8c96b[_0xf8e15c(0x44a)](_0x365f74),_0x1714cd||(_0x1714cd=!0x0,setTimeout(()=>{_0xe8c96b['forEach'](_0x319f30=>_0x319f30()),_0xe8c96b=[],_0x1714cd=!0x1;}));};};let _0xba4728=class extends _0x2c7fed[_0x291ba3(0x2d5)]{constructor(_0x353b2d,_0x3bd780,_0x41cd2c,_0x503b2a,_0x2e1c9f,_0x5eeaf2,_0x5388b4,_0x51122d){const _0x2287da=_0x291ba3;super(),_0x24cbc7(this,_0x2287da(0x28a),!0x1),_0x24cbc7(this,_0x2287da(0x366),!0x1),_0x24cbc7(this,_0x2287da(0xd1),new _0x1fc547['BehaviorSubject'](new Map())),_0x24cbc7(this,_0x2287da(0x431),this[_0x2287da(0xd1)]['asObservable']()),_0x24cbc7(this,_0x2287da(0x248),new _0x1fc547[(_0x2287da(0x467))]([])),_0x24cbc7(this,_0x2287da(0x3ac),this[_0x2287da(0x248)]['pipe'](_0x1fc547['debounceTime'](_0x3f4ae5))),_0x24cbc7(this,'_updateLocalCursor',_0x2c7fed[_0x2287da(0xa7)]((_0x1b92f5,_0x207c66)=>{const _0x1627b7=_0x2287da,_0x247f43={'eventID':_0x2856d7[_0x1627b7(0x93)]['UPDATE_CURSOR'],'data':{'unitID':this['unitID'],'memberID':this[_0x1627b7(0x2b7)]['getMemberID'](),'selection':_0x172d10['serializeRangeWithSheet'](_0x1b92f5,_0x207c66[_0x1627b7(0x76)])}};this['_session']['send'](_0x247f43,this['unitID']);},_0x5aa6a7)),(this['unitID']=_0x353b2d,this[_0x2287da(0x2b7)]=_0x3bd780,this['_injector']=_0x41cd2c,this[_0x2287da(0x356)]=_0x503b2a,this['_memberService']=_0x2e1c9f,this['_univerInstanceService']=_0x5eeaf2,this[_0x2287da(0xc0)]=_0x5388b4,this[_0x2287da(0x2e0)]=_0x51122d);}get[_0x291ba3(0x12f)](){const _0x5caca4=_0x291ba3;return this[_0x5caca4(0xd1)]['getValue']();}get[_0x291ba3(0x185)](){const _0x33f764=_0x291ba3;return this[_0x33f764(0x248)][_0x33f764(0x1e7)]();}[_0x291ba3(0x35e)](){const _0x4837b4=_0x291ba3;super[_0x4837b4(0x35e)](),this[_0x4837b4(0xd1)][_0x4837b4(0x2ce)](new Map()),this['_cursorInfo$'][_0x4837b4(0x420)](),this[_0x4837b4(0x248)][_0x4837b4(0x2ce)]([]),this[_0x4837b4(0x248)][_0x4837b4(0x420)]();}[_0x291ba3(0x1d3)](){const _0x440dc4=_0x291ba3;this['_init']||(this[_0x440dc4(0x366)]=!0x0,this[_0x440dc4(0x2b7)][_0x440dc4(0x1a8)][_0x440dc4(0x256)](_0x1fc547[_0x440dc4(0x211)](this[_0x440dc4(0xf7)]))[_0x440dc4(0x3f2)](_0x16cda3=>{const _0x56f58d=_0x440dc4;_0x16cda3===_0x11a57f['ONLINE']?this[_0x56f58d(0x1ef)]():this[_0x56f58d(0x3fd)]();}),this[_0x440dc4(0x2b7)][_0x440dc4(0x272)][_0x440dc4(0x256)](_0x1fc547['takeUntil'](this[_0x440dc4(0xf7)]))[_0x440dc4(0x3f2)](_0x2bbe82=>{const _0x5416f8=_0x440dc4,_0x1f6135=_0x2bbe82[_0x5416f8(0x243)];_0x1f6135===_0x2856d7['CollaborationEvent'][_0x5416f8(0x31f)]&&this[_0x5416f8(0x2a3)](_0x2bbe82),_0x1f6135===_0x2856d7[_0x5416f8(0x93)]['USERS_LEAVE']&&this['_onCursorDelete'](_0x2bbe82);}),this[_0x440dc4(0x4a5)](),this['disposeWithMe'](this[_0x440dc4(0xc0)][_0x440dc4(0x313)](_0x439735=>{const _0x1b1f53=_0x440dc4;if(this['_online']&&_0x439735['id']===_0x244249[_0x1b1f53(0x23d)]['id']&&_0x439735[_0x1b1f53(0x184)][_0x1b1f53(0x137)]===this['unitID']){const _0x602691=_0x439735['params'];this[_0x1b1f53(0x90)](_0x602691[_0x1b1f53(0x101)],_0x602691['selections'][0x0]);}})));}['_onCursorUpdate'](_0x47d7d5){const _0x34c703=_0x291ba3;var _0x5d911e,_0x3aa192;const {memberID:_0x4274c9,selection:_0x2f726b}=_0x47d7d5[_0x34c703(0x253)],{sheetName:_0x61e311,range:_0x533220}=_0x172d10[_0x34c703(0x3bf)](_0x2f726b),_0x52cc60={'name':(_0x3aa192=(_0x5d911e=this[_0x34c703(0x29e)][_0x34c703(0x465)](this[_0x34c703(0x2ea)],_0x4274c9))==null?void 0x0:_0x5d911e['name'])!=null?_0x3aa192:_0x34c703(0x2fe),'range':this[_0x34c703(0x3c5)](_0x61e311,_0x533220),'sheetID':_0x61e311,'color':this[_0x34c703(0x356)][_0x34c703(0x23a)](_0x4274c9),'selection':_0x2f726b},_0x264bfb=this['cursorInfo'];_0x264bfb[_0x34c703(0x250)](_0x4274c9,_0x52cc60),this[_0x34c703(0xd1)][_0x34c703(0x2ce)](_0x264bfb);}['_onCursorDelete'](_0x5a5a20){const _0xca7e9a=_0x291ba3,{memberID:_0x3f9dce}=_0x5a5a20['data'],_0x56e8e6=this[_0xca7e9a(0x12f)];_0x56e8e6[_0xca7e9a(0x39c)](_0x3f9dce),this['_cursorInfo$'][_0xca7e9a(0x2ce)](_0x56e8e6);}[_0x291ba3(0x3c5)](_0x5d561b,_0x49fdac){const _0x50e718=_0x291ba3;var _0x3b7775,_0x5ca2ce;const _0x375961=(_0x5ca2ce=(_0x3b7775=this[_0x50e718(0x79)][_0x50e718(0x3ab)](this[_0x50e718(0x2ea)]))==null?void 0x0:_0x3b7775[_0x50e718(0x1ae)](_0x5d561b))==null?void 0x0:_0x5ca2ce[_0x50e718(0x2e3)]();return(_0x375961==null?void 0x0:_0x375961[_0x50e718(0x125)](_0x4b8f76=>_0x2c7fed[_0x50e718(0xad)][_0x50e718(0x2a0)](_0x4b8f76,_0x49fdac)))||_0x49fdac;}['_onRefRangeChange'](){const _0x3efc49=_0x291ba3,_0x1dffac=new _0x2c7fed['DisposableCollection'](),_0x1e1f22=_0x28d91a(),_0x11b6ae=()=>{const _0x3a3b60=_0x2d25;_0x1dffac[_0x3a3b60(0x35e)]();const _0x46e4db=(_0x11a43c,_0x28d5a0,_0x760262,_0x3b519b)=>{const _0x27134c=_0x3a3b60;let _0x598469=[];switch(_0x11a43c['id']){case _0x244249['EffectRefRangId']['DeleteRangeMoveLeftCommandId']:{_0x598469=_0x244249['handleDeleteRangeMoveLeft'](_0x11a43c,_0x3b519b);break;}case _0x244249[_0x27134c(0x48d)][_0x27134c(0x2c4)]:{_0x598469=_0x244249[_0x27134c(0x30b)](_0x11a43c,_0x3b519b);break;}case _0x244249[_0x27134c(0x48d)][_0x27134c(0x174)]:{_0x598469=_0x244249['handleInsertCol'](_0x11a43c,_0x3b519b);break;}case _0x244249[_0x27134c(0x48d)]['InsertRangeMoveDownCommandId']:{_0x598469=_0x244249['handleInsertRangeMoveDown'](_0x11a43c,_0x3b519b);break;}case _0x244249['EffectRefRangId'][_0x27134c(0x376)]:{_0x598469=_0x244249[_0x27134c(0xbe)](_0x11a43c,_0x3b519b);break;}case _0x244249[_0x27134c(0x48d)][_0x27134c(0x463)]:{_0x598469=_0x244249['handleInsertRow'](_0x11a43c,_0x3b519b);break;}case _0x244249[_0x27134c(0x48d)][_0x27134c(0x342)]:{_0x598469=_0x244249[_0x27134c(0x494)](_0x11a43c,_0x3b519b);break;}case _0x244249['EffectRefRangId']['RemoveColCommandId']:{_0x598469=_0x244249[_0x27134c(0x2af)](_0x11a43c,_0x3b519b);break;}case _0x244249[_0x27134c(0x48d)][_0x27134c(0x349)]:{_0x598469=_0x244249[_0x27134c(0x454)](_0x11a43c,_0x3b519b);break;}}const _0x5c9f58=_0x244249[_0x27134c(0x380)](_0x598469,_0x3b519b),_0x39b63c=this['cursorInfo'][_0x27134c(0x400)](_0x28d5a0);if(_0x39b63c&&_0x5c9f58){const _0x1abc85={..._0x39b63c,'range':_0x5c9f58};this[_0x27134c(0x12f)][_0x27134c(0x250)](_0x28d5a0,_0x1abc85),_0x1e1f22(()=>{const _0x4b673f=_0x27134c,_0x3a1e10=this[_0x4b673f(0x2e0)][_0x4b673f(0xca)](_0x5c9f58,_0x590696=>(_0x3a1e10[_0x4b673f(0x35e)](),_0x46e4db(_0x590696,_0x28d5a0,_0x760262,_0x5c9f58)));_0x1dffac[_0x4b673f(0x8b)](_0x3a1e10);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x3a3b60(0xb2)]((_0x1071f0,_0x5bb3a4)=>{const _0x3c4053=_0x3a3b60,{range:_0x358082,sheetID:_0x102f0b}=_0x1071f0,_0x33c23e=this['_refRangeService'][_0x3c4053(0xca)](_0x358082,_0x3ac13e=>(_0x33c23e[_0x3c4053(0x35e)](),_0x46e4db(_0x3ac13e,_0x5bb3a4,_0x102f0b,_0x358082)));_0x1dffac[_0x3c4053(0x8b)](_0x33c23e);});};this[_0x3efc49(0x351)](_0x2c7fed[_0x3efc49(0x337)](this['_cursorInfo$']['subscribe'](()=>{_0x11b6ae();})));}[_0x291ba3(0x1ef)](){const _0x5abd8e=_0x291ba3;var _0x1b28ff,_0x2b925d;if(this['_online']=!0x0,((_0x1b28ff=this[_0x5abd8e(0x79)]['getFocusedUnit']())==null?void 0x0:_0x1b28ff[_0x5abd8e(0x11d)]())!==this[_0x5abd8e(0x2ea)])return;const _0x1b6b41=(_0x2b925d=this[_0x5abd8e(0x10d)][_0x5abd8e(0x400)](_0x244249[_0x5abd8e(0xd6)])[_0x5abd8e(0x1c4)]())==null?void 0x0:_0x2b925d[0x0],_0x502f7e=this[_0x5abd8e(0x79)][_0x5abd8e(0x17a)](_0x2c7fed[_0x5abd8e(0xcb)][_0x5abd8e(0x2aa)])[_0x5abd8e(0x409)]();_0x1b6b41&&_0x502f7e&&this[_0x5abd8e(0x90)](_0x502f7e['getSheetId'](),_0x1b6b41);}['_toggleOffline'](){const _0xea14ee=_0x291ba3;this[_0xea14ee(0x28a)]=!0x1;}};_0xba4728=_0x3c30d3([_0x5a668f(0x2,_0x2c7fed[_0x291ba3(0x16b)](_0x2c7fed[_0x291ba3(0x4a2)])),_0x5a668f(0x3,_0x2c7fed['Inject'](_0x45b0e2)),_0x5a668f(0x4,_0x2c7fed['Inject'](_0x4d411d)),_0x5a668f(0x5,_0x2c7fed[_0x291ba3(0x27a)]),_0x5a668f(0x6,_0x2c7fed['ICommandService']),_0x5a668f(0x7,_0x2c7fed[_0x291ba3(0x16b)](_0x244249['RefRangeService']))],_0xba4728);var _0xe0d908=Object['defineProperty'],_0x576920=Object[_0x291ba3(0x373)],_0x3afca8=(_0x4edb78,_0x10775f,_0x4508d4,_0x2d1b5a)=>{const _0x22b76d=_0x291ba3;for(var _0x5f4084=_0x2d1b5a>0x1?void 0x0:_0x2d1b5a?_0x576920(_0x10775f,_0x4508d4):_0x10775f,_0x297fda=_0x4edb78[_0x22b76d(0xbb)]-0x1,_0x5bd9c9;_0x297fda>=0x0;_0x297fda--)(_0x5bd9c9=_0x4edb78[_0x297fda])&&(_0x5f4084=(_0x2d1b5a?_0x5bd9c9(_0x10775f,_0x4508d4,_0x5f4084):_0x5bd9c9(_0x5f4084))||_0x5f4084);return _0x2d1b5a&&_0x5f4084&&_0xe0d908(_0x10775f,_0x4508d4,_0x5f4084),_0x5f4084;},_0x59e0d1=(_0x1007ca,_0x53094a)=>(_0x389344,_0x312136)=>_0x53094a(_0x389344,_0x312136,_0x1007ca);let _0x47d88=class extends _0x2c7fed[_0x291ba3(0x2d5)]{constructor(_0x5518e9,_0xab01d9,_0x1c6ebb){const _0x3b6de8=_0x291ba3;super(),_0x24cbc7(this,_0x3b6de8(0x3a7),new Map()),_0x24cbc7(this,'_entityInit$',new _0x1fc547[(_0x3b6de8(0x165))]()),(this[_0x3b6de8(0x79)]=_0x5518e9,this[_0x3b6de8(0x10d)]=_0xab01d9,this[_0x3b6de8(0x374)]=_0x1c6ebb,this[_0x3b6de8(0x366)]());}[_0x291ba3(0x35e)](){const _0x2f687e=_0x291ba3;super['dispose'](),this['_entityInit$'][_0x2f687e(0x420)](),this[_0x2f687e(0x3a7)][_0x2f687e(0xb2)](_0x532d1a=>_0x532d1a[_0x2f687e(0x35e)]());}['getCollabCursors$'](_0x805631){const _0x54d3e7=_0x291ba3;return this[_0x54d3e7(0x3a7)][_0x54d3e7(0x169)](_0x805631)?this['_entities']['get'](_0x805631)[_0x54d3e7(0x431)]:this[_0x54d3e7(0xa3)][_0x54d3e7(0x256)](_0x1fc547[_0x54d3e7(0x1d1)](_0x37d84a=>_0x37d84a['unitID']===_0x805631),_0x1fc547[_0x54d3e7(0x1e2)](_0x3e9380=>_0x3e9380['cursorInfo$']));}['_init'](){const _0x3ad44b=_0x291ba3;this[_0x3ad44b(0x79)][_0x3ad44b(0x112)](_0x2c7fed[_0x3ad44b(0xcb)][_0x3ad44b(0x2aa)])[_0x3ad44b(0x256)](_0x1fc547[_0x3ad44b(0x211)](this[_0x3ad44b(0xf7)]))[_0x3ad44b(0x3f2)](async _0x3480be=>{const _0x3b9bee=_0x3ad44b,_0x37b08f=_0x3480be['getUnitId'](),_0x1ad32c=await this[_0x3b9bee(0x1a4)](_0x37b08f);this[_0x3b9bee(0xa3)]['next'](_0x1ad32c),this[_0x3b9bee(0x3a7)]['set'](_0x37b08f,_0x1ad32c);}),this[_0x3ad44b(0x79)]['getTypeOfUnitAdded$'](_0x2c7fed['UniverInstanceType']['UNIVER_DOC'])[_0x3ad44b(0x256)](_0x1fc547[_0x3ad44b(0x211)](this[_0x3ad44b(0xf7)]))[_0x3ad44b(0x256)](_0x1fc547['filter'](_0xb63c78=>!_0xb63c78['getUnitId']()[_0x3ad44b(0x3c9)]('__')))[_0x3ad44b(0x3f2)](async _0x31633e=>{const _0x20c831=_0x3ad44b,_0x5ed5b7=_0x31633e[_0x20c831(0x11d)](),_0x2dfa9f=await this['_startDocCollabCursor'](_0x5ed5b7);this[_0x20c831(0xa3)][_0x20c831(0x2ce)](_0x2dfa9f),this[_0x20c831(0x3a7)][_0x20c831(0x250)](_0x5ed5b7,_0x2dfa9f);}),_0x1fc547[_0x3ad44b(0x94)](this['_univerInstanceService'][_0x3ad44b(0xc6)](_0x2c7fed['UniverInstanceType'][_0x3ad44b(0x130)]),this[_0x3ad44b(0x79)]['getTypeOfUnitDisposed$'](_0x2c7fed[_0x3ad44b(0xcb)][_0x3ad44b(0x2aa)]))['pipe'](_0x1fc547[_0x3ad44b(0x211)](this[_0x3ad44b(0xf7)]))[_0x3ad44b(0x3f2)](_0x595bf3=>{const _0x3a85f8=_0x3ad44b,_0x124ee3=_0x595bf3['getUnitId'](),_0x3f772f=this[_0x3a85f8(0x3a7)][_0x3a85f8(0x400)](_0x124ee3);_0x3f772f&&(_0x3f772f[_0x3a85f8(0x35e)](),this[_0x3a85f8(0x3a7)][_0x3a85f8(0x39c)](_0x124ee3));});}async['_startSheetCollabCursor'](_0x468d96){const _0x567cfd=_0x291ba3,_0x12330c=await this[_0x567cfd(0x374)][_0x567cfd(0x22d)](_0x468d96),_0x1dbb14=this[_0x567cfd(0x10d)][_0x567cfd(0x266)](_0xba4728,_0x468d96,_0x12330c);return _0x1dbb14[_0x567cfd(0x1d3)](),_0x1dbb14;}async[_0x291ba3(0x123)](_0x7c047a){const _0x16d523=_0x291ba3,_0x5f5b47=await this[_0x16d523(0x374)][_0x16d523(0x22d)](_0x7c047a),_0x4fe3c8=this[_0x16d523(0x10d)]['createInstance'](_0x45d401,_0x7c047a,_0x5f5b47);return _0x4fe3c8[_0x16d523(0x1d3)](),_0x4fe3c8;}};_0x47d88=_0x3afca8([_0x59e0d1(0x0,_0x2c7fed[_0x291ba3(0x27a)]),_0x59e0d1(0x1,_0x2c7fed[_0x291ba3(0x16b)](_0x2c7fed[_0x291ba3(0x4a2)])),_0x59e0d1(0x2,_0x2c7fed['Inject'](_0x594fe1[_0x291ba3(0xeb)]))],_0x47d88);const _0x34a5d2=0x14,_0x3b3c2c=0xc8,_0xf37e8f=0x4,_0xf24552=0x5;function _0x5bd8ab(_0x1b6ae3,_0x566ac8){const _0x49ec46=_0x291ba3;let {radius:_0x217ef4,width:_0x17f06b,height:_0x561bf7}=_0x566ac8;_0x217ef4=_0x217ef4!=null?_0x217ef4:0x0,_0x17f06b=_0x17f06b!=null?_0x17f06b:0x1e,_0x561bf7=_0x561bf7!=null?_0x561bf7:0x1e;let _0x21bacc=0x0,_0xa3ff30=0x0,_0x301c76=0x0;_0x21bacc=_0xa3ff30=_0x301c76=Math[_0x49ec46(0xe7)](_0x217ef4,_0x17f06b/0x2,_0x561bf7/0x2),_0x1b6ae3['beginPath'](),_0x1b6ae3['moveTo'](_0x21bacc,0x0),_0x1b6ae3[_0x49ec46(0xa5)](_0x17f06b-_0xa3ff30,0x0),_0x1b6ae3[_0x49ec46(0x41c)](_0x17f06b-_0xa3ff30,_0xa3ff30,_0xa3ff30,Math['PI']*0x3/0x2,0x0,!0x1),_0x1b6ae3['lineTo'](_0x17f06b,_0x561bf7-_0x301c76),_0x1b6ae3[_0x49ec46(0x41c)](_0x17f06b-_0x301c76,_0x561bf7-_0x301c76,_0x301c76,0x0,Math['PI']/0x2,!0x1),_0x1b6ae3[_0x49ec46(0xa5)](0x0,_0x561bf7),_0x1b6ae3[_0x49ec46(0xa5)](0x0,_0x21bacc),_0x1b6ae3[_0x49ec46(0x41c)](_0x21bacc,_0x21bacc,_0x21bacc,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x1b6ae3[_0x49ec46(0xcf)](),_0x566ac8[_0x49ec46(0xe1)]&&(_0x1b6ae3[_0x49ec46(0x24b)](),_0x1b6ae3[_0x49ec46(0x331)]=_0x566ac8['fill'],_0x566ac8[_0x49ec46(0xe3)]===_0x49ec46(0x24c)?_0x1b6ae3[_0x49ec46(0xe1)](_0x49ec46(0x24c)):_0x1b6ae3[_0x49ec46(0xe1)](),_0x1b6ae3['restore']());}class _0xcb27d6 extends _0x180dc9[_0x291ba3(0x498)]{constructor(_0xee0783,_0x34ffc1){const _0x58838c=_0x291ba3;super(_0xee0783,_0x34ffc1),_0x24cbc7(this,_0x58838c(0x3c2)),_0x24cbc7(this,_0x58838c(0x151)),(this[_0x58838c(0x3c2)]=_0x34ffc1==null?void 0x0:_0x34ffc1['color'],this[_0x58838c(0x151)]=_0x34ffc1==null?void 0x0:_0x34ffc1[_0x58838c(0x151)]);}static['drawWith'](_0xd9750f,_0x26dbec){const _0x301fcb=_0x291ba3,{text:_0x3df19c,color:_0x59a744}=_0x26dbec;_0xd9750f[_0x301fcb(0x24b)](),_0xd9750f[_0x301fcb(0x336)]=_0x301fcb(0x31d);const _0x2ffbfa=_0xd9750f[_0x301fcb(0x182)](_0x3df19c)[_0x301fcb(0x259)],_0x105519=Math[_0x301fcb(0xe7)](_0x2ffbfa+0x2*_0xf37e8f,_0x3b3c2c);_0x5bd8ab(_0xd9750f,{'height':_0x34a5d2,'radius':0x4,'width':_0x105519,'fill':_0x59a744,'evented':!0x1}),_0xd9750f['fillStyle']=_0x301fcb(0x3ba);const _0x110cea=_0xf37e8f,_0x5b81e2=_0x34a5d2-_0xf24552,_0x5169b5=_0x3b3c2c-0x2*_0xf37e8f;if(_0x2ffbfa>_0x5169b5){let _0x4ad2af='',_0x17edd4=0x0;for(const _0x29b343 of _0x3df19c){const _0x418af8=_0xd9750f[_0x301fcb(0x182)](_0x29b343)[_0x301fcb(0x259)];if(_0x17edd4+_0x418af8<=_0x5169b5-_0xd9750f[_0x301fcb(0x182)](_0x301fcb(0x25b))['width'])_0x4ad2af+=_0x29b343,_0x17edd4+=_0x418af8;else{_0x4ad2af+=_0x301fcb(0x25b);break;}}_0xd9750f['fillText'](_0x4ad2af,_0x110cea,_0x5b81e2);}else _0xd9750f[_0x301fcb(0x104)](_0x3df19c,_0x110cea,_0x5b81e2);_0xd9750f[_0x301fcb(0x26d)]();}[_0x291ba3(0x268)](_0x267ce2){const _0xeb58a4=_0x291ba3;_0xcb27d6[_0xeb58a4(0x102)](_0x267ce2,this);}}const _0x5e78d2=_0x291ba3(0x493),_0x1b93c8=_0x291ba3(0x1da),_0x1ad5bd=_0x291ba3(0x44f),_0x341708=0x6,_0x4f64da=1.5,_0x34ee2d=0x4,_0x5532b8=1.5,_0x3f4aa8=_0x291ba3(0xce);class _0x1ac9b5{constructor(_0x24a690,_0x2c69d0,_0x4898f2,_0x8647e9){const _0x47b0dc=_0x291ba3;_0x24cbc7(this,_0x47b0dc(0x6f),[]),_0x24cbc7(this,'_anchor',null),_0x24cbc7(this,'_textBubble',null),_0x24cbc7(this,_0x47b0dc(0xd4),null),_0x24cbc7(this,'_hideTimer',null),_0x24cbc7(this,_0x47b0dc(0x16e),null),(this[_0x47b0dc(0x199)]=_0x24a690,this[_0x47b0dc(0x329)]=_0x2c69d0,this[_0x47b0dc(0x270)]=_0x4898f2,this['_document']=_0x8647e9,this[_0x47b0dc(0x25c)]());}set[_0x291ba3(0x27d)](_0x2894de){const _0x9cb90=_0x291ba3;_0x2894de?(this[_0x9cb90(0xd4)]&&this[_0x9cb90(0xd4)]['hide'](),this[_0x9cb90(0x162)]&&this[_0x9cb90(0x162)][_0x9cb90(0x116)]()):(this[_0x9cb90(0xd4)]&&this[_0x9cb90(0xd4)][_0x9cb90(0x116)](),this[_0x9cb90(0x162)]&&this[_0x9cb90(0x162)]['hide']());}['dispose'](){const _0x5ef317=_0x291ba3;for(const _0x3e72bc of this[_0x5ef317(0x6f)])_0x3e72bc[_0x5ef317(0x35e)]();this[_0x5ef317(0x162)]&&this[_0x5ef317(0x162)][_0x5ef317(0x35e)](),this[_0x5ef317(0xd4)]&&this[_0x5ef317(0xd4)][_0x5ef317(0x35e)](),this[_0x5ef317(0x143)]&&this[_0x5ef317(0x143)][_0x5ef317(0x35e)](),this['_eventUnsubscribe']&&this[_0x5ef317(0x16e)]();}[_0x291ba3(0x25c)](){const _0x9b36c9=_0x291ba3;var _0x1d17ae;const {_docSkeleton:_0x388180,_document:_0x4baa88}=this,{color:_0x520c99,name:_0x2c9c3e,ranges:_0x1b9aac}=this[_0x9b36c9(0x199)],_0x408890=_0x4baa88[_0x9b36c9(0x236)](),{docsLeft:_0x39673e,docsTop:_0x384fc1}=_0x408890,_0x20df9b=new _0x21cef1[(_0x9b36c9(0x135))](_0x408890,_0x388180);for(const {startOffset:_0x2fd13b,endOffset:_0x44b26f,collapsed:_0xbd55,isActive:_0x24ca69}of _0x1b9aac){const _0x2dbe0a=_0x388180[_0x9b36c9(0x74)](_0x2fd13b),_0x9f607b=_0x388180['findNodePositionByCharIndex'](_0x44b26f);if(_0x24ca69){const {contentBoxPointGroup:_0x2ef866}=_0x20df9b[_0x9b36c9(0x485)](_0x9f607b,_0x9f607b);if(_0x2ef866[_0x9b36c9(0xbb)]===0x0)continue;this['_drawAnchor'](_0x520c99,_0x2ef866,_0x39673e,_0x384fc1,_0x2c9c3e),this[_0x9b36c9(0x16e)]=this[_0x9b36c9(0x47d)]();}if(!_0xbd55&&_0x2dbe0a&&_0x9f607b){if(_0x21cef1[_0x9b36c9(0x48e)](_0x2dbe0a,_0x9f607b)){const _0xcb116b=new _0x21cef1[(_0x9b36c9(0x251))](_0x408890,_0x388180),{pointGroup:_0x4f45ac}=(_0x1d17ae=_0xcb116b['getRangePointData'](_0x2dbe0a,_0x9f607b))!=null?_0x1d17ae:{};if(_0x4f45ac==null||_0x4f45ac[_0x9b36c9(0xbb)]===0x0)continue;this[_0x9b36c9(0x12b)](_0x520c99,_0x4f45ac,_0x39673e,_0x384fc1);}else{const {contentBoxPointGroup:_0x469ae1}=_0x20df9b[_0x9b36c9(0x485)](_0x2dbe0a,_0x9f607b);if(_0x469ae1[_0x9b36c9(0xbb)]===0x0)continue;this[_0x9b36c9(0x3db)](_0x520c99,_0x469ae1,_0x39673e,_0x384fc1);}}}}[_0x291ba3(0x13c)](_0x419219,_0x1d4700,_0x35aa04,_0x542985,_0x28fc5f){const _0x3a1865=_0x291ba3,_0x516a7a=this[_0x3a1865(0x367)](_0x1d4700),{left:_0x4ab370,top:_0x31431b,height:_0x3d3b18}=_0x516a7a,_0x56531c=this[_0x3a1865(0x235)](),_0x327317=_0x5532b8/_0x56531c,_0x73465e=new _0x180dc9['Rect'](_0x5e78d2+_0x2c7fed[_0x3a1865(0xa9)][_0x3a1865(0x19d)](_0x341708),{'left':_0x4ab370+_0x35aa04-_0x327317,'top':_0x31431b+_0x542985,'height':_0x3d3b18,'width':_0x4f64da,'fill':_0x419219||_0x180dc9[_0x3a1865(0xf3)](_0x2c7fed['COLORS'][_0x3a1865(0x153)],0x0),'strokeWidth':_0x327317,'stroke':_0x3f4aa8,'evented':!0x0});this[_0x3a1865(0x143)]=_0x73465e,this[_0x3a1865(0x329)][_0x3a1865(0x2b2)](_0x73465e,_0x21cef1['TEXT_RANGE_LAYER_INDEX']);const _0x676fdb=new _0x180dc9[(_0x3a1865(0x2c2))](_0x5e78d2+_0x2c7fed['Tools'][_0x3a1865(0x19d)](_0x341708),{'left':_0x4ab370+_0x35aa04-_0x327317,'top':_0x31431b+_0x542985-_0x34ee2d/0x2,'height':_0x34ee2d,'width':_0x34ee2d,'fill':_0x419219||_0x180dc9['getColor'](_0x2c7fed[_0x3a1865(0xbc)][_0x3a1865(0x153)],0x0),'strokeWidth':0x0,'stroke':_0x419219||_0x180dc9[_0x3a1865(0xf3)](_0x2c7fed[_0x3a1865(0xbc)][_0x3a1865(0x153)],0x0),'evented':!0x1});this[_0x3a1865(0xd4)]=_0x676fdb,this[_0x3a1865(0x329)][_0x3a1865(0x2b2)](_0x676fdb,_0x21cef1[_0x3a1865(0x497)]);const _0x283af7=new _0xcb27d6(_0x5e78d2+_0x2c7fed['Tools']['generateRandomId'](_0x341708),{'left':_0x4ab370+_0x35aa04-_0x327317,'top':_0x31431b+_0x542985-_0x34a5d2,'text':_0x28fc5f,'color':_0x419219});this[_0x3a1865(0x162)]=_0x283af7,this['_scene'][_0x3a1865(0x2b2)](_0x283af7,_0x21cef1['TEXT_RANGE_LAYER_INDEX']),this[_0x3a1865(0x27d)]=!0x1;}[_0x291ba3(0x47d)](){const _0x6e7036=_0x291ba3,_0x115249=this['_anchor'][_0x6e7036(0x4a9)][_0x6e7036(0x150)](()=>{const _0x56ae3f=_0x6e7036;this[_0x56ae3f(0x27d)]=!0x0;}),_0x19a83e=this[_0x6e7036(0x143)][_0x6e7036(0x223)][_0x6e7036(0x150)](()=>{const _0x25f9cd=_0x6e7036;this['_hideTimer']&&clearTimeout(this[_0x25f9cd(0x109)]),this[_0x25f9cd(0x109)]=setTimeout(()=>{const _0x47b37b=_0x25f9cd;this[_0x47b37b(0x27d)]=!0x1;},0x7d0);});return()=>{_0x115249['unsubscribe'](),_0x19a83e['unsubscribe']();};}[_0x291ba3(0x3db)](_0xf966db,_0x4d17f8,_0x2d3469,_0x20afe9){const _0x9a9b05=_0x291ba3,_0x239cae=new _0x2c7fed[(_0x9a9b05(0x303))](_0xf966db)['setAlpha'](0.2)[_0x9a9b05(0x1b2)](),_0x5ae95b=new _0x180dc9[(_0x9a9b05(0x288))](_0x1b93c8+_0x2c7fed[_0x9a9b05(0xa9)][_0x9a9b05(0x19d)](_0x341708),{'pointsGroup':_0x4d17f8,'fill':_0x239cae||_0x180dc9[_0x9a9b05(0xf3)](_0x2c7fed[_0x9a9b05(0xbc)]['black'],0.2),'left':_0x2d3469,'top':_0x20afe9,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x9a9b05(0x6f)][_0x9a9b05(0x44a)](_0x5ae95b),this[_0x9a9b05(0x329)][_0x9a9b05(0x2b2)](_0x5ae95b,_0x21cef1[_0x9a9b05(0x497)]);}['_drawRectRange'](_0x496563,_0x465318,_0x8b8dfa,_0x1d99e8){const _0x2cd3e9=_0x291ba3,_0x301e5c=new _0x2c7fed['ColorKit'](_0x496563)[_0x2cd3e9(0x1b8)](0.2)[_0x2cd3e9(0x1b2)](),_0x176c32=new _0x180dc9[(_0x2cd3e9(0x288))](_0x1ad5bd+_0x2c7fed[_0x2cd3e9(0xa9)]['generateRandomId'](_0x341708),{'pointsGroup':_0x465318,'fill':_0x301e5c||_0x180dc9['getColor'](_0x2c7fed[_0x2cd3e9(0xbc)][_0x2cd3e9(0x153)],0.2),'left':_0x8b8dfa,'top':_0x1d99e8,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x2cd3e9(0x6f)]['push'](_0x176c32),this[_0x2cd3e9(0x329)]['addObject'](_0x176c32,_0x21cef1[_0x2cd3e9(0x497)]);}[_0x291ba3(0x367)](_0x28e05c){const _0x3c6577=_0x28e05c[0x0],_0x11edc7=_0x3c6577[0x0],_0x573524=_0x3c6577[0x2],{x:_0x3d8342,y:_0x5ad13b}=_0x11edc7,{x:_0x17ab07,y:_0x4e3309}=_0x573524;return{'left':_0x3d8342,'top':_0x5ad13b,'width':_0x17ab07-_0x3d8342,'height':_0x4e3309-_0x5ad13b};}[_0x291ba3(0x235)](){const _0x39cb04=_0x291ba3,{scaleX:_0xced2a3,scaleY:_0x317d8d}=this['_scene'][_0x39cb04(0x438)]();return Math[_0x39cb04(0x305)](_0xced2a3,_0x317d8d);}}var _0x12f19f=Object['defineProperty'],_0x58d1eb=Object[_0x291ba3(0x373)],_0x2557a9=(_0x10b01a,_0x4ce9b7,_0x324a84,_0x36ca4a)=>{const _0x3dc407=_0x291ba3;for(var _0x18ffcc=_0x36ca4a>0x1?void 0x0:_0x36ca4a?_0x58d1eb(_0x4ce9b7,_0x324a84):_0x4ce9b7,_0x3f065a=_0x10b01a[_0x3dc407(0xbb)]-0x1,_0xd71299;_0x3f065a>=0x0;_0x3f065a--)(_0xd71299=_0x10b01a[_0x3f065a])&&(_0x18ffcc=(_0x36ca4a?_0xd71299(_0x4ce9b7,_0x324a84,_0x18ffcc):_0xd71299(_0x18ffcc))||_0x18ffcc);return _0x36ca4a&&_0x18ffcc&&_0x12f19f(_0x4ce9b7,_0x324a84,_0x18ffcc),_0x18ffcc;},_0x32a4e8=(_0x3ce41f,_0x144cf3)=>(_0x2d19ea,_0x52b723)=>_0x144cf3(_0x2d19ea,_0x52b723,_0x3ce41f);let _0x2d5972=class extends _0x2c7fed[_0x291ba3(0x2d5)]{constructor(_0x4c673a,_0x283c47,_0x532a3d,_0x24f905,_0x418140){const _0x1da996=_0x291ba3;super(),_0x24cbc7(this,_0x1da996(0x399),[]),_0x24cbc7(this,_0x1da996(0x77),[]),(this[_0x1da996(0x379)]=_0x4c673a,this['_docSkeletonManagerService']=_0x283c47,this['_collabCursorController']=_0x532a3d,this[_0x1da996(0xc0)]=_0x24f905,this['_themeService']=_0x418140,this[_0x1da996(0x366)]());}['_init'](){const _0x18aa5a=_0x291ba3,_0x169580=this['_context'][_0x18aa5a(0x137)],_0x196d0b=this[_0x18aa5a(0xa2)];this[_0x18aa5a(0x351)](_0x1fc547[_0x18aa5a(0x39f)]([this[_0x18aa5a(0x207)][_0x18aa5a(0x43d)](_0x169580),this['_themeService'][_0x18aa5a(0x186)]])['pipe'](_0x2eca2e[_0x18aa5a(0x21b)](([_0x34f21f,_0x5cfffd])=>({'skeleton':_0x196d0b['getSkeleton'](),'cursors':[..._0x34f21f['values']()][_0x18aa5a(0x3df)](_0x3f0911=>({..._0x3f0911,'color':_0x5cfffd[_0x3f0911['color']]}))})))[_0x18aa5a(0x3f2)](_0xa45e38=>{if(this['_removeCollabCursors'](),_0xa45e38){const {skeleton:_0x5de936,cursors:_0x11749f}=_0xa45e38;this['_updateCollabCursors'](_0x5de936,_0x11749f);}})),this[_0x18aa5a(0x2e4)](),this[_0x18aa5a(0x95)]();}[_0x291ba3(0xf0)](_0x574621,_0x251470){const _0x38b761=_0x291ba3,{scene:_0x59d589,mainComponent:_0x58e99}=this[_0x38b761(0x379)],_0x34cff6=_0x251470[_0x38b761(0x21b)](_0x181f2e=>new _0x1ac9b5(_0x181f2e,_0x59d589,_0x574621,_0x58e99));this['_cursorShapes']=_0x34cff6,this[_0x38b761(0x77)]=_0x251470;}[_0x291ba3(0x481)](){const _0x3db8a5=_0x291ba3;this[_0x3db8a5(0xe0)]();const {scene:_0x2d87ec,mainComponent:_0x5d0580}=this[_0x3db8a5(0x379)],_0x3ac1c2=this['_docSkeletonManagerService'][_0x3db8a5(0x28d)](),_0x32e08c=this['_cursors'][_0x3db8a5(0x21b)](_0x2ee3c2=>new _0x1ac9b5(_0x2ee3c2,_0x2d87ec,_0x3ac1c2,_0x5d0580));this[_0x3db8a5(0x399)]=_0x32e08c;}[_0x291ba3(0xe0)](){const _0x152ee0=_0x291ba3;this[_0x152ee0(0x399)][_0x152ee0(0xb2)](_0x3cb4ae=>_0x3cb4ae[_0x152ee0(0x35e)]()),this[_0x152ee0(0x399)]=[];}[_0x291ba3(0x95)](){const _0x49474f=_0x291ba3,_0x1f811e=[_0x21cef1[_0x49474f(0x230)]['id']];this[_0x49474f(0x351)](this[_0x49474f(0xc0)][_0x49474f(0x313)](_0x149127=>{const _0x4fc4b1=_0x49474f;_0x1f811e['includes'](_0x149127['id'])&&_0x149127[_0x4fc4b1(0x184)][_0x4fc4b1(0x137)]===this['_context'][_0x4fc4b1(0x137)]&&this[_0x4fc4b1(0x481)]();}));}[_0x291ba3(0x2e4)](){const _0x102cd2=_0x291ba3;this[_0x102cd2(0x351)](_0x2c7fed[_0x102cd2(0x1bd)](this[_0x102cd2(0x379)][_0x102cd2(0x3c8)][_0x102cd2(0x20a)])[_0x102cd2(0x256)](_0x2eca2e['filter'](_0x4b8c5b=>_0x4b8c5b[_0x102cd2(0x33c)]===_0x180dc9[_0x102cd2(0x298)][_0x102cd2(0x1bc)]),_0x2eca2e['throttleTime'](0x10))[_0x102cd2(0x3f2)](()=>{const _0xa9994d=_0x102cd2;this[_0xa9994d(0x481)]();}));}};_0x2d5972=_0x2557a9([_0x32a4e8(0x1,_0x2c7fed['Inject'](_0x7ac583[_0x291ba3(0x332)])),_0x32a4e8(0x2,_0x2c7fed[_0x291ba3(0x16b)](_0x47d88)),_0x32a4e8(0x3,_0x2c7fed[_0x291ba3(0x15a)]),_0x32a4e8(0x4,_0x2c7fed[_0x291ba3(0x16b)](_0x2c7fed[_0x291ba3(0x42f)]))],_0x2d5972);const _0xe6c732=0x1,_0x52413b=1.5;class _0x54131f extends _0x180dc9[_0x291ba3(0x498)]{constructor(_0x11cac9,_0x796d02){const _0x1a4433=_0x291ba3;super(_0x11cac9,_0x796d02),_0x24cbc7(this,_0x1a4433(0x46c)),_0x24cbc7(this,_0x1a4433(0x29c),!0x1),_0x24cbc7(this,_0x1a4433(0x19c)),_0x24cbc7(this,_0x1a4433(0x238),''),_0x24cbc7(this,_0x1a4433(0x17e),_0x1a4433(0x2d6)),_0x24cbc7(this,_0x1a4433(0x446)),(_0x796d02&&this[_0x1a4433(0x2c6)](_0x796d02),this[_0x1a4433(0x4a9)][_0x1a4433(0x150)](()=>this[_0x1a4433(0x2c6)]({'hovered':!0x0})),this[_0x1a4433(0x223)][_0x1a4433(0x150)](()=>this[_0x1a4433(0x2c6)]({'hovered':!0x1})));}[_0x291ba3(0x2c6)](_0x35675c){const _0x2d28af=_0x291ba3;var _0x495808,_0x1c64b0,_0x35bdef,_0x524d0a,_0x7936f6,_0x3004b3;this[_0x2d28af(0x46c)]=(_0x495808=_0x35675c[_0x2d28af(0x3c2)])!=null?_0x495808:this['_color'],this[_0x2d28af(0x29c)]=(_0x1c64b0=_0x35675c[_0x2d28af(0x2c0)])!=null?_0x1c64b0:this['_hovered'],this[_0x2d28af(0x19c)]=(_0x35bdef=_0x35675c['range'])!=null?_0x35bdef:this[_0x2d28af(0x19c)],this['_name']=(_0x524d0a=_0x35675c[_0x2d28af(0x2a6)])!=null?_0x524d0a:this[_0x2d28af(0x238)],this[_0x2d28af(0x17e)]=(_0x7936f6=_0x35675c[_0x2d28af(0x68)])!=null?_0x7936f6:this[_0x2d28af(0x17e)],this['_backgroundColor']=(_0x3004b3=_0x35675c[_0x2d28af(0xc4)])!=null?_0x3004b3:this[_0x2d28af(0x446)],this[_0x2d28af(0x1f4)]({'width':_0x35675c[_0x2d28af(0x259)],'height':_0x35675c[_0x2d28af(0x3bc)]});}[_0x291ba3(0xae)](_0x4e7f42){const _0x4eeb2a=_0x291ba3,{row:_0x4c2e71,column:_0x24807d}=_0x4e7f42;if(_0x4c2e71>=this['_range'][_0x4eeb2a(0x492)]&&_0x4c2e71<=this[_0x4eeb2a(0x19c)][_0x4eeb2a(0x20e)]&&_0x24807d>=this[_0x4eeb2a(0x19c)][_0x4eeb2a(0x321)]&&_0x24807d<=this['_range']['endColumn']){this[_0x4eeb2a(0x2c6)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}[_0x291ba3(0x314)](_0x2802af){return!0x1;}[_0x291ba3(0x268)](_0x459434){const _0x3ea3ff=_0x291ba3;_0x180dc9[_0x3ea3ff(0x2c2)][_0x3ea3ff(0x102)](_0x459434,{'width':this[_0x3ea3ff(0x259)],'height':this['height'],'strokeWidth':_0x52413b,'stroke':this[_0x3ea3ff(0x46c)],'evented':!0x1,'fill':this[_0x3ea3ff(0x446)]}),this[_0x3ea3ff(0x29c)]&&(_0x459434[_0x3ea3ff(0x24b)](),_0x459434[_0x3ea3ff(0x490)](0x1,0x0,0x0,0x1,this[_0x3ea3ff(0x259)],this[_0x3ea3ff(0x17e)]===_0x3ea3ff(0x2a2)?0x0:-_0x34a5d2),_0xcb27d6['drawWith'](_0x459434,{'text':this[_0x3ea3ff(0x238)],'color':this[_0x3ea3ff(0x46c)]}),_0x459434['restore']());}}var _0x501e5d=Object['defineProperty'],_0x266d1d=Object[_0x291ba3(0x373)],_0xcbb32f=(_0x26d599,_0x5a0241,_0x2ef03f,_0x392a29)=>{for(var _0x44abb3=_0x392a29>0x1?void 0x0:_0x392a29?_0x266d1d(_0x5a0241,_0x2ef03f):_0x5a0241,_0x3b6938=_0x26d599['length']-0x1,_0x3a9b59;_0x3b6938>=0x0;_0x3b6938--)(_0x3a9b59=_0x26d599[_0x3b6938])&&(_0x44abb3=(_0x392a29?_0x3a9b59(_0x5a0241,_0x2ef03f,_0x44abb3):_0x3a9b59(_0x44abb3))||_0x44abb3);return _0x392a29&&_0x44abb3&&_0x501e5d(_0x5a0241,_0x2ef03f,_0x44abb3),_0x44abb3;},_0x418f93=(_0x2ffc52,_0x1d4885)=>(_0x308794,_0x382ca8)=>_0x1d4885(_0x308794,_0x382ca8,_0x2ffc52);const _0x2116ef=0x1389;let _0x56e595=class extends _0x2c7fed['RxDisposable']{constructor(_0x5b1aa0,_0x1689d6,_0x1838a5,_0x443980){const _0x4172f8=_0x291ba3;super(),_0x24cbc7(this,'_cursors',new Set()),_0x24cbc7(this,_0x4172f8(0x15d),null),(this[_0x4172f8(0x379)]=_0x5b1aa0,this[_0x4172f8(0x34a)]=_0x1689d6,this[_0x4172f8(0x207)]=_0x1838a5,this[_0x4172f8(0x6e)]=_0x443980,this[_0x4172f8(0x366)]());}[_0x291ba3(0x366)](){const _0x42b4b1=_0x291ba3;this[_0x42b4b1(0x34a)][_0x42b4b1(0x168)][_0x42b4b1(0x256)](_0x2eca2e[_0x42b4b1(0x211)](this[_0x42b4b1(0xf7)]),_0x2eca2e[_0x42b4b1(0x1e2)](_0x2c252c=>{const _0x3fb844=_0x42b4b1;if(_0x2c252c){const _0x153fb7=_0x2c252c[_0x3fb844(0x6a)];return _0x1fc547[_0x3fb844(0x39f)](this[_0x3fb844(0x207)][_0x3fb844(0x43d)](this['_context']['unitId']),this[_0x3fb844(0x6e)][_0x3fb844(0x186)])['pipe'](_0x2eca2e[_0x3fb844(0x21b)](([_0xd744b6,_0x26bfe4])=>{const _0x159c97=_0x3fb844,_0x1f28fc=new Map();return _0xd744b6[_0x159c97(0xb2)]((_0x2f90f8,_0x4445c4)=>{const _0x5e308e=_0x159c97;if(_0x2f90f8[_0x5e308e(0x2bd)]===_0x153fb7){const _0x10e522={..._0x2f90f8};_0x10e522[_0x5e308e(0x3c2)]=_0x26bfe4[_0x2f90f8['color']],_0x1f28fc[_0x5e308e(0x250)](_0x4445c4,_0x10e522);}}),{'skeleton':_0x2c252c,'cursors':_0x1f28fc};}));}return _0x1fc547['of']({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x367ffe,cursors:_0x192262})=>{const _0x5548d3=_0x42b4b1;this[_0x5548d3(0xe0)](),_0x367ffe&&this[_0x5548d3(0xf0)](_0x367ffe,_0x192262);}),this[_0x42b4b1(0x34a)][_0x42b4b1(0x168)]['subscribe'](_0x1765bd=>{const _0x21fb1e=_0x42b4b1;if(_0x1765bd==null)return;const {skeleton:_0x1bef7c}=_0x1765bd,{scene:_0x298957}=this[_0x21fb1e(0x379)];_0x298957[_0x21fb1e(0x3ca)][_0x21fb1e(0x150)](_0x2c7fed[_0x21fb1e(0xa7)](_0x27a62f=>{const _0x13d6aa=_0x21fb1e;var _0x25fcea,_0x4429d6;const {offsetX:_0x470880,offsetY:_0x2ee81b}=_0x27a62f,{x:_0x46bd52,y:_0x2e7e8c}=_0x298957[_0x13d6aa(0x188)](_0x180dc9['Vector2'][_0x13d6aa(0x417)]([_0x470880,_0x2ee81b])),{scaleX:_0x2107a6,scaleY:_0x244558}=_0x298957[_0x13d6aa(0x438)](),_0x29d74c=_0x298957[_0x13d6aa(0x1ff)](_0x3f13ec[_0x13d6aa(0x4a1)][_0x13d6aa(0x327)]),_0x498c6f=_0x298957[_0x13d6aa(0x499)](_0x180dc9['Vector2']['FromArray']([_0x46bd52,_0x2e7e8c]),_0x29d74c),_0x83b5a9=_0x1bef7c[_0x13d6aa(0x40e)](_0x470880,_0x2ee81b,_0x2107a6,_0x244558,_0x498c6f);((_0x25fcea=this[_0x13d6aa(0x15d)])==null?void 0x0:_0x25fcea[_0x13d6aa(0x219)])===_0x83b5a9[_0x13d6aa(0x219)]&&((_0x4429d6=this[_0x13d6aa(0x15d)])==null?void 0x0:_0x4429d6[_0x13d6aa(0x37b)])===_0x83b5a9['row']||this['_cursors'][_0x13d6aa(0xb2)](_0x35f326=>{const _0x3ebfff=_0x13d6aa;_0x35f326[_0x3ebfff(0xae)](_0x83b5a9);});},0x64));});}[_0x291ba3(0xf0)](_0x31f27a,_0x5a44e5){const _0x4d9220=_0x291ba3;var _0x34ed4b;const _0x4001f5=(_0x34ed4b=this[_0x4d9220(0x34a)][_0x4d9220(0x2ca)]())==null?void 0x0:_0x34ed4b[_0x4d9220(0x43a)];if(!_0x4001f5)return;const _0x3a34a2=this[_0x4d9220(0x466)]();if(!_0x3a34a2)return;this[_0x4d9220(0x77)][_0x4d9220(0xb2)](_0x4a73e8=>{const _0x24ccbd=_0x4d9220;_0x4a73e8[_0x24ccbd(0x448)]();});const {scene:_0x5e8b9a}=_0x3a34a2,_0x25b731=_0x4a8764(Array[_0x4d9220(0x403)](_0x5a44e5[_0x4d9220(0x271)]()))[_0x4d9220(0x21b)](_0x579500=>{const _0x3e2ff1=_0x4d9220,{color:_0x55878c,range:_0x3ae6c7,name:_0x24abf0,selection:_0x2c4da9,sheetID:_0x1e9ed1}=_0x579500,{startColumn:_0x14b072,startRow:_0x277a14,endColumn:_0x55041c,endRow:_0xda1dce}=_0x3ae6c7,_0x3a86f8=_0x3f13ec[_0x3e2ff1(0x23f)](_0x277a14,_0x14b072,_0x5e8b9a,_0x4001f5),_0x1a0189=_0x3f13ec['getCoordByCell'](_0xda1dce,_0x55041c,_0x5e8b9a,_0x4001f5),{columnHeaderHeightAndMarginTop:_0x572984}=_0x4001f5,{startX:_0x5d2408,startY:_0x35ae8b}=_0x3a86f8,{endX:_0x115ece,endY:_0x33862a}=_0x1a0189,_0x431064=_0x115ece-_0x5d2408,_0x3734e3=_0x33862a-_0x35ae8b,_0x38837c={'labelPosition':_0x35ae8b-_0x572984>=_0x34a5d2?_0x3e2ff1(0x2d6):_0x3e2ff1(0x2a2),'sheetID':_0x1e9ed1,'range':_0x3ae6c7,'color':_0x55878c,'name':_0x24abf0,'selection':_0x2c4da9,'left':_0x5d2408,'top':_0x35ae8b,'width':_0x431064,'height':_0x3734e3,'evented':!0x1,'zIndex':_0x2116ef};return new _0x54131f(_0x24abf0,_0x38837c);});_0x5e8b9a[_0x4d9220(0x8d)](_0x25b731,_0xe6c732),this[_0x4d9220(0x77)]=new Set(_0x25b731);}[_0x291ba3(0xe0)](){const _0x2ef330=_0x291ba3;var _0x557577;(_0x557577=this[_0x2ef330(0x77)])==null||_0x557577['forEach'](_0x18989=>_0x18989[_0x2ef330(0x35e)]());}[_0x291ba3(0x466)](){const _0x2a5954=_0x291ba3;return _0x3f13ec['getSheetObject'](this[_0x2a5954(0x379)][_0x2a5954(0x179)],this[_0x2a5954(0x379)]);}};_0x56e595=_0xcbb32f([_0x418f93(0x1,_0x2c7fed[_0x291ba3(0x16b)](_0x3f13ec[_0x291ba3(0x3fb)])),_0x418f93(0x2,_0x2c7fed[_0x291ba3(0x16b)](_0x47d88)),_0x418f93(0x3,_0x2c7fed[_0x291ba3(0x16b)](_0x2c7fed[_0x291ba3(0x42f)]))],_0x56e595);function _0x4a8764(_0x49ff6b){const _0x45901d=_0x291ba3,_0x3555a2=new Map();return _0x49ff6b[_0x45901d(0xb2)](_0xdb352d=>{const _0x3791ec=_0x45901d;if(_0x3555a2[_0x3791ec(0x169)](_0xdb352d[_0x3791ec(0x204)])){const _0x4ece57=_0x3555a2[_0x3791ec(0x400)](_0xdb352d[_0x3791ec(0x204)]);_0x4ece57[_0x3791ec(0x2a6)]+=',\x20'+_0xdb352d[_0x3791ec(0x2a6)];}else _0x3555a2[_0x3791ec(0x250)](_0xdb352d[_0x3791ec(0x204)],_0xdb352d);}),Array['from'](_0x3555a2[_0x45901d(0x271)]());}var _0x513779=function(){const _0x5f29fd=_0x291ba3;return _0x513779=Object[_0x5f29fd(0xdc)]||function(_0x4937b3){const _0x51db1c=_0x5f29fd;for(var _0x532646,_0x4dcc45=0x1,_0x5dd634=arguments[_0x51db1c(0xbb)];_0x4dcc45<_0x5dd634;_0x4dcc45++){_0x532646=arguments[_0x4dcc45];for(var _0x38de18 in _0x532646)Object['prototype']['hasOwnProperty']['call'](_0x532646,_0x38de18)&&(_0x4937b3[_0x38de18]=_0x532646[_0x38de18]);}return _0x4937b3;},_0x513779['apply'](this,arguments);},_0x413aa7=function(_0x5c3abe,_0x4e5b64){const _0x1b2c74=_0x291ba3;var _0x211526={};for(var _0x1e0a86 in _0x5c3abe)Object[_0x1b2c74(0x91)][_0x1b2c74(0x1d0)][_0x1b2c74(0x384)](_0x5c3abe,_0x1e0a86)&&_0x4e5b64[_0x1b2c74(0x39e)](_0x1e0a86)<0x0&&(_0x211526[_0x1e0a86]=_0x5c3abe[_0x1e0a86]);if(_0x5c3abe!=null&&typeof Object[_0x1b2c74(0x148)]==_0x1b2c74(0x34d)){for(var _0x164bab=0x0,_0x1e0a86=Object[_0x1b2c74(0x148)](_0x5c3abe);_0x164bab<_0x1e0a86[_0x1b2c74(0xbb)];_0x164bab++)_0x4e5b64[_0x1b2c74(0x39e)](_0x1e0a86[_0x164bab])<0x0&&Object[_0x1b2c74(0x91)][_0x1b2c74(0x1a0)]['call'](_0x5c3abe,_0x1e0a86[_0x164bab])&&(_0x211526[_0x1e0a86[_0x164bab]]=_0x5c3abe[_0x1e0a86[_0x164bab]]);}return _0x211526;},_0x5079ab=_0x18f464[_0x291ba3(0x88)](function(_0xd1606e,_0x35a29c){const _0x283310=_0x291ba3;var _0x5c58be=_0xd1606e[_0x283310(0x3fe)],_0x4e2a53=_0xd1606e['id'],_0x446574=_0xd1606e[_0x283310(0x496)],_0x1ca785=_0xd1606e[_0x283310(0x215)],_0x3fd017=_0x413aa7(_0xd1606e,['icon','id',_0x283310(0x496),'extend']),_0x5a6a3b=_0x283310(0x2b8)[_0x283310(0x457)](_0x4e2a53,'\x20')[_0x283310(0x457)](_0x446574||'')[_0x283310(0x418)](),_0x2a731e=_0x18f464[_0x283310(0x375)]('_'[_0x283310(0x457)](_0x44e9c6()));return _0x3c663b(_0x5c58be,''[_0x283310(0x457)](_0x4e2a53),{'defIds':_0x5c58be[_0x283310(0x47a)],'idSuffix':_0x2a731e[_0x283310(0x398)]},_0x513779({'ref':_0x35a29c,'className':_0x5a6a3b},_0x3fd017),_0x1ca785);});function _0x3c663b(_0x1f8364,_0x5a164a,_0x1e52d7,_0x36088f,_0x5c1765){const _0x459a36=_0x291ba3;return _0x18f464[_0x459a36(0x1e8)](_0x1f8364['tag'],_0x513779(_0x513779({'key':_0x5a164a},_0x158d39(_0x1f8364,_0x1e52d7,_0x5c1765)),_0x36088f),(_0x4a8638(_0x1f8364,_0x1e52d7)[_0x459a36(0x16f)]||[])[_0x459a36(0x21b)](function(_0x502b1e,_0x2cf348){const _0x33d481=_0x459a36;return _0x3c663b(_0x502b1e,''[_0x33d481(0x457)](_0x5a164a,'-')['concat'](_0x1f8364[_0x33d481(0x2ed)],'-')[_0x33d481(0x457)](_0x2cf348),_0x1e52d7,void 0x0,_0x5c1765);}));}function _0x158d39(_0xbcebf5,_0x42516c,_0x1e6573){const _0x4cbd82=_0x291ba3;var _0x3cbe2e=_0x513779({},_0xbcebf5[_0x4cbd82(0xe4)]);_0x1e6573!=null&&_0x1e6573[_0x4cbd82(0x40d)]&&_0x3cbe2e[_0x4cbd82(0xe1)]===_0x4cbd82(0x40d)&&(_0x3cbe2e['fill']=_0x1e6573['colorChannel1']);var _0x217193=_0x42516c['defIds'];return!_0x217193||_0x217193[_0x4cbd82(0xbb)]===0x0||(_0xbcebf5['tag']===_0x4cbd82(0x1fe)&&_0x3cbe2e[_0x4cbd82(0x49e)]&&(_0x3cbe2e[_0x4cbd82(0x49e)]=_0x3cbe2e[_0x4cbd82(0x49e)]+_0x42516c[_0x4cbd82(0x37e)]),Object[_0x4cbd82(0x36f)](_0x3cbe2e)[_0x4cbd82(0xb2)](function(_0x538d63){const _0x5b4a7d=_0x4cbd82;var _0x3d4574=_0x538d63[0x0],_0x5a2653=_0x538d63[0x1];typeof _0x5a2653==_0x5b4a7d(0x3f7)&&(_0x3cbe2e[_0x3d4574]=_0x5a2653[_0x5b4a7d(0x46d)](/url\(#(.*)\)/,_0x5b4a7d(0xb3)[_0x5b4a7d(0x457)](_0x42516c[_0x5b4a7d(0x37e)],')')));})),_0x3cbe2e;}function _0x4a8638(_0x45ad17,_0x1c9197){const _0x739f21=_0x291ba3;var _0x4565b0,_0x390568=_0x1c9197['defIds'];return!_0x390568||_0x390568[_0x739f21(0xbb)]===0x0?_0x45ad17:_0x45ad17[_0x739f21(0x2ed)]===_0x739f21(0xec)&&(!((_0x4565b0=_0x45ad17['children'])===null||_0x4565b0===void 0x0)&&_0x4565b0[_0x739f21(0xbb)])?_0x513779(_0x513779({},_0x45ad17),{'children':_0x45ad17[_0x739f21(0x16f)]['map'](function(_0xb6ed3b){const _0x116ffa=_0x739f21;return typeof _0xb6ed3b[_0x116ffa(0xe4)]['id']==_0x116ffa(0x3f7)&&_0x390568&&_0x390568[_0x116ffa(0x39e)](_0xb6ed3b[_0x116ffa(0xe4)]['id'])>-0x1?_0x513779(_0x513779({},_0xb6ed3b),{'attrs':_0x513779(_0x513779({},_0xb6ed3b[_0x116ffa(0xe4)]),{'id':_0xb6ed3b['attrs']['id']+_0x1c9197[_0x116ffa(0x37e)]})}):_0xb6ed3b;})}):_0x45ad17;}function _0x44e9c6(){const _0x562437=_0x291ba3;return Math[_0x562437(0x26e)]()['toString'](0x24)[_0x562437(0xed)](0x2,0x8);}_0x5079ab[_0x291ba3(0x310)]='UniverIcon';var _0x526a20={'tag':_0x291ba3(0x1f8),'attrs':{'fill':_0x291ba3(0x1ec),'viewBox':'0\x200\x2016\x2016','width':'1em','height':_0x291ba3(0xf4)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-single_clip0_910_343)'},'children':[{'tag':_0x291ba3(0x449),'attrs':{'stroke':_0x291ba3(0x189),'d':_0x291ba3(0xb5),'strokeLinecap':'round','strokeLinejoin':_0x291ba3(0xfb),'strokeWidth':1.2}}]},{'tag':_0x291ba3(0xec),'attrs':{},'children':[{'tag':_0x291ba3(0x423),'attrs':{'id':_0x291ba3(0x12a)},'children':[{'tag':_0x291ba3(0x449),'attrs':{'fill':'#fff','d':_0x291ba3(0x3cb)}}]}]}],'defIds':[_0x291ba3(0x12a)]},_0x5eee6c=_0x18f464[_0x291ba3(0x88)](function(_0x57b830,_0x21c743){const _0x1be698=_0x291ba3;return _0x18f464['createElement'](_0x5079ab,Object[_0x1be698(0xdc)]({},_0x57b830,{'id':_0x1be698(0x21d),'ref':_0x21c743,'icon':_0x526a20}));});_0x5eee6c[_0x291ba3(0x310)]=_0x291ba3(0x18f);var _0x1c6981={'tag':_0x291ba3(0x1f8),'attrs':{'fill':'none','viewBox':_0x291ba3(0x260),'width':'1em','height':_0x291ba3(0xf4)},'children':[{'tag':'g','attrs':{'clipPath':_0x291ba3(0x255)},'children':[{'tag':_0x291ba3(0x449),'attrs':{'stroke':_0x291ba3(0x189),'d':_0x291ba3(0x233),'strokeLinecap':_0x291ba3(0xfb),'strokeLinejoin':_0x291ba3(0xfb),'strokeWidth':1.2}}]},{'tag':_0x291ba3(0xec),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':'on-line-single_clip0_910_349'},'children':[{'tag':'path','attrs':{'fill':'#fff','d':_0x291ba3(0x3cb),'transform':'translate(.97)'}}]}]}],'defIds':[_0x291ba3(0x273)]},_0x44b724=_0x18f464['forwardRef'](function(_0x3ac275,_0x453630){const _0x4eff99=_0x291ba3;return _0x18f464[_0x4eff99(0x1e8)](_0x5079ab,Object[_0x4eff99(0xdc)]({},_0x3ac275,{'id':_0x4eff99(0x177),'ref':_0x453630,'icon':_0x1c6981}));});_0x44b724['displayName']=_0x291ba3(0x36b);function _0x3618fd(_0x2fcbc8){const _0x4aaa6b=_0x291ba3;var _0xf3e3b8,_0x3fe12f,_0x3ec107='';if(typeof _0x2fcbc8==_0x4aaa6b(0x3f7)||typeof _0x2fcbc8==_0x4aaa6b(0xd9))_0x3ec107+=_0x2fcbc8;else{if(typeof _0x2fcbc8=='object'){if(Array[_0x4aaa6b(0x358)](_0x2fcbc8)){var _0x13eaaf=_0x2fcbc8[_0x4aaa6b(0xbb)];for(_0xf3e3b8=0x0;_0xf3e3b8<_0x13eaaf;_0xf3e3b8++)_0x2fcbc8[_0xf3e3b8]&&(_0x3fe12f=_0x3618fd(_0x2fcbc8[_0xf3e3b8]))&&(_0x3ec107&&(_0x3ec107+='\x20'),_0x3ec107+=_0x3fe12f);}else{for(_0x3fe12f in _0x2fcbc8)_0x2fcbc8[_0x3fe12f]&&(_0x3ec107&&(_0x3ec107+='\x20'),_0x3ec107+=_0x3fe12f);}}}return _0x3ec107;}function _0x42303b(){for(var _0xb237ad,_0x22d5e3,_0x3d9189=0x0,_0x24fce4='',_0xb641f8=arguments['length'];_0x3d9189<_0xb641f8;_0x3d9189++)(_0xb237ad=arguments[_0x3d9189])&&(_0x22d5e3=_0x3618fd(_0xb237ad))&&(_0x24fce4&&(_0x24fce4+='\x20'),_0x24fce4+=_0x22d5e3);return _0x24fce4;}const _0x4b4c5c={'onlineStatusIcon':'univer-online-status-icon','onlineStatusTitle':_0x291ba3(0x3a1),'onlineStatus':_0x291ba3(0x3b0),'online':'univer-online','offline':_0x291ba3(0x14d)};function _0x45e6da(_0x1fda2d){const _0x59fc4e=_0x291ba3;switch(_0x1fda2d){case _0x5b6195[_0x59fc4e(0x2cf)]:return'collabStatus.offline';case _0x5b6195[_0x59fc4e(0x426)]:return _0x59fc4e(0x241);case _0x5b6195[_0x59fc4e(0x458)]:return _0x59fc4e(0x3ec);case _0x5b6195[_0x59fc4e(0x180)]:return'collabStatus.notCollab';case _0x5b6195[_0x59fc4e(0xda)]:case _0x5b6195[_0x59fc4e(0x48f)]:case _0x5b6195[_0x59fc4e(0x1f7)]:return'collabStatus.syncing';case _0x5b6195['SYNCED']:return'collabStatus.synced';}}function _0x3603b1(_0x2afe92){const _0x51854b=_0x291ba3,{status$:_0x517037}=_0x2afe92,_0x3418c2=_0x4b403d[_0x51854b(0x333)](_0x517037,_0x5b6195[_0x51854b(0x180)]),_0x10d4e9=_0x2c7fed[_0x51854b(0x1e1)](_0x2c7fed[_0x51854b(0x1a7)]),_0x992728=_0x2c7fed[_0x51854b(0x1e1)](_0x594fe1['CollaborationSessionService']),_0x124254=_0x3418c2!==_0x5b6195[_0x51854b(0x2cf)],_0x58c067=_0x10d4e9['t'](_0x45e6da(_0x3418c2)),_0x2400c7=_0x42303b(_0x4b4c5c['onlineStatus'],{[_0x4b4c5c[_0x51854b(0x269)]]:_0x124254,[_0x4b4c5c['offline']]:!_0x124254}),_0x26f5c7=_0x124254?_0x18f464[_0x51854b(0x1e8)](_0x44b724,null):_0x18f464[_0x51854b(0x1e8)](_0x5eee6c,null),_0x120cc6=_0x18f464[_0x51854b(0x318)](()=>{const _0x403cf1=_0x51854b;_0x124254||_0x992728[_0x403cf1(0x3d7)]();},[_0x124254,_0x992728]);function _0x5f3d35(){const _0x34c5be=_0x51854b;return _0x18f464[_0x34c5be(0x1e8)](_0x34c5be(0x71),{'className':_0x2400c7,'onClick':_0x120cc6},_0x18f464[_0x34c5be(0x1e8)]('div',{'className':_0x4b4c5c[_0x34c5be(0x1aa)]},_0x26f5c7),_0x18f464[_0x34c5be(0x1e8)]('div',{'className':_0x4b4c5c[_0x34c5be(0x39b)]},_0x58c067));}return _0x124254?_0x5f3d35():_0x18f464['createElement'](_0x4d689c[_0x51854b(0x3dc)],{'title':_0x10d4e9['t']('collab-client.tooltip.reconnect')},_0x5f3d35());}var _0x1bcc55=Object[_0x291ba3(0x3e4)],_0x12a26c=Object[_0x291ba3(0x373)],_0x27207c=(_0x42d3f0,_0x513ff5,_0x139d6c,_0x93c2ec)=>{const _0x295751=_0x291ba3;for(var _0x24f36e=_0x93c2ec>0x1?void 0x0:_0x93c2ec?_0x12a26c(_0x513ff5,_0x139d6c):_0x513ff5,_0xf470e0=_0x42d3f0[_0x295751(0xbb)]-0x1,_0x5779fc;_0xf470e0>=0x0;_0xf470e0--)(_0x5779fc=_0x42d3f0[_0xf470e0])&&(_0x24f36e=(_0x93c2ec?_0x5779fc(_0x513ff5,_0x139d6c,_0x24f36e):_0x5779fc(_0x24f36e))||_0x24f36e);return _0x93c2ec&&_0x24f36e&&_0x1bcc55(_0x513ff5,_0x139d6c,_0x24f36e),_0x24f36e;},_0x5e989c=(_0x25faeb,_0xec88cb)=>(_0x1f0756,_0x519394)=>_0xec88cb(_0x1f0756,_0x519394,_0x25faeb);_0x594fe1[_0x291ba3(0x432)]=class extends _0x2c7fed['Disposable']{constructor(_0x5f2bf4,_0x363343,_0x56d0a1,_0x2b6c5a){const _0x4aab57=_0x291ba3;super(),_0x24cbc7(this,_0x4aab57(0x6d),new _0x1fc547[(_0x4aab57(0x467))](_0x5b6195[_0x4aab57(0x180)])),(this[_0x4aab57(0x79)]=_0x5f2bf4,this[_0x4aab57(0x9d)]=_0x363343,this['_injector']=_0x56d0a1,this[_0x4aab57(0x27f)]=_0x2b6c5a,this[_0x4aab57(0x346)](),this[_0x4aab57(0xa1)]());}['_initStatusListener'](){const _0x84492=_0x291ba3;this['disposeWithMe'](this[_0x84492(0x79)][_0x84492(0x43c)][_0x84492(0x256)](_0x1fc547['switchMap'](()=>{const _0x1933a3=_0x84492,_0x13951b=this[_0x1933a3(0x79)][_0x1933a3(0xa6)]();return _0x13951b?this[_0x1933a3(0x27f)][_0x1933a3(0x17f)](_0x13951b[_0x1933a3(0x11d)]()):_0x1fc547['of'](null);}),_0x1fc547[_0x84492(0x1e2)](_0x274cf1=>_0x274cf1?_0x274cf1['status$']:_0x1fc547['of'](_0x5b6195[_0x84492(0x180)])))['subscribe'](_0x314b55=>{const _0x19bc1f=_0x84492;this[_0x19bc1f(0x6d)]['next'](_0x314b55);}));}['_initStatusComponent'](){const _0x43d190=_0x291ba3;this[_0x43d190(0x351)](this[_0x43d190(0x9d)]['registerComponent'](_0x4b403d[_0x43d190(0x412)][_0x43d190(0x31a)],()=>_0x2c7fed[_0x43d190(0x461)](_0x6545f3({'status$':this['_status$'][_0x43d190(0x442)]()}),this[_0x43d190(0x10d)])));}},_0x594fe1['DesktopCollaborationStatusDisplayController']=_0x27207c([_0x5e989c(0x0,_0x2c7fed[_0x291ba3(0x27a)]),_0x5e989c(0x1,_0x4b403d[_0x291ba3(0x39d)]),_0x5e989c(0x2,_0x2c7fed['Inject'](_0x2c7fed[_0x291ba3(0x4a2)])),_0x5e989c(0x3,_0x2c7fed[_0x291ba3(0x16b)](_0x594fe1[_0x291ba3(0x1be)]))],_0x594fe1[_0x291ba3(0x432)]);function _0x6545f3(_0x5412dc){const {status$:_0x3b5dfb}=_0x5412dc;return function(){return _0x18f464['createElement'](_0x3603b1,{'status$':_0x3b5dfb});};}const _0x47e3f7=_0x2c7fed[_0x291ba3(0x33e)]('uni.network.url-service');var _0x28c600=Object[_0x291ba3(0x3e4)],_0x20ead4=Object['getOwnPropertyDescriptor'],_0x311fac=(_0x187596,_0x435c34,_0x187cef,_0x10c0bb)=>{const _0x518fc8=_0x291ba3;for(var _0x2fa654=_0x10c0bb>0x1?void 0x0:_0x10c0bb?_0x20ead4(_0x435c34,_0x187cef):_0x435c34,_0xe0563e=_0x187596[_0x518fc8(0xbb)]-0x1,_0x4e17d4;_0xe0563e>=0x0;_0xe0563e--)(_0x4e17d4=_0x187596[_0xe0563e])&&(_0x2fa654=(_0x10c0bb?_0x4e17d4(_0x435c34,_0x187cef,_0x2fa654):_0x4e17d4(_0x2fa654))||_0x2fa654);return _0x10c0bb&&_0x2fa654&&_0x28c600(_0x435c34,_0x187cef,_0x2fa654),_0x2fa654;},_0x2444ed=(_0x59c500,_0x3f0dd4)=>(_0x1a2b42,_0x50dff1)=>_0x3f0dd4(_0x1a2b42,_0x50dff1,_0x59c500);_0x594fe1['DataLoaderController']=class extends _0x2c7fed[_0x291ba3(0x2d5)]{constructor(_0x4389e3,_0x99b4c,_0x235280,_0x13db5a,_0x470453,_0x1d4ddb){const _0x31f833=_0x291ba3;super(),this['_urlService']=_0x4389e3,this[_0x31f833(0x139)]=_0x99b4c,this['_commandService']=_0x235280,this[_0x31f833(0x106)]=_0x13db5a,this[_0x31f833(0x24d)]=_0x470453,_0x1d4ddb?_0x1d4ddb==null||_0x1d4ddb[_0x31f833(0x3ad)]()['then'](()=>this[_0x31f833(0x366)]()):(this['_logService'][_0x31f833(0x1e9)]('[DataLoaderController]',_0x31f833(0x9f)),this['_init']());}async[_0x291ba3(0x366)](){const _0x2b50d6=_0x291ba3,_0x17b442=this['_urlService'][_0x2b50d6(0x45a)]('unit'),_0x4ecdb6=this[_0x2b50d6(0x483)][_0x2b50d6(0x45a)](_0x2b50d6(0x33c));if(!_0x17b442||!_0x4ecdb6){this[_0x2b50d6(0x139)]['debug'](_0x2b50d6(0x25d),_0x2b50d6(0x3e7));return;}switch(Number(_0x4ecdb6)){case _0x4cd70d[_0x2b50d6(0x2aa)]:{const _0x20ea77=await this[_0x2b50d6(0x20b)](_0x17b442);this[_0x2b50d6(0x3e8)](_0x20ea77);break;}case _0x4cd70d[_0x2b50d6(0x130)]:{await this[_0x2b50d6(0x1f3)](_0x17b442);break;}default:{this['_logService'][_0x2b50d6(0x41d)]('[DataLoaderController]',_0x2b50d6(0x198));break;}}}async[_0x291ba3(0x3e8)](_0x63e48d){const _0x5d2245=_0x291ba3;await this[_0x5d2245(0x12d)](_0x63e48d),_0x63e48d[_0x5d2245(0x415)][_0x5d2245(0x256)](_0x1fc547['takeUntil'](this[_0x5d2245(0xf7)]))[_0x5d2245(0x3f2)](_0xeb0028=>{const _0x3f7fca=_0x5d2245;_0xeb0028&&this[_0x3f7fca(0x208)](_0xeb0028);}),this[_0x5d2245(0x483)][_0x5d2245(0x3b7)][_0x5d2245(0x256)](_0x1fc547['takeUntil'](this[_0x5d2245(0xf7)]))['subscribe'](()=>this['_updateSubUnitFromURLParams'](_0x63e48d));}[_0x291ba3(0x208)](_0x20fa2c,_0x30047a=!0x1){const _0x373259=_0x291ba3,_0x2cf208=this['_urlService'][_0x373259(0x45a)](_0x373259(0x2a9));_0x20fa2c[_0x373259(0x3d8)]()!==_0x2cf208&&this[_0x373259(0x483)][_0x373259(0x42e)](_0x373259(0x2a9),_0x20fa2c[_0x373259(0x3d8)](),_0x30047a);}async['_updateSubUnitFromURLParams'](_0x541028){const _0xac578b=_0x291ba3;var _0x2ee61c;const _0x4f2341=this['_urlService'][_0xac578b(0x45a)](_0xac578b(0x2a9));if(!_0x4f2341||!_0x541028[_0xac578b(0x1ae)](_0x4f2341)){const _0x425a0a=_0x541028[_0xac578b(0x451)]()[0x0],_0x19bf52=_0x541028[_0xac578b(0x1ae)](_0x425a0a);if(!_0x19bf52)return;this[_0xac578b(0x208)](_0x19bf52,!0x0),await this['_commandService'][_0xac578b(0x341)](_0x244249[_0xac578b(0x32c)]['id'],{'unitId':_0x541028[_0xac578b(0x11d)](),'subUnitId':_0x425a0a});return;}((_0x2ee61c=_0x541028[_0xac578b(0x409)]())==null?void 0x0:_0x2ee61c[_0xac578b(0x3d8)]())!==_0x4f2341&&await this['_commandService'][_0xac578b(0x341)](_0x244249[_0xac578b(0x32c)]['id'],{'unitId':_0x541028[_0xac578b(0x11d)](),'subUnitId':_0x4f2341});}async[_0x291ba3(0x20b)](_0x1ce6f2){const _0xe83a03=_0x291ba3;let _0x109636=0x0;const _0x597f8a=await this[_0xe83a03(0x106)][_0xe83a03(0x158)](_0x1ce6f2);return _0x597f8a&&(_0x597f8a['awaitingChangeset']||_0x597f8a[_0xe83a03(0x1a9)][_0xe83a03(0xbb)]!==0x0)&&(_0x109636=_0x597f8a[_0xe83a03(0xa8)]),_0x109636===0x0&&this[_0xe83a03(0x139)][_0xe83a03(0x1e9)](_0xe83a03(0x25d),_0xe83a03(0x178)),this['_snapshotService'][_0xe83a03(0x3a3)](_0x1ce6f2,_0x109636);}async[_0x291ba3(0x1f3)](_0x51fbfa){const _0x1d492e=_0x291ba3;let _0x50c161=0x0;const _0xae207b=await this[_0x1d492e(0x106)][_0x1d492e(0x158)](_0x51fbfa);return _0xae207b&&(_0xae207b[_0x1d492e(0x3e0)]||_0xae207b[_0x1d492e(0x1a9)][_0x1d492e(0xbb)]!==0x0)&&(_0x50c161=_0xae207b[_0x1d492e(0xa8)]),_0x50c161===0x0&&this[_0x1d492e(0x139)]['debug'](_0x1d492e(0x25d),_0x1d492e(0x178)),this[_0x1d492e(0x24d)]['loadDoc'](_0x51fbfa,_0x50c161);}},_0x594fe1[_0x291ba3(0x340)]=_0x311fac([_0x2444ed(0x0,_0x47e3f7),_0x2444ed(0x1,_0x2c7fed[_0x291ba3(0x2fd)]),_0x2444ed(0x2,_0x2c7fed['ICommandService']),_0x2444ed(0x3,_0x2c7fed[_0x291ba3(0x16b)](_0x594fe1[_0x291ba3(0x378)])),_0x2444ed(0x4,_0x2c7fed[_0x291ba3(0x16b)](_0x2856d7[_0x291ba3(0x394)])),_0x2444ed(0x5,_0x2c7fed[_0x291ba3(0x425)](_0x214b0d['IRemoteInstanceService']))],_0x594fe1['DataLoaderController']);var _0x14f78c=Object[_0x291ba3(0x3e4)],_0x2888a7=Object[_0x291ba3(0x373)],_0x3d5547=(_0x14cec8,_0x46de64,_0x1b6bd0,_0x577cd4)=>{const _0x16eb8a=_0x291ba3;for(var _0x2495da=_0x577cd4>0x1?void 0x0:_0x577cd4?_0x2888a7(_0x46de64,_0x1b6bd0):_0x46de64,_0x37d385=_0x14cec8[_0x16eb8a(0xbb)]-0x1,_0x37809c;_0x37d385>=0x0;_0x37d385--)(_0x37809c=_0x14cec8[_0x37d385])&&(_0x2495da=(_0x577cd4?_0x37809c(_0x46de64,_0x1b6bd0,_0x2495da):_0x37809c(_0x2495da))||_0x2495da);return _0x577cd4&&_0x2495da&&_0x14f78c(_0x46de64,_0x1b6bd0,_0x2495da),_0x2495da;},_0x268554=(_0x2577f0,_0xb246b0)=>(_0x184418,_0x11056d)=>_0xb246b0(_0x184418,_0x11056d,_0x2577f0);const _0x1bc910=_0x291ba3(0x32f),_0x45252c=_0x291ba3(0x302);let _0x19c2c9=class extends _0x2c7fed['Disposable']{constructor(_0x4e9971,_0x41b69c){const _0x3c196e=_0x291ba3;super(),this['_univerInstanceService']=_0x4e9971,this['_configService']=_0x41b69c,this[_0x3c196e(0x366)]();}[_0x291ba3(0x366)](){const _0x2ef1e1=_0x291ba3;this[_0x2ef1e1(0x351)](this['_univerInstanceService'][_0x2ef1e1(0x43c)][_0x2ef1e1(0x3f2)](()=>{const _0x3df928=_0x2ef1e1;var _0x214c97;const _0x51997f=this[_0x3df928(0x79)][_0x3df928(0xa6)]();let _0x8b000f=(_0x214c97=this[_0x3df928(0x2e2)][_0x3df928(0x304)](_0x1bc910))!=null?_0x214c97:_0x45252c;_0x51997f instanceof _0x2c7fed['Workbook']&&(_0x8b000f=_0x51997f[_0x3df928(0x2a6)]),document[_0x3df928(0x2f7)]=_0x8b000f;}));}};_0x19c2c9=_0x3d5547([_0x268554(0x0,_0x2c7fed[_0x291ba3(0x27a)]),_0x268554(0x1,_0x2c7fed[_0x291ba3(0x309)])],_0x19c2c9);var _0x503f9d=Object[_0x291ba3(0x3e4)],_0x95abd6=Object[_0x291ba3(0x373)],_0x3519ff=(_0x30865e,_0x2ba075,_0x3e67d7,_0x26b469)=>{for(var _0x2ea2f6=_0x26b469>0x1?void 0x0:_0x26b469?_0x95abd6(_0x2ba075,_0x3e67d7):_0x2ba075,_0x13fc8a=_0x30865e['length']-0x1,_0x43e9eb;_0x13fc8a>=0x0;_0x13fc8a--)(_0x43e9eb=_0x30865e[_0x13fc8a])&&(_0x2ea2f6=(_0x26b469?_0x43e9eb(_0x2ba075,_0x3e67d7,_0x2ea2f6):_0x43e9eb(_0x2ea2f6))||_0x2ea2f6);return _0x26b469&&_0x2ea2f6&&_0x503f9d(_0x2ba075,_0x3e67d7,_0x2ea2f6),_0x2ea2f6;},_0x559668=(_0x4b9fce,_0x2438ec)=>(_0x18dbd4,_0x55fd21)=>_0x2438ec(_0x18dbd4,_0x55fd21,_0x4b9fce);let _0x1d743a=class{constructor(_0x12e0b3,_0x4a9e62,_0x203997){const _0x58eb6e=_0x291ba3;this[_0x58eb6e(0x2e2)]=_0x12e0b3,this[_0x58eb6e(0x2bb)]=_0x4a9e62,this[_0x58eb6e(0x191)]=_0x203997,this[_0x58eb6e(0x1d3)]();}[_0x291ba3(0x1d3)](){const _0x384ef3=_0x291ba3;this[_0x384ef3(0x2bb)]['registerHTTPInterceptor']({'priority':0x1,'interceptor':(_0x5a5cdb,_0x253a78)=>_0x253a78(_0x5a5cdb)[_0x384ef3(0x256)](_0x1fc547[_0x384ef3(0x155)](async _0x19bf5a=>{const _0x4ecb4e=_0x384ef3,_0x3ed286=_0x19bf5a;if(_0x3ed286[_0x4ecb4e(0x469)]===0x191&&window[_0x4ecb4e(0x1f2)](this[_0x4ecb4e(0x191)]['t'](_0x4ecb4e(0x2df)))){const _0x986881=window[_0x4ecb4e(0x2f6)](window[_0x4ecb4e(0x28c)][_0x4ecb4e(0x2f0)]);window['location'][_0x4ecb4e(0x2f0)]=this[_0x4ecb4e(0x3d1)]()+_0x4ecb4e(0x254)+_0x986881;}return _0x3ed286;}))});}['_getLoginPath'](){const _0x11a95a=_0x291ba3;var _0x28c116,_0x3b3eb1;const _0x26539f=this[_0x11a95a(0x2e2)]['getConfig'](_0x52fcac),_0x1cd042=this[_0x11a95a(0x2e2)][_0x11a95a(0x304)](_0x229401);return(_0x3b3eb1=(_0x28c116=_0x1cd042==null?void 0x0:_0x1cd042[_0x11a95a(0x468)])!=null?_0x28c116:_0x26539f)!=null?_0x3b3eb1:_0x18b7b1;}};_0x1d743a=_0x3519ff([_0x559668(0x0,_0x2c7fed[_0x291ba3(0x309)]),_0x559668(0x1,_0x2c7fed['Inject'](_0x4893ce[_0x291ba3(0x99)])),_0x559668(0x2,_0x2c7fed[_0x291ba3(0x16b)](_0x2c7fed[_0x291ba3(0x1a7)]))],_0x1d743a);var _0x5e8f44=Object[_0x291ba3(0x3e4)],_0x375008=Object['getOwnPropertyDescriptor'],_0x3c247c=(_0x29aef5,_0x4ee5d7,_0x1e6479,_0x1378e2)=>{const _0x168eaf=_0x291ba3;for(var _0x430a40=_0x1378e2>0x1?void 0x0:_0x1378e2?_0x375008(_0x4ee5d7,_0x1e6479):_0x4ee5d7,_0x1f5de0=_0x29aef5[_0x168eaf(0xbb)]-0x1,_0x26bce3;_0x1f5de0>=0x0;_0x1f5de0--)(_0x26bce3=_0x29aef5[_0x1f5de0])&&(_0x430a40=(_0x1378e2?_0x26bce3(_0x4ee5d7,_0x1e6479,_0x430a40):_0x26bce3(_0x430a40))||_0x430a40);return _0x1378e2&&_0x430a40&&_0x5e8f44(_0x4ee5d7,_0x1e6479,_0x430a40),_0x430a40;},_0x5e3316=(_0x370081,_0x297ae)=>(_0x16b61,_0x4820d8)=>_0x297ae(_0x16b61,_0x4820d8,_0x370081);const _0x54f2cb=_0x291ba3(0x395),_0x40d131=_0x291ba3(0x28b);_0x594fe1[_0x291ba3(0x3c6)]=class extends _0x2c7fed[_0x291ba3(0x2e7)]{constructor(_0x242f36,_0x531705){const _0x349687=_0x291ba3;super(),this[_0x349687(0x472)]=_0x242f36,this[_0x349687(0x2e2)]=_0x531705,this[_0x349687(0x69)]();}[_0x291ba3(0x69)](){const _0x58771a=_0x291ba3,_0x1b3d7c=this;this[_0x58771a(0x351)](this[_0x58771a(0x472)]['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':_0x4893ce[_0x58771a(0x478)]({'isMatch'(_0x5541e7){const _0x23b729=_0x58771a;var _0x5af42b;if(_0x5541e7[_0x23b729(0x3c7)]===_0x23b729(0x388)&&((_0x5af42b=_0x5541e7[_0x23b729(0x38b)])!=null&&_0x5af42b['body'])){const {objectID:_0x435334,objectType:_0x53fe90}=_0x5541e7['requestParams'][_0x23b729(0x470)]||{};if(!_0x435334||_0x53fe90===void 0x0)return!0x1;const _0x1aae1c=_0x1b3d7c[_0x23b729(0x484)]()+'/'+_0x53fe90+_0x23b729(0x209)+_0x435334+_0x23b729(0x47e);if(_0x5541e7['url']===_0x1aae1c)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x23bae2){const _0xae4956=_0x58771a;var _0x27b231;return(_0x27b231=_0x23bae2[_0xae4956(0x38b)])==null?void 0x0:_0x27b231[_0xae4956(0x470)];},'mergeParamsToRequest'(_0x53b691,_0x409a5b){const _0xb8d872=_0x58771a,_0x2091b8=_0x1b3d7c['_getAPIPrefixPath']()+_0xb8d872(0x197),_0xfdd35e=_0x53b691[_0xb8d872(0x2d8)]((_0x38dc0d,_0x4f18f3)=>{const {unitID:_0x1952e2,objectID:_0x5c3db7,objectType:_0x40670e,actions:_0x4a37ac}=_0x4f18f3;return _0x38dc0d[_0x1952e2]||(_0x38dc0d[_0x1952e2]={}),_0x38dc0d[_0x1952e2][_0x5c3db7]||(_0x38dc0d[_0x1952e2][_0x5c3db7]={'objectID':_0x5c3db7,'objectType':_0x40670e,'actions':[]}),_0x38dc0d[_0x1952e2][_0x5c3db7]['actions']['push'](..._0x4a37ac),_0x38dc0d;},{}),_0x45c07d=[];for(const _0x258267 in _0xfdd35e)for(const _0xbdcc69 in _0xfdd35e[_0x258267]){const {actions:_0x18d8b3,objectType:_0x629a7e}=_0xfdd35e[_0x258267][_0xbdcc69],_0x1a5179=[...new Set(_0x18d8b3)];_0x45c07d['push']({'unitID':_0x258267,'objectID':_0xbdcc69,'objectType':_0x629a7e,'actions':_0x1a5179});}return new _0x4893ce['HTTPRequest']('POST',_0x2091b8,{'headers':_0x409a5b['headers'],'withCredentials':_0x409a5b[_0xb8d872(0x1b9)],'responseType':_0x409a5b['responseType'],'body':{'requests':_0x45c07d}});}},{'distributeResult'(_0x2098d9,_0x4b6eb3){const _0x4b9e2c=_0x58771a,{objectActions:_0x26d303}=_0x2098d9;return _0x4b6eb3[_0x4b9e2c(0x21b)](_0x103c6c=>{const _0x2c7f68=_0x4b9e2c,{unitID:_0x188373,objectID:_0x3fb41d,actions:_0x500617}=_0x103c6c,_0x7e8462=_0x26d303['find'](_0xcfc40=>_0xcfc40[_0x2c7f68(0x2ea)]===_0x188373&&_0xcfc40[_0x2c7f68(0x1fc)]===_0x3fb41d),_0x1f13b1=_0x500617[_0x2c7f68(0x21b)](_0x315926=>_0x7e8462==null?void 0x0:_0x7e8462[_0x2c7f68(0x200)][_0x2c7f68(0x125)](_0x129775=>_0x129775['action']===_0x315926))[_0x2c7f68(0x1d1)](_0x5ef4c9=>!!_0x5ef4c9);return{'config':_0x103c6c,'result':{'actions':_0x1f13b1,'error':_0x2098d9[_0x2c7f68(0x41d)]}};});}})}));}[_0x291ba3(0x484)](){const _0x37f2b5=_0x291ba3;var _0x1a20bd,_0x4b0f13;const _0x21fb55=this[_0x37f2b5(0x2e2)][_0x37f2b5(0x304)](_0x54f2cb),_0x29863c=this[_0x37f2b5(0x2e2)][_0x37f2b5(0x304)](_0x229401);return(_0x4b0f13=(_0x1a20bd=_0x29863c==null?void 0x0:_0x29863c[_0x37f2b5(0x1dc)])!=null?_0x1a20bd:_0x21fb55)!=null?_0x4b0f13:_0x40d131;}async[_0x291ba3(0x17d)](_0x11a915){const _0x5a01ba=_0x291ba3,_0x2bebec=this[_0x5a01ba(0x484)]()+'/'+_0x11a915['objectType']+'/object';return(await this['_HTTPService'][_0x5a01ba(0x4a6)](_0x2bebec,{'body':_0x11a915}))[_0x5a01ba(0x470)][_0x5a01ba(0x1fc)]||'';}async[_0x291ba3(0x3bd)](_0x148861){const _0x3aab37=_0x291ba3,_0x5bd14e=this[_0x3aab37(0x484)]()+_0x3aab37(0x3d6);return(await this[_0x3aab37(0x472)]['post'](_0x5bd14e,{'body':_0x148861}))[_0x3aab37(0x470)][_0x3aab37(0x31e)];}async[_0x291ba3(0x43b)](_0x585ab3){const _0x611949=_0x291ba3,_0xeaa9ee=this[_0x611949(0x484)]()+'/'+_0x585ab3[_0x611949(0xb1)]+_0x611949(0x209)+_0x585ab3['objectID'];await this[_0x611949(0x472)][_0x611949(0x1eb)](_0xeaa9ee,{'body':_0x585ab3});}async[_0x291ba3(0x108)](_0x3267ff){const _0x2605de=_0x291ba3,_0x259456=this['_getAPIPrefixPath']()+'/'+_0x3267ff['objectType']+_0x2605de(0x209)+_0x3267ff[_0x2605de(0x1fc)]+_0x2605de(0x47e);return(await this['_HTTPService']['post'](_0x259456,{'body':_0x3267ff}))[_0x2605de(0x470)]['actions'];}async[_0x291ba3(0x152)](_0x56fa4c){const _0x3dc0e0=_0x291ba3,_0x39304c=this[_0x3dc0e0(0x484)]()+_0x3dc0e0(0x197);return(await this[_0x3dc0e0(0x472)]['post'](_0x39304c,{'body':{'requests':_0x56fa4c}}))['body'][_0x3dc0e0(0x293)];}async[_0x291ba3(0x459)](_0x3a0b6c){const _0x47c402=_0x291ba3,_0x3eb163=this[_0x47c402(0x484)]()+'/'+_0x3a0b6c[_0x47c402(0xb1)]+'/role',_0x4942fd=await this[_0x47c402(0x472)][_0x47c402(0x4a6)](_0x3eb163,{'body':_0x3a0b6c});return{'roles':_0x4942fd[_0x47c402(0x470)][_0x47c402(0xde)],'actions':_0x4942fd['body'][_0x47c402(0x200)]};}async[_0x291ba3(0xaa)](_0x2cc480){const _0x31b660=_0x291ba3,_0x211cb8=this[_0x31b660(0x484)]()+_0x31b660(0xfc);await this[_0x31b660(0x472)][_0x31b660(0x39c)](_0x211cb8,{'params':{'collaboratorID':_0x2cc480[_0x31b660(0x386)],'objectID':_0x2cc480[_0x31b660(0x1fc)],'unitID':_0x2cc480[_0x31b660(0x2ea)]}});}async[_0x291ba3(0x2b9)](_0x1e73a5){const _0x5ee192=_0x291ba3,_0x3ca6ce=this[_0x5ee192(0x484)]()+'/collaborator';await this[_0x5ee192(0x472)]['patch'](_0x3ca6ce,{'body':_0x1e73a5});}async[_0x291ba3(0x86)](_0x226d46){const _0x5ddef7=_0x291ba3,_0x170b4d=this[_0x5ddef7(0x484)]()+_0x5ddef7(0xfc);await this[_0x5ddef7(0x472)][_0x5ddef7(0x4a6)](_0x170b4d,{'body':_0x226d46});}async[_0x291ba3(0xfa)](_0x2e6cf7){const _0x4855b9=_0x291ba3,_0x1a38a7=this[_0x4855b9(0x484)]()+_0x4855b9(0xfc);return(await this[_0x4855b9(0x472)][_0x4855b9(0x400)](_0x1a38a7,{'params':{'objectID':_0x2e6cf7[_0x4855b9(0x1fc)],'unitID':_0x2e6cf7[_0x4855b9(0x2ea)]}}))['body']['collaborators'];}async[_0x291ba3(0x1bb)](_0x5c32fb){const _0x1fbe54=_0x291ba3,_0x178a5b=this[_0x1fbe54(0x484)]()+_0x1fbe54(0xfc);await this[_0x1fbe54(0x472)][_0x1fbe54(0x1eb)](_0x178a5b,{'body':_0x5c32fb});}},_0x594fe1['AuthzIoHttpService']=_0x3c247c([_0x5e3316(0x0,_0x2c7fed[_0x291ba3(0x16b)](_0x4893ce[_0x291ba3(0x99)])),_0x5e3316(0x1,_0x2c7fed['Inject'](_0x2c7fed['IConfigService']))],_0x594fe1['AuthzIoHttpService']);var _0x3e03f2=Object[_0x291ba3(0x3e4)],_0x5b8a91=Object['getOwnPropertyDescriptor'],_0x21906d=(_0xb6a741,_0x29d5b2,_0x213252,_0x4e74da)=>{const _0x41a687=_0x291ba3;for(var _0x66882e=_0x4e74da>0x1?void 0x0:_0x4e74da?_0x5b8a91(_0x29d5b2,_0x213252):_0x29d5b2,_0x4ecf4e=_0xb6a741[_0x41a687(0xbb)]-0x1,_0x531003;_0x4ecf4e>=0x0;_0x4ecf4e--)(_0x531003=_0xb6a741[_0x4ecf4e])&&(_0x66882e=(_0x4e74da?_0x531003(_0x29d5b2,_0x213252,_0x66882e):_0x531003(_0x66882e))||_0x66882e);return _0x4e74da&&_0x66882e&&_0x3e03f2(_0x29d5b2,_0x213252,_0x66882e),_0x66882e;},_0x3b716c=(_0x4c7650,_0x447a23)=>(_0x2349fb,_0x100aea)=>_0x447a23(_0x2349fb,_0x100aea,_0x4c7650);let _0x58fe3e=class{constructor(_0x2d6d01){const _0x3d2fbb=_0x291ba3;this[_0x3d2fbb(0x2bb)]=_0x2d6d01,this[_0x3d2fbb(0x222)]();}[_0x291ba3(0x222)](){const _0x4ff525=_0x291ba3;this[_0x4ff525(0x2bb)][_0x4ff525(0x3f3)]({'interceptor':(_0x36b4df,_0x3e7f94)=>{const _0x1c8299=_0x4ff525,_0x188cf1=_0x36b4df[_0x1c8299(0x488)],_0x43aa9d=_0x3cd408[_0x1c8299(0x284)]();return _0x43aa9d&&_0x188cf1['set']('x-univer-host',_0x43aa9d),_0x3e7f94(_0x36b4df);}});}};_0x58fe3e=_0x21906d([_0x3b716c(0x0,_0x2c7fed['Inject'](_0x4893ce['HTTPService']))],_0x58fe3e);var _0x21de1c=Object[_0x291ba3(0x3e4)],_0x5ce4f6=Object[_0x291ba3(0x373)],_0x291374=(_0x210712,_0x36e102,_0x5c20a7,_0x3b3cda)=>{const _0x1858d5=_0x291ba3;for(var _0x2eb671=_0x3b3cda>0x1?void 0x0:_0x3b3cda?_0x5ce4f6(_0x36e102,_0x5c20a7):_0x36e102,_0x243997=_0x210712[_0x1858d5(0xbb)]-0x1,_0x46fb25;_0x243997>=0x0;_0x243997--)(_0x46fb25=_0x210712[_0x243997])&&(_0x2eb671=(_0x3b3cda?_0x46fb25(_0x36e102,_0x5c20a7,_0x2eb671):_0x46fb25(_0x2eb671))||_0x2eb671);return _0x3b3cda&&_0x2eb671&&_0x21de1c(_0x36e102,_0x5c20a7,_0x2eb671),_0x2eb671;},_0x52249d=(_0x143edb,_0x5e465d)=>(_0x536132,_0x6467a7)=>_0x5e465d(_0x536132,_0x6467a7,_0x143edb);const _0x1b239b=[_0x291ba3(0xab),_0x291ba3(0x201),_0x291ba3(0x129),_0x291ba3(0x36e),'image/bmp'],_0x1b0f14=0x5*0x400*0x400,_0x201da9=_0x291ba3(0x3f8),_0x46508c=_0x291ba3(0x6c),_0x1a95b2=_0x291ba3(0x21c),_0x2b939c=_0x291ba3(0x21a);_0x594fe1[_0x291ba3(0x345)]=class{constructor(_0x278291,_0x4ebae0,_0x24ad16){const _0x192cc4=_0x291ba3;_0x24cbc7(this,_0x192cc4(0xef),0x0),_0x24cbc7(this,_0x192cc4(0x81),new _0x1fc547[(_0x192cc4(0x165))]()),_0x24cbc7(this,_0x192cc4(0x225),this['_change$']),_0x24cbc7(this,_0x192cc4(0x22a),new Map()),(this[_0x192cc4(0x2bb)]=_0x278291,this[_0x192cc4(0x2e2)]=_0x4ebae0,this['_univerInstanceService']=_0x24ad16);}[_0x291ba3(0x257)](_0x3dbcef){const _0xe4fdde=_0x291ba3;this[_0xe4fdde(0xef)]=_0x3dbcef,this[_0xe4fdde(0x81)][_0xe4fdde(0x2ce)](_0x3dbcef);}[_0x291ba3(0x450)](_0x1e3fdb,_0x2e50c9){const _0x4d8bc2=_0x291ba3;if(_0x2e50c9===_0x48fa70['ImageSourceType'][_0x4d8bc2(0x21f)]){const _0x1c2eb6=new Image();return _0x1c2eb6['src']=_0x1e3fdb,_0x1c2eb6;}return this[_0x4d8bc2(0x22a)]['get'](_0x1e3fdb);}[_0x291ba3(0x1b4)](_0x49be77,_0x168470,_0x3b3c35){const _0x32b1e4=_0x291ba3;_0x168470===_0x48fa70[_0x32b1e4(0x422)][_0x32b1e4(0x21f)]||_0x3b3c35==null||this[_0x32b1e4(0x22a)][_0x32b1e4(0x250)](_0x49be77,_0x3b3c35);}async[_0x291ba3(0x44d)](_0x12664e){const _0x1e9e08=_0x291ba3;try{const _0x11dc35=this[_0x1e9e08(0x410)](this['_getSignURL'](),''+_0x12664e),_0x122d0d=(await this[_0x1e9e08(0x2bb)][_0x1e9e08(0x400)](_0x11dc35))[_0x1e9e08(0x470)];if(_0x122d0d[_0x1e9e08(0x41d)]&&_0x122d0d[_0x1e9e08(0x41d)][_0x1e9e08(0x3b4)]===_0x2bbf52['OK']){const _0x4dcd6c=new URL(_0x122d0d['url'],this[_0x1e9e08(0x103)]())['toString']();return Promise['resolve'](_0x4dcd6c);}return Promise[_0x1e9e08(0xf9)](_0x122d0d[_0x1e9e08(0x41d)]);}catch(_0x2f7814){return Promise[_0x1e9e08(0xf9)](_0x2f7814);}}async[_0x291ba3(0x115)](_0x3f2656){const _0xa66327=_0x291ba3;let _0x3de089='';if(!_0x1b239b[_0xa66327(0x7a)](_0x3f2656['type']))return this[_0xa66327(0x44c)](),Promise[_0xa66327(0xf9)](new Error(_0x48fa70[_0xa66327(0x3a8)]['ERROR_IMAGE_TYPE']));if(_0x3f2656['size']>_0x1b0f14)return this[_0xa66327(0x44c)](),Promise[_0xa66327(0xf9)](new Error(_0x48fa70[_0xa66327(0x3a8)][_0xa66327(0x452)]));try{const _0x1be302=new FormData();_0x1be302['append'](_0xa66327(0x411),_0x3f2656);const _0x4af192=this[_0xa66327(0x79)]['getFocusedUnit'](),_0x4ecf50=_0x4af192==null?void 0x0:_0x4af192['getUnitId']();if(!_0x4ecf50)throw new Error(_0xa66327(0x193));const _0x386c30=this[_0xa66327(0x1fb)]()+'?size='+_0x3f2656[_0xa66327(0x3f6)][_0xa66327(0x161)]()+_0xa66327(0x23b)+_0x1c10fa[_0xa66327(0x475)]+_0xa66327(0x48b)+encodeURIComponent(_0x4ecf50),_0x2de774=await(await fetch(_0x386c30,{'method':_0xa66327(0x388),'body':_0x1be302}))['json']();if(typeof _0x2de774[_0xa66327(0x7d)]!=_0xa66327(0x3f7))return this[_0xa66327(0x44c)](),Promise[_0xa66327(0xf9)](new Error(_0x48fa70['ImageUploadStatusType']['ERROR_IMAGE']));_0x3de089=_0x2de774['FileId'];}catch{return this[_0xa66327(0x44c)](),Promise[_0xa66327(0xf9)](new Error(_0x48fa70['ImageUploadStatusType'][_0xa66327(0x166)]));}return new Promise((_0x59a907,_0x13a22f)=>{const _0x397902=_0xa66327,_0x42db11=new FileReader();_0x42db11[_0x397902(0x352)](_0x3f2656),_0x42db11[_0x397902(0xfd)]=_0x842c4a=>{const _0x117188=_0x397902;var _0x4ba400;const _0x753605=(_0x4ba400=_0x842c4a[_0x117188(0x1b1)])==null?void 0x0:_0x4ba400[_0x117188(0x218)];if(_0x753605==null){this['_decreaseWaiting'](),_0x13a22f(new Error(_0x48fa70[_0x117188(0x3a8)][_0x117188(0x166)]));return;}const _0x1c0436=_0x2c7fed[_0x117188(0xa9)]['generateRandomId'](0x6);_0x59a907({'imageId':_0x1c0436,'imageSourceType':_0x48fa70['ImageSourceType'][_0x117188(0x430)],'source':_0x3de089,'base64Cache':_0x753605,'status':_0x48fa70[_0x117188(0x3a8)]['SUCCUSS']}),this['_decreaseWaiting']();};});}['_getUploadFileURL'](){const _0x3b2ac0=_0x291ba3;var _0x150f2a,_0x316ca2;const _0x53d7c9=this[_0x3b2ac0(0x2e2)][_0x3b2ac0(0x304)](_0x201da9),_0x5ef0b7=this[_0x3b2ac0(0x2e2)][_0x3b2ac0(0x304)](_0x229401);return(_0x316ca2=(_0x150f2a=_0x5ef0b7==null?void 0x0:_0x5ef0b7[_0x3b2ac0(0x49b)])!=null?_0x150f2a:_0x53d7c9)!=null?_0x316ca2:_0x46508c;}[_0x291ba3(0x381)](){const _0x5586f1=_0x291ba3;var _0x2e3b06,_0x47d6fb;const _0x2e0a4b=this['_configService'][_0x5586f1(0x304)](_0x1a95b2),_0x4fe1ea=this[_0x5586f1(0x2e2)]['getConfig'](_0x229401);return(_0x47d6fb=(_0x2e3b06=_0x4fe1ea==null?void 0x0:_0x4fe1ea['signUrlServerUrl'])!=null?_0x2e3b06:_0x2e0a4b)!=null?_0x47d6fb:_0x2b939c;}['_getDownloadEndpointURL'](){const _0x560ae2=_0x291ba3;var _0x7e9649;const _0x5deb2d=this[_0x560ae2(0x2e2)][_0x560ae2(0x304)](_0x229401);return(_0x7e9649=_0x5deb2d==null?void 0x0:_0x5deb2d[_0x560ae2(0x78)])!=null?_0x7e9649:location[_0x560ae2(0x9a)];}[_0x291ba3(0x410)](_0x449049,_0x10e107){const _0x5d25c2=_0x291ba3;return _0x449049['replace'](_0x5d25c2(0x1d4),_0x10e107);}[_0x291ba3(0x44c)](){const _0x106473=_0x291ba3;this[_0x106473(0xef)]-=0x1,this[_0x106473(0x81)][_0x106473(0x2ce)](this[_0x106473(0xef)]);}},_0x594fe1[_0x291ba3(0x345)]=_0x291374([_0x52249d(0x0,_0x2c7fed[_0x291ba3(0x16b)](_0x4893ce[_0x291ba3(0x99)])),_0x52249d(0x1,_0x2c7fed[_0x291ba3(0x309)]),_0x52249d(0x2,_0x2c7fed[_0x291ba3(0x16b)](_0x2c7fed[_0x291ba3(0x27a)]))],_0x594fe1[_0x291ba3(0x345)]);var _0x20e8a4=Object['defineProperty'],_0x13026d=Object[_0x291ba3(0x373)],_0x8c420d=(_0x35981f,_0x238df8,_0x1f76f7,_0x1a3970)=>{const _0xcea19=_0x291ba3;for(var _0x295af0=_0x1a3970>0x1?void 0x0:_0x1a3970?_0x13026d(_0x238df8,_0x1f76f7):_0x238df8,_0x55726f=_0x35981f[_0xcea19(0xbb)]-0x1,_0x120f85;_0x55726f>=0x0;_0x55726f--)(_0x120f85=_0x35981f[_0x55726f])&&(_0x295af0=(_0x1a3970?_0x120f85(_0x238df8,_0x1f76f7,_0x295af0):_0x120f85(_0x295af0))||_0x295af0);return _0x1a3970&&_0x295af0&&_0x20e8a4(_0x238df8,_0x1f76f7,_0x295af0),_0x295af0;},_0x158fe5=(_0x236c51,_0x19a3b6)=>(_0x1c138f,_0x234c70)=>_0x19a3b6(_0x1c138f,_0x234c70,_0x236c51);let _0x21a916=class extends _0x2c7fed['RxDisposable']{constructor(_0xcd5117,_0x3f8ad0,_0x5b8ff4,_0x14ce77,_0x824d25){const _0x495c82=_0x291ba3;super(),this[_0x495c82(0x10d)]=_0xcd5117,this[_0x495c82(0x79)]=_0x3f8ad0,this[_0x495c82(0x2d4)]=_0x5b8ff4,this[_0x495c82(0x47f)]=_0x14ce77,this[_0x495c82(0x277)]=_0x824d25,this[_0x495c82(0x264)](),this[_0x495c82(0x245)]();}[_0x291ba3(0x245)](){const _0x49a534=_0x291ba3,_0x17acf9=async _0x469ff9=>{const _0x594b25=_0x2d25;(await this[_0x594b25(0x47f)][_0x594b25(0x22d)](_0x469ff9))[_0x594b25(0x272)][_0x594b25(0x256)](_0x2eca2e[_0x594b25(0x1d1)](_0x1ec6c0=>_0x1ec6c0['eventID']===_0x2856d7[_0x594b25(0x93)]['SHOULD_CLOSE_CONN']),_0x2eca2e[_0x594b25(0x211)](this[_0x594b25(0xf7)]))[_0x594b25(0x3f2)](_0x317179=>{const _0x45d11c=_0x594b25,_0x309913=_0x317179,{reason:_0x336000}=_0x309913[_0x45d11c(0x253)];this[_0x45d11c(0x10d)][_0x45d11c(0x400)](_0x4b403d[_0x45d11c(0x2f2)])[_0x45d11c(0x116)]({'type':_0x4d689c[_0x45d11c(0x3be)]['Error'],'content':this[_0x45d11c(0x277)]['t'](_0x45d11c(0x436))+'('+_0x336000+')'}),this[_0x45d11c(0x2d4)]['updatePermissionPoint'](new _0x244249[(_0x45d11c(0x2e9))](_0x469ff9)['id'],!0x1),this[_0x45d11c(0x47f)][_0x45d11c(0x105)](_0x469ff9);});};_0x1fc547[_0x49a534(0x94)](this['_univerInstanceService'][_0x49a534(0x112)](_0x2c7fed[_0x49a534(0xcb)][_0x49a534(0x2aa)]),this[_0x49a534(0x79)][_0x49a534(0x112)](_0x2c7fed['UniverInstanceType'][_0x49a534(0x130)]))[_0x49a534(0x256)](_0x2eca2e[_0x49a534(0x21b)](_0x1bdb86=>_0x1bdb86[_0x49a534(0x11d)]()),_0x2eca2e[_0x49a534(0x1d1)](_0x5e7738=>!_0x2c7fed[_0x49a534(0x407)](_0x5e7738)),_0x2eca2e['takeUntil'](this['dispose$']))['subscribe'](_0x2c3df0=>{_0x17acf9(_0x2c3df0);});}[_0x291ba3(0x264)](){const _0x5466f7=_0x291ba3,_0x50483c=async _0x3608b4=>{const _0x3728a1=_0x2d25;(await this[_0x3728a1(0x47f)]['requireSession'](_0x3608b4))[_0x3728a1(0x272)][_0x3728a1(0x256)](_0x2eca2e[_0x3728a1(0x1d1)](_0x4d2acf=>_0x4d2acf[_0x3728a1(0x243)]===_0x2856d7['CollaborationEvent'][_0x3728a1(0xbf)]),_0x2eca2e[_0x3728a1(0x211)](this['dispose$']))[_0x3728a1(0x3f2)](_0x3abb10=>{const _0x5298fb=_0x3728a1,_0x5cc8e6=_0x3abb10,{objectId:_0x1481ef}=_0x5cc8e6[_0x5298fb(0x253)],_0x583f14=this['_injector'][_0x5298fb(0x400)](_0x3f13ec['SheetPermissionInitController']);_0x1481ef===_0x3608b4?_0x583f14[_0x5298fb(0x14c)](_0x3608b4):_0x583f14['refreshPermission'](_0x3608b4,_0x1481ef);});};_0x1fc547[_0x5466f7(0x94)](this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x2c7fed['UniverInstanceType'][_0x5466f7(0x2aa)]),this[_0x5466f7(0x79)][_0x5466f7(0x112)](_0x2c7fed[_0x5466f7(0xcb)][_0x5466f7(0x130)]))['pipe'](_0x2eca2e[_0x5466f7(0x21b)](_0x44b026=>_0x44b026[_0x5466f7(0x11d)]()),_0x2eca2e['filter'](_0x445e84=>!_0x2c7fed[_0x5466f7(0x407)](_0x445e84)),_0x2eca2e[_0x5466f7(0x211)](this[_0x5466f7(0xf7)]))[_0x5466f7(0x3f2)](_0x3111a6=>{_0x50483c(_0x3111a6);});}};_0x21a916=_0x8c420d([_0x158fe5(0x0,_0x2c7fed[_0x291ba3(0x16b)](_0x2c7fed[_0x291ba3(0x4a2)])),_0x158fe5(0x1,_0x2c7fed[_0x291ba3(0x27a)]),_0x158fe5(0x2,_0x2c7fed[_0x291ba3(0x44b)]),_0x158fe5(0x3,_0x2c7fed[_0x291ba3(0x16b)](_0x594fe1[_0x291ba3(0xeb)])),_0x158fe5(0x4,_0x2c7fed[_0x291ba3(0x16b)](_0x2c7fed[_0x291ba3(0x1a7)]))],_0x21a916);var _0x48d406=Object[_0x291ba3(0x3e4)],_0x46a0f=Object[_0x291ba3(0x373)],_0x52b411=(_0x3da9e2,_0x713417,_0x5096e1,_0x29b176)=>{const _0x86e61c=_0x291ba3;for(var _0x2a98af=_0x29b176>0x1?void 0x0:_0x29b176?_0x46a0f(_0x713417,_0x5096e1):_0x713417,_0x4d9d5a=_0x3da9e2[_0x86e61c(0xbb)]-0x1,_0x1576fc;_0x4d9d5a>=0x0;_0x4d9d5a--)(_0x1576fc=_0x3da9e2[_0x4d9d5a])&&(_0x2a98af=(_0x29b176?_0x1576fc(_0x713417,_0x5096e1,_0x2a98af):_0x1576fc(_0x2a98af))||_0x2a98af);return _0x29b176&&_0x2a98af&&_0x48d406(_0x713417,_0x5096e1,_0x2a98af),_0x2a98af;},_0x476027=(_0x19abc5,_0x26d0e3)=>(_0x2ea956,_0x5c56e6)=>_0x26d0e3(_0x2ea956,_0x5c56e6,_0x19abc5);_0x594fe1[_0x291ba3(0x226)]=class{constructor(_0x34d0bc,_0x450861){const _0x50cd0b=_0x291ba3;this[_0x50cd0b(0x2e2)]=_0x34d0bc,this[_0x50cd0b(0x2bb)]=_0x450861;}async[_0x291ba3(0x1e4)](_0x59b267,_0x53c7f9){const _0x2b3e63=_0x291ba3;var _0x181510;const {unitID:_0x3e431f,type:_0x3017f5,revision:_0x4ecc18=0x0}=_0x53c7f9,_0xa6173f=this[_0x2b3e63(0x3fa)]()+'/'+_0x3017f5+'/unit/'+_0x3e431f+_0x2b3e63(0x2d2)+_0x4ecc18,_0x1a9142=(await this[_0x2b3e63(0x2bb)][_0x2b3e63(0x400)](_0xa6173f))[_0x2b3e63(0x470)],_0x421fc2=(_0x181510=_0x1a9142['snapshot'])==null?void 0x0:_0x181510[_0x2b3e63(0x1f0)];if(_0x421fc2){const _0x3f98ef=_0x421fc2==null?void 0x0:_0x421fc2[_0x2b3e63(0xb6)],_0x2fb4d5=_0x2856d7[_0x2b3e63(0x1c8)][_0x2b3e63(0x3de)](_0x2856d7[_0x2b3e63(0x23e)](_0x3f98ef));_0x421fc2[_0x2b3e63(0xb6)]=_0x2fb4d5,Object[_0x2b3e63(0x36f)](_0x421fc2[_0x2b3e63(0x43e)])[_0x2b3e63(0xb2)](([,_0x109d06])=>{const _0x415c82=_0x2b3e63,_0x24df03=_0x109d06[_0x415c82(0xb6)],_0x4f4cd7=_0x2856d7[_0x415c82(0x1c8)][_0x415c82(0x3de)](_0x2856d7[_0x415c82(0x23e)](_0x24df03));_0x109d06[_0x415c82(0xb6)]=_0x4f4cd7;});}return _0x1a9142;}async[_0x291ba3(0x36c)](_0x47d20b,_0x1c34c6){const _0x14cc3e=_0x291ba3,{unitID:_0x5c219f,type:_0x5ad923,blockID:_0x285e2f}=_0x1c34c6,_0x13b859=this[_0x14cc3e(0x443)]()+'/'+_0x5ad923+_0x14cc3e(0xc5)+_0x5c219f+_0x14cc3e(0x15f)+_0x285e2f;return(await this['_httpService']['get'](_0x13b859))[_0x14cc3e(0x470)];}async['getDeserializedSheetBlock'](_0x2882c1,_0x33dbd1){const _0x254fd7=_0x291ba3,{unitID:_0x525c36,type:_0x1986a7,blockID:_0x4ab1d2}=_0x33dbd1,_0x590194=this[_0x254fd7(0x443)]()+_0x254fd7(0x15f)+_0x1986a7+_0x254fd7(0xc5)+_0x525c36+_0x254fd7(0x15f)+_0x4ab1d2;return(await this['_httpService'][_0x254fd7(0x400)](_0x590194))[_0x254fd7(0x470)];}async['fetchMissingChangesets'](_0x36d326,_0x443e4e){const _0x2c4965=_0x291ba3,{unitID:_0x23d8c7,type:_0xfd0bdb,from:_0xd694ee,to:_0x5b2221}=_0x443e4e,_0x2f8bd5=this[_0x2c4965(0x443)]()+'/'+_0xfd0bdb+'/unit/'+_0x23d8c7+_0x2c4965(0x16c)+_0xd694ee+_0x2c4965(0x12c)+_0x5b2221;return(await this[_0x2c4965(0x2bb)][_0x2c4965(0x400)](_0x2f8bd5))[_0x2c4965(0x470)];}[_0x291ba3(0x3fa)](){const _0x1b8c65=_0x291ba3;var _0x4e9a6c;return(_0x4e9a6c=this[_0x1b8c65(0x2e2)]['getConfig'](_0x5615fb))!=null?_0x4e9a6c:this['_getAPIPrefix']();}[_0x291ba3(0x443)](){const _0x1f7d34=_0x291ba3;var _0x3067da,_0x356452;const _0x552fbe=this['_configService']['getConfig'](_0x2e8c6c),_0x938458=this[_0x1f7d34(0x2e2)]['getConfig'](_0x229401);return(_0x356452=(_0x3067da=_0x938458==null?void 0x0:_0x938458[_0x1f7d34(0x4a8)])!=null?_0x3067da:_0x552fbe)!=null?_0x356452:_0x5dad33;}async[_0x291ba3(0x240)](_0xa4eced,_0x1ab9e6){const _0xe6464b=_0x291ba3,_0x5123a9=_0xe6464b(0x1fd)+_0x1ab9e6[_0xe6464b(0x33c)]+'/unit/'+_0x1ab9e6[_0xe6464b(0x2ea)]+_0xe6464b(0x2f5);return(await this[_0xe6464b(0x2bb)]['get'](_0x5123a9,{'params':{'resourceId':JSON['stringify'](_0x1ab9e6[_0xe6464b(0x35b)])}}))['body'];}[_0x291ba3(0x3e9)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x291ba3(0x45c)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x291ba3(0x2bc)](){const _0x1b141f=_0x291ba3;throw new Error(_0x1b141f(0x3aa));}['copyFileMeta'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x291ba3(0x280)](){const _0x1e584f=_0x291ba3;throw new Error(_0x1e584f(0x3aa));}},_0x594fe1[_0x291ba3(0x226)]=_0x52b411([_0x476027(0x0,_0x2c7fed[_0x291ba3(0x309)]),_0x476027(0x1,_0x2c7fed[_0x291ba3(0x16b)](_0x4893ce[_0x291ba3(0x99)]))],_0x594fe1['SnapshotServerOverHTTPService']);var _0x4c71f5=Object[_0x291ba3(0x3e4)],_0x336fbd=Object[_0x291ba3(0x373)],_0x1d418b=(_0x5e214b,_0x1daccf,_0x254a4e,_0x232231)=>{const _0x171aad=_0x291ba3;for(var _0x509f95=_0x232231>0x1?void 0x0:_0x232231?_0x336fbd(_0x1daccf,_0x254a4e):_0x1daccf,_0x3fb44d=_0x5e214b[_0x171aad(0xbb)]-0x1,_0x4adb6b;_0x3fb44d>=0x0;_0x3fb44d--)(_0x4adb6b=_0x5e214b[_0x3fb44d])&&(_0x509f95=(_0x232231?_0x4adb6b(_0x1daccf,_0x254a4e,_0x509f95):_0x4adb6b(_0x509f95))||_0x509f95);return _0x232231&&_0x509f95&&_0x4c71f5(_0x1daccf,_0x254a4e,_0x509f95),_0x509f95;},_0x228c44=(_0x102fe4,_0xd32d7)=>(_0x1a7ca1,_0x58aeb0)=>_0xd32d7(_0x1a7ca1,_0x58aeb0,_0x102fe4);let _0x2e9e74=class extends _0x2c7fed[_0x291ba3(0xf2)]{constructor(_0x702e82,_0x26df0a,_0x9a6ea6,_0x2a9de1,_0x4218e7){const _0x229eca=_0x291ba3;super(_0x702e82,_0x26df0a,_0x9a6ea6),this[_0x229eca(0xbd)]=_0x2a9de1,this[_0x229eca(0x139)]=_0x4218e7;}['transformUndoRedo'](_0x2603e7,_0x2fe06f){const _0x2e692d=_0x291ba3,_0x1e52c6=this[_0x2e692d(0x401)](_0x2603e7);if(_0x1e52c6)try{const _0x2e7b07=this[_0x2e692d(0x370)](_0x1e52c6,_0x2fe06f);this[_0x2e692d(0xf5)](_0x2603e7,_0x2e7b07);}catch(_0x21c017){this[_0x2e692d(0x139)][_0x2e692d(0x41d)](_0x2e692d(0x14b),_0x21c017),this['_clearUndo'](_0x2603e7);}const _0x9cb764=this['_getRedoStack'](_0x2603e7);if(_0x9cb764)try{const _0x3b15f4=this[_0x2e692d(0x370)](_0x9cb764,_0x2fe06f);this['_substituteRedoStack'](_0x2603e7,_0x3b15f4);}catch(_0x1093a1){this[_0x2e692d(0x139)]['error'](_0x1093a1),this[_0x2e692d(0xe5)](_0x2603e7);}}[_0x291ba3(0x295)](_0x4a117b){const _0x9d4b2a=_0x291ba3,_0xa0dff2=this['_getUndoStack'](_0x4a117b);_0xa0dff2&&(_0xa0dff2[_0x9d4b2a(0xbb)]=0x0,this[_0x9d4b2a(0x387)]());}['_clearRedo'](_0x38bb25){const _0x4e30c2=_0x291ba3,_0x381987=this[_0x4e30c2(0x328)](_0x38bb25);_0x381987&&(_0x381987['length']=0x0,this[_0x4e30c2(0x387)]());}[_0x291ba3(0xf5)](_0x303d97,_0x1bf0bd){const _0x237f1b=_0x291ba3;this[_0x237f1b(0x92)]['set'](_0x303d97,_0x1bf0bd),this[_0x237f1b(0x387)]();}[_0x291ba3(0x73)](_0x2c0ec2,_0x486819){const _0x36360e=_0x291ba3;this[_0x36360e(0x18b)]['set'](_0x2c0ec2,_0x486819),this['_updateStatus']();}[_0x291ba3(0x370)](_0x11b5eb,_0x4cdecf){const _0x6ef308=_0x291ba3,_0x4f2735=[];let _0x32a8c2=_0x4cdecf,_0x4c1501=_0x4cdecf;for(let _0x479f3c=_0x11b5eb[_0x6ef308(0xbb)]-0x1;_0x479f3c>=0x0;_0x479f3c--){const {unitID:_0x588d9d,undoMutations:_0x2d644e,redoMutations:_0x1f71d8}=_0x11b5eb[_0x479f3c],_0x484f41=this[_0x6ef308(0xbd)][_0x6ef308(0x3b8)](_0x32a8c2,_0x2d644e),_0x1fbddc=this[_0x6ef308(0xbd)][_0x6ef308(0x3b8)](_0x4c1501,_0x1f71d8);if(_0x2856d7[_0x6ef308(0x27e)](_0x484f41)||_0x2856d7[_0x6ef308(0x27e)](_0x1fbddc)){this[_0x6ef308(0x139)][_0x6ef308(0x41d)](_0x6ef308(0x14b),_0x6ef308(0xcd),_0x484f41,_0x1fbddc);break;}_0x32a8c2=_0x484f41[_0x6ef308(0xff)],_0x4c1501=_0x1fbddc['c1Prime'],_0x4f2735[_0x6ef308(0x44a)]({'unitID':_0x588d9d,'undoMutations':_0x484f41['m2Prime'],'redoMutations':_0x1fbddc['m2Prime']});}return _0x4f2735[_0x6ef308(0x239)]();}};_0x2e9e74=_0x1d418b([_0x228c44(0x0,_0x2c7fed['IUniverInstanceService']),_0x228c44(0x1,_0x2c7fed['ICommandService']),_0x228c44(0x2,_0x2c7fed[_0x291ba3(0x1e3)]),_0x228c44(0x3,_0x2856d7[_0x291ba3(0x372)]),_0x228c44(0x4,_0x2c7fed[_0x291ba3(0x2fd)])],_0x2e9e74);class _0x246e60 extends _0x2c7fed[_0x291ba3(0x2d5)]{constructor(){const _0x23489f=_0x291ba3;super(),_0x24cbc7(this,_0x23489f(0x3b7)),this[_0x23489f(0x3b7)]=_0x1fc547['fromEvent'](window,_0x23489f(0x210))[_0x23489f(0x256)](_0x1fc547[_0x23489f(0x211)](this['dispose$']),_0x1fc547[_0x23489f(0x1b6)](0x1),_0x1fc547[_0x23489f(0x433)](void 0x0));}[_0x291ba3(0x42e)](_0x1c55cd,_0x493a26,_0x117619=!0x1){const _0x3a49e8=_0x291ba3,_0x40187f=new URL(window['location'][_0x3a49e8(0x2f0)]);_0x40187f[_0x3a49e8(0x489)][_0x3a49e8(0x250)](_0x1c55cd,_0x493a26),_0x117619?window[_0x3a49e8(0x462)][_0x3a49e8(0x262)]('','',_0x40187f[_0x3a49e8(0x161)]()):window[_0x3a49e8(0x462)]['pushState']('','',_0x40187f[_0x3a49e8(0x161)]());}['removeParam'](_0x22d721,_0x29d46d=!0x1){const _0x4b5d98=_0x291ba3,_0x3f3714=new URL(window['location'][_0x4b5d98(0x2f0)]);_0x3f3714[_0x4b5d98(0x489)]['delete'](_0x22d721),_0x29d46d?window[_0x4b5d98(0x462)][_0x4b5d98(0x262)]('','',_0x3f3714[_0x4b5d98(0x161)]()):window['history'][_0x4b5d98(0x22b)]('','',_0x3f3714[_0x4b5d98(0x161)]());}['getParam'](_0x30998f){const _0x1ecc33=_0x291ba3;var _0x9c06f2;return(_0x9c06f2=new URL(window[_0x1ecc33(0x28c)]['href'])[_0x1ecc33(0x489)][_0x1ecc33(0x400)](_0x30998f))!=null?_0x9c06f2:void 0x0;}}var _0x7d33a9=Object[_0x291ba3(0x3e4)],_0x5f0b76=Object['getOwnPropertyDescriptor'],_0x24f583=(_0xd52bd,_0x45a562,_0x4cb988)=>_0x45a562 in _0xd52bd?_0x7d33a9(_0xd52bd,_0x45a562,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4cb988}):_0xd52bd[_0x45a562]=_0x4cb988,_0x513ffe=(_0x4ad2fe,_0x497a77,_0x245908,_0x1d7335)=>{const _0x2ea7e4=_0x291ba3;for(var _0x46ae35=_0x1d7335>0x1?void 0x0:_0x1d7335?_0x5f0b76(_0x497a77,_0x245908):_0x497a77,_0x2d1c77=_0x4ad2fe[_0x2ea7e4(0xbb)]-0x1,_0x5b37fd;_0x2d1c77>=0x0;_0x2d1c77--)(_0x5b37fd=_0x4ad2fe[_0x2d1c77])&&(_0x46ae35=(_0x1d7335?_0x5b37fd(_0x497a77,_0x245908,_0x46ae35):_0x5b37fd(_0x46ae35))||_0x46ae35);return _0x1d7335&&_0x46ae35&&_0x7d33a9(_0x497a77,_0x245908,_0x46ae35),_0x46ae35;},_0x481692=(_0x36db3c,_0x367bcf)=>(_0x3fac56,_0x583759)=>_0x367bcf(_0x3fac56,_0x583759,_0x36db3c),_0x690ac=(_0x32fbc7,_0x342c05,_0x156943)=>_0x24f583(_0x32fbc7,_0x342c05+'',_0x156943);const _0x1b58ab=_0x291ba3(0x377);_0x594fe1[_0x291ba3(0x353)]=class extends _0x2c7fed[_0x291ba3(0x3bb)]{constructor(_0x425ba8=_0x357162,_0x264aef,_0x3ae44c,_0x466b5f,_0x2ea3b0){const _0x16c8e1=_0x291ba3;super(),this[_0x16c8e1(0x45d)]=_0x425ba8,this['_logService']=_0x264aef,this[_0x16c8e1(0x20c)]=_0x3ae44c,this[_0x16c8e1(0x10d)]=_0x466b5f,this['_configService']=_0x2ea3b0;const {..._0x15947d}=this[_0x16c8e1(0x45d)];this[_0x16c8e1(0x2e2)][_0x16c8e1(0x2c5)](_0x229401,_0x15947d);}[_0x291ba3(0x323)](){const _0x1ac39d=_0x291ba3;this['_registerDependencies'](),_0x2c7fed[_0x1ac39d(0x30f)](this[_0x1ac39d(0x10d)],[[_0x47d88],[_0x594fe1[_0x1ac39d(0x340)]],[_0x21a916]]);}[_0x291ba3(0x242)](){const _0x97ba46=_0x291ba3;_0x2c7fed['touchDependencies'](this[_0x97ba46(0x10d)],[[_0x19c2c9]]);}[_0x291ba3(0x23c)](){const _0x481700=_0x291ba3;this[_0x481700(0x40c)]();}['_registerDependencies'](){const _0x44f6b9=_0x291ba3;var _0x2f1b8c,_0x2433bc,_0x550e74,_0x346bd2;this[_0x44f6b9(0x10d)][_0x44f6b9(0x169)](_0x2c7fed[_0x44f6b9(0x26b)])&&this[_0x44f6b9(0x139)][_0x44f6b9(0x41d)](_0x44f6b9(0x414),_0x44f6b9(0x339));let _0x3bb3cc=[[_0x2c7fed[_0x44f6b9(0x26b)],{'useClass':_0x2e9e74}],[_0x594fe1[_0x44f6b9(0xeb)]],[_0x45b0e2],[_0x4893ce['HTTPService']],[_0x47e3f7,{'useClass':_0x246e60}],[_0x4d411d],[_0x594fe1[_0x44f6b9(0x378)]],[_0x4893ce[_0x44f6b9(0xf6)]],[_0x1b1a48],[_0x4bc5bd],[_0x5bc594],[_0x2f34a3],[_0x1d743a],[_0x58fe3e],[_0x1ab0de],[_0x21a916],[_0x268546,{'useClass':(_0x2433bc=(_0x2f1b8c=this[_0x44f6b9(0x45d)])==null?void 0x0:_0x2f1b8c[_0x44f6b9(0xf1)])!=null?_0x2433bc:_0x594fe1[_0x44f6b9(0x37d)]}],[_0x4893ce['IHTTPImplementation'],{'useClass':_0x4893ce[_0x44f6b9(0x3f4)]}],[_0x2856d7[_0x44f6b9(0xe6)],{'useClass':_0x594fe1[_0x44f6b9(0x226)]}],[_0x2c7fed[_0x44f6b9(0x390)],{'useClass':_0x594fe1[_0x44f6b9(0x3c6)]}],[_0x48fa70['IImageIoService'],{'useClass':_0x594fe1[_0x44f6b9(0x345)]}],[_0x594fe1[_0x44f6b9(0x1be)]],[_0x594fe1[_0x44f6b9(0x340)]],[_0x594fe1[_0x44f6b9(0x432)]],[_0x19c2c9],[_0x47d88]];(_0x550e74=this['_config'])!=null&&_0x550e74[_0x44f6b9(0x1cc)]&&_0x3bb3cc[_0x44f6b9(0x44a)]([_0x4ba495,{'useClass':_0x1986bf}]),_0x3bb3cc=_0x2c7fed[_0x44f6b9(0x3c0)](_0x3bb3cc,(_0x346bd2=this[_0x44f6b9(0x45d)])==null?void 0x0:_0x346bd2['override']),_0x3bb3cc[_0x44f6b9(0xb2)](_0x4ae71b=>this['_injector'][_0x44f6b9(0x8b)](_0x4ae71b)),this[_0x44f6b9(0x444)]();}[_0x291ba3(0x40c)](){const _0x255ae7=_0x291ba3;this[_0x255ae7(0x351)](this[_0x255ae7(0x20c)][_0x255ae7(0x9e)](_0x2c7fed[_0x255ae7(0xcb)]['UNIVER_DOC'],[_0x2d5972])),this[_0x255ae7(0x351)](this[_0x255ae7(0x20c)]['registerRenderModule'](_0x2c7fed[_0x255ae7(0xcb)][_0x255ae7(0x2aa)],[_0x56e595]));}[_0x291ba3(0x444)](){const _0x18654a=_0x291ba3;var _0x207fc1,_0x4b3a91;this['_injector'][_0x18654a(0x400)](_0x4893ce['HTTPService'])[_0x18654a(0x3f3)]({'priority':0x14,'interceptor':_0x4893ce[_0x18654a(0x42a)]({'maxParallel':0x6})}),this['_injector']['get'](_0x58fe3e),(_0x207fc1=this['_config'])!=null&&_0x207fc1[_0x18654a(0x311)]||this[_0x18654a(0x10d)][_0x18654a(0x400)](_0x594fe1['LocalCacheService'])[_0x18654a(0x30c)](),(_0x4b3a91=this[_0x18654a(0x45d)])!=null&&_0x4b3a91[_0x18654a(0x437)]&&this[_0x18654a(0x10d)][_0x18654a(0x400)](_0x1d743a),this[_0x18654a(0x10d)]['get'](_0x594fe1[_0x18654a(0x1be)]),this[_0x18654a(0x10d)]['has'](_0x594fe1[_0x18654a(0x432)])&&this['_injector'][_0x18654a(0x400)](_0x594fe1[_0x18654a(0x432)]);}},_0x690ac(_0x594fe1[_0x291ba3(0x353)],_0x291ba3(0x30d),_0x1b58ab),_0x594fe1['UniverCollaborationClientPlugin']=_0x513ffe([_0x2c7fed[_0x291ba3(0x19e)](_0x2856d7['UniverCollaborationPlugin']),_0x481692(0x1,_0x2c7fed[_0x291ba3(0x2fd)]),_0x481692(0x2,_0x180dc9[_0x291ba3(0xdf)]),_0x481692(0x3,_0x2c7fed[_0x291ba3(0x16b)](_0x2c7fed['Injector'])),_0x481692(0x4,_0x2c7fed[_0x291ba3(0x309)])],_0x594fe1[_0x291ba3(0x353)]),_0x594fe1[_0x291ba3(0x395)]=_0x54f2cb,_0x594fe1['COLLAB_SUBMIT_CHANGESET_URL_KEY']=_0x16814e,_0x594fe1[_0x291ba3(0x12e)]=_0x8abbe0,_0x594fe1[_0x291ba3(0x46e)]=_0x5b6195,_0x594fe1[_0x291ba3(0x2c8)]=_0x3603b1,_0x594fe1[_0x291ba3(0x22f)]=_0x1ab0de,_0x594fe1[_0x291ba3(0x258)]=_0x16f4d4,_0x594fe1['HEARTBEAT_TIMEOUT_KEY']=_0x56c1a7,_0x594fe1[_0x291ba3(0x154)]=_0x268546,_0x594fe1[_0x291ba3(0x355)]=_0x47e3f7,_0x594fe1[_0x291ba3(0x27b)]=_0x3085a4,_0x594fe1[_0x291ba3(0x190)]=_0x52fcac,_0x594fe1[_0x291ba3(0x428)]=_0x42be50,_0x594fe1[_0x291ba3(0x216)]=_0xf30628,_0x594fe1[_0x291ba3(0x45f)]=_0x2e8c6c,_0x594fe1[_0x291ba3(0x424)]=_0x5615fb,_0x594fe1[_0x291ba3(0x34b)]=_0x11a57f,_0x594fe1[_0x291ba3(0x3cc)]=_0x54131f,_0x594fe1[_0x291ba3(0x13b)]=_0x246e60,_0x594fe1['deserializeToCombResponse']=_0xd87005,_0x594fe1[_0x291ba3(0x434)]=_0x8a6853,Object[_0x291ba3(0x3e4)](_0x594fe1,Symbol['toStringTag'],{'value':_0x291ba3(0x149)});}));
|
1
|
+
(function(_0x5bdb14,_0x44f980){const _0x8520d9=_0x3fcf,_0xad76b4=_0x5bdb14();while(!![]){try{const _0x2002a0=-parseInt(_0x8520d9(0x14f))/0x1*(parseInt(_0x8520d9(0x3b8))/0x2)+parseInt(_0x8520d9(0x2a8))/0x3+-parseInt(_0x8520d9(0x3ba))/0x4*(-parseInt(_0x8520d9(0x12d))/0x5)+-parseInt(_0x8520d9(0x34f))/0x6*(parseInt(_0x8520d9(0x451))/0x7)+-parseInt(_0x8520d9(0x1a6))/0x8+parseInt(_0x8520d9(0x1dc))/0x9+-parseInt(_0x8520d9(0x190))/0xa;if(_0x2002a0===_0x44f980)break;else _0xad76b4['push'](_0xad76b4['shift']());}catch(_0x32a26b){_0xad76b4['push'](_0xad76b4['shift']());}}}(_0x56cd,0xf0379),function(_0x2b2950,_0x32b556){const _0x5cec94=_0x3fcf;typeof exports==_0x5cec94(0x1b9)&&typeof module<'u'?_0x32b556(exports,require(_0x5cec94(0x3a1)),require(_0x5cec94(0x4ef)),require(_0x5cec94(0x18d)),require(_0x5cec94(0x2cd)),require(_0x5cec94(0x4da)),require(_0x5cec94(0x45b)),require('@univerjs-pro/collaboration'),require(_0x5cec94(0x44b)),require(_0x5cec94(0x2b7)),require(_0x5cec94(0x50f)),require(_0x5cec94(0x462)),require('@univerjs/docs'),require(_0x5cec94(0x176)),require(_0x5cec94(0x36a)),require('@univerjs/sheets-ui'),require(_0x5cec94(0x375)),require('@univerjs/rpc'),require(_0x5cec94(0x543))):typeof define==_0x5cec94(0x3d8)&&define[_0x5cec94(0x1e6)]?define([_0x5cec94(0x510),_0x5cec94(0x3a1),_0x5cec94(0x4ef),_0x5cec94(0x18d),_0x5cec94(0x2cd),'@univerjs/ui',_0x5cec94(0x45b),_0x5cec94(0x19d),'@univerjs/telemetry','@univerjs/docs-ui',_0x5cec94(0x50f),_0x5cec94(0x462),'@univerjs/docs',_0x5cec94(0x176),'@univerjs/engine-formula',_0x5cec94(0x434),_0x5cec94(0x375),_0x5cec94(0x3f1),_0x5cec94(0x543)],_0x32b556):(_0x2b2950=typeof globalThis<'u'?globalThis:_0x2b2950||self,_0x32b556(_0x2b2950['UniverCollaborationClient']={},_0x2b2950[_0x5cec94(0x39a)],_0x2b2950['rxjs'],_0x2b2950[_0x5cec94(0x4ef)][_0x5cec94(0x4d9)],_0x2b2950['UniverDesign'],_0x2b2950[_0x5cec94(0x306)],_0x2b2950[_0x5cec94(0x1bc)],_0x2b2950[_0x5cec94(0x218)],_0x2b2950[_0x5cec94(0x251)],_0x2b2950['UniverDocsUi'],_0x2b2950[_0x5cec94(0x548)],_0x2b2950['UniverEngineRender'],_0x2b2950[_0x5cec94(0x550)],_0x2b2950[_0x5cec94(0x346)],_0x2b2950[_0x5cec94(0x19e)],_0x2b2950[_0x5cec94(0x509)],_0x2b2950[_0x5cec94(0x3dd)],_0x2b2950[_0x5cec94(0x27d)],_0x2b2950['UniverLicense']));}(this,function(_0x2be6ec,_0x192dca,_0x23b07d,_0x455b28,_0x4210bc,_0x2d5590,_0x415ed6,_0x5a4440,_0xc1b63,_0x3f80f2,_0x4320c2,_0x25d8d8,_0x57ddc3,_0x3d30ea,_0x8d319d,_0x20b398,_0x6ad2c,_0x40eda0,_0x301e91){'use strict';const _0x386947=_0x3fcf;var _0x289c40=Object[_0x386947(0x4dc)],_0x437189=(_0x123de7,_0x504f6d,_0x559532)=>_0x504f6d in _0x123de7?_0x289c40(_0x123de7,_0x504f6d,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x559532}):_0x123de7[_0x504f6d]=_0x559532,_0x49f745=(_0x4156ba,_0x207bb8,_0x5541f0)=>_0x437189(_0x4156ba,typeof _0x207bb8!='symbol'?_0x207bb8+'':_0x207bb8,_0x5541f0);const _0x40852a=_0x386947(0x35c),_0x3aaa80='/universer-api/snapshot',_0x3a5f27=_0x386947(0x207),_0x1515c5=_0x386947(0x289),_0x109e46=_0x386947(0x2b5),_0x99509d=_0x386947(0x384),_0x224bd5=_0x386947(0x3eb),_0x4a9041='HEARTBEAT_TIMEOUT',_0x2356d6='RETRY_CONNECTING_MAX_COUNT',_0x1ec70c=_0x386947(0x432),_0xdacf94=_0x386947(0x1ca),_0x5aa489=_0x386947(0x358),_0x328d3a=_0x386947(0x4c5),_0x19a1cb=_0x386947(0x55d);var _0x377520=(_0x42f4e7=>(_0x42f4e7[_0x42f4e7[_0x386947(0x2ca)]=0x0]=_0x386947(0x2ca),_0x42f4e7[_0x42f4e7['OK']=0x1]='OK',_0x42f4e7[_0x42f4e7[_0x386947(0x3f4)]=0x2]=_0x386947(0x3f4),_0x42f4e7[_0x42f4e7[_0x386947(0x3ee)]=0x3]=_0x386947(0x3ee),_0x42f4e7[_0x42f4e7[_0x386947(0x39f)]=0x4]=_0x386947(0x39f),_0x42f4e7[_0x42f4e7[_0x386947(0x138)]=0x5]='UNAUTHENTICATED',_0x42f4e7[_0x42f4e7[_0x386947(0x552)]=0x6]='ALREADY_EXISTS',_0x42f4e7[_0x42f4e7[_0x386947(0x38a)]=0x7]=_0x386947(0x38a),_0x42f4e7[_0x42f4e7[_0x386947(0x47e)]=0x8]='TOO_MANY_REQUESTS',_0x42f4e7[_0x42f4e7['COMPLETION_FINISHED']=0x9]=_0x386947(0x1b7),_0x42f4e7[_0x42f4e7[_0x386947(0x3b0)]=0x1389]=_0x386947(0x3b0),_0x42f4e7[_0x42f4e7[_0x386947(0x55b)]=0x1771]=_0x386947(0x55b),_0x42f4e7[_0x42f4e7[_0x386947(0x3e2)]=0x1772]=_0x386947(0x3e2),_0x42f4e7[_0x42f4e7[_0x386947(0x137)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x42f4e7[_0x42f4e7[_0x386947(0x567)]=0x1b59]=_0x386947(0x567),_0x42f4e7[_0x42f4e7[_0x386947(0x3f3)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x42f4e7[_0x42f4e7[_0x386947(0x15e)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x42f4e7[_0x42f4e7['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x386947(0x501),_0x42f4e7[_0x42f4e7['APPLY_DUPLICATED']=0x1b5d]=_0x386947(0x33a),_0x42f4e7[_0x42f4e7['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x386947(0x2f7),_0x42f4e7[_0x42f4e7[_0x386947(0x1d3)]=0x2329]=_0x386947(0x1d3),_0x42f4e7[_0x42f4e7['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x386947(0x12f),_0x42f4e7[_0x42f4e7[_0x386947(0x1ef)]=0x232b]=_0x386947(0x1ef),_0x42f4e7[_0x42f4e7[_0x386947(0x2ce)]=0x232c]=_0x386947(0x2ce),_0x42f4e7[_0x42f4e7[_0x386947(0x2ac)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x42f4e7[_0x42f4e7[_0x386947(0x51b)]=0x2711]=_0x386947(0x51b),_0x42f4e7[_0x42f4e7[_0x386947(0x2ad)]=0x2712]=_0x386947(0x2ad),_0x42f4e7[_0x42f4e7[_0x386947(0x186)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x42f4e7[_0x42f4e7[_0x386947(0x415)]=0x2714]=_0x386947(0x415),_0x42f4e7[_0x42f4e7[_0x386947(0x40b)]=-0x1]=_0x386947(0x40b),_0x42f4e7))(_0x377520||{}),_0x54e2db=(_0x32a137=>(_0x32a137[_0x32a137[_0x386947(0x54f)]=0x0]=_0x386947(0x54f),_0x32a137[_0x32a137['UNIVER_DOC']=0x1]=_0x386947(0x51f),_0x32a137[_0x32a137[_0x386947(0x29f)]=0x2]='UNIVER_SHEET',_0x32a137[_0x32a137[_0x386947(0x35d)]=0x3]=_0x386947(0x35d),_0x32a137[_0x32a137[_0x386947(0x250)]=0x4]='UNIVER_PROJECT',_0x32a137[_0x32a137['UNRECOGNIZED']=-0x1]=_0x386947(0x40b),_0x32a137))(_0x54e2db||{}),_0xbaefb9=(_0x1894ac=>(_0x1894ac[_0x1894ac['UNKNOWN_CMD']=0x0]=_0x386947(0x189),_0x1894ac[_0x1894ac[_0x386947(0x23d)]=0x1]=_0x386947(0x23d),_0x1894ac[_0x1894ac[_0x386947(0x533)]=0x2]='JOIN',_0x1894ac[_0x1894ac[_0x386947(0x2c9)]=0x3]=_0x386947(0x2c9),_0x1894ac[_0x1894ac[_0x386947(0x4f2)]=0x4]=_0x386947(0x4f2),_0x1894ac[_0x1894ac[_0x386947(0x405)]=0x5]=_0x386947(0x405),_0x1894ac[_0x1894ac['RECV']=0x6]=_0x386947(0x546),_0x1894ac[_0x1894ac[_0x386947(0x40b)]=-0x1]=_0x386947(0x40b),_0x1894ac))(_0xbaefb9||{}),_0x30c367=(_0x3cc705=>(_0x3cc705[_0x3cc705['UNKNOWN_CODE']=0x0]=_0x386947(0x3e0),_0x3cc705[_0x3cc705['OK']=0x1]='OK',_0x3cc705[_0x3cc705['FAIL']=0x2]=_0x386947(0x526),_0x3cc705[_0x3cc705[_0x386947(0x40b)]=-0x1]=_0x386947(0x40b),_0x3cc705))(_0x30c367||{}),_0x30e454=(_0x3cd224=>(_0x3cd224[_0x3cd224['Undefined']=0x0]=_0x386947(0x1db),_0x3cd224[_0x3cd224[_0x386947(0x564)]=0x1]=_0x386947(0x564),_0x3cd224[_0x3cd224[_0x386947(0x260)]=0x2]='HttpExport',_0x3cd224[_0x3cd224[_0x386947(0x456)]=0x3]='UnitEmbedded',_0x3cd224[_0x3cd224[_0x386947(0x368)]=0x4]=_0x386947(0x368),_0x3cd224[_0x3cd224[_0x386947(0x40b)]=-0x1]=_0x386947(0x40b),_0x3cd224))(_0x30e454||{});const _0x310a31=_0x386947(0x3e9),_0x5b0865={};function _0x1ae334(_0x2ab12b){const _0x3605ed=_0x386947;var _0x45e772,_0x140619,_0xd7c3b9,_0x568454;const _0x12f95b=_0x2ab12b['data'],_0x400b2f=JSON[_0x3605ed(0x3a2)](_0x12f95b);switch(_0x400b2f[_0x3605ed(0x547)]){case _0xbaefb9[_0x3605ed(0x405)]:case _0xbaefb9[_0x3605ed(0x23d)]:{const _0x41503a=_0x400b2f[_0x3605ed(0x41e)];return{..._0x400b2f,'data':_0x41503a,'cmd':_0x400b2f[_0x3605ed(0x547)]};}case _0xbaefb9[_0x3605ed(0x533)]:{const _0x568dd0=_0x400b2f[_0x3605ed(0x1af)];return{..._0x400b2f,'data':_0x568dd0,'cmd':_0x400b2f['cmd']};}case _0xbaefb9[_0x3605ed(0x546)]:{const _0x500613=_0x400b2f['collaMsg'];switch(_0x500613['eventID']){case _0x5a4440[_0x3605ed(0x208)]['PERMISSION_REJ']:return{..._0x400b2f,'data':{..._0x500613,'data':(_0x45e772=_0x500613['permissionRejEvent'])==null?void 0x0:_0x45e772['cs']},'cmd':_0x400b2f[_0x3605ed(0x547)]};case _0x5a4440[_0x3605ed(0x208)][_0x3605ed(0x14c)]:return{..._0x400b2f,'data':{..._0x500613,'data':(_0x140619=_0x500613['csAckEvent'])==null?void 0x0:_0x140619['cs']},'cmd':_0x400b2f['cmd']};case _0x5a4440[_0x3605ed(0x208)][_0x3605ed(0x4de)]:return{..._0x400b2f,'data':{..._0x500613,'data':(_0xd7c3b9=_0x500613['newCsEvent'])==null?void 0x0:_0xd7c3b9['cs']},'cmd':_0x400b2f['cmd']};case _0x5a4440[_0x3605ed(0x208)]['CHANGESET_REJ']:return{..._0x400b2f,'data':{..._0x500613,'data':(_0x568454=_0x500613[_0x3605ed(0x53b)])==null?void 0x0:_0x568454['cs']},'cmd':_0x400b2f[_0x3605ed(0x547)]};case _0x5a4440[_0x3605ed(0x208)][_0x3605ed(0x496)]:return{..._0x400b2f,'data':{..._0x500613,'data':_0x500613[_0x3605ed(0x301)]},'cmd':_0x400b2f[_0x3605ed(0x547)]};case _0x5a4440[_0x3605ed(0x208)][_0x3605ed(0x52b)]:return{..._0x400b2f,'data':{..._0x500613,'data':_0x500613[_0x3605ed(0x18f)]},'cmd':_0x400b2f[_0x3605ed(0x547)]};case _0x5a4440[_0x3605ed(0x208)][_0x3605ed(0x417)]:return{..._0x400b2f,'data':{..._0x500613,'data':_0x500613[_0x3605ed(0x492)]},'cmd':_0x400b2f['cmd']};case _0x5a4440[_0x3605ed(0x208)][_0x3605ed(0x386)]:return{..._0x400b2f,'data':{..._0x500613,'data':_0x500613['liveShareNewHost']},'cmd':_0x400b2f[_0x3605ed(0x547)]};case _0x5a4440[_0x3605ed(0x208)][_0x3605ed(0x3a3)]:case _0x5a4440[_0x3605ed(0x208)][_0x3605ed(0x20f)]:return{..._0x400b2f,'data':{..._0x500613,'data':_0x500613[_0x3605ed(0x514)]},'cmd':_0x400b2f['cmd']};case _0x5a4440[_0x3605ed(0x208)]['LIVESHARE_TERMINATE']:return{..._0x400b2f,'data':{..._0x500613,'data':_0x500613[_0x3605ed(0x3be)]},'cmd':_0x400b2f[_0x3605ed(0x547)]};case _0x5a4440['CollaborationEvent'][_0x3605ed(0x299)]:return{..._0x400b2f,'data':_0x500613,'cmd':_0x400b2f[_0x3605ed(0x547)]};case _0x5a4440['CollaborationEvent']['COMMENT_UPDATE']:return{..._0x400b2f,'data':{..._0x500613,'data':_0x500613[_0x3605ed(0x2c6)]},'cmd':_0x400b2f[_0x3605ed(0x547)]};case _0x5a4440[_0x3605ed(0x208)][_0x3605ed(0x3a7)]:return{..._0x400b2f,'data':{..._0x500613,'data':_0x500613[_0x3605ed(0x200)]},'cmd':_0x400b2f[_0x3605ed(0x547)]};case _0x5a4440['CollaborationEvent'][_0x3605ed(0x31a)]:return{..._0x400b2f,'data':{..._0x500613,'data':_0x500613['shouldCloseConn']},'cmd':_0x400b2f[_0x3605ed(0x547)]};default:return _0x400b2f;}}default:return _0x400b2f;}}function _0x11a1e0(_0x57f455){const _0xa76c96=_0x386947;switch(_0x57f455[_0xa76c96(0x547)]){case _0xbaefb9[_0xa76c96(0x405)]:case _0xbaefb9[_0xa76c96(0x23d)]:return JSON[_0xa76c96(0x40e)]({'cmd':_0x57f455[_0xa76c96(0x547)],'routeKey':_0x57f455['routeKey']});case _0xbaefb9['INGEST']:{let _0xec1f7e;switch(_0x57f455[_0xa76c96(0x4fa)][_0xa76c96(0x28d)]){case _0x5a4440[_0xa76c96(0x208)][_0xa76c96(0x496)]:{_0xec1f7e={'eventID':_0x5a4440[_0xa76c96(0x208)][_0xa76c96(0x496)],'updateCursorEvent':_0x57f455[_0xa76c96(0x4fa)][_0xa76c96(0x4fa)]};break;}case _0x5a4440[_0xa76c96(0x208)][_0xa76c96(0x417)]:{_0xec1f7e={'eventID':_0x5a4440[_0xa76c96(0x208)][_0xa76c96(0x417)],'leaveEvent':_0x57f455['data'][_0xa76c96(0x4fa)]};break;}case _0x5a4440[_0xa76c96(0x208)][_0xa76c96(0x52b)]:{_0xec1f7e={'eventID':_0x5a4440[_0xa76c96(0x208)][_0xa76c96(0x52b)],'joinEvent':_0x57f455[_0xa76c96(0x4fa)][_0xa76c96(0x4fa)]};break;}case _0x5a4440[_0xa76c96(0x208)][_0xa76c96(0x386)]:{_0xec1f7e={'eventID':_0x5a4440[_0xa76c96(0x208)][_0xa76c96(0x386)],'liveShareNewHost':_0x57f455[_0xa76c96(0x4fa)][_0xa76c96(0x4fa)]};break;}case _0x5a4440[_0xa76c96(0x208)][_0xa76c96(0x20f)]:{_0xec1f7e={'eventID':_0x5a4440[_0xa76c96(0x208)][_0xa76c96(0x20f)],'liveShareOperation':_0x57f455[_0xa76c96(0x4fa)]['data']};break;}case _0x5a4440[_0xa76c96(0x208)][_0xa76c96(0x452)]:{_0xec1f7e={'eventID':_0x5a4440['CollaborationEvent'][_0xa76c96(0x452)],'liveShareTerminate':_0x57f455[_0xa76c96(0x4fa)][_0xa76c96(0x4fa)]};break;}case _0x5a4440[_0xa76c96(0x208)]['LIVESHARE_REQUEST_HOST']:{_0xec1f7e={'eventID':_0x5a4440['CollaborationEvent'][_0xa76c96(0x242)],'liveShareRequestHost':_0x57f455[_0xa76c96(0x4fa)][_0xa76c96(0x4fa)]};break;}case _0x5a4440[_0xa76c96(0x208)][_0xa76c96(0x3a3)]:{_0xec1f7e={'eventID':_0x5a4440['CollaborationEvent'][_0xa76c96(0x3a3)]};break;}default:_0xec1f7e={'eventID':_0x57f455[_0xa76c96(0x4fa)][_0xa76c96(0x28d)]};}return JSON[_0xa76c96(0x40e)]({'cmd':_0x57f455[_0xa76c96(0x547)],'routeKey':_0x57f455[_0xa76c96(0x19b)],'collaMsg':_0xec1f7e});}case _0xbaefb9['JOIN']:return JSON[_0xa76c96(0x40e)]({'cmd':_0x57f455['cmd'],'routeKey':_0x57f455[_0xa76c96(0x19b)],'joinReq':_0x57f455[_0xa76c96(0x4fa)]});case _0xbaefb9[_0xa76c96(0x2c9)]:return JSON[_0xa76c96(0x40e)]({'cmd':_0x57f455[_0xa76c96(0x547)],'routeKey':_0x57f455['routeKey'],'leaveReq':_0x57f455[_0xa76c96(0x4fa)]});default:throw new Error('[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!');}}var _0x3f93bc=Object[_0x386947(0x4dc)],_0x4c0e44=Object[_0x386947(0x31b)],_0x3fc8e4=(_0x23fa12,_0x55e0d5,_0x900247,_0x591a72)=>{const _0x27f408=_0x386947;for(var _0x3ca96b=_0x591a72>0x1?void 0x0:_0x591a72?_0x4c0e44(_0x55e0d5,_0x900247):_0x55e0d5,_0x3c46c3=_0x23fa12[_0x27f408(0x41d)]-0x1,_0x224873;_0x3c46c3>=0x0;_0x3c46c3--)(_0x224873=_0x23fa12[_0x3c46c3])&&(_0x3ca96b=(_0x591a72?_0x224873(_0x55e0d5,_0x900247,_0x3ca96b):_0x224873(_0x3ca96b))||_0x3ca96b);return _0x591a72&&_0x3ca96b&&_0x3f93bc(_0x55e0d5,_0x900247,_0x3ca96b),_0x3ca96b;},_0x1568e5=(_0x99c842,_0x220f5a)=>(_0x38274f,_0x454ad0)=>_0x220f5a(_0x38274f,_0x454ad0,_0x99c842);const _0x2eec0b=_0x192dca[_0x386947(0x27b)](_0x386947(0x502));function _0x1d6da2(_0x598f6f,_0xa5f429,_0x319b7a){const _0x3ab868=_0x386947;return _0x598f6f+'/'+_0xa5f429+_0x3ab868(0x320)+_0x319b7a+_0x3ab868(0x1f5);}_0x2be6ec[_0x386947(0x4dd)]=class extends _0x192dca['Disposable']{constructor(_0x1db732,_0x2b6bf4,_0x262b53,_0x40ad6f,_0x4a6587){const _0x3d32ae=_0x386947;super(),this[_0x3d32ae(0x4bb)]=_0x1db732,this[_0x3d32ae(0x30b)]=_0x2b6bf4,this[_0x3d32ae(0x49c)]=_0x262b53,this[_0x3d32ae(0x468)]=_0x40ad6f,this[_0x3d32ae(0x437)]=_0x4a6587;}['createSocket'](_0x38c69e){const _0x1e1ca8=_0x386947,_0x39503e=this[_0x1e1ca8(0x30b)][_0x1e1ca8(0x30a)](_0x38c69e);if(!_0x39503e)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!');const _0x34ade8=new _0x192dca[(_0x1e1ca8(0x372))](),_0x3f01ff=new _0x23b07d[(_0x1e1ca8(0x2b6))]();_0x34ade8[_0x1e1ca8(0x477)](_0x39503e[_0x1e1ca8(0x30c)]['subscribe'](_0x55bcf0=>_0x3f01ff[_0x1e1ca8(0x431)](_0x55bcf0))),_0x34ade8['add'](_0x192dca[_0x1e1ca8(0x27f)](()=>_0x3f01ff['complete']()));const _0x732715=new _0x23b07d[(_0x1e1ca8(0x2b6))]();_0x34ade8['add'](_0x39503e[_0x1e1ca8(0x3d9)]['subscribe'](_0x2f0d69=>_0x732715[_0x1e1ca8(0x431)](_0x2f0d69))),_0x34ade8[_0x1e1ca8(0x477)](_0x192dca[_0x1e1ca8(0x27f)](()=>_0x732715['complete']()));const _0x3c5926=new _0x23b07d[(_0x1e1ca8(0x2b6))]();_0x34ade8[_0x1e1ca8(0x477)](_0x39503e[_0x1e1ca8(0x25a)][_0x1e1ca8(0x1fd)](_0x2617e6=>{const _0x18b3cb=_0x1e1ca8,_0x46e0e8=_0x1ae334(_0x2617e6);_0x3c5926[_0x18b3cb(0x431)](_0x46e0e8);})),_0x34ade8['add'](_0x192dca[_0x1e1ca8(0x27f)](()=>_0x3c5926[_0x1e1ca8(0x4cc)]()));let _0x2f2487;const _0x16d1f5=()=>{const _0x2e856f=_0x1e1ca8;_0x732715[_0x2e856f(0x431)](new Event(_0x2e856f(0x428))),_0x3f01ff['next'](new CloseEvent('connection\x20error')),_0x2f2487[_0x2e856f(0x232)]();};return _0x2f2487={'memberID':'','close$':_0x3f01ff['asObservable'](),'error$':_0x732715[_0x1e1ca8(0x529)](),'open$':_0x39503e[_0x1e1ca8(0x2c8)],'message$':_0x3c5926['asObservable'](),'send':_0x16a8a9=>{const _0x608ec2=_0x1e1ca8;if(_0x16a8a9[_0x608ec2(0x547)]===_0xbaefb9[_0x608ec2(0x4f2)]){if(_0x16a8a9[_0x608ec2(0x4fa)][_0x608ec2(0x28d)]===_0x5a4440[_0x608ec2(0x208)][_0x608ec2(0x1f6)]){this[_0x608ec2(0x1a1)](_0x2f2487,_0x16a8a9[_0x608ec2(0x4fa)])[_0x608ec2(0x3ae)](_0x5c35d7=>{const _0xdd8816=_0x608ec2;this[_0xdd8816(0x468)][_0xdd8816(0x271)](_0x5c35d7),_0x16d1f5();});return;}if(_0x16a8a9[_0x608ec2(0x4fa)]['eventID']===_0x5a4440[_0x608ec2(0x208)][_0x608ec2(0x204)]){const _0x225dbc=_0x16a8a9[_0x608ec2(0x4fa)];this[_0x608ec2(0x3b2)](_0x225dbc)[_0x608ec2(0x241)](_0x2ba39a=>{const _0x1b2da6=_0x608ec2;_0x3c5926[_0x1b2da6(0x431)]({'cmd':_0xbaefb9[_0x1b2da6(0x546)],'code':_0x30c367['OK'],'routeKey':_0x225dbc[_0x1b2da6(0x4fa)]['unitID'],'routeType':'','data':{'eventID':_0x5a4440[_0x1b2da6(0x208)][_0x1b2da6(0x450)],'data':{'changesets':_0x2ba39a}}});})['catch'](_0x462272=>{const _0x5a5ece=_0x608ec2;this[_0x5a5ece(0x468)][_0x5a5ece(0x271)](_0x462272),_0x16d1f5();});return;}}_0x39503e[_0x608ec2(0x170)](_0x11a1e0(_0x16a8a9));},'close':()=>{const _0xed5ce2=_0x1e1ca8;_0x39503e[_0xed5ce2(0x232)](),_0x34ade8['dispose']();}},_0x2f2487;}async[_0x386947(0x1a1)](_0x11d45a,_0x55fec2){const _0x29147d=_0x386947;var _0x1d0c13,_0x3536bb;const {unitType:_0x3a77e4,unitID:_0x30fbae,changeset:_0x2d5837}=_0x55fec2[_0x29147d(0x4fa)],_0x50566e={'unitID':_0x30fbae,'memberID':_0x11d45a[_0x29147d(0x30d)],'type':_0x3a77e4,'changeset':_0x5a4440[_0x29147d(0x185)](_0x2d5837)},_0x5e0ef0=this[_0x29147d(0x49c)][_0x29147d(0x26c)](_0xdacf94),_0x3d3770=this[_0x29147d(0x49c)][_0x29147d(0x26c)](_0x310a31),_0x515599=_0x1d6da2((_0x3536bb=(_0x1d0c13=_0x3d3770==null?void 0x0:_0x3d3770[_0x29147d(0x1c3)])!=null?_0x1d0c13:_0x5e0ef0)!=null?_0x3536bb:_0x5aa489,_0x3a77e4,_0x30fbae);try{await this[_0x29147d(0x4bb)][_0x29147d(0x559)](_0x515599,{'body':_0x50566e});}catch(_0x3772e9){throw this['_logService']['error']('[CollaborationSession]',_0x29147d(0x4fc)),_0x3772e9;}}async[_0x386947(0x3b2)](_0x4041ee){const _0x2d5263=_0x386947,{unitID:_0x22626f,from:_0xbf3149,to:_0x568932,unitType:_0x4fc13b}=_0x4041ee[_0x2d5263(0x4fa)];return(await this[_0x2d5263(0x437)][_0x2d5263(0x38d)]({'metadata':void 0x0},{'unitID':_0x22626f,'type':_0x4fc13b,'from':_0xbf3149,'to':_0x568932}))[_0x2d5263(0x383)];}},_0x2be6ec[_0x386947(0x4dd)]=_0x3fc8e4([_0x1568e5(0x0,_0x192dca['Inject'](_0x415ed6['HTTPService'])),_0x1568e5(0x1,_0x192dca[_0x386947(0x25f)](_0x415ed6['WebSocketService'])),_0x1568e5(0x2,_0x192dca[_0x386947(0x479)]),_0x1568e5(0x3,_0x192dca['ILogService']),_0x1568e5(0x4,_0x5a4440['ISnapshotServerService'])],_0x2be6ec[_0x386947(0x4dd)]);const _0x5a9f3c=_0x386947(0x46b);function _0x2c4ed9(_0x18f72f){const _0x189165=_0x386947;return JSON[_0x189165(0x40e)](_0x18f72f)[_0x189165(0x41d)];}class _0x218893{constructor(){const _0x4c95d7=_0x386947;_0x49f745(this,_0x4c95d7(0x22f),new _0x23b07d[(_0x4c95d7(0x2b6))]()),_0x49f745(this,_0x4c95d7(0x12c),this[_0x4c95d7(0x22f)][_0x4c95d7(0x529)]());}[_0x386947(0x4ed)](_0x24b028){const _0x483ce6=_0x386947;this['_commentUpdate$'][_0x483ce6(0x431)](_0x24b028);}}var _0x8d74ab=Object[_0x386947(0x4dc)],_0x2580bb=Object[_0x386947(0x31b)],_0x332415=(_0x1e67ca,_0x27ab68,_0x31a787,_0x557d9d)=>{for(var _0x83a287=_0x557d9d>0x1?void 0x0:_0x557d9d?_0x2580bb(_0x27ab68,_0x31a787):_0x27ab68,_0x959a45=_0x1e67ca['length']-0x1,_0x4b6dc9;_0x959a45>=0x0;_0x959a45--)(_0x4b6dc9=_0x1e67ca[_0x959a45])&&(_0x83a287=(_0x557d9d?_0x4b6dc9(_0x27ab68,_0x31a787,_0x83a287):_0x4b6dc9(_0x83a287))||_0x83a287);return _0x557d9d&&_0x83a287&&_0x8d74ab(_0x27ab68,_0x31a787,_0x83a287),_0x83a287;},_0x2106ac=(_0x32ecef,_0xbe855b)=>(_0x4e2582,_0x2b9914)=>_0xbe855b(_0x4e2582,_0x2b9914,_0x32ecef);let _0x28c292=class extends _0x192dca[_0x386947(0x43e)]{constructor(_0x40973b,_0x4d56c9){const _0x569108=_0x386947;super(),_0x49f745(this,_0x569108(0x435),new Map()),(this[_0x569108(0x36f)]=_0x40973b,this[_0x569108(0x315)]=_0x4d56c9,this['disposeWithMe'](_0x192dca[_0x569108(0x27f)](_0x23b07d['merge'](this[_0x569108(0x36f)]['getTypeOfUnitDisposed$'](_0x192dca['UniverInstanceType'][_0x569108(0x29f)])[_0x569108(0x507)](_0x455b28[_0x569108(0x27c)](_0x291ea6=>_0x291ea6[_0x569108(0x2ae)]())),this[_0x569108(0x36f)]['getTypeOfUnitDisposed$'](_0x192dca['UniverInstanceType'][_0x569108(0x51f)])[_0x569108(0x507)](_0x455b28[_0x569108(0x27c)](_0x424a9c=>_0x424a9c['getUnitId']())),this[_0x569108(0x36f)]['getTypeOfUnitDisposed$'](_0x192dca[_0x569108(0x277)]['UNIVER_SLIDE'])[_0x569108(0x507)](_0x455b28[_0x569108(0x27c)](_0x5e29fc=>_0x5e29fc[_0x569108(0x2ae)]())))['subscribe'](_0xa52a6e=>this[_0x569108(0x4e8)](_0xa52a6e)))));}[_0x386947(0x521)](_0x1e5be2){const _0x4c130d=_0x386947;this['_userManagerService'][_0x4c130d(0x521)](_0x1e5be2);}['getCurrentUser'](){const _0x50a6ff=_0x386947;return this[_0x50a6ff(0x315)][_0x50a6ff(0x305)]();}[_0x386947(0x312)](_0x5dd58d,_0x5c9254){const _0x267b11=_0x386947;let _0x12a739=this[_0x267b11(0x435)][_0x267b11(0x2b1)](_0x5dd58d);_0x12a739||(_0x12a739=new _0xa04133(),this[_0x267b11(0x435)][_0x267b11(0x504)](_0x5dd58d,_0x12a739)),_0x12a739[_0x267b11(0x312)](_0x5c9254);}[_0x386947(0x3c1)](_0x16e405,_0x27b361){const _0x1d83d3=_0x386947,_0x2b5139=this[_0x1d83d3(0x435)][_0x1d83d3(0x2b1)](_0x16e405);_0x2b5139&&_0x2b5139[_0x1d83d3(0x3c1)](_0x27b361);}[_0x386947(0x161)](_0x5879d5){const _0x429313=_0x386947;return this['_roomMembers'][_0x429313(0x2b1)](_0x5879d5);}['getMember'](_0x5895e6,_0x272dae){const _0x4915b2=_0x386947,_0x5eb8e7=this[_0x4915b2(0x435)]['get'](_0x5895e6);if(_0x5eb8e7)return _0x5eb8e7[_0x4915b2(0x183)](_0x272dae);}['_removeRoom'](_0x46c64d){const _0x2e6007=_0x386947,_0x35e33c=this[_0x2e6007(0x435)][_0x2e6007(0x2b1)](_0x46c64d);_0x35e33c&&(_0x35e33c[_0x2e6007(0x351)](),this['_roomMembers'][_0x2e6007(0x1e7)](_0x46c64d));}[_0x386947(0x351)](){const _0x107463=_0x386947;this['_roomMembers'][_0x107463(0x12e)](_0x4b4231=>_0x4b4231[_0x107463(0x351)]()),this[_0x107463(0x435)][_0x107463(0x472)]();}};_0x28c292=_0x332415([_0x2106ac(0x0,_0x192dca[_0x386947(0x21d)]),_0x2106ac(0x1,_0x192dca[_0x386947(0x25f)](_0x192dca[_0x386947(0x344)]))],_0x28c292);class _0xa04133 extends _0x192dca[_0x386947(0x43e)]{constructor(){const _0xfac19d=_0x386947;super(...arguments),_0x49f745(this,_0xfac19d(0x2d7),new Map());}[_0x386947(0x351)](){const _0x44ce80=_0x386947;this[_0x44ce80(0x2d7)]['clear']();}['updateMember'](_0x42858a){const _0x334d69=_0x386947;this[_0x334d69(0x2d7)]['set'](_0x42858a['memberID'],_0x42858a);}[_0x386947(0x3c1)](_0x162afb){const _0xf6d98c=_0x386947;this[_0xf6d98c(0x2d7)][_0xf6d98c(0x1e7)](_0x162afb);}['getMember'](_0x56066b){const _0xbe2879=_0x386947;return this['_members'][_0xbe2879(0x2b1)](_0x56066b);}}var _0x26ffde=Object[_0x386947(0x4dc)],_0x44e5e7=Object[_0x386947(0x31b)],_0x27f0a6=(_0x11ca06,_0x271d15,_0x32100f,_0x223bc4)=>{const _0x24fb60=_0x386947;for(var _0x269048=_0x223bc4>0x1?void 0x0:_0x223bc4?_0x44e5e7(_0x271d15,_0x32100f):_0x271d15,_0x462724=_0x11ca06[_0x24fb60(0x41d)]-0x1,_0x27f236;_0x462724>=0x0;_0x462724--)(_0x27f236=_0x11ca06[_0x462724])&&(_0x269048=(_0x223bc4?_0x27f236(_0x271d15,_0x32100f,_0x269048):_0x27f236(_0x269048))||_0x269048);return _0x223bc4&&_0x269048&&_0x26ffde(_0x271d15,_0x32100f,_0x269048),_0x269048;},_0xacc60a=(_0x26b067,_0x1da451)=>(_0x22c2c1,_0x59f9d7)=>_0x1da451(_0x22c2c1,_0x59f9d7,_0x26b067),_0x195712=(_0x115d90=>(_0x115d90[_0x115d90[_0x386947(0x387)]=0x0]=_0x386947(0x387),_0x115d90[_0x115d90[_0x386947(0x369)]=0x1]='JOINING',_0x115d90[_0x115d90[_0x386947(0x4b3)]=0x2]=_0x386947(0x4b3),_0x115d90[_0x115d90[_0x386947(0x1da)]=0x3]=_0x386947(0x1da),_0x115d90))(_0x195712||{});_0x2be6ec[_0x386947(0x4ba)]=class extends _0x192dca['RxDisposable']{constructor(_0x29902b,_0x1d71f8,_0x25bfad,_0x32af29,_0x187e68,_0x44f94e,_0x48fb0f,_0x2b3578,_0x237a93,_0x31981c){const _0x5db054=_0x386947;super(),_0x49f745(this,_0x5db054(0x4ac),new _0x23b07d[(_0x5db054(0x13c))](0x0)),_0x49f745(this,'sessionStatus$',this[_0x5db054(0x4ac)][_0x5db054(0x529)]()),_0x49f745(this,'_event$',new _0x23b07d[(_0x5db054(0x2b6))]()),_0x49f745(this,_0x5db054(0x16c),this[_0x5db054(0x1d2)][_0x5db054(0x529)]()),_0x49f745(this,'_socket'),_0x49f745(this,_0x5db054(0x517)),_0x49f745(this,_0x5db054(0x284)),_0x49f745(this,_0x5db054(0x2fa),!0x1),_0x49f745(this,'_telemetryInfo',null),(this[_0x5db054(0x3ac)]=_0x29902b,this['_logService']=_0x25bfad,this['_beforeCloseService']=_0x32af29,this['_messageService']=_0x187e68,this[_0x5db054(0x49c)]=_0x44f94e,this[_0x5db054(0x14b)]=_0x48fb0f,this[_0x5db054(0x225)]=_0x2b3578,this[_0x5db054(0x42e)]=_0x237a93,this[_0x5db054(0x3b1)]=_0x31981c,this[_0x5db054(0x2fa)]=!!this[_0x5db054(0x3b1)],_0x1d71f8[_0x5db054(0x507)](_0x23b07d[_0x5db054(0x285)](this['dispose$']))[_0x5db054(0x1fd)](_0xdc1b58=>{const _0x3a1400=_0x5db054;var _0x5eb3ac;typeof _0xdc1b58>'u'||(this[_0x3a1400(0x2ea)]=_0xdc1b58,_0xdc1b58?(this[_0x3a1400(0x31d)](_0xdc1b58),this[_0x3a1400(0x517)]=_0xdc1b58[_0x3a1400(0x25a)][_0x3a1400(0x1fd)](_0x197854=>{const _0x3c9786=_0x3a1400;_0x197854['routeKey']===this['_unitID']&&this[_0x3c9786(0x53e)](_0x197854);})):(this[_0x3a1400(0x3e8)](),this['_sessionStatus$'][_0x3a1400(0x431)](0x2),(_0x5eb3ac=this['_socketMessageSubscription'])==null||_0x5eb3ac['unsubscribe'](),this[_0x3a1400(0x517)]=null));}),this[_0x5db054(0x45d)](this[_0x5db054(0x213)][_0x5db054(0x17a)](()=>{const _0x157ce7=_0x5db054;var _0x2aa3db;(_0x2aa3db=this[_0x157ce7(0x2ea)])==null||_0x2aa3db['send']({'cmd':_0xbaefb9[_0x157ce7(0x2c9)],'data':{'roomID':this['_unitID']}});})));}get[_0x386947(0x195)](){const _0x217c6e=_0x386947;return this[_0x217c6e(0x4ac)][_0x217c6e(0x441)]();}[_0x386947(0x535)](){const _0x3dd7f5=_0x386947;var _0x57ce61,_0x3c26f7;return(_0x3c26f7=(_0x57ce61=this[_0x3dd7f5(0x2ea)])==null?void 0x0:_0x57ce61[_0x3dd7f5(0x30d)])!=null?_0x3c26f7:null;}[_0x386947(0x351)](){const _0x4a64a7=_0x386947;super[_0x4a64a7(0x351)](),this[_0x4a64a7(0x308)][_0x4a64a7(0x431)](),this[_0x4a64a7(0x308)][_0x4a64a7(0x4cc)]();}[_0x386947(0x232)](){const _0x132a94=_0x386947;var _0x44243e,_0xf73691;this['_throwTelemetryCollaborationNewChangeset'](),(_0x44243e=this[_0x132a94(0x2ea)])==null||_0x44243e['send']({'cmd':_0xbaefb9[_0x132a94(0x2c9)],'data':{'roomID':this[_0x132a94(0x3ac)]}}),(_0xf73691=this[_0x132a94(0x2ea)])==null||_0xf73691[_0x132a94(0x232)](),this[_0x132a94(0x1d2)][_0x132a94(0x4cc)](),this['_sessionStatus$'][_0x132a94(0x4cc)](),this[_0x132a94(0x351)]();}[_0x386947(0x53e)](_0x1623f9){const _0x4b0619=_0x386947;_0x1623f9[_0x4b0619(0x547)]===_0xbaefb9[_0x4b0619(0x533)]?this[_0x4b0619(0x409)](_0x1623f9):_0x1623f9[_0x4b0619(0x547)]===_0xbaefb9[_0x4b0619(0x546)]&&this['_onRecvEvent'](_0x1623f9);}[_0x386947(0x31d)](_0x2aa5bd){const _0x1feb43=_0x386947;this['_sessionStatus$'][_0x1feb43(0x431)](0x1),_0x2aa5bd[_0x1feb43(0x170)]({'cmd':_0xbaefb9['JOIN'],'routeKey':this['_unitID'],'routeType':'','data':{'rooms':[{'roomID':this[_0x1feb43(0x3ac)]}]}});}[_0x386947(0x409)](_0xf4588d){const _0x47b3da=_0x386947;var _0x441345;if(_0xf4588d['code']===_0x30c367[_0x47b3da(0x526)]){this[_0x47b3da(0x1ba)]['show']({'type':_0x4210bc[_0x47b3da(0x1a0)][_0x47b3da(0x361)],'content':this['_localeService']['t']('session.room-full')}),this[_0x47b3da(0x4ac)][_0x47b3da(0x431)](0x2);return;}this[_0x47b3da(0x4ac)][_0x47b3da(0x431)](0x3);const _0x33a668=(_0x441345=_0xf4588d[_0x47b3da(0x4fa)][_0x47b3da(0x1a3)][this[_0x47b3da(0x3ac)]])==null?void 0x0:_0x441345[_0x47b3da(0x28c)];_0x33a668&&_0x33a668[_0x47b3da(0x12e)](_0x9b821e=>this['_memberService'][_0x47b3da(0x312)](this['_unitID'],_0x9b821e));}[_0x386947(0x55e)](_0x1ce0a1){const _0x2bb3ba=_0x386947;try{const _0x19d6d1=_0x1ce0a1[_0x2bb3ba(0x4fa)];switch(_0x19d6d1[_0x2bb3ba(0x28d)]){case _0x5a4440[_0x2bb3ba(0x208)][_0x2bb3ba(0x52b)]:this[_0x2bb3ba(0x562)](_0x19d6d1),this[_0x2bb3ba(0x1d2)][_0x2bb3ba(0x431)](_0x19d6d1);break;case _0x5a4440['CollaborationEvent'][_0x2bb3ba(0x417)]:this['_onUserLeave'](_0x19d6d1),this[_0x2bb3ba(0x1d2)][_0x2bb3ba(0x431)](_0x19d6d1);break;case _0x5a4440[_0x2bb3ba(0x208)][_0x2bb3ba(0x14c)]:this[_0x2bb3ba(0x21f)](),this['_clearCollaborationTimeoutTimer'](),this['_event$'][_0x2bb3ba(0x431)](_0x19d6d1);break;case _0x5a4440[_0x2bb3ba(0x208)][_0x2bb3ba(0x299)]:this['_logService'][_0x2bb3ba(0x271)]('save\x20fail\x20reason\x20is\x20'+JSON[_0x2bb3ba(0x40e)](_0x19d6d1)),this['_event$'][_0x2bb3ba(0x431)](_0x19d6d1);break;case _0x5a4440[_0x2bb3ba(0x208)]['COMMENT_UPDATE']:this[_0x2bb3ba(0x42e)][_0x2bb3ba(0x4ed)](_0x19d6d1[_0x2bb3ba(0x4fa)]),this['_event$']['next'](_0x19d6d1);break;default:this['_event$'][_0x2bb3ba(0x431)](_0x19d6d1);}}catch(_0x4bcf9c){this[_0x2bb3ba(0x468)]['error'](_0x4bcf9c,_0x1ce0a1);}}[_0x386947(0x562)](_0x5eb00b){const _0x16b893=_0x386947;this[_0x16b893(0x225)][_0x16b893(0x312)](this[_0x16b893(0x3ac)],_0x5eb00b[_0x16b893(0x4fa)]);}['_onUserLeave'](_0x563f5e){const _0x45c8a9=_0x386947;this[_0x45c8a9(0x225)][_0x45c8a9(0x3c1)](this[_0x45c8a9(0x3ac)],_0x563f5e[_0x45c8a9(0x4fa)][_0x45c8a9(0x30d)]);}async[_0x386947(0x170)](_0x211de8,_0x55b0ac){const _0x946ec=_0x386947;if(this[_0x946ec(0x195)]!==0x3||!this[_0x946ec(0x2ea)])throw new Error(_0x946ec(0x4fd));try{_0x211de8[_0x946ec(0x28d)]===_0x5a4440[_0x946ec(0x208)]['SUBMIT_CHANGESET']&&(this[_0x946ec(0x551)](),this[_0x946ec(0x25c)](_0x211de8)),this['_socket'][_0x946ec(0x170)]({'cmd':_0xbaefb9[_0x946ec(0x4f2)],'routeKey':_0x55b0ac,'routeType':'','data':_0x211de8});}catch(_0x1db461){this[_0x946ec(0x468)][_0x946ec(0x271)](_0x1db461);}}[_0x386947(0x551)](){const _0xda0c8d=_0x386947;var _0x418df7;this[_0xda0c8d(0x284)]=window['setTimeout'](()=>{const _0x2b5388=_0xda0c8d;this[_0x2b5388(0x284)]=null,this['_messageService'][_0x2b5388(0x500)]({'type':_0x4210bc[_0x2b5388(0x1a0)][_0x2b5388(0x52f)],'content':this[_0x2b5388(0x14b)]['t']('session.collaboration-timeout')});},(_0x418df7=this['_configService'][_0xda0c8d(0x26c)](_0x4a9041))!=null?_0x418df7:0x4e20);}[_0x386947(0x131)](){const _0x3a0b1f=_0x386947;this[_0x3a0b1f(0x284)]&&(clearTimeout(this[_0x3a0b1f(0x284)]),this[_0x3a0b1f(0x284)]=null);}[_0x386947(0x25c)](_0x20aeea){const _0x4235e1=_0x386947;if(!this['_shouldReportTelemetry'])return;const {data:_0x44fee1}=_0x20aeea,{unitID:_0x23230b,changeset:_0x5a9e8f}=_0x44fee1,{mutations:_0x582554,type:_0xc65a57}=_0x5a9e8f;this[_0x4235e1(0x39c)]={'unitId':_0x23230b,'type':_0xc65a57,'startTime':performance[_0x4235e1(0x4a8)](),'stopTime':0x0,'duration':0x0,'size':_0x2c4ed9(_0x582554)};}[_0x386947(0x21f)](){const _0x21c213=_0x386947;if(this[_0x21c213(0x2fa)]){if(!this[_0x21c213(0x39c)]){this[_0x21c213(0x468)]['error'](_0x21c213(0x330),_0x21c213(0x212));return;}this[_0x21c213(0x39c)][_0x21c213(0x2d3)]=performance['now'](),this['_telemetryInfo'][_0x21c213(0x2f5)]=this['_telemetryInfo'][_0x21c213(0x2d3)]-this[_0x21c213(0x39c)][_0x21c213(0x164)],this[_0x21c213(0x3b1)][_0x21c213(0x352)](_0x5a9f3c,this[_0x21c213(0x39c)]),this[_0x21c213(0x39c)]=null;}}[_0x386947(0x3e8)](){const _0x749f2e=_0x386947;this[_0x749f2e(0x39c)]=null;}},_0x2be6ec[_0x386947(0x4ba)]=_0x27f0a6([_0xacc60a(0x2,_0x192dca[_0x386947(0x21e)]),_0xacc60a(0x3,_0x2d5590['IBeforeCloseService']),_0xacc60a(0x4,_0x2d5590['IMessageService']),_0xacc60a(0x5,_0x192dca[_0x386947(0x479)]),_0xacc60a(0x6,_0x192dca[_0x386947(0x25f)](_0x192dca[_0x386947(0x40a)])),_0xacc60a(0x7,_0x192dca[_0x386947(0x25f)](_0x28c292)),_0xacc60a(0x8,_0x192dca[_0x386947(0x25f)](_0x218893)),_0xacc60a(0x9,_0x192dca[_0x386947(0x2a3)](_0xc1b63[_0x386947(0x544)]))],_0x2be6ec[_0x386947(0x4ba)]);var _0x5e0758=Object[_0x386947(0x4dc)],_0x86b57=Object[_0x386947(0x31b)],_0x3f7f5e=(_0x40b450,_0x2e5334,_0x32f968,_0x5274ee)=>{for(var _0x104d65=_0x5274ee>0x1?void 0x0:_0x5274ee?_0x86b57(_0x2e5334,_0x32f968):_0x2e5334,_0x490d0d=_0x40b450['length']-0x1,_0x45ed7d;_0x490d0d>=0x0;_0x490d0d--)(_0x45ed7d=_0x40b450[_0x490d0d])&&(_0x104d65=(_0x5274ee?_0x45ed7d(_0x2e5334,_0x32f968,_0x104d65):_0x45ed7d(_0x104d65))||_0x104d65);return _0x5274ee&&_0x104d65&&_0x5e0758(_0x2e5334,_0x32f968,_0x104d65),_0x104d65;},_0x236916=(_0x422cf7,_0x42a382)=>(_0x4a8132,_0x1aa3a2)=>_0x42a382(_0x4a8132,_0x1aa3a2,_0x422cf7);_0x2be6ec[_0x386947(0x4af)]=class extends _0x192dca['Disposable']{constructor(_0x325f93,_0x3aeb13,_0x2a8ed2,_0x273862,_0x5294b5,_0x27653f){const _0x4aa77c=_0x386947;super(),_0x49f745(this,_0x4aa77c(0x41b),new _0x23b07d[(_0x4aa77c(0x13c))](void 0x0)),_0x49f745(this,_0x4aa77c(0x43c),this[_0x4aa77c(0x41b)]['asObservable']()),_0x49f745(this,'_candidateSocket',null),_0x49f745(this,_0x4aa77c(0x49a),new Map()),_0x49f745(this,_0x4aa77c(0x4ce),new _0x23b07d[(_0x4aa77c(0x13c))](_0x195712[_0x4aa77c(0x387)])),_0x49f745(this,_0x4aa77c(0x3ec),this['_status$'][_0x4aa77c(0x529)]()),_0x49f745(this,_0x4aa77c(0x145),!0x1),_0x49f745(this,_0x4aa77c(0x188)),_0x49f745(this,_0x4aa77c(0x231),0x0),_0x49f745(this,_0x4aa77c(0x416)),_0x49f745(this,_0x4aa77c(0x397)),(this[_0x4aa77c(0x349)]=_0x325f93,this['_localeService']=_0x3aeb13,this[_0x4aa77c(0x1ba)]=_0x2a8ed2,this[_0x4aa77c(0x468)]=_0x273862,this[_0x4aa77c(0x49c)]=_0x5294b5,this[_0x4aa77c(0x19c)]=_0x27653f,this[_0x4aa77c(0x2d4)]());}get['_socket'](){const _0x3afe47=_0x386947;return this[_0x3afe47(0x41b)]['getValue']();}[_0x386947(0x2d4)](){const _0xd6cd76=_0x386947;this['_listenToOfflineEvent'](),this[_0xd6cd76(0x2d8)]();}['dispose'](){const _0x227a93=_0x386947;super['dispose'](),this[_0x227a93(0x49a)][_0x227a93(0x12e)](_0x72371f=>_0x72371f[_0x227a93(0x351)]()),this['_sessions'][_0x227a93(0x472)](),this[_0x227a93(0x4ce)]['complete']();}async[_0x386947(0x4b2)](_0x30e048){const _0x21bc52=_0x386947;if(this[_0x21bc52(0x49a)][_0x21bc52(0x4b1)](_0x30e048))return this[_0x21bc52(0x49a)][_0x21bc52(0x2b1)](_0x30e048);this[_0x21bc52(0x40f)]();const _0x4ee0f7=this[_0x21bc52(0x349)][_0x21bc52(0x303)](_0x2be6ec[_0x21bc52(0x4ba)],_0x30e048,this[_0x21bc52(0x41b)][_0x21bc52(0x529)]());return this['_sessions']['set'](_0x30e048,_0x4ee0f7),_0x4ee0f7;}[_0x386947(0x1d8)](_0x2d54ef){const _0x1487be=_0x386947;var _0x499e8b;const _0x5787d9=this[_0x1487be(0x49a)][_0x1487be(0x2b1)](_0x2d54ef);_0x5787d9&&(this[_0x1487be(0x49a)][_0x1487be(0x1e7)](_0x2d54ef),_0x5787d9['close']()),this[_0x1487be(0x49a)][_0x1487be(0x1bb)]||(_0x499e8b=this[_0x1487be(0x2ea)])==null||_0x499e8b['close']();}[_0x386947(0x35a)](){const _0xf16fb5=_0x386947;this[_0xf16fb5(0x231)]=0x0,this['_retryConnectingTimer']!=null&&(clearTimeout(this['_retryConnectingTimer']),this['_retryConnectingTimer']=null),this['_tryReconnect']();}[_0x386947(0x3c0)](){const _0x2a9540=_0x386947;var _0x4cf4b9,_0xf09dea;const _0x2b55fb=this[_0x2a9540(0x49c)][_0x2a9540(0x26c)](_0x109e46),_0x5bba44=this[_0x2a9540(0x49c)][_0x2a9540(0x26c)](_0x310a31),_0x54dc09=(_0xf09dea=(_0x4cf4b9=_0x5bba44==null?void 0x0:_0x5bba44['collabWebSocketUrl'])!=null?_0x4cf4b9:_0x2b55fb)!=null?_0xf09dea:_0x99509d,_0x3a887f=this['_socketService'][_0x2a9540(0x30a)](_0x54dc09);return this[_0x2a9540(0x45f)]=_0x3a887f,_0x3a887f;}[_0x386947(0x40f)](){const _0xbd1b1b=_0x386947;var _0x1f53cf,_0x4eae4a;try{const _0xb8f212=(_0x4eae4a=(_0x1f53cf=this[_0xbd1b1b(0x2ea)])!=null?_0x1f53cf:this[_0xbd1b1b(0x45f)])!=null?_0x4eae4a:this[_0xbd1b1b(0x3c0)]();if(_0xb8f212){const _0x4c446f=_0xb8f212[_0xbd1b1b(0x170)];_0xb8f212['send']=_0x4860b3=>(this['_rescheduleHeartbeat'](),_0x4c446f[_0xbd1b1b(0x360)](_0xb8f212,[_0x4860b3])),_0xb8f212[_0xbd1b1b(0x25a)][_0xbd1b1b(0x1fd)](_0x1ec01e=>this[_0xbd1b1b(0x49b)](_0xb8f212,_0x1ec01e)),_0xb8f212['error$'][_0xbd1b1b(0x507)](_0x455b28[_0xbd1b1b(0x350)](0x1))[_0xbd1b1b(0x1fd)](_0xebb991=>this[_0xbd1b1b(0x468)][_0xbd1b1b(0x271)](_0xbd1b1b(0x268),_0xebb991)),_0xb8f212[_0xbd1b1b(0x2c8)][_0xbd1b1b(0x507)](_0x455b28[_0xbd1b1b(0x350)](0x1))[_0xbd1b1b(0x1fd)](()=>{const _0x103fe9=_0xbd1b1b;this[_0x103fe9(0x520)](_0xb8f212);}),_0xb8f212[_0xbd1b1b(0x30c)][_0xbd1b1b(0x507)](_0x455b28[_0xbd1b1b(0x350)](0x1))[_0xbd1b1b(0x1fd)](_0x560cc8=>{const _0x7d30d9=_0xbd1b1b;this[_0x7d30d9(0x468)][_0x7d30d9(0x310)](_0x7d30d9(0x42d),_0x7d30d9(0x3ce),_0x560cc8),this[_0x7d30d9(0x39d)]();});}}catch(_0x1e6460){this[_0xbd1b1b(0x468)][_0xbd1b1b(0x271)](_0x1e6460),this[_0xbd1b1b(0x39d)]();}}['_onConnectionOpen'](_0x123165){const _0x753c15=_0x386947;this[_0x753c15(0x468)][_0x753c15(0x310)]('[CollaborationSessionService]','socket\x20open.'),_0x123165[_0x753c15(0x170)]({'cmd':_0xbaefb9[_0x753c15(0x23d)]}),this['_rescheduleHeartbeat']();}[_0x386947(0x1a5)](){const _0x2e4549=_0x386947;window[_0x2e4549(0x2be)]('offline',()=>this[_0x2e4549(0x2f1)]());}[_0x386947(0x2f1)](){const _0x4c76b6=_0x386947;this[_0x4c76b6(0x145)]=!0x1,this[_0x4c76b6(0x45f)]=null,this[_0x4c76b6(0x4ce)]['next'](_0x195712['OFFLINE']),this['_socket$']['next'](null),this[_0x4c76b6(0x4d2)](),this[_0x4c76b6(0x3e6)]();}[_0x386947(0x39d)](){const _0x54befe=_0x386947;var _0x4de7d7;this[_0x54befe(0x2f1)](),this[_0x54befe(0x231)]<((_0x4de7d7=this['_configService'][_0x54befe(0x26c)](_0x2356d6))!=null?_0x4de7d7:0x3)?(this[_0x54befe(0x1ba)]['show']({'key':_0x54befe(0x38e),'type':_0x4210bc[_0x54befe(0x1a0)]['Warning'],'content':this[_0x54befe(0x14b)]['t'](_0x54befe(0x2c3))}),this[_0x54befe(0x304)]()):this[_0x54befe(0x1ba)][_0x54befe(0x500)]({'key':'collaboration-session-retry','type':_0x4210bc[_0x54befe(0x1a0)][_0x54befe(0x52f)],'content':this[_0x54befe(0x14b)]['t'](_0x54befe(0x3e4))});}[_0x386947(0x2d8)](){const _0x51a187=_0x386947,_0x528a9f=()=>{const _0x32911a=_0x3fcf;this['_socket']||this[_0x32911a(0x35a)]();},_0xc32e4d=()=>{const _0x1e7b82=_0x3fcf;this[_0x1e7b82(0x2ea)]||document[_0x1e7b82(0x427)]==='hidden'||this[_0x1e7b82(0x35a)]();};window[_0x51a187(0x2be)](_0x51a187(0x420),_0x528a9f),document[_0x51a187(0x2be)](_0x51a187(0x2fc),_0xc32e4d);}[_0x386947(0x304)](){const _0x51e6e4=_0x386947;var _0x13e4cf;const _0x54bf18=this['_retryCount'],_0x556bea=this['_configService']['getConfig'](_0x310a31),_0x32cf34=_0x54bf18===0x0?0x0:((_0x13e4cf=_0x556bea==null?void 0x0:_0x556bea['retryConnectingInterval'])!=null?_0x13e4cf:0x4e20)*0x2**_0x54bf18;this[_0x51e6e4(0x188)]=window[_0x51e6e4(0x1f9)](()=>{const _0x246d37=_0x51e6e4;clearTimeout(this[_0x246d37(0x188)]),this[_0x246d37(0x188)]=null,this[_0x246d37(0x40f)]();},_0x32cf34),this['_retryCount']+=0x1;}[_0x386947(0x49b)](_0x27a6c9,_0x42fd4a){const _0x513f3b=_0x386947,{cmd:_0x35bc74}=_0x42fd4a;_0x35bc74===_0xbaefb9[_0x513f3b(0x23d)]&&!this['_socketReady']&&(_0x27a6c9[_0x513f3b(0x30d)]=_0x42fd4a['data']['memberID'],this['_socket$'][_0x513f3b(0x431)](_0x27a6c9),this['_status$'][_0x513f3b(0x431)](_0x195712[_0x513f3b(0x1da)]),this[_0x513f3b(0x145)]=!0x0,this[_0x513f3b(0x45f)]=null),_0x35bc74===_0xbaefb9[_0x513f3b(0x405)]&&this['_clearTimeoutTimer'](),this[_0x513f3b(0x1ad)]();}[_0x386947(0x1ad)](){const _0x12d690=_0x386947;var _0x527bf0;this[_0x12d690(0x3e6)](),this[_0x12d690(0x416)]=window[_0x12d690(0x1f9)](()=>this[_0x12d690(0x3c6)](),(_0x527bf0=this[_0x12d690(0x49c)][_0x12d690(0x26c)](_0x224bd5))!=null?_0x527bf0:0x7530);}[_0x386947(0x3c6)](){const _0x4f875f=_0x386947;this[_0x4f875f(0x2ea)][_0x4f875f(0x170)]({'cmd':_0xbaefb9[_0x4f875f(0x405)]}),this[_0x4f875f(0x55a)]();}[_0x386947(0x55a)](){const _0x36c576=_0x386947;var _0x1d981d;this[_0x36c576(0x397)]=window[_0x36c576(0x1f9)](()=>this['_onConnectionFailed'](),(_0x1d981d=this['_configService'][_0x36c576(0x26c)](_0x4a9041))!=null?_0x1d981d:0x4e20);}[_0x386947(0x3e6)](){const _0xa37f2e=_0x386947;this[_0xa37f2e(0x416)]!=null&&(clearTimeout(this[_0xa37f2e(0x416)]),this[_0xa37f2e(0x416)]=null);}[_0x386947(0x4d2)](){const _0x6adf55=_0x386947;this[_0x6adf55(0x397)]!=null&&(clearTimeout(this[_0x6adf55(0x397)]),this[_0x6adf55(0x397)]=null);}},_0x2be6ec['CollaborationSessionService']=_0x3f7f5e([_0x236916(0x0,_0x192dca[_0x386947(0x25f)](_0x192dca[_0x386947(0x13d)])),_0x236916(0x1,_0x192dca['Inject'](_0x192dca[_0x386947(0x40a)])),_0x236916(0x2,_0x2d5590[_0x386947(0x4a9)]),_0x236916(0x3,_0x192dca[_0x386947(0x21e)]),_0x236916(0x4,_0x192dca['IConfigService']),_0x236916(0x5,_0x2eec0b)],_0x2be6ec['CollaborationSessionService']);for(var _0x4d4b05=[],_0x5df03c=0x0;_0x5df03c<0x100;++_0x5df03c)_0x4d4b05[_0x386947(0x3c8)]((_0x5df03c+0x100)['toString'](0x10)[_0x386947(0x2bc)](0x1));function _0x48e166(_0x182c88,_0x264ca4=0x0){return(_0x4d4b05[_0x182c88[_0x264ca4+0x0]]+_0x4d4b05[_0x182c88[_0x264ca4+0x1]]+_0x4d4b05[_0x182c88[_0x264ca4+0x2]]+_0x4d4b05[_0x182c88[_0x264ca4+0x3]]+'-'+_0x4d4b05[_0x182c88[_0x264ca4+0x4]]+_0x4d4b05[_0x182c88[_0x264ca4+0x5]]+'-'+_0x4d4b05[_0x182c88[_0x264ca4+0x6]]+_0x4d4b05[_0x182c88[_0x264ca4+0x7]]+'-'+_0x4d4b05[_0x182c88[_0x264ca4+0x8]]+_0x4d4b05[_0x182c88[_0x264ca4+0x9]]+'-'+_0x4d4b05[_0x182c88[_0x264ca4+0xa]]+_0x4d4b05[_0x182c88[_0x264ca4+0xb]]+_0x4d4b05[_0x182c88[_0x264ca4+0xc]]+_0x4d4b05[_0x182c88[_0x264ca4+0xd]]+_0x4d4b05[_0x182c88[_0x264ca4+0xe]]+_0x4d4b05[_0x182c88[_0x264ca4+0xf]])['toLowerCase']();}var _0x2751eb,_0x295eb9=new Uint8Array(0x10);function _0x4e6817(){const _0x31c574=_0x386947;if(!_0x2751eb&&(_0x2751eb=typeof crypto<'u'&&crypto[_0x31c574(0x328)]&&crypto['getRandomValues'][_0x31c574(0x459)](crypto),!_0x2751eb))throw new Error(_0x31c574(0x55c));return _0x2751eb(_0x295eb9);}var _0x5d3dd9=typeof crypto<'u'&&crypto[_0x386947(0x376)]&&crypto[_0x386947(0x376)]['bind'](crypto);const _0x42fa90={'randomUUID':_0x5d3dd9};function _0x27d974(_0x3d8f9a,_0x359cbe,_0x13923d){const _0x4d433d=_0x386947;if(_0x42fa90[_0x4d433d(0x376)]&&!_0x359cbe&&!_0x3d8f9a)return _0x42fa90[_0x4d433d(0x376)]();_0x3d8f9a=_0x3d8f9a||{};var _0x10f0ba=_0x3d8f9a[_0x4d433d(0x1ac)]||(_0x3d8f9a[_0x4d433d(0x283)]||_0x4e6817)();return _0x10f0ba[0x6]=_0x10f0ba[0x6]&0xf|0x40,_0x10f0ba[0x8]=_0x10f0ba[0x8]&0x3f|0x80,_0x48e166(_0x10f0ba);}var _0x349c8c=Object[_0x386947(0x4dc)],_0x5b276a=Object[_0x386947(0x31b)],_0x1965c9=(_0xcb1379,_0x1ae84b,_0x57299b,_0x147b33)=>{const _0x3c92e6=_0x386947;for(var _0x560d08=_0x147b33>0x1?void 0x0:_0x147b33?_0x5b276a(_0x1ae84b,_0x57299b):_0x1ae84b,_0x2b9bc0=_0xcb1379[_0x3c92e6(0x41d)]-0x1,_0x3d68fe;_0x2b9bc0>=0x0;_0x2b9bc0--)(_0x3d68fe=_0xcb1379[_0x2b9bc0])&&(_0x560d08=(_0x147b33?_0x3d68fe(_0x1ae84b,_0x57299b,_0x560d08):_0x3d68fe(_0x560d08))||_0x560d08);return _0x147b33&&_0x560d08&&_0x349c8c(_0x1ae84b,_0x57299b,_0x560d08),_0x560d08;},_0x4d984a=(_0x36a379,_0x3aa21b)=>(_0x5c8371,_0x1499d5)=>_0x3aa21b(_0x5c8371,_0x1499d5,_0x36a379);let _0x2add1b=class{constructor(_0x4b6761,_0x55eb47,_0x539f74){const _0x33b084=_0x386947;this[_0x33b084(0x349)]=_0x4b6761,this[_0x33b084(0x141)]=_0x55eb47,this['_renderManagerService']=_0x539f74;}[_0x386947(0x1e8)](_0x58e397){const _0x321ba0=_0x386947;this[_0x321ba0(0x3df)](_0x58e397),this[_0x321ba0(0x1f8)](_0x58e397);}[_0x386947(0x443)](_0x25cd69){const _0x263c50=_0x386947,{unitID:_0x373fad}=_0x25cd69,_0x4814c4=this['_renderManagerService']['getRenderById'](_0x373fad)[_0x263c50(0x449)](_0x3f80f2[_0x263c50(0x1bf)]),{redoCache:_0x453606}=_0x4814c4[_0x263c50(0x205)]();if(_0x453606[_0x263c50(0x41d)]===0x0)return _0x25cd69;let _0x61d67c=_0x192dca[_0x263c50(0x4f5)][_0x263c50(0x50a)](_0x25cd69[_0x263c50(0x32f)][0x0]);for(let _0x4d18c7=0x0;_0x4d18c7<_0x453606[_0x263c50(0x41d)];_0x4d18c7++){const _0x2543f6={'id':_0x263c50(0x4c0),'params':{..._0x453606[_0x4d18c7]}},_0x4ff737=this[_0x263c50(0x141)]['transformMutation'](_0x61d67c,_0x2543f6,!0x1);if(_0x5a4440[_0x263c50(0x52e)](_0x4ff737))throw _0x4ff737[_0x263c50(0x271)];_0x61d67c=_0x4ff737[_0x263c50(0x302)];}return{..._0x192dca[_0x263c50(0x4f5)][_0x263c50(0x50a)](_0x25cd69),'mutations':[_0x61d67c]};}['_transformUndoRedoStack'](_0x56ff2b){const _0x2f499b=_0x386947,{unitID:_0x1c7a2c}=_0x56ff2b,_0x42ab44=this[_0x2f499b(0x202)][_0x2f499b(0x407)](_0x1c7a2c)['with'](_0x3f80f2[_0x2f499b(0x1bf)]),{undoCache:_0x31a498,redoCache:_0x4f3d9d}=_0x42ab44[_0x2f499b(0x205)]();if(_0x31a498[_0x2f499b(0x41d)]===0x0||_0x4f3d9d[_0x2f499b(0x41d)]===0x0)return;const _0x2fd878=[],_0x4a5e64=[];let _0x584766=_0x192dca[_0x2f499b(0x4f5)]['deepClone'](_0x56ff2b[_0x2f499b(0x32f)][0x0]),_0x572e21=_0x192dca[_0x2f499b(0x4f5)]['deepClone'](_0x56ff2b[_0x2f499b(0x32f)][0x0]);for(let _0x554130=_0x31a498['length']-0x1;_0x554130>=0x0;_0x554130--){const _0x32080b={'id':_0x2f499b(0x4c0),'params':{..._0x31a498[_0x554130]}},_0x2c5e72={'id':_0x2f499b(0x4c0),'params':{..._0x4f3d9d[_0x554130]}},_0x730f2b=this[_0x2f499b(0x141)]['transformMutation'](_0x584766,_0x32080b,!0x1),_0x4a20b0=this[_0x2f499b(0x141)][_0x2f499b(0x135)](_0x572e21,_0x2c5e72,!0x1);if(_0x5a4440[_0x2f499b(0x52e)](_0x730f2b))throw _0x730f2b[_0x2f499b(0x271)];if(_0x5a4440[_0x2f499b(0x52e)](_0x4a20b0))throw _0x4a20b0['error'];_0x2fd878[_0x2f499b(0x2ef)](_0x730f2b[_0x2f499b(0x48e)][_0x2f499b(0x23a)]),_0x4a5e64[_0x2f499b(0x2ef)](_0x4a20b0[_0x2f499b(0x48e)][_0x2f499b(0x23a)]),_0x584766=_0x730f2b[_0x2f499b(0x302)],_0x572e21=_0x4a20b0[_0x2f499b(0x302)];}_0x42ab44[_0x2f499b(0x395)]({'undoCache':_0x2fd878,'redoCache':_0x4a5e64});}[_0x386947(0x1f8)](_0x45a9cb){const _0x37e815=_0x386947,{unitID:_0x6abc42}=_0x45a9cb,_0x22f7f9=this[_0x37e815(0x202)]['getRenderById'](_0x6abc42)[_0x37e815(0x449)](_0x3f80f2['DocIMEInputManagerService']),_0x15ecb1=_0x22f7f9['getActiveRange']();if(_0x15ecb1==null)return;const _0x11eabf=[{'id':_0x37e815(0x4c0),'params':{'unitId':_0x45a9cb['unitID'],'actions':null,'textRanges':[_0x15ecb1]}}],_0x452af7=this[_0x37e815(0x141)][_0x37e815(0x41a)](_0x45a9cb,_0x11eabf);if(!_0x5a4440['isTransformMutationsWithChangesetSuccess'](_0x452af7))throw _0x452af7[_0x37e815(0x271)];const _0x2c11dc=_0x452af7['m2Prime'][0x0][_0x37e815(0x23a)][_0x37e815(0x1e5)];Array[_0x37e815(0x4d8)](_0x2c11dc)&&_0x2c11dc['length']&&_0x22f7f9[_0x37e815(0x4c9)](_0x2c11dc[0x0]);}};_0x2add1b=_0x1965c9([_0x4d984a(0x0,_0x192dca[_0x386947(0x25f)](_0x192dca[_0x386947(0x13d)])),_0x4d984a(0x1,_0x5a4440[_0x386947(0x25e)]),_0x4d984a(0x2,_0x25d8d8[_0x386947(0x2f0)])],_0x2add1b);var _0x402633=Object[_0x386947(0x4dc)],_0x105ef7=Object[_0x386947(0x31b)],_0x36e733=(_0x49f1ee,_0x5e6783,_0x515ce1,_0x5455b3)=>{const _0x56e677=_0x386947;for(var _0xc01ffb=_0x5455b3>0x1?void 0x0:_0x5455b3?_0x105ef7(_0x5e6783,_0x515ce1):_0x5e6783,_0x1d9569=_0x49f1ee[_0x56e677(0x41d)]-0x1,_0x57c444;_0x1d9569>=0x0;_0x1d9569--)(_0x57c444=_0x49f1ee[_0x1d9569])&&(_0xc01ffb=(_0x5455b3?_0x57c444(_0x5e6783,_0x515ce1,_0xc01ffb):_0x57c444(_0xc01ffb))||_0xc01ffb);return _0x5455b3&&_0xc01ffb&&_0x402633(_0x5e6783,_0x515ce1,_0xc01ffb),_0xc01ffb;},_0xf33085=(_0xe8b881,_0x10af5b)=>(_0x9ffeab,_0x580a28)=>_0x10af5b(_0x9ffeab,_0x580a28,_0xe8b881);_0x2be6ec['LocalCacheService']=class extends _0x192dca[_0x386947(0x43e)]{constructor(_0x37a7ac,_0x2b04f5,_0x3fa5b3,_0x35a6c4,_0x425116){const _0x5e6c2c=_0x386947;super(),_0x49f745(this,_0x5e6c2c(0x505),new Map()),_0x49f745(this,'_saveTaskMap',new Map()),_0x49f745(this,'_disabled',!0x1),(this[_0x5e6c2c(0x49c)]=_0x37a7ac,this[_0x5e6c2c(0x1f7)]=_0x2b04f5,this[_0x5e6c2c(0x213)]=_0x3fa5b3,this['_localeService']=_0x35a6c4,this[_0x5e6c2c(0x566)]=_0x425116,this[_0x5e6c2c(0x147)]());}[_0x386947(0x134)](){const _0x316378=_0x386947;this[_0x316378(0x45e)]=!0x0;}[_0x386947(0x4b6)](){const _0x5a28f2=_0x386947;this[_0x5a28f2(0x45e)]=!0x1;}[_0x386947(0x351)](){const _0x175728=_0x386947;this[_0x175728(0x1f0)]()[_0x175728(0x241)](()=>super['dispose']());}async['loadOfflineData'](_0x248510){const _0x418459=_0x386947;return this[_0x418459(0x45e)]?null:this[_0x418459(0x1f7)][_0x418459(0x471)](_0x570354(_0x248510));}async['saveOfflineData'](_0x30ffe7,_0x12d90e){const _0x225915=_0x386947;return!!this[_0x225915(0x1f7)]['setItem'](_0x30ffe7,_0x12d90e);}['updateOfflineData'](_0x5813b4,_0x2d2884,_0x2835e6,_0x27e68b){const _0x46e265=_0x386947,_0x424b36=this[_0x46e265(0x566)][_0x46e265(0x378)](_0x5813b4);this[_0x46e265(0x505)][_0x46e265(0x504)](_0x5813b4,{'unitID':_0x5813b4,'type':_0x2d2884,'awaitingChangeset':_0x2835e6,'mutations':_0x27e68b,'rev':_0x424b36}),this[_0x46e265(0x3fc)][_0x46e265(0x4b1)](_0x5813b4)||this[_0x46e265(0x43b)](_0x5813b4);}[_0x386947(0x43b)](_0x3ace36){const _0x2c51a0=_0x386947,_0x4b4136=this[_0x2c51a0(0x364)]();_0x4b4136===0x0?this[_0x2c51a0(0x180)](_0x3ace36):this[_0x2c51a0(0x3fc)][_0x2c51a0(0x504)](_0x3ace36,setTimeout(()=>this['_saveCache'](_0x3ace36),_0x4b4136));}[_0x386947(0x364)](){const _0x559eca=_0x386947;var _0xb92e02;return(_0xb92e02=this[_0x559eca(0x49c)][_0x559eca(0x26c)](_0x1ec70c))!=null?_0xb92e02:0x3e8;}['_saveCache'](_0x45eb71){const _0x363e64=_0x386947,_0x51f0d9=this[_0x363e64(0x3fc)][_0x363e64(0x2b1)](_0x45eb71);return _0x51f0d9!==void 0x0&&window[_0x363e64(0x4eb)](_0x51f0d9),this['_localStorageService'][_0x363e64(0x13b)](_0x570354(_0x45eb71),this[_0x363e64(0x505)][_0x363e64(0x2b1)](_0x45eb71))[_0x363e64(0x241)](()=>this[_0x363e64(0x3fc)][_0x363e64(0x1e7)](_0x45eb71));}async[_0x386947(0x1f0)](){const _0x541e22=_0x386947,_0x10819d=[];this[_0x541e22(0x3fc)]['forEach']((_0x4d21da,_0x45704d)=>{const _0x209db8=_0x541e22;window[_0x209db8(0x4eb)](_0x4d21da),_0x10819d[_0x209db8(0x3c8)](this[_0x209db8(0x180)](_0x45704d)[_0x209db8(0x241)](()=>{const _0x110f79=_0x209db8;this[_0x110f79(0x3fc)][_0x110f79(0x1e7)](_0x45704d);}));}),await Promise['all'](_0x10819d);}[_0x386947(0x147)](){const _0x368c6f=_0x386947;this['disposeWithMe'](this['_beforeCloseService'][_0x368c6f(0x39b)](()=>{const _0x508076=_0x368c6f;if(this['_saveTaskMap'][_0x508076(0x1bb)])return this[_0x508076(0x14b)]['t'](_0x508076(0x3f9));}));}},_0x2be6ec[_0x386947(0x4f6)]=_0x36e733([_0xf33085(0x0,_0x192dca['IConfigService']),_0xf33085(0x1,_0x192dca[_0x386947(0x21a)]),_0xf33085(0x2,_0x2d5590[_0x386947(0x3ea)]),_0xf33085(0x3,_0x192dca[_0x386947(0x25f)](_0x192dca[_0x386947(0x40a)])),_0xf33085(0x4,_0x192dca[_0x386947(0x25f)](_0x5a4440['RevisionService']))],_0x2be6ec[_0x386947(0x4f6)]);function _0x570354(_0x34b37c){const _0x3afe92=_0x386947;return _0x3afe92(0x224)+_0x34b37c;}var _0x44251f=Object[_0x386947(0x4dc)],_0x4e5d58=Object[_0x386947(0x31b)],_0x4b702e=(_0x1ff8d9,_0x5eb54e,_0x69f421,_0x40b544)=>{const _0x170667=_0x386947;for(var _0x327391=_0x40b544>0x1?void 0x0:_0x40b544?_0x4e5d58(_0x5eb54e,_0x69f421):_0x5eb54e,_0x269d37=_0x1ff8d9[_0x170667(0x41d)]-0x1,_0x5d57e4;_0x269d37>=0x0;_0x269d37--)(_0x5d57e4=_0x1ff8d9[_0x269d37])&&(_0x327391=(_0x40b544?_0x5d57e4(_0x5eb54e,_0x69f421,_0x327391):_0x5d57e4(_0x327391))||_0x327391);return _0x40b544&&_0x327391&&_0x44251f(_0x5eb54e,_0x69f421,_0x327391),_0x327391;},_0x98c846=(_0x1ba835,_0x488bf6)=>(_0x16ca36,_0x2d4788)=>_0x488bf6(_0x16ca36,_0x2d4788,_0x1ba835);function _0x2d92a2(_0x5ecb28){const _0x2ca1d0=_0x386947,{unitID:_0x5459aa,mutations:_0x2ea197}=_0x5ecb28;return{'unitId':_0x5459aa,'subUnitId':_0x2ea197[0x0][_0x2ca1d0(0x23a)][_0x2ca1d0(0x16d)]};}let _0x4303fc=class{constructor(_0x5e4024,_0x21a83c,_0x585d48){const _0x5a4d7f=_0x386947;this[_0x5a4d7f(0x349)]=_0x5e4024,this[_0x5a4d7f(0x141)]=_0x21a83c,this[_0x5a4d7f(0x287)]=_0x585d48;}[_0x386947(0x216)](_0x4eea69){const _0x2b9dbc=_0x386947;var _0x557368,_0x4a6411,_0x49c88d,_0xa29ad5;const _0x5d0c32=this['_injector'][_0x2b9dbc(0x2b1)](_0x4320c2[_0x2b9dbc(0x1b2)]),{unitId:_0x14dcc2,subUnitId:_0x17e5e3}=_0x2d92a2(_0x4eea69),_0x166b7a=_0x5d0c32[_0x2b9dbc(0x367)](_0x14dcc2)[_0x2b9dbc(0x29c)](),_0x219aa2=(_0x4a6411=(_0x557368=this[_0x2b9dbc(0x287)]['getUnit'](_0x14dcc2))==null?void 0x0:_0x557368[_0x2b9dbc(0x1fb)]())==null?void 0x0:_0x4a6411[_0x2b9dbc(0x399)]();if(_0x166b7a['length']===0x0||!_0x14dcc2||!_0x17e5e3)return;const _0x20cc7d=[{'id':_0x4320c2[_0x2b9dbc(0x230)]['id'],'params':{'unitId':_0x14dcc2,'subUnitId':_0x219aa2,'selections':_0x192dca[_0x2b9dbc(0x4f5)][_0x2b9dbc(0x50a)](_0x166b7a)}}],_0x5db785=this['_transformService'][_0x2b9dbc(0x41a)](_0x4eea69,_0x20cc7d);if(!_0x5a4440[_0x2b9dbc(0x480)](_0x5db785))throw _0x5db785['error'];const _0x477a10=(_0xa29ad5=(_0x49c88d=_0x5db785[_0x2b9dbc(0x48e)][0x0])==null?void 0x0:_0x49c88d[_0x2b9dbc(0x23a)])==null?void 0x0:_0xa29ad5[_0x2b9dbc(0x1bd)];if(Array['isArray'](_0x477a10)&&_0x477a10[_0x2b9dbc(0x41d)]){if(_0x477a10[_0x2b9dbc(0x41d)]===_0x20cc7d[0x0][_0x2b9dbc(0x23a)][_0x2b9dbc(0x1bd)][_0x2b9dbc(0x41d)]&&_0x477a10[_0x2b9dbc(0x269)]((_0x3de231,_0x2788ee)=>_0x192dca[_0x2b9dbc(0x2d0)][_0x2b9dbc(0x276)](_0x3de231[_0x2b9dbc(0x286)],_0x20cc7d[0x0][_0x2b9dbc(0x23a)][_0x2b9dbc(0x1bd)][_0x2788ee][_0x2b9dbc(0x286)])))return;this[_0x2b9dbc(0x349)][_0x2b9dbc(0x2b1)](_0x192dca['ICommandService'])[_0x2b9dbc(0x1d5)](_0x4320c2['SetSelectionsOperation']['id'],{'unitId':_0x14dcc2,'subUnitId':_0x219aa2,'selections':_0x477a10});}}};_0x4303fc=_0x4b702e([_0x98c846(0x0,_0x192dca[_0x386947(0x25f)](_0x192dca[_0x386947(0x13d)])),_0x98c846(0x1,_0x5a4440[_0x386947(0x25e)]),_0x98c846(0x2,_0x192dca[_0x386947(0x21d)])],_0x4303fc);const _0x472d75=_0x192dca[_0x386947(0x27b)](_0x386947(0x373));var _0x5b0e9c=(_0x237556=>(_0x237556[_0x237556[_0x386947(0x51c)]=0x0]=_0x386947(0x51c),_0x237556[_0x237556['OTHER_CLIENTS_EDITING']=0x1]=_0x386947(0x4db),_0x237556))(_0x5b0e9c||{});const _0x41f46b=0x7530,_0xad6352=_0x386947(0x4b7);class _0x21444a extends _0x192dca[_0x386947(0x43e)]{constructor(){const _0x1b9840=_0x386947;super(),_0x49f745(this,'_id',_0x192dca['Tools']['generateRandomId']()),_0x49f745(this,_0x1b9840(0x2bd),new Set()),_0x49f745(this,_0x1b9840(0x18c),new Map()),_0x49f745(this,'_heartbeatTimer',null),_0x49f745(this,_0x1b9840(0x273),new Map()),_0x49f745(this,'_unitStatus',new Map()),this[_0x1b9840(0x24e)]();}[_0x386947(0x351)](){const _0x2c59fd=_0x386947;super['dispose'](),this[_0x2c59fd(0x273)][_0x2c59fd(0x12e)]((_0x5ebbdd,_0x2169d7)=>this['_removeClearOtherTimer'](_0x2169d7)),this['_heartbeatTimer']&&window[_0x2c59fd(0x19f)](this[_0x2c59fd(0x447)]);}[_0x386947(0x316)](_0x421d5b){const _0x2a5d72=_0x386947;return this[_0x2a5d72(0x210)](_0x421d5b)[_0x2a5d72(0x507)](_0x23b07d[_0x2a5d72(0x153)]());}[_0x386947(0x239)](_0x296565){const _0x1d0a41=_0x386947;this[_0x1d0a41(0x2bd)][_0x1d0a41(0x1bb)]===0x0&&this[_0x1d0a41(0x371)](),this['_selfUnitIDs'][_0x1d0a41(0x477)](_0x296565),this[_0x1d0a41(0x3db)]({'type':0x0,'memberID':this[_0x1d0a41(0x331)],'unitIDs':[_0x296565],'isForwarded':!0x1});}['disposeUnit'](_0x5ce639){const _0x51829b=_0x386947;this[_0x51829b(0x2bd)]['delete'](_0x5ce639),this[_0x51829b(0x2bd)][_0x51829b(0x1bb)]===0x0&&this[_0x51829b(0x447)]&&window[_0x51829b(0x19f)](this[_0x51829b(0x447)]);}[_0x386947(0x24e)](){const _0x5cba83=_0x386947;this[_0x5cba83(0x45d)](_0x192dca[_0x5cba83(0x27f)](_0x23b07d['fromEvent'](window,_0x5cba83(0x3f0))[_0x5cba83(0x1fd)](_0x574211=>{const _0x2abd91=_0x5cba83;if(_0x574211[_0x2abd91(0x44e)]!==_0xad6352||!_0x574211['newValue'])return;const _0xe08169=JSON[_0x2abd91(0x3a2)](_0x574211[_0x2abd91(0x148)]);this[_0x2abd91(0x18b)](_0xe08169);}))),window[_0x5cba83(0x2be)](_0x5cba83(0x549),()=>this[_0x5cba83(0x3db)]({'type':0x1,'memberID':this[_0x5cba83(0x331)],'unitIDs':Array[_0x5cba83(0x568)](this[_0x5cba83(0x2bd)])}));}['_handleEvent'](_0xcf66dd){const _0x5c2f52=_0x386947;switch(_0xcf66dd[_0x5c2f52(0x262)]){case 0x0:this[_0x5c2f52(0x1b0)](_0xcf66dd);break;case 0x1:this[_0x5c2f52(0x2a4)](_0xcf66dd);break;case 0x2:this['_handleHeartbeatEvent'](_0xcf66dd);break;}}[_0x386947(0x1b0)](_0x3030fb){const _0x18782b=_0x386947,{unitIDs:_0x5d2784,memberID:_0xec376a,isForwarded:_0xc5e072}=_0x3030fb;_0x5d2784[_0x18782b(0x12e)](_0x166879=>{const _0x223c74=_0x18782b;if(!_0xc5e072&&this[_0x223c74(0x18c)]['has'](_0x166879)&&this[_0x223c74(0x210)](_0x166879)['next'](0x1),!this[_0x223c74(0x18c)]['has'](_0x166879)||!this['_unitOnClients'][_0x223c74(0x2b1)](_0x166879)[_0x223c74(0x4b1)](_0xec376a)){const _0x402de2=this['_unitOnClients'][_0x223c74(0x2b1)](_0x166879)||new Set();_0x402de2['add'](_0xec376a),this['_unitOnClients']['set'](_0x166879,_0x402de2),this[_0x223c74(0x1b1)](_0xec376a);}}),_0xc5e072||this['_send']({'type':0x0,'memberID':this[_0x18782b(0x331)],'unitIDs':[...this[_0x18782b(0x2bd)]],'isForwarded':!0x0});}[_0x386947(0x1b1)](_0x2e0924){const _0xc961be=_0x386947;this[_0xc961be(0x1cf)](_0x2e0924);const _0x37656f=window[_0xc961be(0x1f9)](()=>{this['_unitOnClients']['forEach'](_0x240f8b=>{const _0x29c270=_0x3fcf;_0x240f8b[_0x29c270(0x1e7)](_0x2e0924);});},_0x41f46b*0x2);this[_0xc961be(0x273)][_0xc961be(0x504)](_0x2e0924,_0x37656f);}['_removeClearOtherTimer'](_0x5de092){const _0xedcb6=_0x386947;if(this[_0xedcb6(0x273)][_0xedcb6(0x4b1)](_0x5de092)){const _0x1eef42=this[_0xedcb6(0x273)]['get'](_0x5de092);_0x1eef42&&window[_0xedcb6(0x4eb)](_0x1eef42),this['_clearOtherTimers'][_0xedcb6(0x504)](_0x5de092,null);}}[_0x386947(0x2a4)](_0x1fa1d3){const _0x2ecfb9=_0x386947,{memberID:_0x12168c,unitIDs:_0x2684f8}=_0x1fa1d3;_0x2684f8['forEach'](_0x12b2ed=>{const _0x34aed3=_0x3fcf;var _0x26d521;const _0x12c8cf=this[_0x34aed3(0x18c)][_0x34aed3(0x2b1)](_0x12b2ed);_0x12c8cf&&(_0x12c8cf[_0x34aed3(0x1e7)](_0x12168c),(_0x26d521=this['_ensureSubject'](_0x12b2ed))==null||_0x26d521[_0x34aed3(0x431)](_0x12c8cf['size']===0x0?0x0:0x1));}),this[_0x2ecfb9(0x1cf)](_0x12168c);}['_handleHeartbeatEvent'](_0x1ba115){const _0x4ac175=_0x386947;this[_0x4ac175(0x1b1)](_0x1ba115[_0x4ac175(0x30d)]);}[_0x386947(0x3db)](_0x592945){localStorage['setItem'](_0xad6352,JSON['stringify'](_0x592945));}[_0x386947(0x371)](){const _0x5aad76=_0x386947;this[_0x5aad76(0x447)]=window[_0x5aad76(0x219)](()=>{const _0x48790f=_0x5aad76;this[_0x48790f(0x3db)]({'type':0x2,'memberID':this[_0x48790f(0x331)]});},_0x41f46b);}['_ensureSubject'](_0x5e3cb1){const _0x261505=_0x386947;return this[_0x261505(0x377)][_0x261505(0x4b1)](_0x5e3cb1)||this[_0x261505(0x377)][_0x261505(0x504)](_0x5e3cb1,new _0x23b07d[(_0x261505(0x13c))](0x0)),this[_0x261505(0x377)][_0x261505(0x2b1)](_0x5e3cb1);}}function _0xa43e1c(_0x4a0135){const _0x2ee157=_0x386947;let _0x3a472e='';for(const _0xa7bdc0 of _0x4a0135){const {startOffset:_0x392fa5,endOffset:_0x15380e,isActive:_0x235756}=_0xa7bdc0;_0x3a472e[_0x2ee157(0x41d)]&&(_0x3a472e+=','),_0x3a472e+=_0x392fa5+':'+_0x15380e+':'+(_0x235756?'1':'0');}return _0x3a472e;}function _0x543b1c(_0x3e7fe9){const _0x1040d8=_0x386947,_0x4671c9=_0x3e7fe9[_0x1040d8(0x2fd)](','),_0x486112=[];for(const _0x502e78 of _0x4671c9){const [_0x27e813,_0x297020,_0x3207bf]=_0x502e78['split'](':');_0x486112['push']({'startOffset':Number(_0x27e813),'endOffset':Number(_0x297020),'collapsed':_0x27e813===_0x297020,'isActive':_0x3207bf==='1'});}return _0x486112[_0x1040d8(0x15f)](_0x48b892=>_0x48b892[_0x1040d8(0x4c4)])||(_0x486112[0x0][_0x1040d8(0x4c4)]=!0x0),_0x486112;}class _0x32b4b7 extends _0x192dca[_0x386947(0x44d)]{constructor(){const _0xdcd5dc=_0x386947;super(...arguments),_0x49f745(this,_0xdcd5dc(0x3b6),new _0x23b07d[(_0xdcd5dc(0x13c))](null)),_0x49f745(this,_0xdcd5dc(0x4e5),this[_0xdcd5dc(0x3b6)][_0xdcd5dc(0x529)]());}[_0x386947(0x30e)](_0x2466bb){const _0x513b66=_0x386947,{unitID:_0x2ae236,memberID:_0x535eb8,textRanges:_0x883f4d}=_0x2466bb,_0x4bb2a0=_0xa43e1c(_0x883f4d),_0x355cc4={'unitID':_0x2ae236,'memberID':_0x535eb8,'selection':_0x4bb2a0};this[_0x513b66(0x3b6)][_0x513b66(0x431)](_0x355cc4);}}var _0x3be7a8=Object[_0x386947(0x4dc)],_0x151c7e=Object['getOwnPropertyDescriptor'],_0x3bba5e=(_0x160a79,_0x4f8f95,_0x84e607,_0x5e93d2)=>{const _0x4d7003=_0x386947;for(var _0x3bb722=_0x5e93d2>0x1?void 0x0:_0x5e93d2?_0x151c7e(_0x4f8f95,_0x84e607):_0x4f8f95,_0x56fcaa=_0x160a79[_0x4d7003(0x41d)]-0x1,_0x1cbe40;_0x56fcaa>=0x0;_0x56fcaa--)(_0x1cbe40=_0x160a79[_0x56fcaa])&&(_0x3bb722=(_0x5e93d2?_0x1cbe40(_0x4f8f95,_0x84e607,_0x3bb722):_0x1cbe40(_0x3bb722))||_0x3bb722);return _0x5e93d2&&_0x3bb722&&_0x3be7a8(_0x4f8f95,_0x84e607,_0x3bb722),_0x3bb722;},_0x152d9c=(_0x59741a,_0x3d0122)=>(_0x3908a0,_0x15ea6e)=>_0x3d0122(_0x3908a0,_0x15ea6e,_0x59741a);let _0x1b08c9=class{constructor(_0x1f2fa3,_0x2f2894){const _0x17e423=_0x386947;this['_injector']=_0x1f2fa3,this[_0x17e423(0x141)]=_0x2f2894;}[_0x386947(0x216)](_0x20aee5){const _0x3b4ca0=_0x386947;var _0x118296;const _0x54ca7e=this['_injector']['get'](_0x57ddc3[_0x3b4ca0(0x50e)]),_0x364183=(_0x118296=_0x54ca7e[_0x3b4ca0(0x203)]())!=null?_0x118296:[];if(_0x364183['length']===0x0)return;const _0x344a21=[{'id':_0x3b4ca0(0x4c0),'params':{'unitId':_0x20aee5[_0x3b4ca0(0x4e0)],'actions':null,'textRanges':_0x364183}}],_0x413eeb=this[_0x3b4ca0(0x141)][_0x3b4ca0(0x41a)](_0x20aee5,_0x344a21);if(!_0x5a4440['isTransformMutationsWithChangesetSuccess'](_0x413eeb))throw _0x413eeb[_0x3b4ca0(0x271)];const _0x8b7599=_0x413eeb['m2Prime'][0x0]['params'][_0x3b4ca0(0x1e5)];Array['isArray'](_0x8b7599)&&_0x8b7599[_0x3b4ca0(0x41d)]&&_0x54ca7e[_0x3b4ca0(0x1d1)](_0x8b7599,!0x1);}};_0x1b08c9=_0x3bba5e([_0x152d9c(0x0,_0x192dca[_0x386947(0x25f)](_0x192dca[_0x386947(0x13d)])),_0x152d9c(0x1,_0x5a4440[_0x386947(0x25e)])],_0x1b08c9);const _0x18d294=new Set([_0x4320c2['InsertSheetMutation']['id']]);function _0x164041(_0x7ac80f,_0x188501,_0x5e91b7,_0x4e41e4,_0x372e16){const _0x11c527=_0x386947;var _0x49eefb,_0x48fc5d,_0x2ffeb2,_0xea10c9;const _0x2be1eb=[];for(const _0x587246 of _0x7ac80f)if(_0x18d294[_0x11c527(0x4b1)](_0x587246['id'])){if(_0x2be1eb[_0x11c527(0x41d)]>0x0)break;_0x2be1eb['push'](_0x587246);break;}else _0x2be1eb[_0x11c527(0x3c8)](_0x587246);const _0x274f6f=(_0x48fc5d=(_0x49eefb=_0x372e16[_0x11c527(0x305)]())==null?void 0x0:_0x49eefb[_0x11c527(0x1ed)])!=null?_0x48fc5d:'unknown',_0x154609=(_0xea10c9=(_0x2ffeb2=_0x372e16[_0x11c527(0x305)]())==null?void 0x0:_0x2ffeb2['memberID'])!=null?_0xea10c9:_0x11c527(0x199);return{'changeset':{'unitID':_0x188501,'type':_0x5a4440[_0x11c527(0x192)](_0x5e91b7[_0x11c527(0x4d1)](_0x188501)),'baseRev':_0x4e41e4['getCurrentRevOfUnit'](_0x188501),'revision':0x0,'userID':_0x274f6f,'memberID':_0x154609,'mutations':_0x2be1eb},'pendingMutations':_0x7ac80f[_0x11c527(0x2bc)](_0x2be1eb[_0x11c527(0x41d)])};}function _0x56b903(_0x35953f,_0x4d9393,_0xa5fa90,_0x42aaba,_0x115bcb){const _0x4c9246=_0x386947;var _0x8b932b,_0x13c2ea,_0x4d7f4b,_0x4187dc;const _0x5cde3c=[_0x35953f['reduce']((_0x146835,_0x5a23ca)=>{const _0x183b8d=_0x3fcf;var _0x45b84f;const {id:_0x98ca59}=_0x146835,{id:_0x10fa74,type:_0x332d87}=_0x5a23ca,_0x4ded9c=(_0x45b84f=_0x146835['params'])!=null?_0x45b84f:{'actions':null},_0x320364=_0x5a23ca['params'];if(_0x98ca59&&_0x98ca59!==_0x10fa74)throw new Error(_0x183b8d(0x392)+_0x98ca59+_0x183b8d(0x26b)+_0x10fa74+'.');return{..._0x146835,'id':_0x10fa74,'type':_0x332d87,'params':{'unitId':_0x320364['unitId'],'textRanges':_0x320364[_0x183b8d(0x1e5)],'actions':_0x192dca[_0x183b8d(0x4ad)][_0x183b8d(0x158)](_0x4ded9c[_0x183b8d(0x37c)],_0x320364[_0x183b8d(0x37c)])}};},{})],_0x539bef=(_0x13c2ea=(_0x8b932b=_0x115bcb[_0x4c9246(0x305)]())==null?void 0x0:_0x8b932b[_0x4c9246(0x1ed)])!=null?_0x13c2ea:_0x4c9246(0x199),_0x162162=(_0x4187dc=(_0x4d7f4b=_0x115bcb[_0x4c9246(0x305)]())==null?void 0x0:_0x4d7f4b[_0x4c9246(0x30d)])!=null?_0x4187dc:_0x4c9246(0x199);return{'changeset':{'unitID':_0x4d9393,'type':_0x5a4440[_0x4c9246(0x192)](_0xa5fa90[_0x4c9246(0x4d1)](_0x4d9393)),'baseRev':_0x42aaba[_0x4c9246(0x378)](_0x4d9393),'revision':0x0,'userID':_0x539bef,'memberID':_0x162162,'mutations':_0x5cde3c},'pendingMutations':[]};}const _0x3a4a7d={'id':_0x4320c2[_0x386947(0x24c)]['id'],'type':_0x192dca[_0x386947(0x2c7)][_0x386947(0x1d0)],'params':{}};var _0x11a74b=Object[_0x386947(0x4dc)],_0x25023f=Object['getOwnPropertyDescriptor'],_0x3c9983=(_0x37f375,_0x1ef9ee,_0x4d6cd3,_0x116a34)=>{const _0x48298a=_0x386947;for(var _0x27c3ee=_0x116a34>0x1?void 0x0:_0x116a34?_0x25023f(_0x1ef9ee,_0x4d6cd3):_0x1ef9ee,_0x4139ec=_0x37f375[_0x48298a(0x41d)]-0x1,_0x409a25;_0x4139ec>=0x0;_0x4139ec--)(_0x409a25=_0x37f375[_0x4139ec])&&(_0x27c3ee=(_0x116a34?_0x409a25(_0x1ef9ee,_0x4d6cd3,_0x27c3ee):_0x409a25(_0x27c3ee))||_0x27c3ee);return _0x116a34&&_0x27c3ee&&_0x11a74b(_0x1ef9ee,_0x4d6cd3,_0x27c3ee),_0x27c3ee;},_0x55afad=(_0x2368b6,_0x1513b5)=>(_0x368887,_0x5c8d05)=>_0x1513b5(_0x368887,_0x5c8d05,_0x2368b6),_0x500154=(_0x3a3ea9=>(_0x3a3ea9[_0x386947(0x398)]=_0x386947(0x17b),_0x3a3ea9['SYNCED']='synced',_0x3a3ea9[_0x386947(0x1ae)]=_0x386947(0x311),_0x3a3ea9[_0x386947(0x1d6)]='awaiting',_0x3a3ea9[_0x386947(0x272)]=_0x386947(0x455),_0x3a3ea9['FETCH_MISS']='fetch_missing',_0x3a3ea9[_0x386947(0x53f)]=_0x386947(0x3dc),_0x3a3ea9['OFFLINE']=_0x386947(0x54a),_0x3a3ea9))(_0x500154||{});class _0x11f155{constructor(_0x2bfdbf,_0x5069b9,_0xe248ab,_0x2e874d,_0x38ef64,_0x168c2b,_0x3593b8,_0x5e64ba,_0x3d4107){const _0x363c46=_0x386947;_0x49f745(this,_0x363c46(0x327),null),_0x49f745(this,_0x363c46(0x49e),[]),(this[_0x363c46(0x4e0)]=_0x2bfdbf,this[_0x363c46(0x262)]=_0x5069b9,this[_0x363c46(0x22b)]=_0x38ef64,this[_0x363c46(0x4d5)]=_0x168c2b,this[_0x363c46(0x2a5)]=_0x3593b8,this['_revisionService']=_0x5e64ba,this['_localCacheService']=_0x3d4107,this[_0x363c46(0x327)]=_0xe248ab,this[_0x363c46(0x49e)]=_0x2e874d);}['_checkMissing'](_0x3f2d6a){const _0x404b15=_0x386947,_0x2f7eed=this[_0x404b15(0x566)][_0x404b15(0x378)](this['unitID']);return _0x3f2d6a[_0x404b15(0x545)]>_0x2f7eed+0x1?(this[_0x404b15(0x22b)][_0x404b15(0x555)]({'from':_0x2f7eed,'to':_0x3f2d6a['revision']-0x1}),!0x0):!0x1;}[_0x386947(0x425)](_0x1abea){const _0x473ceb=_0x386947;this['_undoRedoService'][_0x473ceb(0x194)](this['unitID'],_0x1abea);}[_0x386947(0x34d)](_0x20f880){const _0x1dca9e=_0x386947;var _0xfcd264,_0x32400e;(_0x32400e=(_0xfcd264=this[_0x1dca9e(0x22b)])['onTransformSelections'])==null||_0x32400e[_0x1dca9e(0x438)](_0xfcd264,_0x20f880);}[_0x386947(0x493)](_0x78d92d){const _0x15f72b=_0x386947;var _0x354d42,_0x326bab;return(_0x326bab=(_0x354d42=this['_handler'])[_0x15f72b(0x4ca)])==null?void 0x0:_0x326bab['call'](_0x354d42,_0x78d92d);}[_0x386947(0x317)](_0x1bac95){const _0x5aab0a=_0x386947;var _0x39ca65,_0x4b06b2,_0x3e0ed4;return(_0x3e0ed4=(_0x4b06b2=(_0x39ca65=this[_0x5aab0a(0x22b)])[_0x5aab0a(0x14d)])==null?void 0x0:_0x4b06b2['call'](_0x39ca65,_0x1bac95))!=null?_0x3e0ed4:_0x1bac95;}['_syncEditingCollabCursor'](_0x4d30f5){const _0x502c33=_0x386947;var _0x3b28e4,_0x7c88f8;if(this[_0x502c33(0x262)]===_0x54e2db['UNIVER_DOC']){const {unitID:_0x5a8dbb,mutations:_0x617b3e,memberID:_0x8fec34}=_0x4d30f5,_0x4153c6=_0x617b3e[0x0][_0x502c33(0x23a)]['textRanges'];Array['isArray'](_0x4153c6)&&_0x4153c6[_0x502c33(0x41d)]>0x0&&((_0x7c88f8=(_0x3b28e4=this['_handler'])[_0x502c33(0x51e)])==null||_0x7c88f8[_0x502c33(0x438)](_0x3b28e4,{'unitID':_0x5a8dbb,'memberID':_0x8fec34,'textRanges':_0x4153c6}));}}['_updateLocalCache'](){const _0x546c1b=_0x386947;this['_localCacheService'][_0x546c1b(0x2a6)](this[_0x546c1b(0x4e0)],this[_0x546c1b(0x262)],this[_0x546c1b(0x327)],this[_0x546c1b(0x49e)]);}['_getCurrentRevision'](){const _0x41cae5=_0x386947;return this[_0x41cae5(0x566)][_0x41cae5(0x378)](this[_0x41cae5(0x4e0)]);}[_0x386947(0x1e2)](){const _0x504c19=_0x386947;this[_0x504c19(0x566)][_0x504c19(0x513)](this[_0x504c19(0x4e0)]);}['_executeRemoteChangeset'](_0x2467b9){const _0x54f739=_0x386947;var _0x4afe95;const _0x280674=this[_0x54f739(0x317)](_0x2467b9),_0x1fe6d0=_0x192dca[_0x54f739(0x1e0)](_0x280674[_0x54f739(0x32f)],this['_commandService'],{'fromCollab':!0x0});if(!_0x1fe6d0[_0x54f739(0x491)])throw _0x1fe6d0['error']instanceof Error?_0x1fe6d0['error']:new Error((_0x4afe95=_0x1fe6d0[_0x54f739(0x271)])!=null?_0x4afe95:_0x54f739(0x228));this[_0x54f739(0x493)](_0x280674),this[_0x54f739(0x425)](_0x2467b9),this[_0x54f739(0x34d)](_0x280674),this[_0x54f739(0x156)](_0x280674),this[_0x54f739(0x1e2)]();}}let _0x4e0806=class extends _0x11f155{constructor(_0x39e3b2,_0x3cb42b,_0x7aa20,_0x35caa9,_0x468553,_0x1384c9,_0x3d025d,_0x5315e0,_0x25c2b4,_0x4fc925){const _0x21f6db=_0x386947;super(_0x39e3b2,_0x3cb42b,null,[],_0x7aa20,_0x5315e0,_0x3d025d,_0x35caa9,_0x468553),_0x49f745(this,'status',_0x21f6db(0x523)),(this['_injector']=_0x1384c9,this['_logService']=_0x25c2b4,this[_0x21f6db(0x141)]=_0x4fc925);}['appendMutation'](_0x54a4b5){const _0x32f689=_0x386947,_0xd5f1ee=this[_0x32f689(0x349)]['createInstance'](_0x4e04f8,this[_0x32f689(0x4e0)],this[_0x32f689(0x262)],[_0x54a4b5],this[_0x32f689(0x22b)]);return _0xd5f1ee[_0x32f689(0x181)](),_0xd5f1ee[_0x32f689(0x554)](),_0xd5f1ee;}['onRemoteChangeset'](_0x25b07c){const _0x39a366=_0x386947;if(this[_0x39a366(0x1c2)](_0x25b07c))return this['_injector'][_0x39a366(0x303)](_0x2e4b9d,this[_0x39a366(0x4e0)],this[_0x39a366(0x262)],null,[],null,[_0x25b07c],this[_0x39a366(0x22b)]);try{const _0x35445d=this[_0x39a366(0x141)]['transformMutationsWithChangeset'](_0x25b07c,[_0x3a4a7d]);if(_0x5a4440[_0x39a366(0x480)](_0x35445d)){const {c1Prime:_0x558f58}=_0x35445d;return this[_0x39a366(0x4a7)](_0x558f58),this;}throw _0x35445d[_0x39a366(0x271)];}catch(_0x1ae54e){return this['_logService'][_0x39a366(0x271)](_0x1ae54e),this[_0x39a366(0x3bc)](!0x1);}}[_0x386947(0x3bc)](_0x5cc849){const _0x5b6765=_0x386947;return this['_injector'][_0x5b6765(0x303)](_0x23a933,this['unitID'],this[_0x5b6765(0x262)],null,[],this[_0x5b6765(0x22b)],_0x5cc849);}[_0x386947(0x2b4)](){const _0x5ef3cb=_0x386947;throw new Error(_0x5ef3cb(0x403));}[_0x386947(0x2af)](){const _0x508b5d=_0x386947;throw new Error(_0x508b5d(0x3e1));}[_0x386947(0x47d)](){const _0x15aa3c=_0x386947;return this['_injector']['createInstance'](_0x75e226,this[_0x15aa3c(0x4e0)],this[_0x15aa3c(0x262)],null,[],this[_0x15aa3c(0x22b)]);}[_0x386947(0x3a8)](){return this;}[_0x386947(0x1ce)](){throw new Error('[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x386947(0x280)](){const _0x5dcc67=_0x386947,_0x976279=this[_0x5dcc67(0x566)][_0x5dcc67(0x378)](this[_0x5dcc67(0x4e0)]);return this['_handler']['onMissingChangesets']({'from':_0x976279,'to':0x0}),this[_0x5dcc67(0x349)][_0x5dcc67(0x303)](_0x2e4b9d,this[_0x5dcc67(0x4e0)],this[_0x5dcc67(0x262)],null,[],null,[],this[_0x5dcc67(0x22b)]);}};_0x4e0806=_0x3c9983([_0x55afad(0x3,_0x192dca['Inject'](_0x5a4440[_0x386947(0x238)])),_0x55afad(0x4,_0x192dca[_0x386947(0x25f)](_0x2be6ec[_0x386947(0x4f6)])),_0x55afad(0x5,_0x192dca[_0x386947(0x25f)](_0x192dca['Injector'])),_0x55afad(0x6,_0x192dca[_0x386947(0x525)]),_0x55afad(0x7,_0x192dca['ICommandService']),_0x55afad(0x8,_0x192dca[_0x386947(0x21e)]),_0x55afad(0x9,_0x5a4440[_0x386947(0x25e)])],_0x4e0806);let _0x4e04f8=class extends _0x11f155{constructor(_0x2897b3,_0x880508,_0x4950a9,_0x260e15,_0x1011b5,_0x449416,_0x3a023a,_0x3fd198,_0x2ea33d,_0x38e6bc,_0x1ff133,_0x42e478,_0x19bd17,_0x2ffe31){const _0x65fb27=_0x386947;super(_0x2897b3,_0x880508,null,_0x4950a9,_0x260e15,_0x38e6bc,_0x2ffe31,_0x449416,_0x3a023a),_0x49f745(this,_0x65fb27(0x15c),_0x65fb27(0x311)),_0x49f745(this,_0x65fb27(0x28a),null),_0x49f745(this,_0x65fb27(0x402),null),(this[_0x65fb27(0x349)]=_0x1011b5,this[_0x65fb27(0x225)]=_0x3fd198,this[_0x65fb27(0x468)]=_0x2ea33d,this[_0x65fb27(0x49c)]=_0x1ff133,this[_0x65fb27(0x141)]=_0x42e478,this['_univerInstanceService']=_0x19bd17);}[_0x386947(0x1cb)](_0x354785){const _0x265bb4=_0x386947;return this['_pendingMutations'][_0x265bb4(0x3c8)](_0x354785),this[_0x265bb4(0x554)](),this;}['onRemoteChangeset'](_0x364f65){const _0x2b80b5=_0x386947;if(this[_0x2b80b5(0x1c2)](_0x364f65))return this[_0x2b80b5(0x3f8)](),this[_0x2b80b5(0x349)]['createInstance'](_0x2e4b9d,this[_0x2b80b5(0x4e0)],this[_0x2b80b5(0x262)],null,this['_pendingMutations'],null,[_0x364f65],this[_0x2b80b5(0x22b)]);try{const _0x3cb9ac=this['_transformService'][_0x2b80b5(0x41a)](_0x364f65,this['_pendingMutations']);if(_0x5a4440[_0x2b80b5(0x480)](_0x3cb9ac)){const {c1Prime:_0x3a0269,m2Prime:_0x1d9532}=_0x3cb9ac;this[_0x2b80b5(0x4a7)](_0x3a0269);const _0x338fb8=this['_injector'][_0x2b80b5(0x303)](_0x4e04f8,this[_0x2b80b5(0x4e0)],this[_0x2b80b5(0x262)],_0x1d9532,this[_0x2b80b5(0x22b)]);return this[_0x2b80b5(0x3f8)](),_0x338fb8[_0x2b80b5(0x181)](this[_0x2b80b5(0x28a)]?Math[_0x2b80b5(0x28b)](0x0,new Date()[_0x2b80b5(0x128)]()-this[_0x2b80b5(0x28a)]):this[_0x2b80b5(0x233)]()),_0x338fb8;}throw _0x3cb9ac[_0x2b80b5(0x271)];}catch(_0x36ceba){return this[_0x2b80b5(0x468)][_0x2b80b5(0x271)](_0x36ceba),this[_0x2b80b5(0x3bc)](!0x1);}}[_0x386947(0x2b4)](){const _0x56d17d=_0x386947;throw new Error(_0x56d17d(0x34a));}['onRemoteRej'](){const _0x4aebbe=_0x386947;throw new Error(_0x4aebbe(0x52c));}[_0x386947(0x47d)](){const _0x1c8906=_0x386947;return this['_clearScheduledTask'](),this[_0x1c8906(0x349)][_0x1c8906(0x303)](_0x75e226,this[_0x1c8906(0x4e0)],this[_0x1c8906(0x262)],null,this[_0x1c8906(0x49e)],this[_0x1c8906(0x22b)]);}[_0x386947(0x3a8)](){return this;}[_0x386947(0x181)](_0x1f5255){const _0x1ce354=_0x386947,_0x2bcf83=_0x1f5255!=null?_0x1f5255:this[_0x1ce354(0x233)]();this['_scheduleTimestamp']=new Date()[_0x1ce354(0x128)](),this[_0x1ce354(0x402)]=window[_0x1ce354(0x1f9)](()=>{const _0x5ec38a=_0x1ce354;this[_0x5ec38a(0x3f8)]();let _0x3c4ada=null;switch(this['type']){case _0x54e2db[_0x5ec38a(0x29f)]:{_0x3c4ada=_0x164041(this[_0x5ec38a(0x49e)],this[_0x5ec38a(0x4e0)],this['_univerInstanceService'],this[_0x5ec38a(0x566)],this['_memberService']);break;}case _0x54e2db[_0x5ec38a(0x51f)]:{this[_0x5ec38a(0x49e)][_0x5ec38a(0x269)](_0xfd0ef2=>_0xfd0ef2['id']===_0x57ddc3[_0x5ec38a(0x309)]['id'])?_0x3c4ada=_0x56b903(this[_0x5ec38a(0x49e)],this[_0x5ec38a(0x4e0)],this[_0x5ec38a(0x36f)],this['_revisionService'],this[_0x5ec38a(0x225)]):_0x3c4ada=_0x164041(this[_0x5ec38a(0x49e)],this[_0x5ec38a(0x4e0)],this[_0x5ec38a(0x36f)],this[_0x5ec38a(0x566)],this['_memberService']);break;}default:throw new Error(_0x5ec38a(0x4f1)+this[_0x5ec38a(0x262)]+_0x5ec38a(0x45c));}const {changeset:_0x5abb0a,pendingMutations:_0xe90430}=_0x3c4ada;this[_0x5ec38a(0x22b)]['onSendChangeset'](_0x5abb0a);const _0x38d265=_0xe90430[_0x5ec38a(0x41d)]?this['_injector'][_0x5ec38a(0x303)](_0x49aeb1,this[_0x5ec38a(0x4e0)],this[_0x5ec38a(0x262)],_0x5abb0a,_0xe90430,this[_0x5ec38a(0x22b)]):this[_0x5ec38a(0x349)][_0x5ec38a(0x303)](_0x5b8334,this[_0x5ec38a(0x4e0)],this[_0x5ec38a(0x262)],_0x5abb0a,this[_0x5ec38a(0x22b)]);_0x38d265[_0x5ec38a(0x554)](),this['_handler'][_0x5ec38a(0x2b2)](this,_0x38d265);},_0x2bcf83);}[_0x386947(0x233)](){const _0x518484=_0x386947;var _0x1f0820;const _0x448dfe=this[_0x518484(0x49c)][_0x518484(0x26c)](_0x310a31);return(_0x1f0820=_0x448dfe==null?void 0x0:_0x448dfe[_0x518484(0x419)])!=null?_0x1f0820:0x7d0;}['resend'](){throw new Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x386947(0x3f8)](){const _0x42b658=_0x386947;this[_0x42b658(0x402)]!=null&&(clearTimeout(this[_0x42b658(0x402)]),this['_sendingTimer']=null);}['_onConflict'](_0x3099f3){const _0x352640=_0x386947;return this[_0x352640(0x3f8)](),this['_injector'][_0x352640(0x303)](_0x23a933,this[_0x352640(0x4e0)],this[_0x352640(0x262)],null,this['_pendingMutations'],this[_0x352640(0x22b)],_0x3099f3);}};_0x4e04f8=_0x3c9983([_0x55afad(0x4,_0x192dca[_0x386947(0x25f)](_0x192dca['Injector'])),_0x55afad(0x5,_0x192dca[_0x386947(0x25f)](_0x5a4440['RevisionService'])),_0x55afad(0x6,_0x192dca[_0x386947(0x25f)](_0x2be6ec['LocalCacheService'])),_0x55afad(0x7,_0x192dca[_0x386947(0x25f)](_0x28c292)),_0x55afad(0x8,_0x192dca['ILogService']),_0x55afad(0x9,_0x192dca[_0x386947(0x4d7)]),_0x55afad(0xa,_0x192dca[_0x386947(0x479)]),_0x55afad(0xb,_0x5a4440[_0x386947(0x25e)]),_0x55afad(0xc,_0x192dca['IUniverInstanceService']),_0x55afad(0xd,_0x192dca['IUndoRedoService'])],_0x4e04f8);let _0x5b8334=class extends _0x11f155{constructor(_0x4f3e1d,_0x21897b,_0x58ef20,_0x1cb6db,_0x3e21a9,_0x5157c3,_0x39dcdc,_0x1648e9,_0x5582a2,_0x3f59d0,_0x42bf2d){const _0x4bbedb=_0x386947;super(_0x4f3e1d,_0x21897b,_0x58ef20,[],_0x1cb6db,_0x1648e9,_0x42bf2d,_0x5157c3,_0x39dcdc),_0x49f745(this,_0x4bbedb(0x15c),_0x4bbedb(0x22a)),(this['_injector']=_0x3e21a9,this['_logService']=_0x5582a2,this['_transformService']=_0x3f59d0);}['appendMutation'](_0x12efff){const _0x3c4116=_0x386947,_0x91bcc4=this[_0x3c4116(0x349)][_0x3c4116(0x303)](_0x49aeb1,this[_0x3c4116(0x4e0)],this[_0x3c4116(0x262)],this[_0x3c4116(0x327)],[_0x12efff],this['_handler']);return _0x91bcc4[_0x3c4116(0x554)](),_0x91bcc4;}[_0x386947(0x3cb)](_0x2b81ae){const _0x331778=_0x386947;if(this['_checkMissing'](_0x2b81ae))return this['_injector'][_0x331778(0x303)](_0x2e4b9d,this[_0x331778(0x4e0)],this[_0x331778(0x262)],this['_awaitingChangeset'],[],null,[_0x2b81ae],this['_handler']);try{const _0x29d30d=this[_0x331778(0x141)]['transformChangesets']([_0x2b81ae],[this[_0x331778(0x327)]],!0x1);if(_0x5a4440[_0x331778(0x391)](_0x29d30d)){const {c1Prime:_0x4d52f3,c2Prime:_0x1d2205}=_0x29d30d;this['_executeRemoteChangeset'](_0x4d52f3[0x0]),_0x1d2205[0x0][_0x331778(0x3d7)]=this[_0x331778(0x221)]();const _0x22a838=this[_0x331778(0x349)]['createInstance'](_0x5b8334,this[_0x331778(0x4e0)],this[_0x331778(0x262)],_0x1d2205[0x0],this['_handler']);return _0x22a838[_0x331778(0x554)](),_0x22a838;}return this[_0x331778(0x3bc)](!0x1);}catch(_0x5e361c){return this[_0x331778(0x468)][_0x331778(0x271)](_0x5e361c),this[_0x331778(0x3bc)](!0x1);}}[_0x386947(0x2b4)](_0x3e1fe6){const _0x3d1b7f=_0x386947,_0x30dbc3=this[_0x3d1b7f(0x566)]['getCurrentRevOfUnit'](this[_0x3d1b7f(0x4e0)]);if(_0x3e1fe6[_0x3d1b7f(0x545)]<_0x30dbc3-0x1)return this;if(this[_0x3d1b7f(0x1c2)](_0x3e1fe6))return this[_0x3d1b7f(0x349)]['createInstance'](_0x2e4b9d,this[_0x3d1b7f(0x4e0)],this[_0x3d1b7f(0x262)],null,[],this['_awaitingChangeset'],[],this[_0x3d1b7f(0x22b)]);this[_0x3d1b7f(0x1e2)]();const _0x411608=this['_injector'][_0x3d1b7f(0x303)](_0x4e0806,this['unitID'],this[_0x3d1b7f(0x262)],this[_0x3d1b7f(0x22b)]);return _0x411608[_0x3d1b7f(0x554)](),_0x411608;}['onRemoteRej'](_0x5164a1){const _0x4875bf=_0x386947;return this[_0x4875bf(0x3bc)](!!(_0x5164a1!=null&&_0x5164a1['isPermissionRej']));}[_0x386947(0x47d)](){const _0x3f702e=_0x386947;return this[_0x3f702e(0x349)][_0x3f702e(0x303)](_0x75e226,this[_0x3f702e(0x4e0)],this[_0x3f702e(0x262)],this[_0x3f702e(0x327)],[],this[_0x3f702e(0x22b)]);}[_0x386947(0x3a8)](){return this;}['resend'](){const _0x10ffe9=_0x386947;this['_handler'][_0x10ffe9(0x246)](this[_0x10ffe9(0x327)]);}[_0x386947(0x3bc)](_0x46a22e){const _0xcd7485=_0x386947;return this[_0xcd7485(0x349)]['createInstance'](_0x23a933,this['unitID'],this['type'],this[_0xcd7485(0x327)],[],this[_0xcd7485(0x22b)],_0x46a22e);}};_0x5b8334=_0x3c9983([_0x55afad(0x4,_0x192dca[_0x386947(0x25f)](_0x192dca['Injector'])),_0x55afad(0x5,_0x192dca[_0x386947(0x25f)](_0x5a4440[_0x386947(0x238)])),_0x55afad(0x6,_0x192dca[_0x386947(0x25f)](_0x2be6ec['LocalCacheService'])),_0x55afad(0x7,_0x192dca[_0x386947(0x4d7)]),_0x55afad(0x8,_0x192dca[_0x386947(0x21e)]),_0x55afad(0x9,_0x5a4440[_0x386947(0x25e)]),_0x55afad(0xa,_0x192dca[_0x386947(0x525)])],_0x5b8334);let _0x49aeb1=class extends _0x11f155{constructor(_0x2bdb24,_0x4de8c1,_0x4b7814,_0x3fa2c3,_0xb6fb25,_0x3a159e,_0xa879c7,_0x4dd29a,_0x577331,_0x49cbca,_0x5547d7,_0x1b83dd){const _0x3163bc=_0x386947;super(_0x2bdb24,_0x4de8c1,_0x4b7814,_0x3fa2c3,_0xb6fb25,_0x577331,_0x1b83dd,_0xa879c7,_0x4dd29a),_0x49f745(this,_0x3163bc(0x15c),'awaiting_with_pending'),(this[_0x3163bc(0x349)]=_0x3a159e,this[_0x3163bc(0x468)]=_0x49cbca,this[_0x3163bc(0x141)]=_0x5547d7);}['appendMutation'](_0x32ac1d){const _0x51fc31=_0x386947;return this['_pendingMutations'][_0x51fc31(0x3c8)](_0x32ac1d),this;}[_0x386947(0x3cb)](_0x4f9ee9){const _0x111a38=_0x386947;if(this[_0x111a38(0x1c2)](_0x4f9ee9))return this[_0x111a38(0x349)]['createInstance'](_0x2e4b9d,this['unitID'],this[_0x111a38(0x262)],this[_0x111a38(0x327)],this['_pendingMutations'],null,[_0x4f9ee9],this[_0x111a38(0x22b)]);try{const _0x835f3a=this['_transformService']['transformChangesets']([_0x4f9ee9],[this['_awaitingChangeset']],!0x1);if(_0x5a4440['isTransformChangesetsSuccess'](_0x835f3a)){const {c1Prime:_0x878cb8,c2Prime:_0x107b53}=_0x835f3a,_0x4c3456=this[_0x111a38(0x141)]['transformMutationsWithChangeset'](_0x878cb8[0x0],this['_pendingMutations']);if(_0x5a4440[_0x111a38(0x480)](_0x4c3456)){const {c1Prime:_0x14d079,m2Prime:_0x571783}=_0x4c3456;return this[_0x111a38(0x4a7)](_0x14d079),_0x107b53[0x0][_0x111a38(0x3d7)]=this[_0x111a38(0x221)](),this[_0x111a38(0x349)][_0x111a38(0x303)](_0x49aeb1,this['unitID'],this[_0x111a38(0x262)],_0x107b53[0x0],_0x571783,this['_handler']);}throw _0x4c3456[_0x111a38(0x271)];}throw _0x835f3a[_0x111a38(0x271)];}catch(_0x40bd8b){return this[_0x111a38(0x468)][_0x111a38(0x271)](_0x40bd8b),this[_0x111a38(0x3bc)](!0x1);}}[_0x386947(0x2b4)](_0x486800){const _0x3f9fad=_0x386947;if(this[_0x3f9fad(0x1c2)](_0x486800))return this[_0x3f9fad(0x349)][_0x3f9fad(0x303)](_0x2e4b9d,this[_0x3f9fad(0x4e0)],this[_0x3f9fad(0x262)],null,this['_pendingMutations'],this[_0x3f9fad(0x327)],[],this[_0x3f9fad(0x22b)]);this[_0x3f9fad(0x1e2)]();const _0x27c506=this[_0x3f9fad(0x349)][_0x3f9fad(0x303)](_0x4e04f8,this[_0x3f9fad(0x4e0)],this[_0x3f9fad(0x262)],this[_0x3f9fad(0x49e)],this[_0x3f9fad(0x22b)]);return _0x27c506['_schedule'](),_0x27c506[_0x3f9fad(0x554)](),_0x27c506;}[_0x386947(0x2af)](_0x3f8354){const _0x5a6a66=_0x386947;return this[_0x5a6a66(0x3bc)](!!(_0x3f8354!=null&&_0x3f8354[_0x5a6a66(0x37f)]));}[_0x386947(0x47d)](){const _0x2b500a=_0x386947;return this['_injector']['createInstance'](_0x75e226,this['unitID'],this[_0x2b500a(0x262)],this['_awaitingChangeset'],this['_pendingMutations'],this[_0x2b500a(0x22b)]);}[_0x386947(0x3a8)](){return this;}['resend'](){const _0x144c37=_0x386947;this[_0x144c37(0x22b)][_0x144c37(0x246)](this[_0x144c37(0x327)]);}[_0x386947(0x3bc)](_0x5b4112){const _0x3c6ba1=_0x386947;return this[_0x3c6ba1(0x349)][_0x3c6ba1(0x303)](_0x23a933,this[_0x3c6ba1(0x4e0)],this[_0x3c6ba1(0x262)],null,this['_pendingMutations'],this[_0x3c6ba1(0x22b)],_0x5b4112);}};_0x49aeb1=_0x3c9983([_0x55afad(0x5,_0x192dca['Inject'](_0x192dca['Injector'])),_0x55afad(0x6,_0x192dca[_0x386947(0x25f)](_0x5a4440['RevisionService'])),_0x55afad(0x7,_0x192dca[_0x386947(0x25f)](_0x2be6ec['LocalCacheService'])),_0x55afad(0x8,_0x192dca['ICommandService']),_0x55afad(0x9,_0x192dca[_0x386947(0x21e)]),_0x55afad(0xa,_0x5a4440['ITransformService']),_0x55afad(0xb,_0x192dca[_0x386947(0x525)])],_0x49aeb1);let _0x23a933=class extends _0x11f155{constructor(_0x595726,_0x8cd895,_0x11d6a3,_0x1640ba,_0x149abf,_0x2a1bbd=!0x1,_0x11c5ee,_0x17f84f,_0x5774aa,_0x1cbe11,_0x43febf,_0x392557,_0x58e99c){const _0x5f2f77=_0x386947;super(_0x595726,_0x8cd895,_0x11d6a3,_0x1640ba,_0x149abf,_0x17f84f,_0x5774aa,_0x43febf,_0x1cbe11),_0x49f745(this,_0x5f2f77(0x15c),_0x5f2f77(0x3dc)),(this[_0x5f2f77(0x165)]=_0x2a1bbd,this[_0x5f2f77(0x393)]=_0x11c5ee,this[_0x5f2f77(0x14b)]=_0x392557,this[_0x5f2f77(0x3d2)]=_0x58e99c,this[_0x5f2f77(0x33d)](),this[_0x5f2f77(0x184)](),this[_0x5f2f77(0x528)]());}['appendMutation'](){return this;}[_0x386947(0x3cb)](){return this;}[_0x386947(0x2b4)](){return this;}[_0x386947(0x2af)](){return this;}[_0x386947(0x47d)](){return this;}['toggleOnline'](){return this;}[_0x386947(0x1ce)](){const _0x530d25=_0x386947;throw new Error(_0x530d25(0x2df));}['_clearLocalCache'](){const _0x4fd5b5=_0x386947;this[_0x4fd5b5(0x389)][_0x4fd5b5(0x2a6)](this[_0x4fd5b5(0x4e0)],this[_0x4fd5b5(0x262)],null,[]);}[_0x386947(0x33d)](){const _0x4d6d88=_0x386947;this[_0x4d6d88(0x165)]?this['_notificationService'][_0x4d6d88(0x500)]({'title':this['_localeService']['t'](_0x4d6d88(0x2e7)),'content':this['_localeService']['t'](_0x4d6d88(0x4ab)),'type':_0x4d6d88(0x271),'duration':0x0}):this['_notificationService'][_0x4d6d88(0x500)]({'title':this['_localeService']['t']('conflict.title'),'content':this[_0x4d6d88(0x14b)]['t'](_0x4d6d88(0x1ea)),'type':'error','duration':0x0});}[_0x386947(0x528)](){const _0x1f36a0=_0x386947;this['_permissionService'][_0x1f36a0(0x259)](new _0x4320c2['WorkbookEditablePermission'](this[_0x1f36a0(0x4e0)])['id'],!0x1);}};_0x23a933=_0x3c9983([_0x55afad(0x6,_0x192dca[_0x386947(0x25f)](_0x192dca[_0x386947(0x561)])),_0x55afad(0x7,_0x192dca[_0x386947(0x4d7)]),_0x55afad(0x8,_0x192dca[_0x386947(0x525)]),_0x55afad(0x9,_0x192dca[_0x386947(0x25f)](_0x2be6ec[_0x386947(0x4f6)])),_0x55afad(0xa,_0x192dca[_0x386947(0x25f)](_0x5a4440[_0x386947(0x238)])),_0x55afad(0xb,_0x192dca[_0x386947(0x25f)](_0x192dca[_0x386947(0x40a)])),_0x55afad(0xc,_0x2d5590[_0x386947(0x3fd)])],_0x23a933);let _0x75e226=class extends _0x11f155{constructor(_0x4185c7,_0x417ac4,_0xac3627,_0x294235,_0x1e782c,_0x3435d0,_0x5157f3,_0x56790b,_0x2412c5,_0x2e5f93){const _0x38d0ca=_0x386947;super(_0x4185c7,_0x417ac4,_0xac3627,_0x294235,_0x1e782c,_0x2412c5,_0x2e5f93,_0x5157f3,_0x56790b),_0x49f745(this,_0x38d0ca(0x15c),_0x38d0ca(0x54a)),this[_0x38d0ca(0x349)]=_0x3435d0;}[_0x386947(0x1cb)](_0x325787){const _0x2542b1=_0x386947;return this[_0x2542b1(0x49e)]['push'](_0x325787),this[_0x2542b1(0x554)](),this;}['onRemoteChangeset'](_0x374de3){const _0x556f5e=_0x386947;throw new Error(_0x556f5e(0x390));}[_0x386947(0x2b4)](){const _0x4c03e1=_0x386947;throw new Error(_0x4c03e1(0x34b));}['onRemoteRej'](){const _0x4fb669=_0x386947;throw new Error(_0x4fb669(0x2c4));}['toggleOffline'](){return this;}[_0x386947(0x3a8)](){const _0x2d09a5=_0x386947,{_injector:_0x2dc46f,_pendingMutations:_0x43134d,_awaitingChangeset:_0x208829,unitID:_0x371a43,_handler:_0x4f113a,type:_0x4009a2}=this,_0x495328=_0x794f91(_0x2dc46f,_0x371a43,_0x4009a2,_0x208829,_0x43134d,_0x4f113a);return _0x495328 instanceof _0x4e04f8?_0x495328[_0x2d09a5(0x181)]():(_0x495328 instanceof _0x49aeb1||_0x495328 instanceof _0x5b8334)&&_0x495328['resend'](),_0x495328;}[_0x386947(0x1ce)](){const _0x2fb58d=_0x386947;throw new Error(_0x2fb58d(0x2a0));}};_0x75e226=_0x3c9983([_0x55afad(0x5,_0x192dca['Inject'](_0x192dca[_0x386947(0x13d)])),_0x55afad(0x6,_0x192dca[_0x386947(0x25f)](_0x5a4440[_0x386947(0x238)])),_0x55afad(0x7,_0x192dca['Inject'](_0x2be6ec[_0x386947(0x4f6)])),_0x55afad(0x8,_0x192dca[_0x386947(0x4d7)]),_0x55afad(0x9,_0x192dca['IUndoRedoService'])],_0x75e226);let _0x2e4b9d=class extends _0x11f155{constructor(_0x3c1696,_0x5592cc,_0x177f02,_0x1a5c07,_0x5dd1cc,_0x5ad194,_0xdb73fb,_0x44c9a0,_0x31c8d6,_0x1d0eba,_0xca6c5b,_0x1e2a3f,_0x51552c,_0x19fb5b){const _0x33bb35=_0x386947;super(_0x3c1696,_0x5592cc,_0x177f02,_0x1a5c07,_0xdb73fb,_0x1e2a3f,_0x51552c,_0x31c8d6,_0x1d0eba),_0x49f745(this,_0x33bb35(0x15c),_0x33bb35(0x4fb)),(this[_0x33bb35(0x1cd)]=_0x5dd1cc,this[_0x33bb35(0x532)]=_0x5ad194,this[_0x33bb35(0x349)]=_0x44c9a0,this['_logService']=_0xca6c5b,this[_0x33bb35(0x141)]=_0x19fb5b);}[_0x386947(0x2fe)](_0x46ce69){const _0x559fb5=_0x386947;try{const _0xffe4b4=[..._0x46ce69,...this[_0x559fb5(0x532)]],_0x3030d6=[this[_0x559fb5(0x327)]||this[_0x559fb5(0x1cd)]][_0x559fb5(0x220)](_0x385170=>!!_0x385170);let _0x12b96a,_0x21c4ee;if(_0x3030d6[_0x559fb5(0x41d)]){const _0x1c6919=this['_transformService'][_0x559fb5(0x264)](_0xffe4b4,_0x3030d6,!0x1);if(!_0x5a4440[_0x559fb5(0x391)](_0x1c6919))throw _0x1c6919['error'];_0x12b96a=_0x1c6919['c1Prime'],_0x21c4ee=_0x1c6919[_0x559fb5(0x249)];}else _0x12b96a=_0xffe4b4,_0x21c4ee=[];let _0x28da42=this[_0x559fb5(0x49e)];_0x12b96a[_0x559fb5(0x12e)](_0x4dfc1c=>{const _0x1f7a7d=_0x559fb5;let _0x2c1843;if(_0x28da42[_0x1f7a7d(0x41d)]){const _0x3cb2ec=this[_0x1f7a7d(0x141)][_0x1f7a7d(0x41a)](_0x4dfc1c,_0x28da42);if(!_0x5a4440['isTransformMutationsWithChangesetSuccess'](_0x3cb2ec))throw _0x3cb2ec['error'];_0x2c1843=_0x3cb2ec[_0x1f7a7d(0x26f)],_0x28da42=_0x3cb2ec[_0x1f7a7d(0x48e)];}else _0x2c1843=_0x4dfc1c;this[_0x1f7a7d(0x4a7)](_0x2c1843);}),this[_0x559fb5(0x1cd)]&&this[_0x559fb5(0x1e2)](),this['_awaitingChangeset']&&_0x21c4ee['length']&&(_0x21c4ee[0x0]['baseRev']=this[_0x559fb5(0x221)]());let _0x5c23e8;if(this['_awaitingChangeset']&&_0x28da42['length']!==0x0)_0x5c23e8=this['_injector'][_0x559fb5(0x303)](_0x49aeb1,this['unitID'],this[_0x559fb5(0x262)],_0x21c4ee[0x0],_0x28da42,this[_0x559fb5(0x22b)]);else{if(this[_0x559fb5(0x327)]&&_0x28da42['length']===0x0)_0x21c4ee[0x0][_0x559fb5(0x3d7)]=this['_getCurrentRevision'](),_0x5c23e8=this[_0x559fb5(0x349)][_0x559fb5(0x303)](_0x5b8334,this['unitID'],this[_0x559fb5(0x262)],_0x21c4ee[0x0],this['_handler']);else{if(_0x28da42['length']!==0x0){const _0x52cc16=this['_injector']['createInstance'](_0x4e04f8,this[_0x559fb5(0x4e0)],this[_0x559fb5(0x262)],_0x28da42,this[_0x559fb5(0x22b)]);_0x52cc16[_0x559fb5(0x181)](),_0x5c23e8=_0x52cc16;}else _0x5c23e8=this['_injector'][_0x559fb5(0x303)](_0x4e0806,this[_0x559fb5(0x4e0)],this[_0x559fb5(0x262)],this[_0x559fb5(0x22b)]);}}return _0x5c23e8['_updateLocalCache'](),_0x5c23e8;}catch(_0x1b1b43){return this['_logService'][_0x559fb5(0x271)]('[FetchMissState]',_0x559fb5(0x3e5),_0x1b1b43),this[_0x559fb5(0x349)][_0x559fb5(0x303)](_0x23a933,this[_0x559fb5(0x4e0)],this['type'],this['_awaitingChangeset'],this[_0x559fb5(0x49e)],this[_0x559fb5(0x22b)],!0x1);}}[_0x386947(0x1ce)](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x386947(0x1cb)](_0x4cdd8e){const _0x2ccb7e=_0x386947;return this['_pendingMutations'][_0x2ccb7e(0x3c8)](_0x4cdd8e),this;}[_0x386947(0x3cb)](_0x26a0c9){const _0x4b0153=_0x386947;return this['_queuedRemoteChangesets'][_0x4b0153(0x3c8)](_0x26a0c9),this;}[_0x386947(0x2b4)](_0x158f13){const _0x142dd3=_0x386947;if(this[_0x142dd3(0x327)])return this['_acknowledgedAwaitingChangeset']=this['_awaitingChangeset'],this['_awaitingChangeset']=null,this;throw new Error('[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!');}['onRemoteRej'](_0x1b8297){const _0x281813=_0x386947;return this[_0x281813(0x3bc)](!!(_0x1b8297!=null&&_0x1b8297[_0x281813(0x37f)]));}[_0x386947(0x47d)](){const _0x1b7f64=_0x386947;return this[_0x1b7f64(0x349)][_0x1b7f64(0x303)](_0x75e226,this['unitID'],this['type'],this['_awaitingChangeset'],this[_0x1b7f64(0x49e)],this[_0x1b7f64(0x22b)]);}['toggleOnline'](){return this;}['_onConflict'](_0x22ed09){const _0x407f5d=_0x386947;return this[_0x407f5d(0x349)]['createInstance'](_0x23a933,this[_0x407f5d(0x4e0)],this[_0x407f5d(0x262)],this[_0x407f5d(0x327)],this[_0x407f5d(0x49e)],this['_handler'],_0x22ed09);}};_0x2e4b9d=_0x3c9983([_0x55afad(0x7,_0x192dca['Inject'](_0x192dca['Injector'])),_0x55afad(0x8,_0x192dca[_0x386947(0x25f)](_0x5a4440['RevisionService'])),_0x55afad(0x9,_0x192dca[_0x386947(0x25f)](_0x2be6ec['LocalCacheService'])),_0x55afad(0xa,_0x192dca['ILogService']),_0x55afad(0xb,_0x192dca[_0x386947(0x4d7)]),_0x55afad(0xc,_0x192dca[_0x386947(0x525)]),_0x55afad(0xd,_0x5a4440[_0x386947(0x25e)])],_0x2e4b9d);function _0x794f91(_0x399990,_0x4d8803,_0x76dfa7,_0x3471d1,_0x246ea3,_0xb0c5b7){const _0x498321=_0x386947;return _0x3471d1&&_0x246ea3[_0x498321(0x41d)]?_0x399990[_0x498321(0x303)](_0x49aeb1,_0x4d8803,_0x76dfa7,_0x3471d1,_0x246ea3,_0xb0c5b7):_0x3471d1?_0x399990[_0x498321(0x303)](_0x5b8334,_0x4d8803,_0x76dfa7,_0x3471d1,_0xb0c5b7):_0x246ea3[_0x498321(0x41d)]?_0x399990[_0x498321(0x303)](_0x4e04f8,_0x4d8803,_0x76dfa7,_0x246ea3,_0xb0c5b7):_0x399990[_0x498321(0x303)](_0x4e0806,_0x4d8803,_0x76dfa7,_0xb0c5b7);}var _0x1db725=Object['defineProperty'],_0x43c99d=Object[_0x386947(0x31b)],_0x5c7367=(_0x295969,_0x5a3b6f,_0x5a613c,_0x2de733)=>{const _0x4084bb=_0x386947;for(var _0x1ed3e4=_0x2de733>0x1?void 0x0:_0x2de733?_0x43c99d(_0x5a3b6f,_0x5a613c):_0x5a3b6f,_0xfcf3f9=_0x295969[_0x4084bb(0x41d)]-0x1,_0x57eb53;_0xfcf3f9>=0x0;_0xfcf3f9--)(_0x57eb53=_0x295969[_0xfcf3f9])&&(_0x1ed3e4=(_0x2de733?_0x57eb53(_0x5a3b6f,_0x5a613c,_0x1ed3e4):_0x57eb53(_0x1ed3e4))||_0x1ed3e4);return _0x2de733&&_0x1ed3e4&&_0x1db725(_0x5a3b6f,_0x5a613c,_0x1ed3e4),_0x1ed3e4;},_0x37c5b2=(_0x5f1850,_0x3eedfe)=>(_0x3c2506,_0xb4a87)=>_0x3eedfe(_0x3c2506,_0xb4a87,_0x5f1850);_0x2be6ec['CollaborationEntity']=class extends _0x192dca[_0x386947(0x44d)]{constructor(_0x1472cc,_0x17a4d1,_0x208315,_0x2a4aa0,_0xeacf4a,_0x2a593f,_0x143e92,_0x1e0e79,_0x5c9cfb,_0xf2728c,_0x17ae69,_0x1c0dee,_0x423579){const _0x10c36c=_0x386947;super(),_0x49f745(this,'_state$',new _0x23b07d[(_0x10c36c(0x13c))](null)),_0x49f745(this,_0x10c36c(0x519),this[_0x10c36c(0x412)]['asObservable']()),_0x49f745(this,_0x10c36c(0x515)),_0x49f745(this,_0x10c36c(0x300),!0x1),_0x49f745(this,_0x10c36c(0x270),''),_0x49f745(this,_0x10c36c(0x217),0x0),_0x49f745(this,_0x10c36c(0x3ec),this[_0x10c36c(0x519)][_0x10c36c(0x507)](_0x23b07d['map'](_0x5dbfc6=>_0x5dbfc6?_0x5dbfc6['status']:_0x500154[_0x10c36c(0x4b3)]),_0x23b07d[_0x10c36c(0x240)](0x1))),_0x49f745(this,_0x10c36c(0x323),!0x1),_0x49f745(this,'_remoteChangesetQueue',[]),(this[_0x10c36c(0x4e0)]=_0x1472cc,this[_0x10c36c(0x275)]=_0x17a4d1,this[_0x10c36c(0x565)]=_0x208315,this[_0x10c36c(0x349)]=_0x2a4aa0,this[_0x10c36c(0x389)]=_0xeacf4a,this[_0x10c36c(0x423)]=_0x2a593f,this[_0x10c36c(0x14b)]=_0x143e92,this['_revisionService']=_0x1e0e79,this['_logService']=_0x5c9cfb,this[_0x10c36c(0x4d5)]=_0xf2728c,this[_0x10c36c(0x1ba)]=_0x17ae69,this['_permissionService']=_0x1c0dee,this[_0x10c36c(0x32b)]=_0x423579);}get[_0x386947(0x2de)](){const _0x219cf5=_0x386947;return this[_0x219cf5(0x515)];}async[_0x386947(0x206)](){const _0x3c4c03=_0x386947;if(this[_0x3c4c03(0x2de)])throw new Error(_0x3c4c03(0x536));await this[_0x3c4c03(0x24e)]();}[_0x386947(0x3ef)](){const _0xe9647d=_0x386947;return this[_0xe9647d(0x300)]=!0x0,_0x192dca[_0xe9647d(0x27f)](()=>{const _0x3dd041=_0xe9647d;this[_0x3dd041(0x300)]=!0x1,this[_0x3dd041(0x2a1)]();});}[_0x386947(0x524)](_0x14485e){const _0x296bd2=_0x386947;this['_state']=_0x14485e,this[_0x296bd2(0x412)][_0x296bd2(0x431)](_0x14485e);}async[_0x386947(0x24e)](){const _0x3e5b7d=_0x386947;var _0x3b815c;this[_0x3e5b7d(0x524)](await this[_0x3e5b7d(0x2f2)]()),this[_0x3e5b7d(0x32b)]&&((_0x3b815c=this['_singleActiveUnitService'])==null||_0x3b815c[_0x3e5b7d(0x239)](this[_0x3e5b7d(0x4e0)]),this[_0x3e5b7d(0x45d)](this[_0x3e5b7d(0x32b)][_0x3e5b7d(0x316)](this['unitID'])[_0x3e5b7d(0x1fd)](_0x8e80cb=>{const _0x3748ff=_0x3e5b7d;this[_0x3748ff(0x468)][_0x3748ff(0x310)]('[CollaborationEntity]','editing\x20status\x20changed\x20to',_0x8e80cb),_0x8e80cb===_0x5b0e9c[_0x3748ff(0x4db)]?(this['_messageService'][_0x3748ff(0x500)]({'content':this[_0x3748ff(0x14b)]['t'](_0x3748ff(0x4a3)),'type':_0x4210bc['MessageType'][_0x3748ff(0x361)]}),this[_0x3748ff(0x393)][_0x3748ff(0x259)](new _0x4320c2['WorkbookEditablePermission'](this[_0x3748ff(0x4e0)])['id'],!0x1)):this[_0x3748ff(0x393)][_0x3748ff(0x259)](new _0x4320c2[(_0x3748ff(0x2dc))](this[_0x3748ff(0x4e0)])['id'],!0x0);})));let _0x5e8b90=!0x1;return this[_0x3e5b7d(0x45d)](this[_0x3e5b7d(0x275)][_0x3e5b7d(0x3b9)][_0x3e5b7d(0x1fd)](_0xc2bbe6=>{const _0x20b610=_0x3e5b7d;_0xc2bbe6===_0x195712[_0x20b610(0x1da)]?this[_0x20b610(0x379)](_0x5e8b90):_0xc2bbe6===_0x195712[_0x20b610(0x4b3)]&&(_0x5e8b90=!0x0,this[_0x20b610(0x261)]());})),this[_0x3e5b7d(0x45d)](this[_0x3e5b7d(0x275)]['event$'][_0x3e5b7d(0x1fd)](_0x8e3e3e=>{const _0x490c31=_0x3e5b7d;try{switch(_0x8e3e3e[_0x490c31(0x28d)]){case _0x5a4440[_0x490c31(0x208)][_0x490c31(0x4de)]:{this[_0x490c31(0x132)](_0x5a4440[_0x490c31(0x237)](_0x8e3e3e[_0x490c31(0x4fa)]));break;}case _0x5a4440['CollaborationEvent']['CHANGESET_ACK']:{this['_onRemoteACK'](_0x8e3e3e['data']);break;}case _0x5a4440[_0x490c31(0x208)][_0x490c31(0x20d)]:{this[_0x490c31(0x4b0)]();break;}case _0x5a4440[_0x490c31(0x208)][_0x490c31(0x450)]:{this[_0x490c31(0x1c0)](_0x8e3e3e['data'][_0x490c31(0x383)][_0x490c31(0x27c)](_0x7f2f78=>_0x5a4440[_0x490c31(0x237)](_0x7f2f78)));break;}case _0x5a4440[_0x490c31(0x208)][_0x490c31(0x3b3)]:this[_0x490c31(0x4b0)]({'isPermissionRej':!0x0});}}catch(_0x32f04e){throw console[_0x490c31(0x271)](_0x490c31(0x1a9),_0x32f04e),_0x32f04e;}})),this['_state'];}[_0x386947(0x495)](){const _0x515b88=_0x386947;this[_0x515b88(0x323)]=!0x1;}[_0x386947(0x17e)](){const _0xfe8cc7=_0x386947;if(this[_0xfe8cc7(0x323)])throw new Error(_0xfe8cc7(0x337));this['_transitionLocked']=!0x0;}[_0x386947(0x4ee)](_0x3fccfb){const _0x4eb387=_0x386947;this['_lockTransition'](),this[_0x4eb387(0x524)](this[_0x4eb387(0x515)][_0x4eb387(0x1cb)](_0x3fccfb)),this[_0x4eb387(0x495)]();}[_0x386947(0x132)](_0x5941d0){const _0x37b656=_0x386947;if(!(_0x5941d0['revision']<=this[_0x37b656(0x566)][_0x37b656(0x378)](this[_0x37b656(0x4e0)]))){if(this[_0x37b656(0x300)]){this[_0x37b656(0x404)][_0x37b656(0x3c8)](_0x5941d0);return;}this[_0x37b656(0x2f8)](_0x5941d0);}}[_0x386947(0x2a1)](){const _0x47dc59=_0x386947;this['_remoteChangesetQueue']['forEach'](_0x29af0d=>this[_0x47dc59(0x2f8)](_0x29af0d)),this[_0x47dc59(0x404)]=[];}['_applyRemoteChangeset'](_0x57bcd2){const _0xc20275=_0x386947,_0x327792=this[_0xc20275(0x423)][_0xc20275(0x518)][_0xc20275(0x179)](this[_0xc20275(0x423)][_0xc20275(0x518)][_0xc20275(0x1a8)]()['COMPRESS_MUTATION_APPLY'])(_0x57bcd2[_0xc20275(0x32f)],null)||_0x57bcd2['mutations'],_0x1ce0ab={..._0x57bcd2,'mutations':_0x327792};this['_lockTransition'](),this[_0xc20275(0x524)](this['_state'][_0xc20275(0x3cb)](_0x1ce0ab)),this[_0xc20275(0x495)]();}[_0x386947(0x44f)](_0x58ecce){const _0x13e013=_0x386947;this[_0x13e013(0x17e)](),this[_0x13e013(0x524)](this['_state']['onRemoteAck'](_0x58ecce)),this[_0x13e013(0x495)]();}['_onRemoteRejected'](_0x5df5b7){const _0x3e5f6d=_0x386947;this[_0x3e5f6d(0x17e)](),this['_updateState'](this[_0x3e5f6d(0x515)][_0x3e5f6d(0x2af)](_0x5df5b7)),this[_0x3e5f6d(0x495)]();}['_onFetchMissResult'](_0x4f1316){const _0x424c83=_0x386947;if(!(this['_state']instanceof _0x2e4b9d))throw new TypeError(_0x424c83(0x4d6));const _0x8735c9=_0x4f1316[_0x424c83(0x27c)](_0x457c54=>{const _0xeedb1d=_0x424c83,_0x494b16=this[_0xeedb1d(0x423)]['interceptor'][_0xeedb1d(0x179)](this[_0xeedb1d(0x423)][_0xeedb1d(0x518)][_0xeedb1d(0x1a8)]()[_0xeedb1d(0x4bd)])(_0x457c54[_0xeedb1d(0x32f)],null)||_0x457c54['mutations'];return{..._0x457c54,'mutations':_0x494b16};});this[_0x424c83(0x17e)](),this['_updateState'](this['_state'][_0x424c83(0x2fe)](_0x8735c9)),this['_unlockTransition']();}[_0x386947(0x261)](){const _0x5dd4d7=_0x386947;this['_lockTransition'](),this['_updateState'](this[_0x5dd4d7(0x515)][_0x5dd4d7(0x47d)]()),this[_0x5dd4d7(0x495)]();}['_toggleOnline'](_0x59bd22=!0x1){const _0x69a58=_0x386947;this[_0x69a58(0x17e)](),this[_0x69a58(0x524)](this[_0x69a58(0x515)][_0x69a58(0x3a8)]()),this[_0x69a58(0x495)]();const _0xacdbc8=this[_0x69a58(0x515)];_0x59bd22&&_0xacdbc8 instanceof _0x4e0806&&(this['_lockTransition'](),this[_0x69a58(0x524)](_0xacdbc8['fetchMiss']()),this[_0x69a58(0x495)]());}async[_0x386947(0x2f2)](){return new Promise(_0x2cde32=>{const _0x25787f=_0x3fcf;this[_0x25787f(0x275)][_0x25787f(0x3b9)]['pipe'](_0x23b07d[_0x25787f(0x350)](0x1))[_0x25787f(0x1fd)](async _0x2300f6=>{const _0x43fa88=_0x25787f;_0x2cde32(await this['_createInitialStateImpl'](_0x2300f6===_0x195712[_0x43fa88(0x1da)]));});});}[_0x386947(0x51d)](){const _0x5c2a97=_0x386947,_0x44098a=this[_0x5c2a97(0x4e0)];return{'onStateChange':(_0x861ae6,_0x6054d9)=>{const _0x444419=_0x5c2a97;if(_0x861ae6!==this[_0x444419(0x515)])throw new Error(_0x444419(0x48f)+_0x861ae6[_0x444419(0x15c)]+_0x444419(0x163)+_0x6054d9[_0x444419(0x15c)]+'\x0aCurrent:\x20'+this[_0x444419(0x515)][_0x444419(0x15c)]);this['_updateState'](_0x6054d9);},'onSendChangeset':_0x562e26=>{const _0x57ba19=_0x5c2a97;_0x562e26[_0x57ba19(0x36c)]||(_0x562e26[_0x57ba19(0x36c)]=this['_changesetSessionId'],_0x562e26[_0x57ba19(0x334)]=++this[_0x57ba19(0x217)]);const _0x3456a5={'eventID':_0x5a4440[_0x57ba19(0x208)][_0x57ba19(0x1f6)],'data':{'unitID':_0x562e26[_0x57ba19(0x4e0)],'unitType':this['_type'],'changeset':_0x562e26,'memberID':this[_0x57ba19(0x275)][_0x57ba19(0x535)]()}};this['session'][_0x57ba19(0x170)](_0x3456a5,this[_0x57ba19(0x4e0)]);},'onMissingChangesets':({from:_0xcaad66,to:_0xbd2819})=>{const _0x45e0a6=_0x5c2a97;this['_logService'][_0x45e0a6(0x310)]('[CollaborationEntity]',_0x45e0a6(0x151)+_0xcaad66+_0x45e0a6(0x481)+_0xbd2819);const _0x2b897a={'eventID':_0x5a4440[_0x45e0a6(0x208)]['FETCH_MISSING'],'data':{'unitID':_0x44098a,'unitType':this['_type'],'from':_0xcaad66,'to':_0xbd2819}};this[_0x45e0a6(0x275)][_0x45e0a6(0x170)](_0x2b897a,this[_0x45e0a6(0x4e0)]);}};}async[_0x386947(0x1f1)](_0x454690){const _0x432e16=_0x386947;var _0x48a96f,_0x5e28ec;const _0x181c1e=await this[_0x432e16(0x389)][_0x432e16(0x155)](this[_0x432e16(0x4e0)]),_0x2a6f5b=(_0x48a96f=_0x181c1e==null?void 0x0:_0x181c1e[_0x432e16(0x32f)])!=null?_0x48a96f:[],_0x418136=(_0x5e28ec=_0x181c1e==null?void 0x0:_0x181c1e[_0x432e16(0x2ed)])!=null?_0x5e28ec:null,_0x50f285=!!(_0x418136!=null&&_0x418136[_0x432e16(0x36c)])&&!!(_0x418136!=null&&_0x418136['reqId']);this[_0x432e16(0x270)]=_0x50f285?_0x418136['sid']:_0x27d974(),this[_0x432e16(0x217)]=_0x50f285?_0x418136[_0x432e16(0x334)]:0x0;const _0x3829d8=this['unitID'];try{this[_0x432e16(0x3d4)](_0x418136,_0x2a6f5b);}catch(_0x4916eb){this[_0x432e16(0x468)][_0x432e16(0x271)](_0x4916eb);}const _0x575872=this[_0x432e16(0x51d)]();if(_0x454690){const _0x3fe4bd=_0x794f91(this[_0x432e16(0x349)],_0x3829d8,this[_0x432e16(0x565)],_0x418136,_0x2a6f5b,_0x575872);return _0x3fe4bd instanceof _0x4e04f8?_0x3fe4bd[_0x432e16(0x181)]():(_0x3fe4bd instanceof _0x49aeb1||_0x3fe4bd instanceof _0x5b8334)&&_0x3fe4bd['resend'](),_0x3fe4bd;}return this[_0x432e16(0x349)]['createInstance'](_0x75e226,_0x3829d8,this['_type'],_0x418136,_0x2a6f5b,_0x575872);}[_0x386947(0x3d4)](_0x576142,_0x3c4632){const _0x204ab1=_0x386947;var _0x2a255b,_0x1f5716;const _0x3d0114=this[_0x204ab1(0x423)][_0x204ab1(0x518)][_0x204ab1(0x179)](this[_0x204ab1(0x423)]['interceptor'][_0x204ab1(0x1a8)]()[_0x204ab1(0x4bd)]);(_0x2a255b=_0x3d0114((_0x576142==null?void 0x0:_0x576142[_0x204ab1(0x32f)])||[],null))==null||_0x2a255b['forEach'](_0x3fc54d=>this[_0x204ab1(0x4d5)][_0x204ab1(0x1d5)](_0x3fc54d['id'],_0x3fc54d[_0x204ab1(0x23a)])),(_0x1f5716=_0x3d0114(_0x3c4632||[],null))==null||_0x1f5716['forEach'](_0x1a3cde=>this[_0x204ab1(0x4d5)][_0x204ab1(0x1d5)](_0x1a3cde['id'],_0x1a3cde[_0x204ab1(0x23a)]));}},_0x2be6ec['CollaborationEntity']=_0x5c7367([_0x37c5b2(0x3,_0x192dca[_0x386947(0x25f)](_0x192dca[_0x386947(0x13d)])),_0x37c5b2(0x4,_0x192dca[_0x386947(0x25f)](_0x2be6ec['LocalCacheService'])),_0x37c5b2(0x5,_0x192dca['Inject'](_0x5a4440[_0x386947(0x1c1)])),_0x37c5b2(0x6,_0x192dca['Inject'](_0x192dca[_0x386947(0x40a)])),_0x37c5b2(0x7,_0x192dca['Inject'](_0x5a4440[_0x386947(0x238)])),_0x37c5b2(0x8,_0x192dca[_0x386947(0x21e)]),_0x37c5b2(0x9,_0x192dca[_0x386947(0x4d7)]),_0x37c5b2(0xa,_0x2d5590[_0x386947(0x4a9)]),_0x37c5b2(0xb,_0x192dca[_0x386947(0x561)]),_0x37c5b2(0xc,_0x192dca[_0x386947(0x2a3)](_0x472d75))],_0x2be6ec[_0x386947(0x2e0)]),_0x2be6ec[_0x386947(0x288)]=class extends _0x2be6ec[_0x386947(0x2e0)]{constructor(_0x1b6935,_0xcc3b93,_0x224c19,_0x5be356,_0x429675,_0x4affcd,_0x106ab5,_0x368d5b,_0x5242d5,_0xa4247d,_0x374dec,_0x2525a6,_0x5dbebc,_0x480dcd,_0x9a177b,_0xbf1e20,_0x267f1a){const _0x2f49bf=_0x386947;super(_0x1b6935,_0x224c19,_0xcc3b93,_0x5be356,_0x429675,_0x4affcd,_0x106ab5,_0x368d5b,_0x5dbebc,_0x480dcd,_0x9a177b,_0xbf1e20,_0x267f1a),this[_0x2f49bf(0x4e0)]=_0x1b6935,this[_0x2f49bf(0x262)]=_0xcc3b93,this[_0x2f49bf(0x37a)]=_0x5242d5,this[_0x2f49bf(0x40d)]=_0xa4247d,this['_docTransformSelectionsService']=_0x374dec,this[_0x2f49bf(0x41c)]=_0x2525a6;}['_createHandler'](){const _0x3cb553=_0x386947,_0x127a7a=super[_0x3cb553(0x51d)]();return _0x127a7a[_0x3cb553(0x4ca)]=_0x47c955=>this[_0x3cb553(0x40d)][_0x3cb553(0x1e8)](_0x47c955),_0x127a7a['onTransformSelections']=_0x1ca3dd=>this['_docTransformSelectionsService'][_0x3cb553(0x216)](_0x1ca3dd),_0x127a7a[_0x3cb553(0x51e)]=_0x254365=>this[_0x3cb553(0x41c)]['syncEditingCollabCursor'](_0x254365),_0x127a7a['onTransformRemoteChangesetByIMECache']=_0x1f0187=>this[_0x3cb553(0x40d)]['transformRemoteChangeset'](_0x1f0187),_0x127a7a;}async[_0x386947(0x24e)](){const _0x3b61b9=_0x386947,_0x276494=await super[_0x3b61b9(0x24e)]();return this[_0x3b61b9(0x37a)][_0x3b61b9(0x424)][_0x3b61b9(0x507)](_0x23b07d[_0x3b61b9(0x285)](this[_0x3b61b9(0x308)]))[_0x3b61b9(0x1fd)](_0x31d664=>{const _0x337539=_0x3b61b9;if(_0x31d664==null)return;const {unitId:_0x1205aa,redoState:_0x19fb13,commandId:_0x1249d7}=_0x31d664;if(_0x1205aa!==this['unitID'])return;const _0x3efd93={'id':_0x1249d7,'type':_0x192dca[_0x337539(0x2c7)]['MUTATION'],'params':{'unitId':_0x1205aa,'actions':_0x19fb13[_0x337539(0x37c)],'textRanges':null}};this[_0x337539(0x4ee)](_0x3efd93);}),_0x276494;}},_0x2be6ec[_0x386947(0x288)]=_0x5c7367([_0x37c5b2(0x3,_0x192dca[_0x386947(0x25f)](_0x192dca[_0x386947(0x13d)])),_0x37c5b2(0x4,_0x192dca['Inject'](_0x2be6ec['LocalCacheService'])),_0x37c5b2(0x5,_0x192dca[_0x386947(0x25f)](_0x5a4440[_0x386947(0x1c1)])),_0x37c5b2(0x6,_0x192dca['Inject'](_0x192dca[_0x386947(0x40a)])),_0x37c5b2(0x7,_0x192dca['Inject'](_0x5a4440['RevisionService'])),_0x37c5b2(0x8,_0x192dca[_0x386947(0x25f)](_0x3f80f2[_0x386947(0x214)])),_0x37c5b2(0x9,_0x192dca[_0x386947(0x25f)](_0x2add1b)),_0x37c5b2(0xa,_0x192dca[_0x386947(0x25f)](_0x1b08c9)),_0x37c5b2(0xb,_0x192dca[_0x386947(0x25f)](_0x32b4b7)),_0x37c5b2(0xc,_0x192dca[_0x386947(0x21e)]),_0x37c5b2(0xd,_0x192dca['ICommandService']),_0x37c5b2(0xe,_0x2d5590['IMessageService']),_0x37c5b2(0xf,_0x192dca[_0x386947(0x561)]),_0x37c5b2(0x10,_0x192dca[_0x386947(0x2a3)](_0x472d75))],_0x2be6ec['DocCollaborationEntity']),_0x2be6ec[_0x386947(0x401)]=class extends _0x2be6ec[_0x386947(0x2e0)]{constructor(_0x4fc451,_0x41eea0,_0x4770ba,_0x216c1c,_0x528727,_0x590040,_0x1663de,_0x4215c2,_0x103382,_0x3e0d76,_0x57723b,_0x5b8ad0,_0x313434,_0x27998e){const _0x5b9586=_0x386947;super(_0x4fc451,_0x4770ba,_0x41eea0,_0x216c1c,_0x528727,_0x590040,_0x1663de,_0x4215c2,_0x3e0d76,_0x57723b,_0x5b8ad0,_0x313434,_0x27998e),this[_0x5b9586(0x4e0)]=_0x4fc451,this[_0x5b9586(0x262)]=_0x41eea0,this['_sheetTransformSelectionsService']=_0x103382;}[_0x386947(0x51d)](){const _0x443b13=_0x386947,_0x47198f=super[_0x443b13(0x51d)]();return _0x47198f[_0x443b13(0x39e)]=_0x150ab3=>this[_0x443b13(0x2e1)]['transformSelections'](_0x150ab3),_0x47198f;}async[_0x386947(0x24e)](){const _0x59b9bc=_0x386947,_0x2b0c6b=await super[_0x59b9bc(0x24e)]();return this['disposeWithMe'](this[_0x59b9bc(0x4d5)][_0x59b9bc(0x394)]((_0x410302,_0xa2285a)=>{const _0x1a9064=_0x59b9bc;if(_0x410302['type']!==_0x192dca[_0x1a9064(0x2c7)]['MUTATION']||_0xa2285a!=null&&_0xa2285a['fromCollab']||_0xa2285a!=null&&_0xa2285a[_0x1a9064(0x355)])return;const _0x2da19d=_0x410302[_0x1a9064(0x23a)];if((_0x2da19d==null?void 0x0:_0x2da19d[_0x1a9064(0x1b6)])!==this[_0x1a9064(0x4e0)])return;const _0x402906=_0x410302,_0x4a4ba1=this[_0x1a9064(0x423)]['interceptor'][_0x1a9064(0x179)](this[_0x1a9064(0x423)][_0x1a9064(0x518)]['getInterceptPoints']()[_0x1a9064(0x187)])([_0x402906],null)||[_0x402906];this[_0x1a9064(0x4ee)](_0x4a4ba1[0x0]);})),_0x2b0c6b;}},_0x2be6ec[_0x386947(0x401)]=_0x5c7367([_0x37c5b2(0x3,_0x192dca['Inject'](_0x192dca[_0x386947(0x13d)])),_0x37c5b2(0x4,_0x192dca[_0x386947(0x25f)](_0x2be6ec[_0x386947(0x4f6)])),_0x37c5b2(0x5,_0x192dca['Inject'](_0x5a4440[_0x386947(0x1c1)])),_0x37c5b2(0x6,_0x192dca[_0x386947(0x25f)](_0x192dca[_0x386947(0x40a)])),_0x37c5b2(0x7,_0x192dca[_0x386947(0x25f)](_0x5a4440[_0x386947(0x238)])),_0x37c5b2(0x8,_0x192dca[_0x386947(0x25f)](_0x4303fc)),_0x37c5b2(0x9,_0x192dca[_0x386947(0x21e)]),_0x37c5b2(0xa,_0x192dca[_0x386947(0x4d7)]),_0x37c5b2(0xb,_0x2d5590[_0x386947(0x4a9)]),_0x37c5b2(0xc,_0x192dca[_0x386947(0x561)]),_0x37c5b2(0xd,_0x192dca[_0x386947(0x2a3)](_0x472d75))],_0x2be6ec[_0x386947(0x401)]);var _0x16a206=Object[_0x386947(0x4dc)],_0x4b5249=Object['getOwnPropertyDescriptor'],_0x3bc779=(_0x5e7bec,_0x5157a3,_0x2cc32a,_0x2dcfcc)=>{const _0x2fa1ce=_0x386947;for(var _0x585c02=_0x2dcfcc>0x1?void 0x0:_0x2dcfcc?_0x4b5249(_0x5157a3,_0x2cc32a):_0x5157a3,_0x1842ec=_0x5e7bec[_0x2fa1ce(0x41d)]-0x1,_0x4f8bd3;_0x1842ec>=0x0;_0x1842ec--)(_0x4f8bd3=_0x5e7bec[_0x1842ec])&&(_0x585c02=(_0x2dcfcc?_0x4f8bd3(_0x5157a3,_0x2cc32a,_0x585c02):_0x4f8bd3(_0x585c02))||_0x585c02);return _0x2dcfcc&&_0x585c02&&_0x16a206(_0x5157a3,_0x2cc32a,_0x585c02),_0x585c02;},_0x293a6f=(_0x4c9a55,_0x24bd51)=>(_0x2ee3ae,_0x4e04f2)=>_0x24bd51(_0x2ee3ae,_0x4e04f2,_0x4c9a55);_0x2be6ec[_0x386947(0x4a1)]=class extends _0x192dca[_0x386947(0x44d)]{constructor(_0x3ad3c1,_0x2fc312,_0xdde348){const _0x55914f=_0x386947;super(),_0x49f745(this,_0x55914f(0x3cd),new Map()),_0x49f745(this,'_entityInit$',new _0x23b07d[(_0x55914f(0x2b6))]()),(this[_0x55914f(0x349)]=_0x3ad3c1,this[_0x55914f(0x2c5)]=_0x2fc312,this[_0x55914f(0x36f)]=_0xdde348,this['_init']());}['dispose'](){const _0x13c125=_0x386947;super['dispose'](),this[_0x13c125(0x3cd)]['forEach'](_0x120122=>_0x120122[_0x13c125(0x351)]()),this[_0x13c125(0x3cd)]['clear']();}[_0x386947(0x4e6)](_0x4a39b9){const _0x4aa7e0=_0x386947;var _0x53d1da;return(_0x53d1da=this[_0x4aa7e0(0x3cd)][_0x4aa7e0(0x2b1)](_0x4a39b9))!=null?_0x53d1da:null;}[_0x386947(0x356)](_0x238141){const _0xf18b6d=_0x386947,_0x1ebf2c=this[_0xf18b6d(0x4e6)](_0x238141);return _0x1ebf2c?_0x23b07d['of'](_0x1ebf2c):this[_0xf18b6d(0x307)][_0xf18b6d(0x507)](_0x455b28[_0xf18b6d(0x220)](_0x5b880f=>_0x5b880f[_0xf18b6d(0x4e0)]===_0x238141));}['_init'](){const _0x4821c2=_0x386947;this[_0x4821c2(0x36f)]['getTypeOfUnitAdded$'](_0x192dca[_0x4821c2(0x277)][_0x4821c2(0x29f)])[_0x4821c2(0x507)](_0x23b07d[_0x4821c2(0x285)](this[_0x4821c2(0x308)]),_0x455b28['delay'](0x10))['subscribe'](async _0x4b3c8f=>{const _0x413146=_0x4821c2,_0x3ebe3d=_0x4b3c8f['getUnitId'](),_0x334bc0=await this[_0x413146(0x2ec)](_0x3ebe3d,_0x54e2db[_0x413146(0x29f)]);this[_0x413146(0x3cd)][_0x413146(0x504)](_0x3ebe3d,_0x334bc0);}),this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x192dca[_0x4821c2(0x277)]['UNIVER_DOC'])[_0x4821c2(0x507)](_0x23b07d[_0x4821c2(0x285)](this[_0x4821c2(0x308)]),_0x455b28[_0x4821c2(0x143)](0x10))[_0x4821c2(0x507)](_0x455b28[_0x4821c2(0x220)](_0xce21=>!_0xce21['getUnitId']()['startsWith']('__')))['subscribe'](async _0x56b452=>{const _0x2e6ab5=_0x4821c2,_0x417367=_0x56b452[_0x2e6ab5(0x2ae)](),_0x5d05a3=await this[_0x2e6ab5(0x2ec)](_0x417367,_0x54e2db[_0x2e6ab5(0x51f)]);this[_0x2e6ab5(0x3cd)][_0x2e6ab5(0x504)](_0x417367,_0x5d05a3);}),_0x23b07d[_0x4821c2(0x169)](this[_0x4821c2(0x36f)][_0x4821c2(0x485)](_0x192dca[_0x4821c2(0x277)][_0x4821c2(0x29f)]),this[_0x4821c2(0x36f)]['getTypeOfUnitDisposed$'](_0x192dca['UniverInstanceType'][_0x4821c2(0x51f)]))[_0x4821c2(0x507)](_0x23b07d[_0x4821c2(0x285)](this[_0x4821c2(0x308)]))[_0x4821c2(0x1fd)](_0x27a62a=>{const _0x21dd3b=_0x4821c2,_0x1e0754=_0x27a62a[_0x21dd3b(0x2ae)](),_0x5c0d0a=this['_entities'][_0x21dd3b(0x2b1)](_0x1e0754);_0x5c0d0a&&(_0x5c0d0a[_0x21dd3b(0x351)](),this['_entities'][_0x21dd3b(0x1e7)](_0x1e0754));});}async[_0x386947(0x2ec)](_0x513180,_0x52f8eb){const _0x1fd160=_0x386947,_0x4c0d06=await this['_collabSessionService'][_0x1fd160(0x4b2)](_0x513180),_0x1d1a8f=this['_injector'][_0x1fd160(0x303)](this['_getCtorByUniverType'](_0x52f8eb),_0x513180,_0x52f8eb,_0x4c0d06);return await _0x1d1a8f[_0x1fd160(0x206)](),this[_0x1fd160(0x307)][_0x1fd160(0x431)](_0x1d1a8f),_0x1d1a8f;}[_0x386947(0x4d4)](_0x1f355f){const _0x4ba042=_0x386947;switch(_0x1f355f){case _0x54e2db[_0x4ba042(0x51f)]:return _0x2be6ec[_0x4ba042(0x288)];case _0x54e2db[_0x4ba042(0x29f)]:return _0x2be6ec['SheetCollaborationEntity'];default:throw new Error(_0x4ba042(0x2c2)+_0x1f355f);}}},_0x2be6ec['CollaborationController']=_0x3bc779([_0x293a6f(0x0,_0x192dca[_0x386947(0x25f)](_0x192dca[_0x386947(0x13d)])),_0x293a6f(0x1,_0x192dca['Inject'](_0x2be6ec['CollaborationSessionService'])),_0x293a6f(0x2,_0x192dca[_0x386947(0x21d)])],_0x2be6ec[_0x386947(0x4a1)]);const _0xad42e1=[_0x386947(0x467),_0x386947(0x542),_0x386947(0x21c),_0x386947(0x2cb),_0x386947(0x483),_0x386947(0x244)];class _0x74a5f8 extends _0x192dca['Disposable']{constructor(){const _0x55c3e6=_0x386947;super(...arguments),_0x49f745(this,_0x55c3e6(0x454),new Map()),_0x49f745(this,_0x55c3e6(0x136),0x0);}[_0x386947(0x25b)](_0x1fec16){const _0x37ede7=_0x386947;if(this[_0x37ede7(0x454)][_0x37ede7(0x4b1)](_0x1fec16))return this[_0x37ede7(0x454)][_0x37ede7(0x2b1)](_0x1fec16);const _0x6857a2=_0xad42e1[this['_colorIndex']];return this[_0x37ede7(0x136)]=(this[_0x37ede7(0x136)]+0x1)%_0xad42e1[_0x37ede7(0x41d)],this[_0x37ede7(0x454)][_0x37ede7(0x504)](_0x1fec16,_0x6857a2),_0x6857a2;}}var _0x2ccffd=Object[_0x386947(0x4dc)],_0x5caaf5=Object[_0x386947(0x31b)],_0x4d5d16=(_0x14f0d9,_0x477192,_0x14e5d9,_0x1cd077)=>{const _0x38a8aa=_0x386947;for(var _0x5a2645=_0x1cd077>0x1?void 0x0:_0x1cd077?_0x5caaf5(_0x477192,_0x14e5d9):_0x477192,_0x5d39d6=_0x14f0d9[_0x38a8aa(0x41d)]-0x1,_0x99c802;_0x5d39d6>=0x0;_0x5d39d6--)(_0x99c802=_0x14f0d9[_0x5d39d6])&&(_0x5a2645=(_0x1cd077?_0x99c802(_0x477192,_0x14e5d9,_0x5a2645):_0x99c802(_0x5a2645))||_0x5a2645);return _0x1cd077&&_0x5a2645&&_0x2ccffd(_0x477192,_0x14e5d9,_0x5a2645),_0x5a2645;},_0x3ad36c=(_0x4a974f,_0x4437f2)=>(_0x3f9c29,_0x50ae79)=>_0x4437f2(_0x3f9c29,_0x50ae79,_0x4a974f);const _0x2c1241=0x12c,_0x921a29=0x64;let _0x2af36b=class extends _0x192dca['RxDisposable']{constructor(_0x2296c3,_0xd95fb3,_0x4f7b65,_0x23c3e7,_0x4482ab,_0xd32996,_0x4b79df,_0x5ed631,_0x3eaacb){const _0x2f1b41=_0x386947;super(),_0x49f745(this,_0x2f1b41(0x16e),!0x1),_0x49f745(this,'_init',!0x1),_0x49f745(this,'_cursorInfo$',new _0x23b07d[(_0x2f1b41(0x13c))](new Map())),_0x49f745(this,_0x2f1b41(0x50c),this[_0x2f1b41(0x474)][_0x2f1b41(0x529)]()),_0x49f745(this,_0x2f1b41(0x3c5),new _0x23b07d[(_0x2f1b41(0x13c))]([])),_0x49f745(this,_0x2f1b41(0x42c),this[_0x2f1b41(0x3c5)]['pipe'](_0x23b07d[_0x2f1b41(0x3e7)](_0x2c1241))),_0x49f745(this,_0x2f1b41(0x506),_0x192dca[_0x2f1b41(0x4df)](_0x5ad72c=>{const _0x53c83c=_0x2f1b41,_0x457724={'eventID':_0x5a4440['CollaborationEvent']['UPDATE_CURSOR'],'data':{'unitID':this[_0x53c83c(0x4e0)],'memberID':this[_0x53c83c(0x47f)][_0x53c83c(0x535)](),'selection':_0xa43e1c(_0x5ad72c)}};this[_0x53c83c(0x47f)][_0x53c83c(0x170)](_0x457724,this[_0x53c83c(0x4e0)]);},_0x921a29)),(this['unitID']=_0x2296c3,this[_0x2f1b41(0x47f)]=_0xd95fb3,this[_0x2f1b41(0x349)]=_0x4f7b65,this[_0x2f1b41(0x171)]=_0x23c3e7,this[_0x2f1b41(0x225)]=_0x4482ab,this[_0x2f1b41(0x1c9)]=_0xd32996,this[_0x2f1b41(0x141)]=_0x4b79df,this[_0x2f1b41(0x36f)]=_0x5ed631,this[_0x2f1b41(0x4d5)]=_0x3eaacb);}get[_0x386947(0x29e)](){const _0x2e493c=_0x386947;return this[_0x2e493c(0x474)]['getValue']();}get[_0x386947(0x3a5)](){const _0x304b89=_0x386947;return this[_0x304b89(0x3c5)][_0x304b89(0x441)]();}[_0x386947(0x351)](){const _0x290334=_0x386947;super[_0x290334(0x351)](),this[_0x290334(0x474)][_0x290334(0x431)](new Map()),this[_0x290334(0x474)]['complete'](),this[_0x290334(0x3c5)][_0x290334(0x431)]([]),this[_0x290334(0x3c5)][_0x290334(0x4cc)]();}[_0x386947(0x206)](){const _0x17b98e=_0x386947;this['_init']||(this[_0x17b98e(0x24e)]=!0x0,this[_0x17b98e(0x47f)]['sessionStatus$'][_0x17b98e(0x507)](_0x23b07d[_0x17b98e(0x285)](this['dispose$']))[_0x17b98e(0x1fd)](_0x1fbb47=>{const _0x26ef5d=_0x17b98e;_0x1fbb47===_0x195712[_0x26ef5d(0x1da)]?this[_0x26ef5d(0x379)]():this[_0x26ef5d(0x261)]();}),this[_0x17b98e(0x47f)][_0x17b98e(0x16c)]['pipe'](_0x23b07d['takeUntil'](this[_0x17b98e(0x308)]))[_0x17b98e(0x1fd)](_0x1e284d=>{const _0x5b3998=_0x17b98e,_0x37b0cc=_0x1e284d['eventID'];_0x37b0cc===_0x5a4440['CollaborationEvent'][_0x5b3998(0x496)]&&this[_0x5b3998(0x557)](_0x1e284d),_0x37b0cc===_0x5a4440['CollaborationEvent'][_0x5b3998(0x417)]&&this[_0x5b3998(0x236)](_0x1e284d);}),this[_0x17b98e(0x45d)](this[_0x17b98e(0x4d5)][_0x17b98e(0x394)](_0x24cfca=>{const _0x5c8cab=_0x17b98e,_0x19750e=_0x24cfca[_0x5c8cab(0x23a)];_0x19750e!=null&&this['_online']&&_0x24cfca['id']===_0x57ddc3[_0x5c8cab(0x411)]['id']&&_0x19750e[_0x5c8cab(0x1b6)]===this[_0x5c8cab(0x4e0)]&&_0x19750e[_0x5c8cab(0x293)]===!0x1&&this[_0x5c8cab(0x506)](_0x19750e[_0x5c8cab(0x4c2)]);})),this['_syncEditingCollabCursorService'][_0x17b98e(0x4e5)]['pipe'](_0x23b07d[_0x17b98e(0x285)](this[_0x17b98e(0x308)]))[_0x17b98e(0x1fd)](_0x197e51=>{const _0x3b9ab0=_0x17b98e;if((_0x197e51==null?void 0x0:_0x197e51[_0x3b9ab0(0x4e0)])!==this[_0x3b9ab0(0x4e0)])return;const _0x2104af={'eventID':_0x5a4440[_0x3b9ab0(0x208)][_0x3b9ab0(0x496)],'data':_0x197e51};this['_onCursorUpdate'](_0x2104af);}),this['disposeWithMe'](this[_0x17b98e(0x4d5)]['onCommandExecuted'](_0x2a4a4d=>{const _0xbc3981=_0x17b98e;if(_0x2a4a4d[_0xbc3981(0x23a)]==null)return;const _0x4605eb=_0x2a4a4d[_0xbc3981(0x23a)];if(_0x2a4a4d['id']!==_0x57ddc3['RichTextEditingMutation']['id']||_0x4605eb[_0xbc3981(0x1b6)]!==this[_0xbc3981(0x4e0)])return;const _0x584373={'id':'doc.mutation.rich-text-editing','params':_0x4605eb},_0x3ac66d=this[_0xbc3981(0x29e)];for(const [_0x1d37c7,_0x29d457]of _0x3ac66d){const _0x5d3ed5={'id':_0xbc3981(0x4c0),'params':{'unitId':this[_0xbc3981(0x4e0)],'actions':null,'textRanges':_0x29d457[_0xbc3981(0x4c2)]}},_0x4699fb=this[_0xbc3981(0x141)]['transformMutation'](_0x584373,_0x5d3ed5,!0x1);if(_0x5a4440[_0xbc3981(0x52e)](_0x4699fb))throw _0x4699fb['error'];_0x3ac66d[_0xbc3981(0x504)](_0x1d37c7,{..._0x29d457,'ranges':_0x4699fb['m2Prime'][_0xbc3981(0x23a)]['textRanges']});}queueMicrotask(()=>{const _0x5c7a69=_0xbc3981;this[_0x5c7a69(0x474)][_0x5c7a69(0x431)](_0x3ac66d);});})));}[_0x386947(0x557)](_0x1b424f){const _0x570d91=_0x386947;var _0x5b9a66,_0x14ab4b;const {memberID:_0x1d89b0,selection:_0x25d775}=_0x1b424f[_0x570d91(0x4fa)],_0x3e80b7=_0x543b1c(_0x25d775),_0x1889b7=(_0x14ab4b=(_0x5b9a66=this[_0x570d91(0x225)][_0x570d91(0x183)](this['unitID'],_0x1d89b0))==null?void 0x0:_0x5b9a66[_0x570d91(0x150)])!=null?_0x14ab4b:_0x570d91(0x52a),_0x45dd63={'color':this[_0x570d91(0x171)][_0x570d91(0x25b)](_0x1d89b0),'name':_0x1889b7,'ranges':_0x3e80b7},_0x37814d=this[_0x570d91(0x29e)];_0x37814d[_0x570d91(0x504)](_0x1d89b0,_0x45dd63),this['_cursorInfo$']['next'](_0x37814d);}[_0x386947(0x236)](_0x442903){const _0x7fb41d=_0x386947,{memberID:_0x3ddf8f}=_0x442903['data'],_0x15795d=this['cursorInfo'];_0x15795d['delete'](_0x3ddf8f),this[_0x7fb41d(0x474)][_0x7fb41d(0x431)](_0x15795d);}[_0x386947(0x379)](){const _0x3ab2f6=_0x386947;var _0x4a9f65;if(this[_0x3ab2f6(0x16e)]=!0x0,((_0x4a9f65=this[_0x3ab2f6(0x36f)]['getFocusedUnit']())==null?void 0x0:_0x4a9f65['getUnitId']())!==this[_0x3ab2f6(0x4e0)])return;const _0x301079=this[_0x3ab2f6(0x349)][_0x3ab2f6(0x2b1)](_0x57ddc3[_0x3ab2f6(0x50e)])[_0x3ab2f6(0x203)]();Array[_0x3ab2f6(0x4d8)](_0x301079)&&_0x301079['length']>0x0&&this[_0x3ab2f6(0x506)](_0x301079);}[_0x386947(0x261)](){const _0x8afed0=_0x386947;this[_0x8afed0(0x16e)]=!0x1;}};_0x2af36b=_0x4d5d16([_0x3ad36c(0x2,_0x192dca[_0x386947(0x25f)](_0x192dca[_0x386947(0x13d)])),_0x3ad36c(0x3,_0x192dca['Inject'](_0x74a5f8)),_0x3ad36c(0x4,_0x192dca[_0x386947(0x25f)](_0x28c292)),_0x3ad36c(0x5,_0x192dca[_0x386947(0x25f)](_0x32b4b7)),_0x3ad36c(0x6,_0x5a4440[_0x386947(0x25e)]),_0x3ad36c(0x7,_0x192dca[_0x386947(0x21d)]),_0x3ad36c(0x8,_0x192dca[_0x386947(0x4d7)])],_0x2af36b);var _0x2fe727=Object[_0x386947(0x4dc)],_0x4b58ad=Object['getOwnPropertyDescriptor'],_0x1966f5=(_0x3e0317,_0x597a26,_0x3de996,_0x4e8382)=>{const _0x5628f6=_0x386947;for(var _0x22e6d5=_0x4e8382>0x1?void 0x0:_0x4e8382?_0x4b58ad(_0x597a26,_0x3de996):_0x597a26,_0x2bb921=_0x3e0317[_0x5628f6(0x41d)]-0x1,_0x634247;_0x2bb921>=0x0;_0x2bb921--)(_0x634247=_0x3e0317[_0x2bb921])&&(_0x22e6d5=(_0x4e8382?_0x634247(_0x597a26,_0x3de996,_0x22e6d5):_0x634247(_0x22e6d5))||_0x22e6d5);return _0x4e8382&&_0x22e6d5&&_0x2fe727(_0x597a26,_0x3de996,_0x22e6d5),_0x22e6d5;},_0x157f31=(_0x32eeb1,_0x35347e)=>(_0x155dbc,_0x40031a)=>_0x35347e(_0x155dbc,_0x40031a,_0x32eeb1);const _0x5e74a0=0x12c,_0x118bbb=0x64,_0xc9389=()=>{let _0x37e37e=[],_0x29c877=!0x1;return _0x5c16e3=>{_0x37e37e['push'](_0x5c16e3),_0x29c877||(_0x29c877=!0x0,setTimeout(()=>{const _0x5e56c1=_0x3fcf;_0x37e37e[_0x5e56c1(0x12e)](_0x4d38e0=>_0x4d38e0()),_0x37e37e=[],_0x29c877=!0x1;}));};};let _0x22edad=class extends _0x192dca[_0x386947(0x44d)]{constructor(_0x26a616,_0x1a3c07,_0xbd5826,_0x5f2ac0,_0x21297d,_0x56e31d,_0x34688e,_0x3f0327){const _0xfa9316=_0x386947;super(),_0x49f745(this,'_online',!0x1),_0x49f745(this,_0xfa9316(0x24e),!0x1),_0x49f745(this,_0xfa9316(0x474),new _0x23b07d[(_0xfa9316(0x13c))](new Map())),_0x49f745(this,_0xfa9316(0x50c),this[_0xfa9316(0x474)]['asObservable']()),_0x49f745(this,_0xfa9316(0x3c5),new _0x23b07d['BehaviorSubject']([])),_0x49f745(this,_0xfa9316(0x42c),this['_roomMembers$'][_0xfa9316(0x507)](_0x23b07d[_0xfa9316(0x3e7)](_0x5e74a0))),_0x49f745(this,'_updateLocalCursor',_0x192dca[_0xfa9316(0x4df)]((_0x34b65f,_0x23edc2)=>{const _0x12714c=_0xfa9316,_0x43b9d7={'eventID':_0x5a4440['CollaborationEvent'][_0x12714c(0x496)],'data':{'unitID':this['unitID'],'memberID':this[_0x12714c(0x47f)][_0x12714c(0x535)](),'selection':_0x8d319d[_0x12714c(0x3a9)](_0x34b65f,_0x23edc2[_0x12714c(0x286)])}};this[_0x12714c(0x47f)]['send'](_0x43b9d7,this[_0x12714c(0x4e0)]);},_0x118bbb)),(this[_0xfa9316(0x4e0)]=_0x26a616,this[_0xfa9316(0x47f)]=_0x1a3c07,this[_0xfa9316(0x349)]=_0xbd5826,this['_colorAssignService']=_0x5f2ac0,this['_memberService']=_0x21297d,this[_0xfa9316(0x36f)]=_0x56e31d,this[_0xfa9316(0x4d5)]=_0x34688e,this[_0xfa9316(0x196)]=_0x3f0327);}get[_0x386947(0x29e)](){const _0x1f4f43=_0x386947;return this['_cursorInfo$'][_0x1f4f43(0x441)]();}get[_0x386947(0x3a5)](){const _0x2527b5=_0x386947;return this[_0x2527b5(0x3c5)][_0x2527b5(0x441)]();}[_0x386947(0x351)](){const _0x3aeceb=_0x386947;super['dispose'](),this[_0x3aeceb(0x474)][_0x3aeceb(0x431)](new Map()),this[_0x3aeceb(0x474)]['complete'](),this[_0x3aeceb(0x3c5)]['next']([]),this[_0x3aeceb(0x3c5)]['complete']();}[_0x386947(0x206)](){const _0x777f18=_0x386947;this[_0x777f18(0x24e)]||(this['_init']=!0x0,this['_session'][_0x777f18(0x3b9)][_0x777f18(0x507)](_0x23b07d[_0x777f18(0x285)](this['dispose$']))['subscribe'](_0x2b0247=>{const _0xbdaaaa=_0x777f18;_0x2b0247===_0x195712[_0xbdaaaa(0x1da)]?this[_0xbdaaaa(0x379)]():this[_0xbdaaaa(0x261)]();}),this['_session'][_0x777f18(0x16c)][_0x777f18(0x507)](_0x23b07d[_0x777f18(0x285)](this[_0x777f18(0x308)]))[_0x777f18(0x1fd)](_0x3c8c13=>{const _0x5ef11a=_0x777f18,_0x4562f6=_0x3c8c13[_0x5ef11a(0x28d)];_0x4562f6===_0x5a4440[_0x5ef11a(0x208)][_0x5ef11a(0x496)]&&this[_0x5ef11a(0x557)](_0x3c8c13),_0x4562f6===_0x5a4440[_0x5ef11a(0x208)][_0x5ef11a(0x417)]&&this[_0x5ef11a(0x236)](_0x3c8c13);}),this[_0x777f18(0x1a7)](),this[_0x777f18(0x45d)](this[_0x777f18(0x4d5)][_0x777f18(0x394)](_0x5546e4=>{const _0x4fcf8c=_0x777f18;if(this[_0x4fcf8c(0x16e)]&&_0x5546e4['id']===_0x4320c2[_0x4fcf8c(0x230)]['id']&&_0x5546e4[_0x4fcf8c(0x23a)][_0x4fcf8c(0x1b6)]===this['unitID']){const _0x55a58f=_0x5546e4['params'];this['_updateLocalCursor'](_0x55a58f['subUnitId'],_0x55a58f[_0x4fcf8c(0x1bd)][0x0]);}})));}[_0x386947(0x557)](_0x10d172){const _0x5cb7a7=_0x386947;var _0x2a5b5f,_0x3c6d89;const {memberID:_0x27409e,selection:_0x59e0f7}=_0x10d172['data'],{sheetName:_0x5f1bd4,range:_0x5c5c73}=_0x8d319d[_0x5cb7a7(0x1a4)](_0x59e0f7),_0x2c1574={'name':(_0x3c6d89=(_0x2a5b5f=this['_memberService']['getMember'](this['unitID'],_0x27409e))==null?void 0x0:_0x2a5b5f[_0x5cb7a7(0x150)])!=null?_0x3c6d89:_0x5cb7a7(0x52a),'range':this[_0x5cb7a7(0x440)](_0x5f1bd4,_0x5c5c73),'sheetID':_0x5f1bd4,'color':this[_0x5cb7a7(0x171)][_0x5cb7a7(0x25b)](_0x27409e),'selection':_0x59e0f7},_0x428f4a=this['cursorInfo'];_0x428f4a[_0x5cb7a7(0x504)](_0x27409e,_0x2c1574),this['_cursorInfo$'][_0x5cb7a7(0x431)](_0x428f4a);}[_0x386947(0x236)](_0x2fba13){const _0x2b5a62=_0x386947,{memberID:_0x25311b}=_0x2fba13[_0x2b5a62(0x4fa)],_0x32d616=this[_0x2b5a62(0x29e)];_0x32d616['delete'](_0x25311b),this['_cursorInfo$'][_0x2b5a62(0x431)](_0x32d616);}['_getMergeRange'](_0x44abf7,_0xa0aa12){const _0x32d502=_0x386947;var _0x447a20,_0x530864;const _0x3d1ae5=(_0x530864=(_0x447a20=this[_0x32d502(0x36f)][_0x32d502(0x436)](this['unitID']))==null?void 0x0:_0x447a20[_0x32d502(0x430)](_0x44abf7))==null?void 0x0:_0x530864[_0x32d502(0x48c)]();return(_0x3d1ae5==null?void 0x0:_0x3d1ae5[_0x32d502(0x53a)](_0x4ef53f=>_0x192dca['Rectangle'][_0x32d502(0x314)](_0x4ef53f,_0xa0aa12)))||_0xa0aa12;}[_0x386947(0x1a7)](){const _0x56368e=_0x386947,_0x625a5b=new _0x192dca[(_0x56368e(0x372))](),_0x2fb406=_0xc9389(),_0xd77669=()=>{const _0x4dfc3c=_0x56368e;_0x625a5b[_0x4dfc3c(0x351)]();const _0x13c7c7=(_0x53ee6a,_0x38ba3c,_0x3df0d3,_0x361e31)=>{const _0x169962=_0x4dfc3c;let _0x363171=[];switch(_0x53ee6a['id']){case _0x4320c2['EffectRefRangId'][_0x169962(0x4ea)]:{_0x363171=_0x4320c2['handleDeleteRangeMoveLeft'](_0x53ee6a,_0x361e31);break;}case _0x4320c2[_0x169962(0x34c)]['DeleteRangeMoveUpCommandId']:{_0x363171=_0x4320c2[_0x169962(0x340)](_0x53ee6a,_0x361e31);break;}case _0x4320c2[_0x169962(0x34c)]['InsertColCommandId']:{_0x363171=_0x4320c2['handleInsertCol'](_0x53ee6a,_0x361e31);break;}case _0x4320c2[_0x169962(0x34c)][_0x169962(0x3bf)]:{_0x363171=_0x4320c2[_0x169962(0x2d2)](_0x53ee6a,_0x361e31);break;}case _0x4320c2[_0x169962(0x34c)][_0x169962(0x33b)]:{_0x363171=_0x4320c2['handleInsertRangeMoveRight'](_0x53ee6a,_0x361e31);break;}case _0x4320c2[_0x169962(0x34c)][_0x169962(0x476)]:{_0x363171=_0x4320c2[_0x169962(0x243)](_0x53ee6a,_0x361e31);break;}case _0x4320c2['EffectRefRangId'][_0x169962(0x142)]:{_0x363171=_0x4320c2[_0x169962(0x25d)](_0x53ee6a,_0x361e31);break;}case _0x4320c2[_0x169962(0x34c)][_0x169962(0x31f)]:{_0x363171=_0x4320c2[_0x169962(0x32c)](_0x53ee6a,_0x361e31);break;}case _0x4320c2[_0x169962(0x34c)][_0x169962(0x4fe)]:{_0x363171=_0x4320c2[_0x169962(0x166)](_0x53ee6a,_0x361e31);break;}}const _0x9dff15=_0x4320c2[_0x169962(0x27a)](_0x363171,_0x361e31),_0x17534e=this[_0x169962(0x29e)][_0x169962(0x2b1)](_0x38ba3c);if(_0x17534e&&_0x9dff15){const _0x4867b6={..._0x17534e,'range':_0x9dff15};this[_0x169962(0x29e)][_0x169962(0x504)](_0x38ba3c,_0x4867b6),_0x2fb406(()=>{const _0xd5a60f=_0x169962,_0x12543c=this[_0xd5a60f(0x196)][_0xd5a60f(0x410)](_0x9dff15,_0x4325d0=>(_0x12543c['dispose'](),_0x13c7c7(_0x4325d0,_0x38ba3c,_0x3df0d3,_0x9dff15)));_0x625a5b[_0xd5a60f(0x477)](_0x12543c);});}return{'redos':[],'undos':[]};};this[_0x4dfc3c(0x29e)][_0x4dfc3c(0x12e)]((_0x5c67bb,_0x2150ce)=>{const _0x5a1f1a=_0x4dfc3c,{range:_0x19d553,sheetID:_0x4825f9}=_0x5c67bb,_0x8efad7=this[_0x5a1f1a(0x196)][_0x5a1f1a(0x410)](_0x19d553,_0x38045d=>(_0x8efad7['dispose'](),_0x13c7c7(_0x38045d,_0x2150ce,_0x4825f9,_0x19d553)));_0x625a5b[_0x5a1f1a(0x477)](_0x8efad7);});};this[_0x56368e(0x45d)](_0x192dca[_0x56368e(0x27f)](this[_0x56368e(0x474)][_0x56368e(0x1fd)](()=>{_0xd77669();})));}['_toggleOnline'](){const _0x118914=_0x386947;var _0x33167b,_0x53d895;if(this[_0x118914(0x16e)]=!0x0,((_0x33167b=this[_0x118914(0x36f)][_0x118914(0x418)]())==null?void 0x0:_0x33167b[_0x118914(0x2ae)]())!==this[_0x118914(0x4e0)])return;const _0x442d51=(_0x53d895=this[_0x118914(0x349)][_0x118914(0x2b1)](_0x4320c2[_0x118914(0x1b2)])[_0x118914(0x29c)]())==null?void 0x0:_0x53d895[0x0],_0x867dc=this['_univerInstanceService']['getCurrentUnitForType'](_0x192dca[_0x118914(0x277)]['UNIVER_SHEET'])[_0x118914(0x1fb)]();_0x442d51&&_0x867dc&&this['_updateLocalCursor'](_0x867dc[_0x118914(0x399)](),_0x442d51);}['_toggleOffline'](){const _0x3d3a24=_0x386947;this[_0x3d3a24(0x16e)]=!0x1;}};_0x22edad=_0x1966f5([_0x157f31(0x2,_0x192dca[_0x386947(0x25f)](_0x192dca[_0x386947(0x13d)])),_0x157f31(0x3,_0x192dca[_0x386947(0x25f)](_0x74a5f8)),_0x157f31(0x4,_0x192dca['Inject'](_0x28c292)),_0x157f31(0x5,_0x192dca[_0x386947(0x21d)]),_0x157f31(0x6,_0x192dca['ICommandService']),_0x157f31(0x7,_0x192dca[_0x386947(0x25f)](_0x4320c2[_0x386947(0x182)]))],_0x22edad);var _0x3f8765=Object['defineProperty'],_0x4a21ea=Object['getOwnPropertyDescriptor'],_0x22637b=(_0x61cd2b,_0x2c7c5f,_0x455e35,_0x50e800)=>{const _0x2a32ea=_0x386947;for(var _0x1fcb5d=_0x50e800>0x1?void 0x0:_0x50e800?_0x4a21ea(_0x2c7c5f,_0x455e35):_0x2c7c5f,_0x7ed847=_0x61cd2b[_0x2a32ea(0x41d)]-0x1,_0x35330b;_0x7ed847>=0x0;_0x7ed847--)(_0x35330b=_0x61cd2b[_0x7ed847])&&(_0x1fcb5d=(_0x50e800?_0x35330b(_0x2c7c5f,_0x455e35,_0x1fcb5d):_0x35330b(_0x1fcb5d))||_0x1fcb5d);return _0x50e800&&_0x1fcb5d&&_0x3f8765(_0x2c7c5f,_0x455e35,_0x1fcb5d),_0x1fcb5d;},_0x3860cd=(_0x27e636,_0x387a19)=>(_0x2f780c,_0x31470f)=>_0x387a19(_0x2f780c,_0x31470f,_0x27e636);let _0x9d79c7=class extends _0x192dca['RxDisposable']{constructor(_0x398c78,_0xfb6d1,_0x15df1d){const _0x3b0c32=_0x386947;super(),_0x49f745(this,_0x3b0c32(0x3cd),new Map()),_0x49f745(this,'_entityInit$',new _0x23b07d[(_0x3b0c32(0x2b6))]()),(this['_univerInstanceService']=_0x398c78,this['_injector']=_0xfb6d1,this[_0x3b0c32(0x2c5)]=_0x15df1d,this['_init']());}['dispose'](){const _0x29c28c=_0x386947;super[_0x29c28c(0x351)](),this['_entityInit$'][_0x29c28c(0x4cc)](),this['_entities'][_0x29c28c(0x12e)](_0x2718a3=>_0x2718a3[_0x29c28c(0x351)]());}['getCollabCursors$'](_0x4d88e0){const _0x4573e7=_0x386947;return this['_entities'][_0x4573e7(0x4b1)](_0x4d88e0)?this['_entities']['get'](_0x4d88e0)[_0x4573e7(0x50c)]:this[_0x4573e7(0x307)][_0x4573e7(0x507)](_0x23b07d[_0x4573e7(0x220)](_0x2ce297=>_0x2ce297[_0x4573e7(0x4e0)]===_0x4d88e0),_0x23b07d[_0x4573e7(0x2db)](_0x484b9a=>_0x484b9a[_0x4573e7(0x50c)]));}[_0x386947(0x24e)](){const _0x330911=_0x386947;this[_0x330911(0x36f)]['getTypeOfUnitAdded$'](_0x192dca['UniverInstanceType'][_0x330911(0x29f)])[_0x330911(0x507)](_0x23b07d[_0x330911(0x285)](this[_0x330911(0x308)]))[_0x330911(0x1fd)](async _0x6591f6=>{const _0x8f5182=_0x330911,_0x45a33b=_0x6591f6['getUnitId'](),_0x32845c=await this[_0x8f5182(0x55f)](_0x45a33b);this[_0x8f5182(0x307)][_0x8f5182(0x431)](_0x32845c),this[_0x8f5182(0x3cd)][_0x8f5182(0x504)](_0x45a33b,_0x32845c);}),this[_0x330911(0x36f)][_0x330911(0x38c)](_0x192dca['UniverInstanceType'][_0x330911(0x51f)])[_0x330911(0x507)](_0x23b07d[_0x330911(0x285)](this[_0x330911(0x308)]))[_0x330911(0x507)](_0x23b07d[_0x330911(0x220)](_0x597a4e=>!_0x597a4e[_0x330911(0x2ae)]()['startsWith']('__')))['subscribe'](async _0x185abb=>{const _0x464ed8=_0x330911,_0xd0efe4=_0x185abb[_0x464ed8(0x2ae)](),_0x17dc07=await this[_0x464ed8(0x2e4)](_0xd0efe4);this['_entityInit$']['next'](_0x17dc07),this[_0x464ed8(0x3cd)]['set'](_0xd0efe4,_0x17dc07);}),_0x23b07d[_0x330911(0x169)](this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x192dca[_0x330911(0x277)][_0x330911(0x51f)]),this[_0x330911(0x36f)]['getTypeOfUnitDisposed$'](_0x192dca[_0x330911(0x277)][_0x330911(0x29f)]))[_0x330911(0x507)](_0x23b07d[_0x330911(0x285)](this[_0x330911(0x308)]))[_0x330911(0x1fd)](_0x1e5552=>{const _0x33bbae=_0x330911,_0xf7c5c2=_0x1e5552[_0x33bbae(0x2ae)](),_0x48eece=this[_0x33bbae(0x3cd)][_0x33bbae(0x2b1)](_0xf7c5c2);_0x48eece&&(_0x48eece[_0x33bbae(0x351)](),this[_0x33bbae(0x3cd)][_0x33bbae(0x1e7)](_0xf7c5c2));});}async[_0x386947(0x55f)](_0x3f06fb){const _0x4fce79=_0x386947,_0x430d05=await this[_0x4fce79(0x2c5)]['requireSession'](_0x3f06fb),_0x57947a=this[_0x4fce79(0x349)][_0x4fce79(0x303)](_0x22edad,_0x3f06fb,_0x430d05);return _0x57947a[_0x4fce79(0x206)](),_0x57947a;}async[_0x386947(0x2e4)](_0x3429ee){const _0x32aec1=_0x386947,_0x14ffc9=await this[_0x32aec1(0x2c5)][_0x32aec1(0x4b2)](_0x3429ee),_0x5e1404=this['_injector'][_0x32aec1(0x303)](_0x2af36b,_0x3429ee,_0x14ffc9);return _0x5e1404[_0x32aec1(0x206)](),_0x5e1404;}};_0x9d79c7=_0x22637b([_0x3860cd(0x0,_0x192dca[_0x386947(0x21d)]),_0x3860cd(0x1,_0x192dca[_0x386947(0x25f)](_0x192dca['Injector'])),_0x3860cd(0x2,_0x192dca[_0x386947(0x25f)](_0x2be6ec[_0x386947(0x4af)]))],_0x9d79c7);const _0xad8952=0x14,_0x1d7c23=0xc8,_0x17c355=0x4,_0x5b1cf9=0x5;function _0x30af61(_0x4659d8,_0x4e80e4){const _0x4b6e78=_0x386947;let {radius:_0x11dbf9,width:_0x440f73,height:_0xb0501a}=_0x4e80e4;_0x11dbf9=_0x11dbf9!=null?_0x11dbf9:0x0,_0x440f73=_0x440f73!=null?_0x440f73:0x1e,_0xb0501a=_0xb0501a!=null?_0xb0501a:0x1e;let _0x1ff803=0x0,_0x43500b=0x0,_0x3d57fb=0x0;_0x1ff803=_0x43500b=_0x3d57fb=Math[_0x4b6e78(0x329)](_0x11dbf9,_0x440f73/0x2,_0xb0501a/0x2),_0x4659d8[_0x4b6e78(0x453)](),_0x4659d8['moveTo'](_0x1ff803,0x0),_0x4659d8[_0x4b6e78(0x463)](_0x440f73-_0x43500b,0x0),_0x4659d8[_0x4b6e78(0x38b)](_0x440f73-_0x43500b,_0x43500b,_0x43500b,Math['PI']*0x3/0x2,0x0,!0x1),_0x4659d8[_0x4b6e78(0x463)](_0x440f73,_0xb0501a-_0x3d57fb),_0x4659d8[_0x4b6e78(0x38b)](_0x440f73-_0x3d57fb,_0xb0501a-_0x3d57fb,_0x3d57fb,0x0,Math['PI']/0x2,!0x1),_0x4659d8[_0x4b6e78(0x463)](0x0,_0xb0501a),_0x4659d8[_0x4b6e78(0x463)](0x0,_0x1ff803),_0x4659d8[_0x4b6e78(0x38b)](_0x1ff803,_0x1ff803,_0x1ff803,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x4659d8[_0x4b6e78(0x482)](),_0x4e80e4[_0x4b6e78(0x2e2)]&&(_0x4659d8['save'](),_0x4659d8[_0x4b6e78(0x254)]=_0x4e80e4[_0x4b6e78(0x2e2)],_0x4e80e4['fillRule']==='evenodd'?_0x4659d8[_0x4b6e78(0x2e2)](_0x4b6e78(0x281)):_0x4659d8['fill'](),_0x4659d8[_0x4b6e78(0x553)]());}class _0xdb8bc1 extends _0x25d8d8[_0x386947(0x4f3)]{constructor(_0x372d36,_0x5722ac){const _0x4142bf=_0x386947;super(_0x372d36,_0x5722ac),_0x49f745(this,_0x4142bf(0x295)),_0x49f745(this,_0x4142bf(0x47c)),(this[_0x4142bf(0x295)]=_0x5722ac==null?void 0x0:_0x5722ac['color'],this['text']=_0x5722ac==null?void 0x0:_0x5722ac['text']);}static[_0x386947(0x1ff)](_0x258fa8,_0x298a80){const _0x177ccf=_0x386947,{text:_0x3570be,color:_0x136e9c}=_0x298a80;_0x258fa8['save'](),_0x258fa8['font']=_0x177ccf(0x354);const _0x289e5d=_0x258fa8['measureText'](_0x3570be)[_0x177ccf(0x1e3)],_0x5e79af=Math['min'](_0x289e5d+0x2*_0x17c355,_0x1d7c23);_0x30af61(_0x258fa8,{'height':_0xad8952,'radius':0x4,'width':_0x5e79af,'fill':_0x136e9c,'evented':!0x1}),_0x258fa8[_0x177ccf(0x254)]=_0x177ccf(0x530);const _0x558c32=_0x17c355,_0x13750d=_0xad8952-_0x5b1cf9,_0x393d3e=_0x1d7c23-0x2*_0x17c355;if(_0x289e5d>_0x393d3e){let _0x189f65='',_0x8104fc=0x0;for(const _0x504d1a of _0x3570be){const _0x235d7c=_0x258fa8[_0x177ccf(0x160)](_0x504d1a)[_0x177ccf(0x1e3)];if(_0x8104fc+_0x235d7c<=_0x393d3e-_0x258fa8[_0x177ccf(0x160)]('...')[_0x177ccf(0x1e3)])_0x189f65+=_0x504d1a,_0x8104fc+=_0x235d7c;else{_0x189f65+=_0x177ccf(0x22e);break;}}_0x258fa8[_0x177ccf(0x3cf)](_0x189f65,_0x558c32,_0x13750d);}else _0x258fa8[_0x177ccf(0x3cf)](_0x3570be,_0x558c32,_0x13750d);_0x258fa8['restore']();}[_0x386947(0x2b0)](_0x8a9476){const _0x4a6040=_0x386947;_0xdb8bc1[_0x4a6040(0x1ff)](_0x8a9476,this);}}const _0x5f5dc1=_0x386947(0x258),_0x34ce38=_0x386947(0x4e2),_0x1a6441=_0x386947(0x33f),_0x16e024=0x6,_0x15a03e=1.5,_0x3034c6=0x4,_0x731e83=1.5,_0x342bae=_0x386947(0x444);class _0x2812fc{constructor(_0x449dff,_0x3e469e,_0x47ac2a,_0x4838ec){const _0x1a3f59=_0x386947;_0x49f745(this,_0x1a3f59(0x253),[]),_0x49f745(this,_0x1a3f59(0x486),null),_0x49f745(this,_0x1a3f59(0x33e),null),_0x49f745(this,_0x1a3f59(0x279),null),_0x49f745(this,_0x1a3f59(0x267),null),_0x49f745(this,_0x1a3f59(0x2f3),null),(this[_0x1a3f59(0x12a)]=_0x449dff,this[_0x1a3f59(0x234)]=_0x3e469e,this[_0x1a3f59(0x413)]=_0x47ac2a,this[_0x1a3f59(0x4be)]=_0x4838ec,this['_render']());}set[_0x386947(0x487)](_0x5b64cd){const _0x366cea=_0x386947;_0x5b64cd?(this['_anchorDot']&&this[_0x366cea(0x279)]['hide'](),this[_0x366cea(0x33e)]&&this[_0x366cea(0x33e)][_0x366cea(0x500)]()):(this[_0x366cea(0x279)]&&this[_0x366cea(0x279)][_0x366cea(0x500)](),this[_0x366cea(0x33e)]&&this[_0x366cea(0x33e)][_0x366cea(0x41f)]());}[_0x386947(0x351)](){const _0x5bdac6=_0x386947;for(const _0x17c545 of this[_0x5bdac6(0x253)])_0x17c545[_0x5bdac6(0x351)]();this[_0x5bdac6(0x33e)]&&this['_textBubble'][_0x5bdac6(0x351)](),this[_0x5bdac6(0x279)]&&this['_anchorDot'][_0x5bdac6(0x351)](),this['_anchor']&&this[_0x5bdac6(0x486)]['dispose'](),this[_0x5bdac6(0x2f3)]&&this[_0x5bdac6(0x2f3)]();}[_0x386947(0x4a5)](){const _0x9f5598=_0x386947;var _0x58dbd2;const {_docSkeleton:_0x2e6f30,_document:_0x3e148c}=this,{color:_0x13c280,name:_0x507d2d,ranges:_0x68460c}=this['_cursor'],_0x52213d=_0x3e148c[_0x9f5598(0x385)](),{docsLeft:_0x4592fb,docsTop:_0x1b2940}=_0x52213d,_0x1d4abd=new _0x3f80f2['NodePositionConvertToCursor'](_0x52213d,_0x2e6f30);for(const {startOffset:_0x553fad,endOffset:_0x201128,collapsed:_0x194a36,isActive:_0x30c8d0}of _0x68460c){const _0x16a0b9=_0x2e6f30[_0x9f5598(0x23f)](_0x553fad),_0x28bcf1=_0x2e6f30[_0x9f5598(0x23f)](_0x201128);if(_0x30c8d0){const {contentBoxPointGroup:_0x23b86f}=_0x1d4abd['getRangePointData'](_0x28bcf1,_0x28bcf1);if(_0x23b86f['length']===0x0)continue;this[_0x9f5598(0x4f0)](_0x13c280,_0x23b86f,_0x4592fb,_0x1b2940,_0x507d2d),this['_eventUnsubscribe']=this['_handleHover']();}if(!_0x194a36&&_0x16a0b9&&_0x28bcf1){if(_0x3f80f2[_0x9f5598(0x522)](_0x16a0b9,_0x28bcf1)){const _0x36510f=new _0x3f80f2[(_0x9f5598(0x1c5))](_0x52213d,_0x2e6f30),{pointGroup:_0x6a7f6d}=(_0x58dbd2=_0x36510f[_0x9f5598(0x343)](_0x16a0b9,_0x28bcf1))!=null?_0x58dbd2:{};if(_0x6a7f6d==null||_0x6a7f6d['length']===0x0)continue;this['_drawRectRange'](_0x13c280,_0x6a7f6d,_0x4592fb,_0x1b2940);}else{const {contentBoxPointGroup:_0x5130e5}=_0x1d4abd[_0x9f5598(0x343)](_0x16a0b9,_0x28bcf1);if(_0x5130e5[_0x9f5598(0x41d)]===0x0)continue;this[_0x9f5598(0x32d)](_0x13c280,_0x5130e5,_0x4592fb,_0x1b2940);}}}}[_0x386947(0x4f0)](_0x492350,_0x58084d,_0x41bc13,_0xf04b51,_0x21eed6){const _0x594615=_0x386947,_0x18b8c4=this[_0x594615(0x157)](_0x58084d),{left:_0x516944,top:_0x349c65,height:_0x26d8b1}=_0x18b8c4,_0x230089=this[_0x594615(0x2cc)](),_0x291fc3=_0x731e83/_0x230089,_0x8bb28f=new _0x25d8d8[(_0x594615(0x3fb))](_0x5f5dc1+_0x192dca[_0x594615(0x4f5)][_0x594615(0x282)](_0x16e024),{'left':_0x516944+_0x41bc13-_0x291fc3,'top':_0x349c65+_0xf04b51,'height':_0x26d8b1,'width':_0x15a03e,'fill':_0x492350||_0x25d8d8['getColor'](_0x192dca[_0x594615(0x3bd)][_0x594615(0x26d)],0x0),'strokeWidth':_0x291fc3,'stroke':_0x342bae,'evented':!0x0});this[_0x594615(0x486)]=_0x8bb28f,this[_0x594615(0x234)][_0x594615(0x321)](_0x8bb28f,_0x3f80f2[_0x594615(0x433)]);const _0x439403=new _0x25d8d8[(_0x594615(0x3fb))](_0x5f5dc1+_0x192dca['Tools'][_0x594615(0x282)](_0x16e024),{'left':_0x516944+_0x41bc13-_0x291fc3,'top':_0x349c65+_0xf04b51-_0x3034c6/0x2,'height':_0x3034c6,'width':_0x3034c6,'fill':_0x492350||_0x25d8d8['getColor'](_0x192dca['COLORS'][_0x594615(0x26d)],0x0),'strokeWidth':0x0,'stroke':_0x492350||_0x25d8d8[_0x594615(0x370)](_0x192dca[_0x594615(0x3bd)][_0x594615(0x26d)],0x0),'evented':!0x1});this['_anchorDot']=_0x439403,this[_0x594615(0x234)]['addObject'](_0x439403,_0x3f80f2[_0x594615(0x433)]);const _0x14631d=new _0xdb8bc1(_0x5f5dc1+_0x192dca['Tools']['generateRandomId'](_0x16e024),{'left':_0x516944+_0x41bc13-_0x291fc3,'top':_0x349c65+_0xf04b51-_0xad8952,'text':_0x21eed6,'color':_0x492350});this[_0x594615(0x33e)]=_0x14631d,this[_0x594615(0x234)]['addObject'](_0x14631d,_0x3f80f2[_0x594615(0x433)]),this[_0x594615(0x487)]=!0x1;}[_0x386947(0x541)](){const _0x330f7d=_0x386947,_0x434a8c=this['_anchor'][_0x330f7d(0x4c8)]['subscribeEvent'](()=>{const _0xb38fd2=_0x330f7d;this[_0xb38fd2(0x487)]=!0x0;}),_0x3ac04e=this['_anchor'][_0x330f7d(0x429)][_0x330f7d(0x43d)](()=>{const _0x44c454=_0x330f7d;this[_0x44c454(0x267)]&&clearTimeout(this[_0x44c454(0x267)]),this[_0x44c454(0x267)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x325f1d=_0x330f7d;_0x434a8c[_0x325f1d(0x353)](),_0x3ac04e[_0x325f1d(0x353)]();};}[_0x386947(0x32d)](_0x354fb3,_0x199d51,_0x4439f3,_0x5c70ed){const _0x16f614=_0x386947,_0x27fd39=new _0x192dca[(_0x16f614(0x3ab))](_0x354fb3)[_0x16f614(0x175)](0.2)[_0x16f614(0x257)](),_0x371f6c=new _0x25d8d8['RegularPolygon'](_0x34ce38+_0x192dca[_0x16f614(0x4f5)][_0x16f614(0x282)](_0x16e024),{'pointsGroup':_0x199d51,'fill':_0x27fd39||_0x25d8d8[_0x16f614(0x370)](_0x192dca[_0x16f614(0x3bd)][_0x16f614(0x26d)],0.2),'left':_0x4439f3,'top':_0x5c70ed,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x16f614(0x253)][_0x16f614(0x3c8)](_0x371f6c),this['_scene'][_0x16f614(0x321)](_0x371f6c,_0x3f80f2['TEXT_RANGE_LAYER_INDEX']);}[_0x386947(0x408)](_0x20ba3a,_0x4dc8bd,_0xedb75c,_0x4941e1){const _0x3c78aa=_0x386947,_0x3feac7=new _0x192dca[(_0x3c78aa(0x3ab))](_0x20ba3a)['setAlpha'](0.2)[_0x3c78aa(0x257)](),_0xf3a672=new _0x25d8d8['RegularPolygon'](_0x1a6441+_0x192dca[_0x3c78aa(0x4f5)][_0x3c78aa(0x282)](_0x16e024),{'pointsGroup':_0x4dc8bd,'fill':_0x3feac7||_0x25d8d8[_0x3c78aa(0x370)](_0x192dca['COLORS']['black'],0.2),'left':_0xedb75c,'top':_0x4941e1,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x3c78aa(0x253)][_0x3c78aa(0x3c8)](_0xf3a672),this['_scene'][_0x3c78aa(0x321)](_0xf3a672,_0x3f80f2[_0x3c78aa(0x433)]);}[_0x386947(0x157)](_0x16f519){const _0x1becca=_0x16f519[0x0],_0x4a9268=_0x1becca[0x0],_0x4e6a41=_0x1becca[0x2],{x:_0x5695b7,y:_0xb69821}=_0x4a9268,{x:_0x322622,y:_0x5dc99b}=_0x4e6a41;return{'left':_0x5695b7,'top':_0xb69821,'width':_0x322622-_0x5695b7,'height':_0x5dc99b-_0xb69821};}[_0x386947(0x2cc)](){const _0x5ad4be=_0x386947,{scaleX:_0x25913d,scaleY:_0x43c1b5}=this[_0x5ad4be(0x234)][_0x5ad4be(0x23b)]();return Math['max'](_0x25913d,_0x43c1b5);}}var _0x5ac45a=Object[_0x386947(0x4dc)],_0x5b4b9b=Object[_0x386947(0x31b)],_0x428035=(_0x3d82d2,_0x194af4,_0x3bbe5,_0x29147e)=>{const _0x419a7b=_0x386947;for(var _0x585d3d=_0x29147e>0x1?void 0x0:_0x29147e?_0x5b4b9b(_0x194af4,_0x3bbe5):_0x194af4,_0x1d1cb2=_0x3d82d2[_0x419a7b(0x41d)]-0x1,_0x334298;_0x1d1cb2>=0x0;_0x1d1cb2--)(_0x334298=_0x3d82d2[_0x1d1cb2])&&(_0x585d3d=(_0x29147e?_0x334298(_0x194af4,_0x3bbe5,_0x585d3d):_0x334298(_0x585d3d))||_0x585d3d);return _0x29147e&&_0x585d3d&&_0x5ac45a(_0x194af4,_0x3bbe5,_0x585d3d),_0x585d3d;},_0x3211d6=(_0x26b65e,_0x1dae59)=>(_0x1bfbee,_0x1e9bfd)=>_0x1dae59(_0x1bfbee,_0x1e9bfd,_0x26b65e);let _0x5a8e45=class extends _0x192dca[_0x386947(0x44d)]{constructor(_0xc6d305,_0x4af92a,_0xe11481,_0xf8cc9e,_0xa09e5f){const _0x12ea22=_0x386947;super(),_0x49f745(this,_0x12ea22(0x177),[]),_0x49f745(this,_0x12ea22(0x469),[]),(this[_0x12ea22(0x3b4)]=_0xc6d305,this['_docSkeletonManagerService']=_0x4af92a,this[_0x12ea22(0x263)]=_0xe11481,this[_0x12ea22(0x4d5)]=_0xf8cc9e,this[_0x12ea22(0x1e9)]=_0xa09e5f,this[_0x12ea22(0x24e)]());}[_0x386947(0x24e)](){const _0x4c349c=_0x386947,_0x109d83=this[_0x4c349c(0x3b4)][_0x4c349c(0x1b6)],_0x4d69dc=this[_0x4c349c(0x154)];this[_0x4c349c(0x45d)](_0x23b07d[_0x4c349c(0x29a)]([this[_0x4c349c(0x263)][_0x4c349c(0x4c6)](_0x109d83),this[_0x4c349c(0x1e9)][_0x4c349c(0x296)]])['pipe'](_0x455b28[_0x4c349c(0x27c)](([_0x523104,_0x37064c])=>({'skeleton':_0x4d69dc[_0x4c349c(0x4e9)](),'cursors':[..._0x523104[_0x4c349c(0x149)]()][_0x4c349c(0x339)](_0x3753ed=>({..._0x3753ed,'color':_0x37064c[_0x3753ed['color']]}))})))[_0x4c349c(0x1fd)](_0x16263f=>{const _0x2aa44c=_0x4c349c;if(this[_0x2aa44c(0x42b)](),_0x16263f){const {skeleton:_0x4f9a1d,cursors:_0x45461e}=_0x16263f;this[_0x2aa44c(0x3c3)](_0x4f9a1d,_0x45461e);}})),this[_0x4c349c(0x2c0)](),this[_0x4c349c(0x3ed)]();}[_0x386947(0x3c3)](_0x21a6b8,_0x5685f5){const _0xb182b=_0x386947,{scene:_0x44bf3b,mainComponent:_0x39f802}=this['_context'],_0x54db41=_0x5685f5[_0xb182b(0x27c)](_0x282873=>new _0x2812fc(_0x282873,_0x44bf3b,_0x21a6b8,_0x39f802));this[_0xb182b(0x177)]=_0x54db41,this[_0xb182b(0x469)]=_0x5685f5;}[_0x386947(0x326)](){const _0x2f3bb0=_0x386947;this[_0x2f3bb0(0x42b)]();const {scene:_0x225095,mainComponent:_0x42bbd4}=this[_0x2f3bb0(0x3b4)],_0x46489b=this[_0x2f3bb0(0x154)][_0x2f3bb0(0x4e9)](),_0x164c4=this[_0x2f3bb0(0x469)][_0x2f3bb0(0x27c)](_0x4e5f99=>new _0x2812fc(_0x4e5f99,_0x225095,_0x46489b,_0x42bbd4));this[_0x2f3bb0(0x177)]=_0x164c4;}[_0x386947(0x42b)](){const _0x249dca=_0x386947;this[_0x249dca(0x177)][_0x249dca(0x12e)](_0x1afb15=>_0x1afb15['dispose']()),this['_cursorShapes']=[];}[_0x386947(0x3ed)](){const _0x4fc063=_0x386947,_0x26ff68=[_0x3f80f2[_0x4fc063(0x4b8)]['id']];this[_0x4fc063(0x45d)](this[_0x4fc063(0x4d5)][_0x4fc063(0x394)](_0x120ada=>{const _0x5ccb84=_0x4fc063;_0x26ff68[_0x5ccb84(0x29b)](_0x120ada['id'])&&_0x120ada[_0x5ccb84(0x23a)][_0x5ccb84(0x1b6)]===this[_0x5ccb84(0x3b4)][_0x5ccb84(0x1b6)]&&this['_refreshCollabCursors']();}));}[_0x386947(0x2c0)](){const _0x200fc6=_0x386947;this[_0x200fc6(0x45d)](_0x192dca[_0x200fc6(0x266)](this[_0x200fc6(0x3b4)]['engine'][_0x200fc6(0x3c7)])[_0x200fc6(0x507)](_0x455b28['filter'](_0x9cf3b2=>_0x9cf3b2[_0x200fc6(0x262)]===_0x25d8d8[_0x200fc6(0x2e5)][_0x200fc6(0x1c6)]),_0x455b28[_0x200fc6(0x1f2)](0x10))[_0x200fc6(0x1fd)](()=>{const _0x59cf1e=_0x200fc6;this[_0x59cf1e(0x326)]();}));}};_0x5a8e45=_0x428035([_0x3211d6(0x1,_0x192dca[_0x386947(0x25f)](_0x57ddc3['DocSkeletonManagerService'])),_0x3211d6(0x2,_0x192dca[_0x386947(0x25f)](_0x9d79c7)),_0x3211d6(0x3,_0x192dca[_0x386947(0x4d7)]),_0x3211d6(0x4,_0x192dca[_0x386947(0x25f)](_0x192dca['ThemeService']))],_0x5a8e45);const _0x5e36a5=0x1,_0x12dc76=1.5;class _0x34eb32 extends _0x25d8d8[_0x386947(0x4f3)]{constructor(_0x31df0c,_0x5e7c0c){const _0x24a331=_0x386947;super(_0x31df0c,_0x5e7c0c),_0x49f745(this,_0x24a331(0x265)),_0x49f745(this,_0x24a331(0x16a),!0x1),_0x49f745(this,_0x24a331(0x53d)),_0x49f745(this,_0x24a331(0x516),''),_0x49f745(this,'_labelPosition','top'),_0x49f745(this,_0x24a331(0x1e1)),(_0x5e7c0c&&this[_0x24a331(0x560)](_0x5e7c0c),this[_0x24a331(0x4c8)][_0x24a331(0x43d)](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x24a331(0x429)][_0x24a331(0x43d)](()=>this[_0x24a331(0x560)]({'hovered':!0x1})));}[_0x386947(0x560)](_0x576481){const _0x1d3b35=_0x386947;var _0x43da68,_0x5734f6,_0x33f607,_0x3ad570,_0x3dbcf6,_0x2a16fe;this[_0x1d3b35(0x265)]=(_0x43da68=_0x576481[_0x1d3b35(0x295)])!=null?_0x43da68:this[_0x1d3b35(0x265)],this[_0x1d3b35(0x16a)]=(_0x5734f6=_0x576481[_0x1d3b35(0x556)])!=null?_0x5734f6:this[_0x1d3b35(0x16a)],this[_0x1d3b35(0x53d)]=(_0x33f607=_0x576481[_0x1d3b35(0x286)])!=null?_0x33f607:this['_range'],this[_0x1d3b35(0x516)]=(_0x3ad570=_0x576481[_0x1d3b35(0x150)])!=null?_0x3ad570:this[_0x1d3b35(0x516)],this[_0x1d3b35(0x2a2)]=(_0x3dbcf6=_0x576481[_0x1d3b35(0x1df)])!=null?_0x3dbcf6:this[_0x1d3b35(0x2a2)],this['_backgroundColor']=(_0x2a16fe=_0x576481[_0x1d3b35(0x2da)])!=null?_0x2a16fe:this['_backgroundColor'],this[_0x1d3b35(0x51a)]({'width':_0x576481['width'],'height':_0x576481[_0x1d3b35(0x3bb)]});}[_0x386947(0x1a2)](_0x47502a){const _0x31f622=_0x386947,{row:_0x17afc9,column:_0xdf320f}=_0x47502a;if(_0x17afc9>=this[_0x31f622(0x53d)][_0x31f622(0x1ec)]&&_0x17afc9<=this[_0x31f622(0x53d)][_0x31f622(0x445)]&&_0xdf320f>=this[_0x31f622(0x53d)]['startColumn']&&_0xdf320f<=this[_0x31f622(0x53d)][_0x31f622(0x4a6)]){this[_0x31f622(0x560)]({'hovered':!0x0});return;}this[_0x31f622(0x560)]({'hovered':!0x1});}['triggerDblclick'](_0x378a5e){return!0x1;}['_draw'](_0x3198e7){const _0x217a38=_0x386947;_0x25d8d8[_0x217a38(0x3fb)][_0x217a38(0x1ff)](_0x3198e7,{'width':this[_0x217a38(0x1e3)],'height':this[_0x217a38(0x3bb)],'strokeWidth':_0x12dc76,'stroke':this[_0x217a38(0x265)],'evented':!0x1,'fill':this[_0x217a38(0x1e1)]}),this[_0x217a38(0x16a)]&&(_0x3198e7[_0x217a38(0x40c)](),_0x3198e7[_0x217a38(0x36e)](0x1,0x0,0x0,0x1,this[_0x217a38(0x1e3)],this['_labelPosition']===_0x217a38(0x448)?0x0:-_0xad8952),_0xdb8bc1['drawWith'](_0x3198e7,{'text':this['_name'],'color':this['_color']}),_0x3198e7[_0x217a38(0x553)]());}}var _0x3fb3a1=Object[_0x386947(0x4dc)],_0x4c00d0=Object[_0x386947(0x31b)],_0x240185=(_0x5c603d,_0x58156a,_0xc1c0c7,_0x1bcd15)=>{for(var _0xa2d792=_0x1bcd15>0x1?void 0x0:_0x1bcd15?_0x4c00d0(_0x58156a,_0xc1c0c7):_0x58156a,_0x15b524=_0x5c603d['length']-0x1,_0x3ce8c3;_0x15b524>=0x0;_0x15b524--)(_0x3ce8c3=_0x5c603d[_0x15b524])&&(_0xa2d792=(_0x1bcd15?_0x3ce8c3(_0x58156a,_0xc1c0c7,_0xa2d792):_0x3ce8c3(_0xa2d792))||_0xa2d792);return _0x1bcd15&&_0xa2d792&&_0x3fb3a1(_0x58156a,_0xc1c0c7,_0xa2d792),_0xa2d792;},_0x4426b9=(_0x585cd6,_0x4b4263)=>(_0x521d8d,_0x57c543)=>_0x4b4263(_0x521d8d,_0x57c543,_0x585cd6);const _0xd7a74d=0x1389;let _0x216f45=class extends _0x192dca[_0x386947(0x44d)]{constructor(_0x377791,_0x4a5648,_0x19557a,_0x24de7c){const _0x5e4ec8=_0x386947;super(),_0x49f745(this,_0x5e4ec8(0x469),new Set()),_0x49f745(this,_0x5e4ec8(0x29d),null),(this[_0x5e4ec8(0x3b4)]=_0x377791,this[_0x5e4ec8(0x3b7)]=_0x4a5648,this[_0x5e4ec8(0x263)]=_0x19557a,this[_0x5e4ec8(0x1e9)]=_0x24de7c,this[_0x5e4ec8(0x24e)]());}[_0x386947(0x24e)](){const _0x372312=_0x386947;this[_0x372312(0x3b7)]['currentSkeleton$'][_0x372312(0x507)](_0x455b28[_0x372312(0x285)](this[_0x372312(0x308)]),_0x455b28[_0x372312(0x2db)](_0x25d1f7=>{const _0x22af01=_0x372312;if(_0x25d1f7){const _0x2ea3e6=_0x25d1f7[_0x22af01(0x197)];return _0x23b07d[_0x22af01(0x29a)](this[_0x22af01(0x263)][_0x22af01(0x4c6)](this['_context'][_0x22af01(0x1b6)]),this['_themeService'][_0x22af01(0x296)])[_0x22af01(0x507)](_0x455b28[_0x22af01(0x27c)](([_0x4b8875,_0x3f757f])=>{const _0x349def=_0x22af01,_0x3cc07c=new Map();return _0x4b8875[_0x349def(0x12e)]((_0x2bfb17,_0x3a5e07)=>{const _0x3d6d5c=_0x349def;if(_0x2bfb17[_0x3d6d5c(0x324)]===_0x2ea3e6){const _0xe0bbfc={..._0x2bfb17};_0xe0bbfc['color']=_0x3f757f[_0x2bfb17[_0x3d6d5c(0x295)]],_0x3cc07c[_0x3d6d5c(0x504)](_0x3a5e07,_0xe0bbfc);}}),{'skeleton':_0x25d1f7,'cursors':_0x3cc07c};}));}return _0x23b07d['of']({'skeleton':null,'cursors':new Map()});}))[_0x372312(0x1fd)](({skeleton:_0x1f014a,cursors:_0x2484af})=>{const _0x19c7df=_0x372312;this['_removeCollabCursors'](),_0x1f014a&&this[_0x19c7df(0x3c3)](_0x1f014a,_0x2484af);}),this[_0x372312(0x3b7)][_0x372312(0x332)][_0x372312(0x1fd)](_0x3c4f16=>{const _0x44d24b=_0x372312;if(_0x3c4f16==null)return;const {skeleton:_0x3eec00}=_0x3c4f16,{scene:_0x3eb685}=this['_context'];_0x3eb685[_0x44d24b(0x294)][_0x44d24b(0x43d)](_0x192dca[_0x44d24b(0x4df)](_0x4660dd=>{const _0x20df00=_0x44d24b;var _0x12f581,_0x4a72a3;const {offsetX:_0x36c094,offsetY:_0x1817cd}=_0x4660dd,{x:_0x4130ef,y:_0x17b92a}=_0x3eb685['getRelativeToViewportCoord'](_0x25d8d8[_0x20df00(0x130)][_0x20df00(0x274)]([_0x36c094,_0x1817cd])),{scaleX:_0x189f12,scaleY:_0x414f28}=_0x3eb685[_0x20df00(0x23b)](),_0x166d08=_0x3eb685[_0x20df00(0x341)](_0x20b398['VIEWPORT_KEY'][_0x20df00(0x256)]),_0x37bee8=_0x3eb685[_0x20df00(0x211)](_0x25d8d8[_0x20df00(0x130)][_0x20df00(0x274)]([_0x4130ef,_0x17b92a]),_0x166d08),_0x1bab98=_0x3eec00[_0x20df00(0x342)](_0x36c094,_0x1817cd,_0x189f12,_0x414f28,_0x37bee8);((_0x12f581=this[_0x20df00(0x29d)])==null?void 0x0:_0x12f581['column'])===_0x1bab98[_0x20df00(0x13a)]&&((_0x4a72a3=this[_0x20df00(0x29d)])==null?void 0x0:_0x4a72a3[_0x20df00(0x4cf)])===_0x1bab98[_0x20df00(0x4cf)]||this[_0x20df00(0x469)][_0x20df00(0x12e)](_0x48a8c3=>{const _0x306d96=_0x20df00;_0x48a8c3[_0x306d96(0x1a2)](_0x1bab98);});},0x64));});}['_updateCollabCursors'](_0x3c4fe2,_0x2a4d1a){const _0x10174f=_0x386947;var _0x3a00fb;const _0x5810aa=(_0x3a00fb=this[_0x10174f(0x3b7)]['getCurrent']())==null?void 0x0:_0x3a00fb[_0x10174f(0x3d0)];if(!_0x5810aa)return;const _0x29a9f5=this[_0x10174f(0x31e)]();if(!_0x29a9f5)return;this[_0x10174f(0x469)][_0x10174f(0x12e)](_0x3f063a=>{const _0x550f3b=_0x10174f;_0x3f063a[_0x550f3b(0x20b)]();});const {scene:_0x990c09}=_0x29a9f5,_0x3c62ca=_0x1dfb61(Array[_0x10174f(0x568)](_0x2a4d1a[_0x10174f(0x149)]()))[_0x10174f(0x27c)](_0x1ca735=>{const _0x5a585a=_0x10174f,{color:_0x9e6433,range:_0x49c50d,name:_0x3bcf55,selection:_0x2d47e2,sheetID:_0x1afcf5}=_0x1ca735,{startColumn:_0x581c83,startRow:_0x9054e1,endColumn:_0x6ec565,endRow:_0x167b28}=_0x49c50d,_0x63d61f=_0x20b398[_0x5a585a(0x1b3)](_0x9054e1,_0x581c83,_0x990c09,_0x5810aa),_0x37499c=_0x20b398[_0x5a585a(0x1b3)](_0x167b28,_0x6ec565,_0x990c09,_0x5810aa),{columnHeaderHeightAndMarginTop:_0x2879e4}=_0x5810aa,{startX:_0x18d1d5,startY:_0x2429a3}=_0x63d61f,{endX:_0x5449be,endY:_0x4520d8}=_0x37499c,_0x4af714=_0x5449be-_0x18d1d5,_0xda807c=_0x4520d8-_0x2429a3,_0x2ed8ef={'labelPosition':_0x2429a3-_0x2879e4>=_0xad8952?_0x5a585a(0x4bf):_0x5a585a(0x448),'sheetID':_0x1afcf5,'range':_0x49c50d,'color':_0x9e6433,'name':_0x3bcf55,'selection':_0x2d47e2,'left':_0x18d1d5,'top':_0x2429a3,'width':_0x4af714,'height':_0xda807c,'evented':!0x1,'zIndex':_0xd7a74d};return new _0x34eb32(_0x3bcf55,_0x2ed8ef);});_0x990c09[_0x10174f(0x50d)](_0x3c62ca,_0x5e36a5),this[_0x10174f(0x469)]=new Set(_0x3c62ca);}[_0x386947(0x42b)](){const _0xdacba4=_0x386947;var _0xa6ba36;(_0xa6ba36=this[_0xdacba4(0x469)])==null||_0xa6ba36[_0xdacba4(0x12e)](_0x4664a3=>_0x4664a3['dispose']());}['_getSheetObject'](){const _0x4ea74c=_0x386947;return _0x20b398[_0x4ea74c(0x298)](this[_0x4ea74c(0x3b4)]['unit'],this[_0x4ea74c(0x3b4)]);}};_0x216f45=_0x240185([_0x4426b9(0x1,_0x192dca['Inject'](_0x20b398['SheetSkeletonManagerService'])),_0x4426b9(0x2,_0x192dca[_0x386947(0x25f)](_0x9d79c7)),_0x4426b9(0x3,_0x192dca['Inject'](_0x192dca['ThemeService']))],_0x216f45);function _0x1dfb61(_0x1cb750){const _0x12f1d5=_0x386947,_0x1a696b=new Map();return _0x1cb750[_0x12f1d5(0x12e)](_0x527478=>{const _0x34158e=_0x12f1d5;if(_0x1a696b[_0x34158e(0x4b1)](_0x527478[_0x34158e(0x366)])){const _0x180010=_0x1a696b[_0x34158e(0x2b1)](_0x527478[_0x34158e(0x366)]);_0x180010[_0x34158e(0x150)]+=',\x20'+_0x527478['name'];}else _0x1a696b[_0x34158e(0x504)](_0x527478[_0x34158e(0x366)],_0x527478);}),Array[_0x12f1d5(0x568)](_0x1a696b['values']());}var _0x1f60c2=function(){const _0x207f89=_0x386947;return _0x1f60c2=Object['assign']||function(_0x303f74){const _0x1b0750=_0x3fcf;for(var _0x433264,_0x1e2d16=0x1,_0x27a3aa=arguments[_0x1b0750(0x41d)];_0x1e2d16<_0x27a3aa;_0x1e2d16++){_0x433264=arguments[_0x1e2d16];for(var _0x500181 in _0x433264)Object['prototype']['hasOwnProperty']['call'](_0x433264,_0x500181)&&(_0x303f74[_0x500181]=_0x433264[_0x500181]);}return _0x303f74;},_0x1f60c2[_0x207f89(0x360)](this,arguments);},_0x2f65ac=function(_0x2a6a42,_0x3df783){const _0x44bc0b=_0x386947;var _0xc67ed3={};for(var _0x3bb7cc in _0x2a6a42)Object[_0x44bc0b(0x511)]['hasOwnProperty'][_0x44bc0b(0x438)](_0x2a6a42,_0x3bb7cc)&&_0x3df783[_0x44bc0b(0x4f7)](_0x3bb7cc)<0x0&&(_0xc67ed3[_0x3bb7cc]=_0x2a6a42[_0x3bb7cc]);if(_0x2a6a42!=null&&typeof Object['getOwnPropertySymbols']==_0x44bc0b(0x3d8)){for(var _0x4ab4e3=0x0,_0x3bb7cc=Object['getOwnPropertySymbols'](_0x2a6a42);_0x4ab4e3<_0x3bb7cc[_0x44bc0b(0x41d)];_0x4ab4e3++)_0x3df783[_0x44bc0b(0x4f7)](_0x3bb7cc[_0x4ab4e3])<0x0&&Object[_0x44bc0b(0x511)][_0x44bc0b(0x1eb)][_0x44bc0b(0x438)](_0x2a6a42,_0x3bb7cc[_0x4ab4e3])&&(_0xc67ed3[_0x3bb7cc[_0x4ab4e3]]=_0x2a6a42[_0x3bb7cc[_0x4ab4e3]]);}return _0xc67ed3;},_0x1d0ab2=_0x6ad2c[_0x386947(0x193)](function(_0x287652,_0x20e429){const _0x21a610=_0x386947;var _0x593779=_0x287652[_0x21a610(0x473)],_0x102f46=_0x287652['id'],_0x1de16b=_0x287652[_0x21a610(0x144)],_0x31b22a=_0x287652[_0x21a610(0x191)],_0x4e0226=_0x2f65ac(_0x287652,[_0x21a610(0x473),'id',_0x21a610(0x144),_0x21a610(0x191)]),_0x39d5e4=_0x21a610(0x381)[_0x21a610(0x458)](_0x102f46,'\x20')[_0x21a610(0x458)](_0x1de16b||'')['trim'](),_0x13ce39=_0x6ad2c[_0x21a610(0x2ee)]('_'[_0x21a610(0x458)](_0x1d3e74()));return _0x5af0b1(_0x593779,''[_0x21a610(0x458)](_0x102f46),{'defIds':_0x593779[_0x21a610(0x291)],'idSuffix':_0x13ce39[_0x21a610(0x558)]},_0x1f60c2({'ref':_0x20e429,'className':_0x39d5e4},_0x4e0226),_0x31b22a);});function _0x5af0b1(_0x3b15be,_0x50d86c,_0x63bfd4,_0x1343f3,_0x338468){const _0x187a80=_0x386947;return _0x6ad2c[_0x187a80(0x15b)](_0x3b15be['tag'],_0x1f60c2(_0x1f60c2({'key':_0x50d86c},_0x5aa4f0(_0x3b15be,_0x63bfd4,_0x338468)),_0x1343f3),(_0x2bb2e1(_0x3b15be,_0x63bfd4)['children']||[])[_0x187a80(0x27c)](function(_0x50da53,_0x49a484){const _0x525f19=_0x187a80;return _0x5af0b1(_0x50da53,''[_0x525f19(0x458)](_0x50d86c,'-')[_0x525f19(0x458)](_0x3b15be[_0x525f19(0x43f)],'-')[_0x525f19(0x458)](_0x49a484),_0x63bfd4,void 0x0,_0x338468);}));}function _0x5aa4f0(_0x1140a5,_0x15d9e0,_0x4db30c){const _0x389ef2=_0x386947;var _0x146c41=_0x1f60c2({},_0x1140a5[_0x389ef2(0x44a)]);_0x4db30c!=null&&_0x4db30c['colorChannel1']&&_0x146c41[_0x389ef2(0x2e2)]===_0x389ef2(0x27e)&&(_0x146c41['fill']=_0x4db30c['colorChannel1']);var _0x48791a=_0x15d9e0[_0x389ef2(0x291)];return!_0x48791a||_0x48791a[_0x389ef2(0x41d)]===0x0||(_0x1140a5[_0x389ef2(0x43f)]==='use'&&_0x146c41[_0x389ef2(0x22c)]&&(_0x146c41[_0x389ef2(0x22c)]=_0x146c41[_0x389ef2(0x22c)]+_0x15d9e0[_0x389ef2(0x1f4)]),Object[_0x389ef2(0x1aa)](_0x146c41)[_0x389ef2(0x12e)](function(_0x48081e){const _0x58c5a3=_0x389ef2;var _0x5ac4f2=_0x48081e[0x0],_0x2de813=_0x48081e[0x1];typeof _0x2de813=='string'&&(_0x146c41[_0x5ac4f2]=_0x2de813[_0x58c5a3(0x13f)](/url\(#(.*)\)/,'url(#$1'['concat'](_0x15d9e0[_0x58c5a3(0x1f4)],')')));})),_0x146c41;}function _0x2bb2e1(_0x28be5c,_0x2019e9){const _0x1ebd23=_0x386947;var _0x161b2a,_0x5c82d5=_0x2019e9[_0x1ebd23(0x291)];return!_0x5c82d5||_0x5c82d5[_0x1ebd23(0x41d)]===0x0?_0x28be5c:_0x28be5c[_0x1ebd23(0x43f)]===_0x1ebd23(0x3a4)&&(!((_0x161b2a=_0x28be5c[_0x1ebd23(0x23c)])===null||_0x161b2a===void 0x0)&&_0x161b2a['length'])?_0x1f60c2(_0x1f60c2({},_0x28be5c),{'children':_0x28be5c[_0x1ebd23(0x23c)]['map'](function(_0x56ad3f){const _0x38df75=_0x1ebd23;return typeof _0x56ad3f[_0x38df75(0x44a)]['id']==_0x38df75(0x172)&&_0x5c82d5&&_0x5c82d5[_0x38df75(0x4f7)](_0x56ad3f[_0x38df75(0x44a)]['id'])>-0x1?_0x1f60c2(_0x1f60c2({},_0x56ad3f),{'attrs':_0x1f60c2(_0x1f60c2({},_0x56ad3f[_0x38df75(0x44a)]),{'id':_0x56ad3f[_0x38df75(0x44a)]['id']+_0x2019e9[_0x38df75(0x1f4)]})}):_0x56ad3f;})}):_0x28be5c;}function _0x1d3e74(){const _0x34f4fb=_0x386947;return Math[_0x34f4fb(0x1ac)]()[_0x34f4fb(0x508)](0x24)[_0x34f4fb(0x48b)](0x2,0x8);}_0x1d0ab2['displayName']=_0x386947(0x248);var _0x13e0c5={'tag':_0x386947(0x28f),'attrs':{'fill':_0x386947(0x1c8),'viewBox':'0\x200\x2016\x2016','width':_0x386947(0x1ab),'height':_0x386947(0x1ab)},'children':[{'tag':'g','attrs':{'clipPath':_0x386947(0x42f)},'children':[{'tag':_0x386947(0x446),'attrs':{'stroke':_0x386947(0x2d1),'d':_0x386947(0x18a),'strokeLinecap':'round','strokeLinejoin':_0x386947(0x1b8),'strokeWidth':1.2}}]},{'tag':_0x386947(0x3a4),'attrs':{},'children':[{'tag':_0x386947(0x345),'attrs':{'id':_0x386947(0x325)},'children':[{'tag':_0x386947(0x446),'attrs':{'fill':_0x386947(0x2cf),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x386947(0x325)]},_0x47c39b=_0x6ad2c[_0x386947(0x193)](function(_0x22352f,_0xb2aab0){const _0x32564d=_0x386947;return _0x6ad2c['createElement'](_0x1d0ab2,Object[_0x32564d(0x478)]({},_0x22352f,{'id':'off-line-single','ref':_0xb2aab0,'icon':_0x13e0c5}));});_0x47c39b[_0x386947(0x3d1)]=_0x386947(0x3f7);var _0x347521={'tag':_0x386947(0x28f),'attrs':{'fill':_0x386947(0x1c8),'viewBox':_0x386947(0x2e8),'width':_0x386947(0x1ab),'height':_0x386947(0x1ab)},'children':[{'tag':'g','attrs':{'clipPath':_0x386947(0x4f8)},'children':[{'tag':'path','attrs':{'stroke':'currentColor','d':_0x386947(0x16b),'strokeLinecap':_0x386947(0x1b8),'strokeLinejoin':_0x386947(0x1b8),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x386947(0x345),'attrs':{'id':'on-line-single_clip0_910_349'},'children':[{'tag':_0x386947(0x446),'attrs':{'fill':'#fff','d':_0x386947(0x534),'transform':_0x386947(0x247)}}]}]}],'defIds':['on-line-single_clip0_910_349']},_0xe6eb9d=_0x6ad2c[_0x386947(0x193)](function(_0x5a1aad,_0xe006dd){const _0x3bd05d=_0x386947;return _0x6ad2c[_0x3bd05d(0x15b)](_0x1d0ab2,Object[_0x3bd05d(0x478)]({},_0x5a1aad,{'id':'on-line-single','ref':_0xe006dd,'icon':_0x347521}));});_0xe6eb9d[_0x386947(0x3d1)]=_0x386947(0x3d5);function _0x1002be(_0x2735f3){const _0x2c9539=_0x386947;var _0x4e7486,_0x528b89,_0x2a0d43='';if(typeof _0x2735f3=='string'||typeof _0x2735f3==_0x2c9539(0x215))_0x2a0d43+=_0x2735f3;else{if(typeof _0x2735f3==_0x2c9539(0x1b9)){if(Array[_0x2c9539(0x4d8)](_0x2735f3)){var _0x103b00=_0x2735f3[_0x2c9539(0x41d)];for(_0x4e7486=0x0;_0x4e7486<_0x103b00;_0x4e7486++)_0x2735f3[_0x4e7486]&&(_0x528b89=_0x1002be(_0x2735f3[_0x4e7486]))&&(_0x2a0d43&&(_0x2a0d43+='\x20'),_0x2a0d43+=_0x528b89);}else{for(_0x528b89 in _0x2735f3)_0x2735f3[_0x528b89]&&(_0x2a0d43&&(_0x2a0d43+='\x20'),_0x2a0d43+=_0x528b89);}}}return _0x2a0d43;}function _0xae1fdd(){const _0x4f8743=_0x386947;for(var _0xc56281,_0x29a22c,_0x39a064=0x0,_0x12cbe9='',_0x4183fc=arguments[_0x4f8743(0x41d)];_0x39a064<_0x4183fc;_0x39a064++)(_0xc56281=arguments[_0x39a064])&&(_0x29a22c=_0x1002be(_0xc56281))&&(_0x12cbe9&&(_0x12cbe9+='\x20'),_0x12cbe9+=_0x29a22c);return _0x12cbe9;}const _0x53e4d3={'onlineStatusIcon':'univer-online-status-icon','onlineStatusTitle':_0x386947(0x129),'onlineStatus':_0x386947(0x2ab),'online':_0x386947(0x20e),'offline':_0x386947(0x3e3)};function _0xa012fe(_0x42baed){const _0xc6d721=_0x386947;switch(_0x42baed){case _0x500154[_0xc6d721(0x4b3)]:return _0xc6d721(0x531);case _0x500154[_0xc6d721(0x53f)]:return _0xc6d721(0x1be);case _0x500154[_0xc6d721(0x3d3)]:return _0xc6d721(0x2e6);case _0x500154[_0xc6d721(0x398)]:return'collabStatus.notCollab';case _0x500154[_0xc6d721(0x1ae)]:case _0x500154[_0xc6d721(0x1d6)]:case _0x500154['AWAITING_WITH_PENDING']:return'collabStatus.syncing';case _0x500154[_0xc6d721(0x336)]:return _0xc6d721(0x2f6);}}function _0x15799c(_0x392856){const _0x43e43f=_0x386947,{status$:_0x34c2a2}=_0x392856,_0x20402b=_0x2d5590[_0x43e43f(0x4c7)](_0x34c2a2,_0x500154[_0x43e43f(0x398)]),_0x567ff9=_0x192dca['useDependency'](_0x192dca[_0x43e43f(0x40a)]),_0x1341a5=_0x192dca[_0x43e43f(0x32e)](_0x2be6ec[_0x43e43f(0x4af)]),_0x249dfe=_0x20402b!==_0x500154[_0x43e43f(0x4b3)],_0x4ad277=_0x567ff9['t'](_0xa012fe(_0x20402b)),_0x7b83cc=_0xae1fdd(_0x53e4d3['onlineStatus'],{[_0x53e4d3['online']]:_0x249dfe,[_0x53e4d3[_0x43e43f(0x54a)]]:!_0x249dfe}),_0x303b6b=_0x249dfe?_0x6ad2c[_0x43e43f(0x15b)](_0xe6eb9d,null):_0x6ad2c[_0x43e43f(0x15b)](_0x47c39b,null),_0x2d19e4=_0x6ad2c['useCallback'](()=>{const _0x236b0b=_0x43e43f;_0x249dfe||_0x1341a5[_0x236b0b(0x35a)]();},[_0x249dfe,_0x1341a5]);function _0x48153a(){const _0x5d41d7=_0x43e43f;return _0x6ad2c[_0x5d41d7(0x15b)]('div',{'className':_0x7b83cc,'onClick':_0x2d19e4},_0x6ad2c[_0x5d41d7(0x15b)](_0x5d41d7(0x31c),{'className':_0x53e4d3[_0x5d41d7(0x146)]},_0x303b6b),_0x6ad2c['createElement'](_0x5d41d7(0x31c),{'className':_0x53e4d3[_0x5d41d7(0x49f)]},_0x4ad277));}return _0x249dfe?_0x48153a():_0x6ad2c[_0x43e43f(0x15b)](_0x4210bc[_0x43e43f(0x18e)],{'title':_0x567ff9['t'](_0x43e43f(0x35e))},_0x48153a());}var _0x38e708=Object[_0x386947(0x4dc)],_0x3e0981=Object[_0x386947(0x31b)],_0x1dbb3b=(_0x97bf24,_0x2037b9,_0x4188f0,_0x5185c2)=>{for(var _0x5ad707=_0x5185c2>0x1?void 0x0:_0x5185c2?_0x3e0981(_0x2037b9,_0x4188f0):_0x2037b9,_0x6a06b2=_0x97bf24['length']-0x1,_0x128017;_0x6a06b2>=0x0;_0x6a06b2--)(_0x128017=_0x97bf24[_0x6a06b2])&&(_0x5ad707=(_0x5185c2?_0x128017(_0x2037b9,_0x4188f0,_0x5ad707):_0x128017(_0x5ad707))||_0x5ad707);return _0x5185c2&&_0x5ad707&&_0x38e708(_0x2037b9,_0x4188f0,_0x5ad707),_0x5ad707;},_0x44882e=(_0x2a2c57,_0x5e17c8)=>(_0x3d66f8,_0x1e0eaf)=>_0x5e17c8(_0x3d66f8,_0x1e0eaf,_0x2a2c57);_0x2be6ec[_0x386947(0x28e)]=class extends _0x192dca[_0x386947(0x43e)]{constructor(_0x49a8f8,_0x5228d7,_0x3d4314,_0x58bfac){const _0x3bc40a=_0x386947;super(),_0x49f745(this,_0x3bc40a(0x4ce),new _0x23b07d[(_0x3bc40a(0x13c))](_0x500154[_0x3bc40a(0x398)])),(this[_0x3bc40a(0x36f)]=_0x49a8f8,this[_0x3bc40a(0x3d6)]=_0x5228d7,this[_0x3bc40a(0x349)]=_0x3d4314,this['_collaborationController']=_0x58bfac,this[_0x3bc40a(0x3a0)](),this['_initStatusListener']());}[_0x386947(0x4bc)](){const _0x4bfe9f=_0x386947;this['disposeWithMe'](this[_0x4bfe9f(0x36f)][_0x4bfe9f(0x159)][_0x4bfe9f(0x507)](_0x23b07d[_0x4bfe9f(0x2db)](()=>{const _0x1b0188=_0x4bfe9f,_0x44e2b2=this['_univerInstanceService'][_0x1b0188(0x418)]();return _0x44e2b2?this[_0x1b0188(0x3c9)][_0x1b0188(0x356)](_0x44e2b2[_0x1b0188(0x2ae)]()):_0x23b07d['of'](null);}),_0x23b07d[_0x4bfe9f(0x2db)](_0x24e624=>_0x24e624?_0x24e624['status$']:_0x23b07d['of'](_0x500154['NOT_COLLAB'])))[_0x4bfe9f(0x1fd)](_0x52335f=>{const _0x421f5c=_0x4bfe9f;this['_status$'][_0x421f5c(0x431)](_0x52335f);}));}[_0x386947(0x3a0)](){const _0x14dcdc=_0x386947;this[_0x14dcdc(0x45d)](this['_uiPartsService'][_0x14dcdc(0x3f5)](_0x2d5590[_0x14dcdc(0x527)][_0x14dcdc(0x348)],()=>_0x192dca[_0x14dcdc(0x400)](_0x290fc3({'status$':this[_0x14dcdc(0x4ce)][_0x14dcdc(0x529)]()}),this[_0x14dcdc(0x349)])));}},_0x2be6ec[_0x386947(0x28e)]=_0x1dbb3b([_0x44882e(0x0,_0x192dca['IUniverInstanceService']),_0x44882e(0x1,_0x2d5590['IUIPartsService']),_0x44882e(0x2,_0x192dca['Inject'](_0x192dca[_0x386947(0x13d)])),_0x44882e(0x3,_0x192dca[_0x386947(0x25f)](_0x2be6ec[_0x386947(0x4a1)]))],_0x2be6ec[_0x386947(0x28e)]);function _0x290fc3(_0x22841b){const {status$:_0xb7171c}=_0x22841b;return function(){const _0x4b481d=_0x3fcf;return _0x6ad2c[_0x4b481d(0x15b)](_0x15799c,{'status$':_0xb7171c});};}const _0xb2e6db=_0x192dca['createIdentifier']('uni.network.url-service');var _0x420738=Object[_0x386947(0x4dc)],_0x53718a=Object[_0x386947(0x31b)],_0x1e70a3=(_0x1d4f8f,_0x16b773,_0x5e2a72,_0x1bd4d7)=>{const _0x1cf93d=_0x386947;for(var _0x1c612c=_0x1bd4d7>0x1?void 0x0:_0x1bd4d7?_0x53718a(_0x16b773,_0x5e2a72):_0x16b773,_0x27c49f=_0x1d4f8f[_0x1cf93d(0x41d)]-0x1,_0x5b4bd1;_0x27c49f>=0x0;_0x27c49f--)(_0x5b4bd1=_0x1d4f8f[_0x27c49f])&&(_0x1c612c=(_0x1bd4d7?_0x5b4bd1(_0x16b773,_0x5e2a72,_0x1c612c):_0x5b4bd1(_0x1c612c))||_0x1c612c);return _0x1bd4d7&&_0x1c612c&&_0x420738(_0x16b773,_0x5e2a72,_0x1c612c),_0x1c612c;},_0x2fd94d=(_0x2797a5,_0x10d167)=>(_0x3dd888,_0xc5d69)=>_0x10d167(_0x3dd888,_0xc5d69,_0x2797a5);_0x2be6ec['DataLoaderController']=class extends _0x192dca[_0x386947(0x44d)]{constructor(_0x4bb569,_0xfaf300,_0x1e8a45,_0x3ebd4d,_0x323edc,_0x804f7c){const _0x1fa934=_0x386947;super(),this[_0x1fa934(0x2bb)]=_0x4bb569,this[_0x1fa934(0x468)]=_0xfaf300,this[_0x1fa934(0x4d5)]=_0x1e8a45,this['_localCacheService']=_0x3ebd4d,this[_0x1fa934(0x4f4)]=_0x323edc,_0x804f7c?_0x804f7c==null||_0x804f7c[_0x1fa934(0x319)]()[_0x1fa934(0x241)](()=>this[_0x1fa934(0x24e)]()):(this[_0x1fa934(0x468)][_0x1fa934(0x310)](_0x1fa934(0x223),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x1fa934(0x24e)]());}async[_0x386947(0x24e)](){const _0x10208e=_0x386947,_0x43c4ba=this[_0x10208e(0x2bb)][_0x10208e(0x461)](_0x10208e(0x2aa)),_0x234dbe=this[_0x10208e(0x2bb)][_0x10208e(0x461)](_0x10208e(0x262));if(!_0x43c4ba||!_0x234dbe){this[_0x10208e(0x468)][_0x10208e(0x310)](_0x10208e(0x223),_0x10208e(0x460));return;}switch(Number(_0x234dbe)){case _0x54e2db[_0x10208e(0x29f)]:{const _0x3d7059=await this[_0x10208e(0x4e3)](_0x43c4ba);this[_0x10208e(0x19a)](_0x3d7059);break;}case _0x54e2db[_0x10208e(0x51f)]:{await this['_loadDoc'](_0x43c4ba);break;}default:{this['_logService']['error'](_0x10208e(0x223),'Unknown\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');break;}}}async[_0x386947(0x19a)](_0x4d728e){const _0x2152d3=_0x386947;await this[_0x2152d3(0x2dd)](_0x4d728e),_0x4d728e['activeSheet$'][_0x2152d3(0x507)](_0x23b07d['takeUntil'](this[_0x2152d3(0x308)]))['subscribe'](_0x3b20c8=>{_0x3b20c8&&this['_updateURLWithCurrentState'](_0x3b20c8);}),this['_urlService'][_0x2152d3(0x2c1)][_0x2152d3(0x507)](_0x23b07d[_0x2152d3(0x285)](this[_0x2152d3(0x308)]))[_0x2152d3(0x1fd)](()=>this[_0x2152d3(0x2dd)](_0x4d728e));}[_0x386947(0x15d)](_0x1282bb,_0x58d563=!0x1){const _0x3dd118=_0x386947,_0xc0aa78=this[_0x3dd118(0x2bb)]['getParam'](_0x3dd118(0x229));_0x1282bb['getSheetId']()!==_0xc0aa78&&this['_urlService']['setParam'](_0x3dd118(0x229),_0x1282bb[_0x3dd118(0x399)](),_0x58d563);}async[_0x386947(0x2dd)](_0x23ba55){const _0x4bc39e=_0x386947;var _0x25e724;const _0x54b9d9=this['_urlService'][_0x4bc39e(0x461)]('subunit');if(!_0x54b9d9||!_0x23ba55[_0x4bc39e(0x430)](_0x54b9d9)){const _0xb432a3=_0x23ba55[_0x4bc39e(0x48a)]()[0x0],_0x1a36b9=_0x23ba55[_0x4bc39e(0x430)](_0xb432a3);if(!_0x1a36b9)return;this[_0x4bc39e(0x15d)](_0x1a36b9,!0x0),await this[_0x4bc39e(0x4d5)][_0x4bc39e(0x1d5)](_0x4320c2[_0x4bc39e(0x439)]['id'],{'unitId':_0x23ba55['getUnitId'](),'subUnitId':_0xb432a3});return;}((_0x25e724=_0x23ba55[_0x4bc39e(0x1fb)]())==null?void 0x0:_0x25e724[_0x4bc39e(0x399)]())!==_0x54b9d9&&await this['_commandService']['executeCommand'](_0x4320c2['SetWorksheetActivateCommand']['id'],{'unitId':_0x23ba55['getUnitId'](),'subUnitId':_0x54b9d9});}async['_loadSheet'](_0x4f2656){const _0x27e8ff=_0x386947;let _0x5de912=0x0;const _0x54d555=await this[_0x27e8ff(0x389)]['loadOfflineData'](_0x4f2656);return _0x54d555&&(_0x54d555[_0x27e8ff(0x2ed)]||_0x54d555[_0x27e8ff(0x32f)]['length']!==0x0)&&(_0x5de912=_0x54d555[_0x27e8ff(0x4cb)]),_0x5de912===0x0&&this[_0x27e8ff(0x468)][_0x27e8ff(0x310)]('[DataLoaderController]',_0x27e8ff(0x38f)),this[_0x27e8ff(0x4f4)][_0x27e8ff(0x4c3)](_0x4f2656,_0x5de912);}async['_loadDoc'](_0x522d1a){const _0xbeaf72=_0x386947;let _0x48e4d2=0x0;const _0xd9d684=await this[_0xbeaf72(0x389)]['loadOfflineData'](_0x522d1a);return _0xd9d684&&(_0xd9d684[_0xbeaf72(0x2ed)]||_0xd9d684[_0xbeaf72(0x32f)][_0xbeaf72(0x41d)]!==0x0)&&(_0x48e4d2=_0xd9d684['rev']),_0x48e4d2===0x0&&this[_0xbeaf72(0x468)]['debug'](_0xbeaf72(0x223),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0xbeaf72(0x4f4)]['loadDoc'](_0x522d1a,_0x48e4d2);}},_0x2be6ec['DataLoaderController']=_0x1e70a3([_0x2fd94d(0x0,_0xb2e6db),_0x2fd94d(0x1,_0x192dca['ILogService']),_0x2fd94d(0x2,_0x192dca['ICommandService']),_0x2fd94d(0x3,_0x192dca[_0x386947(0x25f)](_0x2be6ec[_0x386947(0x4f6)])),_0x2fd94d(0x4,_0x192dca['Inject'](_0x5a4440['SnapshotService'])),_0x2fd94d(0x5,_0x192dca[_0x386947(0x2a3)](_0x40eda0['IRemoteInstanceService']))],_0x2be6ec['DataLoaderController']);var _0x5b12f1=Object[_0x386947(0x4dc)],_0x51d68c=Object[_0x386947(0x31b)],_0x4c719e=(_0x240b2a,_0x325597,_0x19f766,_0x3c7715)=>{const _0x17070b=_0x386947;for(var _0x134e31=_0x3c7715>0x1?void 0x0:_0x3c7715?_0x51d68c(_0x325597,_0x19f766):_0x325597,_0x1f783e=_0x240b2a[_0x17070b(0x41d)]-0x1,_0x69dae7;_0x1f783e>=0x0;_0x1f783e--)(_0x69dae7=_0x240b2a[_0x1f783e])&&(_0x134e31=(_0x3c7715?_0x69dae7(_0x325597,_0x19f766,_0x134e31):_0x69dae7(_0x134e31))||_0x134e31);return _0x3c7715&&_0x134e31&&_0x5b12f1(_0x325597,_0x19f766,_0x134e31),_0x134e31;},_0x14b64b=(_0x1150bf,_0x15d571)=>(_0x50698a,_0x33634f)=>_0x15d571(_0x50698a,_0x33634f,_0x1150bf);const _0x4cd061=_0x386947(0x4c1),_0x2336bb=_0x386947(0x30f);let _0x4ac96f=class extends _0x192dca[_0x386947(0x43e)]{constructor(_0x22cf82,_0x13ece1){const _0x1be949=_0x386947;super(),this['_univerInstanceService']=_0x22cf82,this[_0x1be949(0x49c)]=_0x13ece1,this[_0x1be949(0x24e)]();}[_0x386947(0x24e)](){const _0xd26b51=_0x386947;this['disposeWithMe'](this[_0xd26b51(0x36f)][_0xd26b51(0x159)][_0xd26b51(0x1fd)](()=>{const _0x2ae09a=_0xd26b51;var _0x48ee4a;const _0x3c87d7=this[_0x2ae09a(0x36f)]['getFocusedUnit']();let _0x520d72=(_0x48ee4a=this[_0x2ae09a(0x49c)][_0x2ae09a(0x26c)](_0x4cd061))!=null?_0x48ee4a:_0x2336bb;_0x3c87d7 instanceof _0x192dca[_0x2ae09a(0x1dd)]&&(_0x520d72=_0x3c87d7[_0x2ae09a(0x150)]),document['title']=_0x520d72;}));}};_0x4ac96f=_0x4c719e([_0x14b64b(0x0,_0x192dca[_0x386947(0x21d)]),_0x14b64b(0x1,_0x192dca[_0x386947(0x479)])],_0x4ac96f);var _0x3c4f95=Object[_0x386947(0x4dc)],_0x55b1df=Object[_0x386947(0x31b)],_0x415ef2=(_0x4ff9fb,_0x5b043b,_0x3dc363,_0x145299)=>{const _0x4d397a=_0x386947;for(var _0x4304fb=_0x145299>0x1?void 0x0:_0x145299?_0x55b1df(_0x5b043b,_0x3dc363):_0x5b043b,_0x8122bd=_0x4ff9fb[_0x4d397a(0x41d)]-0x1,_0x3426b4;_0x8122bd>=0x0;_0x8122bd--)(_0x3426b4=_0x4ff9fb[_0x8122bd])&&(_0x4304fb=(_0x145299?_0x3426b4(_0x5b043b,_0x3dc363,_0x4304fb):_0x3426b4(_0x4304fb))||_0x4304fb);return _0x145299&&_0x4304fb&&_0x3c4f95(_0x5b043b,_0x3dc363,_0x4304fb),_0x4304fb;},_0x2e6225=(_0x3d2a38,_0xcdc237)=>(_0x359635,_0x1ec122)=>_0xcdc237(_0x359635,_0x1ec122,_0x3d2a38);let _0x31381a=class{constructor(_0xefdd59,_0x407bfb,_0x491b6d){const _0x189141=_0x386947;this[_0x189141(0x49c)]=_0xefdd59,this[_0x189141(0x37e)]=_0x407bfb,this[_0x189141(0x4a4)]=_0x491b6d,this[_0x189141(0x206)]();}[_0x386947(0x206)](){const _0x1fd2a3=_0x386947;this[_0x1fd2a3(0x37e)][_0x1fd2a3(0x2d5)]({'priority':0x1,'interceptor':(_0x2e50f6,_0x5c022e)=>_0x5c022e(_0x2e50f6)[_0x1fd2a3(0x507)](_0x23b07d[_0x1fd2a3(0x162)](async _0x376272=>{const _0x44bcbc=_0x1fd2a3,_0x52b831=_0x376272;if(_0x52b831[_0x44bcbc(0x15c)]===0x191&&window[_0x44bcbc(0x45a)](this['localeService']['t'](_0x44bcbc(0x292)))){const _0xc0b54d=window[_0x44bcbc(0x54c)](window['location'][_0x44bcbc(0x4b9)]);window[_0x44bcbc(0x2f9)][_0x44bcbc(0x4b9)]=this['_getLoginPath']()+_0x44bcbc(0x4e7)+_0xc0b54d;}return _0x52b831;}))});}[_0x386947(0x362)](){const _0x277a32=_0x386947;var _0x15e790,_0x13eb06;const _0x55d0cc=this[_0x277a32(0x49c)][_0x277a32(0x26c)](_0x328d3a),_0x1f5515=this[_0x277a32(0x49c)][_0x277a32(0x26c)](_0x310a31);return(_0x13eb06=(_0x15e790=_0x1f5515==null?void 0x0:_0x1f5515['loginUrlKey'])!=null?_0x15e790:_0x55d0cc)!=null?_0x13eb06:_0x19a1cb;}};_0x31381a=_0x415ef2([_0x2e6225(0x0,_0x192dca['IConfigService']),_0x2e6225(0x1,_0x192dca['Inject'](_0x415ed6[_0x386947(0x37b)])),_0x2e6225(0x2,_0x192dca[_0x386947(0x25f)](_0x192dca[_0x386947(0x40a)]))],_0x31381a);var _0x617f28=Object['defineProperty'],_0x38c75b=Object[_0x386947(0x31b)],_0x425ac8=(_0x2eef6f,_0x4894c9,_0x137446,_0x2afa58)=>{const _0x31158c=_0x386947;for(var _0x36ade9=_0x2afa58>0x1?void 0x0:_0x2afa58?_0x38c75b(_0x4894c9,_0x137446):_0x4894c9,_0x75fd30=_0x2eef6f[_0x31158c(0x41d)]-0x1,_0xb92757;_0x75fd30>=0x0;_0x75fd30--)(_0xb92757=_0x2eef6f[_0x75fd30])&&(_0x36ade9=(_0x2afa58?_0xb92757(_0x4894c9,_0x137446,_0x36ade9):_0xb92757(_0x36ade9))||_0x36ade9);return _0x2afa58&&_0x36ade9&&_0x617f28(_0x4894c9,_0x137446,_0x36ade9),_0x36ade9;},_0x402517=(_0x206b60,_0x5b4d85)=>(_0x877cfd,_0x5d7837)=>_0x5b4d85(_0x877cfd,_0x5d7837,_0x206b60);const _0x4b04d6=_0x386947(0x174),_0x54bfdd='/universer-api/authz';_0x2be6ec[_0x386947(0x226)]=class extends _0x192dca['Disposable']{constructor(_0x27b711,_0xadd404){const _0x308785=_0x386947;super(),this[_0x308785(0x16f)]=_0x27b711,this[_0x308785(0x49c)]=_0xadd404,this[_0x308785(0x4e1)]();}[_0x386947(0x4e1)](){const _0x43665d=_0x386947,_0x1b0db2=this;this[_0x43665d(0x45d)](this[_0x43665d(0x16f)]['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':_0x415ed6[_0x43665d(0x17f)]({'isMatch'(_0x469de7){const _0x3c1299=_0x43665d;var _0x572b43;if(_0x469de7[_0x3c1299(0x47b)]===_0x3c1299(0x537)&&((_0x572b43=_0x469de7[_0x3c1299(0x1cc)])!=null&&_0x572b43[_0x3c1299(0x26e)])){const {objectID:_0x240a7d,objectType:_0x287345}=_0x469de7[_0x3c1299(0x1cc)][_0x3c1299(0x26e)]||{};if(!_0x240a7d||_0x287345===void 0x0)return!0x1;const _0x1376ff=_0x1b0db2[_0x3c1299(0x1d4)]()+'/'+_0x287345+_0x3c1299(0x338)+_0x240a7d+_0x3c1299(0x539);if(_0x469de7[_0x3c1299(0x201)]===_0x1376ff)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x295cb4){const _0x3dc7a9=_0x43665d;var _0x379a0e;return(_0x379a0e=_0x295cb4[_0x3dc7a9(0x1cc)])==null?void 0x0:_0x379a0e[_0x3dc7a9(0x26e)];},'mergeParamsToRequest'(_0x42cf76,_0x5774b5){const _0x453c63=_0x43665d,_0x2c7d38=_0x1b0db2[_0x453c63(0x1d4)]()+'/-/object/-/batch_allowed',_0x3715db=_0x42cf76[_0x453c63(0x44c)]((_0x4d3f2d,_0x26d061)=>{const _0x26d87a=_0x453c63,{unitID:_0xf67088,objectID:_0x46e357,objectType:_0xc7e626,actions:_0x1b3f51}=_0x26d061;return _0x4d3f2d[_0xf67088]||(_0x4d3f2d[_0xf67088]={}),_0x4d3f2d[_0xf67088][_0x46e357]||(_0x4d3f2d[_0xf67088][_0x46e357]={'objectID':_0x46e357,'objectType':_0xc7e626,'actions':[]}),_0x4d3f2d[_0xf67088][_0x46e357][_0x26d87a(0x37c)][_0x26d87a(0x3c8)](..._0x1b3f51),_0x4d3f2d;},{}),_0x4b744a=[];for(const _0x129bce in _0x3715db)for(const _0x4ca891 in _0x3715db[_0x129bce]){const {actions:_0x23c809,objectType:_0x2dd87e}=_0x3715db[_0x129bce][_0x4ca891],_0x387c11=[...new Set(_0x23c809)];_0x4b744a[_0x453c63(0x3c8)]({'unitID':_0x129bce,'objectID':_0x4ca891,'objectType':_0x2dd87e,'actions':_0x387c11});}return new _0x415ed6[(_0x453c63(0x278))]('POST',_0x2c7d38,{'headers':_0x5774b5[_0x453c63(0x47a)],'withCredentials':_0x5774b5['withCredentials'],'responseType':_0x5774b5[_0x453c63(0x3ad)],'body':{'requests':_0x4b744a}});}},{'distributeResult'(_0x40fdc9,_0x23b0e9){const {objectActions:_0x11551e}=_0x40fdc9;return _0x23b0e9['map'](_0x237b07=>{const _0x446d9d=_0x3fcf,{unitID:_0x3fdb98,objectID:_0x56fcfe,actions:_0x55e90b}=_0x237b07,_0x12342e=_0x11551e[_0x446d9d(0x53a)](_0x1c0be1=>_0x1c0be1[_0x446d9d(0x4e0)]===_0x3fdb98&&_0x1c0be1[_0x446d9d(0x357)]===_0x56fcfe),_0x1383b8=_0x55e90b['map'](_0x9ad7cf=>_0x12342e==null?void 0x0:_0x12342e[_0x446d9d(0x37c)]['find'](_0x405750=>_0x405750[_0x446d9d(0x466)]===_0x9ad7cf))[_0x446d9d(0x220)](_0x2373f4=>!!_0x2373f4);return{'config':_0x237b07,'result':{'actions':_0x1383b8,'error':_0x40fdc9[_0x446d9d(0x271)]}};});}})}));}[_0x386947(0x1d4)](){const _0x3beade=_0x386947;var _0x4d6a47,_0x2d3e89;const _0x6e4bb7=this[_0x3beade(0x49c)][_0x3beade(0x26c)](_0x4b04d6),_0x469974=this[_0x3beade(0x49c)][_0x3beade(0x26c)](_0x310a31);return(_0x2d3e89=(_0x4d6a47=_0x469974==null?void 0x0:_0x469974[_0x3beade(0x3aa)])!=null?_0x4d6a47:_0x6e4bb7)!=null?_0x2d3e89:_0x54bfdd;}async[_0x386947(0x36d)](_0x1db632){const _0x5e0246=_0x386947,_0x3e7388=this[_0x5e0246(0x1d4)]()+'/'+_0x1db632['objectType']+_0x5e0246(0x21b);return(await this['_HTTPService']['post'](_0x3e7388,{'body':_0x1db632}))[_0x5e0246(0x26e)][_0x5e0246(0x357)]||'';}async[_0x386947(0x335)](_0x61eca){const _0x22555b=_0x386947,_0x1cf8b3=this[_0x22555b(0x1d4)]()+_0x22555b(0x1e4);return(await this[_0x22555b(0x16f)][_0x22555b(0x559)](_0x1cf8b3,{'body':_0x61eca}))['body'][_0x22555b(0x15a)];}async[_0x386947(0x3af)](_0x18f3fe){const _0x3ebd71=_0x386947,_0x1728b1=this[_0x3ebd71(0x1d4)]()+'/'+_0x18f3fe['objectType']+_0x3ebd71(0x338)+_0x18f3fe[_0x3ebd71(0x357)];await this['_HTTPService']['put'](_0x1728b1,{'body':_0x18f3fe});}async[_0x386947(0x3cc)](_0x1d0463){const _0x477eef=_0x386947,_0x47a9a4=this[_0x477eef(0x1d4)]()+'/'+_0x1d0463[_0x477eef(0x4e4)]+_0x477eef(0x338)+_0x1d0463[_0x477eef(0x357)]+_0x477eef(0x539);return(await this[_0x477eef(0x16f)][_0x477eef(0x559)](_0x47a9a4,{'body':_0x1d0463}))[_0x477eef(0x26e)]['actions'];}async[_0x386947(0x14a)](_0x70f2d3){const _0x34a4b3=_0x386947,_0x43d068=this[_0x34a4b3(0x1d4)]()+_0x34a4b3(0x4d3);return(await this[_0x34a4b3(0x16f)][_0x34a4b3(0x559)](_0x43d068,{'body':{'requests':_0x70f2d3}}))[_0x34a4b3(0x26e)][_0x34a4b3(0x4b4)];}async[_0x386947(0x489)](_0x58a519){const _0x4f6240=_0x386947,_0x412f02=this[_0x4f6240(0x1d4)]()+'/'+_0x58a519[_0x4f6240(0x4e4)]+'/role',_0x4672f7=await this['_HTTPService'][_0x4f6240(0x559)](_0x412f02,{'body':_0x58a519});return{'roles':_0x4672f7[_0x4f6240(0x26e)][_0x4f6240(0x2d6)],'actions':_0x4672f7['body'][_0x4f6240(0x37c)]};}async[_0x386947(0x503)](_0x7286f5){const _0x15783b=_0x386947,_0x474d8d=this[_0x15783b(0x1d4)]()+_0x15783b(0x245);await this[_0x15783b(0x16f)][_0x15783b(0x1e7)](_0x474d8d,{'params':{'collaboratorID':_0x7286f5[_0x15783b(0x382)],'objectID':_0x7286f5[_0x15783b(0x357)],'unitID':_0x7286f5[_0x15783b(0x4e0)]}});}async['updateCollaborator'](_0x3018e2){const _0x13533d=_0x386947,_0x302620=this[_0x13533d(0x1d4)]()+'/collaborator';await this[_0x13533d(0x16f)][_0x13533d(0x1c4)](_0x302620,{'body':_0x3018e2});}async[_0x386947(0x46d)](_0x1f7f2b){const _0x475a23=_0x386947,_0x47481f=this['_getAPIPrefixPath']()+_0x475a23(0x245);await this[_0x475a23(0x16f)][_0x475a23(0x559)](_0x47481f,{'body':_0x1f7f2b});}async[_0x386947(0x252)](_0x2d54ac){const _0x3129e5=_0x386947,_0x2917b1=this[_0x3129e5(0x1d4)]()+'/collaborator';return(await this[_0x3129e5(0x16f)][_0x3129e5(0x2b1)](_0x2917b1,{'params':{'objectID':_0x2d54ac[_0x3129e5(0x357)],'unitID':_0x2d54ac[_0x3129e5(0x4e0)]}}))[_0x3129e5(0x26e)]['collaborators'];}async[_0x386947(0x13e)](_0x57f511){const _0xc9530a=_0x386947,_0x521231=this['_getAPIPrefixPath']()+_0xc9530a(0x245);await this['_HTTPService']['put'](_0x521231,{'body':_0x57f511});}},_0x2be6ec['AuthzIoHttpService']=_0x425ac8([_0x402517(0x0,_0x192dca[_0x386947(0x25f)](_0x415ed6['HTTPService'])),_0x402517(0x1,_0x192dca['Inject'](_0x192dca[_0x386947(0x479)]))],_0x2be6ec['AuthzIoHttpService']);var _0xd60c72=Object[_0x386947(0x4dc)],_0x351c01=Object['getOwnPropertyDescriptor'],_0x4798a7=(_0x69eaaa,_0x19a08b,_0x5e7ee0,_0x442c14)=>{const _0x29e522=_0x386947;for(var _0x1b0529=_0x442c14>0x1?void 0x0:_0x442c14?_0x351c01(_0x19a08b,_0x5e7ee0):_0x19a08b,_0x4c0788=_0x69eaaa[_0x29e522(0x41d)]-0x1,_0x33ded6;_0x4c0788>=0x0;_0x4c0788--)(_0x33ded6=_0x69eaaa[_0x4c0788])&&(_0x1b0529=(_0x442c14?_0x33ded6(_0x19a08b,_0x5e7ee0,_0x1b0529):_0x33ded6(_0x1b0529))||_0x1b0529);return _0x442c14&&_0x1b0529&&_0xd60c72(_0x19a08b,_0x5e7ee0,_0x1b0529),_0x1b0529;},_0x269927=(_0x2616d2,_0x2dff89)=>(_0x31bbed,_0x4f9ca1)=>_0x2dff89(_0x31bbed,_0x4f9ca1,_0x2616d2);let _0x2f3f99=class{constructor(_0x2c25ba){const _0x1838a8=_0x386947;this[_0x1838a8(0x37e)]=_0x2c25ba,this[_0x1838a8(0x498)]();}[_0x386947(0x498)](){const _0x25a559=_0x386947;this[_0x25a559(0x37e)][_0x25a559(0x2d5)]({'interceptor':(_0x2869b7,_0x18d224)=>{const _0x2d3699=_0x25a559,_0x19dc19=_0x2869b7[_0x2d3699(0x47a)],_0x4238ee=_0x301e91[_0x2d3699(0x168)]();return _0x4238ee&&_0x19dc19[_0x2d3699(0x504)]('x-univer-host',_0x4238ee),_0x18d224(_0x2869b7);}});}};_0x2f3f99=_0x4798a7([_0x269927(0x0,_0x192dca[_0x386947(0x25f)](_0x415ed6[_0x386947(0x37b)]))],_0x2f3f99);var _0x2876aa=Object['defineProperty'],_0x576e59=Object[_0x386947(0x31b)],_0x1e5831=(_0x4fabd0,_0x1acf50,_0x2787a9,_0x1c5e56)=>{for(var _0x2e648c=_0x1c5e56>0x1?void 0x0:_0x1c5e56?_0x576e59(_0x1acf50,_0x2787a9):_0x1acf50,_0x771318=_0x4fabd0['length']-0x1,_0x4801fc;_0x771318>=0x0;_0x771318--)(_0x4801fc=_0x4fabd0[_0x771318])&&(_0x2e648c=(_0x1c5e56?_0x4801fc(_0x1acf50,_0x2787a9,_0x2e648c):_0x4801fc(_0x2e648c))||_0x2e648c);return _0x1c5e56&&_0x2e648c&&_0x2876aa(_0x1acf50,_0x2787a9,_0x2e648c),_0x2e648c;},_0x33ae25=(_0x3d90ea,_0x46604f)=>(_0x251cca,_0x27a224)=>_0x46604f(_0x251cca,_0x27a224,_0x3d90ea);const _0x3293bd=['image/png',_0x386947(0x1de),_0x386947(0x35b),_0x386947(0x359),_0x386947(0x2eb)],_0x319e67=0x5*0x400*0x400,_0x89c8b7=_0x386947(0x3b5),_0x5261bd=_0x386947(0x2ff),_0x543187=_0x386947(0x26a),_0x10494d=_0x386947(0x20a);_0x2be6ec['ImageIoService']=class{constructor(_0x207dd2,_0x17fbab,_0x5cc214){const _0x125728=_0x386947;_0x49f745(this,_0x125728(0x422),0x0),_0x49f745(this,_0x125728(0x178),new _0x23b07d[(_0x125728(0x2b6))]()),_0x49f745(this,'change$',this[_0x125728(0x178)]),_0x49f745(this,'_imageSourceCache',new Map()),(this['_httpService']=_0x207dd2,this['_configService']=_0x17fbab,this[_0x125728(0x36f)]=_0x5cc214);}['setWaitCount'](_0x4368f8){const _0x3abfe9=_0x386947;this[_0x3abfe9(0x422)]=_0x4368f8,this[_0x3abfe9(0x178)]['next'](_0x4368f8);}['getImageSourceCache'](_0x20b16a,_0x13586d){const _0x40f725=_0x386947;if(_0x13586d===_0x3d30ea['ImageSourceType'][_0x40f725(0x46e)]){const _0xa1eab9=new Image();return _0xa1eab9['src']=_0x20b16a,_0xa1eab9;}return this['_imageSourceCache']['get'](_0x20b16a);}['addImageSourceCache'](_0x1acf3d,_0x368ca3,_0x136726){const _0x2ad634=_0x386947;_0x368ca3===_0x3d30ea[_0x2ad634(0x1fc)][_0x2ad634(0x46e)]||_0x136726==null||this[_0x2ad634(0x457)][_0x2ad634(0x504)](_0x1acf3d,_0x136726);}async[_0x386947(0x17c)](_0x324644){const _0x154128=_0x386947;try{const _0x26337e=this[_0x154128(0x23e)](this[_0x154128(0x333)](),''+_0x324644),_0x29db3c=(await this[_0x154128(0x37e)]['get'](_0x26337e))[_0x154128(0x26e)];if(_0x29db3c['error']&&_0x29db3c[_0x154128(0x271)][_0x154128(0x42a)]===_0x377520['OK']){const _0x3bc32d=new URL(_0x29db3c[_0x154128(0x201)],this[_0x154128(0x494)]())[_0x154128(0x508)]();return Promise[_0x154128(0x4a2)](_0x3bc32d);}return Promise['reject'](_0x29db3c[_0x154128(0x271)]);}catch(_0x13fa35){return Promise[_0x154128(0x512)](_0x13fa35);}}async[_0x386947(0x2a9)](_0x447523){const _0x4b579a=_0x386947;let _0x3093fc='';if(!_0x3293bd[_0x4b579a(0x29b)](_0x447523[_0x4b579a(0x262)]))return this[_0x4b579a(0x53c)](),Promise[_0x4b579a(0x512)](new Error(_0x3d30ea[_0x4b579a(0x209)][_0x4b579a(0x2e3)]));if(_0x447523[_0x4b579a(0x1bb)]>_0x319e67)return this['_decreaseWaiting'](),Promise[_0x4b579a(0x512)](new Error(_0x3d30ea['ImageUploadStatusType'][_0x4b579a(0x222)]));try{const _0x14ddf8=new FormData();_0x14ddf8[_0x4b579a(0x2bf)]('file',_0x447523);const _0x35a751=this[_0x4b579a(0x36f)][_0x4b579a(0x418)](),_0x5e74b5=_0x35a751==null?void 0x0:_0x35a751['getUnitId']();if(!_0x5e74b5)throw new Error(_0x4b579a(0x388));const _0x2d7ad2=this['_getUploadFileURL']()+_0x4b579a(0x497)+_0x447523['size'][_0x4b579a(0x508)]()+_0x4b579a(0x24d)+_0x30e454['UnitEmbedded']+_0x4b579a(0x24b)+encodeURIComponent(_0x5e74b5),_0x27ae81=await(await fetch(_0x2d7ad2,{'method':_0x4b579a(0x537),'body':_0x14ddf8}))[_0x4b579a(0x4aa)]();if(typeof _0x27ae81['FileId']!='string')return this[_0x4b579a(0x53c)](),Promise[_0x4b579a(0x512)](new Error(_0x3d30ea[_0x4b579a(0x209)][_0x4b579a(0x3de)]));_0x3093fc=_0x27ae81[_0x4b579a(0x4d0)];}catch{return this[_0x4b579a(0x53c)](),Promise[_0x4b579a(0x512)](new Error(_0x3d30ea['ImageUploadStatusType']['ERROR_IMAGE']));}return new Promise((_0x3dcbcb,_0x22e632)=>{const _0x505efa=_0x4b579a,_0x47967e=new FileReader();_0x47967e['readAsDataURL'](_0x447523),_0x47967e[_0x505efa(0x17d)]=_0x44f609=>{const _0x39028f=_0x505efa;var _0x271a89;const _0x3c7671=(_0x271a89=_0x44f609['target'])==null?void 0x0:_0x271a89['result'];if(_0x3c7671==null){this[_0x39028f(0x53c)](),_0x22e632(new Error(_0x3d30ea[_0x39028f(0x209)][_0x39028f(0x3de)]));return;}const _0x51ceea=_0x192dca[_0x39028f(0x4f5)][_0x39028f(0x282)](0x6);_0x3dcbcb({'imageId':_0x51ceea,'imageSourceType':_0x3d30ea[_0x39028f(0x1fc)][_0x39028f(0x3ca)],'source':_0x3093fc,'base64Cache':_0x3c7671,'status':_0x3d30ea[_0x39028f(0x209)][_0x39028f(0x538)]}),this[_0x39028f(0x53c)]();};});}[_0x386947(0x3a6)](){const _0x280dab=_0x386947;var _0x5a1725,_0x642779;const _0x2339fb=this[_0x280dab(0x49c)][_0x280dab(0x26c)](_0x89c8b7),_0x5e38ab=this[_0x280dab(0x49c)][_0x280dab(0x26c)](_0x310a31);return(_0x642779=(_0x5a1725=_0x5e38ab==null?void 0x0:_0x5e38ab[_0x280dab(0x4ff)])!=null?_0x5a1725:_0x2339fb)!=null?_0x642779:_0x5261bd;}['_getSignURL'](){const _0x5168e5=_0x386947;var _0x3e0d89,_0x2b0dc5;const _0x56f547=this[_0x5168e5(0x49c)][_0x5168e5(0x26c)](_0x543187),_0x38bb47=this[_0x5168e5(0x49c)][_0x5168e5(0x26c)](_0x310a31);return(_0x2b0dc5=(_0x3e0d89=_0x38bb47==null?void 0x0:_0x38bb47['signUrlServerUrl'])!=null?_0x3e0d89:_0x56f547)!=null?_0x2b0dc5:_0x10494d;}[_0x386947(0x494)](){const _0x325012=_0x386947;var _0x46bd92;const _0x5e53ea=this[_0x325012(0x49c)][_0x325012(0x26c)](_0x310a31);return(_0x46bd92=_0x5e53ea==null?void 0x0:_0x5e53ea[_0x325012(0x3f6)])!=null?_0x46bd92:location[_0x325012(0x464)];}[_0x386947(0x23e)](_0x787def,_0x732819){const _0x4a0a0b=_0x386947;return _0x787def[_0x4a0a0b(0x13f)]('{fileID}',_0x732819);}['_decreaseWaiting'](){const _0x1a0ae5=_0x386947;this[_0x1a0ae5(0x422)]-=0x1,this['_change$'][_0x1a0ae5(0x431)](this[_0x1a0ae5(0x422)]);}},_0x2be6ec[_0x386947(0x54d)]=_0x1e5831([_0x33ae25(0x0,_0x192dca[_0x386947(0x25f)](_0x415ed6['HTTPService'])),_0x33ae25(0x1,_0x192dca[_0x386947(0x479)]),_0x33ae25(0x2,_0x192dca[_0x386947(0x25f)](_0x192dca[_0x386947(0x21d)]))],_0x2be6ec[_0x386947(0x54d)]);var _0x594566=Object['defineProperty'],_0x17bb3e=Object[_0x386947(0x31b)],_0x44da1d=(_0x15c529,_0x1c3bce,_0x23e3c9,_0x576c10)=>{const _0x3bcaa4=_0x386947;for(var _0x156573=_0x576c10>0x1?void 0x0:_0x576c10?_0x17bb3e(_0x1c3bce,_0x23e3c9):_0x1c3bce,_0x501e42=_0x15c529[_0x3bcaa4(0x41d)]-0x1,_0x1450a1;_0x501e42>=0x0;_0x501e42--)(_0x1450a1=_0x15c529[_0x501e42])&&(_0x156573=(_0x576c10?_0x1450a1(_0x1c3bce,_0x23e3c9,_0x156573):_0x1450a1(_0x156573))||_0x156573);return _0x576c10&&_0x156573&&_0x594566(_0x1c3bce,_0x23e3c9,_0x156573),_0x156573;},_0x2faa83=(_0x3d78e6,_0x21dbbf)=>(_0x4633c3,_0xa4197a)=>_0x21dbbf(_0x4633c3,_0xa4197a,_0x3d78e6);let _0x1a4720=class extends _0x192dca[_0x386947(0x44d)]{constructor(_0x1c428d,_0x42abb3,_0x18ce8f,_0x3cfaee,_0x5c67d0){const _0x5a8eec=_0x386947;super(),this[_0x5a8eec(0x349)]=_0x1c428d,this[_0x5a8eec(0x36f)]=_0x42abb3,this[_0x5a8eec(0x393)]=_0x18ce8f,this['_collaborationSessionService']=_0x3cfaee,this[_0x5a8eec(0x14b)]=_0x5c67d0,this['_initUnitPermissionChange'](),this[_0x5a8eec(0x4b5)]();}[_0x386947(0x4b5)](){const _0x390e8f=_0x386947,_0xd78ff4=async _0xe20343=>{const _0x475fe4=_0x3fcf;(await this[_0x475fe4(0x24f)]['requireSession'](_0xe20343))[_0x475fe4(0x16c)][_0x475fe4(0x507)](_0x455b28[_0x475fe4(0x220)](_0x2da78c=>_0x2da78c[_0x475fe4(0x28d)]===_0x5a4440[_0x475fe4(0x208)][_0x475fe4(0x31a)]),_0x455b28[_0x475fe4(0x285)](this[_0x475fe4(0x308)]))[_0x475fe4(0x1fd)](_0x18c245=>{const _0x574a1a=_0x475fe4,_0x447e68=_0x18c245,{reason:_0x495a22}=_0x447e68[_0x574a1a(0x4fa)];this['_injector'][_0x574a1a(0x2b1)](_0x2d5590[_0x574a1a(0x4a9)])[_0x574a1a(0x500)]({'type':_0x4210bc[_0x574a1a(0x1a0)][_0x574a1a(0x52f)],'content':this[_0x574a1a(0x14b)]['t'](_0x574a1a(0x2e9))+'('+_0x495a22+')'}),this['_permissionService'][_0x574a1a(0x259)](new _0x4320c2[(_0x574a1a(0x2dc))](_0xe20343)['id'],!0x1),this[_0x574a1a(0x24f)][_0x574a1a(0x1d8)](_0xe20343);});};_0x23b07d[_0x390e8f(0x169)](this[_0x390e8f(0x36f)][_0x390e8f(0x38c)](_0x192dca[_0x390e8f(0x277)][_0x390e8f(0x29f)]),this[_0x390e8f(0x36f)]['getTypeOfUnitAdded$'](_0x192dca['UniverInstanceType']['UNIVER_DOC']))[_0x390e8f(0x507)](_0x455b28[_0x390e8f(0x27c)](_0x298d53=>_0x298d53[_0x390e8f(0x2ae)]()),_0x455b28[_0x390e8f(0x220)](_0x3bda83=>!_0x192dca[_0x390e8f(0x475)](_0x3bda83)),_0x455b28[_0x390e8f(0x285)](this['dispose$']))['subscribe'](_0x51234f=>{_0xd78ff4(_0x51234f);});}[_0x386947(0x46c)](){const _0x18ded6=_0x386947,_0x484d65=async _0x45432f=>{const _0x9d7c50=_0x3fcf;(await this[_0x9d7c50(0x24f)][_0x9d7c50(0x4b2)](_0x45432f))[_0x9d7c50(0x16c)][_0x9d7c50(0x507)](_0x455b28[_0x9d7c50(0x220)](_0x4e95ac=>_0x4e95ac[_0x9d7c50(0x28d)]===_0x5a4440[_0x9d7c50(0x208)][_0x9d7c50(0x3a7)]),_0x455b28[_0x9d7c50(0x285)](this[_0x9d7c50(0x308)]))[_0x9d7c50(0x1fd)](_0x44509d=>{const _0x2abb2e=_0x9d7c50,_0x3a09d1=_0x44509d,{objectId:_0x5abceb}=_0x3a09d1[_0x2abb2e(0x4fa)],_0x1534d8=this[_0x2abb2e(0x349)][_0x2abb2e(0x2b1)](_0x20b398[_0x2abb2e(0x20c)]);_0x5abceb===_0x45432f?_0x1534d8[_0x2abb2e(0x167)](_0x45432f):_0x1534d8[_0x2abb2e(0x488)](_0x45432f,_0x5abceb);});};_0x23b07d[_0x18ded6(0x169)](this[_0x18ded6(0x36f)]['getTypeOfUnitAdded$'](_0x192dca[_0x18ded6(0x277)][_0x18ded6(0x29f)]),this[_0x18ded6(0x36f)][_0x18ded6(0x38c)](_0x192dca[_0x18ded6(0x277)][_0x18ded6(0x51f)]))[_0x18ded6(0x507)](_0x455b28['map'](_0x21ab28=>_0x21ab28[_0x18ded6(0x2ae)]()),_0x455b28[_0x18ded6(0x220)](_0x2d1110=>!_0x192dca[_0x18ded6(0x475)](_0x2d1110)),_0x455b28[_0x18ded6(0x285)](this[_0x18ded6(0x308)]))[_0x18ded6(0x1fd)](_0x34f81d=>{_0x484d65(_0x34f81d);});}};_0x1a4720=_0x44da1d([_0x2faa83(0x0,_0x192dca['Inject'](_0x192dca[_0x386947(0x13d)])),_0x2faa83(0x1,_0x192dca[_0x386947(0x21d)]),_0x2faa83(0x2,_0x192dca[_0x386947(0x561)]),_0x2faa83(0x3,_0x192dca[_0x386947(0x25f)](_0x2be6ec['CollaborationSessionService'])),_0x2faa83(0x4,_0x192dca[_0x386947(0x25f)](_0x192dca[_0x386947(0x40a)]))],_0x1a4720);var _0x3b6298=Object[_0x386947(0x4dc)],_0x754a34=Object[_0x386947(0x31b)],_0x24a092=(_0xba3682,_0x3761e7,_0x429fc6,_0x510cb8)=>{for(var _0x374921=_0x510cb8>0x1?void 0x0:_0x510cb8?_0x754a34(_0x3761e7,_0x429fc6):_0x3761e7,_0x9dfa18=_0xba3682['length']-0x1,_0x372819;_0x9dfa18>=0x0;_0x9dfa18--)(_0x372819=_0xba3682[_0x9dfa18])&&(_0x374921=(_0x510cb8?_0x372819(_0x3761e7,_0x429fc6,_0x374921):_0x372819(_0x374921))||_0x374921);return _0x510cb8&&_0x374921&&_0x3b6298(_0x3761e7,_0x429fc6,_0x374921),_0x374921;},_0x540b8d=(_0x5a286a,_0x177e1e)=>(_0x3f7d59,_0x4304c4)=>_0x177e1e(_0x3f7d59,_0x4304c4,_0x5a286a);_0x2be6ec[_0x386947(0x3da)]=class{constructor(_0x4ebeea,_0x5ce186){const _0x17cc3b=_0x386947;this[_0x17cc3b(0x49c)]=_0x4ebeea,this[_0x17cc3b(0x37e)]=_0x5ce186;}async[_0x386947(0x227)](_0x34c325,_0x52538f){const _0x1f804b=_0x386947;var _0x2f6e34;const {unitID:_0x135200,type:_0x22071a,revision:_0xd88985=0x0}=_0x52538f,_0x12e71f=this['_getSnapshotAPIPrefix']()+'/'+_0x22071a+_0x1f804b(0x320)+_0x135200+_0x1f804b(0x46a)+_0xd88985,_0x4720e8=(await this['_httpService'][_0x1f804b(0x2b1)](_0x12e71f))[_0x1f804b(0x26e)],_0x122844=(_0x2f6e34=_0x4720e8[_0x1f804b(0x414)])==null?void 0x0:_0x2f6e34[_0x1f804b(0x35f)];if(_0x122844){const _0x236ac5=_0x122844==null?void 0x0:_0x122844['originalMeta'],_0x18fe3e=_0x5a4440[_0x1f804b(0x235)][_0x1f804b(0x22d)](_0x5a4440[_0x1f804b(0x1c7)](_0x236ac5));_0x122844[_0x1f804b(0x421)]=_0x18fe3e,Object['entries'](_0x122844[_0x1f804b(0x4ae)])[_0x1f804b(0x12e)](([,_0x94a36f])=>{const _0x2feb41=_0x1f804b,_0x2ccca8=_0x94a36f[_0x2feb41(0x421)],_0x381a09=_0x5a4440[_0x2feb41(0x235)][_0x2feb41(0x22d)](_0x5a4440['b64DecodeUnicode'](_0x2ccca8));_0x94a36f[_0x2feb41(0x421)]=_0x381a09;});}return _0x4720e8;}async[_0x386947(0x1b4)](_0x52c0d7,_0x2fbbb7){const _0x3e06f6=_0x386947,{unitID:_0x4906ec,type:_0x48b563,blockID:_0x2dceb6}=_0x2fbbb7,_0xa83b21=this[_0x3e06f6(0x322)]()+'/'+_0x48b563+_0x3e06f6(0x320)+_0x4906ec+_0x3e06f6(0x1d7)+_0x2dceb6;return(await this[_0x3e06f6(0x37e)][_0x3e06f6(0x2b1)](_0xa83b21))[_0x3e06f6(0x26e)];}async[_0x386947(0x1fa)](_0x5aa1f7,_0x1b4a15){const _0x26e179=_0x386947,{unitID:_0x553c6b,type:_0x10be09,blockID:_0x1af8af}=_0x1b4a15,_0x23ef03=this['_getAPIPrefix']()+'/block/'+_0x10be09+_0x26e179(0x320)+_0x553c6b+_0x26e179(0x1d7)+_0x1af8af;return(await this[_0x26e179(0x37e)][_0x26e179(0x2b1)](_0x23ef03))['body'];}async[_0x386947(0x38d)](_0x3e0258,_0x1beb3f){const _0x350b04=_0x386947,{unitID:_0x5d0167,type:_0xee2680,from:_0x59b90b,to:_0x1c2a24}=_0x1beb3f,_0x28b3a9=this[_0x350b04(0x322)]()+'/'+_0xee2680+_0x350b04(0x320)+_0x5d0167+_0x350b04(0x318)+_0x59b90b+'&to='+_0x1c2a24;return(await this[_0x350b04(0x37e)]['get'](_0x28b3a9))[_0x350b04(0x26e)];}[_0x386947(0x33c)](){const _0x57cb7c=_0x386947;var _0x2b5d3c;return(_0x2b5d3c=this[_0x57cb7c(0x49c)][_0x57cb7c(0x26c)](_0x3a5f27))!=null?_0x2b5d3c:this['_getAPIPrefix']();}[_0x386947(0x322)](){const _0x3129c4=_0x386947;var _0x12e262,_0x167738;const _0x1f37eb=this['_configService'][_0x3129c4(0x26c)](_0x40852a),_0x2d0ad8=this[_0x3129c4(0x49c)][_0x3129c4(0x26c)](_0x310a31);return(_0x167738=(_0x12e262=_0x2d0ad8==null?void 0x0:_0x2d0ad8['snapshotServerUrl'])!=null?_0x12e262:_0x1f37eb)!=null?_0x167738:_0x3aaa80;}async[_0x386947(0x4cd)](_0x1d0530,_0x2f0fca){const _0x1a41cf=_0x386947,_0x35e672=_0x1a41cf(0x4ec)+_0x2f0fca[_0x1a41cf(0x262)]+'/unit/'+_0x2f0fca[_0x1a41cf(0x4e0)]+'/resources';return(await this[_0x1a41cf(0x37e)][_0x1a41cf(0x2b1)](_0x35e672,{'params':{'resourceId':JSON[_0x1a41cf(0x40e)](_0x2f0fca[_0x1a41cf(0x365)])}}))[_0x1a41cf(0x26e)];}[_0x386947(0x32a)](){const _0x177d9c=_0x386947;throw new Error(_0x177d9c(0x470));}['saveSheetBlock'](){const _0x4bcb44=_0x386947;throw new Error(_0x4bcb44(0x470));}['saveChangeset'](){const _0x1ad37a=_0x386947;throw new Error(_0x1ad37a(0x470));}[_0x386947(0x465)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x386947(0x14e)](){const _0x1cd58d=_0x386947;throw new Error(_0x1cd58d(0x470));}},_0x2be6ec['SnapshotServerOverHTTPService']=_0x24a092([_0x540b8d(0x0,_0x192dca['IConfigService']),_0x540b8d(0x1,_0x192dca[_0x386947(0x25f)](_0x415ed6[_0x386947(0x37b)]))],_0x2be6ec[_0x386947(0x3da)]);var _0x1d66ec=Object[_0x386947(0x4dc)],_0x5914d4=Object[_0x386947(0x31b)],_0x37ea93=(_0x17afd9,_0x318392,_0x432fc7,_0xf9d003)=>{for(var _0x10b8de=_0xf9d003>0x1?void 0x0:_0xf9d003?_0x5914d4(_0x318392,_0x432fc7):_0x318392,_0x3f7bf2=_0x17afd9['length']-0x1,_0x2baf67;_0x3f7bf2>=0x0;_0x3f7bf2--)(_0x2baf67=_0x17afd9[_0x3f7bf2])&&(_0x10b8de=(_0xf9d003?_0x2baf67(_0x318392,_0x432fc7,_0x10b8de):_0x2baf67(_0x10b8de))||_0x10b8de);return _0xf9d003&&_0x10b8de&&_0x1d66ec(_0x318392,_0x432fc7,_0x10b8de),_0x10b8de;},_0x25e3b9=(_0xef7a94,_0xa561ed)=>(_0x1eef80,_0x27ae82)=>_0xa561ed(_0x1eef80,_0x27ae82,_0xef7a94);let _0x1690ec=class extends _0x192dca['LocalUndoRedoService']{constructor(_0x418f8e,_0x56147a,_0x4e6524,_0x621a4f,_0x34bed3){super(_0x418f8e,_0x56147a,_0x4e6524),this['_transformService']=_0x621a4f,this['_logService']=_0x34bed3;}[_0x386947(0x194)](_0x19ed74,_0x49cc69){const _0x3e7744=_0x386947,_0x4de470=this['_getUndoStack'](_0x19ed74);if(_0x4de470)try{const _0x5cdfdd=this[_0x3e7744(0x48d)](_0x4de470,_0x49cc69);this[_0x3e7744(0x49d)](_0x19ed74,_0x5cdfdd);}catch(_0x17f479){this[_0x3e7744(0x468)]['error'](_0x3e7744(0x3fe),_0x17f479),this[_0x3e7744(0x3fa)](_0x19ed74);}const _0x60fe16=this[_0x3e7744(0x2f4)](_0x19ed74);if(_0x60fe16)try{const _0x5c1bcc=this[_0x3e7744(0x48d)](_0x60fe16,_0x49cc69);this[_0x3e7744(0x4a0)](_0x19ed74,_0x5c1bcc);}catch(_0x2d8c18){this['_logService'][_0x3e7744(0x271)](_0x2d8c18),this['_clearRedo'](_0x19ed74);}}['_clearUndo'](_0x431009){const _0x4aa765=_0x386947,_0x4c64ac=this['_getUndoStack'](_0x431009);_0x4c64ac&&(_0x4c64ac[_0x4aa765(0x41d)]=0x0,this[_0x4aa765(0x52d)]());}[_0x386947(0x46f)](_0x402aaf){const _0xb79c0d=this['_getRedoStack'](_0x402aaf);_0xb79c0d&&(_0xb79c0d['length']=0x0,this['_updateStatus']());}['_substituteUndoStack'](_0x5d537e,_0x4d11f9){const _0x2beb52=_0x386947;this[_0x2beb52(0x2b8)]['set'](_0x5d537e,_0x4d11f9),this[_0x2beb52(0x52d)]();}[_0x386947(0x4a0)](_0x3e9e9c,_0x572c6c){const _0x15c955=_0x386947;this[_0x15c955(0x173)]['set'](_0x3e9e9c,_0x572c6c),this['_updateStatus']();}['_transformStack'](_0x2621b2,_0x10f255){const _0x85e8a1=_0x386947,_0x463cae=[];let _0x2456ca=_0x10f255,_0x4ca964=_0x10f255;for(let _0x166697=_0x2621b2['length']-0x1;_0x166697>=0x0;_0x166697--){const {unitID:_0x2fba1e,undoMutations:_0x1e61f2,redoMutations:_0x97c3e0}=_0x2621b2[_0x166697],_0x1d8011=this[_0x85e8a1(0x141)][_0x85e8a1(0x41a)](_0x2456ca,_0x1e61f2),_0x58f8f7=this[_0x85e8a1(0x141)][_0x85e8a1(0x41a)](_0x4ca964,_0x97c3e0);if(_0x5a4440[_0x85e8a1(0x540)](_0x1d8011)||_0x5a4440[_0x85e8a1(0x540)](_0x58f8f7)){this[_0x85e8a1(0x468)]['error']('[CollaborationUndoRedoService]',_0x85e8a1(0x2d9),_0x1d8011,_0x58f8f7);break;}_0x2456ca=_0x1d8011[_0x85e8a1(0x26f)],_0x4ca964=_0x58f8f7[_0x85e8a1(0x26f)],_0x463cae['push']({'unitID':_0x2fba1e,'undoMutations':_0x1d8011[_0x85e8a1(0x48e)],'redoMutations':_0x58f8f7[_0x85e8a1(0x48e)]});}return _0x463cae[_0x85e8a1(0x374)]();}};_0x1690ec=_0x37ea93([_0x25e3b9(0x0,_0x192dca[_0x386947(0x21d)]),_0x25e3b9(0x1,_0x192dca[_0x386947(0x4d7)]),_0x25e3b9(0x2,_0x192dca[_0x386947(0x563)]),_0x25e3b9(0x3,_0x5a4440[_0x386947(0x25e)]),_0x25e3b9(0x4,_0x192dca['ILogService'])],_0x1690ec);class _0x1ace80 extends _0x192dca[_0x386947(0x44d)]{constructor(){const _0x591f02=_0x386947;super(),_0x49f745(this,_0x591f02(0x2c1)),this[_0x591f02(0x2c1)]=_0x23b07d[_0x591f02(0x34e)](window,_0x591f02(0x3c2))['pipe'](_0x23b07d['takeUntil'](this[_0x591f02(0x308)]),_0x23b07d[_0x591f02(0x240)](0x1),_0x23b07d['mapTo'](void 0x0));}['setParam'](_0x153f22,_0x4c0599,_0x53aea5=!0x1){const _0x52fd7a=_0x386947,_0x4ac311=new URL(window[_0x52fd7a(0x2f9)][_0x52fd7a(0x4b9)]);_0x4ac311[_0x52fd7a(0x12b)][_0x52fd7a(0x504)](_0x153f22,_0x4c0599),_0x53aea5?window['history'][_0x52fd7a(0x54b)]('','',_0x4ac311[_0x52fd7a(0x508)]()):window['history']['pushState']('','',_0x4ac311['toString']());}['removeParam'](_0x2c21b2,_0x19c0c2=!0x1){const _0x5b1075=_0x386947,_0x4ee282=new URL(window[_0x5b1075(0x2f9)]['href']);_0x4ee282[_0x5b1075(0x12b)][_0x5b1075(0x1e7)](_0x2c21b2),_0x19c0c2?window['history'][_0x5b1075(0x54b)]('','',_0x4ee282['toString']()):window[_0x5b1075(0x347)]['pushState']('','',_0x4ee282[_0x5b1075(0x508)]());}[_0x386947(0x461)](_0x3a43b0){const _0x26a61b=_0x386947;var _0x5c6c4d;return(_0x5c6c4d=new URL(window[_0x26a61b(0x2f9)][_0x26a61b(0x4b9)])['searchParams'][_0x26a61b(0x2b1)](_0x3a43b0))!=null?_0x5c6c4d:void 0x0;}}var _0x24a840=Object[_0x386947(0x4dc)],_0x5b9365=Object['getOwnPropertyDescriptor'],_0x2430c4=(_0x124ca8,_0x504fab,_0x116da3)=>_0x504fab in _0x124ca8?_0x24a840(_0x124ca8,_0x504fab,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x116da3}):_0x124ca8[_0x504fab]=_0x116da3,_0x12d036=(_0xb9131,_0x5b7fb1,_0x5db360,_0x131d85)=>{const _0x7dffc6=_0x386947;for(var _0x4163a9=_0x131d85>0x1?void 0x0:_0x131d85?_0x5b9365(_0x5b7fb1,_0x5db360):_0x5b7fb1,_0x43eaa2=_0xb9131[_0x7dffc6(0x41d)]-0x1,_0xd26b02;_0x43eaa2>=0x0;_0x43eaa2--)(_0xd26b02=_0xb9131[_0x43eaa2])&&(_0x4163a9=(_0x131d85?_0xd26b02(_0x5b7fb1,_0x5db360,_0x4163a9):_0xd26b02(_0x4163a9))||_0x4163a9);return _0x131d85&&_0x4163a9&&_0x24a840(_0x5b7fb1,_0x5db360,_0x4163a9),_0x4163a9;},_0x4dd8c0=(_0x5f1b55,_0x5a7eb0)=>(_0x5919b8,_0x34651f)=>_0x5a7eb0(_0x5919b8,_0x34651f,_0x5f1b55),_0xe0ab35=(_0x3bd317,_0xc8345f,_0x4928c0)=>_0x2430c4(_0x3bd317,_0xc8345f+'',_0x4928c0);const _0x1ce7b4=_0x386947(0x3f2);_0x2be6ec[_0x386947(0x2fb)]=class extends _0x192dca[_0x386947(0x297)]{constructor(_0x2a904b=_0x5b0865,_0xddc0a4,_0x3995c2,_0x104a1b,_0x29a69f){const _0x3b6083=_0x386947;super(),this[_0x3b6083(0x313)]=_0x2a904b,this[_0x3b6083(0x468)]=_0xddc0a4,this['_renderManagerService']=_0x3995c2,this[_0x3b6083(0x349)]=_0x104a1b,this[_0x3b6083(0x49c)]=_0x29a69f;const {..._0x3fe51d}=this['_config'];this[_0x3b6083(0x49c)][_0x3b6083(0x1fe)](_0x310a31,_0x3fe51d);}[_0x386947(0x54e)](){const _0x4db522=_0x386947;this['_registerDependencies'](),_0x192dca[_0x4db522(0x2ba)](this[_0x4db522(0x349)],[[_0x9d79c7],[_0x2be6ec['DataLoaderController']],[_0x1a4720]]);}['onReady'](){const _0x2737d5=_0x386947;_0x192dca[_0x2737d5(0x2ba)](this[_0x2737d5(0x349)],[[_0x4ac96f]]);}['onRendered'](){const _0x6d941f=_0x386947;this[_0x6d941f(0x43a)]();}[_0x386947(0x133)](){const _0x1b57b2=_0x386947;var _0x316092,_0x172c86,_0x117cd5,_0xa3930d;this[_0x1b57b2(0x349)][_0x1b57b2(0x4b1)](_0x192dca['IUndoRedoService'])&&this['_logService']['error'](_0x1b57b2(0x1b5),_0x1b57b2(0x1d9));let _0x5ca38b=[[_0x192dca[_0x1b57b2(0x525)],{'useClass':_0x1690ec}],[_0x2be6ec[_0x1b57b2(0x4af)]],[_0x74a5f8],[_0x415ed6['HTTPService']],[_0xb2e6db,{'useClass':_0x1ace80}],[_0x28c292],[_0x2be6ec[_0x1b57b2(0x4f6)]],[_0x415ed6[_0x1b57b2(0x406)]],[_0x4303fc],[_0x1b08c9],[_0x2add1b],[_0x32b4b7],[_0x31381a],[_0x2f3f99],[_0x218893],[_0x1a4720],[_0x2eec0b,{'useClass':(_0x172c86=(_0x316092=this[_0x1b57b2(0x313)])==null?void 0x0:_0x316092['socketService'])!=null?_0x172c86:_0x2be6ec[_0x1b57b2(0x4dd)]}],[_0x415ed6['IHTTPImplementation'],{'useClass':_0x415ed6['XHRHTTPImplementation']}],[_0x5a4440['ISnapshotServerService'],{'useClass':_0x2be6ec['SnapshotServerOverHTTPService']}],[_0x192dca[_0x1b57b2(0x198)],{'useClass':_0x2be6ec[_0x1b57b2(0x226)]}],[_0x3d30ea[_0x1b57b2(0x1f3)],{'useClass':_0x2be6ec[_0x1b57b2(0x54d)]}],[_0x2be6ec[_0x1b57b2(0x4a1)]],[_0x2be6ec[_0x1b57b2(0x426)]],[_0x2be6ec[_0x1b57b2(0x28e)]],[_0x4ac96f],[_0x9d79c7]];(_0x117cd5=this[_0x1b57b2(0x313)])!=null&&_0x117cd5[_0x1b57b2(0x37d)]&&_0x5ca38b[_0x1b57b2(0x3c8)]([_0x472d75,{'useClass':_0x21444a}]),_0x5ca38b=_0x192dca[_0x1b57b2(0x396)](_0x5ca38b,(_0xa3930d=this[_0x1b57b2(0x313)])==null?void 0x0:_0xa3930d[_0x1b57b2(0x2b3)]),_0x5ca38b['forEach'](_0x439ec4=>this[_0x1b57b2(0x349)][_0x1b57b2(0x477)](_0x439ec4)),this[_0x1b57b2(0x2b9)]();}['_registerRenderDependencies'](){const _0x6cc3ca=_0x386947;this[_0x6cc3ca(0x45d)](this[_0x6cc3ca(0x202)]['registerRenderModule'](_0x192dca[_0x6cc3ca(0x277)][_0x6cc3ca(0x51f)],[_0x5a8e45])),this[_0x6cc3ca(0x45d)](this['_renderManagerService'][_0x6cc3ca(0x139)](_0x192dca['UniverInstanceType']['UNIVER_SHEET'],[_0x216f45]));}[_0x386947(0x2b9)](){const _0x37f4cd=_0x386947;var _0x43124c,_0x1ab8a9;this['_injector'][_0x37f4cd(0x2b1)](_0x415ed6[_0x37f4cd(0x37b)])[_0x37f4cd(0x2d5)]({'priority':0x14,'interceptor':_0x415ed6[_0x37f4cd(0x442)]({'maxParallel':0x6})}),this['_injector'][_0x37f4cd(0x2b1)](_0x2f3f99),(_0x43124c=this[_0x37f4cd(0x313)])!=null&&_0x43124c[_0x37f4cd(0x290)]||this[_0x37f4cd(0x349)][_0x37f4cd(0x2b1)](_0x2be6ec[_0x37f4cd(0x4f6)])[_0x37f4cd(0x134)](),(_0x1ab8a9=this[_0x37f4cd(0x313)])!=null&&_0x1ab8a9[_0x37f4cd(0x255)]&&this['_injector'][_0x37f4cd(0x2b1)](_0x31381a),this[_0x37f4cd(0x349)][_0x37f4cd(0x2b1)](_0x2be6ec[_0x37f4cd(0x4a1)]),this[_0x37f4cd(0x349)][_0x37f4cd(0x4b1)](_0x2be6ec[_0x37f4cd(0x28e)])&&this[_0x37f4cd(0x349)][_0x37f4cd(0x2b1)](_0x2be6ec['DesktopCollaborationStatusDisplayController']);}},_0xe0ab35(_0x2be6ec[_0x386947(0x2fb)],_0x386947(0x50b),_0x1ce7b4),_0x2be6ec['UniverCollaborationClientPlugin']=_0x12d036([_0x192dca[_0x386947(0x3ff)](_0x5a4440[_0x386947(0x3c4)]),_0x4dd8c0(0x1,_0x192dca[_0x386947(0x21e)]),_0x4dd8c0(0x2,_0x25d8d8[_0x386947(0x2f0)]),_0x4dd8c0(0x3,_0x192dca[_0x386947(0x25f)](_0x192dca[_0x386947(0x13d)])),_0x4dd8c0(0x4,_0x192dca[_0x386947(0x479)])],_0x2be6ec[_0x386947(0x2fb)]),_0x2be6ec['AUTHZ_URL_KEY']=_0x4b04d6,_0x2be6ec['COLLAB_SUBMIT_CHANGESET_URL_KEY']=_0xdacf94,_0x2be6ec[_0x386947(0x24a)]=_0x109e46,_0x2be6ec[_0x386947(0x499)]=_0x500154,_0x2be6ec[_0x386947(0x4f9)]=_0x15799c,_0x2be6ec['CommentService']=_0x218893,_0x2be6ec['HEARTBEAT_INTERVAL_KEY']=_0x224bd5,_0x2be6ec[_0x386947(0x152)]=_0x4a9041,_0x2be6ec[_0x386947(0x36b)]=_0x2eec0b,_0x2be6ec['IURLService']=_0xb2e6db,_0x2be6ec[_0x386947(0x2a7)]=_0x1ec70c,_0x2be6ec[_0x386947(0x4c5)]=_0x328d3a,_0x2be6ec[_0x386947(0x484)]=_0x2356d6,_0x2be6ec['SEND_CHANGESET_TIMEOUT_KEY']=_0x1515c5,_0x2be6ec[_0x386947(0x35c)]=_0x40852a,_0x2be6ec[_0x386947(0x207)]=_0x3a5f27,_0x2be6ec['SessionStatus']=_0x195712,_0x2be6ec[_0x386947(0x490)]=_0x34eb32,_0x2be6ec[_0x386947(0x380)]=_0x1ace80,_0x2be6ec[_0x386947(0x140)]=_0x1ae334,_0x2be6ec[_0x386947(0x363)]=_0x11a1e0,Object[_0x386947(0x4dc)](_0x2be6ec,Symbol[_0x386947(0x1ee)],{'value':'Module'});}));function _0x3fcf(_0x39cbdc,_0x246783){const _0x56cd2d=_0x56cd();return _0x3fcf=function(_0x3fcf33,_0x9d487){_0x3fcf33=_0x3fcf33-0x128;let _0x3aeb25=_0x56cd2d[_0x3fcf33];return _0x3aeb25;},_0x3fcf(_0x39cbdc,_0x246783);}function _0x56cd(){const _0x5558a5=['UniverCore','registerBeforeClose','_telemetryInfo','_onConnectionFailed','onTransformSelections','NOT_FOUND','_initStatusComponent','@univerjs/core','parse','LIVESHARE_FETCH_OPERATIONS','defs','roomMembers','_getUploadFileURL','UPDATE_PERMISSION_OBJ','toggleOnline','serializeRangeWithSheet','authzUrl','ColorKit','_unitID','responseType','catch','update','CHANGESET_REVISION_CONFILICT','_telemetryService','_fetchMissChangesets','PERMISSION_REJ','_context','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','_collabCursorState$','_sheetSkeletonManagerService','392fNYQCg','sessionStatus$','28ZBPINx','height','_onConflict','COLORS','liveShareNewHost','InsertRangeMoveDownCommandId','_createSocket','removeMember','popstate','_updateCollabCursors','UniverCollaborationPlugin','_roomMembers$','_sendHeartbeat','onTransformChange$','push','_collaborationController','UUID','onRemoteChangeset','allowed','_entities','socket\x20close','fillText','skeleton','displayName','_notificationService','FETCH_MISS','_replayCachedMutations','OnLineSingle','_uiPartsService','baseRev','function','error$','SnapshotServerOverHTTPService','_send','conflict','React','ERROR_IMAGE','_transformUndoRedoStack','UNKNOWN_CODE','[SyncedState]:\x20received\x20rejection.','SNAPSHOT_HAS_BEEN_REMOVED','univer-offline','session.connection-failed','failed\x20to\x20apply\x20missed\x20changesets!','_clearHeartbeatTimer','debounceTime','_throwTelemetryCollaborationNewChangeset','collaboration-client.config','IBeforeCloseService','HEARTBEAT_INTERVAL','status$','_initCommandExecutedListener','PERMISSION_DENIED','pauseCollaboration','storage','@univerjs/rpc','UNIVER_COLLABORATION_CLIENT_PLUGIN','APPLY_NON_SEQUENTIAL_REVISION','INTERNAL_ERROR','registerComponent','downloadEndpointUrl','OffLineSingle','_clearScheduledTask','collaboration-client.offline-data-not-saved','_clearUndo','Rect','_saveTaskMap','INotificationService','[CollaborationUndoRedoService]','DependentOn','connectInjector','SheetCollaborationEntity','_sendingTimer','[SyncedState]:\x20received\x20acknowledgement.','_remoteChangesetQueue','HEARTBEAT','WebSocketService','getRenderById','_drawRectRange','_onJoinRoomEvent','LocaleService','UNRECOGNIZED','save','_docTransformIMECacheService','stringify','_tryEnsureSocket','registerRefRange','SetTextSelectionsOperation','_state$','_docSkeleton','snapshot','YUUMI_SUBSCRIPTION_NOT_FOUND','_sendHeartbeatTimer','USERS_LEAVE','getFocusedUnit','sendChangesetTimeout','transformMutationsWithChangeset','_socket$','_docSyncEditingCollabCursorService','length','infoRsp','hide','online','originalMeta','_waitCount','_compressMutationService','docStateChange$','_transformUndoredo','DataLoaderController','visibilityState','connection\x20error','onPointerLeave$','code','_removeCollabCursors','roomMembers$','[CollaborationSessionService]','_commentService','url(#off-line-single_clip0_910_343)','getSheetBySheetId','next','LOCAL_CACHE_INTERVAL','TEXT_RANGE_LAYER_INDEX','@univerjs/sheets-ui','_roomMembers','getUniverSheetInstance','_snapshotServerService','call','SetWorksheetActivateCommand','_registerRenderDependencies','_scheduleSaving','socket$','subscribeEvent','Disposable','tag','_getMergeRange','getValue','ThresholdInterceptorFactory','transformRemoteChangeset','rgba(255,\x20255,\x20255,\x200.01)','endRow','path','_heartbeatTimer','bottom','with','attrs','@univerjs/telemetry','reduce','RxDisposable','key','_onRemoteACK','PSEUDO_FETCH_MISSING_RESULT','42KOoBwv','LIVESHARE_TERMINATE','beginPath','_assignedColors','awaiting_with_pending','UnitEmbedded','_imageSourceCache','concat','bind','confirm','@univerjs/network','\x20in\x20_schedule.','disposeWithMe','_disabled','_candidateSocket','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','getParam','@univerjs/engine-render','lineTo','origin','copyFileMeta','action','purple300','_logService','_cursors','/rev/','collaboration_new_changeset','_initUnitPermissionChange','createCollaborator','BASE64','_clearRedo','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','getItem','clear','icon','_cursorInfo$','isInternalEditorID','InsertRowCommandId','add','assign','IConfigService','headers','method','text','toggleOffline','TOO_MANY_REQUESTS','_session','isTransformMutationsWithChangesetSuccess','\x20to\x20','closePath','blue400','RETRY_CONNECTING_MAX_COUNT_KEY','getTypeOfUnitDisposed$','_anchor','_hover','refreshPermission','listRoles','getUnhiddenWorksheets','substring','getMergeData','_transformStack','m2Prime','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','SheetCollabCursorShape','result','leaveEvent','_transformIMECache','_getDownloadEndpointURL','_unlockTransition','UPDATE_CURSOR','?size=','_initRequestHeader','CollaborationStatus','_sessions','_onMessage','_configService','_substituteUndoStack','_pendingMutations','onlineStatusTitle','_substituteRedoStack','CollaborationController','resolve','collaboration.single-unit.warning','localeService','_render','endColumn','_executeRemoteChangeset','now','IMessageService','json','permission.content','_sessionStatus$','JSONX','sheets','CollaborationSessionService','_onRemoteRejected','has','requireSession','OFFLINE','objectActions','_initCloseConn','enableLocalCache','ACTIVE_UNIT_EVENT_CHANNEL','SetDocZoomRatioOperation','href','CollaborationSession','_http','_initStatusListener','COMPRESS_MUTATION_APPLY','_document','top','doc.mutation.rich-text-editing','DEFAULT_FILE_NAME','ranges','loadSheet','isActive','LOGIN_URL_KEY','getCollabCursors$','useObservable','onPointerEnter$','setActiveRange','onTransformIME','rev','complete','getResourcesRequest','_status$','row','FileId','getUnitType','_clearTimeoutTimer','/-/object/-/batch_allowed','_getCtorByUniverType','_commandService','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','ICommandService','isArray','operators','@univerjs/ui','OTHER_CLIENTS_EDITING','defineProperty','CollaborationSocketService','NEW_CHANGESETS','debounce','unitID','_initMergeInterceptor','collab-text-range-','_loadSheet','objectType','collabCursorState$','getCollabEntity','?url=','_removeRoom','getSkeleton','DeleteRangeMoveLeftCommandId','clearTimeout','/universer-api/snapshot/','onCommentUpdate','_onLocalMutation','rxjs','_drawAnchor','[PendingState]:\x20unhandled\x20univer\x20type:\x20','INGEST','Shape','_snapshotService','Tools','LocalCacheService','indexOf','url(#on-line-single_clip0_910_349)','CollaborationStatusDisplay','data','fetch_missing','submit\x20changeset\x20error!','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','RemoveRowCommandId','uploadFileServerUrl','show','APPLY_PERMISSION_DENIED','univer-pro.collaboration-client-socket-service','deleteCollaborator','set','_cachedData','_updateLocalCursor','pipe','toString','UniverSheetsUi','deepClone','pluginName','cursorInfo$','addObjects','DocSelectionManagerService','@univerjs/sheets','exports','prototype','reject','incrementRevOfUnit','liveShareOperation','_state','_name','_socketMessageSubscription','interceptor','state$','transformByState','YUUMI_UNABLE_LOAD_URL','NO_OTHER_CLIENTS_EDITING','_createHandler','onSyncEditingCollabCursor','UNIVER_DOC','_onConnectionOpen','setCurrentUser','isValidRectRange','synced','_updateState','IUndoRedoService','FAIL','BuiltInUIPart','_disableEditing','asObservable','Unknown\x20user','USERS_ENTER','[PendingState]:\x20received\x20rejection.','_updateStatus','isTransformMutationFailure','Error','#FFF','collabStatus.offline','_queuedRemoteChangesets','JOIN','M0\x200H16V16H0z','getMemberID','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','POST','SUCCUSS','/allowed','find','csRejEvent','_decreaseWaiting','_range','_onCombEvent','CONFLICT','isTransformMutationsWithChangesetFailure','_handleHover','jiqing500','@univerjs-pro/license','ITelemetryService','revision','RECV','cmd','UniverSheets','unload','offline','replaceState','encodeURIComponent','ImageIoService','onStarting','UNIVER_UNKNOWN','UniverDocs','_scheduleCollaborationTimeoutTimer','ALREADY_EXISTS','restore','_updateLocalCache','onMissingChangesets','hovered','_onCursorUpdate','current','post','_waitForHeartbeatResponse','SNAPSHOT_INVALID_SNAPSHOT','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','/universer-api/oidc/authpage','_onRecvEvent','_startSheetCollabCursor','setShapeProps','IPermissionService','_onUserJoin','IContextService','HttpImport','_type','_revisionService','APPLY_REJECT','from','getTime','univer-online-status-title','_cursor','searchParams','commentUpdate$','712870yzZGwO','forEach','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','Vector2','_clearCollaborationTimeoutTimer','_onRemoteChangeset','_registerDependencies','disableLocalCache','transformMutation','_colorIndex','ENSURE_SNAPSHOT_EXECUTION','UNAUTHENTICATED','registerRenderModule','column','setItem','BehaviorSubject','Injector','putCollaborators','replace','deserializeToCombResponse','_transformService','MoveRangeCommandId','delay','className','_socketReady','onlineStatusIcon','_setupBeforeClosingHandler','newValue','values','batchAllowed','_localeService','CHANGESET_ACK','onTransformRemoteChangesetByIMECache','getLatestCsReqIdBySid','7823eaKMIK','name','fetching\x20missing\x20changesets\x20from\x20','HEARTBEAT_TIMEOUT_KEY','distinctUntilChanged','_docSkeletonManagerService','loadOfflineData','_syncEditingCollabCursor','_getAnchorBounding','compose','focused$','objects','createElement','status','_updateURLWithCurrentState','APPLY_REVISION_CONFILICT','some','measureText','getRoom','concatMap','\x0aAfter:\x20','startTime','_isPermissionRej','handleIRemoveRow','initWorkbookPermissionChange','getAttachHeader','merge','_hovered','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','event$','subUnitId','_online','_HTTPService','send','_colorAssignService','string','_redoStacks','AUTHZ_URL_KEY','setAlpha','@univerjs/drawing','_cursorShapes','_change$','fetchThroughInterceptors','registerOnClose','not_collab','getImage','onload','_lockTransition','MergeInterceptorFactory','_saveCache','_schedule','RefRangeService','getMember','_clearLocalCache','parseChangesetToProtocol','YUUMI_RATE_OVER_LIMIT','COMPRESS_MUTATION_SEND','_retryConnectingTimer','UNKNOWN_CMD','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','_handleEvent','_unitOnClients','rxjs/operators','Tooltip','joinEvent','1809150TFwGwc','extend','mapDocumentTypeToUniverType','forwardRef','transformUndoRedo','sessionStatus','_refRangeService','sheetId','IAuthzIoService','unknown','_setupSubUnitSync','routeKey','_socketService','@univerjs-pro/collaboration','UniverEngineFormula','clearInterval','MessageType','_submitChangeset','onMouseMove','roomInfos','deserializeRangeWithSheet','_listenToOfflineEvent','2727712ZjqYdC','_onRefRangeChange','getInterceptPoints','Error\x20on\x20receiving\x20event','entries','1em','random','_rescheduleHeartbeat','PENDING','joinRsp','_handleJoinEvent','_scheduleClearOtherTimer','SheetsSelectionsService','getCoordByCell','getSheetBlock','[UniverCollaborationClientPlugin]','unitId','COMPLETION_FINISHED','round','object','_messageService','size','UniverNetwork','selections','collabStatus.conflict','DocIMEInputManagerService','_onFetchMissResult','CompressMutationService','_checkMissing','collabSubmitChangesetUrl','patch','NodePositionConvertToRectRange','resize','b64DecodeUnicode','none','_syncEditingCollabCursorService','COLLAB_SUBMIT_CHANGESET_URL','appendMutation','requestParams','_acknowledgedAwaitingChangeset','resend','_removeClearOtherTimer','MUTATION','replaceTextRanges','_event$','LICENSE_MAX_UNITS_EXCEEDED','_getAPIPrefixPath','executeCommand','AWAITING','/block/','closeSession','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','ONLINE','Undefined','16299990pZtaJj','Workbook','image/jpeg','labelPosition','sequenceExecute','_backgroundColor','_incrementRevisionNumber','width','/-/object/list','textRanges','amd','delete','transformIMECache','_themeService','conflict.content','propertyIsEnumerable','startRow','userID','toStringTag','LICENSE_IMPORT_SIZE_EXCEEDED','exhaustSavingTask','_createInitialStateImpl','throttleTime','IImageIoService','idSuffix','/new_changes','SUBMIT_CHANGESET','_localStorageService','_transformPreviousActiveRange','setTimeout','getDeserializedSheetBlock','getActiveSheet','ImageSourceType','subscribe','setConfig','drawWith','updatePermissionObjEvent','url','_renderManagerService','getDocRanges','FETCH_MISSING','getUndoRedoMutationParamsCache','init','SNAPSHOT_URL_KEY','CollaborationEvent','ImageUploadStatusType','/universer-api/file/{fileID}/sign-url','makeDirty','SheetPermissionInitController','CHANGESET_REJ','univer-online','LIVESHARE_OPERATION','_ensureSubject','getVpScrollXYInfoByPosToVp','telemetry\x20info\x20is\x20not\x20initialized','_beforeCloseService','DocStateChangeManagerService','number','transformSelections','_changesetReqId','UniverCollaboration','setInterval','ILocalStorageService','/object','verdancy600','IUniverInstanceService','ILogService','_stopTelemetryCollaborationNewChangeset','filter','_getCurrentRevision','ERROR_EXCEED_SIZE','[DataLoaderController]','unit-cache-','_memberService','AuthzIoHttpService','getUnitOnRev','[CollaborationState]:\x20apply\x20error!','subunit','awaiting','_handler','xlink:href','encode','...','_commentUpdate$','SetSelectionsOperation','_retryCount','close','_getSendChangesetTimeout','_scene','textEncoder','_onCursorDelete','parseProtocolChangeset','RevisionService','editingUnit','params','getAncestorScale','children','HELLO','_replaceFileID','findNodePositionByCharIndex','shareReplay','then','LIVESHARE_REQUEST_HOST','handleInsertRow','gold400','/collaborator','onSendChangeset','translate(.97)','UniverIcon','c2Prime','COLLAB_WEB_SOCKET_URL_KEY','&assign=','EmptyMutation','&source=','_init','_collaborationSessionService','UNIVER_PROJECT','UniverTelemetry','listCollaborators','_shapes','fillStyle','enableAuthServer','VIEW_MAIN','toRgbString','collab-text-anchor-','updatePermissionPoint','message$','assignAColorForMemberID','_startTelemetryCollaborationNewChangeset','handleMoveRange','ITransformService','Inject','HttpExport','_toggleOffline','type','_collabCursorController','transformChangesets','_color','fromEventSubject','_hideTimer','[CollaborationSessionService]:\x20socket\x20error','every','EXCHANGE_SIGN_URL_SERVER_URL_KEY','\x20-\x20','getConfig','black','body','c1Prime','_changesetSessionId','error','AWAITING_WITH_PENDING','_clearOtherTimers','FromArray','session','equals','UniverInstanceType','HTTPRequest','_anchorDot','runRefRangeMutations','createIdentifier','map','UniverRpc','colorChannel1','toDisposable','fetchMiss','evenodd','generateRandomId','rng','_collaborationTimeoutTimer','takeUntil','range','_instanceService','DocCollaborationEntity','SEND_CHANGESET_TIMEOUT','_scheduleTimestamp','max','members','eventID','DesktopCollaborationStatusDisplayController','svg','enableOfflineEditing','defIds','auth.needGotoLoginAlert','isEditing','onPointerMove$','color','currentTheme$','Plugin','getSheetObject','MSG_FOR_ERROR','combineLatest','includes','getCurrentSelections','_lastPointer','cursorInfo','UNIVER_SHEET','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','_exhaustRemoteChangesetQueue','_labelPosition','Optional','_handleLeaveEvent','_undoRedoService','updateOfflineData','LOCAL_CACHE_INTERVAL_KEY','3344694eOLoij','saveImage','unit','univer-online-status','LICENSE_DISTRO_REJECTED','YUUMI_URL_COL_OUT_OF_RANGE','getUnitId','onRemoteRej','_draw','get','onStateChange','override','onRemoteAck','COLLAB_WEB_SOCKET_URL','Subject','@univerjs/docs-ui','_undoStacks','_initModules','touchDependencies','_urlService','slice','_selfUnitIDs','addEventListener','append','_initResize','urlChange$','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','session.will-retry','[OfflineState]:\x20received\x20rejection.','_collabSessionService','commentUpdateEvent','CommandType','open$','LEAVE','UNDEFINED','red300','_getScale','@univerjs/design','LICENSE_EXPORT_SIZE_EXCEEDED','#fff','Rectangle','currentColor','handleInsertRangeMoveDown','stopTime','_initEventListeners','registerHTTPInterceptor','roles','_members','_listenToOnlineEvent','transformStack\x20failed!','backgroundColor','switchMap','WorkbookEditablePermission','_updateSubUnitFromURLParams','state','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','CollaborationEntity','_sheetTransformSelectionsService','fill','ERROR_IMAGE_TYPE','_startDocCollabCursor','TRANSFORM_CHANGE_OBSERVABLE_TYPE','collabStatus.fetchMiss','permission.title','0\x200\x2017\x2016','collaboration.closeRoom','_socket','image/bmp','_startCollaboration','awaitingChangeset','useRef','unshift','IRenderManagerService','_onOffline','_createInitialState','_eventUnsubscribe','_getRedoStack','duration','collabStatus.synced','CONNECTOR_DATA_TOO_LARGE','_applyRemoteChangeset','location','_shouldReportTelemetry','UniverCollaborationClientPlugin','visibilitychange','split','onMissedChangesetFetched','/universer-api/stream/file/upload','_collaborationPaused','updateCursorEvent','m1Prime','createInstance','_tryReconnect','getCurrentUser','UniverUi','_entityInit$','dispose$','RichTextEditingMutation','createSocket','_ws','close$','memberID','syncEditingCollabCursor','Univer','debug','pending','updateMember','_config','contains','_userManagerService','getUnitStatus$','_transformRemoteChangesetByIMECache','/fetchmissing?from=','whenReady','SHOULD_CLOSE_CONN','getOwnPropertyDescriptor','div','_joinRoom','_getSheetObject','RemoveColCommandId','/unit/','addObject','_getAPIPrefix','_transitionLocked','sheetID','off-line-single_clip0_910_343','_refreshCollabCursors','_awaitingChangeset','getRandomValues','min','saveSnapshot','_singleActiveUnitService','handleIRemoveCol','_drawTextRange','useDependency','mutations','[CollaborationSession]','_id','currentSkeleton$','_getSignURL','reqId','list','SYNCED','[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.','/object/','flatMap','APPLY_DUPLICATED','InsertRangeMoveRightCommandId','_getSnapshotAPIPrefix','_showConflictNotification','_textBubble','collab-rect-range-','handleDeleteRangeMoveUp','getViewport','getCellPositionByOffset','getRangePointData','UserManagerService','clipPath','UniverDrawing','history','HEADER_MENU','_injector','[PendingState]:\x20received\x20acknowledgement.','[OfflineState]:\x20received\x20acknowledgement.','EffectRefRangId','_transformSelections','fromEvent','884910fIJCNX','take','dispose','capture','unsubscribe','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','onlyLocal','getCollabEntity$','objectID','/universer-api/comb','image/gif','reconnect','image/jpg','SNAPSHOT_SERVER_URL_KEY','UNIVER_SLIDE','collab-client.tooltip.reconnect','workbook','apply','Warning','_getLoginPath','serializeCombRequest','_getSaveTimeout','resourceIDs','selection','getWorkbookSelections','UnitSnapshot','JOINING','@univerjs/engine-formula','ICollaborationSocketService','sid','create','transform','_univerInstanceService','getColor','_scheduleHeartbeat','DisposableCollection','univer-pro.collaboration-client.single-active-unit-service','reverse','react','randomUUID','_unitStatus','getCurrentRevOfUnit','_toggleOnline','_docStateChangeManagerService','HTTPService','actions','enableSingleActiveInstanceLock','_httpService','isPermissionRej','WebURLService','univerjs-icon\x20univerjs-icon-','collaboratorID','changesets','ws://127.0.0.1:8000/universer-api/comb/connect','getOffsetConfig','LIVESHARE_NEW_HOST','IDLE','unitId\x20is\x20not\x20found','_localCacheService','INVALID_ARGUMENT','arc','getTypeOfUnitAdded$','fetchMissingChangesets','collaboration-session-retry','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','[OfflineState]:\x20received\x20changeset.','isTransformChangesetsSuccess','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','_permissionService','onCommandExecuted','setUndoRedoMutationParamsCache','mergeOverrideWithDependencies','_timeoutTimer','NOT_COLLAB','getSheetId'];_0x56cd=function(){return _0x5558a5;};return _0x56cd();}
|