@univerjs-pro/collaboration-client-ui 1.0.0-alpha.5 → 1.0.0-alpha.7

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.
Files changed (85) hide show
  1. package/lib/cjs/facade.js +1 -1
  2. package/lib/cjs/index.js +1 -1
  3. package/lib/cjs/locale/ar-SA.js +1 -1
  4. package/lib/cjs/locale/ca-ES.js +1 -1
  5. package/lib/cjs/locale/de-DE.js +1 -1
  6. package/lib/cjs/locale/en-US.js +1 -1
  7. package/lib/cjs/locale/es-ES.js +1 -1
  8. package/lib/cjs/locale/fa-IR.js +1 -1
  9. package/lib/cjs/locale/fr-FR.js +1 -1
  10. package/lib/cjs/locale/id-ID.js +1 -1
  11. package/lib/cjs/locale/it-IT.js +1 -1
  12. package/lib/cjs/locale/ja-JP.js +1 -1
  13. package/lib/cjs/locale/ko-KR.js +1 -1
  14. package/lib/cjs/locale/pl-PL.js +1 -1
  15. package/lib/cjs/locale/pt-BR.js +1 -1
  16. package/lib/cjs/locale/ru-RU.js +1 -1
  17. package/lib/cjs/locale/sk-SK.js +1 -1
  18. package/lib/cjs/locale/vi-VN.js +1 -1
  19. package/lib/cjs/locale/zh-CN.js +1 -1
  20. package/lib/cjs/locale/zh-HK.js +1 -1
  21. package/lib/cjs/locale/zh-TW.js +1 -1
  22. package/lib/es/facade.js +1 -1
  23. package/lib/es/index.js +1 -1
  24. package/lib/es/locale/ar-SA.js +1 -1
  25. package/lib/es/locale/ca-ES.js +1 -1
  26. package/lib/es/locale/de-DE.js +1 -1
  27. package/lib/es/locale/en-US.js +1 -1
  28. package/lib/es/locale/es-ES.js +1 -1
  29. package/lib/es/locale/fa-IR.js +1 -1
  30. package/lib/es/locale/fr-FR.js +1 -1
  31. package/lib/es/locale/id-ID.js +1 -1
  32. package/lib/es/locale/it-IT.js +1 -1
  33. package/lib/es/locale/ja-JP.js +1 -1
  34. package/lib/es/locale/ko-KR.js +1 -1
  35. package/lib/es/locale/pl-PL.js +1 -1
  36. package/lib/es/locale/pt-BR.js +1 -1
  37. package/lib/es/locale/ru-RU.js +1 -1
  38. package/lib/es/locale/sk-SK.js +1 -1
  39. package/lib/es/locale/vi-VN.js +1 -1
  40. package/lib/es/locale/zh-CN.js +1 -1
  41. package/lib/es/locale/zh-HK.js +1 -1
  42. package/lib/es/locale/zh-TW.js +1 -1
  43. package/lib/facade.js +1 -1
  44. package/lib/index.js +1 -1
  45. package/lib/locale/ar-SA.js +1 -1
  46. package/lib/locale/ca-ES.js +1 -1
  47. package/lib/locale/de-DE.js +1 -1
  48. package/lib/locale/en-US.js +1 -1
  49. package/lib/locale/es-ES.js +1 -1
  50. package/lib/locale/fa-IR.js +1 -1
  51. package/lib/locale/fr-FR.js +1 -1
  52. package/lib/locale/id-ID.js +1 -1
  53. package/lib/locale/it-IT.js +1 -1
  54. package/lib/locale/ja-JP.js +1 -1
  55. package/lib/locale/ko-KR.js +1 -1
  56. package/lib/locale/pl-PL.js +1 -1
  57. package/lib/locale/pt-BR.js +1 -1
  58. package/lib/locale/ru-RU.js +1 -1
  59. package/lib/locale/sk-SK.js +1 -1
  60. package/lib/locale/vi-VN.js +1 -1
  61. package/lib/locale/zh-CN.js +1 -1
  62. package/lib/locale/zh-HK.js +1 -1
  63. package/lib/locale/zh-TW.js +1 -1
  64. package/lib/umd/facade.js +1 -1
  65. package/lib/umd/index.js +1 -1
  66. package/lib/umd/locale/ar-SA.js +1 -1
  67. package/lib/umd/locale/ca-ES.js +1 -1
  68. package/lib/umd/locale/de-DE.js +1 -1
  69. package/lib/umd/locale/en-US.js +1 -1
  70. package/lib/umd/locale/es-ES.js +1 -1
  71. package/lib/umd/locale/fa-IR.js +1 -1
  72. package/lib/umd/locale/fr-FR.js +1 -1
  73. package/lib/umd/locale/id-ID.js +1 -1
  74. package/lib/umd/locale/it-IT.js +1 -1
  75. package/lib/umd/locale/ja-JP.js +1 -1
  76. package/lib/umd/locale/ko-KR.js +1 -1
  77. package/lib/umd/locale/pl-PL.js +1 -1
  78. package/lib/umd/locale/pt-BR.js +1 -1
  79. package/lib/umd/locale/ru-RU.js +1 -1
  80. package/lib/umd/locale/sk-SK.js +1 -1
  81. package/lib/umd/locale/vi-VN.js +1 -1
  82. package/lib/umd/locale/zh-CN.js +1 -1
  83. package/lib/umd/locale/zh-HK.js +1 -1
  84. package/lib/umd/locale/zh-TW.js +1 -1
  85. package/package.json +21 -21
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(_0x3840f9,_0x4c21ad){const _0x595b94=_0x3560,_0x34761e=_0x3840f9();while(!![]){try{const _0x510c13=parseInt(_0x595b94(0x234))/0x1*(-parseInt(_0x595b94(0x32b))/0x2)+parseInt(_0x595b94(0x2d3))/0x3*(parseInt(_0x595b94(0x36e))/0x4)+-parseInt(_0x595b94(0x262))/0x5*(-parseInt(_0x595b94(0x197))/0x6)+parseInt(_0x595b94(0x1e4))/0x7+-parseInt(_0x595b94(0x19a))/0x8*(parseInt(_0x595b94(0x362))/0x9)+-parseInt(_0x595b94(0x48d))/0xa+parseInt(_0x595b94(0x3b7))/0xb;if(_0x510c13===_0x4c21ad)break;else _0x34761e['push'](_0x34761e['shift']());}catch(_0x5071e1){_0x34761e['push'](_0x34761e['shift']());}}}(_0x5654,0x3153d),function(_0x29684a,_0x210bb9){const _0x2a308a=_0x3560;typeof exports==_0x2a308a(0x416)&&typeof module<'u'?_0x210bb9(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==_0x2a308a(0x489)&&define[_0x2a308a(0x3b5)]?define(['exports',_0x2a308a(0x491),_0x2a308a(0x278),_0x2a308a(0x237),_0x2a308a(0x252),_0x2a308a(0x486),_0x2a308a(0x3b3),_0x2a308a(0x1bb),_0x2a308a(0x1d3),'react/jsx-runtime',_0x2a308a(0x1c8),_0x2a308a(0x287),'@univerjs/docs-ui','@univerjs-pro/collaboration',_0x2a308a(0x399),_0x2a308a(0x213),_0x2a308a(0x227),'@univerjs-pro/slides-ui','@univerjs/sheets-ui',_0x2a308a(0x409),_0x2a308a(0x294)],_0x210bb9):(_0x29684a=typeof globalThis<'u'?globalThis:_0x29684a||self,_0x210bb9(_0x29684a[_0x2a308a(0x46f)]={},_0x29684a[_0x2a308a(0x39d)],_0x29684a[_0x2a308a(0x4cd)],_0x29684a[_0x2a308a(0x2e0)],_0x29684a[_0x2a308a(0x488)],_0x29684a[_0x2a308a(0x486)],_0x29684a[_0x2a308a(0x486)][_0x2a308a(0x1db)],_0x29684a[_0x2a308a(0x317)],_0x29684a['React'],_0x29684a[_0x2a308a(0x457)],_0x29684a[_0x2a308a(0x25b)],_0x29684a[_0x2a308a(0x496)],_0x29684a[_0x2a308a(0x3de)],_0x29684a[_0x2a308a(0x198)],_0x29684a['UniverDocs'],_0x29684a['UniverEngineFormula'],_0x29684a[_0x2a308a(0x253)],_0x29684a[_0x2a308a(0x4b8)],_0x29684a['UniverSheetsUi'],_0x29684a[_0x2a308a(0x46e)],_0x29684a[_0x2a308a(0x439)]));}(this,function(_0x288673,_0x199609,_0x289c2c,_0x3378d6,_0x4dab43,_0x5515fe,_0x18241c,_0x472933,_0x477dc2,_0x2d4a70,_0x21620d,_0x301182,_0xe8b960,_0x518a46,_0x904e3,_0x4599c2,_0x277df0,_0x524d80,_0x4fe045,_0x418f3f,_0x6c7a){const _0x470848=_0x3560;Object[_0x470848(0x3f4)](_0x288673,Symbol[_0x470848(0x2f2)],{'value':_0x470848(0x483)});function _0xf61d2c({ref:_0x151ed4,..._0x2fff91}){const _0x1b7b33=_0x470848;let {icon:_0x172aac,id:_0x3965ed,className:_0x18837b,extend:_0x441704,..._0x408dca}=_0x2fff91,_0x32ee62=('univerjs-icon\x20univerjs-icon-'+_0x3965ed+'\x20'+(_0x18837b||''))['trim'](),_0xdc328d=(0x0,_0x477dc2['useRef'])('_'+_0x40e54e());return _0x50b086(_0x172aac,''+_0x3965ed,{'defIds':_0x172aac[_0x1b7b33(0x1e1)],'idSuffix':_0xdc328d[_0x1b7b33(0x1ca)]},{'ref':_0x151ed4,'className':_0x32ee62,..._0x408dca},_0x441704);}function _0x50b086(_0x4b5301,_0x149b6a,_0xe644c,_0x50f7e8,_0x4d1cb7){const _0x994ba3=_0x470848;return(0x0,_0x477dc2['createElement'])(_0x4b5301['tag'],{'key':_0x149b6a,..._0x3383d9(_0x4b5301,_0xe644c,_0x4d1cb7),..._0x50f7e8},(_0x494106(_0x4b5301,_0xe644c)[_0x994ba3(0x208)]||[])[_0x994ba3(0x40f)]((_0xb07a5e,_0xde16d7)=>_0x50b086(_0xb07a5e,_0x149b6a+'-'+_0x4b5301[_0x994ba3(0x232)]+'-'+_0xde16d7,_0xe644c,void 0x0,_0x4d1cb7)));}function _0x3383d9(_0x1cfef5,_0x2a5601,_0x10fb5d){const _0xf8a0f1=_0x470848;let _0x2ec49f={..._0x1cfef5[_0xf8a0f1(0x17e)]};_0x10fb5d!=null&&_0x10fb5d[_0xf8a0f1(0x424)]&&_0x2ec49f['fill']===_0xf8a0f1(0x424)&&(_0x2ec49f[_0xf8a0f1(0x478)]=_0x10fb5d[_0xf8a0f1(0x424)]),_0x10fb5d!=null&&_0x10fb5d[_0xf8a0f1(0x424)]&&_0x2ec49f[_0xf8a0f1(0x353)]===_0xf8a0f1(0x424)&&(_0x2ec49f['stroke']=_0x10fb5d[_0xf8a0f1(0x424)]),_0x1cfef5['tag']===_0xf8a0f1(0x484)&&_0x2ec49f['id']&&(_0x2ec49f['id']+=_0x2a5601[_0xf8a0f1(0x3bb)]),Object[_0xf8a0f1(0x2dd)](_0x2ec49f)[_0xf8a0f1(0x315)](([_0x5667b8,_0x52e895])=>{const _0x551960=_0xf8a0f1;_0x5667b8===_0x551960(0x484)&&typeof _0x52e895==_0x551960(0x245)&&(_0x2ec49f[_0x5667b8]=_0x52e895[_0x551960(0x2aa)](/url\(#(.*)\)/,'url(#$1'+_0x2a5601[_0x551960(0x3bb)]+')'));});let {defIds:_0x37e736}=_0x2a5601;return!_0x37e736||_0x37e736[_0xf8a0f1(0x254)]===0x0?_0x2ec49f:(_0x1cfef5[_0xf8a0f1(0x232)]===_0xf8a0f1(0x23a)&&_0x2ec49f[_0xf8a0f1(0x37f)]&&(_0x2ec49f[_0xf8a0f1(0x37f)]+=_0x2a5601['idSuffix']),Object[_0xf8a0f1(0x2dd)](_0x2ec49f)['forEach'](([_0x255cab,_0x28737f])=>{const _0x476576=_0xf8a0f1;typeof _0x28737f==_0x476576(0x245)&&(_0x2ec49f[_0x255cab]=_0x28737f[_0x476576(0x2aa)](/url\(#(.*)\)/,_0x476576(0x43e)+_0x2a5601[_0x476576(0x3bb)]+')'));}),_0x2ec49f);}function _0x494106(_0x66349f,_0x55a324){const _0x3db146=_0x470848;var _0x4447e8;let {defIds:_0x148797}=_0x55a324;return!_0x148797||_0x148797['length']===0x0?_0x66349f:_0x66349f[_0x3db146(0x232)]===_0x3db146(0x2d9)&&(_0x4447e8=_0x66349f['children'])!=null&&_0x4447e8[_0x3db146(0x254)]?{..._0x66349f,'children':_0x66349f['children'][_0x3db146(0x40f)](_0x54d32f=>typeof _0x54d32f[_0x3db146(0x17e)]['id']=='string'&&_0x148797&&_0x148797['includes'](_0x54d32f[_0x3db146(0x17e)]['id'])?{..._0x54d32f,'attrs':{..._0x54d32f[_0x3db146(0x17e)],'id':_0x54d32f['attrs']['id']+_0x55a324[_0x3db146(0x3bb)]}}:_0x54d32f)}:_0x66349f;}function _0x40e54e(){const _0x2a0a45=_0x470848;return Math[_0x2a0a45(0x327)]()[_0x2a0a45(0x31f)](0x24)[_0x2a0a45(0x22b)](0x2,0x8);}_0xf61d2c[_0x470848(0x25a)]=_0x470848(0x34c);let _0x491331={'tag':_0x470848(0x3df),'attrs':{'xmlns':_0x470848(0x1fa),'fill':_0x470848(0x36d),'viewBox':_0x470848(0x3a3),'width':'1em','height':_0x470848(0x18d)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-icon_clip0_910_343)'},'children':[{'tag':_0x470848(0x453),'attrs':{'stroke':_0x470848(0x2a4),'d':_0x470848(0x292),'strokeLinecap':'round','strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x470848(0x2d9),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x470848(0x391)},'children':[{'tag':_0x470848(0x453),'attrs':{'fill':_0x470848(0x271),'d':_0x470848(0x2ff)}}]}]}],'defIds':[_0x470848(0x391)]},_0x4525e8=(0x0,_0x477dc2[_0x470848(0x2fa)])(function(_0x1e616a,_0x1093ef){const _0x12f917=_0x470848;return(0x0,_0x477dc2[_0x12f917(0x218)])(_0xf61d2c,Object[_0x12f917(0x480)]({},_0x1e616a,{'id':'off-line-icon','ref':_0x1093ef,'icon':_0x491331}));});_0x4525e8[_0x470848(0x25a)]=_0x470848(0x367);let _0x25d82a={'tag':_0x470848(0x3df),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x470848(0x36d),'viewBox':_0x470848(0x26a),'width':_0x470848(0x18d),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':_0x470848(0x453),'attrs':{'stroke':_0x470848(0x2a4),'d':'M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','strokeLinecap':_0x470848(0x365),'strokeLinejoin':_0x470848(0x365),'strokeWidth':1.2}}]},{'tag':_0x470848(0x2d9),'attrs':{},'children':[{'tag':_0x470848(0x4ce),'attrs':{'id':_0x470848(0x40b)},'children':[{'tag':_0x470848(0x453),'attrs':{'fill':_0x470848(0x271),'d':_0x470848(0x2ff),'transform':_0x470848(0x35d)}}]}]}],'defIds':[_0x470848(0x40b)]},_0x32b485=(0x0,_0x477dc2[_0x470848(0x2fa)])(function(_0x1a22e8,_0x5b4530){const _0x52de87=_0x470848;return(0x0,_0x477dc2['createElement'])(_0xf61d2c,Object[_0x52de87(0x480)]({},_0x1a22e8,{'id':_0x52de87(0x2c0),'ref':_0x5b4530,'icon':_0x25d82a}));});_0x32b485[_0x470848(0x25a)]=_0x470848(0x177);let _0x57fe21={'tag':_0x470848(0x3df),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x470848(0x36d),'viewBox':'0\x200\x2016\x2016','width':'1em','height':'1em'},'children':[{'tag':_0x470848(0x453),'attrs':{'fill':'currentColor','d':_0x470848(0x26c),'fillRule':_0x470848(0x268),'clipRule':_0x470848(0x268)}}]},_0x4f71da=(0x0,_0x477dc2[_0x470848(0x2fa)])(function(_0xfb2399,_0xd58bc2){const _0x2727eb=_0x470848;return(0x0,_0x477dc2[_0x2727eb(0x218)])(_0xf61d2c,Object[_0x2727eb(0x480)]({},_0xfb2399,{'id':_0x2727eb(0x1cd),'ref':_0xd58bc2,'icon':_0x57fe21}));});_0x4f71da[_0x470848(0x25a)]=_0x470848(0x473);let _0x590a66={'tag':_0x470848(0x3df),'attrs':{'xmlns':_0x470848(0x1fa),'fill':'none','viewBox':_0x470848(0x3a3),'width':_0x470848(0x18d),'height':_0x470848(0x18d)},'children':[{'tag':_0x470848(0x453),'attrs':{'fill':_0x470848(0x351),'d':_0x470848(0x363),'fillOpacity':0.2,'fillRule':_0x470848(0x268),'clipRule':'evenodd'}},{'tag':_0x470848(0x453),'attrs':{'fill':'#0B9EFB','d':'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','fillRule':'evenodd','clipRule':_0x470848(0x268)}}]},_0x1858c5=(0x0,_0x477dc2[_0x470848(0x2fa)])(function(_0x5949cf,_0x1a3b88){const _0x13fce0=_0x470848;return(0x0,_0x477dc2[_0x13fce0(0x218)])(_0xf61d2c,Object[_0x13fce0(0x480)]({},_0x5949cf,{'id':_0x13fce0(0x1ac),'ref':_0x1a3b88,'icon':_0x590a66}));});_0x1858c5[_0x470848(0x25a)]=_0x470848(0x450);function _0x4921e(_0x3bb6e2){const _0x3cf141=_0x470848;switch(_0x3bb6e2){case _0x289c2c[_0x3cf141(0x49f)]['OFFLINE']:return{'icon':(0x0,_0x2d4a70[_0x3cf141(0x4bd)])(_0x4525e8,{}),'colorClass':_0x3cf141(0x3e6),'i18nKey':_0x3cf141(0x2bb),'tooltipKey':'collaboration-client-ui.collabClient.tooltip.reconnect','clickable':!0x0,'indicator':_0x3cf141(0x1f7)};case _0x289c2c[_0x3cf141(0x49f)][_0x3cf141(0x266)]:return{'icon':(0x0,_0x2d4a70[_0x3cf141(0x4bd)])(_0x4525e8,{}),'colorClass':'univer-text-orange-500','i18nKey':'collaboration-client-ui.collabStatus.conflict','clickable':!0x1,'indicator':'static'};case _0x289c2c[_0x3cf141(0x49f)][_0x3cf141(0x1b6)]:return{'icon':(0x0,_0x2d4a70[_0x3cf141(0x4bd)])(_0x1858c5,{}),'colorClass':_0x3cf141(0x3d0),'i18nKey':_0x3cf141(0x2da),'clickable':!0x1,'indicator':'spin'};case _0x289c2c[_0x3cf141(0x49f)][_0x3cf141(0x4d1)]:return{'icon':(0x0,_0x2d4a70[_0x3cf141(0x4bd)])(_0x32b485,{}),'colorClass':_0x3cf141(0x2e6),'i18nKey':'collaboration-client-ui.collabStatus.notCollab','clickable':!0x1,'indicator':_0x3cf141(0x1f7)};case _0x289c2c[_0x3cf141(0x49f)]['AWAITING']:case _0x289c2c[_0x3cf141(0x49f)][_0x3cf141(0x270)]:return{'icon':(0x0,_0x2d4a70['jsx'])(_0x1858c5,{}),'colorClass':_0x3cf141(0x3d0),'i18nKey':_0x3cf141(0x23e),'clickable':!0x1,'indicator':_0x3cf141(0x24a)};case _0x289c2c[_0x3cf141(0x49f)][_0x3cf141(0x3eb)]:return{'icon':(0x0,_0x2d4a70[_0x3cf141(0x4bd)])(_0x1858c5,{}),'colorClass':'univer-text-blue-500','i18nKey':_0x3cf141(0x23e),'clickable':!0x1,'indicator':_0x3cf141(0x24a)};case _0x289c2c[_0x3cf141(0x49f)]['SYNCED']:return{'icon':(0x0,_0x2d4a70[_0x3cf141(0x4bd)])(_0x32b485,{}),'colorClass':_0x3cf141(0x22d),'i18nKey':_0x3cf141(0x19d),'clickable':!0x1,'indicator':_0x3cf141(0x1f7)};}}function _0x2f381a(_0x3a8948){const _0x59ee8a=_0x470848;let {status$:_0x40bfde}=_0x3a8948,_0x2e546e=(0x0,_0x4dab43[_0x59ee8a(0x238)])(_0x40bfde,_0x289c2c['CollaborationStatus']['NOT_COLLAB']),_0xab1b58=(0x0,_0x4dab43['useDependency'])(_0x3378d6[_0x59ee8a(0x23b)]),_0x2d7d3b=(0x0,_0x4dab43[_0x59ee8a(0x2a3)])(_0x289c2c['CollaborationSessionService']),_0x585cab=(0x0,_0x477dc2[_0x59ee8a(0x46a)])(()=>_0x4921e(_0x2e546e),[_0x2e546e]),_0x4a9174=_0x2e546e!==_0x289c2c[_0x59ee8a(0x49f)][_0x59ee8a(0x3d1)],_0x38faf6=_0xab1b58['t'](_0x585cab[_0x59ee8a(0x1a0)]),_0x5d1b40=_0x585cab['tooltipKey']?_0xab1b58['t'](_0x585cab[_0x59ee8a(0x2b6)]):_0x38faf6,_0x38ee35=(0x0,_0x477dc2['useCallback'])(()=>{const _0x3ddec2=_0x59ee8a;_0x4a9174||_0x2d7d3b[_0x3ddec2(0x302)]();},[_0x4a9174,_0x2d7d3b]),_0x5bf4c5=(0x0,_0x477dc2['useCallback'])(_0x4b476b=>{const _0x5b3d81=_0x59ee8a;!_0x4a9174&&(_0x4b476b['key']===_0x5b3d81(0x371)||_0x4b476b[_0x5b3d81(0x354)]==='\x20')&&(_0x4b476b[_0x5b3d81(0x23f)](),_0x2d7d3b[_0x5b3d81(0x302)]());},[_0x4a9174,_0x2d7d3b]),_0x352691=(0x0,_0x2d4a70[_0x59ee8a(0x4bd)])(_0x59ee8a(0x261),{'className':(0x0,_0x472933[_0x59ee8a(0x2d5)])(_0x59ee8a(0x3ed),_0x59ee8a(0x19c),_0x585cab[_0x59ee8a(0x3d7)],{'univer-animate-spin':_0x585cab[_0x59ee8a(0x2d0)]===_0x59ee8a(0x24a),'univer-animate-pulse':_0x585cab[_0x59ee8a(0x2d0)]===_0x59ee8a(0x35f)}),'aria-hidden':_0x59ee8a(0x349),'children':_0x585cab['icon']}),_0x3eff91=(0x0,_0x2d4a70[_0x59ee8a(0x4bd)])(_0x59ee8a(0x261),{'className':(0x0,_0x472933[_0x59ee8a(0x2d5)])('univer-flex\x20univer-items-center\x20univer-justify-center','univer-h-8\x20univer-w-8\x20univer-rounded-lg',_0x59ee8a(0x21e),_0x59ee8a(0x37b),_0x59ee8a(0x27e),{'univer-cursor-pointer\x20hover:univer-bg-gray-100\x20dark:hover:!univer-bg-gray-700':_0x585cab[_0x59ee8a(0x4cb)],'univer-cursor-default':!_0x585cab['clickable']}),'children':_0x352691});return _0x585cab['clickable']?(0x0,_0x2d4a70[_0x59ee8a(0x4bd)])(_0x472933[_0x59ee8a(0x1e5)],{'title':_0x5d1b40,'placement':_0x59ee8a(0x192),'children':(0x0,_0x2d4a70[_0x59ee8a(0x4bd)])(_0x59ee8a(0x35a),{'type':_0x59ee8a(0x35a),'onClick':_0x38ee35,'onKeyDown':_0x5bf4c5,'className':(0x0,_0x472933[_0x59ee8a(0x2d5)])(_0x59ee8a(0x4ba),_0x59ee8a(0x1a7),'univer-m-0\x20univer-p-0',_0x59ee8a(0x3a0)),'aria-label':_0x38faf6+_0x59ee8a(0x38a)+_0x5d1b40,'role':'status','aria-live':_0x59ee8a(0x3d6),'aria-atomic':_0x59ee8a(0x349),'children':_0x3eff91})}):(0x0,_0x2d4a70[_0x59ee8a(0x4bd)])(_0x472933[_0x59ee8a(0x1e5)],{'title':_0x5d1b40,'placement':_0x59ee8a(0x192),'children':(0x0,_0x2d4a70[_0x59ee8a(0x4bd)])(_0x59ee8a(0x332),{'className':(0x0,_0x472933[_0x59ee8a(0x2d5)])('univer-inline-flex\x20univer-items-center\x20univer-justify-center',_0x59ee8a(0x1a7),_0x59ee8a(0x476)),'aria-label':_0x38faf6,'role':_0x59ee8a(0x44a),'aria-live':'polite','aria-atomic':_0x59ee8a(0x349),'children':_0x3eff91})});}function _0x5a2bff(_0x2d9c55){'@babel/helpers - typeof';const _0x418192=_0x470848;return _0x5a2bff=typeof Symbol==_0x418192(0x489)&&typeof Symbol[_0x418192(0x3fa)]==_0x418192(0x282)?function(_0x5d07d7){return typeof _0x5d07d7;}:function(_0x4dc908){const _0x6ee37a=_0x418192;return _0x4dc908&&typeof Symbol=='function'&&_0x4dc908[_0x6ee37a(0x350)]===Symbol&&_0x4dc908!==Symbol['prototype']?'symbol':typeof _0x4dc908;},_0x5a2bff(_0x2d9c55);}function _0x303d16(_0x340c40,_0x1dbc09){const _0xf5776=_0x470848;if(_0x5a2bff(_0x340c40)!='object'||!_0x340c40)return _0x340c40;var _0x4f4506=_0x340c40[Symbol[_0xf5776(0x269)]];if(_0x4f4506!==void 0x0){var _0xc4ca00=_0x4f4506[_0xf5776(0x442)](_0x340c40,_0x1dbc09||_0xf5776(0x182));if(_0x5a2bff(_0xc4ca00)!=_0xf5776(0x416))return _0xc4ca00;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0x1dbc09===_0xf5776(0x245)?String:Number)(_0x340c40);}function _0x37b905(_0x540654){const _0xa1a9de=_0x470848;var _0x5e2985=_0x303d16(_0x540654,_0xa1a9de(0x245));return _0x5a2bff(_0x5e2985)=='symbol'?_0x5e2985:_0x5e2985+'';}function _0x317deb(_0x4aed0b,_0xeb393a,_0x1e93d2){const _0x299344=_0x470848;return(_0xeb393a=_0x37b905(_0xeb393a))in _0x4aed0b?Object[_0x299344(0x3f4)](_0x4aed0b,_0xeb393a,{'value':_0x1e93d2,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x4aed0b[_0xeb393a]=_0x1e93d2,_0x4aed0b;}function _0x4f2c8d(_0x54f3a5,_0x401663){return function(_0x1f0268,_0xd184b9){_0x401663(_0x1f0268,_0xd184b9,_0x54f3a5);};}function _0x265259(_0x158366,_0xd41668,_0xa7e177,_0x3517db){const _0x415c3c=_0x470848;var _0x22ed9a=arguments[_0x415c3c(0x254)],_0x595586=_0x22ed9a<0x3?_0xd41668:_0x3517db===null?_0x3517db=Object[_0x415c3c(0x17a)](_0xd41668,_0xa7e177):_0x3517db,_0x3f91c9;if(typeof Reflect==_0x415c3c(0x416)&&typeof Reflect[_0x415c3c(0x47b)]=='function')_0x595586=Reflect[_0x415c3c(0x47b)](_0x158366,_0xd41668,_0xa7e177,_0x3517db);else{for(var _0x16be54=_0x158366[_0x415c3c(0x254)]-0x1;_0x16be54>=0x0;_0x16be54--)(_0x3f91c9=_0x158366[_0x16be54])&&(_0x595586=(_0x22ed9a<0x3?_0x3f91c9(_0x595586):_0x22ed9a>0x3?_0x3f91c9(_0xd41668,_0xa7e177,_0x595586):_0x3f91c9(_0xd41668,_0xa7e177))||_0x595586);}return _0x22ed9a>0x3&&_0x595586&&Object[_0x415c3c(0x3f4)](_0xd41668,_0xa7e177,_0x595586),_0x595586;}let _0x35e9ef=class extends _0x3378d6['Disposable']{constructor(_0xa1d21b,_0x465238,_0x426117,_0x5d12af){const _0x240ebb=_0x470848;super(),this[_0x240ebb(0x48a)]=_0xa1d21b,this['_injector']=_0x465238,this[_0x240ebb(0x2d1)]=_0x426117,this['_uiPartsService']=_0x5d12af,_0x317deb(this,'_status$',new _0x5515fe[(_0x240ebb(0x4b4))](_0x289c2c[_0x240ebb(0x49f)][_0x240ebb(0x4d1)])),this[_0x240ebb(0x174)](),this[_0x240ebb(0x348)]();}[_0x470848(0x348)](){const _0x566eb7=_0x470848;this[_0x566eb7(0x3a7)]((0x0,_0x5515fe[_0x566eb7(0x443)])(this[_0x566eb7(0x48a)][_0x566eb7(0x329)],this[_0x566eb7(0x48a)][_0x566eb7(0x2bf)](_0x3378d6[_0x566eb7(0x2b5)]['UNIVER_DOC']),this[_0x566eb7(0x48a)]['getCurrentTypeOfUnit$'](_0x3378d6[_0x566eb7(0x2b5)]['UNIVER_SHEET']))['pipe']((0x0,_0x18241c['map'])(()=>_0x25bce7(this[_0x566eb7(0x48a)])),(0x0,_0x18241c[_0x566eb7(0x1b1)])(),(0x0,_0x5515fe[_0x566eb7(0x187)])(_0x3cf225=>_0x3cf225?this[_0x566eb7(0x2d1)][_0x566eb7(0x396)](_0x3cf225):(0x0,_0x5515fe['of'])(null)),(0x0,_0x5515fe[_0x566eb7(0x187)])(_0x39ed1f=>_0x39ed1f?_0x39ed1f[_0x566eb7(0x239)]:(0x0,_0x5515fe['of'])(_0x289c2c[_0x566eb7(0x49f)]['NOT_COLLAB'])))[_0x566eb7(0x31e)](_0x426b5a=>{const _0x207d16=_0x566eb7;this['_status$'][_0x207d16(0x29d)](_0x426b5a);}));}[_0x470848(0x174)](){const _0x63f48d=_0x470848;this['disposeWithMe'](this['_uiPartsService']['registerComponent'](_0x4dab43[_0x63f48d(0x2ab)]['HEADER_MENU'],()=>(0x0,_0x4dab43[_0x63f48d(0x427)])(_0x5be910({'status$':this[_0x63f48d(0x281)]['asObservable']()}),this[_0x63f48d(0x240)])));}};_0x35e9ef=_0x265259([_0x4f2c8d(0x0,_0x3378d6['IUniverInstanceService']),_0x4f2c8d(0x1,(0x0,_0x3378d6[_0x470848(0x331)])(_0x3378d6[_0x470848(0x200)])),_0x4f2c8d(0x2,(0x0,_0x3378d6[_0x470848(0x331)])(_0x289c2c[_0x470848(0x32e)])),_0x4f2c8d(0x3,_0x4dab43['IUIPartsService'])],_0x35e9ef);let _0x4ab697=class extends _0x3378d6[_0x470848(0x380)]{constructor(_0x3e9a7d,_0x3dd847,_0xf4da9d,_0x53c9a6){const _0x20addf=_0x470848;super(),this['_univerInstanceService']=_0x3e9a7d,this['_injector']=_0x3dd847,this[_0x20addf(0x2d1)]=_0xf4da9d,this[_0x20addf(0x1bc)]=_0x53c9a6,_0x317deb(this,_0x20addf(0x281),new _0x5515fe['BehaviorSubject'](_0x289c2c[_0x20addf(0x49f)]['NOT_COLLAB'])),this['_initStatusComponent'](),this[_0x20addf(0x348)]();}['_initStatusListener'](){const _0x40fda5=_0x470848;this['disposeWithMe']((0x0,_0x5515fe[_0x40fda5(0x443)])((0x0,_0x5515fe['of'])(null),this[_0x40fda5(0x48a)][_0x40fda5(0x2bf)](_0x3378d6['UniverInstanceType'][_0x40fda5(0x346)]))[_0x40fda5(0x376)]((0x0,_0x18241c[_0x40fda5(0x40f)])(()=>_0x223372(this[_0x40fda5(0x48a)])),(0x0,_0x18241c[_0x40fda5(0x1b1)])(),(0x0,_0x5515fe[_0x40fda5(0x187)])(_0x153491=>_0x153491?this[_0x40fda5(0x2d1)][_0x40fda5(0x396)](_0x153491):(0x0,_0x5515fe['of'])(null)),(0x0,_0x5515fe[_0x40fda5(0x187)])(_0x34593d=>_0x34593d?_0x34593d[_0x40fda5(0x239)]:(0x0,_0x5515fe['of'])(_0x289c2c[_0x40fda5(0x49f)][_0x40fda5(0x4d1)])))[_0x40fda5(0x31e)](_0x2d4b68=>{const _0x28e0ef=_0x40fda5;this[_0x28e0ef(0x281)]['next'](_0x2d4b68);}));}['_initStatusComponent'](){const _0x5423a8=_0x470848;this['disposeWithMe'](this[_0x5423a8(0x1bc)]['registerComponent'](_0x199609[_0x5423a8(0x17b)],()=>(0x0,_0x4dab43[_0x5423a8(0x427)])(_0x5be910({'status$':this['_status$'][_0x5423a8(0x38e)]()}),this[_0x5423a8(0x240)])));}};_0x4ab697=_0x265259([_0x4f2c8d(0x0,_0x3378d6[_0x470848(0x180)]),_0x4f2c8d(0x1,(0x0,_0x3378d6[_0x470848(0x331)])(_0x3378d6[_0x470848(0x200)])),_0x4f2c8d(0x2,(0x0,_0x3378d6[_0x470848(0x331)])(_0x289c2c[_0x470848(0x32e)])),_0x4f2c8d(0x3,_0x4dab43['IUIPartsService'])],_0x4ab697);function _0x25bce7(_0x42cc61){const _0x238310=_0x470848;let _0x58a0e0=_0x42cc61['getFocusedUnit'](),_0x218db1=_0x58a0e0==null?void 0x0:_0x58a0e0['getUnitId']();if(_0x218db1&&!(0x0,_0x3378d6[_0x238310(0x46b)])(_0x218db1))return _0x218db1;let _0x2b5f17=_0x42cc61[_0x238310(0x3a9)](_0x3378d6[_0x238310(0x2b5)]['UNIVER_DOC']),_0x32843d=_0x2b5f17==null?void 0x0:_0x2b5f17[_0x238310(0x2fe)]();if(_0x32843d&&!(0x0,_0x3378d6['isInternalEditorID'])(_0x32843d))return _0x32843d;let _0x4a0877=_0x42cc61[_0x238310(0x3a9)](_0x3378d6['UniverInstanceType'][_0x238310(0x1ab)]);if(_0x4a0877)return _0x4a0877[_0x238310(0x2fe)]();let _0xa66070=_0x42cc61[_0x238310(0x422)](_0x3378d6[_0x238310(0x2b5)][_0x238310(0x43f)])[_0x238310(0x403)](_0x2acdd5=>!(0x0,_0x3378d6['isInternalEditorID'])(_0x2acdd5[_0x238310(0x2fe)]()));return _0xa66070?_0xa66070[_0x238310(0x2fe)]():null;}function _0x223372(_0x1b2df0){const _0x201d18=_0x470848;var _0x337dfd;let _0x3e8625=_0x1b2df0[_0x201d18(0x3a9)](_0x3378d6['UniverInstanceType'][_0x201d18(0x346)]);return(_0x337dfd=_0x3e8625==null?void 0x0:_0x3e8625[_0x201d18(0x2fe)]())==null?null:_0x337dfd;}function _0x5be910(_0x48aaf5){let {status$:_0x3fe12d}=_0x48aaf5;return function(){return(0x0,_0x2d4a70['jsx'])(_0x2f381a,{'status$':_0x3fe12d});};}var _0xe45e57=_0x470848(0x35b),_0x3e2282='1.0.0-alpha.7';let _0x2ca37d={},_0x563a43=class extends _0x3378d6[_0x470848(0x42a)]{constructor(_0x3f7dc3,_0x2ab5a9){const _0x3c66af=_0x470848;super(),this[_0x3c66af(0x423)]=_0x3f7dc3,this[_0x3c66af(0x38f)]=_0x2ab5a9,this[_0x3c66af(0x1a4)]();}[_0x470848(0x1a4)](){const _0x4b2b7=_0x470848;let _0x17d0f3=this;this[_0x4b2b7(0x3a7)](this['_docClipboardService'][_0x4b2b7(0x31a)]({'onBeforePasteImage':async _0x1c40f2=>{const _0x427f6c=_0x4b2b7;let _0x511f08=await _0x17d0f3[_0x427f6c(0x38f)][_0x427f6c(0x1ff)](_0x1c40f2);return _0x511f08?{'source':_0x511f08[_0x427f6c(0x375)],'imageSourceType':_0x511f08[_0x427f6c(0x215)]}:null;}}));}};_0x563a43=_0x265259([_0x4f2c8d(0x0,_0xe8b960[_0x470848(0x228)]),_0x4f2c8d(0x1,_0x3378d6[_0x470848(0x3ab)])],_0x563a43);function _0x12ec35(_0x414554,_0xe5d936){const _0x9c796c=_0x470848;_0x414554[_0x9c796c(0x38c)](),_0x414554[_0x9c796c(0x1d1)]=_0x9c796c(0x1c7);let _0x4e668f=_0x414554[_0x9c796c(0x3fd)](_0xe5d936)[_0x9c796c(0x2a6)];return _0x414554[_0x9c796c(0x417)](),Math['min'](_0x4e668f+0x8,0xc8);}function _0x106c06(_0x556879,_0x3cd4d9){const _0x1095c0=_0x470848;var _0x58c252,_0xc4d71c,_0x22630a;let {radius:_0x14d3c7,width:_0xd52e4a,height:_0x4f4bde}=_0x3cd4d9;_0x14d3c7=(_0x58c252=_0x14d3c7)==null?0x0:_0x58c252,_0xd52e4a=(_0xc4d71c=_0xd52e4a)==null?0x1e:_0xc4d71c,_0x4f4bde=(_0x22630a=_0x4f4bde)==null?0x1e:_0x22630a;let _0xf53860=0x0,_0x5e2dbb=0x0,_0xfeb3c5=0x0;_0xf53860=_0x5e2dbb=_0xfeb3c5=Math['min'](_0x14d3c7,_0xd52e4a/0x2,_0x4f4bde/0x2),_0x556879['beginPath'](),_0x556879['moveTo'](_0xf53860,0x0),_0x556879[_0x1095c0(0x3ec)](_0xd52e4a-_0x5e2dbb,0x0),_0x556879['arc'](_0xd52e4a-_0x5e2dbb,_0x5e2dbb,_0x5e2dbb,Math['PI']*0x3/0x2,0x0,!0x1),_0x556879['lineTo'](_0xd52e4a,_0x4f4bde-_0xfeb3c5),_0x556879[_0x1095c0(0x2cb)](_0xd52e4a-_0xfeb3c5,_0x4f4bde-_0xfeb3c5,_0xfeb3c5,0x0,Math['PI']/0x2,!0x1),_0x556879['lineTo'](0x0,_0x4f4bde),_0x556879[_0x1095c0(0x3ec)](0x0,_0xf53860),_0x556879[_0x1095c0(0x2cb)](_0xf53860,_0xf53860,_0xf53860,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x556879[_0x1095c0(0x45d)](),_0x3cd4d9[_0x1095c0(0x478)]&&(_0x556879['save'](),_0x556879[_0x1095c0(0x301)]=_0x3cd4d9[_0x1095c0(0x478)],_0x3cd4d9['fillRule']===_0x1095c0(0x268)?_0x556879[_0x1095c0(0x478)](_0x1095c0(0x268)):_0x556879[_0x1095c0(0x478)](),_0x556879['restore']());}var _0x576e12=class _0xfe95c1 extends _0x21620d[_0x470848(0x404)]{constructor(_0x5c23ab,_0x53ce57){const _0xb08ce7=_0x470848;super(_0x5c23ab,_0x53ce57),_0x317deb(this,_0xb08ce7(0x1e6),void 0x0),_0x317deb(this,'text',void 0x0),this[_0xb08ce7(0x1e6)]=_0x53ce57==null?void 0x0:_0x53ce57[_0xb08ce7(0x1e6)],this[_0xb08ce7(0x231)]=_0x53ce57==null?void 0x0:_0x53ce57[_0xb08ce7(0x231)];}static[_0x470848(0x3f8)](_0x14b20d,_0x10d0f3){const _0x49173a=_0x470848;let {text:_0x25e1d9,color:_0xc180ec}=_0x10d0f3;_0x14b20d[_0x49173a(0x38c)](),_0x14b20d[_0x49173a(0x1d1)]=_0x49173a(0x3ce);let _0x3f1406=_0x14b20d[_0x49173a(0x3fd)](_0x25e1d9)[_0x49173a(0x2a6)];if(_0x106c06(_0x14b20d,{'height':0x14,'radius':0x4,'width':_0x12ec35(_0x14b20d,_0x25e1d9),'fill':_0xc180ec,'evented':!0x1}),_0x14b20d[_0x49173a(0x301)]='#FFF',_0x3f1406>0xc0){let _0x96adce='',_0x1c9bcf=0x0;for(let _0x634c90 of _0x25e1d9){let _0x4fa8d9=_0x14b20d[_0x49173a(0x3fd)](_0x634c90)[_0x49173a(0x2a6)];if(_0x1c9bcf+_0x4fa8d9<=0xc0-_0x14b20d[_0x49173a(0x3fd)](_0x49173a(0x425))[_0x49173a(0x2a6)])_0x96adce+=_0x634c90,_0x1c9bcf+=_0x4fa8d9;else{_0x96adce+=_0x49173a(0x425);break;}}_0x14b20d[_0x49173a(0x300)](_0x96adce,0x4,0xf);}else _0x14b20d[_0x49173a(0x300)](_0x25e1d9,0x4,0xf);_0x14b20d['restore']();}[_0x470848(0x3e4)](_0x5f56cc){const _0x152ad6=_0x470848;_0xfe95c1[_0x152ad6(0x3f8)](_0x5f56cc,this);}};let _0x344036=0x138a;var _0xac951d=class extends _0x21620d[_0x470848(0x404)]{constructor(_0x1ced72,_0x485dd5){const _0x1accc8=_0x470848;super(_0x1ced72,{..._0x485dd5,'evented':!0x1}),_0x317deb(this,_0x1accc8(0x1cf),_0x1accc8(0x250)),_0x317deb(this,_0x1accc8(0x273),''),_0x317deb(this,_0x1accc8(0x20a),!0x0),_0x485dd5&&this[_0x1accc8(0x467)](_0x485dd5);}[_0x470848(0x467)](_0xb3d36c){const _0x5a736e=_0x470848;var _0x2cbf90,_0x4dd8b0,_0x25d602,_0x469988,_0x56a28e,_0x8eeb0d,_0x13ea0a,_0x30102b;this[_0x5a736e(0x1cf)]=(_0x2cbf90=_0xb3d36c[_0x5a736e(0x1e6)])==null?this[_0x5a736e(0x1cf)]:_0x2cbf90,this[_0x5a736e(0x273)]=(_0x4dd8b0=_0xb3d36c[_0x5a736e(0x4a9)])==null?this['_name']:_0x4dd8b0,this['_showText']=(_0x25d602=_0xb3d36c[_0x5a736e(0x3f6)])==null?this[_0x5a736e(0x20a)]:_0x25d602,this[_0x5a736e(0x28c)]=!0x1,this[_0x5a736e(0x402)]({'left':(_0x469988=_0xb3d36c[_0x5a736e(0x3c2)])==null?this[_0x5a736e(0x3c2)]:_0x469988,'top':(_0x56a28e=_0xb3d36c[_0x5a736e(0x2f7)])==null?this[_0x5a736e(0x2f7)]:_0x56a28e,'width':(_0x8eeb0d=_0xb3d36c['width'])==null?this[_0x5a736e(0x2a6)]:_0x8eeb0d,'height':(_0x13ea0a=_0xb3d36c[_0x5a736e(0x279)])==null?this[_0x5a736e(0x279)]:_0x13ea0a,'angle':(_0x30102b=_0xb3d36c[_0x5a736e(0x33a)])==null?this[_0x5a736e(0x33a)]:_0x30102b});}['_draw'](_0xcad7e){const _0x18fafd=_0x470848;_0xcad7e[_0x18fafd(0x38c)](),_0xcad7e[_0x18fafd(0x25e)]=this[_0x18fafd(0x1cf)],_0xcad7e[_0x18fafd(0x22c)]=this[_0x18fafd(0x408)]||1.5,_0xcad7e[_0x18fafd(0x28d)]([0x6,0x4]),_0xcad7e[_0x18fafd(0x27d)](0x0,0x0,this[_0x18fafd(0x2a6)],this[_0x18fafd(0x279)]),_0xcad7e[_0x18fafd(0x417)](),this[_0x18fafd(0x20a)]&&(_0xcad7e[_0x18fafd(0x38c)](),_0xcad7e[_0x18fafd(0x485)](0x1,0x0,0x0,0x1,this[_0x18fafd(0x2a6)],-0x14),_0x576e12[_0x18fafd(0x3f8)](_0xcad7e,{'text':this[_0x18fafd(0x273)],'color':this[_0x18fafd(0x1cf)]}),_0xcad7e[_0x18fafd(0x417)]());}};let _0x4489e7=[_0x470848(0x337),'jiqing.500',_0x470848(0x1ae),_0x470848(0x2ad),_0x470848(0x201),_0x470848(0x37a)];var _0x5a49d8=class extends _0x3378d6[_0x470848(0x380)]{constructor(..._0x5db8d7){const _0x567cd8=_0x470848;super(..._0x5db8d7),_0x317deb(this,'_assignedColors',new Map()),_0x317deb(this,_0x567cd8(0x171),0x0);}[_0x470848(0x360)](_0x157e48){const _0xe9b581=_0x470848;if(this[_0xe9b581(0x1da)][_0xe9b581(0x1c9)](_0x157e48))return this[_0xe9b581(0x1da)][_0xe9b581(0x226)](_0x157e48);let _0x361595=_0x4489e7[this[_0xe9b581(0x171)]];return this[_0xe9b581(0x171)]=(this[_0xe9b581(0x171)]+0x1)%_0x4489e7[_0xe9b581(0x254)],this[_0xe9b581(0x1da)][_0xe9b581(0x406)](_0x157e48,_0x361595),_0x361595;}};function _0x1d8f8e(_0x3086c3){const _0x587b85=_0x470848;let _0x423d70;try{_0x423d70=JSON[_0x587b85(0x1ea)](_0x3086c3);}catch{return null;}if(typeof _0x423d70!=_0x587b85(0x416)||!_0x423d70)return null;let _0x3e96d3=_0x423d70;if(_0x3e96d3[_0x587b85(0x470)]!==_0x587b85(0x2a7)||typeof _0x3e96d3[_0x587b85(0x1fb)]!=_0x587b85(0x245)||typeof _0x3e96d3[_0x587b85(0x3cb)]!=_0x587b85(0x245))return null;let _0x354eac=Array[_0x587b85(0x26e)](_0x3e96d3[_0x587b85(0x1ce)])?_0x3e96d3['selectedIds'][_0x587b85(0x25d)](_0xd52dfc=>typeof _0xd52dfc==_0x587b85(0x245)):[],_0x5bddc5=typeof _0x3e96d3['focusedId']==_0x587b85(0x245)?_0x3e96d3[_0x587b85(0x49a)]:null;return{'kind':'board-element-selection','unitId':_0x3e96d3[_0x587b85(0x1fb)],'subUnitId':_0x3e96d3[_0x587b85(0x3cb)],'selectedIds':_0x354eac,'focusedId':_0x5bddc5};}let _0x308f67=class extends _0x3378d6['RxDisposable']{get[_0x470848(0x33d)](){const _0x42b637=_0x470848;return this[_0x42b637(0x1af)][_0x42b637(0x434)]();}get['roomMembers'](){const _0x2f1d6f=_0x470848;return this[_0x2f1d6f(0x1e2)][_0x2f1d6f(0x434)]();}constructor(_0x42cad0,_0x529a93,_0x4cc6de,_0x184b6f,_0xa96047){const _0x3cdbce=_0x470848;super(),this[_0x3cdbce(0x44c)]=_0x42cad0,this[_0x3cdbce(0x248)]=_0x529a93,this[_0x3cdbce(0x2c7)]=_0x4cc6de,this[_0x3cdbce(0x34e)]=_0x184b6f,this[_0x3cdbce(0x1c0)]=_0xa96047,_0x317deb(this,_0x3cdbce(0x358),!0x1),_0x317deb(this,_0x3cdbce(0x1a4),!0x1),_0x317deb(this,_0x3cdbce(0x1af),new _0x5515fe[(_0x3cdbce(0x4b4))](new Map())),_0x317deb(this,'cursorInfo$',this[_0x3cdbce(0x1af)][_0x3cdbce(0x38e)]()),_0x317deb(this,_0x3cdbce(0x1e2),new _0x5515fe['BehaviorSubject']([])),_0x317deb(this,'roomMembers$',this[_0x3cdbce(0x1e2)][_0x3cdbce(0x376)]((0x0,_0x5515fe[_0x3cdbce(0x22a)])(0x12c))),_0x317deb(this,_0x3cdbce(0x451),(0x0,_0x3378d6[_0x3cdbce(0x1fd)])(_0x2fa19c=>{const _0x138a35=_0x3cdbce;let _0x595ffd=_0x2fa19c[_0x138a35(0x39b)];if(!_0x595ffd||_0x595ffd[_0x138a35(0x1fb)]!==this[_0x138a35(0x44c)])return;let _0x31a8cf={'kind':_0x138a35(0x2a7),'unitId':_0x595ffd[_0x138a35(0x1fb)],'subUnitId':_0x595ffd['subUnitId'],'selectedIds':_0x2fa19c[_0x138a35(0x1ce)][_0x138a35(0x25d)](_0x4e0fda=>typeof _0x4e0fda==_0x138a35(0x245)),'focusedId':_0x2fa19c[_0x138a35(0x49a)]},_0x3e6b17={'eventID':_0x518a46[_0x138a35(0x45c)]['UPDATE_CURSOR'],'data':{'unitID':this[_0x138a35(0x44c)],'memberID':this['_session'][_0x138a35(0x4a5)](),'selection':JSON[_0x138a35(0x3aa)](_0x31a8cf)}};this[_0x138a35(0x248)]['send'](_0x3e6b17,this['unitID']);},0x64));}[_0x470848(0x39c)](){const _0x26364f=_0x470848;super['dispose'](),this[_0x26364f(0x1af)][_0x26364f(0x29d)](new Map()),this[_0x26364f(0x1af)][_0x26364f(0x28f)](),this['_roomMembers$'][_0x26364f(0x29d)]([]),this['_roomMembers$'][_0x26364f(0x28f)]();}['init'](){const _0x365d2d=_0x470848;this['_init']||(this[_0x365d2d(0x1a4)]=!0x0,this[_0x365d2d(0x248)]['sessionStatus$']['pipe']((0x0,_0x5515fe[_0x365d2d(0x3e2)])(this[_0x365d2d(0x173)]))['subscribe'](_0x37e4e3=>{const _0x1f489c=_0x365d2d;_0x37e4e3===_0x289c2c[_0x1f489c(0x3c7)][_0x1f489c(0x1b5)]?this['_toggleOnline']():this[_0x1f489c(0x30d)]();}),this[_0x365d2d(0x248)]['event$'][_0x365d2d(0x376)]((0x0,_0x5515fe[_0x365d2d(0x3e2)])(this[_0x365d2d(0x173)]))[_0x365d2d(0x31e)](_0x45e986=>{const _0xdae324=_0x365d2d;let _0x504332=_0x45e986[_0xdae324(0x32d)];_0x504332===_0x518a46[_0xdae324(0x45c)][_0xdae324(0x1c6)]&&this[_0xdae324(0x1bf)](_0x45e986),_0x504332===_0x518a46['CollaborationEvent'][_0xdae324(0x4a0)]&&this[_0xdae324(0x4c7)](_0x45e986);}),this[_0x365d2d(0x1c0)]['state$'][_0x365d2d(0x376)]((0x0,_0x5515fe['takeUntil'])(this[_0x365d2d(0x173)]))[_0x365d2d(0x31e)](_0x210b0d=>{const _0xc4ba89=_0x365d2d;this[_0xc4ba89(0x358)]&&this[_0xc4ba89(0x451)](_0x210b0d);}));}[_0x470848(0x1bf)](_0x5cd1d3){const _0x254f8c=_0x470848;var _0x7ff250,_0x3ee0c7,_0x15898b,_0x2f4f4a;let {memberID:_0x1c57be,selection:_0x3abd96}=_0x5cd1d3['data'];if(_0x1c57be===((_0x7ff250=(_0x3ee0c7=this[_0x254f8c(0x248)])[_0x254f8c(0x4a5)])==null?void 0x0:_0x7ff250[_0x254f8c(0x442)](_0x3ee0c7)))return;let _0x45c562=_0x1d8f8e(_0x3abd96);if(!_0x45c562||_0x45c562['unitId']!==this['unitID'])return;let _0x47947a=(_0x15898b=(_0x2f4f4a=this[_0x254f8c(0x34e)][_0x254f8c(0x283)](this[_0x254f8c(0x44c)],_0x1c57be))==null?void 0x0:_0x2f4f4a[_0x254f8c(0x4a9)])==null?_0x254f8c(0x2b2):_0x15898b,_0xf4a827={'color':this[_0x254f8c(0x2c7)][_0x254f8c(0x360)](_0x1c57be),'name':_0x47947a,'unitId':_0x45c562[_0x254f8c(0x1fb)],'subUnitId':_0x45c562[_0x254f8c(0x3cb)],'selectedIds':_0x45c562[_0x254f8c(0x1ce)],'focusedId':_0x45c562[_0x254f8c(0x49a)],'selection':_0x3abd96},_0x3f5a8e=new Map(this[_0x254f8c(0x33d)]);_0x3f5a8e[_0x254f8c(0x406)](_0x1c57be,_0xf4a827),this[_0x254f8c(0x1af)][_0x254f8c(0x29d)](_0x3f5a8e);}['_onCursorDelete'](_0x8c68ff){const _0x29b3b4=_0x470848;let {memberID:_0x538c27}=_0x8c68ff['data'],_0x37ac9e=new Map(this[_0x29b3b4(0x33d)]);_0x37ac9e[_0x29b3b4(0x460)](_0x538c27),this[_0x29b3b4(0x1af)][_0x29b3b4(0x29d)](_0x37ac9e);}[_0x470848(0x2f4)](){const _0x583737=_0x470848;this[_0x583737(0x358)]=!0x0,this[_0x583737(0x451)](this['_boardElementStateService'][_0x583737(0x3be)]());}[_0x470848(0x30d)](){const _0x5538f7=_0x470848;this[_0x5538f7(0x358)]=!0x1;}};_0x308f67=_0x265259([_0x4f2c8d(0x2,(0x0,_0x3378d6[_0x470848(0x331)])(_0x5a49d8)),_0x4f2c8d(0x3,(0x0,_0x3378d6[_0x470848(0x331)])(_0x289c2c['MemberService'])),_0x4f2c8d(0x4,(0x0,_0x3378d6[_0x470848(0x331)])(_0x199609['IBoardElementStateService']))],_0x308f67);function _0xdfe849(_0x58a28e){const _0x46bf75=_0x470848;let _0x14e18f='';for(let _0x17d370 of _0x58a28e){let {startOffset:_0x362773,endOffset:_0x39a9dd,isActive:_0x295dfe,rangeType:_0x32e5ce,segmentId:_0xc4a858,segmentPage:_0x578eb0}=_0x17d370;_0x14e18f[_0x46bf75(0x254)]&&(_0x14e18f+=','),_0x14e18f+=_0x362773+':'+_0x39a9dd+':'+(_0x295dfe?'1':'0')+':'+_0x32e5ce+':'+_0xc4a858+':'+_0x578eb0;}return _0x14e18f;}function _0x10278c(_0x14a7e2){const _0x5d5450=_0x470848;let _0x42eb4d=_0x14a7e2[_0x5d5450(0x2cd)](','),_0x4c6386=[];for(let _0x1bcc02 of _0x42eb4d){let [_0x52a814,_0x559e1d,_0x3ab06f,_0x590968,_0xb2226e,_0x19e66c]=_0x1bcc02[_0x5d5450(0x2cd)](':');_0x4c6386['push']({'startOffset':Number(_0x52a814),'endOffset':Number(_0x559e1d),'collapsed':_0x52a814===_0x559e1d,'isActive':_0x3ab06f==='1','rangeType':_0x590968===_0x3378d6[_0x5d5450(0x1e8)][_0x5d5450(0x33c)]?_0x3378d6[_0x5d5450(0x1e8)][_0x5d5450(0x33c)]:_0x3378d6['DOC_RANGE_TYPE'][_0x5d5450(0x3da)],'segmentId':typeof _0xb2226e==_0x5d5450(0x245)?String(_0xb2226e):'','segmentPage':Number(_0x19e66c==null?-0x1:_0x19e66c)});}return _0x4c6386[_0x5d5450(0x3b2)](_0x4f7961=>_0x4f7961[_0x5d5450(0x2c6)])||(_0x4c6386[0x0]['isActive']=!0x0),_0x4c6386;}var _0x3ebe55=class extends _0x3378d6['RxDisposable']{constructor(..._0x4d279c){const _0x1ce2af=_0x470848;super(..._0x4d279c),_0x317deb(this,_0x1ce2af(0x382),new _0x5515fe[(_0x1ce2af(0x4b4))](null)),_0x317deb(this,_0x1ce2af(0x47c),this[_0x1ce2af(0x382)][_0x1ce2af(0x38e)]());}[_0x470848(0x1b4)](_0x4c4cb4){const _0x152384=_0x470848;let {unitID:_0x4aff94,memberID:_0x34a78a,textRanges:_0x44a0be}=_0x4c4cb4,_0x1cb121=_0xdfe849(_0x44a0be);if(_0x1cb121==='')return;let _0x400e1b={'unitID':_0x4aff94,'memberID':_0x34a78a,'selection':_0x1cb121};this[_0x152384(0x382)][_0x152384(0x29d)](_0x400e1b);}};let _0x1be286=class extends _0x3378d6[_0x470848(0x42a)]{get[_0x470848(0x33d)](){const _0x58e88a=_0x470848;return this[_0x58e88a(0x1af)][_0x58e88a(0x434)]();}get[_0x470848(0x330)](){const _0x4de0a7=_0x470848;return this[_0x4de0a7(0x1e2)]['getValue']();}constructor(_0x13c779,_0x3c7797,_0x21b51c,_0x1b9390,_0x3a1a32,_0x1cbb9d,_0x145783,_0x3dabd7,_0x40f423){const _0x374a1e=_0x470848;super(),this[_0x374a1e(0x44c)]=_0x13c779,this[_0x374a1e(0x248)]=_0x3c7797,this[_0x374a1e(0x240)]=_0x21b51c,this['_colorAssignService']=_0x1b9390,this[_0x374a1e(0x34e)]=_0x3a1a32,this[_0x374a1e(0x255)]=_0x1cbb9d,this[_0x374a1e(0x475)]=_0x145783,this[_0x374a1e(0x48a)]=_0x3dabd7,this[_0x374a1e(0x3cf)]=_0x40f423,_0x317deb(this,_0x374a1e(0x358),!0x1),_0x317deb(this,'_init',!0x1),_0x317deb(this,_0x374a1e(0x1af),new _0x5515fe[(_0x374a1e(0x4b4))](new Map())),_0x317deb(this,_0x374a1e(0x4ad),this[_0x374a1e(0x1af)][_0x374a1e(0x38e)]()),_0x317deb(this,_0x374a1e(0x1e2),new _0x5515fe[(_0x374a1e(0x4b4))]([])),_0x317deb(this,'roomMembers$',this['_roomMembers$'][_0x374a1e(0x376)]((0x0,_0x5515fe[_0x374a1e(0x22a)])(0x12c))),_0x317deb(this,'_updateLocalCursor',(0x0,_0x3378d6[_0x374a1e(0x1fd)])(_0x144d7c=>{const _0x13176e=_0x374a1e;let _0x509e22={'eventID':_0x518a46[_0x13176e(0x45c)]['UPDATE_CURSOR'],'data':{'unitID':this['unitID'],'memberID':this[_0x13176e(0x248)][_0x13176e(0x4a5)](),'selection':_0xdfe849(_0x144d7c)}};this[_0x13176e(0x248)]['send'](_0x509e22,this[_0x13176e(0x44c)]);},0x64));}[_0x470848(0x39c)](){const _0x225009=_0x470848;super[_0x225009(0x39c)](),this['_cursorInfo$'][_0x225009(0x29d)](new Map()),this[_0x225009(0x1af)][_0x225009(0x28f)](),this[_0x225009(0x1e2)][_0x225009(0x29d)]([]),this[_0x225009(0x1e2)][_0x225009(0x28f)]();}[_0x470848(0x21d)](){const _0x2214a6=_0x470848;this[_0x2214a6(0x1a4)]||(this[_0x2214a6(0x1a4)]=!0x0,this[_0x2214a6(0x248)][_0x2214a6(0x472)][_0x2214a6(0x376)]((0x0,_0x5515fe[_0x2214a6(0x3e2)])(this[_0x2214a6(0x173)]))['subscribe'](_0x4f0715=>{const _0xb8c15d=_0x2214a6;_0x4f0715===_0x289c2c[_0xb8c15d(0x3c7)][_0xb8c15d(0x1b5)]?this[_0xb8c15d(0x2f4)]():this[_0xb8c15d(0x30d)]();}),this[_0x2214a6(0x248)][_0x2214a6(0x4c6)][_0x2214a6(0x376)]((0x0,_0x5515fe[_0x2214a6(0x3e2)])(this[_0x2214a6(0x173)]))['subscribe'](_0x34cc0e=>{const _0x2b2415=_0x2214a6;let _0x5b9ef2=_0x34cc0e['eventID'];_0x5b9ef2===_0x518a46['CollaborationEvent']['UPDATE_CURSOR']&&this[_0x2b2415(0x1bf)](_0x34cc0e),_0x5b9ef2===_0x518a46[_0x2b2415(0x45c)][_0x2b2415(0x4a0)]&&this[_0x2b2415(0x4c7)](_0x34cc0e);}),this[_0x2214a6(0x3a7)](this[_0x2214a6(0x3cf)][_0x2214a6(0x21f)](_0x5de9f6=>{const _0x5c2a71=_0x2214a6;let _0x122893=_0x5de9f6[_0x5c2a71(0x31c)];_0x122893!=null&&this['_online']&&_0x5de9f6['id']===_0x904e3[_0x5c2a71(0x202)]['id']&&_0x122893[_0x5c2a71(0x1fb)]===this[_0x5c2a71(0x44c)]&&_0x122893[_0x5c2a71(0x4b5)]===!0x1&&_0x122893[_0x5c2a71(0x318)][_0x5c2a71(0x254)]>0x0&&this[_0x5c2a71(0x451)](_0x122893[_0x5c2a71(0x318)]);})),this[_0x2214a6(0x255)][_0x2214a6(0x47c)]['pipe']((0x0,_0x5515fe['takeUntil'])(this['dispose$']))[_0x2214a6(0x31e)](_0x2a73ad=>{const _0x55f7e4=_0x2214a6;if((_0x2a73ad==null?void 0x0:_0x2a73ad[_0x55f7e4(0x44c)])!==this[_0x55f7e4(0x44c)])return;let _0x5d0137={'eventID':_0x518a46[_0x55f7e4(0x45c)][_0x55f7e4(0x1c6)],'data':_0x2a73ad};this[_0x55f7e4(0x1bf)](_0x5d0137);}),this[_0x2214a6(0x3a7)](this[_0x2214a6(0x3cf)][_0x2214a6(0x21f)](_0x2b2ff1=>{const _0x1e883f=_0x2214a6;if(_0x2b2ff1[_0x1e883f(0x31c)]==null)return;let _0x1c4009=_0x2b2ff1['params'];if(_0x2b2ff1['id']!==_0x904e3['RichTextEditingMutation']['id']||_0x1c4009['unitId']!==this['unitID'])return;let _0x3975b2={'id':_0x1e883f(0x3b0),'params':_0x1c4009},_0x1bb996=this['cursorInfo'];for(let [_0x5afdbf,_0x5b6447]of _0x1bb996){let _0x39b52d={'id':_0x1e883f(0x3b0),'params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x5b6447[_0x1e883f(0x318)]}},_0x10a373=this[_0x1e883f(0x475)]['transformMutation'](_0x3975b2,_0x39b52d,!0x1);if((0x0,_0x518a46[_0x1e883f(0x4c0)])(_0x10a373))throw _0x10a373[_0x1e883f(0x194)];_0x1bb996[_0x1e883f(0x406)](_0x5afdbf,{..._0x5b6447,'ranges':_0x10a373[_0x1e883f(0x24f)][_0x1e883f(0x31c)][_0x1e883f(0x1dd)]});}queueMicrotask(()=>{const _0x56a2e6=_0x1e883f;this['_cursorInfo$'][_0x56a2e6(0x29d)](_0x1bb996);});})));}[_0x470848(0x1bf)](_0x2118a9){const _0x58e3d6=_0x470848;var _0x54caf5,_0x69e501;let {memberID:_0x170310,selection:_0x389ac8}=_0x2118a9[_0x58e3d6(0x3f5)],_0x4a06d6=_0x10278c(_0x389ac8),_0x58f88b=(_0x54caf5=(_0x69e501=this[_0x58e3d6(0x34e)][_0x58e3d6(0x283)](this[_0x58e3d6(0x44c)],_0x170310))==null?void 0x0:_0x69e501[_0x58e3d6(0x4a9)])==null?_0x58e3d6(0x2b2):_0x54caf5,_0x384498={'color':this[_0x58e3d6(0x2c7)][_0x58e3d6(0x360)](_0x170310),'name':_0x58f88b,'ranges':_0x4a06d6},_0x1a3a22=this['cursorInfo'];_0x1a3a22[_0x58e3d6(0x406)](_0x170310,_0x384498),this[_0x58e3d6(0x1af)][_0x58e3d6(0x29d)](_0x1a3a22);}[_0x470848(0x4c7)](_0x50f53f){const _0xc52a20=_0x470848;let {memberID:_0x4d093c}=_0x50f53f[_0xc52a20(0x3f5)],_0x3e4823=this[_0xc52a20(0x33d)];_0x3e4823[_0xc52a20(0x460)](_0x4d093c),this[_0xc52a20(0x1af)]['next'](_0x3e4823);}['_toggleOnline'](){const _0x4caa45=_0x470848;var _0x248a85;if(this[_0x4caa45(0x358)]=!0x0,((_0x248a85=this[_0x4caa45(0x48a)][_0x4caa45(0x31d)]())==null?void 0x0:_0x248a85[_0x4caa45(0x2fe)]())!==this[_0x4caa45(0x44c)])return;let _0x353c34=this[_0x4caa45(0x240)]['get'](_0x904e3[_0x4caa45(0x1d0)])['getDocRanges']();Array[_0x4caa45(0x26e)](_0x353c34)&&_0x353c34[_0x4caa45(0x254)]>0x0&&this[_0x4caa45(0x451)](_0x353c34);}[_0x470848(0x30d)](){const _0x1064ef=_0x470848;this[_0x1064ef(0x358)]=!0x1;}};_0x1be286=_0x265259([_0x4f2c8d(0x2,(0x0,_0x3378d6['Inject'])(_0x3378d6[_0x470848(0x200)])),_0x4f2c8d(0x3,(0x0,_0x3378d6[_0x470848(0x331)])(_0x5a49d8)),_0x4f2c8d(0x4,(0x0,_0x3378d6[_0x470848(0x331)])(_0x289c2c[_0x470848(0x209)])),_0x4f2c8d(0x5,(0x0,_0x3378d6[_0x470848(0x331)])(_0x3ebe55)),_0x4f2c8d(0x6,_0x518a46['ITransformService']),_0x4f2c8d(0x7,_0x3378d6[_0x470848(0x180)]),_0x4f2c8d(0x8,_0x3378d6[_0x470848(0x3d2)])],_0x1be286);let _0x54b4b6=()=>{let _0x2c6934=[],_0x38f232=!0x1;return _0xcb4dc3=>{_0x2c6934['push'](_0xcb4dc3),_0x38f232||(_0x38f232=!0x0,setTimeout(()=>{const _0x4bee28=_0x3560;_0x2c6934[_0x4bee28(0x315)](_0x27c24e=>_0x27c24e()),_0x2c6934=[],_0x38f232=!0x1;}));};},_0x3b554b=class extends _0x3378d6[_0x470848(0x42a)]{get[_0x470848(0x33d)](){const _0x501c0f=_0x470848;return this['_cursorInfo$'][_0x501c0f(0x434)]();}get[_0x470848(0x330)](){const _0xdf65c0=_0x470848;return this[_0xdf65c0(0x1e2)][_0xdf65c0(0x434)]();}constructor(_0x55e8f9,_0x9b51f7,_0xfd2be3,_0xb8488d,_0x47f407,_0x3e4572,_0x1e9317,_0x30d495){const _0x1ed816=_0x470848;super(),this[_0x1ed816(0x44c)]=_0x55e8f9,this[_0x1ed816(0x248)]=_0x9b51f7,this[_0x1ed816(0x240)]=_0xfd2be3,this[_0x1ed816(0x2c7)]=_0xb8488d,this[_0x1ed816(0x34e)]=_0x47f407,this[_0x1ed816(0x48a)]=_0x3e4572,this[_0x1ed816(0x3cf)]=_0x1e9317,this['_refRangeService']=_0x30d495,_0x317deb(this,_0x1ed816(0x358),!0x1),_0x317deb(this,_0x1ed816(0x1a4),!0x1),_0x317deb(this,_0x1ed816(0x1af),new _0x5515fe[(_0x1ed816(0x4b4))](new Map())),_0x317deb(this,'cursorInfo$',this['_cursorInfo$'][_0x1ed816(0x38e)]()),_0x317deb(this,'_roomMembers$',new _0x5515fe[(_0x1ed816(0x4b4))]([])),_0x317deb(this,'roomMembers$',this[_0x1ed816(0x1e2)][_0x1ed816(0x376)]((0x0,_0x5515fe[_0x1ed816(0x22a)])(0x12c))),_0x317deb(this,_0x1ed816(0x451),(0x0,_0x3378d6[_0x1ed816(0x1fd)])((_0x2bf1e4,_0x41abf4)=>{const _0xe83931=_0x1ed816;let _0x4ea363={'eventID':_0x518a46['CollaborationEvent'][_0xe83931(0x1c6)],'data':{'unitID':this['unitID'],'memberID':this[_0xe83931(0x248)]['getMemberID'](),'selection':(0x0,_0x4599c2[_0xe83931(0x321)])(_0x2bf1e4,_0x41abf4[_0xe83931(0x429)])}};this[_0xe83931(0x248)][_0xe83931(0x22f)](_0x4ea363,this[_0xe83931(0x44c)]);},0x64));}[_0x470848(0x39c)](){const _0xa5780e=_0x470848;super['dispose'](),this[_0xa5780e(0x1af)][_0xa5780e(0x29d)](new Map()),this[_0xa5780e(0x1af)][_0xa5780e(0x28f)](),this[_0xa5780e(0x1e2)][_0xa5780e(0x29d)]([]),this[_0xa5780e(0x1e2)][_0xa5780e(0x28f)]();}['init'](){const _0x43ed5d=_0x470848;this[_0x43ed5d(0x1a4)]||(this[_0x43ed5d(0x1a4)]=!0x0,this['_session']['sessionStatus$'][_0x43ed5d(0x376)]((0x0,_0x5515fe[_0x43ed5d(0x3e2)])(this['dispose$']))['subscribe'](_0x15f3f0=>{const _0x2e9d18=_0x43ed5d;_0x15f3f0===_0x289c2c[_0x2e9d18(0x3c7)][_0x2e9d18(0x1b5)]?this[_0x2e9d18(0x2f4)]():this[_0x2e9d18(0x30d)]();}),this['_session']['event$'][_0x43ed5d(0x376)]((0x0,_0x5515fe[_0x43ed5d(0x3e2)])(this[_0x43ed5d(0x173)]))[_0x43ed5d(0x31e)](_0x4064d8=>{const _0xd111ea=_0x43ed5d;let _0x34fe02=_0x4064d8[_0xd111ea(0x32d)];_0x34fe02===_0x518a46[_0xd111ea(0x45c)][_0xd111ea(0x1c6)]&&this[_0xd111ea(0x1bf)](_0x4064d8),_0x34fe02===_0x518a46[_0xd111ea(0x45c)][_0xd111ea(0x4a0)]&&this[_0xd111ea(0x4c7)](_0x4064d8);}),this['_onRefRangeChange'](),this[_0x43ed5d(0x3a7)](this['_commandService'][_0x43ed5d(0x21f)](_0x4de03d=>{const _0x2689b9=_0x43ed5d;if(this['_online']&&_0x4de03d['id']===_0x277df0[_0x2689b9(0x4b2)]['id']&&_0x4de03d[_0x2689b9(0x31c)][_0x2689b9(0x1fb)]===this[_0x2689b9(0x44c)]){let _0x30251a=_0x4de03d[_0x2689b9(0x31c)];this[_0x2689b9(0x451)](_0x30251a[_0x2689b9(0x3cb)],_0x30251a['selections'][0x0]);}})));}['_onCursorUpdate'](_0x10a0f0){const _0x521957=_0x470848;var _0x306fee,_0x23a041;let {memberID:_0xb53e53,selection:_0x8026cd}=_0x10a0f0['data'],{sheetName:_0x14b153,range:_0x5ddada}=(0x0,_0x4599c2[_0x521957(0x1f5)])(_0x8026cd),_0xf818d6={'name':(_0x306fee=(_0x23a041=this[_0x521957(0x34e)][_0x521957(0x283)](this[_0x521957(0x44c)],_0xb53e53))==null?void 0x0:_0x23a041[_0x521957(0x4a9)])==null?_0x521957(0x2b2):_0x306fee,'range':this['_getMergeRange'](_0x14b153,_0x5ddada),'sheetID':_0x14b153,'color':this[_0x521957(0x2c7)][_0x521957(0x360)](_0xb53e53),'selection':_0x8026cd},_0x162d7a=this[_0x521957(0x33d)];_0x162d7a[_0x521957(0x406)](_0xb53e53,_0xf818d6),this[_0x521957(0x1af)]['next'](_0x162d7a);}[_0x470848(0x4c7)](_0x341f18){const _0x3e4858=_0x470848;let {memberID:_0x5ac9cb}=_0x341f18[_0x3e4858(0x3f5)],_0x434edf=this[_0x3e4858(0x33d)];_0x434edf[_0x3e4858(0x460)](_0x5ac9cb),this['_cursorInfo$'][_0x3e4858(0x29d)](_0x434edf);}[_0x470848(0x172)](_0x185b51,_0x4d3670){const _0x145516=_0x470848;var _0x238b85;let _0x459317=(_0x238b85=this[_0x145516(0x48a)][_0x145516(0x3ee)](this['unitID']))==null||(_0x238b85=_0x238b85['getSheetBySheetId'](_0x185b51))==null?void 0x0:_0x238b85[_0x145516(0x34b)]();return(_0x459317==null?void 0x0:_0x459317[_0x145516(0x403)](_0x74bf43=>_0x3378d6[_0x145516(0x20c)][_0x145516(0x2ed)](_0x74bf43,_0x4d3670)))||_0x4d3670;}[_0x470848(0x479)](){const _0x3bec26=_0x470848;let _0x53fb24=new _0x3378d6[(_0x3bec26(0x2a9))](),_0x2599b3=_0x54b4b6(),_0x5c97be=()=>{const _0x20a5e1=_0x3bec26;_0x53fb24[_0x20a5e1(0x39c)]();let _0x4d8d18=(_0x247876,_0x53601c,_0x2a9fe2,_0x2fe41f)=>{const _0x4d130f=_0x20a5e1;let _0x2dbced=[];switch(_0x247876['id']){case _0x277df0[_0x4d130f(0x18f)][_0x4d130f(0x30c)]:_0x2dbced=(0x0,_0x277df0[_0x4d130f(0x322)])(_0x247876,_0x2fe41f);break;case _0x277df0[_0x4d130f(0x18f)][_0x4d130f(0x1c2)]:_0x2dbced=(0x0,_0x277df0[_0x4d130f(0x1f6)])(_0x247876,_0x2fe41f);break;case _0x277df0['EffectRefRangId']['InsertColCommandId']:_0x2dbced=(0x0,_0x277df0[_0x4d130f(0x2df)])(_0x247876,_0x2fe41f);break;case _0x277df0[_0x4d130f(0x18f)][_0x4d130f(0x203)]:_0x2dbced=(0x0,_0x277df0[_0x4d130f(0x289)])(_0x247876,_0x2fe41f);break;case _0x277df0[_0x4d130f(0x18f)]['InsertRangeMoveRightCommandId']:_0x2dbced=(0x0,_0x277df0['handleInsertRangeMoveRight'])(_0x247876,_0x2fe41f);break;case _0x277df0[_0x4d130f(0x18f)]['InsertRowCommandId']:_0x2dbced=(0x0,_0x277df0['handleInsertRow'])(_0x247876,_0x2fe41f);break;case _0x277df0[_0x4d130f(0x18f)][_0x4d130f(0x2ae)]:_0x2dbced=(0x0,_0x277df0[_0x4d130f(0x44b)])(_0x247876,_0x2fe41f);break;case _0x277df0[_0x4d130f(0x18f)][_0x4d130f(0x298)]:_0x2dbced=(0x0,_0x277df0['handleIRemoveCol'])(_0x247876,_0x2fe41f);break;case _0x277df0[_0x4d130f(0x18f)][_0x4d130f(0x326)]:_0x2dbced=(0x0,_0x277df0[_0x4d130f(0x184)])(_0x247876,_0x2fe41f);break;}let _0xad374d=(0x0,_0x277df0[_0x4d130f(0x32c)])(_0x2dbced,_0x2fe41f),_0x5e8e22=this[_0x4d130f(0x33d)][_0x4d130f(0x226)](_0x53601c);if(_0x5e8e22&&_0xad374d){let _0x51ae36={..._0x5e8e22,'range':_0xad374d};this[_0x4d130f(0x33d)][_0x4d130f(0x406)](_0x53601c,_0x51ae36),_0x2599b3(()=>{const _0x2f7dc9=_0x4d130f;let _0x9653b8=this[_0x2f7dc9(0x418)][_0x2f7dc9(0x441)](_0xad374d,_0x528d4d=>(_0x9653b8['dispose'](),_0x4d8d18(_0x528d4d,_0x53601c,_0x2a9fe2,_0xad374d)));_0x53fb24[_0x2f7dc9(0x345)](_0x9653b8);});}return{'redos':[],'undos':[]};};this[_0x20a5e1(0x33d)][_0x20a5e1(0x315)]((_0x4c477c,_0x43d463)=>{const _0x4f3d69=_0x20a5e1;let {range:_0x100f17,sheetID:_0x5ace62}=_0x4c477c,_0x3e878a=this['_refRangeService'][_0x4f3d69(0x441)](_0x100f17,_0x1f7d92=>(_0x3e878a[_0x4f3d69(0x39c)](),_0x4d8d18(_0x1f7d92,_0x43d463,_0x5ace62,_0x100f17)));_0x53fb24['add'](_0x3e878a);});};this[_0x3bec26(0x3a7)]((0x0,_0x3378d6[_0x3bec26(0x44d)])(this[_0x3bec26(0x1af)][_0x3bec26(0x31e)](()=>{_0x5c97be();})));}[_0x470848(0x2f4)](){const _0x1ba50b=_0x470848;var _0x1b733b,_0x32d1cd;if(this['_online']=!0x0,((_0x1b733b=this[_0x1ba50b(0x48a)][_0x1ba50b(0x31d)]())==null?void 0x0:_0x1b733b['getUnitId']())!==this[_0x1ba50b(0x44c)])return;let _0x5d25a8=(_0x32d1cd=this[_0x1ba50b(0x240)][_0x1ba50b(0x226)](_0x277df0[_0x1ba50b(0x21b)])[_0x1ba50b(0x42f)]())==null?void 0x0:_0x32d1cd[0x0],_0x2537b7=this[_0x1ba50b(0x48a)]['getCurrentUnitOfType'](_0x3378d6['UniverInstanceType'][_0x1ba50b(0x1ab)])['getActiveSheet']();_0x5d25a8&&_0x2537b7&&this[_0x1ba50b(0x451)](_0x2537b7[_0x1ba50b(0x293)](),_0x5d25a8);}[_0x470848(0x30d)](){const _0x33d19a=_0x470848;this[_0x33d19a(0x358)]=!0x1;}};_0x3b554b=_0x265259([_0x4f2c8d(0x2,(0x0,_0x3378d6[_0x470848(0x331)])(_0x3378d6['Injector'])),_0x4f2c8d(0x3,(0x0,_0x3378d6['Inject'])(_0x5a49d8)),_0x4f2c8d(0x4,(0x0,_0x3378d6['Inject'])(_0x289c2c['MemberService'])),_0x4f2c8d(0x5,_0x3378d6['IUniverInstanceService']),_0x4f2c8d(0x6,_0x3378d6['ICommandService']),_0x4f2c8d(0x7,(0x0,_0x3378d6[_0x470848(0x331)])(_0x277df0[_0x470848(0x3c0)]))],_0x3b554b);function _0x263f46(_0x1f68e3){const _0x371621=_0x470848;let _0x1443df;try{_0x1443df=JSON[_0x371621(0x1ea)](_0x1f68e3);}catch{return null;}if(typeof _0x1443df!=_0x371621(0x416)||!_0x1443df)return null;let _0x1ed8b3=_0x1443df;if(_0x1ed8b3[_0x371621(0x470)]!==_0x371621(0x357)||typeof _0x1ed8b3['unitId']!='string'||typeof _0x1ed8b3[_0x371621(0x3cb)]!=_0x371621(0x245))return null;let _0x4d1e7c=Array[_0x371621(0x26e)](_0x1ed8b3['selectedIds'])?_0x1ed8b3[_0x371621(0x1ce)][_0x371621(0x25d)](_0x1a8747=>typeof _0x1a8747==_0x371621(0x245)):[],_0x1cd7ab=typeof _0x1ed8b3[_0x371621(0x49a)]==_0x371621(0x245)?_0x1ed8b3['focusedId']:null;return{'kind':_0x371621(0x357),'unitId':_0x1ed8b3[_0x371621(0x1fb)],'subUnitId':_0x1ed8b3[_0x371621(0x3cb)],'selectedIds':_0x4d1e7c,'focusedId':_0x1cd7ab};}let _0x35adea=class extends _0x3378d6[_0x470848(0x42a)]{get[_0x470848(0x33d)](){const _0x6dd2ad=_0x470848;return this['_cursorInfo$'][_0x6dd2ad(0x434)]();}get[_0x470848(0x330)](){const _0x13657d=_0x470848;return this['_roomMembers$'][_0x13657d(0x434)]();}constructor(_0x4f65e2,_0x56c90a,_0x7bb386,_0x223b47,_0x35569f){const _0x313c8a=_0x470848;super(),this[_0x313c8a(0x44c)]=_0x4f65e2,this['_session']=_0x56c90a,this['_colorAssignService']=_0x7bb386,this[_0x313c8a(0x34e)]=_0x223b47,this['_slideDrawingStateService']=_0x35569f,_0x317deb(this,_0x313c8a(0x358),!0x1),_0x317deb(this,_0x313c8a(0x1a4),!0x1),_0x317deb(this,'_cursorInfo$',new _0x5515fe[(_0x313c8a(0x4b4))](new Map())),_0x317deb(this,_0x313c8a(0x4ad),this[_0x313c8a(0x1af)][_0x313c8a(0x38e)]()),_0x317deb(this,_0x313c8a(0x1e2),new _0x5515fe[(_0x313c8a(0x4b4))]([])),_0x317deb(this,_0x313c8a(0x2fb),this['_roomMembers$'][_0x313c8a(0x376)]((0x0,_0x5515fe[_0x313c8a(0x22a)])(0x12c))),_0x317deb(this,_0x313c8a(0x451),(0x0,_0x3378d6['debounce'])(_0x29fd91=>{const _0x2f83a3=_0x313c8a;let _0x2e7119=_0x29fd91[_0x2f83a3(0x39b)];if(!_0x2e7119||_0x2e7119[_0x2f83a3(0x1fb)]!==this['unitID'])return;let _0x28be49={'kind':'slide-element-selection','unitId':_0x2e7119[_0x2f83a3(0x1fb)],'subUnitId':_0x2e7119[_0x2f83a3(0x3cb)],'selectedIds':_0x29fd91[_0x2f83a3(0x1ce)][_0x2f83a3(0x25d)](_0x30c766=>typeof _0x30c766==_0x2f83a3(0x245)),'focusedId':_0x29fd91['focusedId']},_0x46da54={'eventID':_0x518a46[_0x2f83a3(0x45c)][_0x2f83a3(0x1c6)],'data':{'unitID':this[_0x2f83a3(0x44c)],'memberID':this['_session']['getMemberID'](),'selection':JSON[_0x2f83a3(0x3aa)](_0x28be49)}};this[_0x2f83a3(0x248)][_0x2f83a3(0x22f)](_0x46da54,this[_0x2f83a3(0x44c)]);},0x64));}[_0x470848(0x39c)](){const _0x503831=_0x470848;super[_0x503831(0x39c)](),this[_0x503831(0x1af)][_0x503831(0x29d)](new Map()),this[_0x503831(0x1af)][_0x503831(0x28f)](),this[_0x503831(0x1e2)][_0x503831(0x29d)]([]),this[_0x503831(0x1e2)][_0x503831(0x28f)]();}[_0x470848(0x21d)](){const _0x24eef2=_0x470848;this[_0x24eef2(0x1a4)]||(this['_init']=!0x0,this[_0x24eef2(0x248)]['sessionStatus$']['pipe']((0x0,_0x5515fe['takeUntil'])(this['dispose$']))[_0x24eef2(0x31e)](_0x35fb90=>{const _0x498cb6=_0x24eef2;_0x35fb90===_0x289c2c['SessionStatus'][_0x498cb6(0x1b5)]?this[_0x498cb6(0x2f4)]():this[_0x498cb6(0x30d)]();}),this[_0x24eef2(0x248)][_0x24eef2(0x4c6)][_0x24eef2(0x376)]((0x0,_0x5515fe[_0x24eef2(0x3e2)])(this[_0x24eef2(0x173)]))['subscribe'](_0x243baf=>{const _0x40fd03=_0x24eef2;let _0x2e89a7=_0x243baf[_0x40fd03(0x32d)];_0x2e89a7===_0x518a46['CollaborationEvent'][_0x40fd03(0x1c6)]&&this['_onCursorUpdate'](_0x243baf),_0x2e89a7===_0x518a46[_0x40fd03(0x45c)][_0x40fd03(0x4a0)]&&this[_0x40fd03(0x4c7)](_0x243baf);}),this[_0x24eef2(0x47d)][_0x24eef2(0x4bf)][_0x24eef2(0x376)]((0x0,_0x5515fe[_0x24eef2(0x3e2)])(this[_0x24eef2(0x173)]))[_0x24eef2(0x31e)](_0x2b42f3=>{const _0x1866aa=_0x24eef2;this[_0x1866aa(0x358)]&&this['_updateLocalCursor'](_0x2b42f3);}));}[_0x470848(0x1bf)](_0x33bff1){const _0x472a96=_0x470848;var _0x21ae0c,_0x2ea766,_0x481013,_0x1291fa;let {memberID:_0x45ae46,selection:_0x1e0c19}=_0x33bff1[_0x472a96(0x3f5)];if(_0x45ae46===((_0x21ae0c=(_0x2ea766=this[_0x472a96(0x248)])['getMemberID'])==null?void 0x0:_0x21ae0c[_0x472a96(0x442)](_0x2ea766)))return;let _0x553fe6=_0x263f46(_0x1e0c19);if(!_0x553fe6||_0x553fe6[_0x472a96(0x1fb)]!==this[_0x472a96(0x44c)])return;let _0x3be4f2=(_0x481013=(_0x1291fa=this[_0x472a96(0x34e)]['getMember'](this[_0x472a96(0x44c)],_0x45ae46))==null?void 0x0:_0x1291fa[_0x472a96(0x4a9)])==null?_0x472a96(0x2b2):_0x481013,_0x2b2e99={'color':this['_colorAssignService'][_0x472a96(0x360)](_0x45ae46),'name':_0x3be4f2,'unitId':_0x553fe6['unitId'],'subUnitId':_0x553fe6['subUnitId'],'selectedIds':_0x553fe6['selectedIds'],'focusedId':_0x553fe6['focusedId'],'selection':_0x1e0c19},_0x59db0d=new Map(this[_0x472a96(0x33d)]);_0x59db0d[_0x472a96(0x406)](_0x45ae46,_0x2b2e99),this['_cursorInfo$']['next'](_0x59db0d);}[_0x470848(0x4c7)](_0xde524){const _0x90c8b=_0x470848;let {memberID:_0x2eaf00}=_0xde524[_0x90c8b(0x3f5)],_0x3b2828=new Map(this[_0x90c8b(0x33d)]);_0x3b2828[_0x90c8b(0x460)](_0x2eaf00),this[_0x90c8b(0x1af)]['next'](_0x3b2828);}[_0x470848(0x2f4)](){const _0x41efd6=_0x470848;this[_0x41efd6(0x358)]=!0x0,this[_0x41efd6(0x451)](this['_slideDrawingStateService']['getSnapshot']());}['_toggleOffline'](){const _0x305716=_0x470848;this[_0x305716(0x358)]=!0x1;}};_0x35adea=_0x265259([_0x4f2c8d(0x2,(0x0,_0x3378d6[_0x470848(0x331)])(_0x5a49d8)),_0x4f2c8d(0x3,(0x0,_0x3378d6[_0x470848(0x331)])(_0x289c2c[_0x470848(0x209)])),_0x4f2c8d(0x4,(0x0,_0x3378d6[_0x470848(0x331)])(_0x524d80[_0x470848(0x383)]))],_0x35adea);let _0x3b029d=class extends _0x3378d6[_0x470848(0x42a)]{constructor(_0x202496,_0x4bd7e1,_0x2553a2){const _0x57195e=_0x470848;super(),this[_0x57195e(0x48a)]=_0x202496,this[_0x57195e(0x240)]=_0x4bd7e1,this[_0x57195e(0x386)]=_0x2553a2,_0x317deb(this,'_entities',new Map()),_0x317deb(this,_0x57195e(0x24b),new _0x5515fe[(_0x57195e(0x44f))]()),this[_0x57195e(0x1a4)]();}[_0x470848(0x39c)](){const _0x22093d=_0x470848;super['dispose'](),this[_0x22093d(0x24b)][_0x22093d(0x28f)](),this[_0x22093d(0x243)][_0x22093d(0x315)](_0x2681f9=>_0x2681f9[_0x22093d(0x39c)]());}['getCollabCursors$'](_0x554740){const _0x4af581=_0x470848;return this[_0x4af581(0x243)][_0x4af581(0x1c9)](_0x554740)?this[_0x4af581(0x243)][_0x4af581(0x226)](_0x554740)[_0x4af581(0x4ad)]:this[_0x4af581(0x24b)][_0x4af581(0x376)]((0x0,_0x5515fe[_0x4af581(0x25d)])(_0x117c8e=>_0x117c8e[_0x4af581(0x44c)]===_0x554740),(0x0,_0x5515fe[_0x4af581(0x187)])(_0x2204f2=>_0x2204f2[_0x4af581(0x4ad)]));}[_0x470848(0x1a4)](){const _0x1731d5=_0x470848;this[_0x1731d5(0x48a)][_0x1731d5(0x1e7)](_0x3378d6[_0x1731d5(0x2b5)][_0x1731d5(0x1ab)])[_0x1731d5(0x376)]((0x0,_0x5515fe[_0x1731d5(0x3e2)])(this[_0x1731d5(0x173)]))[_0x1731d5(0x31e)](async _0x4d5eec=>{const _0x29ac60=_0x1731d5;let _0x4617b9=_0x4d5eec[_0x29ac60(0x18a)][_0x29ac60(0x2fe)](),_0x55f70e=await this[_0x29ac60(0x286)](_0x4617b9);this[_0x29ac60(0x24b)][_0x29ac60(0x29d)](_0x55f70e),this[_0x29ac60(0x243)][_0x29ac60(0x406)](_0x4617b9,_0x55f70e);}),this[_0x1731d5(0x48a)][_0x1731d5(0x1e7)](_0x3378d6[_0x1731d5(0x2b5)]['UNIVER_DOC'])[_0x1731d5(0x376)]((0x0,_0x5515fe[_0x1731d5(0x3e2)])(this['dispose$']))['pipe']((0x0,_0x5515fe['filter'])(_0x344048=>!_0x344048[_0x1731d5(0x18a)]['getUnitId']()[_0x1731d5(0x42b)]('__')))['subscribe'](async _0x440143=>{const _0x253c82=_0x1731d5;let {unit:_0x3b733c}=_0x440143,_0xa76572=_0x3b733c[_0x253c82(0x2fe)](),_0x43a7e4=await this[_0x253c82(0x19f)](_0xa76572);this[_0x253c82(0x24b)][_0x253c82(0x29d)](_0x43a7e4),this[_0x253c82(0x243)]['set'](_0xa76572,_0x43a7e4);}),this[_0x1731d5(0x48a)][_0x1731d5(0x1e7)](_0x3378d6[_0x1731d5(0x2b5)][_0x1731d5(0x352)])[_0x1731d5(0x376)]((0x0,_0x5515fe[_0x1731d5(0x3e2)])(this[_0x1731d5(0x173)]))['subscribe'](async _0x11aa99=>{const _0x44a341=_0x1731d5;let _0x4c85bd=_0x11aa99[_0x44a341(0x18a)][_0x44a341(0x2fe)](),_0x3a6e8f=await this[_0x44a341(0x378)](_0x4c85bd);this[_0x44a341(0x24b)][_0x44a341(0x29d)](_0x3a6e8f),this[_0x44a341(0x243)][_0x44a341(0x406)](_0x4c85bd,_0x3a6e8f);}),this[_0x1731d5(0x48a)]['getTypeOfUnitAdded$'](_0x3378d6[_0x1731d5(0x2b5)][_0x1731d5(0x346)])[_0x1731d5(0x376)]((0x0,_0x5515fe[_0x1731d5(0x3e2)])(this[_0x1731d5(0x173)]))[_0x1731d5(0x31e)](async _0x44930b=>{const _0x184343=_0x1731d5;let _0x3b19fb=_0x44930b[_0x184343(0x18a)][_0x184343(0x2fe)](),_0x510128=await this[_0x184343(0x217)](_0x3b19fb);this['_entityInit$'][_0x184343(0x29d)](_0x510128),this[_0x184343(0x243)]['set'](_0x3b19fb,_0x510128);}),(0x0,_0x5515fe[_0x1731d5(0x443)])(this[_0x1731d5(0x48a)]['getTypeOfUnitDisposed$'](_0x3378d6[_0x1731d5(0x2b5)][_0x1731d5(0x43f)]),this[_0x1731d5(0x48a)][_0x1731d5(0x2c2)](_0x3378d6['UniverInstanceType'][_0x1731d5(0x1ab)]),this[_0x1731d5(0x48a)][_0x1731d5(0x2c2)](_0x3378d6[_0x1731d5(0x2b5)][_0x1731d5(0x352)]),this['_univerInstanceService'][_0x1731d5(0x2c2)](_0x3378d6[_0x1731d5(0x2b5)][_0x1731d5(0x346)]))[_0x1731d5(0x376)]((0x0,_0x5515fe[_0x1731d5(0x3e2)])(this['dispose$']))[_0x1731d5(0x31e)](_0x18dfc1=>{const _0x20162c=_0x1731d5;let _0xf8d673=_0x18dfc1[_0x20162c(0x2fe)](),_0x142daa=this['_entities'][_0x20162c(0x226)](_0xf8d673);_0x142daa&&(_0x142daa[_0x20162c(0x39c)](),this[_0x20162c(0x243)][_0x20162c(0x460)](_0xf8d673));});}async[_0x470848(0x286)](_0x4e03d0){const _0x23dcf5=_0x470848;let _0x1b8b5f=await this[_0x23dcf5(0x386)][_0x23dcf5(0x390)](_0x4e03d0),_0x4ee4e0=this[_0x23dcf5(0x240)]['createInstance'](_0x3b554b,_0x4e03d0,_0x1b8b5f);return _0x4ee4e0['init'](),_0x4ee4e0;}async[_0x470848(0x19f)](_0x598dce){const _0x59e091=_0x470848;let _0x4461db=await this[_0x59e091(0x386)][_0x59e091(0x390)](_0x598dce),_0x5561f0=this[_0x59e091(0x240)]['createInstance'](_0x1be286,_0x598dce,_0x4461db);return _0x5561f0[_0x59e091(0x21d)](),_0x5561f0;}async[_0x470848(0x378)](_0x3118f1){const _0x6886aa=_0x470848;let _0x3f7edc=await this[_0x6886aa(0x386)]['requireSession'](_0x3118f1),_0x416652=this[_0x6886aa(0x240)][_0x6886aa(0x1a9)](_0x35adea,_0x3118f1,_0x3f7edc);return _0x416652[_0x6886aa(0x21d)](),_0x416652;}async[_0x470848(0x217)](_0x25e170){const _0x4d4e06=_0x470848;let _0x4879b0=await this[_0x4d4e06(0x386)][_0x4d4e06(0x390)](_0x25e170),_0x54d52a=this['_injector'][_0x4d4e06(0x1a9)](_0x308f67,_0x25e170,_0x4879b0);return _0x54d52a[_0x4d4e06(0x21d)](),_0x54d52a;}};_0x3b029d=_0x265259([_0x4f2c8d(0x0,_0x3378d6[_0x470848(0x180)]),_0x4f2c8d(0x1,(0x0,_0x3378d6[_0x470848(0x331)])(_0x3378d6['Injector'])),_0x4f2c8d(0x2,(0x0,_0x3378d6[_0x470848(0x331)])(_0x289c2c[_0x470848(0x1f4)]))],_0x3b029d);let _0x4f3792=class extends _0x3378d6[_0x470848(0x42a)]{constructor(_0x25f028,_0x1e3e1d,_0x309ec4){const _0x4c9bad=_0x470848;super(),this[_0x4c9bad(0x40a)]=_0x25f028,this['_collabCursorController']=_0x1e3e1d,this[_0x4c9bad(0x1f3)]=_0x309ec4,_0x317deb(this,'_cursors',new Set()),_0x317deb(this,_0x4c9bad(0x2cf),!0x1),_0x317deb(this,_0x4c9bad(0x23c),!0x1),_0x317deb(this,_0x4c9bad(0x44e),new Map()),this['_init']();}[_0x470848(0x39c)](){const _0x3ca614=_0x470848;this[_0x3ca614(0x400)](),super[_0x3ca614(0x39c)]();}['_init'](){const _0x4d0f4b=_0x470848;let _0x499c97=this[_0x4d0f4b(0x405)][_0x4d0f4b(0x16c)](this[_0x4d0f4b(0x40a)][_0x4d0f4b(0x1fb)]);this[_0x4d0f4b(0x3a7)]((0x0,_0x3378d6[_0x4d0f4b(0x44d)])((0x0,_0x5515fe[_0x4d0f4b(0x297)])([_0x499c97,this[_0x4d0f4b(0x40a)]['unit'][_0x4d0f4b(0x1d8)],this[_0x4d0f4b(0x1f3)][_0x4d0f4b(0x305)]])['pipe']((0x0,_0x5515fe['takeUntil'])(this[_0x4d0f4b(0x173)]))[_0x4d0f4b(0x31e)](([_0x15d55a])=>{const _0x36f339=_0x4d0f4b;let _0x4f83f3=this[_0x36f339(0x40a)][_0x36f339(0x18a)][_0x36f339(0x299)](),_0x398693=new Map();_0x15d55a['forEach']((_0x2e6858,_0x4f5606)=>{const _0x52a2be=_0x36f339;_0x2e6858[_0x52a2be(0x3cb)]===_0x4f83f3&&_0x398693['set'](_0x4f5606,{..._0x2e6858,'color':this['_themeService'][_0x52a2be(0x28b)](_0x2e6858[_0x52a2be(0x1e6)])});}),this[_0x36f339(0x44e)]=_0x398693,this['_scheduleRender']();})));let _0x50e671=this[_0x4d0f4b(0x40a)][_0x4d0f4b(0x1cb)];this['disposeWithMe']((0x0,_0x3378d6[_0x4d0f4b(0x44d)])(_0x50e671['addObject$'][_0x4d0f4b(0x376)]((0x0,_0x5515fe[_0x4d0f4b(0x3e2)])(this[_0x4d0f4b(0x173)]))[_0x4d0f4b(0x31e)](()=>{const _0x15be72=_0x4d0f4b;this[_0x15be72(0x23c)]||this[_0x15be72(0x49c)]();})));}[_0x470848(0x49c)](){const _0x416b67=_0x470848;this[_0x416b67(0x2cf)]||(this[_0x416b67(0x2cf)]=!0x0,Promise[_0x416b67(0x4a8)]()[_0x416b67(0x308)](()=>{const _0xa2c4b0=_0x416b67;this[_0xa2c4b0(0x2cf)]=!0x1,this['_render']();}));}[_0x470848(0x2d4)](){const _0x21d946=_0x470848;this[_0x21d946(0x400)]();let _0x3d5398=this['_context'][_0x21d946(0x18a)]['getActivePageId'](),_0x3972aa=[];if(this[_0x21d946(0x44e)]['forEach']((_0x11f90b,_0x208908)=>{const _0x67cf8b=_0x21d946;_0x11f90b[_0x67cf8b(0x3cb)]===_0x3d5398&&_0x11f90b[_0x67cf8b(0x1ce)][_0x67cf8b(0x315)](_0x3e9600=>{const _0x2dbfcc=_0x67cf8b;let _0x33fc55=(0x0,_0x199609[_0x2dbfcc(0x340)])(_0x11f90b[_0x2dbfcc(0x1fb)],_0x3e9600),_0x5cccd9=this[_0x2dbfcc(0x43a)](_0x33fc55);if(!_0x5cccd9)return;let _0x360fd0=this[_0x2dbfcc(0x2bd)](_0x5cccd9);_0x3972aa['push'](new _0xac951d(_0x2dbfcc(0x49e)+_0x208908+'-'+_0x3e9600,{..._0x11f90b,'left':_0x360fd0[_0x2dbfcc(0x3c2)],'top':_0x360fd0['top'],'width':_0x360fd0['width'],'height':_0x360fd0[_0x2dbfcc(0x279)],'angle':_0x5cccd9[_0x2dbfcc(0x33a)],'evented':!0x1,'zIndex':_0x344036}));});}),_0x3972aa[_0x21d946(0x254)]===0x0){this['_context'][_0x21d946(0x1cb)]['makeDirty'](!0x0);return;}this[_0x21d946(0x23c)]=!0x0,this[_0x21d946(0x40a)][_0x21d946(0x1cb)][_0x21d946(0x16e)](_0x3972aa,_0x344036),this['_isApplyingOverlays']=!0x1,this[_0x21d946(0x196)]=new Set(_0x3972aa),this['_context'][_0x21d946(0x1cb)][_0x21d946(0x188)](!0x0);}[_0x470848(0x400)](){const _0x5a3bd4=_0x470848;let _0x1c982f=Array[_0x5a3bd4(0x452)](this[_0x5a3bd4(0x196)]);if(_0x1c982f[_0x5a3bd4(0x254)]===0x0)return;let _0x5898fa=this['_context'][_0x5a3bd4(0x1cb)];_0x5a3bd4(0x1a6)in _0x5898fa&&typeof _0x5898fa['removeObjects']==_0x5a3bd4(0x489)?_0x5898fa[_0x5a3bd4(0x1a6)](_0x1c982f):_0x1c982f['forEach'](_0x5b82a0=>{const _0x3885d8=_0x5a3bd4;'removeObject'in _0x5898fa&&typeof _0x5898fa[_0x3885d8(0x259)]==_0x3885d8(0x489)?_0x5898fa['removeObject'](_0x5b82a0):_0x5b82a0['dispose']();}),this[_0x5a3bd4(0x196)][_0x5a3bd4(0x2f8)](),_0x5898fa[_0x5a3bd4(0x188)](!0x0);}[_0x470848(0x43a)](_0x57714d){const _0x3af592=_0x470848;var _0x5a1a66,_0x16a3e7,_0x55faf0;let _0x7d43ad=this[_0x3af592(0x40a)][_0x3af592(0x1cb)];return(_0x5a1a66=(_0x16a3e7=(_0x55faf0=_0x7d43ad[_0x3af592(0x2e2)])==null?void 0x0:_0x55faf0[_0x3af592(0x442)](_0x7d43ad,_0x57714d))==null?_0x7d43ad['getObject'](_0x57714d):_0x16a3e7)==null?null:_0x5a1a66;}[_0x470848(0x2bd)](_0x59319a){const _0x4d17d5=_0x470848;var _0x4e64fc,_0x5271da;let _0x5e13cf=_0x59319a;return(_0x4e64fc=(_0x5271da=_0x5e13cf[_0x4d17d5(0x463)])==null?void 0x0:_0x5271da[_0x4d17d5(0x442)](_0x5e13cf))==null?{'left':_0x59319a[_0x4d17d5(0x3c2)],'top':_0x59319a[_0x4d17d5(0x2f7)],'width':_0x59319a[_0x4d17d5(0x2a6)],'height':_0x59319a['height']}:_0x4e64fc;}};_0x4f3792=_0x265259([_0x4f2c8d(0x1,(0x0,_0x3378d6[_0x470848(0x331)])(_0x3b029d)),_0x4f2c8d(0x2,(0x0,_0x3378d6[_0x470848(0x331)])(_0x3378d6[_0x470848(0x3a2)]))],_0x4f3792);let _0x469998=_0x470848(0x275);var _0x33bf4d=class{constructor(_0x2754d6,_0x14698e,_0xdeb0ed,_0x24b4fb){const _0x158acd=_0x470848;this['_cursor']=_0x2754d6,this['_scene']=_0x14698e,this['_docSkeleton']=_0xdeb0ed,this[_0x158acd(0x462)]=_0x24b4fb,_0x317deb(this,'_shapes',[]),_0x317deb(this,_0x158acd(0x23d),null),_0x317deb(this,'_textBubble',null),_0x317deb(this,'_anchorDot',null),_0x317deb(this,_0x158acd(0x28e),null),_0x317deb(this,_0x158acd(0x392),null),this[_0x158acd(0x2d4)]();}set[_0x470848(0x2d7)](_0x419529){const _0x3e23b0=_0x470848;_0x419529?(this['_anchorDot']&&this['_anchorDot']['hide'](),this[_0x3e23b0(0x1d4)]&&this['_textBubble'][_0x3e23b0(0x3ea)]()):(this[_0x3e23b0(0x4b6)]&&this[_0x3e23b0(0x4b6)]['show'](),this['_textBubble']&&this[_0x3e23b0(0x1d4)][_0x3e23b0(0x26f)]());}[_0x470848(0x39c)](){const _0x27e374=_0x470848;for(let _0xae1db7 of this[_0x27e374(0x272)])_0xae1db7[_0x27e374(0x39c)]();this[_0x27e374(0x1d4)]&&this[_0x27e374(0x1d4)][_0x27e374(0x39c)](),this['_anchorDot']&&this[_0x27e374(0x4b6)][_0x27e374(0x39c)](),this[_0x27e374(0x23d)]&&this[_0x27e374(0x23d)][_0x27e374(0x39c)](),this['_eventUnsubscribe']&&this['_eventUnsubscribe']();}['_render'](){const _0x5a0f28=_0x470848;let {_docSkeleton:_0x189445,_document:_0x10968f}=this,{color:_0x440980,name:_0x127901,ranges:_0x1542ca}=this[_0x5a0f28(0x401)],_0x775317=_0x10968f['getOffsetConfig'](),{docsLeft:_0x97e37b,docsTop:_0x1561d0}=_0x775317,_0x1775b6=new _0xe8b960[(_0x5a0f28(0x34d))](_0x775317,_0x189445);for(let {startOffset:_0x32c70c,endOffset:_0x217dd0,rangeType:_0x5e5b1d,segmentId:_0x424f25,segmentPage:_0x739348,collapsed:_0x438491,isActive:_0x11c377}of _0x1542ca){let _0x481665=_0x189445[_0x5a0f28(0x304)](_0x32c70c,!0x0,_0x424f25,_0x739348),_0x32daad=_0x189445[_0x5a0f28(0x304)](_0x217dd0,!0x0,_0x424f25,_0x739348);if(_0x32daad==null&&(_0x32daad=_0x189445[_0x5a0f28(0x304)](_0x217dd0-0x1,!0x1,_0x424f25,_0x739348)),_0x11c377){let {contentBoxPointGroup:_0xc29ab0}=_0x1775b6[_0x5a0f28(0x2ef)](_0x32daad,_0x32daad);if(_0xc29ab0['length']===0x0)continue;this[_0x5a0f28(0x3cd)](_0x440980,_0xc29ab0,_0x97e37b,_0x1561d0,_0x127901),this['_eventUnsubscribe']=this[_0x5a0f28(0x428)]();}if(_0x481665&&_0x32daad){if(_0x5e5b1d===_0x3378d6[_0x5a0f28(0x1e8)][_0x5a0f28(0x3da)]){var _0x5a043b;let {pointGroup:_0x2013d1}=(_0x5a043b=new _0xe8b960['NodePositionConvertToRectRange'](_0x775317,_0x189445)['getRangePointData'](_0x481665,_0x32daad))==null?{}:_0x5a043b;if(_0x2013d1==null||_0x2013d1[_0x5a0f28(0x254)]===0x0)continue;this[_0x5a0f28(0x36a)](_0x440980,_0x2013d1,_0x97e37b,_0x1561d0);}else{if(!_0x438491){let {borderBoxPointGroup:_0x9fe1a5}=_0x1775b6[_0x5a0f28(0x2ef)](_0x481665,_0x32daad);if(_0x9fe1a5[_0x5a0f28(0x254)]===0x0)continue;this[_0x5a0f28(0x48c)](_0x440980,_0x9fe1a5,_0x97e37b,_0x1561d0);}}}}}[_0x470848(0x3cd)](_0x591d35,_0x13196e,_0x3404c7,_0xa12e52,_0x3e142b){const _0xaf1dde=_0x470848;let {left:_0x2912f5,top:_0x16c64a,height:_0x503fff}=this['_getAnchorBounding'](_0x13196e),_0x34e5ba=1.5/this[_0xaf1dde(0x296)](),_0xc1c7d4=new _0x21620d[(_0xaf1dde(0x465))](_0x469998+(0x0,_0x3378d6[_0xaf1dde(0x4c4)])(0x6),{'left':_0x2912f5+_0x3404c7-_0x34e5ba,'top':_0x16c64a+_0xa12e52,'height':_0x503fff,'width':1.5,'fill':_0x591d35||(0x0,_0x21620d['getColor'])(_0x3378d6[_0xaf1dde(0x1d5)][_0xaf1dde(0x30e)],0x0),'strokeWidth':_0x34e5ba,'stroke':'rgba(255,\x20255,\x20255,\x200.01)','evented':!0x0});this[_0xaf1dde(0x23d)]=_0xc1c7d4,this['_scene']['addObject'](_0xc1c7d4,_0xe8b960[_0xaf1dde(0x3c5)]);let _0x156f8=new _0x21620d[(_0xaf1dde(0x465))](_0x469998+(0x0,_0x3378d6[_0xaf1dde(0x4c4)])(0x6),{'left':_0x2912f5+_0x3404c7-_0x34e5ba,'top':_0x16c64a+_0xa12e52-0x4/0x2,'height':0x4,'width':0x4,'fill':_0x591d35||(0x0,_0x21620d['getColor'])(_0x3378d6[_0xaf1dde(0x1d5)][_0xaf1dde(0x30e)],0x0),'strokeWidth':0x0,'stroke':_0x591d35||(0x0,_0x21620d[_0xaf1dde(0x3d3)])(_0x3378d6[_0xaf1dde(0x1d5)][_0xaf1dde(0x30e)],0x0),'evented':!0x1});this[_0xaf1dde(0x4b6)]=_0x156f8,this[_0xaf1dde(0x1b3)][_0xaf1dde(0x41a)](_0x156f8,_0xe8b960[_0xaf1dde(0x3c5)]);let _0x500f21=new _0x576e12(_0x469998+(0x0,_0x3378d6['generateRandomId'])(0x6),{'left':_0x2912f5+_0x3404c7-_0x34e5ba,'top':_0x16c64a+_0xa12e52-0x14,'text':_0x3e142b,'color':_0x591d35});this[_0xaf1dde(0x1d4)]=_0x500f21,this[_0xaf1dde(0x1b3)]['addObject'](_0x500f21,_0xe8b960['TEXT_RANGE_LAYER_INDEX']),this[_0xaf1dde(0x2d7)]=!0x1;}[_0x470848(0x428)](){const _0x319085=_0x470848;let _0x190405=this['_anchor'][_0x319085(0x1bd)][_0x319085(0x49b)](()=>{const _0x3da89c=_0x319085;this[_0x3da89c(0x2d7)]=!0x0;}),_0x37db2b=this[_0x319085(0x23d)]['onPointerLeave$'][_0x319085(0x49b)](()=>{const _0x3f03b4=_0x319085;this[_0x3f03b4(0x28e)]&&clearTimeout(this['_hideTimer']),this[_0x3f03b4(0x28e)]=setTimeout(()=>{const _0x5eebc6=_0x3f03b4;this[_0x5eebc6(0x2d7)]=!0x1;},0x7d0);});return()=>{const _0x28db24=_0x319085;_0x190405[_0x28db24(0x1d9)](),_0x37db2b[_0x28db24(0x1d9)]();};}[_0x470848(0x48c)](_0x4c6b0f,_0x368dfe,_0x5c06a2,_0x2b3542){const _0x592702=_0x470848;let _0x1e046d=0.2,_0x5cc0d7=new _0x3378d6[(_0x592702(0x1a1))](_0x4c6b0f)[_0x592702(0x1a5)](_0x1e046d)[_0x592702(0x33e)](),_0x363474=new _0x21620d[(_0x592702(0x2e4))](_0x592702(0x2ee)+(0x0,_0x3378d6[_0x592702(0x4c4)])(0x6),{'pointsGroup':_0x368dfe,'fill':_0x5cc0d7||(0x0,_0x21620d['getColor'])(_0x3378d6[_0x592702(0x1d5)][_0x592702(0x30e)],_0x1e046d),'left':_0x5c06a2,'top':_0x2b3542,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x592702(0x272)][_0x592702(0x207)](_0x363474),this['_scene'][_0x592702(0x41a)](_0x363474,_0xe8b960['TEXT_RANGE_LAYER_INDEX']);}['_drawRectRange'](_0x5af5fb,_0x296e76,_0x4735a2,_0x159674){const _0x52fe90=_0x470848;let _0x3c0fb2=0.2,_0x4b4b5a=new _0x3378d6[(_0x52fe90(0x1a1))](_0x5af5fb)['setAlpha'](_0x3c0fb2)['toRgbString'](),_0xef8584=new _0x21620d['RegularPolygon'](_0x52fe90(0x497)+(0x0,_0x3378d6['generateRandomId'])(0x6),{'pointsGroup':_0x296e76,'fill':_0x4b4b5a||(0x0,_0x21620d[_0x52fe90(0x3d3)])(_0x3378d6[_0x52fe90(0x1d5)][_0x52fe90(0x30e)],_0x3c0fb2),'left':_0x4735a2,'top':_0x159674,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x52fe90(0x272)][_0x52fe90(0x207)](_0xef8584),this[_0x52fe90(0x1b3)][_0x52fe90(0x41a)](_0xef8584,_0xe8b960['TEXT_RANGE_LAYER_INDEX']);}[_0x470848(0x449)](_0x1eaac2){let _0xb862dc=_0x1eaac2[0x0],_0x5be60e=_0xb862dc[0x0],_0x2cb52d=_0xb862dc[0x2],{x:_0x21083a,y:_0x40a939}=_0x5be60e,{x:_0x543591,y:_0x1817b8}=_0x2cb52d;return{'left':_0x21083a,'top':_0x40a939,'width':_0x543591-_0x21083a,'height':_0x1817b8-_0x40a939};}[_0x470848(0x296)](){const _0x320a66=_0x470848;let {scaleX:_0xc73a71,scaleY:_0x24ea84}=this[_0x320a66(0x1b3)][_0x320a66(0x369)]();return Math[_0x320a66(0x24e)](_0xc73a71,_0x24ea84);}};let _0x42c69d=class extends _0x3378d6['RxDisposable']{constructor(_0x5e3ce7,_0x1103a3,_0x80dc36,_0x4afc9e,_0x20116d){const _0x34c4ee=_0x470848;super(),this[_0x34c4ee(0x40a)]=_0x5e3ce7,this[_0x34c4ee(0x291)]=_0x1103a3,this[_0x34c4ee(0x405)]=_0x80dc36,this[_0x34c4ee(0x3cf)]=_0x4afc9e,this[_0x34c4ee(0x1f3)]=_0x20116d,_0x317deb(this,_0x34c4ee(0x431),[]),_0x317deb(this,_0x34c4ee(0x196),[]),this[_0x34c4ee(0x1a4)]();}['_init'](){const _0xfa924a=_0x470848;let _0x1ab01b=this[_0xfa924a(0x40a)][_0xfa924a(0x1fb)],_0x46296c=this[_0xfa924a(0x291)];this[_0xfa924a(0x3a7)]((0x0,_0x5515fe['combineLatest'])([this['_collabCursorController']['getCollabCursors$'](_0x1ab01b),this[_0xfa924a(0x1f3)][_0xfa924a(0x305)]])[_0xfa924a(0x376)]((0x0,_0x18241c['map'])(([_0x3869a8,_0x2d8063])=>({'skeleton':_0x46296c[_0xfa924a(0x251)](),'cursors':[..._0x3869a8['values']()][_0xfa924a(0x176)](_0x3a262d=>({..._0x3a262d,'color':this['_themeService'][_0xfa924a(0x28b)](_0x3a262d['color'])}))})))[_0xfa924a(0x31e)](_0x12fa82=>{const _0x34f80c=_0xfa924a;if(this[_0x34f80c(0x400)](),_0x12fa82){let {skeleton:_0x575c0e,cursors:_0x3cb942}=_0x12fa82;this[_0x34f80c(0x2db)](_0x575c0e,_0x3cb942);}})),this[_0xfa924a(0x2c9)](),this[_0xfa924a(0x3d9)]();}[_0x470848(0x2db)](_0xe7f342,_0x1f76c7){const _0x5290b2=_0x470848;let {scene:_0x7b0600,mainComponent:_0x3aa745}=this['_context'],_0x34ca63=_0x1f76c7[_0x5290b2(0x40f)](_0x3ed41a=>new _0x33bf4d(_0x3ed41a,_0x7b0600,_0xe7f342,_0x3aa745));this[_0x5290b2(0x431)]=_0x34ca63,this[_0x5290b2(0x196)]=_0x1f76c7;}['_refreshCollabCursors'](){const _0x1567a9=_0x470848;this['_removeCollabCursors']();let {scene:_0x3da2ae,mainComponent:_0x3d4a7c}=this[_0x1567a9(0x40a)],_0x44bb70=this[_0x1567a9(0x291)][_0x1567a9(0x251)](),_0x3c0b6c=this['_cursors'][_0x1567a9(0x40f)](_0x4659f4=>new _0x33bf4d(_0x4659f4,_0x3da2ae,_0x44bb70,_0x3d4a7c));this[_0x1567a9(0x431)]=_0x3c0b6c;}[_0x470848(0x400)](){const _0x1aaadc=_0x470848;this[_0x1aaadc(0x431)][_0x1aaadc(0x315)](_0x1128ee=>_0x1128ee['dispose']()),this[_0x1aaadc(0x431)]=[];}[_0x470848(0x3d9)](){const _0x18a98a=_0x470848;let _0x29699e=[_0xe8b960['SetDocZoomRatioOperation']['id']];this['disposeWithMe'](this[_0x18a98a(0x3cf)][_0x18a98a(0x21f)](_0x218f24=>{const _0x132420=_0x18a98a;_0x29699e[_0x132420(0x18b)](_0x218f24['id'])&&_0x218f24[_0x132420(0x31c)][_0x132420(0x1fb)]===this[_0x132420(0x40a)][_0x132420(0x1fb)]&&this[_0x132420(0x4cf)]();}));}[_0x470848(0x2c9)](){const _0x5e40b1=_0x470848;this[_0x5e40b1(0x3a7)]((0x0,_0x3378d6[_0x5e40b1(0x33f)])(this[_0x5e40b1(0x40a)][_0x5e40b1(0x3bd)][_0x5e40b1(0x258)])[_0x5e40b1(0x376)]((0x0,_0x18241c[_0x5e40b1(0x25d)])(_0x38d302=>_0x38d302['type']===_0x21620d[_0x5e40b1(0x2e7)][_0x5e40b1(0x1be)]),(0x0,_0x18241c[_0x5e40b1(0x493)])(0x10))[_0x5e40b1(0x31e)](()=>{this['_refreshCollabCursors']();}));}};_0x42c69d=_0x265259([_0x4f2c8d(0x1,(0x0,_0x3378d6['Inject'])(_0x904e3[_0x470848(0x494)])),_0x4f2c8d(0x2,(0x0,_0x3378d6[_0x470848(0x331)])(_0x3b029d)),_0x4f2c8d(0x3,_0x3378d6[_0x470848(0x3d2)]),_0x4f2c8d(0x4,(0x0,_0x3378d6[_0x470848(0x331)])(_0x3378d6[_0x470848(0x3a2)]))],_0x42c69d);var _0x4b97e2=class extends _0x21620d[_0x470848(0x404)]{constructor(_0x4a1cb6,_0x2b317b){const _0x35107b=_0x470848;if(super(_0x4a1cb6,_0x2b317b),_0x317deb(this,_0x35107b(0x1cf),void 0x0),_0x317deb(this,_0x35107b(0x16d),!0x1),_0x317deb(this,_0x35107b(0x222),void 0x0),_0x317deb(this,_0x35107b(0x273),''),_0x317deb(this,_0x35107b(0x3bc),_0x35107b(0x2f7)),_0x317deb(this,_0x35107b(0x310),void 0x0),_0x317deb(this,_0x35107b(0x20a),void 0x0),_0x317deb(this,_0x35107b(0x29a),void 0x0),_0x317deb(this,_0x35107b(0x359),0x4),_0x317deb(this,_0x35107b(0x3ad),void 0x0),_0x317deb(this,'_blinkIntervalTimer',void 0x0),_0x317deb(this,_0x35107b(0x189),!0x0),_0x317deb(this,_0x35107b(0x3e7),0x0),_0x317deb(this,_0x35107b(0x432),'right'),_0x2b317b){var _0xad54d;if(this['setShapeProps'](_0x2b317b),_0x2b317b[_0x35107b(0x41b)]&&((_0xad54d=_0x2b317b[_0x35107b(0x3ff)])==null?this['_highlightSecond']:_0xad54d)){var _0x2e3c14;this[_0x35107b(0x3d4)]((_0x2e3c14=_0x2b317b[_0x35107b(0x3ff)])==null?this[_0x35107b(0x359)]:_0x2e3c14);}}this[_0x35107b(0x1bd)]['subscribeEvent'](()=>this[_0x35107b(0x467)]({'hovered':!0x0})),this['onPointerLeave$'][_0x35107b(0x49b)](()=>this['setShapeProps']({'hovered':!0x1}));}[_0x470848(0x454)](_0x3a70a8){const _0x399160=_0x470848;this[_0x399160(0x3e7)]=_0x3a70a8;}[_0x470848(0x467)](_0x2c8b53){const _0x15cb06=_0x470848;var _0x214e3e,_0x1772dd,_0xa8c6f1,_0x444875,_0x28bfc7,_0x397691,_0x1578f3,_0x49879b;this[_0x15cb06(0x1cf)]=(_0x214e3e=_0x2c8b53['color'])==null?this[_0x15cb06(0x1cf)]:_0x214e3e,this[_0x15cb06(0x16d)]=(_0x1772dd=_0x2c8b53[_0x15cb06(0x314)])==null?this[_0x15cb06(0x16d)]:_0x1772dd,this[_0x15cb06(0x222)]=(_0xa8c6f1=_0x2c8b53[_0x15cb06(0x429)])==null?this[_0x15cb06(0x222)]:_0xa8c6f1,this[_0x15cb06(0x273)]=(_0x444875=_0x2c8b53['name'])==null?this['_name']:_0x444875,this[_0x15cb06(0x3bc)]=(_0x28bfc7=_0x2c8b53['labelPosition'])==null?this['_labelPosition']:_0x28bfc7,this[_0x15cb06(0x310)]=(_0x397691=_0x2c8b53[_0x15cb06(0x2dc)])==null?this[_0x15cb06(0x310)]:_0x397691,this[_0x15cb06(0x20a)]=(_0x1578f3=_0x2c8b53[_0x15cb06(0x3f6)])==null?this['_showText']:_0x1578f3,this[_0x15cb06(0x432)]=(_0x49879b=_0x2c8b53[_0x15cb06(0x3c4)])==null?this[_0x15cb06(0x432)]:_0x49879b,_0x2c8b53[_0x15cb06(0x3ff)]!==void 0x0&&(this['_highlightSecond']=_0x2c8b53['highlightSecond']),_0x2c8b53[_0x15cb06(0x41b)]!==void 0x0&&(this['_highlight']=_0x2c8b53[_0x15cb06(0x41b)]),_0x2c8b53[_0x15cb06(0x1b2)]!==void 0x0&&(this[_0x15cb06(0x3e7)]=_0x2c8b53[_0x15cb06(0x1b2)]),this[_0x15cb06(0x402)]({'width':_0x2c8b53[_0x15cb06(0x2a6)],'height':_0x2c8b53[_0x15cb06(0x279)]});}[_0x470848(0x389)](_0x106169){const _0x14640a=_0x470848;let {row:_0x18023f,column:_0x35a5c8}=_0x106169;if(_0x18023f>=this[_0x14640a(0x222)][_0x14640a(0x288)]&&_0x18023f<=this[_0x14640a(0x222)][_0x14640a(0x199)]&&_0x35a5c8>=this[_0x14640a(0x222)][_0x14640a(0x3f2)]&&_0x35a5c8<=this[_0x14640a(0x222)][_0x14640a(0x370)]){this[_0x14640a(0x467)]({'hovered':!0x0});return;}this[_0x14640a(0x467)]({'hovered':!0x1});}[_0x470848(0x3d4)](_0x38e9ae){const _0x186d15=_0x470848;this[_0x186d15(0x477)](),this[_0x186d15(0x189)]=!0x0,this[_0x186d15(0x459)]=window[_0x186d15(0x1aa)](()=>{const _0x4f1f46=_0x186d15;this[_0x4f1f46(0x189)]=!this['_isBlinkVisible'],this[_0x4f1f46(0x188)](!0x0);},0x1f4),this[_0x186d15(0x3ad)]=window['setTimeout'](()=>{const _0x29773b=_0x186d15;this[_0x29773b(0x477)](),this[_0x29773b(0x189)]=!0x0,this['makeDirty'](!0x0);},_0x38e9ae*0x3e8);}[_0x470848(0x477)](){const _0x1187b3=_0x470848;this['_blinkIntervalTimer']&&(window[_0x1187b3(0x284)](this[_0x1187b3(0x459)]),this['_blinkIntervalTimer']=void 0x0),this[_0x1187b3(0x3ad)]&&(window[_0x1187b3(0x373)](this['_blinkTimer']),this['_blinkTimer']=void 0x0);}[_0x470848(0x27c)](_0x5f1271){return!0x1;}[_0x470848(0x39c)](){const _0x21c080=_0x470848;this[_0x21c080(0x477)](),super[_0x21c080(0x39c)]();}[_0x470848(0x3e4)](_0x3bac3c){const _0x43fe87=_0x470848;let _0x1a8dfd=this[_0x43fe87(0x1cf)],_0x568092=this[_0x43fe87(0x310)];if(this['_highlight']&&!this[_0x43fe87(0x189)]&&(_0x1a8dfd=this[_0x43fe87(0x43b)](this['_color']),_0x568092=this['_backgroundColor']?this[_0x43fe87(0x43b)](this[_0x43fe87(0x310)]):void 0x0),_0x21620d[_0x43fe87(0x465)][_0x43fe87(0x3f8)](_0x3bac3c,{'width':this['width'],'height':this[_0x43fe87(0x279)],'strokeWidth':this[_0x43fe87(0x408)]||1.5,'stroke':_0x1a8dfd,'evented':!0x1,'fill':_0x568092}),this[_0x43fe87(0x16d)]||this[_0x43fe87(0x20a)]){var _0x1149a0;_0x3bac3c[_0x43fe87(0x38c)]();let _0x4a856a=this[_0x43fe87(0x432)]===_0x43fe87(0x3c2)?-_0x12ec35(_0x3bac3c,this[_0x43fe87(0x273)]):this[_0x43fe87(0x2a6)];_0x3bac3c['transform'](0x1,0x0,0x0,0x1,_0x4a856a,(this[_0x43fe87(0x3bc)]==='bottom'?0x0:-0x14)+((_0x1149a0=this[_0x43fe87(0x3e7)])==null?0x0:_0x1149a0)),_0x576e12['drawWith'](_0x3bac3c,{'text':this[_0x43fe87(0x273)],'color':_0x1a8dfd}),_0x3bac3c[_0x43fe87(0x417)]();}}[_0x470848(0x43b)](_0x2d0799){const _0x4e5d5c=_0x470848;return _0x2d0799[_0x4e5d5c(0x42b)]('#')?_0x4e5d5c(0x4c8)+Number[_0x4e5d5c(0x2a1)](_0x2d0799['slice'](0x1,0x3),0x10)+',\x20'+Number['parseInt'](_0x2d0799['slice'](0x3,0x5),0x10)+',\x20'+Number['parseInt'](_0x2d0799['slice'](0x5,0x7),0x10)+_0x4e5d5c(0x183):_0x2d0799[_0x4e5d5c(0x42b)]('rgba')?_0x2d0799[_0x4e5d5c(0x2aa)](/[\d.]+\)$/g,_0x4e5d5c(0x4ca)):_0x2d0799[_0x4e5d5c(0x42b)](_0x4e5d5c(0x3a8))?_0x2d0799[_0x4e5d5c(0x2aa)](_0x4e5d5c(0x3a8),_0x4e5d5c(0x18e))[_0x4e5d5c(0x2aa)](')',_0x4e5d5c(0x183)):_0x2d0799;}};let _0x13f49e=class extends _0x3378d6[_0x470848(0x42a)]{constructor(_0x32a416,_0x31aae0,_0x41c4da,_0x41a4da){const _0x4bc5f3=_0x470848;super(),this['_context']=_0x32a416,this[_0x4bc5f3(0x1a3)]=_0x31aae0,this[_0x4bc5f3(0x405)]=_0x41c4da,this['_themeService']=_0x41a4da,_0x317deb(this,_0x4bc5f3(0x196),new Set()),_0x317deb(this,_0x4bc5f3(0x482),null),_0x317deb(this,_0x4bc5f3(0x2ec),null),this[_0x4bc5f3(0x1a4)]();}[_0x470848(0x1a4)](){const _0x4534d2=_0x470848;this[_0x4534d2(0x1a3)][_0x4534d2(0x2a2)][_0x4534d2(0x376)]((0x0,_0x18241c[_0x4534d2(0x3e2)])(this['dispose$']),(0x0,_0x18241c[_0x4534d2(0x187)])(_0x5df1b5=>{const _0x1c70ba=_0x4534d2;if(_0x5df1b5){let _0x14ea96=_0x5df1b5['sheetId'];return(0x0,_0x5515fe[_0x1c70ba(0x297)])(this['_collabCursorController'][_0x1c70ba(0x16c)](this[_0x1c70ba(0x40a)][_0x1c70ba(0x1fb)]),this['_themeService']['currentTheme$'])[_0x1c70ba(0x376)]((0x0,_0x18241c[_0x1c70ba(0x40f)])(([_0x27baa2,_0x462333])=>{const _0x160e73=_0x1c70ba;let _0x323ca8=new Map();return _0x27baa2[_0x160e73(0x315)]((_0x47cdca,_0x286a1f)=>{const _0x348136=_0x160e73;if(_0x47cdca[_0x348136(0x41e)]===_0x14ea96){let _0x14b11c={..._0x47cdca};_0x14b11c[_0x348136(0x1e6)]=this['_themeService'][_0x348136(0x28b)](_0x47cdca[_0x348136(0x1e6)]),_0x323ca8[_0x348136(0x406)](_0x286a1f,_0x14b11c);}}),{'skeleton':_0x5df1b5,'cursors':_0x323ca8};}));}return(0x0,_0x5515fe['of'])({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x4acc4c,cursors:_0x1d13fe})=>{const _0xddd00e=_0x4534d2;this[_0xddd00e(0x400)](),_0x4acc4c&&this[_0xddd00e(0x2db)](_0x4acc4c,_0x1d13fe);}),this[_0x4534d2(0x3a7)](this[_0x4534d2(0x1a3)]['currentSkeleton$'][_0x4534d2(0x376)]((0x0,_0x18241c['takeUntil'])(this['dispose$']))['subscribe'](_0x417806=>{const _0x1fd1f9=_0x4534d2;var _0x2044b9;if(_0x417806==null)return;(_0x2044b9=this[_0x1fd1f9(0x2ec)])==null||_0x2044b9[_0x1fd1f9(0x1d9)](),this['_pointerMoveDisposable']=null;let {skeleton:_0xfea463}=_0x417806,{scene:_0x5456a9}=this[_0x1fd1f9(0x40a)];this['_pointerMoveDisposable']=_0x5456a9[_0x1fd1f9(0x221)][_0x1fd1f9(0x49b)]((0x0,_0x3378d6[_0x1fd1f9(0x1fd)])(_0x219817=>{const _0xe24049=_0x1fd1f9;var _0x513915,_0x69ae3c;let {offsetX:_0x49c3bd,offsetY:_0x1910b8}=_0x219817,{x:_0x2b2ede,y:_0x5bad8e}=_0x5456a9['getRelativeToViewportCoord'](_0x21620d[_0xe24049(0x178)][_0xe24049(0x328)]([_0x49c3bd,_0x1910b8])),{scaleX:_0x257a44,scaleY:_0x4d31a9}=_0x5456a9['getAncestorScale'](),_0x1591f9=_0x5456a9[_0xe24049(0x230)](_0x21620d[_0xe24049(0x219)][_0xe24049(0x42c)]),_0x12c9c4=_0x5456a9[_0xe24049(0x3ef)](_0x21620d[_0xe24049(0x178)][_0xe24049(0x328)]([_0x2b2ede,_0x5bad8e]),_0x1591f9),_0x1c6a44=_0xfea463[_0xe24049(0x21c)](_0x49c3bd,_0x1910b8,_0x257a44,_0x4d31a9,_0x12c9c4);((_0x513915=this[_0xe24049(0x482)])==null?void 0x0:_0x513915[_0xe24049(0x41d)])===_0x1c6a44['column']&&((_0x69ae3c=this['_lastPointer'])==null?void 0x0:_0x69ae3c[_0xe24049(0x499)])===_0x1c6a44[_0xe24049(0x499)]||this[_0xe24049(0x196)]['forEach'](_0x17467f=>{const _0x2ba75d=_0xe24049;_0x17467f[_0x2ba75d(0x389)](_0x1c6a44);});},0x64));})),this[_0x4534d2(0x3a7)]((0x0,_0x3378d6[_0x4534d2(0x44d)])(()=>{const _0x493dad=_0x4534d2;var _0x3db703;(_0x3db703=this[_0x493dad(0x2ec)])==null||_0x3db703[_0x493dad(0x1d9)](),this[_0x493dad(0x2ec)]=null;}));}[_0x470848(0x2db)](_0x4bada3,_0x4df86e){const _0x5759d7=_0x470848;let _0x396a96=this[_0x5759d7(0x1a3)][_0x5759d7(0x303)]();if(!_0x396a96)return;let _0x33c184=this[_0x5759d7(0x39f)]();if(!_0x33c184)return;this[_0x5759d7(0x196)]['forEach'](_0x21f642=>{_0x21f642['makeDirty']();});let {scene:_0x7c7e98}=_0x33c184,_0x11a152=_0x24cfc1(Array['from'](_0x4df86e['values']()))[_0x5759d7(0x40f)](_0x2376ac=>{const _0x5cd022=_0x5759d7;let {color:_0xf30109,range:_0x54f8ac,name:_0x1dfb39,selection:_0xb81b86,sheetID:_0x3cbe21}=_0x2376ac,{startColumn:_0xea7497,startRow:_0x5042f1,endColumn:_0x325fde,endRow:_0x53a286}=_0x54f8ac,_0x39eb05=(0x0,_0x4fe045[_0x5cd022(0x47f)])(_0x5042f1,_0xea7497,_0x7c7e98,_0x396a96),_0x2a24f3=(0x0,_0x4fe045[_0x5cd022(0x47f)])(_0x53a286,_0x325fde,_0x7c7e98,_0x396a96),{columnHeaderHeightAndMarginTop:_0x1061f2}=_0x396a96,{startX:_0x43da9f,startY:_0x1a2f80}=_0x39eb05,{endX:_0x4d7dbf,endY:_0x67b6a2}=_0x2a24f3,_0x4a8757=_0x4d7dbf-_0x43da9f,_0x11f797=_0x67b6a2-_0x1a2f80;return new _0x4b97e2(_0x1dfb39,{'labelPosition':_0x1a2f80-_0x1061f2>=0x14?_0x5cd022(0x2f7):_0x5cd022(0x192),'sheetID':_0x3cbe21,'range':_0x54f8ac,'color':_0xf30109,'name':_0x1dfb39,'selection':_0xb81b86,'left':_0x43da9f,'top':_0x1a2f80,'width':_0x4a8757,'height':_0x11f797,'evented':!0x1,'zIndex':0x1389});});_0x7c7e98[_0x5759d7(0x16e)](_0x11a152,0x1),this['_cursors']=new Set(_0x11a152);}[_0x470848(0x400)](){const _0x37267d=_0x470848;var _0xe4897c;(_0xe4897c=this[_0x37267d(0x196)])==null||_0xe4897c['forEach'](_0x11a7a2=>_0x11a7a2[_0x37267d(0x39c)]());}['_getSheetObject'](){const _0x5ac654=_0x470848;return(0x0,_0x4fe045[_0x5ac654(0x3ac)])(this[_0x5ac654(0x40a)]['unit'],this[_0x5ac654(0x40a)]);}};_0x13f49e=_0x265259([_0x4f2c8d(0x1,(0x0,_0x3378d6[_0x470848(0x331)])(_0x4fe045[_0x470848(0x3b8)])),_0x4f2c8d(0x2,(0x0,_0x3378d6['Inject'])(_0x3b029d)),_0x4f2c8d(0x3,(0x0,_0x3378d6['Inject'])(_0x3378d6[_0x470848(0x3a2)]))],_0x13f49e);function _0x24cfc1(_0x3af242){const _0x458cf8=_0x470848;let _0x1c3354=new Map();return _0x3af242[_0x458cf8(0x315)](_0xb48463=>{const _0x7932b2=_0x458cf8;if(_0x1c3354[_0x7932b2(0x1c9)](_0xb48463[_0x7932b2(0x466)])){let _0x535116=_0x1c3354[_0x7932b2(0x226)](_0xb48463[_0x7932b2(0x466)]);_0x535116['name']+=',\x20'+_0xb48463[_0x7932b2(0x4a9)];}else _0x1c3354[_0x7932b2(0x406)](_0xb48463['selection'],_0xb48463);}),Array['from'](_0x1c3354[_0x458cf8(0x3f9)]());}let _0xab6e53=class extends _0x3378d6['RxDisposable']{constructor(_0x5d2e3e,_0x491ffb,_0x2f8a8d){const _0x45bdc8=_0x470848;super(),this[_0x45bdc8(0x40a)]=_0x5d2e3e,this['_collabCursorController']=_0x491ffb,this[_0x45bdc8(0x1f3)]=_0x2f8a8d,_0x317deb(this,_0x45bdc8(0x196),new Set()),_0x317deb(this,_0x45bdc8(0x2cf),!0x1),_0x317deb(this,'_isApplyingOverlays',!0x1),_0x317deb(this,'_latestCursors',new Map()),this[_0x45bdc8(0x1a4)]();}[_0x470848(0x39c)](){const _0x27638c=_0x470848;this[_0x27638c(0x400)](),super[_0x27638c(0x39c)]();}['_init'](){const _0x509e9e=_0x470848;let _0x2624a6=this[_0x509e9e(0x40a)][_0x509e9e(0x18a)]['pageManager'][_0x509e9e(0x36c)],_0x456f40=this[_0x509e9e(0x405)][_0x509e9e(0x16c)](this[_0x509e9e(0x40a)][_0x509e9e(0x1fb)]);this[_0x509e9e(0x3a7)]((0x0,_0x3378d6[_0x509e9e(0x44d)])((0x0,_0x5515fe['combineLatest'])([_0x456f40,_0x2624a6,this['_themeService'][_0x509e9e(0x305)]])['pipe']((0x0,_0x5515fe[_0x509e9e(0x3e2)])(this['dispose$']))['subscribe'](([_0x5da030,_0x26c764])=>{const _0x22432b=_0x509e9e;let _0xbd68d1=new Map();_0x5da030[_0x22432b(0x315)]((_0x3e553d,_0x48c8bb)=>{const _0x455ee4=_0x22432b;_0x3e553d[_0x455ee4(0x3cb)]===_0x26c764&&_0xbd68d1[_0x455ee4(0x406)](_0x48c8bb,{..._0x3e553d,'color':this[_0x455ee4(0x1f3)][_0x455ee4(0x28b)](_0x3e553d['color'])});}),this[_0x22432b(0x44e)]=_0xbd68d1,this[_0x22432b(0x49c)]();})));let _0x47498b=this[_0x509e9e(0x40a)][_0x509e9e(0x1cb)];this['disposeWithMe']((0x0,_0x3378d6['toDisposable'])(_0x47498b[_0x509e9e(0x415)][_0x509e9e(0x376)]((0x0,_0x5515fe[_0x509e9e(0x3e2)])(this[_0x509e9e(0x173)]))[_0x509e9e(0x31e)](()=>{const _0x318640=_0x509e9e;this[_0x318640(0x23c)]||this['_scheduleRender']();})));}[_0x470848(0x49c)](){const _0x851126=_0x470848;this['_renderScheduled']||(this['_renderScheduled']=!0x0,Promise['resolve']()[_0x851126(0x308)](()=>{const _0x166165=_0x851126;this[_0x166165(0x2cf)]=!0x1,this[_0x166165(0x2d4)]();}));}[_0x470848(0x2d4)](){const _0x16198d=_0x470848;var _0x430b34;this[_0x16198d(0x400)]();let _0x462a4b=(_0x430b34=this[_0x16198d(0x40a)][_0x16198d(0x18a)][_0x16198d(0x2a0)]['getActiveSlide']())==null?void 0x0:_0x430b34[_0x16198d(0x426)]();if(!_0x462a4b)return;let _0x1e2811=[];if(this[_0x16198d(0x44e)][_0x16198d(0x315)]((_0x16406e,_0x580cf3)=>{const _0x2ab93c=_0x16198d;_0x16406e[_0x2ab93c(0x3cb)]===_0x462a4b&&_0x16406e['selectedIds'][_0x2ab93c(0x315)](_0x59e251=>{const _0x28b74a=_0x2ab93c;let _0x348dbc=(0x0,_0x524d80['buildDrawingOKey'])(_0x16406e[_0x28b74a(0x1fb)],_0x16406e['subUnitId'],_0x59e251),_0x14fcb7=this[_0x28b74a(0x43a)](_0x348dbc);if(!_0x14fcb7)return;let _0x1a1d18=this[_0x28b74a(0x2bd)](_0x14fcb7);_0x1e2811[_0x28b74a(0x207)](new _0xac951d(_0x28b74a(0x2c1)+_0x580cf3+'-'+_0x59e251,{..._0x16406e,'left':_0x1a1d18[_0x28b74a(0x3c2)],'top':_0x1a1d18[_0x28b74a(0x2f7)],'width':_0x1a1d18['width'],'height':_0x1a1d18[_0x28b74a(0x279)],'angle':_0x14fcb7[_0x28b74a(0x33a)],'evented':!0x1,'zIndex':_0x344036}));});}),_0x1e2811[_0x16198d(0x254)]===0x0){this[_0x16198d(0x40a)]['scene'][_0x16198d(0x188)](!0x0);return;}this['_isApplyingOverlays']=!0x0,this[_0x16198d(0x40a)][_0x16198d(0x1cb)][_0x16198d(0x16e)](_0x1e2811,_0x344036),this['_isApplyingOverlays']=!0x1,this['_cursors']=new Set(_0x1e2811),this[_0x16198d(0x40a)][_0x16198d(0x1cb)][_0x16198d(0x188)](!0x0);}[_0x470848(0x400)](){const _0x1b29a6=_0x470848;let _0x280061=Array[_0x1b29a6(0x452)](this['_cursors']);if(_0x280061[_0x1b29a6(0x254)]===0x0)return;let _0x577362=this[_0x1b29a6(0x40a)]['scene'];_0x1b29a6(0x1a6)in _0x577362&&typeof _0x577362[_0x1b29a6(0x1a6)]=='function'?_0x577362[_0x1b29a6(0x1a6)](_0x280061):_0x280061[_0x1b29a6(0x315)](_0x50f1d3=>{const _0x5aa8af=_0x1b29a6;'removeObject'in _0x577362&&typeof _0x577362[_0x5aa8af(0x259)]==_0x5aa8af(0x489)?_0x577362[_0x5aa8af(0x259)](_0x50f1d3):_0x50f1d3[_0x5aa8af(0x39c)]();}),this['_cursors'][_0x1b29a6(0x2f8)](),_0x577362[_0x1b29a6(0x188)](!0x0);}['_getSceneObjectByKey'](_0x2b189d){const _0x546ece=_0x470848;var _0x16e568,_0x3938fc,_0x3e5157;let _0x53f855=this[_0x546ece(0x40a)][_0x546ece(0x1cb)];return(_0x16e568=(_0x3938fc=(_0x3e5157=_0x53f855[_0x546ece(0x2e2)])==null?void 0x0:_0x3e5157[_0x546ece(0x442)](_0x53f855,_0x2b189d))==null?_0x53f855[_0x546ece(0x4af)](_0x2b189d):_0x3938fc)==null?null:_0x16e568;}[_0x470848(0x2bd)](_0x67b974){const _0x27e9aa=_0x470848;var _0x67362c,_0x359412;let _0x50b06d=_0x67b974;return(_0x67362c=(_0x359412=_0x50b06d[_0x27e9aa(0x463)])==null?void 0x0:_0x359412['call'](_0x50b06d))==null?{'left':_0x67b974[_0x27e9aa(0x3c2)],'top':_0x67b974[_0x27e9aa(0x2f7)],'width':_0x67b974[_0x27e9aa(0x2a6)],'height':_0x67b974['height']}:_0x67362c;}};_0xab6e53=_0x265259([_0x4f2c8d(0x1,(0x0,_0x3378d6[_0x470848(0x331)])(_0x3b029d)),_0x4f2c8d(0x2,(0x0,_0x3378d6['Inject'])(_0x3378d6[_0x470848(0x3a2)]))],_0xab6e53);let _0x3b11db=class extends _0x3378d6[_0x470848(0x380)]{constructor(_0x361ece,_0x4b225e,_0xa5a274,_0x2f604e,_0x3fd34c,_0x20c515){const _0x2e1d83=_0x470848;super(),this[_0x2e1d83(0x256)]=_0x361ece,this[_0x2e1d83(0x42e)]=_0x4b225e,this['_collaborationUIEventService']=_0xa5a274,this['_messageService']=_0x2f604e,this[_0x2e1d83(0x249)]=_0x3fd34c,this[_0x2e1d83(0x235)]=_0x20c515,this[_0x2e1d83(0x27a)](),this[_0x2e1d83(0x225)]();}['_setupBeforeClosingHandler'](){const _0xc7e49e=_0x470848;this[_0xc7e49e(0x3a7)](this[_0xc7e49e(0x256)][_0xc7e49e(0x1ed)](()=>{const _0x519552=_0xc7e49e;if(this[_0x519552(0x42e)]['saveTaskMap'][_0x519552(0x309)])return this[_0x519552(0x235)]['t']('collaboration-client-ui.collaboration.offline-data-not-saved');}));}[_0x470848(0x225)](){const _0x55730c=_0x470848;this[_0x55730c(0x3a7)](this[_0x55730c(0x185)][_0x55730c(0x4c6)][_0x55730c(0x31e)](_0x16b369=>{const _0x182ed6=_0x55730c;_0x16b369['id']===_0x289c2c[_0x182ed6(0x464)][_0x182ed6(0x384)]&&this[_0x182ed6(0x4c3)][_0x182ed6(0x3ea)]({'type':_0x472933['MessageType']['Warning'],'content':this[_0x182ed6(0x235)]['t']('collaboration-client-ui.collaboration.single-unit.warning')}),_0x16b369['id']===_0x289c2c[_0x182ed6(0x464)][_0x182ed6(0x3f3)]&&this[_0x182ed6(0x4c3)][_0x182ed6(0x3ea)]({'type':_0x472933[_0x182ed6(0x2d2)][_0x182ed6(0x179)],'content':this[_0x182ed6(0x235)]['t'](_0x182ed6(0x421))}),_0x16b369['id']===_0x289c2c[_0x182ed6(0x464)][_0x182ed6(0x393)]&&this[_0x182ed6(0x249)][_0x182ed6(0x3ea)]({'title':this[_0x182ed6(0x235)]['t'](_0x182ed6(0x2b9)),'content':this[_0x182ed6(0x235)]['t'](_0x182ed6(0x2de)),'type':_0x182ed6(0x194),'duration':0x0}),_0x16b369['id']===_0x289c2c[_0x182ed6(0x464)]['CONFLICT']&&this['_notificationService'][_0x182ed6(0x3ea)]({'title':this[_0x182ed6(0x235)]['t'](_0x182ed6(0x444)),'content':this[_0x182ed6(0x235)]['t'](_0x182ed6(0x469)),'type':_0x182ed6(0x194),'duration':0x0}),_0x16b369['id']===_0x289c2c[_0x182ed6(0x464)][_0x182ed6(0x1f0)]&&this['_messageService'][_0x182ed6(0x3ea)]({'type':_0x472933[_0x182ed6(0x2d2)][_0x182ed6(0x179)],'content':this[_0x182ed6(0x235)]['t'](_0x16b369[_0x182ed6(0x3f5)]||'')}),_0x16b369['id']===_0x289c2c['CollaborationUIEventId'][_0x182ed6(0x3ba)]&&this['_messageService'][_0x182ed6(0x3ea)]({'type':_0x472933[_0x182ed6(0x2d2)]['Warning'],'content':this[_0x182ed6(0x235)]['t']('collaboration-client-ui.session.will-retry')}),_0x16b369['id']===_0x289c2c[_0x182ed6(0x464)][_0x182ed6(0x3b6)]&&this[_0x182ed6(0x4c3)][_0x182ed6(0x3ea)]({'type':_0x472933[_0x182ed6(0x2d2)][_0x182ed6(0x3cc)],'content':this['_localeService']['t'](_0x182ed6(0x45b))}),_0x16b369['id']===_0x289c2c[_0x182ed6(0x464)][_0x182ed6(0x2b4)]&&this[_0x182ed6(0x4c3)][_0x182ed6(0x3ea)]({'type':_0x472933['MessageType'][_0x182ed6(0x3cc)],'content':this[_0x182ed6(0x235)]['t'](_0x182ed6(0x29e))});}));}};_0x3b11db=_0x265259([_0x4f2c8d(0x0,_0x4dab43[_0x470848(0x244)]),_0x4f2c8d(0x1,_0x289c2c[_0x470848(0x4b7)]),_0x4f2c8d(0x2,(0x0,_0x3378d6[_0x470848(0x331)])(_0x289c2c['CollaborationUIEventService'])),_0x4f2c8d(0x3,_0x4dab43[_0x470848(0x2cc)]),_0x4f2c8d(0x4,_0x4dab43[_0x470848(0x339)]),_0x4f2c8d(0x5,(0x0,_0x3378d6['Inject'])(_0x3378d6[_0x470848(0x23b)]))],_0x3b11db);let _0x48f9b0=(0x0,_0x3378d6[_0x470848(0x4a6)])(_0x470848(0x1c1)),_0x48aa1e=class extends _0x3378d6[_0x470848(0x42a)]{constructor(_0x348a40,_0xed9e11,_0x39695b,_0x499e7e,_0x2c8d34){const _0x542e91=_0x470848;super(),this[_0x542e91(0x190)]=_0x348a40,this[_0x542e91(0x468)]=_0xed9e11,this[_0x542e91(0x3cf)]=_0x39695b,this[_0x542e91(0x181)]=_0x499e7e,_0x2c8d34?_0x2c8d34[_0x542e91(0x394)]()[_0x542e91(0x308)](()=>this[_0x542e91(0x1a4)]()):(this[_0x542e91(0x468)][_0x542e91(0x3a6)](_0x542e91(0x3c3),_0x542e91(0x4c5)),this['_init']());}async[_0x470848(0x1a4)](){const _0x2a4098=_0x470848;let _0x4c9aee=this['_urlService'][_0x2a4098(0x490)](_0x2a4098(0x18a)),_0x54be83=this[_0x2a4098(0x190)][_0x2a4098(0x490)](_0x2a4098(0x36b)),_0x62bebe=this[_0x2a4098(0x190)][_0x2a4098(0x490)](_0x2a4098(0x414));if(!_0x4c9aee||!_0x54be83){this[_0x2a4098(0x468)][_0x2a4098(0x3a6)]('[CollaborationDataLoaderController]',_0x2a4098(0x195));return;}let _0x8caf57=await this[_0x2a4098(0x181)][_0x2a4098(0x2f1)](_0x4c9aee,Number(_0x54be83),_0x62bebe);_0x8caf57&&_0x8caf57 instanceof _0x3378d6[_0x2a4098(0x356)]&&this[_0x2a4098(0x311)](_0x8caf57);}async[_0x470848(0x311)](_0x1f338a){const _0x366689=_0x470848;await this[_0x366689(0x325)](_0x1f338a),_0x1f338a[_0x366689(0x34f)][_0x366689(0x376)]((0x0,_0x5515fe[_0x366689(0x3e2)])(this['dispose$']))[_0x366689(0x31e)](_0x197bdf=>{const _0x48452d=_0x366689;_0x197bdf&&this[_0x48452d(0x204)](_0x197bdf);}),this[_0x366689(0x190)][_0x366689(0x216)][_0x366689(0x376)]((0x0,_0x5515fe[_0x366689(0x3e2)])(this['dispose$']))[_0x366689(0x31e)](()=>this['_updateSubUnitFromURLParams'](_0x1f338a));}['_updateURLWithCurrentState'](_0x886c8d,_0x4e9342=!0x1){const _0x281fd1=_0x470848;let _0x2538f0=this[_0x281fd1(0x190)]['getParam'](_0x281fd1(0x414));_0x886c8d['getSheetId']()!==_0x2538f0&&this['_urlService']['setParam'](_0x281fd1(0x414),_0x886c8d[_0x281fd1(0x293)](),_0x4e9342);}async[_0x470848(0x325)](_0x4b047e){const _0x1743b4=_0x470848;var _0x391465;let _0x1faa9e=this['_urlService'][_0x1743b4(0x490)](_0x1743b4(0x414));if(!_0x1faa9e||!_0x4b047e['getSheetBySheetId'](_0x1faa9e)){let _0x42811d=_0x4b047e[_0x1743b4(0x306)]()[0x0],_0x173c8b=_0x4b047e[_0x1743b4(0x4c2)](_0x42811d);if(!_0x173c8b)return;this['_updateURLWithCurrentState'](_0x173c8b,!0x0),await this[_0x1743b4(0x3cf)]['executeCommand'](_0x277df0[_0x1743b4(0x39a)]['id'],{'unitId':_0x4b047e['getUnitId'](),'subUnitId':_0x42811d});return;}((_0x391465=_0x4b047e['getActiveSheet']())==null?void 0x0:_0x391465[_0x1743b4(0x293)]())!==_0x1faa9e&&await this[_0x1743b4(0x3cf)][_0x1743b4(0x16b)](_0x277df0[_0x1743b4(0x39a)]['id'],{'unitId':_0x4b047e[_0x1743b4(0x2fe)](),'subUnitId':_0x1faa9e});}};_0x48aa1e=_0x265259([_0x4f2c8d(0x0,_0x48f9b0),_0x4f2c8d(0x1,_0x3378d6[_0x470848(0x3fb)]),_0x4f2c8d(0x2,_0x3378d6['ICommandService']),_0x4f2c8d(0x3,(0x0,_0x3378d6['Inject'])(_0x289c2c[_0x470848(0x4ac)])),_0x4f2c8d(0x4,(0x0,_0x3378d6[_0x470848(0x24d)])(_0x418f3f[_0x470848(0x319)]))],_0x48aa1e);let _0x2c292f=class{constructor(_0x58f35,_0x252bc6){const _0x48a5c9=_0x470848;this[_0x48a5c9(0x475)]=_0x58f35,this[_0x48a5c9(0x381)]=_0x252bc6;}['transformIMECache'](_0x3c31b0){const _0x12a79a=_0x470848;this[_0x12a79a(0x2ac)](_0x3c31b0),this[_0x12a79a(0x2b0)](_0x3c31b0);}['transformRemoteChangeset'](_0x3e7af8){const _0x3636f7=_0x470848;let {unitID:_0x42e197}=_0x3e7af8,{redoCache:_0x438004}=this['_renderManagerService']['getRenderById'](_0x42e197)['with'](_0xe8b960['DocIMEInputManagerService'])[_0x3636f7(0x471)]();if(_0x438004[_0x3636f7(0x254)]===0x0)return _0x3e7af8;let _0x4f7e30=_0x3378d6[_0x3636f7(0x29f)][_0x3636f7(0x2f6)](_0x3e7af8[_0x3636f7(0x3e3)][0x0]);for(let _0x44d072=0x0;_0x44d072<_0x438004['length'];_0x44d072++){let _0x583da7={'id':'doc.mutation.rich-text-editing','params':{..._0x438004[_0x44d072]}},_0xf0b212=this[_0x3636f7(0x475)][_0x3636f7(0x211)](_0x4f7e30,_0x583da7,!0x1);if((0x0,_0x518a46['isTransformMutationFailure'])(_0xf0b212))throw _0xf0b212[_0x3636f7(0x194)];_0x4f7e30=_0xf0b212[_0x3636f7(0x48f)];}return{..._0x3378d6[_0x3636f7(0x29f)][_0x3636f7(0x2f6)](_0x3e7af8),'mutations':[_0x4f7e30]};}[_0x470848(0x2ac)](_0x837641){const _0x322827=_0x470848;let {unitID:_0x4d6a47}=_0x837641,_0x1ecab5=this['_renderManagerService'][_0x322827(0x1f2)](_0x4d6a47)[_0x322827(0x3f0)](_0xe8b960['DocIMEInputManagerService']),{undoCache:_0x3e2540,redoCache:_0x574496}=_0x1ecab5[_0x322827(0x471)]();if(_0x3e2540[_0x322827(0x254)]===0x0||_0x574496[_0x322827(0x254)]===0x0)return;let _0x56c499=[],_0xaa65b2=[],_0xf5bcf1=_0x3378d6[_0x322827(0x29f)][_0x322827(0x2f6)](_0x837641[_0x322827(0x3e3)][0x0]),_0x328384=_0x3378d6[_0x322827(0x29f)]['deepClone'](_0x837641[_0x322827(0x3e3)][0x0]);for(let _0x42e3c3=_0x3e2540[_0x322827(0x254)]-0x1;_0x42e3c3>=0x0;_0x42e3c3--){let _0x12e4bd={'id':_0x322827(0x3b0),'params':{..._0x3e2540[_0x42e3c3]}},_0x43bd93={'id':_0x322827(0x3b0),'params':{..._0x574496[_0x42e3c3]}},_0x2454e5=this[_0x322827(0x475)][_0x322827(0x211)](_0xf5bcf1,_0x12e4bd,!0x1),_0x50697e=this['_transformService'][_0x322827(0x211)](_0x328384,_0x43bd93,!0x1);if((0x0,_0x518a46[_0x322827(0x4c0)])(_0x2454e5))throw _0x2454e5[_0x322827(0x194)];if((0x0,_0x518a46[_0x322827(0x4c0)])(_0x50697e))throw _0x50697e['error'];_0x56c499[_0x322827(0x372)](_0x2454e5[_0x322827(0x24f)][_0x322827(0x31c)]),_0xaa65b2['unshift'](_0x50697e['m2Prime'][_0x322827(0x31c)]),_0xf5bcf1=_0x2454e5[_0x322827(0x48f)],_0x328384=_0x50697e[_0x322827(0x48f)];}_0x1ecab5[_0x322827(0x412)]({'undoCache':_0x56c499,'redoCache':_0xaa65b2});}['_transformPreviousActiveRange'](_0x554578){const _0x496411=_0x470848;let {unitID:_0x4592dd}=_0x554578,_0x4f2f93=this[_0x496411(0x381)]['getRenderById'](_0x4592dd)[_0x496411(0x3f0)](_0xe8b960[_0x496411(0x4c9)]),_0x2f0942=_0x4f2f93[_0x496411(0x3a1)]();if(_0x2f0942==null)return;let _0x478c8d=[{'id':_0x496411(0x3b0),'params':{'unitId':_0x554578[_0x496411(0x44c)],'actions':null,'textRanges':[_0x2f0942]}}],_0x481d33=this['_transformService']['transformMutationsWithChangeset'](_0x554578,_0x478c8d);if(!(0x0,_0x518a46[_0x496411(0x1fe)])(_0x481d33))throw _0x481d33[_0x496411(0x194)];let _0x5830de=_0x481d33[_0x496411(0x24f)][0x0][_0x496411(0x31c)][_0x496411(0x1dd)];Array[_0x496411(0x26e)](_0x5830de)&&_0x5830de[_0x496411(0x254)]&&_0x4f2f93[_0x496411(0x241)](_0x5830de[0x0]);}};_0x2c292f=_0x265259([_0x4f2c8d(0x0,_0x518a46[_0x470848(0x43c)]),_0x4f2c8d(0x1,_0x21620d['IRenderManagerService'])],_0x2c292f);let _0x42f65a=class{constructor(_0x5ed4df,_0x5f31d7,_0x410179){const _0x5c0043=_0x470848;this[_0x5c0043(0x240)]=_0x5ed4df,this[_0x5c0043(0x475)]=_0x5f31d7,this['_docStateChangeManagerService']=_0x410179;}[_0x470848(0x1e0)](_0xbf78d){const _0x3d2d8f=_0x470848;this[_0x3d2d8f(0x481)](_0xbf78d);}[_0x470848(0x170)](_0xadb259){const _0x17c039=_0x470848;let {unitID:_0x5c6fb5}=_0xadb259,{collaboration:_0x153101}=this[_0x17c039(0x458)]['getStateCache'](_0x5c6fb5);if(_0x153101[_0x17c039(0x254)]===0x0)return _0xadb259;let _0x412067=_0x3378d6['Tools'][_0x17c039(0x2f6)](_0xadb259[_0x17c039(0x3e3)][0x0]);for(let _0x182745=0x0;_0x182745<_0x153101[_0x17c039(0x254)];_0x182745++){let _0x2cb69e={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x153101[_0x182745][_0x17c039(0x1fb)],..._0x153101[_0x182745][_0x17c039(0x46d)]}},_0x507201=this['_transformService'][_0x17c039(0x211)](_0x412067,_0x2cb69e,!0x1);if((0x0,_0x518a46['isTransformMutationFailure'])(_0x507201))throw _0x507201[_0x17c039(0x194)];_0x412067=_0x507201[_0x17c039(0x48f)];}return{..._0x3378d6[_0x17c039(0x29f)][_0x17c039(0x2f6)](_0xadb259),'mutations':[_0x412067]};}['_transformHistoryAndStateStack'](_0xda8e6e){const _0x1d4edc=_0x470848;let {unitID:_0x16a710}=_0xda8e6e,{history:_0x210970,collaboration:_0xa73d37}=this[_0x1d4edc(0x458)][_0x1d4edc(0x3c9)](_0x16a710);if(_0x210970[_0x1d4edc(0x254)]===0x0&&_0xa73d37[_0x1d4edc(0x254)]===0x0)return;let _0x3a1955=[],_0x19633d=[],_0x2336e4=_0x3378d6[_0x1d4edc(0x29f)][_0x1d4edc(0x2f6)](_0xda8e6e[_0x1d4edc(0x3e3)][0x0]),_0x21108d=_0x3378d6[_0x1d4edc(0x29f)][_0x1d4edc(0x2f6)](_0xda8e6e[_0x1d4edc(0x3e3)][0x0]);for(let _0xf31d02=_0x210970['length']-0x1;_0xf31d02>=0x0;_0xf31d02--){let _0x26f2e1={'id':_0x1d4edc(0x3b0),'params':{'unitId':_0x210970[_0xf31d02][_0x1d4edc(0x1fb)],..._0x210970[_0xf31d02][_0x1d4edc(0x290)]}},_0x2398fd={'id':_0x1d4edc(0x3b0),'params':{'unitId':_0x210970[_0xf31d02]['unitId'],..._0x210970[_0xf31d02][_0x1d4edc(0x46d)]}},_0x260df6=this[_0x1d4edc(0x475)][_0x1d4edc(0x211)](_0x2336e4,_0x26f2e1,!0x1),_0x1d5ba6=this[_0x1d4edc(0x475)]['transformMutation'](_0x21108d,_0x2398fd,!0x1);if((0x0,_0x518a46[_0x1d4edc(0x4c0)])(_0x260df6))throw _0x260df6[_0x1d4edc(0x194)];if((0x0,_0x518a46[_0x1d4edc(0x4c0)])(_0x1d5ba6))throw _0x1d5ba6[_0x1d4edc(0x194)];_0x3a1955[_0x1d4edc(0x372)]({..._0x210970[_0xf31d02],'undoState':_0x260df6[_0x1d4edc(0x24f)][_0x1d4edc(0x31c)],'redoState':_0x1d5ba6[_0x1d4edc(0x24f)][_0x1d4edc(0x31c)]}),_0x2336e4=_0x260df6[_0x1d4edc(0x48f)],_0x21108d=_0x1d5ba6['m1Prime'];}_0x2336e4=_0x3378d6[_0x1d4edc(0x29f)][_0x1d4edc(0x2f6)](_0xda8e6e[_0x1d4edc(0x3e3)][0x0]),_0x21108d=_0x3378d6[_0x1d4edc(0x29f)][_0x1d4edc(0x2f6)](_0xda8e6e[_0x1d4edc(0x3e3)][0x0]);for(let _0x57fb5a=_0xa73d37[_0x1d4edc(0x254)]-0x1;_0x57fb5a>=0x0;_0x57fb5a--){let _0x382508={'id':_0x1d4edc(0x3b0),'params':{'unitId':_0xa73d37[_0x57fb5a][_0x1d4edc(0x1fb)],..._0xa73d37[_0x57fb5a]['undoState']}},_0x328415={'id':_0x1d4edc(0x3b0),'params':{'unitId':_0xa73d37[_0x57fb5a]['unitId'],..._0xa73d37[_0x57fb5a][_0x1d4edc(0x46d)]}},_0x52b8ee=this['_transformService'][_0x1d4edc(0x211)](_0x2336e4,_0x382508,!0x1),_0x12fe22=this[_0x1d4edc(0x475)][_0x1d4edc(0x211)](_0x21108d,_0x328415,!0x1);if((0x0,_0x518a46['isTransformMutationFailure'])(_0x52b8ee))throw _0x52b8ee[_0x1d4edc(0x194)];if((0x0,_0x518a46['isTransformMutationFailure'])(_0x12fe22))throw _0x12fe22[_0x1d4edc(0x194)];_0x19633d[_0x1d4edc(0x372)]({..._0xa73d37[_0x57fb5a],'undoState':_0x52b8ee[_0x1d4edc(0x24f)][_0x1d4edc(0x31c)],'redoState':_0x12fe22['m2Prime'][_0x1d4edc(0x31c)]}),_0x2336e4=_0x52b8ee[_0x1d4edc(0x48f)],_0x21108d=_0x12fe22['m1Prime'];}this[_0x1d4edc(0x458)][_0x1d4edc(0x385)](_0x16a710,{'history':_0x3a1955,'collaboration':_0x19633d});}};_0x42f65a=_0x265259([_0x4f2c8d(0x0,(0x0,_0x3378d6['Inject'])(_0x3378d6[_0x470848(0x200)])),_0x4f2c8d(0x1,_0x518a46['ITransformService']),_0x4f2c8d(0x2,(0x0,_0x3378d6[_0x470848(0x331)])(_0x904e3[_0x470848(0x3b1)]))],_0x42f65a);let _0x3cc37c=class{constructor(_0x31a2f6,_0x4e1134){const _0x498247=_0x470848;this[_0x498247(0x240)]=_0x31a2f6,this[_0x498247(0x475)]=_0x4e1134;}[_0x470848(0x32f)](_0x2c2168){const _0x3f7121=_0x470848;var _0x5e67c7;let _0x12fbea=this[_0x3f7121(0x240)][_0x3f7121(0x226)](_0x904e3['DocSelectionManagerService']),_0x3c4837=(_0x5e67c7=_0x12fbea[_0x3f7121(0x387)]())==null?[]:_0x5e67c7;if(_0x3c4837[_0x3f7121(0x254)]===0x0)return;let _0x1a7bc1=_0x2c2168[_0x3f7121(0x44c)],_0x441c28=[{'id':_0x3f7121(0x3b0),'params':{'unitId':_0x1a7bc1,'actions':null,'textRanges':_0x3c4837}}],_0x496b4d=this[_0x3f7121(0x475)][_0x3f7121(0x18c)](_0x2c2168,_0x441c28);if(!(0x0,_0x518a46[_0x3f7121(0x1fe)])(_0x496b4d))throw _0x496b4d[_0x3f7121(0x194)];let _0x1f2619=_0x496b4d[_0x3f7121(0x24f)][0x0][_0x3f7121(0x31c)]['textRanges'];Array['isArray'](_0x1f2619)&&_0x1f2619[_0x3f7121(0x254)]&&_0x12fbea[_0x3f7121(0x4a1)](_0x1f2619,{'unitId':_0x1a7bc1,'subUnitId':_0x1a7bc1},!0x1);}};_0x3cc37c=_0x265259([_0x4f2c8d(0x0,(0x0,_0x3378d6['Inject'])(_0x3378d6[_0x470848(0x200)])),_0x4f2c8d(0x1,_0x518a46[_0x470848(0x43c)])],_0x3cc37c);let _0x1d32b6=class extends _0x3378d6['Disposable']{constructor(_0x9cdc31,_0x2cc782,_0x24a925,_0x1a1f08,_0x180e36,_0x4af7ec,_0x23151b){const _0x6aa8fe=_0x470848;super(),this[_0x6aa8fe(0x2d1)]=_0x9cdc31,this[_0x6aa8fe(0x2d6)]=_0x2cc782,this[_0x6aa8fe(0x1e3)]=_0x24a925,this[_0x6aa8fe(0x436)]=_0x1a1f08,this[_0x6aa8fe(0x4bc)]=_0x180e36,this[_0x6aa8fe(0x4c3)]=_0x4af7ec,this[_0x6aa8fe(0x235)]=_0x23151b,_0x317deb(this,'_status$',new _0x5515fe[(_0x6aa8fe(0x4b4))](_0x289c2c[_0x6aa8fe(0x49f)][_0x6aa8fe(0x4d1)])),this[_0x6aa8fe(0x2fd)]();}[_0x470848(0x2fd)](){const _0x389667=_0x470848;this['disposeWithMe'](this[_0x389667(0x2d1)][_0x389667(0x2e8)][_0x389667(0x31e)](_0x58c6e7=>{const _0x482a44=_0x389667;_0x58c6e7 instanceof _0x289c2c[_0x482a44(0x32a)]&&_0x58c6e7[_0x482a44(0x1b9)]({'onTransformIME':_0x20c40d=>this[_0x482a44(0x2d6)][_0x482a44(0x366)](_0x20c40d),'onTransformState':_0xdba63d=>this['_docTransformStateCacheService'][_0x482a44(0x1e0)](_0xdba63d),'onTransformSelections':_0x7c26fa=>this['_docTransformSelectionsService'][_0x482a44(0x32f)](_0x7c26fa),'onSyncEditingCollabCursor':_0x42eeca=>this[_0x482a44(0x4bc)][_0x482a44(0x1b4)](_0x42eeca),'onTransformRemoteChangesetByIMECache':_0x4226f5=>this[_0x482a44(0x2d6)][_0x482a44(0x170)](_0x4226f5),'onTransformRemoteChangesetByStateCache':_0x45c1d7=>this[_0x482a44(0x1e3)][_0x482a44(0x170)](_0x45c1d7)});}));}};_0x1d32b6=_0x265259([_0x4f2c8d(0x0,(0x0,_0x3378d6[_0x470848(0x331)])(_0x289c2c[_0x470848(0x32e)])),_0x4f2c8d(0x1,(0x0,_0x3378d6[_0x470848(0x331)])(_0x2c292f)),_0x4f2c8d(0x2,(0x0,_0x3378d6[_0x470848(0x331)])(_0x42f65a)),_0x4f2c8d(0x3,(0x0,_0x3378d6[_0x470848(0x331)])(_0x3cc37c)),_0x4f2c8d(0x4,(0x0,_0x3378d6[_0x470848(0x331)])(_0x3ebe55)),_0x4f2c8d(0x5,_0x4dab43[_0x470848(0x2cc)]),_0x4f2c8d(0x6,(0x0,_0x3378d6[_0x470848(0x331)])(_0x3378d6[_0x470848(0x23b)]))],_0x1d32b6);let _0x129cf2=class extends _0x3378d6[_0x470848(0x380)]{constructor(_0x1c1bcd,_0x2d4fe8,_0x283d60,_0x2fa5c4){const _0x4c5503=_0x470848;super(),this[_0x4c5503(0x240)]=_0x1c1bcd,this[_0x4c5503(0x4bb)]=_0x2d4fe8,this[_0x4c5503(0x468)]=_0x283d60,this[_0x4c5503(0x2b7)]=_0x2fa5c4,_0x317deb(this,'_memberID',void 0x0),this[_0x4c5503(0x1a4)]();}[_0x470848(0x1a4)](){const _0x130347=_0x470848;this[_0x130347(0x27f)](),this['_initUnhandledRejectionListener'](),this[_0x130347(0x335)](),this[_0x130347(0x48b)]();}['_initUserListener'](){const _0x264dd9=_0x470848;this[_0x264dd9(0x3a7)](this[_0x264dd9(0x2b7)][_0x264dd9(0x3e8)][_0x264dd9(0x31e)](_0x3b71ad=>{const _0x30d009=_0x264dd9;this['_memberID']=_0x3b71ad==null?void 0x0:_0x3b71ad[_0x30d009(0x263)];}));}['_initWindowErrorListener'](){const _0x174afc=_0x470848;let _0x34db25=_0x2ccca4=>{const _0x4566f1=_0x3560;var _0x564704;this[_0x4566f1(0x446)](_0x4566f1(0x194),_0x4566f1(0x433)+_0x2ccca4['message']+'\x20at\x20'+_0x2ccca4[_0x4566f1(0x25c)]+':'+_0x2ccca4[_0x4566f1(0x1b8)]+':'+_0x2ccca4[_0x4566f1(0x41f)]+'\x0a'+(((_0x564704=_0x2ccca4[_0x4566f1(0x194)])==null?void 0x0:_0x564704[_0x4566f1(0x407)])||''));};window[_0x174afc(0x2b1)](_0x174afc(0x194),_0x34db25),this[_0x174afc(0x3a7)](()=>{const _0x296f6c=_0x174afc;window[_0x296f6c(0x307)](_0x296f6c(0x194),_0x34db25);});}[_0x470848(0x1de)](){const _0x239c45=_0x470848;let _0x3f02bb=_0x568338=>{const _0x2f7bae=_0x3560;this[_0x2f7bae(0x446)]('error',_0x2f7bae(0x24c)+_0x568338['reason']);};window['addEventListener'](_0x239c45(0x27b),_0x3f02bb),this['disposeWithMe'](()=>{const _0x546041=_0x239c45;window[_0x546041(0x307)](_0x546041(0x27b),_0x3f02bb);});}[_0x470848(0x335)](){const _0x4187c4=_0x470848;let _0x588acb=this['_logService'][_0x4187c4(0x194)][_0x4187c4(0x39e)](this[_0x4187c4(0x468)]);this[_0x4187c4(0x468)][_0x4187c4(0x194)]=(..._0x55325c)=>{const _0xc54691=_0x4187c4;let _0x43a57e=_0x55325c['map'](_0x192729=>_0x192729 instanceof Error?_0x192729[_0xc54691(0x4b3)]+'\x0a'+_0x192729['stack']:String(_0x192729))[_0xc54691(0x368)]('\x20');this[_0xc54691(0x446)](_0xc54691(0x194),_0xc54691(0x35e)+_0x43a57e),_0x588acb(..._0x55325c);},this[_0x4187c4(0x3a7)](()=>{const _0xd9106f=_0x4187c4;this[_0xd9106f(0x468)]['error']=_0x588acb;});}['_uploadLog'](_0x2abc43,_0x5ede58){const _0x5818da=_0x470848;try{let _0x51cc7a={'userId':this['_memberID'],'logLabel':_0x2abc43,'content':_0x5ede58};this[_0x5818da(0x4bb)][_0x5818da(0x2be)](_0x5818da(0x33b),{'body':_0x51cc7a})['catch'](()=>{});}catch{}}};_0x129cf2=_0x265259([_0x4f2c8d(0x0,(0x0,_0x3378d6[_0x470848(0x331)])(_0x3378d6[_0x470848(0x200)])),_0x4f2c8d(0x1,(0x0,_0x3378d6[_0x470848(0x331)])(_0x301182['HTTPService'])),_0x4f2c8d(0x2,_0x3378d6[_0x470848(0x3fb)]),_0x4f2c8d(0x3,(0x0,_0x3378d6[_0x470848(0x331)])(_0x289c2c[_0x470848(0x1f4)]))],_0x129cf2);function _0x3afd20({state$:_0x4cdf19,interactionBlocked$:_0x613c31}){const _0x36140f=_0x470848;return(0x0,_0x2d4a70[_0x36140f(0x236)])(_0x2d4a70[_0x36140f(0x34a)],{'children':[(0x0,_0x4dab43[_0x36140f(0x238)])(_0x613c31,!0x1,!0x0)&&(0x0,_0x2d4a70[_0x36140f(0x4bd)])(_0x36140f(0x332),{'data-u-comp':_0x36140f(0x29b),'aria-hidden':!0x0,'className':'univer-fixed\x20univer-inset-0\x20univer-z-[1000]\x20univer-cursor-wait'}),(0x0,_0x2d4a70[_0x36140f(0x4bd)])(_0x2ace38,{'state$':_0x4cdf19})]});}function _0x2ace38({state$:_0x7addd5}){const _0x14fa04=_0x470848;let _0x1654f6=(0x0,_0x4dab43[_0x14fa04(0x238)])(_0x7addd5,null,!0x0);return _0x1654f6?(0x0,_0x2d4a70['jsxs'])(_0x14fa04(0x332),{'data-u-comp':_0x14fa04(0x2c3),'role':_0x14fa04(0x48e),'className':_0x14fa04(0x361),'children':[(0x0,_0x2d4a70[_0x14fa04(0x4bd)])(_0x4f71da,{'className':'univer-size-4\x20univer-shrink-0\x20univer-text-amber-500'}),(0x0,_0x2d4a70[_0x14fa04(0x4bd)])(_0x14fa04(0x261),{'children':_0x1654f6[_0x14fa04(0x343)]}),(0x0,_0x2d4a70['jsx'])(_0x472933[_0x14fa04(0x4d0)],{'size':_0x14fa04(0x2f3),'variant':_0x14fa04(0x224),'onClick':()=>window[_0x14fa04(0x19e)][_0x14fa04(0x374)](),'children':_0x1654f6[_0x14fa04(0x40d)]})]}):null;}let _0x50ed8d=_0x470848(0x1c3),_0x3328cc=class extends _0x3378d6[_0x470848(0x380)]{constructor(_0x304261,_0xf17629,_0x327e72,_0x20d49a,_0x39d156,_0x4d8022,_0x4cea98,_0x5a1843){const _0x120523=_0x470848;super(),this[_0x120523(0x212)]=_0x304261,this[_0x120523(0x4c3)]=_0xf17629,this['_localeService']=_0x327e72,this[_0x120523(0x240)]=_0x20d49a,this[_0x120523(0x2b3)]=_0x39d156,this[_0x120523(0x3ca)]=_0x4cea98,this[_0x120523(0x190)]=_0x5a1843,_0x317deb(this,'_timeoutState$',new _0x5515fe['BehaviorSubject'](null)),_0x317deb(this,_0x120523(0x43d),new _0x5515fe[(_0x120523(0x4b4))](!0x1)),_0x317deb(this,_0x120523(0x1e9),new Set()),_0x317deb(this,_0x120523(0x26b),new Map()),_0x317deb(this,_0x120523(0x276),new Set()),_0x317deb(this,'_latestStates',new Map()),_0x317deb(this,_0x120523(0x28a),void 0x0),_0x317deb(this,_0x120523(0x4aa),void 0x0),_0x317deb(this,_0x120523(0x1a8),void 0x0),_0x317deb(this,'timeoutState$',this[_0x120523(0x47e)][_0x120523(0x38e)]());let _0xfe1cb9=()=>(0x0,_0x477dc2['createElement'])(_0x3afd20,{'state$':this[_0x120523(0x4cc)],'interactionBlocked$':this[_0x120523(0x43d)]});this[_0x120523(0x3a7)](_0x4d8022[_0x120523(0x1fc)](_0x4dab43[_0x120523(0x2ab)][_0x120523(0x191)],()=>(0x0,_0x4dab43[_0x120523(0x427)])(_0xfe1cb9,this['_injector']))),this[_0x120523(0x3a7)](this['_snapshotLoadingService'][_0x120523(0x4bf)][_0x120523(0x31e)](_0x595807=>{const _0x3847ee=_0x120523;this['_latestStates']=_0x595807,_0x595807[_0x3847ee(0x315)](_0x12400d=>{const _0x40bd5b=_0x3847ee;this[_0x40bd5b(0x440)](_0x12400d),this['_updateSheetPreview'](_0x12400d);});})),this[_0x120523(0x3a7)](this['_urlService'][_0x120523(0x216)]['subscribe'](()=>{const _0x469281=_0x120523;this[_0x469281(0x20d)]['forEach'](_0x2d7849=>{const _0x1ac55a=_0x469281;this[_0x1ac55a(0x440)](_0x2d7849),this[_0x1ac55a(0x3f1)](_0x2d7849);});}));}['dispose'](){const _0x2af6cf=_0x470848;var _0x3e21bc;if(this[_0x2af6cf(0x1e9)][_0x2af6cf(0x315)](_0x187174=>this['_messageService'][_0x2af6cf(0x4a2)](_0x187174)),this[_0x2af6cf(0x1e9)][_0x2af6cf(0x2f8)](),this['_previewUnitId']){var _0x55b31a;(_0x55b31a=this[_0x2af6cf(0x1a8)])==null||_0x55b31a[_0x2af6cf(0x26f)](this[_0x2af6cf(0x28a)]);}this[_0x2af6cf(0x28a)]=void 0x0,this[_0x2af6cf(0x26b)][_0x2af6cf(0x315)](({timeoutId:_0x1d274f})=>clearTimeout(_0x1d274f)),this['_blockProgressWatches']['clear'](),(_0x3e21bc=this[_0x2af6cf(0x4aa)])==null||_0x3e21bc[_0x2af6cf(0x39c)](),this['_shortcutBlock']=void 0x0,this[_0x2af6cf(0x47e)][_0x2af6cf(0x28f)](),this[_0x2af6cf(0x43d)][_0x2af6cf(0x28f)](),super[_0x2af6cf(0x39c)]();}[_0x470848(0x440)](_0x4a8313){const _0xa2aaa4=_0x470848;let _0x3ce751=''+_0x50ed8d+_0x4a8313[_0xa2aaa4(0x1fb)];if(_0x4a8313[_0xa2aaa4(0x448)]===_0x518a46[_0xa2aaa4(0x435)][_0xa2aaa4(0x260)]){if(this[_0xa2aaa4(0x498)](_0x4a8313[_0xa2aaa4(0x1fb)]),this['_isVisibleUnit'](_0x4a8313[_0xa2aaa4(0x1fb)])&&this['_previewUnitId']===_0x4a8313[_0xa2aaa4(0x1fb)]){this['_messageService']['show']({'id':_0x3ce751,'type':_0x472933[_0xa2aaa4(0x2d2)][_0xa2aaa4(0x1f8)],'duration':0x1/0x0,'content':this['_localeService']['t']('collaboration-client-ui.snapshotLoading.loadingSheet')}),this[_0xa2aaa4(0x1e9)]['add'](_0x3ce751);return;}this['_clearTimeoutState'](_0x4a8313['unitId']),this[_0xa2aaa4(0x4c3)][_0xa2aaa4(0x4a2)](_0x3ce751),this['_messageIds'][_0xa2aaa4(0x460)](_0x3ce751);return;}if(!this[_0xa2aaa4(0x364)](_0x4a8313['unitId'])){this[_0xa2aaa4(0x498)](_0x4a8313['unitId']),this[_0xa2aaa4(0x377)](_0x4a8313['unitId']),this[_0xa2aaa4(0x4c3)][_0xa2aaa4(0x4a2)](_0x3ce751),this[_0xa2aaa4(0x1e9)][_0xa2aaa4(0x460)](_0x3ce751);return;}if(_0x4a8313['stage']===_0x518a46[_0xa2aaa4(0x435)][_0xa2aaa4(0x1eb)]){this[_0xa2aaa4(0x498)](_0x4a8313[_0xa2aaa4(0x1fb)]),this[_0xa2aaa4(0x377)](_0x4a8313[_0xa2aaa4(0x1fb)]),this[_0xa2aaa4(0x4c3)][_0xa2aaa4(0x3ea)]({'id':_0x3ce751,'type':_0x472933[_0xa2aaa4(0x2d2)][_0xa2aaa4(0x3cc)],'content':this[_0xa2aaa4(0x235)]['t'](_0xa2aaa4(0x45b))}),this['_messageIds'][_0xa2aaa4(0x460)](_0x3ce751);return;}if(_0x4a8313['stage']!==_0x518a46['SnapshotLoadStage'][_0xa2aaa4(0x420)]||_0x4a8313[_0xa2aaa4(0x280)]<=0xa){this[_0xa2aaa4(0x498)](_0x4a8313[_0xa2aaa4(0x1fb)]),this[_0xa2aaa4(0x4c3)][_0xa2aaa4(0x4a2)](_0x3ce751),this[_0xa2aaa4(0x1e9)]['delete'](_0x3ce751);return;}this[_0xa2aaa4(0x347)](_0x4a8313)||(this[_0xa2aaa4(0x4c3)][_0xa2aaa4(0x3ea)]({'id':_0x3ce751,'type':_0x472933[_0xa2aaa4(0x2d2)]['Loading'],'duration':0x1/0x0,'content':this[_0xa2aaa4(0x235)]['t'](_0xa2aaa4(0x2da))+'\x20'+_0x4a8313[_0xa2aaa4(0x2af)]+'/'+_0x4a8313['totalBlocks']}),this[_0xa2aaa4(0x1e9)][_0xa2aaa4(0x345)](_0x3ce751));}[_0x470848(0x347)](_0x4a2962){const _0x29db28=_0x470848;let _0x1f1aca=this['_blockProgressWatches'][_0x29db28(0x226)](_0x4a2962[_0x29db28(0x1fb)]);if((_0x1f1aca==null?void 0x0:_0x1f1aca['loadedBlocks'])===_0x4a2962[_0x29db28(0x2af)])return _0x1f1aca[_0x29db28(0x1ba)];this[_0x29db28(0x498)](_0x4a2962[_0x29db28(0x1fb)]);let _0x527402=setTimeout(()=>{const _0x3034c0=_0x29db28;let _0x5c23a8=this[_0x3034c0(0x26b)][_0x3034c0(0x226)](_0x4a2962['unitId']);if(!_0x5c23a8||_0x5c23a8[_0x3034c0(0x3a5)]!==_0x527402)return;_0x5c23a8[_0x3034c0(0x1ba)]=!0x0;let _0x292135=''+_0x50ed8d+_0x4a2962[_0x3034c0(0x1fb)];this[_0x3034c0(0x4c3)][_0x3034c0(0x4a2)](_0x292135),this['_messageIds'][_0x3034c0(0x460)](_0x292135),this[_0x3034c0(0x47e)][_0x3034c0(0x29d)]({'unitId':_0x4a2962[_0x3034c0(0x1fb)],'content':this[_0x3034c0(0x235)]['t'](_0x3034c0(0x25f),String(_0x4a2962[_0x3034c0(0x2af)]),String(_0x4a2962[_0x3034c0(0x280)])),'refreshLabel':this[_0x3034c0(0x235)]['t'](_0x3034c0(0x46c))});},0xea60);return this[_0x29db28(0x26b)]['set'](_0x4a2962[_0x29db28(0x1fb)],{'loadedBlocks':_0x4a2962[_0x29db28(0x2af)],'timedOut':!0x1,'timeoutId':_0x527402}),!0x1;}[_0x470848(0x498)](_0x4de1e7){const _0x20e199=_0x470848;let _0x38d0e3=this[_0x20e199(0x26b)][_0x20e199(0x226)](_0x4de1e7);_0x38d0e3&&(clearTimeout(_0x38d0e3[_0x20e199(0x3a5)]),this[_0x20e199(0x26b)][_0x20e199(0x460)](_0x4de1e7),this['_clearTimeoutState'](_0x4de1e7));}[_0x470848(0x377)](_0x1c3ecb){const _0x1156c8=_0x470848;var _0x5101d5;((_0x5101d5=this[_0x1156c8(0x47e)][_0x1156c8(0x411)])==null?void 0x0:_0x5101d5[_0x1156c8(0x1fb)])===_0x1c3ecb&&this[_0x1156c8(0x47e)][_0x1156c8(0x29d)](null);}[_0x470848(0x3f1)](_0x41b72a){const _0x118242=_0x470848;if(_0x41b72a[_0x118242(0x448)]===_0x518a46['SnapshotLoadStage']['LOADING_SNAPSHOT']&&this[_0x118242(0x276)][_0x118242(0x460)](_0x41b72a[_0x118242(0x1fb)]),!this[_0x118242(0x364)](_0x41b72a['unitId'])){this[_0x118242(0x30b)](_0x41b72a['unitId']);return;}if(_0x41b72a[_0x118242(0x448)]===_0x518a46['SnapshotLoadStage'][_0x118242(0x1eb)]||_0x41b72a[_0x118242(0x280)]<=0xa){this[_0x118242(0x30b)](_0x41b72a['unitId']);return;}if(_0x41b72a[_0x118242(0x448)]===_0x518a46[_0x118242(0x435)]['COMPLETE']){this['_handoffPreview'](_0x41b72a[_0x118242(0x1fb)]);return;}if(_0x41b72a[_0x118242(0x448)]===_0x518a46[_0x118242(0x435)][_0x118242(0x420)]&&_0x41b72a[_0x118242(0x324)]&&_0x41b72a[_0x118242(0x264)]){let _0x173843=this[_0x118242(0x4a4)]();if(!_0x173843)return;this[_0x118242(0x28a)]&&this[_0x118242(0x28a)]!==_0x41b72a[_0x118242(0x1fb)]&&this[_0x118242(0x30b)](this[_0x118242(0x28a)]),_0x173843[_0x118242(0x1ee)](_0x41b72a['workbookShell'],_0x41b72a[_0x118242(0x264)]),this['_previewUnitId']=_0x41b72a['unitId'],this[_0x118242(0x4a3)](!0x0),_0x41b72a['previewReady']&&_0x173843[_0x118242(0x3ea)](_0x41b72a[_0x118242(0x324)],_0x41b72a[_0x118242(0x264)],_0x41b72a[_0x118242(0x4c1)]);}}['_handoffPreview'](_0x477088){const _0x4a232a=_0x470848;if(this[_0x4a232a(0x28a)]!==_0x477088||this[_0x4a232a(0x276)][_0x4a232a(0x1c9)](_0x477088))return;let _0x4c4882=this['_sheetLoadingRenderService'];_0x4c4882&&(this[_0x4a232a(0x276)][_0x4a232a(0x345)](_0x477088),_0x4c4882[_0x4a232a(0x38d)](_0x477088,0x2710)[_0x4a232a(0x308)](_0x43207b=>{const _0x16cccf=_0x4a232a;if(this[_0x16cccf(0x28a)]!==_0x477088)return;if(_0x43207b){let _0x12e3a3=''+_0x50ed8d+_0x477088;this[_0x16cccf(0x4c3)]['remove'](_0x12e3a3),this[_0x16cccf(0x1e9)]['delete'](_0x12e3a3),this['_previewUnitId']=void 0x0,this['_setInteractionBlocked'](!0x1);return;}let _0x92d66f=''+_0x50ed8d+_0x477088;this[_0x16cccf(0x4c3)]['remove'](_0x92d66f),this[_0x16cccf(0x1e9)]['delete'](_0x92d66f),this['_timeoutState$'][_0x16cccf(0x29d)]({'unitId':_0x477088,'content':this[_0x16cccf(0x235)]['t'](_0x16cccf(0x45b)),'refreshLabel':this['_localeService']['t']('collaboration-client-ui.snapshotLoading.refresh')});}));}[_0x470848(0x30b)](_0x4c4382){const _0x116921=_0x470848;var _0xb56d5a;this[_0x116921(0x28a)]===_0x4c4382&&((_0xb56d5a=this[_0x116921(0x1a8)])==null||_0xb56d5a[_0x116921(0x26f)](_0x4c4382),this[_0x116921(0x28a)]=void 0x0,this[_0x116921(0x4a3)](!0x1));}[_0x470848(0x4a3)](_0x139389){const _0x5c2a01=_0x470848;if(_0x139389!==this[_0x5c2a01(0x43d)][_0x5c2a01(0x411)]){if(_0x139389)this['_shortcutBlock']=this[_0x5c2a01(0x3ca)]['forceDisable']();else{var _0x59f370;(_0x59f370=this[_0x5c2a01(0x4aa)])==null||_0x59f370[_0x5c2a01(0x39c)](),this['_shortcutBlock']=void 0x0;}this[_0x5c2a01(0x43d)][_0x5c2a01(0x29d)](_0x139389);}}[_0x470848(0x364)](_0x577bde){const _0x542f94=_0x470848;let _0x447a54=this[_0x542f94(0x190)][_0x542f94(0x490)](_0x542f94(0x18a));return!_0x447a54||_0x447a54===_0x577bde;}[_0x470848(0x4a4)](){const _0x537e2b=_0x470848;return this[_0x537e2b(0x1a8)]?this['_sheetLoadingRenderService']:(this[_0x537e2b(0x2b3)]['startPluginsForType'](_0x3378d6[_0x537e2b(0x2b5)][_0x537e2b(0x1ab)]),this[_0x537e2b(0x240)]['has'](_0x4fe045[_0x537e2b(0x397)])&&(this[_0x537e2b(0x1a8)]=this[_0x537e2b(0x240)]['get'](_0x4fe045[_0x537e2b(0x397)])),this[_0x537e2b(0x1a8)]);}};_0x3328cc=_0x265259([_0x4f2c8d(0x0,(0x0,_0x3378d6[_0x470848(0x331)])(_0x518a46['SnapshotLoadingService'])),_0x4f2c8d(0x1,_0x4dab43[_0x470848(0x2cc)]),_0x4f2c8d(0x2,(0x0,_0x3378d6[_0x470848(0x331)])(_0x3378d6[_0x470848(0x23b)])),_0x4f2c8d(0x3,(0x0,_0x3378d6[_0x470848(0x331)])(_0x3378d6[_0x470848(0x200)])),_0x4f2c8d(0x4,(0x0,_0x3378d6[_0x470848(0x331)])(_0x3378d6[_0x470848(0x2e3)])),_0x4f2c8d(0x5,_0x4dab43[_0x470848(0x2f9)]),_0x4f2c8d(0x6,_0x4dab43[_0x470848(0x2b8)]),_0x4f2c8d(0x7,_0x48f9b0)],_0x3328cc);function _0x59fd14(_0x296c35){const _0x33f1e6=_0x470848;var _0x2707b5,_0x4fb7e6;let _0x37c9c7=(_0x2707b5=_0x296c35[_0x33f1e6(0x205)])==null?void 0x0:_0x2707b5[_0x33f1e6(0x448)],_0x1e5d59=((_0x4fb7e6=_0x296c35['stageInfo'])==null?void 0x0:_0x4fb7e6[_0x33f1e6(0x246)])||0x0;return _0x37c9c7===_0x4599c2[_0x33f1e6(0x313)][_0x33f1e6(0x26d)]&&_0x1e5d59>0x0;}function _0x3ae71d(_0x57a888){const _0x47ca6a=_0x470848;return _0x57a888[_0x47ca6a(0x445)]===_0x4599c2['FormulaExecutedStateType'][_0x47ca6a(0x437)];}let _0x16758d=class extends _0x3378d6[_0x470848(0x380)]{constructor(_0x4185e6,_0x5b650a,_0x1c1a7c,_0x17d8b2,_0x67966e,_0x5e4fe4,_0xfe03e0){const _0x57cae3=_0x470848;super(),this[_0x57cae3(0x4c3)]=_0x4185e6,this['_commandService']=_0x5b650a,this[_0x57cae3(0x40e)]=_0x1c1a7c,this['_httpService']=_0x17d8b2,this[_0x57cae3(0x48a)]=_0x67966e,this['_logService']=_0x5e4fe4,this[_0x57cae3(0x235)]=_0xfe03e0,_0x317deb(this,'_pollingInterval',null),_0x317deb(this,'_maxFormulaLimit',0x0),_0x317deb(this,'_currentUsage',0x0),_0x317deb(this,_0x57cae3(0x267),[]),_0x317deb(this,_0x57cae3(0x45f),0x0),this[_0x57cae3(0x1b7)]();}[_0x470848(0x1b7)](){const _0x25fbd0=_0x470848;this['disposeWithMe'](this[_0x25fbd0(0x3cf)][_0x25fbd0(0x2bc)]((_0x1cf2b9,_0x5bab77)=>{const _0x473393=_0x25fbd0;var _0x513154;if(_0x1cf2b9['id']!==_0x4599c2['SetFormulaCalculationStartMutation']['id'])return;let _0x437e07=_0x1cf2b9[_0x473393(0x31c)];if(this[_0x473393(0x210)]((_0x513154=_0x437e07[_0x473393(0x285)])==null?[]:_0x513154)&&!this[_0x473393(0x1dc)]())throw this[_0x473393(0x2c4)](_0x1cf2b9,_0x5bab77),this['_showGuardMessage'](),new _0x3378d6['CanceledError']();})),this[_0x25fbd0(0x3a7)](this['_commandService']['onCommandExecuted']((_0x4e1f2a,_0x3d81c7)=>{const _0x3941fd=_0x25fbd0;if(_0x4e1f2a['id']!==_0x4599c2[_0x3941fd(0x3c8)]['id'])return;let _0x4308bd=_0x4e1f2a[_0x3941fd(0x31c)];if(_0x59fd14(_0x4308bd)){let _0x439360=(0x0,_0x3378d6['generateRandomId'])();this[_0x3941fd(0x267)][_0x3941fd(0x207)](_0x439360),this['_startCalculationLimit'](_0x439360);}else{if(_0x3ae71d(_0x4308bd)&&this[_0x3941fd(0x267)]['length']>0x0){let _0x2b9dd5=this['_taskIds'][_0x3941fd(0x1df)]();this[_0x3941fd(0x1ef)](_0x2b9dd5);}}}));}[_0x470848(0x39c)](){const _0x3ac656=_0x470848;super[_0x3ac656(0x39c)](),this[_0x3ac656(0x2c8)](),this[_0x3ac656(0x267)]=[],this[_0x3ac656(0x21a)]=0x0,this[_0x3ac656(0x49d)]=0x0,this[_0x3ac656(0x45f)]=0x0;}async['_checkAndWaitForCalculationPermission'](_0x2c1109,_0x1441b9){const _0x3586f2=_0x470848;for(let _0x525685=0x0;_0x525685<0x1e;_0x525685++)try{if(await this[_0x3586f2(0x2d8)](),this[_0x3586f2(0x1dc)]()){this[_0x3586f2(0x274)](_0x2c1109,_0x1441b9),this[_0x3586f2(0x4c3)][_0x3586f2(0x3ea)]({'content':this[_0x3586f2(0x235)]['t'](_0x3586f2(0x3dd)),'type':_0x472933['MessageType'][_0x3586f2(0x214)]});return;}await new Promise(_0x5ab3ab=>{const _0x3ea0a2=_0x3586f2;this[_0x3ea0a2(0x17c)]=window[_0x3ea0a2(0x333)](_0x5ab3ab,0x3e8);});}catch(_0x4851cf){this[_0x3586f2(0x468)][_0x3586f2(0x194)](_0x4851cf);}this['_messageService']['show']({'content':this[_0x3586f2(0x235)]['t'](_0x3586f2(0x47a)),'type':_0x472933[_0x3586f2(0x2d2)]['Error']});}[_0x470848(0x274)](_0x1f834c,_0x3ee323){const _0x15bced=_0x470848;try{this[_0x15bced(0x3cf)][_0x15bced(0x16b)](_0x1f834c['id'],_0x1f834c['params'],_0x3ee323);}catch(_0xb75ce6){this[_0x15bced(0x468)]['error'](_0xb75ce6);}}['_setFormulaLimitStatus'](_0x1717b4,_0x489081){const _0x20a2eb=_0x470848;_0x489081<this['_lastResponseTimestamp']||(this[_0x20a2eb(0x45f)]=_0x489081,this[_0x20a2eb(0x49d)]=Number[_0x20a2eb(0x2a1)](_0x1717b4[_0x20a2eb(0x4ab)]),this[_0x20a2eb(0x21a)]=Number['parseInt'](_0x1717b4[_0x20a2eb(0x45a)]));}async[_0x470848(0x2eb)](_0x456dca){const _0x58414b=_0x470848;let _0x1d8a2e=Date['now']();try{var _0x67507c,_0x21485a;let _0x193a15=((_0x67507c=this[_0x58414b(0x40e)][_0x58414b(0x461)](_0x289c2c[_0x58414b(0x3e5)]))==null?void 0x0:_0x67507c['startFormulaLimitUrl'])||_0x58414b(0x474),_0xe112a6=(await this[_0x58414b(0x4bb)]['post'](_0x193a15,{'body':JSON[_0x58414b(0x3aa)]({'taskId':_0x456dca})}))[_0x58414b(0x316)];if(((_0x21485a=_0xe112a6[_0x58414b(0x194)])==null?void 0x0:_0x21485a[_0x58414b(0x1d2)])!==_0x6c7a[_0x58414b(0x3e9)]['OK'])return;this[_0x58414b(0x2e9)](_0xe112a6[_0x58414b(0x3e1)],_0x1d8a2e);}catch(_0x25644a){this[_0x58414b(0x468)]['error'](_0x25644a);}}async[_0x470848(0x2d8)](_0x39bdd7){const _0x4402f7=_0x470848;let _0x48c137=Date[_0x4402f7(0x344)]();try{var _0xbb2d3e,_0x3580cf;let _0x3d4aac=((_0xbb2d3e=this[_0x4402f7(0x40e)][_0x4402f7(0x461)](_0x289c2c[_0x4402f7(0x3e5)]))==null?void 0x0:_0xbb2d3e[_0x4402f7(0x334)])||_0x4402f7(0x20b),_0x1f36ec=_0x39bdd7?_0x3d4aac+_0x4402f7(0x20f)+encodeURIComponent(_0x39bdd7):_0x3d4aac,_0x47546f=(await this[_0x4402f7(0x4bb)]['get'](_0x1f36ec))[_0x4402f7(0x316)];if(((_0x3580cf=_0x47546f[_0x4402f7(0x194)])==null?void 0x0:_0x3580cf[_0x4402f7(0x1d2)])!==_0x6c7a[_0x4402f7(0x3e9)]['OK'])return;this[_0x4402f7(0x2e9)](_0x47546f[_0x4402f7(0x3e1)],_0x48c137);}catch(_0x331416){this[_0x4402f7(0x468)]['error'](_0x331416);}}async[_0x470848(0x1ef)](_0x3376ca){const _0x576852=_0x470848;let _0x300a44=Date[_0x576852(0x344)]();try{var _0x58668f,_0x779e92;let _0x27066d=((_0x58668f=this[_0x576852(0x40e)][_0x576852(0x461)](_0x289c2c['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']))==null?void 0x0:_0x58668f[_0x576852(0x20e)])||_0x576852(0x295),_0x314d2d=(await this[_0x576852(0x4bb)]['post'](_0x27066d,{'body':JSON[_0x576852(0x3aa)]({'taskId':_0x3376ca})}))[_0x576852(0x316)];if(((_0x779e92=_0x314d2d[_0x576852(0x194)])==null?void 0x0:_0x779e92[_0x576852(0x1d2)])!==_0x6c7a['ErrorCode']['OK'])return;this[_0x576852(0x2e9)](_0x314d2d['limitInfo'],_0x300a44);}catch(_0x678c47){this[_0x576852(0x468)]['error'](_0x678c47);}}[_0x470848(0x1dc)](){const _0x21ecf9=_0x470848;return this[_0x21ecf9(0x49d)]===0x0?!0x0:this[_0x21ecf9(0x49d)]-this[_0x21ecf9(0x21a)]>0x0;}[_0x470848(0x2c8)](){const _0x11bf79=_0x470848;this[_0x11bf79(0x17c)]&&(clearTimeout(this[_0x11bf79(0x17c)]),this[_0x11bf79(0x17c)]=null);}[_0x470848(0x2ca)](){const _0x1e5c65=_0x470848;this[_0x1e5c65(0x4c3)][_0x1e5c65(0x3ea)]({'content':this[_0x1e5c65(0x235)]['t'](_0x1e5c65(0x388)),'type':_0x472933[_0x1e5c65(0x2d2)][_0x1e5c65(0x1f8)]});}['_hasFormulaInDirtyRanges'](_0x4cf7c6){const _0x15b4b0=_0x470848;for(let _0x58ccc8 of _0x4cf7c6){let {unitId:_0x59a435,sheetId:_0x5d9bf1,range:_0x707241}=_0x58ccc8,_0x3d7b6c=this[_0x15b4b0(0x48a)]['getUnit'](_0x59a435);if(!_0x3d7b6c)continue;let _0x25aa62=_0x3d7b6c['getSheetBySheetId'](_0x5d9bf1);if(!_0x25aa62)continue;let _0x502290=_0x25aa62['getCellMatrix']();for(let _0x25f073=_0x707241['startRow'];_0x25f073<=_0x707241[_0x15b4b0(0x199)];_0x25f073++)for(let _0x2517ed=_0x707241['startColumn'];_0x2517ed<=_0x707241[_0x15b4b0(0x370)];_0x2517ed++){let _0x3f239d=_0x502290[_0x15b4b0(0x434)](_0x25f073,_0x2517ed);if(_0x3f239d&&((0x0,_0x3378d6[_0x15b4b0(0x22e)])(_0x3f239d['f'])||(0x0,_0x3378d6[_0x15b4b0(0x30f)])(_0x3f239d['si'])))return!0x0;}}return!0x1;}};_0x16758d=_0x265259([_0x4f2c8d(0x0,(0x0,_0x3378d6[_0x470848(0x331)])(_0x4dab43[_0x470848(0x2cc)])),_0x4f2c8d(0x1,_0x3378d6[_0x470848(0x3d2)]),_0x4f2c8d(0x2,_0x3378d6[_0x470848(0x1cc)]),_0x4f2c8d(0x3,(0x0,_0x3378d6[_0x470848(0x331)])(_0x301182[_0x470848(0x17f)])),_0x4f2c8d(0x4,_0x3378d6[_0x470848(0x180)]),_0x4f2c8d(0x5,_0x3378d6[_0x470848(0x3fb)]),_0x4f2c8d(0x6,(0x0,_0x3378d6[_0x470848(0x331)])(_0x3378d6[_0x470848(0x23b)]))],_0x16758d);let _0x2bc207=class extends _0x3378d6[_0x470848(0x380)]{constructor(_0xcec0b2,_0x38b219,_0x229f77){const _0x5897dd=_0x470848;super(),this[_0x5897dd(0x40e)]=_0xcec0b2,this[_0x5897dd(0x2ce)]=_0x38b219,this[_0x5897dd(0x242)]=_0x229f77,_0x317deb(this,_0x5897dd(0x265),new Map()),_0x317deb(this,_0x5897dd(0x29c),new Map()),_0x317deb(this,'_disabled',!0x1);}[_0x470848(0x1c4)](){const _0x25fa28=_0x470848;this[_0x25fa28(0x3bf)]=!0x0;}[_0x470848(0x2f5)](){const _0x150aa1=_0x470848;this[_0x150aa1(0x3bf)]=!0x1;}get[_0x470848(0x419)](){const _0x29d07c=_0x470848;return this[_0x29d07c(0x29c)];}[_0x470848(0x39c)](){const _0x41b91a=_0x470848;this['exhaustSavingTask']()[_0x41b91a(0x308)](()=>super[_0x41b91a(0x39c)]());}async[_0x470848(0x3fc)](_0x265f37){const _0x111711=_0x470848;return this[_0x111711(0x3bf)]?null:this['_localStorageService'][_0x111711(0x455)]((0x0,_0x289c2c[_0x111711(0x16a)])(_0x265f37));}async[_0x470848(0x3b9)](_0x2c5321,_0x469e74){const _0x52626=_0x470848;return!!this[_0x52626(0x2ce)][_0x52626(0x206)]((0x0,_0x289c2c[_0x52626(0x16a)])(_0x2c5321),_0x469e74);}async[_0x470848(0x42d)](_0xb0bc1d,_0x8848bb){const _0x270b78=_0x470848;var _0x2ea75d;let _0x189a0b=(_0x2ea75d=this[_0x270b78(0x265)][_0x270b78(0x226)](_0xb0bc1d))==null?await this[_0x270b78(0x2ce)][_0x270b78(0x455)]((0x0,_0x289c2c['getLocalCacheKey'])(_0xb0bc1d)):_0x2ea75d;if(!_0x189a0b)return;let _0x103daa=Date[_0x270b78(0x344)](),_0x564dc2=new Date(_0x103daa)['toISOString']();await this[_0x270b78(0x2ce)][_0x270b78(0x206)]((0x0,_0x289c2c[_0x270b78(0x16a)])(_0xb0bc1d)+':backup:'+_0x103daa,{'reason':_0x8848bb,'createdAt':_0x564dc2,'data':_0x189a0b});}['updateOfflineData'](_0x20f9c1,_0x56e504,_0xdb11a7,_0x26cb6e){const _0x261e6b=_0x470848;let _0x10f09a=this[_0x261e6b(0x242)]['getCurrentRevOfUnit'](_0x20f9c1);this[_0x261e6b(0x265)][_0x261e6b(0x406)](_0x20f9c1,{'unitID':_0x20f9c1,'type':_0x56e504,'awaitingChangeset':_0xdb11a7,'mutations':_0x26cb6e,'rev':_0x10f09a}),this[_0x261e6b(0x29c)][_0x261e6b(0x1c9)](_0x20f9c1)||this[_0x261e6b(0x35c)](_0x20f9c1);}['_scheduleSaving'](_0x3d6311){const _0x2682b6=_0x470848;let _0xe3ca2b=this[_0x2682b6(0x3af)]();_0xe3ca2b===0x0?this[_0x2682b6(0x45e)](_0x3d6311):this[_0x2682b6(0x29c)][_0x2682b6(0x406)](_0x3d6311,window[_0x2682b6(0x333)](()=>this[_0x2682b6(0x45e)](_0x3d6311),_0xe3ca2b));}[_0x470848(0x3af)](){const _0x407848=_0x470848;var _0x2bde39;return(_0x2bde39=this[_0x407848(0x40e)][_0x407848(0x461)](_0x289c2c[_0x407848(0x41c)]))==null?_0x289c2c[_0x407848(0x193)]:_0x2bde39;}[_0x470848(0x45e)](_0x466848){const _0x4ba473=_0x470848;let _0x1dc1d4=this[_0x4ba473(0x29c)][_0x4ba473(0x226)](_0x466848);return _0x1dc1d4!==void 0x0&&window[_0x4ba473(0x373)](_0x1dc1d4),this[_0x4ba473(0x2ce)][_0x4ba473(0x206)]((0x0,_0x289c2c[_0x4ba473(0x16a)])(_0x466848),this['_cachedData']['get'](_0x466848))[_0x4ba473(0x308)](()=>this[_0x4ba473(0x29c)][_0x4ba473(0x460)](_0x466848));}async[_0x470848(0x3dc)](){const _0x2b8dbc=_0x470848;let _0xac9580=[];this[_0x2b8dbc(0x29c)][_0x2b8dbc(0x315)]((_0x2a954a,_0x22b0d0)=>{const _0x1968c7=_0x2b8dbc;window[_0x1968c7(0x373)](_0x2a954a),_0xac9580['push'](this[_0x1968c7(0x45e)](_0x22b0d0)['then'](()=>{const _0x192951=_0x1968c7;this[_0x192951(0x29c)][_0x192951(0x460)](_0x22b0d0);}));}),await Promise[_0x2b8dbc(0x1f1)](_0xac9580);}};_0x2bc207=_0x265259([_0x4f2c8d(0x0,_0x3378d6[_0x470848(0x1cc)]),_0x4f2c8d(0x1,_0x3378d6[_0x470848(0x277)]),_0x4f2c8d(0x2,(0x0,_0x3378d6[_0x470848(0x331)])(_0x518a46[_0x470848(0x379)]))],_0x2bc207);var _0x40f874=class extends _0x3378d6[_0x470848(0x42a)]{constructor(){const _0x3ee546=_0x470848;super(),_0x317deb(this,'urlChange$',void 0x0),this[_0x3ee546(0x216)]=(0x0,_0x5515fe[_0x3ee546(0x30a)])(window,_0x3ee546(0x3d8))['pipe']((0x0,_0x5515fe[_0x3ee546(0x3e2)])(this['dispose$']),(0x0,_0x5515fe[_0x3ee546(0x2a8)])({'bufferSize':0x1,'refCount':!0x0}),(0x0,_0x5515fe[_0x3ee546(0x40c)])(void 0x0));}['setParam'](_0x297a58,_0x4aaa68,_0x37c526=!0x1){const _0x1c1dce=_0x470848;let _0x28fbd3=new URL(window[_0x1c1dce(0x19e)][_0x1c1dce(0x338)]);_0x28fbd3[_0x1c1dce(0x37d)][_0x1c1dce(0x406)](_0x297a58,_0x4aaa68),_0x37c526?window[_0x1c1dce(0x3c6)][_0x1c1dce(0x342)]('','',_0x28fbd3['toString']()):window[_0x1c1dce(0x3c6)][_0x1c1dce(0x3f7)]('','',_0x28fbd3['toString']());}[_0x470848(0x229)](_0x3b2c8c,_0x2c890e=!0x1){const _0x245e49=_0x470848;let _0xa457ba=new URL(window[_0x245e49(0x19e)][_0x245e49(0x338)]);_0xa457ba[_0x245e49(0x37d)][_0x245e49(0x460)](_0x3b2c8c),_0x2c890e?window[_0x245e49(0x3c6)][_0x245e49(0x342)]('','',_0xa457ba[_0x245e49(0x31f)]()):window[_0x245e49(0x3c6)][_0x245e49(0x3f7)]('','',_0xa457ba[_0x245e49(0x31f)]());}[_0x470848(0x490)](_0x255ec1){const _0x34583b=_0x470848;var _0x5e8058;return(_0x5e8058=new URL(window['location'][_0x34583b(0x338)])['searchParams'][_0x34583b(0x226)](_0x255ec1))==null?void 0x0:_0x5e8058;}};let _0x35d42e=class extends _0x3378d6['Plugin']{constructor(_0x3479a8=_0x2ca37d,_0x2e308f,_0xbde081,_0x39d72a){const _0x50e9fc=_0x470848;super(),this[_0x50e9fc(0x492)]=_0x3479a8,this[_0x50e9fc(0x381)]=_0x2e308f,this[_0x50e9fc(0x240)]=_0xbde081,this['_configService']=_0x39d72a;let {..._0x3608fd}=(0x0,_0x3378d6[_0x50e9fc(0x443)])({},_0x2ca37d,this[_0x50e9fc(0x492)]);this[_0x50e9fc(0x40e)]['setConfig']('collaboration-client-ui.config',_0x3608fd);}[_0x470848(0x4b9)](){const _0x602f19=_0x470848;this[_0x602f19(0x4b0)](),this['_initDependencies']();}[_0x470848(0x413)](){this['_registerRenderDependencies']();}[_0x470848(0x4b0)](){const _0x4e4436=_0x470848;var _0x55d50a;let _0x54ca41=[[_0x5a49d8],[_0x16758d],[_0x48f9b0,{'useClass':_0x40f874}],[_0x301182[_0x4e4436(0x3a4)],{'useClass':_0x301182['WebSocketService']}],[_0x289c2c[_0x4e4436(0x4b7)],{'useClass':_0x2bc207}],[_0x35e9ef],[_0x4ab697],[_0x3b11db],[_0x3b029d],[_0x48aa1e],[_0x3328cc]];this[_0x4e4436(0x492)]['enableDocumentCollaborationUI']!==!0x1&&_0x54ca41[_0x4e4436(0x207)]([_0x3cc37c],[_0x2c292f],[_0x42f65a],[_0x3ebe55],[_0x1d32b6],[_0x563a43]),this[_0x4e4436(0x492)][_0x4e4436(0x1b0)]&&_0x54ca41[_0x4e4436(0x207)]([_0x129cf2]),(0x0,_0x3378d6['registerDependencies'])(this['_injector'],(0x0,_0x3378d6[_0x4e4436(0x1f9)])(_0x54ca41,(_0x55d50a=this[_0x4e4436(0x492)])==null?void 0x0:_0x55d50a[_0x4e4436(0x456)]));}[_0x470848(0x410)](){const _0x27b03b=_0x470848;this['_config'][_0x27b03b(0x17d)]!==!0x1&&this['disposeWithMe'](this[_0x27b03b(0x381)][_0x27b03b(0x355)](_0x3378d6[_0x27b03b(0x2b5)][_0x27b03b(0x43f)],[_0x42c69d])),this[_0x27b03b(0x3a7)](this['_renderManagerService'][_0x27b03b(0x355)](_0x3378d6[_0x27b03b(0x2b5)][_0x27b03b(0x1ab)],[_0x13f49e])),this[_0x27b03b(0x3a7)](this[_0x27b03b(0x381)][_0x27b03b(0x355)](_0x3378d6[_0x27b03b(0x2b5)]['UNIVER_SLIDE'],[_0xab6e53])),this[_0x27b03b(0x3a7)](this[_0x27b03b(0x381)]['registerRenderModule'](_0x3378d6[_0x27b03b(0x2b5)][_0x27b03b(0x346)],[_0x4f3792]));}[_0x470848(0x487)](){const _0x4e70aa=_0x470848;(0x0,_0x3378d6['touchDependencies'])(this[_0x4e70aa(0x240)],[[_0x3b029d],[_0x35e9ef],[_0x4ab697],[_0x3b11db],[_0x48aa1e],[_0x16758d],[_0x3328cc]]),this[_0x4e70aa(0x492)]['enableDocumentCollaborationUI']!==!0x1&&(0x0,_0x3378d6[_0x4e70aa(0x2c5)])(this[_0x4e70aa(0x240)],[[_0x1d32b6],[_0x563a43]]),this[_0x4e70aa(0x492)][_0x4e70aa(0x1b0)]&&(0x0,_0x3378d6[_0x4e70aa(0x2c5)])(this[_0x4e70aa(0x240)],[[_0x129cf2]]);}};_0x317deb(_0x35d42e,_0x470848(0x495),_0x470848(0x31b)),_0x317deb(_0x35d42e,'packageName',_0xe45e57),_0x317deb(_0x35d42e,'version',_0x3e2282),_0x35d42e=_0x265259([(0x0,_0x3378d6[_0x470848(0x3e0)])(_0x289c2c[_0x470848(0x4ae)]),_0x4f2c8d(0x1,_0x21620d[_0x470848(0x3c1)]),_0x4f2c8d(0x2,(0x0,_0x3378d6[_0x470848(0x331)])(_0x3378d6['Injector'])),_0x4f2c8d(0x3,_0x3378d6[_0x470848(0x1cc)])],_0x35d42e);let _0x1b89fe=class extends _0x289c2c[_0x470848(0x37e)]{constructor(_0x52c57d,_0x42fcda,_0x5af00c,_0x239336,_0x514da5){super(_0x52c57d,_0x42fcda,_0x5af00c,_0x239336,_0x514da5);}async[_0x470848(0x2a5)](_0x39ca54){const _0x36ac18=_0x470848;let _0x409e82=await this[_0x36ac18(0x2fc)](),_0x58fda9=this[_0x36ac18(0x2ba)](_0x39ca54,_0x409e82);return this[_0x36ac18(0x19b)](_0x58fda9);}['_createSocketURL'](_0x1c6d37,_0x53daa9){const _0x491bc9=_0x470848;let _0x9e36d5=typeof window>'u'?new URL(_0x1c6d37):new URL(_0x1c6d37,window[_0x491bc9(0x19e)]['origin']);_0x9e36d5[_0x491bc9(0x37d)][_0x491bc9(0x406)](_0x491bc9(0x36f),_0x53daa9);let _0x3c844f=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x491bc9(0x19e)]['search']);return _0x3c844f[_0x491bc9(0x226)](_0x491bc9(0x38b))&&_0x9e36d5[_0x491bc9(0x37d)][_0x491bc9(0x406)](_0x491bc9(0x38b),_0x3c844f[_0x491bc9(0x226)](_0x491bc9(0x38b))),_0x9e36d5[_0x491bc9(0x31f)]();}async[_0x470848(0x2fc)](){const _0x2bf644=_0x470848;var _0x1c2555,_0x48de92,_0x5d2673;let _0x2181ff=this[_0x2bf644(0x40e)][_0x2bf644(0x461)](_0x289c2c[_0x2bf644(0x3e5)]),_0x101143=(_0x1c2555=_0x2181ff==null?void 0x0:_0x2181ff['wsSessionTicketUrl'])==null?_0x289c2c[_0x2bf644(0x175)]:_0x1c2555;return(_0x48de92=(_0x5d2673=(await this[_0x2bf644(0x4bb)][_0x2bf644(0x226)](_0x101143,{'headers':{'Content-Type':'application/json'}}))[_0x2bf644(0x316)])==null?void 0x0:_0x5d2673['ticket'])==null?'':_0x48de92;}};_0x1b89fe=_0x265259([_0x4f2c8d(0x0,(0x0,_0x3378d6['Inject'])(_0x3378d6[_0x470848(0x200)])),_0x4f2c8d(0x1,(0x0,_0x3378d6[_0x470848(0x331)])(_0x301182[_0x470848(0x17f)])),_0x4f2c8d(0x2,_0x3378d6[_0x470848(0x1cc)]),_0x4f2c8d(0x3,_0x3378d6['ILogService']),_0x4f2c8d(0x4,_0x518a46[_0x470848(0x37c)])],_0x1b89fe);let _0x1bb327=class extends _0x3378d6[_0x470848(0x380)]{constructor(_0x4434e3,_0x1c5d2a,_0x582553){const _0x103ce1=_0x470848;super(),this[_0x103ce1(0x3d5)]=_0x4434e3,this['_httpService']=_0x1c5d2a,this[_0x103ce1(0x40e)]=_0x582553;}async[_0x470848(0x438)](_0x29c458,_0x3b4b94,_0x59d4a6,..._0x4a1a17){const _0x5dcc69=_0x470848;var _0x49bd7d,_0x27ee58,_0x1886bb,_0xe55ae3;let _0x1676ad=this[_0x5dcc69(0x3d5)][_0x5dcc69(0x31d)]();if(!_0x1676ad)throw Error(_0x5dcc69(0x2f0));let _0x28cd27=((_0x49bd7d=this[_0x5dcc69(0x40e)][_0x5dcc69(0x461)](_0x289c2c[_0x5dcc69(0x1c5)]))==null?_0x289c2c['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT']:_0x49bd7d)+'/'+_0x29c458+_0x5dcc69(0x4b1)+_0x3b4b94,_0x313345={'scriptId':_0x29c458,'runId':(_0x27ee58=new URL(window[_0x5dcc69(0x19e)]['href'])[_0x5dcc69(0x37d)][_0x5dcc69(0x226)]('runId'))==null?'':_0x27ee58,'function':_0x3b4b94,'unitId':_0x1676ad['getUnitId'](),'argsOfFunction':JSON['stringify'](_0x4a1a17),'invokeId':(_0x1886bb=_0x59d4a6[_0x5dcc69(0x233)])==null?'':_0x1886bb,'executionId':(_0xe55ae3=_0x59d4a6['executionId'])==null?'':_0xe55ae3};try{let _0x3d30bc=await this[_0x5dcc69(0x4bb)][_0x5dcc69(0x2be)](_0x28cd27,{'body':_0x313345});return _0x3d30bc[_0x5dcc69(0x316)][_0x5dcc69(0x194)]&&_0x3d30bc['body'][_0x5dcc69(0x194)][_0x5dcc69(0x1d2)]!==_0x6c7a['ErrorCode']['OK']?_0x5dcc69(0x320):_0x3d30bc[_0x5dcc69(0x316)][_0x5dcc69(0x223)];}catch{return _0x5dcc69(0x320);}}};_0x1bb327=_0x265259([_0x4f2c8d(0x0,_0x3378d6[_0x470848(0x180)]),_0x4f2c8d(0x1,(0x0,_0x3378d6[_0x470848(0x331)])(_0x301182[_0x470848(0x17f)])),_0x4f2c8d(0x2,_0x3378d6[_0x470848(0x1cc)])],_0x1bb327);let _0x3667a4=0x7530,_0x5a7e93=_0x470848(0x186);var _0x30dce7=class extends _0x3378d6[_0x470848(0x380)]{constructor(){const _0x43ee9b=_0x470848;super(),_0x317deb(this,_0x43ee9b(0x1d6),(0x0,_0x3378d6[_0x43ee9b(0x4c4)])()),_0x317deb(this,_0x43ee9b(0x395),new Set()),_0x317deb(this,'_unitOnClients',new Map()),_0x317deb(this,'_heartbeatTimer',null),_0x317deb(this,_0x43ee9b(0x3fe),new Map()),_0x317deb(this,_0x43ee9b(0x430),new Map()),this[_0x43ee9b(0x1a4)]();}[_0x470848(0x39c)](){const _0x4542e5=_0x470848;super['dispose'](),this[_0x4542e5(0x3fe)][_0x4542e5(0x315)]((_0x5320d0,_0x24f8ec)=>this['_removeClearOtherTimer'](_0x24f8ec)),this[_0x4542e5(0x2ea)]&&window[_0x4542e5(0x284)](this[_0x4542e5(0x2ea)]);}[_0x470848(0x4be)](_0x363631){const _0x57bc60=_0x470848;return this['_ensureSubject'](_0x363631)[_0x57bc60(0x376)]((0x0,_0x5515fe[_0x57bc60(0x1b1)])());}[_0x470848(0x447)](_0x16048a){const _0x39e478=_0x470848;this[_0x39e478(0x395)][_0x39e478(0x309)]===0x0&&this['_scheduleHeartbeat'](),this[_0x39e478(0x395)]['add'](_0x16048a),this[_0x39e478(0x4a7)]({'type':0x0,'memberID':this[_0x39e478(0x1d6)],'unitIDs':[_0x16048a],'isForwarded':!0x1});}[_0x470848(0x1a2)](_0x95352e){const _0x47b24d=_0x470848;this[_0x47b24d(0x395)][_0x47b24d(0x460)](_0x95352e),this[_0x47b24d(0x395)][_0x47b24d(0x309)]===0x0&&this[_0x47b24d(0x2ea)]&&window[_0x47b24d(0x284)](this['_heartbeatTimer']);}[_0x470848(0x1a4)](){const _0x1ff163=_0x470848;this[_0x1ff163(0x3a7)]((0x0,_0x3378d6[_0x1ff163(0x44d)])((0x0,_0x5515fe[_0x1ff163(0x30a)])(window,'storage')[_0x1ff163(0x31e)](_0x103520=>{const _0x1cc959=_0x1ff163;if(_0x103520[_0x1cc959(0x354)]!==_0x5a7e93||!_0x103520[_0x1cc959(0x2e5)])return;let _0x468c8e=JSON[_0x1cc959(0x1ea)](_0x103520[_0x1cc959(0x2e5)]);this[_0x1cc959(0x1ad)](_0x468c8e);}))),window[_0x1ff163(0x2b1)]('unload',()=>this[_0x1ff163(0x4a7)]({'type':0x1,'memberID':this[_0x1ff163(0x1d6)],'unitIDs':Array[_0x1ff163(0x452)](this[_0x1ff163(0x395)])}));}[_0x470848(0x1ad)](_0x33bc75){const _0x11e43d=_0x470848;switch(_0x33bc75[_0x11e43d(0x36b)]){case 0x0:this[_0x11e43d(0x312)](_0x33bc75);break;case 0x1:this['_handleLeaveEvent'](_0x33bc75);break;case 0x2:this[_0x11e43d(0x16f)](_0x33bc75);break;}}[_0x470848(0x312)](_0x35f81d){const _0x404733=_0x470848;let {unitIDs:_0x462546,memberID:_0x3ba37e,isForwarded:_0x8606e2}=_0x35f81d;_0x462546[_0x404733(0x315)](_0x175a64=>{const _0x49d2b8=_0x404733;if(!_0x8606e2&&this['_unitOnClients'][_0x49d2b8(0x1c9)](_0x175a64)&&this[_0x49d2b8(0x1d7)](_0x175a64)[_0x49d2b8(0x29d)](_0x289c2c[_0x49d2b8(0x1ec)][_0x49d2b8(0x3ae)]),!this[_0x49d2b8(0x341)][_0x49d2b8(0x1c9)](_0x175a64)||!this[_0x49d2b8(0x341)][_0x49d2b8(0x226)](_0x175a64)[_0x49d2b8(0x1c9)](_0x3ba37e)){let _0x1d7175=this['_unitOnClients'][_0x49d2b8(0x226)](_0x175a64)||new Set();_0x1d7175['add'](_0x3ba37e),this[_0x49d2b8(0x341)]['set'](_0x175a64,_0x1d7175),this[_0x49d2b8(0x220)](_0x3ba37e);}}),_0x8606e2||this[_0x404733(0x4a7)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x470848(0x220)](_0x106a38){const _0xf98c5c=_0x470848;this[_0xf98c5c(0x398)](_0x106a38);let _0xd8a8dd=window['setTimeout'](()=>{const _0x15370c=_0xf98c5c;this[_0x15370c(0x341)][_0x15370c(0x315)](_0xefe6d=>{const _0x193d14=_0x15370c;_0xefe6d[_0x193d14(0x460)](_0x106a38);});},_0x3667a4*0x2);this[_0xf98c5c(0x3fe)]['set'](_0x106a38,_0xd8a8dd);}['_removeClearOtherTimer'](_0x3a00a5){const _0x1cdbc7=_0x470848;if(this[_0x1cdbc7(0x3fe)][_0x1cdbc7(0x1c9)](_0x3a00a5)){let _0xa4139f=this['_clearOtherTimers']['get'](_0x3a00a5);_0xa4139f&&window['clearTimeout'](_0xa4139f),this[_0x1cdbc7(0x3fe)][_0x1cdbc7(0x406)](_0x3a00a5,null);}}[_0x470848(0x3b4)](_0x15bf3b){let {memberID:_0x3aeae9,unitIDs:_0x473a2f}=_0x15bf3b;_0x473a2f['forEach'](_0x46710b=>{const _0x1e3bf5=_0x3560;var _0x13ec37;let _0x201ba8=this['_unitOnClients'][_0x1e3bf5(0x226)](_0x46710b);_0x201ba8&&(_0x201ba8['delete'](_0x3aeae9),(_0x13ec37=this[_0x1e3bf5(0x1d7)](_0x46710b))==null||_0x13ec37[_0x1e3bf5(0x29d)](_0x201ba8[_0x1e3bf5(0x309)]===0x0?_0x289c2c['UnitStatus'][_0x1e3bf5(0x2e1)]:_0x289c2c[_0x1e3bf5(0x1ec)][_0x1e3bf5(0x3ae)]));}),this['_removeClearOtherTimer'](_0x3aeae9);}[_0x470848(0x16f)](_0x9c9c0a){const _0x498e16=_0x470848;this[_0x498e16(0x220)](_0x9c9c0a[_0x498e16(0x263)]);}['_send'](_0x5f2656){const _0x5dd98d=_0x470848;localStorage[_0x5dd98d(0x206)](_0x5a7e93,JSON[_0x5dd98d(0x3aa)](_0x5f2656));}['_scheduleHeartbeat'](){const _0x4a3158=_0x470848;this['_heartbeatTimer']=window[_0x4a3158(0x1aa)](()=>{const _0x50fc03=_0x4a3158;this[_0x50fc03(0x4a7)]({'type':0x2,'memberID':this[_0x50fc03(0x1d6)]});},_0x3667a4);}[_0x470848(0x1d7)](_0x493f2b){const _0x102fc3=_0x470848;return this['_unitStatus']['has'](_0x493f2b)||this[_0x102fc3(0x430)][_0x102fc3(0x406)](_0x493f2b,new _0x5515fe[(_0x102fc3(0x4b4))](_0x289c2c[_0x102fc3(0x1ec)]['NO_OTHER_CLIENTS_EDITING'])),this[_0x102fc3(0x430)][_0x102fc3(0x226)](_0x493f2b);}};Object[_0x470848(0x3f4)](_0x288673,_0x470848(0x323),{'enumerable':!0x0,'get':function(){return _0x1b89fe;}}),Object[_0x470848(0x3f4)](_0x288673,_0x470848(0x3db),{'enumerable':!0x0,'get':function(){return _0x35e9ef;}}),_0x288673['IURLService']=_0x48f9b0,Object[_0x470848(0x3f4)](_0x288673,_0x470848(0x257),{'enumerable':!0x0,'get':function(){return _0x1bb327;}}),_0x288673['SheetCollabCursorShape']=_0x4b97e2,Object['defineProperty'](_0x288673,_0x470848(0x336),{'enumerable':!0x0,'get':function(){return _0x35d42e;}}),_0x288673[_0x470848(0x247)]=_0x30dce7;}));function _0x3560(_0x281b41,_0xf1f998){_0x281b41=_0x281b41-0x16a;const _0x5654cf=_0x5654();let _0x3560e6=_0x5654cf[_0x281b41];return _0x3560e6;}function _0x5654(){const _0xa62d59=['black','isFormulaId','_backgroundColor','_setupSubUnitSync','_handleJoinEvent','FormulaExecuteStageType','hovered','forEach','body','UniverDesign','ranges','IRemoteInstanceService','addClipboardHook','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','params','getFocusedUnit','subscribe','toString','Failed','serializeRangeWithSheet','handleDeleteRangeMoveLeft','BrowserCollaborationSocketService','workbookShell','_updateSubUnitFromURLParams','RemoveRowCommandId','random','FromArray','focused$','DocCollaborationEntity','2IYDjRb','runRefRangeMutations','eventID','CollaborationController','transformSelections','roomMembers','Inject','div','setTimeout','getFormulaLimitStatusUrl','_monkeyPatchLogService','UniverCollaborationClientUIPlugin','purple.300','href','INotificationService','angle','/universer-api/frontend/logs','TEXT','cursorInfo','toRgbString','fromEventSubject','getBoardElementRenderObjectKey','_unitOnClients','replaceState','content','now','add','UNIVER_BOARD','_watchBlockProgress','_initStatusListener','true','Fragment','getMergeData','UniverIcon','NodePositionConvertToCursor','_memberService','activeSheet$','constructor','#0B9EFB','UNIVER_SLIDE','stroke','key','registerRenderModule','Workbook','slide-element-selection','_online','_highlightSecond','button','@univerjs-pro/collaboration-client-ui','_scheduleSaving','translate(.97)','[LogService\x20Error]:\x20','pulse','assignAColorForMemberID','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','62334bmrnmR','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','_isVisibleUnit','round','transformIMECache','OffLineIcon','join','getAncestorScale','_drawRectRange','type','activeSlideId$','none','32008cLWyNa','sessionTicket','endColumn','Enter','unshift','clearTimeout','reload','source','pipe','_clearTimeoutState','_startSlideCollabCursor','RevisionService','yellow.400','focus:univer-outline-none\x20focus:univer-ring-2\x20focus:univer-ring-primary-500\x20focus:univer-ring-offset-2','ISnapshotServerService','searchParams','CollaborationSocketService','xlink:href','Disposable','_renderManagerService','_collabCursorState$','ISlideDrawingStateService','OTHER_CLIENT_EDITING','setStateCache','_collabSessionService','getDocRanges','collaboration-client-ui.formula.calculation.waiting','onMouseMove','\x20-\x20','runId','save','handoff','asObservable','_imageIoService','requireSession','off-line-icon_clip0_910_343','_eventUnsubscribe','PERMISSION_DENIED','whenReady','_selfUnitIDs','getCollabEntity$','ISheetLoadingRenderService','_removeClearOtherTimer','@univerjs/docs','SetWorksheetActivateCommand','context','dispose','UniverProBoardsUi','bind','_getSheetObject','univer-appearance-none','getActiveRange','ThemeService','0\x200\x2016\x2016','ISocketService','timeoutId','debug','disposeWithMe','rgb','getCurrentUnitOfType','stringify','IImageIoService','getSheetObject','_blinkTimer','OTHER_CLIENTS_EDITING','_getSaveTimeout','doc.mutation.rich-text-editing','DocStateChangeManagerService','some','rxjs/operators','_handleLeaveEvent','amd','SOCKET_FAILED','2465705rcwCqf','SheetSkeletonManagerService','saveOfflineData','SOCKET_FAILED_RETRY','idSuffix','_labelPosition','engine','getSnapshot','_disabled','RefRangeService','IRenderManagerService','left','[CollaborationDataLoaderController]','labelHorizontalPosition','TEXT_RANGE_LAYER_INDEX','history','SessionStatus','SetFormulaCalculationNotificationMutation','getStateCache','_shortcutService','subUnitId','Error','_drawAnchor','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_commandService','univer-text-blue-500','OFFLINE','ICommandService','getColor','_startBlinking','_instanceService','polite','colorClass','popstate','_initCommandExecutedListener','RECT','DesktopCollaborationStatusDisplayController','exhaustSavingTask','collaboration-client-ui.formula.calculation.started','UniverDocsUi','svg','DependentOn','limitInfo','takeUntil','mutations','_draw','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','univer-text-red-500','_offsetY','socket$','ErrorCode','show','PENDING','lineTo','univer-flex\x20univer-items-center\x20univer-justify-center','getUniverSheetInstance','getVpScrollXYInfoByPosToVp','with','_updateSheetPreview','startColumn','CLOSE_ROOM','defineProperty','data','showText','pushState','drawWith','values','iterator','ILogService','loadOfflineData','measureText','_clearOtherTimers','highlightSecond','_removeCollabCursors','_cursor','transformByState','find','Shape','_collabCursorController','set','stack','strokeWidth','@univerjs/rpc','_context','on-line-icon_clip0_910_349','mapTo','refreshLabel','_configService','map','_registerRenderDependencies','value','setUndoRedoMutationParamsCache','onRendered','subunit','addObject$','object','restore','_refRangeService','saveTaskMap','addObject','highlight','LOCAL_CACHE_INTERVAL_KEY','column','sheetID','colno','LOADING_BLOCKS','collaboration-client-ui.collaboration.closeRoom','getAllUnitsForType','_docClipboardService','colorChannel1','...','getId','connectInjector','_handleHover','range','RxDisposable','startsWith','VIEW_MAIN','backupOfflineData','_localCacheService','getCurrentSelections','_unitStatus','_cursorShapes','_labelHorizontalPosition','[Window\x20Error]:\x20','getValue','SnapshotLoadStage','_docTransformSelectionsService','SUCCESS','runOnServer','UniverProtocol','_getSceneObjectByKey','_getLighterColor','ITransformService','_interactionBlocked$','url(#$1','UNIVER_DOC','_updateMessage','registerRefRange','call','merge','collaboration-client-ui.conflict.title','functionsExecutedState','_uploadLog','editingUnit','stage','_getAnchorBounding','status','handleMoveRange','unitID','toDisposable','_latestCursors','Subject','LoadingMultiIcon','_updateLocalCursor','from','path','setOffsetY','getItem','override','React','_docStateChangeManagerService','_blinkIntervalTimer','currentUsage','collaboration-client-ui.session.connection-failed','CollaborationEvent','closePath','_saveCache','_lastResponseTimestamp','delete','getConfig','_document','getRealBound','CollaborationUIEventId','Rect','selection','setShapeProps','_logService','collaboration-client-ui.conflict.content','useMemo','isInternalEditorID','collaboration-client-ui.snapshotLoading.refresh','redoState','UniverRpc','UniverProCollaborationClientUi','kind','getUndoRedoMutationParamsCache','sessionStatus$','WarningIcon','/universer-api/license/formula/limit/start','_transformService','univer-m-0\x20univer-p-0','_stopBlinking','fill','_onRefRangeChange','collaboration-client-ui.formula.calculation.unable','decorate','collabCursorState$','_slideDrawingStateService','_timeoutState$','getCoordByCell','assign','_transformHistoryAndStateStack','_lastPointer','Module','mask','transform','rxjs','_initDependencies','UniverUi','function','_univerInstanceService','_initUserListener','_drawTextRange','831510wOovRD','alert','m1Prime','getParam','@univerjs-pro/boards-ui','_config','throttleTime','DocSkeletonManagerService','pluginName','UniverNetwork','collab-rect-range-','_clearBlockProgressWatch','row','focusedId','subscribeEvent','_scheduleRender','_maxFormulaLimit','board-collab-cursor-','CollaborationStatus','USERS_LEAVE','replaceDocRanges','remove','_setInteractionBlocked','_getSheetLoadingRenderService','getMemberID','createIdentifier','_send','resolve','name','_shortcutBlock','maxFormulaLimit','DataLoaderService','cursorInfo$','UniverCollaborationClientPlugin','getObject','_registerDependencies','/run/','SetSelectionsOperation','message','BehaviorSubject','isEditing','_anchorDot','ILocalCacheService','UniverProSlidesUi','onStarting','univer-inline-flex\x20univer-items-center\x20univer-justify-center','_httpService','_docSyncEditingCollabCursorService','jsx','getUnitStatus$','state$','isTransformMutationFailure','previewCellData','getSheetBySheetId','_messageService','generateRandomId','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','event$','_onCursorDelete','rgba(','DocIMEInputManagerService','0.2)','clickable','timeoutState$','UniverProCollaborationClient','clipPath','_refreshCollabCursors','Button','NOT_COLLAB','getLocalCacheKey','executeCommand','getCollabCursors$','_hovered','addObjects','_handleHeartbeatEvent','transformRemoteChangeset','_colorIndex','_getMergeRange','dispose$','_initStatusComponent','DEFAULT_WS_SESSION_TICKET_URL','flatMap','OnLineIcon','Vector2','Warning','getOwnPropertyDescriptor','BOARD_TOP_RIGHT_MENU_LEADING_PART','_pollingInterval','enableDocumentCollaborationUI','attrs','HTTPService','IUniverInstanceService','_dataLoaderService','default',',\x200.2)','handleIRemoveRow','_collaborationUIEventService','ACTIVE_UNIT_EVENT_CHANNEL','switchMap','makeDirty','_isBlinkVisible','unit','includes','transformMutationsWithChangeset','1em','rgba','EffectRefRangId','_urlService','GLOBAL','bottom','LOCAL_CACHE_INTERVAL','error','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_cursors','12rhSQli','UniverProCollaboration','endRow','200VxSKFV','_doCreateSocket','univer-text-xl\x20univer-transition-colors\x20univer-duration-200','collaboration-client-ui.collabStatus.synced','location','_startDocCollabCursor','i18nKey','ColorKit','disposeUnit','_sheetSkeletonManagerService','_init','setAlpha','removeObjects','univer-border-none\x20univer-bg-transparent','_sheetLoadingRenderService','createInstance','setInterval','UNIVER_SHEET','loading-multi-icon','_handleEvent','green.600','_cursorInfo$','enableFrontendLog','distinctUntilChanged','offsetY','_scene','syncEditingCollabCursor','ONLINE','FETCH_MISS','_initCommandInterceptor','lineno','addHandlerCallback','timedOut','@univerjs/design','_uiPartsService','onPointerEnter$','resize','_onCursorUpdate','_boardElementStateService','uni.network.url-service','DeleteRangeMoveUpCommandId','snapshot-loading-','disableLocalCache','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','UPDATE_CURSOR','bold\x2013px\x20Arial,\x20sans-serif','@univerjs/engine-render','has','current','scene','IConfigService','warning-icon','selectedIds','_color','DocSelectionManagerService','font','code','react','_textBubble','COLORS','_id','_ensureSubject','theme$','unsubscribe','_assignedColors','operators','_checkCalculationAvailable','textRanges','_initUnhandledRejectionListener','shift','transformStateCache','defIds','_roomMembers$','_docTransformStateCacheService','1126643VSYMUi','Tooltip','color','getTypeOfUnitAdded$','DOC_RANGE_TYPE','_messageIds','parse','ERROR','UnitStatus','registerBeforeClose','showSkeleton','_releaseCalculationLimit','JOIN_ROOM_FAILED','all','getRenderById','_themeService','CollaborationSessionService','deserializeRangeWithSheet','handleDeleteRangeMoveUp','static','Loading','mergeOverrideWithDependencies','http://www.w3.org/2000/svg','unitId','registerComponent','debounce','isTransformMutationsWithChangesetSuccess','saveImage','Injector','blue.400','SetTextSelectionsOperation','InsertRangeMoveDownCommandId','_updateURLWithCurrentState','stageInfo','setItem','push','children','MemberService','_showText','/universer-api/license/formula/limit/status','Rectangle','_latestStates','releaseFormulaLimitUrl','?taskId=','_hasFormulaInDirtyRanges','transformMutation','_snapshotLoadingService','@univerjs/engine-formula','Success','imageSourceType','urlChange$','_startBoardCollabCursor','createElement','SHEET_VIEWPORT_KEY','_currentUsage','SheetsSelectionsService','getCellPositionByOffset','init','univer-transition-all\x20univer-duration-200','onCommandExecuted','_scheduleClearOtherTimer','onPointerMove$','_range','result','primary','_initEvent','get','@univerjs/sheets','IDocClipboardService','removeParam','debounceTime','substring','lineWidth','univer-text-green-500','isFormulaString','send','getViewport','text','tag','invokeId','338218uZyrsA','_localeService','jsxs','@univerjs/core','useObservable','status$','use','LocaleService','_isApplyingOverlays','_anchor','collaboration-client-ui.collabStatus.syncing','preventDefault','_injector','setActiveRange','_revisionService','_entities','IBeforeCloseService','string','totalFormulasToCalculate','WebBrowserSingleActiveUnitService','_session','_notificationService','spin','_entityInit$','[Unhandled\x20Rejection]:\x20','Optional','max','m2Prime','#4f46e5','getSkeleton','@univerjs/ui','UniverSheets','length','_syncEditingCollabCursorService','_beforeCloseService','RemoteUniscriptService','onTransformChange$','removeObject','displayName','UniverEngineRender','filename','filter','strokeStyle','collaboration-client-ui.snapshotLoading.timeout','COMPLETE','span','688565Vdfbhn','memberID','activeSheetId','_cachedData','CONFLICT','_taskIds','evenodd','toPrimitive','0\x200\x2017\x2016','_blockProgressWatches','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','START_CALCULATION','isArray','hide','AWAITING_WITH_PENDING','white','_shapes','_name','_applyCommand','collab-text-anchor-','_handoffUnitIds','ILocalStorageService','@univerjs-pro/collaboration-client','height','_setupBeforeClosingHandler','unhandledrejection','triggerDblclick','strokeRect','dark:focus:!univer-ring-offset-gray-800','_initWindowErrorListener','totalBlocks','_status$','symbol','getMember','clearInterval','dirtyRanges','_startSheetCollabCursor','@univerjs/network','startRow','handleInsertRangeMoveDown','_previewUnitId','getColorFromTheme','evented','setLineDash','_hideTimer','complete','undoState','_docSkeletonManagerService','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','getSheetId','@univerjs/protocol','/universer-api/license/formula/limit/done','_getScale','combineLatest','RemoveColCommandId','getActivePageId','_highlight','snapshot-loading-interaction-guard','_saveTaskMap','next','collaboration-client-ui.session.collaboration-timeout','Tools','pageManager','parseInt','currentSkeleton$','useDependency','currentColor','createSocket','width','board-element-selection','shareReplay','DisposableCollection','replace','BuiltInUIPart','_transformUndoRedoStack','red.300','MoveRangeCommandId','loadedBlocks','_transformPreviousActiveRange','addEventListener','Unknown\x20user','_pluginService','SUBMIT_CHANGESET_TIMEOUT','UniverInstanceType','tooltipKey','_collaborationSessionService','IShortcutService','collaboration-client-ui.permission.title','_createSocketURL','collaboration-client-ui.collabStatus.offline','beforeCommandExecuted','_getObjectBounds','post','getCurrentTypeOfUnit$','on-line-icon','slide-collab-cursor-','getTypeOfUnitDisposed$','snapshot-loading-timeout','_checkAndWaitForCalculationPermission','touchDependencies','isActive','_colorAssignService','_clearPolling','_initResize','_showGuardMessage','arc','IMessageService','split','_localStorageService','_renderScheduled','indicator','_collaborationController','MessageType','51VrcoSS','_render','clsx','_docTransformIMECacheService','_hover','_getFormulaLimitStatus','defs','collaboration-client-ui.collabStatus.fetchMiss','_updateCollabCursors','backgroundColor','entries','collaboration-client-ui.permission.content','handleInsertCol','UniverCore','NO_OTHER_CLIENTS_EDITING','getObjectIncludeInGroup','PluginService','RegularPolygon','newValue','univer-text-gray-400','TRANSFORM_CHANGE_OBSERVABLE_TYPE','entityInit$','_setFormulaLimitStatus','_heartbeatTimer','_startCalculationLimit','_pointerMoveDisposable','contains','collab-text-range-','getRangePointData','[RemoteUniscriptService]:\x20no\x20focused\x20unit','loadUnit','toStringTag','small','_toggleOnline','enableLocalCache','deepClone','top','clear','IUIPartsService','forwardRef','roomMembers$','_getSessionTicket','_initEntityListener','getUnitId','M0\x200H16V16H0z','fillText','fillStyle','reconnect','getCurrentSkeleton','findNodePositionByCharIndex','currentTheme$','getUnhiddenWorksheets','removeEventListener','then','size','fromEvent','_hidePreview','DeleteRangeMoveLeftCommandId','_toggleOffline'];_0x5654=function(){return _0xa62d59;};return _0x5654();}