@univerjs-pro/collaboration-client-ui 1.0.0-alpha.5 → 1.0.0-alpha.6
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/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ar-SA.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/de-DE.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/id-ID.js +1 -1
- package/lib/cjs/locale/it-IT.js +1 -1
- package/lib/cjs/locale/ja-JP.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/pl-PL.js +1 -1
- package/lib/cjs/locale/pt-BR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/sk-SK.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-HK.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ar-SA.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/de-DE.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/id-ID.js +1 -1
- package/lib/es/locale/it-IT.js +1 -1
- package/lib/es/locale/ja-JP.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/pl-PL.js +1 -1
- package/lib/es/locale/pt-BR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/sk-SK.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-HK.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/ar-SA.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/de-DE.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/id-ID.js +1 -1
- package/lib/locale/it-IT.js +1 -1
- package/lib/locale/ja-JP.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/pl-PL.js +1 -1
- package/lib/locale/pt-BR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/sk-SK.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-HK.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ar-SA.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/de-DE.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/id-ID.js +1 -1
- package/lib/umd/locale/it-IT.js +1 -1
- package/lib/umd/locale/ja-JP.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/pl-PL.js +1 -1
- package/lib/umd/locale/pt-BR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/sk-SK.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-HK.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +20 -20
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0x3a65(_0x115474,_0x2c5b0f){_0x115474=_0x115474-0x67;const _0x485a2e=_0x485a();let _0x3a6571=_0x485a2e[_0x115474];return _0x3a6571;}function _0x485a(){const _0x40c659=['_id','_selfUnitIDs','_localStorageService','pipe','message','_handleLeaveEvent','USERS_LEAVE','forEach','_registerDependencies','WebBrowserSingleActiveUnitService','RxDisposable','collaboration-client-ui.collabStatus.fetchMiss','_docTransformIMECacheService','reload','_uploadLog','object','subUnitId','_handoffPreview','forwardRef','takeUntil','limitInfo','SheetCollabCursorShape','handleIRemoveCol','getActivePageId','_httpService','_color','1HytODF','round','UniverEngineRender','INotificationService','collaboration-client-ui.conflict.content','distinctUntilChanged','activeSheet$','_highlight','collaboration-client-ui.session.will-retry','getCurrentTypeOfUnit$','mergeOverrideWithDependencies','IBoardElementStateService','_monkeyPatchLogService','handoff','TEXT_RANGE_LAYER_INDEX','Vector2','idSuffix','handleMoveRange','M7.20007\x201.98384C7.20007\x201.54201\x207.55824\x201.18384\x208.00007\x201.18384C11.7647\x201.18384\x2014.8165\x204.23568\x2014.8165\x208.00032C14.8165\x2011.765\x2011.7647\x2014.8168\x208.00007\x2014.8168C4.23543\x2014.8168\x201.18359\x2011.765\x201.18359\x208.00032C1.18359\x207.55849\x201.54177\x207.20031\x201.98359\x207.20031C2.42542\x207.20031\x202.78359\x207.55849\x202.78359\x208.00032C2.78359\x2010.8813\x205.11909\x2013.2168\x208.00007\x2013.2168C10.8811\x2013.2168\x2013.2165\x2010.8813\x2013.2165\x208.00032C13.2165\x205.11933\x2010.8811\x202.78384\x208.00007\x202.78384C7.55824\x202.78384\x207.20007\x202.42567\x207.20007\x201.98384Z','M0\x200H16V16H0z','add','code','DependentOn','_renderManagerService','collab-rect-range-','div','RemoveColCommandId','values','_highlightSecond','_messageService','_anchorDot','_messageIds','use','getAncestorScale','_setInteractionBlocked','indicator','m1Prime','handleInsertRow','fill','getConfig','arc','fromEvent','addObject$','univer-m-0\x20univer-p-0','CollaborationUIEventId','_draw','lineWidth','collaboration-client-ui.session.connection-failed','collaboration-client-ui.collaboration.single-unit.warning','LocaleService','_getSessionTicket','Loading','onRendered','constructor','_blinkIntervalTimer','split','AWAITING','getSheetObject','@univerjs/rpc','column','transformSelections','_notificationService','getUnitId','span','_getScale','\x20at\x20','addHandlerCallback','string','activeSlideId$','dark:focus:!univer-ring-offset-gray-800','unsubscribe','textRanges','@univerjs/ui','currentUsage','memberID','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_configService','isInternalEditorID','toISOString','ERROR','_initEvent','_name','slide-element-selection','_urlService','rgba(','SetDocZoomRatioOperation','labelPosition','saveTaskMap','_isVisibleUnit','searchParams','then','beforeCommandExecuted','OTHER_CLIENT_EDITING','toRgbString','_lastResponseTimestamp','content','getOffsetConfig','height','addObject','size','combineLatest','buildDrawingOKey','addClipboardHook','updateOfflineData','Tooltip','UniverSheetsUi','_getSaveTimeout','_shortcutService','_logService','univer-fixed\x20univer-left-1/2\x20univer-top-4\x20univer-z-[1001]\x20univer-flex\x20univer-max-w-[calc(100vw-32px)]\x20-univer-translate-x-1/2\x20univer-items-center\x20univer-gap-2\x20univer-rounded-lg\x20univer-bg-white\x20univer-px-3\x20univer-py-2\x20univer-text-sm\x20univer-text-gray-900\x20univer-shadow-lg\x20dark:!univer-bg-gray-700\x20dark:!univer-text-white','DataLoaderService','_assignedColors','_getMergeRange','_send','ticket','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','connectInjector','snapshot-loading-interaction-guard','_isBlinkVisible','deserializeRangeWithSheet','_ensureSubject','_docTransformStateCacheService','PERMISSION_DENIED','TEXT','OFFLINE','getUnit','_unitStatus','RefRangeService','collabCursorState$','registerDependencies','react/jsx-runtime','_docSkeletonManagerService','contains','shareReplay','labelHorizontalPosition','_collaborationUIEventService','getTypeOfUnitDisposed$','527778Nfczgt','_hovered','/universer-api/license/formula/limit/start','startFormulaLimitUrl','_backgroundColor','_textBubble','/universer-api/license/formula/limit/done','highlightSecond','Module','join','_showGuardMessage','remove','getActiveRange','univer-size-4\x20univer-shrink-0\x20univer-text-amber-500','_startBoardCollabCursor','board-collab-cursor-','VIEW_MAIN','toDisposable','Plugin','_online','params','executionId','set','startsWith','UniverNetwork','collaboration-client-ui.config','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','handleInsertRangeMoveRight','_updateSheetPreview','ColorKit','default','Inject','pluginName','getRangePointData','_transformService','univer-text-orange-500','_startCalculationLimit','transformStateCache','length','_heartbeatTimer','_collaborationController','univer-text-gray-400','_hidePreview','timedOut','RemoteUniscriptService','ThemeService','_injector','redoState','#4f46e5','mapTo','_config','onMouseMove','setTimeout','stroke','replace','from','push','_roomMembers$','_toggleOnline','getUnitStatus$','_labelPosition','_updateLocalCursor','getObject','disposeWithMe','SetTextSelectionsOperation','wsSessionTicketUrl','RevisionService','previewReady','unhandledrejection','_startDocCollabCursor','createSocket','socket$','currentColor','ONLINE','warning-icon','throttleTime','debug','_toggleOffline','key','_cachedData','IConfigService','Shape','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','focusedId','selectedIds','Failed','sessionStatus$','_colorIndex','loadUnit','removeObjects','stageInfo','clsx','@univerjs-pro/collaboration','_context','UniverProtocol','handleInsertRangeMoveDown','getMember','_setupBeforeClosingHandler','engine','toPrimitive','_offsetY','_range','path','_initDependencies','FromArray','DocSelectionManagerService','getUnhiddenWorksheets','search','useObservable','removeParam','merge','LOCAL_CACHE_INTERVAL','ISheetLoadingRenderService','UniverDocsUi','blue.400','roomMembers','dirtyRanges','_transformUndoRedoStack','_initStatusComponent','resize','_getSheetObject','@univerjs/engine-formula','setUndoRedoMutationParamsCache','getId','undoState','bold\x2013px\x20Arial,\x20sans-serif','_entityInit$','onPointerEnter$','function','filter','cursorInfo$','isFormulaString','assign','deepClone','subscribe','0.2)','subunit','width','_setFormulaLimitStatus','isTransformMutationFailure','SetWorksheetActivateCommand','Rect','_scheduleHeartbeat','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','_localeService','setActiveRange','_handleEvent','makeDirty','getUniverSheetInstance','OffLineIcon','3236978NxRNEj','prototype','_unitOnClients','startColumn','addObjects','rxjs/operators','SetFormulaCalculationNotificationMutation','isArray','runOnServer','_updateMessage','drawWith','call','_docStateChangeManagerService','OTHER_CLIENTS_EDITING','strokeStyle','_startSlideCollabCursor','moveTo','_eventUnsubscribe','_shapes','_getFormulaLimitStatus','angle','clearTimeout','useCallback','getCurrentUnitOfType','RegularPolygon','AWAITING_WITH_PENDING','unitId','_removeCollabCursors','80ZqKBxr','UniverRpc','onPointerMove$','findNodePositionByCharIndex','START_CALCULATION','BehaviorSubject','_registerRenderDependencies','univer-transition-all\x20univer-duration-200','row','_renderScheduled','Warning',':backup:','_anchor','clickable','right','cursorInfo','_sheetLoadingRenderService','_collabCursorController','[CollaborationDataLoaderController]','UniverCollaborationClientPlugin','post','collaboration-client-ui.permission.content','UniverCore','getParam','_maxFormulaLimit','createIdentifier','UniverUi','_getSceneObjectByKey','_showText','application/json','getLocalCacheKey','totalBlocks','_stopBlinking','startPluginsForType','[RemoteUniscriptService]:\x20no\x20focused\x20unit','switchMap','SOCKET_FAILED','showText','React','body','SUBMIT_CHANGESET_TIMEOUT','touchDependencies','_blockProgressWatches','status$','url(#$1','currentTheme$','_updateCollabCursors','stringify','yellow.400','m2Prime','LOADING_BLOCKS','off-line-icon','_snapshotLoadingService','getColor','_getLighterColor','storage','init','collaboration-client-ui.formula.calculation.started','MessageType','0\x200\x2016\x2016','collaboration-client-ui.formula.calculation.unable','2710292uHxTAz','black','_docSyncEditingCollabCursorService','activeSheetId','flatMap','SessionStatus','_localCacheService','triggerDblclick','univer-text-red-500','left','eventID','DocIMEInputManagerService','_cursor','_init','_clearBlockProgressWatch','/universer-api/license/formula/limit/status','requireSession','_themeService','getRenderById','Button','_commandService','NO_OTHER_CLIENTS_EDITING','@univerjs/docs-ui','5772055OSCnVL','url(#on-line-icon_clip0_910_349)','_slideDrawingStateService','UNIVER_DOC','font','location','_handleHeartbeatEvent','_pollingInterval','saveOfflineData','strokeWidth','CanceledError','_isApplyingOverlays','debounceTime','getCurrentSelections','map','range','_colorAssignService','_scheduleSaving','beginPath','UniverProCollaboration','_entities','restore','button','UNIVER_BOARD','getActiveSlide','send','EffectRefRangId','name','delete','history','SnapshotLoadStage','previewCellData','onCommandExecuted','decorate','serializeRangeWithSheet','IRemoteInstanceService','min','getTypeOfUnitAdded$','defineProperty','DesktopCollaborationStatusDisplayController','i18nKey','0\x200\x2017\x2016','registerRefRange','1481095RxSnHo','slice','shift','5982396cswcXr','setOffsetY','text','collaboration-client-ui.collaboration.offline-data-not-saved','colorChannel1','3lnobyx','_uiPartsService','top','DeleteRangeMoveUpCommandId','stack','IUIPartsService','_revisionService','useMemo','_updateSubUnitFromURLParams','CollaborationSessionService','Disposable','runRefRangeMutations','CLOSE_ROOM','LOADING_SNAPSHOT','Fragment','_initCommandInterceptor','getRealBound','ILocalCacheService','event$','getCoordByCell','filename','imageSourceType','symbol','icon','univer-flex\x20univer-items-center\x20univer-justify-center','ITransformService','editingUnit','defs','all','generateRandomId','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','getColorFromTheme','_onCursorDelete','jsx','strokeRect','@univerjs/docs','getObjectIncludeInGroup','backupOfflineData','collaboration-client-ui.snapshotLoading.refresh','http://www.w3.org/2000/svg','now','Error','_syncEditingCollabCursorService','UnitStatus','UniverDocs','IUniverInstanceService','_instanceService','ISnapshotServerService','getOwnPropertyDescriptor','_latestStates','transformRemoteChangeset','NOT_COLLAB','UNIVER_SLIDE','BrowserCollaborationSocketService','_dataLoaderService','xlink:href','timeoutId','onStarting','Optional','_updateURLWithCurrentState','dispose$','href','bottom','_blinkTimer','ISocketService','_startSheetCollabCursor','saveImage','_previewUnitId','selection','handleDeleteRangeMoveUp','SnapshotLoadingService','_beforeCloseService','MemberService','parseInt','univer-inline-flex\x20univer-items-center\x20univer-justify-center','_interactionBlocked$','transformIMECache','getViewport','_clearTimeoutState','_onRefRangeChange','svg','getUndoRedoMutationParamsCache','TRANSFORM_CHANGE_OBSERVABLE_TYPE','_imageIoService','\x20-\x20','collab-text-anchor-','substring','attrs','27535700zwTpIj','M15\x208C15\x2011.866\x2011.866\x2015\x208\x2015C4.13401\x2015\x201\x2011.866\x201\x208C1\x204.13401\x204.13401\x201\x208\x201C11.866\x201\x2015\x204.13401\x2015\x208ZM8.00008\x2012.3671C8.46031\x2012.3671\x208.83342\x2011.994\x208.83342\x2011.5338C8.83342\x2011.0735\x208.46031\x2010.7004\x208.00008\x2010.7004C7.53985\x2010.7004\x207.16675\x2011.0735\x207.16675\x2011.5338C7.16675\x2011.994\x207.53985\x2012.3671\x208.00008\x2012.3671ZM8.5999\x204.4335C8.5999\x204.10213\x208.33127\x203.8335\x207.9999\x203.8335C7.66853\x203.8335\x207.3999\x204.10213\x207.3999\x204.4335V9.36683C7.3999\x209.6982\x207.66853\x209.96683\x207.9999\x209.96683C8.33127\x209.96683\x208.5999\x209.6982\x208.5999\x209.36683V4.4335Z','doc.mutation.rich-text-editing','IImageIoService','highlight','CollaborationSocketService','UPDATE_CURSOR','removeEventListener','_initStatusListener','disableLocalCache','OnLineIcon','_univerInstanceService','_docClipboardService','_initResize','slide-collab-cursor-','setLineDash','unitID','_cursorInfo$','getCurrentSkeleton','resolve','spin','_setupSubUnitSync','ErrorCode','univer-text-blue-500','clear','DOC_RANGE_TYPE','_collabCursorState$','createElement','BuiltInUIPart','setParam','InsertRangeMoveDownCommandId','iterator','_pointerMoveDisposable','override','collaboration-client-ui.snapshotLoading.timeout','UniverProSlidesUi','get','replaceState','react','color','value','maxFormulaLimit','replaceDocRanges','11CVRjES','data','_applyCommand','focus:univer-outline-none\x20focus:univer-ring-2\x20focus:univer-ring-primary-500\x20focus:univer-ring-offset-2','_initUnhandledRejectionListener','pulse','ranges','?taskId=','hovered','_cursorShapes','/universer-api/frontend/logs','univerjs-icon\x20univerjs-icon-','loadedBlocks','scene','functionsExecutedState','SOCKET_FAILED_RETRY','_taskIds','UniverProCollaborationClientUi','removeObject','setAlpha','setConfig','_render','WarningIcon','univer-border-none\x20univer-bg-transparent','onTransformChange$','complete','_getAnchorBounding','#0B9EFB','unshift','UniverDesign','mask','IURLService','getCollabCursors$','hide','handleIRemoveRow','runId','clipPath','status','fromEventSubject','ILogService','totalFormulasToCalculate','RECT','_scheduleClearOtherTimer','_saveTaskMap','addEventListener','endColumn','fillText','tag','UniverInstanceType','isTransformMutationsWithChangesetSuccess','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','red.300','registerBeforeClose','parse','_cursors','executeCommand','@univerjs/engine-render','IShortcutService','Injector','max','_removeClearOtherTimer','dispose','collab-text-range-','@univerjs-pro/collaboration-client-ui','isEditing','_checkAndWaitForCalculationPermission','uni.network.url-service','loadOfflineData','showSkeleton','_collabSessionService','releaseFormulaLimitUrl','reconnect','SUCCESS','DocSkeletonManagerService','rxjs','1em','getValue','_refRangeService','SheetsSelectionsService','tooltipKey','_getSheetLoadingRenderService','jsxs','_latestCursors','sessionTicket','closePath','JOIN_ROOM_FAILED','_startBlinking','has','enableLocalCache','forceDisable','disposeUnit','getVpScrollXYInfoByPosToVp','_collaborationSessionService',',\x200.2)','setItem','includes','context','getSnapshot','setShapeProps','_transformHistoryAndStateStack','stage','toString','show','transform','collaboration-client-ui.collaboration.closeRoom','IMessageService','@univerjs/core','_labelHorizontalPosition','mutations','_disabled','enableFrontendLog','asObservable','registerComponent','static','registerRenderModule','HTTPService','_lastPointer','_drawTextRange','Subject','_hideTimer','@univerjs/network','getCellMatrix','_initCommandExecutedListener','ILocalStorageService','endRow','_createSocketURL','getFocusedUnit','exports','onPointerLeave$','measureText','lineTo','IRenderManagerService','url(#off-line-icon_clip0_910_343)','save','_saveCache','packageName','currentSkeleton$','_sheetSkeletonManagerService','getSheetBySheetId','collaboration-client-ui.collabStatus.conflict','isActive','UNIVER_SHEET','DisposableCollection','_drawRectRange','_docTransformSelectionsService','evented','result','IDocClipboardService','getCurrentRevOfUnit','type','CollaborationEvent','_refreshCollabCursors','NodePositionConvertToCursor','useDependency','exhaustSavingTask','getSheetId','kind','[Window\x20Error]:\x20','urlChange$','transformMutation','_scene','getCollabEntity$','_boardElementStateService','UniverProBoardsUi','1.0.0-alpha.5','pushState','_drawAnchor','_handoffUnitIds','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','polite','startRow','_memberService','_timeoutState$','origin','fillStyle','none','COLORS','DocStateChangeManagerService','SHEET_VIEWPORT_KEY','off-line-icon_clip0_910_343','transformMutationsWithChangeset','_docSkeleton','_status$','colorClass','snapshot-loading-','newValue','timeoutState$','_handleJoinEvent','enableDocumentCollaborationUI','clearInterval','createInstance','assignAColorForMemberID','_scheduleRender','CONFLICT','_transformPreviousActiveRange','operators','workbookShell','_onCursorUpdate','on-line-icon','getStateCache','FETCH_MISS','roomMembers$','backgroundColor','_getObjectBounds','_currentUsage','BOARD_TOP_RIGHT_MENU_LEADING_PART','defIds','current','entries','next','transformByState','_releaseCalculationLimit','setInterval','find','getMergeData','unit','debounce','evenodd','_checkCalculationAvailable','true','_session','getCellPositionByOffset','_shortcutBlock','_clearOtherTimers','@univerjs-pro/collaboration-client','reason','handleInsertCol','Rectangle','green.600','toStringTag','children','with','collaboration-client-ui.permission.title','ICommandService','on-line-icon_clip0_910_349','CollaborationStatus','[Unhandled\x20Rejection]:\x20','CollaborationController','offsetY','Tools','FormulaExecuteStageType','collaboration-client-ui.session.collaboration-timeout','ISlideDrawingStateService','RemoveRowCommandId','displayName','error','selections','_memberID','_hover','board-element-selection','state$','_clearPolling','getMemberID','pageManager','source','collaboration-client-ui.collabStatus.syncing','_handleHover','getActiveSheet','unload','univer-text-green-500','subscribeEvent','PluginService','CollaborationUIEventService','ACTIVE_UNIT_EVENT_CHANNEL','MoveRangeCommandId'];_0x485a=function(){return _0x40c659;};return _0x485a();}(function(_0x1d8392,_0x3a431f){const _0x19447a=_0x3a65,_0x23f591=_0x1d8392();while(!![]){try{const _0x458c87=parseInt(_0x19447a(0x2a2))/0x1*(-parseInt(_0x19447a(0x3c1))/0x2)+-parseInt(_0x19447a(0xfc))/0x3*(-parseInt(_0x19447a(0xb2))/0x4)+-parseInt(_0x19447a(0xc9))/0x5+parseInt(_0x19447a(0xf7))/0x6+-parseInt(_0x19447a(0xf4))/0x7+parseInt(_0x19447a(0x75))/0x8*(-parseInt(_0x19447a(0x32b))/0x9)+-parseInt(_0x19447a(0x154))/0xa*(-parseInt(_0x19447a(0x17f))/0xb);if(_0x458c87===_0x3a431f)break;else _0x23f591['push'](_0x23f591['shift']());}catch(_0x3966f8){_0x23f591['push'](_0x23f591['shift']());}}}(_0x485a,0xd14d8),function(_0x4acf10,_0x42d11a){const _0x20dbad=_0x3a65;typeof exports==_0x20dbad(0x297)&&typeof module<'u'?_0x42d11a(exports,require('@univerjs-pro/boards-ui'),require('@univerjs-pro/collaboration-client'),require('@univerjs/core'),require('@univerjs/ui'),require('rxjs'),require('rxjs/operators'),require('@univerjs/design'),require('react'),require('react/jsx-runtime'),require('@univerjs/engine-render'),require('@univerjs/network'),require('@univerjs/docs-ui'),require('@univerjs-pro/collaboration'),require('@univerjs/docs'),require('@univerjs/engine-formula'),require('@univerjs/sheets'),require('@univerjs-pro/slides-ui'),require('@univerjs/sheets-ui'),require('@univerjs/rpc'),require('@univerjs/protocol')):typeof define=='function'&&define['amd']?define([_0x20dbad(0x1fe),'@univerjs-pro/boards-ui',_0x20dbad(0x25f),_0x20dbad(0x1e9),_0x20dbad(0x2ea),'rxjs',_0x20dbad(0x3c6),'@univerjs/design',_0x20dbad(0x17a),_0x20dbad(0x324),_0x20dbad(0x1b7),_0x20dbad(0x1f7),_0x20dbad(0xc8),_0x20dbad(0x387),_0x20dbad(0x11f),_0x20dbad(0x3a4),'@univerjs/sheets','@univerjs-pro/slides-ui','@univerjs/sheets-ui',_0x20dbad(0x2dc),'@univerjs/protocol'],_0x42d11a):(_0x4acf10=typeof globalThis<'u'?globalThis:_0x4acf10||self,_0x42d11a(_0x4acf10[_0x20dbad(0x190)]={},_0x4acf10[_0x20dbad(0x222)],_0x4acf10['UniverProCollaborationClient'],_0x4acf10[_0x20dbad(0x8b)],_0x4acf10[_0x20dbad(0x8f)],_0x4acf10['rxjs'],_0x4acf10[_0x20dbad(0x1c9)][_0x20dbad(0x242)],_0x4acf10[_0x20dbad(0x19c)],_0x4acf10[_0x20dbad(0x9b)],_0x4acf10[_0x20dbad(0x9b)],_0x4acf10[_0x20dbad(0x2a4)],_0x4acf10[_0x20dbad(0x343)],_0x4acf10[_0x20dbad(0x39c)],_0x4acf10[_0x20dbad(0xdc)],_0x4acf10[_0x20dbad(0x128)],_0x4acf10['UniverEngineFormula'],_0x4acf10['UniverSheets'],_0x4acf10[_0x20dbad(0x177)],_0x4acf10[_0x20dbad(0x30b)],_0x4acf10[_0x20dbad(0x76)],_0x4acf10[_0x20dbad(0x389)]));}(this,function(_0x2b48e1,_0x52faa1,_0x21847c,_0x542ae8,_0x50ea5d,_0x381980,_0x1c9ca5,_0x42c8e3,_0x4ba5b5,_0x60312a,_0x19aeb8,_0x41ecf8,_0x10603f,_0x1e0a90,_0x13b229,_0x335eab,_0x585920,_0x1c6381,_0x17f229,_0x2a062f,_0x44736d){const _0x23887d=_0x3a65;Object[_0x23887d(0xef)](_0x2b48e1,Symbol[_0x23887d(0x264)],{'value':_0x23887d(0x333)});function _0x1fe0b4({ref:_0x2e1df6,..._0x37985b}){const _0xf5389f=_0x23887d;let {icon:_0x15f9c4,id:_0x29faf8,className:_0x48e9df,extend:_0x5a4c42,..._0x52c6ec}=_0x37985b,_0x43cebe=(_0xf5389f(0x18a)+_0x29faf8+'\x20'+(_0x48e9df||''))['trim'](),_0xd2fa57=(0x0,_0x4ba5b5['useRef'])('_'+_0xf3b752());return _0x45c802(_0x15f9c4,''+_0x29faf8,{'defIds':_0x15f9c4[_0xf5389f(0x24d)],'idSuffix':_0xd2fa57[_0xf5389f(0x24e)]},{'ref':_0x2e1df6,'className':_0x43cebe,..._0x52c6ec},_0x5a4c42);}function _0x45c802(_0x4f365d,_0x247652,_0x4aaf82,_0x16053b,_0x15a680){const _0x155aba=_0x23887d;return(0x0,_0x4ba5b5['createElement'])(_0x4f365d[_0x155aba(0x1ae)],{'key':_0x247652,..._0x4eb0df(_0x4f365d,_0x4aaf82,_0x15a680),..._0x16053b},(_0x9975fa(_0x4f365d,_0x4aaf82)[_0x155aba(0x265)]||[])[_0x155aba(0xd7)]((_0x41d36f,_0x4e1d0b)=>_0x45c802(_0x41d36f,_0x247652+'-'+_0x4f365d[_0x155aba(0x1ae)]+'-'+_0x4e1d0b,_0x4aaf82,void 0x0,_0x15a680)));}function _0x4eb0df(_0x2d5c94,_0x24685f,_0x21975f){const _0x547032=_0x23887d;let _0x12256={..._0x2d5c94['attrs']};_0x21975f!=null&&_0x21975f[_0x547032(0xfb)]&&_0x12256['fill']===_0x547032(0xfb)&&(_0x12256['fill']=_0x21975f[_0x547032(0xfb)]),_0x21975f!=null&&_0x21975f[_0x547032(0xfb)]&&_0x12256[_0x547032(0x360)]===_0x547032(0xfb)&&(_0x12256[_0x547032(0x360)]=_0x21975f['colorChannel1']),_0x2d5c94[_0x547032(0x1ae)]===_0x547032(0x19d)&&_0x12256['id']&&(_0x12256['id']+=_0x24685f[_0x547032(0x2b2)]),Object['entries'](_0x12256)['forEach'](([_0xd44414,_0xb6bacc])=>{const _0x28d132=_0x547032;_0xd44414==='mask'&&typeof _0xb6bacc==_0x28d132(0x2e5)&&(_0x12256[_0xd44414]=_0xb6bacc['replace'](/url\(#(.*)\)/,_0x28d132(0xa1)+_0x24685f['idSuffix']+')'));});let {defIds:_0x3a7c84}=_0x24685f;return!_0x3a7c84||_0x3a7c84[_0x547032(0x351)]===0x0?_0x12256:(_0x2d5c94['tag']===_0x547032(0x2c2)&&_0x12256[_0x547032(0x133)]&&(_0x12256[_0x547032(0x133)]+=_0x24685f[_0x547032(0x2b2)]),Object[_0x547032(0x24f)](_0x12256)[_0x547032(0x28f)](([_0x45685c,_0x2af154])=>{const _0x9c9162=_0x547032;typeof _0x2af154=='string'&&(_0x12256[_0x45685c]=_0x2af154[_0x9c9162(0x361)](/url\(#(.*)\)/,_0x9c9162(0xa1)+_0x24685f[_0x9c9162(0x2b2)]+')'));}),_0x12256);}function _0x9975fa(_0x334ab7,_0x420fa8){const _0x16f98c=_0x23887d;var _0x4f2277;let {defIds:_0x1ff0f8}=_0x420fa8;return!_0x1ff0f8||_0x1ff0f8[_0x16f98c(0x351)]===0x0?_0x334ab7:_0x334ab7['tag']===_0x16f98c(0x117)&&(_0x4f2277=_0x334ab7[_0x16f98c(0x265)])!=null&&_0x4f2277[_0x16f98c(0x351)]?{..._0x334ab7,'children':_0x334ab7[_0x16f98c(0x265)][_0x16f98c(0xd7)](_0x460407=>typeof _0x460407['attrs']['id']==_0x16f98c(0x2e5)&&_0x1ff0f8&&_0x1ff0f8[_0x16f98c(0x1de)](_0x460407[_0x16f98c(0x153)]['id'])?{..._0x460407,'attrs':{..._0x460407[_0x16f98c(0x153)],'id':_0x460407[_0x16f98c(0x153)]['id']+_0x420fa8[_0x16f98c(0x2b2)]}}:_0x460407)}:_0x334ab7;}function _0xf3b752(){const _0x8cf6be=_0x23887d;return Math['random']()[_0x8cf6be(0x1e4)](0x24)[_0x8cf6be(0x152)](0x2,0x8);}_0x1fe0b4[_0x23887d(0x273)]='UniverIcon';let _0x185eda={'tag':_0x23887d(0x14c),'attrs':{'xmlns':_0x23887d(0x123),'fill':_0x23887d(0x22e),'viewBox':_0x23887d(0xb0),'width':'1em','height':_0x23887d(0x1ca)},'children':[{'tag':'g','attrs':{'clipPath':_0x23887d(0x203)},'children':[{'tag':_0x23887d(0x391),'attrs':{'stroke':'currentColor','d':_0x23887d(0x345),'strokeLinecap':'round','strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x23887d(0x1a3),'attrs':{'id':_0x23887d(0x232)},'children':[{'tag':'path','attrs':{'fill':'white','d':_0x23887d(0x2b5)}}]}]}],'defIds':[_0x23887d(0x232)]},_0x28d822=(0x0,_0x4ba5b5['forwardRef'])(function(_0x7a8213,_0x4295d1){const _0x3e83ce=_0x23887d;return(0x0,_0x4ba5b5['createElement'])(_0x1fe0b4,Object[_0x3e83ce(0x3af)]({},_0x7a8213,{'id':_0x3e83ce(0xa8),'ref':_0x4295d1,'icon':_0x185eda}));});_0x28d822['displayName']=_0x23887d(0x3c0);let _0x2f25d0={'tag':'svg','attrs':{'xmlns':_0x23887d(0x123),'fill':_0x23887d(0x22e),'viewBox':_0x23887d(0xf2),'width':_0x23887d(0x1ca),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x23887d(0xca)},'children':[{'tag':_0x23887d(0x391),'attrs':{'stroke':_0x23887d(0x373),'d':_0x23887d(0x1b1),'strokeLinecap':_0x23887d(0x2a3),'strokeLinejoin':_0x23887d(0x2a3),'strokeWidth':1.2}}]},{'tag':_0x23887d(0x117),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x23887d(0x269)},'children':[{'tag':'path','attrs':{'fill':'white','d':_0x23887d(0x2b5),'transform':'translate(.97)'}}]}]}],'defIds':['on-line-icon_clip0_910_349']},_0xe7e591=(0x0,_0x4ba5b5[_0x23887d(0x29a)])(function(_0x45d397,_0x27b3ba){const _0x2c507a=_0x23887d;return(0x0,_0x4ba5b5[_0x2c507a(0x16f)])(_0x1fe0b4,Object[_0x2c507a(0x3af)]({},_0x45d397,{'id':_0x2c507a(0x245),'ref':_0x27b3ba,'icon':_0x2f25d0}));});_0xe7e591[_0x23887d(0x273)]=_0x23887d(0x15e);let _0xc1559d={'tag':'svg','attrs':{'xmlns':_0x23887d(0x123),'fill':_0x23887d(0x22e),'viewBox':_0x23887d(0xb0),'width':_0x23887d(0x1ca),'height':_0x23887d(0x1ca)},'children':[{'tag':_0x23887d(0x391),'attrs':{'fill':_0x23887d(0x373),'d':_0x23887d(0x155),'fillRule':_0x23887d(0x258),'clipRule':_0x23887d(0x258)}}]},_0x51823e=(0x0,_0x4ba5b5[_0x23887d(0x29a)])(function(_0x4de759,_0x8c069c){const _0x366008=_0x23887d;return(0x0,_0x4ba5b5[_0x366008(0x16f)])(_0x1fe0b4,Object[_0x366008(0x3af)]({},_0x4de759,{'id':_0x366008(0x375),'ref':_0x8c069c,'icon':_0xc1559d}));});_0x51823e[_0x23887d(0x273)]=_0x23887d(0x195);let _0x6a08a3={'tag':'svg','attrs':{'xmlns':_0x23887d(0x123),'fill':_0x23887d(0x22e),'viewBox':_0x23887d(0xb0),'width':_0x23887d(0x1ca),'height':_0x23887d(0x1ca)},'children':[{'tag':_0x23887d(0x391),'attrs':{'fill':_0x23887d(0x19a),'d':'M8.79993\x2014.0166C8.79993\x2014.4585\x208.44176\x2014.8166\x207.99993\x2014.8166C4.23529\x2014.8166\x201.18345\x2011.7648\x201.18345\x208.00017C1.18345\x204.23554\x204.23529\x201.18369\x207.99993\x201.1837C11.7646\x201.1837\x2014.8164\x204.23554\x2014.8164\x208.00017C14.8164\x208.442\x2014.4582\x208.80017\x2014.0164\x208.80017C13.5746\x208.80017\x2013.2164\x208.442\x2013.2164\x208.00017C13.2164\x205.11919\x2010.8809\x202.7837\x207.99993\x202.7837C5.11895\x202.7837\x202.78345\x205.11919\x202.78345\x208.00017C2.78345\x2010.8812\x205.11895\x2013.2166\x207.99993\x2013.2166C8.44176\x2013.2166\x208.79993\x2013.5748\x208.79993\x2014.0166Z','fillOpacity':0.2,'fillRule':_0x23887d(0x258),'clipRule':_0x23887d(0x258)}},{'tag':_0x23887d(0x391),'attrs':{'fill':_0x23887d(0x19a),'d':_0x23887d(0x2b4),'fillRule':_0x23887d(0x258),'clipRule':_0x23887d(0x258)}}]},_0x53b627=(0x0,_0x4ba5b5[_0x23887d(0x29a)])(function(_0x42bb35,_0x251bb0){const _0x265069=_0x23887d;return(0x0,_0x4ba5b5[_0x265069(0x16f)])(_0x1fe0b4,Object[_0x265069(0x3af)]({},_0x42bb35,{'id':'loading-multi-icon','ref':_0x251bb0,'icon':_0x6a08a3}));});_0x53b627[_0x23887d(0x273)]='LoadingMultiIcon';function _0x381fcb(_0x31d67b){const _0x2e0503=_0x23887d;switch(_0x31d67b){case _0x21847c[_0x2e0503(0x26a)][_0x2e0503(0x31e)]:return{'icon':(0x0,_0x60312a[_0x2e0503(0x11d)])(_0x28d822,{}),'colorClass':_0x2e0503(0xba),'i18nKey':'collaboration-client-ui.collabStatus.offline','tooltipKey':'collaboration-client-ui.collabClient.tooltip.reconnect','clickable':!0x0,'indicator':'static'};case _0x21847c[_0x2e0503(0x26a)][_0x2e0503(0x240)]:return{'icon':(0x0,_0x60312a[_0x2e0503(0x11d)])(_0x28d822,{}),'colorClass':_0x2e0503(0x34e),'i18nKey':_0x2e0503(0x20a),'clickable':!0x1,'indicator':_0x2e0503(0x1f0)};case _0x21847c[_0x2e0503(0x26a)][_0x2e0503(0x247)]:return{'icon':(0x0,_0x60312a['jsx'])(_0x53b627,{}),'colorClass':_0x2e0503(0x16b),'i18nKey':_0x2e0503(0x293),'clickable':!0x1,'indicator':_0x2e0503(0x168)};case _0x21847c[_0x2e0503(0x26a)]['NOT_COLLAB']:return{'icon':(0x0,_0x60312a[_0x2e0503(0x11d)])(_0xe7e591,{}),'colorClass':_0x2e0503(0x354),'i18nKey':'collaboration-client-ui.collabStatus.notCollab','clickable':!0x1,'indicator':_0x2e0503(0x1f0)};case _0x21847c[_0x2e0503(0x26a)][_0x2e0503(0x2da)]:case _0x21847c[_0x2e0503(0x26a)][_0x2e0503(0x72)]:return{'icon':(0x0,_0x60312a['jsx'])(_0x53b627,{}),'colorClass':_0x2e0503(0x16b),'i18nKey':_0x2e0503(0x27e),'clickable':!0x1,'indicator':'spin'};case _0x21847c['CollaborationStatus']['PENDING']:return{'icon':(0x0,_0x60312a[_0x2e0503(0x11d)])(_0x53b627,{}),'colorClass':_0x2e0503(0x16b),'i18nKey':_0x2e0503(0x27e),'clickable':!0x1,'indicator':_0x2e0503(0x168)};case _0x21847c[_0x2e0503(0x26a)]['SYNCED']:return{'icon':(0x0,_0x60312a['jsx'])(_0xe7e591,{}),'colorClass':_0x2e0503(0x282),'i18nKey':'collaboration-client-ui.collabStatus.synced','clickable':!0x1,'indicator':'static'};}}function _0x128c47(_0x334d3c){const _0x13feb5=_0x23887d;let {status$:_0x457209}=_0x334d3c,_0x61806c=(0x0,_0x50ea5d[_0x13feb5(0x397)])(_0x457209,_0x21847c['CollaborationStatus'][_0x13feb5(0x12f)]),_0x2510d3=(0x0,_0x50ea5d[_0x13feb5(0x218)])(_0x542ae8[_0x13feb5(0x2d3)]),_0x388c83=(0x0,_0x50ea5d['useDependency'])(_0x21847c[_0x13feb5(0x105)]),_0x10c5b7=(0x0,_0x4ba5b5[_0x13feb5(0x103)])(()=>_0x381fcb(_0x61806c),[_0x61806c]),_0x1a95b3=_0x61806c!==_0x21847c[_0x13feb5(0x26a)]['OFFLINE'],_0x41b908=_0x2510d3['t'](_0x10c5b7[_0x13feb5(0xf1)]),_0x1d73f1=_0x10c5b7[_0x13feb5(0x1ce)]?_0x2510d3['t'](_0x10c5b7[_0x13feb5(0x1ce)]):_0x41b908,_0x1ddeb3=(0x0,_0x4ba5b5[_0x13feb5(0x6f)])(()=>{_0x1a95b3||_0x388c83['reconnect']();},[_0x1a95b3,_0x388c83]),_0x32a517=(0x0,_0x4ba5b5['useCallback'])(_0x3a72d9=>{const _0x10f7c7=_0x13feb5;!_0x1a95b3&&(_0x3a72d9[_0x10f7c7(0x379)]==='Enter'||_0x3a72d9['key']==='\x20')&&(_0x3a72d9['preventDefault'](),_0x388c83[_0x10f7c7(0x1c6)]());},[_0x1a95b3,_0x388c83]),_0x18812a=(0x0,_0x60312a[_0x13feb5(0x11d)])(_0x13feb5(0x2e1),{'className':(0x0,_0x42c8e3[_0x13feb5(0x386)])(_0x13feb5(0x114),'univer-text-xl\x20univer-transition-colors\x20univer-duration-200',_0x10c5b7[_0x13feb5(0x236)],{'univer-animate-spin':_0x10c5b7[_0x13feb5(0x2c5)]===_0x13feb5(0x168),'univer-animate-pulse':_0x10c5b7['indicator']===_0x13feb5(0x184)}),'aria-hidden':_0x13feb5(0x25a),'children':_0x10c5b7[_0x13feb5(0x113)]}),_0x1b355a=(0x0,_0x60312a['jsx'])(_0x13feb5(0x2e1),{'className':(0x0,_0x42c8e3['clsx'])(_0x13feb5(0x114),'univer-h-8\x20univer-w-8\x20univer-rounded-lg',_0x13feb5(0x7c),_0x13feb5(0x182),_0x13feb5(0x2e7),{'univer-cursor-pointer\x20hover:univer-bg-gray-100\x20dark:hover:!univer-bg-gray-700':_0x10c5b7['clickable'],'univer-cursor-default':!_0x10c5b7[_0x13feb5(0x82)]}),'children':_0x18812a});return _0x10c5b7[_0x13feb5(0x82)]?(0x0,_0x60312a[_0x13feb5(0x11d)])(_0x42c8e3[_0x13feb5(0x30a)],{'title':_0x1d73f1,'placement':'bottom','children':(0x0,_0x60312a[_0x13feb5(0x11d)])(_0x13feb5(0xdf),{'type':_0x13feb5(0xdf),'onClick':_0x1ddeb3,'onKeyDown':_0x32a517,'className':(0x0,_0x42c8e3['clsx'])(_0x13feb5(0x146),_0x13feb5(0x196),_0x13feb5(0x2cd),'univer-appearance-none'),'aria-label':_0x41b908+_0x13feb5(0x150)+_0x1d73f1,'role':_0x13feb5(0x1a4),'aria-live':_0x13feb5(0x228),'aria-atomic':_0x13feb5(0x25a),'children':_0x1b355a})}):(0x0,_0x60312a['jsx'])(_0x42c8e3[_0x13feb5(0x30a)],{'title':_0x1d73f1,'placement':_0x13feb5(0x13a),'children':(0x0,_0x60312a[_0x13feb5(0x11d)])('div',{'className':(0x0,_0x42c8e3['clsx'])(_0x13feb5(0x146),_0x13feb5(0x196),_0x13feb5(0x2cd)),'aria-label':_0x41b908,'role':_0x13feb5(0x1a4),'aria-live':'polite','aria-atomic':'true','children':_0x1b355a})});}function _0x1ab264(_0x59d92a){'@babel/helpers - typeof';const _0x428a1c=_0x23887d;return _0x1ab264=typeof Symbol==_0x428a1c(0x3ab)&&typeof Symbol[_0x428a1c(0x173)]==_0x428a1c(0x112)?function(_0x23df6a){return typeof _0x23df6a;}:function(_0x51e3ad){const _0x316e21=_0x428a1c;return _0x51e3ad&&typeof Symbol=='function'&&_0x51e3ad[_0x316e21(0x2d7)]===Symbol&&_0x51e3ad!==Symbol[_0x316e21(0x3c2)]?_0x316e21(0x112):typeof _0x51e3ad;},_0x1ab264(_0x59d92a);}function _0x4e8db2(_0x1dedba,_0x54314e){const _0x54a221=_0x23887d;if(_0x1ab264(_0x1dedba)!=_0x54a221(0x297)||!_0x1dedba)return _0x1dedba;var _0x44faf0=_0x1dedba[Symbol[_0x54a221(0x38e)]];if(_0x44faf0!==void 0x0){var _0x5d4bde=_0x44faf0[_0x54a221(0x3cc)](_0x1dedba,_0x54314e||_0x54a221(0x349));if(_0x1ab264(_0x5d4bde)!=_0x54a221(0x297))return _0x5d4bde;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0x54314e==='string'?String:Number)(_0x1dedba);}function _0x3e37f4(_0x41527e){const _0x39e97d=_0x23887d;var _0x44a5cc=_0x4e8db2(_0x41527e,_0x39e97d(0x2e5));return _0x1ab264(_0x44a5cc)==_0x39e97d(0x112)?_0x44a5cc:_0x44a5cc+'';}function _0x24a4e0(_0x3c3695,_0x5af18f,_0x4fb81b){const _0x5a03da=_0x23887d;return(_0x5af18f=_0x3e37f4(_0x5af18f))in _0x3c3695?Object[_0x5a03da(0xef)](_0x3c3695,_0x5af18f,{'value':_0x4fb81b,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x3c3695[_0x5af18f]=_0x4fb81b,_0x3c3695;}function _0x518e4c(_0x564f92,_0x11d1c7){return function(_0x24fa6e,_0x2dfcae){_0x11d1c7(_0x24fa6e,_0x2dfcae,_0x564f92);};}function _0xfa6df6(_0x16df23,_0x4df4f2,_0x5ac302,_0x49245a){const _0x4ddad7=_0x23887d;var _0x1a968b=arguments['length'],_0x47f7f1=_0x1a968b<0x3?_0x4df4f2:_0x49245a===null?_0x49245a=Object[_0x4ddad7(0x12c)](_0x4df4f2,_0x5ac302):_0x49245a,_0x3fe72c;if(typeof Reflect==_0x4ddad7(0x297)&&typeof Reflect[_0x4ddad7(0xea)]=='function')_0x47f7f1=Reflect[_0x4ddad7(0xea)](_0x16df23,_0x4df4f2,_0x5ac302,_0x49245a);else{for(var _0x4721de=_0x16df23[_0x4ddad7(0x351)]-0x1;_0x4721de>=0x0;_0x4721de--)(_0x3fe72c=_0x16df23[_0x4721de])&&(_0x47f7f1=(_0x1a968b<0x3?_0x3fe72c(_0x47f7f1):_0x1a968b>0x3?_0x3fe72c(_0x4df4f2,_0x5ac302,_0x47f7f1):_0x3fe72c(_0x4df4f2,_0x5ac302))||_0x47f7f1);}return _0x1a968b>0x3&&_0x47f7f1&&Object[_0x4ddad7(0xef)](_0x4df4f2,_0x5ac302,_0x47f7f1),_0x47f7f1;}let _0x433869=class extends _0x542ae8[_0x23887d(0x106)]{constructor(_0x94726f,_0x2435cd,_0x2e4ad8,_0x4ae3d0){const _0x286ac3=_0x23887d;super(),this[_0x286ac3(0x15f)]=_0x94726f,this[_0x286ac3(0x359)]=_0x2435cd,this[_0x286ac3(0x353)]=_0x2e4ad8,this['_uiPartsService']=_0x4ae3d0,_0x24a4e0(this,'_status$',new _0x381980['BehaviorSubject'](_0x21847c[_0x286ac3(0x26a)][_0x286ac3(0x12f)])),this[_0x286ac3(0x3a1)](),this[_0x286ac3(0x15c)]();}[_0x23887d(0x15c)](){const _0x2bf53e=_0x23887d;this['disposeWithMe']((0x0,_0x381980[_0x2bf53e(0x399)])(this[_0x2bf53e(0x15f)]['focused$'],this['_univerInstanceService'][_0x2bf53e(0x2ab)](_0x542ae8[_0x2bf53e(0x1af)][_0x2bf53e(0xcc)]),this[_0x2bf53e(0x15f)][_0x2bf53e(0x2ab)](_0x542ae8['UniverInstanceType']['UNIVER_SHEET']))[_0x2bf53e(0x28b)]((0x0,_0x1c9ca5[_0x2bf53e(0xd7)])(()=>_0x18ff21(this[_0x2bf53e(0x15f)])),(0x0,_0x1c9ca5['distinctUntilChanged'])(),(0x0,_0x381980['switchMap'])(_0x7e6840=>_0x7e6840?this['_collaborationController']['getCollabEntity$'](_0x7e6840):(0x0,_0x381980['of'])(null)),(0x0,_0x381980[_0x2bf53e(0x98)])(_0x49f315=>_0x49f315?_0x49f315[_0x2bf53e(0xa0)]:(0x0,_0x381980['of'])(_0x21847c['CollaborationStatus'][_0x2bf53e(0x12f)])))[_0x2bf53e(0x3b1)](_0x1fcc6f=>{const _0x47afa9=_0x2bf53e;this[_0x47afa9(0x235)][_0x47afa9(0x250)](_0x1fcc6f);}));}[_0x23887d(0x3a1)](){const _0x145bf9=_0x23887d;this[_0x145bf9(0x36a)](this[_0x145bf9(0xfd)][_0x145bf9(0x1ef)](_0x50ea5d[_0x145bf9(0x170)]['HEADER_MENU'],()=>(0x0,_0x50ea5d[_0x145bf9(0x316)])(_0x8b28c9({'status$':this[_0x145bf9(0x235)][_0x145bf9(0x1ee)]()}),this[_0x145bf9(0x359)])));}};_0x433869=_0xfa6df6([_0x518e4c(0x0,_0x542ae8[_0x23887d(0x129)]),_0x518e4c(0x1,(0x0,_0x542ae8[_0x23887d(0x34a)])(_0x542ae8[_0x23887d(0x1b9)])),_0x518e4c(0x2,(0x0,_0x542ae8[_0x23887d(0x34a)])(_0x21847c[_0x23887d(0x26c)])),_0x518e4c(0x3,_0x50ea5d['IUIPartsService'])],_0x433869);let _0x3c7cf3=class extends _0x542ae8[_0x23887d(0x106)]{constructor(_0x168601,_0x1d7c28,_0x46ebd5,_0x271ef8){const _0x1bf559=_0x23887d;super(),this[_0x1bf559(0x15f)]=_0x168601,this[_0x1bf559(0x359)]=_0x1d7c28,this[_0x1bf559(0x353)]=_0x46ebd5,this['_uiPartsService']=_0x271ef8,_0x24a4e0(this,'_status$',new _0x381980['BehaviorSubject'](_0x21847c[_0x1bf559(0x26a)][_0x1bf559(0x12f)])),this[_0x1bf559(0x3a1)](),this[_0x1bf559(0x15c)]();}[_0x23887d(0x15c)](){const _0x1ec746=_0x23887d;this[_0x1ec746(0x36a)]((0x0,_0x381980[_0x1ec746(0x399)])((0x0,_0x381980['of'])(null),this[_0x1ec746(0x15f)]['getCurrentTypeOfUnit$'](_0x542ae8[_0x1ec746(0x1af)][_0x1ec746(0xe0)]))[_0x1ec746(0x28b)]((0x0,_0x1c9ca5['map'])(()=>_0xc90c7a(this[_0x1ec746(0x15f)])),(0x0,_0x1c9ca5[_0x1ec746(0x2a7)])(),(0x0,_0x381980[_0x1ec746(0x98)])(_0x7c3556=>_0x7c3556?this[_0x1ec746(0x353)][_0x1ec746(0x220)](_0x7c3556):(0x0,_0x381980['of'])(null)),(0x0,_0x381980[_0x1ec746(0x98)])(_0x2ff7d2=>_0x2ff7d2?_0x2ff7d2['status$']:(0x0,_0x381980['of'])(_0x21847c[_0x1ec746(0x26a)][_0x1ec746(0x12f)])))[_0x1ec746(0x3b1)](_0x22779e=>{const _0xce50d9=_0x1ec746;this['_status$'][_0xce50d9(0x250)](_0x22779e);}));}[_0x23887d(0x3a1)](){const _0x2278fe=_0x23887d;this[_0x2278fe(0x36a)](this['_uiPartsService'][_0x2278fe(0x1ef)](_0x52faa1[_0x2278fe(0x24c)],()=>(0x0,_0x50ea5d[_0x2278fe(0x316)])(_0x8b28c9({'status$':this[_0x2278fe(0x235)]['asObservable']()}),this[_0x2278fe(0x359)])));}};_0x3c7cf3=_0xfa6df6([_0x518e4c(0x0,_0x542ae8['IUniverInstanceService']),_0x518e4c(0x1,(0x0,_0x542ae8[_0x23887d(0x34a)])(_0x542ae8['Injector'])),_0x518e4c(0x2,(0x0,_0x542ae8[_0x23887d(0x34a)])(_0x21847c[_0x23887d(0x26c)])),_0x518e4c(0x3,_0x50ea5d[_0x23887d(0x101)])],_0x3c7cf3);function _0x18ff21(_0x3e111b){const _0x1fc2d6=_0x23887d;let _0x342ba3=_0x3e111b['getFocusedUnit'](),_0x588f01=_0x342ba3==null?void 0x0:_0x342ba3[_0x1fc2d6(0x2e0)]();if(_0x588f01&&!(0x0,_0x542ae8['isInternalEditorID'])(_0x588f01))return _0x588f01;let _0x50f61e=_0x3e111b[_0x1fc2d6(0x70)](_0x542ae8[_0x1fc2d6(0x1af)][_0x1fc2d6(0xcc)]),_0x9a2455=_0x50f61e==null?void 0x0:_0x50f61e['getUnitId']();if(_0x9a2455&&!(0x0,_0x542ae8[_0x1fc2d6(0x2ef)])(_0x9a2455))return _0x9a2455;let _0x7561ab=_0x3e111b[_0x1fc2d6(0x70)](_0x542ae8[_0x1fc2d6(0x1af)][_0x1fc2d6(0x20c)]);if(_0x7561ab)return _0x7561ab['getUnitId']();let _0x20a424=_0x3e111b['getAllUnitsForType'](_0x542ae8['UniverInstanceType'][_0x1fc2d6(0xcc)])[_0x1fc2d6(0x254)](_0x1eab76=>!(0x0,_0x542ae8[_0x1fc2d6(0x2ef)])(_0x1eab76[_0x1fc2d6(0x2e0)]()));return _0x20a424?_0x20a424[_0x1fc2d6(0x2e0)]():null;}function _0xc90c7a(_0x1034f2){const _0x576680=_0x23887d;var _0x2d603a;let _0xafad4b=_0x1034f2[_0x576680(0x70)](_0x542ae8['UniverInstanceType'][_0x576680(0xe0)]);return(_0x2d603a=_0xafad4b==null?void 0x0:_0xafad4b[_0x576680(0x2e0)]())==null?null:_0x2d603a;}function _0x8b28c9(_0x4dc0f7){let {status$:_0x3739bd}=_0x4dc0f7;return function(){const _0xe74a67=_0x3a65;return(0x0,_0x60312a[_0xe74a67(0x11d)])(_0x128c47,{'status$':_0x3739bd});};}var _0xadf74d=_0x23887d(0x1be),_0x15f26a=_0x23887d(0x223);let _0x2e5170={},_0x5df0dc=class extends _0x542ae8['RxDisposable']{constructor(_0x3e85eb,_0x17cfd2){const _0x11753c=_0x23887d;super(),this[_0x11753c(0x160)]=_0x3e85eb,this[_0x11753c(0x14f)]=_0x17cfd2,this[_0x11753c(0xbf)]();}[_0x23887d(0xbf)](){const _0x315807=_0x23887d;let _0x250e24=this;this[_0x315807(0x36a)](this[_0x315807(0x160)][_0x315807(0x308)]({'onBeforePasteImage':async _0x48df13=>{const _0x35c1b9=_0x315807;let _0x1caee3=await _0x250e24['_imageIoService'][_0x35c1b9(0x13e)](_0x48df13);return _0x1caee3?{'source':_0x1caee3[_0x35c1b9(0x27d)],'imageSourceType':_0x1caee3[_0x35c1b9(0x111)]}:null;}}));}};_0x5df0dc=_0xfa6df6([_0x518e4c(0x0,_0x10603f[_0x23887d(0x212)]),_0x518e4c(0x1,_0x542ae8[_0x23887d(0x157)])],_0x5df0dc);function _0x25f63f(_0x391466,_0x2713a9){const _0x289d23=_0x23887d;_0x391466[_0x289d23(0x204)](),_0x391466[_0x289d23(0xcd)]=_0x289d23(0x3a8);let _0x2ad665=_0x391466[_0x289d23(0x200)](_0x2713a9)[_0x289d23(0x3b4)];return _0x391466['restore'](),Math['min'](_0x2ad665+0x8,0xc8);}function _0x2231c9(_0x55c21d,_0x232b45){const _0x418748=_0x23887d;var _0x194559,_0x32f41d,_0x398c0f;let {radius:_0x29dec3,width:_0x1cd2e2,height:_0x22d26c}=_0x232b45;_0x29dec3=(_0x194559=_0x29dec3)==null?0x0:_0x194559,_0x1cd2e2=(_0x32f41d=_0x1cd2e2)==null?0x1e:_0x32f41d,_0x22d26c=(_0x398c0f=_0x22d26c)==null?0x1e:_0x398c0f;let _0x2380ae=0x0,_0x29f9ef=0x0,_0x4ac6a2=0x0;_0x2380ae=_0x29f9ef=_0x4ac6a2=Math[_0x418748(0xed)](_0x29dec3,_0x1cd2e2/0x2,_0x22d26c/0x2),_0x55c21d[_0x418748(0xdb)](),_0x55c21d[_0x418748(0x69)](_0x2380ae,0x0),_0x55c21d[_0x418748(0x201)](_0x1cd2e2-_0x29f9ef,0x0),_0x55c21d['arc'](_0x1cd2e2-_0x29f9ef,_0x29f9ef,_0x29f9ef,Math['PI']*0x3/0x2,0x0,!0x1),_0x55c21d['lineTo'](_0x1cd2e2,_0x22d26c-_0x4ac6a2),_0x55c21d[_0x418748(0x2ca)](_0x1cd2e2-_0x4ac6a2,_0x22d26c-_0x4ac6a2,_0x4ac6a2,0x0,Math['PI']/0x2,!0x1),_0x55c21d[_0x418748(0x201)](0x0,_0x22d26c),_0x55c21d['lineTo'](0x0,_0x2380ae),_0x55c21d['arc'](_0x2380ae,_0x2380ae,_0x2380ae,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x55c21d[_0x418748(0x1d3)](),_0x232b45[_0x418748(0x2c8)]&&(_0x55c21d['save'](),_0x55c21d[_0x418748(0x22d)]=_0x232b45[_0x418748(0x2c8)],_0x232b45['fillRule']==='evenodd'?_0x55c21d[_0x418748(0x2c8)](_0x418748(0x258)):_0x55c21d['fill'](),_0x55c21d[_0x418748(0xde)]());}var _0x5bb6af=class _0x2a9214 extends _0x19aeb8[_0x23887d(0x37c)]{constructor(_0x478b41,_0x1556f3){const _0x41e49e=_0x23887d;super(_0x478b41,_0x1556f3),_0x24a4e0(this,_0x41e49e(0x17b),void 0x0),_0x24a4e0(this,_0x41e49e(0xf9),void 0x0),this['color']=_0x1556f3==null?void 0x0:_0x1556f3[_0x41e49e(0x17b)],this[_0x41e49e(0xf9)]=_0x1556f3==null?void 0x0:_0x1556f3[_0x41e49e(0xf9)];}static['drawWith'](_0x3c0ecc,_0x47c5bb){const _0x1e59ba=_0x23887d;let {text:_0x494999,color:_0x4b8fea}=_0x47c5bb;_0x3c0ecc[_0x1e59ba(0x204)](),_0x3c0ecc[_0x1e59ba(0xcd)]=_0x1e59ba(0x227);let _0x22c19d=_0x3c0ecc[_0x1e59ba(0x200)](_0x494999)[_0x1e59ba(0x3b4)];if(_0x2231c9(_0x3c0ecc,{'height':0x14,'radius':0x4,'width':_0x25f63f(_0x3c0ecc,_0x494999),'fill':_0x4b8fea,'evented':!0x1}),_0x3c0ecc[_0x1e59ba(0x22d)]='#FFF',_0x22c19d>0xc0){let _0x189252='',_0x22abc2=0x0;for(let _0x4aacd9 of _0x494999){let _0x300066=_0x3c0ecc[_0x1e59ba(0x200)](_0x4aacd9)['width'];if(_0x22abc2+_0x300066<=0xc0-_0x3c0ecc[_0x1e59ba(0x200)]('...')[_0x1e59ba(0x3b4)])_0x189252+=_0x4aacd9,_0x22abc2+=_0x300066;else{_0x189252+='...';break;}}_0x3c0ecc[_0x1e59ba(0x1ad)](_0x189252,0x4,0xf);}else _0x3c0ecc['fillText'](_0x494999,0x4,0xf);_0x3c0ecc[_0x1e59ba(0xde)]();}[_0x23887d(0x2cf)](_0x13ab42){const _0xd74fca=_0x23887d;_0x2a9214[_0xd74fca(0x3cb)](_0x13ab42,this);}};let _0x12a03d=0x138a;var _0x271694=class extends _0x19aeb8[_0x23887d(0x37c)]{constructor(_0x3f656d,_0x20ca36){const _0x226899=_0x23887d;super(_0x3f656d,{..._0x20ca36,'evented':!0x1}),_0x24a4e0(this,_0x226899(0x2a1),_0x226899(0x35b)),_0x24a4e0(this,_0x226899(0x2f3),''),_0x24a4e0(this,_0x226899(0x91),!0x0),_0x20ca36&&this[_0x226899(0x1e1)](_0x20ca36);}[_0x23887d(0x1e1)](_0x5842b5){const _0x1bd15e=_0x23887d;var _0x1d5988,_0x3dc25a,_0xa98ca5,_0x290b60,_0x198cf4,_0x24d4ea,_0x4e4417,_0x40d3ee;this[_0x1bd15e(0x2a1)]=(_0x1d5988=_0x5842b5['color'])==null?this[_0x1bd15e(0x2a1)]:_0x1d5988,this[_0x1bd15e(0x2f3)]=(_0x3dc25a=_0x5842b5[_0x1bd15e(0xe4)])==null?this[_0x1bd15e(0x2f3)]:_0x3dc25a,this[_0x1bd15e(0x91)]=(_0xa98ca5=_0x5842b5['showText'])==null?this[_0x1bd15e(0x91)]:_0xa98ca5,this[_0x1bd15e(0x210)]=!0x1,this[_0x1bd15e(0x251)]({'left':(_0x290b60=_0x5842b5['left'])==null?this['left']:_0x290b60,'top':(_0x198cf4=_0x5842b5[_0x1bd15e(0xfe)])==null?this['top']:_0x198cf4,'width':(_0x24d4ea=_0x5842b5['width'])==null?this[_0x1bd15e(0x3b4)]:_0x24d4ea,'height':(_0x4e4417=_0x5842b5[_0x1bd15e(0x303)])==null?this['height']:_0x4e4417,'angle':(_0x40d3ee=_0x5842b5['angle'])==null?this[_0x1bd15e(0x6d)]:_0x40d3ee});}[_0x23887d(0x2cf)](_0x36823c){const _0x199314=_0x23887d;_0x36823c[_0x199314(0x204)](),_0x36823c[_0x199314(0x67)]=this[_0x199314(0x2a1)],_0x36823c[_0x199314(0x2d0)]=this[_0x199314(0xd2)]||1.5,_0x36823c[_0x199314(0x163)]([0x6,0x4]),_0x36823c[_0x199314(0x11e)](0x0,0x0,this[_0x199314(0x3b4)],this[_0x199314(0x303)]),_0x36823c['restore'](),this[_0x199314(0x91)]&&(_0x36823c[_0x199314(0x204)](),_0x36823c['transform'](0x1,0x0,0x0,0x1,this[_0x199314(0x3b4)],-0x14),_0x5bb6af[_0x199314(0x3cb)](_0x36823c,{'text':this[_0x199314(0x2f3)],'color':this[_0x199314(0x2a1)]}),_0x36823c[_0x199314(0xde)]());}};let _0x225178=['purple.300','jiqing.500',_0x23887d(0x263),_0x23887d(0x1b2),_0x23887d(0x39d),_0x23887d(0xa5)];var _0x5fa53e=class extends _0x542ae8[_0x23887d(0x106)]{constructor(..._0x544af2){const _0x2b3c32=_0x23887d;super(..._0x544af2),_0x24a4e0(this,_0x2b3c32(0x311),new Map()),_0x24a4e0(this,_0x2b3c32(0x382),0x0);}[_0x23887d(0x23e)](_0x4396e4){const _0x32f53f=_0x23887d;if(this[_0x32f53f(0x311)]['has'](_0x4396e4))return this[_0x32f53f(0x311)][_0x32f53f(0x178)](_0x4396e4);let _0x5cbc46=_0x225178[this[_0x32f53f(0x382)]];return this[_0x32f53f(0x382)]=(this[_0x32f53f(0x382)]+0x1)%_0x225178[_0x32f53f(0x351)],this[_0x32f53f(0x311)]['set'](_0x4396e4,_0x5cbc46),_0x5cbc46;}};function _0x5c2da8(_0x48e1c7){const _0x4a458e=_0x23887d;let _0x53ffca;try{_0x53ffca=JSON['parse'](_0x48e1c7);}catch{return null;}if(typeof _0x53ffca!=_0x4a458e(0x297)||!_0x53ffca)return null;let _0x5a0f50=_0x53ffca;if(_0x5a0f50[_0x4a458e(0x21b)]!==_0x4a458e(0x278)||typeof _0x5a0f50[_0x4a458e(0x73)]!=_0x4a458e(0x2e5)||typeof _0x5a0f50[_0x4a458e(0x298)]!=_0x4a458e(0x2e5))return null;let _0x4a0ce4=Array[_0x4a458e(0x3c8)](_0x5a0f50[_0x4a458e(0x37f)])?_0x5a0f50[_0x4a458e(0x37f)]['filter'](_0x13592d=>typeof _0x13592d==_0x4a458e(0x2e5)):[],_0x6f9cb7=typeof _0x5a0f50['focusedId']==_0x4a458e(0x2e5)?_0x5a0f50['focusedId']:null;return{'kind':_0x4a458e(0x278),'unitId':_0x5a0f50[_0x4a458e(0x73)],'subUnitId':_0x5a0f50[_0x4a458e(0x298)],'selectedIds':_0x4a0ce4,'focusedId':_0x6f9cb7};}let _0x3bf62a=class extends _0x542ae8['RxDisposable']{get['cursorInfo'](){const _0x955adb=_0x23887d;return this[_0x955adb(0x165)][_0x955adb(0x1cb)]();}get[_0x23887d(0x39e)](){return this['_roomMembers$']['getValue']();}constructor(_0xd6fc4,_0x92eaec,_0x522e9e,_0x505926,_0x12bf71){const _0x2b9091=_0x23887d;super(),this[_0x2b9091(0x164)]=_0xd6fc4,this[_0x2b9091(0x25b)]=_0x92eaec,this[_0x2b9091(0xd9)]=_0x522e9e,this[_0x2b9091(0x22a)]=_0x505926,this[_0x2b9091(0x221)]=_0x12bf71,_0x24a4e0(this,_0x2b9091(0x33e),!0x1),_0x24a4e0(this,_0x2b9091(0xbf),!0x1),_0x24a4e0(this,_0x2b9091(0x165),new _0x381980[(_0x2b9091(0x7a))](new Map())),_0x24a4e0(this,_0x2b9091(0x3ad),this['_cursorInfo$'][_0x2b9091(0x1ee)]()),_0x24a4e0(this,'_roomMembers$',new _0x381980[(_0x2b9091(0x7a))]([])),_0x24a4e0(this,_0x2b9091(0x248),this[_0x2b9091(0x364)][_0x2b9091(0x28b)]((0x0,_0x381980[_0x2b9091(0xd5)])(0x12c))),_0x24a4e0(this,_0x2b9091(0x368),(0x0,_0x542ae8[_0x2b9091(0x257)])(_0x6e66d2=>{const _0x117b9e=_0x2b9091;let _0x4d4e19=_0x6e66d2['context'];if(!_0x4d4e19||_0x4d4e19[_0x117b9e(0x73)]!==this['unitID'])return;let _0x21fd11={'kind':_0x117b9e(0x278),'unitId':_0x4d4e19[_0x117b9e(0x73)],'subUnitId':_0x4d4e19[_0x117b9e(0x298)],'selectedIds':_0x6e66d2[_0x117b9e(0x37f)]['filter'](_0x570922=>typeof _0x570922==_0x117b9e(0x2e5)),'focusedId':_0x6e66d2[_0x117b9e(0x37e)]},_0x1b09d4={'eventID':_0x1e0a90['CollaborationEvent'][_0x117b9e(0x15a)],'data':{'unitID':this[_0x117b9e(0x164)],'memberID':this[_0x117b9e(0x25b)][_0x117b9e(0x27b)](),'selection':JSON[_0x117b9e(0xa4)](_0x21fd11)}};this[_0x117b9e(0x25b)][_0x117b9e(0xe2)](_0x1b09d4,this[_0x117b9e(0x164)]);},0x64));}[_0x23887d(0x1bc)](){const _0x367a1f=_0x23887d;super['dispose'](),this[_0x367a1f(0x165)][_0x367a1f(0x250)](new Map()),this[_0x367a1f(0x165)][_0x367a1f(0x198)](),this[_0x367a1f(0x364)][_0x367a1f(0x250)]([]),this[_0x367a1f(0x364)][_0x367a1f(0x198)]();}[_0x23887d(0xad)](){const _0x478912=_0x23887d;this['_init']||(this['_init']=!0x0,this[_0x478912(0x25b)]['sessionStatus$'][_0x478912(0x28b)]((0x0,_0x381980[_0x478912(0x29b)])(this[_0x478912(0x138)]))[_0x478912(0x3b1)](_0x17e739=>{const _0x2c73f7=_0x478912;_0x17e739===_0x21847c[_0x2c73f7(0xb7)][_0x2c73f7(0x374)]?this[_0x2c73f7(0x365)]():this[_0x2c73f7(0x378)]();}),this[_0x478912(0x25b)]['event$'][_0x478912(0x28b)]((0x0,_0x381980[_0x478912(0x29b)])(this['dispose$']))[_0x478912(0x3b1)](_0x37e5f4=>{const _0x35b9fa=_0x478912;let _0x2f1247=_0x37e5f4[_0x35b9fa(0xbc)];_0x2f1247===_0x1e0a90['CollaborationEvent'][_0x35b9fa(0x15a)]&&this[_0x35b9fa(0x244)](_0x37e5f4),_0x2f1247===_0x1e0a90[_0x35b9fa(0x215)][_0x35b9fa(0x28e)]&&this[_0x35b9fa(0x11c)](_0x37e5f4);}),this[_0x478912(0x221)][_0x478912(0x279)]['pipe']((0x0,_0x381980[_0x478912(0x29b)])(this['dispose$']))[_0x478912(0x3b1)](_0x4da90e=>{const _0x45c95e=_0x478912;this[_0x45c95e(0x33e)]&&this['_updateLocalCursor'](_0x4da90e);}));}[_0x23887d(0x244)](_0x8f781f){const _0x193bc7=_0x23887d;var _0x510985,_0x2e7853,_0x481bbe,_0x94b0a;let {memberID:_0x42db0e,selection:_0x1cbbcc}=_0x8f781f['data'];if(_0x42db0e===((_0x510985=(_0x2e7853=this[_0x193bc7(0x25b)])[_0x193bc7(0x27b)])==null?void 0x0:_0x510985[_0x193bc7(0x3cc)](_0x2e7853)))return;let _0x4ad302=_0x5c2da8(_0x1cbbcc);if(!_0x4ad302||_0x4ad302[_0x193bc7(0x73)]!==this['unitID'])return;let _0x28903f=(_0x481bbe=(_0x94b0a=this[_0x193bc7(0x22a)][_0x193bc7(0x38b)](this[_0x193bc7(0x164)],_0x42db0e))==null?void 0x0:_0x94b0a[_0x193bc7(0xe4)])==null?'Unknown\x20user':_0x481bbe,_0x5e063f={'color':this[_0x193bc7(0xd9)]['assignAColorForMemberID'](_0x42db0e),'name':_0x28903f,'unitId':_0x4ad302['unitId'],'subUnitId':_0x4ad302[_0x193bc7(0x298)],'selectedIds':_0x4ad302['selectedIds'],'focusedId':_0x4ad302[_0x193bc7(0x37e)],'selection':_0x1cbbcc},_0x26befa=new Map(this['cursorInfo']);_0x26befa[_0x193bc7(0x341)](_0x42db0e,_0x5e063f),this['_cursorInfo$'][_0x193bc7(0x250)](_0x26befa);}[_0x23887d(0x11c)](_0x48a727){const _0x157ea4=_0x23887d;let {memberID:_0xbcaaac}=_0x48a727['data'],_0x45c00e=new Map(this['cursorInfo']);_0x45c00e[_0x157ea4(0xe5)](_0xbcaaac),this[_0x157ea4(0x165)][_0x157ea4(0x250)](_0x45c00e);}[_0x23887d(0x365)](){const _0x1e54da=_0x23887d;this['_online']=!0x0,this[_0x1e54da(0x368)](this[_0x1e54da(0x221)][_0x1e54da(0x1e0)]());}[_0x23887d(0x378)](){const _0x36ce23=_0x23887d;this[_0x36ce23(0x33e)]=!0x1;}};_0x3bf62a=_0xfa6df6([_0x518e4c(0x2,(0x0,_0x542ae8[_0x23887d(0x34a)])(_0x5fa53e)),_0x518e4c(0x3,(0x0,_0x542ae8[_0x23887d(0x34a)])(_0x21847c['MemberService'])),_0x518e4c(0x4,(0x0,_0x542ae8[_0x23887d(0x34a)])(_0x52faa1[_0x23887d(0x2ad)]))],_0x3bf62a);function _0x374fbc(_0x22a8c6){const _0x1c65db=_0x23887d;let _0x5d41d7='';for(let _0x520b75 of _0x22a8c6){let {startOffset:_0x394cac,endOffset:_0x1cb2cb,isActive:_0x36ede1,rangeType:_0x207535,segmentId:_0x2c6185,segmentPage:_0x560809}=_0x520b75;_0x5d41d7[_0x1c65db(0x351)]&&(_0x5d41d7+=','),_0x5d41d7+=_0x394cac+':'+_0x1cb2cb+':'+(_0x36ede1?'1':'0')+':'+_0x207535+':'+_0x2c6185+':'+_0x560809;}return _0x5d41d7;}function _0x3a33d5(_0x50642e){const _0x6d4bb6=_0x23887d;let _0x480812=_0x50642e['split'](','),_0x2a0152=[];for(let _0xc00abb of _0x480812){let [_0x3159f1,_0x3e846c,_0x46da31,_0x3fc0c8,_0x3cfd6e,_0x110935]=_0xc00abb[_0x6d4bb6(0x2d9)](':');_0x2a0152['push']({'startOffset':Number(_0x3159f1),'endOffset':Number(_0x3e846c),'collapsed':_0x3159f1===_0x3e846c,'isActive':_0x46da31==='1','rangeType':_0x3fc0c8===_0x542ae8['DOC_RANGE_TYPE']['TEXT']?_0x542ae8['DOC_RANGE_TYPE'][_0x6d4bb6(0x31d)]:_0x542ae8[_0x6d4bb6(0x16d)][_0x6d4bb6(0x1a8)],'segmentId':typeof _0x3cfd6e=='string'?String(_0x3cfd6e):'','segmentPage':Number(_0x110935==null?-0x1:_0x110935)});}return _0x2a0152['some'](_0x2f26cc=>_0x2f26cc[_0x6d4bb6(0x20b)])||(_0x2a0152[0x0][_0x6d4bb6(0x20b)]=!0x0),_0x2a0152;}var _0x2126a8=class extends _0x542ae8['RxDisposable']{constructor(..._0x305bd6){const _0x16c044=_0x23887d;super(..._0x305bd6),_0x24a4e0(this,_0x16c044(0x16e),new _0x381980[(_0x16c044(0x7a))](null)),_0x24a4e0(this,_0x16c044(0x322),this[_0x16c044(0x16e)][_0x16c044(0x1ee)]());}['syncEditingCollabCursor'](_0x272df7){const _0x5215f5=_0x23887d;let {unitID:_0x52e3d5,memberID:_0x51de15,textRanges:_0x20f502}=_0x272df7,_0x27b9de=_0x374fbc(_0x20f502);if(_0x27b9de==='')return;let _0x78ddef={'unitID':_0x52e3d5,'memberID':_0x51de15,'selection':_0x27b9de};this[_0x5215f5(0x16e)][_0x5215f5(0x250)](_0x78ddef);}};let _0xf186a3=class extends _0x542ae8[_0x23887d(0x292)]{get['cursorInfo'](){const _0xad0222=_0x23887d;return this[_0xad0222(0x165)][_0xad0222(0x1cb)]();}get[_0x23887d(0x39e)](){return this['_roomMembers$']['getValue']();}constructor(_0x4efc13,_0x251c7f,_0x4892b7,_0x2e92f1,_0x198581,_0x28f3fd,_0x5dac7e,_0x4d6a6b,_0x259031){const _0x1cab0e=_0x23887d;super(),this[_0x1cab0e(0x164)]=_0x4efc13,this['_session']=_0x251c7f,this[_0x1cab0e(0x359)]=_0x4892b7,this[_0x1cab0e(0xd9)]=_0x2e92f1,this[_0x1cab0e(0x22a)]=_0x198581,this[_0x1cab0e(0x126)]=_0x28f3fd,this[_0x1cab0e(0x34d)]=_0x5dac7e,this[_0x1cab0e(0x15f)]=_0x4d6a6b,this['_commandService']=_0x259031,_0x24a4e0(this,'_online',!0x1),_0x24a4e0(this,_0x1cab0e(0xbf),!0x1),_0x24a4e0(this,_0x1cab0e(0x165),new _0x381980[(_0x1cab0e(0x7a))](new Map())),_0x24a4e0(this,'cursorInfo$',this[_0x1cab0e(0x165)][_0x1cab0e(0x1ee)]()),_0x24a4e0(this,_0x1cab0e(0x364),new _0x381980['BehaviorSubject']([])),_0x24a4e0(this,_0x1cab0e(0x248),this['_roomMembers$'][_0x1cab0e(0x28b)]((0x0,_0x381980[_0x1cab0e(0xd5)])(0x12c))),_0x24a4e0(this,_0x1cab0e(0x368),(0x0,_0x542ae8[_0x1cab0e(0x257)])(_0x4d3d6d=>{const _0x12ed3c=_0x1cab0e;let _0x443334={'eventID':_0x1e0a90[_0x12ed3c(0x215)][_0x12ed3c(0x15a)],'data':{'unitID':this['unitID'],'memberID':this[_0x12ed3c(0x25b)][_0x12ed3c(0x27b)](),'selection':_0x374fbc(_0x4d3d6d)}};this['_session']['send'](_0x443334,this[_0x12ed3c(0x164)]);},0x64));}[_0x23887d(0x1bc)](){const _0x2024bb=_0x23887d;super['dispose'](),this[_0x2024bb(0x165)][_0x2024bb(0x250)](new Map()),this[_0x2024bb(0x165)][_0x2024bb(0x198)](),this[_0x2024bb(0x364)][_0x2024bb(0x250)]([]),this[_0x2024bb(0x364)][_0x2024bb(0x198)]();}[_0x23887d(0xad)](){const _0x11a89b=_0x23887d;this[_0x11a89b(0xbf)]||(this[_0x11a89b(0xbf)]=!0x0,this[_0x11a89b(0x25b)][_0x11a89b(0x381)]['pipe']((0x0,_0x381980[_0x11a89b(0x29b)])(this[_0x11a89b(0x138)]))['subscribe'](_0x20a327=>{const _0x1e2e23=_0x11a89b;_0x20a327===_0x21847c[_0x1e2e23(0xb7)][_0x1e2e23(0x374)]?this[_0x1e2e23(0x365)]():this[_0x1e2e23(0x378)]();}),this[_0x11a89b(0x25b)]['event$'][_0x11a89b(0x28b)]((0x0,_0x381980[_0x11a89b(0x29b)])(this[_0x11a89b(0x138)]))[_0x11a89b(0x3b1)](_0x5694ad=>{const _0x5b232f=_0x11a89b;let _0x5b7b2a=_0x5694ad[_0x5b232f(0xbc)];_0x5b7b2a===_0x1e0a90['CollaborationEvent'][_0x5b232f(0x15a)]&&this[_0x5b232f(0x244)](_0x5694ad),_0x5b7b2a===_0x1e0a90[_0x5b232f(0x215)][_0x5b232f(0x28e)]&&this['_onCursorDelete'](_0x5694ad);}),this[_0x11a89b(0x36a)](this[_0x11a89b(0xc6)][_0x11a89b(0xe9)](_0x46ff5e=>{const _0x34e82d=_0x11a89b;let _0x209e59=_0x46ff5e[_0x34e82d(0x33f)];_0x209e59!=null&&this[_0x34e82d(0x33e)]&&_0x46ff5e['id']===_0x13b229[_0x34e82d(0x36b)]['id']&&_0x209e59['unitId']===this[_0x34e82d(0x164)]&&_0x209e59[_0x34e82d(0x1bf)]===!0x1&&_0x209e59['ranges'][_0x34e82d(0x351)]>0x0&&this[_0x34e82d(0x368)](_0x209e59[_0x34e82d(0x185)]);})),this['_syncEditingCollabCursorService']['collabCursorState$'][_0x11a89b(0x28b)]((0x0,_0x381980['takeUntil'])(this[_0x11a89b(0x138)]))['subscribe'](_0x3cc5cf=>{const _0x1fc34c=_0x11a89b;if((_0x3cc5cf==null?void 0x0:_0x3cc5cf[_0x1fc34c(0x164)])!==this[_0x1fc34c(0x164)])return;let _0x424cba={'eventID':_0x1e0a90[_0x1fc34c(0x215)][_0x1fc34c(0x15a)],'data':_0x3cc5cf};this['_onCursorUpdate'](_0x424cba);}),this['disposeWithMe'](this[_0x11a89b(0xc6)][_0x11a89b(0xe9)](_0x1b637e=>{const _0x206ebf=_0x11a89b;if(_0x1b637e[_0x206ebf(0x33f)]==null)return;let _0x21684d=_0x1b637e[_0x206ebf(0x33f)];if(_0x1b637e['id']!==_0x13b229['RichTextEditingMutation']['id']||_0x21684d[_0x206ebf(0x73)]!==this[_0x206ebf(0x164)])return;let _0x37754b={'id':_0x206ebf(0x156),'params':_0x21684d},_0x384859=this[_0x206ebf(0x84)];for(let [_0xf593d4,_0x321c34]of _0x384859){let _0x2fa4dd={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0x206ebf(0x164)],'actions':null,'textRanges':_0x321c34[_0x206ebf(0x185)]}},_0xa24cf5=this['_transformService'][_0x206ebf(0x21e)](_0x37754b,_0x2fa4dd,!0x1);if((0x0,_0x1e0a90[_0x206ebf(0x3b6)])(_0xa24cf5))throw _0xa24cf5[_0x206ebf(0x274)];_0x384859[_0x206ebf(0x341)](_0xf593d4,{..._0x321c34,'ranges':_0xa24cf5['m2Prime']['params'][_0x206ebf(0x2e9)]});}queueMicrotask(()=>{const _0x381043=_0x206ebf;this[_0x381043(0x165)][_0x381043(0x250)](_0x384859);});})));}[_0x23887d(0x244)](_0x582a6a){const _0xbf16d1=_0x23887d;var _0x43bcc3,_0x38df54;let {memberID:_0x19a54c,selection:_0x52beb3}=_0x582a6a['data'],_0x892c00=_0x3a33d5(_0x52beb3),_0x3ccae9=(_0x43bcc3=(_0x38df54=this['_memberService']['getMember'](this[_0xbf16d1(0x164)],_0x19a54c))==null?void 0x0:_0x38df54[_0xbf16d1(0xe4)])==null?'Unknown\x20user':_0x43bcc3,_0x2492aa={'color':this[_0xbf16d1(0xd9)][_0xbf16d1(0x23e)](_0x19a54c),'name':_0x3ccae9,'ranges':_0x892c00},_0x5386fe=this[_0xbf16d1(0x84)];_0x5386fe[_0xbf16d1(0x341)](_0x19a54c,_0x2492aa),this[_0xbf16d1(0x165)][_0xbf16d1(0x250)](_0x5386fe);}[_0x23887d(0x11c)](_0x8f911e){const _0x3f3476=_0x23887d;let {memberID:_0x3a9f82}=_0x8f911e['data'],_0x22d40f=this['cursorInfo'];_0x22d40f[_0x3f3476(0xe5)](_0x3a9f82),this[_0x3f3476(0x165)][_0x3f3476(0x250)](_0x22d40f);}['_toggleOnline'](){const _0x2a7e97=_0x23887d;var _0x13cc65;if(this[_0x2a7e97(0x33e)]=!0x0,((_0x13cc65=this[_0x2a7e97(0x15f)][_0x2a7e97(0x1fd)]())==null?void 0x0:_0x13cc65[_0x2a7e97(0x2e0)]())!==this[_0x2a7e97(0x164)])return;let _0x51b66d=this[_0x2a7e97(0x359)][_0x2a7e97(0x178)](_0x13b229[_0x2a7e97(0x394)])['getDocRanges']();Array['isArray'](_0x51b66d)&&_0x51b66d[_0x2a7e97(0x351)]>0x0&&this[_0x2a7e97(0x368)](_0x51b66d);}[_0x23887d(0x378)](){const _0x536f5e=_0x23887d;this[_0x536f5e(0x33e)]=!0x1;}};_0xf186a3=_0xfa6df6([_0x518e4c(0x2,(0x0,_0x542ae8[_0x23887d(0x34a)])(_0x542ae8['Injector'])),_0x518e4c(0x3,(0x0,_0x542ae8['Inject'])(_0x5fa53e)),_0x518e4c(0x4,(0x0,_0x542ae8[_0x23887d(0x34a)])(_0x21847c[_0x23887d(0x144)])),_0x518e4c(0x5,(0x0,_0x542ae8[_0x23887d(0x34a)])(_0x2126a8)),_0x518e4c(0x6,_0x1e0a90[_0x23887d(0x115)]),_0x518e4c(0x7,_0x542ae8[_0x23887d(0x129)]),_0x518e4c(0x8,_0x542ae8[_0x23887d(0x268)])],_0xf186a3);let _0x13d8cc=()=>{let _0x5dea7f=[],_0x3ae609=!0x1;return _0x41faf5=>{const _0x4615c8=_0x3a65;_0x5dea7f[_0x4615c8(0x363)](_0x41faf5),_0x3ae609||(_0x3ae609=!0x0,setTimeout(()=>{const _0x218417=_0x4615c8;_0x5dea7f[_0x218417(0x28f)](_0x23297d=>_0x23297d()),_0x5dea7f=[],_0x3ae609=!0x1;}));};},_0x222460=class extends _0x542ae8[_0x23887d(0x292)]{get[_0x23887d(0x84)](){const _0x27ba0c=_0x23887d;return this[_0x27ba0c(0x165)][_0x27ba0c(0x1cb)]();}get[_0x23887d(0x39e)](){const _0x400718=_0x23887d;return this[_0x400718(0x364)][_0x400718(0x1cb)]();}constructor(_0x2773d4,_0x30c12a,_0x520cb5,_0x2a8dea,_0x289894,_0x17ad28,_0x119e49,_0x1add5b){const _0x5218e9=_0x23887d;super(),this[_0x5218e9(0x164)]=_0x2773d4,this[_0x5218e9(0x25b)]=_0x30c12a,this[_0x5218e9(0x359)]=_0x520cb5,this[_0x5218e9(0xd9)]=_0x2a8dea,this[_0x5218e9(0x22a)]=_0x289894,this[_0x5218e9(0x15f)]=_0x17ad28,this[_0x5218e9(0xc6)]=_0x119e49,this[_0x5218e9(0x1cc)]=_0x1add5b,_0x24a4e0(this,'_online',!0x1),_0x24a4e0(this,_0x5218e9(0xbf),!0x1),_0x24a4e0(this,_0x5218e9(0x165),new _0x381980[(_0x5218e9(0x7a))](new Map())),_0x24a4e0(this,_0x5218e9(0x3ad),this[_0x5218e9(0x165)][_0x5218e9(0x1ee)]()),_0x24a4e0(this,_0x5218e9(0x364),new _0x381980[(_0x5218e9(0x7a))]([])),_0x24a4e0(this,_0x5218e9(0x248),this[_0x5218e9(0x364)][_0x5218e9(0x28b)]((0x0,_0x381980['debounceTime'])(0x12c))),_0x24a4e0(this,_0x5218e9(0x368),(0x0,_0x542ae8['debounce'])((_0x54bd88,_0x3f8058)=>{const _0x2c1ddb=_0x5218e9;let _0x35d72d={'eventID':_0x1e0a90['CollaborationEvent']['UPDATE_CURSOR'],'data':{'unitID':this[_0x2c1ddb(0x164)],'memberID':this[_0x2c1ddb(0x25b)]['getMemberID'](),'selection':(0x0,_0x335eab[_0x2c1ddb(0xeb)])(_0x54bd88,_0x3f8058[_0x2c1ddb(0xd8)])}};this[_0x2c1ddb(0x25b)][_0x2c1ddb(0xe2)](_0x35d72d,this['unitID']);},0x64));}[_0x23887d(0x1bc)](){const _0x4bd00b=_0x23887d;super['dispose'](),this[_0x4bd00b(0x165)]['next'](new Map()),this[_0x4bd00b(0x165)]['complete'](),this[_0x4bd00b(0x364)]['next']([]),this[_0x4bd00b(0x364)][_0x4bd00b(0x198)]();}[_0x23887d(0xad)](){const _0x3a2836=_0x23887d;this[_0x3a2836(0xbf)]||(this[_0x3a2836(0xbf)]=!0x0,this[_0x3a2836(0x25b)][_0x3a2836(0x381)][_0x3a2836(0x28b)]((0x0,_0x381980['takeUntil'])(this[_0x3a2836(0x138)]))['subscribe'](_0x30a712=>{const _0x312d2d=_0x3a2836;_0x30a712===_0x21847c[_0x312d2d(0xb7)][_0x312d2d(0x374)]?this[_0x312d2d(0x365)]():this[_0x312d2d(0x378)]();}),this[_0x3a2836(0x25b)][_0x3a2836(0x10e)][_0x3a2836(0x28b)]((0x0,_0x381980['takeUntil'])(this[_0x3a2836(0x138)]))[_0x3a2836(0x3b1)](_0x4d74a2=>{const _0x3c8688=_0x3a2836;let _0xd44498=_0x4d74a2[_0x3c8688(0xbc)];_0xd44498===_0x1e0a90['CollaborationEvent']['UPDATE_CURSOR']&&this[_0x3c8688(0x244)](_0x4d74a2),_0xd44498===_0x1e0a90['CollaborationEvent'][_0x3c8688(0x28e)]&&this[_0x3c8688(0x11c)](_0x4d74a2);}),this[_0x3a2836(0x14b)](),this[_0x3a2836(0x36a)](this['_commandService'][_0x3a2836(0xe9)](_0x103295=>{const _0xb4b8f2=_0x3a2836;if(this[_0xb4b8f2(0x33e)]&&_0x103295['id']===_0x585920['SetSelectionsOperation']['id']&&_0x103295[_0xb4b8f2(0x33f)][_0xb4b8f2(0x73)]===this[_0xb4b8f2(0x164)]){let _0x80da1e=_0x103295['params'];this['_updateLocalCursor'](_0x80da1e[_0xb4b8f2(0x298)],_0x80da1e[_0xb4b8f2(0x275)][0x0]);}})));}[_0x23887d(0x244)](_0x1a615e){const _0x3a185c=_0x23887d;var _0x802b70,_0x3a3496;let {memberID:_0x2210ff,selection:_0x327363}=_0x1a615e[_0x3a185c(0x180)],{sheetName:_0xcfa40e,range:_0x421ba2}=(0x0,_0x335eab[_0x3a185c(0x319)])(_0x327363),_0x5b5e43={'name':(_0x802b70=(_0x3a3496=this['_memberService'][_0x3a185c(0x38b)](this['unitID'],_0x2210ff))==null?void 0x0:_0x3a3496[_0x3a185c(0xe4)])==null?'Unknown\x20user':_0x802b70,'range':this['_getMergeRange'](_0xcfa40e,_0x421ba2),'sheetID':_0xcfa40e,'color':this['_colorAssignService'][_0x3a185c(0x23e)](_0x2210ff),'selection':_0x327363},_0x8a7180=this[_0x3a185c(0x84)];_0x8a7180[_0x3a185c(0x341)](_0x2210ff,_0x5b5e43),this['_cursorInfo$'][_0x3a185c(0x250)](_0x8a7180);}[_0x23887d(0x11c)](_0x1f9cb5){const _0x1fe2b8=_0x23887d;let {memberID:_0x5262f9}=_0x1f9cb5[_0x1fe2b8(0x180)],_0x5d455b=this[_0x1fe2b8(0x84)];_0x5d455b['delete'](_0x5262f9),this[_0x1fe2b8(0x165)][_0x1fe2b8(0x250)](_0x5d455b);}[_0x23887d(0x312)](_0x2c8468,_0x22a02b){const _0x356889=_0x23887d;var _0x2f35e6;let _0x334a11=(_0x2f35e6=this[_0x356889(0x15f)][_0x356889(0x3bf)](this[_0x356889(0x164)]))==null||(_0x2f35e6=_0x2f35e6[_0x356889(0x209)](_0x2c8468))==null?void 0x0:_0x2f35e6[_0x356889(0x255)]();return(_0x334a11==null?void 0x0:_0x334a11['find'](_0x5219ce=>_0x542ae8[_0x356889(0x262)][_0x356889(0x326)](_0x5219ce,_0x22a02b)))||_0x22a02b;}[_0x23887d(0x14b)](){const _0x163822=_0x23887d;let _0x2eab1e=new _0x542ae8[(_0x163822(0x20d))](),_0x3f32c0=_0x13d8cc(),_0x1a8e64=()=>{const _0x3bc1fc=_0x163822;_0x2eab1e['dispose']();let _0x5a0584=(_0xe7e10f,_0xce9a35,_0x1d1ca7,_0x5e665e)=>{const _0x12c79f=_0x3a65;let _0x5024da=[];switch(_0xe7e10f['id']){case _0x585920[_0x12c79f(0xe3)]['DeleteRangeMoveLeftCommandId']:_0x5024da=(0x0,_0x585920['handleDeleteRangeMoveLeft'])(_0xe7e10f,_0x5e665e);break;case _0x585920['EffectRefRangId'][_0x12c79f(0xff)]:_0x5024da=(0x0,_0x585920[_0x12c79f(0x141)])(_0xe7e10f,_0x5e665e);break;case _0x585920[_0x12c79f(0xe3)]['InsertColCommandId']:_0x5024da=(0x0,_0x585920[_0x12c79f(0x261)])(_0xe7e10f,_0x5e665e);break;case _0x585920[_0x12c79f(0xe3)][_0x12c79f(0x172)]:_0x5024da=(0x0,_0x585920[_0x12c79f(0x38a)])(_0xe7e10f,_0x5e665e);break;case _0x585920[_0x12c79f(0xe3)]['InsertRangeMoveRightCommandId']:_0x5024da=(0x0,_0x585920[_0x12c79f(0x346)])(_0xe7e10f,_0x5e665e);break;case _0x585920[_0x12c79f(0xe3)]['InsertRowCommandId']:_0x5024da=(0x0,_0x585920[_0x12c79f(0x2c7)])(_0xe7e10f,_0x5e665e);break;case _0x585920[_0x12c79f(0xe3)][_0x12c79f(0x287)]:_0x5024da=(0x0,_0x585920[_0x12c79f(0x2b3)])(_0xe7e10f,_0x5e665e);break;case _0x585920[_0x12c79f(0xe3)][_0x12c79f(0x2bc)]:_0x5024da=(0x0,_0x585920[_0x12c79f(0x29e)])(_0xe7e10f,_0x5e665e);break;case _0x585920['EffectRefRangId'][_0x12c79f(0x272)]:_0x5024da=(0x0,_0x585920[_0x12c79f(0x1a1)])(_0xe7e10f,_0x5e665e);break;}let _0x5bcbd7=(0x0,_0x585920[_0x12c79f(0x107)])(_0x5024da,_0x5e665e),_0x3930e9=this[_0x12c79f(0x84)][_0x12c79f(0x178)](_0xce9a35);if(_0x3930e9&&_0x5bcbd7){let _0x2873d2={..._0x3930e9,'range':_0x5bcbd7};this[_0x12c79f(0x84)][_0x12c79f(0x341)](_0xce9a35,_0x2873d2),_0x3f32c0(()=>{const _0x6aa630=_0x12c79f;let _0x504999=this[_0x6aa630(0x1cc)][_0x6aa630(0xf3)](_0x5bcbd7,_0x2390b8=>(_0x504999[_0x6aa630(0x1bc)](),_0x5a0584(_0x2390b8,_0xce9a35,_0x1d1ca7,_0x5bcbd7)));_0x2eab1e[_0x6aa630(0x2b6)](_0x504999);});}return{'redos':[],'undos':[]};};this[_0x3bc1fc(0x84)][_0x3bc1fc(0x28f)]((_0x5c1d7a,_0x3c7576)=>{const _0x52ac1a=_0x3bc1fc;let {range:_0x234463,sheetID:_0x347ba1}=_0x5c1d7a,_0x3c7321=this[_0x52ac1a(0x1cc)]['registerRefRange'](_0x234463,_0x406351=>(_0x3c7321[_0x52ac1a(0x1bc)](),_0x5a0584(_0x406351,_0x3c7576,_0x347ba1,_0x234463)));_0x2eab1e[_0x52ac1a(0x2b6)](_0x3c7321);});};this[_0x163822(0x36a)]((0x0,_0x542ae8[_0x163822(0x33c)])(this[_0x163822(0x165)][_0x163822(0x3b1)](()=>{_0x1a8e64();})));}[_0x23887d(0x365)](){const _0x470c3e=_0x23887d;var _0x435a46,_0x4d140a;if(this[_0x470c3e(0x33e)]=!0x0,((_0x435a46=this['_univerInstanceService'][_0x470c3e(0x1fd)]())==null?void 0x0:_0x435a46[_0x470c3e(0x2e0)]())!==this[_0x470c3e(0x164)])return;let _0x18f205=(_0x4d140a=this[_0x470c3e(0x359)][_0x470c3e(0x178)](_0x585920[_0x470c3e(0x1cd)])[_0x470c3e(0xd6)]())==null?void 0x0:_0x4d140a[0x0],_0x57b16e=this['_univerInstanceService'][_0x470c3e(0x70)](_0x542ae8[_0x470c3e(0x1af)][_0x470c3e(0x20c)])['getActiveSheet']();_0x18f205&&_0x57b16e&&this[_0x470c3e(0x368)](_0x57b16e[_0x470c3e(0x21a)](),_0x18f205);}['_toggleOffline'](){const _0x51ac3d=_0x23887d;this[_0x51ac3d(0x33e)]=!0x1;}};_0x222460=_0xfa6df6([_0x518e4c(0x2,(0x0,_0x542ae8[_0x23887d(0x34a)])(_0x542ae8[_0x23887d(0x1b9)])),_0x518e4c(0x3,(0x0,_0x542ae8[_0x23887d(0x34a)])(_0x5fa53e)),_0x518e4c(0x4,(0x0,_0x542ae8[_0x23887d(0x34a)])(_0x21847c[_0x23887d(0x144)])),_0x518e4c(0x5,_0x542ae8['IUniverInstanceService']),_0x518e4c(0x6,_0x542ae8[_0x23887d(0x268)]),_0x518e4c(0x7,(0x0,_0x542ae8[_0x23887d(0x34a)])(_0x585920[_0x23887d(0x321)]))],_0x222460);function _0x3c785d(_0x181e4d){const _0x16df05=_0x23887d;let _0x273701;try{_0x273701=JSON[_0x16df05(0x1b4)](_0x181e4d);}catch{return null;}if(typeof _0x273701!='object'||!_0x273701)return null;let _0x232840=_0x273701;if(_0x232840[_0x16df05(0x21b)]!=='slide-element-selection'||typeof _0x232840[_0x16df05(0x73)]!=_0x16df05(0x2e5)||typeof _0x232840[_0x16df05(0x298)]!=_0x16df05(0x2e5))return null;let _0x185627=Array[_0x16df05(0x3c8)](_0x232840[_0x16df05(0x37f)])?_0x232840['selectedIds'][_0x16df05(0x3ac)](_0x55d1e0=>typeof _0x55d1e0==_0x16df05(0x2e5)):[],_0x38d1fc=typeof _0x232840[_0x16df05(0x37e)]=='string'?_0x232840[_0x16df05(0x37e)]:null;return{'kind':_0x16df05(0x2f4),'unitId':_0x232840[_0x16df05(0x73)],'subUnitId':_0x232840[_0x16df05(0x298)],'selectedIds':_0x185627,'focusedId':_0x38d1fc};}let _0x59c1a8=class extends _0x542ae8[_0x23887d(0x292)]{get['cursorInfo'](){const _0x3c243f=_0x23887d;return this[_0x3c243f(0x165)][_0x3c243f(0x1cb)]();}get['roomMembers'](){const _0x1da6ee=_0x23887d;return this['_roomMembers$'][_0x1da6ee(0x1cb)]();}constructor(_0x52c2c6,_0x58b868,_0x5863cc,_0xa1fc86,_0x28af5c){const _0x22d81e=_0x23887d;super(),this[_0x22d81e(0x164)]=_0x52c2c6,this[_0x22d81e(0x25b)]=_0x58b868,this[_0x22d81e(0xd9)]=_0x5863cc,this[_0x22d81e(0x22a)]=_0xa1fc86,this[_0x22d81e(0xcb)]=_0x28af5c,_0x24a4e0(this,'_online',!0x1),_0x24a4e0(this,_0x22d81e(0xbf),!0x1),_0x24a4e0(this,_0x22d81e(0x165),new _0x381980[(_0x22d81e(0x7a))](new Map())),_0x24a4e0(this,_0x22d81e(0x3ad),this[_0x22d81e(0x165)][_0x22d81e(0x1ee)]()),_0x24a4e0(this,_0x22d81e(0x364),new _0x381980[(_0x22d81e(0x7a))]([])),_0x24a4e0(this,'roomMembers$',this[_0x22d81e(0x364)][_0x22d81e(0x28b)]((0x0,_0x381980['debounceTime'])(0x12c))),_0x24a4e0(this,'_updateLocalCursor',(0x0,_0x542ae8[_0x22d81e(0x257)])(_0x40d095=>{const _0x4ae1d5=_0x22d81e;let _0xeb3f0b=_0x40d095[_0x4ae1d5(0x1df)];if(!_0xeb3f0b||_0xeb3f0b['unitId']!==this[_0x4ae1d5(0x164)])return;let _0xf1fa85={'kind':'slide-element-selection','unitId':_0xeb3f0b[_0x4ae1d5(0x73)],'subUnitId':_0xeb3f0b[_0x4ae1d5(0x298)],'selectedIds':_0x40d095[_0x4ae1d5(0x37f)][_0x4ae1d5(0x3ac)](_0x2a9ad9=>typeof _0x2a9ad9=='string'),'focusedId':_0x40d095[_0x4ae1d5(0x37e)]},_0x549419={'eventID':_0x1e0a90[_0x4ae1d5(0x215)][_0x4ae1d5(0x15a)],'data':{'unitID':this[_0x4ae1d5(0x164)],'memberID':this[_0x4ae1d5(0x25b)][_0x4ae1d5(0x27b)](),'selection':JSON['stringify'](_0xf1fa85)}};this[_0x4ae1d5(0x25b)]['send'](_0x549419,this[_0x4ae1d5(0x164)]);},0x64));}['dispose'](){const _0x384506=_0x23887d;super[_0x384506(0x1bc)](),this[_0x384506(0x165)][_0x384506(0x250)](new Map()),this[_0x384506(0x165)][_0x384506(0x198)](),this[_0x384506(0x364)][_0x384506(0x250)]([]),this[_0x384506(0x364)][_0x384506(0x198)]();}[_0x23887d(0xad)](){const _0x2961a1=_0x23887d;this['_init']||(this[_0x2961a1(0xbf)]=!0x0,this[_0x2961a1(0x25b)][_0x2961a1(0x381)][_0x2961a1(0x28b)]((0x0,_0x381980[_0x2961a1(0x29b)])(this[_0x2961a1(0x138)]))['subscribe'](_0x1dd317=>{const _0x3d5884=_0x2961a1;_0x1dd317===_0x21847c[_0x3d5884(0xb7)]['ONLINE']?this[_0x3d5884(0x365)]():this[_0x3d5884(0x378)]();}),this[_0x2961a1(0x25b)]['event$'][_0x2961a1(0x28b)]((0x0,_0x381980[_0x2961a1(0x29b)])(this[_0x2961a1(0x138)]))['subscribe'](_0x124e0e=>{const _0x584c71=_0x2961a1;let _0x1a51e1=_0x124e0e['eventID'];_0x1a51e1===_0x1e0a90['CollaborationEvent']['UPDATE_CURSOR']&&this[_0x584c71(0x244)](_0x124e0e),_0x1a51e1===_0x1e0a90[_0x584c71(0x215)]['USERS_LEAVE']&&this[_0x584c71(0x11c)](_0x124e0e);}),this['_slideDrawingStateService']['state$'][_0x2961a1(0x28b)]((0x0,_0x381980[_0x2961a1(0x29b)])(this['dispose$']))[_0x2961a1(0x3b1)](_0x287298=>{this['_online']&&this['_updateLocalCursor'](_0x287298);}));}[_0x23887d(0x244)](_0x584532){const _0x2778f6=_0x23887d;var _0x131f1f,_0x3b5b40,_0x426520,_0x3f60fe;let {memberID:_0x1294fb,selection:_0x4d4537}=_0x584532[_0x2778f6(0x180)];if(_0x1294fb===((_0x131f1f=(_0x3b5b40=this['_session'])[_0x2778f6(0x27b)])==null?void 0x0:_0x131f1f[_0x2778f6(0x3cc)](_0x3b5b40)))return;let _0xfba033=_0x3c785d(_0x4d4537);if(!_0xfba033||_0xfba033[_0x2778f6(0x73)]!==this['unitID'])return;let _0x18f67c=(_0x426520=(_0x3f60fe=this[_0x2778f6(0x22a)][_0x2778f6(0x38b)](this[_0x2778f6(0x164)],_0x1294fb))==null?void 0x0:_0x3f60fe['name'])==null?'Unknown\x20user':_0x426520,_0x584abf={'color':this['_colorAssignService'][_0x2778f6(0x23e)](_0x1294fb),'name':_0x18f67c,'unitId':_0xfba033['unitId'],'subUnitId':_0xfba033[_0x2778f6(0x298)],'selectedIds':_0xfba033[_0x2778f6(0x37f)],'focusedId':_0xfba033['focusedId'],'selection':_0x4d4537},_0x458235=new Map(this[_0x2778f6(0x84)]);_0x458235[_0x2778f6(0x341)](_0x1294fb,_0x584abf),this[_0x2778f6(0x165)][_0x2778f6(0x250)](_0x458235);}[_0x23887d(0x11c)](_0x3a3a31){const _0x1c72b3=_0x23887d;let {memberID:_0x5ea10f}=_0x3a3a31[_0x1c72b3(0x180)],_0x4fadcf=new Map(this[_0x1c72b3(0x84)]);_0x4fadcf[_0x1c72b3(0xe5)](_0x5ea10f),this[_0x1c72b3(0x165)][_0x1c72b3(0x250)](_0x4fadcf);}['_toggleOnline'](){const _0x625567=_0x23887d;this[_0x625567(0x33e)]=!0x0,this[_0x625567(0x368)](this[_0x625567(0xcb)][_0x625567(0x1e0)]());}['_toggleOffline'](){const _0x3fb08d=_0x23887d;this[_0x3fb08d(0x33e)]=!0x1;}};_0x59c1a8=_0xfa6df6([_0x518e4c(0x2,(0x0,_0x542ae8['Inject'])(_0x5fa53e)),_0x518e4c(0x3,(0x0,_0x542ae8[_0x23887d(0x34a)])(_0x21847c[_0x23887d(0x144)])),_0x518e4c(0x4,(0x0,_0x542ae8[_0x23887d(0x34a)])(_0x1c6381[_0x23887d(0x271)]))],_0x59c1a8);let _0x4e58f9=class extends _0x542ae8[_0x23887d(0x292)]{constructor(_0x182645,_0x46c7d4,_0x3fec21){const _0xe27cb6=_0x23887d;super(),this[_0xe27cb6(0x15f)]=_0x182645,this['_injector']=_0x46c7d4,this['_collabSessionService']=_0x3fec21,_0x24a4e0(this,_0xe27cb6(0xdd),new Map()),_0x24a4e0(this,_0xe27cb6(0x3a9),new _0x381980[(_0xe27cb6(0x1f5))]()),this[_0xe27cb6(0xbf)]();}['dispose'](){const _0x14108b=_0x23887d;super[_0x14108b(0x1bc)](),this[_0x14108b(0x3a9)][_0x14108b(0x198)](),this[_0x14108b(0xdd)][_0x14108b(0x28f)](_0x44c64b=>_0x44c64b[_0x14108b(0x1bc)]());}[_0x23887d(0x19f)](_0xda39cb){const _0x5f2c12=_0x23887d;return this['_entities'][_0x5f2c12(0x1d6)](_0xda39cb)?this[_0x5f2c12(0xdd)][_0x5f2c12(0x178)](_0xda39cb)[_0x5f2c12(0x3ad)]:this['_entityInit$'][_0x5f2c12(0x28b)]((0x0,_0x381980[_0x5f2c12(0x3ac)])(_0x2cb708=>_0x2cb708['unitID']===_0xda39cb),(0x0,_0x381980['switchMap'])(_0x56d93f=>_0x56d93f[_0x5f2c12(0x3ad)]));}[_0x23887d(0xbf)](){const _0x4a44aa=_0x23887d;this[_0x4a44aa(0x15f)][_0x4a44aa(0xee)](_0x542ae8[_0x4a44aa(0x1af)]['UNIVER_SHEET'])[_0x4a44aa(0x28b)]((0x0,_0x381980[_0x4a44aa(0x29b)])(this[_0x4a44aa(0x138)]))[_0x4a44aa(0x3b1)](async _0x57dd97=>{const _0x59f5f3=_0x4a44aa;let _0x179594=_0x57dd97['unit']['getUnitId'](),_0x43ce7c=await this[_0x59f5f3(0x13d)](_0x179594);this[_0x59f5f3(0x3a9)][_0x59f5f3(0x250)](_0x43ce7c),this[_0x59f5f3(0xdd)]['set'](_0x179594,_0x43ce7c);}),this[_0x4a44aa(0x15f)][_0x4a44aa(0xee)](_0x542ae8[_0x4a44aa(0x1af)]['UNIVER_DOC'])[_0x4a44aa(0x28b)]((0x0,_0x381980[_0x4a44aa(0x29b)])(this[_0x4a44aa(0x138)]))[_0x4a44aa(0x28b)]((0x0,_0x381980[_0x4a44aa(0x3ac)])(_0x37f99e=>!_0x37f99e[_0x4a44aa(0x256)]['getUnitId']()[_0x4a44aa(0x342)]('__')))[_0x4a44aa(0x3b1)](async _0xad622b=>{const _0xbf8efb=_0x4a44aa;let {unit:_0x34e541}=_0xad622b,_0x34477d=_0x34e541[_0xbf8efb(0x2e0)](),_0x5e9354=await this[_0xbf8efb(0x370)](_0x34477d);this[_0xbf8efb(0x3a9)][_0xbf8efb(0x250)](_0x5e9354),this[_0xbf8efb(0xdd)][_0xbf8efb(0x341)](_0x34477d,_0x5e9354);}),this[_0x4a44aa(0x15f)][_0x4a44aa(0xee)](_0x542ae8[_0x4a44aa(0x1af)][_0x4a44aa(0x130)])['pipe']((0x0,_0x381980[_0x4a44aa(0x29b)])(this[_0x4a44aa(0x138)]))['subscribe'](async _0xbe9a3f=>{const _0x478d58=_0x4a44aa;let _0x53102e=_0xbe9a3f[_0x478d58(0x256)]['getUnitId'](),_0x1ad4b2=await this[_0x478d58(0x68)](_0x53102e);this[_0x478d58(0x3a9)][_0x478d58(0x250)](_0x1ad4b2),this['_entities'][_0x478d58(0x341)](_0x53102e,_0x1ad4b2);}),this[_0x4a44aa(0x15f)][_0x4a44aa(0xee)](_0x542ae8['UniverInstanceType'][_0x4a44aa(0xe0)])['pipe']((0x0,_0x381980[_0x4a44aa(0x29b)])(this[_0x4a44aa(0x138)]))[_0x4a44aa(0x3b1)](async _0x21a932=>{const _0x1b220f=_0x4a44aa;let _0x252cbf=_0x21a932[_0x1b220f(0x256)][_0x1b220f(0x2e0)](),_0x32f609=await this[_0x1b220f(0x339)](_0x252cbf);this[_0x1b220f(0x3a9)]['next'](_0x32f609),this[_0x1b220f(0xdd)][_0x1b220f(0x341)](_0x252cbf,_0x32f609);}),(0x0,_0x381980[_0x4a44aa(0x399)])(this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x542ae8[_0x4a44aa(0x1af)]['UNIVER_DOC']),this[_0x4a44aa(0x15f)][_0x4a44aa(0x32a)](_0x542ae8['UniverInstanceType'][_0x4a44aa(0x20c)]),this[_0x4a44aa(0x15f)][_0x4a44aa(0x32a)](_0x542ae8[_0x4a44aa(0x1af)][_0x4a44aa(0x130)]),this[_0x4a44aa(0x15f)][_0x4a44aa(0x32a)](_0x542ae8['UniverInstanceType'][_0x4a44aa(0xe0)]))[_0x4a44aa(0x28b)]((0x0,_0x381980[_0x4a44aa(0x29b)])(this[_0x4a44aa(0x138)]))['subscribe'](_0x4a7f80=>{const _0x3992eb=_0x4a44aa;let _0x2663d8=_0x4a7f80[_0x3992eb(0x2e0)](),_0x56585e=this[_0x3992eb(0xdd)][_0x3992eb(0x178)](_0x2663d8);_0x56585e&&(_0x56585e['dispose'](),this[_0x3992eb(0xdd)]['delete'](_0x2663d8));});}async[_0x23887d(0x13d)](_0x50a745){const _0x390321=_0x23887d;let _0x32d9d6=await this[_0x390321(0x1c4)]['requireSession'](_0x50a745),_0x855354=this[_0x390321(0x359)][_0x390321(0x23d)](_0x222460,_0x50a745,_0x32d9d6);return _0x855354[_0x390321(0xad)](),_0x855354;}async[_0x23887d(0x370)](_0x2ac890){const _0xb2e7f3=_0x23887d;let _0x406c41=await this[_0xb2e7f3(0x1c4)][_0xb2e7f3(0xc2)](_0x2ac890),_0x2caa3e=this[_0xb2e7f3(0x359)][_0xb2e7f3(0x23d)](_0xf186a3,_0x2ac890,_0x406c41);return _0x2caa3e[_0xb2e7f3(0xad)](),_0x2caa3e;}async[_0x23887d(0x68)](_0x28bd15){const _0x330f85=_0x23887d;let _0x476af0=await this[_0x330f85(0x1c4)][_0x330f85(0xc2)](_0x28bd15),_0x3b5a34=this['_injector'][_0x330f85(0x23d)](_0x59c1a8,_0x28bd15,_0x476af0);return _0x3b5a34[_0x330f85(0xad)](),_0x3b5a34;}async[_0x23887d(0x339)](_0x39e0b3){const _0x408e76=_0x23887d;let _0x59fb24=await this[_0x408e76(0x1c4)]['requireSession'](_0x39e0b3),_0xc8f3d5=this[_0x408e76(0x359)][_0x408e76(0x23d)](_0x3bf62a,_0x39e0b3,_0x59fb24);return _0xc8f3d5[_0x408e76(0xad)](),_0xc8f3d5;}};_0x4e58f9=_0xfa6df6([_0x518e4c(0x0,_0x542ae8['IUniverInstanceService']),_0x518e4c(0x1,(0x0,_0x542ae8[_0x23887d(0x34a)])(_0x542ae8[_0x23887d(0x1b9)])),_0x518e4c(0x2,(0x0,_0x542ae8[_0x23887d(0x34a)])(_0x21847c[_0x23887d(0x105)]))],_0x4e58f9);let _0x6dc481=class extends _0x542ae8[_0x23887d(0x292)]{constructor(_0x4f5bd5,_0x25bbdf,_0x4240e3){const _0x1316af=_0x23887d;super(),this[_0x1316af(0x388)]=_0x4f5bd5,this[_0x1316af(0x86)]=_0x25bbdf,this[_0x1316af(0xc3)]=_0x4240e3,_0x24a4e0(this,_0x1316af(0x1b5),new Set()),_0x24a4e0(this,'_renderScheduled',!0x1),_0x24a4e0(this,'_isApplyingOverlays',!0x1),_0x24a4e0(this,'_latestCursors',new Map()),this[_0x1316af(0xbf)]();}[_0x23887d(0x1bc)](){const _0x425ac8=_0x23887d;this['_removeCollabCursors'](),super[_0x425ac8(0x1bc)]();}[_0x23887d(0xbf)](){const _0x5c1b6d=_0x23887d;let _0x5ee296=this['_collabCursorController']['getCollabCursors$'](this[_0x5c1b6d(0x388)][_0x5c1b6d(0x73)]);this[_0x5c1b6d(0x36a)]((0x0,_0x542ae8[_0x5c1b6d(0x33c)])((0x0,_0x381980[_0x5c1b6d(0x306)])([_0x5ee296,this[_0x5c1b6d(0x388)][_0x5c1b6d(0x256)]['theme$'],this[_0x5c1b6d(0xc3)][_0x5c1b6d(0xa2)]])['pipe']((0x0,_0x381980[_0x5c1b6d(0x29b)])(this[_0x5c1b6d(0x138)]))[_0x5c1b6d(0x3b1)](([_0x1e972f])=>{const _0x4f504f=_0x5c1b6d;let _0x5a81ab=this[_0x4f504f(0x388)][_0x4f504f(0x256)]['getActivePageId'](),_0x2f6007=new Map();_0x1e972f['forEach']((_0x394056,_0x32d24e)=>{const _0x229b3=_0x4f504f;_0x394056[_0x229b3(0x298)]===_0x5a81ab&&_0x2f6007[_0x229b3(0x341)](_0x32d24e,{..._0x394056,'color':this['_themeService'][_0x229b3(0x11b)](_0x394056[_0x229b3(0x17b)])});}),this[_0x4f504f(0x1d1)]=_0x2f6007,this[_0x4f504f(0x23f)]();})));let _0x3241c5=this[_0x5c1b6d(0x388)][_0x5c1b6d(0x18c)];this[_0x5c1b6d(0x36a)]((0x0,_0x542ae8['toDisposable'])(_0x3241c5['addObject$']['pipe']((0x0,_0x381980[_0x5c1b6d(0x29b)])(this[_0x5c1b6d(0x138)]))['subscribe'](()=>{const _0x596a8f=_0x5c1b6d;this[_0x596a8f(0xd4)]||this['_scheduleRender']();})));}['_scheduleRender'](){const _0x24d1f9=_0x23887d;this[_0x24d1f9(0x7e)]||(this[_0x24d1f9(0x7e)]=!0x0,Promise[_0x24d1f9(0x167)]()['then'](()=>{const _0x1d2413=_0x24d1f9;this[_0x1d2413(0x7e)]=!0x1,this[_0x1d2413(0x194)]();}));}[_0x23887d(0x194)](){const _0x4d6fa5=_0x23887d;this[_0x4d6fa5(0x74)]();let _0xd8cd9e=this[_0x4d6fa5(0x388)][_0x4d6fa5(0x256)][_0x4d6fa5(0x29f)](),_0x492280=[];if(this[_0x4d6fa5(0x1d1)][_0x4d6fa5(0x28f)]((_0x4146ff,_0x2d8c44)=>{const _0x493198=_0x4d6fa5;_0x4146ff[_0x493198(0x298)]===_0xd8cd9e&&_0x4146ff['selectedIds'][_0x493198(0x28f)](_0x20f742=>{const _0x4d6b39=_0x493198;let _0x41dcb3=(0x0,_0x52faa1['getBoardElementRenderObjectKey'])(_0x4146ff[_0x4d6b39(0x73)],_0x20f742),_0x161edb=this[_0x4d6b39(0x90)](_0x41dcb3);if(!_0x161edb)return;let _0x372879=this[_0x4d6b39(0x24a)](_0x161edb);_0x492280[_0x4d6b39(0x363)](new _0x271694(_0x4d6b39(0x33a)+_0x2d8c44+'-'+_0x20f742,{..._0x4146ff,'left':_0x372879[_0x4d6b39(0xbb)],'top':_0x372879[_0x4d6b39(0xfe)],'width':_0x372879[_0x4d6b39(0x3b4)],'height':_0x372879[_0x4d6b39(0x303)],'angle':_0x161edb[_0x4d6b39(0x6d)],'evented':!0x1,'zIndex':_0x12a03d}));});}),_0x492280[_0x4d6fa5(0x351)]===0x0){this[_0x4d6fa5(0x388)][_0x4d6fa5(0x18c)][_0x4d6fa5(0x3be)](!0x0);return;}this[_0x4d6fa5(0xd4)]=!0x0,this[_0x4d6fa5(0x388)][_0x4d6fa5(0x18c)][_0x4d6fa5(0x3c5)](_0x492280,_0x12a03d),this['_isApplyingOverlays']=!0x1,this['_cursors']=new Set(_0x492280),this[_0x4d6fa5(0x388)]['scene'][_0x4d6fa5(0x3be)](!0x0);}['_removeCollabCursors'](){const _0x286f7a=_0x23887d;let _0x5dfaaa=Array[_0x286f7a(0x362)](this[_0x286f7a(0x1b5)]);if(_0x5dfaaa['length']===0x0)return;let _0x401fbc=this['_context'][_0x286f7a(0x18c)];_0x286f7a(0x384)in _0x401fbc&&typeof _0x401fbc[_0x286f7a(0x384)]=='function'?_0x401fbc['removeObjects'](_0x5dfaaa):_0x5dfaaa[_0x286f7a(0x28f)](_0x260ac4=>{const _0x4a737c=_0x286f7a;_0x4a737c(0x191)in _0x401fbc&&typeof _0x401fbc[_0x4a737c(0x191)]==_0x4a737c(0x3ab)?_0x401fbc[_0x4a737c(0x191)](_0x260ac4):_0x260ac4['dispose']();}),this[_0x286f7a(0x1b5)][_0x286f7a(0x16c)](),_0x401fbc[_0x286f7a(0x3be)](!0x0);}['_getSceneObjectByKey'](_0x7f1c73){const _0x504608=_0x23887d;var _0xca2648,_0x44bba2,_0x41ece7;let _0x5d1669=this[_0x504608(0x388)][_0x504608(0x18c)];return(_0xca2648=(_0x44bba2=(_0x41ece7=_0x5d1669['getObjectIncludeInGroup'])==null?void 0x0:_0x41ece7['call'](_0x5d1669,_0x7f1c73))==null?_0x5d1669[_0x504608(0x369)](_0x7f1c73):_0x44bba2)==null?null:_0xca2648;}[_0x23887d(0x24a)](_0xe74791){const _0x1b7cc4=_0x23887d;var _0xdee67c,_0xcf22cb;let _0x225fb1=_0xe74791;return(_0xdee67c=(_0xcf22cb=_0x225fb1[_0x1b7cc4(0x10c)])==null?void 0x0:_0xcf22cb[_0x1b7cc4(0x3cc)](_0x225fb1))==null?{'left':_0xe74791[_0x1b7cc4(0xbb)],'top':_0xe74791['top'],'width':_0xe74791[_0x1b7cc4(0x3b4)],'height':_0xe74791[_0x1b7cc4(0x303)]}:_0xdee67c;}};_0x6dc481=_0xfa6df6([_0x518e4c(0x1,(0x0,_0x542ae8[_0x23887d(0x34a)])(_0x4e58f9)),_0x518e4c(0x2,(0x0,_0x542ae8['Inject'])(_0x542ae8[_0x23887d(0x358)]))],_0x6dc481);let _0x5d220c=_0x23887d(0x151);var _0x47408c=class{constructor(_0x1d99e1,_0x3d7161,_0x1d381e,_0x302f01){const _0x21602c=_0x23887d;this[_0x21602c(0xbe)]=_0x1d99e1,this[_0x21602c(0x21f)]=_0x3d7161,this[_0x21602c(0x234)]=_0x1d381e,this['_document']=_0x302f01,_0x24a4e0(this,_0x21602c(0x6b),[]),_0x24a4e0(this,_0x21602c(0x81),null),_0x24a4e0(this,_0x21602c(0x330),null),_0x24a4e0(this,'_anchorDot',null),_0x24a4e0(this,'_hideTimer',null),_0x24a4e0(this,_0x21602c(0x6a),null),this[_0x21602c(0x194)]();}set['_hover'](_0x60708d){const _0x3fa46d=_0x23887d;_0x60708d?(this['_anchorDot']&&this[_0x3fa46d(0x2c0)][_0x3fa46d(0x1a0)](),this[_0x3fa46d(0x330)]&&this[_0x3fa46d(0x330)][_0x3fa46d(0x1e5)]()):(this['_anchorDot']&&this[_0x3fa46d(0x2c0)][_0x3fa46d(0x1e5)](),this['_textBubble']&&this['_textBubble'][_0x3fa46d(0x1a0)]());}[_0x23887d(0x1bc)](){const _0x528c29=_0x23887d;for(let _0x41a1e8 of this[_0x528c29(0x6b)])_0x41a1e8['dispose']();this[_0x528c29(0x330)]&&this[_0x528c29(0x330)][_0x528c29(0x1bc)](),this[_0x528c29(0x2c0)]&&this[_0x528c29(0x2c0)][_0x528c29(0x1bc)](),this[_0x528c29(0x81)]&&this['_anchor'][_0x528c29(0x1bc)](),this[_0x528c29(0x6a)]&&this[_0x528c29(0x6a)]();}[_0x23887d(0x194)](){const _0x1360fa=_0x23887d;let {_docSkeleton:_0x28b0c8,_document:_0x544a74}=this,{color:_0x5d0aa4,name:_0x3bb64e,ranges:_0x3e9f11}=this['_cursor'],_0x2a34c7=_0x544a74[_0x1360fa(0x302)](),{docsLeft:_0x44cf34,docsTop:_0x14029f}=_0x2a34c7,_0x1e080f=new _0x10603f[(_0x1360fa(0x217))](_0x2a34c7,_0x28b0c8);for(let {startOffset:_0x464cd2,endOffset:_0x1e4c57,rangeType:_0x2a92bf,segmentId:_0x2c671a,segmentPage:_0x3f5205,collapsed:_0x67ceca,isActive:_0x2f1e52}of _0x3e9f11){let _0x2bfc01=_0x28b0c8['findNodePositionByCharIndex'](_0x464cd2,!0x0,_0x2c671a,_0x3f5205),_0x22f4a1=_0x28b0c8[_0x1360fa(0x78)](_0x1e4c57,!0x0,_0x2c671a,_0x3f5205);if(_0x22f4a1==null&&(_0x22f4a1=_0x28b0c8[_0x1360fa(0x78)](_0x1e4c57-0x1,!0x1,_0x2c671a,_0x3f5205)),_0x2f1e52){let {contentBoxPointGroup:_0x364a80}=_0x1e080f[_0x1360fa(0x34c)](_0x22f4a1,_0x22f4a1);if(_0x364a80[_0x1360fa(0x351)]===0x0)continue;this[_0x1360fa(0x225)](_0x5d0aa4,_0x364a80,_0x44cf34,_0x14029f,_0x3bb64e),this['_eventUnsubscribe']=this[_0x1360fa(0x27f)]();}if(_0x2bfc01&&_0x22f4a1){if(_0x2a92bf===_0x542ae8[_0x1360fa(0x16d)][_0x1360fa(0x1a8)]){var _0x5c2c02;let {pointGroup:_0x53d69}=(_0x5c2c02=new _0x10603f['NodePositionConvertToRectRange'](_0x2a34c7,_0x28b0c8)[_0x1360fa(0x34c)](_0x2bfc01,_0x22f4a1))==null?{}:_0x5c2c02;if(_0x53d69==null||_0x53d69[_0x1360fa(0x351)]===0x0)continue;this[_0x1360fa(0x20e)](_0x5d0aa4,_0x53d69,_0x44cf34,_0x14029f);}else{if(!_0x67ceca){let {borderBoxPointGroup:_0x204aa7}=_0x1e080f[_0x1360fa(0x34c)](_0x2bfc01,_0x22f4a1);if(_0x204aa7[_0x1360fa(0x351)]===0x0)continue;this[_0x1360fa(0x1f4)](_0x5d0aa4,_0x204aa7,_0x44cf34,_0x14029f);}}}}}[_0x23887d(0x225)](_0x25a06c,_0x81e5a0,_0x5ab6a7,_0x7e0d78,_0x5a1eb4){const _0x2b9fa4=_0x23887d;let {left:_0x192d04,top:_0x5f3456,height:_0x230cbe}=this[_0x2b9fa4(0x199)](_0x81e5a0),_0x42bc34=1.5/this[_0x2b9fa4(0x2e2)](),_0x2dd29c=new _0x19aeb8['Rect'](_0x5d220c+(0x0,_0x542ae8[_0x2b9fa4(0x119)])(0x6),{'left':_0x192d04+_0x5ab6a7-_0x42bc34,'top':_0x5f3456+_0x7e0d78,'height':_0x230cbe,'width':1.5,'fill':_0x25a06c||(0x0,_0x19aeb8[_0x2b9fa4(0xaa)])(_0x542ae8[_0x2b9fa4(0x22f)]['black'],0x0),'strokeWidth':_0x42bc34,'stroke':'rgba(255,\x20255,\x20255,\x200.01)','evented':!0x0});this[_0x2b9fa4(0x81)]=_0x2dd29c,this['_scene'][_0x2b9fa4(0x304)](_0x2dd29c,_0x10603f[_0x2b9fa4(0x2b0)]);let _0x77a8ec=new _0x19aeb8[(_0x2b9fa4(0x3b8))](_0x5d220c+(0x0,_0x542ae8['generateRandomId'])(0x6),{'left':_0x192d04+_0x5ab6a7-_0x42bc34,'top':_0x5f3456+_0x7e0d78-0x4/0x2,'height':0x4,'width':0x4,'fill':_0x25a06c||(0x0,_0x19aeb8[_0x2b9fa4(0xaa)])(_0x542ae8[_0x2b9fa4(0x22f)]['black'],0x0),'strokeWidth':0x0,'stroke':_0x25a06c||(0x0,_0x19aeb8['getColor'])(_0x542ae8[_0x2b9fa4(0x22f)][_0x2b9fa4(0xb3)],0x0),'evented':!0x1});this['_anchorDot']=_0x77a8ec,this[_0x2b9fa4(0x21f)][_0x2b9fa4(0x304)](_0x77a8ec,_0x10603f['TEXT_RANGE_LAYER_INDEX']);let _0x5e41d7=new _0x5bb6af(_0x5d220c+(0x0,_0x542ae8[_0x2b9fa4(0x119)])(0x6),{'left':_0x192d04+_0x5ab6a7-_0x42bc34,'top':_0x5f3456+_0x7e0d78-0x14,'text':_0x5a1eb4,'color':_0x25a06c});this['_textBubble']=_0x5e41d7,this[_0x2b9fa4(0x21f)][_0x2b9fa4(0x304)](_0x5e41d7,_0x10603f[_0x2b9fa4(0x2b0)]),this[_0x2b9fa4(0x277)]=!0x1;}[_0x23887d(0x27f)](){const _0x5e6f1a=_0x23887d;let _0x4b5a1a=this['_anchor']['onPointerEnter$'][_0x5e6f1a(0x283)](()=>{const _0x43d79f=_0x5e6f1a;this[_0x43d79f(0x277)]=!0x0;}),_0x167513=this['_anchor'][_0x5e6f1a(0x1ff)]['subscribeEvent'](()=>{const _0x3a57b6=_0x5e6f1a;this['_hideTimer']&&clearTimeout(this[_0x3a57b6(0x1f6)]),this[_0x3a57b6(0x1f6)]=setTimeout(()=>{const _0x1ce835=_0x3a57b6;this[_0x1ce835(0x277)]=!0x1;},0x7d0);});return()=>{const _0x36f2e4=_0x5e6f1a;_0x4b5a1a[_0x36f2e4(0x2e8)](),_0x167513[_0x36f2e4(0x2e8)]();};}['_drawTextRange'](_0x575190,_0x5c71cc,_0x339947,_0x4ef3be){const _0x23e2f4=_0x23887d;let _0x483b42=0.2,_0x2d5b0f=new _0x542ae8[(_0x23e2f4(0x348))](_0x575190)[_0x23e2f4(0x192)](_0x483b42)['toRgbString'](),_0x523c3c=new _0x19aeb8[(_0x23e2f4(0x71))](_0x23e2f4(0x1bd)+(0x0,_0x542ae8[_0x23e2f4(0x119)])(0x6),{'pointsGroup':_0x5c71cc,'fill':_0x2d5b0f||(0x0,_0x19aeb8['getColor'])(_0x542ae8[_0x23e2f4(0x22f)]['black'],_0x483b42),'left':_0x339947,'top':_0x4ef3be,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x23e2f4(0x6b)][_0x23e2f4(0x363)](_0x523c3c),this[_0x23e2f4(0x21f)][_0x23e2f4(0x304)](_0x523c3c,_0x10603f[_0x23e2f4(0x2b0)]);}[_0x23887d(0x20e)](_0x27efcc,_0x59d9b0,_0x1f10c7,_0x56f4fe){const _0x5e749f=_0x23887d;let _0x2114f9=0.2,_0x15e119=new _0x542ae8['ColorKit'](_0x27efcc)[_0x5e749f(0x192)](_0x2114f9)[_0x5e749f(0x2ff)](),_0x295272=new _0x19aeb8[(_0x5e749f(0x71))](_0x5e749f(0x2ba)+(0x0,_0x542ae8[_0x5e749f(0x119)])(0x6),{'pointsGroup':_0x59d9b0,'fill':_0x15e119||(0x0,_0x19aeb8['getColor'])(_0x542ae8[_0x5e749f(0x22f)][_0x5e749f(0xb3)],_0x2114f9),'left':_0x1f10c7,'top':_0x56f4fe,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x5e749f(0x6b)][_0x5e749f(0x363)](_0x295272),this[_0x5e749f(0x21f)][_0x5e749f(0x304)](_0x295272,_0x10603f[_0x5e749f(0x2b0)]);}[_0x23887d(0x199)](_0x24fa9d){let _0xaf04df=_0x24fa9d[0x0],_0x1bb654=_0xaf04df[0x0],_0x1e6b9c=_0xaf04df[0x2],{x:_0x46bd19,y:_0x48823d}=_0x1bb654,{x:_0x2df278,y:_0x5ba7b7}=_0x1e6b9c;return{'left':_0x46bd19,'top':_0x48823d,'width':_0x2df278-_0x46bd19,'height':_0x5ba7b7-_0x48823d};}['_getScale'](){const _0xe8c6b0=_0x23887d;let {scaleX:_0x4e577f,scaleY:_0x3cd188}=this[_0xe8c6b0(0x21f)][_0xe8c6b0(0x2c3)]();return Math[_0xe8c6b0(0x1ba)](_0x4e577f,_0x3cd188);}};let _0x170348=class extends _0x542ae8[_0x23887d(0x292)]{constructor(_0x41e539,_0x2610ce,_0x33b174,_0x59bcaa,_0x46b015){const _0x8bd1b0=_0x23887d;super(),this[_0x8bd1b0(0x388)]=_0x41e539,this['_docSkeletonManagerService']=_0x2610ce,this[_0x8bd1b0(0x86)]=_0x33b174,this[_0x8bd1b0(0xc6)]=_0x59bcaa,this[_0x8bd1b0(0xc3)]=_0x46b015,_0x24a4e0(this,_0x8bd1b0(0x188),[]),_0x24a4e0(this,_0x8bd1b0(0x1b5),[]),this[_0x8bd1b0(0xbf)]();}[_0x23887d(0xbf)](){const _0x3574f6=_0x23887d;let _0x576c1a=this[_0x3574f6(0x388)][_0x3574f6(0x73)],_0x4f6789=this[_0x3574f6(0x325)];this[_0x3574f6(0x36a)]((0x0,_0x381980[_0x3574f6(0x306)])([this[_0x3574f6(0x86)]['getCollabCursors$'](_0x576c1a),this[_0x3574f6(0xc3)][_0x3574f6(0xa2)]])[_0x3574f6(0x28b)]((0x0,_0x1c9ca5[_0x3574f6(0xd7)])(([_0x1c1fe3,_0x3dcb15])=>({'skeleton':_0x4f6789['getSkeleton'](),'cursors':[..._0x1c1fe3['values']()][_0x3574f6(0xb6)](_0x3061b0=>({..._0x3061b0,'color':this[_0x3574f6(0xc3)][_0x3574f6(0x11b)](_0x3061b0[_0x3574f6(0x17b)])}))})))[_0x3574f6(0x3b1)](_0x14f75d=>{const _0x339a8a=_0x3574f6;if(this[_0x339a8a(0x74)](),_0x14f75d){let {skeleton:_0x1b2130,cursors:_0x5f14d1}=_0x14f75d;this[_0x339a8a(0xa3)](_0x1b2130,_0x5f14d1);}})),this[_0x3574f6(0x161)](),this[_0x3574f6(0x1f9)]();}[_0x23887d(0xa3)](_0x313e9f,_0x33e8f1){const _0x3975b1=_0x23887d;let {scene:_0x14e2cc,mainComponent:_0x4d1ef6}=this['_context'],_0x2a84e5=_0x33e8f1[_0x3975b1(0xd7)](_0x34406e=>new _0x47408c(_0x34406e,_0x14e2cc,_0x313e9f,_0x4d1ef6));this['_cursorShapes']=_0x2a84e5,this['_cursors']=_0x33e8f1;}['_refreshCollabCursors'](){const _0xc78d7f=_0x23887d;this[_0xc78d7f(0x74)]();let {scene:_0x30de9a,mainComponent:_0x524c01}=this[_0xc78d7f(0x388)],_0x46f115=this[_0xc78d7f(0x325)]['getSkeleton'](),_0x4bf005=this[_0xc78d7f(0x1b5)][_0xc78d7f(0xd7)](_0x5b76be=>new _0x47408c(_0x5b76be,_0x30de9a,_0x46f115,_0x524c01));this['_cursorShapes']=_0x4bf005;}[_0x23887d(0x74)](){const _0x18e87c=_0x23887d;this['_cursorShapes'][_0x18e87c(0x28f)](_0x3baad4=>_0x3baad4['dispose']()),this[_0x18e87c(0x188)]=[];}[_0x23887d(0x1f9)](){const _0x444efb=_0x23887d;let _0x19d88f=[_0x10603f[_0x444efb(0x2f7)]['id']];this[_0x444efb(0x36a)](this[_0x444efb(0xc6)][_0x444efb(0xe9)](_0x5a3909=>{const _0xebdc27=_0x444efb;_0x19d88f[_0xebdc27(0x1de)](_0x5a3909['id'])&&_0x5a3909[_0xebdc27(0x33f)][_0xebdc27(0x73)]===this[_0xebdc27(0x388)]['unitId']&&this[_0xebdc27(0x216)]();}));}[_0x23887d(0x161)](){const _0x422b08=_0x23887d;this[_0x422b08(0x36a)]((0x0,_0x542ae8[_0x422b08(0x1a5)])(this[_0x422b08(0x388)][_0x422b08(0x38d)][_0x422b08(0x197)])['pipe']((0x0,_0x1c9ca5['filter'])(_0x560384=>_0x560384[_0x422b08(0x214)]===_0x19aeb8[_0x422b08(0x14e)][_0x422b08(0x3a2)]),(0x0,_0x1c9ca5[_0x422b08(0x376)])(0x10))['subscribe'](()=>{this['_refreshCollabCursors']();}));}};_0x170348=_0xfa6df6([_0x518e4c(0x1,(0x0,_0x542ae8[_0x23887d(0x34a)])(_0x13b229[_0x23887d(0x1c8)])),_0x518e4c(0x2,(0x0,_0x542ae8['Inject'])(_0x4e58f9)),_0x518e4c(0x3,_0x542ae8[_0x23887d(0x268)]),_0x518e4c(0x4,(0x0,_0x542ae8[_0x23887d(0x34a)])(_0x542ae8[_0x23887d(0x358)]))],_0x170348);var _0x523d82=class extends _0x19aeb8[_0x23887d(0x37c)]{constructor(_0x3dadb9,_0x243e46){const _0x321817=_0x23887d;if(super(_0x3dadb9,_0x243e46),_0x24a4e0(this,_0x321817(0x2a1),void 0x0),_0x24a4e0(this,'_hovered',!0x1),_0x24a4e0(this,_0x321817(0x390),void 0x0),_0x24a4e0(this,_0x321817(0x2f3),''),_0x24a4e0(this,_0x321817(0x367),'top'),_0x24a4e0(this,'_backgroundColor',void 0x0),_0x24a4e0(this,_0x321817(0x91),void 0x0),_0x24a4e0(this,_0x321817(0x2a9),void 0x0),_0x24a4e0(this,_0x321817(0x2be),0x4),_0x24a4e0(this,_0x321817(0x13b),void 0x0),_0x24a4e0(this,_0x321817(0x2d8),void 0x0),_0x24a4e0(this,_0x321817(0x318),!0x0),_0x24a4e0(this,_0x321817(0x38f),0x0),_0x24a4e0(this,_0x321817(0x1ea),_0x321817(0x83)),_0x243e46){var _0x2b0f19;if(this['setShapeProps'](_0x243e46),_0x243e46[_0x321817(0x158)]&&((_0x2b0f19=_0x243e46[_0x321817(0x332)])==null?this[_0x321817(0x2be)]:_0x2b0f19)){var _0xcdc632;this[_0x321817(0x1d5)]((_0xcdc632=_0x243e46['highlightSecond'])==null?this[_0x321817(0x2be)]:_0xcdc632);}}this[_0x321817(0x3aa)][_0x321817(0x283)](()=>this[_0x321817(0x1e1)]({'hovered':!0x0})),this['onPointerLeave$'][_0x321817(0x283)](()=>this[_0x321817(0x1e1)]({'hovered':!0x1}));}[_0x23887d(0xf8)](_0x1deae0){this['_offsetY']=_0x1deae0;}['setShapeProps'](_0x25e4af){const _0x5971b0=_0x23887d;var _0x500ed2,_0x1a4d9a,_0x248c1f,_0x1fd32f,_0x29f5b9,_0x432a39,_0x4296b0,_0x5a5493;this[_0x5971b0(0x2a1)]=(_0x500ed2=_0x25e4af[_0x5971b0(0x17b)])==null?this['_color']:_0x500ed2,this[_0x5971b0(0x32c)]=(_0x1a4d9a=_0x25e4af[_0x5971b0(0x187)])==null?this[_0x5971b0(0x32c)]:_0x1a4d9a,this[_0x5971b0(0x390)]=(_0x248c1f=_0x25e4af[_0x5971b0(0xd8)])==null?this[_0x5971b0(0x390)]:_0x248c1f,this[_0x5971b0(0x2f3)]=(_0x1fd32f=_0x25e4af[_0x5971b0(0xe4)])==null?this[_0x5971b0(0x2f3)]:_0x1fd32f,this[_0x5971b0(0x367)]=(_0x29f5b9=_0x25e4af[_0x5971b0(0x2f8)])==null?this[_0x5971b0(0x367)]:_0x29f5b9,this[_0x5971b0(0x32f)]=(_0x432a39=_0x25e4af[_0x5971b0(0x249)])==null?this['_backgroundColor']:_0x432a39,this[_0x5971b0(0x91)]=(_0x4296b0=_0x25e4af[_0x5971b0(0x9a)])==null?this[_0x5971b0(0x91)]:_0x4296b0,this[_0x5971b0(0x1ea)]=(_0x5a5493=_0x25e4af[_0x5971b0(0x328)])==null?this[_0x5971b0(0x1ea)]:_0x5a5493,_0x25e4af[_0x5971b0(0x332)]!==void 0x0&&(this[_0x5971b0(0x2be)]=_0x25e4af[_0x5971b0(0x332)]),_0x25e4af['highlight']!==void 0x0&&(this[_0x5971b0(0x2a9)]=_0x25e4af[_0x5971b0(0x158)]),_0x25e4af[_0x5971b0(0x26d)]!==void 0x0&&(this[_0x5971b0(0x38f)]=_0x25e4af['offsetY']),this['transformByState']({'width':_0x25e4af[_0x5971b0(0x3b4)],'height':_0x25e4af[_0x5971b0(0x303)]});}[_0x23887d(0x35e)](_0x63496e){const _0x2e496a=_0x23887d;let {row:_0x5b0d66,column:_0x2a75e2}=_0x63496e;if(_0x5b0d66>=this[_0x2e496a(0x390)]['startRow']&&_0x5b0d66<=this[_0x2e496a(0x390)][_0x2e496a(0x1fb)]&&_0x2a75e2>=this['_range'][_0x2e496a(0x3c4)]&&_0x2a75e2<=this[_0x2e496a(0x390)][_0x2e496a(0x1ac)]){this[_0x2e496a(0x1e1)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}['_startBlinking'](_0x2e419c){const _0x34bafc=_0x23887d;this[_0x34bafc(0x95)](),this[_0x34bafc(0x318)]=!0x0,this[_0x34bafc(0x2d8)]=window[_0x34bafc(0x253)](()=>{const _0x22d5f5=_0x34bafc;this[_0x22d5f5(0x318)]=!this[_0x22d5f5(0x318)],this[_0x22d5f5(0x3be)](!0x0);},0x1f4),this['_blinkTimer']=window[_0x34bafc(0x35f)](()=>{const _0x401daa=_0x34bafc;this[_0x401daa(0x95)](),this[_0x401daa(0x318)]=!0x0,this['makeDirty'](!0x0);},_0x2e419c*0x3e8);}[_0x23887d(0x95)](){const _0x29555a=_0x23887d;this[_0x29555a(0x2d8)]&&(window[_0x29555a(0x23c)](this['_blinkIntervalTimer']),this[_0x29555a(0x2d8)]=void 0x0),this[_0x29555a(0x13b)]&&(window['clearTimeout'](this[_0x29555a(0x13b)]),this[_0x29555a(0x13b)]=void 0x0);}[_0x23887d(0xb9)](_0x5a2514){return!0x1;}[_0x23887d(0x1bc)](){this['_stopBlinking'](),super['dispose']();}[_0x23887d(0x2cf)](_0x54db10){const _0x260470=_0x23887d;let _0x1cca8d=this['_color'],_0x305ec3=this[_0x260470(0x32f)];if(this['_highlight']&&!this[_0x260470(0x318)]&&(_0x1cca8d=this[_0x260470(0xab)](this[_0x260470(0x2a1)]),_0x305ec3=this[_0x260470(0x32f)]?this[_0x260470(0xab)](this[_0x260470(0x32f)]):void 0x0),_0x19aeb8[_0x260470(0x3b8)][_0x260470(0x3cb)](_0x54db10,{'width':this[_0x260470(0x3b4)],'height':this[_0x260470(0x303)],'strokeWidth':this[_0x260470(0xd2)]||1.5,'stroke':_0x1cca8d,'evented':!0x1,'fill':_0x305ec3}),this['_hovered']||this[_0x260470(0x91)]){var _0x26a73a;_0x54db10[_0x260470(0x204)]();let _0x3b555a=this[_0x260470(0x1ea)]===_0x260470(0xbb)?-_0x25f63f(_0x54db10,this[_0x260470(0x2f3)]):this[_0x260470(0x3b4)];_0x54db10[_0x260470(0x1e6)](0x1,0x0,0x0,0x1,_0x3b555a,(this[_0x260470(0x367)]===_0x260470(0x13a)?0x0:-0x14)+((_0x26a73a=this[_0x260470(0x38f)])==null?0x0:_0x26a73a)),_0x5bb6af['drawWith'](_0x54db10,{'text':this[_0x260470(0x2f3)],'color':_0x1cca8d}),_0x54db10[_0x260470(0xde)]();}}[_0x23887d(0xab)](_0x3a0b87){const _0x9c7cca=_0x23887d;return _0x3a0b87[_0x9c7cca(0x342)]('#')?_0x9c7cca(0x2f6)+Number['parseInt'](_0x3a0b87[_0x9c7cca(0xf5)](0x1,0x3),0x10)+',\x20'+Number[_0x9c7cca(0x145)](_0x3a0b87[_0x9c7cca(0xf5)](0x3,0x5),0x10)+',\x20'+Number[_0x9c7cca(0x145)](_0x3a0b87[_0x9c7cca(0xf5)](0x5,0x7),0x10)+',\x200.2)':_0x3a0b87[_0x9c7cca(0x342)]('rgba')?_0x3a0b87[_0x9c7cca(0x361)](/[\d.]+\)$/g,_0x9c7cca(0x3b2)):_0x3a0b87[_0x9c7cca(0x342)]('rgb')?_0x3a0b87[_0x9c7cca(0x361)]('rgb','rgba')[_0x9c7cca(0x361)](')',_0x9c7cca(0x1dc)):_0x3a0b87;}};let _0x3d555b=class extends _0x542ae8[_0x23887d(0x292)]{constructor(_0x4ed3e0,_0x1f49fd,_0x142a10,_0x109d14){const _0x21ee36=_0x23887d;super(),this[_0x21ee36(0x388)]=_0x4ed3e0,this[_0x21ee36(0x208)]=_0x1f49fd,this[_0x21ee36(0x86)]=_0x142a10,this['_themeService']=_0x109d14,_0x24a4e0(this,_0x21ee36(0x1b5),new Set()),_0x24a4e0(this,_0x21ee36(0x1f3),null),_0x24a4e0(this,_0x21ee36(0x174),null),this['_init']();}[_0x23887d(0xbf)](){const _0x913401=_0x23887d;this[_0x913401(0x208)][_0x913401(0x207)][_0x913401(0x28b)]((0x0,_0x1c9ca5[_0x913401(0x29b)])(this['dispose$']),(0x0,_0x1c9ca5[_0x913401(0x98)])(_0x297822=>{const _0x216068=_0x913401;if(_0x297822){let _0x3781d4=_0x297822['sheetId'];return(0x0,_0x381980[_0x216068(0x306)])(this[_0x216068(0x86)][_0x216068(0x19f)](this[_0x216068(0x388)]['unitId']),this[_0x216068(0xc3)][_0x216068(0xa2)])[_0x216068(0x28b)]((0x0,_0x1c9ca5[_0x216068(0xd7)])(([_0x49bcd6,_0x215948])=>{const _0x40fda5=_0x216068;let _0x34fa7b=new Map();return _0x49bcd6[_0x40fda5(0x28f)]((_0x18d65b,_0xdc1a10)=>{const _0x3ec9ea=_0x40fda5;if(_0x18d65b['sheetID']===_0x3781d4){let _0x55962a={..._0x18d65b};_0x55962a[_0x3ec9ea(0x17b)]=this['_themeService']['getColorFromTheme'](_0x18d65b[_0x3ec9ea(0x17b)]),_0x34fa7b[_0x3ec9ea(0x341)](_0xdc1a10,_0x55962a);}}),{'skeleton':_0x297822,'cursors':_0x34fa7b};}));}return(0x0,_0x381980['of'])({'skeleton':null,'cursors':new Map()});}))[_0x913401(0x3b1)](({skeleton:_0x31191e,cursors:_0x44c67a})=>{const _0x34e1f0=_0x913401;this[_0x34e1f0(0x74)](),_0x31191e&&this[_0x34e1f0(0xa3)](_0x31191e,_0x44c67a);}),this[_0x913401(0x36a)](this[_0x913401(0x208)][_0x913401(0x207)][_0x913401(0x28b)]((0x0,_0x1c9ca5['takeUntil'])(this[_0x913401(0x138)]))['subscribe'](_0x369602=>{const _0x8b4035=_0x913401;var _0x1692b2;if(_0x369602==null)return;(_0x1692b2=this['_pointerMoveDisposable'])==null||_0x1692b2['unsubscribe'](),this[_0x8b4035(0x174)]=null;let {skeleton:_0x20a9ba}=_0x369602,{scene:_0x40bb2b}=this['_context'];this[_0x8b4035(0x174)]=_0x40bb2b[_0x8b4035(0x77)]['subscribeEvent']((0x0,_0x542ae8[_0x8b4035(0x257)])(_0x577691=>{const _0x400fac=_0x8b4035;var _0x91b3e8,_0x22f751;let {offsetX:_0x21158a,offsetY:_0x27f976}=_0x577691,{x:_0x240068,y:_0x5bacd2}=_0x40bb2b['getRelativeToViewportCoord'](_0x19aeb8[_0x400fac(0x2b1)][_0x400fac(0x393)]([_0x21158a,_0x27f976])),{scaleX:_0x3712da,scaleY:_0x531f58}=_0x40bb2b[_0x400fac(0x2c3)](),_0x314ff5=_0x40bb2b[_0x400fac(0x149)](_0x19aeb8[_0x400fac(0x231)][_0x400fac(0x33b)]),_0x1d872d=_0x40bb2b[_0x400fac(0x1da)](_0x19aeb8[_0x400fac(0x2b1)]['FromArray']([_0x240068,_0x5bacd2]),_0x314ff5),_0x771027=_0x20a9ba[_0x400fac(0x25c)](_0x21158a,_0x27f976,_0x3712da,_0x531f58,_0x1d872d);((_0x91b3e8=this[_0x400fac(0x1f3)])==null?void 0x0:_0x91b3e8[_0x400fac(0x2dd)])===_0x771027[_0x400fac(0x2dd)]&&((_0x22f751=this[_0x400fac(0x1f3)])==null?void 0x0:_0x22f751[_0x400fac(0x7d)])===_0x771027[_0x400fac(0x7d)]||this[_0x400fac(0x1b5)][_0x400fac(0x28f)](_0x1cc2fd=>{_0x1cc2fd['onMouseMove'](_0x771027);});},0x64));})),this[_0x913401(0x36a)]((0x0,_0x542ae8[_0x913401(0x33c)])(()=>{const _0x40811a=_0x913401;var _0x5c6e19;(_0x5c6e19=this[_0x40811a(0x174)])==null||_0x5c6e19[_0x40811a(0x2e8)](),this[_0x40811a(0x174)]=null;}));}['_updateCollabCursors'](_0x36910b,_0x2c9997){const _0x1c2853=_0x23887d;let _0x1e81fc=this[_0x1c2853(0x208)][_0x1c2853(0x166)]();if(!_0x1e81fc)return;let _0x18116c=this[_0x1c2853(0x3a3)]();if(!_0x18116c)return;this['_cursors'][_0x1c2853(0x28f)](_0x45eaea=>{const _0x1ce5db=_0x1c2853;_0x45eaea[_0x1ce5db(0x3be)]();});let {scene:_0x53e4da}=_0x18116c,_0x2b160b=_0x2293e4(Array[_0x1c2853(0x362)](_0x2c9997['values']()))[_0x1c2853(0xd7)](_0x5e2bad=>{const _0x24538c=_0x1c2853;let {color:_0x1fa0f4,range:_0x4e7007,name:_0x2a3e32,selection:_0x310126,sheetID:_0xd06611}=_0x5e2bad,{startColumn:_0x1899b4,startRow:_0x462a4b,endColumn:_0x219f2a,endRow:_0x16d4de}=_0x4e7007,_0x20f7e1=(0x0,_0x17f229[_0x24538c(0x10f)])(_0x462a4b,_0x1899b4,_0x53e4da,_0x1e81fc),_0x31c392=(0x0,_0x17f229[_0x24538c(0x10f)])(_0x16d4de,_0x219f2a,_0x53e4da,_0x1e81fc),{columnHeaderHeightAndMarginTop:_0x5c35c7}=_0x1e81fc,{startX:_0x52677f,startY:_0x138447}=_0x20f7e1,{endX:_0x17917c,endY:_0x59cf4c}=_0x31c392,_0x361806=_0x17917c-_0x52677f,_0x136129=_0x59cf4c-_0x138447;return new _0x523d82(_0x2a3e32,{'labelPosition':_0x138447-_0x5c35c7>=0x14?_0x24538c(0xfe):_0x24538c(0x13a),'sheetID':_0xd06611,'range':_0x4e7007,'color':_0x1fa0f4,'name':_0x2a3e32,'selection':_0x310126,'left':_0x52677f,'top':_0x138447,'width':_0x361806,'height':_0x136129,'evented':!0x1,'zIndex':0x1389});});_0x53e4da[_0x1c2853(0x3c5)](_0x2b160b,0x1),this[_0x1c2853(0x1b5)]=new Set(_0x2b160b);}['_removeCollabCursors'](){const _0x40d08a=_0x23887d;var _0x391b1c;(_0x391b1c=this[_0x40d08a(0x1b5)])==null||_0x391b1c['forEach'](_0x34b610=>_0x34b610['dispose']());}['_getSheetObject'](){const _0x3d86ed=_0x23887d;return(0x0,_0x17f229[_0x3d86ed(0x2db)])(this[_0x3d86ed(0x388)][_0x3d86ed(0x256)],this[_0x3d86ed(0x388)]);}};_0x3d555b=_0xfa6df6([_0x518e4c(0x1,(0x0,_0x542ae8[_0x23887d(0x34a)])(_0x17f229['SheetSkeletonManagerService'])),_0x518e4c(0x2,(0x0,_0x542ae8[_0x23887d(0x34a)])(_0x4e58f9)),_0x518e4c(0x3,(0x0,_0x542ae8[_0x23887d(0x34a)])(_0x542ae8['ThemeService']))],_0x3d555b);function _0x2293e4(_0x544a82){const _0x1929ca=_0x23887d;let _0x48df11=new Map();return _0x544a82['forEach'](_0x328286=>{const _0x2fd02c=_0x3a65;if(_0x48df11[_0x2fd02c(0x1d6)](_0x328286['selection'])){let _0xa64ec1=_0x48df11[_0x2fd02c(0x178)](_0x328286[_0x2fd02c(0x140)]);_0xa64ec1['name']+=',\x20'+_0x328286[_0x2fd02c(0xe4)];}else _0x48df11[_0x2fd02c(0x341)](_0x328286[_0x2fd02c(0x140)],_0x328286);}),Array['from'](_0x48df11[_0x1929ca(0x2bd)]());}let _0x2d7875=class extends _0x542ae8[_0x23887d(0x292)]{constructor(_0x1abdb4,_0x5b4200,_0x40acfd){const _0x10b5c6=_0x23887d;super(),this[_0x10b5c6(0x388)]=_0x1abdb4,this[_0x10b5c6(0x86)]=_0x5b4200,this[_0x10b5c6(0xc3)]=_0x40acfd,_0x24a4e0(this,_0x10b5c6(0x1b5),new Set()),_0x24a4e0(this,_0x10b5c6(0x7e),!0x1),_0x24a4e0(this,_0x10b5c6(0xd4),!0x1),_0x24a4e0(this,_0x10b5c6(0x1d1),new Map()),this['_init']();}['dispose'](){const _0x3e36ef=_0x23887d;this[_0x3e36ef(0x74)](),super[_0x3e36ef(0x1bc)]();}[_0x23887d(0xbf)](){const _0x4d0743=_0x23887d;let _0x38c820=this[_0x4d0743(0x388)][_0x4d0743(0x256)][_0x4d0743(0x27c)][_0x4d0743(0x2e6)],_0x476dc9=this[_0x4d0743(0x86)][_0x4d0743(0x19f)](this[_0x4d0743(0x388)][_0x4d0743(0x73)]);this[_0x4d0743(0x36a)]((0x0,_0x542ae8[_0x4d0743(0x33c)])((0x0,_0x381980[_0x4d0743(0x306)])([_0x476dc9,_0x38c820,this[_0x4d0743(0xc3)][_0x4d0743(0xa2)]])[_0x4d0743(0x28b)]((0x0,_0x381980[_0x4d0743(0x29b)])(this[_0x4d0743(0x138)]))['subscribe'](([_0x142350,_0x233a85])=>{const _0x15b84b=_0x4d0743;let _0x53404f=new Map();_0x142350[_0x15b84b(0x28f)]((_0x3e0d44,_0x5069d1)=>{const _0x13ea96=_0x15b84b;_0x3e0d44[_0x13ea96(0x298)]===_0x233a85&&_0x53404f[_0x13ea96(0x341)](_0x5069d1,{..._0x3e0d44,'color':this[_0x13ea96(0xc3)]['getColorFromTheme'](_0x3e0d44[_0x13ea96(0x17b)])});}),this[_0x15b84b(0x1d1)]=_0x53404f,this[_0x15b84b(0x23f)]();})));let _0x4848a3=this[_0x4d0743(0x388)][_0x4d0743(0x18c)];this[_0x4d0743(0x36a)]((0x0,_0x542ae8['toDisposable'])(_0x4848a3[_0x4d0743(0x2cc)][_0x4d0743(0x28b)]((0x0,_0x381980['takeUntil'])(this[_0x4d0743(0x138)]))[_0x4d0743(0x3b1)](()=>{const _0x240dd3=_0x4d0743;this[_0x240dd3(0xd4)]||this['_scheduleRender']();})));}[_0x23887d(0x23f)](){const _0xd27daf=_0x23887d;this[_0xd27daf(0x7e)]||(this['_renderScheduled']=!0x0,Promise[_0xd27daf(0x167)]()['then'](()=>{const _0x59f792=_0xd27daf;this[_0x59f792(0x7e)]=!0x1,this['_render']();}));}[_0x23887d(0x194)](){const _0x52d552=_0x23887d;var _0x5e60d7;this[_0x52d552(0x74)]();let _0x332398=(_0x5e60d7=this[_0x52d552(0x388)][_0x52d552(0x256)][_0x52d552(0x27c)][_0x52d552(0xe1)]())==null?void 0x0:_0x5e60d7[_0x52d552(0x3a6)]();if(!_0x332398)return;let _0x4d63a8=[];if(this[_0x52d552(0x1d1)]['forEach']((_0x5871a2,_0x1f4a8d)=>{const _0x262a24=_0x52d552;_0x5871a2[_0x262a24(0x298)]===_0x332398&&_0x5871a2[_0x262a24(0x37f)]['forEach'](_0xf6fc0d=>{const _0x43b685=_0x262a24;let _0x471285=(0x0,_0x1c6381[_0x43b685(0x307)])(_0x5871a2[_0x43b685(0x73)],_0x5871a2[_0x43b685(0x298)],_0xf6fc0d),_0x8b0f34=this['_getSceneObjectByKey'](_0x471285);if(!_0x8b0f34)return;let _0x5cff1d=this[_0x43b685(0x24a)](_0x8b0f34);_0x4d63a8[_0x43b685(0x363)](new _0x271694(_0x43b685(0x162)+_0x1f4a8d+'-'+_0xf6fc0d,{..._0x5871a2,'left':_0x5cff1d[_0x43b685(0xbb)],'top':_0x5cff1d[_0x43b685(0xfe)],'width':_0x5cff1d[_0x43b685(0x3b4)],'height':_0x5cff1d['height'],'angle':_0x8b0f34[_0x43b685(0x6d)],'evented':!0x1,'zIndex':_0x12a03d}));});}),_0x4d63a8[_0x52d552(0x351)]===0x0){this[_0x52d552(0x388)][_0x52d552(0x18c)][_0x52d552(0x3be)](!0x0);return;}this[_0x52d552(0xd4)]=!0x0,this[_0x52d552(0x388)][_0x52d552(0x18c)][_0x52d552(0x3c5)](_0x4d63a8,_0x12a03d),this[_0x52d552(0xd4)]=!0x1,this[_0x52d552(0x1b5)]=new Set(_0x4d63a8),this[_0x52d552(0x388)][_0x52d552(0x18c)][_0x52d552(0x3be)](!0x0);}[_0x23887d(0x74)](){const _0x58a939=_0x23887d;let _0x380cdd=Array[_0x58a939(0x362)](this[_0x58a939(0x1b5)]);if(_0x380cdd[_0x58a939(0x351)]===0x0)return;let _0x5f4670=this[_0x58a939(0x388)][_0x58a939(0x18c)];_0x58a939(0x384)in _0x5f4670&&typeof _0x5f4670[_0x58a939(0x384)]==_0x58a939(0x3ab)?_0x5f4670[_0x58a939(0x384)](_0x380cdd):_0x380cdd[_0x58a939(0x28f)](_0x1cb8fa=>{const _0x1aede2=_0x58a939;_0x1aede2(0x191)in _0x5f4670&&typeof _0x5f4670['removeObject']==_0x1aede2(0x3ab)?_0x5f4670['removeObject'](_0x1cb8fa):_0x1cb8fa[_0x1aede2(0x1bc)]();}),this[_0x58a939(0x1b5)]['clear'](),_0x5f4670['makeDirty'](!0x0);}[_0x23887d(0x90)](_0x39cb26){const _0x3f2203=_0x23887d;var _0x119357,_0x1ae068,_0x3fca63;let _0x1b6743=this['_context'][_0x3f2203(0x18c)];return(_0x119357=(_0x1ae068=(_0x3fca63=_0x1b6743[_0x3f2203(0x120)])==null?void 0x0:_0x3fca63[_0x3f2203(0x3cc)](_0x1b6743,_0x39cb26))==null?_0x1b6743[_0x3f2203(0x369)](_0x39cb26):_0x1ae068)==null?null:_0x119357;}[_0x23887d(0x24a)](_0x3746be){const _0x3e6870=_0x23887d;var _0x291b07,_0x3c3f09;let _0x2a5ccf=_0x3746be;return(_0x291b07=(_0x3c3f09=_0x2a5ccf[_0x3e6870(0x10c)])==null?void 0x0:_0x3c3f09[_0x3e6870(0x3cc)](_0x2a5ccf))==null?{'left':_0x3746be[_0x3e6870(0xbb)],'top':_0x3746be[_0x3e6870(0xfe)],'width':_0x3746be['width'],'height':_0x3746be[_0x3e6870(0x303)]}:_0x291b07;}};_0x2d7875=_0xfa6df6([_0x518e4c(0x1,(0x0,_0x542ae8[_0x23887d(0x34a)])(_0x4e58f9)),_0x518e4c(0x2,(0x0,_0x542ae8['Inject'])(_0x542ae8[_0x23887d(0x358)]))],_0x2d7875);let _0x36b37d=class extends _0x542ae8[_0x23887d(0x106)]{constructor(_0xa065ec,_0x466af2,_0x497cc6,_0x127450,_0x2e2407,_0x53d297){const _0x2e97cd=_0x23887d;super(),this[_0x2e97cd(0x143)]=_0xa065ec,this[_0x2e97cd(0xb8)]=_0x466af2,this[_0x2e97cd(0x329)]=_0x497cc6,this[_0x2e97cd(0x2bf)]=_0x127450,this[_0x2e97cd(0x2df)]=_0x2e2407,this[_0x2e97cd(0x3bb)]=_0x53d297,this[_0x2e97cd(0x38c)](),this[_0x2e97cd(0x2f2)]();}[_0x23887d(0x38c)](){const _0x2cb29b=_0x23887d;this[_0x2cb29b(0x36a)](this[_0x2cb29b(0x143)][_0x2cb29b(0x1b3)](()=>{const _0x47b4c0=_0x2cb29b;if(this[_0x47b4c0(0xb8)][_0x47b4c0(0x2f9)]['size'])return this['_localeService']['t'](_0x47b4c0(0xfa));}));}[_0x23887d(0x2f2)](){const _0x5b6574=_0x23887d;this[_0x5b6574(0x36a)](this[_0x5b6574(0x329)]['event$'][_0x5b6574(0x3b1)](_0x330b68=>{const _0x49e88a=_0x5b6574;_0x330b68['id']===_0x21847c[_0x49e88a(0x2ce)][_0x49e88a(0x2fe)]&&this[_0x49e88a(0x2bf)][_0x49e88a(0x1e5)]({'type':_0x42c8e3['MessageType'][_0x49e88a(0x7f)],'content':this[_0x49e88a(0x3bb)]['t'](_0x49e88a(0x2d2))}),_0x330b68['id']===_0x21847c[_0x49e88a(0x2ce)][_0x49e88a(0x108)]&&this['_messageService'][_0x49e88a(0x1e5)]({'type':_0x42c8e3[_0x49e88a(0xaf)][_0x49e88a(0x7f)],'content':this[_0x49e88a(0x3bb)]['t'](_0x49e88a(0x1e7))}),_0x330b68['id']===_0x21847c[_0x49e88a(0x2ce)][_0x49e88a(0x31c)]&&this[_0x49e88a(0x2df)]['show']({'title':this[_0x49e88a(0x3bb)]['t'](_0x49e88a(0x267)),'content':this[_0x49e88a(0x3bb)]['t'](_0x49e88a(0x8a)),'type':_0x49e88a(0x274),'duration':0x0}),_0x330b68['id']===_0x21847c[_0x49e88a(0x2ce)][_0x49e88a(0x240)]&&this[_0x49e88a(0x2df)][_0x49e88a(0x1e5)]({'title':this[_0x49e88a(0x3bb)]['t']('collaboration-client-ui.conflict.title'),'content':this[_0x49e88a(0x3bb)]['t'](_0x49e88a(0x2a6)),'type':_0x49e88a(0x274),'duration':0x0}),_0x330b68['id']===_0x21847c['CollaborationUIEventId'][_0x49e88a(0x1d4)]&&this[_0x49e88a(0x2bf)][_0x49e88a(0x1e5)]({'type':_0x42c8e3['MessageType'][_0x49e88a(0x7f)],'content':this[_0x49e88a(0x3bb)]['t'](_0x330b68[_0x49e88a(0x180)]||'')}),_0x330b68['id']===_0x21847c[_0x49e88a(0x2ce)][_0x49e88a(0x18e)]&&this[_0x49e88a(0x2bf)]['show']({'type':_0x42c8e3[_0x49e88a(0xaf)][_0x49e88a(0x7f)],'content':this[_0x49e88a(0x3bb)]['t'](_0x49e88a(0x2aa))}),_0x330b68['id']===_0x21847c[_0x49e88a(0x2ce)][_0x49e88a(0x99)]&&this[_0x49e88a(0x2bf)][_0x49e88a(0x1e5)]({'type':_0x42c8e3['MessageType']['Error'],'content':this[_0x49e88a(0x3bb)]['t']('collaboration-client-ui.session.connection-failed')}),_0x330b68['id']===_0x21847c[_0x49e88a(0x2ce)][_0x49e88a(0x9d)]&&this[_0x49e88a(0x2bf)][_0x49e88a(0x1e5)]({'type':_0x42c8e3['MessageType'][_0x49e88a(0x125)],'content':this['_localeService']['t'](_0x49e88a(0x270))});}));}};_0x36b37d=_0xfa6df6([_0x518e4c(0x0,_0x50ea5d['IBeforeCloseService']),_0x518e4c(0x1,_0x21847c[_0x23887d(0x10d)]),_0x518e4c(0x2,(0x0,_0x542ae8['Inject'])(_0x21847c[_0x23887d(0x285)])),_0x518e4c(0x3,_0x50ea5d[_0x23887d(0x1e8)]),_0x518e4c(0x4,_0x50ea5d[_0x23887d(0x2a5)]),_0x518e4c(0x5,(0x0,_0x542ae8[_0x23887d(0x34a)])(_0x542ae8['LocaleService']))],_0x36b37d);let _0x2b0332=(0x0,_0x542ae8[_0x23887d(0x8e)])(_0x23887d(0x1c1)),_0x4be763=class extends _0x542ae8['RxDisposable']{constructor(_0xd5be35,_0x57124e,_0x250cb1,_0x464a12,_0x3dffef){const _0x30d978=_0x23887d;super(),this[_0x30d978(0x2f5)]=_0xd5be35,this['_logService']=_0x57124e,this[_0x30d978(0xc6)]=_0x250cb1,this[_0x30d978(0x132)]=_0x464a12,_0x3dffef?_0x3dffef['whenReady']()['then'](()=>this['_init']()):(this[_0x30d978(0x30e)][_0x30d978(0x377)]('[CollaborationDataLoaderController]',_0x30d978(0x37d)),this['_init']());}async[_0x23887d(0xbf)](){const _0x169d59=_0x23887d;let _0x209676=this[_0x169d59(0x2f5)][_0x169d59(0x8c)](_0x169d59(0x256)),_0x11eb70=this[_0x169d59(0x2f5)][_0x169d59(0x8c)]('type'),_0x1df522=this[_0x169d59(0x2f5)][_0x169d59(0x8c)](_0x169d59(0x3b3));if(!_0x209676||!_0x11eb70){this[_0x169d59(0x30e)][_0x169d59(0x377)](_0x169d59(0x87),'No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}let _0x3375b8=await this['_dataLoaderService'][_0x169d59(0x383)](_0x209676,Number(_0x11eb70),_0x1df522);_0x3375b8&&_0x3375b8 instanceof _0x542ae8['Workbook']&&this['_setupSubUnitSync'](_0x3375b8);}async[_0x23887d(0x169)](_0x2144a1){const _0x57c5aa=_0x23887d;await this[_0x57c5aa(0x104)](_0x2144a1),_0x2144a1[_0x57c5aa(0x2a8)][_0x57c5aa(0x28b)]((0x0,_0x381980['takeUntil'])(this[_0x57c5aa(0x138)]))[_0x57c5aa(0x3b1)](_0x14cf3b=>{const _0x243ec4=_0x57c5aa;_0x14cf3b&&this[_0x243ec4(0x137)](_0x14cf3b);}),this[_0x57c5aa(0x2f5)][_0x57c5aa(0x21d)][_0x57c5aa(0x28b)]((0x0,_0x381980['takeUntil'])(this[_0x57c5aa(0x138)]))['subscribe'](()=>this['_updateSubUnitFromURLParams'](_0x2144a1));}[_0x23887d(0x137)](_0x1bca3f,_0x386cd0=!0x1){const _0x1456d3=_0x23887d;let _0x38ba7e=this[_0x1456d3(0x2f5)][_0x1456d3(0x8c)](_0x1456d3(0x3b3));_0x1bca3f[_0x1456d3(0x21a)]()!==_0x38ba7e&&this[_0x1456d3(0x2f5)][_0x1456d3(0x171)](_0x1456d3(0x3b3),_0x1bca3f[_0x1456d3(0x21a)](),_0x386cd0);}async[_0x23887d(0x104)](_0x583302){const _0x366319=_0x23887d;var _0x48210b;let _0x157bef=this[_0x366319(0x2f5)][_0x366319(0x8c)](_0x366319(0x3b3));if(!_0x157bef||!_0x583302['getSheetBySheetId'](_0x157bef)){let _0x1d8b18=_0x583302[_0x366319(0x395)]()[0x0],_0x3f0b98=_0x583302['getSheetBySheetId'](_0x1d8b18);if(!_0x3f0b98)return;this[_0x366319(0x137)](_0x3f0b98,!0x0),await this['_commandService'][_0x366319(0x1b6)](_0x585920[_0x366319(0x3b7)]['id'],{'unitId':_0x583302[_0x366319(0x2e0)](),'subUnitId':_0x1d8b18});return;}((_0x48210b=_0x583302[_0x366319(0x280)]())==null?void 0x0:_0x48210b[_0x366319(0x21a)]())!==_0x157bef&&await this[_0x366319(0xc6)][_0x366319(0x1b6)](_0x585920[_0x366319(0x3b7)]['id'],{'unitId':_0x583302[_0x366319(0x2e0)](),'subUnitId':_0x157bef});}};_0x4be763=_0xfa6df6([_0x518e4c(0x0,_0x2b0332),_0x518e4c(0x1,_0x542ae8[_0x23887d(0x1a6)]),_0x518e4c(0x2,_0x542ae8[_0x23887d(0x268)]),_0x518e4c(0x3,(0x0,_0x542ae8[_0x23887d(0x34a)])(_0x21847c[_0x23887d(0x310)])),_0x518e4c(0x4,(0x0,_0x542ae8[_0x23887d(0x136)])(_0x2a062f[_0x23887d(0xec)]))],_0x4be763);let _0x2742bf=class{constructor(_0xc424af,_0x213584){const _0x521130=_0x23887d;this[_0x521130(0x34d)]=_0xc424af,this[_0x521130(0x2b9)]=_0x213584;}[_0x23887d(0x148)](_0x5063fb){const _0x4320c8=_0x23887d;this[_0x4320c8(0x3a0)](_0x5063fb),this[_0x4320c8(0x241)](_0x5063fb);}[_0x23887d(0x12e)](_0x2663b1){const _0x5b43cb=_0x23887d;let {unitID:_0x26833c}=_0x2663b1,{redoCache:_0x43a791}=this[_0x5b43cb(0x2b9)][_0x5b43cb(0xc4)](_0x26833c)[_0x5b43cb(0x266)](_0x10603f['DocIMEInputManagerService'])['getUndoRedoMutationParamsCache']();if(_0x43a791[_0x5b43cb(0x351)]===0x0)return _0x2663b1;let _0x37332c=_0x542ae8[_0x5b43cb(0x26e)][_0x5b43cb(0x3b0)](_0x2663b1[_0x5b43cb(0x1eb)][0x0]);for(let _0xd9e3b6=0x0;_0xd9e3b6<_0x43a791['length'];_0xd9e3b6++){let _0x36d889={'id':_0x5b43cb(0x156),'params':{..._0x43a791[_0xd9e3b6]}},_0x47e69f=this['_transformService'][_0x5b43cb(0x21e)](_0x37332c,_0x36d889,!0x1);if((0x0,_0x1e0a90[_0x5b43cb(0x3b6)])(_0x47e69f))throw _0x47e69f[_0x5b43cb(0x274)];_0x37332c=_0x47e69f['m1Prime'];}return{..._0x542ae8[_0x5b43cb(0x26e)][_0x5b43cb(0x3b0)](_0x2663b1),'mutations':[_0x37332c]};}['_transformUndoRedoStack'](_0x404627){const _0x2ce8e1=_0x23887d;let {unitID:_0x4d45ac}=_0x404627,_0x9a8a14=this[_0x2ce8e1(0x2b9)]['getRenderById'](_0x4d45ac)[_0x2ce8e1(0x266)](_0x10603f[_0x2ce8e1(0xbd)]),{undoCache:_0x5db3c5,redoCache:_0x245e48}=_0x9a8a14[_0x2ce8e1(0x14d)]();if(_0x5db3c5[_0x2ce8e1(0x351)]===0x0||_0x245e48[_0x2ce8e1(0x351)]===0x0)return;let _0x145d2c=[],_0xce20bc=[],_0x20684e=_0x542ae8['Tools'][_0x2ce8e1(0x3b0)](_0x404627[_0x2ce8e1(0x1eb)][0x0]),_0x1fcebc=_0x542ae8[_0x2ce8e1(0x26e)]['deepClone'](_0x404627['mutations'][0x0]);for(let _0x2a2d4e=_0x5db3c5['length']-0x1;_0x2a2d4e>=0x0;_0x2a2d4e--){let _0xb6c508={'id':_0x2ce8e1(0x156),'params':{..._0x5db3c5[_0x2a2d4e]}},_0x158e33={'id':_0x2ce8e1(0x156),'params':{..._0x245e48[_0x2a2d4e]}},_0x4d3040=this['_transformService'][_0x2ce8e1(0x21e)](_0x20684e,_0xb6c508,!0x1),_0x33027a=this[_0x2ce8e1(0x34d)][_0x2ce8e1(0x21e)](_0x1fcebc,_0x158e33,!0x1);if((0x0,_0x1e0a90[_0x2ce8e1(0x3b6)])(_0x4d3040))throw _0x4d3040['error'];if((0x0,_0x1e0a90[_0x2ce8e1(0x3b6)])(_0x33027a))throw _0x33027a[_0x2ce8e1(0x274)];_0x145d2c[_0x2ce8e1(0x19b)](_0x4d3040['m2Prime']['params']),_0xce20bc[_0x2ce8e1(0x19b)](_0x33027a['m2Prime'][_0x2ce8e1(0x33f)]),_0x20684e=_0x4d3040[_0x2ce8e1(0x2c6)],_0x1fcebc=_0x33027a[_0x2ce8e1(0x2c6)];}_0x9a8a14[_0x2ce8e1(0x3a5)]({'undoCache':_0x145d2c,'redoCache':_0xce20bc});}['_transformPreviousActiveRange'](_0x35b90c){const _0x3a24d4=_0x23887d;let {unitID:_0x3fa594}=_0x35b90c,_0x536776=this['_renderManagerService'][_0x3a24d4(0xc4)](_0x3fa594)[_0x3a24d4(0x266)](_0x10603f[_0x3a24d4(0xbd)]),_0x208d34=_0x536776[_0x3a24d4(0x337)]();if(_0x208d34==null)return;let _0x349a93=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x35b90c[_0x3a24d4(0x164)],'actions':null,'textRanges':[_0x208d34]}}],_0x2bf356=this[_0x3a24d4(0x34d)][_0x3a24d4(0x233)](_0x35b90c,_0x349a93);if(!(0x0,_0x1e0a90['isTransformMutationsWithChangesetSuccess'])(_0x2bf356))throw _0x2bf356[_0x3a24d4(0x274)];let _0x160767=_0x2bf356[_0x3a24d4(0xa6)][0x0][_0x3a24d4(0x33f)]['textRanges'];Array[_0x3a24d4(0x3c8)](_0x160767)&&_0x160767[_0x3a24d4(0x351)]&&_0x536776[_0x3a24d4(0x3bc)](_0x160767[0x0]);}};_0x2742bf=_0xfa6df6([_0x518e4c(0x0,_0x1e0a90[_0x23887d(0x115)]),_0x518e4c(0x1,_0x19aeb8[_0x23887d(0x202)])],_0x2742bf);let _0x485a9c=class{constructor(_0x27e795,_0x537627,_0x30fff9){const _0x464f4d=_0x23887d;this[_0x464f4d(0x359)]=_0x27e795,this[_0x464f4d(0x34d)]=_0x537627,this[_0x464f4d(0x3cd)]=_0x30fff9;}[_0x23887d(0x350)](_0x2e1217){const _0x9a9da4=_0x23887d;this[_0x9a9da4(0x1e2)](_0x2e1217);}['transformRemoteChangeset'](_0x129867){const _0x3881be=_0x23887d;let {unitID:_0x410c07}=_0x129867,{collaboration:_0x17bfd2}=this[_0x3881be(0x3cd)][_0x3881be(0x246)](_0x410c07);if(_0x17bfd2['length']===0x0)return _0x129867;let _0x648803=_0x542ae8[_0x3881be(0x26e)][_0x3881be(0x3b0)](_0x129867[_0x3881be(0x1eb)][0x0]);for(let _0x22fbb7=0x0;_0x22fbb7<_0x17bfd2[_0x3881be(0x351)];_0x22fbb7++){let _0x14ed7c={'id':_0x3881be(0x156),'params':{'unitId':_0x17bfd2[_0x22fbb7]['unitId'],..._0x17bfd2[_0x22fbb7][_0x3881be(0x35a)]}},_0x70ff35=this[_0x3881be(0x34d)][_0x3881be(0x21e)](_0x648803,_0x14ed7c,!0x1);if((0x0,_0x1e0a90[_0x3881be(0x3b6)])(_0x70ff35))throw _0x70ff35[_0x3881be(0x274)];_0x648803=_0x70ff35['m1Prime'];}return{..._0x542ae8['Tools']['deepClone'](_0x129867),'mutations':[_0x648803]};}['_transformHistoryAndStateStack'](_0x33656e){const _0x5e1840=_0x23887d;let {unitID:_0x29d3a6}=_0x33656e,{history:_0xd139d5,collaboration:_0x33af7c}=this[_0x5e1840(0x3cd)][_0x5e1840(0x246)](_0x29d3a6);if(_0xd139d5['length']===0x0&&_0x33af7c[_0x5e1840(0x351)]===0x0)return;let _0x49b1d3=[],_0x28a043=[],_0x2877dd=_0x542ae8['Tools'][_0x5e1840(0x3b0)](_0x33656e[_0x5e1840(0x1eb)][0x0]),_0x3136f2=_0x542ae8[_0x5e1840(0x26e)][_0x5e1840(0x3b0)](_0x33656e[_0x5e1840(0x1eb)][0x0]);for(let _0x360bcf=_0xd139d5[_0x5e1840(0x351)]-0x1;_0x360bcf>=0x0;_0x360bcf--){let _0x362ea6={'id':_0x5e1840(0x156),'params':{'unitId':_0xd139d5[_0x360bcf]['unitId'],..._0xd139d5[_0x360bcf][_0x5e1840(0x3a7)]}},_0x4de8d8={'id':_0x5e1840(0x156),'params':{'unitId':_0xd139d5[_0x360bcf][_0x5e1840(0x73)],..._0xd139d5[_0x360bcf][_0x5e1840(0x35a)]}},_0x301b6c=this[_0x5e1840(0x34d)]['transformMutation'](_0x2877dd,_0x362ea6,!0x1),_0x19e87a=this['_transformService']['transformMutation'](_0x3136f2,_0x4de8d8,!0x1);if((0x0,_0x1e0a90[_0x5e1840(0x3b6)])(_0x301b6c))throw _0x301b6c[_0x5e1840(0x274)];if((0x0,_0x1e0a90['isTransformMutationFailure'])(_0x19e87a))throw _0x19e87a[_0x5e1840(0x274)];_0x49b1d3[_0x5e1840(0x19b)]({..._0xd139d5[_0x360bcf],'undoState':_0x301b6c[_0x5e1840(0xa6)][_0x5e1840(0x33f)],'redoState':_0x19e87a['m2Prime'][_0x5e1840(0x33f)]}),_0x2877dd=_0x301b6c[_0x5e1840(0x2c6)],_0x3136f2=_0x19e87a['m1Prime'];}_0x2877dd=_0x542ae8[_0x5e1840(0x26e)][_0x5e1840(0x3b0)](_0x33656e[_0x5e1840(0x1eb)][0x0]),_0x3136f2=_0x542ae8[_0x5e1840(0x26e)][_0x5e1840(0x3b0)](_0x33656e[_0x5e1840(0x1eb)][0x0]);for(let _0x36c685=_0x33af7c['length']-0x1;_0x36c685>=0x0;_0x36c685--){let _0xff1726={'id':_0x5e1840(0x156),'params':{'unitId':_0x33af7c[_0x36c685][_0x5e1840(0x73)],..._0x33af7c[_0x36c685][_0x5e1840(0x3a7)]}},_0x3bc882={'id':_0x5e1840(0x156),'params':{'unitId':_0x33af7c[_0x36c685][_0x5e1840(0x73)],..._0x33af7c[_0x36c685][_0x5e1840(0x35a)]}},_0x5c8d67=this[_0x5e1840(0x34d)][_0x5e1840(0x21e)](_0x2877dd,_0xff1726,!0x1),_0x46918e=this['_transformService'][_0x5e1840(0x21e)](_0x3136f2,_0x3bc882,!0x1);if((0x0,_0x1e0a90[_0x5e1840(0x3b6)])(_0x5c8d67))throw _0x5c8d67['error'];if((0x0,_0x1e0a90[_0x5e1840(0x3b6)])(_0x46918e))throw _0x46918e[_0x5e1840(0x274)];_0x28a043[_0x5e1840(0x19b)]({..._0x33af7c[_0x36c685],'undoState':_0x5c8d67[_0x5e1840(0xa6)]['params'],'redoState':_0x46918e[_0x5e1840(0xa6)]['params']}),_0x2877dd=_0x5c8d67[_0x5e1840(0x2c6)],_0x3136f2=_0x46918e[_0x5e1840(0x2c6)];}this['_docStateChangeManagerService']['setStateCache'](_0x29d3a6,{'history':_0x49b1d3,'collaboration':_0x28a043});}};_0x485a9c=_0xfa6df6([_0x518e4c(0x0,(0x0,_0x542ae8[_0x23887d(0x34a)])(_0x542ae8[_0x23887d(0x1b9)])),_0x518e4c(0x1,_0x1e0a90['ITransformService']),_0x518e4c(0x2,(0x0,_0x542ae8['Inject'])(_0x13b229[_0x23887d(0x230)]))],_0x485a9c);let _0x28af33=class{constructor(_0x59a528,_0x16aa30){const _0x50286c=_0x23887d;this['_injector']=_0x59a528,this[_0x50286c(0x34d)]=_0x16aa30;}['transformSelections'](_0x121c2f){const _0x414049=_0x23887d;var _0xecaaaf;let _0x29d9fe=this[_0x414049(0x359)][_0x414049(0x178)](_0x13b229['DocSelectionManagerService']),_0x3b4a6f=(_0xecaaaf=_0x29d9fe['getDocRanges']())==null?[]:_0xecaaaf;if(_0x3b4a6f[_0x414049(0x351)]===0x0)return;let _0x5e45b1=_0x121c2f['unitID'],_0x10f659=[{'id':_0x414049(0x156),'params':{'unitId':_0x5e45b1,'actions':null,'textRanges':_0x3b4a6f}}],_0x514693=this[_0x414049(0x34d)][_0x414049(0x233)](_0x121c2f,_0x10f659);if(!(0x0,_0x1e0a90[_0x414049(0x1b0)])(_0x514693))throw _0x514693[_0x414049(0x274)];let _0x5134cb=_0x514693['m2Prime'][0x0][_0x414049(0x33f)][_0x414049(0x2e9)];Array[_0x414049(0x3c8)](_0x5134cb)&&_0x5134cb['length']&&_0x29d9fe[_0x414049(0x17e)](_0x5134cb,{'unitId':_0x5e45b1,'subUnitId':_0x5e45b1},!0x1);}};_0x28af33=_0xfa6df6([_0x518e4c(0x0,(0x0,_0x542ae8[_0x23887d(0x34a)])(_0x542ae8[_0x23887d(0x1b9)])),_0x518e4c(0x1,_0x1e0a90[_0x23887d(0x115)])],_0x28af33);let _0x52bd12=class extends _0x542ae8[_0x23887d(0x106)]{constructor(_0x115d42,_0x50fc0b,_0x2738eb,_0x4b1e3f,_0x59eccd,_0x461afc,_0x3dd122){const _0xf0f024=_0x23887d;super(),this['_collaborationController']=_0x115d42,this[_0xf0f024(0x294)]=_0x50fc0b,this['_docTransformStateCacheService']=_0x2738eb,this['_docTransformSelectionsService']=_0x4b1e3f,this[_0xf0f024(0xb4)]=_0x59eccd,this[_0xf0f024(0x2bf)]=_0x461afc,this[_0xf0f024(0x3bb)]=_0x3dd122,_0x24a4e0(this,_0xf0f024(0x235),new _0x381980[(_0xf0f024(0x7a))](_0x21847c[_0xf0f024(0x26a)][_0xf0f024(0x12f)])),this['_initEntityListener']();}['_initEntityListener'](){const _0x3b9402=_0x23887d;this[_0x3b9402(0x36a)](this[_0x3b9402(0x353)]['entityInit$'][_0x3b9402(0x3b1)](_0xc6fa2=>{const _0x323108=_0x3b9402;_0xc6fa2 instanceof _0x21847c['DocCollaborationEntity']&&_0xc6fa2[_0x323108(0x2e4)]({'onTransformIME':_0x53b719=>this['_docTransformIMECacheService']['transformIMECache'](_0x53b719),'onTransformState':_0x219b97=>this[_0x323108(0x31b)][_0x323108(0x350)](_0x219b97),'onTransformSelections':_0x511b66=>this[_0x323108(0x20f)][_0x323108(0x2de)](_0x511b66),'onSyncEditingCollabCursor':_0x158839=>this[_0x323108(0xb4)]['syncEditingCollabCursor'](_0x158839),'onTransformRemoteChangesetByIMECache':_0x49eb0f=>this['_docTransformIMECacheService'][_0x323108(0x12e)](_0x49eb0f),'onTransformRemoteChangesetByStateCache':_0x163478=>this[_0x323108(0x31b)]['transformRemoteChangeset'](_0x163478)});}));}};_0x52bd12=_0xfa6df6([_0x518e4c(0x0,(0x0,_0x542ae8[_0x23887d(0x34a)])(_0x21847c[_0x23887d(0x26c)])),_0x518e4c(0x1,(0x0,_0x542ae8[_0x23887d(0x34a)])(_0x2742bf)),_0x518e4c(0x2,(0x0,_0x542ae8[_0x23887d(0x34a)])(_0x485a9c)),_0x518e4c(0x3,(0x0,_0x542ae8[_0x23887d(0x34a)])(_0x28af33)),_0x518e4c(0x4,(0x0,_0x542ae8[_0x23887d(0x34a)])(_0x2126a8)),_0x518e4c(0x5,_0x50ea5d['IMessageService']),_0x518e4c(0x6,(0x0,_0x542ae8[_0x23887d(0x34a)])(_0x542ae8[_0x23887d(0x2d3)]))],_0x52bd12);let _0x14f469=class extends _0x542ae8[_0x23887d(0x106)]{constructor(_0x412f85,_0x4036e7,_0x2437a1,_0x3badbf){const _0x1b09ae=_0x23887d;super(),this['_injector']=_0x412f85,this[_0x1b09ae(0x2a0)]=_0x4036e7,this[_0x1b09ae(0x30e)]=_0x2437a1,this[_0x1b09ae(0x1db)]=_0x3badbf,_0x24a4e0(this,'_memberID',void 0x0),this[_0x1b09ae(0xbf)]();}['_init'](){const _0x48a146=_0x23887d;this['_initWindowErrorListener'](),this[_0x48a146(0x183)](),this[_0x48a146(0x2ae)](),this['_initUserListener']();}['_initUserListener'](){const _0x3fed38=_0x23887d;this[_0x3fed38(0x36a)](this[_0x3fed38(0x1db)][_0x3fed38(0x372)][_0x3fed38(0x3b1)](_0x45933f=>{const _0x35a050=_0x3fed38;this['_memberID']=_0x45933f==null?void 0x0:_0x45933f[_0x35a050(0x2ec)];}));}['_initWindowErrorListener'](){const _0x44f11e=_0x23887d;let _0x57d5bf=_0x1b3681=>{const _0x57dc0d=_0x3a65;var _0x9d1854;this['_uploadLog'](_0x57dc0d(0x274),_0x57dc0d(0x21c)+_0x1b3681[_0x57dc0d(0x28c)]+_0x57dc0d(0x2e3)+_0x1b3681[_0x57dc0d(0x110)]+':'+_0x1b3681['lineno']+':'+_0x1b3681['colno']+'\x0a'+(((_0x9d1854=_0x1b3681[_0x57dc0d(0x274)])==null?void 0x0:_0x9d1854[_0x57dc0d(0x100)])||''));};window[_0x44f11e(0x1ab)](_0x44f11e(0x274),_0x57d5bf),this[_0x44f11e(0x36a)](()=>{const _0x4a5618=_0x44f11e;window[_0x4a5618(0x15b)](_0x4a5618(0x274),_0x57d5bf);});}[_0x23887d(0x183)](){const _0x328948=_0x23887d;let _0x439693=_0x2932dc=>{const _0x2ed144=_0x3a65;this[_0x2ed144(0x296)](_0x2ed144(0x274),_0x2ed144(0x26b)+_0x2932dc[_0x2ed144(0x260)]);};window[_0x328948(0x1ab)](_0x328948(0x36f),_0x439693),this[_0x328948(0x36a)](()=>{window['removeEventListener']('unhandledrejection',_0x439693);});}[_0x23887d(0x2ae)](){const _0x4619ed=_0x23887d;let _0x446e0b=this['_logService'][_0x4619ed(0x274)]['bind'](this['_logService']);this[_0x4619ed(0x30e)][_0x4619ed(0x274)]=(..._0x38d101)=>{const _0x55cb0e=_0x4619ed;let _0xe08720=_0x38d101[_0x55cb0e(0xd7)](_0x503581=>_0x503581 instanceof Error?_0x503581[_0x55cb0e(0x28c)]+'\x0a'+_0x503581['stack']:String(_0x503581))[_0x55cb0e(0x334)]('\x20');this[_0x55cb0e(0x296)]('error','[LogService\x20Error]:\x20'+_0xe08720),_0x446e0b(..._0x38d101);},this['disposeWithMe'](()=>{const _0x21d5dc=_0x4619ed;this['_logService'][_0x21d5dc(0x274)]=_0x446e0b;});}[_0x23887d(0x296)](_0x48e302,_0x143496){const _0x41dc06=_0x23887d;try{let _0x241a6d={'userId':this[_0x41dc06(0x276)],'logLabel':_0x48e302,'content':_0x143496};this['_httpService']['post'](_0x41dc06(0x189),{'body':_0x241a6d})['catch'](()=>{});}catch{}}};_0x14f469=_0xfa6df6([_0x518e4c(0x0,(0x0,_0x542ae8[_0x23887d(0x34a)])(_0x542ae8[_0x23887d(0x1b9)])),_0x518e4c(0x1,(0x0,_0x542ae8[_0x23887d(0x34a)])(_0x41ecf8[_0x23887d(0x1f2)])),_0x518e4c(0x2,_0x542ae8[_0x23887d(0x1a6)]),_0x518e4c(0x3,(0x0,_0x542ae8[_0x23887d(0x34a)])(_0x21847c[_0x23887d(0x105)]))],_0x14f469);function _0x26f17b({state$:_0x39681e,interactionBlocked$:_0x5aab21}){const _0x5cd0b8=_0x23887d;return(0x0,_0x60312a[_0x5cd0b8(0x1d0)])(_0x60312a[_0x5cd0b8(0x10a)],{'children':[(0x0,_0x50ea5d['useObservable'])(_0x5aab21,!0x1,!0x0)&&(0x0,_0x60312a[_0x5cd0b8(0x11d)])(_0x5cd0b8(0x2bb),{'data-u-comp':_0x5cd0b8(0x317),'aria-hidden':!0x0,'className':'univer-fixed\x20univer-inset-0\x20univer-z-[1000]\x20univer-cursor-wait'}),(0x0,_0x60312a[_0x5cd0b8(0x11d)])(_0x11168,{'state$':_0x39681e})]});}function _0x11168({state$:_0x5f22f9}){const _0x311660=_0x23887d;let _0x590fc8=(0x0,_0x50ea5d['useObservable'])(_0x5f22f9,null,!0x0);return _0x590fc8?(0x0,_0x60312a[_0x311660(0x1d0)])(_0x311660(0x2bb),{'data-u-comp':'snapshot-loading-timeout','role':'alert','className':_0x311660(0x30f),'children':[(0x0,_0x60312a[_0x311660(0x11d)])(_0x51823e,{'className':_0x311660(0x338)}),(0x0,_0x60312a[_0x311660(0x11d)])(_0x311660(0x2e1),{'children':_0x590fc8[_0x311660(0x301)]}),(0x0,_0x60312a['jsx'])(_0x42c8e3[_0x311660(0xc5)],{'size':'small','variant':'primary','onClick':()=>window[_0x311660(0xce)][_0x311660(0x295)](),'children':_0x590fc8['refreshLabel']})]}):null;}let _0x4919ba=_0x23887d(0x237),_0x55e0a=class extends _0x542ae8[_0x23887d(0x106)]{constructor(_0x32d6d9,_0x23b2b4,_0x30c2df,_0x371506,_0x532758,_0x494593,_0x5ef880,_0x4c929f){const _0x5658d5=_0x23887d;super(),this[_0x5658d5(0xa9)]=_0x32d6d9,this[_0x5658d5(0x2bf)]=_0x23b2b4,this[_0x5658d5(0x3bb)]=_0x30c2df,this[_0x5658d5(0x359)]=_0x371506,this['_pluginService']=_0x532758,this[_0x5658d5(0x30d)]=_0x5ef880,this[_0x5658d5(0x2f5)]=_0x4c929f,_0x24a4e0(this,_0x5658d5(0x22b),new _0x381980[(_0x5658d5(0x7a))](null)),_0x24a4e0(this,'_interactionBlocked$',new _0x381980[(_0x5658d5(0x7a))](!0x1)),_0x24a4e0(this,_0x5658d5(0x2c1),new Set()),_0x24a4e0(this,_0x5658d5(0x9f),new Map()),_0x24a4e0(this,_0x5658d5(0x226),new Set()),_0x24a4e0(this,_0x5658d5(0x12d),new Map()),_0x24a4e0(this,_0x5658d5(0x13f),void 0x0),_0x24a4e0(this,_0x5658d5(0x25d),void 0x0),_0x24a4e0(this,_0x5658d5(0x85),void 0x0),_0x24a4e0(this,_0x5658d5(0x239),this[_0x5658d5(0x22b)][_0x5658d5(0x1ee)]());let _0x60dc78=()=>(0x0,_0x4ba5b5[_0x5658d5(0x16f)])(_0x26f17b,{'state$':this[_0x5658d5(0x239)],'interactionBlocked$':this[_0x5658d5(0x147)]});this[_0x5658d5(0x36a)](_0x494593['registerComponent'](_0x50ea5d[_0x5658d5(0x170)]['GLOBAL'],()=>(0x0,_0x50ea5d['connectInjector'])(_0x60dc78,this[_0x5658d5(0x359)]))),this[_0x5658d5(0x36a)](this[_0x5658d5(0xa9)][_0x5658d5(0x279)][_0x5658d5(0x3b1)](_0x1b1bf5=>{const _0x40cf18=_0x5658d5;this[_0x40cf18(0x12d)]=_0x1b1bf5,_0x1b1bf5[_0x40cf18(0x28f)](_0x301d84=>{const _0x5c6126=_0x40cf18;this[_0x5c6126(0x3ca)](_0x301d84),this['_updateSheetPreview'](_0x301d84);});})),this['disposeWithMe'](this['_urlService'][_0x5658d5(0x21d)][_0x5658d5(0x3b1)](()=>{const _0x401246=_0x5658d5;this['_latestStates'][_0x401246(0x28f)](_0x522e66=>{const _0xb80839=_0x401246;this[_0xb80839(0x3ca)](_0x522e66),this['_updateSheetPreview'](_0x522e66);});}));}['dispose'](){const _0x39650b=_0x23887d;var _0x45ce93;if(this[_0x39650b(0x2c1)]['forEach'](_0x33d2bf=>this['_messageService'][_0x39650b(0x336)](_0x33d2bf)),this[_0x39650b(0x2c1)][_0x39650b(0x16c)](),this[_0x39650b(0x13f)]){var _0x4a0319;(_0x4a0319=this[_0x39650b(0x85)])==null||_0x4a0319[_0x39650b(0x1a0)](this[_0x39650b(0x13f)]);}this['_previewUnitId']=void 0x0,this[_0x39650b(0x9f)][_0x39650b(0x28f)](({timeoutId:_0xe7aef4})=>clearTimeout(_0xe7aef4)),this[_0x39650b(0x9f)][_0x39650b(0x16c)](),(_0x45ce93=this[_0x39650b(0x25d)])==null||_0x45ce93[_0x39650b(0x1bc)](),this['_shortcutBlock']=void 0x0,this[_0x39650b(0x22b)][_0x39650b(0x198)](),this[_0x39650b(0x147)][_0x39650b(0x198)](),super[_0x39650b(0x1bc)]();}[_0x23887d(0x3ca)](_0x8cea65){const _0x13cfd6=_0x23887d;let _0x35d247=''+_0x4919ba+_0x8cea65[_0x13cfd6(0x73)];if(_0x8cea65[_0x13cfd6(0x1e3)]===_0x1e0a90[_0x13cfd6(0xe7)]['COMPLETE']){if(this['_clearBlockProgressWatch'](_0x8cea65[_0x13cfd6(0x73)]),this[_0x13cfd6(0x2fa)](_0x8cea65[_0x13cfd6(0x73)])&&this['_previewUnitId']===_0x8cea65[_0x13cfd6(0x73)]){this[_0x13cfd6(0x2bf)][_0x13cfd6(0x1e5)]({'id':_0x35d247,'type':_0x42c8e3[_0x13cfd6(0xaf)]['Loading'],'duration':0x1/0x0,'content':this[_0x13cfd6(0x3bb)]['t']('collaboration-client-ui.snapshotLoading.loadingSheet')}),this[_0x13cfd6(0x2c1)][_0x13cfd6(0x2b6)](_0x35d247);return;}this[_0x13cfd6(0x14a)](_0x8cea65[_0x13cfd6(0x73)]),this['_messageService'][_0x13cfd6(0x336)](_0x35d247),this[_0x13cfd6(0x2c1)]['delete'](_0x35d247);return;}if(!this[_0x13cfd6(0x2fa)](_0x8cea65[_0x13cfd6(0x73)])){this['_clearBlockProgressWatch'](_0x8cea65[_0x13cfd6(0x73)]),this[_0x13cfd6(0x14a)](_0x8cea65[_0x13cfd6(0x73)]),this['_messageService'][_0x13cfd6(0x336)](_0x35d247),this[_0x13cfd6(0x2c1)]['delete'](_0x35d247);return;}if(_0x8cea65[_0x13cfd6(0x1e3)]===_0x1e0a90[_0x13cfd6(0xe7)][_0x13cfd6(0x2f1)]){this[_0x13cfd6(0xc0)](_0x8cea65['unitId']),this[_0x13cfd6(0x14a)](_0x8cea65[_0x13cfd6(0x73)]),this[_0x13cfd6(0x2bf)]['show']({'id':_0x35d247,'type':_0x42c8e3[_0x13cfd6(0xaf)][_0x13cfd6(0x125)],'content':this[_0x13cfd6(0x3bb)]['t'](_0x13cfd6(0x2d1))}),this[_0x13cfd6(0x2c1)][_0x13cfd6(0xe5)](_0x35d247);return;}if(_0x8cea65['stage']!==_0x1e0a90[_0x13cfd6(0xe7)][_0x13cfd6(0xa7)]||_0x8cea65[_0x13cfd6(0x94)]<=0xa){this[_0x13cfd6(0xc0)](_0x8cea65[_0x13cfd6(0x73)]),this['_messageService'][_0x13cfd6(0x336)](_0x35d247),this[_0x13cfd6(0x2c1)][_0x13cfd6(0xe5)](_0x35d247);return;}this['_watchBlockProgress'](_0x8cea65)||(this[_0x13cfd6(0x2bf)]['show']({'id':_0x35d247,'type':_0x42c8e3['MessageType'][_0x13cfd6(0x2d5)],'duration':0x1/0x0,'content':this['_localeService']['t']('collaboration-client-ui.collabStatus.fetchMiss')+'\x20'+_0x8cea65[_0x13cfd6(0x18b)]+'/'+_0x8cea65[_0x13cfd6(0x94)]}),this[_0x13cfd6(0x2c1)][_0x13cfd6(0x2b6)](_0x35d247));}['_watchBlockProgress'](_0x1d054b){const _0x609150=_0x23887d;let _0x343040=this['_blockProgressWatches'][_0x609150(0x178)](_0x1d054b[_0x609150(0x73)]);if((_0x343040==null?void 0x0:_0x343040[_0x609150(0x18b)])===_0x1d054b[_0x609150(0x18b)])return _0x343040[_0x609150(0x356)];this[_0x609150(0xc0)](_0x1d054b[_0x609150(0x73)]);let _0x2b9bc4=setTimeout(()=>{const _0x2b03b5=_0x609150;let _0x4c9caa=this[_0x2b03b5(0x9f)]['get'](_0x1d054b[_0x2b03b5(0x73)]);if(!_0x4c9caa||_0x4c9caa[_0x2b03b5(0x134)]!==_0x2b9bc4)return;_0x4c9caa[_0x2b03b5(0x356)]=!0x0;let _0x189549=''+_0x4919ba+_0x1d054b[_0x2b03b5(0x73)];this[_0x2b03b5(0x2bf)][_0x2b03b5(0x336)](_0x189549),this[_0x2b03b5(0x2c1)]['delete'](_0x189549),this[_0x2b03b5(0x22b)][_0x2b03b5(0x250)]({'unitId':_0x1d054b[_0x2b03b5(0x73)],'content':this[_0x2b03b5(0x3bb)]['t'](_0x2b03b5(0x176),String(_0x1d054b[_0x2b03b5(0x18b)]),String(_0x1d054b[_0x2b03b5(0x94)])),'refreshLabel':this[_0x2b03b5(0x3bb)]['t'](_0x2b03b5(0x122))});},0xea60);return this[_0x609150(0x9f)][_0x609150(0x341)](_0x1d054b[_0x609150(0x73)],{'loadedBlocks':_0x1d054b[_0x609150(0x18b)],'timedOut':!0x1,'timeoutId':_0x2b9bc4}),!0x1;}[_0x23887d(0xc0)](_0x6f6763){const _0x552a4d=_0x23887d;let _0x28b76c=this[_0x552a4d(0x9f)]['get'](_0x6f6763);_0x28b76c&&(clearTimeout(_0x28b76c[_0x552a4d(0x134)]),this[_0x552a4d(0x9f)][_0x552a4d(0xe5)](_0x6f6763),this[_0x552a4d(0x14a)](_0x6f6763));}['_clearTimeoutState'](_0x44fef2){const _0x4cafad=_0x23887d;var _0x408b60;((_0x408b60=this[_0x4cafad(0x22b)][_0x4cafad(0x17c)])==null?void 0x0:_0x408b60[_0x4cafad(0x73)])===_0x44fef2&&this[_0x4cafad(0x22b)][_0x4cafad(0x250)](null);}[_0x23887d(0x347)](_0x5d3b50){const _0x42fea1=_0x23887d;if(_0x5d3b50['stage']===_0x1e0a90[_0x42fea1(0xe7)][_0x42fea1(0x109)]&&this[_0x42fea1(0x226)][_0x42fea1(0xe5)](_0x5d3b50['unitId']),!this['_isVisibleUnit'](_0x5d3b50[_0x42fea1(0x73)])){this[_0x42fea1(0x355)](_0x5d3b50[_0x42fea1(0x73)]);return;}if(_0x5d3b50[_0x42fea1(0x1e3)]===_0x1e0a90[_0x42fea1(0xe7)][_0x42fea1(0x2f1)]||_0x5d3b50[_0x42fea1(0x94)]<=0xa){this['_hidePreview'](_0x5d3b50[_0x42fea1(0x73)]);return;}if(_0x5d3b50[_0x42fea1(0x1e3)]===_0x1e0a90['SnapshotLoadStage']['COMPLETE']){this[_0x42fea1(0x299)](_0x5d3b50[_0x42fea1(0x73)]);return;}if(_0x5d3b50[_0x42fea1(0x1e3)]===_0x1e0a90[_0x42fea1(0xe7)]['LOADING_BLOCKS']&&_0x5d3b50[_0x42fea1(0x243)]&&_0x5d3b50[_0x42fea1(0xb5)]){let _0x4258b7=this[_0x42fea1(0x1cf)]();if(!_0x4258b7)return;this[_0x42fea1(0x13f)]&&this[_0x42fea1(0x13f)]!==_0x5d3b50['unitId']&&this[_0x42fea1(0x355)](this['_previewUnitId']),_0x4258b7[_0x42fea1(0x1c3)](_0x5d3b50['workbookShell'],_0x5d3b50[_0x42fea1(0xb5)]),this[_0x42fea1(0x13f)]=_0x5d3b50[_0x42fea1(0x73)],this['_setInteractionBlocked'](!0x0),_0x5d3b50[_0x42fea1(0x36e)]&&_0x4258b7['show'](_0x5d3b50[_0x42fea1(0x243)],_0x5d3b50[_0x42fea1(0xb5)],_0x5d3b50[_0x42fea1(0xe8)]);}}[_0x23887d(0x299)](_0x2177ff){const _0x232395=_0x23887d;if(this[_0x232395(0x13f)]!==_0x2177ff||this[_0x232395(0x226)][_0x232395(0x1d6)](_0x2177ff))return;let _0x585025=this[_0x232395(0x85)];_0x585025&&(this['_handoffUnitIds'][_0x232395(0x2b6)](_0x2177ff),_0x585025[_0x232395(0x2af)](_0x2177ff,0x2710)[_0x232395(0x2fc)](_0x2740bf=>{const _0x3a2f9f=_0x232395;if(this[_0x3a2f9f(0x13f)]!==_0x2177ff)return;if(_0x2740bf){let _0x141935=''+_0x4919ba+_0x2177ff;this[_0x3a2f9f(0x2bf)][_0x3a2f9f(0x336)](_0x141935),this[_0x3a2f9f(0x2c1)][_0x3a2f9f(0xe5)](_0x141935),this[_0x3a2f9f(0x13f)]=void 0x0,this[_0x3a2f9f(0x2c4)](!0x1);return;}let _0x59026a=''+_0x4919ba+_0x2177ff;this[_0x3a2f9f(0x2bf)][_0x3a2f9f(0x336)](_0x59026a),this[_0x3a2f9f(0x2c1)][_0x3a2f9f(0xe5)](_0x59026a),this['_timeoutState$'][_0x3a2f9f(0x250)]({'unitId':_0x2177ff,'content':this[_0x3a2f9f(0x3bb)]['t'](_0x3a2f9f(0x2d1)),'refreshLabel':this[_0x3a2f9f(0x3bb)]['t']('collaboration-client-ui.snapshotLoading.refresh')});}));}[_0x23887d(0x355)](_0x4f743b){const _0x199f5b=_0x23887d;var _0x408af2;this[_0x199f5b(0x13f)]===_0x4f743b&&((_0x408af2=this[_0x199f5b(0x85)])==null||_0x408af2[_0x199f5b(0x1a0)](_0x4f743b),this['_previewUnitId']=void 0x0,this['_setInteractionBlocked'](!0x1));}[_0x23887d(0x2c4)](_0x508ad4){const _0x522cfd=_0x23887d;if(_0x508ad4!==this['_interactionBlocked$'][_0x522cfd(0x17c)]){if(_0x508ad4)this['_shortcutBlock']=this['_shortcutService'][_0x522cfd(0x1d8)]();else{var _0x593f2e;(_0x593f2e=this[_0x522cfd(0x25d)])==null||_0x593f2e['dispose'](),this[_0x522cfd(0x25d)]=void 0x0;}this[_0x522cfd(0x147)][_0x522cfd(0x250)](_0x508ad4);}}[_0x23887d(0x2fa)](_0x3ac2f6){const _0x223c01=_0x23887d;let _0x3cfe94=this['_urlService']['getParam'](_0x223c01(0x256));return!_0x3cfe94||_0x3cfe94===_0x3ac2f6;}['_getSheetLoadingRenderService'](){const _0x5e27a5=_0x23887d;return this[_0x5e27a5(0x85)]?this['_sheetLoadingRenderService']:(this['_pluginService'][_0x5e27a5(0x96)](_0x542ae8[_0x5e27a5(0x1af)][_0x5e27a5(0x20c)]),this['_injector'][_0x5e27a5(0x1d6)](_0x17f229[_0x5e27a5(0x39b)])&&(this[_0x5e27a5(0x85)]=this[_0x5e27a5(0x359)][_0x5e27a5(0x178)](_0x17f229[_0x5e27a5(0x39b)])),this[_0x5e27a5(0x85)]);}};_0x55e0a=_0xfa6df6([_0x518e4c(0x0,(0x0,_0x542ae8[_0x23887d(0x34a)])(_0x1e0a90[_0x23887d(0x142)])),_0x518e4c(0x1,_0x50ea5d[_0x23887d(0x1e8)]),_0x518e4c(0x2,(0x0,_0x542ae8[_0x23887d(0x34a)])(_0x542ae8[_0x23887d(0x2d3)])),_0x518e4c(0x3,(0x0,_0x542ae8['Inject'])(_0x542ae8[_0x23887d(0x1b9)])),_0x518e4c(0x4,(0x0,_0x542ae8[_0x23887d(0x34a)])(_0x542ae8[_0x23887d(0x284)])),_0x518e4c(0x5,_0x50ea5d[_0x23887d(0x101)]),_0x518e4c(0x6,_0x50ea5d[_0x23887d(0x1b8)]),_0x518e4c(0x7,_0x2b0332)],_0x55e0a);function _0x5f3ef0(_0x2a2073){const _0x5ccbfd=_0x23887d;var _0x39780e,_0x34fc1b;let _0x143f0a=(_0x39780e=_0x2a2073[_0x5ccbfd(0x385)])==null?void 0x0:_0x39780e[_0x5ccbfd(0x1e3)],_0xe5c4c2=((_0x34fc1b=_0x2a2073[_0x5ccbfd(0x385)])==null?void 0x0:_0x34fc1b[_0x5ccbfd(0x1a7)])||0x0;return _0x143f0a===_0x335eab[_0x5ccbfd(0x26f)][_0x5ccbfd(0x79)]&&_0xe5c4c2>0x0;}function _0x512c7e(_0x5a4147){const _0xe5330f=_0x23887d;return _0x5a4147[_0xe5330f(0x18d)]===_0x335eab['FormulaExecutedStateType'][_0xe5330f(0x1c7)];}let _0x493c0d=class extends _0x542ae8[_0x23887d(0x106)]{constructor(_0x44b01c,_0x5a926a,_0x2d0820,_0x284eb0,_0x2186bb,_0x3adff6,_0x2c032b){const _0x3aad47=_0x23887d;super(),this[_0x3aad47(0x2bf)]=_0x44b01c,this[_0x3aad47(0xc6)]=_0x5a926a,this[_0x3aad47(0x2ee)]=_0x2d0820,this[_0x3aad47(0x2a0)]=_0x284eb0,this['_univerInstanceService']=_0x2186bb,this[_0x3aad47(0x30e)]=_0x3adff6,this['_localeService']=_0x2c032b,_0x24a4e0(this,_0x3aad47(0xd0),null),_0x24a4e0(this,'_maxFormulaLimit',0x0),_0x24a4e0(this,'_currentUsage',0x0),_0x24a4e0(this,_0x3aad47(0x18f),[]),_0x24a4e0(this,_0x3aad47(0x300),0x0),this[_0x3aad47(0x10b)]();}[_0x23887d(0x10b)](){const _0x1d8ab6=_0x23887d;this[_0x1d8ab6(0x36a)](this[_0x1d8ab6(0xc6)][_0x1d8ab6(0x2fd)]((_0x332395,_0x1338e5)=>{const _0x3ad493=_0x1d8ab6;var _0x5e4588;if(_0x332395['id']!==_0x335eab['SetFormulaCalculationStartMutation']['id'])return;let _0x2d1f3f=_0x332395['params'];if(this['_hasFormulaInDirtyRanges']((_0x5e4588=_0x2d1f3f[_0x3ad493(0x39f)])==null?[]:_0x5e4588)&&!this[_0x3ad493(0x259)]())throw this[_0x3ad493(0x1c0)](_0x332395,_0x1338e5),this[_0x3ad493(0x335)](),new _0x542ae8[(_0x3ad493(0xd3))]();})),this[_0x1d8ab6(0x36a)](this['_commandService'][_0x1d8ab6(0xe9)]((_0x5552ec,_0x233599)=>{const _0x3e3fc5=_0x1d8ab6;if(_0x5552ec['id']!==_0x335eab[_0x3e3fc5(0x3c7)]['id'])return;let _0x327079=_0x5552ec['params'];if(_0x5f3ef0(_0x327079)){let _0x3876a8=(0x0,_0x542ae8[_0x3e3fc5(0x119)])();this[_0x3e3fc5(0x18f)][_0x3e3fc5(0x363)](_0x3876a8),this[_0x3e3fc5(0x34f)](_0x3876a8);}else{if(_0x512c7e(_0x327079)&&this['_taskIds'][_0x3e3fc5(0x351)]>0x0){let _0x2c1177=this[_0x3e3fc5(0x18f)][_0x3e3fc5(0xf6)]();this[_0x3e3fc5(0x252)](_0x2c1177);}}}));}[_0x23887d(0x1bc)](){const _0x2fa15c=_0x23887d;super[_0x2fa15c(0x1bc)](),this[_0x2fa15c(0x27a)](),this[_0x2fa15c(0x18f)]=[],this[_0x2fa15c(0x24b)]=0x0,this[_0x2fa15c(0x8d)]=0x0,this[_0x2fa15c(0x300)]=0x0;}async[_0x23887d(0x1c0)](_0x370d07,_0x1535f0){const _0x5e67b7=_0x23887d;for(let _0x40d5f6=0x0;_0x40d5f6<0x1e;_0x40d5f6++)try{if(await this[_0x5e67b7(0x6c)](),this[_0x5e67b7(0x259)]()){this[_0x5e67b7(0x181)](_0x370d07,_0x1535f0),this[_0x5e67b7(0x2bf)][_0x5e67b7(0x1e5)]({'content':this[_0x5e67b7(0x3bb)]['t'](_0x5e67b7(0xae)),'type':_0x42c8e3[_0x5e67b7(0xaf)]['Success']});return;}await new Promise(_0x1f7e13=>{this['_pollingInterval']=window['setTimeout'](_0x1f7e13,0x3e8);});}catch(_0x5a96fa){this['_logService'][_0x5e67b7(0x274)](_0x5a96fa);}this[_0x5e67b7(0x2bf)][_0x5e67b7(0x1e5)]({'content':this['_localeService']['t'](_0x5e67b7(0xb1)),'type':_0x42c8e3[_0x5e67b7(0xaf)][_0x5e67b7(0x125)]});}[_0x23887d(0x181)](_0x19e677,_0x492b8d){const _0x455899=_0x23887d;try{this[_0x455899(0xc6)][_0x455899(0x1b6)](_0x19e677['id'],_0x19e677[_0x455899(0x33f)],_0x492b8d);}catch(_0x5a30fb){this['_logService']['error'](_0x5a30fb);}}['_setFormulaLimitStatus'](_0xaf2ec7,_0x2f6b0c){const _0x44e8ca=_0x23887d;_0x2f6b0c<this['_lastResponseTimestamp']||(this[_0x44e8ca(0x300)]=_0x2f6b0c,this[_0x44e8ca(0x8d)]=Number['parseInt'](_0xaf2ec7[_0x44e8ca(0x17d)]),this['_currentUsage']=Number[_0x44e8ca(0x145)](_0xaf2ec7[_0x44e8ca(0x2eb)]));}async[_0x23887d(0x34f)](_0x5c9679){const _0x5d2a79=_0x23887d;let _0x29f817=Date[_0x5d2a79(0x124)]();try{var _0x5bf9bb,_0x1e4d48;let _0x5a323c=((_0x5bf9bb=this[_0x5d2a79(0x2ee)]['getConfig'](_0x21847c['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']))==null?void 0x0:_0x5bf9bb[_0x5d2a79(0x32e)])||_0x5d2a79(0x32d),_0x45cff1=(await this['_httpService'][_0x5d2a79(0x89)](_0x5a323c,{'body':JSON[_0x5d2a79(0xa4)]({'taskId':_0x5c9679})}))['body'];if(((_0x1e4d48=_0x45cff1['error'])==null?void 0x0:_0x1e4d48[_0x5d2a79(0x2b7)])!==_0x44736d['ErrorCode']['OK'])return;this[_0x5d2a79(0x3b5)](_0x45cff1[_0x5d2a79(0x29c)],_0x29f817);}catch(_0x44ab4a){this[_0x5d2a79(0x30e)][_0x5d2a79(0x274)](_0x44ab4a);}}async[_0x23887d(0x6c)](_0x4346c7){const _0x599511=_0x23887d;let _0x4f870a=Date[_0x599511(0x124)]();try{var _0x2d7303,_0x41ad6c;let _0x6a950b=((_0x2d7303=this[_0x599511(0x2ee)][_0x599511(0x2c9)](_0x21847c[_0x599511(0x315)]))==null?void 0x0:_0x2d7303['getFormulaLimitStatusUrl'])||_0x599511(0xc1),_0x486a57=_0x4346c7?_0x6a950b+_0x599511(0x186)+encodeURIComponent(_0x4346c7):_0x6a950b,_0x21bc0a=(await this[_0x599511(0x2a0)][_0x599511(0x178)](_0x486a57))[_0x599511(0x9c)];if(((_0x41ad6c=_0x21bc0a[_0x599511(0x274)])==null?void 0x0:_0x41ad6c[_0x599511(0x2b7)])!==_0x44736d[_0x599511(0x16a)]['OK'])return;this[_0x599511(0x3b5)](_0x21bc0a[_0x599511(0x29c)],_0x4f870a);}catch(_0x5f12cd){this[_0x599511(0x30e)]['error'](_0x5f12cd);}}async['_releaseCalculationLimit'](_0x407a1e){const _0x176b08=_0x23887d;let _0x53c9ce=Date['now']();try{var _0x2e7583,_0x56d6fd;let _0x5a0686=((_0x2e7583=this[_0x176b08(0x2ee)][_0x176b08(0x2c9)](_0x21847c['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']))==null?void 0x0:_0x2e7583[_0x176b08(0x1c5)])||_0x176b08(0x331),_0x4840fe=(await this[_0x176b08(0x2a0)][_0x176b08(0x89)](_0x5a0686,{'body':JSON['stringify']({'taskId':_0x407a1e})}))[_0x176b08(0x9c)];if(((_0x56d6fd=_0x4840fe[_0x176b08(0x274)])==null?void 0x0:_0x56d6fd[_0x176b08(0x2b7)])!==_0x44736d['ErrorCode']['OK'])return;this['_setFormulaLimitStatus'](_0x4840fe[_0x176b08(0x29c)],_0x53c9ce);}catch(_0x2b3500){this[_0x176b08(0x30e)][_0x176b08(0x274)](_0x2b3500);}}[_0x23887d(0x259)](){const _0x5cce5d=_0x23887d;return this[_0x5cce5d(0x8d)]===0x0?!0x0:this[_0x5cce5d(0x8d)]-this[_0x5cce5d(0x24b)]>0x0;}[_0x23887d(0x27a)](){const _0x434b1e=_0x23887d;this[_0x434b1e(0xd0)]&&(clearTimeout(this[_0x434b1e(0xd0)]),this[_0x434b1e(0xd0)]=null);}[_0x23887d(0x335)](){const _0x3483f2=_0x23887d;this[_0x3483f2(0x2bf)][_0x3483f2(0x1e5)]({'content':this[_0x3483f2(0x3bb)]['t']('collaboration-client-ui.formula.calculation.waiting'),'type':_0x42c8e3[_0x3483f2(0xaf)][_0x3483f2(0x2d5)]});}['_hasFormulaInDirtyRanges'](_0x535d46){const _0x28b6f1=_0x23887d;for(let _0x4c8184 of _0x535d46){let {unitId:_0x3689da,sheetId:_0x382d09,range:_0x3d7982}=_0x4c8184,_0x359485=this[_0x28b6f1(0x15f)][_0x28b6f1(0x31f)](_0x3689da);if(!_0x359485)continue;let _0x236a97=_0x359485['getSheetBySheetId'](_0x382d09);if(!_0x236a97)continue;let _0x350f90=_0x236a97[_0x28b6f1(0x1f8)]();for(let _0x4be961=_0x3d7982[_0x28b6f1(0x229)];_0x4be961<=_0x3d7982[_0x28b6f1(0x1fb)];_0x4be961++)for(let _0x5c2f25=_0x3d7982[_0x28b6f1(0x3c4)];_0x5c2f25<=_0x3d7982[_0x28b6f1(0x1ac)];_0x5c2f25++){let _0x111cc7=_0x350f90[_0x28b6f1(0x1cb)](_0x4be961,_0x5c2f25);if(_0x111cc7&&((0x0,_0x542ae8[_0x28b6f1(0x3ae)])(_0x111cc7['f'])||(0x0,_0x542ae8['isFormulaId'])(_0x111cc7['si'])))return!0x0;}}return!0x1;}};_0x493c0d=_0xfa6df6([_0x518e4c(0x0,(0x0,_0x542ae8[_0x23887d(0x34a)])(_0x50ea5d['IMessageService'])),_0x518e4c(0x1,_0x542ae8['ICommandService']),_0x518e4c(0x2,_0x542ae8[_0x23887d(0x37b)]),_0x518e4c(0x3,(0x0,_0x542ae8[_0x23887d(0x34a)])(_0x41ecf8[_0x23887d(0x1f2)])),_0x518e4c(0x4,_0x542ae8[_0x23887d(0x129)]),_0x518e4c(0x5,_0x542ae8['ILogService']),_0x518e4c(0x6,(0x0,_0x542ae8[_0x23887d(0x34a)])(_0x542ae8['LocaleService']))],_0x493c0d);let _0xb51bd8=class extends _0x542ae8[_0x23887d(0x106)]{constructor(_0x1ed7fa,_0x46becd,_0x5d5cd2){const _0x42196b=_0x23887d;super(),this[_0x42196b(0x2ee)]=_0x1ed7fa,this[_0x42196b(0x28a)]=_0x46becd,this[_0x42196b(0x102)]=_0x5d5cd2,_0x24a4e0(this,_0x42196b(0x37a),new Map()),_0x24a4e0(this,_0x42196b(0x1aa),new Map()),_0x24a4e0(this,_0x42196b(0x1ec),!0x1);}[_0x23887d(0x15d)](){const _0x31c077=_0x23887d;this[_0x31c077(0x1ec)]=!0x0;}[_0x23887d(0x1d7)](){this['_disabled']=!0x1;}get[_0x23887d(0x2f9)](){const _0x1aab2f=_0x23887d;return this[_0x1aab2f(0x1aa)];}[_0x23887d(0x1bc)](){const _0x94c622=_0x23887d;this[_0x94c622(0x219)]()['then'](()=>super['dispose']());}async[_0x23887d(0x1c2)](_0x2ea937){const _0x5c103d=_0x23887d;return this[_0x5c103d(0x1ec)]?null:this[_0x5c103d(0x28a)]['getItem']((0x0,_0x21847c[_0x5c103d(0x93)])(_0x2ea937));}async[_0x23887d(0xd1)](_0x1e1c44,_0x619e6d){const _0x73a36e=_0x23887d;return!!this[_0x73a36e(0x28a)][_0x73a36e(0x1dd)]((0x0,_0x21847c['getLocalCacheKey'])(_0x1e1c44),_0x619e6d);}async[_0x23887d(0x121)](_0x325625,_0x3a760e){const _0x3fdf61=_0x23887d;var _0x4ed23c;let _0xf0ccbb=(_0x4ed23c=this[_0x3fdf61(0x37a)][_0x3fdf61(0x178)](_0x325625))==null?await this['_localStorageService']['getItem']((0x0,_0x21847c['getLocalCacheKey'])(_0x325625)):_0x4ed23c;if(!_0xf0ccbb)return;let _0xa6d3c8=Date[_0x3fdf61(0x124)](),_0x170ae8=new Date(_0xa6d3c8)[_0x3fdf61(0x2f0)]();await this['_localStorageService'][_0x3fdf61(0x1dd)]((0x0,_0x21847c['getLocalCacheKey'])(_0x325625)+_0x3fdf61(0x80)+_0xa6d3c8,{'reason':_0x3a760e,'createdAt':_0x170ae8,'data':_0xf0ccbb});}[_0x23887d(0x309)](_0x5ec804,_0x3db9e7,_0x3fac0b,_0x1ebe6e){const _0x494cd6=_0x23887d;let _0x553246=this[_0x494cd6(0x102)][_0x494cd6(0x213)](_0x5ec804);this['_cachedData'][_0x494cd6(0x341)](_0x5ec804,{'unitID':_0x5ec804,'type':_0x3db9e7,'awaitingChangeset':_0x3fac0b,'mutations':_0x1ebe6e,'rev':_0x553246}),this[_0x494cd6(0x1aa)][_0x494cd6(0x1d6)](_0x5ec804)||this[_0x494cd6(0xda)](_0x5ec804);}[_0x23887d(0xda)](_0x123ab4){const _0x273fb9=_0x23887d;let _0x1afbfa=this[_0x273fb9(0x30c)]();_0x1afbfa===0x0?this[_0x273fb9(0x205)](_0x123ab4):this[_0x273fb9(0x1aa)]['set'](_0x123ab4,window[_0x273fb9(0x35f)](()=>this[_0x273fb9(0x205)](_0x123ab4),_0x1afbfa));}[_0x23887d(0x30c)](){const _0x39a6d1=_0x23887d;var _0xfe1235;return(_0xfe1235=this[_0x39a6d1(0x2ee)][_0x39a6d1(0x2c9)](_0x21847c['LOCAL_CACHE_INTERVAL_KEY']))==null?_0x21847c[_0x39a6d1(0x39a)]:_0xfe1235;}['_saveCache'](_0x10560c){const _0x4ee8f3=_0x23887d;let _0x4d1b77=this['_saveTaskMap'][_0x4ee8f3(0x178)](_0x10560c);return _0x4d1b77!==void 0x0&&window[_0x4ee8f3(0x6e)](_0x4d1b77),this[_0x4ee8f3(0x28a)][_0x4ee8f3(0x1dd)]((0x0,_0x21847c['getLocalCacheKey'])(_0x10560c),this[_0x4ee8f3(0x37a)][_0x4ee8f3(0x178)](_0x10560c))['then'](()=>this[_0x4ee8f3(0x1aa)][_0x4ee8f3(0xe5)](_0x10560c));}async[_0x23887d(0x219)](){const _0x4f94d8=_0x23887d;let _0x90fb6e=[];this[_0x4f94d8(0x1aa)][_0x4f94d8(0x28f)]((_0x5a876f,_0xb1d31d)=>{const _0x3308cb=_0x4f94d8;window[_0x3308cb(0x6e)](_0x5a876f),_0x90fb6e[_0x3308cb(0x363)](this[_0x3308cb(0x205)](_0xb1d31d)[_0x3308cb(0x2fc)](()=>{const _0x636aec=_0x3308cb;this[_0x636aec(0x1aa)][_0x636aec(0xe5)](_0xb1d31d);}));}),await Promise[_0x4f94d8(0x118)](_0x90fb6e);}};_0xb51bd8=_0xfa6df6([_0x518e4c(0x0,_0x542ae8[_0x23887d(0x37b)]),_0x518e4c(0x1,_0x542ae8[_0x23887d(0x1fa)]),_0x518e4c(0x2,(0x0,_0x542ae8[_0x23887d(0x34a)])(_0x1e0a90[_0x23887d(0x36d)]))],_0xb51bd8);var _0x33c48f=class extends _0x542ae8[_0x23887d(0x292)]{constructor(){const _0x1abe04=_0x23887d;super(),_0x24a4e0(this,_0x1abe04(0x21d),void 0x0),this[_0x1abe04(0x21d)]=(0x0,_0x381980[_0x1abe04(0x2cb)])(window,'popstate')[_0x1abe04(0x28b)]((0x0,_0x381980[_0x1abe04(0x29b)])(this[_0x1abe04(0x138)]),(0x0,_0x381980[_0x1abe04(0x327)])({'bufferSize':0x1,'refCount':!0x0}),(0x0,_0x381980[_0x1abe04(0x35c)])(void 0x0));}[_0x23887d(0x171)](_0x36f113,_0x352853,_0x128b75=!0x1){const _0x35fa45=_0x23887d;let _0x17fcdb=new URL(window[_0x35fa45(0xce)][_0x35fa45(0x139)]);_0x17fcdb[_0x35fa45(0x2fb)][_0x35fa45(0x341)](_0x36f113,_0x352853),_0x128b75?window[_0x35fa45(0xe6)]['replaceState']('','',_0x17fcdb[_0x35fa45(0x1e4)]()):window['history'][_0x35fa45(0x224)]('','',_0x17fcdb[_0x35fa45(0x1e4)]());}[_0x23887d(0x398)](_0x2f991b,_0x547f56=!0x1){const _0x5d4c31=_0x23887d;let _0x3a85f9=new URL(window[_0x5d4c31(0xce)][_0x5d4c31(0x139)]);_0x3a85f9[_0x5d4c31(0x2fb)][_0x5d4c31(0xe5)](_0x2f991b),_0x547f56?window[_0x5d4c31(0xe6)][_0x5d4c31(0x179)]('','',_0x3a85f9[_0x5d4c31(0x1e4)]()):window[_0x5d4c31(0xe6)]['pushState']('','',_0x3a85f9[_0x5d4c31(0x1e4)]());}[_0x23887d(0x8c)](_0x52be0b){const _0x3c82e9=_0x23887d;var _0x178eff;return(_0x178eff=new URL(window[_0x3c82e9(0xce)][_0x3c82e9(0x139)])['searchParams'][_0x3c82e9(0x178)](_0x52be0b))==null?void 0x0:_0x178eff;}};let _0x66b071=class extends _0x542ae8[_0x23887d(0x33d)]{constructor(_0x109b14=_0x2e5170,_0x45b9a3,_0x2c41c7,_0x1c942f){const _0x77ee90=_0x23887d;super(),this['_config']=_0x109b14,this['_renderManagerService']=_0x45b9a3,this['_injector']=_0x2c41c7,this['_configService']=_0x1c942f;let {..._0x4c4348}=(0x0,_0x542ae8[_0x77ee90(0x399)])({},_0x2e5170,this[_0x77ee90(0x35d)]);this['_configService'][_0x77ee90(0x193)](_0x77ee90(0x344),_0x4c4348);}[_0x23887d(0x135)](){const _0x103865=_0x23887d;this[_0x103865(0x290)](),this[_0x103865(0x392)]();}[_0x23887d(0x2d6)](){const _0x34467c=_0x23887d;this[_0x34467c(0x7b)]();}[_0x23887d(0x290)](){const _0x5615ff=_0x23887d;var _0x10e02e;let _0x440318=[[_0x5fa53e],[_0x493c0d],[_0x2b0332,{'useClass':_0x33c48f}],[_0x41ecf8[_0x5615ff(0x13c)],{'useClass':_0x41ecf8['WebSocketService']}],[_0x21847c[_0x5615ff(0x10d)],{'useClass':_0xb51bd8}],[_0x433869],[_0x3c7cf3],[_0x36b37d],[_0x4e58f9],[_0x4be763],[_0x55e0a]];this[_0x5615ff(0x35d)][_0x5615ff(0x23b)]!==!0x1&&_0x440318[_0x5615ff(0x363)]([_0x28af33],[_0x2742bf],[_0x485a9c],[_0x2126a8],[_0x52bd12],[_0x5df0dc]),this['_config'][_0x5615ff(0x1ed)]&&_0x440318[_0x5615ff(0x363)]([_0x14f469]),(0x0,_0x542ae8[_0x5615ff(0x323)])(this[_0x5615ff(0x359)],(0x0,_0x542ae8[_0x5615ff(0x2ac)])(_0x440318,(_0x10e02e=this[_0x5615ff(0x35d)])==null?void 0x0:_0x10e02e[_0x5615ff(0x175)]));}['_registerRenderDependencies'](){const _0x190b9d=_0x23887d;this['_config'][_0x190b9d(0x23b)]!==!0x1&&this[_0x190b9d(0x36a)](this[_0x190b9d(0x2b9)][_0x190b9d(0x1f1)](_0x542ae8[_0x190b9d(0x1af)][_0x190b9d(0xcc)],[_0x170348])),this[_0x190b9d(0x36a)](this[_0x190b9d(0x2b9)][_0x190b9d(0x1f1)](_0x542ae8['UniverInstanceType']['UNIVER_SHEET'],[_0x3d555b])),this[_0x190b9d(0x36a)](this[_0x190b9d(0x2b9)]['registerRenderModule'](_0x542ae8[_0x190b9d(0x1af)][_0x190b9d(0x130)],[_0x2d7875])),this[_0x190b9d(0x36a)](this[_0x190b9d(0x2b9)][_0x190b9d(0x1f1)](_0x542ae8[_0x190b9d(0x1af)][_0x190b9d(0xe0)],[_0x6dc481]));}[_0x23887d(0x392)](){const _0x67376a=_0x23887d;(0x0,_0x542ae8['touchDependencies'])(this[_0x67376a(0x359)],[[_0x4e58f9],[_0x433869],[_0x3c7cf3],[_0x36b37d],[_0x4be763],[_0x493c0d],[_0x55e0a]]),this[_0x67376a(0x35d)][_0x67376a(0x23b)]!==!0x1&&(0x0,_0x542ae8['touchDependencies'])(this['_injector'],[[_0x52bd12],[_0x5df0dc]]),this[_0x67376a(0x35d)][_0x67376a(0x1ed)]&&(0x0,_0x542ae8[_0x67376a(0x9e)])(this[_0x67376a(0x359)],[[_0x14f469]]);}};_0x24a4e0(_0x66b071,_0x23887d(0x34b),_0x23887d(0x3ba)),_0x24a4e0(_0x66b071,_0x23887d(0x206),_0xadf74d),_0x24a4e0(_0x66b071,'version',_0x15f26a),_0x66b071=_0xfa6df6([(0x0,_0x542ae8[_0x23887d(0x2b8)])(_0x21847c[_0x23887d(0x88)]),_0x518e4c(0x1,_0x19aeb8[_0x23887d(0x202)]),_0x518e4c(0x2,(0x0,_0x542ae8[_0x23887d(0x34a)])(_0x542ae8[_0x23887d(0x1b9)])),_0x518e4c(0x3,_0x542ae8[_0x23887d(0x37b)])],_0x66b071);let _0x5d75ba=class extends _0x21847c[_0x23887d(0x159)]{constructor(_0x520a0d,_0x2ad4ca,_0x1975c6,_0x151b29,_0x24e597){super(_0x520a0d,_0x2ad4ca,_0x1975c6,_0x151b29,_0x24e597);}async[_0x23887d(0x371)](_0x506a5a){const _0x5f599f=_0x23887d;let _0x12dd09=await this['_getSessionTicket'](),_0x1988f1=this[_0x5f599f(0x1fc)](_0x506a5a,_0x12dd09);return this['_doCreateSocket'](_0x1988f1);}['_createSocketURL'](_0x5b1e07,_0x84d8ad){const _0x41e496=_0x23887d;let _0x274420=typeof window>'u'?new URL(_0x5b1e07):new URL(_0x5b1e07,window[_0x41e496(0xce)][_0x41e496(0x22c)]);_0x274420[_0x41e496(0x2fb)][_0x41e496(0x341)](_0x41e496(0x1d2),_0x84d8ad);let _0x38c394=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x41e496(0xce)][_0x41e496(0x396)]);return _0x38c394[_0x41e496(0x178)](_0x41e496(0x1a2))&&_0x274420[_0x41e496(0x2fb)]['set']('runId',_0x38c394[_0x41e496(0x178)](_0x41e496(0x1a2))),_0x274420[_0x41e496(0x1e4)]();}async[_0x23887d(0x2d4)](){const _0xe459ea=_0x23887d;var _0x1364d4,_0x567b4d,_0x2ec2be;let _0x6b0b9a=this['_configService'][_0xe459ea(0x2c9)](_0x21847c[_0xe459ea(0x315)]),_0x300957=(_0x1364d4=_0x6b0b9a==null?void 0x0:_0x6b0b9a[_0xe459ea(0x36c)])==null?_0x21847c['DEFAULT_WS_SESSION_TICKET_URL']:_0x1364d4;return(_0x567b4d=(_0x2ec2be=(await this[_0xe459ea(0x2a0)][_0xe459ea(0x178)](_0x300957,{'headers':{'Content-Type':_0xe459ea(0x92)}}))['body'])==null?void 0x0:_0x2ec2be[_0xe459ea(0x314)])==null?'':_0x567b4d;}};_0x5d75ba=_0xfa6df6([_0x518e4c(0x0,(0x0,_0x542ae8[_0x23887d(0x34a)])(_0x542ae8[_0x23887d(0x1b9)])),_0x518e4c(0x1,(0x0,_0x542ae8[_0x23887d(0x34a)])(_0x41ecf8['HTTPService'])),_0x518e4c(0x2,_0x542ae8[_0x23887d(0x37b)]),_0x518e4c(0x3,_0x542ae8[_0x23887d(0x1a6)]),_0x518e4c(0x4,_0x1e0a90[_0x23887d(0x12b)])],_0x5d75ba);let _0xc54fb1=class extends _0x542ae8[_0x23887d(0x106)]{constructor(_0x2e5429,_0x2a86d5,_0x543c56){const _0x2a9369=_0x23887d;super(),this[_0x2a9369(0x12a)]=_0x2e5429,this[_0x2a9369(0x2a0)]=_0x2a86d5,this[_0x2a9369(0x2ee)]=_0x543c56;}async[_0x23887d(0x3c9)](_0x309d9b,_0x5bd658,_0x3d9eae,..._0x367458){const _0x3a3e3d=_0x23887d;var _0xa0336c,_0x210c9b,_0x5d2fca,_0x3b36ac;let _0x1d325b=this[_0x3a3e3d(0x12a)][_0x3a3e3d(0x1fd)]();if(!_0x1d325b)throw Error(_0x3a3e3d(0x97));let _0x161e9c=((_0xa0336c=this[_0x3a3e3d(0x2ee)][_0x3a3e3d(0x2c9)](_0x21847c[_0x3a3e3d(0x11a)]))==null?_0x21847c[_0x3a3e3d(0x2ed)]:_0xa0336c)+'/'+_0x309d9b+'/run/'+_0x5bd658,_0x1abb44={'scriptId':_0x309d9b,'runId':(_0x210c9b=new URL(window['location'][_0x3a3e3d(0x139)])[_0x3a3e3d(0x2fb)][_0x3a3e3d(0x178)](_0x3a3e3d(0x1a2)))==null?'':_0x210c9b,'function':_0x5bd658,'unitId':_0x1d325b[_0x3a3e3d(0x2e0)](),'argsOfFunction':JSON[_0x3a3e3d(0xa4)](_0x367458),'invokeId':(_0x5d2fca=_0x3d9eae['invokeId'])==null?'':_0x5d2fca,'executionId':(_0x3b36ac=_0x3d9eae[_0x3a3e3d(0x340)])==null?'':_0x3b36ac};try{let _0x5a7eda=await this[_0x3a3e3d(0x2a0)][_0x3a3e3d(0x89)](_0x161e9c,{'body':_0x1abb44});return _0x5a7eda[_0x3a3e3d(0x9c)][_0x3a3e3d(0x274)]&&_0x5a7eda[_0x3a3e3d(0x9c)][_0x3a3e3d(0x274)][_0x3a3e3d(0x2b7)]!==_0x44736d[_0x3a3e3d(0x16a)]['OK']?_0x3a3e3d(0x380):_0x5a7eda[_0x3a3e3d(0x9c)][_0x3a3e3d(0x211)];}catch{return'Failed';}}};_0xc54fb1=_0xfa6df6([_0x518e4c(0x0,_0x542ae8[_0x23887d(0x129)]),_0x518e4c(0x1,(0x0,_0x542ae8['Inject'])(_0x41ecf8[_0x23887d(0x1f2)])),_0x518e4c(0x2,_0x542ae8[_0x23887d(0x37b)])],_0xc54fb1);let _0x246aa7=0x7530,_0x33ea4e=_0x23887d(0x286);var _0x318b64=class extends _0x542ae8[_0x23887d(0x106)]{constructor(){const _0x33c776=_0x23887d;super(),_0x24a4e0(this,_0x33c776(0x288),(0x0,_0x542ae8['generateRandomId'])()),_0x24a4e0(this,_0x33c776(0x289),new Set()),_0x24a4e0(this,_0x33c776(0x3c3),new Map()),_0x24a4e0(this,_0x33c776(0x352),null),_0x24a4e0(this,_0x33c776(0x25e),new Map()),_0x24a4e0(this,_0x33c776(0x320),new Map()),this[_0x33c776(0xbf)]();}[_0x23887d(0x1bc)](){const _0x2530ad=_0x23887d;super['dispose'](),this[_0x2530ad(0x25e)][_0x2530ad(0x28f)]((_0x2dea84,_0x5bede6)=>this[_0x2530ad(0x1bb)](_0x5bede6)),this[_0x2530ad(0x352)]&&window[_0x2530ad(0x23c)](this[_0x2530ad(0x352)]);}[_0x23887d(0x366)](_0x2ff2b3){const _0x436316=_0x23887d;return this[_0x436316(0x31a)](_0x2ff2b3)['pipe']((0x0,_0x381980[_0x436316(0x2a7)])());}[_0x23887d(0x116)](_0x498c63){const _0x58efbb=_0x23887d;this[_0x58efbb(0x289)]['size']===0x0&&this[_0x58efbb(0x3b9)](),this[_0x58efbb(0x289)]['add'](_0x498c63),this[_0x58efbb(0x313)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x498c63],'isForwarded':!0x1});}[_0x23887d(0x1d9)](_0x49a0a1){const _0xf1e93=_0x23887d;this['_selfUnitIDs']['delete'](_0x49a0a1),this['_selfUnitIDs'][_0xf1e93(0x305)]===0x0&&this[_0xf1e93(0x352)]&&window['clearInterval'](this[_0xf1e93(0x352)]);}[_0x23887d(0xbf)](){const _0x2de2cc=_0x23887d;this[_0x2de2cc(0x36a)]((0x0,_0x542ae8[_0x2de2cc(0x33c)])((0x0,_0x381980[_0x2de2cc(0x2cb)])(window,_0x2de2cc(0xac))[_0x2de2cc(0x3b1)](_0xd823be=>{const _0x4520f1=_0x2de2cc;if(_0xd823be[_0x4520f1(0x379)]!==_0x33ea4e||!_0xd823be[_0x4520f1(0x238)])return;let _0x2e3e8a=JSON['parse'](_0xd823be[_0x4520f1(0x238)]);this[_0x4520f1(0x3bd)](_0x2e3e8a);}))),window[_0x2de2cc(0x1ab)](_0x2de2cc(0x281),()=>this[_0x2de2cc(0x313)]({'type':0x1,'memberID':this[_0x2de2cc(0x288)],'unitIDs':Array[_0x2de2cc(0x362)](this[_0x2de2cc(0x289)])}));}[_0x23887d(0x3bd)](_0x2a2159){const _0x59bfa5=_0x23887d;switch(_0x2a2159[_0x59bfa5(0x214)]){case 0x0:this[_0x59bfa5(0x23a)](_0x2a2159);break;case 0x1:this['_handleLeaveEvent'](_0x2a2159);break;case 0x2:this[_0x59bfa5(0xcf)](_0x2a2159);break;}}[_0x23887d(0x23a)](_0x1a96f0){const _0x34ce06=_0x23887d;let {unitIDs:_0x37de2c,memberID:_0x48b132,isForwarded:_0x451650}=_0x1a96f0;_0x37de2c[_0x34ce06(0x28f)](_0x233d7a=>{const _0x4f0f17=_0x34ce06;if(!_0x451650&&this[_0x4f0f17(0x3c3)][_0x4f0f17(0x1d6)](_0x233d7a)&&this['_ensureSubject'](_0x233d7a)[_0x4f0f17(0x250)](_0x21847c[_0x4f0f17(0x127)][_0x4f0f17(0x3ce)]),!this[_0x4f0f17(0x3c3)][_0x4f0f17(0x1d6)](_0x233d7a)||!this[_0x4f0f17(0x3c3)][_0x4f0f17(0x178)](_0x233d7a)[_0x4f0f17(0x1d6)](_0x48b132)){let _0x136a6d=this[_0x4f0f17(0x3c3)][_0x4f0f17(0x178)](_0x233d7a)||new Set();_0x136a6d['add'](_0x48b132),this[_0x4f0f17(0x3c3)][_0x4f0f17(0x341)](_0x233d7a,_0x136a6d),this['_scheduleClearOtherTimer'](_0x48b132);}}),_0x451650||this[_0x34ce06(0x313)]({'type':0x0,'memberID':this[_0x34ce06(0x288)],'unitIDs':[...this[_0x34ce06(0x289)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x379b74){const _0x4bd9b8=_0x23887d;this['_removeClearOtherTimer'](_0x379b74);let _0x50233a=window[_0x4bd9b8(0x35f)](()=>{const _0x3035fb=_0x4bd9b8;this[_0x3035fb(0x3c3)][_0x3035fb(0x28f)](_0x228717=>{const _0x1f1c98=_0x3035fb;_0x228717[_0x1f1c98(0xe5)](_0x379b74);});},_0x246aa7*0x2);this[_0x4bd9b8(0x25e)]['set'](_0x379b74,_0x50233a);}[_0x23887d(0x1bb)](_0x2bb3cb){const _0x2de8a8=_0x23887d;if(this[_0x2de8a8(0x25e)]['has'](_0x2bb3cb)){let _0x24d343=this[_0x2de8a8(0x25e)][_0x2de8a8(0x178)](_0x2bb3cb);_0x24d343&&window[_0x2de8a8(0x6e)](_0x24d343),this[_0x2de8a8(0x25e)]['set'](_0x2bb3cb,null);}}[_0x23887d(0x28d)](_0x292506){const _0x6882ce=_0x23887d;let {memberID:_0x4d429b,unitIDs:_0xa99c06}=_0x292506;_0xa99c06['forEach'](_0x2138fc=>{const _0xca200=_0x3a65;var _0x5258fe;let _0x464ee9=this[_0xca200(0x3c3)][_0xca200(0x178)](_0x2138fc);_0x464ee9&&(_0x464ee9[_0xca200(0xe5)](_0x4d429b),(_0x5258fe=this[_0xca200(0x31a)](_0x2138fc))==null||_0x5258fe[_0xca200(0x250)](_0x464ee9[_0xca200(0x305)]===0x0?_0x21847c['UnitStatus'][_0xca200(0xc7)]:_0x21847c[_0xca200(0x127)][_0xca200(0x3ce)]));}),this[_0x6882ce(0x1bb)](_0x4d429b);}['_handleHeartbeatEvent'](_0x5d1f21){const _0x8416b6=_0x23887d;this[_0x8416b6(0x1a9)](_0x5d1f21[_0x8416b6(0x2ec)]);}[_0x23887d(0x313)](_0xa630bb){const _0x793b02=_0x23887d;localStorage[_0x793b02(0x1dd)](_0x33ea4e,JSON[_0x793b02(0xa4)](_0xa630bb));}[_0x23887d(0x3b9)](){const _0x833be4=_0x23887d;this[_0x833be4(0x352)]=window[_0x833be4(0x253)](()=>{const _0x47ab7e=_0x833be4;this[_0x47ab7e(0x313)]({'type':0x2,'memberID':this[_0x47ab7e(0x288)]});},_0x246aa7);}[_0x23887d(0x31a)](_0x7f73dd){const _0x172bfb=_0x23887d;return this[_0x172bfb(0x320)][_0x172bfb(0x1d6)](_0x7f73dd)||this[_0x172bfb(0x320)][_0x172bfb(0x341)](_0x7f73dd,new _0x381980[(_0x172bfb(0x7a))](_0x21847c[_0x172bfb(0x127)]['NO_OTHER_CLIENTS_EDITING'])),this[_0x172bfb(0x320)][_0x172bfb(0x178)](_0x7f73dd);}};Object['defineProperty'](_0x2b48e1,_0x23887d(0x131),{'enumerable':!0x0,'get':function(){return _0x5d75ba;}}),Object[_0x23887d(0xef)](_0x2b48e1,_0x23887d(0xf0),{'enumerable':!0x0,'get':function(){return _0x433869;}}),_0x2b48e1[_0x23887d(0x19e)]=_0x2b0332,Object[_0x23887d(0xef)](_0x2b48e1,_0x23887d(0x357),{'enumerable':!0x0,'get':function(){return _0xc54fb1;}}),_0x2b48e1[_0x23887d(0x29d)]=_0x523d82,Object['defineProperty'](_0x2b48e1,'UniverCollaborationClientUIPlugin',{'enumerable':!0x0,'get':function(){return _0x66b071;}}),_0x2b48e1[_0x23887d(0x291)]=_0x318b64;}));
|
|
1
|
+
function _0x566a(){const _0x35f306=['getCoordByCell','_saveTaskMap','whenReady','_initEntityListener','VIEW_MAIN','getActivePageId','name','Inject','_unitStatus','some','_colorIndex','xlink:href','_sheetLoadingRenderService','with','unitID','OffLineIcon','collaboration-client-ui.permission.content','subscribeEvent','_getSheetObject','CLOSE_ROOM','invokeId','roomMembers$','_refreshCollabCursors','useDependency','defineProperty','enableDocumentCollaborationUI','all','toStringTag','eventID','mutations','_taskIds','_latestStates','focus:univer-outline-none\x20focus:univer-ring-2\x20focus:univer-ring-primary-500\x20focus:univer-ring-offset-2','_heartbeatTimer','font','limitInfo','/universer-api/frontend/logs','_lastResponseTimestamp','PluginService','getActiveSheet','addObject$','cursorInfo$','loadedBlocks','_hideTimer','_clearBlockProgressWatch','slide-collab-cursor-','unitId','CollaborationStatus','_updateMessage','call','evenodd','1676563aGvTVo','urlChange$','DeleteRangeMoveUpCommandId','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','fromEventSubject','startsWith','M7.20007\x201.98384C7.20007\x201.54201\x207.55824\x201.18384\x208.00007\x201.18384C11.7647\x201.18384\x2014.8165\x204.23568\x2014.8165\x208.00032C14.8165\x2011.765\x2011.7647\x2014.8168\x208.00007\x2014.8168C4.23543\x2014.8168\x201.18359\x2011.765\x201.18359\x208.00032C1.18359\x207.55849\x201.54177\x207.20031\x201.98359\x207.20031C2.42542\x207.20031\x202.78359\x207.55849\x202.78359\x208.00032C2.78359\x2010.8813\x205.11909\x2013.2168\x208.00007\x2013.2168C10.8811\x2013.2168\x2013.2165\x2010.8813\x2013.2165\x208.00032C13.2165\x205.11933\x2010.8811\x202.78384\x208.00007\x202.78384C7.55824\x202.78384\x207.20007\x202.42567\x207.20007\x201.98384Z','getAncestorScale','_range','_updateCollabCursors','_drawTextRange','transformIMECache','getCollabEntity$','RefRangeService','version','Vector2','unhandledrejection','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','colno','UNIVER_SLIDE','stageInfo','RECT','univer-text-red-500','CollaborationUIEventId','black','UniverSheetsUi','focusedId','showSkeleton','getViewport','getUnhiddenWorksheets','SOCKET_FAILED','UNIVER_DOC','Optional','join','body','sessionStatus$','searchParams','entries','@univerjs/core','univer-border-none\x20univer-bg-transparent','0\x200\x2017\x2016','getCurrentTypeOfUnit$','@univerjs/sheets-ui','doc.mutation.rich-text-editing','wsSessionTicketUrl','_textBubble','getCollabCursors$','_startDocCollabCursor','loading-multi-icon','ONLINE','DocIMEInputManagerService','CollaborationController','filter','debounce','post','decorate','replaceState','_initUnhandledRejectionListener','UPDATE_CURSOR','registerRenderModule','bold\x2013px\x20Arial,\x20sans-serif','executionId','onMouseMove','univer-m-0\x20univer-p-0','white','@univerjs/docs','324NfmenA',':backup:','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','previewCellData','InsertRowCommandId','_onRefRangeChange','undoState','IMessageService','Disposable','0.2)','distinctUntilChanged','_blinkIntervalTimer','UniverProBoardsUi','updateOfflineData','_pollingInterval','_toggleOffline','collaboration-client-ui.formula.calculation.waiting','subUnitId','application/json','getTypeOfUnitDisposed$','indicator','tag','Workbook','3581388WMICmE','getSnapshot','_renderScheduled','span','_collabCursorController','children','_injector','getId','_clearOtherTimers','clearInterval','Enter','_setInteractionBlocked','collaboration-client-ui.conflict.title','Loading','_selfUnitIDs','@univerjs/engine-render','getCurrentUnitOfType','getStateCache','univer-size-4\x20univer-shrink-0\x20univer-text-amber-500','/universer-api/license/formula/limit/start','save','setLineDash','_name','...','getRelativeToViewportCoord','Success','send','_currentUsage','saveOfflineData','labelHorizontalPosition','OTHER_CLIENT_EDITING','scene','deepClone','addHandlerCallback','_render','_collabSessionService','toISOString','SetFormulaCalculationStartMutation','_setupSubUnitSync','_context','_eventUnsubscribe','getSheetObject','M15\x208C15\x2011.866\x2011.866\x2015\x208\x2015C4.13401\x2015\x201\x2011.866\x201\x208C1\x204.13401\x204.13401\x201\x208\x201C11.866\x201\x2015\x204.13401\x2015\x208ZM8.00008\x2012.3671C8.46031\x2012.3671\x208.83342\x2011.994\x208.83342\x2011.5338C8.83342\x2011.0735\x208.46031\x2010.7004\x208.00008\x2010.7004C7.53985\x2010.7004\x207.16675\x2011.0735\x207.16675\x2011.5338C7.16675\x2011.994\x207.53985\x2012.3671\x208.00008\x2012.3671ZM8.5999\x204.4335C8.5999\x204.10213\x208.33127\x203.8335\x207.9999\x203.8335C7.66853\x203.8335\x207.3999\x204.10213\x207.3999\x204.4335V9.36683C7.3999\x209.6982\x207.66853\x209.96683\x207.9999\x209.96683C8.33127\x209.96683\x208.5999\x209.6982\x208.5999\x209.36683V4.4335Z','DOC_RANGE_TYPE','ErrorCode','_docClipboardService','error','_beforeCloseService','BOARD_TOP_RIGHT_MENU_LEADING_PART','_transformService','message','_entityInit$','setShapeProps','_docTransformSelectionsService','_collabCursorState$','collaboration-client-ui.config','_setFormulaLimitStatus','now','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','fillStyle','16faHeDm','PERMISSION_DENIED','_shortcutService','_offsetY','Warning','[CollaborationDataLoaderController]','blue.400','_online','_initEvent','UniverDocsUi','UniverIcon','getActiveRange','forwardRef','resolve','Failed','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','SetTextSelectionsOperation','set','operators','pageManager','UniverDocs','OnLineIcon','cursorInfo','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','_docTransformStateCacheService','@univerjs/rpc','DocStateChangeManagerService','_initStatusListener','context','clipPath','timeoutState$','unit','executeCommand','ILocalStorageService','getSheetId','_unitOnClients','_clearPolling','getConfig','getRealBound','complete','setItem','_cursorInfo$','removeObjects','refreshLabel','CollaborationEvent','getItem','Rect','getUniverSheetInstance','collabCursorState$','30rucxLm','snapshot-loading-interaction-guard','UniverCollaborationClientUIPlugin','selectedIds','static','_drawAnchor','http://www.w3.org/2000/svg','#0B9EFB','collaboration-client-ui.collaboration.closeRoom','icon','RemoveColCommandId','MessageType','_document','TEXT_RANGE_LAYER_INDEX','fill','has','_cursors','univer-flex\x20univer-items-center\x20univer-justify-center','bottom','_id','_shortcutBlock','removeObject','_onCursorDelete','setOffsetY','maxFormulaLimit','_docSkeletonManagerService','length','HEADER_MENU','contains','disposeUnit','Unknown\x20user','ISnapshotServerService','switchMap','push','SUCCESS','handleIRemoveRow','_status$','_docSyncEditingCollabCursorService','_initDependencies','stage','IUIPartsService','then','_roomMembers$','IDocClipboardService','right','handoff','_saveCache','_removeClearOtherTimer','moveTo','currentTheme$','collaboration-client-ui.collabStatus.offline','setTimeout','touchDependencies','RemoveRowCommandId','getMemberID','_entities','red.300','column','[Window\x20Error]:\x20','throttleTime','getRenderById','_themeService','collaboration-client-ui.collabStatus.conflict','event$','random','debounceTime','ISocketService','getCurrentRevOfUnit','_getObjectBounds','strokeRect','collaboration-client-ui.formula.calculation.started','_scene','polite','_collaborationSessionService','_shapes','UniverEngineFormula','_showText','colorChannel1','_cursor','init','status','uni.network.url-service','setStateCache','_doCreateSocket','LOADING_BLOCKS','handleMoveRange','SessionStatus','clearTimeout','url(#on-line-icon_clip0_910_349)','forceDisable','univer-inline-flex\x20univer-items-center\x20univer-justify-center','status$','2476536WNhzNd','unsubscribe','rgba(255,\x20255,\x20255,\x200.01)','displayName','_initResize','get','tooltipKey','setUndoRedoMutationParamsCache','34990YHCEFN','size','_cursorShapes','dirtyRanges','_getMergeRange','location','registerComponent','clear','univerjs-icon\x20univerjs-icon-','_collaborationUIEventService','ISlideDrawingStateService','onTransformChange$','_handleLeaveEvent','@univerjs/network','_snapshotLoadingService','translate(.97)','collaboration-client-ui.permission.title','NO_OTHER_CLIENTS_EDITING','clickable','map','highlightSecond','theme$','@univerjs/protocol','getVpScrollXYInfoByPosToVp','takeUntil','_clearTimeoutState','origin','combineLatest','replaceDocRanges','_highlight','SheetCollabCursorShape','getValue','SetDocZoomRatioOperation','onStarting','i18nKey','IRemoteInstanceService','content','m1Prime','connectInjector','_labelPosition','startPluginsForType','storage','@univerjs-pro/boards-ui','@univerjs-pro/collaboration-client','kind','UniverUi','_registerRenderDependencies','COMPLETE','SnapshotLoadingService','@univerjs-pro/collaboration-client-ui','dispose$','_send','collaboration-client-ui.collaboration.offline-data-not-saved','FETCH_MISS','6752993RagqtV','@univerjs/engine-formula','[LogService\x20Error]:\x20','SetWorksheetActivateCommand','currentColor','findNodePositionByCharIndex','LOCAL_CACHE_INTERVAL_KEY','history','angle','jsx','ILocalCacheService','[Unhandled\x20Rejection]:\x20','drawWith','UNIVER_BOARD','off-line-icon_clip0_910_343','AWAITING_WITH_PENDING','_localStorageService','1118726KvTtYz','defs','_applyCommand','parseInt','DisposableCollection','href','INotificationService','collaboration-client-ui.formula.calculation.unable','result','1em','amd','univer-fixed\x20univer-left-1/2\x20univer-top-4\x20univer-z-[1001]\x20univer-flex\x20univer-max-w-[calc(100vw-32px)]\x20-univer-translate-x-1/2\x20univer-items-center\x20univer-gap-2\x20univer-rounded-lg\x20univer-bg-white\x20univer-px-3\x20univer-py-2\x20univer-text-sm\x20univer-text-gray-900\x20univer-shadow-lg\x20dark:!univer-bg-gray-700\x20dark:!univer-text-white','getCellPositionByOffset','_labelHorizontalPosition','_isBlinkVisible','text','getColorFromTheme','Plugin','_transformHistoryAndStateStack','UniverProCollaborationClient','color','rxjs','_refRangeService','find','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_httpService','_revisionService','evented','_updateSubUnitFromURLParams','resize','arc','reconnect','idSuffix','_getLighterColor','RichTextEditingMutation','GLOBAL','USERS_LEAVE','makeDirty','labelPosition','WarningIcon','syncEditingCollabCursor','_renderManagerService','getTypeOfUnitAdded$','trim','_colorAssignService','unshift','univer-text-gray-400','currentSkeleton$','univer-text-blue-500','TEXT','_cachedData','_localCacheService','ISheetLoadingRenderService','DocSelectionManagerService','collaboration-client-ui.collabStatus.fetchMiss','registerBeforeClose','override','PENDING','transformMutation','m2Prime','_initUserListener','_transformPreviousActiveRange','MemberService','_uploadLog','board-element-selection','collaboration-client-ui.session.will-retry','catch','SUBMIT_CHANGESET_TIMEOUT','default','rgba','UnitStatus','object','3250027DWXpLK','Tooltip','InsertRangeMoveRightCommandId','getLocalCacheKey','DocCollaborationEntity','Subject','activeSheet$','startColumn','green.600','EffectRefRangId','_startBoardCollabCursor','_sheetSkeletonManagerService','onCommandExecuted','_handleJoinEvent','JOIN_ROOM_FAILED','reload','univer-text-green-500','useMemo','Injector','transform','RxDisposable','getActiveSlide','_showGuardMessage','_registerDependencies','getFocusedUnit','_handleEvent','add','LoadingMultiIcon','_scheduleRender','BrowserCollaborationSocketService','fillText','unload','AWAITING','_anchorDot','@univerjs-pro/slides-ui','registerDependencies','collaboration-client-ui.conflict.content','totalFormulasToCalculate','showText','sheetId','height','react','_startBlinking','12GlEYUw','_boardElementStateService','stroke','_hovered','triggerDblclick','_scheduleClearOtherTimer','backgroundColor','transformMutationsWithChangeset','ICommandService','jsxs','getOffsetConfig','handleInsertRangeMoveRight','spin','_transformUndoRedoStack','addObject','getUnitId','totalBlocks','lineTo','replace','startFormulaLimitUrl','START_CALCULATION','activeSheetId','previewReady','getSkeleton','function','values','isTransformMutationsWithChangesetSuccess','IUniverInstanceService','UniverInstanceType','_blinkTimer','_removeCollabCursors','_getSaveTimeout','_setupBeforeClosingHandler','_latestCursors','_assignedColors','toString','code','_stopBlinking','_isApplyingOverlays','exhaustSavingTask','board-collab-cursor-','_hidePreview','_localeService','slide-element-selection','_handoffUnitIds','disposeWithMe','newValue','_logService','data','small','OFFLINE','getMember','setInterval','getColor','top','_config','handleDeleteRangeMoveLeft','rgba(','key','_ensureSubject','_pointerMoveDisposable','_checkCalculationAvailable','strokeWidth','createInstance','_getSessionTicket','_lastPointer','useCallback','disableLocalCache','jiqing.500','getUndoRedoMutationParamsCache','activeSlideId$','_startSlideCollabCursor','pluginName','TRANSFORM_CHANGE_OBSERVABLE_TYPE','_collaborationController','pipe','transformSelections','getCurrentSkeleton','_blockProgressWatches','ticket','selections','FormulaExecutedStateType','symbol','handleDeleteRangeMoveUp','getAllUnitsForType','univer-text-orange-500','off-line-icon','_highlightSecond','#4f46e5','lineno','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','CollaborationSessionService','ITransformService','fromEvent','transformRemoteChangeset','getOwnPropertyDescriptor','_memberService','NodePositionConvertToRectRange','slice','_getAnchorBounding','_configService','React','memberID','\x20-\x20','DocSkeletonManagerService','dark:focus:!univer-ring-offset-gray-800','InsertColCommandId','value','none','loadUnit','getCurrentSelections','getDocRanges','hide','getObjectIncludeInGroup','IBoardElementStateService','collaboration-client-ui.session.connection-failed','FromArray','SnapshotLoadStage','_pluginService','ThemeService','generateRandomId','univer-transition-all\x20univer-duration-200','CONFLICT','2OXorgh','_updateLocalCursor','getObject','_disabled','isArray','_getScale','0\x200\x2016\x2016','collaboration-client-ui.collabStatus.syncing','runId','IRenderManagerService','_messageIds','max','highlight','getSheetBySheetId','_onCursorUpdate','collab-text-range-',',\x200.2)','addObjects','UNIVER_SHEET','UniverNetwork','_univerInstanceService','_updateURLWithCurrentState','svg','@univerjs/docs-ui','DependentOn','IImageIoService','textRanges','_syncEditingCollabCursorService','_instanceService','ranges','round','M0\x200H16V16H0z','attrs','state$','isFormulaId','offsetY','asObservable','_interactionBlocked$','params','socket$','_initCommandInterceptor','row','CanceledError','parse','_dataLoaderService','currentUsage','useObservable','remove','_uiPartsService','_commandService','roomMembers','enableFrontendLog','LocaleService','_handleHeartbeatEvent','_session','_init','_notificationService','getParam','endColumn','_draw','show','handleInsertRow','next','mask','range','collaboration-client-ui.session.collaboration-timeout','_docSkeleton','substring','UniverCollaborationClientPlugin','sheetID','includes','12yuzobZ','string','isTransformMutationFailure','Tools','serializeRangeWithSheet','_getFormulaLimitStatus','_messageService','stringify','_getSheetLoadingRenderService','setActiveRange','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','dispose','UniverEngineRender','_monkeyPatchLogService','RegularPolygon','stack','collab-rect-range-','width','_hasFormulaInDirtyRanges','from','alert','/universer-api/license/formula/limit/done','ColorKit','BuiltInUIPart','univer-appearance-none','_color','_isVisibleUnit','UniverDesign','button','requireSession','fillRule','selection','min','_toggleOnline','toPrimitive','collaboration-client-ui.collabStatus.notCollab','isFormulaString','forEach','transformStateCache','SheetSkeletonManagerService','@univerjs/sheets','_slideDrawingStateService','collaboration-client-ui.snapshotLoading.refresh','endRow','isActive','focused$','_checkAndWaitForCalculationPermission','collaboration-client-ui.snapshotLoading.loadingSheet','subscribe','merge','SheetsSelectionsService','_getSceneObjectByKey','_timeoutState$','DeleteRangeMoveLeftCommandId','[RemoteUniscriptService]:\x20no\x20focused\x20unit','BehaviorSubject','debug','_initStatusComponent','_handoffPreview','_startCalculationLimit','runRefRangeMutations','type','on-line-icon','saveTaskMap','HTTPService','COLORS','UniverProtocol','split','timeoutId','filename','setParam','removeEventListener','_createSocketURL','IBeforeCloseService','mapTo','_scheduleHeartbeat','_watchBlockProgress','_hover','sessionTicket','setConfig','div','search','_urlService','WebBrowserSingleActiveUnitService','left','Error','rxjs/operators','_imageIoService','entityInit$','clsx','_initCommandExecutedListener','purple.300','hovered','onPointerEnter$','NOT_COLLAB','measureText','_backgroundColor','UniverProCollaborationClientUi','\x20at\x20','closePath','subunit','_docTransformIMECacheService','warning-icon','UniverRpc','shift','_anchor','deserializeRangeWithSheet','_previewUnitId','ERROR','addEventListener','FormulaExecuteStageType','mergeOverrideWithDependencies','redoState','preventDefault','IConfigService','delete','SYNCED','current','restore','UniverProCollaboration','path','isInternalEditorID','ILogService','toDisposable','transformByState','@univerjs-pro/collaboration','_memberID','_updateSheetPreview','@univerjs/design','InsertRangeMoveDownCommandId','constructor','snapshot-loading-timeout','toRgbString','_maxFormulaLimit','_docStateChangeManagerService','Fragment','_scheduleSaving','NodePositionConvertToCursor','true','pushState','assignAColorForMemberID','assign','bind','Module','createElement'];_0x566a=function(){return _0x35f306;};return _0x566a();}function _0x41f0(_0x43ea9c,_0x340f9f){_0x43ea9c=_0x43ea9c-0x6d;const _0x566a48=_0x566a();let _0x41f02f=_0x566a48[_0x43ea9c];return _0x41f02f;}(function(_0xf7995,_0x322abc){const _0x359d79=_0x41f0,_0x357454=_0xf7995();while(!![]){try{const _0x208099=-parseInt(_0x359d79(0x1d1))/0x1*(-parseInt(_0x359d79(0xe3))/0x2)+-parseInt(_0x359d79(0x94))/0x3+-parseInt(_0x359d79(0x31e))/0x4*(-parseInt(_0x359d79(0x9c))/0x5)+parseInt(_0x359d79(0x156))/0x6*(parseInt(_0x359d79(0x2dc))/0x7)+-parseInt(_0x359d79(0x371))/0x8*(-parseInt(_0x359d79(0x335))/0x9)+-parseInt(_0x359d79(0x3a2))/0xa*(parseInt(_0x359d79(0x12b))/0xb)+-parseInt(_0x359d79(0x218))/0xc*(parseInt(_0x359d79(0xd2))/0xd);if(_0x208099===_0x322abc)break;else _0x357454['push'](_0x357454['shift']());}catch(_0x2b5604){_0x357454['push'](_0x357454['shift']());}}}(_0x566a,0xb200e),function(_0x569285,_0x41380a){const _0x2a6e27=_0x41f0;typeof exports==_0x2a6e27(0x12a)&&typeof module<'u'?_0x41380a(exports,require('@univerjs-pro/boards-ui'),require('@univerjs-pro/collaboration-client'),require('@univerjs/core'),require('@univerjs/ui'),require('rxjs'),require('rxjs/operators'),require('@univerjs/design'),require('react'),require('react/jsx-runtime'),require('@univerjs/engine-render'),require('@univerjs/network'),require('@univerjs/docs-ui'),require('@univerjs-pro/collaboration'),require('@univerjs/docs'),require('@univerjs/engine-formula'),require('@univerjs/sheets'),require('@univerjs-pro/slides-ui'),require('@univerjs/sheets-ui'),require('@univerjs/rpc'),require('@univerjs/protocol')):typeof define==_0x2a6e27(0x16e)&&define[_0x2a6e27(0xed)]?define(['exports',_0x2a6e27(0xc6),_0x2a6e27(0xc7),_0x2a6e27(0x302),'@univerjs/ui',_0x2a6e27(0xf8),_0x2a6e27(0x26e),_0x2a6e27(0x298),_0x2a6e27(0x154),'react/jsx-runtime',_0x2a6e27(0x344),_0x2a6e27(0xa9),_0x2a6e27(0x1e8),_0x2a6e27(0x295),_0x2a6e27(0x31d),_0x2a6e27(0xd3),_0x2a6e27(0x240),_0x2a6e27(0x14d),_0x2a6e27(0x306),_0x2a6e27(0x38a),_0x2a6e27(0xb2)],_0x41380a):(_0x569285=typeof globalThis<'u'?globalThis:_0x569285||self,_0x41380a(_0x569285[_0x2a6e27(0x279)]={},_0x569285[_0x2a6e27(0x32a)],_0x569285[_0x2a6e27(0xf6)],_0x569285['UniverCore'],_0x569285[_0x2a6e27(0xc9)],_0x569285[_0x2a6e27(0xf8)],_0x569285[_0x2a6e27(0xf8)][_0x2a6e27(0x383)],_0x569285[_0x2a6e27(0x233)],_0x569285['React'],_0x569285[_0x2a6e27(0x1bb)],_0x569285[_0x2a6e27(0x224)],_0x569285[_0x2a6e27(0x1e4)],_0x569285[_0x2a6e27(0x37a)],_0x569285[_0x2a6e27(0x28f)],_0x569285[_0x2a6e27(0x385)],_0x569285[_0x2a6e27(0x83)],_0x569285['UniverSheets'],_0x569285['UniverProSlidesUi'],_0x569285[_0x2a6e27(0x2f5)],_0x569285[_0x2a6e27(0x27f)],_0x569285[_0x2a6e27(0x25a)]));}(this,function(_0x571ec4,_0x199d1d,_0x4aca0a,_0x4615d2,_0x4c3c34,_0x5b7526,_0x101be6,_0x20f977,_0x63271a,_0x2bbf19,_0x1891a4,_0x12e547,_0x3bfdba,_0x1208f3,_0x7aa288,_0x5f0904,_0x5ac505,_0x5df1cb,_0x50dd72,_0x1eb128,_0x505887){const _0x59cd08=_0x41f0;Object[_0x59cd08(0x2c1)](_0x571ec4,Symbol[_0x59cd08(0x2c4)],{'value':_0x59cd08(0x2a7)});function _0x5548be({ref:_0x1d0419,..._0x35f9cb}){const _0x350bdb=_0x59cd08;let {icon:_0x1dbb39,id:_0x5e4b26,className:_0x3b479f,extend:_0x550fe7,..._0x23cfb0}=_0x35f9cb,_0x1a0375=(_0x350bdb(0xa4)+_0x5e4b26+'\x20'+(_0x3b479f||''))[_0x350bdb(0x10e)](),_0x4e653=(0x0,_0x63271a['useRef'])('_'+_0x4b6e21());return _0x356f66(_0x1dbb39,''+_0x5e4b26,{'defIds':_0x1dbb39['defIds'],'idSuffix':_0x4e653[_0x350bdb(0x28d)]},{'ref':_0x1d0419,'className':_0x1a0375,..._0x23cfb0},_0x550fe7);}function _0x356f66(_0x512710,_0x2f4860,_0x1c3b9a,_0x50069f,_0x384ac1){const _0x41eba3=_0x59cd08;return(0x0,_0x63271a[_0x41eba3(0x2a8)])(_0x512710[_0x41eba3(0x333)],{'key':_0x2f4860,..._0x216b92(_0x512710,_0x1c3b9a,_0x384ac1),..._0x50069f},(_0x567d9f(_0x512710,_0x1c3b9a)[_0x41eba3(0x33a)]||[])[_0x41eba3(0xaf)]((_0x57f0c1,_0x46b528)=>_0x356f66(_0x57f0c1,_0x2f4860+'-'+_0x512710[_0x41eba3(0x333)]+'-'+_0x46b528,_0x1c3b9a,void 0x0,_0x384ac1)));}function _0x216b92(_0x23cb2b,_0x265942,_0x4d6387){const _0xbd5de=_0x59cd08;let _0x2865a6={..._0x23cb2b['attrs']};_0x4d6387!=null&&_0x4d6387[_0xbd5de(0x85)]&&_0x2865a6[_0xbd5de(0x3b0)]===_0xbd5de(0x85)&&(_0x2865a6[_0xbd5de(0x3b0)]=_0x4d6387[_0xbd5de(0x85)]),_0x4d6387!=null&&_0x4d6387[_0xbd5de(0x85)]&&_0x2865a6[_0xbd5de(0x158)]===_0xbd5de(0x85)&&(_0x2865a6[_0xbd5de(0x158)]=_0x4d6387[_0xbd5de(0x85)]),_0x23cb2b['tag']===_0xbd5de(0x210)&&_0x2865a6['id']&&(_0x2865a6['id']+=_0x265942[_0xbd5de(0x103)]),Object[_0xbd5de(0x301)](_0x2865a6)['forEach'](([_0x117d38,_0x10df95])=>{const _0x3f36cc=_0xbd5de;_0x117d38===_0x3f36cc(0x210)&&typeof _0x10df95==_0x3f36cc(0x219)&&(_0x2865a6[_0x117d38]=_0x10df95[_0x3f36cc(0x168)](/url\(#(.*)\)/,'url(#$1'+_0x265942['idSuffix']+')'));});let {defIds:_0x2132ba}=_0x265942;return!_0x2132ba||_0x2132ba[_0xbd5de(0x3bc)]===0x0?_0x2865a6:(_0x23cb2b[_0xbd5de(0x333)]==='use'&&_0x2865a6['xlink:href']&&(_0x2865a6[_0xbd5de(0x2b4)]+=_0x265942[_0xbd5de(0x103)]),Object[_0xbd5de(0x301)](_0x2865a6)[_0xbd5de(0x23d)](([_0x47275f,_0x142ea5])=>{const _0x5452cb=_0xbd5de;typeof _0x142ea5==_0x5452cb(0x219)&&(_0x2865a6[_0x47275f]=_0x142ea5[_0x5452cb(0x168)](/url\(#(.*)\)/,'url(#$1'+_0x265942['idSuffix']+')'));}),_0x2865a6);}function _0x567d9f(_0xf45483,_0x4cbced){const _0x214c57=_0x59cd08;var _0x2fa5c1;let {defIds:_0xfe501f}=_0x4cbced;return!_0xfe501f||_0xfe501f[_0x214c57(0x3bc)]===0x0?_0xf45483:_0xf45483[_0x214c57(0x333)]===_0x214c57(0xe4)&&(_0x2fa5c1=_0xf45483['children'])!=null&&_0x2fa5c1['length']?{..._0xf45483,'children':_0xf45483[_0x214c57(0x33a)][_0x214c57(0xaf)](_0x5a00b5=>typeof _0x5a00b5[_0x214c57(0x1f1)]['id']==_0x214c57(0x219)&&_0xfe501f&&_0xfe501f['includes'](_0x5a00b5[_0x214c57(0x1f1)]['id'])?{..._0x5a00b5,'attrs':{..._0x5a00b5[_0x214c57(0x1f1)],'id':_0x5a00b5[_0x214c57(0x1f1)]['id']+_0x4cbced[_0x214c57(0x103)]}}:_0x5a00b5)}:_0xf45483;}function _0x4b6e21(){const _0x598011=_0x59cd08;return Math[_0x598011(0x78)]()[_0x598011(0x179)](0x24)[_0x598011(0x214)](0x2,0x8);}_0x5548be[_0x59cd08(0x97)]=_0x59cd08(0x37b);let _0x4df0d0={'tag':_0x59cd08(0x1e7),'attrs':{'xmlns':_0x59cd08(0x3a8),'fill':_0x59cd08(0x1c2),'viewBox':_0x59cd08(0x1d7),'width':_0x59cd08(0xec),'height':_0x59cd08(0xec)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-icon_clip0_910_343)'},'children':[{'tag':'path','attrs':{'stroke':_0x59cd08(0xd6),'d':_0x59cd08(0x320),'strokeLinecap':'round','strokeLinejoin':_0x59cd08(0x1ef),'strokeWidth':1.2}}]},{'tag':_0x59cd08(0xe4),'attrs':{},'children':[{'tag':_0x59cd08(0x38e),'attrs':{'id':_0x59cd08(0xe0)},'children':[{'tag':'path','attrs':{'fill':_0x59cd08(0x31c),'d':_0x59cd08(0x1f0)}}]}]}],'defIds':[_0x59cd08(0xe0)]},_0x27985b=(0x0,_0x63271a[_0x59cd08(0x37d)])(function(_0x4ffb70,_0x2bbdd8){const _0x1e157d=_0x59cd08;return(0x0,_0x63271a[_0x1e157d(0x2a8)])(_0x5548be,Object[_0x1e157d(0x2a5)]({},_0x4ffb70,{'id':_0x1e157d(0x1ac),'ref':_0x2bbdd8,'icon':_0x4df0d0}));});_0x27985b[_0x59cd08(0x97)]=_0x59cd08(0x2b8);let _0x33b1e6={'tag':_0x59cd08(0x1e7),'attrs':{'xmlns':_0x59cd08(0x3a8),'fill':_0x59cd08(0x1c2),'viewBox':_0x59cd08(0x304),'width':_0x59cd08(0xec),'height':_0x59cd08(0xec)},'children':[{'tag':'g','attrs':{'clipPath':_0x59cd08(0x90)},'children':[{'tag':_0x59cd08(0x290),'attrs':{'stroke':'currentColor','d':_0x59cd08(0x380),'strokeLinecap':'round','strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x59cd08(0xe4),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':'on-line-icon_clip0_910_349'},'children':[{'tag':_0x59cd08(0x290),'attrs':{'fill':_0x59cd08(0x31c),'d':_0x59cd08(0x1f0),'transform':_0x59cd08(0xab)}}]}]}],'defIds':['on-line-icon_clip0_910_349']},_0x3cf87d=(0x0,_0x63271a['forwardRef'])(function(_0x2655cc,_0x20924b){const _0x338aed=_0x59cd08;return(0x0,_0x63271a[_0x338aed(0x2a8)])(_0x5548be,Object[_0x338aed(0x2a5)]({},_0x2655cc,{'id':_0x338aed(0x256),'ref':_0x20924b,'icon':_0x33b1e6}));});_0x3cf87d[_0x59cd08(0x97)]=_0x59cd08(0x386);let _0x4dedb8={'tag':_0x59cd08(0x1e7),'attrs':{'xmlns':_0x59cd08(0x3a8),'fill':_0x59cd08(0x1c2),'viewBox':_0x59cd08(0x1d7),'width':_0x59cd08(0xec),'height':_0x59cd08(0xec)},'children':[{'tag':_0x59cd08(0x290),'attrs':{'fill':_0x59cd08(0xd6),'d':_0x59cd08(0x35f),'fillRule':_0x59cd08(0x2db),'clipRule':_0x59cd08(0x2db)}}]},_0x39a594=(0x0,_0x63271a[_0x59cd08(0x37d)])(function(_0x45c86a,_0x25da5d){const _0x5c88a0=_0x59cd08;return(0x0,_0x63271a['createElement'])(_0x5548be,Object[_0x5c88a0(0x2a5)]({},_0x45c86a,{'id':_0x5c88a0(0x27e),'ref':_0x25da5d,'icon':_0x4dedb8}));});_0x39a594[_0x59cd08(0x97)]=_0x59cd08(0x10a);let _0x34a8cf={'tag':_0x59cd08(0x1e7),'attrs':{'xmlns':_0x59cd08(0x3a8),'fill':_0x59cd08(0x1c2),'viewBox':_0x59cd08(0x1d7),'width':'1em','height':_0x59cd08(0xec)},'children':[{'tag':_0x59cd08(0x290),'attrs':{'fill':_0x59cd08(0x3a9),'d':'M8.79993\x2014.0166C8.79993\x2014.4585\x208.44176\x2014.8166\x207.99993\x2014.8166C4.23529\x2014.8166\x201.18345\x2011.7648\x201.18345\x208.00017C1.18345\x204.23554\x204.23529\x201.18369\x207.99993\x201.1837C11.7646\x201.1837\x2014.8164\x204.23554\x2014.8164\x208.00017C14.8164\x208.442\x2014.4582\x208.80017\x2014.0164\x208.80017C13.5746\x208.80017\x2013.2164\x208.442\x2013.2164\x208.00017C13.2164\x205.11919\x2010.8809\x202.7837\x207.99993\x202.7837C5.11895\x202.7837\x202.78345\x205.11919\x202.78345\x208.00017C2.78345\x2010.8812\x205.11895\x2013.2166\x207.99993\x2013.2166C8.44176\x2013.2166\x208.79993\x2013.5748\x208.79993\x2014.0166Z','fillOpacity':0.2,'fillRule':_0x59cd08(0x2db),'clipRule':_0x59cd08(0x2db)}},{'tag':_0x59cd08(0x290),'attrs':{'fill':'#0B9EFB','d':_0x59cd08(0x2e2),'fillRule':_0x59cd08(0x2db),'clipRule':'evenodd'}}]},_0x3f54ac=(0x0,_0x63271a[_0x59cd08(0x37d)])(function(_0x57708b,_0x5f4652){const _0x39eeef=_0x59cd08;return(0x0,_0x63271a['createElement'])(_0x5548be,Object['assign']({},_0x57708b,{'id':_0x39eeef(0x30c),'ref':_0x5f4652,'icon':_0x34a8cf}));});_0x3f54ac[_0x59cd08(0x97)]=_0x59cd08(0x146);function _0x4312fd(_0x16714e){const _0x2a3b57=_0x59cd08;switch(_0x16714e){case _0x4aca0a[_0x2a3b57(0x2d8)]['OFFLINE']:return{'icon':(0x0,_0x2bbf19[_0x2a3b57(0xdb)])(_0x27985b,{}),'colorClass':_0x2a3b57(0x2f2),'i18nKey':_0x2a3b57(0x3d4),'tooltipKey':'collaboration-client-ui.collabClient.tooltip.reconnect','clickable':!0x0,'indicator':_0x2a3b57(0x3a6)};case _0x4aca0a[_0x2a3b57(0x2d8)]['CONFLICT']:return{'icon':(0x0,_0x2bbf19[_0x2a3b57(0xdb)])(_0x27985b,{}),'colorClass':_0x2a3b57(0x1ab),'i18nKey':_0x2a3b57(0x76),'clickable':!0x1,'indicator':_0x2a3b57(0x3a6)};case _0x4aca0a[_0x2a3b57(0x2d8)][_0x2a3b57(0xd1)]:return{'icon':(0x0,_0x2bbf19[_0x2a3b57(0xdb)])(_0x3f54ac,{}),'colorClass':_0x2a3b57(0x113),'i18nKey':'collaboration-client-ui.collabStatus.fetchMiss','clickable':!0x1,'indicator':_0x2a3b57(0x162)};case _0x4aca0a[_0x2a3b57(0x2d8)][_0x2a3b57(0x276)]:return{'icon':(0x0,_0x2bbf19[_0x2a3b57(0xdb)])(_0x3cf87d,{}),'colorClass':_0x2a3b57(0x111),'i18nKey':_0x2a3b57(0x23b),'clickable':!0x1,'indicator':_0x2a3b57(0x3a6)};case _0x4aca0a[_0x2a3b57(0x2d8)][_0x2a3b57(0x14b)]:case _0x4aca0a[_0x2a3b57(0x2d8)][_0x2a3b57(0xe1)]:return{'icon':(0x0,_0x2bbf19[_0x2a3b57(0xdb)])(_0x3f54ac,{}),'colorClass':_0x2a3b57(0x113),'i18nKey':'collaboration-client-ui.collabStatus.syncing','clickable':!0x1,'indicator':_0x2a3b57(0x162)};case _0x4aca0a[_0x2a3b57(0x2d8)][_0x2a3b57(0x11c)]:return{'icon':(0x0,_0x2bbf19[_0x2a3b57(0xdb)])(_0x3f54ac,{}),'colorClass':_0x2a3b57(0x113),'i18nKey':_0x2a3b57(0x1d8),'clickable':!0x1,'indicator':_0x2a3b57(0x162)};case _0x4aca0a[_0x2a3b57(0x2d8)][_0x2a3b57(0x28c)]:return{'icon':(0x0,_0x2bbf19[_0x2a3b57(0xdb)])(_0x3cf87d,{}),'colorClass':_0x2a3b57(0x13b),'i18nKey':'collaboration-client-ui.collabStatus.synced','clickable':!0x1,'indicator':'static'};}}function _0x1a89dc(_0x2b2799){const _0x45e89c=_0x59cd08;let {status$:_0x395eaa}=_0x2b2799,_0x468548=(0x0,_0x4c3c34[_0x45e89c(0x1ff)])(_0x395eaa,_0x4aca0a[_0x45e89c(0x2d8)][_0x45e89c(0x276)]),_0x566f06=(0x0,_0x4c3c34[_0x45e89c(0x2c0)])(_0x4615d2[_0x45e89c(0x205)]),_0x208d39=(0x0,_0x4c3c34['useDependency'])(_0x4aca0a[_0x45e89c(0x1b1)]),_0x593da3=(0x0,_0x63271a[_0x45e89c(0x13c)])(()=>_0x4312fd(_0x468548),[_0x468548]),_0x39c45f=_0x468548!==_0x4aca0a[_0x45e89c(0x2d8)][_0x45e89c(0x188)],_0x385b0d=_0x566f06['t'](_0x593da3[_0x45e89c(0xbe)]),_0x5804d3=_0x593da3[_0x45e89c(0x9a)]?_0x566f06['t'](_0x593da3[_0x45e89c(0x9a)]):_0x385b0d,_0x55fc28=(0x0,_0x63271a['useCallback'])(()=>{const _0x5009b4=_0x45e89c;_0x39c45f||_0x208d39[_0x5009b4(0x102)]();},[_0x39c45f,_0x208d39]),_0x59acd4=(0x0,_0x63271a[_0x45e89c(0x198)])(_0x4fec48=>{const _0x15ff78=_0x45e89c;!_0x39c45f&&(_0x4fec48[_0x15ff78(0x190)]===_0x15ff78(0x33f)||_0x4fec48[_0x15ff78(0x190)]==='\x20')&&(_0x4fec48[_0x15ff78(0x289)](),_0x208d39[_0x15ff78(0x102)]());},[_0x39c45f,_0x208d39]),_0x58ca4d=(0x0,_0x2bbf19[_0x45e89c(0xdb)])(_0x45e89c(0x338),{'className':(0x0,_0x20f977[_0x45e89c(0x271)])(_0x45e89c(0x3b3),'univer-text-xl\x20univer-transition-colors\x20univer-duration-200',_0x593da3['colorClass'],{'univer-animate-spin':_0x593da3[_0x45e89c(0x332)]===_0x45e89c(0x162),'univer-animate-pulse':_0x593da3[_0x45e89c(0x332)]==='pulse'}),'aria-hidden':_0x45e89c(0x2a2),'children':_0x593da3[_0x45e89c(0x3ab)]}),_0x36642a=(0x0,_0x2bbf19[_0x45e89c(0xdb)])(_0x45e89c(0x338),{'className':(0x0,_0x20f977['clsx'])(_0x45e89c(0x3b3),'univer-h-8\x20univer-w-8\x20univer-rounded-lg',_0x45e89c(0x1cf),_0x45e89c(0x2c9),_0x45e89c(0x1bf),{'univer-cursor-pointer\x20hover:univer-bg-gray-100\x20dark:hover:!univer-bg-gray-700':_0x593da3[_0x45e89c(0xae)],'univer-cursor-default':!_0x593da3[_0x45e89c(0xae)]}),'children':_0x58ca4d});return _0x593da3[_0x45e89c(0xae)]?(0x0,_0x2bbf19[_0x45e89c(0xdb)])(_0x20f977['Tooltip'],{'title':_0x5804d3,'placement':_0x45e89c(0x3b4),'children':(0x0,_0x2bbf19[_0x45e89c(0xdb)])(_0x45e89c(0x234),{'type':_0x45e89c(0x234),'onClick':_0x55fc28,'onKeyDown':_0x59acd4,'className':(0x0,_0x20f977[_0x45e89c(0x271)])(_0x45e89c(0x92),'univer-border-none\x20univer-bg-transparent','univer-m-0\x20univer-p-0',_0x45e89c(0x230)),'aria-label':_0x385b0d+_0x45e89c(0x1bd)+_0x5804d3,'role':_0x45e89c(0x88),'aria-live':_0x45e89c(0x80),'aria-atomic':_0x45e89c(0x2a2),'children':_0x36642a})}):(0x0,_0x2bbf19[_0x45e89c(0xdb)])(_0x20f977[_0x45e89c(0x12c)],{'title':_0x5804d3,'placement':'bottom','children':(0x0,_0x2bbf19[_0x45e89c(0xdb)])('div',{'className':(0x0,_0x20f977[_0x45e89c(0x271)])(_0x45e89c(0x92),_0x45e89c(0x303),_0x45e89c(0x31b)),'aria-label':_0x385b0d,'role':_0x45e89c(0x88),'aria-live':_0x45e89c(0x80),'aria-atomic':'true','children':_0x36642a})});}function _0x3abaf2(_0x4d7bb0){'@babel/helpers - typeof';const _0x13bbbb=_0x59cd08;return _0x3abaf2=typeof Symbol=='function'&&typeof Symbol['iterator']==_0x13bbbb(0x1a8)?function(_0x45cc02){return typeof _0x45cc02;}:function(_0x3db993){const _0x2a9499=_0x13bbbb;return _0x3db993&&typeof Symbol=='function'&&_0x3db993[_0x2a9499(0x29a)]===Symbol&&_0x3db993!==Symbol['prototype']?_0x2a9499(0x1a8):typeof _0x3db993;},_0x3abaf2(_0x4d7bb0);}function _0x59dd9f(_0x96102e,_0x1709fa){const _0x59db76=_0x59cd08;if(_0x3abaf2(_0x96102e)!=_0x59db76(0x12a)||!_0x96102e)return _0x96102e;var _0x45eb41=_0x96102e[Symbol[_0x59db76(0x23a)]];if(_0x45eb41!==void 0x0){var _0x47055c=_0x45eb41[_0x59db76(0x2da)](_0x96102e,_0x1709fa||_0x59db76(0x127));if(_0x3abaf2(_0x47055c)!=_0x59db76(0x12a))return _0x47055c;throw TypeError(_0x59db76(0x2df));}return(_0x1709fa===_0x59db76(0x219)?String:Number)(_0x96102e);}function _0x2a7d7d(_0x26ff3f){const _0x3cd3ea=_0x59cd08;var _0x14e980=_0x59dd9f(_0x26ff3f,_0x3cd3ea(0x219));return _0x3abaf2(_0x14e980)==_0x3cd3ea(0x1a8)?_0x14e980:_0x14e980+'';}function _0x4dee6d(_0x151438,_0x3beb09,_0x5f3f03){const _0xa30c0c=_0x59cd08;return(_0x3beb09=_0x2a7d7d(_0x3beb09))in _0x151438?Object[_0xa30c0c(0x2c1)](_0x151438,_0x3beb09,{'value':_0x5f3f03,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x151438[_0x3beb09]=_0x5f3f03,_0x151438;}function _0x2eb870(_0x2ac466,_0x531837){return function(_0x1872c5,_0x22d867){_0x531837(_0x1872c5,_0x22d867,_0x2ac466);};}function _0x260d11(_0x156b9e,_0x11d1ac,_0x42a7d9,_0x33de90){const _0x273537=_0x59cd08;var _0x359d97=arguments[_0x273537(0x3bc)],_0x15eb0e=_0x359d97<0x3?_0x11d1ac:_0x33de90===null?_0x33de90=Object[_0x273537(0x1b5)](_0x11d1ac,_0x42a7d9):_0x33de90,_0x451fb9;if(typeof Reflect==_0x273537(0x12a)&&typeof Reflect[_0x273537(0x313)]=='function')_0x15eb0e=Reflect[_0x273537(0x313)](_0x156b9e,_0x11d1ac,_0x42a7d9,_0x33de90);else{for(var _0xafea3e=_0x156b9e['length']-0x1;_0xafea3e>=0x0;_0xafea3e--)(_0x451fb9=_0x156b9e[_0xafea3e])&&(_0x15eb0e=(_0x359d97<0x3?_0x451fb9(_0x15eb0e):_0x359d97>0x3?_0x451fb9(_0x11d1ac,_0x42a7d9,_0x15eb0e):_0x451fb9(_0x11d1ac,_0x42a7d9))||_0x15eb0e);}return _0x359d97>0x3&&_0x15eb0e&&Object[_0x273537(0x2c1)](_0x11d1ac,_0x42a7d9,_0x15eb0e),_0x15eb0e;}let _0x4f286b=class extends _0x4615d2['Disposable']{constructor(_0xb45d45,_0x1b2d7d,_0x3ea8ba,_0x27a5a2){const _0x4a1242=_0x59cd08;super(),this[_0x4a1242(0x1e5)]=_0xb45d45,this[_0x4a1242(0x33b)]=_0x1b2d7d,this[_0x4a1242(0x1a0)]=_0x3ea8ba,this[_0x4a1242(0x201)]=_0x27a5a2,_0x4dee6d(this,'_status$',new _0x5b7526[(_0x4a1242(0x24f))](_0x4aca0a[_0x4a1242(0x2d8)]['NOT_COLLAB'])),this[_0x4a1242(0x251)](),this[_0x4a1242(0x38c)]();}[_0x59cd08(0x38c)](){const _0x490f2d=_0x59cd08;this[_0x490f2d(0x183)]((0x0,_0x5b7526['merge'])(this[_0x490f2d(0x1e5)][_0x490f2d(0x245)],this[_0x490f2d(0x1e5)]['getCurrentTypeOfUnit$'](_0x4615d2[_0x490f2d(0x172)][_0x490f2d(0x2fb)]),this[_0x490f2d(0x1e5)][_0x490f2d(0x305)](_0x4615d2[_0x490f2d(0x172)][_0x490f2d(0x1e3)]))['pipe']((0x0,_0x101be6['map'])(()=>_0x47f1ab(this['_univerInstanceService'])),(0x0,_0x101be6[_0x490f2d(0x328)])(),(0x0,_0x5b7526[_0x490f2d(0x3c2)])(_0x15cc97=>_0x15cc97?this[_0x490f2d(0x1a0)]['getCollabEntity$'](_0x15cc97):(0x0,_0x5b7526['of'])(null)),(0x0,_0x5b7526['switchMap'])(_0x2f351a=>_0x2f351a?_0x2f351a['status$']:(0x0,_0x5b7526['of'])(_0x4aca0a['CollaborationStatus']['NOT_COLLAB'])))[_0x490f2d(0x248)](_0xf8a505=>{const _0x689c78=_0x490f2d;this[_0x689c78(0x3c6)][_0x689c78(0x20f)](_0xf8a505);}));}['_initStatusComponent'](){const _0x4ec5e9=_0x59cd08;this[_0x4ec5e9(0x183)](this[_0x4ec5e9(0x201)][_0x4ec5e9(0xa2)](_0x4c3c34[_0x4ec5e9(0x22f)][_0x4ec5e9(0x3bd)],()=>(0x0,_0x4c3c34[_0x4ec5e9(0xc2)])(_0x2fdeba({'status$':this[_0x4ec5e9(0x3c6)][_0x4ec5e9(0x1f5)]()}),this[_0x4ec5e9(0x33b)])));}};_0x4f286b=_0x260d11([_0x2eb870(0x0,_0x4615d2[_0x59cd08(0x171)]),_0x2eb870(0x1,(0x0,_0x4615d2[_0x59cd08(0x2b0)])(_0x4615d2[_0x59cd08(0x13d)])),_0x2eb870(0x2,(0x0,_0x4615d2['Inject'])(_0x4aca0a[_0x59cd08(0x30f)])),_0x2eb870(0x3,_0x4c3c34['IUIPartsService'])],_0x4f286b);let _0x5ee193=class extends _0x4615d2[_0x59cd08(0x326)]{constructor(_0x5e8a92,_0x136d6e,_0x38e048,_0x1af182){const _0x435260=_0x59cd08;super(),this[_0x435260(0x1e5)]=_0x5e8a92,this['_injector']=_0x136d6e,this[_0x435260(0x1a0)]=_0x38e048,this[_0x435260(0x201)]=_0x1af182,_0x4dee6d(this,_0x435260(0x3c6),new _0x5b7526[(_0x435260(0x24f))](_0x4aca0a[_0x435260(0x2d8)][_0x435260(0x276)])),this[_0x435260(0x251)](),this[_0x435260(0x38c)]();}[_0x59cd08(0x38c)](){const _0x423b57=_0x59cd08;this[_0x423b57(0x183)]((0x0,_0x5b7526[_0x423b57(0x249)])((0x0,_0x5b7526['of'])(null),this[_0x423b57(0x1e5)][_0x423b57(0x305)](_0x4615d2[_0x423b57(0x172)][_0x423b57(0xdf)]))['pipe']((0x0,_0x101be6[_0x423b57(0xaf)])(()=>_0x49c8de(this[_0x423b57(0x1e5)])),(0x0,_0x101be6[_0x423b57(0x328)])(),(0x0,_0x5b7526[_0x423b57(0x3c2)])(_0x55cd8b=>_0x55cd8b?this['_collaborationController'][_0x423b57(0x2e8)](_0x55cd8b):(0x0,_0x5b7526['of'])(null)),(0x0,_0x5b7526[_0x423b57(0x3c2)])(_0x544d93=>_0x544d93?_0x544d93[_0x423b57(0x93)]:(0x0,_0x5b7526['of'])(_0x4aca0a['CollaborationStatus']['NOT_COLLAB'])))[_0x423b57(0x248)](_0xe0e95d=>{const _0x418b9f=_0x423b57;this[_0x418b9f(0x3c6)][_0x418b9f(0x20f)](_0xe0e95d);}));}[_0x59cd08(0x251)](){const _0x211eef=_0x59cd08;this[_0x211eef(0x183)](this[_0x211eef(0x201)][_0x211eef(0xa2)](_0x199d1d[_0x211eef(0x365)],()=>(0x0,_0x4c3c34[_0x211eef(0xc2)])(_0x2fdeba({'status$':this['_status$']['asObservable']()}),this[_0x211eef(0x33b)])));}};_0x5ee193=_0x260d11([_0x2eb870(0x0,_0x4615d2['IUniverInstanceService']),_0x2eb870(0x1,(0x0,_0x4615d2[_0x59cd08(0x2b0)])(_0x4615d2[_0x59cd08(0x13d)])),_0x2eb870(0x2,(0x0,_0x4615d2['Inject'])(_0x4aca0a[_0x59cd08(0x30f)])),_0x2eb870(0x3,_0x4c3c34[_0x59cd08(0x3ca)])],_0x5ee193);function _0x47f1ab(_0x119953){const _0x52c314=_0x59cd08;let _0x82f608=_0x119953['getFocusedUnit'](),_0x570640=_0x82f608==null?void 0x0:_0x82f608[_0x52c314(0x165)]();if(_0x570640&&!(0x0,_0x4615d2[_0x52c314(0x291)])(_0x570640))return _0x570640;let _0x1ea8fa=_0x119953[_0x52c314(0x345)](_0x4615d2[_0x52c314(0x172)][_0x52c314(0x2fb)]),_0x3605ee=_0x1ea8fa==null?void 0x0:_0x1ea8fa['getUnitId']();if(_0x3605ee&&!(0x0,_0x4615d2['isInternalEditorID'])(_0x3605ee))return _0x3605ee;let _0x5c2cc4=_0x119953['getCurrentUnitOfType'](_0x4615d2[_0x52c314(0x172)][_0x52c314(0x1e3)]);if(_0x5c2cc4)return _0x5c2cc4['getUnitId']();let _0x4a6b55=_0x119953[_0x52c314(0x1aa)](_0x4615d2[_0x52c314(0x172)][_0x52c314(0x2fb)])[_0x52c314(0xfa)](_0x2e6150=>!(0x0,_0x4615d2['isInternalEditorID'])(_0x2e6150['getUnitId']()));return _0x4a6b55?_0x4a6b55[_0x52c314(0x165)]():null;}function _0x49c8de(_0x1742cc){const _0x5aeca5=_0x59cd08;var _0x4c5547;let _0x470114=_0x1742cc['getCurrentUnitOfType'](_0x4615d2['UniverInstanceType'][_0x5aeca5(0xdf)]);return(_0x4c5547=_0x470114==null?void 0x0:_0x470114[_0x5aeca5(0x165)]())==null?null:_0x4c5547;}function _0x2fdeba(_0x2469b8){let {status$:_0x1e1893}=_0x2469b8;return function(){return(0x0,_0x2bbf19['jsx'])(_0x1a89dc,{'status$':_0x1e1893});};}var _0x1b5d57=_0x59cd08(0xcd),_0x4e97cd='1.0.0-alpha.6';let _0x2d7efc={},_0x43f45d=class extends _0x4615d2[_0x59cd08(0x13f)]{constructor(_0x3033b9,_0x30e0f2){const _0x4da944=_0x59cd08;super(),this['_docClipboardService']=_0x3033b9,this[_0x4da944(0x26f)]=_0x30e0f2,this[_0x4da944(0x208)]();}[_0x59cd08(0x208)](){const _0x5cabfc=_0x59cd08;let _0x1db713=this;this[_0x5cabfc(0x183)](this[_0x5cabfc(0x362)]['addClipboardHook']({'onBeforePasteImage':async _0x3b11b4=>{const _0x483246=_0x5cabfc;let _0x2006a1=await _0x1db713[_0x483246(0x26f)]['saveImage'](_0x3b11b4);return _0x2006a1?{'source':_0x2006a1['source'],'imageSourceType':_0x2006a1['imageSourceType']}:null;}}));}};_0x43f45d=_0x260d11([_0x2eb870(0x0,_0x3bfdba[_0x59cd08(0x3cd)]),_0x2eb870(0x1,_0x4615d2[_0x59cd08(0x1ea)])],_0x43f45d);function _0xd17a7f(_0x423ed7,_0x2ee8fb){const _0x441b63=_0x59cd08;_0x423ed7[_0x441b63(0x349)](),_0x423ed7[_0x441b63(0x2cb)]=_0x441b63(0x318);let _0x2e2bf4=_0x423ed7[_0x441b63(0x277)](_0x2ee8fb)['width'];return _0x423ed7[_0x441b63(0x28e)](),Math[_0x441b63(0x238)](_0x2e2bf4+0x8,0xc8);}function _0x3d0a09(_0x50a001,_0x52e4d8){const _0x229211=_0x59cd08;var _0x2a4ea9,_0x46abec,_0x1d22f9;let {radius:_0x3d8108,width:_0x2bc38a,height:_0x34caf0}=_0x52e4d8;_0x3d8108=(_0x2a4ea9=_0x3d8108)==null?0x0:_0x2a4ea9,_0x2bc38a=(_0x46abec=_0x2bc38a)==null?0x1e:_0x46abec,_0x34caf0=(_0x1d22f9=_0x34caf0)==null?0x1e:_0x1d22f9;let _0x2a9281=0x0,_0x5a3326=0x0,_0x1b7f5b=0x0;_0x2a9281=_0x5a3326=_0x1b7f5b=Math[_0x229211(0x238)](_0x3d8108,_0x2bc38a/0x2,_0x34caf0/0x2),_0x50a001['beginPath'](),_0x50a001[_0x229211(0x3d2)](_0x2a9281,0x0),_0x50a001[_0x229211(0x167)](_0x2bc38a-_0x5a3326,0x0),_0x50a001[_0x229211(0x101)](_0x2bc38a-_0x5a3326,_0x5a3326,_0x5a3326,Math['PI']*0x3/0x2,0x0,!0x1),_0x50a001[_0x229211(0x167)](_0x2bc38a,_0x34caf0-_0x1b7f5b),_0x50a001['arc'](_0x2bc38a-_0x1b7f5b,_0x34caf0-_0x1b7f5b,_0x1b7f5b,0x0,Math['PI']/0x2,!0x1),_0x50a001['lineTo'](0x0,_0x34caf0),_0x50a001[_0x229211(0x167)](0x0,_0x2a9281),_0x50a001[_0x229211(0x101)](_0x2a9281,_0x2a9281,_0x2a9281,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x50a001[_0x229211(0x27b)](),_0x52e4d8['fill']&&(_0x50a001[_0x229211(0x349)](),_0x50a001[_0x229211(0x370)]=_0x52e4d8['fill'],_0x52e4d8[_0x229211(0x236)]===_0x229211(0x2db)?_0x50a001[_0x229211(0x3b0)](_0x229211(0x2db)):_0x50a001[_0x229211(0x3b0)](),_0x50a001[_0x229211(0x28e)]());}var _0x43b06e=class _0xcef1da extends _0x1891a4['Shape']{constructor(_0x38c223,_0x3f8d6a){const _0x55f26b=_0x59cd08;super(_0x38c223,_0x3f8d6a),_0x4dee6d(this,_0x55f26b(0xf7),void 0x0),_0x4dee6d(this,_0x55f26b(0xf2),void 0x0),this[_0x55f26b(0xf7)]=_0x3f8d6a==null?void 0x0:_0x3f8d6a[_0x55f26b(0xf7)],this[_0x55f26b(0xf2)]=_0x3f8d6a==null?void 0x0:_0x3f8d6a[_0x55f26b(0xf2)];}static[_0x59cd08(0xde)](_0x5eb5d7,_0x6da5a3){const _0x5c2637=_0x59cd08;let {text:_0xae143,color:_0x582981}=_0x6da5a3;_0x5eb5d7[_0x5c2637(0x349)](),_0x5eb5d7[_0x5c2637(0x2cb)]=_0x5c2637(0x222);let _0x5dd133=_0x5eb5d7[_0x5c2637(0x277)](_0xae143)[_0x5c2637(0x229)];if(_0x3d0a09(_0x5eb5d7,{'height':0x14,'radius':0x4,'width':_0xd17a7f(_0x5eb5d7,_0xae143),'fill':_0x582981,'evented':!0x1}),_0x5eb5d7[_0x5c2637(0x370)]='#FFF',_0x5dd133>0xc0){let _0x2961ba='',_0x534a5e=0x0;for(let _0x14aa94 of _0xae143){let _0x363142=_0x5eb5d7[_0x5c2637(0x277)](_0x14aa94)[_0x5c2637(0x229)];if(_0x534a5e+_0x363142<=0xc0-_0x5eb5d7['measureText'](_0x5c2637(0x34c))[_0x5c2637(0x229)])_0x2961ba+=_0x14aa94,_0x534a5e+=_0x363142;else{_0x2961ba+=_0x5c2637(0x34c);break;}}_0x5eb5d7[_0x5c2637(0x149)](_0x2961ba,0x4,0xf);}else _0x5eb5d7['fillText'](_0xae143,0x4,0xf);_0x5eb5d7['restore']();}[_0x59cd08(0x20c)](_0x2c4cbd){_0xcef1da['drawWith'](_0x2c4cbd,this);}};let _0x26a424=0x138a;var _0x13a0d4=class extends _0x1891a4['Shape']{constructor(_0xfabd0,_0x3877a3){const _0x3bfd95=_0x59cd08;super(_0xfabd0,{..._0x3877a3,'evented':!0x1}),_0x4dee6d(this,_0x3bfd95(0x231),_0x3bfd95(0x1ae)),_0x4dee6d(this,_0x3bfd95(0x34b),''),_0x4dee6d(this,_0x3bfd95(0x84),!0x0),_0x3877a3&&this[_0x3bfd95(0x369)](_0x3877a3);}[_0x59cd08(0x369)](_0x3cdc86){const _0x3770b9=_0x59cd08;var _0x29c63b,_0x51291a,_0x50c663,_0x3572ee,_0x4cd051,_0x4f4b95,_0x3097f4,_0x500d5c;this[_0x3770b9(0x231)]=(_0x29c63b=_0x3cdc86[_0x3770b9(0xf7)])==null?this[_0x3770b9(0x231)]:_0x29c63b,this[_0x3770b9(0x34b)]=(_0x51291a=_0x3cdc86[_0x3770b9(0x2af)])==null?this[_0x3770b9(0x34b)]:_0x51291a,this[_0x3770b9(0x84)]=(_0x50c663=_0x3cdc86[_0x3770b9(0x151)])==null?this[_0x3770b9(0x84)]:_0x50c663,this[_0x3770b9(0xfe)]=!0x1,this[_0x3770b9(0x294)]({'left':(_0x3572ee=_0x3cdc86[_0x3770b9(0x26c)])==null?this[_0x3770b9(0x26c)]:_0x3572ee,'top':(_0x4cd051=_0x3cdc86['top'])==null?this['top']:_0x4cd051,'width':(_0x4f4b95=_0x3cdc86['width'])==null?this[_0x3770b9(0x229)]:_0x4f4b95,'height':(_0x3097f4=_0x3cdc86[_0x3770b9(0x153)])==null?this[_0x3770b9(0x153)]:_0x3097f4,'angle':(_0x500d5c=_0x3cdc86[_0x3770b9(0xda)])==null?this[_0x3770b9(0xda)]:_0x500d5c});}[_0x59cd08(0x20c)](_0x5cf8ac){const _0x58e996=_0x59cd08;_0x5cf8ac[_0x58e996(0x349)](),_0x5cf8ac['strokeStyle']=this[_0x58e996(0x231)],_0x5cf8ac['lineWidth']=this['strokeWidth']||1.5,_0x5cf8ac[_0x58e996(0x34a)]([0x6,0x4]),_0x5cf8ac[_0x58e996(0x7d)](0x0,0x0,this[_0x58e996(0x229)],this[_0x58e996(0x153)]),_0x5cf8ac[_0x58e996(0x28e)](),this[_0x58e996(0x84)]&&(_0x5cf8ac[_0x58e996(0x349)](),_0x5cf8ac[_0x58e996(0x13e)](0x1,0x0,0x0,0x1,this['width'],-0x14),_0x43b06e[_0x58e996(0xde)](_0x5cf8ac,{'text':this['_name'],'color':this['_color']}),_0x5cf8ac[_0x58e996(0x28e)]());}};let _0x4142a7=[_0x59cd08(0x273),_0x59cd08(0x19a),_0x59cd08(0x133),_0x59cd08(0x70),_0x59cd08(0x377),'yellow.400'];var _0x522a9b=class extends _0x4615d2['Disposable']{constructor(..._0x1683f1){const _0x3d06bb=_0x59cd08;super(..._0x1683f1),_0x4dee6d(this,_0x3d06bb(0x178),new Map()),_0x4dee6d(this,_0x3d06bb(0x2b3),0x0);}[_0x59cd08(0x2a4)](_0x1754bc){const _0xb10b5a=_0x59cd08;if(this[_0xb10b5a(0x178)][_0xb10b5a(0x3b1)](_0x1754bc))return this[_0xb10b5a(0x178)][_0xb10b5a(0x99)](_0x1754bc);let _0x3d7b6c=_0x4142a7[this[_0xb10b5a(0x2b3)]];return this[_0xb10b5a(0x2b3)]=(this[_0xb10b5a(0x2b3)]+0x1)%_0x4142a7[_0xb10b5a(0x3bc)],this[_0xb10b5a(0x178)][_0xb10b5a(0x382)](_0x1754bc,_0x3d7b6c),_0x3d7b6c;}};function _0x34f636(_0x194cc6){const _0x581add=_0x59cd08;let _0x30fd02;try{_0x30fd02=JSON[_0x581add(0x1fc)](_0x194cc6);}catch{return null;}if(typeof _0x30fd02!=_0x581add(0x12a)||!_0x30fd02)return null;let _0x1d57ea=_0x30fd02;if(_0x1d57ea['kind']!==_0x581add(0x123)||typeof _0x1d57ea['unitId']!=_0x581add(0x219)||typeof _0x1d57ea[_0x581add(0x32f)]!=_0x581add(0x219))return null;let _0x37eef4=Array[_0x581add(0x1d5)](_0x1d57ea['selectedIds'])?_0x1d57ea[_0x581add(0x3a5)][_0x581add(0x310)](_0x28afb3=>typeof _0x28afb3==_0x581add(0x219)):[],_0x4bcdfa=typeof _0x1d57ea[_0x581add(0x2f6)]==_0x581add(0x219)?_0x1d57ea[_0x581add(0x2f6)]:null;return{'kind':_0x581add(0x123),'unitId':_0x1d57ea['unitId'],'subUnitId':_0x1d57ea[_0x581add(0x32f)],'selectedIds':_0x37eef4,'focusedId':_0x4bcdfa};}let _0x1f91a7=class extends _0x4615d2[_0x59cd08(0x13f)]{get['cursorInfo'](){return this['_cursorInfo$']['getValue']();}get[_0x59cd08(0x203)](){const _0x21055d=_0x59cd08;return this['_roomMembers$'][_0x21055d(0xbb)]();}constructor(_0x187d16,_0x5da682,_0x4001ff,_0x216b3c,_0x3461df){const _0x1efdf8=_0x59cd08;super(),this[_0x1efdf8(0x2b7)]=_0x187d16,this['_session']=_0x5da682,this[_0x1efdf8(0x10f)]=_0x4001ff,this[_0x1efdf8(0x1b6)]=_0x216b3c,this[_0x1efdf8(0x157)]=_0x3461df,_0x4dee6d(this,_0x1efdf8(0x378),!0x1),_0x4dee6d(this,_0x1efdf8(0x208),!0x1),_0x4dee6d(this,_0x1efdf8(0x39a),new _0x5b7526[(_0x1efdf8(0x24f))](new Map())),_0x4dee6d(this,_0x1efdf8(0x2d2),this[_0x1efdf8(0x39a)]['asObservable']()),_0x4dee6d(this,'_roomMembers$',new _0x5b7526[(_0x1efdf8(0x24f))]([])),_0x4dee6d(this,_0x1efdf8(0x2be),this[_0x1efdf8(0x3cc)][_0x1efdf8(0x1a1)]((0x0,_0x5b7526['debounceTime'])(0x12c))),_0x4dee6d(this,_0x1efdf8(0x1d2),(0x0,_0x4615d2[_0x1efdf8(0x311)])(_0x4d373c=>{const _0xef7c12=_0x1efdf8;let _0x484f96=_0x4d373c[_0xef7c12(0x38d)];if(!_0x484f96||_0x484f96[_0xef7c12(0x2d7)]!==this['unitID'])return;let _0x3519dd={'kind':'board-element-selection','unitId':_0x484f96['unitId'],'subUnitId':_0x484f96[_0xef7c12(0x32f)],'selectedIds':_0x4d373c[_0xef7c12(0x3a5)]['filter'](_0x59a166=>typeof _0x59a166==_0xef7c12(0x219)),'focusedId':_0x4d373c[_0xef7c12(0x2f6)]},_0x8d4f8e={'eventID':_0x1208f3[_0xef7c12(0x39d)][_0xef7c12(0x316)],'data':{'unitID':this[_0xef7c12(0x2b7)],'memberID':this[_0xef7c12(0x207)][_0xef7c12(0x6e)](),'selection':JSON['stringify'](_0x3519dd)}};this[_0xef7c12(0x207)][_0xef7c12(0x34f)](_0x8d4f8e,this[_0xef7c12(0x2b7)]);},0x64));}['dispose'](){const _0x3f9b7a=_0x59cd08;super['dispose'](),this[_0x3f9b7a(0x39a)][_0x3f9b7a(0x20f)](new Map()),this[_0x3f9b7a(0x39a)][_0x3f9b7a(0x398)](),this[_0x3f9b7a(0x3cc)]['next']([]),this[_0x3f9b7a(0x3cc)][_0x3f9b7a(0x398)]();}['init'](){const _0x5cfd08=_0x59cd08;this['_init']||(this[_0x5cfd08(0x208)]=!0x0,this[_0x5cfd08(0x207)]['sessionStatus$'][_0x5cfd08(0x1a1)]((0x0,_0x5b7526[_0x5cfd08(0xb4)])(this[_0x5cfd08(0xce)]))[_0x5cfd08(0x248)](_0x30aa97=>{const _0xf7dd07=_0x5cfd08;_0x30aa97===_0x4aca0a['SessionStatus'][_0xf7dd07(0x30d)]?this[_0xf7dd07(0x239)]():this[_0xf7dd07(0x32d)]();}),this[_0x5cfd08(0x207)]['event$'][_0x5cfd08(0x1a1)]((0x0,_0x5b7526[_0x5cfd08(0xb4)])(this[_0x5cfd08(0xce)]))[_0x5cfd08(0x248)](_0xf6371e=>{const _0x3ab53c=_0x5cfd08;let _0x552012=_0xf6371e['eventID'];_0x552012===_0x1208f3[_0x3ab53c(0x39d)]['UPDATE_CURSOR']&&this[_0x3ab53c(0x1df)](_0xf6371e),_0x552012===_0x1208f3[_0x3ab53c(0x39d)]['USERS_LEAVE']&&this['_onCursorDelete'](_0xf6371e);}),this[_0x5cfd08(0x157)][_0x5cfd08(0x1f2)][_0x5cfd08(0x1a1)]((0x0,_0x5b7526[_0x5cfd08(0xb4)])(this[_0x5cfd08(0xce)]))[_0x5cfd08(0x248)](_0x2ef985=>{const _0x1fe601=_0x5cfd08;this['_online']&&this[_0x1fe601(0x1d2)](_0x2ef985);}));}[_0x59cd08(0x1df)](_0x1fcfe6){const _0x4e23d6=_0x59cd08;var _0x5888a1,_0x4bcb07,_0x2f5408,_0x66ed62;let {memberID:_0x29d599,selection:_0x20b84e}=_0x1fcfe6['data'];if(_0x29d599===((_0x5888a1=(_0x4bcb07=this[_0x4e23d6(0x207)])[_0x4e23d6(0x6e)])==null?void 0x0:_0x5888a1[_0x4e23d6(0x2da)](_0x4bcb07)))return;let _0x531778=_0x34f636(_0x20b84e);if(!_0x531778||_0x531778[_0x4e23d6(0x2d7)]!==this[_0x4e23d6(0x2b7)])return;let _0x3e250c=(_0x2f5408=(_0x66ed62=this[_0x4e23d6(0x1b6)][_0x4e23d6(0x189)](this['unitID'],_0x29d599))==null?void 0x0:_0x66ed62['name'])==null?_0x4e23d6(0x3c0):_0x2f5408,_0x48b607={'color':this['_colorAssignService'][_0x4e23d6(0x2a4)](_0x29d599),'name':_0x3e250c,'unitId':_0x531778[_0x4e23d6(0x2d7)],'subUnitId':_0x531778[_0x4e23d6(0x32f)],'selectedIds':_0x531778[_0x4e23d6(0x3a5)],'focusedId':_0x531778[_0x4e23d6(0x2f6)],'selection':_0x20b84e},_0xce2953=new Map(this[_0x4e23d6(0x387)]);_0xce2953['set'](_0x29d599,_0x48b607),this[_0x4e23d6(0x39a)]['next'](_0xce2953);}[_0x59cd08(0x3b8)](_0x19a961){const _0x52dd4b=_0x59cd08;let {memberID:_0xedfd85}=_0x19a961[_0x52dd4b(0x186)],_0x48c1ab=new Map(this['cursorInfo']);_0x48c1ab[_0x52dd4b(0x28b)](_0xedfd85),this[_0x52dd4b(0x39a)][_0x52dd4b(0x20f)](_0x48c1ab);}['_toggleOnline'](){const _0x389f1a=_0x59cd08;this[_0x389f1a(0x378)]=!0x0,this[_0x389f1a(0x1d2)](this['_boardElementStateService'][_0x389f1a(0x336)]());}[_0x59cd08(0x32d)](){const _0x4f32e6=_0x59cd08;this[_0x4f32e6(0x378)]=!0x1;}};_0x1f91a7=_0x260d11([_0x2eb870(0x2,(0x0,_0x4615d2[_0x59cd08(0x2b0)])(_0x522a9b)),_0x2eb870(0x3,(0x0,_0x4615d2[_0x59cd08(0x2b0)])(_0x4aca0a['MemberService'])),_0x2eb870(0x4,(0x0,_0x4615d2[_0x59cd08(0x2b0)])(_0x199d1d[_0x59cd08(0x1c8)]))],_0x1f91a7);function _0x288a3e(_0x5ab4a8){const _0x590a08=_0x59cd08;let _0x4ee342='';for(let _0x372ea0 of _0x5ab4a8){let {startOffset:_0x15028,endOffset:_0x236df7,isActive:_0x3eede7,rangeType:_0x42d5e9,segmentId:_0x5d5397,segmentPage:_0x2a8036}=_0x372ea0;_0x4ee342[_0x590a08(0x3bc)]&&(_0x4ee342+=','),_0x4ee342+=_0x15028+':'+_0x236df7+':'+(_0x3eede7?'1':'0')+':'+_0x42d5e9+':'+_0x5d5397+':'+_0x2a8036;}return _0x4ee342;}function _0x56bcb6(_0x35b56c){const _0x3ee016=_0x59cd08;let _0x29dc57=_0x35b56c[_0x3ee016(0x25b)](','),_0x1c2f5f=[];for(let _0x3d7b88 of _0x29dc57){let [_0x31114c,_0x3d8868,_0x381636,_0x5eca13,_0x1446cb,_0x1a6efe]=_0x3d7b88['split'](':');_0x1c2f5f['push']({'startOffset':Number(_0x31114c),'endOffset':Number(_0x3d8868),'collapsed':_0x31114c===_0x3d8868,'isActive':_0x381636==='1','rangeType':_0x5eca13===_0x4615d2[_0x3ee016(0x360)][_0x3ee016(0x114)]?_0x4615d2['DOC_RANGE_TYPE'][_0x3ee016(0x114)]:_0x4615d2[_0x3ee016(0x360)][_0x3ee016(0x2f1)],'segmentId':typeof _0x1446cb==_0x3ee016(0x219)?String(_0x1446cb):'','segmentPage':Number(_0x1a6efe==null?-0x1:_0x1a6efe)});}return _0x1c2f5f[_0x3ee016(0x2b2)](_0x5e1c5a=>_0x5e1c5a['isActive'])||(_0x1c2f5f[0x0][_0x3ee016(0x244)]=!0x0),_0x1c2f5f;}var _0x410673=class extends _0x4615d2[_0x59cd08(0x13f)]{constructor(..._0x48265a){const _0x360787=_0x59cd08;super(..._0x48265a),_0x4dee6d(this,_0x360787(0x36b),new _0x5b7526[(_0x360787(0x24f))](null)),_0x4dee6d(this,_0x360787(0x3a1),this[_0x360787(0x36b)][_0x360787(0x1f5)]());}[_0x59cd08(0x10b)](_0x21bcdb){const _0x1ee8db=_0x59cd08;let {unitID:_0x285d88,memberID:_0x484217,textRanges:_0x574b6a}=_0x21bcdb,_0x4e9415=_0x288a3e(_0x574b6a);if(_0x4e9415==='')return;let _0x27b8e2={'unitID':_0x285d88,'memberID':_0x484217,'selection':_0x4e9415};this[_0x1ee8db(0x36b)][_0x1ee8db(0x20f)](_0x27b8e2);}};let _0x4e5738=class extends _0x4615d2[_0x59cd08(0x13f)]{get[_0x59cd08(0x387)](){const _0x41c91a=_0x59cd08;return this[_0x41c91a(0x39a)][_0x41c91a(0xbb)]();}get['roomMembers'](){const _0xa2c9a7=_0x59cd08;return this['_roomMembers$'][_0xa2c9a7(0xbb)]();}constructor(_0x20dd19,_0x3452e5,_0x356a1c,_0x55abba,_0x38c2b5,_0x2db03b,_0x3a1bc0,_0x42e2b8,_0x521a4e){const _0x59fbbc=_0x59cd08;super(),this[_0x59fbbc(0x2b7)]=_0x20dd19,this[_0x59fbbc(0x207)]=_0x3452e5,this['_injector']=_0x356a1c,this[_0x59fbbc(0x10f)]=_0x55abba,this['_memberService']=_0x38c2b5,this[_0x59fbbc(0x1ec)]=_0x2db03b,this[_0x59fbbc(0x366)]=_0x3a1bc0,this[_0x59fbbc(0x1e5)]=_0x42e2b8,this[_0x59fbbc(0x202)]=_0x521a4e,_0x4dee6d(this,'_online',!0x1),_0x4dee6d(this,_0x59fbbc(0x208),!0x1),_0x4dee6d(this,_0x59fbbc(0x39a),new _0x5b7526['BehaviorSubject'](new Map())),_0x4dee6d(this,_0x59fbbc(0x2d2),this[_0x59fbbc(0x39a)][_0x59fbbc(0x1f5)]()),_0x4dee6d(this,_0x59fbbc(0x3cc),new _0x5b7526['BehaviorSubject']([])),_0x4dee6d(this,_0x59fbbc(0x2be),this[_0x59fbbc(0x3cc)]['pipe']((0x0,_0x5b7526['debounceTime'])(0x12c))),_0x4dee6d(this,'_updateLocalCursor',(0x0,_0x4615d2['debounce'])(_0x228818=>{const _0x9703b4=_0x59fbbc;let _0x509889={'eventID':_0x1208f3[_0x9703b4(0x39d)][_0x9703b4(0x316)],'data':{'unitID':this[_0x9703b4(0x2b7)],'memberID':this[_0x9703b4(0x207)]['getMemberID'](),'selection':_0x288a3e(_0x228818)}};this[_0x9703b4(0x207)][_0x9703b4(0x34f)](_0x509889,this['unitID']);},0x64));}['dispose'](){const _0x2220cb=_0x59cd08;super[_0x2220cb(0x223)](),this[_0x2220cb(0x39a)][_0x2220cb(0x20f)](new Map()),this[_0x2220cb(0x39a)][_0x2220cb(0x398)](),this['_roomMembers$'][_0x2220cb(0x20f)]([]),this[_0x2220cb(0x3cc)][_0x2220cb(0x398)]();}[_0x59cd08(0x87)](){const _0x3c9771=_0x59cd08;this[_0x3c9771(0x208)]||(this[_0x3c9771(0x208)]=!0x0,this[_0x3c9771(0x207)][_0x3c9771(0x2ff)]['pipe']((0x0,_0x5b7526[_0x3c9771(0xb4)])(this[_0x3c9771(0xce)]))['subscribe'](_0x5b4d64=>{const _0x2f0c08=_0x3c9771;_0x5b4d64===_0x4aca0a[_0x2f0c08(0x8e)][_0x2f0c08(0x30d)]?this['_toggleOnline']():this[_0x2f0c08(0x32d)]();}),this[_0x3c9771(0x207)]['event$']['pipe']((0x0,_0x5b7526[_0x3c9771(0xb4)])(this[_0x3c9771(0xce)]))[_0x3c9771(0x248)](_0xe07463=>{const _0x12e7c6=_0x3c9771;let _0x275654=_0xe07463[_0x12e7c6(0x2c5)];_0x275654===_0x1208f3['CollaborationEvent'][_0x12e7c6(0x316)]&&this[_0x12e7c6(0x1df)](_0xe07463),_0x275654===_0x1208f3[_0x12e7c6(0x39d)][_0x12e7c6(0x107)]&&this[_0x12e7c6(0x3b8)](_0xe07463);}),this[_0x3c9771(0x183)](this[_0x3c9771(0x202)]['onCommandExecuted'](_0x4b7964=>{const _0x376a94=_0x3c9771;let _0x363099=_0x4b7964[_0x376a94(0x1f7)];_0x363099!=null&&this[_0x376a94(0x378)]&&_0x4b7964['id']===_0x7aa288[_0x376a94(0x381)]['id']&&_0x363099[_0x376a94(0x2d7)]===this['unitID']&&_0x363099['isEditing']===!0x1&&_0x363099[_0x376a94(0x1ee)][_0x376a94(0x3bc)]>0x0&&this[_0x376a94(0x1d2)](_0x363099[_0x376a94(0x1ee)]);})),this['_syncEditingCollabCursorService'][_0x3c9771(0x3a1)][_0x3c9771(0x1a1)]((0x0,_0x5b7526[_0x3c9771(0xb4)])(this[_0x3c9771(0xce)]))[_0x3c9771(0x248)](_0x4fb98c=>{const _0x51a51d=_0x3c9771;if((_0x4fb98c==null?void 0x0:_0x4fb98c[_0x51a51d(0x2b7)])!==this[_0x51a51d(0x2b7)])return;let _0xa56f93={'eventID':_0x1208f3[_0x51a51d(0x39d)][_0x51a51d(0x316)],'data':_0x4fb98c};this[_0x51a51d(0x1df)](_0xa56f93);}),this['disposeWithMe'](this[_0x3c9771(0x202)][_0x3c9771(0x137)](_0x4aa552=>{const _0x2d0e0d=_0x3c9771;if(_0x4aa552[_0x2d0e0d(0x1f7)]==null)return;let _0x330547=_0x4aa552[_0x2d0e0d(0x1f7)];if(_0x4aa552['id']!==_0x7aa288[_0x2d0e0d(0x105)]['id']||_0x330547['unitId']!==this[_0x2d0e0d(0x2b7)])return;let _0x58f8a5={'id':'doc.mutation.rich-text-editing','params':_0x330547},_0x91fba8=this['cursorInfo'];for(let [_0xb118e0,_0x25101a]of _0x91fba8){let _0x5ea4b6={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0x2d0e0d(0x2b7)],'actions':null,'textRanges':_0x25101a[_0x2d0e0d(0x1ee)]}},_0x58d164=this[_0x2d0e0d(0x366)][_0x2d0e0d(0x11d)](_0x58f8a5,_0x5ea4b6,!0x1);if((0x0,_0x1208f3[_0x2d0e0d(0x21a)])(_0x58d164))throw _0x58d164['error'];_0x91fba8[_0x2d0e0d(0x382)](_0xb118e0,{..._0x25101a,'ranges':_0x58d164[_0x2d0e0d(0x11e)][_0x2d0e0d(0x1f7)]['textRanges']});}queueMicrotask(()=>{const _0x442ab2=_0x2d0e0d;this[_0x442ab2(0x39a)][_0x442ab2(0x20f)](_0x91fba8);});})));}[_0x59cd08(0x1df)](_0x164bdd){const _0x1976b7=_0x59cd08;var _0x258af8,_0x2180fe;let {memberID:_0x5c4f8e,selection:_0x1139c5}=_0x164bdd[_0x1976b7(0x186)],_0x52118b=_0x56bcb6(_0x1139c5),_0x334460=(_0x258af8=(_0x2180fe=this[_0x1976b7(0x1b6)][_0x1976b7(0x189)](this[_0x1976b7(0x2b7)],_0x5c4f8e))==null?void 0x0:_0x2180fe[_0x1976b7(0x2af)])==null?_0x1976b7(0x3c0):_0x258af8,_0x288473={'color':this[_0x1976b7(0x10f)]['assignAColorForMemberID'](_0x5c4f8e),'name':_0x334460,'ranges':_0x52118b},_0x4a2c7d=this[_0x1976b7(0x387)];_0x4a2c7d['set'](_0x5c4f8e,_0x288473),this[_0x1976b7(0x39a)][_0x1976b7(0x20f)](_0x4a2c7d);}[_0x59cd08(0x3b8)](_0x46fa1c){const _0x52f3a3=_0x59cd08;let {memberID:_0x302a19}=_0x46fa1c[_0x52f3a3(0x186)],_0x1ab184=this['cursorInfo'];_0x1ab184['delete'](_0x302a19),this[_0x52f3a3(0x39a)][_0x52f3a3(0x20f)](_0x1ab184);}['_toggleOnline'](){const _0x4838ff=_0x59cd08;var _0x64bc22;if(this['_online']=!0x0,((_0x64bc22=this[_0x4838ff(0x1e5)][_0x4838ff(0x143)]())==null?void 0x0:_0x64bc22[_0x4838ff(0x165)]())!==this[_0x4838ff(0x2b7)])return;let _0x2eb759=this['_injector']['get'](_0x7aa288[_0x4838ff(0x118)])[_0x4838ff(0x1c5)]();Array[_0x4838ff(0x1d5)](_0x2eb759)&&_0x2eb759[_0x4838ff(0x3bc)]>0x0&&this[_0x4838ff(0x1d2)](_0x2eb759);}[_0x59cd08(0x32d)](){const _0x2a0954=_0x59cd08;this[_0x2a0954(0x378)]=!0x1;}};_0x4e5738=_0x260d11([_0x2eb870(0x2,(0x0,_0x4615d2[_0x59cd08(0x2b0)])(_0x4615d2[_0x59cd08(0x13d)])),_0x2eb870(0x3,(0x0,_0x4615d2[_0x59cd08(0x2b0)])(_0x522a9b)),_0x2eb870(0x4,(0x0,_0x4615d2[_0x59cd08(0x2b0)])(_0x4aca0a[_0x59cd08(0x121)])),_0x2eb870(0x5,(0x0,_0x4615d2['Inject'])(_0x410673)),_0x2eb870(0x6,_0x1208f3[_0x59cd08(0x1b2)]),_0x2eb870(0x7,_0x4615d2[_0x59cd08(0x171)]),_0x2eb870(0x8,_0x4615d2[_0x59cd08(0x15e)])],_0x4e5738);let _0x174bed=()=>{let _0x44c128=[],_0x3b4e02=!0x1;return _0x17f131=>{_0x44c128['push'](_0x17f131),_0x3b4e02||(_0x3b4e02=!0x0,setTimeout(()=>{const _0x4591f9=_0x41f0;_0x44c128[_0x4591f9(0x23d)](_0x1b4564=>_0x1b4564()),_0x44c128=[],_0x3b4e02=!0x1;}));};},_0x18bad9=class extends _0x4615d2[_0x59cd08(0x13f)]{get[_0x59cd08(0x387)](){const _0xb612e4=_0x59cd08;return this[_0xb612e4(0x39a)][_0xb612e4(0xbb)]();}get[_0x59cd08(0x203)](){return this['_roomMembers$']['getValue']();}constructor(_0x3fa6e6,_0x22da32,_0x24ec04,_0x1e6adc,_0x3ebf54,_0x1cbbb0,_0x2ae3c3,_0x56ac83){const _0x55426a=_0x59cd08;super(),this['unitID']=_0x3fa6e6,this['_session']=_0x22da32,this[_0x55426a(0x33b)]=_0x24ec04,this['_colorAssignService']=_0x1e6adc,this[_0x55426a(0x1b6)]=_0x3ebf54,this[_0x55426a(0x1e5)]=_0x1cbbb0,this[_0x55426a(0x202)]=_0x2ae3c3,this[_0x55426a(0xf9)]=_0x56ac83,_0x4dee6d(this,'_online',!0x1),_0x4dee6d(this,_0x55426a(0x208),!0x1),_0x4dee6d(this,_0x55426a(0x39a),new _0x5b7526['BehaviorSubject'](new Map())),_0x4dee6d(this,_0x55426a(0x2d2),this[_0x55426a(0x39a)][_0x55426a(0x1f5)]()),_0x4dee6d(this,_0x55426a(0x3cc),new _0x5b7526[(_0x55426a(0x24f))]([])),_0x4dee6d(this,_0x55426a(0x2be),this[_0x55426a(0x3cc)][_0x55426a(0x1a1)]((0x0,_0x5b7526[_0x55426a(0x79)])(0x12c))),_0x4dee6d(this,_0x55426a(0x1d2),(0x0,_0x4615d2[_0x55426a(0x311)])((_0x18ea3c,_0xd671a)=>{const _0x458f6b=_0x55426a;let _0x48f202={'eventID':_0x1208f3[_0x458f6b(0x39d)][_0x458f6b(0x316)],'data':{'unitID':this[_0x458f6b(0x2b7)],'memberID':this[_0x458f6b(0x207)]['getMemberID'](),'selection':(0x0,_0x5f0904[_0x458f6b(0x21c)])(_0x18ea3c,_0xd671a[_0x458f6b(0x211)])}};this[_0x458f6b(0x207)][_0x458f6b(0x34f)](_0x48f202,this[_0x458f6b(0x2b7)]);},0x64));}[_0x59cd08(0x223)](){const _0x39f71e=_0x59cd08;super[_0x39f71e(0x223)](),this['_cursorInfo$'][_0x39f71e(0x20f)](new Map()),this[_0x39f71e(0x39a)][_0x39f71e(0x398)](),this['_roomMembers$'][_0x39f71e(0x20f)]([]),this['_roomMembers$']['complete']();}[_0x59cd08(0x87)](){const _0x5610c1=_0x59cd08;this[_0x5610c1(0x208)]||(this[_0x5610c1(0x208)]=!0x0,this['_session'][_0x5610c1(0x2ff)][_0x5610c1(0x1a1)]((0x0,_0x5b7526[_0x5610c1(0xb4)])(this[_0x5610c1(0xce)]))['subscribe'](_0x545aee=>{const _0x2cdb7b=_0x5610c1;_0x545aee===_0x4aca0a[_0x2cdb7b(0x8e)][_0x2cdb7b(0x30d)]?this['_toggleOnline']():this[_0x2cdb7b(0x32d)]();}),this['_session'][_0x5610c1(0x77)][_0x5610c1(0x1a1)]((0x0,_0x5b7526['takeUntil'])(this['dispose$']))[_0x5610c1(0x248)](_0x1f84c2=>{const _0xcdacf8=_0x5610c1;let _0xe8810d=_0x1f84c2[_0xcdacf8(0x2c5)];_0xe8810d===_0x1208f3['CollaborationEvent'][_0xcdacf8(0x316)]&&this[_0xcdacf8(0x1df)](_0x1f84c2),_0xe8810d===_0x1208f3['CollaborationEvent'][_0xcdacf8(0x107)]&&this[_0xcdacf8(0x3b8)](_0x1f84c2);}),this['_onRefRangeChange'](),this[_0x5610c1(0x183)](this['_commandService'][_0x5610c1(0x137)](_0x16ade2=>{const _0x3d567d=_0x5610c1;if(this[_0x3d567d(0x378)]&&_0x16ade2['id']===_0x5ac505['SetSelectionsOperation']['id']&&_0x16ade2[_0x3d567d(0x1f7)][_0x3d567d(0x2d7)]===this[_0x3d567d(0x2b7)]){let _0x1a8778=_0x16ade2[_0x3d567d(0x1f7)];this[_0x3d567d(0x1d2)](_0x1a8778['subUnitId'],_0x1a8778[_0x3d567d(0x1a6)][0x0]);}})));}[_0x59cd08(0x1df)](_0x59f792){const _0x52ac6e=_0x59cd08;var _0x2798ca,_0x5ac94f;let {memberID:_0x50d87b,selection:_0x8f5681}=_0x59f792[_0x52ac6e(0x186)],{sheetName:_0x4f964a,range:_0x30f6ed}=(0x0,_0x5f0904[_0x52ac6e(0x282)])(_0x8f5681),_0x417bfd={'name':(_0x2798ca=(_0x5ac94f=this[_0x52ac6e(0x1b6)][_0x52ac6e(0x189)](this[_0x52ac6e(0x2b7)],_0x50d87b))==null?void 0x0:_0x5ac94f[_0x52ac6e(0x2af)])==null?_0x52ac6e(0x3c0):_0x2798ca,'range':this[_0x52ac6e(0xa0)](_0x4f964a,_0x30f6ed),'sheetID':_0x4f964a,'color':this[_0x52ac6e(0x10f)][_0x52ac6e(0x2a4)](_0x50d87b),'selection':_0x8f5681},_0x45c629=this[_0x52ac6e(0x387)];_0x45c629[_0x52ac6e(0x382)](_0x50d87b,_0x417bfd),this[_0x52ac6e(0x39a)][_0x52ac6e(0x20f)](_0x45c629);}[_0x59cd08(0x3b8)](_0x3f60ef){const _0x231002=_0x59cd08;let {memberID:_0x5dd945}=_0x3f60ef[_0x231002(0x186)],_0x45f19b=this['cursorInfo'];_0x45f19b[_0x231002(0x28b)](_0x5dd945),this[_0x231002(0x39a)][_0x231002(0x20f)](_0x45f19b);}['_getMergeRange'](_0x207ccb,_0x27417a){const _0x67cc01=_0x59cd08;var _0x36c41f;let _0x52b524=(_0x36c41f=this[_0x67cc01(0x1e5)][_0x67cc01(0x3a0)](this[_0x67cc01(0x2b7)]))==null||(_0x36c41f=_0x36c41f['getSheetBySheetId'](_0x207ccb))==null?void 0x0:_0x36c41f['getMergeData']();return(_0x52b524==null?void 0x0:_0x52b524[_0x67cc01(0xfa)](_0xd722fd=>_0x4615d2['Rectangle'][_0x67cc01(0x3be)](_0xd722fd,_0x27417a)))||_0x27417a;}[_0x59cd08(0x323)](){const _0x389f7a=_0x59cd08;let _0x1aadab=new _0x4615d2[(_0x389f7a(0xe7))](),_0x294008=_0x174bed(),_0x3587a6=()=>{const _0x1c4f6=_0x389f7a;_0x1aadab[_0x1c4f6(0x223)]();let _0xb6c746=(_0x339d97,_0x54d7c3,_0x20385f,_0x18d2f6)=>{const _0x180d0e=_0x1c4f6;let _0x4f99f6=[];switch(_0x339d97['id']){case _0x5ac505[_0x180d0e(0x134)][_0x180d0e(0x24d)]:_0x4f99f6=(0x0,_0x5ac505[_0x180d0e(0x18e)])(_0x339d97,_0x18d2f6);break;case _0x5ac505['EffectRefRangId'][_0x180d0e(0x2de)]:_0x4f99f6=(0x0,_0x5ac505[_0x180d0e(0x1a9)])(_0x339d97,_0x18d2f6);break;case _0x5ac505[_0x180d0e(0x134)][_0x180d0e(0x1c0)]:_0x4f99f6=(0x0,_0x5ac505['handleInsertCol'])(_0x339d97,_0x18d2f6);break;case _0x5ac505[_0x180d0e(0x134)][_0x180d0e(0x299)]:_0x4f99f6=(0x0,_0x5ac505['handleInsertRangeMoveDown'])(_0x339d97,_0x18d2f6);break;case _0x5ac505[_0x180d0e(0x134)][_0x180d0e(0x12d)]:_0x4f99f6=(0x0,_0x5ac505[_0x180d0e(0x161)])(_0x339d97,_0x18d2f6);break;case _0x5ac505[_0x180d0e(0x134)][_0x180d0e(0x322)]:_0x4f99f6=(0x0,_0x5ac505[_0x180d0e(0x20e)])(_0x339d97,_0x18d2f6);break;case _0x5ac505[_0x180d0e(0x134)]['MoveRangeCommandId']:_0x4f99f6=(0x0,_0x5ac505[_0x180d0e(0x8d)])(_0x339d97,_0x18d2f6);break;case _0x5ac505[_0x180d0e(0x134)][_0x180d0e(0x3ac)]:_0x4f99f6=(0x0,_0x5ac505['handleIRemoveCol'])(_0x339d97,_0x18d2f6);break;case _0x5ac505[_0x180d0e(0x134)][_0x180d0e(0x6d)]:_0x4f99f6=(0x0,_0x5ac505[_0x180d0e(0x3c5)])(_0x339d97,_0x18d2f6);break;}let _0x355736=(0x0,_0x5ac505[_0x180d0e(0x254)])(_0x4f99f6,_0x18d2f6),_0x15a09e=this[_0x180d0e(0x387)][_0x180d0e(0x99)](_0x54d7c3);if(_0x15a09e&&_0x355736){let _0x4874d2={..._0x15a09e,'range':_0x355736};this['cursorInfo'][_0x180d0e(0x382)](_0x54d7c3,_0x4874d2),_0x294008(()=>{const _0x1a1dbe=_0x180d0e;let _0x7bd7bd=this[_0x1a1dbe(0xf9)]['registerRefRange'](_0x355736,_0x1c7aef=>(_0x7bd7bd['dispose'](),_0xb6c746(_0x1c7aef,_0x54d7c3,_0x20385f,_0x355736)));_0x1aadab[_0x1a1dbe(0x145)](_0x7bd7bd);});}return{'redos':[],'undos':[]};};this[_0x1c4f6(0x387)][_0x1c4f6(0x23d)]((_0x56a6ad,_0x42335f)=>{const _0x5f5bf8=_0x1c4f6;let {range:_0x1d7549,sheetID:_0x1be8f0}=_0x56a6ad,_0x3d08c5=this[_0x5f5bf8(0xf9)]['registerRefRange'](_0x1d7549,_0x1f1064=>(_0x3d08c5[_0x5f5bf8(0x223)](),_0xb6c746(_0x1f1064,_0x42335f,_0x1be8f0,_0x1d7549)));_0x1aadab[_0x5f5bf8(0x145)](_0x3d08c5);});};this[_0x389f7a(0x183)]((0x0,_0x4615d2[_0x389f7a(0x293)])(this[_0x389f7a(0x39a)][_0x389f7a(0x248)](()=>{_0x3587a6();})));}[_0x59cd08(0x239)](){const _0x2f94f4=_0x59cd08;var _0x272d43,_0x3ad7e7;if(this['_online']=!0x0,((_0x272d43=this['_univerInstanceService'][_0x2f94f4(0x143)]())==null?void 0x0:_0x272d43[_0x2f94f4(0x165)]())!==this[_0x2f94f4(0x2b7)])return;let _0x52b93a=(_0x3ad7e7=this[_0x2f94f4(0x33b)][_0x2f94f4(0x99)](_0x5ac505[_0x2f94f4(0x24a)])[_0x2f94f4(0x1c4)]())==null?void 0x0:_0x3ad7e7[0x0],_0x4459b6=this['_univerInstanceService'][_0x2f94f4(0x345)](_0x4615d2[_0x2f94f4(0x172)]['UNIVER_SHEET'])[_0x2f94f4(0x2d0)]();_0x52b93a&&_0x4459b6&&this[_0x2f94f4(0x1d2)](_0x4459b6['getSheetId'](),_0x52b93a);}[_0x59cd08(0x32d)](){const _0x1d8954=_0x59cd08;this[_0x1d8954(0x378)]=!0x1;}};_0x18bad9=_0x260d11([_0x2eb870(0x2,(0x0,_0x4615d2[_0x59cd08(0x2b0)])(_0x4615d2[_0x59cd08(0x13d)])),_0x2eb870(0x3,(0x0,_0x4615d2['Inject'])(_0x522a9b)),_0x2eb870(0x4,(0x0,_0x4615d2['Inject'])(_0x4aca0a['MemberService'])),_0x2eb870(0x5,_0x4615d2[_0x59cd08(0x171)]),_0x2eb870(0x6,_0x4615d2[_0x59cd08(0x15e)]),_0x2eb870(0x7,(0x0,_0x4615d2[_0x59cd08(0x2b0)])(_0x5ac505[_0x59cd08(0x2e9)]))],_0x18bad9);function _0x5bab35(_0x5ae1cb){const _0x28a7f1=_0x59cd08;let _0x29f206;try{_0x29f206=JSON[_0x28a7f1(0x1fc)](_0x5ae1cb);}catch{return null;}if(typeof _0x29f206!=_0x28a7f1(0x12a)||!_0x29f206)return null;let _0x7c70dc=_0x29f206;if(_0x7c70dc[_0x28a7f1(0xc8)]!==_0x28a7f1(0x181)||typeof _0x7c70dc[_0x28a7f1(0x2d7)]!=_0x28a7f1(0x219)||typeof _0x7c70dc['subUnitId']!=_0x28a7f1(0x219))return null;let _0x3ba397=Array[_0x28a7f1(0x1d5)](_0x7c70dc[_0x28a7f1(0x3a5)])?_0x7c70dc['selectedIds'][_0x28a7f1(0x310)](_0xde54bf=>typeof _0xde54bf=='string'):[],_0x23f5dd=typeof _0x7c70dc[_0x28a7f1(0x2f6)]==_0x28a7f1(0x219)?_0x7c70dc[_0x28a7f1(0x2f6)]:null;return{'kind':_0x28a7f1(0x181),'unitId':_0x7c70dc[_0x28a7f1(0x2d7)],'subUnitId':_0x7c70dc[_0x28a7f1(0x32f)],'selectedIds':_0x3ba397,'focusedId':_0x23f5dd};}let _0x22a881=class extends _0x4615d2['RxDisposable']{get[_0x59cd08(0x387)](){const _0x1daa51=_0x59cd08;return this[_0x1daa51(0x39a)][_0x1daa51(0xbb)]();}get[_0x59cd08(0x203)](){const _0x15a8f7=_0x59cd08;return this[_0x15a8f7(0x3cc)]['getValue']();}constructor(_0x1560f8,_0x4edd82,_0x3196b9,_0x3b2996,_0x5afd5b){const _0x12b35e=_0x59cd08;super(),this['unitID']=_0x1560f8,this['_session']=_0x4edd82,this[_0x12b35e(0x10f)]=_0x3196b9,this['_memberService']=_0x3b2996,this[_0x12b35e(0x241)]=_0x5afd5b,_0x4dee6d(this,_0x12b35e(0x378),!0x1),_0x4dee6d(this,'_init',!0x1),_0x4dee6d(this,_0x12b35e(0x39a),new _0x5b7526[(_0x12b35e(0x24f))](new Map())),_0x4dee6d(this,_0x12b35e(0x2d2),this[_0x12b35e(0x39a)][_0x12b35e(0x1f5)]()),_0x4dee6d(this,_0x12b35e(0x3cc),new _0x5b7526[(_0x12b35e(0x24f))]([])),_0x4dee6d(this,'roomMembers$',this[_0x12b35e(0x3cc)][_0x12b35e(0x1a1)]((0x0,_0x5b7526[_0x12b35e(0x79)])(0x12c))),_0x4dee6d(this,_0x12b35e(0x1d2),(0x0,_0x4615d2[_0x12b35e(0x311)])(_0x44a411=>{const _0x329074=_0x12b35e;let _0x1ce250=_0x44a411[_0x329074(0x38d)];if(!_0x1ce250||_0x1ce250[_0x329074(0x2d7)]!==this[_0x329074(0x2b7)])return;let _0x3df3d3={'kind':'slide-element-selection','unitId':_0x1ce250[_0x329074(0x2d7)],'subUnitId':_0x1ce250['subUnitId'],'selectedIds':_0x44a411[_0x329074(0x3a5)][_0x329074(0x310)](_0x109fb3=>typeof _0x109fb3=='string'),'focusedId':_0x44a411[_0x329074(0x2f6)]},_0x18f6f6={'eventID':_0x1208f3['CollaborationEvent']['UPDATE_CURSOR'],'data':{'unitID':this[_0x329074(0x2b7)],'memberID':this[_0x329074(0x207)][_0x329074(0x6e)](),'selection':JSON[_0x329074(0x21f)](_0x3df3d3)}};this['_session'][_0x329074(0x34f)](_0x18f6f6,this['unitID']);},0x64));}[_0x59cd08(0x223)](){const _0x1f1aef=_0x59cd08;super['dispose'](),this[_0x1f1aef(0x39a)][_0x1f1aef(0x20f)](new Map()),this[_0x1f1aef(0x39a)][_0x1f1aef(0x398)](),this['_roomMembers$']['next']([]),this[_0x1f1aef(0x3cc)][_0x1f1aef(0x398)]();}[_0x59cd08(0x87)](){const _0x284d3a=_0x59cd08;this[_0x284d3a(0x208)]||(this[_0x284d3a(0x208)]=!0x0,this['_session'][_0x284d3a(0x2ff)][_0x284d3a(0x1a1)]((0x0,_0x5b7526['takeUntil'])(this[_0x284d3a(0xce)]))[_0x284d3a(0x248)](_0x2728d6=>{const _0x3b63e2=_0x284d3a;_0x2728d6===_0x4aca0a['SessionStatus'][_0x3b63e2(0x30d)]?this['_toggleOnline']():this[_0x3b63e2(0x32d)]();}),this['_session'][_0x284d3a(0x77)][_0x284d3a(0x1a1)]((0x0,_0x5b7526[_0x284d3a(0xb4)])(this[_0x284d3a(0xce)]))[_0x284d3a(0x248)](_0x36c778=>{const _0x491013=_0x284d3a;let _0x127f48=_0x36c778[_0x491013(0x2c5)];_0x127f48===_0x1208f3[_0x491013(0x39d)][_0x491013(0x316)]&&this['_onCursorUpdate'](_0x36c778),_0x127f48===_0x1208f3[_0x491013(0x39d)][_0x491013(0x107)]&&this[_0x491013(0x3b8)](_0x36c778);}),this[_0x284d3a(0x241)]['state$'][_0x284d3a(0x1a1)]((0x0,_0x5b7526['takeUntil'])(this['dispose$']))['subscribe'](_0x32065e=>{const _0x30fa48=_0x284d3a;this[_0x30fa48(0x378)]&&this['_updateLocalCursor'](_0x32065e);}));}[_0x59cd08(0x1df)](_0x4fd0c3){const _0x1c4d0c=_0x59cd08;var _0x400e4e,_0x51a7c1,_0x45476d,_0x2efa3d;let {memberID:_0x1fd9cf,selection:_0x4265ed}=_0x4fd0c3[_0x1c4d0c(0x186)];if(_0x1fd9cf===((_0x400e4e=(_0x51a7c1=this[_0x1c4d0c(0x207)])[_0x1c4d0c(0x6e)])==null?void 0x0:_0x400e4e['call'](_0x51a7c1)))return;let _0x12aa12=_0x5bab35(_0x4265ed);if(!_0x12aa12||_0x12aa12['unitId']!==this[_0x1c4d0c(0x2b7)])return;let _0x51328a=(_0x45476d=(_0x2efa3d=this[_0x1c4d0c(0x1b6)][_0x1c4d0c(0x189)](this['unitID'],_0x1fd9cf))==null?void 0x0:_0x2efa3d[_0x1c4d0c(0x2af)])==null?_0x1c4d0c(0x3c0):_0x45476d,_0x3729ca={'color':this['_colorAssignService']['assignAColorForMemberID'](_0x1fd9cf),'name':_0x51328a,'unitId':_0x12aa12[_0x1c4d0c(0x2d7)],'subUnitId':_0x12aa12[_0x1c4d0c(0x32f)],'selectedIds':_0x12aa12[_0x1c4d0c(0x3a5)],'focusedId':_0x12aa12[_0x1c4d0c(0x2f6)],'selection':_0x4265ed},_0x6a5931=new Map(this[_0x1c4d0c(0x387)]);_0x6a5931[_0x1c4d0c(0x382)](_0x1fd9cf,_0x3729ca),this[_0x1c4d0c(0x39a)][_0x1c4d0c(0x20f)](_0x6a5931);}[_0x59cd08(0x3b8)](_0x432d3d){const _0x12f99c=_0x59cd08;let {memberID:_0x2810b9}=_0x432d3d[_0x12f99c(0x186)],_0x3eeb8e=new Map(this['cursorInfo']);_0x3eeb8e[_0x12f99c(0x28b)](_0x2810b9),this['_cursorInfo$'][_0x12f99c(0x20f)](_0x3eeb8e);}[_0x59cd08(0x239)](){const _0x4a5634=_0x59cd08;this[_0x4a5634(0x378)]=!0x0,this[_0x4a5634(0x1d2)](this[_0x4a5634(0x241)][_0x4a5634(0x336)]());}['_toggleOffline'](){this['_online']=!0x1;}};_0x22a881=_0x260d11([_0x2eb870(0x2,(0x0,_0x4615d2[_0x59cd08(0x2b0)])(_0x522a9b)),_0x2eb870(0x3,(0x0,_0x4615d2[_0x59cd08(0x2b0)])(_0x4aca0a[_0x59cd08(0x121)])),_0x2eb870(0x4,(0x0,_0x4615d2[_0x59cd08(0x2b0)])(_0x5df1cb[_0x59cd08(0xa6)]))],_0x22a881);let _0x4da5d5=class extends _0x4615d2[_0x59cd08(0x13f)]{constructor(_0x4bf5ca,_0xc24106,_0x470dce){const _0x2cf7f2=_0x59cd08;super(),this[_0x2cf7f2(0x1e5)]=_0x4bf5ca,this[_0x2cf7f2(0x33b)]=_0xc24106,this[_0x2cf7f2(0x358)]=_0x470dce,_0x4dee6d(this,_0x2cf7f2(0x6f),new Map()),_0x4dee6d(this,'_entityInit$',new _0x5b7526[(_0x2cf7f2(0x130))]()),this[_0x2cf7f2(0x208)]();}[_0x59cd08(0x223)](){const _0x2f0013=_0x59cd08;super['dispose'](),this[_0x2f0013(0x368)]['complete'](),this[_0x2f0013(0x6f)][_0x2f0013(0x23d)](_0x10de64=>_0x10de64[_0x2f0013(0x223)]());}[_0x59cd08(0x30a)](_0x2fe2fa){const _0xade52e=_0x59cd08;return this['_entities']['has'](_0x2fe2fa)?this[_0xade52e(0x6f)][_0xade52e(0x99)](_0x2fe2fa)['cursorInfo$']:this['_entityInit$']['pipe']((0x0,_0x5b7526[_0xade52e(0x310)])(_0x529d1e=>_0x529d1e[_0xade52e(0x2b7)]===_0x2fe2fa),(0x0,_0x5b7526[_0xade52e(0x3c2)])(_0xeb15c1=>_0xeb15c1[_0xade52e(0x2d2)]));}[_0x59cd08(0x208)](){const _0x191def=_0x59cd08;this[_0x191def(0x1e5)][_0x191def(0x10d)](_0x4615d2[_0x191def(0x172)][_0x191def(0x1e3)])['pipe']((0x0,_0x5b7526[_0x191def(0xb4)])(this['dispose$']))[_0x191def(0x248)](async _0xc2b8a=>{const _0xa9071e=_0x191def;let _0x2dfa1f=_0xc2b8a[_0xa9071e(0x390)]['getUnitId'](),_0x578662=await this['_startSheetCollabCursor'](_0x2dfa1f);this[_0xa9071e(0x368)][_0xa9071e(0x20f)](_0x578662),this[_0xa9071e(0x6f)]['set'](_0x2dfa1f,_0x578662);}),this[_0x191def(0x1e5)][_0x191def(0x10d)](_0x4615d2['UniverInstanceType'][_0x191def(0x2fb)])[_0x191def(0x1a1)]((0x0,_0x5b7526[_0x191def(0xb4)])(this['dispose$']))[_0x191def(0x1a1)]((0x0,_0x5b7526['filter'])(_0x318245=>!_0x318245[_0x191def(0x390)][_0x191def(0x165)]()[_0x191def(0x2e1)]('__')))[_0x191def(0x248)](async _0x1fbdb6=>{const _0x215698=_0x191def;let {unit:_0x1f2b16}=_0x1fbdb6,_0x24597a=_0x1f2b16['getUnitId'](),_0x90935d=await this[_0x215698(0x30b)](_0x24597a);this[_0x215698(0x368)][_0x215698(0x20f)](_0x90935d),this['_entities'][_0x215698(0x382)](_0x24597a,_0x90935d);}),this[_0x191def(0x1e5)][_0x191def(0x10d)](_0x4615d2[_0x191def(0x172)][_0x191def(0x2ef)])['pipe']((0x0,_0x5b7526[_0x191def(0xb4)])(this[_0x191def(0xce)]))[_0x191def(0x248)](async _0x238bf7=>{const _0x5afb1d=_0x191def;let _0x234596=_0x238bf7['unit']['getUnitId'](),_0x522223=await this[_0x5afb1d(0x19d)](_0x234596);this[_0x5afb1d(0x368)][_0x5afb1d(0x20f)](_0x522223),this[_0x5afb1d(0x6f)][_0x5afb1d(0x382)](_0x234596,_0x522223);}),this[_0x191def(0x1e5)]['getTypeOfUnitAdded$'](_0x4615d2[_0x191def(0x172)]['UNIVER_BOARD'])['pipe']((0x0,_0x5b7526[_0x191def(0xb4)])(this['dispose$']))[_0x191def(0x248)](async _0xe97334=>{const _0x361233=_0x191def;let _0x49f6f0=_0xe97334[_0x361233(0x390)][_0x361233(0x165)](),_0x5a9d33=await this[_0x361233(0x135)](_0x49f6f0);this[_0x361233(0x368)][_0x361233(0x20f)](_0x5a9d33),this[_0x361233(0x6f)][_0x361233(0x382)](_0x49f6f0,_0x5a9d33);}),(0x0,_0x5b7526['merge'])(this['_univerInstanceService'][_0x191def(0x331)](_0x4615d2['UniverInstanceType'][_0x191def(0x2fb)]),this[_0x191def(0x1e5)][_0x191def(0x331)](_0x4615d2[_0x191def(0x172)][_0x191def(0x1e3)]),this[_0x191def(0x1e5)]['getTypeOfUnitDisposed$'](_0x4615d2[_0x191def(0x172)][_0x191def(0x2ef)]),this[_0x191def(0x1e5)][_0x191def(0x331)](_0x4615d2[_0x191def(0x172)][_0x191def(0xdf)]))[_0x191def(0x1a1)]((0x0,_0x5b7526[_0x191def(0xb4)])(this[_0x191def(0xce)]))[_0x191def(0x248)](_0x262fd9=>{const _0x5915d6=_0x191def;let _0x13160d=_0x262fd9[_0x5915d6(0x165)](),_0x9e8964=this['_entities'][_0x5915d6(0x99)](_0x13160d);_0x9e8964&&(_0x9e8964['dispose'](),this['_entities'][_0x5915d6(0x28b)](_0x13160d));});}async['_startSheetCollabCursor'](_0x18f5ce){const _0x5601e9=_0x59cd08;let _0x48d7b3=await this[_0x5601e9(0x358)]['requireSession'](_0x18f5ce),_0x4b49d5=this[_0x5601e9(0x33b)][_0x5601e9(0x195)](_0x18bad9,_0x18f5ce,_0x48d7b3);return _0x4b49d5['init'](),_0x4b49d5;}async['_startDocCollabCursor'](_0x1185d2){const _0x4a4c5d=_0x59cd08;let _0x58f177=await this[_0x4a4c5d(0x358)][_0x4a4c5d(0x235)](_0x1185d2),_0xd4f690=this['_injector'][_0x4a4c5d(0x195)](_0x4e5738,_0x1185d2,_0x58f177);return _0xd4f690[_0x4a4c5d(0x87)](),_0xd4f690;}async[_0x59cd08(0x19d)](_0x21b1bd){const _0xf07d12=_0x59cd08;let _0x2d5b00=await this[_0xf07d12(0x358)][_0xf07d12(0x235)](_0x21b1bd),_0x1f2e27=this['_injector'][_0xf07d12(0x195)](_0x22a881,_0x21b1bd,_0x2d5b00);return _0x1f2e27[_0xf07d12(0x87)](),_0x1f2e27;}async[_0x59cd08(0x135)](_0x2440a6){const _0x27ebf6=_0x59cd08;let _0x1aa8fa=await this[_0x27ebf6(0x358)][_0x27ebf6(0x235)](_0x2440a6),_0x417589=this['_injector'][_0x27ebf6(0x195)](_0x1f91a7,_0x2440a6,_0x1aa8fa);return _0x417589[_0x27ebf6(0x87)](),_0x417589;}};_0x4da5d5=_0x260d11([_0x2eb870(0x0,_0x4615d2[_0x59cd08(0x171)]),_0x2eb870(0x1,(0x0,_0x4615d2[_0x59cd08(0x2b0)])(_0x4615d2[_0x59cd08(0x13d)])),_0x2eb870(0x2,(0x0,_0x4615d2['Inject'])(_0x4aca0a['CollaborationSessionService']))],_0x4da5d5);let _0x4f1717=class extends _0x4615d2[_0x59cd08(0x13f)]{constructor(_0x5ea882,_0x439185,_0x46b0f6){const _0x53a5fd=_0x59cd08;super(),this['_context']=_0x5ea882,this['_collabCursorController']=_0x439185,this['_themeService']=_0x46b0f6,_0x4dee6d(this,_0x53a5fd(0x3b2),new Set()),_0x4dee6d(this,_0x53a5fd(0x337),!0x1),_0x4dee6d(this,'_isApplyingOverlays',!0x1),_0x4dee6d(this,_0x53a5fd(0x177),new Map()),this[_0x53a5fd(0x208)]();}[_0x59cd08(0x223)](){const _0x386611=_0x59cd08;this[_0x386611(0x174)](),super[_0x386611(0x223)]();}[_0x59cd08(0x208)](){const _0x4fa3b7=_0x59cd08;let _0x5ea5ba=this[_0x4fa3b7(0x339)]['getCollabCursors$'](this['_context'][_0x4fa3b7(0x2d7)]);this['disposeWithMe']((0x0,_0x4615d2[_0x4fa3b7(0x293)])((0x0,_0x5b7526['combineLatest'])([_0x5ea5ba,this[_0x4fa3b7(0x35c)][_0x4fa3b7(0x390)][_0x4fa3b7(0xb1)],this['_themeService'][_0x4fa3b7(0x3d3)]])['pipe']((0x0,_0x5b7526['takeUntil'])(this[_0x4fa3b7(0xce)]))[_0x4fa3b7(0x248)](([_0x3231e3])=>{const _0x388188=_0x4fa3b7;let _0x421d46=this['_context'][_0x388188(0x390)][_0x388188(0x2ae)](),_0x4a796f=new Map();_0x3231e3[_0x388188(0x23d)]((_0x1c510f,_0x2556ca)=>{const _0x87c8c7=_0x388188;_0x1c510f['subUnitId']===_0x421d46&&_0x4a796f[_0x87c8c7(0x382)](_0x2556ca,{..._0x1c510f,'color':this[_0x87c8c7(0x75)]['getColorFromTheme'](_0x1c510f[_0x87c8c7(0xf7)])});}),this[_0x388188(0x177)]=_0x4a796f,this['_scheduleRender']();})));let _0x11c9f6=this[_0x4fa3b7(0x35c)][_0x4fa3b7(0x354)];this[_0x4fa3b7(0x183)]((0x0,_0x4615d2[_0x4fa3b7(0x293)])(_0x11c9f6['addObject$'][_0x4fa3b7(0x1a1)]((0x0,_0x5b7526[_0x4fa3b7(0xb4)])(this[_0x4fa3b7(0xce)]))['subscribe'](()=>{const _0x48810e=_0x4fa3b7;this[_0x48810e(0x17c)]||this[_0x48810e(0x147)]();})));}['_scheduleRender'](){const _0x5e6e85=_0x59cd08;this['_renderScheduled']||(this[_0x5e6e85(0x337)]=!0x0,Promise[_0x5e6e85(0x37e)]()[_0x5e6e85(0x3cb)](()=>{const _0x15573a=_0x5e6e85;this['_renderScheduled']=!0x1,this[_0x15573a(0x357)]();}));}[_0x59cd08(0x357)](){const _0x3f4f6b=_0x59cd08;this[_0x3f4f6b(0x174)]();let _0x4679c=this['_context'][_0x3f4f6b(0x390)]['getActivePageId'](),_0x2ab1a8=[];if(this['_latestCursors'][_0x3f4f6b(0x23d)]((_0x4907e8,_0x28e5b7)=>{const _0x190454=_0x3f4f6b;_0x4907e8['subUnitId']===_0x4679c&&_0x4907e8['selectedIds'][_0x190454(0x23d)](_0x16da37=>{const _0x27d635=_0x190454;let _0x504b6a=(0x0,_0x199d1d['getBoardElementRenderObjectKey'])(_0x4907e8[_0x27d635(0x2d7)],_0x16da37),_0x23e001=this['_getSceneObjectByKey'](_0x504b6a);if(!_0x23e001)return;let _0x414ecc=this['_getObjectBounds'](_0x23e001);_0x2ab1a8[_0x27d635(0x3c3)](new _0x13a0d4(_0x27d635(0x17e)+_0x28e5b7+'-'+_0x16da37,{..._0x4907e8,'left':_0x414ecc['left'],'top':_0x414ecc[_0x27d635(0x18c)],'width':_0x414ecc[_0x27d635(0x229)],'height':_0x414ecc[_0x27d635(0x153)],'angle':_0x23e001[_0x27d635(0xda)],'evented':!0x1,'zIndex':_0x26a424}));});}),_0x2ab1a8['length']===0x0){this[_0x3f4f6b(0x35c)][_0x3f4f6b(0x354)][_0x3f4f6b(0x108)](!0x0);return;}this['_isApplyingOverlays']=!0x0,this[_0x3f4f6b(0x35c)]['scene'][_0x3f4f6b(0x1e2)](_0x2ab1a8,_0x26a424),this[_0x3f4f6b(0x17c)]=!0x1,this[_0x3f4f6b(0x3b2)]=new Set(_0x2ab1a8),this['_context'][_0x3f4f6b(0x354)][_0x3f4f6b(0x108)](!0x0);}[_0x59cd08(0x174)](){const _0x15c5d5=_0x59cd08;let _0x4ead01=Array[_0x15c5d5(0x22b)](this[_0x15c5d5(0x3b2)]);if(_0x4ead01[_0x15c5d5(0x3bc)]===0x0)return;let _0x2d95ac=this['_context'][_0x15c5d5(0x354)];'removeObjects'in _0x2d95ac&&typeof _0x2d95ac['removeObjects']=='function'?_0x2d95ac[_0x15c5d5(0x39b)](_0x4ead01):_0x4ead01[_0x15c5d5(0x23d)](_0x8db860=>{const _0x2d9044=_0x15c5d5;'removeObject'in _0x2d95ac&&typeof _0x2d95ac[_0x2d9044(0x3b7)]==_0x2d9044(0x16e)?_0x2d95ac[_0x2d9044(0x3b7)](_0x8db860):_0x8db860['dispose']();}),this[_0x15c5d5(0x3b2)][_0x15c5d5(0xa3)](),_0x2d95ac[_0x15c5d5(0x108)](!0x0);}['_getSceneObjectByKey'](_0x378a2a){const _0x4b18d8=_0x59cd08;var _0x5f38f4,_0x4e9bc4,_0x2778c5;let _0x443d33=this['_context'][_0x4b18d8(0x354)];return(_0x5f38f4=(_0x4e9bc4=(_0x2778c5=_0x443d33['getObjectIncludeInGroup'])==null?void 0x0:_0x2778c5[_0x4b18d8(0x2da)](_0x443d33,_0x378a2a))==null?_0x443d33[_0x4b18d8(0x1d3)](_0x378a2a):_0x4e9bc4)==null?null:_0x5f38f4;}[_0x59cd08(0x7c)](_0x21303d){const _0x5f2560=_0x59cd08;var _0xa2a848,_0x1678e7;let _0x5f5360=_0x21303d;return(_0xa2a848=(_0x1678e7=_0x5f5360[_0x5f2560(0x397)])==null?void 0x0:_0x1678e7['call'](_0x5f5360))==null?{'left':_0x21303d[_0x5f2560(0x26c)],'top':_0x21303d[_0x5f2560(0x18c)],'width':_0x21303d[_0x5f2560(0x229)],'height':_0x21303d['height']}:_0xa2a848;}};_0x4f1717=_0x260d11([_0x2eb870(0x1,(0x0,_0x4615d2[_0x59cd08(0x2b0)])(_0x4da5d5)),_0x2eb870(0x2,(0x0,_0x4615d2[_0x59cd08(0x2b0)])(_0x4615d2[_0x59cd08(0x1cd)]))],_0x4f1717);let _0x4be9f9='collab-text-anchor-';var _0x4a39ce=class{constructor(_0x1063be,_0x58a39b,_0x3dbc8a,_0x419cf4){const _0x35d7ed=_0x59cd08;this[_0x35d7ed(0x86)]=_0x1063be,this[_0x35d7ed(0x7f)]=_0x58a39b,this[_0x35d7ed(0x213)]=_0x3dbc8a,this[_0x35d7ed(0x3ae)]=_0x419cf4,_0x4dee6d(this,_0x35d7ed(0x82),[]),_0x4dee6d(this,_0x35d7ed(0x281),null),_0x4dee6d(this,_0x35d7ed(0x309),null),_0x4dee6d(this,_0x35d7ed(0x14c),null),_0x4dee6d(this,'_hideTimer',null),_0x4dee6d(this,_0x35d7ed(0x35d),null),this[_0x35d7ed(0x357)]();}set['_hover'](_0x2ae3d8){const _0x303201=_0x59cd08;_0x2ae3d8?(this[_0x303201(0x14c)]&&this[_0x303201(0x14c)][_0x303201(0x1c6)](),this[_0x303201(0x309)]&&this[_0x303201(0x309)][_0x303201(0x20d)]()):(this[_0x303201(0x14c)]&&this[_0x303201(0x14c)][_0x303201(0x20d)](),this[_0x303201(0x309)]&&this[_0x303201(0x309)][_0x303201(0x1c6)]());}[_0x59cd08(0x223)](){const _0x2b6eef=_0x59cd08;for(let _0x36aac8 of this['_shapes'])_0x36aac8['dispose']();this[_0x2b6eef(0x309)]&&this['_textBubble'][_0x2b6eef(0x223)](),this['_anchorDot']&&this['_anchorDot'][_0x2b6eef(0x223)](),this[_0x2b6eef(0x281)]&&this[_0x2b6eef(0x281)]['dispose'](),this[_0x2b6eef(0x35d)]&&this[_0x2b6eef(0x35d)]();}[_0x59cd08(0x357)](){const _0x367b10=_0x59cd08;let {_docSkeleton:_0x740b28,_document:_0x112c6c}=this,{color:_0x12bc19,name:_0x44b8e2,ranges:_0x2cf7f3}=this[_0x367b10(0x86)],_0x387c83=_0x112c6c[_0x367b10(0x160)](),{docsLeft:_0x1f1433,docsTop:_0x2b0fd2}=_0x387c83,_0x3ea551=new _0x3bfdba[(_0x367b10(0x2a1))](_0x387c83,_0x740b28);for(let {startOffset:_0x44008c,endOffset:_0x474083,rangeType:_0x3c2ecc,segmentId:_0x12eda4,segmentPage:_0x343b15,collapsed:_0x1dfa1b,isActive:_0x2ccc5d}of _0x2cf7f3){let _0x35e461=_0x740b28['findNodePositionByCharIndex'](_0x44008c,!0x0,_0x12eda4,_0x343b15),_0x5e47a8=_0x740b28[_0x367b10(0xd7)](_0x474083,!0x0,_0x12eda4,_0x343b15);if(_0x5e47a8==null&&(_0x5e47a8=_0x740b28[_0x367b10(0xd7)](_0x474083-0x1,!0x1,_0x12eda4,_0x343b15)),_0x2ccc5d){let {contentBoxPointGroup:_0x5b93c5}=_0x3ea551['getRangePointData'](_0x5e47a8,_0x5e47a8);if(_0x5b93c5[_0x367b10(0x3bc)]===0x0)continue;this['_drawAnchor'](_0x12bc19,_0x5b93c5,_0x1f1433,_0x2b0fd2,_0x44b8e2),this[_0x367b10(0x35d)]=this['_handleHover']();}if(_0x35e461&&_0x5e47a8){if(_0x3c2ecc===_0x4615d2['DOC_RANGE_TYPE'][_0x367b10(0x2f1)]){var _0x3d988d;let {pointGroup:_0x16f0bc}=(_0x3d988d=new _0x3bfdba[(_0x367b10(0x1b7))](_0x387c83,_0x740b28)['getRangePointData'](_0x35e461,_0x5e47a8))==null?{}:_0x3d988d;if(_0x16f0bc==null||_0x16f0bc[_0x367b10(0x3bc)]===0x0)continue;this['_drawRectRange'](_0x12bc19,_0x16f0bc,_0x1f1433,_0x2b0fd2);}else{if(!_0x1dfa1b){let {borderBoxPointGroup:_0x3628d3}=_0x3ea551['getRangePointData'](_0x35e461,_0x5e47a8);if(_0x3628d3[_0x367b10(0x3bc)]===0x0)continue;this['_drawTextRange'](_0x12bc19,_0x3628d3,_0x1f1433,_0x2b0fd2);}}}}}[_0x59cd08(0x3a7)](_0x2c6307,_0x5e8383,_0x294a62,_0x3ee374,_0x4efa51){const _0x980767=_0x59cd08;let {left:_0x2f72d1,top:_0x5aa4ee,height:_0x13bfe}=this[_0x980767(0x1b9)](_0x5e8383),_0x1ba3fe=1.5/this[_0x980767(0x1d6)](),_0x5ad50e=new _0x1891a4['Rect'](_0x4be9f9+(0x0,_0x4615d2[_0x980767(0x1ce)])(0x6),{'left':_0x2f72d1+_0x294a62-_0x1ba3fe,'top':_0x5aa4ee+_0x3ee374,'height':_0x13bfe,'width':1.5,'fill':_0x2c6307||(0x0,_0x1891a4[_0x980767(0x18b)])(_0x4615d2[_0x980767(0x259)]['black'],0x0),'strokeWidth':_0x1ba3fe,'stroke':_0x980767(0x96),'evented':!0x0});this[_0x980767(0x281)]=_0x5ad50e,this[_0x980767(0x7f)][_0x980767(0x164)](_0x5ad50e,_0x3bfdba[_0x980767(0x3af)]);let _0x31b496=new _0x1891a4[(_0x980767(0x39f))](_0x4be9f9+(0x0,_0x4615d2[_0x980767(0x1ce)])(0x6),{'left':_0x2f72d1+_0x294a62-_0x1ba3fe,'top':_0x5aa4ee+_0x3ee374-0x4/0x2,'height':0x4,'width':0x4,'fill':_0x2c6307||(0x0,_0x1891a4['getColor'])(_0x4615d2['COLORS'][_0x980767(0x2f4)],0x0),'strokeWidth':0x0,'stroke':_0x2c6307||(0x0,_0x1891a4[_0x980767(0x18b)])(_0x4615d2[_0x980767(0x259)][_0x980767(0x2f4)],0x0),'evented':!0x1});this[_0x980767(0x14c)]=_0x31b496,this[_0x980767(0x7f)][_0x980767(0x164)](_0x31b496,_0x3bfdba[_0x980767(0x3af)]);let _0x4c8169=new _0x43b06e(_0x4be9f9+(0x0,_0x4615d2[_0x980767(0x1ce)])(0x6),{'left':_0x2f72d1+_0x294a62-_0x1ba3fe,'top':_0x5aa4ee+_0x3ee374-0x14,'text':_0x4efa51,'color':_0x2c6307});this[_0x980767(0x309)]=_0x4c8169,this[_0x980767(0x7f)][_0x980767(0x164)](_0x4c8169,_0x3bfdba[_0x980767(0x3af)]),this[_0x980767(0x265)]=!0x1;}['_handleHover'](){const _0xdbf2c1=_0x59cd08;let _0x2f4b76=this['_anchor'][_0xdbf2c1(0x275)]['subscribeEvent'](()=>{const _0x4b4ec2=_0xdbf2c1;this[_0x4b4ec2(0x265)]=!0x0;}),_0x158cbc=this[_0xdbf2c1(0x281)]['onPointerLeave$'][_0xdbf2c1(0x2ba)](()=>{const _0x8da628=_0xdbf2c1;this[_0x8da628(0x2d4)]&&clearTimeout(this[_0x8da628(0x2d4)]),this[_0x8da628(0x2d4)]=setTimeout(()=>{const _0x18b62f=_0x8da628;this[_0x18b62f(0x265)]=!0x1;},0x7d0);});return()=>{const _0x4efe0e=_0xdbf2c1;_0x2f4b76['unsubscribe'](),_0x158cbc[_0x4efe0e(0x95)]();};}[_0x59cd08(0x2e6)](_0x35ce9b,_0x51296a,_0x1fc95d,_0x1d59c4){const _0x431eb2=_0x59cd08;let _0x27d732=0.2,_0x8cd47f=new _0x4615d2[(_0x431eb2(0x22e))](_0x35ce9b)['setAlpha'](_0x27d732)[_0x431eb2(0x29c)](),_0x41e312=new _0x1891a4[(_0x431eb2(0x226))](_0x431eb2(0x1e0)+(0x0,_0x4615d2[_0x431eb2(0x1ce)])(0x6),{'pointsGroup':_0x51296a,'fill':_0x8cd47f||(0x0,_0x1891a4['getColor'])(_0x4615d2[_0x431eb2(0x259)][_0x431eb2(0x2f4)],_0x27d732),'left':_0x1fc95d,'top':_0x1d59c4,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x431eb2(0x3c3)](_0x41e312),this[_0x431eb2(0x7f)][_0x431eb2(0x164)](_0x41e312,_0x3bfdba[_0x431eb2(0x3af)]);}['_drawRectRange'](_0x507120,_0x5abb12,_0x24d48c,_0x20a121){const _0x26ef23=_0x59cd08;let _0x338143=0.2,_0x20efef=new _0x4615d2[(_0x26ef23(0x22e))](_0x507120)['setAlpha'](_0x338143)[_0x26ef23(0x29c)](),_0x16244a=new _0x1891a4['RegularPolygon'](_0x26ef23(0x228)+(0x0,_0x4615d2[_0x26ef23(0x1ce)])(0x6),{'pointsGroup':_0x5abb12,'fill':_0x20efef||(0x0,_0x1891a4[_0x26ef23(0x18b)])(_0x4615d2[_0x26ef23(0x259)]['black'],_0x338143),'left':_0x24d48c,'top':_0x20a121,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x26ef23(0x82)][_0x26ef23(0x3c3)](_0x16244a),this[_0x26ef23(0x7f)]['addObject'](_0x16244a,_0x3bfdba[_0x26ef23(0x3af)]);}[_0x59cd08(0x1b9)](_0x3a2dd7){let _0xa769d3=_0x3a2dd7[0x0],_0x1c144f=_0xa769d3[0x0],_0x5d717e=_0xa769d3[0x2],{x:_0x1451dc,y:_0x3d5c81}=_0x1c144f,{x:_0x369486,y:_0x16f75d}=_0x5d717e;return{'left':_0x1451dc,'top':_0x3d5c81,'width':_0x369486-_0x1451dc,'height':_0x16f75d-_0x3d5c81};}[_0x59cd08(0x1d6)](){const _0x55994b=_0x59cd08;let {scaleX:_0x23fe36,scaleY:_0x41e26f}=this[_0x55994b(0x7f)][_0x55994b(0x2e3)]();return Math[_0x55994b(0x1dc)](_0x23fe36,_0x41e26f);}};let _0x4ac66d=class extends _0x4615d2[_0x59cd08(0x13f)]{constructor(_0x5c2d78,_0x4446cb,_0x1a049b,_0x2a5a77,_0xa623b8){const _0x312718=_0x59cd08;super(),this['_context']=_0x5c2d78,this['_docSkeletonManagerService']=_0x4446cb,this[_0x312718(0x339)]=_0x1a049b,this[_0x312718(0x202)]=_0x2a5a77,this[_0x312718(0x75)]=_0xa623b8,_0x4dee6d(this,_0x312718(0x9e),[]),_0x4dee6d(this,_0x312718(0x3b2),[]),this[_0x312718(0x208)]();}[_0x59cd08(0x208)](){const _0xe609e4=_0x59cd08;let _0xb3145=this['_context'][_0xe609e4(0x2d7)],_0x38ae16=this[_0xe609e4(0x3bb)];this[_0xe609e4(0x183)]((0x0,_0x5b7526[_0xe609e4(0xb7)])([this['_collabCursorController'][_0xe609e4(0x30a)](_0xb3145),this[_0xe609e4(0x75)][_0xe609e4(0x3d3)]])[_0xe609e4(0x1a1)]((0x0,_0x101be6[_0xe609e4(0xaf)])(([_0x22980c,_0x5ba5e1])=>({'skeleton':_0x38ae16[_0xe609e4(0x16d)](),'cursors':[..._0x22980c['values']()]['flatMap'](_0x47f9ca=>({..._0x47f9ca,'color':this[_0xe609e4(0x75)][_0xe609e4(0xf3)](_0x47f9ca[_0xe609e4(0xf7)])}))})))[_0xe609e4(0x248)](_0x26608d=>{if(this['_removeCollabCursors'](),_0x26608d){let {skeleton:_0x14017c,cursors:_0x469a36}=_0x26608d;this['_updateCollabCursors'](_0x14017c,_0x469a36);}})),this[_0xe609e4(0x98)](),this['_initCommandExecutedListener']();}[_0x59cd08(0x2e5)](_0x3a96e3,_0xfaf548){const _0x3b9a1d=_0x59cd08;let {scene:_0x3e859b,mainComponent:_0xeb7fa7}=this['_context'],_0x17c237=_0xfaf548[_0x3b9a1d(0xaf)](_0x363c24=>new _0x4a39ce(_0x363c24,_0x3e859b,_0x3a96e3,_0xeb7fa7));this['_cursorShapes']=_0x17c237,this[_0x3b9a1d(0x3b2)]=_0xfaf548;}[_0x59cd08(0x2bf)](){const _0x3dcbde=_0x59cd08;this[_0x3dcbde(0x174)]();let {scene:_0x500f53,mainComponent:_0x3353d2}=this[_0x3dcbde(0x35c)],_0x1cdf82=this['_docSkeletonManagerService'][_0x3dcbde(0x16d)](),_0x267799=this[_0x3dcbde(0x3b2)][_0x3dcbde(0xaf)](_0x2dcf4a=>new _0x4a39ce(_0x2dcf4a,_0x500f53,_0x1cdf82,_0x3353d2));this['_cursorShapes']=_0x267799;}['_removeCollabCursors'](){const _0x3596c0=_0x59cd08;this[_0x3596c0(0x9e)][_0x3596c0(0x23d)](_0xaa9ff9=>_0xaa9ff9[_0x3596c0(0x223)]()),this[_0x3596c0(0x9e)]=[];}[_0x59cd08(0x272)](){const _0x129e11=_0x59cd08;let _0x1f61aa=[_0x3bfdba[_0x129e11(0xbc)]['id']];this[_0x129e11(0x183)](this['_commandService'][_0x129e11(0x137)](_0x1a0751=>{const _0x37ea76=_0x129e11;_0x1f61aa[_0x37ea76(0x217)](_0x1a0751['id'])&&_0x1a0751['params'][_0x37ea76(0x2d7)]===this[_0x37ea76(0x35c)][_0x37ea76(0x2d7)]&&this[_0x37ea76(0x2bf)]();}));}['_initResize'](){const _0x276b0c=_0x59cd08;this[_0x276b0c(0x183)]((0x0,_0x4615d2[_0x276b0c(0x2e0)])(this[_0x276b0c(0x35c)]['engine'][_0x276b0c(0xa7)])[_0x276b0c(0x1a1)]((0x0,_0x101be6[_0x276b0c(0x310)])(_0x500405=>_0x500405[_0x276b0c(0x255)]===_0x1891a4[_0x276b0c(0x19f)][_0x276b0c(0x100)]),(0x0,_0x101be6[_0x276b0c(0x73)])(0x10))[_0x276b0c(0x248)](()=>{const _0x7f2c21=_0x276b0c;this[_0x7f2c21(0x2bf)]();}));}};_0x4ac66d=_0x260d11([_0x2eb870(0x1,(0x0,_0x4615d2[_0x59cd08(0x2b0)])(_0x7aa288[_0x59cd08(0x1be)])),_0x2eb870(0x2,(0x0,_0x4615d2['Inject'])(_0x4da5d5)),_0x2eb870(0x3,_0x4615d2['ICommandService']),_0x2eb870(0x4,(0x0,_0x4615d2[_0x59cd08(0x2b0)])(_0x4615d2['ThemeService']))],_0x4ac66d);var _0x1f1da5=class extends _0x1891a4['Shape']{constructor(_0xd4536d,_0x26a0ee){const _0x1b65ee=_0x59cd08;if(super(_0xd4536d,_0x26a0ee),_0x4dee6d(this,_0x1b65ee(0x231),void 0x0),_0x4dee6d(this,_0x1b65ee(0x159),!0x1),_0x4dee6d(this,_0x1b65ee(0x2e4),void 0x0),_0x4dee6d(this,_0x1b65ee(0x34b),''),_0x4dee6d(this,_0x1b65ee(0xc3),_0x1b65ee(0x18c)),_0x4dee6d(this,_0x1b65ee(0x278),void 0x0),_0x4dee6d(this,_0x1b65ee(0x84),void 0x0),_0x4dee6d(this,'_highlight',void 0x0),_0x4dee6d(this,_0x1b65ee(0x1ad),0x4),_0x4dee6d(this,'_blinkTimer',void 0x0),_0x4dee6d(this,_0x1b65ee(0x329),void 0x0),_0x4dee6d(this,'_isBlinkVisible',!0x0),_0x4dee6d(this,_0x1b65ee(0x374),0x0),_0x4dee6d(this,'_labelHorizontalPosition',_0x1b65ee(0x3ce)),_0x26a0ee){var _0x5c8525;if(this[_0x1b65ee(0x369)](_0x26a0ee),_0x26a0ee['highlight']&&((_0x5c8525=_0x26a0ee[_0x1b65ee(0xb0)])==null?this[_0x1b65ee(0x1ad)]:_0x5c8525)){var _0x20f3f3;this[_0x1b65ee(0x155)]((_0x20f3f3=_0x26a0ee[_0x1b65ee(0xb0)])==null?this['_highlightSecond']:_0x20f3f3);}}this['onPointerEnter$'][_0x1b65ee(0x2ba)](()=>this[_0x1b65ee(0x369)]({'hovered':!0x0})),this['onPointerLeave$'][_0x1b65ee(0x2ba)](()=>this[_0x1b65ee(0x369)]({'hovered':!0x1}));}[_0x59cd08(0x3b9)](_0x41662c){const _0x1db124=_0x59cd08;this[_0x1db124(0x374)]=_0x41662c;}[_0x59cd08(0x369)](_0x2bb3e2){const _0x56f86a=_0x59cd08;var _0x460079,_0x15124c,_0x500fd9,_0x1ecdb3,_0x3c0a66,_0x9e5fbb,_0x1111b7,_0x521207;this['_color']=(_0x460079=_0x2bb3e2[_0x56f86a(0xf7)])==null?this[_0x56f86a(0x231)]:_0x460079,this[_0x56f86a(0x159)]=(_0x15124c=_0x2bb3e2[_0x56f86a(0x274)])==null?this[_0x56f86a(0x159)]:_0x15124c,this[_0x56f86a(0x2e4)]=(_0x500fd9=_0x2bb3e2['range'])==null?this[_0x56f86a(0x2e4)]:_0x500fd9,this['_name']=(_0x1ecdb3=_0x2bb3e2[_0x56f86a(0x2af)])==null?this[_0x56f86a(0x34b)]:_0x1ecdb3,this['_labelPosition']=(_0x3c0a66=_0x2bb3e2[_0x56f86a(0x109)])==null?this[_0x56f86a(0xc3)]:_0x3c0a66,this[_0x56f86a(0x278)]=(_0x9e5fbb=_0x2bb3e2[_0x56f86a(0x15c)])==null?this[_0x56f86a(0x278)]:_0x9e5fbb,this['_showText']=(_0x1111b7=_0x2bb3e2[_0x56f86a(0x151)])==null?this[_0x56f86a(0x84)]:_0x1111b7,this['_labelHorizontalPosition']=(_0x521207=_0x2bb3e2[_0x56f86a(0x352)])==null?this[_0x56f86a(0xf0)]:_0x521207,_0x2bb3e2['highlightSecond']!==void 0x0&&(this[_0x56f86a(0x1ad)]=_0x2bb3e2[_0x56f86a(0xb0)]),_0x2bb3e2['highlight']!==void 0x0&&(this[_0x56f86a(0xb9)]=_0x2bb3e2[_0x56f86a(0x1dd)]),_0x2bb3e2[_0x56f86a(0x1f4)]!==void 0x0&&(this[_0x56f86a(0x374)]=_0x2bb3e2[_0x56f86a(0x1f4)]),this[_0x56f86a(0x294)]({'width':_0x2bb3e2[_0x56f86a(0x229)],'height':_0x2bb3e2[_0x56f86a(0x153)]});}[_0x59cd08(0x31a)](_0x3b5aaf){const _0x395855=_0x59cd08;let {row:_0x121601,column:_0x33629f}=_0x3b5aaf;if(_0x121601>=this[_0x395855(0x2e4)]['startRow']&&_0x121601<=this['_range'][_0x395855(0x243)]&&_0x33629f>=this[_0x395855(0x2e4)][_0x395855(0x132)]&&_0x33629f<=this['_range'][_0x395855(0x20b)]){this[_0x395855(0x369)]({'hovered':!0x0});return;}this[_0x395855(0x369)]({'hovered':!0x1});}['_startBlinking'](_0x5edf03){const _0x4ebb20=_0x59cd08;this[_0x4ebb20(0x17b)](),this[_0x4ebb20(0xf1)]=!0x0,this['_blinkIntervalTimer']=window[_0x4ebb20(0x18a)](()=>{const _0x5dc69a=_0x4ebb20;this[_0x5dc69a(0xf1)]=!this[_0x5dc69a(0xf1)],this[_0x5dc69a(0x108)](!0x0);},0x1f4),this[_0x4ebb20(0x173)]=window[_0x4ebb20(0x3d5)](()=>{const _0x5da746=_0x4ebb20;this['_stopBlinking'](),this[_0x5da746(0xf1)]=!0x0,this[_0x5da746(0x108)](!0x0);},_0x5edf03*0x3e8);}[_0x59cd08(0x17b)](){const _0x2e434d=_0x59cd08;this[_0x2e434d(0x329)]&&(window['clearInterval'](this[_0x2e434d(0x329)]),this['_blinkIntervalTimer']=void 0x0),this[_0x2e434d(0x173)]&&(window['clearTimeout'](this[_0x2e434d(0x173)]),this[_0x2e434d(0x173)]=void 0x0);}[_0x59cd08(0x15a)](_0x3e06de){return!0x1;}['dispose'](){const _0x202240=_0x59cd08;this[_0x202240(0x17b)](),super[_0x202240(0x223)]();}['_draw'](_0x1feb8a){const _0x342a8c=_0x59cd08;let _0x3350d8=this[_0x342a8c(0x231)],_0x28bee8=this[_0x342a8c(0x278)];if(this[_0x342a8c(0xb9)]&&!this[_0x342a8c(0xf1)]&&(_0x3350d8=this[_0x342a8c(0x104)](this[_0x342a8c(0x231)]),_0x28bee8=this['_backgroundColor']?this[_0x342a8c(0x104)](this[_0x342a8c(0x278)]):void 0x0),_0x1891a4[_0x342a8c(0x39f)]['drawWith'](_0x1feb8a,{'width':this[_0x342a8c(0x229)],'height':this[_0x342a8c(0x153)],'strokeWidth':this[_0x342a8c(0x194)]||1.5,'stroke':_0x3350d8,'evented':!0x1,'fill':_0x28bee8}),this[_0x342a8c(0x159)]||this[_0x342a8c(0x84)]){var _0x258187;_0x1feb8a[_0x342a8c(0x349)]();let _0x280664=this['_labelHorizontalPosition']==='left'?-_0xd17a7f(_0x1feb8a,this[_0x342a8c(0x34b)]):this[_0x342a8c(0x229)];_0x1feb8a[_0x342a8c(0x13e)](0x1,0x0,0x0,0x1,_0x280664,(this[_0x342a8c(0xc3)]===_0x342a8c(0x3b4)?0x0:-0x14)+((_0x258187=this[_0x342a8c(0x374)])==null?0x0:_0x258187)),_0x43b06e[_0x342a8c(0xde)](_0x1feb8a,{'text':this[_0x342a8c(0x34b)],'color':_0x3350d8}),_0x1feb8a[_0x342a8c(0x28e)]();}}[_0x59cd08(0x104)](_0x3181c4){const _0x1fec14=_0x59cd08;return _0x3181c4['startsWith']('#')?_0x1fec14(0x18f)+Number['parseInt'](_0x3181c4[_0x1fec14(0x1b8)](0x1,0x3),0x10)+',\x20'+Number[_0x1fec14(0xe6)](_0x3181c4[_0x1fec14(0x1b8)](0x3,0x5),0x10)+',\x20'+Number[_0x1fec14(0xe6)](_0x3181c4[_0x1fec14(0x1b8)](0x5,0x7),0x10)+_0x1fec14(0x1e1):_0x3181c4[_0x1fec14(0x2e1)](_0x1fec14(0x128))?_0x3181c4['replace'](/[\d.]+\)$/g,_0x1fec14(0x327)):_0x3181c4[_0x1fec14(0x2e1)]('rgb')?_0x3181c4[_0x1fec14(0x168)]('rgb',_0x1fec14(0x128))[_0x1fec14(0x168)](')',',\x200.2)'):_0x3181c4;}};let _0x1e335b=class extends _0x4615d2[_0x59cd08(0x13f)]{constructor(_0x44128d,_0x4093da,_0x4808ae,_0x42a204){const _0x178658=_0x59cd08;super(),this[_0x178658(0x35c)]=_0x44128d,this['_sheetSkeletonManagerService']=_0x4093da,this['_collabCursorController']=_0x4808ae,this[_0x178658(0x75)]=_0x42a204,_0x4dee6d(this,'_cursors',new Set()),_0x4dee6d(this,_0x178658(0x197),null),_0x4dee6d(this,_0x178658(0x192),null),this[_0x178658(0x208)]();}[_0x59cd08(0x208)](){const _0x434c16=_0x59cd08;this['_sheetSkeletonManagerService'][_0x434c16(0x112)]['pipe']((0x0,_0x101be6[_0x434c16(0xb4)])(this[_0x434c16(0xce)]),(0x0,_0x101be6[_0x434c16(0x3c2)])(_0x577159=>{const _0x5bf28b=_0x434c16;if(_0x577159){let _0x59dfeb=_0x577159[_0x5bf28b(0x152)];return(0x0,_0x5b7526[_0x5bf28b(0xb7)])(this['_collabCursorController'][_0x5bf28b(0x30a)](this[_0x5bf28b(0x35c)]['unitId']),this['_themeService'][_0x5bf28b(0x3d3)])[_0x5bf28b(0x1a1)]((0x0,_0x101be6['map'])(([_0x33f969,_0x623944])=>{let _0xefd71=new Map();return _0x33f969['forEach']((_0x10b14b,_0x1f4c26)=>{const _0x43da6e=_0x41f0;if(_0x10b14b[_0x43da6e(0x216)]===_0x59dfeb){let _0x1afb35={..._0x10b14b};_0x1afb35['color']=this['_themeService'][_0x43da6e(0xf3)](_0x10b14b[_0x43da6e(0xf7)]),_0xefd71['set'](_0x1f4c26,_0x1afb35);}}),{'skeleton':_0x577159,'cursors':_0xefd71};}));}return(0x0,_0x5b7526['of'])({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x5e862c,cursors:_0xeed60e})=>{const _0x585184=_0x434c16;this[_0x585184(0x174)](),_0x5e862c&&this[_0x585184(0x2e5)](_0x5e862c,_0xeed60e);}),this['disposeWithMe'](this[_0x434c16(0x136)][_0x434c16(0x112)][_0x434c16(0x1a1)]((0x0,_0x101be6[_0x434c16(0xb4)])(this[_0x434c16(0xce)]))['subscribe'](_0x1abc38=>{const _0x1c04c=_0x434c16;var _0x39f657;if(_0x1abc38==null)return;(_0x39f657=this['_pointerMoveDisposable'])==null||_0x39f657['unsubscribe'](),this[_0x1c04c(0x192)]=null;let {skeleton:_0x20de39}=_0x1abc38,{scene:_0x3f330b}=this[_0x1c04c(0x35c)];this[_0x1c04c(0x192)]=_0x3f330b['onPointerMove$']['subscribeEvent']((0x0,_0x4615d2[_0x1c04c(0x311)])(_0x2602c1=>{const _0x5b7bf6=_0x1c04c;var _0x790cd1,_0x2d013d;let {offsetX:_0x299c72,offsetY:_0x5351a5}=_0x2602c1,{x:_0xec140,y:_0x403072}=_0x3f330b[_0x5b7bf6(0x34d)](_0x1891a4[_0x5b7bf6(0x2eb)][_0x5b7bf6(0x1ca)]([_0x299c72,_0x5351a5])),{scaleX:_0x711a9f,scaleY:_0x2c6179}=_0x3f330b[_0x5b7bf6(0x2e3)](),_0x34c3d3=_0x3f330b[_0x5b7bf6(0x2f8)](_0x1891a4['SHEET_VIEWPORT_KEY'][_0x5b7bf6(0x2ad)]),_0x3defa4=_0x3f330b[_0x5b7bf6(0xb3)](_0x1891a4['Vector2'][_0x5b7bf6(0x1ca)]([_0xec140,_0x403072]),_0x34c3d3),_0x143fef=_0x20de39[_0x5b7bf6(0xef)](_0x299c72,_0x5351a5,_0x711a9f,_0x2c6179,_0x3defa4);((_0x790cd1=this[_0x5b7bf6(0x197)])==null?void 0x0:_0x790cd1[_0x5b7bf6(0x71)])===_0x143fef[_0x5b7bf6(0x71)]&&((_0x2d013d=this[_0x5b7bf6(0x197)])==null?void 0x0:_0x2d013d[_0x5b7bf6(0x1fa)])===_0x143fef['row']||this[_0x5b7bf6(0x3b2)]['forEach'](_0x26b0eb=>{const _0x5113d5=_0x5b7bf6;_0x26b0eb[_0x5113d5(0x31a)](_0x143fef);});},0x64));})),this[_0x434c16(0x183)]((0x0,_0x4615d2[_0x434c16(0x293)])(()=>{const _0x975ae5=_0x434c16;var _0x5175d6;(_0x5175d6=this[_0x975ae5(0x192)])==null||_0x5175d6[_0x975ae5(0x95)](),this[_0x975ae5(0x192)]=null;}));}['_updateCollabCursors'](_0x1aa4c6,_0x2b8fb3){const _0x1b3f60=_0x59cd08;let _0xfd6c5b=this['_sheetSkeletonManagerService'][_0x1b3f60(0x1a3)]();if(!_0xfd6c5b)return;let _0x387543=this[_0x1b3f60(0x2bb)]();if(!_0x387543)return;this['_cursors']['forEach'](_0x42c4bf=>{const _0xfeb1c4=_0x1b3f60;_0x42c4bf[_0xfeb1c4(0x108)]();});let {scene:_0x4bfc6c}=_0x387543,_0x139ebf=_0x592340(Array[_0x1b3f60(0x22b)](_0x2b8fb3[_0x1b3f60(0x16f)]()))[_0x1b3f60(0xaf)](_0x479ad3=>{const _0x1ab7b8=_0x1b3f60;let {color:_0x3dcc32,range:_0x117387,name:_0x2dabf0,selection:_0x55be85,sheetID:_0x426028}=_0x479ad3,{startColumn:_0x3eaa9e,startRow:_0xd96d81,endColumn:_0xf0dedf,endRow:_0x2f4e30}=_0x117387,_0x1b7972=(0x0,_0x50dd72[_0x1ab7b8(0x2a9)])(_0xd96d81,_0x3eaa9e,_0x4bfc6c,_0xfd6c5b),_0xe63675=(0x0,_0x50dd72[_0x1ab7b8(0x2a9)])(_0x2f4e30,_0xf0dedf,_0x4bfc6c,_0xfd6c5b),{columnHeaderHeightAndMarginTop:_0x324dd3}=_0xfd6c5b,{startX:_0x12bc65,startY:_0x32e9e5}=_0x1b7972,{endX:_0x5b0b35,endY:_0x58188a}=_0xe63675,_0x26ce9b=_0x5b0b35-_0x12bc65,_0x254582=_0x58188a-_0x32e9e5;return new _0x1f1da5(_0x2dabf0,{'labelPosition':_0x32e9e5-_0x324dd3>=0x14?_0x1ab7b8(0x18c):_0x1ab7b8(0x3b4),'sheetID':_0x426028,'range':_0x117387,'color':_0x3dcc32,'name':_0x2dabf0,'selection':_0x55be85,'left':_0x12bc65,'top':_0x32e9e5,'width':_0x26ce9b,'height':_0x254582,'evented':!0x1,'zIndex':0x1389});});_0x4bfc6c[_0x1b3f60(0x1e2)](_0x139ebf,0x1),this[_0x1b3f60(0x3b2)]=new Set(_0x139ebf);}[_0x59cd08(0x174)](){const _0x4b0ce2=_0x59cd08;var _0x5d3736;(_0x5d3736=this[_0x4b0ce2(0x3b2)])==null||_0x5d3736[_0x4b0ce2(0x23d)](_0x1ec6a7=>_0x1ec6a7[_0x4b0ce2(0x223)]());}[_0x59cd08(0x2bb)](){const _0x2cd885=_0x59cd08;return(0x0,_0x50dd72[_0x2cd885(0x35e)])(this[_0x2cd885(0x35c)]['unit'],this[_0x2cd885(0x35c)]);}};_0x1e335b=_0x260d11([_0x2eb870(0x1,(0x0,_0x4615d2[_0x59cd08(0x2b0)])(_0x50dd72[_0x59cd08(0x23f)])),_0x2eb870(0x2,(0x0,_0x4615d2[_0x59cd08(0x2b0)])(_0x4da5d5)),_0x2eb870(0x3,(0x0,_0x4615d2[_0x59cd08(0x2b0)])(_0x4615d2['ThemeService']))],_0x1e335b);function _0x592340(_0x7a9d44){const _0xb97f7b=_0x59cd08;let _0x23b0a7=new Map();return _0x7a9d44['forEach'](_0x5bef48=>{const _0x383782=_0x41f0;if(_0x23b0a7[_0x383782(0x3b1)](_0x5bef48[_0x383782(0x237)])){let _0x154c1b=_0x23b0a7[_0x383782(0x99)](_0x5bef48['selection']);_0x154c1b[_0x383782(0x2af)]+=',\x20'+_0x5bef48[_0x383782(0x2af)];}else _0x23b0a7['set'](_0x5bef48[_0x383782(0x237)],_0x5bef48);}),Array[_0xb97f7b(0x22b)](_0x23b0a7[_0xb97f7b(0x16f)]());}let _0xa278=class extends _0x4615d2[_0x59cd08(0x13f)]{constructor(_0x5396e4,_0x56fe66,_0x1dfef5){const _0x16dde1=_0x59cd08;super(),this[_0x16dde1(0x35c)]=_0x5396e4,this[_0x16dde1(0x339)]=_0x56fe66,this[_0x16dde1(0x75)]=_0x1dfef5,_0x4dee6d(this,_0x16dde1(0x3b2),new Set()),_0x4dee6d(this,_0x16dde1(0x337),!0x1),_0x4dee6d(this,_0x16dde1(0x17c),!0x1),_0x4dee6d(this,_0x16dde1(0x177),new Map()),this[_0x16dde1(0x208)]();}[_0x59cd08(0x223)](){const _0x39cdb7=_0x59cd08;this['_removeCollabCursors'](),super[_0x39cdb7(0x223)]();}['_init'](){const _0x43c343=_0x59cd08;let _0x50039b=this['_context']['unit'][_0x43c343(0x384)][_0x43c343(0x19c)],_0x5b9c89=this[_0x43c343(0x339)][_0x43c343(0x30a)](this[_0x43c343(0x35c)][_0x43c343(0x2d7)]);this[_0x43c343(0x183)]((0x0,_0x4615d2[_0x43c343(0x293)])((0x0,_0x5b7526['combineLatest'])([_0x5b9c89,_0x50039b,this[_0x43c343(0x75)][_0x43c343(0x3d3)]])[_0x43c343(0x1a1)]((0x0,_0x5b7526[_0x43c343(0xb4)])(this['dispose$']))['subscribe'](([_0x4cfbed,_0x483765])=>{const _0x2dcdb2=_0x43c343;let _0xb481e7=new Map();_0x4cfbed[_0x2dcdb2(0x23d)]((_0x53a3a0,_0x186ce3)=>{const _0x9a7b79=_0x2dcdb2;_0x53a3a0['subUnitId']===_0x483765&&_0xb481e7[_0x9a7b79(0x382)](_0x186ce3,{..._0x53a3a0,'color':this[_0x9a7b79(0x75)][_0x9a7b79(0xf3)](_0x53a3a0[_0x9a7b79(0xf7)])});}),this['_latestCursors']=_0xb481e7,this['_scheduleRender']();})));let _0x3af0d5=this[_0x43c343(0x35c)]['scene'];this[_0x43c343(0x183)]((0x0,_0x4615d2[_0x43c343(0x293)])(_0x3af0d5[_0x43c343(0x2d1)][_0x43c343(0x1a1)]((0x0,_0x5b7526[_0x43c343(0xb4)])(this[_0x43c343(0xce)]))[_0x43c343(0x248)](()=>{const _0x11c2ea=_0x43c343;this['_isApplyingOverlays']||this[_0x11c2ea(0x147)]();})));}[_0x59cd08(0x147)](){const _0x1c7f3a=_0x59cd08;this[_0x1c7f3a(0x337)]||(this['_renderScheduled']=!0x0,Promise[_0x1c7f3a(0x37e)]()['then'](()=>{const _0x35d54e=_0x1c7f3a;this[_0x35d54e(0x337)]=!0x1,this[_0x35d54e(0x357)]();}));}[_0x59cd08(0x357)](){const _0x14ddc3=_0x59cd08;var _0x448a8f;this['_removeCollabCursors']();let _0x288561=(_0x448a8f=this['_context'][_0x14ddc3(0x390)]['pageManager'][_0x14ddc3(0x140)]())==null?void 0x0:_0x448a8f[_0x14ddc3(0x33c)]();if(!_0x288561)return;let _0x56fc5a=[];if(this[_0x14ddc3(0x177)][_0x14ddc3(0x23d)]((_0x463800,_0x14da3a)=>{const _0x55dcf6=_0x14ddc3;_0x463800[_0x55dcf6(0x32f)]===_0x288561&&_0x463800[_0x55dcf6(0x3a5)][_0x55dcf6(0x23d)](_0x42d2f8=>{const _0x47d27c=_0x55dcf6;let _0x42e671=(0x0,_0x5df1cb['buildDrawingOKey'])(_0x463800[_0x47d27c(0x2d7)],_0x463800[_0x47d27c(0x32f)],_0x42d2f8),_0xa23820=this['_getSceneObjectByKey'](_0x42e671);if(!_0xa23820)return;let _0x55374f=this[_0x47d27c(0x7c)](_0xa23820);_0x56fc5a[_0x47d27c(0x3c3)](new _0x13a0d4(_0x47d27c(0x2d6)+_0x14da3a+'-'+_0x42d2f8,{..._0x463800,'left':_0x55374f[_0x47d27c(0x26c)],'top':_0x55374f[_0x47d27c(0x18c)],'width':_0x55374f[_0x47d27c(0x229)],'height':_0x55374f['height'],'angle':_0xa23820[_0x47d27c(0xda)],'evented':!0x1,'zIndex':_0x26a424}));});}),_0x56fc5a['length']===0x0){this[_0x14ddc3(0x35c)]['scene'][_0x14ddc3(0x108)](!0x0);return;}this[_0x14ddc3(0x17c)]=!0x0,this['_context'][_0x14ddc3(0x354)][_0x14ddc3(0x1e2)](_0x56fc5a,_0x26a424),this['_isApplyingOverlays']=!0x1,this[_0x14ddc3(0x3b2)]=new Set(_0x56fc5a),this[_0x14ddc3(0x35c)][_0x14ddc3(0x354)][_0x14ddc3(0x108)](!0x0);}[_0x59cd08(0x174)](){const _0x2b1418=_0x59cd08;let _0x2ff71f=Array[_0x2b1418(0x22b)](this['_cursors']);if(_0x2ff71f['length']===0x0)return;let _0x388093=this[_0x2b1418(0x35c)][_0x2b1418(0x354)];'removeObjects'in _0x388093&&typeof _0x388093[_0x2b1418(0x39b)]=='function'?_0x388093[_0x2b1418(0x39b)](_0x2ff71f):_0x2ff71f[_0x2b1418(0x23d)](_0x4135d8=>{const _0x5cdeda=_0x2b1418;_0x5cdeda(0x3b7)in _0x388093&&typeof _0x388093[_0x5cdeda(0x3b7)]==_0x5cdeda(0x16e)?_0x388093[_0x5cdeda(0x3b7)](_0x4135d8):_0x4135d8[_0x5cdeda(0x223)]();}),this[_0x2b1418(0x3b2)][_0x2b1418(0xa3)](),_0x388093[_0x2b1418(0x108)](!0x0);}[_0x59cd08(0x24b)](_0x5f32a0){const _0x5cb292=_0x59cd08;var _0x27b96c,_0xf94f18,_0xf6c117;let _0x5898a7=this[_0x5cb292(0x35c)][_0x5cb292(0x354)];return(_0x27b96c=(_0xf94f18=(_0xf6c117=_0x5898a7[_0x5cb292(0x1c7)])==null?void 0x0:_0xf6c117[_0x5cb292(0x2da)](_0x5898a7,_0x5f32a0))==null?_0x5898a7[_0x5cb292(0x1d3)](_0x5f32a0):_0xf94f18)==null?null:_0x27b96c;}[_0x59cd08(0x7c)](_0x1c7fd4){const _0x10d412=_0x59cd08;var _0x40febd,_0x32e713;let _0x1a66a8=_0x1c7fd4;return(_0x40febd=(_0x32e713=_0x1a66a8[_0x10d412(0x397)])==null?void 0x0:_0x32e713[_0x10d412(0x2da)](_0x1a66a8))==null?{'left':_0x1c7fd4[_0x10d412(0x26c)],'top':_0x1c7fd4[_0x10d412(0x18c)],'width':_0x1c7fd4['width'],'height':_0x1c7fd4[_0x10d412(0x153)]}:_0x40febd;}};_0xa278=_0x260d11([_0x2eb870(0x1,(0x0,_0x4615d2['Inject'])(_0x4da5d5)),_0x2eb870(0x2,(0x0,_0x4615d2[_0x59cd08(0x2b0)])(_0x4615d2[_0x59cd08(0x1cd)]))],_0xa278);let _0x38c34b=class extends _0x4615d2['Disposable']{constructor(_0x166938,_0x2b2759,_0xb37a4,_0x3eb2c9,_0x2d5967,_0x5ecaca){const _0xa40b1e=_0x59cd08;super(),this[_0xa40b1e(0x364)]=_0x166938,this[_0xa40b1e(0x116)]=_0x2b2759,this['_collaborationUIEventService']=_0xb37a4,this['_messageService']=_0x3eb2c9,this[_0xa40b1e(0x209)]=_0x2d5967,this['_localeService']=_0x5ecaca,this[_0xa40b1e(0x176)](),this[_0xa40b1e(0x379)]();}[_0x59cd08(0x176)](){const _0x27ce80=_0x59cd08;this[_0x27ce80(0x183)](this[_0x27ce80(0x364)][_0x27ce80(0x11a)](()=>{const _0x4e8c91=_0x27ce80;if(this[_0x4e8c91(0x116)][_0x4e8c91(0x257)][_0x4e8c91(0x9d)])return this[_0x4e8c91(0x180)]['t'](_0x4e8c91(0xd0));}));}['_initEvent'](){const _0x5aaab1=_0x59cd08;this['disposeWithMe'](this[_0x5aaab1(0xa5)][_0x5aaab1(0x77)][_0x5aaab1(0x248)](_0x4ee8fd=>{const _0x3ec7db=_0x5aaab1;_0x4ee8fd['id']===_0x4aca0a[_0x3ec7db(0x2f3)][_0x3ec7db(0x353)]&&this['_messageService'][_0x3ec7db(0x20d)]({'type':_0x20f977[_0x3ec7db(0x3ad)][_0x3ec7db(0x375)],'content':this[_0x3ec7db(0x180)]['t']('collaboration-client-ui.collaboration.single-unit.warning')}),_0x4ee8fd['id']===_0x4aca0a[_0x3ec7db(0x2f3)][_0x3ec7db(0x2bc)]&&this[_0x3ec7db(0x21e)]['show']({'type':_0x20f977['MessageType']['Warning'],'content':this['_localeService']['t'](_0x3ec7db(0x3aa))}),_0x4ee8fd['id']===_0x4aca0a[_0x3ec7db(0x2f3)][_0x3ec7db(0x372)]&&this[_0x3ec7db(0x209)][_0x3ec7db(0x20d)]({'title':this['_localeService']['t'](_0x3ec7db(0xac)),'content':this[_0x3ec7db(0x180)]['t'](_0x3ec7db(0x2b9)),'type':_0x3ec7db(0x363),'duration':0x0}),_0x4ee8fd['id']===_0x4aca0a['CollaborationUIEventId'][_0x3ec7db(0x1d0)]&&this[_0x3ec7db(0x209)][_0x3ec7db(0x20d)]({'title':this[_0x3ec7db(0x180)]['t'](_0x3ec7db(0x341)),'content':this['_localeService']['t'](_0x3ec7db(0x14f)),'type':_0x3ec7db(0x363),'duration':0x0}),_0x4ee8fd['id']===_0x4aca0a[_0x3ec7db(0x2f3)][_0x3ec7db(0x139)]&&this[_0x3ec7db(0x21e)][_0x3ec7db(0x20d)]({'type':_0x20f977[_0x3ec7db(0x3ad)][_0x3ec7db(0x375)],'content':this['_localeService']['t'](_0x4ee8fd[_0x3ec7db(0x186)]||'')}),_0x4ee8fd['id']===_0x4aca0a[_0x3ec7db(0x2f3)]['SOCKET_FAILED_RETRY']&&this[_0x3ec7db(0x21e)][_0x3ec7db(0x20d)]({'type':_0x20f977[_0x3ec7db(0x3ad)]['Warning'],'content':this[_0x3ec7db(0x180)]['t'](_0x3ec7db(0x124))}),_0x4ee8fd['id']===_0x4aca0a[_0x3ec7db(0x2f3)][_0x3ec7db(0x2fa)]&&this['_messageService']['show']({'type':_0x20f977[_0x3ec7db(0x3ad)]['Error'],'content':this['_localeService']['t']('collaboration-client-ui.session.connection-failed')}),_0x4ee8fd['id']===_0x4aca0a[_0x3ec7db(0x2f3)][_0x3ec7db(0x126)]&&this[_0x3ec7db(0x21e)][_0x3ec7db(0x20d)]({'type':_0x20f977['MessageType'][_0x3ec7db(0x26d)],'content':this[_0x3ec7db(0x180)]['t'](_0x3ec7db(0x212))});}));}};_0x38c34b=_0x260d11([_0x2eb870(0x0,_0x4c3c34[_0x59cd08(0x261)]),_0x2eb870(0x1,_0x4aca0a['ILocalCacheService']),_0x2eb870(0x2,(0x0,_0x4615d2[_0x59cd08(0x2b0)])(_0x4aca0a['CollaborationUIEventService'])),_0x2eb870(0x3,_0x4c3c34[_0x59cd08(0x325)]),_0x2eb870(0x4,_0x4c3c34[_0x59cd08(0xe9)]),_0x2eb870(0x5,(0x0,_0x4615d2['Inject'])(_0x4615d2[_0x59cd08(0x205)]))],_0x38c34b);let _0x56e2a2=(0x0,_0x4615d2['createIdentifier'])(_0x59cd08(0x89)),_0x34434d=class extends _0x4615d2['RxDisposable']{constructor(_0x1580a1,_0x1a1f2b,_0x381803,_0x4edef4,_0x328bc7){const _0x30ecec=_0x59cd08;super(),this[_0x30ecec(0x26a)]=_0x1580a1,this[_0x30ecec(0x185)]=_0x1a1f2b,this[_0x30ecec(0x202)]=_0x381803,this[_0x30ecec(0x1fd)]=_0x4edef4,_0x328bc7?_0x328bc7[_0x30ecec(0x2ab)]()['then'](()=>this[_0x30ecec(0x208)]()):(this[_0x30ecec(0x185)]['debug'](_0x30ecec(0x376),_0x30ecec(0x2ed)),this['_init']());}async[_0x59cd08(0x208)](){const _0x4f6fd6=_0x59cd08;let _0x43d2e2=this[_0x4f6fd6(0x26a)][_0x4f6fd6(0x20a)](_0x4f6fd6(0x390)),_0x1691b5=this[_0x4f6fd6(0x26a)][_0x4f6fd6(0x20a)](_0x4f6fd6(0x255)),_0x4c8d28=this['_urlService'][_0x4f6fd6(0x20a)](_0x4f6fd6(0x27c));if(!_0x43d2e2||!_0x1691b5){this[_0x4f6fd6(0x185)][_0x4f6fd6(0x250)](_0x4f6fd6(0x376),_0x4f6fd6(0xfb));return;}let _0xcbd97a=await this[_0x4f6fd6(0x1fd)][_0x4f6fd6(0x1c3)](_0x43d2e2,Number(_0x1691b5),_0x4c8d28);_0xcbd97a&&_0xcbd97a instanceof _0x4615d2[_0x4f6fd6(0x334)]&&this[_0x4f6fd6(0x35b)](_0xcbd97a);}async['_setupSubUnitSync'](_0x348102){const _0x28dc5f=_0x59cd08;await this['_updateSubUnitFromURLParams'](_0x348102),_0x348102[_0x28dc5f(0x131)][_0x28dc5f(0x1a1)]((0x0,_0x5b7526['takeUntil'])(this[_0x28dc5f(0xce)]))['subscribe'](_0x23bb37=>{_0x23bb37&&this['_updateURLWithCurrentState'](_0x23bb37);}),this[_0x28dc5f(0x26a)]['urlChange$']['pipe']((0x0,_0x5b7526['takeUntil'])(this[_0x28dc5f(0xce)]))[_0x28dc5f(0x248)](()=>this[_0x28dc5f(0xff)](_0x348102));}[_0x59cd08(0x1e6)](_0x2aabe1,_0x337b56=!0x1){const _0x5851dc=_0x59cd08;let _0x4b298c=this[_0x5851dc(0x26a)][_0x5851dc(0x20a)]('subunit');_0x2aabe1['getSheetId']()!==_0x4b298c&&this['_urlService']['setParam'](_0x5851dc(0x27c),_0x2aabe1[_0x5851dc(0x393)](),_0x337b56);}async['_updateSubUnitFromURLParams'](_0x537303){const _0x377f04=_0x59cd08;var _0xc0e2b5;let _0x5a2eed=this[_0x377f04(0x26a)][_0x377f04(0x20a)](_0x377f04(0x27c));if(!_0x5a2eed||!_0x537303[_0x377f04(0x1de)](_0x5a2eed)){let _0x2f9fa7=_0x537303[_0x377f04(0x2f9)]()[0x0],_0x32437d=_0x537303['getSheetBySheetId'](_0x2f9fa7);if(!_0x32437d)return;this['_updateURLWithCurrentState'](_0x32437d,!0x0),await this[_0x377f04(0x202)][_0x377f04(0x391)](_0x5ac505['SetWorksheetActivateCommand']['id'],{'unitId':_0x537303[_0x377f04(0x165)](),'subUnitId':_0x2f9fa7});return;}((_0xc0e2b5=_0x537303[_0x377f04(0x2d0)]())==null?void 0x0:_0xc0e2b5[_0x377f04(0x393)]())!==_0x5a2eed&&await this[_0x377f04(0x202)]['executeCommand'](_0x5ac505[_0x377f04(0xd5)]['id'],{'unitId':_0x537303[_0x377f04(0x165)](),'subUnitId':_0x5a2eed});}};_0x34434d=_0x260d11([_0x2eb870(0x0,_0x56e2a2),_0x2eb870(0x1,_0x4615d2[_0x59cd08(0x292)]),_0x2eb870(0x2,_0x4615d2[_0x59cd08(0x15e)]),_0x2eb870(0x3,(0x0,_0x4615d2['Inject'])(_0x4aca0a['DataLoaderService'])),_0x2eb870(0x4,(0x0,_0x4615d2[_0x59cd08(0x2fc)])(_0x1eb128[_0x59cd08(0xbf)]))],_0x34434d);let _0x2dcbbe=class{constructor(_0xd191f1,_0x414bd3){const _0x3f5178=_0x59cd08;this[_0x3f5178(0x366)]=_0xd191f1,this[_0x3f5178(0x10c)]=_0x414bd3;}['transformIMECache'](_0xba56ef){const _0x61dcc2=_0x59cd08;this[_0x61dcc2(0x163)](_0xba56ef),this['_transformPreviousActiveRange'](_0xba56ef);}[_0x59cd08(0x1b4)](_0x30f0e9){const _0x5b7c33=_0x59cd08;let {unitID:_0x1842be}=_0x30f0e9,{redoCache:_0x2120e2}=this['_renderManagerService']['getRenderById'](_0x1842be)[_0x5b7c33(0x2b6)](_0x3bfdba[_0x5b7c33(0x30e)])[_0x5b7c33(0x19b)]();if(_0x2120e2[_0x5b7c33(0x3bc)]===0x0)return _0x30f0e9;let _0x2a0614=_0x4615d2[_0x5b7c33(0x21b)][_0x5b7c33(0x355)](_0x30f0e9[_0x5b7c33(0x2c6)][0x0]);for(let _0x316f7f=0x0;_0x316f7f<_0x2120e2[_0x5b7c33(0x3bc)];_0x316f7f++){let _0x4e51a1={'id':_0x5b7c33(0x307),'params':{..._0x2120e2[_0x316f7f]}},_0x3e2a6f=this['_transformService'][_0x5b7c33(0x11d)](_0x2a0614,_0x4e51a1,!0x1);if((0x0,_0x1208f3[_0x5b7c33(0x21a)])(_0x3e2a6f))throw _0x3e2a6f[_0x5b7c33(0x363)];_0x2a0614=_0x3e2a6f[_0x5b7c33(0xc1)];}return{..._0x4615d2[_0x5b7c33(0x21b)][_0x5b7c33(0x355)](_0x30f0e9),'mutations':[_0x2a0614]};}[_0x59cd08(0x163)](_0x18d418){const _0x2f9fea=_0x59cd08;let {unitID:_0x3ceff9}=_0x18d418,_0x1c8d0f=this['_renderManagerService']['getRenderById'](_0x3ceff9)['with'](_0x3bfdba[_0x2f9fea(0x30e)]),{undoCache:_0x1ec947,redoCache:_0x23f278}=_0x1c8d0f[_0x2f9fea(0x19b)]();if(_0x1ec947[_0x2f9fea(0x3bc)]===0x0||_0x23f278[_0x2f9fea(0x3bc)]===0x0)return;let _0x2b2e24=[],_0x1e2ca1=[],_0x182624=_0x4615d2[_0x2f9fea(0x21b)][_0x2f9fea(0x355)](_0x18d418[_0x2f9fea(0x2c6)][0x0]),_0x1a4475=_0x4615d2[_0x2f9fea(0x21b)][_0x2f9fea(0x355)](_0x18d418['mutations'][0x0]);for(let _0x400b44=_0x1ec947['length']-0x1;_0x400b44>=0x0;_0x400b44--){let _0x17a4b1={'id':'doc.mutation.rich-text-editing','params':{..._0x1ec947[_0x400b44]}},_0x5bd737={'id':_0x2f9fea(0x307),'params':{..._0x23f278[_0x400b44]}},_0x504d36=this['_transformService']['transformMutation'](_0x182624,_0x17a4b1,!0x1),_0x46f3df=this[_0x2f9fea(0x366)][_0x2f9fea(0x11d)](_0x1a4475,_0x5bd737,!0x1);if((0x0,_0x1208f3['isTransformMutationFailure'])(_0x504d36))throw _0x504d36[_0x2f9fea(0x363)];if((0x0,_0x1208f3[_0x2f9fea(0x21a)])(_0x46f3df))throw _0x46f3df[_0x2f9fea(0x363)];_0x2b2e24['unshift'](_0x504d36[_0x2f9fea(0x11e)][_0x2f9fea(0x1f7)]),_0x1e2ca1[_0x2f9fea(0x110)](_0x46f3df[_0x2f9fea(0x11e)]['params']),_0x182624=_0x504d36[_0x2f9fea(0xc1)],_0x1a4475=_0x46f3df[_0x2f9fea(0xc1)];}_0x1c8d0f[_0x2f9fea(0x9b)]({'undoCache':_0x2b2e24,'redoCache':_0x1e2ca1});}[_0x59cd08(0x120)](_0x852986){const _0xb44505=_0x59cd08;let {unitID:_0x33bc80}=_0x852986,_0x3e7f9a=this[_0xb44505(0x10c)][_0xb44505(0x74)](_0x33bc80)['with'](_0x3bfdba[_0xb44505(0x30e)]),_0x15985a=_0x3e7f9a[_0xb44505(0x37c)]();if(_0x15985a==null)return;let _0x519087=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x852986[_0xb44505(0x2b7)],'actions':null,'textRanges':[_0x15985a]}}],_0x4c84fc=this[_0xb44505(0x366)][_0xb44505(0x15d)](_0x852986,_0x519087);if(!(0x0,_0x1208f3['isTransformMutationsWithChangesetSuccess'])(_0x4c84fc))throw _0x4c84fc[_0xb44505(0x363)];let _0x7268c3=_0x4c84fc[_0xb44505(0x11e)][0x0][_0xb44505(0x1f7)][_0xb44505(0x1eb)];Array[_0xb44505(0x1d5)](_0x7268c3)&&_0x7268c3[_0xb44505(0x3bc)]&&_0x3e7f9a[_0xb44505(0x221)](_0x7268c3[0x0]);}};_0x2dcbbe=_0x260d11([_0x2eb870(0x0,_0x1208f3[_0x59cd08(0x1b2)]),_0x2eb870(0x1,_0x1891a4[_0x59cd08(0x1da)])],_0x2dcbbe);let _0x4b641b=class{constructor(_0x149c25,_0xfcf297,_0x1ba7a3){const _0x46792a=_0x59cd08;this[_0x46792a(0x33b)]=_0x149c25,this['_transformService']=_0xfcf297,this[_0x46792a(0x29e)]=_0x1ba7a3;}['transformStateCache'](_0x19e0ea){const _0x3143f7=_0x59cd08;this[_0x3143f7(0xf5)](_0x19e0ea);}[_0x59cd08(0x1b4)](_0x2e1925){const _0x1731ee=_0x59cd08;let {unitID:_0xfb2d43}=_0x2e1925,{collaboration:_0x2bfd20}=this[_0x1731ee(0x29e)][_0x1731ee(0x346)](_0xfb2d43);if(_0x2bfd20[_0x1731ee(0x3bc)]===0x0)return _0x2e1925;let _0x124e83=_0x4615d2[_0x1731ee(0x21b)][_0x1731ee(0x355)](_0x2e1925['mutations'][0x0]);for(let _0x576cfc=0x0;_0x576cfc<_0x2bfd20[_0x1731ee(0x3bc)];_0x576cfc++){let _0x229ced={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x2bfd20[_0x576cfc][_0x1731ee(0x2d7)],..._0x2bfd20[_0x576cfc]['redoState']}},_0x42f956=this['_transformService']['transformMutation'](_0x124e83,_0x229ced,!0x1);if((0x0,_0x1208f3[_0x1731ee(0x21a)])(_0x42f956))throw _0x42f956['error'];_0x124e83=_0x42f956[_0x1731ee(0xc1)];}return{..._0x4615d2['Tools'][_0x1731ee(0x355)](_0x2e1925),'mutations':[_0x124e83]};}['_transformHistoryAndStateStack'](_0x48c0b9){const _0x3f9dd4=_0x59cd08;let {unitID:_0x488aa2}=_0x48c0b9,{history:_0x3a76a4,collaboration:_0x43219e}=this['_docStateChangeManagerService'][_0x3f9dd4(0x346)](_0x488aa2);if(_0x3a76a4['length']===0x0&&_0x43219e[_0x3f9dd4(0x3bc)]===0x0)return;let _0x422ba9=[],_0x8e0a1d=[],_0x44873c=_0x4615d2[_0x3f9dd4(0x21b)]['deepClone'](_0x48c0b9['mutations'][0x0]),_0x5e7e67=_0x4615d2[_0x3f9dd4(0x21b)][_0x3f9dd4(0x355)](_0x48c0b9[_0x3f9dd4(0x2c6)][0x0]);for(let _0x5e462f=_0x3a76a4['length']-0x1;_0x5e462f>=0x0;_0x5e462f--){let _0x181240={'id':_0x3f9dd4(0x307),'params':{'unitId':_0x3a76a4[_0x5e462f][_0x3f9dd4(0x2d7)],..._0x3a76a4[_0x5e462f][_0x3f9dd4(0x324)]}},_0x8fc450={'id':_0x3f9dd4(0x307),'params':{'unitId':_0x3a76a4[_0x5e462f][_0x3f9dd4(0x2d7)],..._0x3a76a4[_0x5e462f]['redoState']}},_0x230523=this[_0x3f9dd4(0x366)]['transformMutation'](_0x44873c,_0x181240,!0x1),_0xaa2d50=this['_transformService'][_0x3f9dd4(0x11d)](_0x5e7e67,_0x8fc450,!0x1);if((0x0,_0x1208f3['isTransformMutationFailure'])(_0x230523))throw _0x230523[_0x3f9dd4(0x363)];if((0x0,_0x1208f3[_0x3f9dd4(0x21a)])(_0xaa2d50))throw _0xaa2d50[_0x3f9dd4(0x363)];_0x422ba9['unshift']({..._0x3a76a4[_0x5e462f],'undoState':_0x230523[_0x3f9dd4(0x11e)]['params'],'redoState':_0xaa2d50[_0x3f9dd4(0x11e)][_0x3f9dd4(0x1f7)]}),_0x44873c=_0x230523[_0x3f9dd4(0xc1)],_0x5e7e67=_0xaa2d50['m1Prime'];}_0x44873c=_0x4615d2['Tools'][_0x3f9dd4(0x355)](_0x48c0b9[_0x3f9dd4(0x2c6)][0x0]),_0x5e7e67=_0x4615d2[_0x3f9dd4(0x21b)][_0x3f9dd4(0x355)](_0x48c0b9[_0x3f9dd4(0x2c6)][0x0]);for(let _0x22e4cf=_0x43219e[_0x3f9dd4(0x3bc)]-0x1;_0x22e4cf>=0x0;_0x22e4cf--){let _0x312a15={'id':_0x3f9dd4(0x307),'params':{'unitId':_0x43219e[_0x22e4cf][_0x3f9dd4(0x2d7)],..._0x43219e[_0x22e4cf][_0x3f9dd4(0x324)]}},_0x7c8817={'id':_0x3f9dd4(0x307),'params':{'unitId':_0x43219e[_0x22e4cf][_0x3f9dd4(0x2d7)],..._0x43219e[_0x22e4cf][_0x3f9dd4(0x288)]}},_0x39ce0c=this[_0x3f9dd4(0x366)][_0x3f9dd4(0x11d)](_0x44873c,_0x312a15,!0x1),_0x2fcfff=this[_0x3f9dd4(0x366)][_0x3f9dd4(0x11d)](_0x5e7e67,_0x7c8817,!0x1);if((0x0,_0x1208f3[_0x3f9dd4(0x21a)])(_0x39ce0c))throw _0x39ce0c[_0x3f9dd4(0x363)];if((0x0,_0x1208f3[_0x3f9dd4(0x21a)])(_0x2fcfff))throw _0x2fcfff[_0x3f9dd4(0x363)];_0x8e0a1d[_0x3f9dd4(0x110)]({..._0x43219e[_0x22e4cf],'undoState':_0x39ce0c[_0x3f9dd4(0x11e)][_0x3f9dd4(0x1f7)],'redoState':_0x2fcfff['m2Prime'][_0x3f9dd4(0x1f7)]}),_0x44873c=_0x39ce0c[_0x3f9dd4(0xc1)],_0x5e7e67=_0x2fcfff['m1Prime'];}this[_0x3f9dd4(0x29e)][_0x3f9dd4(0x8a)](_0x488aa2,{'history':_0x422ba9,'collaboration':_0x8e0a1d});}};_0x4b641b=_0x260d11([_0x2eb870(0x0,(0x0,_0x4615d2['Inject'])(_0x4615d2[_0x59cd08(0x13d)])),_0x2eb870(0x1,_0x1208f3[_0x59cd08(0x1b2)]),_0x2eb870(0x2,(0x0,_0x4615d2[_0x59cd08(0x2b0)])(_0x7aa288[_0x59cd08(0x38b)]))],_0x4b641b);let _0x2a881f=class{constructor(_0x1e839c,_0x5c2837){const _0x49836b=_0x59cd08;this['_injector']=_0x1e839c,this[_0x49836b(0x366)]=_0x5c2837;}[_0x59cd08(0x1a2)](_0x6b5d69){const _0x5040f0=_0x59cd08;var _0xb138ef;let _0x27e423=this['_injector']['get'](_0x7aa288[_0x5040f0(0x118)]),_0x94a51a=(_0xb138ef=_0x27e423[_0x5040f0(0x1c5)]())==null?[]:_0xb138ef;if(_0x94a51a[_0x5040f0(0x3bc)]===0x0)return;let _0x1e3f77=_0x6b5d69[_0x5040f0(0x2b7)],_0x32f0d1=[{'id':_0x5040f0(0x307),'params':{'unitId':_0x1e3f77,'actions':null,'textRanges':_0x94a51a}}],_0x576343=this[_0x5040f0(0x366)]['transformMutationsWithChangeset'](_0x6b5d69,_0x32f0d1);if(!(0x0,_0x1208f3[_0x5040f0(0x170)])(_0x576343))throw _0x576343['error'];let _0xd6827c=_0x576343[_0x5040f0(0x11e)][0x0][_0x5040f0(0x1f7)][_0x5040f0(0x1eb)];Array['isArray'](_0xd6827c)&&_0xd6827c[_0x5040f0(0x3bc)]&&_0x27e423[_0x5040f0(0xb8)](_0xd6827c,{'unitId':_0x1e3f77,'subUnitId':_0x1e3f77},!0x1);}};_0x2a881f=_0x260d11([_0x2eb870(0x0,(0x0,_0x4615d2[_0x59cd08(0x2b0)])(_0x4615d2['Injector'])),_0x2eb870(0x1,_0x1208f3[_0x59cd08(0x1b2)])],_0x2a881f);let _0x5629d9=class extends _0x4615d2[_0x59cd08(0x326)]{constructor(_0x263c46,_0x2d63f4,_0x19f283,_0x91a915,_0xb9c00,_0x56abd4,_0x5a68e7){const _0x2996bd=_0x59cd08;super(),this['_collaborationController']=_0x263c46,this[_0x2996bd(0x27d)]=_0x2d63f4,this[_0x2996bd(0x389)]=_0x19f283,this[_0x2996bd(0x36a)]=_0x91a915,this['_docSyncEditingCollabCursorService']=_0xb9c00,this['_messageService']=_0x56abd4,this['_localeService']=_0x5a68e7,_0x4dee6d(this,_0x2996bd(0x3c6),new _0x5b7526[(_0x2996bd(0x24f))](_0x4aca0a[_0x2996bd(0x2d8)][_0x2996bd(0x276)])),this[_0x2996bd(0x2ac)]();}['_initEntityListener'](){const _0x474662=_0x59cd08;this[_0x474662(0x183)](this['_collaborationController'][_0x474662(0x270)][_0x474662(0x248)](_0x5a7b13=>{const _0x43c94c=_0x474662;_0x5a7b13 instanceof _0x4aca0a[_0x43c94c(0x12f)]&&_0x5a7b13[_0x43c94c(0x356)]({'onTransformIME':_0x3db9fe=>this[_0x43c94c(0x27d)][_0x43c94c(0x2e7)](_0x3db9fe),'onTransformState':_0x35bd3c=>this[_0x43c94c(0x389)][_0x43c94c(0x23e)](_0x35bd3c),'onTransformSelections':_0xe8cd74=>this[_0x43c94c(0x36a)][_0x43c94c(0x1a2)](_0xe8cd74),'onSyncEditingCollabCursor':_0x48a9fb=>this[_0x43c94c(0x3c7)][_0x43c94c(0x10b)](_0x48a9fb),'onTransformRemoteChangesetByIMECache':_0x3539d3=>this[_0x43c94c(0x27d)][_0x43c94c(0x1b4)](_0x3539d3),'onTransformRemoteChangesetByStateCache':_0x197eed=>this[_0x43c94c(0x389)]['transformRemoteChangeset'](_0x197eed)});}));}};_0x5629d9=_0x260d11([_0x2eb870(0x0,(0x0,_0x4615d2[_0x59cd08(0x2b0)])(_0x4aca0a[_0x59cd08(0x30f)])),_0x2eb870(0x1,(0x0,_0x4615d2[_0x59cd08(0x2b0)])(_0x2dcbbe)),_0x2eb870(0x2,(0x0,_0x4615d2['Inject'])(_0x4b641b)),_0x2eb870(0x3,(0x0,_0x4615d2[_0x59cd08(0x2b0)])(_0x2a881f)),_0x2eb870(0x4,(0x0,_0x4615d2['Inject'])(_0x410673)),_0x2eb870(0x5,_0x4c3c34[_0x59cd08(0x325)]),_0x2eb870(0x6,(0x0,_0x4615d2[_0x59cd08(0x2b0)])(_0x4615d2['LocaleService']))],_0x5629d9);let _0x224c71=class extends _0x4615d2[_0x59cd08(0x326)]{constructor(_0x47d79e,_0x435229,_0xaa9851,_0x4a849c){const _0x45e43f=_0x59cd08;super(),this['_injector']=_0x47d79e,this['_httpService']=_0x435229,this[_0x45e43f(0x185)]=_0xaa9851,this['_collaborationSessionService']=_0x4a849c,_0x4dee6d(this,_0x45e43f(0x296),void 0x0),this['_init']();}[_0x59cd08(0x208)](){const _0x1d9c75=_0x59cd08;this['_initWindowErrorListener'](),this[_0x1d9c75(0x315)](),this[_0x1d9c75(0x225)](),this[_0x1d9c75(0x11f)]();}[_0x59cd08(0x11f)](){const _0x575102=_0x59cd08;this[_0x575102(0x183)](this[_0x575102(0x81)][_0x575102(0x1f8)][_0x575102(0x248)](_0xc76a76=>{const _0x52fd21=_0x575102;this[_0x52fd21(0x296)]=_0xc76a76==null?void 0x0:_0xc76a76[_0x52fd21(0x1bc)];}));}['_initWindowErrorListener'](){const _0x290ccf=_0x59cd08;let _0x37ea34=_0x24d98b=>{const _0x5c6461=_0x41f0;var _0x224b94;this[_0x5c6461(0x122)](_0x5c6461(0x363),_0x5c6461(0x72)+_0x24d98b[_0x5c6461(0x367)]+_0x5c6461(0x27a)+_0x24d98b[_0x5c6461(0x25d)]+':'+_0x24d98b[_0x5c6461(0x1af)]+':'+_0x24d98b[_0x5c6461(0x2ee)]+'\x0a'+(((_0x224b94=_0x24d98b[_0x5c6461(0x363)])==null?void 0x0:_0x224b94[_0x5c6461(0x227)])||''));};window[_0x290ccf(0x285)]('error',_0x37ea34),this['disposeWithMe'](()=>{window['removeEventListener']('error',_0x37ea34);});}['_initUnhandledRejectionListener'](){const _0x4fc94a=_0x59cd08;let _0x2b7368=_0x33639f=>{const _0x2695d5=_0x41f0;this['_uploadLog'](_0x2695d5(0x363),_0x2695d5(0xdd)+_0x33639f['reason']);};window[_0x4fc94a(0x285)]('unhandledrejection',_0x2b7368),this[_0x4fc94a(0x183)](()=>{const _0x2ffdeb=_0x4fc94a;window[_0x2ffdeb(0x25f)](_0x2ffdeb(0x2ec),_0x2b7368);});}['_monkeyPatchLogService'](){const _0x4ee232=_0x59cd08;let _0x27e221=this[_0x4ee232(0x185)]['error'][_0x4ee232(0x2a6)](this[_0x4ee232(0x185)]);this[_0x4ee232(0x185)]['error']=(..._0x4759fa)=>{const _0x582c55=_0x4ee232;let _0x5e1ec1=_0x4759fa[_0x582c55(0xaf)](_0x3350ab=>_0x3350ab instanceof Error?_0x3350ab[_0x582c55(0x367)]+'\x0a'+_0x3350ab['stack']:String(_0x3350ab))[_0x582c55(0x2fd)]('\x20');this[_0x582c55(0x122)]('error',_0x582c55(0xd4)+_0x5e1ec1),_0x27e221(..._0x4759fa);},this[_0x4ee232(0x183)](()=>{const _0x2b7259=_0x4ee232;this[_0x2b7259(0x185)][_0x2b7259(0x363)]=_0x27e221;});}['_uploadLog'](_0x54720e,_0x104fb5){const _0x1bfc2b=_0x59cd08;try{let _0x1b5f46={'userId':this[_0x1bfc2b(0x296)],'logLabel':_0x54720e,'content':_0x104fb5};this[_0x1bfc2b(0xfc)][_0x1bfc2b(0x312)](_0x1bfc2b(0x2cd),{'body':_0x1b5f46})[_0x1bfc2b(0x125)](()=>{});}catch{}}};_0x224c71=_0x260d11([_0x2eb870(0x0,(0x0,_0x4615d2['Inject'])(_0x4615d2['Injector'])),_0x2eb870(0x1,(0x0,_0x4615d2[_0x59cd08(0x2b0)])(_0x12e547[_0x59cd08(0x258)])),_0x2eb870(0x2,_0x4615d2[_0x59cd08(0x292)]),_0x2eb870(0x3,(0x0,_0x4615d2[_0x59cd08(0x2b0)])(_0x4aca0a[_0x59cd08(0x1b1)]))],_0x224c71);function _0x328180({state$:_0x240525,interactionBlocked$:_0x2e28d1}){const _0x492063=_0x59cd08;return(0x0,_0x2bbf19[_0x492063(0x15f)])(_0x2bbf19[_0x492063(0x29f)],{'children':[(0x0,_0x4c3c34[_0x492063(0x1ff)])(_0x2e28d1,!0x1,!0x0)&&(0x0,_0x2bbf19[_0x492063(0xdb)])(_0x492063(0x268),{'data-u-comp':_0x492063(0x3a3),'aria-hidden':!0x0,'className':'univer-fixed\x20univer-inset-0\x20univer-z-[1000]\x20univer-cursor-wait'}),(0x0,_0x2bbf19['jsx'])(_0x421b58,{'state$':_0x240525})]});}function _0x421b58({state$:_0x375537}){const _0x44be31=_0x59cd08;let _0x2dead7=(0x0,_0x4c3c34[_0x44be31(0x1ff)])(_0x375537,null,!0x0);return _0x2dead7?(0x0,_0x2bbf19[_0x44be31(0x15f)])(_0x44be31(0x268),{'data-u-comp':_0x44be31(0x29b),'role':_0x44be31(0x22c),'className':_0x44be31(0xee),'children':[(0x0,_0x2bbf19[_0x44be31(0xdb)])(_0x39a594,{'className':_0x44be31(0x347)}),(0x0,_0x2bbf19['jsx'])(_0x44be31(0x338),{'children':_0x2dead7[_0x44be31(0xc0)]}),(0x0,_0x2bbf19['jsx'])(_0x20f977['Button'],{'size':_0x44be31(0x187),'variant':'primary','onClick':()=>window['location'][_0x44be31(0x13a)](),'children':_0x2dead7[_0x44be31(0x39c)]})]}):null;}let _0x126de1='snapshot-loading-',_0x165f7d=class extends _0x4615d2[_0x59cd08(0x326)]{constructor(_0x4af6ab,_0x4fee95,_0x25110e,_0x3fe71f,_0x41585b,_0x16baf5,_0x335aa5,_0x2c61ef){const _0x255ae6=_0x59cd08;super(),this[_0x255ae6(0xaa)]=_0x4af6ab,this[_0x255ae6(0x21e)]=_0x4fee95,this[_0x255ae6(0x180)]=_0x25110e,this[_0x255ae6(0x33b)]=_0x3fe71f,this[_0x255ae6(0x1cc)]=_0x41585b,this[_0x255ae6(0x373)]=_0x335aa5,this[_0x255ae6(0x26a)]=_0x2c61ef,_0x4dee6d(this,_0x255ae6(0x24c),new _0x5b7526[(_0x255ae6(0x24f))](null)),_0x4dee6d(this,_0x255ae6(0x1f6),new _0x5b7526[(_0x255ae6(0x24f))](!0x1)),_0x4dee6d(this,_0x255ae6(0x1db),new Set()),_0x4dee6d(this,_0x255ae6(0x1a4),new Map()),_0x4dee6d(this,_0x255ae6(0x182),new Set()),_0x4dee6d(this,_0x255ae6(0x2c8),new Map()),_0x4dee6d(this,_0x255ae6(0x283),void 0x0),_0x4dee6d(this,_0x255ae6(0x3b6),void 0x0),_0x4dee6d(this,_0x255ae6(0x2b5),void 0x0),_0x4dee6d(this,_0x255ae6(0x38f),this['_timeoutState$'][_0x255ae6(0x1f5)]());let _0x3a4836=()=>(0x0,_0x63271a[_0x255ae6(0x2a8)])(_0x328180,{'state$':this[_0x255ae6(0x38f)],'interactionBlocked$':this['_interactionBlocked$']});this[_0x255ae6(0x183)](_0x16baf5[_0x255ae6(0xa2)](_0x4c3c34[_0x255ae6(0x22f)][_0x255ae6(0x106)],()=>(0x0,_0x4c3c34[_0x255ae6(0xc2)])(_0x3a4836,this[_0x255ae6(0x33b)]))),this['disposeWithMe'](this[_0x255ae6(0xaa)][_0x255ae6(0x1f2)][_0x255ae6(0x248)](_0x539279=>{this['_latestStates']=_0x539279,_0x539279['forEach'](_0x29f664=>{const _0x57d91a=_0x41f0;this[_0x57d91a(0x2d9)](_0x29f664),this[_0x57d91a(0x297)](_0x29f664);});})),this[_0x255ae6(0x183)](this['_urlService'][_0x255ae6(0x2dd)]['subscribe'](()=>{const _0x195eb6=_0x255ae6;this['_latestStates'][_0x195eb6(0x23d)](_0x7abb69=>{const _0x4fa3df=_0x195eb6;this['_updateMessage'](_0x7abb69),this[_0x4fa3df(0x297)](_0x7abb69);});}));}[_0x59cd08(0x223)](){const _0xd432e9=_0x59cd08;var _0x11c64a;if(this['_messageIds'][_0xd432e9(0x23d)](_0x101536=>this[_0xd432e9(0x21e)][_0xd432e9(0x200)](_0x101536)),this[_0xd432e9(0x1db)][_0xd432e9(0xa3)](),this[_0xd432e9(0x283)]){var _0x5a3cb0;(_0x5a3cb0=this[_0xd432e9(0x2b5)])==null||_0x5a3cb0[_0xd432e9(0x1c6)](this[_0xd432e9(0x283)]);}this[_0xd432e9(0x283)]=void 0x0,this[_0xd432e9(0x1a4)]['forEach'](({timeoutId:_0x41fc25})=>clearTimeout(_0x41fc25)),this['_blockProgressWatches']['clear'](),(_0x11c64a=this[_0xd432e9(0x3b6)])==null||_0x11c64a[_0xd432e9(0x223)](),this['_shortcutBlock']=void 0x0,this[_0xd432e9(0x24c)]['complete'](),this['_interactionBlocked$'][_0xd432e9(0x398)](),super['dispose']();}[_0x59cd08(0x2d9)](_0x526db7){const _0x36cc19=_0x59cd08;let _0x302c28=''+_0x126de1+_0x526db7['unitId'];if(_0x526db7[_0x36cc19(0x3c9)]===_0x1208f3['SnapshotLoadStage'][_0x36cc19(0xcb)]){if(this[_0x36cc19(0x2d5)](_0x526db7['unitId']),this[_0x36cc19(0x232)](_0x526db7[_0x36cc19(0x2d7)])&&this['_previewUnitId']===_0x526db7[_0x36cc19(0x2d7)]){this[_0x36cc19(0x21e)][_0x36cc19(0x20d)]({'id':_0x302c28,'type':_0x20f977[_0x36cc19(0x3ad)][_0x36cc19(0x342)],'duration':0x1/0x0,'content':this[_0x36cc19(0x180)]['t'](_0x36cc19(0x247))}),this[_0x36cc19(0x1db)]['add'](_0x302c28);return;}this[_0x36cc19(0xb5)](_0x526db7[_0x36cc19(0x2d7)]),this['_messageService']['remove'](_0x302c28),this[_0x36cc19(0x1db)][_0x36cc19(0x28b)](_0x302c28);return;}if(!this[_0x36cc19(0x232)](_0x526db7[_0x36cc19(0x2d7)])){this[_0x36cc19(0x2d5)](_0x526db7[_0x36cc19(0x2d7)]),this[_0x36cc19(0xb5)](_0x526db7[_0x36cc19(0x2d7)]),this[_0x36cc19(0x21e)][_0x36cc19(0x200)](_0x302c28),this[_0x36cc19(0x1db)][_0x36cc19(0x28b)](_0x302c28);return;}if(_0x526db7[_0x36cc19(0x3c9)]===_0x1208f3[_0x36cc19(0x1cb)]['ERROR']){this[_0x36cc19(0x2d5)](_0x526db7['unitId']),this['_clearTimeoutState'](_0x526db7[_0x36cc19(0x2d7)]),this['_messageService'][_0x36cc19(0x20d)]({'id':_0x302c28,'type':_0x20f977[_0x36cc19(0x3ad)][_0x36cc19(0x26d)],'content':this[_0x36cc19(0x180)]['t'](_0x36cc19(0x1c9))}),this['_messageIds']['delete'](_0x302c28);return;}if(_0x526db7['stage']!==_0x1208f3['SnapshotLoadStage']['LOADING_BLOCKS']||_0x526db7['totalBlocks']<=0xa){this[_0x36cc19(0x2d5)](_0x526db7[_0x36cc19(0x2d7)]),this[_0x36cc19(0x21e)][_0x36cc19(0x200)](_0x302c28),this[_0x36cc19(0x1db)]['delete'](_0x302c28);return;}this[_0x36cc19(0x264)](_0x526db7)||(this[_0x36cc19(0x21e)][_0x36cc19(0x20d)]({'id':_0x302c28,'type':_0x20f977[_0x36cc19(0x3ad)][_0x36cc19(0x342)],'duration':0x1/0x0,'content':this['_localeService']['t'](_0x36cc19(0x119))+'\x20'+_0x526db7[_0x36cc19(0x2d3)]+'/'+_0x526db7['totalBlocks']}),this['_messageIds']['add'](_0x302c28));}[_0x59cd08(0x264)](_0x443e9d){const _0x36c137=_0x59cd08;let _0x5b8e98=this['_blockProgressWatches'][_0x36c137(0x99)](_0x443e9d[_0x36c137(0x2d7)]);if((_0x5b8e98==null?void 0x0:_0x5b8e98['loadedBlocks'])===_0x443e9d['loadedBlocks'])return _0x5b8e98['timedOut'];this[_0x36c137(0x2d5)](_0x443e9d[_0x36c137(0x2d7)]);let _0x246b00=setTimeout(()=>{const _0x26403f=_0x36c137;let _0x5c6660=this['_blockProgressWatches']['get'](_0x443e9d[_0x26403f(0x2d7)]);if(!_0x5c6660||_0x5c6660[_0x26403f(0x25c)]!==_0x246b00)return;_0x5c6660['timedOut']=!0x0;let _0x2b10a0=''+_0x126de1+_0x443e9d['unitId'];this[_0x26403f(0x21e)]['remove'](_0x2b10a0),this[_0x26403f(0x1db)][_0x26403f(0x28b)](_0x2b10a0),this['_timeoutState$']['next']({'unitId':_0x443e9d[_0x26403f(0x2d7)],'content':this[_0x26403f(0x180)]['t']('collaboration-client-ui.snapshotLoading.timeout',String(_0x443e9d[_0x26403f(0x2d3)]),String(_0x443e9d[_0x26403f(0x166)])),'refreshLabel':this['_localeService']['t'](_0x26403f(0x242))});},0xea60);return this[_0x36c137(0x1a4)][_0x36c137(0x382)](_0x443e9d[_0x36c137(0x2d7)],{'loadedBlocks':_0x443e9d['loadedBlocks'],'timedOut':!0x1,'timeoutId':_0x246b00}),!0x1;}['_clearBlockProgressWatch'](_0x44a462){const _0x292121=_0x59cd08;let _0x180755=this[_0x292121(0x1a4)][_0x292121(0x99)](_0x44a462);_0x180755&&(clearTimeout(_0x180755[_0x292121(0x25c)]),this[_0x292121(0x1a4)][_0x292121(0x28b)](_0x44a462),this[_0x292121(0xb5)](_0x44a462));}['_clearTimeoutState'](_0x5e2069){const _0x1dc951=_0x59cd08;var _0x6ffe81;((_0x6ffe81=this['_timeoutState$'][_0x1dc951(0x1c1)])==null?void 0x0:_0x6ffe81[_0x1dc951(0x2d7)])===_0x5e2069&&this['_timeoutState$'][_0x1dc951(0x20f)](null);}[_0x59cd08(0x297)](_0xa2935e){const _0x572e87=_0x59cd08;if(_0xa2935e['stage']===_0x1208f3[_0x572e87(0x1cb)]['LOADING_SNAPSHOT']&&this[_0x572e87(0x182)]['delete'](_0xa2935e[_0x572e87(0x2d7)]),!this['_isVisibleUnit'](_0xa2935e[_0x572e87(0x2d7)])){this[_0x572e87(0x17f)](_0xa2935e['unitId']);return;}if(_0xa2935e[_0x572e87(0x3c9)]===_0x1208f3['SnapshotLoadStage'][_0x572e87(0x284)]||_0xa2935e[_0x572e87(0x166)]<=0xa){this[_0x572e87(0x17f)](_0xa2935e['unitId']);return;}if(_0xa2935e[_0x572e87(0x3c9)]===_0x1208f3[_0x572e87(0x1cb)][_0x572e87(0xcb)]){this[_0x572e87(0x252)](_0xa2935e[_0x572e87(0x2d7)]);return;}if(_0xa2935e['stage']===_0x1208f3['SnapshotLoadStage'][_0x572e87(0x8c)]&&_0xa2935e['workbookShell']&&_0xa2935e[_0x572e87(0x16b)]){let _0x2ecbfc=this[_0x572e87(0x220)]();if(!_0x2ecbfc)return;this[_0x572e87(0x283)]&&this['_previewUnitId']!==_0xa2935e[_0x572e87(0x2d7)]&&this[_0x572e87(0x17f)](this[_0x572e87(0x283)]),_0x2ecbfc[_0x572e87(0x2f7)](_0xa2935e['workbookShell'],_0xa2935e[_0x572e87(0x16b)]),this[_0x572e87(0x283)]=_0xa2935e['unitId'],this[_0x572e87(0x340)](!0x0),_0xa2935e[_0x572e87(0x16c)]&&_0x2ecbfc[_0x572e87(0x20d)](_0xa2935e['workbookShell'],_0xa2935e[_0x572e87(0x16b)],_0xa2935e[_0x572e87(0x321)]);}}[_0x59cd08(0x252)](_0x112658){const _0x133e3a=_0x59cd08;if(this[_0x133e3a(0x283)]!==_0x112658||this[_0x133e3a(0x182)]['has'](_0x112658))return;let _0x33256d=this[_0x133e3a(0x2b5)];_0x33256d&&(this[_0x133e3a(0x182)]['add'](_0x112658),_0x33256d[_0x133e3a(0x3cf)](_0x112658,0x2710)[_0x133e3a(0x3cb)](_0x1d46c0=>{const _0x36945b=_0x133e3a;if(this['_previewUnitId']!==_0x112658)return;if(_0x1d46c0){let _0x5049e7=''+_0x126de1+_0x112658;this[_0x36945b(0x21e)][_0x36945b(0x200)](_0x5049e7),this[_0x36945b(0x1db)]['delete'](_0x5049e7),this['_previewUnitId']=void 0x0,this[_0x36945b(0x340)](!0x1);return;}let _0x30e7b2=''+_0x126de1+_0x112658;this['_messageService'][_0x36945b(0x200)](_0x30e7b2),this[_0x36945b(0x1db)][_0x36945b(0x28b)](_0x30e7b2),this[_0x36945b(0x24c)][_0x36945b(0x20f)]({'unitId':_0x112658,'content':this[_0x36945b(0x180)]['t']('collaboration-client-ui.session.connection-failed'),'refreshLabel':this[_0x36945b(0x180)]['t'](_0x36945b(0x242))});}));}['_hidePreview'](_0x3d30a5){const _0xe1921=_0x59cd08;var _0x3f8e3c;this['_previewUnitId']===_0x3d30a5&&((_0x3f8e3c=this['_sheetLoadingRenderService'])==null||_0x3f8e3c['hide'](_0x3d30a5),this[_0xe1921(0x283)]=void 0x0,this[_0xe1921(0x340)](!0x1));}[_0x59cd08(0x340)](_0x1a207f){const _0xebd6c8=_0x59cd08;if(_0x1a207f!==this[_0xebd6c8(0x1f6)][_0xebd6c8(0x1c1)]){if(_0x1a207f)this[_0xebd6c8(0x3b6)]=this[_0xebd6c8(0x373)][_0xebd6c8(0x91)]();else{var _0x4b9d20;(_0x4b9d20=this[_0xebd6c8(0x3b6)])==null||_0x4b9d20[_0xebd6c8(0x223)](),this[_0xebd6c8(0x3b6)]=void 0x0;}this['_interactionBlocked$'][_0xebd6c8(0x20f)](_0x1a207f);}}[_0x59cd08(0x232)](_0x90f366){const _0x336be6=_0x59cd08;let _0x4da31b=this[_0x336be6(0x26a)][_0x336be6(0x20a)](_0x336be6(0x390));return!_0x4da31b||_0x4da31b===_0x90f366;}['_getSheetLoadingRenderService'](){const _0x5b1c95=_0x59cd08;return this[_0x5b1c95(0x2b5)]?this['_sheetLoadingRenderService']:(this[_0x5b1c95(0x1cc)][_0x5b1c95(0xc4)](_0x4615d2[_0x5b1c95(0x172)]['UNIVER_SHEET']),this[_0x5b1c95(0x33b)][_0x5b1c95(0x3b1)](_0x50dd72['ISheetLoadingRenderService'])&&(this[_0x5b1c95(0x2b5)]=this[_0x5b1c95(0x33b)][_0x5b1c95(0x99)](_0x50dd72[_0x5b1c95(0x117)])),this['_sheetLoadingRenderService']);}};_0x165f7d=_0x260d11([_0x2eb870(0x0,(0x0,_0x4615d2[_0x59cd08(0x2b0)])(_0x1208f3[_0x59cd08(0xcc)])),_0x2eb870(0x1,_0x4c3c34[_0x59cd08(0x325)]),_0x2eb870(0x2,(0x0,_0x4615d2[_0x59cd08(0x2b0)])(_0x4615d2[_0x59cd08(0x205)])),_0x2eb870(0x3,(0x0,_0x4615d2[_0x59cd08(0x2b0)])(_0x4615d2[_0x59cd08(0x13d)])),_0x2eb870(0x4,(0x0,_0x4615d2[_0x59cd08(0x2b0)])(_0x4615d2[_0x59cd08(0x2cf)])),_0x2eb870(0x5,_0x4c3c34[_0x59cd08(0x3ca)]),_0x2eb870(0x6,_0x4c3c34['IShortcutService']),_0x2eb870(0x7,_0x56e2a2)],_0x165f7d);function _0x139118(_0x1444ae){const _0x4b2926=_0x59cd08;var _0x593326,_0xef60b0;let _0x41698d=(_0x593326=_0x1444ae[_0x4b2926(0x2f0)])==null?void 0x0:_0x593326[_0x4b2926(0x3c9)],_0x2dd6ac=((_0xef60b0=_0x1444ae[_0x4b2926(0x2f0)])==null?void 0x0:_0xef60b0[_0x4b2926(0x150)])||0x0;return _0x41698d===_0x5f0904[_0x4b2926(0x286)][_0x4b2926(0x16a)]&&_0x2dd6ac>0x0;}function _0x8f15bc(_0x3507f9){const _0x47629d=_0x59cd08;return _0x3507f9['functionsExecutedState']===_0x5f0904[_0x47629d(0x1a7)][_0x47629d(0x3c4)];}let _0x38c575=class extends _0x4615d2[_0x59cd08(0x326)]{constructor(_0x47fc8e,_0x5eaf73,_0x2d6b4c,_0x5cedf9,_0x539f61,_0x4bd660,_0x3d7d91){const _0x19a13c=_0x59cd08;super(),this[_0x19a13c(0x21e)]=_0x47fc8e,this['_commandService']=_0x5eaf73,this[_0x19a13c(0x1ba)]=_0x2d6b4c,this[_0x19a13c(0xfc)]=_0x5cedf9,this['_univerInstanceService']=_0x539f61,this[_0x19a13c(0x185)]=_0x4bd660,this[_0x19a13c(0x180)]=_0x3d7d91,_0x4dee6d(this,'_pollingInterval',null),_0x4dee6d(this,_0x19a13c(0x29d),0x0),_0x4dee6d(this,_0x19a13c(0x350),0x0),_0x4dee6d(this,'_taskIds',[]),_0x4dee6d(this,_0x19a13c(0x2ce),0x0),this[_0x19a13c(0x1f9)]();}['_initCommandInterceptor'](){const _0x41c411=_0x59cd08;this['disposeWithMe'](this[_0x41c411(0x202)]['beforeCommandExecuted']((_0x5f13a9,_0x569e8a)=>{const _0x5876ca=_0x41c411;var _0x1748d2;if(_0x5f13a9['id']!==_0x5f0904[_0x5876ca(0x35a)]['id'])return;let _0x229b33=_0x5f13a9['params'];if(this[_0x5876ca(0x22a)]((_0x1748d2=_0x229b33[_0x5876ca(0x9f)])==null?[]:_0x1748d2)&&!this[_0x5876ca(0x193)]())throw this[_0x5876ca(0x246)](_0x5f13a9,_0x569e8a),this[_0x5876ca(0x141)](),new _0x4615d2[(_0x5876ca(0x1fb))]();})),this[_0x41c411(0x183)](this[_0x41c411(0x202)][_0x41c411(0x137)]((_0x335d65,_0x389c2b)=>{const _0x2919e0=_0x41c411;if(_0x335d65['id']!==_0x5f0904['SetFormulaCalculationNotificationMutation']['id'])return;let _0x1d9841=_0x335d65[_0x2919e0(0x1f7)];if(_0x139118(_0x1d9841)){let _0x2ad631=(0x0,_0x4615d2[_0x2919e0(0x1ce)])();this[_0x2919e0(0x2c7)][_0x2919e0(0x3c3)](_0x2ad631),this[_0x2919e0(0x253)](_0x2ad631);}else{if(_0x8f15bc(_0x1d9841)&&this[_0x2919e0(0x2c7)]['length']>0x0){let _0x2215bb=this[_0x2919e0(0x2c7)][_0x2919e0(0x280)]();this['_releaseCalculationLimit'](_0x2215bb);}}}));}[_0x59cd08(0x223)](){const _0x3e4b63=_0x59cd08;super[_0x3e4b63(0x223)](),this[_0x3e4b63(0x395)](),this[_0x3e4b63(0x2c7)]=[],this[_0x3e4b63(0x350)]=0x0,this[_0x3e4b63(0x29d)]=0x0,this[_0x3e4b63(0x2ce)]=0x0;}async[_0x59cd08(0x246)](_0x4c209a,_0x4be3d3){const _0x3e5adb=_0x59cd08;for(let _0x2e1b53=0x0;_0x2e1b53<0x1e;_0x2e1b53++)try{if(await this['_getFormulaLimitStatus'](),this[_0x3e5adb(0x193)]()){this[_0x3e5adb(0xe5)](_0x4c209a,_0x4be3d3),this[_0x3e5adb(0x21e)][_0x3e5adb(0x20d)]({'content':this[_0x3e5adb(0x180)]['t'](_0x3e5adb(0x7e)),'type':_0x20f977[_0x3e5adb(0x3ad)][_0x3e5adb(0x34e)]});return;}await new Promise(_0x577275=>{this['_pollingInterval']=window['setTimeout'](_0x577275,0x3e8);});}catch(_0x18451d){this[_0x3e5adb(0x185)][_0x3e5adb(0x363)](_0x18451d);}this[_0x3e5adb(0x21e)][_0x3e5adb(0x20d)]({'content':this[_0x3e5adb(0x180)]['t'](_0x3e5adb(0xea)),'type':_0x20f977[_0x3e5adb(0x3ad)]['Error']});}[_0x59cd08(0xe5)](_0x219012,_0x196cd7){const _0x4f9f0b=_0x59cd08;try{this[_0x4f9f0b(0x202)][_0x4f9f0b(0x391)](_0x219012['id'],_0x219012[_0x4f9f0b(0x1f7)],_0x196cd7);}catch(_0x2c193c){this[_0x4f9f0b(0x185)][_0x4f9f0b(0x363)](_0x2c193c);}}[_0x59cd08(0x36d)](_0x21b14c,_0x3ace4b){const _0x1cc362=_0x59cd08;_0x3ace4b<this[_0x1cc362(0x2ce)]||(this['_lastResponseTimestamp']=_0x3ace4b,this[_0x1cc362(0x29d)]=Number[_0x1cc362(0xe6)](_0x21b14c[_0x1cc362(0x3ba)]),this['_currentUsage']=Number[_0x1cc362(0xe6)](_0x21b14c[_0x1cc362(0x1fe)]));}async['_startCalculationLimit'](_0x16a5b5){const _0x208d4c=_0x59cd08;let _0x4bca54=Date[_0x208d4c(0x36e)]();try{var _0x2fb87b,_0x1eb38e;let _0x1c61e8=((_0x2fb87b=this[_0x208d4c(0x1ba)][_0x208d4c(0x396)](_0x4aca0a[_0x208d4c(0x388)]))==null?void 0x0:_0x2fb87b[_0x208d4c(0x169)])||_0x208d4c(0x348),_0x2524c6=(await this[_0x208d4c(0xfc)]['post'](_0x1c61e8,{'body':JSON[_0x208d4c(0x21f)]({'taskId':_0x16a5b5})}))['body'];if(((_0x1eb38e=_0x2524c6[_0x208d4c(0x363)])==null?void 0x0:_0x1eb38e[_0x208d4c(0x17a)])!==_0x505887[_0x208d4c(0x361)]['OK'])return;this[_0x208d4c(0x36d)](_0x2524c6[_0x208d4c(0x2cc)],_0x4bca54);}catch(_0x384016){this['_logService'][_0x208d4c(0x363)](_0x384016);}}async[_0x59cd08(0x21d)](_0x1b8cbb){const _0x2b5ea0=_0x59cd08;let _0x228ef3=Date[_0x2b5ea0(0x36e)]();try{var _0x1de412,_0x358f90;let _0xe7bbd=((_0x1de412=this['_configService'][_0x2b5ea0(0x396)](_0x4aca0a[_0x2b5ea0(0x388)]))==null?void 0x0:_0x1de412['getFormulaLimitStatusUrl'])||'/universer-api/license/formula/limit/status',_0x1f97d9=_0x1b8cbb?_0xe7bbd+'?taskId='+encodeURIComponent(_0x1b8cbb):_0xe7bbd,_0x8d4d65=(await this['_httpService']['get'](_0x1f97d9))[_0x2b5ea0(0x2fe)];if(((_0x358f90=_0x8d4d65[_0x2b5ea0(0x363)])==null?void 0x0:_0x358f90[_0x2b5ea0(0x17a)])!==_0x505887['ErrorCode']['OK'])return;this[_0x2b5ea0(0x36d)](_0x8d4d65[_0x2b5ea0(0x2cc)],_0x228ef3);}catch(_0x2f1e05){this[_0x2b5ea0(0x185)][_0x2b5ea0(0x363)](_0x2f1e05);}}async['_releaseCalculationLimit'](_0x42b737){const _0x331e2b=_0x59cd08;let _0x541c72=Date[_0x331e2b(0x36e)]();try{var _0x10e369,_0x1a2a3a;let _0x35cfb7=((_0x10e369=this[_0x331e2b(0x1ba)][_0x331e2b(0x396)](_0x4aca0a[_0x331e2b(0x388)]))==null?void 0x0:_0x10e369['releaseFormulaLimitUrl'])||_0x331e2b(0x22d),_0x48f8e6=(await this[_0x331e2b(0xfc)][_0x331e2b(0x312)](_0x35cfb7,{'body':JSON[_0x331e2b(0x21f)]({'taskId':_0x42b737})}))['body'];if(((_0x1a2a3a=_0x48f8e6[_0x331e2b(0x363)])==null?void 0x0:_0x1a2a3a['code'])!==_0x505887[_0x331e2b(0x361)]['OK'])return;this['_setFormulaLimitStatus'](_0x48f8e6['limitInfo'],_0x541c72);}catch(_0x42d5d9){this[_0x331e2b(0x185)][_0x331e2b(0x363)](_0x42d5d9);}}[_0x59cd08(0x193)](){const _0x5a8959=_0x59cd08;return this[_0x5a8959(0x29d)]===0x0?!0x0:this[_0x5a8959(0x29d)]-this[_0x5a8959(0x350)]>0x0;}[_0x59cd08(0x395)](){const _0x67e9b5=_0x59cd08;this[_0x67e9b5(0x32c)]&&(clearTimeout(this['_pollingInterval']),this[_0x67e9b5(0x32c)]=null);}['_showGuardMessage'](){const _0x2a0e7d=_0x59cd08;this[_0x2a0e7d(0x21e)]['show']({'content':this['_localeService']['t'](_0x2a0e7d(0x32e)),'type':_0x20f977[_0x2a0e7d(0x3ad)][_0x2a0e7d(0x342)]});}['_hasFormulaInDirtyRanges'](_0x3ea858){const _0x327b5d=_0x59cd08;for(let _0x1fdba7 of _0x3ea858){let {unitId:_0x1a61e5,sheetId:_0x7e0ca1,range:_0x244c67}=_0x1fdba7,_0x2148e4=this[_0x327b5d(0x1e5)]['getUnit'](_0x1a61e5);if(!_0x2148e4)continue;let _0x158e31=_0x2148e4['getSheetBySheetId'](_0x7e0ca1);if(!_0x158e31)continue;let _0xecdd19=_0x158e31['getCellMatrix']();for(let _0x37d550=_0x244c67['startRow'];_0x37d550<=_0x244c67[_0x327b5d(0x243)];_0x37d550++)for(let _0x595f18=_0x244c67[_0x327b5d(0x132)];_0x595f18<=_0x244c67['endColumn'];_0x595f18++){let _0x1f2d41=_0xecdd19['getValue'](_0x37d550,_0x595f18);if(_0x1f2d41&&((0x0,_0x4615d2[_0x327b5d(0x23c)])(_0x1f2d41['f'])||(0x0,_0x4615d2[_0x327b5d(0x1f3)])(_0x1f2d41['si'])))return!0x0;}}return!0x1;}};_0x38c575=_0x260d11([_0x2eb870(0x0,(0x0,_0x4615d2['Inject'])(_0x4c3c34[_0x59cd08(0x325)])),_0x2eb870(0x1,_0x4615d2[_0x59cd08(0x15e)]),_0x2eb870(0x2,_0x4615d2[_0x59cd08(0x28a)]),_0x2eb870(0x3,(0x0,_0x4615d2[_0x59cd08(0x2b0)])(_0x12e547[_0x59cd08(0x258)])),_0x2eb870(0x4,_0x4615d2[_0x59cd08(0x171)]),_0x2eb870(0x5,_0x4615d2['ILogService']),_0x2eb870(0x6,(0x0,_0x4615d2[_0x59cd08(0x2b0)])(_0x4615d2['LocaleService']))],_0x38c575);let _0x23fe10=class extends _0x4615d2[_0x59cd08(0x326)]{constructor(_0x51cb38,_0x4d790c,_0xc6eebc){const _0x581572=_0x59cd08;super(),this[_0x581572(0x1ba)]=_0x51cb38,this[_0x581572(0xe2)]=_0x4d790c,this[_0x581572(0xfd)]=_0xc6eebc,_0x4dee6d(this,_0x581572(0x115),new Map()),_0x4dee6d(this,_0x581572(0x2aa),new Map()),_0x4dee6d(this,'_disabled',!0x1);}[_0x59cd08(0x199)](){this['_disabled']=!0x0;}['enableLocalCache'](){const _0x30f291=_0x59cd08;this[_0x30f291(0x1d4)]=!0x1;}get[_0x59cd08(0x257)](){const _0x3249ca=_0x59cd08;return this[_0x3249ca(0x2aa)];}['dispose'](){const _0x439db1=_0x59cd08;this[_0x439db1(0x17d)]()['then'](()=>super[_0x439db1(0x223)]());}async['loadOfflineData'](_0x3aa861){const _0xcc3aa1=_0x59cd08;return this[_0xcc3aa1(0x1d4)]?null:this['_localStorageService'][_0xcc3aa1(0x39e)]((0x0,_0x4aca0a['getLocalCacheKey'])(_0x3aa861));}async[_0x59cd08(0x351)](_0x2994b6,_0x52e7e7){const _0x33eb07=_0x59cd08;return!!this[_0x33eb07(0xe2)][_0x33eb07(0x399)]((0x0,_0x4aca0a[_0x33eb07(0x12e)])(_0x2994b6),_0x52e7e7);}async['backupOfflineData'](_0x50800d,_0x63101){const _0xbcdc27=_0x59cd08;var _0x3e05de;let _0x1157dc=(_0x3e05de=this[_0xbcdc27(0x115)][_0xbcdc27(0x99)](_0x50800d))==null?await this[_0xbcdc27(0xe2)][_0xbcdc27(0x39e)]((0x0,_0x4aca0a[_0xbcdc27(0x12e)])(_0x50800d)):_0x3e05de;if(!_0x1157dc)return;let _0x240996=Date[_0xbcdc27(0x36e)](),_0xf8c959=new Date(_0x240996)[_0xbcdc27(0x359)]();await this[_0xbcdc27(0xe2)][_0xbcdc27(0x399)]((0x0,_0x4aca0a[_0xbcdc27(0x12e)])(_0x50800d)+_0xbcdc27(0x31f)+_0x240996,{'reason':_0x63101,'createdAt':_0xf8c959,'data':_0x1157dc});}[_0x59cd08(0x32b)](_0x4259ac,_0x2b5ea1,_0x3177ed,_0x3e74cf){const _0x2dcd26=_0x59cd08;let _0x24ca92=this['_revisionService'][_0x2dcd26(0x7b)](_0x4259ac);this['_cachedData']['set'](_0x4259ac,{'unitID':_0x4259ac,'type':_0x2b5ea1,'awaitingChangeset':_0x3177ed,'mutations':_0x3e74cf,'rev':_0x24ca92}),this[_0x2dcd26(0x2aa)][_0x2dcd26(0x3b1)](_0x4259ac)||this[_0x2dcd26(0x2a0)](_0x4259ac);}[_0x59cd08(0x2a0)](_0x984b19){const _0x37fe68=_0x59cd08;let _0x1eb43d=this[_0x37fe68(0x175)]();_0x1eb43d===0x0?this['_saveCache'](_0x984b19):this[_0x37fe68(0x2aa)][_0x37fe68(0x382)](_0x984b19,window['setTimeout'](()=>this[_0x37fe68(0x3d0)](_0x984b19),_0x1eb43d));}[_0x59cd08(0x175)](){const _0x4a3162=_0x59cd08;var _0x117acb;return(_0x117acb=this[_0x4a3162(0x1ba)][_0x4a3162(0x396)](_0x4aca0a[_0x4a3162(0xd8)]))==null?_0x4aca0a['LOCAL_CACHE_INTERVAL']:_0x117acb;}[_0x59cd08(0x3d0)](_0x2e1b1b){const _0x53e52d=_0x59cd08;let _0x17aca6=this[_0x53e52d(0x2aa)][_0x53e52d(0x99)](_0x2e1b1b);return _0x17aca6!==void 0x0&&window['clearTimeout'](_0x17aca6),this[_0x53e52d(0xe2)][_0x53e52d(0x399)]((0x0,_0x4aca0a[_0x53e52d(0x12e)])(_0x2e1b1b),this[_0x53e52d(0x115)][_0x53e52d(0x99)](_0x2e1b1b))[_0x53e52d(0x3cb)](()=>this[_0x53e52d(0x2aa)][_0x53e52d(0x28b)](_0x2e1b1b));}async[_0x59cd08(0x17d)](){const _0xd0d784=_0x59cd08;let _0x5c19fe=[];this[_0xd0d784(0x2aa)]['forEach']((_0x58ded9,_0x1eb46c)=>{const _0x5e800e=_0xd0d784;window[_0x5e800e(0x8f)](_0x58ded9),_0x5c19fe[_0x5e800e(0x3c3)](this[_0x5e800e(0x3d0)](_0x1eb46c)[_0x5e800e(0x3cb)](()=>{const _0x1976e9=_0x5e800e;this[_0x1976e9(0x2aa)][_0x1976e9(0x28b)](_0x1eb46c);}));}),await Promise[_0xd0d784(0x2c3)](_0x5c19fe);}};_0x23fe10=_0x260d11([_0x2eb870(0x0,_0x4615d2[_0x59cd08(0x28a)]),_0x2eb870(0x1,_0x4615d2[_0x59cd08(0x392)]),_0x2eb870(0x2,(0x0,_0x4615d2[_0x59cd08(0x2b0)])(_0x1208f3['RevisionService']))],_0x23fe10);var _0xd2e133=class extends _0x4615d2[_0x59cd08(0x13f)]{constructor(){const _0x31a7ae=_0x59cd08;super(),_0x4dee6d(this,'urlChange$',void 0x0),this[_0x31a7ae(0x2dd)]=(0x0,_0x5b7526[_0x31a7ae(0x1b3)])(window,'popstate')['pipe']((0x0,_0x5b7526[_0x31a7ae(0xb4)])(this[_0x31a7ae(0xce)]),(0x0,_0x5b7526['shareReplay'])({'bufferSize':0x1,'refCount':!0x0}),(0x0,_0x5b7526[_0x31a7ae(0x262)])(void 0x0));}[_0x59cd08(0x25e)](_0x44b309,_0x510ad3,_0x388036=!0x1){const _0x34cb31=_0x59cd08;let _0x3a364e=new URL(window[_0x34cb31(0xa1)][_0x34cb31(0xe8)]);_0x3a364e[_0x34cb31(0x300)]['set'](_0x44b309,_0x510ad3),_0x388036?window[_0x34cb31(0xd9)][_0x34cb31(0x314)]('','',_0x3a364e['toString']()):window['history'][_0x34cb31(0x2a3)]('','',_0x3a364e[_0x34cb31(0x179)]());}['removeParam'](_0x5cb654,_0x29d289=!0x1){const _0x5ea369=_0x59cd08;let _0x6cac9f=new URL(window[_0x5ea369(0xa1)]['href']);_0x6cac9f[_0x5ea369(0x300)]['delete'](_0x5cb654),_0x29d289?window[_0x5ea369(0xd9)][_0x5ea369(0x314)]('','',_0x6cac9f[_0x5ea369(0x179)]()):window[_0x5ea369(0xd9)]['pushState']('','',_0x6cac9f[_0x5ea369(0x179)]());}[_0x59cd08(0x20a)](_0x5127cd){const _0x30e884=_0x59cd08;var _0xbadc9;return(_0xbadc9=new URL(window['location'][_0x30e884(0xe8)])['searchParams'][_0x30e884(0x99)](_0x5127cd))==null?void 0x0:_0xbadc9;}};let _0x3bacf3=class extends _0x4615d2[_0x59cd08(0xf4)]{constructor(_0x5a3620=_0x2d7efc,_0x48d7e8,_0x41f542,_0x1ce798){const _0x4200c7=_0x59cd08;super(),this[_0x4200c7(0x18d)]=_0x5a3620,this['_renderManagerService']=_0x48d7e8,this['_injector']=_0x41f542,this[_0x4200c7(0x1ba)]=_0x1ce798;let {..._0x5b74b4}=(0x0,_0x4615d2['merge'])({},_0x2d7efc,this['_config']);this[_0x4200c7(0x1ba)][_0x4200c7(0x267)](_0x4200c7(0x36c),_0x5b74b4);}[_0x59cd08(0xbd)](){const _0x15ce13=_0x59cd08;this[_0x15ce13(0x142)](),this[_0x15ce13(0x3c8)]();}['onRendered'](){const _0x12db7f=_0x59cd08;this[_0x12db7f(0xca)]();}[_0x59cd08(0x142)](){const _0x51003b=_0x59cd08;var _0x1f1b0b;let _0x1c8ac7=[[_0x522a9b],[_0x38c575],[_0x56e2a2,{'useClass':_0xd2e133}],[_0x12e547[_0x51003b(0x7a)],{'useClass':_0x12e547['WebSocketService']}],[_0x4aca0a[_0x51003b(0xdc)],{'useClass':_0x23fe10}],[_0x4f286b],[_0x5ee193],[_0x38c34b],[_0x4da5d5],[_0x34434d],[_0x165f7d]];this[_0x51003b(0x18d)][_0x51003b(0x2c2)]!==!0x1&&_0x1c8ac7[_0x51003b(0x3c3)]([_0x2a881f],[_0x2dcbbe],[_0x4b641b],[_0x410673],[_0x5629d9],[_0x43f45d]),this[_0x51003b(0x18d)]['enableFrontendLog']&&_0x1c8ac7[_0x51003b(0x3c3)]([_0x224c71]),(0x0,_0x4615d2[_0x51003b(0x14e)])(this[_0x51003b(0x33b)],(0x0,_0x4615d2[_0x51003b(0x287)])(_0x1c8ac7,(_0x1f1b0b=this['_config'])==null?void 0x0:_0x1f1b0b[_0x51003b(0x11b)]));}[_0x59cd08(0xca)](){const _0x2a8db7=_0x59cd08;this[_0x2a8db7(0x18d)][_0x2a8db7(0x2c2)]!==!0x1&&this[_0x2a8db7(0x183)](this['_renderManagerService']['registerRenderModule'](_0x4615d2[_0x2a8db7(0x172)]['UNIVER_DOC'],[_0x4ac66d])),this[_0x2a8db7(0x183)](this[_0x2a8db7(0x10c)][_0x2a8db7(0x317)](_0x4615d2[_0x2a8db7(0x172)][_0x2a8db7(0x1e3)],[_0x1e335b])),this[_0x2a8db7(0x183)](this[_0x2a8db7(0x10c)]['registerRenderModule'](_0x4615d2[_0x2a8db7(0x172)][_0x2a8db7(0x2ef)],[_0xa278])),this['disposeWithMe'](this[_0x2a8db7(0x10c)][_0x2a8db7(0x317)](_0x4615d2[_0x2a8db7(0x172)][_0x2a8db7(0xdf)],[_0x4f1717]));}['_initDependencies'](){const _0x357c80=_0x59cd08;(0x0,_0x4615d2[_0x357c80(0x3d6)])(this[_0x357c80(0x33b)],[[_0x4da5d5],[_0x4f286b],[_0x5ee193],[_0x38c34b],[_0x34434d],[_0x38c575],[_0x165f7d]]),this[_0x357c80(0x18d)][_0x357c80(0x2c2)]!==!0x1&&(0x0,_0x4615d2[_0x357c80(0x3d6)])(this[_0x357c80(0x33b)],[[_0x5629d9],[_0x43f45d]]),this['_config'][_0x357c80(0x204)]&&(0x0,_0x4615d2[_0x357c80(0x3d6)])(this[_0x357c80(0x33b)],[[_0x224c71]]);}};_0x4dee6d(_0x3bacf3,_0x59cd08(0x19e),_0x59cd08(0x1b0)),_0x4dee6d(_0x3bacf3,'packageName',_0x1b5d57),_0x4dee6d(_0x3bacf3,_0x59cd08(0x2ea),_0x4e97cd),_0x3bacf3=_0x260d11([(0x0,_0x4615d2[_0x59cd08(0x1e9)])(_0x4aca0a[_0x59cd08(0x215)]),_0x2eb870(0x1,_0x1891a4['IRenderManagerService']),_0x2eb870(0x2,(0x0,_0x4615d2[_0x59cd08(0x2b0)])(_0x4615d2[_0x59cd08(0x13d)])),_0x2eb870(0x3,_0x4615d2[_0x59cd08(0x28a)])],_0x3bacf3);let _0x48b295=class extends _0x4aca0a['CollaborationSocketService']{constructor(_0x2a164d,_0x36594f,_0x62c513,_0x4521d8,_0x3fe6f1){super(_0x2a164d,_0x36594f,_0x62c513,_0x4521d8,_0x3fe6f1);}async['createSocket'](_0x5b0804){const _0x4c4112=_0x59cd08;let _0x511337=await this['_getSessionTicket'](),_0x1dc11b=this[_0x4c4112(0x260)](_0x5b0804,_0x511337);return this[_0x4c4112(0x8b)](_0x1dc11b);}[_0x59cd08(0x260)](_0x50b779,_0x3181fc){const _0x1c8ebc=_0x59cd08;let _0x39278d=typeof window>'u'?new URL(_0x50b779):new URL(_0x50b779,window[_0x1c8ebc(0xa1)][_0x1c8ebc(0xb6)]);_0x39278d['searchParams'][_0x1c8ebc(0x382)](_0x1c8ebc(0x266),_0x3181fc);let _0xb8cd6=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location'][_0x1c8ebc(0x269)]);return _0xb8cd6['get'](_0x1c8ebc(0x1d9))&&_0x39278d[_0x1c8ebc(0x300)][_0x1c8ebc(0x382)](_0x1c8ebc(0x1d9),_0xb8cd6[_0x1c8ebc(0x99)]('runId')),_0x39278d[_0x1c8ebc(0x179)]();}async[_0x59cd08(0x196)](){const _0x3a16a1=_0x59cd08;var _0x1f442b,_0x2cf7b8,_0x1a4d18;let _0x2cdb56=this['_configService']['getConfig'](_0x4aca0a[_0x3a16a1(0x388)]),_0x4f76b1=(_0x1f442b=_0x2cdb56==null?void 0x0:_0x2cdb56[_0x3a16a1(0x308)])==null?_0x4aca0a['DEFAULT_WS_SESSION_TICKET_URL']:_0x1f442b;return(_0x2cf7b8=(_0x1a4d18=(await this['_httpService'][_0x3a16a1(0x99)](_0x4f76b1,{'headers':{'Content-Type':_0x3a16a1(0x330)}}))[_0x3a16a1(0x2fe)])==null?void 0x0:_0x1a4d18[_0x3a16a1(0x1a5)])==null?'':_0x2cf7b8;}};_0x48b295=_0x260d11([_0x2eb870(0x0,(0x0,_0x4615d2[_0x59cd08(0x2b0)])(_0x4615d2[_0x59cd08(0x13d)])),_0x2eb870(0x1,(0x0,_0x4615d2[_0x59cd08(0x2b0)])(_0x12e547[_0x59cd08(0x258)])),_0x2eb870(0x2,_0x4615d2[_0x59cd08(0x28a)]),_0x2eb870(0x3,_0x4615d2[_0x59cd08(0x292)]),_0x2eb870(0x4,_0x1208f3[_0x59cd08(0x3c1)])],_0x48b295);let _0x4b31de=class extends _0x4615d2['Disposable']{constructor(_0x11e52c,_0x2e54d8,_0x29cafb){const _0x47e294=_0x59cd08;super(),this[_0x47e294(0x1ed)]=_0x11e52c,this[_0x47e294(0xfc)]=_0x2e54d8,this[_0x47e294(0x1ba)]=_0x29cafb;}async['runOnServer'](_0x4a777c,_0xd6d7f1,_0x2cf128,..._0x19d7ab){const _0x440512=_0x59cd08;var _0x1d77f9,_0x49eb17,_0x5364f2,_0x54bae5;let _0x2e80b0=this[_0x440512(0x1ed)][_0x440512(0x143)]();if(!_0x2e80b0)throw Error(_0x440512(0x24e));let _0x327053=((_0x1d77f9=this['_configService'][_0x440512(0x396)](_0x4aca0a['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']))==null?_0x4aca0a[_0x440512(0x36f)]:_0x1d77f9)+'/'+_0x4a777c+'/run/'+_0xd6d7f1,_0x30cb40={'scriptId':_0x4a777c,'runId':(_0x49eb17=new URL(window['location']['href'])[_0x440512(0x300)][_0x440512(0x99)](_0x440512(0x1d9)))==null?'':_0x49eb17,'function':_0xd6d7f1,'unitId':_0x2e80b0[_0x440512(0x165)](),'argsOfFunction':JSON[_0x440512(0x21f)](_0x19d7ab),'invokeId':(_0x5364f2=_0x2cf128[_0x440512(0x2bd)])==null?'':_0x5364f2,'executionId':(_0x54bae5=_0x2cf128[_0x440512(0x319)])==null?'':_0x54bae5};try{let _0x14eb8a=await this[_0x440512(0xfc)]['post'](_0x327053,{'body':_0x30cb40});return _0x14eb8a[_0x440512(0x2fe)][_0x440512(0x363)]&&_0x14eb8a[_0x440512(0x2fe)]['error'][_0x440512(0x17a)]!==_0x505887[_0x440512(0x361)]['OK']?'Failed':_0x14eb8a[_0x440512(0x2fe)][_0x440512(0xeb)];}catch{return _0x440512(0x37f);}}};_0x4b31de=_0x260d11([_0x2eb870(0x0,_0x4615d2['IUniverInstanceService']),_0x2eb870(0x1,(0x0,_0x4615d2[_0x59cd08(0x2b0)])(_0x12e547['HTTPService'])),_0x2eb870(0x2,_0x4615d2[_0x59cd08(0x28a)])],_0x4b31de);let _0x3c510b=0x7530,_0x431356='ACTIVE_UNIT_EVENT_CHANNEL';var _0x1b2368=class extends _0x4615d2[_0x59cd08(0x326)]{constructor(){const _0x4b6803=_0x59cd08;super(),_0x4dee6d(this,_0x4b6803(0x3b5),(0x0,_0x4615d2['generateRandomId'])()),_0x4dee6d(this,_0x4b6803(0x343),new Set()),_0x4dee6d(this,_0x4b6803(0x394),new Map()),_0x4dee6d(this,_0x4b6803(0x2ca),null),_0x4dee6d(this,_0x4b6803(0x33d),new Map()),_0x4dee6d(this,'_unitStatus',new Map()),this[_0x4b6803(0x208)]();}[_0x59cd08(0x223)](){const _0x3240f0=_0x59cd08;super[_0x3240f0(0x223)](),this[_0x3240f0(0x33d)]['forEach']((_0x5c064d,_0x4ac7c5)=>this[_0x3240f0(0x3d1)](_0x4ac7c5)),this[_0x3240f0(0x2ca)]&&window[_0x3240f0(0x33e)](this[_0x3240f0(0x2ca)]);}['getUnitStatus$'](_0x30b833){const _0xb63eba=_0x59cd08;return this[_0xb63eba(0x191)](_0x30b833)['pipe']((0x0,_0x5b7526[_0xb63eba(0x328)])());}['editingUnit'](_0x3f84b2){const _0x397bb5=_0x59cd08;this[_0x397bb5(0x343)]['size']===0x0&&this[_0x397bb5(0x263)](),this[_0x397bb5(0x343)][_0x397bb5(0x145)](_0x3f84b2),this[_0x397bb5(0xcf)]({'type':0x0,'memberID':this[_0x397bb5(0x3b5)],'unitIDs':[_0x3f84b2],'isForwarded':!0x1});}[_0x59cd08(0x3bf)](_0x2d3bc6){const _0x1b44b3=_0x59cd08;this[_0x1b44b3(0x343)][_0x1b44b3(0x28b)](_0x2d3bc6),this[_0x1b44b3(0x343)][_0x1b44b3(0x9d)]===0x0&&this['_heartbeatTimer']&&window[_0x1b44b3(0x33e)](this[_0x1b44b3(0x2ca)]);}[_0x59cd08(0x208)](){const _0x25bf80=_0x59cd08;this[_0x25bf80(0x183)]((0x0,_0x4615d2[_0x25bf80(0x293)])((0x0,_0x5b7526[_0x25bf80(0x1b3)])(window,_0x25bf80(0xc5))[_0x25bf80(0x248)](_0xce7c90=>{const _0x3bfa73=_0x25bf80;if(_0xce7c90[_0x3bfa73(0x190)]!==_0x431356||!_0xce7c90[_0x3bfa73(0x184)])return;let _0x5bf100=JSON[_0x3bfa73(0x1fc)](_0xce7c90[_0x3bfa73(0x184)]);this[_0x3bfa73(0x144)](_0x5bf100);}))),window[_0x25bf80(0x285)](_0x25bf80(0x14a),()=>this['_send']({'type':0x1,'memberID':this[_0x25bf80(0x3b5)],'unitIDs':Array[_0x25bf80(0x22b)](this[_0x25bf80(0x343)])}));}[_0x59cd08(0x144)](_0xf8e839){const _0x4ee9fc=_0x59cd08;switch(_0xf8e839[_0x4ee9fc(0x255)]){case 0x0:this['_handleJoinEvent'](_0xf8e839);break;case 0x1:this[_0x4ee9fc(0xa8)](_0xf8e839);break;case 0x2:this[_0x4ee9fc(0x206)](_0xf8e839);break;}}[_0x59cd08(0x138)](_0x547cde){const _0x3e2d63=_0x59cd08;let {unitIDs:_0x100105,memberID:_0x52e9ab,isForwarded:_0xb9c717}=_0x547cde;_0x100105[_0x3e2d63(0x23d)](_0x7ef726=>{const _0x34e4d8=_0x3e2d63;if(!_0xb9c717&&this[_0x34e4d8(0x394)][_0x34e4d8(0x3b1)](_0x7ef726)&&this[_0x34e4d8(0x191)](_0x7ef726)[_0x34e4d8(0x20f)](_0x4aca0a[_0x34e4d8(0x129)]['OTHER_CLIENTS_EDITING']),!this[_0x34e4d8(0x394)]['has'](_0x7ef726)||!this[_0x34e4d8(0x394)]['get'](_0x7ef726)['has'](_0x52e9ab)){let _0x32f51d=this[_0x34e4d8(0x394)][_0x34e4d8(0x99)](_0x7ef726)||new Set();_0x32f51d['add'](_0x52e9ab),this[_0x34e4d8(0x394)][_0x34e4d8(0x382)](_0x7ef726,_0x32f51d),this['_scheduleClearOtherTimer'](_0x52e9ab);}}),_0xb9c717||this[_0x3e2d63(0xcf)]({'type':0x0,'memberID':this[_0x3e2d63(0x3b5)],'unitIDs':[...this[_0x3e2d63(0x343)]],'isForwarded':!0x0});}[_0x59cd08(0x15b)](_0x3ff799){const _0x1d3416=_0x59cd08;this[_0x1d3416(0x3d1)](_0x3ff799);let _0xd642d3=window['setTimeout'](()=>{const _0x7dc352=_0x1d3416;this[_0x7dc352(0x394)][_0x7dc352(0x23d)](_0x4857f5=>{const _0x361d26=_0x7dc352;_0x4857f5[_0x361d26(0x28b)](_0x3ff799);});},_0x3c510b*0x2);this[_0x1d3416(0x33d)][_0x1d3416(0x382)](_0x3ff799,_0xd642d3);}[_0x59cd08(0x3d1)](_0x352983){const _0x2606cb=_0x59cd08;if(this[_0x2606cb(0x33d)][_0x2606cb(0x3b1)](_0x352983)){let _0x2e38cf=this['_clearOtherTimers'][_0x2606cb(0x99)](_0x352983);_0x2e38cf&&window['clearTimeout'](_0x2e38cf),this[_0x2606cb(0x33d)][_0x2606cb(0x382)](_0x352983,null);}}[_0x59cd08(0xa8)](_0x4a1d76){const _0x5af56a=_0x59cd08;let {memberID:_0xdd725,unitIDs:_0x126d6f}=_0x4a1d76;_0x126d6f[_0x5af56a(0x23d)](_0x1af0f4=>{const _0x32dc85=_0x5af56a;var _0x1f4ebf;let _0x19ff3a=this[_0x32dc85(0x394)][_0x32dc85(0x99)](_0x1af0f4);_0x19ff3a&&(_0x19ff3a[_0x32dc85(0x28b)](_0xdd725),(_0x1f4ebf=this['_ensureSubject'](_0x1af0f4))==null||_0x1f4ebf[_0x32dc85(0x20f)](_0x19ff3a[_0x32dc85(0x9d)]===0x0?_0x4aca0a[_0x32dc85(0x129)][_0x32dc85(0xad)]:_0x4aca0a[_0x32dc85(0x129)]['OTHER_CLIENTS_EDITING']));}),this['_removeClearOtherTimer'](_0xdd725);}[_0x59cd08(0x206)](_0x59856a){const _0x540eaa=_0x59cd08;this['_scheduleClearOtherTimer'](_0x59856a[_0x540eaa(0x1bc)]);}['_send'](_0x10bfd0){const _0x1d04ba=_0x59cd08;localStorage[_0x1d04ba(0x399)](_0x431356,JSON['stringify'](_0x10bfd0));}['_scheduleHeartbeat'](){const _0x446dce=_0x59cd08;this[_0x446dce(0x2ca)]=window[_0x446dce(0x18a)](()=>{const _0x4abd9f=_0x446dce;this[_0x4abd9f(0xcf)]({'type':0x2,'memberID':this['_id']});},_0x3c510b);}[_0x59cd08(0x191)](_0x2e4af0){const _0x5e045b=_0x59cd08;return this['_unitStatus'][_0x5e045b(0x3b1)](_0x2e4af0)||this[_0x5e045b(0x2b1)][_0x5e045b(0x382)](_0x2e4af0,new _0x5b7526[(_0x5e045b(0x24f))](_0x4aca0a[_0x5e045b(0x129)][_0x5e045b(0xad)])),this[_0x5e045b(0x2b1)][_0x5e045b(0x99)](_0x2e4af0);}};Object[_0x59cd08(0x2c1)](_0x571ec4,_0x59cd08(0x148),{'enumerable':!0x0,'get':function(){return _0x48b295;}}),Object[_0x59cd08(0x2c1)](_0x571ec4,'DesktopCollaborationStatusDisplayController',{'enumerable':!0x0,'get':function(){return _0x4f286b;}}),_0x571ec4['IURLService']=_0x56e2a2,Object[_0x59cd08(0x2c1)](_0x571ec4,'RemoteUniscriptService',{'enumerable':!0x0,'get':function(){return _0x4b31de;}}),_0x571ec4[_0x59cd08(0xba)]=_0x1f1da5,Object[_0x59cd08(0x2c1)](_0x571ec4,_0x59cd08(0x3a4),{'enumerable':!0x0,'get':function(){return _0x3bacf3;}}),_0x571ec4[_0x59cd08(0x26b)]=_0x1b2368;}));
|